browserstack-node-sdk 1.49.10 → 1.49.12

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.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a80_0x5586ec=a80_0x3f50;function a80_0x1962(){const _0x2c695f=['EiUXU','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','options','testhub_build_uuid','Qswvk','nAmid','hSCzq','fetchCentralAuthA11yConfig','browserstack.accessibilityOptions.wcagVersion','set','yzMPP','Processed\x20accessibility\x20caps\x20','setAccessibilityToken','browserstack_executor','oAdkG','fetchDriverExecuteParamsEvent','getTrackedInstance','scan','debug','MIAEn','QUIT','lbrFF','testInfo','measureWrapper','QcfXQ','xMZQo','GJwhi','MZyim','titlePath','zCHFk','getCapabilitiesList','PlONC','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Exception\x20in\x20isPlatformSupported:\x20','hasAccessibilityExecuteParams','yGyOG','NvVac','KEY_TESTHUB_BUILD_ID','applySendMessageToServerPatch','HiHrp','warn','vaviz','iAGis','../grpcClient','bFMaQ','setLogDisabledShown','KeWeq','eXcRJ','iZSFs','../../playwright/accessibility-helper','JsTdd','../../../helpers/performance/constants.js','getData','Accessibility\x20data\x20for\x20extension:\x20','KEY_DRIVER_HAS_URL','QjNQp','\x20result\x20for\x20','qOyGp','function',',\x20includeTags=','VkJiQ','gjNEY','name:\x20','__workerDetails','executeScriptByName','getSuccess','platformCaps','setShouldScan','getScriptsList','Error\x20getting\x20script\x20by\x20name\x20','isAppAccessibility','XdAKb','getState','30mjiXpX','capabilitiesList','jest','BStse','tfAbK','BROWSERSTACK_TESTHUB_JWT','\x22browserstack.key\x22:\x22[REDACTED]\x22','scriptsList','mergeObject','value','HFZZE','KMpJE','RxPPu','Uzoor','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','browserStackEvaluate','YtdxU','getParamsForScanForCli','ruKEp','149964ADAkcz','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','getAccessibilityResultsSummary','tmTrt','\x22browserstack.user\x22:\x22[REDACTED]\x22','PUgLa','RtxBT','error','loadDriverExecuteParams','Performing\x20scan\x20before\x20getting\x20results\x20summary','unknown',',\x20framework=','parse','qjdNR','validatePlatformForAccessibility','358767fztHeX','scannerProcessingTimeout','setAccessibilityConfig','iaXap','nfAOY','../framework/automationFramework','evaluate','PERFORM_SCAN','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','GIfzx','getCapabilityValue','lxlDd','AUTOMATION_SESSIONS','info','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','iUeal','browserName','dWScd','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','JcVVP','HEepl','name','AkFqS',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','ZIuZb','VbQjn','../cliUtils','registerObserver','latest','\x20->\x20','rFNwr','VplJN','uqsgw','getCurrentAccessibilityStatus','EDJgk','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','processAccessibilityCaps','mgSTJ','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','find','MergedScanArgs:\x20','DFStU',',\x20\x0a\x20','getName','map','TrackedInstance','onAfterTest','KEY_INIT','kOycz','8qxoojJ','goog:chromeOptions','get','AsHxU','ERxOW','JsSjK','Error\x20executing\x20script\x20','__jestCurrentTestIdentifier','DPRPt','testFrameworkData','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','format','2049988YiJidF','lfBPb','browser','accessibilityConfig','browserstack.accessibilityOptions.scannerVersion','updateData','shouldScanForCommand','scannerVersion','length','getValue','eJvuR','bFZTY','thTestRunUuid','size','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','_centralAuthA11yConfig','[AccessibilityModule]\x20onAfterTest:\x20framework=','YVBsY','isEnabled','test-tags-->\x20','TXNhO','test_run_id','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','snEsU','getResults','Error\x20in\x20getAccessibilityResultsSummary:\x20','GZXUs','PRE','../state/hookState','pwPage',',\x20excludeTags=','xgaRk','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','ascii','isPlatformSupported','Page\x20','Error\x20getting\x20capability\x20value\x20for\x20','getAccessibilityExecuteParams','../../../helpers/accessibility-automation/helper','testAnalyticsId','CREATE','qMIYq','toJson','\x20script\x20available\x20in\x20scriptsList','onBeforeExecute','toObject','ydamw','capabilities','wcagVersion','GupIz','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','SDK_ACCESSIBILITY_CONFIG','Error\x20applying\x20sendMessageToServer\x20patch:\x20','dNYog','performScanForCli','Context','Error\x20in\x20stopTestCapture:\x20','JccBn','oVDhI','stopTestCapture','QIpJo','scHxC','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','ggcUt','Error\x20checking\x20headless\x20capability:\x20','RaqCT','Error\x20in\x20initAccessibilityConfig:\x20','launchCaps','RJgad','getLogDisabledShown',',\x20testIdentifier=','stack','test_tags',',\x20isAppAccessibility=','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','\x20script\x20available','klQNS','bdnZi','TVjUZ','getAllData','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','THEWY','HfbSX','has','PxUAL','null',']\x20isEnabledTestcase\x20(cucumber)\x20result=','currentTest','getAccessibilityResults','isPlatformSupported:\x20caps\x20are\x20null','onBeforeExecute:\x20command=','NGfZD','_sendMessageServerPatchApplied','twvRu','instance','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','MODULE_NAME','5nCjNrJ','Vloli','present','Gopin','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','OVoXu','delete',']\x20isEnabledTestcase\x20(jest)\x20result=','env','yjxHF','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','commandName','wwDUo','GXksz','getGoogleChromeOptions','[platform\x20-\x20','oLjsL','finishScanningForCli','IqGJG','UzfAj','testFramework','TzPNM','toISOString','cmtZN','DHnrj','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','SAVE_RESULTS','bhvWV','getTestDetails','commandsList','\x20value=','getAccessibilityConfig','bVDVZ','isArray','wvsKX','performScan','string','WdTdL',']\x20clear\x20','HVcXH','replace','browserVersion','cFsXA','getBuildId','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','accessibilityPlatform','../framework/constants/testFrameworkConstants.js','YUKar',',\x20testName=','Error\x20in\x20processAccessibilityCaps:\x20','getInstance','wqVQN','vJitG','VGvYM','MTRsp','accessibility','cucumber','toLowerCase','assign','oUePv','qegKx','\x20testHubUuid=','15595833yEZZIu',',\x20available\x20commands:\x20','saveTestResults','10YbMpRh','shouldScanForCommand:\x20','Bxtds','InDqw','zNaIN','commandsToWrap','getContext','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','getTestFrameworkDetail','LCVQZ','message','../../../helpers/helper','../framework/testFramework','onBeforeTest','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','getCurrentInstanceName','ArjBE','some','148630szSmhg','getCommandsList','getTesthub','\x20a11yToken=','chrome','sWHWS','LOG_DISABLED_SHOWN','TqZNh','util','patchSendMessageToServer','rMsaZ','JHHXS','../../../helpers/accessibility-automation/constants','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','browserstack.accessibilityOptions.scannerProcessingTimeout','accessibilityToken','qPfWM','TEST_INIT','_centralAuthConfigFetched','stringify','KEY_TEST_NAME','Lpgff','LAfMe','../../../helpers/accessibility-automation/scripts','true','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','uLONV','includeTagsInTestingScope','\x20from\x20testIdentifier=','getAccessibility','GWMCZ','DlfIC','command','getTestId','selcY','BhvDQ','PoBat','BROWSERSTACK_CLI_BIN_SESSION_ID','getCommandsToWrap','YMNep','__accessibilityOptions','6439657LymhRq','NON_BROWSERSTACK_AUTOMATION_SESSIONS','getOptions','Executing\x20accessibility\x20script\x20on\x20page','excludeTagsInTestingScope','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','exports','xFNEn','cUrfF','ACCESSIBILITY_INITIALIZED','GZNXR','browserstack.accessibilityOptions.authToken','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','getScript','bind','saveResults','KETjM','\x20accessibility\x20script\x20on\x20page','end','EXECUTE','../../../helpers/classLogger','gHnOz','setShouldScanCurrentTest','WDFpQ','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','onBeforeExecute:\x20No\x20command\x20name\x20provided','HcqEh','Unknown\x20Test','PIHMN','POST','GYxCT','onBeforeTest:\x20event=','page','NRGhU','getPlatformIndex','isEnabledTestcase','IAXWf','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','ZiRDJ','grsTR','ihMuu','3|6|15|13|9|11|2|1|0|10|8|7|5|14|12|4','dBSUp','2196111xZZdHG','includes','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','bGjCl'];a80_0x1962=function(){return _0x2c695f;};return a80_0x1962();}(function(_0x3f135f,_0x3987a){const _0xb20ab5=a80_0x3f50,_0x392129=_0x3f135f();while(!![]){try{const _0x39ccc2=-parseInt(_0xb20ab5(0x237))/0x1*(parseInt(_0xb20ab5(0x28c))/0x2)+-parseInt(_0xb20ab5(0x126))/0x3+-parseInt(_0xb20ab5(0x1d4))/0x4+parseInt(_0xb20ab5(0x279))/0x5*(-parseInt(_0xb20ab5(0x187))/0x6)+parseInt(_0xb20ab5(0xfb))/0x7*(parseInt(_0xb20ab5(0x1c8))/0x8)+parseInt(_0xb20ab5(0x196))/0x9*(-parseInt(_0xb20ab5(0x174))/0xa)+parseInt(_0xb20ab5(0x276))/0xb;if(_0x39ccc2===_0x3987a)break;else _0x392129['push'](_0x392129['shift']());}catch(_0x2ff037){_0x392129['push'](_0x392129['shift']());}}}(a80_0x1962,0x86c84));const BaseModule=require('./baseModule'),{createClassLogger}=require(a80_0x5586ec(0x10f)),CLIUtils=require('../cliUtils'),AutomationFramework=require(a80_0x5586ec(0x19b)),TestFramework=require(a80_0x5586ec(0x285)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require(a80_0x5586ec(0x1f2)),GrpcClient=require(a80_0x5586ec(0x156)),scripts=require(a80_0x5586ec(0xe9)),logger=createClassLogger(a80_0x5586ec(0x1c4)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x5586ec(0x15e)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x5586ec(0xde)),{nestedKeyValue,isUndefined}=require(a80_0x5586ec(0x284)),util=require(a80_0x5586ec(0x294)),TestInfo=require('../TestInfo.js'),TestFrameworkConstants=require(a80_0x5586ec(0x266));function a80_0x3f50(_0x322f8d,_0xd2e4d1){const _0x1962d7=a80_0x1962();return a80_0x3f50=function(_0x3f5096,_0x3c31e8){_0x3f5096=_0x3f5096-0xde;let _0x44e04d=_0x1962d7[_0x3f5096];return _0x44e04d;},a80_0x3f50(_0x322f8d,_0xd2e4d1);}class AccessibilityModule extends BaseModule{static [a80_0x5586ec(0x236)]=AccessibilityModule[a80_0x5586ec(0x1ab)];static [a80_0x5586ec(0xe4)]=![];static [a80_0x5586ec(0x1e3)]={};constructor(_0x40f208){const _0x40bd08=a80_0x5586ec,_0x2a6760={};_0x2a6760['aRRGx']=_0x40bd08(0x124),_0x2a6760[_0x40bd08(0x105)]=_0x40bd08(0x12e),_0x2a6760[_0x40bd08(0x261)]=_0x40bd08(0x280),_0x2a6760[_0x40bd08(0x293)]='DRIVER_HAS_URL',_0x2a6760[_0x40bd08(0x148)]=_0x40bd08(0x104);const _0x616ae4=_0x2a6760,_0x1d63d9=_0x616ae4['aRRGx']['split']('|');let _0x264cbc=0x0;while(!![]){switch(_0x1d63d9[_0x264cbc++]){case'0':this['isAppAccessibility']=![];continue;case'1':this[_0x40bd08(0x292)]=new Map();continue;case'2':this[_0x40bd08(0x26f)]=new Map();continue;case'3':super();continue;case'4':this[_0x40bd08(0x150)]=_0x616ae4[_0x40bd08(0x105)];continue;case'5':logger[_0x40bd08(0x13d)](_0x616ae4[_0x40bd08(0x261)]);continue;case'6':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x40bd08(0x10e)],HookState['PRE'],this['onBeforeExecute'][_0x40bd08(0x109)](this));continue;case'7':this[_0x40bd08(0x137)](_0x40f208[_0x40bd08(0xfd)]()[_0x40bd08(0x149)]());continue;case'8':this[_0x40bd08(0x232)]=![];continue;case'9':this[_0x40bd08(0x1e6)]=!![];continue;case'10':this[_0x40bd08(0x205)]=[];continue;case'11':this[_0x40bd08(0x1d7)]=_0x40f208[_0x40bd08(0x203)]();continue;case'12':this[_0x40bd08(0x161)]=_0x616ae4[_0x40bd08(0x293)];continue;case'13':AutomationFramework[_0x40bd08(0x1b1)](AutomationFrameworkState[_0x40bd08(0x13f)],HookState[_0x40bd08(0x1f1)],this[_0x40bd08(0x1c5)][_0x40bd08(0x109)](this));continue;case'14':this[_0x40bd08(0x1c6)]=_0x616ae4[_0x40bd08(0x148)];continue;case'15':AutomationFramework[_0x40bd08(0x1b1)](AutomationFrameworkState[_0x40bd08(0x1fe)],HookState[_0x40bd08(0x118)],this['onBeforeTest'][_0x40bd08(0x109)](this));continue;}break;}}[a80_0x5586ec(0x1e6)](){const _0x57f915=a80_0x5586ec;return this[_0x57f915(0x1e6)];}['getModuleName'](){const _0x2cef51=a80_0x5586ec;return AccessibilityModule[_0x2cef51(0x236)];}[a80_0x5586ec(0x1b7)](){const _0x43c33a=a80_0x5586ec;return this['accessibility']['get'](CLIUtils[_0x43c33a(0x289)](),![]);}[a80_0x5586ec(0x21b)](){const _0x251fbf=a80_0x5586ec;return this[_0x251fbf(0x292)][_0x251fbf(0x1ca)](CLIUtils[_0x251fbf(0x289)](),![]);}[a80_0x5586ec(0x158)](_0x4ef07e){const _0x1cc4f1=a80_0x5586ec;this[_0x1cc4f1(0x292)][_0x1cc4f1(0x134)](CLIUtils[_0x1cc4f1(0x289)](),_0x4ef07e);}['applySendMessageToServerPatch'](){const _0x511425=a80_0x5586ec,_0x412551={'bFZTY':_0x511425(0x1ec),'MRTix':function(_0x373aeb,_0x9a797c){return _0x373aeb(_0x9a797c);},'KETjM':'../../utils/playwright-patcher','vJitG':_0x511425(0x250),'QIpJo':_0x511425(0x1a8)};if(this['_sendMessageServerPatchApplied']){logger['debug'](_0x412551[_0x511425(0x1df)]);return;}try{const _0x10cd63=_0x412551['MRTix'](require,_0x412551[_0x511425(0x10b)]);_0x10cd63&&_0x10cd63['patchSendMessageToServer']?(_0x10cd63[_0x511425(0x295)](),this['_sendMessageServerPatchApplied']=!![],logger['debug'](_0x412551[_0x511425(0x26c)])):logger[_0x511425(0x13d)](_0x412551[_0x511425(0x212)]);}catch(_0x4619e1){logger[_0x511425(0x13d)](_0x511425(0x20a)+util[_0x511425(0x1d3)](_0x4619e1));}}[a80_0x5586ec(0x1f8)](_0x2ee3dc=null,_0x2ab92c=null,_0x15a1d1=null){const _0x3ad46f=a80_0x5586ec,_0x13d5cc={'GApQG':function(_0x4b76b4,_0x20762e){return _0x4b76b4&&_0x20762e;},'ZIuZb':_0x3ad46f(0x22f),'MBTDp':function(_0x1d236d,_0x2c874b){return _0x1d236d(_0x2c874b);},'JccBn':_0x3ad46f(0x1fc),'lfBPb':function(_0x3a49da,_0x12458f){return _0x3a49da(_0x12458f);},'bdnZi':'../../../helpers/helper','VbQjn':function(_0x598e59){return _0x598e59();},'snEsU':'isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','tmTrt':function(_0x55cb58,_0x5c6b30){return _0x55cb58===_0x5c6b30;},'ihMuu':_0x3ad46f(0x290),'bhvWV':function(_0x492948,_0x40093e){return _0x492948===_0x40093e;},'gHnOz':'playwright-chromium','bHuLn':_0x3ad46f(0x263),'GWMCZ':function(_0x2599c3,_0x50875){return _0x2599c3===_0x50875;},'iAGis':function(_0x1a6c07,_0x379e82){return _0x1a6c07===_0x379e82;},'scHxC':_0x3ad46f(0xea),'grsTR':function(_0x457b33,_0x13a878){return _0x457b33===_0x13a878;},'qegKx':_0x3ad46f(0x25b),'drQkj':function(_0x1e79be,_0x5f5735){return _0x1e79be===_0x5f5735;},'HcqEh':_0x3ad46f(0x1b9),'KkQLx':function(_0x1120c5){return _0x1120c5();},'MIAEn':function(_0x5f03b2,_0x18db83){return _0x5f03b2>_0x18db83;},'dNYog':function(_0x3555e0,_0x7d36f8){return _0x3555e0(_0x7d36f8);},'uqsgw':function(_0x57fe0d,_0x55fe3e){return _0x57fe0d(_0x55fe3e);},'THEWY':_0x3ad46f(0x214),'ZiRDJ':function(_0x45f3ea,_0xe9c1f9){return _0x45f3ea!==_0xe9c1f9;},'VplJN':_0x3ad46f(0x1b2),'eXcRJ':function(_0x15fa25,_0x17580b){return _0x15fa25(_0x17580b);},'QjNQp':function(_0x53b01a,_0x23e1b8){return _0x53b01a(_0x23e1b8);},'NGfZD':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x13d5cc['GApQG'](!_0x2ab92c,!_0x15a1d1))return logger[_0x3ad46f(0x13d)](_0x13d5cc[_0x3ad46f(0x1ae)]),![];const {isAccessibilityAutomationSession:_0x192dc4}=_0x13d5cc['MBTDp'](require,_0x13d5cc[_0x3ad46f(0x20f)]),{isUndefined:_0x173724,isBrowserstackInfra:_0x3c11f9}=_0x13d5cc[_0x3ad46f(0x1d5)](require,_0x13d5cc[_0x3ad46f(0x223)]);if(!_0x13d5cc[_0x3ad46f(0x1af)](_0x192dc4))return logger[_0x3ad46f(0x13d)](_0x13d5cc[_0x3ad46f(0x1ed)]),![];if(!(_0x2ab92c['browserName']&&_0x13d5cc[_0x3ad46f(0x18a)](_0x2ab92c[_0x3ad46f(0x1a6)][_0x3ad46f(0x271)](),_0x13d5cc[_0x3ad46f(0x123)])||_0x2ab92c[_0x3ad46f(0x1a6)]&&_0x13d5cc[_0x3ad46f(0x252)](_0x2ab92c[_0x3ad46f(0x1a6)][_0x3ad46f(0x271)](),_0x13d5cc[_0x3ad46f(0x110)])||_0x2ab92c[_0x3ad46f(0x1d6)]&&_0x13d5cc[_0x3ad46f(0x252)](_0x2ab92c[_0x3ad46f(0x1d6)][_0x3ad46f(0x271)](),_0x13d5cc[_0x3ad46f(0x123)])||_0x2ab92c[_0x3ad46f(0x1d6)]&&_0x13d5cc[_0x3ad46f(0x18a)](_0x2ab92c['browser'][_0x3ad46f(0x271)](),_0x13d5cc['gHnOz'])))return logger[_0x3ad46f(0x153)](_0x13d5cc['bHuLn']),![];try{const _0x295321=_0x2ab92c['headless'],_0x4628d4=_0x13d5cc[_0x3ad46f(0xf0)](_0x295321,!![])||_0x13d5cc[_0x3ad46f(0x155)](_0x295321,_0x13d5cc[_0x3ad46f(0x213)])||_0x13d5cc[_0x3ad46f(0x122)](typeof _0x295321,_0x13d5cc[_0x3ad46f(0x274)])&&_0x13d5cc['drQkj'](_0x295321[_0x3ad46f(0x271)](),_0x13d5cc[_0x3ad46f(0x213)]);if(_0x4628d4)return logger[_0x3ad46f(0x153)](_0x13d5cc[_0x3ad46f(0x115)]),![];}catch(_0x2058e7){logger[_0x3ad46f(0x13d)](_0x3ad46f(0x216)+util['format'](_0x2058e7));}if(!_0x13d5cc['KkQLx'](_0x3c11f9)){if(!_0x13d5cc[_0x3ad46f(0x13e)](_0x13d5cc[_0x3ad46f(0x20b)](parseFloat,_0x2ab92c[_0x3ad46f(0x260)]),_0x13d5cc[_0x3ad46f(0x1b6)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x3ad46f(0x153)](_0x13d5cc[_0x3ad46f(0x227)]),![];}else{if(_0x13d5cc[_0x3ad46f(0x121)](_0x2ab92c[_0x3ad46f(0x260)],_0x13d5cc[_0x3ad46f(0x1b5)])&&!_0x13d5cc['MIAEn'](_0x13d5cc[_0x3ad46f(0x15a)](parseFloat,_0x2ab92c[_0x3ad46f(0x260)]),_0x13d5cc[_0x3ad46f(0x162)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x3ad46f(0x153)](_0x13d5cc[_0x3ad46f(0x231)]),![];}return!![];}catch(_0x32a835){return logger[_0x3ad46f(0x13d)](_0x3ad46f(0x14c)+_0x32a835[_0x3ad46f(0x283)]),![];}}[a80_0x5586ec(0x11e)](_0x101ff2=[],_0x1805c0,_0x11e8d5='cucumber'){const _0x4782b4=a80_0x5586ec,_0x20b998={'yGyOG':function(_0x999705,_0x7e0965){return _0x999705===_0x7e0965;},'RJgad':_0x4782b4(0x176),'bGjCl':function(_0x2f33c5,_0x198f8f){return _0x2f33c5||_0x198f8f;},'oAdkG':function(_0x132557,_0x2f8525){return _0x132557===_0x2f8525;},'QslAk':function(_0x2e9ae0,_0x403042){return _0x2e9ae0&&_0x403042;},'selcY':_0x4782b4(0x191),'jZxkq':function(_0x146191,_0x134e1a){return _0x146191(_0x134e1a);},'ElXnk':function(_0x2f8956,_0x43fcfa){return _0x2f8956>_0x43fcfa;},'xgaRk':function(_0x4c3007,_0x2a057b){return _0x4c3007&&_0x2a057b;}};try{const _0xa82164=process[_0x4782b4(0x23f)][_0x4782b4(0x208)]?JSON['parse'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):null;if(!_0xa82164)return!![];const _0x7cb40f=Array['isArray'](_0xa82164['includeTagsInTestingScope'])?_0xa82164[_0x4782b4(0xed)]:[],_0x56d7f4=Array[_0x4782b4(0x258)](_0xa82164['excludeTagsInTestingScope'])?_0xa82164[_0x4782b4(0xff)]:[];if(_0x20b998[_0x4782b4(0x14e)](_0x11e8d5,_0x20b998[_0x4782b4(0x21a)])){let _0x415ce2;Array[_0x4782b4(0x258)](_0x101ff2)?_0x415ce2=_0x101ff2['join']('\x20'):_0x415ce2=_0x20b998[_0x4782b4(0x12a)](_0x101ff2,'');const _0x1f2a6c=_0x56d7f4['some'](_0x16f04c=>_0x415ce2[_0x4782b4(0x127)](_0x16f04c)),_0x113ae7=_0x20b998['oAdkG'](_0x7cb40f['length'],0x0)||_0x7cb40f[_0x4782b4(0x28b)](_0x572beb=>_0x415ce2['includes'](_0x572beb)),_0x1f0927=_0x20b998['QslAk'](!_0x1f2a6c,_0x113ae7);return logger['debug'](_0x4782b4(0x246)+(_0x1805c0?.[_0x4782b4(0x11d)]?.()||_0x20b998[_0x4782b4(0xf4)])+_0x4782b4(0x23e)+_0x1f0927+_0x4782b4(0x268)+_0x415ce2+_0x4782b4(0x166)+JSON['stringify'](_0x7cb40f)+_0x4782b4(0x1f4)+JSON['stringify'](_0x56d7f4)),_0x1f0927;}const _0x536202=Array['isArray'](_0x101ff2)?_0x101ff2:[];let _0x356fdf=![],_0x51e874=_0x20b998[_0x4782b4(0x139)](_0x7cb40f[_0x4782b4(0x1dc)],0x0);const _0x5ac70a=_0x5ecd95=>typeof _0x5ecd95==='string'?_0x5ecd95[_0x4782b4(0x25f)](/^@/,'')[_0x4782b4(0x271)]()['trim']():_0x5ecd95,_0x3c0562=new Set(_0x7cb40f[_0x4782b4(0x1c3)](_0x5ac70a)),_0x40e172=new Set(_0x56d7f4[_0x4782b4(0x1c3)](_0x5ac70a));for(const _0x34fd4f of _0x536202){const _0x3d5ed1=_0x20b998['jZxkq'](_0x5ac70a,_0x34fd4f);_0x40e172[_0x4782b4(0x229)](_0x3d5ed1)&&(_0x356fdf=!![]),_0x20b998['ElXnk'](_0x3c0562[_0x4782b4(0x1e1)],0x0)&&_0x3c0562[_0x4782b4(0x229)](_0x3d5ed1)&&(_0x51e874=!![]);}const _0x346b4d=_0x20b998[_0x4782b4(0x1f5)](_0x51e874,!_0x356fdf);return logger[_0x4782b4(0x13d)](_0x4782b4(0x246)+(_0x1805c0?.['getPlatformIndex']?.()||_0x20b998[_0x4782b4(0xf4)])+_0x4782b4(0x22c)+_0x346b4d+',\x20tags='+JSON[_0x4782b4(0xe5)](_0x536202)+_0x4782b4(0x166)+JSON[_0x4782b4(0xe5)](_0x7cb40f)+_0x4782b4(0x1f4)+JSON['stringify'](_0x56d7f4)),_0x346b4d;}catch(_0x1ef699){return logger[_0x4782b4(0x13d)]('[platform\x20-\x20'+(_0x1805c0?.[_0x4782b4(0x11d)]?.()||_0x20b998['selcY'])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x1ef699[_0x4782b4(0x283)]),![];}}async[a80_0x5586ec(0x286)](_0x30d076){const _0x266432=a80_0x5586ec,_0x3c50c0={};_0x3c50c0[_0x266432(0x238)]=function(_0x4a7236,_0x17f7f3){return _0x4a7236!==_0x17f7f3;},_0x3c50c0[_0x266432(0x28a)]=_0x266432(0x270),_0x3c50c0['RtxBT']=_0x266432(0x176),_0x3c50c0[_0x266432(0x194)]=_0x266432(0x1d2),_0x3c50c0[_0x266432(0x135)]=_0x266432(0xe3),_0x3c50c0[_0x266432(0x1ac)]=_0x266432(0x188),_0x3c50c0[_0x266432(0x15b)]=_0x266432(0xdf),_0x3c50c0['TVjUZ']='DRIVER_INIT',_0x3c50c0['Gopin']=function(_0x34187a,_0x1fdccf){return _0x34187a===_0x1fdccf;},_0x3c50c0['DPRPt']='onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true',_0x3c50c0[_0x266432(0x1b8)]=function(_0x5146a,_0x1c226f){return _0x5146a===_0x1c226f;},_0x3c50c0[_0x266432(0x1cb)]=_0x266432(0x116),_0x3c50c0['MkDWB']=function(_0x38ecf8,_0x57cd90){return _0x38ecf8>_0x57cd90;},_0x3c50c0[_0x266432(0xf1)]=_0x266432(0x165),_0x3c50c0[_0x266432(0x273)]=_0x266432(0x21e),_0x3c50c0[_0x266432(0x257)]=function(_0x41996e,_0x366934){return _0x41996e&&_0x366934;},_0x3c50c0[_0x266432(0xe7)]=_0x266432(0x191),_0x3c50c0[_0x266432(0x27c)]=_0x266432(0xea);const _0x4f804a=_0x3c50c0;if(_0x4f804a[_0x266432(0x238)](_0x30d076[_0x266432(0x24b)],_0x4f804a[_0x266432(0x28a)])&&_0x4f804a[_0x266432(0x238)](_0x30d076[_0x266432(0x24b)],_0x4f804a[_0x266432(0x18d)])){logger[_0x266432(0x13d)](_0x4f804a[_0x266432(0x194)]);return;}logger['info'](_0x266432(0x11a)+JSON[_0x266432(0xe5)](_0x30d076));try{const _0x182257=AutomationFramework[_0x266432(0x13b)](),_0x5c5b59=TestFramework['getTrackedInstance'](),_0x5c724b=_0x30d076[_0x266432(0x11b)]||global['__workerDetails']?.['pwPage']||null;if(!_0x5c724b){_0x5c5b59&&_0x5c5b59[_0x266432(0x1d9)](_0x4f804a[_0x266432(0x135)],!![]);logger[_0x266432(0x13d)](_0x4f804a[_0x266432(0x1ac)]);return;}logger[_0x266432(0x13d)](_0x4f804a[_0x266432(0x15b)]);const _0x50bfb9=_0x5c5b59?.[_0x266432(0x15f)](_0x4f804a[_0x266432(0x224)],![]),_0x261f4d=_0x5c5b59?.['getData'](_0x4f804a[_0x266432(0x135)],![]);if(_0x4f804a['Gopin'](_0x50bfb9,![])&&_0x4f804a[_0x266432(0x23a)](_0x261f4d,![])){_0x5c5b59&&_0x5c5b59[_0x266432(0x1d9)](_0x4f804a['TVjUZ'],!![]);logger[_0x266432(0x13d)](_0x4f804a[_0x266432(0x1d0)]);return;}_0x5c5b59&&_0x5c5b59['updateData'](_0x4f804a['yzMPP'],!![]);let _0x12300f,_0x57605d;const _0x3a83d2=_0x30d076[_0x266432(0x24b)]||_0x4f804a['ArjBE'];if(_0x4f804a[_0x266432(0x1b8)](_0x3a83d2,_0x4f804a[_0x266432(0x18d)])){_0x57605d=_0x30d076[_0x266432(0x141)]?.[_0x266432(0x1fd)]||_0x30d076[_0x266432(0x141)]?.['id']||global['__jestCurrentTestIdentifier']||global['__workerDetails']?.['currentTest']?.[_0x266432(0x1fd)]||global[_0x266432(0x16a)]?.['currentTest']?.['id'];const _0x3d0e64=_0x5c5b59?.[_0x266432(0x225)]()?.['get'](_0x57605d);if(_0x3d0e64&&_0x3d0e64[TestFrameworkConstants[_0x266432(0xe6)]])_0x12300f=_0x3d0e64[TestFrameworkConstants[_0x266432(0xe6)]];else{if(_0x30d076[_0x266432(0x141)]?.['titlePath'])_0x12300f=_0x30d076[_0x266432(0x141)][_0x266432(0x147)];else global[_0x266432(0x16a)]?.[_0x266432(0x22d)]?.[_0x266432(0x141)]?.[_0x266432(0x147)]?_0x12300f=global['__workerDetails'][_0x266432(0x22d)][_0x266432(0x141)][_0x266432(0x147)]:_0x12300f=_0x4f804a['AsHxU'];}logger[_0x266432(0x13d)](_0x266432(0x1f6)+_0x57605d+_0x266432(0x268)+JSON[_0x266432(0xe5)](_0x12300f));}else{_0x57605d=this['getTestId'](_0x30d076);const _0x23f6ab=TestInfo[_0x266432(0x253)](_0x57605d);let _0x5794fd=[];if(_0x23f6ab&&Array[_0x266432(0x258)](_0x23f6ab['test_tags'])&&_0x4f804a['MkDWB'](_0x23f6ab[_0x266432(0x21e)][_0x266432(0x1dc)],0x0))_0x5794fd=_0x23f6ab[_0x266432(0x21e)];else{if(_0x5c5b59){const _0x24d6d6=_0x4f804a[_0x266432(0x1b8)](typeof _0x5c5b59['getData'],_0x4f804a[_0x266432(0xf1)])?_0x5c5b59[_0x266432(0x15f)](_0x4f804a[_0x266432(0x273)],[]):_0x5c5b59[_0x266432(0x21e)]||[];Array[_0x266432(0x258)](_0x24d6d6)&&(_0x5794fd=_0x24d6d6);}}_0x12300f=_0x5794fd;}logger[_0x266432(0x1a3)](_0x266432(0x1e7)+JSON[_0x266432(0xe5)](_0x12300f));const _0x4f77b5=this['isPlatformSupported'](_0x182257,_0x30d076[_0x266432(0x16d)],_0x30d076[_0x266432(0x219)]);logger[_0x266432(0x13d)](_0x266432(0x241)+_0x4f77b5+_0x266432(0x21f)+this[_0x266432(0x171)]);const _0x4fd3d8=this[_0x266432(0x11e)](_0x12300f,_0x182257,_0x3a83d2),_0x576558=_0x4f804a[_0x266432(0x257)](_0x4f77b5,_0x4fd3d8),_0x1d7162=CLIUtils[_0x266432(0x289)]();this['accessibility'][_0x266432(0x134)](_0x1d7162,_0x576558),global[_0x266432(0x20d)]?.[_0x266432(0x27f)]&&global[_0x266432(0x20d)][_0x266432(0x27f)]()[_0x266432(0x16e)](_0x576558),logger['debug'](_0x266432(0x246)+(_0x182257?.[_0x266432(0x11d)]?.()||_0x4f804a[_0x266432(0xe7)])+']\x20should\x20run\x20accessibility\x20value='+_0x576558),_0x576558?(global['accessibilityPlatform']=!![],process[_0x266432(0x23f)][_0x266432(0x14b)]=_0x4f804a[_0x266432(0x27c)],this[_0x266432(0x151)]()):global['accessibilityPlatform']=![];}catch(_0x46cc6b){logger['error']('Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20'+(_0x46cc6b[_0x266432(0x21d)]||_0x46cc6b[_0x266432(0x283)]));const _0x14306d=CLIUtils[_0x266432(0x289)]();this[_0x266432(0x26f)][_0x266432(0x134)](_0x14306d,![]),global[_0x266432(0x265)]=![];}}[a80_0x5586ec(0x245)](){const _0x5bd5c1=a80_0x5586ec;return this[_0x5bd5c1(0x205)][_0x5bd5c1(0x1be)](_0x3026fb=>_0x3026fb[_0x5bd5c1(0x1c2)]()===_0x5bd5c1(0x1c9))?.[_0x5bd5c1(0x1dd)]()||'';}[a80_0x5586ec(0x1a0)](_0xf5d3d){const _0xb9ef1b=a80_0x5586ec;try{const _0x59bb77=this[_0xb9ef1b(0x1d7)]?.['options']?.[_0xb9ef1b(0x175)]||[],_0xf15d87=_0x59bb77[_0xb9ef1b(0x1be)](_0x559361=>_0x559361[_0xb9ef1b(0x1ab)]===_0xf5d3d);return _0xf15d87?_0xf15d87[_0xb9ef1b(0x17d)]:null;}catch(_0x2f2cec){return logger[_0xb9ef1b(0x13d)](_0xb9ef1b(0x1fa)+_0xf5d3d+':\x20'+_0x2f2cec[_0xb9ef1b(0x283)]),null;}}async['setAccessibilityConfig'](_0x54c151,_0xaa7ca0){const _0x17304d=a80_0x5586ec,_0x44de0d=_0x54c151[_0x17304d(0xef)]()['getOptions'](),_0x3db5d3=_0x44de0d[_0x17304d(0x16f)](),_0x722427=_0x44de0d[_0x17304d(0xf8)]()?.[_0x17304d(0x28d)]();scripts['parseFromProto'](_0x3db5d3,_0x722427),scripts[_0x17304d(0x200)]();const _0x54bfae=_0x44de0d[_0x17304d(0x149)]();this[_0x17304d(0x205)]=_0x44de0d[_0x17304d(0x149)](),await this['setAccessibilityToken'](_0x54bfae,_0xaa7ca0[_0x17304d(0x219)]);}async['setAccessibilityToken'](_0x1090c6,_0x25790f={}){const _0x2f124f=a80_0x5586ec,_0x488ded={};_0x488ded[_0x2f124f(0x233)]=function(_0x3444e5,_0x4478f8){return _0x3444e5===_0x4478f8;},_0x488ded[_0x2f124f(0x140)]=_0x2f124f(0xe1),_0x488ded['CZAMJ']=_0x2f124f(0x106),_0x488ded[_0x2f124f(0x11c)]=_0x2f124f(0x206),_0x488ded['MTRsp']=_0x2f124f(0x133),_0x488ded[_0x2f124f(0x102)]=function(_0x2ba0ff,_0x2151da){return _0x2ba0ff===_0x2151da;},_0x488ded[_0x2f124f(0x12b)]=_0x2f124f(0x1db),_0x488ded[_0x2f124f(0x210)]=_0x2f124f(0x1d8),_0x488ded[_0x2f124f(0x144)]=function(_0x2cf9b4,_0xde9240){return _0x2cf9b4===_0xde9240;},_0x488ded[_0x2f124f(0x228)]=_0x2f124f(0x197),_0x488ded['iUeal']=_0x2f124f(0xe0);const _0x138a3f=_0x488ded;global[_0x2f124f(0xfa)]=global[_0x2f124f(0xfa)]||{};for(const _0x126762 of _0x1090c6){logger[_0x2f124f(0x1a3)](_0x2f124f(0x169)+_0x126762['getName']()+_0x2f124f(0x255)+_0x126762[_0x2f124f(0x1dd)]());if(_0x138a3f['twvRu'](_0x126762[_0x2f124f(0x1c2)](),_0x138a3f[_0x2f124f(0x140)]))process['env']['BS_A11Y_JWT']=_0x126762[_0x2f124f(0x1dd)](),global[_0x2f124f(0xfa)][_0x138a3f['CZAMJ']]=_0x126762['getValue']();else{if(_0x138a3f['twvRu'](_0x126762[_0x2f124f(0x1c2)](),_0x138a3f[_0x2f124f(0x11c)]))global['__accessibilityOptions'][_0x138a3f[_0x2f124f(0x26e)]]=_0x126762[_0x2f124f(0x1dd)]();else{if(_0x138a3f[_0x2f124f(0x102)](_0x126762[_0x2f124f(0x1c2)](),_0x138a3f[_0x2f124f(0x12b)]))global[_0x2f124f(0xfa)][_0x138a3f[_0x2f124f(0x210)]]=_0x126762[_0x2f124f(0x1dd)]();else _0x138a3f[_0x2f124f(0x144)](_0x126762[_0x2f124f(0x1c2)](),_0x138a3f[_0x2f124f(0x228)])&&(global[_0x2f124f(0xfa)][_0x138a3f[_0x2f124f(0x1a5)]]=_0x126762['getValue']());}}}}async[a80_0x5586ec(0x1c5)](_0x102247){const _0x194f6e=a80_0x5586ec,_0x545334={};_0x545334[_0x194f6e(0x159)]=function(_0x1bb54a,_0x4da0a6){return _0x1bb54a!==_0x4da0a6;},_0x545334[_0x194f6e(0x249)]='cucumber',_0x545334[_0x194f6e(0x125)]=_0x194f6e(0x176),_0x545334['vaviz']='onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x545334[_0x194f6e(0x259)]=_0x194f6e(0x191);const _0x499cc9=_0x545334;if(_0x499cc9['KeWeq'](_0x102247['testFramework'],_0x499cc9[_0x194f6e(0x249)])&&_0x499cc9[_0x194f6e(0x159)](_0x102247[_0x194f6e(0x24b)],_0x499cc9['dBSUp'])){logger[_0x194f6e(0x13d)](_0x499cc9[_0x194f6e(0x154)]);return;}const _0x30082e=_0x102247['testInfo']?.[_0x194f6e(0x1fd)]||_0x102247[_0x194f6e(0x141)]?.['id']||global[_0x194f6e(0x1cf)];logger['info'](_0x194f6e(0x1e4)+_0x102247[_0x194f6e(0x24b)]+_0x194f6e(0x21c)+_0x30082e);try{const _0xa578d1=_0x102247[_0x194f6e(0x234)]||AutomationFramework['getTrackedInstance'](),_0x10712d=CLIUtils[_0x194f6e(0x289)](),_0x173bf0=this[_0x194f6e(0x1b7)]();logger[_0x194f6e(0x13d)](_0x194f6e(0x246)+(_0xa578d1?.[_0x194f6e(0x11d)]?.()||_0x499cc9[_0x194f6e(0x259)])+']\x20onAfterTest\x20should\x20scan='+_0x173bf0),_0x173bf0&&await this['stopTestCapture'](_0xa578d1,_0x102247),this[_0x194f6e(0x26f)][_0x194f6e(0x23d)](_0x10712d),this[_0x194f6e(0x292)]['delete'](_0x10712d);}catch(_0x54de03){logger['error'](_0x194f6e(0x220)+(_0x54de03[_0x194f6e(0x21d)]||_0x54de03['message']));}}async[a80_0x5586ec(0x211)](_0x3f3f4a,_0x497c0d){const _0x17ca44=a80_0x5586ec,_0x462e50={};_0x462e50[_0x17ca44(0x11f)]=function(_0x5d8f89,_0x295d7c){return _0x5d8f89===_0x295d7c;},_0x462e50['iaXap']=_0x17ca44(0x165),_0x462e50[_0x17ca44(0xf9)]=_0x17ca44(0x176),_0x462e50[_0x17ca44(0x204)]=_0x17ca44(0x270),_0x462e50['lxlDd']=function(_0x84a1cb,_0x4af5f6){return _0x84a1cb===_0x4af5f6;},_0x462e50[_0x17ca44(0xe2)]='stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save',_0x462e50[_0x17ca44(0x15d)]=_0x17ca44(0x26f),_0x462e50['yjxHF']=_0x17ca44(0x10a),_0x462e50[_0x17ca44(0x282)]=_0x17ca44(0x191),_0x462e50[_0x17ca44(0xec)]=_0x17ca44(0x239),_0x462e50[_0x17ca44(0xf5)]=_0x17ca44(0x22b),_0x462e50[_0x17ca44(0x267)]=function(_0x3826a0,_0xe76426){return _0x3826a0||_0xe76426;},_0x462e50[_0x17ca44(0x1ff)]=function(_0x40012e,_0x528561){return _0x40012e||_0x528561;},_0x462e50[_0x17ca44(0x24e)]=_0x17ca44(0x1a2),_0x462e50[_0x17ca44(0x164)]=_0x17ca44(0xfc);const _0x4dbfb5=_0x462e50;try{const _0x55164c=_0x497c0d['testFramework']||(_0x4dbfb5['IAXWf'](this[_0x17ca44(0x1d1)]?.[_0x17ca44(0x1ab)]?.['toLowerCase'](),_0x4dbfb5[_0x17ca44(0xf9)])?_0x4dbfb5[_0x17ca44(0xf9)]:_0x4dbfb5['ydamw']);let _0x4d4bf1='',_0x1302a2=null,_0x5c3e39=null;if(_0x4dbfb5[_0x17ca44(0x1a1)](_0x55164c,_0x4dbfb5[_0x17ca44(0xf9)])){_0x1302a2=_0x497c0d[_0x17ca44(0x141)]?.[_0x17ca44(0x1fd)]||_0x497c0d[_0x17ca44(0x141)]?.['id']||global[_0x17ca44(0x1cf)];if(!_0x1302a2){logger[_0x17ca44(0x153)](_0x4dbfb5[_0x17ca44(0xe2)]);return;}try{const _0x1c053e=await GrpcClient[_0x17ca44(0x26a)]()[_0x17ca44(0x13a)](process[_0x17ca44(0x23f)][_0x17ca44(0xf7)],_0x4dbfb5[_0x17ca44(0x15d)],_0x4dbfb5[_0x17ca44(0x240)],_0x1302a2),_0x1053bc=AccessibilityModule[_0x17ca44(0x18f)](null,_0x1c053e);_0x4d4bf1=_0x1053bc?.['thTestRunUuid']||'',logger[_0x17ca44(0x13d)](_0x17ca44(0x100)+_0x4d4bf1+_0x17ca44(0xee)+_0x1302a2),_0x5c3e39=_0x1c053e;}catch(_0x46350b){logger[_0x17ca44(0x18e)](_0x17ca44(0x1e2)+_0x46350b[_0x17ca44(0x283)]);return;}}else{const _0x406c25=this[_0x17ca44(0xf3)](_0x497c0d);_0x4d4bf1=TestInfo['getTestUUID'](_0x406c25);}const _0x25302a=((()=>{const _0xf914bb=_0x17ca44,_0x20c9de=(this['accessibilityConfig']?.['options']?.[_0xf914bb(0x175)]||[])[_0xf914bb(0x1be)](_0x37c3ea=>(typeof _0x37c3ea['getName']===_0xf914bb(0x165)?_0x37c3ea[_0xf914bb(0x1c2)]():_0x37c3ea['name'])===this[_0xf914bb(0x150)]);return _0x20c9de?_0x4dbfb5[_0xf914bb(0x11f)](typeof _0x20c9de[_0xf914bb(0x1dd)],_0x4dbfb5[_0xf914bb(0x199)])?_0x20c9de[_0xf914bb(0x1dd)]():_0x20c9de[_0xf914bb(0x17d)]:'';})()),_0x5fbe63=process[_0x17ca44(0x23f)][_0x17ca44(0x179)]||'';logger[_0x17ca44(0x13d)](_0x17ca44(0x246)+(_0x3f3f4a?.[_0x17ca44(0x11d)]?.()||_0x4dbfb5[_0x17ca44(0x282)])+_0x17ca44(0x25d)+_0x4d4bf1+_0x17ca44(0x275)+_0x25302a+_0x17ca44(0x28f)+(_0x5fbe63?_0x4dbfb5[_0x17ca44(0xec)]:_0x4dbfb5['BhvDQ']));let _0x257ae9;if(_0x4dbfb5[_0x17ca44(0x1a1)](_0x55164c,_0x4dbfb5['YMNep']))_0x257ae9=AccessibilityModule['loadDriverExecuteParams'](_0x4d4bf1,_0x5c3e39);else{const _0x15a5b0=await GrpcClient[_0x17ca44(0x26a)]()['fetchDriverExecuteParamsEvent'](process[_0x17ca44(0x23f)][_0x17ca44(0xf7)],_0x4dbfb5[_0x17ca44(0x15d)],_0x4dbfb5[_0x17ca44(0x240)]);_0x257ae9=AccessibilityModule[_0x17ca44(0x18f)](_0x4d4bf1,_0x15a5b0);}logger[_0x17ca44(0x13d)](_0x17ca44(0x160)+JSON[_0x17ca44(0xe5)](_0x257ae9));const _0x2316e8=Object[_0x17ca44(0x272)]({},{'thTestRunUuid':_0x4dbfb5[_0x17ca44(0x267)](_0x4d4bf1,''),'thBuildUuid':_0x4dbfb5['qMIYq'](_0x25302a,''),'thJwtToken':_0x4dbfb5['YUKar'](_0x5fbe63,'')},_0x257ae9);logger['debug'](_0x17ca44(0x288)+_0x4d4bf1+_0x17ca44(0x21f)+this[_0x17ca44(0x171)]);let _0x32589f=global['__workerDetails']?.[_0x17ca44(0x1f3)]||null;!_0x32589f&&(_0x32589f=AutomationFramework[_0x17ca44(0x173)](_0x3f3f4a,_0x4dbfb5[_0x17ca44(0x24e)],null)),!_0x32589f&&(_0x32589f=AutomationFramework[_0x17ca44(0x173)](_0x3f3f4a,_0x4dbfb5['qOyGp'],null)),await this[_0x17ca44(0x248)](this[_0x17ca44(0x1b7)](),_0x4d4bf1,_0x32589f,_0x2316e8,this[_0x17ca44(0x171)]);}catch(_0x5e7ff4){logger[_0x17ca44(0x18e)](_0x17ca44(0x20e)+(_0x5e7ff4[_0x17ca44(0x21d)]||_0x5e7ff4[_0x17ca44(0x283)]));}}async[a80_0x5586ec(0x248)](_0x4003e0,_0x3570b0,_0x19d525,_0x3d4955,_0xb351c1){const _0x1da730=a80_0x5586ec,_0x19b885={};_0x19b885[_0x1da730(0x184)]=_0x1da730(0x10a),_0x19b885[_0x1da730(0x12f)]=function(_0x1547ee,_0x148a8e){return _0x1547ee&&_0x148a8e;},_0x19b885[_0x1da730(0x17e)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x19b885[_0x1da730(0x243)]=function(_0x23fd8c,_0x489b97){return _0x23fd8c===_0x489b97;},_0x19b885[_0x1da730(0x130)]=_0x1da730(0x22b),_0x19b885[_0x1da730(0x1a9)]=function(_0x13f07f,_0x1b40dd){return _0x13f07f===_0x1b40dd;},_0x19b885[_0x1da730(0x1a7)]='Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found',_0x19b885['LAfMe']='Performing\x20scan\x20before\x20from\x20cli',_0x19b885[_0x1da730(0x24f)]='afterTestHook',_0x19b885['DdHvs']=_0x1da730(0x13c),_0x19b885[_0x1da730(0x25e)]=_0x1da730(0x1ba),_0x19b885['RaqCT']='a11y:save-results',_0x19b885['eJvuR']=_0x1da730(0x1a4);const _0xe01e5e=_0x19b885;try{const _0x259429=this['getScriptByName'](_0xe01e5e['YtdxU']);if(_0xe01e5e[_0x1da730(0x12f)](!_0xb351c1,!_0x259429)){logger[_0x1da730(0x13d)](_0xe01e5e[_0x1da730(0x17e)]);return;}if(!_0x3570b0||_0xe01e5e[_0x1da730(0x243)](_0x3570b0,_0xe01e5e[_0x1da730(0x130)])||_0xe01e5e[_0x1da730(0x1a9)](_0x3570b0,'')){logger[_0x1da730(0x13d)](_0xe01e5e[_0x1da730(0x1a7)]);return;}logger['debug'](_0x1da730(0x1ea)+JSON[_0x1da730(0xe5)](_0x3d4955)),_0x4003e0&&(logger[_0x1da730(0x13d)](_0xe01e5e[_0x1da730(0xe8)]),await this['performScanForCli'](_0x19d525,_0x3570b0,_0xe01e5e['DHnrj'],_0x3d4955,_0xb351c1,_0xe01e5e['DdHvs']),_0xe01e5e['Qswvk'](!_0xb351c1,_0x259429)&&(logger[_0x1da730(0x13d)](_0xe01e5e[_0x1da730(0x25e)]),await PerformanceTester[_0x1da730(0x142)](_0xe01e5e[_0x1da730(0x217)],async()=>{const _0x36933a=_0x1da730;await this[_0x36933a(0x20c)](_0x19d525,_0x3570b0,_0xe01e5e['YtdxU'],_0x3d4955,_0xb351c1,_0xe01e5e[_0x36933a(0x184)]);})()),logger[_0x1da730(0x1a3)](_0xe01e5e[_0x1da730(0x1de)]));}catch(_0x3e2f19){logger[_0x1da730(0x18e)](_0x1da730(0x19e)+(_0x3e2f19[_0x1da730(0x21d)]||_0x3e2f19[_0x1da730(0x283)]));}}async[a80_0x5586ec(0x202)](_0x4118f4){const _0x5b988d=a80_0x5586ec,_0x4c9044={};_0x4c9044['klQNS']=function(_0x3d79af,_0x539658){return _0x3d79af!==_0x539658;},_0x4c9044[_0x5b988d(0x172)]=_0x5b988d(0x270),_0x4c9044[_0x5b988d(0x1cd)]=function(_0xf9bc62,_0x59c4b9){return _0xf9bc62!==_0x59c4b9;},_0x4c9044['rMsaZ']=_0x5b988d(0x176),_0x4c9044[_0x5b988d(0x17f)]=_0x5b988d(0x128),_0x4c9044['YVBsY']=_0x5b988d(0x191),_0x4c9044[_0x5b988d(0x157)]=_0x5b988d(0x114),_0x4c9044[_0x5b988d(0x119)]=function(_0x4dd952,_0x2e071a){return _0x4dd952===_0x2e071a;},_0x4c9044[_0x5b988d(0x1c7)]=_0x5b988d(0x23b),_0x4c9044[_0x5b988d(0x177)]=_0x5b988d(0x26f),_0x4c9044[_0x5b988d(0x168)]='performScan',_0x4c9044[_0x5b988d(0x1b4)]=_0x5b988d(0x1e9),_0x4c9044[_0x5b988d(0x26d)]=_0x5b988d(0x12e),_0x4c9044[_0x5b988d(0x117)]=_0x5b988d(0x13c),_0x4c9044[_0x5b988d(0x291)]='null';const _0x4a5ef3=_0x4c9044;if(_0x4a5ef3[_0x5b988d(0x222)](_0x4118f4[_0x5b988d(0x24b)],_0x4a5ef3[_0x5b988d(0x172)])&&_0x4a5ef3[_0x5b988d(0x1cd)](_0x4118f4[_0x5b988d(0x24b)],_0x4a5ef3['rMsaZ'])){logger[_0x5b988d(0x13d)](_0x4a5ef3['KMpJE']);return;}logger[_0x5b988d(0x13d)](_0x5b988d(0x230)+(_0x4118f4[_0x5b988d(0x242)]||_0x4a5ef3[_0x5b988d(0x1e5)])+_0x5b988d(0x192)+_0x4118f4[_0x5b988d(0x24b)]);try{const _0x11e3bf=_0x4118f4['instance']||AutomationFramework[_0x5b988d(0x13b)](),_0x4ba524=TestFramework[_0x5b988d(0x13b)](),_0x1ea4c1=_0x4118f4[_0x5b988d(0x242)]||_0x4118f4[_0x5b988d(0xf2)]?.[_0x5b988d(0x1c2)]();if(!_0x1ea4c1){logger[_0x5b988d(0x13d)](_0x4a5ef3['bFMaQ']);return;}if(!this['getCurrentAccessibilityStatus']()){logger[_0x5b988d(0x13d)](_0x5b988d(0x120)+_0x1ea4c1);return;}if(!this[_0x5b988d(0x1da)](_0x1ea4c1)){logger[_0x5b988d(0x13d)]('onBeforeExecute:\x20Command\x20'+_0x1ea4c1+_0x5b988d(0x1eb));return;}const _0x1461c7=_0x4118f4[_0x5b988d(0x11b)]||global[_0x5b988d(0x16a)]?.[_0x5b988d(0x1f3)];if(!_0x1461c7){logger[_0x5b988d(0x13d)](_0x5b988d(0x264)+_0x1ea4c1);return;}let _0x40f31d='',_0x11087e=null;if(_0x4a5ef3[_0x5b988d(0x119)](_0x4118f4[_0x5b988d(0x24b)],_0x4a5ef3[_0x5b988d(0x296)])){_0x11087e=_0x4118f4[_0x5b988d(0x141)]?.[_0x5b988d(0x1fd)]||_0x4118f4[_0x5b988d(0x141)]?.['id']||global[_0x5b988d(0x1cf)];if(!_0x11087e){logger['warn'](_0x4a5ef3['kOycz']);return;}try{const _0x496afa=await GrpcClient[_0x5b988d(0x26a)]()['fetchDriverExecuteParamsEvent'](process[_0x5b988d(0x23f)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x4a5ef3[_0x5b988d(0x177)],_0x4a5ef3[_0x5b988d(0x168)],_0x11087e),_0x5523f5=AccessibilityModule[_0x5b988d(0x18f)](null,_0x496afa);_0x40f31d=_0x5523f5?.[_0x5b988d(0x1e0)]||'',logger[_0x5b988d(0x13d)](_0x5b988d(0x129)+_0x40f31d+_0x5b988d(0xee)+_0x11087e);}catch(_0x43b49b){logger[_0x5b988d(0x18e)](_0x5b988d(0x182)+_0x43b49b['message']);return;}}else _0x40f31d=this[_0x5b988d(0x1a0)](_0x4a5ef3[_0x5b988d(0x1b4)])||'';const _0x385606=this[_0x5b988d(0x1a0)](_0x4a5ef3[_0x5b988d(0x26d)])||this[_0x5b988d(0x1d7)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x12d9c7=process['env'][_0x5b988d(0x179)]||'',_0x5f1f20=this[_0x5b988d(0x185)](_0x1ea4c1,_0x40f31d,_0x385606,_0x12d9c7),_0x589e86=_0x4a5ef3[_0x5b988d(0x119)](_0x4118f4['testFramework'],_0x4a5ef3[_0x5b988d(0x296)])?await AccessibilityModule[_0x5b988d(0x132)](_0x4a5ef3[_0x5b988d(0x117)],_0x40f31d,_0x11087e):await AccessibilityModule[_0x5b988d(0x132)](_0x4a5ef3[_0x5b988d(0x117)],_0x40f31d);logger['info']('ScanArgs:\x20'+(_0x5f1f20?JSON[_0x5b988d(0xe5)](_0x5f1f20):_0x4a5ef3['sWHWS']));const _0x4a40d5=CLIUtils[_0x5b988d(0x17c)](_0x5f1f20,_0x589e86);logger[_0x5b988d(0x1a3)](_0x5b988d(0x1bf)+(_0x4a40d5?JSON['stringify'](_0x4a40d5):_0x4a5ef3[_0x5b988d(0x291)])),logger[_0x5b988d(0x13d)]('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x1ea4c1);const _0x49cbdb=await this[_0x5b988d(0x20c)](_0x1461c7,_0x40f31d,_0x1ea4c1,_0x4a40d5,this[_0x5b988d(0x171)]);logger[_0x5b988d(0x13d)](_0x5b988d(0x287)+_0x1ea4c1+_0x5b988d(0x1c1)+_0x49cbdb);}catch(_0x2fdf9c){logger[_0x5b988d(0x18e)]('Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20'+(_0x2fdf9c[_0x5b988d(0x21d)]||_0x2fdf9c[_0x5b988d(0x283)]));}}['shouldScanCurrentTest'](){return this['getCurrentAccessibilityStatus']();}[a80_0x5586ec(0x111)](_0x4701be){const _0x2bc356=a80_0x5586ec,_0x139f11=CLIUtils[_0x2bc356(0x289)]();this['accessibility']['set'](_0x139f11,_0x4701be);}async['initAccessibilityConfig'](_0x592cf7){const _0x5716ac=a80_0x5586ec,_0x2469dc={};_0x2469dc[_0x5716ac(0x244)]=_0x5716ac(0x191);const _0x5f0f21=_0x2469dc;try{const _0xc7e30e=_0x592cf7[_0x5716ac(0x234)]||AutomationFramework['getTrackedInstance'](),_0x2fbf0e=_0xc7e30e?.[_0x5716ac(0x15f)]?.()?.['get']?.(this[_0x5716ac(0x1c6)])||![];if(_0x2fbf0e)return;PerformanceTester['start'](EVENTS[_0x5716ac(0x209)]);const _0x5d3bef=await GrpcClient[_0x5716ac(0x26a)]()[_0x5716ac(0x256)](_0x592cf7);_0x5d3bef&&_0x5d3bef[_0x5716ac(0xef)]&&_0x5d3bef['getAccessibility']()&&_0x5d3bef[_0x5716ac(0xef)]()[_0x5716ac(0x16c)]()?(await this['loadAccessibilityConfig'](_0x5d3bef,_0x592cf7),_0xc7e30e?.['getData']&&_0xc7e30e['getData']()[_0x5716ac(0x134)](this[_0x5716ac(0x1c6)],!![]),logger[_0x5716ac(0x13d)](_0x5716ac(0x246)+(_0xc7e30e?.['getPlatformIndex']?.()||_0x5f0f21[_0x5716ac(0x244)])+']\x20Accessibility\x20configuration\x20initialized\x20successfully')):logger['debug'](_0x5716ac(0x246)+(_0xc7e30e?.[_0x5716ac(0x11d)]?.()||_0x5f0f21[_0x5716ac(0x244)])+_0x5716ac(0x1ad)),PerformanceTester['end'](EVENTS[_0x5716ac(0x209)]);}catch(_0x3b5768){PerformanceTester[_0x5716ac(0x10d)](EVENTS[_0x5716ac(0x209)],![],_0x3b5768['message']),logger[_0x5716ac(0x18e)](_0x5716ac(0x218)+(_0x3b5768[_0x5716ac(0x21d)]||_0x3b5768['message']));}}async['loadAccessibilityConfig'](_0x55f02a,_0x22d41e){const _0x3b70d2=a80_0x5586ec;await this[_0x3b70d2(0x198)](_0x55f02a,_0x22d41e);const _0xdf098e=_0x55f02a[_0x3b70d2(0xef)]()[_0x3b70d2(0xfd)]();if(_0xdf098e){const _0x8d3134=_0x55f02a[_0x3b70d2(0x28e)]&&_0x55f02a[_0x3b70d2(0x28e)]();_0x8d3134&&(this[_0x3b70d2(0x1d7)][this[_0x3b70d2(0x150)]]=_0x8d3134[_0x3b70d2(0x262)]&&_0x8d3134[_0x3b70d2(0x262)]());}}['shouldScanForCommand'](_0x421d46){const _0x412912=a80_0x5586ec,_0x5def4b={};_0x5def4b[_0x412912(0x23c)]=function(_0x2b20e5,_0x4b5eba){return _0x2b20e5===_0x4b5eba;};const _0x167459=_0x5def4b;try{if(!_0x421d46)return![];const _0x3563bd=this[_0x412912(0x1d7)]?.[_0x412912(0x12d)]?.[_0x412912(0x27e)]?.[_0x412912(0x254)]||[],_0x223388=_0x3563bd['some'](_0x34b3a6=>{const _0x2aec26=_0x412912;return _0x34b3a6[_0x2aec26(0x1ab)]&&_0x167459['OVoXu'](_0x34b3a6[_0x2aec26(0x1ab)]['toLowerCase'](),_0x421d46['toLowerCase']());});return logger[_0x412912(0x13d)](_0x412912(0x27a)+_0x421d46+_0x412912(0x1b3)+_0x223388+_0x412912(0x277)+JSON[_0x412912(0xe5)](_0x3563bd['map'](_0x122a54=>_0x122a54[_0x412912(0x1ab)]))),_0x223388;}catch(_0x7caf84){return logger[_0x412912(0x13d)]('Error\x20in\x20shouldScanForCommand:\x20'+_0x7caf84[_0x412912(0x283)]),![];}}['isBrowserstackScriptCommand'](_0x248a12){const _0x3bb078=a80_0x5586ec,_0x539423={};_0x539423['oLjsL']=function(_0x166167,_0x3a5504){return _0x166167===_0x3a5504;},_0x539423['TzPNM']=_0x3bb078(0x25b),_0x539423[_0x3bb078(0x112)]=_0x3bb078(0x138);const _0x79ead0=_0x539423,_0x2d4672=_0x248a12[_0x3bb078(0x108)]&&_0x248a12[_0x3bb078(0x108)]();return _0x2d4672&&_0x79ead0[_0x3bb078(0x247)](typeof _0x2d4672,_0x79ead0[_0x3bb078(0x24c)])&&_0x2d4672[_0x3bb078(0x127)](_0x79ead0[_0x3bb078(0x112)]);}['isAccessibilityScriptCommand'](_0x4a44e3){const _0x4d5ad3=a80_0x5586ec,_0x78d1d1={};_0x78d1d1['WdTdL']=function(_0x14d26c,_0xbf204c){return _0x14d26c!==_0xbf204c;},_0x78d1d1[_0x4d5ad3(0x103)]='string',_0x78d1d1['iePqu']=_0x4d5ad3(0x26f),_0x78d1d1[_0x4d5ad3(0x181)]=_0x4d5ad3(0x25a),_0x78d1d1[_0x4d5ad3(0x1cc)]=_0x4d5ad3(0x1ee),_0x78d1d1[_0x4d5ad3(0x186)]=_0x4d5ad3(0x278);const _0x42f619=_0x78d1d1,_0x2981ff=_0x4a44e3[_0x4d5ad3(0x108)]&&_0x4a44e3['getScript']();if(!_0x2981ff||_0x42f619[_0x4d5ad3(0x25c)](typeof _0x2981ff,_0x42f619['cUrfF']))return![];return _0x2981ff['includes'](_0x42f619['iePqu'])||_0x2981ff['includes'](_0x42f619[_0x4d5ad3(0x181)])||_0x2981ff[_0x4d5ad3(0x127)](_0x42f619[_0x4d5ad3(0x1cc)])||_0x2981ff[_0x4d5ad3(0x127)](_0x42f619['ruKEp']);}[a80_0x5586ec(0x185)](_0x48b5a8,_0x58b428,_0x489c4b,_0x1a526c){const _0x1a604b=a80_0x5586ec,_0x3e863f={};_0x3e863f['PlONC']=function(_0x14cc07,_0xff8e5b){return _0x14cc07||_0xff8e5b;},_0x3e863f[_0x1a604b(0x167)]=function(_0x4f586c,_0x492dfb){return _0x4f586c||_0x492dfb;};const _0x2c73d5=_0x3e863f;return{'command':_0x48b5a8,'thTestRunUuid':_0x2c73d5[_0x1a604b(0x14a)](_0x58b428,''),'thBuildUuid':_0x2c73d5[_0x1a604b(0x14a)](_0x489c4b,''),'thJwtToken':_0x2c73d5[_0x1a604b(0x167)](_0x1a526c,''),'timestamp':new Date()[_0x1a604b(0x24d)]()};}['getScriptByName'](_0x48f325){const _0x5b21f2=a80_0x5586ec,_0x5b0faf={};_0x5b0faf[_0x5b21f2(0x14f)]=function(_0x5d54b1,_0x550e37){return _0x5d54b1||_0x550e37;};const _0x55e2a7=_0x5b0faf;try{const _0x17b5b1=this[_0x5b21f2(0x1d7)]?.[_0x5b21f2(0x12d)]?.[_0x5b21f2(0x17b)]||[],_0x22a6c5=_0x17b5b1['find'](_0x273cc1=>_0x273cc1[_0x5b21f2(0x1ab)]===_0x48f325);return _0x55e2a7['NvVac'](_0x22a6c5,null);}catch(_0x21df83){return logger['debug'](_0x5b21f2(0x170)+_0x48f325+':\x20'+_0x21df83[_0x5b21f2(0x283)]),null;}}async[a80_0x5586ec(0x16b)](_0x421a8f,_0x5da9d1,_0x4316ef=null){const _0x554732=a80_0x5586ec,_0x25a1d2={'riQxG':function(_0x15a3dd,_0x2163c6){return _0x15a3dd(_0x2163c6);},'Bxtds':_0x554732(0x15c)};try{if(!_0x421a8f)return logger[_0x554732(0x13d)](_0x554732(0xeb)+_0x5da9d1),null;const _0xb5e58a=this['getScriptByName'](_0x5da9d1);if(!_0xb5e58a||!_0xb5e58a['command'])return logger['debug']('executeScriptByName:\x20No\x20'+_0x5da9d1+_0x554732(0x221)),null;logger['debug']('Executing\x20'+_0x5da9d1+_0x554732(0x10c));const _0xec6bf3=_0x25a1d2['riQxG'](require,_0x25a1d2[_0x554732(0x27b)]),_0x4d3548=_0x4316ef?await _0xec6bf3[_0x554732(0x183)](_0x421a8f,_0xb5e58a[_0x554732(0xf2)],_0x4316ef):await _0xec6bf3[_0x554732(0x183)](_0x421a8f,_0xb5e58a[_0x554732(0xf2)]);return _0x4d3548;}catch(_0x3c5da0){return logger[_0x554732(0x18e)](_0x554732(0x1ce)+_0x5da9d1+':\x20'+(_0x3c5da0[_0x554732(0x21d)]||_0x3c5da0[_0x554732(0x283)])),null;}}async['performScanForCli'](_0x9fcf51,_0xb106b5,_0x2be3ae,_0x474dad,_0x109e7f,_0x3e7c5d=a80_0x5586ec(0x13c)){const _0x45738b=a80_0x5586ec,_0x225226={'AmFJr':function(_0x13e7ab,_0x389ab4){return _0x13e7ab===_0x389ab4;},'gevJb':_0x45738b(0x13c),'UzfAj':function(_0x42e218,_0x17dbd7){return _0x42e218(_0x17dbd7);},'PoBat':_0x45738b(0x15c)};try{logger[_0x45738b(0x13d)]('[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x2be3ae+'\x20using\x20script:\x20'+_0x3e7c5d);const _0x3b0202=this['getScriptByName'](_0x3e7c5d);if(!_0x3b0202||!_0x3b0202[_0x45738b(0xf2)]){logger['debug']('performScanForCli:\x20No\x20'+_0x3e7c5d+_0x45738b(0x201));return;}if(_0x225226['AmFJr'](_0x3e7c5d,_0x225226['gevJb'])){const _0x1b3fc9=_0x225226[_0x45738b(0x24a)](require,_0x225226[_0x45738b(0xf6)]),_0x2055ae={};_0x2055ae[_0x45738b(0xf2)]=_0x2be3ae;const _0x4797d0=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x41429a=_0x45738b;await _0x1b3fc9[_0x41429a(0x183)](_0x9fcf51,_0x3b0202[_0x41429a(0xf2)]);},_0x2055ae)();return logger['info'](_0x45738b(0x1f9)+_0x3e7c5d+_0x45738b(0x163)+_0x2be3ae+':\x20'+util[_0x45738b(0x1d3)](_0x4797d0)),_0x4797d0;}const _0x58bf0d=_0x225226[_0x45738b(0x24a)](require,_0x225226[_0x45738b(0xf6)]),_0x4c5ce5=await PerformanceTester[_0x45738b(0x142)](PerformanceA11yEvents[_0x45738b(0x251)],async()=>{const _0x3918e2=_0x45738b;await _0x58bf0d[_0x3918e2(0x183)](_0x9fcf51,_0x3b0202[_0x3918e2(0xf2)],_0x474dad);})();return logger[_0x45738b(0x1a3)]('Page\x20'+_0x3e7c5d+_0x45738b(0x163)+_0x2be3ae+':\x20'+util['format'](_0x4c5ce5)),_0x4c5ce5;}catch(_0x49a53d){logger['error']('Error\x20in\x20performScanForCli\x20for\x20script\x20'+_0x3e7c5d+':\x20'+(_0x49a53d[_0x45738b(0x21d)]||_0x49a53d[_0x45738b(0x283)]));}}async[a80_0x5586ec(0x195)](_0x2f6da5){const _0x4ae092=a80_0x5586ec,_0x10fd3e={'cqsVd':function(_0x2200ca,_0x5d78cf){return _0x2200ca(_0x5d78cf);},'PxUAL':_0x4ae092(0x1fc)};try{const _0x45a64a=_0x10fd3e['cqsVd'](require,_0x10fd3e[_0x4ae092(0x22a)]);return await _0x45a64a['platformValidation'](_0x2f6da5);}catch(_0x5cdb0d){return logger[_0x4ae092(0x18e)]('Error\x20in\x20validatePlatformForAccessibility:\x20'+(_0x5cdb0d['stack']||_0x5cdb0d['message'])),![];}}[a80_0x5586ec(0x1bb)](_0x5838b6,_0x2fc5c7,_0x2ef81c){const _0x370d69=a80_0x5586ec,_0x5b8009={'MZyim':function(_0x36f78d,_0x21a847){return _0x36f78d(_0x21a847);},'QcfXQ':_0x370d69(0x15c),'zNaIN':_0x370d69(0x18b),'ZpECL':_0x370d69(0x17a)};try{const _0x203f75=_0x5b8009[_0x370d69(0x146)](require,_0x5b8009[_0x370d69(0x143)]);_0x203f75[_0x370d69(0x1bb)](_0x5838b6,_0x2fc5c7,_0x2ef81c);const _0x41dabf=JSON[_0x370d69(0xe5)](_0x5838b6)[_0x370d69(0x25f)](/"browserstack\.user":"[^"]*"/g,_0x5b8009[_0x370d69(0x27d)])[_0x370d69(0x25f)](/"browserstack\.key":"[^"]*"/g,_0x5b8009['ZpECL']);logger[_0x370d69(0x13d)](_0x370d69(0x136)+global['accessibilityPlatform']+'\x20'+_0x41dabf);}catch(_0x1b04ea){logger[_0x370d69(0x18e)](_0x370d69(0x269)+(_0x1b04ea[_0x370d69(0x21d)]||_0x1b04ea[_0x370d69(0x283)]));}}async[a80_0x5586ec(0x22e)](_0x10bf4b){const _0x5d547d=a80_0x5586ec,_0x39b567={};_0x39b567[_0x5d547d(0x19f)]=_0x5d547d(0x235),_0x39b567['hSCzq']=_0x5d547d(0x1ee);const _0x5cdb52=_0x39b567;try{if(!this[_0x5d547d(0x1b7)]())return logger[_0x5d547d(0x153)](_0x5cdb52[_0x5d547d(0x19f)]),[];const _0x212e3a=await this[_0x5d547d(0x16b)](_0x10bf4b,_0x5cdb52[_0x5d547d(0x131)]);return _0x212e3a||[];}catch(_0x16ee83){return logger[_0x5d547d(0x18e)]('Error\x20in\x20getAccessibilityResults:\x20'+(_0x16ee83[_0x5d547d(0x21d)]||_0x16ee83[_0x5d547d(0x283)])),[];}}async[a80_0x5586ec(0x189)](_0x164fc8){const _0x2cd299=a80_0x5586ec,_0xe08fbd={'GupIz':_0x2cd299(0x13c),'nfAOY':'getResultsSummary','ggcUt':'Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','rNMeB':function(_0x2ba514,_0x4cdf33){return _0x2ba514(_0x4cdf33);},'rfxQe':_0x2cd299(0x1b0),'TjVju':function(_0x5a5784,_0xf7a5b8){return _0x5a5784===_0xf7a5b8;},'GZXUs':_0x2cd299(0x176),'wqVQN':'getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','PUgLa':'accessibility','GJwhi':_0x2cd299(0x12e),'DFStU':_0x2cd299(0x189),'TXNhO':'test_run_id','ygAwD':_0x2cd299(0x190),'GxOqo':'No\x20summaryResults\x20found.'};try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x2cd299(0x153)](_0xe08fbd[_0x2cd299(0x215)]),{};const _0x461adf=_0xe08fbd['rNMeB'](require,_0xe08fbd['rfxQe']),_0x4fef51=_0x461adf[_0x2cd299(0x281)](),_0x29c34a=_0xe08fbd['TjVju'](_0x4fef51?.[_0x2cd299(0x1ab)]?.[_0x2cd299(0x271)](),_0xe08fbd[_0x2cd299(0x1f0)]);let _0x3fdf4d='',_0x9137f4=null,_0x165444=null;if(_0x29c34a){_0x9137f4=global[_0x2cd299(0x1cf)]||global[_0x2cd299(0x16a)]?.['currentTest']?.[_0x2cd299(0x1fd)]||global[_0x2cd299(0x16a)]?.[_0x2cd299(0x22d)]?.['id'];if(!_0x9137f4)return logger['warn'](_0xe08fbd[_0x2cd299(0x26b)]),{};try{const _0x52c6fe=await GrpcClient[_0x2cd299(0x26a)]()[_0x2cd299(0x13a)](process['env'][_0x2cd299(0xf7)],_0xe08fbd[_0x2cd299(0x18c)],_0xe08fbd[_0x2cd299(0x19a)],_0x9137f4),_0x41c9d5=AccessibilityModule[_0x2cd299(0x18f)](null,_0x52c6fe);_0x3fdf4d=_0x41c9d5?.[_0x2cd299(0x1e0)]||'',logger[_0x2cd299(0x13d)](_0x2cd299(0x226)+_0x3fdf4d+_0x2cd299(0xee)+_0x9137f4);const _0x30cbab=await AccessibilityModule[_0x2cd299(0x132)](_0xe08fbd[_0x2cd299(0x19a)],_0x3fdf4d,_0x9137f4),_0x1c39ff=this['getCapabilityValue'](_0xe08fbd[_0x2cd299(0x145)])||this[_0x2cd299(0x1d7)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x5c214e=process['env'][_0x2cd299(0x179)]||'',_0x2e04f5=this[_0x2cd299(0x185)](_0xe08fbd[_0x2cd299(0x1c0)],_0x3fdf4d,_0x1c39ff,_0x5c214e);_0x165444=_0x461adf[_0x2cd299(0x17c)](_0x2e04f5,_0x30cbab),logger['debug'](_0x2cd299(0x1bd)+JSON[_0x2cd299(0xe5)](_0x165444));}catch(_0x4ef9d3){return logger[_0x2cd299(0x18e)](_0x2cd299(0x12c)+_0x4ef9d3['message']),{};}}else{_0x3fdf4d=this[_0x2cd299(0x1a0)](_0xe08fbd[_0x2cd299(0x1e8)])||'';const _0x3a19a9=this['getCapabilityValue'](_0xe08fbd[_0x2cd299(0x145)])||this[_0x2cd299(0x1d7)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x59af85=process[_0x2cd299(0x23f)]['BROWSERSTACK_TESTHUB_JWT']||'';_0x165444=this[_0x2cd299(0x185)](_0xe08fbd[_0x2cd299(0x1c0)],_0x3fdf4d,_0x3a19a9,_0x59af85);}logger[_0x2cd299(0x13d)](_0xe08fbd['ygAwD']),await PerformanceTester[_0x2cd299(0x142)](PerformanceA11yEvents[_0x2cd299(0x19d)],async()=>{const _0x573807=_0x2cd299,_0x463eea=await this['executeScriptByName'](_0x164fc8,_0xe08fbd[_0x573807(0x207)],_0x165444);logger[_0x573807(0x13d)]('Scan\x20result:\x20'+util[_0x573807(0x1d3)](_0x463eea));},{'command':_0xe08fbd[_0x2cd299(0x1c0)]})();const _0x162b5d=await PerformanceTester[_0x2cd299(0x142)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x5d1cf4=_0x2cd299;return await this[_0x5d1cf4(0x16b)](_0x164fc8,_0xe08fbd[_0x5d1cf4(0x19a)],_0x165444);})();if(!_0x162b5d)return logger['debug'](_0xe08fbd['GxOqo']),{};return _0x162b5d;}catch(_0x1c235d){return logger['error'](_0x2cd299(0x1ef)+(_0x1c235d[_0x2cd299(0x21d)]||_0x1c235d[_0x2cd299(0x283)])),{};}}async['performPageScan'](_0x4528ad,_0x20cb9c,_0x3a7dd1=null){const _0x2bd19b=a80_0x5586ec,_0x2e9282={};_0x2e9282[_0x2bd19b(0x152)]='performPageScan:\x20Page\x20is\x20null',_0x2e9282[_0x2bd19b(0x178)]='performPageScan:\x20Script\x20is\x20null',_0x2e9282[_0x2bd19b(0x297)]=_0x2bd19b(0xfe);const _0x4539a9=_0x2e9282;try{if(!_0x4528ad)return logger[_0x2bd19b(0x13d)](_0x4539a9['HiHrp']),null;if(!_0x20cb9c)return logger[_0x2bd19b(0x13d)](_0x4539a9[_0x2bd19b(0x178)]),null;logger[_0x2bd19b(0x13d)](_0x4539a9[_0x2bd19b(0x297)]);const _0x3108a9=_0x3a7dd1?await _0x4528ad[_0x2bd19b(0x19c)](_0x20cb9c,_0x3a7dd1):await _0x4528ad['evaluate'](_0x20cb9c);return _0x3108a9;}catch(_0x355262){return logger[_0x2bd19b(0x18e)]('Error\x20in\x20performPageScan:\x20'+(_0x355262[_0x2bd19b(0x21d)]||_0x355262[_0x2bd19b(0x283)])),null;}}static[a80_0x5586ec(0x18f)](_0xe353c3,_0x1b0cca){const _0x29302b=a80_0x5586ec,_0x4b5dcb={};_0x4b5dcb[_0x29302b(0x1aa)]=_0x29302b(0x1f7);const _0x1b2218=_0x4b5dcb,_0x2ad266={};_0x2ad266[_0x29302b(0x1e0)]=_0xe353c3;const _0x4ac7c8=_0x2ad266;let _0x14ff08={};if(_0x1b0cca[_0x29302b(0x16c)]()&&_0x1b0cca[_0x29302b(0x14d)]())try{_0x14ff08=JSON[_0x29302b(0x193)](new Buffer(_0x1b0cca[_0x29302b(0x1fb)]())['toString'](_0x1b2218[_0x29302b(0x1aa)]));}catch(_0x4175cb){logger[_0x29302b(0x18e)](_0x29302b(0x113)+_0x4175cb['message']),_0x14ff08={};}return CLIUtils['mergeObject'](_0x4ac7c8,_0x14ff08);}static async['fetchCentralAuthA11yConfig'](_0x541cf2,_0x251929='',_0x464b97=null){const _0x4cb5c1=a80_0x5586ec,_0x11cc87={};_0x11cc87['mgSTJ']=_0x4cb5c1(0x107),_0x11cc87[_0x4cb5c1(0x180)]=_0x4cb5c1(0x26f);const _0x5e349d=_0x11cc87;try{if(!_0x464b97&&AccessibilityModule[_0x4cb5c1(0xe4)])return AccessibilityModule[_0x4cb5c1(0x1e3)];if(!process[_0x4cb5c1(0x23f)][_0x4cb5c1(0xf7)])return logger['error'](_0x5e349d[_0x4cb5c1(0x1bc)]),{};const _0x469650=await GrpcClient[_0x4cb5c1(0x26a)]()[_0x4cb5c1(0x13a)](process[_0x4cb5c1(0x23f)][_0x4cb5c1(0xf7)],_0x5e349d[_0x4cb5c1(0x180)],_0x541cf2,_0x464b97),_0x250a4c=_0x464b97?AccessibilityModule[_0x4cb5c1(0x18f)](null,_0x469650)?.[_0x4cb5c1(0x1e0)]||_0x251929:_0x251929,_0x4ad897=AccessibilityModule['loadDriverExecuteParams'](_0x250a4c,_0x469650);return!_0x464b97&&(AccessibilityModule[_0x4cb5c1(0x1e3)]=_0x4ad897,AccessibilityModule[_0x4cb5c1(0xe4)]=!![]),_0x4ad897;}catch(_0x3f0cb3){return logger[_0x4cb5c1(0x18e)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x541cf2+':\x20'+(_0x3f0cb3[_0x4cb5c1(0x21d)]||_0x3f0cb3['message'])),{};}}};module[a80_0x5586ec(0x101)]=AccessibilityModule;
1
+ const a80_0x20bb78=a80_0x4042;(function(_0x16b477,_0x181bc9){const _0x1c5c05=a80_0x4042,_0x20e9c0=_0x16b477();while(!![]){try{const _0xf0e593=-parseInt(_0x1c5c05(0x130))/0x1+-parseInt(_0x1c5c05(0x1ac))/0x2*(parseInt(_0x1c5c05(0x1dd))/0x3)+-parseInt(_0x1c5c05(0x105))/0x4+parseInt(_0x1c5c05(0x2a2))/0x5+parseInt(_0x1c5c05(0x25b))/0x6+parseInt(_0x1c5c05(0x1d0))/0x7+parseInt(_0x1c5c05(0x13c))/0x8*(parseInt(_0x1c5c05(0x22e))/0x9);if(_0xf0e593===_0x181bc9)break;else _0x20e9c0['push'](_0x20e9c0['shift']());}catch(_0x1992f5){_0x20e9c0['push'](_0x20e9c0['shift']());}}}(a80_0x41f3,0x537e0));function a80_0x4042(_0x15e887,_0x585fa9){const _0x41f3ee=a80_0x41f3();return a80_0x4042=function(_0x404223,_0x2b421d){_0x404223=_0x404223-0xe3;let _0x1a131e=_0x41f3ee[_0x404223];return _0x1a131e;},a80_0x4042(_0x15e887,_0x585fa9);}function a80_0x41f3(){const _0x243ea9=['isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','afterTestHook','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','getScriptByName','debug','error','CREATE','\x22browserstack.user\x22:\x22[REDACTED]\x22','currentTest','Error\x20in\x20performPageScan:\x20','getGoogleChromeOptions','Executing\x20accessibility\x20script\x20on\x20page','1239150DGvojx','present','tudKA','mxFoG','ZHdXd','shouldScanForCommand','XuiFq','format','VesLp','performPageScan:\x20Script\x20is\x20null','PERFORM_SCAN','includeTagsInTestingScope','executeScriptByName:\x20No\x20','Error\x20applying\x20sendMessageToServer\x20patch:\x20','lQzjp','measureWrapper','updateData','stopTestCapture','Error\x20in\x20initAccessibilityConfig:\x20','../framework/testFramework','util','qsutE','iWnFK','../../playwright/accessibility-helper','stack','ojmkf','getBuildId','toLowerCase','HRuWo',']\x20clear\x20','CgItP','TEST_INIT','commandsToWrap','RpYYf','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','onBeforeExecute','yUDCv','getAccessibilityResults','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','WDtXY','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','\x22browserstack.key\x22:\x22[REDACTED]\x22','replace','getAccessibilityResultsSummary','cucumber','__accessibilityOptions','browserstack.accessibilityOptions.scannerVersion','applySendMessageToServerPatch','exports','GFQfy','MwoYO','performPageScan','onBeforeExecute:\x20No\x20command\x20name\x20provided','jiiYy','Error\x20getting\x20capability\x20value\x20for\x20','isEnabled','uEJcq','WjVnN','null','GjOMQ','getCapabilitiesList','map','platformCaps','commandName','UFDZZ','toJson','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','XYhtV','testFramework','BbUZM','cRJvL','388150pBLcXO','fWTPr','performScanForCli','getAccessibility','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework',',\x20testName=','lBcla','bLMgt','pSZcM','onBeforeExecute:\x20Command\x20','Page\x20','getTestFrameworkDetail','mergeObject','getScript','PRE','setShouldScanCurrentTest','isArray','DRIVER_INIT','UwQGQ','BQlpF','ZGSkm','idUuG','accessibility','YhJQQ','registerObserver','get','kfMZE','onBeforeTest','Itgsu','XCEXs','GsjMP','DXucH','Zmowo','delete','pwPage','gyoYB','capabilitiesList','getTesthub','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','zgkvx','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','getScriptsList','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','yQICx','xqMHs','xanlf','HUjDx','Accessibility\x20data\x20for\x20extension:\x20','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','qMEvy','TrLfq','YPBJi','__jestCurrentTestIdentifier','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','2285776eGgFnq','loadAccessibilityConfig','getContext','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../../helpers/accessibility-automation/scripts','isPlatformSupported:\x20caps\x20are\x20null','latest','10|1|9|13|15|8|2|14|11|12|7|4|3|5|6|0','NwzBg','browserVersion','set','Error\x20executing\x20script\x20','QpQSv','BfZSv','Executing\x20','XcyHX','miyOZ','../framework/automationFramework','CYpPI','browserStackEvaluate','PrhSt','LOG_DISABLED_SHOWN','getTestUUID','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','setAccessibilityConfig','name:\x20','KUlZg','getTestDetails','YalpC','has','wcjNC','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','stringify','kHLZR','testFrameworkData','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','find','parse',',\x20framework=','VdjAU','Error\x20in\x20shouldScanForCommand:\x20','iHdmo','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','517694iIlEEw','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','kauiN','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','browserstack.accessibilityOptions.authToken','pfaOi','UMLFI','Error\x20checking\x20headless\x20capability:\x20','MVkNu','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getCurrentInstanceName','Performing\x20scan\x20before\x20from\x20cli','2610072BnRhnl','jest','unknown','_centralAuthConfigFetched','scriptsList','fDlAO','FSZvP','processAccessibilityCaps','getParamsForScanForCli','Processed\x20accessibility\x20caps\x20','testInfo','fetchCentralAuthA11yConfig','accessibilityToken','Fzgjx','roLsW','\x20a11yToken=','AUTOMATION_SESSIONS','headless','getName','end','cuOmF','eSfhf','../../../helpers/accessibility-automation/helper','NfvHk','eAqqh','wcagVersion','DbyiB','weOjk','FRgqI','../../../helpers/performance/performance-tester.js',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','yiGpN','join','OtAxE',',\x20isAppAccessibility=','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','split','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','wvXNe','NWwwX',',\x20available\x20commands:\x20','length','zlsbQ','page','saveTestResults','SDK_ACCESSIBILITY_CONFIG','commandsList','test-tags-->\x20','KEY_INIT','test_tags','playwright-chromium','browserstack.accessibilityOptions.scannerProcessingTimeout','isAppAccessibility','saveResults','gaacO','isEnabledTestcase','getAllData','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','ztfno','getOptions','\x20testHubUuid=','BYaNZ','__workerDetails','getModuleName','JhSxM','MergedScanArgs:\x20','BgbDu','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','UMrOu','nRUML','FtafH','getCapabilityValue','accessibilityPlatform','KzUGK','iqisn','browserName','tBqKr','SAVE_RESULTS','ldFuu','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','Exception\x20in\x20isPlatformSupported:\x20','LNTVT','BbZwJ','sosKi','qnTTK','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','XpfTb','isAccessibilityScriptCommand','Unknown\x20Test','../cliUtils','shouldScanForCommand:\x20','nMksx','name','KEY_TESTHUB_BUILD_ID','hzmOy','../../../helpers/helper','thTestRunUuid','vaxYv','TrackedInstance','\x20accessibility\x20script\x20on\x20page','nZRmm','Error\x20in\x20getAccessibilityResultsSummary:\x20','getInstance','getState','getSuccess','Wljrz','getValue','EOnZy','OWHeV','patchSendMessageToServer','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','lIkJT','124MHXcMn','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','performScan','GPuiN','vAemX','rdMjh','getTrackedInstance','xipmk','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','ljEnS',']\x20isEnabledTestcase\x20(cucumber)\x20result=','aPSLX','sYSBZ','\x20script\x20available\x20in\x20scriptsList','warn','Context','KEY_DRIVER_HAS_URL','No\x20summaryResults\x20found.','kWhKM','wesNd','browserstack.accessibilityOptions.wcagVersion','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','some','XVEKd','function','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','toISOString','./baseModule','VnvOn','scan','IHXdF','toObject','jQGqC','HYqbG','BS_A11Y_JWT','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','4340756sKRloW','accessibilityConfig',',\x20\x0a\x20','Error\x20in\x20performScanForCli\x20for\x20script\x20','start','info','CDtOp','\x20result\x20for\x20','getPlatformIndex','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','evaluate','FGmMX','fIFSy','21867gkOsiM','initAccessibilityConfig','DRIVER_HAS_URL','testAnalyticsId','validatePlatformForAccessibility','QRuCs','NztTh','escif','_sendMessageServerPatchApplied','oHJCy','\x20from\x20testIdentifier=','onBeforeTest:\x20event=','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','nqNtO','../../../helpers/accessibility-automation/constants','KEY_TEST_NAME','ReklZ','MHiDE','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','iKGSa','\x20using\x20script:\x20','ZCxEU','ndzJc','lRTzR','getLogDisabledShown','inhcp','onAfterTest','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','scannerVersion',',\x20tags=','titlePath','Error\x20in\x20processAccessibilityCaps:\x20','RkZrl','\x20value=','excludeTagsInTestingScope','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','ZtDNo','EXECUTE','fetchDriverExecuteParamsEvent','browser','jUfTq','env','_centralAuthA11yConfig','IdGRY',']\x20isEnabledTestcase\x20(jest)\x20result=','NON_BROWSERSTACK_AUTOMATION_SESSIONS','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','HuZHg','DmBYB','OIEII','getData','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','finishScanningForCli','message','LKRDD','EHXYV','yXxAv','RJWzF','getCurrentAccessibilityStatus','test_run_id','gHocx','hasAccessibilityExecuteParams','PDheq','size','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','getCommandsList','isPlatformSupported','BROWSERSTACK_CLI_BIN_SESSION_ID','scannerProcessingTimeout','getCommandsToWrap','setLogDisabledShown','fpquw','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','string','browserstack_executor','XIvRB','XqtAv','GET_RESULTS_SUMMARY','loadDriverExecuteParams','aNBFb','lDXdq','27tUKMjy','trUAO','bind','../../../helpers/classLogger','IvNJG','wyOxQ','platformValidation','qbqxg','qFkPg','KadfO','Tlpmd','../grpcClient','value','setAccessibilityToken','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','getTestId',',\x20excludeTags=','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','[platform\x20-\x20','ZRRZD','performPageScan:\x20Page\x20is\x20null','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','true','includes','options','command','testhub_build_uuid','../state/automationFrameworkState','tnDvv','getResultsSummary','Error\x20in\x20stopTestCapture:\x20','executeScriptByName'];a80_0x41f3=function(){return _0x243ea9;};return a80_0x41f3();}const BaseModule=require(a80_0x20bb78(0x1c7)),{createClassLogger}=require(a80_0x20bb78(0x231)),CLIUtils=require(a80_0x20bb78(0x195)),AutomationFramework=require(a80_0x20bb78(0x116)),TestFramework=require(a80_0x20bb78(0x26e)),AutomationFrameworkState=require(a80_0x20bb78(0x249)),HookState=require('../state/hookState'),GrpcClient=require(a80_0x20bb78(0x239)),scripts=require(a80_0x20bb78(0x109)),logger=createClassLogger(a80_0x20bb78(0x19e)),PerformanceTester=require(a80_0x20bb78(0x159)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x20bb78(0x1eb)),{nestedKeyValue,isUndefined}=require(a80_0x20bb78(0x19b)),util=require(a80_0x20bb78(0x26f)),TestInfo=require('../TestInfo.js'),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js');class AccessibilityModule extends BaseModule{static ['MODULE_NAME']=AccessibilityModule[a80_0x20bb78(0x198)];static ['_centralAuthConfigFetched']=![];static [a80_0x20bb78(0x207)]={};constructor(_0x2cc7bb){const _0x21fb5e=a80_0x20bb78,_0x2de839={};_0x2de839[_0x21fb5e(0x138)]=_0x21fb5e(0x10c),_0x2de839[_0x21fb5e(0x22f)]=_0x21fb5e(0x248),_0x2de839[_0x21fb5e(0x27f)]=_0x21fb5e(0x1e9),_0x2de839['oHJCy']='ACCESSIBILITY_INITIALIZED',_0x2de839[_0x21fb5e(0x282)]=_0x21fb5e(0x1df);const _0x45f45d=_0x2de839,_0x21f655=_0x45f45d[_0x21fb5e(0x138)][_0x21fb5e(0x160)]('|');let _0x3d801d=0x0;while(!![]){switch(_0x21f655[_0x3d801d++]){case'0':this[_0x21fb5e(0x199)]=_0x45f45d[_0x21fb5e(0x22f)];continue;case'1':AutomationFramework[_0x21fb5e(0xe7)](AutomationFrameworkState[_0x21fb5e(0x202)],HookState[_0x21fb5e(0x2b0)],this['onBeforeExecute'][_0x21fb5e(0x230)](this));continue;case'2':this[_0x21fb5e(0xe5)]=new Map();continue;case'3':logger[_0x21fb5e(0x253)](_0x45f45d['yUDCv']);continue;case'4':this[_0x21fb5e(0x23b)](_0x2cc7bb[_0x21fb5e(0x177)]()[_0x21fb5e(0x297)]());continue;case'5':this['KEY_INIT']=_0x45f45d[_0x21fb5e(0x1e6)];continue;case'6':this[_0x21fb5e(0x1bc)]=_0x45f45d[_0x21fb5e(0x282)];continue;case'7':this['_sendMessageServerPatchApplied']=![];continue;case'8':this[_0x21fb5e(0x1d1)]=_0x2cc7bb[_0x21fb5e(0x1cb)]();continue;case'9':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x21fb5e(0x255)],HookState['POST'],this[_0x21fb5e(0xea)]['bind'](this));continue;case'10':super();continue;case'11':this[_0x21fb5e(0x170)]=![];continue;case'12':this['capabilities']=[];continue;case'13':AutomationFramework[_0x21fb5e(0xe7)](AutomationFrameworkState['QUIT'],HookState[_0x21fb5e(0x2b0)],this['onAfterTest'][_0x21fb5e(0x230)](this));continue;case'14':this[_0x21fb5e(0x11a)]=new Map();continue;case'15':this[_0x21fb5e(0x292)]=!![];continue;}break;}}[a80_0x20bb78(0x292)](){return this['isEnabled'];}[a80_0x20bb78(0x17b)](){return AccessibilityModule['MODULE_NAME'];}[a80_0x20bb78(0x217)](){const _0x2de55a=a80_0x20bb78;return this[_0x2de55a(0xe5)][_0x2de55a(0xe8)](CLIUtils['getCurrentInstanceName'](),![]);}[a80_0x20bb78(0x1f5)](){const _0x4fddac=a80_0x20bb78;return this['LOG_DISABLED_SHOWN']['get'](CLIUtils[_0x4fddac(0x13a)](),![]);}[a80_0x20bb78(0x223)](_0x4aa98a){this['LOG_DISABLED_SHOWN']['set'](CLIUtils['getCurrentInstanceName'](),_0x4aa98a);}[a80_0x20bb78(0x28a)](){const _0x283a71=a80_0x20bb78,_0x43b45e={'CDtOp':_0x283a71(0x11c),'xanlf':function(_0x2233e7,_0x35db09){return _0x2233e7(_0x35db09);},'lQzjp':'../../utils/playwright-patcher','HRuWo':_0x283a71(0x124),'wesNd':_0x283a71(0x1d9)};if(this[_0x283a71(0x1e5)]){logger[_0x283a71(0x253)](_0x43b45e[_0x283a71(0x1d6)]);return;}try{const _0x3dd1c4=_0x43b45e[_0x283a71(0xfc)](require,_0x43b45e[_0x283a71(0x269)]);_0x3dd1c4&&_0x3dd1c4[_0x283a71(0x1a9)]?(_0x3dd1c4[_0x283a71(0x1a9)](),this[_0x283a71(0x1e5)]=!![],logger[_0x283a71(0x253)](_0x43b45e[_0x283a71(0x277)])):logger[_0x283a71(0x253)](_0x43b45e[_0x283a71(0x1bf)]);}catch(_0x5bf5e5){logger[_0x283a71(0x253)](_0x283a71(0x268)+util[_0x283a71(0x262)](_0x5bf5e5));}}[a80_0x20bb78(0x21f)](_0x32045a=null,_0xf33494=null,_0x5d26d6=null){const _0x2e96d7=a80_0x20bb78,_0x1b3772={'qnTTK':function(_0x564244,_0x518a90){return _0x564244&&_0x518a90;},'wcjNC':_0x2e96d7(0x10a),'STQRs':function(_0x1972fd,_0x4c679a){return _0x1972fd(_0x4c679a);},'RJWzF':_0x2e96d7(0x152),'YhJQQ':function(_0x3534ed,_0x59695d){return _0x3534ed(_0x59695d);},'VpMcB':_0x2e96d7(0x19b),'KUlZg':function(_0x3755c2){return _0x3755c2();},'rdMjh':_0x2e96d7(0xf7),'DmBYB':function(_0x21e9fb,_0x2e6d8f){return _0x21e9fb===_0x2e6d8f;},'Tlpmd':'chrome','UMrOu':_0x2e96d7(0x16e),'XIvRB':_0x2e96d7(0x175),'lRTzR':function(_0x3760ae,_0x19ba62){return _0x3760ae===_0x19ba62;},'xipmk':_0x2e96d7(0x244),'zgkvx':function(_0x5c533b,_0x4c9c01){return _0x5c533b===_0x4c9c01;},'diEaY':_0x2e96d7(0x226),'aPSLX':_0x2e96d7(0x24e),'qsutE':function(_0x2d0ab5,_0x5daba9){return _0x2d0ab5>_0x5daba9;},'XqtAv':function(_0x408423,_0x1f06a3){return _0x408423(_0x1f06a3);},'vAemX':function(_0x1ab549,_0x15012d){return _0x1ab549(_0x15012d);},'VesLp':_0x2e96d7(0x1b4),'XuiFq':function(_0x1fb3d0,_0xdd96c4){return _0x1fb3d0!==_0xdd96c4;},'PDheq':_0x2e96d7(0x10b),'pfaOi':function(_0x126b76,_0x355b90){return _0x126b76(_0x355b90);},'fDlAO':_0x2e96d7(0xf9)};try{if(_0x1b3772[_0x2e96d7(0x190)](!_0xf33494,!_0x5d26d6))return logger[_0x2e96d7(0x253)](_0x1b3772[_0x2e96d7(0x123)]),![];const {isAccessibilityAutomationSession:_0x3f9523}=_0x1b3772['STQRs'](require,_0x1b3772[_0x2e96d7(0x216)]),{isUndefined:_0xc88911,isBrowserstackInfra:_0x13cf10}=_0x1b3772[_0x2e96d7(0xe6)](require,_0x1b3772['VpMcB']);if(!_0x1b3772[_0x2e96d7(0x11f)](_0x3f9523))return logger['debug'](_0x1b3772[_0x2e96d7(0x1b1)]),![];if(!(_0xf33494[_0x2e96d7(0x187)]&&_0x1b3772[_0x2e96d7(0x20d)](_0xf33494[_0x2e96d7(0x187)][_0x2e96d7(0x276)](),_0x1b3772[_0x2e96d7(0x238)])||_0xf33494['browserName']&&_0x1b3772['DmBYB'](_0xf33494[_0x2e96d7(0x187)]['toLowerCase'](),_0x1b3772['UMrOu'])||_0xf33494[_0x2e96d7(0x204)]&&_0x1b3772[_0x2e96d7(0x20d)](_0xf33494[_0x2e96d7(0x204)][_0x2e96d7(0x276)](),_0x1b3772[_0x2e96d7(0x238)])||_0xf33494[_0x2e96d7(0x204)]&&_0x1b3772[_0x2e96d7(0x20d)](_0xf33494[_0x2e96d7(0x204)]['toLowerCase'](),_0x1b3772[_0x2e96d7(0x180)])))return logger['warn'](_0x1b3772[_0x2e96d7(0x228)]),![];try{const _0x3ec767=_0xf33494[_0x2e96d7(0x14d)],_0x4e2647=_0x1b3772[_0x2e96d7(0x20d)](_0x3ec767,!![])||_0x1b3772[_0x2e96d7(0x1f4)](_0x3ec767,_0x1b3772[_0x2e96d7(0x1b3)])||_0x1b3772[_0x2e96d7(0xf6)](typeof _0x3ec767,_0x1b3772['diEaY'])&&_0x1b3772[_0x2e96d7(0x20d)](_0x3ec767['toLowerCase'](),_0x1b3772[_0x2e96d7(0x1b3)]);if(_0x4e2647)return logger[_0x2e96d7(0x1ba)](_0x1b3772[_0x2e96d7(0x1b7)]),![];}catch(_0x2e00b7){logger[_0x2e96d7(0x253)](_0x2e96d7(0x137)+util[_0x2e96d7(0x262)](_0x2e00b7));}if(!_0x1b3772[_0x2e96d7(0x11f)](_0x13cf10)){if(!_0x1b3772['qsutE'](_0x1b3772[_0x2e96d7(0x229)](parseFloat,_0xf33494['browserVersion']),_0x1b3772[_0x2e96d7(0x1b0)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x2e96d7(0x1ba)](_0x1b3772[_0x2e96d7(0x263)]),![];}else{if(_0x1b3772[_0x2e96d7(0x261)](_0xf33494[_0x2e96d7(0x10e)],_0x1b3772[_0x2e96d7(0x21b)])&&!_0x1b3772[_0x2e96d7(0x270)](_0x1b3772[_0x2e96d7(0x135)](parseFloat,_0xf33494[_0x2e96d7(0x10e)]),_0x1b3772[_0x2e96d7(0x1b0)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x2e96d7(0x1ba)](_0x1b3772[_0x2e96d7(0x141)]),![];}return!![];}catch(_0x4e6530){return logger[_0x2e96d7(0x253)](_0x2e96d7(0x18c)+_0x4e6530[_0x2e96d7(0x212)]),![];}}[a80_0x20bb78(0x173)](_0x1ad61f=[],_0x359453,_0x3a751c='cucumber'){const _0x326f92=a80_0x20bb78,_0x420000={'jUfTq':function(_0x261ece,_0x4f6680){return _0x261ece===_0x4f6680;},'iHdmo':'jest','XHiKf':function(_0x31cea7,_0x4be773){return _0x31cea7||_0x4be773;},'IvNJG':function(_0x4dc0a2,_0x48992e){return _0x4dc0a2&&_0x48992e;},'qMEvy':_0x326f92(0x13e),'cRJvL':function(_0x43c1ca,_0x337783){return _0x43c1ca(_0x337783);},'BbUZM':function(_0x191323,_0x1dcf68){return _0x191323>_0x1dcf68;},'kWhKM':function(_0x2ec834,_0x4db186){return _0x2ec834&&_0x4db186;}};try{const _0x3a9ffe=process[_0x326f92(0x206)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']?JSON[_0x326f92(0x12a)](process[_0x326f92(0x206)][_0x326f92(0x139)]):null;if(!_0x3a9ffe)return!![];const _0x1accc4=Array['isArray'](_0x3a9ffe[_0x326f92(0x266)])?_0x3a9ffe[_0x326f92(0x266)]:[],_0x42dcf4=Array[_0x326f92(0x2b2)](_0x3a9ffe[_0x326f92(0x1ff)])?_0x3a9ffe[_0x326f92(0x1ff)]:[];if(_0x420000['jUfTq'](_0x3a751c,_0x420000[_0x326f92(0x12e)])){let _0x4ef03a;Array[_0x326f92(0x2b2)](_0x1ad61f)?_0x4ef03a=_0x1ad61f[_0x326f92(0x15c)]('\x20'):_0x4ef03a=_0x420000['XHiKf'](_0x1ad61f,'');const _0x382ec3=_0x42dcf4['some'](_0x140439=>_0x4ef03a['includes'](_0x140439)),_0x397172=_0x420000[_0x326f92(0x205)](_0x1accc4[_0x326f92(0x165)],0x0)||_0x1accc4[_0x326f92(0x1c2)](_0x392330=>_0x4ef03a['includes'](_0x392330)),_0xe064d=_0x420000[_0x326f92(0x232)](!_0x382ec3,_0x397172);return logger[_0x326f92(0x253)](_0x326f92(0x240)+(_0x359453?.[_0x326f92(0x1d8)]?.()||_0x420000[_0x326f92(0x100)])+_0x326f92(0x209)+_0xe064d+_0x326f92(0x2a7)+_0x4ef03a+',\x20includeTags='+JSON['stringify'](_0x1accc4)+_0x326f92(0x23e)+JSON['stringify'](_0x42dcf4)),_0xe064d;}const _0x6028e8=Array[_0x326f92(0x2b2)](_0x1ad61f)?_0x1ad61f:[];let _0x362c5e=![],_0x5aa355=_0x420000['jUfTq'](_0x1accc4[_0x326f92(0x165)],0x0);const _0x37c826=_0x5eef7c=>typeof _0x5eef7c===_0x326f92(0x226)?_0x5eef7c['replace'](/^@/,'')[_0x326f92(0x276)]()['trim']():_0x5eef7c,_0x4d4121=new Set(_0x1accc4[_0x326f92(0x298)](_0x37c826)),_0x7b2342=new Set(_0x42dcf4['map'](_0x37c826));for(const _0x57418f of _0x6028e8){const _0x50ec95=_0x420000[_0x326f92(0x2a1)](_0x37c826,_0x57418f);_0x7b2342[_0x326f92(0x122)](_0x50ec95)&&(_0x362c5e=!![]),_0x420000[_0x326f92(0x2a0)](_0x4d4121[_0x326f92(0x21c)],0x0)&&_0x4d4121[_0x326f92(0x122)](_0x50ec95)&&(_0x5aa355=!![]);}const _0x3e9e1a=_0x420000[_0x326f92(0x1be)](_0x5aa355,!_0x362c5e);return logger[_0x326f92(0x253)](_0x326f92(0x240)+(_0x359453?.[_0x326f92(0x1d8)]?.()||_0x420000[_0x326f92(0x100)])+_0x326f92(0x1b6)+_0x3e9e1a+_0x326f92(0x1fa)+JSON[_0x326f92(0x125)](_0x6028e8)+',\x20includeTags='+JSON[_0x326f92(0x125)](_0x1accc4)+_0x326f92(0x23e)+JSON[_0x326f92(0x125)](_0x42dcf4)),_0x3e9e1a;}catch(_0x55a004){return logger['debug'](_0x326f92(0x240)+(_0x359453?.[_0x326f92(0x1d8)]?.()||_0x420000[_0x326f92(0x100)])+_0x326f92(0x15a)+_0x55a004['message']),![];}}async[a80_0x20bb78(0xea)](_0x25bb3a){const _0x296d25=a80_0x20bb78,_0x5a3767={};_0x5a3767[_0x296d25(0x19a)]=function(_0x1fc313,_0x31f86d){return _0x1fc313!==_0x31f86d;},_0x5a3767[_0x296d25(0x150)]=_0x296d25(0x287),_0x5a3767[_0x296d25(0x18e)]=function(_0x422c32,_0x331380){return _0x422c32!==_0x331380;},_0x5a3767['XYhtV']='jest',_0x5a3767[_0x296d25(0x151)]=_0x296d25(0x200),_0x5a3767[_0x296d25(0xfd)]=_0x296d25(0x27a),_0x5a3767[_0x296d25(0x293)]=_0x296d25(0x20b),_0x5a3767[_0x296d25(0x1f3)]=_0x296d25(0x128),_0x5a3767[_0x296d25(0x10d)]=_0x296d25(0x2b3),_0x5a3767['uXBEe']=function(_0x1a4bb4,_0x1ab8ca){return _0x1a4bb4===_0x1ab8ca;},_0x5a3767[_0x296d25(0x219)]=function(_0x510c4f,_0xba98d3){return _0x510c4f===_0xba98d3;},_0x5a3767[_0x296d25(0xe3)]=_0x296d25(0x131),_0x5a3767[_0x296d25(0x176)]=_0x296d25(0x194),_0x5a3767['CgItP']=function(_0x45387a,_0x63a944){return _0x45387a>_0x63a944;},_0x5a3767[_0x296d25(0x28c)]=function(_0x4d1d74,_0x381da7){return _0x4d1d74===_0x381da7;},_0x5a3767[_0x296d25(0x1f6)]='function',_0x5a3767[_0x296d25(0x14a)]=_0x296d25(0x16d),_0x5a3767[_0x296d25(0x186)]=function(_0x1edec9,_0x1b6f27){return _0x1edec9&&_0x1b6f27;},_0x5a3767[_0x296d25(0x237)]=_0x296d25(0x13e),_0x5a3767[_0x296d25(0x149)]=_0x296d25(0x244);const _0x368c80=_0x5a3767;if(_0x368c80['hzmOy'](_0x25bb3a['testFramework'],_0x368c80[_0x296d25(0x150)])&&_0x368c80[_0x296d25(0x18e)](_0x25bb3a[_0x296d25(0x29f)],_0x368c80[_0x296d25(0x29e)])){logger[_0x296d25(0x253)](_0x368c80[_0x296d25(0x151)]);return;}logger[_0x296d25(0x1d5)](_0x296d25(0x1e8)+JSON['stringify'](_0x25bb3a));try{const _0x289112=AutomationFramework[_0x296d25(0x1b2)](),_0x4f66b7=TestFramework[_0x296d25(0x1b2)](),_0x5b8332=_0x25bb3a[_0x296d25(0x167)]||global[_0x296d25(0x17a)]?.[_0x296d25(0xf1)]||null;if(!_0x5b8332){_0x4f66b7&&_0x4f66b7[_0x296d25(0x26b)](_0x368c80[_0x296d25(0xfd)],!![]);logger[_0x296d25(0x253)](_0x368c80[_0x296d25(0x293)]);return;}logger[_0x296d25(0x253)](_0x368c80[_0x296d25(0x1f3)]);const _0x2cf130=_0x4f66b7?.[_0x296d25(0x20f)](_0x368c80[_0x296d25(0x10d)],![]),_0x161bb8=_0x4f66b7?.[_0x296d25(0x20f)](_0x368c80['HUjDx'],![]);if(_0x368c80['uXBEe'](_0x2cf130,![])&&_0x368c80[_0x296d25(0x219)](_0x161bb8,![])){_0x4f66b7&&_0x4f66b7[_0x296d25(0x26b)](_0x368c80['NwzBg'],!![]);logger[_0x296d25(0x253)](_0x368c80[_0x296d25(0xe3)]);return;}_0x4f66b7&&_0x4f66b7[_0x296d25(0x26b)](_0x368c80[_0x296d25(0xfd)],!![]);let _0x31f2a,_0x2eabc4;const _0x33e0eb=_0x25bb3a[_0x296d25(0x29f)]||_0x368c80[_0x296d25(0x150)];if(_0x368c80['gHocx'](_0x33e0eb,_0x368c80[_0x296d25(0x29e)])){_0x2eabc4=_0x25bb3a[_0x296d25(0x146)]?.[_0x296d25(0x1e0)]||_0x25bb3a['testInfo']?.['id']||global[_0x296d25(0x103)]||global[_0x296d25(0x17a)]?.[_0x296d25(0x257)]?.['testAnalyticsId']||global['__workerDetails']?.[_0x296d25(0x257)]?.['id'];const _0x409048=_0x4f66b7?.[_0x296d25(0x174)]()?.[_0x296d25(0xe8)](_0x2eabc4);if(_0x409048&&_0x409048[TestFrameworkConstants[_0x296d25(0x1ec)]])_0x31f2a=_0x409048[TestFrameworkConstants[_0x296d25(0x1ec)]];else{if(_0x25bb3a['testInfo']?.['titlePath'])_0x31f2a=_0x25bb3a[_0x296d25(0x146)][_0x296d25(0x1fb)];else global[_0x296d25(0x17a)]?.[_0x296d25(0x257)]?.[_0x296d25(0x146)]?.[_0x296d25(0x1fb)]?_0x31f2a=global[_0x296d25(0x17a)][_0x296d25(0x257)][_0x296d25(0x146)]['titlePath']:_0x31f2a=_0x368c80['ztfno'];}logger[_0x296d25(0x253)](_0x296d25(0x12f)+_0x2eabc4+_0x296d25(0x2a7)+JSON[_0x296d25(0x125)](_0x31f2a));}else{_0x2eabc4=this['getTestId'](_0x25bb3a);const _0x584939=TestInfo[_0x296d25(0x120)](_0x2eabc4);let _0xa60b58=[];if(_0x584939&&Array[_0x296d25(0x2b2)](_0x584939['test_tags'])&&_0x368c80[_0x296d25(0x279)](_0x584939[_0x296d25(0x16d)][_0x296d25(0x165)],0x0))_0xa60b58=_0x584939['test_tags'];else{if(_0x4f66b7){const _0x3bdfc0=_0x368c80[_0x296d25(0x28c)](typeof _0x4f66b7['getData'],_0x368c80['inhcp'])?_0x4f66b7[_0x296d25(0x20f)](_0x368c80['roLsW'],[]):_0x4f66b7[_0x296d25(0x16d)]||[];Array[_0x296d25(0x2b2)](_0x3bdfc0)&&(_0xa60b58=_0x3bdfc0);}}_0x31f2a=_0xa60b58;}logger['info'](_0x296d25(0x16b)+JSON[_0x296d25(0x125)](_0x31f2a));const _0x559f71=this[_0x296d25(0x21f)](_0x289112,_0x25bb3a[_0x296d25(0x299)],_0x25bb3a['launchCaps']);logger[_0x296d25(0x253)]('[AccessibilityModule]\x20onBeforeTest:\x20platformSupported='+_0x559f71+_0x296d25(0x15e)+this['isAppAccessibility']);const _0x5e55ce=this[_0x296d25(0x173)](_0x31f2a,_0x289112,_0x33e0eb),_0x949599=_0x368c80['iqisn'](_0x559f71,_0x5e55ce),_0x1bd209=CLIUtils[_0x296d25(0x13a)]();this[_0x296d25(0xe5)]['set'](_0x1bd209,_0x949599),global['Context']?.[_0x296d25(0x107)]&&global[_0x296d25(0x1bb)]['getContext']()['setShouldScan'](_0x949599),logger[_0x296d25(0x253)]('[platform\x20-\x20'+(_0x289112?.[_0x296d25(0x1d8)]?.()||_0x368c80[_0x296d25(0x237)])+']\x20should\x20run\x20accessibility\x20value='+_0x949599),_0x949599?(global[_0x296d25(0x184)]=!![],process['env'][_0x296d25(0x108)]=_0x368c80['Fzgjx'],this[_0x296d25(0x28a)]()):global[_0x296d25(0x184)]=![];}catch(_0x187612){logger[_0x296d25(0x254)](_0x296d25(0x104)+(_0x187612['stack']||_0x187612[_0x296d25(0x212)]));const _0x46f3f9=CLIUtils[_0x296d25(0x13a)]();this['accessibility'][_0x296d25(0x10f)](_0x46f3f9,![]),global['accessibilityPlatform']=![];}}[a80_0x20bb78(0x259)](){const _0x1a75c=a80_0x20bb78;return this['capabilities'][_0x1a75c(0x129)](_0x4fb8ea=>_0x4fb8ea['getName']()==='goog:chromeOptions')?.[_0x1a75c(0x1a6)]()||'';}['getCapabilityValue'](_0x3fbdd6){const _0x49d834=a80_0x20bb78;try{const _0x343dab=this[_0x49d834(0x1d1)]?.[_0x49d834(0x246)]?.[_0x49d834(0xf3)]||[],_0x111cbd=_0x343dab['find'](_0x73118a=>_0x73118a[_0x49d834(0x198)]===_0x3fbdd6);return _0x111cbd?_0x111cbd['value']:null;}catch(_0x480198){return logger[_0x49d834(0x253)](_0x49d834(0x291)+_0x3fbdd6+':\x20'+_0x480198['message']),null;}}async[a80_0x20bb78(0x11d)](_0x46d568,_0x26836f){const _0x1c0c0a=a80_0x20bb78,_0x345e60=_0x46d568[_0x1c0c0a(0x2a5)]()['getOptions'](),_0x294334=_0x345e60[_0x1c0c0a(0xf8)](),_0x2c29fa=_0x345e60[_0x1c0c0a(0x222)]()?.[_0x1c0c0a(0x21e)]();scripts['parseFromProto'](_0x294334,_0x2c29fa),scripts[_0x1c0c0a(0x29c)]();const _0x18cca5=_0x345e60[_0x1c0c0a(0x297)]();this['capabilities']=_0x345e60[_0x1c0c0a(0x297)](),await this['setAccessibilityToken'](_0x18cca5,_0x26836f['launchCaps']);}async[a80_0x20bb78(0x23b)](_0x42377e,_0x2fdee2={}){const _0x5befbd=a80_0x20bb78,_0x56eaba={};_0x56eaba[_0x5befbd(0x1dc)]=function(_0x456cf5,_0x3c5ed4){return _0x456cf5===_0x3c5ed4;},_0x56eaba[_0x5befbd(0x213)]=_0x5befbd(0x148),_0x56eaba[_0x5befbd(0x27c)]=_0x5befbd(0x134),_0x56eaba[_0x5befbd(0xed)]=function(_0x5d3037,_0x25e4f0){return _0x5d3037===_0x25e4f0;},_0x56eaba['idUuG']=_0x5befbd(0x155),_0x56eaba['BfZSv']=_0x5befbd(0x1c0),_0x56eaba[_0x5befbd(0x132)]=function(_0x1c5790,_0x36a9cd){return _0x1c5790===_0x36a9cd;},_0x56eaba[_0x5befbd(0x235)]=_0x5befbd(0x1f9),_0x56eaba[_0x5befbd(0xee)]=_0x5befbd(0x289),_0x56eaba[_0x5befbd(0x1a5)]=function(_0x5aa26a,_0xcc814b){return _0x5aa26a===_0xcc814b;},_0x56eaba[_0x5befbd(0x101)]=_0x5befbd(0x221),_0x56eaba['GjOMQ']=_0x5befbd(0x16f);const _0x1ceb4e=_0x56eaba;global[_0x5befbd(0x288)]=global['__accessibilityOptions']||{};for(const _0xdc9139 of _0x42377e){logger[_0x5befbd(0x1d5)](_0x5befbd(0x11e)+_0xdc9139[_0x5befbd(0x14e)]()+_0x5befbd(0x1fe)+_0xdc9139[_0x5befbd(0x1a6)]());if(_0x1ceb4e['fIFSy'](_0xdc9139[_0x5befbd(0x14e)](),_0x1ceb4e['LKRDD']))process[_0x5befbd(0x206)][_0x5befbd(0x1ce)]=_0xdc9139[_0x5befbd(0x1a6)](),global[_0x5befbd(0x288)][_0x1ceb4e[_0x5befbd(0x27c)]]=_0xdc9139['getValue']();else{if(_0x1ceb4e[_0x5befbd(0xed)](_0xdc9139['getName'](),_0x1ceb4e[_0x5befbd(0xe4)]))global[_0x5befbd(0x288)][_0x1ceb4e[_0x5befbd(0x112)]]=_0xdc9139[_0x5befbd(0x1a6)]();else{if(_0x1ceb4e['kauiN'](_0xdc9139[_0x5befbd(0x14e)](),_0x1ceb4e[_0x5befbd(0x235)]))global[_0x5befbd(0x288)][_0x1ceb4e[_0x5befbd(0xee)]]=_0xdc9139[_0x5befbd(0x1a6)]();else _0x1ceb4e['Wljrz'](_0xdc9139[_0x5befbd(0x14e)](),_0x1ceb4e['TrLfq'])&&(global['__accessibilityOptions'][_0x1ceb4e[_0x5befbd(0x296)]]=_0xdc9139[_0x5befbd(0x1a6)]());}}}}async[a80_0x20bb78(0x1f7)](_0xe74a7b){const _0x57b81b=a80_0x20bb78,_0x84cc96={};_0x84cc96['FGmMX']=function(_0x5c1568,_0x1f3a56){return _0x5c1568!==_0x1f3a56;},_0x84cc96['EHXYV']='cucumber',_0x84cc96[_0x57b81b(0x215)]=function(_0x1d9396,_0x5c7ede){return _0x1d9396!==_0x5c7ede;},_0x84cc96['nRUML']=_0x57b81b(0x13d),_0x84cc96['xqMHs']=_0x57b81b(0x2a6),_0x84cc96[_0x57b81b(0x1fd)]='unknown';const _0x52680c=_0x84cc96;if(_0x52680c[_0x57b81b(0x1db)](_0xe74a7b[_0x57b81b(0x29f)],_0x52680c[_0x57b81b(0x214)])&&_0x52680c[_0x57b81b(0x215)](_0xe74a7b[_0x57b81b(0x29f)],_0x52680c[_0x57b81b(0x181)])){logger[_0x57b81b(0x253)](_0x52680c[_0x57b81b(0xfb)]);return;}const _0xd99b6b=_0xe74a7b['testInfo']?.[_0x57b81b(0x1e0)]||_0xe74a7b[_0x57b81b(0x146)]?.['id']||global[_0x57b81b(0x103)];logger['info']('[AccessibilityModule]\x20onAfterTest:\x20framework='+_0xe74a7b[_0x57b81b(0x29f)]+',\x20testIdentifier='+_0xd99b6b);try{const _0x3af475=_0xe74a7b['instance']||AutomationFramework[_0x57b81b(0x1b2)](),_0x37c695=CLIUtils[_0x57b81b(0x13a)](),_0x3b0928=this[_0x57b81b(0x217)]();logger[_0x57b81b(0x253)]('[platform\x20-\x20'+(_0x3af475?.['getPlatformIndex']?.()||_0x52680c[_0x57b81b(0x1fd)])+']\x20onAfterTest\x20should\x20scan='+_0x3b0928),_0x3b0928&&await this['stopTestCapture'](_0x3af475,_0xe74a7b),this[_0x57b81b(0xe5)][_0x57b81b(0xf0)](_0x37c695),this[_0x57b81b(0x11a)][_0x57b81b(0xf0)](_0x37c695);}catch(_0x72cb47){logger[_0x57b81b(0x254)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x72cb47['stack']||_0x72cb47[_0x57b81b(0x212)]));}}async[a80_0x20bb78(0x26c)](_0x519446,_0x172085){const _0x48dc19=a80_0x20bb78,_0x1f6850={};_0x1f6850[_0x48dc19(0x25d)]=function(_0x51a17e,_0x10111e){return _0x51a17e===_0x10111e;},_0x1f6850[_0x48dc19(0x15d)]='function',_0x1f6850['MHiDE']=function(_0x18204c,_0x4c5d7b){return _0x18204c===_0x4c5d7b;},_0x1f6850[_0x48dc19(0x2a8)]=_0x48dc19(0x13d),_0x1f6850[_0x48dc19(0x18f)]=_0x48dc19(0x287),_0x1f6850[_0x48dc19(0x179)]=function(_0x39895c,_0x16a268){return _0x39895c===_0x16a268;},_0x1f6850[_0x48dc19(0x1ed)]=_0x48dc19(0x210),_0x1f6850[_0x48dc19(0x1af)]=_0x48dc19(0xe5),_0x1f6850['kHLZR']=_0x48dc19(0x171),_0x1f6850[_0x48dc19(0x29b)]=_0x48dc19(0x13e),_0x1f6850[_0x48dc19(0x1c8)]=_0x48dc19(0x25c),_0x1f6850[_0x48dc19(0x1e3)]=_0x48dc19(0x295),_0x1f6850['iKGSa']=function(_0x11b2d,_0x47cb2d){return _0x11b2d===_0x47cb2d;},_0x1f6850[_0x48dc19(0x17e)]=function(_0xa6f421,_0x431368){return _0xa6f421||_0x431368;},_0x1f6850[_0x48dc19(0x1a8)]=_0x48dc19(0x14c),_0x1f6850['tnDvv']=_0x48dc19(0x20a);const _0x426e4e=_0x1f6850;try{const _0x2563ad=_0x172085[_0x48dc19(0x29f)]||(_0x426e4e[_0x48dc19(0x1ee)](this[_0x48dc19(0x127)]?.[_0x48dc19(0x198)]?.[_0x48dc19(0x276)](),_0x426e4e[_0x48dc19(0x2a8)])?_0x426e4e[_0x48dc19(0x2a8)]:_0x426e4e[_0x48dc19(0x18f)]);let _0x38ab25='',_0x1c07cd=null,_0x5a0c3e=null;if(_0x426e4e[_0x48dc19(0x179)](_0x2563ad,_0x426e4e[_0x48dc19(0x2a8)])){_0x1c07cd=_0x172085[_0x48dc19(0x146)]?.[_0x48dc19(0x1e0)]||_0x172085[_0x48dc19(0x146)]?.['id']||global[_0x48dc19(0x103)];if(!_0x1c07cd){logger[_0x48dc19(0x1ba)](_0x426e4e['ReklZ']);return;}try{const _0x2d7b66=await GrpcClient[_0x48dc19(0x1a2)]()[_0x48dc19(0x203)](process[_0x48dc19(0x206)][_0x48dc19(0x220)],_0x426e4e[_0x48dc19(0x1af)],_0x426e4e['kHLZR'],_0x1c07cd),_0xdc50=AccessibilityModule[_0x48dc19(0x22b)](null,_0x2d7b66);_0x38ab25=_0xdc50?.['thTestRunUuid']||'',logger[_0x48dc19(0x253)](_0x48dc19(0x1ef)+_0x38ab25+'\x20from\x20testIdentifier='+_0x1c07cd),_0x5a0c3e=_0x2d7b66;}catch(_0x3ee91b){logger[_0x48dc19(0x254)](_0x48dc19(0x1ad)+_0x3ee91b['message']);return;}}else{const _0x5b9702=this[_0x48dc19(0x23d)](_0x172085);_0x38ab25=TestInfo[_0x48dc19(0x11b)](_0x5b9702);}const _0x16d962=((()=>{const _0x4df94e=_0x48dc19,_0x25090c=(this[_0x4df94e(0x1d1)]?.[_0x4df94e(0x246)]?.[_0x4df94e(0xf3)]||[])['find'](_0x227179=>(typeof _0x227179['getName']===_0x4df94e(0x1c4)?_0x227179[_0x4df94e(0x14e)]():_0x227179[_0x4df94e(0x198)])===this[_0x4df94e(0x199)]);return _0x25090c?_0x426e4e[_0x4df94e(0x25d)](typeof _0x25090c[_0x4df94e(0x1a6)],_0x426e4e[_0x4df94e(0x15d)])?_0x25090c[_0x4df94e(0x1a6)]():_0x25090c[_0x4df94e(0x23a)]:'';})()),_0x5c63b5=process['env']['BROWSERSTACK_TESTHUB_JWT']||'';logger['debug']('[platform\x20-\x20'+(_0x519446?.[_0x48dc19(0x1d8)]?.()||_0x426e4e[_0x48dc19(0x29b)])+_0x48dc19(0x278)+_0x38ab25+_0x48dc19(0x178)+_0x16d962+_0x48dc19(0x14b)+(_0x5c63b5?_0x426e4e[_0x48dc19(0x1c8)]:_0x426e4e[_0x48dc19(0x1e3)]));let _0xd8d4e8;if(_0x426e4e[_0x48dc19(0x1f0)](_0x2563ad,_0x426e4e[_0x48dc19(0x2a8)]))_0xd8d4e8=AccessibilityModule[_0x48dc19(0x22b)](_0x38ab25,_0x5a0c3e);else{const _0x2a309f=await GrpcClient[_0x48dc19(0x1a2)]()[_0x48dc19(0x203)](process[_0x48dc19(0x206)][_0x48dc19(0x220)],_0x426e4e[_0x48dc19(0x1af)],_0x426e4e[_0x48dc19(0x126)]);_0xd8d4e8=AccessibilityModule['loadDriverExecuteParams'](_0x38ab25,_0x2a309f);}logger[_0x48dc19(0x253)](_0x48dc19(0xfe)+JSON['stringify'](_0xd8d4e8));const _0x38a606=Object['assign']({},{'thTestRunUuid':_0x426e4e[_0x48dc19(0x17e)](_0x38ab25,''),'thBuildUuid':_0x426e4e[_0x48dc19(0x17e)](_0x16d962,''),'thJwtToken':_0x426e4e['BgbDu'](_0x5c63b5,'')},_0xd8d4e8);logger[_0x48dc19(0x253)](_0x48dc19(0x17f)+_0x38ab25+_0x48dc19(0x15e)+this[_0x48dc19(0x170)]);let _0x525085=global['__workerDetails']?.['pwPage']||null;!_0x525085&&(_0x525085=AutomationFramework[_0x48dc19(0x1a3)](_0x519446,_0x426e4e['OWHeV'],null)),!_0x525085&&(_0x525085=AutomationFramework['getState'](_0x519446,_0x426e4e[_0x48dc19(0x24a)],null)),await this['finishScanningForCli'](this[_0x48dc19(0x217)](),_0x38ab25,_0x525085,_0x38a606,this[_0x48dc19(0x170)]);}catch(_0x505d26){logger[_0x48dc19(0x254)](_0x48dc19(0x24c)+(_0x505d26[_0x48dc19(0x273)]||_0x505d26['message']));}}async[a80_0x20bb78(0x211)](_0xbc57a7,_0xf81692,_0x170c54,_0x41dfb5,_0x455793){const _0x166fe0=a80_0x20bb78,_0x1d6ef3={};_0x1d6ef3[_0x166fe0(0x20e)]=_0x166fe0(0x171),_0x1d6ef3[_0x166fe0(0x142)]=function(_0x459260,_0x47055f){return _0x459260&&_0x47055f;},_0x1d6ef3[_0x166fe0(0x1cc)]=_0x166fe0(0x27d),_0x1d6ef3[_0x166fe0(0x102)]=function(_0x470857,_0x376ad1){return _0x470857===_0x376ad1;},_0x1d6ef3[_0x166fe0(0xf2)]=_0x166fe0(0x295),_0x1d6ef3[_0x166fe0(0x2b4)]=function(_0x5c96ad,_0x44d502){return _0x5c96ad===_0x44d502;},_0x1d6ef3[_0x166fe0(0x185)]=_0x166fe0(0x251),_0x1d6ef3[_0x166fe0(0x156)]=_0x166fe0(0x13b),_0x1d6ef3['XVEKd']=_0x166fe0(0x250),_0x1d6ef3['wvXNe']='scan',_0x1d6ef3['MwoYO']=_0x166fe0(0x191),_0x1d6ef3[_0x166fe0(0x1b5)]='a11y:save-results',_0x1d6ef3[_0x166fe0(0x172)]=_0x166fe0(0x18b);const _0x5e99e4=_0x1d6ef3;try{const _0x31b48d=this[_0x166fe0(0x252)](_0x5e99e4[_0x166fe0(0x20e)]);if(_0x5e99e4[_0x166fe0(0x142)](!_0x455793,!_0x31b48d)){logger[_0x166fe0(0x253)](_0x5e99e4[_0x166fe0(0x1cc)]);return;}if(!_0xf81692||_0x5e99e4[_0x166fe0(0x102)](_0xf81692,_0x5e99e4[_0x166fe0(0xf2)])||_0x5e99e4[_0x166fe0(0x2b4)](_0xf81692,'')){logger[_0x166fe0(0x253)](_0x5e99e4[_0x166fe0(0x185)]);return;}logger[_0x166fe0(0x253)](_0x166fe0(0x23c)+JSON[_0x166fe0(0x125)](_0x41dfb5)),_0xbc57a7&&(logger[_0x166fe0(0x253)](_0x5e99e4[_0x166fe0(0x156)]),await this['performScanForCli'](_0x170c54,_0xf81692,_0x5e99e4[_0x166fe0(0x1c3)],_0x41dfb5,_0x455793,_0x5e99e4[_0x166fe0(0x162)]),_0x5e99e4[_0x166fe0(0x142)](!_0x455793,_0x31b48d)&&(logger['debug'](_0x5e99e4[_0x166fe0(0x28d)]),await PerformanceTester[_0x166fe0(0x26a)](_0x5e99e4[_0x166fe0(0x1b5)],async()=>{const _0x528915=_0x166fe0;await this[_0x528915(0x2a4)](_0x170c54,_0xf81692,_0x5e99e4[_0x528915(0x20e)],_0x41dfb5,_0x455793,_0x5e99e4['OIEII']);})()),logger[_0x166fe0(0x1d5)](_0x5e99e4[_0x166fe0(0x172)]));}catch(_0x2e3f37){logger[_0x166fe0(0x254)](_0x166fe0(0xff)+(_0x2e3f37[_0x166fe0(0x273)]||_0x2e3f37[_0x166fe0(0x212)]));}}async[a80_0x20bb78(0x27e)](_0x3d5366){const _0x2edf85=a80_0x20bb78,_0x43a16a={};_0x43a16a[_0x2edf85(0x114)]=function(_0x2bdcd6,_0x5580bc){return _0x2bdcd6!==_0x5580bc;},_0x43a16a[_0x2edf85(0x274)]='cucumber',_0x43a16a[_0x2edf85(0x19d)]='jest',_0x43a16a[_0x2edf85(0x192)]='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x43a16a[_0x2edf85(0x166)]='unknown',_0x43a16a[_0x2edf85(0xec)]=_0x2edf85(0x28f),_0x43a16a[_0x2edf85(0x1a0)]=function(_0x552eac,_0x255439){return _0x552eac===_0x255439;},_0x43a16a[_0x2edf85(0x224)]=_0x2edf85(0x225),_0x43a16a[_0x2edf85(0x1a7)]='accessibility',_0x43a16a['NfvHk']='performScan',_0x43a16a[_0x2edf85(0x22d)]=_0x2edf85(0x218),_0x43a16a[_0x2edf85(0x121)]=_0x2edf85(0x248),_0x43a16a[_0x2edf85(0x117)]=function(_0x4f6e3f,_0x1cb359){return _0x4f6e3f===_0x1cb359;},_0x43a16a[_0x2edf85(0x241)]=_0x2edf85(0x1c9),_0x43a16a[_0x2edf85(0x182)]=_0x2edf85(0x295);const _0x39b9ab=_0x43a16a;if(_0x39b9ab[_0x2edf85(0x114)](_0x3d5366[_0x2edf85(0x29f)],_0x39b9ab[_0x2edf85(0x274)])&&_0x39b9ab['XcyHX'](_0x3d5366[_0x2edf85(0x29f)],_0x39b9ab[_0x2edf85(0x19d)])){logger[_0x2edf85(0x253)](_0x39b9ab[_0x2edf85(0x192)]);return;}logger[_0x2edf85(0x253)]('onBeforeExecute:\x20command='+(_0x3d5366['commandName']||_0x39b9ab[_0x2edf85(0x166)])+_0x2edf85(0x12b)+_0x3d5366['testFramework']);try{const _0x3057ae=_0x3d5366['instance']||AutomationFramework[_0x2edf85(0x1b2)](),_0x2e3769=TestFramework['getTrackedInstance'](),_0x4e7a6c=_0x3d5366[_0x2edf85(0x29a)]||_0x3d5366[_0x2edf85(0x247)]?.[_0x2edf85(0x14e)]();if(!_0x4e7a6c){logger['debug'](_0x39b9ab[_0x2edf85(0xec)]);return;}if(!this[_0x2edf85(0x217)]()){logger[_0x2edf85(0x253)](_0x2edf85(0x29d)+_0x4e7a6c);return;}if(!this[_0x2edf85(0x260)](_0x4e7a6c)){logger[_0x2edf85(0x253)](_0x2edf85(0x2ab)+_0x4e7a6c+_0x2edf85(0x23f));return;}const _0x17a7d6=_0x3d5366[_0x2edf85(0x167)]||global[_0x2edf85(0x17a)]?.[_0x2edf85(0xf1)];if(!_0x17a7d6){logger[_0x2edf85(0x253)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x4e7a6c);return;}let _0x16ed4a='',_0x132fc7=null;if(_0x39b9ab['nZRmm'](_0x3d5366[_0x2edf85(0x29f)],_0x39b9ab[_0x2edf85(0x19d)])){_0x132fc7=_0x3d5366[_0x2edf85(0x146)]?.[_0x2edf85(0x1e0)]||_0x3d5366['testInfo']?.['id']||global[_0x2edf85(0x103)];if(!_0x132fc7){logger[_0x2edf85(0x1ba)](_0x39b9ab[_0x2edf85(0x224)]);return;}try{const _0x4a8bb2=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process[_0x2edf85(0x206)][_0x2edf85(0x220)],_0x39b9ab['EOnZy'],_0x39b9ab[_0x2edf85(0x153)],_0x132fc7),_0x3e516c=AccessibilityModule['loadDriverExecuteParams'](null,_0x4a8bb2);_0x16ed4a=_0x3e516c?.[_0x2edf85(0x19c)]||'',logger[_0x2edf85(0x253)](_0x2edf85(0x281)+_0x16ed4a+_0x2edf85(0x1e7)+_0x132fc7);}catch(_0x532726){logger[_0x2edf85(0x254)]('onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x532726[_0x2edf85(0x212)]);return;}}else _0x16ed4a=this[_0x2edf85(0x183)](_0x39b9ab[_0x2edf85(0x22d)])||'';const _0x286009=this['getCapabilityValue'](_0x39b9ab[_0x2edf85(0x121)])||this[_0x2edf85(0x1d1)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x26480b=process['env']['BROWSERSTACK_TESTHUB_JWT']||'',_0x4f08c1=this[_0x2edf85(0x144)](_0x4e7a6c,_0x16ed4a,_0x286009,_0x26480b),_0x4f2619=_0x39b9ab['CYpPI'](_0x3d5366[_0x2edf85(0x29f)],_0x39b9ab['vaxYv'])?await AccessibilityModule[_0x2edf85(0x147)](_0x39b9ab[_0x2edf85(0x241)],_0x16ed4a,_0x132fc7):await AccessibilityModule[_0x2edf85(0x147)](_0x39b9ab[_0x2edf85(0x241)],_0x16ed4a);logger[_0x2edf85(0x1d5)]('ScanArgs:\x20'+(_0x4f08c1?JSON[_0x2edf85(0x125)](_0x4f08c1):_0x39b9ab[_0x2edf85(0x182)]));const _0x1eddc2=CLIUtils['mergeObject'](_0x4f08c1,_0x4f2619);logger[_0x2edf85(0x1d5)](_0x2edf85(0x17d)+(_0x1eddc2?JSON['stringify'](_0x1eddc2):_0x39b9ab[_0x2edf85(0x182)])),logger[_0x2edf85(0x253)](_0x2edf85(0x15f)+_0x4e7a6c);const _0x595ee2=await this[_0x2edf85(0x2a4)](_0x17a7d6,_0x16ed4a,_0x4e7a6c,_0x1eddc2,this[_0x2edf85(0x170)]);logger[_0x2edf85(0x253)](_0x2edf85(0x283)+_0x4e7a6c+_0x2edf85(0x1d2)+_0x595ee2);}catch(_0x5be6e5){logger[_0x2edf85(0x254)](_0x2edf85(0x243)+(_0x5be6e5[_0x2edf85(0x273)]||_0x5be6e5[_0x2edf85(0x212)]));}}['shouldScanCurrentTest'](){const _0x102eaf=a80_0x20bb78;return this[_0x102eaf(0x217)]();}[a80_0x20bb78(0x2b1)](_0x2d14fe){const _0x54d7b7=a80_0x20bb78,_0x539cc6=CLIUtils['getCurrentInstanceName']();this[_0x54d7b7(0xe5)]['set'](_0x539cc6,_0x2d14fe);}async[a80_0x20bb78(0x1de)](_0x21cd9e){const _0x1c2e93=a80_0x20bb78,_0x9f2f4={};_0x9f2f4['ldFuu']=_0x1c2e93(0x13e);const _0x5a15d3=_0x9f2f4;try{const _0x542e11=_0x21cd9e['instance']||AutomationFramework['getTrackedInstance'](),_0x1f49b7=_0x542e11?.[_0x1c2e93(0x20f)]?.()?.[_0x1c2e93(0xe8)]?.(this[_0x1c2e93(0x16c)])||![];if(_0x1f49b7)return;PerformanceTester[_0x1c2e93(0x1d4)](EVENTS[_0x1c2e93(0x169)]);const _0x46cc43=await GrpcClient[_0x1c2e93(0x1a2)]()['getAccessibilityConfig'](_0x21cd9e);_0x46cc43&&_0x46cc43['getAccessibility']&&_0x46cc43['getAccessibility']()&&_0x46cc43[_0x1c2e93(0x2a5)]()[_0x1c2e93(0x1a4)]()?(await this[_0x1c2e93(0x106)](_0x46cc43,_0x21cd9e),_0x542e11?.[_0x1c2e93(0x20f)]&&_0x542e11[_0x1c2e93(0x20f)]()['set'](this[_0x1c2e93(0x16c)],!![]),logger[_0x1c2e93(0x253)](_0x1c2e93(0x240)+(_0x542e11?.[_0x1c2e93(0x1d8)]?.()||_0x5a15d3['ldFuu'])+']\x20Accessibility\x20configuration\x20initialized\x20successfully')):logger[_0x1c2e93(0x253)]('[platform\x20-\x20'+(_0x542e11?.[_0x1c2e93(0x1d8)]?.()||_0x5a15d3[_0x1c2e93(0x18a)])+']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration'),PerformanceTester[_0x1c2e93(0x14f)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x3d9d5b){PerformanceTester[_0x1c2e93(0x14f)](EVENTS[_0x1c2e93(0x169)],![],_0x3d9d5b[_0x1c2e93(0x212)]),logger[_0x1c2e93(0x254)](_0x1c2e93(0x26d)+(_0x3d9d5b[_0x1c2e93(0x273)]||_0x3d9d5b[_0x1c2e93(0x212)]));}}async[a80_0x20bb78(0x106)](_0x135a74,_0x59502f){const _0x1babe2=a80_0x20bb78;await this[_0x1babe2(0x11d)](_0x135a74,_0x59502f);const _0x5039ce=_0x135a74[_0x1babe2(0x2a5)]()['getOptions']();if(_0x5039ce){const _0xda7142=_0x135a74[_0x1babe2(0xf4)]&&_0x135a74[_0x1babe2(0xf4)]();_0xda7142&&(this[_0x1babe2(0x1d1)][this[_0x1babe2(0x199)]]=_0xda7142[_0x1babe2(0x275)]&&_0xda7142['getBuildId']());}}['shouldScanForCommand'](_0x465982){const _0x2cd544=a80_0x20bb78,_0xcbf3e4={};_0xcbf3e4[_0x2cd544(0x2b5)]=function(_0x616e2f,_0x3377cd){return _0x616e2f===_0x3377cd;};const _0x1a1687=_0xcbf3e4;try{if(!_0x465982)return![];const _0x17a355=this['accessibilityConfig']?.['options']?.[_0x2cd544(0x27b)]?.[_0x2cd544(0x16a)]||[],_0x23bffc=_0x17a355[_0x2cd544(0x1c2)](_0x2861ce=>{const _0x325c84=_0x2cd544;return _0x2861ce['name']&&_0x1a1687[_0x325c84(0x2b5)](_0x2861ce[_0x325c84(0x198)][_0x325c84(0x276)](),_0x465982[_0x325c84(0x276)]());});return logger[_0x2cd544(0x253)](_0x2cd544(0x196)+_0x465982+'\x20->\x20'+_0x23bffc+_0x2cd544(0x164)+JSON[_0x2cd544(0x125)](_0x17a355[_0x2cd544(0x298)](_0x31050d=>_0x31050d[_0x2cd544(0x198)]))),_0x23bffc;}catch(_0x55f4f4){return logger[_0x2cd544(0x253)](_0x2cd544(0x12d)+_0x55f4f4[_0x2cd544(0x212)]),![];}}['isBrowserstackScriptCommand'](_0x137a82){const _0x1b6190=a80_0x20bb78,_0x38118f={};_0x38118f[_0x1b6190(0x157)]=function(_0x994c7f,_0x5c4faf){return _0x994c7f===_0x5c4faf;},_0x38118f[_0x1b6190(0x136)]=_0x1b6190(0x226),_0x38118f[_0x1b6190(0x15b)]=_0x1b6190(0x227);const _0x162e1a=_0x38118f,_0x5d9dcf=_0x137a82['getScript']&&_0x137a82[_0x1b6190(0x2af)]();return _0x5d9dcf&&_0x162e1a['weOjk'](typeof _0x5d9dcf,_0x162e1a['UMLFI'])&&_0x5d9dcf[_0x1b6190(0x245)](_0x162e1a[_0x1b6190(0x15b)]);}[a80_0x20bb78(0x193)](_0x4c7b93){const _0x11cb9b=a80_0x20bb78,_0x1c603d={};_0x1c603d[_0x11cb9b(0x25e)]=function(_0x11eefa,_0x202e15){return _0x11eefa!==_0x202e15;},_0x1c603d['bLMgt']=_0x11cb9b(0x226),_0x1c603d[_0x11cb9b(0x17c)]='accessibility',_0x1c603d[_0x11cb9b(0x1cd)]=_0x11cb9b(0x1ae),_0x1c603d[_0x11cb9b(0x271)]='getResults',_0x1c603d[_0x11cb9b(0x111)]=_0x11cb9b(0x168);const _0x3a07bd=_0x1c603d,_0x32aa29=_0x4c7b93['getScript']&&_0x4c7b93[_0x11cb9b(0x2af)]();if(!_0x32aa29||_0x3a07bd[_0x11cb9b(0x25e)](typeof _0x32aa29,_0x3a07bd[_0x11cb9b(0x2a9)]))return![];return _0x32aa29[_0x11cb9b(0x245)](_0x3a07bd[_0x11cb9b(0x17c)])||_0x32aa29[_0x11cb9b(0x245)](_0x3a07bd[_0x11cb9b(0x1cd)])||_0x32aa29['includes'](_0x3a07bd[_0x11cb9b(0x271)])||_0x32aa29[_0x11cb9b(0x245)](_0x3a07bd[_0x11cb9b(0x111)]);}['getParamsForScanForCli'](_0xa42374,_0x2da2a2,_0x5cb523,_0x24e32c){const _0x500b15=a80_0x20bb78,_0x6cf0={};_0x6cf0[_0x500b15(0x25f)]=function(_0x2d9d5f,_0x146bc3){return _0x2d9d5f||_0x146bc3;},_0x6cf0[_0x500b15(0x294)]=function(_0x299b99,_0x482ff3){return _0x299b99||_0x482ff3;};const _0x261aac=_0x6cf0;return{'command':_0xa42374,'thTestRunUuid':_0x261aac[_0x500b15(0x25f)](_0x2da2a2,''),'thBuildUuid':_0x261aac['ZHdXd'](_0x5cb523,''),'thJwtToken':_0x261aac[_0x500b15(0x294)](_0x24e32c,''),'timestamp':new Date()[_0x500b15(0x1c6)]()};}[a80_0x20bb78(0x252)](_0x52ecb5){const _0x245e31=a80_0x20bb78,_0x510547={};_0x510547['IdGRY']=function(_0x1c441b,_0x1a5605){return _0x1c441b||_0x1a5605;};const _0x37c8c9=_0x510547;try{const _0x369738=this[_0x245e31(0x1d1)]?.[_0x245e31(0x246)]?.[_0x245e31(0x140)]||[],_0x1d430e=_0x369738[_0x245e31(0x129)](_0x21c995=>_0x21c995['name']===_0x52ecb5);return _0x37c8c9[_0x245e31(0x208)](_0x1d430e,null);}catch(_0x2cedf5){return logger['debug']('Error\x20getting\x20script\x20by\x20name\x20'+_0x52ecb5+':\x20'+_0x2cedf5['message']),null;}}async['executeScriptByName'](_0x3655fd,_0x1f32e8,_0x50b7d1=null){const _0xbe5e8c=a80_0x20bb78,_0x3a9831={'tBqKr':function(_0x2311e5,_0x2f1011){return _0x2311e5(_0x2f1011);},'nMksx':_0xbe5e8c(0x272)};try{if(!_0x3655fd)return logger['debug'](_0xbe5e8c(0x1c1)+_0x1f32e8),null;const _0x4741ba=this[_0xbe5e8c(0x252)](_0x1f32e8);if(!_0x4741ba||!_0x4741ba[_0xbe5e8c(0x247)])return logger[_0xbe5e8c(0x253)](_0xbe5e8c(0x267)+_0x1f32e8+'\x20script\x20available'),null;logger[_0xbe5e8c(0x253)](_0xbe5e8c(0x113)+_0x1f32e8+_0xbe5e8c(0x19f));const _0x4915e3=_0x3a9831[_0xbe5e8c(0x188)](require,_0x3a9831[_0xbe5e8c(0x197)]),_0x320524=_0x50b7d1?await _0x4915e3[_0xbe5e8c(0x118)](_0x3655fd,_0x4741ba[_0xbe5e8c(0x247)],_0x50b7d1):await _0x4915e3[_0xbe5e8c(0x118)](_0x3655fd,_0x4741ba[_0xbe5e8c(0x247)]);return _0x320524;}catch(_0x439d8c){return logger[_0xbe5e8c(0x254)](_0xbe5e8c(0x110)+_0x1f32e8+':\x20'+(_0x439d8c['stack']||_0x439d8c[_0xbe5e8c(0x212)])),null;}}async['performScanForCli'](_0x28de2c,_0x5adb90,_0x40e72d,_0x6e500b,_0x3aaf15,_0xa69b6f=a80_0x20bb78(0x1c9)){const _0x5c739f=a80_0x20bb78,_0x8216b6={'jRHgK':function(_0x1f2128,_0x4ee81d){return _0x1f2128===_0x4ee81d;},'aNBFb':_0x5c739f(0x1c9),'HuZHg':function(_0x20b327,_0x594132){return _0x20b327(_0x594132);},'nqNtO':_0x5c739f(0x272)};try{logger[_0x5c739f(0x253)](_0x5c739f(0x21d)+_0x40e72d+_0x5c739f(0x1f1)+_0xa69b6f);const _0xd1f52b=this['getScriptByName'](_0xa69b6f);if(!_0xd1f52b||!_0xd1f52b[_0x5c739f(0x247)]){logger[_0x5c739f(0x253)]('performScanForCli:\x20No\x20'+_0xa69b6f+_0x5c739f(0x1b9));return;}if(_0x8216b6['jRHgK'](_0xa69b6f,_0x8216b6[_0x5c739f(0x22c)])){const _0x4c36e2=_0x8216b6[_0x5c739f(0x20c)](require,_0x8216b6[_0x5c739f(0x1ea)]),_0x489c02={};_0x489c02[_0x5c739f(0x247)]=_0x40e72d;const _0x373dd3=await PerformanceTester[_0x5c739f(0x26a)](PerformanceA11yEvents[_0x5c739f(0x265)],async()=>{const _0x12dec4=_0x5c739f;await _0x4c36e2[_0x12dec4(0x118)](_0x28de2c,_0xd1f52b[_0x12dec4(0x247)]);},_0x489c02)();return logger['info'](_0x5c739f(0x2ac)+_0xa69b6f+_0x5c739f(0x1d7)+_0x40e72d+':\x20'+util[_0x5c739f(0x262)](_0x373dd3)),_0x373dd3;}const _0x5c3c0b=_0x8216b6[_0x5c739f(0x20c)](require,_0x8216b6[_0x5c739f(0x1ea)]),_0x3db293=await PerformanceTester[_0x5c739f(0x26a)](PerformanceA11yEvents[_0x5c739f(0x189)],async()=>{const _0x1da487=_0x5c739f;await _0x5c3c0b[_0x1da487(0x118)](_0x28de2c,_0xd1f52b['command'],_0x6e500b);})();return logger[_0x5c739f(0x1d5)](_0x5c739f(0x2ac)+_0xa69b6f+'\x20result\x20for\x20'+_0x40e72d+':\x20'+util[_0x5c739f(0x262)](_0x3db293)),_0x3db293;}catch(_0xe45a1e){logger[_0x5c739f(0x254)](_0x5c739f(0x1d3)+_0xa69b6f+':\x20'+(_0xe45a1e[_0x5c739f(0x273)]||_0xe45a1e[_0x5c739f(0x212)]));}}async[a80_0x20bb78(0x1e1)](_0x100e81){const _0x757911=a80_0x20bb78,_0x2f111={'kfMZE':function(_0x40c44b,_0x416c5c){return _0x40c44b(_0x416c5c);},'jiiYy':'../../../helpers/accessibility-automation/helper'};try{const _0x255c52=_0x2f111[_0x757911(0xe9)](require,_0x2f111[_0x757911(0x290)]);return await _0x255c52[_0x757911(0x234)](_0x100e81);}catch(_0x56a970){return logger[_0x757911(0x254)]('Error\x20in\x20validatePlatformForAccessibility:\x20'+(_0x56a970[_0x757911(0x273)]||_0x56a970['message'])),![];}}['processAccessibilityCaps'](_0x98350d,_0x19d00d,_0x3b6cf0){const _0x3ee8b7=a80_0x20bb78,_0xea423a={'pSZcM':function(_0x4a17ae,_0x1c18d0){return _0x4a17ae(_0x1c18d0);},'NWwwX':_0x3ee8b7(0x272),'mPioC':_0x3ee8b7(0x256),'miyOZ':_0x3ee8b7(0x284)};try{const _0x32ae07=_0xea423a[_0x3ee8b7(0x2aa)](require,_0xea423a[_0x3ee8b7(0x163)]);_0x32ae07[_0x3ee8b7(0x143)](_0x98350d,_0x19d00d,_0x3b6cf0);const _0x1b1305=JSON['stringify'](_0x98350d)[_0x3ee8b7(0x285)](/"browserstack\.user":"[^"]*"/g,_0xea423a['mPioC'])['replace'](/"browserstack\.key":"[^"]*"/g,_0xea423a[_0x3ee8b7(0x115)]);logger[_0x3ee8b7(0x253)](_0x3ee8b7(0x145)+global[_0x3ee8b7(0x184)]+'\x20'+_0x1b1305);}catch(_0x1dbdba){logger[_0x3ee8b7(0x254)](_0x3ee8b7(0x1fc)+(_0x1dbdba[_0x3ee8b7(0x273)]||_0x1dbdba['message']));}}async[a80_0x20bb78(0x280)](_0x80e4c3){const _0x18549d=a80_0x20bb78,_0x21b970={};_0x21b970[_0x18549d(0x1ca)]=_0x18549d(0x1aa),_0x21b970[_0x18549d(0x1b8)]='getResults';const _0x2c45e6=_0x21b970;try{if(!this[_0x18549d(0x217)]())return logger[_0x18549d(0x1ba)](_0x2c45e6[_0x18549d(0x1ca)]),[];const _0x2a5f45=await this[_0x18549d(0x24d)](_0x80e4c3,_0x2c45e6[_0x18549d(0x1b8)]);return _0x2a5f45||[];}catch(_0xc85205){return logger[_0x18549d(0x254)]('Error\x20in\x20getAccessibilityResults:\x20'+(_0xc85205[_0x18549d(0x273)]||_0xc85205['message'])),[];}}async[a80_0x20bb78(0x286)](_0x2b8300){const _0x4f7bb1=a80_0x20bb78,_0xc70590={'lIkJT':'scan','PrhSt':_0x4f7bb1(0x24b),'ZtDNo':'Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','FRgqI':function(_0x13a74e,_0x2080dc){return _0x13a74e(_0x2080dc);},'VdjAU':_0x4f7bb1(0x195),'fWTPr':function(_0x3c0417,_0x4ad315){return _0x3c0417===_0x4ad315;},'VGaIi':_0x4f7bb1(0x13d),'yQICx':_0x4f7bb1(0xf5),'Zmowo':_0x4f7bb1(0xe5),'eVKhB':_0x4f7bb1(0x248),'QRuCs':_0x4f7bb1(0x286),'asDDs':'test_run_id','wyOxQ':'Performing\x20scan\x20before\x20getting\x20results\x20summary','aYTUm':_0x4f7bb1(0x1bd)};try{if(!this[_0x4f7bb1(0x217)]())return logger[_0x4f7bb1(0x1ba)](_0xc70590[_0x4f7bb1(0x201)]),{};const _0x4583f8=_0xc70590[_0x4f7bb1(0x158)](require,_0xc70590[_0x4f7bb1(0x12c)]),_0x581aac=_0x4583f8[_0x4f7bb1(0x2ad)](),_0x3d13bc=_0xc70590[_0x4f7bb1(0x2a3)](_0x581aac?.['name']?.['toLowerCase'](),_0xc70590['VGaIi']);let _0x2748b8='',_0x456aa1=null,_0x19e4e1=null;if(_0x3d13bc){_0x456aa1=global[_0x4f7bb1(0x103)]||global[_0x4f7bb1(0x17a)]?.['currentTest']?.['testAnalyticsId']||global[_0x4f7bb1(0x17a)]?.['currentTest']?.['id'];if(!_0x456aa1)return logger['warn'](_0xc70590[_0x4f7bb1(0xfa)]),{};try{const _0x1013ba=await GrpcClient[_0x4f7bb1(0x1a2)]()[_0x4f7bb1(0x203)](process[_0x4f7bb1(0x206)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0xc70590[_0x4f7bb1(0xef)],_0xc70590['PrhSt'],_0x456aa1),_0x1aa860=AccessibilityModule[_0x4f7bb1(0x22b)](null,_0x1013ba);_0x2748b8=_0x1aa860?.[_0x4f7bb1(0x19c)]||'',logger[_0x4f7bb1(0x253)](_0x4f7bb1(0x161)+_0x2748b8+'\x20from\x20testIdentifier='+_0x456aa1);const _0x1ba3f5=await AccessibilityModule[_0x4f7bb1(0x147)](_0xc70590['PrhSt'],_0x2748b8,_0x456aa1),_0x7656c7=this[_0x4f7bb1(0x183)](_0xc70590['eVKhB'])||this[_0x4f7bb1(0x1d1)][this[_0x4f7bb1(0x199)]]||null,_0x43c39b=process['env']['BROWSERSTACK_TESTHUB_JWT']||'',_0xfc05c8=this[_0x4f7bb1(0x144)](_0xc70590['QRuCs'],_0x2748b8,_0x7656c7,_0x43c39b);_0x19e4e1=_0x4583f8['mergeObject'](_0xfc05c8,_0x1ba3f5),logger['debug'](_0x4f7bb1(0x133)+JSON['stringify'](_0x19e4e1));}catch(_0x4296ac){return logger[_0x4f7bb1(0x254)](_0x4f7bb1(0x1c5)+_0x4296ac[_0x4f7bb1(0x212)]),{};}}else{_0x2748b8=this['getCapabilityValue'](_0xc70590['asDDs'])||'';const _0x3abb22=this[_0x4f7bb1(0x183)](_0xc70590['eVKhB'])||this[_0x4f7bb1(0x1d1)][this[_0x4f7bb1(0x199)]]||null,_0x1d2c9e=process[_0x4f7bb1(0x206)]['BROWSERSTACK_TESTHUB_JWT']||'';_0x19e4e1=this['getParamsForScanForCli'](_0xc70590[_0x4f7bb1(0x1e2)],_0x2748b8,_0x3abb22,_0x1d2c9e);}logger[_0x4f7bb1(0x253)](_0xc70590[_0x4f7bb1(0x233)]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x519b2e=_0x4f7bb1,_0x43721b=await this[_0x519b2e(0x24d)](_0x2b8300,_0xc70590[_0x519b2e(0x1ab)],_0x19e4e1);logger['debug']('Scan\x20result:\x20'+util[_0x519b2e(0x262)](_0x43721b));},{'command':_0xc70590['QRuCs']})();const _0xa5a2ff=await PerformanceTester[_0x4f7bb1(0x26a)](PerformanceA11yEvents[_0x4f7bb1(0x22a)],async()=>{const _0x5756dc=_0x4f7bb1;return await this[_0x5756dc(0x24d)](_0x2b8300,_0xc70590[_0x5756dc(0x119)],_0x19e4e1);})();if(!_0xa5a2ff)return logger[_0x4f7bb1(0x253)](_0xc70590['aYTUm']),{};return _0xa5a2ff;}catch(_0x2ef283){return logger[_0x4f7bb1(0x254)](_0x4f7bb1(0x1a1)+(_0x2ef283['stack']||_0x2ef283[_0x4f7bb1(0x212)])),{};}}async[a80_0x20bb78(0x28e)](_0x145d9c,_0x1665e1,_0x239caf=null){const _0x58f6e9=a80_0x20bb78,_0x5bbd03={};_0x5bbd03[_0x58f6e9(0x18d)]=_0x58f6e9(0x242),_0x5bbd03[_0x58f6e9(0x1e4)]=_0x58f6e9(0x264),_0x5bbd03['eAqqh']=_0x58f6e9(0x25a);const _0x4c5a3e=_0x5bbd03;try{if(!_0x145d9c)return logger[_0x58f6e9(0x253)](_0x4c5a3e['LNTVT']),null;if(!_0x1665e1)return logger['debug'](_0x4c5a3e[_0x58f6e9(0x1e4)]),null;logger[_0x58f6e9(0x253)](_0x4c5a3e[_0x58f6e9(0x154)]);const _0xd3c542=_0x239caf?await _0x145d9c[_0x58f6e9(0x1da)](_0x1665e1,_0x239caf):await _0x145d9c[_0x58f6e9(0x1da)](_0x1665e1);return _0xd3c542;}catch(_0x5308b5){return logger[_0x58f6e9(0x254)](_0x58f6e9(0x258)+(_0x5308b5[_0x58f6e9(0x273)]||_0x5308b5[_0x58f6e9(0x212)])),null;}}static[a80_0x20bb78(0x22b)](_0x33a6ed,_0x473302){const _0x4187e9=a80_0x20bb78,_0x4708a8={};_0x4708a8[_0x4187e9(0x236)]='ascii';const _0x36f5ff=_0x4708a8,_0xdd8c0e={};_0xdd8c0e[_0x4187e9(0x19c)]=_0x33a6ed;const _0x15fd09=_0xdd8c0e;let _0x4a39db={};if(_0x473302[_0x4187e9(0x1a4)]()&&_0x473302[_0x4187e9(0x21a)]())try{_0x4a39db=JSON[_0x4187e9(0x12a)](new Buffer(_0x473302['getAccessibilityExecuteParams']())['toString'](_0x36f5ff[_0x4187e9(0x236)]));}catch(_0x124d63){logger[_0x4187e9(0x254)](_0x4187e9(0x24f)+_0x124d63[_0x4187e9(0x212)]),_0x4a39db={};}return CLIUtils[_0x4187e9(0x2ae)](_0x15fd09,_0x4a39db);}static async[a80_0x20bb78(0x147)](_0x3ef627,_0x2ad2da='',_0x1f7f0e=null){const _0x593558=a80_0x20bb78,_0x45e972={};_0x45e972[_0x593558(0xeb)]=_0x593558(0x1f8),_0x45e972['ZCxEU']='accessibility';const _0x4b617b=_0x45e972;try{if(!_0x1f7f0e&&AccessibilityModule[_0x593558(0x13f)])return AccessibilityModule[_0x593558(0x207)];if(!process[_0x593558(0x206)][_0x593558(0x220)])return logger[_0x593558(0x254)](_0x4b617b[_0x593558(0xeb)]),{};const _0x17a16f=await GrpcClient[_0x593558(0x1a2)]()[_0x593558(0x203)](process['env'][_0x593558(0x220)],_0x4b617b[_0x593558(0x1f2)],_0x3ef627,_0x1f7f0e),_0x365208=_0x1f7f0e?AccessibilityModule[_0x593558(0x22b)](null,_0x17a16f)?.[_0x593558(0x19c)]||_0x2ad2da:_0x2ad2da,_0x2cc7c0=AccessibilityModule[_0x593558(0x22b)](_0x365208,_0x17a16f);return!_0x1f7f0e&&(AccessibilityModule['_centralAuthA11yConfig']=_0x2cc7c0,AccessibilityModule[_0x593558(0x13f)]=!![]),_0x2cc7c0;}catch(_0x547688){return logger[_0x593558(0x254)](_0x593558(0x1cf)+_0x3ef627+':\x20'+(_0x547688[_0x593558(0x273)]||_0x547688[_0x593558(0x212)])),{};}}};module[a80_0x20bb78(0x28b)]=AccessibilityModule;
@@ -1 +1 @@
1
- function a81_0x2bf0(_0x404be3,_0x171887){const _0x243467=a81_0x2434();return a81_0x2bf0=function(_0x2bf01b,_0x4a6a2a){_0x2bf01b=_0x2bf01b-0xdc;let _0x22d027=_0x243467[_0x2bf01b];return _0x22d027;},a81_0x2bf0(_0x404be3,_0x171887);}const a81_0x10ef3a=a81_0x2bf0;function a81_0x2434(){const _0x4791f=['config','testInfo','4|0|3|1|2','version','751688oGOhVv','testFramework','CUCUMBER','getModuleName','3759ZeBWIj','dmAvz','../../../helpers/logger.js','aLJlk','testFrameworkData','testId','winstonLogger','../../../helpers/test-observability/constants.js','4880934vxdNJW','0|4|3|5|1|2','169lnrSBm','client','aNcPr','RuXhj','split','WlmBn','13072jhmUby','binSessionId','_test','configure','1958DxfMVn','name','10PeGpKZ','platformIndex','\x20with\x20binSessionId=','1042986Evaqia','Tklqf','exports','JEST','1805450CHiXpf','BaseModule',',\x20platformIndex=','setTestFrameworkData','PLAYWRIGHT','1788147KDiVme','HZCDR','ensureBinSession','debug','testCaseStartedId','uvSdt'];a81_0x2434=function(){return _0x4791f;};return a81_0x2434();}(function(_0x8ce2b4,_0x4d42ad){const _0x15d650=a81_0x2bf0,_0x4ed1ce=_0x8ce2b4();while(!![]){try{const _0x2815d6=parseInt(_0x15d650(0x10a))/0x1*(-parseInt(_0x15d650(0xe4))/0x2)+parseInt(_0x15d650(0xf2))/0x3+parseInt(_0x15d650(0xfc))/0x4+parseInt(_0x15d650(0xed))/0x5+-parseInt(_0x15d650(0xe9))/0x6+-parseInt(_0x15d650(0x100))/0x7*(parseInt(_0x15d650(0xe0))/0x8)+parseInt(_0x15d650(0x108))/0x9*(parseInt(_0x15d650(0xe6))/0xa);if(_0x2815d6===_0x4d42ad)break;else _0x4ed1ce['push'](_0x4ed1ce['shift']());}catch(_0x2bb293){_0x4ed1ce['push'](_0x4ed1ce['shift']());}}}(a81_0x2434,0x72e77));const logger=require(a81_0x10ef3a(0x102))[a81_0x10ef3a(0x106)],{FRAMEWORKS}=require(a81_0x10ef3a(0x107));class BaseModule{constructor(_0x2429bf=null){const _0x3746a1=a81_0x10ef3a,_0x25ab9c={};_0x25ab9c[_0x3746a1(0xdd)]=_0x3746a1(0x109),_0x25ab9c['WlmBn']=_0x3746a1(0xee);const _0x4d41f1=_0x25ab9c,_0x1fc8bd=_0x4d41f1[_0x3746a1(0xdd)]['split']('|');let _0x2ddba8=0x0;while(!![]){switch(_0x1fc8bd[_0x2ddba8++]){case'0':this[_0x3746a1(0xe5)]=_0x4d41f1[_0x3746a1(0xdf)];continue;case'1':this[_0x3746a1(0x10b)]=null;continue;case'2':this[_0x3746a1(0x104)]=this[_0x3746a1(0xf0)](_0x2429bf);continue;case'3':this['platformIndex']=0x0;continue;case'4':this[_0x3746a1(0xe1)]=null;continue;case'5':this[_0x3746a1(0xf8)]={};continue;}break;}}[a81_0x10ef3a(0xf4)](){const _0xe2d744=a81_0x10ef3a,_0x531ee8={};_0x531ee8[_0xe2d744(0xf7)]='Missing\x20binSessionId';const _0x439243=_0x531ee8;if(!this['binSessionId'])throw new Error(_0x439243[_0xe2d744(0xf7)]);}['getModuleName'](){const _0x35fddd=a81_0x10ef3a;return this[_0x35fddd(0xe5)];}[a81_0x10ef3a(0xe3)](_0x39462d,_0x3263f0,_0xaf4c31,_0x56a878={}){const _0x4ba956=a81_0x10ef3a,_0x142142={};_0x142142[_0x4ba956(0xdc)]=_0x4ba956(0xfa);const _0x3968f7=_0x142142,_0x44d4a6=_0x3968f7[_0x4ba956(0xdc)][_0x4ba956(0xde)]('|');let _0xae5817=0x0;while(!![]){switch(_0x44d4a6[_0xae5817++]){case'0':this[_0x4ba956(0xe7)]=_0x3263f0;continue;case'1':this[_0x4ba956(0xf8)]=_0x56a878;continue;case'2':logger[_0x4ba956(0xf5)]('Configured\x20module\x20'+this[_0x4ba956(0xff)]()+_0x4ba956(0xe8)+_0x39462d+_0x4ba956(0xef)+_0x3263f0);continue;case'3':this[_0x4ba956(0x10b)]=_0xaf4c31;continue;case'4':this['binSessionId']=_0x39462d;continue;}break;}}['getTestId'](_0x500558){const _0x5ca5f6=a81_0x10ef3a,_0x485a36={};_0x485a36[_0x5ca5f6(0xea)]=function(_0x137538,_0x2b4b7e){return _0x137538===_0x2b4b7e;},_0x485a36['HZCDR']=function(_0x3c354c,_0x41625a){return _0x3c354c===_0x41625a;};const _0x1cdf22=_0x485a36;let _0x264b52='';if(_0x1cdf22[_0x5ca5f6(0xea)](_0x500558[_0x5ca5f6(0xfd)],FRAMEWORKS[_0x5ca5f6(0xf1)]))_0x264b52=_0x500558['testInfo']?.[_0x5ca5f6(0xe2)]?.['id']||_0x500558[_0x5ca5f6(0xf9)]?.[_0x5ca5f6(0x105)];else{if(_0x1cdf22['Tklqf'](_0x500558[_0x5ca5f6(0xfd)],FRAMEWORKS[_0x5ca5f6(0xfe)]))_0x264b52=_0x500558[_0x5ca5f6(0xf9)]?.[_0x5ca5f6(0xf6)];else _0x1cdf22[_0x5ca5f6(0xf3)](_0x500558['testFramework'],FRAMEWORKS[_0x5ca5f6(0xec)])&&(_0x264b52=_0x500558[_0x5ca5f6(0xf9)]?.['id']);}return _0x264b52;}[a81_0x10ef3a(0xf0)](_0x243b93){const _0x182eff=a81_0x10ef3a,_0x337b24={};_0x337b24['aLJlk']=function(_0x55aa8c,_0xcc88c3){return _0x55aa8c!==_0xcc88c3;},_0x337b24[_0x182eff(0x101)]='object';const _0xdba26f=_0x337b24;if(!_0x243b93||_0xdba26f[_0x182eff(0x103)](typeof _0x243b93,_0xdba26f[_0x182eff(0x101)]))return null;const _0x5f449f={};_0x5f449f[_0x182eff(0xe5)]=_0x243b93[_0x182eff(0xe5)],_0x5f449f[_0x182eff(0xfb)]=_0x243b93[_0x182eff(0xfb)]&&_0x243b93[_0x182eff(0xfb)][_0x243b93[_0x182eff(0xe5)]];const _0x43546f=_0x5f449f;return _0x43546f;}}module[a81_0x10ef3a(0xeb)]=BaseModule;
1
+ const a81_0x56ed3f=a81_0x5a47;(function(_0x42abb1,_0x500a60){const _0x4d29d9=a81_0x5a47,_0x5a9e84=_0x42abb1();while(!![]){try{const _0x34751b=parseInt(_0x4d29d9(0x131))/0x1+-parseInt(_0x4d29d9(0x137))/0x2*(-parseInt(_0x4d29d9(0x125))/0x3)+-parseInt(_0x4d29d9(0x148))/0x4+-parseInt(_0x4d29d9(0x130))/0x5*(-parseInt(_0x4d29d9(0x128))/0x6)+parseInt(_0x4d29d9(0x140))/0x7*(parseInt(_0x4d29d9(0x138))/0x8)+-parseInt(_0x4d29d9(0x147))/0x9+parseInt(_0x4d29d9(0x129))/0xa*(-parseInt(_0x4d29d9(0x136))/0xb);if(_0x34751b===_0x500a60)break;else _0x5a9e84['push'](_0x5a9e84['shift']());}catch(_0x3be376){_0x5a9e84['push'](_0x5a9e84['shift']());}}}(a81_0x3811,0x3fd3b));const logger=require(a81_0x56ed3f(0x14c))[a81_0x56ed3f(0x139)],{FRAMEWORKS}=require(a81_0x56ed3f(0x12c));function a81_0x3811(){const _0x4ea83e=['configure','CUCUMBER','Missing\x20binSessionId','2980285LfkpRU','getTestId','BaseModule','1|5|0|4|3|2','FZvyk','Configured\x20module\x20','client','1260927iVjgnV','822128LfNrck','UVxyr','nUtrl','3|2|1|4|0','../../../helpers/logger.js','dOIZj','ensureBinSession','testFramework','getModuleName','exports','binSessionId','name','crZBv','UFBry','57621iQFsQo','PLAYWRIGHT','object','2820RPkdsR','30020bvtnXR','toRBz','config','../../../helpers/test-observability/constants.js','platformIndex','JEST',',\x20platformIndex=','4540uMqIbk','466699bihwDQ','CNhkk','version','testFrameworkData','testInfo','3454KhXIZY','24Tcksnm','8srwmfx','winstonLogger','debug','split','setTestFrameworkData'];a81_0x3811=function(){return _0x4ea83e;};return a81_0x3811();}class BaseModule{constructor(_0xf5def=null){const _0x437f75=a81_0x56ed3f,_0x53a2d={};_0x53a2d[_0x437f75(0x149)]=_0x437f75(0x143),_0x53a2d[_0x437f75(0x132)]=_0x437f75(0x142);const _0x9e984f=_0x53a2d,_0x571f86=_0x9e984f[_0x437f75(0x149)][_0x437f75(0x13b)]('|');let _0x4eedeb=0x0;while(!![]){switch(_0x571f86[_0x4eedeb++]){case'0':this[_0x437f75(0x12d)]=0x0;continue;case'1':this[_0x437f75(0x122)]=_0x9e984f[_0x437f75(0x132)];continue;case'2':this[_0x437f75(0x134)]=this['setTestFrameworkData'](_0xf5def);continue;case'3':this[_0x437f75(0x146)]=null;continue;case'4':this[_0x437f75(0x12b)]={};continue;case'5':this[_0x437f75(0x121)]=null;continue;}break;}}[a81_0x56ed3f(0x14e)](){const _0x8753d8=a81_0x56ed3f,_0x18c940={};_0x18c940[_0x8753d8(0x123)]=_0x8753d8(0x13f);const _0x24d2ca=_0x18c940;if(!this[_0x8753d8(0x121)])throw new Error(_0x24d2ca['crZBv']);}[a81_0x56ed3f(0x11f)](){const _0x554ff2=a81_0x56ed3f;return this[_0x554ff2(0x122)];}[a81_0x56ed3f(0x13d)](_0x59da8b,_0x35b494,_0x4d2b3e,_0x2c8e56={}){const _0x5da0d3=a81_0x56ed3f,_0x3c8d71={};_0x3c8d71[_0x5da0d3(0x12a)]=_0x5da0d3(0x14b);const _0x4ff49f=_0x3c8d71,_0x321296=_0x4ff49f['toRBz'][_0x5da0d3(0x13b)]('|');let _0x4cea6b=0x0;while(!![]){switch(_0x321296[_0x4cea6b++]){case'0':logger[_0x5da0d3(0x13a)](_0x5da0d3(0x145)+this['getModuleName']()+'\x20with\x20binSessionId='+_0x59da8b+_0x5da0d3(0x12f)+_0x35b494);continue;case'1':this[_0x5da0d3(0x146)]=_0x4d2b3e;continue;case'2':this[_0x5da0d3(0x12d)]=_0x35b494;continue;case'3':this[_0x5da0d3(0x121)]=_0x59da8b;continue;case'4':this[_0x5da0d3(0x12b)]=_0x2c8e56;continue;}break;}}[a81_0x56ed3f(0x141)](_0x418dbc){const _0x319df8=a81_0x56ed3f,_0x3898ff={};_0x3898ff[_0x319df8(0x14a)]=function(_0x733e50,_0x3c30da){return _0x733e50===_0x3c30da;},_0x3898ff[_0x319df8(0x124)]=function(_0x1c38a0,_0x5449ff){return _0x1c38a0===_0x5449ff;};const _0x156a33=_0x3898ff;let _0x16242c='';if(_0x156a33[_0x319df8(0x14a)](_0x418dbc[_0x319df8(0x11e)],FRAMEWORKS[_0x319df8(0x126)]))_0x16242c=_0x418dbc[_0x319df8(0x135)]?.['_test']?.['id']||_0x418dbc[_0x319df8(0x135)]?.['testId'];else{if(_0x156a33[_0x319df8(0x14a)](_0x418dbc[_0x319df8(0x11e)],FRAMEWORKS[_0x319df8(0x13e)]))_0x16242c=_0x418dbc['testInfo']?.['testCaseStartedId'];else _0x156a33['UFBry'](_0x418dbc['testFramework'],FRAMEWORKS[_0x319df8(0x12e)])&&(_0x16242c=_0x418dbc[_0x319df8(0x135)]?.['id']);}return _0x16242c;}[a81_0x56ed3f(0x13c)](_0x1348c0){const _0x50460c=a81_0x56ed3f,_0x2c3b16={};_0x2c3b16[_0x50460c(0x14d)]=function(_0x35510e,_0xf0208a){return _0x35510e!==_0xf0208a;},_0x2c3b16['FZvyk']=_0x50460c(0x127);const _0x4dcb42=_0x2c3b16;if(!_0x1348c0||_0x4dcb42[_0x50460c(0x14d)](typeof _0x1348c0,_0x4dcb42[_0x50460c(0x144)]))return null;const _0x29913a={};_0x29913a[_0x50460c(0x122)]=_0x1348c0[_0x50460c(0x122)],_0x29913a['version']=_0x1348c0['version']&&_0x1348c0[_0x50460c(0x133)][_0x1348c0[_0x50460c(0x122)]];const _0x29d943=_0x29913a;return _0x29d943;}}function a81_0x5a47(_0x519980,_0x55ca85){const _0x381126=a81_0x3811();return a81_0x5a47=function(_0x5a4747,_0x22f7d3){_0x5a4747=_0x5a4747-0x11e;let _0x3493ec=_0x381126[_0x5a4747];return _0x3493ec;},a81_0x5a47(_0x519980,_0x55ca85);}module[a81_0x56ed3f(0x120)]=BaseModule;
@@ -1 +1 @@
1
- function a82_0x42ae(_0x2a2e71,_0x5caf14){const _0x4c2ce1=a82_0x4c2c();return a82_0x42ae=function(_0x42ae89,_0x3921ae){_0x42ae89=_0x42ae89-0x183;let _0x3437aa=_0x4c2ce1[_0x42ae89];return _0x3437aa;},a82_0x42ae(_0x2a2e71,_0x5caf14);}const a82_0x35283c=a82_0x42ae;(function(_0x2018d9,_0x1b1c5c){const _0x16811e=a82_0x42ae,_0x15f57b=_0x2018d9();while(!![]){try{const _0x10386a=-parseInt(_0x16811e(0x1ae))/0x1*(parseInt(_0x16811e(0x1ab))/0x2)+parseInt(_0x16811e(0x1aa))/0x3+parseInt(_0x16811e(0x193))/0x4*(parseInt(_0x16811e(0x189))/0x5)+parseInt(_0x16811e(0x192))/0x6*(-parseInt(_0x16811e(0x186))/0x7)+-parseInt(_0x16811e(0x1b7))/0x8*(parseInt(_0x16811e(0x19c))/0x9)+-parseInt(_0x16811e(0x191))/0xa*(parseInt(_0x16811e(0x18c))/0xb)+parseInt(_0x16811e(0x1b1))/0xc*(parseInt(_0x16811e(0x1a2))/0xd);if(_0x10386a===_0x1b1c5c)break;else _0x15f57b['push'](_0x15f57b['shift']());}catch(_0x5a2028){_0x15f57b['push'](_0x15f57b['shift']());}}}(a82_0x4c2c,0x6bec4));function a82_0x4c2c(){const _0x1dc4f2=['undefined','xkIwH','kgEBH','1262718qQQpaJ','213844GXeFAI','otqUQ','../../../helpers/helper.js','2vEaCAP','RhgIN','message','2011116iJcWoQ','toLowerCase','FmNsk','overrideLoadTesting','YoBxc','toString','232liXICe','OnUDj','TbWVe','getLTSSessionId','14jANWaR','xlgFH','LoadTestModule','1285QdvJTK','true','setLTSSessionId\x20error:\x20','143QZbJRa','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','env','error','browserstackAutomation','94500ALDYys','2368620UcNMye','12688gfvPVH','../../../helpers/classLogger.js','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','isLTSSession','LTS','BROWSERSTACK_LTS_SESSION_ID','string','vAeqN','EQVyI','156969RbmpYj','false','NPooI','ZOkhT','BROWSERSTACK_LTS_SESSION_ID\x20cleared','debug','65ptmtYA','UjuUm','setLTSSessionId','pOmVo','OAWpC'];a82_0x4c2c=function(){return _0x1dc4f2;};return a82_0x4c2c();}const {createClassLogger}=require(a82_0x35283c(0x194)),logger=createClassLogger(a82_0x35283c(0x188)),{sendSdkEvents}=require(a82_0x35283c(0x1ad)),isLTSSession=(_0x32d356=null)=>{const _0x540787=a82_0x35283c,_0x42d995={};_0x42d995[_0x540787(0x19b)]=function(_0x4d0aec,_0x2de0e7){return _0x4d0aec!==_0x2de0e7;},_0x42d995['ZOkhT']=_0x540787(0x1a7),_0x42d995['pOmVo']=function(_0x5a04ce,_0x5dda00){return _0x5a04ce===_0x5dda00;},_0x42d995[_0x540787(0x183)]=_0x540787(0x199),_0x42d995['otqUQ']=_0x540787(0x18a),_0x42d995['vAeqN']=function(_0x464cce,_0x570942){return _0x464cce===_0x570942;},_0x42d995[_0x540787(0x187)]=function(_0x1b359f,_0x167160){return _0x1b359f===_0x167160;},_0x42d995[_0x540787(0x1b5)]=_0x540787(0x19d);const _0x2ee2e7=_0x42d995;try{if(_0x2ee2e7[_0x540787(0x19b)](typeof process[_0x540787(0x18e)][_0x540787(0x1b4)],_0x2ee2e7[_0x540787(0x19f)])){const _0x12336f=process[_0x540787(0x18e)]['overrideLoadTesting'];return _0x2ee2e7[_0x540787(0x1a5)](typeof _0x12336f,_0x2ee2e7[_0x540787(0x183)])?_0x2ee2e7[_0x540787(0x1a5)](_0x12336f[_0x540787(0x1b2)](),_0x2ee2e7['otqUQ']):!!_0x12336f;}const _0x29cd88=_0x32d356&&_0x32d356['overrideLoadTesting'],_0x48955e=!!(_0x32d356&&(_0x2ee2e7['vAeqN'](_0x32d356['browserstackAutomation'],!![])||_0x2ee2e7[_0x540787(0x19a)](_0x32d356[_0x540787(0x190)],_0x2ee2e7[_0x540787(0x1ac)]))),_0x59fbe6=!!(_0x29cd88&&_0x2ee2e7[_0x540787(0x187)](_0x29cd88[_0x540787(0x1b6)]()[_0x540787(0x1b2)](),_0x2ee2e7[_0x540787(0x1ac)])&&!_0x48955e);return process['env']['overrideLoadTesting']=_0x59fbe6?_0x2ee2e7[_0x540787(0x1ac)]:_0x2ee2e7[_0x540787(0x1b5)],_0x59fbe6;}catch(_0x1a329e){return process[_0x540787(0x18e)][_0x540787(0x1b4)]=_0x2ee2e7['YoBxc'],![];}},getLTSSessionId=()=>{const _0x1d2a6f=a82_0x35283c,_0x535eb0={'MZWJa':function(_0x3121ea){return _0x3121ea();},'RhgIN':'LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','TbWVe':'LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id'};try{if(_0x535eb0['MZWJa'](isLTSSession))return logger[_0x1d2a6f(0x1a1)](_0x535eb0[_0x1d2a6f(0x1af)]),process['env'][_0x1d2a6f(0x198)]||'';}catch(_0x32e2fa){logger[_0x1d2a6f(0x18f)](_0x1d2a6f(0x18d)+(_0x32e2fa&&_0x32e2fa['message']));}return logger[_0x1d2a6f(0x1a1)](_0x535eb0[_0x1d2a6f(0x184)]),'';},setLTSSessionId=async(_0x3d6275={})=>{const _0x6adec5=a82_0x35283c,_0x643588={'UjuUm':function(_0x3018a4){return _0x3018a4();},'FmNsk':_0x6adec5(0x195),'kgEBH':_0x6adec5(0x1a0),'OAWpC':_0x6adec5(0x197),'xkIwH':function(_0x3112be,_0x3c9e41){return _0x3112be(_0x3c9e41);},'NPooI':function(_0x3ee04b,_0x16bec1,_0x382448){return _0x3ee04b(_0x16bec1,_0x382448);},'pbLAl':function(_0x2bcca6,_0xf4b1fb){return _0x2bcca6||_0xf4b1fb;}};try{const _0x4f2b82=_0x643588[_0x6adec5(0x1a3)](getLTSSessionId);_0x4f2b82?(process[_0x6adec5(0x18e)]['BROWSERSTACK_LTS_SESSION_ID']=_0x4f2b82,logger[_0x6adec5(0x1a1)](_0x643588[_0x6adec5(0x1b3)])):(delete process[_0x6adec5(0x18e)][_0x6adec5(0x198)],logger[_0x6adec5(0x1a1)](_0x643588[_0x6adec5(0x1a9)]));try{const _0xa612c4={'feature':_0x643588[_0x6adec5(0x1a6)],'ltsEnabled':_0x643588[_0x6adec5(0x1a8)](isLTSSession,_0x3d6275),'ltsSessionIdPresent':!!_0x4f2b82};await _0x643588[_0x6adec5(0x19e)](sendSdkEvents,_0xa612c4,_0x3d6275);}catch(_0x277bbb){logger[_0x6adec5(0x1a1)]('Failed\x20to\x20record\x20LTS\x20telemetry:\x20'+(_0x277bbb&&_0x277bbb['message']));}return _0x643588['pbLAl'](_0x4f2b82,'');}catch(_0x1d4fdf){return logger[_0x6adec5(0x1a1)](_0x6adec5(0x18b)+(_0x1d4fdf&&_0x1d4fdf[_0x6adec5(0x1b0)])),'';}},a82_0x207b19={};a82_0x207b19[a82_0x35283c(0x196)]=isLTSSession,a82_0x207b19[a82_0x35283c(0x185)]=getLTSSessionId,a82_0x207b19[a82_0x35283c(0x1a4)]=setLTSSessionId,module['exports']=a82_0x207b19;
1
+ function a82_0x1acc(){const _0x118f97=['7455816iqTGVc','XbDhG','7naCHzM','toLowerCase','aijAA','setLTSSessionId\x20error:\x20','exports','1658355ezojXK','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','browserstackAutomation','undefined','fqSev','39308cikgmI','message','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','7550UqxNll','LoadTestModule','string','581155VcoSQG','hCgOp','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','overrideLoadTesting','GrQOH','Wqjns','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','sTlJn','BROWSERSTACK_LTS_SESSION_ID','BROWSERSTACK_LTS_SESSION_ID\x20cleared','YdCPx','fzcyB','aOtQN','8xmZHlI','debug','true','11ivmTPl','env','6117536KxRPNy','toString','setLTSSessionId','uORnL','BpSqL','error','LTS','15057LJhOQw','FXGvS','../../../helpers/helper.js','getLTSSessionId','ArbRY','64JzbYgQ','6411762qQUrVx','qSrQn'];a82_0x1acc=function(){return _0x118f97;};return a82_0x1acc();}function a82_0x2bf1(_0x45b102,_0x2c3f64){const _0x1accb4=a82_0x1acc();return a82_0x2bf1=function(_0x2bf108,_0xd400f){_0x2bf108=_0x2bf108-0x139;let _0x196591=_0x1accb4[_0x2bf108];return _0x196591;},a82_0x2bf1(_0x45b102,_0x2c3f64);}const a82_0x5b9427=a82_0x2bf1;(function(_0x1f69fb,_0x52a987){const _0x4d4667=a82_0x2bf1,_0x8874bd=_0x1f69fb();while(!![]){try{const _0x50e9b4=parseInt(_0x4d4667(0x139))/0x1*(parseInt(_0x4d4667(0x14c))/0x2)+parseInt(_0x4d4667(0x167))/0x3+parseInt(_0x4d4667(0x15d))/0x4*(parseInt(_0x4d4667(0x13f))/0x5)+-parseInt(_0x4d4667(0x15e))/0x6*(-parseInt(_0x4d4667(0x162))/0x7)+-parseInt(_0x4d4667(0x151))/0x8+parseInt(_0x4d4667(0x158))/0x9*(-parseInt(_0x4d4667(0x13c))/0xa)+-parseInt(_0x4d4667(0x14f))/0xb*(parseInt(_0x4d4667(0x160))/0xc);if(_0x50e9b4===_0x52a987)break;else _0x8874bd['push'](_0x8874bd['shift']());}catch(_0x45d26d){_0x8874bd['push'](_0x8874bd['shift']());}}}(a82_0x1acc,0xf181f));const {createClassLogger}=require('../../../helpers/classLogger.js'),logger=createClassLogger(a82_0x5b9427(0x13d)),{sendSdkEvents}=require(a82_0x5b9427(0x15a)),isLTSSession=(_0x519aea=null)=>{const _0x593ae4=a82_0x5b9427,_0x39b073={};_0x39b073[_0x593ae4(0x15f)]=function(_0x596749,_0x5005a4){return _0x596749!==_0x5005a4;},_0x39b073[_0x593ae4(0x161)]=_0x593ae4(0x16a),_0x39b073[_0x593ae4(0x144)]=function(_0x40dbe6,_0x110706){return _0x40dbe6===_0x110706;},_0x39b073[_0x593ae4(0x164)]=_0x593ae4(0x13e),_0x39b073[_0x593ae4(0x16b)]=function(_0x222ccd,_0x24d9b9){return _0x222ccd===_0x24d9b9;},_0x39b073[_0x593ae4(0x159)]=_0x593ae4(0x14e),_0x39b073[_0x593ae4(0x146)]=function(_0x24a56f,_0x1f094a){return _0x24a56f===_0x1f094a;},_0x39b073[_0x593ae4(0x143)]='false';const _0x520ca8=_0x39b073;try{if(_0x520ca8[_0x593ae4(0x15f)](typeof process['env'][_0x593ae4(0x142)],_0x520ca8['XbDhG'])){const _0x329717=process[_0x593ae4(0x150)][_0x593ae4(0x142)];return _0x520ca8[_0x593ae4(0x144)](typeof _0x329717,_0x520ca8[_0x593ae4(0x164)])?_0x520ca8['fqSev'](_0x329717[_0x593ae4(0x163)](),_0x520ca8[_0x593ae4(0x159)]):!!_0x329717;}const _0x276471=_0x519aea&&_0x519aea[_0x593ae4(0x142)],_0x25aabd=!!(_0x519aea&&(_0x520ca8[_0x593ae4(0x144)](_0x519aea['browserstackAutomation'],!![])||_0x520ca8[_0x593ae4(0x146)](_0x519aea[_0x593ae4(0x169)],_0x520ca8[_0x593ae4(0x159)]))),_0x985bfa=!!(_0x276471&&_0x520ca8[_0x593ae4(0x16b)](_0x276471[_0x593ae4(0x152)]()[_0x593ae4(0x163)](),_0x520ca8[_0x593ae4(0x159)])&&!_0x25aabd);return process[_0x593ae4(0x150)][_0x593ae4(0x142)]=_0x985bfa?_0x520ca8[_0x593ae4(0x159)]:_0x520ca8[_0x593ae4(0x143)],_0x985bfa;}catch(_0x577a6b){return process[_0x593ae4(0x150)][_0x593ae4(0x142)]=_0x520ca8[_0x593ae4(0x143)],![];}},getLTSSessionId=()=>{const _0x3d35b2=a82_0x5b9427,_0x4c829e={'fzcyB':function(_0x4dd85f){return _0x4dd85f();},'JeBhu':_0x3d35b2(0x141),'aOtQN':_0x3d35b2(0x145)};try{if(_0x4c829e[_0x3d35b2(0x14a)](isLTSSession))return logger['debug'](_0x4c829e['JeBhu']),process[_0x3d35b2(0x150)][_0x3d35b2(0x147)]||'';}catch(_0x28e568){logger[_0x3d35b2(0x156)](_0x3d35b2(0x13b)+(_0x28e568&&_0x28e568[_0x3d35b2(0x13a)]));}return logger[_0x3d35b2(0x14d)](_0x4c829e[_0x3d35b2(0x14b)]),'';},setLTSSessionId=async(_0x47808f={})=>{const _0x5f48dd=a82_0x5b9427,_0x419230={'ArbRY':function(_0x4d2e51){return _0x4d2e51();},'YdCPx':'BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','uORnL':_0x5f48dd(0x148),'VWPYJ':_0x5f48dd(0x157),'hCgOp':function(_0x4b2fa3,_0xa676ad){return _0x4b2fa3(_0xa676ad);},'FtfNV':function(_0x1a3a2c,_0x58711c,_0x116629){return _0x1a3a2c(_0x58711c,_0x116629);},'BpSqL':function(_0x29eae0,_0x5053d2){return _0x29eae0||_0x5053d2;}};try{const _0x28a9b0=_0x419230[_0x5f48dd(0x15c)](getLTSSessionId);_0x28a9b0?(process[_0x5f48dd(0x150)][_0x5f48dd(0x147)]=_0x28a9b0,logger[_0x5f48dd(0x14d)](_0x419230[_0x5f48dd(0x149)])):(delete process['env']['BROWSERSTACK_LTS_SESSION_ID'],logger[_0x5f48dd(0x14d)](_0x419230[_0x5f48dd(0x154)]));try{const _0x17f127={'feature':_0x419230['VWPYJ'],'ltsEnabled':_0x419230[_0x5f48dd(0x140)](isLTSSession,_0x47808f),'ltsSessionIdPresent':!!_0x28a9b0};await _0x419230['FtfNV'](sendSdkEvents,_0x17f127,_0x47808f);}catch(_0x2c41d4){logger[_0x5f48dd(0x14d)](_0x5f48dd(0x168)+(_0x2c41d4&&_0x2c41d4[_0x5f48dd(0x13a)]));}return _0x419230[_0x5f48dd(0x155)](_0x28a9b0,'');}catch(_0x42bf52){return logger[_0x5f48dd(0x14d)](_0x5f48dd(0x165)+(_0x42bf52&&_0x42bf52[_0x5f48dd(0x13a)])),'';}},a82_0x348f7a={};a82_0x348f7a['isLTSSession']=isLTSSession,a82_0x348f7a[a82_0x5b9427(0x15b)]=getLTSSessionId,a82_0x348f7a[a82_0x5b9427(0x153)]=setLTSSessionId,module[a82_0x5b9427(0x166)]=a82_0x348f7a;
@@ -1 +1 @@
1
- const a83_0x550686=a83_0xf26f;function a83_0x45d7(){const _0x28e8df=['\x20sync\x20done','NnipQ','../framework/automationFramework.js','./baseModule','aQaGV','ObservabilitySync:','TEST_REPORTING_ANALYTICS','end','logger','../../../helpers/performance/constants.js','exports','../../utils/constants.js','MODULE_NAME','ObservabilityModule','info','YUtaA','2266416ONPaIt','127000CVDRIl','1053sXVLgz','observabilityConfig','name','debug','../../../helpers/performance/performance-tester.js','start','onBeforeTest','3148176FvhlkX','5OsQlKu','CREATE','SYNC','70TnKNkt','4530900VJEDfv','getModuleName','uAqxA','onBeforeTest:\x20page\x20is\x20not\x20defined','153390geWJFs','447677zkCsTA','1888648TbqCpp'];a83_0x45d7=function(){return _0x28e8df;};return a83_0x45d7();}(function(_0x23ce78,_0x28faf5){const _0x8fe766=a83_0xf26f,_0x2e7b9e=_0x23ce78();while(!![]){try{const _0x11e8c2=parseInt(_0x8fe766(0x14c))/0x1+parseInt(_0x8fe766(0x14d))/0x2+parseInt(_0x8fe766(0x147))/0x3+-parseInt(_0x8fe766(0x139))/0x4+parseInt(_0x8fe766(0x143))/0x5*(parseInt(_0x8fe766(0x142))/0x6)+-parseInt(_0x8fe766(0x146))/0x7*(parseInt(_0x8fe766(0x13a))/0x8)+-parseInt(_0x8fe766(0x13b))/0x9*(parseInt(_0x8fe766(0x14b))/0xa);if(_0x11e8c2===_0x28faf5)break;else _0x2e7b9e['push'](_0x2e7b9e['shift']());}catch(_0x131a94){_0x2e7b9e['push'](_0x2e7b9e['shift']());}}}(a83_0x45d7,0xdd6e4));const BaseModule=require(a83_0x550686(0x151)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require(a83_0x550686(0x150)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require(a83_0x550686(0x13f)),{O11y_EVENTS}=require(a83_0x550686(0x157)),constants=require(a83_0x550686(0x159));function a83_0xf26f(_0x201066,_0x54ae98){const _0x45d76d=a83_0x45d7();return a83_0xf26f=function(_0xf26f51,_0xa7dd80){_0xf26f51=_0xf26f51-0x139;let _0x2514b3=_0x45d76d[_0xf26f51];return _0x2514b3;},a83_0xf26f(_0x201066,_0x54ae98);}class ObservabilityModule extends BaseModule{[a83_0x550686(0x156)]=createClassLogger(a83_0x550686(0x15b));constructor(_0xa39718){const _0x35340a=a83_0x550686,_0x93d3d1={};_0x93d3d1['ATFcD']=_0x35340a(0x15b);const _0x3d33d8=_0x93d3d1;super(),this[_0x35340a(0x13d)]=_0x3d33d8['ATFcD'],this[_0x35340a(0x13c)]=_0xa39718,AutomationFramework['registerObserver'](AutomationFrameworkState[_0x35340a(0x144)],HookState['POST'],this[_0x35340a(0x141)]['bind'](this));}[a83_0x550686(0x148)](){const _0x1496fa=a83_0x550686;return ObservabilityModule[_0x1496fa(0x15a)];}async['onBeforeTest'](_0x78780e){const _0x114211=a83_0x550686,_0x5f3e63={'IZcBI':function(_0x473969,_0x3ea5f8){return _0x473969+_0x3ea5f8;},'YUtaA':_0x114211(0x153),'uAqxA':function(_0x3b2636,_0x5a84a2,_0x18464b,_0x3bc930){return _0x3b2636(_0x5a84a2,_0x18464b,_0x3bc930);},'NnipQ':_0x114211(0x13e),'aQaGV':_0x114211(0x14a)};if(_0x78780e['page']){const _0x23eb2b=_0x78780e['page'],_0x3cb33e=Date['now'](),_0x27164d=_0x5f3e63['IZcBI'](_0x5f3e63[_0x114211(0x15d)],_0x3cb33e);PerformanceTester[_0x114211(0x140)](O11y_EVENTS[_0x114211(0x145)]),await _0x5f3e63[_0x114211(0x149)](playwrightAnnotate,_0x23eb2b,_0x27164d,_0x5f3e63[_0x114211(0x14f)]),PerformanceTester[_0x114211(0x155)](O11y_EVENTS['SYNC']),this[_0x114211(0x156)][_0x114211(0x15c)]('onBeforeTest:\x20'+constants[_0x114211(0x154)]+_0x114211(0x14e));}else this[_0x114211(0x156)][_0x114211(0x13e)](_0x5f3e63[_0x114211(0x152)]);}}ObservabilityModule[a83_0x550686(0x15a)]=a83_0x550686(0x15b),module[a83_0x550686(0x158)]=ObservabilityModule;
1
+ function a83_0x68e2(_0x2dd2c5,_0x48d921){const _0xb59711=a83_0xb597();return a83_0x68e2=function(_0x68e244,_0x570635){_0x68e244=_0x68e244-0xf6;let _0x4b4c2b=_0xb59711[_0x68e244];return _0x4b4c2b;},a83_0x68e2(_0x2dd2c5,_0x48d921);}const a83_0x5dd6a8=a83_0x68e2;(function(_0x4603b6,_0x473bf0){const _0x2cde20=a83_0x68e2,_0x368f30=_0x4603b6();while(!![]){try{const _0x577120=parseInt(_0x2cde20(0x103))/0x1+-parseInt(_0x2cde20(0x10f))/0x2*(parseInt(_0x2cde20(0x116))/0x3)+-parseInt(_0x2cde20(0x11d))/0x4*(parseInt(_0x2cde20(0xfd))/0x5)+parseInt(_0x2cde20(0x10d))/0x6*(parseInt(_0x2cde20(0x112))/0x7)+-parseInt(_0x2cde20(0x101))/0x8+parseInt(_0x2cde20(0x11c))/0x9+parseInt(_0x2cde20(0x111))/0xa*(-parseInt(_0x2cde20(0x11f))/0xb);if(_0x577120===_0x473bf0)break;else _0x368f30['push'](_0x368f30['shift']());}catch(_0x3c0452){_0x368f30['push'](_0x368f30['shift']());}}}(a83_0xb597,0x512be));const BaseModule=require('./baseModule'),{createClassLogger}=require(a83_0x5dd6a8(0x11b)),AutomationFramework=require(a83_0x5dd6a8(0x120)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a83_0x5dd6a8(0x105)),{playwrightAnnotate}=require(a83_0x5dd6a8(0xff)),PerformanceTester=require(a83_0x5dd6a8(0x104)),{O11y_EVENTS}=require(a83_0x5dd6a8(0x113)),constants=require('../../utils/constants.js');function a83_0xb597(){const _0x102fd5=['9930zNRjET','168UjdzFC','../../../helpers/performance/constants.js','start','onBeforeTest','375GsMuvU','now','CREATE','exports','\x20sync\x20done','../../../helpers/classLogger.js','4133916FtMGUw','2332132oQCWkr','observabilityConfig','4477jhLHKs','../framework/automationFramework.js','bind','onBeforeTest:\x20','registerObserver','fHwON','info','ObservabilityModule','POST','5JXNGey','ivgSj','../../../helpers/helper.js','page','170432FGncLV','yTLaE','363149VGNgOa','../../../helpers/performance/performance-tester.js','../state/hookState.js','SYNC','sHSZc','getModuleName','ObservabilitySync:','name','end','logger','148842KPYSjr','kMqJC','1230HKxJzR','debug'];a83_0xb597=function(){return _0x102fd5;};return a83_0xb597();}class ObservabilityModule extends BaseModule{[a83_0x5dd6a8(0x10c)]=createClassLogger(a83_0x5dd6a8(0xfb));constructor(_0xa5b11e){const _0x42bd5a=a83_0x5dd6a8,_0x17b713={};_0x17b713[_0x42bd5a(0xf9)]='ObservabilityModule';const _0x5d2bad=_0x17b713;super(),this[_0x42bd5a(0x10a)]=_0x5d2bad[_0x42bd5a(0xf9)],this[_0x42bd5a(0x11e)]=_0xa5b11e,AutomationFramework[_0x42bd5a(0xf8)](AutomationFrameworkState[_0x42bd5a(0x118)],HookState[_0x42bd5a(0xfc)],this[_0x42bd5a(0x115)][_0x42bd5a(0xf6)](this));}[a83_0x5dd6a8(0x108)](){return ObservabilityModule['MODULE_NAME'];}async[a83_0x5dd6a8(0x115)](_0x1525c2){const _0x157012=a83_0x5dd6a8,_0x2dee2e={'kMqJC':function(_0x4efeba,_0x5628de){return _0x4efeba+_0x5628de;},'ivgSj':_0x157012(0x109),'sHSZc':function(_0xa5aa98,_0x118cbe,_0x4551c3,_0x1ab905){return _0xa5aa98(_0x118cbe,_0x4551c3,_0x1ab905);},'Ylodt':_0x157012(0x110),'yTLaE':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x1525c2[_0x157012(0x100)]){const _0x31dfbb=_0x1525c2[_0x157012(0x100)],_0x27cd55=Date[_0x157012(0x117)](),_0x196fcb=_0x2dee2e[_0x157012(0x10e)](_0x2dee2e[_0x157012(0xfe)],_0x27cd55);PerformanceTester[_0x157012(0x114)](O11y_EVENTS[_0x157012(0x106)]),await _0x2dee2e[_0x157012(0x107)](playwrightAnnotate,_0x31dfbb,_0x196fcb,_0x2dee2e['Ylodt']),PerformanceTester[_0x157012(0x10b)](O11y_EVENTS[_0x157012(0x106)]),this[_0x157012(0x10c)][_0x157012(0xfa)](_0x157012(0xf7)+constants['TEST_REPORTING_ANALYTICS']+_0x157012(0x11a));}else this[_0x157012(0x10c)][_0x157012(0x110)](_0x2dee2e[_0x157012(0x102)]);}}ObservabilityModule['MODULE_NAME']='ObservabilityModule',module[a83_0x5dd6a8(0x119)]=ObservabilityModule;
@@ -1 +1 @@
1
- function a84_0x14e2(){const _0x5d3211=['../state/automationFrameworkState.js','testInfo','registerObserver','clyyl','getTestIdentifierFromTestInfo','WQVAJ','arguments','result','error','KEY_TEST_FRAMEWORK_VERSION','info','pickle','__workerDetails','YXhaE','onAfterDriverCreate:\x20Setting\x20page\x20object','onPlaywrightDispatch','\x20||\x20','getTestUUID','DvchP','setSessionName','rCEtX','passed','Error\x20in\x20onAfterDriverCreate:\x20','markSessionStatus','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','fdsDk','sjkEV','../framework/automationFramework.js','../../../helpers/classLogger.js','EXECUTE','../../../helpers/helper.js','gherkinDocument','EBqsY','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','wwXfZ','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','start','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','KEY_PAGE_OBJECT','../state/hookState.js','5|1|2|3|9|4|0|7|6|8|11|10','isTrue','with\x20','lFCbD','8879453Tuvsge','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','../framework/constants/testFrameworkConstants.js','Playwright','bind','PRE','getLTSSessionId','onAfterDriverCreate:\x20Setting\x20context\x20object','mTlQH','AdKQw','KEY_TEST_ID','TFdEQ','driverInit','../state/testFrameworkState','platforms','workerInfo','519309iLxUKW','getRef','BBZDW','../../../helpers/performance/constants.js','context','LxGPA','toString','version','ZUjmC','xCgSo','SzgiP','shouldSkipSessionStatus','platformIndex','./baseModule','inspect','onBeforeDriverCreate','capabilities','stringify','util','getConfig','onAfterDriverCreate','debug','szmWF','jestUtils','Error\x20in\x20onBeforeDriverCreate:\x20','XzYvh','KEY_PLATFORM_DETAILS','JPEYD','browserObject','name','mIxYi','onDispatchExecute:\x20Playwright\x20sessionId:\x20','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','bUOVW','Automation\x20onAfterTest:\x20Test\x20status:\x20','recreateIdentifierFromTestInfo','KEY_HUB_URL','errors','shouldSkipSessionName','sUaIt','580948isdeZO','base64','onAfterDriverCreate:\x20Setting\x20browser\x20object','1.51.0','nqurF','getState','platformDetails','AUTOMATE_EVENTS','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','iAKBU','JczAY','10470901RkUpjc','keys','KEY_SESSION_ID','end','KEY_BROWSER_OBJECT','GDJhf','getThreadId','ZKben','CREATE','39CdDPUd','length','test_identifier','Error\x20in\x20markSessionName:\x20','pageObject','sessionId','bsParams','8dAgOPN','291032bCxMxT','from','split','wlkfm','markSessionName','KEY_PLATFORM_INDEX','KEY_CONTEXT_OBJECT','10EmtBoR','eYSIc','4936278HoRuBC','cXEFh','setState','\x20failure\x20reason:\x20','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','isBrowserstackInfra','20BGavHp','lOyFP','CUCUMBER','../../../helpers/performance/performance-tester.js','YxqUh','getDetails','testFrameworkData','93598jfzXSs','parallelIndex','CMvDf','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','DWVeJ','aZDTk','../../../helpers/test-observability/utils','ifOmM','getContext','browserName','bStackParams','getTestDetails','getProcessId','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','../browserstackCLI.js','getTrackedInstance','PLAYWRIGHT_DISPATCH','markSessionStatus:\x20Marking\x20session\x20status','testId:\x20','reason','launchcaps','getInstance','contextObject','testRunId','instance','ioIZW','KEY_TEST_FRAMEWORK_NAME','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','cAbaa','getModuleName','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','PlaywrightDriverModule','SESSION_STATUS','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','abwPC','zhqCL','logger','page',',\x20test_identifier:\x20','JEST','../grpcClient.js','SESSION_NAME','status','message','../utils/jest-utils.js','playwrightVersion','KEY_CAPABILITIES','KDTIF','MODULE_NAME','params','gJvkB','Error\x20in\x20onDispatchExecute:\x20','NptKC','action','getId','../cliUtils.js','retry','setSessionStatus','POST','format'];a84_0x14e2=function(){return _0x5d3211;};return a84_0x14e2();}function a84_0x371f(_0xea800e,_0x1d48ed){const _0x14e2cd=a84_0x14e2();return a84_0x371f=function(_0x371fd5,_0x3922cf){_0x371fd5=_0x371fd5-0x12e;let _0x8fc1a7=_0x14e2cd[_0x371fd5];return _0x8fc1a7;},a84_0x371f(_0xea800e,_0x1d48ed);}const a84_0x3dc217=a84_0x371f;(function(_0x4b0ec2,_0x53eb46){const _0xc27caa=a84_0x371f,_0x3729f4=_0x4b0ec2();while(!![]){try{const _0x19f6ed=-parseInt(_0xc27caa(0x1e8))/0x1+parseInt(_0xc27caa(0x1fe))/0x2*(parseInt(_0xc27caa(0x1e0))/0x3)+-parseInt(_0xc27caa(0x1cc))/0x4*(parseInt(_0xc27caa(0x1ef))/0x5)+parseInt(_0xc27caa(0x1f1))/0x6+parseInt(_0xc27caa(0x1d7))/0x7+-parseInt(_0xc27caa(0x1e7))/0x8*(-parseInt(_0xc27caa(0x1a4))/0x9)+parseInt(_0xc27caa(0x1f7))/0xa*(-parseInt(_0xc27caa(0x194))/0xb);if(_0x19f6ed===_0x53eb46)break;else _0x3729f4['push'](_0x3729f4['shift']());}catch(_0x40ad09){_0x3729f4['push'](_0x3729f4['shift']());}}}(a84_0x14e2,0xc08d4));const util=require(a84_0x3dc217(0x1b6)),BaseModule=require(a84_0x3dc217(0x1b1)),{createClassLogger}=require(a84_0x3dc217(0x184)),{getFrameworkVersion}=require(a84_0x3dc217(0x132)),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require(a84_0x3dc217(0x183)),AutomationFrameworkState=require(a84_0x3dc217(0x168)),HookState=require(a84_0x3dc217(0x18f)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require('../../../helpers/helper.js'),CLIUtils=require(a84_0x3dc217(0x163)),BrowserstackCLI=require(a84_0x3dc217(0x13a)),GrpcClient=require(a84_0x3dc217(0x154)),PerformanceTester=require(a84_0x3dc217(0x1fa)),PerformanceEvents=require(a84_0x3dc217(0x1a7))[a84_0x3dc217(0x1d3)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider,getProductForSession}=require(a84_0x3dc217(0x186)),LoadTestModule=require('./loadTestModule.js'),TestFrameworkConstants=require(a84_0x3dc217(0x196)),TestFrameworkState=require(a84_0x3dc217(0x1a1)),JestUtils=require(a84_0x3dc217(0x158)),PlaywrightSessionDetails=require('../../playwright/sessionDetails');class PlaywrightDriverModule extends BaseModule{static [a84_0x3dc217(0x1db)]=a84_0x3dc217(0x1c0);static [a84_0x3dc217(0x1ee)]=a84_0x3dc217(0x142);static [a84_0x3dc217(0x18e)]=a84_0x3dc217(0x1e4);static ['KEY_SESSION_ID']=a84_0x3dc217(0x1e5);static [a84_0x3dc217(0x1ed)]=a84_0x3dc217(0x1b0);static [a84_0x3dc217(0x15a)]=a84_0x3dc217(0x1b4);static ['KEY_HUB_URL']='hubUrl';static [a84_0x3dc217(0x1be)]=a84_0x3dc217(0x1d2);static [a84_0x3dc217(0x19e)]='testId';[a84_0x3dc217(0x150)]=createClassLogger(a84_0x3dc217(0x14b));constructor(_0x2134c1=null){const _0x51b271=a84_0x3dc217,_0x4ce193={};_0x4ce193[_0x51b271(0x1ad)]=_0x51b271(0x190),_0x4ce193['JPEYD']=_0x51b271(0x14b);const _0x2dd232=_0x4ce193,_0x3ab98a=_0x2dd232[_0x51b271(0x1ad)][_0x51b271(0x1ea)]('|');let _0x4057f2=0x0;while(!![]){switch(_0x3ab98a[_0x4057f2++]){case'0':this[_0x51b271(0x143)]=null;continue;case'1':this[_0x51b271(0x1c1)]=_0x2dd232[_0x51b271(0x1bf)];continue;case'2':this['playwrightVersion']=null;continue;case'3':this[_0x51b271(0x135)]=null;continue;case'4':this[_0x51b271(0x1a2)]=[];continue;case'5':super(_0x2134c1);continue;case'6':AutomationFramework[_0x51b271(0x16a)](AutomationFrameworkState['CREATE'],HookState[_0x51b271(0x199)],this[_0x51b271(0x1b3)][_0x51b271(0x198)](this));continue;case'7':this[_0x51b271(0x1bb)]=new JestUtils();continue;case'8':AutomationFramework[_0x51b271(0x16a)](AutomationFrameworkState[_0x51b271(0x1df)],HookState['POST'],this[_0x51b271(0x1b8)][_0x51b271(0x198)](this));continue;case'9':this['browserVersion']=null;continue;case'10':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x51b271(0x185)],HookState['POST'],this['onAfterTest'][_0x51b271(0x198)](this));continue;case'11':AutomationFramework[_0x51b271(0x16a)](AutomationFrameworkState[_0x51b271(0x13c)],HookState[_0x51b271(0x166)],this[_0x51b271(0x177)]['bind'](this));continue;}break;}}[a84_0x3dc217(0x149)](){const _0x37ff52=a84_0x3dc217;return PlaywrightDriverModule[_0x37ff52(0x15c)];}async[a84_0x3dc217(0x1b3)](_0x32bf3e){const _0x43c2da=a84_0x3dc217,_0x2b2ce0={};_0x2b2ce0[_0x43c2da(0x18a)]=_0x43c2da(0x1d4);const _0x195038=_0x2b2ce0;try{this[_0x43c2da(0x150)][_0x43c2da(0x1b9)](_0x195038[_0x43c2da(0x18a)]);const _0x435b77=_0x32bf3e[_0x43c2da(0x140)],_0x31c8d8=_0x32bf3e['hubUrl'];AutomationFramework[_0x43c2da(0x1f3)](_0x32bf3e[_0x43c2da(0x144)],PlaywrightDriverModule['KEY_CAPABILITIES'],_0x435b77),AutomationFramework[_0x43c2da(0x1f3)](_0x32bf3e[_0x43c2da(0x144)],PlaywrightDriverModule[_0x43c2da(0x1c8)],_0x31c8d8);}catch(_0x531370){this[_0x43c2da(0x150)][_0x43c2da(0x170)](_0x43c2da(0x1bc)+util['format'](_0x531370));}}async['onPlaywrightDispatch'](_0x3c351e){const _0x5ef329=a84_0x3dc217,_0x17129d={};_0x17129d[_0x5ef329(0x19f)]=function(_0x423869,_0xf31f9c){return _0x423869||_0xf31f9c;};const _0x410818=_0x17129d;try{const _0x1dc3c9=_0x3c351e?.[_0x5ef329(0x157)]&&_0x3c351e?.['message']?.['params']&&_0x3c351e?.[_0x5ef329(0x157)]?.[_0x5ef329(0x15d)]?.[_0x5ef329(0x1e6)],_0x962a22=_0x3c351e?.[_0x5ef329(0x157)]&&_0x3c351e?.[_0x5ef329(0x157)]?.[_0x5ef329(0x136)];if(_0x410818['TFdEQ'](_0x1dc3c9,_0x962a22)){this[_0x5ef329(0x150)][_0x5ef329(0x1b9)](_0x5ef329(0x180)+util[_0x5ef329(0x1b2)](_0x1dc3c9)+_0x5ef329(0x178)+util['inspect'](_0x962a22));const _0x277e28=_0x3c351e?.[_0x5ef329(0x144)],_0x5dcce6=global?.[_0x5ef329(0x174)]?.[_0x5ef329(0x1a3)]?.[_0x5ef329(0x1ff)],_0x556cf4=_0x1dc3c9?.[_0x5ef329(0x1e5)]||_0x962a22?.[_0x5ef329(0x1e5)],_0x1fed92=_0x1dc3c9?.['platformDetails']||_0x962a22?.[_0x5ef329(0x1d2)];_0x556cf4&&(this[_0x5ef329(0x150)][_0x5ef329(0x1b9)](_0x5ef329(0x1c3)+_0x556cf4),AutomationFramework[_0x5ef329(0x1f3)](_0x277e28,PlaywrightDriverModule[_0x5ef329(0x1d9)],_0x556cf4)),_0x5dcce6&&(this[_0x5ef329(0x150)][_0x5ef329(0x1b9)](_0x5ef329(0x139)+util[_0x5ef329(0x1b2)](_0x5dcce6)),AutomationFramework[_0x5ef329(0x1f3)](_0x277e28,PlaywrightDriverModule[_0x5ef329(0x1ed)],_0x5dcce6));}}catch(_0xf9ee8e){this['logger'][_0x5ef329(0x170)](_0x5ef329(0x15f)+util['format'](_0xf9ee8e));}}async[a84_0x3dc217(0x1b8)](_0x5cc6de){const _0x4592a9=a84_0x3dc217,_0x54feaf={'KsQya':_0x4592a9(0x12f),'VmoMr':function(_0xd8912b,_0x3f2fa1){return _0xd8912b(_0x3f2fa1);},'DWVeJ':_0x4592a9(0x176),'WQVAJ':_0x4592a9(0x189),'sDGVG':_0x4592a9(0x19b),'sUaIt':_0x4592a9(0x1ce),'szmWF':'base64','bUOVW':function(_0xa61694,_0x339b02){return _0xa61694===_0x339b02;}};try{this[_0x4592a9(0x150)][_0x4592a9(0x1b9)](_0x54feaf['KsQya']);const _0x2f8959=_0x5cc6de[_0x4592a9(0x144)];this[_0x4592a9(0x159)]=_0x54feaf['VmoMr'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x5cc6de[_0x4592a9(0x151)]){this[_0x4592a9(0x150)][_0x4592a9(0x1b9)](_0x54feaf[_0x4592a9(0x130)]),AutomationFramework[_0x4592a9(0x1f3)](_0x2f8959,PlaywrightDriverModule[_0x4592a9(0x18e)],_0x5cc6de[_0x4592a9(0x151)]);if(_0x5cc6de[_0x4592a9(0x169)]){this[_0x4592a9(0x150)]['debug'](_0x54feaf[_0x4592a9(0x16d)]);const _0x1d4ea5=this['getTestId'](_0x5cc6de);AutomationFramework[_0x4592a9(0x1f3)](_0x2f8959,PlaywrightDriverModule[_0x4592a9(0x19e)],_0x1d4ea5),await this[_0x4592a9(0x1ec)](_0x5cc6de[_0x4592a9(0x169)]);}}_0x5cc6de[_0x4592a9(0x1a8)]&&(this[_0x4592a9(0x150)][_0x4592a9(0x1b9)](_0x54feaf['sDGVG']),AutomationFramework[_0x4592a9(0x1f3)](_0x2f8959,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x5cc6de[_0x4592a9(0x1a8)]));if(_0x5cc6de['browser']){this['logger'][_0x4592a9(0x1b9)](_0x54feaf[_0x4592a9(0x1cb)]);const _0x2adfce=global?.[_0x4592a9(0x174)]?.[_0x4592a9(0x1a3)]?.[_0x4592a9(0x1ff)];AutomationFramework[_0x4592a9(0x1f3)](_0x2f8959,PlaywrightDriverModule[_0x4592a9(0x1db)],_0x5cc6de['browser']),AutomationFramework[_0x4592a9(0x1f3)](_0x2f8959,PlaywrightDriverModule[_0x4592a9(0x1ed)],_0x2adfce);const _0x2f827d={};_0x2f827d['isPlaywright']=!![];const _0x1ca119=Buffer[_0x4592a9(0x1e9)](JSON['stringify'](_0x2f827d)['toString'](_0x54feaf[_0x4592a9(0x1ba)])),_0x19c1fe=await GrpcClient[_0x4592a9(0x141)]()[_0x4592a9(0x1a0)]({'platformIndex':_0x2adfce,'ref':_0x2f8959[_0x4592a9(0x1a5)](),'userInputParams':_0x1ca119});(helper['isFalse'](helper[_0x4592a9(0x1f6)]())||helper[_0x4592a9(0x191)](helper[_0x4592a9(0x1f6)]()&&BrowserstackCLI['getInstance']()[_0x4592a9(0x1b7)]()['platforms']&&_0x54feaf[_0x4592a9(0x1c5)](BrowserstackCLI[_0x4592a9(0x141)]()[_0x4592a9(0x1b7)]()['platforms']['length'],0x0)))&&AutomationFramework[_0x4592a9(0x1f3)](_0x2f8959,PlaywrightDriverModule[_0x4592a9(0x15a)],PlaywrightSessionDetails[_0x4592a9(0x1fc)]());}}catch(_0x4f15bd){this[_0x4592a9(0x150)][_0x4592a9(0x170)](_0x4592a9(0x17e)+util[_0x4592a9(0x167)](_0x4f15bd));}}async['onAfterTest'](_0x3c34e7){const _0x1aae38=a84_0x3dc217,_0x268b5={'AdKQw':'Automation\x20onAfterTest:\x20Test\x20completed','lFCbD':_0x1aae38(0x195),'fdsDk':function(_0x3ed056,_0xe3265b){return _0x3ed056(_0xe3265b);},'EBqsY':function(_0x28a4bd,_0x22f6b2){return _0x28a4bd(_0x22f6b2);},'JczAY':function(_0x5ae837,_0x7d15e0,_0x45bfac){return _0x5ae837(_0x7d15e0,_0x45bfac);},'lOyFP':_0x1aae38(0x16f),'eYSIc':_0x1aae38(0x157),'siZAZ':function(_0x305d54,_0x14f3cd){return _0x305d54(_0x14f3cd);},'aZDTk':function(_0x2abeb3,_0x222c4b,_0x2e7b9b){return _0x2abeb3(_0x222c4b,_0x2e7b9b);},'rCEtX':_0x1aae38(0x170),'abwPC':function(_0x51f283,_0x213aa4,_0x559e65){return _0x51f283(_0x213aa4,_0x559e65);},'QwSNK':_0x1aae38(0x1c9),'zhqCL':function(_0x31e29e,_0x5160e0){return _0x31e29e>_0x5160e0;},'lyITT':function(_0x73e1bf,_0x4db8df){return _0x73e1bf||_0x4db8df;},'ZKben':function(_0x3fa769,_0x583914){return _0x3fa769===_0x583914;},'nYVHt':function(_0x1be498,_0x4f182a){return _0x1be498===_0x4f182a;},'dYXoH':function(_0x1a92c3,_0x5b8403){return _0x1a92c3+_0x5b8403;},'BBZDW':_0x1aae38(0x13e),'NptKC':function(_0x5bd223,_0x10793b){return _0x5bd223+_0x10793b;},'mIxYi':'testData\x20from\x20onAfterTest:\x20','SzgiP':function(_0x28641b,_0x3113b5){return _0x28641b(_0x3113b5);},'ifOmM':_0x1aae38(0x197),'oMBzB':_0x1aae38(0x1cf),'sjkEV':function(_0xb55f9b){return _0xb55f9b();},'CMvDf':function(_0x5e18bf,_0x3015d0){return _0x5e18bf>_0x3015d0;},'mTlQH':_0x1aae38(0x1cd),'LxGPA':function(_0x453935,_0x299bdc){return _0x453935===_0x299bdc;},'XzYvh':_0x1aae38(0x18d)};this[_0x1aae38(0x150)][_0x1aae38(0x1b9)](_0x268b5[_0x1aae38(0x19d)]);const _0x5e936c=_0x3c34e7[_0x1aae38(0x144)];if(!_0x5e936c){this[_0x1aae38(0x150)][_0x1aae38(0x1b9)](_0x268b5[_0x1aae38(0x193)]);return;}const _0x4fe0b7=_0x3c34e7['testInfo'],_0x54ebeb=this['getTestId'](_0x3c34e7),_0x2334ec=_0x4fe0b7[_0x1aae38(0x156)];let _0x46aedf;const _0xf89e3=_0x268b5[_0x1aae38(0x181)](getPlaywrightStatus,_0x2334ec);let _0xad1489,_0x1beb23=null;if(_0x4fe0b7['pickle']||_0x4fe0b7[_0x1aae38(0x187)])_0xad1489=_0x268b5[_0x1aae38(0x188)](getCucumberSessionName,_0x4fe0b7),_0x46aedf=_0x268b5[_0x1aae38(0x1d6)](nestedKeyValue,_0x4fe0b7,[_0x268b5[_0x1aae38(0x1f8)],_0x268b5[_0x1aae38(0x1f0)]]);else{_0xad1489=_0x268b5['siZAZ'](getPlaywrightSessionName,_0x4fe0b7),_0x46aedf=_0x268b5[_0x1aae38(0x131)](nestedKeyValue,_0x4fe0b7,[_0x268b5[_0x1aae38(0x17c)],_0x268b5[_0x1aae38(0x1f0)]]);const _0x5915eb=_0x268b5[_0x1aae38(0x14e)](nestedKeyValue,_0x4fe0b7,[_0x268b5['QwSNK']]);_0x5915eb&&_0x268b5[_0x1aae38(0x14f)](_0x5915eb[_0x1aae38(0x1e1)],0x0)&&(_0x1beb23=_0x5915eb[0x0][_0x1aae38(0x157)]),_0x46aedf=_0x268b5['lyITT'](_0x46aedf,_0x1beb23),this[_0x1aae38(0x150)][_0x1aae38(0x1b9)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0xf89e3+_0x1aae38(0x1f4)+_0x46aedf);}const _0x5609d0=_0x268b5['lyITT'](_0x46aedf,_0x1beb23);this[_0x1aae38(0x150)][_0x1aae38(0x1b9)](_0x1aae38(0x1c6)+_0xf89e3);let _0x5823a6,_0x1646dd;if(this[_0x1aae38(0x1fd)]&&_0x268b5[_0x1aae38(0x1de)](this[_0x1aae38(0x1fd)][_0x1aae38(0x1c1)],FRAMEWORKS[_0x1aae38(0x1f9)]))_0x5823a6=_0x54ebeb,_0x1646dd=TestInfo[_0x1aae38(0x179)](_0x5823a6);else this[_0x1aae38(0x1fd)]&&_0x268b5['nYVHt'](this[_0x1aae38(0x1fd)]['name'],FRAMEWORKS[_0x1aae38(0x153)])?(_0x5823a6=this[_0x1aae38(0x1bb)][_0x1aae38(0x1c7)](_0x4fe0b7),this[_0x1aae38(0x150)][_0x1aae38(0x1b9)](_0x1aae38(0x147)+_0x5823a6)):(_0x5823a6=TestInfo[_0x1aae38(0x16c)](_0x4fe0b7,_0x4fe0b7[_0x1aae38(0x164)]),_0x1646dd=TestInfo[_0x1aae38(0x179)](_0x5823a6));const _0x488e24=TestInfo[_0x1aae38(0x137)](_0x5823a6);this[_0x1aae38(0x150)][_0x1aae38(0x172)](_0x268b5['dYXoH'](_0x268b5[_0x1aae38(0x1a6)],_0x54ebeb)),this['logger'][_0x1aae38(0x172)](_0x268b5[_0x1aae38(0x160)](_0x268b5[_0x1aae38(0x1c2)],util['inspect'](_0x488e24)));const _0x827762=AutomationFramework[_0x1aae38(0x1d1)](_0x5e936c,PlaywrightDriverModule[_0x1aae38(0x1ed)]),_0x2737d5=_0x488e24?.[TestFrameworkConstants[_0x1aae38(0x146)]]||this[_0x1aae38(0x1fd)]&&this['testFrameworkData']['name'],_0x23641c=_0x488e24?.[TestFrameworkConstants[_0x1aae38(0x171)]]||this[_0x1aae38(0x1fd)]&&this[_0x1aae38(0x1fd)][_0x1aae38(0x1ab)],_0x140da0=TestFrameworkState['TEST'][_0x1aae38(0x1aa)]()[_0x1aae38(0x1ea)]('.')[0x1],_0x11dab6=HookState[_0x1aae38(0x166)][_0x1aae38(0x1aa)]()[_0x1aae38(0x1ea)]('.')[0x1],_0x121367=_0x5e936c[_0x1aae38(0x134)](),_0x127b43=AutomationFramework[_0x1aae38(0x1d1)](_0x5e936c,PlaywrightDriverModule[_0x1aae38(0x1c8)],''),_0x57fb72={'provider':_0x268b5[_0x1aae38(0x1ae)](getPlaywrightProvider,_0x127b43),'frameworkName':_0x268b5[_0x1aae38(0x133)],'frameworkVersion':_0x268b5['oMBzB'],'frameworkSessionId':LoadTestModule['isLTSSession']()?LoadTestModule[_0x1aae38(0x19a)]():AutomationFramework['getState'](_0x5e936c,PlaywrightDriverModule[_0x1aae38(0x1d9)],''),'ref':_0x5e936c[_0x1aae38(0x1a5)](),'hubUrl':_0x127b43,'product':_0x268b5[_0x1aae38(0x182)](getProductForSession)};let _0x5cc591=AutomationFramework[_0x1aae38(0x1d1)](_0x5e936c,PlaywrightDriverModule[_0x1aae38(0x15a)],{});_0x5cc591&&_0x268b5[_0x1aae38(0x12e)](Object[_0x1aae38(0x1d8)](_0x5cc591)[_0x1aae38(0x1e1)],0x0)?_0x5cc591=Buffer['from'](JSON[_0x1aae38(0x1b5)](_0x5cc591))[_0x1aae38(0x1aa)](_0x268b5[_0x1aae38(0x19c)]):_0x5cc591=Buffer[_0x1aae38(0x1e9)](JSON['stringify']({}))['toString'](_0x268b5[_0x1aae38(0x19c)]);const _0x416d50={'hash':_0x121367[_0x1aae38(0x162)](),'threadId':_0x121367[_0x1aae38(0x1dd)]()[_0x1aae38(0x1aa)](),'processId':_0x121367[_0x1aae38(0x138)]()[_0x1aae38(0x1aa)]()},_0x3ff94a={};_0x3ff94a[_0x1aae38(0x1e2)]=_0x5823a6;const _0xa225b5={};_0xa225b5['testUuid']=_0x1646dd;const _0xf47f00={'platformIndex':_0x827762,'testFrameworkName':_0x2737d5,'testFrameworkVersion':_0x23641c,'testFrameworkState':_0x140da0,'testHookState':_0x11dab6,...this[_0x1aae38(0x1fd)]&&_0x268b5[_0x1aae38(0x1a9)](this[_0x1aae38(0x1fd)][_0x1aae38(0x1c1)],FRAMEWORKS['JEST'])?_0x3ff94a:_0xa225b5,'automationSession':_0x57fb72,'capabilities':_0x5cc591,'executionContext':_0x416d50};this[_0x1aae38(0x150)][_0x1aae38(0x1b9)]('onAfterTest\x20CBTSession\x20payload:\x20'+util[_0x1aae38(0x167)](_0xf47f00)),GrpcClient[_0x1aae38(0x141)]()['testSessionEvent'](_0xf47f00),this['logger']['debug'](_0x1aae38(0x14a)+_0x54ebeb+(this[_0x1aae38(0x1fd)]&&_0x268b5[_0x1aae38(0x1de)](this[_0x1aae38(0x1fd)][_0x1aae38(0x1c1)],FRAMEWORKS[_0x1aae38(0x153)])?_0x1aae38(0x152)+_0x5823a6:''));if(!_0xf89e3){this['logger'][_0x1aae38(0x1b9)](_0x268b5[_0x1aae38(0x1bd)],_0x2334ec['status']);return;}this[_0x1aae38(0x150)]['debug'](_0x1aae38(0x14d)+_0x54ebeb),_0x4fe0b7&&(this[_0x1aae38(0x150)][_0x1aae38(0x1b9)]('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20'+_0xad1489),await this[_0x1aae38(0x1ec)](_0x4fe0b7)),await this['markSessionStatus'](_0x5e936c,_0xad1489,_0xf89e3,_0x5609d0);}async[a84_0x3dc217(0x17f)](_0x5630cf,_0x5f3c1a,_0x1b616d,_0x3816a0){const _0x58c29f=a84_0x3dc217,_0x1d33bb={'cXEFh':_0x58c29f(0x1f5),'RtKKJ':_0x58c29f(0x18b),'KDTIF':_0x58c29f(0x1c4),'aQLNh':_0x58c29f(0x18d),'ZUjmC':_0x58c29f(0x165),'YXhaE':_0x58c29f(0x13f),'gJvkB':'Session','ioIZW':function(_0x2702a9,_0x17be75){return _0x2702a9===_0x17be75;},'wlkfm':_0x58c29f(0x17d),'iAKBU':'info','DvchP':'error','xJpir':function(_0x2c2a33,_0x1e8334,_0xb8a04b,_0xadee87){return _0x2c2a33(_0x1e8334,_0xb8a04b,_0xadee87);},'clyyl':_0x58c29f(0x13d),'GDJhf':function(_0x3e0a3b,_0x513b8f,_0x58663d){return _0x3e0a3b(_0x513b8f,_0x58663d);}};if(CLIUtils[_0x58c29f(0x1af)](BrowserstackCLI[_0x58c29f(0x141)]()[_0x58c29f(0x1b7)]())){this[_0x58c29f(0x150)][_0x58c29f(0x1b9)](_0x1d33bb[_0x58c29f(0x1f2)]);return;}const _0x5a5581=_0x5630cf;if(!_0x5a5581){this['logger'][_0x58c29f(0x1b9)](_0x1d33bb['RtKKJ']);return;}const _0x55b855=AutomationFramework[_0x58c29f(0x1d1)](_0x5a5581,PlaywrightDriverModule[_0x58c29f(0x18e)]);if(!_0x55b855){this[_0x58c29f(0x150)][_0x58c29f(0x1b9)](_0x1d33bb[_0x58c29f(0x15b)]);return;}const _0x597fd9=_0x1b616d;if(!_0x597fd9){this['logger'][_0x58c29f(0x1b9)](_0x1d33bb['aQLNh'],_0x597fd9);return;}const _0x4e8bf3={};_0x4e8bf3[_0x58c29f(0x156)]=_0x597fd9;const _0x2103a5={};_0x2103a5[_0x58c29f(0x161)]=_0x1d33bb[_0x58c29f(0x1ac)],_0x2103a5[_0x58c29f(0x16e)]=_0x4e8bf3;const _0x3f39a0=_0x2103a5;_0x3816a0&&(_0x3f39a0[_0x58c29f(0x16e)][_0x1d33bb[_0x58c29f(0x175)]]=_0x3816a0);const _0x4ea2dd=(_0x5f3c1a?_0x5f3c1a:_0x1d33bb[_0x58c29f(0x15e)])+'\x20'+_0x597fd9+'\x20'+(_0x3816a0?_0x58c29f(0x192)+_0x3816a0:''),_0x11b1af=_0x1d33bb[_0x58c29f(0x145)](_0x597fd9,_0x1d33bb[_0x58c29f(0x1eb)])?_0x1d33bb[_0x58c29f(0x1d5)]:_0x1d33bb[_0x58c29f(0x17a)];await _0x1d33bb['xJpir'](playwrightAnnotate,_0x55b855,_0x4ea2dd,_0x11b1af),_0x3816a0&&(_0x3f39a0[_0x58c29f(0x16e)][_0x1d33bb['YXhaE']]=_0x3816a0),PerformanceTester[_0x58c29f(0x18c)](PerformanceEvents['SESSION_STATUS']),this[_0x58c29f(0x150)][_0x58c29f(0x1b9)](_0x1d33bb[_0x58c29f(0x16b)]),await _0x1d33bb[_0x58c29f(0x1dc)](playwrightBstackJsExecutor,_0x55b855,_0x3f39a0),PerformanceTester[_0x58c29f(0x1da)](PerformanceEvents[_0x58c29f(0x14c)]);}async[a84_0x3dc217(0x1ec)](_0x2ffe19){const _0x532136=a84_0x3dc217,_0x259fc9={'YxqUh':'markSessionName:\x20Skipping\x20session\x20name\x20marking','nqurF':function(_0x301974,_0x23105f){return _0x301974(_0x23105f);},'XNUyk':_0x532136(0x17b),'cAbaa':function(_0x50cc1c,_0xf77b0e,_0x103446){return _0x50cc1c(_0xf77b0e,_0x103446);}};try{if(CLIUtils[_0x532136(0x1ca)](BrowserstackCLI[_0x532136(0x141)]()[_0x532136(0x1b7)]())){this[_0x532136(0x150)][_0x532136(0x1b9)](_0x259fc9[_0x532136(0x1fb)]);return;}const _0x57497e=AutomationFramework[_0x532136(0x1d1)](AutomationFramework[_0x532136(0x13b)](),PlaywrightDriverModule[_0x532136(0x18e)]);let _0x57342b;_0x2ffe19[_0x532136(0x173)]||_0x2ffe19[_0x532136(0x187)]?_0x57342b=_0x259fc9[_0x532136(0x1d0)](getCucumberSessionName,_0x2ffe19):_0x57342b=_0x259fc9['nqurF'](getPlaywrightSessionName,_0x2ffe19);const _0x4a6d5a={};_0x4a6d5a[_0x532136(0x1c1)]=_0x57342b;const _0xc7711a={};_0xc7711a[_0x532136(0x161)]=_0x259fc9['XNUyk'],_0xc7711a[_0x532136(0x16e)]=_0x4a6d5a;const _0x388e61=_0xc7711a;PerformanceTester[_0x532136(0x18c)](PerformanceEvents[_0x532136(0x155)]),await _0x259fc9[_0x532136(0x148)](playwrightBstackJsExecutor,_0x57497e,_0x388e61),PerformanceTester[_0x532136(0x1da)](PerformanceEvents[_0x532136(0x155)]);}catch(_0x306148){PerformanceTester['end'](PerformanceEvents[_0x532136(0x155)],![],util[_0x532136(0x167)](_0x306148)),this[_0x532136(0x150)][_0x532136(0x170)](_0x532136(0x1e3)+util['format'](_0x306148));}}}PlaywrightDriverModule[a84_0x3dc217(0x15c)]=a84_0x3dc217(0x14b),module['exports']=PlaywrightDriverModule;
1
+ const a84_0x5bbecf=a84_0x57be;function a84_0x293d(){const _0x420932=['jestUtils','KEY_PLATFORM_DETAILS','pickle','onPlaywrightDispatch','debug','./baseModule','workerInfo','setState','__workerDetails','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','split','165jqekCt','cLzEb','end','recreateIdentifierFromTestInfo','version','../browserstackCLI.js','lAmik','shouldSkipSessionName','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','KEY_SESSION_ID','base64','onAfterDriverCreate:\x20Setting\x20page\x20object','HxGtC','Error\x20in\x20onBeforeDriverCreate:\x20','PArLn','KEY_TEST_ID','eWxms','dvbDD','name','test_identifier','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','277044WDtcmw','gDiJy','18921jgFNyL','MODULE_NAME','KEY_CAPABILITIES','testSessionEvent','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','ouVxF','onAfterTest\x20CBTSession\x20payload:\x20','ESmcC','xeuZo','result','JQiqA','../../../helpers/test-observability/utils','../../../helpers/classLogger.js','../../utils/constants','hubUrl','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','JEST','\x20failure\x20reason:\x20','pageObject','lmIgi','markSessionName:\x20Skipping\x20session\x20name\x20marking','AUTOMATE_EVENTS','KEY_PAGE_OBJECT','reason','contextObject','getId','FPchk','toString',',\x20test_identifier:\x20','ZuRHR','getConfig','8|5|2|0|7|4|1|6|11|10|9|3','Playwright','getTestUUID','message','psAYc','instance','15729750kUygCz','tWzin','getTestIdentifierFromTestInfo','../../../helpers/performance/performance-tester.js','SESSION_NAME','browserName','logger','\x20||\x20','errors','uebRd','page','CUCUMBER','length','RHida','format','testRunId','Error\x20in\x20markSessionName:\x20','../../../helpers/helper.js','KEY_PLATFORM_INDEX','KEY_HUB_URL','browserObject','fCbYS','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','browserVersion','xsMfs','../../playwright/sessionDetails','DPnxc','../state/testFrameworkState','LDAOm','CREATE','from','YYsOL','PLAYWRIGHT_DISPATCH','testId:\x20','getProcessId','2GJHtwj','fvJZR','Error\x20in\x20onDispatchExecute:\x20','platformDetails','YvBjF','kzali','1088tOCwjM','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','playwrightVersion','testFrameworkData','KEY_BROWSER_OBJECT','isFalse','SESSION_STATUS','ZuxtQ','setSessionStatus','isLTSSession','getContext','TrueF','iagak','getThreadId','onBeforeDriverCreate','error','getRef','2713674zDfiAd','UuTmy','isBrowserstackInfra','browser','testUuid','retry','2301930ZkoGEj','YGfEi','getState','../framework/constants/testFrameworkConstants.js','getLTSSessionId','markSessionName','POST','UuaWW','exports','sessionId','EXECUTE','KEY_TEST_FRAMEWORK_VERSION','arguments','tAlZC','stringify','isPlaywright','PlaywrightDriverModule','yVWwR','KEY_CONTEXT_OBJECT','action','passed','registerObserver','context','onDispatchExecute:\x20Playwright\x20sessionId:\x20','platforms','inspect','getTrackedInstance','getDetails','SZZOF','driverInit','gherkinDocument','../state/hookState.js','getTestId','TEST','onAfterDriverCreate','PLAYWRIGHT','LJGWQ','markSessionStatus','foORj','IGMuy','eUKRu','start','with\x20','1083401FfdSgC','getInstance','NkZli','bind','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','info','../cliUtils.js','params','getTestDetails','../TestInfo.js','Automation\x20onAfterTest:\x20Test\x20status:\x20','XaxpU','setSessionName','../../../helpers/performance/constants.js','WpQjF','testInfo','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','Vckmq','YZJXp','bRMEn','parallelIndex','onAfterTest','KEY_TEST_FRAMEWORK_NAME','testId','zDKjw','util','markSessionStatus:\x20Marking\x20session\x20status','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','tKpYu','2799844iUHJaY','status','../state/automationFrameworkState.js'];a84_0x293d=function(){return _0x420932;};return a84_0x293d();}(function(_0x4747bc,_0x259d46){const _0x16e7aa=a84_0x57be,_0x22079c=_0x4747bc();while(!![]){try{const _0x12deb3=-parseInt(_0x16e7aa(0x221))/0x1+parseInt(_0x16e7aa(0x2ac))/0x2*(parseInt(_0x16e7aa(0x2c3))/0x3)+parseInt(_0x16e7aa(0x23e))/0x4+-parseInt(_0x16e7aa(0x24c))/0x5*(parseInt(_0x16e7aa(0x262))/0x6)+-parseInt(_0x16e7aa(0x264))/0x7*(-parseInt(_0x16e7aa(0x2b2))/0x8)+parseInt(_0x16e7aa(0x289))/0x9+-parseInt(_0x16e7aa(0x1f6))/0xa;if(_0x12deb3===_0x259d46)break;else _0x22079c['push'](_0x22079c['shift']());}catch(_0xfbe948){_0x22079c['push'](_0x22079c['shift']());}}}(a84_0x293d,0xd776d));function a84_0x57be(_0x5cacfc,_0x4a99e0){const _0x293df4=a84_0x293d();return a84_0x57be=function(_0x57be18,_0x3e50e8){_0x57be18=_0x57be18-0x1f4;let _0x598a07=_0x293df4[_0x57be18];return _0x598a07;},a84_0x57be(_0x5cacfc,_0x4a99e0);}const util=require(a84_0x5bbecf(0x23a)),BaseModule=require(a84_0x5bbecf(0x246)),{createClassLogger}=require(a84_0x5bbecf(0x270)),{getFrameworkVersion}=require(a84_0x5bbecf(0x26f)),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require(a84_0x5bbecf(0x271)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a84_0x5bbecf(0x240)),HookState=require(a84_0x5bbecf(0x215)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x5bbecf(0x29a)),CLIUtils=require(a84_0x5bbecf(0x227)),BrowserstackCLI=require(a84_0x5bbecf(0x251)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a84_0x5bbecf(0x28c)),PerformanceEvents=require(a84_0x5bbecf(0x22e))[a84_0x5bbecf(0x279)],TestInfo=require(a84_0x5bbecf(0x22a)),{getPlaywrightProvider,getProductForSession}=require('../../../helpers/helper.js'),LoadTestModule=require('./loadTestModule.js'),TestFrameworkConstants=require(a84_0x5bbecf(0x1f9)),TestFrameworkState=require(a84_0x5bbecf(0x2a4)),JestUtils=require('../utils/jest-utils.js'),PlaywrightSessionDetails=require(a84_0x5bbecf(0x2a2));class PlaywrightDriverModule extends BaseModule{static [a84_0x5bbecf(0x2b6)]=a84_0x5bbecf(0x29d);static ['KEY_CONTEXT_OBJECT']=a84_0x5bbecf(0x27c);static ['KEY_PAGE_OBJECT']=a84_0x5bbecf(0x276);static [a84_0x5bbecf(0x255)]=a84_0x5bbecf(0x1ff);static [a84_0x5bbecf(0x29b)]='platformIndex';static [a84_0x5bbecf(0x266)]='capabilities';static ['KEY_HUB_URL']=a84_0x5bbecf(0x272);static [a84_0x5bbecf(0x242)]='platformDetails';static [a84_0x5bbecf(0x25b)]=a84_0x5bbecf(0x238);[a84_0x5bbecf(0x28f)]=createClassLogger(a84_0x5bbecf(0x206));constructor(_0x4feeba=null){const _0x3d5184=a84_0x5bbecf,_0x99ff5b={};_0x99ff5b[_0x3d5184(0x2a1)]=_0x3d5184(0x283),_0x99ff5b[_0x3d5184(0x28a)]=_0x3d5184(0x206);const _0x475966=_0x99ff5b,_0x2200b5=_0x475966[_0x3d5184(0x2a1)][_0x3d5184(0x24b)]('|');let _0x5a0bfa=0x0;while(!![]){switch(_0x2200b5[_0x5a0bfa++]){case'0':this[_0x3d5184(0x28e)]=null;continue;case'1':this[_0x3d5184(0x298)]=null;continue;case'2':this['playwrightVersion']=null;continue;case'3':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x3d5184(0x200)],HookState[_0x3d5184(0x1fc)],this[_0x3d5184(0x236)][_0x3d5184(0x224)](this));continue;case'4':this['platforms']=[];continue;case'5':this[_0x3d5184(0x25e)]=_0x475966[_0x3d5184(0x28a)];continue;case'6':this[_0x3d5184(0x241)]=new JestUtils();continue;case'7':this[_0x3d5184(0x2a0)]=null;continue;case'8':super(_0x4feeba);continue;case'9':AutomationFramework[_0x3d5184(0x20b)](AutomationFrameworkState[_0x3d5184(0x2a9)],HookState[_0x3d5184(0x1fc)],this[_0x3d5184(0x244)][_0x3d5184(0x224)](this));continue;case'10':AutomationFramework[_0x3d5184(0x20b)](AutomationFrameworkState[_0x3d5184(0x2a6)],HookState[_0x3d5184(0x1fc)],this['onAfterDriverCreate']['bind'](this));continue;case'11':AutomationFramework[_0x3d5184(0x20b)](AutomationFrameworkState[_0x3d5184(0x2a6)],HookState['PRE'],this[_0x3d5184(0x2c0)][_0x3d5184(0x224)](this));continue;}break;}}['getModuleName'](){const _0x5d1e59=a84_0x5bbecf;return PlaywrightDriverModule[_0x5d1e59(0x265)];}async[a84_0x5bbecf(0x2c0)](_0x31690e){const _0x4a8d95=a84_0x5bbecf,_0x558f0c={};_0x558f0c[_0x4a8d95(0x26e)]='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x42903b=_0x558f0c;try{this[_0x4a8d95(0x28f)][_0x4a8d95(0x245)](_0x42903b[_0x4a8d95(0x26e)]);const _0x1b57fe=_0x31690e['launchcaps'],_0x4a410d=_0x31690e[_0x4a8d95(0x272)];AutomationFramework[_0x4a8d95(0x248)](_0x31690e[_0x4a8d95(0x288)],PlaywrightDriverModule['KEY_CAPABILITIES'],_0x1b57fe),AutomationFramework[_0x4a8d95(0x248)](_0x31690e[_0x4a8d95(0x288)],PlaywrightDriverModule[_0x4a8d95(0x29c)],_0x4a410d);}catch(_0x557a1f){this['logger']['error'](_0x4a8d95(0x259)+util[_0x4a8d95(0x297)](_0x557a1f));}}async[a84_0x5bbecf(0x244)](_0x3f3be3){const _0x96baf5=a84_0x5bbecf,_0x44ecd1={};_0x44ecd1[_0x96baf5(0x2a8)]=function(_0x434934,_0x336d80){return _0x434934||_0x336d80;};const _0x19043d=_0x44ecd1;try{const _0x530a94=_0x3f3be3?.[_0x96baf5(0x286)]&&_0x3f3be3?.[_0x96baf5(0x286)]?.[_0x96baf5(0x228)]&&_0x3f3be3?.[_0x96baf5(0x286)]?.[_0x96baf5(0x228)]?.['bsParams'],_0x529053=_0x3f3be3?.[_0x96baf5(0x286)]&&_0x3f3be3?.['message']?.['bStackParams'];if(_0x19043d[_0x96baf5(0x2a8)](_0x530a94,_0x529053)){this[_0x96baf5(0x28f)]['debug'](_0x96baf5(0x24a)+util['inspect'](_0x530a94)+_0x96baf5(0x290)+util[_0x96baf5(0x20f)](_0x529053));const _0x31dad2=_0x3f3be3?.[_0x96baf5(0x288)],_0x56677f=global?.[_0x96baf5(0x249)]?.[_0x96baf5(0x247)]?.[_0x96baf5(0x235)],_0xa5a4c2=_0x530a94?.['sessionId']||_0x529053?.[_0x96baf5(0x1ff)],_0x23e413=_0x530a94?.[_0x96baf5(0x2af)]||_0x529053?.['platformDetails'];_0xa5a4c2&&(this[_0x96baf5(0x28f)][_0x96baf5(0x245)](_0x96baf5(0x20d)+_0xa5a4c2),AutomationFramework[_0x96baf5(0x248)](_0x31dad2,PlaywrightDriverModule[_0x96baf5(0x255)],_0xa5a4c2)),_0x56677f&&(this[_0x96baf5(0x28f)][_0x96baf5(0x245)](_0x96baf5(0x2b3)+util[_0x96baf5(0x20f)](_0x56677f)),AutomationFramework[_0x96baf5(0x248)](_0x31dad2,PlaywrightDriverModule[_0x96baf5(0x29b)],_0x56677f));}}catch(_0x59aa86){this[_0x96baf5(0x28f)][_0x96baf5(0x2c1)](_0x96baf5(0x2ae)+util[_0x96baf5(0x297)](_0x59aa86));}}async[a84_0x5bbecf(0x218)](_0x5ec642){const _0x1ee6f5=a84_0x5bbecf,_0xf3cfe0={'Vckmq':_0x1ee6f5(0x261),'tKpYu':function(_0xce1d73,_0x419ebc){return _0xce1d73(_0x419ebc);},'KUSGP':_0x1ee6f5(0x257),'cLzEb':_0x1ee6f5(0x225),'LJGWQ':'onAfterDriverCreate:\x20Setting\x20context\x20object','OZsjt':'onAfterDriverCreate:\x20Setting\x20browser\x20object','kzali':_0x1ee6f5(0x256),'foORj':function(_0x40f4f7,_0x337caf){return _0x40f4f7===_0x337caf;}};try{this[_0x1ee6f5(0x28f)][_0x1ee6f5(0x245)](_0xf3cfe0[_0x1ee6f5(0x232)]);const _0x4fd567=_0x5ec642[_0x1ee6f5(0x288)];this[_0x1ee6f5(0x2b4)]=_0xf3cfe0[_0x1ee6f5(0x23d)](getFrameworkVersion,FRAMEWORKS[_0x1ee6f5(0x219)]);if(_0x5ec642['page']){this[_0x1ee6f5(0x28f)]['debug'](_0xf3cfe0['KUSGP']),AutomationFramework[_0x1ee6f5(0x248)](_0x4fd567,PlaywrightDriverModule[_0x1ee6f5(0x27a)],_0x5ec642[_0x1ee6f5(0x293)]);if(_0x5ec642[_0x1ee6f5(0x230)]){this[_0x1ee6f5(0x28f)][_0x1ee6f5(0x245)](_0xf3cfe0[_0x1ee6f5(0x24d)]);const _0x64f64b=this[_0x1ee6f5(0x216)](_0x5ec642);AutomationFramework[_0x1ee6f5(0x248)](_0x4fd567,PlaywrightDriverModule[_0x1ee6f5(0x25b)],_0x64f64b),await this[_0x1ee6f5(0x1fb)](_0x5ec642['testInfo']);}}_0x5ec642[_0x1ee6f5(0x20c)]&&(this['logger'][_0x1ee6f5(0x245)](_0xf3cfe0[_0x1ee6f5(0x21a)]),AutomationFramework[_0x1ee6f5(0x248)](_0x4fd567,PlaywrightDriverModule[_0x1ee6f5(0x208)],_0x5ec642[_0x1ee6f5(0x20c)]));if(_0x5ec642['browser']){this['logger']['debug'](_0xf3cfe0['OZsjt']);const _0x113659=global?.[_0x1ee6f5(0x249)]?.[_0x1ee6f5(0x247)]?.[_0x1ee6f5(0x235)];AutomationFramework[_0x1ee6f5(0x248)](_0x4fd567,PlaywrightDriverModule['KEY_BROWSER_OBJECT'],_0x5ec642[_0x1ee6f5(0x2c6)]),AutomationFramework[_0x1ee6f5(0x248)](_0x4fd567,PlaywrightDriverModule[_0x1ee6f5(0x29b)],_0x113659);const _0x35a676={};_0x35a676[_0x1ee6f5(0x205)]=!![];const _0x15bcd5=Buffer[_0x1ee6f5(0x2a7)](JSON[_0x1ee6f5(0x204)](_0x35a676)[_0x1ee6f5(0x27f)](_0xf3cfe0[_0x1ee6f5(0x2b1)])),_0x4d5863=await GrpcClient['getInstance']()[_0x1ee6f5(0x213)]({'platformIndex':_0x113659,'ref':_0x4fd567['getRef'](),'userInputParams':_0x15bcd5});(helper[_0x1ee6f5(0x2b7)](helper['isBrowserstackInfra']())||helper['isTrue'](helper[_0x1ee6f5(0x2c5)]()&&BrowserstackCLI[_0x1ee6f5(0x222)]()[_0x1ee6f5(0x282)]()[_0x1ee6f5(0x20e)]&&_0xf3cfe0[_0x1ee6f5(0x21c)](BrowserstackCLI[_0x1ee6f5(0x222)]()[_0x1ee6f5(0x282)]()['platforms'][_0x1ee6f5(0x295)],0x0)))&&AutomationFramework[_0x1ee6f5(0x248)](_0x4fd567,PlaywrightDriverModule[_0x1ee6f5(0x266)],PlaywrightSessionDetails[_0x1ee6f5(0x211)]());}}catch(_0x5ae463){this[_0x1ee6f5(0x28f)][_0x1ee6f5(0x2c1)]('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x1ee6f5(0x297)](_0x5ae463));}}async[a84_0x5bbecf(0x236)](_0x4af6c1){const _0x233367=a84_0x5bbecf,_0xc938a={'TrueF':'Automation\x20onAfterTest:\x20Test\x20completed','YZJXp':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','iagak':function(_0x461400,_0x3034de){return _0x461400(_0x3034de);},'gDiJy':function(_0x5a3eb9,_0x51f33f){return _0x5a3eb9(_0x51f33f);},'psAYc':function(_0x1b2cb4,_0x3c58d4,_0x2ac205){return _0x1b2cb4(_0x3c58d4,_0x2ac205);},'FPchk':_0x233367(0x26d),'ouVxF':_0x233367(0x286),'xocgd':function(_0x511f4c,_0x3addb0,_0x296d1f){return _0x511f4c(_0x3addb0,_0x296d1f);},'SZZOF':_0x233367(0x2c1),'xeuZo':function(_0x14e581,_0x114fcb,_0x4d5e18){return _0x14e581(_0x114fcb,_0x4d5e18);},'tAlZC':_0x233367(0x291),'ERoBO':function(_0x300ad4,_0x4c8b9a){return _0x300ad4>_0x4c8b9a;},'RHida':function(_0x1cf5c9,_0x283f8c){return _0x1cf5c9||_0x283f8c;},'YvBjF':function(_0x9d092e,_0x5da3df){return _0x9d092e||_0x5da3df;},'DPnxc':function(_0x5c7255,_0x469ab2){return _0x5c7255===_0x469ab2;},'XCjsN':function(_0x27513b,_0x55189c){return _0x27513b+_0x55189c;},'ESmcC':_0x233367(0x2aa),'LDAOm':function(_0x350e31,_0x345af8){return _0x350e31+_0x345af8;},'wtRjn':'testData\x20from\x20onAfterTest:\x20','zDKjw':function(_0x8facd4,_0x512776){return _0x8facd4(_0x512776);},'ZuxtQ':_0x233367(0x284),'fCbYS':'1.51.0','dtBOD':function(_0x526900){return _0x526900();},'NkZli':function(_0x1279ca,_0x565e15){return _0x1279ca>_0x565e15;},'eWxms':_0x233367(0x256),'IGMuy':function(_0x16420b,_0x6b6769){return _0x16420b===_0x6b6769;},'uebRd':_0x233367(0x23c)};this[_0x233367(0x28f)][_0x233367(0x245)](_0xc938a[_0x233367(0x2bd)]);const _0x12ad9c=_0x4af6c1[_0x233367(0x288)];if(!_0x12ad9c){this[_0x233367(0x28f)][_0x233367(0x245)](_0xc938a[_0x233367(0x233)]);return;}const _0x190b81=_0x4af6c1[_0x233367(0x230)],_0x50c110=this['getTestId'](_0x4af6c1),_0x379fbf=_0x190b81[_0x233367(0x23f)];let _0x5f097c;const _0x4be315=_0xc938a[_0x233367(0x2be)](getPlaywrightStatus,_0x379fbf);let _0x4a25ef,_0x308e42=null;if(_0x190b81[_0x233367(0x243)]||_0x190b81['gherkinDocument'])_0x4a25ef=_0xc938a[_0x233367(0x263)](getCucumberSessionName,_0x190b81),_0x5f097c=_0xc938a[_0x233367(0x287)](nestedKeyValue,_0x190b81,[_0xc938a[_0x233367(0x27e)],_0xc938a[_0x233367(0x269)]]);else{_0x4a25ef=_0xc938a[_0x233367(0x263)](getPlaywrightSessionName,_0x190b81),_0x5f097c=_0xc938a['xocgd'](nestedKeyValue,_0x190b81,[_0xc938a[_0x233367(0x212)],_0xc938a[_0x233367(0x269)]]);const _0x196671=_0xc938a[_0x233367(0x26c)](nestedKeyValue,_0x190b81,[_0xc938a[_0x233367(0x203)]]);_0x196671&&_0xc938a['ERoBO'](_0x196671[_0x233367(0x295)],0x0)&&(_0x308e42=_0x196671[0x0][_0x233367(0x286)]),_0x5f097c=_0xc938a[_0x233367(0x296)](_0x5f097c,_0x308e42),this[_0x233367(0x28f)]['debug'](_0x233367(0x22b)+_0x4be315+_0x233367(0x275)+_0x5f097c);}const _0x4c5955=_0xc938a[_0x233367(0x2b0)](_0x5f097c,_0x308e42);this[_0x233367(0x28f)][_0x233367(0x245)](_0x233367(0x22b)+_0x4be315);let _0x1f4a57,_0x3c000a;if(this[_0x233367(0x2b5)]&&_0xc938a[_0x233367(0x2a3)](this['testFrameworkData'][_0x233367(0x25e)],FRAMEWORKS[_0x233367(0x294)]))_0x1f4a57=_0x50c110,_0x3c000a=TestInfo[_0x233367(0x285)](_0x1f4a57);else this['testFrameworkData']&&_0xc938a['DPnxc'](this[_0x233367(0x2b5)][_0x233367(0x25e)],FRAMEWORKS[_0x233367(0x274)])?(_0x1f4a57=this[_0x233367(0x241)][_0x233367(0x24f)](_0x190b81),this[_0x233367(0x28f)][_0x233367(0x245)]('Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x1f4a57)):(_0x1f4a57=TestInfo[_0x233367(0x28b)](_0x190b81,_0x190b81[_0x233367(0x1f5)]),_0x3c000a=TestInfo[_0x233367(0x285)](_0x1f4a57));const _0x596b72=TestInfo[_0x233367(0x229)](_0x1f4a57);this['logger'][_0x233367(0x226)](_0xc938a['XCjsN'](_0xc938a[_0x233367(0x26b)],_0x50c110)),this['logger'][_0x233367(0x226)](_0xc938a[_0x233367(0x2a5)](_0xc938a['wtRjn'],util[_0x233367(0x20f)](_0x596b72)));const _0x4bf385=AutomationFramework['getState'](_0x12ad9c,PlaywrightDriverModule[_0x233367(0x29b)]),_0x5747b5=_0x596b72?.[TestFrameworkConstants[_0x233367(0x237)]]||this[_0x233367(0x2b5)]&&this['testFrameworkData'][_0x233367(0x25e)],_0x4cfbe0=_0x596b72?.[TestFrameworkConstants[_0x233367(0x201)]]||this[_0x233367(0x2b5)]&&this[_0x233367(0x2b5)][_0x233367(0x250)],_0x10caf5=TestFrameworkState[_0x233367(0x217)][_0x233367(0x27f)]()[_0x233367(0x24b)]('.')[0x1],_0x485ce3=HookState[_0x233367(0x1fc)][_0x233367(0x27f)]()['split']('.')[0x1],_0x540bd4=_0x12ad9c[_0x233367(0x2bc)](),_0x2be2f6=AutomationFramework[_0x233367(0x1f8)](_0x12ad9c,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x34eafa={'provider':_0xc938a[_0x233367(0x239)](getPlaywrightProvider,_0x2be2f6),'frameworkName':_0xc938a[_0x233367(0x2b9)],'frameworkVersion':_0xc938a[_0x233367(0x29e)],'frameworkSessionId':LoadTestModule[_0x233367(0x2bb)]()?LoadTestModule[_0x233367(0x1fa)]():AutomationFramework[_0x233367(0x1f8)](_0x12ad9c,PlaywrightDriverModule[_0x233367(0x255)],''),'ref':_0x12ad9c[_0x233367(0x2c2)](),'hubUrl':_0x2be2f6,'product':_0xc938a['dtBOD'](getProductForSession)};let _0x2abe34=AutomationFramework[_0x233367(0x1f8)](_0x12ad9c,PlaywrightDriverModule[_0x233367(0x266)],{});_0x2abe34&&_0xc938a[_0x233367(0x223)](Object['keys'](_0x2abe34)[_0x233367(0x295)],0x0)?_0x2abe34=Buffer['from'](JSON[_0x233367(0x204)](_0x2abe34))[_0x233367(0x27f)](_0xc938a[_0x233367(0x25c)]):_0x2abe34=Buffer[_0x233367(0x2a7)](JSON[_0x233367(0x204)]({}))[_0x233367(0x27f)](_0xc938a[_0x233367(0x25c)]);const _0xdf01a1={'hash':_0x540bd4[_0x233367(0x27d)](),'threadId':_0x540bd4[_0x233367(0x2bf)]()[_0x233367(0x27f)](),'processId':_0x540bd4[_0x233367(0x2ab)]()[_0x233367(0x27f)]()},_0x478712={};_0x478712[_0x233367(0x25f)]=_0x1f4a57;const _0x385389={};_0x385389[_0x233367(0x1f4)]=_0x3c000a;const _0x6b80b4={'platformIndex':_0x4bf385,'testFrameworkName':_0x5747b5,'testFrameworkVersion':_0x4cfbe0,'testFrameworkState':_0x10caf5,'testHookState':_0x485ce3,...this[_0x233367(0x2b5)]&&_0xc938a[_0x233367(0x21d)](this[_0x233367(0x2b5)][_0x233367(0x25e)],FRAMEWORKS['JEST'])?_0x478712:_0x385389,'automationSession':_0x34eafa,'capabilities':_0x2abe34,'executionContext':_0xdf01a1};this[_0x233367(0x28f)][_0x233367(0x245)](_0x233367(0x26a)+util[_0x233367(0x297)](_0x6b80b4)),GrpcClient[_0x233367(0x222)]()[_0x233367(0x267)](_0x6b80b4),this[_0x233367(0x28f)][_0x233367(0x245)](_0x233367(0x268)+_0x50c110+(this[_0x233367(0x2b5)]&&_0xc938a['IGMuy'](this['testFrameworkData'][_0x233367(0x25e)],FRAMEWORKS[_0x233367(0x274)])?_0x233367(0x280)+_0x1f4a57:''));if(!_0x4be315){this['logger']['debug'](_0xc938a[_0x233367(0x292)],_0x379fbf[_0x233367(0x23f)]);return;}this[_0x233367(0x28f)][_0x233367(0x245)](_0x233367(0x260)+_0x50c110),_0x190b81&&(this[_0x233367(0x28f)][_0x233367(0x245)](_0x233367(0x29f)+_0x4a25ef),await this[_0x233367(0x1fb)](_0x190b81)),await this[_0x233367(0x21b)](_0x12ad9c,_0x4a25ef,_0x4be315,_0x4c5955);}async['markSessionStatus'](_0x431fa0,_0x5861fb,_0x531bf7,_0x5de0fd){const _0x4ca835=a84_0x5bbecf,_0x3ff17c={'UuTmy':_0x4ca835(0x254),'fvJZR':_0x4ca835(0x231),'lAmik':_0x4ca835(0x273),'HxGtC':_0x4ca835(0x23c),'WpQjF':_0x4ca835(0x2ba),'ZuRHR':_0x4ca835(0x27b),'dvbDD':'Session','pFkUq':function(_0x485d9d,_0x342a8e){return _0x485d9d===_0x342a8e;},'lmIgi':_0x4ca835(0x20a),'YGfEi':_0x4ca835(0x226),'YToZW':_0x4ca835(0x2c1),'bRMEn':function(_0x55c31a,_0x569b8e,_0x3c638d,_0x2e3359){return _0x55c31a(_0x569b8e,_0x3c638d,_0x2e3359);},'XaxpU':_0x4ca835(0x23b),'BmtLx':function(_0x9a1702,_0x577e59,_0x181217){return _0x9a1702(_0x577e59,_0x181217);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI['getInstance']()[_0x4ca835(0x282)]())){this[_0x4ca835(0x28f)][_0x4ca835(0x245)](_0x3ff17c[_0x4ca835(0x2c4)]);return;}const _0x537024=_0x431fa0;if(!_0x537024){this[_0x4ca835(0x28f)][_0x4ca835(0x245)](_0x3ff17c[_0x4ca835(0x2ad)]);return;}const _0x276a67=AutomationFramework['getState'](_0x537024,PlaywrightDriverModule[_0x4ca835(0x27a)]);if(!_0x276a67){this[_0x4ca835(0x28f)][_0x4ca835(0x245)](_0x3ff17c[_0x4ca835(0x252)]);return;}const _0x4aea42=_0x531bf7;if(!_0x4aea42){this[_0x4ca835(0x28f)][_0x4ca835(0x245)](_0x3ff17c[_0x4ca835(0x258)],_0x4aea42);return;}const _0x3c1722={};_0x3c1722[_0x4ca835(0x23f)]=_0x4aea42;const _0x350570={};_0x350570[_0x4ca835(0x209)]=_0x3ff17c[_0x4ca835(0x22f)],_0x350570[_0x4ca835(0x202)]=_0x3c1722;const _0xac6c6f=_0x350570;_0x5de0fd&&(_0xac6c6f[_0x4ca835(0x202)][_0x3ff17c[_0x4ca835(0x281)]]=_0x5de0fd);const _0x6f8f04=(_0x5861fb?_0x5861fb:_0x3ff17c[_0x4ca835(0x25d)])+'\x20'+_0x4aea42+'\x20'+(_0x5de0fd?_0x4ca835(0x220)+_0x5de0fd:''),_0x3308fd=_0x3ff17c['pFkUq'](_0x4aea42,_0x3ff17c[_0x4ca835(0x277)])?_0x3ff17c[_0x4ca835(0x1f7)]:_0x3ff17c['YToZW'];await _0x3ff17c[_0x4ca835(0x234)](playwrightAnnotate,_0x276a67,_0x6f8f04,_0x3308fd),_0x5de0fd&&(_0xac6c6f[_0x4ca835(0x202)][_0x3ff17c[_0x4ca835(0x281)]]=_0x5de0fd),PerformanceTester['start'](PerformanceEvents[_0x4ca835(0x2b8)]),this[_0x4ca835(0x28f)]['debug'](_0x3ff17c[_0x4ca835(0x22c)]),await _0x3ff17c['BmtLx'](playwrightBstackJsExecutor,_0x276a67,_0xac6c6f),PerformanceTester[_0x4ca835(0x24e)](PerformanceEvents[_0x4ca835(0x2b8)]);}async[a84_0x5bbecf(0x1fb)](_0x54eff7){const _0x388f36=a84_0x5bbecf,_0x4cba85={'eUKRu':_0x388f36(0x278),'UuaWW':function(_0x4d7be2,_0x57d47f){return _0x4d7be2(_0x57d47f);},'yVWwR':_0x388f36(0x22d),'PArLn':function(_0x49848c,_0x292438,_0x3bf2bf){return _0x49848c(_0x292438,_0x3bf2bf);}};try{if(CLIUtils[_0x388f36(0x253)](BrowserstackCLI[_0x388f36(0x222)]()[_0x388f36(0x282)]())){this[_0x388f36(0x28f)][_0x388f36(0x245)](_0x4cba85[_0x388f36(0x21e)]);return;}const _0x486e63=AutomationFramework[_0x388f36(0x1f8)](AutomationFramework[_0x388f36(0x210)](),PlaywrightDriverModule[_0x388f36(0x27a)]);let _0x1f64eb;_0x54eff7['pickle']||_0x54eff7[_0x388f36(0x214)]?_0x1f64eb=_0x4cba85[_0x388f36(0x1fd)](getCucumberSessionName,_0x54eff7):_0x1f64eb=_0x4cba85['UuaWW'](getPlaywrightSessionName,_0x54eff7);const _0x1ae9a4={};_0x1ae9a4['name']=_0x1f64eb;const _0x259fe8={};_0x259fe8[_0x388f36(0x209)]=_0x4cba85[_0x388f36(0x207)],_0x259fe8[_0x388f36(0x202)]=_0x1ae9a4;const _0x434cb0=_0x259fe8;PerformanceTester[_0x388f36(0x21f)](PerformanceEvents[_0x388f36(0x28d)]),await _0x4cba85[_0x388f36(0x25a)](playwrightBstackJsExecutor,_0x486e63,_0x434cb0),PerformanceTester['end'](PerformanceEvents['SESSION_NAME']);}catch(_0x4bec25){PerformanceTester[_0x388f36(0x24e)](PerformanceEvents['SESSION_NAME'],![],util[_0x388f36(0x297)](_0x4bec25)),this[_0x388f36(0x28f)]['error'](_0x388f36(0x299)+util[_0x388f36(0x297)](_0x4bec25));}}}PlaywrightDriverModule[a84_0x5bbecf(0x265)]='PlaywrightDriverModule',module[a84_0x5bbecf(0x1fe)]=PlaywrightDriverModule;