browserstack-node-sdk 1.55.6 → 1.56.0

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 (204) 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/generated/sdk-messages_pb.d.ts +64 -0
  41. package/generated/sdk-messages_pb.js +512 -0
  42. package/generated/sdk_grpc_pb.d.ts +5 -0
  43. package/generated/sdk_grpc_pb.js +33 -0
  44. package/package.json +3 -2
  45. package/src/ai-sdk-node/bundle.js +1 -1
  46. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  47. package/src/bin/codeceptjs/command.js +1 -1
  48. package/src/bin/codeceptjs/helper.js +1 -1
  49. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  50. package/src/bin/cucumber-js/command.js +1 -1
  51. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  52. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  53. package/src/bin/cucumber-js/test-observability.js +1 -1
  54. package/src/bin/cucumber-js/test.setup.js +1 -1
  55. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  56. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  57. package/src/bin/integrations/command.js +1 -1
  58. package/src/bin/integrations/constants.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  79. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  80. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  81. package/src/bin/mocha/test.setup.js +1 -1
  82. package/src/bin/newman/command.js +1 -1
  83. package/src/bin/newman/helper.js +1 -1
  84. package/src/bin/newman/reporter/index.js +1 -1
  85. package/src/bin/newman/scriptRunner.js +1 -1
  86. package/src/bin/nightwatch/command.js +1 -1
  87. package/src/bin/playwright/accessibility-helper.js +1 -1
  88. package/src/bin/playwright/command.js +1 -1
  89. package/src/bin/playwright/globalSetup.js +1 -1
  90. package/src/bin/playwright/mock-process.js +1 -1
  91. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  92. package/src/bin/playwright/patches.js +1 -1
  93. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  94. package/src/bin/playwright/reporter/reporter.js +1 -1
  95. package/src/bin/playwright/reporter/test-details.js +1 -1
  96. package/src/bin/playwright/sessionDetails.js +1 -1
  97. package/src/bin/puppeteer/patches.js +1 -1
  98. package/src/bin/puppeteer/sessionDetails.js +1 -1
  99. package/src/bin/puppeteer/test.setup.js +1 -1
  100. package/src/bin/runner.js +1 -1
  101. package/src/bin/setup.js +1 -1
  102. package/src/bin/test-runner/index.js +1 -1
  103. package/src/bin/test-runner/runTest.js +1 -1
  104. package/src/bin/test-runner/testWorker.js +1 -1
  105. package/src/bin/utils/apiUtilityMethods.js +1 -1
  106. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  107. package/src/bin/utils/constants.js +1 -1
  108. package/src/bin/utils/log4jsAppender.js +1 -1
  109. package/src/bin/utils/logPatcher.js +1 -1
  110. package/src/bin/utils/logReportingAPI.js +1 -1
  111. package/src/bin/utils/playwright-patcher.js +1 -1
  112. package/src/bin/utils/puppeteer-patcher.js +1 -1
  113. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  114. package/src/bin/utils/sharedUtils.js +1 -1
  115. package/src/bin/v2/TestInfo.js +1 -1
  116. package/src/bin/v2/browserstackCLI.js +1 -1
  117. package/src/bin/v2/cliUtils.js +1 -1
  118. package/src/bin/v2/customTagManager.js +1 -1
  119. package/src/bin/v2/eventDispatcher.js +1 -1
  120. package/src/bin/v2/framework/automationFramework.js +1 -1
  121. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  122. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  123. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  124. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  125. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  126. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  127. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  128. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  129. package/src/bin/v2/framework/testFramework.js +1 -1
  130. package/src/bin/v2/grpcClient.js +1 -1
  131. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  132. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  133. package/src/bin/v2/instances/trackedContext.js +1 -1
  134. package/src/bin/v2/instances/trackedInstance.js +1 -1
  135. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  136. package/src/bin/v2/modules/baseModule.js +1 -1
  137. package/src/bin/v2/modules/loadTestModule.js +1 -1
  138. package/src/bin/v2/modules/observabilityModule.js +1 -1
  139. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  140. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  141. package/src/bin/v2/modules/testhubModule.js +1 -1
  142. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  143. package/src/bin/v2/state/hookState.js +1 -1
  144. package/src/bin/v2/state/testFrameworkState.js +1 -1
  145. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  146. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  147. package/src/bin/v2/utils/jest-utils.js +1 -1
  148. package/src/bin/vanilla-js/command.js +1 -1
  149. package/src/browserStackSdk.js +1 -1
  150. package/src/helpers/BrowserStackSetup.js +1 -1
  151. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  152. package/src/helpers/accessibility-automation/constants.js +1 -1
  153. package/src/helpers/accessibility-automation/helper.js +1 -1
  154. package/src/helpers/accessibility-automation/scripts.js +1 -1
  155. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  156. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  157. package/src/helpers/ats/constants.js +1 -1
  158. package/src/helpers/ats/helper.js +1 -1
  159. package/src/helpers/caCertHelper.js +1 -0
  160. package/src/helpers/capsMapping.js +1 -1
  161. package/src/helpers/central-scanner/constants.js +1 -1
  162. package/src/helpers/central-scanner/helpers.js +1 -1
  163. package/src/helpers/classLogger.js +1 -1
  164. package/src/helpers/globals.js +1 -1
  165. package/src/helpers/helper.js +1 -1
  166. package/src/helpers/logger.js +1 -1
  167. package/src/helpers/metadata.js +1 -1
  168. package/src/helpers/patchHelper.js +1 -1
  169. package/src/helpers/patchHelpers.js +1 -1
  170. package/src/helpers/percy/Percy.js +1 -1
  171. package/src/helpers/percy/PercyBinary.js +1 -1
  172. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  173. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  174. package/src/helpers/percy/PercySDK.js +1 -1
  175. package/src/helpers/percy/index.js +1 -1
  176. package/src/helpers/percy/utils.js +1 -1
  177. package/src/helpers/performance/constants.js +1 -1
  178. package/src/helpers/performance/performance-tester.js +1 -1
  179. package/src/helpers/playwright-helper.js +1 -1
  180. package/src/helpers/processHelper.js +1 -1
  181. package/src/helpers/puppeteer-helper.js +1 -1
  182. package/src/helpers/request-spy.js +1 -1
  183. package/src/helpers/setKeepAlive.js +1 -1
  184. package/src/helpers/stackFrameUtils.js +1 -1
  185. package/src/helpers/test-observability/constants.js +1 -1
  186. package/src/helpers/test-observability/error-handler.js +1 -1
  187. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  188. package/src/helpers/test-observability/sessionHandler.js +1 -1
  189. package/src/helpers/test-observability/utils.js +1 -1
  190. package/src/helpers/test-orchestration/constants.js +1 -1
  191. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  192. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  193. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  194. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  195. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  196. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  197. package/src/helpers/testhub/constants.js +1 -1
  198. package/src/helpers/testhub/testhubHandler.js +1 -1
  199. package/src/helpers/testhub/utils.js +1 -1
  200. package/src/helpers/timeoutPromise.js +1 -1
  201. package/src/helpers/utilities.js +1 -1
  202. package/src/helpers/w3cMapping.js +1 -1
  203. package/src/hubAllocationMethods.js +1 -1
  204. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a82_0xa018(_0x508cae,_0x44d66e){const _0x2c8848=a82_0x2c88();return a82_0xa018=function(_0xa0186e,_0x48722b){_0xa0186e=_0xa0186e-0x159;let _0xafcb87=_0x2c8848[_0xa0186e];return _0xafcb87;},a82_0xa018(_0x508cae,_0x44d66e);}function a82_0x2c88(){const _0x3039df=['error','getTestDetails','\x20testHookState=','keyword','timedOut','startedAt','trim','getProcessId','attachments','20qxPyBB','dwEXp','FIZFh','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_TEST_FILE_PATH','QXsiA','lBtVm','errors','KEY_LOGS','KEY_HOOKS_STARTED','getRef','nmRXf','MuFel','\x20payload=','getTime','getThreadId','ksJXP','RsqMD','\x20result=','logCreatedEvent','7091692GRWVed','KEY_TEST_ENDED_AT','../../../helpers/classLogger.js','nIDxK','1759866NXHhfz','started_at','TEST_ATTACHMENT','browserstackPlatformIndex','parent_id','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','split','\x20target=','endedAt','2220760DDVfFE','5YQSXgR','testFrameworkVersion','Error\x20processing\x20direct\x20trace\x20file\x20','KEY_TEST_RESULT_AT','util','zaENW','VdiMX','PRE','ceil','AHcrh','31770eFsSDR','filePath','trackStepEvent','../../../helpers/helper.js','inspect','test','getCurrentTestState','yXTjo','values','uuid','basename','OyLPk','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','pop','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','err','IsBsp','KEY_TEST_LOGS','qwHiA','elRxY','KEY_TEST_FAILURE','result','createContext','KEY_HOOK_FAILURE','ynWAg','getId','Tahig','qMOLz','KEY_EVENT_STARTED_AT','ljPfB','PlaywrightTestFramework','KEY_TEST_FRAMEWORK_NAME','path','trackStepEvent:\x20testId=','28311180yKrqUb','ousWN','bBauq','sismy','moAbt','KEY_TEST_FRAMEWORK_VERSION','dKNJf','KEY_TEST_UUID','file_name','eRGDi','bhnnA','zIDDd','pPsat','\x20and\x20args\x20=\x20','KEY_HOOK_LAST_FINISHED','set','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_FAILURE_TYPE','trackPlaywrightInstance','status','some','startTime','\x20from\x20TestDetails:\x20','notRP','get','../state/hookState.js','KEY_TEST_ATTACHMENTS','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','wqBxT','KEY_TEST_FAILURE_REASON','getCurrentHookState','KEY_AUTOMATE_SESSION_NAME','Error\x20processing\x20trace\x20file\x20','INIT_TEST','../../../helpers/test-observability/utils','\x20hookState:\x20','4136dQPvIc','26XoPoLF','9708DVWPIV','KEY_TEST_RETRY_OF','TEST_STEP','BaOdV','forEach','NONE','vCLDm','getTestFrameworksVersions','\x20testState:\x20','eQpCV','../instances/testFrameworkInstance.js','toISOString','concat','DEFAULT_HOOK_RESULT','createTestFrameworkEventPayload','KEY_CUSTOM_TAGS','OFrLD','from','parsePlaywrightTest','sendLogCreatedEvent','baBYM','getTraceFilePaths','retry','executionContext','\x20batch\x20','eventJson','failure','text','DvQUQ','zVFkq','ZFoUO','size','cRPMp','push','tRCUI','testUId','KEY_HOOK_RESULT','filter','KEY_HOOK_FAILURE_TYPE','uOaJK','duration','annotations','\x20instanceId=','KEY_TEST_RERUN_NAME','message','nxtvr','tsDJK','vdiZF','getTestUUID','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','KEY_HOOK_FAILURE_REASON','trackEvent','ruglT','base64','parsePlaywrightTestResult','22SyhZzU','logs','KEY_TEST_TAGS','6PMFuWs','leQao','KEY_TEST_SCOPES','./constants/testFrameworkConstants.js','rxKsX','../cliUtils.js','KEY_HOOKS_FINISHED','kHsNL','KEY_TEST_SCOPE','debug','slice','parsePlaywrightTestResult:\x20extracted\x20','hook','stack','toString','exports',',\x20testFrameworkState=','oLDKH','sendLogCreatedEvent\x20for\x20testId:\x20','XTjVj','KEY_HOOK_ID','cDTod','hookState','getTestFrameworks','map','KEY_TEST_RESULT','info','eiIQG','DAcsC','aslYg','getTestIdentifierFromTestInfo','OmYvu','length','oQOFy','description','KEY_TEST_NAME','\x20&\x20hook\x20=\x20','Expected\x20to\x20fail,\x20but\x20passed.','KEY_EVENT_ENDED_AT','setTestDetails','resolveInstance','MuQRJ','\x20\x20and\x20args\x20=\x20','getAllData','trackStepEvent:\x20exception=','steps','setTrackedInstance','Hook\x20List\x20in\x20Post\x20','getContext','failed','parallelIndex','passed','matchHookRegex','field_type','JCKob','Error\x20in\x20sendLogCreatedEvent:\x20','MAX_NESTED_STEP_DEPTH','runHooks','addMultipleEntries','format','platformIndex','5355959CmSpqg','trackHookEvent','multi_dropdown','skipped','TEST','title','KEY_TEST_STARTED_AT','failure_type','results','../TestInfo.js','statSync','kUjsO','\x20steps\x20for\x20testId=','\x20hookState=','mlPHB','nhLNO','\x20response=','expectedStatus','jkcDT','xHgoO','jhDZz','../instances/trackedInstance.js',',\x20state=','mPXws'];a82_0x2c88=function(){return _0x3039df;};return a82_0x2c88();}const a82_0x23e15a=a82_0xa018;(function(_0x3be5ab,_0x34aec2){const _0x44e45f=a82_0xa018,_0x39b447=_0x3be5ab();while(!![]){try{const _0x2d5c01=parseInt(_0x44e45f(0x1d1))/0x1*(parseInt(_0x44e45f(0x245))/0x2)+-parseInt(_0x44e45f(0x1e9))/0x3+-parseInt(_0x44e45f(0x1e5))/0x4*(parseInt(_0x44e45f(0x1f3))/0x5)+parseInt(_0x44e45f(0x173))/0x6*(parseInt(_0x44e45f(0x1b0))/0x7)+parseInt(_0x44e45f(0x243))/0x8*(-parseInt(_0x44e45f(0x1fd))/0x9)+-parseInt(_0x44e45f(0x1f2))/0xa*(parseInt(_0x44e45f(0x170))/0xb)+-parseInt(_0x44e45f(0x21f))/0xc*(-parseInt(_0x44e45f(0x244))/0xd);if(_0x2d5c01===_0x34aec2)break;else _0x39b447['push'](_0x39b447['shift']());}catch(_0x5ad2f1){_0x39b447['push'](_0x39b447['shift']());}}}(a82_0x2c88,0xe86e8));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a82_0x23e15a(0x238)),{createClassLogger}=require(a82_0x23e15a(0x1e7)),TestFrameworkInstance=require(a82_0x23e15a(0x24f)),CLIUtils=require(a82_0x23e15a(0x178)),TrackedInstance=require(a82_0x23e15a(0x1c5)),TestFrameworkConstants=require(a82_0x23e15a(0x176)),logger=createClassLogger(a82_0x23e15a(0x21b)),{v4:uuidv4}=require(a82_0x23e15a(0x206)),util=require(a82_0x23e15a(0x1f7)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a82_0x23e15a(0x200)),TestInfo=require(a82_0x23e15a(0x1b9)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a82_0x23e15a(0x241)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a82_0x23e15a(0x21d)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x3d6962,_0x47d0d8,_0xb24ad1){super(_0x3d6962,_0x47d0d8,_0xb24ad1);}async[a82_0x23e15a(0x16c)](_0x34fab9,_0x130aab,_0x5be518={}){const _0x2ee3da=a82_0x23e15a,_0x5f163b={'vCLDm':function(_0x4ffaef,_0x24a8fe){return _0x4ffaef===_0x24a8fe;},'ksJXP':function(_0x34903f,_0x1e27ad){return _0x34903f===_0x1e27ad;},'VdiMX':function(_0x3f9f18,_0x2194a0,_0x525281){return _0x3f9f18(_0x2194a0,_0x525281);},'HqQIb':function(_0x372be1,_0x1911da){return _0x372be1===_0x1911da;},'dwEXp':function(_0x4e369b,_0x3f5fa4,_0x3fe9bc,_0x2a9355){return _0x4e369b(_0x3f5fa4,_0x3fe9bc,_0x2a9355);},'pPsat':_0x2ee3da(0x202),'RsqMD':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x2ee3da(0x16c)](_0x34fab9,_0x130aab,_0x5be518);if(_0x5f163b['vCLDm'](_0x34fab9,TestFrameworkState['TEST_SCREENSHOT'])){const _0x533abc=TestInfo[_0x2ee3da(0x191)](_0x5be518[_0x2ee3da(0x202)],_0x5be518[_0x2ee3da(0x202)][_0x2ee3da(0x25b)]);TestInfo['setTestDetails'](_0x533abc,_0x5be518[_0x2ee3da(0x212)],!![]);}if(_0x5f163b[_0x2ee3da(0x24b)](_0x34fab9,TestFrameworkState[_0x2ee3da(0x247)])){this[_0x2ee3da(0x1ff)](_0x34fab9,_0x130aab,_0x5be518);return;}const _0xba8b49=this[_0x2ee3da(0x19b)](_0x34fab9,_0x130aab,_0x5be518);if(!_0xba8b49)return;logger[_0x2ee3da(0x17c)](_0x2ee3da(0x1d4)+_0x34fab9+_0x2ee3da(0x1bd)+_0x130aab+_0x2ee3da(0x163)+_0xba8b49[_0x2ee3da(0x1db)]());try{if(_0x5f163b['ksJXP'](_0x130aab,HookState[_0x2ee3da(0x1fa)])&&_0x5f163b[_0x2ee3da(0x1e1)](_0x34fab9,TestFrameworkState[_0x2ee3da(0x1b4)])){const _0x4b7156=_0x5be518[_0x2ee3da(0x202)];logger[_0x2ee3da(0x17c)](_0x2ee3da(0x23a)+_0x4b7156['id']+'}');const _0x2fd75d=TestInfo[_0x2ee3da(0x169)](_0x5f163b[_0x2ee3da(0x1f9)](getTestRunIdentifier,_0x4b7156,_0x5be518[_0x2ee3da(0x212)][_0x2ee3da(0x25b)]));_0xba8b49['addMultipleEntries'](this[_0x2ee3da(0x257)](_0x2fd75d,_0x4b7156,_0x5be518[_0x2ee3da(0x212)])),logger[_0x2ee3da(0x17c)](_0x2ee3da(0x16a)+_0x4b7156['id']+_0x2ee3da(0x183)+_0x34fab9+_0x2ee3da(0x1ca)+_0x130aab+'\x20instance='+_0xba8b49['getRef']());}if(_0x5f163b['vCLDm'](_0x130aab,HookState['POST'])&&_0x5f163b['HqQIb'](_0x34fab9,TestFrameworkState['TEST'])){const _0x351332=_0x5be518[_0x2ee3da(0x202)],_0x3d99c3=_0x5be518[_0x2ee3da(0x212)];logger[_0x2ee3da(0x17c)](_0x2ee3da(0x209)+_0x351332['id']);const _0x47a4fe=_0x5f163b[_0x2ee3da(0x1f9)](getTestRunIdentifier,_0x351332,_0x3d99c3[_0x2ee3da(0x25b)]),_0x1f3032=_0xba8b49[_0x2ee3da(0x19e)]()[_0x2ee3da(0x237)](_0x47a4fe)[TestFrameworkConstants[_0x2ee3da(0x226)]],{steps:_0x284acd,logs:_0x401b6d}=_0x5f163b[_0x2ee3da(0x1d2)](getStepsAndLogs,_0x3d99c3[_0x2ee3da(0x1a0)],_0x1f3032,_0x5f163b[_0x2ee3da(0x22b)]);_0xba8b49[_0x2ee3da(0x1ad)](this[_0x2ee3da(0x16f)](_0x351332['id'],_0x3d99c3,_0x351332,_0x284acd)),await this[_0x2ee3da(0x258)](_0xba8b49,_0x34fab9,_0x130aab,_0x5f163b[_0x2ee3da(0x22b)],_0x5be518,_0x401b6d);}if(CLIUtils[_0x2ee3da(0x1a7)](_0x34fab9[_0x2ee3da(0x181)]()[_0x2ee3da(0x1ef)]('.')[0x1])){const _0x4696a0=await this[_0x2ee3da(0x1b1)](_0xba8b49,_0x34fab9,_0x130aab,_0x5be518);_0xba8b49['addMultipleEntries'](_0x4696a0);}}catch(_0xf42c43){logger[_0x2ee3da(0x1c8)](util[_0x2ee3da(0x1ae)](_0x5f163b[_0x2ee3da(0x1e2)],_0x34fab9,_0x130aab,_0x5be518[_0x2ee3da(0x193)],_0xf42c43));}_0x5be518['instance']=_0xba8b49,await this[_0x2ee3da(0x1ac)](_0xba8b49,_0x34fab9,_0x130aab,_0x5be518);}[a82_0x23e15a(0x19b)](_0x30f4d3,_0x518e35,_0x594f3f={}){const _0x3fcf80=a82_0x23e15a,_0x51bc7b={};_0x51bc7b['zaENW']=function(_0x41a3d5,_0x4d4f2c){return _0x41a3d5===_0x4d4f2c;};const _0x4c7a57=_0x51bc7b;let _0x48ab15=null;return(_0x4c7a57[_0x3fcf80(0x1f8)](_0x30f4d3,TestFrameworkState[_0x3fcf80(0x240)])||_0x4c7a57[_0x3fcf80(0x1f8)](_0x30f4d3,TestFrameworkState[_0x3fcf80(0x24a)]))&&this[_0x3fcf80(0x231)](_0x30f4d3,_0x594f3f),_0x48ab15=TestFramework['getTrackedInstance'](),_0x48ab15;}['trackPlaywrightInstance'](_0x5eaf2e,_0x797618){const _0x1b0c9e=a82_0x23e15a,_0x52ea1e=CLIUtils['getCurrentInstanceName'](),_0x591bad=TrackedInstance[_0x1b0c9e(0x213)](_0x52ea1e);let _0x5e548b=null;logger[_0x1b0c9e(0x18d)](_0x1b0c9e(0x20b)+_0x52ea1e+_0x1b0c9e(0x1c6)+_0x5eaf2e),_0x5e548b=new TestFrameworkInstance(_0x591bad,this[_0x1b0c9e(0x18a)](),this[_0x1b0c9e(0x24c)](),_0x5eaf2e,HookState[_0x1b0c9e(0x24a)]),TestFramework[_0x1b0c9e(0x1a1)](_0x591bad,_0x5e548b),logger[_0x1b0c9e(0x18d)](_0x1b0c9e(0x1ee)+_0x591bad[_0x1b0c9e(0x216)]()+_0x1b0c9e(0x1f0)+_0x52ea1e);}[a82_0x23e15a(0x257)](_0x25c395,_0x217d34,_0x1399d0){const _0x4f8357=a82_0x23e15a,_0x31bedc={'qwHiA':function(_0x1a08b3,_0x15712c){return _0x1a08b3(_0x15712c);},'lBtVm':function(_0x9ebe0d,_0x17c8cb){return _0x9ebe0d(_0x17c8cb);},'uOaJK':function(_0x669ac8,_0x571633){return _0x669ac8(_0x571633);},'FIZFh':function(_0x203c71,_0x36edf7){return _0x203c71(_0x36edf7);},'IsBsp':function(_0x31ef51,_0x57a6c9,_0x334b38){return _0x31ef51(_0x57a6c9,_0x334b38);},'cDbvw':function(_0x1278b8,_0x3aa329){return _0x1278b8(_0x3aa329);}},_0x13d756=_0x31bedc[_0x4f8357(0x20f)](getPlaywrightTestId,_0x217d34),_0x2e92c3=_0x31bedc[_0x4f8357(0x20f)](getPlaywrightTestTitle,_0x217d34),_0x188637=_0x31bedc[_0x4f8357(0x20f)](getTestTags,_0x217d34),_0xb0cafd=_0x31bedc[_0x4f8357(0x20f)](getPlaywrightTestCode,_0x217d34),_0x56478d=_0x31bedc[_0x4f8357(0x1d7)](getPlaywrightTestFilePath,_0x217d34),_0x4fedb4=_0x56478d,_0x53a09a=_0x31bedc[_0x4f8357(0x160)](getPlaywrightTestScope,_0x217d34),_0x18a571=_0x31bedc[_0x4f8357(0x160)](getPlaywrightTestScopes,_0x217d34),_0x3a4c64=_0x31bedc[_0x4f8357(0x1d3)](getPlaywrightSessionName,_0x217d34),_0x4f050a=this[_0x4f8357(0x18a)]()[0x0],_0x362f45=_0x31bedc[_0x4f8357(0x20d)](getTestRunIdentifier,_0x217d34,_0x1399d0[_0x4f8357(0x25b)]),_0x11678a={[TestFrameworkConstants[_0x4f8357(0x21c)]]:_0x4f050a,[TestFrameworkConstants[_0x4f8357(0x224)]]:this[_0x4f8357(0x24c)]()[_0x4f050a],[TestFrameworkConstants[_0x4f8357(0x20e)]]:[],[TestFrameworkConstants[_0x4f8357(0x179)]]:{},[TestFrameworkConstants[_0x4f8357(0x1da)]]:{},[TestFrameworkConstants[_0x4f8357(0x226)]]:_0x25c395,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x4f8357(0x23e)]]:_0x3a4c64,[TestFrameworkConstants[_0x4f8357(0x1d5)]]:_0x56478d,[TestFrameworkConstants['KEY_TEST_ID']]:_0x13d756,[TestFrameworkConstants[_0x4f8357(0x196)]]:_0x2e92c3,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x4fedb4,[TestFrameworkConstants['KEY_TEST_CODE']]:_0xb0cafd,[TestFrameworkConstants[_0x4f8357(0x172)]]:_0x188637,[TestFrameworkConstants[_0x4f8357(0x1b6)]]:_0x217d34[_0x4f8357(0x1b8)][0x0][_0x4f8357(0x234)],[TestFrameworkConstants[_0x4f8357(0x17b)]]:_0x53a09a,[TestFrameworkConstants[_0x4f8357(0x175)]]:_0x18a571,[TestFrameworkConstants[_0x4f8357(0x164)]]:_0x31bedc['cDbvw'](getPlaywrightCustomRerunParam,_0x217d34)};TestInfo[_0x4f8357(0x19a)](_0x362f45,_0x11678a);const _0x5ce06e={};return _0x5ce06e[_0x362f45]=_0x11678a,_0x5ce06e;}[a82_0x23e15a(0x16f)](_0x4794e3,_0x591a9e,_0x15f335,_0x284582){const _0x1b715f=a82_0x23e15a,_0x2dee8b={'cjjTq':function(_0x11e276,_0x9ca1f2){return _0x11e276(_0x9ca1f2);},'ousWN':_0x1b715f(0x1eb),'QXsiA':function(_0x5b6afe,_0x4d206e){return _0x5b6afe===_0x4d206e;},'eiIQG':function(_0x2f5131,_0x2f2d6c){return _0x2f5131===_0x2f2d6c;},'JCKob':function(_0x252a90,_0x5e1bed){return _0x252a90===_0x5e1bed;},'bBauq':function(_0x54e9b3,_0x1b02a3){return _0x54e9b3(_0x1b02a3);},'yXTjo':'No\x20reason\x20provided','tsDJK':_0x1b715f(0x1b2),'kHsNL':function(_0x420481,_0x53573e){return _0x420481(_0x53573e);},'YrPUf':function(_0x258aac,_0x424398,_0x5e4f7d){return _0x258aac(_0x424398,_0x5e4f7d);},'qMOLz':function(_0x33a40c,_0xf104e1){return _0x33a40c+_0xf104e1;},'DAcsC':function(_0x548ce7,_0x1a6826){return _0x548ce7===_0x1a6826;},'cDTod':_0x1b715f(0x1b3),'MuFel':'passed','XTjVj':_0x1b715f(0x1a4),'nxtvr':function(_0x406784,_0x1bd561){return _0x406784===_0x1bd561;},'vdiZF':_0x1b715f(0x1cc),'xHgoO':_0x1b715f(0x198),'BaOdV':function(_0x27897d,_0x1e3829,_0x13d6bc){return _0x27897d(_0x1e3829,_0x13d6bc);},'OmYvu':function(_0x2d77fa,_0xd56cf6){return _0x2d77fa||_0xd56cf6;},'nhLNO':function(_0x331d1e,_0x4e7778){return _0x331d1e(_0x4e7778);},'elRxY':function(_0x2c2466,_0x50f018){return _0x2c2466>_0x50f018;},'bhnnA':function(_0x25b82b,_0x3c17fc){return _0x25b82b-_0x3c17fc;},'kUjsO':function(_0x3b27a0,_0x20de5a,_0x47b7e3,_0xda68ad){return _0x3b27a0(_0x20de5a,_0x47b7e3,_0xda68ad);},'tRCUI':_0x1b715f(0x202),'mPXws':function(_0x227702,_0x4a8d47){return _0x227702===_0x4a8d47;},'oLDKH':function(_0x331435,_0x1ad5f4){return _0x331435>=_0x1ad5f4;},'gydPy':function(_0x413b1c,_0x12dc85){return _0x413b1c===_0x12dc85;},'bZnsc':'path','ejhEa':function(_0x3576b5,_0x4a1a7d){return _0x3576b5(_0x4a1a7d);},'ruglT':function(_0x558884,_0x419158,_0x164e5b){return _0x558884(_0x419158,_0x164e5b);},'ZFoUO':function(_0x58eb82,_0x241d4a){return _0x58eb82>_0x241d4a;}};logger[_0x1b715f(0x17c)]('parsePlaywrightTestResult:\x20testId='+_0x4794e3);const _0x489a19=_0x2dee8b['YrPUf'](getTestRunIdentifier,_0x15f335,_0x591a9e[_0x1b715f(0x25b)]),_0x33ed05=new Date(_0x591a9e[_0x1b715f(0x234)]),_0x9676d2=_0x591a9e[_0x1b715f(0x161)],_0x59fde1=new Date(_0x2dee8b[_0x1b715f(0x218)](_0x33ed05[_0x1b715f(0x1df)](),_0x9676d2)),_0xddfa6a=_0x591a9e[_0x1b715f(0x232)],_0x2ca93=TestInfo['getTestDetails'](_0x489a19)[TestFrameworkConstants[_0x1b715f(0x254)]]||{};let _0x111841=_0xddfa6a;if(_0x2dee8b[_0x1b715f(0x18e)](_0x591a9e['status'],_0x15f335[_0x1b715f(0x1c1)]))_0x111841=_0x2dee8b[_0x1b715f(0x18f)](_0x591a9e[_0x1b715f(0x232)],_0x2dee8b['cDTod'])?_0x2dee8b[_0x1b715f(0x188)]:_0x2dee8b[_0x1b715f(0x1dd)];else{(_0x2dee8b[_0x1b715f(0x1a9)](_0x111841,_0x2dee8b[_0x1b715f(0x1dd)])||_0x2dee8b[_0x1b715f(0x1a9)](_0x111841,_0x2dee8b['XTjVj'])||_0x2dee8b['nxtvr'](_0x111841,_0x2dee8b[_0x1b715f(0x168)]))&&(_0x111841=_0x2dee8b[_0x1b715f(0x186)]);if(_0x2dee8b[_0x1b715f(0x166)](_0x591a9e[_0x1b715f(0x232)],_0x2dee8b[_0x1b715f(0x1dd)])&&_0x2dee8b[_0x1b715f(0x1d6)](_0x15f335[_0x1b715f(0x1c1)],_0x2dee8b['XTjVj'])){const _0x19b3ff={};_0x19b3ff[_0x1b715f(0x165)]=_0x2dee8b[_0x1b715f(0x1c3)],_0x19b3ff[_0x1b715f(0x180)]=_0x2dee8b[_0x1b715f(0x1c3)],_0x591a9e[_0x1b715f(0x1c8)]=_0x19b3ff,_0x591a9e[_0x1b715f(0x1d8)]=[_0x591a9e['error']];}}const {failureData:_0x2cf975,logs:_0x52652e}=_0x2dee8b[_0x1b715f(0x248)](getFailureData,_0x591a9e?.[_0x1b715f(0x1d8)],{}),_0x4f6eab={[TestFrameworkConstants[_0x1b715f(0x211)]]:_0x2dee8b[_0x1b715f(0x192)](_0x2cf975,null),[TestFrameworkConstants[_0x1b715f(0x230)]]:_0x591a9e?.['error']&&_0x2dee8b[_0x1b715f(0x1bf)](getFailureType,_0x591a9e[_0x1b715f(0x1c8)][_0x1b715f(0x165)]),[TestFrameworkConstants[_0x1b715f(0x23c)]]:_0x591a9e?.['error']&&_0x2dee8b[_0x1b715f(0x221)](removeAnsiColors,_0x591a9e['error'][_0x1b715f(0x165)]),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x1b715f(0x18c)]]:_0x111841,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x59fde1[_0x1b715f(0x250)](),[TestFrameworkConstants[_0x1b715f(0x1f6)]]:new Date()[_0x1b715f(0x250)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2ca93};if(_0x591a9e&&_0x2dee8b[_0x1b715f(0x210)](_0x591a9e['retry'],0x0)){const _0x102489=TestInfo[_0x1b715f(0x169)](_0x2dee8b[_0x1b715f(0x248)](getTestRunIdentifier,_0x15f335,_0x2dee8b[_0x1b715f(0x229)](_0x591a9e[_0x1b715f(0x25b)],0x1)));_0x4f6eab[TestFrameworkConstants[_0x1b715f(0x246)]]=_0x102489;}const _0x5c552c={};_0x5c552c['test']=_0x15f335;const _0x2d6598=this['resolveInstance'](TestFrameworkState['TEST'],HookState['POST'],_0x5c552c),_0x2950ba=_0x2d6598[_0x1b715f(0x19e)]()[_0x1b715f(0x237)](_0x489a19)[TestFrameworkConstants[_0x1b715f(0x226)]],_0x3e24c6=_0x284582||_0x2dee8b[_0x1b715f(0x1bb)](getStepsAndLogs,_0x591a9e[_0x1b715f(0x1a0)],_0x2950ba,_0x2dee8b[_0x1b715f(0x15b)])['steps'],_0x3b62f2=new Map();let _0x19ef5b=0x0;const _0x1a81c6=[];for(const _0x330230 of _0x3e24c6||[]){const _0x303cac=_0x330230[_0x1b715f(0x1ed)]||null;let _0x39e095;if(_0x2dee8b[_0x1b715f(0x1c7)](_0x303cac,null)){if(_0x2dee8b[_0x1b715f(0x184)](_0x19ef5b,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0x39e095=0x0,_0x19ef5b++;}else{const _0x4d6388=_0x3b62f2[_0x1b715f(0x237)](_0x303cac);if(_0x2dee8b['gydPy'](_0x4d6388,undefined))continue;_0x39e095=_0x2dee8b[_0x1b715f(0x218)](_0x4d6388,0x1);if(_0x2dee8b[_0x1b715f(0x210)](_0x39e095,TestFrameworkConstants[_0x1b715f(0x1ab)]))continue;}_0x3b62f2[_0x1b715f(0x22e)](_0x330230['id'],_0x39e095);const _0x50a531={};_0x50a531['id']=_0x330230['id'],_0x50a531[_0x1b715f(0x1ed)]=_0x303cac,_0x50a531[_0x1b715f(0x260)]=_0x330230['text'],_0x50a531[_0x1b715f(0x1cb)]=_0x330230[_0x1b715f(0x1cb)]||null,_0x50a531[_0x1b715f(0x1ea)]=_0x330230[_0x1b715f(0x1ea)],_0x50a531['duration']=_0x330230[_0x1b715f(0x161)]??null,_0x50a531[_0x1b715f(0x212)]=_0x330230[_0x1b715f(0x212)],_0x50a531['failure']=_0x330230[_0x1b715f(0x25f)]||null,_0x50a531[_0x1b715f(0x1b7)]=_0x330230[_0x1b715f(0x1b7)]||null,_0x1a81c6['push'](_0x50a531);}const _0x22b6ee={};_0x22b6ee[_0x1b715f(0x1a0)]=_0x1a81c6,_0x4f6eab[TestFrameworkConstants['KEY_TEST_META']]=_0x22b6ee,logger[_0x1b715f(0x17c)](_0x1b715f(0x17e)+_0x1a81c6[_0x1b715f(0x193)]+_0x1b715f(0x1bc)+_0x4794e3);const _0x4f9288=[],_0x4a8906=_0x2dee8b['BaOdV'](findNestedKey,_0x591a9e,_0x2dee8b['bZnsc']);if(_0x4a8906&&_0x2dee8b['ejhEa'](validateFilePath,_0x4a8906))try{_0x4f9288[_0x1b715f(0x15a)]({'kind':_0x2dee8b[_0x1b715f(0x220)],'timestamp':new Date()[_0x1b715f(0x250)](),'test_run_uuid':_0x2950ba,'file_name':path['basename'](_0x4a8906),'file_size':fs[_0x1b715f(0x1ba)](_0x4a8906)[_0x1b715f(0x264)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x322601){logger['error'](_0x1b715f(0x1f5)+_0x4a8906+':\x20'+_0x322601[_0x1b715f(0x165)]);}const _0x16aca6=TestInfo[_0x1b715f(0x25a)](),_0x11b47d=_0x16aca6[_0x1b715f(0x15e)](_0x424285=>_0x424285[_0x1b715f(0x15c)]===_0x2950ba);_0x11b47d['forEach'](_0x200ba4=>{const _0x59b221=_0x1b715f;if(_0x200ba4[_0x59b221(0x1fe)]&&_0x2dee8b['cjjTq'](validateFilePath,_0x200ba4[_0x59b221(0x1fe)])&&!_0x4f9288[_0x59b221(0x233)](_0x14389d=>_0x14389d[_0x59b221(0x227)]===path['basename'](_0x200ba4['filePath'])))try{_0x4f9288[_0x59b221(0x15a)]({'kind':_0x2dee8b['ousWN'],'timestamp':new Date()[_0x59b221(0x250)](),'test_run_uuid':_0x2950ba,'file_name':path[_0x59b221(0x207)](_0x200ba4[_0x59b221(0x1fe)]),'file_size':fs[_0x59b221(0x1ba)](_0x200ba4['filePath'])[_0x59b221(0x264)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4098d9){logger[_0x59b221(0x1c8)](_0x59b221(0x23f)+_0x200ba4[_0x59b221(0x1fe)]+_0x59b221(0x235)+_0x4098d9['message']);}});if(_0x2dee8b[_0x1b715f(0x210)](_0x4f9288[_0x1b715f(0x193)],0x0)){const _0x3b6303=_0x4f6eab[TestFrameworkConstants['KEY_LOGS']]||[];_0x4f6eab[TestFrameworkConstants[_0x1b715f(0x1d9)]]=[..._0x3b6303,..._0x4f9288];}const _0x25b4f4=TestInfo[_0x1b715f(0x1c9)](_0x489a19)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x3c8fe2=_0x2dee8b[_0x1b715f(0x16d)](getManualUploadLogs,_0x25b4f4,_0x2d6598[_0x1b715f(0x19e)]()[_0x1b715f(0x237)](_0x489a19)[TestFrameworkConstants[_0x1b715f(0x226)]]);if(_0x2dee8b[_0x1b715f(0x263)](_0x3c8fe2['length'],0x0)){const _0x15ef04=_0x4f6eab[TestFrameworkConstants[_0x1b715f(0x1d9)]]||[];_0x4f6eab[TestFrameworkConstants[_0x1b715f(0x1d9)]]=[..._0x15ef04,..._0x3c8fe2];}const _0xbca94e=_0x15f335[_0x1b715f(0x162)]||[],_0x5995f2=_0x4f6eab[TestFrameworkConstants[_0x1b715f(0x254)]]||{};_0xbca94e[_0x1b715f(0x249)](_0x4c2e5d=>{const _0x1fdc10=_0x1b715f,{type:_0x2537eb}=_0x4c2e5d;let _0x3d36b5=_0x4c2e5d[_0x1fdc10(0x195)];if(!_0x2537eb)return;(_0x2dee8b[_0x1fdc10(0x1d6)](_0x3d36b5,undefined)||_0x2dee8b[_0x1fdc10(0x18e)](_0x3d36b5,null)||_0x2dee8b[_0x1fdc10(0x1a9)](_0x2dee8b[_0x1fdc10(0x221)](String,_0x3d36b5)[_0x1fdc10(0x1ce)](),''))&&(_0x3d36b5=_0x2dee8b[_0x1fdc10(0x204)]);if(!_0x5995f2[_0x2537eb]){const _0x60b2ca={};_0x60b2ca[_0x1fdc10(0x1a8)]=_0x2dee8b[_0x1fdc10(0x167)],_0x60b2ca[_0x1fdc10(0x205)]=[],_0x5995f2[_0x2537eb]=_0x60b2ca;}else!_0x5995f2[_0x2537eb]['field_type']&&(_0x5995f2[_0x2537eb][_0x1fdc10(0x1a8)]=_0x2dee8b['tsDJK']),!Array['isArray'](_0x5995f2[_0x2537eb][_0x1fdc10(0x205)])&&(_0x5995f2[_0x2537eb]['values']=[]);const _0x30fd0e=_0x2dee8b[_0x1fdc10(0x17a)](String,_0x3d36b5)[_0x1fdc10(0x1ef)](',')[_0x1fdc10(0x18b)](_0x42d4ef=>_0x42d4ef[_0x1fdc10(0x1ce)]());_0x5995f2[_0x2537eb]['values']=[...new Set([..._0x5995f2[_0x2537eb][_0x1fdc10(0x205)],..._0x30fd0e])];}),_0x4f6eab[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x5995f2,TestInfo[_0x1b715f(0x19a)](_0x489a19,_0x4f6eab);const _0x5e43ff={};return _0x5e43ff[_0x489a19]=_0x4f6eab,_0x5e43ff;}[a82_0x23e15a(0x1ff)](_0x554cb5,_0x365239,_0x1852e2){const _0x31b0f8=a82_0x23e15a,_0x1c724f={'baBYM':function(_0x503c05,_0x5c42bb){return _0x503c05||_0x5c42bb;},'jhDZz':function(_0x1a774e,_0x1b367f,_0x1db71d){return _0x1a774e(_0x1b367f,_0x1db71d);}};try{const {test:_0x13f476,result:_0x2e3336,step:_0x18aadd}=_0x1852e2;if(_0x1c724f[_0x31b0f8(0x259)](!_0x13f476,!_0x18aadd)||!_0x2e3336)return;const _0x52543e=_0x1c724f[_0x31b0f8(0x1c4)](getTestRunIdentifier,_0x13f476,_0x2e3336[_0x31b0f8(0x25b)]);logger[_0x31b0f8(0x17c)](_0x31b0f8(0x21e)+_0x52543e+_0x31b0f8(0x1bd)+_0x365239+'\x20step=\x22'+_0x18aadd[_0x31b0f8(0x1b5)]+'\x22');}catch(_0x1875cc){logger[_0x31b0f8(0x1c8)](_0x31b0f8(0x19f)+util['format'](_0x1875cc));}}async[a82_0x23e15a(0x1b1)](_0x3c3bba,_0x11d312,_0x5e441b,_0x560a72){const _0x5211c0=a82_0x23e15a,_0xd1cd09={'OFrLD':function(_0x414c26,_0xfa3efd,_0x13f75d){return _0x414c26(_0xfa3efd,_0x13f75d);},'notRP':function(_0x4933b6,_0x50065d){return _0x4933b6 in _0x50065d;},'oQOFy':function(_0x586b83,_0x56412f){return _0x586b83(_0x56412f);},'eQpCV':function(_0x54ffff,_0x374c07){return _0x54ffff===_0x374c07;},'RrHvP':function(_0x411678){return _0x411678();},'QxVKc':function(_0x11237d,_0x23ecfd){return _0x11237d>_0x23ecfd;},'DvQUQ':function(_0x4d422b,_0x37a300,_0x3b92bc){return _0x4d422b(_0x37a300,_0x3b92bc);},'OyLPk':_0x5211c0(0x20c),'aslYg':_0x5211c0(0x1a4),'AHcrh':_0x5211c0(0x1a6),'cRPMp':function(_0x2f7692,_0x1d308a){return _0x2f7692!==_0x1d308a;},'ljPfB':function(_0x6a45fd,_0x1d9e48){return _0x6a45fd+_0x1d9e48;},'eRGDi':_0x5211c0(0x17f)},_0x2c82f2=_0x560a72[_0x5211c0(0x202)],_0x1f46e6=_0x560a72['step'],_0x30c011=_0xd1cd09[_0x5211c0(0x255)](getTestRunIdentifier,_0x2c82f2,_0x560a72[_0x5211c0(0x212)]['retry']),_0x15f66b=_0x11d312[_0x5211c0(0x181)]()[_0x5211c0(0x1ef)]('.')[0x1];let _0xe73583=_0x3c3bba[_0x5211c0(0x19e)]()[_0x5211c0(0x237)](_0x30c011)[TestFrameworkConstants[_0x5211c0(0x1da)]];!_0xe73583&&(_0xe73583={});!_0xd1cd09['notRP'](_0x15f66b,_0xe73583)&&(_0xe73583[_0x15f66b]=[]);let _0x2ba349=_0x3c3bba[_0x5211c0(0x19e)]()[_0x5211c0(0x237)](_0x30c011)[TestFrameworkConstants[_0x5211c0(0x179)]];!_0x2ba349&&(_0x2ba349={});!_0xd1cd09[_0x5211c0(0x236)](_0x15f66b,_0x2ba349)&&(_0x2ba349[_0x15f66b]=[]);const _0x2c2a5d={[TestFrameworkConstants[_0x5211c0(0x1da)]]:_0xe73583,[TestFrameworkConstants[_0x5211c0(0x179)]]:_0x2ba349},_0x13b190={};_0x13b190[_0x30c011]=_0x2c2a5d;const _0x5654b5=_0x13b190,_0x6020aa=_0xd1cd09[_0x5211c0(0x194)](getPlaywrightTestFilePath,_0x2c82f2),_0xff3a40=_0x6020aa,_0x29ab1c=TestInfo[_0x5211c0(0x1c9)](_0x30c011)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0xd1cd09['eQpCV'](_0x5e441b,HookState['PRE'])){const _0x4bfe87={'key':_0x15f66b,[TestFrameworkConstants[_0x5211c0(0x187)]]:_0xd1cd09['RrHvP'](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x5211c0(0x252)],[TestFrameworkConstants[_0x5211c0(0x219)]]:_0x1f46e6[_0x5211c0(0x234)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x1f46e6[_0x5211c0(0x1b5)],[TestFrameworkConstants[_0x5211c0(0x1d5)]]:_0x6020aa,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0xff3a40,[TestFrameworkConstants[_0x5211c0(0x254)]]:_0x29ab1c};_0xe73583[_0x15f66b][_0x5211c0(0x15a)](_0x4bfe87),_0x5654b5[_0x30c011][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x15f66b,logger[_0x5211c0(0x17c)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x15f66b+_0x5211c0(0x197)+_0x4bfe87+_0x5211c0(0x19d)+_0x560a72);}else{if(_0xd1cd09[_0x5211c0(0x24e)](_0x5e441b,HookState['POST'])){const _0x1317eb=await _0x560a72['result'],_0x22ef5c=_0xe73583[_0x15f66b]||[],_0x55fefe=_0x560a72['step'];logger[_0x5211c0(0x17c)](_0x5211c0(0x1a2)+_0x22ef5c+_0x5211c0(0x22c)+_0x560a72);if(_0xd1cd09['QxVKc'](_0x22ef5c['length'],0x0)){const _0x100e2f=_0x22ef5c[_0x5211c0(0x20a)]();if(_0x55fefe['error']){const _0x28244d=_0xd1cd09[_0x5211c0(0x261)](failureData,_0x55fefe['error'],_0xd1cd09[_0x5211c0(0x208)]);_0x100e2f[TestFrameworkConstants[_0x5211c0(0x15f)]]=_0xd1cd09[_0x5211c0(0x194)](getFailureType,_0x55fefe?.[_0x5211c0(0x1c8)][_0x5211c0(0x165)]),_0x100e2f[TestFrameworkConstants[_0x5211c0(0x16b)]]=_0xd1cd09[_0x5211c0(0x194)](removeAnsiColors,_0x55fefe?.[_0x5211c0(0x1c8)][_0x5211c0(0x165)]),_0x100e2f[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0xd1cd09[_0x5211c0(0x190)],_0x100e2f[TestFrameworkConstants[_0x5211c0(0x214)]]=_0x28244d;}else _0x100e2f[TestFrameworkConstants[_0x5211c0(0x15d)]]=_0xd1cd09[_0x5211c0(0x1fc)];_0xd1cd09[_0x5211c0(0x159)](_0x1317eb,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x100e2f[TestFrameworkConstants[_0x5211c0(0x15d)]]=!_0x55fefe[_0x5211c0(0x1c8)]?_0xd1cd09['AHcrh']:_0xd1cd09[_0x5211c0(0x190)]);const _0x422bb7=new Date(_0x55fefe[_0x5211c0(0x234)]),_0x2ff492=new Date(_0xd1cd09[_0x5211c0(0x21a)](_0x422bb7[_0x5211c0(0x1df)](),_0x55fefe[_0x5211c0(0x161)]));_0x100e2f[TestFrameworkConstants[_0x5211c0(0x199)]]=_0x2ff492[_0x5211c0(0x250)](),_0x100e2f[TestFrameworkConstants[_0x5211c0(0x254)]]=_0x29ab1c;const _0x29571d=_0x100e2f[TestFrameworkConstants[_0x5211c0(0x187)]];await this[_0x5211c0(0x258)](_0x3c3bba,_0x11d312,_0x29571d,_0xd1cd09[_0x5211c0(0x228)],_0x560a72),!_0x2ba349[_0x15f66b]&&(_0x2ba349[_0x15f66b]=[]),_0x2ba349[_0x15f66b][_0x5211c0(0x15a)](_0x100e2f),_0x5654b5[_0x30c011][TestFrameworkConstants[_0x5211c0(0x22d)]]=_0x15f66b;}}}return _0x5654b5;}async['sendLogCreatedEvent'](_0x8921b3,_0x205dd2,_0x5746c2,_0x295e09,_0x3973c2,_0xd778e6){const _0x372753=a82_0x23e15a,_0x47aafa={'MuQRJ':function(_0x5093eb,_0x115924){return _0x5093eb===_0x115924;},'leQao':_0x372753(0x202),'zVFkq':function(_0x3d465b,_0x3e9180,_0x359186){return _0x3d465b(_0x3e9180,_0x359186);},'EWluB':_0x372753(0x1d0),'nmRXf':function(_0x1d44b9,_0x31da24,_0x5daf62,_0x40e1d8){return _0x1d44b9(_0x31da24,_0x5daf62,_0x40e1d8);},'sismy':function(_0x184a03,_0x4692da,_0x3f57da){return _0x184a03(_0x4692da,_0x3f57da);},'ynWAg':function(_0x14ca4b,_0x4047af,_0x510eda){return _0x14ca4b(_0x4047af,_0x510eda);},'NqUoy':function(_0x4a7998,_0x1cd8e9){return _0x4a7998/_0x1cd8e9;},'nIDxK':function(_0x5d0a91,_0x52665e){return _0x5d0a91<_0x52665e;},'dKNJf':function(_0x35cd21,_0x59a5d4){return _0x35cd21*_0x59a5d4;},'moAbt':function(_0x537da8,_0x475887){return _0x537da8+_0x475887;},'jkcDT':function(_0x5c04e3,_0x53c90f,_0x4c5cf2,_0x106a01,_0x1d2053){return _0x5c04e3(_0x53c90f,_0x4c5cf2,_0x106a01,_0x1d2053);},'wqBxT':function(_0x598f4b,_0x1e1c5c){return _0x598f4b+_0x1e1c5c;},'IdScI':'hook','rxKsX':function(_0x3bf693,_0x1bea9a,_0x4d6f40){return _0x3bf693(_0x1bea9a,_0x4d6f40);}};try{if(_0x47aafa[_0x372753(0x19c)](_0x295e09,_0x47aafa['leQao'])){const _0x4dda05=await _0x3973c2['result'],_0x9d123=_0x47aafa['zVFkq'](getTestRunIdentifier,_0x3973c2[_0x372753(0x202)],_0x3973c2['result'][_0x372753(0x25b)]),_0xaabf87=_0x3973c2[_0x372753(0x202)];logger[_0x372753(0x17c)]('sendLogCreatedEvent:\x20testId='+_0x9d123+_0x372753(0x1e3)+util[_0x372753(0x201)](_0x4dda05));const _0x3965b3=_0x8921b3['getAllData']()[_0x372753(0x237)](_0x9d123)[TestFrameworkConstants[_0x372753(0x226)]];await _0x47aafa[_0x372753(0x262)](sendTraceZip,_0x4dda05,_0x3965b3);const _0x408f49=TestInfo[_0x372753(0x1c9)](_0x9d123)[_0x47aafa['EWluB']],_0x59264f={};if(_0x408f49){!_0x4dda05[_0x372753(0x1d0)]&&(_0x4dda05[_0x372753(0x1d0)]=[]);_0x59264f[_0x372753(0x1d0)]=_0x4dda05[_0x372753(0x1d0)]['concat'](_0x408f49||[]);const _0x347a32=TestInfo[_0x372753(0x1c9)](_0x9d123);delete _0x347a32[_0x47aafa['EWluB']],TestInfo[_0x372753(0x19a)](_0x9d123,_0x347a32);}const _0x114c72=_0xd778e6||_0x47aafa['nmRXf'](getStepsAndLogs,_0x4dda05[_0x372753(0x1a0)],_0x8921b3[_0x372753(0x19e)]()[_0x372753(0x237)](_0x9d123)[TestFrameworkConstants[_0x372753(0x226)]],_0x47aafa[_0x372753(0x174)])[_0x372753(0x171)],_0x4eb87a=_0x47aafa['zVFkq'](getScreenshots,_0x59264f,_0x8921b3['getAllData']()[_0x372753(0x237)](_0x9d123)[TestFrameworkConstants[_0x372753(0x226)]]),_0x450dce=_0x47aafa[_0x372753(0x222)](getVideos,_0x4dda05,_0x8921b3['getAllData']()[_0x372753(0x237)](_0x9d123)[TestFrameworkConstants[_0x372753(0x226)]]),{_:_0x3b705b,logs:_0x1b8383}=_0x47aafa[_0x372753(0x215)](getFailureData,_0x4dda05['errors'],{'test_run_uuid':_0x8921b3['getAllData']()[_0x372753(0x237)](_0x9d123)[TestFrameworkConstants[_0x372753(0x226)]]}),_0x193529=TestInfo[_0x372753(0x1c9)](_0x9d123)[TestFrameworkConstants[_0x372753(0x239)]]||{},_0x57cf9f=_0x47aafa['zVFkq'](getMediaArtifactsLogs,_0x193529,_0x8921b3[_0x372753(0x19e)]()['get'](_0x9d123)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x1fb930=_0x8921b3[_0x372753(0x19e)]()[_0x372753(0x237)](_0x9d123),{[TestFrameworkConstants[_0x372753(0x21c)]]:_0x515612='',[TestFrameworkConstants[_0x372753(0x224)]]:_0x4cf519=''}=_0x1fb930,_0x12118=(_0x114c72||[])[_0x372753(0x251)](_0x4eb87a||[])[_0x372753(0x251)](_0x1b8383||[])[_0x372753(0x251)](_0x450dce||[])['concat'](_0x57cf9f||[]),_0x34a5d8=0x28,_0x24194a=Math[_0x372753(0x1fb)](_0x47aafa['NqUoy'](_0x12118[_0x372753(0x193)],_0x34a5d8));for(let _0x1f5243=0x0;_0x47aafa[_0x372753(0x1e8)](_0x1f5243,_0x24194a);_0x1f5243++){const _0x154294=_0x47aafa[_0x372753(0x225)](_0x1f5243,_0x34a5d8),_0x5eae79=_0x47aafa[_0x372753(0x223)](_0x154294,_0x34a5d8),_0x48e414=_0x12118[_0x372753(0x17d)](_0x154294,_0x5eae79),_0x4d206b={'platformIndex':global?.[_0x372753(0x1ec)]??0x0,'logs':_0x48e414,'testFrameworkName':_0x515612,'testFrameworkVersion':_0x4cf519,'testFrameworkState':_0x205dd2[_0x372753(0x181)]()[_0x372753(0x1ef)]('.')[0x1]};_0x47aafa['jkcDT'](updatePayloadForTraceLogs,_0x4d206b,_0x3973c2,_0x9d123,_0x8921b3),logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x9d123+_0x372753(0x25d)+_0x47aafa[_0x372753(0x23b)](_0x1f5243,0x1)+'/'+_0x24194a+_0x372753(0x1de)+util[_0x372753(0x201)](_0x4d206b));const _0x58a59e=await GrpcClient['getInstance']()[_0x372753(0x1e4)](_0x4d206b);logger[_0x372753(0x17c)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x9d123+_0x372753(0x25d)+_0x47aafa[_0x372753(0x223)](_0x1f5243,0x1)+'/'+_0x24194a+_0x372753(0x1c0)+util['inspect'](_0x58a59e));}}else{const {logs:_0x1fdb42}=_0x47aafa[_0x372753(0x1dc)](getStepsAndLogs,_0x3973c2['step'][_0x372753(0x1a0)],_0x5746c2,_0x47aafa['IdScI']),_0x4c7507=_0x47aafa[_0x372753(0x177)](getTestRunIdentifier,_0x3973c2[_0x372753(0x202)],_0x3973c2[_0x372753(0x212)][_0x372753(0x25b)]);logger[_0x372753(0x17c)]('sendLogCreatedEvent:\x20testId='+_0x4c7507);const _0x4d25e9=_0x8921b3[_0x372753(0x19e)]()[_0x372753(0x237)](_0x4c7507),{[TestFrameworkConstants[_0x372753(0x21c)]]:_0x331a57='',[TestFrameworkConstants[_0x372753(0x224)]]:_0x4cb246=''}=_0x4d25e9,_0x3aa475={'platformIndex':'0','logs':_0x1fdb42,'testFrameworkName':_0x331a57,'testFrameworkVersion':_0x4cb246,'testFrameworkState':_0x205dd2[_0x372753(0x181)]()[_0x372753(0x1ef)]('.')[0x1]};_0x47aafa[_0x372753(0x1c2)](updatePayloadForTraceLogs,_0x3aa475,_0x3973c2,_0x4c7507,_0x8921b3),logger['debug'](_0x372753(0x185)+_0x4c7507+_0x372753(0x1de)+util[_0x372753(0x201)](_0x3aa475));const _0x3c682c=await GrpcClient['getInstance']()[_0x372753(0x1e4)](_0x3aa475);}}catch(_0x531093){logger[_0x372753(0x1c8)](_0x372753(0x1aa)+util['format'](_0x531093));}}[a82_0x23e15a(0x253)](_0x352810){const _0x41abbf=a82_0x23e15a,_0x5123b5={'zIDDd':function(_0x3d328e,_0x59f7c5,_0x16cc0f){return _0x3d328e(_0x59f7c5,_0x16cc0f);},'mlPHB':function(_0x43b6e1,_0x29d310){return _0x43b6e1<_0x29d310;},'Tahig':_0x41abbf(0x16e)};try{const _0x1d2d32=_0x352810[_0x41abbf(0x202)]['id'],_0x2eab1d=_0x5123b5[_0x41abbf(0x22a)](getTestRunIdentifier,_0x352810[_0x41abbf(0x202)],_0x352810[_0x41abbf(0x212)][_0x41abbf(0x25b)]),_0x5b4f40=_0x352810['instance'],_0x35c786=_0x5b4f40[_0x41abbf(0x1a3)](),_0x3c00c0=_0x5b4f40['getAllData']()['get'](_0x2eab1d);logger[_0x41abbf(0x17c)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x1d2d32);const {[TestFrameworkConstants[_0x41abbf(0x21c)]]:_0x298c42='',[TestFrameworkConstants[_0x41abbf(0x224)]]:_0xe40cb5='',[TestFrameworkConstants[_0x41abbf(0x1b6)]]:_0x2059fb='',[TestFrameworkConstants[_0x41abbf(0x1e6)]]:_0x3f246d=''}=_0x3c00c0,_0xbf4201=_0x5b4f40[_0x41abbf(0x203)]()['toString']()['split']('.')[0x1],_0x4625d0=_0x5b4f40[_0x41abbf(0x23d)]()[_0x41abbf(0x181)]()['split']('.')[0x1],_0x212c86=_0x5123b5[_0x41abbf(0x1be)](_0x352810?.[_0x41abbf(0x212)]?.[_0x41abbf(0x1a5)]??0x0,0x0)?0x0:_0x352810?.[_0x41abbf(0x212)]?.[_0x41abbf(0x1a5)]??0x0,_0x2dd032=_0x5b4f40[_0x41abbf(0x1db)](),_0x22d610=Buffer[_0x41abbf(0x256)](JSON['stringify'](_0x3c00c0))[_0x41abbf(0x181)](_0x5123b5[_0x41abbf(0x217)]),_0x51d801={'hash':_0x35c786[_0x41abbf(0x216)](),'threadId':_0x35c786[_0x41abbf(0x1e0)]()[_0x41abbf(0x181)](),'processId':_0x35c786[_0x41abbf(0x1cf)]()[_0x41abbf(0x181)]()},_0x20984a={};_0x20984a[_0x41abbf(0x1af)]=_0x212c86,_0x20984a['testFrameworkName']=_0x298c42,_0x20984a[_0x41abbf(0x1f4)]=_0xe40cb5,_0x20984a['testFrameworkState']=_0xbf4201,_0x20984a[_0x41abbf(0x189)]=_0x4625d0,_0x20984a[_0x41abbf(0x1cd)]=_0x2059fb,_0x20984a[_0x41abbf(0x1f1)]=_0x3f246d,_0x20984a[_0x41abbf(0x206)]=_0x2dd032,_0x20984a[_0x41abbf(0x25e)]=_0x22d610,_0x20984a[_0x41abbf(0x25c)]=_0x51d801;const _0x51b9d3=_0x20984a;return logger[_0x41abbf(0x17c)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x1d2d32+_0x41abbf(0x24d)+_0xbf4201+_0x41abbf(0x242)+_0x4625d0),_0x51b9d3;}catch(_0x2fd24a){return logger[_0x41abbf(0x1c8)](_0x41abbf(0x22f)+util[_0x41abbf(0x1ae)](_0x2fd24a)),{};}}}module[a82_0x23e15a(0x182)]=PlaywrightTestFramework;
1
+ const a82_0x228e2e=a82_0x5d6c;(function(_0x536b9e,_0x239fe7){const _0xa2fe75=a82_0x5d6c,_0x172f4f=_0x536b9e();while(!![]){try{const _0x157dfe=parseInt(_0xa2fe75(0x15e))/0x1*(parseInt(_0xa2fe75(0x182))/0x2)+-parseInt(_0xa2fe75(0x121))/0x3+parseInt(_0xa2fe75(0xe6))/0x4+parseInt(_0xa2fe75(0x100))/0x5+-parseInt(_0xa2fe75(0xdf))/0x6*(-parseInt(_0xa2fe75(0xee))/0x7)+parseInt(_0xa2fe75(0xdc))/0x8+-parseInt(_0xa2fe75(0x18a))/0x9;if(_0x157dfe===_0x239fe7)break;else _0x172f4f['push'](_0x172f4f['shift']());}catch(_0x87fe93){_0x172f4f['push'](_0x172f4f['shift']());}}}(a82_0x3ec0,0xf2405));function a82_0x3ec0(){const _0x1963ac=['ceil',',\x20testFrameworkState=','glhpx','rgGOB','DEFAULT_HOOK_RESULT','KEY_HOOK_LOGS','attachments','parallelIndex','KXCwX','testUId','forEach','tyZQM','../../../helpers/test-observability/utils','KEY_TEST_STARTED_AT','gevxu','hook','executionContext','SJTjF','YJbno','IMpRK','Nlnkn','\x20&\x20hook\x20=\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','started_at','status','trackStepEvent:\x20exception=','instance','some','parsePlaywrightTestResult:\x20testId=','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','KEY_TEST_FILE_PATH','XgWyO','JhMnX','parent_id','../instances/trackedInstance.js','getCurrentTestState','KEY_TEST_ID','MsaRL','VuWbx','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','glpSo','DEFAULT_TEST_RESULT','timedOut','getInstance','trim','PlaywrightTestFramework','testFrameworkState','failure_type','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_EVENT_STARTED_AT','mtmeu','KEY_TEST_LOCATION','getThreadId','KEY_LOGS','isArray','FAgqe','toString','\x20testHookState=','sendLogCreatedEvent','BlTNy','877301weYmpZ','xzUoO','endedAt','pgORe','expectedStatus','passed','KEY_HOOKS_FINISHED','uySgJ','KEY_CUSTOM_TAGS','xwkIZ','getTime','PRE','filePath','getContext','KEY_TEST_SCOPES','tdEUo','POST','logs','KEY_HOOK_FAILURE','KEY_TEST_FRAMEWORK_NAME','urNOz','CaOKV','hqcLl','getCurrentInstanceName','exports','./testFramework','KEY_TEST_FRAMEWORK_VERSION','getTestFrameworks','file_name','getRef','KEY_TEST_UUID','nWAgq','skipped','step','YghZT','VIYtv','4QiAkYX','filter','\x20hookState:\x20','ndjqc','UWNQn','retry','multi_dropdown','trackStepEvent:\x20testId=','35782191vsHXuT','KEY_TEST_RERUN_NAME','Error\x20processing\x20direct\x20trace\x20file\x20','WjqUA','KEY_TEST_RETRY_OF','description','trackHookEvent','uuid','\x20from\x20TestDetails:\x20','RqzLm','basename','\x20response=','GBfDQ','\x20\x20and\x20args\x20=\x20','getProcessId','errors','addMultipleEntries','KEY_HOOK_LAST_FINISHED','getAllData','../TestInfo.js','../instances/testFrameworkInstance.js','push','Wzvli','get','resolveInstance','steps','getTestUUID','split','message','stringify','browserstackPlatformIndex','\x20testState:\x20','../cliUtils.js','WyEPB','KEY_HOOK_ID','parsePlaywrightTest','xmJox','getTestDetails','getId','KEY_TEST_SCOPE','keyword','length','TEST','slice','eSGMK','result','KEY_TEST_ENDED_AT','YtvHs','VHkih','Eaybd','\x20step=\x22','failure','trackPlaywrightInstance','\x20steps\x20for\x20testId=','CIbHb','pcKdr','getTestFrameworksVersions','logCreatedEvent','parsePlaywrightTestResult:\x20extracted\x20','No\x20reason\x20provided','iyhEk','LvOHg','../../../helpers/helper.js','SqLJO','stack','parsePlaywrightTestResult','PurLM','../../utils/constants','map','\x20payload=','KzYlx','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_HOOK_LAST_STARTED','getTrackedInstance','inspect','util','TEST_STEP','6685904VVemDI','getTestIdentifierFromTestInfo','text','204LbBwtO','startTime','setTestDetails','PpuXj','from','TEST_SCREENSHOT','KEY_TEST_FAILURE_TYPE','4439304KajvbM','err','asfHV','NSarj','KEY_HOOK_RESULT','axunh','fcltW','info','137690pvHjwH','base64','cohGp','../../playwright/reporter/pwUtils','field_type','title','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','INIT_TEST','KEY_TEST_FAILURE_REASON','KEY_TEST_CODE','KEY_TEST_TAGS',',\x20state=','BHZzm','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','test','createTestFrameworkEventPayload','setTrackedInstance','path','9766945RwXtzZ','\x20batch\x20','failed','toISOString','\x20hookState=','iUVtx','values','HLlmy','pYEfI','WXqcu','size','Hook\x20List\x20in\x20Post\x20','KEY_AUTOMATE_SESSION_NAME','format','MAX_TOP_LEVEL_STEPS','statSync','matchHookRegex','NONE','annotations','GwArc','sendLogCreatedEvent\x20for\x20testId:\x20','pop','mwHCM','McOMS','nrhVj','error','debug','getTraceFilePaths','concat','qqnHW','duration','lzTpk','\x20target=','4062825PgUtlY'];a82_0x3ec0=function(){return _0x1963ac;};return a82_0x3ec0();}const TestFramework=require(a82_0x228e2e(0x177)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a82_0x228e2e(0x19e)),CLIUtils=require(a82_0x228e2e(0x1aa)),TrackedInstance=require(a82_0x228e2e(0x144)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a82_0x228e2e(0x14f)),{v4:uuidv4}=require(a82_0x228e2e(0x191)),util=require(a82_0x228e2e(0xda)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a82_0x228e2e(0xcd)),TestInfo=require(a82_0x228e2e(0x19d)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a82_0x228e2e(0x12e)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a82_0x228e2e(0xf1)),{findNestedKey,sendTraceZip,validateFilePath}=require(a82_0x228e2e(0xf1)),path=require(a82_0x228e2e(0xff)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a82_0x228e2e(0xd2));function a82_0x5d6c(_0x4b7822,_0x4e3e98){const _0x3ec09d=a82_0x3ec0();return a82_0x5d6c=function(_0x5d6c7a,_0x39cb22){_0x5d6c7a=_0x5d6c7a-0xc8;let _0x447b82=_0x3ec09d[_0x5d6c7a];return _0x447b82;},a82_0x5d6c(_0x4b7822,_0x4e3e98);}class PlaywrightTestFramework extends TestFramework{constructor(_0x31c5d8,_0x5d1275,_0xf871da){super(_0x31c5d8,_0x5d1275,_0xf871da);}async['trackEvent'](_0x58615a,_0x813aad,_0x30ff2a={}){const _0x2968bd=a82_0x228e2e,_0x26ffe3={'xmJox':function(_0x1a262f,_0x45bf0f){return _0x1a262f===_0x45bf0f;},'rgGOB':function(_0x47ffd7,_0x1d5e9d,_0x1e8e49){return _0x47ffd7(_0x1d5e9d,_0x1e8e49);},'tdEUo':function(_0x41f0d2,_0x34ea8e){return _0x41f0d2===_0x34ea8e;},'lzTpk':function(_0x3c8648,_0x28aa15,_0x378d41,_0x5d84e6){return _0x3c8648(_0x28aa15,_0x378d41,_0x5d84e6);},'HINYl':_0x2968bd(0xfc),'SqLJO':_0x2968bd(0xd6)};super['trackEvent'](_0x58615a,_0x813aad,_0x30ff2a);if(_0x26ffe3[_0x2968bd(0x1ae)](_0x58615a,TestFrameworkState[_0x2968bd(0xe4)])){const _0xd956b6=TestInfo[_0x2968bd(0xdd)](_0x30ff2a[_0x2968bd(0xfc)],_0x30ff2a[_0x2968bd(0xfc)][_0x2968bd(0x187)]);TestInfo[_0x2968bd(0xe1)](_0xd956b6,_0x30ff2a[_0x2968bd(0x1b7)],!![]);}if(_0x26ffe3['xmJox'](_0x58615a,TestFrameworkState[_0x2968bd(0xdb)])){this['trackStepEvent'](_0x58615a,_0x813aad,_0x30ff2a);return;}const _0x3f3f9a=this[_0x2968bd(0x1a2)](_0x58615a,_0x813aad,_0x30ff2a);if(!_0x3f3f9a)return;logger['debug'](_0x2968bd(0x152)+_0x58615a+_0x2968bd(0x104)+_0x813aad+'\x20instanceId='+_0x3f3f9a[_0x2968bd(0x17b)]());try{if(_0x26ffe3[_0x2968bd(0x1ae)](_0x813aad,HookState[_0x2968bd(0x169)])&&_0x26ffe3[_0x2968bd(0x1ae)](_0x58615a,TestFrameworkState[_0x2968bd(0x1b4)])){const _0x258025=_0x30ff2a['test'];logger[_0x2968bd(0x11a)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x258025['id']+'}');const _0x2217c2=TestInfo[_0x2968bd(0x1a4)](_0x26ffe3['rgGOB'](getTestRunIdentifier,_0x258025,_0x30ff2a['result'][_0x2968bd(0x187)]));_0x3f3f9a[_0x2968bd(0x19a)](this['parsePlaywrightTest'](_0x2217c2,_0x258025,_0x30ff2a[_0x2968bd(0x1b7)])),logger[_0x2968bd(0x11a)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x258025['id']+_0x2968bd(0x123)+_0x58615a+_0x2968bd(0x15b)+_0x813aad+'\x20instance='+_0x3f3f9a[_0x2968bd(0x17b)]());}if(_0x26ffe3[_0x2968bd(0x16d)](_0x813aad,HookState[_0x2968bd(0x16e)])&&_0x26ffe3['tdEUo'](_0x58615a,TestFrameworkState[_0x2968bd(0x1b4)])){const _0x479697=_0x30ff2a['test'],_0x590243=_0x30ff2a[_0x2968bd(0x1b7)];logger[_0x2968bd(0x11a)](_0x2968bd(0xfb)+_0x479697['id']);const _0x5015e2=_0x26ffe3[_0x2968bd(0x125)](getTestRunIdentifier,_0x479697,_0x590243[_0x2968bd(0x187)]),_0x6aad5f=_0x3f3f9a['getAllData']()[_0x2968bd(0x1a1)](_0x5015e2)[TestFrameworkConstants[_0x2968bd(0x17c)]],{steps:_0x2583bd,logs:_0x3922c9}=_0x26ffe3[_0x2968bd(0x11f)](getStepsAndLogs,_0x590243['steps'],_0x6aad5f,_0x26ffe3['HINYl']);_0x3f3f9a[_0x2968bd(0x19a)](this[_0x2968bd(0xd0)](_0x479697['id'],_0x590243,_0x479697,_0x2583bd)),await this[_0x2968bd(0x15c)](_0x3f3f9a,_0x58615a,_0x813aad,_0x26ffe3['HINYl'],_0x30ff2a,_0x3922c9);}if(CLIUtils[_0x2968bd(0x110)](_0x58615a[_0x2968bd(0x15a)]()[_0x2968bd(0x1a5)]('.')[0x1])){const _0xb9a78f=await this[_0x2968bd(0x190)](_0x3f3f9a,_0x58615a,_0x813aad,_0x30ff2a);_0x3f3f9a[_0x2968bd(0x19a)](_0xb9a78f);}}catch(_0x5bad68){logger[_0x2968bd(0x119)](util['format'](_0x26ffe3[_0x2968bd(0xce)],_0x58615a,_0x813aad,_0x30ff2a[_0x2968bd(0x1b3)],_0x5bad68));}_0x30ff2a[_0x2968bd(0x13c)]=_0x3f3f9a,await this['runHooks'](_0x3f3f9a,_0x58615a,_0x813aad,_0x30ff2a);}[a82_0x228e2e(0x1a2)](_0x5ed15b,_0x5b71ce,_0x252d21={}){const _0x37d70c=a82_0x228e2e,_0x48f162={};_0x48f162[_0x37d70c(0x107)]=function(_0x2fc749,_0x54e820){return _0x2fc749===_0x54e820;};const _0x31e8e7=_0x48f162;let _0x3fcdf6=null;return(_0x31e8e7[_0x37d70c(0x107)](_0x5ed15b,TestFrameworkState[_0x37d70c(0xf5)])||_0x31e8e7[_0x37d70c(0x107)](_0x5ed15b,TestFrameworkState[_0x37d70c(0x111)]))&&this[_0x37d70c(0x1be)](_0x5ed15b,_0x252d21),_0x3fcdf6=TestFramework[_0x37d70c(0xd8)](),_0x3fcdf6;}[a82_0x228e2e(0x1be)](_0x7c1f74,_0x445d67){const _0x1445b9=a82_0x228e2e,_0x1be5ce=CLIUtils[_0x1445b9(0x175)](),_0x8a2783=TrackedInstance['createContext'](_0x1be5ce);let _0x389f19=null;logger['info'](_0x1445b9(0x13f)+_0x1be5ce+_0x1445b9(0xf9)+_0x7c1f74),_0x389f19=new TestFrameworkInstance(_0x8a2783,this[_0x1445b9(0x179)](),this[_0x1445b9(0x1c2)](),_0x7c1f74,HookState[_0x1445b9(0x111)]),TestFramework[_0x1445b9(0xfe)](_0x8a2783,_0x389f19),logger[_0x1445b9(0xed)](_0x1445b9(0x149)+_0x8a2783[_0x1445b9(0x1b0)]()+_0x1445b9(0x120)+_0x1be5ce);}[a82_0x228e2e(0x1ad)](_0x48df80,_0xea9830,_0x19b3ff){const _0x1945f6=a82_0x228e2e,_0x412468={'JhMnX':function(_0x5c02e9,_0x5d4ec1){return _0x5c02e9(_0x5d4ec1);},'Eaybd':function(_0xa19969,_0x720d54){return _0xa19969(_0x720d54);},'UWNQn':function(_0x1d505c,_0x30ad60){return _0x1d505c(_0x30ad60);},'axunh':function(_0x5a99f0,_0x4937cb,_0x59e18e){return _0x5a99f0(_0x4937cb,_0x59e18e);}},_0x18645b=_0x412468[_0x1945f6(0x142)](getPlaywrightTestId,_0xea9830),_0x1decee=_0x412468['JhMnX'](getPlaywrightTestTitle,_0xea9830),_0x570f4d=_0x412468[_0x1945f6(0x142)](getTestTags,_0xea9830),_0xcea877=_0x412468[_0x1945f6(0x1bb)](getPlaywrightTestCode,_0xea9830),_0x5ae4cc=_0x412468[_0x1945f6(0x142)](getPlaywrightTestFilePath,_0xea9830),_0x337db7=_0x5ae4cc,_0x5926f0=_0x412468[_0x1945f6(0x142)](getPlaywrightTestScope,_0xea9830),_0x3ebfbb=_0x412468[_0x1945f6(0x186)](getPlaywrightTestScopes,_0xea9830),_0x4c67d2=_0x412468[_0x1945f6(0x142)](getPlaywrightSessionName,_0xea9830),_0x3a241a=this[_0x1945f6(0x179)]()[0x0],_0x4c8fc8=_0x412468[_0x1945f6(0xeb)](getTestRunIdentifier,_0xea9830,_0x19b3ff[_0x1945f6(0x187)]),_0x49ad58={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3a241a,[TestFrameworkConstants[_0x1945f6(0x178)]]:this[_0x1945f6(0x1c2)]()[_0x3a241a],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x1945f6(0x17c)]]:_0x48df80,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x1945f6(0x14b)],[TestFrameworkConstants[_0x1945f6(0x10c)]]:_0x4c67d2,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5ae4cc,[TestFrameworkConstants[_0x1945f6(0x146)]]:_0x18645b,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x1decee,[TestFrameworkConstants[_0x1945f6(0x155)]]:_0x337db7,[TestFrameworkConstants[_0x1945f6(0xf7)]]:_0xcea877,[TestFrameworkConstants[_0x1945f6(0xf8)]]:_0x570f4d,[TestFrameworkConstants[_0x1945f6(0x12f)]]:_0xea9830['results'][0x0][_0x1945f6(0xe0)],[TestFrameworkConstants[_0x1945f6(0x1b1)]]:_0x5926f0,[TestFrameworkConstants[_0x1945f6(0x16c)]]:_0x3ebfbb,[TestFrameworkConstants[_0x1945f6(0x18b)]]:_0x412468[_0x1945f6(0x142)](getPlaywrightCustomRerunParam,_0xea9830)};TestInfo[_0x1945f6(0xe1)](_0x4c8fc8,_0x49ad58);const _0x23b0c9={};return _0x23b0c9[_0x4c8fc8]=_0x49ad58,_0x23b0c9;}['parsePlaywrightTestResult'](_0x27b0ea,_0x1519f8,_0x11f474,_0x3c17d9){const _0x2d438f=a82_0x228e2e,_0x5e8b7c={'nFTAj':function(_0x233ea9,_0x309413){return _0x233ea9(_0x309413);},'qqnHW':'TEST_ATTACHMENT','cohGp':function(_0x1b646d,_0x4e268a){return _0x1b646d===_0x4e268a;},'nrhVj':function(_0x19829c,_0x3325bf){return _0x19829c===_0x3325bf;},'YghZT':function(_0x55ed5d,_0x1cdeb0){return _0x55ed5d(_0x1cdeb0);},'BHZzm':_0x2d438f(0xca),'YtvHs':_0x2d438f(0x188),'KXCwX':function(_0x4c5168,_0x566c89){return _0x4c5168(_0x566c89);},'gevxu':function(_0x76b166,_0x12434a,_0x2c218e){return _0x76b166(_0x12434a,_0x2c218e);},'mwHCM':function(_0x4b3b59,_0x5a91a3){return _0x4b3b59+_0x5a91a3;},'qvulI':_0x2d438f(0x17e),'BlTNy':_0x2d438f(0x163),'hqcLl':function(_0x565d8a,_0x34bb1d){return _0x565d8a===_0x34bb1d;},'NSarj':_0x2d438f(0x102),'CaOKV':_0x2d438f(0x14c),'XgWyO':function(_0x4b2f75,_0x1ec395){return _0x4b2f75===_0x1ec395;},'dwoAH':'Expected\x20to\x20fail,\x20but\x20passed.','yEuGu':function(_0x2d40b9,_0x46267f){return _0x2d40b9||_0x46267f;},'pYEfI':function(_0x20417a,_0x14e314){return _0x20417a(_0x14e314);},'pebKL':function(_0x1f9e96,_0x4e8976){return _0x1f9e96(_0x4e8976);},'nWAgq':function(_0x320271,_0x217aa7){return _0x320271>_0x217aa7;},'tyZQM':function(_0x30a33b,_0x444f29){return _0x30a33b-_0x444f29;},'WjqUA':function(_0x46d06d,_0x5d37ec,_0x201aa2,_0x5a96ab){return _0x46d06d(_0x5d37ec,_0x201aa2,_0x5a96ab);},'PurLM':_0x2d438f(0xfc),'KzYlx':function(_0xf57127,_0x293633){return _0xf57127===_0x293633;},'sNCGb':function(_0x38b994,_0x307e47){return _0x38b994>=_0x307e47;},'Wzvli':_0x2d438f(0xff),'pgORe':function(_0x39b8ee,_0x52e5dc){return _0x39b8ee(_0x52e5dc);},'asfHV':function(_0x172b47,_0x11102d){return _0x172b47>_0x11102d;}};logger['debug'](_0x2d438f(0x13e)+_0x27b0ea);const _0x45e24e=_0x5e8b7c['gevxu'](getTestRunIdentifier,_0x11f474,_0x1519f8[_0x2d438f(0x187)]),_0x25bff2=new Date(_0x1519f8[_0x2d438f(0xe0)]),_0x3046ca=_0x1519f8[_0x2d438f(0x11e)],_0xf5b760=new Date(_0x5e8b7c[_0x2d438f(0x116)](_0x25bff2[_0x2d438f(0x168)](),_0x3046ca)),_0x25b9a0=_0x1519f8[_0x2d438f(0x13a)],_0x1e3f48=TestInfo['getTestDetails'](_0x45e24e)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x547c9c=_0x25b9a0;if(_0x5e8b7c[_0x2d438f(0xf0)](_0x1519f8[_0x2d438f(0x13a)],_0x11f474[_0x2d438f(0x162)]))_0x547c9c=_0x5e8b7c[_0x2d438f(0xf0)](_0x1519f8['status'],_0x5e8b7c['qvulI'])?_0x5e8b7c['qvulI']:_0x5e8b7c[_0x2d438f(0x15d)];else{(_0x5e8b7c[_0x2d438f(0x118)](_0x547c9c,_0x5e8b7c[_0x2d438f(0x15d)])||_0x5e8b7c[_0x2d438f(0x174)](_0x547c9c,_0x5e8b7c[_0x2d438f(0xe9)])||_0x5e8b7c['nrhVj'](_0x547c9c,_0x5e8b7c[_0x2d438f(0x173)]))&&(_0x547c9c=_0x5e8b7c[_0x2d438f(0xe9)]);if(_0x5e8b7c[_0x2d438f(0x141)](_0x1519f8['status'],_0x5e8b7c['BlTNy'])&&_0x5e8b7c[_0x2d438f(0x174)](_0x11f474[_0x2d438f(0x162)],_0x5e8b7c[_0x2d438f(0xe9)])){const _0x1a352e={};_0x1a352e['message']=_0x5e8b7c['dwoAH'],_0x1a352e[_0x2d438f(0xcf)]=_0x5e8b7c['dwoAH'],_0x1519f8[_0x2d438f(0x119)]=_0x1a352e,_0x1519f8[_0x2d438f(0x199)]=[_0x1519f8[_0x2d438f(0x119)]];}}const {failureData:_0x599b7c,logs:_0x429b60}=_0x5e8b7c[_0x2d438f(0x130)](getFailureData,_0x1519f8?.[_0x2d438f(0x199)],{}),_0x43acfa={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x5e8b7c['yEuGu'](_0x599b7c,null),[TestFrameworkConstants[_0x2d438f(0xe5)]]:_0x1519f8?.[_0x2d438f(0x119)]&&_0x5e8b7c[_0x2d438f(0x108)](getFailureType,_0x1519f8[_0x2d438f(0x119)]['message']),[TestFrameworkConstants[_0x2d438f(0xf6)]]:_0x1519f8?.['error']&&_0x5e8b7c['pebKL'](removeAnsiColors,_0x1519f8[_0x2d438f(0x119)]['message']),[TestFrameworkConstants[_0x2d438f(0x157)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x547c9c,[TestFrameworkConstants[_0x2d438f(0x1b8)]]:_0xf5b760['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1e3f48};if(_0x1519f8&&_0x5e8b7c[_0x2d438f(0x17d)](_0x1519f8[_0x2d438f(0x187)],0x0)){const _0x13b2c8=TestInfo[_0x2d438f(0x1a4)](_0x5e8b7c[_0x2d438f(0x130)](getTestRunIdentifier,_0x11f474,_0x5e8b7c[_0x2d438f(0x12d)](_0x1519f8['retry'],0x1)));_0x43acfa[TestFrameworkConstants[_0x2d438f(0x18e)]]=_0x13b2c8;}const _0x2004bf={};_0x2004bf[_0x2d438f(0xfc)]=_0x11f474;const _0x2bde9a=this[_0x2d438f(0x1a2)](TestFrameworkState['TEST'],HookState[_0x2d438f(0x16e)],_0x2004bf),_0x4fc531=_0x2bde9a[_0x2d438f(0x19c)]()['get'](_0x45e24e)[TestFrameworkConstants[_0x2d438f(0x17c)]],_0x2c6134=_0x3c17d9||_0x5e8b7c[_0x2d438f(0x18d)](getStepsAndLogs,_0x1519f8[_0x2d438f(0x1a3)],_0x4fc531,_0x5e8b7c[_0x2d438f(0xd1)])[_0x2d438f(0x1a3)],_0x2c792e=new Map();let _0xec7390=0x0;const _0x32c949=[];for(const _0x216e7d of _0x2c6134||[]){const _0x53a3d2=_0x216e7d[_0x2d438f(0x143)]||null;let _0x554f89;if(_0x5e8b7c[_0x2d438f(0xd5)](_0x53a3d2,null)){if(_0x5e8b7c['sNCGb'](_0xec7390,TestFrameworkConstants[_0x2d438f(0x10e)]))continue;_0x554f89=0x0,_0xec7390++;}else{const _0x48b017=_0x2c792e[_0x2d438f(0x1a1)](_0x53a3d2);if(_0x5e8b7c[_0x2d438f(0x141)](_0x48b017,undefined))continue;_0x554f89=_0x5e8b7c[_0x2d438f(0x116)](_0x48b017,0x1);if(_0x5e8b7c['nWAgq'](_0x554f89,TestFrameworkConstants['MAX_NESTED_STEP_DEPTH']))continue;}_0x2c792e['set'](_0x216e7d['id'],_0x554f89);const _0x33d6f7={};_0x33d6f7['id']=_0x216e7d['id'],_0x33d6f7[_0x2d438f(0x143)]=_0x53a3d2,_0x33d6f7[_0x2d438f(0xde)]=_0x216e7d[_0x2d438f(0xde)],_0x33d6f7[_0x2d438f(0x1b2)]=_0x216e7d[_0x2d438f(0x1b2)]||null,_0x33d6f7['started_at']=_0x216e7d[_0x2d438f(0x139)],_0x33d6f7['duration']=_0x216e7d['duration']??null,_0x33d6f7[_0x2d438f(0x1b7)]=_0x216e7d[_0x2d438f(0x1b7)],_0x33d6f7[_0x2d438f(0x1bd)]=_0x216e7d[_0x2d438f(0x1bd)]||null,_0x33d6f7[_0x2d438f(0x151)]=_0x216e7d[_0x2d438f(0x151)]||null,_0x32c949[_0x2d438f(0x19f)](_0x33d6f7);}const _0x40718f={};_0x40718f[_0x2d438f(0x1a3)]=_0x32c949,_0x43acfa[TestFrameworkConstants['KEY_TEST_META']]=_0x40718f,logger[_0x2d438f(0x11a)](_0x2d438f(0xc9)+_0x32c949[_0x2d438f(0x1b3)]+_0x2d438f(0x1bf)+_0x27b0ea);const _0x486a95=[],_0x51a393=_0x5e8b7c['gevxu'](findNestedKey,_0x1519f8,_0x5e8b7c[_0x2d438f(0x1a0)]);if(_0x51a393&&_0x5e8b7c[_0x2d438f(0x161)](validateFilePath,_0x51a393))try{_0x486a95[_0x2d438f(0x19f)]({'kind':_0x5e8b7c[_0x2d438f(0x11d)],'timestamp':new Date()[_0x2d438f(0x103)](),'test_run_uuid':_0x4fc531,'file_name':path[_0x2d438f(0x194)](_0x51a393),'file_size':fs[_0x2d438f(0x10f)](_0x51a393)[_0x2d438f(0x10a)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x34e875){logger[_0x2d438f(0x119)](_0x2d438f(0x18c)+_0x51a393+':\x20'+_0x34e875[_0x2d438f(0x1a6)]);}const _0x1965f8=TestInfo[_0x2d438f(0x11b)](),_0x57bb7c=_0x1965f8[_0x2d438f(0x183)](_0x504f94=>_0x504f94[_0x2d438f(0x12b)]===_0x4fc531);_0x57bb7c[_0x2d438f(0x12c)](_0x42fa23=>{const _0x4829e1=_0x2d438f;if(_0x42fa23['filePath']&&_0x5e8b7c['nFTAj'](validateFilePath,_0x42fa23['filePath'])&&!_0x486a95[_0x4829e1(0x13d)](_0x376042=>_0x376042[_0x4829e1(0x17a)]===path['basename'](_0x42fa23[_0x4829e1(0x16a)])))try{_0x486a95[_0x4829e1(0x19f)]({'kind':_0x5e8b7c['qqnHW'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x4fc531,'file_name':path[_0x4829e1(0x194)](_0x42fa23['filePath']),'file_size':fs[_0x4829e1(0x10f)](_0x42fa23[_0x4829e1(0x16a)])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3d0225){logger[_0x4829e1(0x119)]('Error\x20processing\x20trace\x20file\x20'+_0x42fa23[_0x4829e1(0x16a)]+_0x4829e1(0x192)+_0x3d0225[_0x4829e1(0x1a6)]);}});if(_0x5e8b7c[_0x2d438f(0x17d)](_0x486a95[_0x2d438f(0x1b3)],0x0)){const _0x16a647=_0x43acfa[TestFrameworkConstants[_0x2d438f(0x157)]]||[];_0x43acfa[TestFrameworkConstants[_0x2d438f(0x157)]]=[..._0x16a647,..._0x486a95];}const _0x77c878=TestInfo[_0x2d438f(0x1af)](_0x45e24e)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0xbdc8f5=_0x5e8b7c[_0x2d438f(0x130)](getManualUploadLogs,_0x77c878,_0x2bde9a[_0x2d438f(0x19c)]()[_0x2d438f(0x1a1)](_0x45e24e)[TestFrameworkConstants[_0x2d438f(0x17c)]]);if(_0x5e8b7c[_0x2d438f(0xe8)](_0xbdc8f5['length'],0x0)){const _0x47c7c5=_0x43acfa[TestFrameworkConstants['KEY_LOGS']]||[];_0x43acfa[TestFrameworkConstants[_0x2d438f(0x157)]]=[..._0x47c7c5,..._0xbdc8f5];}const _0x2c03c4=_0x11f474[_0x2d438f(0x112)]||[],_0x286eb2=_0x43acfa[TestFrameworkConstants[_0x2d438f(0x166)]]||{};_0x2c03c4[_0x2d438f(0x12c)](_0x5527fb=>{const _0x2c8343=_0x2d438f,{type:_0x1fef5c}=_0x5527fb;let _0x5ac875=_0x5527fb[_0x2c8343(0x18f)];if(!_0x1fef5c)return;(_0x5e8b7c[_0x2c8343(0xf0)](_0x5ac875,undefined)||_0x5e8b7c['cohGp'](_0x5ac875,null)||_0x5e8b7c[_0x2c8343(0x118)](_0x5e8b7c[_0x2c8343(0x180)](String,_0x5ac875)[_0x2c8343(0x14e)](),''))&&(_0x5ac875=_0x5e8b7c[_0x2c8343(0xfa)]);if(!_0x286eb2[_0x1fef5c]){const _0x16cf03={};_0x16cf03[_0x2c8343(0xf2)]=_0x5e8b7c[_0x2c8343(0x1b9)],_0x16cf03[_0x2c8343(0x106)]=[],_0x286eb2[_0x1fef5c]=_0x16cf03;}else!_0x286eb2[_0x1fef5c]['field_type']&&(_0x286eb2[_0x1fef5c][_0x2c8343(0xf2)]=_0x5e8b7c[_0x2c8343(0x1b9)]),!Array[_0x2c8343(0x158)](_0x286eb2[_0x1fef5c]['values'])&&(_0x286eb2[_0x1fef5c][_0x2c8343(0x106)]=[]);const _0xfbb9e4=_0x5e8b7c[_0x2c8343(0x12a)](String,_0x5ac875)[_0x2c8343(0x1a5)](',')[_0x2c8343(0xd3)](_0xd2bf7c=>_0xd2bf7c[_0x2c8343(0x14e)]());_0x286eb2[_0x1fef5c]['values']=[...new Set([..._0x286eb2[_0x1fef5c][_0x2c8343(0x106)],..._0xfbb9e4])];}),_0x43acfa[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x286eb2,TestInfo[_0x2d438f(0xe1)](_0x45e24e,_0x43acfa);const _0x5730f3={};return _0x5730f3[_0x45e24e]=_0x43acfa,_0x5730f3;}['trackStepEvent'](_0x5dd824,_0x508fde,_0x586d03){const _0x2a976e=a82_0x228e2e,_0x3e8ff1={'xwkIZ':function(_0x25c574,_0x15ceea){return _0x25c574||_0x15ceea;},'uySgJ':function(_0x55513f,_0x3081ae,_0x35b7e7){return _0x55513f(_0x3081ae,_0x35b7e7);}};try{const {test:_0x43bf98,result:_0x2b9e72,step:_0x44e059}=_0x586d03;if(_0x3e8ff1[_0x2a976e(0x167)](!_0x43bf98,!_0x44e059)||!_0x2b9e72)return;const _0x518a4d=_0x3e8ff1[_0x2a976e(0x165)](getTestRunIdentifier,_0x43bf98,_0x2b9e72[_0x2a976e(0x187)]);logger[_0x2a976e(0x11a)](_0x2a976e(0x189)+_0x518a4d+'\x20hookState='+_0x508fde+_0x2a976e(0x1bc)+_0x44e059[_0x2a976e(0xf3)]+'\x22');}catch(_0x4adf3b){logger[_0x2a976e(0x119)](_0x2a976e(0x13b)+util[_0x2a976e(0x10d)](_0x4adf3b));}}async[a82_0x228e2e(0x190)](_0x1cb79e,_0x4f4041,_0x426be6,_0x436cf4){const _0x25e741=a82_0x228e2e,_0x435bc9={'McOMS':function(_0x5075bd,_0x407cb7,_0x253f04){return _0x5075bd(_0x407cb7,_0x253f04);},'eSGMK':function(_0x40883e,_0x1b967f){return _0x40883e in _0x1b967f;},'glpSo':function(_0x397922,_0x580b81){return _0x397922 in _0x580b81;},'FAgqe':function(_0x23a9d9,_0x5c5d14){return _0x23a9d9(_0x5c5d14);},'GBfDQ':function(_0x51824f,_0x367fc3){return _0x51824f===_0x367fc3;},'YJbno':function(_0xb55bb5){return _0xb55bb5();},'CIbHb':function(_0x42870c,_0x35671f){return _0x42870c>_0x35671f;},'uLOno':function(_0xeece1a,_0x1ca4ea,_0x142585){return _0xeece1a(_0x1ca4ea,_0x142585);},'VHkih':_0x25e741(0xe7),'Nlnkn':function(_0x2b51f5,_0x5554cc){return _0x2b51f5(_0x5554cc);},'sEoeO':function(_0x3fcae9,_0x21d34b){return _0x3fcae9(_0x21d34b);},'MsaRL':_0x25e741(0x102),'RqzLm':_0x25e741(0x163),'iPDaV':function(_0x2c558a,_0x552e70){return _0x2c558a!==_0x552e70;},'LvOHg':function(_0xc664,_0x43f224){return _0xc664+_0x43f224;},'IMpRK':_0x25e741(0x131)},_0x18bf04=_0x436cf4[_0x25e741(0xfc)],_0x285dba=_0x436cf4[_0x25e741(0x17f)],_0x1da2d6=_0x435bc9[_0x25e741(0x117)](getTestRunIdentifier,_0x18bf04,_0x436cf4[_0x25e741(0x1b7)][_0x25e741(0x187)]),_0x14da4b=_0x4f4041['toString']()[_0x25e741(0x1a5)]('.')[0x1];let _0x5d03ec=_0x1cb79e['getAllData']()[_0x25e741(0x1a1)](_0x1da2d6)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x5d03ec&&(_0x5d03ec={});!_0x435bc9[_0x25e741(0x1b6)](_0x14da4b,_0x5d03ec)&&(_0x5d03ec[_0x14da4b]=[]);let _0x25f735=_0x1cb79e[_0x25e741(0x19c)]()[_0x25e741(0x1a1)](_0x1da2d6)[TestFrameworkConstants[_0x25e741(0x164)]];!_0x25f735&&(_0x25f735={});!_0x435bc9[_0x25e741(0x14a)](_0x14da4b,_0x25f735)&&(_0x25f735[_0x14da4b]=[]);const _0x882e7f={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5d03ec,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x25f735},_0xeb9a96={};_0xeb9a96[_0x1da2d6]=_0x882e7f;const _0x115821=_0xeb9a96,_0x325855=_0x435bc9[_0x25e741(0x159)](getPlaywrightTestFilePath,_0x18bf04),_0x24d2d4=_0x325855,_0x3a6c6b=TestInfo['getTestDetails'](_0x1da2d6)[TestFrameworkConstants[_0x25e741(0x166)]]||{};if(_0x435bc9[_0x25e741(0x196)](_0x426be6,HookState[_0x25e741(0x169)])){const _0x2a4770={'key':_0x14da4b,[TestFrameworkConstants[_0x25e741(0x1ac)]]:_0x435bc9[_0x25e741(0x134)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x25e741(0x126)],[TestFrameworkConstants[_0x25e741(0x153)]]:_0x285dba['startTime'],[TestFrameworkConstants[_0x25e741(0x127)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x285dba[_0x25e741(0xf3)],[TestFrameworkConstants[_0x25e741(0x140)]]:_0x325855,[TestFrameworkConstants[_0x25e741(0x155)]]:_0x24d2d4,[TestFrameworkConstants[_0x25e741(0x166)]]:_0x3a6c6b};_0x5d03ec[_0x14da4b][_0x25e741(0x19f)](_0x2a4770),_0x115821[_0x1da2d6][TestFrameworkConstants[_0x25e741(0xd7)]]=_0x14da4b,logger[_0x25e741(0x11a)](_0x25e741(0xf4)+_0x14da4b+_0x25e741(0x137)+_0x2a4770+_0x25e741(0x197)+_0x436cf4);}else{if(_0x435bc9[_0x25e741(0x196)](_0x426be6,HookState['POST'])){const _0x2abfa6=await _0x436cf4['result'],_0x5a4031=_0x5d03ec[_0x14da4b]||[],_0x4a0f6c=_0x436cf4['step'];logger['debug'](_0x25e741(0x10b)+_0x5a4031+'\x20and\x20args\x20=\x20'+_0x436cf4);if(_0x435bc9[_0x25e741(0x1c0)](_0x5a4031[_0x25e741(0x1b3)],0x0)){const _0x1efe36=_0x5a4031[_0x25e741(0x115)]();if(_0x4a0f6c[_0x25e741(0x119)]){const _0x409a21=_0x435bc9['uLOno'](failureData,_0x4a0f6c['error'],_0x435bc9[_0x25e741(0x1ba)]);_0x1efe36[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x435bc9[_0x25e741(0x136)](getFailureType,_0x4a0f6c?.[_0x25e741(0x119)][_0x25e741(0x1a6)]),_0x1efe36[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x435bc9['sEoeO'](removeAnsiColors,_0x4a0f6c?.[_0x25e741(0x119)][_0x25e741(0x1a6)]),_0x1efe36[TestFrameworkConstants[_0x25e741(0xea)]]=_0x435bc9[_0x25e741(0x147)],_0x1efe36[TestFrameworkConstants[_0x25e741(0x170)]]=_0x409a21;}else _0x1efe36[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x435bc9[_0x25e741(0x193)];_0x435bc9['iPDaV'](_0x2abfa6,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x1efe36[TestFrameworkConstants[_0x25e741(0xea)]]=!_0x4a0f6c[_0x25e741(0x119)]?_0x435bc9[_0x25e741(0x193)]:_0x435bc9['MsaRL']);const _0x53cf28=new Date(_0x4a0f6c[_0x25e741(0xe0)]),_0x27f85e=new Date(_0x435bc9[_0x25e741(0xcc)](_0x53cf28['getTime'](),_0x4a0f6c[_0x25e741(0x11e)]));_0x1efe36[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x27f85e[_0x25e741(0x103)](),_0x1efe36[TestFrameworkConstants[_0x25e741(0x166)]]=_0x3a6c6b;const _0x333cf1=_0x1efe36[TestFrameworkConstants[_0x25e741(0x1ac)]];await this['sendLogCreatedEvent'](_0x1cb79e,_0x4f4041,_0x333cf1,_0x435bc9[_0x25e741(0x135)],_0x436cf4),!_0x25f735[_0x14da4b]&&(_0x25f735[_0x14da4b]=[]),_0x25f735[_0x14da4b]['push'](_0x1efe36),_0x115821[_0x1da2d6][TestFrameworkConstants[_0x25e741(0x19b)]]=_0x14da4b;}}}return _0x115821;}async[a82_0x228e2e(0x15c)](_0x34c39d,_0x5de580,_0x231564,_0x901364,_0x297050,_0x5407c5){const _0x1cf40a=a82_0x228e2e,_0x642381={'GwArc':function(_0x16534f,_0x33dcf2){return _0x16534f===_0x33dcf2;},'iyhEk':'test','xzUoO':function(_0x5d64d0,_0x29a3e9,_0x18a62a){return _0x5d64d0(_0x29a3e9,_0x18a62a);},'iUVtx':_0x1cf40a(0x128),'fcltW':function(_0x40016f,_0xac90cf,_0x42d6d4,_0x58d660){return _0x40016f(_0xac90cf,_0x42d6d4,_0x58d660);},'VIYtv':function(_0x2bca99,_0x1eca22,_0x5a2cce){return _0x2bca99(_0x1eca22,_0x5a2cce);},'urNOz':function(_0x17e9af,_0x473bbf,_0x5daecf){return _0x17e9af(_0x473bbf,_0x5daecf);},'VuWbx':function(_0xc5329f,_0x386755,_0x13157e){return _0xc5329f(_0x386755,_0x13157e);},'XtHbK':function(_0x4dc11e,_0x73cf22){return _0x4dc11e/_0x73cf22;},'ndjqc':function(_0x5503b3,_0x387335){return _0x5503b3<_0x387335;},'WXqcu':function(_0x19f753,_0x2ec67a){return _0x19f753*_0x2ec67a;},'glhpx':function(_0x2f63c5,_0x4e25ef){return _0x2f63c5+_0x4e25ef;},'SJTjF':function(_0x45130c,_0x5d326b,_0x55c628,_0x5976ed,_0x209c8c){return _0x45130c(_0x5d326b,_0x55c628,_0x5976ed,_0x209c8c);},'wqYON':function(_0x3bd923,_0x27a3c1){return _0x3bd923+_0x27a3c1;},'WyEPB':'hook','hiatX':function(_0x1bd926,_0x1d8f24,_0x217261){return _0x1bd926(_0x1d8f24,_0x217261);},'PpuXj':function(_0x3264da,_0x2de115,_0x414c09,_0x168365,_0x2fec80){return _0x3264da(_0x2de115,_0x414c09,_0x168365,_0x2fec80);}};try{if(_0x642381[_0x1cf40a(0x113)](_0x901364,_0x642381['iyhEk'])){const _0x9c9093=await _0x297050['result'],_0x40547a=_0x642381[_0x1cf40a(0x15f)](getTestRunIdentifier,_0x297050['test'],_0x297050[_0x1cf40a(0x1b7)]['retry']),_0x2f7026=_0x297050[_0x1cf40a(0xfc)];logger[_0x1cf40a(0x11a)]('sendLogCreatedEvent:\x20testId='+_0x40547a+'\x20result='+util[_0x1cf40a(0xd9)](_0x9c9093));const _0x105707=_0x34c39d['getAllData']()['get'](_0x40547a)[TestFrameworkConstants[_0x1cf40a(0x17c)]];await _0x642381['xzUoO'](sendTraceZip,_0x9c9093,_0x105707);const _0x2ad609=TestInfo[_0x1cf40a(0x1af)](_0x40547a)[_0x642381[_0x1cf40a(0x105)]],_0xf2d774={};if(_0x2ad609){!_0x9c9093[_0x1cf40a(0x128)]&&(_0x9c9093[_0x1cf40a(0x128)]=[]);_0xf2d774[_0x1cf40a(0x128)]=_0x9c9093[_0x1cf40a(0x128)]['concat'](_0x2ad609||[]);const _0xf62e77=TestInfo[_0x1cf40a(0x1af)](_0x40547a);delete _0xf62e77[_0x642381['iUVtx']],TestInfo['setTestDetails'](_0x40547a,_0xf62e77);}const _0x4959d4=_0x5407c5||_0x642381[_0x1cf40a(0xec)](getStepsAndLogs,_0x9c9093[_0x1cf40a(0x1a3)],_0x34c39d['getAllData']()[_0x1cf40a(0x1a1)](_0x40547a)[TestFrameworkConstants[_0x1cf40a(0x17c)]],_0x642381[_0x1cf40a(0xcb)])[_0x1cf40a(0x16f)],_0x4c72d3=_0x642381['xzUoO'](getScreenshots,_0xf2d774,_0x34c39d['getAllData']()[_0x1cf40a(0x1a1)](_0x40547a)[TestFrameworkConstants[_0x1cf40a(0x17c)]]),_0xd4b4e6=_0x642381[_0x1cf40a(0x181)](getVideos,_0x9c9093,_0x34c39d[_0x1cf40a(0x19c)]()[_0x1cf40a(0x1a1)](_0x40547a)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x3dba85,logs:_0x4b7590}=_0x642381[_0x1cf40a(0x172)](getFailureData,_0x9c9093['errors'],{'test_run_uuid':_0x34c39d[_0x1cf40a(0x19c)]()['get'](_0x40547a)[TestFrameworkConstants[_0x1cf40a(0x17c)]]}),_0x4a29b2=TestInfo['getTestDetails'](_0x40547a)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x279ca7=_0x642381[_0x1cf40a(0x148)](getMediaArtifactsLogs,_0x4a29b2,_0x34c39d['getAllData']()[_0x1cf40a(0x1a1)](_0x40547a)[TestFrameworkConstants[_0x1cf40a(0x17c)]]),_0x13b691=_0x34c39d[_0x1cf40a(0x19c)]()[_0x1cf40a(0x1a1)](_0x40547a),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1e9123='',[TestFrameworkConstants[_0x1cf40a(0x178)]]:_0x1737cc=''}=_0x13b691,_0x59db92=(_0x4959d4||[])[_0x1cf40a(0x11c)](_0x4c72d3||[])[_0x1cf40a(0x11c)](_0x4b7590||[])['concat'](_0xd4b4e6||[])[_0x1cf40a(0x11c)](_0x279ca7||[]),_0x358efe=0x28,_0xb90fb3=Math[_0x1cf40a(0x122)](_0x642381['XtHbK'](_0x59db92[_0x1cf40a(0x1b3)],_0x358efe));for(let _0x2d35b8=0x0;_0x642381[_0x1cf40a(0x185)](_0x2d35b8,_0xb90fb3);_0x2d35b8++){const _0x596a8d=_0x642381[_0x1cf40a(0x109)](_0x2d35b8,_0x358efe),_0x11fc80=_0x642381['glhpx'](_0x596a8d,_0x358efe),_0x3a1c56=_0x59db92[_0x1cf40a(0x1b5)](_0x596a8d,_0x11fc80),_0x5602f2={'platformIndex':global?.[_0x1cf40a(0x1a8)]??0x0,'logs':_0x3a1c56,'testFrameworkName':_0x1e9123,'testFrameworkVersion':_0x1737cc,'testFrameworkState':_0x5de580[_0x1cf40a(0x15a)]()[_0x1cf40a(0x1a5)]('.')[0x1]};_0x642381[_0x1cf40a(0x133)](updatePayloadForTraceLogs,_0x5602f2,_0x297050,_0x40547a,_0x34c39d),logger[_0x1cf40a(0x11a)](_0x1cf40a(0x114)+_0x40547a+_0x1cf40a(0x101)+_0x642381['wqYON'](_0x2d35b8,0x1)+'/'+_0xb90fb3+_0x1cf40a(0xd4)+util['inspect'](_0x5602f2));const _0x3e9eb4=await GrpcClient[_0x1cf40a(0x14d)]()[_0x1cf40a(0xc8)](_0x5602f2);logger['debug'](_0x1cf40a(0x114)+_0x40547a+_0x1cf40a(0x101)+_0x642381[_0x1cf40a(0x124)](_0x2d35b8,0x1)+'/'+_0xb90fb3+_0x1cf40a(0x195)+util['inspect'](_0x3e9eb4));}}else{const {logs:_0x485b4f}=_0x642381[_0x1cf40a(0xec)](getStepsAndLogs,_0x297050[_0x1cf40a(0x17f)]['steps'],_0x231564,_0x642381[_0x1cf40a(0x1ab)]),_0x3cb07d=_0x642381['hiatX'](getTestRunIdentifier,_0x297050[_0x1cf40a(0xfc)],_0x297050[_0x1cf40a(0x1b7)][_0x1cf40a(0x187)]);logger[_0x1cf40a(0x11a)]('sendLogCreatedEvent:\x20testId='+_0x3cb07d);const _0x351d09=_0x34c39d['getAllData']()[_0x1cf40a(0x1a1)](_0x3cb07d),{[TestFrameworkConstants[_0x1cf40a(0x171)]]:_0x16b9b8='',[TestFrameworkConstants[_0x1cf40a(0x178)]]:_0x53c79f=''}=_0x351d09,_0x207bb8={'platformIndex':'0','logs':_0x485b4f,'testFrameworkName':_0x16b9b8,'testFrameworkVersion':_0x53c79f,'testFrameworkState':_0x5de580[_0x1cf40a(0x15a)]()[_0x1cf40a(0x1a5)]('.')[0x1]};_0x642381[_0x1cf40a(0xe2)](updatePayloadForTraceLogs,_0x207bb8,_0x297050,_0x3cb07d,_0x34c39d),logger[_0x1cf40a(0x11a)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x3cb07d+_0x1cf40a(0xd4)+util[_0x1cf40a(0xd9)](_0x207bb8));const _0x52aa42=await GrpcClient[_0x1cf40a(0x14d)]()[_0x1cf40a(0xc8)](_0x207bb8);}}catch(_0x535c4f){logger['error']('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x1cf40a(0x10d)](_0x535c4f));}}[a82_0x228e2e(0xfd)](_0x3792bf){const _0x2cb332=a82_0x228e2e,_0x5125ef={'pcKdr':function(_0x4b78b2,_0x56833f,_0x17fdaf){return _0x4b78b2(_0x56833f,_0x17fdaf);},'JkWwo':function(_0xa63dbb,_0x216ec9){return _0xa63dbb<_0x216ec9;},'mtmeu':_0x2cb332(0xef)};try{const _0x377936=_0x3792bf[_0x2cb332(0xfc)]['id'],_0x5e4140=_0x5125ef[_0x2cb332(0x1c1)](getTestRunIdentifier,_0x3792bf[_0x2cb332(0xfc)],_0x3792bf[_0x2cb332(0x1b7)][_0x2cb332(0x187)]),_0x339e53=_0x3792bf[_0x2cb332(0x13c)],_0x548f1d=_0x339e53[_0x2cb332(0x16b)](),_0x21b8ab=_0x339e53[_0x2cb332(0x19c)]()['get'](_0x5e4140);logger[_0x2cb332(0x11a)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x377936);const {[TestFrameworkConstants[_0x2cb332(0x171)]]:_0x417ec0='',[TestFrameworkConstants[_0x2cb332(0x178)]]:_0x43747b='',[TestFrameworkConstants[_0x2cb332(0x12f)]]:_0x47a174='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x41d374=''}=_0x21b8ab,_0x29c02a=_0x339e53[_0x2cb332(0x145)]()[_0x2cb332(0x15a)]()['split']('.')[0x1],_0xdaa424=_0x339e53['getCurrentHookState']()['toString']()[_0x2cb332(0x1a5)]('.')[0x1],_0x5c5cbe=_0x5125ef['JkWwo'](_0x3792bf?.[_0x2cb332(0x1b7)]?.[_0x2cb332(0x129)]??0x0,0x0)?0x0:_0x3792bf?.[_0x2cb332(0x1b7)]?.[_0x2cb332(0x129)]??0x0,_0xdf5a95=_0x339e53[_0x2cb332(0x17b)](),_0x417cb8=Buffer[_0x2cb332(0xe3)](JSON[_0x2cb332(0x1a7)](_0x21b8ab))['toString'](_0x5125ef[_0x2cb332(0x154)]),_0x15f48f={'hash':_0x548f1d[_0x2cb332(0x1b0)](),'threadId':_0x548f1d[_0x2cb332(0x156)]()[_0x2cb332(0x15a)](),'processId':_0x548f1d[_0x2cb332(0x198)]()[_0x2cb332(0x15a)]()},_0x1d03a0={};_0x1d03a0['platformIndex']=_0x5c5cbe,_0x1d03a0['testFrameworkName']=_0x417ec0,_0x1d03a0['testFrameworkVersion']=_0x43747b,_0x1d03a0[_0x2cb332(0x150)]=_0x29c02a,_0x1d03a0['hookState']=_0xdaa424,_0x1d03a0['startedAt']=_0x47a174,_0x1d03a0[_0x2cb332(0x160)]=_0x41d374,_0x1d03a0[_0x2cb332(0x191)]=_0xdf5a95,_0x1d03a0['eventJson']=_0x417cb8,_0x1d03a0[_0x2cb332(0x132)]=_0x15f48f;const _0x22ea47=_0x1d03a0;return logger[_0x2cb332(0x11a)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x377936+_0x2cb332(0x1a9)+_0x29c02a+_0x2cb332(0x184)+_0xdaa424),_0x22ea47;}catch(_0x4f9877){return logger[_0x2cb332(0x119)](_0x2cb332(0x138)+util['format'](_0x4f9877)),{};}}}module[a82_0x228e2e(0x176)]=PlaywrightTestFramework;
@@ -1 +1 @@
1
- const a83_0x18a05f=a83_0x5943;(function(_0x590e77,_0x42edbd){const _0x5686bc=a83_0x5943,_0x1d9371=_0x590e77();while(!![]){try{const _0xd3eaa6=-parseInt(_0x5686bc(0xc2))/0x1+-parseInt(_0x5686bc(0xab))/0x2*(parseInt(_0x5686bc(0xae))/0x3)+-parseInt(_0x5686bc(0xc6))/0x4+parseInt(_0x5686bc(0xc0))/0x5+parseInt(_0x5686bc(0xc1))/0x6*(-parseInt(_0x5686bc(0xd0))/0x7)+-parseInt(_0x5686bc(0xb3))/0x8*(-parseInt(_0x5686bc(0xb6))/0x9)+-parseInt(_0x5686bc(0xbb))/0xa*(-parseInt(_0x5686bc(0xac))/0xb);if(_0xd3eaa6===_0x42edbd)break;else _0x1d9371['push'](_0x1d9371['shift']());}catch(_0x367db7){_0x1d9371['push'](_0x1d9371['shift']());}}}(a83_0x2288,0x48363));const AutomationFramework=require(a83_0x18a05f(0xc4)),{createClassLogger}=require(a83_0x18a05f(0xbf)),AutomationFrameworkState=require(a83_0x18a05f(0xaa)),HookState=require(a83_0x18a05f(0xb2)),CLIUtils=require(a83_0x18a05f(0xc5)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a83_0x18a05f(0xcd));function a83_0x5943(_0x789c78,_0x2b339c){const _0x228816=a83_0x2288();return a83_0x5943=function(_0x594397,_0x2bcbc9){_0x594397=_0x594397-0xaa;let _0x4d853c=_0x228816[_0x594397];return _0x4d853c;},a83_0x5943(_0x789c78,_0x2b339c);}class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a83_0x18a05f(0xcf));constructor(_0x540581,_0x4cfe28){super(_0x540581,_0x4cfe28);}async[a83_0x18a05f(0xb5)](_0x4ba5b0,_0x40e274,_0x374e0b={}){const _0x5da2c7=a83_0x18a05f,_0x33559b={};_0x33559b[_0x5da2c7(0xd6)]=function(_0x1c248a,_0xd510a1){return _0x1c248a===_0xd510a1;},_0x33559b[_0x5da2c7(0xbd)]=_0x5da2c7(0xd3);const _0x4261a1=_0x33559b;this[_0x5da2c7(0xc7)][_0x5da2c7(0xc8)](_0x5da2c7(0xd1)+_0x4ba5b0+_0x5da2c7(0xba)+_0x40e274),await super[_0x5da2c7(0xb5)](_0x4ba5b0,_0x40e274,_0x374e0b);const _0x543d17=this['resolveInstance'](_0x4ba5b0,_0x40e274,_0x374e0b);if(_0x4261a1[_0x5da2c7(0xd6)](_0x543d17,null)){this[_0x5da2c7(0xc7)][_0x5da2c7(0xc8)](_0x4261a1['pZlRy']);return;}_0x374e0b['instance']=_0x543d17,await this[_0x5da2c7(0xb0)](_0x543d17,_0x4ba5b0,_0x40e274,_0x374e0b);}[a83_0x18a05f(0xd5)](_0x1f86c8,_0x2893f5,_0x2c92c2={}){const _0x199a97=a83_0x18a05f,_0x20a704={};_0x20a704[_0x199a97(0xd2)]=function(_0x13c259,_0x245e21){return _0x13c259===_0x245e21;},_0x20a704[_0x199a97(0xce)]=function(_0x5b5ac4,_0xe1ab07){return _0x5b5ac4===_0xe1ab07;};const _0x49519f=_0x20a704;let _0x313479=null;return(_0x49519f[_0x199a97(0xd2)](_0x1f86c8,AutomationFrameworkState[_0x199a97(0xbe)])&&_0x49519f[_0x199a97(0xd2)](_0x2893f5,HookState[_0x199a97(0xb4)])||_0x49519f[_0x199a97(0xce)](_0x1f86c8,AutomationFrameworkState[_0x199a97(0xb7)]))&&this[_0x199a97(0xb1)](_0x1f86c8,_0x2c92c2),_0x313479=AutomationFramework[_0x199a97(0xad)](),_0x313479;}[a83_0x18a05f(0xb1)](_0x4ae125,_0x19d724){const _0x578220=a83_0x18a05f,_0x3c375f={};_0x3c375f[_0x578220(0xc3)]='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x1a2e0b=_0x3c375f;if(AutomationFramework[_0x578220(0xad)]()){this['logger'][_0x578220(0xaf)](_0x1a2e0b[_0x578220(0xc3)]);return;}const _0x4664b8=CLIUtils[_0x578220(0xbc)](),_0x44ab38=TrackedInstance['createContext'](_0x4664b8);let _0x33b3d7=null;this[_0x578220(0xc7)][_0x578220(0xaf)](_0x578220(0xb8)+_0x4664b8+_0x578220(0xc9)+_0x4ae125),_0x33b3d7=new AutomationFrameworkInstance(_0x44ab38,this[_0x578220(0xca)](),this[_0x578220(0xd7)](),_0x4ae125),AutomationFramework[_0x578220(0xd4)](_0x44ab38,_0x33b3d7),this[_0x578220(0xc7)][_0x578220(0xaf)](_0x578220(0xcc)+_0x44ab38[_0x578220(0xb9)]()+'\x20target='+_0x4664b8);}}module[a83_0x18a05f(0xcb)]=PuppeteerAutomationFramework;function a83_0x2288(){const _0x24c282=['trackPuppeteerInstance','../state/hookState.js','306456RpNyJG','PRE','trackEvent','135YJJhHx','NONE','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','getId','\x20hookState=','6897310capxBG','getCurrentInstanceName','pZlRy','CREATE','../../../helpers/classLogger.js','1602910eHOisR','114cTReaW','258379QjRupX','CfKgP','./automationFramework.js','../cliUtils.js','861292eOlbpY','logger','debug',',\x20state=','getAutomationFrameworkName','exports','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','../instances/automationFrameworkInstance.js','XQkCJ','PuppeteerAutomationFramework','183022epHKVD','trackEvent:\x20automationFrameworkState=','PdjXN','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','setTrackedInstance','resolveInstance','rWUed','getAutomationFrameworkVersion','../state/automationFrameworkState.js','637326zBipHP','11CmDPpb','getTrackedInstance','3ySeLFU','info','runHooks'];a83_0x2288=function(){return _0x24c282;};return a83_0x2288();}
1
+ const a83_0x1dd603=a83_0x20dc;(function(_0x41ab36,_0x39b845){const _0x48e6b2=a83_0x20dc,_0x1c8b38=_0x41ab36();while(!![]){try{const _0x227a3d=parseInt(_0x48e6b2(0x10a))/0x1*(-parseInt(_0x48e6b2(0x10f))/0x2)+parseInt(_0x48e6b2(0xed))/0x3+-parseInt(_0x48e6b2(0xfb))/0x4+parseInt(_0x48e6b2(0x100))/0x5*(parseInt(_0x48e6b2(0xfd))/0x6)+-parseInt(_0x48e6b2(0xf9))/0x7+-parseInt(_0x48e6b2(0x10d))/0x8*(parseInt(_0x48e6b2(0xfe))/0x9)+-parseInt(_0x48e6b2(0x104))/0xa*(-parseInt(_0x48e6b2(0xeb))/0xb);if(_0x227a3d===_0x39b845)break;else _0x1c8b38['push'](_0x1c8b38['shift']());}catch(_0x4741b8){_0x1c8b38['push'](_0x1c8b38['shift']());}}}(a83_0x5e04,0xd8125));const AutomationFramework=require(a83_0x1dd603(0xf2)),{createClassLogger}=require(a83_0x1dd603(0xf5)),AutomationFrameworkState=require(a83_0x1dd603(0x111)),HookState=require(a83_0x1dd603(0xf3)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a83_0x1dd603(0xfc)),AutomationFrameworkInstance=require(a83_0x1dd603(0xee));class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a83_0x1dd603(0xef));constructor(_0x4851a0,_0xfbf71b){super(_0x4851a0,_0xfbf71b);}async[a83_0x1dd603(0xf6)](_0x257d9e,_0x38967f,_0x4031c9={}){const _0x1d06f4=a83_0x1dd603,_0x575f91={};_0x575f91[_0x1d06f4(0x103)]=function(_0x3fb0a1,_0x331154){return _0x3fb0a1===_0x331154;},_0x575f91[_0x1d06f4(0x113)]=_0x1d06f4(0x10c);const _0xa08c0c=_0x575f91;this[_0x1d06f4(0xf4)][_0x1d06f4(0x107)](_0x1d06f4(0xf0)+_0x257d9e+'\x20hookState='+_0x38967f),await super[_0x1d06f4(0xf6)](_0x257d9e,_0x38967f,_0x4031c9);const _0x28b9e9=this['resolveInstance'](_0x257d9e,_0x38967f,_0x4031c9);if(_0xa08c0c[_0x1d06f4(0x103)](_0x28b9e9,null)){this[_0x1d06f4(0xf4)][_0x1d06f4(0x107)](_0xa08c0c[_0x1d06f4(0x113)]);return;}_0x4031c9[_0x1d06f4(0x108)]=_0x28b9e9,await this[_0x1d06f4(0xec)](_0x28b9e9,_0x257d9e,_0x38967f,_0x4031c9);}['resolveInstance'](_0x4ec208,_0x20703e,_0x1b587b={}){const _0x6647b3=a83_0x1dd603,_0x1319a7={};_0x1319a7[_0x6647b3(0xf8)]=function(_0x487334,_0x2c0892){return _0x487334===_0x2c0892;},_0x1319a7[_0x6647b3(0x110)]=function(_0x14b0d9,_0x164245){return _0x14b0d9===_0x164245;};const _0x274e4c=_0x1319a7;let _0x246c6b=null;return(_0x274e4c[_0x6647b3(0xf8)](_0x4ec208,AutomationFrameworkState[_0x6647b3(0xf1)])&&_0x274e4c[_0x6647b3(0xf8)](_0x20703e,HookState[_0x6647b3(0x101)])||_0x274e4c['KMObs'](_0x4ec208,AutomationFrameworkState['NONE']))&&this[_0x6647b3(0x112)](_0x4ec208,_0x1b587b),_0x246c6b=AutomationFramework['getTrackedInstance'](),_0x246c6b;}['trackPuppeteerInstance'](_0x163575,_0x53bca0){const _0x80c2b4=a83_0x1dd603,_0xd8e204={};_0xd8e204[_0x80c2b4(0xf7)]='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x295c82=_0xd8e204;if(AutomationFramework[_0x80c2b4(0x106)]()){this[_0x80c2b4(0xf4)][_0x80c2b4(0xe9)](_0x295c82[_0x80c2b4(0xf7)]);return;}const _0x22db18=CLIUtils[_0x80c2b4(0xe7)](),_0x51b2f2=TrackedInstance[_0x80c2b4(0x105)](_0x22db18);let _0x554fd6=null;this[_0x80c2b4(0xf4)][_0x80c2b4(0xe9)](_0x80c2b4(0xfa)+_0x22db18+_0x80c2b4(0x10b)+_0x163575),_0x554fd6=new AutomationFrameworkInstance(_0x51b2f2,this[_0x80c2b4(0xe8)](),this[_0x80c2b4(0x102)](),_0x163575),AutomationFramework['setTrackedInstance'](_0x51b2f2,_0x554fd6),this[_0x80c2b4(0xf4)][_0x80c2b4(0xe9)](_0x80c2b4(0xff)+_0x51b2f2[_0x80c2b4(0x109)]()+_0x80c2b4(0xea)+_0x22db18);}}function a83_0x5e04(){const _0x377831=['getAutomationFrameworkVersion','mceMA','4755490zsBibs','createContext','getTrackedInstance','debug','instance','getId','31XTMLtE',',\x20state=','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','6046064vTygPA','exports','74622WqSYLW','KMObs','../state/automationFrameworkState.js','trackPuppeteerInstance','TxxtU','getCurrentInstanceName','getAutomationFrameworkName','info','\x20target=','33rkDLxN','runHooks','4738137WEIPbn','../instances/automationFrameworkInstance.js','PuppeteerAutomationFramework','trackEvent:\x20automationFrameworkState=','CREATE','./automationFramework.js','../state/hookState.js','logger','../../../helpers/classLogger.js','trackEvent','vXtdh','jfMVX','3202570eRWKBU','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','3513352cONLRB','../instances/trackedInstance.js','54PSvBpt','9FmBBte','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','626250gvopWF','PRE'];a83_0x5e04=function(){return _0x377831;};return a83_0x5e04();}function a83_0x20dc(_0x4a0e5f,_0x3d0570){const _0x5e04ca=a83_0x5e04();return a83_0x20dc=function(_0x20dcac,_0x7a140e){_0x20dcac=_0x20dcac-0xe7;let _0x42200d=_0x5e04ca[_0x20dcac];return _0x42200d;},a83_0x20dc(_0x4a0e5f,_0x3d0570);}module[a83_0x1dd603(0x10e)]=PuppeteerAutomationFramework;
@@ -1 +1 @@
1
- const a84_0x12da50=a84_0x5d36;(function(_0x2be41c,_0x5509a4){const _0x3cb079=a84_0x5d36,_0x4ca429=_0x2be41c();while(!![]){try{const _0x351678=-parseInt(_0x3cb079(0xae))/0x1*(-parseInt(_0x3cb079(0x96))/0x2)+-parseInt(_0x3cb079(0xa4))/0x3+-parseInt(_0x3cb079(0xa6))/0x4+-parseInt(_0x3cb079(0x9d))/0x5+parseInt(_0x3cb079(0x9b))/0x6+parseInt(_0x3cb079(0xa0))/0x7*(parseInt(_0x3cb079(0x99))/0x8)+parseInt(_0x3cb079(0x89))/0x9;if(_0x351678===_0x5509a4)break;else _0x4ca429['push'](_0x4ca429['shift']());}catch(_0x5a09cb){_0x4ca429['push'](_0x4ca429['shift']());}}}(a84_0x381f,0xe509e));function a84_0x381f(){const _0x59f693=['notifyObserver','getCurrentInstanceName','939141lgNjZz','../instances/trackedContext','binSessionId','getTestFrameworks','5393370picaIp','__bstack_test_framework_instances__','2227116CeBiGE','has','trackEvent:\x20testFrameworkState=','get','../state/hookState','testFrameworkVersions','setInstance','setCurrentTestState','17hLGRYU','trackEvent','getId','22739976XdwVZC','set','../cliUtils','getAllData','setTrackedInstance','../eventDispatcher','instances','TestFramework','getState','../state/testFrameworkState','getInstances','registerObserver','testFrameworks','151236GAWyQb','getTrackedInstance','../../../helpers/classLogger','8VSHJMf','runHooks','5975052oQRIGN','hasState','8247320CylOlF'];a84_0x381f=function(){return _0x59f693;};return a84_0x381f();}const CLIUtils=require(a84_0x12da50(0x8b)),eventDispatcher=require(a84_0x12da50(0x8e)),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a84_0x12da50(0xa1)),TestFrameworkState=require(a84_0x12da50(0x92)),HookState=require(a84_0x12da50(0xaa)),{createClassLogger}=require(a84_0x12da50(0x98)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a84_0x12da50(0x90));function a84_0x5d36(_0x44e611,_0x264856){const _0x381f43=a84_0x381f();return a84_0x5d36=function(_0x5d364c,_0x187f9c){_0x5d364c=_0x5d364c-0x88;let _0x3f99ff=_0x381f43[_0x5d364c];return _0x3f99ff;},a84_0x5d36(_0x44e611,_0x264856);}!global['__bstack_test_framework_instances__']&&(global[a84_0x12da50(0xa5)]=new Map());class TestFramework{static get[a84_0x12da50(0x8f)](){const _0x2ba45b=a84_0x12da50;return global[_0x2ba45b(0xa5)];}[a84_0x12da50(0x95)]=[];[a84_0x12da50(0xab)]={};[a84_0x12da50(0xa2)]=null;constructor(_0x51a889,_0x6fbfb6,_0x39f543){const _0x5424a6=a84_0x12da50;this[_0x5424a6(0x95)]=_0x51a889,this[_0x5424a6(0xab)]=_0x6fbfb6,this['binSessionId']=_0x39f543;}[a84_0x12da50(0x93)](){const _0x58d4ce=a84_0x12da50;return TestFramework[_0x58d4ce(0x8f)];}[a84_0x12da50(0xac)](_0x442a52,_0x461ad5){TestFramework['instances']['set'](_0x442a52['getId'],_0x461ad5);}static[a84_0x12da50(0x97)](){const _0x9976e6=a84_0x12da50,_0x41b0b9=TrackedInstance['createContext'](CLIUtils[_0x9976e6(0x9f)]());return TestFramework[_0x9976e6(0x8f)][_0x9976e6(0xa9)](_0x41b0b9['getId']());}static[a84_0x12da50(0x8d)](_0x10f761,_0x221440){const _0x1f0315=a84_0x12da50;TestFramework[_0x1f0315(0x8f)]['set'](_0x10f761[_0x1f0315(0x88)](),_0x221440);}['getTestFrameworksVersions'](){return this['testFrameworkVersions'];}[a84_0x12da50(0xa3)](){const _0x11c090=a84_0x12da50;return this[_0x11c090(0x95)];}[a84_0x12da50(0xaf)](_0x2cd25d,_0x36079e,_0x1425f6={}){const _0x210732=a84_0x12da50;logger['debug'](_0x210732(0xa8)+_0x2cd25d+';\x20hookState='+_0x36079e);}async[a84_0x12da50(0x9a)](_0x249117,_0x4154d2,_0x329ebd,_0x2bbf71={}){const _0x36989e=a84_0x12da50,_0x473520=CLIUtils['getHookRegistryKey'](_0x4154d2,_0x329ebd);_0x249117[_0x36989e(0xad)](_0x4154d2),_0x249117['setCurrentHookState'](_0x329ebd),await eventDispatcher[_0x36989e(0x9e)](_0x473520,_0x2bbf71);}static[a84_0x12da50(0x94)](_0x4e920a,_0xefe727,_0x1c3d39){const _0x1a7405=a84_0x12da50;eventDispatcher[_0x1a7405(0x94)](CLIUtils['getHookRegistryKey'](_0x4e920a,_0xefe727),_0x1c3d39);}static[a84_0x12da50(0x91)](_0x1d4ed1,_0x520090){const _0x7540=a84_0x12da50;return _0x1d4ed1[_0x7540(0x8c)]()[_0x7540(0xa9)](_0x520090);}static['setState'](_0x5b3f9b,_0xff4a5f,_0x517e7b){const _0x5608c6=a84_0x12da50;_0x5b3f9b[_0x5608c6(0x8c)]()[_0x5608c6(0x8a)](_0xff4a5f,_0x517e7b);}static[a84_0x12da50(0x9c)](_0x29f654,_0x16839){const _0x138c66=a84_0x12da50;return _0x29f654['getAllData']()[_0x138c66(0xa7)](_0x16839);}}module['exports']=TestFramework;
1
+ function a84_0x207c(){const _0x4f2793=['has','testFrameworks','getCurrentInstanceName','4904340byzpgM','2677328zyNvan','exports','../cliUtils','get','../instances/testFrameworkInstance','../instances/trackedContext','testFrameworkVersions','1644406OZUeIP','setTrackedInstance','binSessionId','2094PAwHiC','19905180QDlpwL','856966PIlYwu','getInstances','9upVGJu','setState','getHookRegistryKey','registerObserver','7313872HUSrpY','hasState','getId','debug','__bstack_test_framework_instances__','../instances/trackedInstance','trackEvent:\x20testFrameworkState=','1955ZmQuUl','3pyFaLh','instances','notifyObserver','trackEvent','getAllData','runHooks','setInstance','set','setCurrentTestState','getTestFrameworks'];a84_0x207c=function(){return _0x4f2793;};return a84_0x207c();}const a84_0x10d163=a84_0x4711;(function(_0x59b239,_0x32b51a){const _0x3ebf0d=a84_0x4711,_0x195a27=_0x59b239();while(!![]){try{const _0x23346f=parseInt(_0x3ebf0d(0x10c))/0x1+-parseInt(_0x3ebf0d(0x107))/0x2*(parseInt(_0x3ebf0d(0xf2))/0x3)+parseInt(_0x3ebf0d(0x100))/0x4+parseInt(_0x3ebf0d(0x119))/0x5*(parseInt(_0x3ebf0d(0x10a))/0x6)+parseInt(_0x3ebf0d(0xff))/0x7+-parseInt(_0x3ebf0d(0x112))/0x8*(-parseInt(_0x3ebf0d(0x10e))/0x9)+-parseInt(_0x3ebf0d(0x10b))/0xa;if(_0x23346f===_0x32b51a)break;else _0x195a27['push'](_0x195a27['shift']());}catch(_0x153429){_0x195a27['push'](_0x195a27['shift']());}}}(a84_0x207c,0x717fa));const CLIUtils=require(a84_0x10d163(0x102)),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require(a84_0x10d163(0x104)),TrackedContext=require(a84_0x10d163(0x105)),TestFrameworkState=require('../state/testFrameworkState'),HookState=require('../state/hookState'),{createClassLogger}=require('../../../helpers/classLogger'),TrackedInstance=require(a84_0x10d163(0x117)),logger=createClassLogger('TestFramework');function a84_0x4711(_0x275469,_0x550f64){const _0x207c7e=a84_0x207c();return a84_0x4711=function(_0x471157,_0x39197e){_0x471157=_0x471157-0xf2;let _0x2f711e=_0x207c7e[_0x471157];return _0x2f711e;},a84_0x4711(_0x275469,_0x550f64);}!global[a84_0x10d163(0x116)]&&(global[a84_0x10d163(0x116)]=new Map());class TestFramework{static get[a84_0x10d163(0xf3)](){const _0x22cf53=a84_0x10d163;return global[_0x22cf53(0x116)];}[a84_0x10d163(0xfd)]=[];[a84_0x10d163(0x106)]={};[a84_0x10d163(0x109)]=null;constructor(_0x55c3c1,_0x3cb124,_0xaf4dce){const _0x2e5f79=a84_0x10d163;this['testFrameworks']=_0x55c3c1,this[_0x2e5f79(0x106)]=_0x3cb124,this[_0x2e5f79(0x109)]=_0xaf4dce;}[a84_0x10d163(0x10d)](){const _0x325e7d=a84_0x10d163;return TestFramework[_0x325e7d(0xf3)];}[a84_0x10d163(0xf8)](_0x1fd0fc,_0x943c3f){const _0x26b36a=a84_0x10d163;TestFramework[_0x26b36a(0xf3)][_0x26b36a(0xf9)](_0x1fd0fc['getId'],_0x943c3f);}static['getTrackedInstance'](){const _0x40ec96=a84_0x10d163,_0x80a2e9=TrackedInstance['createContext'](CLIUtils[_0x40ec96(0xfe)]());return TestFramework['instances']['get'](_0x80a2e9[_0x40ec96(0x114)]());}static[a84_0x10d163(0x108)](_0x36edf4,_0x3caacb){const _0x37d2b2=a84_0x10d163;TestFramework[_0x37d2b2(0xf3)][_0x37d2b2(0xf9)](_0x36edf4['getId'](),_0x3caacb);}['getTestFrameworksVersions'](){const _0x360f38=a84_0x10d163;return this[_0x360f38(0x106)];}[a84_0x10d163(0xfb)](){return this['testFrameworks'];}[a84_0x10d163(0xf5)](_0x4a8b74,_0x48ff29,_0x4baf5f={}){const _0x10d822=a84_0x10d163;logger[_0x10d822(0x115)](_0x10d822(0x118)+_0x4a8b74+';\x20hookState='+_0x48ff29);}async[a84_0x10d163(0xf7)](_0x3d2e8f,_0x366214,_0x89f385,_0x1f3120={}){const _0xb5db1e=a84_0x10d163,_0x2161f8=CLIUtils[_0xb5db1e(0x110)](_0x366214,_0x89f385);_0x3d2e8f[_0xb5db1e(0xfa)](_0x366214),_0x3d2e8f['setCurrentHookState'](_0x89f385),await eventDispatcher[_0xb5db1e(0xf4)](_0x2161f8,_0x1f3120);}static[a84_0x10d163(0x111)](_0x2cac9f,_0x3449f4,_0x11c837){const _0x45c618=a84_0x10d163;eventDispatcher['registerObserver'](CLIUtils[_0x45c618(0x110)](_0x2cac9f,_0x3449f4),_0x11c837);}static['getState'](_0x5940e6,_0x4196c0){const _0x315a72=a84_0x10d163;return _0x5940e6['getAllData']()[_0x315a72(0x103)](_0x4196c0);}static[a84_0x10d163(0x10f)](_0x1e935c,_0xbf03f3,_0x5d4cfb){const _0x1731a2=a84_0x10d163;_0x1e935c['getAllData']()[_0x1731a2(0xf9)](_0xbf03f3,_0x5d4cfb);}static[a84_0x10d163(0x113)](_0x53665d,_0x1c6521){const _0x4f40c8=a84_0x10d163;return _0x53665d[_0x4f40c8(0xf6)]()[_0x4f40c8(0xfc)](_0x1c6521);}}module[a84_0x10d163(0x101)]=TestFramework;
@@ -1 +1 @@
1
- const a85_0x4ef22f=a85_0x5418;(function(_0x35f160,_0x4707e9){const _0x6563f5=a85_0x5418,_0x43595b=_0x35f160();while(!![]){try{const _0x477159=-parseInt(_0x6563f5(0x128))/0x1+parseInt(_0x6563f5(0x228))/0x2*(-parseInt(_0x6563f5(0x1dc))/0x3)+-parseInt(_0x6563f5(0x175))/0x4*(-parseInt(_0x6563f5(0x189))/0x5)+-parseInt(_0x6563f5(0x106))/0x6*(parseInt(_0x6563f5(0x111))/0x7)+-parseInt(_0x6563f5(0x154))/0x8+parseInt(_0x6563f5(0x163))/0x9*(-parseInt(_0x6563f5(0x16f))/0xa)+parseInt(_0x6563f5(0x1b7))/0xb*(parseInt(_0x6563f5(0x112))/0xc);if(_0x477159===_0x4707e9)break;else _0x43595b['push'](_0x43595b['shift']());}catch(_0x5da3e8){_0x43595b['push'](_0x43595b['shift']());}}}(a85_0x1676,0xd12df));function a85_0x5418(_0x111969,_0x543578){const _0x16766a=a85_0x1676();return a85_0x5418=function(_0x541874,_0x14b5cd){_0x541874=_0x541874-0xfe;let _0x441946=_0x16766a[_0x541874];return _0x441946;},a85_0x5418(_0x111969,_0x543578);}const util=require(a85_0x4ef22f(0x20f)),logger=require(a85_0x4ef22f(0x224))[a85_0x4ef22f(0x1d8)],fileLogger=require(a85_0x4ef22f(0x224))['fileLogger'],grpc=require('@grpc/grpc-js'),services=require('../../../generated/sdk_grpc_pb'),messages=require(a85_0x4ef22f(0x12f)),path=require(a85_0x4ef22f(0x227)),CLIUtils=require(a85_0x4ef22f(0x18b)),{createClassLogger}=require(a85_0x4ef22f(0x19e)),PerformanceTester=require(a85_0x4ef22f(0x219)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{PLAYWRIGHT_TRACE_LOGS}=require(a85_0x4ef22f(0x139)),helper=require(a85_0x4ef22f(0x1b2));class GrpcClient{static #instance=null;[a85_0x4ef22f(0x17b)]=null;['listenAddress']=null;[a85_0x4ef22f(0x19d)]=null;[a85_0x4ef22f(0x131)]=null;[a85_0x4ef22f(0x1a1)]=createClassLogger(a85_0x4ef22f(0x1c0));constructor(){}static[a85_0x4ef22f(0x156)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a85_0x4ef22f(0x17f)](_0x5afe1d){const _0x5ce1cc=a85_0x4ef22f,_0x43d969={};_0x43d969['Cwlct']=function(_0x4039d0,_0x47c814){return _0x4039d0||_0x47c814;};const _0x5bd52d=_0x43d969,{id:_0x1ae9b6,listen:_0x31583a}=_0x5afe1d;if(_0x5bd52d[_0x5ce1cc(0x20d)](!_0x1ae9b6,!_0x31583a))throw new Error(_0x5ce1cc(0x220)+_0x1ae9b6+_0x5ce1cc(0x13d)+_0x31583a);this[_0x5ce1cc(0x17b)]=_0x1ae9b6,this[_0x5ce1cc(0x1e7)]=_0x31583a,process[_0x5ce1cc(0x181)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=this[_0x5ce1cc(0x17b)],process[_0x5ce1cc(0x181)][_0x5ce1cc(0x1da)]=this[_0x5ce1cc(0x1e7)],this[_0x5ce1cc(0x137)](),this[_0x5ce1cc(0x1a1)]['info']('Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20'+this[_0x5ce1cc(0x17b)]+_0x5ce1cc(0x12b)+this[_0x5ce1cc(0x1e7)]);}[a85_0x4ef22f(0x137)](){const _0x22dc47=a85_0x4ef22f,_0x2693ad={};_0x2693ad[_0x22dc47(0x191)]=_0x22dc47(0x1f5);const _0x464f41=_0x2693ad;let _0x5485de=this[_0x22dc47(0x1e7)];!_0x5485de&&(_0x5485de=process['env'][_0x22dc47(0x1da)]);!this[_0x22dc47(0x17b)]&&(this['binSessionId']=this['binSessionId']||process[_0x22dc47(0x181)]['BROWSERSTACK_CLI_BIN_SESSION_ID']);if(!_0x5485de)throw new Error(_0x464f41[_0x22dc47(0x191)]);const _0x3066c9={};_0x3066c9[_0x22dc47(0x140)]=0x2710,this['channel']=new grpc[(_0x22dc47(0x229))](_0x5485de,grpc['credentials'][_0x22dc47(0x199)](),_0x3066c9),this[_0x22dc47(0x131)]=new services[(_0x22dc47(0x10a))](_0x5485de,grpc[_0x22dc47(0x169)][_0x22dc47(0x199)]()),this[_0x22dc47(0x1a1)][_0x22dc47(0x1aa)](_0x22dc47(0x17a)+_0x5485de);}[a85_0x4ef22f(0x16c)](){const _0x5a0aa2=a85_0x4ef22f,_0x686aa4={};_0x686aa4['GSFvo']=function(_0x15ce69,_0xb0d3ff){return _0x15ce69+_0xb0d3ff;};const _0x3ac76a=_0x686aa4;return _0x3ac76a[_0x5a0aa2(0x158)](Date[_0x5a0aa2(0xfe)](),0x7530);}[a85_0x4ef22f(0x1cb)](){const _0xf38f9a=a85_0x4ef22f;return{'deadline':this[_0xf38f9a(0x16c)]()};}async[a85_0x4ef22f(0x14f)](){const _0x53bb5a=a85_0x4ef22f,_0x4dbf51={'uEmFe':function(_0x46c1d6,_0x197010){return _0x46c1d6!==_0x197010;},'kZugl':function(_0x3d0cf0,_0x1afc30){return _0x3d0cf0(_0x1afc30);},'lxxsz':_0x53bb5a(0x1d4),'OdOqf':_0x53bb5a(0x148),'rSMkx':'No\x20gRPC\x20client\x20not\x20initialized.','DPoFY':'./browserstackCLI.js','vnjfr':function(_0xb851a3,_0x441457){return _0xb851a3 instanceof _0x441457;},'elagB':_0x53bb5a(0x18f),'DklxU':function(_0x4fbb54,_0x2d875b){return _0x4fbb54||_0x2d875b;},'WgotS':function(_0x3ed642,_0x2ac1b8){return _0x3ed642||_0x2ac1b8;}};PerformanceTester[_0x53bb5a(0x100)](PerformanceEvents[_0x53bb5a(0x13a)]),this[_0x53bb5a(0x1a1)][_0x53bb5a(0x1aa)](_0x4dbf51[_0x53bb5a(0x1be)]);try{!this[_0x53bb5a(0x131)]&&this[_0x53bb5a(0x1a1)]['info'](_0x4dbf51[_0x53bb5a(0x1a9)]);const _0x39731e=CLIUtils['getSdkVersion'](),_0x34d9f9=CLIUtils[_0x53bb5a(0x193)](),_0x2933a6=CLIUtils['getTestFrameworkDetail'](),_0x5c0010=_0x34d9f9[_0x53bb5a(0x11b)],_0x85605c=_0x34d9f9[_0x53bb5a(0x21b)],_0x509d97=_0x2933a6['name'],_0x1fa596=_0x2933a6[_0x53bb5a(0x21b)]?_0x2933a6[_0x53bb5a(0x21b)][_0x509d97]:'',_0x5d862b=new messages[(_0x53bb5a(0x104))]();_0x5d862b['setBinSessionId'](this['binSessionId']),_0x5d862b[_0x53bb5a(0x130)](CLIUtils[_0x53bb5a(0x1a8)]()),_0x5d862b[_0x53bb5a(0x115)](_0x39731e),_0x5d862b[_0x53bb5a(0x187)](process['cwd']());const _0x3fa487=_0x5d862b['getEnvVarsMap']();Object[_0x53bb5a(0x205)](process['env'])[_0x53bb5a(0x209)](([_0x39e41e,_0x267b48])=>{const _0x55c2ee=_0x53bb5a;_0x4dbf51['uEmFe'](_0x267b48,undefined)&&_0x4dbf51[_0x55c2ee(0x1d5)](_0x267b48,null)&&_0x3fa487[_0x55c2ee(0x123)](_0x39e41e,_0x267b48);});const _0x19efc1=_0x4dbf51['kZugl'](require,_0x4dbf51[_0x53bb5a(0x1fd)]),_0xb5b21b=_0x19efc1['getInstance']()[_0x53bb5a(0x15b)](),_0x119e7e=[];_0xb5b21b&&_0x4dbf51[_0x53bb5a(0x120)](_0xb5b21b,Map)&&_0xb5b21b[_0x53bb5a(0x209)]((_0x20c687,_0x1a5214)=>{_0x119e7e['push'](_0x1a5214+'='+_0x20c687);});const _0x33d3bf=process[_0x53bb5a(0x134)]['slice'](0x2);_0x5d862b['setCliArgsList']([..._0x33d3bf,..._0x119e7e]),_0x5d862b[_0x53bb5a(0x11a)](_0x19efc1[_0x53bb5a(0x156)]()['getBrowserstackConfigPath']()),this[_0x53bb5a(0x1a1)][_0x53bb5a(0x1aa)](_0x53bb5a(0x118)+JSON[_0x53bb5a(0x1d0)](_0x33d3bf)+',\x20parsedConfig='+(_0xb5b21b?JSON[_0x53bb5a(0x1d0)]([..._0xb5b21b]):_0x4dbf51[_0x53bb5a(0x107)])),_0x5d862b['setLanguage'](CLIUtils['getSdkLanguage']()),_0x5d862b[_0x53bb5a(0x21e)](_0x509d97);const _0x154d77=_0x5d862b[_0x53bb5a(0x1b9)]();return _0x154d77[_0x53bb5a(0x123)](_0x5c0010,_0x4dbf51['DklxU'](_0x85605c,'')),_0x154d77[_0x53bb5a(0x123)](_0x509d97,_0x4dbf51['WgotS'](_0x1fa596,'')),_0x5d862b[_0x53bb5a(0x15f)](_0x5c0010,_0x85605c),_0x5d862b[_0x53bb5a(0x15f)](_0x509d97,_0x1fa596),_0x5d862b[_0x53bb5a(0x145)]([_0x509d97,_0x5c0010]),new Promise((_0x2b49ba,_0x279b82)=>{const _0x2c0592=_0x53bb5a;this[_0x2c0592(0x131)][_0x2c0592(0x14f)](_0x5d862b,this[_0x2c0592(0x1cb)](),(_0x322281,_0x35a897)=>{const _0x42f4dc=_0x2c0592;if(_0x322281){this[_0x42f4dc(0x1a1)][_0x42f4dc(0x138)](_0x42f4dc(0x1b1)+_0x322281[_0x42f4dc(0x12e)]),_0x4dbf51[_0x42f4dc(0x173)](_0x279b82,_0x322281),PerformanceTester['end'](PerformanceEvents[_0x42f4dc(0x13a)],![],util[_0x42f4dc(0x1d6)](_0x322281));return;}this[_0x42f4dc(0x1a1)][_0x42f4dc(0x1aa)](_0x4dbf51[_0x42f4dc(0x1f9)]),PerformanceTester[_0x42f4dc(0x15d)](PerformanceEvents[_0x42f4dc(0x13a)]),_0x4dbf51[_0x42f4dc(0x173)](_0x2b49ba,_0x35a897);});});}catch(_0x1ea0a7){this[_0x53bb5a(0x1a1)][_0x53bb5a(0x138)](_0x53bb5a(0x16a)+util[_0x53bb5a(0x1d6)](_0x1ea0a7)),PerformanceTester[_0x53bb5a(0x15d)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x53bb5a(0x1d6)](_0x1ea0a7));throw _0x1ea0a7;}}async[a85_0x4ef22f(0x11f)](){const _0x4c521b=a85_0x4ef22f,_0x27e88a={'TrfOM':function(_0x16f79a,_0x21b2a3){return _0x16f79a(_0x21b2a3);},'HHxAb':_0x4c521b(0x1ca),'WLWQL':_0x4c521b(0x176),'SCaAC':_0x4c521b(0x1bb),'xihhw':_0x4c521b(0x1d7),'XCZdb':_0x4c521b(0x12a),'PUftS':'\x22key\x22:\x22[REDACTED]\x22'};PerformanceTester['start'](PerformanceEvents[_0x4c521b(0x168)]),this[_0x4c521b(0x1a1)][_0x4c521b(0x1aa)](_0x27e88a[_0x4c521b(0x1f2)]);try{!this[_0x4c521b(0x131)]&&this[_0x4c521b(0x1a1)]['info'](_0x27e88a[_0x4c521b(0x1a4)]);const _0x2b8586=new messages[(_0x4c521b(0x1c1))]();_0x2b8586[_0x4c521b(0x20c)](this[_0x4c521b(0x17b)]);const _0x46d060=await new Promise((_0x430dac,_0x19e70c)=>{const _0x22bb7d=_0x4c521b;this[_0x22bb7d(0x131)][_0x22bb7d(0x11f)](_0x2b8586,this[_0x22bb7d(0x1cb)](),(_0x5ed1e3,_0x5167c4)=>{const _0x188e6d=_0x22bb7d;if(_0x5ed1e3){this[_0x188e6d(0x1a1)][_0x188e6d(0x138)](_0x188e6d(0x1d3)+_0x5ed1e3[_0x188e6d(0x12e)]),_0x27e88a['TrfOM'](_0x19e70c,_0x5ed1e3),PerformanceTester[_0x188e6d(0x15d)](PerformanceEvents[_0x188e6d(0x168)],![],util['format'](_0x5ed1e3));return;}this[_0x188e6d(0x1a1)]['info'](_0x27e88a['HHxAb']),PerformanceTester[_0x188e6d(0x15d)](PerformanceEvents[_0x188e6d(0x168)]),_0x27e88a[_0x188e6d(0x1e3)](_0x430dac,_0x5167c4);});}),_0x49740b=util[_0x4c521b(0x1d6)](_0x46d060)['replace'](/"userName":"[^"]*"/g,_0x27e88a[_0x4c521b(0x13c)])['replace'](/"accessKey":"[^"]*"/g,_0x27e88a[_0x4c521b(0x19a)])[_0x4c521b(0x1e0)](/"key":"[^"]*"/g,_0x27e88a[_0x4c521b(0x124)]);return this[_0x4c521b(0x1a1)]['debug']('connect-bin-session\x20response:\x20'+_0x49740b),_0x46d060;}catch(_0x566044){PerformanceTester[_0x4c521b(0x15d)](PerformanceEvents[_0x4c521b(0x168)],![],util[_0x4c521b(0x1d6)](_0x566044)),this[_0x4c521b(0x1a1)][_0x4c521b(0x138)](_0x4c521b(0x1e4)+util[_0x4c521b(0x1d6)](_0x566044));throw _0x566044;}}async[a85_0x4ef22f(0x1c5)](_0x5392c7={},_0xa1bfe6=null){const _0x563b3d=a85_0x4ef22f,_0x5496d2={'vdKoN':function(_0xf4e231,_0x39de41){return _0xf4e231(_0x39de41);},'naykD':'StopBinSession\x20successful','hfsFX':function(_0x30c52e,_0x520e40){return _0x30c52e(_0x520e40);},'vRbKt':_0x563b3d(0x213),'bxMGk':'Missing\x20binSessionId','zpobW':_0x563b3d(0x1bb),'QXfaD':_0x563b3d(0x1ab),'VGRyP':function(_0x26e6fd,_0x50592b){return _0x26e6fd===_0x50592b;},'sQMTp':'function','GMLEf':function(_0x2e4867,_0xd7d195){return _0x2e4867===_0xd7d195;},'PjTWg':_0x563b3d(0x1aa),'rjydN':function(_0x1f3aad,_0x25d14c){return _0x1f3aad===_0x25d14c;},'wlfRZ':_0x563b3d(0x172),'YSJuV':function(_0x173840,_0x4d0ebf){return _0x173840===_0x4d0ebf;},'MqWsA':_0x563b3d(0x18c),'MXlxL':function(_0x326816,_0x5d9674){return _0x326816===_0x5d9674;},'rVOlv':_0x563b3d(0x138),'oDRLQ':function(_0x1865d9,_0x4961b7){return _0x1865d9+_0x4961b7;}};PerformanceTester[_0x563b3d(0x100)](PerformanceEvents[_0x563b3d(0x13e)]),this[_0x563b3d(0x1a1)][_0x563b3d(0x1aa)](_0x5496d2[_0x563b3d(0x141)]);try{if(!this[_0x563b3d(0x17b)])throw new Error(_0x5496d2[_0x563b3d(0x226)]);!this[_0x563b3d(0x131)]&&this['logger'][_0x563b3d(0x1aa)](_0x5496d2[_0x563b3d(0x194)]);const _0x502e4d=new messages[(_0x563b3d(0x165))]();this['logger']['debug'](_0x563b3d(0x1bf)+JSON[_0x563b3d(0x1d0)](_0xa1bfe6)),_0x502e4d[_0x563b3d(0x20c)](this[_0x563b3d(0x17b)]),_0x502e4d[_0x563b3d(0x160)](_0x5392c7),_0x502e4d[_0x563b3d(0x19c)](_0xa1bfe6?_0xa1bfe6:null),_0x502e4d[_0x563b3d(0x108)](_0xa1bfe6?_0x5496d2[_0x563b3d(0x1df)]:null),_0x502e4d['setExitCode'](_0xa1bfe6?0x1:0x0);const _0x4a069d=await new Promise((_0x5340c2,_0x1fa5f9)=>{const _0x198012=_0x563b3d,_0x1183ca={'dLPSF':function(_0x5df18d,_0xba7062){const _0x5c5909=a85_0x5418;return _0x5496d2[_0x5c5909(0x102)](_0x5df18d,_0xba7062);},'jyIlS':_0x5496d2[_0x198012(0x1a2)],'pmyOJ':function(_0x2cddd1,_0x2830fc){const _0x9bb6e5=_0x198012;return _0x5496d2[_0x9bb6e5(0x103)](_0x2cddd1,_0x2830fc);}};this[_0x198012(0x131)]['stopBinSession'](_0x502e4d,this[_0x198012(0x1cb)](),(_0x384304,_0x3f3d9d)=>{const _0x29f559=_0x198012;if(_0x384304){this['logger'][_0x29f559(0x138)](_0x29f559(0x1b5)+_0x384304[_0x29f559(0x12e)]),_0x1183ca[_0x29f559(0x197)](_0x1fa5f9,_0x384304),PerformanceTester['end'](PerformanceEvents[_0x29f559(0x13e)],![],util[_0x29f559(0x1d6)](_0x384304));return;}this[_0x29f559(0x1a1)][_0x29f559(0x1aa)](_0x1183ca[_0x29f559(0x1f7)]),PerformanceTester[_0x29f559(0x15d)](PerformanceEvents[_0x29f559(0x13e)]),_0x1183ca[_0x29f559(0x182)](_0x5340c2,_0x3f3d9d);});});this[_0x563b3d(0x1a1)][_0x563b3d(0x216)](_0x563b3d(0x114)+util[_0x563b3d(0x1d6)](_0x4a069d));try{const _0x36378f=_0x5496d2[_0x563b3d(0x147)](typeof _0x4a069d[_0x563b3d(0x16b)],_0x5496d2[_0x563b3d(0x13b)])?_0x4a069d[_0x563b3d(0x16b)]():[];for(const _0x30be41 of _0x36378f){const _0x513e21=_0x30be41&&_0x5496d2[_0x563b3d(0x16e)](typeof _0x30be41['getBody'],_0x5496d2[_0x563b3d(0x13b)])?_0x30be41[_0x563b3d(0x143)]():'';if(!_0x513e21)continue;const _0x434a4e=(_0x30be41[_0x563b3d(0x1f8)]&&_0x30be41[_0x563b3d(0x1f8)]()||_0x5496d2[_0x563b3d(0x109)])[_0x563b3d(0x1fb)](),_0x55c741=_0x5496d2[_0x563b3d(0x218)](_0x434a4e,_0x5496d2[_0x563b3d(0x1d1)])||_0x5496d2[_0x563b3d(0x12d)](_0x434a4e,_0x5496d2[_0x563b3d(0x1a6)])||_0x5496d2[_0x563b3d(0x119)](_0x434a4e,_0x5496d2['rVOlv']),_0x217b55=_0x55c741?process[_0x563b3d(0x135)]:process[_0x563b3d(0x1cc)];_0x217b55[_0x563b3d(0x21f)](_0x5496d2['oDRLQ'](_0x513e21,'\x0a'));const _0x10055c=_0x5496d2[_0x563b3d(0x12d)](_0x434a4e,_0x5496d2[_0x563b3d(0x1e9)])?_0x5496d2[_0x563b3d(0x1e9)]:_0x55c741?_0x5496d2[_0x563b3d(0x1d1)]:_0x5496d2[_0x563b3d(0x109)];fileLogger[_0x10055c](_0x513e21);}}catch(_0x7e3435){this[_0x563b3d(0x1a1)][_0x563b3d(0x216)](_0x563b3d(0x167)+(_0x7e3435[_0x563b3d(0x11c)]||_0x7e3435));}return _0x4a069d;}catch(_0x9eca4c){PerformanceTester['end'](PerformanceEvents[_0x563b3d(0x13e)],![],util[_0x563b3d(0x1d6)](_0x9eca4c)),this[_0x563b3d(0x1a1)][_0x563b3d(0x138)](_0x563b3d(0x1bc)+util[_0x563b3d(0x1d6)](_0x9eca4c));}}async[a85_0x4ef22f(0x1ef)](_0x320818){const _0x395fd8=a85_0x4ef22f,_0x1dff8c={'VeUZu':function(_0x314344,_0x8c830d){return _0x314344(_0x8c830d);},'nyPmM':_0x395fd8(0x116),'xsAch':'Getting\x20Playwright\x20config','JfSbB':_0x395fd8(0x1bb)};PerformanceTester[_0x395fd8(0x100)](PerformanceEvents[_0x395fd8(0x1a0)]),this[_0x395fd8(0x1a1)][_0x395fd8(0x1aa)](_0x1dff8c[_0x395fd8(0x1fe)]);try{!this['client']&&this[_0x395fd8(0x1a1)][_0x395fd8(0x1aa)](_0x1dff8c[_0x395fd8(0x1ad)]);const _0xa4719e=new messages['PlaywrightConfigRequest']();return _0xa4719e[_0x395fd8(0x20c)](this[_0x395fd8(0x17b)]),_0xa4719e['setConfig'](JSON['stringify'](_0x320818)),new Promise((_0x8c8355,_0x1d3330)=>{const _0x282bb2=_0x395fd8,_0x2c7437={'acjEW':function(_0x1c3425,_0x36d3ce){const _0x1a2c59=a85_0x5418;return _0x1dff8c[_0x1a2c59(0x1a3)](_0x1c3425,_0x36d3ce);},'lTScG':_0x1dff8c['nyPmM']};this[_0x282bb2(0x131)]['playwrightConfig'](_0xa4719e,this[_0x282bb2(0x1cb)](),(_0x505df9,_0x66f1cc)=>{const _0x1f866e=_0x282bb2;if(_0x505df9){this['logger']['error']('PlaywrightConfig\x20error:\x20'+_0x505df9[_0x1f866e(0x12e)]),_0x2c7437['acjEW'](_0x1d3330,_0x505df9),PerformanceTester[_0x1f866e(0x15d)](PerformanceEvents[_0x1f866e(0x1a0)],![],util['format'](_0x505df9));return;}this[_0x1f866e(0x1a1)]['info'](_0x2c7437[_0x1f866e(0x210)]),PerformanceTester[_0x1f866e(0x15d)](PerformanceEvents[_0x1f866e(0x1a0)]),_0x2c7437[_0x1f866e(0x206)](_0x8c8355,_0x66f1cc);});});}catch(_0x27a434){PerformanceTester[_0x395fd8(0x15d)](PerformanceEvents[_0x395fd8(0x1a0)],![],util[_0x395fd8(0x1d6)](_0x27a434)),this[_0x395fd8(0x1a1)]['error']('Error\x20in\x20getPlaywrightConfig:\x20'+util['format'](_0x27a434));throw _0x27a434;}}async[a85_0x4ef22f(0x1f3)](_0x4976fc){const _0x525d13=a85_0x4ef22f,_0x1f9217={'IlmIs':function(_0x561f26,_0x3c0398){return _0x561f26(_0x3c0398);},'abidR':'AccessibilityConfig\x20request\x20successful','vYpkE':function(_0x1cbfe9,_0x349f97){return _0x1cbfe9||_0x349f97;},'hTtZd':'not\x20provided','xfgOD':_0x525d13(0x1ff)},_0x16496e=_0x4976fc[_0x525d13(0x1de)]?.[_0x525d13(0x14b)]||_0x4976fc[_0x525d13(0x1de)]?.['id'];this[_0x525d13(0x1a1)][_0x525d13(0x1aa)](_0x525d13(0x10e)+_0x1f9217['vYpkE'](_0x16496e,_0x1f9217['hTtZd']));try{const _0x55f10a=Buffer['from'](JSON['stringify'](_0x4976fc[_0x525d13(0x183)]),_0x1f9217['xfgOD']),_0x2e6a1a=new messages[(_0x525d13(0x136))](),_0x1e84fd=CLIUtils[_0x525d13(0x193)](),_0x2df8e8=_0x1e84fd['name'],_0x1ff454=_0x1e84fd[_0x525d13(0x21b)];_0x2e6a1a[_0x525d13(0x20c)](this['binSessionId']),_0x2e6a1a['setPlatformIndex'](0x0),_0x2e6a1a[_0x525d13(0x157)](_0x2df8e8),_0x2e6a1a['setFrameworkVersion'](_0x1ff454),_0x2e6a1a[_0x525d13(0x170)](_0x4976fc['hubUrl']),_0x2e6a1a[_0x525d13(0x1e5)](_0x55f10a);if(_0x4976fc[_0x525d13(0x1de)]?.['testAnalyticsId']||_0x4976fc[_0x525d13(0x1de)]?.['id']){const _0x39455f=_0x4976fc[_0x525d13(0x1de)][_0x525d13(0x14b)]||_0x4976fc[_0x525d13(0x1de)]['id'];_0x2e6a1a[_0x525d13(0x15e)](_0x39455f),this['logger'][_0x525d13(0x216)](_0x525d13(0x1fa)+_0x39455f+_0x525d13(0x129));}return new Promise((_0x5ab736,_0x1d2723)=>{const _0x32dd7f=_0x525d13,_0x3b15fd={'TxuoG':function(_0xfcda60,_0x21c36f){const _0x3701e1=a85_0x5418;return _0x1f9217[_0x3701e1(0x14d)](_0xfcda60,_0x21c36f);},'zaVss':_0x1f9217[_0x32dd7f(0x1a5)]};this['client'][_0x32dd7f(0x1ea)](_0x2e6a1a,this[_0x32dd7f(0x1cb)](),(_0x4ef0ae,_0x3e3ed2)=>{const _0x2e2d98=_0x32dd7f;if(_0x4ef0ae){this[_0x2e2d98(0x1a1)][_0x2e2d98(0x138)](_0x2e2d98(0x1c6)+_0x4ef0ae[_0x2e2d98(0x12e)]),_0x3b15fd['TxuoG'](_0x1d2723,_0x4ef0ae);return;}this[_0x2e2d98(0x1a1)][_0x2e2d98(0x1aa)](_0x3b15fd[_0x2e2d98(0x208)]),_0x3b15fd[_0x2e2d98(0x14c)](_0x5ab736,_0x3e3ed2);});});}catch(_0x40bd22){this[_0x525d13(0x1a1)][_0x525d13(0x138)]('Error\x20in\x20getAccessibilityConfig:\x20'+util[_0x525d13(0x1d6)](_0x40bd22));}}async[a85_0x4ef22f(0x110)](_0x43a805){const _0x5bdf6f=a85_0x4ef22f,_0x45ab79={'cNtLx':function(_0x276e9c,_0x18389e){return _0x276e9c(_0x18389e);},'sJbjD':'TestSessionEvent\x20request\x20successful','hYVOU':_0x5bdf6f(0x195),'JqjMQ':_0x5bdf6f(0x1bb)};this['logger'][_0x5bdf6f(0x1aa)](_0x45ab79[_0x5bdf6f(0x18a)]);try{!this['client']&&this[_0x5bdf6f(0x1a1)][_0x5bdf6f(0x1aa)](_0x45ab79[_0x5bdf6f(0x200)]);const {platformIndex:_0x2c956b,testFrameworkName:_0x3bf225,testFrameworkVersion:_0x1f2ee1,testFrameworkState:_0x4a0a07,testHookState:_0x27cbb0,testUuid:_0x2b5a4f,automationSession:_0x5a84aa,capabilities:_0x32c1ac,executionContext:_0x571714,test_identifier:_0x3852a5}=_0x43a805,_0x4ceede=new messages['TestSessionEventRequest']();_0x4ceede[_0x5bdf6f(0x20c)](this[_0x5bdf6f(0x17b)]),_0x4ceede[_0x5bdf6f(0x1e1)](_0x2c956b),_0x4ceede['setTestFrameworkName'](_0x3bf225),_0x4ceede[_0x5bdf6f(0x177)](_0x1f2ee1),_0x4ceede[_0x5bdf6f(0x1ed)](_0x4a0a07),_0x4ceede[_0x5bdf6f(0x198)](_0x27cbb0),_0x4ceede['setTestUuid'](_0x2b5a4f);const _0x17d040=new messages[(_0x5bdf6f(0x12c))][(_0x5bdf6f(0x1eb))]();_0x17d040[_0x5bdf6f(0x152)](_0x5a84aa['provider']),_0x17d040['setFrameworkName'](_0x5a84aa['frameworkName']),_0x17d040[_0x5bdf6f(0x18d)](_0x5a84aa[_0x5bdf6f(0x164)]),_0x17d040[_0x5bdf6f(0x162)](_0x5a84aa[_0x5bdf6f(0x222)]),_0x17d040[_0x5bdf6f(0x1b4)](_0x5a84aa[_0x5bdf6f(0x1ce)]),_0x17d040[_0x5bdf6f(0x1fc)](_0x5a84aa['ref']),_0x17d040['setHubUrl'](_0x5a84aa[_0x5bdf6f(0x161)]),_0x4ceede[_0x5bdf6f(0x174)](_0x17d040),_0x4ceede['setCapabilities'](_0x32c1ac);const _0x423d19=new messages[(_0x5bdf6f(0x127))]();return _0x423d19['setProcessId'](_0x571714[_0x5bdf6f(0x1f4)]),_0x423d19[_0x5bdf6f(0x146)](_0x571714[_0x5bdf6f(0x20a)]),_0x423d19[_0x5bdf6f(0x133)](_0x571714[_0x5bdf6f(0x14e)]),_0x4ceede['setExecutionContext'](_0x423d19),_0x3852a5&&_0x4ceede['setTestIdentifier'](_0x3852a5),new Promise((_0x1f99ec,_0x3d1356)=>{const _0x2267b5=_0x5bdf6f,_0x49806e={'ESiqQ':function(_0x236699,_0x3cefaa){const _0x50a298=a85_0x5418;return _0x45ab79[_0x50a298(0x211)](_0x236699,_0x3cefaa);},'ttEPM':_0x45ab79[_0x2267b5(0x192)]};this[_0x2267b5(0x131)]['testSessionEvent'](_0x4ceede,this['getCallOptions'](),(_0x25e082,_0x253f02)=>{const _0x1b5d7a=_0x2267b5;if(_0x25e082){this[_0x1b5d7a(0x1a1)][_0x1b5d7a(0x138)](_0x1b5d7a(0x185)+_0x25e082['message']),_0x49806e[_0x1b5d7a(0x1cf)](_0x3d1356,_0x25e082);return;}this[_0x1b5d7a(0x1a1)][_0x1b5d7a(0x1aa)](_0x49806e[_0x1b5d7a(0x179)]),_0x49806e[_0x1b5d7a(0x1cf)](_0x1f99ec,_0x253f02);});});}catch(_0x463a04){this[_0x5bdf6f(0x1a1)][_0x5bdf6f(0x138)](_0x5bdf6f(0x13f)+util[_0x5bdf6f(0x1d6)](_0x463a04));throw _0x463a04;}}async[a85_0x4ef22f(0x1ae)](_0x23ad54){const _0x24667c=a85_0x4ef22f,_0x21ec79={'dAUBw':function(_0x2cf36b,_0x3a498c){return _0x2cf36b(_0x3a498c);},'JNTti':'TestFrameworkEvent\x20request\x20successful','kaauc':function(_0x40cc69,_0x3b1d8f){return _0x40cc69(_0x3b1d8f);},'SRbXb':_0x24667c(0x151),'cUJjh':_0x24667c(0x1bb)};this[_0x24667c(0x1a1)][_0x24667c(0x1aa)](_0x21ec79[_0x24667c(0x10d)]);try{!this[_0x24667c(0x131)]&&this[_0x24667c(0x1a1)]['info'](_0x21ec79['cUJjh']);const {platformIndex:_0x540b4b,testFrameworkName:_0x38a8a1,testFrameworkVersion:_0x52dcc6,testFrameworkState:_0x3223e6,hookState:_0x49ec77,startedAt:_0x3c583c,endedAt:_0x4ed775,uuid:_0x369e0a,eventJson:_0x298c1d,executionContext:_0x462b42,test_identifier:_0x2da96d}=_0x23ad54,_0x20d1f9=new messages['TestFrameworkEventRequest']();_0x20d1f9[_0x24667c(0x20c)](this[_0x24667c(0x17b)]),_0x20d1f9[_0x24667c(0x1e1)](_0x540b4b),_0x20d1f9[_0x24667c(0x1d9)](_0x38a8a1),_0x20d1f9[_0x24667c(0x177)](_0x52dcc6),_0x20d1f9[_0x24667c(0x1ed)](_0x3223e6),_0x20d1f9[_0x24667c(0x198)](_0x49ec77),_0x20d1f9[_0x24667c(0x17d)](_0x3c583c),_0x20d1f9['setEndedAt'](_0x4ed775),_0x20d1f9[_0x24667c(0x113)](_0x369e0a),_0x20d1f9[_0x24667c(0x1ba)](_0x298c1d);const _0x57e5a2=new messages[(_0x24667c(0x127))]();return _0x57e5a2[_0x24667c(0x20b)](_0x462b42[_0x24667c(0x1f4)]),_0x57e5a2[_0x24667c(0x146)](_0x462b42['threadId']),_0x57e5a2[_0x24667c(0x133)](_0x462b42[_0x24667c(0x14e)]),_0x20d1f9[_0x24667c(0x1e2)](_0x57e5a2),_0x2da96d&&_0x20d1f9[_0x24667c(0x15e)](_0x2da96d),new Promise((_0xbda55a,_0x223ebe)=>{const _0x4bdd62=_0x24667c;this['client'][_0x4bdd62(0x1ae)](_0x20d1f9,this[_0x4bdd62(0x1cb)](),(_0x4e8b70,_0x3d4da8)=>{const _0xd59152=_0x4bdd62;if(_0x4e8b70){this['logger'][_0xd59152(0x138)](_0xd59152(0x1ee)+_0x4e8b70[_0xd59152(0x12e)]),_0x21ec79[_0xd59152(0x1ec)](_0x223ebe,_0x4e8b70);return;}this[_0xd59152(0x1a1)][_0xd59152(0x1aa)](_0x21ec79[_0xd59152(0x1f6)]),_0x21ec79[_0xd59152(0x132)](_0xbda55a,_0x3d4da8);});});}catch(_0x5de2d7){this['logger']['error']('Error\x20in\x20TestFrameworkEvent:\x20'+util['format'](_0x5de2d7));throw _0x5de2d7;}}async[a85_0x4ef22f(0x201)](_0x9667ed){const _0xbd4d8f=a85_0x4ef22f,_0x395d3={'WxvaO':function(_0x5c8e9d,_0x5f29d9){return _0x5c8e9d(_0x5f29d9);},'DNkgI':'DriverInit\x20request\x20successful','cizIs':_0xbd4d8f(0x212),'EJRPb':_0xbd4d8f(0x1bb)};this['logger'][_0xbd4d8f(0x1aa)](_0x395d3['cizIs']);try{!this['client']&&this['logger'][_0xbd4d8f(0x1aa)](_0x395d3[_0xbd4d8f(0x214)]);const {platformIndex:_0x3fbb2e,ref:_0x26d1e8,userInputParams:_0x5347fa,hubUrl:_0x53af2c}=_0x9667ed,_0x96a269=new messages[(_0xbd4d8f(0x1c9))]();return _0x96a269[_0xbd4d8f(0x20c)](this[_0xbd4d8f(0x17b)]),_0x96a269[_0xbd4d8f(0x1e1)](_0x3fbb2e),_0x96a269['setRef'](_0x26d1e8),_0x96a269['setUserInputParams'](_0x5347fa),_0x96a269['setHubUrl'](_0x53af2c),new Promise((_0x2a321d,_0x382b1e)=>{const _0x12e4ec=_0xbd4d8f;this[_0x12e4ec(0x131)][_0x12e4ec(0x201)](_0x96a269,this[_0x12e4ec(0x1cb)](),(_0x3aecba,_0xb7a1bc)=>{const _0x3df4cf=_0x12e4ec;if(_0x3aecba){this['logger'][_0x3df4cf(0x138)](_0x3df4cf(0x203)+_0x3aecba[_0x3df4cf(0x12e)]),_0x395d3[_0x3df4cf(0x223)](_0x382b1e,_0x3aecba);return;}this[_0x3df4cf(0x1a1)]['info'](_0x395d3['DNkgI']),_0x395d3[_0x3df4cf(0x223)](_0x2a321d,_0xb7a1bc);});});}catch(_0x5d9205){this[_0xbd4d8f(0x1a1)][_0xbd4d8f(0x138)]('Error\x20in\x20DriverInit:\x20'+util[_0xbd4d8f(0x1d6)](_0x5d9205));throw _0x5d9205;}}async[a85_0x4ef22f(0x1c8)](_0x509e7c){const _0x43d68e=a85_0x4ef22f,_0x18ab58={'XCQEu':function(_0x27c5a4,_0x49b244){return _0x27c5a4===_0x49b244;},'BKPew':_0x43d68e(0x21d),'ryeNs':function(_0x2808b3,_0x4b70e0){return _0x2808b3(_0x4b70e0);},'BQQcg':_0x43d68e(0x202),'bQgDV':_0x43d68e(0x204),'RnfrT':_0x43d68e(0x1bb)};this[_0x43d68e(0x1a1)][_0x43d68e(0x1aa)](_0x18ab58[_0x43d68e(0x178)]);try{!this[_0x43d68e(0x131)]&&this[_0x43d68e(0x1a1)][_0x43d68e(0x1aa)](_0x18ab58[_0x43d68e(0x17c)]);const {platformIndex:_0x1b834c,logs:_0x59c021}=_0x509e7c,_0x42f962=new messages[(_0x43d68e(0x1b3))]();_0x42f962[_0x43d68e(0x20c)](this[_0x43d68e(0x17b)]),_0x42f962[_0x43d68e(0x1e1)](_0x1b834c);const _0x5ef662=_0x509e7c[_0x43d68e(0x1bd)],_0x3346d4=_0x509e7c[_0x43d68e(0x225)],_0x4a6c2b=_0x509e7c[_0x43d68e(0x10c)];return _0x59c021[_0x43d68e(0x209)](_0x19a298=>{const _0x47d941=_0x43d68e,_0x147fba=new messages['LogCreatedEventRequest']['LogEntry']();_0x147fba[_0x47d941(0x1d9)](_0x5ef662),_0x147fba[_0x47d941(0x177)](_0x3346d4),_0x147fba[_0x47d941(0x1ed)](_0x4a6c2b),_0x147fba[_0x47d941(0x149)](_0x19a298[_0x47d941(0x1af)]);if(_0x18ab58['XCQEu'](_0x19a298[_0x47d941(0x19f)],PLAYWRIGHT_TRACE_LOGS))_0x147fba[_0x47d941(0x113)](_0x19a298[_0x47d941(0x126)]),_0x147fba[_0x47d941(0x122)](new TextEncoder()['encode'](JSON[_0x47d941(0x1d0)](_0x19a298)));else{if(_0x19a298[_0x47d941(0x1a7)])_0x147fba['setUuid'](_0x18ab58[_0x47d941(0x1b6)]);else{if(_0x19a298[_0x47d941(0x196)])_0x147fba[_0x47d941(0x113)](_0x19a298[_0x47d941(0x196)]);else _0x19a298[_0x47d941(0x16d)]&&_0x147fba[_0x47d941(0x113)](_0x19a298[_0x47d941(0x16d)]);}_0x147fba[_0x47d941(0x122)](new TextEncoder()[_0x47d941(0x142)](_0x19a298[_0x47d941(0x12e)]));}_0x147fba[_0x47d941(0x207)](_0x19a298[_0x47d941(0x105)]),_0x147fba[_0x47d941(0x1f0)](_0x19a298[_0x47d941(0x1d2)]),_0x147fba[_0x47d941(0x1b8)](_0x19a298?.['fileName']||''),_0x147fba[_0x47d941(0x11e)](_0x19a298?.[_0x47d941(0x221)]||''),_0x147fba[_0x47d941(0x19b)](_0x19a298?.[_0x47d941(0x121)]||0x0),_0x147fba['setAttachmentType'](_0x19a298?.[_0x47d941(0x19f)]||''),_0x19a298['test_identifier']&&_0x147fba[_0x47d941(0x15e)](_0x19a298[_0x47d941(0x1a7)]),_0x19a298[_0x47d941(0x1ac)]&&_0x147fba[_0x47d941(0x1c3)](_0x19a298[_0x47d941(0x1ac)]),_0x42f962['addLogs'](_0x147fba);}),new Promise((_0x63175d,_0xc5f664)=>{const _0x18de6c=_0x43d68e,_0x6f002f={'KkNdi':function(_0x48c88f,_0x20b1ab){const _0x5a2610=a85_0x5418;return _0x18ab58[_0x5a2610(0x11d)](_0x48c88f,_0x20b1ab);},'kFIBx':_0x18ab58[_0x18de6c(0x153)]};this['client'][_0x18de6c(0x1c8)](_0x42f962,this[_0x18de6c(0x1cb)](),(_0x2bcf50,_0x3f7917)=>{const _0x33e446=_0x18de6c;if(_0x2bcf50){this[_0x33e446(0x1a1)][_0x33e446(0x138)]('LogCreatedEvent\x20error:\x20'+_0x2bcf50[_0x33e446(0x12e)]),_0x6f002f[_0x33e446(0x166)](_0xc5f664,_0x2bcf50);return;}this[_0x33e446(0x1a1)]['info'](_0x6f002f[_0x33e446(0x18e)]),_0x6f002f[_0x33e446(0x166)](_0x63175d,_0x3f7917);});});}catch(_0xe12416){this[_0x43d68e(0x1a1)][_0x43d68e(0x138)](_0x43d68e(0x150)+util[_0x43d68e(0x1d6)](_0xe12416));throw _0xe12416;}}async[a85_0x4ef22f(0x1db)](_0x2f6dac,_0x352a20,_0x1bde2c,_0x22663f=null){const _0x4dca16=a85_0x4ef22f,_0x365250={'ezPrw':function(_0x319c5a,_0x2af1d5){return _0x319c5a(_0x2af1d5);},'wLrzm':function(_0x452f9e,_0x1a1c09){return _0x452f9e||_0x1a1c09;},'YJeci':'not\x20provided','QiHgA':'No\x20gRPC\x20client\x20initialized.'};this[_0x4dca16(0x1a1)][_0x4dca16(0x216)](_0x4dca16(0x21a)+_0x2f6dac+_0x4dca16(0x1cd)+_0x352a20+_0x4dca16(0x215)+_0x1bde2c+_0x4dca16(0x17e)+_0x365250[_0x4dca16(0x117)](_0x22663f,_0x365250['YJeci']));try{if(!this['client'])return this[_0x4dca16(0x1a1)][_0x4dca16(0x216)](_0x365250['QiHgA']),null;const _0x5ebc72=new messages[(_0x4dca16(0x1c2))]();return _0x5ebc72[_0x4dca16(0x20c)](_0x2f6dac),_0x5ebc72['setProduct'](_0x352a20),_0x5ebc72[_0x4dca16(0x20e)](_0x1bde2c),_0x22663f&&(_0x5ebc72[_0x4dca16(0x15e)](_0x22663f),this[_0x4dca16(0x1a1)]['debug'](_0x4dca16(0x15a)+_0x22663f+_0x4dca16(0x10f)+_0x352a20+_0x4dca16(0x215)+_0x1bde2c)),await new Promise(_0x46cb6c=>{const _0x3d6728=_0x4dca16;this[_0x3d6728(0x131)][_0x3d6728(0x1db)](_0x5ebc72,this[_0x3d6728(0x1cb)](),(_0x48fa2c,_0x56eb2a)=>{const _0x171d2e=_0x3d6728;if(_0x48fa2c){this[_0x171d2e(0x1a1)][_0x171d2e(0x216)](_0x171d2e(0x1dd)+_0x48fa2c),_0x365250[_0x171d2e(0x186)](_0x46cb6c,null);return;}this[_0x171d2e(0x1a1)][_0x171d2e(0x216)](_0x171d2e(0x1b0)+(_0x56eb2a[_0x171d2e(0x190)]&&_0x56eb2a[_0x171d2e(0x190)]())),_0x365250[_0x171d2e(0x186)](_0x46cb6c,_0x56eb2a);});});}catch(_0x2116d5){return this['logger']['debug'](_0x4dca16(0x1dd)+_0x2116d5),null;}}async[a85_0x4ef22f(0xff)](_0x45e89d){const _0xf56ef5=a85_0x4ef22f,_0x4d2682={'ibBZe':function(_0x244b3a,_0x31b5fd){return _0x244b3a(_0x31b5fd);},'nWovd':_0xf56ef5(0x10b),'jhYve':'No\x20gRPC\x20client\x20initialized.'};this['logger'][_0xf56ef5(0x216)]('Reporting\x20ClientTroubleshootingError\x20'+_0x45e89d);try{if(!this[_0xf56ef5(0x131)])return this[_0xf56ef5(0x1a1)]['debug'](_0x4d2682[_0xf56ef5(0x188)]),null;const _0x118642=new messages[(_0xf56ef5(0x1c7))]();_0x118642['setBinSessionId'](this[_0xf56ef5(0x17b)]),_0x118642[_0xf56ef5(0x1e6)](_0x45e89d);const _0x234b15=await new Promise((_0x32c14f,_0x42714e)=>{const _0x1017fe=_0xf56ef5;this[_0x1017fe(0x131)][_0x1017fe(0xff)](_0x118642,this['getCallOptions'](),(_0x4a683f,_0x3f92ae)=>{const _0x2f3289=_0x1017fe;if(_0x4a683f){this['logger'][_0x2f3289(0x216)](_0x2f3289(0x155)+_0x4a683f),_0x4d2682[_0x2f3289(0x1c4)](_0x42714e,_0x4a683f);return;}this[_0x2f3289(0x1a1)][_0x2f3289(0x216)](_0x4d2682[_0x2f3289(0x171)]),_0x4d2682[_0x2f3289(0x1c4)](_0x32c14f,_0x3f92ae);});});return _0x234b15;}catch(_0x4b79c4){return this[_0xf56ef5(0x1a1)][_0xf56ef5(0x216)]('Error\x20in\x20ReportClientTroubleshootingError:\x20'+_0x4b79c4),null;}}async[a85_0x4ef22f(0x125)](){const _0x2a1df7=a85_0x4ef22f,_0x5b5dbf={'eGWAr':function(_0x452fd0,_0x431bc4){return _0x452fd0(_0x431bc4);},'VdcaT':'GetAggregatedClientTroubleshootingErrors\x20successful','XRerh':function(_0x11cabc,_0x33607e){return _0x11cabc(_0x33607e);},'WCLYl':_0x2a1df7(0x21c),'eTFmr':'No\x20gRPC\x20client\x20initialized.'};this[_0x2a1df7(0x1a1)][_0x2a1df7(0x216)](_0x5b5dbf[_0x2a1df7(0x101)]);try{if(!this['client'])return this[_0x2a1df7(0x1a1)][_0x2a1df7(0x216)](_0x5b5dbf[_0x2a1df7(0x180)]),null;const _0x2809a4=new messages['GetAggregatedClientTroubleshootingErrorsRequest']();_0x2809a4[_0x2a1df7(0x20c)](this[_0x2a1df7(0x17b)]);const _0x5521a0=await new Promise((_0x518a73,_0xd8d4de)=>{const _0x1d9ece=_0x2a1df7,_0x5acce3={'lcdqY':function(_0x464dfc,_0x498ac4){const _0x2bed8b=a85_0x5418;return _0x5b5dbf[_0x2bed8b(0x15c)](_0x464dfc,_0x498ac4);},'oCuJc':_0x5b5dbf['VdcaT'],'cqzBu':function(_0x54a18e,_0x1a4ae2){const _0x1bd0a5=a85_0x5418;return _0x5b5dbf[_0x1bd0a5(0x144)](_0x54a18e,_0x1a4ae2);}};this[_0x1d9ece(0x131)][_0x1d9ece(0x125)](_0x2809a4,this[_0x1d9ece(0x1cb)](),(_0x22df51,_0x16c733)=>{const _0x1bd8a2=_0x1d9ece;if(_0x22df51){this[_0x1bd8a2(0x1a1)][_0x1bd8a2(0x216)](_0x1bd8a2(0x1e8)+_0x22df51),_0x5acce3[_0x1bd8a2(0x184)](_0xd8d4de,_0x22df51);return;}this['logger'][_0x1bd8a2(0x216)](_0x5acce3[_0x1bd8a2(0x14a)]),_0x5acce3['cqzBu'](_0x518a73,_0x16c733);});});return _0x5521a0;}catch(_0x52d9ee){return this[_0x2a1df7(0x1a1)]['debug'](_0x2a1df7(0x1e8)+_0x52d9ee),null;}}[a85_0x4ef22f(0x159)](){return this['client'];}[a85_0x4ef22f(0x217)](){const _0x411f57=a85_0x4ef22f;return this[_0x411f57(0x19d)];}}module[a85_0x4ef22f(0x1f1)]=GrpcClient;function a85_0x1676(){const _0xe3ff5=['BKPew','22FWRWYD','setFileName','getFrameworkVersionsMap','setEventJson','No\x20gRPC\x20client\x20not\x20initialized.','Error\x20in\x20stopBinSession:\x20','testFrameworkName','OdOqf','Stopping\x20signal\x20','GrpcClient','ConnectBinSessionRequest','FetchDriverExecuteParamsEventRequest','setDuration','ibBZe','stopBinSession','AccessibilityConfig\x20error:\x20','ReportClientTroubleshootingErrorRequest','logCreatedEvent','DriverInitRequest','ConnectBinSession\x20successful','getCallOptions','stdout',',\x20product=','product','ESiqQ','stringify','wlfRZ','level','ConnectBinSession\x20error:\x20','StartBinSession\x20successful','uEmFe','format','\x22userName\x22:\x22[REDACTED]\x22','winstonLogger','setTestFrameworkName','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','fetchDriverExecuteParamsEvent','335124RqVbxJ','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','testInfo','QXfaD','replace','setPlatformIndex','setExecutionContext','TrfOM','Error\x20in\x20connectBinSession:\x20','setCapabilities','setErrorKey','listenAddress','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','rVOlv','accessibilityConfig','AutomationSession','dAUBw','setTestFrameworkState','TestFrameworkEvent\x20error:\x20','getPlaywrightConfig','setLevel','exports','WLWQL','getAccessibilityConfig','processId','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','JNTti','jyIlS','getSeverity','lxxsz','[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier=','toLowerCase','setRef','DPoFY','xsAch','utf-8','JqjMQ','driverInit','LogCreatedEvent\x20request\x20successful','DriverInit\x20error:\x20','Sending\x20LogCreatedEvent','entries','acjEW','setKind','zaVss','forEach','threadId','setProcessId','setBinSessionId','Cwlct','setScriptName','util','lTScG','cNtLx','Sending\x20DriverInit','Stopping\x20bin\x20session','EJRPb',',\x20scriptName=','debug','getChannel','rjydN','../../helpers/performance/performance-tester.js','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','version','Getting\x20AggregatedClientTroubleshootingErrors','pending-resolution-from-test-identifier','setTestFramework','write','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','filePath','frameworkSessionId','WxvaO','../../helpers/logger.js','testFrameworkVersion','bxMGk','path','22CxeTRq','Channel','now','reportClientTroubleshootingError','start','WCLYl','vdKoN','hfsFX','StartBinSessionRequest','kind','12NaMNkv','elagB','setExitReason','PjTWg','SDKClient','ReportClientTroubleshootingError\x20successful','testFrameworkState','SRbXb','[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier=','\x20for\x20product=','testSessionEvent','1253609braHHD','38058612AlAkqO','setUuid','stop-bin-session\x20response:\x20','setSdkVersion','PlaywrightConfig\x20request\x20successful','wLrzm','setCliArgs:\x20cliArgs=','MXlxL','setPathConfig','name','stack','ryeNs','setFilePath','connectBinSession','vnjfr','fileSize','setMessage','set','PUftS','getAggregatedClientTroubleshootingErrors','test_run_uuid','ExecutionContext','1510457UZJkDO','\x20for\x20tag\x20validation','\x22accessKey\x22:\x22[REDACTED]\x22','\x20and\x20listen\x20address:\x20','TestSessionEventRequest','YSJuV','message','../../../generated/sdk-messages_pb','setSdkLanguage','client','kaauc','setHash','argv','stderr','AccessibilityConfigRequest','connect','error','../utils/constants','SDK_START_BIN_SESSION','sQMTp','xihhw','\x20listenAddr:\x20','SDK_CLI_ON_STOP','Error\x20in\x20TestSessionEvent:\x20','grpc.keepalive_time_ms','vRbKt','encode','getBody','XRerh','setFrameworksList','setThreadId','VGRyP','startBinSession:\x20Calling\x20startBinSession','setTimestamp','oCuJc','testAnalyticsId','TxuoG','IlmIs','hash','startBinSession','Error\x20in\x20LogCreatedEvent:\x20','Sending\x20TestFrameworkEvent','setProvider','BQQcg','7764064nyoFDl','Error\x20in\x20ReportClientTroubleshootingError:\x20','getInstance','setFrameworkName','GSFvo','getClient','fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier=','getBrowserstackCliConfig','eGWAr','end','setTestIdentifier','addFrameworks','setCustomMetadata','hubUrl','setFrameworkSessionId','38439GFtdjT','frameworkVersion','StopBinSessionRequest','KkNdi','StopBinSession\x20entries\x20forwarding\x20failed:\x20','SDK_CONNECT_BIN_SESSION','credentials','Error\x20in\x20startBinSession:\x20','getEntriesList','getDeadline','uuid','GMLEf','4010HMdQxG','setHubUrl','nWovd','warn','kZugl','addAutomationSessions','16580yAMUGa','Connecting\x20bin\x20session','setTestFrameworkVersion','bQgDV','ttEPM','Connected\x20to\x20gRPC\x20server\x20at\x20','binSessionId','RnfrT','setStartedAt',',\x20testIdentifier=','init','eTFmr','env','pmyOJ','launchcaps','lcdqY','TestSessionEvent\x20error:\x20','ezPrw','setPathProject','jhYve','355MbaPCi','hYVOU','./cliUtils.js','warning','setFrameworkVersion','kFIBx','null','getSuccess','tzcBX','sJbjD','getAutomationFrameworkDetail','zpobW','Sending\x20TestSessionEvent','hook_run_uuid','dLPSF','setTestHookState','createInsecure','XCZdb','setFileSize','setExitSignal','channel','../../helpers/classLogger.js','attachment_type','SDK_AUTOMATION_FRAMEWORK_INIT','logger','naykD','VeUZu','SCaAC','abidR','MqWsA','test_identifier','getSdkLanguage','rSMkx','info','user_killed','duration','JfSbB','testFrameworkEvent','timestamp','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','StartBinSession\x20error:\x20','../../helpers/helper.js','LogCreatedEventRequest','setProduct','StopBinSession\x20error:\x20'];a85_0x1676=function(){return _0xe3ff5;};return a85_0x1676();}
1
+ function a85_0x1e88(_0x562026,_0x33fd88){const _0x4d639d=a85_0x4d63();return a85_0x1e88=function(_0x1e8877,_0x1eeab7){_0x1e8877=_0x1e8877-0x16e;let _0x5f0844=_0x4d639d[_0x1e8877];return _0x5f0844;},a85_0x1e88(_0x562026,_0x33fd88);}const a85_0x7b230f=a85_0x1e88;(function(_0x3ecc5d,_0x4d3f74){const _0x242998=a85_0x1e88,_0x15b495=_0x3ecc5d();while(!![]){try{const _0x2ee5d4=-parseInt(_0x242998(0x23e))/0x1+parseInt(_0x242998(0x22b))/0x2*(parseInt(_0x242998(0x1e1))/0x3)+parseInt(_0x242998(0x1fc))/0x4+parseInt(_0x242998(0x202))/0x5*(parseInt(_0x242998(0x1e6))/0x6)+-parseInt(_0x242998(0x2a1))/0x7*(parseInt(_0x242998(0x175))/0x8)+parseInt(_0x242998(0x27c))/0x9+-parseInt(_0x242998(0x1cc))/0xa*(parseInt(_0x242998(0x28b))/0xb);if(_0x2ee5d4===_0x4d3f74)break;else _0x15b495['push'](_0x15b495['shift']());}catch(_0x21448a){_0x15b495['push'](_0x15b495['shift']());}}}(a85_0x4d63,0x3a2b1));const util=require('util'),logger=require('../../helpers/logger.js')[a85_0x7b230f(0x284)],fileLogger=require(a85_0x7b230f(0x193))[a85_0x7b230f(0x261)],grpc=require('@grpc/grpc-js'),services=require(a85_0x7b230f(0x248)),messages=require(a85_0x7b230f(0x16e)),path=require(a85_0x7b230f(0x26b)),CLIUtils=require(a85_0x7b230f(0x16f)),{createClassLogger}=require(a85_0x7b230f(0x24e)),PerformanceTester=require(a85_0x7b230f(0x1dd)),{EVENTS:PerformanceEvents}=require(a85_0x7b230f(0x252)),{PLAYWRIGHT_TRACE_LOGS}=require(a85_0x7b230f(0x228)),helper=require(a85_0x7b230f(0x27d));class GrpcClient{static #instance=null;['binSessionId']=null;['listenAddress']=null;['channel']=null;[a85_0x7b230f(0x281)]=null;['logger']=createClassLogger(a85_0x7b230f(0x18f));constructor(){}static['getInstance'](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a85_0x7b230f(0x1c0)](_0x5605eb){const _0x1e83ae=a85_0x7b230f,_0x35c6f2={};_0x35c6f2['cZyGf']=function(_0x2fc99b,_0x8513f7){return _0x2fc99b||_0x8513f7;};const _0x1787d5=_0x35c6f2,{id:_0x3238da,listen:_0x142563}=_0x5605eb;if(_0x1787d5[_0x1e83ae(0x18b)](!_0x3238da,!_0x142563))throw new Error(_0x1e83ae(0x1f7)+_0x3238da+_0x1e83ae(0x200)+_0x142563);this[_0x1e83ae(0x1c2)]=_0x3238da,this[_0x1e83ae(0x286)]=_0x142563,process[_0x1e83ae(0x1cf)][_0x1e83ae(0x253)]=this[_0x1e83ae(0x1c2)],process[_0x1e83ae(0x1cf)][_0x1e83ae(0x26a)]=this[_0x1e83ae(0x286)],this[_0x1e83ae(0x293)](),this[_0x1e83ae(0x264)]['info'](_0x1e83ae(0x1d0)+this[_0x1e83ae(0x1c2)]+_0x1e83ae(0x2a3)+this[_0x1e83ae(0x286)]);}[a85_0x7b230f(0x293)](){const _0x2131f5=a85_0x7b230f,_0x24b84f={};_0x24b84f[_0x2131f5(0x239)]=_0x2131f5(0x197);const _0x2fda37=_0x24b84f;let _0x21f08f=this[_0x2131f5(0x286)];!_0x21f08f&&(_0x21f08f=process[_0x2131f5(0x1cf)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']);!this[_0x2131f5(0x1c2)]&&(this[_0x2131f5(0x1c2)]=this[_0x2131f5(0x1c2)]||process[_0x2131f5(0x1cf)][_0x2131f5(0x253)]);if(!_0x21f08f)throw new Error(_0x2fda37[_0x2131f5(0x239)]);const _0x4fd894={};_0x4fd894['grpc.keepalive_time_ms']=0x2710,this['channel']=new grpc[(_0x2131f5(0x209))](_0x21f08f,grpc[_0x2131f5(0x285)][_0x2131f5(0x181)](),_0x4fd894),this[_0x2131f5(0x281)]=new services[(_0x2131f5(0x222))](_0x21f08f,grpc[_0x2131f5(0x285)][_0x2131f5(0x181)]()),this['logger'][_0x2131f5(0x20c)](_0x2131f5(0x1f9)+_0x21f08f);}[a85_0x7b230f(0x27f)](){const _0xc53673=a85_0x7b230f,_0xe9cc17={};_0xe9cc17[_0xc53673(0x1fa)]=function(_0x1ece3c,_0x411745){return _0x1ece3c+_0x411745;};const _0x24b6ec=_0xe9cc17;return _0x24b6ec[_0xc53673(0x1fa)](Date[_0xc53673(0x259)](),0x7530);}['getCallOptions'](){const _0x81ae4d=a85_0x7b230f;return{'deadline':this[_0x81ae4d(0x27f)]()};}async['startBinSession'](){const _0x1696f8=a85_0x7b230f,_0x1f702d={'fZUaf':function(_0x17aa85,_0x522131){return _0x17aa85!==_0x522131;},'EsCpO':function(_0xe97c41,_0x49a0a2){return _0xe97c41(_0x49a0a2);},'HPOqw':'StartBinSession\x20successful','JHnLz':_0x1696f8(0x245),'lwLXR':'No\x20gRPC\x20client\x20not\x20initialized.','XFvEz':_0x1696f8(0x1fd),'Cpdbe':function(_0x3dc06f,_0x5dcaa6){return _0x3dc06f instanceof _0x5dcaa6;},'dnxIK':_0x1696f8(0x212),'CbXSi':function(_0x3ff49a,_0x256ca7){return _0x3ff49a||_0x256ca7;},'rDsDG':function(_0x58be5e,_0x1ee4b0){return _0x58be5e||_0x1ee4b0;}};PerformanceTester[_0x1696f8(0x23a)](PerformanceEvents[_0x1696f8(0x25e)]),this[_0x1696f8(0x264)]['info'](_0x1f702d['JHnLz']);try{!this['client']&&this['logger']['info'](_0x1f702d['lwLXR']);const _0x53e3a4=CLIUtils[_0x1696f8(0x238)](),_0x54db59=CLIUtils[_0x1696f8(0x1b3)](),_0x151d00=CLIUtils['getTestFrameworkDetail'](),_0x2aea83=_0x54db59[_0x1696f8(0x21b)],_0x1cd02e=_0x54db59['version'],_0x22e572=_0x151d00[_0x1696f8(0x21b)],_0x3e0423=_0x151d00['version']?_0x151d00[_0x1696f8(0x221)][_0x22e572]:'',_0x200fc2=new messages[(_0x1696f8(0x1f3))]();_0x200fc2[_0x1696f8(0x1a6)](this[_0x1696f8(0x1c2)]),_0x200fc2[_0x1696f8(0x17a)](CLIUtils[_0x1696f8(0x1ab)]()),_0x200fc2[_0x1696f8(0x188)](_0x53e3a4),_0x200fc2[_0x1696f8(0x220)](process[_0x1696f8(0x273)]());const _0x193efe=_0x200fc2[_0x1696f8(0x256)]();Object[_0x1696f8(0x176)](process[_0x1696f8(0x1cf)])[_0x1696f8(0x287)](([_0x470e23,_0x174479])=>{const _0xf64f2=_0x1696f8;_0x1f702d[_0xf64f2(0x268)](_0x174479,undefined)&&_0x1f702d[_0xf64f2(0x268)](_0x174479,null)&&_0x193efe[_0xf64f2(0x172)](_0x470e23,_0x174479);});const _0x59c66a=_0x1f702d[_0x1696f8(0x19c)](require,_0x1f702d[_0x1696f8(0x1a0)]),_0x4f300f=_0x59c66a[_0x1696f8(0x22c)]()['getBrowserstackCliConfig'](),_0x3d7982=[];_0x4f300f&&_0x1f702d[_0x1696f8(0x1bb)](_0x4f300f,Map)&&_0x4f300f[_0x1696f8(0x287)]((_0x466bd7,_0x7f7d0c)=>{_0x3d7982['push'](_0x7f7d0c+'='+_0x466bd7);});const _0x3f24c1=process[_0x1696f8(0x241)][_0x1696f8(0x1be)](0x2);_0x200fc2[_0x1696f8(0x1cb)]([..._0x3f24c1,..._0x3d7982]),_0x200fc2[_0x1696f8(0x2a0)](_0x59c66a['getInstance']()[_0x1696f8(0x254)]()),this[_0x1696f8(0x264)][_0x1696f8(0x20c)](_0x1696f8(0x1d5)+JSON[_0x1696f8(0x185)](_0x3f24c1)+_0x1696f8(0x1de)+(_0x4f300f?JSON['stringify']([..._0x4f300f]):_0x1f702d[_0x1696f8(0x18d)])),_0x200fc2['setLanguage'](CLIUtils[_0x1696f8(0x1ab)]()),_0x200fc2['setTestFramework'](_0x22e572);const _0x4465f1=_0x200fc2[_0x1696f8(0x1aa)]();return _0x4465f1['set'](_0x2aea83,_0x1f702d[_0x1696f8(0x1e5)](_0x1cd02e,'')),_0x4465f1[_0x1696f8(0x172)](_0x22e572,_0x1f702d[_0x1696f8(0x29f)](_0x3e0423,'')),_0x200fc2[_0x1696f8(0x1df)](_0x2aea83,_0x1cd02e),_0x200fc2['addFrameworks'](_0x22e572,_0x3e0423),_0x200fc2[_0x1696f8(0x205)]([_0x22e572,_0x2aea83]),new Promise((_0x206d6d,_0x5da054)=>{const _0x494a79=_0x1696f8,_0x1507db={'pxzeu':function(_0x20930c,_0x1cfc7f){const _0x5df136=a85_0x1e88;return _0x1f702d[_0x5df136(0x19c)](_0x20930c,_0x1cfc7f);},'CGCxg':_0x1f702d['HPOqw']};this[_0x494a79(0x281)][_0x494a79(0x231)](_0x200fc2,this[_0x494a79(0x1c1)](),(_0x4ebfef,_0x3732f0)=>{const _0x24203a=_0x494a79;if(_0x4ebfef){this['logger'][_0x24203a(0x244)](_0x24203a(0x1d8)+_0x4ebfef[_0x24203a(0x18a)]),_0x1507db[_0x24203a(0x25d)](_0x5da054,_0x4ebfef),PerformanceTester[_0x24203a(0x283)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x24203a(0x29d)](_0x4ebfef));return;}this[_0x24203a(0x264)]['info'](_0x1507db['CGCxg']),PerformanceTester[_0x24203a(0x283)](PerformanceEvents['SDK_START_BIN_SESSION']),_0x1507db[_0x24203a(0x25d)](_0x206d6d,_0x3732f0);});});}catch(_0xc7df76){this['logger'][_0x1696f8(0x244)](_0x1696f8(0x1d2)+util[_0x1696f8(0x29d)](_0xc7df76)),PerformanceTester[_0x1696f8(0x283)](PerformanceEvents[_0x1696f8(0x25e)],![],util['format'](_0xc7df76));throw _0xc7df76;}}async[a85_0x7b230f(0x296)](){const _0x5487ad=a85_0x7b230f,_0x2b553e={'zfZxp':function(_0x43558a,_0xb48341){return _0x43558a(_0xb48341);},'XdpYw':'ConnectBinSession\x20successful','hljSX':'Connecting\x20bin\x20session','XDYrJ':_0x5487ad(0x242),'mUcoL':_0x5487ad(0x1ce),'nniof':_0x5487ad(0x21d),'ykiIr':_0x5487ad(0x22a)};PerformanceTester['start'](PerformanceEvents[_0x5487ad(0x25c)]),this['logger'][_0x5487ad(0x20c)](_0x2b553e[_0x5487ad(0x258)]);try{!this[_0x5487ad(0x281)]&&this[_0x5487ad(0x264)]['info'](_0x2b553e['XDYrJ']);const _0x50cb51=new messages[(_0x5487ad(0x24d))]();_0x50cb51[_0x5487ad(0x1a6)](this[_0x5487ad(0x1c2)]);const _0x4ec94b=await new Promise((_0x3c2b76,_0x4263c1)=>{const _0x4d1ca3=_0x5487ad,_0x5a32fd={'codWO':function(_0x230ba3,_0x3ce4eb){const _0x53c7ff=a85_0x1e88;return _0x2b553e[_0x53c7ff(0x1a8)](_0x230ba3,_0x3ce4eb);},'SdnbM':_0x2b553e[_0x4d1ca3(0x1e9)]};this['client'][_0x4d1ca3(0x296)](_0x50cb51,this[_0x4d1ca3(0x1c1)](),(_0x2d3b75,_0x242a8f)=>{const _0x36fff6=_0x4d1ca3;if(_0x2d3b75){this[_0x36fff6(0x264)][_0x36fff6(0x244)](_0x36fff6(0x1e2)+_0x2d3b75[_0x36fff6(0x18a)]),_0x5a32fd[_0x36fff6(0x289)](_0x4263c1,_0x2d3b75),PerformanceTester[_0x36fff6(0x283)](PerformanceEvents[_0x36fff6(0x25c)],![],util[_0x36fff6(0x29d)](_0x2d3b75));return;}this[_0x36fff6(0x264)][_0x36fff6(0x20c)](_0x5a32fd[_0x36fff6(0x1a2)]),PerformanceTester[_0x36fff6(0x283)](PerformanceEvents[_0x36fff6(0x25c)]),_0x5a32fd[_0x36fff6(0x289)](_0x3c2b76,_0x242a8f);});}),_0x178798=util['format'](_0x4ec94b)['replace'](/"userName":"[^"]*"/g,_0x2b553e[_0x5487ad(0x21e)])[_0x5487ad(0x1bd)](/"accessKey":"[^"]*"/g,_0x2b553e['nniof'])[_0x5487ad(0x1bd)](/"key":"[^"]*"/g,_0x2b553e[_0x5487ad(0x1af)]);return this[_0x5487ad(0x264)][_0x5487ad(0x2a2)]('connect-bin-session\x20response:\x20'+_0x178798),_0x4ec94b;}catch(_0x4491ba){PerformanceTester[_0x5487ad(0x283)](PerformanceEvents[_0x5487ad(0x25c)],![],util[_0x5487ad(0x29d)](_0x4491ba)),this[_0x5487ad(0x264)]['error'](_0x5487ad(0x240)+util['format'](_0x4491ba));throw _0x4491ba;}}async[a85_0x7b230f(0x1d4)](_0x60cad8={},_0x4b122e=null){const _0x307f51=a85_0x7b230f,_0x572fa1={'glUcv':function(_0xa0a78e,_0xc7e9dd){return _0xa0a78e(_0xc7e9dd);},'IkDQb':_0x307f51(0x170),'xtTJC':_0x307f51(0x272),'WwoXj':'Missing\x20binSessionId','poSfr':'No\x20gRPC\x20client\x20not\x20initialized.','yeAWh':'user_killed','gBXMD':function(_0x2283bc,_0x2b59b8){return _0x2283bc===_0x2b59b8;},'vrffE':'function','KdWQD':_0x307f51(0x20c),'trxeX':_0x307f51(0x24a),'ZdqtC':function(_0x4a1331,_0x1bf4da){return _0x4a1331===_0x1bf4da;},'iOrCT':'warning','Aewnj':_0x307f51(0x244),'KQRfK':function(_0x9fcfd7,_0x36e434){return _0x9fcfd7+_0x36e434;}};PerformanceTester[_0x307f51(0x23a)](PerformanceEvents[_0x307f51(0x215)]),this[_0x307f51(0x264)]['info'](_0x572fa1[_0x307f51(0x191)]);try{if(!this['binSessionId'])throw new Error(_0x572fa1[_0x307f51(0x1b7)]);!this['client']&&this[_0x307f51(0x264)][_0x307f51(0x20c)](_0x572fa1[_0x307f51(0x19d)]);const _0xb3d2d5=new messages[(_0x307f51(0x1fe))]();this[_0x307f51(0x264)][_0x307f51(0x2a2)](_0x307f51(0x257)+JSON[_0x307f51(0x185)](_0x4b122e)),_0xb3d2d5[_0x307f51(0x1a6)](this[_0x307f51(0x1c2)]),_0xb3d2d5['setCustomMetadata'](_0x60cad8),_0xb3d2d5['setExitSignal'](_0x4b122e?_0x4b122e:null),_0xb3d2d5[_0x307f51(0x1bf)](_0x4b122e?_0x572fa1['yeAWh']:null),_0xb3d2d5[_0x307f51(0x216)](_0x4b122e?0x1:0x0);const _0x526e43=await new Promise((_0x43f790,_0x3788a0)=>{const _0x2ef0b5=_0x307f51;this[_0x2ef0b5(0x281)][_0x2ef0b5(0x1d4)](_0xb3d2d5,this[_0x2ef0b5(0x1c1)](),(_0x47a754,_0x2fb418)=>{const _0x4dcaa7=_0x2ef0b5;if(_0x47a754){this[_0x4dcaa7(0x264)][_0x4dcaa7(0x244)](_0x4dcaa7(0x213)+_0x47a754['message']),_0x572fa1[_0x4dcaa7(0x28e)](_0x3788a0,_0x47a754),PerformanceTester[_0x4dcaa7(0x283)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0x4dcaa7(0x29d)](_0x47a754));return;}this['logger'][_0x4dcaa7(0x20c)](_0x572fa1[_0x4dcaa7(0x29b)]),PerformanceTester[_0x4dcaa7(0x283)](PerformanceEvents['SDK_CLI_ON_STOP']),_0x572fa1['glUcv'](_0x43f790,_0x2fb418);});});this[_0x307f51(0x264)][_0x307f51(0x2a2)](_0x307f51(0x265)+util[_0x307f51(0x29d)](_0x526e43));try{const _0x1b92d6=_0x572fa1[_0x307f51(0x230)](typeof _0x526e43[_0x307f51(0x277)],_0x572fa1[_0x307f51(0x23b)])?_0x526e43[_0x307f51(0x277)]():[];for(const _0x35c227 of _0x1b92d6){const _0x187d11=_0x35c227&&_0x572fa1[_0x307f51(0x230)](typeof _0x35c227['getBody'],_0x572fa1['vrffE'])?_0x35c227[_0x307f51(0x1b8)]():'';if(!_0x187d11)continue;const _0x2be5a4=(_0x35c227[_0x307f51(0x1c4)]&&_0x35c227['getSeverity']()||_0x572fa1['KdWQD'])['toLowerCase'](),_0x1bb352=_0x572fa1[_0x307f51(0x230)](_0x2be5a4,_0x572fa1[_0x307f51(0x1d1)])||_0x572fa1[_0x307f51(0x21a)](_0x2be5a4,_0x572fa1[_0x307f51(0x187)])||_0x572fa1['ZdqtC'](_0x2be5a4,_0x572fa1['Aewnj']),_0x12f9d2=_0x1bb352?process[_0x307f51(0x19e)]:process[_0x307f51(0x1a1)];_0x12f9d2['write'](_0x572fa1[_0x307f51(0x173)](_0x187d11,'\x0a'));const _0x31d9b6=_0x572fa1[_0x307f51(0x21a)](_0x2be5a4,_0x572fa1[_0x307f51(0x263)])?_0x572fa1[_0x307f51(0x263)]:_0x1bb352?_0x572fa1['trxeX']:_0x572fa1[_0x307f51(0x1ef)];fileLogger[_0x31d9b6](_0x187d11);}}catch(_0x1c76c1){this[_0x307f51(0x264)]['debug'](_0x307f51(0x1fb)+(_0x1c76c1[_0x307f51(0x278)]||_0x1c76c1));}return _0x526e43;}catch(_0x16835b){PerformanceTester[_0x307f51(0x283)](PerformanceEvents[_0x307f51(0x215)],![],util['format'](_0x16835b)),this[_0x307f51(0x264)]['error'](_0x307f51(0x271)+util['format'](_0x16835b));}}async[a85_0x7b230f(0x266)](_0x5af8b7){const _0x1146a9=a85_0x7b230f,_0x2e38b1={'TkEtg':function(_0x2b216b,_0x32554a){return _0x2b216b(_0x32554a);},'mVnTa':'PlaywrightConfig\x20request\x20successful','eVErO':'Getting\x20Playwright\x20config','HxfSY':_0x1146a9(0x242)};PerformanceTester['start'](PerformanceEvents[_0x1146a9(0x269)]),this['logger']['info'](_0x2e38b1[_0x1146a9(0x20d)]);try{!this[_0x1146a9(0x281)]&&this['logger'][_0x1146a9(0x20c)](_0x2e38b1[_0x1146a9(0x279)]);const _0x6fc4e=new messages[(_0x1146a9(0x237))]();return _0x6fc4e['setBinSessionId'](this[_0x1146a9(0x1c2)]),_0x6fc4e[_0x1146a9(0x194)](JSON[_0x1146a9(0x185)](_0x5af8b7)),new Promise((_0x4b00bf,_0x3c59a7)=>{const _0x25f5fb=_0x1146a9;this[_0x25f5fb(0x281)][_0x25f5fb(0x17c)](_0x6fc4e,this[_0x25f5fb(0x1c1)](),(_0x267d04,_0x5d5a2d)=>{const _0x288b92=_0x25f5fb;if(_0x267d04){this['logger'][_0x288b92(0x244)](_0x288b92(0x201)+_0x267d04[_0x288b92(0x18a)]),_0x2e38b1[_0x288b92(0x26e)](_0x3c59a7,_0x267d04),PerformanceTester['end'](PerformanceEvents[_0x288b92(0x269)],![],util[_0x288b92(0x29d)](_0x267d04));return;}this[_0x288b92(0x264)][_0x288b92(0x20c)](_0x2e38b1[_0x288b92(0x1f0)]),PerformanceTester[_0x288b92(0x283)](PerformanceEvents[_0x288b92(0x269)]),_0x2e38b1[_0x288b92(0x26e)](_0x4b00bf,_0x5d5a2d);});});}catch(_0xf10b77){PerformanceTester['end'](PerformanceEvents[_0x1146a9(0x269)],![],util['format'](_0xf10b77)),this[_0x1146a9(0x264)]['error'](_0x1146a9(0x267)+util[_0x1146a9(0x29d)](_0xf10b77));throw _0xf10b77;}}async[a85_0x7b230f(0x184)](_0x24765a){const _0x5bdaa1=a85_0x7b230f,_0x488567={'bEUHy':function(_0x19942f,_0x1b4d25){return _0x19942f(_0x1b4d25);},'dUObr':_0x5bdaa1(0x280),'MDcSj':function(_0xa7442d,_0x18e911){return _0xa7442d||_0x18e911;},'ZfROK':_0x5bdaa1(0x1f4),'YtiRn':_0x5bdaa1(0x1c5)},_0x582768=_0x24765a[_0x5bdaa1(0x18e)]?.[_0x5bdaa1(0x17b)]||_0x24765a[_0x5bdaa1(0x18e)]?.['id'];this[_0x5bdaa1(0x264)][_0x5bdaa1(0x20c)]('[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier='+_0x488567['MDcSj'](_0x582768,_0x488567[_0x5bdaa1(0x1e3)]));try{const _0xe434c4=Buffer[_0x5bdaa1(0x1c7)](JSON[_0x5bdaa1(0x185)](_0x24765a[_0x5bdaa1(0x292)]),_0x488567['YtiRn']),_0x1cca7d=new messages[(_0x5bdaa1(0x1ae))](),_0x4cec97=CLIUtils[_0x5bdaa1(0x1b3)](),_0x56bcdc=_0x4cec97[_0x5bdaa1(0x21b)],_0x3c2840=_0x4cec97[_0x5bdaa1(0x221)];_0x1cca7d[_0x5bdaa1(0x1a6)](this[_0x5bdaa1(0x1c2)]),_0x1cca7d[_0x5bdaa1(0x234)](0x0),_0x1cca7d[_0x5bdaa1(0x219)](_0x56bcdc),_0x1cca7d[_0x5bdaa1(0x28f)](_0x3c2840),_0x1cca7d[_0x5bdaa1(0x25a)](_0x24765a[_0x5bdaa1(0x26f)]),_0x1cca7d[_0x5bdaa1(0x25f)](_0xe434c4);if(_0x24765a['testInfo']?.[_0x5bdaa1(0x17b)]||_0x24765a[_0x5bdaa1(0x18e)]?.['id']){const _0x1ceb64=_0x24765a[_0x5bdaa1(0x18e)][_0x5bdaa1(0x17b)]||_0x24765a['testInfo']['id'];_0x1cca7d[_0x5bdaa1(0x262)](_0x1ceb64),this[_0x5bdaa1(0x264)][_0x5bdaa1(0x2a2)](_0x5bdaa1(0x233)+_0x1ceb64+'\x20for\x20tag\x20validation');}return new Promise((_0x4b5758,_0x163087)=>{const _0x5ed6a0=_0x5bdaa1,_0x6ab97e={'jFEQT':function(_0x1b71ae,_0x476860){const _0x2539fe=a85_0x1e88;return _0x488567[_0x2539fe(0x1c8)](_0x1b71ae,_0x476860);},'nIRUU':_0x488567[_0x5ed6a0(0x20a)]};this['client']['accessibilityConfig'](_0x1cca7d,this[_0x5ed6a0(0x1c1)](),(_0x517125,_0x32be09)=>{const _0x534382=_0x5ed6a0;if(_0x517125){this[_0x534382(0x264)][_0x534382(0x244)]('AccessibilityConfig\x20error:\x20'+_0x517125[_0x534382(0x18a)]),_0x6ab97e[_0x534382(0x22f)](_0x163087,_0x517125);return;}this['logger'][_0x534382(0x20c)](_0x6ab97e[_0x534382(0x20b)]),_0x6ab97e[_0x534382(0x22f)](_0x4b5758,_0x32be09);});});}catch(_0x245df1){this['logger'][_0x5bdaa1(0x244)](_0x5bdaa1(0x1d9)+util['format'](_0x245df1));}}async['testOrchestration'](_0x32e838,_0x2a361f=null,_0x46ae72=null){const _0x460a73=a85_0x7b230f,_0x268e13={'AHXEf':function(_0x3d8664,_0x3227cb){return _0x3d8664(_0x3227cb);},'DegiK':function(_0x25a75c,_0x2bf64b){return _0x25a75c(_0x2bf64b);}};try{const _0x47416d=new messages[(_0x460a73(0x294))]();return _0x47416d['setBinSessionId'](this[_0x460a73(0x1c2)]),_0x47416d[_0x460a73(0x1ff)](_0x32e838||[]),_0x2a361f&&_0x47416d[_0x460a73(0x276)](_0x2a361f),_0x46ae72&&_0x47416d[_0x460a73(0x23f)](_0x46ae72),new Promise((_0x263302,_0xe84ac9)=>{const _0x8fc1b1=_0x460a73,_0x242e3b={'VZLqV':function(_0x26e7c7,_0x2aae13){const _0x397130=a85_0x1e88;return _0x268e13[_0x397130(0x24c)](_0x26e7c7,_0x2aae13);},'QGsyE':function(_0x8e40f2,_0x46645c){const _0x17e53c=a85_0x1e88;return _0x268e13[_0x17e53c(0x23d)](_0x8e40f2,_0x46645c);}};this[_0x8fc1b1(0x281)][_0x8fc1b1(0x1b2)](_0x47416d,(_0x5543f3,_0x498cb9)=>{const _0x2b2ddd=_0x8fc1b1;if(_0x5543f3){this[_0x2b2ddd(0x264)][_0x2b2ddd(0x244)](_0x2b2ddd(0x1c9)+_0x5543f3[_0x2b2ddd(0x18a)]),_0x242e3b['VZLqV'](_0xe84ac9,_0x5543f3);return;}this['logger'][_0x2b2ddd(0x2a2)](_0x2b2ddd(0x1da)+util[_0x2b2ddd(0x29d)](_0x498cb9));if(_0x498cb9[_0x2b2ddd(0x18c)]()){const _0x2b1592=_0x498cb9[_0x2b2ddd(0x250)]();_0x242e3b[_0x2b2ddd(0x282)](_0x263302,_0x2b1592);}else _0x242e3b[_0x2b2ddd(0x1b6)](_0x263302,null);});});}catch(_0x9a93d4){return this[_0x460a73(0x264)][_0x460a73(0x244)](_0x460a73(0x206)+util[_0x460a73(0x29d)](_0x9a93d4)),null;}}async[a85_0x7b230f(0x236)](_0x4f988e){const _0x4e18e1=a85_0x7b230f,_0x52419c={'vDjtF':function(_0x291c01,_0x3d684f){return _0x291c01(_0x3d684f);},'sOtRd':'TestSessionEvent\x20request\x20successful','BbWMx':_0x4e18e1(0x17f),'UwBGr':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x4e18e1(0x264)][_0x4e18e1(0x20c)](_0x52419c[_0x4e18e1(0x1d3)]);try{!this[_0x4e18e1(0x281)]&&this[_0x4e18e1(0x264)][_0x4e18e1(0x20c)](_0x52419c[_0x4e18e1(0x1e0)]);const {platformIndex:_0x401c7b,testFrameworkName:_0x4e4c19,testFrameworkVersion:_0x4f93b5,testFrameworkState:_0x5b78de,testHookState:_0x4d91c7,testUuid:_0x226309,automationSession:_0x574ddb,capabilities:_0x16416f,executionContext:_0x471c91,test_identifier:_0x453c38}=_0x4f988e,_0x7d86fa=new messages[(_0x4e18e1(0x1b4))]();_0x7d86fa['setBinSessionId'](this[_0x4e18e1(0x1c2)]),_0x7d86fa['setPlatformIndex'](_0x401c7b),_0x7d86fa[_0x4e18e1(0x24f)](_0x4e4c19),_0x7d86fa['setTestFrameworkVersion'](_0x4f93b5),_0x7d86fa[_0x4e18e1(0x208)](_0x5b78de),_0x7d86fa[_0x4e18e1(0x260)](_0x4d91c7),_0x7d86fa[_0x4e18e1(0x1f8)](_0x226309);const _0x4c8ed0=new messages[(_0x4e18e1(0x1b4))][(_0x4e18e1(0x1cd))]();_0x4c8ed0['setProvider'](_0x574ddb[_0x4e18e1(0x21f)]),_0x4c8ed0['setFrameworkName'](_0x574ddb['frameworkName']),_0x4c8ed0[_0x4e18e1(0x28f)](_0x574ddb[_0x4e18e1(0x211)]),_0x4c8ed0[_0x4e18e1(0x182)](_0x574ddb[_0x4e18e1(0x218)]),_0x4c8ed0['setProduct'](_0x574ddb[_0x4e18e1(0x295)]),_0x4c8ed0['setRef'](_0x574ddb[_0x4e18e1(0x27b)]),_0x4c8ed0[_0x4e18e1(0x25a)](_0x574ddb[_0x4e18e1(0x26f)]),_0x7d86fa['addAutomationSessions'](_0x4c8ed0),_0x7d86fa[_0x4e18e1(0x25f)](_0x16416f);const _0x3330f6=new messages[(_0x4e18e1(0x22d))]();return _0x3330f6[_0x4e18e1(0x1e4)](_0x471c91[_0x4e18e1(0x29e)]),_0x3330f6[_0x4e18e1(0x1bc)](_0x471c91['threadId']),_0x3330f6['setHash'](_0x471c91[_0x4e18e1(0x1f2)]),_0x7d86fa[_0x4e18e1(0x207)](_0x3330f6),_0x453c38&&_0x7d86fa[_0x4e18e1(0x262)](_0x453c38),new Promise((_0xaf074a,_0x445f01)=>{const _0x9f35be=_0x4e18e1,_0x4a1041={'IrpzP':function(_0xd577c7,_0x27b688){const _0x1cb83a=a85_0x1e88;return _0x52419c[_0x1cb83a(0x1ee)](_0xd577c7,_0x27b688);},'FyLjz':_0x52419c[_0x9f35be(0x28d)]};this[_0x9f35be(0x281)][_0x9f35be(0x236)](_0x7d86fa,this['getCallOptions'](),(_0x335d2f,_0x5de607)=>{const _0x3f1dd4=_0x9f35be;if(_0x335d2f){this[_0x3f1dd4(0x264)]['error']('TestSessionEvent\x20error:\x20'+_0x335d2f['message']),_0x4a1041[_0x3f1dd4(0x1b1)](_0x445f01,_0x335d2f);return;}this['logger']['info'](_0x4a1041['FyLjz']),_0x4a1041[_0x3f1dd4(0x1b1)](_0xaf074a,_0x5de607);});});}catch(_0x142efb){this[_0x4e18e1(0x264)][_0x4e18e1(0x244)](_0x4e18e1(0x288)+util[_0x4e18e1(0x29d)](_0x142efb));throw _0x142efb;}}async[a85_0x7b230f(0x1f6)](_0x48401f){const _0x105d44=a85_0x7b230f,_0x15a0ad={'ljdEI':function(_0x23b3cd,_0x381fac){return _0x23b3cd(_0x381fac);},'IpNUN':_0x105d44(0x1ed),'xPRVd':_0x105d44(0x22e),'CizUr':_0x105d44(0x242)};this[_0x105d44(0x264)][_0x105d44(0x20c)](_0x15a0ad[_0x105d44(0x247)]);try{!this[_0x105d44(0x281)]&&this[_0x105d44(0x264)][_0x105d44(0x20c)](_0x15a0ad[_0x105d44(0x29a)]);const {platformIndex:_0x23f6b4,testFrameworkName:_0x4d0c4a,testFrameworkVersion:_0x5046ed,testFrameworkState:_0x87a5d2,hookState:_0x3242cd,startedAt:_0x4d1606,endedAt:_0x49e9a4,uuid:_0x4ade82,eventJson:_0x38ca29,executionContext:_0x31372f,test_identifier:_0x2c22d8}=_0x48401f,_0x120fdf=new messages['TestFrameworkEventRequest']();_0x120fdf['setBinSessionId'](this[_0x105d44(0x1c2)]),_0x120fdf['setPlatformIndex'](_0x23f6b4),_0x120fdf['setTestFrameworkName'](_0x4d0c4a),_0x120fdf['setTestFrameworkVersion'](_0x5046ed),_0x120fdf['setTestFrameworkState'](_0x87a5d2),_0x120fdf[_0x105d44(0x260)](_0x3242cd),_0x120fdf[_0x105d44(0x17d)](_0x4d1606),_0x120fdf[_0x105d44(0x249)](_0x49e9a4),_0x120fdf[_0x105d44(0x19b)](_0x4ade82),_0x120fdf[_0x105d44(0x195)](_0x38ca29);const _0x1a6671=new messages[(_0x105d44(0x22d))]();return _0x1a6671[_0x105d44(0x1e4)](_0x31372f[_0x105d44(0x29e)]),_0x1a6671[_0x105d44(0x1bc)](_0x31372f['threadId']),_0x1a6671['setHash'](_0x31372f[_0x105d44(0x1f2)]),_0x120fdf[_0x105d44(0x207)](_0x1a6671),_0x2c22d8&&_0x120fdf[_0x105d44(0x262)](_0x2c22d8),new Promise((_0x963b1,_0x380da8)=>{const _0x37b9c2=_0x105d44;this[_0x37b9c2(0x281)][_0x37b9c2(0x1f6)](_0x120fdf,this['getCallOptions'](),(_0x584179,_0x1b163e)=>{const _0x5b97b3=_0x37b9c2;if(_0x584179){this[_0x5b97b3(0x264)]['error'](_0x5b97b3(0x25b)+_0x584179['message']),_0x15a0ad[_0x5b97b3(0x291)](_0x380da8,_0x584179);return;}this['logger'][_0x5b97b3(0x20c)](_0x15a0ad[_0x5b97b3(0x1ac)]),_0x15a0ad['ljdEI'](_0x963b1,_0x1b163e);});});}catch(_0x1c65ae){this['logger'][_0x105d44(0x244)](_0x105d44(0x1a4)+util['format'](_0x1c65ae));throw _0x1c65ae;}}async[a85_0x7b230f(0x1e8)](_0x42c656){const _0x4efae9=a85_0x7b230f,_0x14de61={'KqUsn':function(_0x501b9e,_0x508912){return _0x501b9e(_0x508912);},'FYNOS':_0x4efae9(0x177),'XzmLs':_0x4efae9(0x27a),'jSqYK':'No\x20gRPC\x20client\x20not\x20initialized.'};this['logger'][_0x4efae9(0x20c)](_0x14de61['XzmLs']);try{!this[_0x4efae9(0x281)]&&this[_0x4efae9(0x264)][_0x4efae9(0x20c)](_0x14de61['jSqYK']);const {platformIndex:_0x3d13c7,ref:_0x18c7ea,userInputParams:_0x1e803f,hubUrl:_0x3fdd81}=_0x42c656,_0x33875e=new messages[(_0x4efae9(0x274))]();return _0x33875e[_0x4efae9(0x1a6)](this[_0x4efae9(0x1c2)]),_0x33875e['setPlatformIndex'](_0x3d13c7),_0x33875e['setRef'](_0x18c7ea),_0x33875e[_0x4efae9(0x255)](_0x1e803f),_0x33875e[_0x4efae9(0x25a)](_0x3fdd81),new Promise((_0x3cdba3,_0x1bc145)=>{const _0x2930b0=_0x4efae9;this[_0x2930b0(0x281)][_0x2930b0(0x1e8)](_0x33875e,this[_0x2930b0(0x1c1)](),(_0x3c9952,_0xec6849)=>{const _0x31af89=_0x2930b0;if(_0x3c9952){this[_0x31af89(0x264)][_0x31af89(0x244)](_0x31af89(0x224)+_0x3c9952[_0x31af89(0x18a)]),_0x14de61['KqUsn'](_0x1bc145,_0x3c9952);return;}this[_0x31af89(0x264)]['info'](_0x14de61['FYNOS']),_0x14de61[_0x31af89(0x217)](_0x3cdba3,_0xec6849);});});}catch(_0x4a4cd0){this[_0x4efae9(0x264)][_0x4efae9(0x244)](_0x4efae9(0x19f)+util[_0x4efae9(0x29d)](_0x4a4cd0));throw _0x4a4cd0;}}async['logCreatedEvent'](_0x5f36b3){const _0x2e7f1c=a85_0x7b230f,_0x330adc={'aGIyb':function(_0xbad26b,_0x21ef9a){return _0xbad26b===_0x21ef9a;},'KwWzl':_0x2e7f1c(0x226),'OrzsV':function(_0x409d66,_0x52be8d){return _0x409d66(_0x52be8d);},'zOqQV':_0x2e7f1c(0x251),'LxenJ':_0x2e7f1c(0x297),'cGjaK':_0x2e7f1c(0x242)};this[_0x2e7f1c(0x264)][_0x2e7f1c(0x20c)](_0x330adc[_0x2e7f1c(0x19a)]);try{!this[_0x2e7f1c(0x281)]&&this[_0x2e7f1c(0x264)][_0x2e7f1c(0x20c)](_0x330adc[_0x2e7f1c(0x24b)]);const {platformIndex:_0x190a9c,logs:_0xdceedc}=_0x5f36b3,_0x43d38f=new messages[(_0x2e7f1c(0x192))]();_0x43d38f['setBinSessionId'](this[_0x2e7f1c(0x1c2)]),_0x43d38f['setPlatformIndex'](_0x190a9c);const _0x20ee00=_0x5f36b3['testFrameworkName'],_0x30c1e6=_0x5f36b3[_0x2e7f1c(0x186)],_0x1e8e56=_0x5f36b3[_0x2e7f1c(0x204)];return _0xdceedc[_0x2e7f1c(0x287)](_0x2bee55=>{const _0x230b36=_0x2e7f1c,_0x5a8778=new messages['LogCreatedEventRequest']['LogEntry']();_0x5a8778[_0x230b36(0x24f)](_0x20ee00),_0x5a8778[_0x230b36(0x180)](_0x30c1e6),_0x5a8778['setTestFrameworkState'](_0x1e8e56),_0x5a8778[_0x230b36(0x17e)](_0x2bee55[_0x230b36(0x179)]);if(_0x330adc['aGIyb'](_0x2bee55[_0x230b36(0x1db)],PLAYWRIGHT_TRACE_LOGS))_0x5a8778['setUuid'](_0x2bee55[_0x230b36(0x26c)]),_0x5a8778['setMessage'](new TextEncoder()[_0x230b36(0x20f)](JSON['stringify'](_0x2bee55)));else{if(_0x2bee55[_0x230b36(0x28c)])_0x5a8778[_0x230b36(0x19b)](_0x330adc[_0x230b36(0x1e7)]);else{if(_0x2bee55[_0x230b36(0x1ad)])_0x5a8778['setUuid'](_0x2bee55[_0x230b36(0x1ad)]);else _0x2bee55[_0x230b36(0x1b0)]&&_0x5a8778[_0x230b36(0x19b)](_0x2bee55['uuid']);}_0x5a8778[_0x230b36(0x1b9)](new TextEncoder()['encode'](_0x2bee55[_0x230b36(0x18a)]));}_0x5a8778[_0x230b36(0x174)](_0x2bee55[_0x230b36(0x196)]),_0x5a8778[_0x230b36(0x1c6)](_0x2bee55['level']),_0x5a8778[_0x230b36(0x178)](_0x2bee55?.['fileName']||''),_0x5a8778[_0x230b36(0x246)](_0x2bee55?.['filePath']||''),_0x5a8778[_0x230b36(0x29c)](_0x2bee55?.['fileSize']||0x0),_0x5a8778[_0x230b36(0x1ea)](_0x2bee55?.[_0x230b36(0x1db)]||''),_0x2bee55['test_identifier']&&_0x5a8778[_0x230b36(0x262)](_0x2bee55['test_identifier']),_0x2bee55[_0x230b36(0x1b5)]&&_0x5a8778[_0x230b36(0x243)](_0x2bee55[_0x230b36(0x1b5)]),_0x43d38f['addLogs'](_0x5a8778);}),new Promise((_0x43198f,_0x2e79a1)=>{const _0x4cf902=_0x2e7f1c,_0x3b6219={'Cqmus':function(_0x441aff,_0x111f3d){const _0x3b3c8a=a85_0x1e88;return _0x330adc[_0x3b3c8a(0x23c)](_0x441aff,_0x111f3d);},'cequg':_0x330adc[_0x4cf902(0x1d6)],'THxSd':function(_0x14a9cf,_0x388ed4){const _0x405824=_0x4cf902;return _0x330adc[_0x405824(0x23c)](_0x14a9cf,_0x388ed4);}};this[_0x4cf902(0x281)][_0x4cf902(0x299)](_0x43d38f,this[_0x4cf902(0x1c1)](),(_0x4cd210,_0x286400)=>{const _0x1c6e1f=_0x4cf902;if(_0x4cd210){this[_0x1c6e1f(0x264)]['error'](_0x1c6e1f(0x1eb)+_0x4cd210[_0x1c6e1f(0x18a)]),_0x3b6219['Cqmus'](_0x2e79a1,_0x4cd210);return;}this[_0x1c6e1f(0x264)]['info'](_0x3b6219[_0x1c6e1f(0x290)]),_0x3b6219['THxSd'](_0x43198f,_0x286400);});});}catch(_0x37975f){this[_0x2e7f1c(0x264)][_0x2e7f1c(0x244)](_0x2e7f1c(0x227)+util[_0x2e7f1c(0x29d)](_0x37975f));throw _0x37975f;}}async[a85_0x7b230f(0x1ec)](_0x190427,_0xf7b16e,_0x3fc76b,_0xd62497=null){const _0x338d54=a85_0x7b230f,_0x1a8d30={'LbBKs':function(_0x34d269,_0x5b7d2b){return _0x34d269(_0x5b7d2b);},'sJbzE':function(_0x4337cf,_0x2b721d){return _0x4337cf||_0x2b721d;},'GyqZb':_0x338d54(0x1f4),'QyEgd':_0x338d54(0x223)};this[_0x338d54(0x264)][_0x338d54(0x2a2)](_0x338d54(0x270)+_0x190427+_0x338d54(0x210)+_0xf7b16e+_0x338d54(0x1a9)+_0x3fc76b+_0x338d54(0x1ca)+_0x1a8d30['sJbzE'](_0xd62497,_0x1a8d30[_0x338d54(0x1ba)]));try{if(!this['client'])return this['logger']['debug'](_0x1a8d30[_0x338d54(0x229)]),null;const _0x3aadda=new messages[(_0x338d54(0x26d))]();return _0x3aadda[_0x338d54(0x1a6)](_0x190427),_0x3aadda[_0x338d54(0x190)](_0xf7b16e),_0x3aadda[_0x338d54(0x189)](_0x3fc76b),_0xd62497&&(_0x3aadda['setTestIdentifier'](_0xd62497),this[_0x338d54(0x264)][_0x338d54(0x2a2)]('fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier='+_0xd62497+_0x338d54(0x214)+_0xf7b16e+_0x338d54(0x1a9)+_0x3fc76b)),await new Promise(_0x160c25=>{const _0x3953cb=_0x338d54;this[_0x3953cb(0x281)]['fetchDriverExecuteParamsEvent'](_0x3aadda,this['getCallOptions'](),(_0x301d45,_0x4fa930)=>{const _0x59cb45=_0x3953cb;if(_0x301d45){this['logger'][_0x59cb45(0x2a2)](_0x59cb45(0x232)+_0x301d45),_0x1a8d30['LbBKs'](_0x160c25,null);return;}this[_0x59cb45(0x264)]['debug']('FetchDriverExecuteParamsEvent\x20successful\x20-\x20success='+(_0x4fa930[_0x59cb45(0x18c)]&&_0x4fa930[_0x59cb45(0x18c)]())),_0x1a8d30[_0x59cb45(0x28a)](_0x160c25,_0x4fa930);});});}catch(_0x676097){return this['logger'][_0x338d54(0x2a2)](_0x338d54(0x232)+_0x676097),null;}}async['reportClientTroubleshootingError'](_0x3b8a7d){const _0x5cf20b=a85_0x7b230f,_0x1cc36f={'IEDQr':function(_0x380e59,_0x46a00a){return _0x380e59(_0x46a00a);},'WviwZ':_0x5cf20b(0x27e),'TFkqU':'No\x20gRPC\x20client\x20initialized.'};this[_0x5cf20b(0x264)][_0x5cf20b(0x2a2)](_0x5cf20b(0x235)+_0x3b8a7d);try{if(!this[_0x5cf20b(0x281)])return this[_0x5cf20b(0x264)][_0x5cf20b(0x2a2)](_0x1cc36f[_0x5cf20b(0x198)]),null;const _0x1ffa58=new messages[(_0x5cf20b(0x1a5))]();_0x1ffa58['setBinSessionId'](this['binSessionId']),_0x1ffa58['setErrorKey'](_0x3b8a7d);const _0x1e87ec=await new Promise((_0x6155f1,_0x18208d)=>{const _0x52deea=_0x5cf20b,_0x2ef85a={'qTwEm':function(_0x5a3df7,_0x1c7130){const _0xbc59ad=a85_0x1e88;return _0x1cc36f[_0xbc59ad(0x1c3)](_0x5a3df7,_0x1c7130);},'GvdPN':_0x1cc36f[_0x52deea(0x225)],'sivbd':function(_0x54a274,_0x266328){const _0x4e26a9=_0x52deea;return _0x1cc36f[_0x4e26a9(0x1c3)](_0x54a274,_0x266328);}};this[_0x52deea(0x281)][_0x52deea(0x1d7)](_0x1ffa58,this[_0x52deea(0x1c1)](),(_0x41be36,_0x471707)=>{const _0x4fae58=_0x52deea;if(_0x41be36){this[_0x4fae58(0x264)]['debug']('Error\x20in\x20ReportClientTroubleshootingError:\x20'+_0x41be36),_0x2ef85a[_0x4fae58(0x171)](_0x18208d,_0x41be36);return;}this[_0x4fae58(0x264)][_0x4fae58(0x2a2)](_0x2ef85a[_0x4fae58(0x1a7)]),_0x2ef85a[_0x4fae58(0x21c)](_0x6155f1,_0x471707);});});return _0x1e87ec;}catch(_0x4057c6){return this[_0x5cf20b(0x264)][_0x5cf20b(0x2a2)](_0x5cf20b(0x1f1)+_0x4057c6),null;}}async[a85_0x7b230f(0x199)](){const _0x448351=a85_0x7b230f,_0x4c92e8={'NRsZe':function(_0x438b02,_0x2a00d1){return _0x438b02(_0x2a00d1);},'acpcl':_0x448351(0x1f5),'OBmRj':function(_0x269eb4,_0x360071){return _0x269eb4(_0x360071);},'hujgr':_0x448351(0x1dc),'MmZJD':'No\x20gRPC\x20client\x20initialized.'};this['logger']['debug'](_0x4c92e8['hujgr']);try{if(!this[_0x448351(0x281)])return this[_0x448351(0x264)][_0x448351(0x2a2)](_0x4c92e8['MmZJD']),null;const _0x3860fa=new messages[(_0x448351(0x203))]();_0x3860fa[_0x448351(0x1a6)](this[_0x448351(0x1c2)]);const _0x46d436=await new Promise((_0x5e10b1,_0x4b4e05)=>{const _0x158daa=_0x448351;this[_0x158daa(0x281)][_0x158daa(0x199)](_0x3860fa,this[_0x158daa(0x1c1)](),(_0x2e9fee,_0x43f8fa)=>{const _0x535982=_0x158daa;if(_0x2e9fee){this[_0x535982(0x264)][_0x535982(0x2a2)](_0x535982(0x1a3)+_0x2e9fee),_0x4c92e8[_0x535982(0x275)](_0x4b4e05,_0x2e9fee);return;}this[_0x535982(0x264)][_0x535982(0x2a2)](_0x4c92e8[_0x535982(0x183)]),_0x4c92e8[_0x535982(0x20e)](_0x5e10b1,_0x43f8fa);});});return _0x46d436;}catch(_0x25f737){return this[_0x448351(0x264)][_0x448351(0x2a2)](_0x448351(0x1a3)+_0x25f737),null;}}['getClient'](){const _0x569f7f=a85_0x7b230f;return this[_0x569f7f(0x281)];}['getChannel'](){const _0x4c1021=a85_0x7b230f;return this[_0x4c1021(0x298)];}}function a85_0x4d63(){const _0x1680f6=['BbWMx','stopBinSession','setCliArgs:\x20cliArgs=','zOqQV','reportClientTroubleshootingError','StartBinSession\x20error:\x20','Error\x20in\x20getAccessibilityConfig:\x20','test-orchestration-session=','attachment_type','Getting\x20AggregatedClientTroubleshootingErrors','../../helpers/performance/performance-tester.js',',\x20parsedConfig=','addFrameworks','UwBGr','6UikYot','ConnectBinSession\x20error:\x20','ZfROK','setProcessId','CbXSi','1451550nCJsxv','KwWzl','driverInit','XdpYw','setAttachmentType','LogCreatedEvent\x20error:\x20','fetchDriverExecuteParamsEvent','TestFrameworkEvent\x20request\x20successful','vDjtF','KdWQD','mVnTa','Error\x20in\x20ReportClientTroubleshootingError:\x20','hash','StartBinSessionRequest','not\x20provided','GetAggregatedClientTroubleshootingErrors\x20successful','testFrameworkEvent','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','setTestUuid','Connected\x20to\x20gRPC\x20server\x20at\x20','jVmaL','StopBinSession\x20entries\x20forwarding\x20failed:\x20','1453876GjfVof','./browserstackCLI.js','StopBinSessionRequest','setTestFilesList','\x20listenAddr:\x20','PlaywrightConfig\x20error:\x20','5WiCqjA','GetAggregatedClientTroubleshootingErrorsRequest','testFrameworkState','setFrameworksList','Error\x20in\x20testOrchestration:\x20','setExecutionContext','setTestFrameworkState','Channel','dUObr','nIRUU','info','eVErO','OBmRj','encode',',\x20product=','frameworkVersion','null','StopBinSession\x20error:\x20','\x20for\x20product=','SDK_CLI_ON_STOP','setExitCode','KqUsn','frameworkSessionId','setFrameworkName','ZdqtC','name','sivbd','\x22accessKey\x22:\x22[REDACTED]\x22','mUcoL','provider','setPathProject','version','SDKClient','No\x20gRPC\x20client\x20initialized.','DriverInit\x20error:\x20','WviwZ','pending-resolution-from-test-identifier','Error\x20in\x20LogCreatedEvent:\x20','../utils/constants','QyEgd','\x22key\x22:\x22[REDACTED]\x22','235492nwrnJr','getInstance','ExecutionContext','Sending\x20TestFrameworkEvent','jFEQT','gBXMD','startBinSession','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier=','setPlatformIndex','Reporting\x20ClientTroubleshootingError\x20','testSessionEvent','PlaywrightConfigRequest','getSdkVersion','tiRiS','start','vrffE','OrzsV','DegiK','241425udLJqT','setOrchestrationMetadata','Error\x20in\x20connectBinSession:\x20','argv','No\x20gRPC\x20client\x20not\x20initialized.','setDuration','error','startBinSession:\x20Calling\x20startBinSession','setFilePath','xPRVd','../../../generated/sdk_grpc_pb','setEndedAt','warn','cGjaK','AHXEf','ConnectBinSessionRequest','../../helpers/classLogger.js','setTestFrameworkName','getOrderedTestFilesList','LogCreatedEvent\x20request\x20successful','../../helpers/performance/constants','BROWSERSTACK_CLI_BIN_SESSION_ID','getBrowserstackConfigPath','setUserInputParams','getEnvVarsMap','Stopping\x20signal\x20','hljSX','now','setHubUrl','TestFrameworkEvent\x20error:\x20','SDK_CONNECT_BIN_SESSION','pxzeu','SDK_START_BIN_SESSION','setCapabilities','setTestHookState','fileLogger','setTestIdentifier','Aewnj','logger','stop-bin-session\x20response:\x20','getPlaywrightConfig','Error\x20in\x20getPlaywrightConfig:\x20','fZUaf','SDK_AUTOMATION_FRAMEWORK_INIT','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','path','test_run_uuid','FetchDriverExecuteParamsEventRequest','TkEtg','hubUrl','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','Error\x20in\x20stopBinSession:\x20','Stopping\x20bin\x20session','cwd','DriverInitRequest','NRsZe','setOrchestrationStrategy','getEntriesList','stack','HxfSY','Sending\x20DriverInit','ref','677628deLdjD','../../helpers/helper.js','ReportClientTroubleshootingError\x20successful','getDeadline','AccessibilityConfig\x20request\x20successful','client','VZLqV','end','winstonLogger','credentials','listenAddress','forEach','Error\x20in\x20TestSessionEvent:\x20','codWO','LbBKs','309826sukHSY','test_identifier','sOtRd','glUcv','setFrameworkVersion','cequg','ljdEI','launchcaps','connect','TestOrchestrationRequest','product','connectBinSession','Sending\x20LogCreatedEvent','channel','logCreatedEvent','CizUr','IkDQb','setFileSize','format','processId','rDsDG','setPathConfig','7zHCeKi','debug','\x20and\x20listen\x20address:\x20','../../../generated/sdk-messages_pb','./cliUtils.js','StopBinSession\x20successful','qTwEm','set','KQRfK','setKind','112048arkCIO','entries','DriverInit\x20request\x20successful','setFileName','timestamp','setSdkLanguage','testAnalyticsId','playwrightConfig','setStartedAt','setTimestamp','Sending\x20TestSessionEvent','setTestFrameworkVersion','createInsecure','setFrameworkSessionId','acpcl','getAccessibilityConfig','stringify','testFrameworkVersion','iOrCT','setSdkVersion','setScriptName','message','cZyGf','getSuccess','dnxIK','testInfo','GrpcClient','setProduct','xtTJC','LogCreatedEventRequest','../../helpers/logger.js','setConfig','setEventJson','kind','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','TFkqU','getAggregatedClientTroubleshootingErrors','LxenJ','setUuid','EsCpO','poSfr','stderr','Error\x20in\x20DriverInit:\x20','XFvEz','stdout','SdnbM','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','Error\x20in\x20TestFrameworkEvent:\x20','ReportClientTroubleshootingErrorRequest','setBinSessionId','GvdPN','zfZxp',',\x20scriptName=','getFrameworkVersionsMap','getSdkLanguage','IpNUN','hook_run_uuid','AccessibilityConfigRequest','ykiIr','uuid','IrpzP','testOrchestration','getAutomationFrameworkDetail','TestSessionEventRequest','duration','QGsyE','WwoXj','getBody','setMessage','GyqZb','Cpdbe','setThreadId','replace','slice','setExitReason','init','getCallOptions','binSessionId','IEDQr','getSeverity','utf-8','setLevel','from','bEUHy','TestOrchestration\x20error:\x20',',\x20testIdentifier=','setCliArgsList','150GQAXHj','AutomationSession','\x22userName\x22:\x22[REDACTED]\x22','env','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','trxeX','Error\x20in\x20startBinSession:\x20'];a85_0x4d63=function(){return _0x1680f6;};return a85_0x4d63();}module['exports']=GrpcClient;
@@ -1 +1 @@
1
- const a86_0x34190c=a86_0x57da;(function(_0x300a1f,_0x3d3023){const _0x38ec3c=a86_0x57da,_0x338773=_0x300a1f();while(!![]){try{const _0x5b6219=-parseInt(_0x38ec3c(0xd4))/0x1*(-parseInt(_0x38ec3c(0xd5))/0x2)+-parseInt(_0x38ec3c(0xd3))/0x3+-parseInt(_0x38ec3c(0xd7))/0x4+parseInt(_0x38ec3c(0xda))/0x5*(parseInt(_0x38ec3c(0xdb))/0x6)+-parseInt(_0x38ec3c(0xdc))/0x7+parseInt(_0x38ec3c(0xd8))/0x8+parseInt(_0x38ec3c(0xe9))/0x9;if(_0x5b6219===_0x3d3023)break;else _0x338773['push'](_0x338773['shift']());}catch(_0xabe001){_0x338773['push'](_0x338773['shift']());}}}(a86_0x1837,0x8cbee));const AutomationFrameworkState=require(a86_0x34190c(0xd6)),TrackedInstance=require(a86_0x34190c(0xe5)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x49f38e,_0x482327,_0x93596c,_0x37f03e){const _0x260155=a86_0x34190c,_0x5c881b={};_0x5c881b[_0x260155(0xd9)]=_0x260155(0xe7);const _0x2e805f=_0x5c881b,_0x489ede=_0x2e805f[_0x260155(0xd9)][_0x260155(0xe8)]('|');let _0x51f1f3=0x0;while(!![]){switch(_0x489ede[_0x51f1f3++]){case'0':this[_0x260155(0xe1)]=_0x482327;continue;case'1':this['createdAt']=now['toLocaleString']();continue;case'2':this[_0x260155(0xe6)]=_0x93596c;continue;case'3':super(_0x49f38e);continue;case'4':this[_0x260155(0xe4)]=_0x37f03e;continue;case'5':this['lastState']=AutomationFrameworkState['NONE'];continue;}break;}}[a86_0x34190c(0xe3)](){const _0x1d6b98=a86_0x34190c;return this[_0x1d6b98(0xe1)];}[a86_0x34190c(0xdd)](){const _0xcf164c=a86_0x34190c;return this[_0xcf164c(0xe6)];}[a86_0x34190c(0xdf)](){return this['state'];}[a86_0x34190c(0xe2)](_0x2af33b){const _0x51f57a=a86_0x34190c;this[_0x51f57a(0xe0)]=this[_0x51f57a(0xe4)],this['state']=_0x2af33b;}}function a86_0x57da(_0x312e6a,_0x31c8c4){const _0x1837af=a86_0x1837();return a86_0x57da=function(_0x57da30,_0xb75208){_0x57da30=_0x57da30-0xd3;let _0x1412f8=_0x1837af[_0x57da30];return _0x1412f8;},a86_0x57da(_0x312e6a,_0x31c8c4);}module[a86_0x34190c(0xde)]=AutomationFrameworkInstance;function a86_0x1837(){const _0x1f0511=['getState','lastState','frameworkName','setState','getFrameworkName','state','./trackedInstance','frameworkVersion','3|0|2|4|5|1','split','2837754zbHLCg','1210353GmvacT','145898aUyPMQ','8EJdzZX','../state/automationFrameworkState','3502000nKEwMR','4004384VmVyXA','ZxjHX','144335IbWmmL','126lyaSYd','1051456acdTFL','getFrameworkVersion','exports'];a86_0x1837=function(){return _0x1f0511;};return a86_0x1837();}
1
+ const a86_0x3ec133=a86_0x36e5;(function(_0x1a9ebe,_0x15f706){const _0x4ccd72=a86_0x36e5,_0x24397e=_0x1a9ebe();while(!![]){try{const _0x44c69f=-parseInt(_0x4ccd72(0x95))/0x1*(parseInt(_0x4ccd72(0x7e))/0x2)+-parseInt(_0x4ccd72(0x96))/0x3+parseInt(_0x4ccd72(0x93))/0x4*(parseInt(_0x4ccd72(0x8d))/0x5)+parseInt(_0x4ccd72(0x8c))/0x6*(-parseInt(_0x4ccd72(0x85))/0x7)+-parseInt(_0x4ccd72(0x87))/0x8*(-parseInt(_0x4ccd72(0x84))/0x9)+-parseInt(_0x4ccd72(0x94))/0xa+parseInt(_0x4ccd72(0x88))/0xb*(parseInt(_0x4ccd72(0x7f))/0xc);if(_0x44c69f===_0x15f706)break;else _0x24397e['push'](_0x24397e['shift']());}catch(_0x34fe1d){_0x24397e['push'](_0x24397e['shift']());}}}(a86_0x5f09,0x4f4ee));function a86_0x36e5(_0x35ad67,_0x5c0141){const _0x5f0923=a86_0x5f09();return a86_0x36e5=function(_0x36e530,_0x293d28){_0x36e530=_0x36e530-0x7c;let _0x36a9af=_0x5f0923[_0x36e530];return _0x36a9af;},a86_0x36e5(_0x35ad67,_0x5c0141);}const AutomationFrameworkState=require(a86_0x3ec133(0x7d)),TrackedInstance=require(a86_0x3ec133(0x81)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x45a26e,_0x3eec04,_0x2890b3,_0x313e36){const _0x209e98=a86_0x3ec133,_0x15eb53={};_0x15eb53[_0x209e98(0x90)]=_0x209e98(0x92);const _0x4dc3c7=_0x15eb53,_0x155994=_0x4dc3c7[_0x209e98(0x90)][_0x209e98(0x91)]('|');let _0x4526f3=0x0;while(!![]){switch(_0x155994[_0x4526f3++]){case'0':this[_0x209e98(0x8b)]=_0x2890b3;continue;case'1':this['frameworkName']=_0x3eec04;continue;case'2':this[_0x209e98(0x86)]=AutomationFrameworkState[_0x209e98(0x8e)];continue;case'3':this[_0x209e98(0x8a)]=_0x313e36;continue;case'4':this[_0x209e98(0x83)]=now['toLocaleString']();continue;case'5':super(_0x45a26e);continue;}break;}}[a86_0x3ec133(0x80)](){const _0x25768b=a86_0x3ec133;return this[_0x25768b(0x7c)];}[a86_0x3ec133(0x82)](){const _0x38ac03=a86_0x3ec133;return this[_0x38ac03(0x8b)];}[a86_0x3ec133(0x89)](){const _0x1bd1af=a86_0x3ec133;return this[_0x1bd1af(0x8a)];}['setState'](_0x56adef){const _0x4ff685=a86_0x3ec133;this[_0x4ff685(0x86)]=this['state'],this[_0x4ff685(0x8a)]=_0x56adef;}}module[a86_0x3ec133(0x8f)]=AutomationFrameworkInstance;function a86_0x5f09(){const _0xbb5f9f=['state','frameworkVersion','2487738qvJXdB','2746460SPrdLM','NONE','exports','dCepM','split','5|1|0|3|2|4','4wDqbHR','1174430DCgXfO','98981onLxbm','1583574CoiBoj','frameworkName','../state/automationFrameworkState','12RWeihW','24MqpLuY','getFrameworkName','./trackedInstance','getFrameworkVersion','createdAt','2043765bdherV','7rbBaMD','lastState','16eiAcjz','5363567ORzeoy','getState'];a86_0x5f09=function(){return _0xbb5f9f;};return a86_0x5f09();}
@@ -1 +1 @@
1
- function a87_0x67c2(){const _0x1cbe36=['../state/hookState','lastHookState','getAllPendingHookTestIds','getCreatedAt','EIoad','3elseYK','pendingHooks','currentHookState','setLastTestState','toLocaleString','testFrameworks','setLastHookState','NONE','lastTestState','getCurrentHookState','TrackedInstance','1180724uBMSTk','hasPendingHooks','addPendingHook','split','exports','removePendingHooks','../state/testFrameworkState','1920gNHoHA','4|0|3|2|7|6|1|5|8','./trackedContext','getCurrentTestState','set','11333483goQymp','2340VIeAAf','createdAt','./trackedInstance','9350744JTFFkq','25314vCmVJu','currentTestState','getLastHookState','has','../../../helpers/classLogger','setCurrentHookState','keys','3349134dUObqY','testFrameworksVersions','delete','setCurrentTestState','get','push','from','getLastTestState','getPendingHooks','5219212rEiiwq'];a87_0x67c2=function(){return _0x1cbe36;};return a87_0x67c2();}const a87_0x4194c9=a87_0x1ffc;(function(_0x25e308,_0x5a4f3a){const _0x45a9ad=a87_0x1ffc,_0x2e2438=_0x25e308();while(!![]){try{const _0x31f003=parseInt(_0x45a9ad(0xe6))/0x1+-parseInt(_0x45a9ad(0xf3))/0x2+parseInt(_0x45a9ad(0xdb))/0x3*(parseInt(_0x45a9ad(0xd5))/0x4)+-parseInt(_0x45a9ad(0xed))/0x5*(-parseInt(_0x45a9ad(0xf7))/0x6)+-parseInt(_0x45a9ad(0xf2))/0x7+-parseInt(_0x45a9ad(0xf6))/0x8+-parseInt(_0x45a9ad(0xfe))/0x9;if(_0x31f003===_0x5a4f3a)break;else _0x2e2438['push'](_0x2e2438['shift']());}catch(_0x306899){_0x2e2438['push'](_0x2e2438['shift']());}}}(a87_0x67c2,0xe691f));const {createClassLogger}=require(a87_0x4194c9(0xfb)),logger=createClassLogger(a87_0x4194c9(0xe5)),HookState=require(a87_0x4194c9(0xd6)),TestFrameworkState=require(a87_0x4194c9(0xec)),TrackedContext=require(a87_0x4194c9(0xef)),TrackedInstance=require(a87_0x4194c9(0xf5)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x46f779,_0x463894,_0x1fec5c,_0x2e347f,_0x5ca373){const _0x300318=a87_0x4194c9,_0xb6cfa7={};_0xb6cfa7[_0x300318(0xda)]=_0x300318(0xee);const _0x2c1758=_0xb6cfa7,_0x3bf641=_0x2c1758['EIoad'][_0x300318(0xe9)]('|');let _0x44b3c2=0x0;while(!![]){switch(_0x3bf641[_0x44b3c2++]){case'0':this[_0x300318(0xe0)]=_0x463894;continue;case'1':this[_0x300318(0xd7)]=HookState[_0x300318(0xe2)];continue;case'2':this[_0x300318(0xf8)]=_0x2e347f;continue;case'3':this[_0x300318(0xff)]=_0x1fec5c;continue;case'4':super(_0x46f779);continue;case'5':this['createdAt']=now[_0x300318(0xdf)]();continue;case'6':this[_0x300318(0xe3)]=TestFrameworkState[_0x300318(0xe2)];continue;case'7':this['currentHookState']=_0x5ca373;continue;case'8':this[_0x300318(0xdc)]=new Map();continue;}break;}}[a87_0x4194c9(0xf0)](){const _0x45226c=a87_0x4194c9;return this[_0x45226c(0xf8)];}[a87_0x4194c9(0xcf)](_0x9b0b5c){const _0x99b459=a87_0x4194c9;this[_0x99b459(0xde)](this['currentTestState']),this[_0x99b459(0xf8)]=_0x9b0b5c;}[a87_0x4194c9(0xe4)](){return this['currentHookState'];}[a87_0x4194c9(0xfc)](_0x2228fc){const _0x4a2c35=a87_0x4194c9;this['setLastHookState'](this[_0x4a2c35(0xdd)]),this[_0x4a2c35(0xdd)]=_0x2228fc;}[a87_0x4194c9(0xd3)](){const _0x2dab5c=a87_0x4194c9;return this[_0x2dab5c(0xe3)];}[a87_0x4194c9(0xde)](_0x4b6b2a){const _0x575b4a=a87_0x4194c9;this[_0x575b4a(0xe3)]=_0x4b6b2a;}[a87_0x4194c9(0xf9)](){const _0x1bb307=a87_0x4194c9;return this[_0x1bb307(0xd7)];}[a87_0x4194c9(0xe1)](_0x39ffa5){this['lastHookState']=_0x39ffa5;}[a87_0x4194c9(0xd9)](){const _0x3ef8c3=a87_0x4194c9;return this[_0x3ef8c3(0xf4)];}[a87_0x4194c9(0xe8)](_0xa6086d,_0x169bed){const _0x8340d8=a87_0x4194c9;!this[_0x8340d8(0xdc)][_0x8340d8(0xfa)](_0xa6086d)&&this[_0x8340d8(0xdc)][_0x8340d8(0xf1)](_0xa6086d,[]),this[_0x8340d8(0xdc)][_0x8340d8(0xd0)](_0xa6086d)[_0x8340d8(0xd1)](_0x169bed);}[a87_0x4194c9(0xd4)](_0x2314dc){const _0x497dce=a87_0x4194c9;return this['pendingHooks'][_0x497dce(0xd0)](_0x2314dc)||[];}[a87_0x4194c9(0xeb)](_0x31a91b){const _0x5cefc7=a87_0x4194c9;this[_0x5cefc7(0xdc)][_0x5cefc7(0xce)](_0x31a91b);}[a87_0x4194c9(0xe7)](_0x52d88e){const _0x569ce9=a87_0x4194c9;return this['pendingHooks'][_0x569ce9(0xfa)](_0x52d88e);}[a87_0x4194c9(0xd8)](){const _0x3afeb9=a87_0x4194c9;return Array[_0x3afeb9(0xd2)](this['pendingHooks'][_0x3afeb9(0xfd)]());}}function a87_0x1ffc(_0x404434,_0x482e9d){const _0x67c295=a87_0x67c2();return a87_0x1ffc=function(_0x1ffc65,_0x1f63bd){_0x1ffc65=_0x1ffc65-0xce;let _0x4d0a05=_0x67c295[_0x1ffc65];return _0x4d0a05;},a87_0x1ffc(_0x404434,_0x482e9d);}module[a87_0x4194c9(0xea)]=TestFrameworkInstance;
1
+ const a87_0xcb6c64=a87_0x44d6;(function(_0x234815,_0xf2aa47){const _0x3831a0=a87_0x44d6,_0x5cd654=_0x234815();while(!![]){try{const _0x128369=parseInt(_0x3831a0(0x136))/0x1+parseInt(_0x3831a0(0x151))/0x2+-parseInt(_0x3831a0(0x152))/0x3*(-parseInt(_0x3831a0(0x13e))/0x4)+parseInt(_0x3831a0(0x133))/0x5+-parseInt(_0x3831a0(0x142))/0x6*(-parseInt(_0x3831a0(0x140))/0x7)+parseInt(_0x3831a0(0x157))/0x8*(-parseInt(_0x3831a0(0x14c))/0x9)+-parseInt(_0x3831a0(0x137))/0xa;if(_0x128369===_0xf2aa47)break;else _0x5cd654['push'](_0x5cd654['shift']());}catch(_0x43bf04){_0x5cd654['push'](_0x5cd654['shift']());}}}(a87_0x2701,0xc5dee));const {createClassLogger}=require(a87_0xcb6c64(0x135)),logger=createClassLogger(a87_0xcb6c64(0x147)),HookState=require(a87_0xcb6c64(0x146)),TestFrameworkState=require('../state/testFrameworkState'),TrackedContext=require(a87_0xcb6c64(0x143)),TrackedInstance=require('./trackedInstance'),now=new Date();function a87_0x2701(){const _0x35f239=['addPendingHook','currentHookState','751896ojFdMV','2104338UEYxLv','setLastHookState','exports','getPendingHooks','EdSvK','83024pOQase','lastHookState','getLastHookState','testFrameworks','getCurrentHookState','toLocaleString','getCurrentTestState','from','7219295BdwOaM','getCreatedAt','../../../helpers/classLogger','968643MrfXvs','24406120NocztE','NONE','push','createdAt','setCurrentTestState','1|6|0|8|7|2|4|5|3','pendingHooks','4ZAyVgp','hasPendingHooks','1778jkcRRQ','get','2694CTaNnq','./trackedContext','setLastTestState','delete','../state/hookState','TrackedInstance','set','split','removePendingHooks','testFrameworksVersions','306bgXbFT','currentTestState','lastTestState'];a87_0x2701=function(){return _0x35f239;};return a87_0x2701();}function a87_0x44d6(_0xc46602,_0x2ee42c){const _0x270116=a87_0x2701();return a87_0x44d6=function(_0x44d6d6,_0x29bf63){_0x44d6d6=_0x44d6d6-0x131;let _0x10ad3e=_0x270116[_0x44d6d6];return _0x10ad3e;},a87_0x44d6(_0xc46602,_0x2ee42c);}class TestFrameworkInstance extends TrackedInstance{constructor(_0x37654a,_0x57f163,_0x294f47,_0x1f151b,_0xe2e2bf){const _0x46b540=a87_0xcb6c64,_0x5c61cd={};_0x5c61cd[_0x46b540(0x156)]=_0x46b540(0x13c);const _0x5a137d=_0x5c61cd,_0x283e7b=_0x5a137d[_0x46b540(0x156)][_0x46b540(0x149)]('|');let _0x117322=0x0;while(!![]){switch(_0x283e7b[_0x117322++]){case'0':this[_0x46b540(0x14b)]=_0x294f47;continue;case'1':super(_0x37654a);continue;case'2':this['lastTestState']=TestFrameworkState['NONE'];continue;case'3':this[_0x46b540(0x13d)]=new Map();continue;case'4':this['lastHookState']=HookState[_0x46b540(0x138)];continue;case'5':this[_0x46b540(0x13a)]=now[_0x46b540(0x15c)]();continue;case'6':this[_0x46b540(0x15a)]=_0x57f163;continue;case'7':this[_0x46b540(0x150)]=_0xe2e2bf;continue;case'8':this[_0x46b540(0x14d)]=_0x1f151b;continue;}break;}}[a87_0xcb6c64(0x131)](){const _0x5a7a85=a87_0xcb6c64;return this[_0x5a7a85(0x14d)];}[a87_0xcb6c64(0x13b)](_0xae8ca6){const _0x26bdd1=a87_0xcb6c64;this[_0x26bdd1(0x144)](this[_0x26bdd1(0x14d)]),this[_0x26bdd1(0x14d)]=_0xae8ca6;}[a87_0xcb6c64(0x15b)](){const _0x2648cf=a87_0xcb6c64;return this[_0x2648cf(0x150)];}['setCurrentHookState'](_0x419d63){const _0x2b3c10=a87_0xcb6c64;this['setLastHookState'](this[_0x2b3c10(0x150)]),this[_0x2b3c10(0x150)]=_0x419d63;}['getLastTestState'](){const _0x32d810=a87_0xcb6c64;return this[_0x32d810(0x14e)];}[a87_0xcb6c64(0x144)](_0x3f5a93){this['lastTestState']=_0x3f5a93;}[a87_0xcb6c64(0x159)](){const _0x436c78=a87_0xcb6c64;return this[_0x436c78(0x158)];}[a87_0xcb6c64(0x153)](_0x218fee){const _0x35dfbb=a87_0xcb6c64;this[_0x35dfbb(0x158)]=_0x218fee;}[a87_0xcb6c64(0x134)](){const _0x49e12b=a87_0xcb6c64;return this[_0x49e12b(0x13a)];}[a87_0xcb6c64(0x14f)](_0x30ca0a,_0x4236ff){const _0x1179c1=a87_0xcb6c64;!this[_0x1179c1(0x13d)]['has'](_0x30ca0a)&&this[_0x1179c1(0x13d)][_0x1179c1(0x148)](_0x30ca0a,[]),this[_0x1179c1(0x13d)][_0x1179c1(0x141)](_0x30ca0a)[_0x1179c1(0x139)](_0x4236ff);}[a87_0xcb6c64(0x155)](_0x5ac414){const _0x5da138=a87_0xcb6c64;return this['pendingHooks'][_0x5da138(0x141)](_0x5ac414)||[];}[a87_0xcb6c64(0x14a)](_0x4257a4){const _0x4960c3=a87_0xcb6c64;this[_0x4960c3(0x13d)][_0x4960c3(0x145)](_0x4257a4);}[a87_0xcb6c64(0x13f)](_0xed987b){const _0x398a53=a87_0xcb6c64;return this[_0x398a53(0x13d)]['has'](_0xed987b);}['getAllPendingHookTestIds'](){const _0x377190=a87_0xcb6c64;return Array[_0x377190(0x132)](this['pendingHooks']['keys']());}}module[a87_0xcb6c64(0x154)]=TestFrameworkInstance;
@@ -1 +1 @@
1
- function a88_0x5173(_0x29b09f,_0x551866){const _0x5a60b0=a88_0x5a60();return a88_0x5173=function(_0x5173ae,_0x2a3a69){_0x5173ae=_0x5173ae-0x140;let _0x9d4fc0=_0x5a60b0[_0x5173ae];return _0x9d4fc0;},a88_0x5173(_0x29b09f,_0x551866);}function a88_0x5a60(){const _0x3e3073=['35045384BSDOxL','2007BskiUz','83978amZcSM','6665470hqKlcG','exports','getThreadId','4bWRGMX','getId','processId','getProcessId','type','threadId','3mEsUAO','3082992OMwUIr','143688eMOlBe','12104XDpCxR','40VWmrvO','5105280ShPtWb'];a88_0x5a60=function(){return _0x3e3073;};return a88_0x5a60();}const a88_0x576c31=a88_0x5173;(function(_0x30dae0,_0x15941a){const _0x378238=a88_0x5173,_0x26884a=_0x30dae0();while(!![]){try{const _0x31f5f8=parseInt(_0x378238(0x144))/0x1*(parseInt(_0x378238(0x148))/0x2)+-parseInt(_0x378238(0x14e))/0x3*(parseInt(_0x378238(0x14f))/0x4)+-parseInt(_0x378238(0x140))/0x5*(parseInt(_0x378238(0x150))/0x6)+-parseInt(_0x378238(0x145))/0x7+-parseInt(_0x378238(0x151))/0x8*(parseInt(_0x378238(0x143))/0x9)+-parseInt(_0x378238(0x141))/0xa+parseInt(_0x378238(0x142))/0xb;if(_0x31f5f8===_0x15941a)break;else _0x26884a['push'](_0x26884a['shift']());}catch(_0x340a15){_0x26884a['push'](_0x26884a['shift']());}}}(a88_0x5a60,0x90647));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger('TrackedContext');class TrackedContext{constructor(_0x191f5a,_0x2aeb12,_0x2100b5,_0x5b3897){const _0x5be6e7=a88_0x5173;this['id']=_0x191f5a,this[_0x5be6e7(0x14d)]=_0x2aeb12,this['processId']=_0x2100b5,this['type']=_0x5b3897;}[a88_0x576c31(0x147)](){const _0x5ca5b2=a88_0x576c31;return this[_0x5ca5b2(0x14d)];}[a88_0x576c31(0x14b)](){const _0x3e58f1=a88_0x576c31;return this[_0x3e58f1(0x14a)];}[a88_0x576c31(0x149)](){return this['id'];}['getType'](){const _0x463a5b=a88_0x576c31;return this[_0x463a5b(0x14c)];}}module[a88_0x576c31(0x146)]=TrackedContext;
1
+ const a88_0x20b788=a88_0x5585;function a88_0x5585(_0x159691,_0x101ea0){const _0x2d4f7b=a88_0x2d4f();return a88_0x5585=function(_0x55856a,_0x49762b){_0x55856a=_0x55856a-0x75;let _0x3eb48f=_0x2d4f7b[_0x55856a];return _0x3eb48f;},a88_0x5585(_0x159691,_0x101ea0);}(function(_0x2352aa,_0xaf170f){const _0x28c2b8=a88_0x5585,_0xd050d8=_0x2352aa();while(!![]){try{const _0x207cad=-parseInt(_0x28c2b8(0x7f))/0x1+parseInt(_0x28c2b8(0x83))/0x2+-parseInt(_0x28c2b8(0x7c))/0x3*(parseInt(_0x28c2b8(0x7a))/0x4)+-parseInt(_0x28c2b8(0x86))/0x5*(parseInt(_0x28c2b8(0x7d))/0x6)+parseInt(_0x28c2b8(0x76))/0x7+parseInt(_0x28c2b8(0x85))/0x8*(-parseInt(_0x28c2b8(0x82))/0x9)+parseInt(_0x28c2b8(0x80))/0xa;if(_0x207cad===_0xaf170f)break;else _0xd050d8['push'](_0xd050d8['shift']());}catch(_0x533bab){_0xd050d8['push'](_0xd050d8['shift']());}}}(a88_0x2d4f,0xd075b));const {createClassLogger}=require(a88_0x20b788(0x81)),logger=createClassLogger(a88_0x20b788(0x7b));class TrackedContext{constructor(_0x6f518d,_0x539808,_0x5a3602,_0x502c70){const _0x2506d1=a88_0x20b788;this['id']=_0x6f518d,this[_0x2506d1(0x77)]=_0x539808,this[_0x2506d1(0x84)]=_0x5a3602,this[_0x2506d1(0x7e)]=_0x502c70;}[a88_0x20b788(0x75)](){const _0x3e6047=a88_0x20b788;return this[_0x3e6047(0x77)];}['getProcessId'](){const _0x4b0a3e=a88_0x20b788;return this[_0x4b0a3e(0x84)];}[a88_0x20b788(0x79)](){return this['id'];}[a88_0x20b788(0x78)](){const _0x3b93d0=a88_0x20b788;return this[_0x3b93d0(0x7e)];}}module['exports']=TrackedContext;function a88_0x2d4f(){const _0x100392=['160348sxHWkx','processId','566488Dbfodd','1701085gsPCpQ','getThreadId','7327565aaZWtN','threadId','getType','getId','12lDYdyK','TrackedContext','1064067OSmMir','12vmkivs','type','1560815GGyWOk','31030090vkLiAk','../../../helpers/classLogger','9YiySHa'];a88_0x2d4f=function(){return _0x100392;};return a88_0x2d4f();}