browserstack-node-sdk 1.49.0 → 1.49.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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_0x525b2c=a80_0xa588;function a80_0x5b87(){const _0xc68b61=['titlePath','loadDriverExecuteParams','uBVsL','CQkdW','../grpcClient','vywhI','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','getAccessibility','ZMtRp','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','info','getScriptsList','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','accessibilityToken','sLTDR','eATSS','getParamsForScanForCli','getCapabilityValue','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','testInfo','getPlatformIndex','toISOString','XpKMq','Error\x20in\x20validatePlatformForAccessibility:\x20','JuBOQ','DhejA','ZRBUY','onBeforeExecute:\x20command=','FOBtW','loadAccessibilityConfig','instance','getTestId','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','performScan','mmwGm','capabilitiesList','isPlatformSupported','jrzRE','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','setLogDisabledShown','ffSrM','getScriptByName','set','vezlG','getLogDisabledShown','CFNwQ','BpGXx','tNMRz','TQgEo','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','No\x20summaryResults\x20found.','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','KVVbF','./baseModule','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','NfLMn','wcagVersion','74406aIgJMq','finishScanningForCli','getCurrentInstanceName','qPRZn','getAccessibilityResultsSummary','njAVb','util','WAaqA','Uhpeo','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','uoijy','true','chrome','IrhFl','wHgzh','onBeforeExecute','BROWSERSTACK_CLI_BIN_SESSION_ID','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','browserVersion','scannerProcessingTimeout','MTiQD','executeScriptByName','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','IaoRS','JuEAr','../../../helpers/performance/constants.js','../../utils/playwright-patcher','setAccessibilityToken','stack','ujzIk','gycMd','PnpRC','SDK_ACCESSIBILITY_CONFIG','getScript','../../../helpers/helper',']\x20isEnabledTestcase\x20(jest)\x20result=','getModuleName','getInstance','shouldScanForCommand:\x20','hmrlT','rTQjm','SrzTb','gabtb','_centralAuthA11yConfig','cyiAF',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','mjNsi','ueRUO','scan','commandsToWrap','browserstack.accessibilityOptions.authToken','sQQJw','nvOpw','getState','replace','GcIgP','jCVhx','bind','validatePlatformForAccessibility','getTestFrameworkDetail','\x20value=','Performing\x20scan\x20before\x20from\x20cli','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','AIxSD','pHPIz','BROWSERSTACK_TESTHUB_JWT','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','env','updateData','lVDan','stopTestCapture','name','Exception\x20in\x20isPlatformSupported:\x20','exports','[platform\x20-\x20','getData','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','debug','__accessibilityOptions','mergeObject','OSjfm','start','browserStackEvaluate','getTrackedInstance','KyIAF','BVEIa',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','MergedScanArgs:\x20','getName','../../../helpers/accessibility-automation/constants','command','../../playwright/accessibility-helper','page','CREATE','20032080dpwPzP','NimUN','xkEAo','currentTest','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','delete','patchSendMessageToServer',',\x20isAppAccessibility=','../state/hookState','setAccessibilityConfig','eeigI','evaluate','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','TrackedInstance','testFramework','YsEwU','RTdFV','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','1196LTbVLK','JmJHt','registerObserver','CDzxR','capabilities','browserName','haNVf','getResultsSummary','\x20testHubUuid=','UTTXw','ppmEN','thTestRunUuid','TEOQJ','shouldScanCurrentTest','QQNuK','latest','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','getCommandsList','performPageScan:\x20Script\x20is\x20null','CqBVg','assign','qdaMJ','ACCESSIBILITY_INITIALIZED','isAppAccessibility',']\x20Accessibility\x20configuration\x20initialized\x20successfully','opBXm','getGoogleChromeOptions','toLowerCase','test_run_id','_sendMessageServerPatchApplied','EKbfv','hyYQd','Processed\x20accessibility\x20caps\x20','null','Page\x20','PtwPY','DRIVER_HAS_URL','[AccessibilityModule]\x20onAfterTest:\x20framework=','ZvwwG','\x22browserstack.user\x22:\x22[REDACTED]\x22','ocYLU',']\x20should\x20run\x20accessibility\x20value=','Error\x20in\x20processAccessibilityCaps:\x20','error','DRIVER_INIT','../cliUtils','322IBcYXD','yIMuj','PRE','wDvlz','KEY_INIT','oiSpj','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','POST','split','IUmOe','__workerDetails','NVsSz','Executing\x20accessibility\x20script\x20on\x20page','browser','Error\x20executing\x20script\x20','voUEo','Error\x20in\x20initAccessibilityConfig:\x20','getTesthub','fWoHc','measureWrapper','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','XQzEq','QDElL','\x20accessibility\x20script\x20on\x20page','onBeforeTest:\x20event=','CzvNX','afterTestHook','RDheS','TRqYz','join','HZFaP','WFBsZ','HJqGa','sbmzt','launchCaps','../../../helpers/accessibility-automation/helper','urzCH','dwNkq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','vYucT',',\x20available\x20commands:\x20','Executing\x20','name:\x20','itslR','../state/automationFrameworkState','excludeTagsInTestingScope','goog:chromeOptions','includes','Context','wbVBS','NIUlJ','length','5966eYrXry','../../../helpers/classLogger','Mgpkn','LOG_DISABLED_SHOWN','KEY_TEST_NAME','lVJij','unknown','onAfterTest','a11y:save-results','../../../helpers/performance/performance-tester.js','isPlatformSupported:\x20caps\x20are\x20null','trim','Error\x20in\x20performScanForCli\x20for\x20script\x20','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','Error\x20getting\x20script\x20by\x20name\x20','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','browserstack.accessibilityOptions.scannerVersion','PERFORM_SCAN','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','accessibilityConfig','IwzRm','options','__jestCurrentTestIdentifier','getOptions','gxFnN','getBuildId','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.',',\x20includeTags=','1032158oqTAAp','warn','TzgkX','getValue',']\x20clear\x20','PEaVS','GET_RESULTS_SUMMARY','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','QUIT','orGhq','size','getCapabilitiesList','fwOpg','getTestDetails','jest','JphoI','vYWDd','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','platformValidation','browserstack.accessibilityOptions.scannerProcessingTimeout','../framework/testFramework','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','PoWIa',',\x20excludeTags=','HzsYS','getContext','6|9|7|14|2|13|0|12|1|5|4|8|15|10|3|11','onBeforeTest','iLapt','qpvOn','getResults','lmvXU','performScanForCli','9515scChbA','find','tdbFf','DBRZg','VCOqu','shouldScanForCommand','getTestUUID','LgdhV','GxzlP','TSega','LYDzj','Scan\x20result:\x20','browserstack.accessibilityOptions.wcagVersion','isAccessibilityScriptCommand','oZTtU','KZlYg','Error\x20in\x20shouldScanForCommand:\x20','some','saveTestResults','Error\x20in\x20getAccessibilityResults:\x20','oxUBV','sLtmb','get','../framework/automationFramework','YgaXN','format','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20',',\x20tags=','RgjKY','map','includeTagsInTestingScope','commandName','NSZqi','HIoxu','_centralAuthConfigFetched','KIznn','sgUqW','AjEVl','getCurrentAccessibilityStatus','BHMoQ','isArray','yusBz','fWbah','browserstack_executor','pueLd',',\x20\x0a\x20','playwright-chromium','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','GRevn','HfHqk','10276839ZNcVDJ','lLvhk','FdAvG','fetchDriverExecuteParamsEvent','setShouldScan','getSuccess','executeScriptByName:\x20No\x20','performPageScan','\x20from\x20testIdentifier=','mMFZx','TEST_INIT','value','parse','hmhqX','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','ACZLC','string','fgZLx','isEnabledTestcase','parseFromProto','BmeiM','FYVZh','message','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','cucumber','test_tags','caOGK','KEY_DRIVER_HAS_URL','onBeforeExecute:\x20Command\x20','getAccessibilityResults','kUJbs','AyHYm','testhub_build_uuid','yTtKs','processAccessibilityCaps','headless','tQUjG','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','2519488YUbOLC','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','KEY_TESTHUB_BUILD_ID','end','isEnabled','accessibilityPlatform','Error\x20in\x20getAccessibilityResultsSummary:\x20','pwPage','EXECUTE','function','MODULE_NAME','cnfCt','GeyEH','has','performScanForCli:\x20No\x20','testFrameworkData','ByFgS','\x20using\x20script:\x20','saveResults','stringify','rGypT','accessibility','HZVZd','FNKQw','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','mUdaV','cDNFG','fnHHg','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','CpauO','testAnalyticsId','scannerVersion','1413vPTkXZ','applySendMessageToServerPatch','getCommandsToWrap'];a80_0x5b87=function(){return _0xc68b61;};return a80_0x5b87();}(function(_0x7e9250,_0x2ce54b){const _0x3dfb77=a80_0xa588,_0x35819a=_0x7e9250();while(!![]){try{const _0x3815df=-parseInt(_0x3dfb77(0x15e))/0x1+-parseInt(_0x3dfb77(0x308))/0x2*(-parseInt(_0x3dfb77(0x1f9))/0x3)+-parseInt(_0x3dfb77(0x2a6))/0x4*(-parseInt(_0x3dfb77(0x17f))/0x5)+parseInt(_0x3dfb77(0x235))/0x6*(parseInt(_0x3dfb77(0x2d4))/0x7)+parseInt(_0x3dfb77(0x1d7))/0x8+parseInt(_0x3dfb77(0x1b1))/0x9+-parseInt(_0x3dfb77(0x293))/0xa;if(_0x3815df===_0x2ce54b)break;else _0x35819a['push'](_0x35819a['shift']());}catch(_0x27fbfa){_0x35819a['push'](_0x35819a['shift']());}}}(a80_0x5b87,0xebcf5));const BaseModule=require(a80_0x525b2c(0x231)),{createClassLogger}=require(a80_0x525b2c(0x309)),CLIUtils=require('../cliUtils'),AutomationFramework=require(a80_0x525b2c(0x196)),TestFramework=require(a80_0x525b2c(0x172)),AutomationFrameworkState=require(a80_0x525b2c(0x300)),HookState=require(a80_0x525b2c(0x29c)),GrpcClient=require(a80_0x525b2c(0x200)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a80_0x525b2c(0x2a1)),PerformanceTester=require(a80_0x525b2c(0x311)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x525b2c(0x24e)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x525b2c(0x28e)),{nestedKeyValue,isUndefined}=require(a80_0x525b2c(0x257)),util=require(a80_0x525b2c(0x23b)),TestInfo=require('../TestInfo.js'),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js');class AccessibilityModule extends BaseModule{static [a80_0x525b2c(0x1e1)]=AccessibilityModule[a80_0x525b2c(0x27c)];static [a80_0x525b2c(0x1a1)]=![];static ['_centralAuthA11yConfig']={};constructor(_0x264a2b){const _0x1709ce=a80_0x525b2c,_0x27fd1e={};_0x27fd1e[_0x1709ce(0x1e7)]=_0x1709ce(0x178),_0x27fd1e[_0x1709ce(0x2bb)]=_0x1709ce(0x2ca),_0x27fd1e[_0x1709ce(0x20a)]=_0x1709ce(0x2bc),_0x27fd1e[_0x1709ce(0x160)]=_0x1709ce(0x1d1),_0x27fd1e['pHPIz']='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE';const _0x1eae4c=_0x27fd1e,_0x3ba0a3=_0x1eae4c[_0x1709ce(0x1e7)][_0x1709ce(0x2dc)]('|');let _0x462095=0x0;while(!![]){switch(_0x3ba0a3[_0x462095++]){case'0':this[_0x1709ce(0x1ec)]=new Map();continue;case'1':this['isAppAccessibility']=![];continue;case'2':this['isEnabled']=!![];continue;case'3':this[_0x1709ce(0x1cc)]=_0x1eae4c[_0x1709ce(0x2bb)];continue;case'4':this[_0x1709ce(0x2c3)]=![];continue;case'5':this[_0x1709ce(0x2aa)]=[];continue;case'6':super();continue;case'7':AutomationFramework[_0x1709ce(0x2a8)](AutomationFrameworkState[_0x1709ce(0x292)],HookState[_0x1709ce(0x2db)],this['onBeforeTest'][_0x1709ce(0x26e)](this));continue;case'8':this[_0x1709ce(0x250)](_0x264a2b[_0x1709ce(0x159)]()['getCapabilitiesList']());continue;case'9':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x1709ce(0x1df)],HookState[_0x1709ce(0x2d6)],this[_0x1709ce(0x244)][_0x1709ce(0x26e)](this));continue;case'10':this['KEY_INIT']=_0x1eae4c[_0x1709ce(0x20a)];continue;case'11':this[_0x1709ce(0x1d9)]=_0x1eae4c[_0x1709ce(0x160)];continue;case'12':this[_0x1709ce(0x30b)]=new Map();continue;case'13':this['accessibilityConfig']=_0x264a2b['toObject']();continue;case'14':AutomationFramework[_0x1709ce(0x2a8)](AutomationFrameworkState[_0x1709ce(0x166)],HookState['PRE'],this['onAfterTest']['bind'](this));continue;case'15':logger[_0x1709ce(0x282)](_0x1eae4c[_0x1709ce(0x275)]);continue;}break;}}[a80_0x525b2c(0x1db)](){const _0x8db94f=a80_0x525b2c;return this[_0x8db94f(0x1db)];}[a80_0x525b2c(0x259)](){return AccessibilityModule['MODULE_NAME'];}[a80_0x525b2c(0x1a5)](){const _0x31d41b=a80_0x525b2c;return this[_0x31d41b(0x1ec)][_0x31d41b(0x195)](CLIUtils[_0x31d41b(0x237)](),![]);}[a80_0x525b2c(0x228)](){const _0x4e745c=a80_0x525b2c;return this[_0x4e745c(0x30b)]['get'](CLIUtils[_0x4e745c(0x237)](),![]);}[a80_0x525b2c(0x223)](_0x4cb296){const _0x52e9fc=a80_0x525b2c;this[_0x52e9fc(0x30b)]['set'](CLIUtils[_0x52e9fc(0x237)](),_0x4cb296);}[a80_0x525b2c(0x1fa)](){const _0x139734=a80_0x525b2c,_0x29ee79={'fWbah':_0x139734(0x151),'FYVZh':function(_0x557d2d,_0x2b88f7){return _0x557d2d(_0x2b88f7);},'pZIls':_0x139734(0x24f),'mjNsi':_0x139734(0x246),'LgdhV':_0x139734(0x297)};if(this[_0x139734(0x2c3)]){logger[_0x139734(0x282)](_0x29ee79[_0x139734(0x1a9)]);return;}try{const _0x54e07b=_0x29ee79[_0x139734(0x1c6)](require,_0x29ee79['pZIls']);_0x54e07b&&_0x54e07b['patchSendMessageToServer']?(_0x54e07b[_0x139734(0x29a)](),this['_sendMessageServerPatchApplied']=!![],logger[_0x139734(0x282)](_0x29ee79[_0x139734(0x263)])):logger[_0x139734(0x282)](_0x29ee79[_0x139734(0x186)]);}catch(_0x42ada6){logger['debug']('Error\x20applying\x20sendMessageToServer\x20patch:\x20'+util[_0x139734(0x198)](_0x42ada6));}}[a80_0x525b2c(0x220)](_0x1d29c9=null,_0x4df004=null,_0x52b5d2=null){const _0x186d2f=a80_0x525b2c,_0x473292={'KVVbF':function(_0x2963ca,_0x31aabd){return _0x2963ca&&_0x31aabd;},'QDElL':_0x186d2f(0x312),'haNVf':function(_0x3d7fdd,_0x4be9ef){return _0x3d7fdd(_0x4be9ef);},'lqhtl':_0x186d2f(0x2f7),'HZVZd':function(_0x259735,_0x188c5d){return _0x259735(_0x188c5d);},'HJqGa':'../../../helpers/helper','PtwPY':function(_0x5bf5ad){return _0x5bf5ad();},'uBVsL':_0x186d2f(0x22f),'GxzlP':function(_0x2f9c3d,_0x2d1859){return _0x2f9c3d===_0x2d1859;},'orGhq':_0x186d2f(0x241),'yusBz':_0x186d2f(0x1ad),'TEOQJ':function(_0x2a8502,_0x411c1b){return _0x2a8502===_0x411c1b;},'ujzIk':_0x186d2f(0x1c8),'PEaVS':function(_0x4cf5e7,_0x2abdda){return _0x4cf5e7===_0x2abdda;},'VCOqu':function(_0x397ee2,_0x2feb96){return _0x397ee2===_0x2feb96;},'DhejA':_0x186d2f(0x240),'ueRUO':_0x186d2f(0x1c1),'SrzTb':'isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','KOSAa':function(_0x1ad313,_0x8d2f88){return _0x1ad313>_0x8d2f88;},'RTdFV':_0x186d2f(0x2fa),'AIxSD':function(_0x44b1fc,_0x56f7f7){return _0x44b1fc!==_0x56f7f7;},'LYDzj':_0x186d2f(0x2b5),'vYWDd':function(_0x232710,_0x28cf30){return _0x232710>_0x28cf30;},'jvsAB':function(_0x83b23e,_0x3cdebb){return _0x83b23e(_0x3cdebb);},'vezlG':function(_0x31f9b8,_0x119682){return _0x31f9b8(_0x119682);},'TjBzV':_0x186d2f(0x205)};try{if(_0x473292[_0x186d2f(0x230)](!_0x4df004,!_0x52b5d2))return logger[_0x186d2f(0x282)](_0x473292[_0x186d2f(0x2ea)]),![];const {isAccessibilityAutomationSession:_0x578f31}=_0x473292[_0x186d2f(0x2ac)](require,_0x473292['lqhtl']),{isUndefined:_0x5c17e1,isBrowserstackInfra:_0x1bed0}=_0x473292[_0x186d2f(0x1ed)](require,_0x473292[_0x186d2f(0x2f4)]);if(!_0x473292[_0x186d2f(0x2c9)](_0x578f31))return logger[_0x186d2f(0x282)](_0x473292[_0x186d2f(0x1fe)]),![];if(!(_0x4df004[_0x186d2f(0x2ab)]&&_0x473292[_0x186d2f(0x187)](_0x4df004['browserName']['toLowerCase'](),_0x473292['orGhq'])||_0x4df004[_0x186d2f(0x2ab)]&&_0x473292[_0x186d2f(0x187)](_0x4df004[_0x186d2f(0x2ab)][_0x186d2f(0x2c1)](),_0x473292[_0x186d2f(0x1a8)])||_0x4df004[_0x186d2f(0x2e1)]&&_0x473292[_0x186d2f(0x2b2)](_0x4df004['browser'][_0x186d2f(0x2c1)](),_0x473292[_0x186d2f(0x167)])||_0x4df004[_0x186d2f(0x2e1)]&&_0x473292[_0x186d2f(0x187)](_0x4df004[_0x186d2f(0x2e1)][_0x186d2f(0x2c1)](),_0x473292['yusBz'])))return logger['warn'](_0x473292[_0x186d2f(0x252)]),![];try{const _0x4a4b9b=_0x4df004[_0x186d2f(0x1d4)],_0x3cd5b1=_0x473292[_0x186d2f(0x163)](_0x4a4b9b,!![])||_0x473292[_0x186d2f(0x183)](_0x4a4b9b,_0x473292[_0x186d2f(0x215)])||_0x473292[_0x186d2f(0x163)](typeof _0x4a4b9b,_0x473292[_0x186d2f(0x264)])&&_0x473292['PEaVS'](_0x4a4b9b[_0x186d2f(0x2c1)](),_0x473292[_0x186d2f(0x215)]);if(_0x3cd5b1)return logger[_0x186d2f(0x15f)](_0x473292[_0x186d2f(0x25e)]),![];}catch(_0xbfe4e3){logger[_0x186d2f(0x282)]('Error\x20checking\x20headless\x20capability:\x20'+util[_0x186d2f(0x198)](_0xbfe4e3));}if(!_0x473292[_0x186d2f(0x2c9)](_0x1bed0)){if(!_0x473292['KOSAa'](_0x473292[_0x186d2f(0x1ed)](parseFloat,_0x4df004[_0x186d2f(0x247)]),_0x473292['haNVf'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x186d2f(0x15f)](_0x473292[_0x186d2f(0x2a4)]),![];}else{if(_0x473292[_0x186d2f(0x274)](_0x4df004[_0x186d2f(0x247)],_0x473292[_0x186d2f(0x189)])&&!_0x473292[_0x186d2f(0x16e)](_0x473292['jvsAB'](parseFloat,_0x4df004['browserVersion']),_0x473292[_0x186d2f(0x227)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger['warn'](_0x473292['TjBzV']),![];}return!![];}catch(_0x4ddb2f){return logger[_0x186d2f(0x282)](_0x186d2f(0x27d)+_0x4ddb2f['message']),![];}}[a80_0x525b2c(0x1c3)](_0x1884ae=[],_0x2382de,_0x10858a=a80_0x525b2c(0x1c9)){const _0x200e65=a80_0x525b2c,_0xeaffc4={'MTiQD':function(_0xb158ca,_0x2b08da){return _0xb158ca===_0x2b08da;},'CDzxR':_0x200e65(0x16c),'eATSS':function(_0x475e10,_0xd24b82){return _0x475e10||_0xd24b82;},'pYFiI':function(_0x55b9fa,_0x24fd78){return _0x55b9fa===_0x24fd78;},'urzCH':function(_0x597e06,_0x1529e8){return _0x597e06&&_0x1529e8;},'OSjfm':_0x200e65(0x30e),'HaHwG':function(_0x3650ed,_0x528349){return _0x3650ed(_0x528349);},'WPdbz':function(_0x22b881,_0xa27f5a){return _0x22b881>_0xa27f5a;}};try{const _0x2c0607=process[_0x200e65(0x278)][_0x200e65(0x281)]?JSON[_0x200e65(0x1bd)](process[_0x200e65(0x278)][_0x200e65(0x281)]):null;if(!_0x2c0607)return!![];const _0x4c3262=Array['isArray'](_0x2c0607[_0x200e65(0x19d)])?_0x2c0607[_0x200e65(0x19d)]:[],_0x1498ed=Array[_0x200e65(0x1a7)](_0x2c0607[_0x200e65(0x301)])?_0x2c0607[_0x200e65(0x301)]:[];if(_0xeaffc4[_0x200e65(0x249)](_0x10858a,_0xeaffc4[_0x200e65(0x2a9)])){let _0x3d817a;Array['isArray'](_0x1884ae)?_0x3d817a=_0x1884ae[_0x200e65(0x2f1)]('\x20'):_0x3d817a=_0xeaffc4[_0x200e65(0x20b)](_0x1884ae,'');const _0x1ec1f4=_0x1498ed[_0x200e65(0x190)](_0x4b1452=>_0x3d817a[_0x200e65(0x303)](_0x4b1452)),_0x5a20e3=_0xeaffc4['pYFiI'](_0x4c3262[_0x200e65(0x307)],0x0)||_0x4c3262[_0x200e65(0x190)](_0x29bbec=>_0x3d817a[_0x200e65(0x303)](_0x29bbec)),_0x1bdb47=_0xeaffc4[_0x200e65(0x2f8)](!_0x1ec1f4,_0x5a20e3);return logger[_0x200e65(0x282)](_0x200e65(0x27f)+(_0x2382de?.[_0x200e65(0x210)]?.()||_0xeaffc4[_0x200e65(0x285)])+_0x200e65(0x258)+_0x1bdb47+',\x20testName='+_0x3d817a+_0x200e65(0x15d)+JSON[_0x200e65(0x1ea)](_0x4c3262)+_0x200e65(0x175)+JSON[_0x200e65(0x1ea)](_0x1498ed)),_0x1bdb47;}const _0x15c140=Array['isArray'](_0x1884ae)?_0x1884ae:[];let _0x3b98ff=![],_0x1f1c50=_0xeaffc4['MTiQD'](_0x4c3262[_0x200e65(0x307)],0x0);const _0x480ed3=_0x34b35c=>typeof _0x34b35c===_0x200e65(0x1c1)?_0x34b35c['replace'](/^@/,'')[_0x200e65(0x2c1)]()[_0x200e65(0x313)]():_0x34b35c,_0x483a84=new Set(_0x4c3262[_0x200e65(0x19c)](_0x480ed3)),_0x21f29f=new Set(_0x1498ed['map'](_0x480ed3));for(const _0x5afb17 of _0x15c140){const _0xd11a6=_0xeaffc4['HaHwG'](_0x480ed3,_0x5afb17);_0x21f29f[_0x200e65(0x1e4)](_0xd11a6)&&(_0x3b98ff=!![]),_0xeaffc4['WPdbz'](_0x483a84[_0x200e65(0x168)],0x0)&&_0x483a84['has'](_0xd11a6)&&(_0x1f1c50=!![]);}const _0x260a30=_0xeaffc4[_0x200e65(0x2f8)](_0x1f1c50,!_0x3b98ff);return logger[_0x200e65(0x282)](_0x200e65(0x27f)+(_0x2382de?.['getPlatformIndex']?.()||_0xeaffc4[_0x200e65(0x285)])+']\x20isEnabledTestcase\x20(cucumber)\x20result='+_0x260a30+_0x200e65(0x19a)+JSON[_0x200e65(0x1ea)](_0x15c140)+_0x200e65(0x15d)+JSON[_0x200e65(0x1ea)](_0x4c3262)+',\x20excludeTags='+JSON['stringify'](_0x1498ed)),_0x260a30;}catch(_0x3db778){return logger[_0x200e65(0x282)](_0x200e65(0x27f)+(_0x2382de?.[_0x200e65(0x210)]?.()||_0xeaffc4[_0x200e65(0x285)])+_0x200e65(0x28b)+_0x3db778[_0x200e65(0x1c7)]),![];}}async[a80_0x525b2c(0x179)](_0x5e7c90){const _0x260f00=a80_0x525b2c,_0x19b6f6={};_0x19b6f6['oiSpj']=function(_0x158ed2,_0x232122){return _0x158ed2!==_0x232122;},_0x19b6f6['tNMRz']=_0x260f00(0x1c9),_0x19b6f6[_0x260f00(0x25f)]=_0x260f00(0x16c),_0x19b6f6['ZvwwG']=_0x260f00(0x208),_0x19b6f6[_0x260f00(0x182)]=_0x260f00(0x1bb),_0x19b6f6[_0x260f00(0x1be)]=_0x260f00(0x2da),_0x19b6f6[_0x260f00(0x16a)]=_0x260f00(0x273),_0x19b6f6[_0x260f00(0x26d)]=_0x260f00(0x2d2),_0x19b6f6[_0x260f00(0x242)]=function(_0x1617bc,_0x427d15){return _0x1617bc===_0x427d15;},_0x19b6f6[_0x260f00(0x27a)]=function(_0x2b8b6a,_0x23b631){return _0x2b8b6a===_0x23b631;},_0x19b6f6['CqBVg']=_0x260f00(0x1d8),_0x19b6f6[_0x260f00(0x1f0)]=function(_0x18e832,_0xf403c6){return _0x18e832===_0xf403c6;},_0x19b6f6[_0x260f00(0x2c4)]='Unknown\x20Test',_0x19b6f6[_0x260f00(0x2bf)]=function(_0x26d3c6,_0xb32dad){return _0x26d3c6>_0xb32dad;},_0x19b6f6['pbiZz']=function(_0x2ba100,_0x361912){return _0x2ba100===_0x361912;},_0x19b6f6[_0x260f00(0x2f3)]=_0x260f00(0x1e0),_0x19b6f6[_0x260f00(0x23a)]=_0x260f00(0x1ca),_0x19b6f6[_0x260f00(0x2a3)]=function(_0x47ef68,_0x1b591f){return _0x47ef68&&_0x1b591f;},_0x19b6f6[_0x260f00(0x216)]=_0x260f00(0x30e),_0x19b6f6[_0x260f00(0x17d)]=_0x260f00(0x240);const _0x133384=_0x19b6f6;if(_0x133384[_0x260f00(0x2d9)](_0x5e7c90[_0x260f00(0x2a2)],_0x133384[_0x260f00(0x22b)])&&_0x133384[_0x260f00(0x2d9)](_0x5e7c90[_0x260f00(0x2a2)],_0x133384[_0x260f00(0x25f)])){logger[_0x260f00(0x282)](_0x133384[_0x260f00(0x2cc)]);return;}logger[_0x260f00(0x206)](_0x260f00(0x2ec)+JSON['stringify'](_0x5e7c90));try{const _0x164f7b=AutomationFramework[_0x260f00(0x288)](),_0x19da91=TestFramework[_0x260f00(0x288)](),_0x9ae072=_0x5e7c90[_0x260f00(0x291)]||global['__workerDetails']?.[_0x260f00(0x1de)]||null;if(!_0x9ae072){_0x19da91&&_0x19da91[_0x260f00(0x279)](_0x133384[_0x260f00(0x182)],!![]);logger[_0x260f00(0x282)](_0x133384[_0x260f00(0x1be)]);return;}logger['debug'](_0x133384[_0x260f00(0x16a)]);const _0xeace46=_0x19da91?.[_0x260f00(0x280)](_0x133384[_0x260f00(0x26d)],![]),_0xf75308=_0x19da91?.[_0x260f00(0x280)](_0x133384[_0x260f00(0x182)],![]);if(_0x133384[_0x260f00(0x242)](_0xeace46,![])&&_0x133384[_0x260f00(0x27a)](_0xf75308,![])){_0x19da91&&_0x19da91[_0x260f00(0x279)](_0x133384[_0x260f00(0x26d)],!![]);logger[_0x260f00(0x282)](_0x133384[_0x260f00(0x2b9)]);return;}_0x19da91&&_0x19da91['updateData'](_0x133384[_0x260f00(0x182)],!![]);let _0x1c4ed5,_0x414f0f;const _0xed911c=_0x5e7c90[_0x260f00(0x2a2)]||_0x133384[_0x260f00(0x22b)];if(_0x133384[_0x260f00(0x1f0)](_0xed911c,_0x133384[_0x260f00(0x25f)])){_0x414f0f=_0x5e7c90[_0x260f00(0x20f)]?.['testAnalyticsId']||_0x5e7c90['testInfo']?.['id']||global[_0x260f00(0x158)]||global[_0x260f00(0x2de)]?.[_0x260f00(0x296)]?.[_0x260f00(0x1f7)]||global[_0x260f00(0x2de)]?.[_0x260f00(0x296)]?.['id'];const _0x11f72a=_0x19da91?.['getAllData']()?.[_0x260f00(0x195)](_0x414f0f);if(_0x11f72a&&_0x11f72a[TestFrameworkConstants[_0x260f00(0x30c)]])_0x1c4ed5=_0x11f72a[TestFrameworkConstants[_0x260f00(0x30c)]];else{if(_0x5e7c90[_0x260f00(0x20f)]?.[_0x260f00(0x1fc)])_0x1c4ed5=_0x5e7c90[_0x260f00(0x20f)]['titlePath'];else global[_0x260f00(0x2de)]?.[_0x260f00(0x296)]?.[_0x260f00(0x20f)]?.['titlePath']?_0x1c4ed5=global[_0x260f00(0x2de)][_0x260f00(0x296)]['testInfo'][_0x260f00(0x1fc)]:_0x1c4ed5=_0x133384['EKbfv'];}logger['debug'](_0x260f00(0x1f5)+_0x414f0f+',\x20testName='+JSON[_0x260f00(0x1ea)](_0x1c4ed5));}else{_0x414f0f=this['getTestId'](_0x5e7c90);const _0x5c6ac8=TestInfo[_0x260f00(0x16b)](_0x414f0f);let _0x230c55=[];if(_0x5c6ac8&&Array['isArray'](_0x5c6ac8['test_tags'])&&_0x133384[_0x260f00(0x2bf)](_0x5c6ac8[_0x260f00(0x1ca)]['length'],0x0))_0x230c55=_0x5c6ac8['test_tags'];else{if(_0x19da91){const _0x5056cc=_0x133384['pbiZz'](typeof _0x19da91['getData'],_0x133384[_0x260f00(0x2f3)])?_0x19da91[_0x260f00(0x280)](_0x133384[_0x260f00(0x23a)],[]):_0x19da91[_0x260f00(0x1ca)]||[];Array['isArray'](_0x5056cc)&&(_0x230c55=_0x5056cc);}}_0x1c4ed5=_0x230c55;}logger[_0x260f00(0x206)]('test-tags-->\x20'+JSON[_0x260f00(0x1ea)](_0x1c4ed5));const _0x3572d4=this[_0x260f00(0x220)](_0x164f7b,_0x5e7c90['platformCaps'],_0x5e7c90['launchCaps']);logger['debug'](_0x260f00(0x16f)+_0x3572d4+_0x260f00(0x29b)+this[_0x260f00(0x2bd)]);const _0x217e66=this['isEnabledTestcase'](_0x1c4ed5,_0x164f7b,_0xed911c),_0x4884ac=_0x133384[_0x260f00(0x2a3)](_0x3572d4,_0x217e66),_0x1fdd88=CLIUtils[_0x260f00(0x237)]();this['accessibility']['set'](_0x1fdd88,_0x4884ac),global[_0x260f00(0x304)]?.[_0x260f00(0x177)]&&global['Context']['getContext']()[_0x260f00(0x1b5)](_0x4884ac),logger[_0x260f00(0x282)](_0x260f00(0x27f)+(_0x164f7b?.['getPlatformIndex']?.()||_0x133384[_0x260f00(0x216)])+_0x260f00(0x2cf)+_0x4884ac),_0x4884ac?(global['accessibilityPlatform']=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x133384[_0x260f00(0x17d)],this[_0x260f00(0x1fa)]()):global['accessibilityPlatform']=![];}catch(_0x37c349){logger[_0x260f00(0x2d1)]('Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20'+(_0x37c349[_0x260f00(0x251)]||_0x37c349[_0x260f00(0x1c7)]));const _0x2475f6=CLIUtils[_0x260f00(0x237)]();this[_0x260f00(0x1ec)][_0x260f00(0x226)](_0x2475f6,![]),global['accessibilityPlatform']=![];}}[a80_0x525b2c(0x2c0)](){const _0x2acf63=a80_0x525b2c;return this[_0x2acf63(0x2aa)][_0x2acf63(0x180)](_0x4a8e96=>_0x4a8e96['getName']()===_0x2acf63(0x302))?.[_0x2acf63(0x161)]()||'';}['getCapabilityValue'](_0x51f0a1){const _0x5871d8=a80_0x525b2c;try{const _0x34d3cd=this[_0x5871d8(0x155)]?.[_0x5871d8(0x157)]?.[_0x5871d8(0x21f)]||[],_0x651fe=_0x34d3cd[_0x5871d8(0x180)](_0x3019ad=>_0x3019ad[_0x5871d8(0x27c)]===_0x51f0a1);return _0x651fe?_0x651fe[_0x5871d8(0x1bc)]:null;}catch(_0x5b373e){return logger[_0x5871d8(0x282)]('Error\x20getting\x20capability\x20value\x20for\x20'+_0x51f0a1+':\x20'+_0x5b373e[_0x5871d8(0x1c7)]),null;}}async['setAccessibilityConfig'](_0x174841,_0x297408){const _0x96c3bb=a80_0x525b2c,_0x1699ca=_0x174841['getAccessibility']()['getOptions'](),_0x18938b=_0x1699ca[_0x96c3bb(0x207)](),_0x7778c7=_0x1699ca[_0x96c3bb(0x1fb)]()?.[_0x96c3bb(0x2b7)]();scripts[_0x96c3bb(0x1c4)](_0x18938b,_0x7778c7),scripts['toJson']();const _0x527c33=_0x1699ca[_0x96c3bb(0x169)]();this['capabilities']=_0x1699ca[_0x96c3bb(0x169)](),await this[_0x96c3bb(0x250)](_0x527c33,_0x297408[_0x96c3bb(0x2f6)]);}async['setAccessibilityToken'](_0x123461,_0x1971e7={}){const _0x132862=a80_0x525b2c,_0x4d5aa9={};_0x4d5aa9[_0x132862(0x2e3)]=function(_0x1e93f4,_0x187bf7){return _0x1e93f4===_0x187bf7;},_0x4d5aa9[_0x132862(0x2ed)]=_0x132862(0x209),_0x4d5aa9[_0x132862(0x2b0)]=_0x132862(0x267),_0x4d5aa9[_0x132862(0x1d2)]=function(_0x1cb809,_0x54d9de){return _0x1cb809===_0x54d9de;},_0x4d5aa9[_0x132862(0x2f9)]=_0x132862(0x234),_0x4d5aa9[_0x132862(0x19f)]=_0x132862(0x18b),_0x4d5aa9['NfLMn']=function(_0x5660ab,_0xb41eed){return _0x5660ab===_0xb41eed;},_0x4d5aa9['TRqYz']=_0x132862(0x1f8),_0x4d5aa9[_0x132862(0x1d0)]=_0x132862(0x152),_0x4d5aa9[_0x132862(0x23d)]=_0x132862(0x248),_0x4d5aa9['gxFnN']=_0x132862(0x171);const _0x1caf1c=_0x4d5aa9;global[_0x132862(0x283)]=global[_0x132862(0x283)]||{};for(const _0x581880 of _0x123461){logger[_0x132862(0x206)](_0x132862(0x2fe)+_0x581880[_0x132862(0x28d)]()+_0x132862(0x271)+_0x581880['getValue']());if(_0x1caf1c[_0x132862(0x2e3)](_0x581880['getName'](),_0x1caf1c[_0x132862(0x2ed)]))process[_0x132862(0x278)]['BS_A11Y_JWT']=_0x581880['getValue'](),global[_0x132862(0x283)][_0x1caf1c['ppmEN']]=_0x581880[_0x132862(0x161)]();else{if(_0x1caf1c['yTtKs'](_0x581880[_0x132862(0x28d)](),_0x1caf1c['dwNkq']))global[_0x132862(0x283)][_0x1caf1c[_0x132862(0x19f)]]=_0x581880[_0x132862(0x161)]();else{if(_0x1caf1c[_0x132862(0x233)](_0x581880[_0x132862(0x28d)](),_0x1caf1c[_0x132862(0x2f0)]))global['__accessibilityOptions'][_0x1caf1c[_0x132862(0x1d0)]]=_0x581880['getValue']();else _0x1caf1c[_0x132862(0x1d2)](_0x581880[_0x132862(0x28d)](),_0x1caf1c[_0x132862(0x23d)])&&(global[_0x132862(0x283)][_0x1caf1c[_0x132862(0x15a)]]=_0x581880[_0x132862(0x161)]());}}}}async[a80_0x525b2c(0x30f)](_0x28ae63){const _0x1cf9b4=a80_0x525b2c,_0x5e50e0={};_0x5e50e0[_0x1cf9b4(0x212)]=function(_0x2f46d5,_0x2c9607){return _0x2f46d5!==_0x2c9607;},_0x5e50e0[_0x1cf9b4(0x229)]=_0x1cf9b4(0x1c9),_0x5e50e0[_0x1cf9b4(0x1e2)]=function(_0x171943,_0x45a942){return _0x171943!==_0x45a942;},_0x5e50e0[_0x1cf9b4(0x28a)]=_0x1cf9b4(0x16c),_0x5e50e0[_0x1cf9b4(0x1ff)]=_0x1cf9b4(0x1ef),_0x5e50e0[_0x1cf9b4(0x17b)]=_0x1cf9b4(0x30e);const _0x517a9a=_0x5e50e0;if(_0x517a9a[_0x1cf9b4(0x212)](_0x28ae63[_0x1cf9b4(0x2a2)],_0x517a9a['CFNwQ'])&&_0x517a9a[_0x1cf9b4(0x1e2)](_0x28ae63[_0x1cf9b4(0x2a2)],_0x517a9a[_0x1cf9b4(0x28a)])){logger[_0x1cf9b4(0x282)](_0x517a9a[_0x1cf9b4(0x1ff)]);return;}const _0x4b2200=_0x28ae63[_0x1cf9b4(0x20f)]?.[_0x1cf9b4(0x1f7)]||_0x28ae63['testInfo']?.['id']||global[_0x1cf9b4(0x158)];logger[_0x1cf9b4(0x206)](_0x1cf9b4(0x2cb)+_0x28ae63[_0x1cf9b4(0x2a2)]+',\x20testIdentifier='+_0x4b2200);try{const _0x152568=_0x28ae63[_0x1cf9b4(0x21a)]||AutomationFramework[_0x1cf9b4(0x288)](),_0x505d76=CLIUtils[_0x1cf9b4(0x237)](),_0x3754a0=this['getCurrentAccessibilityStatus']();logger[_0x1cf9b4(0x282)](_0x1cf9b4(0x27f)+(_0x152568?.['getPlatformIndex']?.()||_0x517a9a['qpvOn'])+']\x20onAfterTest\x20should\x20scan='+_0x3754a0),_0x3754a0&&await this[_0x1cf9b4(0x27b)](_0x152568,_0x28ae63),this[_0x1cf9b4(0x1ec)][_0x1cf9b4(0x299)](_0x505d76),this[_0x1cf9b4(0x30b)][_0x1cf9b4(0x299)](_0x505d76);}catch(_0x513744){logger['error'](_0x1cf9b4(0x202)+(_0x513744[_0x1cf9b4(0x251)]||_0x513744[_0x1cf9b4(0x1c7)]));}}async[a80_0x525b2c(0x27b)](_0x273d41,_0x3cec54){const _0x2732e7=a80_0x525b2c,_0xd72a0={};_0xd72a0[_0x2732e7(0x214)]=function(_0x5265b9,_0x5a5eca){return _0x5265b9===_0x5a5eca;},_0xd72a0[_0x2732e7(0x1a4)]=_0x2732e7(0x1e0),_0xd72a0['Mgpkn']=function(_0x1dab97,_0x46422e){return _0x1dab97===_0x46422e;},_0xd72a0['NimUN']=_0x2732e7(0x16c),_0xd72a0[_0x2732e7(0x1e3)]=_0x2732e7(0x1c9),_0xd72a0[_0x2732e7(0x197)]=function(_0x3bbbf7,_0x1340f7){return _0x3bbbf7===_0x1340f7;},_0xd72a0['caOGK']=_0x2732e7(0x1f3),_0xd72a0[_0x2732e7(0x18e)]='accessibility',_0xd72a0[_0x2732e7(0x23f)]=_0x2732e7(0x1e9),_0xd72a0[_0x2732e7(0x16d)]='unknown',_0xd72a0[_0x2732e7(0x19b)]='present',_0xd72a0[_0x2732e7(0x1b3)]=_0x2732e7(0x2c7),_0xd72a0[_0x2732e7(0x269)]=function(_0x17cce0,_0x112736){return _0x17cce0===_0x112736;},_0xd72a0[_0x2732e7(0x17a)]=function(_0x43011d,_0x33b34c){return _0x43011d||_0x33b34c;},_0xd72a0['vYucT']=function(_0x2ccbe3,_0x531b53){return _0x2ccbe3||_0x531b53;},_0xd72a0[_0x2732e7(0x1f1)]='AUTOMATION_SESSIONS',_0xd72a0['vywhI']='NON_BROWSERSTACK_AUTOMATION_SESSIONS';const _0x4db586=_0xd72a0;try{const _0x4ff9d7=_0x3cec54[_0x2732e7(0x2a2)]||(_0x4db586[_0x2732e7(0x30a)](this[_0x2732e7(0x1e6)]?.[_0x2732e7(0x27c)]?.['toLowerCase'](),_0x4db586[_0x2732e7(0x294)])?_0x4db586[_0x2732e7(0x294)]:_0x4db586['GeyEH']);let _0x4eac93='',_0x25d3ed=null,_0x3455b4=null;if(_0x4db586[_0x2732e7(0x197)](_0x4ff9d7,_0x4db586[_0x2732e7(0x294)])){_0x25d3ed=_0x3cec54[_0x2732e7(0x20f)]?.[_0x2732e7(0x1f7)]||_0x3cec54[_0x2732e7(0x20f)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x25d3ed){logger[_0x2732e7(0x15f)](_0x4db586[_0x2732e7(0x1cb)]);return;}try{const _0x4ed59d=await GrpcClient[_0x2732e7(0x25a)]()[_0x2732e7(0x1b4)](process[_0x2732e7(0x278)][_0x2732e7(0x245)],_0x4db586['KZlYg'],_0x4db586['uoijy'],_0x25d3ed),_0x36b535=AccessibilityModule[_0x2732e7(0x1fd)](null,_0x4ed59d);_0x4eac93=_0x36b535?.[_0x2732e7(0x2b1)]||'',logger[_0x2732e7(0x282)](_0x2732e7(0x298)+_0x4eac93+'\x20from\x20testIdentifier='+_0x25d3ed),_0x3455b4=_0x4ed59d;}catch(_0x683e63){logger[_0x2732e7(0x2d1)](_0x2732e7(0x21c)+_0x683e63['message']);return;}}else{const _0x29e035=this[_0x2732e7(0x21b)](_0x3cec54);_0x4eac93=TestInfo[_0x2732e7(0x185)](_0x29e035);}const _0x377477=((()=>{const _0x71e3e=_0x2732e7,_0x3ae0cf=(this[_0x71e3e(0x155)]?.[_0x71e3e(0x157)]?.[_0x71e3e(0x21f)]||[])[_0x71e3e(0x180)](_0x20ea1b=>(typeof _0x20ea1b[_0x71e3e(0x28d)]===_0x71e3e(0x1e0)?_0x20ea1b['getName']():_0x20ea1b[_0x71e3e(0x27c)])===this[_0x71e3e(0x1d9)]);return _0x3ae0cf?_0x4db586[_0x71e3e(0x214)](typeof _0x3ae0cf['getValue'],_0x4db586[_0x71e3e(0x1a4)])?_0x3ae0cf[_0x71e3e(0x161)]():_0x3ae0cf[_0x71e3e(0x1bc)]:'';})()),_0x47c483=process['env']['BROWSERSTACK_TESTHUB_JWT']||'';logger[_0x2732e7(0x282)](_0x2732e7(0x27f)+(_0x273d41?.[_0x2732e7(0x210)]?.()||_0x4db586[_0x2732e7(0x16d)])+_0x2732e7(0x162)+_0x4eac93+_0x2732e7(0x2ae)+_0x377477+'\x20a11yToken='+(_0x47c483?_0x4db586[_0x2732e7(0x19b)]:_0x4db586['FdAvG']));let _0x59e9c4;if(_0x4db586['nvOpw'](_0x4ff9d7,_0x4db586[_0x2732e7(0x294)]))_0x59e9c4=AccessibilityModule[_0x2732e7(0x1fd)](_0x4eac93,_0x3455b4);else{const _0x19cfcd=await GrpcClient['getInstance']()[_0x2732e7(0x1b4)](process[_0x2732e7(0x278)][_0x2732e7(0x245)],_0x4db586[_0x2732e7(0x18e)],_0x4db586[_0x2732e7(0x23f)]);_0x59e9c4=AccessibilityModule['loadDriverExecuteParams'](_0x4eac93,_0x19cfcd);}logger['debug']('Accessibility\x20data\x20for\x20extension:\x20'+JSON[_0x2732e7(0x1ea)](_0x59e9c4));const _0x32cb01=Object[_0x2732e7(0x2ba)]({},{'thTestRunUuid':_0x4db586[_0x2732e7(0x17a)](_0x4eac93,''),'thBuildUuid':_0x4db586[_0x2732e7(0x2fb)](_0x377477,''),'thJwtToken':_0x4db586['vYucT'](_0x47c483,'')},_0x59e9c4);logger[_0x2732e7(0x282)]('[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid='+_0x4eac93+_0x2732e7(0x29b)+this['isAppAccessibility']);let _0x487e73=global[_0x2732e7(0x2de)]?.['pwPage']||null;!_0x487e73&&(_0x487e73=AutomationFramework[_0x2732e7(0x26a)](_0x273d41,_0x4db586[_0x2732e7(0x1f1)],null)),!_0x487e73&&(_0x487e73=AutomationFramework[_0x2732e7(0x26a)](_0x273d41,_0x4db586[_0x2732e7(0x201)],null)),await this[_0x2732e7(0x236)](this['getCurrentAccessibilityStatus'](),_0x4eac93,_0x487e73,_0x32cb01,this['isAppAccessibility']);}catch(_0x15aa93){logger['error']('Error\x20in\x20stopTestCapture:\x20'+(_0x15aa93[_0x2732e7(0x251)]||_0x15aa93[_0x2732e7(0x1c7)]));}}async['finishScanningForCli'](_0x4102a0,_0x362f57,_0x6be50f,_0x4b2acc,_0x178585){const _0x39a371=a80_0x525b2c,_0x2932e6={};_0x2932e6['kUJbs']=_0x39a371(0x1e9),_0x2932e6[_0x39a371(0x1d5)]=function(_0x18338b,_0x13c5a1){return _0x18338b&&_0x13c5a1;},_0x2932e6['HIoxu']=_0x39a371(0x222),_0x2932e6[_0x39a371(0x2df)]=function(_0x247d2e,_0x5597ab){return _0x247d2e===_0x5597ab;},_0x2932e6[_0x39a371(0x2c5)]='null',_0x2932e6['fgZLx']='Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found',_0x2932e6[_0x39a371(0x1b0)]=_0x39a371(0x272),_0x2932e6['WAaqA']=_0x39a371(0x2ee),_0x2932e6[_0x39a371(0x2b4)]=_0x39a371(0x265),_0x2932e6[_0x39a371(0x22c)]=function(_0x3f1fcf,_0xc54e0c){return _0x3f1fcf&&_0xc54e0c;},_0x2932e6['wHgzh']=_0x39a371(0x1d6),_0x2932e6[_0x39a371(0x1a3)]=_0x39a371(0x310),_0x2932e6[_0x39a371(0x1f6)]=_0x39a371(0x1f4);const _0x262813=_0x2932e6;try{const _0x39b03f=this['getScriptByName'](_0x262813[_0x39a371(0x1cf)]);if(_0x262813[_0x39a371(0x1d5)](!_0x178585,!_0x39b03f)){logger[_0x39a371(0x282)](_0x262813[_0x39a371(0x1a0)]);return;}if(!_0x362f57||_0x262813[_0x39a371(0x2df)](_0x362f57,_0x262813[_0x39a371(0x2c5)])||_0x262813[_0x39a371(0x2df)](_0x362f57,'')){logger[_0x39a371(0x282)](_0x262813[_0x39a371(0x1c2)]);return;}logger['debug'](_0x39a371(0x22d)+JSON[_0x39a371(0x1ea)](_0x4b2acc)),_0x4102a0&&(logger[_0x39a371(0x282)](_0x262813['HfHqk']),await this[_0x39a371(0x17e)](_0x6be50f,_0x362f57,_0x262813[_0x39a371(0x23c)],_0x4b2acc,_0x178585,_0x262813['QQNuK']),_0x262813['TQgEo'](!_0x178585,_0x39b03f)&&(logger[_0x39a371(0x282)](_0x262813[_0x39a371(0x243)]),await PerformanceTester[_0x39a371(0x2e7)](_0x262813[_0x39a371(0x1a3)],async()=>{const _0xb5cf90=_0x39a371;await this['performScanForCli'](_0x6be50f,_0x362f57,_0x262813['kUJbs'],_0x4b2acc,_0x178585,_0x262813[_0xb5cf90(0x1cf)]);})()),logger[_0x39a371(0x206)](_0x262813[_0x39a371(0x1f6)]));}catch(_0x4834f5){logger[_0x39a371(0x2d1)](_0x39a371(0x14f)+(_0x4834f5[_0x39a371(0x251)]||_0x4834f5['message']));}}async[a80_0x525b2c(0x244)](_0x189ea0){const _0x2d8f1d=a80_0x525b2c,_0xa7f726={};_0xa7f726[_0x2d8f1d(0x1ab)]=function(_0x59c574,_0x412f4a){return _0x59c574!==_0x412f4a;},_0xa7f726[_0x2d8f1d(0x193)]=_0x2d8f1d(0x1c9),_0xa7f726[_0x2d8f1d(0x26c)]=function(_0x425428,_0x398b8a){return _0x425428!==_0x398b8a;},_0xa7f726[_0x2d8f1d(0x21e)]=_0x2d8f1d(0x16c),_0xa7f726[_0x2d8f1d(0x295)]='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework',_0xa7f726['TSega']=_0x2d8f1d(0x30e),_0xa7f726[_0x2d8f1d(0x261)]='onBeforeExecute:\x20No\x20command\x20name\x20provided',_0xa7f726[_0x2d8f1d(0x30d)]=function(_0x3d3c0a,_0x2f6afc){return _0x3d3c0a===_0x2f6afc;},_0xa7f726[_0x2d8f1d(0x194)]=_0x2d8f1d(0x154),_0xa7f726[_0x2d8f1d(0x1eb)]=_0x2d8f1d(0x1ec),_0xa7f726[_0x2d8f1d(0x1ee)]=_0x2d8f1d(0x21d),_0xa7f726[_0x2d8f1d(0x181)]=_0x2d8f1d(0x2c2),_0xa7f726[_0x2d8f1d(0x176)]=_0x2d8f1d(0x1d1),_0xa7f726[_0x2d8f1d(0x289)]=_0x2d8f1d(0x265),_0xa7f726[_0x2d8f1d(0x24d)]=_0x2d8f1d(0x2c7);const _0x7132e8=_0xa7f726;if(_0x7132e8[_0x2d8f1d(0x1ab)](_0x189ea0['testFramework'],_0x7132e8['oxUBV'])&&_0x7132e8['GcIgP'](_0x189ea0[_0x2d8f1d(0x2a2)],_0x7132e8['mmwGm'])){logger[_0x2d8f1d(0x282)](_0x7132e8[_0x2d8f1d(0x295)]);return;}logger[_0x2d8f1d(0x282)](_0x2d8f1d(0x217)+(_0x189ea0[_0x2d8f1d(0x19e)]||_0x7132e8[_0x2d8f1d(0x188)])+',\x20framework='+_0x189ea0[_0x2d8f1d(0x2a2)]);try{const _0x5e137f=_0x189ea0[_0x2d8f1d(0x21a)]||AutomationFramework[_0x2d8f1d(0x288)](),_0x34c119=TestFramework[_0x2d8f1d(0x288)](),_0x191ea4=_0x189ea0[_0x2d8f1d(0x19e)]||_0x189ea0[_0x2d8f1d(0x28f)]?.[_0x2d8f1d(0x28d)]();if(!_0x191ea4){logger[_0x2d8f1d(0x282)](_0x7132e8[_0x2d8f1d(0x261)]);return;}if(!this[_0x2d8f1d(0x1a5)]()){logger[_0x2d8f1d(0x282)](_0x2d8f1d(0x2b6)+_0x191ea4);return;}if(!this[_0x2d8f1d(0x184)](_0x191ea4)){logger['debug'](_0x2d8f1d(0x1cd)+_0x191ea4+_0x2d8f1d(0x2a5));return;}const _0x397024=_0x189ea0['page']||global[_0x2d8f1d(0x2de)]?.[_0x2d8f1d(0x1de)];if(!_0x397024){logger[_0x2d8f1d(0x282)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x191ea4);return;}let _0x17318f='',_0x2c9cd5=null;if(_0x7132e8[_0x2d8f1d(0x30d)](_0x189ea0[_0x2d8f1d(0x2a2)],_0x7132e8[_0x2d8f1d(0x21e)])){_0x2c9cd5=_0x189ea0[_0x2d8f1d(0x20f)]?.[_0x2d8f1d(0x1f7)]||_0x189ea0[_0x2d8f1d(0x20f)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x2c9cd5){logger[_0x2d8f1d(0x15f)](_0x7132e8[_0x2d8f1d(0x194)]);return;}try{const _0x8c4b38=await GrpcClient[_0x2d8f1d(0x25a)]()[_0x2d8f1d(0x1b4)](process[_0x2d8f1d(0x278)][_0x2d8f1d(0x245)],_0x7132e8[_0x2d8f1d(0x1eb)],_0x7132e8[_0x2d8f1d(0x1ee)],_0x2c9cd5),_0x49989c=AccessibilityModule[_0x2d8f1d(0x1fd)](null,_0x8c4b38);_0x17318f=_0x49989c?.[_0x2d8f1d(0x2b1)]||'',logger[_0x2d8f1d(0x282)](_0x2d8f1d(0x232)+_0x17318f+_0x2d8f1d(0x1b9)+_0x2c9cd5);}catch(_0x512e66){logger[_0x2d8f1d(0x2d1)](_0x2d8f1d(0x20e)+_0x512e66[_0x2d8f1d(0x1c7)]);return;}}else _0x17318f=this[_0x2d8f1d(0x20d)](_0x7132e8[_0x2d8f1d(0x181)])||'';const _0x5ad5dd=this['getCapabilityValue'](_0x7132e8[_0x2d8f1d(0x176)])||this['accessibilityConfig'][this[_0x2d8f1d(0x1d9)]]||null,_0x4e8694=process[_0x2d8f1d(0x278)][_0x2d8f1d(0x276)]||'',_0x6d38b7=this[_0x2d8f1d(0x20c)](_0x191ea4,_0x17318f,_0x5ad5dd,_0x4e8694),_0x10dae0=_0x7132e8['lVJij'](_0x189ea0['testFramework'],_0x7132e8[_0x2d8f1d(0x21e)])?await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x7132e8[_0x2d8f1d(0x289)],_0x17318f,_0x2c9cd5):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x7132e8[_0x2d8f1d(0x289)],_0x17318f);logger[_0x2d8f1d(0x206)]('ScanArgs:\x20'+(_0x6d38b7?JSON[_0x2d8f1d(0x1ea)](_0x6d38b7):_0x7132e8['JuEAr']));const _0x4b98d9=CLIUtils[_0x2d8f1d(0x284)](_0x6d38b7,_0x10dae0);logger['info'](_0x2d8f1d(0x28c)+(_0x4b98d9?JSON['stringify'](_0x4b98d9):_0x7132e8[_0x2d8f1d(0x24d)])),logger[_0x2d8f1d(0x282)](_0x2d8f1d(0x1bf)+_0x191ea4);const _0x1c92d8=await this[_0x2d8f1d(0x17e)](_0x397024,_0x17318f,_0x191ea4,_0x4b98d9,this['isAppAccessibility']);logger[_0x2d8f1d(0x282)](_0x2d8f1d(0x2a0)+_0x191ea4+_0x2d8f1d(0x1ac)+_0x1c92d8);}catch(_0x44bae7){logger[_0x2d8f1d(0x2d1)](_0x2d8f1d(0x277)+(_0x44bae7[_0x2d8f1d(0x251)]||_0x44bae7[_0x2d8f1d(0x1c7)]));}}[a80_0x525b2c(0x2b3)](){return this['getCurrentAccessibilityStatus']();}['setShouldScanCurrentTest'](_0x5c90f3){const _0x4e1041=a80_0x525b2c,_0x2e752a=CLIUtils[_0x4e1041(0x237)]();this['accessibility'][_0x4e1041(0x226)](_0x2e752a,_0x5c90f3);}async['initAccessibilityConfig'](_0x232430){const _0x244687=a80_0x525b2c,_0x252a2b={};_0x252a2b[_0x244687(0x221)]='unknown';const _0x37fde8=_0x252a2b;try{const _0x3c3a42=_0x232430[_0x244687(0x21a)]||AutomationFramework[_0x244687(0x288)](),_0x4fe359=_0x3c3a42?.[_0x244687(0x280)]?.()?.[_0x244687(0x195)]?.(this[_0x244687(0x2d8)])||![];if(_0x4fe359)return;PerformanceTester[_0x244687(0x286)](EVENTS[_0x244687(0x255)]);const _0x5409b6=await GrpcClient[_0x244687(0x25a)]()['getAccessibilityConfig'](_0x232430);_0x5409b6&&_0x5409b6[_0x244687(0x203)]&&_0x5409b6[_0x244687(0x203)]()&&_0x5409b6['getAccessibility']()['getSuccess']()?(await this[_0x244687(0x219)](_0x5409b6,_0x232430),_0x3c3a42?.[_0x244687(0x280)]&&_0x3c3a42[_0x244687(0x280)]()[_0x244687(0x226)](this[_0x244687(0x2d8)],!![]),logger[_0x244687(0x282)]('[platform\x20-\x20'+(_0x3c3a42?.[_0x244687(0x210)]?.()||_0x37fde8[_0x244687(0x221)])+_0x244687(0x2be))):logger[_0x244687(0x282)](_0x244687(0x27f)+(_0x3c3a42?.['getPlatformIndex']?.()||_0x37fde8['jrzRE'])+_0x244687(0x262)),PerformanceTester['end'](EVENTS[_0x244687(0x255)]);}catch(_0x213d4c){PerformanceTester[_0x244687(0x1da)](EVENTS[_0x244687(0x255)],![],_0x213d4c[_0x244687(0x1c7)]),logger[_0x244687(0x2d1)](_0x244687(0x2e4)+(_0x213d4c[_0x244687(0x251)]||_0x213d4c[_0x244687(0x1c7)]));}}async[a80_0x525b2c(0x219)](_0x34bd73,_0x2184fd){const _0xd65355=a80_0x525b2c;await this[_0xd65355(0x29d)](_0x34bd73,_0x2184fd);const _0x12b776=_0x34bd73[_0xd65355(0x203)]()[_0xd65355(0x159)]();if(_0x12b776){const _0x28c7dc=_0x34bd73[_0xd65355(0x2e5)]&&_0x34bd73['getTesthub']();_0x28c7dc&&(this['accessibilityConfig'][this['KEY_TESTHUB_BUILD_ID']]=_0x28c7dc[_0xd65355(0x15b)]&&_0x28c7dc['getBuildId']());}}[a80_0x525b2c(0x184)](_0x303005){const _0x3c6c02=a80_0x525b2c,_0x5ea0ff={};_0x5ea0ff['UTTXw']=function(_0x46c70a,_0x162d19){return _0x46c70a===_0x162d19;};const _0x290601=_0x5ea0ff;try{if(!_0x303005)return![];const _0x2e9803=this[_0x3c6c02(0x155)]?.[_0x3c6c02(0x157)]?.[_0x3c6c02(0x266)]?.['commandsList']||[],_0x47d9d2=_0x2e9803[_0x3c6c02(0x190)](_0x3a703e=>{const _0x46e674=_0x3c6c02;return _0x3a703e[_0x46e674(0x27c)]&&_0x290601[_0x46e674(0x2af)](_0x3a703e[_0x46e674(0x27c)][_0x46e674(0x2c1)](),_0x303005[_0x46e674(0x2c1)]());});return logger[_0x3c6c02(0x282)](_0x3c6c02(0x25b)+_0x303005+'\x20->\x20'+_0x47d9d2+_0x3c6c02(0x2fc)+JSON[_0x3c6c02(0x1ea)](_0x2e9803['map'](_0x26832e=>_0x26832e[_0x3c6c02(0x27c)]))),_0x47d9d2;}catch(_0x4380af){return logger['debug'](_0x3c6c02(0x18f)+_0x4380af[_0x3c6c02(0x1c7)]),![];}}['isBrowserstackScriptCommand'](_0x42f9fe){const _0x28418e=a80_0x525b2c,_0x22d4d8={};_0x22d4d8['fWoHc']=function(_0x3e7e67,_0x22119f){return _0x3e7e67===_0x22119f;},_0x22d4d8['IUmOe']=_0x28418e(0x1c1),_0x22d4d8[_0x28418e(0x1c5)]=_0x28418e(0x1aa);const _0x2122d5=_0x22d4d8,_0x50e503=_0x42f9fe[_0x28418e(0x256)]&&_0x42f9fe[_0x28418e(0x256)]();return _0x50e503&&_0x2122d5[_0x28418e(0x2e6)](typeof _0x50e503,_0x2122d5[_0x28418e(0x2dd)])&&_0x50e503[_0x28418e(0x303)](_0x2122d5[_0x28418e(0x1c5)]);}[a80_0x525b2c(0x18c)](_0x4eb9f3){const _0x1230db=a80_0x525b2c,_0x1b3ff2={};_0x1b3ff2[_0x1230db(0x25c)]=function(_0x18412c,_0x816bc8){return _0x18412c!==_0x816bc8;},_0x1b3ff2['EMaXO']=_0x1230db(0x1c1),_0x1b3ff2[_0x1230db(0x2f2)]=_0x1230db(0x1ec),_0x1b3ff2['kkwSE']=_0x1230db(0x21d),_0x1b3ff2[_0x1230db(0x2d7)]='getResults',_0x1b3ff2[_0x1230db(0x254)]=_0x1230db(0x191);const _0x5163b7=_0x1b3ff2,_0x8d1f09=_0x4eb9f3[_0x1230db(0x256)]&&_0x4eb9f3[_0x1230db(0x256)]();if(!_0x8d1f09||_0x5163b7[_0x1230db(0x25c)](typeof _0x8d1f09,_0x5163b7['EMaXO']))return![];return _0x8d1f09['includes'](_0x5163b7[_0x1230db(0x2f2)])||_0x8d1f09[_0x1230db(0x303)](_0x5163b7['kkwSE'])||_0x8d1f09['includes'](_0x5163b7['wDvlz'])||_0x8d1f09[_0x1230db(0x303)](_0x5163b7['PnpRC']);}[a80_0x525b2c(0x20c)](_0x44c47c,_0x4d6560,_0x372ee6,_0x2ec4b6){const _0x148778=a80_0x525b2c,_0x27e440={};_0x27e440[_0x148778(0x25d)]=function(_0x55c34e,_0x5c1e6c){return _0x55c34e||_0x5c1e6c;},_0x27e440[_0x148778(0x268)]=function(_0x3c0f92,_0x4f5551){return _0x3c0f92||_0x4f5551;};const _0xb748c8=_0x27e440;return{'command':_0x44c47c,'thTestRunUuid':_0xb748c8[_0x148778(0x25d)](_0x4d6560,''),'thBuildUuid':_0xb748c8[_0x148778(0x25d)](_0x372ee6,''),'thJwtToken':_0xb748c8[_0x148778(0x268)](_0x2ec4b6,''),'timestamp':new Date()[_0x148778(0x211)]()};}[a80_0x525b2c(0x225)](_0x845d4a){const _0x2417ce=a80_0x525b2c,_0x11bfb0={};_0x11bfb0['PoWIa']=function(_0x142503,_0x57105b){return _0x142503||_0x57105b;};const _0x49ca39=_0x11bfb0;try{const _0x6e99a7=this[_0x2417ce(0x155)]?.[_0x2417ce(0x157)]?.['scriptsList']||[],_0x3ac74c=_0x6e99a7['find'](_0x5ea2b3=>_0x5ea2b3[_0x2417ce(0x27c)]===_0x845d4a);return _0x49ca39[_0x2417ce(0x174)](_0x3ac74c,null);}catch(_0x3ae32f){return logger[_0x2417ce(0x282)](_0x2417ce(0x150)+_0x845d4a+':\x20'+_0x3ae32f[_0x2417ce(0x1c7)]),null;}}async[a80_0x525b2c(0x24a)](_0x16f76b,_0x1eaeed,_0x55c178=null){const _0x4bceec=a80_0x525b2c,_0x25f34a={'qPRZn':function(_0x3d4ce5,_0x5b350d){return _0x3d4ce5(_0x5b350d);},'ZofXx':_0x4bceec(0x290)};try{if(!_0x16f76b)return logger['debug']('executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20'+_0x1eaeed),null;const _0x55b600=this[_0x4bceec(0x225)](_0x1eaeed);if(!_0x55b600||!_0x55b600['command'])return logger[_0x4bceec(0x282)](_0x4bceec(0x1b7)+_0x1eaeed+'\x20script\x20available'),null;logger['debug'](_0x4bceec(0x2fd)+_0x1eaeed+_0x4bceec(0x2eb));const _0x231a10=_0x25f34a[_0x4bceec(0x238)](require,_0x25f34a['ZofXx']),_0x509e93=_0x55c178?await _0x231a10[_0x4bceec(0x287)](_0x16f76b,_0x55b600['command'],_0x55c178):await _0x231a10[_0x4bceec(0x287)](_0x16f76b,_0x55b600[_0x4bceec(0x28f)]);return _0x509e93;}catch(_0x4de4b8){return logger[_0x4bceec(0x2d1)](_0x4bceec(0x2e2)+_0x1eaeed+':\x20'+(_0x4de4b8[_0x4bceec(0x251)]||_0x4de4b8['message'])),null;}}async[a80_0x525b2c(0x17e)](_0x51079c,_0x9f5e92,_0x3100a5,_0x1af2cb,_0x2f406b,_0x43ba5f='scan'){const _0x1991b0=a80_0x525b2c,_0x29fff5={'AciNw':function(_0x1238c8,_0x3c0008){return _0x1238c8===_0x3c0008;},'IwzRm':_0x1991b0(0x265),'lLvhk':function(_0x1a5130,_0x592731){return _0x1a5130(_0x592731);},'KIznn':'../../playwright/accessibility-helper','itslR':function(_0x44ffa9,_0x7b56ac){return _0x44ffa9(_0x7b56ac);}};try{logger[_0x1991b0(0x282)](_0x1991b0(0x23e)+_0x3100a5+_0x1991b0(0x1e8)+_0x43ba5f);const _0xf04b53=this[_0x1991b0(0x225)](_0x43ba5f);if(!_0xf04b53||!_0xf04b53['command']){logger[_0x1991b0(0x282)](_0x1991b0(0x1e5)+_0x43ba5f+'\x20script\x20available\x20in\x20scriptsList');return;}if(_0x29fff5['AciNw'](_0x43ba5f,_0x29fff5[_0x1991b0(0x156)])){const _0x23c2cf=_0x29fff5[_0x1991b0(0x1b2)](require,_0x29fff5[_0x1991b0(0x1a2)]),_0x359300={};_0x359300['command']=_0x3100a5;const _0x12bbcf=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1991b0(0x153)],async()=>{const _0x42c239=_0x1991b0;await _0x23c2cf[_0x42c239(0x287)](_0x51079c,_0xf04b53[_0x42c239(0x28f)]);},_0x359300)();return logger[_0x1991b0(0x206)](_0x1991b0(0x2c8)+_0x43ba5f+'\x20result\x20for\x20'+_0x3100a5+':\x20'+util[_0x1991b0(0x198)](_0x12bbcf)),_0x12bbcf;}const _0x495369=_0x29fff5[_0x1991b0(0x2ff)](require,_0x29fff5[_0x1991b0(0x1a2)]),_0x501e4b=await PerformanceTester[_0x1991b0(0x2e7)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{await _0x495369['browserStackEvaluate'](_0x51079c,_0xf04b53['command'],_0x1af2cb);})();return logger[_0x1991b0(0x206)]('Page\x20'+_0x43ba5f+'\x20result\x20for\x20'+_0x3100a5+':\x20'+util[_0x1991b0(0x198)](_0x501e4b)),_0x501e4b;}catch(_0xea0399){logger[_0x1991b0(0x2d1)](_0x1991b0(0x314)+_0x43ba5f+':\x20'+(_0xea0399[_0x1991b0(0x251)]||_0xea0399['message']));}}async[a80_0x525b2c(0x26f)](_0x42f437){const _0x4b5626=a80_0x525b2c,_0x2cf8a1={'fnHHg':function(_0x17290d,_0x293572){return _0x17290d(_0x293572);},'NIUlJ':_0x4b5626(0x2f7)};try{const _0x25b399=_0x2cf8a1[_0x4b5626(0x1f2)](require,_0x2cf8a1[_0x4b5626(0x306)]);return await _0x25b399[_0x4b5626(0x170)](_0x42f437);}catch(_0x269c31){return logger[_0x4b5626(0x2d1)](_0x4b5626(0x213)+(_0x269c31[_0x4b5626(0x251)]||_0x269c31[_0x4b5626(0x1c7)])),![];}}['processAccessibilityCaps'](_0x145a3e,_0xd5e7e0,_0x5800e2){const _0x5b821f=a80_0x525b2c,_0x1ecb6d={'wbVBS':function(_0x319612,_0x33eb24){return _0x319612(_0x33eb24);},'funQW':_0x5b821f(0x290),'ffSrM':_0x5b821f(0x2cd),'IaoRS':'\x22browserstack.key\x22:\x22[REDACTED]\x22'};try{const _0x4ab9e5=_0x1ecb6d[_0x5b821f(0x305)](require,_0x1ecb6d['funQW']);_0x4ab9e5[_0x5b821f(0x1d3)](_0x145a3e,_0xd5e7e0,_0x5800e2);const _0x9c503e=JSON[_0x5b821f(0x1ea)](_0x145a3e)[_0x5b821f(0x26b)](/"browserstack\.user":"[^"]*"/g,_0x1ecb6d[_0x5b821f(0x224)])['replace'](/"browserstack\.key":"[^"]*"/g,_0x1ecb6d[_0x5b821f(0x24c)]);logger[_0x5b821f(0x282)](_0x5b821f(0x2c6)+global[_0x5b821f(0x1dc)]+'\x20'+_0x9c503e);}catch(_0x48cadf){logger[_0x5b821f(0x2d1)](_0x5b821f(0x2d0)+(_0x48cadf[_0x5b821f(0x251)]||_0x48cadf[_0x5b821f(0x1c7)]));}}async[a80_0x525b2c(0x1ce)](_0x439c47){const _0xd9fe50=a80_0x525b2c,_0x3690b1={};_0x3690b1[_0xd9fe50(0x2f5)]=_0xd9fe50(0x24b),_0x3690b1['yIMuj']=_0xd9fe50(0x17c);const _0x58c2e4=_0x3690b1;try{if(!this[_0xd9fe50(0x1a5)]())return logger[_0xd9fe50(0x15f)](_0x58c2e4[_0xd9fe50(0x2f5)]),[];const _0x1d6f86=await this[_0xd9fe50(0x24a)](_0x439c47,_0x58c2e4[_0xd9fe50(0x2d5)]);return _0x1d6f86||[];}catch(_0x34593c){return logger[_0xd9fe50(0x2d1)](_0xd9fe50(0x192)+(_0x34593c['stack']||_0x34593c[_0xd9fe50(0x1c7)])),[];}}async[a80_0x525b2c(0x239)](_0x1ba6ef){const _0x54f9ac=a80_0x525b2c,_0x4508f2={'RDheS':'scan','FOBtW':_0x54f9ac(0x2ad),'czpZs':_0x54f9ac(0x1ae),'XQzEq':function(_0x547222,_0x15584f){return _0x547222(_0x15584f);},'BpGXx':_0x54f9ac(0x2d3),'hIYvZ':function(_0x22a9ce,_0x1f6486){return _0x22a9ce===_0x1f6486;},'gycMd':'jest','ZMtRp':_0x54f9ac(0x15c),'oZTtU':_0x54f9ac(0x1ec),'mMFZx':_0x54f9ac(0x1d1),'GRevn':_0x54f9ac(0x239),'cnFHj':_0x54f9ac(0x2c2),'AMUFf':'Performing\x20scan\x20before\x20getting\x20results\x20summary','TvWhv':_0x54f9ac(0x22e)};try{if(!this[_0x54f9ac(0x1a5)]())return logger[_0x54f9ac(0x15f)](_0x4508f2['czpZs']),{};const _0x3ffee4=_0x4508f2[_0x54f9ac(0x2e9)](require,_0x4508f2[_0x54f9ac(0x22a)]),_0x57d476=_0x3ffee4[_0x54f9ac(0x270)](),_0x3d24d4=_0x4508f2['hIYvZ'](_0x57d476?.[_0x54f9ac(0x27c)]?.[_0x54f9ac(0x2c1)](),_0x4508f2[_0x54f9ac(0x253)]);let _0x37979a='',_0x3f9b73=null,_0x451f1f=null;if(_0x3d24d4){_0x3f9b73=global[_0x54f9ac(0x158)]||global[_0x54f9ac(0x2de)]?.['currentTest']?.[_0x54f9ac(0x1f7)]||global[_0x54f9ac(0x2de)]?.['currentTest']?.['id'];if(!_0x3f9b73)return logger[_0x54f9ac(0x15f)](_0x4508f2[_0x54f9ac(0x204)]),{};try{const _0x159b9c=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process[_0x54f9ac(0x278)][_0x54f9ac(0x245)],_0x4508f2[_0x54f9ac(0x18d)],_0x4508f2[_0x54f9ac(0x218)],_0x3f9b73),_0x1cb3f4=AccessibilityModule[_0x54f9ac(0x1fd)](null,_0x159b9c);_0x37979a=_0x1cb3f4?.[_0x54f9ac(0x2b1)]||'',logger[_0x54f9ac(0x282)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x37979a+'\x20from\x20testIdentifier='+_0x3f9b73);const _0x21691d=await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x4508f2[_0x54f9ac(0x218)],_0x37979a,_0x3f9b73),_0x457f6b=this[_0x54f9ac(0x20d)](_0x4508f2[_0x54f9ac(0x1ba)])||this[_0x54f9ac(0x155)][this[_0x54f9ac(0x1d9)]]||null,_0x1a67ba=process[_0x54f9ac(0x278)][_0x54f9ac(0x276)]||'',_0x5861a0=this[_0x54f9ac(0x20c)](_0x4508f2['GRevn'],_0x37979a,_0x457f6b,_0x1a67ba);_0x451f1f=_0x3ffee4[_0x54f9ac(0x284)](_0x5861a0,_0x21691d),logger[_0x54f9ac(0x282)](_0x54f9ac(0x2e8)+JSON['stringify'](_0x451f1f));}catch(_0x7abf06){return logger[_0x54f9ac(0x2d1)](_0x54f9ac(0x199)+_0x7abf06[_0x54f9ac(0x1c7)]),{};}}else{_0x37979a=this[_0x54f9ac(0x20d)](_0x4508f2['cnFHj'])||'';const _0x1f7459=this[_0x54f9ac(0x20d)](_0x4508f2[_0x54f9ac(0x1ba)])||this[_0x54f9ac(0x155)][this[_0x54f9ac(0x1d9)]]||null,_0xe992a=process['env'][_0x54f9ac(0x276)]||'';_0x451f1f=this['getParamsForScanForCli'](_0x4508f2[_0x54f9ac(0x1af)],_0x37979a,_0x1f7459,_0xe992a);}logger[_0x54f9ac(0x282)](_0x4508f2['AMUFf']),await PerformanceTester[_0x54f9ac(0x2e7)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x115899=_0x54f9ac,_0x5a71b3=await this[_0x115899(0x24a)](_0x1ba6ef,_0x4508f2[_0x115899(0x2ef)],_0x451f1f);logger[_0x115899(0x282)](_0x115899(0x18a)+util[_0x115899(0x198)](_0x5a71b3));},{'command':_0x4508f2['GRevn']})();const _0xeb575d=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x54f9ac(0x164)],async()=>{return await this['executeScriptByName'](_0x1ba6ef,_0x4508f2['FOBtW'],_0x451f1f);})();if(!_0xeb575d)return logger[_0x54f9ac(0x282)](_0x4508f2['TvWhv']),{};return _0xeb575d;}catch(_0x7f510f){return logger[_0x54f9ac(0x2d1)](_0x54f9ac(0x1dd)+(_0x7f510f['stack']||_0x7f510f[_0x54f9ac(0x1c7)])),{};}}async[a80_0x525b2c(0x1b8)](_0x9ea2a8,_0x321e11,_0x5ee80d=null){const _0xbfdf80=a80_0x525b2c,_0x311125={};_0x311125['LaIna']='performPageScan:\x20Page\x20is\x20null',_0x311125[_0xbfdf80(0x2ce)]=_0xbfdf80(0x2b8),_0x311125['eeigI']=_0xbfdf80(0x2e0);const _0x32e887=_0x311125;try{if(!_0x9ea2a8)return logger[_0xbfdf80(0x282)](_0x32e887['LaIna']),null;if(!_0x321e11)return logger[_0xbfdf80(0x282)](_0x32e887[_0xbfdf80(0x2ce)]),null;logger[_0xbfdf80(0x282)](_0x32e887[_0xbfdf80(0x29e)]);const _0x4dfc22=_0x5ee80d?await _0x9ea2a8[_0xbfdf80(0x29f)](_0x321e11,_0x5ee80d):await _0x9ea2a8[_0xbfdf80(0x29f)](_0x321e11);return _0x4dfc22;}catch(_0x2ec0ad){return logger[_0xbfdf80(0x2d1)]('Error\x20in\x20performPageScan:\x20'+(_0x2ec0ad[_0xbfdf80(0x251)]||_0x2ec0ad[_0xbfdf80(0x1c7)])),null;}}static[a80_0x525b2c(0x1fd)](_0x2f524b,_0x4a2f90){const _0x15b309=a80_0x525b2c,_0x2d4745={};_0x2d4745[_0x15b309(0x2a7)]='ascii';const _0x41178d=_0x2d4745,_0x196a4f={};_0x196a4f[_0x15b309(0x2b1)]=_0x2f524b;const _0x559ec1=_0x196a4f;let _0xe8e3a5={};if(_0x4a2f90[_0x15b309(0x1b6)]()&&_0x4a2f90['hasAccessibilityExecuteParams']())try{_0xe8e3a5=JSON[_0x15b309(0x1bd)](new Buffer(_0x4a2f90['getAccessibilityExecuteParams']())['toString'](_0x41178d[_0x15b309(0x2a7)]));}catch(_0x152206){logger[_0x15b309(0x2d1)](_0x15b309(0x165)+_0x152206[_0x15b309(0x1c7)]),_0xe8e3a5={};}return CLIUtils[_0x15b309(0x284)](_0x559ec1,_0xe8e3a5);}static async['fetchCentralAuthA11yConfig'](_0x259c6f,_0x222935='',_0x1100f6=null){const _0x5ae7e4=a80_0x525b2c,_0x5ef68d={};_0x5ef68d[_0x5ae7e4(0x1c0)]=_0x5ae7e4(0x173),_0x5ef68d[_0x5ae7e4(0x1a6)]=_0x5ae7e4(0x1ec);const _0x4e15ea=_0x5ef68d;try{if(!_0x1100f6&&AccessibilityModule[_0x5ae7e4(0x1a1)])return AccessibilityModule[_0x5ae7e4(0x260)];if(!process[_0x5ae7e4(0x278)][_0x5ae7e4(0x245)])return logger[_0x5ae7e4(0x2d1)](_0x4e15ea[_0x5ae7e4(0x1c0)]),{};const _0x24d76e=await GrpcClient[_0x5ae7e4(0x25a)]()[_0x5ae7e4(0x1b4)](process[_0x5ae7e4(0x278)][_0x5ae7e4(0x245)],_0x4e15ea[_0x5ae7e4(0x1a6)],_0x259c6f,_0x1100f6),_0x56f0b0=_0x1100f6?AccessibilityModule['loadDriverExecuteParams'](null,_0x24d76e)?.[_0x5ae7e4(0x2b1)]||_0x222935:_0x222935,_0x59f0bb=AccessibilityModule[_0x5ae7e4(0x1fd)](_0x56f0b0,_0x24d76e);return!_0x1100f6&&(AccessibilityModule[_0x5ae7e4(0x260)]=_0x59f0bb,AccessibilityModule[_0x5ae7e4(0x1a1)]=!![]),_0x59f0bb;}catch(_0x20d49b){return logger[_0x5ae7e4(0x2d1)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x259c6f+':\x20'+(_0x20d49b[_0x5ae7e4(0x251)]||_0x20d49b['message'])),{};}}}function a80_0xa588(_0x180ece,_0x253d67){const _0x5b87f3=a80_0x5b87();return a80_0xa588=function(_0xa5889f,_0x108d44){_0xa5889f=_0xa5889f-0x14f;let _0x29f702=_0x5b87f3[_0xa5889f];return _0x29f702;},a80_0xa588(_0x180ece,_0x253d67);};module[a80_0x525b2c(0x27e)]=AccessibilityModule;
1
+ function a80_0x3e41(){const _0x425295=['page',',\x20includeTags=','browser','present','GKKtS','crZHU','info','format','browserstack.accessibilityOptions.authToken','OQxeo','pnPxs','getCapabilityValue','[platform\x20-\x20',',\x20testIdentifier=','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','Error\x20in\x20validatePlatformForAccessibility:\x20',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','IRPpg','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','__accessibilityOptions','VDwUV',',\x20\x0a\x20','GBiOS','MergedScanArgs:\x20','qEbet','zOALN','getBuildId','FXvIX','oyPpa','CREATE','shouldScanCurrentTest','dPjIy','oqMoy','patchSendMessageToServer','executeScriptByName:\x20No\x20','KOkFV','LQFCz','commandName','EEiFJ','TbjWj','KrOTi','pNPjQ','browserstack.accessibilityOptions.scannerProcessingTimeout','toISOString',']\x20isEnabledTestcase\x20(jest)\x20result=','isAccessibilityScriptCommand',',\x20tags=','GET_RESULTS_SUMMARY','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','initAccessibilityConfig','ascii','message','Error\x20in\x20processAccessibilityCaps:\x20','YpnMN','DMAXM','HgGdK','processAccessibilityCaps','getTrackedInstance','titlePath','accessibilityPlatform','ogSeW','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','getSuccess','getModuleName','Ldfoc','KUAJy','../framework/automationFramework','options','GgfWy','upAXF','Afoed','RkiHj','BROWSERSTACK_CLI_BIN_SESSION_ID','ZXLYB','\x20result\x20for\x20','bind','isEnabled','instance','cHQjd','\x20value=','platformValidation','performPageScan:\x20Script\x20is\x20null','capabilities','saveTestResults','BODGv','xYafc','goog:chromeOptions','Unknown\x20Test','setAccessibilityConfig','VdNrx','stringify','getState','saveResults','trim','ncrGq','platformCaps','\x22browserstack.user\x22:\x22[REDACTED]\x22','testAnalyticsId','aCOuv','toJson','getName','FxThf','KEY_INIT','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','QerWq','BcMNm','EXECUTE','zKrGl','RaHTq','mergeObject','applySendMessageToServerPatch','registerObserver','TrackedInstance','onBeforeTest:\x20event=','PxyyI','getScriptsList','RWLOE','Vpfvn','gZlpJ','thTestRunUuid','\x20from\x20testIdentifier=','bnyZU','bBllV','function','includes','526ChCJJG','getResultsSummary','excludeTagsInTestingScope','__jestCurrentTestIdentifier','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','getData','hasAccessibilityExecuteParams','onBeforeTest',',\x20isAppAccessibility=','oRnqK','BAXfx','JJsQt','Ygdzv','SDK_ACCESSIBILITY_CONFIG','vEaNG','cucumber','qBJvo','getInstance','JjrHm','iWvNT','isAppAccessibility','MjvwO','VZpph','string','a11y:save-results','AUTOMATION_SESSIONS','../../../helpers/classLogger','gNLKK','KDTBJ','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','QIIiX','name:\x20','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher',']\x20should\x20run\x20accessibility\x20value=','Xfxic','\x20script\x20available','1|3|12|15|0|5|8|10|11|4|14|13|2|9|7|6','pwPage','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','jzmPa','WNSSn','HCMQD','KBNEN','stack','LOG_DISABLED_SHOWN','OZogR','IsRwY','getResults','AgSEK','QOYXV','PsAfj','test_tags','unknown','getAccessibilityExecuteParams','aVxuM','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','yFjVQ','updateData','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','env','BS_A11Y_JWT','51037ddLaZd','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','2984DgcIwg','map','../framework/testFramework','getCurrentAccessibilityStatus','VmGab','shouldScanForCommand','pKbWF',',\x20framework=','vuazs','split','getTestFrameworkDetail','../../../helpers/accessibility-automation/constants','QHPGJ','Error\x20executing\x20script\x20','SAVE_RESULTS','obrzz','testFramework','toString','accessibilityToken','zSilf','onBeforeExecute','Executing\x20','ihONV','PRE','currentTest','fymnn','XpvPZ','Error\x20getting\x20capability\x20value\x20for\x20','fetchDriverExecuteParamsEvent','performScanForCli','LSKoC','isArray','browserVersion','scriptsList','getScriptByName','[AccessibilityModule]\x20onAfterTest:\x20framework=','_sendMessageServerPatchApplied','stopTestCapture','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','null','VjKoA','../TestInfo.js','Error\x20in\x20initAccessibilityConfig:\x20','\x20using\x20script:\x20','evaluate','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','../../../helpers/performance/performance-tester.js','tmVjK','TEST_INIT','Error\x20in\x20getAccessibilityResults:\x20','233919mwVPMF','WfkiL','onAfterTest','ACCESSIBILITY_INITIALIZED','getGoogleChromeOptions','getAccessibilityResultsSummary','set','KEkpv',']\x20onAfterTest\x20should\x20scan=','qwcGI','../state/automationFrameworkState','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','MODULE_NAME','gQceX','wcagVersion','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','loadDriverExecuteParams','Error\x20getting\x20script\x20by\x20name\x20','vYtWc','getCurrentInstanceName','../cliUtils','DUibz','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','getTestId','getAccessibilityConfig','5477796bykffK','isPlatformSupported:\x20caps\x20are\x20null',',\x20testName=','iAXlY','shouldScanForCommand:\x20','_centralAuthA11yConfig','error','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','has','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','name','playwright-chromium','jest','xUSJX','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','warn','end','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','HKtVB','getTestDetails','getScript','ctSDR','performScan','../../../helpers/performance/constants.js','browserstack.accessibilityOptions.wcagVersion','mbrMh','getValue','iXpQM','wYTxd','assign','toLowerCase','QbTBP','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','fbCwC','rKuLT','OEsOu','includeTagsInTestingScope','../../utils/playwright-patcher','52pYojOI','PTNuA','BROWSERSTACK_TESTHUB_JWT','getLogDisabledShown','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','setAccessibilityToken','commandsToWrap','hvBLp','testInfo','3018366zRlmOt','executeScriptByName','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','404815fmIEOh','Executing\x20accessibility\x20script\x20on\x20page','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','browserName','test_run_id',']\x20clear\x20','isPlatformSupported','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','DRIVER_INIT','Error\x20in\x20performScanForCli\x20for\x20script\x20','onBeforeExecute:\x20No\x20command\x20name\x20provided','RYUgo','performPageScan:\x20Page\x20is\x20null',',\x20excludeTags=','qypwa','replace','some','opSfl','Exception\x20in\x20isPlatformSupported:\x20','ywpcr','../../../helpers/helper','Error\x20in\x20getAccessibilityResultsSummary:\x20','KEY_DRIVER_HAS_URL','XveOx','dUuQc','getTesthub','scan','TxlQD','finishScanningForCli','THglq','measureWrapper','ophLT','IqNZr','../grpcClient','fDUiU','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','accessibility','ijbVq','headless','dTRhD','command','QXFsU','browserstack.accessibilityOptions.scannerVersion','Performing\x20scan\x20before\x20from\x20cli','ScanArgs:\x20','xGOdy','fetchCentralAuthA11yConfig','browserStackEvaluate','xVemK','wunLU','LTaXg','kSvye','mGkyB','_centralAuthConfigFetched','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','scannerProcessingTimeout','Context','cFRXz','onBeforeExecute:\x20Command\x20','uOHKN','KEY_TESTHUB_BUILD_ID','jQRYx','Scan\x20result:\x20','axCZM','MhXiY','parseFromProto','CVIZt','22ApHhcb','lEExA','scannerVersion','BRVBV','CKdve',']\x20Accessibility\x20configuration\x20initialized\x20successfully','getPlatformIndex','../../../helpers/accessibility-automation/helper','OQbQz','Xxpcn','lIDWJ','eAmpE','XQRhw','testFrameworkData','../framework/constants/testFrameworkConstants.js','accessibilityConfig','KEY_TEST_NAME','getOptions','rCvMO','getCapabilitiesList','BAnDO','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','\x20->\x20','afterTestHook','tmstE',',\x20available\x20commands:\x20','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','qzgtt','length','ZLwUO','true','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Page\x20','toObject','../../playwright/accessibility-helper','Error\x20in\x20shouldScanForCommand:\x20','launchCaps','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','NON_BROWSERSTACK_AUTOMATION_SESSIONS','getParamsForScanForCli','getContext','debug','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','PERFORM_SCAN','mFWro','parse','eXvbi','Error\x20applying\x20sendMessageToServer\x20patch:\x20','YIQeC','ndgus','840FDvCVX','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Error\x20in\x20stopTestCapture:\x20','__workerDetails','wyZBZ','find','start','../../../helpers/accessibility-automation/scripts','performScanForCli:\x20No\x20','2794010MLxqke','getAccessibility','hBTHW','Performing\x20scan\x20before\x20getting\x20results\x20summary','../state/hookState','size','isEnabledTestcase','get',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','POST','No\x20summaryResults\x20found.','tKbjP','KpBWD','jUQrb','aLCkW','test-tags-->\x20'];a80_0x3e41=function(){return _0x425295;};return a80_0x3e41();}const a80_0x1c7393=a80_0x5eea;(function(_0x2d45bf,_0xf9940){const _0x246fde=a80_0x5eea,_0x25affa=_0x2d45bf();while(!![]){try{const _0x31a12b=parseInt(_0x246fde(0x23f))/0x1*(parseInt(_0x246fde(0x27e))/0x2)+parseInt(_0x246fde(0x2b0))/0x3+-parseInt(_0x246fde(0x125))/0x4*(parseInt(_0x246fde(0x132))/0x5)+-parseInt(_0x246fde(0x2c9))/0x6+-parseInt(_0x246fde(0x27c))/0x7*(-parseInt(_0x246fde(0x1a9))/0x8)+parseInt(_0x246fde(0x12f))/0x9+-parseInt(_0x246fde(0x1b2))/0xa*(-parseInt(_0x246fde(0x177))/0xb);if(_0x31a12b===_0xf9940)break;else _0x25affa['push'](_0x25affa['shift']());}catch(_0x5a6bc1){_0x25affa['push'](_0x25affa['shift']());}}}(a80_0x3e41,0x87fd3));function a80_0x5eea(_0x1f166e,_0x108803){const _0x3e4165=a80_0x3e41();return a80_0x5eea=function(_0x5eea4d,_0x3af73b){_0x5eea4d=_0x5eea4d-0x11a;let _0xc7a586=_0x3e4165[_0x5eea4d];return _0xc7a586;},a80_0x5eea(_0x1f166e,_0x108803);}const BaseModule=require('./baseModule'),{createClassLogger}=require(a80_0x1c7393(0x259)),CLIUtils=require(a80_0x1c7393(0x2c4)),AutomationFramework=require(a80_0x1c7393(0x204)),TestFramework=require(a80_0x1c7393(0x280)),AutomationFrameworkState=require(a80_0x1c7393(0x2ba)),HookState=require(a80_0x1c7393(0x1b6)),GrpcClient=require(a80_0x1c7393(0x153)),scripts=require(a80_0x1c7393(0x1b0)),logger=createClassLogger(a80_0x1c7393(0x232)),PerformanceTester=require(a80_0x1c7393(0x2ac)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x1c7393(0x2e0)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x1c7393(0x289)),{nestedKeyValue,isUndefined}=require(a80_0x1c7393(0x146)),util=require('util'),TestInfo=require(a80_0x1c7393(0x2a7)),TestFrameworkConstants=require(a80_0x1c7393(0x185));class AccessibilityModule extends BaseModule{static [a80_0x1c7393(0x2bc)]=AccessibilityModule[a80_0x1c7393(0x2d3)];static [a80_0x1c7393(0x169)]=![];static [a80_0x1c7393(0x2ce)]={};constructor(_0x31602d){const _0xe20ac4=a80_0x1c7393,_0x14c73f={};_0x14c73f[_0xe20ac4(0x1a7)]=_0xe20ac4(0x263),_0x14c73f[_0xe20ac4(0x298)]='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x14c73f[_0xe20ac4(0x1da)]='testhub_build_uuid',_0x14c73f[_0xe20ac4(0x11b)]='DRIVER_HAS_URL',_0x14c73f[_0xe20ac4(0x22a)]=_0xe20ac4(0x2b3);const _0x5c7c17=_0x14c73f,_0x1bdc65=_0x5c7c17['YIQeC'][_0xe20ac4(0x287)]('|');let _0x36e424=0x0;while(!![]){switch(_0x1bdc65[_0x36e424++]){case'0':this[_0xe20ac4(0x20e)]=!![];continue;case'1':super();continue;case'2':logger['debug'](_0x5c7c17[_0xe20ac4(0x298)]);continue;case'3':AutomationFramework[_0xe20ac4(0x231)](AutomationFrameworkState[_0xe20ac4(0x22c)],HookState[_0xe20ac4(0x295)],this[_0xe20ac4(0x292)][_0xe20ac4(0x20d)](this));continue;case'4':this[_0xe20ac4(0x214)]=[];continue;case'5':this[_0xe20ac4(0x186)]=_0x31602d[_0xe20ac4(0x198)]();continue;case'6':this[_0xe20ac4(0x170)]=_0x5c7c17[_0xe20ac4(0x1da)];continue;case'7':this[_0xe20ac4(0x148)]=_0x5c7c17['wYTxd'];continue;case'8':this[_0xe20ac4(0x158)]=new Map();continue;case'9':this['KEY_INIT']=_0x5c7c17[_0xe20ac4(0x22a)];continue;case'10':this[_0xe20ac4(0x26b)]=new Map();continue;case'11':this[_0xe20ac4(0x253)]=![];continue;case'12':AutomationFramework[_0xe20ac4(0x231)](AutomationFrameworkState[_0xe20ac4(0x1df)],HookState[_0xe20ac4(0x1bb)],this[_0xe20ac4(0x246)][_0xe20ac4(0x20d)](this));continue;case'13':this[_0xe20ac4(0x12b)](_0x31602d[_0xe20ac4(0x188)]()[_0xe20ac4(0x18a)]());continue;case'14':this[_0xe20ac4(0x2a2)]=![];continue;case'15':AutomationFramework['registerObserver'](AutomationFrameworkState['QUIT'],HookState['PRE'],this['onAfterTest'][_0xe20ac4(0x20d)](this));continue;}break;}}[a80_0x1c7393(0x20e)](){const _0x4f0c20=a80_0x1c7393;return this[_0x4f0c20(0x20e)];}[a80_0x1c7393(0x201)](){const _0x5310f1=a80_0x1c7393;return AccessibilityModule[_0x5310f1(0x2bc)];}['getCurrentAccessibilityStatus'](){const _0x473ee0=a80_0x1c7393;return this[_0x473ee0(0x158)]['get'](CLIUtils[_0x473ee0(0x2c3)](),![]);}[a80_0x1c7393(0x128)](){const _0x1a1c8f=a80_0x1c7393;return this[_0x1a1c8f(0x26b)]['get'](CLIUtils[_0x1a1c8f(0x2c3)](),![]);}['setLogDisabledShown'](_0x45c9de){const _0x40f577=a80_0x1c7393;this[_0x40f577(0x26b)][_0x40f577(0x2b6)](CLIUtils[_0x40f577(0x2c3)](),_0x45c9de);}[a80_0x1c7393(0x230)](){const _0x57eb7c=a80_0x1c7393,_0x41004f={'QIIiX':_0x57eb7c(0x2d0),'VZpph':function(_0x206361,_0x513049){return _0x206361(_0x513049);},'ophLT':_0x57eb7c(0x124),'hBTHW':'Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','LSKoC':_0x57eb7c(0x25f)};if(this[_0x57eb7c(0x2a2)]){logger[_0x57eb7c(0x1a0)](_0x41004f[_0x57eb7c(0x25d)]);return;}try{const _0x1279fc=_0x41004f[_0x57eb7c(0x255)](require,_0x41004f[_0x57eb7c(0x151)]);_0x1279fc&&_0x1279fc[_0x57eb7c(0x1e3)]?(_0x1279fc['patchSendMessageToServer'](),this[_0x57eb7c(0x2a2)]=!![],logger[_0x57eb7c(0x1a0)](_0x41004f[_0x57eb7c(0x1b4)])):logger[_0x57eb7c(0x1a0)](_0x41004f[_0x57eb7c(0x29c)]);}catch(_0x3ae787){logger['debug'](_0x57eb7c(0x1a6)+util[_0x57eb7c(0x1c9)](_0x3ae787));}}[a80_0x1c7393(0x138)](_0x4cf404=null,_0x1f6304=null,_0xcffb2a=null){const _0x452598=a80_0x1c7393,_0x4f7db0={'NCEXX':function(_0x2473fd,_0x2f88a5){return _0x2473fd&&_0x2f88a5;},'YpnMN':_0x452598(0x2ca),'HgGdK':function(_0x389c62,_0x486241){return _0x389c62(_0x486241);},'ewNlL':_0x452598(0x17e),'Ldfoc':'../../../helpers/helper','fDUiU':function(_0x41d3a2){return _0x41d3a2();},'TbjWj':_0x452598(0x2d2),'LTaXg':function(_0x1f5b46,_0x57476b){return _0x1f5b46===_0x57476b;},'zKrGl':'chrome','QbTBP':function(_0x36e518,_0x3c37ad){return _0x36e518===_0x3c37ad;},'WNSSn':_0x452598(0x2d4),'dTRhD':_0x452598(0x243),'rKuLT':_0x452598(0x195),'rCvMO':function(_0x53627a,_0x39b0e1){return _0x53627a===_0x39b0e1;},'QOYXV':_0x452598(0x256),'ndgus':'isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','BAsgg':function(_0x4a2f75){return _0x4a2f75();},'pKbWF':function(_0x44d235,_0x32b847){return _0x44d235>_0x32b847;},'dUuQc':function(_0x421dfe,_0x309903){return _0x421dfe(_0x309903);},'MjvwO':function(_0x4b47c9,_0xc30e39){return _0x4b47c9(_0xc30e39);},'BHqRB':_0x452598(0x12a),'PTNuA':function(_0x39a7cf,_0x351ba1){return _0x39a7cf!==_0x351ba1;},'GKKtS':'latest','VDwUV':function(_0x496013,_0x43e524){return _0x496013>_0x43e524;},'PMDPt':_0x452598(0x1aa)};try{if(_0x4f7db0['NCEXX'](!_0x1f6304,!_0xcffb2a))return logger[_0x452598(0x1a0)](_0x4f7db0[_0x452598(0x1f7)]),![];const {isAccessibilityAutomationSession:_0x39e543}=_0x4f7db0[_0x452598(0x1f9)](require,_0x4f7db0['ewNlL']),{isUndefined:_0x506255,isBrowserstackInfra:_0x554096}=_0x4f7db0['HgGdK'](require,_0x4f7db0[_0x452598(0x202)]);if(!_0x4f7db0[_0x452598(0x154)](_0x39e543))return logger[_0x452598(0x1a0)](_0x4f7db0[_0x452598(0x1e9)]),![];if(!(_0x1f6304[_0x452598(0x135)]&&_0x4f7db0[_0x452598(0x166)](_0x1f6304[_0x452598(0x135)][_0x452598(0x11d)](),_0x4f7db0[_0x452598(0x22d)])||_0x1f6304[_0x452598(0x135)]&&_0x4f7db0[_0x452598(0x11e)](_0x1f6304[_0x452598(0x135)][_0x452598(0x11d)](),_0x4f7db0[_0x452598(0x267)])||_0x1f6304[_0x452598(0x1c4)]&&_0x4f7db0[_0x452598(0x11e)](_0x1f6304[_0x452598(0x1c4)]['toLowerCase'](),_0x4f7db0[_0x452598(0x22d)])||_0x1f6304[_0x452598(0x1c4)]&&_0x4f7db0[_0x452598(0x11e)](_0x1f6304['browser'][_0x452598(0x11d)](),_0x4f7db0[_0x452598(0x267)])))return logger[_0x452598(0x2d8)](_0x4f7db0[_0x452598(0x15b)]),![];try{const _0x3799a0=_0x1f6304[_0x452598(0x15a)],_0x437a38=_0x4f7db0[_0x452598(0x166)](_0x3799a0,!![])||_0x4f7db0['QbTBP'](_0x3799a0,_0x4f7db0['rKuLT'])||_0x4f7db0[_0x452598(0x189)](typeof _0x3799a0,_0x4f7db0[_0x452598(0x270)])&&_0x4f7db0[_0x452598(0x11e)](_0x3799a0[_0x452598(0x11d)](),_0x4f7db0[_0x452598(0x121)]);if(_0x437a38)return logger[_0x452598(0x2d8)](_0x4f7db0[_0x452598(0x1a8)]),![];}catch(_0x33cf20){logger[_0x452598(0x1a0)]('Error\x20checking\x20headless\x20capability:\x20'+util['format'](_0x33cf20));}if(!_0x4f7db0['BAsgg'](_0x554096)){if(!_0x4f7db0[_0x452598(0x284)](_0x4f7db0[_0x452598(0x14a)](parseFloat,_0x1f6304[_0x452598(0x29e)]),_0x4f7db0[_0x452598(0x254)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger['warn'](_0x4f7db0['BHqRB']),![];}else{if(_0x4f7db0[_0x452598(0x126)](_0x1f6304[_0x452598(0x29e)],_0x4f7db0[_0x452598(0x1c6)])&&!_0x4f7db0[_0x452598(0x1d6)](_0x4f7db0[_0x452598(0x1f9)](parseFloat,_0x1f6304['browserVersion']),_0x4f7db0[_0x452598(0x14a)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x452598(0x2d8)](_0x4f7db0['PMDPt']),![];}return!![];}catch(_0x421f16){return logger[_0x452598(0x1a0)](_0x452598(0x144)+_0x421f16[_0x452598(0x1f5)]),![];}}[a80_0x1c7393(0x1b8)](_0x1bde32=[],_0x45aa6e,_0x2d287f=a80_0x1c7393(0x24e)){const _0x331d8f=a80_0x1c7393,_0x370aff={'oqMoy':function(_0x1dd992,_0x4d68e8){return _0x1dd992===_0x4d68e8;},'PsAfj':_0x331d8f(0x2d5),'IsRwY':function(_0x3cc9ea,_0x3aff67){return _0x3cc9ea||_0x3aff67;},'JjrHm':function(_0x1aa88c,_0x22fc0e){return _0x1aa88c===_0x22fc0e;},'glMPb':function(_0x2e4cd2,_0x46b9b7){return _0x2e4cd2&&_0x46b9b7;},'KOkFV':_0x331d8f(0x273),'qypwa':function(_0x197c5f,_0x52f438){return _0x197c5f(_0x52f438);},'RdmAu':function(_0x2dbd2d,_0x423ebb){return _0x2dbd2d>_0x423ebb;}};try{const _0x49eae4=process[_0x331d8f(0x27a)][_0x331d8f(0x16a)]?JSON[_0x331d8f(0x1a4)](process[_0x331d8f(0x27a)][_0x331d8f(0x16a)]):null;if(!_0x49eae4)return!![];const _0x28de1=Array[_0x331d8f(0x29d)](_0x49eae4[_0x331d8f(0x123)])?_0x49eae4[_0x331d8f(0x123)]:[],_0x1d6a3d=Array[_0x331d8f(0x29d)](_0x49eae4[_0x331d8f(0x241)])?_0x49eae4[_0x331d8f(0x241)]:[];if(_0x370aff[_0x331d8f(0x1e2)](_0x2d287f,_0x370aff[_0x331d8f(0x271)])){let _0x416235;Array['isArray'](_0x1bde32)?_0x416235=_0x1bde32['join']('\x20'):_0x416235=_0x370aff[_0x331d8f(0x26d)](_0x1bde32,'');const _0x2a9611=_0x1d6a3d[_0x331d8f(0x142)](_0xf08cf7=>_0x416235[_0x331d8f(0x23e)](_0xf08cf7)),_0x4b4182=_0x370aff[_0x331d8f(0x251)](_0x28de1['length'],0x0)||_0x28de1[_0x331d8f(0x142)](_0x437596=>_0x416235[_0x331d8f(0x23e)](_0x437596)),_0x205e8b=_0x370aff['glMPb'](!_0x2a9611,_0x4b4182);return logger[_0x331d8f(0x1a0)]('[platform\x20-\x20'+(_0x45aa6e?.['getPlatformIndex']?.()||_0x370aff[_0x331d8f(0x1e5)])+_0x331d8f(0x1ee)+_0x205e8b+_0x331d8f(0x2cb)+_0x416235+',\x20includeTags='+JSON[_0x331d8f(0x21c)](_0x28de1)+',\x20excludeTags='+JSON['stringify'](_0x1d6a3d)),_0x205e8b;}const _0x5d58ce=Array[_0x331d8f(0x29d)](_0x1bde32)?_0x1bde32:[];let _0xd2ef40=![],_0x54abbd=_0x370aff[_0x331d8f(0x251)](_0x28de1[_0x331d8f(0x193)],0x0);const _0x44e988=_0x41a765=>typeof _0x41a765===_0x331d8f(0x256)?_0x41a765[_0x331d8f(0x141)](/^@/,'')[_0x331d8f(0x11d)]()[_0x331d8f(0x21f)]():_0x41a765,_0x39c0e7=new Set(_0x28de1['map'](_0x44e988)),_0x47d662=new Set(_0x1d6a3d[_0x331d8f(0x27f)](_0x44e988));for(const _0x53d9c5 of _0x5d58ce){const _0x256c73=_0x370aff[_0x331d8f(0x140)](_0x44e988,_0x53d9c5);_0x47d662['has'](_0x256c73)&&(_0xd2ef40=!![]),_0x370aff['RdmAu'](_0x39c0e7[_0x331d8f(0x1b7)],0x0)&&_0x39c0e7[_0x331d8f(0x2d1)](_0x256c73)&&(_0x54abbd=!![]);}const _0x55603d=_0x370aff['glMPb'](_0x54abbd,!_0xd2ef40);return logger['debug']('[platform\x20-\x20'+(_0x45aa6e?.[_0x331d8f(0x17d)]?.()||_0x370aff[_0x331d8f(0x1e5)])+']\x20isEnabledTestcase\x20(cucumber)\x20result='+_0x55603d+_0x331d8f(0x1f0)+JSON['stringify'](_0x5d58ce)+_0x331d8f(0x1c3)+JSON['stringify'](_0x28de1)+_0x331d8f(0x13f)+JSON[_0x331d8f(0x21c)](_0x1d6a3d)),_0x55603d;}catch(_0x556adf){return logger['debug']('[platform\x20-\x20'+(_0x45aa6e?.['getPlatformIndex']?.()||_0x370aff['KOkFV'])+_0x331d8f(0x1d2)+_0x556adf[_0x331d8f(0x1f5)]),![];}}async[a80_0x1c7393(0x246)](_0x2c61f3){const _0x23177f=a80_0x1c7393,_0x241591={};_0x241591['wyZBZ']=function(_0x168590,_0x43b9e9){return _0x168590!==_0x43b9e9;},_0x241591[_0x23177f(0x234)]=_0x23177f(0x24e),_0x241591[_0x23177f(0x266)]=function(_0x533839,_0x7bd733){return _0x533839!==_0x7bd733;},_0x241591[_0x23177f(0x1cb)]=_0x23177f(0x2d5),_0x241591[_0x23177f(0x2ad)]=_0x23177f(0x139),_0x241591[_0x23177f(0x1e1)]=_0x23177f(0x2ae),_0x241591[_0x23177f(0x26f)]='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x241591[_0x23177f(0x120)]=_0x23177f(0x276),_0x241591[_0x23177f(0x1cc)]=_0x23177f(0x13a),_0x241591[_0x23177f(0x194)]=function(_0x40d74c,_0x19802f){return _0x40d74c===_0x19802f;},_0x241591[_0x23177f(0x18f)]=_0x23177f(0x131),_0x241591['xYafc']=function(_0x372886,_0x436611){return _0x372886===_0x436611;},_0x241591[_0x23177f(0x1c0)]=_0x23177f(0x219),_0x241591[_0x23177f(0x238)]=function(_0x1cc22e,_0x54cc1e){return _0x1cc22e>_0x54cc1e;},_0x241591[_0x23177f(0x1bd)]=function(_0x42a03a,_0x5794dc){return _0x42a03a===_0x5794dc;},_0x241591[_0x23177f(0x180)]='function',_0x241591['vuazs']='test_tags',_0x241591[_0x23177f(0x159)]=function(_0x4f2576,_0x4755b2){return _0x4f2576&&_0x4755b2;},_0x241591['NiyDi']=_0x23177f(0x273),_0x241591[_0x23177f(0x227)]=_0x23177f(0x195);const _0x53a46a=_0x241591;if(_0x53a46a[_0x23177f(0x1ad)](_0x2c61f3['testFramework'],_0x53a46a[_0x23177f(0x234)])&&_0x53a46a[_0x23177f(0x266)](_0x2c61f3[_0x23177f(0x28e)],_0x53a46a[_0x23177f(0x1cb)])){logger[_0x23177f(0x1a0)](_0x53a46a['tmVjK']);return;}logger[_0x23177f(0x1c8)](_0x23177f(0x233)+JSON[_0x23177f(0x21c)](_0x2c61f3));try{const _0x184386=AutomationFramework[_0x23177f(0x1fb)](),_0x45198d=TestFramework['getTrackedInstance'](),_0x587932=_0x2c61f3[_0x23177f(0x1c2)]||global[_0x23177f(0x1ac)]?.[_0x23177f(0x264)]||null;if(!_0x587932){_0x45198d&&_0x45198d[_0x23177f(0x278)](_0x53a46a[_0x23177f(0x1e1)],!![]);logger[_0x23177f(0x1a0)](_0x53a46a[_0x23177f(0x26f)]);return;}logger[_0x23177f(0x1a0)](_0x53a46a[_0x23177f(0x120)]);const _0x3a099c=_0x45198d?.['getData'](_0x53a46a[_0x23177f(0x1cc)],![]),_0x5b93ea=_0x45198d?.['getData'](_0x53a46a[_0x23177f(0x1e1)],![]);if(_0x53a46a[_0x23177f(0x194)](_0x3a099c,![])&&_0x53a46a[_0x23177f(0x194)](_0x5b93ea,![])){_0x45198d&&_0x45198d[_0x23177f(0x278)](_0x53a46a[_0x23177f(0x1cc)],!![]);logger[_0x23177f(0x1a0)](_0x53a46a['tmstE']);return;}_0x45198d&&_0x45198d[_0x23177f(0x278)](_0x53a46a[_0x23177f(0x1e1)],!![]);let _0x278d2a,_0x1171e1;const _0x201149=_0x2c61f3[_0x23177f(0x28e)]||_0x53a46a[_0x23177f(0x234)];if(_0x53a46a[_0x23177f(0x217)](_0x201149,_0x53a46a[_0x23177f(0x1cb)])){_0x1171e1=_0x2c61f3['testInfo']?.[_0x23177f(0x223)]||_0x2c61f3[_0x23177f(0x12e)]?.['id']||global[_0x23177f(0x242)]||global[_0x23177f(0x1ac)]?.[_0x23177f(0x296)]?.[_0x23177f(0x223)]||global[_0x23177f(0x1ac)]?.['currentTest']?.['id'];const _0x2439fc=_0x45198d?.['getAllData']()?.[_0x23177f(0x1b9)](_0x1171e1);if(_0x2439fc&&_0x2439fc[TestFrameworkConstants['KEY_TEST_NAME']])_0x278d2a=_0x2439fc[TestFrameworkConstants[_0x23177f(0x187)]];else{if(_0x2c61f3[_0x23177f(0x12e)]?.['titlePath'])_0x278d2a=_0x2c61f3['testInfo']['titlePath'];else global[_0x23177f(0x1ac)]?.[_0x23177f(0x296)]?.[_0x23177f(0x12e)]?.[_0x23177f(0x1fc)]?_0x278d2a=global[_0x23177f(0x1ac)][_0x23177f(0x296)][_0x23177f(0x12e)][_0x23177f(0x1fc)]:_0x278d2a=_0x53a46a[_0x23177f(0x1c0)];}logger[_0x23177f(0x1a0)]('[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier='+_0x1171e1+_0x23177f(0x2cb)+JSON['stringify'](_0x278d2a));}else{_0x1171e1=this[_0x23177f(0x2c7)](_0x2c61f3);const _0x22351e=TestInfo[_0x23177f(0x2dc)](_0x1171e1);let _0x500552=[];if(_0x22351e&&Array['isArray'](_0x22351e[_0x23177f(0x272)])&&_0x53a46a[_0x23177f(0x238)](_0x22351e[_0x23177f(0x272)][_0x23177f(0x193)],0x0))_0x500552=_0x22351e['test_tags'];else{if(_0x45198d){const _0x339400=_0x53a46a[_0x23177f(0x1bd)](typeof _0x45198d[_0x23177f(0x244)],_0x53a46a[_0x23177f(0x180)])?_0x45198d[_0x23177f(0x244)](_0x53a46a[_0x23177f(0x286)],[]):_0x45198d[_0x23177f(0x272)]||[];Array[_0x23177f(0x29d)](_0x339400)&&(_0x500552=_0x339400);}}_0x278d2a=_0x500552;}logger['info'](_0x23177f(0x1c1)+JSON[_0x23177f(0x21c)](_0x278d2a));const _0x22b613=this[_0x23177f(0x138)](_0x184386,_0x2c61f3[_0x23177f(0x221)],_0x2c61f3[_0x23177f(0x19b)]);logger[_0x23177f(0x1a0)](_0x23177f(0x2a4)+_0x22b613+_0x23177f(0x247)+this['isAppAccessibility']);const _0x111971=this[_0x23177f(0x1b8)](_0x278d2a,_0x184386,_0x201149),_0x56fd4b=_0x53a46a['ijbVq'](_0x22b613,_0x111971),_0x3557b3=CLIUtils[_0x23177f(0x2c3)]();this['accessibility'][_0x23177f(0x2b6)](_0x3557b3,_0x56fd4b),global[_0x23177f(0x16c)]?.[_0x23177f(0x19f)]&&global[_0x23177f(0x16c)][_0x23177f(0x19f)]()['setShouldScan'](_0x56fd4b),logger[_0x23177f(0x1a0)](_0x23177f(0x1ce)+(_0x184386?.['getPlatformIndex']?.()||_0x53a46a['NiyDi'])+_0x23177f(0x260)+_0x56fd4b),_0x56fd4b?(global[_0x23177f(0x1fd)]=!![],process['env'][_0x23177f(0x196)]=_0x53a46a['FxThf'],this[_0x23177f(0x230)]()):global['accessibilityPlatform']=![];}catch(_0x5ae1cd){logger['error'](_0x23177f(0x155)+(_0x5ae1cd['stack']||_0x5ae1cd[_0x23177f(0x1f5)]));const _0xbd4191=CLIUtils[_0x23177f(0x2c3)]();this[_0x23177f(0x158)]['set'](_0xbd4191,![]),global[_0x23177f(0x1fd)]=![];}}[a80_0x1c7393(0x2b4)](){const _0x6a45b4=a80_0x1c7393;return this['capabilities'][_0x6a45b4(0x1ae)](_0x23e125=>_0x23e125[_0x6a45b4(0x226)]()===_0x6a45b4(0x218))?.['getValue']()||'';}[a80_0x1c7393(0x1cd)](_0x23f2cc){const _0x6d3b13=a80_0x1c7393;try{const _0x2cabe0=this[_0x6d3b13(0x186)]?.[_0x6d3b13(0x205)]?.['capabilitiesList']||[],_0x4ae09c=_0x2cabe0[_0x6d3b13(0x1ae)](_0x460c8d=>_0x460c8d[_0x6d3b13(0x2d3)]===_0x23f2cc);return _0x4ae09c?_0x4ae09c['value']:null;}catch(_0x3d3f6f){return logger[_0x6d3b13(0x1a0)](_0x6d3b13(0x299)+_0x23f2cc+':\x20'+_0x3d3f6f[_0x6d3b13(0x1f5)]),null;}}async['setAccessibilityConfig'](_0x1a6999,_0xd8a443){const _0x215dcc=a80_0x1c7393,_0x4c52af=_0x1a6999[_0x215dcc(0x1b3)]()[_0x215dcc(0x188)](),_0x2d7c15=_0x4c52af[_0x215dcc(0x235)](),_0x4f556e=_0x4c52af['getCommandsToWrap']()?.['getCommandsList']();scripts[_0x215dcc(0x175)](_0x2d7c15,_0x4f556e),scripts[_0x215dcc(0x225)]();const _0x4eb4e7=_0x4c52af[_0x215dcc(0x18a)]();this[_0x215dcc(0x214)]=_0x4c52af[_0x215dcc(0x18a)](),await this[_0x215dcc(0x12b)](_0x4eb4e7,_0xd8a443[_0x215dcc(0x19b)]);}async[a80_0x1c7393(0x12b)](_0x4150b3,_0xf86d78={}){const _0x6c0ad2=a80_0x1c7393,_0xd5ed82={};_0xd5ed82[_0x6c0ad2(0x1e8)]=function(_0x3da5e5,_0x24173e){return _0x3da5e5===_0x24173e;},_0xd5ed82[_0x6c0ad2(0x1bf)]=_0x6c0ad2(0x290),_0xd5ed82[_0x6c0ad2(0x237)]=_0x6c0ad2(0x1ca),_0xd5ed82[_0x6c0ad2(0x275)]=_0x6c0ad2(0x2be),_0xd5ed82['zOALN']=_0x6c0ad2(0x2e1),_0xd5ed82['WfkiL']=function(_0x25292c,_0xef8d3d){return _0x25292c===_0xef8d3d;},_0xd5ed82['cPBEs']=_0x6c0ad2(0x179),_0xd5ed82[_0x6c0ad2(0x18b)]=_0x6c0ad2(0x15e),_0xd5ed82[_0x6c0ad2(0x171)]=_0x6c0ad2(0x16b),_0xd5ed82[_0x6c0ad2(0x22e)]=_0x6c0ad2(0x1ec);const _0x3530d4=_0xd5ed82;global['__accessibilityOptions']=global[_0x6c0ad2(0x1d5)]||{};for(const _0x4be246 of _0x4150b3){logger[_0x6c0ad2(0x1c8)](_0x6c0ad2(0x25e)+_0x4be246[_0x6c0ad2(0x226)]()+_0x6c0ad2(0x211)+_0x4be246[_0x6c0ad2(0x2e3)]());if(_0x3530d4[_0x6c0ad2(0x1e8)](_0x4be246[_0x6c0ad2(0x226)](),_0x3530d4[_0x6c0ad2(0x1bf)]))process[_0x6c0ad2(0x27a)][_0x6c0ad2(0x27b)]=_0x4be246[_0x6c0ad2(0x2e3)](),global[_0x6c0ad2(0x1d5)][_0x3530d4['Vpfvn']]=_0x4be246[_0x6c0ad2(0x2e3)]();else{if(_0x3530d4['EEiFJ'](_0x4be246[_0x6c0ad2(0x226)](),_0x3530d4[_0x6c0ad2(0x275)]))global[_0x6c0ad2(0x1d5)][_0x3530d4[_0x6c0ad2(0x1db)]]=_0x4be246['getValue']();else{if(_0x3530d4[_0x6c0ad2(0x2b1)](_0x4be246[_0x6c0ad2(0x226)](),_0x3530d4['cPBEs']))global[_0x6c0ad2(0x1d5)][_0x3530d4[_0x6c0ad2(0x18b)]]=_0x4be246[_0x6c0ad2(0x2e3)]();else _0x3530d4[_0x6c0ad2(0x2b1)](_0x4be246[_0x6c0ad2(0x226)](),_0x3530d4[_0x6c0ad2(0x171)])&&(global['__accessibilityOptions'][_0x3530d4['RaHTq']]=_0x4be246[_0x6c0ad2(0x2e3)]());}}}}async[a80_0x1c7393(0x2b2)](_0xd950fe){const _0x3ed497=a80_0x1c7393,_0x3884c8={};_0x3884c8[_0x3ed497(0x291)]=function(_0x5d6815,_0x1e3d6c){return _0x5d6815!==_0x1e3d6c;},_0x3884c8[_0x3ed497(0x17f)]=_0x3ed497(0x24e),_0x3884c8[_0x3ed497(0x14f)]='jest',_0x3884c8[_0x3ed497(0x252)]=_0x3ed497(0x2d7),_0x3884c8[_0x3ed497(0x16f)]=_0x3ed497(0x273);const _0x237428=_0x3884c8;if(_0x237428[_0x3ed497(0x291)](_0xd950fe[_0x3ed497(0x28e)],_0x237428[_0x3ed497(0x17f)])&&_0x237428[_0x3ed497(0x291)](_0xd950fe[_0x3ed497(0x28e)],_0x237428[_0x3ed497(0x14f)])){logger[_0x3ed497(0x1a0)](_0x237428[_0x3ed497(0x252)]);return;}const _0x41b95f=_0xd950fe[_0x3ed497(0x12e)]?.[_0x3ed497(0x223)]||_0xd950fe[_0x3ed497(0x12e)]?.['id']||global['__jestCurrentTestIdentifier'];logger[_0x3ed497(0x1c8)](_0x3ed497(0x2a1)+_0xd950fe[_0x3ed497(0x28e)]+_0x3ed497(0x1cf)+_0x41b95f);try{const _0x863a57=_0xd950fe[_0x3ed497(0x20f)]||AutomationFramework[_0x3ed497(0x1fb)](),_0x510789=CLIUtils[_0x3ed497(0x2c3)](),_0x4d6f45=this[_0x3ed497(0x281)]();logger[_0x3ed497(0x1a0)](_0x3ed497(0x1ce)+(_0x863a57?.[_0x3ed497(0x17d)]?.()||_0x237428[_0x3ed497(0x16f)])+_0x3ed497(0x2b8)+_0x4d6f45),_0x4d6f45&&await this[_0x3ed497(0x2a3)](_0x863a57,_0xd950fe),this[_0x3ed497(0x158)]['delete'](_0x510789),this[_0x3ed497(0x26b)]['delete'](_0x510789);}catch(_0x17812a){logger[_0x3ed497(0x2cf)](_0x3ed497(0x1d4)+(_0x17812a[_0x3ed497(0x26a)]||_0x17812a[_0x3ed497(0x1f5)]));}}async['stopTestCapture'](_0x16daa0,_0x24d39e){const _0x2802af=a80_0x1c7393,_0x8c88b4={};_0x8c88b4[_0x2802af(0x1d8)]=function(_0x29b960,_0xe0a2cb){return _0x29b960===_0xe0a2cb;},_0x8c88b4[_0x2802af(0x1eb)]=_0x2802af(0x23d),_0x8c88b4[_0x2802af(0x145)]=function(_0x25e0b4,_0x3eb94b){return _0x25e0b4===_0x3eb94b;},_0x8c88b4[_0x2802af(0x282)]=_0x2802af(0x2d5),_0x8c88b4[_0x2802af(0x216)]=_0x2802af(0x24e),_0x8c88b4['glgPE']='stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save',_0x8c88b4['CVIZt']=_0x2802af(0x158),_0x8c88b4['IRPpg']=_0x2802af(0x21e),_0x8c88b4[_0x2802af(0x182)]=_0x2802af(0x273),_0x8c88b4[_0x2802af(0x165)]=_0x2802af(0x1c5),_0x8c88b4[_0x2802af(0x220)]=_0x2802af(0x2a5),_0x8c88b4[_0x2802af(0x2b7)]=function(_0x4577b0,_0xe8f550){return _0x4577b0===_0xe8f550;},_0x8c88b4[_0x2802af(0x209)]=function(_0x5301ff,_0x3b179f){return _0x5301ff||_0x3b179f;},_0x8c88b4[_0x2802af(0x2c2)]=function(_0x23abcd,_0x4de3f2){return _0x23abcd||_0x4de3f2;},_0x8c88b4[_0x2802af(0x11a)]=function(_0x3e6466,_0x1f142f){return _0x3e6466||_0x1f142f;},_0x8c88b4[_0x2802af(0x181)]=_0x2802af(0x258),_0x8c88b4[_0x2802af(0x261)]=_0x2802af(0x19d);const _0x2fd1b9=_0x8c88b4;try{const _0x428f24=_0x24d39e[_0x2802af(0x28e)]||(_0x2fd1b9['ywpcr'](this[_0x2802af(0x184)]?.[_0x2802af(0x2d3)]?.[_0x2802af(0x11d)](),_0x2fd1b9[_0x2802af(0x282)])?_0x2fd1b9['VmGab']:_0x2fd1b9[_0x2802af(0x216)]);let _0x4c0337='',_0x1b1789=null,_0x15027d=null;if(_0x2fd1b9[_0x2802af(0x145)](_0x428f24,_0x2fd1b9[_0x2802af(0x282)])){_0x1b1789=_0x24d39e[_0x2802af(0x12e)]?.[_0x2802af(0x223)]||_0x24d39e[_0x2802af(0x12e)]?.['id']||global[_0x2802af(0x242)];if(!_0x1b1789){logger[_0x2802af(0x2d8)](_0x2fd1b9['glgPE']);return;}try{const _0x258db7=await GrpcClient['getInstance']()[_0x2802af(0x29a)](process[_0x2802af(0x27a)][_0x2802af(0x20a)],_0x2fd1b9[_0x2802af(0x176)],_0x2fd1b9[_0x2802af(0x1d3)],_0x1b1789),_0x40db8c=AccessibilityModule[_0x2802af(0x2c0)](null,_0x258db7);_0x4c0337=_0x40db8c?.[_0x2802af(0x239)]||'',logger['debug'](_0x2802af(0x1a1)+_0x4c0337+_0x2802af(0x23a)+_0x1b1789),_0x15027d=_0x258db7;}catch(_0x1ac46b){logger[_0x2802af(0x2cf)](_0x2802af(0x129)+_0x1ac46b['message']);return;}}else{const _0x526c7b=this[_0x2802af(0x2c7)](_0x24d39e);_0x4c0337=TestInfo['getTestUUID'](_0x526c7b);}const _0x8c4cc=((()=>{const _0x1f21b7=_0x2802af,_0x5d48d6=(this[_0x1f21b7(0x186)]?.[_0x1f21b7(0x205)]?.['capabilitiesList']||[])[_0x1f21b7(0x1ae)](_0x55dd87=>(typeof _0x55dd87['getName']===_0x1f21b7(0x23d)?_0x55dd87[_0x1f21b7(0x226)]():_0x55dd87['name'])===this['KEY_TESTHUB_BUILD_ID']);return _0x5d48d6?_0x2fd1b9[_0x1f21b7(0x1d8)](typeof _0x5d48d6[_0x1f21b7(0x2e3)],_0x2fd1b9[_0x1f21b7(0x1eb)])?_0x5d48d6[_0x1f21b7(0x2e3)]():_0x5d48d6['value']:'';})()),_0x7eff58=process[_0x2802af(0x27a)][_0x2802af(0x127)]||'';logger[_0x2802af(0x1a0)](_0x2802af(0x1ce)+(_0x16daa0?.[_0x2802af(0x17d)]?.()||_0x2fd1b9[_0x2802af(0x182)])+_0x2802af(0x137)+_0x4c0337+'\x20testHubUuid='+_0x8c4cc+'\x20a11yToken='+(_0x7eff58?_0x2fd1b9[_0x2802af(0x165)]:_0x2fd1b9[_0x2802af(0x220)]));let _0x2308c2;if(_0x2fd1b9[_0x2802af(0x2b7)](_0x428f24,_0x2fd1b9[_0x2802af(0x282)]))_0x2308c2=AccessibilityModule[_0x2802af(0x2c0)](_0x4c0337,_0x15027d);else{const _0x11e7c0=await GrpcClient[_0x2802af(0x250)]()[_0x2802af(0x29a)](process[_0x2802af(0x27a)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x2fd1b9[_0x2802af(0x176)],_0x2fd1b9[_0x2802af(0x1d3)]);_0x2308c2=AccessibilityModule[_0x2802af(0x2c0)](_0x4c0337,_0x11e7c0);}logger[_0x2802af(0x1a0)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON['stringify'](_0x2308c2));const _0x2bf66e=Object[_0x2802af(0x11c)]({},{'thTestRunUuid':_0x2fd1b9[_0x2802af(0x209)](_0x4c0337,''),'thBuildUuid':_0x2fd1b9['vYtWc'](_0x8c4cc,''),'thJwtToken':_0x2fd1b9[_0x2802af(0x11a)](_0x7eff58,'')},_0x2308c2);logger[_0x2802af(0x1a0)](_0x2802af(0x157)+_0x4c0337+',\x20isAppAccessibility='+this[_0x2802af(0x253)]);let _0xae6da2=global[_0x2802af(0x1ac)]?.[_0x2802af(0x264)]||null;!_0xae6da2&&(_0xae6da2=AutomationFramework['getState'](_0x16daa0,_0x2fd1b9['lIDWJ'],null)),!_0xae6da2&&(_0xae6da2=AutomationFramework[_0x2802af(0x21d)](_0x16daa0,_0x2fd1b9['Xfxic'],null)),await this['finishScanningForCli'](this[_0x2802af(0x281)](),_0x4c0337,_0xae6da2,_0x2bf66e,this[_0x2802af(0x253)]);}catch(_0x5cdc8c){logger['error'](_0x2802af(0x1ab)+(_0x5cdc8c[_0x2802af(0x26a)]||_0x5cdc8c[_0x2802af(0x1f5)]));}}async[a80_0x1c7393(0x14e)](_0x1abb2a,_0x55f656,_0x39abdb,_0x336fe1,_0x2577e0){const _0x36f4b8=a80_0x1c7393,_0xd7f794={};_0xd7f794[_0x36f4b8(0x21b)]=_0x36f4b8(0x21e),_0xd7f794['ihONV']=function(_0x1d86eb,_0x38a4b7){return _0x1d86eb&&_0x38a4b7;},_0xd7f794[_0x36f4b8(0x1dd)]=_0x36f4b8(0x134),_0xd7f794[_0x36f4b8(0x22b)]=function(_0x34b091,_0x28a1e2){return _0x34b091===_0x28a1e2;},_0xd7f794[_0x36f4b8(0x236)]=_0x36f4b8(0x2a5),_0xd7f794[_0x36f4b8(0x23c)]=function(_0x1d7b31,_0x473dca){return _0x1d7b31===_0x473dca;},_0xd7f794[_0x36f4b8(0x192)]=_0x36f4b8(0x1d0),_0xd7f794[_0x36f4b8(0x178)]=_0x36f4b8(0x15f),_0xd7f794[_0x36f4b8(0x20b)]=_0x36f4b8(0x18e),_0xd7f794[_0x36f4b8(0x28d)]='scan',_0xd7f794[_0x36f4b8(0x1be)]=_0x36f4b8(0x2c6),_0xd7f794['OEsOu']=_0x36f4b8(0x257),_0xd7f794['IqNZr']='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x2c8e38=_0xd7f794;try{const _0x4a9dbf=this['getScriptByName'](_0x2c8e38[_0x36f4b8(0x21b)]);if(_0x2c8e38[_0x36f4b8(0x294)](!_0x2577e0,!_0x4a9dbf)){logger[_0x36f4b8(0x1a0)](_0x2c8e38[_0x36f4b8(0x1dd)]);return;}if(!_0x55f656||_0x2c8e38[_0x36f4b8(0x22b)](_0x55f656,_0x2c8e38['RWLOE'])||_0x2c8e38[_0x36f4b8(0x23c)](_0x55f656,'')){logger['debug'](_0x2c8e38[_0x36f4b8(0x192)]);return;}logger['debug'](_0x36f4b8(0x279)+JSON[_0x36f4b8(0x21c)](_0x336fe1)),_0x1abb2a&&(logger[_0x36f4b8(0x1a0)](_0x2c8e38[_0x36f4b8(0x178)]),await this['performScanForCli'](_0x39abdb,_0x55f656,_0x2c8e38[_0x36f4b8(0x20b)],_0x336fe1,_0x2577e0,_0x2c8e38[_0x36f4b8(0x28d)]),_0x2c8e38[_0x36f4b8(0x294)](!_0x2577e0,_0x4a9dbf)&&(logger['debug'](_0x2c8e38[_0x36f4b8(0x1be)]),await PerformanceTester[_0x36f4b8(0x150)](_0x2c8e38[_0x36f4b8(0x122)],async()=>{const _0x34c532=_0x36f4b8;await this[_0x34c532(0x29b)](_0x39abdb,_0x55f656,_0x2c8e38['VdNrx'],_0x336fe1,_0x2577e0,_0x2c8e38[_0x34c532(0x21b)]);})()),logger[_0x36f4b8(0x1c8)](_0x2c8e38[_0x36f4b8(0x152)]));}catch(_0x130c0c){logger[_0x36f4b8(0x2cf)]('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x130c0c[_0x36f4b8(0x26a)]||_0x130c0c[_0x36f4b8(0x1f5)]));}}async[a80_0x1c7393(0x292)](_0x5d4570){const _0xded454=a80_0x1c7393,_0x41abbb={};_0x41abbb[_0xded454(0x173)]=function(_0x1ebc47,_0x5293a0){return _0x1ebc47!==_0x5293a0;},_0x41abbb[_0xded454(0x161)]=_0xded454(0x24e),_0x41abbb[_0xded454(0x1fe)]=_0xded454(0x2d5),_0x41abbb['xUSJX']='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x41abbb[_0xded454(0x268)]=_0xded454(0x273),_0x41abbb[_0xded454(0x2a6)]=_0xded454(0x13c),_0x41abbb[_0xded454(0x168)]=function(_0x1fcc23,_0x32406f){return _0x1fcc23===_0x32406f;},_0x41abbb[_0xded454(0x17a)]=_0xded454(0x2ab),_0x41abbb['KrOTi']=_0xded454(0x158),_0x41abbb['QXFsU']=_0xded454(0x2df),_0x41abbb['jkcJC']=_0xded454(0x136),_0x41abbb[_0xded454(0x2cc)]='testhub_build_uuid',_0x41abbb[_0xded454(0x297)]=function(_0x2e861e,_0x36c590){return _0x2e861e===_0x36c590;},_0x41abbb[_0xded454(0x183)]=_0xded454(0x14c),_0x41abbb['cHQjd']=_0xded454(0x2a5);const _0x643c08=_0x41abbb;if(_0x643c08['axCZM'](_0x5d4570[_0xded454(0x28e)],_0x643c08[_0xded454(0x161)])&&_0x643c08[_0xded454(0x173)](_0x5d4570[_0xded454(0x28e)],_0x643c08[_0xded454(0x1fe)])){logger['debug'](_0x643c08[_0xded454(0x2d6)]);return;}logger[_0xded454(0x1a0)]('onBeforeExecute:\x20command='+(_0x5d4570[_0xded454(0x1e7)]||_0x643c08[_0xded454(0x268)])+_0xded454(0x285)+_0x5d4570['testFramework']);try{const _0x348ecf=_0x5d4570[_0xded454(0x20f)]||AutomationFramework[_0xded454(0x1fb)](),_0x165f30=TestFramework[_0xded454(0x1fb)](),_0xd9725b=_0x5d4570[_0xded454(0x1e7)]||_0x5d4570[_0xded454(0x15c)]?.[_0xded454(0x226)]();if(!_0xd9725b){logger['debug'](_0x643c08[_0xded454(0x2a6)]);return;}if(!this[_0xded454(0x281)]()){logger['debug'](_0xded454(0x265)+_0xd9725b);return;}if(!this[_0xded454(0x283)](_0xd9725b)){logger[_0xded454(0x1a0)](_0xded454(0x16e)+_0xd9725b+_0xded454(0x1ff));return;}const _0xd7ddd6=_0x5d4570[_0xded454(0x1c2)]||global[_0xded454(0x1ac)]?.[_0xded454(0x264)];if(!_0xd7ddd6){logger[_0xded454(0x1a0)](_0xded454(0x27d)+_0xd9725b);return;}let _0x3439b5='',_0x977897=null;if(_0x643c08[_0xded454(0x168)](_0x5d4570[_0xded454(0x28e)],_0x643c08[_0xded454(0x1fe)])){_0x977897=_0x5d4570['testInfo']?.[_0xded454(0x223)]||_0x5d4570['testInfo']?.['id']||global[_0xded454(0x242)];if(!_0x977897){logger[_0xded454(0x2d8)](_0x643c08[_0xded454(0x17a)]);return;}try{const _0x247204=await GrpcClient[_0xded454(0x250)]()[_0xded454(0x29a)](process[_0xded454(0x27a)][_0xded454(0x20a)],_0x643c08[_0xded454(0x1ea)],_0x643c08[_0xded454(0x15d)],_0x977897),_0x3c1f8b=AccessibilityModule[_0xded454(0x2c0)](null,_0x247204);_0x3439b5=_0x3c1f8b?.[_0xded454(0x239)]||'',logger[_0xded454(0x1a0)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x3439b5+_0xded454(0x23a)+_0x977897);}catch(_0x56f513){logger[_0xded454(0x2cf)](_0xded454(0x2da)+_0x56f513[_0xded454(0x1f5)]);return;}}else _0x3439b5=this['getCapabilityValue'](_0x643c08['jkcJC'])||'';const _0x37f389=this[_0xded454(0x1cd)](_0x643c08[_0xded454(0x2cc)])||this[_0xded454(0x186)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x5bba5c=process[_0xded454(0x27a)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x35e09e=this['getParamsForScanForCli'](_0xd9725b,_0x3439b5,_0x37f389,_0x5bba5c),_0x42935f=_0x643c08[_0xded454(0x297)](_0x5d4570[_0xded454(0x28e)],_0x643c08['ogSeW'])?await AccessibilityModule[_0xded454(0x162)](_0x643c08[_0xded454(0x183)],_0x3439b5,_0x977897):await AccessibilityModule[_0xded454(0x162)](_0x643c08[_0xded454(0x183)],_0x3439b5);logger[_0xded454(0x1c8)](_0xded454(0x160)+(_0x35e09e?JSON[_0xded454(0x21c)](_0x35e09e):_0x643c08[_0xded454(0x210)]));const _0x57a57e=CLIUtils[_0xded454(0x22f)](_0x35e09e,_0x42935f);logger[_0xded454(0x1c8)](_0xded454(0x1d9)+(_0x57a57e?JSON[_0xded454(0x21c)](_0x57a57e):_0x643c08[_0xded454(0x210)])),logger['debug'](_0xded454(0x2bf)+_0xd9725b);const _0x3ff836=await this[_0xded454(0x29b)](_0xd7ddd6,_0x3439b5,_0xd9725b,_0x57a57e,this[_0xded454(0x253)]);logger[_0xded454(0x1a0)](_0xded454(0x25c)+_0xd9725b+_0xded454(0x1d7)+_0x3ff836);}catch(_0x5b7a65){logger['error'](_0xded454(0x229)+(_0x5b7a65[_0xded454(0x26a)]||_0x5b7a65[_0xded454(0x1f5)]));}}[a80_0x1c7393(0x1e0)](){const _0x2bbe45=a80_0x1c7393;return this[_0x2bbe45(0x281)]();}['setShouldScanCurrentTest'](_0x521ffe){const _0x3e1518=a80_0x1c7393,_0x2fee94=CLIUtils[_0x3e1518(0x2c3)]();this['accessibility'][_0x3e1518(0x2b6)](_0x2fee94,_0x521ffe);}async[a80_0x1c7393(0x1f3)](_0x11b5f5){const _0x414077=a80_0x1c7393,_0x54acce={};_0x54acce[_0x414077(0x28a)]=_0x414077(0x273);const _0x16ccc1=_0x54acce;try{const _0x217a75=_0x11b5f5[_0x414077(0x20f)]||AutomationFramework[_0x414077(0x1fb)](),_0x1fd699=_0x217a75?.[_0x414077(0x244)]?.()?.[_0x414077(0x1b9)]?.(this[_0x414077(0x228)])||![];if(_0x1fd699)return;PerformanceTester[_0x414077(0x1af)](EVENTS[_0x414077(0x24c)]);const _0x5bc362=await GrpcClient[_0x414077(0x250)]()[_0x414077(0x2c8)](_0x11b5f5);_0x5bc362&&_0x5bc362[_0x414077(0x1b3)]&&_0x5bc362[_0x414077(0x1b3)]()&&_0x5bc362[_0x414077(0x1b3)]()['getSuccess']()?(await this['loadAccessibilityConfig'](_0x5bc362,_0x11b5f5),_0x217a75?.['getData']&&_0x217a75['getData']()[_0x414077(0x2b6)](this[_0x414077(0x228)],!![]),logger['debug'](_0x414077(0x1ce)+(_0x217a75?.[_0x414077(0x17d)]?.()||_0x16ccc1[_0x414077(0x28a)])+_0x414077(0x17c))):logger[_0x414077(0x1a0)]('[platform\x20-\x20'+(_0x217a75?.[_0x414077(0x17d)]?.()||_0x16ccc1[_0x414077(0x28a)])+_0x414077(0x1ba)),PerformanceTester[_0x414077(0x2d9)](EVENTS[_0x414077(0x24c)]);}catch(_0x2a8ce3){PerformanceTester[_0x414077(0x2d9)](EVENTS[_0x414077(0x24c)],![],_0x2a8ce3[_0x414077(0x1f5)]),logger['error'](_0x414077(0x2a8)+(_0x2a8ce3[_0x414077(0x26a)]||_0x2a8ce3[_0x414077(0x1f5)]));}}async['loadAccessibilityConfig'](_0x5cfdd8,_0x173d16){const _0x89624e=a80_0x1c7393;await this[_0x89624e(0x21a)](_0x5cfdd8,_0x173d16);const _0x10a2da=_0x5cfdd8['getAccessibility']()[_0x89624e(0x188)]();if(_0x10a2da){const _0x17487a=_0x5cfdd8[_0x89624e(0x14b)]&&_0x5cfdd8[_0x89624e(0x14b)]();_0x17487a&&(this['accessibilityConfig'][this['KEY_TESTHUB_BUILD_ID']]=_0x17487a[_0x89624e(0x1dc)]&&_0x17487a[_0x89624e(0x1dc)]());}}['shouldScanForCommand'](_0xcfa06b){const _0x52c527=a80_0x1c7393,_0x10dc52={};_0x10dc52[_0x52c527(0x149)]=function(_0x439979,_0x3788e0){return _0x439979===_0x3788e0;};const _0x5f482a=_0x10dc52;try{if(!_0xcfa06b)return![];const _0x559f71=this[_0x52c527(0x186)]?.[_0x52c527(0x205)]?.[_0x52c527(0x12c)]?.['commandsList']||[],_0x48ca7c=_0x559f71[_0x52c527(0x142)](_0x1c5717=>{const _0x2e966f=_0x52c527;return _0x1c5717['name']&&_0x5f482a['XveOx'](_0x1c5717[_0x2e966f(0x2d3)]['toLowerCase'](),_0xcfa06b[_0x2e966f(0x11d)]());});return logger[_0x52c527(0x1a0)](_0x52c527(0x2cd)+_0xcfa06b+_0x52c527(0x18d)+_0x48ca7c+_0x52c527(0x190)+JSON[_0x52c527(0x21c)](_0x559f71[_0x52c527(0x27f)](_0x19d9ff=>_0x19d9ff[_0x52c527(0x2d3)]))),_0x48ca7c;}catch(_0x1a0345){return logger[_0x52c527(0x1a0)](_0x52c527(0x19a)+_0x1a0345[_0x52c527(0x1f5)]),![];}}['isBrowserstackScriptCommand'](_0x2b700b){const _0x223d98=a80_0x1c7393,_0x114778={};_0x114778[_0x223d98(0x2b9)]=function(_0x224204,_0x27ec1d){return _0x224204===_0x27ec1d;},_0x114778[_0x223d98(0x2db)]=_0x223d98(0x256),_0x114778[_0x223d98(0x1a5)]='browserstack_executor';const _0x406856=_0x114778,_0x35fb02=_0x2b700b['getScript']&&_0x2b700b[_0x223d98(0x2dd)]();return _0x35fb02&&_0x406856[_0x223d98(0x2b9)](typeof _0x35fb02,_0x406856[_0x223d98(0x2db)])&&_0x35fb02[_0x223d98(0x23e)](_0x406856[_0x223d98(0x1a5)]);}[a80_0x1c7393(0x1ef)](_0x2cf2ac){const _0x37cdd1=a80_0x1c7393,_0x3f24a6={};_0x3f24a6[_0x37cdd1(0x1de)]=function(_0x3462f2,_0x151146){return _0x3462f2!==_0x151146;},_0x3f24a6['RvTta']='string',_0x3f24a6[_0x37cdd1(0x24a)]=_0x37cdd1(0x158),_0x3f24a6[_0x37cdd1(0x25a)]=_0x37cdd1(0x2df),_0x3f24a6[_0x37cdd1(0x248)]=_0x37cdd1(0x26e),_0x3f24a6[_0x37cdd1(0x16d)]=_0x37cdd1(0x215);const _0x580c3d=_0x3f24a6,_0x4388ca=_0x2cf2ac[_0x37cdd1(0x2dd)]&&_0x2cf2ac['getScript']();if(!_0x4388ca||_0x580c3d[_0x37cdd1(0x1de)](typeof _0x4388ca,_0x580c3d['RvTta']))return![];return _0x4388ca[_0x37cdd1(0x23e)](_0x580c3d[_0x37cdd1(0x24a)])||_0x4388ca[_0x37cdd1(0x23e)](_0x580c3d['gNLKK'])||_0x4388ca[_0x37cdd1(0x23e)](_0x580c3d[_0x37cdd1(0x248)])||_0x4388ca['includes'](_0x580c3d[_0x37cdd1(0x16d)]);}['getParamsForScanForCli'](_0x20d67d,_0xb421c4,_0x2835b7,_0xd02f5b){const _0x4768de=a80_0x1c7393,_0x3ddc18={};_0x3ddc18[_0x4768de(0x1f8)]=function(_0x1fbf2d,_0x8ff334){return _0x1fbf2d||_0x8ff334;},_0x3ddc18['rgbvl']=function(_0x9cd9ae,_0xc3b42c){return _0x9cd9ae||_0xc3b42c;};const _0x1e14aa=_0x3ddc18;return{'command':_0x20d67d,'thTestRunUuid':_0x1e14aa[_0x4768de(0x1f8)](_0xb421c4,''),'thBuildUuid':_0x1e14aa['rgbvl'](_0x2835b7,''),'thJwtToken':_0x1e14aa['DMAXM'](_0xd02f5b,''),'timestamp':new Date()[_0x4768de(0x1ed)]()};}[a80_0x1c7393(0x2a0)](_0x4116a2){const _0x337536=a80_0x1c7393,_0x50291f={};_0x50291f[_0x337536(0x143)]=function(_0x44c785,_0x47ade2){return _0x44c785||_0x47ade2;};const _0x48dbde=_0x50291f;try{const _0xd35c95=this['accessibilityConfig']?.[_0x337536(0x205)]?.[_0x337536(0x29f)]||[],_0x2de2ac=_0xd35c95[_0x337536(0x1ae)](_0x3d360d=>_0x3d360d['name']===_0x4116a2);return _0x48dbde[_0x337536(0x143)](_0x2de2ac,null);}catch(_0x149b84){return logger[_0x337536(0x1a0)](_0x337536(0x2c1)+_0x4116a2+':\x20'+_0x149b84['message']),null;}}async['executeScriptByName'](_0x42bed1,_0xef2621,_0x3dafbc=null){const _0x1d89bb=a80_0x1c7393,_0x50cf0e={'MdFBB':function(_0x38c1fb,_0x4f88b1){return _0x38c1fb(_0x4f88b1);},'gQceX':'../../playwright/accessibility-helper'};try{if(!_0x42bed1)return logger[_0x1d89bb(0x1a0)]('executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20'+_0xef2621),null;const _0x53fa26=this[_0x1d89bb(0x2a0)](_0xef2621);if(!_0x53fa26||!_0x53fa26[_0x1d89bb(0x15c)])return logger['debug'](_0x1d89bb(0x1e4)+_0xef2621+_0x1d89bb(0x262)),null;logger[_0x1d89bb(0x1a0)](_0x1d89bb(0x293)+_0xef2621+'\x20accessibility\x20script\x20on\x20page');const _0xd4043d=_0x50cf0e['MdFBB'](require,_0x50cf0e[_0x1d89bb(0x2bd)]),_0xc61ebc=_0x3dafbc?await _0xd4043d[_0x1d89bb(0x163)](_0x42bed1,_0x53fa26[_0x1d89bb(0x15c)],_0x3dafbc):await _0xd4043d[_0x1d89bb(0x163)](_0x42bed1,_0x53fa26[_0x1d89bb(0x15c)]);return _0xc61ebc;}catch(_0x41c175){return logger['error'](_0x1d89bb(0x28b)+_0xef2621+':\x20'+(_0x41c175[_0x1d89bb(0x26a)]||_0x41c175[_0x1d89bb(0x1f5)])),null;}}async['performScanForCli'](_0x2a761c,_0x54ddd1,_0x1ce991,_0x2eb90c,_0x37df53,_0x459c49='scan'){const _0x2d9c74=a80_0x1c7393,_0x50421f={'OZogR':function(_0x29e38d,_0x31a0cb){return _0x29e38d===_0x31a0cb;},'DUibz':'scan','hvBLp':function(_0x45db95,_0x33075c){return _0x45db95(_0x33075c);},'KBNEN':_0x2d9c74(0x199),'crZHU':function(_0x18f900,_0x2f7085){return _0x18f900(_0x2f7085);}};try{logger['debug']('[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x1ce991+_0x2d9c74(0x2a9)+_0x459c49);const _0x12dbe8=this[_0x2d9c74(0x2a0)](_0x459c49);if(!_0x12dbe8||!_0x12dbe8[_0x2d9c74(0x15c)]){logger[_0x2d9c74(0x1a0)](_0x2d9c74(0x1b1)+_0x459c49+'\x20script\x20available\x20in\x20scriptsList');return;}if(_0x50421f[_0x2d9c74(0x26c)](_0x459c49,_0x50421f[_0x2d9c74(0x2c5)])){const _0xd55e88=_0x50421f[_0x2d9c74(0x12d)](require,_0x50421f[_0x2d9c74(0x269)]),_0x54944a={};_0x54944a[_0x2d9c74(0x15c)]=_0x1ce991;const _0x2c062c=await PerformanceTester[_0x2d9c74(0x150)](PerformanceA11yEvents[_0x2d9c74(0x1a2)],async()=>{const _0x5e5bc4=_0x2d9c74;await _0xd55e88[_0x5e5bc4(0x163)](_0x2a761c,_0x12dbe8[_0x5e5bc4(0x15c)]);},_0x54944a)();return logger[_0x2d9c74(0x1c8)](_0x2d9c74(0x197)+_0x459c49+'\x20result\x20for\x20'+_0x1ce991+':\x20'+util[_0x2d9c74(0x1c9)](_0x2c062c)),_0x2c062c;}const _0x50e3f7=_0x50421f[_0x2d9c74(0x1c7)](require,_0x50421f[_0x2d9c74(0x269)]),_0x394851=await PerformanceTester[_0x2d9c74(0x150)](PerformanceA11yEvents[_0x2d9c74(0x28c)],async()=>{const _0x5419b1=_0x2d9c74;await _0x50e3f7[_0x5419b1(0x163)](_0x2a761c,_0x12dbe8['command'],_0x2eb90c);})();return logger[_0x2d9c74(0x1c8)](_0x2d9c74(0x197)+_0x459c49+_0x2d9c74(0x20c)+_0x1ce991+':\x20'+util[_0x2d9c74(0x1c9)](_0x394851)),_0x394851;}catch(_0x638a6f){logger[_0x2d9c74(0x2cf)](_0x2d9c74(0x13b)+_0x459c49+':\x20'+(_0x638a6f[_0x2d9c74(0x26a)]||_0x638a6f[_0x2d9c74(0x1f5)]));}}async['validatePlatformForAccessibility'](_0x1672ef){const _0xc7297=a80_0x1c7393,_0x49e43b={'qBJvo':function(_0x40a717,_0x5dc0cb){return _0x40a717(_0x5dc0cb);},'Ygdzv':_0xc7297(0x17e)};try{const _0x1ebdca=_0x49e43b[_0xc7297(0x24f)](require,_0x49e43b[_0xc7297(0x24b)]);return await _0x1ebdca[_0xc7297(0x212)](_0x1672ef);}catch(_0xac673a){return logger[_0xc7297(0x2cf)](_0xc7297(0x1d1)+(_0xac673a[_0xc7297(0x26a)]||_0xac673a[_0xc7297(0x1f5)])),![];}}['processAccessibilityCaps'](_0x10cafd,_0x263d6d,_0x47b5ac){const _0x3acc70=a80_0x1c7393,_0x41a5fc={'tvtaK':function(_0x232067,_0x4adb92){return _0x232067(_0x4adb92);},'YhsPL':_0x3acc70(0x199),'PesME':_0x3acc70(0x222),'TxlQD':'\x22browserstack.key\x22:\x22[REDACTED]\x22'};try{const _0x2464bb=_0x41a5fc['tvtaK'](require,_0x41a5fc['YhsPL']);_0x2464bb[_0x3acc70(0x1fa)](_0x10cafd,_0x263d6d,_0x47b5ac);const _0x51b66a=JSON[_0x3acc70(0x21c)](_0x10cafd)[_0x3acc70(0x141)](/"browserstack\.user":"[^"]*"/g,_0x41a5fc['PesME'])[_0x3acc70(0x141)](/"browserstack\.key":"[^"]*"/g,_0x41a5fc[_0x3acc70(0x14d)]);logger[_0x3acc70(0x1a0)]('Processed\x20accessibility\x20caps\x20'+global[_0x3acc70(0x1fd)]+'\x20'+_0x51b66a);}catch(_0x331030){logger[_0x3acc70(0x2cf)](_0x3acc70(0x1f6)+(_0x331030['stack']||_0x331030[_0x3acc70(0x1f5)]));}}async['getAccessibilityResults'](_0x3b3c2b){const _0x20edf1=a80_0x1c7393,_0x1c1d25={};_0x1c1d25[_0x20edf1(0x2e2)]='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.',_0x1c1d25[_0x20edf1(0x224)]=_0x20edf1(0x26e);const _0x18b197=_0x1c1d25;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x20edf1(0x2d8)](_0x18b197[_0x20edf1(0x2e2)]),[];const _0x209f77=await this[_0x20edf1(0x130)](_0x3b3c2b,_0x18b197[_0x20edf1(0x224)]);return _0x209f77||[];}catch(_0x5e5e0c){return logger['error'](_0x20edf1(0x2af)+(_0x5e5e0c[_0x20edf1(0x26a)]||_0x5e5e0c['message'])),[];}}async[a80_0x1c7393(0x2b5)](_0x2acf79){const _0x18e5d2=a80_0x1c7393,_0x534030={'bnyZU':_0x18e5d2(0x14c),'KDTBJ':_0x18e5d2(0x240),'IAXWE':_0x18e5d2(0x11f),'upAXF':function(_0x119964,_0x1c0e77){return _0x119964(_0x1c0e77);},'KUAJy':'../cliUtils','kSvye':function(_0x56a16f,_0x2f5ac9){return _0x56a16f===_0x2f5ac9;},'BAXfx':_0x18e5d2(0x2d5),'Afoed':'getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','GgfWy':_0x18e5d2(0x158),'CKdve':'testhub_build_uuid','xVemK':'getAccessibilityResultsSummary','HHfIR':'test_run_id','LQFCz':_0x18e5d2(0x1b5),'PmkZj':_0x18e5d2(0x1bc)};try{if(!this[_0x18e5d2(0x281)]())return logger[_0x18e5d2(0x2d8)](_0x534030['IAXWE']),{};const _0x5739c3=_0x534030[_0x18e5d2(0x207)](require,_0x534030[_0x18e5d2(0x203)]),_0x471350=_0x5739c3[_0x18e5d2(0x288)](),_0x5a0872=_0x534030[_0x18e5d2(0x167)](_0x471350?.['name']?.[_0x18e5d2(0x11d)](),_0x534030[_0x18e5d2(0x249)]);let _0x3e14f7='',_0xdd15a2=null,_0x4a6ad2=null;if(_0x5a0872){_0xdd15a2=global[_0x18e5d2(0x242)]||global[_0x18e5d2(0x1ac)]?.[_0x18e5d2(0x296)]?.[_0x18e5d2(0x223)]||global['__workerDetails']?.[_0x18e5d2(0x296)]?.['id'];if(!_0xdd15a2)return logger['warn'](_0x534030[_0x18e5d2(0x208)]),{};try{const _0x42836e=await GrpcClient[_0x18e5d2(0x250)]()[_0x18e5d2(0x29a)](process[_0x18e5d2(0x27a)][_0x18e5d2(0x20a)],_0x534030[_0x18e5d2(0x206)],_0x534030[_0x18e5d2(0x25b)],_0xdd15a2),_0x45f8ca=AccessibilityModule[_0x18e5d2(0x2c0)](null,_0x42836e);_0x3e14f7=_0x45f8ca?.[_0x18e5d2(0x239)]||'',logger[_0x18e5d2(0x1a0)](_0x18e5d2(0x2bb)+_0x3e14f7+_0x18e5d2(0x23a)+_0xdd15a2);const _0x6ab7f9=await AccessibilityModule[_0x18e5d2(0x162)](_0x534030[_0x18e5d2(0x25b)],_0x3e14f7,_0xdd15a2),_0x2a4aaa=this['getCapabilityValue'](_0x534030['CKdve'])||this['accessibilityConfig'][this['KEY_TESTHUB_BUILD_ID']]||null,_0x288859=process[_0x18e5d2(0x27a)][_0x18e5d2(0x127)]||'',_0x3330e3=this[_0x18e5d2(0x19e)](_0x534030[_0x18e5d2(0x164)],_0x3e14f7,_0x2a4aaa,_0x288859);_0x4a6ad2=_0x5739c3['mergeObject'](_0x3330e3,_0x6ab7f9),logger['debug'](_0x18e5d2(0x18c)+JSON[_0x18e5d2(0x21c)](_0x4a6ad2));}catch(_0x4d904b){return logger[_0x18e5d2(0x2cf)](_0x18e5d2(0x1f2)+_0x4d904b[_0x18e5d2(0x1f5)]),{};}}else{_0x3e14f7=this['getCapabilityValue'](_0x534030['HHfIR'])||'';const _0x1fc497=this[_0x18e5d2(0x1cd)](_0x534030[_0x18e5d2(0x17b)])||this[_0x18e5d2(0x186)][this[_0x18e5d2(0x170)]]||null,_0x56acc6=process['env']['BROWSERSTACK_TESTHUB_JWT']||'';_0x4a6ad2=this[_0x18e5d2(0x19e)](_0x534030['xVemK'],_0x3e14f7,_0x1fc497,_0x56acc6);}logger[_0x18e5d2(0x1a0)](_0x534030[_0x18e5d2(0x1e6)]),await PerformanceTester[_0x18e5d2(0x150)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5c843d=_0x18e5d2,_0x24ccc8=await this[_0x5c843d(0x130)](_0x2acf79,_0x534030[_0x5c843d(0x23b)],_0x4a6ad2);logger[_0x5c843d(0x1a0)](_0x5c843d(0x172)+util['format'](_0x24ccc8));},{'command':_0x534030[_0x18e5d2(0x164)]})();const _0x56de46=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x18e5d2(0x1f1)],async()=>{const _0x2ad4fe=_0x18e5d2;return await this[_0x2ad4fe(0x130)](_0x2acf79,_0x534030[_0x2ad4fe(0x25b)],_0x4a6ad2);})();if(!_0x56de46)return logger[_0x18e5d2(0x1a0)](_0x534030['PmkZj']),{};return _0x56de46;}catch(_0x5d0695){return logger[_0x18e5d2(0x2cf)](_0x18e5d2(0x147)+(_0x5d0695[_0x18e5d2(0x26a)]||_0x5d0695['message'])),{};}}async['performPageScan'](_0x276431,_0x388343,_0x31c004=null){const _0x477170=a80_0x1c7393,_0x521d74={};_0x521d74[_0x477170(0x13d)]=_0x477170(0x13e),_0x521d74['vEaNG']=_0x477170(0x213),_0x521d74[_0x477170(0x1a3)]=_0x477170(0x133);const _0x32f6f6=_0x521d74;try{if(!_0x276431)return logger[_0x477170(0x1a0)](_0x32f6f6['RYUgo']),null;if(!_0x388343)return logger[_0x477170(0x1a0)](_0x32f6f6[_0x477170(0x24d)]),null;logger['debug'](_0x32f6f6[_0x477170(0x1a3)]);const _0x450027=_0x31c004?await _0x276431['evaluate'](_0x388343,_0x31c004):await _0x276431[_0x477170(0x2aa)](_0x388343);return _0x450027;}catch(_0x3cd785){return logger['error']('Error\x20in\x20performPageScan:\x20'+(_0x3cd785[_0x477170(0x26a)]||_0x3cd785[_0x477170(0x1f5)])),null;}}static[a80_0x1c7393(0x2c0)](_0x3a1b8c,_0x22578e){const _0x4c163d=a80_0x1c7393,_0x42c64d={};_0x42c64d[_0x4c163d(0x174)]=_0x4c163d(0x1f4);const _0x3029ad=_0x42c64d,_0x17af6c={};_0x17af6c['thTestRunUuid']=_0x3a1b8c;const _0x36cda3=_0x17af6c;let _0x17aaa4={};if(_0x22578e[_0x4c163d(0x200)]()&&_0x22578e[_0x4c163d(0x245)]())try{_0x17aaa4=JSON[_0x4c163d(0x1a4)](new Buffer(_0x22578e[_0x4c163d(0x274)]())[_0x4c163d(0x28f)](_0x3029ad[_0x4c163d(0x174)]));}catch(_0x3e2b13){logger[_0x4c163d(0x2cf)](_0x4c163d(0x19c)+_0x3e2b13[_0x4c163d(0x1f5)]),_0x17aaa4={};}return CLIUtils[_0x4c163d(0x22f)](_0x36cda3,_0x17aaa4);}static async[a80_0x1c7393(0x162)](_0x1e110b,_0x2eeca8='',_0x56351e=null){const _0x5e318d=a80_0x1c7393,_0x227896={};_0x227896[_0x5e318d(0x2de)]=_0x5e318d(0x156),_0x227896['yFjVQ']=_0x5e318d(0x158);const _0x4a48c2=_0x227896;try{if(!_0x56351e&&AccessibilityModule['_centralAuthConfigFetched'])return AccessibilityModule[_0x5e318d(0x2ce)];if(!process[_0x5e318d(0x27a)]['BROWSERSTACK_CLI_BIN_SESSION_ID'])return logger[_0x5e318d(0x2cf)](_0x4a48c2[_0x5e318d(0x2de)]),{};const _0x289d98=await GrpcClient[_0x5e318d(0x250)]()[_0x5e318d(0x29a)](process[_0x5e318d(0x27a)][_0x5e318d(0x20a)],_0x4a48c2[_0x5e318d(0x277)],_0x1e110b,_0x56351e),_0x43e908=_0x56351e?AccessibilityModule[_0x5e318d(0x2c0)](null,_0x289d98)?.[_0x5e318d(0x239)]||_0x2eeca8:_0x2eeca8,_0x5a76f1=AccessibilityModule[_0x5e318d(0x2c0)](_0x43e908,_0x289d98);return!_0x56351e&&(AccessibilityModule[_0x5e318d(0x2ce)]=_0x5a76f1,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x5a76f1;}catch(_0x29ddc8){return logger[_0x5e318d(0x2cf)](_0x5e318d(0x191)+_0x1e110b+':\x20'+(_0x29ddc8[_0x5e318d(0x26a)]||_0x29ddc8[_0x5e318d(0x1f5)])),{};}}};module['exports']=AccessibilityModule;
@@ -1 +1 @@
1
- function a81_0x195b(_0x1d786f,_0x4fcf81){const _0x5c055d=a81_0x5c05();return a81_0x195b=function(_0x195b10,_0x4de0e7){_0x195b10=_0x195b10-0xc4;let _0x2aeeb6=_0x5c055d[_0x195b10];return _0x2aeeb6;},a81_0x195b(_0x1d786f,_0x4fcf81);}const a81_0x1e92ca=a81_0x195b;function a81_0x5c05(){const _0x376b72=['object','1528145KsdwUo','108nEZLqa','Configured\x20module\x20','setTestFrameworkData','iqLfn','4852956xaCrvS','testId','ensureBinSession','2|4|1|3|0','testInfo','2426078YbWSWe',',\x20platformIndex=','1222434BvOlzY','QRPbP','version','split','12fKxffG','1091846BqgafE','kMKtE','getModuleName','winstonLogger','GuQtv','exports','3WTlzZt','uAxau','141296EeGsHl','binSessionId','name','_test','20yyeBRQ','ebPex','client','GGUcZ','testFramework','platformIndex','OQaUO','testFrameworkData','PLAYWRIGHT','getTestId','CUCUMBER','JEST','11856889rzOemw'];a81_0x5c05=function(){return _0x376b72;};return a81_0x5c05();}(function(_0x172378,_0xab5700){const _0x1182d0=a81_0x195b,_0x4f5762=_0x172378();while(!![]){try{const _0x1e2aea=parseInt(_0x1182d0(0xce))/0x1+parseInt(_0x1182d0(0xcc))/0x2*(-parseInt(_0x1182d0(0xd9))/0x3)+-parseInt(_0x1182d0(0xd2))/0x4*(parseInt(_0x1182d0(0xed))/0x5)+-parseInt(_0x1182d0(0xc7))/0x6+parseInt(_0x1182d0(0xd3))/0x7+-parseInt(_0x1182d0(0xdb))/0x8*(-parseInt(_0x1182d0(0xee))/0x9)+-parseInt(_0x1182d0(0xdf))/0xa*(-parseInt(_0x1182d0(0xeb))/0xb);if(_0x1e2aea===_0xab5700)break;else _0x4f5762['push'](_0x4f5762['shift']());}catch(_0x105ca3){_0x4f5762['push'](_0x4f5762['shift']());}}}(a81_0x5c05,0xc51ea));const logger=require('../../../helpers/logger.js')[a81_0x1e92ca(0xd6)],{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js');class BaseModule{constructor(_0x33a68b=null){const _0x463a8b=a81_0x1e92ca,_0x21ccad={};_0x21ccad[_0x463a8b(0xc6)]='3|1|2|4|5|0',_0x21ccad[_0x463a8b(0xe2)]='BaseModule';const _0x1b80b7=_0x21ccad,_0x1eb067=_0x1b80b7[_0x463a8b(0xc6)][_0x463a8b(0xd1)]('|');let _0x4c789d=0x0;while(!![]){switch(_0x1eb067[_0x4c789d++]){case'0':this[_0x463a8b(0xe6)]=this[_0x463a8b(0xc5)](_0x33a68b);continue;case'1':this[_0x463a8b(0xdc)]=null;continue;case'2':this[_0x463a8b(0xe4)]=0x0;continue;case'3':this['name']=_0x1b80b7[_0x463a8b(0xe2)];continue;case'4':this['config']={};continue;case'5':this[_0x463a8b(0xe1)]=null;continue;}break;}}[a81_0x1e92ca(0xc9)](){const _0x38961b=a81_0x1e92ca,_0x2921d5={};_0x2921d5['ebPex']='Missing\x20binSessionId';const _0x6a5349=_0x2921d5;if(!this['binSessionId'])throw new Error(_0x6a5349[_0x38961b(0xe0)]);}[a81_0x1e92ca(0xd5)](){const _0x32e43b=a81_0x1e92ca;return this[_0x32e43b(0xdd)];}['configure'](_0x5e77d6,_0x553f4c,_0x52ac9c,_0xb206e9={}){const _0x2b1d2d=a81_0x1e92ca,_0x10979b={};_0x10979b[_0x2b1d2d(0xda)]=_0x2b1d2d(0xca);const _0x4872b2=_0x10979b,_0x3158bf=_0x4872b2['uAxau']['split']('|');let _0x2d34b8=0x0;while(!![]){switch(_0x3158bf[_0x2d34b8++]){case'0':logger['debug'](_0x2b1d2d(0xc4)+this[_0x2b1d2d(0xd5)]()+'\x20with\x20binSessionId='+_0x5e77d6+_0x2b1d2d(0xcd)+_0x553f4c);continue;case'1':this[_0x2b1d2d(0xe1)]=_0x52ac9c;continue;case'2':this[_0x2b1d2d(0xdc)]=_0x5e77d6;continue;case'3':this['config']=_0xb206e9;continue;case'4':this[_0x2b1d2d(0xe4)]=_0x553f4c;continue;}break;}}[a81_0x1e92ca(0xe8)](_0x1d40a1){const _0x4e85df=a81_0x1e92ca,_0x4ba92a={};_0x4ba92a[_0x4e85df(0xcf)]=function(_0x116312,_0x4af3f8){return _0x116312===_0x4af3f8;},_0x4ba92a[_0x4e85df(0xd4)]=function(_0x4d23c1,_0x45585b){return _0x4d23c1===_0x45585b;};const _0x4994e0=_0x4ba92a;let _0x417144='';if(_0x4994e0[_0x4e85df(0xcf)](_0x1d40a1['testFramework'],FRAMEWORKS[_0x4e85df(0xe7)]))_0x417144=_0x1d40a1['testInfo']?.[_0x4e85df(0xde)]?.['id']||_0x1d40a1['testInfo']?.[_0x4e85df(0xc8)];else{if(_0x4994e0[_0x4e85df(0xd4)](_0x1d40a1[_0x4e85df(0xe3)],FRAMEWORKS[_0x4e85df(0xe9)]))_0x417144=_0x1d40a1[_0x4e85df(0xcb)]?.['testCaseStartedId'];else _0x4994e0[_0x4e85df(0xcf)](_0x1d40a1[_0x4e85df(0xe3)],FRAMEWORKS[_0x4e85df(0xea)])&&(_0x417144=_0x1d40a1['testInfo']?.['id']);}return _0x417144;}['setTestFrameworkData'](_0x3a05db){const _0x38150e=a81_0x1e92ca,_0x14fb85={};_0x14fb85[_0x38150e(0xe5)]=function(_0x1d0c13,_0x2d5662){return _0x1d0c13!==_0x2d5662;},_0x14fb85[_0x38150e(0xd7)]=_0x38150e(0xec);const _0x47a70f=_0x14fb85;if(!_0x3a05db||_0x47a70f[_0x38150e(0xe5)](typeof _0x3a05db,_0x47a70f[_0x38150e(0xd7)]))return null;const _0x359f75={};_0x359f75[_0x38150e(0xdd)]=_0x3a05db[_0x38150e(0xdd)],_0x359f75['version']=_0x3a05db[_0x38150e(0xd0)]&&_0x3a05db[_0x38150e(0xd0)][_0x3a05db[_0x38150e(0xdd)]];const _0x23b032=_0x359f75;return _0x23b032;}}module[a81_0x1e92ca(0xd8)]=BaseModule;
1
+ const a81_0x1e4434=a81_0x2945;(function(_0x405b92,_0x34824e){const _0x363a49=a81_0x2945,_0x2facfd=_0x405b92();while(!![]){try{const _0x2fb81f=parseInt(_0x363a49(0x1be))/0x1+parseInt(_0x363a49(0x1c3))/0x2+parseInt(_0x363a49(0x1b4))/0x3*(-parseInt(_0x363a49(0x1b5))/0x4)+parseInt(_0x363a49(0x1c4))/0x5+-parseInt(_0x363a49(0x1bc))/0x6+-parseInt(_0x363a49(0x1cc))/0x7+-parseInt(_0x363a49(0x1cf))/0x8;if(_0x2fb81f===_0x34824e)break;else _0x2facfd['push'](_0x2facfd['shift']());}catch(_0x562f55){_0x2facfd['push'](_0x2facfd['shift']());}}}(a81_0x576b,0xf12f1));function a81_0x2945(_0x349c68,_0x5cbdb4){const _0x576b5e=a81_0x576b();return a81_0x2945=function(_0x294538,_0x814ff3){_0x294538=_0x294538-0x1b1;let _0x3f2c6b=_0x576b5e[_0x294538];return _0x3f2c6b;},a81_0x2945(_0x349c68,_0x5cbdb4);}function a81_0x576b(){const _0x283347=['qNaQP','DeabJ','debug','testFrameworkData','2676212IoCUEm','3454975VTkoDJ','lWDPP','testId','configure','\x20with\x20binSessionId=','Configured\x20module\x20','yFsPF','split','698803xwpsdE','Missing\x20binSessionId','client','10164648EQJDQX','version','OlNts','binSessionId','platformIndex',',\x20platformIndex=','name','_test','exports','ensureBinSession','3|4|0|2|1','rldWj','setTestFrameworkData','KlqKW','PLAYWRIGHT','390bwpjUF','33112fuGVek','getTestId','testFramework','winstonLogger','testCaseStartedId','getModuleName','brcPY','2031486NNtAQV','testInfo','1743919QjfPhV'];a81_0x576b=function(){return _0x283347;};return a81_0x576b();}const logger=require('../../../helpers/logger.js')[a81_0x1e4434(0x1b8)],{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js');class BaseModule{constructor(_0x541e9b=null){const _0x418ffe=a81_0x1e4434,_0x2e0189={};_0x2e0189['lWDPP']='3|4|0|1|5|2',_0x2e0189[_0x418ffe(0x1c0)]='BaseModule';const _0x5d0851=_0x2e0189,_0xa4ebf7=_0x5d0851[_0x418ffe(0x1c5)][_0x418ffe(0x1cb)]('|');let _0x528d27=0x0;while(!![]){switch(_0xa4ebf7[_0x528d27++]){case'0':this[_0x418ffe(0x1d3)]=0x0;continue;case'1':this['config']={};continue;case'2':this[_0x418ffe(0x1c2)]=this[_0x418ffe(0x1b1)](_0x541e9b);continue;case'3':this[_0x418ffe(0x1d5)]=_0x5d0851[_0x418ffe(0x1c0)];continue;case'4':this[_0x418ffe(0x1d2)]=null;continue;case'5':this[_0x418ffe(0x1ce)]=null;continue;}break;}}[a81_0x1e4434(0x1d8)](){const _0x5c87d0=a81_0x1e4434,_0x3e0ad3={};_0x3e0ad3[_0x5c87d0(0x1d1)]=_0x5c87d0(0x1cd);const _0x4e8ff1=_0x3e0ad3;if(!this[_0x5c87d0(0x1d2)])throw new Error(_0x4e8ff1['OlNts']);}['getModuleName'](){return this['name'];}[a81_0x1e4434(0x1c7)](_0x3ed363,_0x3e1a1c,_0x6fe148,_0x522174={}){const _0x56574d=a81_0x1e4434,_0x35210b={};_0x35210b[_0x56574d(0x1bb)]=_0x56574d(0x1d9);const _0x36854a=_0x35210b,_0x587628=_0x36854a['brcPY'][_0x56574d(0x1cb)]('|');let _0x3f420a=0x0;while(!![]){switch(_0x587628[_0x3f420a++]){case'0':this[_0x56574d(0x1ce)]=_0x6fe148;continue;case'1':logger[_0x56574d(0x1c1)](_0x56574d(0x1c9)+this[_0x56574d(0x1ba)]()+_0x56574d(0x1c8)+_0x3ed363+_0x56574d(0x1d4)+_0x3e1a1c);continue;case'2':this['config']=_0x522174;continue;case'3':this[_0x56574d(0x1d2)]=_0x3ed363;continue;case'4':this[_0x56574d(0x1d3)]=_0x3e1a1c;continue;}break;}}[a81_0x1e4434(0x1b6)](_0x21850c){const _0x3de35a=a81_0x1e4434,_0x576416={};_0x576416[_0x3de35a(0x1bf)]=function(_0x4cd813,_0x327f4e){return _0x4cd813===_0x327f4e;},_0x576416[_0x3de35a(0x1da)]=function(_0x37b65a,_0x2eed09){return _0x37b65a===_0x2eed09;};const _0x2ec5b=_0x576416;let _0x2fea15='';if(_0x2ec5b[_0x3de35a(0x1bf)](_0x21850c[_0x3de35a(0x1b7)],FRAMEWORKS[_0x3de35a(0x1b3)]))_0x2fea15=_0x21850c[_0x3de35a(0x1bd)]?.[_0x3de35a(0x1d6)]?.['id']||_0x21850c['testInfo']?.[_0x3de35a(0x1c6)];else{if(_0x2ec5b[_0x3de35a(0x1da)](_0x21850c['testFramework'],FRAMEWORKS['CUCUMBER']))_0x2fea15=_0x21850c[_0x3de35a(0x1bd)]?.[_0x3de35a(0x1b9)];else _0x2ec5b['qNaQP'](_0x21850c[_0x3de35a(0x1b7)],FRAMEWORKS['JEST'])&&(_0x2fea15=_0x21850c[_0x3de35a(0x1bd)]?.['id']);}return _0x2fea15;}[a81_0x1e4434(0x1b1)](_0x43759a){const _0xabc9d=a81_0x1e4434,_0x227749={};_0x227749['yFsPF']=function(_0x220654,_0x4bbd9d){return _0x220654!==_0x4bbd9d;},_0x227749['KlqKW']='object';const _0x4cfb37=_0x227749;if(!_0x43759a||_0x4cfb37[_0xabc9d(0x1ca)](typeof _0x43759a,_0x4cfb37[_0xabc9d(0x1b2)]))return null;const _0x547b5d={};_0x547b5d[_0xabc9d(0x1d5)]=_0x43759a[_0xabc9d(0x1d5)],_0x547b5d['version']=_0x43759a[_0xabc9d(0x1d0)]&&_0x43759a[_0xabc9d(0x1d0)][_0x43759a[_0xabc9d(0x1d5)]];const _0x2b424f=_0x547b5d;return _0x2b424f;}}module[a81_0x1e4434(0x1d7)]=BaseModule;
@@ -1 +1 @@
1
- const a82_0x5b8b58=a82_0x3e34;function a82_0x3e34(_0xf0f6c2,_0x52d50d){const _0x10954a=a82_0x1095();return a82_0x3e34=function(_0x3e3435,_0x21ccff){_0x3e3435=_0x3e3435-0x1e7;let _0x572c12=_0x10954a[_0x3e3435];return _0x572c12;},a82_0x3e34(_0xf0f6c2,_0x52d50d);}(function(_0xdb88a,_0x11a13b){const _0x2baeb7=a82_0x3e34,_0x1f1422=_0xdb88a();while(!![]){try{const _0xdc3495=parseInt(_0x2baeb7(0x213))/0x1*(parseInt(_0x2baeb7(0x202))/0x2)+parseInt(_0x2baeb7(0x20c))/0x3+-parseInt(_0x2baeb7(0x214))/0x4*(parseInt(_0x2baeb7(0x1e9))/0x5)+-parseInt(_0x2baeb7(0x1ef))/0x6+-parseInt(_0x2baeb7(0x1e8))/0x7+-parseInt(_0x2baeb7(0x1f2))/0x8*(-parseInt(_0x2baeb7(0x1f4))/0x9)+parseInt(_0x2baeb7(0x1fd))/0xa;if(_0xdc3495===_0x11a13b)break;else _0x1f1422['push'](_0x1f1422['shift']());}catch(_0x40031c){_0x1f1422['push'](_0x1f1422['shift']());}}}(a82_0x1095,0xdf8a3));const {createClassLogger}=require(a82_0x5b8b58(0x1f6)),logger=createClassLogger(a82_0x5b8b58(0x1ea)),{sendSdkEvents}=require(a82_0x5b8b58(0x201)),isLTSSession=(_0xf660dc=null)=>{const _0x2ec28f=a82_0x5b8b58,_0x4c7c79={};_0x4c7c79['oreTE']=function(_0x44c736,_0x5c4d04){return _0x44c736!==_0x5c4d04;},_0x4c7c79[_0x2ec28f(0x1f3)]='undefined',_0x4c7c79['JxtWQ']=function(_0x52d77c,_0x1707f5){return _0x52d77c===_0x1707f5;},_0x4c7c79[_0x2ec28f(0x206)]='string',_0x4c7c79['zwUbu']='true',_0x4c7c79[_0x2ec28f(0x205)]=function(_0x13e625,_0x224a39){return _0x13e625===_0x224a39;},_0x4c7c79[_0x2ec28f(0x212)]=function(_0x5bfc35,_0x406536){return _0x5bfc35===_0x406536;},_0x4c7c79[_0x2ec28f(0x1f8)]=_0x2ec28f(0x1f0);const _0x2c1b37=_0x4c7c79;try{if(_0x2c1b37['oreTE'](typeof process[_0x2ec28f(0x216)][_0x2ec28f(0x207)],_0x2c1b37['nZjjk'])){const _0x2e16e7=process['env']['overrideLoadTesting'];return _0x2c1b37[_0x2ec28f(0x204)](typeof _0x2e16e7,_0x2c1b37[_0x2ec28f(0x206)])?_0x2c1b37[_0x2ec28f(0x204)](_0x2e16e7['toLowerCase'](),_0x2c1b37[_0x2ec28f(0x1ed)]):!!_0x2e16e7;}const _0x1744c7=_0xf660dc&&_0xf660dc['overrideLoadTesting'],_0x37a389=!!(_0xf660dc&&(_0x2c1b37['IxBgn'](_0xf660dc[_0x2ec28f(0x208)],!![])||_0x2c1b37[_0x2ec28f(0x204)](_0xf660dc[_0x2ec28f(0x208)],_0x2c1b37[_0x2ec28f(0x1ed)]))),_0x20603f=!!(_0x1744c7&&_0x2c1b37[_0x2ec28f(0x212)](_0x1744c7['toString']()[_0x2ec28f(0x20f)](),_0x2c1b37[_0x2ec28f(0x1ed)])&&!_0x37a389);return process[_0x2ec28f(0x216)][_0x2ec28f(0x207)]=_0x20603f?_0x2c1b37[_0x2ec28f(0x1ed)]:_0x2c1b37[_0x2ec28f(0x1f8)],_0x20603f;}catch(_0x2cf643){return process[_0x2ec28f(0x216)][_0x2ec28f(0x207)]=_0x2c1b37[_0x2ec28f(0x1f8)],![];}},getLTSSessionId=()=>{const _0x11ff26=a82_0x5b8b58,_0x2359ec={'pXcGB':function(_0x4c4974){return _0x4c4974();},'KrUJD':_0x11ff26(0x1fe),'hDqNW':_0x11ff26(0x215)};try{if(_0x2359ec[_0x11ff26(0x217)](isLTSSession))return logger['debug'](_0x2359ec[_0x11ff26(0x1fc)]),process[_0x11ff26(0x216)]['BROWSERSTACK_LTS_SESSION_ID']||'';}catch(_0x25131b){logger[_0x11ff26(0x1f5)](_0x11ff26(0x218)+(_0x25131b&&_0x25131b[_0x11ff26(0x1ff)]));}return logger['debug'](_0x2359ec[_0x11ff26(0x203)]),'';},setLTSSessionId=async(_0x5f0706={})=>{const _0x1f7c36=a82_0x5b8b58,_0xcd10c7={'vAaYY':function(_0x145420){return _0x145420();},'cHsWP':_0x1f7c36(0x1f9),'BXFub':_0x1f7c36(0x1e7),'JonKZ':_0x1f7c36(0x1ee),'cOJSh':function(_0xa63c90,_0x2334f2){return _0xa63c90(_0x2334f2);},'eKpnI':function(_0x11c611,_0x18482,_0x955f3){return _0x11c611(_0x18482,_0x955f3);},'iByUk':function(_0x3ad51d,_0x2db32e){return _0x3ad51d||_0x2db32e;}};try{const _0x2dd357=_0xcd10c7[_0x1f7c36(0x1fb)](getLTSSessionId);_0x2dd357?(process[_0x1f7c36(0x216)]['BROWSERSTACK_LTS_SESSION_ID']=_0x2dd357,logger[_0x1f7c36(0x1fa)](_0xcd10c7[_0x1f7c36(0x211)])):(delete process['env'][_0x1f7c36(0x1f7)],logger['debug'](_0xcd10c7[_0x1f7c36(0x200)]));try{const _0x4d20a5={'feature':_0xcd10c7[_0x1f7c36(0x20a)],'ltsEnabled':_0xcd10c7[_0x1f7c36(0x210)](isLTSSession,_0x5f0706),'ltsSessionIdPresent':!!_0x2dd357};await _0xcd10c7[_0x1f7c36(0x20d)](sendSdkEvents,_0x4d20a5,_0x5f0706);}catch(_0xbb8fe9){logger['debug'](_0x1f7c36(0x1ec)+(_0xbb8fe9&&_0xbb8fe9[_0x1f7c36(0x1ff)]));}return _0xcd10c7[_0x1f7c36(0x20e)](_0x2dd357,'');}catch(_0x42bb1b){return logger[_0x1f7c36(0x1fa)](_0x1f7c36(0x219)+(_0x42bb1b&&_0x42bb1b[_0x1f7c36(0x1ff)])),'';}},a82_0x155a2c={};a82_0x155a2c[a82_0x5b8b58(0x1eb)]=isLTSSession,a82_0x155a2c[a82_0x5b8b58(0x20b)]=getLTSSessionId,a82_0x155a2c[a82_0x5b8b58(0x1f1)]=setLTSSessionId,module[a82_0x5b8b58(0x209)]=a82_0x155a2c;function a82_0x1095(){const _0x13cdde=['13761860URaJIz','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','message','BXFub','../../../helpers/helper.js','235648yKfyhB','hDqNW','JxtWQ','IxBgn','aUmLr','overrideLoadTesting','browserstackAutomation','exports','JonKZ','getLTSSessionId','4926150oKqtXG','eKpnI','iByUk','toLowerCase','cOJSh','cHsWP','jallj','1SYGMTf','272LOtFet','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','env','pXcGB','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','setLTSSessionId\x20error:\x20','BROWSERSTACK_LTS_SESSION_ID\x20cleared','7999103bLMWIQ','93320WGyRQT','LoadTestModule','isLTSSession','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','zwUbu','LTS','9401496caoFBD','false','setLTSSessionId','688hSuLhG','nZjjk','184014UuoGzf','error','../../../helpers/classLogger.js','BROWSERSTACK_LTS_SESSION_ID','XHpDD','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','debug','vAaYY','KrUJD'];a82_0x1095=function(){return _0x13cdde;};return a82_0x1095();}
1
+ const a82_0x239f29=a82_0x2ce9;(function(_0x1a990d,_0xe637e3){const _0x112dfc=a82_0x2ce9,_0x54d8b9=_0x1a990d();while(!![]){try{const _0x15c063=parseInt(_0x112dfc(0x137))/0x1+parseInt(_0x112dfc(0x116))/0x2*(-parseInt(_0x112dfc(0x12a))/0x3)+-parseInt(_0x112dfc(0x130))/0x4*(-parseInt(_0x112dfc(0x11e))/0x5)+-parseInt(_0x112dfc(0x135))/0x6+-parseInt(_0x112dfc(0x131))/0x7+-parseInt(_0x112dfc(0x13a))/0x8+parseInt(_0x112dfc(0x12d))/0x9;if(_0x15c063===_0xe637e3)break;else _0x54d8b9['push'](_0x54d8b9['shift']());}catch(_0x3626f1){_0x54d8b9['push'](_0x54d8b9['shift']());}}}(a82_0x2fa0,0x44ea6));const {createClassLogger}=require(a82_0x239f29(0x115)),logger=createClassLogger('LoadTestModule'),{sendSdkEvents}=require('../../../helpers/helper.js'),isLTSSession=(_0x130b04=null)=>{const _0x15164f=a82_0x239f29,_0x5bcdfe={};_0x5bcdfe[_0x15164f(0x12e)]=function(_0xba9f58,_0x46f8f3){return _0xba9f58!==_0x46f8f3;},_0x5bcdfe['ZoVOR']=_0x15164f(0x118),_0x5bcdfe['jRdmO']=function(_0x3f8ab6,_0x373d92){return _0x3f8ab6===_0x373d92;},_0x5bcdfe['mSlWh']=_0x15164f(0x128),_0x5bcdfe[_0x15164f(0x134)]=function(_0x32fc1b,_0x111fe8){return _0x32fc1b===_0x111fe8;},_0x5bcdfe[_0x15164f(0x10f)]=_0x15164f(0x125),_0x5bcdfe[_0x15164f(0x11a)]=function(_0x434ded,_0x1e0f82){return _0x434ded===_0x1e0f82;},_0x5bcdfe[_0x15164f(0x129)]=_0x15164f(0x138);const _0x1b4e3e=_0x5bcdfe;try{if(_0x1b4e3e[_0x15164f(0x12e)](typeof process[_0x15164f(0x112)]['overrideLoadTesting'],_0x1b4e3e['ZoVOR'])){const _0xbe09e8=process[_0x15164f(0x112)][_0x15164f(0x11b)];return _0x1b4e3e[_0x15164f(0x124)](typeof _0xbe09e8,_0x1b4e3e[_0x15164f(0x120)])?_0x1b4e3e[_0x15164f(0x134)](_0xbe09e8[_0x15164f(0x126)](),_0x1b4e3e[_0x15164f(0x10f)]):!!_0xbe09e8;}const _0x5a9229=_0x130b04&&_0x130b04[_0x15164f(0x11b)],_0x53018d=!!(_0x130b04&&(_0x1b4e3e[_0x15164f(0x11a)](_0x130b04[_0x15164f(0x119)],!![])||_0x1b4e3e[_0x15164f(0x11a)](_0x130b04[_0x15164f(0x119)],_0x1b4e3e[_0x15164f(0x10f)]))),_0x4c2c0e=!!(_0x5a9229&&_0x1b4e3e[_0x15164f(0x124)](_0x5a9229[_0x15164f(0x139)]()['toLowerCase'](),_0x1b4e3e[_0x15164f(0x10f)])&&!_0x53018d);return process[_0x15164f(0x112)][_0x15164f(0x11b)]=_0x4c2c0e?_0x1b4e3e[_0x15164f(0x10f)]:_0x1b4e3e[_0x15164f(0x129)],_0x4c2c0e;}catch(_0xb3233a){return process[_0x15164f(0x112)][_0x15164f(0x11b)]=_0x1b4e3e[_0x15164f(0x129)],![];}},getLTSSessionId=()=>{const _0x5518cd=a82_0x239f29,_0x20d296={'ImYmT':function(_0x1badb2){return _0x1badb2();},'pmwmp':'LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','lyLIb':_0x5518cd(0x132)};try{if(_0x20d296[_0x5518cd(0x114)](isLTSSession))return logger['debug'](_0x20d296['pmwmp']),process[_0x5518cd(0x112)][_0x5518cd(0x133)]||'';}catch(_0x2f83f3){logger[_0x5518cd(0x123)](_0x5518cd(0x12c)+(_0x2f83f3&&_0x2f83f3[_0x5518cd(0x11d)]));}return logger[_0x5518cd(0x11c)](_0x20d296[_0x5518cd(0x13b)]),'';},setLTSSessionId=async(_0x36162f={})=>{const _0x48f5fc=a82_0x239f29,_0x486ae1={'dXWco':function(_0x4251e4){return _0x4251e4();},'frjSM':'BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','UgDZp':_0x48f5fc(0x136),'SvcvE':'LTS','smGtc':function(_0x1eefbc,_0x150c83){return _0x1eefbc(_0x150c83);},'wxKTE':function(_0x59d8b5,_0x5b2635,_0xe5f1d1){return _0x59d8b5(_0x5b2635,_0xe5f1d1);},'NnXGl':function(_0x287a94,_0x79e78f){return _0x287a94||_0x79e78f;}};try{const _0x2aea47=_0x486ae1[_0x48f5fc(0x127)](getLTSSessionId);_0x2aea47?(process[_0x48f5fc(0x112)][_0x48f5fc(0x133)]=_0x2aea47,logger[_0x48f5fc(0x11c)](_0x486ae1[_0x48f5fc(0x122)])):(delete process[_0x48f5fc(0x112)]['BROWSERSTACK_LTS_SESSION_ID'],logger[_0x48f5fc(0x11c)](_0x486ae1['UgDZp']));try{const _0x45ba55={'feature':_0x486ae1[_0x48f5fc(0x11f)],'ltsEnabled':_0x486ae1[_0x48f5fc(0x121)](isLTSSession,_0x36162f),'ltsSessionIdPresent':!!_0x2aea47};await _0x486ae1[_0x48f5fc(0x12f)](sendSdkEvents,_0x45ba55,_0x36162f);}catch(_0x45bc84){logger[_0x48f5fc(0x11c)](_0x48f5fc(0x113)+(_0x45bc84&&_0x45bc84[_0x48f5fc(0x11d)]));}return _0x486ae1[_0x48f5fc(0x117)](_0x2aea47,'');}catch(_0x471eda){return logger['debug'](_0x48f5fc(0x110)+(_0x471eda&&_0x471eda[_0x48f5fc(0x11d)])),'';}},a82_0x206474={};a82_0x206474['isLTSSession']=isLTSSession,a82_0x206474[a82_0x239f29(0x12b)]=getLTSSessionId,a82_0x206474[a82_0x239f29(0x111)]=setLTSSessionId,module[a82_0x239f29(0x13c)]=a82_0x206474;function a82_0x2ce9(_0x45d7f7,_0x23524e){const _0x2fa0c1=a82_0x2fa0();return a82_0x2ce9=function(_0x2ce936,_0x4a4ea4){_0x2ce936=_0x2ce936-0x10f;let _0x1c8afb=_0x2fa0c1[_0x2ce936];return _0x1c8afb;},a82_0x2ce9(_0x45d7f7,_0x23524e);}function a82_0x2fa0(){const _0x2d964b=['setLTSSessionId','env','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','ImYmT','../../../helpers/classLogger.js','606526KNJTdX','NnXGl','undefined','browserstackAutomation','CLDuN','overrideLoadTesting','debug','message','5210cfQaSO','SvcvE','mSlWh','smGtc','frjSM','error','jRdmO','true','toLowerCase','dXWco','string','cZouO','3ZGnglO','getLTSSessionId','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','3980412gBhzyn','BZXrz','wxKTE','1056kHHoly','95466WpquGj','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','BROWSERSTACK_LTS_SESSION_ID','RVlCN','2747706ngORXp','BROWSERSTACK_LTS_SESSION_ID\x20cleared','470193yPOtib','false','toString','1043352uRZzOT','lyLIb','exports','zaCQd','setLTSSessionId\x20error:\x20'];a82_0x2fa0=function(){return _0x2d964b;};return a82_0x2fa0();}
@@ -1 +1 @@
1
- function a83_0xdc7c(){const _0x706452=['6305892vtenab','618348XqimBd','5598OqzrWw','exports','onBeforeTest:\x20','start','observabilityConfig','../../../helpers/performance/constants.js','end','page','getModuleName','WaJyx','name','9948WjZWFK','4041450GCtPXe','CREATE','debug','5558399ecfeZC','./baseModule','687skUTjC','5043140DDkfmW','3195wCojTz','../framework/automationFramework.js','2enXhHm','info','\x20sync\x20done','../../../helpers/classLogger.js','MODULE_NAME','TEST_REPORTING_ANALYTICS','8dCbbFM','onBeforeTest','EEOJA','ObservabilityModule','../../../helpers/performance/performance-tester.js','POST','logger','../../utils/constants.js','33EVMfiX','ObservabilitySync:','qPMeY','SYNC'];a83_0xdc7c=function(){return _0x706452;};return a83_0xdc7c();}const a83_0x1be44a=a83_0xc0ae;(function(_0x343857,_0x4c1769){const _0xd64b65=a83_0xc0ae,_0x371f12=_0x343857();while(!![]){try{const _0x15be34=parseInt(_0xd64b65(0x1df))/0x1*(parseInt(_0xd64b65(0x1c9))/0x2)+-parseInt(_0xd64b65(0x1db))/0x3*(-parseInt(_0xd64b65(0x1d5))/0x4)+-parseInt(_0xd64b65(0x1dd))/0x5*(parseInt(_0xd64b65(0x1ca))/0x6)+-parseInt(_0xd64b65(0x1d9))/0x7*(-parseInt(_0xd64b65(0x1e5))/0x8)+parseInt(_0xd64b65(0x1d6))/0x9+parseInt(_0xd64b65(0x1dc))/0xa+-parseInt(_0xd64b65(0x1ed))/0xb*(parseInt(_0xd64b65(0x1f1))/0xc);if(_0x15be34===_0x4c1769)break;else _0x371f12['push'](_0x371f12['shift']());}catch(_0x126f0a){_0x371f12['push'](_0x371f12['shift']());}}}(a83_0xdc7c,0xba308));const BaseModule=require(a83_0x1be44a(0x1da)),{createClassLogger}=require(a83_0x1be44a(0x1e2)),AutomationFramework=require(a83_0x1be44a(0x1de)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require(a83_0x1be44a(0x1e9)),{O11y_EVENTS}=require(a83_0x1be44a(0x1cf)),constants=require(a83_0x1be44a(0x1ec));function a83_0xc0ae(_0x1456ca,_0x26b79a){const _0xdc7c54=a83_0xdc7c();return a83_0xc0ae=function(_0xc0ae52,_0x58128d){_0xc0ae52=_0xc0ae52-0x1c9;let _0x108f29=_0xdc7c54[_0xc0ae52];return _0x108f29;},a83_0xc0ae(_0x1456ca,_0x26b79a);}class ObservabilityModule extends BaseModule{['logger']=createClassLogger(a83_0x1be44a(0x1e8));constructor(_0x215075){const _0x5792ea=a83_0x1be44a,_0x3f1fc5={};_0x3f1fc5[_0x5792ea(0x1ef)]=_0x5792ea(0x1e8);const _0x2b905f=_0x3f1fc5;super(),this[_0x5792ea(0x1d4)]=_0x2b905f[_0x5792ea(0x1ef)],this[_0x5792ea(0x1ce)]=_0x215075,AutomationFramework['registerObserver'](AutomationFrameworkState[_0x5792ea(0x1d7)],HookState[_0x5792ea(0x1ea)],this[_0x5792ea(0x1e6)]['bind'](this));}[a83_0x1be44a(0x1d2)](){const _0x4fcfb8=a83_0x1be44a;return ObservabilityModule[_0x4fcfb8(0x1e3)];}async[a83_0x1be44a(0x1e6)](_0x13cc99){const _0x43427f=a83_0x1be44a,_0x4cf059={'CLpTY':function(_0x1727df,_0x1b1163){return _0x1727df+_0x1b1163;},'EEOJA':_0x43427f(0x1ee),'HDtRU':function(_0xabd7ba,_0x429ec8,_0x4d534b,_0x5e1dfb){return _0xabd7ba(_0x429ec8,_0x4d534b,_0x5e1dfb);},'vCYKn':_0x43427f(0x1d8),'WaJyx':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x13cc99[_0x43427f(0x1d1)]){const _0x1eefcc=_0x13cc99[_0x43427f(0x1d1)],_0x46e833=Date['now'](),_0x8bf50e=_0x4cf059['CLpTY'](_0x4cf059[_0x43427f(0x1e7)],_0x46e833);PerformanceTester[_0x43427f(0x1cd)](O11y_EVENTS[_0x43427f(0x1f0)]),await _0x4cf059['HDtRU'](playwrightAnnotate,_0x1eefcc,_0x8bf50e,_0x4cf059['vCYKn']),PerformanceTester[_0x43427f(0x1d0)](O11y_EVENTS[_0x43427f(0x1f0)]),this[_0x43427f(0x1eb)][_0x43427f(0x1e0)](_0x43427f(0x1cc)+constants[_0x43427f(0x1e4)]+_0x43427f(0x1e1));}else this[_0x43427f(0x1eb)]['debug'](_0x4cf059[_0x43427f(0x1d3)]);}}ObservabilityModule[a83_0x1be44a(0x1e3)]=a83_0x1be44a(0x1e8),module[a83_0x1be44a(0x1cb)]=ObservabilityModule;
1
+ const a83_0xb24315=a83_0x2734;(function(_0x280103,_0x5e34e7){const _0x3f90fd=a83_0x2734,_0x2971e9=_0x280103();while(!![]){try{const _0x4bfbe7=-parseInt(_0x3f90fd(0x1e5))/0x1*(parseInt(_0x3f90fd(0x1ec))/0x2)+parseInt(_0x3f90fd(0x1ed))/0x3*(-parseInt(_0x3f90fd(0x1f1))/0x4)+parseInt(_0x3f90fd(0x1fc))/0x5*(-parseInt(_0x3f90fd(0x1e1))/0x6)+-parseInt(_0x3f90fd(0x201))/0x7*(-parseInt(_0x3f90fd(0x1f6))/0x8)+-parseInt(_0x3f90fd(0x200))/0x9*(-parseInt(_0x3f90fd(0x1e2))/0xa)+-parseInt(_0x3f90fd(0x1f4))/0xb*(parseInt(_0x3f90fd(0x1dc))/0xc)+-parseInt(_0x3f90fd(0x1ef))/0xd*(-parseInt(_0x3f90fd(0x203))/0xe);if(_0x4bfbe7===_0x5e34e7)break;else _0x2971e9['push'](_0x2971e9['shift']());}catch(_0x285551){_0x2971e9['push'](_0x2971e9['shift']());}}}(a83_0x1505,0x92e11));function a83_0x1505(){const _0x1fbea6=['48kyqJiB','MODULE_NAME','onBeforeTest:\x20','Lirvy','POST','2502RZYBmE','6420jsojjv','logger','debug','2MfaquN','info','now','\x20sync\x20done','QgpGw','end','ZhGNN','504870LQtQld','1276587fDMilB','exports','13Jlmqtf','ObservabilityModule','4UHtTos','../state/automationFrameworkState.js','observabilityConfig','1224674ldSCGI','onBeforeTest:\x20page\x20is\x20not\x20defined','91360zugucI','../../../helpers/performance/performance-tester.js','../../../helpers/helper.js','onBeforeTest','getModuleName','../framework/automationFramework.js','2055ETFUXs','ObservabilitySync:','registerObserver','name','11241jUTqjg','357EMpkXl','WkDqH','10702454JcxSeW','bind','McDVZ','page','CREATE','TEST_REPORTING_ANALYTICS','start'];a83_0x1505=function(){return _0x1fbea6;};return a83_0x1505();}const BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require(a83_0xb24315(0x1fb)),AutomationFrameworkState=require(a83_0xb24315(0x1f2)),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require(a83_0xb24315(0x1f8)),PerformanceTester=require(a83_0xb24315(0x1f7)),{O11y_EVENTS}=require('../../../helpers/performance/constants.js'),constants=require('../../utils/constants.js');function a83_0x2734(_0x3946ca,_0x4bb1ad){const _0x15053f=a83_0x1505();return a83_0x2734=function(_0x27340e,_0x3d5a34){_0x27340e=_0x27340e-0x1db;let _0xd8a69b=_0x15053f[_0x27340e];return _0xd8a69b;},a83_0x2734(_0x3946ca,_0x4bb1ad);}class ObservabilityModule extends BaseModule{[a83_0xb24315(0x1e3)]=createClassLogger(a83_0xb24315(0x1f0));constructor(_0x26546b){const _0x29d51e=a83_0xb24315,_0x523538={};_0x523538[_0x29d51e(0x1eb)]='ObservabilityModule';const _0x275fac=_0x523538;super(),this[_0x29d51e(0x1ff)]=_0x275fac[_0x29d51e(0x1eb)],this[_0x29d51e(0x1f3)]=_0x26546b,AutomationFramework[_0x29d51e(0x1fe)](AutomationFrameworkState[_0x29d51e(0x207)],HookState[_0x29d51e(0x1e0)],this[_0x29d51e(0x1f9)][_0x29d51e(0x204)](this));}[a83_0xb24315(0x1fa)](){return ObservabilityModule['MODULE_NAME'];}async['onBeforeTest'](_0x56a9c8){const _0x487eac=a83_0xb24315,_0x13bbbb={'WkDqH':function(_0x9d4f03,_0x5bf503){return _0x9d4f03+_0x5bf503;},'mClIn':_0x487eac(0x1fd),'McDVZ':function(_0x47f9d4,_0x9828ba,_0x4b3d12,_0x1c9133){return _0x47f9d4(_0x9828ba,_0x4b3d12,_0x1c9133);},'QgpGw':_0x487eac(0x1e4),'Lirvy':_0x487eac(0x1f5)};if(_0x56a9c8[_0x487eac(0x206)]){const _0x2db400=_0x56a9c8[_0x487eac(0x206)],_0x40ad69=Date[_0x487eac(0x1e7)](),_0x380736=_0x13bbbb[_0x487eac(0x202)](_0x13bbbb['mClIn'],_0x40ad69);PerformanceTester[_0x487eac(0x1db)](O11y_EVENTS['SYNC']),await _0x13bbbb[_0x487eac(0x205)](playwrightAnnotate,_0x2db400,_0x380736,_0x13bbbb[_0x487eac(0x1e9)]),PerformanceTester[_0x487eac(0x1ea)](O11y_EVENTS['SYNC']),this['logger'][_0x487eac(0x1e6)](_0x487eac(0x1de)+constants[_0x487eac(0x208)]+_0x487eac(0x1e8));}else this[_0x487eac(0x1e3)][_0x487eac(0x1e4)](_0x13bbbb[_0x487eac(0x1df)]);}}ObservabilityModule[a83_0xb24315(0x1dd)]=a83_0xb24315(0x1f0),module[a83_0xb24315(0x1ee)]=ObservabilityModule;
@@ -1 +1 @@
1
- const a84_0x179989=a84_0x4850;function a84_0x13b2(){const _0x3bb112=['setState','PlaywrightDriverModule','arguments','recreateIdentifierFromTestInfo','shouldSkipSessionStatus','Lsqyy','VczdF','TRAWU','page','2572esvQid','PLAYWRIGHT_DISPATCH','CREATE','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','test_identifier','hubUrl','KEY_BROWSER_OBJECT','instance','workerInfo','onAfterTest\x20CBTSession\x20payload:\x20','markSessionStatus','base64','MODULE_NAME','../../../helpers/classLogger.js','getRef','exports','isPlaywright','format','testUuid','1682986Jetrmn','../state/hookState.js','SESSION_NAME','CahoO','keys','setSessionName','end','../../../helpers/test-observability/utils','browserName','launchcaps','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','debug','fGGWq','message','testFrameworkData','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','getProcessId','getId','pRKmc','bsParams','with\x20','onAfterDriverCreate','KEY_PAGE_OBJECT','reason','registerObserver','Iosrs','QmWMS','CxYqx','onDispatchExecute:\x20Playwright\x20sessionId:\x20','getCapabilities','length','wiAFm','../framework/automationFramework.js','ZNDWJ','../framework/constants/testFrameworkConstants.js','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','LIbvg','testInfo','getState','jestUtils','info','error','browser','ZfXiz','OApOU','retry','getInstance','start','errors','Automation\x20onAfterTest:\x20Test\x20completed','bStackParams','Ikkmj','shvQk','\x20failure\x20reason:\x20','getConfig','../grpcClient.js','../utils/jest-utils.js','JKfxt','nxTsZ','PLAYWRIGHT','isLTSSession','QWkSV','shouldSkipSessionName','SESSION_STATUS','../state/automationFrameworkState.js','util','version','2877060oYNEfl','kqeBv','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','1839174lGnXCI','onAfterTest','testRunId','wmcYX','isBrowserstackInfra','Qgpjd','playwrightVersion','markSessionName:\x20Skipping\x20session\x20name\x20marking','917586QZMGgN','platforms','NHRdY','Error\x20in\x20markSessionName:\x20','getTestDetails','Error\x20in\x20onDispatchExecute:\x20','split','params','HDaXt','getLTSSessionId','pVzOq','DUtge','toString','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','sessionId','contextObject','FARNj','getTestUUID','Automation\x20onAfterTest:\x20Test\x20status:\x20','AUTOMATE_EVENTS','KEY_PLATFORM_DETAILS','../cliUtils.js','tDvYJ','SUJZv','../TestInfo.js','WpNxL','bind','action','anMkq','name','driverInit','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_VERSION','MMfeE','\x20||\x20','LeMdw','KEY_TEST_ID','passed','yFzNi','../state/testFrameworkState','__workerDetails','TEST','stringify','testId:\x20','status','SfWvM','markSessionStatus:\x20Marking\x20session\x20status','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','uynHJ','KEY_HUB_URL','jdWyw','KEY_CAPABILITIES','inspect','../../../helpers/helper.js','CUCUMBER','setSessionStatus','16gAfaCF','KEY_TEST_FRAMEWORK_NAME','RDXvC','PRE','KEY_SESSION_ID','../../utils/constants','onPlaywrightDispatch','EXECUTE','markSessionName','getTrackedInstance','POST','getTestId','isFalse','pickle','parallelIndex','Playwright','KEY_PLATFORM_INDEX','capabilities','1947LlLKHr','1.51.0','from','logger','platformIndex','WVPAH','platformDetails','./loadTestModule.js','onBeforeDriverCreate','wijkC','getContext','../../../helpers/performance/constants.js','KEY_CONTEXT_OBJECT','1630174dRhkuy','13590981xnsdyu','SqNqA'];a84_0x13b2=function(){return _0x3bb112;};return a84_0x13b2();}(function(_0xbddbf4,_0x2e2cd2){const _0x471d01=a84_0x4850,_0x4c5f53=_0xbddbf4();while(!![]){try{const _0x286e89=-parseInt(_0x471d01(0x199))/0x1+-parseInt(_0x471d01(0x210))/0x2+parseInt(_0x471d01(0x1e3))/0x3*(parseInt(_0x471d01(0x1fc))/0x4)+-parseInt(_0x471d01(0x18e))/0x5+-parseInt(_0x471d01(0x191))/0x6+-parseInt(_0x471d01(0x1f0))/0x7+-parseInt(_0x471d01(0x1d1))/0x8*(-parseInt(_0x471d01(0x1f1))/0x9);if(_0x286e89===_0x2e2cd2)break;else _0x4c5f53['push'](_0x4c5f53['shift']());}catch(_0x106fad){_0x4c5f53['push'](_0x4c5f53['shift']());}}}(a84_0x13b2,0x899a7));const util=require(a84_0x179989(0x251)),BaseModule=require('./baseModule'),{createClassLogger}=require(a84_0x179989(0x20a)),{getFrameworkVersion}=require(a84_0x179989(0x217)),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require(a84_0x179989(0x1d6)),AutomationFramework=require(a84_0x179989(0x230)),AutomationFrameworkState=require(a84_0x179989(0x250)),HookState=require(a84_0x179989(0x211)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x179989(0x1ce)),CLIUtils=require(a84_0x179989(0x1ae)),BrowserstackCLI=require('../browserstackCLI.js'),GrpcClient=require(a84_0x179989(0x247)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),PerformanceEvents=require(a84_0x179989(0x1ee))[a84_0x179989(0x1ac)],TestInfo=require(a84_0x179989(0x1b1)),{getPlaywrightProvider}=require(a84_0x179989(0x1ce)),LoadTestModule=require(a84_0x179989(0x1ea)),TestFrameworkConstants=require(a84_0x179989(0x232)),TestFrameworkState=require(a84_0x179989(0x1c0)),JestUtils=require(a84_0x179989(0x248));class PlaywrightDriverModule extends BaseModule{static [a84_0x179989(0x203)]='browserObject';static [a84_0x179989(0x1ef)]=a84_0x179989(0x1a8);static [a84_0x179989(0x226)]='pageObject';static ['KEY_SESSION_ID']='sessionId';static [a84_0x179989(0x1e1)]=a84_0x179989(0x1e7);static [a84_0x179989(0x1cc)]=a84_0x179989(0x1e2);static [a84_0x179989(0x1ca)]=a84_0x179989(0x202);static [a84_0x179989(0x1ad)]=a84_0x179989(0x1e9);static ['KEY_TEST_ID']='testId';[a84_0x179989(0x1e6)]=createClassLogger(a84_0x179989(0x1f4));constructor(_0x3c2593=null){const _0x33b5d3=a84_0x179989,_0x238ef4={};_0x238ef4[_0x33b5d3(0x21c)]='8|2|4|6|9|1|3|7|11|10|5|0',_0x238ef4[_0x33b5d3(0x1e8)]=_0x33b5d3(0x1f4);const _0x1d093a=_0x238ef4,_0x1c9ea6=_0x1d093a[_0x33b5d3(0x21c)][_0x33b5d3(0x19f)]('|');let _0x1bc785=0x0;while(!![]){switch(_0x1c9ea6[_0x1bc785++]){case'0':AutomationFramework[_0x33b5d3(0x228)](AutomationFrameworkState[_0x33b5d3(0x1d8)],HookState[_0x33b5d3(0x1db)],this['onAfterTest'][_0x33b5d3(0x1b3)](this));continue;case'1':this[_0x33b5d3(0x19a)]=[];continue;case'2':this['name']=_0x1d093a[_0x33b5d3(0x1e8)];continue;case'3':this[_0x33b5d3(0x193)]=null;continue;case'4':this[_0x33b5d3(0x197)]=null;continue;case'5':AutomationFramework[_0x33b5d3(0x228)](AutomationFrameworkState[_0x33b5d3(0x1fd)],HookState['POST'],this[_0x33b5d3(0x1d7)][_0x33b5d3(0x1b3)](this));continue;case'6':this[_0x33b5d3(0x218)]=null;continue;case'7':this['jestUtils']=new JestUtils();continue;case'8':super(_0x3c2593);continue;case'9':this['browserVersion']=null;continue;case'10':AutomationFramework[_0x33b5d3(0x228)](AutomationFrameworkState[_0x33b5d3(0x1fe)],HookState[_0x33b5d3(0x1db)],this[_0x33b5d3(0x225)][_0x33b5d3(0x1b3)](this));continue;case'11':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x33b5d3(0x1fe)],HookState[_0x33b5d3(0x1d4)],this[_0x33b5d3(0x1eb)][_0x33b5d3(0x1b3)](this));continue;}break;}}['getModuleName'](){const _0x31f502=a84_0x179989;return PlaywrightDriverModule[_0x31f502(0x209)];}async['onBeforeDriverCreate'](_0x10077a){const _0x1b565f=a84_0x179989,_0x3e9329={};_0x3e9329[_0x1b565f(0x196)]=_0x1b565f(0x190);const _0x3e6a5f=_0x3e9329;try{this[_0x1b565f(0x1e6)][_0x1b565f(0x21b)](_0x3e6a5f[_0x1b565f(0x196)]);const _0x30b2c3=_0x10077a[_0x1b565f(0x219)],_0x21a3d4=_0x10077a['hubUrl'];AutomationFramework['setState'](_0x10077a[_0x1b565f(0x204)],PlaywrightDriverModule[_0x1b565f(0x1cc)],_0x30b2c3),AutomationFramework[_0x1b565f(0x1f3)](_0x10077a[_0x1b565f(0x204)],PlaywrightDriverModule['KEY_HUB_URL'],_0x21a3d4);}catch(_0x27456a){this[_0x1b565f(0x1e6)][_0x1b565f(0x239)]('Error\x20in\x20onBeforeDriverCreate:\x20'+util['format'](_0x27456a));}}async['onPlaywrightDispatch'](_0xb0d8ab){const _0x15645c=a84_0x179989,_0x11be76={};_0x11be76[_0x15645c(0x1c6)]=function(_0x10ba4f,_0x1e455e){return _0x10ba4f||_0x1e455e;};const _0x4f707d=_0x11be76;try{const _0xea750c=_0xb0d8ab?.['message']&&_0xb0d8ab?.['message']?.[_0x15645c(0x1a0)]&&_0xb0d8ab?.[_0x15645c(0x21d)]?.['params']?.[_0x15645c(0x223)],_0x12da5f=_0xb0d8ab?.[_0x15645c(0x21d)]&&_0xb0d8ab?.[_0x15645c(0x21d)]?.[_0x15645c(0x242)];if(_0x4f707d[_0x15645c(0x1c6)](_0xea750c,_0x12da5f)){this[_0x15645c(0x1e6)][_0x15645c(0x21b)]('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util[_0x15645c(0x1cd)](_0xea750c)+_0x15645c(0x1bb)+util['inspect'](_0x12da5f));const _0x540bc6=_0xb0d8ab?.[_0x15645c(0x204)],_0x5af827=global?.[_0x15645c(0x1c1)]?.[_0x15645c(0x205)]?.[_0x15645c(0x1df)],_0xe76846=_0xea750c?.[_0x15645c(0x1a7)]||_0x12da5f?.[_0x15645c(0x1a7)],_0x54edd5=_0xea750c?.['platformDetails']||_0x12da5f?.['platformDetails'];_0xe76846&&(this[_0x15645c(0x1e6)][_0x15645c(0x21b)](_0x15645c(0x22c)+_0xe76846),AutomationFramework[_0x15645c(0x1f3)](_0x540bc6,PlaywrightDriverModule['KEY_SESSION_ID'],_0xe76846)),_0x5af827&&(this['logger'][_0x15645c(0x21b)]('onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20'+util[_0x15645c(0x1cd)](_0x5af827)),AutomationFramework[_0x15645c(0x1f3)](_0x540bc6,PlaywrightDriverModule[_0x15645c(0x1e1)],_0x5af827));}}catch(_0x196fa6){this[_0x15645c(0x1e6)][_0x15645c(0x239)](_0x15645c(0x19e)+util['format'](_0x196fa6));}}async['onAfterDriverCreate'](_0x3b3aff){const _0x5ecf0e=a84_0x179989,_0x8bba96={'pRKmc':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','Lsqyy':function(_0x518efe,_0x1596f8){return _0x518efe(_0x1596f8);},'JKfxt':'onAfterDriverCreate:\x20Setting\x20page\x20object','WpNxL':_0x5ecf0e(0x21a),'kqeBv':'onAfterDriverCreate:\x20Setting\x20context\x20object','xJnPR':'onAfterDriverCreate:\x20Setting\x20browser\x20object','ZNDWJ':_0x5ecf0e(0x208)};try{this[_0x5ecf0e(0x1e6)][_0x5ecf0e(0x21b)](_0x8bba96[_0x5ecf0e(0x222)]);const _0x5c9754=_0x3b3aff[_0x5ecf0e(0x204)];this[_0x5ecf0e(0x197)]=_0x8bba96[_0x5ecf0e(0x1f8)](getFrameworkVersion,FRAMEWORKS[_0x5ecf0e(0x24b)]);if(_0x3b3aff[_0x5ecf0e(0x1fb)]){this['logger'][_0x5ecf0e(0x21b)](_0x8bba96[_0x5ecf0e(0x249)]),AutomationFramework['setState'](_0x5c9754,PlaywrightDriverModule[_0x5ecf0e(0x226)],_0x3b3aff[_0x5ecf0e(0x1fb)]);if(_0x3b3aff[_0x5ecf0e(0x235)]){this[_0x5ecf0e(0x1e6)]['debug'](_0x8bba96[_0x5ecf0e(0x1b2)]);const _0x506574=this[_0x5ecf0e(0x1dc)](_0x3b3aff);AutomationFramework['setState'](_0x5c9754,PlaywrightDriverModule[_0x5ecf0e(0x1bd)],_0x506574),await this[_0x5ecf0e(0x1d9)](_0x3b3aff[_0x5ecf0e(0x235)]);}}_0x3b3aff['context']&&(this['logger'][_0x5ecf0e(0x21b)](_0x8bba96[_0x5ecf0e(0x18f)]),AutomationFramework[_0x5ecf0e(0x1f3)](_0x5c9754,PlaywrightDriverModule[_0x5ecf0e(0x1ef)],_0x3b3aff['context']));if(_0x3b3aff[_0x5ecf0e(0x23a)]){this[_0x5ecf0e(0x1e6)][_0x5ecf0e(0x21b)](_0x8bba96['xJnPR']);const _0x1cd0c8=global?.[_0x5ecf0e(0x1c1)]?.[_0x5ecf0e(0x205)]?.[_0x5ecf0e(0x1df)];AutomationFramework[_0x5ecf0e(0x1f3)](_0x5c9754,PlaywrightDriverModule[_0x5ecf0e(0x203)],_0x3b3aff[_0x5ecf0e(0x23a)]),AutomationFramework[_0x5ecf0e(0x1f3)](_0x5c9754,PlaywrightDriverModule[_0x5ecf0e(0x1e1)],_0x1cd0c8);const _0x533177={};_0x533177[_0x5ecf0e(0x20d)]=!![];const _0x2f7cc7=Buffer['from'](JSON['stringify'](_0x533177)[_0x5ecf0e(0x1a5)](_0x8bba96[_0x5ecf0e(0x231)])),_0x5ae2b=await GrpcClient[_0x5ecf0e(0x23e)]()[_0x5ecf0e(0x1b7)]({'platformIndex':_0x1cd0c8,'ref':_0x5c9754['getRef'](),'userInputParams':_0x2f7cc7});helper[_0x5ecf0e(0x1dd)](helper[_0x5ecf0e(0x195)]())&&AutomationFramework[_0x5ecf0e(0x1f3)](_0x5c9754,PlaywrightDriverModule[_0x5ecf0e(0x1cc)],JSON['parse'](Buffer[_0x5ecf0e(0x1e5)](_0x5ae2b[_0x5ecf0e(0x22d)](),_0x8bba96[_0x5ecf0e(0x231)])[_0x5ecf0e(0x1a5)]()));}}catch(_0x3c7fa8){this[_0x5ecf0e(0x1e6)][_0x5ecf0e(0x239)]('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x5ecf0e(0x20e)](_0x3c7fa8));}}async[a84_0x179989(0x192)](_0x1f5c43){const _0x482f15=a84_0x179989,_0x359536={'FARNj':_0x482f15(0x241),'MMfeE':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','LeMdw':function(_0x2616f3,_0x4c2f5b){return _0x2616f3(_0x4c2f5b);},'QmWMS':function(_0x2a5b33,_0x3325ea,_0x3d584e){return _0x2a5b33(_0x3325ea,_0x3d584e);},'YHTIP':'result','yFzNi':_0x482f15(0x21d),'nxTsZ':function(_0x9b8270,_0xe2ac82){return _0x9b8270(_0xe2ac82);},'wLQjL':_0x482f15(0x239),'wmcYX':_0x482f15(0x240),'uynHJ':function(_0x4688c0,_0x415033){return _0x4688c0>_0x415033;},'wijkC':function(_0x2bfe51,_0x7dbde0){return _0x2bfe51||_0x7dbde0;},'shvQk':function(_0x526b02,_0x8d5210){return _0x526b02||_0x8d5210;},'jdWyw':function(_0x36e7db,_0x180637){return _0x36e7db===_0x180637;},'TRAWU':function(_0x5b4b69,_0x422096){return _0x5b4b69===_0x422096;},'RJQpz':function(_0x236b1a,_0x428638){return _0x236b1a+_0x428638;},'ErwnU':_0x482f15(0x1c4),'OApOU':function(_0xf12a4f,_0x4e08b3){return _0xf12a4f+_0x4e08b3;},'MOvsA':'testData\x20from\x20onAfterTest:\x20','CxYqx':_0x482f15(0x1e0),'RDXvC':_0x482f15(0x1e4),'pVzOq':function(_0x424c94,_0xe3363d){return _0x424c94>_0xe3363d;},'LIbvg':_0x482f15(0x208),'MppPS':_0x482f15(0x233)};this[_0x482f15(0x1e6)][_0x482f15(0x21b)](_0x359536[_0x482f15(0x1a9)]);const _0x4786c0=_0x1f5c43[_0x482f15(0x204)];if(!_0x4786c0){this[_0x482f15(0x1e6)][_0x482f15(0x21b)](_0x359536[_0x482f15(0x1ba)]);return;}const _0x5dfb10=_0x1f5c43[_0x482f15(0x235)],_0x364b51=this[_0x482f15(0x1dc)](_0x1f5c43),_0x5669c7=_0x5dfb10['status'];let _0x2ea149;const _0x137e4f=_0x359536[_0x482f15(0x1bc)](getPlaywrightStatus,_0x5669c7);let _0x20af26,_0x26b896=null;if(_0x5dfb10[_0x482f15(0x1de)]||_0x5dfb10['gherkinDocument'])_0x20af26=_0x359536[_0x482f15(0x1bc)](getCucumberSessionName,_0x5dfb10),_0x2ea149=_0x359536[_0x482f15(0x22a)](nestedKeyValue,_0x5dfb10,[_0x359536['YHTIP'],_0x359536['yFzNi']]);else{_0x20af26=_0x359536[_0x482f15(0x24a)](getPlaywrightSessionName,_0x5dfb10),_0x2ea149=_0x359536[_0x482f15(0x22a)](nestedKeyValue,_0x5dfb10,[_0x359536['wLQjL'],_0x359536[_0x482f15(0x1bf)]]);const _0x318371=_0x359536['QmWMS'](nestedKeyValue,_0x5dfb10,[_0x359536[_0x482f15(0x194)]]);_0x318371&&_0x359536[_0x482f15(0x1c9)](_0x318371[_0x482f15(0x22e)],0x0)&&(_0x26b896=_0x318371[0x0][_0x482f15(0x21d)]),_0x2ea149=_0x359536[_0x482f15(0x1ec)](_0x2ea149,_0x26b896),this[_0x482f15(0x1e6)][_0x482f15(0x21b)](_0x482f15(0x1ab)+_0x137e4f+_0x482f15(0x245)+_0x2ea149);}const _0x94d8b4=_0x359536[_0x482f15(0x244)](_0x2ea149,_0x26b896);this['logger'][_0x482f15(0x21b)](_0x482f15(0x1ab)+_0x137e4f);let _0x118deb,_0x10ae83;if(this[_0x482f15(0x21e)]&&_0x359536['jdWyw'](this['testFrameworkData'][_0x482f15(0x1b6)],FRAMEWORKS[_0x482f15(0x1cf)]))_0x118deb=_0x364b51,_0x10ae83=TestInfo[_0x482f15(0x1aa)](_0x118deb);else this[_0x482f15(0x21e)]&&_0x359536[_0x482f15(0x1fa)](this[_0x482f15(0x21e)]['name'],FRAMEWORKS['JEST'])?(_0x118deb=this[_0x482f15(0x237)][_0x482f15(0x1f6)](_0x5dfb10),this['logger'][_0x482f15(0x21b)](_0x482f15(0x1ff)+_0x118deb)):(_0x118deb=TestInfo['getTestIdentifierFromTestInfo'](_0x5dfb10,_0x5dfb10[_0x482f15(0x23d)]),_0x10ae83=TestInfo[_0x482f15(0x1aa)](_0x118deb));const _0x1247a1=TestInfo[_0x482f15(0x19d)](_0x118deb);this[_0x482f15(0x1e6)][_0x482f15(0x238)](_0x359536['RJQpz'](_0x359536['ErwnU'],_0x364b51)),this['logger']['info'](_0x359536[_0x482f15(0x23c)](_0x359536['MOvsA'],util[_0x482f15(0x1cd)](_0x1247a1)));const _0x53d746=AutomationFramework[_0x482f15(0x236)](_0x4786c0,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x5357fe=_0x1247a1?.[TestFrameworkConstants[_0x482f15(0x1d2)]]||this[_0x482f15(0x21e)]&&this[_0x482f15(0x21e)][_0x482f15(0x1b6)],_0xd9d4f3=_0x1247a1?.[TestFrameworkConstants[_0x482f15(0x1b9)]]||this[_0x482f15(0x21e)]&&this[_0x482f15(0x21e)][_0x482f15(0x18d)],_0x514e43=TestFrameworkState[_0x482f15(0x1c2)][_0x482f15(0x1a5)]()[_0x482f15(0x19f)]('.')[0x1],_0x37ee93=HookState[_0x482f15(0x1db)][_0x482f15(0x1a5)]()[_0x482f15(0x19f)]('.')[0x1],_0x2af9b8=_0x4786c0[_0x482f15(0x1ed)](),_0x37ce10=AutomationFramework[_0x482f15(0x236)](_0x4786c0,PlaywrightDriverModule[_0x482f15(0x1ca)],''),_0x25f09b={'provider':_0x359536[_0x482f15(0x1bc)](getPlaywrightProvider,_0x37ce10),'frameworkName':_0x359536[_0x482f15(0x22b)],'frameworkVersion':_0x359536[_0x482f15(0x1d3)],'frameworkSessionId':LoadTestModule[_0x482f15(0x24c)]()?LoadTestModule[_0x482f15(0x1a2)]():AutomationFramework[_0x482f15(0x236)](_0x4786c0,PlaywrightDriverModule[_0x482f15(0x1d5)],''),'ref':_0x4786c0[_0x482f15(0x20b)](),'hubUrl':_0x37ce10};let _0x589230=AutomationFramework[_0x482f15(0x236)](_0x4786c0,PlaywrightDriverModule[_0x482f15(0x1cc)],{});_0x589230&&_0x359536[_0x482f15(0x1a3)](Object[_0x482f15(0x214)](_0x589230)['length'],0x0)?_0x589230=Buffer['from'](JSON[_0x482f15(0x1c3)](_0x589230))[_0x482f15(0x1a5)](_0x359536[_0x482f15(0x234)]):_0x589230=Buffer['from'](JSON[_0x482f15(0x1c3)]({}))[_0x482f15(0x1a5)](_0x359536['LIbvg']);const _0x231639={'hash':_0x2af9b8[_0x482f15(0x221)](),'threadId':_0x2af9b8['getThreadId']()[_0x482f15(0x1a5)](),'processId':_0x2af9b8[_0x482f15(0x220)]()[_0x482f15(0x1a5)]()},_0x946506={};_0x946506[_0x482f15(0x201)]=_0x118deb;const _0x38dbd5={};_0x38dbd5[_0x482f15(0x20f)]=_0x10ae83;const _0x11d70b={'platformIndex':_0x53d746,'testFrameworkName':_0x5357fe,'testFrameworkVersion':_0xd9d4f3,'testFrameworkState':_0x514e43,'testHookState':_0x37ee93,...this['testFrameworkData']&&_0x359536[_0x482f15(0x1fa)](this[_0x482f15(0x21e)][_0x482f15(0x1b6)],FRAMEWORKS['JEST'])?_0x946506:_0x38dbd5,'automationSession':_0x25f09b,'capabilities':_0x589230,'executionContext':_0x231639};this['logger'][_0x482f15(0x21b)](_0x482f15(0x206)+util[_0x482f15(0x20e)](_0x11d70b)),GrpcClient[_0x482f15(0x23e)]()['testSessionEvent'](_0x11d70b),this[_0x482f15(0x1e6)][_0x482f15(0x21b)]('onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x364b51+(this[_0x482f15(0x21e)]&&_0x359536[_0x482f15(0x1cb)](this['testFrameworkData']['name'],FRAMEWORKS['JEST'])?',\x20test_identifier:\x20'+_0x118deb:''));if(!_0x137e4f){this[_0x482f15(0x1e6)]['debug'](_0x359536['MppPS'],_0x5669c7[_0x482f15(0x1c5)]);return;}this[_0x482f15(0x1e6)]['debug'](_0x482f15(0x1b8)+_0x364b51),_0x5dfb10&&(this['logger']['debug'](_0x482f15(0x1a6)+_0x20af26),await this[_0x482f15(0x1d9)](_0x5dfb10)),await this[_0x482f15(0x207)](_0x4786c0,_0x20af26,_0x137e4f,_0x94d8b4);}async[a84_0x179989(0x207)](_0x5e2de9,_0x3a99c9,_0x5741f6,_0x3d9663){const _0x3a5a93=a84_0x179989,_0x19e9a2={'Iosrs':_0x3a5a93(0x1c8),'tDvYJ':_0x3a5a93(0x200),'anMkq':_0x3a5a93(0x21f),'VczdF':_0x3a5a93(0x233),'yzArO':_0x3a5a93(0x1d0),'SUJZv':_0x3a5a93(0x227),'HDaXt':'Session','QWkSV':function(_0x48a8b8,_0x3a8374){return _0x48a8b8===_0x3a8374;},'NHRdY':_0x3a5a93(0x1be),'NqLbo':_0x3a5a93(0x238),'wiAFm':_0x3a5a93(0x239),'Ikkmj':function(_0x84509e,_0x1379c3,_0x42c4a5,_0x5dcf5c){return _0x84509e(_0x1379c3,_0x42c4a5,_0x5dcf5c);},'KDAZi':_0x3a5a93(0x1c7),'CahoO':function(_0x59d916,_0x27e55f,_0x484dd8){return _0x59d916(_0x27e55f,_0x484dd8);}};if(CLIUtils[_0x3a5a93(0x1f7)](BrowserstackCLI[_0x3a5a93(0x23e)]()[_0x3a5a93(0x246)]())){this['logger'][_0x3a5a93(0x21b)](_0x19e9a2[_0x3a5a93(0x229)]);return;}const _0x4b038d=_0x5e2de9;if(!_0x4b038d){this[_0x3a5a93(0x1e6)][_0x3a5a93(0x21b)](_0x19e9a2[_0x3a5a93(0x1af)]);return;}const _0x2c0b58=AutomationFramework[_0x3a5a93(0x236)](_0x4b038d,PlaywrightDriverModule[_0x3a5a93(0x226)]);if(!_0x2c0b58){this[_0x3a5a93(0x1e6)][_0x3a5a93(0x21b)](_0x19e9a2[_0x3a5a93(0x1b5)]);return;}const _0x261be1=_0x5741f6;if(!_0x261be1){this[_0x3a5a93(0x1e6)][_0x3a5a93(0x21b)](_0x19e9a2[_0x3a5a93(0x1f9)],_0x261be1);return;}const _0x4e672b={};_0x4e672b['status']=_0x261be1;const _0x583553={};_0x583553[_0x3a5a93(0x1b4)]=_0x19e9a2['yzArO'],_0x583553[_0x3a5a93(0x1f5)]=_0x4e672b;const _0x175713=_0x583553;_0x3d9663&&(_0x175713[_0x3a5a93(0x1f5)][_0x19e9a2['SUJZv']]=_0x3d9663);const _0x82f3a6=(_0x3a99c9?_0x3a99c9:_0x19e9a2[_0x3a5a93(0x1a1)])+'\x20'+_0x261be1+'\x20'+(_0x3d9663?_0x3a5a93(0x224)+_0x3d9663:''),_0x781fd3=_0x19e9a2[_0x3a5a93(0x24d)](_0x261be1,_0x19e9a2[_0x3a5a93(0x19b)])?_0x19e9a2['NqLbo']:_0x19e9a2[_0x3a5a93(0x22f)];await _0x19e9a2[_0x3a5a93(0x243)](playwrightAnnotate,_0x2c0b58,_0x82f3a6,_0x781fd3),_0x3d9663&&(_0x175713[_0x3a5a93(0x1f5)][_0x19e9a2[_0x3a5a93(0x1b0)]]=_0x3d9663),PerformanceTester[_0x3a5a93(0x23f)](PerformanceEvents['SESSION_STATUS']),this[_0x3a5a93(0x1e6)][_0x3a5a93(0x21b)](_0x19e9a2['KDAZi']),await _0x19e9a2[_0x3a5a93(0x213)](playwrightBstackJsExecutor,_0x2c0b58,_0x175713),PerformanceTester['end'](PerformanceEvents[_0x3a5a93(0x24f)]);}async['markSessionName'](_0x359445){const _0x4c4185=a84_0x179989,_0x5f02fd={'ZfXiz':_0x4c4185(0x198),'DUtge':function(_0x12fea3,_0x249f21){return _0x12fea3(_0x249f21);},'VpVkO':_0x4c4185(0x215),'SqNqA':function(_0x1b1429,_0x565f72,_0x300080){return _0x1b1429(_0x565f72,_0x300080);}};try{if(CLIUtils[_0x4c4185(0x24e)](BrowserstackCLI[_0x4c4185(0x23e)]()[_0x4c4185(0x246)]())){this[_0x4c4185(0x1e6)][_0x4c4185(0x21b)](_0x5f02fd[_0x4c4185(0x23b)]);return;}const _0x4f3019=AutomationFramework[_0x4c4185(0x236)](AutomationFramework[_0x4c4185(0x1da)](),PlaywrightDriverModule[_0x4c4185(0x226)]);let _0x42e031;_0x359445['pickle']||_0x359445['gherkinDocument']?_0x42e031=_0x5f02fd[_0x4c4185(0x1a4)](getCucumberSessionName,_0x359445):_0x42e031=_0x5f02fd[_0x4c4185(0x1a4)](getPlaywrightSessionName,_0x359445);const _0x1acf7d={};_0x1acf7d[_0x4c4185(0x1b6)]=_0x42e031;const _0x2cc6db={};_0x2cc6db[_0x4c4185(0x1b4)]=_0x5f02fd['VpVkO'],_0x2cc6db['arguments']=_0x1acf7d;const _0x42ef8b=_0x2cc6db;PerformanceTester[_0x4c4185(0x23f)](PerformanceEvents[_0x4c4185(0x212)]),await _0x5f02fd[_0x4c4185(0x1f2)](playwrightBstackJsExecutor,_0x4f3019,_0x42ef8b),PerformanceTester[_0x4c4185(0x216)](PerformanceEvents[_0x4c4185(0x212)]);}catch(_0x46bfb4){PerformanceTester[_0x4c4185(0x216)](PerformanceEvents[_0x4c4185(0x212)],![],util[_0x4c4185(0x20e)](_0x46bfb4)),this['logger'][_0x4c4185(0x239)](_0x4c4185(0x19c)+util[_0x4c4185(0x20e)](_0x46bfb4));}}}function a84_0x4850(_0x55582f,_0x1692b2){const _0x13b2a4=a84_0x13b2();return a84_0x4850=function(_0x48500d,_0xfe05d9){_0x48500d=_0x48500d-0x18d;let _0x3a0b4d=_0x13b2a4[_0x48500d];return _0x3a0b4d;},a84_0x4850(_0x55582f,_0x1692b2);}PlaywrightDriverModule[a84_0x179989(0x209)]=a84_0x179989(0x1f4),module[a84_0x179989(0x20c)]=PlaywrightDriverModule;
1
+ function a84_0x4ee9(_0x8bc655,_0x173ea3){const _0x5ed35c=a84_0x5ed3();return a84_0x4ee9=function(_0x4ee983,_0x228cf7){_0x4ee983=_0x4ee983-0xf9;let _0x4215b1=_0x5ed35c[_0x4ee983];return _0x4215b1;},a84_0x4ee9(_0x8bc655,_0x173ea3);}const a84_0x27d938=a84_0x4ee9;(function(_0x58c347,_0x606158){const _0x3d2c2d=a84_0x4ee9,_0x57f0b6=_0x58c347();while(!![]){try{const _0x5ea60f=parseInt(_0x3d2c2d(0x167))/0x1+parseInt(_0x3d2c2d(0x13b))/0x2*(parseInt(_0x3d2c2d(0x17e))/0x3)+parseInt(_0x3d2c2d(0x197))/0x4*(parseInt(_0x3d2c2d(0x12a))/0x5)+-parseInt(_0x3d2c2d(0x15d))/0x6*(-parseInt(_0x3d2c2d(0x173))/0x7)+-parseInt(_0x3d2c2d(0x150))/0x8+-parseInt(_0x3d2c2d(0x18f))/0x9*(parseInt(_0x3d2c2d(0x198))/0xa)+-parseInt(_0x3d2c2d(0x11d))/0xb;if(_0x5ea60f===_0x606158)break;else _0x57f0b6['push'](_0x57f0b6['shift']());}catch(_0x231a8f){_0x57f0b6['push'](_0x57f0b6['shift']());}}}(a84_0x5ed3,0xcfbfd));const util=require('util'),BaseModule=require(a84_0x27d938(0x1bc)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a84_0x27d938(0x108)),{FRAMEWORKS}=require(a84_0x27d938(0x171)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a84_0x27d938(0x13d)),HookState=require(a84_0x27d938(0x12c)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x27d938(0x13a)),CLIUtils=require(a84_0x27d938(0x1b5)),BrowserstackCLI=require(a84_0x27d938(0x10d)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a84_0x27d938(0x131)),PerformanceEvents=require(a84_0x27d938(0x159))[a84_0x27d938(0x103)],TestInfo=require(a84_0x27d938(0x158)),{getPlaywrightProvider}=require(a84_0x27d938(0x13a)),LoadTestModule=require(a84_0x27d938(0x19c)),TestFrameworkConstants=require(a84_0x27d938(0x164)),TestFrameworkState=require(a84_0x27d938(0x179)),JestUtils=require('../utils/jest-utils.js');class PlaywrightDriverModule extends BaseModule{static [a84_0x27d938(0x165)]=a84_0x27d938(0x154);static [a84_0x27d938(0x11e)]=a84_0x27d938(0x147);static [a84_0x27d938(0xfa)]=a84_0x27d938(0x10e);static [a84_0x27d938(0x19b)]='sessionId';static [a84_0x27d938(0x156)]=a84_0x27d938(0x194);static [a84_0x27d938(0x192)]=a84_0x27d938(0x1a5);static [a84_0x27d938(0x16d)]=a84_0x27d938(0x1ac);static [a84_0x27d938(0x105)]=a84_0x27d938(0x17c);static ['KEY_TEST_ID']=a84_0x27d938(0x1b0);[a84_0x27d938(0x191)]=createClassLogger('PlaywrightDriverModule');constructor(_0x4fdccf=null){const _0x5e5bba=a84_0x27d938,_0x3d2315={};_0x3d2315[_0x5e5bba(0x12f)]=_0x5e5bba(0x162),_0x3d2315[_0x5e5bba(0x186)]='PlaywrightDriverModule';const _0x2fff98=_0x3d2315,_0x262d97=_0x2fff98[_0x5e5bba(0x12f)]['split']('|');let _0x509a59=0x0;while(!![]){switch(_0x262d97[_0x509a59++]){case'0':this[_0x5e5bba(0x145)]=null;continue;case'1':this[_0x5e5bba(0x11f)]=_0x2fff98[_0x5e5bba(0x186)];continue;case'2':this['testRunId']=null;continue;case'3':AutomationFramework[_0x5e5bba(0x19d)](AutomationFrameworkState[_0x5e5bba(0x1b7)],HookState['PRE'],this[_0x5e5bba(0x1b3)]['bind'](this));continue;case'4':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x5e5bba(0x1b7)],HookState[_0x5e5bba(0xf9)],this[_0x5e5bba(0x106)][_0x5e5bba(0x13f)](this));continue;case'5':this[_0x5e5bba(0x17b)]=null;continue;case'6':AutomationFramework[_0x5e5bba(0x19d)](AutomationFrameworkState[_0x5e5bba(0x199)],HookState['POST'],this['onPlaywrightDispatch'][_0x5e5bba(0x13f)](this));continue;case'7':this['jestUtils']=new JestUtils();continue;case'8':this[_0x5e5bba(0x16e)]=[];continue;case'9':super(_0x4fdccf);continue;case'10':AutomationFramework[_0x5e5bba(0x19d)](AutomationFrameworkState[_0x5e5bba(0x1af)],HookState[_0x5e5bba(0xf9)],this[_0x5e5bba(0x11a)][_0x5e5bba(0x13f)](this));continue;case'11':this['playwrightVersion']=null;continue;}break;}}[a84_0x27d938(0x115)](){return PlaywrightDriverModule['MODULE_NAME'];}async[a84_0x27d938(0x1b3)](_0x1661d3){const _0x5e7db9=a84_0x27d938,_0x2141e7={};_0x2141e7['oeXIs']=_0x5e7db9(0x102);const _0x1fd6a6=_0x2141e7;try{this[_0x5e7db9(0x191)][_0x5e7db9(0x146)](_0x1fd6a6[_0x5e7db9(0x1b9)]);const _0x3ced68=_0x1661d3[_0x5e7db9(0x104)],_0x5f3bcc=_0x1661d3[_0x5e7db9(0x1ac)];AutomationFramework[_0x5e7db9(0x190)](_0x1661d3[_0x5e7db9(0x11b)],PlaywrightDriverModule['KEY_CAPABILITIES'],_0x3ced68),AutomationFramework[_0x5e7db9(0x190)](_0x1661d3[_0x5e7db9(0x11b)],PlaywrightDriverModule['KEY_HUB_URL'],_0x5f3bcc);}catch(_0x124916){this['logger'][_0x5e7db9(0x12d)]('Error\x20in\x20onBeforeDriverCreate:\x20'+util[_0x5e7db9(0x121)](_0x124916));}}async[a84_0x27d938(0x16a)](_0x3f6512){const _0x2a05fd=a84_0x27d938,_0xe517a0={};_0xe517a0[_0x2a05fd(0x172)]=function(_0x2d241b,_0x2041a5){return _0x2d241b||_0x2041a5;};const _0x3e8611=_0xe517a0;try{const _0x4f27fa=_0x3f6512?.[_0x2a05fd(0x1a2)]&&_0x3f6512?.[_0x2a05fd(0x1a2)]?.[_0x2a05fd(0x122)]&&_0x3f6512?.[_0x2a05fd(0x1a2)]?.[_0x2a05fd(0x122)]?.[_0x2a05fd(0x130)],_0x2d9093=_0x3f6512?.[_0x2a05fd(0x1a2)]&&_0x3f6512?.[_0x2a05fd(0x1a2)]?.[_0x2a05fd(0x177)];if(_0x3e8611[_0x2a05fd(0x172)](_0x4f27fa,_0x2d9093)){this[_0x2a05fd(0x191)][_0x2a05fd(0x146)](_0x2a05fd(0x1b4)+util[_0x2a05fd(0x139)](_0x4f27fa)+_0x2a05fd(0x101)+util['inspect'](_0x2d9093));const _0x3b2de0=_0x3f6512?.[_0x2a05fd(0x11b)],_0x3958a2=global?.[_0x2a05fd(0x153)]?.[_0x2a05fd(0x19e)]?.[_0x2a05fd(0x10a)],_0xce1b59=_0x4f27fa?.['sessionId']||_0x2d9093?.[_0x2a05fd(0x181)],_0x94a539=_0x4f27fa?.[_0x2a05fd(0x17c)]||_0x2d9093?.[_0x2a05fd(0x17c)];_0xce1b59&&(this[_0x2a05fd(0x191)][_0x2a05fd(0x146)](_0x2a05fd(0x125)+_0xce1b59),AutomationFramework[_0x2a05fd(0x190)](_0x3b2de0,PlaywrightDriverModule['KEY_SESSION_ID'],_0xce1b59)),_0x3958a2&&(this[_0x2a05fd(0x191)][_0x2a05fd(0x146)](_0x2a05fd(0x170)+util[_0x2a05fd(0x139)](_0x3958a2)),AutomationFramework[_0x2a05fd(0x190)](_0x3b2de0,PlaywrightDriverModule[_0x2a05fd(0x156)],_0x3958a2));}}catch(_0x2d0b5d){this[_0x2a05fd(0x191)][_0x2a05fd(0x12d)]('Error\x20in\x20onDispatchExecute:\x20'+util[_0x2a05fd(0x121)](_0x2d0b5d));}}async['onAfterDriverCreate'](_0x3231c6){const _0x555f8d=a84_0x27d938,_0x24380f={'ByUjx':_0x555f8d(0x17d),'JuAPD':function(_0x218198,_0x22ea56){return _0x218198(_0x22ea56);},'nROft':_0x555f8d(0x1ba),'xGItF':'onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','jGJxJ':'onAfterDriverCreate:\x20Setting\x20context\x20object','sapNl':'onAfterDriverCreate:\x20Setting\x20browser\x20object','NZUVT':'base64'};try{this['logger'][_0x555f8d(0x146)](_0x24380f[_0x555f8d(0x1b8)]);const _0x8a1b30=_0x3231c6['instance'];this[_0x555f8d(0x195)]=_0x24380f[_0x555f8d(0x128)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x3231c6[_0x555f8d(0x100)]){this[_0x555f8d(0x191)][_0x555f8d(0x146)](_0x24380f[_0x555f8d(0x14e)]),AutomationFramework[_0x555f8d(0x190)](_0x8a1b30,PlaywrightDriverModule['KEY_PAGE_OBJECT'],_0x3231c6[_0x555f8d(0x100)]);if(_0x3231c6[_0x555f8d(0x114)]){this[_0x555f8d(0x191)]['debug'](_0x24380f[_0x555f8d(0x1a6)]);const _0x283d09=this[_0x555f8d(0x176)](_0x3231c6);AutomationFramework[_0x555f8d(0x190)](_0x8a1b30,PlaywrightDriverModule[_0x555f8d(0x18d)],_0x283d09),await this[_0x555f8d(0x109)](_0x3231c6['testInfo']);}}_0x3231c6['context']&&(this[_0x555f8d(0x191)]['debug'](_0x24380f[_0x555f8d(0x133)]),AutomationFramework['setState'](_0x8a1b30,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x3231c6[_0x555f8d(0xff)]));if(_0x3231c6['browser']){this[_0x555f8d(0x191)][_0x555f8d(0x146)](_0x24380f[_0x555f8d(0x1b2)]);const _0x35ce53=global?.[_0x555f8d(0x153)]?.[_0x555f8d(0x19e)]?.[_0x555f8d(0x10a)];AutomationFramework[_0x555f8d(0x190)](_0x8a1b30,PlaywrightDriverModule[_0x555f8d(0x165)],_0x3231c6[_0x555f8d(0x118)]),AutomationFramework['setState'](_0x8a1b30,PlaywrightDriverModule[_0x555f8d(0x156)],_0x35ce53);const _0x45d215={};_0x45d215['isPlaywright']=!![];const _0x28d7e7=Buffer[_0x555f8d(0x14c)](JSON['stringify'](_0x45d215)['toString'](_0x24380f['NZUVT'])),_0x3cc15f=await GrpcClient[_0x555f8d(0x15a)]()[_0x555f8d(0x184)]({'platformIndex':_0x35ce53,'ref':_0x8a1b30[_0x555f8d(0x107)](),'userInputParams':_0x28d7e7});helper[_0x555f8d(0x17f)](helper[_0x555f8d(0x14a)]())&&AutomationFramework['setState'](_0x8a1b30,PlaywrightDriverModule[_0x555f8d(0x192)],JSON[_0x555f8d(0x151)](Buffer[_0x555f8d(0x14c)](_0x3cc15f['getCapabilities'](),_0x24380f[_0x555f8d(0x1a1)])[_0x555f8d(0x1a4)]()));}}catch(_0x5e92af){this[_0x555f8d(0x191)][_0x555f8d(0x12d)](_0x555f8d(0x113)+util['format'](_0x5e92af));}}async[a84_0x27d938(0x11a)](_0x2b8362){const _0xe5f2df=a84_0x27d938,_0x269d71={'EUeOU':_0xe5f2df(0xfe),'ylAfs':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','jiMwq':function(_0x3bb8ec,_0x1265d6){return _0x3bb8ec(_0x1265d6);},'mxHaI':function(_0x14568d,_0x59de44){return _0x14568d(_0x59de44);},'eUPrD':function(_0x39362d,_0x11f17c,_0x105d00){return _0x39362d(_0x11f17c,_0x105d00);},'JwAQr':'result','DvHmv':'message','duQeN':function(_0x360b68,_0x4b4464){return _0x360b68(_0x4b4464);},'CVlLR':function(_0x57dd46,_0x24159f,_0x1a4114){return _0x57dd46(_0x24159f,_0x1a4114);},'HyBuC':'error','OEvGJ':function(_0x2da78a,_0x34270c,_0x4c68a6){return _0x2da78a(_0x34270c,_0x4c68a6);},'ZIaFq':_0xe5f2df(0x18a),'RGkBW':function(_0x28a701,_0x4cda89){return _0x28a701>_0x4cda89;},'jVVQq':function(_0x1c086c,_0x36a776){return _0x1c086c||_0x36a776;},'uTzvR':function(_0xa8b3ca,_0x382581){return _0xa8b3ca===_0x382581;},'ZSMnP':function(_0x1fe694,_0x170131){return _0x1fe694+_0x170131;},'sMRym':_0xe5f2df(0x13c),'kvPuj':function(_0x451673,_0x304f36){return _0x451673+_0x304f36;},'lIWAQ':_0xe5f2df(0x15f),'qoEEx':function(_0xb4a732,_0x8b4716){return _0xb4a732(_0x8b4716);},'wAVCx':'Playwright','wCFJt':_0xe5f2df(0x124),'UWQBu':function(_0x3d9a7a,_0x37c3e0){return _0x3d9a7a>_0x37c3e0;},'Tmyti':_0xe5f2df(0x168),'CzVci':function(_0x7c301,_0x86a0fa){return _0x7c301===_0x86a0fa;},'XoflF':function(_0x216ce4,_0xe5ceea){return _0x216ce4===_0xe5ceea;},'PbNXC':_0xe5f2df(0x10c)};this['logger'][_0xe5f2df(0x146)](_0x269d71[_0xe5f2df(0xfd)]);const _0x5d582e=_0x2b8362[_0xe5f2df(0x11b)];if(!_0x5d582e){this[_0xe5f2df(0x191)][_0xe5f2df(0x146)](_0x269d71['ylAfs']);return;}const _0x294d3b=_0x2b8362['testInfo'],_0x499aab=this['getTestId'](_0x2b8362),_0x1c9c52=_0x294d3b['status'];let _0x43bbcd;const _0x1f2ded=_0x269d71[_0xe5f2df(0x161)](getPlaywrightStatus,_0x1c9c52);let _0x50e066,_0x63f23f=null;if(_0x294d3b[_0xe5f2df(0x14f)]||_0x294d3b['gherkinDocument'])_0x50e066=_0x269d71[_0xe5f2df(0x182)](getCucumberSessionName,_0x294d3b),_0x43bbcd=_0x269d71['eUPrD'](nestedKeyValue,_0x294d3b,[_0x269d71[_0xe5f2df(0xfc)],_0x269d71[_0xe5f2df(0x112)]]);else{_0x50e066=_0x269d71[_0xe5f2df(0x126)](getPlaywrightSessionName,_0x294d3b),_0x43bbcd=_0x269d71['CVlLR'](nestedKeyValue,_0x294d3b,[_0x269d71[_0xe5f2df(0x11c)],_0x269d71[_0xe5f2df(0x112)]]);const _0xbce45e=_0x269d71[_0xe5f2df(0x14b)](nestedKeyValue,_0x294d3b,[_0x269d71[_0xe5f2df(0x17a)]]);_0xbce45e&&_0x269d71['RGkBW'](_0xbce45e['length'],0x0)&&(_0x63f23f=_0xbce45e[0x0][_0xe5f2df(0x1a2)]),_0x43bbcd=_0x269d71[_0xe5f2df(0x149)](_0x43bbcd,_0x63f23f),this['logger'][_0xe5f2df(0x146)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x1f2ded+_0xe5f2df(0x1bd)+_0x43bbcd);}const _0x53c4bf=_0x269d71[_0xe5f2df(0x149)](_0x43bbcd,_0x63f23f);this[_0xe5f2df(0x191)][_0xe5f2df(0x146)](_0xe5f2df(0x140)+_0x1f2ded);let _0x571ccb,_0x1f916d;if(this[_0xe5f2df(0x160)]&&_0x269d71['uTzvR'](this['testFrameworkData']['name'],FRAMEWORKS[_0xe5f2df(0x193)]))_0x571ccb=_0x499aab,_0x1f916d=TestInfo[_0xe5f2df(0x185)](_0x571ccb);else this[_0xe5f2df(0x160)]&&_0x269d71[_0xe5f2df(0x169)](this['testFrameworkData'][_0xe5f2df(0x11f)],FRAMEWORKS[_0xe5f2df(0x16c)])?(_0x571ccb=this[_0xe5f2df(0x10f)][_0xe5f2df(0x136)](_0x294d3b),this[_0xe5f2df(0x191)][_0xe5f2df(0x146)](_0xe5f2df(0x19a)+_0x571ccb)):(_0x571ccb=TestInfo[_0xe5f2df(0xfb)](_0x294d3b,_0x294d3b[_0xe5f2df(0x157)]),_0x1f916d=TestInfo[_0xe5f2df(0x185)](_0x571ccb));const _0x52cd3e=TestInfo['getTestDetails'](_0x571ccb);this[_0xe5f2df(0x191)][_0xe5f2df(0x119)](_0x269d71['ZSMnP'](_0x269d71[_0xe5f2df(0x111)],_0x499aab)),this['logger']['info'](_0x269d71['kvPuj'](_0x269d71[_0xe5f2df(0x183)],util['inspect'](_0x52cd3e)));const _0x597c2b=AutomationFramework[_0xe5f2df(0x163)](_0x5d582e,PlaywrightDriverModule[_0xe5f2df(0x156)]),_0x1e9b19=_0x52cd3e?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0xe5f2df(0x160)]&&this[_0xe5f2df(0x160)]['name'],_0x5ab8dc=_0x52cd3e?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0xe5f2df(0x160)]&&this[_0xe5f2df(0x160)][_0xe5f2df(0x189)],_0x178565=TestFrameworkState[_0xe5f2df(0x148)][_0xe5f2df(0x1a4)]()[_0xe5f2df(0x18b)]('.')[0x1],_0x19f006=HookState[_0xe5f2df(0xf9)][_0xe5f2df(0x1a4)]()[_0xe5f2df(0x18b)]('.')[0x1],_0x45cfba=_0x5d582e[_0xe5f2df(0x15c)](),_0x3f2ba7=AutomationFramework[_0xe5f2df(0x163)](_0x5d582e,PlaywrightDriverModule[_0xe5f2df(0x16d)],''),_0x2828c5={'provider':_0x269d71['qoEEx'](getPlaywrightProvider,_0x3f2ba7),'frameworkName':_0x269d71[_0xe5f2df(0x12e)],'frameworkVersion':_0x269d71[_0xe5f2df(0x152)],'frameworkSessionId':LoadTestModule[_0xe5f2df(0x143)]()?LoadTestModule['getLTSSessionId']():AutomationFramework[_0xe5f2df(0x163)](_0x5d582e,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x5d582e[_0xe5f2df(0x107)](),'hubUrl':_0x3f2ba7};let _0x604fe2=AutomationFramework['getState'](_0x5d582e,PlaywrightDriverModule[_0xe5f2df(0x192)],{});_0x604fe2&&_0x269d71['UWQBu'](Object[_0xe5f2df(0x142)](_0x604fe2)['length'],0x0)?_0x604fe2=Buffer[_0xe5f2df(0x14c)](JSON[_0xe5f2df(0x123)](_0x604fe2))[_0xe5f2df(0x1a4)](_0x269d71['Tmyti']):_0x604fe2=Buffer[_0xe5f2df(0x14c)](JSON[_0xe5f2df(0x123)]({}))[_0xe5f2df(0x1a4)](_0x269d71[_0xe5f2df(0x138)]);const _0x3e09db={'hash':_0x45cfba[_0xe5f2df(0x132)](),'threadId':_0x45cfba[_0xe5f2df(0x120)]()[_0xe5f2df(0x1a4)](),'processId':_0x45cfba['getProcessId']()[_0xe5f2df(0x1a4)]()},_0xa80b7e={};_0xa80b7e[_0xe5f2df(0x1a7)]=_0x571ccb;const _0x3b7b61={};_0x3b7b61[_0xe5f2df(0x144)]=_0x1f916d;const _0x47c10e={'platformIndex':_0x597c2b,'testFrameworkName':_0x1e9b19,'testFrameworkVersion':_0x5ab8dc,'testFrameworkState':_0x178565,'testHookState':_0x19f006,...this[_0xe5f2df(0x160)]&&_0x269d71[_0xe5f2df(0x110)](this['testFrameworkData'][_0xe5f2df(0x11f)],FRAMEWORKS[_0xe5f2df(0x16c)])?_0xa80b7e:_0x3b7b61,'automationSession':_0x2828c5,'capabilities':_0x604fe2,'executionContext':_0x3e09db};this['logger']['debug'](_0xe5f2df(0x1aa)+util['format'](_0x47c10e)),GrpcClient[_0xe5f2df(0x15a)]()[_0xe5f2df(0x141)](_0x47c10e),this[_0xe5f2df(0x191)][_0xe5f2df(0x146)](_0xe5f2df(0x1be)+_0x499aab+(this['testFrameworkData']&&_0x269d71[_0xe5f2df(0x178)](this[_0xe5f2df(0x160)][_0xe5f2df(0x11f)],FRAMEWORKS[_0xe5f2df(0x16c)])?_0xe5f2df(0x127)+_0x571ccb:''));if(!_0x1f2ded){this['logger'][_0xe5f2df(0x146)](_0x269d71['PbNXC'],_0x1c9c52[_0xe5f2df(0x15e)]);return;}this[_0xe5f2df(0x191)][_0xe5f2df(0x146)](_0xe5f2df(0x134)+_0x499aab),_0x294d3b&&(this[_0xe5f2df(0x191)]['debug'](_0xe5f2df(0x18e)+_0x50e066),await this['markSessionName'](_0x294d3b)),await this['markSessionStatus'](_0x5d582e,_0x50e066,_0x1f2ded,_0x53c4bf);}async['markSessionStatus'](_0x48d31f,_0x11b15c,_0x35b85e,_0x5d6cbd){const _0x4a4d50=a84_0x27d938,_0x31749d={'MJiIs':_0x4a4d50(0x180),'IrfOj':_0x4a4d50(0x1b1),'aUDsm':_0x4a4d50(0x15b),'RomrH':_0x4a4d50(0x10c),'eHTuV':_0x4a4d50(0x1bf),'YZOLo':_0x4a4d50(0x188),'iCnoc':_0x4a4d50(0x10b),'nWBGN':function(_0x2bea05,_0x3040d2){return _0x2bea05===_0x3040d2;},'qdbFw':'passed','aOaWd':_0x4a4d50(0x119),'mtQjB':_0x4a4d50(0x12d),'yHuMH':function(_0x441f57,_0x1252b0,_0x241042,_0x2e5ae3){return _0x441f57(_0x1252b0,_0x241042,_0x2e5ae3);},'ptuGE':_0x4a4d50(0x1a3),'VHlON':function(_0x52cceb,_0x22bff7,_0x3eb309){return _0x52cceb(_0x22bff7,_0x3eb309);}};if(CLIUtils[_0x4a4d50(0x174)](BrowserstackCLI[_0x4a4d50(0x15a)]()[_0x4a4d50(0x12b)]())){this[_0x4a4d50(0x191)][_0x4a4d50(0x146)](_0x31749d['MJiIs']);return;}const _0x5ca4d3=_0x48d31f;if(!_0x5ca4d3){this[_0x4a4d50(0x191)][_0x4a4d50(0x146)](_0x31749d[_0x4a4d50(0x1ad)]);return;}const _0x82dcd8=AutomationFramework[_0x4a4d50(0x163)](_0x5ca4d3,PlaywrightDriverModule[_0x4a4d50(0xfa)]);if(!_0x82dcd8){this[_0x4a4d50(0x191)][_0x4a4d50(0x146)](_0x31749d[_0x4a4d50(0x135)]);return;}const _0x2ad4c0=_0x35b85e;if(!_0x2ad4c0){this[_0x4a4d50(0x191)]['debug'](_0x31749d[_0x4a4d50(0x187)],_0x2ad4c0);return;}const _0x3eb9e8={};_0x3eb9e8[_0x4a4d50(0x15e)]=_0x2ad4c0;const _0x42ccbd={};_0x42ccbd[_0x4a4d50(0x1a9)]=_0x31749d[_0x4a4d50(0x1b6)],_0x42ccbd[_0x4a4d50(0x166)]=_0x3eb9e8;const _0x26fdcc=_0x42ccbd;_0x5d6cbd&&(_0x26fdcc[_0x4a4d50(0x166)][_0x31749d[_0x4a4d50(0x129)]]=_0x5d6cbd);const _0x1a856f=(_0x11b15c?_0x11b15c:_0x31749d[_0x4a4d50(0x116)])+'\x20'+_0x2ad4c0+'\x20'+(_0x5d6cbd?'with\x20'+_0x5d6cbd:''),_0x39bd9b=_0x31749d['nWBGN'](_0x2ad4c0,_0x31749d['qdbFw'])?_0x31749d[_0x4a4d50(0x196)]:_0x31749d['mtQjB'];await _0x31749d['yHuMH'](playwrightAnnotate,_0x82dcd8,_0x1a856f,_0x39bd9b),_0x5d6cbd&&(_0x26fdcc[_0x4a4d50(0x166)][_0x31749d[_0x4a4d50(0x129)]]=_0x5d6cbd),PerformanceTester['start'](PerformanceEvents[_0x4a4d50(0x155)]),this[_0x4a4d50(0x191)][_0x4a4d50(0x146)](_0x31749d[_0x4a4d50(0x16b)]),await _0x31749d['VHlON'](playwrightBstackJsExecutor,_0x82dcd8,_0x26fdcc),PerformanceTester[_0x4a4d50(0x1ab)](PerformanceEvents[_0x4a4d50(0x155)]);}async[a84_0x27d938(0x109)](_0x5cedb0){const _0x56018d=a84_0x27d938,_0x57783b={'IgniN':_0x56018d(0x13e),'lHaoz':function(_0x315c49,_0x44e6ba){return _0x315c49(_0x44e6ba);},'Ebazg':function(_0x4f36c8,_0x583f2f){return _0x4f36c8(_0x583f2f);},'TYDop':'setSessionName','QQYEl':function(_0x2ea7b4,_0x3bb565,_0x123a8c){return _0x2ea7b4(_0x3bb565,_0x123a8c);}};try{if(CLIUtils[_0x56018d(0x117)](BrowserstackCLI['getInstance']()[_0x56018d(0x12b)]())){this[_0x56018d(0x191)][_0x56018d(0x146)](_0x57783b['IgniN']);return;}const _0x16893a=AutomationFramework[_0x56018d(0x163)](AutomationFramework[_0x56018d(0x18c)](),PlaywrightDriverModule['KEY_PAGE_OBJECT']);let _0x16f4f9;_0x5cedb0['pickle']||_0x5cedb0['gherkinDocument']?_0x16f4f9=_0x57783b[_0x56018d(0x1a0)](getCucumberSessionName,_0x5cedb0):_0x16f4f9=_0x57783b[_0x56018d(0x1bb)](getPlaywrightSessionName,_0x5cedb0);const _0xf2bc92={};_0xf2bc92['name']=_0x16f4f9;const _0x2ec2da={};_0x2ec2da[_0x56018d(0x1a9)]=_0x57783b[_0x56018d(0x16f)],_0x2ec2da['arguments']=_0xf2bc92;const _0x45c5be=_0x2ec2da;PerformanceTester[_0x56018d(0x1a8)](PerformanceEvents[_0x56018d(0x137)]),await _0x57783b['QQYEl'](playwrightBstackJsExecutor,_0x16893a,_0x45c5be),PerformanceTester[_0x56018d(0x1ab)](PerformanceEvents[_0x56018d(0x137)]);}catch(_0x274f90){PerformanceTester[_0x56018d(0x1ab)](PerformanceEvents['SESSION_NAME'],![],util[_0x56018d(0x121)](_0x274f90)),this[_0x56018d(0x191)]['error'](_0x56018d(0x1ae)+util[_0x56018d(0x121)](_0x274f90));}}}PlaywrightDriverModule[a84_0x27d938(0x19f)]=a84_0x27d938(0x175),module[a84_0x27d938(0x14d)]=PlaywrightDriverModule;function a84_0x5ed3(){const _0xa0d735=['KEY_CAPABILITIES','CUCUMBER','platformIndex','playwrightVersion','aOaWd','52084rjSGGu','4570890sACycp','PLAYWRIGHT_DISPATCH','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','KEY_SESSION_ID','./loadTestModule.js','registerObserver','workerInfo','MODULE_NAME','lHaoz','NZUVT','message','markSessionStatus:\x20Marking\x20session\x20status','toString','capabilities','xGItF','test_identifier','start','action','onAfterTest\x20CBTSession\x20payload:\x20','end','hubUrl','IrfOj','Error\x20in\x20markSessionName:\x20','EXECUTE','testId','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','sapNl','onBeforeDriverCreate','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','../cliUtils.js','eHTuV','CREATE','ByUjx','oeXIs','onAfterDriverCreate:\x20Setting\x20page\x20object','Ebazg','./baseModule','\x20failure\x20reason:\x20','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','setSessionStatus','POST','KEY_PAGE_OBJECT','getTestIdentifierFromTestInfo','JwAQr','EUeOU','Automation\x20onAfterTest:\x20Test\x20completed','context','page','\x20||\x20','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','AUTOMATE_EVENTS','launchcaps','KEY_PLATFORM_DETAILS','onAfterDriverCreate','getRef','../../../helpers/helper','markSessionName','parallelIndex','Session','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','../browserstackCLI.js','pageObject','jestUtils','CzVci','sMRym','DvHmv','Error\x20in\x20onAfterDriverCreate:\x20','testInfo','getModuleName','iCnoc','shouldSkipSessionName','browser','info','onAfterTest','instance','HyBuC','20901364RiFgdx','KEY_CONTEXT_OBJECT','name','getThreadId','format','params','stringify','1.51.0','onDispatchExecute:\x20Playwright\x20sessionId:\x20','duQeN',',\x20test_identifier:\x20','JuAPD','YZOLo','415xmgfzO','getConfig','../state/hookState.js','error','wAVCx','itlro','bsParams','../../../helpers/performance/performance-tester.js','getId','jGJxJ','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','aUDsm','recreateIdentifierFromTestInfo','SESSION_NAME','Tmyti','inspect','../../../helpers/helper.js','889142xUHAiT','testId:\x20','../state/automationFrameworkState.js','markSessionName:\x20Skipping\x20session\x20name\x20marking','bind','Automation\x20onAfterTest:\x20Test\x20status:\x20','testSessionEvent','keys','isLTSSession','testUuid','browserVersion','debug','contextObject','TEST','jVVQq','isBrowserstackInfra','OEvGJ','from','exports','nROft','pickle','3234536yuKfud','parse','wCFJt','__workerDetails','browserObject','SESSION_STATUS','KEY_PLATFORM_INDEX','retry','../TestInfo.js','../../../helpers/performance/constants.js','getInstance','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','getContext','5322CtrlnM','status','testData\x20from\x20onAfterTest:\x20','testFrameworkData','jiMwq','9|1|11|5|0|8|2|7|3|4|6|10','getState','../framework/constants/testFrameworkConstants.js','KEY_BROWSER_OBJECT','arguments','1677747WKQBtL','base64','uTzvR','onPlaywrightDispatch','ptuGE','JEST','KEY_HUB_URL','platforms','TYDop','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','../../utils/constants','WqLiI','6937CFtqju','shouldSkipSessionStatus','PlaywrightDriverModule','getTestId','bStackParams','XoflF','../state/testFrameworkState','ZIaFq','browserName','platformDetails','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','6RMlyfF','isFalse','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','sessionId','mxHaI','lIWAQ','driverInit','getTestUUID','UVMAV','RomrH','reason','version','errors','split','getTrackedInstance','KEY_TEST_ID','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','27cmAdQZ','setState','logger'];a84_0x5ed3=function(){return _0xa0d735;};return a84_0x5ed3();}