browserstack-node-sdk 1.48.0 → 1.48.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a73_0x1df1f6=a73_0x4f7a;function a73_0x8ec4(){const _0x51453a=['6517654QvsIYw','startTime','push','isArray','KEY_TEST_ATTACHMENTS','toISOString','VGWtF','../../../helpers/test-observability/utils','2326352RBvCzu','HnrJw','sendLogCreatedEvent','LnqXk','YVmbd','step','zabKP','./testFramework','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','testFrameworkVersion','stack','KEY_TEST_LOCATION','UiMWJ','moULl','UgItE','KEY_CUSTOM_TAGS','KEY_HOOKS_STARTED','get','forEach','error','KEY_EVENT_ENDED_AT','TYoTx','errors','./constants/testFrameworkConstants.js','concat','trackEvent:\x20found\x20instance,\x20testFrameworkState=','Expected\x20to\x20fail,\x20but\x20passed.','XLmnU','size','../state/hookState.js','PLhZd','KEY_TEST_STARTED_AT','getTestIdentifierFromTestInfo','message','QkZTj','Error\x20processing\x20direct\x20trace\x20file\x20','zPmHI','setTrackedInstance','getInstance','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','\x20instanceId=','split','util','../grpcClient',',\x20testFrameworkState=','KEY_TEST_RESULT_AT','KEY_TEST_FRAMEWORK_NAME','1991090cWxSWB','sendLogCreatedEvent\x20for\x20testId:\x20','1XCySFl','KEY_HOOKS_FINISHED','LKROj','KEY_TEST_LOGS','StKoL','testFrameworkName','../../../helpers/classLogger.js','filter','expectedStatus','failed','FTebg','filePath','slice','instance','TEST_SCREENSHOT','wyJte','getThreadId','gQVcC','from','KEY_TEST_CODE','VTDfI','../state/testFrameworkState.js','mJZBo','\x20testState:\x20','__workerDetails','kIsde','bjaKg','trackHookEvent','getCurrentTestState','PRE','\x20batch\x20','KEY_HOOK_FAILURE_TYPE','result','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','path','KEY_TEST_FILE_PATH','Error\x20in\x20createTestFrameworkEventPayload:\x20','AhmYu','KEY_TEST_TAGS','../../utils/constants','KEY_AUTOMATE_SESSION_NAME','KEY_HOOK_NAME','No\x20reason\x20provided','KEY_HOOK_LAST_FINISHED','addMultipleEntries','KEY_HOOK_ID','XrBGX','title','getCurrentInstanceName','DylGW','KEY_TEST_FRAMEWORK_VERSION','some','debug','KEY_TEST_UUID','values','resolveInstance','createTestFrameworkEventPayload\x20testId:\x20','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','eventJson','uuid','retry','passed','getId','attachments','KEY_HOOK_RESULT','\x20\x20and\x20args\x20=\x20','OqeQV','xUnGl','xWANw','mdlhz','TEST','inspect','skipped','1279176bYQxYq','timedOut','Error\x20in\x20sendLogCreatedEvent:\x20','KEY_TEST_RESULT','startedAt','KEY_TEST_FAILURE','GPlbs','setTestDetails','trackPlaywrightInstance','AEtjE','field_type','KEY_TEST_SCOPES','test','UZyzu','JeCNl','platformIndex','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','KEY_HOOK_LOGS','\x20testHookState=','length','hook','8201048GFiohL','results','MbjlS','fzsfg','basename','JMJnQ','\x20payload=','getTestFrameworksVersions','base64','stringify','KEY_LOGS','matchHookRegex','exports','OMaCn','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','JyGUh','IzcpH','../TestInfo.js','3NsoaUm','getAllData','\x20and\x20args\x20=\x20','POST','162126EdbPjL','KEY_TEST_ID','TEST_ATTACHMENT','8496927fSuxvj','NONE',',\x20state=','Xssoa','PlaywrightTestFramework','DEFAULT_TEST_RESULT','parsePlaywrightTestResult:\x20testId=','KEY_HOOK_FAILURE_REASON','../instances/testFrameworkInstance.js','iLbco','LBpQO','\x20hookState=','ojAlg','jLNgA','hookState','165RxsKzg','info','tuZqb','KEY_HOOK_FAILURE','sAXIv','EqTCV','\x20from\x20TestDetails:\x20','OTRdw','kxuyi','trackEvent','parsePlaywrightTestResult','DEFAULT_HOOK_RESULT','cghUx','getContext','rhmZD','getTime','KEY_HOOK_LAST_STARTED','../instances/trackedInstance.js','sendLogCreatedEvent:\x20testId=','KEY_TEST_ENDED_AT','status','workerInfo','logCreatedEvent','REbTh','duration','10nDeatF','LMaPA','runHooks','parsePlaywrightTest','getTestDetails','HNXvw','format','Error\x20processing\x20trace\x20file\x20','LhMXl','file_name','endedAt','KEY_TEST_SCOPE','KEY_TEST_RERUN_NAME','createTestFrameworkEventPayload','\x20hookState:\x20','oCNgZ','toString','getRef','trim','../../playwright/reporter/pwUtils','BLbhc','../../../../src/helpers/helper'];a73_0x8ec4=function(){return _0x51453a;};return a73_0x8ec4();}(function(_0x543d8b,_0x42801d){const _0x5146b7=a73_0x4f7a,_0x3bbe1a=_0x543d8b();while(!![]){try{const _0x28634d=parseInt(_0x5146b7(0x1d3))/0x1*(parseInt(_0x5146b7(0x1d1))/0x2)+-parseInt(_0x5146b7(0x243))/0x3*(parseInt(_0x5146b7(0x21c))/0x4)+parseInt(_0x5146b7(0x259))/0x5*(-parseInt(_0x5146b7(0x247))/0x6)+parseInt(_0x5146b7(0x1a2))/0x7+-parseInt(_0x5146b7(0x231))/0x8+parseInt(_0x5146b7(0x24a))/0x9*(parseInt(_0x5146b7(0x272))/0xa)+parseInt(_0x5146b7(0x288))/0xb;if(_0x28634d===_0x42801d)break;else _0x3bbe1a['push'](_0x3bbe1a['shift']());}catch(_0x43d2e5){_0x3bbe1a['push'](_0x3bbe1a['shift']());}}}(a73_0x8ec4,0x994a8));const TestFramework=require(a73_0x1df1f6(0x1a9)),TestFrameworkState=require(a73_0x1df1f6(0x1e8)),HookState=require(a73_0x1df1f6(0x1bf)),{createClassLogger}=require(a73_0x1df1f6(0x1d9)),TestFrameworkInstance=require(a73_0x1df1f6(0x252)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a73_0x1df1f6(0x26a)),TestFrameworkConstants=require(a73_0x1df1f6(0x1b9)),logger=createClassLogger(a73_0x1df1f6(0x24e)),{v4:uuidv4}=require(a73_0x1df1f6(0x20e)),util=require(a73_0x1df1f6(0x1cc)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a73_0x1df1f6(0x242)),GrpcClient=require(a73_0x1df1f6(0x1cd)),{removeAnsiColors,getFailureType,failureData}=require(a73_0x1df1f6(0x1a1)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x1df1f6(0x285)),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x1df1f6(0x285)),path=require(a73_0x1df1f6(0x1f5)),fs=require('fs'),helper=require(a73_0x1df1f6(0x287)),{PLAYWRIGHT_TRACE_LOGS}=require(a73_0x1df1f6(0x1fa));function a73_0x4f7a(_0x490cd9,_0x2b26e4){const _0x8ec425=a73_0x8ec4();return a73_0x4f7a=function(_0x4f7afb,_0x4f8bf5){_0x4f7afb=_0x4f7afb-0x19b;let _0x2108eb=_0x8ec425[_0x4f7afb];return _0x2108eb;},a73_0x4f7a(_0x490cd9,_0x2b26e4);}class PlaywrightTestFramework extends TestFramework{constructor(_0x56f6ce,_0x149959,_0xcbbf01){super(_0x56f6ce,_0x149959,_0xcbbf01);}async['trackEvent'](_0x2d8f51,_0x20caca,_0xe005e3={}){const _0x103427=a73_0x1df1f6,_0x47090c={'jLaBk':function(_0x1aa442,_0x5a0911){return _0x1aa442===_0x5a0911;},'tuZqb':function(_0x1402f1,_0x54ccb5){return _0x1402f1===_0x54ccb5;},'zabKP':function(_0x43536a,_0x147692,_0x2481f2){return _0x43536a(_0x147692,_0x2481f2);},'DylGW':function(_0x54e69f,_0x48cd6c){return _0x54e69f===_0x48cd6c;},'IzcpH':_0x103427(0x228),'XLmnU':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x103427(0x262)](_0x2d8f51,_0x20caca,_0xe005e3);if(_0x47090c['jLaBk'](_0x2d8f51,TestFrameworkState[_0x103427(0x1e1)])){const _0x9a1756=TestInfo[_0x103427(0x1c2)](_0xe005e3[_0x103427(0x228)],_0xe005e3[_0x103427(0x228)]['retry']);TestInfo[_0x103427(0x223)](_0x9a1756,_0xe005e3[_0x103427(0x1f3)],!![]);}const _0x2ecb77=this[_0x103427(0x20a)](_0x2d8f51,_0x20caca,_0xe005e3);if(!_0x2ecb77)return;logger[_0x103427(0x207)](_0x103427(0x1bb)+_0x2d8f51+_0x103427(0x255)+_0x20caca+_0x103427(0x1ca)+_0x2ecb77['getRef']());try{if(_0x47090c['jLaBk'](_0x20caca,HookState[_0x103427(0x1f0)])&&_0x47090c[_0x103427(0x25b)](_0x2d8f51,TestFrameworkState[_0x103427(0x219)])){const _0x43798d=_0xe005e3[_0x103427(0x228)];logger[_0x103427(0x207)](_0x103427(0x1c9)+_0x43798d['id']+'}');const _0x432553=TestInfo['getTestUUID'](_0x47090c[_0x103427(0x1a8)](getTestRunIdentifier,_0x43798d,_0xe005e3[_0x103427(0x1f3)][_0x103427(0x20f)]));_0x2ecb77['addMultipleEntries'](this[_0x103427(0x275)](_0x432553,_0x43798d,_0xe005e3['result'])),logger[_0x103427(0x207)](_0x103427(0x23f)+_0x43798d['id']+_0x103427(0x1ce)+_0x2d8f51+_0x103427(0x22e)+_0x20caca+'\x20instance='+_0x2ecb77[_0x103427(0x283)]());}if(_0x47090c[_0x103427(0x204)](_0x20caca,HookState[_0x103427(0x246)])&&_0x47090c['jLaBk'](_0x2d8f51,TestFrameworkState[_0x103427(0x219)])){const _0x1a2189=_0xe005e3[_0x103427(0x228)],_0x503ccf=_0xe005e3['result'];logger[_0x103427(0x207)](_0x103427(0x22c)+_0x1a2189['id']),_0x2ecb77[_0x103427(0x1ff)](this[_0x103427(0x263)](_0x1a2189['id'],_0x503ccf,_0x1a2189)),await this[_0x103427(0x1a4)](_0x2ecb77,_0x2d8f51,_0x20caca,_0x47090c[_0x103427(0x241)],_0xe005e3);}if(CLIUtils[_0x103427(0x23c)](_0x2d8f51[_0x103427(0x282)]()[_0x103427(0x1cb)]('.')[0x1])){const _0x4c6082=await this[_0x103427(0x1ee)](_0x2ecb77,_0x2d8f51,_0x20caca,_0xe005e3);_0x2ecb77[_0x103427(0x1ff)](_0x4c6082);}}catch(_0x3c25c1){logger[_0x103427(0x1b5)](util[_0x103427(0x278)](_0x47090c[_0x103427(0x1bd)],_0x2d8f51,_0x20caca,_0xe005e3['length'],_0x3c25c1));}_0xe005e3[_0x103427(0x1e0)]=_0x2ecb77,await this[_0x103427(0x274)](_0x2ecb77,_0x2d8f51,_0x20caca,_0xe005e3);}[a73_0x1df1f6(0x20a)](_0xeb7dd5,_0x21f264,_0x10bdef={}){const _0x52d064=a73_0x1df1f6,_0x26c2c7={};_0x26c2c7[_0x52d064(0x25e)]=function(_0x1ca660,_0x4b4199){return _0x1ca660===_0x4b4199;},_0x26c2c7[_0x52d064(0x1c4)]=function(_0x595eb0,_0x317965){return _0x595eb0===_0x317965;};const _0x55797a=_0x26c2c7;let _0x447793=null;return(_0x55797a[_0x52d064(0x25e)](_0xeb7dd5,TestFrameworkState['INIT_TEST'])||_0x55797a[_0x52d064(0x1c4)](_0xeb7dd5,TestFrameworkState['NONE']))&&this[_0x52d064(0x224)](_0xeb7dd5,_0x10bdef),_0x447793=TestFramework['getTrackedInstance'](),_0x447793;}[a73_0x1df1f6(0x224)](_0x14f578,_0xb3deab){const _0x278063=a73_0x1df1f6,_0x36b80c=CLIUtils[_0x278063(0x203)](),_0x401e46=TrackedInstance['createContext'](_0x36b80c);let _0x23447e=null;logger[_0x278063(0x25a)](_0x278063(0x20c)+_0x36b80c+_0x278063(0x24c)+_0x14f578),_0x23447e=new TestFrameworkInstance(_0x401e46,this['getTestFrameworks'](),this[_0x278063(0x238)](),_0x14f578,HookState[_0x278063(0x24b)]),TestFramework[_0x278063(0x1c7)](_0x401e46,_0x23447e),logger[_0x278063(0x25a)](_0x278063(0x1aa)+_0x401e46[_0x278063(0x211)]()+'\x20target='+_0x36b80c);}['parsePlaywrightTest'](_0x133689,_0x1f4c2f,_0x3f206a){const _0x11f10a=a73_0x1df1f6,_0x254a52={'gQVcC':function(_0x773dea,_0x407833){return _0x773dea(_0x407833);},'LKROj':function(_0x5a4db5,_0x358f04){return _0x5a4db5(_0x358f04);},'YVmbd':function(_0x1a0554,_0x4da7d3){return _0x1a0554(_0x4da7d3);},'AEtjE':function(_0x3ebc1,_0x1c0943){return _0x3ebc1(_0x1c0943);},'JMJnQ':function(_0x5addbc,_0x46eaac){return _0x5addbc(_0x46eaac);},'VTDfI':function(_0x154333,_0x3da2d8,_0x5500c2){return _0x154333(_0x3da2d8,_0x5500c2);},'TYoTx':function(_0x405079,_0x265c93){return _0x405079(_0x265c93);}},_0xf30c8e=_0x254a52['gQVcC'](getPlaywrightTestId,_0x1f4c2f),_0xb50572=_0x254a52[_0x11f10a(0x1e4)](getPlaywrightTestTitle,_0x1f4c2f),_0x1a00fa=_0x254a52['LKROj'](getTestTags,_0x1f4c2f),_0x3ce43c=_0x254a52[_0x11f10a(0x1e4)](getPlaywrightTestCode,_0x1f4c2f),_0x4202b8=_0x254a52[_0x11f10a(0x1a6)](getPlaywrightTestFilePath,_0x1f4c2f),_0x2b86bb=_0x4202b8+':'+_0x254a52[_0x11f10a(0x1d5)](getPlaywrightTestLocation,_0x1f4c2f),_0x3d7216=_0x254a52['YVmbd'](getPlaywrightTestScope,_0x1f4c2f),_0x1bbb27=_0x254a52[_0x11f10a(0x225)](getPlaywrightTestScopes,_0x1f4c2f),_0x166e5f=_0x254a52[_0x11f10a(0x236)](getPlaywrightSessionName,_0x1f4c2f),_0x43f439=this['getTestFrameworks']()[0x0],_0x5a1d77=_0x254a52[_0x11f10a(0x1e7)](getTestRunIdentifier,_0x1f4c2f,_0x3f206a[_0x11f10a(0x20f)]),_0x257899={[TestFrameworkConstants[_0x11f10a(0x1d0)]]:_0x43f439,[TestFrameworkConstants[_0x11f10a(0x205)]]:this['getTestFrameworksVersions']()[_0x43f439],[TestFrameworkConstants[_0x11f10a(0x1d6)]]:[],[TestFrameworkConstants[_0x11f10a(0x1d4)]]:{},[TestFrameworkConstants[_0x11f10a(0x1b2)]]:{},[TestFrameworkConstants[_0x11f10a(0x208)]]:_0x133689,[TestFrameworkConstants[_0x11f10a(0x21f)]]:TestFrameworkConstants[_0x11f10a(0x24f)],[TestFrameworkConstants[_0x11f10a(0x1fb)]]:_0x166e5f,[TestFrameworkConstants[_0x11f10a(0x1f6)]]:_0x4202b8,[TestFrameworkConstants[_0x11f10a(0x248)]]:_0xf30c8e,[TestFrameworkConstants['KEY_TEST_NAME']]:_0xb50572,[TestFrameworkConstants[_0x11f10a(0x1ad)]]:_0x2b86bb,[TestFrameworkConstants[_0x11f10a(0x1e6)]]:_0x3ce43c,[TestFrameworkConstants[_0x11f10a(0x1f9)]]:_0x1a00fa,[TestFrameworkConstants[_0x11f10a(0x1c1)]]:_0x1f4c2f[_0x11f10a(0x232)][0x0]['startTime'],[TestFrameworkConstants[_0x11f10a(0x27d)]]:_0x3d7216,[TestFrameworkConstants[_0x11f10a(0x227)]]:_0x1bbb27,[TestFrameworkConstants[_0x11f10a(0x27e)]]:_0x254a52[_0x11f10a(0x1b7)](getPlaywrightCustomRerunParam,_0x1f4c2f)};TestInfo[_0x11f10a(0x223)](_0x5a1d77,_0x257899);const _0x52e5dd={};return _0x52e5dd[_0x5a1d77]=_0x257899,_0x52e5dd;}['parsePlaywrightTestResult'](_0x180e22,_0xdccc55,_0x2bceb8){const _0x4b4f1f=a73_0x1df1f6,_0x540ada={'VGWtF':function(_0x2c5831,_0x203098){return _0x2c5831(_0x203098);},'ojAlg':_0x4b4f1f(0x249),'MbjlS':function(_0x8abee6,_0x436b8f){return _0x8abee6===_0x436b8f;},'LhMXl':function(_0x40b702,_0x435fd0){return _0x40b702===_0x435fd0;},'OqeQV':function(_0x3a484e,_0x477d13){return _0x3a484e(_0x477d13);},'jLNgA':_0x4b4f1f(0x1fd),'AhmYu':'multi_dropdown','OXxhP':function(_0x3aaf73,_0x528d59){return _0x3aaf73(_0x528d59);},'PLhZd':function(_0x5aeac1,_0x4c868d,_0x55903e){return _0x5aeac1(_0x4c868d,_0x55903e);},'pboQP':function(_0x110bc3,_0x4ae842){return _0x110bc3+_0x4ae842;},'cghUx':_0x4b4f1f(0x21b),'sAXIv':_0x4b4f1f(0x210),'FTebg':_0x4b4f1f(0x1dc),'KdJcT':_0x4b4f1f(0x21d),'oCNgZ':function(_0x36b279,_0x21ebc4){return _0x36b279===_0x21ebc4;},'xWANw':_0x4b4f1f(0x1bc),'iLbco':function(_0x5a4b66,_0x3eae61,_0x1e1720){return _0x5a4b66(_0x3eae61,_0x1e1720);},'NYJjl':function(_0xafcd45,_0x235b2a){return _0xafcd45||_0x235b2a;},'JyGUh':function(_0x3292df,_0x2eb341){return _0x3292df(_0x2eb341);},'LMaPA':function(_0xb04ab2,_0x25246b){return _0xb04ab2(_0x25246b);},'bjaKg':function(_0x49e4c5,_0x33ab64){return _0x49e4c5>_0x33ab64;},'BLbhc':function(_0x24e174,_0x9c2b0c,_0x359b7d){return _0x24e174(_0x9c2b0c,_0x359b7d);},'uUOra':function(_0x3e8452,_0x28a48d){return _0x3e8452-_0x28a48d;},'QmABE':_0x4b4f1f(0x1f5),'cnpdo':function(_0x49ce2d,_0x1d51dc,_0x2fbd7f){return _0x49ce2d(_0x1d51dc,_0x2fbd7f);},'QGzCO':function(_0x29c9e8,_0x4f3f10){return _0x29c9e8>_0x4f3f10;}};logger[_0x4b4f1f(0x207)](_0x4b4f1f(0x250)+_0x180e22);const _0x32d1ba=_0x540ada[_0x4b4f1f(0x1c0)](getTestRunIdentifier,_0x2bceb8,_0xdccc55[_0x4b4f1f(0x20f)]),_0x5d7ca7=new Date(_0xdccc55[_0x4b4f1f(0x19b)]),_0x3b64ed=_0xdccc55['duration'],_0x1a17ef=new Date(_0x540ada['pboQP'](_0x5d7ca7[_0x4b4f1f(0x268)](),_0x3b64ed)),_0x1031d9=_0xdccc55[_0x4b4f1f(0x26d)],_0x12bfa3=TestInfo[_0x4b4f1f(0x276)](_0x32d1ba)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x3975e5=_0x1031d9;if(_0x540ada[_0x4b4f1f(0x233)](_0xdccc55[_0x4b4f1f(0x26d)],_0x2bceb8[_0x4b4f1f(0x1db)]))_0x3975e5=_0x540ada[_0x4b4f1f(0x27a)](_0xdccc55[_0x4b4f1f(0x26d)],_0x540ada['cghUx'])?_0x540ada[_0x4b4f1f(0x265)]:_0x540ada[_0x4b4f1f(0x25d)];else{(_0x540ada[_0x4b4f1f(0x27a)](_0x3975e5,_0x540ada[_0x4b4f1f(0x25d)])||_0x540ada[_0x4b4f1f(0x233)](_0x3975e5,_0x540ada[_0x4b4f1f(0x1dd)])||_0x540ada[_0x4b4f1f(0x233)](_0x3975e5,_0x540ada['KdJcT']))&&(_0x3975e5=_0x540ada['FTebg']);if(_0x540ada[_0x4b4f1f(0x27a)](_0xdccc55[_0x4b4f1f(0x26d)],_0x540ada[_0x4b4f1f(0x25d)])&&_0x540ada[_0x4b4f1f(0x281)](_0x2bceb8[_0x4b4f1f(0x1db)],_0x540ada[_0x4b4f1f(0x1dd)])){const _0x593cea={};_0x593cea[_0x4b4f1f(0x1c3)]=_0x540ada[_0x4b4f1f(0x217)],_0x593cea[_0x4b4f1f(0x1ac)]=_0x540ada[_0x4b4f1f(0x217)],_0xdccc55[_0x4b4f1f(0x1b5)]=_0x593cea,_0xdccc55[_0x4b4f1f(0x1b8)]=[_0xdccc55[_0x4b4f1f(0x1b5)]];}}const {failureData:_0x509571,logs:_0xa8ae1d}=_0x540ada[_0x4b4f1f(0x253)](getFailureData,_0xdccc55?.[_0x4b4f1f(0x1b8)],{}),_0x5cd900={[TestFrameworkConstants[_0x4b4f1f(0x221)]]:_0x540ada['NYJjl'](_0x509571,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0xdccc55?.[_0x4b4f1f(0x1b5)]&&_0x540ada[_0x4b4f1f(0x240)](getFailureType,_0xdccc55[_0x4b4f1f(0x1b5)][_0x4b4f1f(0x1c3)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0xdccc55?.[_0x4b4f1f(0x1b5)]&&_0x540ada[_0x4b4f1f(0x273)](removeAnsiColors,_0xdccc55[_0x4b4f1f(0x1b5)]['message']),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x4b4f1f(0x21f)]]:_0x3975e5,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x1a17ef[_0x4b4f1f(0x19f)](),[TestFrameworkConstants[_0x4b4f1f(0x1cf)]]:new Date()[_0x4b4f1f(0x19f)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x12bfa3};if(_0xdccc55&&_0x540ada[_0x4b4f1f(0x1ed)](_0xdccc55[_0x4b4f1f(0x20f)],0x0)){const _0x6cf943=TestInfo['getTestUUID'](_0x540ada[_0x4b4f1f(0x286)](getTestRunIdentifier,_0x2bceb8,_0x540ada['uUOra'](_0xdccc55[_0x4b4f1f(0x20f)],0x1)));_0x5cd900[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x6cf943;}const _0x29c591={};_0x29c591['test']=_0x2bceb8;const _0x5c2da6=this[_0x4b4f1f(0x20a)](TestFrameworkState[_0x4b4f1f(0x219)],HookState[_0x4b4f1f(0x246)],_0x29c591),_0x4983a3=_0x5c2da6[_0x4b4f1f(0x244)]()[_0x4b4f1f(0x1b3)](_0x32d1ba)[TestFrameworkConstants[_0x4b4f1f(0x208)]],_0x2cc1f4=[],_0x5d819c=_0x540ada['iLbco'](findNestedKey,_0xdccc55,_0x540ada['QmABE']);if(_0x5d819c&&_0x540ada[_0x4b4f1f(0x273)](validateFilePath,_0x5d819c))try{_0x2cc1f4[_0x4b4f1f(0x19c)]({'kind':_0x540ada[_0x4b4f1f(0x256)],'timestamp':new Date()[_0x4b4f1f(0x19f)](),'test_run_uuid':_0x4983a3,'file_name':path['basename'](_0x5d819c),'file_size':fs['statSync'](_0x5d819c)[_0x4b4f1f(0x1be)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x24d7ce){logger[_0x4b4f1f(0x1b5)](_0x4b4f1f(0x1c5)+_0x5d819c+':\x20'+_0x24d7ce[_0x4b4f1f(0x1c3)]);}const _0x4bfbb2=TestInfo['getTraceFilePaths'](),_0xf44ad=_0x4bfbb2[_0x4b4f1f(0x1da)](_0x19bc84=>_0x19bc84['testUId']===_0x4983a3);_0xf44ad[_0x4b4f1f(0x1b4)](_0x3c356e=>{const _0x4c09cc=_0x4b4f1f;if(_0x3c356e[_0x4c09cc(0x1de)]&&_0x540ada[_0x4c09cc(0x1a0)](validateFilePath,_0x3c356e[_0x4c09cc(0x1de)])&&!_0x2cc1f4[_0x4c09cc(0x206)](_0x5b54e0=>_0x5b54e0[_0x4c09cc(0x27b)]===path[_0x4c09cc(0x235)](_0x3c356e['filePath'])))try{_0x2cc1f4[_0x4c09cc(0x19c)]({'kind':_0x540ada[_0x4c09cc(0x256)],'timestamp':new Date()[_0x4c09cc(0x19f)](),'test_run_uuid':_0x4983a3,'file_name':path[_0x4c09cc(0x235)](_0x3c356e['filePath']),'file_size':fs['statSync'](_0x3c356e[_0x4c09cc(0x1de)])[_0x4c09cc(0x1be)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4a4788){logger[_0x4c09cc(0x1b5)](_0x4c09cc(0x279)+_0x3c356e[_0x4c09cc(0x1de)]+_0x4c09cc(0x25f)+_0x4a4788[_0x4c09cc(0x1c3)]);}});if(_0x540ada[_0x4b4f1f(0x1ed)](_0x2cc1f4['length'],0x0)){const _0x388c9a=_0x5cd900[TestFrameworkConstants['KEY_LOGS']]||[];_0x5cd900[TestFrameworkConstants[_0x4b4f1f(0x23b)]]=[..._0x388c9a,..._0x2cc1f4];}const _0x34cb14=TestInfo[_0x4b4f1f(0x276)](_0x32d1ba)[TestFrameworkConstants[_0x4b4f1f(0x19e)]]||{},_0x42f3fe=_0x540ada['cnpdo'](getManualUploadLogs,_0x34cb14,_0x5c2da6['getAllData']()[_0x4b4f1f(0x1b3)](_0x32d1ba)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x540ada['QGzCO'](_0x42f3fe[_0x4b4f1f(0x22f)],0x0)){const _0x44605b=_0x5cd900[TestFrameworkConstants[_0x4b4f1f(0x23b)]]||[];_0x5cd900[TestFrameworkConstants[_0x4b4f1f(0x23b)]]=[..._0x44605b,..._0x42f3fe];}const _0xc9bc2c=_0x2bceb8['annotations']||[],_0x352cff=_0x5cd900[TestFrameworkConstants[_0x4b4f1f(0x1b1)]]||{};_0xc9bc2c[_0x4b4f1f(0x1b4)](_0x1036cf=>{const _0x3cbe64=_0x4b4f1f,{type:_0x439420}=_0x1036cf;let _0x2a9950=_0x1036cf['description'];if(!_0x439420)return;(_0x540ada[_0x3cbe64(0x233)](_0x2a9950,undefined)||_0x540ada[_0x3cbe64(0x27a)](_0x2a9950,null)||_0x540ada[_0x3cbe64(0x27a)](_0x540ada[_0x3cbe64(0x215)](String,_0x2a9950)['trim'](),''))&&(_0x2a9950=_0x540ada[_0x3cbe64(0x257)]);if(!_0x352cff[_0x439420]){const _0x54d8cb={};_0x54d8cb[_0x3cbe64(0x226)]=_0x540ada[_0x3cbe64(0x1f8)],_0x54d8cb[_0x3cbe64(0x209)]=[],_0x352cff[_0x439420]=_0x54d8cb;}else!_0x352cff[_0x439420][_0x3cbe64(0x226)]&&(_0x352cff[_0x439420]['field_type']=_0x540ada[_0x3cbe64(0x1f8)]),!Array[_0x3cbe64(0x19d)](_0x352cff[_0x439420][_0x3cbe64(0x209)])&&(_0x352cff[_0x439420][_0x3cbe64(0x209)]=[]);const _0x476a16=_0x540ada['OXxhP'](String,_0x2a9950)[_0x3cbe64(0x1cb)](',')['map'](_0x4601ca=>_0x4601ca[_0x3cbe64(0x284)]());_0x352cff[_0x439420][_0x3cbe64(0x209)]=[...new Set([..._0x352cff[_0x439420]['values'],..._0x476a16])];}),_0x5cd900[TestFrameworkConstants[_0x4b4f1f(0x1b1)]]=_0x352cff,TestInfo[_0x4b4f1f(0x223)](_0x32d1ba,_0x5cd900);const _0x25d0ed={};return _0x25d0ed[_0x32d1ba]=_0x5cd900,_0x25d0ed;}async[a73_0x1df1f6(0x1ee)](_0x5b4f41,_0x173dfb,_0x55b2c7,_0x3ccfde){const _0x14ecc5=a73_0x1df1f6,_0x431883={'UZyzu':function(_0x21fa24,_0x435bb7,_0x146818){return _0x21fa24(_0x435bb7,_0x146818);},'xUOPe':function(_0x4b4fae,_0x53e6f4){return _0x4b4fae in _0x53e6f4;},'wyJte':function(_0x4cf9be,_0x450d41){return _0x4cf9be in _0x450d41;},'mdlhz':function(_0x5877e6,_0x213c2f){return _0x5877e6(_0x213c2f);},'HnrJw':function(_0x38657c,_0x41ea22){return _0x38657c(_0x41ea22);},'GTiAf':function(_0x32055e,_0x49d2d9){return _0x32055e===_0x49d2d9;},'zXzqd':function(_0x52f2e4){return _0x52f2e4();},'kIsde':function(_0x2fbfe3,_0x115053){return _0x2fbfe3===_0x115053;},'OoSxc':function(_0x12ddaf,_0xf81259){return _0x12ddaf>_0xf81259;},'REbTh':'err','LBpQO':'failed','GPlbs':_0x14ecc5(0x210),'xUnGl':function(_0x189d96,_0x51f75b){return _0x189d96!==_0x51f75b;},'xrtVD':function(_0x2f049e,_0x3cb987){return _0x2f049e+_0x3cb987;},'StKoL':_0x14ecc5(0x230)},_0x2ac4bb=_0x3ccfde[_0x14ecc5(0x228)],_0x412f2a=_0x3ccfde['step'],_0x1de0f3=_0x431883[_0x14ecc5(0x229)](getTestRunIdentifier,_0x2ac4bb,_0x3ccfde[_0x14ecc5(0x1f3)][_0x14ecc5(0x20f)]),_0x5e66c3=_0x173dfb[_0x14ecc5(0x282)]()[_0x14ecc5(0x1cb)]('.')[0x1];let _0x331551=_0x5b4f41[_0x14ecc5(0x244)]()['get'](_0x1de0f3)[TestFrameworkConstants[_0x14ecc5(0x1b2)]];!_0x331551&&(_0x331551={});!_0x431883['xUOPe'](_0x5e66c3,_0x331551)&&(_0x331551[_0x5e66c3]=[]);let _0x494770=_0x5b4f41['getAllData']()[_0x14ecc5(0x1b3)](_0x1de0f3)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x494770&&(_0x494770={});!_0x431883[_0x14ecc5(0x1e2)](_0x5e66c3,_0x494770)&&(_0x494770[_0x5e66c3]=[]);const _0x191c13={[TestFrameworkConstants[_0x14ecc5(0x1b2)]]:_0x331551,[TestFrameworkConstants[_0x14ecc5(0x1d4)]]:_0x494770},_0x91a8d4={};_0x91a8d4[_0x1de0f3]=_0x191c13;const _0x1ca90b=_0x91a8d4,_0x2d4c80=_0x431883[_0x14ecc5(0x218)](getPlaywrightTestFilePath,_0x2ac4bb),_0x4d4e4b=_0x2d4c80+':'+_0x431883[_0x14ecc5(0x1a3)](getPlaywrightTestLocation,_0x2ac4bb),_0x296d41=TestInfo['getTestDetails'](_0x1de0f3)[TestFrameworkConstants[_0x14ecc5(0x1b1)]]||{};if(_0x431883['GTiAf'](_0x55b2c7,HookState[_0x14ecc5(0x1f0)])){const _0x364ca4={'key':_0x5e66c3,[TestFrameworkConstants[_0x14ecc5(0x200)]]:_0x431883['zXzqd'](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x14ecc5(0x264)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x412f2a[_0x14ecc5(0x19b)],[TestFrameworkConstants[_0x14ecc5(0x22d)]]:[],[TestFrameworkConstants[_0x14ecc5(0x1fc)]]:_0x412f2a[_0x14ecc5(0x202)],[TestFrameworkConstants[_0x14ecc5(0x1f6)]]:_0x2d4c80,[TestFrameworkConstants[_0x14ecc5(0x1ad)]]:_0x4d4e4b,[TestFrameworkConstants[_0x14ecc5(0x1b1)]]:_0x296d41};_0x331551[_0x5e66c3][_0x14ecc5(0x19c)](_0x364ca4),_0x1ca90b[_0x1de0f3][TestFrameworkConstants[_0x14ecc5(0x269)]]=_0x5e66c3,logger['debug']('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x5e66c3+'\x20&\x20hook\x20=\x20'+_0x364ca4+_0x14ecc5(0x214)+_0x3ccfde);}else{if(_0x431883[_0x14ecc5(0x1ec)](_0x55b2c7,HookState['POST'])){const _0x2e4c00=await _0x3ccfde[_0x14ecc5(0x1f3)],_0x3c44da=_0x331551[_0x5e66c3]||[],_0x1269c4=_0x3ccfde['step'];logger[_0x14ecc5(0x207)]('Hook\x20List\x20in\x20Post\x20'+_0x3c44da+_0x14ecc5(0x245)+_0x3ccfde);if(_0x431883['OoSxc'](_0x3c44da[_0x14ecc5(0x22f)],0x0)){const _0x3bb117=_0x3c44da['pop']();if(_0x1269c4[_0x14ecc5(0x1b5)]){const _0x4d5f8a=_0x431883['UZyzu'](failureData,_0x1269c4[_0x14ecc5(0x1b5)],_0x431883[_0x14ecc5(0x270)]);_0x3bb117[TestFrameworkConstants[_0x14ecc5(0x1f2)]]=_0x431883[_0x14ecc5(0x218)](getFailureType,_0x1269c4?.['error'][_0x14ecc5(0x1c3)]),_0x3bb117[TestFrameworkConstants[_0x14ecc5(0x251)]]=_0x431883[_0x14ecc5(0x218)](removeAnsiColors,_0x1269c4?.[_0x14ecc5(0x1b5)][_0x14ecc5(0x1c3)]),_0x3bb117[TestFrameworkConstants[_0x14ecc5(0x213)]]=_0x431883['LBpQO'],_0x3bb117[TestFrameworkConstants[_0x14ecc5(0x25c)]]=_0x4d5f8a;}else _0x3bb117[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x431883[_0x14ecc5(0x222)];_0x431883[_0x14ecc5(0x216)](_0x2e4c00,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x3bb117[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x1269c4[_0x14ecc5(0x1b5)]?_0x431883['GPlbs']:_0x431883[_0x14ecc5(0x254)]);const _0x5e53f0=new Date(_0x1269c4[_0x14ecc5(0x19b)]),_0x4180c0=new Date(_0x431883['xrtVD'](_0x5e53f0[_0x14ecc5(0x268)](),_0x1269c4[_0x14ecc5(0x271)]));_0x3bb117[TestFrameworkConstants[_0x14ecc5(0x1b6)]]=_0x4180c0['toISOString'](),_0x3bb117[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x296d41;const _0x1eeed9=_0x3bb117[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x14ecc5(0x1a4)](_0x5b4f41,_0x173dfb,_0x1eeed9,_0x431883[_0x14ecc5(0x1d7)],_0x3ccfde),!_0x494770[_0x5e66c3]&&(_0x494770[_0x5e66c3]=[]),_0x494770[_0x5e66c3][_0x14ecc5(0x19c)](_0x3bb117),_0x1ca90b[_0x1de0f3][TestFrameworkConstants[_0x14ecc5(0x1fe)]]=_0x5e66c3;}}}return _0x1ca90b;}async[a73_0x1df1f6(0x1a4)](_0x16a50e,_0x2e476e,_0x5b6675,_0x467934,_0x150d5e){const _0x18c5c4=a73_0x1df1f6,_0x2adf8a={'oQwvN':function(_0xe64953,_0x51bd78){return _0xe64953===_0x51bd78;},'Xssoa':_0x18c5c4(0x228),'UiMWJ':function(_0x1ed91b,_0x1d9ec9,_0x30ae7c){return _0x1ed91b(_0x1d9ec9,_0x30ae7c);},'fzsfg':_0x18c5c4(0x212),'LnqXk':function(_0x496f3d,_0x660529,_0x3776f0,_0x24bfb8){return _0x496f3d(_0x660529,_0x3776f0,_0x24bfb8);},'OTRdw':function(_0x3099e8,_0x4915b8,_0x9353e0){return _0x3099e8(_0x4915b8,_0x9353e0);},'eyqqc':function(_0x6183ce,_0x59cfd8,_0x287dce){return _0x6183ce(_0x59cfd8,_0x287dce);},'JeCNl':function(_0x46cffd,_0x35ed36,_0x109378){return _0x46cffd(_0x35ed36,_0x109378);},'moULl':function(_0x598ca5,_0x26316a,_0x28eb8c){return _0x598ca5(_0x26316a,_0x28eb8c);},'mJZBo':function(_0x363fee,_0x4c31ce){return _0x363fee/_0x4c31ce;},'rhmZD':function(_0x27a602,_0x118972){return _0x27a602<_0x118972;},'cWRAh':function(_0xc9ab3b,_0x1e3045){return _0xc9ab3b*_0x1e3045;},'zPmHI':function(_0x4c786c,_0x33053d){return _0x4c786c+_0x33053d;},'OMaCn':function(_0x4b00af,_0x4d799a,_0x2e52fb,_0x4ffce4,_0x31c597){return _0x4b00af(_0x4d799a,_0x2e52fb,_0x4ffce4,_0x31c597);},'XrBGX':function(_0x2dd43c,_0x333429){return _0x2dd43c+_0x333429;},'kxuyi':'hook','UgItE':function(_0x2a9649,_0x5b6af5,_0x489368){return _0x2a9649(_0x5b6af5,_0x489368);},'HNXvw':function(_0x58240b,_0x2a953a,_0x216df8,_0x32cdb2,_0x4274a2){return _0x58240b(_0x2a953a,_0x216df8,_0x32cdb2,_0x4274a2);}};try{if(_0x2adf8a['oQwvN'](_0x467934,_0x2adf8a['Xssoa'])){const _0x4626bf=await _0x150d5e[_0x18c5c4(0x1f3)],_0x5321f5=_0x2adf8a[_0x18c5c4(0x1ae)](getTestRunIdentifier,_0x150d5e[_0x18c5c4(0x228)],_0x150d5e[_0x18c5c4(0x1f3)][_0x18c5c4(0x20f)]),_0x5e87c0=_0x150d5e[_0x18c5c4(0x228)];logger[_0x18c5c4(0x207)](_0x18c5c4(0x26b)+_0x5321f5+'\x20result='+util['inspect'](_0x4626bf));const _0x110ae4=_0x16a50e[_0x18c5c4(0x244)]()['get'](_0x5321f5)[TestFrameworkConstants[_0x18c5c4(0x208)]];await _0x2adf8a[_0x18c5c4(0x1ae)](sendTraceZip,_0x4626bf,_0x110ae4);const _0x27047b=TestInfo[_0x18c5c4(0x276)](_0x5321f5)[_0x2adf8a['fzsfg']],_0x338bef={};if(_0x27047b){!_0x4626bf[_0x18c5c4(0x212)]&&(_0x4626bf['attachments']=[]);_0x338bef[_0x18c5c4(0x212)]=_0x4626bf['attachments'][_0x18c5c4(0x1ba)](_0x27047b||[]);const _0x492553=TestInfo[_0x18c5c4(0x276)](_0x5321f5);delete _0x492553[_0x2adf8a[_0x18c5c4(0x234)]],TestInfo['setTestDetails'](_0x5321f5,_0x492553);}const {steps:_0x4f2b82,logs:_0x2c5f13}=_0x2adf8a[_0x18c5c4(0x1a5)](getStepsAndLogs,_0x4626bf['steps'],_0x16a50e[_0x18c5c4(0x244)]()[_0x18c5c4(0x1b3)](_0x5321f5)[TestFrameworkConstants[_0x18c5c4(0x208)]],_0x2adf8a[_0x18c5c4(0x24d)]),_0x5eb26a=_0x2adf8a[_0x18c5c4(0x260)](getScreenshots,_0x338bef,_0x16a50e['getAllData']()[_0x18c5c4(0x1b3)](_0x5321f5)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x47ac23=_0x2adf8a['eyqqc'](getVideos,_0x4626bf,_0x16a50e[_0x18c5c4(0x244)]()[_0x18c5c4(0x1b3)](_0x5321f5)[TestFrameworkConstants[_0x18c5c4(0x208)]]),{_:_0x3150f0,logs:_0x3d56dd}=_0x2adf8a[_0x18c5c4(0x22a)](getFailureData,_0x4626bf['errors'],{'test_run_uuid':_0x16a50e[_0x18c5c4(0x244)]()['get'](_0x5321f5)[TestFrameworkConstants[_0x18c5c4(0x208)]]}),_0x40ee40=TestInfo[_0x18c5c4(0x276)](_0x5321f5)[TestFrameworkConstants[_0x18c5c4(0x19e)]]||{},_0x995e5c=_0x2adf8a[_0x18c5c4(0x1af)](getMediaArtifactsLogs,_0x40ee40,_0x16a50e[_0x18c5c4(0x244)]()[_0x18c5c4(0x1b3)](_0x5321f5)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x24d573=_0x16a50e[_0x18c5c4(0x244)]()[_0x18c5c4(0x1b3)](_0x5321f5),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x295fd8='',[TestFrameworkConstants[_0x18c5c4(0x205)]]:_0x40cd38=''}=_0x24d573,_0x45742d=(_0x2c5f13||[])['concat'](_0x5eb26a||[])[_0x18c5c4(0x1ba)](_0x3d56dd||[])['concat'](_0x47ac23||[])[_0x18c5c4(0x1ba)](_0x995e5c||[]),_0x25f4bd=0x28,_0x5cd196=Math['ceil'](_0x2adf8a[_0x18c5c4(0x1e9)](_0x45742d[_0x18c5c4(0x22f)],_0x25f4bd));for(let _0x86a13b=0x0;_0x2adf8a[_0x18c5c4(0x267)](_0x86a13b,_0x5cd196);_0x86a13b++){const _0x43fc4d=_0x2adf8a['cWRAh'](_0x86a13b,_0x25f4bd),_0xc7b550=_0x2adf8a[_0x18c5c4(0x1c6)](_0x43fc4d,_0x25f4bd),_0x9f46fc=_0x45742d[_0x18c5c4(0x1df)](_0x43fc4d,_0xc7b550),_0x50180f={'platformIndex':'0','logs':_0x9f46fc,'testFrameworkName':_0x295fd8,'testFrameworkVersion':_0x40cd38,'testFrameworkState':_0x2e476e[_0x18c5c4(0x282)]()[_0x18c5c4(0x1cb)]('.')[0x1]};_0x2adf8a[_0x18c5c4(0x23e)](updatePayloadForTraceLogs,_0x50180f,_0x150d5e,_0x5321f5,_0x16a50e),logger['debug'](_0x18c5c4(0x1d2)+_0x5321f5+_0x18c5c4(0x1f1)+_0x2adf8a[_0x18c5c4(0x1c6)](_0x86a13b,0x1)+'/'+_0x5cd196+_0x18c5c4(0x237)+util[_0x18c5c4(0x21a)](_0x50180f));const _0x40b3c5=await GrpcClient[_0x18c5c4(0x1c8)]()[_0x18c5c4(0x26f)](_0x50180f);logger[_0x18c5c4(0x207)](_0x18c5c4(0x1d2)+_0x5321f5+_0x18c5c4(0x1f1)+_0x2adf8a[_0x18c5c4(0x201)](_0x86a13b,0x1)+'/'+_0x5cd196+'\x20response='+util[_0x18c5c4(0x21a)](_0x40b3c5));}}else{const {steps:_0x3bfc02,logs:_0x48fb5f}=_0x2adf8a[_0x18c5c4(0x1a5)](getStepsAndLogs,_0x150d5e[_0x18c5c4(0x1a7)]['steps'],_0x5b6675,_0x2adf8a[_0x18c5c4(0x261)]),_0x1a0577=_0x2adf8a[_0x18c5c4(0x1b0)](getTestRunIdentifier,_0x150d5e[_0x18c5c4(0x228)],_0x150d5e[_0x18c5c4(0x1f3)][_0x18c5c4(0x20f)]);logger[_0x18c5c4(0x207)](_0x18c5c4(0x26b)+_0x1a0577);const _0x4f1ea8=_0x16a50e['getAllData']()[_0x18c5c4(0x1b3)](_0x1a0577),{[TestFrameworkConstants[_0x18c5c4(0x1d0)]]:_0x30e9f5='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x27e650=''}=_0x4f1ea8,_0x237072={'platformIndex':'0','logs':_0x48fb5f,'testFrameworkName':_0x30e9f5,'testFrameworkVersion':_0x27e650,'testFrameworkState':_0x2e476e['toString']()['split']('.')[0x1]};_0x2adf8a[_0x18c5c4(0x277)](updatePayloadForTraceLogs,_0x237072,_0x150d5e,_0x1a0577,_0x16a50e),logger[_0x18c5c4(0x207)](_0x18c5c4(0x1d2)+_0x1a0577+'\x20payload='+util[_0x18c5c4(0x21a)](_0x237072));const _0x3fcc2d=await GrpcClient[_0x18c5c4(0x1c8)]()[_0x18c5c4(0x26f)](_0x237072);}}catch(_0xb31814){logger[_0x18c5c4(0x1b5)](_0x18c5c4(0x21e)+util[_0x18c5c4(0x278)](_0xb31814));}}[a73_0x1df1f6(0x27f)](_0x329311){const _0x169ee0=a73_0x1df1f6,_0x172968={'zGrvv':function(_0x21b346,_0x3d701f,_0x1dd1ca){return _0x21b346(_0x3d701f,_0x1dd1ca);},'lnAfT':_0x169ee0(0x239)};try{const _0x3e846b=_0x329311[_0x169ee0(0x228)]['id'],_0x9641ed=_0x172968['zGrvv'](getTestRunIdentifier,_0x329311[_0x169ee0(0x228)],_0x329311['result'][_0x169ee0(0x20f)]),_0x150466=_0x329311[_0x169ee0(0x1e0)],_0xfe1fc3=_0x150466[_0x169ee0(0x266)](),_0x3d175e=_0x150466[_0x169ee0(0x244)]()['get'](_0x9641ed);logger['debug'](_0x169ee0(0x20b)+_0x3e846b);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x44005b='',[TestFrameworkConstants[_0x169ee0(0x205)]]:_0x5d0ae2='',[TestFrameworkConstants[_0x169ee0(0x1c1)]]:_0x5624e6='',[TestFrameworkConstants[_0x169ee0(0x26c)]]:_0x51ffc8=''}=_0x3d175e,_0xdf73f0=_0x150466[_0x169ee0(0x1ef)]()[_0x169ee0(0x282)]()[_0x169ee0(0x1cb)]('.')[0x1],_0x29601a=_0x150466['getCurrentHookState']()[_0x169ee0(0x282)]()['split']('.')[0x1],_0x12164b=global?.[_0x169ee0(0x1eb)]?.[_0x169ee0(0x26e)]?.['parallelIndex'],_0x25fa9f=_0x150466[_0x169ee0(0x283)](),_0x34a58a=Buffer[_0x169ee0(0x1e5)](JSON[_0x169ee0(0x23a)](_0x3d175e))[_0x169ee0(0x282)](_0x172968['lnAfT']),_0x46f17f={'hash':_0xfe1fc3[_0x169ee0(0x211)](),'threadId':_0xfe1fc3[_0x169ee0(0x1e3)]()[_0x169ee0(0x282)](),'processId':_0xfe1fc3['getProcessId']()[_0x169ee0(0x282)]()},_0x5c963f={};_0x5c963f[_0x169ee0(0x22b)]=_0x12164b,_0x5c963f[_0x169ee0(0x1d8)]=_0x44005b,_0x5c963f[_0x169ee0(0x1ab)]=_0x5d0ae2,_0x5c963f['testFrameworkState']=_0xdf73f0,_0x5c963f[_0x169ee0(0x258)]=_0x29601a,_0x5c963f[_0x169ee0(0x220)]=_0x5624e6,_0x5c963f[_0x169ee0(0x27c)]=_0x51ffc8,_0x5c963f[_0x169ee0(0x20e)]=_0x25fa9f,_0x5c963f[_0x169ee0(0x20d)]=_0x34a58a,_0x5c963f['executionContext']=_0x46f17f;const _0x4aa901=_0x5c963f;return logger[_0x169ee0(0x207)](_0x169ee0(0x1f4)+_0x3e846b+_0x169ee0(0x1ea)+_0xdf73f0+_0x169ee0(0x280)+_0x29601a),_0x4aa901;}catch(_0x3221a4){return logger[_0x169ee0(0x1b5)](_0x169ee0(0x1f7)+util[_0x169ee0(0x278)](_0x3221a4)),{};}}}module[a73_0x1df1f6(0x23d)]=PlaywrightTestFramework;
1
+ const a73_0x3548bc=a73_0x119b;function a73_0x1931(){const _0x1eca07=['filter','No\x20reason\x20provided','DEFAULT_HOOK_RESULT','KEY_TEST_UUID','hook','KEY_TEST_SCOPE','HroAF','toString','LNbyZ','iRKeu','uSYSK','BueOg','getTestIdentifierFromTestInfo','concat','\x20&\x20hook\x20=\x20','result','KEY_HOOKS_FINISHED','KEY_HOOK_FAILURE_TYPE','testFrameworkVersion','ceil','YmkKd','INIT_TEST','\x20hookState=','KEY_HOOK_LOGS','7BWHDUB','KEY_TEST_CODE','steps','getCurrentInstanceName','KEY_TEST_RESULT_AT','../../../../src/helpers/helper','POST','iYeHB','format','stack','sekDM',',\x20state=','wouFm','../state/testFrameworkState.js','KEY_TEST_ID','some','eventJson','path','testFrameworkState','executionContext','Error\x20in\x20sendLogCreatedEvent:\x20','zDBLF','createTestFrameworkEventPayload\x20testId:\x20','VvFLt','parsePlaywrightTest','getInstance','iiXkG','getTrackedInstance','KEY_HOOK_LAST_FINISHED','KEY_EVENT_STARTED_AT','hookState','getTestFrameworksVersions','fNurT','../state/hookState.js','getProcessId','pVYts','DEFAULT_TEST_RESULT','error',',\x20testFrameworkState=','KEY_TEST_STARTED_AT','ReSxd','kIsDq','wKiWo','sendLogCreatedEvent\x20for\x20testId:\x20','hLJwW','getThreadId','file_name','\x20response=','KEY_CUSTOM_TAGS','attachments','addMultipleEntries','RNIyH','values','endedAt','MigXe','QbgvC','getCurrentHookState','workerInfo','JNDMT','KEY_HOOK_FAILURE','1430142iaDSsZ','KEY_TEST_NAME','925424PbgDeC','expectedStatus','USFLY','12668661wEkeqq','KEY_TEST_FILE_PATH','KEY_TEST_RESULT','getContext','../../playwright/reporter/pwUtils','KEY_TEST_FRAMEWORK_NAME','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','\x20batch\x20','Expected\x20to\x20fail,\x20but\x20passed.','IyYRF','platformIndex','getTestUUID','basename','runHooks','YplTx','setTestDetails','\x20target=','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','../../../helpers/helper.js','isArray','__workerDetails','startedAt','KXqdA','\x20payload=','427938KjrpwS','multi_dropdown','split','map','osLHY','getTestFrameworks','statSync','Cckxs','wzhNs','../../../helpers/test-observability/utils','getRef','NONE','get','slice','../instances/testFrameworkInstance.js','TEST_SCREENSHOT','debug','errors','KEY_TEST_ENDED_AT','10HvNhXP','QanpQ','SrvKz','XCnzz','UrlSE','PlaywrightTestFramework','CTTyx','wKHJB','trackEvent','info','KEY_AUTOMATE_SESSION_NAME','71313ouJvsq','eovze','from','instance','fzbnn','util','GRJjA','KEY_TEST_SCOPES','Error\x20in\x20createTestFrameworkEventPayload:\x20','vPDlC','\x20and\x20args\x20=\x20','resolveInstance','getCurrentTestState','BanRJ','mlaFr','KEY_LOGS','./testFramework','filePath','trim','WKGmm','KEY_TEST_LOCATION','step','parsePlaywrightTestResult','mtmaM','stringify','KEY_HOOK_RESULT','4822715XwKsaf','KEY_TEST_FAILURE_TYPE','PRE','dUGMo','field_type','../../utils/constants','lJAeU','eCmGl','uuid','KEY_HOOK_LAST_STARTED','5603784aQsLWD','duration','sendLogCreatedEvent','forEach','yEjlZ','tZbYP','inspect','hyHxu','vCnWE','status','getAllData','getId','base64','itPbV','KEY_HOOK_NAME','parallelIndex','results','size','TEST','cjqSW','KEY_HOOK_FAILURE_REASON','ujfXJ','KEY_TEST_FRAMEWORK_VERSION','toISOString','SpRSq','../../../helpers/classLogger.js','ykNIy','getTestDetails','test','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','description','parsePlaywrightTestResult:\x20testId=','TEST_ATTACHMENT','\x20result=','skipped','KEY_TEST_ATTACHMENTS','lnjYM','\x20from\x20TestDetails:\x20','length','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','TzFaH','retry','startTime','QryUH','\x20instance=','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','WEPQf','title','push','yKPJv','trackPlaywrightInstance','KEY_TEST_FAILURE_REASON','KEY_HOOKS_STARTED','logCreatedEvent','\x20testHookState=','Error\x20processing\x20trace\x20file\x20','KEY_TEST_TAGS','message','Hook\x20List\x20in\x20Post\x20','sendLogCreatedEvent:\x20testId=','passed','../instances/trackedInstance.js','getTime','EEgsJ'];a73_0x1931=function(){return _0x1eca07;};return a73_0x1931();}(function(_0x3e6f01,_0x42a54c){const _0x186a88=a73_0x119b,_0x482117=_0x3e6f01();while(!![]){try{const _0x5908a1=parseInt(_0x186a88(0x1fb))/0x1*(-parseInt(_0x186a88(0x1f0))/0x2)+parseInt(_0x186a88(0x1dd))/0x3+parseInt(_0x186a88(0x2b5))/0x4+parseInt(_0x186a88(0x215))/0x5+-parseInt(_0x186a88(0x2b3))/0x6*(-parseInt(_0x186a88(0x277))/0x7)+parseInt(_0x186a88(0x21f))/0x8+-parseInt(_0x186a88(0x2b8))/0x9;if(_0x5908a1===_0x42a54c)break;else _0x482117['push'](_0x482117['shift']());}catch(_0x535b46){_0x482117['push'](_0x482117['shift']());}}}(a73_0x1931,0x7d49d));const TestFramework=require(a73_0x3548bc(0x20b)),TestFrameworkState=require(a73_0x3548bc(0x284)),HookState=require(a73_0x3548bc(0x298)),{createClassLogger}=require(a73_0x3548bc(0x238)),TestFrameworkInstance=require(a73_0x3548bc(0x1eb)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a73_0x3548bc(0x25c)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a73_0x3548bc(0x1f5)),{v4:uuidv4}=require(a73_0x3548bc(0x21d)),util=require(a73_0x3548bc(0x200)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x3548bc(0x1d7)),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a73_0x3548bc(0x1e6)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x3548bc(0x2bc)),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x3548bc(0x2bc)),path=require(a73_0x3548bc(0x288)),fs=require('fs'),helper=require(a73_0x3548bc(0x27c)),{PLAYWRIGHT_TRACE_LOGS}=require(a73_0x3548bc(0x21a));class PlaywrightTestFramework extends TestFramework{constructor(_0x46b58a,_0x4a1258,_0x4271e8){super(_0x46b58a,_0x4a1258,_0x4271e8);}async[a73_0x3548bc(0x1f8)](_0x4c938f,_0x15c38d,_0x5831a9={}){const _0x3592cd=a73_0x3548bc,_0x3a96bd={'iiXkG':function(_0x414939,_0x2fe873){return _0x414939===_0x2fe873;},'QanpQ':function(_0x5df3c8,_0x1dbbf4){return _0x5df3c8===_0x1dbbf4;},'LNbyZ':function(_0x359e4c,_0x51472f){return _0x359e4c===_0x51472f;},'ReSxd':function(_0x184ffb,_0x54eacf,_0x5a312b){return _0x184ffb(_0x54eacf,_0x5a312b);},'XCnzz':function(_0x12c7a6,_0x1f58ff){return _0x12c7a6===_0x1f58ff;},'SpRSq':_0x3592cd(0x23b),'lJAeU':_0x3592cd(0x2be)};super[_0x3592cd(0x1f8)](_0x4c938f,_0x15c38d,_0x5831a9);if(_0x3a96bd[_0x3592cd(0x291)](_0x4c938f,TestFrameworkState[_0x3592cd(0x1ec)])){const _0x2783d0=TestInfo[_0x3592cd(0x26b)](_0x5831a9['test'],_0x5831a9[_0x3592cd(0x23b)][_0x3592cd(0x248)]);TestInfo[_0x3592cd(0x2c7)](_0x2783d0,_0x5831a9[_0x3592cd(0x26e)],!![]);}const _0x2f3380=this[_0x3592cd(0x206)](_0x4c938f,_0x15c38d,_0x5831a9);if(!_0x2f3380)return;logger[_0x3592cd(0x1ed)]('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x4c938f+_0x3592cd(0x275)+_0x15c38d+'\x20instanceId='+_0x2f3380['getRef']());try{if(_0x3a96bd[_0x3592cd(0x1f1)](_0x15c38d,HookState[_0x3592cd(0x217)])&&_0x3a96bd[_0x3592cd(0x267)](_0x4c938f,TestFrameworkState['TEST'])){const _0x17dbec=_0x5831a9[_0x3592cd(0x23b)];logger[_0x3592cd(0x1ed)](_0x3592cd(0x246)+_0x17dbec['id']+'}');const _0x12ec0f=TestInfo[_0x3592cd(0x2c3)](_0x3a96bd[_0x3592cd(0x29f)](getTestRunIdentifier,_0x17dbec,_0x5831a9['result'][_0x3592cd(0x248)]));_0x2f3380[_0x3592cd(0x2a9)](this[_0x3592cd(0x28f)](_0x12ec0f,_0x17dbec,_0x5831a9[_0x3592cd(0x26e)])),logger[_0x3592cd(0x1ed)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x17dbec['id']+_0x3592cd(0x29d)+_0x4c938f+_0x3592cd(0x255)+_0x15c38d+_0x3592cd(0x24b)+_0x2f3380[_0x3592cd(0x1e7)]());}if(_0x3a96bd[_0x3592cd(0x1f3)](_0x15c38d,HookState[_0x3592cd(0x27d)])&&_0x3a96bd[_0x3592cd(0x1f1)](_0x4c938f,TestFrameworkState[_0x3592cd(0x231)])){const _0x1879aa=_0x5831a9[_0x3592cd(0x23b)],_0x4ebc48=_0x5831a9[_0x3592cd(0x26e)];logger[_0x3592cd(0x1ed)](_0x3592cd(0x23c)+_0x1879aa['id']),_0x2f3380['addMultipleEntries'](this[_0x3592cd(0x211)](_0x1879aa['id'],_0x4ebc48,_0x1879aa)),await this['sendLogCreatedEvent'](_0x2f3380,_0x4c938f,_0x15c38d,_0x3a96bd[_0x3592cd(0x237)],_0x5831a9);}if(CLIUtils['matchHookRegex'](_0x4c938f['toString']()[_0x3592cd(0x1df)]('.')[0x1])){const _0x2876b0=await this['trackHookEvent'](_0x2f3380,_0x4c938f,_0x15c38d,_0x5831a9);_0x2f3380[_0x3592cd(0x2a9)](_0x2876b0);}}catch(_0x1e433d){logger['error'](util['format'](_0x3a96bd[_0x3592cd(0x21b)],_0x4c938f,_0x15c38d,_0x5831a9['length'],_0x1e433d));}_0x5831a9['instance']=_0x2f3380,await this[_0x3592cd(0x2c5)](_0x2f3380,_0x4c938f,_0x15c38d,_0x5831a9);}[a73_0x3548bc(0x206)](_0x36605c,_0x574747,_0x5975e8={}){const _0xfb9bf=a73_0x3548bc,_0x2a7c21={};_0x2a7c21[_0xfb9bf(0x269)]=function(_0x1283c5,_0x27d80e){return _0x1283c5===_0x27d80e;};const _0x49c1b1=_0x2a7c21;let _0x40dc0d=null;return(_0x49c1b1[_0xfb9bf(0x269)](_0x36605c,TestFrameworkState[_0xfb9bf(0x274)])||_0x49c1b1[_0xfb9bf(0x269)](_0x36605c,TestFrameworkState[_0xfb9bf(0x1e8)]))&&this['trackPlaywrightInstance'](_0x36605c,_0x5975e8),_0x40dc0d=TestFramework[_0xfb9bf(0x292)](),_0x40dc0d;}[a73_0x3548bc(0x251)](_0x27b5d1,_0x3002df){const _0x358c45=a73_0x3548bc,_0x4256f7=CLIUtils[_0x358c45(0x27a)](),_0x5ebbf1=TrackedInstance['createContext'](_0x4256f7);let _0x59b01b=null;logger['info'](_0x358c45(0x24c)+_0x4256f7+_0x358c45(0x282)+_0x27b5d1),_0x59b01b=new TestFrameworkInstance(_0x5ebbf1,this[_0x358c45(0x1e2)](),this[_0x358c45(0x296)](),_0x27b5d1,HookState[_0x358c45(0x1e8)]),TestFramework['setTrackedInstance'](_0x5ebbf1,_0x59b01b),logger[_0x358c45(0x1f9)](_0x358c45(0x1d6)+_0x5ebbf1[_0x358c45(0x22a)]()+_0x358c45(0x1d5)+_0x4256f7);}[a73_0x3548bc(0x28f)](_0x59e310,_0x25a56e,_0x1a64e8){const _0x28b929=a73_0x3548bc,_0x3ff9d2={'RNIyH':function(_0x1b5d76,_0x1a8d40){return _0x1b5d76(_0x1a8d40);},'YplTx':function(_0x5d7c34,_0x107e0d){return _0x5d7c34(_0x107e0d);},'sekDM':function(_0x414d5c,_0x1376c7){return _0x414d5c(_0x1376c7);},'pVYts':function(_0xc26196,_0x206c61){return _0xc26196(_0x206c61);},'BanRJ':function(_0x571428,_0x25d46f){return _0x571428(_0x25d46f);},'QTeCb':function(_0x12ea46,_0xf349a7,_0x1be41d){return _0x12ea46(_0xf349a7,_0x1be41d);}},_0x3f6bc0=_0x3ff9d2[_0x28b929(0x2aa)](getPlaywrightTestId,_0x25a56e),_0x1751de=_0x3ff9d2['YplTx'](getPlaywrightTestTitle,_0x25a56e),_0x32d986=_0x3ff9d2['YplTx'](getTestTags,_0x25a56e),_0x4fad22=_0x3ff9d2['RNIyH'](getPlaywrightTestCode,_0x25a56e),_0x19f78e=_0x3ff9d2[_0x28b929(0x281)](getPlaywrightTestFilePath,_0x25a56e),_0x35aa2e=_0x19f78e+':'+_0x3ff9d2[_0x28b929(0x2c6)](getPlaywrightTestLocation,_0x25a56e),_0x1da444=_0x3ff9d2[_0x28b929(0x29a)](getPlaywrightTestScope,_0x25a56e),_0x11ff72=_0x3ff9d2[_0x28b929(0x2aa)](getPlaywrightTestScopes,_0x25a56e),_0x5af718=_0x3ff9d2[_0x28b929(0x208)](getPlaywrightSessionName,_0x25a56e),_0x2e7b82=this[_0x28b929(0x1e2)]()[0x0],_0x36a59f=_0x3ff9d2['QTeCb'](getTestRunIdentifier,_0x25a56e,_0x1a64e8[_0x28b929(0x248)]),_0x221d01={[TestFrameworkConstants[_0x28b929(0x2bd)]]:_0x2e7b82,[TestFrameworkConstants[_0x28b929(0x235)]]:this[_0x28b929(0x296)]()[_0x2e7b82],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x28b929(0x26f)]]:{},[TestFrameworkConstants[_0x28b929(0x253)]]:{},[TestFrameworkConstants[_0x28b929(0x262)]]:_0x59e310,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x28b929(0x29b)],[TestFrameworkConstants[_0x28b929(0x1fa)]]:_0x5af718,[TestFrameworkConstants[_0x28b929(0x2b9)]]:_0x19f78e,[TestFrameworkConstants[_0x28b929(0x285)]]:_0x3f6bc0,[TestFrameworkConstants[_0x28b929(0x2b4)]]:_0x1751de,[TestFrameworkConstants[_0x28b929(0x20f)]]:_0x35aa2e,[TestFrameworkConstants[_0x28b929(0x278)]]:_0x4fad22,[TestFrameworkConstants[_0x28b929(0x257)]]:_0x32d986,[TestFrameworkConstants[_0x28b929(0x29e)]]:_0x25a56e[_0x28b929(0x22f)][0x0][_0x28b929(0x249)],[TestFrameworkConstants[_0x28b929(0x264)]]:_0x1da444,[TestFrameworkConstants[_0x28b929(0x202)]]:_0x11ff72,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x3ff9d2['YplTx'](getPlaywrightCustomRerunParam,_0x25a56e)};TestInfo[_0x28b929(0x2c7)](_0x36a59f,_0x221d01);const _0x137936={};return _0x137936[_0x36a59f]=_0x221d01,_0x137936;}['parsePlaywrightTestResult'](_0x53a43e,_0x32a632,_0x388892){const _0x2ac4fa=a73_0x3548bc,_0x2d78de={'fNurT':function(_0x391aef,_0x26c7ec){return _0x391aef(_0x26c7ec);},'TzFaH':_0x2ac4fa(0x23f),'ykNIy':function(_0xfeee37,_0x10b955){return _0xfeee37===_0x10b955;},'hLJwW':function(_0x29d49d,_0x423cb9){return _0x29d49d===_0x423cb9;},'MigXe':function(_0xa7a9a1,_0x5d91d6){return _0xa7a9a1(_0x5d91d6);},'wKHJB':_0x2ac4fa(0x260),'HroAF':_0x2ac4fa(0x1de),'GRJjA':function(_0x858e1c,_0xaa12dd,_0x3fb973){return _0x858e1c(_0xaa12dd,_0x3fb973);},'TYniB':function(_0x29f4e3,_0x5912dc){return _0x29f4e3+_0x5912dc;},'htwRC':_0x2ac4fa(0x241),'lnjYM':'passed','yKPJv':function(_0x48359b,_0x1dd2cc){return _0x48359b===_0x1dd2cc;},'eovze':'failed','BueOg':'timedOut','wKiWo':function(_0x1459ba,_0x12666f){return _0x1459ba===_0x12666f;},'fzbnn':function(_0x42a1df,_0xe898b0){return _0x42a1df===_0xe898b0;},'WKGmm':_0x2ac4fa(0x2c0),'zDBLF':function(_0xcdfc0d,_0x121b95){return _0xcdfc0d||_0x121b95;},'itPbV':function(_0x46a951,_0x3f2543){return _0x46a951(_0x3f2543);},'FSucF':function(_0x3d5453,_0x46ebf7){return _0x3d5453(_0x46ebf7);},'CTTyx':function(_0x3b7491,_0x3abd36){return _0x3b7491>_0x3abd36;},'WEPQf':function(_0xe407e6,_0xe51aaa){return _0xe407e6-_0xe51aaa;},'ktnOJ':function(_0xb72926,_0x2c8b17,_0x49131f){return _0xb72926(_0x2c8b17,_0x49131f);},'osLHY':'path','YmkKd':function(_0x43ca0e,_0x4c7308){return _0x43ca0e(_0x4c7308);},'dUGMo':function(_0x5e6f18,_0x4358a6){return _0x5e6f18>_0x4358a6;},'QbgvC':function(_0x206e46,_0x581b8e,_0x4fc3ea){return _0x206e46(_0x581b8e,_0x4fc3ea);}};logger[_0x2ac4fa(0x1ed)](_0x2ac4fa(0x23e)+_0x53a43e);const _0x2d8b4c=_0x2d78de[_0x2ac4fa(0x201)](getTestRunIdentifier,_0x388892,_0x32a632[_0x2ac4fa(0x248)]),_0x4b3339=new Date(_0x32a632[_0x2ac4fa(0x249)]),_0x335399=_0x32a632[_0x2ac4fa(0x220)],_0x28502e=new Date(_0x2d78de['TYniB'](_0x4b3339[_0x2ac4fa(0x25d)](),_0x335399)),_0x59ded6=_0x32a632['status'],_0x103698=TestInfo[_0x2ac4fa(0x23a)](_0x2d8b4c)[TestFrameworkConstants[_0x2ac4fa(0x2a7)]]||{};let _0x28d3fb=_0x59ded6;if(_0x2d78de['ykNIy'](_0x32a632['status'],_0x388892[_0x2ac4fa(0x2b6)]))_0x28d3fb=_0x2d78de['ykNIy'](_0x32a632[_0x2ac4fa(0x228)],_0x2d78de['htwRC'])?_0x2d78de['htwRC']:_0x2d78de['lnjYM'];else{(_0x2d78de[_0x2ac4fa(0x250)](_0x28d3fb,_0x2d78de['lnjYM'])||_0x2d78de[_0x2ac4fa(0x239)](_0x28d3fb,_0x2d78de[_0x2ac4fa(0x1fc)])||_0x2d78de[_0x2ac4fa(0x239)](_0x28d3fb,_0x2d78de[_0x2ac4fa(0x26a)]))&&(_0x28d3fb=_0x2d78de[_0x2ac4fa(0x1fc)]);if(_0x2d78de[_0x2ac4fa(0x2a1)](_0x32a632['status'],_0x2d78de[_0x2ac4fa(0x243)])&&_0x2d78de[_0x2ac4fa(0x1ff)](_0x388892[_0x2ac4fa(0x2b6)],_0x2d78de[_0x2ac4fa(0x1fc)])){const _0x4fdce0={};_0x4fdce0['message']=_0x2d78de[_0x2ac4fa(0x20e)],_0x4fdce0[_0x2ac4fa(0x280)]=_0x2d78de[_0x2ac4fa(0x20e)],_0x32a632[_0x2ac4fa(0x29c)]=_0x4fdce0,_0x32a632['errors']=[_0x32a632[_0x2ac4fa(0x29c)]];}}const {failureData:_0x1c957a,logs:_0x452cae}=_0x2d78de[_0x2ac4fa(0x201)](getFailureData,_0x32a632?.['errors'],{}),_0x3182dc={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x2d78de[_0x2ac4fa(0x28c)](_0x1c957a,null),[TestFrameworkConstants[_0x2ac4fa(0x216)]]:_0x32a632?.['error']&&_0x2d78de[_0x2ac4fa(0x22c)](getFailureType,_0x32a632[_0x2ac4fa(0x29c)]['message']),[TestFrameworkConstants[_0x2ac4fa(0x252)]]:_0x32a632?.['error']&&_0x2d78de['FSucF'](removeAnsiColors,_0x32a632[_0x2ac4fa(0x29c)][_0x2ac4fa(0x258)]),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x2ac4fa(0x2ba)]]:_0x28d3fb,[TestFrameworkConstants[_0x2ac4fa(0x1ef)]]:_0x28502e['toISOString'](),[TestFrameworkConstants[_0x2ac4fa(0x27b)]]:new Date()[_0x2ac4fa(0x236)](),[TestFrameworkConstants[_0x2ac4fa(0x2a7)]]:_0x103698};if(_0x32a632&&_0x2d78de[_0x2ac4fa(0x1f6)](_0x32a632['retry'],0x0)){const _0x7f77d1=TestInfo[_0x2ac4fa(0x2c3)](_0x2d78de['GRJjA'](getTestRunIdentifier,_0x388892,_0x2d78de[_0x2ac4fa(0x24d)](_0x32a632[_0x2ac4fa(0x248)],0x1)));_0x3182dc[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x7f77d1;}const _0x13d67a={};_0x13d67a[_0x2ac4fa(0x23b)]=_0x388892;const _0x483525=this[_0x2ac4fa(0x206)](TestFrameworkState[_0x2ac4fa(0x231)],HookState[_0x2ac4fa(0x27d)],_0x13d67a),_0x184e4d=_0x483525['getAllData']()[_0x2ac4fa(0x1e9)](_0x2d8b4c)[TestFrameworkConstants[_0x2ac4fa(0x262)]],_0x1671e5=[],_0x32fc15=_0x2d78de['ktnOJ'](findNestedKey,_0x32a632,_0x2d78de[_0x2ac4fa(0x1e1)]);if(_0x32fc15&&_0x2d78de[_0x2ac4fa(0x273)](validateFilePath,_0x32fc15))try{_0x1671e5[_0x2ac4fa(0x24f)]({'kind':_0x2d78de[_0x2ac4fa(0x247)],'timestamp':new Date()[_0x2ac4fa(0x236)](),'test_run_uuid':_0x184e4d,'file_name':path[_0x2ac4fa(0x2c4)](_0x32fc15),'file_size':fs[_0x2ac4fa(0x1e3)](_0x32fc15)[_0x2ac4fa(0x230)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1c75e9){logger[_0x2ac4fa(0x29c)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x32fc15+':\x20'+_0x1c75e9[_0x2ac4fa(0x258)]);}const _0x577397=TestInfo['getTraceFilePaths'](),_0x15db93=_0x577397[_0x2ac4fa(0x25f)](_0x5f371c=>_0x5f371c['testUId']===_0x184e4d);_0x15db93[_0x2ac4fa(0x222)](_0x3c3eff=>{const _0x5937f8=_0x2ac4fa;if(_0x3c3eff[_0x5937f8(0x20c)]&&_0x2d78de[_0x5937f8(0x297)](validateFilePath,_0x3c3eff[_0x5937f8(0x20c)])&&!_0x1671e5[_0x5937f8(0x286)](_0x25224f=>_0x25224f[_0x5937f8(0x2a5)]===path[_0x5937f8(0x2c4)](_0x3c3eff[_0x5937f8(0x20c)])))try{_0x1671e5['push']({'kind':_0x2d78de[_0x5937f8(0x247)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x184e4d,'file_name':path['basename'](_0x3c3eff[_0x5937f8(0x20c)]),'file_size':fs['statSync'](_0x3c3eff['filePath'])[_0x5937f8(0x230)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5b27a3){logger[_0x5937f8(0x29c)](_0x5937f8(0x256)+_0x3c3eff[_0x5937f8(0x20c)]+_0x5937f8(0x244)+_0x5b27a3['message']);}});if(_0x2d78de[_0x2ac4fa(0x218)](_0x1671e5[_0x2ac4fa(0x245)],0x0)){const _0x5abb60=_0x3182dc[TestFrameworkConstants[_0x2ac4fa(0x20a)]]||[];_0x3182dc[TestFrameworkConstants[_0x2ac4fa(0x20a)]]=[..._0x5abb60,..._0x1671e5];}const _0x22fd46=TestInfo['getTestDetails'](_0x2d8b4c)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x3bd5f6=_0x2d78de[_0x2ac4fa(0x2ae)](getManualUploadLogs,_0x22fd46,_0x483525[_0x2ac4fa(0x229)]()['get'](_0x2d8b4c)[TestFrameworkConstants[_0x2ac4fa(0x262)]]);if(_0x2d78de[_0x2ac4fa(0x218)](_0x3bd5f6[_0x2ac4fa(0x245)],0x0)){const _0x5a3d12=_0x3182dc[TestFrameworkConstants[_0x2ac4fa(0x20a)]]||[];_0x3182dc[TestFrameworkConstants[_0x2ac4fa(0x20a)]]=[..._0x5a3d12,..._0x3bd5f6];}const _0x471887=_0x388892['annotations']||[],_0x1035a9=_0x3182dc[TestFrameworkConstants[_0x2ac4fa(0x2a7)]]||{};_0x471887[_0x2ac4fa(0x222)](_0x335232=>{const _0x26455c=_0x2ac4fa,{type:_0x10ca6}=_0x335232;let _0x4864e2=_0x335232[_0x26455c(0x23d)];if(!_0x10ca6)return;(_0x2d78de[_0x26455c(0x239)](_0x4864e2,undefined)||_0x2d78de[_0x26455c(0x2a3)](_0x4864e2,null)||_0x2d78de['hLJwW'](_0x2d78de[_0x26455c(0x2ad)](String,_0x4864e2)[_0x26455c(0x20d)](),''))&&(_0x4864e2=_0x2d78de[_0x26455c(0x1f7)]);if(!_0x1035a9[_0x10ca6]){const _0x198a01={};_0x198a01['field_type']=_0x2d78de[_0x26455c(0x265)],_0x198a01[_0x26455c(0x2ab)]=[],_0x1035a9[_0x10ca6]=_0x198a01;}else!_0x1035a9[_0x10ca6][_0x26455c(0x219)]&&(_0x1035a9[_0x10ca6][_0x26455c(0x219)]=_0x2d78de[_0x26455c(0x265)]),!Array[_0x26455c(0x1d8)](_0x1035a9[_0x10ca6][_0x26455c(0x2ab)])&&(_0x1035a9[_0x10ca6][_0x26455c(0x2ab)]=[]);const _0x521618=_0x2d78de['fNurT'](String,_0x4864e2)[_0x26455c(0x1df)](',')[_0x26455c(0x1e0)](_0x48e333=>_0x48e333[_0x26455c(0x20d)]());_0x1035a9[_0x10ca6][_0x26455c(0x2ab)]=[...new Set([..._0x1035a9[_0x10ca6][_0x26455c(0x2ab)],..._0x521618])];}),_0x3182dc[TestFrameworkConstants[_0x2ac4fa(0x2a7)]]=_0x1035a9,TestInfo[_0x2ac4fa(0x2c7)](_0x2d8b4c,_0x3182dc);const _0x226c3c={};return _0x226c3c[_0x2d8b4c]=_0x3182dc,_0x226c3c;}async['trackHookEvent'](_0x2cd6bc,_0x20e87e,_0x1206f1,_0x28f9c1){const _0x16915f=a73_0x3548bc,_0x160070={'JqJzC':function(_0x3426c7,_0x117153,_0x5d6673){return _0x3426c7(_0x117153,_0x5d6673);},'USFLY':function(_0x572e56,_0x28962c){return _0x572e56 in _0x28962c;},'QryUH':function(_0x40df86,_0x356a89){return _0x40df86(_0x356a89);},'EEgsJ':function(_0x3adb26,_0x177b93){return _0x3adb26(_0x177b93);},'UrlSE':function(_0x3701a6,_0xbc2787){return _0x3701a6===_0xbc2787;},'tZVFU':function(_0x2096a7){return _0x2096a7();},'iYeHB':function(_0x283fe6,_0x34bbf6){return _0x283fe6>_0x34bbf6;},'eCmGl':function(_0xdd2b56,_0x23c7fb,_0x3879c2){return _0xdd2b56(_0x23c7fb,_0x3879c2);},'ujfXJ':'err','lunvB':function(_0x4449e9,_0x413e86){return _0x4449e9(_0x413e86);},'kIsDq':'failed','cjqSW':_0x16915f(0x25b),'JNDMT':function(_0x2278a4,_0x17413c){return _0x2278a4!==_0x17413c;},'WTMba':function(_0x1edd2f,_0x166742){return _0x1edd2f+_0x166742;},'Bcgho':'hook'},_0x3cc121=_0x28f9c1[_0x16915f(0x23b)],_0x398161=_0x28f9c1['step'],_0x119069=_0x160070['JqJzC'](getTestRunIdentifier,_0x3cc121,_0x28f9c1[_0x16915f(0x26e)][_0x16915f(0x248)]),_0x3d2374=_0x20e87e[_0x16915f(0x266)]()['split']('.')[0x1];let _0x15e008=_0x2cd6bc[_0x16915f(0x229)]()['get'](_0x119069)[TestFrameworkConstants[_0x16915f(0x253)]];!_0x15e008&&(_0x15e008={});!_0x160070[_0x16915f(0x2b7)](_0x3d2374,_0x15e008)&&(_0x15e008[_0x3d2374]=[]);let _0x1c4320=_0x2cd6bc['getAllData']()[_0x16915f(0x1e9)](_0x119069)[TestFrameworkConstants[_0x16915f(0x26f)]];!_0x1c4320&&(_0x1c4320={});!_0x160070[_0x16915f(0x2b7)](_0x3d2374,_0x1c4320)&&(_0x1c4320[_0x3d2374]=[]);const _0x278649={[TestFrameworkConstants[_0x16915f(0x253)]]:_0x15e008,[TestFrameworkConstants[_0x16915f(0x26f)]]:_0x1c4320},_0x489284={};_0x489284[_0x119069]=_0x278649;const _0x11599a=_0x489284,_0x37d004=_0x160070[_0x16915f(0x24a)](getPlaywrightTestFilePath,_0x3cc121),_0x5a06dd=_0x37d004+':'+_0x160070[_0x16915f(0x25e)](getPlaywrightTestLocation,_0x3cc121),_0x2c8df9=TestInfo[_0x16915f(0x23a)](_0x119069)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x160070[_0x16915f(0x1f4)](_0x1206f1,HookState[_0x16915f(0x217)])){const _0x3707c1={'key':_0x3d2374,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x160070['tZVFU'](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x16915f(0x261)],[TestFrameworkConstants[_0x16915f(0x294)]]:_0x398161[_0x16915f(0x249)],[TestFrameworkConstants[_0x16915f(0x276)]]:[],[TestFrameworkConstants[_0x16915f(0x22d)]]:_0x398161[_0x16915f(0x24e)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x37d004,[TestFrameworkConstants[_0x16915f(0x20f)]]:_0x5a06dd,[TestFrameworkConstants[_0x16915f(0x2a7)]]:_0x2c8df9};_0x15e008[_0x3d2374]['push'](_0x3707c1),_0x11599a[_0x119069][TestFrameworkConstants[_0x16915f(0x21e)]]=_0x3d2374,logger[_0x16915f(0x1ed)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x3d2374+_0x16915f(0x26d)+_0x3707c1+'\x20\x20and\x20args\x20=\x20'+_0x28f9c1);}else{if(_0x160070['UrlSE'](_0x1206f1,HookState['POST'])){const _0x61cf89=await _0x28f9c1['result'],_0x3b4870=_0x15e008[_0x3d2374]||[],_0x322a2d=_0x28f9c1['step'];logger[_0x16915f(0x1ed)](_0x16915f(0x259)+_0x3b4870+_0x16915f(0x205)+_0x28f9c1);if(_0x160070[_0x16915f(0x27e)](_0x3b4870[_0x16915f(0x245)],0x0)){const _0x4dd2b9=_0x3b4870['pop']();if(_0x322a2d[_0x16915f(0x29c)]){const _0x2dfd81=_0x160070[_0x16915f(0x21c)](failureData,_0x322a2d[_0x16915f(0x29c)],_0x160070[_0x16915f(0x234)]);_0x4dd2b9[TestFrameworkConstants[_0x16915f(0x270)]]=_0x160070['lunvB'](getFailureType,_0x322a2d?.[_0x16915f(0x29c)][_0x16915f(0x258)]),_0x4dd2b9[TestFrameworkConstants[_0x16915f(0x233)]]=_0x160070[_0x16915f(0x24a)](removeAnsiColors,_0x322a2d?.['error'][_0x16915f(0x258)]),_0x4dd2b9[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x160070['kIsDq'],_0x4dd2b9[TestFrameworkConstants[_0x16915f(0x2b2)]]=_0x2dfd81;}else _0x4dd2b9[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x160070['cjqSW'];_0x160070[_0x16915f(0x2b1)](_0x61cf89,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x4dd2b9[TestFrameworkConstants[_0x16915f(0x214)]]=!_0x322a2d[_0x16915f(0x29c)]?_0x160070[_0x16915f(0x232)]:_0x160070[_0x16915f(0x2a0)]);const _0x117cdd=new Date(_0x322a2d[_0x16915f(0x249)]),_0x30224a=new Date(_0x160070['WTMba'](_0x117cdd[_0x16915f(0x25d)](),_0x322a2d[_0x16915f(0x220)]));_0x4dd2b9[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x30224a[_0x16915f(0x236)](),_0x4dd2b9[TestFrameworkConstants[_0x16915f(0x2a7)]]=_0x2c8df9;const _0x358c64=_0x4dd2b9[TestFrameworkConstants['KEY_HOOK_ID']];await this['sendLogCreatedEvent'](_0x2cd6bc,_0x20e87e,_0x358c64,_0x160070['Bcgho'],_0x28f9c1),!_0x1c4320[_0x3d2374]&&(_0x1c4320[_0x3d2374]=[]),_0x1c4320[_0x3d2374][_0x16915f(0x24f)](_0x4dd2b9),_0x11599a[_0x119069][TestFrameworkConstants[_0x16915f(0x293)]]=_0x3d2374;}}}return _0x11599a;}async[a73_0x3548bc(0x221)](_0x4e3690,_0x3bcebb,_0x3c89e0,_0x630e6b,_0x54f01d){const _0x4773f6=a73_0x3548bc,_0x4e3b8a={'jEdTK':function(_0x502c40,_0x245bf4){return _0x502c40===_0x245bf4;},'wouFm':_0x4773f6(0x23b),'mlaFr':function(_0x4239b9,_0x37c077,_0x1f25d0){return _0x4239b9(_0x37c077,_0x1f25d0);},'iRKeu':function(_0x38513f,_0x422658,_0x5e5ed8){return _0x38513f(_0x422658,_0x5e5ed8);},'mtmaM':'attachments','wzhNs':function(_0x1fd3e4,_0x5f46d6,_0x2efbf0,_0x21ae91){return _0x1fd3e4(_0x5f46d6,_0x2efbf0,_0x21ae91);},'vCnWE':function(_0x4989c6,_0x267635,_0x255481){return _0x4989c6(_0x267635,_0x255481);},'tZbYP':function(_0x194d31,_0x3cd420){return _0x194d31/_0x3cd420;},'vPDlC':function(_0x3e1771,_0x2d5fab){return _0x3e1771<_0x2d5fab;},'IyYRF':function(_0x6b05a6,_0x2bc3eb){return _0x6b05a6*_0x2bc3eb;},'yEjlZ':function(_0x2ceb95,_0x55230c){return _0x2ceb95+_0x55230c;},'SrvKz':function(_0x2ac210,_0x15e50d,_0x47bfc7,_0x62ab31,_0x474430){return _0x2ac210(_0x15e50d,_0x47bfc7,_0x62ab31,_0x474430);},'Cckxs':function(_0x2489d5,_0x3d499b){return _0x2489d5+_0x3d499b;},'YmLrY':function(_0x286e62,_0x295772,_0x421895,_0x4438a3){return _0x286e62(_0x295772,_0x421895,_0x4438a3);},'hyHxu':_0x4773f6(0x263)};try{if(_0x4e3b8a['jEdTK'](_0x630e6b,_0x4e3b8a['wouFm'])){const _0x504d68=await _0x54f01d[_0x4773f6(0x26e)],_0x106589=_0x4e3b8a[_0x4773f6(0x209)](getTestRunIdentifier,_0x54f01d['test'],_0x54f01d[_0x4773f6(0x26e)][_0x4773f6(0x248)]),_0x37cff7=_0x54f01d['test'];logger[_0x4773f6(0x1ed)]('sendLogCreatedEvent:\x20testId='+_0x106589+_0x4773f6(0x240)+util['inspect'](_0x504d68));const _0x584133=_0x4e3690[_0x4773f6(0x229)]()[_0x4773f6(0x1e9)](_0x106589)[TestFrameworkConstants[_0x4773f6(0x262)]];await _0x4e3b8a[_0x4773f6(0x268)](sendTraceZip,_0x504d68,_0x584133);const _0x258c8a=TestInfo[_0x4773f6(0x23a)](_0x106589)[_0x4e3b8a[_0x4773f6(0x212)]],_0x504774={};if(_0x258c8a){!_0x504d68[_0x4773f6(0x2a8)]&&(_0x504d68[_0x4773f6(0x2a8)]=[]);_0x504774[_0x4773f6(0x2a8)]=_0x504d68['attachments']['concat'](_0x258c8a||[]);const _0x4da1c5=TestInfo['getTestDetails'](_0x106589);delete _0x4da1c5[_0x4e3b8a[_0x4773f6(0x212)]],TestInfo['setTestDetails'](_0x106589,_0x4da1c5);}const {steps:_0x4bcd71,logs:_0x16ea3c}=_0x4e3b8a[_0x4773f6(0x1e5)](getStepsAndLogs,_0x504d68[_0x4773f6(0x279)],_0x4e3690[_0x4773f6(0x229)]()[_0x4773f6(0x1e9)](_0x106589)[TestFrameworkConstants[_0x4773f6(0x262)]],_0x4e3b8a[_0x4773f6(0x283)]),_0x426c91=_0x4e3b8a[_0x4773f6(0x227)](getScreenshots,_0x504774,_0x4e3690[_0x4773f6(0x229)]()[_0x4773f6(0x1e9)](_0x106589)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x4a9a4c=_0x4e3b8a[_0x4773f6(0x268)](getVideos,_0x504d68,_0x4e3690[_0x4773f6(0x229)]()['get'](_0x106589)[TestFrameworkConstants[_0x4773f6(0x262)]]),{_:_0x42695e,logs:_0x723d2d}=_0x4e3b8a['mlaFr'](getFailureData,_0x504d68[_0x4773f6(0x1ee)],{'test_run_uuid':_0x4e3690[_0x4773f6(0x229)]()[_0x4773f6(0x1e9)](_0x106589)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x4f6c35=TestInfo[_0x4773f6(0x23a)](_0x106589)[TestFrameworkConstants[_0x4773f6(0x242)]]||{},_0x2b0bac=_0x4e3b8a[_0x4773f6(0x268)](getMediaArtifactsLogs,_0x4f6c35,_0x4e3690['getAllData']()[_0x4773f6(0x1e9)](_0x106589)[TestFrameworkConstants[_0x4773f6(0x262)]]),_0x4d6665=_0x4e3690[_0x4773f6(0x229)]()['get'](_0x106589),{[TestFrameworkConstants[_0x4773f6(0x2bd)]]:_0x592c97='',[TestFrameworkConstants[_0x4773f6(0x235)]]:_0x39af51=''}=_0x4d6665,_0x102bea=(_0x16ea3c||[])[_0x4773f6(0x26c)](_0x426c91||[])[_0x4773f6(0x26c)](_0x723d2d||[])[_0x4773f6(0x26c)](_0x4a9a4c||[])[_0x4773f6(0x26c)](_0x2b0bac||[]),_0x2ace93=0x28,_0x12729e=Math[_0x4773f6(0x272)](_0x4e3b8a[_0x4773f6(0x224)](_0x102bea[_0x4773f6(0x245)],_0x2ace93));for(let _0x353fe3=0x0;_0x4e3b8a[_0x4773f6(0x204)](_0x353fe3,_0x12729e);_0x353fe3++){const _0x5382b8=_0x4e3b8a[_0x4773f6(0x2c1)](_0x353fe3,_0x2ace93),_0x2696db=_0x4e3b8a['yEjlZ'](_0x5382b8,_0x2ace93),_0x1d6e29=_0x102bea[_0x4773f6(0x1ea)](_0x5382b8,_0x2696db),_0x41e28c={'platformIndex':'0','logs':_0x1d6e29,'testFrameworkName':_0x592c97,'testFrameworkVersion':_0x39af51,'testFrameworkState':_0x3bcebb[_0x4773f6(0x266)]()['split']('.')[0x1]};_0x4e3b8a[_0x4773f6(0x1f2)](updatePayloadForTraceLogs,_0x41e28c,_0x54f01d,_0x106589,_0x4e3690),logger[_0x4773f6(0x1ed)](_0x4773f6(0x2a2)+_0x106589+_0x4773f6(0x2bf)+_0x4e3b8a[_0x4773f6(0x223)](_0x353fe3,0x1)+'/'+_0x12729e+_0x4773f6(0x1dc)+util[_0x4773f6(0x225)](_0x41e28c));const _0xbd63fa=await GrpcClient[_0x4773f6(0x290)]()[_0x4773f6(0x254)](_0x41e28c);logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x106589+_0x4773f6(0x2bf)+_0x4e3b8a[_0x4773f6(0x1e4)](_0x353fe3,0x1)+'/'+_0x12729e+_0x4773f6(0x2a6)+util[_0x4773f6(0x225)](_0xbd63fa));}}else{const {steps:_0x2c4a35,logs:_0x588d96}=_0x4e3b8a['YmLrY'](getStepsAndLogs,_0x54f01d[_0x4773f6(0x210)][_0x4773f6(0x279)],_0x3c89e0,_0x4e3b8a[_0x4773f6(0x226)]),_0x3a53aa=_0x4e3b8a[_0x4773f6(0x209)](getTestRunIdentifier,_0x54f01d[_0x4773f6(0x23b)],_0x54f01d[_0x4773f6(0x26e)]['retry']);logger[_0x4773f6(0x1ed)](_0x4773f6(0x25a)+_0x3a53aa);const _0x146763=_0x4e3690['getAllData']()[_0x4773f6(0x1e9)](_0x3a53aa),{[TestFrameworkConstants[_0x4773f6(0x2bd)]]:_0x1554df='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x63a33a=''}=_0x146763,_0x5ae17a={'platformIndex':'0','logs':_0x588d96,'testFrameworkName':_0x1554df,'testFrameworkVersion':_0x63a33a,'testFrameworkState':_0x3bcebb[_0x4773f6(0x266)]()[_0x4773f6(0x1df)]('.')[0x1]};_0x4e3b8a[_0x4773f6(0x1f2)](updatePayloadForTraceLogs,_0x5ae17a,_0x54f01d,_0x3a53aa,_0x4e3690),logger[_0x4773f6(0x1ed)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x3a53aa+_0x4773f6(0x1dc)+util[_0x4773f6(0x225)](_0x5ae17a));const _0x5322e6=await GrpcClient[_0x4773f6(0x290)]()[_0x4773f6(0x254)](_0x5ae17a);}}catch(_0x3de88b){logger[_0x4773f6(0x29c)](_0x4773f6(0x28b)+util[_0x4773f6(0x27f)](_0x3de88b));}}['createTestFrameworkEventPayload'](_0x5410ef){const _0x424b8c=a73_0x3548bc,_0x2257ab={'VvFLt':function(_0x5218b8,_0x4deb17,_0x38bee5){return _0x5218b8(_0x4deb17,_0x38bee5);},'KXqdA':_0x424b8c(0x22b)};try{const _0x6c6c4d=_0x5410ef[_0x424b8c(0x23b)]['id'],_0x415164=_0x2257ab[_0x424b8c(0x28e)](getTestRunIdentifier,_0x5410ef['test'],_0x5410ef[_0x424b8c(0x26e)]['retry']),_0x166b9c=_0x5410ef[_0x424b8c(0x1fe)],_0x32ae68=_0x166b9c[_0x424b8c(0x2bb)](),_0x2bec3a=_0x166b9c[_0x424b8c(0x229)]()[_0x424b8c(0x1e9)](_0x415164);logger[_0x424b8c(0x1ed)](_0x424b8c(0x28d)+_0x6c6c4d);const {[TestFrameworkConstants[_0x424b8c(0x2bd)]]:_0x361bb4='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x18279c='',[TestFrameworkConstants[_0x424b8c(0x29e)]]:_0x1bb6f6='',[TestFrameworkConstants[_0x424b8c(0x1ef)]]:_0x37819a=''}=_0x2bec3a,_0x4b3e77=_0x166b9c[_0x424b8c(0x207)]()[_0x424b8c(0x266)]()[_0x424b8c(0x1df)]('.')[0x1],_0x3c5644=_0x166b9c[_0x424b8c(0x2af)]()[_0x424b8c(0x266)]()[_0x424b8c(0x1df)]('.')[0x1],_0x43e1d6=global?.[_0x424b8c(0x1d9)]?.[_0x424b8c(0x2b0)]?.[_0x424b8c(0x22e)],_0x8a9b20=_0x166b9c[_0x424b8c(0x1e7)](),_0x112806=Buffer[_0x424b8c(0x1fd)](JSON[_0x424b8c(0x213)](_0x2bec3a))[_0x424b8c(0x266)](_0x2257ab[_0x424b8c(0x1db)]),_0x4dc63c={'hash':_0x32ae68[_0x424b8c(0x22a)](),'threadId':_0x32ae68[_0x424b8c(0x2a4)]()[_0x424b8c(0x266)](),'processId':_0x32ae68[_0x424b8c(0x299)]()['toString']()},_0x259e62={};_0x259e62[_0x424b8c(0x2c2)]=_0x43e1d6,_0x259e62['testFrameworkName']=_0x361bb4,_0x259e62[_0x424b8c(0x271)]=_0x18279c,_0x259e62[_0x424b8c(0x289)]=_0x4b3e77,_0x259e62[_0x424b8c(0x295)]=_0x3c5644,_0x259e62[_0x424b8c(0x1da)]=_0x1bb6f6,_0x259e62[_0x424b8c(0x2ac)]=_0x37819a,_0x259e62['uuid']=_0x8a9b20,_0x259e62[_0x424b8c(0x287)]=_0x112806,_0x259e62[_0x424b8c(0x28a)]=_0x4dc63c;const _0x42923f=_0x259e62;return logger[_0x424b8c(0x1ed)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x6c6c4d+'\x20testState:\x20'+_0x4b3e77+'\x20hookState:\x20'+_0x3c5644),_0x42923f;}catch(_0x44f8e2){return logger[_0x424b8c(0x29c)](_0x424b8c(0x203)+util[_0x424b8c(0x27f)](_0x44f8e2)),{};}}}function a73_0x119b(_0x3098e4,_0x23581c){const _0x1931a8=a73_0x1931();return a73_0x119b=function(_0x119b6c,_0x1a52d9){_0x119b6c=_0x119b6c-0x1d5;let _0x8b0e2c=_0x1931a8[_0x119b6c];return _0x8b0e2c;},a73_0x119b(_0x3098e4,_0x23581c);}module['exports']=PlaywrightTestFramework;
@@ -1 +1 @@
1
- function a74_0x1085(){const _0x171e84=['../instances/trackedContext','getState','502221FzwWWE','get','notifyObserver','runHooks','2657415lkrHiE','setInstance','../instances/testFrameworkInstance','../state/hookState','registerObserver','TestFramework','../cliUtils','has','../../../helpers/classLogger','getInstances','82683kSBnWz','hasState','158151TQWHxk','getTestFrameworks','getTrackedInstance','88qsBKuq','createContext','instances','debug','getId','exports','1370HDnDpB','setState','trackEvent','getHookRegistryKey','set','../state/testFrameworkState','trackEvent:\x20testFrameworkState=','1626kbrWnf','testFrameworks','getTestFrameworksVersions','testFrameworkVersions','6300808MhdkwC','binSessionId','getCurrentInstanceName','setTrackedInstance','__bstack_test_framework_instances__','setCurrentTestState','getAllData','9440724mGWziw','738IHxsbC'];a74_0x1085=function(){return _0x171e84;};return a74_0x1085();}function a74_0x1aa3(_0x24b8c2,_0x138109){const _0x108570=a74_0x1085();return a74_0x1aa3=function(_0x1aa3b2,_0x5f1004){_0x1aa3b2=_0x1aa3b2-0x199;let _0x415818=_0x108570[_0x1aa3b2];return _0x415818;},a74_0x1aa3(_0x24b8c2,_0x138109);}const a74_0x2f97e5=a74_0x1aa3;(function(_0x39445c,_0x4077da){const _0x49e3ec=a74_0x1aa3,_0x5d44b3=_0x39445c();while(!![]){try{const _0xcce744=-parseInt(_0x49e3ec(0x1a9))/0x1+parseInt(_0x49e3ec(0x19a))/0x2*(-parseInt(_0x49e3ec(0x1a6))/0x3)+parseInt(_0x49e3ec(0x19e))/0x4+parseInt(_0x49e3ec(0x1ad))/0x5+-parseInt(_0x49e3ec(0x1a5))/0x6+-parseInt(_0x49e3ec(0x1b9))/0x7*(parseInt(_0x49e3ec(0x1bc))/0x8)+-parseInt(_0x49e3ec(0x1b7))/0x9*(-parseInt(_0x49e3ec(0x1c2))/0xa);if(_0xcce744===_0x4077da)break;else _0x5d44b3['push'](_0x5d44b3['shift']());}catch(_0x33a52e){_0x5d44b3['push'](_0x5d44b3['shift']());}}}(a74_0x1085,0xcd594));const CLIUtils=require(a74_0x2f97e5(0x1b3)),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require(a74_0x2f97e5(0x1af)),TrackedContext=require(a74_0x2f97e5(0x1a7)),TestFrameworkState=require(a74_0x2f97e5(0x1c7)),HookState=require(a74_0x2f97e5(0x1b0)),{createClassLogger}=require(a74_0x2f97e5(0x1b5)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a74_0x2f97e5(0x1b2));!global[a74_0x2f97e5(0x1a2)]&&(global[a74_0x2f97e5(0x1a2)]=new Map());class TestFramework{static get[a74_0x2f97e5(0x1be)](){return global['__bstack_test_framework_instances__'];}[a74_0x2f97e5(0x19b)]=[];['testFrameworkVersions']={};[a74_0x2f97e5(0x19f)]=null;constructor(_0x3ceba2,_0x2bd496,_0x34c12f){const _0x38292b=a74_0x2f97e5;this[_0x38292b(0x19b)]=_0x3ceba2,this[_0x38292b(0x19d)]=_0x2bd496,this[_0x38292b(0x19f)]=_0x34c12f;}[a74_0x2f97e5(0x1b6)](){const _0x5d70a8=a74_0x2f97e5;return TestFramework[_0x5d70a8(0x1be)];}[a74_0x2f97e5(0x1ae)](_0x46e0e4,_0x475c04){const _0x273d2d=a74_0x2f97e5;TestFramework[_0x273d2d(0x1be)]['set'](_0x46e0e4[_0x273d2d(0x1c0)],_0x475c04);}static[a74_0x2f97e5(0x1bb)](){const _0x4f8c22=a74_0x2f97e5,_0x353ec6=TrackedInstance[_0x4f8c22(0x1bd)](CLIUtils[_0x4f8c22(0x1a0)]());return TestFramework[_0x4f8c22(0x1be)][_0x4f8c22(0x1aa)](_0x353ec6['getId']());}static[a74_0x2f97e5(0x1a1)](_0x500bee,_0x2d1148){const _0x45ac52=a74_0x2f97e5;TestFramework['instances'][_0x45ac52(0x1c6)](_0x500bee[_0x45ac52(0x1c0)](),_0x2d1148);}[a74_0x2f97e5(0x19c)](){const _0x172cdc=a74_0x2f97e5;return this[_0x172cdc(0x19d)];}[a74_0x2f97e5(0x1ba)](){return this['testFrameworks'];}[a74_0x2f97e5(0x1c4)](_0x311c29,_0x16eaa5,_0x3310fe={}){const _0x78602b=a74_0x2f97e5;logger[_0x78602b(0x1bf)](_0x78602b(0x199)+_0x311c29+';\x20hookState='+_0x16eaa5);}async[a74_0x2f97e5(0x1ac)](_0x324007,_0x2df612,_0x429b7c,_0x307ba0={}){const _0x17e3f6=a74_0x2f97e5,_0x2fab01=CLIUtils[_0x17e3f6(0x1c5)](_0x2df612,_0x429b7c);_0x324007[_0x17e3f6(0x1a3)](_0x2df612),_0x324007['setCurrentHookState'](_0x429b7c),await eventDispatcher[_0x17e3f6(0x1ab)](_0x2fab01,_0x307ba0);}static['registerObserver'](_0xdabc2b,_0x546456,_0x4ec104){const _0x120fd9=a74_0x2f97e5;eventDispatcher[_0x120fd9(0x1b1)](CLIUtils[_0x120fd9(0x1c5)](_0xdabc2b,_0x546456),_0x4ec104);}static[a74_0x2f97e5(0x1a8)](_0x27c91f,_0x2b0605){const _0x5da18c=a74_0x2f97e5;return _0x27c91f[_0x5da18c(0x1a4)]()[_0x5da18c(0x1aa)](_0x2b0605);}static[a74_0x2f97e5(0x1c3)](_0x43f87d,_0x2f4a73,_0x5a95f7){const _0x179519=a74_0x2f97e5;_0x43f87d['getAllData']()[_0x179519(0x1c6)](_0x2f4a73,_0x5a95f7);}static[a74_0x2f97e5(0x1b8)](_0x1d1793,_0x2954a8){const _0x4e786a=a74_0x2f97e5;return _0x1d1793[_0x4e786a(0x1a4)]()[_0x4e786a(0x1b4)](_0x2954a8);}}module[a74_0x2f97e5(0x1c1)]=TestFramework;
1
+ const a74_0x1a6bbd=a74_0x29f5;function a74_0x29f5(_0x23dfa9,_0x4fb5d1){const _0x3e5fb6=a74_0x3e5f();return a74_0x29f5=function(_0x29f5de,_0x1b9d74){_0x29f5de=_0x29f5de-0x182;let _0x23f126=_0x3e5fb6[_0x29f5de];return _0x23f126;},a74_0x29f5(_0x23dfa9,_0x4fb5d1);}(function(_0x2d3a8b,_0x172252){const _0x4e7bfa=a74_0x29f5,_0x4bd106=_0x2d3a8b();while(!![]){try{const _0x251ddd=-parseInt(_0x4e7bfa(0x195))/0x1+parseInt(_0x4e7bfa(0x19b))/0x2+-parseInt(_0x4e7bfa(0x189))/0x3+-parseInt(_0x4e7bfa(0x192))/0x4*(parseInt(_0x4e7bfa(0x18d))/0x5)+parseInt(_0x4e7bfa(0x1a5))/0x6*(-parseInt(_0x4e7bfa(0x19c))/0x7)+-parseInt(_0x4e7bfa(0x1aa))/0x8+-parseInt(_0x4e7bfa(0x18b))/0x9*(-parseInt(_0x4e7bfa(0x1a8))/0xa);if(_0x251ddd===_0x172252)break;else _0x4bd106['push'](_0x4bd106['shift']());}catch(_0x3699ff){_0x4bd106['push'](_0x4bd106['shift']());}}}(a74_0x3e5f,0x954e0));const CLIUtils=require('../cliUtils'),eventDispatcher=require(a74_0x1a6bbd(0x198)),TestFrameworkInstance=require(a74_0x1a6bbd(0x18c)),TrackedContext=require(a74_0x1a6bbd(0x1a1)),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a74_0x1a6bbd(0x19e)),{createClassLogger}=require(a74_0x1a6bbd(0x18f)),TrackedInstance=require(a74_0x1a6bbd(0x190)),logger=createClassLogger(a74_0x1a6bbd(0x1a6));!global['__bstack_test_framework_instances__']&&(global[a74_0x1a6bbd(0x186)]=new Map());class TestFramework{static get['instances'](){const _0x2c068e=a74_0x1a6bbd;return global[_0x2c068e(0x186)];}[a74_0x1a6bbd(0x1a7)]=[];[a74_0x1a6bbd(0x18a)]={};[a74_0x1a6bbd(0x1a4)]=null;constructor(_0x2abf62,_0x13d38a,_0x307de8){const _0x277b4a=a74_0x1a6bbd;this[_0x277b4a(0x1a7)]=_0x2abf62,this['testFrameworkVersions']=_0x13d38a,this[_0x277b4a(0x1a4)]=_0x307de8;}[a74_0x1a6bbd(0x19f)](){return TestFramework['instances'];}['setInstance'](_0x231ad6,_0x4c95de){const _0x3da772=a74_0x1a6bbd;TestFramework[_0x3da772(0x19d)][_0x3da772(0x182)](_0x231ad6[_0x3da772(0x1a9)],_0x4c95de);}static['getTrackedInstance'](){const _0x2c6e5e=a74_0x1a6bbd,_0x54a471=TrackedInstance['createContext'](CLIUtils['getCurrentInstanceName']());return TestFramework[_0x2c6e5e(0x19d)][_0x2c6e5e(0x193)](_0x54a471[_0x2c6e5e(0x1a9)]());}static[a74_0x1a6bbd(0x194)](_0x3c34bb,_0x399179){const _0x46f35d=a74_0x1a6bbd;TestFramework[_0x46f35d(0x19d)]['set'](_0x3c34bb[_0x46f35d(0x1a9)](),_0x399179);}['getTestFrameworksVersions'](){const _0xafce04=a74_0x1a6bbd;return this[_0xafce04(0x18a)];}[a74_0x1a6bbd(0x1a3)](){const _0x3d9272=a74_0x1a6bbd;return this[_0x3d9272(0x1a7)];}[a74_0x1a6bbd(0x19a)](_0x4e4c1f,_0x10932f,_0x3def07={}){const _0x2845f7=a74_0x1a6bbd;logger[_0x2845f7(0x188)]('trackEvent:\x20testFrameworkState='+_0x4e4c1f+_0x2845f7(0x197)+_0x10932f);}async[a74_0x1a6bbd(0x1a2)](_0x291e58,_0x282746,_0x2c60fe,_0x3871f4={}){const _0x219dc2=a74_0x1a6bbd,_0x3a61d6=CLIUtils[_0x219dc2(0x183)](_0x282746,_0x2c60fe);_0x291e58[_0x219dc2(0x191)](_0x282746),_0x291e58[_0x219dc2(0x1a0)](_0x2c60fe),await eventDispatcher[_0x219dc2(0x185)](_0x3a61d6,_0x3871f4);}static[a74_0x1a6bbd(0x199)](_0x29ba9d,_0x3f0334,_0x343549){const _0x2f59d3=a74_0x1a6bbd;eventDispatcher[_0x2f59d3(0x199)](CLIUtils['getHookRegistryKey'](_0x29ba9d,_0x3f0334),_0x343549);}static[a74_0x1a6bbd(0x187)](_0x14b62d,_0x8ec49d){const _0x27845f=a74_0x1a6bbd;return _0x14b62d[_0x27845f(0x184)]()[_0x27845f(0x193)](_0x8ec49d);}static['setState'](_0x207c9b,_0x2120b8,_0x55e9ef){const _0x599001=a74_0x1a6bbd;_0x207c9b[_0x599001(0x184)]()[_0x599001(0x182)](_0x2120b8,_0x55e9ef);}static['hasState'](_0x41b340,_0x3e5682){const _0x5c4527=a74_0x1a6bbd;return _0x41b340[_0x5c4527(0x184)]()[_0x5c4527(0x196)](_0x3e5682);}}function a74_0x3e5f(){const _0x36991b=['599000lwEaCM','has',';\x20hookState=','../eventDispatcher','registerObserver','trackEvent','1676648ZMFZtg','21AaHLIN','instances','../state/hookState','getInstances','setCurrentHookState','../instances/trackedContext','runHooks','getTestFrameworks','binSessionId','1052622bfmWPV','TestFramework','testFrameworks','280690jyoXFn','getId','2773232UoHHZV','set','getHookRegistryKey','getAllData','notifyObserver','__bstack_test_framework_instances__','getState','debug','3318723uMADCz','testFrameworkVersions','981zKUSfi','../instances/testFrameworkInstance','1180145JvyZtZ','exports','../../../helpers/classLogger','../instances/trackedInstance','setCurrentTestState','12emlpye','get','setTrackedInstance'];a74_0x3e5f=function(){return _0x36991b;};return a74_0x3e5f();}module[a74_0x1a6bbd(0x18e)]=TestFramework;
@@ -1 +1 @@
1
- function a75_0x4dec(_0xd396b6,_0x2c64d7){const _0xe2cec=a75_0xe2ce();return a75_0x4dec=function(_0x4dec68,_0x299417){_0x4dec68=_0x4dec68-0x118;let _0x5581c7=_0xe2cec[_0x4dec68];return _0x5581c7;},a75_0x4dec(_0xd396b6,_0x2c64d7);}const a75_0x3226b1=a75_0x4dec;function a75_0xe2ce(){const _0x5ea7a8=['JgDND','../../helpers/classLogger.js','Error\x20in\x20getPlaywrightConfig:\x20','addAutomationSessions','threadId','15734690siePjj','testAnalyticsId','fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier=','SDK_CLI_ON_STOP','getEnvVarsMap','nSHax','QqwsD','setProvider','duration','FQVaW','setMessage','encode','getClient','not\x20provided','DntJM','LogCreatedEvent\x20request\x20successful','JjRsK','reportClientTroubleshootingError','setProcessId','../../../generated/sdk_grpc_pb','stop-bin-session\x20response:\x20','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','sVXzI','915672aKvqnf','Connected\x20to\x20gRPC\x20server\x20at\x20','stopBinSession','frameworkSessionId','Error\x20in\x20DriverInit:\x20','getAggregatedClientTroubleshootingErrors','setHash','KvbVC','setExitCode','StopBinSession\x20error:\x20','setExecutionContext','FPrMG','LogCreatedEventRequest','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','./browserstackCLI.js','testFrameworkName','Getting\x20Playwright\x20config','hubUrl','vSJVX','setTestUuid','attachment_type','lBqYo','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','ssICq',',\x20scriptName=','setTimestamp','mFeRR','OwDdJ','getSuccess','DriverInit\x20request\x20successful','argv','listenAddress','createInsecure','NqyIO','DkTwF','@grpc/grpc-js','getFrameworkVersionsMap','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','354018tyxDBU','getSdkVersion','WirZH','97922VnUySq','Stopping\x20bin\x20session','setExitSignal','eEAsF','AMRHT','Error\x20in\x20TestSessionEvent:\x20','format','setTestFrameworkName','setFilePath','StartBinSession\x20error:\x20','../../../generated/sdk-messages_pb','jqwJU','fileName','from','zALPY','logCreatedEvent','SDK_AUTOMATION_FRAMEWORK_INIT','getBrowserstackConfigPath','63ImPMFh','setFrameworksList','ILohh','test_run_uuid','info','playwrightConfig','setScriptName','hook_run_uuid','channel','setPathConfig','setTestFramework','Stopping\x20signal\x20','../../helpers/performance/constants',',\x20parsedConfig=','setBinSessionId','\x20for\x20product=','DDYQE','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','ref','setTestFrameworkVersion','29fOVjCf','Ahaeg','Missing\x20binSessionId','driverInit','test_identifier','qBdIU','SDKClient','replace','Fwwfj','LMrBT','setEventJson','setTestHookState','winstonLogger','getChannel','setFileName','PhFPf','Error\x20in\x20LogCreatedEvent:\x20','set','slice','ConnectBinSessionRequest','6glErGW','eHBdt','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier=','setFrameworkName','No\x20gRPC\x20client\x20not\x20initialized.','NllnG','addLogs','AccessibilityConfig\x20request\x20successful','testFrameworkState','PsrGD','grpc.keepalive_time_ms','setErrorKey','srRZt','TestSessionEventRequest','Error\x20in\x20getAccessibilityConfig:\x20','entries','filePath','end','AccessibilityConfig\x20error:\x20','init','launchcaps','../../helpers/performance/performance-tester.js','WhNyq','BUnSU','version','name','WuDaV','PlaywrightConfig\x20request\x20successful','setUuid','setThreadId','../../helpers/helper.js','processId','Sending\x20TestFrameworkEvent','StartBinSessionRequest','stringify','No\x20gRPC\x20client\x20initialized.','client',',\x20testIdentifier=','TestSessionEvent\x20request\x20successful','binSessionId','TestFrameworkEvent\x20error:\x20','addFrameworks','error','setTestIdentifier','GetAggregatedClientTroubleshootingErrorsRequest','forEach','path','FCrYU','\x20listenAddr:\x20','PlaywrightConfigRequest','getAccessibilityConfig','TestFrameworkEventRequest','9fXOluu','Lohda','2478012uXxYaP','../utils/constants','elOxY','GrpcClient','getInstance','setStartedAt','connect','message','JuTYq','Channel','BDVqB','connectBinSession','getAutomationFrameworkDetail','\x20and\x20listen\x20address:\x20','187ALzUSu','FkiFG','setKind','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','tNijk','getPlaywrightConfig','setFrameworkVersion','AutomationSession','testFrameworkVersion','setPlatformIndex','PlaywrightConfig\x20error:\x20','SDK_START_BIN_SESSION','fuRSZ','wVlgW','setFileSize','StartBinSession\x20successful','testSessionEvent','fetchDriverExecuteParamsEvent','frameworkVersion','setCliArgs:\x20cliArgs=','setTestFrameworkState','Error\x20in\x20startBinSession:\x20','setFrameworkSessionId','setSdkLanguage','XPixv','nizlP','ieERC','BROWSERSTACK_CLI_BIN_SESSION_ID','setLanguage','setEndedAt','SDK_CONNECT_BIN_SESSION','\x22key\x22:\x22[REDACTED]\x22','LogEntry','startBinSession','xMUKk','fileSize','utf-8','jawpt','getSdkLanguage','Sending\x20TestSessionEvent','cJTfv','Connecting\x20bin\x20session','ExecutionContext','setCapabilities','pending-resolution-from-test-identifier','TestSessionEvent\x20error:\x20','MPEuk','frameworkName','./cliUtils.js','uuid','testInfo','Reporting\x20ClientTroubleshootingError\x20','1297740VfYiNa','SAkNp','logger','debug','getBrowserstackCliConfig','ReportClientTroubleshootingError\x20successful','Error\x20in\x20connectBinSession:\x20','CouPb','Error\x20in\x20ReportClientTroubleshootingError:\x20','kssaS','setCustomMetadata','cwd','869016VxXDID','hash','gbbwJ','nRWYD','WmNkD','testFrameworkEvent','zJkFG','setLevel','Error\x20in\x20TestFrameworkEvent:\x20','setUserInputParams','level','Getting\x20AggregatedClientTroubleshootingErrors','setPathProject','env'];a75_0xe2ce=function(){return _0x5ea7a8;};return a75_0xe2ce();}(function(_0x4926d2,_0x2f9fd2){const _0x568e3b=a75_0x4dec,_0x2b5e97=_0x4926d2();while(!![]){try{const _0x72e79e=parseInt(_0x568e3b(0x1bf))/0x1*(parseInt(_0x568e3b(0x199))/0x2)+parseInt(_0x568e3b(0x1d3))/0x3*(parseInt(_0x568e3b(0x20a))/0x4)+-parseInt(_0x568e3b(0x13a))/0x5+-parseInt(_0x568e3b(0x196))/0x6+-parseInt(_0x568e3b(0x1ab))/0x7*(parseInt(_0x568e3b(0x170))/0x8)+-parseInt(_0x568e3b(0x208))/0x9*(parseInt(_0x568e3b(0x159))/0xa)+-parseInt(_0x568e3b(0x218))/0xb*(-parseInt(_0x568e3b(0x146))/0xc);if(_0x72e79e===_0x2f9fd2)break;else _0x2b5e97['push'](_0x2b5e97['shift']());}catch(_0x506165){_0x2b5e97['push'](_0x2b5e97['shift']());}}}(a75_0xe2ce,0xec496));const util=require('util'),logger=require('../../helpers/logger.js')[a75_0x3226b1(0x1cb)],grpc=require(a75_0x3226b1(0x193)),services=require(a75_0x3226b1(0x16c)),messages=require(a75_0x3226b1(0x1a3)),path=require(a75_0x3226b1(0x202)),CLIUtils=require(a75_0x3226b1(0x136)),{createClassLogger}=require(a75_0x3226b1(0x155)),PerformanceTester=require(a75_0x3226b1(0x1e9)),{EVENTS:PerformanceEvents}=require(a75_0x3226b1(0x1b7)),{PLAYWRIGHT_TRACE_LOGS}=require(a75_0x3226b1(0x20b)),helper=require(a75_0x3226b1(0x1f2));class GrpcClient{static #instance=null;['binSessionId']=null;[a75_0x3226b1(0x18f)]=null;['channel']=null;[a75_0x3226b1(0x1f8)]=null;[a75_0x3226b1(0x13c)]=createClassLogger(a75_0x3226b1(0x20d));constructor(){}static[a75_0x3226b1(0x20e)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a75_0x3226b1(0x1e7)](_0x216081){const _0x1149e5=a75_0x3226b1,_0x468542={};_0x468542[_0x1149e5(0x143)]=function(_0x2b66f7,_0xcb0117){return _0x2b66f7||_0xcb0117;};const _0x543777=_0x468542,{id:_0x454f63,listen:_0x486f89}=_0x216081;if(_0x543777[_0x1149e5(0x143)](!_0x454f63,!_0x486f89))throw new Error(_0x1149e5(0x16e)+_0x454f63+_0x1149e5(0x204)+_0x486f89);this[_0x1149e5(0x1fb)]=_0x454f63,this['listenAddress']=_0x486f89,process[_0x1149e5(0x153)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=this[_0x1149e5(0x1fb)],process[_0x1149e5(0x153)][_0x1149e5(0x186)]=this[_0x1149e5(0x18f)],this[_0x1149e5(0x210)](),this['logger'][_0x1149e5(0x1af)](_0x1149e5(0x195)+this[_0x1149e5(0x1fb)]+_0x1149e5(0x217)+this[_0x1149e5(0x18f)]);}['connect'](){const _0x232299=a75_0x3226b1,_0x16ff14={};_0x16ff14[_0x232299(0x1d4)]='Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address';const _0xd70540=_0x16ff14;let _0xaaf433=this['listenAddress'];!_0xaaf433&&(_0xaaf433=process[_0x232299(0x153)][_0x232299(0x186)]);!this[_0x232299(0x1fb)]&&(this[_0x232299(0x1fb)]=this[_0x232299(0x1fb)]||process[_0x232299(0x153)][_0x232299(0x121)]);if(!_0xaaf433)throw new Error(_0xd70540[_0x232299(0x1d4)]);const _0x56cd23={};_0x56cd23[_0x232299(0x1de)]=0x2710,this['channel']=new grpc[(_0x232299(0x213))](_0xaaf433,grpc['credentials']['createInsecure'](),_0x56cd23),this[_0x232299(0x1f8)]=new services[(_0x232299(0x1c5))](_0xaaf433,grpc['credentials'][_0x232299(0x190)]()),this[_0x232299(0x13c)][_0x232299(0x1af)](_0x232299(0x171)+_0xaaf433);}async[a75_0x3226b1(0x127)](){const _0x5bf79b=a75_0x3226b1,_0x281660={'FkiFG':function(_0x106453,_0x570f29){return _0x106453!==_0x570f29;},'BDVqB':function(_0x3e88b9,_0x3891c7){return _0x3e88b9(_0x3891c7);},'wMMJD':_0x5bf79b(0x227),'PhFPf':'startBinSession:\x20Calling\x20startBinSession','Xekkl':_0x5bf79b(0x1d8),'Lohda':function(_0xe0dfbc,_0x1d854d){return _0xe0dfbc(_0x1d854d);},'zALPY':_0x5bf79b(0x17e),'zbETA':function(_0x542d2b,_0xb29328){return _0x542d2b instanceof _0xb29328;},'WirZH':'null','BUnSU':function(_0x126319,_0x2fcc38){return _0x126319||_0x2fcc38;}};PerformanceTester['start'](PerformanceEvents[_0x5bf79b(0x223)]),this[_0x5bf79b(0x13c)][_0x5bf79b(0x1af)](_0x281660[_0x5bf79b(0x1ce)]);try{!this['client']&&this[_0x5bf79b(0x13c)]['info'](_0x281660['Xekkl']);const _0x5c0bb7=CLIUtils[_0x5bf79b(0x197)](),_0x341e13=CLIUtils[_0x5bf79b(0x216)](),_0x576ace=CLIUtils['getTestFrameworkDetail'](),_0x4b21fb=_0x341e13['name'],_0x381994=_0x341e13[_0x5bf79b(0x1ec)],_0x47a095=_0x576ace[_0x5bf79b(0x1ed)],_0x139b21=_0x576ace[_0x5bf79b(0x1ec)]?_0x576ace[_0x5bf79b(0x1ec)][_0x47a095]:'',_0x46188d=new messages[(_0x5bf79b(0x1f5))]();_0x46188d[_0x5bf79b(0x1b9)](this[_0x5bf79b(0x1fb)]),_0x46188d[_0x5bf79b(0x11d)](CLIUtils[_0x5bf79b(0x12c)]()),_0x46188d['setSdkVersion'](_0x5c0bb7),_0x46188d[_0x5bf79b(0x152)](process[_0x5bf79b(0x145)]());const _0x5ec18f=_0x46188d[_0x5bf79b(0x15d)]();Object[_0x5bf79b(0x1e3)](process[_0x5bf79b(0x153)])[_0x5bf79b(0x201)](([_0x445dc7,_0x194ccb])=>{const _0x359a14=_0x5bf79b;_0x281660[_0x359a14(0x219)](_0x194ccb,undefined)&&_0x281660['FkiFG'](_0x194ccb,null)&&_0x5ec18f[_0x359a14(0x1d0)](_0x445dc7,_0x194ccb);});const _0x4514b1=_0x281660[_0x5bf79b(0x209)](require,_0x281660[_0x5bf79b(0x1a7)]),_0x19b7c8=_0x4514b1['getInstance']()[_0x5bf79b(0x13e)](),_0x484d55=[];_0x19b7c8&&_0x281660['zbETA'](_0x19b7c8,Map)&&_0x19b7c8['forEach']((_0x91602a,_0x5e86d8)=>{_0x484d55['push'](_0x5e86d8+'='+_0x91602a);});const _0x1f6c4c=process[_0x5bf79b(0x18e)][_0x5bf79b(0x1d1)](0x2);_0x46188d['setCliArgsList']([..._0x1f6c4c,..._0x484d55]),_0x46188d[_0x5bf79b(0x1b4)](_0x4514b1['getInstance']()[_0x5bf79b(0x1aa)]()),this[_0x5bf79b(0x13c)][_0x5bf79b(0x1af)](_0x5bf79b(0x119)+JSON['stringify'](_0x1f6c4c)+_0x5bf79b(0x1b8)+(_0x19b7c8?JSON[_0x5bf79b(0x1f6)]([..._0x19b7c8]):_0x281660[_0x5bf79b(0x198)])),_0x46188d[_0x5bf79b(0x122)](CLIUtils[_0x5bf79b(0x12c)]()),_0x46188d[_0x5bf79b(0x1b5)](_0x47a095);const _0x1c8fd8=_0x46188d[_0x5bf79b(0x194)]();return _0x1c8fd8['set'](_0x4b21fb,_0x281660[_0x5bf79b(0x1eb)](_0x381994,'')),_0x1c8fd8['set'](_0x47a095,_0x281660['BUnSU'](_0x139b21,'')),_0x46188d['addFrameworks'](_0x4b21fb,_0x381994),_0x46188d[_0x5bf79b(0x1fd)](_0x47a095,_0x139b21),_0x46188d[_0x5bf79b(0x1ac)]([_0x47a095,_0x4b21fb]),new Promise((_0x5d8bc4,_0x2ca36f)=>{const _0x67003b=_0x5bf79b;this[_0x67003b(0x1f8)]['startBinSession'](_0x46188d,(_0x2feff,_0x44fa9b)=>{const _0x1d4fdc=_0x67003b;if(_0x2feff){this[_0x1d4fdc(0x13c)][_0x1d4fdc(0x1fe)](_0x1d4fdc(0x1a2)+_0x2feff[_0x1d4fdc(0x211)]),_0x281660[_0x1d4fdc(0x214)](_0x2ca36f,_0x2feff),PerformanceTester[_0x1d4fdc(0x1e5)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x1d4fdc(0x19f)](_0x2feff));return;}this['logger'][_0x1d4fdc(0x1af)](_0x281660['wMMJD']),PerformanceTester[_0x1d4fdc(0x1e5)](PerformanceEvents['SDK_START_BIN_SESSION']),_0x281660[_0x1d4fdc(0x214)](_0x5d8bc4,_0x44fa9b);});});}catch(_0x556f23){this[_0x5bf79b(0x13c)][_0x5bf79b(0x1fe)](_0x5bf79b(0x11b)+util['format'](_0x556f23)),PerformanceTester[_0x5bf79b(0x1e5)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x5bf79b(0x19f)](_0x556f23));throw _0x556f23;}}async['connectBinSession'](){const _0x2b14fe=a75_0x3226b1,_0x4d6aa1={'NllnG':function(_0x5749b0,_0x599fae){return _0x5749b0(_0x599fae);},'LQphc':'ConnectBinSession\x20successful','tNijk':_0x2b14fe(0x12f),'DkTwF':'No\x20gRPC\x20client\x20not\x20initialized.','sDEzD':'\x22userName\x22:\x22[REDACTED]\x22','EnNDR':'\x22accessKey\x22:\x22[REDACTED]\x22','wVlgW':_0x2b14fe(0x125)};PerformanceTester['start'](PerformanceEvents[_0x2b14fe(0x124)]),this['logger'][_0x2b14fe(0x1af)](_0x4d6aa1[_0x2b14fe(0x21c)]);try{!this[_0x2b14fe(0x1f8)]&&this[_0x2b14fe(0x13c)]['info'](_0x4d6aa1[_0x2b14fe(0x192)]);const _0x35d87f=new messages[(_0x2b14fe(0x1d2))]();_0x35d87f[_0x2b14fe(0x1b9)](this[_0x2b14fe(0x1fb)]);const _0x5508fc=await new Promise((_0x5ed720,_0x1e3784)=>{const _0xd5b6be=_0x2b14fe;this[_0xd5b6be(0x1f8)][_0xd5b6be(0x215)](_0x35d87f,(_0x16b823,_0x3612fe)=>{const _0x1c1c52=_0xd5b6be;if(_0x16b823){this['logger'][_0x1c1c52(0x1fe)]('ConnectBinSession\x20error:\x20'+_0x16b823[_0x1c1c52(0x211)]),_0x4d6aa1[_0x1c1c52(0x1d9)](_0x1e3784,_0x16b823),PerformanceTester[_0x1c1c52(0x1e5)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x1c1c52(0x19f)](_0x16b823));return;}this[_0x1c1c52(0x13c)][_0x1c1c52(0x1af)](_0x4d6aa1['LQphc']),PerformanceTester[_0x1c1c52(0x1e5)](PerformanceEvents[_0x1c1c52(0x124)]),_0x4d6aa1[_0x1c1c52(0x1d9)](_0x5ed720,_0x3612fe);});}),_0x34cdbc=util[_0x2b14fe(0x19f)](_0x5508fc)['replace'](/"userName":"[^"]*"/g,_0x4d6aa1['sDEzD'])[_0x2b14fe(0x1c6)](/"accessKey":"[^"]*"/g,_0x4d6aa1['EnNDR'])[_0x2b14fe(0x1c6)](/"key":"[^"]*"/g,_0x4d6aa1[_0x2b14fe(0x225)]);return this['logger'][_0x2b14fe(0x13d)]('connect-bin-session\x20response:\x20'+_0x34cdbc),_0x5508fc;}catch(_0x41e02e){PerformanceTester[_0x2b14fe(0x1e5)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x2b14fe(0x19f)](_0x41e02e)),this[_0x2b14fe(0x13c)][_0x2b14fe(0x1fe)](_0x2b14fe(0x140)+util['format'](_0x41e02e));throw _0x41e02e;}}async[a75_0x3226b1(0x172)](_0x1d6b2c={},_0x1d9846=null){const _0x141069=a75_0x3226b1,_0x2c30e9={'NUwmV':function(_0x54f48a,_0x512245){return _0x54f48a(_0x512245);},'vorjc':'StopBinSession\x20successful','qBdIU':_0x141069(0x19a),'FQVaW':_0x141069(0x1c1),'JjRsK':'No\x20gRPC\x20client\x20not\x20initialized.','NqyIO':'user_killed'};PerformanceTester['start'](PerformanceEvents[_0x141069(0x15c)]),this['logger'][_0x141069(0x1af)](_0x2c30e9[_0x141069(0x1c4)]);try{if(!this[_0x141069(0x1fb)])throw new Error(_0x2c30e9[_0x141069(0x162)]);!this[_0x141069(0x1f8)]&&this[_0x141069(0x13c)][_0x141069(0x1af)](_0x2c30e9[_0x141069(0x169)]);const _0x92becd=new messages['StopBinSessionRequest']();this[_0x141069(0x13c)][_0x141069(0x13d)](_0x141069(0x1b6)+JSON[_0x141069(0x1f6)](_0x1d9846)),_0x92becd[_0x141069(0x1b9)](this[_0x141069(0x1fb)]),_0x92becd[_0x141069(0x144)](_0x1d6b2c),_0x92becd[_0x141069(0x19b)](_0x1d9846?_0x1d9846:null),_0x92becd['setExitReason'](_0x1d9846?_0x2c30e9[_0x141069(0x191)]:null),_0x92becd[_0x141069(0x178)](_0x1d9846?0x1:0x0);const _0x5f2943=await new Promise((_0x14993d,_0x3e7203)=>{const _0x232c47=_0x141069;this[_0x232c47(0x1f8)]['stopBinSession'](_0x92becd,(_0x4256cf,_0xd6d870)=>{const _0x5fe0a3=_0x232c47;if(_0x4256cf){this[_0x5fe0a3(0x13c)][_0x5fe0a3(0x1fe)](_0x5fe0a3(0x179)+_0x4256cf[_0x5fe0a3(0x211)]),_0x2c30e9['NUwmV'](_0x3e7203,_0x4256cf),PerformanceTester[_0x5fe0a3(0x1e5)](PerformanceEvents[_0x5fe0a3(0x15c)],![],util[_0x5fe0a3(0x19f)](_0x4256cf));return;}this[_0x5fe0a3(0x13c)][_0x5fe0a3(0x1af)](_0x2c30e9['vorjc']),PerformanceTester[_0x5fe0a3(0x1e5)](PerformanceEvents[_0x5fe0a3(0x15c)]),_0x2c30e9['NUwmV'](_0x14993d,_0xd6d870);});});return this[_0x141069(0x13c)]['debug'](_0x141069(0x16d)+util[_0x141069(0x19f)](_0x5f2943)),_0x5f2943;}catch(_0x287bb4){PerformanceTester[_0x141069(0x1e5)](PerformanceEvents[_0x141069(0x15c)],![],util[_0x141069(0x19f)](_0x287bb4)),this[_0x141069(0x13c)][_0x141069(0x1fe)]('Error\x20in\x20stopBinSession:\x20'+util['format'](_0x287bb4));}}async[a75_0x3226b1(0x21d)](_0x379f67){const _0x241cdb=a75_0x3226b1,_0x5cd8c9={'mYUqk':function(_0x468190,_0x182173){return _0x468190(_0x182173);},'JuTYq':_0x241cdb(0x1ef),'ulYBz':function(_0x3b1e90,_0x57edf0){return _0x3b1e90(_0x57edf0);},'sVXzI':_0x241cdb(0x180),'Fwwfj':_0x241cdb(0x1d8)};PerformanceTester['start'](PerformanceEvents[_0x241cdb(0x1a9)]),this[_0x241cdb(0x13c)][_0x241cdb(0x1af)](_0x5cd8c9[_0x241cdb(0x16f)]);try{!this[_0x241cdb(0x1f8)]&&this['logger'][_0x241cdb(0x1af)](_0x5cd8c9[_0x241cdb(0x1c7)]);const _0x40cba2=new messages[(_0x241cdb(0x205))]();return _0x40cba2['setBinSessionId'](this[_0x241cdb(0x1fb)]),_0x40cba2['setConfig'](JSON[_0x241cdb(0x1f6)](_0x379f67)),new Promise((_0x43584f,_0x26387a)=>{const _0x4039a1=_0x241cdb,_0x14108b={'yEydk':function(_0xb0eb80,_0x25ae92){return _0x5cd8c9['mYUqk'](_0xb0eb80,_0x25ae92);},'DDYQE':_0x5cd8c9[_0x4039a1(0x212)],'nizlP':function(_0x93d78e,_0x50f869){return _0x5cd8c9['ulYBz'](_0x93d78e,_0x50f869);}};this[_0x4039a1(0x1f8)][_0x4039a1(0x1b0)](_0x40cba2,(_0x8e261f,_0x528126)=>{const _0x2fc60d=_0x4039a1;if(_0x8e261f){this[_0x2fc60d(0x13c)][_0x2fc60d(0x1fe)](_0x2fc60d(0x222)+_0x8e261f[_0x2fc60d(0x211)]),_0x14108b['yEydk'](_0x26387a,_0x8e261f),PerformanceTester[_0x2fc60d(0x1e5)](PerformanceEvents[_0x2fc60d(0x1a9)],![],util[_0x2fc60d(0x19f)](_0x8e261f));return;}this['logger'][_0x2fc60d(0x1af)](_0x14108b[_0x2fc60d(0x1bb)]),PerformanceTester[_0x2fc60d(0x1e5)](PerformanceEvents[_0x2fc60d(0x1a9)]),_0x14108b[_0x2fc60d(0x11f)](_0x43584f,_0x528126);});});}catch(_0x5a7f33){PerformanceTester[_0x241cdb(0x1e5)](PerformanceEvents[_0x241cdb(0x1a9)],![],util['format'](_0x5a7f33)),this['logger'][_0x241cdb(0x1fe)](_0x241cdb(0x156)+util[_0x241cdb(0x19f)](_0x5a7f33));throw _0x5a7f33;}}async[a75_0x3226b1(0x206)](_0x56e9d2){const _0x37d698=a75_0x3226b1,_0x384553={'PFpje':function(_0x4857cb,_0x53f914){return _0x4857cb(_0x53f914);},'UrybI':_0x37d698(0x1db),'rmyCV':function(_0x464b61,_0x4e982b){return _0x464b61(_0x4e982b);},'FPrMG':function(_0x3c8c99,_0x222155){return _0x3c8c99||_0x222155;},'ykMZJ':_0x37d698(0x166),'WhNyq':_0x37d698(0x12a)},_0x3ccb5b=_0x56e9d2[_0x37d698(0x138)]?.['testAnalyticsId']||_0x56e9d2['testInfo']?.['id'];this['logger'][_0x37d698(0x1af)](_0x37d698(0x1d6)+_0x384553[_0x37d698(0x17b)](_0x3ccb5b,_0x384553['ykMZJ']));try{const _0x5dc3db=Buffer[_0x37d698(0x1a6)](JSON[_0x37d698(0x1f6)](_0x56e9d2[_0x37d698(0x1e8)]),_0x384553[_0x37d698(0x1ea)]),_0x579eb5=new messages['AccessibilityConfigRequest'](),_0x2dc1da=CLIUtils[_0x37d698(0x216)](),_0x65e7b4=_0x2dc1da[_0x37d698(0x1ed)],_0x590497=_0x2dc1da[_0x37d698(0x1ec)];_0x579eb5[_0x37d698(0x1b9)](this[_0x37d698(0x1fb)]),_0x579eb5[_0x37d698(0x221)](0x0),_0x579eb5[_0x37d698(0x1d7)](_0x65e7b4),_0x579eb5[_0x37d698(0x21e)](_0x590497),_0x579eb5['setHubUrl'](_0x56e9d2[_0x37d698(0x181)]),_0x579eb5['setCapabilities'](_0x5dc3db);if(_0x56e9d2[_0x37d698(0x138)]?.[_0x37d698(0x15a)]||_0x56e9d2[_0x37d698(0x138)]?.['id']){const _0x5f47eb=_0x56e9d2[_0x37d698(0x138)][_0x37d698(0x15a)]||_0x56e9d2[_0x37d698(0x138)]['id'];_0x579eb5['setTestIdentifier'](_0x5f47eb),this[_0x37d698(0x13c)]['debug']('[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier='+_0x5f47eb+'\x20for\x20tag\x20validation');}return new Promise((_0x59d9a5,_0x286e96)=>{const _0x239a07=_0x37d698;this[_0x239a07(0x1f8)]['accessibilityConfig'](_0x579eb5,(_0xb9120b,_0xb94cd9)=>{const _0x59ad6c=_0x239a07;if(_0xb9120b){this[_0x59ad6c(0x13c)][_0x59ad6c(0x1fe)](_0x59ad6c(0x1e6)+_0xb9120b[_0x59ad6c(0x211)]),_0x384553['PFpje'](_0x286e96,_0xb9120b);return;}this[_0x59ad6c(0x13c)][_0x59ad6c(0x1af)](_0x384553['UrybI']),_0x384553['rmyCV'](_0x59d9a5,_0xb94cd9);});});}catch(_0x8d244b){this[_0x37d698(0x13c)][_0x37d698(0x1fe)](_0x37d698(0x1e2)+util['format'](_0x8d244b));}}async[a75_0x3226b1(0x228)](_0x1fe6b2){const _0x1740f8=a75_0x3226b1,_0x217f86={'ssICq':function(_0xc5d06e,_0x8bef23){return _0xc5d06e(_0x8bef23);},'WuDaV':_0x1740f8(0x1fa),'KvbVC':_0x1740f8(0x12d),'cabyE':_0x1740f8(0x1d8)};this['logger'][_0x1740f8(0x1af)](_0x217f86[_0x1740f8(0x177)]);try{!this[_0x1740f8(0x1f8)]&&this['logger'][_0x1740f8(0x1af)](_0x217f86['cabyE']);const {platformIndex:_0x4d352,testFrameworkName:_0x390dad,testFrameworkVersion:_0x4a26fe,testFrameworkState:_0x2a3504,testHookState:_0x3a1d66,testUuid:_0x1b9adc,automationSession:_0x4ccb4b,capabilities:_0x8c8ae1,executionContext:_0x1f6c76,test_identifier:_0x485c9d}=_0x1fe6b2,_0x12c1c7=new messages[(_0x1740f8(0x1e1))]();_0x12c1c7['setBinSessionId'](this[_0x1740f8(0x1fb)]),_0x12c1c7[_0x1740f8(0x221)](_0x4d352),_0x12c1c7[_0x1740f8(0x1a0)](_0x390dad),_0x12c1c7[_0x1740f8(0x1be)](_0x4a26fe),_0x12c1c7[_0x1740f8(0x11a)](_0x2a3504),_0x12c1c7[_0x1740f8(0x1ca)](_0x3a1d66),_0x12c1c7[_0x1740f8(0x183)](_0x1b9adc);const _0x236ece=new messages[(_0x1740f8(0x1e1))][(_0x1740f8(0x21f))]();_0x236ece[_0x1740f8(0x160)](_0x4ccb4b['provider']),_0x236ece['setFrameworkName'](_0x4ccb4b[_0x1740f8(0x135)]),_0x236ece['setFrameworkVersion'](_0x4ccb4b[_0x1740f8(0x118)]),_0x236ece[_0x1740f8(0x11c)](_0x4ccb4b[_0x1740f8(0x173)]),_0x236ece['setRef'](_0x4ccb4b[_0x1740f8(0x1bd)]),_0x236ece['setHubUrl'](_0x4ccb4b['hubUrl']),_0x12c1c7[_0x1740f8(0x157)](_0x236ece),_0x12c1c7[_0x1740f8(0x131)](_0x8c8ae1);const _0x449ddc=new messages[(_0x1740f8(0x130))]();return _0x449ddc['setProcessId'](_0x1f6c76[_0x1740f8(0x1f3)]),_0x449ddc['setThreadId'](_0x1f6c76[_0x1740f8(0x158)]),_0x449ddc[_0x1740f8(0x176)](_0x1f6c76[_0x1740f8(0x147)]),_0x12c1c7[_0x1740f8(0x17a)](_0x449ddc),_0x485c9d&&_0x12c1c7[_0x1740f8(0x1ff)](_0x485c9d),new Promise((_0xb2a2e0,_0x541d76)=>{const _0x298224=_0x1740f8,_0x47de90={'lOVHM':function(_0x379e20,_0x2374a6){const _0x461f65=a75_0x4dec;return _0x217f86[_0x461f65(0x187)](_0x379e20,_0x2374a6);},'AMRHT':_0x217f86[_0x298224(0x1ee)],'mFeRR':function(_0x542dd8,_0x3f8807){const _0x2e830d=_0x298224;return _0x217f86[_0x2e830d(0x187)](_0x542dd8,_0x3f8807);}};this[_0x298224(0x1f8)][_0x298224(0x228)](_0x12c1c7,(_0x4d0ded,_0x1f75c7)=>{const _0x105c35=_0x298224;if(_0x4d0ded){this[_0x105c35(0x13c)][_0x105c35(0x1fe)](_0x105c35(0x133)+_0x4d0ded[_0x105c35(0x211)]),_0x47de90['lOVHM'](_0x541d76,_0x4d0ded);return;}this[_0x105c35(0x13c)][_0x105c35(0x1af)](_0x47de90[_0x105c35(0x19d)]),_0x47de90[_0x105c35(0x18a)](_0xb2a2e0,_0x1f75c7);});});}catch(_0xe3561f){this[_0x1740f8(0x13c)][_0x1740f8(0x1fe)](_0x1740f8(0x19e)+util[_0x1740f8(0x19f)](_0xe3561f));throw _0xe3561f;}}async[a75_0x3226b1(0x14b)](_0x4f8fc0){const _0x1e88a0=a75_0x3226b1,_0x3baedf={'XPixv':function(_0x53842a,_0x49858e){return _0x53842a(_0x49858e);},'mSPSZ':'TestFrameworkEvent\x20request\x20successful','WmNkD':_0x1e88a0(0x1f4),'xMUKk':_0x1e88a0(0x1d8)};this[_0x1e88a0(0x13c)][_0x1e88a0(0x1af)](_0x3baedf[_0x1e88a0(0x14a)]);try{!this[_0x1e88a0(0x1f8)]&&this[_0x1e88a0(0x13c)][_0x1e88a0(0x1af)](_0x3baedf[_0x1e88a0(0x128)]);const {platformIndex:_0x207d43,testFrameworkName:_0x21f980,testFrameworkVersion:_0x342deb,testFrameworkState:_0xfa8a47,hookState:_0x1e011e,startedAt:_0x1dbe9b,endedAt:_0x5901fd,uuid:_0x5ae2b5,eventJson:_0xcab907,executionContext:_0x171dcb,test_identifier:_0x47261f}=_0x4f8fc0,_0x5f4944=new messages[(_0x1e88a0(0x207))]();_0x5f4944[_0x1e88a0(0x1b9)](this['binSessionId']),_0x5f4944['setPlatformIndex'](_0x207d43),_0x5f4944['setTestFrameworkName'](_0x21f980),_0x5f4944[_0x1e88a0(0x1be)](_0x342deb),_0x5f4944['setTestFrameworkState'](_0xfa8a47),_0x5f4944['setTestHookState'](_0x1e011e),_0x5f4944[_0x1e88a0(0x20f)](_0x1dbe9b),_0x5f4944[_0x1e88a0(0x123)](_0x5901fd),_0x5f4944[_0x1e88a0(0x1f0)](_0x5ae2b5),_0x5f4944[_0x1e88a0(0x1c9)](_0xcab907);const _0xeec9d3=new messages[(_0x1e88a0(0x130))]();return _0xeec9d3[_0x1e88a0(0x16b)](_0x171dcb[_0x1e88a0(0x1f3)]),_0xeec9d3[_0x1e88a0(0x1f1)](_0x171dcb[_0x1e88a0(0x158)]),_0xeec9d3[_0x1e88a0(0x176)](_0x171dcb[_0x1e88a0(0x147)]),_0x5f4944[_0x1e88a0(0x17a)](_0xeec9d3),_0x47261f&&_0x5f4944[_0x1e88a0(0x1ff)](_0x47261f),new Promise((_0xaac38d,_0x322cf9)=>{const _0x287ab9=_0x1e88a0,_0x1480e7={'OwDdJ':function(_0x437b0f,_0x252b77){const _0x529158=a75_0x4dec;return _0x3baedf[_0x529158(0x11e)](_0x437b0f,_0x252b77);},'LMrBT':_0x3baedf['mSPSZ']};this['client'][_0x287ab9(0x14b)](_0x5f4944,(_0x3aafbe,_0x3f0a72)=>{const _0x34a1aa=_0x287ab9;if(_0x3aafbe){this[_0x34a1aa(0x13c)][_0x34a1aa(0x1fe)](_0x34a1aa(0x1fc)+_0x3aafbe[_0x34a1aa(0x211)]),_0x1480e7['OwDdJ'](_0x322cf9,_0x3aafbe);return;}this[_0x34a1aa(0x13c)][_0x34a1aa(0x1af)](_0x1480e7[_0x34a1aa(0x1c8)]),_0x1480e7[_0x34a1aa(0x18b)](_0xaac38d,_0x3f0a72);});});}catch(_0x3f16f0){this[_0x1e88a0(0x13c)]['error'](_0x1e88a0(0x14e)+util[_0x1e88a0(0x19f)](_0x3f16f0));throw _0x3f16f0;}}async[a75_0x3226b1(0x1c2)](_0x34c20d){const _0x5d256a=a75_0x3226b1,_0x5d9fe4={'fuRSZ':function(_0x1dc325,_0x72b4e0){return _0x1dc325(_0x72b4e0);},'CouPb':_0x5d256a(0x18d),'JgDND':'Sending\x20DriverInit','eEAsF':_0x5d256a(0x1d8)};this[_0x5d256a(0x13c)][_0x5d256a(0x1af)](_0x5d9fe4[_0x5d256a(0x154)]);try{!this[_0x5d256a(0x1f8)]&&this[_0x5d256a(0x13c)][_0x5d256a(0x1af)](_0x5d9fe4[_0x5d256a(0x19c)]);const {platformIndex:_0x247063,ref:_0x152ff4,userInputParams:_0x3c8158}=_0x34c20d,_0x586271=new messages['DriverInitRequest']();return _0x586271['setBinSessionId'](this[_0x5d256a(0x1fb)]),_0x586271[_0x5d256a(0x221)](_0x247063),_0x586271['setRef'](_0x152ff4),_0x586271[_0x5d256a(0x14f)](_0x3c8158),new Promise((_0x59f263,_0x16be6c)=>{const _0x4c9c6f=_0x5d256a,_0x3a6b7e={'ILohh':function(_0x709914,_0x3d40f0){const _0x2965c8=a75_0x4dec;return _0x5d9fe4[_0x2965c8(0x224)](_0x709914,_0x3d40f0);},'jtgkX':_0x5d9fe4[_0x4c9c6f(0x141)]};this[_0x4c9c6f(0x1f8)][_0x4c9c6f(0x1c2)](_0x586271,(_0x5490dd,_0xbc2153)=>{const _0x3148d7=_0x4c9c6f;if(_0x5490dd){this[_0x3148d7(0x13c)][_0x3148d7(0x1fe)]('DriverInit\x20error:\x20'+_0x5490dd[_0x3148d7(0x211)]),_0x3a6b7e[_0x3148d7(0x1ad)](_0x16be6c,_0x5490dd);return;}this['logger']['info'](_0x3a6b7e['jtgkX']),_0x3a6b7e[_0x3148d7(0x1ad)](_0x59f263,_0xbc2153);});});}catch(_0x4d198e){this['logger'][_0x5d256a(0x1fe)](_0x5d256a(0x174)+util['format'](_0x4d198e));throw _0x4d198e;}}async[a75_0x3226b1(0x1a8)](_0x561296){const _0x367b97=a75_0x3226b1,_0x4c0614={'jawpt':function(_0x29236e,_0x3cf915){return _0x29236e===_0x3cf915;},'Ahaeg':_0x367b97(0x132),'srRZt':function(_0x3a80e9,_0x5e9d01){return _0x3a80e9(_0x5e9d01);},'DntJM':_0x367b97(0x168),'MPEuk':'Sending\x20LogCreatedEvent','BZHqp':_0x367b97(0x1d8)};this[_0x367b97(0x13c)][_0x367b97(0x1af)](_0x4c0614[_0x367b97(0x134)]);try{!this[_0x367b97(0x1f8)]&&this[_0x367b97(0x13c)][_0x367b97(0x1af)](_0x4c0614['BZHqp']);const {platformIndex:_0x15798e,logs:_0x732bcd}=_0x561296,_0x214d2f=new messages[(_0x367b97(0x17c))]();_0x214d2f[_0x367b97(0x1b9)](this['binSessionId']),_0x214d2f['setPlatformIndex'](_0x15798e);const _0x1270a9=_0x561296[_0x367b97(0x17f)],_0x2d07a8=_0x561296[_0x367b97(0x220)],_0x2f984f=_0x561296[_0x367b97(0x1dc)];return _0x732bcd[_0x367b97(0x201)](_0xc0499=>{const _0x295bd1=_0x367b97,_0x18e81a=new messages[(_0x295bd1(0x17c))][(_0x295bd1(0x126))]();_0x18e81a[_0x295bd1(0x1a0)](_0x1270a9),_0x18e81a[_0x295bd1(0x1be)](_0x2d07a8),_0x18e81a[_0x295bd1(0x11a)](_0x2f984f),_0x18e81a[_0x295bd1(0x189)](_0xc0499['timestamp']);if(_0x4c0614[_0x295bd1(0x12b)](_0xc0499[_0x295bd1(0x184)],PLAYWRIGHT_TRACE_LOGS))_0x18e81a[_0x295bd1(0x1f0)](_0xc0499[_0x295bd1(0x1ae)]),_0x18e81a[_0x295bd1(0x163)](new TextEncoder()[_0x295bd1(0x164)](JSON[_0x295bd1(0x1f6)](_0xc0499)));else{if(_0xc0499[_0x295bd1(0x1c3)])_0x18e81a[_0x295bd1(0x1f0)](_0x4c0614[_0x295bd1(0x1c0)]);else{if(_0xc0499[_0x295bd1(0x1b2)])_0x18e81a[_0x295bd1(0x1f0)](_0xc0499[_0x295bd1(0x1b2)]);else _0xc0499[_0x295bd1(0x137)]&&_0x18e81a[_0x295bd1(0x1f0)](_0xc0499['uuid']);}_0x18e81a[_0x295bd1(0x163)](new TextEncoder()[_0x295bd1(0x164)](_0xc0499['message']));}_0x18e81a[_0x295bd1(0x21a)](_0xc0499['kind']),_0x18e81a[_0x295bd1(0x14d)](_0xc0499[_0x295bd1(0x150)]),_0x18e81a[_0x295bd1(0x1cd)](_0xc0499?.[_0x295bd1(0x1a5)]||''),_0x18e81a[_0x295bd1(0x1a1)](_0xc0499?.[_0x295bd1(0x1e4)]||''),_0x18e81a[_0x295bd1(0x226)](_0xc0499?.[_0x295bd1(0x129)]||0x0),_0x18e81a['setAttachmentType'](_0xc0499?.[_0x295bd1(0x184)]||''),_0xc0499['test_identifier']&&_0x18e81a[_0x295bd1(0x1ff)](_0xc0499['test_identifier']),_0xc0499[_0x295bd1(0x161)]&&_0x18e81a['setDuration'](_0xc0499[_0x295bd1(0x161)]),_0x214d2f[_0x295bd1(0x1da)](_0x18e81a);}),new Promise((_0x462064,_0x49359b)=>{const _0x2272e5=_0x367b97;this[_0x2272e5(0x1f8)][_0x2272e5(0x1a8)](_0x214d2f,(_0x146f6f,_0xb03b62)=>{const _0x348287=_0x2272e5;if(_0x146f6f){this[_0x348287(0x13c)]['error']('LogCreatedEvent\x20error:\x20'+_0x146f6f[_0x348287(0x211)]),_0x4c0614[_0x348287(0x1e0)](_0x49359b,_0x146f6f);return;}this[_0x348287(0x13c)][_0x348287(0x1af)](_0x4c0614[_0x348287(0x167)]),_0x4c0614[_0x348287(0x1e0)](_0x462064,_0xb03b62);});});}catch(_0x98517a){this[_0x367b97(0x13c)][_0x367b97(0x1fe)](_0x367b97(0x1cf)+util[_0x367b97(0x19f)](_0x98517a));throw _0x98517a;}}async[a75_0x3226b1(0x229)](_0x284399,_0x27a2cf,_0x57e7ce,_0x1349de=null){const _0x204831=a75_0x3226b1,_0xafb67a={'Bfzgu':function(_0x469b71,_0x5b5646){return _0x469b71(_0x5b5646);},'zJkFG':function(_0xae2bd6,_0x4de43b){return _0xae2bd6(_0x4de43b);},'lBqYo':function(_0x469168,_0x2459ca){return _0x469168||_0x2459ca;},'SAkNp':_0x204831(0x166),'QqwsD':_0x204831(0x1f7)};this[_0x204831(0x13c)][_0x204831(0x13d)](_0x204831(0x1bc)+_0x284399+',\x20product='+_0x27a2cf+_0x204831(0x188)+_0x57e7ce+_0x204831(0x1f9)+_0xafb67a[_0x204831(0x185)](_0x1349de,_0xafb67a[_0x204831(0x13b)]));try{if(!this[_0x204831(0x1f8)])return this[_0x204831(0x13c)]['debug'](_0xafb67a[_0x204831(0x15f)]),null;const _0x195350=new messages['FetchDriverExecuteParamsEventRequest']();return _0x195350[_0x204831(0x1b9)](_0x284399),_0x195350['setProduct'](_0x27a2cf),_0x195350[_0x204831(0x1b1)](_0x57e7ce),_0x1349de&&(_0x195350['setTestIdentifier'](_0x1349de),this['logger']['debug'](_0x204831(0x15b)+_0x1349de+_0x204831(0x1ba)+_0x27a2cf+_0x204831(0x188)+_0x57e7ce)),await new Promise(_0x3ddf91=>{const _0x59e072=_0x204831;this[_0x59e072(0x1f8)][_0x59e072(0x229)](_0x195350,(_0x9f8f92,_0x28c00d)=>{const _0x110a35=_0x59e072;if(_0x9f8f92){this[_0x110a35(0x13c)][_0x110a35(0x13d)](_0x110a35(0x21b)+_0x9f8f92),_0xafb67a['Bfzgu'](_0x3ddf91,null);return;}this['logger']['debug'](_0x110a35(0x17d)+(_0x28c00d[_0x110a35(0x18c)]&&_0x28c00d[_0x110a35(0x18c)]())),_0xafb67a[_0x110a35(0x14c)](_0x3ddf91,_0x28c00d);});});}catch(_0x52f44b){return this[_0x204831(0x13c)]['debug']('Error\x20in\x20FetchDriverExecuteParamsEvent:\x20'+_0x52f44b),null;}}async[a75_0x3226b1(0x16a)](_0x28a60b){const _0x414896=a75_0x3226b1,_0x57a672={'gbbwJ':function(_0x1c33fb,_0x49bf43){return _0x1c33fb(_0x49bf43);},'yNOeb':_0x414896(0x13f),'nRWYD':_0x414896(0x1f7)};this[_0x414896(0x13c)]['debug'](_0x414896(0x139)+_0x28a60b);try{if(!this[_0x414896(0x1f8)])return this['logger'][_0x414896(0x13d)](_0x57a672[_0x414896(0x149)]),null;const _0xf6d946=new messages['ReportClientTroubleshootingErrorRequest']();_0xf6d946[_0x414896(0x1b9)](this[_0x414896(0x1fb)]),_0xf6d946[_0x414896(0x1df)](_0x28a60b);const _0x40fbeb=await new Promise((_0x2b8bcf,_0x1b0ca0)=>{const _0x5d7fdd=_0x414896;this[_0x5d7fdd(0x1f8)]['reportClientTroubleshootingError'](_0xf6d946,(_0x3e464b,_0x1566db)=>{const _0x85cbd8=_0x5d7fdd;if(_0x3e464b){this['logger']['debug'](_0x85cbd8(0x142)+_0x3e464b),_0x57a672[_0x85cbd8(0x148)](_0x1b0ca0,_0x3e464b);return;}this[_0x85cbd8(0x13c)]['debug'](_0x57a672['yNOeb']),_0x57a672[_0x85cbd8(0x148)](_0x2b8bcf,_0x1566db);});});return _0x40fbeb;}catch(_0x36cf92){return this[_0x414896(0x13c)][_0x414896(0x13d)](_0x414896(0x142)+_0x36cf92),null;}}async[a75_0x3226b1(0x175)](){const _0x363816=a75_0x3226b1,_0x350012={'PsrGD':function(_0xd6c3ab,_0x2b0072){return _0xd6c3ab(_0x2b0072);},'nSHax':'GetAggregatedClientTroubleshootingErrors\x20successful','elOxY':function(_0x48459c,_0xc1df88){return _0x48459c(_0xc1df88);},'jqwJU':_0x363816(0x151),'FCrYU':_0x363816(0x1f7)};this[_0x363816(0x13c)][_0x363816(0x13d)](_0x350012[_0x363816(0x1a4)]);try{if(!this[_0x363816(0x1f8)])return this[_0x363816(0x13c)][_0x363816(0x13d)](_0x350012[_0x363816(0x203)]),null;const _0x810c9f=new messages[(_0x363816(0x200))]();_0x810c9f[_0x363816(0x1b9)](this[_0x363816(0x1fb)]);const _0x464427=await new Promise((_0xf55217,_0x21896e)=>{const _0x4720a2=_0x363816,_0x3bb161={'cJTfv':function(_0xd927f2,_0x2bfd05){const _0x3fe5c8=a75_0x4dec;return _0x350012[_0x3fe5c8(0x1dd)](_0xd927f2,_0x2bfd05);},'vSJVX':_0x350012[_0x4720a2(0x15e)],'ieERC':function(_0x3334ff,_0x41c6aa){const _0x352f9a=_0x4720a2;return _0x350012[_0x352f9a(0x20c)](_0x3334ff,_0x41c6aa);}};this[_0x4720a2(0x1f8)][_0x4720a2(0x175)](_0x810c9f,(_0x583a9e,_0x226d92)=>{const _0x5d40fd=_0x4720a2;if(_0x583a9e){this[_0x5d40fd(0x13c)][_0x5d40fd(0x13d)](_0x5d40fd(0x1d5)+_0x583a9e),_0x3bb161[_0x5d40fd(0x12e)](_0x21896e,_0x583a9e);return;}this[_0x5d40fd(0x13c)][_0x5d40fd(0x13d)](_0x3bb161[_0x5d40fd(0x182)]),_0x3bb161[_0x5d40fd(0x120)](_0xf55217,_0x226d92);});});return _0x464427;}catch(_0x4907e9){return this['logger'][_0x363816(0x13d)](_0x363816(0x1d5)+_0x4907e9),null;}}[a75_0x3226b1(0x165)](){const _0x39cb36=a75_0x3226b1;return this[_0x39cb36(0x1f8)];}[a75_0x3226b1(0x1cc)](){const _0x27f7bf=a75_0x3226b1;return this[_0x27f7bf(0x1b3)];}}module['exports']=GrpcClient;
1
+ const a75_0x23fa99=a75_0x152e;function a75_0x1b32(){const _0x3efacd=['jROXw','LogEntry','testSessionEvent',',\x20parsedConfig=','gAjSP','\x22key\x22:\x22[REDACTED]\x22','Connecting\x20bin\x20session','fileName','hhHpw','iogPx','4KOvdqo','AccessibilityConfig\x20error:\x20','createInsecure','setHash','reportClientTroubleshootingError','duration','NDqQh','DriverInit\x20request\x20successful','Connected\x20to\x20gRPC\x20server\x20at\x20','getEnvVarsMap','gjvBE','XhvYk','SyEDc','TestFrameworkEvent\x20request\x20successful','xcGiu','start','binSessionId','TestFrameworkEvent\x20error:\x20','exports','Error\x20in\x20stopBinSession:\x20','entries','jDOIQ','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','getAccessibilityConfig','TestSessionEventRequest','test_run_uuid','\x20and\x20listen\x20address:\x20','connect','setEndedAt','setExitReason','processId','7JLkSDS','Stopping\x20signal\x20','NKbvt','Getting\x20Playwright\x20config','BNjSi','SDK_AUTOMATION_FRAMEWORK_INIT','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','xUzpI','dFoDa','tCQaX','message','fetchDriverExecuteParamsEvent','PlaywrightConfig\x20error:\x20','AccessibilityConfig\x20request\x20successful','SDK_CLI_ON_STOP','Sending\x20LogCreatedEvent','startBinSession','JTubH','setTestUuid','BeXbr','test_identifier','setUserInputParams',',\x20scriptName=','stopBinSession','stringify','SDK_START_BIN_SESSION','NNOtc','VEagF','\x20for\x20tag\x20validation','logger','43378173QgKjiB','listenAddress','level','pending-resolution-from-test-identifier','setTestIdentifier','setExecutionContext','info','Error\x20in\x20connectBinSession:\x20','getSuccess','getSdkVersion','Reporting\x20ClientTroubleshootingError\x20','encode','format','error','dABgN','setEventJson','./browserstackCLI.js','../../helpers/helper.js','Error\x20in\x20TestFrameworkEvent:\x20','stop-bin-session\x20response:\x20','setRef','provider','setFilePath','nrezO','No\x20gRPC\x20client\x20initialized.','KoWkL','Error\x20in\x20DriverInit:\x20','push','../../helpers/performance/performance-tester.js','PyLJi','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','testInfo','SDK_CONNECT_BIN_SESSION','1103424JmsZHB','oUbCe','name','setStartedAt','fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier=','kLFHe','aGoQH','testAnalyticsId','setFileSize','vlKPf','GrpcClient','setErrorKey','2683755msqScm','timestamp','Error\x20in\x20LogCreatedEvent:\x20','DriverInitRequest','../utils/constants','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','setBinSessionId','5353554mTeFJs','setTestFrameworkName','wSzew','end','driverInit','getClient','riSUo','StopBinSessionRequest','mmDKb','Channel','attachment_type','user_killed','slice','Error\x20in\x20getAccessibilityConfig:\x20','filePath','init','getInstance','null','meVAN','getAggregatedClientTroubleshootingErrors','\x20listenAddr:\x20','hook_run_uuid','ReportClientTroubleshootingError\x20successful','setTimestamp','HDQZH','setUuid','setExitSignal','testFrameworkEvent','setFileName','qMFHe','lKwbV','Error\x20in\x20ReportClientTroubleshootingError:\x20','Getting\x20AggregatedClientTroubleshootingErrors','getSdkLanguage','debug','setThreadId','DzvYn','bKaBs','../../helpers/logger.js','setLevel','LogCreatedEventRequest','SDKClient','KVRkt','586504YjVAxS','455842LLLpUm','ExecutionContext','connect-bin-session\x20response:\x20','hYPeO','setProcessId','QhRKx','set','gjftP','utf-8','lpaoJ','setTestFrameworkState','env','../../helpers/performance/constants','LogCreatedEvent\x20request\x20successful','setCapabilities','setSdkLanguage','TtDoQ','grpc.keepalive_time_ms','replace','setDuration','JmEay','getAutomationFrameworkDetail','NOUuK','IeiSi','StartBinSession\x20successful','TestFrameworkEventRequest','setPlatformIndex','getChannel','credentials','setSdkVersion','ref','getPlaywrightConfig','MZSBO','accessibilityConfig','DriverInit\x20error:\x20','setProduct','winstonLogger','TestSessionEvent\x20error:\x20','gvlcJ','\x22accessKey\x22:\x22[REDACTED]\x22','ConnectBinSession\x20error:\x20','LogCreatedEvent\x20error:\x20','version','path','threadId','vhLkW','channel','frameworkName','kBRdi','pdjTi','YPHJC','fileSize','SPxoQ','StopBinSession\x20successful','bTZQP','setPathProject','Sending\x20TestSessionEvent','addFrameworks','No\x20gRPC\x20client\x20not\x20initialized.','hash','1186330SsNhtR','frameworkSessionId','testFrameworkVersion','tDTfo','oWSMw','WosjM','uuid','../../../generated/sdk-messages_pb','setCliArgs:\x20cliArgs=','setHubUrl','Sending\x20TestFrameworkEvent','logCreatedEvent','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','FetchDriverExecuteParamsEventRequest','setFrameworkVersion','setScriptName','JgaVu','@grpc/grpc-js','HiPPO','client','setFrameworksList','StartBinSession\x20error:\x20','StopBinSession\x20error:\x20','setTestFrameworkVersion','BROWSERSTACK_CLI_BIN_SESSION_ID','\x22userName\x22:\x22[REDACTED]\x22','playwrightConfig','frameworkVersion','LaOuz','Error\x20in\x20TestSessionEvent:\x20','connectBinSession','BXcjX','fxCst','startBinSession:\x20Calling\x20startBinSession','getTestFrameworkDetail','forEach',',\x20product=','setCliArgsList','GetAggregatedClientTroubleshootingErrors\x20successful','xPhWS','setFrameworkName','ConnectBinSessionRequest','setAttachmentType','setConfig'];a75_0x1b32=function(){return _0x3efacd;};return a75_0x1b32();}(function(_0x383de7,_0x8bd582){const _0x5dcbd3=a75_0x152e,_0x53ad74=_0x383de7();while(!![]){try{const _0xbd9d59=parseInt(_0x5dcbd3(0x114))/0x1*(-parseInt(_0x5dcbd3(0x192))/0x2)+-parseInt(_0x5dcbd3(0x15f))/0x3+-parseInt(_0x5dcbd3(0xf5))/0x4*(parseInt(_0x5dcbd3(0xbf))/0x5)+-parseInt(_0x5dcbd3(0x166))/0x6+-parseInt(_0x5dcbd3(0x153))/0x7+-parseInt(_0x5dcbd3(0x191))/0x8+parseInt(_0x5dcbd3(0x132))/0x9;if(_0xbd9d59===_0x8bd582)break;else _0x53ad74['push'](_0x53ad74['shift']());}catch(_0xc955a){_0x53ad74['push'](_0x53ad74['shift']());}}}(a75_0x1b32,0xeca4f));function a75_0x152e(_0x2f52ca,_0x578878){const _0x1b3256=a75_0x1b32();return a75_0x152e=function(_0x152ec9,_0x85e4e5){_0x152ec9=_0x152ec9-0xb5;let _0x4fadef=_0x1b3256[_0x152ec9];return _0x4fadef;},a75_0x152e(_0x2f52ca,_0x578878);}const util=require('util'),logger=require(a75_0x23fa99(0x18c))[a75_0x23fa99(0x1b6)],grpc=require(a75_0x23fa99(0xd0)),services=require('../../../generated/sdk_grpc_pb'),messages=require(a75_0x23fa99(0xc6)),path=require(a75_0x23fa99(0x1bd)),CLIUtils=require('./cliUtils.js'),{createClassLogger}=require('../../helpers/classLogger.js'),PerformanceTester=require(a75_0x23fa99(0x14e)),{EVENTS:PerformanceEvents}=require(a75_0x23fa99(0x19e)),{PLAYWRIGHT_TRACE_LOGS}=require(a75_0x23fa99(0x163)),helper=require(a75_0x23fa99(0x143));class GrpcClient{static #instance=null;[a75_0x23fa99(0x105)]=null;[a75_0x23fa99(0x133)]=null;['channel']=null;[a75_0x23fa99(0xd2)]=null;[a75_0x23fa99(0x131)]=createClassLogger(a75_0x23fa99(0x15d));constructor(){}static[a75_0x23fa99(0x176)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a75_0x23fa99(0x175)](_0x4e9d83){const _0x52115a=a75_0x23fa99,_0x25adf4={};_0x25adf4[_0x52115a(0xf3)]=function(_0xc5364,_0x3b5c76){return _0xc5364||_0x3b5c76;};const _0x407802=_0x25adf4,{id:_0x1ff92f,listen:_0x56c914}=_0x4e9d83;if(_0x407802['hhHpw'](!_0x1ff92f,!_0x56c914))throw new Error(_0x52115a(0x11a)+_0x1ff92f+_0x52115a(0x17a)+_0x56c914);this[_0x52115a(0x105)]=_0x1ff92f,this['listenAddress']=_0x56c914,process['env'][_0x52115a(0xd7)]=this[_0x52115a(0x105)],process[_0x52115a(0x19d)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this[_0x52115a(0x133)],this[_0x52115a(0x110)](),this[_0x52115a(0x131)][_0x52115a(0x138)](_0x52115a(0xcb)+this[_0x52115a(0x105)]+_0x52115a(0x10f)+this[_0x52115a(0x133)]);}['connect'](){const _0x511d25=a75_0x23fa99,_0x2f1c8f={};_0x2f1c8f[_0x511d25(0x1b8)]='Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address';const _0x2e8cb8=_0x2f1c8f;let _0x1d874c=this[_0x511d25(0x133)];!_0x1d874c&&(_0x1d874c=process[_0x511d25(0x19d)][_0x511d25(0x150)]);!this[_0x511d25(0x105)]&&(this['binSessionId']=this[_0x511d25(0x105)]||process[_0x511d25(0x19d)][_0x511d25(0xd7)]);if(!_0x1d874c)throw new Error(_0x2e8cb8[_0x511d25(0x1b8)]);const _0x2ff390={};_0x2ff390[_0x511d25(0x1a3)]=0x2710,this[_0x511d25(0x1c0)]=new grpc[(_0x511d25(0x16f))](_0x1d874c,grpc['credentials'][_0x511d25(0xf7)](),_0x2ff390),this[_0x511d25(0xd2)]=new services[(_0x511d25(0x18f))](_0x1d874c,grpc[_0x511d25(0x1ae)][_0x511d25(0xf7)]()),this[_0x511d25(0x131)][_0x511d25(0x138)](_0x511d25(0xfd)+_0x1d874c);}async[a75_0x23fa99(0x124)](){const _0x162459=a75_0x23fa99,_0x2e1607={'WosjM':function(_0xbdc50c,_0x5da039){return _0xbdc50c!==_0x5da039;},'VEagF':function(_0xce9501,_0x2e5819){return _0xce9501(_0x2e5819);},'vlKPf':_0x162459(0x1aa),'gjvBE':_0x162459(0xe0),'TtDoQ':_0x162459(0xbd),'HDQZH':_0x162459(0x142),'MZSBO':function(_0x1f4712,_0xd2deca){return _0x1f4712 instanceof _0xd2deca;},'bTZQP':_0x162459(0x177),'KVRkt':function(_0x2efe62,_0x49e869){return _0x2efe62||_0x49e869;},'jROXw':function(_0x141609,_0x3e599d){return _0x141609||_0x3e599d;}};PerformanceTester[_0x162459(0x104)](PerformanceEvents['SDK_START_BIN_SESSION']),this[_0x162459(0x131)][_0x162459(0x138)](_0x2e1607[_0x162459(0xff)]);try{!this[_0x162459(0xd2)]&&this[_0x162459(0x131)][_0x162459(0x138)](_0x2e1607[_0x162459(0x1a2)]);const _0x3f5c52=CLIUtils[_0x162459(0x13b)](),_0x4a4127=CLIUtils[_0x162459(0x1a7)](),_0x38690d=CLIUtils[_0x162459(0xe1)](),_0xf8b34=_0x4a4127['name'],_0x562205=_0x4a4127[_0x162459(0x1bc)],_0x43b7e4=_0x38690d['name'],_0x2fd1cb=_0x38690d[_0x162459(0x1bc)]?_0x38690d['version'][_0x43b7e4]:'',_0x9a67d7=new messages['StartBinSessionRequest']();_0x9a67d7[_0x162459(0x165)](this['binSessionId']),_0x9a67d7[_0x162459(0x1a1)](CLIUtils[_0x162459(0x187)]()),_0x9a67d7[_0x162459(0x1af)](_0x3f5c52),_0x9a67d7[_0x162459(0xba)](process['cwd']());const _0x55ed52=_0x9a67d7[_0x162459(0xfe)]();Object[_0x162459(0x109)](process[_0x162459(0x19d)])['forEach'](([_0x1835d8,_0x4f3d51])=>{const _0x2c4a48=_0x162459;_0x2e1607[_0x2c4a48(0xc4)](_0x4f3d51,undefined)&&_0x2e1607[_0x2c4a48(0xc4)](_0x4f3d51,null)&&_0x55ed52[_0x2c4a48(0x198)](_0x1835d8,_0x4f3d51);});const _0x23b313=_0x2e1607[_0x162459(0x12f)](require,_0x2e1607[_0x162459(0x17e)]),_0x54862d=_0x23b313[_0x162459(0x176)]()['getBrowserstackCliConfig'](),_0x2b1f68=[];_0x54862d&&_0x2e1607[_0x162459(0x1b2)](_0x54862d,Map)&&_0x54862d[_0x162459(0xe2)]((_0x39e74c,_0x526dbd)=>{const _0x4230f5=_0x162459;_0x2b1f68[_0x4230f5(0x14d)](_0x526dbd+'='+_0x39e74c);});const _0x24e4df=process['argv'][_0x162459(0x172)](0x2);_0x9a67d7[_0x162459(0xe4)]([..._0x24e4df,..._0x2b1f68]),_0x9a67d7['setPathConfig'](_0x23b313[_0x162459(0x176)]()['getBrowserstackConfigPath']()),this[_0x162459(0x131)]['info'](_0x162459(0xc7)+JSON[_0x162459(0x12c)](_0x24e4df)+_0x162459(0xee)+(_0x54862d?JSON[_0x162459(0x12c)]([..._0x54862d]):_0x2e1607[_0x162459(0xb9)])),_0x9a67d7['setLanguage'](CLIUtils['getSdkLanguage']()),_0x9a67d7['setTestFramework'](_0x43b7e4);const _0x2a77ca=_0x9a67d7['getFrameworkVersionsMap']();return _0x2a77ca[_0x162459(0x198)](_0xf8b34,_0x2e1607[_0x162459(0x190)](_0x562205,'')),_0x2a77ca[_0x162459(0x198)](_0x43b7e4,_0x2e1607[_0x162459(0xeb)](_0x2fd1cb,'')),_0x9a67d7[_0x162459(0xbc)](_0xf8b34,_0x562205),_0x9a67d7[_0x162459(0xbc)](_0x43b7e4,_0x2fd1cb),_0x9a67d7[_0x162459(0xd3)]([_0x43b7e4,_0xf8b34]),new Promise((_0x277dd5,_0x5f0b0f)=>{const _0x2fdacb=_0x162459;this[_0x2fdacb(0xd2)][_0x2fdacb(0x124)](_0x9a67d7,(_0x26d26e,_0x147167)=>{const _0x192190=_0x2fdacb;if(_0x26d26e){this['logger'][_0x192190(0x13f)](_0x192190(0xd4)+_0x26d26e[_0x192190(0x11e)]),_0x2e1607['VEagF'](_0x5f0b0f,_0x26d26e),PerformanceTester[_0x192190(0x169)](PerformanceEvents[_0x192190(0x12d)],![],util[_0x192190(0x13e)](_0x26d26e));return;}this[_0x192190(0x131)]['info'](_0x2e1607[_0x192190(0x15c)]),PerformanceTester[_0x192190(0x169)](PerformanceEvents[_0x192190(0x12d)]),_0x2e1607[_0x192190(0x12f)](_0x277dd5,_0x147167);});});}catch(_0x27f392){this[_0x162459(0x131)][_0x162459(0x13f)]('Error\x20in\x20startBinSession:\x20'+util[_0x162459(0x13e)](_0x27f392)),PerformanceTester[_0x162459(0x169)](PerformanceEvents[_0x162459(0x12d)],![],util[_0x162459(0x13e)](_0x27f392));throw _0x27f392;}}async[a75_0x23fa99(0xdd)](){const _0x25f5a3=a75_0x23fa99,_0x33120f={'tCQaX':function(_0xd8ac07,_0x1e4dde){return _0xd8ac07(_0x1e4dde);},'JTubH':'ConnectBinSession\x20successful','wPQFb':function(_0x3e89a4,_0x205e34){return _0x3e89a4(_0x205e34);},'NKbvt':_0x25f5a3(0xf1),'aGoQH':_0x25f5a3(0xbd),'dtVJP':_0x25f5a3(0xd8),'NDqQh':_0x25f5a3(0x1b9),'bOWNJ':_0x25f5a3(0xf0)};PerformanceTester[_0x25f5a3(0x104)](PerformanceEvents[_0x25f5a3(0x152)]),this[_0x25f5a3(0x131)]['info'](_0x33120f[_0x25f5a3(0x116)]);try{!this[_0x25f5a3(0xd2)]&&this[_0x25f5a3(0x131)][_0x25f5a3(0x138)](_0x33120f[_0x25f5a3(0x159)]);const _0x25690e=new messages[(_0x25f5a3(0xe8))]();_0x25690e['setBinSessionId'](this[_0x25f5a3(0x105)]);const _0x4ccabd=await new Promise((_0x1dbc4f,_0x52eae5)=>{const _0x39c2bc=_0x25f5a3;this['client'][_0x39c2bc(0xdd)](_0x25690e,(_0x451f28,_0xedc006)=>{const _0x47ac02=_0x39c2bc;if(_0x451f28){this[_0x47ac02(0x131)][_0x47ac02(0x13f)](_0x47ac02(0x1ba)+_0x451f28[_0x47ac02(0x11e)]),_0x33120f[_0x47ac02(0x11d)](_0x52eae5,_0x451f28),PerformanceTester['end'](PerformanceEvents[_0x47ac02(0x152)],![],util[_0x47ac02(0x13e)](_0x451f28));return;}this[_0x47ac02(0x131)][_0x47ac02(0x138)](_0x33120f[_0x47ac02(0x125)]),PerformanceTester[_0x47ac02(0x169)](PerformanceEvents[_0x47ac02(0x152)]),_0x33120f['wPQFb'](_0x1dbc4f,_0xedc006);});}),_0x5f7b4b=util[_0x25f5a3(0x13e)](_0x4ccabd)[_0x25f5a3(0x1a4)](/"userName":"[^"]*"/g,_0x33120f['dtVJP'])[_0x25f5a3(0x1a4)](/"accessKey":"[^"]*"/g,_0x33120f[_0x25f5a3(0xfb)])[_0x25f5a3(0x1a4)](/"key":"[^"]*"/g,_0x33120f['bOWNJ']);return this['logger'][_0x25f5a3(0x188)](_0x25f5a3(0x194)+_0x5f7b4b),_0x4ccabd;}catch(_0x3141b4){PerformanceTester[_0x25f5a3(0x169)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util['format'](_0x3141b4)),this[_0x25f5a3(0x131)][_0x25f5a3(0x13f)](_0x25f5a3(0x139)+util['format'](_0x3141b4));throw _0x3141b4;}}async[a75_0x23fa99(0x12b)](_0x43d48a={},_0x58fdee=null){const _0x4e6c9a=a75_0x23fa99,_0x598b70={'bfZYf':function(_0x2350ec,_0x268138){return _0x2350ec(_0x268138);},'vhLkW':_0x4e6c9a(0xb8),'lKwbV':'Stopping\x20bin\x20session','xcGiu':'Missing\x20binSessionId','jDOIQ':'No\x20gRPC\x20client\x20not\x20initialized.','tDTfo':_0x4e6c9a(0x171)};PerformanceTester[_0x4e6c9a(0x104)](PerformanceEvents[_0x4e6c9a(0x122)]),this[_0x4e6c9a(0x131)][_0x4e6c9a(0x138)](_0x598b70[_0x4e6c9a(0x184)]);try{if(!this[_0x4e6c9a(0x105)])throw new Error(_0x598b70[_0x4e6c9a(0x103)]);!this[_0x4e6c9a(0xd2)]&&this['logger'][_0x4e6c9a(0x138)](_0x598b70[_0x4e6c9a(0x10a)]);const _0x173873=new messages[(_0x4e6c9a(0x16d))]();this[_0x4e6c9a(0x131)][_0x4e6c9a(0x188)](_0x4e6c9a(0x115)+JSON[_0x4e6c9a(0x12c)](_0x58fdee)),_0x173873[_0x4e6c9a(0x165)](this[_0x4e6c9a(0x105)]),_0x173873['setCustomMetadata'](_0x43d48a),_0x173873[_0x4e6c9a(0x180)](_0x58fdee?_0x58fdee:null),_0x173873[_0x4e6c9a(0x112)](_0x58fdee?_0x598b70[_0x4e6c9a(0xc2)]:null),_0x173873['setExitCode'](_0x58fdee?0x1:0x0);const _0x44547f=await new Promise((_0x58d66d,_0x307795)=>{const _0x1501e9=_0x4e6c9a,_0x51e777={'HiPPO':function(_0x51bd00,_0x5c120a){return _0x598b70['bfZYf'](_0x51bd00,_0x5c120a);},'YPHJC':_0x598b70[_0x1501e9(0x1bf)]};this[_0x1501e9(0xd2)][_0x1501e9(0x12b)](_0x173873,(_0x4e68be,_0x44c69f)=>{const _0x36b0cd=_0x1501e9;if(_0x4e68be){this[_0x36b0cd(0x131)][_0x36b0cd(0x13f)](_0x36b0cd(0xd5)+_0x4e68be[_0x36b0cd(0x11e)]),_0x51e777[_0x36b0cd(0xd1)](_0x307795,_0x4e68be),PerformanceTester['end'](PerformanceEvents[_0x36b0cd(0x122)],![],util['format'](_0x4e68be));return;}this[_0x36b0cd(0x131)][_0x36b0cd(0x138)](_0x51e777[_0x36b0cd(0xb5)]),PerformanceTester[_0x36b0cd(0x169)](PerformanceEvents[_0x36b0cd(0x122)]),_0x51e777['HiPPO'](_0x58d66d,_0x44c69f);});});return this[_0x4e6c9a(0x131)][_0x4e6c9a(0x188)](_0x4e6c9a(0x145)+util[_0x4e6c9a(0x13e)](_0x44547f)),_0x44547f;}catch(_0x205e98){PerformanceTester[_0x4e6c9a(0x169)](PerformanceEvents[_0x4e6c9a(0x122)],![],util[_0x4e6c9a(0x13e)](_0x205e98)),this[_0x4e6c9a(0x131)][_0x4e6c9a(0x13f)](_0x4e6c9a(0x108)+util[_0x4e6c9a(0x13e)](_0x205e98));}}async[a75_0x23fa99(0x1b1)](_0x3e6c85){const _0x5cb764=a75_0x23fa99,_0x594e26={'BNjSi':function(_0x3fb586,_0x2d2971){return _0x3fb586(_0x2d2971);},'oWSMw':'PlaywrightConfig\x20request\x20successful','pdjTi':_0x5cb764(0x117),'twTAg':_0x5cb764(0xbd)};PerformanceTester[_0x5cb764(0x104)](PerformanceEvents[_0x5cb764(0x119)]),this[_0x5cb764(0x131)][_0x5cb764(0x138)](_0x594e26[_0x5cb764(0x1c3)]);try{!this[_0x5cb764(0xd2)]&&this[_0x5cb764(0x131)]['info'](_0x594e26['twTAg']);const _0x5ca9d6=new messages['PlaywrightConfigRequest']();return _0x5ca9d6['setBinSessionId'](this['binSessionId']),_0x5ca9d6[_0x5cb764(0xea)](JSON[_0x5cb764(0x12c)](_0x3e6c85)),new Promise((_0x2fa66d,_0x4999e7)=>{const _0x242b1d=_0x5cb764,_0xba0b30={'riSUo':function(_0x5437ed,_0x403b87){const _0x5753a0=a75_0x152e;return _0x594e26[_0x5753a0(0x118)](_0x5437ed,_0x403b87);},'kLFHe':_0x594e26[_0x242b1d(0xc3)]};this['client'][_0x242b1d(0xd9)](_0x5ca9d6,(_0x204273,_0x22718a)=>{const _0x146ff4=_0x242b1d;if(_0x204273){this['logger']['error'](_0x146ff4(0x120)+_0x204273['message']),_0xba0b30[_0x146ff4(0x16c)](_0x4999e7,_0x204273),PerformanceTester[_0x146ff4(0x169)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x146ff4(0x13e)](_0x204273));return;}this[_0x146ff4(0x131)][_0x146ff4(0x138)](_0xba0b30[_0x146ff4(0x158)]),PerformanceTester['end'](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),_0xba0b30[_0x146ff4(0x16c)](_0x2fa66d,_0x22718a);});});}catch(_0x3e7d04){PerformanceTester[_0x5cb764(0x169)](PerformanceEvents[_0x5cb764(0x119)],![],util[_0x5cb764(0x13e)](_0x3e7d04)),this[_0x5cb764(0x131)][_0x5cb764(0x13f)]('Error\x20in\x20getPlaywrightConfig:\x20'+util[_0x5cb764(0x13e)](_0x3e7d04));throw _0x3e7d04;}}async[a75_0x23fa99(0x10c)](_0xdb5ac0){const _0x506404=a75_0x23fa99,_0x4e4546={'gWGOD':function(_0x1d36dd,_0x5b18ec){return _0x1d36dd(_0x5b18ec);},'DVBiK':_0x506404(0x121),'JgaVu':function(_0xd7859f,_0x3c4894){return _0xd7859f(_0x3c4894);},'gjftP':function(_0xcbe64d,_0x3a99a5){return _0xcbe64d||_0x3a99a5;},'oUbCe':'not\x20provided','XhvYk':_0x506404(0x19a)},_0x1dd98c=_0xdb5ac0[_0x506404(0x151)]?.[_0x506404(0x15a)]||_0xdb5ac0['testInfo']?.['id'];this[_0x506404(0x131)][_0x506404(0x138)]('[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier='+_0x4e4546[_0x506404(0x199)](_0x1dd98c,_0x4e4546[_0x506404(0x154)]));try{const _0x5ad706=Buffer['from'](JSON[_0x506404(0x12c)](_0xdb5ac0['launchcaps']),_0x4e4546[_0x506404(0x100)]),_0x35f82d=new messages['AccessibilityConfigRequest'](),_0x196345=CLIUtils['getAutomationFrameworkDetail'](),_0x35051a=_0x196345[_0x506404(0x155)],_0x3e1f33=_0x196345[_0x506404(0x1bc)];_0x35f82d['setBinSessionId'](this['binSessionId']),_0x35f82d[_0x506404(0x1ac)](0x0),_0x35f82d[_0x506404(0xe7)](_0x35051a),_0x35f82d[_0x506404(0xcd)](_0x3e1f33),_0x35f82d['setHubUrl'](_0xdb5ac0['hubUrl']),_0x35f82d['setCapabilities'](_0x5ad706);if(_0xdb5ac0[_0x506404(0x151)]?.[_0x506404(0x15a)]||_0xdb5ac0[_0x506404(0x151)]?.['id']){const _0x5916ca=_0xdb5ac0[_0x506404(0x151)][_0x506404(0x15a)]||_0xdb5ac0[_0x506404(0x151)]['id'];_0x35f82d['setTestIdentifier'](_0x5916ca),this[_0x506404(0x131)][_0x506404(0x188)]('[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier='+_0x5916ca+_0x506404(0x130));}return new Promise((_0x4e9a53,_0x4e14f2)=>{const _0x2e4ccd=_0x506404;this[_0x2e4ccd(0xd2)][_0x2e4ccd(0x1b3)](_0x35f82d,(_0x46fca2,_0x556efc)=>{const _0x334c90=_0x2e4ccd;if(_0x46fca2){this['logger'][_0x334c90(0x13f)](_0x334c90(0xf6)+_0x46fca2['message']),_0x4e4546['gWGOD'](_0x4e14f2,_0x46fca2);return;}this[_0x334c90(0x131)][_0x334c90(0x138)](_0x4e4546['DVBiK']),_0x4e4546[_0x334c90(0xcf)](_0x4e9a53,_0x556efc);});});}catch(_0x3826ea){this[_0x506404(0x131)]['error'](_0x506404(0x173)+util[_0x506404(0x13e)](_0x3826ea));}}async[a75_0x23fa99(0xed)](_0x54bd46){const _0x59004f=a75_0x23fa99,_0x27b9ec={'mmDKb':function(_0x119baf,_0x286f37){return _0x119baf(_0x286f37);},'dFoDa':'TestSessionEvent\x20request\x20successful','LaOuz':_0x59004f(0xbb),'wSzew':_0x59004f(0xbd)};this['logger'][_0x59004f(0x138)](_0x27b9ec[_0x59004f(0xdb)]);try{!this[_0x59004f(0xd2)]&&this[_0x59004f(0x131)][_0x59004f(0x138)](_0x27b9ec[_0x59004f(0x168)]);const {platformIndex:_0x699d51,testFrameworkName:_0x4872de,testFrameworkVersion:_0x5898fa,testFrameworkState:_0x75567d,testHookState:_0x37fa4a,testUuid:_0x11eca1,automationSession:_0x107efb,capabilities:_0xeefbb6,executionContext:_0x1de47a,test_identifier:_0x41c6f4}=_0x54bd46,_0x5d4533=new messages[(_0x59004f(0x10d))]();_0x5d4533[_0x59004f(0x165)](this[_0x59004f(0x105)]),_0x5d4533[_0x59004f(0x1ac)](_0x699d51),_0x5d4533['setTestFrameworkName'](_0x4872de),_0x5d4533[_0x59004f(0xd6)](_0x5898fa),_0x5d4533['setTestFrameworkState'](_0x75567d),_0x5d4533['setTestHookState'](_0x37fa4a),_0x5d4533[_0x59004f(0x126)](_0x11eca1);const _0x9e2a0a=new messages[(_0x59004f(0x10d))]['AutomationSession']();_0x9e2a0a['setProvider'](_0x107efb[_0x59004f(0x147)]),_0x9e2a0a['setFrameworkName'](_0x107efb[_0x59004f(0x1c1)]),_0x9e2a0a[_0x59004f(0xcd)](_0x107efb[_0x59004f(0xda)]),_0x9e2a0a['setFrameworkSessionId'](_0x107efb[_0x59004f(0xc0)]),_0x9e2a0a[_0x59004f(0x146)](_0x107efb[_0x59004f(0x1b0)]),_0x9e2a0a[_0x59004f(0xc8)](_0x107efb['hubUrl']),_0x5d4533['addAutomationSessions'](_0x9e2a0a),_0x5d4533[_0x59004f(0x1a0)](_0xeefbb6);const _0x4b3dbc=new messages[(_0x59004f(0x193))]();return _0x4b3dbc[_0x59004f(0x196)](_0x1de47a['processId']),_0x4b3dbc[_0x59004f(0x189)](_0x1de47a[_0x59004f(0x1be)]),_0x4b3dbc['setHash'](_0x1de47a[_0x59004f(0xbe)]),_0x5d4533[_0x59004f(0x137)](_0x4b3dbc),_0x41c6f4&&_0x5d4533[_0x59004f(0x136)](_0x41c6f4),new Promise((_0x325ad5,_0x114172)=>{const _0x1b21f9=_0x59004f,_0x795796={'eAgOc':function(_0x54f4cd,_0x3796a7){const _0x5b84b8=a75_0x152e;return _0x27b9ec[_0x5b84b8(0x16e)](_0x54f4cd,_0x3796a7);},'KQGaa':_0x27b9ec[_0x1b21f9(0x11c)]};this[_0x1b21f9(0xd2)][_0x1b21f9(0xed)](_0x5d4533,(_0x5bdbe8,_0x1bcc1a)=>{const _0x59cf64=_0x1b21f9;if(_0x5bdbe8){this[_0x59cf64(0x131)][_0x59cf64(0x13f)](_0x59cf64(0x1b7)+_0x5bdbe8['message']),_0x795796['eAgOc'](_0x114172,_0x5bdbe8);return;}this[_0x59cf64(0x131)][_0x59cf64(0x138)](_0x795796['KQGaa']),_0x795796['eAgOc'](_0x325ad5,_0x1bcc1a);});});}catch(_0x4f1401){this[_0x59004f(0x131)][_0x59004f(0x13f)](_0x59004f(0xdc)+util[_0x59004f(0x13e)](_0x4f1401));throw _0x4f1401;}}async['testFrameworkEvent'](_0x1269b3){const _0x25b82a=a75_0x23fa99,_0x1bd61e={'kBRdi':function(_0x128805,_0x406ab1){return _0x128805(_0x406ab1);},'bqdpY':_0x25b82a(0x102),'GkiEN':_0x25b82a(0xc9),'xxjAK':_0x25b82a(0xbd)};this[_0x25b82a(0x131)][_0x25b82a(0x138)](_0x1bd61e['GkiEN']);try{!this[_0x25b82a(0xd2)]&&this['logger']['info'](_0x1bd61e['xxjAK']);const {platformIndex:_0x3aa5d2,testFrameworkName:_0x1ced97,testFrameworkVersion:_0x54dee1,testFrameworkState:_0x460cfd,hookState:_0x5e966e,startedAt:_0x388a94,endedAt:_0x4cf371,uuid:_0x9c5904,eventJson:_0x4f7937,executionContext:_0x41c6f0,test_identifier:_0x4142d5}=_0x1269b3,_0x3f78bd=new messages[(_0x25b82a(0x1ab))]();_0x3f78bd['setBinSessionId'](this[_0x25b82a(0x105)]),_0x3f78bd[_0x25b82a(0x1ac)](_0x3aa5d2),_0x3f78bd[_0x25b82a(0x167)](_0x1ced97),_0x3f78bd[_0x25b82a(0xd6)](_0x54dee1),_0x3f78bd['setTestFrameworkState'](_0x460cfd),_0x3f78bd['setTestHookState'](_0x5e966e),_0x3f78bd[_0x25b82a(0x156)](_0x388a94),_0x3f78bd[_0x25b82a(0x111)](_0x4cf371),_0x3f78bd[_0x25b82a(0x17f)](_0x9c5904),_0x3f78bd[_0x25b82a(0x141)](_0x4f7937);const _0x340e00=new messages['ExecutionContext']();return _0x340e00[_0x25b82a(0x196)](_0x41c6f0[_0x25b82a(0x113)]),_0x340e00['setThreadId'](_0x41c6f0[_0x25b82a(0x1be)]),_0x340e00[_0x25b82a(0xf8)](_0x41c6f0[_0x25b82a(0xbe)]),_0x3f78bd['setExecutionContext'](_0x340e00),_0x4142d5&&_0x3f78bd[_0x25b82a(0x136)](_0x4142d5),new Promise((_0x1a470a,_0x759186)=>{const _0x3f729d=_0x25b82a,_0x3d8fad={'KoWkL':function(_0x5d84e6,_0x2b6a58){const _0x527268=a75_0x152e;return _0x1bd61e[_0x527268(0x1c2)](_0x5d84e6,_0x2b6a58);},'NNOtc':_0x1bd61e['bqdpY']};this[_0x3f729d(0xd2)][_0x3f729d(0x181)](_0x3f78bd,(_0x1f8419,_0x3d4388)=>{const _0x1ae613=_0x3f729d;if(_0x1f8419){this[_0x1ae613(0x131)][_0x1ae613(0x13f)](_0x1ae613(0x106)+_0x1f8419[_0x1ae613(0x11e)]),_0x3d8fad[_0x1ae613(0x14b)](_0x759186,_0x1f8419);return;}this['logger'][_0x1ae613(0x138)](_0x3d8fad[_0x1ae613(0x12e)]),_0x3d8fad['KoWkL'](_0x1a470a,_0x3d4388);});});}catch(_0x183846){this[_0x25b82a(0x131)][_0x25b82a(0x13f)](_0x25b82a(0x144)+util[_0x25b82a(0x13e)](_0x183846));throw _0x183846;}}async['driverInit'](_0x421b53){const _0x5ee73b=a75_0x23fa99,_0x138d8a={'DzvYn':function(_0x31c935,_0x20be0a){return _0x31c935(_0x20be0a);},'QhRKx':_0x5ee73b(0xfc),'PyLJi':function(_0x570cf8,_0x2f13f0){return _0x570cf8(_0x2f13f0);},'nrezO':'Sending\x20DriverInit','JmEay':_0x5ee73b(0xbd)};this[_0x5ee73b(0x131)][_0x5ee73b(0x138)](_0x138d8a[_0x5ee73b(0x149)]);try{!this[_0x5ee73b(0xd2)]&&this['logger']['info'](_0x138d8a[_0x5ee73b(0x1a6)]);const {platformIndex:_0x29e25b,ref:_0x2ba026,userInputParams:_0x3ccbbc}=_0x421b53,_0x2c80e3=new messages[(_0x5ee73b(0x162))]();return _0x2c80e3[_0x5ee73b(0x165)](this[_0x5ee73b(0x105)]),_0x2c80e3[_0x5ee73b(0x1ac)](_0x29e25b),_0x2c80e3[_0x5ee73b(0x146)](_0x2ba026),_0x2c80e3[_0x5ee73b(0x129)](_0x3ccbbc),new Promise((_0x50fc5f,_0x2f0044)=>{const _0x46d227=_0x5ee73b;this['client'][_0x46d227(0x16a)](_0x2c80e3,(_0x3199f8,_0x18962d)=>{const _0x57b840=_0x46d227;if(_0x3199f8){this[_0x57b840(0x131)][_0x57b840(0x13f)](_0x57b840(0x1b4)+_0x3199f8[_0x57b840(0x11e)]),_0x138d8a[_0x57b840(0x18a)](_0x2f0044,_0x3199f8);return;}this[_0x57b840(0x131)][_0x57b840(0x138)](_0x138d8a[_0x57b840(0x197)]),_0x138d8a[_0x57b840(0x14f)](_0x50fc5f,_0x18962d);});});}catch(_0x4d67a3){this[_0x5ee73b(0x131)][_0x5ee73b(0x13f)](_0x5ee73b(0x14c)+util['format'](_0x4d67a3));throw _0x4d67a3;}}async[a75_0x23fa99(0xca)](_0x571806){const _0x1e7319=a75_0x23fa99,_0x367f38={'eDOxJ':function(_0x490c0f,_0x4ffba4){return _0x490c0f===_0x4ffba4;},'bKaBs':_0x1e7319(0x135),'NOUuK':function(_0x591ae2,_0x1fe6de){return _0x591ae2(_0x1fe6de);},'dABgN':_0x1e7319(0x19f),'iogPx':_0x1e7319(0x123),'BeXbr':_0x1e7319(0xbd)};this[_0x1e7319(0x131)][_0x1e7319(0x138)](_0x367f38[_0x1e7319(0xf4)]);try{!this[_0x1e7319(0xd2)]&&this[_0x1e7319(0x131)][_0x1e7319(0x138)](_0x367f38[_0x1e7319(0x127)]);const {platformIndex:_0x2fc65c,logs:_0x361be0}=_0x571806,_0x4ab179=new messages['LogCreatedEventRequest']();_0x4ab179[_0x1e7319(0x165)](this[_0x1e7319(0x105)]),_0x4ab179['setPlatformIndex'](_0x2fc65c);const _0x58388e=_0x571806['testFrameworkName'],_0x1c5156=_0x571806[_0x1e7319(0xc1)],_0x535d08=_0x571806['testFrameworkState'];return _0x361be0['forEach'](_0x34c914=>{const _0x4845d7=_0x1e7319,_0x4f7f72=new messages[(_0x4845d7(0x18e))][(_0x4845d7(0xec))]();_0x4f7f72['setTestFrameworkName'](_0x58388e),_0x4f7f72[_0x4845d7(0xd6)](_0x1c5156),_0x4f7f72[_0x4845d7(0x19c)](_0x535d08),_0x4f7f72[_0x4845d7(0x17d)](_0x34c914[_0x4845d7(0x160)]);if(_0x367f38['eDOxJ'](_0x34c914['attachment_type'],PLAYWRIGHT_TRACE_LOGS))_0x4f7f72[_0x4845d7(0x17f)](_0x34c914[_0x4845d7(0x10e)]),_0x4f7f72['setMessage'](new TextEncoder()[_0x4845d7(0x13d)](JSON[_0x4845d7(0x12c)](_0x34c914)));else{if(_0x34c914['test_identifier'])_0x4f7f72[_0x4845d7(0x17f)](_0x367f38[_0x4845d7(0x18b)]);else{if(_0x34c914[_0x4845d7(0x17b)])_0x4f7f72[_0x4845d7(0x17f)](_0x34c914['hook_run_uuid']);else _0x34c914[_0x4845d7(0xc5)]&&_0x4f7f72[_0x4845d7(0x17f)](_0x34c914[_0x4845d7(0xc5)]);}_0x4f7f72['setMessage'](new TextEncoder()[_0x4845d7(0x13d)](_0x34c914[_0x4845d7(0x11e)]));}_0x4f7f72['setKind'](_0x34c914['kind']),_0x4f7f72[_0x4845d7(0x18d)](_0x34c914[_0x4845d7(0x134)]),_0x4f7f72[_0x4845d7(0x182)](_0x34c914?.[_0x4845d7(0xf2)]||''),_0x4f7f72[_0x4845d7(0x148)](_0x34c914?.[_0x4845d7(0x174)]||''),_0x4f7f72[_0x4845d7(0x15b)](_0x34c914?.[_0x4845d7(0xb6)]||0x0),_0x4f7f72[_0x4845d7(0xe9)](_0x34c914?.[_0x4845d7(0x170)]||''),_0x34c914[_0x4845d7(0x128)]&&_0x4f7f72[_0x4845d7(0x136)](_0x34c914[_0x4845d7(0x128)]),_0x34c914[_0x4845d7(0xfa)]&&_0x4f7f72[_0x4845d7(0x1a5)](_0x34c914[_0x4845d7(0xfa)]),_0x4ab179['addLogs'](_0x4f7f72);}),new Promise((_0x6c9941,_0x19e4e6)=>{const _0x4bc1a9=_0x1e7319;this[_0x4bc1a9(0xd2)][_0x4bc1a9(0xca)](_0x4ab179,(_0x37047d,_0x5da43e)=>{const _0x6fb056=_0x4bc1a9;if(_0x37047d){this[_0x6fb056(0x131)]['error'](_0x6fb056(0x1bb)+_0x37047d[_0x6fb056(0x11e)]),_0x367f38[_0x6fb056(0x1a8)](_0x19e4e6,_0x37047d);return;}this['logger'][_0x6fb056(0x138)](_0x367f38[_0x6fb056(0x140)]),_0x367f38[_0x6fb056(0x1a8)](_0x6c9941,_0x5da43e);});});}catch(_0x288417){this[_0x1e7319(0x131)][_0x1e7319(0x13f)](_0x1e7319(0x161)+util[_0x1e7319(0x13e)](_0x288417));throw _0x288417;}}async[a75_0x23fa99(0x11f)](_0x2e6417,_0x49ebfb,_0x27f866,_0x217bfb=null){const _0x31e9ad=a75_0x23fa99,_0x38b8c4={'qMFHe':function(_0x3352b1,_0x1e36ff){return _0x3352b1(_0x1e36ff);},'IeiSi':function(_0x480aae,_0x4320c4){return _0x480aae||_0x4320c4;},'xUzpI':'not\x20provided','SyEDc':_0x31e9ad(0x14a)};this[_0x31e9ad(0x131)]['debug']('FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId='+_0x2e6417+_0x31e9ad(0xe3)+_0x49ebfb+',\x20scriptName='+_0x27f866+',\x20testIdentifier='+_0x38b8c4[_0x31e9ad(0x1a9)](_0x217bfb,_0x38b8c4[_0x31e9ad(0x11b)]));try{if(!this[_0x31e9ad(0xd2)])return this['logger'][_0x31e9ad(0x188)](_0x38b8c4[_0x31e9ad(0x101)]),null;const _0x49c5b0=new messages[(_0x31e9ad(0xcc))]();return _0x49c5b0[_0x31e9ad(0x165)](_0x2e6417),_0x49c5b0[_0x31e9ad(0x1b5)](_0x49ebfb),_0x49c5b0[_0x31e9ad(0xce)](_0x27f866),_0x217bfb&&(_0x49c5b0[_0x31e9ad(0x136)](_0x217bfb),this[_0x31e9ad(0x131)][_0x31e9ad(0x188)](_0x31e9ad(0x157)+_0x217bfb+'\x20for\x20product='+_0x49ebfb+_0x31e9ad(0x12a)+_0x27f866)),await new Promise(_0x4f93ef=>{const _0x50bc04=_0x31e9ad,_0x11c4ca={'xPhWS':function(_0x57f949,_0x5c3c3e){const _0x56d2b0=a75_0x152e;return _0x38b8c4[_0x56d2b0(0x183)](_0x57f949,_0x5c3c3e);}};this['client'][_0x50bc04(0x11f)](_0x49c5b0,(_0x5f388f,_0x3db6b0)=>{const _0x1d5ab8=_0x50bc04;if(_0x5f388f){this[_0x1d5ab8(0x131)]['debug'](_0x1d5ab8(0x10b)+_0x5f388f),_0x11c4ca['xPhWS'](_0x4f93ef,null);return;}this[_0x1d5ab8(0x131)][_0x1d5ab8(0x188)]('FetchDriverExecuteParamsEvent\x20successful\x20-\x20success='+(_0x3db6b0[_0x1d5ab8(0x13a)]&&_0x3db6b0[_0x1d5ab8(0x13a)]())),_0x11c4ca[_0x1d5ab8(0xe6)](_0x4f93ef,_0x3db6b0);});});}catch(_0x4fde04){return this['logger'][_0x31e9ad(0x188)](_0x31e9ad(0x10b)+_0x4fde04),null;}}async[a75_0x23fa99(0xf9)](_0x5b70c2){const _0x4b25a4=a75_0x23fa99,_0x2c6fc4={'qERST':function(_0x4d0078,_0x37b44b){return _0x4d0078(_0x37b44b);},'mSEzC':_0x4b25a4(0x17c),'oQDbj':_0x4b25a4(0x14a)};this[_0x4b25a4(0x131)]['debug'](_0x4b25a4(0x13c)+_0x5b70c2);try{if(!this[_0x4b25a4(0xd2)])return this[_0x4b25a4(0x131)][_0x4b25a4(0x188)](_0x2c6fc4['oQDbj']),null;const _0x3a0a27=new messages['ReportClientTroubleshootingErrorRequest']();_0x3a0a27[_0x4b25a4(0x165)](this['binSessionId']),_0x3a0a27[_0x4b25a4(0x15e)](_0x5b70c2);const _0x583d70=await new Promise((_0x55121c,_0x392959)=>{const _0x52f50d=_0x4b25a4,_0x1b33f4={'fxCst':function(_0x745c89,_0x1a54a5){return _0x2c6fc4['qERST'](_0x745c89,_0x1a54a5);},'hYPeO':_0x2c6fc4['mSEzC'],'BXcjX':function(_0x406b6a,_0x1db4c7){return _0x2c6fc4['qERST'](_0x406b6a,_0x1db4c7);}};this[_0x52f50d(0xd2)]['reportClientTroubleshootingError'](_0x3a0a27,(_0x4418a9,_0x2c9630)=>{const _0x5e05c6=_0x52f50d;if(_0x4418a9){this[_0x5e05c6(0x131)][_0x5e05c6(0x188)](_0x5e05c6(0x185)+_0x4418a9),_0x1b33f4[_0x5e05c6(0xdf)](_0x392959,_0x4418a9);return;}this[_0x5e05c6(0x131)][_0x5e05c6(0x188)](_0x1b33f4[_0x5e05c6(0x195)]),_0x1b33f4[_0x5e05c6(0xde)](_0x55121c,_0x2c9630);});});return _0x583d70;}catch(_0x3aad74){return this[_0x4b25a4(0x131)][_0x4b25a4(0x188)](_0x4b25a4(0x185)+_0x3aad74),null;}}async[a75_0x23fa99(0x179)](){const _0x11a57a=a75_0x23fa99,_0x510978={'meVAN':function(_0x1b86a5,_0x25ec1a){return _0x1b86a5(_0x25ec1a);},'gAjSP':_0x11a57a(0xe5),'SPxoQ':_0x11a57a(0x186),'lpaoJ':_0x11a57a(0x14a)};this[_0x11a57a(0x131)][_0x11a57a(0x188)](_0x510978[_0x11a57a(0xb7)]);try{if(!this['client'])return this[_0x11a57a(0x131)][_0x11a57a(0x188)](_0x510978[_0x11a57a(0x19b)]),null;const _0x3c0d7c=new messages['GetAggregatedClientTroubleshootingErrorsRequest']();_0x3c0d7c[_0x11a57a(0x165)](this['binSessionId']);const _0x4b697d=await new Promise((_0x2ff199,_0x324316)=>{const _0x5a66f0=_0x11a57a;this['client'][_0x5a66f0(0x179)](_0x3c0d7c,(_0x59065c,_0x2da880)=>{const _0x341303=_0x5a66f0;if(_0x59065c){this[_0x341303(0x131)][_0x341303(0x188)](_0x341303(0x164)+_0x59065c),_0x510978[_0x341303(0x178)](_0x324316,_0x59065c);return;}this[_0x341303(0x131)][_0x341303(0x188)](_0x510978[_0x341303(0xef)]),_0x510978[_0x341303(0x178)](_0x2ff199,_0x2da880);});});return _0x4b697d;}catch(_0x3f30d4){return this['logger']['debug']('Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20'+_0x3f30d4),null;}}[a75_0x23fa99(0x16b)](){const _0x133d2a=a75_0x23fa99;return this[_0x133d2a(0xd2)];}[a75_0x23fa99(0x1ad)](){const _0x1954ab=a75_0x23fa99;return this[_0x1954ab(0x1c0)];}}module[a75_0x23fa99(0x107)]=GrpcClient;
@@ -1 +1 @@
1
- const a76_0x2bc152=a76_0x2881;function a76_0x3e1c(){const _0x4f0c27=['toLocaleString','4|3|2|0|5|1','state','./trackedInstance','getState','1631698tDJvWp','getFrameworkName','NONE','frameworkVersion','exports','../state/automationFrameworkState','404844dsAzNW','1507203iLsNCG','getFrameworkVersion','setState','2003968Fvcbsi','createdAt','15TjrqeE','10376nDkgfh','4751860hmTRbT','147NdSvpd','lastState','PkGXx','frameworkName','1525484lkkmwY','6957VISfNH','split'];a76_0x3e1c=function(){return _0x4f0c27;};return a76_0x3e1c();}(function(_0x4140ec,_0x1fe91b){const _0x2daed7=a76_0x2881,_0x514982=_0x4140ec();while(!![]){try{const _0x5173aa=parseInt(_0x2daed7(0x1df))/0x1+parseInt(_0x2daed7(0x1e9))/0x2+-parseInt(_0x2daed7(0x1e6))/0x3+-parseInt(_0x2daed7(0x1d7))/0x4*(parseInt(_0x2daed7(0x1eb))/0x5)+-parseInt(_0x2daed7(0x1e5))/0x6*(-parseInt(_0x2daed7(0x1d3))/0x7)+parseInt(_0x2daed7(0x1ec))/0x8*(-parseInt(_0x2daed7(0x1d8))/0x9)+-parseInt(_0x2daed7(0x1d2))/0xa;if(_0x5173aa===_0x1fe91b)break;else _0x514982['push'](_0x514982['shift']());}catch(_0x24bb1c){_0x514982['push'](_0x514982['shift']());}}}(a76_0x3e1c,0xe2293));const AutomationFrameworkState=require(a76_0x2bc152(0x1e4)),TrackedInstance=require(a76_0x2bc152(0x1dd)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x9d5f7a,_0x48ab04,_0x58dad9,_0x424aab){const _0x105fec=a76_0x2bc152,_0x579a3d={};_0x579a3d[_0x105fec(0x1d5)]=_0x105fec(0x1db);const _0x1532fe=_0x579a3d,_0x1f1656=_0x1532fe[_0x105fec(0x1d5)][_0x105fec(0x1d9)]('|');let _0x39f682=0x0;while(!![]){switch(_0x1f1656[_0x39f682++]){case'0':this[_0x105fec(0x1dc)]=_0x424aab;continue;case'1':this[_0x105fec(0x1ea)]=now[_0x105fec(0x1da)]();continue;case'2':this[_0x105fec(0x1e2)]=_0x58dad9;continue;case'3':this[_0x105fec(0x1d6)]=_0x48ab04;continue;case'4':super(_0x9d5f7a);continue;case'5':this[_0x105fec(0x1d4)]=AutomationFrameworkState[_0x105fec(0x1e1)];continue;}break;}}[a76_0x2bc152(0x1e0)](){const _0x23f515=a76_0x2bc152;return this[_0x23f515(0x1d6)];}[a76_0x2bc152(0x1e7)](){const _0x5ca011=a76_0x2bc152;return this[_0x5ca011(0x1e2)];}[a76_0x2bc152(0x1de)](){const _0x2adee6=a76_0x2bc152;return this[_0x2adee6(0x1dc)];}[a76_0x2bc152(0x1e8)](_0x41f192){const _0x4ba611=a76_0x2bc152;this['lastState']=this['state'],this[_0x4ba611(0x1dc)]=_0x41f192;}}function a76_0x2881(_0x536505,_0x75e648){const _0x3e1cf8=a76_0x3e1c();return a76_0x2881=function(_0x28810b,_0x4ecabf){_0x28810b=_0x28810b-0x1d2;let _0x17a6c4=_0x3e1cf8[_0x28810b];return _0x17a6c4;},a76_0x2881(_0x536505,_0x75e648);}module[a76_0x2bc152(0x1e3)]=AutomationFrameworkInstance;
1
+ function a76_0x5729(_0x590ea2,_0x3a6daa){const _0x1f64a9=a76_0x1f64();return a76_0x5729=function(_0x572966,_0x5ebac5){_0x572966=_0x572966-0x1c4;let _0x5749b5=_0x1f64a9[_0x572966];return _0x5749b5;},a76_0x5729(_0x590ea2,_0x3a6daa);}const a76_0x1da994=a76_0x5729;(function(_0x2253d4,_0x14d669){const _0x57744c=a76_0x5729,_0x41be46=_0x2253d4();while(!![]){try{const _0x3b783f=parseInt(_0x57744c(0x1c5))/0x1*(-parseInt(_0x57744c(0x1d3))/0x2)+parseInt(_0x57744c(0x1c7))/0x3*(-parseInt(_0x57744c(0x1cc))/0x4)+parseInt(_0x57744c(0x1cd))/0x5*(-parseInt(_0x57744c(0x1cb))/0x6)+-parseInt(_0x57744c(0x1ca))/0x7*(parseInt(_0x57744c(0x1d8))/0x8)+parseInt(_0x57744c(0x1d0))/0x9*(-parseInt(_0x57744c(0x1cf))/0xa)+-parseInt(_0x57744c(0x1d6))/0xb*(parseInt(_0x57744c(0x1d5))/0xc)+-parseInt(_0x57744c(0x1dd))/0xd*(-parseInt(_0x57744c(0x1d4))/0xe);if(_0x3b783f===_0x14d669)break;else _0x41be46['push'](_0x41be46['shift']());}catch(_0x26912d){_0x41be46['push'](_0x41be46['shift']());}}}(a76_0x1f64,0xbce3e));const AutomationFrameworkState=require(a76_0x1da994(0x1c4)),TrackedInstance=require(a76_0x1da994(0x1dc)),now=new Date();function a76_0x1f64(){const _0x4da541=['../state/automationFrameworkState','7BrWnZT','toLocaleString','15vyrfWE','state','frameworkVersion','7eAqeAX','288642PUrqPh','367176XhDtBJ','115tvVAJZ','getState','130Itlmgn','557289NdeHXw','createdAt','lastState','237438MPBtwN','83992524nasTrs','14496vTIcYc','5698AsaaYN','exports','11188728YQaBHw','split','nIbwZ','getFrameworkVersion','./trackedInstance','13IjuLWS','NONE'];a76_0x1f64=function(){return _0x4da541;};return a76_0x1f64();}class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x1633e4,_0xcba6f1,_0x3ca85f,_0x2ba51c){const _0x2624e3=a76_0x1da994,_0x21baae={};_0x21baae[_0x2624e3(0x1da)]='0|4|1|5|2|3';const _0x2039c6=_0x21baae,_0x517382=_0x2039c6[_0x2624e3(0x1da)][_0x2624e3(0x1d9)]('|');let _0x20b090=0x0;while(!![]){switch(_0x517382[_0x20b090++]){case'0':super(_0x1633e4);continue;case'1':this[_0x2624e3(0x1c9)]=_0x3ca85f;continue;case'2':this[_0x2624e3(0x1d2)]=AutomationFrameworkState[_0x2624e3(0x1de)];continue;case'3':this[_0x2624e3(0x1d1)]=now[_0x2624e3(0x1c6)]();continue;case'4':this['frameworkName']=_0xcba6f1;continue;case'5':this['state']=_0x2ba51c;continue;}break;}}['getFrameworkName'](){return this['frameworkName'];}[a76_0x1da994(0x1db)](){const _0x5180cf=a76_0x1da994;return this[_0x5180cf(0x1c9)];}[a76_0x1da994(0x1ce)](){const _0x28d1f5=a76_0x1da994;return this[_0x28d1f5(0x1c8)];}['setState'](_0x119b61){const _0x14e51d=a76_0x1da994;this[_0x14e51d(0x1d2)]=this[_0x14e51d(0x1c8)],this['state']=_0x119b61;}}module[a76_0x1da994(0x1d7)]=AutomationFrameworkInstance;
@@ -1 +1 @@
1
- const a77_0x3abafa=a77_0x32fc;(function(_0x35e27e,_0x204a26){const _0x4f5053=a77_0x32fc,_0x569105=_0x35e27e();while(!![]){try{const _0x563ec8=parseInt(_0x4f5053(0xd5))/0x1+-parseInt(_0x4f5053(0xbc))/0x2*(parseInt(_0x4f5053(0xd7))/0x3)+parseInt(_0x4f5053(0xcc))/0x4*(-parseInt(_0x4f5053(0xdb))/0x5)+parseInt(_0x4f5053(0xb9))/0x6*(parseInt(_0x4f5053(0xc6))/0x7)+parseInt(_0x4f5053(0xb0))/0x8*(-parseInt(_0x4f5053(0xd1))/0x9)+parseInt(_0x4f5053(0xc0))/0xa+parseInt(_0x4f5053(0xc1))/0xb;if(_0x563ec8===_0x204a26)break;else _0x569105['push'](_0x569105['shift']());}catch(_0x3457aa){_0x569105['push'](_0x569105['shift']());}}}(a77_0x3872,0x19596));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a77_0x3abafa(0xde)),HookState=require(a77_0x3abafa(0xdc)),TestFrameworkState=require(a77_0x3abafa(0xba)),TrackedContext=require('./trackedContext'),TrackedInstance=require(a77_0x3abafa(0xdd)),now=new Date();function a77_0x32fc(_0x243461,_0x55856a){const _0x387216=a77_0x3872();return a77_0x32fc=function(_0x32fc75,_0x413be0){_0x32fc75=_0x32fc75-0xb0;let _0x2eb104=_0x387216[_0x32fc75];return _0x2eb104;},a77_0x32fc(_0x243461,_0x55856a);}class TestFrameworkInstance extends TrackedInstance{constructor(_0x451e9a,_0x696c2b,_0xbf94fb,_0x2886cc,_0x1518c6){const _0x245400=a77_0x3abafa,_0x16471a={};_0x16471a[_0x245400(0xbe)]=_0x245400(0xd2);const _0xc0979b=_0x16471a,_0x1fc39a=_0xc0979b['HTmEu'][_0x245400(0xc5)]('|');let _0x5ad070=0x0;while(!![]){switch(_0x1fc39a[_0x5ad070++]){case'0':this[_0x245400(0xb3)]=HookState[_0x245400(0xbf)];continue;case'1':this[_0x245400(0xb6)]=TestFrameworkState[_0x245400(0xbf)];continue;case'2':this[_0x245400(0xc8)]=now[_0x245400(0xd9)]();continue;case'3':this['currentHookState']=_0x1518c6;continue;case'4':super(_0x451e9a);continue;case'5':this[_0x245400(0xb8)]=_0xbf94fb;continue;case'6':this[_0x245400(0xdf)]=_0x696c2b;continue;case'7':this[_0x245400(0xcd)]=new Map();continue;case'8':this['currentTestState']=_0x2886cc;continue;}break;}}['getCurrentTestState'](){const _0x5ec593=a77_0x3abafa;return this[_0x5ec593(0xb1)];}[a77_0x3abafa(0xd8)](_0x13aac7){const _0xfde6=a77_0x3abafa;this[_0xfde6(0xbb)](this['currentTestState']),this[_0xfde6(0xb1)]=_0x13aac7;}[a77_0x3abafa(0xd0)](){return this['currentHookState'];}[a77_0x3abafa(0xc3)](_0x4ce960){const _0x33c9c7=a77_0x3abafa;this[_0x33c9c7(0xd6)](this[_0x33c9c7(0xb2)]),this[_0x33c9c7(0xb2)]=_0x4ce960;}[a77_0x3abafa(0xcb)](){const _0x33b0c6=a77_0x3abafa;return this[_0x33b0c6(0xb6)];}[a77_0x3abafa(0xbb)](_0xfa53c3){this['lastTestState']=_0xfa53c3;}[a77_0x3abafa(0xca)](){const _0x54917f=a77_0x3abafa;return this[_0x54917f(0xb3)];}['setLastHookState'](_0x24b808){const _0x5730a7=a77_0x3abafa;this[_0x5730a7(0xb3)]=_0x24b808;}[a77_0x3abafa(0xc4)](){return this['createdAt'];}[a77_0x3abafa(0xd4)](_0x4f04b2,_0x418d2e){const _0x4ed3ce=a77_0x3abafa;!this['pendingHooks'][_0x4ed3ce(0xce)](_0x4f04b2)&&this[_0x4ed3ce(0xcd)][_0x4ed3ce(0xb5)](_0x4f04b2,[]),this[_0x4ed3ce(0xcd)][_0x4ed3ce(0xb7)](_0x4f04b2)[_0x4ed3ce(0xb4)](_0x418d2e);}[a77_0x3abafa(0xc2)](_0x25736b){return this['pendingHooks']['get'](_0x25736b)||[];}[a77_0x3abafa(0xc9)](_0x118ae3){const _0x455c27=a77_0x3abafa;this[_0x455c27(0xcd)][_0x455c27(0xd3)](_0x118ae3);}[a77_0x3abafa(0xcf)](_0x44b5d3){const _0x598829=a77_0x3abafa;return this[_0x598829(0xcd)][_0x598829(0xce)](_0x44b5d3);}[a77_0x3abafa(0xc7)](){const _0x5b779c=a77_0x3abafa;return Array[_0x5b779c(0xda)](this['pendingHooks'][_0x5b779c(0xbd)]());}}module[a77_0x3abafa(0xe0)]=TestFrameworkInstance;function a77_0x3872(){const _0x531794=['from','40335hRGHzN','../state/hookState','./trackedInstance','TrackedInstance','testFrameworks','exports','16Honzbn','currentTestState','currentHookState','lastHookState','push','set','lastTestState','get','testFrameworksVersions','918BKDOmK','../state/testFrameworkState','setLastTestState','220DXqczg','keys','HTmEu','NONE','1333760xhyxvh','645876JoVNax','getPendingHooks','setCurrentHookState','getCreatedAt','split','3220PduKPd','getAllPendingHookTestIds','createdAt','removePendingHooks','getLastHookState','getLastTestState','68SgPlsT','pendingHooks','has','hasPendingHooks','getCurrentHookState','36513JarNPe','4|6|5|8|3|1|0|2|7','delete','addPendingHook','110801uAyope','setLastHookState','3387VPzPDO','setCurrentTestState','toLocaleString'];a77_0x3872=function(){return _0x531794;};return a77_0x3872();}
1
+ const a77_0x382582=a77_0x222c;(function(_0x43d91c,_0x426c51){const _0x283a43=a77_0x222c,_0x5170cb=_0x43d91c();while(!![]){try{const _0x3d393a=-parseInt(_0x283a43(0x10e))/0x1*(parseInt(_0x283a43(0x100))/0x2)+parseInt(_0x283a43(0x117))/0x3+parseInt(_0x283a43(0x104))/0x4*(-parseInt(_0x283a43(0x126))/0x5)+-parseInt(_0x283a43(0x128))/0x6+parseInt(_0x283a43(0x116))/0x7+-parseInt(_0x283a43(0x118))/0x8*(-parseInt(_0x283a43(0x105))/0x9)+-parseInt(_0x283a43(0x10d))/0xa*(parseInt(_0x283a43(0x103))/0xb);if(_0x3d393a===_0x426c51)break;else _0x5170cb['push'](_0x5170cb['shift']());}catch(_0x17ae27){_0x5170cb['push'](_0x5170cb['shift']());}}}(a77_0x18f0,0xc84b4));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a77_0x382582(0x112)),HookState=require(a77_0x382582(0x115)),TestFrameworkState=require(a77_0x382582(0x11c)),TrackedContext=require('./trackedContext'),TrackedInstance=require(a77_0x382582(0x125)),now=new Date();function a77_0x18f0(){const _0x342df0=['4777872RSKwcO','3504208wLPKTt','has','pendingHooks','lastTestState','../state/testFrameworkState','keys','mdSqT','getPendingHooks','set','setLastTestState','getLastHookState','removePendingHooks','lastHookState','./trackedInstance','25FJNaZQ','getCurrentHookState','4197516IvYneV','testFrameworks','7|0|2|3|8|1|6|4|5','getCurrentTestState','290LwmJQC','getLastTestState','testFrameworksVersions','1639154DSywHv','154092azVhRg','9hUUmHc','get','currentTestState','split','toLocaleString','createdAt','setCurrentHookState','setLastHookState','10dCCoxI','10657lyeWLF','NONE','exports','getAllPendingHookTestIds','TrackedInstance','setCurrentTestState','currentHookState','../state/hookState','9633638oBBZjf'];a77_0x18f0=function(){return _0x342df0;};return a77_0x18f0();}function a77_0x222c(_0xe8cf12,_0x70f231){const _0x18f0d5=a77_0x18f0();return a77_0x222c=function(_0x222c36,_0x37b95b){_0x222c36=_0x222c36-0xfe;let _0xb973ab=_0x18f0d5[_0x222c36];return _0xb973ab;},a77_0x222c(_0xe8cf12,_0x70f231);}class TestFrameworkInstance extends TrackedInstance{constructor(_0x309f49,_0x58dbd3,_0x1bba25,_0x55941a,_0x3d25a4){const _0x34d920=a77_0x382582,_0x651c7e={};_0x651c7e[_0x34d920(0x11e)]=_0x34d920(0xfe);const _0x204539=_0x651c7e,_0x1c6960=_0x204539['mdSqT'][_0x34d920(0x108)]('|');let _0x46779a=0x0;while(!![]){switch(_0x1c6960[_0x46779a++]){case'0':this[_0x34d920(0x129)]=_0x58dbd3;continue;case'1':this['lastTestState']=TestFrameworkState[_0x34d920(0x10f)];continue;case'2':this[_0x34d920(0x102)]=_0x1bba25;continue;case'3':this[_0x34d920(0x107)]=_0x55941a;continue;case'4':this[_0x34d920(0x10a)]=now[_0x34d920(0x109)]();continue;case'5':this['pendingHooks']=new Map();continue;case'6':this[_0x34d920(0x124)]=HookState[_0x34d920(0x10f)];continue;case'7':super(_0x309f49);continue;case'8':this['currentHookState']=_0x3d25a4;continue;}break;}}[a77_0x382582(0xff)](){const _0x42d1b1=a77_0x382582;return this[_0x42d1b1(0x107)];}[a77_0x382582(0x113)](_0x118e31){const _0x2e8df9=a77_0x382582;this[_0x2e8df9(0x121)](this[_0x2e8df9(0x107)]),this[_0x2e8df9(0x107)]=_0x118e31;}[a77_0x382582(0x127)](){const _0x531218=a77_0x382582;return this[_0x531218(0x114)];}[a77_0x382582(0x10b)](_0x41081e){const _0x37ea15=a77_0x382582;this[_0x37ea15(0x10c)](this[_0x37ea15(0x114)]),this['currentHookState']=_0x41081e;}[a77_0x382582(0x101)](){const _0x569544=a77_0x382582;return this[_0x569544(0x11b)];}[a77_0x382582(0x121)](_0x2f375d){const _0x9eee99=a77_0x382582;this[_0x9eee99(0x11b)]=_0x2f375d;}[a77_0x382582(0x122)](){const _0x1a9acf=a77_0x382582;return this[_0x1a9acf(0x124)];}[a77_0x382582(0x10c)](_0x490500){const _0x1d9b14=a77_0x382582;this[_0x1d9b14(0x124)]=_0x490500;}['getCreatedAt'](){const _0x3298ea=a77_0x382582;return this[_0x3298ea(0x10a)];}['addPendingHook'](_0x2dd80c,_0xf02081){const _0x5510d5=a77_0x382582;!this[_0x5510d5(0x11a)][_0x5510d5(0x119)](_0x2dd80c)&&this[_0x5510d5(0x11a)][_0x5510d5(0x120)](_0x2dd80c,[]),this[_0x5510d5(0x11a)]['get'](_0x2dd80c)['push'](_0xf02081);}[a77_0x382582(0x11f)](_0x6a67bc){const _0x142677=a77_0x382582;return this[_0x142677(0x11a)][_0x142677(0x106)](_0x6a67bc)||[];}[a77_0x382582(0x123)](_0x39fce4){const _0x3d678d=a77_0x382582;this[_0x3d678d(0x11a)]['delete'](_0x39fce4);}['hasPendingHooks'](_0x240001){const _0x512e0e=a77_0x382582;return this[_0x512e0e(0x11a)][_0x512e0e(0x119)](_0x240001);}[a77_0x382582(0x111)](){const _0x4f3cc3=a77_0x382582;return Array['from'](this[_0x4f3cc3(0x11a)][_0x4f3cc3(0x11d)]());}}module[a77_0x382582(0x110)]=TestFrameworkInstance;
@@ -1 +1 @@
1
- function a78_0x4c62(){const _0x3e8d78=['140346jxdRwJ','getType','3501440FdtymS','getThreadId','exports','1164705abVsay','9iCRLXw','38sIUKvi','9999520Igaqlc','315088anlkNq','processId','14589tdFXzr','1813938YtfPeL','getId','12BRRuFB','getProcessId','type','TrackedContext','threadId'];a78_0x4c62=function(){return _0x3e8d78;};return a78_0x4c62();}const a78_0x24be99=a78_0x3596;(function(_0x6e8193,_0x247ef4){const _0x1255ce=a78_0x3596,_0x2de9fd=_0x6e8193();while(!![]){try{const _0x1b3b1d=-parseInt(_0x1255ce(0x19c))/0x1*(-parseInt(_0x1255ce(0x198))/0x2)+-parseInt(_0x1255ce(0x1a4))/0x3+parseInt(_0x1255ce(0x19a))/0x4+-parseInt(_0x1255ce(0x196))/0x5*(parseInt(_0x1255ce(0x19f))/0x6)+parseInt(_0x1255ce(0x19d))/0x7+-parseInt(_0x1255ce(0x193))/0x8+parseInt(_0x1255ce(0x197))/0x9*(parseInt(_0x1255ce(0x199))/0xa);if(_0x1b3b1d===_0x247ef4)break;else _0x2de9fd['push'](_0x2de9fd['shift']());}catch(_0x305ab7){_0x2de9fd['push'](_0x2de9fd['shift']());}}}(a78_0x4c62,0xa2481));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a78_0x24be99(0x1a2));function a78_0x3596(_0x4722c1,_0x7392d9){const _0x4c6221=a78_0x4c62();return a78_0x3596=function(_0x35961a,_0x417edb){_0x35961a=_0x35961a-0x193;let _0x3e39b5=_0x4c6221[_0x35961a];return _0x3e39b5;},a78_0x3596(_0x4722c1,_0x7392d9);}class TrackedContext{constructor(_0x3cd8fa,_0x391525,_0x2466a2,_0x2ab017){const _0x3b01b3=a78_0x24be99;this['id']=_0x3cd8fa,this[_0x3b01b3(0x1a3)]=_0x391525,this[_0x3b01b3(0x19b)]=_0x2466a2,this[_0x3b01b3(0x1a1)]=_0x2ab017;}[a78_0x24be99(0x194)](){return this['threadId'];}[a78_0x24be99(0x1a0)](){return this['processId'];}[a78_0x24be99(0x19e)](){return this['id'];}[a78_0x24be99(0x1a5)](){const _0x3f10f4=a78_0x24be99;return this[_0x3f10f4(0x1a1)];}}module[a78_0x24be99(0x195)]=TrackedContext;
1
+ const a78_0x346b49=a78_0x5274;(function(_0x1a5077,_0x49a51b){const _0x429448=a78_0x5274,_0x3d7c0c=_0x1a5077();while(!![]){try{const _0x241604=-parseInt(_0x429448(0x1f6))/0x1+parseInt(_0x429448(0x1f2))/0x2+parseInt(_0x429448(0x1f7))/0x3*(parseInt(_0x429448(0x1f5))/0x4)+-parseInt(_0x429448(0x1fc))/0x5*(parseInt(_0x429448(0x1f0))/0x6)+parseInt(_0x429448(0x1f8))/0x7+parseInt(_0x429448(0x1f4))/0x8*(-parseInt(_0x429448(0x1f3))/0x9)+parseInt(_0x429448(0x1f1))/0xa;if(_0x241604===_0x49a51b)break;else _0x3d7c0c['push'](_0x3d7c0c['shift']());}catch(_0x657095){_0x3d7c0c['push'](_0x3d7c0c['shift']());}}}(a78_0x42e6,0x59de9));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a78_0x346b49(0x1fe));function a78_0x5274(_0x48fc1a,_0x22285a){const _0x42e656=a78_0x42e6();return a78_0x5274=function(_0x52740e,_0xca829d){_0x52740e=_0x52740e-0x1ed;let _0x4aefb6=_0x42e656[_0x52740e];return _0x4aefb6;},a78_0x5274(_0x48fc1a,_0x22285a);}class TrackedContext{constructor(_0x37c3ea,_0x22f0ba,_0x4802b9,_0x1468f6){const _0x46f243=a78_0x346b49;this['id']=_0x37c3ea,this[_0x46f243(0x1ee)]=_0x22f0ba,this[_0x46f243(0x1f9)]=_0x4802b9,this[_0x46f243(0x1ed)]=_0x1468f6;}[a78_0x346b49(0x1fb)](){const _0x5a162f=a78_0x346b49;return this[_0x5a162f(0x1ee)];}[a78_0x346b49(0x1fd)](){const _0x17e8fb=a78_0x346b49;return this[_0x17e8fb(0x1f9)];}[a78_0x346b49(0x1fa)](){return this['id'];}[a78_0x346b49(0x1ef)](){const _0x408230=a78_0x346b49;return this[_0x408230(0x1ed)];}}module['exports']=TrackedContext;function a78_0x42e6(){const _0x2fb16c=['1868502XwmFrb','6445820hrCfjQ','122214yDusnH','81xDmxYF','309288ONrWyE','1636YvrzhQ','700770AwjNMO','3063gdbmEe','4234741CbgtrR','processId','getId','getThreadId','5OqEEzu','getProcessId','TrackedContext','type','threadId','getType'];a78_0x42e6=function(){return _0x2fb16c;};return a78_0x42e6();}
@@ -1 +1 @@
1
- const a79_0x1c71a4=a79_0x2b24;(function(_0x519df5,_0x59f2d9){const _0x4004bd=a79_0x2b24,_0xb44942=_0x519df5();while(!![]){try{const _0x4b295c=parseInt(_0x4004bd(0x166))/0x1*(-parseInt(_0x4004bd(0x168))/0x2)+-parseInt(_0x4004bd(0x171))/0x3+-parseInt(_0x4004bd(0x174))/0x4*(parseInt(_0x4004bd(0x159))/0x5)+parseInt(_0x4004bd(0x16f))/0x6+-parseInt(_0x4004bd(0x15b))/0x7*(-parseInt(_0x4004bd(0x152))/0x8)+parseInt(_0x4004bd(0x167))/0x9*(-parseInt(_0x4004bd(0x160))/0xa)+parseInt(_0x4004bd(0x164))/0xb;if(_0x4b295c===_0x59f2d9)break;else _0xb44942['push'](_0xb44942['shift']());}catch(_0x4a7516){_0xb44942['push'](_0xb44942['shift']());}}}(a79_0x2c67,0x35f19));function a79_0x2b24(_0x37cef0,_0x1fdc4a){const _0x2c67c9=a79_0x2c67();return a79_0x2b24=function(_0x2b24f5,_0x3ddf36){_0x2b24f5=_0x2b24f5-0x152;let _0x4135e5=_0x2c67c9[_0x2b24f5];return _0x4135e5;},a79_0x2b24(_0x37cef0,_0x1fdc4a);}const TrackedContext=require(a79_0x1c71a4(0x170)),crypto=require(a79_0x1c71a4(0x16c)),{threadId}=require(a79_0x1c71a4(0x15d));class TrackedInstance{static [a79_0x1c71a4(0x157)]=a79_0x1c71a4(0x163);constructor(_0x28eb33){const _0x54ef4d=a79_0x1c71a4;this['context']=_0x28eb33,this[_0x54ef4d(0x177)]=new Map();}[a79_0x1c71a4(0x16a)](){const _0x37f4ce=a79_0x1c71a4;return this[_0x37f4ce(0x161)][_0x37f4ce(0x16e)]();}['getContext'](){const _0x3a2379=a79_0x1c71a4;return this[_0x3a2379(0x161)];}[a79_0x1c71a4(0x169)](){const _0x449490=a79_0x1c71a4;return this[_0x449490(0x177)];}[a79_0x1c71a4(0x16b)](_0x314322){const _0x5397b0=a79_0x1c71a4;Object[_0x5397b0(0x156)](_0x314322)['forEach'](_0x2394ae=>{const _0x592706=_0x5397b0;this[_0x592706(0x177)]['set'](_0x2394ae,_0x314322[_0x2394ae]);});}[a79_0x1c71a4(0x173)](_0x17792a){const _0x41278f=a79_0x1c71a4;Object['entries'](_0x17792a)[_0x41278f(0x175)](([_0x30e15f,_0x4bd2d0])=>{const _0x4dcac5=_0x41278f,_0x41fd05=this[_0x4dcac5(0x177)][_0x4dcac5(0x15a)](_0x30e15f)||{},_0x180587={..._0x41fd05,..._0x4bd2d0},_0x28c953=_0x180587;this['data'][_0x4dcac5(0x172)](_0x30e15f,_0x28c953);});}[a79_0x1c71a4(0x158)](_0x1e84da){const _0x472bc8=a79_0x1c71a4;return this['data'][_0x472bc8(0x15a)](_0x1e84da);}[a79_0x1c71a4(0x165)](_0x35e98c,_0x3ccfd9){const _0x3210de=a79_0x1c71a4;this['data'][_0x3210de(0x172)](_0x35e98c,_0x3ccfd9);}static[a79_0x1c71a4(0x176)](_0x3fc29d){const _0x1ed885=a79_0x1c71a4,_0x11a648={};_0x11a648[_0x1ed885(0x155)]=_0x1ed885(0x153),_0x11a648['hSmYl']='hex',_0x11a648[_0x1ed885(0x15f)]=function(_0x3e44bb,_0xbecedd){return _0x3e44bb||_0xbecedd;};const _0x1409eb=_0x11a648;return new TrackedContext(crypto[_0x1ed885(0x15e)](_0x1409eb[_0x1ed885(0x155)])['update'](_0x3fc29d)[_0x1ed885(0x15c)](_0x1409eb[_0x1ed885(0x162)]),_0x1409eb[_0x1ed885(0x15f)](threadId,0x0),process[_0x1ed885(0x154)],typeof _0x3fc29d);}}function a79_0x2c67(){const _0x16ced1=['1070QwcGxz','context','hSmYl','isBrowserstackAutomationSession','12472383wNGkca','updateData','1447nZUgVl','32949yYNvLe','610DXtKTP','getAllData','getRef','updateMultipleEntries','crypto','exports','getId','223518PyUHlf','./trackedContext','300765zexhWk','set','addMultipleEntries','4wwiwdx','forEach','createContext','data','1640KjbYly','sha256','pid','ijgsI','keys','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','getData','1981455iwYOOX','get','12957iukVTG','digest','worker_threads','createHash','gpneI'];a79_0x2c67=function(){return _0x16ced1;};return a79_0x2c67();}module[a79_0x1c71a4(0x16d)]=TrackedInstance;
1
+ function a79_0x19e9(){const _0xbd3bab=['VRuAK','forEach','context','keys','Jnngv','10mYzcTL','1022922IoOlxM','getData','3TlAUar','createHash','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','./trackedContext','data','1841292YsIwNt','getRef','nvXRT','get','91jcVkAZ','3062148queCIh','169576DUekwH','getId','updateMultipleEntries','entries','update','crypto','getContext','45ZVfouS','sha256','digest','pid','470rinDBm','1200311mhkicA','set','704232KHtSyv','exports','hex','2JlxNwr','704919Xkqxoe'];a79_0x19e9=function(){return _0xbd3bab;};return a79_0x19e9();}const a79_0x52ea90=a79_0x185f;(function(_0x422005,_0x40bb10){const _0x165cad=a79_0x185f,_0xe9a4e5=_0x422005();while(!![]){try{const _0x3e8fde=-parseInt(_0x165cad(0x168))/0x1*(parseInt(_0x165cad(0x167))/0x2)+-parseInt(_0x165cad(0x171))/0x3*(parseInt(_0x165cad(0x176))/0x4)+parseInt(_0x165cad(0x16e))/0x5*(-parseInt(_0x165cad(0x16f))/0x6)+-parseInt(_0x165cad(0x188))/0x7+-parseInt(_0x165cad(0x18a))/0x8*(parseInt(_0x165cad(0x183))/0x9)+parseInt(_0x165cad(0x187))/0xa*(parseInt(_0x165cad(0x17c))/0xb)+-parseInt(_0x165cad(0x17b))/0xc*(-parseInt(_0x165cad(0x17a))/0xd);if(_0x3e8fde===_0x40bb10)break;else _0xe9a4e5['push'](_0xe9a4e5['shift']());}catch(_0x4c4742){_0xe9a4e5['push'](_0xe9a4e5['shift']());}}}(a79_0x19e9,0x5ff0b));function a79_0x185f(_0x463b68,_0x40cacf){const _0x19e9a6=a79_0x19e9();return a79_0x185f=function(_0x185f9c,_0x53596d){_0x185f9c=_0x185f9c-0x166;let _0x19f294=_0x19e9a6[_0x185f9c];return _0x19f294;},a79_0x185f(_0x463b68,_0x40cacf);}const TrackedContext=require(a79_0x52ea90(0x174)),crypto=require(a79_0x52ea90(0x181)),{threadId}=require('worker_threads');class TrackedInstance{static [a79_0x52ea90(0x173)]='isBrowserstackAutomationSession';constructor(_0x2c8050){const _0x319f89=a79_0x52ea90;this[_0x319f89(0x16b)]=_0x2c8050,this[_0x319f89(0x175)]=new Map();}[a79_0x52ea90(0x177)](){const _0x57d529=a79_0x52ea90;return this[_0x57d529(0x16b)][_0x57d529(0x17d)]();}[a79_0x52ea90(0x182)](){const _0x59eb47=a79_0x52ea90;return this[_0x59eb47(0x16b)];}['getAllData'](){const _0x515349=a79_0x52ea90;return this[_0x515349(0x175)];}[a79_0x52ea90(0x17e)](_0x4c5f57){const _0x5ee768=a79_0x52ea90;Object[_0x5ee768(0x16c)](_0x4c5f57)[_0x5ee768(0x16a)](_0x5b0795=>{const _0x47d087=_0x5ee768;this[_0x47d087(0x175)][_0x47d087(0x189)](_0x5b0795,_0x4c5f57[_0x5b0795]);});}['addMultipleEntries'](_0x7ee6c9){const _0x11a316=a79_0x52ea90;Object[_0x11a316(0x17f)](_0x7ee6c9)[_0x11a316(0x16a)](([_0x33ced3,_0x5e95f0])=>{const _0x29ef22=_0x11a316,_0x5e68e2=this[_0x29ef22(0x175)][_0x29ef22(0x179)](_0x33ced3)||{},_0x5cbf94={..._0x5e68e2,..._0x5e95f0},_0x2ebe7d=_0x5cbf94;this[_0x29ef22(0x175)][_0x29ef22(0x189)](_0x33ced3,_0x2ebe7d);});}[a79_0x52ea90(0x170)](_0x3db3bd){const _0x4dbbc9=a79_0x52ea90;return this[_0x4dbbc9(0x175)][_0x4dbbc9(0x179)](_0x3db3bd);}['updateData'](_0x50f8c9,_0x3935c5){const _0xb6832b=a79_0x52ea90;this[_0xb6832b(0x175)][_0xb6832b(0x189)](_0x50f8c9,_0x3935c5);}static['createContext'](_0x9e7d1e){const _0x40f0cf=a79_0x52ea90,_0x49f266={};_0x49f266[_0x40f0cf(0x178)]=_0x40f0cf(0x184),_0x49f266[_0x40f0cf(0x16d)]=_0x40f0cf(0x166),_0x49f266[_0x40f0cf(0x169)]=function(_0x34baba,_0x324a68){return _0x34baba||_0x324a68;};const _0x24bc08=_0x49f266;return new TrackedContext(crypto[_0x40f0cf(0x172)](_0x24bc08[_0x40f0cf(0x178)])[_0x40f0cf(0x180)](_0x9e7d1e)[_0x40f0cf(0x185)](_0x24bc08[_0x40f0cf(0x16d)]),_0x24bc08[_0x40f0cf(0x169)](threadId,0x0),process[_0x40f0cf(0x186)],typeof _0x9e7d1e);}}module[a79_0x52ea90(0x18b)]=TrackedInstance;