browserstack-node-sdk 1.50.10 → 1.50.11

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_0x556882=a80_0x2a0c;(function(_0xe26457,_0x1e6ba6){const _0x1e3147=a80_0x2a0c,_0x66a6c7=_0xe26457();while(!![]){try{const _0x2605aa=parseInt(_0x1e3147(0x17b))/0x1+parseInt(_0x1e3147(0x235))/0x2*(-parseInt(_0x1e3147(0x1e2))/0x3)+parseInt(_0x1e3147(0x176))/0x4*(-parseInt(_0x1e3147(0x141))/0x5)+parseInt(_0x1e3147(0x167))/0x6+parseInt(_0x1e3147(0x1c7))/0x7+-parseInt(_0x1e3147(0x1e7))/0x8+parseInt(_0x1e3147(0x203))/0x9*(parseInt(_0x1e3147(0x2c2))/0xa);if(_0x2605aa===_0x1e6ba6)break;else _0x66a6c7['push'](_0x66a6c7['shift']());}catch(_0x17a812){_0x66a6c7['push'](_0x66a6c7['shift']());}}}(a80_0x5525,0x9cc97));const BaseModule=require('./baseModule'),{createClassLogger}=require(a80_0x556882(0x15a)),CLIUtils=require(a80_0x556882(0x170)),AutomationFramework=require(a80_0x556882(0x152)),TestFramework=require(a80_0x556882(0x1af)),AutomationFrameworkState=require(a80_0x556882(0x2ca)),HookState=require('../state/hookState'),GrpcClient=require(a80_0x556882(0x22b)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a80_0x556882(0x14b)),PerformanceTester=require(a80_0x556882(0x27a)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x556882(0x128)),{nestedKeyValue,isUndefined}=require(a80_0x556882(0x1d5)),util=require(a80_0x556882(0x2ad)),TestInfo=require(a80_0x556882(0x182)),TestFrameworkConstants=require(a80_0x556882(0x1dd));function a80_0x5525(){const _0x4ccc70=['ZLhqD','page','onBeforeExecute:\x20No\x20command\x20name\x20provided','15165eywtTF','fBwTE','lAqMC','isEnabled','REKvl','includes','setAccessibilityToken','Context','shouldScanForCommand','ajVWy','TrackedInstance','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','ldHnD','has','MeAhj','yFoqW','Xuknb','../framework/automationFramework','Page\x20','mergeObject','LuZml','PRE','iWeUl','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','TpNBv','../../../helpers/classLogger','zfASX','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',',\x20includeTags=','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','string','SWpJC','eoEeZ','KEY_INIT','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','gliKt','message','\x22browserstack.user\x22:\x22[REDACTED]\x22','3426120CSAQCW','isPlatformSupported:\x20caps\x20are\x20null','some','VGGeQ','getResults','vvLrj','ZHPmJ','XRWLo','info','../cliUtils','OGufD','mbyqI','__accessibilityOptions','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','onBeforeTest','788NwquUU','BojSF','isAccessibilityScriptCommand','includeTagsInTestingScope','Error\x20getting\x20script\x20by\x20name\x20','510559LPqQkI','Error\x20in\x20processAccessibilityCaps:\x20','options','nhAwr','xepMA','ljclt','playwright-chromium','../TestInfo.js','getTesthub','VCYTp','assign','applySendMessageToServerPatch','BROWSERSTACK_TESTHUB_JWT','get','map','_centralAuthConfigFetched','getState','PFmsU','VcjBJ','pDZoS','getParamsForScanForCli','gYlQd','lLJnp','qEHZS','MthvL','zNwaA','onBeforeExecute:\x20Command\x20','onMMX','tnuok','[platform\x20-\x20','getData','getScript','browserstack.accessibilityOptions.wcagVersion',',\x20testIdentifier=','SXGjR','getScriptByName','[AccessibilityModule]\x20onAfterTest:\x20framework=','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','NuAuJ','__jestCurrentTestIdentifier','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','testInfo','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','goog:chromeOptions','eAlSQ','KMyCP','getTrackedInstance','skipCDPConnectOverride','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','hvHOx','LOG_DISABLED_SHOWN','../framework/testFramework','stack','getCommandsToWrap',']\x20isEnabledTestcase\x20(jest)\x20result=','bohSm','yGhYZ','scan','toLowerCase','QJUmU','KrFbJ','launchCaps','YZbMH','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','KEY_TEST_NAME','faidn','toObject','saveTestResults','performPageScan:\x20Script\x20is\x20null','eGFzS','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','test_run_id','UCkTK','bwNxp','FQWhF','2407930xdwfba','\x20from\x20testIdentifier=','NON_BROWSERSTACK_AUTOMATION_SESSIONS','QDViE','name','onBeforeExecute','jest','13|7|0|14|5|2|1|8|6|12|3|10|11|9|15|4','nqAvg','thTestRunUuid','scriptsList','\x20testHubUuid=','end','replace','../../../helpers/helper','name:\x20','--headless=new','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','SYKym','shouldScanCurrentTest','pitAr','accessibility','../framework/constants/testFrameworkConstants.js','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','chrome','wcagVersion','QmfnQ','1010409oDktEK','QVTCj','browser','isPlatformSupported','FmJqB','4602976cUCCCZ','KEY_DRIVER_HAS_URL','null','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getAccessibilityResults','error','Envmp','bTuZi','commandsList','SDK_ACCESSIBILITY_CONFIG','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','ipVBJ','stgzU','browserStackEvaluate','getCapabilitiesList','bWTKC','performScan','\x20script\x20available','patchSendMessageToServer','onAfterTest','ascii','LamVE','HDiOt','ELedV','toISOString','unknown','getCommandsList','KfFDR','63YSRDlz','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','sxXva','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','Uwmxk','amQrK','capabilities','MergedScanArgs:\x20','Error\x20getting\x20capability\x20value\x20for\x20','trim','getAccessibilityResultsSummary','instance','performPageScan','Error\x20in\x20shouldScanForCommand:\x20',',\x20\x0a\x20','pwPage','aUKlw','BROWSERSTACK_TEST_ACCESSIBILITY_YML','\x20a11yToken=','VjCjE','testhub_build_uuid','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','QUIT','parse','fcBep','urgGN','UJPgi','getContext','enUup','RniuD','brMCL','aVKex','Error\x20in\x20performScanForCli\x20for\x20script\x20','doMZB','isEnabledTestcase','qWAmW','isAppAccessibility','kDlMN','ACCESSIBILITY_INITIALIZED','../grpcClient','qfKMO','JKgjm','Kytlg','bXxZk','uNmgy','length','Uqpux','../../utils/playwright-patcher','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','2YSDlLK','getSuccess','_centralAuthA11yConfig','ScanArgs:\x20','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','lFXzy','vDlnV','PXvdm','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','nXUBR','value','getTestUUID','SFApS','getValue','Iaiqc','MWNVv','parseA11yJwtPayload','fetchDriverExecuteParamsEvent','test_tags','warn','\x20value=','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','platformValidation','NjhzR','DRIVER_INIT','mnJRS','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','gYmlX','currentTest','cheUg','JwoGF','Executing\x20','JuoFL','BESFC','Error\x20in\x20validatePlatformForAccessibility:\x20','ZPMth','stopTestCapture','processAccessibilityCaps','getOptions','finishScanningForCli','LONxj','MODULE_NAME','getCapabilityValue','testAnalyticsId','set',',\x20testName=','SpTKn','../../../helpers/accessibility-automation/helper','\x20->\x20','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','toString','headless','Error\x20executing\x20script\x20','cUFbS','getCurrentInstanceName','evaluate','Error\x20applying\x20sendMessageToServer\x20patch:\x20','--headless','CoTPB','GFVgf','startsWith','titlePath','setLogDisabledShown','EDavw','find','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','BS_A11Y_JWT','VFAfK','../../../helpers/performance/performance-tester.js','getModuleName','Processed\x20accessibility\x20caps\x20','chromeOptions',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','HmFFN','SZYYr','Performing\x20scan\x20before\x20getting\x20results\x20summary','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','afterTestHook','function','initAccessibilityConfig','QXyRh','getAccessibility',']\x20clear\x20','_sendMessageServerPatchApplied','executeScriptByName','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','jIaUe','testFramework','fetchCentralAuthA11yConfig','FTjOv','fZSNk','fijks','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','POST','sWgNn','PtHYF','getInstance','MlPOA','shouldScanForCommand:\x20','testFrameworkData','accessibilityConfig','performScanForCli','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','browserstack_executor',',\x20tags=','zIqco','onBeforeExecute:\x20command=','Error\x20in\x20getAccessibilityResults:\x20','BROWSERSTACK_CLI_BIN_SESSION_ID','setShouldScan','getAccessibilityExecuteParams','start','AUTOMATION_SESSIONS','IROaP','YnJlT','PWDFX','Error\x20in\x20performPageScan:\x20','getBuildId','delete','util','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','TEST_INIT','WNpLa','kpvkq','FzlbM','getCurrentAccessibilityStatus','getName','OzRDg','join','accessibilityToken','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','getPlatformIndex','capabilitiesList','QHSDE','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','getScriptsList','debug','\x20result\x20for\x20','browserstack.accessibilityOptions.scannerProcessingTimeout','../../playwright/accessibility-helper','1037580aHHpus',',\x20excludeTags=','iwlPD','\x22browserstack.key\x22:\x22[REDACTED]\x22','weGjr','yzjNT','ISnBF','SrMJG','../state/automationFrameworkState','wFSOv','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','UiaXj','AAsUJ','Xxmja','executeScriptByName:\x20No\x20','ZmdbK','updateData','browserVersion','jSrgC','bGnBM','saveResults','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','CPWbh','__workerDetails','commandName','homTR','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','qGTYt','excludeTagsInTestingScope','GET_RESULTS_SUMMARY','getTestFrameworkDetail','hVkri','performPageScan:\x20Page\x20is\x20null','env',',\x20isAppAccessibility=','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','ECKoD','format','VsQgw','browserName','No\x20summaryResults\x20found.','\x20using\x20script:\x20','LIpDs','Unknown\x20Test','measureWrapper','KEY_TESTHUB_BUILD_ID','CznEO','bind','getLogDisabledShown','scannerProcessingTimeout','latest','hasAccessibilityExecuteParams','../../../helpers/accessibility-automation/constants','args','getTestDetails','loadAccessibilityConfig','Error\x20in\x20initAccessibilityConfig:\x20','true','hgHVx','EXgIl','gpIlV','registerObserver','accessibilityPlatform','command','stringify','SVoOx','isArray','setAccessibilityConfig','cucumber','WFord','BPjrn','loadDriverExecuteParams','size','getAllData'];a80_0x5525=function(){return _0x4ccc70;};return a80_0x5525();}class AccessibilityModule extends BaseModule{static [a80_0x556882(0x25f)]=AccessibilityModule[a80_0x556882(0x1cb)];static [a80_0x556882(0x18a)]=![];static [a80_0x556882(0x237)]={};constructor(_0x374e74){const _0x358712=a80_0x556882,_0xeb5513={};_0xeb5513['QVTCj']=_0x358712(0x1ce),_0xeb5513[_0x358712(0x11e)]=_0x358712(0x218),_0xeb5513[_0x358712(0x217)]=_0x358712(0x22a),_0xeb5513[_0x358712(0x172)]=_0x358712(0xfe),_0xeb5513['eGFzS']='DRIVER_HAS_URL';const _0x59d3e5=_0xeb5513,_0x27c2a3=_0x59d3e5[_0x358712(0x1e3)]['split']('|');let _0x3f497b=0x0;while(!![]){switch(_0x27c2a3[_0x3f497b++]){case'0':AutomationFramework[_0x358712(0x131)](AutomationFrameworkState['CREATE'],HookState[_0x358712(0x293)],this['onBeforeTest'][_0x358712(0x123)](this));continue;case'1':this['accessibility']=new Map();continue;case'2':this[_0x358712(0x29a)]=_0x374e74[_0x358712(0x1be)]();continue;case'3':this[_0x358712(0x289)]=![];continue;case'4':this[_0x358712(0x121)]=_0x59d3e5['LIpDs'];continue;case'5':this[_0x358712(0x144)]=!![];continue;case'6':this[_0x358712(0x228)]=![];continue;case'7':AutomationFramework[_0x358712(0x131)](AutomationFrameworkState['EXECUTE'],HookState[_0x358712(0x156)],this['onBeforeExecute'][_0x358712(0x123)](this));continue;case'8':this[_0x358712(0x1ae)]=new Map();continue;case'9':this[_0x358712(0x162)]=_0x59d3e5[_0x358712(0x217)];continue;case'10':this[_0x358712(0x147)](_0x374e74[_0x358712(0x25c)]()[_0x358712(0x1f5)]());continue;case'11':logger[_0x358712(0x2be)](_0x59d3e5[_0x358712(0x172)]);continue;case'12':this[_0x358712(0x20a)]=[];continue;case'13':super();continue;case'14':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x358712(0x21a)],HookState['PRE'],this[_0x358712(0x1fa)][_0x358712(0x123)](this));continue;case'15':this[_0x358712(0x1e8)]=_0x59d3e5[_0x358712(0x1c1)];continue;}break;}}[a80_0x556882(0x144)](){return this['isEnabled'];}[a80_0x556882(0x27b)](){const _0x5024d0=a80_0x556882;return AccessibilityModule[_0x5024d0(0x25f)];}[a80_0x556882(0x2b3)](){const _0x57e55f=a80_0x556882;return this[_0x57e55f(0x1dc)][_0x57e55f(0x188)](CLIUtils[_0x57e55f(0x26c)](),![]);}[a80_0x556882(0x124)](){const _0x738f02=a80_0x556882;return this[_0x738f02(0x1ae)][_0x738f02(0x188)](CLIUtils[_0x738f02(0x26c)](),![]);}[a80_0x556882(0x274)](_0x25eae3){const _0x5ab933=a80_0x556882;this[_0x5ab933(0x1ae)][_0x5ab933(0x262)](CLIUtils[_0x5ab933(0x26c)](),_0x25eae3);}[a80_0x556882(0x186)](){const _0x38fc1e=a80_0x556882,_0x114564={'VsQgw':_0x38fc1e(0x292),'REKvl':function(_0xe1590b,_0x598cb8){return _0xe1590b(_0x598cb8);},'gpIlV':_0x38fc1e(0x233),'SpTKn':_0x38fc1e(0x267),'pDZoS':_0x38fc1e(0x1a3)};if(this['_sendMessageServerPatchApplied']){logger[_0x38fc1e(0x2be)](_0x114564[_0x38fc1e(0x11a)]);return;}try{const _0x5d3b26=_0x114564[_0x38fc1e(0x145)](require,_0x114564[_0x38fc1e(0x130)]);_0x5d3b26&&_0x5d3b26['patchSendMessageToServer']?(_0x5d3b26[_0x38fc1e(0x1f9)](),this[_0x38fc1e(0x289)]=!![],logger[_0x38fc1e(0x2be)](_0x114564[_0x38fc1e(0x264)])):logger['debug'](_0x114564[_0x38fc1e(0x18e)]);}catch(_0x326c3e){logger[_0x38fc1e(0x2be)](_0x38fc1e(0x26e)+util['format'](_0x326c3e));}}[a80_0x556882(0x1e5)](_0x3e5d83=null,_0x3daf00=null,_0x31d232=null){const _0x1e762d=a80_0x556882,_0x1ec97f={'cUFbS':function(_0x2a1958,_0x960659){return _0x2a1958&&_0x960659;},'JwoGF':_0x1e762d(0x168),'VFAfK':function(_0x2babd6,_0x34d483){return _0x2babd6(_0x34d483);},'pitAr':_0x1e762d(0x265),'RniuD':'../../../helpers/helper','yFoqW':function(_0xd7034e){return _0xd7034e();},'SrMJG':_0x1e762d(0x1ac),'tIsiO':function(_0x28c499,_0x32f44f){return _0x28c499===_0x32f44f;},'FTjOv':_0x1e762d(0x1df),'Uwmxk':function(_0x2fa989,_0x5eff30){return _0x2fa989===_0x5eff30;},'UcSsU':_0x1e762d(0x181),'vvLrj':function(_0x2583c8,_0x3dbbef){return _0x2583c8===_0x3dbbef;},'KMyCP':_0x1e762d(0x234),'IROaP':function(_0x2947e1,_0x12eec9){return _0x2947e1===_0x12eec9;},'WFord':_0x1e762d(0x12d),'fZSNk':function(_0x1426fb,_0x2ef727){return _0x1426fb===_0x2ef727;},'VUTqL':_0x1e762d(0x15f),'onMMX':_0x1e762d(0x219),'hvHOx':_0x1e762d(0x1a7),'HhEbS':function(_0x15110d,_0x41e3e7){return _0x15110d>_0x41e3e7;},'dNGlT':_0x1e762d(0x158),'ljclt':function(_0x18053c,_0x334f27){return _0x18053c!==_0x334f27;},'aVKex':_0x1e762d(0x126),'bXxZk':function(_0x4df04a,_0x1f1897){return _0x4df04a>_0x1f1897;},'iWeUl':function(_0x3c50c8,_0x4f3ebc){return _0x3c50c8(_0x4f3ebc);},'FAMvP':function(_0x37ebbe,_0x272226){return _0x37ebbe(_0x272226);},'zNwaA':_0x1e762d(0x15c)};try{if(_0x1ec97f[_0x1e762d(0x26b)](!_0x3daf00,!_0x31d232))return logger[_0x1e762d(0x2be)](_0x1ec97f[_0x1e762d(0x254)]),![];const {isAccessibilityAutomationSession:_0x49d50f}=_0x1ec97f[_0x1e762d(0x279)](require,_0x1ec97f[_0x1e762d(0x1db)]),{isUndefined:_0x54da39,isBrowserstackInfra:_0x2c1f8b}=_0x1ec97f[_0x1e762d(0x279)](require,_0x1ec97f[_0x1e762d(0x221)]);if(!_0x1ec97f[_0x1e762d(0x150)](_0x49d50f))return logger[_0x1e762d(0x2be)](_0x1ec97f[_0x1e762d(0x2c9)]),![];if(!(_0x3daf00[_0x1e762d(0x11b)]&&_0x1ec97f['tIsiO'](_0x3daf00[_0x1e762d(0x11b)][_0x1e762d(0x1b6)](),_0x1ec97f[_0x1e762d(0x28f)])||_0x3daf00[_0x1e762d(0x11b)]&&_0x1ec97f[_0x1e762d(0x208)](_0x3daf00[_0x1e762d(0x11b)][_0x1e762d(0x1b6)](),_0x1ec97f['UcSsU'])||_0x3daf00[_0x1e762d(0x1e4)]&&_0x1ec97f[_0x1e762d(0x208)](_0x3daf00[_0x1e762d(0x1e4)][_0x1e762d(0x1b6)](),_0x1ec97f[_0x1e762d(0x28f)])||_0x3daf00[_0x1e762d(0x1e4)]&&_0x1ec97f[_0x1e762d(0x16c)](_0x3daf00[_0x1e762d(0x1e4)][_0x1e762d(0x1b6)](),_0x1ec97f['UcSsU'])))return logger[_0x1e762d(0x248)](_0x1ec97f[_0x1e762d(0x1a9)]),![];try{const _0x29ff23=_0x3daf00[_0x1e762d(0x269)],_0x1f1d50=_0x1ec97f[_0x1e762d(0x2a7)](_0x29ff23,!![])||_0x1ec97f['IROaP'](_0x29ff23,_0x1ec97f['WFord'])||_0x1ec97f[_0x1e762d(0x290)](typeof _0x29ff23,_0x1ec97f['VUTqL'])&&_0x1ec97f[_0x1e762d(0x16c)](_0x29ff23[_0x1e762d(0x1b6)](),_0x1ec97f[_0x1e762d(0x139)]);if(_0x1f1d50)return logger[_0x1e762d(0x248)](_0x1ec97f['onMMX']),![];const _0x1a7145=_0x3daf00?.[_0x1e762d(0x27d)]?.[_0x1e762d(0x129)]||_0x3daf00?.[_0x1ec97f[_0x1e762d(0x1ad)]]?.['args']||[];if(Array[_0x1e762d(0x136)](_0x1a7145)&&_0x1a7145[_0x1e762d(0x169)](_0x14cd89=>typeof _0x14cd89===_0x1e762d(0x15f)&&(_0x14cd89===_0x1e762d(0x26f)||_0x14cd89[_0x1e762d(0x272)]('--headless=')&&_0x14cd89!==_0x1e762d(0x1d7))))return logger[_0x1e762d(0x248)](_0x1ec97f[_0x1e762d(0x196)]),![];}catch(_0xaca35f){logger[_0x1e762d(0x2be)]('Error\x20checking\x20headless\x20capability:\x20'+util[_0x1e762d(0x119)](_0xaca35f));}if(!_0x1ec97f[_0x1e762d(0x150)](_0x2c1f8b)){if(!_0x1ec97f['HhEbS'](_0x1ec97f[_0x1e762d(0x279)](parseFloat,_0x3daf00[_0x1e762d(0x105)]),_0x1ec97f[_0x1e762d(0x279)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x1e762d(0x248)](_0x1ec97f['dNGlT']),![];}else{if(_0x1ec97f[_0x1e762d(0x180)](_0x3daf00[_0x1e762d(0x105)],_0x1ec97f[_0x1e762d(0x223)])&&!_0x1ec97f[_0x1e762d(0x22f)](_0x1ec97f[_0x1e762d(0x157)](parseFloat,_0x3daf00[_0x1e762d(0x105)]),_0x1ec97f['FAMvP'](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x1e762d(0x248)](_0x1ec97f[_0x1e762d(0x194)]),![];}return!![];}catch(_0x357deb){return logger[_0x1e762d(0x2be)]('Exception\x20in\x20isPlatformSupported:\x20'+_0x357deb[_0x1e762d(0x165)]),![];}}[a80_0x556882(0x226)](_0x310389=[],_0x42e039,_0x1e5d2b='cucumber'){const _0x5db5a7=a80_0x556882,_0x463c74={'xepMA':function(_0x10ac74,_0x1cdde1){return _0x10ac74===_0x1cdde1;},'LJHiQ':_0x5db5a7(0x1cd),'urgGN':function(_0x23f602,_0x3c16a8){return _0x23f602||_0x3c16a8;},'QHSDE':function(_0x53a34b,_0x624af){return _0x53a34b&&_0x624af;},'faidn':'unknown','ZsZfl':function(_0x4fd5a1,_0x2eb849){return _0x4fd5a1(_0x2eb849);},'HmFFN':function(_0x36255a,_0x6c9935){return _0x36255a>_0x6c9935;}};try{const _0x48dc41=process['env'][_0x5db5a7(0x1ea)]?JSON[_0x5db5a7(0x21b)](process['env'][_0x5db5a7(0x1ea)]):null;if(!_0x48dc41)return!![];const _0x4c6ced=Array[_0x5db5a7(0x136)](_0x48dc41[_0x5db5a7(0x179)])?_0x48dc41[_0x5db5a7(0x179)]:[],_0x4e3575=Array['isArray'](_0x48dc41[_0x5db5a7(0x110)])?_0x48dc41['excludeTagsInTestingScope']:[];if(_0x463c74[_0x5db5a7(0x17f)](_0x1e5d2b,_0x463c74['LJHiQ'])){let _0x12ddc8;Array[_0x5db5a7(0x136)](_0x310389)?_0x12ddc8=_0x310389[_0x5db5a7(0x2b6)]('\x20'):_0x12ddc8=_0x463c74[_0x5db5a7(0x21d)](_0x310389,'');const _0x192e55=_0x4e3575[_0x5db5a7(0x169)](_0x2a8d1a=>_0x12ddc8[_0x5db5a7(0x146)](_0x2a8d1a)),_0x13d51f=_0x463c74[_0x5db5a7(0x17f)](_0x4c6ced[_0x5db5a7(0x231)],0x0)||_0x4c6ced[_0x5db5a7(0x169)](_0x3d66c3=>_0x12ddc8[_0x5db5a7(0x146)](_0x3d66c3)),_0x2d0e64=_0x463c74[_0x5db5a7(0x2bb)](!_0x192e55,_0x13d51f);return logger[_0x5db5a7(0x2be)](_0x5db5a7(0x198)+(_0x42e039?.[_0x5db5a7(0x2b9)]?.()||_0x463c74[_0x5db5a7(0x1bd)])+_0x5db5a7(0x1b2)+_0x2d0e64+_0x5db5a7(0x263)+_0x12ddc8+_0x5db5a7(0x15d)+JSON[_0x5db5a7(0x134)](_0x4c6ced)+_0x5db5a7(0x2c3)+JSON['stringify'](_0x4e3575)),_0x2d0e64;}const _0x2ce3bc=Array[_0x5db5a7(0x136)](_0x310389)?_0x310389:[];let _0x3d2f72=![],_0x525c67=_0x463c74[_0x5db5a7(0x17f)](_0x4c6ced[_0x5db5a7(0x231)],0x0);const _0x575290=_0x414948=>typeof _0x414948==='string'?_0x414948[_0x5db5a7(0x1d4)](/^@/,'')[_0x5db5a7(0x1b6)]()[_0x5db5a7(0x20d)]():_0x414948,_0x137799=new Set(_0x4c6ced[_0x5db5a7(0x189)](_0x575290)),_0x585e4a=new Set(_0x4e3575[_0x5db5a7(0x189)](_0x575290));for(const _0x55ed92 of _0x2ce3bc){const _0x1f15bd=_0x463c74['ZsZfl'](_0x575290,_0x55ed92);_0x585e4a['has'](_0x1f15bd)&&(_0x3d2f72=!![]),_0x463c74[_0x5db5a7(0x27f)](_0x137799[_0x5db5a7(0x13c)],0x0)&&_0x137799[_0x5db5a7(0x14e)](_0x1f15bd)&&(_0x525c67=!![]);}const _0x823e7f=_0x463c74[_0x5db5a7(0x2bb)](_0x525c67,!_0x3d2f72);return logger[_0x5db5a7(0x2be)](_0x5db5a7(0x198)+(_0x42e039?.[_0x5db5a7(0x2b9)]?.()||_0x463c74[_0x5db5a7(0x1bd)])+']\x20isEnabledTestcase\x20(cucumber)\x20result='+_0x823e7f+_0x5db5a7(0x29e)+JSON[_0x5db5a7(0x134)](_0x2ce3bc)+_0x5db5a7(0x15d)+JSON[_0x5db5a7(0x134)](_0x4c6ced)+_0x5db5a7(0x2c3)+JSON[_0x5db5a7(0x134)](_0x4e3575)),_0x823e7f;}catch(_0x20fda6){return logger[_0x5db5a7(0x2be)](_0x5db5a7(0x198)+(_0x42e039?.['getPlatformIndex']?.()||_0x463c74['faidn'])+_0x5db5a7(0x27e)+_0x20fda6[_0x5db5a7(0x165)]),![];}}async[a80_0x556882(0x175)](_0x2ee4c8){const _0x1f13f4=a80_0x556882,_0x1d4c63={};_0x1d4c63[_0x1f13f4(0x13a)]=function(_0x412297,_0x48321b){return _0x412297!==_0x48321b;},_0x1d4c63[_0x1f13f4(0x291)]=_0x1f13f4(0x138),_0x1d4c63['OzRDg']=function(_0x2a0223,_0x47ed2d){return _0x2a0223!==_0x47ed2d;},_0x1d4c63['KrFbJ']='jest',_0x1d4c63[_0x1f13f4(0x12f)]=_0x1f13f4(0x1a6),_0x1d4c63[_0x1f13f4(0x1b7)]=_0x1f13f4(0x2af),_0x1d4c63[_0x1f13f4(0x23e)]=_0x1f13f4(0x204),_0x1d4c63['nhAwr']=_0x1f13f4(0x2ae),_0x1d4c63[_0x1f13f4(0x2c8)]=_0x1f13f4(0x24d),_0x1d4c63['ZLhqD']=function(_0x2e0957,_0x52ceeb){return _0x2e0957===_0x52ceeb;},_0x1d4c63['Xxmja']=_0x1f13f4(0x10e),_0x1d4c63[_0x1f13f4(0x227)]=function(_0x3e410b,_0x38c4a0){return _0x3e410b===_0x38c4a0;},_0x1d4c63[_0x1f13f4(0x191)]=_0x1f13f4(0x11f),_0x1d4c63[_0x1f13f4(0x23a)]=function(_0x1436b6,_0x55b35e){return _0x1436b6>_0x55b35e;},_0x1d4c63[_0x1f13f4(0x1a1)]='function',_0x1d4c63[_0x1f13f4(0x1b4)]=_0x1f13f4(0x247),_0x1d4c63[_0x1f13f4(0x14a)]=function(_0x362cdc,_0x492509){return _0x362cdc&&_0x492509;},_0x1d4c63[_0x1f13f4(0x1fe)]=_0x1f13f4(0x200),_0x1d4c63[_0x1f13f4(0x257)]=_0x1f13f4(0x12d);const _0xbd5aaf=_0x1d4c63;if(_0xbd5aaf[_0x1f13f4(0x13a)](_0x2ee4c8[_0x1f13f4(0x28d)],_0xbd5aaf[_0x1f13f4(0x291)])&&_0xbd5aaf[_0x1f13f4(0x2b5)](_0x2ee4c8[_0x1f13f4(0x28d)],_0xbd5aaf[_0x1f13f4(0x1b8)])){logger[_0x1f13f4(0x2be)](_0xbd5aaf[_0x1f13f4(0x12f)]);return;}logger[_0x1f13f4(0x16f)]('onBeforeTest:\x20event='+JSON['stringify'](_0x2ee4c8));try{const _0x378a74=AutomationFramework[_0x1f13f4(0x1aa)](),_0x2fd691=TestFramework[_0x1f13f4(0x1aa)](),_0x53179f=_0x2ee4c8[_0x1f13f4(0x13f)]||global[_0x1f13f4(0x10b)]?.[_0x1f13f4(0x213)]||null;if(!_0x53179f){_0x2fd691&&_0x2fd691[_0x1f13f4(0x104)](_0xbd5aaf[_0x1f13f4(0x1b7)],!![]);logger[_0x1f13f4(0x2be)](_0xbd5aaf['nXUBR']);return;}logger[_0x1f13f4(0x2be)](_0xbd5aaf[_0x1f13f4(0x17e)]);const _0x251a69=_0x2fd691?.[_0x1f13f4(0x199)](_0xbd5aaf[_0x1f13f4(0x2c8)],![]),_0x3e9a74=_0x2fd691?.['getData'](_0xbd5aaf[_0x1f13f4(0x1b7)],![]);if(_0xbd5aaf[_0x1f13f4(0x13e)](_0x251a69,![])&&_0xbd5aaf['ZLhqD'](_0x3e9a74,![])){_0x2fd691&&_0x2fd691[_0x1f13f4(0x104)](_0xbd5aaf[_0x1f13f4(0x2c8)],!![]);logger['debug'](_0xbd5aaf[_0x1f13f4(0x101)]);return;}_0x2fd691&&_0x2fd691[_0x1f13f4(0x104)](_0xbd5aaf[_0x1f13f4(0x1b7)],!![]);let _0x3fcb13,_0x57af1d;const _0x364e55=_0x2ee4c8[_0x1f13f4(0x28d)]||_0xbd5aaf[_0x1f13f4(0x291)];if(_0xbd5aaf['qWAmW'](_0x364e55,_0xbd5aaf[_0x1f13f4(0x1b8)])){_0x57af1d=_0x2ee4c8[_0x1f13f4(0x1a4)]?.[_0x1f13f4(0x261)]||_0x2ee4c8[_0x1f13f4(0x1a4)]?.['id']||global[_0x1f13f4(0x1a2)]||global[_0x1f13f4(0x10b)]?.['currentTest']?.[_0x1f13f4(0x261)]||global[_0x1f13f4(0x10b)]?.['currentTest']?.['id'];const _0x39876e=_0x2fd691?.[_0x1f13f4(0x13d)]()?.[_0x1f13f4(0x188)](_0x57af1d);if(_0x39876e&&_0x39876e[TestFrameworkConstants[_0x1f13f4(0x1bc)]])_0x3fcb13=_0x39876e[TestFrameworkConstants['KEY_TEST_NAME']];else{if(_0x2ee4c8[_0x1f13f4(0x1a4)]?.[_0x1f13f4(0x273)])_0x3fcb13=_0x2ee4c8[_0x1f13f4(0x1a4)][_0x1f13f4(0x273)];else global['__workerDetails']?.[_0x1f13f4(0x252)]?.['testInfo']?.[_0x1f13f4(0x273)]?_0x3fcb13=global['__workerDetails'][_0x1f13f4(0x252)]['testInfo'][_0x1f13f4(0x273)]:_0x3fcb13=_0xbd5aaf['lLJnp'];}logger[_0x1f13f4(0x2be)](_0x1f13f4(0x1bb)+_0x57af1d+_0x1f13f4(0x263)+JSON[_0x1f13f4(0x134)](_0x3fcb13));}else{_0x57af1d=this['getTestId'](_0x2ee4c8);const _0x5458ba=TestInfo[_0x1f13f4(0x12a)](_0x57af1d);let _0x266d60=[];if(_0x5458ba&&Array[_0x1f13f4(0x136)](_0x5458ba[_0x1f13f4(0x247)])&&_0xbd5aaf[_0x1f13f4(0x23a)](_0x5458ba['test_tags'][_0x1f13f4(0x231)],0x0))_0x266d60=_0x5458ba[_0x1f13f4(0x247)];else{if(_0x2fd691){const _0x412b0d=_0xbd5aaf[_0x1f13f4(0x13e)](typeof _0x2fd691[_0x1f13f4(0x199)],_0xbd5aaf[_0x1f13f4(0x1a1)])?_0x2fd691[_0x1f13f4(0x199)](_0xbd5aaf[_0x1f13f4(0x1b4)],[]):_0x2fd691['test_tags']||[];Array[_0x1f13f4(0x136)](_0x412b0d)&&(_0x266d60=_0x412b0d);}}_0x3fcb13=_0x266d60;}logger[_0x1f13f4(0x16f)]('test-tags-->\x20'+JSON[_0x1f13f4(0x134)](_0x3fcb13));const _0x3c9825=this['isPlatformSupported'](_0x378a74,_0x2ee4c8['platformCaps'],_0x2ee4c8[_0x1f13f4(0x1b9)]);logger[_0x1f13f4(0x2be)](_0x1f13f4(0x1c2)+_0x3c9825+_0x1f13f4(0x116)+this[_0x1f13f4(0x228)]);const _0x425c43=this[_0x1f13f4(0x226)](_0x3fcb13,_0x378a74,_0x364e55),_0x40bdb3=_0xbd5aaf[_0x1f13f4(0x14a)](_0x3c9825,_0x425c43),_0x59474d=CLIUtils[_0x1f13f4(0x26c)]();this['accessibility'][_0x1f13f4(0x262)](_0x59474d,_0x40bdb3),global['Context']?.[_0x1f13f4(0x21f)]&&global[_0x1f13f4(0x148)][_0x1f13f4(0x21f)]()[_0x1f13f4(0x2a3)](_0x40bdb3),logger['debug'](_0x1f13f4(0x198)+(_0x378a74?.['getPlatformIndex']?.()||_0xbd5aaf['ELedV'])+']\x20should\x20run\x20accessibility\x20value='+_0x40bdb3),_0x40bdb3?(global[_0x1f13f4(0x132)]=!![],process[_0x1f13f4(0x115)][_0x1f13f4(0x215)]=_0xbd5aaf[_0x1f13f4(0x257)],this['applySendMessageToServerPatch']()):global[_0x1f13f4(0x132)]=![];}catch(_0x28e02c){logger[_0x1f13f4(0x1ec)](_0x1f13f4(0x207)+(_0x28e02c[_0x1f13f4(0x1b0)]||_0x28e02c[_0x1f13f4(0x165)]));const _0x5e0305=CLIUtils['getCurrentInstanceName']();this[_0x1f13f4(0x1dc)][_0x1f13f4(0x262)](_0x5e0305,![]),global[_0x1f13f4(0x132)]=![];}}['getGoogleChromeOptions'](){const _0xbf74f7=a80_0x556882;return this[_0xbf74f7(0x20a)][_0xbf74f7(0x276)](_0x6b4462=>_0x6b4462[_0xbf74f7(0x2b4)]()===_0xbf74f7(0x1a7))?.[_0xbf74f7(0x242)]()||'';}[a80_0x556882(0x260)](_0x4659db){const _0x55ac69=a80_0x556882;try{const _0x187da2=this['accessibilityConfig']?.[_0x55ac69(0x17d)]?.[_0x55ac69(0x2ba)]||[],_0x4955bd=_0x187da2[_0x55ac69(0x276)](_0x1002e2=>_0x1002e2['name']===_0x4659db);return _0x4955bd?_0x4955bd[_0x55ac69(0x23f)]:null;}catch(_0x5d7d46){return logger['debug'](_0x55ac69(0x20c)+_0x4659db+':\x20'+_0x5d7d46[_0x55ac69(0x165)]),null;}}async['setAccessibilityConfig'](_0x31be7e,_0x943200){const _0x4bd6af=a80_0x556882,_0x1318d3=_0x31be7e[_0x4bd6af(0x287)]()[_0x4bd6af(0x25c)](),_0x9cf3af=_0x1318d3[_0x4bd6af(0x2bd)](),_0x2fca17=_0x1318d3[_0x4bd6af(0x1b1)]()?.[_0x4bd6af(0x201)]();scripts['parseFromProto'](_0x9cf3af,_0x2fca17),scripts['toJson']();const _0xfde3a4=_0x1318d3[_0x4bd6af(0x1f5)]();this[_0x4bd6af(0x20a)]=_0x1318d3[_0x4bd6af(0x1f5)](),await this[_0x4bd6af(0x147)](_0xfde3a4,_0x943200[_0x4bd6af(0x1b9)]);}async[a80_0x556882(0x147)](_0x4ee5e4,_0x2462e0={}){const _0x15954d=a80_0x556882,_0xdde692={'NjhzR':function(_0x478003,_0x455ec6){return _0x478003===_0x455ec6;},'zfASX':_0x15954d(0x2b7),'eoEeZ':'browserstack.accessibilityOptions.authToken','yzjNT':function(_0x1b4562,_0x4a9c67){return _0x1b4562(_0x4a9c67);},'SXGjR':'../../../helpers/accessibility-automation/helper','zIqco':function(_0x23b731,_0x956a0f){return _0x23b731(_0x956a0f);},'FQWhF':_0x15954d(0x1d5),'HDiOt':_0x15954d(0x1e0),'bTuZi':_0x15954d(0x19b),'XRttT':'scannerVersion','ldHnD':'browserstack.accessibilityOptions.scannerVersion','Qqvyz':_0x15954d(0x125),'Kytlg':_0x15954d(0x2c0)};global[_0x15954d(0x173)]=global[_0x15954d(0x173)]||{};for(const _0x418ec4 of _0x4ee5e4){logger[_0x15954d(0x16f)](_0x15954d(0x1d6)+_0x418ec4[_0x15954d(0x2b4)]()+_0x15954d(0x249)+_0x418ec4[_0x15954d(0x242)]());if(_0xdde692[_0x15954d(0x24c)](_0x418ec4[_0x15954d(0x2b4)](),_0xdde692[_0x15954d(0x15b)])){const _0x258e90=_0x418ec4['getValue']();process[_0x15954d(0x115)][_0x15954d(0x278)]=_0x258e90,global[_0x15954d(0x173)][_0xdde692[_0x15954d(0x161)]]=_0x258e90;const _0x38759a=_0xdde692[_0x15954d(0x2c7)](require,_0xdde692[_0x15954d(0x19d)]),{isTrue:_0x290faf}=_0xdde692[_0x15954d(0x29f)](require,_0xdde692[_0x15954d(0x1c6)]),_0x44e50c=_0x38759a[_0x15954d(0x245)](_0x258e90);_0x44e50c&&_0xdde692[_0x15954d(0x29f)](_0x290faf,_0x44e50c[_0x15954d(0x1ab)])&&(process[_0x15954d(0x115)][_0x15954d(0x14c)]=!![]);}else{if(_0xdde692[_0x15954d(0x24c)](_0x418ec4[_0x15954d(0x2b4)](),_0xdde692[_0x15954d(0x1fd)]))global[_0x15954d(0x173)][_0xdde692[_0x15954d(0x1ee)]]=_0x418ec4['getValue']();else{if(_0xdde692[_0x15954d(0x24c)](_0x418ec4[_0x15954d(0x2b4)](),_0xdde692['XRttT']))global[_0x15954d(0x173)][_0xdde692[_0x15954d(0x14d)]]=_0x418ec4[_0x15954d(0x242)]();else _0xdde692[_0x15954d(0x24c)](_0x418ec4['getName'](),_0xdde692['Qqvyz'])&&(global[_0x15954d(0x173)][_0xdde692[_0x15954d(0x22e)]]=_0x418ec4[_0x15954d(0x242)]());}}}}async['onAfterTest'](_0x38522d){const _0x31beb5=a80_0x556882,_0x27a96c={};_0x27a96c[_0x31beb5(0x1c4)]=function(_0x4c2328,_0x2cc6d4){return _0x4c2328!==_0x2cc6d4;},_0x27a96c[_0x31beb5(0x23c)]='cucumber',_0x27a96c[_0x31beb5(0x22c)]='jest',_0x27a96c[_0x31beb5(0x16e)]=_0x31beb5(0x15e),_0x27a96c['vMlKQ']=_0x31beb5(0x200);const _0x2cb40d=_0x27a96c;if(_0x2cb40d[_0x31beb5(0x1c4)](_0x38522d['testFramework'],_0x2cb40d[_0x31beb5(0x23c)])&&_0x2cb40d[_0x31beb5(0x1c4)](_0x38522d[_0x31beb5(0x28d)],_0x2cb40d[_0x31beb5(0x22c)])){logger[_0x31beb5(0x2be)](_0x2cb40d[_0x31beb5(0x16e)]);return;}const _0x3c5542=_0x38522d['testInfo']?.[_0x31beb5(0x261)]||_0x38522d['testInfo']?.['id']||global['__jestCurrentTestIdentifier'];logger['info'](_0x31beb5(0x19f)+_0x38522d[_0x31beb5(0x28d)]+_0x31beb5(0x19c)+_0x3c5542);try{const _0x928f47=_0x38522d[_0x31beb5(0x20f)]||AutomationFramework[_0x31beb5(0x1aa)](),_0x9cc974=CLIUtils[_0x31beb5(0x26c)](),_0x243b47=this[_0x31beb5(0x2b3)]();logger[_0x31beb5(0x2be)](_0x31beb5(0x198)+(_0x928f47?.['getPlatformIndex']?.()||_0x2cb40d['vMlKQ'])+']\x20onAfterTest\x20should\x20scan='+_0x243b47),_0x243b47&&await this['stopTestCapture'](_0x928f47,_0x38522d),this[_0x31beb5(0x1dc)][_0x31beb5(0x2ac)](_0x9cc974),this['LOG_DISABLED_SHOWN'][_0x31beb5(0x2ac)](_0x9cc974);}catch(_0x5a6873){logger[_0x31beb5(0x1ec)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x5a6873[_0x31beb5(0x1b0)]||_0x5a6873[_0x31beb5(0x165)]));}}async[a80_0x556882(0x25a)](_0x2ddb1e,_0x290fdc){const _0x5412d8=a80_0x556882,_0x3f9ebd={};_0x3f9ebd[_0x5412d8(0x28c)]=function(_0x3dfb3c,_0x164803){return _0x3dfb3c===_0x164803;},_0x3f9ebd[_0x5412d8(0x113)]=_0x5412d8(0x284),_0x3f9ebd[_0x5412d8(0x202)]='jest',_0x3f9ebd['JKgjm']=_0x5412d8(0x138),_0x3f9ebd[_0x5412d8(0x2b0)]=function(_0x55166f,_0x26bda7){return _0x55166f===_0x26bda7;},_0x3f9ebd['bWTKC']=_0x5412d8(0x109),_0x3f9ebd[_0x5412d8(0x1d9)]='accessibility',_0x3f9ebd[_0x5412d8(0x297)]=_0x5412d8(0x108),_0x3f9ebd[_0x5412d8(0x164)]=_0x5412d8(0x200),_0x3f9ebd[_0x5412d8(0x18c)]='present',_0x3f9ebd[_0x5412d8(0x107)]=_0x5412d8(0x1e9),_0x3f9ebd[_0x5412d8(0x1e1)]=function(_0x2a3c33,_0x14a4c2){return _0x2a3c33||_0x14a4c2;},_0x3f9ebd['jSrgC']=_0x5412d8(0x2a6),_0x3f9ebd['ZHPmJ']=_0x5412d8(0x1c9);const _0x219495=_0x3f9ebd;try{const _0x2728dc=_0x290fdc[_0x5412d8(0x28d)]||(_0x219495[_0x5412d8(0x28c)](this[_0x5412d8(0x299)]?.[_0x5412d8(0x1cb)]?.[_0x5412d8(0x1b6)](),_0x219495['KfFDR'])?_0x219495[_0x5412d8(0x202)]:_0x219495[_0x5412d8(0x22d)]);let _0x22e711='',_0x3469b1=null,_0x587802=null;if(_0x219495[_0x5412d8(0x2b0)](_0x2728dc,_0x219495[_0x5412d8(0x202)])){_0x3469b1=_0x290fdc[_0x5412d8(0x1a4)]?.[_0x5412d8(0x261)]||_0x290fdc[_0x5412d8(0x1a4)]?.['id']||global[_0x5412d8(0x1a2)];if(!_0x3469b1){logger[_0x5412d8(0x248)](_0x219495[_0x5412d8(0x1f6)]);return;}try{const _0x2017db=await GrpcClient[_0x5412d8(0x296)]()['fetchDriverExecuteParamsEvent'](process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x219495[_0x5412d8(0x1d9)],_0x219495[_0x5412d8(0x297)],_0x3469b1),_0x28c8d4=AccessibilityModule[_0x5412d8(0x13b)](null,_0x2017db);_0x22e711=_0x28c8d4?.['thTestRunUuid']||'',logger['debug']('[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x22e711+_0x5412d8(0x1c8)+_0x3469b1),_0x587802=_0x2017db;}catch(_0x30765d){logger[_0x5412d8(0x1ec)](_0x5412d8(0x2b8)+_0x30765d[_0x5412d8(0x165)]);return;}}else{const _0x59e2bb=this['getTestId'](_0x290fdc);_0x22e711=TestInfo[_0x5412d8(0x240)](_0x59e2bb);}const _0x44c7f1=((()=>{const _0x4a5e32=_0x5412d8,_0x1c5211=(this['accessibilityConfig']?.[_0x4a5e32(0x17d)]?.[_0x4a5e32(0x2ba)]||[])[_0x4a5e32(0x276)](_0x51519a=>(typeof _0x51519a[_0x4a5e32(0x2b4)]===_0x4a5e32(0x284)?_0x51519a[_0x4a5e32(0x2b4)]():_0x51519a[_0x4a5e32(0x1cb)])===this['KEY_TESTHUB_BUILD_ID']);return _0x1c5211?_0x219495[_0x4a5e32(0x28c)](typeof _0x1c5211['getValue'],_0x219495['hVkri'])?_0x1c5211['getValue']():_0x1c5211[_0x4a5e32(0x23f)]:'';})()),_0x3a32e6=process[_0x5412d8(0x115)][_0x5412d8(0x187)]||'';logger[_0x5412d8(0x2be)](_0x5412d8(0x198)+(_0x2ddb1e?.[_0x5412d8(0x2b9)]?.()||_0x219495[_0x5412d8(0x164)])+_0x5412d8(0x288)+_0x22e711+_0x5412d8(0x1d2)+_0x44c7f1+_0x5412d8(0x216)+(_0x3a32e6?_0x219495[_0x5412d8(0x18c)]:_0x219495[_0x5412d8(0x107)]));let _0x2a5457;if(_0x219495[_0x5412d8(0x2b0)](_0x2728dc,_0x219495[_0x5412d8(0x202)]))_0x2a5457=AccessibilityModule['loadDriverExecuteParams'](_0x22e711,_0x587802);else{const _0x531510=await GrpcClient['getInstance']()[_0x5412d8(0x246)](process[_0x5412d8(0x115)][_0x5412d8(0x2a2)],_0x219495[_0x5412d8(0x1d9)],_0x219495['MlPOA']);_0x2a5457=AccessibilityModule[_0x5412d8(0x13b)](_0x22e711,_0x531510);}logger[_0x5412d8(0x2be)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON[_0x5412d8(0x134)](_0x2a5457));const _0x337a9a=Object[_0x5412d8(0x185)]({},{'thTestRunUuid':_0x219495['QmfnQ'](_0x22e711,''),'thBuildUuid':_0x219495[_0x5412d8(0x1e1)](_0x44c7f1,''),'thJwtToken':_0x219495[_0x5412d8(0x1e1)](_0x3a32e6,'')},_0x2a5457);logger['debug']('[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid='+_0x22e711+_0x5412d8(0x116)+this['isAppAccessibility']);let _0x2e900d=global[_0x5412d8(0x10b)]?.[_0x5412d8(0x213)]||null;!_0x2e900d&&(_0x2e900d=AutomationFramework[_0x5412d8(0x18b)](_0x2ddb1e,_0x219495[_0x5412d8(0x106)],null)),!_0x2e900d&&(_0x2e900d=AutomationFramework[_0x5412d8(0x18b)](_0x2ddb1e,_0x219495[_0x5412d8(0x16d)],null)),await this[_0x5412d8(0x25d)](this[_0x5412d8(0x2b3)](),_0x22e711,_0x2e900d,_0x337a9a,this[_0x5412d8(0x228)]);}catch(_0x4e660c){logger['error']('Error\x20in\x20stopTestCapture:\x20'+(_0x4e660c[_0x5412d8(0x1b0)]||_0x4e660c[_0x5412d8(0x165)]));}}async[a80_0x556882(0x25d)](_0x148e5c,_0x3e2b70,_0x31e562,_0x116302,_0x54771a){const _0x3a79a9=a80_0x556882,_0x2d084={};_0x2d084[_0x3a79a9(0x193)]=_0x3a79a9(0x108),_0x2d084[_0x3a79a9(0x1e6)]=function(_0x3ba57e,_0x8db466){return _0x3ba57e&&_0x8db466;},_0x2d084[_0x3a79a9(0x24e)]=_0x3a79a9(0x24f),_0x2d084[_0x3a79a9(0x100)]=function(_0x540d97,_0xdd33e9){return _0x540d97===_0xdd33e9;},_0x2d084[_0x3a79a9(0x1c5)]=_0x3a79a9(0x1e9),_0x2d084['CznEO']='Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found',_0x2d084[_0x3a79a9(0x275)]='Performing\x20scan\x20before\x20from\x20cli',_0x2d084[_0x3a79a9(0x222)]=_0x3a79a9(0x283),_0x2d084[_0x3a79a9(0x1cf)]=_0x3a79a9(0x1b5),_0x2d084['iwlPD']=function(_0x5b9995,_0x59d11a){return _0x5b9995&&_0x59d11a;},_0x2d084[_0x3a79a9(0x295)]=_0x3a79a9(0x2bc),_0x2d084[_0x3a79a9(0x177)]='a11y:save-results',_0x2d084[_0x3a79a9(0x143)]=_0x3a79a9(0x29c);const _0x549434=_0x2d084;try{const _0x26715e=this[_0x3a79a9(0x19e)](_0x549434['MthvL']);if(_0x549434['FmJqB'](!_0x54771a,!_0x26715e)){logger[_0x3a79a9(0x2be)](_0x549434[_0x3a79a9(0x24e)]);return;}if(!_0x3e2b70||_0x549434['AAsUJ'](_0x3e2b70,_0x549434[_0x3a79a9(0x1c5)])||_0x549434[_0x3a79a9(0x100)](_0x3e2b70,'')){logger['debug'](_0x549434[_0x3a79a9(0x122)]);return;}logger[_0x3a79a9(0x2be)]('Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20'+JSON[_0x3a79a9(0x134)](_0x116302)),_0x148e5c&&(logger[_0x3a79a9(0x2be)](_0x549434[_0x3a79a9(0x275)]),await this[_0x3a79a9(0x29b)](_0x31e562,_0x3e2b70,_0x549434[_0x3a79a9(0x222)],_0x116302,_0x54771a,_0x549434[_0x3a79a9(0x1cf)]),_0x549434[_0x3a79a9(0x2c4)](!_0x54771a,_0x26715e)&&(logger[_0x3a79a9(0x2be)](_0x549434[_0x3a79a9(0x295)]),await PerformanceTester[_0x3a79a9(0x120)](_0x549434[_0x3a79a9(0x177)],async()=>{const _0x544e9b=_0x3a79a9;await this[_0x544e9b(0x29b)](_0x31e562,_0x3e2b70,_0x549434['MthvL'],_0x116302,_0x54771a,_0x549434['MthvL']);})()),logger[_0x3a79a9(0x16f)](_0x549434['lAqMC']));}catch(_0x2337ea){logger[_0x3a79a9(0x1ec)](_0x3a79a9(0x250)+(_0x2337ea[_0x3a79a9(0x1b0)]||_0x2337ea[_0x3a79a9(0x165)]));}}async[a80_0x556882(0x1cc)](_0xbfca3b){const _0x4254d2=a80_0x556882,_0x3aa292={};_0x3aa292[_0x4254d2(0x14f)]=function(_0x2e2e79,_0x5429ad){return _0x2e2e79!==_0x5429ad;},_0x3aa292[_0x4254d2(0x241)]='cucumber',_0x3aa292[_0x4254d2(0xfd)]=_0x4254d2(0x1cd),_0x3aa292[_0x4254d2(0x171)]='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x3aa292[_0x4254d2(0x21c)]=_0x4254d2(0x200),_0x3aa292['CPWbh']=_0x4254d2(0x140),_0x3aa292['ZPMth']=function(_0x44d10e,_0x5454c4){return _0x44d10e===_0x5454c4;},_0x3aa292['UJPgi']=_0x4254d2(0x282),_0x3aa292['SZYYr']=_0x4254d2(0x1dc),_0x3aa292[_0x4254d2(0x230)]=_0x4254d2(0x1f7),_0x3aa292['tnuok']=_0x4254d2(0x1c3),_0x3aa292[_0x4254d2(0x190)]=_0x4254d2(0x218),_0x3aa292['Envmp']=_0x4254d2(0x1b5),_0x3aa292[_0x4254d2(0x270)]=_0x4254d2(0x1e9);const _0x4bbaa2=_0x3aa292;if(_0x4bbaa2[_0x4254d2(0x14f)](_0xbfca3b[_0x4254d2(0x28d)],_0x4bbaa2[_0x4254d2(0x241)])&&_0x4bbaa2['MeAhj'](_0xbfca3b[_0x4254d2(0x28d)],_0x4bbaa2['wFSOv'])){logger[_0x4254d2(0x2be)](_0x4bbaa2['OGufD']);return;}logger[_0x4254d2(0x2be)](_0x4254d2(0x2a0)+(_0xbfca3b[_0x4254d2(0x10c)]||_0x4bbaa2[_0x4254d2(0x21c)])+',\x20framework='+_0xbfca3b['testFramework']);try{const _0x466355=_0xbfca3b['instance']||AutomationFramework['getTrackedInstance'](),_0xc0ca87=TestFramework[_0x4254d2(0x1aa)](),_0x2beb09=_0xbfca3b[_0x4254d2(0x10c)]||_0xbfca3b[_0x4254d2(0x133)]?.[_0x4254d2(0x2b4)]();if(!_0x2beb09){logger[_0x4254d2(0x2be)](_0x4bbaa2[_0x4254d2(0x10a)]);return;}if(!this[_0x4254d2(0x2b3)]()){logger[_0x4254d2(0x2be)](_0x4254d2(0x117)+_0x2beb09);return;}if(!this['shouldScanForCommand'](_0x2beb09)){logger[_0x4254d2(0x2be)](_0x4254d2(0x195)+_0x2beb09+_0x4254d2(0x174));return;}const _0x5aae23=_0xbfca3b[_0x4254d2(0x13f)]||global[_0x4254d2(0x10b)]?.[_0x4254d2(0x213)];if(!_0x5aae23){logger[_0x4254d2(0x2be)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x2beb09);return;}let _0x2e6327='',_0x121f91=null;if(_0x4bbaa2[_0x4254d2(0x259)](_0xbfca3b[_0x4254d2(0x28d)],_0x4bbaa2[_0x4254d2(0xfd)])){_0x121f91=_0xbfca3b[_0x4254d2(0x1a4)]?.['testAnalyticsId']||_0xbfca3b[_0x4254d2(0x1a4)]?.['id']||global[_0x4254d2(0x1a2)];if(!_0x121f91){logger['warn'](_0x4bbaa2[_0x4254d2(0x21e)]);return;}try{const _0x458b15=await GrpcClient[_0x4254d2(0x296)]()[_0x4254d2(0x246)](process[_0x4254d2(0x115)][_0x4254d2(0x2a2)],_0x4bbaa2[_0x4254d2(0x280)],_0x4bbaa2['uNmgy'],_0x121f91),_0x581d9c=AccessibilityModule[_0x4254d2(0x13b)](null,_0x458b15);_0x2e6327=_0x581d9c?.[_0x4254d2(0x1d0)]||'',logger[_0x4254d2(0x2be)](_0x4254d2(0x239)+_0x2e6327+_0x4254d2(0x1c8)+_0x121f91);}catch(_0x13c8c3){logger['error'](_0x4254d2(0x163)+_0x13c8c3[_0x4254d2(0x165)]);return;}}else _0x2e6327=this[_0x4254d2(0x260)](_0x4bbaa2[_0x4254d2(0x197)])||'';const _0x38f8dc=this[_0x4254d2(0x260)](_0x4bbaa2[_0x4254d2(0x190)])||this[_0x4254d2(0x29a)][this[_0x4254d2(0x121)]]||null,_0x3ba540=process[_0x4254d2(0x115)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x4bf92a=this[_0x4254d2(0x18f)](_0x2beb09,_0x2e6327,_0x38f8dc,_0x3ba540),_0x6f932b=_0x4bbaa2[_0x4254d2(0x259)](_0xbfca3b[_0x4254d2(0x28d)],_0x4bbaa2[_0x4254d2(0xfd)])?await AccessibilityModule[_0x4254d2(0x28e)](_0x4bbaa2[_0x4254d2(0x1ed)],_0x2e6327,_0x121f91):await AccessibilityModule[_0x4254d2(0x28e)](_0x4bbaa2[_0x4254d2(0x1ed)],_0x2e6327);logger['info'](_0x4254d2(0x238)+(_0x4bf92a?JSON[_0x4254d2(0x134)](_0x4bf92a):_0x4bbaa2[_0x4254d2(0x270)]));const _0x1be02b=CLIUtils['mergeObject'](_0x4bf92a,_0x6f932b);logger['info'](_0x4254d2(0x20b)+(_0x1be02b?JSON[_0x4254d2(0x134)](_0x1be02b):_0x4bbaa2[_0x4254d2(0x270)])),logger[_0x4254d2(0x2be)](_0x4254d2(0x1de)+_0x2beb09);const _0x16caef=await this[_0x4254d2(0x29b)](_0x5aae23,_0x2e6327,_0x2beb09,_0x1be02b,this[_0x4254d2(0x228)]);logger[_0x4254d2(0x2be)](_0x4254d2(0x24a)+_0x2beb09+_0x4254d2(0x212)+_0x16caef);}catch(_0x252bd3){logger[_0x4254d2(0x1ec)](_0x4254d2(0x1d8)+(_0x252bd3[_0x4254d2(0x1b0)]||_0x252bd3[_0x4254d2(0x165)]));}}[a80_0x556882(0x1da)](){const _0x408dfa=a80_0x556882;return this[_0x408dfa(0x2b3)]();}['setShouldScanCurrentTest'](_0x119e0b){const _0x1536b0=a80_0x556882,_0xe9b6c4=CLIUtils[_0x1536b0(0x26c)]();this['accessibility'][_0x1536b0(0x262)](_0xe9b6c4,_0x119e0b);}async[a80_0x556882(0x285)](_0x384e02){const _0x595f8e=a80_0x556882,_0x2acd4f={};_0x2acd4f[_0x595f8e(0x142)]='unknown';const _0x33b753=_0x2acd4f;try{const _0x4568e4=_0x384e02[_0x595f8e(0x20f)]||AutomationFramework['getTrackedInstance'](),_0x5a1c7f=_0x4568e4?.[_0x595f8e(0x199)]?.()?.[_0x595f8e(0x188)]?.(this[_0x595f8e(0x162)])||![];if(_0x5a1c7f)return;PerformanceTester[_0x595f8e(0x2a5)](EVENTS[_0x595f8e(0x1f0)]);const _0x5864b1=await GrpcClient[_0x595f8e(0x296)]()['getAccessibilityConfig'](_0x384e02);_0x5864b1&&_0x5864b1['getAccessibility']&&_0x5864b1[_0x595f8e(0x287)]()&&_0x5864b1[_0x595f8e(0x287)]()[_0x595f8e(0x236)]()?(await this[_0x595f8e(0x12b)](_0x5864b1,_0x384e02),_0x4568e4?.[_0x595f8e(0x199)]&&_0x4568e4[_0x595f8e(0x199)]()[_0x595f8e(0x262)](this[_0x595f8e(0x162)],!![]),logger[_0x595f8e(0x2be)](_0x595f8e(0x198)+(_0x4568e4?.['getPlatformIndex']?.()||_0x33b753['fBwTE'])+']\x20Accessibility\x20configuration\x20initialized\x20successfully')):logger[_0x595f8e(0x2be)]('[platform\x20-\x20'+(_0x4568e4?.[_0x595f8e(0x2b9)]?.()||_0x33b753[_0x595f8e(0x142)])+']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration'),PerformanceTester[_0x595f8e(0x1d3)](EVENTS[_0x595f8e(0x1f0)]);}catch(_0x4b3eb8){PerformanceTester[_0x595f8e(0x1d3)](EVENTS[_0x595f8e(0x1f0)],![],_0x4b3eb8['message']),logger[_0x595f8e(0x1ec)](_0x595f8e(0x12c)+(_0x4b3eb8[_0x595f8e(0x1b0)]||_0x4b3eb8[_0x595f8e(0x165)]));}}async[a80_0x556882(0x12b)](_0x473ca3,_0x3d895c){const _0x3ac10c=a80_0x556882;await this[_0x3ac10c(0x137)](_0x473ca3,_0x3d895c);const _0x3f57d8=_0x473ca3[_0x3ac10c(0x287)]()[_0x3ac10c(0x25c)]();if(_0x3f57d8){const _0x24f70e=_0x473ca3[_0x3ac10c(0x183)]&&_0x473ca3['getTesthub']();_0x24f70e&&(this[_0x3ac10c(0x29a)][this[_0x3ac10c(0x121)]]=_0x24f70e[_0x3ac10c(0x2ab)]&&_0x24f70e[_0x3ac10c(0x2ab)]());}}[a80_0x556882(0x149)](_0x497ce7){const _0x200309=a80_0x556882,_0xd60631={};_0xd60631['vDlnV']=function(_0xc4ed4a,_0x138d36){return _0xc4ed4a===_0x138d36;};const _0x268963=_0xd60631;try{if(!_0x497ce7)return![];const _0x11241d=this['accessibilityConfig']?.[_0x200309(0x17d)]?.['commandsToWrap']?.[_0x200309(0x1ef)]||[],_0x2fa730=_0x11241d['some'](_0x4b3af3=>{const _0x53e504=_0x200309;return _0x4b3af3['name']&&_0x268963[_0x53e504(0x23b)](_0x4b3af3[_0x53e504(0x1cb)][_0x53e504(0x1b6)](),_0x497ce7[_0x53e504(0x1b6)]());});return logger[_0x200309(0x2be)](_0x200309(0x298)+_0x497ce7+_0x200309(0x266)+_0x2fa730+',\x20available\x20commands:\x20'+JSON['stringify'](_0x11241d['map'](_0x30e9b4=>_0x30e9b4['name']))),_0x2fa730;}catch(_0x3d29ad){return logger['debug'](_0x200309(0x211)+_0x3d29ad[_0x200309(0x165)]),![];}}['isBrowserstackScriptCommand'](_0x49baa3){const _0x37e2dc=a80_0x556882,_0x102996={};_0x102996['GFVgf']=function(_0x41d1e0,_0x5a99ed){return _0x41d1e0===_0x5a99ed;},_0x102996['TpNBv']=_0x37e2dc(0x15f),_0x102996[_0x37e2dc(0x214)]=_0x37e2dc(0x29d);const _0x25670c=_0x102996,_0x20772c=_0x49baa3[_0x37e2dc(0x19a)]&&_0x49baa3[_0x37e2dc(0x19a)]();return _0x20772c&&_0x25670c[_0x37e2dc(0x271)](typeof _0x20772c,_0x25670c[_0x37e2dc(0x159)])&&_0x20772c[_0x37e2dc(0x146)](_0x25670c['aUKlw']);}[a80_0x556882(0x178)](_0x1f1d16){const _0x304ffd=a80_0x556882,_0x51af5c={};_0x51af5c[_0x304ffd(0x18d)]=function(_0x8a068c,_0x418d9c){return _0x8a068c!==_0x418d9c;},_0x51af5c[_0x304ffd(0x251)]=_0x304ffd(0x15f),_0x51af5c[_0x304ffd(0xff)]=_0x304ffd(0x1dc),_0x51af5c[_0x304ffd(0x286)]='performScan',_0x51af5c[_0x304ffd(0x151)]=_0x304ffd(0x16b),_0x51af5c[_0x304ffd(0x155)]=_0x304ffd(0x1bf);const _0x15d2e8=_0x51af5c,_0x31b1d5=_0x1f1d16['getScript']&&_0x1f1d16[_0x304ffd(0x19a)]();if(!_0x31b1d5||_0x15d2e8[_0x304ffd(0x18d)](typeof _0x31b1d5,_0x15d2e8[_0x304ffd(0x251)]))return![];return _0x31b1d5[_0x304ffd(0x146)](_0x15d2e8[_0x304ffd(0xff)])||_0x31b1d5[_0x304ffd(0x146)](_0x15d2e8[_0x304ffd(0x286)])||_0x31b1d5[_0x304ffd(0x146)](_0x15d2e8[_0x304ffd(0x151)])||_0x31b1d5[_0x304ffd(0x146)](_0x15d2e8[_0x304ffd(0x155)]);}['getParamsForScanForCli'](_0x103724,_0x165249,_0x20ab8c,_0x50fa4d){const _0x24610f=a80_0x556882,_0x4073ee={};_0x4073ee[_0x24610f(0x1ba)]=function(_0x49fc34,_0x39b0de){return _0x49fc34||_0x39b0de;},_0x4073ee['enUup']=function(_0x491c9d,_0x8797a5){return _0x491c9d||_0x8797a5;};const _0x40d32b=_0x4073ee;return{'command':_0x103724,'thTestRunUuid':_0x40d32b['YZbMH'](_0x165249,''),'thBuildUuid':_0x40d32b[_0x24610f(0x1ba)](_0x20ab8c,''),'thJwtToken':_0x40d32b[_0x24610f(0x220)](_0x50fa4d,''),'timestamp':new Date()[_0x24610f(0x1ff)]()};}[a80_0x556882(0x19e)](_0x2cb7b4){const _0x16e4e4=a80_0x556882,_0x4c9e9f={};_0x4c9e9f['VCYTp']=function(_0x52eb6a,_0x2964fc){return _0x52eb6a||_0x2964fc;};const _0x40933d=_0x4c9e9f;try{const _0x13162f=this[_0x16e4e4(0x29a)]?.['options']?.[_0x16e4e4(0x1d1)]||[],_0x43dd63=_0x13162f[_0x16e4e4(0x276)](_0x581ef2=>_0x581ef2[_0x16e4e4(0x1cb)]===_0x2cb7b4);return _0x40933d[_0x16e4e4(0x184)](_0x43dd63,null);}catch(_0x22e71f){return logger[_0x16e4e4(0x2be)](_0x16e4e4(0x17a)+_0x2cb7b4+':\x20'+_0x22e71f[_0x16e4e4(0x165)]),null;}}async[a80_0x556882(0x28a)](_0x2c0c10,_0x493b94,_0x4ac9bd=null){const _0x557fcc=a80_0x556882,_0x3971a0={'ECKoD':function(_0x3eb449,_0x13b818){return _0x3eb449(_0x13b818);},'Iaiqc':_0x557fcc(0x2c1)};try{if(!_0x2c0c10)return logger[_0x557fcc(0x2be)](_0x557fcc(0x1f1)+_0x493b94),null;const _0x369580=this[_0x557fcc(0x19e)](_0x493b94);if(!_0x369580||!_0x369580[_0x557fcc(0x133)])return logger[_0x557fcc(0x2be)](_0x557fcc(0x102)+_0x493b94+_0x557fcc(0x1f8)),null;logger['debug'](_0x557fcc(0x255)+_0x493b94+'\x20accessibility\x20script\x20on\x20page');const _0x57038c=_0x3971a0[_0x557fcc(0x118)](require,_0x3971a0[_0x557fcc(0x243)]),_0x343416=_0x4ac9bd?await _0x57038c[_0x557fcc(0x1f4)](_0x2c0c10,_0x369580[_0x557fcc(0x133)],_0x4ac9bd):await _0x57038c[_0x557fcc(0x1f4)](_0x2c0c10,_0x369580['command']);return _0x343416;}catch(_0x3c7d18){return logger[_0x557fcc(0x1ec)](_0x557fcc(0x26a)+_0x493b94+':\x20'+(_0x3c7d18[_0x557fcc(0x1b0)]||_0x3c7d18[_0x557fcc(0x165)])),null;}}async[a80_0x556882(0x29b)](_0x1015dc,_0xba98e9,_0x3b655e,_0x13589f,_0x286657,_0x381edc='scan'){const _0xd7652=a80_0x556882,_0x11769d={'qGTYt':function(_0x251366,_0x3298fe){return _0x251366===_0x3298fe;},'hgHVx':_0xd7652(0x1b5),'JpfNp':function(_0x2b19e1,_0x5b6861){return _0x2b19e1(_0x5b6861);},'pJnHn':'../../playwright/accessibility-helper'};try{logger[_0xd7652(0x2be)](_0xd7652(0x205)+_0x3b655e+_0xd7652(0x11d)+_0x381edc);const _0x49d9ab=this[_0xd7652(0x19e)](_0x381edc);if(!_0x49d9ab||!_0x49d9ab[_0xd7652(0x133)]){logger[_0xd7652(0x2be)]('performScanForCli:\x20No\x20'+_0x381edc+'\x20script\x20available\x20in\x20scriptsList');return;}if(_0x11769d[_0xd7652(0x10f)](_0x381edc,_0x11769d[_0xd7652(0x12e)])){const _0x21d659=_0x11769d['JpfNp'](require,_0x11769d['pJnHn']),_0x19fc75={};_0x19fc75[_0xd7652(0x133)]=_0x3b655e;const _0x34d54b=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x78a220=_0xd7652;await _0x21d659[_0x78a220(0x1f4)](_0x1015dc,_0x49d9ab[_0x78a220(0x133)]);},_0x19fc75)();return logger['info']('Page\x20'+_0x381edc+'\x20result\x20for\x20'+_0x3b655e+':\x20'+util[_0xd7652(0x119)](_0x34d54b)),_0x34d54b;}const _0x242335=_0x11769d['JpfNp'](require,_0x11769d['pJnHn']),_0x58899b=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x105386=_0xd7652;await _0x242335['browserStackEvaluate'](_0x1015dc,_0x49d9ab[_0x105386(0x133)],_0x13589f);})();return logger[_0xd7652(0x16f)](_0xd7652(0x153)+_0x381edc+_0xd7652(0x2bf)+_0x3b655e+':\x20'+util[_0xd7652(0x119)](_0x58899b)),_0x58899b;}catch(_0x3e0d3e){logger['error'](_0xd7652(0x224)+_0x381edc+':\x20'+(_0x3e0d3e[_0xd7652(0x1b0)]||_0x3e0d3e['message']));}}async['validatePlatformForAccessibility'](_0xc8864c){const _0x37a6bd=a80_0x556882,_0x58cd8f={'LONxj':function(_0x39c51c,_0x10eb22){return _0x39c51c(_0x10eb22);},'cheUg':_0x37a6bd(0x265)};try{const _0x47d820=_0x58cd8f[_0x37a6bd(0x25e)](require,_0x58cd8f[_0x37a6bd(0x253)]);return await _0x47d820[_0x37a6bd(0x24b)](_0xc8864c);}catch(_0x5bbb7f){return logger[_0x37a6bd(0x1ec)](_0x37a6bd(0x258)+(_0x5bbb7f[_0x37a6bd(0x1b0)]||_0x5bbb7f['message'])),![];}}[a80_0x556882(0x25b)](_0x297f52,_0xaf1a01,_0x432587){const _0x556c48=a80_0x556882,_0x104553={'SWpJC':function(_0x2ec33b,_0x5919c9){return _0x2ec33b(_0x5919c9);},'sxXva':_0x556c48(0x2c1),'Uqpux':_0x556c48(0x166),'JuoFL':_0x556c48(0x2c5)};try{const _0x359074=_0x104553[_0x556c48(0x160)](require,_0x104553[_0x556c48(0x206)]);_0x359074[_0x556c48(0x25b)](_0x297f52,_0xaf1a01,_0x432587);const _0x2d19fc=JSON[_0x556c48(0x134)](_0x297f52)['replace'](/"browserstack\.user":"[^"]*"/g,_0x104553[_0x556c48(0x232)])[_0x556c48(0x1d4)](/"browserstack\.key":"[^"]*"/g,_0x104553[_0x556c48(0x256)]);logger[_0x556c48(0x2be)](_0x556c48(0x27c)+global[_0x556c48(0x132)]+'\x20'+_0x2d19fc);}catch(_0x27f329){logger['error'](_0x556c48(0x17c)+(_0x27f329[_0x556c48(0x1b0)]||_0x27f329[_0x556c48(0x165)]));}}async[a80_0x556882(0x1eb)](_0x1bf5b1){const _0x4a1add=a80_0x556882,_0x4c5da6={};_0x4c5da6[_0x4a1add(0x1b3)]=_0x4a1add(0x28b),_0x4c5da6[_0x4a1add(0x1ca)]='getResults';const _0x43ba67=_0x4c5da6;try{if(!this['getCurrentAccessibilityStatus']())return logger['warn'](_0x43ba67[_0x4a1add(0x1b3)]),[];const _0x432c40=await this[_0x4a1add(0x28a)](_0x1bf5b1,_0x43ba67[_0x4a1add(0x1ca)]);return _0x432c40||[];}catch(_0x2a95c2){return logger[_0x4a1add(0x1ec)](_0x4a1add(0x2a1)+(_0x2a95c2[_0x4a1add(0x1b0)]||_0x2a95c2['message'])),[];}}async[a80_0x556882(0x20e)](_0x38dd03){const _0x329309=a80_0x556882,_0x51dd04={'oZJvE':_0x329309(0x1b5),'PWDFX':'getResultsSummary','VGGeQ':_0x329309(0x1a0),'kpvkq':function(_0x849d01,_0x54f33b){return _0x849d01(_0x54f33b);},'YnJlT':_0x329309(0x170),'amQrK':function(_0x5d7b91,_0x2b3e17){return _0x5d7b91===_0x2b3e17;},'kDlMN':_0x329309(0x1cd),'homTR':_0x329309(0x23d),'LamVE':_0x329309(0x1dc),'eAlSQ':_0x329309(0x218),'ipVBJ':'getAccessibilityResultsSummary','SVoOx':_0x329309(0x1c3),'weGjr':_0x329309(0x281),'stgzU':_0x329309(0x11c)};try{if(!this[_0x329309(0x2b3)]())return logger['warn'](_0x51dd04[_0x329309(0x16a)]),{};const _0xf9fbf3=_0x51dd04[_0x329309(0x2b1)](require,_0x51dd04[_0x329309(0x2a8)]),_0x1a8c74=_0xf9fbf3[_0x329309(0x112)](),_0x43a8bf=_0x51dd04[_0x329309(0x209)](_0x1a8c74?.[_0x329309(0x1cb)]?.['toLowerCase'](),_0x51dd04[_0x329309(0x229)]);let _0x354da3='',_0xd3bedb=null,_0x4b6c90=null;if(_0x43a8bf){_0xd3bedb=global['__jestCurrentTestIdentifier']||global[_0x329309(0x10b)]?.['currentTest']?.[_0x329309(0x261)]||global[_0x329309(0x10b)]?.[_0x329309(0x252)]?.['id'];if(!_0xd3bedb)return logger[_0x329309(0x248)](_0x51dd04[_0x329309(0x10d)]),{};try{const _0x211850=await GrpcClient[_0x329309(0x296)]()['fetchDriverExecuteParamsEvent'](process['env'][_0x329309(0x2a2)],_0x51dd04[_0x329309(0x1fc)],_0x51dd04[_0x329309(0x2a9)],_0xd3bedb),_0x3b294e=AccessibilityModule[_0x329309(0x13b)](null,_0x211850);_0x354da3=_0x3b294e?.[_0x329309(0x1d0)]||'',logger[_0x329309(0x2be)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x354da3+'\x20from\x20testIdentifier='+_0xd3bedb);const _0xca47c2=await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x51dd04[_0x329309(0x2a9)],_0x354da3,_0xd3bedb),_0x599363=this[_0x329309(0x260)](_0x51dd04[_0x329309(0x1a8)])||this[_0x329309(0x29a)][this[_0x329309(0x121)]]||null,_0x38be24=process[_0x329309(0x115)][_0x329309(0x187)]||'',_0xe8c318=this['getParamsForScanForCli'](_0x51dd04[_0x329309(0x1f2)],_0x354da3,_0x599363,_0x38be24);_0x4b6c90=_0xf9fbf3['mergeObject'](_0xe8c318,_0xca47c2),logger[_0x329309(0x2be)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs='+JSON[_0x329309(0x134)](_0x4b6c90));}catch(_0x3b94be){return logger[_0x329309(0x1ec)]('getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x3b94be[_0x329309(0x165)]),{};}}else{_0x354da3=this[_0x329309(0x260)](_0x51dd04[_0x329309(0x135)])||'';const _0x3806c7=this['getCapabilityValue'](_0x51dd04['eAlSQ'])||this[_0x329309(0x29a)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x3d9082=process[_0x329309(0x115)][_0x329309(0x187)]||'';_0x4b6c90=this[_0x329309(0x18f)](_0x51dd04[_0x329309(0x1f2)],_0x354da3,_0x3806c7,_0x3d9082);}logger[_0x329309(0x2be)](_0x51dd04[_0x329309(0x2c6)]),await PerformanceTester[_0x329309(0x120)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x231172=_0x329309,_0x31393f=await this['executeScriptByName'](_0x38dd03,_0x51dd04['oZJvE'],_0x4b6c90);logger[_0x231172(0x2be)]('Scan\x20result:\x20'+util['format'](_0x31393f));},{'command':_0x51dd04[_0x329309(0x1f2)]})();const _0x14361f=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x329309(0x111)],async()=>{const _0x1ea5fc=_0x329309;return await this['executeScriptByName'](_0x38dd03,_0x51dd04[_0x1ea5fc(0x2a9)],_0x4b6c90);})();if(!_0x14361f)return logger[_0x329309(0x2be)](_0x51dd04[_0x329309(0x1f3)]),{};return _0x14361f;}catch(_0x56d9b1){return logger[_0x329309(0x1ec)]('Error\x20in\x20getAccessibilityResultsSummary:\x20'+(_0x56d9b1[_0x329309(0x1b0)]||_0x56d9b1[_0x329309(0x165)])),{};}}async[a80_0x556882(0x210)](_0x2c6e4b,_0x15aeb8,_0x1a3367=null){const _0x26b936=a80_0x556882,_0x46493b={};_0x46493b[_0x26b936(0x244)]=_0x26b936(0x114),_0x46493b[_0x26b936(0x192)]=_0x26b936(0x1c0),_0x46493b[_0x26b936(0x2b2)]='Executing\x20accessibility\x20script\x20on\x20page';const _0x4f2da7=_0x46493b;try{if(!_0x2c6e4b)return logger['debug'](_0x4f2da7['MWNVv']),null;if(!_0x15aeb8)return logger[_0x26b936(0x2be)](_0x4f2da7[_0x26b936(0x192)]),null;logger[_0x26b936(0x2be)](_0x4f2da7[_0x26b936(0x2b2)]);const _0x31748a=_0x1a3367?await _0x2c6e4b[_0x26b936(0x26d)](_0x15aeb8,_0x1a3367):await _0x2c6e4b['evaluate'](_0x15aeb8);return _0x31748a;}catch(_0x3230e4){return logger[_0x26b936(0x1ec)](_0x26b936(0x2aa)+(_0x3230e4[_0x26b936(0x1b0)]||_0x3230e4[_0x26b936(0x165)])),null;}}static[a80_0x556882(0x13b)](_0x52f4c3,_0x1beae3){const _0x434ab5=a80_0x556882,_0xe4ab41={};_0xe4ab41['doMZB']=_0x434ab5(0x1fb);const _0x15d7b9=_0xe4ab41,_0x7a811={};_0x7a811[_0x434ab5(0x1d0)]=_0x52f4c3;const _0x54b973=_0x7a811;let _0x4e3106={};if(_0x1beae3[_0x434ab5(0x236)]()&&_0x1beae3[_0x434ab5(0x127)]())try{_0x4e3106=JSON[_0x434ab5(0x21b)](new Buffer(_0x1beae3[_0x434ab5(0x2a4)]())[_0x434ab5(0x268)](_0x15d7b9[_0x434ab5(0x225)]));}catch(_0x26e21e){logger['error']('Error\x20parsing\x20accessibility\x20execute\x20params:\x20'+_0x26e21e[_0x434ab5(0x165)]),_0x4e3106={};}return CLIUtils[_0x434ab5(0x154)](_0x54b973,_0x4e3106);}static async[a80_0x556882(0x28e)](_0x2c5440,_0x3fdc9a='',_0x41cb4f=null){const _0x204ba8=a80_0x556882,_0xc9ed85={};_0xc9ed85[_0x204ba8(0x294)]=_0x204ba8(0x277),_0xc9ed85[_0x204ba8(0x103)]=_0x204ba8(0x1dc);const _0x2a9b1c=_0xc9ed85;try{if(!_0x41cb4f&&AccessibilityModule[_0x204ba8(0x18a)])return AccessibilityModule[_0x204ba8(0x237)];if(!process[_0x204ba8(0x115)][_0x204ba8(0x2a2)])return logger[_0x204ba8(0x1ec)](_0x2a9b1c['sWgNn']),{};const _0x27565b=await GrpcClient[_0x204ba8(0x296)]()[_0x204ba8(0x246)](process[_0x204ba8(0x115)][_0x204ba8(0x2a2)],_0x2a9b1c[_0x204ba8(0x103)],_0x2c5440,_0x41cb4f),_0x946f74=_0x41cb4f?AccessibilityModule[_0x204ba8(0x13b)](null,_0x27565b)?.[_0x204ba8(0x1d0)]||_0x3fdc9a:_0x3fdc9a,_0x4a424e=AccessibilityModule[_0x204ba8(0x13b)](_0x946f74,_0x27565b);return!_0x41cb4f&&(AccessibilityModule['_centralAuthA11yConfig']=_0x4a424e,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x4a424e;}catch(_0x3e62e3){return logger['error'](_0x204ba8(0x1a5)+_0x2c5440+':\x20'+(_0x3e62e3[_0x204ba8(0x1b0)]||_0x3e62e3[_0x204ba8(0x165)])),{};}}};function a80_0x2a0c(_0x1ae882,_0x579064){const _0x552542=a80_0x5525();return a80_0x2a0c=function(_0x2a0c16,_0x182dbb){_0x2a0c16=_0x2a0c16-0xfd;let _0x153004=_0x552542[_0x2a0c16];return _0x153004;},a80_0x2a0c(_0x1ae882,_0x579064);}module['exports']=AccessibilityModule;
1
+ const a80_0xc1370=a80_0x19c5;function a80_0x25e1(){const _0x272b80=['tfUsH','getCapabilitiesList','getBuildId','ruQEM','kjzhq','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','accessibility','isPlatformSupported:\x20caps\x20are\x20null','_sendMessageServerPatchApplied','../state/automationFrameworkState','mASLy','QBMLU','42567jeUHwe','FwirO','mZpXn','scannerVersion','./baseModule','info','getTrackedInstance','onBeforeExecute:\x20Command\x20','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','lVcVT','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','saUPZ','scriptsList','DItZr','latest','AuCuk','isArray','mergeObject','scan','isBrowserstackScriptCommand','../../../helpers/helper','kaAQz','shouldScanForCommand','Error\x20in\x20initAccessibilityConfig:\x20','OenTv','IEvtM','oPRiN','registerObserver','playwright-chromium','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','getAccessibilityExecuteParams','getResults','getValue','getCapabilityValue','MjpAD','testAnalyticsId','nadlf','map','fetchDriverExecuteParamsEvent','ueOyY','test-tags-->\x20','SDK_ACCESSIBILITY_CONFIG','alrEn',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20',']\x20isEnabledTestcase\x20(jest)\x20result=','iyRjn','join','\x20->\x20','lppYy','getSuccess','joDyM','\x20value=','oMIpV','HRlPG','YLOIi','bIiBv','getName','afterTestHook','../../../helpers/accessibility-automation/constants','capabilitiesList','browser','args','testInfo','executeScriptByName','metiV','onBeforeTest','Scan\x20result:\x20','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','3166dNSkRb',']\x20isEnabledTestcase\x20(cucumber)\x20result=','\x20accessibility\x20script\x20on\x20page','hciou',']\x20onAfterTest\x20should\x20scan=','error','browserVersion','commandName','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','zIjyb','getParamsForScanForCli','getAccessibilityResults','wcagVersion','cDfUb','updateData','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','EXECUTE','__jestCurrentTestIdentifier','aUUVY','lBuWY','shouldScanCurrentTest','VUHoW','lduTc','getCurrentAccessibilityStatus','NON_BROWSERSTACK_AUTOMATION_SESSIONS','loadAccessibilityConfig','getCommandsList','ZVDUJ','YYFuJ','JDMYo','true','finishScanningForCli','getAccessibility','__accessibilityOptions','MZSVz','setLogDisabledShown','../../playwright/accessibility-helper','VyFii','ugGfU','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','TUduO','dfgUQ',',\x20testName=','titlePath','getResultsSummary','BS_A11Y_JWT','COVUX','\x20testHubUuid=','EoKkp','YtkmC','kZVXB','saveResults','3|10|14|5|0|9|7|1|2|4|12|15|6|8|13|11','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','syBTE','getOptions','getCurrentInstanceName','browserstack.accessibilityOptions.wcagVersion','isEnabled','toObject','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','../state/hookState','start','ZsHCx','performPageScan:\x20Page\x20is\x20null','rfMBB','replace','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','Executing\x20','Executing\x20accessibility\x20script\x20on\x20page','KEY_TEST_NAME','\x20result\x20for\x20','sFLHR','MergedScanArgs:\x20','delete','\x20from\x20testIdentifier=','platformValidation','SAjOY','getScriptByName','Exception\x20in\x20isPlatformSupported:\x20','getInstance','loadDriverExecuteParams','TrackedInstance','Qwyfh',',\x20framework=','setShouldScanCurrentTest','jest','platformCaps','11LUzFmd','Error\x20applying\x20sendMessageToServer\x20patch:\x20','name','BROWSERSTACK_TEST_ACCESSIBILITY_YML','KEY_INIT','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','jtYpS','chromeOptions','util','getData','tNhHk','QHTdk','isEnabledTestcase','chrome','test_run_id','_centralAuthA11yConfig','DRIVER_INIT','bitMu','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','has','ZXALY','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','OMTQT','Jtwra','ceyJG','../../utils/playwright-patcher','gWcLb','prJoR','performScanForCli','JFwhR','POST','XsKjh','mbffT','3360933lKRAjt','zYTEk','QFBlC','Unknown\x20Test','eTdil','40ascYeO','../../../helpers/accessibility-automation/helper','zmajg','BQzpy','OJeGJ','UGMaO','WMhQe','POSLf','yhXcA','saveTestResults','\x20a11yToken=',',\x20excludeTags=','getAllData','yYRIa','instance','QlVAc','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','cwZwM','TEST_INIT','ccZvl','getTesthub','stack','GrDIL','some','537324Qpgiep','Error\x20in\x20getAccessibilityResultsSummary:\x20','SIzgD','value',',\x20\x0a\x20','skipCDPConnectOverride','accessibilityToken','FwuXd','KEY_TESTHUB_BUILD_ID','WgSDg','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','browserstack.accessibilityOptions.scannerProcessingTimeout','URtgK','startsWith','HALnl','includes','measureWrapper','cucumber','YzIHB','executeScriptByName:\x20No\x20','xBoMU','getScript','tYvCj','getAccessibilityResultsSummary','browserstack.accessibilityOptions.scannerVersion','vekzA','debug','omcEX','FLQtY','string','FAlTL','length','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','test_tags','getScriptsList','onAfterTest','37461GrPZIn','geNjI','oLldG','onBeforeTest:\x20event=','onBeforeExecute:\x20No\x20command\x20name\x20provided','--headless=new','env','../../../helpers/performance/constants.js','TNuid','BROWSERSTACK_CLI_BIN_SESSION_ID','page','OeGjP','hasAccessibilityExecuteParams','fzdhL',']\x20Accessibility\x20configuration\x20initialized\x20successfully','MioAK','AFrwK','jPDkn','performScanForCli:\x20No\x20','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','excludeTagsInTestingScope','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','vwpBf','Context','ZAOWi','../cliUtils','accessibilityConfig','end','fetchCentralAuthA11yConfig','get','fSaLC','17035xQlzmM','getGoogleChromeOptions','testFramework','applySendMessageToServerPatch','584UJADXn','aeZbD','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','patchSendMessageToServer','Error\x20checking\x20headless\x20capability:\x20','getPlatformIndex',']\x20should\x20run\x20accessibility\x20value=','Accessibility\x20data\x20for\x20extension:\x20','browserStackEvaluate','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','YKnFh','null','../../../helpers/classLogger','[platform\x20-\x20','stopTestCapture','MoxGw','uCSIP','browserstack.accessibilityOptions.authToken','browserName','hdlGL','jeMrR','3086480wnMyyw','../framework/testFramework','parseA11yJwtPayload','wVvgs','BROWSERSTACK_TESTHUB_JWT','Error\x20in\x20processAccessibilityCaps:\x20','pwPage','toJson','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','QAzDs','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testFrameworkData','LOG_DISABLED_SHOWN','Raqtb','unknown','ACCESSIBILITY_INITIALIZED','shouldScanForCommand:\x20','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','kJqxe','kvjpl','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','ooieh','10eJmrKb','Error\x20getting\x20script\x20by\x20name\x20','headless','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','Page\x20','testhub_build_uuid','../grpcClient','kByRW','IWtlY','a11y:save-results','validatePlatformForAccessibility','performScan','message','find','VlhaS','onBeforeExecute:\x20command=','toString','toISOString','DeQkl','options','EkiWy','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','\x22browserstack.key\x22:\x22[REDACTED]\x22','\x20script\x20available\x20in\x20scriptsList','irvuh','AYFnF','--headless=','DRIVER_HAS_URL','isAppAccessibility','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','QUIT','__workerDetails','wUOHh','capabilities','dfALo','\x20using\x20script:\x20','XLEEX','CuADT','../../../helpers/accessibility-automation/scripts','_centralAuthConfigFetched','assign','[AccessibilityModule]\x20onAfterTest:\x20framework=','goog:chromeOptions','CREATE','iEmGw','../../../helpers/performance/performance-tester.js','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','EUeGu','XnVbI','uodpC','HafGJ','getLogDisabledShown','../TestInfo.js','Error\x20in\x20validatePlatformForAccessibility:\x20','yGvFw','oAxQg','getContext','zwwmd','getTestDetails','MODULE_NAME','AUTOMATION_SESSIONS','PRE','TozTr','processAccessibilityCaps','stringify','includeTagsInTestingScope','toLowerCase','NZrLD','534PzvpTT','../framework/constants/testFrameworkConstants.js','format','setAccessibilityConfig','AHerH','OMEpE','set','akpFn','Performing\x20scan\x20before\x20from\x20cli','kQMJt','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','setAccessibilityToken','ascii','CBOwa','parse','isPlatformSupported','commandsList','IGfFx','parseFromProto','CzyIt','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','onBeforeExecute','currentTest','Xtfzc','thTestRunUuid','getState','--headless','evaluate','trim','ezGyK','name:\x20','bind','HmRsR','\x22browserstack.user\x22:\x22[REDACTED]\x22','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','isAccessibilityScriptCommand','exports','command','dXXso','ZoRoJ','HayDx','Processed\x20accessibility\x20caps\x20','split','NWGsT',',\x20includeTags=',',\x20testIdentifier=','function','ZFphh','qtCQF','CMykq','warn','GET_RESULTS_SUMMARY','APRpb','accessibilityPlatform','commandsToWrap'];a80_0x25e1=function(){return _0x272b80;};return a80_0x25e1();}(function(_0x507e8b,_0x6cf123){const _0x57d743=a80_0x19c5,_0x596c02=_0x507e8b();while(!![]){try{const _0xfb2076=parseInt(_0x57d743(0x2b7))/0x1*(-parseInt(_0x57d743(0x383))/0x2)+-parseInt(_0x57d743(0x267))/0x3*(-parseInt(_0x57d743(0x22b))/0x4)+parseInt(_0x57d743(0x286))/0x5*(-parseInt(_0x57d743(0x2fc))/0x6)+parseInt(_0x57d743(0x33f))/0x7*(parseInt(_0x57d743(0x28a))/0x8)+parseInt(_0x57d743(0x226))/0x9+-parseInt(_0x57d743(0x29f))/0xa+-parseInt(_0x57d743(0x205))/0xb*(-parseInt(_0x57d743(0x243))/0xc);if(_0xfb2076===_0x6cf123)break;else _0x596c02['push'](_0x596c02['shift']());}catch(_0x3c6769){_0x596c02['push'](_0x596c02['shift']());}}}(a80_0x25e1,0x57b80));const BaseModule=require(a80_0xc1370(0x343)),{createClassLogger}=require(a80_0xc1370(0x296)),CLIUtils=require(a80_0xc1370(0x280)),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a80_0xc1370(0x2a0)),AutomationFrameworkState=require(a80_0xc1370(0x33c)),HookState=require(a80_0xc1370(0x1ea)),GrpcClient=require(a80_0xc1370(0x2bd)),scripts=require(a80_0xc1370(0x2dd)),logger=createClassLogger(a80_0xc1370(0x1ff)),PerformanceTester=require(a80_0xc1370(0x2e4)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0xc1370(0x26e)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0xc1370(0x379)),{nestedKeyValue,isUndefined}=require(a80_0xc1370(0x353)),util=require(a80_0xc1370(0x20d)),TestInfo=require(a80_0xc1370(0x2ec)),TestFrameworkConstants=require(a80_0xc1370(0x2fd));function a80_0x19c5(_0x3fbef8,_0x3f4124){const _0x25e1c5=a80_0x25e1();return a80_0x19c5=function(_0x19c51d,_0xd9f7d0){_0x19c51d=_0x19c51d-0x1ca;let _0x53c76b=_0x25e1c5[_0x19c51d];return _0x53c76b;},a80_0x19c5(_0x3fbef8,_0x3f4124);}class AccessibilityModule extends BaseModule{static [a80_0xc1370(0x2f3)]=AccessibilityModule['name'];static ['_centralAuthConfigFetched']=![];static [a80_0xc1370(0x214)]={};constructor(_0x26afd2){const _0x8c7f44=a80_0xc1370,_0x397592={};_0x397592[_0x8c7f44(0x219)]=_0x8c7f44(0x1e1),_0x397592['APRpb']='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x397592[_0x8c7f44(0x259)]=_0x8c7f44(0x2af),_0x397592['akpFn']=_0x8c7f44(0x2bc),_0x397592['OMTQT']=_0x8c7f44(0x2d2);const _0xf6152a=_0x397592,_0x66a5fc=_0xf6152a[_0x8c7f44(0x219)][_0x8c7f44(0x326)]('|');let _0x35a958=0x0;while(!![]){switch(_0x66a5fc[_0x35a958++]){case'0':this[_0x8c7f44(0x1e7)]=!![];continue;case'1':this['LOG_DISABLED_SHOWN']=new Map();continue;case'2':this[_0x8c7f44(0x2d3)]=![];continue;case'3':super();continue;case'4':this[_0x8c7f44(0x2d8)]=[];continue;case'5':AutomationFramework[_0x8c7f44(0x35a)](AutomationFrameworkState[_0x8c7f44(0x2d5)],HookState[_0x8c7f44(0x2f5)],this[_0x8c7f44(0x266)][_0x8c7f44(0x31b)](this));continue;case'6':logger[_0x8c7f44(0x25d)](_0xf6152a[_0x8c7f44(0x330)]);continue;case'7':this[_0x8c7f44(0x339)]=new Map();continue;case'8':this['KEY_INIT']=_0xf6152a[_0x8c7f44(0x259)];continue;case'9':this['accessibilityConfig']=_0x26afd2[_0x8c7f44(0x1e8)]();continue;case'10':AutomationFramework[_0x8c7f44(0x35a)](AutomationFrameworkState[_0x8c7f44(0x393)],HookState[_0x8c7f44(0x2f5)],this[_0x8c7f44(0x311)][_0x8c7f44(0x31b)](this));continue;case'11':this[_0x8c7f44(0x24b)]=_0xf6152a[_0x8c7f44(0x303)];continue;case'12':this[_0x8c7f44(0x33b)]=![];continue;case'13':this['KEY_DRIVER_HAS_URL']=_0xf6152a[_0x8c7f44(0x21b)];continue;case'14':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x8c7f44(0x2e2)],HookState[_0x8c7f44(0x223)],this['onBeforeTest'][_0x8c7f44(0x31b)](this));continue;case'15':this[_0x8c7f44(0x307)](_0x26afd2[_0x8c7f44(0x1e4)]()[_0x8c7f44(0x334)]());continue;}break;}}['isEnabled'](){const _0x3e653e=a80_0xc1370;return this[_0x3e653e(0x1e7)];}['getModuleName'](){const _0xdf5e7=a80_0xc1370;return AccessibilityModule[_0xdf5e7(0x2f3)];}[a80_0xc1370(0x39a)](){const _0x42e462=a80_0xc1370;return this[_0x42e462(0x339)]['get'](CLIUtils['getCurrentInstanceName'](),![]);}[a80_0xc1370(0x2eb)](){const _0x45cf23=a80_0xc1370;return this[_0x45cf23(0x2ac)]['get'](CLIUtils[_0x45cf23(0x1e5)](),![]);}[a80_0xc1370(0x1d0)](_0x27620e){const _0x1cc088=a80_0xc1370;this['LOG_DISABLED_SHOWN'][_0x1cc088(0x302)](CLIUtils[_0x1cc088(0x1e5)](),_0x27620e);}['applySendMessageToServerPatch'](){const _0x598c8c=a80_0xc1370,_0x289050={'geNjI':_0x598c8c(0x27a),'gWcLb':function(_0x2366b1,_0x5312fc){return _0x2366b1(_0x5312fc);},'AuCuk':_0x598c8c(0x21e),'YYFuJ':_0x598c8c(0x1d4),'QlVAc':_0x598c8c(0x306)};if(this[_0x598c8c(0x33b)]){logger[_0x598c8c(0x25d)](_0x289050[_0x598c8c(0x268)]);return;}try{const _0x16596c=_0x289050[_0x598c8c(0x21f)](require,_0x289050[_0x598c8c(0x34e)]);_0x16596c&&_0x16596c['patchSendMessageToServer']?(_0x16596c[_0x598c8c(0x28d)](),this[_0x598c8c(0x33b)]=!![],logger[_0x598c8c(0x25d)](_0x289050[_0x598c8c(0x39f)])):logger['debug'](_0x289050[_0x598c8c(0x23a)]);}catch(_0x9a991b){logger['debug'](_0x598c8c(0x206)+util[_0x598c8c(0x2fe)](_0x9a991b));}}[a80_0xc1370(0x30b)](_0x2cfc59=null,_0x16d600=null,_0xa7526c=null){const _0x1bb2ef=a80_0xc1370,_0x21ce86={'PjWoN':function(_0x10ba44,_0x80e089){return _0x10ba44&&_0x80e089;},'GrDIL':_0x1bb2ef(0x33a),'joDyM':function(_0x460231,_0x30096f){return _0x460231(_0x30096f);},'kaAQz':_0x1bb2ef(0x22c),'oAxQg':function(_0xa44526,_0x106f4c){return _0xa44526(_0x106f4c);},'nadlf':'../../../helpers/helper','rfMBB':function(_0x57facf){return _0x57facf();},'kjzhq':_0x1bb2ef(0x21a),'DeQkl':function(_0x17b4cf,_0x16d297){return _0x17b4cf===_0x16d297;},'ZsHCx':_0x1bb2ef(0x212),'jVGqo':_0x1bb2ef(0x35b),'zYTEk':function(_0x39a6eb,_0x4e2590){return _0x39a6eb===_0x4e2590;},'oLldG':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','kZVXB':function(_0x5e2efe,_0x26c0c7){return _0x5e2efe===_0x26c0c7;},'IGfFx':function(_0x227a45,_0x81fd77){return _0x227a45===_0x81fd77;},'ZTkMo':_0x1bb2ef(0x1cb),'BJtNf':'string','MjpAD':function(_0x3cb806,_0x2b8b41){return _0x3cb806===_0x2b8b41;},'vekzA':_0x1bb2ef(0x2ba),'UVezS':_0x1bb2ef(0x2e1),'jeMrR':function(_0x3eca7b){return _0x3eca7b();},'Raqtb':function(_0x4d10ad,_0xe65e75){return _0x4d10ad>_0xe65e75;},'QFBlC':function(_0x4f3447,_0x1f48c8){return _0x4f3447(_0x1f48c8);},'CsCjH':_0x1bb2ef(0x2d4),'myLai':function(_0x5c9db5,_0x492162){return _0x5c9db5!==_0x492162;},'wVvgs':_0x1bb2ef(0x34d),'OTLkU':function(_0x2df615,_0x14d847){return _0x2df615>_0x14d847;},'KyGtU':function(_0x2e4b11,_0x2ae2d0){return _0x2e4b11(_0x2ae2d0);},'ruQEM':_0x1bb2ef(0x27c)};try{if(_0x21ce86['PjWoN'](!_0x16d600,!_0xa7526c))return logger['debug'](_0x21ce86[_0x1bb2ef(0x241)]),![];const {isAccessibilityAutomationSession:_0x14d037}=_0x21ce86[_0x1bb2ef(0x371)](require,_0x21ce86[_0x1bb2ef(0x354)]),{isUndefined:_0x6a6045,isBrowserstackInfra:_0x27877c}=_0x21ce86[_0x1bb2ef(0x2ef)](require,_0x21ce86[_0x1bb2ef(0x363)]);if(!_0x21ce86[_0x1bb2ef(0x1ee)](_0x14d037))return logger[_0x1bb2ef(0x25d)](_0x21ce86[_0x1bb2ef(0x337)]),![];if(!(_0x16d600[_0x1bb2ef(0x29c)]&&_0x21ce86[_0x1bb2ef(0x2c9)](_0x16d600['browserName']['toLowerCase'](),_0x21ce86['ZsHCx'])||_0x16d600[_0x1bb2ef(0x29c)]&&_0x21ce86[_0x1bb2ef(0x2c9)](_0x16d600['browserName'][_0x1bb2ef(0x2fa)](),_0x21ce86['jVGqo'])||_0x16d600[_0x1bb2ef(0x37b)]&&_0x21ce86[_0x1bb2ef(0x2c9)](_0x16d600[_0x1bb2ef(0x37b)]['toLowerCase'](),_0x21ce86[_0x1bb2ef(0x1ec)])||_0x16d600[_0x1bb2ef(0x37b)]&&_0x21ce86[_0x1bb2ef(0x227)](_0x16d600[_0x1bb2ef(0x37b)]['toLowerCase'](),_0x21ce86['jVGqo'])))return logger[_0x1bb2ef(0x32e)](_0x21ce86[_0x1bb2ef(0x269)]),![];try{const _0x205b8d=_0x16d600[_0x1bb2ef(0x2b9)],_0x36d757=_0x21ce86[_0x1bb2ef(0x1df)](_0x205b8d,!![])||_0x21ce86[_0x1bb2ef(0x30d)](_0x205b8d,_0x21ce86['ZTkMo'])||_0x21ce86[_0x1bb2ef(0x227)](typeof _0x205b8d,_0x21ce86['BJtNf'])&&_0x21ce86[_0x1bb2ef(0x361)](_0x205b8d[_0x1bb2ef(0x2fa)](),_0x21ce86['ZTkMo']);if(_0x36d757)return logger['warn'](_0x21ce86[_0x1bb2ef(0x25c)]),![];const _0x31ba52=_0x16d600?.[_0x1bb2ef(0x20c)]?.[_0x1bb2ef(0x37c)]||_0x16d600?.[_0x21ce86['UVezS']]?.[_0x1bb2ef(0x37c)]||[];if(Array[_0x1bb2ef(0x34f)](_0x31ba52)&&_0x31ba52[_0x1bb2ef(0x242)](_0x150498=>typeof _0x150498===_0x1bb2ef(0x260)&&(_0x150498===_0x1bb2ef(0x316)||_0x150498[_0x1bb2ef(0x250)](_0x1bb2ef(0x2d1))&&_0x150498!==_0x1bb2ef(0x26c))))return logger[_0x1bb2ef(0x32e)](_0x21ce86['vekzA']),![];}catch(_0x1e7c84){logger[_0x1bb2ef(0x25d)](_0x1bb2ef(0x28e)+util['format'](_0x1e7c84));}if(!_0x21ce86[_0x1bb2ef(0x29e)](_0x27877c)){if(!_0x21ce86[_0x1bb2ef(0x2ad)](_0x21ce86[_0x1bb2ef(0x371)](parseFloat,_0x16d600['browserVersion']),_0x21ce86['QFBlC'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x1bb2ef(0x32e)](_0x21ce86['CsCjH']),![];}else{if(_0x21ce86['myLai'](_0x16d600[_0x1bb2ef(0x389)],_0x21ce86[_0x1bb2ef(0x2a2)])&&!_0x21ce86['OTLkU'](_0x21ce86['KyGtU'](parseFloat,_0x16d600[_0x1bb2ef(0x389)]),_0x21ce86[_0x1bb2ef(0x228)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x1bb2ef(0x32e)](_0x21ce86[_0x1bb2ef(0x336)]),![];}return!![];}catch(_0x3333e1){return logger[_0x1bb2ef(0x25d)](_0x1bb2ef(0x1fc)+_0x3333e1[_0x1bb2ef(0x2c3)]),![];}}[a80_0xc1370(0x211)](_0x5de6ca=[],_0x59f6d4,_0x43abb3='cucumber'){const _0x279789=a80_0xc1370,_0x13d7a1={'bitMu':function(_0x1713b5,_0x504d89){return _0x1713b5===_0x504d89;},'lVcVT':_0x279789(0x203),'cCcoa':function(_0x29f0c0,_0x4b1927){return _0x29f0c0||_0x4b1927;},'dXXso':function(_0x3cbc63,_0x3fe993){return _0x3cbc63&&_0x3fe993;},'jtYpS':'unknown','ceyJG':function(_0x33317f,_0x2e2a2b){return _0x33317f(_0x2e2a2b);},'xXDTA':function(_0x472962,_0x579106){return _0x472962>_0x579106;}};try{const _0x228c63=process['env'][_0x279789(0x2aa)]?JSON['parse'](process['env'][_0x279789(0x2aa)]):null;if(!_0x228c63)return!![];const _0x228d59=Array[_0x279789(0x34f)](_0x228c63['includeTagsInTestingScope'])?_0x228c63[_0x279789(0x2f9)]:[],_0x437bcd=Array[_0x279789(0x34f)](_0x228c63[_0x279789(0x27b)])?_0x228c63['excludeTagsInTestingScope']:[];if(_0x13d7a1['bitMu'](_0x43abb3,_0x13d7a1[_0x279789(0x348)])){let _0x231221;Array[_0x279789(0x34f)](_0x5de6ca)?_0x231221=_0x5de6ca[_0x279789(0x36d)]('\x20'):_0x231221=_0x13d7a1['cCcoa'](_0x5de6ca,'');const _0x9ad532=_0x437bcd[_0x279789(0x242)](_0xf76c89=>_0x231221[_0x279789(0x252)](_0xf76c89)),_0x1925f4=_0x13d7a1[_0x279789(0x216)](_0x228d59[_0x279789(0x262)],0x0)||_0x228d59[_0x279789(0x242)](_0x4d9ab0=>_0x231221[_0x279789(0x252)](_0x4d9ab0)),_0x71e0b0=_0x13d7a1[_0x279789(0x322)](!_0x9ad532,_0x1925f4);return logger[_0x279789(0x25d)]('[platform\x20-\x20'+(_0x59f6d4?.[_0x279789(0x28f)]?.()||_0x13d7a1['jtYpS'])+_0x279789(0x36b)+_0x71e0b0+_0x279789(0x1d7)+_0x231221+_0x279789(0x328)+JSON[_0x279789(0x2f8)](_0x228d59)+_0x279789(0x236)+JSON['stringify'](_0x437bcd)),_0x71e0b0;}const _0x2e277d=Array[_0x279789(0x34f)](_0x5de6ca)?_0x5de6ca:[];let _0x5233f4=![],_0x2e385d=_0x13d7a1[_0x279789(0x216)](_0x228d59[_0x279789(0x262)],0x0);const _0x360007=_0x284c55=>typeof _0x284c55===_0x279789(0x260)?_0x284c55[_0x279789(0x1ef)](/^@/,'')[_0x279789(0x2fa)]()[_0x279789(0x318)]():_0x284c55,_0x8ff8cf=new Set(_0x228d59['map'](_0x360007)),_0x3d1c53=new Set(_0x437bcd['map'](_0x360007));for(const _0x905b0c of _0x2e277d){const _0x1b6949=_0x13d7a1[_0x279789(0x21d)](_0x360007,_0x905b0c);_0x3d1c53['has'](_0x1b6949)&&(_0x5233f4=!![]),_0x13d7a1['xXDTA'](_0x8ff8cf['size'],0x0)&&_0x8ff8cf[_0x279789(0x218)](_0x1b6949)&&(_0x2e385d=!![]);}const _0x58424e=_0x13d7a1['dXXso'](_0x2e385d,!_0x5233f4);return logger['debug'](_0x279789(0x297)+(_0x59f6d4?.[_0x279789(0x28f)]?.()||_0x13d7a1[_0x279789(0x20b)])+_0x279789(0x384)+_0x58424e+',\x20tags='+JSON[_0x279789(0x2f8)](_0x2e277d)+_0x279789(0x328)+JSON[_0x279789(0x2f8)](_0x228d59)+_0x279789(0x236)+JSON['stringify'](_0x437bcd)),_0x58424e;}catch(_0x159c0b){return logger[_0x279789(0x25d)](_0x279789(0x297)+(_0x59f6d4?.[_0x279789(0x28f)]?.()||_0x13d7a1[_0x279789(0x20b)])+_0x279789(0x36a)+_0x159c0b[_0x279789(0x2c3)]),![];}}async[a80_0xc1370(0x380)](_0x1996ce){const _0x5be096=a80_0xc1370,_0x13da46={};_0x13da46['TUduO']=function(_0x397d77,_0x270404){return _0x397d77!==_0x270404;},_0x13da46[_0x5be096(0x375)]=_0x5be096(0x254),_0x13da46['SIzgD']=_0x5be096(0x203),_0x13da46[_0x5be096(0x2b2)]='onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x13da46[_0x5be096(0x2d7)]=_0x5be096(0x23d),_0x13da46[_0x5be096(0x210)]='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x13da46['lduTc']=_0x5be096(0x2cc),_0x13da46['QAzDs']=_0x5be096(0x215),_0x13da46[_0x5be096(0x22a)]=function(_0x46c307,_0x135f3d){return _0x46c307===_0x135f3d;},_0x13da46['yhXcA']=_0x5be096(0x310),_0x13da46[_0x5be096(0x323)]=_0x5be096(0x229),_0x13da46[_0x5be096(0x333)]=function(_0xbc36a6,_0x5b082d){return _0xbc36a6>_0x5b082d;},_0x13da46[_0x5be096(0x390)]=_0x5be096(0x32a),_0x13da46[_0x5be096(0x36c)]=_0x5be096(0x264),_0x13da46['ycxPY']=function(_0x5f4b8a,_0xc2e685){return _0x5f4b8a&&_0xc2e685;},_0x13da46[_0x5be096(0x2e9)]=_0x5be096(0x2ae),_0x13da46[_0x5be096(0x313)]='true';const _0x274c64=_0x13da46;if(_0x274c64[_0x5be096(0x1d5)](_0x1996ce['testFramework'],_0x274c64[_0x5be096(0x375)])&&_0x274c64[_0x5be096(0x1d5)](_0x1996ce[_0x5be096(0x288)],_0x274c64['SIzgD'])){logger[_0x5be096(0x25d)](_0x274c64[_0x5be096(0x2b2)]);return;}logger[_0x5be096(0x344)](_0x5be096(0x26a)+JSON[_0x5be096(0x2f8)](_0x1996ce));try{const _0x15426b=AutomationFramework[_0x5be096(0x345)](),_0x9e62cd=TestFramework[_0x5be096(0x345)](),_0x4e8f92=_0x1996ce[_0x5be096(0x271)]||global[_0x5be096(0x2d6)]?.['pwPage']||null;if(!_0x4e8f92){_0x9e62cd&&_0x9e62cd[_0x5be096(0x391)](_0x274c64[_0x5be096(0x2d7)],!![]);logger[_0x5be096(0x25d)](_0x274c64[_0x5be096(0x210)]);return;}logger[_0x5be096(0x25d)](_0x274c64[_0x5be096(0x399)]);const _0x4aeb10=_0x9e62cd?.[_0x5be096(0x20e)](_0x274c64[_0x5be096(0x2a9)],![]),_0x41704b=_0x9e62cd?.[_0x5be096(0x20e)](_0x274c64[_0x5be096(0x2d7)],![]);if(_0x274c64[_0x5be096(0x22a)](_0x4aeb10,![])&&_0x274c64[_0x5be096(0x22a)](_0x41704b,![])){_0x9e62cd&&_0x9e62cd[_0x5be096(0x391)](_0x274c64['QAzDs'],!![]);logger[_0x5be096(0x25d)](_0x274c64[_0x5be096(0x233)]);return;}_0x9e62cd&&_0x9e62cd['updateData'](_0x274c64[_0x5be096(0x2d7)],!![]);let _0x4b718c,_0x5ca52d;const _0x191526=_0x1996ce[_0x5be096(0x288)]||_0x274c64[_0x5be096(0x375)];if(_0x274c64[_0x5be096(0x22a)](_0x191526,_0x274c64[_0x5be096(0x245)])){_0x5ca52d=_0x1996ce[_0x5be096(0x37d)]?.[_0x5be096(0x362)]||_0x1996ce[_0x5be096(0x37d)]?.['id']||global[_0x5be096(0x394)]||global[_0x5be096(0x2d6)]?.[_0x5be096(0x312)]?.[_0x5be096(0x362)]||global[_0x5be096(0x2d6)]?.[_0x5be096(0x312)]?.['id'];const _0x5a8a4a=_0x9e62cd?.[_0x5be096(0x237)]()?.[_0x5be096(0x284)](_0x5ca52d);if(_0x5a8a4a&&_0x5a8a4a[TestFrameworkConstants[_0x5be096(0x1f3)]])_0x4b718c=_0x5a8a4a[TestFrameworkConstants[_0x5be096(0x1f3)]];else{if(_0x1996ce[_0x5be096(0x37d)]?.[_0x5be096(0x1d8)])_0x4b718c=_0x1996ce[_0x5be096(0x37d)]['titlePath'];else global[_0x5be096(0x2d6)]?.[_0x5be096(0x312)]?.[_0x5be096(0x37d)]?.[_0x5be096(0x1d8)]?_0x4b718c=global[_0x5be096(0x2d6)][_0x5be096(0x312)]['testInfo'][_0x5be096(0x1d8)]:_0x4b718c=_0x274c64['ZoRoJ'];}logger['debug'](_0x5be096(0x338)+_0x5ca52d+_0x5be096(0x1d7)+JSON[_0x5be096(0x2f8)](_0x4b718c));}else{_0x5ca52d=this['getTestId'](_0x1996ce);const _0x1e4b50=TestInfo[_0x5be096(0x2f2)](_0x5ca52d);let _0x496240=[];if(_0x1e4b50&&Array['isArray'](_0x1e4b50[_0x5be096(0x264)])&&_0x274c64['tfUsH'](_0x1e4b50[_0x5be096(0x264)]['length'],0x0))_0x496240=_0x1e4b50['test_tags'];else{if(_0x9e62cd){const _0x45c339=_0x274c64[_0x5be096(0x22a)](typeof _0x9e62cd['getData'],_0x274c64[_0x5be096(0x390)])?_0x9e62cd[_0x5be096(0x20e)](_0x274c64[_0x5be096(0x36c)],[]):_0x9e62cd[_0x5be096(0x264)]||[];Array[_0x5be096(0x34f)](_0x45c339)&&(_0x496240=_0x45c339);}}_0x4b718c=_0x496240;}logger['info'](_0x5be096(0x367)+JSON[_0x5be096(0x2f8)](_0x4b718c));const _0x3eda77=this[_0x5be096(0x30b)](_0x15426b,_0x1996ce[_0x5be096(0x204)],_0x1996ce['launchCaps']);logger[_0x5be096(0x25d)](_0x5be096(0x2b4)+_0x3eda77+',\x20isAppAccessibility='+this[_0x5be096(0x2d3)]);const _0xc4f9b7=this[_0x5be096(0x211)](_0x4b718c,_0x15426b,_0x191526),_0xc48e99=_0x274c64['ycxPY'](_0x3eda77,_0xc4f9b7),_0x1926a5=CLIUtils[_0x5be096(0x1e5)]();this[_0x5be096(0x339)][_0x5be096(0x302)](_0x1926a5,_0xc48e99),global['Context']?.['getContext']&&global[_0x5be096(0x27e)][_0x5be096(0x2f0)]()['setShouldScan'](_0xc48e99),logger['debug'](_0x5be096(0x297)+(_0x15426b?.['getPlatformIndex']?.()||_0x274c64[_0x5be096(0x2e9)])+_0x5be096(0x290)+_0xc48e99),_0xc48e99?(global[_0x5be096(0x331)]=!![],process['env'][_0x5be096(0x208)]=_0x274c64[_0x5be096(0x313)],this[_0x5be096(0x289)]()):global[_0x5be096(0x331)]=![];}catch(_0xf5b75f){logger[_0x5be096(0x388)](_0x5be096(0x2b5)+(_0xf5b75f[_0x5be096(0x240)]||_0xf5b75f[_0x5be096(0x2c3)]));const _0x9b0b1c=CLIUtils[_0x5be096(0x1e5)]();this['accessibility'][_0x5be096(0x302)](_0x9b0b1c,![]),global[_0x5be096(0x331)]=![];}}[a80_0xc1370(0x287)](){const _0x397598=a80_0xc1370;return this[_0x397598(0x2d8)][_0x397598(0x2c4)](_0x415282=>_0x415282[_0x397598(0x377)]()===_0x397598(0x2e1))?.[_0x397598(0x35f)]()||'';}[a80_0xc1370(0x360)](_0xda0b){const _0x5b1b19=a80_0xc1370;try{const _0x284f9e=this[_0x5b1b19(0x281)]?.[_0x5b1b19(0x2ca)]?.[_0x5b1b19(0x37a)]||[],_0xec789a=_0x284f9e[_0x5b1b19(0x2c4)](_0x3e6d0b=>_0x3e6d0b[_0x5b1b19(0x207)]===_0xda0b);return _0xec789a?_0xec789a[_0x5b1b19(0x246)]:null;}catch(_0x3e92ac){return logger[_0x5b1b19(0x25d)]('Error\x20getting\x20capability\x20value\x20for\x20'+_0xda0b+':\x20'+_0x3e92ac[_0x5b1b19(0x2c3)]),null;}}async[a80_0xc1370(0x2ff)](_0x5dbf79,_0x58507d){const _0x4f9c5f=a80_0xc1370,_0x3c810c=_0x5dbf79[_0x4f9c5f(0x1cd)]()[_0x4f9c5f(0x1e4)](),_0x3b0afe=_0x3c810c[_0x4f9c5f(0x265)](),_0x48c6d6=_0x3c810c['getCommandsToWrap']()?.[_0x4f9c5f(0x39d)]();scripts[_0x4f9c5f(0x30e)](_0x3b0afe,_0x48c6d6),scripts[_0x4f9c5f(0x2a6)]();const _0x4a64c9=_0x3c810c['getCapabilitiesList']();this[_0x4f9c5f(0x2d8)]=_0x3c810c[_0x4f9c5f(0x334)](),await this[_0x4f9c5f(0x307)](_0x4a64c9,_0x58507d['launchCaps']);}async['setAccessibilityToken'](_0xd8c42c,_0x5243e9={}){const _0x1ce187=a80_0xc1370,_0x5ecefd={'yYRIa':function(_0x586cd9,_0x1a48c8){return _0x586cd9===_0x1a48c8;},'FwirO':_0x1ce187(0x249),'kByRW':_0x1ce187(0x29b),'MioAK':function(_0x35fd7e,_0x1255de){return _0x35fd7e(_0x1255de);},'IEvtM':_0x1ce187(0x22c),'dbsje':function(_0x19b768,_0x29ebeb){return _0x19b768(_0x29ebeb);},'sFLHR':_0x1ce187(0x353),'AFrwK':function(_0x3def53,_0x32c106){return _0x3def53(_0x32c106);},'POSLf':function(_0x14d757,_0x1f6015){return _0x14d757===_0x1f6015;},'iEmGw':_0x1ce187(0x38f),'URtgK':_0x1ce187(0x1e6),'ezGyK':function(_0x3194dd,_0x38f7f1){return _0x3194dd===_0x38f7f1;},'ugGfU':_0x1ce187(0x342),'XnVbI':_0x1ce187(0x25b),'qoPGm':'scannerProcessingTimeout','ILobI':_0x1ce187(0x24e)};global[_0x1ce187(0x1ce)]=global[_0x1ce187(0x1ce)]||{};for(const _0xa35e7e of _0xd8c42c){logger[_0x1ce187(0x344)](_0x1ce187(0x31a)+_0xa35e7e['getName']()+_0x1ce187(0x372)+_0xa35e7e['getValue']());if(_0x5ecefd[_0x1ce187(0x238)](_0xa35e7e[_0x1ce187(0x377)](),_0x5ecefd[_0x1ce187(0x340)])){const _0x5c1306=_0xa35e7e[_0x1ce187(0x35f)]();process[_0x1ce187(0x26d)][_0x1ce187(0x1da)]=_0x5c1306,global['__accessibilityOptions'][_0x5ecefd[_0x1ce187(0x2be)]]=_0x5c1306;const _0x4e60b9=_0x5ecefd[_0x1ce187(0x276)](require,_0x5ecefd[_0x1ce187(0x358)]),{isTrue:_0x65f553}=_0x5ecefd['dbsje'](require,_0x5ecefd[_0x1ce187(0x1f5)]),_0x520684=_0x4e60b9[_0x1ce187(0x2a1)](_0x5c1306);_0x520684&&_0x5ecefd[_0x1ce187(0x277)](_0x65f553,_0x520684[_0x1ce187(0x248)])&&(process['env'][_0x1ce187(0x392)]=!![]);}else{if(_0x5ecefd[_0x1ce187(0x232)](_0xa35e7e[_0x1ce187(0x377)](),_0x5ecefd[_0x1ce187(0x2e3)]))global[_0x1ce187(0x1ce)][_0x5ecefd[_0x1ce187(0x24f)]]=_0xa35e7e[_0x1ce187(0x35f)]();else{if(_0x5ecefd[_0x1ce187(0x319)](_0xa35e7e[_0x1ce187(0x377)](),_0x5ecefd[_0x1ce187(0x1d3)]))global[_0x1ce187(0x1ce)][_0x5ecefd[_0x1ce187(0x2e8)]]=_0xa35e7e[_0x1ce187(0x35f)]();else _0x5ecefd[_0x1ce187(0x232)](_0xa35e7e[_0x1ce187(0x377)](),_0x5ecefd['qoPGm'])&&(global[_0x1ce187(0x1ce)][_0x5ecefd['ILobI']]=_0xa35e7e[_0x1ce187(0x35f)]());}}}}async[a80_0xc1370(0x266)](_0x4c7b81){const _0x5d4811=a80_0xc1370,_0x3882fd={};_0x3882fd[_0x5d4811(0x2b6)]=function(_0x26b597,_0x12afc5){return _0x26b597!==_0x12afc5;},_0x3882fd[_0x5d4811(0x27d)]='cucumber',_0x3882fd['DDRHF']=function(_0x50f2a4,_0x3555f6){return _0x50f2a4!==_0x3555f6;},_0x3882fd[_0x5d4811(0x37f)]=_0x5d4811(0x203),_0x3882fd[_0x5d4811(0x25e)]='onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x3882fd[_0x5d4811(0x369)]=_0x5d4811(0x2ae);const _0x5292cd=_0x3882fd;if(_0x5292cd[_0x5d4811(0x2b6)](_0x4c7b81['testFramework'],_0x5292cd['vwpBf'])&&_0x5292cd['DDRHF'](_0x4c7b81[_0x5d4811(0x288)],_0x5292cd[_0x5d4811(0x37f)])){logger[_0x5d4811(0x25d)](_0x5292cd['omcEX']);return;}const _0x3a5c54=_0x4c7b81[_0x5d4811(0x37d)]?.['testAnalyticsId']||_0x4c7b81['testInfo']?.['id']||global['__jestCurrentTestIdentifier'];logger[_0x5d4811(0x344)](_0x5d4811(0x2e0)+_0x4c7b81[_0x5d4811(0x288)]+_0x5d4811(0x329)+_0x3a5c54);try{const _0x4aea67=_0x4c7b81['instance']||AutomationFramework['getTrackedInstance'](),_0x3c356d=CLIUtils[_0x5d4811(0x1e5)](),_0x5cb726=this[_0x5d4811(0x39a)]();logger[_0x5d4811(0x25d)]('[platform\x20-\x20'+(_0x4aea67?.['getPlatformIndex']?.()||_0x5292cd['alrEn'])+_0x5d4811(0x387)+_0x5cb726),_0x5cb726&&await this[_0x5d4811(0x298)](_0x4aea67,_0x4c7b81),this[_0x5d4811(0x339)][_0x5d4811(0x1f7)](_0x3c356d),this[_0x5d4811(0x2ac)]['delete'](_0x3c356d);}catch(_0x11b4f9){logger[_0x5d4811(0x388)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x11b4f9[_0x5d4811(0x240)]||_0x11b4f9[_0x5d4811(0x2c3)]));}}async[a80_0xc1370(0x298)](_0x573c74,_0x21d8af){const _0x4ff09e=a80_0xc1370,_0x54a2a0={};_0x54a2a0[_0x4ff09e(0x38c)]=function(_0x1fb845,_0x1ad537){return _0x1fb845===_0x1ad537;},_0x54a2a0[_0x4ff09e(0x29d)]=_0x4ff09e(0x32a),_0x54a2a0['VyFii']=function(_0x2c5d21,_0x2dcf5c){return _0x2c5d21===_0x2dcf5c;},_0x54a2a0[_0x4ff09e(0x2f6)]=_0x4ff09e(0x203),_0x54a2a0['EoKkp']=_0x4ff09e(0x254),_0x54a2a0['ccZvl']=_0x4ff09e(0x2a8),_0x54a2a0[_0x4ff09e(0x29a)]='accessibility',_0x54a2a0[_0x4ff09e(0x32c)]=_0x4ff09e(0x1e0),_0x54a2a0[_0x4ff09e(0x278)]='unknown',_0x54a2a0['bIiBv']='present',_0x54a2a0[_0x4ff09e(0x23c)]=_0x4ff09e(0x295),_0x54a2a0[_0x4ff09e(0x1cf)]=function(_0x5947a9,_0x4eee89){return _0x5947a9===_0x4eee89;},_0x54a2a0[_0x4ff09e(0x300)]=function(_0x102ad4,_0x5574da){return _0x102ad4||_0x5574da;},_0x54a2a0[_0x4ff09e(0x1ca)]=function(_0x59458b,_0x206197){return _0x59458b||_0x206197;},_0x54a2a0[_0x4ff09e(0x20f)]=_0x4ff09e(0x2f4),_0x54a2a0[_0x4ff09e(0x21c)]=_0x4ff09e(0x39b);const _0x43ce3f=_0x54a2a0;try{const _0x1df4f9=_0x21d8af[_0x4ff09e(0x288)]||(_0x43ce3f[_0x4ff09e(0x1d2)](this[_0x4ff09e(0x2ab)]?.['name']?.[_0x4ff09e(0x2fa)](),_0x43ce3f[_0x4ff09e(0x2f6)])?_0x43ce3f[_0x4ff09e(0x2f6)]:_0x43ce3f[_0x4ff09e(0x1dd)]);let _0x4fc452='',_0x13864f=null,_0xee273d=null;if(_0x43ce3f[_0x4ff09e(0x1d2)](_0x1df4f9,_0x43ce3f['TozTr'])){_0x13864f=_0x21d8af[_0x4ff09e(0x37d)]?.[_0x4ff09e(0x362)]||_0x21d8af['testInfo']?.['id']||global[_0x4ff09e(0x394)];if(!_0x13864f){logger['warn'](_0x43ce3f[_0x4ff09e(0x23e)]);return;}try{const _0x3d5bc8=await GrpcClient[_0x4ff09e(0x1fd)]()['fetchDriverExecuteParamsEvent'](process[_0x4ff09e(0x26d)][_0x4ff09e(0x270)],_0x43ce3f[_0x4ff09e(0x29a)],_0x43ce3f[_0x4ff09e(0x32c)],_0x13864f),_0x11f047=AccessibilityModule[_0x4ff09e(0x1fe)](null,_0x3d5bc8);_0x4fc452=_0x11f047?.[_0x4ff09e(0x314)]||'',logger[_0x4ff09e(0x25d)](_0x4ff09e(0x347)+_0x4fc452+_0x4ff09e(0x1f8)+_0x13864f),_0xee273d=_0x3d5bc8;}catch(_0x129694){logger[_0x4ff09e(0x388)](_0x4ff09e(0x382)+_0x129694[_0x4ff09e(0x2c3)]);return;}}else{const _0x25426d=this['getTestId'](_0x21d8af);_0x4fc452=TestInfo['getTestUUID'](_0x25426d);}const _0x1e1397=((()=>{const _0x1357c7=_0x4ff09e,_0x376e7c=(this[_0x1357c7(0x281)]?.[_0x1357c7(0x2ca)]?.[_0x1357c7(0x37a)]||[])['find'](_0x2b0a3d=>(typeof _0x2b0a3d[_0x1357c7(0x377)]===_0x1357c7(0x32a)?_0x2b0a3d['getName']():_0x2b0a3d[_0x1357c7(0x207)])===this[_0x1357c7(0x24b)]);return _0x376e7c?_0x43ce3f[_0x1357c7(0x38c)](typeof _0x376e7c['getValue'],_0x43ce3f[_0x1357c7(0x29d)])?_0x376e7c[_0x1357c7(0x35f)]():_0x376e7c[_0x1357c7(0x246)]:'';})()),_0x55218a=process[_0x4ff09e(0x26d)][_0x4ff09e(0x2a3)]||'';logger['debug']('[platform\x20-\x20'+(_0x573c74?.[_0x4ff09e(0x28f)]?.()||_0x43ce3f[_0x4ff09e(0x278)])+']\x20clear\x20'+_0x4fc452+_0x4ff09e(0x1dc)+_0x1e1397+_0x4ff09e(0x235)+(_0x55218a?_0x43ce3f[_0x4ff09e(0x376)]:_0x43ce3f['cwZwM']));let _0x33cc83;if(_0x43ce3f[_0x4ff09e(0x1cf)](_0x1df4f9,_0x43ce3f[_0x4ff09e(0x2f6)]))_0x33cc83=AccessibilityModule[_0x4ff09e(0x1fe)](_0x4fc452,_0xee273d);else{const _0x1a93dd=await GrpcClient[_0x4ff09e(0x1fd)]()[_0x4ff09e(0x365)](process['env'][_0x4ff09e(0x270)],_0x43ce3f[_0x4ff09e(0x29a)],_0x43ce3f['qtCQF']);_0x33cc83=AccessibilityModule[_0x4ff09e(0x1fe)](_0x4fc452,_0x1a93dd);}logger[_0x4ff09e(0x25d)](_0x4ff09e(0x291)+JSON[_0x4ff09e(0x2f8)](_0x33cc83));const _0x5c80e2=Object[_0x4ff09e(0x2df)]({},{'thTestRunUuid':_0x43ce3f[_0x4ff09e(0x300)](_0x4fc452,''),'thBuildUuid':_0x43ce3f[_0x4ff09e(0x300)](_0x1e1397,''),'thJwtToken':_0x43ce3f[_0x4ff09e(0x1ca)](_0x55218a,'')},_0x33cc83);logger['debug'](_0x4ff09e(0x20a)+_0x4fc452+',\x20isAppAccessibility='+this['isAppAccessibility']);let _0x5396b2=global['__workerDetails']?.[_0x4ff09e(0x2a5)]||null;!_0x5396b2&&(_0x5396b2=AutomationFramework[_0x4ff09e(0x315)](_0x573c74,_0x43ce3f[_0x4ff09e(0x20f)],null)),!_0x5396b2&&(_0x5396b2=AutomationFramework[_0x4ff09e(0x315)](_0x573c74,_0x43ce3f[_0x4ff09e(0x21c)],null)),await this['finishScanningForCli'](this[_0x4ff09e(0x39a)](),_0x4fc452,_0x5396b2,_0x5c80e2,this['isAppAccessibility']);}catch(_0x564037){logger['error']('Error\x20in\x20stopTestCapture:\x20'+(_0x564037[_0x4ff09e(0x240)]||_0x564037['message']));}}async[a80_0xc1370(0x1cc)](_0x1c79e8,_0x493cae,_0x5ee6a9,_0x16e3bf,_0x18dd7f){const _0x133877=a80_0xc1370,_0x173244={};_0x173244['syBTE']=_0x133877(0x1e0),_0x173244['QBMLU']=function(_0x6d1017,_0x3803eb){return _0x6d1017&&_0x3803eb;},_0x173244[_0x133877(0x1fa)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x173244[_0x133877(0x272)]=function(_0x33af71,_0x213779){return _0x33af71===_0x213779;},_0x173244['WTiXa']=_0x133877(0x295),_0x173244[_0x133877(0x34a)]=function(_0x324ad0,_0x1d205d){return _0x324ad0===_0x1d205d;},_0x173244[_0x133877(0x373)]='Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found',_0x173244[_0x133877(0x2ea)]=_0x133877(0x304),_0x173244[_0x133877(0x224)]=_0x133877(0x378),_0x173244[_0x133877(0x200)]=_0x133877(0x351),_0x173244[_0x133877(0x2cf)]='Running\x20Save\x20results\x20for\x20Accessibility\x20testing',_0x173244[_0x133877(0x357)]=_0x133877(0x2c0),_0x173244[_0x133877(0x231)]=_0x133877(0x263);const _0x46aab5=_0x173244;try{const _0x5364dd=this[_0x133877(0x1fb)](_0x46aab5[_0x133877(0x1e3)]);if(_0x46aab5[_0x133877(0x33e)](!_0x18dd7f,!_0x5364dd)){logger[_0x133877(0x25d)](_0x46aab5['SAjOY']);return;}if(!_0x493cae||_0x46aab5[_0x133877(0x272)](_0x493cae,_0x46aab5['WTiXa'])||_0x46aab5['saUPZ'](_0x493cae,'')){logger['debug'](_0x46aab5['oMIpV']);return;}logger[_0x133877(0x25d)](_0x133877(0x1f0)+JSON[_0x133877(0x2f8)](_0x16e3bf)),_0x1c79e8&&(logger['debug'](_0x46aab5['HafGJ']),await this[_0x133877(0x221)](_0x5ee6a9,_0x493cae,_0x46aab5['XsKjh'],_0x16e3bf,_0x18dd7f,_0x46aab5['Qwyfh']),_0x46aab5[_0x133877(0x33e)](!_0x18dd7f,_0x5364dd)&&(logger[_0x133877(0x25d)](_0x46aab5['irvuh']),await PerformanceTester[_0x133877(0x253)](_0x46aab5[_0x133877(0x357)],async()=>{const _0x840f0e=_0x133877;await this[_0x840f0e(0x221)](_0x5ee6a9,_0x493cae,_0x46aab5[_0x840f0e(0x1e3)],_0x16e3bf,_0x18dd7f,_0x46aab5[_0x840f0e(0x1e3)]);})()),logger['info'](_0x46aab5[_0x133877(0x231)]));}catch(_0x227de3){logger[_0x133877(0x388)]('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x227de3[_0x133877(0x240)]||_0x227de3[_0x133877(0x2c3)]));}}async['onBeforeExecute'](_0x3d52fc){const _0x420842=a80_0xc1370,_0x5c0513={};_0x5c0513[_0x420842(0x220)]=function(_0x4c47fa,_0x31725a){return _0x4c47fa!==_0x31725a;},_0x5c0513[_0x420842(0x31c)]=_0x420842(0x254),_0x5c0513[_0x420842(0x25f)]=function(_0x5f0d00,_0x10f249){return _0x5f0d00!==_0x10f249;},_0x5c0513[_0x420842(0x359)]='jest',_0x5c0513[_0x420842(0x341)]=_0x420842(0x23b),_0x5c0513[_0x420842(0x1d6)]='unknown',_0x5c0513[_0x420842(0x374)]=_0x420842(0x26b),_0x5c0513[_0x420842(0x32b)]=function(_0x54f5e3,_0x454beb){return _0x54f5e3===_0x454beb;},_0x5c0513['CBOwa']=_0x420842(0x31e),_0x5c0513[_0x420842(0x2ee)]=_0x420842(0x339),_0x5c0513['dfALo']='performScan',_0x5c0513[_0x420842(0x2dc)]=_0x420842(0x213),_0x5c0513[_0x420842(0x33d)]=_0x420842(0x2bc),_0x5c0513[_0x420842(0x1de)]=function(_0x3916aa,_0x370d68){return _0x3916aa===_0x370d68;},_0x5c0513['TNuid']=_0x420842(0x351),_0x5c0513[_0x420842(0x294)]='null';const _0x57be5b=_0x5c0513;if(_0x57be5b[_0x420842(0x220)](_0x3d52fc['testFramework'],_0x57be5b['HmRsR'])&&_0x57be5b['FLQtY'](_0x3d52fc[_0x420842(0x288)],_0x57be5b[_0x420842(0x359)])){logger[_0x420842(0x25d)](_0x57be5b[_0x420842(0x341)]);return;}logger[_0x420842(0x25d)](_0x420842(0x2c6)+(_0x3d52fc[_0x420842(0x38a)]||_0x57be5b[_0x420842(0x1d6)])+_0x420842(0x201)+_0x3d52fc[_0x420842(0x288)]);try{const _0x111288=_0x3d52fc[_0x420842(0x239)]||AutomationFramework[_0x420842(0x345)](),_0x415895=TestFramework[_0x420842(0x345)](),_0x4bc70d=_0x3d52fc[_0x420842(0x38a)]||_0x3d52fc['command']?.[_0x420842(0x377)]();if(!_0x4bc70d){logger[_0x420842(0x25d)](_0x57be5b[_0x420842(0x374)]);return;}if(!this[_0x420842(0x39a)]()){logger['debug'](_0x420842(0x28c)+_0x4bc70d);return;}if(!this[_0x420842(0x355)](_0x4bc70d)){logger['debug'](_0x420842(0x346)+_0x4bc70d+_0x420842(0x24d));return;}const _0xebcdaa=_0x3d52fc[_0x420842(0x271)]||global[_0x420842(0x2d6)]?.[_0x420842(0x2a5)];if(!_0xebcdaa){logger['debug']('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x4bc70d);return;}let _0x2c8c96='',_0x21de81=null;if(_0x57be5b[_0x420842(0x32b)](_0x3d52fc[_0x420842(0x288)],_0x57be5b[_0x420842(0x359)])){_0x21de81=_0x3d52fc[_0x420842(0x37d)]?.[_0x420842(0x362)]||_0x3d52fc['testInfo']?.['id']||global[_0x420842(0x394)];if(!_0x21de81){logger['warn'](_0x57be5b[_0x420842(0x309)]);return;}try{const _0x1737c7=await GrpcClient[_0x420842(0x1fd)]()[_0x420842(0x365)](process[_0x420842(0x26d)][_0x420842(0x270)],_0x57be5b[_0x420842(0x2ee)],_0x57be5b[_0x420842(0x2d9)],_0x21de81),_0x3fdfe3=AccessibilityModule[_0x420842(0x1fe)](null,_0x1737c7);_0x2c8c96=_0x3fdfe3?.[_0x420842(0x314)]||'',logger[_0x420842(0x25d)](_0x420842(0x1e2)+_0x2c8c96+_0x420842(0x1f8)+_0x21de81);}catch(_0x81070a){logger['error'](_0x420842(0x217)+_0x81070a[_0x420842(0x2c3)]);return;}}else _0x2c8c96=this[_0x420842(0x360)](_0x57be5b[_0x420842(0x2dc)])||'';const _0x1403a2=this['getCapabilityValue'](_0x57be5b[_0x420842(0x33d)])||this[_0x420842(0x281)][this[_0x420842(0x24b)]]||null,_0x45604d=process[_0x420842(0x26d)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x39a9be=this[_0x420842(0x38d)](_0x4bc70d,_0x2c8c96,_0x1403a2,_0x45604d),_0x93a2fe=_0x57be5b[_0x420842(0x1de)](_0x3d52fc['testFramework'],_0x57be5b['oPRiN'])?await AccessibilityModule[_0x420842(0x283)](_0x57be5b['TNuid'],_0x2c8c96,_0x21de81):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x57be5b[_0x420842(0x26f)],_0x2c8c96);logger['info']('ScanArgs:\x20'+(_0x39a9be?JSON[_0x420842(0x2f8)](_0x39a9be):_0x57be5b[_0x420842(0x294)]));const _0x4566fc=CLIUtils[_0x420842(0x350)](_0x39a9be,_0x93a2fe);logger[_0x420842(0x344)](_0x420842(0x1f6)+(_0x4566fc?JSON['stringify'](_0x4566fc):_0x57be5b[_0x420842(0x294)])),logger[_0x420842(0x25d)]('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x4bc70d);const _0x15d21a=await this[_0x420842(0x221)](_0xebcdaa,_0x2c8c96,_0x4bc70d,_0x4566fc,this[_0x420842(0x2d3)]);logger['debug']('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x4bc70d+_0x420842(0x247)+_0x15d21a);}catch(_0x3f1238){logger['error']('Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20'+(_0x3f1238[_0x420842(0x240)]||_0x3f1238[_0x420842(0x2c3)]));}}[a80_0xc1370(0x397)](){return this['getCurrentAccessibilityStatus']();}[a80_0xc1370(0x202)](_0x339512){const _0x1d5575=a80_0xc1370,_0x2e6840=CLIUtils[_0x1d5575(0x1e5)]();this[_0x1d5575(0x339)][_0x1d5575(0x302)](_0x2e6840,_0x339512);}async['initAccessibilityConfig'](_0x4db780){const _0x347e4c=a80_0xc1370,_0x2d6546={};_0x2d6546[_0x347e4c(0x2e7)]=_0x347e4c(0x2ae);const _0x5f5031=_0x2d6546;try{const _0x575919=_0x4db780[_0x347e4c(0x239)]||AutomationFramework['getTrackedInstance'](),_0x5c946b=_0x575919?.[_0x347e4c(0x20e)]?.()?.[_0x347e4c(0x284)]?.(this['KEY_INIT'])||![];if(_0x5c946b)return;PerformanceTester[_0x347e4c(0x1eb)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);const _0x209601=await GrpcClient[_0x347e4c(0x1fd)]()['getAccessibilityConfig'](_0x4db780);_0x209601&&_0x209601[_0x347e4c(0x1cd)]&&_0x209601['getAccessibility']()&&_0x209601[_0x347e4c(0x1cd)]()['getSuccess']()?(await this[_0x347e4c(0x39c)](_0x209601,_0x4db780),_0x575919?.['getData']&&_0x575919['getData']()[_0x347e4c(0x302)](this[_0x347e4c(0x209)],!![]),logger['debug'](_0x347e4c(0x297)+(_0x575919?.['getPlatformIndex']?.()||_0x5f5031[_0x347e4c(0x2e7)])+_0x347e4c(0x275))):logger[_0x347e4c(0x25d)](_0x347e4c(0x297)+(_0x575919?.['getPlatformIndex']?.()||_0x5f5031[_0x347e4c(0x2e7)])+_0x347e4c(0x2e6)),PerformanceTester[_0x347e4c(0x282)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x575fde){PerformanceTester[_0x347e4c(0x282)](EVENTS[_0x347e4c(0x368)],![],_0x575fde['message']),logger[_0x347e4c(0x388)](_0x347e4c(0x356)+(_0x575fde[_0x347e4c(0x240)]||_0x575fde['message']));}}async[a80_0xc1370(0x39c)](_0x312271,_0x3aafab){const _0x5cd2f3=a80_0xc1370;await this[_0x5cd2f3(0x2ff)](_0x312271,_0x3aafab);const _0x30c36b=_0x312271[_0x5cd2f3(0x1cd)]()['getOptions']();if(_0x30c36b){const _0x20b5ce=_0x312271[_0x5cd2f3(0x23f)]&&_0x312271[_0x5cd2f3(0x23f)]();_0x20b5ce&&(this[_0x5cd2f3(0x281)][this[_0x5cd2f3(0x24b)]]=_0x20b5ce[_0x5cd2f3(0x335)]&&_0x20b5ce['getBuildId']());}}[a80_0xc1370(0x355)](_0x25eda3){const _0x1936ed=a80_0xc1370,_0x414ed7={};_0x414ed7[_0x1936ed(0x396)]=function(_0x1891d0,_0x16cb08){return _0x1891d0===_0x16cb08;};const _0x19ed06=_0x414ed7;try{if(!_0x25eda3)return![];const _0x2541a6=this['accessibilityConfig']?.[_0x1936ed(0x2ca)]?.[_0x1936ed(0x332)]?.[_0x1936ed(0x30c)]||[],_0xa2152=_0x2541a6[_0x1936ed(0x242)](_0x95e7b0=>{const _0x411f97=_0x1936ed;return _0x95e7b0[_0x411f97(0x207)]&&_0x19ed06['lBuWY'](_0x95e7b0[_0x411f97(0x207)][_0x411f97(0x2fa)](),_0x25eda3[_0x411f97(0x2fa)]());});return logger[_0x1936ed(0x25d)](_0x1936ed(0x2b0)+_0x25eda3+_0x1936ed(0x36e)+_0xa2152+',\x20available\x20commands:\x20'+JSON[_0x1936ed(0x2f8)](_0x2541a6[_0x1936ed(0x364)](_0x550290=>_0x550290['name']))),_0xa2152;}catch(_0x4ba7e2){return logger[_0x1936ed(0x25d)]('Error\x20in\x20shouldScanForCommand:\x20'+_0x4ba7e2['message']),![];}}[a80_0xc1370(0x352)](_0x57986d){const _0x20d1bc=a80_0xc1370,_0xa63016={};_0xa63016[_0x20d1bc(0x257)]=function(_0x2cedb0,_0x74a0f1){return _0x2cedb0===_0x74a0f1;},_0xa63016[_0x20d1bc(0x39e)]=_0x20d1bc(0x260),_0xa63016[_0x20d1bc(0x222)]='browserstack_executor';const _0x52d55c=_0xa63016,_0x1d6150=_0x57986d[_0x20d1bc(0x258)]&&_0x57986d[_0x20d1bc(0x258)]();return _0x1d6150&&_0x52d55c['xBoMU'](typeof _0x1d6150,_0x52d55c[_0x20d1bc(0x39e)])&&_0x1d6150[_0x20d1bc(0x252)](_0x52d55c[_0x20d1bc(0x222)]);}[a80_0xc1370(0x31f)](_0x7cc316){const _0x479441=a80_0xc1370,_0x8f5ed={};_0x8f5ed['ZAOWi']=function(_0x319c18,_0x1f0af8){return _0x319c18!==_0x1f0af8;},_0x8f5ed[_0x479441(0x305)]=_0x479441(0x260),_0x8f5ed[_0x479441(0x34c)]=_0x479441(0x339),_0x8f5ed[_0x479441(0x251)]=_0x479441(0x2c2),_0x8f5ed['VlhaS']=_0x479441(0x35e),_0x8f5ed['dHUho']=_0x479441(0x234);const _0x3194c9=_0x8f5ed,_0x467841=_0x7cc316['getScript']&&_0x7cc316['getScript']();if(!_0x467841||_0x3194c9[_0x479441(0x27f)](typeof _0x467841,_0x3194c9[_0x479441(0x305)]))return![];return _0x467841[_0x479441(0x252)](_0x3194c9['DItZr'])||_0x467841[_0x479441(0x252)](_0x3194c9[_0x479441(0x251)])||_0x467841['includes'](_0x3194c9[_0x479441(0x2c5)])||_0x467841[_0x479441(0x252)](_0x3194c9['dHUho']);}[a80_0xc1370(0x38d)](_0x5d6e02,_0x407b5a,_0x22a2db,_0x4cd10d){const _0x348f3d=a80_0xc1370,_0x5c7017={};_0x5c7017[_0x348f3d(0x30f)]=function(_0xe87fc7,_0x6e3ac){return _0xe87fc7||_0x6e3ac;},_0x5c7017[_0x348f3d(0x230)]=function(_0x53d269,_0x63457b){return _0x53d269||_0x63457b;};const _0x26e197=_0x5c7017;return{'command':_0x5d6e02,'thTestRunUuid':_0x26e197[_0x348f3d(0x30f)](_0x407b5a,''),'thBuildUuid':_0x26e197['UGMaO'](_0x22a2db,''),'thJwtToken':_0x26e197[_0x348f3d(0x30f)](_0x4cd10d,''),'timestamp':new Date()[_0x348f3d(0x2c8)]()};}['getScriptByName'](_0x264b03){const _0x2127c4=a80_0xc1370,_0x28e745={};_0x28e745[_0x2127c4(0x2bf)]=function(_0x1035e9,_0x106f29){return _0x1035e9||_0x106f29;};const _0x466162=_0x28e745;try{const _0x5c7f46=this[_0x2127c4(0x281)]?.[_0x2127c4(0x2ca)]?.[_0x2127c4(0x34b)]||[],_0x25f6ae=_0x5c7f46[_0x2127c4(0x2c4)](_0x47522c=>_0x47522c['name']===_0x264b03);return _0x466162[_0x2127c4(0x2bf)](_0x25f6ae,null);}catch(_0x989382){return logger[_0x2127c4(0x25d)](_0x2127c4(0x2b8)+_0x264b03+':\x20'+_0x989382[_0x2127c4(0x2c3)]),null;}}async['executeScriptByName'](_0xaf3812,_0x2e4d64,_0x1f8101=null){const _0x1fec85=a80_0xc1370,_0x510f88={'WgSDg':function(_0x2f79d6,_0x48a0b6){return _0x2f79d6(_0x48a0b6);},'ijfyw':_0x1fec85(0x1d1)};try{if(!_0xaf3812)return logger[_0x1fec85(0x25d)](_0x1fec85(0x38b)+_0x2e4d64),null;const _0x5a4c2e=this['getScriptByName'](_0x2e4d64);if(!_0x5a4c2e||!_0x5a4c2e[_0x1fec85(0x321)])return logger['debug'](_0x1fec85(0x256)+_0x2e4d64+'\x20script\x20available'),null;logger[_0x1fec85(0x25d)](_0x1fec85(0x1f1)+_0x2e4d64+_0x1fec85(0x385));const _0x27c4c8=_0x510f88[_0x1fec85(0x24c)](require,_0x510f88['ijfyw']),_0x3c4b48=_0x1f8101?await _0x27c4c8[_0x1fec85(0x292)](_0xaf3812,_0x5a4c2e[_0x1fec85(0x321)],_0x1f8101):await _0x27c4c8[_0x1fec85(0x292)](_0xaf3812,_0x5a4c2e[_0x1fec85(0x321)]);return _0x3c4b48;}catch(_0x47e9a4){return logger[_0x1fec85(0x388)]('Error\x20executing\x20script\x20'+_0x2e4d64+':\x20'+(_0x47e9a4[_0x1fec85(0x240)]||_0x47e9a4[_0x1fec85(0x2c3)])),null;}}async['performScanForCli'](_0x55cc5e,_0x43932f,_0x21dd8f,_0xf126b,_0x2b4b55,_0x3b6e4e=a80_0xc1370(0x351)){const _0x4794a7=a80_0xc1370,_0x533013={'ATjht':function(_0x496204,_0x431bc3){return _0x496204===_0x431bc3;},'zmajg':_0x4794a7(0x351),'hciou':function(_0x46fb87,_0x1c3d0f){return _0x46fb87(_0x1c3d0f);},'fzdhL':_0x4794a7(0x1d1)};try{logger['debug'](_0x4794a7(0x293)+_0x21dd8f+_0x4794a7(0x2da)+_0x3b6e4e);const _0x405537=this[_0x4794a7(0x1fb)](_0x3b6e4e);if(!_0x405537||!_0x405537['command']){logger[_0x4794a7(0x25d)](_0x4794a7(0x279)+_0x3b6e4e+_0x4794a7(0x2ce));return;}if(_0x533013['ATjht'](_0x3b6e4e,_0x533013[_0x4794a7(0x22d)])){const _0x3daa01=_0x533013[_0x4794a7(0x386)](require,_0x533013['fzdhL']),_0x42ed9d={};_0x42ed9d[_0x4794a7(0x321)]=_0x21dd8f;const _0x483aef=await PerformanceTester[_0x4794a7(0x253)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2f87b6=_0x4794a7;await _0x3daa01[_0x2f87b6(0x292)](_0x55cc5e,_0x405537[_0x2f87b6(0x321)]);},_0x42ed9d)();return logger[_0x4794a7(0x344)](_0x4794a7(0x2bb)+_0x3b6e4e+'\x20result\x20for\x20'+_0x21dd8f+':\x20'+util[_0x4794a7(0x2fe)](_0x483aef)),_0x483aef;}const _0x46a1a9=_0x533013[_0x4794a7(0x386)](require,_0x533013[_0x4794a7(0x274)]),_0x293ff9=await PerformanceTester[_0x4794a7(0x253)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x1fbbaa=_0x4794a7;await _0x46a1a9[_0x1fbbaa(0x292)](_0x55cc5e,_0x405537[_0x1fbbaa(0x321)],_0xf126b);})();return logger['info']('Page\x20'+_0x3b6e4e+_0x4794a7(0x1f4)+_0x21dd8f+':\x20'+util[_0x4794a7(0x2fe)](_0x293ff9)),_0x293ff9;}catch(_0x4524d2){logger[_0x4794a7(0x388)]('Error\x20in\x20performScanForCli\x20for\x20script\x20'+_0x3b6e4e+':\x20'+(_0x4524d2[_0x4794a7(0x240)]||_0x4524d2['message']));}}async[a80_0xc1370(0x2c1)](_0x317383){const _0x5224b5=a80_0xc1370,_0x5c7c73={'mbffT':function(_0x56ac4c,_0x516310){return _0x56ac4c(_0x516310);},'NZrLD':_0x5224b5(0x22c)};try{const _0x23886f=_0x5c7c73[_0x5224b5(0x225)](require,_0x5c7c73[_0x5224b5(0x2fb)]);return await _0x23886f[_0x5224b5(0x1f9)](_0x317383);}catch(_0x310fa6){return logger[_0x5224b5(0x388)](_0x5224b5(0x2ed)+(_0x310fa6[_0x5224b5(0x240)]||_0x310fa6[_0x5224b5(0x2c3)])),![];}}[a80_0xc1370(0x2f7)](_0x2e7a97,_0x524e6f,_0x178b22){const _0xa96831=a80_0xc1370,_0x33584c={'FAlTL':function(_0x24195f,_0x451364){return _0x24195f(_0x451364);},'kvjpl':_0xa96831(0x1d1),'COVUX':_0xa96831(0x31d),'NWGsT':_0xa96831(0x2cd)};try{const _0x3021a6=_0x33584c[_0xa96831(0x261)](require,_0x33584c[_0xa96831(0x2b3)]);_0x3021a6[_0xa96831(0x2f7)](_0x2e7a97,_0x524e6f,_0x178b22);const _0x3dbb37=JSON[_0xa96831(0x2f8)](_0x2e7a97)['replace'](/"browserstack\.user":"[^"]*"/g,_0x33584c[_0xa96831(0x1db)])[_0xa96831(0x1ef)](/"browserstack\.key":"[^"]*"/g,_0x33584c[_0xa96831(0x327)]);logger[_0xa96831(0x25d)](_0xa96831(0x325)+global['accessibilityPlatform']+'\x20'+_0x3dbb37);}catch(_0x77dcf0){logger[_0xa96831(0x388)](_0xa96831(0x2a4)+(_0x77dcf0['stack']||_0x77dcf0[_0xa96831(0x2c3)]));}}async[a80_0xc1370(0x38e)](_0x510a15){const _0x3c1978=a80_0xc1370,_0x3d019e={};_0x3d019e[_0x3c1978(0x2f1)]=_0x3c1978(0x2e5),_0x3d019e[_0x3c1978(0x255)]=_0x3c1978(0x35e);const _0x5daf31=_0x3d019e;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x3c1978(0x32e)](_0x5daf31['zwwmd']),[];const _0x1a0e3d=await this[_0x3c1978(0x37e)](_0x510a15,_0x5daf31[_0x3c1978(0x255)]);return _0x1a0e3d||[];}catch(_0x49f6b9){return logger[_0x3c1978(0x388)]('Error\x20in\x20getAccessibilityResults:\x20'+(_0x49f6b9[_0x3c1978(0x240)]||_0x49f6b9[_0x3c1978(0x2c3)])),[];}}async[a80_0xc1370(0x25a)](_0x298635){const _0x362879=a80_0xc1370,_0x56bc70={'hdbkI':'scan','ueOyY':_0x362879(0x1d9),'EkiWy':_0x362879(0x349),'gOVEG':function(_0x52cbcd,_0x1138c1){return _0x52cbcd(_0x1138c1);},'AYFnF':_0x362879(0x280),'CAvcj':function(_0x27fb9c,_0x166d70){return _0x27fb9c===_0x166d70;},'aeZbD':_0x362879(0x203),'fSaLC':_0x362879(0x1e9),'XLEEX':'accessibility','HayDx':_0x362879(0x2bc),'BQzpy':_0x362879(0x25a),'CMykq':'test_run_id','lppYy':'Performing\x20scan\x20before\x20getting\x20results\x20summary','VxYRP':'No\x20summaryResults\x20found.'};try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x362879(0x32e)](_0x56bc70[_0x362879(0x2cb)]),{};const _0x2f2d7d=_0x56bc70['gOVEG'](require,_0x56bc70[_0x362879(0x2d0)]),_0x3fd6b1=_0x2f2d7d['getTestFrameworkDetail'](),_0x23b224=_0x56bc70['CAvcj'](_0x3fd6b1?.[_0x362879(0x207)]?.['toLowerCase'](),_0x56bc70[_0x362879(0x28b)]);let _0x35b727='',_0x572cee=null,_0x5a23e8=null;if(_0x23b224){_0x572cee=global[_0x362879(0x394)]||global[_0x362879(0x2d6)]?.[_0x362879(0x312)]?.[_0x362879(0x362)]||global[_0x362879(0x2d6)]?.['currentTest']?.['id'];if(!_0x572cee)return logger[_0x362879(0x32e)](_0x56bc70[_0x362879(0x285)]),{};try{const _0x4fd8e7=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process[_0x362879(0x26d)][_0x362879(0x270)],_0x56bc70[_0x362879(0x2db)],_0x56bc70['ueOyY'],_0x572cee),_0x30c8f1=AccessibilityModule[_0x362879(0x1fe)](null,_0x4fd8e7);_0x35b727=_0x30c8f1?.['thTestRunUuid']||'',logger['debug'](_0x362879(0x2b1)+_0x35b727+_0x362879(0x1f8)+_0x572cee);const _0x1739e5=await AccessibilityModule[_0x362879(0x283)](_0x56bc70[_0x362879(0x366)],_0x35b727,_0x572cee),_0x4f6a61=this['getCapabilityValue'](_0x56bc70[_0x362879(0x324)])||this['accessibilityConfig'][this['KEY_TESTHUB_BUILD_ID']]||null,_0x30768b=process[_0x362879(0x26d)][_0x362879(0x2a3)]||'',_0x46996d=this[_0x362879(0x38d)](_0x56bc70[_0x362879(0x22e)],_0x35b727,_0x4f6a61,_0x30768b);_0x5a23e8=_0x2f2d7d[_0x362879(0x350)](_0x46996d,_0x1739e5),logger[_0x362879(0x25d)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs='+JSON[_0x362879(0x2f8)](_0x5a23e8));}catch(_0xac0844){return logger['error']('getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0xac0844[_0x362879(0x2c3)]),{};}}else{_0x35b727=this[_0x362879(0x360)](_0x56bc70[_0x362879(0x32d)])||'';const _0x186678=this['getCapabilityValue'](_0x56bc70[_0x362879(0x324)])||this[_0x362879(0x281)][this[_0x362879(0x24b)]]||null,_0x2e27b7=process[_0x362879(0x26d)][_0x362879(0x2a3)]||'';_0x5a23e8=this[_0x362879(0x38d)](_0x56bc70['BQzpy'],_0x35b727,_0x186678,_0x2e27b7);}logger['debug'](_0x56bc70[_0x362879(0x36f)]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2f23ea=_0x362879,_0x5e8e08=await this[_0x2f23ea(0x37e)](_0x298635,_0x56bc70['hdbkI'],_0x5a23e8);logger['debug'](_0x2f23ea(0x381)+util[_0x2f23ea(0x2fe)](_0x5e8e08));},{'command':_0x56bc70[_0x362879(0x22e)]})();const _0x45eff2=await PerformanceTester[_0x362879(0x253)](PerformanceA11yEvents[_0x362879(0x32f)],async()=>{const _0x2680f1=_0x362879;return await this[_0x2680f1(0x37e)](_0x298635,_0x56bc70[_0x2680f1(0x366)],_0x5a23e8);})();if(!_0x45eff2)return logger[_0x362879(0x25d)](_0x56bc70['VxYRP']),{};return _0x45eff2;}catch(_0x474946){return logger['error'](_0x362879(0x244)+(_0x474946['stack']||_0x474946['message'])),{};}}async['performPageScan'](_0x4af59e,_0x4b6f7e,_0x4e4268=null){const _0x18377e=a80_0xc1370,_0x12d973={};_0x12d973[_0x18377e(0x24a)]=_0x18377e(0x1ed),_0x12d973[_0x18377e(0x398)]='performPageScan:\x20Script\x20is\x20null',_0x12d973[_0x18377e(0x299)]=_0x18377e(0x1f2);const _0x5d763a=_0x12d973;try{if(!_0x4af59e)return logger[_0x18377e(0x25d)](_0x5d763a[_0x18377e(0x24a)]),null;if(!_0x4b6f7e)return logger[_0x18377e(0x25d)](_0x5d763a['VUHoW']),null;logger[_0x18377e(0x25d)](_0x5d763a[_0x18377e(0x299)]);const _0x37744d=_0x4e4268?await _0x4af59e[_0x18377e(0x317)](_0x4b6f7e,_0x4e4268):await _0x4af59e[_0x18377e(0x317)](_0x4b6f7e);return _0x37744d;}catch(_0x30807c){return logger[_0x18377e(0x388)]('Error\x20in\x20performPageScan:\x20'+(_0x30807c[_0x18377e(0x240)]||_0x30807c[_0x18377e(0x2c3)])),null;}}static[a80_0xc1370(0x1fe)](_0x4c1f74,_0x524050){const _0x21e7da=a80_0xc1370,_0x11a197={};_0x11a197[_0x21e7da(0x395)]=_0x21e7da(0x308);const _0x231a49=_0x11a197,_0x3ca9cf={};_0x3ca9cf[_0x21e7da(0x314)]=_0x4c1f74;const _0x31affa=_0x3ca9cf;let _0x17c432={};if(_0x524050[_0x21e7da(0x370)]()&&_0x524050[_0x21e7da(0x273)]())try{_0x17c432=JSON[_0x21e7da(0x30a)](new Buffer(_0x524050[_0x21e7da(0x35d)]())[_0x21e7da(0x2c7)](_0x231a49[_0x21e7da(0x395)]));}catch(_0x151b34){logger[_0x21e7da(0x388)](_0x21e7da(0x2a7)+_0x151b34[_0x21e7da(0x2c3)]),_0x17c432={};}return CLIUtils['mergeObject'](_0x31affa,_0x17c432);}static async['fetchCentralAuthA11yConfig'](_0x451d6e,_0x7c5637='',_0x3fb7df=null){const _0x520ffc=a80_0xc1370,_0x29650c={};_0x29650c[_0x520ffc(0x301)]=_0x520ffc(0x35c),_0x29650c[_0x520ffc(0x22f)]=_0x520ffc(0x339);const _0x4f9d90=_0x29650c;try{if(!_0x3fb7df&&AccessibilityModule[_0x520ffc(0x2de)])return AccessibilityModule['_centralAuthA11yConfig'];if(!process[_0x520ffc(0x26d)][_0x520ffc(0x270)])return logger[_0x520ffc(0x388)](_0x4f9d90[_0x520ffc(0x301)]),{};const _0x31ebc9=await GrpcClient[_0x520ffc(0x1fd)]()[_0x520ffc(0x365)](process[_0x520ffc(0x26d)][_0x520ffc(0x270)],_0x4f9d90[_0x520ffc(0x22f)],_0x451d6e,_0x3fb7df),_0x3e254e=_0x3fb7df?AccessibilityModule['loadDriverExecuteParams'](null,_0x31ebc9)?.['thTestRunUuid']||_0x7c5637:_0x7c5637,_0x2f0d7c=AccessibilityModule[_0x520ffc(0x1fe)](_0x3e254e,_0x31ebc9);return!_0x3fb7df&&(AccessibilityModule[_0x520ffc(0x214)]=_0x2f0d7c,AccessibilityModule[_0x520ffc(0x2de)]=!![]),_0x2f0d7c;}catch(_0xf10506){return logger[_0x520ffc(0x388)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x451d6e+':\x20'+(_0xf10506['stack']||_0xf10506[_0x520ffc(0x2c3)])),{};}}};module[a80_0xc1370(0x320)]=AccessibilityModule;
@@ -1 +1 @@
1
- const a81_0x133599=a81_0x2796;(function(_0x5a3df1,_0x3923d8){const _0x36b284=a81_0x2796,_0x42c5ea=_0x5a3df1();while(!![]){try{const _0x174401=-parseInt(_0x36b284(0x1ec))/0x1+-parseInt(_0x36b284(0x1ff))/0x2+parseInt(_0x36b284(0x205))/0x3*(-parseInt(_0x36b284(0x1f6))/0x4)+-parseInt(_0x36b284(0x201))/0x5+-parseInt(_0x36b284(0x209))/0x6+-parseInt(_0x36b284(0x202))/0x7+parseInt(_0x36b284(0x1f8))/0x8*(parseInt(_0x36b284(0x1f4))/0x9);if(_0x174401===_0x3923d8)break;else _0x42c5ea['push'](_0x42c5ea['shift']());}catch(_0x382d62){_0x42c5ea['push'](_0x42c5ea['shift']());}}}(a81_0x542c,0xa0a56));const logger=require(a81_0x133599(0x1f9))[a81_0x133599(0x200)],{FRAMEWORKS}=require(a81_0x133599(0x1f0));function a81_0x542c(){const _0x5aabf4=['_test','../../../helpers/test-observability/constants.js','htWOh','0|1|4|3|2','split','56988387TBXbwY','getTestId','4SpHEcx','config','8bIFyjk','../../../helpers/logger.js','hdoPF','object','\x20with\x20binSessionId=','DLHQs','version','1662076nLTIRl','winstonLogger','6262685sCfgLv','5314330psfxBx','exports','name','2171217PlNMLM','ocMXF','platformIndex','setTestFrameworkData','6937002nbBIRm','DddZA','testInfo','getModuleName','PLAYWRIGHT','binSessionId','debug','951366hlLWOn','ensureBinSession','xcceu'];a81_0x542c=function(){return _0x5aabf4;};return a81_0x542c();}function a81_0x2796(_0x4094c0,_0x18bf06){const _0x542c34=a81_0x542c();return a81_0x2796=function(_0x2796d5,_0x22f96a){_0x2796d5=_0x2796d5-0x1e7;let _0x5197b6=_0x542c34[_0x2796d5];return _0x5197b6;},a81_0x2796(_0x4094c0,_0x18bf06);}class BaseModule{constructor(_0x56e73c=null){const _0x4af9b6=a81_0x133599,_0x13493f={};_0x13493f['CYYcX']='1|3|0|4|5|2',_0x13493f['xcceu']='BaseModule';const _0x4861c2=_0x13493f,_0x30ef8c=_0x4861c2['CYYcX'][_0x4af9b6(0x1f3)]('|');let _0x4ab5ae=0x0;while(!![]){switch(_0x30ef8c[_0x4ab5ae++]){case'0':this[_0x4af9b6(0x207)]=0x0;continue;case'1':this[_0x4af9b6(0x204)]=_0x4861c2[_0x4af9b6(0x1ee)];continue;case'2':this['testFrameworkData']=this[_0x4af9b6(0x208)](_0x56e73c);continue;case'3':this['binSessionId']=null;continue;case'4':this[_0x4af9b6(0x1f7)]={};continue;case'5':this['client']=null;continue;}break;}}[a81_0x133599(0x1ed)](){const _0x5a96c6=a81_0x133599,_0x3bb67b={};_0x3bb67b['QKrls']='Missing\x20binSessionId';const _0x165687=_0x3bb67b;if(!this[_0x5a96c6(0x1ea)])throw new Error(_0x165687['QKrls']);}[a81_0x133599(0x1e8)](){const _0x172f5=a81_0x133599;return this[_0x172f5(0x204)];}['configure'](_0x24db03,_0x14e5bf,_0x4f02bb,_0x216c4f={}){const _0x432f33=a81_0x133599,_0x195d53={};_0x195d53[_0x432f33(0x1fa)]=_0x432f33(0x1f2);const _0x4326f3=_0x195d53,_0x43c4f3=_0x4326f3['hdoPF'][_0x432f33(0x1f3)]('|');let _0x3ad491=0x0;while(!![]){switch(_0x43c4f3[_0x3ad491++]){case'0':this['binSessionId']=_0x24db03;continue;case'1':this[_0x432f33(0x207)]=_0x14e5bf;continue;case'2':logger[_0x432f33(0x1eb)]('Configured\x20module\x20'+this[_0x432f33(0x1e8)]()+_0x432f33(0x1fc)+_0x24db03+',\x20platformIndex='+_0x14e5bf);continue;case'3':this['config']=_0x216c4f;continue;case'4':this['client']=_0x4f02bb;continue;}break;}}[a81_0x133599(0x1f5)](_0x52eb38){const _0xce498e=a81_0x133599,_0x5995ca={};_0x5995ca[_0xce498e(0x206)]=function(_0x45377b,_0x597954){return _0x45377b===_0x597954;},_0x5995ca[_0xce498e(0x1f1)]=function(_0x42d4fc,_0x1d38ef){return _0x42d4fc===_0x1d38ef;};const _0x293207=_0x5995ca;let _0x115e03='';if(_0x293207[_0xce498e(0x206)](_0x52eb38['testFramework'],FRAMEWORKS[_0xce498e(0x1e9)]))_0x115e03=_0x52eb38[_0xce498e(0x1e7)]?.[_0xce498e(0x1ef)]?.['id']||_0x52eb38[_0xce498e(0x1e7)]?.['testId'];else{if(_0x293207[_0xce498e(0x1f1)](_0x52eb38['testFramework'],FRAMEWORKS['CUCUMBER']))_0x115e03=_0x52eb38['testInfo']?.['testCaseStartedId'];else _0x293207[_0xce498e(0x206)](_0x52eb38['testFramework'],FRAMEWORKS['JEST'])&&(_0x115e03=_0x52eb38['testInfo']?.['id']);}return _0x115e03;}[a81_0x133599(0x208)](_0x4ca320){const _0x2aadd1=a81_0x133599,_0x3fbd2a={};_0x3fbd2a[_0x2aadd1(0x20a)]=function(_0x2c962f,_0x2259c1){return _0x2c962f!==_0x2259c1;},_0x3fbd2a['DLHQs']=_0x2aadd1(0x1fb);const _0x48a096=_0x3fbd2a;if(!_0x4ca320||_0x48a096[_0x2aadd1(0x20a)](typeof _0x4ca320,_0x48a096[_0x2aadd1(0x1fd)]))return null;const _0x418373={};_0x418373[_0x2aadd1(0x204)]=_0x4ca320[_0x2aadd1(0x204)],_0x418373[_0x2aadd1(0x1fe)]=_0x4ca320[_0x2aadd1(0x1fe)]&&_0x4ca320[_0x2aadd1(0x1fe)][_0x4ca320['name']];const _0x1a41af=_0x418373;return _0x1a41af;}}module[a81_0x133599(0x203)]=BaseModule;
1
+ function a81_0x16a4(){const _0x3d6640=['5|1|4|3|2|0','_test','name','binSessionId','20bVvGMd','config','4mJVGfn','platformIndex','split','JEST','1413GktCtf','setTestFrameworkData','9885282VtDyDc','CHvdu','3|4|1|2|0','11028dYfWNr','debug','exports','9285962QoXZGL','BaseModule','PLAYWRIGHT','testCaseStartedId','object','167361wzNauy','wrEpn','xguRV','Configured\x20module\x20','testFramework','testInfo','8yZLFpf','23676JmEQXP','getModuleName','testId','TpytV','ensureBinSession','winstonLogger','31550IVxLcx','1315uosJsM','4719hmTDKD','client','OmMvE','version','Missing\x20binSessionId','testFrameworkData','Gczmn','103416dLIeYW'];a81_0x16a4=function(){return _0x3d6640;};return a81_0x16a4();}const a81_0x3db9ce=a81_0x1b46;(function(_0x1bc3b4,_0xf56d92){const _0x22ab23=a81_0x1b46,_0x1502cc=_0x1bc3b4();while(!![]){try{const _0x4ef1b5=-parseInt(_0x22ab23(0x1d4))/0x1*(-parseInt(_0x22ab23(0x1be))/0x2)+-parseInt(_0x22ab23(0x1b7))/0x3*(parseInt(_0x22ab23(0x1d2))/0x4)+parseInt(_0x22ab23(0x1c5))/0x5*(-parseInt(_0x22ab23(0x1af))/0x6)+-parseInt(_0x22ab23(0x1b2))/0x7*(parseInt(_0x22ab23(0x1bd))/0x8)+-parseInt(_0x22ab23(0x1aa))/0x9*(-parseInt(_0x22ab23(0x1c4))/0xa)+-parseInt(_0x22ab23(0x1ac))/0xb+parseInt(_0x22ab23(0x1cd))/0xc*(parseInt(_0x22ab23(0x1c6))/0xd);if(_0x4ef1b5===_0xf56d92)break;else _0x1502cc['push'](_0x1502cc['shift']());}catch(_0x1fea94){_0x1502cc['push'](_0x1502cc['shift']());}}}(a81_0x16a4,0xa6dc8));const logger=require('../../../helpers/logger.js')[a81_0x3db9ce(0x1c3)],{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js');function a81_0x1b46(_0x1c7129,_0x306984){const _0x16a477=a81_0x16a4();return a81_0x1b46=function(_0x1b469b,_0x586429){_0x1b469b=_0x1b469b-0x1a8;let _0x3a5d1e=_0x16a477[_0x1b469b];return _0x3a5d1e;},a81_0x1b46(_0x1c7129,_0x306984);}class BaseModule{constructor(_0x3ddf7a=null){const _0x37b130=a81_0x3db9ce,_0x555eeb={};_0x555eeb[_0x37b130(0x1cc)]=_0x37b130(0x1ce),_0x555eeb['jPbEK']=_0x37b130(0x1b3);const _0x58af34=_0x555eeb,_0x327581=_0x58af34[_0x37b130(0x1cc)][_0x37b130(0x1a8)]('|');let _0x113576=0x0;while(!![]){switch(_0x327581[_0x113576++]){case'0':this[_0x37b130(0x1cb)]=this[_0x37b130(0x1ab)](_0x3ddf7a);continue;case'1':this['binSessionId']=null;continue;case'2':this[_0x37b130(0x1c7)]=null;continue;case'3':this['config']={};continue;case'4':this[_0x37b130(0x1d5)]=0x0;continue;case'5':this[_0x37b130(0x1d0)]=_0x58af34['jPbEK'];continue;}break;}}[a81_0x3db9ce(0x1c2)](){const _0xec5dc6=a81_0x3db9ce,_0x402ff1={};_0x402ff1[_0xec5dc6(0x1b8)]=_0xec5dc6(0x1ca);const _0x13f66c=_0x402ff1;if(!this[_0xec5dc6(0x1d1)])throw new Error(_0x13f66c[_0xec5dc6(0x1b8)]);}['getModuleName'](){const _0x508473=a81_0x3db9ce;return this[_0x508473(0x1d0)];}['configure'](_0x2cbf7f,_0x3b41ef,_0x11219a,_0x55cb2c={}){const _0x44cd82=a81_0x3db9ce,_0x3433b4={};_0x3433b4[_0x44cd82(0x1ad)]=_0x44cd82(0x1ae);const _0x3b7939=_0x3433b4,_0x360de6=_0x3b7939['CHvdu']['split']('|');let _0x1587d7=0x0;while(!![]){switch(_0x360de6[_0x1587d7++]){case'0':logger[_0x44cd82(0x1b0)](_0x44cd82(0x1ba)+this[_0x44cd82(0x1bf)]()+'\x20with\x20binSessionId='+_0x2cbf7f+',\x20platformIndex='+_0x3b41ef);continue;case'1':this[_0x44cd82(0x1c7)]=_0x11219a;continue;case'2':this[_0x44cd82(0x1d3)]=_0x55cb2c;continue;case'3':this[_0x44cd82(0x1d1)]=_0x2cbf7f;continue;case'4':this['platformIndex']=_0x3b41ef;continue;}break;}}['getTestId'](_0x37d927){const _0x1904b2=a81_0x3db9ce,_0x25a7b2={};_0x25a7b2[_0x1904b2(0x1c8)]=function(_0x31e468,_0x486913){return _0x31e468===_0x486913;};const _0x22f19c=_0x25a7b2;let _0x47adab='';if(_0x22f19c[_0x1904b2(0x1c8)](_0x37d927[_0x1904b2(0x1bb)],FRAMEWORKS[_0x1904b2(0x1b4)]))_0x47adab=_0x37d927[_0x1904b2(0x1bc)]?.[_0x1904b2(0x1cf)]?.['id']||_0x37d927[_0x1904b2(0x1bc)]?.[_0x1904b2(0x1c0)];else{if(_0x22f19c[_0x1904b2(0x1c8)](_0x37d927[_0x1904b2(0x1bb)],FRAMEWORKS['CUCUMBER']))_0x47adab=_0x37d927[_0x1904b2(0x1bc)]?.[_0x1904b2(0x1b5)];else _0x22f19c[_0x1904b2(0x1c8)](_0x37d927[_0x1904b2(0x1bb)],FRAMEWORKS[_0x1904b2(0x1a9)])&&(_0x47adab=_0x37d927['testInfo']?.['id']);}return _0x47adab;}[a81_0x3db9ce(0x1ab)](_0x2c337a){const _0x47af71=a81_0x3db9ce,_0x11ce8c={};_0x11ce8c[_0x47af71(0x1c1)]=function(_0x56ec4d,_0x452c25){return _0x56ec4d!==_0x452c25;},_0x11ce8c[_0x47af71(0x1b9)]=_0x47af71(0x1b6);const _0x3afe96=_0x11ce8c;if(!_0x2c337a||_0x3afe96[_0x47af71(0x1c1)](typeof _0x2c337a,_0x3afe96[_0x47af71(0x1b9)]))return null;const _0x3dcdd6={};_0x3dcdd6['name']=_0x2c337a[_0x47af71(0x1d0)],_0x3dcdd6[_0x47af71(0x1c9)]=_0x2c337a['version']&&_0x2c337a[_0x47af71(0x1c9)][_0x2c337a['name']];const _0x4069cd=_0x3dcdd6;return _0x4069cd;}}module[a81_0x3db9ce(0x1b1)]=BaseModule;
@@ -1 +1 @@
1
- const a82_0x5aed6e=a82_0x50ae;(function(_0x2be5b2,_0x2bb131){const _0x44f912=a82_0x50ae,_0x37e901=_0x2be5b2();while(!![]){try{const _0xa1acf6=parseInt(_0x44f912(0xe9))/0x1+-parseInt(_0x44f912(0xe3))/0x2*(parseInt(_0x44f912(0xed))/0x3)+-parseInt(_0x44f912(0xf3))/0x4*(parseInt(_0x44f912(0xe0))/0x5)+-parseInt(_0x44f912(0xee))/0x6*(-parseInt(_0x44f912(0xe8))/0x7)+-parseInt(_0x44f912(0xef))/0x8*(parseInt(_0x44f912(0xf4))/0x9)+-parseInt(_0x44f912(0xdb))/0xa+parseInt(_0x44f912(0xe1))/0xb;if(_0xa1acf6===_0x2bb131)break;else _0x37e901['push'](_0x37e901['shift']());}catch(_0x320edb){_0x37e901['push'](_0x37e901['shift']());}}}(a82_0x41db,0xe8d13));const {createClassLogger}=require(a82_0x5aed6e(0xf0)),logger=createClassLogger(a82_0x5aed6e(0xea)),{sendSdkEvents}=require('../../../helpers/helper.js'),isLTSSession=(_0x532436=null)=>{const _0x288c8d=a82_0x5aed6e,_0x4c3bdf={};_0x4c3bdf[_0x288c8d(0xd5)]=function(_0x179452,_0x172d2b){return _0x179452!==_0x172d2b;},_0x4c3bdf[_0x288c8d(0x102)]='undefined',_0x4c3bdf['TsTzi']=function(_0x1eedf6,_0x3b582d){return _0x1eedf6===_0x3b582d;},_0x4c3bdf['zFTqJ']=_0x288c8d(0xf1),_0x4c3bdf[_0x288c8d(0xdf)]=function(_0x43a04c,_0x3113cf){return _0x43a04c===_0x3113cf;},_0x4c3bdf['DTRdu']=_0x288c8d(0xfc),_0x4c3bdf['qzpZR']=_0x288c8d(0xe4);const _0x235f74=_0x4c3bdf;try{if(_0x235f74[_0x288c8d(0xd5)](typeof process[_0x288c8d(0xd7)][_0x288c8d(0xfb)],_0x235f74[_0x288c8d(0x102)])){const _0x1bc832=process['env'][_0x288c8d(0xfb)];return _0x235f74[_0x288c8d(0xe6)](typeof _0x1bc832,_0x235f74[_0x288c8d(0xd8)])?_0x235f74['STCSL'](_0x1bc832[_0x288c8d(0xff)](),_0x235f74[_0x288c8d(0x100)]):!!_0x1bc832;}const _0x3ef0d9=_0x532436&&_0x532436['overrideLoadTesting'],_0x15ad2c=!!(_0x532436&&(_0x235f74[_0x288c8d(0xdf)](_0x532436[_0x288c8d(0xf5)],!![])||_0x235f74[_0x288c8d(0xe6)](_0x532436[_0x288c8d(0xf5)],_0x235f74[_0x288c8d(0x100)]))),_0x4aceda=!!(_0x3ef0d9&&_0x235f74[_0x288c8d(0xdf)](_0x3ef0d9['toString']()[_0x288c8d(0xff)](),_0x235f74['DTRdu'])&&!_0x15ad2c);return process['env']['overrideLoadTesting']=_0x4aceda?_0x235f74[_0x288c8d(0x100)]:_0x235f74[_0x288c8d(0xec)],_0x4aceda;}catch(_0x35a099){return process[_0x288c8d(0xd7)][_0x288c8d(0xfb)]=_0x235f74[_0x288c8d(0xec)],![];}},getLTSSessionId=()=>{const _0x6fc811=a82_0x5aed6e,_0x1ff51b={'QKSig':function(_0x32a0b3){return _0x32a0b3();},'QUBSC':'LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','Vxeus':'LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id'};try{if(_0x1ff51b[_0x6fc811(0xfe)](isLTSSession))return logger[_0x6fc811(0xe7)](_0x1ff51b[_0x6fc811(0xdd)]),process['env'][_0x6fc811(0xd9)]||'';}catch(_0x20aebd){logger[_0x6fc811(0xe2)](_0x6fc811(0x101)+(_0x20aebd&&_0x20aebd['message']));}return logger['debug'](_0x1ff51b['Vxeus']),'';},setLTSSessionId=async(_0xe2081b={})=>{const _0x1506be=a82_0x5aed6e,_0x55a963={'DXWbG':function(_0x5dd5ec){return _0x5dd5ec();},'xtueM':_0x1506be(0xeb),'ZQBPe':_0x1506be(0xf2),'lzlLI':'LTS','JKbfL':function(_0x4b8b85,_0x349821){return _0x4b8b85(_0x349821);},'tDOAP':function(_0x3d86ff,_0x2db3e8,_0x2aa2c4){return _0x3d86ff(_0x2db3e8,_0x2aa2c4);},'qpIId':function(_0x16d668,_0x2bd6a5){return _0x16d668||_0x2bd6a5;}};try{const _0xbfb9f8=_0x55a963[_0x1506be(0xda)](getLTSSessionId);_0xbfb9f8?(process[_0x1506be(0xd7)]['BROWSERSTACK_LTS_SESSION_ID']=_0xbfb9f8,logger['debug'](_0x55a963[_0x1506be(0xd3)])):(delete process['env'][_0x1506be(0xd9)],logger['debug'](_0x55a963[_0x1506be(0xdc)]));try{const _0x1be885={'feature':_0x55a963[_0x1506be(0xf9)],'ltsEnabled':_0x55a963[_0x1506be(0xfa)](isLTSSession,_0xe2081b),'ltsSessionIdPresent':!!_0xbfb9f8};await _0x55a963[_0x1506be(0xd6)](sendSdkEvents,_0x1be885,_0xe2081b);}catch(_0x2b2d0c){logger[_0x1506be(0xe7)](_0x1506be(0xf8)+(_0x2b2d0c&&_0x2b2d0c[_0x1506be(0xf7)]));}return _0x55a963[_0x1506be(0xd4)](_0xbfb9f8,'');}catch(_0xcfc291){return logger[_0x1506be(0xe7)](_0x1506be(0xe5)+(_0xcfc291&&_0xcfc291['message'])),'';}},a82_0x520df5={};function a82_0x50ae(_0x316678,_0x4a3a71){const _0x41db0b=a82_0x41db();return a82_0x50ae=function(_0x50ae9f,_0x5e24fd){_0x50ae9f=_0x50ae9f-0xd3;let _0x1dd710=_0x41db0b[_0x50ae9f];return _0x1dd710;},a82_0x50ae(_0x316678,_0x4a3a71);}function a82_0x41db(){const _0x1a5a05=['12vPHDHx','84516UWoXcs','16yMZjuU','../../../helpers/classLogger.js','string','BROWSERSTACK_LTS_SESSION_ID\x20cleared','8miiqSp','6042087jUfLpF','browserstackAutomation','setLTSSessionId','message','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','lzlLI','JKbfL','overrideLoadTesting','true','exports','QKSig','toLowerCase','DTRdu','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','dkmID','xtueM','qpIId','cnAHW','tDOAP','env','zFTqJ','BROWSERSTACK_LTS_SESSION_ID','DXWbG','8983630gpUEqH','ZQBPe','QUBSC','isLTSSession','STCSL','4627435pwwFNk','47441911KQrlwA','error','634268AScTSb','false','setLTSSessionId\x20error:\x20','TsTzi','debug','259CduCqI','1480095pDhsoa','LoadTestModule','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','qzpZR'];a82_0x41db=function(){return _0x1a5a05;};return a82_0x41db();}a82_0x520df5[a82_0x5aed6e(0xde)]=isLTSSession,a82_0x520df5['getLTSSessionId']=getLTSSessionId,a82_0x520df5[a82_0x5aed6e(0xf6)]=setLTSSessionId,module[a82_0x5aed6e(0xfd)]=a82_0x520df5;
1
+ function a82_0x3ba6(){const _0x59c334=['45cSLvBs','overrideLoadTesting','env','549320bUgePA','exports','getLTSSessionId','browserstackAutomation','../../../helpers/classLogger.js','debug','true','pjlcQ','6ZZyege','BROWSERSTACK_LTS_SESSION_ID\x20cleared','isLTSSession','rGGbJ','BROWSERSTACK_LTS_SESSION_ID','setLTSSessionId','string','xvgvs','1405540PgNTIs','2218315prwypJ','undefined','368367spFjqy','error','12CLnhtc','zCtlW','4joZzOB','GoUxH','qkMyG','toLowerCase','LoadTestModule','toString','jQYwz','22OcJrZA','3076zgPycg','lJVlW','436905VeIJem','false','308mVcfIO','VKuuM','4745897UxMTIS','message','KHnLY','KFSoN','DesOD'];a82_0x3ba6=function(){return _0x59c334;};return a82_0x3ba6();}function a82_0x2f8d(_0x3e8f5d,_0x58b6d9){const _0x3ba6a6=a82_0x3ba6();return a82_0x2f8d=function(_0x2f8da3,_0x4faee7){_0x2f8da3=_0x2f8da3-0x111;let _0x301b9a=_0x3ba6a6[_0x2f8da3];return _0x301b9a;},a82_0x2f8d(_0x3e8f5d,_0x58b6d9);}const a82_0x434279=a82_0x2f8d;(function(_0x8d0ec1,_0x260809){const _0x33b3a7=a82_0x2f8d,_0x48bf78=_0x8d0ec1();while(!![]){try{const _0x27d4d0=-parseInt(_0x33b3a7(0x13c))/0x1*(-parseInt(_0x33b3a7(0x113))/0x2)+parseInt(_0x33b3a7(0x130))/0x3*(parseInt(_0x33b3a7(0x134))/0x4)+parseInt(_0x33b3a7(0x12e))/0x5*(-parseInt(_0x33b3a7(0x125))/0x6)+parseInt(_0x33b3a7(0x111))/0x7+parseInt(_0x33b3a7(0x11d))/0x8*(-parseInt(_0x33b3a7(0x11a))/0x9)+parseInt(_0x33b3a7(0x12d))/0xa*(parseInt(_0x33b3a7(0x13b))/0xb)+-parseInt(_0x33b3a7(0x132))/0xc*(-parseInt(_0x33b3a7(0x115))/0xd);if(_0x27d4d0===_0x260809)break;else _0x48bf78['push'](_0x48bf78['shift']());}catch(_0x3b6666){_0x48bf78['push'](_0x48bf78['shift']());}}}(a82_0x3ba6,0x7e7d1));const {createClassLogger}=require(a82_0x434279(0x121)),logger=createClassLogger(a82_0x434279(0x138)),{sendSdkEvents}=require('../../../helpers/helper.js'),isLTSSession=(_0xfafed2=null)=>{const _0x2b2bbf=a82_0x434279,_0x13b040={};_0x13b040[_0x2b2bbf(0x114)]=function(_0x3a1495,_0x491904){return _0x3a1495!==_0x491904;},_0x13b040[_0x2b2bbf(0x119)]=_0x2b2bbf(0x12f),_0x13b040[_0x2b2bbf(0x135)]=function(_0x27bd44,_0x308670){return _0x27bd44===_0x308670;},_0x13b040[_0x2b2bbf(0x13a)]=_0x2b2bbf(0x12b),_0x13b040['qkMyG']=_0x2b2bbf(0x123),_0x13b040['pjlcQ']=function(_0x18cfe6,_0x2d05b4){return _0x18cfe6===_0x2d05b4;},_0x13b040[_0x2b2bbf(0x128)]=function(_0x3fe4e4,_0x23ebff){return _0x3fe4e4===_0x23ebff;},_0x13b040['xvgvs']=_0x2b2bbf(0x112);const _0x58552c=_0x13b040;try{if(_0x58552c[_0x2b2bbf(0x114)](typeof process['env'][_0x2b2bbf(0x11b)],_0x58552c[_0x2b2bbf(0x119)])){const _0x58b071=process['env']['overrideLoadTesting'];return _0x58552c[_0x2b2bbf(0x135)](typeof _0x58b071,_0x58552c[_0x2b2bbf(0x13a)])?_0x58552c[_0x2b2bbf(0x135)](_0x58b071[_0x2b2bbf(0x137)](),_0x58552c[_0x2b2bbf(0x136)]):!!_0x58b071;}const _0x6dc1a1=_0xfafed2&&_0xfafed2['overrideLoadTesting'],_0x10d2f8=!!(_0xfafed2&&(_0x58552c[_0x2b2bbf(0x124)](_0xfafed2[_0x2b2bbf(0x120)],!![])||_0x58552c[_0x2b2bbf(0x124)](_0xfafed2['browserstackAutomation'],_0x58552c[_0x2b2bbf(0x136)]))),_0x2a3d75=!!(_0x6dc1a1&&_0x58552c[_0x2b2bbf(0x128)](_0x6dc1a1[_0x2b2bbf(0x139)]()[_0x2b2bbf(0x137)](),_0x58552c[_0x2b2bbf(0x136)])&&!_0x10d2f8);return process[_0x2b2bbf(0x11c)][_0x2b2bbf(0x11b)]=_0x2a3d75?_0x58552c[_0x2b2bbf(0x136)]:_0x58552c[_0x2b2bbf(0x12c)],_0x2a3d75;}catch(_0x493719){return process[_0x2b2bbf(0x11c)][_0x2b2bbf(0x11b)]=_0x58552c[_0x2b2bbf(0x12c)],![];}},getLTSSessionId=()=>{const _0x2996f1=a82_0x434279,_0x5bd0f9={'uljmM':function(_0x5f2834){return _0x5f2834();},'lJVlW':'LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','KHnLY':'LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id'};try{if(_0x5bd0f9['uljmM'](isLTSSession))return logger[_0x2996f1(0x122)](_0x5bd0f9[_0x2996f1(0x13d)]),process[_0x2996f1(0x11c)][_0x2996f1(0x129)]||'';}catch(_0x21f273){logger[_0x2996f1(0x131)]('Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20'+(_0x21f273&&_0x21f273[_0x2996f1(0x116)]));}return logger[_0x2996f1(0x122)](_0x5bd0f9[_0x2996f1(0x117)]),'';},setLTSSessionId=async(_0x33cb1f={})=>{const _0x29a4b2=a82_0x434279,_0x5b3b74={'oFeGu':function(_0x53925b){return _0x53925b();},'iVuRP':'BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','DSMlQ':_0x29a4b2(0x126),'TWWUv':'LTS','ugZtA':function(_0x3b2e2a,_0x2218ae){return _0x3b2e2a(_0x2218ae);},'zCtlW':function(_0x177b44,_0x5c5705,_0x19fce7){return _0x177b44(_0x5c5705,_0x19fce7);},'KFSoN':function(_0x24f13b,_0x43a9fb){return _0x24f13b||_0x43a9fb;}};try{const _0x400ed4=_0x5b3b74['oFeGu'](getLTSSessionId);_0x400ed4?(process['env'][_0x29a4b2(0x129)]=_0x400ed4,logger[_0x29a4b2(0x122)](_0x5b3b74['iVuRP'])):(delete process['env'][_0x29a4b2(0x129)],logger[_0x29a4b2(0x122)](_0x5b3b74['DSMlQ']));try{const _0x5f3a99={'feature':_0x5b3b74['TWWUv'],'ltsEnabled':_0x5b3b74['ugZtA'](isLTSSession,_0x33cb1f),'ltsSessionIdPresent':!!_0x400ed4};await _0x5b3b74[_0x29a4b2(0x133)](sendSdkEvents,_0x5f3a99,_0x33cb1f);}catch(_0x1e031a){logger[_0x29a4b2(0x122)]('Failed\x20to\x20record\x20LTS\x20telemetry:\x20'+(_0x1e031a&&_0x1e031a[_0x29a4b2(0x116)]));}return _0x5b3b74[_0x29a4b2(0x118)](_0x400ed4,'');}catch(_0x1989d6){return logger[_0x29a4b2(0x122)]('setLTSSessionId\x20error:\x20'+(_0x1989d6&&_0x1989d6[_0x29a4b2(0x116)])),'';}},a82_0x1a51ac={};a82_0x1a51ac[a82_0x434279(0x127)]=isLTSSession,a82_0x1a51ac[a82_0x434279(0x11f)]=getLTSSessionId,a82_0x1a51ac[a82_0x434279(0x12a)]=setLTSSessionId,module[a82_0x434279(0x11e)]=a82_0x1a51ac;
@@ -1 +1 @@
1
- const a83_0x1d4f76=a83_0xa86a;(function(_0x1bbe37,_0x4aebd4){const _0x4dd340=a83_0xa86a,_0x263e9a=_0x1bbe37();while(!![]){try{const _0x3a7728=-parseInt(_0x4dd340(0x68))/0x1*(-parseInt(_0x4dd340(0x6d))/0x2)+-parseInt(_0x4dd340(0x88))/0x3+-parseInt(_0x4dd340(0x86))/0x4+parseInt(_0x4dd340(0x89))/0x5+-parseInt(_0x4dd340(0x8b))/0x6+parseInt(_0x4dd340(0x7f))/0x7*(parseInt(_0x4dd340(0x90))/0x8)+parseInt(_0x4dd340(0x87))/0x9;if(_0x3a7728===_0x4aebd4)break;else _0x263e9a['push'](_0x263e9a['shift']());}catch(_0x22a81f){_0x263e9a['push'](_0x263e9a['shift']());}}}(a83_0x27d1,0xb9280));const BaseModule=require(a83_0x1d4f76(0x77)),{createClassLogger}=require(a83_0x1d4f76(0x71)),AutomationFramework=require(a83_0x1d4f76(0x83)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a83_0x1d4f76(0x76)),{playwrightAnnotate}=require(a83_0x1d4f76(0x8c)),PerformanceTester=require(a83_0x1d4f76(0x79)),{O11y_EVENTS}=require(a83_0x1d4f76(0x72)),constants=require(a83_0x1d4f76(0x7d));function a83_0xa86a(_0x565138,_0x11a048){const _0x27d1d0=a83_0x27d1();return a83_0xa86a=function(_0xa86aae,_0x55de25){_0xa86aae=_0xa86aae-0x67;let _0x14cf42=_0x27d1d0[_0xa86aae];return _0x14cf42;},a83_0xa86a(_0x565138,_0x11a048);}function a83_0x27d1(){const _0x2c9bde=['SCtKT','tzJVy','onBeforeTest','3286336oJtiOy','onBeforeTest:\x20page\x20is\x20not\x20defined','171835vwlKSG','info','fpDNf','mYGYQ','bind','10ZFfUFb','page','zAqtH','debug','../../../helpers/classLogger.js','../../../helpers/performance/constants.js','QDBzb','getModuleName','name','../state/hookState.js','./baseModule','ObservabilityModule','../../../helpers/performance/performance-tester.js','observabilityConfig','\x20sync\x20done','exports','../../utils/constants.js','onBeforeTest:\x20','21JPWUCY','now','MODULE_NAME','TEST_REPORTING_ANALYTICS','../framework/automationFramework.js','end','SYNC','4910828KERsHG','12416337oLIGAM','1894251dYfDQH','2494970EJokQo','logger','8115684UScInc','../../../helpers/helper.js'];a83_0x27d1=function(){return _0x2c9bde;};return a83_0x27d1();}class ObservabilityModule extends BaseModule{['logger']=createClassLogger(a83_0x1d4f76(0x78));constructor(_0x246289){const _0x475f37=a83_0x1d4f76,_0x2cf116={};_0x2cf116[_0x475f37(0x8d)]=_0x475f37(0x78);const _0x1b996c=_0x2cf116;super(),this[_0x475f37(0x75)]=_0x1b996c[_0x475f37(0x8d)],this[_0x475f37(0x7a)]=_0x246289,AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState['POST'],this[_0x475f37(0x8f)][_0x475f37(0x6c)](this));}[a83_0x1d4f76(0x74)](){return ObservabilityModule['MODULE_NAME'];}async[a83_0x1d4f76(0x8f)](_0x460422){const _0x472184=a83_0x1d4f76,_0x3ea825={'zAqtH':function(_0x37a289,_0x4ce2c1){return _0x37a289+_0x4ce2c1;},'QDBzb':'ObservabilitySync:','fpDNf':function(_0x1b3887,_0xe0c10a,_0x4c50b7,_0x17ec5b){return _0x1b3887(_0xe0c10a,_0x4c50b7,_0x17ec5b);},'mYGYQ':_0x472184(0x70),'tzJVy':_0x472184(0x67)};if(_0x460422[_0x472184(0x6e)]){const _0x1ec411=_0x460422['page'],_0x50bbc4=Date[_0x472184(0x80)](),_0x213331=_0x3ea825[_0x472184(0x6f)](_0x3ea825[_0x472184(0x73)],_0x50bbc4);PerformanceTester['start'](O11y_EVENTS[_0x472184(0x85)]),await _0x3ea825[_0x472184(0x6a)](playwrightAnnotate,_0x1ec411,_0x213331,_0x3ea825[_0x472184(0x6b)]),PerformanceTester[_0x472184(0x84)](O11y_EVENTS[_0x472184(0x85)]),this[_0x472184(0x8a)][_0x472184(0x69)](_0x472184(0x7e)+constants[_0x472184(0x82)]+_0x472184(0x7b));}else this[_0x472184(0x8a)][_0x472184(0x70)](_0x3ea825[_0x472184(0x8e)]);}}ObservabilityModule[a83_0x1d4f76(0x81)]=a83_0x1d4f76(0x78),module[a83_0x1d4f76(0x7c)]=ObservabilityModule;
1
+ const a83_0x3e1a80=a83_0x420e;function a83_0x420e(_0x5a0111,_0x16033f){const _0x484fe5=a83_0x484f();return a83_0x420e=function(_0x420e8c,_0x293aa2){_0x420e8c=_0x420e8c-0x103;let _0x3450d9=_0x484fe5[_0x420e8c];return _0x3450d9;},a83_0x420e(_0x5a0111,_0x16033f);}function a83_0x484f(){const _0x160870=['11LQDQLk','info','XKEeZ','../../../helpers/helper.js','onBeforeTest','name','../framework/automationFramework.js','../../../helpers/performance/constants.js','now','2423820tyzuJj','SIKEG','CREATE','../../../helpers/performance/performance-tester.js','debug','IPMmP','311224HBzUxf','cFfBU','TEST_REPORTING_ANALYTICS','yEkWA','../state/hookState.js','../../../helpers/classLogger.js','38149480PuoLXx','POST','bind','registerObserver','start','8409940eiFpPu','exports','SYNC','1267730nQbRym','getModuleName','../../utils/constants.js','MODULE_NAME','\x20sync\x20done','47396MeZcVV','logger','156uovmnh','./baseModule','133846WfeGAV','153jypXlD','ObservabilityModule'];a83_0x484f=function(){return _0x160870;};return a83_0x484f();}(function(_0x5a7503,_0x111f94){const _0x1d8b51=a83_0x420e,_0x1787ef=_0x5a7503();while(!![]){try{const _0x3fdb73=parseInt(_0x1d8b51(0x11c))/0x1*(-parseInt(_0x1d8b51(0x119))/0x2)+parseInt(_0x1d8b51(0x117))/0x3*(-parseInt(_0x1d8b51(0x115))/0x4)+-parseInt(_0x1d8b51(0x110))/0x5+parseInt(_0x1d8b51(0x125))/0x6+-parseInt(_0x1d8b51(0x10d))/0x7+parseInt(_0x1d8b51(0x12b))/0x8*(-parseInt(_0x1d8b51(0x11a))/0x9)+parseInt(_0x1d8b51(0x108))/0xa;if(_0x3fdb73===_0x111f94)break;else _0x1787ef['push'](_0x1787ef['shift']());}catch(_0x40f9e8){_0x1787ef['push'](_0x1787ef['shift']());}}}(a83_0x484f,0xb72dc));const BaseModule=require(a83_0x3e1a80(0x118)),{createClassLogger}=require(a83_0x3e1a80(0x107)),AutomationFramework=require(a83_0x3e1a80(0x122)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a83_0x3e1a80(0x106)),{playwrightAnnotate}=require(a83_0x3e1a80(0x11f)),PerformanceTester=require(a83_0x3e1a80(0x128)),{O11y_EVENTS}=require(a83_0x3e1a80(0x123)),constants=require(a83_0x3e1a80(0x112));class ObservabilityModule extends BaseModule{['logger']=createClassLogger(a83_0x3e1a80(0x11b));constructor(_0x1d6d10){const _0x35ba48=a83_0x3e1a80,_0x11725b={};_0x11725b[_0x35ba48(0x103)]=_0x35ba48(0x11b);const _0x514363=_0x11725b;super(),this[_0x35ba48(0x121)]=_0x514363['cFfBU'],this['observabilityConfig']=_0x1d6d10,AutomationFramework[_0x35ba48(0x10b)](AutomationFrameworkState[_0x35ba48(0x127)],HookState[_0x35ba48(0x109)],this['onBeforeTest'][_0x35ba48(0x10a)](this));}[a83_0x3e1a80(0x111)](){return ObservabilityModule['MODULE_NAME'];}async[a83_0x3e1a80(0x120)](_0x17103b){const _0x22f23c=a83_0x3e1a80,_0x50cfb9={'YtvaJ':function(_0x356e5a,_0x5c2998){return _0x356e5a+_0x5c2998;},'IPMmP':'ObservabilitySync:','SIKEG':function(_0x1225c9,_0x51e67d,_0x3a6a89,_0x2486de){return _0x1225c9(_0x51e67d,_0x3a6a89,_0x2486de);},'XKEeZ':_0x22f23c(0x129),'yEkWA':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x17103b['page']){const _0xc5579e=_0x17103b['page'],_0x3f4e9e=Date[_0x22f23c(0x124)](),_0x515d05=_0x50cfb9['YtvaJ'](_0x50cfb9[_0x22f23c(0x12a)],_0x3f4e9e);PerformanceTester[_0x22f23c(0x10c)](O11y_EVENTS['SYNC']),await _0x50cfb9[_0x22f23c(0x126)](playwrightAnnotate,_0xc5579e,_0x515d05,_0x50cfb9[_0x22f23c(0x11e)]),PerformanceTester['end'](O11y_EVENTS[_0x22f23c(0x10f)]),this[_0x22f23c(0x116)][_0x22f23c(0x11d)]('onBeforeTest:\x20'+constants[_0x22f23c(0x104)]+_0x22f23c(0x114));}else this[_0x22f23c(0x116)][_0x22f23c(0x129)](_0x50cfb9[_0x22f23c(0x105)]);}}ObservabilityModule[a83_0x3e1a80(0x113)]=a83_0x3e1a80(0x11b),module[a83_0x3e1a80(0x10e)]=ObservabilityModule;
@@ -1 +1 @@
1
- function a84_0x346a(_0x5b22d0,_0x4f2acd){const _0xcba5b3=a84_0xcba5();return a84_0x346a=function(_0x346a10,_0x1845c7){_0x346a10=_0x346a10-0x1a2;let _0x49e9bb=_0xcba5b3[_0x346a10];return _0x49e9bb;},a84_0x346a(_0x5b22d0,_0x4f2acd);}const a84_0x2b70c4=a84_0x346a;(function(_0x446ee8,_0x82ba81){const _0x2eaa74=a84_0x346a,_0x47d433=_0x446ee8();while(!![]){try{const _0x5c713c=-parseInt(_0x2eaa74(0x1e3))/0x1*(parseInt(_0x2eaa74(0x1c8))/0x2)+parseInt(_0x2eaa74(0x25f))/0x3*(parseInt(_0x2eaa74(0x254))/0x4)+parseInt(_0x2eaa74(0x1d4))/0x5*(-parseInt(_0x2eaa74(0x1a2))/0x6)+-parseInt(_0x2eaa74(0x1ac))/0x7+parseInt(_0x2eaa74(0x1fe))/0x8*(-parseInt(_0x2eaa74(0x246))/0x9)+-parseInt(_0x2eaa74(0x1ae))/0xa+parseInt(_0x2eaa74(0x21a))/0xb;if(_0x5c713c===_0x82ba81)break;else _0x47d433['push'](_0x47d433['shift']());}catch(_0x5e8653){_0x47d433['push'](_0x47d433['shift']());}}}(a84_0xcba5,0x3bcfd));const util=require('util'),BaseModule=require(a84_0x2b70c4(0x1dc)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require(a84_0x2b70c4(0x1d9)),helper=require(a84_0x2b70c4(0x1eb)),{FRAMEWORKS}=require(a84_0x2b70c4(0x1db)),AutomationFramework=require(a84_0x2b70c4(0x22f)),AutomationFrameworkState=require(a84_0x2b70c4(0x1c6)),HookState=require(a84_0x2b70c4(0x25b)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x2b70c4(0x269)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a84_0x2b70c4(0x229)),GrpcClient=require(a84_0x2b70c4(0x255)),PerformanceTester=require(a84_0x2b70c4(0x214)),PerformanceEvents=require(a84_0x2b70c4(0x20e))['AUTOMATE_EVENTS'],TestInfo=require(a84_0x2b70c4(0x24c)),{getPlaywrightProvider,getProductForSession}=require(a84_0x2b70c4(0x269)),LoadTestModule=require(a84_0x2b70c4(0x1e7)),TestFrameworkConstants=require(a84_0x2b70c4(0x1b1)),TestFrameworkState=require(a84_0x2b70c4(0x204)),JestUtils=require(a84_0x2b70c4(0x220)),PlaywrightSessionDetails=require('../../playwright/sessionDetails');function a84_0xcba5(){const _0x514f3e=['PldeE','IsWwh','35YHCife','POST','onPlaywrightDispatch','setSessionName','PRE','../../../helpers/test-observability/utils','testId','../../utils/constants','./baseModule','action','onDispatchExecute:\x20Playwright\x20sessionId:\x20','KEY_BROWSER_OBJECT','contextObject','1.51.0','split','2KSRrdF','KEY_TEST_ID','inspect','xTYeE','./loadTestModule.js','getRef','testFrameworkData','Error\x20in\x20markSessionName:\x20','../../../helpers/helper','umWGv','uOZCN','texqR','error','length','\x20||\x20','Hhnxa','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','browserName','platforms','base64','KEY_PAGE_OBJECT','platformDetails','BCaLO','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','KEY_CAPABILITIES','playwrightVersion','KebXv','8cnFwVp','browserObject','DJIrS','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','LQoCi','testInfo','../state/testFrameworkState','recreateIdentifierFromTestInfo','isBrowserstackInfra','JEST','isTrue','markSessionStatus:\x20Marking\x20session\x20status','getTrackedInstance','capabilities','WVcSz','mTKKo','../../../helpers/performance/constants.js','debug','testData\x20from\x20onAfterTest:\x20','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','format','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','../../../helpers/performance/performance-tester.js','mdXEW','sessionId','onAfterDriverCreate:\x20Setting\x20browser\x20object','workerInfo','hRxPx','10302138HNEwpJ','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','testUuid','registerObserver','wUOhr','pickle','../utils/jest-utils.js','__workerDetails','SESSION_STATUS','instance','bStackParams','getInstance','isPlaywright','XlOzL','Snnbh','../browserstackCLI.js','jestUtils','getModuleName','keys','KEY_TEST_FRAMEWORK_VERSION','getLTSSessionId','../framework/automationFramework.js','bBgKK','vBrUd','getTestId','PLAYWRIGHT','getConfig','EbXvb','MODULE_NAME','errors','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','retry','context','getTestIdentifierFromTestInfo','message','testRunId','quKtb','NAEUI','onAfterDriverCreate','Mkvcn','status','bind','UHGoq','usjMX','1784655DVMIYS','KEY_PLATFORM_INDEX','PLAYWRIGHT_DISPATCH','wMtPB','shouldSkipSessionName','VQWzr','../TestInfo.js','\x20failure\x20reason:\x20','arguments','bsParams','markSessionName:\x20Skipping\x20session\x20name\x20marking','zNbKm','SESSION_NAME','onAfterDriverCreate:\x20Setting\x20page\x20object','4IZkMRE','../grpcClient.js','from','reason','PCNYW','KEY_TEST_FRAMEWORK_NAME','markSessionName','../state/hookState.js','start','Automation\x20onAfterTest:\x20Test\x20status:\x20','toString','871077EVaDqX','setState','BXTdy','version','EdvyS','launchcaps','diNrd','onBeforeDriverCreate','kwEwV','KEY_HUB_URL','../../../helpers/helper.js','155166VSBhbA','onAfterDriverCreate:\x20Setting\x20context\x20object','browser','gherkinDocument','EckNX','onAfterTest','FQrqE','CUCUMBER','name','test_identifier','580510TcSFfs','Error\x20in\x20onAfterDriverCreate:\x20','2532620bvYJIK','browserVersion','MWqZm','../framework/constants/testFrameworkConstants.js','PlaywrightDriverModule','hGWJs','KEY_SESSION_ID','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','getId','TEST','passed','stringify','setSessionStatus','end','exports','vagbG','logger','pageObject','xUvua','parallelIndex','getState','RBdUw','isLTSSession','jbvOO','../state/automationFrameworkState.js','TyPbo','266414rLnPQH','info','params','isFalse','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','KEY_CONTEXT_OBJECT','getDetails','hubUrl','MNrfl','page'];a84_0xcba5=function(){return _0x514f3e;};return a84_0xcba5();}class PlaywrightDriverModule extends BaseModule{static [a84_0x2b70c4(0x1df)]=a84_0x2b70c4(0x1ff);static [a84_0x2b70c4(0x1cd)]=a84_0x2b70c4(0x1e0);static [a84_0x2b70c4(0x1f7)]=a84_0x2b70c4(0x1bf);static [a84_0x2b70c4(0x1b4)]=a84_0x2b70c4(0x216);static [a84_0x2b70c4(0x247)]='platformIndex';static [a84_0x2b70c4(0x1fb)]=a84_0x2b70c4(0x20b);static [a84_0x2b70c4(0x268)]=a84_0x2b70c4(0x1cf);static ['KEY_PLATFORM_DETAILS']=a84_0x2b70c4(0x1f8);static ['KEY_TEST_ID']=a84_0x2b70c4(0x1da);[a84_0x2b70c4(0x1be)]=createClassLogger('PlaywrightDriverModule');constructor(_0x2ca0bd=null){const _0x3ef565=a84_0x2b70c4,_0xa28114={};_0xa28114[_0x3ef565(0x249)]='4|3|8|10|2|0|6|5|9|7|1|11',_0xa28114[_0x3ef565(0x228)]=_0x3ef565(0x1b2);const _0x158ce5=_0xa28114,_0x3f9070=_0x158ce5[_0x3ef565(0x249)][_0x3ef565(0x1e2)]('|');let _0x150409=0x0;while(!![]){switch(_0x3f9070[_0x150409++]){case'0':this[_0x3ef565(0x1f5)]=[];continue;case'1':AutomationFramework[_0x3ef565(0x21d)](AutomationFrameworkState[_0x3ef565(0x248)],HookState['POST'],this[_0x3ef565(0x1d6)][_0x3ef565(0x243)](this));continue;case'2':this[_0x3ef565(0x1af)]=null;continue;case'3':this['name']=_0x158ce5[_0x3ef565(0x228)];continue;case'4':super(_0x2ca0bd);continue;case'5':this[_0x3ef565(0x22a)]=new JestUtils();continue;case'6':this[_0x3ef565(0x23d)]=null;continue;case'7':AutomationFramework[_0x3ef565(0x21d)](AutomationFrameworkState['CREATE'],HookState['POST'],this[_0x3ef565(0x240)][_0x3ef565(0x243)](this));continue;case'8':this[_0x3ef565(0x1fc)]=null;continue;case'9':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState[_0x3ef565(0x1d8)],this[_0x3ef565(0x266)]['bind'](this));continue;case'10':this[_0x3ef565(0x1f4)]=null;continue;case'11':AutomationFramework[_0x3ef565(0x21d)](AutomationFrameworkState['EXECUTE'],HookState[_0x3ef565(0x1d5)],this[_0x3ef565(0x1a7)][_0x3ef565(0x243)](this));continue;}break;}}[a84_0x2b70c4(0x22b)](){const _0x3f6483=a84_0x2b70c4;return PlaywrightDriverModule[_0x3f6483(0x236)];}async['onBeforeDriverCreate'](_0x3f018d){const _0x4f9afc=a84_0x2b70c4,_0x2b3b3e={};_0x2b3b3e[_0x4f9afc(0x200)]='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x35ef61=_0x2b3b3e;try{this[_0x4f9afc(0x1be)][_0x4f9afc(0x20f)](_0x35ef61[_0x4f9afc(0x200)]);const _0x498f58=_0x3f018d[_0x4f9afc(0x264)],_0x5071ed=_0x3f018d['hubUrl'];AutomationFramework[_0x4f9afc(0x260)](_0x3f018d['instance'],PlaywrightDriverModule[_0x4f9afc(0x1fb)],_0x498f58),AutomationFramework[_0x4f9afc(0x260)](_0x3f018d['instance'],PlaywrightDriverModule[_0x4f9afc(0x268)],_0x5071ed);}catch(_0x4a1401){this[_0x4f9afc(0x1be)][_0x4f9afc(0x1ef)]('Error\x20in\x20onBeforeDriverCreate:\x20'+util[_0x4f9afc(0x212)](_0x4a1401));}}async[a84_0x2b70c4(0x1d6)](_0x41b771){const _0x2eae5e=a84_0x2b70c4,_0x59ac6b={};_0x59ac6b[_0x2eae5e(0x267)]=function(_0x39c94a,_0x46192c){return _0x39c94a||_0x46192c;};const _0x69af9c=_0x59ac6b;try{const _0x5b067a=_0x41b771?.['message']&&_0x41b771?.['message']?.[_0x2eae5e(0x1ca)]&&_0x41b771?.[_0x2eae5e(0x23c)]?.['params']?.[_0x2eae5e(0x24f)],_0x5b28f9=_0x41b771?.['message']&&_0x41b771?.['message']?.[_0x2eae5e(0x224)];if(_0x69af9c[_0x2eae5e(0x267)](_0x5b067a,_0x5b28f9)){this[_0x2eae5e(0x1be)]['debug'](_0x2eae5e(0x201)+util[_0x2eae5e(0x1e5)](_0x5b067a)+_0x2eae5e(0x1f1)+util[_0x2eae5e(0x1e5)](_0x5b28f9));const _0x215026=_0x41b771?.[_0x2eae5e(0x223)],_0x5b51f5=global?.['__workerDetails']?.[_0x2eae5e(0x218)]?.[_0x2eae5e(0x1c1)],_0x12c27d=_0x5b067a?.[_0x2eae5e(0x216)]||_0x5b28f9?.[_0x2eae5e(0x216)],_0x47a2cc=_0x5b067a?.['platformDetails']||_0x5b28f9?.[_0x2eae5e(0x1f8)];_0x12c27d&&(this['logger']['debug'](_0x2eae5e(0x1de)+_0x12c27d),AutomationFramework[_0x2eae5e(0x260)](_0x215026,PlaywrightDriverModule[_0x2eae5e(0x1b4)],_0x12c27d)),_0x5b51f5&&(this[_0x2eae5e(0x1be)][_0x2eae5e(0x20f)](_0x2eae5e(0x211)+util[_0x2eae5e(0x1e5)](_0x5b51f5)),AutomationFramework[_0x2eae5e(0x260)](_0x215026,PlaywrightDriverModule[_0x2eae5e(0x247)],_0x5b51f5));}}catch(_0x4f5a2e){this[_0x2eae5e(0x1be)]['error']('Error\x20in\x20onDispatchExecute:\x20'+util[_0x2eae5e(0x212)](_0x4f5a2e));}}async[a84_0x2b70c4(0x240)](_0x4c5038){const _0x3a35f4=a84_0x2b70c4,_0xcba18d={'EdvyS':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','jzJtN':function(_0x102393,_0xf5a04a){return _0x102393(_0xf5a04a);},'bBgKK':_0x3a35f4(0x253),'MNrfl':'onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','BCaLO':_0x3a35f4(0x1a3),'texqR':_0x3a35f4(0x217),'TcKnA':_0x3a35f4(0x1f6),'VQWzr':function(_0x35fa94,_0x2d15df){return _0x35fa94===_0x2d15df;}};try{this[_0x3a35f4(0x1be)]['debug'](_0xcba18d[_0x3a35f4(0x263)]);const _0x3735d5=_0x4c5038['instance'];this[_0x3a35f4(0x1fc)]=_0xcba18d['jzJtN'](getFrameworkVersion,FRAMEWORKS[_0x3a35f4(0x233)]);if(_0x4c5038[_0x3a35f4(0x1d1)]){this['logger'][_0x3a35f4(0x20f)](_0xcba18d[_0x3a35f4(0x230)]),AutomationFramework[_0x3a35f4(0x260)](_0x3735d5,PlaywrightDriverModule[_0x3a35f4(0x1f7)],_0x4c5038[_0x3a35f4(0x1d1)]);if(_0x4c5038['testInfo']){this[_0x3a35f4(0x1be)][_0x3a35f4(0x20f)](_0xcba18d[_0x3a35f4(0x1d0)]);const _0x401d2b=this[_0x3a35f4(0x232)](_0x4c5038);AutomationFramework['setState'](_0x3735d5,PlaywrightDriverModule[_0x3a35f4(0x1e4)],_0x401d2b),await this[_0x3a35f4(0x25a)](_0x4c5038[_0x3a35f4(0x203)]);}}_0x4c5038[_0x3a35f4(0x23a)]&&(this[_0x3a35f4(0x1be)][_0x3a35f4(0x20f)](_0xcba18d[_0x3a35f4(0x1f9)]),AutomationFramework[_0x3a35f4(0x260)](_0x3735d5,PlaywrightDriverModule[_0x3a35f4(0x1cd)],_0x4c5038[_0x3a35f4(0x23a)]));if(_0x4c5038[_0x3a35f4(0x1a4)]){this[_0x3a35f4(0x1be)]['debug'](_0xcba18d[_0x3a35f4(0x1ee)]);const _0x497846=global?.[_0x3a35f4(0x221)]?.['workerInfo']?.['parallelIndex'];AutomationFramework['setState'](_0x3735d5,PlaywrightDriverModule[_0x3a35f4(0x1df)],_0x4c5038[_0x3a35f4(0x1a4)]),AutomationFramework[_0x3a35f4(0x260)](_0x3735d5,PlaywrightDriverModule[_0x3a35f4(0x247)],_0x497846);const _0x47844a={};_0x47844a[_0x3a35f4(0x226)]=!![];const _0x5de4e1=Buffer[_0x3a35f4(0x256)](JSON[_0x3a35f4(0x1b9)](_0x47844a)[_0x3a35f4(0x25e)](_0xcba18d['TcKnA'])),_0x3c8064=await GrpcClient['getInstance']()['driverInit']({'platformIndex':_0x497846,'ref':_0x3735d5[_0x3a35f4(0x1e8)](),'userInputParams':_0x5de4e1});(helper[_0x3a35f4(0x1cb)](helper[_0x3a35f4(0x206)]())||helper[_0x3a35f4(0x208)](helper[_0x3a35f4(0x206)]()&&BrowserstackCLI[_0x3a35f4(0x225)]()['getConfig']()[_0x3a35f4(0x1f5)]&&_0xcba18d[_0x3a35f4(0x24b)](BrowserstackCLI[_0x3a35f4(0x225)]()[_0x3a35f4(0x234)]()['platforms'][_0x3a35f4(0x1f0)],0x0)))&&AutomationFramework[_0x3a35f4(0x260)](_0x3735d5,PlaywrightDriverModule[_0x3a35f4(0x1fb)],PlaywrightSessionDetails[_0x3a35f4(0x1ce)]());}}catch(_0x19d936){this['logger'][_0x3a35f4(0x1ef)](_0x3a35f4(0x1ad)+util[_0x3a35f4(0x212)](_0x19d936));}}async[a84_0x2b70c4(0x1a7)](_0x39a3b8){const _0xd59a80=a84_0x2b70c4,_0xc1e53b={'EBPRz':'Automation\x20onAfterTest:\x20Test\x20completed','oczHG':_0xd59a80(0x1f3),'BXTdy':function(_0x34e6b5,_0x45c9f8){return _0x34e6b5(_0x45c9f8);},'WVcSz':function(_0x125013,_0x153478,_0x3b4e53){return _0x125013(_0x153478,_0x3b4e53);},'hRxPx':'result','uOZCN':_0xd59a80(0x23c),'NAEUI':function(_0x2353f9,_0x3697b5){return _0x2353f9(_0x3697b5);},'zNbKm':function(_0x54f017,_0x2b51c0,_0x5ce371){return _0x54f017(_0x2b51c0,_0x5ce371);},'LQoCi':_0xd59a80(0x1ef),'xTYeE':function(_0xf42bd6,_0x3c19bd,_0x2bbe15){return _0xf42bd6(_0x3c19bd,_0x2bbe15);},'mTKKo':_0xd59a80(0x237),'xUvua':function(_0x5160a1,_0x5bdf57){return _0x5160a1>_0x5bdf57;},'hGWJs':function(_0x340214,_0x115da2){return _0x340214||_0x115da2;},'AaPew':function(_0x2cff51,_0x310e85){return _0x2cff51||_0x310e85;},'PCNYW':function(_0x1f1f26,_0x1c0d33){return _0x1f1f26===_0x1c0d33;},'UHGoq':function(_0x1ee460,_0x5068f2){return _0x1ee460+_0x5068f2;},'MWqZm':'testId:\x20','TyPbo':_0xd59a80(0x210),'Hhnxa':'Playwright','quKtb':_0xd59a80(0x1e1),'EckNX':function(_0x5687e1){return _0x5687e1();},'FQrqE':_0xd59a80(0x1f6),'wmkWv':function(_0x309d9a,_0x44ba50){return _0x309d9a===_0x44ba50;},'vagbG':function(_0x20beeb,_0x49cfdc){return _0x20beeb===_0x49cfdc;},'KebXv':_0xd59a80(0x1fa)};this[_0xd59a80(0x1be)][_0xd59a80(0x20f)](_0xc1e53b['EBPRz']);const _0x5cca37=_0x39a3b8[_0xd59a80(0x223)];if(!_0x5cca37){this[_0xd59a80(0x1be)]['debug'](_0xc1e53b['oczHG']);return;}const _0x767591=_0x39a3b8[_0xd59a80(0x203)],_0xeb7264=this[_0xd59a80(0x232)](_0x39a3b8),_0x250203=_0x767591[_0xd59a80(0x242)];let _0x7b044f;const _0xc56b77=_0xc1e53b[_0xd59a80(0x261)](getPlaywrightStatus,_0x250203);let _0x3a3828,_0x1b258c=null;if(_0x767591[_0xd59a80(0x21f)]||_0x767591['gherkinDocument'])_0x3a3828=_0xc1e53b[_0xd59a80(0x261)](getCucumberSessionName,_0x767591),_0x7b044f=_0xc1e53b[_0xd59a80(0x20c)](nestedKeyValue,_0x767591,[_0xc1e53b[_0xd59a80(0x219)],_0xc1e53b[_0xd59a80(0x1ed)]]);else{_0x3a3828=_0xc1e53b[_0xd59a80(0x23f)](getPlaywrightSessionName,_0x767591),_0x7b044f=_0xc1e53b[_0xd59a80(0x251)](nestedKeyValue,_0x767591,[_0xc1e53b[_0xd59a80(0x202)],_0xc1e53b['uOZCN']]);const _0x5be611=_0xc1e53b[_0xd59a80(0x1e6)](nestedKeyValue,_0x767591,[_0xc1e53b[_0xd59a80(0x20d)]]);_0x5be611&&_0xc1e53b[_0xd59a80(0x1c0)](_0x5be611[_0xd59a80(0x1f0)],0x0)&&(_0x1b258c=_0x5be611[0x0][_0xd59a80(0x23c)]),_0x7b044f=_0xc1e53b[_0xd59a80(0x1b3)](_0x7b044f,_0x1b258c),this[_0xd59a80(0x1be)][_0xd59a80(0x20f)](_0xd59a80(0x25d)+_0xc56b77+_0xd59a80(0x24d)+_0x7b044f);}const _0x398dcc=_0xc1e53b['AaPew'](_0x7b044f,_0x1b258c);this[_0xd59a80(0x1be)][_0xd59a80(0x20f)](_0xd59a80(0x25d)+_0xc56b77);let _0x3285cd,_0x400d9b;if(this[_0xd59a80(0x1e9)]&&_0xc1e53b['PCNYW'](this[_0xd59a80(0x1e9)][_0xd59a80(0x1aa)],FRAMEWORKS[_0xd59a80(0x1a9)]))_0x3285cd=_0xeb7264,_0x400d9b=TestInfo['getTestUUID'](_0x3285cd);else this[_0xd59a80(0x1e9)]&&_0xc1e53b[_0xd59a80(0x258)](this[_0xd59a80(0x1e9)]['name'],FRAMEWORKS[_0xd59a80(0x207)])?(_0x3285cd=this[_0xd59a80(0x22a)][_0xd59a80(0x205)](_0x767591),this[_0xd59a80(0x1be)][_0xd59a80(0x20f)](_0xd59a80(0x238)+_0x3285cd)):(_0x3285cd=TestInfo[_0xd59a80(0x23b)](_0x767591,_0x767591[_0xd59a80(0x239)]),_0x400d9b=TestInfo['getTestUUID'](_0x3285cd));const _0x122342=TestInfo['getTestDetails'](_0x3285cd);this[_0xd59a80(0x1be)][_0xd59a80(0x1c9)](_0xc1e53b[_0xd59a80(0x244)](_0xc1e53b[_0xd59a80(0x1b0)],_0xeb7264)),this[_0xd59a80(0x1be)][_0xd59a80(0x1c9)](_0xc1e53b['UHGoq'](_0xc1e53b[_0xd59a80(0x1c7)],util[_0xd59a80(0x1e5)](_0x122342)));const _0x855477=AutomationFramework[_0xd59a80(0x1c2)](_0x5cca37,PlaywrightDriverModule[_0xd59a80(0x247)]),_0x48cc6c=_0x122342?.[TestFrameworkConstants[_0xd59a80(0x259)]]||this[_0xd59a80(0x1e9)]&&this[_0xd59a80(0x1e9)][_0xd59a80(0x1aa)],_0x19a472=_0x122342?.[TestFrameworkConstants[_0xd59a80(0x22d)]]||this[_0xd59a80(0x1e9)]&&this[_0xd59a80(0x1e9)][_0xd59a80(0x262)],_0x21a94e=TestFrameworkState[_0xd59a80(0x1b7)][_0xd59a80(0x25e)]()['split']('.')[0x1],_0x32b230=HookState[_0xd59a80(0x1d5)][_0xd59a80(0x25e)]()[_0xd59a80(0x1e2)]('.')[0x1],_0x4edee7=_0x5cca37['getContext'](),_0x1c0367=AutomationFramework[_0xd59a80(0x1c2)](_0x5cca37,PlaywrightDriverModule[_0xd59a80(0x268)],''),_0x56f7d4={'provider':_0xc1e53b[_0xd59a80(0x23f)](getPlaywrightProvider,_0x1c0367),'frameworkName':_0xc1e53b[_0xd59a80(0x1f2)],'frameworkVersion':_0xc1e53b[_0xd59a80(0x23e)],'frameworkSessionId':LoadTestModule[_0xd59a80(0x1c4)]()?LoadTestModule[_0xd59a80(0x22e)]():AutomationFramework[_0xd59a80(0x1c2)](_0x5cca37,PlaywrightDriverModule[_0xd59a80(0x1b4)],''),'ref':_0x5cca37[_0xd59a80(0x1e8)](),'hubUrl':_0x1c0367,'product':_0xc1e53b[_0xd59a80(0x1a6)](getProductForSession)};let _0x4cee7c=AutomationFramework[_0xd59a80(0x1c2)](_0x5cca37,PlaywrightDriverModule[_0xd59a80(0x1fb)],{});_0x4cee7c&&_0xc1e53b[_0xd59a80(0x1c0)](Object[_0xd59a80(0x22c)](_0x4cee7c)[_0xd59a80(0x1f0)],0x0)?_0x4cee7c=Buffer[_0xd59a80(0x256)](JSON[_0xd59a80(0x1b9)](_0x4cee7c))[_0xd59a80(0x25e)](_0xc1e53b[_0xd59a80(0x1a8)]):_0x4cee7c=Buffer[_0xd59a80(0x256)](JSON['stringify']({}))[_0xd59a80(0x25e)](_0xc1e53b['FQrqE']);const _0x4837b5={'hash':_0x4edee7[_0xd59a80(0x1b6)](),'threadId':_0x4edee7['getThreadId']()[_0xd59a80(0x25e)](),'processId':_0x4edee7['getProcessId']()[_0xd59a80(0x25e)]()},_0x111315={};_0x111315[_0xd59a80(0x1ab)]=_0x3285cd;const _0x47f3fa={};_0x47f3fa[_0xd59a80(0x21c)]=_0x400d9b;const _0xe9353e={'platformIndex':_0x855477,'testFrameworkName':_0x48cc6c,'testFrameworkVersion':_0x19a472,'testFrameworkState':_0x21a94e,'testHookState':_0x32b230,...this[_0xd59a80(0x1e9)]&&_0xc1e53b['wmkWv'](this[_0xd59a80(0x1e9)]['name'],FRAMEWORKS[_0xd59a80(0x207)])?_0x111315:_0x47f3fa,'automationSession':_0x56f7d4,'capabilities':_0x4cee7c,'executionContext':_0x4837b5};this[_0xd59a80(0x1be)]['debug']('onAfterTest\x20CBTSession\x20payload:\x20'+util['format'](_0xe9353e)),GrpcClient[_0xd59a80(0x225)]()['testSessionEvent'](_0xe9353e),this['logger'][_0xd59a80(0x20f)]('onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0xeb7264+(this['testFrameworkData']&&_0xc1e53b[_0xd59a80(0x1bd)](this['testFrameworkData'][_0xd59a80(0x1aa)],FRAMEWORKS[_0xd59a80(0x207)])?',\x20test_identifier:\x20'+_0x3285cd:''));if(!_0xc56b77){this[_0xd59a80(0x1be)]['debug'](_0xc1e53b[_0xd59a80(0x1fd)],_0x250203[_0xd59a80(0x242)]);return;}this[_0xd59a80(0x1be)][_0xd59a80(0x20f)](_0xd59a80(0x1b5)+_0xeb7264),_0x767591&&(this[_0xd59a80(0x1be)]['debug']('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20'+_0x3a3828),await this[_0xd59a80(0x25a)](_0x767591)),await this['markSessionStatus'](_0x5cca37,_0x3a3828,_0xc56b77,_0x398dcc);}async['markSessionStatus'](_0x56af3b,_0x43a1bc,_0x223a66,_0x29271e){const _0x1ed3b1=a84_0x2b70c4,_0x4aa1cf={'mOgKg':_0x1ed3b1(0x1cc),'diNrd':_0x1ed3b1(0x213),'jbvOO':_0x1ed3b1(0x21b),'XlOzL':_0x1ed3b1(0x1fa),'Mkvcn':_0x1ed3b1(0x1ba),'RBdUw':_0x1ed3b1(0x257),'nxyZQ':'Session','EbXvb':function(_0x557aff,_0x9f0c95){return _0x557aff===_0x9f0c95;},'usjMX':_0x1ed3b1(0x1b8),'haUcv':_0x1ed3b1(0x1c9),'vBrUd':_0x1ed3b1(0x1ef),'PldeE':function(_0xe62434,_0x2e8c40,_0x29e6e2,_0x418fed){return _0xe62434(_0x2e8c40,_0x29e6e2,_0x418fed);},'wQKci':_0x1ed3b1(0x209),'aMIPY':function(_0x3990c2,_0x5001b3,_0x21b6b1){return _0x3990c2(_0x5001b3,_0x21b6b1);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI[_0x1ed3b1(0x225)]()['getConfig']())){this[_0x1ed3b1(0x1be)]['debug'](_0x4aa1cf['mOgKg']);return;}const _0x15ff4c=_0x56af3b;if(!_0x15ff4c){this[_0x1ed3b1(0x1be)][_0x1ed3b1(0x20f)](_0x4aa1cf[_0x1ed3b1(0x265)]);return;}const _0x37047d=AutomationFramework[_0x1ed3b1(0x1c2)](_0x15ff4c,PlaywrightDriverModule[_0x1ed3b1(0x1f7)]);if(!_0x37047d){this['logger'][_0x1ed3b1(0x20f)](_0x4aa1cf[_0x1ed3b1(0x1c5)]);return;}const _0x3e7cd2=_0x223a66;if(!_0x3e7cd2){this[_0x1ed3b1(0x1be)][_0x1ed3b1(0x20f)](_0x4aa1cf[_0x1ed3b1(0x227)],_0x3e7cd2);return;}const _0x2b11b2={};_0x2b11b2[_0x1ed3b1(0x242)]=_0x3e7cd2;const _0x39fb6a={};_0x39fb6a[_0x1ed3b1(0x1dd)]=_0x4aa1cf[_0x1ed3b1(0x241)],_0x39fb6a[_0x1ed3b1(0x24e)]=_0x2b11b2;const _0x338eb9=_0x39fb6a;_0x29271e&&(_0x338eb9[_0x1ed3b1(0x24e)][_0x4aa1cf[_0x1ed3b1(0x1c3)]]=_0x29271e);const _0x12b3ba=(_0x43a1bc?_0x43a1bc:_0x4aa1cf['nxyZQ'])+'\x20'+_0x3e7cd2+'\x20'+(_0x29271e?'with\x20'+_0x29271e:''),_0x295f95=_0x4aa1cf[_0x1ed3b1(0x235)](_0x3e7cd2,_0x4aa1cf[_0x1ed3b1(0x245)])?_0x4aa1cf['haUcv']:_0x4aa1cf[_0x1ed3b1(0x231)];await _0x4aa1cf[_0x1ed3b1(0x1d2)](playwrightAnnotate,_0x37047d,_0x12b3ba,_0x295f95),_0x29271e&&(_0x338eb9[_0x1ed3b1(0x24e)][_0x4aa1cf['RBdUw']]=_0x29271e),PerformanceTester[_0x1ed3b1(0x25c)](PerformanceEvents[_0x1ed3b1(0x222)]),this[_0x1ed3b1(0x1be)][_0x1ed3b1(0x20f)](_0x4aa1cf['wQKci']),await _0x4aa1cf['aMIPY'](playwrightBstackJsExecutor,_0x37047d,_0x338eb9),PerformanceTester[_0x1ed3b1(0x1bb)](PerformanceEvents[_0x1ed3b1(0x222)]);}async[a84_0x2b70c4(0x25a)](_0x4d19a1){const _0x1e74a1=a84_0x2b70c4,_0x232c0e={'mdXEW':_0x1e74a1(0x250),'IsWwh':function(_0x5816cf,_0x19c361){return _0x5816cf(_0x19c361);},'umWGv':_0x1e74a1(0x1d7),'wUOhr':function(_0xd77cf9,_0x5669c4,_0x40552c){return _0xd77cf9(_0x5669c4,_0x40552c);}};try{if(CLIUtils[_0x1e74a1(0x24a)](BrowserstackCLI[_0x1e74a1(0x225)]()[_0x1e74a1(0x234)]())){this[_0x1e74a1(0x1be)]['debug'](_0x232c0e[_0x1e74a1(0x215)]);return;}const _0x23a1aa=AutomationFramework['getState'](AutomationFramework[_0x1e74a1(0x20a)](),PlaywrightDriverModule[_0x1e74a1(0x1f7)]);let _0x50d50d;_0x4d19a1['pickle']||_0x4d19a1[_0x1e74a1(0x1a5)]?_0x50d50d=_0x232c0e[_0x1e74a1(0x1d3)](getCucumberSessionName,_0x4d19a1):_0x50d50d=_0x232c0e[_0x1e74a1(0x1d3)](getPlaywrightSessionName,_0x4d19a1);const _0x16dad0={};_0x16dad0['name']=_0x50d50d;const _0x142990={};_0x142990['action']=_0x232c0e[_0x1e74a1(0x1ec)],_0x142990[_0x1e74a1(0x24e)]=_0x16dad0;const _0x5d34c9=_0x142990;PerformanceTester['start'](PerformanceEvents[_0x1e74a1(0x252)]),await _0x232c0e[_0x1e74a1(0x21e)](playwrightBstackJsExecutor,_0x23a1aa,_0x5d34c9),PerformanceTester['end'](PerformanceEvents[_0x1e74a1(0x252)]);}catch(_0x28f131){PerformanceTester['end'](PerformanceEvents[_0x1e74a1(0x252)],![],util[_0x1e74a1(0x212)](_0x28f131)),this[_0x1e74a1(0x1be)]['error'](_0x1e74a1(0x1ea)+util[_0x1e74a1(0x212)](_0x28f131));}}}PlaywrightDriverModule[a84_0x2b70c4(0x236)]=a84_0x2b70c4(0x1b2),module[a84_0x2b70c4(0x1bc)]=PlaywrightDriverModule;
1
+ function a84_0x3697(_0x4d7f27,_0x3002af){const _0x16d628=a84_0x16d6();return a84_0x3697=function(_0x3697fd,_0x453672){_0x3697fd=_0x3697fd-0xc5;let _0x40db7f=_0x16d628[_0x3697fd];return _0x40db7f;},a84_0x3697(_0x4d7f27,_0x3002af);}const a84_0x92326b=a84_0x3697;(function(_0x3a9f2a,_0x4d9ae9){const _0x59dde5=a84_0x3697,_0x1a125c=_0x3a9f2a();while(!![]){try{const _0x1956d6=-parseInt(_0x59dde5(0x12d))/0x1+parseInt(_0x59dde5(0x181))/0x2+parseInt(_0x59dde5(0x13c))/0x3*(parseInt(_0x59dde5(0xdd))/0x4)+-parseInt(_0x59dde5(0xd1))/0x5*(-parseInt(_0x59dde5(0x10d))/0x6)+parseInt(_0x59dde5(0xc5))/0x7+parseInt(_0x59dde5(0x147))/0x8*(-parseInt(_0x59dde5(0x172))/0x9)+-parseInt(_0x59dde5(0x159))/0xa;if(_0x1956d6===_0x4d9ae9)break;else _0x1a125c['push'](_0x1a125c['shift']());}catch(_0x522eb7){_0x1a125c['push'](_0x1a125c['shift']());}}}(a84_0x16d6,0x96b5a));const util=require(a84_0x92326b(0x12a)),BaseModule=require(a84_0x92326b(0xd5)),{createClassLogger}=require(a84_0x92326b(0xec)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a84_0x92326b(0x134)),{FRAMEWORKS}=require(a84_0x92326b(0x124)),AutomationFramework=require(a84_0x92326b(0x14a)),AutomationFrameworkState=require(a84_0x92326b(0x111)),HookState=require(a84_0x92326b(0x161)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x92326b(0x10b)),CLIUtils=require(a84_0x92326b(0x180)),BrowserstackCLI=require(a84_0x92326b(0xff)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a84_0x92326b(0x14b)),PerformanceEvents=require(a84_0x92326b(0x137))['AUTOMATE_EVENTS'],TestInfo=require(a84_0x92326b(0x119)),{getPlaywrightProvider,getProductForSession}=require(a84_0x92326b(0x10b)),LoadTestModule=require(a84_0x92326b(0xd3)),TestFrameworkConstants=require(a84_0x92326b(0xfe)),TestFrameworkState=require(a84_0x92326b(0xf3)),JestUtils=require(a84_0x92326b(0x11f)),PlaywrightSessionDetails=require(a84_0x92326b(0x10c));function a84_0x16d6(){const _0x4a679d=['../cliUtils.js','2152796ziXavf','5|4|0|8|7|11|1|2|6|3|10|9','arguments','testUuid','format','PlaywrightDriverModule','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','gherkinDocument','getContext','CNZXk','KEY_TEST_ID','YBGMF','status','jestUtils','6953170SYNABd','IrQqP','YBYdE','SESSION_NAME','debug','page','driverInit','rWcrP','getTestUUID','TEST','platforms','gyjlu','147365SWJhxf','qnelx','./loadTestModule.js','markSessionStatus','./baseModule','uOvxH','mIJKx','wSMHO','params','workerInfo','RJuAj','VpfZe','4fnrQTk','base64','from','getLTSSessionId','kQCod','OeuAK','onBeforeDriverCreate','EXECUTE','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','IWEtb','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','getId','KEY_SESSION_ID','getState','inspect','../../../helpers/classLogger.js','WBZSS','Session','NaGJI','poyFU','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','with\x20','../state/testFrameworkState','stringify','NxRkG','getInstance','KEY_CAPABILITIES','bzXsC','KEY_BROWSER_OBJECT','shouldSkipSessionName','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','isTrue','KEY_TEST_FRAMEWORK_NAME','../framework/constants/testFrameworkConstants.js','../browserstackCLI.js','instance','result','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','1.51.0','Automation\x20onAfterTest:\x20Test\x20completed','contextObject','gdyOS','length','ZIOkQ','KEY_PLATFORM_INDEX','split','../../../helpers/helper.js','../../playwright/sessionDetails','150ZXFpdw','ijZug','VWbPX','\x20||\x20','../state/automationFrameworkState.js','lVMDW','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','zJfyT','testId:\x20','onDispatchExecute:\x20Playwright\x20sessionId:\x20','onPlaywrightDispatch','passed','../TestInfo.js','testInfo','POST','end','VeIgD','CREATE','../utils/jest-utils.js','PRE','shouldSkipSessionStatus','browser','getThreadId','../../utils/constants','getTestId','exports','setSessionStatus','Error\x20in\x20onAfterDriverCreate:\x20','keys','util','markSessionName:\x20Skipping\x20session\x20name\x20marking','start','1057086jhZTXE','bind','SESSION_STATUS','KEY_HUB_URL','sessionId','POASD','PLAYWRIGHT','../../../helpers/helper','Error\x20in\x20onDispatchExecute:\x20','isFalse','../../../helpers/performance/constants.js','CUCUMBER','isLTSSession','onAfterTest\x20CBTSession\x20payload:\x20','KGsRT','1976907wKbllZ','pickle','Error\x20in\x20onBeforeDriverCreate:\x20','action','getTestIdentifierFromTestInfo','info','recreateIdentifierFromTestInfo','DCIti','registerObserver','Pmoze','hubUrl','6461320FCIJHf','\x20failure\x20reason:\x20','PQwIY','../framework/automationFramework.js','../../../helpers/performance/performance-tester.js','name','error','pageObject','retry','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','parallelIndex','getRef','KEY_PLATFORM_DETAILS','isBrowserstackInfra','platformDetails','SmqPQ','getTrackedInstance','__workerDetails','9834450WJiQWn','getProcessId','Playwright','testSessionEvent','SrYNh','ppwmw','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','rEFHl','../state/hookState.js','UOxEU','markSessionName','onAfterTest','FGMBh','zgItz','message','bWjFI','MBxTk','playwrightVersion','logger','MODULE_NAME','rWiYz','getDetails','launchcaps','onAfterDriverCreate:\x20Setting\x20browser\x20object','testFrameworkData','9EbFciH','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','getTestDetails','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','KEY_PAGE_OBJECT','setState','browserObject','JEST','toString','dyLgZ','zMTvh','Error\x20in\x20markSessionName:\x20','onAfterDriverCreate','youBF'];a84_0x16d6=function(){return _0x4a679d;};return a84_0x16d6();}class PlaywrightDriverModule extends BaseModule{static [a84_0x92326b(0xf9)]=a84_0x92326b(0x178);static ['KEY_CONTEXT_OBJECT']=a84_0x92326b(0x105);static [a84_0x92326b(0x176)]=a84_0x92326b(0x14e);static [a84_0x92326b(0xe9)]='sessionId';static [a84_0x92326b(0x109)]='platformIndex';static [a84_0x92326b(0xf7)]='capabilities';static [a84_0x92326b(0x130)]=a84_0x92326b(0x146);static [a84_0x92326b(0x153)]=a84_0x92326b(0x155);static ['KEY_TEST_ID']='testId';[a84_0x92326b(0x16b)]=createClassLogger('PlaywrightDriverModule');constructor(_0x11eda0=null){const _0x2adb56=a84_0x92326b,_0x3cf5f3={};_0x3cf5f3[_0x2adb56(0x15e)]=_0x2adb56(0x182),_0x3cf5f3[_0x2adb56(0x143)]=_0x2adb56(0x186);const _0x369589=_0x3cf5f3,_0x1e2899=_0x369589[_0x2adb56(0x15e)][_0x2adb56(0x10a)]('|');let _0x3ebb86=0x0;while(!![]){switch(_0x1e2899[_0x3ebb86++]){case'0':this[_0x2adb56(0x16a)]=null;continue;case'1':this['testRunId']=null;continue;case'2':this[_0x2adb56(0x18e)]=new JestUtils();continue;case'3':AutomationFramework[_0x2adb56(0x144)](AutomationFrameworkState[_0x2adb56(0x11e)],HookState[_0x2adb56(0x11b)],this[_0x2adb56(0x17e)][_0x2adb56(0x12e)](this));continue;case'4':this[_0x2adb56(0x14c)]=_0x369589[_0x2adb56(0x143)];continue;case'5':super(_0x11eda0);continue;case'6':AutomationFramework[_0x2adb56(0x144)](AutomationFrameworkState[_0x2adb56(0x11e)],HookState[_0x2adb56(0x120)],this[_0x2adb56(0xe3)]['bind'](this));continue;case'7':this['browserVersion']=null;continue;case'8':this['browserName']=null;continue;case'9':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x2adb56(0xe4)],HookState[_0x2adb56(0x11b)],this[_0x2adb56(0x164)]['bind'](this));continue;case'10':AutomationFramework[_0x2adb56(0x144)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x2adb56(0x11b)],this[_0x2adb56(0x117)][_0x2adb56(0x12e)](this));continue;case'11':this[_0x2adb56(0xcf)]=[];continue;}break;}}['getModuleName'](){const _0xeb4540=a84_0x92326b;return PlaywrightDriverModule[_0xeb4540(0x16c)];}async[a84_0x92326b(0xe3)](_0x29f7dc){const _0x476516=a84_0x92326b,_0x34eb24={};_0x34eb24['MBxTk']=_0x476516(0x187);const _0x3b0c6a=_0x34eb24;try{this[_0x476516(0x16b)][_0x476516(0xc9)](_0x3b0c6a[_0x476516(0x169)]);const _0x2aa32c=_0x29f7dc[_0x476516(0x16f)],_0x10362b=_0x29f7dc['hubUrl'];AutomationFramework['setState'](_0x29f7dc['instance'],PlaywrightDriverModule[_0x476516(0xf7)],_0x2aa32c),AutomationFramework[_0x476516(0x177)](_0x29f7dc[_0x476516(0x100)],PlaywrightDriverModule[_0x476516(0x130)],_0x10362b);}catch(_0x2d25b7){this['logger'][_0x476516(0x14d)](_0x476516(0x13e)+util[_0x476516(0x185)](_0x2d25b7));}}async[a84_0x92326b(0x117)](_0x2422ac){const _0xe385b=a84_0x92326b,_0xc7be6c={};_0xc7be6c[_0xe385b(0xd0)]=function(_0x1c5173,_0x13d3b3){return _0x1c5173||_0x13d3b3;};const _0x413206=_0xc7be6c;try{const _0x3019a4=_0x2422ac?.[_0xe385b(0x167)]&&_0x2422ac?.[_0xe385b(0x167)]?.[_0xe385b(0xd9)]&&_0x2422ac?.['message']?.[_0xe385b(0xd9)]?.['bsParams'],_0x2a387a=_0x2422ac?.[_0xe385b(0x167)]&&_0x2422ac?.[_0xe385b(0x167)]?.['bStackParams'];if(_0x413206[_0xe385b(0xd0)](_0x3019a4,_0x2a387a)){this[_0xe385b(0x16b)][_0xe385b(0xc9)](_0xe385b(0x102)+util[_0xe385b(0xeb)](_0x3019a4)+_0xe385b(0x110)+util[_0xe385b(0xeb)](_0x2a387a));const _0x2844d0=_0x2422ac?.[_0xe385b(0x100)],_0x5c6062=global?.[_0xe385b(0x158)]?.[_0xe385b(0xda)]?.[_0xe385b(0x151)],_0x5143f3=_0x3019a4?.[_0xe385b(0x131)]||_0x2a387a?.[_0xe385b(0x131)],_0x1693d9=_0x3019a4?.['platformDetails']||_0x2a387a?.[_0xe385b(0x155)];_0x5143f3&&(this['logger']['debug'](_0xe385b(0x116)+_0x5143f3),AutomationFramework[_0xe385b(0x177)](_0x2844d0,PlaywrightDriverModule[_0xe385b(0xe9)],_0x5143f3)),_0x5c6062&&(this[_0xe385b(0x16b)]['debug']('onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20'+util['inspect'](_0x5c6062)),AutomationFramework[_0xe385b(0x177)](_0x2844d0,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x5c6062));}}catch(_0x2976df){this['logger']['error'](_0xe385b(0x135)+util[_0xe385b(0x185)](_0x2976df));}}async['onAfterDriverCreate'](_0x1d690b){const _0xcfda11=a84_0x92326b,_0x41bb07={'zMTvh':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','PQwIY':function(_0x54acb5,_0x2c4d80){return _0x54acb5(_0x2c4d80);},'NaGJI':'onAfterDriverCreate:\x20Setting\x20page\x20object','IWEtb':_0xcfda11(0x15f),'NxRkG':'onAfterDriverCreate:\x20Setting\x20context\x20object','rWcrP':_0xcfda11(0x170),'OeuAK':_0xcfda11(0xde),'zgItz':function(_0x49d994,_0x4fc1c6){return _0x49d994===_0x4fc1c6;}};try{this[_0xcfda11(0x16b)]['debug'](_0x41bb07[_0xcfda11(0x17c)]);const _0x3a744f=_0x1d690b[_0xcfda11(0x100)];this[_0xcfda11(0x16a)]=_0x41bb07[_0xcfda11(0x149)](getFrameworkVersion,FRAMEWORKS[_0xcfda11(0x133)]);if(_0x1d690b[_0xcfda11(0xca)]){this['logger'][_0xcfda11(0xc9)](_0x41bb07[_0xcfda11(0xef)]),AutomationFramework[_0xcfda11(0x177)](_0x3a744f,PlaywrightDriverModule[_0xcfda11(0x176)],_0x1d690b['page']);if(_0x1d690b[_0xcfda11(0x11a)]){this[_0xcfda11(0x16b)][_0xcfda11(0xc9)](_0x41bb07[_0xcfda11(0xe6)]);const _0xdf04b7=this[_0xcfda11(0x125)](_0x1d690b);AutomationFramework[_0xcfda11(0x177)](_0x3a744f,PlaywrightDriverModule[_0xcfda11(0x18b)],_0xdf04b7),await this[_0xcfda11(0x163)](_0x1d690b['testInfo']);}}_0x1d690b['context']&&(this[_0xcfda11(0x16b)][_0xcfda11(0xc9)](_0x41bb07[_0xcfda11(0xf5)]),AutomationFramework[_0xcfda11(0x177)](_0x3a744f,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x1d690b['context']));if(_0x1d690b[_0xcfda11(0x122)]){this[_0xcfda11(0x16b)][_0xcfda11(0xc9)](_0x41bb07[_0xcfda11(0xcc)]);const _0x276e32=global?.[_0xcfda11(0x158)]?.[_0xcfda11(0xda)]?.[_0xcfda11(0x151)];AutomationFramework[_0xcfda11(0x177)](_0x3a744f,PlaywrightDriverModule[_0xcfda11(0xf9)],_0x1d690b['browser']),AutomationFramework[_0xcfda11(0x177)](_0x3a744f,PlaywrightDriverModule[_0xcfda11(0x109)],_0x276e32);const _0x2bf597={};_0x2bf597['isPlaywright']=!![];const _0x47db52=Buffer[_0xcfda11(0xdf)](JSON[_0xcfda11(0xf4)](_0x2bf597)['toString'](_0x41bb07[_0xcfda11(0xe2)])),_0x4956cf=await GrpcClient[_0xcfda11(0xf6)]()[_0xcfda11(0xcb)]({'platformIndex':_0x276e32,'ref':_0x3a744f[_0xcfda11(0x152)](),'userInputParams':_0x47db52});(helper[_0xcfda11(0x136)](helper['isBrowserstackInfra']())||helper[_0xcfda11(0xfc)](helper[_0xcfda11(0x154)]()&&BrowserstackCLI[_0xcfda11(0xf6)]()['getConfig']()['platforms']&&_0x41bb07[_0xcfda11(0x166)](BrowserstackCLI[_0xcfda11(0xf6)]()['getConfig']()[_0xcfda11(0xcf)][_0xcfda11(0x107)],0x0)))&&AutomationFramework[_0xcfda11(0x177)](_0x3a744f,PlaywrightDriverModule['KEY_CAPABILITIES'],PlaywrightSessionDetails[_0xcfda11(0x16e)]());}}catch(_0x164a10){this['logger'][_0xcfda11(0x14d)](_0xcfda11(0x128)+util[_0xcfda11(0x185)](_0x164a10));}}async[a84_0x92326b(0x164)](_0x290627){const _0x19009f=a84_0x92326b,_0x1b2371={'HLveX':_0x19009f(0x104),'yQbJP':_0x19009f(0x150),'dyLgZ':function(_0x4391e3,_0x2a5a80){return _0x4391e3(_0x2a5a80);},'gdyOS':function(_0x2ec90f,_0x545257,_0xe729fe){return _0x2ec90f(_0x545257,_0xe729fe);},'UOxEU':_0x19009f(0x101),'YBGMF':_0x19009f(0x167),'SrYNh':function(_0xa41607,_0x4b7348){return _0xa41607(_0x4b7348);},'POASD':_0x19009f(0x14d),'FGMBh':'errors','ETESr':function(_0x20671b,_0x5a6fc9){return _0x20671b>_0x5a6fc9;},'KGsRT':function(_0x3a9bcd,_0x10d22d){return _0x3a9bcd||_0x10d22d;},'GsRoH':function(_0x5cc974,_0x4d7ff1){return _0x5cc974===_0x4d7ff1;},'poyFU':function(_0x4e5291,_0x2e2ceb){return _0x4e5291===_0x2e2ceb;},'mIJKx':function(_0x360a4d,_0x52a501){return _0x360a4d+_0x52a501;},'kkviy':_0x19009f(0x115),'Pmoze':function(_0x3ccab3,_0x2134d0){return _0x3ccab3+_0x2134d0;},'wSMHO':'testData\x20from\x20onAfterTest:\x20','VWbPX':_0x19009f(0x15b),'ZIOkQ':_0x19009f(0x103),'rEFHl':function(_0x405ab5){return _0x405ab5();},'bWjFI':_0x19009f(0xde),'SmqPQ':_0x19009f(0x173)};this[_0x19009f(0x16b)][_0x19009f(0xc9)](_0x1b2371['HLveX']);const _0x23d8f3=_0x290627[_0x19009f(0x100)];if(!_0x23d8f3){this[_0x19009f(0x16b)][_0x19009f(0xc9)](_0x1b2371['yQbJP']);return;}const _0x17ad98=_0x290627[_0x19009f(0x11a)],_0x219df6=this[_0x19009f(0x125)](_0x290627),_0x2e95de=_0x17ad98[_0x19009f(0x18d)];let _0x16e9cc;const _0x7a7af9=_0x1b2371['dyLgZ'](getPlaywrightStatus,_0x2e95de);let _0x7f2f72,_0x2b6c3f=null;if(_0x17ad98[_0x19009f(0x13d)]||_0x17ad98[_0x19009f(0x188)])_0x7f2f72=_0x1b2371['dyLgZ'](getCucumberSessionName,_0x17ad98),_0x16e9cc=_0x1b2371['gdyOS'](nestedKeyValue,_0x17ad98,[_0x1b2371[_0x19009f(0x162)],_0x1b2371[_0x19009f(0x18c)]]);else{_0x7f2f72=_0x1b2371[_0x19009f(0x15d)](getPlaywrightSessionName,_0x17ad98),_0x16e9cc=_0x1b2371['gdyOS'](nestedKeyValue,_0x17ad98,[_0x1b2371[_0x19009f(0x132)],_0x1b2371[_0x19009f(0x18c)]]);const _0x3304c3=_0x1b2371[_0x19009f(0x106)](nestedKeyValue,_0x17ad98,[_0x1b2371[_0x19009f(0x165)]]);_0x3304c3&&_0x1b2371['ETESr'](_0x3304c3[_0x19009f(0x107)],0x0)&&(_0x2b6c3f=_0x3304c3[0x0][_0x19009f(0x167)]),_0x16e9cc=_0x1b2371['KGsRT'](_0x16e9cc,_0x2b6c3f),this[_0x19009f(0x16b)][_0x19009f(0xc9)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x7a7af9+_0x19009f(0x148)+_0x16e9cc);}const _0xefc363=_0x1b2371[_0x19009f(0x13b)](_0x16e9cc,_0x2b6c3f);this[_0x19009f(0x16b)]['debug']('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x7a7af9);let _0x420d7a,_0x3089a7;if(this['testFrameworkData']&&_0x1b2371['GsRoH'](this[_0x19009f(0x171)][_0x19009f(0x14c)],FRAMEWORKS[_0x19009f(0x138)]))_0x420d7a=_0x219df6,_0x3089a7=TestInfo[_0x19009f(0xcd)](_0x420d7a);else this[_0x19009f(0x171)]&&_0x1b2371[_0x19009f(0xf0)](this[_0x19009f(0x171)]['name'],FRAMEWORKS[_0x19009f(0x179)])?(_0x420d7a=this[_0x19009f(0x18e)][_0x19009f(0x142)](_0x17ad98),this[_0x19009f(0x16b)]['debug']('Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x420d7a)):(_0x420d7a=TestInfo[_0x19009f(0x140)](_0x17ad98,_0x17ad98[_0x19009f(0x14f)]),_0x3089a7=TestInfo[_0x19009f(0xcd)](_0x420d7a));const _0x220a17=TestInfo[_0x19009f(0x174)](_0x420d7a);this[_0x19009f(0x16b)][_0x19009f(0x141)](_0x1b2371[_0x19009f(0xd7)](_0x1b2371['kkviy'],_0x219df6)),this['logger']['info'](_0x1b2371[_0x19009f(0x145)](_0x1b2371[_0x19009f(0xd8)],util[_0x19009f(0xeb)](_0x220a17)));const _0x54a724=AutomationFramework[_0x19009f(0xea)](_0x23d8f3,PlaywrightDriverModule[_0x19009f(0x109)]),_0x53e47a=_0x220a17?.[TestFrameworkConstants[_0x19009f(0xfd)]]||this[_0x19009f(0x171)]&&this[_0x19009f(0x171)][_0x19009f(0x14c)],_0x95e41b=_0x220a17?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0x19009f(0x171)]&&this['testFrameworkData']['version'],_0x44ff9d=TestFrameworkState[_0x19009f(0xce)][_0x19009f(0x17a)]()['split']('.')[0x1],_0x86f476=HookState[_0x19009f(0x11b)][_0x19009f(0x17a)]()[_0x19009f(0x10a)]('.')[0x1],_0x40c9a5=_0x23d8f3[_0x19009f(0x189)](),_0x513061=AutomationFramework[_0x19009f(0xea)](_0x23d8f3,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x101847={'provider':_0x1b2371[_0x19009f(0x17b)](getPlaywrightProvider,_0x513061),'frameworkName':_0x1b2371[_0x19009f(0x10f)],'frameworkVersion':_0x1b2371[_0x19009f(0x108)],'frameworkSessionId':LoadTestModule[_0x19009f(0x139)]()?LoadTestModule[_0x19009f(0xe0)]():AutomationFramework[_0x19009f(0xea)](_0x23d8f3,PlaywrightDriverModule[_0x19009f(0xe9)],''),'ref':_0x23d8f3[_0x19009f(0x152)](),'hubUrl':_0x513061,'product':_0x1b2371[_0x19009f(0x160)](getProductForSession)};let _0x4b476b=AutomationFramework[_0x19009f(0xea)](_0x23d8f3,PlaywrightDriverModule[_0x19009f(0xf7)],{});_0x4b476b&&_0x1b2371['ETESr'](Object[_0x19009f(0x129)](_0x4b476b)[_0x19009f(0x107)],0x0)?_0x4b476b=Buffer[_0x19009f(0xdf)](JSON[_0x19009f(0xf4)](_0x4b476b))[_0x19009f(0x17a)](_0x1b2371[_0x19009f(0x168)]):_0x4b476b=Buffer[_0x19009f(0xdf)](JSON[_0x19009f(0xf4)]({}))[_0x19009f(0x17a)](_0x1b2371[_0x19009f(0x168)]);const _0x894da6={'hash':_0x40c9a5[_0x19009f(0xe8)](),'threadId':_0x40c9a5[_0x19009f(0x123)]()['toString'](),'processId':_0x40c9a5[_0x19009f(0x15a)]()[_0x19009f(0x17a)]()},_0x3175ed={};_0x3175ed['test_identifier']=_0x420d7a;const _0x416de6={};_0x416de6[_0x19009f(0x184)]=_0x3089a7;const _0x1fcd71={'platformIndex':_0x54a724,'testFrameworkName':_0x53e47a,'testFrameworkVersion':_0x95e41b,'testFrameworkState':_0x44ff9d,'testHookState':_0x86f476,...this['testFrameworkData']&&_0x1b2371[_0x19009f(0xf0)](this[_0x19009f(0x171)][_0x19009f(0x14c)],FRAMEWORKS[_0x19009f(0x179)])?_0x3175ed:_0x416de6,'automationSession':_0x101847,'capabilities':_0x4b476b,'executionContext':_0x894da6};this[_0x19009f(0x16b)]['debug'](_0x19009f(0x13a)+util[_0x19009f(0x185)](_0x1fcd71)),GrpcClient[_0x19009f(0xf6)]()[_0x19009f(0x15c)](_0x1fcd71),this[_0x19009f(0x16b)][_0x19009f(0xc9)](_0x19009f(0xe5)+_0x219df6+(this[_0x19009f(0x171)]&&_0x1b2371['poyFU'](this[_0x19009f(0x171)][_0x19009f(0x14c)],FRAMEWORKS['JEST'])?',\x20test_identifier:\x20'+_0x420d7a:''));if(!_0x7a7af9){this[_0x19009f(0x16b)][_0x19009f(0xc9)](_0x1b2371[_0x19009f(0x156)],_0x2e95de[_0x19009f(0x18d)]);return;}this[_0x19009f(0x16b)][_0x19009f(0xc9)](_0x19009f(0xfb)+_0x219df6),_0x17ad98&&(this[_0x19009f(0x16b)][_0x19009f(0xc9)](_0x19009f(0xe7)+_0x7f2f72),await this['markSessionName'](_0x17ad98)),await this[_0x19009f(0xd4)](_0x23d8f3,_0x7f2f72,_0x7a7af9,_0xefc363);}async[a84_0x92326b(0xd4)](_0x34d112,_0x41b1b8,_0x2a5580,_0x2b1b5f){const _0x219d63=a84_0x92326b,_0xf9dcde={'lVMDW':_0x219d63(0x113),'qnelx':_0x219d63(0xf1),'zJfyT':_0x219d63(0x175),'CNZXk':_0x219d63(0x173),'VpfZe':_0x219d63(0x127),'uOvxH':'reason','mvOyG':_0x219d63(0xee),'VeIgD':function(_0x234cf0,_0x26aec0){return _0x234cf0===_0x26aec0;},'bzXsC':_0x219d63(0x118),'youBF':_0x219d63(0x141),'ihznA':_0x219d63(0x14d),'ylRHp':function(_0x2231fa,_0x3be893,_0x65e984,_0x3c66fe){return _0x2231fa(_0x3be893,_0x65e984,_0x3c66fe);},'IrQqP':'markSessionStatus:\x20Marking\x20session\x20status','kQCod':function(_0x212408,_0x148fc8,_0x4760a3){return _0x212408(_0x148fc8,_0x4760a3);}};if(CLIUtils[_0x219d63(0x121)](BrowserstackCLI['getInstance']()['getConfig']())){this['logger'][_0x219d63(0xc9)](_0xf9dcde[_0x219d63(0x112)]);return;}const _0x183e60=_0x34d112;if(!_0x183e60){this[_0x219d63(0x16b)][_0x219d63(0xc9)](_0xf9dcde[_0x219d63(0xd2)]);return;}const _0x549e13=AutomationFramework[_0x219d63(0xea)](_0x183e60,PlaywrightDriverModule[_0x219d63(0x176)]);if(!_0x549e13){this[_0x219d63(0x16b)]['debug'](_0xf9dcde[_0x219d63(0x114)]);return;}const _0x5a3c1f=_0x2a5580;if(!_0x5a3c1f){this[_0x219d63(0x16b)][_0x219d63(0xc9)](_0xf9dcde[_0x219d63(0x18a)],_0x5a3c1f);return;}const _0x1dbfba={};_0x1dbfba['status']=_0x5a3c1f;const _0x4218df={};_0x4218df['action']=_0xf9dcde[_0x219d63(0xdc)],_0x4218df[_0x219d63(0x183)]=_0x1dbfba;const _0x14ac60=_0x4218df;_0x2b1b5f&&(_0x14ac60[_0x219d63(0x183)][_0xf9dcde[_0x219d63(0xd6)]]=_0x2b1b5f);const _0x31bcae=(_0x41b1b8?_0x41b1b8:_0xf9dcde['mvOyG'])+'\x20'+_0x5a3c1f+'\x20'+(_0x2b1b5f?_0x219d63(0xf2)+_0x2b1b5f:''),_0x31dd62=_0xf9dcde[_0x219d63(0x11d)](_0x5a3c1f,_0xf9dcde[_0x219d63(0xf8)])?_0xf9dcde[_0x219d63(0x17f)]:_0xf9dcde['ihznA'];await _0xf9dcde['ylRHp'](playwrightAnnotate,_0x549e13,_0x31bcae,_0x31dd62),_0x2b1b5f&&(_0x14ac60[_0x219d63(0x183)][_0xf9dcde[_0x219d63(0xd6)]]=_0x2b1b5f),PerformanceTester[_0x219d63(0x12c)](PerformanceEvents[_0x219d63(0x12f)]),this[_0x219d63(0x16b)]['debug'](_0xf9dcde[_0x219d63(0xc6)]),await _0xf9dcde[_0x219d63(0xe1)](playwrightBstackJsExecutor,_0x549e13,_0x14ac60),PerformanceTester[_0x219d63(0x11c)](PerformanceEvents['SESSION_STATUS']);}async['markSessionName'](_0x3b7620){const _0x247a13=a84_0x92326b,_0x2ee395={'YBYdE':_0x247a13(0x12b),'rWiYz':function(_0x3d6c3e,_0x1c8fb0){return _0x3d6c3e(_0x1c8fb0);},'WBZSS':function(_0x5eb69d,_0x52342e){return _0x5eb69d(_0x52342e);},'ijZug':'setSessionName','RJuAj':function(_0x550c0e,_0x3a6367,_0x38d248){return _0x550c0e(_0x3a6367,_0x38d248);}};try{if(CLIUtils[_0x247a13(0xfa)](BrowserstackCLI[_0x247a13(0xf6)]()['getConfig']())){this[_0x247a13(0x16b)]['debug'](_0x2ee395[_0x247a13(0xc7)]);return;}const _0x16c921=AutomationFramework[_0x247a13(0xea)](AutomationFramework[_0x247a13(0x157)](),PlaywrightDriverModule[_0x247a13(0x176)]);let _0x108b36;_0x3b7620[_0x247a13(0x13d)]||_0x3b7620['gherkinDocument']?_0x108b36=_0x2ee395[_0x247a13(0x16d)](getCucumberSessionName,_0x3b7620):_0x108b36=_0x2ee395[_0x247a13(0xed)](getPlaywrightSessionName,_0x3b7620);const _0x37539d={};_0x37539d['name']=_0x108b36;const _0x52a161={};_0x52a161[_0x247a13(0x13f)]=_0x2ee395[_0x247a13(0x10e)],_0x52a161[_0x247a13(0x183)]=_0x37539d;const _0x4338a9=_0x52a161;PerformanceTester['start'](PerformanceEvents[_0x247a13(0xc8)]),await _0x2ee395[_0x247a13(0xdb)](playwrightBstackJsExecutor,_0x16c921,_0x4338a9),PerformanceTester[_0x247a13(0x11c)](PerformanceEvents['SESSION_NAME']);}catch(_0x11c3c8){PerformanceTester[_0x247a13(0x11c)](PerformanceEvents[_0x247a13(0xc8)],![],util['format'](_0x11c3c8)),this['logger'][_0x247a13(0x14d)](_0x247a13(0x17d)+util[_0x247a13(0x185)](_0x11c3c8));}}}PlaywrightDriverModule['MODULE_NAME']=a84_0x92326b(0x186),module[a84_0x92326b(0x126)]=PlaywrightDriverModule;