browserstack-node-sdk 1.46.6 → 1.46.8

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 (183) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  114. package/src/bin/v2/framework/testFramework.js +1 -1
  115. package/src/bin/v2/grpcClient.js +1 -1
  116. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  117. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/trackedContext.js +1 -1
  119. package/src/bin/v2/instances/trackedInstance.js +1 -1
  120. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  121. package/src/bin/v2/modules/baseModule.js +1 -1
  122. package/src/bin/v2/modules/observabilityModule.js +1 -1
  123. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  124. package/src/bin/v2/modules/testhubModule.js +1 -1
  125. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  126. package/src/bin/v2/state/hookState.js +1 -1
  127. package/src/bin/v2/state/testFrameworkState.js +1 -1
  128. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  129. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  130. package/src/bin/vanilla-js/command.js +1 -1
  131. package/src/browserStackSdk.js +1 -1
  132. package/src/helpers/BrowserStackSetup.js +1 -1
  133. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  134. package/src/helpers/accessibility-automation/constants.js +1 -1
  135. package/src/helpers/accessibility-automation/helper.js +1 -1
  136. package/src/helpers/accessibility-automation/scripts.js +1 -1
  137. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  138. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  139. package/src/helpers/ats/constants.js +1 -1
  140. package/src/helpers/ats/helper.js +1 -1
  141. package/src/helpers/capsMapping.js +1 -1
  142. package/src/helpers/central-scanner/constants.js +1 -1
  143. package/src/helpers/central-scanner/helpers.js +1 -1
  144. package/src/helpers/classLogger.js +1 -1
  145. package/src/helpers/globals.js +1 -1
  146. package/src/helpers/helper.js +1 -1
  147. package/src/helpers/logger.js +1 -1
  148. package/src/helpers/metadata.js +1 -1
  149. package/src/helpers/patchHelper.js +1 -1
  150. package/src/helpers/patchHelpers.js +1 -1
  151. package/src/helpers/percy/Percy.js +1 -1
  152. package/src/helpers/percy/PercyBinary.js +1 -1
  153. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  154. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  155. package/src/helpers/percy/PercySDK.js +1 -1
  156. package/src/helpers/percy/index.js +1 -1
  157. package/src/helpers/percy/utils.js +1 -1
  158. package/src/helpers/performance/constants.js +1 -1
  159. package/src/helpers/performance/performance-tester.js +1 -1
  160. package/src/helpers/playwright-helper.js +1 -1
  161. package/src/helpers/processHelper.js +1 -1
  162. package/src/helpers/request-spy.js +1 -1
  163. package/src/helpers/setKeepAlive.js +1 -1
  164. package/src/helpers/test-observability/constants.js +1 -1
  165. package/src/helpers/test-observability/error-handler.js +1 -1
  166. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  167. package/src/helpers/test-observability/sessionHandler.js +1 -1
  168. package/src/helpers/test-observability/utils.js +1 -1
  169. package/src/helpers/test-orchestration/constants.js +1 -1
  170. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  171. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  172. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  173. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  174. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  175. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  176. package/src/helpers/testhub/constants.js +1 -1
  177. package/src/helpers/testhub/testhubHandler.js +1 -1
  178. package/src/helpers/testhub/utils.js +1 -1
  179. package/src/helpers/timeoutPromise.js +1 -1
  180. package/src/helpers/utilities.js +1 -1
  181. package/src/helpers/w3cMapping.js +1 -1
  182. package/src/hubAllocationMethods.js +1 -1
  183. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a70_0x2318(_0x5445be,_0x508baa){const _0x342437=a70_0x3424();return a70_0x2318=function(_0x2318ca,_0x136c95){_0x2318ca=_0x2318ca-0x13f;let _0x197e21=_0x342437[_0x2318ca];return _0x197e21;},a70_0x2318(_0x5445be,_0x508baa);}const a70_0x40e020=a70_0x2318;(function(_0x4761ba,_0x496462){const _0x72b8f5=a70_0x2318,_0x48983e=_0x4761ba();while(!![]){try{const _0x5f037b=-parseInt(_0x72b8f5(0x19f))/0x1*(-parseInt(_0x72b8f5(0x1a6))/0x2)+parseInt(_0x72b8f5(0x1d8))/0x3*(-parseInt(_0x72b8f5(0x1bc))/0x4)+parseInt(_0x72b8f5(0x1b6))/0x5+parseInt(_0x72b8f5(0x1a0))/0x6*(-parseInt(_0x72b8f5(0x1bb))/0x7)+parseInt(_0x72b8f5(0x1c1))/0x8*(-parseInt(_0x72b8f5(0x1f4))/0x9)+-parseInt(_0x72b8f5(0x206))/0xa+parseInt(_0x72b8f5(0x20f))/0xb*(parseInt(_0x72b8f5(0x1fb))/0xc);if(_0x5f037b===_0x496462)break;else _0x48983e['push'](_0x48983e['shift']());}catch(_0x5ecd64){_0x48983e['push'](_0x48983e['shift']());}}}(a70_0x3424,0xd44b4));const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x40e020(0x1ac)),HookState=require(a70_0x40e020(0x1d3)),{createClassLogger}=require(a70_0x40e020(0x142)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a70_0x40e020(0x190)),TrackedInstance=require(a70_0x40e020(0x164)),TestFrameworkConstants=require(a70_0x40e020(0x1c4)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x40e020(0x1fd)),{v4:uuidv4}=require(a70_0x40e020(0x1ee)),util=require(a70_0x40e020(0x1c6)),TestInfo=require(a70_0x40e020(0x1cb)),GrpcClient=require(a70_0x40e020(0x180));class CucumberTestFramework extends TestFramework{constructor(_0x5b4897,_0x16b5be,_0xe75064){super(_0x5b4897,_0x16b5be,_0xe75064);}async[a70_0x40e020(0x1a9)](_0x216df2,_0x293fe5,_0xb3b877={}){const _0x4bfa18=a70_0x40e020,_0xb84b00={};_0xb84b00[_0x4bfa18(0x173)]=_0x4bfa18(0x199),_0xb84b00[_0x4bfa18(0x20d)]=function(_0x2cf3b6,_0x25a930){return _0x2cf3b6===_0x25a930;},_0xb84b00[_0x4bfa18(0x210)]=function(_0x2ec29c,_0x375f07){return _0x2ec29c===_0x375f07;},_0xb84b00['aWwph']='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x584c3c=_0xb84b00;await super[_0x4bfa18(0x1a9)](_0x216df2,_0x293fe5,_0xb3b877);const _0x6ad880=this[_0x4bfa18(0x163)](_0x216df2,_0x293fe5,_0xb3b877);if(!_0x6ad880){logger[_0x4bfa18(0x162)](_0x584c3c[_0x4bfa18(0x173)]);return;}try{let _0x23a9af,_0x47d7e4;switch(_0x216df2){case TestFrameworkState['TEST']:_0x23a9af=_0xb3b877['test'],_0x47d7e4=TestInfo[_0x4bfa18(0x1e8)](_0x23a9af['id']);if(_0x584c3c[_0x4bfa18(0x20d)](_0x293fe5,HookState[_0x4bfa18(0x16e)])){logger[_0x4bfa18(0x162)](_0x4bfa18(0x1fc)+_0x23a9af['id']);const _0x532780={};_0x532780[_0x4bfa18(0x183)]=_0x47d7e4,_0x532780[_0x4bfa18(0x176)]=_0x23a9af,_0x6ad880['addMultipleEntries'](this['parseCucumberTest'](_0x532780)),logger[_0x4bfa18(0x162)](_0x4bfa18(0x212)+_0x23a9af['id']),await this[_0x4bfa18(0x200)](_0x6ad880,_0x23a9af['id']);}else{if(_0x584c3c[_0x4bfa18(0x20d)](_0x293fe5,HookState[_0x4bfa18(0x197)])){const _0x271ffb={};_0x271ffb[_0x4bfa18(0x183)]=_0x47d7e4,_0x271ffb[_0x4bfa18(0x176)]=_0x23a9af,_0x6ad880[_0x4bfa18(0x178)](this[_0x4bfa18(0x1cf)](_0x271ffb)),await this['processPendingHooks'](_0x6ad880,_0x23a9af['id']);}}break;case TestFrameworkState[_0x4bfa18(0x17f)]:_0x584c3c[_0x4bfa18(0x210)](_0x293fe5,HookState[_0x4bfa18(0x197)])&&await this[_0x4bfa18(0x1a7)](_0x6ad880,_0x216df2,_0xb3b877);break;default:if(CLIUtils[_0x4bfa18(0x16b)](_0x216df2[_0x4bfa18(0x1f1)]()[_0x4bfa18(0x213)]('.')[0x1])){const _0x215d0e=await this['trackHookEvent'](_0x6ad880,_0x216df2,_0x293fe5,_0xb3b877);_0x6ad880[_0x4bfa18(0x178)](_0x215d0e);}else logger[_0x4bfa18(0x162)](_0x4bfa18(0x1b0)+_0x216df2+_0x4bfa18(0x15a)+_0x293fe5);break;}}catch(_0x42ae8c){logger[_0x4bfa18(0x184)](util['format'](_0x584c3c[_0x4bfa18(0x208)],_0x216df2,_0x293fe5,_0xb3b877[_0x4bfa18(0x147)],_0x42ae8c));}_0xb3b877[_0x4bfa18(0x1d0)]=_0x6ad880,await this[_0x4bfa18(0x18a)](_0x6ad880,_0x216df2,_0x293fe5,_0xb3b877);}[a70_0x40e020(0x163)](_0x464f67,_0x45892f,_0x1ee3f6={}){const _0x7f2732=a70_0x40e020,_0x303347={};_0x303347[_0x7f2732(0x1e5)]=function(_0x5d68d1,_0x1fb8d0){return _0x5d68d1===_0x1fb8d0;};const _0x5280a8=_0x303347;let _0x9de15=null;return(_0x5280a8[_0x7f2732(0x1e5)](_0x464f67,TestFrameworkState[_0x7f2732(0x1a3)])||_0x5280a8[_0x7f2732(0x1e5)](_0x464f67,TestFrameworkState[_0x7f2732(0x14f)]))&&this[_0x7f2732(0x1ab)](_0x464f67,_0x1ee3f6),_0x9de15=TestFramework[_0x7f2732(0x192)](),_0x9de15;}['trackCucumberInstance'](_0x1045d1,_0x2df30a){const _0x2d400c=a70_0x40e020,_0x118550=CLIUtils[_0x2d400c(0x20c)](),_0x1ac534=TrackedInstance[_0x2d400c(0x16d)](_0x118550);let _0x4069b1=null;logger[_0x2d400c(0x162)](_0x2d400c(0x1f2)+_0x118550+_0x2d400c(0x145)+_0x1045d1),_0x4069b1=new TestFrameworkInstance(_0x1ac534,this[_0x2d400c(0x201)](),this[_0x2d400c(0x1dd)](),_0x1045d1,HookState['NONE']),TestFramework[_0x2d400c(0x1ec)](_0x1ac534,_0x4069b1),logger[_0x2d400c(0x162)](_0x2d400c(0x215)+_0x1ac534['getId']()+_0x2d400c(0x196)+_0x118550);}[a70_0x40e020(0x1d7)](_0x1b5e5d){const _0x68c692=a70_0x40e020,_0x2d365a={};_0x2d365a[_0x68c692(0x152)]=_0x68c692(0x1eb);const _0x5aa2a8=_0x2d365a,{testUUID:_0x583cdb,testData:_0x864fc3}=_0x1b5e5d;if(!_0x864fc3||!_0x864fc3[_0x68c692(0x1ee)])return logger[_0x68c692(0x162)](_0x5aa2a8[_0x68c692(0x152)]),{};const _0x1ebcb6=_0x864fc3['uuid'],_0x37fd96=_0x864fc3[_0x68c692(0x1ee)],_0x1f2737=this['getTestFrameworks']()[0x0],_0x92410e=this[_0x68c692(0x1dd)](),_0x17eac1={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1f2737,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x92410e[_0x1f2737],[TestFrameworkConstants[_0x68c692(0x155)]]:[],[TestFrameworkConstants[_0x68c692(0x146)]]:{},[TestFrameworkConstants[_0x68c692(0x1a5)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x1ebcb6,[TestFrameworkConstants[_0x68c692(0x1b2)]]:TestFrameworkConstants[_0x68c692(0x1de)],[TestFrameworkConstants[_0x68c692(0x1a8)]]:_0x864fc3[_0x68c692(0x175)]||'',[TestFrameworkConstants[_0x68c692(0x1a1)]]:_0x864fc3['file_name']||'',[TestFrameworkConstants[_0x68c692(0x148)]]:_0x37fd96,[TestFrameworkConstants[_0x68c692(0x1b1)]]:_0x864fc3['name']||'',[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x864fc3['location']||'',[TestFrameworkConstants[_0x68c692(0x1fa)]]:_0x864fc3[_0x68c692(0x1ff)]?.[_0x68c692(0x1e6)]||null,[TestFrameworkConstants[_0x68c692(0x1ca)]]:_0x864fc3[_0x68c692(0x189)]||[],[TestFrameworkConstants[_0x68c692(0x1c8)]]:_0x864fc3[_0x68c692(0x1b7)]||new Date()[_0x68c692(0x185)](),[TestFrameworkConstants[_0x68c692(0x203)]]:_0x864fc3[_0x68c692(0x167)]?.[0x0]||'',[TestFrameworkConstants[_0x68c692(0x211)]]:_0x864fc3[_0x68c692(0x167)]||[],[TestFrameworkConstants[_0x68c692(0x1f0)]]:_0x864fc3[_0x68c692(0x205)]?.[_0x68c692(0x19b)]||_0x864fc3[_0x68c692(0x175)]||'',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x68c692(0x1da)]]:_0x864fc3[_0x68c692(0x181)]||{}};TestInfo[_0x68c692(0x140)](_0x37fd96,_0x17eac1),logger[_0x68c692(0x162)](_0x68c692(0x1d1)+_0x864fc3[_0x68c692(0x175)]+_0x68c692(0x17a)+_0x1ebcb6);const _0x4f2ad5={};return _0x4f2ad5[_0x37fd96]=_0x17eac1,_0x4f2ad5;}[a70_0x40e020(0x1cf)](_0x48f0a6){const _0x13c1e1=a70_0x40e020,_0x496c95={'aWrdz':_0x13c1e1(0x1e3),'SGlhf':_0x13c1e1(0x1f8),'YfNfl':function(_0x3d136e,_0x176232){return _0x3d136e===_0x176232;},'gdNsK':_0x13c1e1(0x217),'UmWKt':_0x13c1e1(0x174),'VFVaw':function(_0x1a14d4,_0x4509a3,_0x101a3d){return _0x1a14d4(_0x4509a3,_0x101a3d);},'XSfZe':function(_0x7152a2,_0xc5fee9){return _0x7152a2>_0xc5fee9;}},{testUUID:_0x4bf2de,testData:_0x1f49ca}=_0x48f0a6;if(!_0x1f49ca||!_0x1f49ca[_0x13c1e1(0x1ee)])return logger['debug'](_0x496c95[_0x13c1e1(0x1d4)]),{};const _0xc4240f=this[_0x13c1e1(0x163)](TestFrameworkState[_0x13c1e1(0x1f6)],HookState['POST']),_0x3e0038=_0x1f49ca[_0x13c1e1(0x1ee)],_0x7c7986=TestInfo['getTestDetails'](_0x3e0038)||{},_0x409137=_0x7c7986?_0x7c7986[TestFrameworkConstants[_0x13c1e1(0x1c2)]]||{}:{},_0x507b41={..._0x7c7986,[TestFrameworkConstants[_0x13c1e1(0x1b2)]]:_0x1f49ca[_0x13c1e1(0x141)]||_0x496c95[_0x13c1e1(0x1fe)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x1f49ca[_0x13c1e1(0x20e)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x13c1e1(0x143)]]:new Date()[_0x13c1e1(0x185)](),[TestFrameworkConstants[_0x13c1e1(0x1c2)]]:_0x409137,[TestFrameworkConstants[_0x13c1e1(0x158)]]:[],[TestFrameworkConstants[_0x13c1e1(0x1da)]]:_0x1f49ca[_0x13c1e1(0x181)]||{}};_0x496c95['YfNfl'](_0x1f49ca[_0x13c1e1(0x141)],_0x496c95['gdNsK'])&&_0x1f49ca['failure']&&(_0x507b41[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x1f49ca[_0x13c1e1(0x202)]||_0x496c95[_0x13c1e1(0x1c5)],_0x507b41[TestFrameworkConstants[_0x13c1e1(0x18e)]]=_0x1f49ca[_0x13c1e1(0x1e2)]||'',_0x507b41[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x1f49ca[_0x13c1e1(0x1f7)]);const _0x2ff75e=TestInfo[_0x13c1e1(0x1be)](_0x3e0038)[TestFrameworkConstants[_0x13c1e1(0x188)]]||{},_0x400b4a=_0x496c95[_0x13c1e1(0x172)](getManualUploadLogs,_0x2ff75e,_0xc4240f['getAllData']()[_0x13c1e1(0x159)](_0x3e0038)[TestFrameworkConstants[_0x13c1e1(0x1d2)]]);if(_0x496c95['XSfZe'](_0x400b4a[_0x13c1e1(0x147)],0x0)){const _0x82a50f=_0x507b41[TestFrameworkConstants['KEY_LOGS']]||[];_0x507b41[TestFrameworkConstants['KEY_LOGS']]=[..._0x82a50f,..._0x400b4a];}_0x1f49ca[_0x13c1e1(0x19e)]&&_0x496c95[_0x13c1e1(0x15c)](_0x1f49ca['hooks']['length'],0x0)&&(_0x507b41[TestFrameworkConstants[_0x13c1e1(0x146)]]=_0x1f49ca[_0x13c1e1(0x19e)]);TestInfo[_0x13c1e1(0x140)](_0x3e0038,_0x507b41),logger[_0x13c1e1(0x162)]('Updated\x20cucumber\x20test\x20result:\x20'+_0x1f49ca['name']+_0x13c1e1(0x19d)+_0x1f49ca[_0x13c1e1(0x141)]);const _0x2985f6={};return _0x2985f6[_0x3e0038]=_0x507b41,_0x2985f6;}async[a70_0x40e020(0x1aa)](_0x3e4e48,_0x84e225,_0x488fc4,_0x3ae96b){const _0x17d1b=a70_0x40e020,_0x1cc84e={'AjMts':_0x17d1b(0x14a),'aCTDX':function(_0x46f587){return _0x46f587();},'YPFSt':function(_0x3c7f89,_0x2234fe){return _0x3c7f89 in _0x2234fe;},'OZYoc':function(_0x1940ab,_0x514167){return _0x1940ab===_0x514167;},'HkNdx':function(_0x452fa1,_0x2f745d){return _0x452fa1===_0x2f745d;},'hLMNr':function(_0x2623f8,_0x2584ec){return _0x2623f8>_0x2584ec;},'WbkzO':'failed','klndN':'UnhandledError','RhJfp':_0x17d1b(0x1bf),'yXJiP':function(_0xc6d63d,_0xf39756){return _0xc6d63d!==_0xf39756;}},{hookData:_0x1e3763}=_0x3ae96b;if(!_0x1e3763)return logger[_0x17d1b(0x162)](_0x1cc84e['AjMts']),{};const _0x2e3cef=_0x1e3763[_0x17d1b(0x1ee)]||_0x1cc84e['aCTDX'](uuidv4),_0x9fb679=_0x1e3763[_0x17d1b(0x1c0)],_0x16bfd8=_0x84e225['toString']()[_0x17d1b(0x213)]('.')[0x1],_0x381923=TestInfo['getTestDetails'](_0x9fb679)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x3839f2=_0x3e4e48[_0x17d1b(0x1b9)]()[_0x17d1b(0x159)](_0x9fb679);if(!_0x3839f2)return logger['debug'](_0x17d1b(0x15e)+_0x9fb679+_0x17d1b(0x1dc)),this[_0x17d1b(0x177)](_0x3e4e48,_0x9fb679,_0x84e225,_0x488fc4,_0x3ae96b),{};let _0x119316=_0x3839f2[TestFrameworkConstants[_0x17d1b(0x1a5)]];!_0x119316&&(_0x119316={});!_0x1cc84e[_0x17d1b(0x171)](_0x16bfd8,_0x119316)&&(_0x119316[_0x16bfd8]=[]);let _0x2c95a2=_0x3839f2[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x2c95a2&&(_0x2c95a2={});!_0x1cc84e[_0x17d1b(0x171)](_0x16bfd8,_0x2c95a2)&&(_0x2c95a2[_0x16bfd8]=[]);const _0x274c2d={[TestFrameworkConstants[_0x17d1b(0x1a5)]]:_0x119316,[TestFrameworkConstants[_0x17d1b(0x146)]]:_0x2c95a2},_0x31833c={};_0x31833c[_0x9fb679]=_0x274c2d;const _0x154038=_0x31833c;if(_0x1cc84e['OZYoc'](_0x488fc4,HookState[_0x17d1b(0x16e)])){const _0x59d01a={[TestFrameworkConstants[_0x17d1b(0x150)]]:_0x2e3cef,[TestFrameworkConstants[_0x17d1b(0x1c7)]]:TestFrameworkConstants[_0x17d1b(0x170)],[TestFrameworkConstants[_0x17d1b(0x204)]]:_0x1e3763['started_at'],[TestFrameworkConstants[_0x17d1b(0x18f)]]:[],[TestFrameworkConstants[_0x17d1b(0x14c)]]:_0x1e3763[_0x17d1b(0x153)],[TestFrameworkConstants[_0x17d1b(0x1c2)]]:_0x381923};_0x59d01a[_0x17d1b(0x187)]=_0x16bfd8;const _0xebe8c=_0x59d01a;_0x119316[_0x16bfd8]['push'](_0xebe8c),_0x154038[_0x9fb679][TestFrameworkConstants[_0x17d1b(0x1af)]]=_0x16bfd8,logger['debug'](_0x17d1b(0x151)+_0x16bfd8+_0x17d1b(0x14b)+_0xebe8c+'\x20\x20and\x20args\x20=\x20'+_0x3ae96b);}else{if(_0x1cc84e['HkNdx'](_0x488fc4,HookState[_0x17d1b(0x197)])){const _0x4a0fcf=_0x1e3763[_0x17d1b(0x141)],_0x52dbb6=_0x119316[_0x16bfd8]||[];logger[_0x17d1b(0x162)]('trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20'+_0x52dbb6+_0x17d1b(0x216)+_0x3ae96b);if(_0x1cc84e[_0x17d1b(0x17d)](_0x52dbb6[_0x17d1b(0x147)],0x0)){const _0x384684=_0x52dbb6['pop']();_0x1cc84e['OZYoc'](_0x1e3763['result'],_0x1cc84e[_0x17d1b(0x1b3)])&&_0x1e3763[_0x17d1b(0x198)]?(_0x384684[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x1e3763[_0x17d1b(0x202)]||_0x1cc84e['klndN'],_0x384684[TestFrameworkConstants[_0x17d1b(0x18d)]]=_0x1e3763[_0x17d1b(0x1e2)]||'',_0x384684[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x1e3763[_0x17d1b(0x198)]):_0x384684[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1cc84e[_0x17d1b(0x1b4)];_0x1cc84e[_0x17d1b(0x214)](_0x4a0fcf,TestFrameworkConstants[_0x17d1b(0x170)])&&(_0x384684[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x4a0fcf);_0x384684[TestFrameworkConstants[_0x17d1b(0x1ce)]]=_0x1e3763['finished_at']||new Date()['toISOString'](),_0x384684[TestFrameworkConstants[_0x17d1b(0x1c2)]]=_0x381923;const _0x2cccb0=_0x384684[TestFrameworkConstants[_0x17d1b(0x150)]];!_0x2c95a2[_0x16bfd8]&&(_0x2c95a2[_0x16bfd8]=[]),_0x2c95a2[_0x16bfd8][_0x17d1b(0x193)](_0x384684),_0x154038[_0x9fb679][TestFrameworkConstants[_0x17d1b(0x1cc)]]=_0x16bfd8;}}}return logger[_0x17d1b(0x162)](_0x17d1b(0x179)+_0x1e3763[_0x17d1b(0x153)]+_0x17d1b(0x14e)+_0x2e3cef+_0x17d1b(0x1d5)+_0x9fb679),_0x154038;}[a70_0x40e020(0x20b)](_0x2f2a65){const _0x13fb0f=a70_0x40e020,_0x1e5a74={};_0x1e5a74[_0x13fb0f(0x160)]=_0x13fb0f(0x1ba);const _0x3b1f26=_0x1e5a74;try{const _0x24569e=_0x2f2a65['test']?_0x2f2a65[_0x13fb0f(0x1d9)]['id']:_0x2f2a65['hookData'][_0x13fb0f(0x1c0)],_0x27cf6e=_0x2f2a65[_0x13fb0f(0x1d0)],_0x46137f=_0x27cf6e[_0x13fb0f(0x1a2)](),_0x486aa1=_0x27cf6e[_0x13fb0f(0x1b9)]()['get'](_0x24569e);if(!_0x486aa1)return logger[_0x13fb0f(0x162)](_0x13fb0f(0x1d6)+_0x24569e),{};logger['debug'](_0x13fb0f(0x1f3)+_0x24569e);const {[TestFrameworkConstants[_0x13fb0f(0x194)]]:_0x1a3379='',[TestFrameworkConstants[_0x13fb0f(0x1ad)]]:_0x4c538b='',[TestFrameworkConstants[_0x13fb0f(0x1c8)]]:_0x60a172='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x41d6b7=''}=_0x486aa1,_0x319e3a=_0x27cf6e[_0x13fb0f(0x1e0)]()[_0x13fb0f(0x1f1)]()[_0x13fb0f(0x213)]('.')[0x1],_0xe7aaa7=_0x27cf6e[_0x13fb0f(0x161)]()['toString']()[_0x13fb0f(0x213)]('.')[0x1],_0x50691a=global?.[_0x13fb0f(0x1ed)]?.[_0x13fb0f(0x1c9)]?.[_0x13fb0f(0x16c)],_0x31e6f2=_0x27cf6e[_0x13fb0f(0x166)](),_0x86ab84=Buffer[_0x13fb0f(0x1b5)](JSON['stringify'](_0x486aa1))[_0x13fb0f(0x1f1)](_0x3b1f26[_0x13fb0f(0x160)]),_0x2b582d={'hash':_0x46137f[_0x13fb0f(0x20a)](),'threadId':_0x46137f[_0x13fb0f(0x195)]()[_0x13fb0f(0x1f1)](),'processId':_0x46137f[_0x13fb0f(0x149)]()[_0x13fb0f(0x1f1)]()},_0x28a542={};_0x28a542[_0x13fb0f(0x168)]=_0x50691a,_0x28a542[_0x13fb0f(0x186)]=_0x1a3379,_0x28a542[_0x13fb0f(0x1e1)]=_0x4c538b,_0x28a542[_0x13fb0f(0x15b)]=_0x319e3a,_0x28a542[_0x13fb0f(0x19a)]=_0xe7aaa7,_0x28a542[_0x13fb0f(0x1b7)]=_0x60a172,_0x28a542['endedAt']=_0x41d6b7,_0x28a542[_0x13fb0f(0x1ee)]=_0x31e6f2,_0x28a542[_0x13fb0f(0x13f)]=_0x86ab84,_0x28a542[_0x13fb0f(0x144)]=_0x2b582d;const _0x12b684=_0x28a542;return logger[_0x13fb0f(0x162)](_0x13fb0f(0x1ae)+_0x24569e+'\x20testState:\x20'+_0x319e3a+_0x13fb0f(0x15d)+_0xe7aaa7),_0x12b684;}catch(_0x2acb72){return logger[_0x13fb0f(0x184)](_0x13fb0f(0x18b)+util[_0x13fb0f(0x1f5)](_0x2acb72)),{};}}async[a70_0x40e020(0x1a7)](_0x259895,_0x52b2b4,_0x4bcc10){const _0xa10251=a70_0x40e020,_0x4447ef={'HpwPw':function(_0x1647d1,_0x5a5efa,_0x12db1a){return _0x1647d1(_0x5a5efa,_0x12db1a);},'FTClU':function(_0x1e0228,_0x2734f9){return _0x1e0228===_0x2734f9;},'WiOxA':_0xa10251(0x207),'BKpTx':function(_0x44f3e8,_0x314e81){return _0x44f3e8/_0x314e81;},'IlBen':function(_0x19f08e,_0x203685){return _0x19f08e<_0x203685;},'cdifq':function(_0x10647a,_0x4dd4ac){return _0x10647a*_0x4dd4ac;},'XIgDj':function(_0x34211f,_0x4c2b59){return _0x34211f+_0x4c2b59;},'mvCUJ':function(_0x3b3d00,_0x2b4175){return _0x3b3d00+_0x2b4175;},'SFkwV':'Cucumber\x20log\x20created\x20event'};try{const _0x1ff70c=_0x4bcc10['testUUID'],_0x773ac5=_0x259895['getAllData']()[_0xa10251(0x159)](_0x1ff70c),{[TestFrameworkConstants[_0xa10251(0x194)]]:_0x370bd7='',[TestFrameworkConstants[_0xa10251(0x1ad)]]:_0xb04304=''}=_0x773ac5,_0x5b281a=TestInfo['readLogObjects'](_0x1ff70c),_0x2b91e1=TestInfo[_0xa10251(0x1be)](_0x1ff70c)[TestFrameworkConstants[_0xa10251(0x188)]]||{},_0x2b0d0b=_0x4447ef[_0xa10251(0x16f)](getMediaArtifactsLogs,_0x2b91e1,_0x259895['getAllData']()[_0xa10251(0x159)](_0x1ff70c)[TestFrameworkConstants[_0xa10251(0x1d2)]]),_0x7c61ed=(_0x5b281a||[])[_0xa10251(0x14d)](_0x2b0d0b||[]);if(!_0x7c61ed||_0x4447ef[_0xa10251(0x1e4)](_0x7c61ed[_0xa10251(0x147)],0x0)){logger[_0xa10251(0x162)](_0x4447ef['WiOxA']);return;}const _0x2b8df7=0x28,_0x3334a9=Math[_0xa10251(0x17b)](_0x4447ef[_0xa10251(0x1b8)](_0x7c61ed[_0xa10251(0x147)],_0x2b8df7));for(let _0xa373df=0x0;_0x4447ef[_0xa10251(0x1db)](_0xa373df,_0x3334a9);_0xa373df++){const _0x204dab=_0x4447ef['cdifq'](_0xa373df,_0x2b8df7),_0x5cba0f=_0x4447ef[_0xa10251(0x1a4)](_0x204dab,_0x2b8df7),_0x52a709=_0x7c61ed[_0xa10251(0x182)](_0x204dab,_0x5cba0f),_0x5485e2={'platformIndex':'0','logs':_0x52a709,'testFrameworkName':_0x370bd7,'testFrameworkVersion':_0xb04304,'testFrameworkState':_0x52b2b4[_0xa10251(0x1f1)]()[_0xa10251(0x213)]('.')[0x1]};logger[_0xa10251(0x162)](_0xa10251(0x209)+_0x1ff70c+_0xa10251(0x169)+_0x4447ef['mvCUJ'](_0xa373df,0x1)+'/'+_0x3334a9+_0xa10251(0x1e7)+util[_0xa10251(0x17c)](_0x5485e2));const _0x4f201f=await GrpcClient[_0xa10251(0x1cd)]()[_0xa10251(0x191)](_0x5485e2);logger[_0xa10251(0x162)](_0xa10251(0x209)+_0x1ff70c+_0xa10251(0x169)+_0x4447ef[_0xa10251(0x154)](_0xa373df,0x1)+'/'+_0x3334a9+'\x20response='+util[_0xa10251(0x17c)](_0x4f201f));}}catch(_0xb67c9d){logger[_0xa10251(0x184)](_0xa10251(0x18c)+util[_0xa10251(0x1f5)](_0xb67c9d));}logger[_0xa10251(0x162)](_0x4447ef[_0xa10251(0x1c3)]);}['storePendingHook'](_0x51dcb1,_0x1b1a22,_0x3d1e3a,_0x38331b,_0x3499c1){const _0x193a75=a70_0x40e020,_0x7774ed={'testId':_0x1b1a22,'testFrameworkState':_0x3d1e3a,'hookState':_0x38331b,'args':_0x3499c1,'timestamp':new Date()[_0x193a75(0x185)]()};_0x51dcb1[_0x193a75(0x19c)](_0x1b1a22,_0x7774ed),logger[_0x193a75(0x162)](_0x193a75(0x15f)+_0x1b1a22+_0x193a75(0x1f9)+_0x3d1e3a+_0x193a75(0x1ea)+_0x38331b);}async[a70_0x40e020(0x200)](_0x1ab9e5,_0x1de3cf){const _0x4f4d08=a70_0x40e020,_0x49ec2d={};_0x49ec2d[_0x4f4d08(0x157)]=function(_0xa90ca,_0xfdc55b){return _0xa90ca>_0xfdc55b;};const _0x33cf1f=_0x49ec2d;if(!_0x1ab9e5['hasPendingHooks'](_0x1de3cf))return;const _0x39a103=_0x1ab9e5['getPendingHooks'](_0x1de3cf);logger[_0x4f4d08(0x162)](_0x4f4d08(0x16a)+_0x39a103[_0x4f4d08(0x147)]+_0x4f4d08(0x1df)+_0x1de3cf);for(const _0x575fb7 of _0x39a103){try{const _0x303f34=await this['trackHookEvent'](_0x1ab9e5,_0x575fb7[_0x4f4d08(0x15b)],_0x575fb7[_0x4f4d08(0x19a)],_0x575fb7[_0x4f4d08(0x1bd)]);_0x303f34&&_0x33cf1f['brFcv'](Object[_0x4f4d08(0x1e9)](_0x303f34)[_0x4f4d08(0x147)],0x0)&&_0x1ab9e5[_0x4f4d08(0x178)](_0x303f34),await this[_0x4f4d08(0x18a)](_0x1ab9e5,_0x575fb7[_0x4f4d08(0x15b)],_0x575fb7[_0x4f4d08(0x19a)],_0x575fb7[_0x4f4d08(0x1bd)]);}catch(_0x21e6cb){logger[_0x4f4d08(0x184)](_0x4f4d08(0x17e)+_0x1de3cf+_0x4f4d08(0x156)+_0x21e6cb);}}_0x1ab9e5['removePendingHooks'](_0x1de3cf),logger[_0x4f4d08(0x162)](_0x4f4d08(0x165)+_0x1de3cf);}}function a70_0x3424(){const _0x22cf01=[',\x20error:\x20','brFcv','KEY_LOGS','get','\x20&\x20hookState=','testFrameworkState','XSfZe','\x20hookState:\x20','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','Stored\x20pending\x20hook\x20for\x20testId:\x20','BsnHP','getCurrentHookState','debug','resolveInstance','../instances/trackedInstance.js','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','getRef','scopes','platformIndex','\x20batch\x20','Processing\x20','matchHookRegex','parallelIndex','createContext','PRE','HpwPw','DEFAULT_HOOK_RESULT','YPFSt','VFVaw','ngiAc','UnhandledError','name','testData','storePendingHook','addMultipleEntries','Tracked\x20cucumber\x20hook\x20event:\x20','\x20with\x20UUID:\x20','ceil','inspect','hLMNr','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','LOG_REPORT','../grpcClient','meta','slice','testUUID','error','toISOString','testFrameworkName','key','KEY_TEST_ATTACHMENTS','tags','runHooks','Error\x20in\x20createTestFrameworkEventPayload:\x20','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','KEY_HOOK_FAILURE_REASON','KEY_TEST_FAILURE_REASON','KEY_HOOK_LOGS','../cliUtils.js','logCreatedEvent','getTrackedInstance','push','KEY_TEST_FRAMEWORK_NAME','getThreadId','\x20target=','POST','failure_data','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','hookState','rerun_name','addPendingHook','\x20with\x20result:\x20','hooks','1821eiGHCD','8759058AUJfzN','KEY_TEST_FILE_PATH','getContext','INIT_TEST','XIgDj','KEY_HOOKS_STARTED','668sTZYFW','sendLogCreatedEvent','KEY_AUTOMATE_SESSION_NAME','trackEvent','trackHookEvent','trackCucumberInstance','../state/testFrameworkState.js','KEY_TEST_FRAMEWORK_VERSION','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_HOOK_LAST_STARTED','trackEvent:\x20unsupported\x20testFrameworkState=','KEY_TEST_NAME','KEY_TEST_RESULT','WbkzO','RhJfp','from','923210ewBbWg','startedAt','BKpTx','getAllData','base64','7yiQDFq','108564kcEFqf','args','getTestDetails','passed','test_run_id','3323504pxMpfU','KEY_CUSTOM_TAGS','SFkwV','./constants/testFrameworkConstants.js','UmWKt','util','KEY_HOOK_RESULT','KEY_TEST_STARTED_AT','workerInfo','KEY_TEST_TAGS','../TestInfo.js','KEY_HOOK_LAST_FINISHED','getInstance','KEY_EVENT_ENDED_AT','parseCucumberTestResult','instance','Parsed\x20cucumber\x20test:\x20','KEY_TEST_UUID','../state/hookState.js','aWrdz','\x20for\x20test:\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','parseCucumberTest','189QSFWkc','test','KEY_TEST_META','IlBen',',\x20storing\x20as\x20pending\x20hook','getTestFrameworksVersions','DEFAULT_TEST_RESULT','\x20pending\x20hooks\x20for\x20testId:\x20','getCurrentTestState','testFrameworkVersion','failure_reason','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','FTClU','jOIFP','code','\x20payload=','getTestUUID','keys',',\x20hookState:\x20','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','setTrackedInstance','__workerDetails','uuid','exports','KEY_TEST_RERUN_NAME','toString','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','createTestFrameworkEventPayload\x20testId:\x20','36OtUbaZ','format','TEST','failure','unknown',',\x20state:\x20','KEY_TEST_CODE','62716296Tidyde','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','CucumberTestFramework','SGlhf','body','processPendingHooks','getTestFrameworks','failure_type','KEY_TEST_SCOPE','KEY_EVENT_STARTED_AT','customRerunParam','3181800XnVtLL','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','aWwph','sendLogCreatedEvent:\x20for\x20testId:\x20','getId','createTestFrameworkEventPayload','getCurrentInstanceName','qGzdN','finishedAt','11AxZuuK','EbVuJ','KEY_TEST_SCOPES','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','split','yXJiP','trackCucumberInstance:\x20saved\x20instance\x20contextId=','\x20and\x20args\x20=\x20','failed','eventJson','setTestDetails','result','../../../helpers/classLogger.js','KEY_TEST_RESULT_AT','executionContext',',\x20state=','KEY_HOOKS_FINISHED','length','KEY_TEST_ID','getProcessId','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','\x20&\x20hook\x20=\x20','KEY_HOOK_NAME','concat','\x20with\x20id\x20','NONE','KEY_HOOK_ID','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','sFYoz','hook_type','mvCUJ','KEY_TEST_LOGS'];a70_0x3424=function(){return _0x22cf01;};return a70_0x3424();}module[a70_0x40e020(0x1ef)]=CucumberTestFramework;
1
+ const a70_0x202956=a70_0x5391;(function(_0x1a7c6b,_0x13cb3f){const _0xb3d561=a70_0x5391,_0x402d4c=_0x1a7c6b();while(!![]){try{const _0x50945e=parseInt(_0xb3d561(0x1c7))/0x1+-parseInt(_0xb3d561(0x204))/0x2+-parseInt(_0xb3d561(0x21a))/0x3+-parseInt(_0xb3d561(0x268))/0x4+-parseInt(_0xb3d561(0x272))/0x5*(parseInt(_0xb3d561(0x245))/0x6)+-parseInt(_0xb3d561(0x202))/0x7+parseInt(_0xb3d561(0x1b2))/0x8;if(_0x50945e===_0x13cb3f)break;else _0x402d4c['push'](_0x402d4c['shift']());}catch(_0x2c723e){_0x402d4c['push'](_0x402d4c['shift']());}}}(a70_0x5b22,0x9f9c7));const TestFramework=require(a70_0x202956(0x25b)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a70_0x202956(0x1e4)),{createClassLogger}=require(a70_0x202956(0x1e7)),TestFrameworkInstance=require(a70_0x202956(0x261)),CLIUtils=require(a70_0x202956(0x1ce)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x202956(0x26a)),{v4:uuidv4}=require(a70_0x202956(0x21d)),util=require(a70_0x202956(0x226)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a70_0x202956(0x1c0));function a70_0x5b22(){const _0x2ced83=['KEY_HOOKS_FINISHED','\x20&\x20hookState=','endedAt','executionContext','3893394dQLKaQ','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','UnhandledError','uuid','\x20and\x20args\x20=\x20','args','from','trackEvent','customRerunParam','\x20payload=','result',',\x20state:\x20','util','KEY_TEST_ATTACHMENTS','VgGFx','length','split','body','pORxJ','format','KEY_TEST_ID','KEY_TEST_TAGS','getProcessId','sendLogCreatedEvent','KEY_HOOK_ID','dMejH','testData','DEFAULT_HOOK_RESULT','debug','logCreatedEvent','INIT_TEST','resolveInstance','eventJson','finished_at','\x20for\x20test:\x20','QILff','hookState','UgQeJ','\x20with\x20id\x20','KEY_TEST_FILE_PATH','wcVsd','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','readLogObjects','559578xwrjmB','Pknvc','Cucumber\x20log\x20created\x20event','createTestFrameworkEventPayload','getTestFrameworks','qAHWZ','rerun_name','testFrameworkVersion','getAllData','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','inspect','yUVgR','KEY_HOOKS_STARTED','kgNja','KEY_HOOK_LAST_FINISHED','\x20testState:\x20','testFrameworkName','started_at','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','kZtzS','KEY_LOGS','getId','./testFramework','TEST','Updated\x20cucumber\x20test\x20result:\x20','getCurrentInstanceName','QLHuM',',\x20state=','../instances/testFrameworkInstance.js','processPendingHooks','error','NONE','KEY_HOOK_FAILURE_TYPE','GqFMC','parseCucumberTest','223700zttsPR','KEY_CUSTOM_TAGS','CucumberTestFramework','QezcH','\x20response=','getContext','\x20\x20and\x20args\x20=\x20','Processing\x20','tags','getTestUUID','10nhhPsv','Stored\x20pending\x20hook\x20for\x20testId:\x20','cnZNO','file_name','toString','code','parseCucumberTestResult','OwGTR','getTestDetails','trackEvent:\x20unsupported\x20testFrameworkState=','\x20hookState:\x20','Tracked\x20cucumber\x20hook\x20event:\x20','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_TEST_FAILURE_TYPE','17324840VJznKV','testUUID','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20',',\x20storing\x20as\x20pending\x20hook','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','KEY_TEST_RERUN_NAME','__workerDetails','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','getTrackedInstance','meta','failure_data','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','keys','instance','../grpcClient','llYTF','KEY_TEST_RESULT','KEY_HOOK_RESULT','failure_type','unknown','KEY_TEST_FRAMEWORK_NAME','365090oegYTZ','KEY_TEST_SCOPE','KEY_TEST_FAILURE_REASON','FtKae','getTestFrameworksVersions','storePendingHook','PRE','../cliUtils.js','hooks','\x20target=','fIFGN','addPendingHook','concat','NsuvM','hasPendingHooks','ONCGA','trackCucumberInstance','KEY_TEST_NAME','KEY_TEST_CODE','trackHookEvent','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','mHSeu','\x20&\x20hook\x20=\x20','KEY_TEST_UUID','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','toISOString','name','FcWec','getInstance','../state/hookState.js','KEY_TEST_LOGS','\x20batch\x20','../../../helpers/classLogger.js','failure_reason','KEY_TEST_STARTED_AT','mKqxa','exports','getPendingHooks','get','getCurrentTestState','KEY_TEST_ENDED_AT','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_VERSION','kGpil','testFrameworkState','removePendingHooks','hRdWT','setTrackedInstance','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','KEY_HOOK_FAILURE','KEY_TEST_LOCATION','POST','DEFAULT_TEST_RESULT','LOG_REPORT','matchHookRegex','KEY_EVENT_ENDED_AT','finishedAt','runHooks','sendLogCreatedEvent:\x20for\x20testId:\x20','1456350tXIlDP','\x20with\x20UUID:\x20','257258vEbiAG','KEY_TEST_META','test_run_id','slice','addMultipleEntries','IuueR','hook_type','KEY_AUTOMATE_SESSION_NAME','AnKCb','OzRKy','failed','qYgNk','createContext','\x20with\x20result:\x20','startedAt','scopes','platformIndex','hookData'];a70_0x5b22=function(){return _0x2ced83;};return a70_0x5b22();}class CucumberTestFramework extends TestFramework{constructor(_0x57301f,_0x38eeec,_0x8fe222){super(_0x57301f,_0x38eeec,_0x8fe222);}async['trackEvent'](_0x2d8d36,_0x963228,_0x30c48c={}){const _0x5dc1c0=a70_0x202956,_0x493478={};_0x493478[_0x5dc1c0(0x1f5)]=_0x5dc1c0(0x1db),_0x493478['AnKCb']=function(_0x110ee2,_0x268a79){return _0x110ee2===_0x268a79;},_0x493478[_0x5dc1c0(0x1d4)]=function(_0x4be4a8,_0x19eb9a){return _0x4be4a8===_0x19eb9a;},_0x493478[_0x5dc1c0(0x1d1)]=_0x5dc1c0(0x1b0);const _0x1de403=_0x493478;await super[_0x5dc1c0(0x221)](_0x2d8d36,_0x963228,_0x30c48c);const _0x4f6b05=this[_0x5dc1c0(0x239)](_0x2d8d36,_0x963228,_0x30c48c);if(!_0x4f6b05){logger['debug'](_0x1de403['hRdWT']);return;}try{let _0x304355,_0x4a4f7f;switch(_0x2d8d36){case TestFrameworkState[_0x5dc1c0(0x25c)]:_0x304355=_0x30c48c['test'],_0x4a4f7f=TestInfo[_0x5dc1c0(0x271)](_0x304355['id']);if(_0x1de403['AnKCb'](_0x963228,HookState[_0x5dc1c0(0x1cd)])){logger[_0x5dc1c0(0x236)](_0x5dc1c0(0x1df)+_0x304355['id']);const _0x4170b6={};_0x4170b6[_0x5dc1c0(0x1b3)]=_0x4a4f7f,_0x4170b6[_0x5dc1c0(0x234)]=_0x304355,_0x4f6b05[_0x5dc1c0(0x208)](this[_0x5dc1c0(0x267)](_0x4170b6)),logger['debug']('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x304355['id']),await this[_0x5dc1c0(0x262)](_0x4f6b05,_0x304355['id']);}else{if(_0x1de403[_0x5dc1c0(0x20c)](_0x963228,HookState[_0x5dc1c0(0x1fa)])){const _0x5d277b={};_0x5d277b[_0x5dc1c0(0x1b3)]=_0x4a4f7f,_0x5d277b['testData']=_0x304355,_0x4f6b05['addMultipleEntries'](this[_0x5dc1c0(0x1aa)](_0x5d277b)),await this['processPendingHooks'](_0x4f6b05,_0x304355['id']);}}break;case TestFrameworkState[_0x5dc1c0(0x1fc)]:_0x1de403[_0x5dc1c0(0x1d4)](_0x963228,HookState[_0x5dc1c0(0x1fa)])&&await this[_0x5dc1c0(0x231)](_0x4f6b05,_0x2d8d36,_0x30c48c);break;default:if(CLIUtils[_0x5dc1c0(0x1fd)](_0x2d8d36[_0x5dc1c0(0x1a8)]()['split']('.')[0x1])){const _0x46750e=await this[_0x5dc1c0(0x1da)](_0x4f6b05,_0x2d8d36,_0x963228,_0x30c48c);_0x4f6b05[_0x5dc1c0(0x208)](_0x46750e);}else logger[_0x5dc1c0(0x236)](_0x5dc1c0(0x1ad)+_0x2d8d36+_0x5dc1c0(0x217)+_0x963228);break;}}catch(_0x1e2f30){logger[_0x5dc1c0(0x263)](util[_0x5dc1c0(0x22d)](_0x1de403[_0x5dc1c0(0x1d1)],_0x2d8d36,_0x963228,_0x30c48c[_0x5dc1c0(0x229)],_0x1e2f30));}_0x30c48c['instance']=_0x4f6b05,await this[_0x5dc1c0(0x200)](_0x4f6b05,_0x2d8d36,_0x963228,_0x30c48c);}[a70_0x202956(0x239)](_0x113ca5,_0x16375e,_0xbcf162={}){const _0x4bc5d1=a70_0x202956,_0x459426={};_0x459426[_0x4bc5d1(0x266)]=function(_0x3c6c99,_0x1fc667){return _0x3c6c99===_0x1fc667;};const _0x4a1000=_0x459426;let _0x57e971=null;return(_0x4a1000['GqFMC'](_0x113ca5,TestFrameworkState[_0x4bc5d1(0x238)])||_0x4a1000['GqFMC'](_0x113ca5,TestFrameworkState[_0x4bc5d1(0x264)]))&&this[_0x4bc5d1(0x1d7)](_0x113ca5,_0xbcf162),_0x57e971=TestFramework[_0x4bc5d1(0x1ba)](),_0x57e971;}[a70_0x202956(0x1d7)](_0x32de2d,_0x54079b){const _0x28b6f4=a70_0x202956,_0x4017f3=CLIUtils[_0x28b6f4(0x25e)](),_0x252340=TrackedInstance[_0x28b6f4(0x210)](_0x4017f3);let _0x4140cd=null;logger[_0x28b6f4(0x236)](_0x28b6f4(0x1b6)+_0x4017f3+_0x28b6f4(0x260)+_0x32de2d),_0x4140cd=new TestFrameworkInstance(_0x252340,this[_0x28b6f4(0x249)](),this['getTestFrameworksVersions'](),_0x32de2d,HookState['NONE']),TestFramework[_0x28b6f4(0x1f6)](_0x252340,_0x4140cd),logger[_0x28b6f4(0x236)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x252340[_0x28b6f4(0x25a)]()+_0x28b6f4(0x1d0)+_0x4017f3);}[a70_0x202956(0x267)](_0x3b03d0){const _0x4e41cf=a70_0x202956,_0x51f6e1={};_0x51f6e1[_0x4e41cf(0x1c1)]=_0x4e41cf(0x1b9);const _0x22fe44=_0x51f6e1,{testUUID:_0x1b90b4,testData:_0xe84031}=_0x3b03d0;if(!_0xe84031||!_0xe84031[_0x4e41cf(0x21d)])return logger[_0x4e41cf(0x236)](_0x22fe44['llYTF']),{};const _0x7f9d83=_0xe84031[_0x4e41cf(0x21d)],_0x489ac1=_0xe84031[_0x4e41cf(0x21d)],_0x3cc1cd=this[_0x4e41cf(0x249)]()[0x0],_0xa531f2=this[_0x4e41cf(0x1cb)](),_0x401248={[TestFrameworkConstants[_0x4e41cf(0x1c6)]]:_0x3cc1cd,[TestFrameworkConstants[_0x4e41cf(0x1f1)]]:_0xa531f2[_0x3cc1cd],[TestFrameworkConstants[_0x4e41cf(0x1e5)]]:[],[TestFrameworkConstants[_0x4e41cf(0x216)]]:{},[TestFrameworkConstants[_0x4e41cf(0x251)]]:{},[TestFrameworkConstants[_0x4e41cf(0x1de)]]:_0x7f9d83,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x4e41cf(0x1fb)],[TestFrameworkConstants[_0x4e41cf(0x20b)]]:_0xe84031['name']||'',[TestFrameworkConstants[_0x4e41cf(0x241)]]:_0xe84031[_0x4e41cf(0x1a7)]||'',[TestFrameworkConstants[_0x4e41cf(0x22e)]]:_0x489ac1,[TestFrameworkConstants[_0x4e41cf(0x1d8)]]:_0xe84031['name']||'',[TestFrameworkConstants[_0x4e41cf(0x1f9)]]:_0xe84031['location']||'',[TestFrameworkConstants[_0x4e41cf(0x1d9)]]:_0xe84031[_0x4e41cf(0x22b)]?.[_0x4e41cf(0x1a9)]||null,[TestFrameworkConstants[_0x4e41cf(0x22f)]]:_0xe84031[_0x4e41cf(0x270)]||[],[TestFrameworkConstants[_0x4e41cf(0x1e9)]]:_0xe84031[_0x4e41cf(0x212)]||new Date()[_0x4e41cf(0x1e0)](),[TestFrameworkConstants[_0x4e41cf(0x1c8)]]:_0xe84031['scopes']?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0xe84031[_0x4e41cf(0x213)]||[],[TestFrameworkConstants[_0x4e41cf(0x1b7)]]:_0xe84031[_0x4e41cf(0x222)]?.[_0x4e41cf(0x24b)]||_0xe84031[_0x4e41cf(0x1e1)]||'',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x4e41cf(0x205)]]:_0xe84031[_0x4e41cf(0x1bb)]||{}};TestInfo['setTestDetails'](_0x489ac1,_0x401248),logger[_0x4e41cf(0x236)]('Parsed\x20cucumber\x20test:\x20'+_0xe84031[_0x4e41cf(0x1e1)]+_0x4e41cf(0x203)+_0x7f9d83);const _0x509f87={};return _0x509f87[_0x489ac1]=_0x401248,_0x509f87;}[a70_0x202956(0x1aa)](_0x1f01d3){const _0x4d95dd=a70_0x202956,_0x5aead3={'FtKae':'No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','yUVgR':_0x4d95dd(0x1c5),'Pknvc':function(_0x3c0ade,_0x346e6b){return _0x3c0ade===_0x346e6b;},'QILff':_0x4d95dd(0x20e),'EEMwO':_0x4d95dd(0x21c),'CCtMp':function(_0x5e9304,_0x335840,_0x592c1b){return _0x5e9304(_0x335840,_0x592c1b);},'pORxJ':function(_0x12f20b,_0x3587d3){return _0x12f20b>_0x3587d3;},'dEqst':function(_0x1d29ee,_0x445ad6){return _0x1d29ee>_0x445ad6;}},{testUUID:_0xf33e9b,testData:_0x85494e}=_0x1f01d3;if(!_0x85494e||!_0x85494e[_0x4d95dd(0x21d)])return logger[_0x4d95dd(0x236)](_0x5aead3[_0x4d95dd(0x1ca)]),{};const _0x232184=this[_0x4d95dd(0x239)](TestFrameworkState[_0x4d95dd(0x25c)],HookState['POST']),_0x511247=_0x85494e[_0x4d95dd(0x21d)],_0x400b82=TestInfo[_0x4d95dd(0x1ac)](_0x511247)||{},_0x1218ac=_0x400b82?_0x400b82[TestFrameworkConstants[_0x4d95dd(0x269)]]||{}:{},_0x2fe418={..._0x400b82,[TestFrameworkConstants[_0x4d95dd(0x1c2)]]:_0x85494e[_0x4d95dd(0x224)]||_0x5aead3[_0x4d95dd(0x250)],[TestFrameworkConstants[_0x4d95dd(0x1ef)]]:_0x85494e[_0x4d95dd(0x1ff)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x4d95dd(0x1e0)](),[TestFrameworkConstants[_0x4d95dd(0x269)]]:_0x1218ac,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x4d95dd(0x205)]]:_0x85494e[_0x4d95dd(0x1bb)]||{}};_0x5aead3[_0x4d95dd(0x246)](_0x85494e[_0x4d95dd(0x224)],_0x5aead3[_0x4d95dd(0x23d)])&&_0x85494e['failure']&&(_0x2fe418[TestFrameworkConstants[_0x4d95dd(0x1b1)]]=_0x85494e[_0x4d95dd(0x1c4)]||_0x5aead3['EEMwO'],_0x2fe418[TestFrameworkConstants[_0x4d95dd(0x1c9)]]=_0x85494e[_0x4d95dd(0x1e8)]||'',_0x2fe418[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x85494e['failure']);const _0x51f1ea=TestInfo[_0x4d95dd(0x1ac)](_0x511247)[TestFrameworkConstants[_0x4d95dd(0x227)]]||{},_0x3b84cc=_0x5aead3['CCtMp'](getManualUploadLogs,_0x51f1ea,_0x232184[_0x4d95dd(0x24d)]()['get'](_0x511247)[TestFrameworkConstants[_0x4d95dd(0x1de)]]);if(_0x5aead3[_0x4d95dd(0x22c)](_0x3b84cc[_0x4d95dd(0x229)],0x0)){const _0x1fa8d1=_0x2fe418[TestFrameworkConstants['KEY_LOGS']]||[];_0x2fe418[TestFrameworkConstants[_0x4d95dd(0x259)]]=[..._0x1fa8d1,..._0x3b84cc];}_0x85494e['hooks']&&_0x5aead3['dEqst'](_0x85494e[_0x4d95dd(0x1cf)][_0x4d95dd(0x229)],0x0)&&(_0x2fe418[TestFrameworkConstants[_0x4d95dd(0x216)]]=_0x85494e['hooks']);TestInfo['setTestDetails'](_0x511247,_0x2fe418),logger[_0x4d95dd(0x236)](_0x4d95dd(0x25d)+_0x85494e['name']+_0x4d95dd(0x211)+_0x85494e[_0x4d95dd(0x224)]);const _0x51e861={};return _0x51e861[_0x511247]=_0x2fe418,_0x51e861;}async['trackHookEvent'](_0x501765,_0x55c3a0,_0x17cb17,_0xfc192f){const _0xab9171=a70_0x202956,_0x3965f2={'wcVsd':_0xab9171(0x243),'UgQeJ':function(_0x39fba9){return _0x39fba9();},'FcWec':function(_0x2a7b89,_0x31697a){return _0x2a7b89 in _0x31697a;},'mKqxa':function(_0x3af13c,_0x1bf2a4){return _0x3af13c===_0x1bf2a4;},'IuueR':function(_0x4f4d0f,_0x3b45c5){return _0x4f4d0f===_0x3b45c5;},'mHSeu':function(_0x222203,_0x384006){return _0x222203>_0x384006;},'cnZNO':_0xab9171(0x20e),'VgGFx':_0xab9171(0x21c),'hhbLT':'passed','InNwQ':function(_0x705ff9,_0xa7e880){return _0x705ff9!==_0xa7e880;}},{hookData:_0x2926ea}=_0xfc192f;if(!_0x2926ea)return logger[_0xab9171(0x236)](_0x3965f2[_0xab9171(0x242)]),{};const _0x309728=_0x2926ea['uuid']||_0x3965f2[_0xab9171(0x23f)](uuidv4),_0x2c1c9c=_0x2926ea['test_run_id'],_0x2dfb62=_0x55c3a0[_0xab9171(0x1a8)]()['split']('.')[0x1],_0x2b32e9=TestInfo['getTestDetails'](_0x2c1c9c)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x2e1f99=_0x501765[_0xab9171(0x24d)]()[_0xab9171(0x1ed)](_0x2c1c9c);if(!_0x2e1f99)return logger[_0xab9171(0x236)]('No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x2c1c9c+_0xab9171(0x1b5)),this[_0xab9171(0x1cc)](_0x501765,_0x2c1c9c,_0x55c3a0,_0x17cb17,_0xfc192f),{};let _0x2e8a0d=_0x2e1f99[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x2e8a0d&&(_0x2e8a0d={});!_0x3965f2[_0xab9171(0x1e2)](_0x2dfb62,_0x2e8a0d)&&(_0x2e8a0d[_0x2dfb62]=[]);let _0x2f8838=_0x2e1f99[TestFrameworkConstants[_0xab9171(0x216)]];!_0x2f8838&&(_0x2f8838={});!_0x3965f2[_0xab9171(0x1e2)](_0x2dfb62,_0x2f8838)&&(_0x2f8838[_0x2dfb62]=[]);const _0x4c1ffb={[TestFrameworkConstants[_0xab9171(0x251)]]:_0x2e8a0d,[TestFrameworkConstants[_0xab9171(0x216)]]:_0x2f8838},_0x574f1f={};_0x574f1f[_0x2c1c9c]=_0x4c1ffb;const _0x26d066=_0x574f1f;if(_0x3965f2[_0xab9171(0x1ea)](_0x17cb17,HookState[_0xab9171(0x1cd)])){const _0x19a90b={[TestFrameworkConstants[_0xab9171(0x232)]]:_0x309728,[TestFrameworkConstants[_0xab9171(0x1c3)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x2926ea[_0xab9171(0x256)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x2926ea[_0xab9171(0x20a)],[TestFrameworkConstants[_0xab9171(0x269)]]:_0x2b32e9};_0x19a90b['key']=_0x2dfb62;const _0x45d1d0=_0x19a90b;_0x2e8a0d[_0x2dfb62]['push'](_0x45d1d0),_0x26d066[_0x2c1c9c][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x2dfb62,logger[_0xab9171(0x236)](_0xab9171(0x21b)+_0x2dfb62+_0xab9171(0x1dd)+_0x45d1d0+_0xab9171(0x26e)+_0xfc192f);}else{if(_0x3965f2[_0xab9171(0x209)](_0x17cb17,HookState[_0xab9171(0x1fa)])){const _0x167e1a=_0x2926ea[_0xab9171(0x224)],_0x3d8efa=_0x2e8a0d[_0x2dfb62]||[];logger['debug'](_0xab9171(0x1bd)+_0x3d8efa+_0xab9171(0x21e)+_0xfc192f);if(_0x3965f2[_0xab9171(0x1dc)](_0x3d8efa['length'],0x0)){const _0x4d4964=_0x3d8efa['pop']();_0x3965f2[_0xab9171(0x209)](_0x2926ea[_0xab9171(0x224)],_0x3965f2[_0xab9171(0x274)])&&_0x2926ea[_0xab9171(0x1bc)]?(_0x4d4964[TestFrameworkConstants[_0xab9171(0x265)]]=_0x2926ea[_0xab9171(0x1c4)]||_0x3965f2[_0xab9171(0x228)],_0x4d4964[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x2926ea['failure_reason']||'',_0x4d4964[TestFrameworkConstants[_0xab9171(0x1f8)]]=_0x2926ea['failure_data']):_0x4d4964[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3965f2['hhbLT'];_0x3965f2['InNwQ'](_0x167e1a,TestFrameworkConstants[_0xab9171(0x235)])&&(_0x4d4964[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x167e1a);_0x4d4964[TestFrameworkConstants[_0xab9171(0x1fe)]]=_0x2926ea[_0xab9171(0x23b)]||new Date()[_0xab9171(0x1e0)](),_0x4d4964[TestFrameworkConstants[_0xab9171(0x269)]]=_0x2b32e9;const _0x50996b=_0x4d4964[TestFrameworkConstants[_0xab9171(0x232)]];!_0x2f8838[_0x2dfb62]&&(_0x2f8838[_0x2dfb62]=[]),_0x2f8838[_0x2dfb62]['push'](_0x4d4964),_0x26d066[_0x2c1c9c][TestFrameworkConstants[_0xab9171(0x253)]]=_0x2dfb62;}}}return logger[_0xab9171(0x236)](_0xab9171(0x1af)+_0x2926ea[_0xab9171(0x20a)]+_0xab9171(0x240)+_0x309728+_0xab9171(0x23c)+_0x2c1c9c),_0x26d066;}[a70_0x202956(0x248)](_0x51cc06){const _0x48bb0d=a70_0x202956,_0x27ad28={};_0x27ad28[_0x48bb0d(0x233)]='base64';const _0x31f18d=_0x27ad28;try{const _0x2204bf=_0x51cc06['test']?_0x51cc06['test']['id']:_0x51cc06[_0x48bb0d(0x215)][_0x48bb0d(0x206)],_0x226640=_0x51cc06[_0x48bb0d(0x1bf)],_0x35cd6d=_0x226640[_0x48bb0d(0x26d)](),_0x217b94=_0x226640[_0x48bb0d(0x24d)]()[_0x48bb0d(0x1ed)](_0x2204bf);if(!_0x217b94)return logger[_0x48bb0d(0x236)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x2204bf),{};logger[_0x48bb0d(0x236)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x2204bf);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x355e88='',[TestFrameworkConstants[_0x48bb0d(0x1f1)]]:_0x514706='',[TestFrameworkConstants[_0x48bb0d(0x1e9)]]:_0x5c397b='',[TestFrameworkConstants[_0x48bb0d(0x1ef)]]:_0x7c4010=''}=_0x217b94,_0x1750ec=_0x226640[_0x48bb0d(0x1ee)]()[_0x48bb0d(0x1a8)]()[_0x48bb0d(0x22a)]('.')[0x1],_0x152100=_0x226640['getCurrentHookState']()[_0x48bb0d(0x1a8)]()[_0x48bb0d(0x22a)]('.')[0x1],_0x298450=global?.[_0x48bb0d(0x1b8)]?.['workerInfo']?.['parallelIndex'],_0x1bfd71=_0x226640['getRef'](),_0x4976b7=Buffer[_0x48bb0d(0x220)](JSON['stringify'](_0x217b94))[_0x48bb0d(0x1a8)](_0x31f18d['dMejH']),_0x23836b={'hash':_0x35cd6d[_0x48bb0d(0x25a)](),'threadId':_0x35cd6d['getThreadId']()['toString'](),'processId':_0x35cd6d[_0x48bb0d(0x230)]()[_0x48bb0d(0x1a8)]()},_0x4e2910={};_0x4e2910[_0x48bb0d(0x214)]=_0x298450,_0x4e2910[_0x48bb0d(0x255)]=_0x355e88,_0x4e2910[_0x48bb0d(0x24c)]=_0x514706,_0x4e2910['testFrameworkState']=_0x1750ec,_0x4e2910[_0x48bb0d(0x23e)]=_0x152100,_0x4e2910[_0x48bb0d(0x212)]=_0x5c397b,_0x4e2910[_0x48bb0d(0x218)]=_0x7c4010,_0x4e2910['uuid']=_0x1bfd71,_0x4e2910[_0x48bb0d(0x23a)]=_0x4976b7,_0x4e2910[_0x48bb0d(0x219)]=_0x23836b;const _0x2bde78=_0x4e2910;return logger[_0x48bb0d(0x236)](_0x48bb0d(0x1f0)+_0x2204bf+_0x48bb0d(0x254)+_0x1750ec+_0x48bb0d(0x1ae)+_0x152100),_0x2bde78;}catch(_0x5c6612){return logger[_0x48bb0d(0x263)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x5c6612)),{};}}async['sendLogCreatedEvent'](_0x561195,_0x3907dd,_0x2d48ef){const _0x90c959=a70_0x202956,_0x490883={'qAHWZ':function(_0x2b511e,_0xe60c65,_0x32fca0){return _0x2b511e(_0xe60c65,_0x32fca0);},'qYgNk':function(_0x39afdc,_0x41561f){return _0x39afdc===_0x41561f;},'kZtzS':_0x90c959(0x24e),'kGpil':function(_0x5c8f2f,_0xe5bd8d){return _0x5c8f2f/_0xe5bd8d;},'OzRKy':function(_0x48cf27,_0x136a2f){return _0x48cf27<_0x136a2f;},'kgNja':function(_0x3ae952,_0x18fb8e){return _0x3ae952*_0x18fb8e;},'ONCGA':function(_0x5724f7,_0x481612){return _0x5724f7+_0x481612;},'QLHuM':function(_0x125e8a,_0x127fac){return _0x125e8a+_0x127fac;},'bUoyO':function(_0x75bf37,_0x1a0f01){return _0x75bf37+_0x1a0f01;},'OwGTR':_0x90c959(0x247)};try{const _0x3ce57b=_0x2d48ef[_0x90c959(0x1b3)],_0x15223d=_0x561195[_0x90c959(0x24d)]()[_0x90c959(0x1ed)](_0x3ce57b),{[TestFrameworkConstants[_0x90c959(0x1c6)]]:_0x3e263a='',[TestFrameworkConstants[_0x90c959(0x1f1)]]:_0xdebfb1=''}=_0x15223d,_0x4688e6=TestInfo[_0x90c959(0x244)](_0x3ce57b),_0x4ac48e=TestInfo['getTestDetails'](_0x3ce57b)[TestFrameworkConstants[_0x90c959(0x227)]]||{},_0x387506=_0x490883[_0x90c959(0x24a)](getMediaArtifactsLogs,_0x4ac48e,_0x561195[_0x90c959(0x24d)]()['get'](_0x3ce57b)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x32cfe9=(_0x4688e6||[])[_0x90c959(0x1d3)](_0x387506||[]);if(!_0x32cfe9||_0x490883[_0x90c959(0x20f)](_0x32cfe9[_0x90c959(0x229)],0x0)){logger[_0x90c959(0x236)](_0x490883[_0x90c959(0x258)]);return;}const _0x5c2111=0x28,_0x59bb8b=Math['ceil'](_0x490883[_0x90c959(0x1f2)](_0x32cfe9[_0x90c959(0x229)],_0x5c2111));for(let _0x4dab54=0x0;_0x490883[_0x90c959(0x20d)](_0x4dab54,_0x59bb8b);_0x4dab54++){const _0x473b02=_0x490883[_0x90c959(0x252)](_0x4dab54,_0x5c2111),_0x49f1f8=_0x490883[_0x90c959(0x1d6)](_0x473b02,_0x5c2111),_0x396e32=_0x32cfe9[_0x90c959(0x207)](_0x473b02,_0x49f1f8),_0x568ac2={'platformIndex':'0','logs':_0x396e32,'testFrameworkName':_0x3e263a,'testFrameworkVersion':_0xdebfb1,'testFrameworkState':_0x3907dd[_0x90c959(0x1a8)]()['split']('.')[0x1]};logger[_0x90c959(0x236)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x3ce57b+_0x90c959(0x1e6)+_0x490883[_0x90c959(0x25f)](_0x4dab54,0x1)+'/'+_0x59bb8b+_0x90c959(0x223)+util[_0x90c959(0x24f)](_0x568ac2));const _0x477425=await GrpcClient[_0x90c959(0x1e3)]()[_0x90c959(0x237)](_0x568ac2);logger[_0x90c959(0x236)](_0x90c959(0x201)+_0x3ce57b+_0x90c959(0x1e6)+_0x490883['bUoyO'](_0x4dab54,0x1)+'/'+_0x59bb8b+_0x90c959(0x26c)+util[_0x90c959(0x24f)](_0x477425));}}catch(_0x254fb0){logger[_0x90c959(0x263)](_0x90c959(0x1b4)+util[_0x90c959(0x22d)](_0x254fb0));}logger[_0x90c959(0x236)](_0x490883[_0x90c959(0x1ab)]);}[a70_0x202956(0x1cc)](_0x580f34,_0x1ac07b,_0x531037,_0x509b55,_0x481186){const _0x1a079=a70_0x202956,_0x119d1b={'testId':_0x1ac07b,'testFrameworkState':_0x531037,'hookState':_0x509b55,'args':_0x481186,'timestamp':new Date()[_0x1a079(0x1e0)]()};_0x580f34[_0x1a079(0x1d2)](_0x1ac07b,_0x119d1b),logger['debug'](_0x1a079(0x273)+_0x1ac07b+_0x1a079(0x225)+_0x531037+',\x20hookState:\x20'+_0x509b55);}async[a70_0x202956(0x262)](_0x2d1575,_0xe78892){const _0x2e07fe=a70_0x202956,_0x597cee={};_0x597cee[_0x2e07fe(0x26b)]=function(_0x1294e9,_0x4897d4){return _0x1294e9>_0x4897d4;};const _0x71b48a=_0x597cee;if(!_0x2d1575[_0x2e07fe(0x1d5)](_0xe78892))return;const _0x1395a8=_0x2d1575[_0x2e07fe(0x1ec)](_0xe78892);logger['debug'](_0x2e07fe(0x26f)+_0x1395a8[_0x2e07fe(0x229)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0xe78892);for(const _0x41fe00 of _0x1395a8){try{const _0xc84a25=await this['trackHookEvent'](_0x2d1575,_0x41fe00[_0x2e07fe(0x1f3)],_0x41fe00[_0x2e07fe(0x23e)],_0x41fe00[_0x2e07fe(0x21f)]);_0xc84a25&&_0x71b48a[_0x2e07fe(0x26b)](Object[_0x2e07fe(0x1be)](_0xc84a25)[_0x2e07fe(0x229)],0x0)&&_0x2d1575[_0x2e07fe(0x208)](_0xc84a25),await this[_0x2e07fe(0x200)](_0x2d1575,_0x41fe00['testFrameworkState'],_0x41fe00[_0x2e07fe(0x23e)],_0x41fe00['args']);}catch(_0x27fc39){logger[_0x2e07fe(0x263)](_0x2e07fe(0x257)+_0xe78892+',\x20error:\x20'+_0x27fc39);}}_0x2d1575[_0x2e07fe(0x1f4)](_0xe78892),logger[_0x2e07fe(0x236)](_0x2e07fe(0x1f7)+_0xe78892);}}function a70_0x5391(_0x49eaf8,_0x3d4edd){const _0x5b22f7=a70_0x5b22();return a70_0x5391=function(_0x53919f,_0x279452){_0x53919f=_0x53919f-0x1a7;let _0x2c72c1=_0x5b22f7[_0x53919f];return _0x2c72c1;},a70_0x5391(_0x49eaf8,_0x3d4edd);}module[a70_0x202956(0x1eb)]=CucumberTestFramework;
@@ -1 +1 @@
1
- const a71_0x2e10ee=a71_0x2400;function a71_0x349c(){const _0x14fc82=['getTrackedInstance','instance','54376WtlWsL','../instances/trackedInstance.js','exports','10pgIexD','getCurrentInstanceName','42WfYAMR','8772460nlagzm','params','./automationFramework.js','info','Khnva','../state/automationFrameworkState.js','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','createContext','resolveInstance','\x20hookState=','PlaywrightAutomationFramework','9pWAaVX','trackPlaywrightInstance:\x20instance\x20already\x20exists','6538392dTnbjq','46461866RBALnW','PLAYWRIGHT_DISPATCH','getAutomationFrameworkName','trackPlaywrightInstance','message','3340656doLvOM','\x20target=','1415496XJFfyc','NONE','../cliUtils.js','../../../helpers/classLogger.js','logger','getAutomationFrameworkVersion','../instances/automationFrameworkInstance.js','afjPo','CREATE','77qfUxic','trackEvent','setTrackedInstance','DSdaD','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','83763oNGcPC'];a71_0x349c=function(){return _0x14fc82;};return a71_0x349c();}(function(_0x1fbac3,_0x4bb588){const _0x609852=a71_0x2400,_0x6aafc4=_0x1fbac3();while(!![]){try{const _0x4c64c1=parseInt(_0x609852(0x120))/0x1*(-parseInt(_0x609852(0x128))/0x2)+parseInt(_0x609852(0x110))/0x3+-parseInt(_0x609852(0x112))/0x4*(parseInt(_0x609852(0x126))/0x5)+-parseInt(_0x609852(0x10a))/0x6+parseInt(_0x609852(0x11b))/0x7*(parseInt(_0x609852(0x123))/0x8)+-parseInt(_0x609852(0x108))/0x9*(parseInt(_0x609852(0x129))/0xa)+parseInt(_0x609852(0x10b))/0xb;if(_0x4c64c1===_0x4bb588)break;else _0x6aafc4['push'](_0x6aafc4['shift']());}catch(_0x3cc606){_0x6aafc4['push'](_0x6aafc4['shift']());}}}(a71_0x349c,0xeedc8));function a71_0x2400(_0x5cf5f4,_0xef8688){const _0x349c12=a71_0x349c();return a71_0x2400=function(_0x240013,_0xef54b9){_0x240013=_0x240013-0x101;let _0x4258c7=_0x349c12[_0x240013];return _0x4258c7;},a71_0x2400(_0x5cf5f4,_0xef8688);}const AutomationFramework=require(a71_0x2e10ee(0x12b)),{createClassLogger}=require(a71_0x2e10ee(0x115)),AutomationFrameworkState=require(a71_0x2e10ee(0x102)),CLIUtils=require(a71_0x2e10ee(0x114)),TrackedInstance=require(a71_0x2e10ee(0x124)),AutomationFrameworkInstance=require(a71_0x2e10ee(0x118));class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a71_0x2e10ee(0x107));constructor(_0x292c19,_0x1c5b63){super(_0x292c19,_0x1c5b63);}async[a71_0x2e10ee(0x11c)](_0x54db2b,_0x275fed,_0xfcd8c0={}){const _0x6a04f3=a71_0x2e10ee,_0x5799f3={};_0x5799f3[_0x6a04f3(0x101)]=function(_0x31da0d,_0x53b228){return _0x31da0d===_0x53b228;};const _0x37cfe3=_0x5799f3;this[_0x6a04f3(0x116)]['debug']('trackEvent:\x20automationFrameworkState='+_0x54db2b+_0x6a04f3(0x106)+_0x275fed),await super[_0x6a04f3(0x11c)](_0x54db2b,_0x275fed,_0xfcd8c0);const _0x5bea3b=this[_0x6a04f3(0x105)](_0x54db2b,_0x275fed,_0xfcd8c0);if(_0x37cfe3[_0x6a04f3(0x101)](_0x5bea3b,null))return;_0xfcd8c0[_0x6a04f3(0x122)]=_0x5bea3b,await this['runHooks'](_0x5bea3b,_0x54db2b,_0x275fed,_0xfcd8c0);}['resolveInstance'](_0x522746,_0x159570,_0x4ae485={}){const _0x55cfc1=a71_0x2e10ee,_0x5e6a3f={};_0x5e6a3f[_0x55cfc1(0x119)]=function(_0x1ffa92,_0x39b630){return _0x1ffa92===_0x39b630;},_0x5e6a3f[_0x55cfc1(0x11e)]=function(_0x282f64,_0x4c8274){return _0x282f64===_0x4c8274;};const _0x323f2b=_0x5e6a3f;let _0x187b41=null;return(_0x323f2b[_0x55cfc1(0x119)](_0x522746,AutomationFrameworkState[_0x55cfc1(0x11a)])||_0x323f2b[_0x55cfc1(0x119)](_0x522746,AutomationFrameworkState[_0x55cfc1(0x10c)])&&(_0x4ae485['message']&&_0x4ae485[_0x55cfc1(0x10f)][_0x55cfc1(0x12a)]&&_0x4ae485[_0x55cfc1(0x10f)][_0x55cfc1(0x12a)]['bsParams'])||_0x323f2b[_0x55cfc1(0x11e)](_0x522746,AutomationFrameworkState[_0x55cfc1(0x113)]))&&this['trackPlaywrightInstance'](_0x522746,_0x4ae485),_0x187b41=AutomationFramework[_0x55cfc1(0x121)](),_0x187b41;}[a71_0x2e10ee(0x10e)](_0x1f9e13,_0x3a387f){const _0x40a153=a71_0x2e10ee,_0x544d81={};_0x544d81['UuCpu']=_0x40a153(0x109);const _0x109474=_0x544d81;if(AutomationFramework[_0x40a153(0x121)]()){this['logger']['info'](_0x109474['UuCpu']);return;}const _0x47f3b5=CLIUtils[_0x40a153(0x127)](),_0xd8d250=TrackedInstance[_0x40a153(0x104)](_0x47f3b5);let _0x5421a2=null;this[_0x40a153(0x116)][_0x40a153(0x12c)](_0x40a153(0x11f)+_0x47f3b5+',\x20state='+_0x1f9e13),_0x5421a2=new AutomationFrameworkInstance(_0xd8d250,this[_0x40a153(0x10d)](),this[_0x40a153(0x117)](),_0x1f9e13),AutomationFramework[_0x40a153(0x11d)](_0xd8d250,_0x5421a2),this['logger'][_0x40a153(0x12c)](_0x40a153(0x103)+_0xd8d250['getId']()+_0x40a153(0x111)+_0x47f3b5);}}module[a71_0x2e10ee(0x125)]=PlaywrightAutomationFramework;
1
+ const a71_0x490f90=a71_0x253b;function a71_0x15c3(){const _0x3844f7=['trackEvent','EHlyJ','debug','zZyzr','trackEvent:\x20automationFrameworkState=','42236XDNiXJ','../state/automationFrameworkState.js','45mSKFpo','getCurrentInstanceName','537710iRZkmk','8844429saNMea','\x20hookState=','16045tqYEdn','trackPlaywrightInstance','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','PlaywrightAutomationFramework','getAutomationFrameworkName','mIQmN',',\x20state=','message','params','10sccEFy','setTrackedInstance','trackPlaywrightInstance:\x20instance\x20already\x20exists','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getAutomationFrameworkVersion','NONE','GKoUy','./automationFramework.js','resolveInstance','8250003tfJlhy','logger','\x20target=','CREATE','PLAYWRIGHT_DISPATCH','4329768dEwahW','createContext','getTrackedInstance','../cliUtils.js','ErowZ','7eLsgiq','../instances/trackedInstance.js','462cDiNWQ','47618jBQgKq','getId','instance','bsParams','info'];a71_0x15c3=function(){return _0x3844f7;};return a71_0x15c3();}(function(_0x28ec18,_0x4156d5){const _0x2fc3fa=a71_0x253b,_0x3868ab=_0x28ec18();while(!![]){try{const _0x299b77=parseInt(_0x2fc3fa(0x1bc))/0x1+-parseInt(_0x2fc3fa(0x1de))/0x2*(parseInt(_0x2fc3fa(0x1ba))/0x3)+parseInt(_0x2fc3fa(0x1e8))/0x4+parseInt(_0x2fc3fa(0x1bf))/0x5*(parseInt(_0x2fc3fa(0x1dd))/0x6)+parseInt(_0x2fc3fa(0x1db))/0x7*(parseInt(_0x2fc3fa(0x1d6))/0x8)+-parseInt(_0x2fc3fa(0x1d1))/0x9+-parseInt(_0x2fc3fa(0x1c8))/0xa*(-parseInt(_0x2fc3fa(0x1bd))/0xb);if(_0x299b77===_0x4156d5)break;else _0x3868ab['push'](_0x3868ab['shift']());}catch(_0x5db16f){_0x3868ab['push'](_0x3868ab['shift']());}}}(a71_0x15c3,0xd3a04));const AutomationFramework=require(a71_0x490f90(0x1cf)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a71_0x490f90(0x1e9)),CLIUtils=require(a71_0x490f90(0x1d9)),TrackedInstance=require(a71_0x490f90(0x1dc)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PlaywrightAutomationFramework extends AutomationFramework{[a71_0x490f90(0x1d2)]=createClassLogger(a71_0x490f90(0x1c2));constructor(_0x43dfa5,_0x24b81b){super(_0x43dfa5,_0x24b81b);}async['trackEvent'](_0x300f2f,_0xc109c3,_0x1c97ad={}){const _0x4fc1d7=a71_0x490f90,_0x37cdc6={};_0x37cdc6[_0x4fc1d7(0x1ce)]=function(_0x3fe1fd,_0x1bb27e){return _0x3fe1fd===_0x1bb27e;};const _0x316321=_0x37cdc6;this[_0x4fc1d7(0x1d2)][_0x4fc1d7(0x1e5)](_0x4fc1d7(0x1e7)+_0x300f2f+_0x4fc1d7(0x1be)+_0xc109c3),await super[_0x4fc1d7(0x1e3)](_0x300f2f,_0xc109c3,_0x1c97ad);const _0x43c7eb=this[_0x4fc1d7(0x1d0)](_0x300f2f,_0xc109c3,_0x1c97ad);if(_0x316321[_0x4fc1d7(0x1ce)](_0x43c7eb,null))return;_0x1c97ad[_0x4fc1d7(0x1e0)]=_0x43c7eb,await this['runHooks'](_0x43c7eb,_0x300f2f,_0xc109c3,_0x1c97ad);}[a71_0x490f90(0x1d0)](_0x2de714,_0x2a8222,_0x1d264f={}){const _0x24e979=a71_0x490f90,_0x314e75={};_0x314e75[_0x24e979(0x1e4)]=function(_0x37485a,_0x146ffa){return _0x37485a===_0x146ffa;},_0x314e75[_0x24e979(0x1da)]=function(_0x41bc66,_0x74e0b9){return _0x41bc66===_0x74e0b9;},_0x314e75['zZyzr']=function(_0x56190c,_0x49258f){return _0x56190c===_0x49258f;};const _0xb588c1=_0x314e75;let _0x2eca14=null;return(_0xb588c1['EHlyJ'](_0x2de714,AutomationFrameworkState[_0x24e979(0x1d4)])||_0xb588c1[_0x24e979(0x1da)](_0x2de714,AutomationFrameworkState[_0x24e979(0x1d5)])&&(_0x1d264f[_0x24e979(0x1c6)]&&_0x1d264f[_0x24e979(0x1c6)][_0x24e979(0x1c7)]&&_0x1d264f[_0x24e979(0x1c6)]['params'][_0x24e979(0x1e1)])||_0xb588c1[_0x24e979(0x1e6)](_0x2de714,AutomationFrameworkState[_0x24e979(0x1cd)]))&&this[_0x24e979(0x1c0)](_0x2de714,_0x1d264f),_0x2eca14=AutomationFramework['getTrackedInstance'](),_0x2eca14;}['trackPlaywrightInstance'](_0x1979f3,_0x388458){const _0x47ba4c=a71_0x490f90,_0x291ff4={};_0x291ff4[_0x47ba4c(0x1c4)]=_0x47ba4c(0x1ca);const _0x5b07fe=_0x291ff4;if(AutomationFramework[_0x47ba4c(0x1d8)]()){this[_0x47ba4c(0x1d2)][_0x47ba4c(0x1e2)](_0x5b07fe[_0x47ba4c(0x1c4)]);return;}const _0x589895=CLIUtils[_0x47ba4c(0x1bb)](),_0x30bfb7=TrackedInstance[_0x47ba4c(0x1d7)](_0x589895);let _0xb9dbcc=null;this[_0x47ba4c(0x1d2)][_0x47ba4c(0x1e2)](_0x47ba4c(0x1cb)+_0x589895+_0x47ba4c(0x1c5)+_0x1979f3),_0xb9dbcc=new AutomationFrameworkInstance(_0x30bfb7,this[_0x47ba4c(0x1c3)](),this[_0x47ba4c(0x1cc)](),_0x1979f3),AutomationFramework[_0x47ba4c(0x1c9)](_0x30bfb7,_0xb9dbcc),this['logger']['info'](_0x47ba4c(0x1c1)+_0x30bfb7[_0x47ba4c(0x1df)]()+_0x47ba4c(0x1d3)+_0x589895);}}function a71_0x253b(_0x5772d9,_0x568405){const _0x15c3cf=a71_0x15c3();return a71_0x253b=function(_0x253b6a,_0x430577){_0x253b6a=_0x253b6a-0x1ba;let _0x24428e=_0x15c3cf[_0x253b6a];return _0x24428e;},a71_0x253b(_0x5772d9,_0x568405);}module['exports']=PlaywrightAutomationFramework;
@@ -1 +1 @@
1
- function a72_0x1e7e(){const _0x130e85=['testUId','err','iegtO','WimVq','YUdTh','getAllData','\x20instance=','sendLogCreatedEvent','CTNtA','Rfoxu','setTestDetails','JkvxO','ojjnT','5310615oBnSnu','KEY_TEST_ENDED_AT','trackHookEvent','some','lFdUI','qkxhn','Error\x20processing\x20trace\x20file\x20','KEY_HOOK_FAILURE_TYPE','jDIlJ','field_type','parsePlaywrightTestResult:\x20testId=','KEY_TEST_FAILURE','GIxdt','KEY_HOOKS_FINISHED','wlRpO','KEY_HOOK_ID','endedAt','KEY_TEST_SCOPES','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','retry','KEY_AUTOMATE_SESSION_NAME','\x20testHookState=','\x20&\x20hook\x20=\x20','parsePlaywrightTestResult','dpXvk','HRHqk','KEY_TEST_NAME','uuid','error','createContext','expectedStatus','\x20target=','\x20payload=','../../utils/constants','base64','Azwse','getTestFrameworks','logCreatedEvent','parallelIndex','getTestUUID','mlKOF','getTrackedInstance','format','OKKnT','EXzLY','resolveInstance','status','basename','KEY_TEST_FRAMEWORK_NAME','GNXNm','errors','QsurQ','timedOut','KEY_CUSTOM_TAGS','getTestFrameworksVersions','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','workerInfo','getInstance','OQKEV','../state/testFrameworkState.js','EdfjY','trackPlaywrightInstance','addMultipleEntries','\x20testState:\x20','\x20\x20and\x20args\x20=\x20','ebwwJ','getThreadId','forEach','Error\x20processing\x20direct\x20trace\x20file\x20','chjnz','487256EQkhcm','map','../../../helpers/test-observability/utils','KEY_HOOK_LOGS','step','result','getTraceFilePaths','KEY_TEST_RESULT','1296586gpwcWb','KEY_LOGS','dBOaG','createTestFrameworkEventPayload\x20testId:\x20','rktCr','zfCLG','attachments','2107924gLQAqb','inspect','test','JUKhB','sendLogCreatedEvent\x20for\x20testId:\x20','hookState','KEY_EVENT_STARTED_AT','KEY_TEST_RERUN_NAME','PRE','toISOString','XSknE','getCurrentHookState','getTestDetails','push','TEST_ATTACHMENT','DEFAULT_TEST_RESULT','multi_dropdown','WtJSn','KEY_TEST_UUID','\x20instanceId=',',\x20testFrameworkState=','getId','6vGMwHK','length','Dggfb','../instances/trackedInstance.js','yRSGa','description','annotations','getRef','MTZJD','filter','\x20batch\x20','Hook\x20List\x20in\x20Post\x20','Wmjnw','statSync','13964208HjLHPw','HUkIk','KEY_TEST_FRAMEWORK_VERSION','NONE','getCurrentInstanceName','get','aCzHA','esjqO','size','../../../../src/helpers/helper','KEY_TEST_STARTED_AT','eNLLY','FQFDI','KEY_TEST_RESULT_AT','hook','filePath','./testFramework','sBPlz','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','sendLogCreatedEvent:\x20testId=','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','SLweQ','KEY_TEST_CODE','\x20response=','getProcessId','KEY_TEST_FILE_PATH','Expected\x20to\x20fail,\x20but\x20passed.','eventJson','toString','__workerDetails','dhmXz','nIOZB','wfQGu','RFmcP','../../../helpers/classLogger.js','getContext','title','\x20result=','kufMK','runHooks','KEY_HOOK_RESULT','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','POST','qIpWG','debug','message','../cliUtils.js','platformIndex','nBUSu','../instances/testFrameworkInstance.js','split','PRUVl','GzOLd','KEY_HOOK_FAILURE_REASON','failed','startTime','PlaywrightTestFramework','duration','./constants/testFrameworkConstants.js','xAStg','KEY_EVENT_ENDED_AT','info','TEST','ceil','concat','dAJOj','5499739TfMguo','1853349tDxVLu','WxorO','XboBN','KEY_HOOK_NAME','stack','createTestFrameworkEventPayload','gloua','PBMud','getTime','KEY_TEST_FAILURE_TYPE','steps','values','OnBtR','slice','setTrackedInstance','passed','TgXYL','Uxnfx','wgNYp','jAdEJ','parsePlaywrightTest','KEY_HOOK_LAST_STARTED',',\x20state=','path','XKFqC','exports','startedAt','KEY_TEST_RETRY_OF','KEY_TEST_FAILURE_REASON','DEFAULT_HOOK_RESULT','trackEvent','cLxuz','NcEiz','trim','KEY_HOOKS_STARTED','PvEwz','KEY_HOOK_LAST_FINISHED','instance','QjoYo','../../playwright/reporter/pwUtils'];a72_0x1e7e=function(){return _0x130e85;};return a72_0x1e7e();}const a72_0x44ec21=a72_0x1d53;(function(_0x42bef6,_0x31eb41){const _0x5bbe80=a72_0x1d53,_0x5ac495=_0x42bef6();while(!![]){try{const _0x57ee1c=parseInt(_0x5bbe80(0x195))/0x1+parseInt(_0x5bbe80(0x18d))/0x2+parseInt(_0x5bbe80(0x204))/0x3+parseInt(_0x5bbe80(0x19c))/0x4+-parseInt(_0x5bbe80(0x239))/0x5+parseInt(_0x5bbe80(0x1b2))/0x6*(parseInt(_0x5bbe80(0x203))/0x7)+-parseInt(_0x5bbe80(0x1c0))/0x8;if(_0x57ee1c===_0x31eb41)break;else _0x5ac495['push'](_0x5ac495['shift']());}catch(_0x5dd599){_0x5ac495['push'](_0x5ac495['shift']());}}}(a72_0x1e7e,0xa1dde));function a72_0x1d53(_0x17e2d0,_0x586a6a){const _0x1e7eb4=a72_0x1e7e();return a72_0x1d53=function(_0x1d5375,_0x5e00cf){_0x1d5375=_0x1d5375-0x159;let _0x51b0e6=_0x1e7eb4[_0x1d5375];return _0x51b0e6;},a72_0x1d53(_0x17e2d0,_0x586a6a);}const TestFramework=require(a72_0x44ec21(0x1d0)),TestFrameworkState=require(a72_0x44ec21(0x182)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a72_0x44ec21(0x1e3)),TestFrameworkInstance=require(a72_0x44ec21(0x1f2)),CLIUtils=require(a72_0x44ec21(0x1ef)),TrackedInstance=require(a72_0x44ec21(0x1b5)),TestFrameworkConstants=require(a72_0x44ec21(0x1fb)),logger=createClassLogger(a72_0x44ec21(0x1f9)),{v4:uuidv4}=require(a72_0x44ec21(0x162)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a72_0x44ec21(0x18f)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a72_0x44ec21(0x22b)),{findNestedKey,sendTraceZip,validateFilePath}=require(a72_0x44ec21(0x22b)),path=require(a72_0x44ec21(0x21b)),fs=require('fs'),helper=require(a72_0x44ec21(0x1c9)),{PLAYWRIGHT_TRACE_LOGS}=require(a72_0x44ec21(0x168));class PlaywrightTestFramework extends TestFramework{constructor(_0x3891a7,_0x6c7e9a,_0x25910c){super(_0x3891a7,_0x6c7e9a,_0x25910c);}async[a72_0x44ec21(0x222)](_0xc9b41b,_0x25b157,_0x4bed75={}){const _0x3af046=a72_0x44ec21,_0x5ca9df={'OnBtR':function(_0x31afcc,_0x2a3b00){return _0x31afcc===_0x2a3b00;},'XSknE':function(_0x397527,_0x11cc62){return _0x397527===_0x11cc62;},'Rfoxu':function(_0x3ccdde,_0x321c44,_0x5de7da){return _0x3ccdde(_0x321c44,_0x5de7da);},'EdfjY':function(_0x554bbc,_0x251ecb){return _0x554bbc===_0x251ecb;},'Uxnfx':_0x3af046(0x19e),'CTNtA':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x3af046(0x222)](_0xc9b41b,_0x25b157,_0x4bed75);if(_0x5ca9df['OnBtR'](_0xc9b41b,TestFrameworkState['TEST_SCREENSHOT'])){const _0x4a41c5=TestInfo['getTestIdentifierFromTestInfo'](_0x4bed75[_0x3af046(0x19e)],_0x4bed75['test'][_0x3af046(0x15a)]);TestInfo[_0x3af046(0x236)](_0x4a41c5,_0x4bed75['result'],!![]);}const _0x277a49=this[_0x3af046(0x174)](_0xc9b41b,_0x25b157,_0x4bed75);if(!_0x277a49)return;logger[_0x3af046(0x1ed)]('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0xc9b41b+'\x20hookState='+_0x25b157+_0x3af046(0x1af)+_0x277a49[_0x3af046(0x1b9)]());try{if(_0x5ca9df[_0x3af046(0x1a6)](_0x25b157,HookState[_0x3af046(0x1a4)])&&_0x5ca9df[_0x3af046(0x210)](_0xc9b41b,TestFrameworkState['TEST'])){const _0x5477d1=_0x4bed75[_0x3af046(0x19e)];logger[_0x3af046(0x1ed)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x5477d1['id']+'}');const _0x39995d=TestInfo[_0x3af046(0x16e)](_0x5ca9df[_0x3af046(0x235)](getTestRunIdentifier,_0x5477d1,_0x4bed75[_0x3af046(0x192)][_0x3af046(0x15a)]));_0x277a49['addMultipleEntries'](this['parsePlaywrightTest'](_0x39995d,_0x5477d1,_0x4bed75[_0x3af046(0x192)])),logger['debug'](_0x3af046(0x17e)+_0x5477d1['id']+_0x3af046(0x1b0)+_0xc9b41b+_0x3af046(0x15c)+_0x25b157+_0x3af046(0x232)+_0x277a49[_0x3af046(0x1b9)]());}if(_0x5ca9df['XSknE'](_0x25b157,HookState[_0x3af046(0x1eb)])&&_0x5ca9df[_0x3af046(0x183)](_0xc9b41b,TestFrameworkState[_0x3af046(0x1ff)])){const _0x5d2b46=_0x4bed75['test'],_0x4838d5=_0x4bed75[_0x3af046(0x192)];logger[_0x3af046(0x1ed)](_0x3af046(0x1ea)+_0x5d2b46['id']),_0x277a49[_0x3af046(0x185)](this[_0x3af046(0x15e)](_0x5d2b46['id'],_0x4838d5,_0x5d2b46)),await this[_0x3af046(0x233)](_0x277a49,_0xc9b41b,_0x25b157,_0x5ca9df[_0x3af046(0x215)],_0x4bed75);}if(CLIUtils['matchHookRegex'](_0xc9b41b[_0x3af046(0x1dd)]()[_0x3af046(0x1f3)]('.')[0x1])){const _0x50eb7d=await this[_0x3af046(0x23b)](_0x277a49,_0xc9b41b,_0x25b157,_0x4bed75);_0x277a49[_0x3af046(0x185)](_0x50eb7d);}}catch(_0x5c572b){logger['error'](util[_0x3af046(0x171)](_0x5ca9df[_0x3af046(0x234)],_0xc9b41b,_0x25b157,_0x4bed75[_0x3af046(0x1b3)],_0x5c572b));}_0x4bed75[_0x3af046(0x229)]=_0x277a49,await this[_0x3af046(0x1e8)](_0x277a49,_0xc9b41b,_0x25b157,_0x4bed75);}[a72_0x44ec21(0x174)](_0x50b3b5,_0x271aa4,_0x30fd35={}){const _0x3e469d=a72_0x44ec21,_0x326ef4={};_0x326ef4['eaqLM']=function(_0x5203e0,_0x548d01){return _0x5203e0===_0x548d01;},_0x326ef4[_0x3e469d(0x20a)]=function(_0x1af6c1,_0x358b8a){return _0x1af6c1===_0x358b8a;};const _0x5876af=_0x326ef4;let _0x13f16e=null;return(_0x5876af['eaqLM'](_0x50b3b5,TestFrameworkState['INIT_TEST'])||_0x5876af[_0x3e469d(0x20a)](_0x50b3b5,TestFrameworkState[_0x3e469d(0x1c3)]))&&this[_0x3e469d(0x184)](_0x50b3b5,_0x30fd35),_0x13f16e=TestFramework[_0x3e469d(0x170)](),_0x13f16e;}[a72_0x44ec21(0x184)](_0x37aaca,_0x15cc2f){const _0xf61d09=a72_0x44ec21,_0x1e9ef6=CLIUtils[_0xf61d09(0x1c4)](),_0x392775=TrackedInstance[_0xf61d09(0x164)](_0x1e9ef6);let _0x884a9=null;logger[_0xf61d09(0x1fe)](_0xf61d09(0x159)+_0x1e9ef6+_0xf61d09(0x21a)+_0x37aaca),_0x884a9=new TestFrameworkInstance(_0x392775,this[_0xf61d09(0x16b)](),this['getTestFrameworksVersions'](),_0x37aaca,HookState[_0xf61d09(0x1c3)]),TestFramework[_0xf61d09(0x212)](_0x392775,_0x884a9),logger[_0xf61d09(0x1fe)](_0xf61d09(0x1d2)+_0x392775[_0xf61d09(0x1b1)]()+_0xf61d09(0x166)+_0x1e9ef6);}[a72_0x44ec21(0x218)](_0x21d189,_0x5113c5,_0x13f343){const _0x2e2093=a72_0x44ec21,_0x41112b={'WimVq':function(_0x165dce,_0x3f2d67){return _0x165dce(_0x3f2d67);},'sBPlz':function(_0x458789,_0x3c9997){return _0x458789(_0x3c9997);},'qIpWG':function(_0x488140,_0x2bfd6c){return _0x488140(_0x2bfd6c);},'OQKEV':function(_0x52e641,_0x27f735){return _0x52e641(_0x27f735);},'XKFqC':function(_0x57956f,_0x56c0d4){return _0x57956f(_0x56c0d4);},'kufMK':function(_0x213224,_0x21da1d){return _0x213224(_0x21da1d);},'NcEiz':function(_0x268c44,_0x72cc8a){return _0x268c44(_0x72cc8a);},'WtJSn':function(_0x55d8fc,_0x56deed,_0x10d8e8){return _0x55d8fc(_0x56deed,_0x10d8e8);},'HRHqk':function(_0x2ce34d,_0x6cc327){return _0x2ce34d(_0x6cc327);}},_0x5349eb=_0x41112b[_0x2e2093(0x22f)](getPlaywrightTestId,_0x5113c5),_0x100857=_0x41112b[_0x2e2093(0x1d1)](getPlaywrightTestTitle,_0x5113c5),_0x35ca9f=_0x41112b['WimVq'](getTestTags,_0x5113c5),_0x1695f1=_0x41112b[_0x2e2093(0x1ec)](getPlaywrightTestCode,_0x5113c5),_0x5bb39e=_0x41112b[_0x2e2093(0x1d1)](getPlaywrightTestFilePath,_0x5113c5),_0x12a8dd=_0x5bb39e+':'+_0x41112b[_0x2e2093(0x181)](getPlaywrightTestLocation,_0x5113c5),_0x1e7d5f=_0x41112b[_0x2e2093(0x21c)](getPlaywrightTestScope,_0x5113c5),_0x264777=_0x41112b[_0x2e2093(0x1e7)](getPlaywrightTestScopes,_0x5113c5),_0x34edd3=_0x41112b[_0x2e2093(0x224)](getPlaywrightSessionName,_0x5113c5),_0x26b614=this[_0x2e2093(0x16b)]()[0x0],_0xd7357a=_0x41112b[_0x2e2093(0x1ad)](getTestRunIdentifier,_0x5113c5,_0x13f343['retry']),_0x1b53be={[TestFrameworkConstants[_0x2e2093(0x177)]]:_0x26b614,[TestFrameworkConstants[_0x2e2093(0x1c2)]]:this[_0x2e2093(0x17d)]()[_0x26b614],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x2e2093(0x226)]]:{},[TestFrameworkConstants[_0x2e2093(0x1ae)]]:_0x21d189,[TestFrameworkConstants[_0x2e2093(0x194)]]:TestFrameworkConstants[_0x2e2093(0x1ab)],[TestFrameworkConstants[_0x2e2093(0x15b)]]:_0x34edd3,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5bb39e,[TestFrameworkConstants['KEY_TEST_ID']]:_0x5349eb,[TestFrameworkConstants[_0x2e2093(0x161)]]:_0x100857,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x12a8dd,[TestFrameworkConstants[_0x2e2093(0x1d7)]]:_0x1695f1,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x35ca9f,[TestFrameworkConstants[_0x2e2093(0x1ca)]]:_0x5113c5['results'][0x0][_0x2e2093(0x1f8)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x1e7d5f,[TestFrameworkConstants[_0x2e2093(0x24a)]]:_0x264777,[TestFrameworkConstants[_0x2e2093(0x1a3)]]:_0x41112b[_0x2e2093(0x160)](getPlaywrightCustomRerunParam,_0x5113c5)};TestInfo[_0x2e2093(0x236)](_0xd7357a,_0x1b53be);const _0x162c9e={};return _0x162c9e[_0xd7357a]=_0x1b53be,_0x162c9e;}['parsePlaywrightTestResult'](_0x16b2ff,_0x4b7eda,_0x288c86){const _0x21d6d2=a72_0x44ec21,_0x2b58d9={'eNLLY':function(_0x92cdd4,_0x1a963e){return _0x92cdd4(_0x1a963e);},'PvEwz':_0x21d6d2(0x1aa),'MTZJD':function(_0x142175,_0x46b86c){return _0x142175===_0x46b86c;},'aCzHA':function(_0x16174c,_0x560ec0){return _0x16174c===_0x560ec0;},'zIwse':function(_0x501332,_0x206668){return _0x501332===_0x206668;},'WxorO':'No\x20reason\x20provided','GIxdt':_0x21d6d2(0x1ac),'TgXYL':function(_0x2204c0,_0x29f369,_0x235309){return _0x2204c0(_0x29f369,_0x235309);},'WmBDF':function(_0x49eeb5,_0x49f6ef){return _0x49eeb5+_0x49f6ef;},'dhmXz':function(_0x378e7f,_0x7d2878){return _0x378e7f===_0x7d2878;},'Jdvlp':function(_0x28c6ff,_0x5bdec7){return _0x28c6ff===_0x5bdec7;},'HUkIk':'skipped','ebwwJ':_0x21d6d2(0x213),'UOHoN':function(_0x19a0dc,_0x55af39){return _0x19a0dc===_0x55af39;},'iegtO':_0x21d6d2(0x1f7),'cLxuz':function(_0x5524a8,_0x38861){return _0x5524a8===_0x38861;},'lFdUI':_0x21d6d2(0x17b),'GNXNm':_0x21d6d2(0x1db),'jDIlJ':function(_0x10c3e0,_0x2753db,_0x3db1f8){return _0x10c3e0(_0x2753db,_0x3db1f8);},'XSSPf':function(_0x5de745,_0xfc26a3){return _0x5de745||_0xfc26a3;},'dpXvk':function(_0x3cf1a6,_0x38699e){return _0x3cf1a6>_0x38699e;},'yRSGa':function(_0x5bc293,_0x4c8d4b,_0x50747e){return _0x5bc293(_0x4c8d4b,_0x50747e);},'nIOZB':function(_0x1ca068,_0x225f83){return _0x1ca068-_0x225f83;},'zfCLG':function(_0x3c4c46,_0x3c992b,_0x26aa29){return _0x3c4c46(_0x3c992b,_0x26aa29);},'OKKnT':_0x21d6d2(0x21b),'JkvxO':function(_0x15b340,_0x54960e){return _0x15b340(_0x54960e);},'Dggfb':function(_0x5753c2,_0x5eaffa,_0x327df3){return _0x5753c2(_0x5eaffa,_0x327df3);},'Azwse':function(_0x447fc3,_0x25ed8b){return _0x447fc3>_0x25ed8b;}};logger[_0x21d6d2(0x1ed)](_0x21d6d2(0x243)+_0x16b2ff);const _0x43e466=_0x2b58d9[_0x21d6d2(0x214)](getTestRunIdentifier,_0x288c86,_0x4b7eda[_0x21d6d2(0x15a)]),_0x282043=new Date(_0x4b7eda['startTime']),_0x431a6b=_0x4b7eda[_0x21d6d2(0x1fa)],_0x1c35b6=new Date(_0x2b58d9['WmBDF'](_0x282043[_0x21d6d2(0x20c)](),_0x431a6b)),_0xe83a2b=_0x4b7eda[_0x21d6d2(0x175)],_0x750c28=TestInfo['getTestDetails'](_0x43e466)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x199eff=_0xe83a2b;if(_0x2b58d9[_0x21d6d2(0x1df)](_0x4b7eda['status'],_0x288c86[_0x21d6d2(0x165)]))_0x199eff=_0x2b58d9['Jdvlp'](_0x4b7eda[_0x21d6d2(0x175)],_0x2b58d9[_0x21d6d2(0x1c1)])?_0x2b58d9[_0x21d6d2(0x1c1)]:_0x2b58d9[_0x21d6d2(0x188)];else{(_0x2b58d9[_0x21d6d2(0x1c6)](_0x199eff,_0x2b58d9[_0x21d6d2(0x188)])||_0x2b58d9['UOHoN'](_0x199eff,_0x2b58d9[_0x21d6d2(0x22e)])||_0x2b58d9[_0x21d6d2(0x223)](_0x199eff,_0x2b58d9[_0x21d6d2(0x23d)]))&&(_0x199eff=_0x2b58d9['iegtO']);if(_0x2b58d9[_0x21d6d2(0x223)](_0x4b7eda[_0x21d6d2(0x175)],_0x2b58d9['ebwwJ'])&&_0x2b58d9['cLxuz'](_0x288c86[_0x21d6d2(0x165)],_0x2b58d9['iegtO'])){const _0x225d8f={};_0x225d8f[_0x21d6d2(0x1ee)]=_0x2b58d9[_0x21d6d2(0x178)],_0x225d8f[_0x21d6d2(0x208)]=_0x2b58d9['GNXNm'],_0x4b7eda['error']=_0x225d8f,_0x4b7eda['errors']=[_0x4b7eda[_0x21d6d2(0x163)]];}}const {failureData:_0x4eced0,logs:_0x3eb2b4}=_0x2b58d9[_0x21d6d2(0x241)](getFailureData,_0x4b7eda?.[_0x21d6d2(0x179)],{}),_0x226784={[TestFrameworkConstants[_0x21d6d2(0x244)]]:_0x2b58d9['XSSPf'](_0x4eced0,null),[TestFrameworkConstants[_0x21d6d2(0x20d)]]:_0x4b7eda?.[_0x21d6d2(0x163)]&&_0x2b58d9[_0x21d6d2(0x1cb)](getFailureType,_0x4b7eda[_0x21d6d2(0x163)][_0x21d6d2(0x1ee)]),[TestFrameworkConstants[_0x21d6d2(0x220)]]:_0x4b7eda?.[_0x21d6d2(0x163)]&&_0x2b58d9[_0x21d6d2(0x1cb)](removeAnsiColors,_0x4b7eda['error']['message']),[TestFrameworkConstants[_0x21d6d2(0x196)]]:[],[TestFrameworkConstants[_0x21d6d2(0x194)]]:_0x199eff,[TestFrameworkConstants[_0x21d6d2(0x23a)]]:_0x1c35b6[_0x21d6d2(0x1a5)](),[TestFrameworkConstants[_0x21d6d2(0x1cd)]]:new Date()[_0x21d6d2(0x1a5)](),[TestFrameworkConstants[_0x21d6d2(0x17c)]]:_0x750c28};if(_0x4b7eda&&_0x2b58d9[_0x21d6d2(0x15f)](_0x4b7eda['retry'],0x0)){const _0x1f271a=TestInfo[_0x21d6d2(0x16e)](_0x2b58d9[_0x21d6d2(0x1b6)](getTestRunIdentifier,_0x288c86,_0x2b58d9[_0x21d6d2(0x1e0)](_0x4b7eda[_0x21d6d2(0x15a)],0x1)));_0x226784[TestFrameworkConstants[_0x21d6d2(0x21f)]]=_0x1f271a;}const _0x355766={};_0x355766[_0x21d6d2(0x19e)]=_0x288c86;const _0x2a19f5=this[_0x21d6d2(0x174)](TestFrameworkState[_0x21d6d2(0x1ff)],HookState[_0x21d6d2(0x1eb)],_0x355766),_0x355351=_0x2a19f5[_0x21d6d2(0x231)]()[_0x21d6d2(0x1c5)](_0x43e466)[TestFrameworkConstants['KEY_TEST_UUID']],_0x541ff1=[],_0x1d0a19=_0x2b58d9[_0x21d6d2(0x19a)](findNestedKey,_0x4b7eda,_0x2b58d9[_0x21d6d2(0x172)]);if(_0x1d0a19&&_0x2b58d9[_0x21d6d2(0x237)](validateFilePath,_0x1d0a19))try{_0x541ff1[_0x21d6d2(0x1a9)]({'kind':_0x2b58d9[_0x21d6d2(0x227)],'timestamp':new Date()[_0x21d6d2(0x1a5)](),'test_run_uuid':_0x355351,'file_name':path[_0x21d6d2(0x176)](_0x1d0a19),'file_size':fs[_0x21d6d2(0x1bf)](_0x1d0a19)[_0x21d6d2(0x1c8)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x172854){logger[_0x21d6d2(0x163)](_0x21d6d2(0x18b)+_0x1d0a19+':\x20'+_0x172854[_0x21d6d2(0x1ee)]);}const _0x5d2fd4=TestInfo[_0x21d6d2(0x193)](),_0x2fec81=_0x5d2fd4[_0x21d6d2(0x1bb)](_0xb4fb75=>_0xb4fb75[_0x21d6d2(0x22c)]===_0x355351);_0x2fec81['forEach'](_0x29ce3b=>{const _0x436191=_0x21d6d2;if(_0x29ce3b[_0x436191(0x1cf)]&&_0x2b58d9[_0x436191(0x1cb)](validateFilePath,_0x29ce3b[_0x436191(0x1cf)])&&!_0x541ff1[_0x436191(0x23c)](_0x36c351=>_0x36c351['file_name']===path[_0x436191(0x176)](_0x29ce3b[_0x436191(0x1cf)])))try{_0x541ff1[_0x436191(0x1a9)]({'kind':_0x2b58d9[_0x436191(0x227)],'timestamp':new Date()[_0x436191(0x1a5)](),'test_run_uuid':_0x355351,'file_name':path[_0x436191(0x176)](_0x29ce3b[_0x436191(0x1cf)]),'file_size':fs[_0x436191(0x1bf)](_0x29ce3b['filePath'])[_0x436191(0x1c8)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xc8875d){logger[_0x436191(0x163)](_0x436191(0x23f)+_0x29ce3b['filePath']+'\x20from\x20TestDetails:\x20'+_0xc8875d['message']);}});if(_0x2b58d9[_0x21d6d2(0x15f)](_0x541ff1[_0x21d6d2(0x1b3)],0x0)){const _0x1bcfbd=_0x226784[TestFrameworkConstants['KEY_LOGS']]||[];_0x226784[TestFrameworkConstants[_0x21d6d2(0x196)]]=[..._0x1bcfbd,..._0x541ff1];}const _0x3a5b9a=TestInfo[_0x21d6d2(0x1a8)](_0x43e466)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x298996=_0x2b58d9[_0x21d6d2(0x1b4)](getManualUploadLogs,_0x3a5b9a,_0x2a19f5[_0x21d6d2(0x231)]()[_0x21d6d2(0x1c5)](_0x43e466)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x2b58d9[_0x21d6d2(0x16a)](_0x298996[_0x21d6d2(0x1b3)],0x0)){const _0x2fe3d4=_0x226784[TestFrameworkConstants['KEY_LOGS']]||[];_0x226784[TestFrameworkConstants[_0x21d6d2(0x196)]]=[..._0x2fe3d4,..._0x298996];}const _0x3693d8=_0x288c86[_0x21d6d2(0x1b8)]||[],_0x5841b8=_0x226784[TestFrameworkConstants[_0x21d6d2(0x17c)]]||{};_0x3693d8[_0x21d6d2(0x18a)](_0x5fe415=>{const _0x2cad18=_0x21d6d2,{type:_0x196a25}=_0x5fe415;let _0x2f050a=_0x5fe415[_0x2cad18(0x1b7)];if(!_0x196a25)return;(_0x2b58d9[_0x2cad18(0x1ba)](_0x2f050a,undefined)||_0x2b58d9[_0x2cad18(0x1c6)](_0x2f050a,null)||_0x2b58d9['zIwse'](_0x2b58d9[_0x2cad18(0x1cb)](String,_0x2f050a)['trim'](),''))&&(_0x2f050a=_0x2b58d9[_0x2cad18(0x205)]);if(!_0x5841b8[_0x196a25]){const _0x4089d7={};_0x4089d7[_0x2cad18(0x242)]=_0x2b58d9[_0x2cad18(0x245)],_0x4089d7[_0x2cad18(0x20f)]=[],_0x5841b8[_0x196a25]=_0x4089d7;}else!_0x5841b8[_0x196a25][_0x2cad18(0x242)]&&(_0x5841b8[_0x196a25][_0x2cad18(0x242)]=_0x2b58d9[_0x2cad18(0x245)]),!Array['isArray'](_0x5841b8[_0x196a25]['values'])&&(_0x5841b8[_0x196a25][_0x2cad18(0x20f)]=[]);const _0x418869=_0x2b58d9[_0x2cad18(0x1cb)](String,_0x2f050a)['split'](',')[_0x2cad18(0x18e)](_0x19695a=>_0x19695a[_0x2cad18(0x225)]());_0x5841b8[_0x196a25]['values']=[...new Set([..._0x5841b8[_0x196a25][_0x2cad18(0x20f)],..._0x418869])];}),_0x226784[TestFrameworkConstants[_0x21d6d2(0x17c)]]=_0x5841b8,TestInfo[_0x21d6d2(0x236)](_0x43e466,_0x226784);const _0x22d309={};return _0x22d309[_0x43e466]=_0x226784,_0x22d309;}async[a72_0x44ec21(0x23b)](_0x2e21ed,_0x3bd8e1,_0x14f7e4,_0x227f7d){const _0x2c87fc=a72_0x44ec21,_0x40cdda={'Amqjj':function(_0x355e66,_0xfe69a3,_0x41e5f9){return _0x355e66(_0xfe69a3,_0x41e5f9);},'wgNYp':function(_0x200504,_0x4d130f){return _0x200504 in _0x4d130f;},'rktCr':function(_0x56f102,_0x17c1f8){return _0x56f102 in _0x17c1f8;},'mlKOF':function(_0x22a2d8,_0x39071f){return _0x22a2d8(_0x39071f);},'xAStg':function(_0x263f69,_0x17d079){return _0x263f69(_0x17d079);},'qkxhn':function(_0x4e070e,_0x4ecabb){return _0x4e070e===_0x4ecabb;},'PRUVl':function(_0x222d9c){return _0x222d9c();},'Wmjnw':function(_0x46f500,_0x49c406){return _0x46f500===_0x49c406;},'RFmcP':function(_0x52c262,_0x5515ca){return _0x52c262>_0x5515ca;},'FQFDI':function(_0x44867b,_0x204282,_0x1f940e){return _0x44867b(_0x204282,_0x1f940e);},'ojjnT':_0x2c87fc(0x22d),'jAdEJ':_0x2c87fc(0x1f7),'wfQGu':_0x2c87fc(0x213),'PBMud':function(_0x3c105f,_0x40d336){return _0x3c105f!==_0x40d336;},'XboBN':function(_0x102a47,_0x53081a){return _0x102a47+_0x53081a;},'SLweQ':_0x2c87fc(0x1ce)},_0x34ed78=_0x227f7d['test'],_0x1319f5=_0x227f7d[_0x2c87fc(0x191)],_0x1a7b1c=_0x40cdda['Amqjj'](getTestRunIdentifier,_0x34ed78,_0x227f7d['result'][_0x2c87fc(0x15a)]),_0x2736bf=_0x3bd8e1[_0x2c87fc(0x1dd)]()[_0x2c87fc(0x1f3)]('.')[0x1];let _0x34992e=_0x2e21ed[_0x2c87fc(0x231)]()[_0x2c87fc(0x1c5)](_0x1a7b1c)[TestFrameworkConstants[_0x2c87fc(0x226)]];!_0x34992e&&(_0x34992e={});!_0x40cdda[_0x2c87fc(0x216)](_0x2736bf,_0x34992e)&&(_0x34992e[_0x2736bf]=[]);let _0x2e043d=_0x2e21ed[_0x2c87fc(0x231)]()[_0x2c87fc(0x1c5)](_0x1a7b1c)[TestFrameworkConstants[_0x2c87fc(0x246)]];!_0x2e043d&&(_0x2e043d={});!_0x40cdda[_0x2c87fc(0x199)](_0x2736bf,_0x2e043d)&&(_0x2e043d[_0x2736bf]=[]);const _0x4cdb03={[TestFrameworkConstants[_0x2c87fc(0x226)]]:_0x34992e,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x2e043d},_0x5df769={};_0x5df769[_0x1a7b1c]=_0x4cdb03;const _0x45daa4=_0x5df769,_0x2175b8=_0x40cdda[_0x2c87fc(0x16f)](getPlaywrightTestFilePath,_0x34ed78),_0x2dd656=_0x2175b8+':'+_0x40cdda['xAStg'](getPlaywrightTestLocation,_0x34ed78),_0x31e801=TestInfo[_0x2c87fc(0x1a8)](_0x1a7b1c)[TestFrameworkConstants[_0x2c87fc(0x17c)]]||{};if(_0x40cdda[_0x2c87fc(0x23e)](_0x14f7e4,HookState[_0x2c87fc(0x1a4)])){const _0x383a6b={'key':_0x2736bf,[TestFrameworkConstants[_0x2c87fc(0x248)]]:_0x40cdda[_0x2c87fc(0x1f4)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x2c87fc(0x1a2)]]:_0x1319f5[_0x2c87fc(0x1f8)],[TestFrameworkConstants[_0x2c87fc(0x190)]]:[],[TestFrameworkConstants[_0x2c87fc(0x207)]]:_0x1319f5[_0x2c87fc(0x1e5)],[TestFrameworkConstants[_0x2c87fc(0x1da)]]:_0x2175b8,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x2dd656,[TestFrameworkConstants[_0x2c87fc(0x17c)]]:_0x31e801};_0x34992e[_0x2736bf][_0x2c87fc(0x1a9)](_0x383a6b),_0x45daa4[_0x1a7b1c][TestFrameworkConstants[_0x2c87fc(0x219)]]=_0x2736bf,logger[_0x2c87fc(0x1ed)](_0x2c87fc(0x1d4)+_0x2736bf+_0x2c87fc(0x15d)+_0x383a6b+_0x2c87fc(0x187)+_0x227f7d);}else{if(_0x40cdda[_0x2c87fc(0x1be)](_0x14f7e4,HookState[_0x2c87fc(0x1eb)])){const _0x3407bd=await _0x227f7d[_0x2c87fc(0x192)],_0x1cbd84=_0x34992e[_0x2736bf]||[],_0xe5d481=_0x227f7d[_0x2c87fc(0x191)];logger[_0x2c87fc(0x1ed)](_0x2c87fc(0x1bd)+_0x1cbd84+'\x20and\x20args\x20=\x20'+_0x227f7d);if(_0x40cdda[_0x2c87fc(0x1e2)](_0x1cbd84['length'],0x0)){const _0x38fbb8=_0x1cbd84['pop']();if(_0xe5d481[_0x2c87fc(0x163)]){const _0x42bd09=_0x40cdda[_0x2c87fc(0x1cc)](failureData,_0xe5d481[_0x2c87fc(0x163)],_0x40cdda[_0x2c87fc(0x238)]);_0x38fbb8[TestFrameworkConstants[_0x2c87fc(0x240)]]=_0x40cdda[_0x2c87fc(0x1fc)](getFailureType,_0xe5d481?.['error'][_0x2c87fc(0x1ee)]),_0x38fbb8[TestFrameworkConstants[_0x2c87fc(0x1f6)]]=_0x40cdda['xAStg'](removeAnsiColors,_0xe5d481?.[_0x2c87fc(0x163)][_0x2c87fc(0x1ee)]),_0x38fbb8[TestFrameworkConstants[_0x2c87fc(0x1e9)]]=_0x40cdda['jAdEJ'],_0x38fbb8[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x42bd09;}else _0x38fbb8[TestFrameworkConstants[_0x2c87fc(0x1e9)]]=_0x40cdda[_0x2c87fc(0x1e1)];_0x40cdda[_0x2c87fc(0x20b)](_0x3407bd,TestFrameworkConstants[_0x2c87fc(0x221)])&&(_0x38fbb8[TestFrameworkConstants[_0x2c87fc(0x1e9)]]=!_0xe5d481[_0x2c87fc(0x163)]?_0x40cdda['wfQGu']:_0x40cdda[_0x2c87fc(0x217)]);const _0x4e31a7=new Date(_0xe5d481[_0x2c87fc(0x1f8)]),_0x34228b=new Date(_0x40cdda[_0x2c87fc(0x206)](_0x4e31a7[_0x2c87fc(0x20c)](),_0xe5d481[_0x2c87fc(0x1fa)]));_0x38fbb8[TestFrameworkConstants[_0x2c87fc(0x1fd)]]=_0x34228b[_0x2c87fc(0x1a5)](),_0x38fbb8[TestFrameworkConstants[_0x2c87fc(0x17c)]]=_0x31e801;const _0x2071d3=_0x38fbb8[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x2c87fc(0x233)](_0x2e21ed,_0x3bd8e1,_0x2071d3,_0x40cdda[_0x2c87fc(0x1d6)],_0x227f7d),!_0x2e043d[_0x2736bf]&&(_0x2e043d[_0x2736bf]=[]),_0x2e043d[_0x2736bf][_0x2c87fc(0x1a9)](_0x38fbb8),_0x45daa4[_0x1a7b1c][TestFrameworkConstants[_0x2c87fc(0x228)]]=_0x2736bf;}}}return _0x45daa4;}async[a72_0x44ec21(0x233)](_0x2eccf4,_0x556055,_0x48b143,_0x4c218f,_0x55220c){const _0x2b2178=a72_0x44ec21,_0x4c2c42={'QsurQ':function(_0x4c6ade,_0x3e15c3){return _0x4c6ade===_0x3e15c3;},'EXzLY':_0x2b2178(0x19e),'dAJOj':function(_0xc2f8dc,_0x597311,_0x397eee){return _0xc2f8dc(_0x597311,_0x397eee);},'GzOLd':_0x2b2178(0x19b),'dBOaG':function(_0x50738f,_0x47dde7,_0x425880,_0x31665a){return _0x50738f(_0x47dde7,_0x425880,_0x31665a);},'QjoYo':function(_0x58f3c8,_0x489256,_0x53d080){return _0x58f3c8(_0x489256,_0x53d080);},'LslAm':function(_0x331931,_0x42e12e,_0x4e74ec){return _0x331931(_0x42e12e,_0x4e74ec);},'esjqO':function(_0x46a8db,_0xc41a97){return _0x46a8db/_0xc41a97;},'JUKhB':function(_0x22d4ad,_0x3fd3e1){return _0x22d4ad<_0x3fd3e1;},'oadpS':function(_0x405bbd,_0x55e3b6){return _0x405bbd*_0x55e3b6;},'Aogli':function(_0x15df1e,_0x172711){return _0x15df1e+_0x172711;},'nBUSu':function(_0x3e0ab5,_0x4fa648,_0x1e6834,_0x37b619,_0x51ff09){return _0x3e0ab5(_0x4fa648,_0x1e6834,_0x37b619,_0x51ff09);},'YUdTh':function(_0x27729e,_0x1749e7){return _0x27729e+_0x1749e7;},'chjnz':_0x2b2178(0x1ce),'KKGaJ':function(_0x193812,_0x57570e,_0x538797){return _0x193812(_0x57570e,_0x538797);}};try{if(_0x4c2c42[_0x2b2178(0x17a)](_0x4c218f,_0x4c2c42[_0x2b2178(0x173)])){const _0x1ff376=await _0x55220c[_0x2b2178(0x192)],_0x4a22c1=_0x4c2c42[_0x2b2178(0x202)](getTestRunIdentifier,_0x55220c[_0x2b2178(0x19e)],_0x55220c[_0x2b2178(0x192)][_0x2b2178(0x15a)]),_0x2112c5=_0x55220c[_0x2b2178(0x19e)];logger[_0x2b2178(0x1ed)](_0x2b2178(0x1d3)+_0x4a22c1+_0x2b2178(0x1e6)+util[_0x2b2178(0x19d)](_0x1ff376));const _0x4a965f=_0x2eccf4[_0x2b2178(0x231)]()[_0x2b2178(0x1c5)](_0x4a22c1)[TestFrameworkConstants[_0x2b2178(0x1ae)]];await _0x4c2c42[_0x2b2178(0x202)](sendTraceZip,_0x1ff376,_0x4a965f);const _0x24c0d7=TestInfo['getTestDetails'](_0x4a22c1)[_0x4c2c42[_0x2b2178(0x1f5)]],_0x1f65f3={};if(_0x24c0d7){!_0x1ff376[_0x2b2178(0x19b)]&&(_0x1ff376[_0x2b2178(0x19b)]=[]);_0x1f65f3['attachments']=_0x1ff376['attachments'][_0x2b2178(0x201)](_0x24c0d7||[]);const _0x3f3ae6=TestInfo[_0x2b2178(0x1a8)](_0x4a22c1);delete _0x3f3ae6[_0x4c2c42[_0x2b2178(0x1f5)]],TestInfo[_0x2b2178(0x236)](_0x4a22c1,_0x3f3ae6);}const {steps:_0x2053e0,logs:_0x194ab3}=_0x4c2c42[_0x2b2178(0x197)](getStepsAndLogs,_0x1ff376[_0x2b2178(0x20e)],_0x2eccf4[_0x2b2178(0x231)]()[_0x2b2178(0x1c5)](_0x4a22c1)[TestFrameworkConstants[_0x2b2178(0x1ae)]],_0x4c2c42[_0x2b2178(0x173)]),_0x45383b=_0x4c2c42['dAJOj'](getScreenshots,_0x1f65f3,_0x2eccf4[_0x2b2178(0x231)]()[_0x2b2178(0x1c5)](_0x4a22c1)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x494800=_0x4c2c42[_0x2b2178(0x22a)](getVideos,_0x1ff376,_0x2eccf4[_0x2b2178(0x231)]()[_0x2b2178(0x1c5)](_0x4a22c1)[TestFrameworkConstants[_0x2b2178(0x1ae)]]),{_:_0x558f27,logs:_0x2e30db}=_0x4c2c42['LslAm'](getFailureData,_0x1ff376[_0x2b2178(0x179)],{'test_run_uuid':_0x2eccf4[_0x2b2178(0x231)]()['get'](_0x4a22c1)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x502506=TestInfo[_0x2b2178(0x1a8)](_0x4a22c1)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x249db7=_0x4c2c42['dAJOj'](getMediaArtifactsLogs,_0x502506,_0x2eccf4['getAllData']()[_0x2b2178(0x1c5)](_0x4a22c1)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x1351d5=_0x2eccf4[_0x2b2178(0x231)]()[_0x2b2178(0x1c5)](_0x4a22c1),{[TestFrameworkConstants[_0x2b2178(0x177)]]:_0x42de87='',[TestFrameworkConstants[_0x2b2178(0x1c2)]]:_0x5714c9=''}=_0x1351d5,_0x3587e9=(_0x194ab3||[])[_0x2b2178(0x201)](_0x45383b||[])[_0x2b2178(0x201)](_0x2e30db||[])['concat'](_0x494800||[])[_0x2b2178(0x201)](_0x249db7||[]),_0x2a4840=0x28,_0x42da82=Math[_0x2b2178(0x200)](_0x4c2c42[_0x2b2178(0x1c7)](_0x3587e9[_0x2b2178(0x1b3)],_0x2a4840));for(let _0x38195a=0x0;_0x4c2c42[_0x2b2178(0x19f)](_0x38195a,_0x42da82);_0x38195a++){const _0x399f0c=_0x4c2c42['oadpS'](_0x38195a,_0x2a4840),_0x26f49d=_0x4c2c42['Aogli'](_0x399f0c,_0x2a4840),_0x3ea732=_0x3587e9[_0x2b2178(0x211)](_0x399f0c,_0x26f49d),_0x209f29={'platformIndex':'0','logs':_0x3ea732,'testFrameworkName':_0x42de87,'testFrameworkVersion':_0x5714c9,'testFrameworkState':_0x556055[_0x2b2178(0x1dd)]()[_0x2b2178(0x1f3)]('.')[0x1]};_0x4c2c42['nBUSu'](updatePayloadForTraceLogs,_0x209f29,_0x55220c,_0x4a22c1,_0x2eccf4),logger[_0x2b2178(0x1ed)](_0x2b2178(0x1a0)+_0x4a22c1+_0x2b2178(0x1bc)+_0x4c2c42['Aogli'](_0x38195a,0x1)+'/'+_0x42da82+_0x2b2178(0x167)+util[_0x2b2178(0x19d)](_0x209f29));const _0x40301d=await GrpcClient[_0x2b2178(0x180)]()['logCreatedEvent'](_0x209f29);logger[_0x2b2178(0x1ed)](_0x2b2178(0x1a0)+_0x4a22c1+_0x2b2178(0x1bc)+_0x4c2c42[_0x2b2178(0x230)](_0x38195a,0x1)+'/'+_0x42da82+_0x2b2178(0x1d8)+util['inspect'](_0x40301d));}}else{const {steps:_0x18c9a6,logs:_0x313096}=_0x4c2c42[_0x2b2178(0x197)](getStepsAndLogs,_0x55220c[_0x2b2178(0x191)][_0x2b2178(0x20e)],_0x48b143,_0x4c2c42[_0x2b2178(0x18c)]),_0x2f33e6=_0x4c2c42['KKGaJ'](getTestRunIdentifier,_0x55220c[_0x2b2178(0x19e)],_0x55220c[_0x2b2178(0x192)]['retry']);logger[_0x2b2178(0x1ed)](_0x2b2178(0x1d3)+_0x2f33e6);const _0x13298d=_0x2eccf4[_0x2b2178(0x231)]()[_0x2b2178(0x1c5)](_0x2f33e6),{[TestFrameworkConstants[_0x2b2178(0x177)]]:_0x2e1960='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x77de05=''}=_0x13298d,_0x57ff32={'platformIndex':'0','logs':_0x313096,'testFrameworkName':_0x2e1960,'testFrameworkVersion':_0x77de05,'testFrameworkState':_0x556055[_0x2b2178(0x1dd)]()[_0x2b2178(0x1f3)]('.')[0x1]};_0x4c2c42[_0x2b2178(0x1f1)](updatePayloadForTraceLogs,_0x57ff32,_0x55220c,_0x2f33e6,_0x2eccf4),logger[_0x2b2178(0x1ed)](_0x2b2178(0x1a0)+_0x2f33e6+_0x2b2178(0x167)+util[_0x2b2178(0x19d)](_0x57ff32));const _0x482291=await GrpcClient['getInstance']()[_0x2b2178(0x16c)](_0x57ff32);}}catch(_0x3bbdbf){logger[_0x2b2178(0x163)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x2b2178(0x171)](_0x3bbdbf));}}[a72_0x44ec21(0x209)](_0x1f0dcd){const _0x4f9700=a72_0x44ec21,_0x140149={'wlRpO':function(_0x774ba1,_0x445655,_0x3f280b){return _0x774ba1(_0x445655,_0x3f280b);},'AbAdv':_0x4f9700(0x169)};try{const _0x2b9835=_0x1f0dcd[_0x4f9700(0x19e)]['id'],_0xbf5155=_0x140149[_0x4f9700(0x247)](getTestRunIdentifier,_0x1f0dcd[_0x4f9700(0x19e)],_0x1f0dcd[_0x4f9700(0x192)][_0x4f9700(0x15a)]),_0xd2b426=_0x1f0dcd['instance'],_0x5f5d3e=_0xd2b426[_0x4f9700(0x1e4)](),_0x10e6e1=_0xd2b426[_0x4f9700(0x231)]()[_0x4f9700(0x1c5)](_0xbf5155);logger[_0x4f9700(0x1ed)](_0x4f9700(0x198)+_0x2b9835);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x431baa='',[TestFrameworkConstants[_0x4f9700(0x1c2)]]:_0x50a860='',[TestFrameworkConstants[_0x4f9700(0x1ca)]]:_0x4ac4d8='',[TestFrameworkConstants[_0x4f9700(0x23a)]]:_0x2da269=''}=_0x10e6e1,_0x39a392=_0xd2b426['getCurrentTestState']()['toString']()[_0x4f9700(0x1f3)]('.')[0x1],_0x3bf4c6=_0xd2b426[_0x4f9700(0x1a7)]()[_0x4f9700(0x1dd)]()[_0x4f9700(0x1f3)]('.')[0x1],_0x42a7a2=global?.[_0x4f9700(0x1de)]?.[_0x4f9700(0x17f)]?.[_0x4f9700(0x16d)],_0x6bfe66=_0xd2b426[_0x4f9700(0x1b9)](),_0x55bd66=Buffer['from'](JSON['stringify'](_0x10e6e1))[_0x4f9700(0x1dd)](_0x140149['AbAdv']),_0x3c16ac={'hash':_0x5f5d3e[_0x4f9700(0x1b1)](),'threadId':_0x5f5d3e[_0x4f9700(0x189)]()[_0x4f9700(0x1dd)](),'processId':_0x5f5d3e[_0x4f9700(0x1d9)]()[_0x4f9700(0x1dd)]()},_0x2e9651={};_0x2e9651[_0x4f9700(0x1f0)]=_0x42a7a2,_0x2e9651['testFrameworkName']=_0x431baa,_0x2e9651['testFrameworkVersion']=_0x50a860,_0x2e9651['testFrameworkState']=_0x39a392,_0x2e9651[_0x4f9700(0x1a1)]=_0x3bf4c6,_0x2e9651[_0x4f9700(0x21e)]=_0x4ac4d8,_0x2e9651[_0x4f9700(0x249)]=_0x2da269,_0x2e9651[_0x4f9700(0x162)]=_0x6bfe66,_0x2e9651[_0x4f9700(0x1dc)]=_0x55bd66,_0x2e9651['executionContext']=_0x3c16ac;const _0x6f0f6=_0x2e9651;return logger[_0x4f9700(0x1ed)](_0x4f9700(0x1d5)+_0x2b9835+_0x4f9700(0x186)+_0x39a392+'\x20hookState:\x20'+_0x3bf4c6),_0x6f0f6;}catch(_0x3ba237){return logger[_0x4f9700(0x163)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x4f9700(0x171)](_0x3ba237)),{};}}}module[a72_0x44ec21(0x21d)]=PlaywrightTestFramework;
1
+ const a72_0x442578=a72_0x3838;(function(_0x1d5bcb,_0xb935c){const _0x37c8df=a72_0x3838,_0x4a1fa3=_0x1d5bcb();while(!![]){try{const _0x351275=-parseInt(_0x37c8df(0x26b))/0x1*(parseInt(_0x37c8df(0x238))/0x2)+parseInt(_0x37c8df(0x25c))/0x3*(parseInt(_0x37c8df(0x1e3))/0x4)+parseInt(_0x37c8df(0x1d0))/0x5*(-parseInt(_0x37c8df(0x211))/0x6)+-parseInt(_0x37c8df(0x1f8))/0x7*(-parseInt(_0x37c8df(0x282))/0x8)+-parseInt(_0x37c8df(0x203))/0x9*(parseInt(_0x37c8df(0x28f))/0xa)+parseInt(_0x37c8df(0x275))/0xb+-parseInt(_0x37c8df(0x20c))/0xc*(-parseInt(_0x37c8df(0x1ee))/0xd);if(_0x351275===_0xb935c)break;else _0x4a1fa3['push'](_0x4a1fa3['shift']());}catch(_0x5a8906){_0x4a1fa3['push'](_0x4a1fa3['shift']());}}}(a72_0x126f,0x2e1e8));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a72_0x442578(0x25f)),CLIUtils=require(a72_0x442578(0x1ec)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a72_0x442578(0x1d7)),logger=createClassLogger(a72_0x442578(0x1f3)),{v4:uuidv4}=require(a72_0x442578(0x24c)),util=require(a72_0x442578(0x1d5)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a72_0x442578(0x230)),GrpcClient=require(a72_0x442578(0x26e)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a72_0x442578(0x1b5)),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a72_0x442578(0x21b)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');function a72_0x126f(){const _0x273e12=['title','KEY_TEST_UUID','KEY_TEST_FAILURE','getTraceFilePaths','size','KEY_TEST_ENDED_AT','fsmQB','retry','KEY_TEST_RESULT','taJBq','uFgha','KEY_TEST_LOCATION','../../playwright/reporter/pwUtils','QxIFS','sendLogCreatedEvent:\x20testId=','steps','info','Expected\x20to\x20fail,\x20but\x20passed.','vImrG','\x20testState:\x20','inspect','startedAt','KEY_TEST_FILE_PATH','skipped','ggPcI','concat','ceil','values','nwklV','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','ITyqD','TEST','MGCxH','some','KEY_HOOK_LAST_STARTED','getContext','\x20from\x20TestDetails:\x20','startTime','instance','5RNKmHU','testUId','InmDU','getThreadId','qZkzc','util','setTrackedInstance','./constants/testFrameworkConstants.js','resolveInstance','filePath','\x20hookState=','WxLES','vAvvG','exports','createTestFrameworkEventPayload','logCreatedEvent','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_FRAMEWORK_NAME',',\x20testFrameworkState=','7204kwOicY','KEY_TEST_ATTACHMENTS','executionContext','uZrws','toString','testFrameworkState','UeCYo','BqCBI','fwJGD','../cliUtils.js','KEY_HOOK_FAILURE','78OgCeda','forEach','FJlno','error','getTrackedInstance','PlaywrightTestFramework','KEY_TEST_NAME','KEY_HOOK_FAILURE_TYPE','\x20batch\x20','NONE','392uZUOnc','test','createTestFrameworkEventPayload\x20testId:\x20','KEY_CUSTOM_TAGS','ceJGk','format','KEY_TEST_CODE','zMSqS','\x20result=','sendLogCreatedEvent','multi_dropdown','9DUxKTh','parallelIndex','KEY_TEST_RESULT_AT','\x20hookState:\x20','trackEvent','zvTQc','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','getCurrentHookState','TEST_SCREENSHOT','985884swmeAh','results','\x20payload=','\x20response=','zMgSD','2132148ZtsuaB','POST','getCurrentInstanceName','stack','isArray','\x20instanceId=','KEY_TEST_STARTED_AT','push','getTestFrameworksVersions','KEY_EVENT_ENDED_AT','path','\x20instance=','KEY_TEST_RETRY_OF','BjDSV','xqRfR','get','No\x20reason\x20provided','WusDl','failed','DEFAULT_TEST_RESULT','duration','DEFAULT_HOOK_RESULT','SiEva','annotations','getInstance','split','ohajd','getAllData','errors','hookState','DIOrQ','../TestInfo.js','toISOString','err','addMultipleEntries','basename','result','INIT_TEST','stringify','16GEFRzI','CBlge','workerInfo','UDbkn','TMWYT','VjSIE','kGrgg','KEY_TEST_RERUN_NAME','base64','filter','eventJson','getTestDetails','expectedStatus','statSync','WUpKo','YjBgK','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','nGSsD','Xnxpg','uuid','description','KEY_HOOK_NAME','Vrltl','vsKBT','debug','field_type','KEY_HOOK_LOGS','PXzeh','KEY_HOOKS_STARTED','createContext','getProcessId','step','aJTYM','parsePlaywrightTest','__workerDetails','318txZcMe','EtxNF','KEY_AUTOMATE_SESSION_NAME','../instances/testFrameworkInstance.js','hook','trackHookEvent','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','MFvwC','getTestIdentifierFromTestInfo','KEY_HOOK_RESULT','pop','testFrameworkName','KEY_TEST_LOGS','vmumE','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','46532GdGtHW','sendLogCreatedEvent\x20for\x20testId:\x20','trackPlaywrightInstance','../grpcClient','bssvv','AfBzs','getId','sKiva','KEY_HOOKS_FINISHED','parsePlaywrightTestResult','2093839cJFdGy','fMXuy','qjJJW','message','DdXLA','ioQfL','nRfvK','eWNqG','KEY_HOOK_ID','PRE','OiUmW','status','ZSOMl','37640PEoxJc','jnhZy','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','KEY_TEST_FAILURE_TYPE','matchHookRegex','attachments','KEY_TEST_SCOPES','Error\x20in\x20createTestFrameworkEventPayload:\x20','CedpT','iawRF','getTime','FCKbI','trim','2211590ojIQBC','getRef','KEY_LOGS','getTestFrameworks','KEY_TEST_ID','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','oqTxh','slice','bfxje','endedAt','setTestDetails','wJUOn','wwuXY','length','platformIndex','\x20&\x20hook\x20=\x20'];a72_0x126f=function(){return _0x273e12;};return a72_0x126f();}class PlaywrightTestFramework extends TestFramework{constructor(_0xc0e276,_0x584ee5,_0x294864){super(_0xc0e276,_0x584ee5,_0x294864);}async['trackEvent'](_0x24b39d,_0x1aa923,_0x4c82f8={}){const _0x57b619=a72_0x442578,_0x17041c={'qZkzc':function(_0x4f5af7,_0x4c0161){return _0x4f5af7===_0x4c0161;},'rnPaE':function(_0x14948b,_0x42d6f2){return _0x14948b===_0x42d6f2;},'nGSsD':function(_0x332a04,_0x303ef1){return _0x332a04===_0x303ef1;},'ceJGk':function(_0x11160f,_0x494231,_0x57a4c1){return _0x11160f(_0x494231,_0x57a4c1);},'SiEva':_0x57b619(0x1f9),'BjDSV':_0x57b619(0x26a)};super[_0x57b619(0x207)](_0x24b39d,_0x1aa923,_0x4c82f8);if(_0x17041c[_0x57b619(0x1d4)](_0x24b39d,TestFrameworkState[_0x57b619(0x20b)])){const _0x2e48f3=TestInfo[_0x57b619(0x264)](_0x4c82f8[_0x57b619(0x1f9)],_0x4c82f8[_0x57b619(0x1f9)]['retry']);TestInfo[_0x57b619(0x1a3)](_0x2e48f3,_0x4c82f8['result'],!![]);}const _0x53ee1c=this['resolveInstance'](_0x24b39d,_0x1aa923,_0x4c82f8);if(!_0x53ee1c)return;logger[_0x57b619(0x251)](_0x57b619(0x249)+_0x24b39d+_0x57b619(0x1da)+_0x1aa923+_0x57b619(0x216)+_0x53ee1c[_0x57b619(0x290)]());try{if(_0x17041c['rnPaE'](_0x1aa923,HookState[_0x57b619(0x27e)])&&_0x17041c[_0x57b619(0x24a)](_0x24b39d,TestFrameworkState['TEST'])){const _0x7c32a9=_0x4c82f8[_0x57b619(0x1f9)];logger[_0x57b619(0x251)](_0x57b619(0x248)+_0x7c32a9['id']+'}');const _0x7485c3=TestInfo['getTestUUID'](_0x17041c[_0x57b619(0x1fc)](getTestRunIdentifier,_0x7c32a9,_0x4c82f8[_0x57b619(0x235)][_0x57b619(0x1b0)]));_0x53ee1c[_0x57b619(0x233)](this[_0x57b619(0x25a)](_0x7485c3,_0x7c32a9,_0x4c82f8[_0x57b619(0x235)])),logger[_0x57b619(0x251)](_0x57b619(0x19e)+_0x7c32a9['id']+_0x57b619(0x1e2)+_0x24b39d+'\x20testHookState='+_0x1aa923+_0x57b619(0x21c)+_0x53ee1c['getRef']());}if(_0x17041c['qZkzc'](_0x1aa923,HookState[_0x57b619(0x212)])&&_0x17041c['qZkzc'](_0x24b39d,TestFrameworkState['TEST'])){const _0x576a71=_0x4c82f8[_0x57b619(0x1f9)],_0x23a453=_0x4c82f8[_0x57b619(0x235)];logger['debug']('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x576a71['id']),_0x53ee1c[_0x57b619(0x233)](this[_0x57b619(0x274)](_0x576a71['id'],_0x23a453,_0x576a71)),await this[_0x57b619(0x201)](_0x53ee1c,_0x24b39d,_0x1aa923,_0x17041c[_0x57b619(0x227)],_0x4c82f8);}if(CLIUtils[_0x57b619(0x286)](_0x24b39d['toString']()[_0x57b619(0x22a)]('.')[0x1])){const _0x346cae=await this[_0x57b619(0x261)](_0x53ee1c,_0x24b39d,_0x1aa923,_0x4c82f8);_0x53ee1c[_0x57b619(0x233)](_0x346cae);}}catch(_0xdc2801){logger[_0x57b619(0x1f1)](util['format'](_0x17041c[_0x57b619(0x21e)],_0x24b39d,_0x1aa923,_0x4c82f8[_0x57b619(0x1a6)],_0xdc2801));}_0x4c82f8['instance']=_0x53ee1c,await this['runHooks'](_0x53ee1c,_0x24b39d,_0x1aa923,_0x4c82f8);}[a72_0x442578(0x1d8)](_0x19b142,_0x2105c5,_0x41251a={}){const _0x6b324=a72_0x442578,_0x2f42c9={};_0x2f42c9[_0x6b324(0x276)]=function(_0x3913a7,_0x1d8d45){return _0x3913a7===_0x1d8d45;};const _0x5ccb77=_0x2f42c9;let _0x43dd48=null;return(_0x5ccb77[_0x6b324(0x276)](_0x19b142,TestFrameworkState[_0x6b324(0x236)])||_0x5ccb77['fMXuy'](_0x19b142,TestFrameworkState[_0x6b324(0x1f7)]))&&this['trackPlaywrightInstance'](_0x19b142,_0x41251a),_0x43dd48=TestFramework[_0x6b324(0x1f2)](),_0x43dd48;}[a72_0x442578(0x26d)](_0xf62cc9,_0x2be47d){const _0x327f38=a72_0x442578,_0x2ca2b9=CLIUtils[_0x327f38(0x213)](),_0x26125e=TrackedInstance[_0x327f38(0x256)](_0x2ca2b9);let _0x3e795c=null;logger[_0x327f38(0x1b9)](_0x327f38(0x262)+_0x2ca2b9+',\x20state='+_0xf62cc9),_0x3e795c=new TestFrameworkInstance(_0x26125e,this[_0x327f38(0x19c)](),this[_0x327f38(0x219)](),_0xf62cc9,HookState[_0x327f38(0x1f7)]),TestFramework[_0x327f38(0x1d6)](_0x26125e,_0x3e795c),logger[_0x327f38(0x1b9)](_0x327f38(0x209)+_0x26125e['getId']()+'\x20target='+_0x2ca2b9);}[a72_0x442578(0x25a)](_0x2dba35,_0x315518,_0x73c0d8){const _0x2031ee=a72_0x442578,_0x23ce32={'vAvvG':function(_0x7edd23,_0x13db29){return _0x7edd23(_0x13db29);},'ggPcI':function(_0x3b146f,_0x472ad0){return _0x3b146f(_0x472ad0);},'uFgha':function(_0x1895b2,_0x1c4ec1){return _0x1895b2(_0x1c4ec1);},'bssvv':function(_0x39719e,_0x4e07a8){return _0x39719e(_0x4e07a8);},'KslqJ':function(_0x1b3874,_0x3eea5a){return _0x1b3874(_0x3eea5a);},'DIOrQ':function(_0x30f123,_0x4542bd){return _0x30f123(_0x4542bd);},'ioQfL':function(_0x25a36f,_0x5dd6e8){return _0x25a36f(_0x5dd6e8);},'uzfuq':function(_0x2ec735,_0x4deb5e){return _0x2ec735(_0x4deb5e);},'fsmQB':function(_0x46dea8,_0x1d6220,_0xbddc8e){return _0x46dea8(_0x1d6220,_0xbddc8e);},'bJzMK':function(_0x22990f,_0x1b57f3){return _0x22990f(_0x1b57f3);}},_0x556aa3=_0x23ce32[_0x2031ee(0x1dc)](getPlaywrightTestId,_0x315518),_0x384c3a=_0x23ce32[_0x2031ee(0x1dc)](getPlaywrightTestTitle,_0x315518),_0x4a359f=_0x23ce32[_0x2031ee(0x1c1)](getTestTags,_0x315518),_0x36ac58=_0x23ce32[_0x2031ee(0x1b3)](getPlaywrightTestCode,_0x315518),_0x499a02=_0x23ce32[_0x2031ee(0x26f)](getPlaywrightTestFilePath,_0x315518),_0x41c729=_0x499a02+':'+_0x23ce32['KslqJ'](getPlaywrightTestLocation,_0x315518),_0x45f42f=_0x23ce32[_0x2031ee(0x22f)](getPlaywrightTestScope,_0x315518),_0xec525e=_0x23ce32[_0x2031ee(0x27a)](getPlaywrightTestScopes,_0x315518),_0x5b6cc6=_0x23ce32['uzfuq'](getPlaywrightSessionName,_0x315518),_0x14476e=this['getTestFrameworks']()[0x0],_0x3d4097=_0x23ce32[_0x2031ee(0x1af)](getTestRunIdentifier,_0x315518,_0x73c0d8[_0x2031ee(0x1b0)]),_0x2fda10={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x14476e,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this['getTestFrameworksVersions']()[_0x14476e],[TestFrameworkConstants[_0x2031ee(0x268)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x2031ee(0x255)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x2dba35,[TestFrameworkConstants[_0x2031ee(0x1b1)]]:TestFrameworkConstants[_0x2031ee(0x224)],[TestFrameworkConstants[_0x2031ee(0x25e)]]:_0x5b6cc6,[TestFrameworkConstants[_0x2031ee(0x1bf)]]:_0x499a02,[TestFrameworkConstants[_0x2031ee(0x19d)]]:_0x556aa3,[TestFrameworkConstants[_0x2031ee(0x1f4)]]:_0x384c3a,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x41c729,[TestFrameworkConstants[_0x2031ee(0x1fe)]]:_0x36ac58,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x4a359f,[TestFrameworkConstants[_0x2031ee(0x217)]]:_0x315518[_0x2031ee(0x20d)][0x0][_0x2031ee(0x1ce)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x45f42f,[TestFrameworkConstants[_0x2031ee(0x288)]]:_0xec525e,[TestFrameworkConstants[_0x2031ee(0x23f)]]:_0x23ce32['bJzMK'](getPlaywrightCustomRerunParam,_0x315518)};TestInfo[_0x2031ee(0x1a3)](_0x3d4097,_0x2fda10);const _0x14b992={};return _0x14b992[_0x3d4097]=_0x2fda10,_0x14b992;}['parsePlaywrightTestResult'](_0x711253,_0x31abb8,_0x303fcb){const _0x5dc44d=a72_0x442578,_0x33ffb7={'ohajd':function(_0x1ee0e5,_0x28b539){return _0x1ee0e5(_0x28b539);},'EtxNF':'TEST_ATTACHMENT','VjSIE':function(_0x5bafaf,_0x25fb12){return _0x5bafaf===_0x25fb12;},'zMSqS':function(_0x12cbdd,_0x2c23ee){return _0x12cbdd===_0x2c23ee;},'eWNqG':_0x5dc44d(0x221),'FCKbI':_0x5dc44d(0x202),'tYRri':function(_0x1f292e,_0x439a81,_0x20a7d0){return _0x1f292e(_0x439a81,_0x20a7d0);},'DdXLA':function(_0x42639d,_0x595534){return _0x42639d+_0x595534;},'vImrG':function(_0x67af74,_0x15a383){return _0x67af74===_0x15a383;},'WusDl':_0x5dc44d(0x1c0),'wwuXY':'passed','WxLES':'failed','vmumE':'timedOut','jnhZy':function(_0x15f7f0,_0x2fb6d9){return _0x15f7f0===_0x2fb6d9;},'bfxje':function(_0x555930,_0x46f89d){return _0x555930===_0x46f89d;},'sKiva':_0x5dc44d(0x1ba),'nRfvK':function(_0x5441d7,_0x504a59,_0x108de3){return _0x5441d7(_0x504a59,_0x108de3);},'AfBzs':function(_0x58ddc6,_0x35c94e){return _0x58ddc6||_0x35c94e;},'uZrws':function(_0x44b65c,_0x18766a){return _0x44b65c(_0x18766a);},'tFTES':function(_0x38eee7,_0x2944f6){return _0x38eee7>_0x2944f6;},'nyNoP':function(_0x380487,_0x46fca9){return _0x380487-_0x46fca9;},'LiiAZ':_0x5dc44d(0x21b),'kxejL':function(_0x58226f,_0x4ff8e6){return _0x58226f(_0x4ff8e6);},'PXzeh':function(_0x28ed7f,_0x146372){return _0x28ed7f>_0x146372;},'ZSOMl':function(_0xd126bc,_0x1fac9d,_0x18b821){return _0xd126bc(_0x1fac9d,_0x18b821);},'CBlge':function(_0x341da0,_0x5ada54){return _0x341da0>_0x5ada54;}};logger['debug']('parsePlaywrightTestResult:\x20testId='+_0x711253);const _0x354141=_0x33ffb7['tYRri'](getTestRunIdentifier,_0x303fcb,_0x31abb8['retry']),_0x493e93=new Date(_0x31abb8[_0x5dc44d(0x1ce)]),_0x23b8a7=_0x31abb8[_0x5dc44d(0x225)],_0x45f628=new Date(_0x33ffb7[_0x5dc44d(0x279)](_0x493e93[_0x5dc44d(0x28c)](),_0x23b8a7)),_0x198062=_0x31abb8[_0x5dc44d(0x280)],_0x5eb4e4=TestInfo['getTestDetails'](_0x354141)[TestFrameworkConstants[_0x5dc44d(0x1fb)]]||{};let _0x262bb1=_0x198062;if(_0x33ffb7[_0x5dc44d(0x23d)](_0x31abb8[_0x5dc44d(0x280)],_0x303fcb[_0x5dc44d(0x244)]))_0x262bb1=_0x33ffb7[_0x5dc44d(0x1bb)](_0x31abb8[_0x5dc44d(0x280)],_0x33ffb7[_0x5dc44d(0x222)])?_0x33ffb7[_0x5dc44d(0x222)]:_0x33ffb7[_0x5dc44d(0x1a5)];else{(_0x33ffb7[_0x5dc44d(0x1ff)](_0x262bb1,_0x33ffb7['wwuXY'])||_0x33ffb7['VjSIE'](_0x262bb1,_0x33ffb7[_0x5dc44d(0x1db)])||_0x33ffb7[_0x5dc44d(0x1ff)](_0x262bb1,_0x33ffb7[_0x5dc44d(0x269)]))&&(_0x262bb1=_0x33ffb7['WxLES']);if(_0x33ffb7[_0x5dc44d(0x283)](_0x31abb8[_0x5dc44d(0x280)],_0x33ffb7['wwuXY'])&&_0x33ffb7[_0x5dc44d(0x1a1)](_0x303fcb[_0x5dc44d(0x244)],_0x33ffb7[_0x5dc44d(0x1db)])){const _0x492c56={};_0x492c56[_0x5dc44d(0x278)]=_0x33ffb7[_0x5dc44d(0x272)],_0x492c56[_0x5dc44d(0x214)]=_0x33ffb7['sKiva'],_0x31abb8[_0x5dc44d(0x1f1)]=_0x492c56,_0x31abb8[_0x5dc44d(0x22d)]=[_0x31abb8[_0x5dc44d(0x1f1)]];}}const {failureData:_0x1e8498,logs:_0x3783a0}=_0x33ffb7[_0x5dc44d(0x27b)](getFailureData,_0x31abb8?.[_0x5dc44d(0x22d)],{}),_0x2bb40e={[TestFrameworkConstants[_0x5dc44d(0x1ab)]]:_0x33ffb7[_0x5dc44d(0x270)](_0x1e8498,null),[TestFrameworkConstants[_0x5dc44d(0x285)]]:_0x31abb8?.[_0x5dc44d(0x1f1)]&&_0x33ffb7[_0x5dc44d(0x1e6)](getFailureType,_0x31abb8[_0x5dc44d(0x1f1)][_0x5dc44d(0x278)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x31abb8?.[_0x5dc44d(0x1f1)]&&_0x33ffb7[_0x5dc44d(0x1e6)](removeAnsiColors,_0x31abb8[_0x5dc44d(0x1f1)][_0x5dc44d(0x278)]),[TestFrameworkConstants[_0x5dc44d(0x19b)]]:[],[TestFrameworkConstants[_0x5dc44d(0x1b1)]]:_0x262bb1,[TestFrameworkConstants[_0x5dc44d(0x1ae)]]:_0x45f628[_0x5dc44d(0x231)](),[TestFrameworkConstants[_0x5dc44d(0x205)]]:new Date()[_0x5dc44d(0x231)](),[TestFrameworkConstants[_0x5dc44d(0x1fb)]]:_0x5eb4e4};if(_0x31abb8&&_0x33ffb7['tFTES'](_0x31abb8['retry'],0x0)){const _0x5b5ecd=TestInfo['getTestUUID'](_0x33ffb7['nRfvK'](getTestRunIdentifier,_0x303fcb,_0x33ffb7['nyNoP'](_0x31abb8['retry'],0x1)));_0x2bb40e[TestFrameworkConstants[_0x5dc44d(0x21d)]]=_0x5b5ecd;}const _0x31b3b6={};_0x31b3b6[_0x5dc44d(0x1f9)]=_0x303fcb;const _0x35336d=this['resolveInstance'](TestFrameworkState[_0x5dc44d(0x1c8)],HookState[_0x5dc44d(0x212)],_0x31b3b6),_0xfe82a1=_0x35336d[_0x5dc44d(0x22c)]()[_0x5dc44d(0x220)](_0x354141)[TestFrameworkConstants[_0x5dc44d(0x1aa)]],_0x598da5=[],_0x21b03c=_0x33ffb7[_0x5dc44d(0x27b)](findNestedKey,_0x31abb8,_0x33ffb7['LiiAZ']);if(_0x21b03c&&_0x33ffb7['kxejL'](validateFilePath,_0x21b03c))try{_0x598da5[_0x5dc44d(0x218)]({'kind':_0x33ffb7[_0x5dc44d(0x25d)],'timestamp':new Date()[_0x5dc44d(0x231)](),'test_run_uuid':_0xfe82a1,'file_name':path[_0x5dc44d(0x234)](_0x21b03c),'file_size':fs['statSync'](_0x21b03c)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xa32a1c){logger[_0x5dc44d(0x1f1)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x21b03c+':\x20'+_0xa32a1c['message']);}const _0x24bd94=TestInfo[_0x5dc44d(0x1ac)](),_0x3a0ff9=_0x24bd94[_0x5dc44d(0x241)](_0x3d8990=>_0x3d8990[_0x5dc44d(0x1d1)]===_0xfe82a1);_0x3a0ff9[_0x5dc44d(0x1ef)](_0x5985af=>{const _0x42c545=_0x5dc44d;if(_0x5985af['filePath']&&_0x33ffb7['ohajd'](validateFilePath,_0x5985af[_0x42c545(0x1d9)])&&!_0x598da5[_0x42c545(0x1ca)](_0x30e670=>_0x30e670['file_name']===path[_0x42c545(0x234)](_0x5985af['filePath'])))try{_0x598da5[_0x42c545(0x218)]({'kind':_0x33ffb7[_0x42c545(0x25d)],'timestamp':new Date()[_0x42c545(0x231)](),'test_run_uuid':_0xfe82a1,'file_name':path[_0x42c545(0x234)](_0x5985af['filePath']),'file_size':fs[_0x42c545(0x245)](_0x5985af[_0x42c545(0x1d9)])[_0x42c545(0x1ad)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x236956){logger[_0x42c545(0x1f1)]('Error\x20processing\x20trace\x20file\x20'+_0x5985af[_0x42c545(0x1d9)]+_0x42c545(0x1cd)+_0x236956[_0x42c545(0x278)]);}});if(_0x33ffb7[_0x5dc44d(0x254)](_0x598da5[_0x5dc44d(0x1a6)],0x0)){const _0x4035fe=_0x2bb40e[TestFrameworkConstants[_0x5dc44d(0x19b)]]||[];_0x2bb40e[TestFrameworkConstants[_0x5dc44d(0x19b)]]=[..._0x4035fe,..._0x598da5];}const _0xfbd806=TestInfo[_0x5dc44d(0x243)](_0x354141)[TestFrameworkConstants[_0x5dc44d(0x1e4)]]||{},_0x4ae7d2=_0x33ffb7[_0x5dc44d(0x281)](getManualUploadLogs,_0xfbd806,_0x35336d['getAllData']()[_0x5dc44d(0x220)](_0x354141)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x33ffb7[_0x5dc44d(0x239)](_0x4ae7d2[_0x5dc44d(0x1a6)],0x0)){const _0x39af17=_0x2bb40e[TestFrameworkConstants['KEY_LOGS']]||[];_0x2bb40e[TestFrameworkConstants['KEY_LOGS']]=[..._0x39af17,..._0x4ae7d2];}const _0x34ebc7=_0x303fcb[_0x5dc44d(0x228)]||[],_0x1bf979=_0x2bb40e[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x34ebc7[_0x5dc44d(0x1ef)](_0xb213b=>{const _0xc5deff=_0x5dc44d,{type:_0x1f4bfe}=_0xb213b;let _0x4e784c=_0xb213b[_0xc5deff(0x24d)];if(!_0x1f4bfe)return;(_0x33ffb7[_0xc5deff(0x23d)](_0x4e784c,undefined)||_0x33ffb7[_0xc5deff(0x1ff)](_0x4e784c,null)||_0x33ffb7[_0xc5deff(0x23d)](_0x33ffb7[_0xc5deff(0x22b)](String,_0x4e784c)[_0xc5deff(0x28e)](),''))&&(_0x4e784c=_0x33ffb7[_0xc5deff(0x27c)]);if(!_0x1bf979[_0x1f4bfe]){const _0xb56cc2={};_0xb56cc2[_0xc5deff(0x252)]=_0x33ffb7[_0xc5deff(0x28d)],_0xb56cc2[_0xc5deff(0x1c4)]=[],_0x1bf979[_0x1f4bfe]=_0xb56cc2;}else!_0x1bf979[_0x1f4bfe][_0xc5deff(0x252)]&&(_0x1bf979[_0x1f4bfe][_0xc5deff(0x252)]=_0x33ffb7[_0xc5deff(0x28d)]),!Array[_0xc5deff(0x215)](_0x1bf979[_0x1f4bfe][_0xc5deff(0x1c4)])&&(_0x1bf979[_0x1f4bfe]['values']=[]);const _0x35c392=_0x33ffb7[_0xc5deff(0x22b)](String,_0x4e784c)[_0xc5deff(0x22a)](',')['map'](_0x57670e=>_0x57670e[_0xc5deff(0x28e)]());_0x1bf979[_0x1f4bfe][_0xc5deff(0x1c4)]=[...new Set([..._0x1bf979[_0x1f4bfe][_0xc5deff(0x1c4)],..._0x35c392])];}),_0x2bb40e[TestFrameworkConstants[_0x5dc44d(0x1fb)]]=_0x1bf979,TestInfo[_0x5dc44d(0x1a3)](_0x354141,_0x2bb40e);const _0xdba359={};return _0xdba359[_0x354141]=_0x2bb40e,_0xdba359;}async[a72_0x442578(0x261)](_0x2bb16c,_0x87f045,_0x5ee668,_0x992bfb){const _0x311a76=a72_0x442578,_0x491682={'fwJGD':function(_0x25af71,_0x34919e,_0x33ae79){return _0x25af71(_0x34919e,_0x33ae79);},'ITyqD':function(_0x48e9af,_0x417e20){return _0x48e9af in _0x417e20;},'UeCYo':function(_0x735ed4,_0x32d354){return _0x735ed4 in _0x32d354;},'BqCBI':function(_0x151775,_0x260c69){return _0x151775(_0x260c69);},'kGrgg':function(_0x118630,_0x4d897a){return _0x118630===_0x4d897a;},'zMgSD':function(_0x23ae68){return _0x23ae68();},'RDJcn':function(_0xba1b7c,_0x343d77){return _0xba1b7c>_0x343d77;},'OiUmW':_0x311a76(0x232),'oqTxh':function(_0x29558e,_0x407bf9){return _0x29558e(_0x407bf9);},'TMWYT':function(_0x33d2ec,_0x85a243){return _0x33d2ec(_0x85a243);},'xqRfR':_0x311a76(0x223),'UDbkn':'passed','nwklV':function(_0x43f43d,_0x25b9bd){return _0x43f43d!==_0x25b9bd;},'hQbTB':function(_0x4a1311,_0x4acbf6){return _0x4a1311+_0x4acbf6;},'vdVny':_0x311a76(0x260)},_0x11243b=_0x992bfb[_0x311a76(0x1f9)],_0x438697=_0x992bfb[_0x311a76(0x258)],_0x20a3c0=_0x491682[_0x311a76(0x1eb)](getTestRunIdentifier,_0x11243b,_0x992bfb[_0x311a76(0x235)][_0x311a76(0x1b0)]),_0x318644=_0x87f045[_0x311a76(0x1e7)]()[_0x311a76(0x22a)]('.')[0x1];let _0x393783=_0x2bb16c['getAllData']()[_0x311a76(0x220)](_0x20a3c0)[TestFrameworkConstants[_0x311a76(0x255)]];!_0x393783&&(_0x393783={});!_0x491682[_0x311a76(0x1c7)](_0x318644,_0x393783)&&(_0x393783[_0x318644]=[]);let _0x2ae41f=_0x2bb16c[_0x311a76(0x22c)]()[_0x311a76(0x220)](_0x20a3c0)[TestFrameworkConstants[_0x311a76(0x273)]];!_0x2ae41f&&(_0x2ae41f={});!_0x491682[_0x311a76(0x1e9)](_0x318644,_0x2ae41f)&&(_0x2ae41f[_0x318644]=[]);const _0x53130c={[TestFrameworkConstants[_0x311a76(0x255)]]:_0x393783,[TestFrameworkConstants[_0x311a76(0x273)]]:_0x2ae41f},_0x423f90={};_0x423f90[_0x20a3c0]=_0x53130c;const _0x39b1ec=_0x423f90,_0x18f127=_0x491682['BqCBI'](getPlaywrightTestFilePath,_0x11243b),_0x1a1300=_0x18f127+':'+_0x491682[_0x311a76(0x1ea)](getPlaywrightTestLocation,_0x11243b),_0x12129d=TestInfo[_0x311a76(0x243)](_0x20a3c0)[TestFrameworkConstants[_0x311a76(0x1fb)]]||{};if(_0x491682[_0x311a76(0x23e)](_0x5ee668,HookState['PRE'])){const _0xdc918c={'key':_0x318644,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x491682[_0x311a76(0x210)](uuidv4),[TestFrameworkConstants[_0x311a76(0x265)]]:TestFrameworkConstants[_0x311a76(0x226)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x438697[_0x311a76(0x1ce)],[TestFrameworkConstants[_0x311a76(0x253)]]:[],[TestFrameworkConstants[_0x311a76(0x24e)]]:_0x438697[_0x311a76(0x1a9)],[TestFrameworkConstants[_0x311a76(0x1bf)]]:_0x18f127,[TestFrameworkConstants[_0x311a76(0x1b4)]]:_0x1a1300,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x12129d};_0x393783[_0x318644]['push'](_0xdc918c),_0x39b1ec[_0x20a3c0][TestFrameworkConstants[_0x311a76(0x1cb)]]=_0x318644,logger[_0x311a76(0x251)](_0x311a76(0x284)+_0x318644+_0x311a76(0x1a8)+_0xdc918c+'\x20\x20and\x20args\x20=\x20'+_0x992bfb);}else{if(_0x491682[_0x311a76(0x23e)](_0x5ee668,HookState['POST'])){const _0x25ad74=await _0x992bfb[_0x311a76(0x235)],_0x1af9be=_0x393783[_0x318644]||[],_0x21101a=_0x992bfb[_0x311a76(0x258)];logger[_0x311a76(0x251)]('Hook\x20List\x20in\x20Post\x20'+_0x1af9be+'\x20and\x20args\x20=\x20'+_0x992bfb);if(_0x491682['RDJcn'](_0x1af9be['length'],0x0)){const _0x9f736c=_0x1af9be[_0x311a76(0x266)]();if(_0x21101a[_0x311a76(0x1f1)]){const _0x4cc905=_0x491682[_0x311a76(0x1eb)](failureData,_0x21101a['error'],_0x491682[_0x311a76(0x27f)]);_0x9f736c[TestFrameworkConstants[_0x311a76(0x1f5)]]=_0x491682[_0x311a76(0x19f)](getFailureType,_0x21101a?.[_0x311a76(0x1f1)][_0x311a76(0x278)]),_0x9f736c[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x491682[_0x311a76(0x23c)](removeAnsiColors,_0x21101a?.[_0x311a76(0x1f1)][_0x311a76(0x278)]),_0x9f736c[TestFrameworkConstants[_0x311a76(0x265)]]=_0x491682[_0x311a76(0x21f)],_0x9f736c[TestFrameworkConstants[_0x311a76(0x1ed)]]=_0x4cc905;}else _0x9f736c[TestFrameworkConstants[_0x311a76(0x265)]]=_0x491682['UDbkn'];_0x491682[_0x311a76(0x1c5)](_0x25ad74,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x9f736c[TestFrameworkConstants[_0x311a76(0x265)]]=!_0x21101a[_0x311a76(0x1f1)]?_0x491682[_0x311a76(0x23b)]:_0x491682[_0x311a76(0x21f)]);const _0x2ccbbd=new Date(_0x21101a[_0x311a76(0x1ce)]),_0x5e51ed=new Date(_0x491682['hQbTB'](_0x2ccbbd[_0x311a76(0x28c)](),_0x21101a[_0x311a76(0x225)]));_0x9f736c[TestFrameworkConstants[_0x311a76(0x21a)]]=_0x5e51ed['toISOString'](),_0x9f736c[TestFrameworkConstants[_0x311a76(0x1fb)]]=_0x12129d;const _0x32344a=_0x9f736c[TestFrameworkConstants[_0x311a76(0x27d)]];await this['sendLogCreatedEvent'](_0x2bb16c,_0x87f045,_0x32344a,_0x491682['vdVny'],_0x992bfb),!_0x2ae41f[_0x318644]&&(_0x2ae41f[_0x318644]=[]),_0x2ae41f[_0x318644][_0x311a76(0x218)](_0x9f736c),_0x39b1ec[_0x20a3c0][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x318644;}}}return _0x39b1ec;}async[a72_0x442578(0x201)](_0x29253c,_0x56f5a1,_0x574728,_0x35870d,_0x2d4b96){const _0x4eae65=a72_0x442578,_0x36ec75={'DhkNB':function(_0x4be04a,_0x1d4615){return _0x4be04a===_0x1d4615;},'qjJJW':'test','MFvwC':function(_0x31c546,_0x4f0ac2,_0x4086c9){return _0x31c546(_0x4f0ac2,_0x4086c9);},'CedpT':function(_0x231382,_0x2f5e5b,_0x329e75){return _0x231382(_0x2f5e5b,_0x329e75);},'Xnxpg':_0x4eae65(0x287),'YjBgK':function(_0x1d787b,_0xe4c580,_0x3414a9,_0x53f539){return _0x1d787b(_0xe4c580,_0x3414a9,_0x53f539);},'wJUOn':function(_0x1c2bbc,_0x3cf439,_0x2ebbdc){return _0x1c2bbc(_0x3cf439,_0x2ebbdc);},'NYZAY':function(_0x3fa50e,_0x2f9a10,_0x4a541f){return _0x3fa50e(_0x2f9a10,_0x4a541f);},'aJTYM':function(_0x5a02a0,_0x5eac68){return _0x5a02a0/_0x5eac68;},'Vrltl':function(_0x5506f6,_0x32de19){return _0x5506f6<_0x32de19;},'MGCxH':function(_0x13fa13,_0x35b3db){return _0x13fa13*_0x35b3db;},'vsKBT':function(_0x248117,_0x21ae78){return _0x248117+_0x21ae78;},'WUpKo':function(_0x347e3e,_0x245f1e,_0x190e41,_0x53f1b3,_0x23f86b){return _0x347e3e(_0x245f1e,_0x190e41,_0x53f1b3,_0x23f86b);},'iawRF':function(_0x2080a2,_0x5f2f93){return _0x2080a2+_0x5f2f93;},'taJBq':_0x4eae65(0x260),'FJlno':function(_0xb3f2b0,_0x4eeef2,_0x33f6ac){return _0xb3f2b0(_0x4eeef2,_0x33f6ac);},'zvTQc':function(_0x477c18,_0x1f89b1,_0x2775a0,_0xfbcc22,_0x36ced1){return _0x477c18(_0x1f89b1,_0x2775a0,_0xfbcc22,_0x36ced1);}};try{if(_0x36ec75['DhkNB'](_0x35870d,_0x36ec75['qjJJW'])){const _0xb0966d=await _0x2d4b96[_0x4eae65(0x235)],_0x3b14ce=_0x36ec75[_0x4eae65(0x263)](getTestRunIdentifier,_0x2d4b96[_0x4eae65(0x1f9)],_0x2d4b96[_0x4eae65(0x235)][_0x4eae65(0x1b0)]),_0x2aa653=_0x2d4b96[_0x4eae65(0x1f9)];logger[_0x4eae65(0x251)](_0x4eae65(0x1b7)+_0x3b14ce+_0x4eae65(0x200)+util[_0x4eae65(0x1bd)](_0xb0966d));const _0x98c2b0=_0x29253c['getAllData']()[_0x4eae65(0x220)](_0x3b14ce)[TestFrameworkConstants[_0x4eae65(0x1aa)]];await _0x36ec75[_0x4eae65(0x28a)](sendTraceZip,_0xb0966d,_0x98c2b0);const _0x494cd6=TestInfo[_0x4eae65(0x243)](_0x3b14ce)[_0x36ec75[_0x4eae65(0x24b)]],_0x8b45ed={};if(_0x494cd6){!_0xb0966d[_0x4eae65(0x287)]&&(_0xb0966d['attachments']=[]);_0x8b45ed[_0x4eae65(0x287)]=_0xb0966d[_0x4eae65(0x287)][_0x4eae65(0x1c2)](_0x494cd6||[]);const _0x18b51b=TestInfo[_0x4eae65(0x243)](_0x3b14ce);delete _0x18b51b[_0x36ec75[_0x4eae65(0x24b)]],TestInfo[_0x4eae65(0x1a3)](_0x3b14ce,_0x18b51b);}const {steps:_0x45ad8d,logs:_0x418b1c}=_0x36ec75[_0x4eae65(0x247)](getStepsAndLogs,_0xb0966d[_0x4eae65(0x1b8)],_0x29253c[_0x4eae65(0x22c)]()[_0x4eae65(0x220)](_0x3b14ce)[TestFrameworkConstants[_0x4eae65(0x1aa)]],_0x36ec75[_0x4eae65(0x277)]),_0x13b09f=_0x36ec75[_0x4eae65(0x1a4)](getScreenshots,_0x8b45ed,_0x29253c[_0x4eae65(0x22c)]()['get'](_0x3b14ce)[TestFrameworkConstants[_0x4eae65(0x1aa)]]),_0x2635fe=_0x36ec75[_0x4eae65(0x1a4)](getVideos,_0xb0966d,_0x29253c[_0x4eae65(0x22c)]()[_0x4eae65(0x220)](_0x3b14ce)[TestFrameworkConstants[_0x4eae65(0x1aa)]]),{_:_0x207515,logs:_0x122fe3}=_0x36ec75['NYZAY'](getFailureData,_0xb0966d[_0x4eae65(0x22d)],{'test_run_uuid':_0x29253c[_0x4eae65(0x22c)]()[_0x4eae65(0x220)](_0x3b14ce)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x33ae2b=TestInfo[_0x4eae65(0x243)](_0x3b14ce)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0xb648e7=_0x36ec75[_0x4eae65(0x263)](getMediaArtifactsLogs,_0x33ae2b,_0x29253c[_0x4eae65(0x22c)]()['get'](_0x3b14ce)[TestFrameworkConstants[_0x4eae65(0x1aa)]]),_0x377715=_0x29253c[_0x4eae65(0x22c)]()[_0x4eae65(0x220)](_0x3b14ce),{[TestFrameworkConstants[_0x4eae65(0x1e1)]]:_0x133bba='',[TestFrameworkConstants[_0x4eae65(0x1e0)]]:_0x610faf=''}=_0x377715,_0x194f6f=(_0x418b1c||[])['concat'](_0x13b09f||[])['concat'](_0x122fe3||[])['concat'](_0x2635fe||[])[_0x4eae65(0x1c2)](_0xb648e7||[]),_0x4f51fc=0x28,_0x2293cd=Math[_0x4eae65(0x1c3)](_0x36ec75[_0x4eae65(0x259)](_0x194f6f[_0x4eae65(0x1a6)],_0x4f51fc));for(let _0xd2932f=0x0;_0x36ec75[_0x4eae65(0x24f)](_0xd2932f,_0x2293cd);_0xd2932f++){const _0x1c7af0=_0x36ec75[_0x4eae65(0x1c9)](_0xd2932f,_0x4f51fc),_0x4e6d3d=_0x36ec75[_0x4eae65(0x250)](_0x1c7af0,_0x4f51fc),_0x5b6092=_0x194f6f[_0x4eae65(0x1a0)](_0x1c7af0,_0x4e6d3d),_0xec3848={'platformIndex':'0','logs':_0x5b6092,'testFrameworkName':_0x133bba,'testFrameworkVersion':_0x610faf,'testFrameworkState':_0x56f5a1[_0x4eae65(0x1e7)]()[_0x4eae65(0x22a)]('.')[0x1]};_0x36ec75[_0x4eae65(0x246)](updatePayloadForTraceLogs,_0xec3848,_0x2d4b96,_0x3b14ce,_0x29253c),logger[_0x4eae65(0x251)](_0x4eae65(0x26c)+_0x3b14ce+_0x4eae65(0x1f6)+_0x36ec75[_0x4eae65(0x28b)](_0xd2932f,0x1)+'/'+_0x2293cd+_0x4eae65(0x20e)+util[_0x4eae65(0x1bd)](_0xec3848));const _0x322b8d=await GrpcClient['getInstance']()[_0x4eae65(0x1df)](_0xec3848);logger[_0x4eae65(0x251)](_0x4eae65(0x26c)+_0x3b14ce+_0x4eae65(0x1f6)+_0x36ec75[_0x4eae65(0x250)](_0xd2932f,0x1)+'/'+_0x2293cd+_0x4eae65(0x20f)+util[_0x4eae65(0x1bd)](_0x322b8d));}}else{const {steps:_0x411be7,logs:_0x2e1f0e}=_0x36ec75[_0x4eae65(0x247)](getStepsAndLogs,_0x2d4b96[_0x4eae65(0x258)][_0x4eae65(0x1b8)],_0x574728,_0x36ec75[_0x4eae65(0x1b2)]),_0x57b530=_0x36ec75[_0x4eae65(0x1f0)](getTestRunIdentifier,_0x2d4b96[_0x4eae65(0x1f9)],_0x2d4b96[_0x4eae65(0x235)]['retry']);logger[_0x4eae65(0x251)](_0x4eae65(0x1b7)+_0x57b530);const _0x52d1fb=_0x29253c[_0x4eae65(0x22c)]()[_0x4eae65(0x220)](_0x57b530),{[TestFrameworkConstants[_0x4eae65(0x1e1)]]:_0x335abd='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x526537=''}=_0x52d1fb,_0x1484ce={'platformIndex':'0','logs':_0x2e1f0e,'testFrameworkName':_0x335abd,'testFrameworkVersion':_0x526537,'testFrameworkState':_0x56f5a1[_0x4eae65(0x1e7)]()['split']('.')[0x1]};_0x36ec75[_0x4eae65(0x208)](updatePayloadForTraceLogs,_0x1484ce,_0x2d4b96,_0x57b530,_0x29253c),logger[_0x4eae65(0x251)](_0x4eae65(0x26c)+_0x57b530+_0x4eae65(0x20e)+util[_0x4eae65(0x1bd)](_0x1484ce));const _0x5cb802=await GrpcClient[_0x4eae65(0x229)]()[_0x4eae65(0x1df)](_0x1484ce);}}catch(_0x52b2ee){logger[_0x4eae65(0x1f1)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util['format'](_0x52b2ee));}}[a72_0x442578(0x1de)](_0x4c204c){const _0x14c50d=a72_0x442578,_0x59c8b7={'InmDU':function(_0x3214b7,_0x1773da,_0x2ec27f){return _0x3214b7(_0x1773da,_0x2ec27f);},'QxIFS':_0x14c50d(0x240)};try{const _0x273034=_0x4c204c[_0x14c50d(0x1f9)]['id'],_0x1fff29=_0x59c8b7[_0x14c50d(0x1d2)](getTestRunIdentifier,_0x4c204c[_0x14c50d(0x1f9)],_0x4c204c[_0x14c50d(0x235)]['retry']),_0x39fade=_0x4c204c[_0x14c50d(0x1cf)],_0x2637b1=_0x39fade[_0x14c50d(0x1cc)](),_0x4824d1=_0x39fade['getAllData']()[_0x14c50d(0x220)](_0x1fff29);logger[_0x14c50d(0x251)](_0x14c50d(0x1fa)+_0x273034);const {[TestFrameworkConstants[_0x14c50d(0x1e1)]]:_0x36d381='',[TestFrameworkConstants[_0x14c50d(0x1e0)]]:_0x36df6c='',[TestFrameworkConstants[_0x14c50d(0x217)]]:_0x2beb69='',[TestFrameworkConstants[_0x14c50d(0x1ae)]]:_0x2c336c=''}=_0x4824d1,_0x2fcf7f=_0x39fade['getCurrentTestState']()[_0x14c50d(0x1e7)]()[_0x14c50d(0x22a)]('.')[0x1],_0x442ab4=_0x39fade[_0x14c50d(0x20a)]()[_0x14c50d(0x1e7)]()[_0x14c50d(0x22a)]('.')[0x1],_0x55a00d=global?.[_0x14c50d(0x25b)]?.[_0x14c50d(0x23a)]?.[_0x14c50d(0x204)],_0x12004b=_0x39fade[_0x14c50d(0x290)](),_0x54db0a=Buffer['from'](JSON[_0x14c50d(0x237)](_0x4824d1))[_0x14c50d(0x1e7)](_0x59c8b7[_0x14c50d(0x1b6)]),_0xca6871={'hash':_0x2637b1[_0x14c50d(0x271)](),'threadId':_0x2637b1[_0x14c50d(0x1d3)]()['toString'](),'processId':_0x2637b1[_0x14c50d(0x257)]()[_0x14c50d(0x1e7)]()},_0x1415c3={};_0x1415c3[_0x14c50d(0x1a7)]=_0x55a00d,_0x1415c3[_0x14c50d(0x267)]=_0x36d381,_0x1415c3['testFrameworkVersion']=_0x36df6c,_0x1415c3[_0x14c50d(0x1e8)]=_0x2fcf7f,_0x1415c3[_0x14c50d(0x22e)]=_0x442ab4,_0x1415c3[_0x14c50d(0x1be)]=_0x2beb69,_0x1415c3[_0x14c50d(0x1a2)]=_0x2c336c,_0x1415c3[_0x14c50d(0x24c)]=_0x12004b,_0x1415c3[_0x14c50d(0x242)]=_0x54db0a,_0x1415c3[_0x14c50d(0x1e5)]=_0xca6871;const _0xba2d50=_0x1415c3;return logger[_0x14c50d(0x251)](_0x14c50d(0x1c6)+_0x273034+_0x14c50d(0x1bc)+_0x2fcf7f+_0x14c50d(0x206)+_0x442ab4),_0xba2d50;}catch(_0x23d84c){return logger['error'](_0x14c50d(0x289)+util[_0x14c50d(0x1fd)](_0x23d84c)),{};}}}function a72_0x3838(_0x4df325,_0x258d4c){const _0x126f50=a72_0x126f();return a72_0x3838=function(_0x3838f2,_0x6e570){_0x3838f2=_0x3838f2-0x19b;let _0x452aba=_0x126f50[_0x3838f2];return _0x452aba;},a72_0x3838(_0x4df325,_0x258d4c);}module[a72_0x442578(0x1dd)]=PlaywrightTestFramework;
@@ -1 +1 @@
1
- const a73_0x389d4d=a73_0x8b3e;(function(_0x3e5f2f,_0x3f4398){const _0x549d7a=a73_0x8b3e,_0xb0cc66=_0x3e5f2f();while(!![]){try{const _0x10dff8=parseInt(_0x549d7a(0xcd))/0x1*(-parseInt(_0x549d7a(0xd7))/0x2)+-parseInt(_0x549d7a(0xb7))/0x3+parseInt(_0x549d7a(0xb9))/0x4*(parseInt(_0x549d7a(0xc5))/0x5)+parseInt(_0x549d7a(0xd5))/0x6+parseInt(_0x549d7a(0xb4))/0x7+parseInt(_0x549d7a(0xb3))/0x8+parseInt(_0x549d7a(0xda))/0x9*(-parseInt(_0x549d7a(0xd3))/0xa);if(_0x10dff8===_0x3f4398)break;else _0xb0cc66['push'](_0xb0cc66['shift']());}catch(_0x34bcd8){_0xb0cc66['push'](_0xb0cc66['shift']());}}}(a73_0x27b8,0x42234));function a73_0x27b8(){const _0x5b6cfe=['getHookRegistryKey','getTrackedInstance','../instances/trackedContext','set','testFrameworkVersions','hasState','registerObserver','notifyObserver','5RqUKlA','testFrameworks','setCurrentTestState','getState','getTestFrameworks','getId','binSessionId','getAllData','3733zDxfdk','../state/hookState','instances','../instances/trackedInstance','../../../helpers/classLogger','exports','10510mSabKJ','setInstance','825876zZlVea','TestFramework','44HVxzJl','getTestFrameworksVersions','setTrackedInstance','333GAveLY','2348632jFISQt','1369998pOCSCu','../state/testFrameworkState','setCurrentHookState','1190532HFcutD','createContext','647272iYUDJi','has','runHooks','get'];a73_0x27b8=function(){return _0x5b6cfe;};return a73_0x27b8();}const CLIUtils=require('../cliUtils'),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a73_0x389d4d(0xbf)),TestFrameworkState=require(a73_0x389d4d(0xb5)),HookState=require(a73_0x389d4d(0xce)),{createClassLogger}=require(a73_0x389d4d(0xd1)),TrackedInstance=require(a73_0x389d4d(0xd0)),logger=createClassLogger(a73_0x389d4d(0xd6));function a73_0x8b3e(_0x6958db,_0x484ed3){const _0x27b83e=a73_0x27b8();return a73_0x8b3e=function(_0x8b3e1,_0x3f8921){_0x8b3e1=_0x8b3e1-0xb3;let _0x2d030e=_0x27b83e[_0x8b3e1];return _0x2d030e;},a73_0x8b3e(_0x6958db,_0x484ed3);}class TestFramework{static [a73_0x389d4d(0xcf)]=new Map();[a73_0x389d4d(0xc6)]=[];[a73_0x389d4d(0xc1)]={};[a73_0x389d4d(0xcb)]=null;constructor(_0x5ae159,_0x13ea29,_0x2af602){const _0x1d0d6b=a73_0x389d4d;this['testFrameworks']=_0x5ae159,this[_0x1d0d6b(0xc1)]=_0x13ea29,this[_0x1d0d6b(0xcb)]=_0x2af602;}['getInstances'](){const _0x58dab7=a73_0x389d4d;return TestFramework[_0x58dab7(0xcf)];}[a73_0x389d4d(0xd4)](_0x13e67e,_0x5aedfb){const _0xcfc9e1=a73_0x389d4d;TestFramework[_0xcfc9e1(0xcf)][_0xcfc9e1(0xc0)](_0x13e67e[_0xcfc9e1(0xca)],_0x5aedfb);}static[a73_0x389d4d(0xbe)](){const _0x202198=a73_0x389d4d,_0x2f95a1=TrackedInstance[_0x202198(0xb8)](CLIUtils['getCurrentInstanceName']());return TestFramework['instances'][_0x202198(0xbc)](_0x2f95a1[_0x202198(0xca)]());}static[a73_0x389d4d(0xd9)](_0xbdb0e9,_0x5882ee){const _0x286946=a73_0x389d4d;TestFramework[_0x286946(0xcf)][_0x286946(0xc0)](_0xbdb0e9[_0x286946(0xca)](),_0x5882ee);}[a73_0x389d4d(0xd8)](){return this['testFrameworkVersions'];}[a73_0x389d4d(0xc9)](){const _0x15d940=a73_0x389d4d;return this[_0x15d940(0xc6)];}['trackEvent'](_0x140eb6,_0x4f1ee8,_0x166093={}){logger['debug']('trackEvent:\x20testFrameworkState='+_0x140eb6+';\x20hookState='+_0x4f1ee8);}async[a73_0x389d4d(0xbb)](_0x17a90d,_0x54b351,_0x1d540d,_0x177c27={}){const _0x54fa22=a73_0x389d4d,_0x36a152=CLIUtils[_0x54fa22(0xbd)](_0x54b351,_0x1d540d);_0x17a90d[_0x54fa22(0xc7)](_0x54b351),_0x17a90d[_0x54fa22(0xb6)](_0x1d540d),await eventDispatcher[_0x54fa22(0xc4)](_0x36a152,_0x177c27);}static['registerObserver'](_0x48830d,_0x1a638e,_0x3606ef){const _0x72101b=a73_0x389d4d;eventDispatcher[_0x72101b(0xc3)](CLIUtils['getHookRegistryKey'](_0x48830d,_0x1a638e),_0x3606ef);}static[a73_0x389d4d(0xc8)](_0x108ad1,_0x363427){const _0x42ad2b=a73_0x389d4d;return _0x108ad1['getAllData']()[_0x42ad2b(0xbc)](_0x363427);}static['setState'](_0x4a0d47,_0x18b922,_0x538de3){const _0x3a36fd=a73_0x389d4d;_0x4a0d47[_0x3a36fd(0xcc)]()[_0x3a36fd(0xc0)](_0x18b922,_0x538de3);}static[a73_0x389d4d(0xc2)](_0xd03bff,_0x24e0df){const _0x428804=a73_0x389d4d;return _0xd03bff[_0x428804(0xcc)]()[_0x428804(0xba)](_0x24e0df);}}module[a73_0x389d4d(0xd2)]=TestFramework;
1
+ const a73_0x5d5dcc=a73_0x4291;function a73_0x4291(_0x21959f,_0x364314){const _0x13b08e=a73_0x13b0();return a73_0x4291=function(_0x42916f,_0x5f5cf3){_0x42916f=_0x42916f-0x1e5;let _0x3f79cc=_0x13b08e[_0x42916f];return _0x3f79cc;},a73_0x4291(_0x21959f,_0x364314);}(function(_0x3b08dd,_0x56b1f1){const _0x2facfd=a73_0x4291,_0x1ea575=_0x3b08dd();while(!![]){try{const _0x11262f=parseInt(_0x2facfd(0x207))/0x1+-parseInt(_0x2facfd(0x1f5))/0x2*(parseInt(_0x2facfd(0x1ec))/0x3)+parseInt(_0x2facfd(0x1f4))/0x4+parseInt(_0x2facfd(0x1fa))/0x5+parseInt(_0x2facfd(0x1f8))/0x6+-parseInt(_0x2facfd(0x204))/0x7*(-parseInt(_0x2facfd(0x202))/0x8)+parseInt(_0x2facfd(0x1f7))/0x9*(-parseInt(_0x2facfd(0x1e6))/0xa);if(_0x11262f===_0x56b1f1)break;else _0x1ea575['push'](_0x1ea575['shift']());}catch(_0x25d23d){_0x1ea575['push'](_0x1ea575['shift']());}}}(a73_0x13b0,0xbde82));const CLIUtils=require('../cliUtils'),eventDispatcher=require(a73_0x5d5dcc(0x200)),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a73_0x5d5dcc(0x1f0)),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a73_0x5d5dcc(0x1f3)),{createClassLogger}=require('../../../helpers/classLogger'),TrackedInstance=require(a73_0x5d5dcc(0x206)),logger=createClassLogger(a73_0x5d5dcc(0x1eb));class TestFramework{static [a73_0x5d5dcc(0x1ed)]=new Map();[a73_0x5d5dcc(0x201)]=[];[a73_0x5d5dcc(0x203)]={};['binSessionId']=null;constructor(_0x2c31f9,_0x21c70d,_0x3c8e27){const _0x344292=a73_0x5d5dcc;this['testFrameworks']=_0x2c31f9,this[_0x344292(0x203)]=_0x21c70d,this[_0x344292(0x1fe)]=_0x3c8e27;}['getInstances'](){const _0x2241ef=a73_0x5d5dcc;return TestFramework[_0x2241ef(0x1ed)];}[a73_0x5d5dcc(0x1f6)](_0x4b1b09,_0x211abf){const _0x338f8d=a73_0x5d5dcc;TestFramework[_0x338f8d(0x1ed)][_0x338f8d(0x1ef)](_0x4b1b09[_0x338f8d(0x1e5)],_0x211abf);}static[a73_0x5d5dcc(0x1fc)](){const _0xba53ed=a73_0x5d5dcc,_0x3ce2eb=TrackedInstance[_0xba53ed(0x1f1)](CLIUtils[_0xba53ed(0x1ea)]());return TestFramework[_0xba53ed(0x1ed)][_0xba53ed(0x205)](_0x3ce2eb[_0xba53ed(0x1e5)]());}static[a73_0x5d5dcc(0x1f9)](_0xa3af28,_0x2d0372){const _0x181f17=a73_0x5d5dcc;TestFramework[_0x181f17(0x1ed)][_0x181f17(0x1ef)](_0xa3af28['getId'](),_0x2d0372);}[a73_0x5d5dcc(0x1e7)](){return this['testFrameworkVersions'];}['getTestFrameworks'](){return this['testFrameworks'];}['trackEvent'](_0x19a223,_0x3d3d14,_0xcb9ffe={}){const _0x2fa154=a73_0x5d5dcc;logger[_0x2fa154(0x1fd)]('trackEvent:\x20testFrameworkState='+_0x19a223+_0x2fa154(0x1e8)+_0x3d3d14);}async[a73_0x5d5dcc(0x1ff)](_0x22b656,_0x31491a,_0x38d2e1,_0x180f0d={}){const _0x16d966=CLIUtils['getHookRegistryKey'](_0x31491a,_0x38d2e1);_0x22b656['setCurrentTestState'](_0x31491a),_0x22b656['setCurrentHookState'](_0x38d2e1),await eventDispatcher['notifyObserver'](_0x16d966,_0x180f0d);}static['registerObserver'](_0x271be7,_0x433c06,_0x122d0b){const _0x835bbd=a73_0x5d5dcc;eventDispatcher['registerObserver'](CLIUtils[_0x835bbd(0x1ee)](_0x271be7,_0x433c06),_0x122d0b);}static['getState'](_0x2f3227,_0x530367){const _0x566a0b=a73_0x5d5dcc;return _0x2f3227[_0x566a0b(0x1e9)]()[_0x566a0b(0x205)](_0x530367);}static['setState'](_0x31046b,_0x517477,_0x53b2d9){const _0x2d8574=a73_0x5d5dcc;_0x31046b[_0x2d8574(0x1e9)]()[_0x2d8574(0x1ef)](_0x517477,_0x53b2d9);}static[a73_0x5d5dcc(0x1fb)](_0x2f3de9,_0x531a05){const _0xe29824=a73_0x5d5dcc;return _0x2f3de9['getAllData']()[_0xe29824(0x1f2)](_0x531a05);}}module['exports']=TestFramework;function a73_0x13b0(){const _0x86f77b=['723pxxgFw','instances','getHookRegistryKey','set','../instances/trackedContext','createContext','has','../state/hookState','3219616RqCpIl','10454EbOFSI','setInstance','27801LbUkri','1941858yyMFiC','setTrackedInstance','1913535lBaQDv','hasState','getTrackedInstance','debug','binSessionId','runHooks','../eventDispatcher','testFrameworks','3109176SinwKr','testFrameworkVersions','7fsrWfB','get','../instances/trackedInstance','1228081rtXqgy','getId','3530PAXUcb','getTestFrameworksVersions',';\x20hookState=','getAllData','getCurrentInstanceName','TestFramework'];a73_0x13b0=function(){return _0x86f77b;};return a73_0x13b0();}
@@ -1 +1 @@
1
- function a74_0x2237(){const _0x127b67=['No\x20gRPC\x20client\x20initialized.','AccessibilityConfig\x20error:\x20','startBinSession','getEnvVarsMap','Missing\x20binSessionId','debug','DriverInitRequest','kUqPg','setCustomMetadata','PElHt','Xxvrz','format','getAccessibilityConfig',',\x20parsedConfig=','fileSize','249300vrxaBX','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','threadId','frameworkSessionId','SDK_AUTOMATION_FRAMEWORK_INIT','gXUhl','setTestFrameworkVersion','DJEcX','kAZJU','path','cwd','iXpLo','cBgwm','setUserInputParams','Error\x20in\x20TestSessionEvent:\x20','client','4814037yLKTSu','setBinSessionId','getClient','error','setExitCode','dFlkF','getSuccess','null','PlaywrightConfig\x20request\x20successful','Getting\x20AggregatedClientTroubleshootingErrors','@grpc/grpc-js','playwrightConfig','DFyjg','Error\x20in\x20ReportClientTroubleshootingError:\x20','87laKSVj','kind','RLAgE','getTestFrameworkDetail','AccessibilityConfig\x20request\x20successful','entries','replace','stopBinSession','setMessage','SDKClient','SDK_CLI_ON_STOP','setTestFrameworkState','getFrameworkVersionsMap','channel','setConfig','HAwdG','from','lGJVn','WohzB','yNPWC','setFileSize','processId','setTimestamp','StartBinSessionRequest','getInstance','env','setThreadId','version','setTestHookState','setTestUuid','setEndedAt','LogCreatedEvent\x20error:\x20','DriverInit\x20request\x20successful','setUuid','setScriptName','OmAEv','start','end','HRqNs','testFrameworkEvent','ConnectBinSession\x20successful','../../helpers/performance/performance-tester.js','Error\x20in\x20getAccessibilityConfig:\x20','WJNwJ','wVCVE','setStartedAt','BROWSERSTACK_CONFIG_FILE_PATH','CbzhR','AqOGI','wndiL','utf-8','MdgVN','LogCreatedEvent\x20request\x20successful','StartBinSession\x20error:\x20','hubUrl','reportClientTroubleshootingError','../../../generated/sdk-messages_pb','ccIUa','setSdkVersion','LogEntry','Error\x20in\x20startBinSession:\x20','jTRrz','BROWSERSTACK_CLI_BIN_SESSION_ID','hash','Stopping\x20signal\x20','yhOrX','frameworkVersion','winstonLogger','\x22key\x22:\x22[REDACTED]\x22','setExitSignal','UBIpr','\x20and\x20listen\x20address:\x20','khFde','testFrameworkName','setErrorKey','wmMOo','browserstack.yml','yGxtx','slice','ReportClientTroubleshootingErrorRequest','VgqMk','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','qlxuM','setCapabilities','uncdy','timestamp','Sdqqy','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','lkaEZ','YfpFm','67223tLGnCX','StopBinSession\x20successful','ConnectBinSession\x20error:\x20','Error\x20in\x20DriverInit:\x20','365764uDadRz','Error\x20in\x20LogCreatedEvent:\x20','72YfCjoR','GetAggregatedClientTroubleshootingErrors\x20successful','BHfGh','setHash','TestFrameworkEventRequest','143qEjLXF','dphgD','Reporting\x20ClientTroubleshootingError\x20','push','BGlZk','oXvAJ','driverInit','562880OsRJhJ','YRocx','listenAddress','getBrowserstackCliConfig','connect-bin-session\x20response:\x20','browserstackConfigFile','setExecutionContext','setFrameworkVersion','PlaywrightConfigRequest','binHY','GrpcClient','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20',',\x20scriptName=','YIkHu','DWlob','getPlaywrightConfig','setLanguage','Channel','TestSessionEvent\x20error:\x20','ExecutionContext','uuid','getSdkVersion','No\x20gRPC\x20client\x20not\x20initialized.','connectBinSession','OszPQ','logger','Sending\x20LogCreatedEvent','CEtRJ','iOwXh','../../helpers/performance/constants','SDK_START_BIN_SESSION','\x22userName\x22:\x22[REDACTED]\x22','8xlbQkc','setCliArgs:\x20cliArgs=','level','Sending\x20TestSessionEvent','CMUjl','TestSessionEvent\x20request\x20successful','Connected\x20to\x20gRPC\x20server\x20at\x20','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','TpwgK','logCreatedEvent','262XAysSW','36272dKhHMS','setFrameworkName','set','TZbAr','getAggregatedClientTroubleshootingErrors','setFilePath','stringify','setAttachmentType','setPathConfig','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','message','launchcaps','user_killed','filePath','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','uERxk','./browserstackCLI.js','setPlatformIndex','setRef','resolve','DriverInit\x20error:\x20','getAutomationFrameworkDetail','name','forEach','accessibilityConfig','credentials','TestSessionEventRequest','HMmrl','AccessibilityConfigRequest','Dboix','LogCreatedEventRequest','binSessionId','StopBinSession\x20error:\x20','setExitReason','util','458eRWfRU','setTestFramework','264BkFXTq','test_run_uuid','zktoI','setTestFrameworkName','connect','ref','uICjq','setSdkLanguage','StopBinSessionRequest','Sending\x20TestFrameworkEvent','CrUMj','gSEUq','PlaywrightConfig\x20error:\x20','gAYGf','Xjjgd','setProcessId','encode','tropa','exports','wTEEY','testSessionEvent','setHubUrl','JEDIY','ARzoy','createInsecure','startBinSession:\x20Calling\x20startBinSession','TestFrameworkEvent\x20request\x20successful','SDK_CONNECT_BIN_SESSION','Connecting\x20bin\x20session','info'];a74_0x2237=function(){return _0x127b67;};return a74_0x2237();}const a74_0x13cf5b=a74_0x27cd;(function(_0x47b0bd,_0x4078d3){const _0x3db4c4=a74_0x27cd,_0x583895=_0x47b0bd();while(!![]){try{const _0x1c8d5e=-parseInt(_0x3db4c4(0x1b0))/0x1*(-parseInt(_0x3db4c4(0x1d4))/0x2)+-parseInt(_0x3db4c4(0x221))/0x3*(-parseInt(_0x3db4c4(0x1b1))/0x4)+-parseInt(_0x3db4c4(0x186))/0x5+parseInt(_0x3db4c4(0x17a))/0x6*(-parseInt(_0x3db4c4(0x178))/0x7)+-parseInt(_0x3db4c4(0x1a6))/0x8*(-parseInt(_0x3db4c4(0x213))/0x9)+-parseInt(_0x3db4c4(0x203))/0xa*(-parseInt(_0x3db4c4(0x17f))/0xb)+parseInt(_0x3db4c4(0x1d6))/0xc*(-parseInt(_0x3db4c4(0x174))/0xd);if(_0x1c8d5e===_0x4078d3)break;else _0x583895['push'](_0x583895['shift']());}catch(_0x54db68){_0x583895['push'](_0x583895['shift']());}}}(a74_0x2237,0x5038f));const util=require(a74_0x13cf5b(0x1d3)),logger=require('../../helpers/logger.js')[a74_0x13cf5b(0x15d)],grpc=require(a74_0x13cf5b(0x21d)),services=require('../../../generated/sdk_grpc_pb'),messages=require(a74_0x13cf5b(0x152)),path=require(a74_0x13cf5b(0x20c)),CLIUtils=require('./cliUtils.js'),{createClassLogger}=require('../../helpers/classLogger.js'),PerformanceTester=require(a74_0x13cf5b(0x143)),{EVENTS:PerformanceEvents}=require(a74_0x13cf5b(0x1a3)),{PLAYWRIGHT_TRACE_LOGS}=require('../utils/constants'),helper=require('../../helpers/helper.js');class GrpcClient{static #instance=null;['binSessionId']=null;[a74_0x13cf5b(0x188)]=null;[a74_0x13cf5b(0x22e)]=null;['client']=null;[a74_0x13cf5b(0x19f)]=createClassLogger(a74_0x13cf5b(0x190));constructor(){}static[a74_0x13cf5b(0x239)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}['init'](_0x10df4f){const _0x32de04=a74_0x13cf5b,_0x5dbdbd={};_0x5dbdbd[_0x32de04(0x21f)]=function(_0x59b932,_0x2c3e0d){return _0x59b932||_0x2c3e0d;};const _0x476a23=_0x5dbdbd,{id:_0x2a4ffc,listen:_0x515247}=_0x10df4f;if(_0x476a23[_0x32de04(0x21f)](!_0x2a4ffc,!_0x515247))throw new Error(_0x32de04(0x171)+_0x2a4ffc+'\x20listenAddr:\x20'+_0x515247);this[_0x32de04(0x1d0)]=_0x2a4ffc,this[_0x32de04(0x188)]=_0x515247,process[_0x32de04(0x23a)][_0x32de04(0x158)]=this[_0x32de04(0x1d0)],process[_0x32de04(0x23a)][_0x32de04(0x1bf)]=this[_0x32de04(0x188)],this['connect'](),this[_0x32de04(0x19f)][_0x32de04(0x1f3)](_0x32de04(0x1ad)+this[_0x32de04(0x1d0)]+_0x32de04(0x161)+this['listenAddress']);}[a74_0x13cf5b(0x1da)](){const _0x10918b=a74_0x13cf5b,_0xcc7af2={};_0xcc7af2[_0x10918b(0x1e9)]=_0x10918b(0x16b);const _0x60bbbe=_0xcc7af2;let _0x264366=this[_0x10918b(0x188)];!_0x264366&&(_0x264366=process[_0x10918b(0x23a)][_0x10918b(0x1bf)]);!this['binSessionId']&&(this[_0x10918b(0x1d0)]=this[_0x10918b(0x1d0)]||process[_0x10918b(0x23a)][_0x10918b(0x158)]);if(!_0x264366)throw new Error(_0x60bbbe[_0x10918b(0x1e9)]);const _0x3a059e={};_0x3a059e['grpc.keepalive_time_ms']=0x2710,this[_0x10918b(0x22e)]=new grpc[(_0x10918b(0x197))](_0x264366,grpc[_0x10918b(0x1ca)]['createInsecure'](),_0x3a059e),this[_0x10918b(0x212)]=new services[(_0x10918b(0x22a))](_0x264366,grpc[_0x10918b(0x1ca)][_0x10918b(0x1ee)]()),this['logger']['info'](_0x10918b(0x1ac)+_0x264366);}async['startBinSession'](){const _0x30c213=a74_0x13cf5b,_0x4d6f0a={'binHY':function(_0x7c79da,_0x34847e){return _0x7c79da!==_0x34847e;},'lnWxS':function(_0x55b304,_0x1d94f4){return _0x55b304!==_0x1d94f4;},'TpwgK':function(_0xfb24c9,_0x12cc6b){return _0xfb24c9(_0x12cc6b);},'WJNwJ':'StartBinSession\x20successful','bgekL':function(_0xf87225,_0x197c74){return _0xf87225(_0x197c74);},'uZHoY':_0x30c213(0x1ef),'cBgwm':_0x30c213(0x19c),'JEDIY':function(_0x1666ca,_0x29ced4){return _0x1666ca(_0x29ced4);},'gXUhl':_0x30c213(0x1c1),'tropa':function(_0x1d64e3,_0x21c171){return _0x1d64e3 instanceof _0x21c171;},'Sdqqy':function(_0x53e3bd,_0x5e7d85){return _0x53e3bd===_0x5e7d85;},'Xxvrz':_0x30c213(0x18b),'CMUjl':_0x30c213(0x166),'iOwXh':_0x30c213(0x21a),'BHfGh':function(_0x2db987,_0x3c2bdf){return _0x2db987||_0x3c2bdf;}};PerformanceTester[_0x30c213(0x13e)](PerformanceEvents[_0x30c213(0x1a4)]),this[_0x30c213(0x19f)][_0x30c213(0x1f3)](_0x4d6f0a['uZHoY']);try{!this['client']&&this[_0x30c213(0x19f)][_0x30c213(0x1f3)](_0x4d6f0a[_0x30c213(0x20f)]);const _0x41559f=CLIUtils[_0x30c213(0x19b)](),_0x554d45=CLIUtils[_0x30c213(0x1c6)](),_0x49fdf9=CLIUtils[_0x30c213(0x224)](),_0x1c98c8=_0x554d45[_0x30c213(0x1c7)],_0x306458=_0x554d45[_0x30c213(0x23c)],_0x43861a=_0x49fdf9[_0x30c213(0x1c7)],_0x279557=_0x49fdf9[_0x30c213(0x23c)]?_0x49fdf9['version'][_0x43861a]:'',_0x590ed4=new messages[(_0x30c213(0x238))]();_0x590ed4[_0x30c213(0x214)](this[_0x30c213(0x1d0)]),_0x590ed4[_0x30c213(0x1dd)](CLIUtils['getSdkLanguage']()),_0x590ed4[_0x30c213(0x154)](_0x41559f),_0x590ed4['setPathProject'](process[_0x30c213(0x20d)]());const _0x5a947d=_0x590ed4[_0x30c213(0x1f7)]();Object[_0x30c213(0x226)](process[_0x30c213(0x23a)])[_0x30c213(0x1c8)](([_0x74038b,_0x4a5178])=>{const _0x18b0f5=_0x30c213;_0x4d6f0a[_0x18b0f5(0x18f)](_0x4a5178,undefined)&&_0x4d6f0a['lnWxS'](_0x4a5178,null)&&_0x5a947d[_0x18b0f5(0x1b3)](_0x74038b,_0x4a5178);});const _0x5cf90a=_0x4d6f0a[_0x30c213(0x1ec)](require,_0x4d6f0a[_0x30c213(0x208)]),_0x28eca9=_0x5cf90a[_0x30c213(0x239)]()[_0x30c213(0x189)](),_0x428fd5=[];_0x28eca9&&_0x4d6f0a[_0x30c213(0x1e7)](_0x28eca9,Map)&&_0x28eca9[_0x30c213(0x1c8)]((_0x3fe3eb,_0x5b7d48)=>{const _0x2421b4=_0x30c213;_0x428fd5[_0x2421b4(0x182)](_0x5b7d48+'='+_0x3fe3eb);});const _0x4f8311=process['argv'][_0x30c213(0x168)](0x2);_0x590ed4['setCliArgsList']([..._0x4f8311,..._0x428fd5]);let _0x64fd2c=null;if(_0x28eca9)for(const [_0x3a20df,_0x383f3b]of _0x28eca9){if(_0x4d6f0a[_0x30c213(0x170)](_0x3a20df,_0x4d6f0a[_0x30c213(0x1fe)])){_0x64fd2c=_0x383f3b;break;}}if(_0x64fd2c)_0x590ed4[_0x30c213(0x1b9)](_0x64fd2c);else process[_0x30c213(0x23a)][_0x30c213(0x148)]?_0x590ed4[_0x30c213(0x1b9)](process['env'][_0x30c213(0x148)]):_0x590ed4[_0x30c213(0x1b9)](path[_0x30c213(0x1c4)](process[_0x30c213(0x20d)](),_0x4d6f0a[_0x30c213(0x1aa)]));this[_0x30c213(0x19f)][_0x30c213(0x1f3)](_0x30c213(0x1a7)+JSON['stringify'](_0x4f8311)+_0x30c213(0x201)+(_0x28eca9?JSON[_0x30c213(0x1b7)]([..._0x28eca9]):_0x4d6f0a[_0x30c213(0x1a2)])),_0x590ed4[_0x30c213(0x196)](CLIUtils['getSdkLanguage']()),_0x590ed4[_0x30c213(0x1d5)](_0x43861a);const _0x44eec7=_0x590ed4[_0x30c213(0x22d)]();return _0x44eec7['set'](_0x1c98c8,_0x4d6f0a[_0x30c213(0x17c)](_0x306458,'')),_0x44eec7[_0x30c213(0x1b3)](_0x43861a,_0x4d6f0a[_0x30c213(0x17c)](_0x279557,'')),_0x590ed4['addFrameworks'](_0x1c98c8,_0x306458),_0x590ed4['addFrameworks'](_0x43861a,_0x279557),_0x590ed4['setFrameworksList']([_0x43861a,_0x1c98c8]),new Promise((_0x553b66,_0x4e5a47)=>{const _0x1028bc=_0x30c213,_0x3052e8={'OszPQ':function(_0x2d6095,_0x3c77c9){const _0x3b2d28=a74_0x27cd;return _0x4d6f0a[_0x3b2d28(0x1ae)](_0x2d6095,_0x3c77c9);},'WohzB':_0x4d6f0a[_0x1028bc(0x145)],'dFlkF':function(_0x441ee8,_0x37d983){return _0x4d6f0a['bgekL'](_0x441ee8,_0x37d983);}};this[_0x1028bc(0x212)][_0x1028bc(0x1f6)](_0x590ed4,(_0x220016,_0x4e6df8)=>{const _0x11c0d3=_0x1028bc;if(_0x220016){this['logger'][_0x11c0d3(0x216)](_0x11c0d3(0x14f)+_0x220016[_0x11c0d3(0x1bb)]),_0x3052e8[_0x11c0d3(0x19e)](_0x4e5a47,_0x220016),PerformanceTester['end'](PerformanceEvents[_0x11c0d3(0x1a4)],![],util[_0x11c0d3(0x1ff)](_0x220016));return;}this[_0x11c0d3(0x19f)][_0x11c0d3(0x1f3)](_0x3052e8[_0x11c0d3(0x233)]),PerformanceTester[_0x11c0d3(0x13f)](PerformanceEvents['SDK_START_BIN_SESSION']),_0x3052e8[_0x11c0d3(0x218)](_0x553b66,_0x4e6df8);});});}catch(_0x5203ec){this[_0x30c213(0x19f)][_0x30c213(0x216)](_0x30c213(0x156)+util[_0x30c213(0x1ff)](_0x5203ec)),PerformanceTester['end'](PerformanceEvents[_0x30c213(0x1a4)],![],util[_0x30c213(0x1ff)](_0x5203ec));throw _0x5203ec;}}async[a74_0x13cf5b(0x19d)](){const _0x593901=a74_0x13cf5b,_0x441878={'wVCVE':function(_0x216223,_0x41044b){return _0x216223(_0x41044b);},'gAYGf':_0x593901(0x142),'YTLKW':_0x593901(0x1f2),'pjyFC':_0x593901(0x19c),'gSEUq':_0x593901(0x1a5),'BGlZk':'\x22accessKey\x22:\x22[REDACTED]\x22','KvdBw':_0x593901(0x15e)};PerformanceTester['start'](PerformanceEvents[_0x593901(0x1f1)]),this['logger']['info'](_0x441878['YTLKW']);try{!this[_0x593901(0x212)]&&this[_0x593901(0x19f)][_0x593901(0x1f3)](_0x441878['pjyFC']);const _0x5ecf51=new messages['ConnectBinSessionRequest']();_0x5ecf51[_0x593901(0x214)](this[_0x593901(0x1d0)]);const _0x1229a1=await new Promise((_0x34a046,_0x41a1b1)=>{const _0x2cc3aa=_0x593901;this[_0x2cc3aa(0x212)][_0x2cc3aa(0x19d)](_0x5ecf51,(_0x5b7a10,_0x5ac803)=>{const _0x302462=_0x2cc3aa;if(_0x5b7a10){this['logger'][_0x302462(0x216)](_0x302462(0x176)+_0x5b7a10[_0x302462(0x1bb)]),_0x441878[_0x302462(0x146)](_0x41a1b1,_0x5b7a10),PerformanceTester[_0x302462(0x13f)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x302462(0x1ff)](_0x5b7a10));return;}this[_0x302462(0x19f)][_0x302462(0x1f3)](_0x441878[_0x302462(0x1e3)]),PerformanceTester[_0x302462(0x13f)](PerformanceEvents[_0x302462(0x1f1)]),_0x441878[_0x302462(0x146)](_0x34a046,_0x5ac803);});}),_0x439f74=util['format'](_0x1229a1)['replace'](/"userName":"[^"]*"/g,_0x441878[_0x593901(0x1e1)])[_0x593901(0x227)](/"accessKey":"[^"]*"/g,_0x441878[_0x593901(0x183)])['replace'](/"key":"[^"]*"/g,_0x441878['KvdBw']);return this[_0x593901(0x19f)]['debug'](_0x593901(0x18a)+_0x439f74),_0x1229a1;}catch(_0x44c7f7){PerformanceTester[_0x593901(0x13f)](PerformanceEvents[_0x593901(0x1f1)],![],util[_0x593901(0x1ff)](_0x44c7f7)),this[_0x593901(0x19f)][_0x593901(0x216)]('Error\x20in\x20connectBinSession:\x20'+util[_0x593901(0x1ff)](_0x44c7f7));throw _0x44c7f7;}}async[a74_0x13cf5b(0x228)](_0x329347={},_0x551626=null){const _0x13b2db=a74_0x13cf5b,_0x4aa1ce={'VgqMk':function(_0x448a8e,_0xbe3d71){return _0x448a8e(_0xbe3d71);},'Dboix':_0x13b2db(0x175),'iKWHW':'Stopping\x20bin\x20session','KznXS':_0x13b2db(0x1f8),'PElHt':_0x13b2db(0x19c),'iXpLo':_0x13b2db(0x1bd)};PerformanceTester['start'](PerformanceEvents['SDK_CLI_ON_STOP']),this[_0x13b2db(0x19f)][_0x13b2db(0x1f3)](_0x4aa1ce['iKWHW']);try{if(!this['binSessionId'])throw new Error(_0x4aa1ce['KznXS']);!this[_0x13b2db(0x212)]&&this[_0x13b2db(0x19f)][_0x13b2db(0x1f3)](_0x4aa1ce[_0x13b2db(0x1fd)]);const _0x157912=new messages[(_0x13b2db(0x1de))]();this[_0x13b2db(0x19f)][_0x13b2db(0x1f9)](_0x13b2db(0x15a)+JSON['stringify'](_0x551626)),_0x157912[_0x13b2db(0x214)](this['binSessionId']),_0x157912[_0x13b2db(0x1fc)](_0x329347),_0x157912[_0x13b2db(0x15f)](_0x551626?_0x551626:null),_0x157912[_0x13b2db(0x1d2)](_0x551626?_0x4aa1ce[_0x13b2db(0x20e)]:null),_0x157912[_0x13b2db(0x217)](_0x551626?0x1:0x0);const _0x1c6fc5=await new Promise((_0x4f52b8,_0x3f6fd9)=>{const _0x37937a=_0x13b2db;this[_0x37937a(0x212)][_0x37937a(0x228)](_0x157912,(_0x38fa80,_0x1afe88)=>{const _0x217ea7=_0x37937a;if(_0x38fa80){this[_0x217ea7(0x19f)]['error'](_0x217ea7(0x1d1)+_0x38fa80[_0x217ea7(0x1bb)]),_0x4aa1ce[_0x217ea7(0x16a)](_0x3f6fd9,_0x38fa80),PerformanceTester[_0x217ea7(0x13f)](PerformanceEvents[_0x217ea7(0x22b)],![],util['format'](_0x38fa80));return;}this[_0x217ea7(0x19f)][_0x217ea7(0x1f3)](_0x4aa1ce[_0x217ea7(0x1ce)]),PerformanceTester['end'](PerformanceEvents['SDK_CLI_ON_STOP']),_0x4aa1ce[_0x217ea7(0x16a)](_0x4f52b8,_0x1afe88);});});return this['logger'][_0x13b2db(0x1f9)]('stop-bin-session\x20response:\x20'+util[_0x13b2db(0x1ff)](_0x1c6fc5)),_0x1c6fc5;}catch(_0x5e07e0){PerformanceTester[_0x13b2db(0x13f)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util['format'](_0x5e07e0)),this[_0x13b2db(0x19f)][_0x13b2db(0x216)]('Error\x20in\x20stopBinSession:\x20'+util[_0x13b2db(0x1ff)](_0x5e07e0));}}async[a74_0x13cf5b(0x195)](_0x459b41){const _0x4b2a4e=a74_0x13cf5b,_0x5cad8b={'oVEYG':function(_0x12a567,_0x28b767){return _0x12a567(_0x28b767);},'lkaEZ':_0x4b2a4e(0x21b),'CrUMj':function(_0x5daff8,_0x712c03){return _0x5daff8(_0x712c03);},'YyjEy':'Getting\x20Playwright\x20config','yhOrX':'No\x20gRPC\x20client\x20not\x20initialized.'};PerformanceTester[_0x4b2a4e(0x13e)](PerformanceEvents[_0x4b2a4e(0x207)]),this['logger'][_0x4b2a4e(0x1f3)](_0x5cad8b['YyjEy']);try{!this[_0x4b2a4e(0x212)]&&this[_0x4b2a4e(0x19f)][_0x4b2a4e(0x1f3)](_0x5cad8b[_0x4b2a4e(0x15b)]);const _0xaa354d=new messages[(_0x4b2a4e(0x18e))]();return _0xaa354d[_0x4b2a4e(0x214)](this[_0x4b2a4e(0x1d0)]),_0xaa354d[_0x4b2a4e(0x22f)](JSON['stringify'](_0x459b41)),new Promise((_0x1997e2,_0x352222)=>{const _0x25e147=_0x4b2a4e,_0x4d7731={'aEkgk':function(_0x326fa2,_0x41c5b6){return _0x5cad8b['oVEYG'](_0x326fa2,_0x41c5b6);},'YIkHu':_0x5cad8b[_0x25e147(0x172)],'uncdy':function(_0x58f57d,_0x2186e3){const _0x15897d=_0x25e147;return _0x5cad8b[_0x15897d(0x1e0)](_0x58f57d,_0x2186e3);}};this[_0x25e147(0x212)][_0x25e147(0x21e)](_0xaa354d,(_0x3ffe18,_0x12f560)=>{const _0x19671c=_0x25e147;if(_0x3ffe18){this['logger'][_0x19671c(0x216)](_0x19671c(0x1e2)+_0x3ffe18[_0x19671c(0x1bb)]),_0x4d7731['aEkgk'](_0x352222,_0x3ffe18),PerformanceTester[_0x19671c(0x13f)](PerformanceEvents[_0x19671c(0x207)],![],util[_0x19671c(0x1ff)](_0x3ffe18));return;}this[_0x19671c(0x19f)][_0x19671c(0x1f3)](_0x4d7731[_0x19671c(0x193)]),PerformanceTester[_0x19671c(0x13f)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),_0x4d7731[_0x19671c(0x16e)](_0x1997e2,_0x12f560);});});}catch(_0x393308){PerformanceTester[_0x4b2a4e(0x13f)](PerformanceEvents[_0x4b2a4e(0x207)],![],util[_0x4b2a4e(0x1ff)](_0x393308)),this['logger'][_0x4b2a4e(0x216)]('Error\x20in\x20getPlaywrightConfig:\x20'+util['format'](_0x393308));throw _0x393308;}}async[a74_0x13cf5b(0x200)](_0x43b756){const _0x3c9ff9=a74_0x13cf5b,_0x318309={'kAZJU':function(_0x318606,_0x3294e0){return _0x318606(_0x3294e0);},'DWlob':_0x3c9ff9(0x225),'dphgD':function(_0xa2bc8b,_0x26a0a0){return _0xa2bc8b(_0x26a0a0);},'VeaTQ':'Getting\x20Accessibility\x20config','wmMOo':_0x3c9ff9(0x14c)};this[_0x3c9ff9(0x19f)]['info'](_0x318309['VeaTQ']);try{const _0x3215ae=Buffer[_0x3c9ff9(0x231)](JSON[_0x3c9ff9(0x1b7)](_0x43b756[_0x3c9ff9(0x1bc)]),_0x318309[_0x3c9ff9(0x165)]),_0x2d740f=new messages[(_0x3c9ff9(0x1cd))](),_0x55afe8=CLIUtils[_0x3c9ff9(0x1c6)](),_0x31cae2=_0x55afe8[_0x3c9ff9(0x1c7)],_0x270dda=_0x55afe8['version'];return _0x2d740f['setBinSessionId'](this[_0x3c9ff9(0x1d0)]),_0x2d740f[_0x3c9ff9(0x1c2)](0x0),_0x2d740f['setFrameworkName'](_0x31cae2),_0x2d740f[_0x3c9ff9(0x18d)](_0x270dda),_0x2d740f[_0x3c9ff9(0x1eb)](_0x43b756[_0x3c9ff9(0x150)]),_0x2d740f[_0x3c9ff9(0x16d)](_0x3215ae),new Promise((_0x4a5e8c,_0xe1c0c7)=>{const _0xb97f27=_0x3c9ff9;this[_0xb97f27(0x212)][_0xb97f27(0x1c9)](_0x2d740f,(_0x191299,_0x2b8cda)=>{const _0x4cf858=_0xb97f27;if(_0x191299){this[_0x4cf858(0x19f)]['error'](_0x4cf858(0x1f5)+_0x191299[_0x4cf858(0x1bb)]),_0x318309[_0x4cf858(0x20b)](_0xe1c0c7,_0x191299);return;}this[_0x4cf858(0x19f)][_0x4cf858(0x1f3)](_0x318309[_0x4cf858(0x194)]),_0x318309[_0x4cf858(0x180)](_0x4a5e8c,_0x2b8cda);});});}catch(_0x1db314){this['logger'][_0x3c9ff9(0x216)](_0x3c9ff9(0x144)+util[_0x3c9ff9(0x1ff)](_0x1db314));}}async[a74_0x13cf5b(0x1ea)](_0x2dc6b4){const _0x3c6cce=a74_0x13cf5b,_0x11dbd5={'YRocx':function(_0x1260ff,_0x3f964f){return _0x1260ff(_0x3f964f);},'aJHaS':_0x3c6cce(0x1ab),'HAwdG':_0x3c6cce(0x1a9),'MdgVN':_0x3c6cce(0x19c)};this[_0x3c6cce(0x19f)]['info'](_0x11dbd5[_0x3c6cce(0x230)]);try{!this[_0x3c6cce(0x212)]&&this['logger'][_0x3c6cce(0x1f3)](_0x11dbd5[_0x3c6cce(0x14d)]);const {platformIndex:_0x3d9308,testFrameworkName:_0x1079ac,testFrameworkVersion:_0x517cb8,testFrameworkState:_0x349d9d,testHookState:_0x2a3626,testUuid:_0x5442a6,automationSession:_0x4389d4,capabilities:_0xcaa2f3,executionContext:_0x1a046d}=_0x2dc6b4,_0x4ca009=new messages[(_0x3c6cce(0x1cb))]();_0x4ca009[_0x3c6cce(0x214)](this[_0x3c6cce(0x1d0)]),_0x4ca009[_0x3c6cce(0x1c2)](_0x3d9308),_0x4ca009[_0x3c6cce(0x1d9)](_0x1079ac),_0x4ca009['setTestFrameworkVersion'](_0x517cb8),_0x4ca009['setTestFrameworkState'](_0x349d9d),_0x4ca009[_0x3c6cce(0x23d)](_0x2a3626),_0x4ca009[_0x3c6cce(0x23e)](_0x5442a6);const _0x3474d8=new messages[(_0x3c6cce(0x1cb))]['AutomationSession']();_0x3474d8['setProvider'](_0x4389d4['provider']),_0x3474d8[_0x3c6cce(0x1b2)](_0x4389d4['frameworkName']),_0x3474d8[_0x3c6cce(0x18d)](_0x4389d4[_0x3c6cce(0x15c)]),_0x3474d8['setFrameworkSessionId'](_0x4389d4[_0x3c6cce(0x206)]),_0x3474d8[_0x3c6cce(0x1c3)](_0x4389d4[_0x3c6cce(0x1db)]),_0x3474d8['setHubUrl'](_0x4389d4[_0x3c6cce(0x150)]),_0x4ca009['addAutomationSessions'](_0x3474d8),_0x4ca009['setCapabilities'](_0xcaa2f3);const _0x43d4ed=new messages[(_0x3c6cce(0x199))]();return _0x43d4ed[_0x3c6cce(0x1e5)](_0x1a046d[_0x3c6cce(0x236)]),_0x43d4ed['setThreadId'](_0x1a046d[_0x3c6cce(0x205)]),_0x43d4ed[_0x3c6cce(0x17d)](_0x1a046d['hash']),_0x4ca009[_0x3c6cce(0x18c)](_0x43d4ed),new Promise((_0x5bb5a7,_0x29d07d)=>{const _0x3a235a=_0x3c6cce,_0x51072e={'YfpFm':function(_0x5b0538,_0x3a672a){const _0x40e188=a74_0x27cd;return _0x11dbd5[_0x40e188(0x187)](_0x5b0538,_0x3a672a);},'xryKJ':_0x11dbd5['aJHaS']};this[_0x3a235a(0x212)][_0x3a235a(0x1ea)](_0x4ca009,(_0x4da838,_0xfcf041)=>{const _0x2034f4=_0x3a235a;if(_0x4da838){this[_0x2034f4(0x19f)][_0x2034f4(0x216)](_0x2034f4(0x198)+_0x4da838[_0x2034f4(0x1bb)]),_0x51072e[_0x2034f4(0x173)](_0x29d07d,_0x4da838);return;}this[_0x2034f4(0x19f)]['info'](_0x51072e['xryKJ']),_0x51072e[_0x2034f4(0x173)](_0x5bb5a7,_0xfcf041);});});}catch(_0x7fdad5){this[_0x3c6cce(0x19f)][_0x3c6cce(0x216)](_0x3c6cce(0x211)+util[_0x3c6cce(0x1ff)](_0x7fdad5));throw _0x7fdad5;}}async[a74_0x13cf5b(0x141)](_0x1fb3cc){const _0x3f4744=a74_0x13cf5b,_0x5ed1ec={'CbzhR':function(_0x238667,_0x4610f9){return _0x238667(_0x4610f9);},'Xjjgd':_0x3f4744(0x1f0),'HMmrl':_0x3f4744(0x1df),'OmAEv':_0x3f4744(0x19c)};this[_0x3f4744(0x19f)][_0x3f4744(0x1f3)](_0x5ed1ec[_0x3f4744(0x1cc)]);try{!this[_0x3f4744(0x212)]&&this[_0x3f4744(0x19f)][_0x3f4744(0x1f3)](_0x5ed1ec[_0x3f4744(0x13d)]);const {platfromIndex:_0xe05fd7,testFrameworkName:_0x519b59,testFrameworkVersion:_0x51b13a,testFrameworkState:_0x4b67a5,hookState:_0x19aab3,startedAt:_0x2ddcc1,endedAt:_0x3247bb,uuid:_0x54f89a,eventJson:_0x45dc4a,executionContext:_0xb01061}=_0x1fb3cc,_0x202c12=new messages[(_0x3f4744(0x17e))]();_0x202c12[_0x3f4744(0x214)](this[_0x3f4744(0x1d0)]),_0x202c12[_0x3f4744(0x1c2)](_0xe05fd7),_0x202c12[_0x3f4744(0x1d9)](_0x519b59),_0x202c12[_0x3f4744(0x209)](_0x51b13a),_0x202c12[_0x3f4744(0x22c)](_0x4b67a5),_0x202c12['setTestHookState'](_0x19aab3),_0x202c12[_0x3f4744(0x147)](_0x2ddcc1),_0x202c12[_0x3f4744(0x23f)](_0x3247bb),_0x202c12['setUuid'](_0x54f89a),_0x202c12['setEventJson'](_0x45dc4a);const _0x161ee9=new messages['ExecutionContext']();return _0x161ee9[_0x3f4744(0x1e5)](_0xb01061[_0x3f4744(0x236)]),_0x161ee9[_0x3f4744(0x23b)](_0xb01061[_0x3f4744(0x205)]),_0x161ee9[_0x3f4744(0x17d)](_0xb01061[_0x3f4744(0x159)]),_0x202c12[_0x3f4744(0x18c)](_0x161ee9),new Promise((_0x5815cc,_0x52391d)=>{const _0x26cf34=_0x3f4744;this[_0x26cf34(0x212)][_0x26cf34(0x141)](_0x202c12,(_0x43d0eb,_0x2e52f1)=>{const _0x575372=_0x26cf34;if(_0x43d0eb){this['logger'][_0x575372(0x216)]('TestFrameworkEvent\x20error:\x20'+_0x43d0eb[_0x575372(0x1bb)]),_0x5ed1ec[_0x575372(0x149)](_0x52391d,_0x43d0eb);return;}this[_0x575372(0x19f)][_0x575372(0x1f3)](_0x5ed1ec[_0x575372(0x1e4)]),_0x5ed1ec[_0x575372(0x149)](_0x5815cc,_0x2e52f1);});});}catch(_0x5a9e94){this['logger']['error']('Error\x20in\x20TestFrameworkEvent:\x20'+util[_0x3f4744(0x1ff)](_0x5a9e94));throw _0x5a9e94;}}async[a74_0x13cf5b(0x185)](_0x389f34){const _0x1d28e8=a74_0x13cf5b,_0x4156de={'UBIpr':function(_0x40a36b,_0x4d4321){return _0x40a36b(_0x4d4321);},'wndiL':_0x1d28e8(0x13a),'AbbpK':'Sending\x20DriverInit','uICjq':_0x1d28e8(0x19c)};this[_0x1d28e8(0x19f)][_0x1d28e8(0x1f3)](_0x4156de['AbbpK']);try{!this[_0x1d28e8(0x212)]&&this[_0x1d28e8(0x19f)]['info'](_0x4156de[_0x1d28e8(0x1dc)]);const {platformIndex:_0x271424,ref:_0x119e9e,userInputParams:_0x3065e9}=_0x389f34,_0x288938=new messages[(_0x1d28e8(0x1fa))]();return _0x288938[_0x1d28e8(0x214)](this[_0x1d28e8(0x1d0)]),_0x288938[_0x1d28e8(0x1c2)](_0x271424),_0x288938[_0x1d28e8(0x1c3)](_0x119e9e),_0x288938[_0x1d28e8(0x210)](_0x3065e9),new Promise((_0x5eb13b,_0xe41bef)=>{const _0x4159b1=_0x1d28e8,_0x423274={'lGJVn':function(_0x29d494,_0x356dd9){return _0x4156de['UBIpr'](_0x29d494,_0x356dd9);},'uxaJt':_0x4156de[_0x4159b1(0x14b)],'uERxk':function(_0x18790a,_0x3d61f6){const _0x1dba1f=_0x4159b1;return _0x4156de[_0x1dba1f(0x160)](_0x18790a,_0x3d61f6);}};this['client'][_0x4159b1(0x185)](_0x288938,(_0x53f652,_0x5b980e)=>{const _0x124728=_0x4159b1;if(_0x53f652){this[_0x124728(0x19f)][_0x124728(0x216)](_0x124728(0x1c5)+_0x53f652[_0x124728(0x1bb)]),_0x423274[_0x124728(0x232)](_0xe41bef,_0x53f652);return;}this[_0x124728(0x19f)][_0x124728(0x1f3)](_0x423274['uxaJt']),_0x423274[_0x124728(0x1c0)](_0x5eb13b,_0x5b980e);});});}catch(_0x4b187f){this['logger'][_0x1d28e8(0x216)](_0x1d28e8(0x177)+util[_0x1d28e8(0x1ff)](_0x4b187f));throw _0x4b187f;}}async[a74_0x13cf5b(0x1af)](_0x2a8ed1){const _0x250914=a74_0x13cf5b,_0x5baf41={'ccIUa':function(_0x107d50,_0x554fb6){return _0x107d50===_0x554fb6;},'RLAgE':function(_0x483889,_0x5bde7c){return _0x483889(_0x5bde7c);},'HRqNs':_0x250914(0x14e),'JvngN':function(_0x20ea12,_0x4b949a){return _0x20ea12(_0x4b949a);},'qlxuM':_0x250914(0x1a0),'MEINk':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x250914(0x19f)][_0x250914(0x1f3)](_0x5baf41[_0x250914(0x16c)]);try{!this[_0x250914(0x212)]&&this['logger'][_0x250914(0x1f3)](_0x5baf41['MEINk']);const {platformIndex:_0x3955b3,logs:_0x4199b9}=_0x2a8ed1,_0x39ad8f=new messages[(_0x250914(0x1cf))]();_0x39ad8f[_0x250914(0x214)](this[_0x250914(0x1d0)]),_0x39ad8f[_0x250914(0x1c2)](_0x3955b3);const _0x562b1c=_0x2a8ed1[_0x250914(0x163)],_0x1bdf3a=_0x2a8ed1['testFrameworkVersion'],_0x4adf59=_0x2a8ed1['testFrameworkState'];return _0x4199b9['forEach'](_0x3353ab=>{const _0x381b3d=_0x250914,_0x49c8a9=new messages[(_0x381b3d(0x1cf))][(_0x381b3d(0x155))]();_0x49c8a9['setTestFrameworkName'](_0x562b1c),_0x49c8a9[_0x381b3d(0x209)](_0x1bdf3a),_0x49c8a9[_0x381b3d(0x22c)](_0x4adf59),_0x49c8a9[_0x381b3d(0x237)](_0x3353ab[_0x381b3d(0x16f)]),_0x49c8a9[_0x381b3d(0x13b)](_0x3353ab[_0x381b3d(0x19a)]),_0x49c8a9['setKind'](_0x3353ab[_0x381b3d(0x222)]),_0x5baf41[_0x381b3d(0x153)](_0x3353ab['attachment_type'],PLAYWRIGHT_TRACE_LOGS)?(_0x49c8a9[_0x381b3d(0x13b)](_0x3353ab[_0x381b3d(0x1d7)]),_0x49c8a9[_0x381b3d(0x229)](new TextEncoder()[_0x381b3d(0x1e6)](JSON['stringify'](_0x3353ab)))):_0x49c8a9[_0x381b3d(0x229)](new TextEncoder()[_0x381b3d(0x1e6)](_0x3353ab[_0x381b3d(0x1bb)])),_0x49c8a9['setLevel'](_0x3353ab[_0x381b3d(0x1a8)]),_0x49c8a9['setFileName'](_0x3353ab?.['fileName']||''),_0x49c8a9[_0x381b3d(0x1b6)](_0x3353ab?.[_0x381b3d(0x1be)]||''),_0x49c8a9[_0x381b3d(0x235)](_0x3353ab?.[_0x381b3d(0x202)]||0x0),_0x49c8a9[_0x381b3d(0x1b8)](_0x3353ab?.['attachment_type']||''),_0x39ad8f['addLogs'](_0x49c8a9);}),new Promise((_0x392d1c,_0x4ead26)=>{const _0x1fd910=_0x250914;this[_0x1fd910(0x212)][_0x1fd910(0x1af)](_0x39ad8f,(_0x349250,_0x57d28e)=>{const _0x27461f=_0x1fd910;if(_0x349250){this['logger'][_0x27461f(0x216)](_0x27461f(0x240)+_0x349250[_0x27461f(0x1bb)]),_0x5baf41[_0x27461f(0x223)](_0x4ead26,_0x349250);return;}this[_0x27461f(0x19f)]['info'](_0x5baf41[_0x27461f(0x140)]),_0x5baf41['JvngN'](_0x392d1c,_0x57d28e);});});}catch(_0x505312){this[_0x250914(0x19f)]['error'](_0x250914(0x179)+util[_0x250914(0x1ff)](_0x505312));throw _0x505312;}}async['fetchDriverExecuteParamsEvent'](_0x57b708,_0x566896,_0x322e5a){const _0x529878=a74_0x13cf5b,_0x45e2d2={'ARzoy':function(_0x2b98f1,_0x32e889){return _0x2b98f1(_0x32e889);},'oAfKC':_0x529878(0x1f4)};this[_0x529878(0x19f)][_0x529878(0x1f9)](_0x529878(0x1ba)+_0x57b708+',\x20product='+_0x566896+_0x529878(0x192)+_0x322e5a);try{if(!this['client'])return this[_0x529878(0x19f)][_0x529878(0x1f9)](_0x45e2d2['oAfKC']),null;const _0x60049e=new messages['FetchDriverExecuteParamsEventRequest']();return _0x60049e['setBinSessionId'](_0x57b708),_0x60049e['setProduct'](_0x566896),_0x60049e[_0x529878(0x13c)](_0x322e5a),await new Promise(_0x224dd8=>{const _0x4acbb3=_0x529878,_0x54c058={'khFde':function(_0x4f122c,_0xea0167){const _0x5f05fb=a74_0x27cd;return _0x45e2d2[_0x5f05fb(0x1ed)](_0x4f122c,_0xea0167);}};this[_0x4acbb3(0x212)]['fetchDriverExecuteParamsEvent'](_0x60049e,(_0x411a7c,_0x20ccdd)=>{const _0xc1dc89=_0x4acbb3;if(_0x411a7c){this[_0xc1dc89(0x19f)]['debug']('Error\x20in\x20FetchDriverExecuteParamsEvent:\x20'+_0x411a7c),_0x54c058[_0xc1dc89(0x162)](_0x224dd8,null);return;}this[_0xc1dc89(0x19f)][_0xc1dc89(0x1f9)]('FetchDriverExecuteParamsEvent\x20successful\x20-\x20success='+(_0x20ccdd[_0xc1dc89(0x219)]&&_0x20ccdd[_0xc1dc89(0x219)]())),_0x54c058[_0xc1dc89(0x162)](_0x224dd8,_0x20ccdd);});});}catch(_0xe6895b){return this[_0x529878(0x19f)]['debug'](_0x529878(0x204)+_0xe6895b),null;}}async[a74_0x13cf5b(0x151)](_0xe88343){const _0x3e42f4=a74_0x13cf5b,_0x3218e6={'yNPWC':function(_0x42b0ec,_0x65a4a4){return _0x42b0ec(_0x65a4a4);},'oXvAJ':'ReportClientTroubleshootingError\x20successful','jTRrz':'No\x20gRPC\x20client\x20initialized.'};this[_0x3e42f4(0x19f)]['debug'](_0x3e42f4(0x181)+_0xe88343);try{if(!this[_0x3e42f4(0x212)])return this['logger'][_0x3e42f4(0x1f9)](_0x3218e6[_0x3e42f4(0x157)]),null;const _0x54a3b1=new messages[(_0x3e42f4(0x169))]();_0x54a3b1[_0x3e42f4(0x214)](this[_0x3e42f4(0x1d0)]),_0x54a3b1[_0x3e42f4(0x164)](_0xe88343);const _0xe35849=await new Promise((_0xd2f068,_0x45b978)=>{const _0x51b17e=_0x3e42f4,_0x22f867={'kUqPg':function(_0x397b97,_0x5b8755){const _0x3ec3fd=a74_0x27cd;return _0x3218e6[_0x3ec3fd(0x234)](_0x397b97,_0x5b8755);},'zktoI':_0x3218e6[_0x51b17e(0x184)]};this[_0x51b17e(0x212)][_0x51b17e(0x151)](_0x54a3b1,(_0x938a93,_0x4d2ee2)=>{const _0x4e4419=_0x51b17e;if(_0x938a93){this[_0x4e4419(0x19f)][_0x4e4419(0x1f9)](_0x4e4419(0x220)+_0x938a93),_0x22f867[_0x4e4419(0x1fb)](_0x45b978,_0x938a93);return;}this['logger'][_0x4e4419(0x1f9)](_0x22f867[_0x4e4419(0x1d8)]),_0x22f867[_0x4e4419(0x1fb)](_0xd2f068,_0x4d2ee2);});});return _0xe35849;}catch(_0x365567){return this[_0x3e42f4(0x19f)][_0x3e42f4(0x1f9)]('Error\x20in\x20ReportClientTroubleshootingError:\x20'+_0x365567),null;}}async[a74_0x13cf5b(0x1b5)](){const _0x21bb5f=a74_0x13cf5b,_0x441147={'TZbAr':function(_0x4fd27f,_0x3baeb1){return _0x4fd27f(_0x3baeb1);},'KPhSN':_0x21bb5f(0x17b),'yGxtx':_0x21bb5f(0x21c),'DJEcX':_0x21bb5f(0x1f4)};this[_0x21bb5f(0x19f)][_0x21bb5f(0x1f9)](_0x441147[_0x21bb5f(0x167)]);try{if(!this[_0x21bb5f(0x212)])return this['logger'][_0x21bb5f(0x1f9)](_0x441147[_0x21bb5f(0x20a)]),null;const _0x4bd953=new messages['GetAggregatedClientTroubleshootingErrorsRequest']();_0x4bd953['setBinSessionId'](this[_0x21bb5f(0x1d0)]);const _0xb19a8e=await new Promise((_0x158989,_0x558263)=>{const _0x7548b2={'AqOGI':function(_0x155842,_0x433077){const _0x2c2d23=a74_0x27cd;return _0x441147[_0x2c2d23(0x1b4)](_0x155842,_0x433077);},'CEtRJ':_0x441147['KPhSN'],'DqdAL':function(_0x1e7c4b,_0x359d3b){const _0x4497e=a74_0x27cd;return _0x441147[_0x4497e(0x1b4)](_0x1e7c4b,_0x359d3b);}};this['client']['getAggregatedClientTroubleshootingErrors'](_0x4bd953,(_0xe22ef4,_0x3f7529)=>{const _0x298ebd=a74_0x27cd;if(_0xe22ef4){this[_0x298ebd(0x19f)][_0x298ebd(0x1f9)]('Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20'+_0xe22ef4),_0x7548b2[_0x298ebd(0x14a)](_0x558263,_0xe22ef4);return;}this[_0x298ebd(0x19f)]['debug'](_0x7548b2[_0x298ebd(0x1a1)]),_0x7548b2['DqdAL'](_0x158989,_0x3f7529);});});return _0xb19a8e;}catch(_0x4f3c04){return this[_0x21bb5f(0x19f)]['debug'](_0x21bb5f(0x191)+_0x4f3c04),null;}}[a74_0x13cf5b(0x215)](){return this['client'];}['getChannel'](){const _0x7068a4=a74_0x13cf5b;return this[_0x7068a4(0x22e)];}}function a74_0x27cd(_0x270f34,_0x27e1be){const _0x2237c1=a74_0x2237();return a74_0x27cd=function(_0x27cdb7,_0x44ccd5){_0x27cdb7=_0x27cdb7-0x13a;let _0x3aa338=_0x2237c1[_0x27cdb7];return _0x3aa338;},a74_0x27cd(_0x270f34,_0x27e1be);}module[a74_0x13cf5b(0x1e8)]=GrpcClient;
1
+ const a74_0x2f54b6=a74_0x3c98;function a74_0x3c98(_0x1729e8,_0x571cf3){const _0x2662eb=a74_0x2662();return a74_0x3c98=function(_0x3c988f,_0x2bbc56){_0x3c988f=_0x3c988f-0x106;let _0x4973c2=_0x2662eb[_0x3c988f];return _0x4973c2;},a74_0x3c98(_0x1729e8,_0x571cf3);}(function(_0x501042,_0x2cfec0){const _0x24efd4=a74_0x3c98,_0x5189de=_0x501042();while(!![]){try{const _0x521a89=-parseInt(_0x24efd4(0x109))/0x1+-parseInt(_0x24efd4(0x137))/0x2+-parseInt(_0x24efd4(0x10d))/0x3*(parseInt(_0x24efd4(0x126))/0x4)+parseInt(_0x24efd4(0x1c6))/0x5*(-parseInt(_0x24efd4(0x214))/0x6)+parseInt(_0x24efd4(0x178))/0x7+parseInt(_0x24efd4(0x191))/0x8*(-parseInt(_0x24efd4(0x171))/0x9)+-parseInt(_0x24efd4(0x180))/0xa*(-parseInt(_0x24efd4(0x115))/0xb);if(_0x521a89===_0x2cfec0)break;else _0x5189de['push'](_0x5189de['shift']());}catch(_0xf46519){_0x5189de['push'](_0x5189de['shift']());}}}(a74_0x2662,0xc9ff9));const util=require(a74_0x2f54b6(0x160)),logger=require(a74_0x2f54b6(0x19e))[a74_0x2f54b6(0x157)],grpc=require(a74_0x2f54b6(0x18c)),services=require(a74_0x2f54b6(0x121)),messages=require(a74_0x2f54b6(0x1ed)),path=require(a74_0x2f54b6(0x202)),CLIUtils=require('./cliUtils.js'),{createClassLogger}=require(a74_0x2f54b6(0x13f)),PerformanceTester=require(a74_0x2f54b6(0x18b)),{EVENTS:PerformanceEvents}=require(a74_0x2f54b6(0x1f1)),{PLAYWRIGHT_TRACE_LOGS}=require('../utils/constants'),helper=require(a74_0x2f54b6(0x1d9));function a74_0x2662(){const _0x572420=['util','mKNvV','credentials','DriverInit\x20error:\x20','setLanguage','resolve','./browserstackCLI.js','DriverInit\x20request\x20successful','setPlatformIndex','setEndedAt','setErrorKey','setBinSessionId','stopBinSession','message','setHubUrl','UOHbn','LogCreatedEventRequest','460773hzGUVT','testFrameworkState','Error\x20in\x20getAccessibilityConfig:\x20','binSessionId','connectBinSession','CjjcN','ConnectBinSession\x20successful','1423779dGWEMi','env','setFileSize','Error\x20in\x20getPlaywrightConfig:\x20','Missing\x20binSessionId','AyKTB','createInsecure','timestamp','10xlLcbm','EMoVf','ReportClientTroubleshootingError\x20successful','kkpxj','listenAddress','TestFrameworkEventRequest','threadId','ReportClientTroubleshootingErrorRequest','start','GBSOM','setMessage','../../helpers/performance/performance-tester.js','@grpc/grpc-js','UWKld','Error\x20in\x20startBinSession:\x20','SDK_CONNECT_BIN_SESSION','DriverInitRequest','32hfmeTn','\x22accessKey\x22:\x22[REDACTED]\x22','uuid','vODKv','setFileName','getSdkVersion','testFrameworkVersion','test_run_uuid','BOjcX','zVlGO','Error\x20in\x20DriverInit:\x20','testSessionEvent','setExitCode','../../helpers/logger.js','stop-bin-session\x20response:\x20','entries','No\x20gRPC\x20client\x20initialized.','getPlaywrightConfig','name','Mlcvz','JbNXI','Error\x20in\x20TestSessionEvent:\x20','Channel','startBinSession:\x20Calling\x20startBinSession','addLogs','client','testFrameworkEvent','Sending\x20TestSessionEvent','setExitReason','swHgu','getAccessibilityConfig','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','JOxat','TestSessionEvent\x20request\x20successful','setEventJson','setHash','WTQtk','vYqHv','setTestFrameworkName','startBinSession','setPathConfig','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','ConnectBinSession\x20error:\x20','StopBinSession\x20error:\x20','NwwLH','utf-8','getEnvVarsMap','null','Connecting\x20bin\x20session','attachment_type','TestFrameworkEvent\x20request\x20successful','wyKRY','zclHV','905qFNWXs','QcBFu','fSTsN','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','slice','SDK_CLI_ON_STOP','sVSwZ','dhukE','amzxb',',\x20parsedConfig=','DDNma','iHAjS','accessibilityConfig','SDK_START_BIN_SESSION','Getting\x20Playwright\x20config','setSdkLanguage','JAycN','eNXDf','TestSessionEventRequest','../../helpers/helper.js','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','StartBinSessionRequest','setTestFrameworkVersion','GetAggregatedClientTroubleshootingErrors\x20successful','stringify','AccessibilityConfigRequest','cwd','info','addAutomationSessions','logCreatedEvent','debug','version','FXbKI','TestSessionEvent\x20error:\x20','setFilePath','setAttachmentType','SamTR','setFrameworkName','../../../generated/sdk-messages_pb','processId','hgSDC','nPHPb','../../helpers/performance/constants','Sending\x20TestFrameworkEvent','addFrameworks','setKind','logger','setTestFramework','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','Sending\x20DriverInit','\x20and\x20listen\x20address:\x20','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','EWYry','NIUpo','cjFaF','SDK_AUTOMATION_FRAMEWORK_INIT','channel','frameworkName','setThreadId','path','getInstance','setTestUuid','push','StopBinSessionRequest','LogEntry','TcxSo','connect','setTestHookState','setProcessId','setUserInputParams','forEach','setSdkVersion','setLevel','jQooe','\x22key\x22:\x22[REDACTED]\x22','fOkLC','setTestFrameworkState','26922asTcgw','TestFrameworkEvent\x20error:\x20','NhKwA','PlaywrightConfig\x20request\x20successful','setExecutionContext','testFrameworkName','694482rwUiGC','SDKClient','replace','HxIKW','2014914AuzTjL','format','error','GrpcClient','Connected\x20to\x20gRPC\x20server\x20at\x20','bcfeD','setScriptName','YdOjy','50528247PVBNJv','driverInit','from','AnquB','connect-bin-session\x20response:\x20','browserstackConfigFile','LogCreatedEvent\x20error:\x20','setRef','provider','playwrightConfig','setCapabilities','setUuid','../../../generated/sdk_grpc_pb','tLamu','ref','StartBinSession\x20error:\x20','mwCRE','8hhENJP','ConnectBinSessionRequest','Error\x20in\x20ReportClientTroubleshootingError:\x20','encode','lldoN','ExecutionContext','\x20listenAddr:\x20','setPathProject','Error\x20in\x20TestFrameworkEvent:\x20','NeQXi','Sending\x20LogCreatedEvent','reportClientTroubleshootingError','setFrameworkVersion','grpc.keepalive_time_ms','volPw','VJWNY','frameworkVersion','1829592CAeAJZ','GNRBW','dppIv','fetchDriverExecuteParamsEvent','Getting\x20Accessibility\x20config','HILit','\x22userName\x22:\x22[REDACTED]\x22','setCliArgs:\x20cliArgs=','../../helpers/classLogger.js','getBrowserstackCliConfig','user_killed','setProvider','Error\x20in\x20connectBinSession:\x20','setFrameworkSessionId','bPNbp','BROWSERSTACK_CLI_BIN_SESSION_ID','No\x20gRPC\x20client\x20not\x20initialized.','getAutomationFrameworkDetail','FwynZ','hubUrl','NHMLM','FetchDriverExecuteParamsEventRequest','argv','QbgdP','qubCK','end','set','BROWSERSTACK_CONFIG_FILE_PATH','Stopping\x20bin\x20session','getAggregatedClientTroubleshootingErrors','Reporting\x20ClientTroubleshootingError\x20','GetAggregatedClientTroubleshootingErrorsRequest','winstonLogger','launchcaps','AccessibilityConfig\x20error:\x20','hash','Error\x20in\x20LogCreatedEvent:\x20','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','PlaywrightConfigRequest','BxUxF','aGlsb'];a74_0x2662=function(){return _0x572420;};return a74_0x2662();}class GrpcClient{static #instance=null;['binSessionId']=null;[a74_0x2f54b6(0x184)]=null;['channel']=null;['client']=null;['logger']=createClassLogger(a74_0x2f54b6(0x110));constructor(){}static[a74_0x2f54b6(0x203)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}['init'](_0x50e2cc){const _0x5d1e38=a74_0x2f54b6,_0x48e264={};_0x48e264[_0x5d1e38(0x13c)]=function(_0x220084,_0x75971d){return _0x220084||_0x75971d;};const _0x430d5c=_0x48e264,{id:_0x436b19,listen:_0x294ce8}=_0x50e2cc;if(_0x430d5c[_0x5d1e38(0x13c)](!_0x436b19,!_0x294ce8))throw new Error(_0x5d1e38(0x1da)+_0x436b19+_0x5d1e38(0x12c)+_0x294ce8);this[_0x5d1e38(0x174)]=_0x436b19,this[_0x5d1e38(0x184)]=_0x294ce8,process[_0x5d1e38(0x179)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=this['binSessionId'],process[_0x5d1e38(0x179)][_0x5d1e38(0x1fa)]=this[_0x5d1e38(0x184)],this['connect'](),this[_0x5d1e38(0x1f5)][_0x5d1e38(0x1e2)](_0x5d1e38(0x1f7)+this[_0x5d1e38(0x174)]+_0x5d1e38(0x1f9)+this[_0x5d1e38(0x184)]);}[a74_0x2f54b6(0x209)](){const _0x2e997a=a74_0x2f54b6,_0x106721={};_0x106721['FwynZ']=_0x2e997a(0x1b0);const _0x3d2313=_0x106721;let _0x24026c=this['listenAddress'];!_0x24026c&&(_0x24026c=process['env']['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']);!this[_0x2e997a(0x174)]&&(this[_0x2e997a(0x174)]=this['binSessionId']||process[_0x2e997a(0x179)][_0x2e997a(0x146)]);if(!_0x24026c)throw new Error(_0x3d2313[_0x2e997a(0x149)]);const _0x43cf1b={};_0x43cf1b[_0x2e997a(0x133)]=0x2710,this[_0x2e997a(0x1ff)]=new grpc[(_0x2e997a(0x1a7))](_0x24026c,grpc[_0x2e997a(0x162)][_0x2e997a(0x17e)](),_0x43cf1b),this[_0x2e997a(0x1aa)]=new services[(_0x2e997a(0x10a))](_0x24026c,grpc['credentials'][_0x2e997a(0x17e)]()),this[_0x2e997a(0x1f5)]['info'](_0x2e997a(0x111)+_0x24026c);}async[a74_0x2f54b6(0x1b8)](){const _0x20e270=a74_0x2f54b6,_0x314588={'fSTsN':function(_0x59681a,_0x3967b8){return _0x59681a!==_0x3967b8;},'dppIv':function(_0x3fc2c5,_0x2183bb){return _0x3fc2c5!==_0x2183bb;},'fOkLC':function(_0x43ce36,_0x538b0f){return _0x43ce36(_0x538b0f);},'vODKv':'StartBinSession\x20successful','kSwlG':_0x20e270(0x1a8),'pgmTb':_0x20e270(0x147),'DVJfp':_0x20e270(0x166),'hgSDC':function(_0x1fb583,_0x5407e2){return _0x1fb583 instanceof _0x5407e2;},'UOHbn':function(_0x54b20a,_0x163ae3){return _0x54b20a===_0x163ae3;},'mKNvV':_0x20e270(0x11a),'FXbKI':'browserstack.yml','NeQXi':_0x20e270(0x1c0),'QcBFu':function(_0x4c670e,_0x4a3421){return _0x4c670e||_0x4a3421;}};PerformanceTester[_0x20e270(0x188)](PerformanceEvents[_0x20e270(0x1d3)]),this[_0x20e270(0x1f5)][_0x20e270(0x1e2)](_0x314588['kSwlG']);try{!this[_0x20e270(0x1aa)]&&this[_0x20e270(0x1f5)][_0x20e270(0x1e2)](_0x314588['pgmTb']);const _0x3e9309=CLIUtils[_0x20e270(0x196)](),_0x5bfee5=CLIUtils[_0x20e270(0x148)](),_0x1af899=CLIUtils['getTestFrameworkDetail'](),_0x32f729=_0x5bfee5[_0x20e270(0x1a3)],_0x1ddd50=_0x5bfee5[_0x20e270(0x1e6)],_0x510a96=_0x1af899[_0x20e270(0x1a3)],_0x2fa482=_0x1af899[_0x20e270(0x1e6)]?_0x1af899['version'][_0x510a96]:'',_0x47088f=new messages[(_0x20e270(0x1dc))]();_0x47088f['setBinSessionId'](this['binSessionId']),_0x47088f[_0x20e270(0x1d5)](CLIUtils['getSdkLanguage']()),_0x47088f[_0x20e270(0x20e)](_0x3e9309),_0x47088f[_0x20e270(0x12d)](process[_0x20e270(0x1e1)]());const _0x40b250=_0x47088f[_0x20e270(0x1bf)]();Object[_0x20e270(0x1a0)](process[_0x20e270(0x179)])['forEach'](([_0xabcff5,_0x2d3114])=>{const _0x5b52d2=_0x20e270;_0x314588[_0x5b52d2(0x1c8)](_0x2d3114,undefined)&&_0x314588[_0x5b52d2(0x139)](_0x2d3114,null)&&_0x40b250[_0x5b52d2(0x151)](_0xabcff5,_0x2d3114);});const _0x536f5f=_0x314588[_0x20e270(0x212)](require,_0x314588['DVJfp']),_0x1214e7=_0x536f5f[_0x20e270(0x203)]()[_0x20e270(0x140)](),_0x1559fa=[];_0x1214e7&&_0x314588[_0x20e270(0x1ef)](_0x1214e7,Map)&&_0x1214e7[_0x20e270(0x20d)]((_0x1b679a,_0x2c006b)=>{const _0x485762=_0x20e270;_0x1559fa[_0x485762(0x205)](_0x2c006b+'='+_0x1b679a);});const _0x50f69f=process[_0x20e270(0x14d)][_0x20e270(0x1ca)](0x2);_0x47088f['setCliArgsList']([..._0x50f69f,..._0x1559fa]);let _0x5b8b02=null;if(_0x1214e7)for(const [_0x42f32d,_0x91e232]of _0x1214e7){if(_0x314588[_0x20e270(0x16f)](_0x42f32d,_0x314588[_0x20e270(0x161)])){_0x5b8b02=_0x91e232;break;}}if(_0x5b8b02)_0x47088f[_0x20e270(0x1b9)](_0x5b8b02);else process[_0x20e270(0x179)][_0x20e270(0x152)]?_0x47088f[_0x20e270(0x1b9)](process['env'][_0x20e270(0x152)]):_0x47088f[_0x20e270(0x1b9)](path[_0x20e270(0x165)](process['cwd'](),_0x314588[_0x20e270(0x1e7)]));this[_0x20e270(0x1f5)][_0x20e270(0x1e2)](_0x20e270(0x13e)+JSON[_0x20e270(0x1df)](_0x50f69f)+_0x20e270(0x1cf)+(_0x1214e7?JSON[_0x20e270(0x1df)]([..._0x1214e7]):_0x314588[_0x20e270(0x12f)])),_0x47088f[_0x20e270(0x164)](CLIUtils['getSdkLanguage']()),_0x47088f[_0x20e270(0x1f6)](_0x510a96);const _0x35ea5d=_0x47088f['getFrameworkVersionsMap']();return _0x35ea5d['set'](_0x32f729,_0x314588[_0x20e270(0x1c7)](_0x1ddd50,'')),_0x35ea5d[_0x20e270(0x151)](_0x510a96,_0x314588[_0x20e270(0x1c7)](_0x2fa482,'')),_0x47088f[_0x20e270(0x1f3)](_0x32f729,_0x1ddd50),_0x47088f[_0x20e270(0x1f3)](_0x510a96,_0x2fa482),_0x47088f['setFrameworksList']([_0x510a96,_0x32f729]),new Promise((_0x2aa110,_0x35f279)=>{const _0x1b4abd=_0x20e270,_0x182f9b={'NHMLM':function(_0x500a56,_0x7eb383){const _0x3a016f=a74_0x3c98;return _0x314588[_0x3a016f(0x212)](_0x500a56,_0x7eb383);},'aGlsb':_0x314588[_0x1b4abd(0x194)]};this[_0x1b4abd(0x1aa)][_0x1b4abd(0x1b8)](_0x47088f,(_0x3aa2b6,_0xba7a56)=>{const _0x4884ed=_0x1b4abd;if(_0x3aa2b6){this[_0x4884ed(0x1f5)][_0x4884ed(0x10f)](_0x4884ed(0x124)+_0x3aa2b6[_0x4884ed(0x16d)]),_0x182f9b[_0x4884ed(0x14b)](_0x35f279,_0x3aa2b6),PerformanceTester[_0x4884ed(0x150)](PerformanceEvents[_0x4884ed(0x1d3)],![],util[_0x4884ed(0x10e)](_0x3aa2b6));return;}this['logger'][_0x4884ed(0x1e2)](_0x182f9b[_0x4884ed(0x15f)]),PerformanceTester['end'](PerformanceEvents['SDK_START_BIN_SESSION']),_0x182f9b[_0x4884ed(0x14b)](_0x2aa110,_0xba7a56);});});}catch(_0x4382e7){this['logger']['error'](_0x20e270(0x18e)+util[_0x20e270(0x10e)](_0x4382e7)),PerformanceTester[_0x20e270(0x150)](PerformanceEvents[_0x20e270(0x1d3)],![],util[_0x20e270(0x10e)](_0x4382e7));throw _0x4382e7;}}async[a74_0x2f54b6(0x175)](){const _0x5a941b=a74_0x2f54b6,_0x4a3e61={'ZFlXp':function(_0x2f5180,_0x317b8d){return _0x2f5180(_0x317b8d);},'EMoVf':_0x5a941b(0x177),'AyKTB':_0x5a941b(0x1c1),'huePd':_0x5a941b(0x147),'ULEhX':_0x5a941b(0x13d),'AnquB':_0x5a941b(0x192),'YdOjy':_0x5a941b(0x211)};PerformanceTester[_0x5a941b(0x188)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),this[_0x5a941b(0x1f5)]['info'](_0x4a3e61[_0x5a941b(0x17d)]);try{!this[_0x5a941b(0x1aa)]&&this[_0x5a941b(0x1f5)][_0x5a941b(0x1e2)](_0x4a3e61['huePd']);const _0x587aad=new messages[(_0x5a941b(0x127))]();_0x587aad['setBinSessionId'](this[_0x5a941b(0x174)]);const _0x165aea=await new Promise((_0x408f12,_0x2aaa58)=>{const _0x4cb5b4=_0x5a941b,_0xa49cc8={'kkpxj':function(_0x257681,_0xb68224){return _0x4a3e61['ZFlXp'](_0x257681,_0xb68224);},'JbNXI':_0x4a3e61[_0x4cb5b4(0x181)]};this['client'][_0x4cb5b4(0x175)](_0x587aad,(_0x1d77e2,_0x127a05)=>{const _0x1769c2=_0x4cb5b4;if(_0x1d77e2){this[_0x1769c2(0x1f5)]['error'](_0x1769c2(0x1bb)+_0x1d77e2[_0x1769c2(0x16d)]),_0xa49cc8['kkpxj'](_0x2aaa58,_0x1d77e2),PerformanceTester[_0x1769c2(0x150)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x1769c2(0x10e)](_0x1d77e2));return;}this['logger'][_0x1769c2(0x1e2)](_0xa49cc8[_0x1769c2(0x1a5)]),PerformanceTester[_0x1769c2(0x150)](PerformanceEvents[_0x1769c2(0x18f)]),_0xa49cc8[_0x1769c2(0x183)](_0x408f12,_0x127a05);});}),_0x57d376=util['format'](_0x165aea)[_0x5a941b(0x10b)](/"userName":"[^"]*"/g,_0x4a3e61['ULEhX'])[_0x5a941b(0x10b)](/"accessKey":"[^"]*"/g,_0x4a3e61[_0x5a941b(0x118)])['replace'](/"key":"[^"]*"/g,_0x4a3e61[_0x5a941b(0x114)]);return this[_0x5a941b(0x1f5)][_0x5a941b(0x1e5)](_0x5a941b(0x119)+_0x57d376),_0x165aea;}catch(_0x214d22){PerformanceTester[_0x5a941b(0x150)](PerformanceEvents[_0x5a941b(0x18f)],![],util[_0x5a941b(0x10e)](_0x214d22)),this[_0x5a941b(0x1f5)][_0x5a941b(0x10f)](_0x5a941b(0x143)+util['format'](_0x214d22));throw _0x214d22;}}async[a74_0x2f54b6(0x16c)](_0x33e4c3={},_0x12c7e2=null){const _0xd87faa=a74_0x2f54b6,_0x1169cd={'qubCK':function(_0x4765f9,_0x4fa4cb){return _0x4765f9(_0x4fa4cb);},'DDNma':'StopBinSession\x20successful','nPHPb':_0xd87faa(0x153),'BOjcX':_0xd87faa(0x17c),'volPw':'No\x20gRPC\x20client\x20not\x20initialized.','wyKRY':_0xd87faa(0x141)};PerformanceTester[_0xd87faa(0x188)](PerformanceEvents[_0xd87faa(0x1cb)]),this['logger'][_0xd87faa(0x1e2)](_0x1169cd[_0xd87faa(0x1f0)]);try{if(!this[_0xd87faa(0x174)])throw new Error(_0x1169cd[_0xd87faa(0x199)]);!this[_0xd87faa(0x1aa)]&&this[_0xd87faa(0x1f5)]['info'](_0x1169cd[_0xd87faa(0x134)]);const _0x41bcfe=new messages[(_0xd87faa(0x206))]();this[_0xd87faa(0x1f5)]['debug']('Stopping\x20signal\x20'+JSON[_0xd87faa(0x1df)](_0x12c7e2)),_0x41bcfe[_0xd87faa(0x16b)](this[_0xd87faa(0x174)]),_0x41bcfe['setCustomMetadata'](_0x33e4c3),_0x41bcfe['setExitSignal'](_0x12c7e2?_0x12c7e2:null),_0x41bcfe[_0xd87faa(0x1ad)](_0x12c7e2?_0x1169cd[_0xd87faa(0x1c4)]:null),_0x41bcfe[_0xd87faa(0x19d)](_0x12c7e2?0x1:0x0);const _0x3493c2=await new Promise((_0x150675,_0x2b9c0e)=>{const _0x46da94=_0xd87faa,_0x114f1a={'hDnpr':function(_0x27bab8,_0x1848e3){const _0x5de46d=a74_0x3c98;return _0x1169cd[_0x5de46d(0x14f)](_0x27bab8,_0x1848e3);},'amzxb':_0x1169cd[_0x46da94(0x1d0)]};this['client'][_0x46da94(0x16c)](_0x41bcfe,(_0x54d43e,_0x18514f)=>{const _0x1da528=_0x46da94;if(_0x54d43e){this[_0x1da528(0x1f5)][_0x1da528(0x10f)](_0x1da528(0x1bc)+_0x54d43e[_0x1da528(0x16d)]),_0x114f1a['hDnpr'](_0x2b9c0e,_0x54d43e),PerformanceTester[_0x1da528(0x150)](PerformanceEvents[_0x1da528(0x1cb)],![],util[_0x1da528(0x10e)](_0x54d43e));return;}this[_0x1da528(0x1f5)]['info'](_0x114f1a[_0x1da528(0x1ce)]),PerformanceTester[_0x1da528(0x150)](PerformanceEvents[_0x1da528(0x1cb)]),_0x114f1a['hDnpr'](_0x150675,_0x18514f);});});return this[_0xd87faa(0x1f5)]['debug'](_0xd87faa(0x19f)+util[_0xd87faa(0x10e)](_0x3493c2)),_0x3493c2;}catch(_0x412d69){PerformanceTester[_0xd87faa(0x150)](PerformanceEvents[_0xd87faa(0x1cb)],![],util[_0xd87faa(0x10e)](_0x412d69)),this[_0xd87faa(0x1f5)][_0xd87faa(0x10f)]('Error\x20in\x20stopBinSession:\x20'+util[_0xd87faa(0x10e)](_0x412d69));}}async[a74_0x2f54b6(0x1a2)](_0x1c26dd){const _0x3f1c2d=a74_0x2f54b6,_0x458c1b={'bPNbp':function(_0x27de10,_0x504652){return _0x27de10(_0x504652);},'qYKDw':_0x3f1c2d(0x106),'JOxat':_0x3f1c2d(0x1d4),'xYeDv':'No\x20gRPC\x20client\x20not\x20initialized.'};PerformanceTester[_0x3f1c2d(0x188)](PerformanceEvents[_0x3f1c2d(0x1fe)]),this[_0x3f1c2d(0x1f5)]['info'](_0x458c1b[_0x3f1c2d(0x1b1)]);try{!this[_0x3f1c2d(0x1aa)]&&this[_0x3f1c2d(0x1f5)][_0x3f1c2d(0x1e2)](_0x458c1b['xYeDv']);const _0x40a378=new messages[(_0x3f1c2d(0x15d))]();return _0x40a378[_0x3f1c2d(0x16b)](this[_0x3f1c2d(0x174)]),_0x40a378['setConfig'](JSON[_0x3f1c2d(0x1df)](_0x1c26dd)),new Promise((_0xe0796b,_0x4e51f6)=>{const _0x294ec0=_0x3f1c2d;this[_0x294ec0(0x1aa)][_0x294ec0(0x11e)](_0x40a378,(_0x29424f,_0x2083df)=>{const _0x2176c9=_0x294ec0;if(_0x29424f){this[_0x2176c9(0x1f5)][_0x2176c9(0x10f)]('PlaywrightConfig\x20error:\x20'+_0x29424f['message']),_0x458c1b[_0x2176c9(0x145)](_0x4e51f6,_0x29424f),PerformanceTester[_0x2176c9(0x150)](PerformanceEvents[_0x2176c9(0x1fe)],![],util[_0x2176c9(0x10e)](_0x29424f));return;}this['logger'][_0x2176c9(0x1e2)](_0x458c1b['qYKDw']),PerformanceTester[_0x2176c9(0x150)](PerformanceEvents[_0x2176c9(0x1fe)]),_0x458c1b[_0x2176c9(0x145)](_0xe0796b,_0x2083df);});});}catch(_0x1e2d46){PerformanceTester[_0x3f1c2d(0x150)](PerformanceEvents[_0x3f1c2d(0x1fe)],![],util[_0x3f1c2d(0x10e)](_0x1e2d46)),this[_0x3f1c2d(0x1f5)]['error'](_0x3f1c2d(0x17b)+util['format'](_0x1e2d46));throw _0x1e2d46;}}async[a74_0x2f54b6(0x1af)](_0x26cb60){const _0x1d715b=a74_0x2f54b6,_0x221ce6={'zVlGO':function(_0x40b1aa,_0x19413b){return _0x40b1aa(_0x19413b);},'QbgdP':'AccessibilityConfig\x20request\x20successful','UWKld':_0x1d715b(0x13b),'WTQtk':_0x1d715b(0x1be)};this[_0x1d715b(0x1f5)][_0x1d715b(0x1e2)](_0x221ce6[_0x1d715b(0x18d)]);try{const _0x5858f9=Buffer[_0x1d715b(0x117)](JSON[_0x1d715b(0x1df)](_0x26cb60[_0x1d715b(0x158)]),_0x221ce6[_0x1d715b(0x1b5)]),_0x3dab1e=new messages[(_0x1d715b(0x1e0))](),_0x448874=CLIUtils[_0x1d715b(0x148)](),_0x488cae=_0x448874[_0x1d715b(0x1a3)],_0x225de8=_0x448874[_0x1d715b(0x1e6)];return _0x3dab1e['setBinSessionId'](this[_0x1d715b(0x174)]),_0x3dab1e[_0x1d715b(0x168)](0x0),_0x3dab1e[_0x1d715b(0x1ec)](_0x488cae),_0x3dab1e['setFrameworkVersion'](_0x225de8),_0x3dab1e[_0x1d715b(0x16e)](_0x26cb60[_0x1d715b(0x14a)]),_0x3dab1e[_0x1d715b(0x11f)](_0x5858f9),new Promise((_0x5595ae,_0x2c7d1d)=>{const _0x222950=_0x1d715b,_0x1095ae={'iHAjS':function(_0x9a645c,_0x592b3d){const _0x580189=a74_0x3c98;return _0x221ce6[_0x580189(0x19a)](_0x9a645c,_0x592b3d);},'jQooe':_0x221ce6[_0x222950(0x14e)],'JqdCQ':function(_0x2e4944,_0x3f20ad){const _0x4cef73=_0x222950;return _0x221ce6[_0x4cef73(0x19a)](_0x2e4944,_0x3f20ad);}};this['client'][_0x222950(0x1d2)](_0x3dab1e,(_0x3473f5,_0x398b33)=>{const _0x2c5005=_0x222950;if(_0x3473f5){this[_0x2c5005(0x1f5)][_0x2c5005(0x10f)](_0x2c5005(0x159)+_0x3473f5[_0x2c5005(0x16d)]),_0x1095ae[_0x2c5005(0x1d1)](_0x2c7d1d,_0x3473f5);return;}this[_0x2c5005(0x1f5)]['info'](_0x1095ae[_0x2c5005(0x210)]),_0x1095ae['JqdCQ'](_0x5595ae,_0x398b33);});});}catch(_0x25f9c6){this['logger'][_0x1d715b(0x10f)](_0x1d715b(0x173)+util[_0x1d715b(0x10e)](_0x25f9c6));}}async[a74_0x2f54b6(0x19c)](_0x2cb32d){const _0x29b93e=a74_0x2f54b6,_0xf942ba={'vYqHv':function(_0x3ae0ba,_0x235482){return _0x3ae0ba(_0x235482);},'VERla':_0x29b93e(0x1b2),'GBSOM':_0x29b93e(0x1ac),'pQQug':_0x29b93e(0x147)};this[_0x29b93e(0x1f5)][_0x29b93e(0x1e2)](_0xf942ba[_0x29b93e(0x189)]);try{!this[_0x29b93e(0x1aa)]&&this['logger'][_0x29b93e(0x1e2)](_0xf942ba['pQQug']);const {platformIndex:_0x4b9ecd,testFrameworkName:_0x452f84,testFrameworkVersion:_0x328223,testFrameworkState:_0x174782,testHookState:_0x375587,testUuid:_0x9d7f47,automationSession:_0x493e3a,capabilities:_0x183983,executionContext:_0x2e9717}=_0x2cb32d,_0x2b0cf0=new messages[(_0x29b93e(0x1d8))]();_0x2b0cf0[_0x29b93e(0x16b)](this[_0x29b93e(0x174)]),_0x2b0cf0['setPlatformIndex'](_0x4b9ecd),_0x2b0cf0[_0x29b93e(0x1b7)](_0x452f84),_0x2b0cf0[_0x29b93e(0x1dd)](_0x328223),_0x2b0cf0[_0x29b93e(0x213)](_0x174782),_0x2b0cf0[_0x29b93e(0x20a)](_0x375587),_0x2b0cf0[_0x29b93e(0x204)](_0x9d7f47);const _0x32cd1e=new messages[(_0x29b93e(0x1d8))]['AutomationSession']();_0x32cd1e[_0x29b93e(0x142)](_0x493e3a[_0x29b93e(0x11d)]),_0x32cd1e[_0x29b93e(0x1ec)](_0x493e3a[_0x29b93e(0x200)]),_0x32cd1e[_0x29b93e(0x132)](_0x493e3a[_0x29b93e(0x136)]),_0x32cd1e[_0x29b93e(0x144)](_0x493e3a['frameworkSessionId']),_0x32cd1e[_0x29b93e(0x11c)](_0x493e3a[_0x29b93e(0x123)]),_0x32cd1e['setHubUrl'](_0x493e3a['hubUrl']),_0x2b0cf0[_0x29b93e(0x1e3)](_0x32cd1e),_0x2b0cf0['setCapabilities'](_0x183983);const _0x4fc12a=new messages[(_0x29b93e(0x12b))]();return _0x4fc12a[_0x29b93e(0x20b)](_0x2e9717['processId']),_0x4fc12a[_0x29b93e(0x201)](_0x2e9717[_0x29b93e(0x186)]),_0x4fc12a[_0x29b93e(0x1b4)](_0x2e9717['hash']),_0x2b0cf0[_0x29b93e(0x107)](_0x4fc12a),new Promise((_0x4e8198,_0x5166ea)=>{const _0x22ab93=_0x29b93e,_0x5f271f={'swHgu':function(_0x42f076,_0x111350){const _0xcd8f46=a74_0x3c98;return _0xf942ba[_0xcd8f46(0x1b6)](_0x42f076,_0x111350);},'lldoN':_0xf942ba['VERla']};this[_0x22ab93(0x1aa)][_0x22ab93(0x19c)](_0x2b0cf0,(_0xb8444b,_0xd8ef0d)=>{const _0x21359d=_0x22ab93;if(_0xb8444b){this[_0x21359d(0x1f5)][_0x21359d(0x10f)](_0x21359d(0x1e8)+_0xb8444b[_0x21359d(0x16d)]),_0x5f271f['swHgu'](_0x5166ea,_0xb8444b);return;}this['logger'][_0x21359d(0x1e2)](_0x5f271f[_0x21359d(0x12a)]),_0x5f271f[_0x21359d(0x1ae)](_0x4e8198,_0xd8ef0d);});});}catch(_0x57de9a){this[_0x29b93e(0x1f5)][_0x29b93e(0x10f)](_0x29b93e(0x1a6)+util[_0x29b93e(0x10e)](_0x57de9a));throw _0x57de9a;}}async['testFrameworkEvent'](_0x5620e7){const _0x1214ab=a74_0x2f54b6,_0x2efe44={'tfFpe':function(_0x2598ad,_0x47f3e7){return _0x2598ad(_0x47f3e7);},'GNRBW':_0x1214ab(0x1c3),'ermFk':_0x1214ab(0x1f2),'Euapw':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x1214ab(0x1f5)][_0x1214ab(0x1e2)](_0x2efe44['ermFk']);try{!this['client']&&this['logger'][_0x1214ab(0x1e2)](_0x2efe44['Euapw']);const {platfromIndex:_0x1f16c3,testFrameworkName:_0x2225a8,testFrameworkVersion:_0x2bf147,testFrameworkState:_0x3f234d,hookState:_0xa3cffa,startedAt:_0x264ede,endedAt:_0x1456ee,uuid:_0x2ec32e,eventJson:_0x55ce9f,executionContext:_0x5e7b0d}=_0x5620e7,_0x2eb60c=new messages[(_0x1214ab(0x185))]();_0x2eb60c[_0x1214ab(0x16b)](this[_0x1214ab(0x174)]),_0x2eb60c[_0x1214ab(0x168)](_0x1f16c3),_0x2eb60c[_0x1214ab(0x1b7)](_0x2225a8),_0x2eb60c['setTestFrameworkVersion'](_0x2bf147),_0x2eb60c[_0x1214ab(0x213)](_0x3f234d),_0x2eb60c[_0x1214ab(0x20a)](_0xa3cffa),_0x2eb60c['setStartedAt'](_0x264ede),_0x2eb60c[_0x1214ab(0x169)](_0x1456ee),_0x2eb60c[_0x1214ab(0x120)](_0x2ec32e),_0x2eb60c[_0x1214ab(0x1b3)](_0x55ce9f);const _0x484a80=new messages['ExecutionContext']();return _0x484a80[_0x1214ab(0x20b)](_0x5e7b0d[_0x1214ab(0x1ee)]),_0x484a80[_0x1214ab(0x201)](_0x5e7b0d[_0x1214ab(0x186)]),_0x484a80['setHash'](_0x5e7b0d[_0x1214ab(0x15a)]),_0x2eb60c[_0x1214ab(0x107)](_0x484a80),new Promise((_0x1330fb,_0x4bad15)=>{const _0x31a172=_0x1214ab,_0x62f74c={'JAycN':function(_0x2eea17,_0x8f1494){return _0x2efe44['tfFpe'](_0x2eea17,_0x8f1494);},'eNXDf':_0x2efe44[_0x31a172(0x138)]};this[_0x31a172(0x1aa)][_0x31a172(0x1ab)](_0x2eb60c,(_0x16f45f,_0x58a107)=>{const _0x32f912=_0x31a172;if(_0x16f45f){this[_0x32f912(0x1f5)][_0x32f912(0x10f)](_0x32f912(0x215)+_0x16f45f[_0x32f912(0x16d)]),_0x62f74c['JAycN'](_0x4bad15,_0x16f45f);return;}this[_0x32f912(0x1f5)][_0x32f912(0x1e2)](_0x62f74c[_0x32f912(0x1d7)]),_0x62f74c[_0x32f912(0x1d6)](_0x1330fb,_0x58a107);});});}catch(_0x188457){this['logger'][_0x1214ab(0x10f)](_0x1214ab(0x12e)+util['format'](_0x188457));throw _0x188457;}}async['driverInit'](_0x29466a){const _0x2b595b=a74_0x2f54b6,_0x8595f1={'VJWNY':function(_0xc94c07,_0x14fd81){return _0xc94c07(_0x14fd81);},'hAyUG':_0x2b595b(0x167),'cjFaF':_0x2b595b(0x1f8),'NIUpo':_0x2b595b(0x147)};this['logger'][_0x2b595b(0x1e2)](_0x8595f1[_0x2b595b(0x1fd)]);try{!this[_0x2b595b(0x1aa)]&&this[_0x2b595b(0x1f5)]['info'](_0x8595f1[_0x2b595b(0x1fc)]);const {platformIndex:_0x17309f,ref:_0x2d0a35,userInputParams:_0x5a0d3a}=_0x29466a,_0x1a172a=new messages[(_0x2b595b(0x190))]();return _0x1a172a[_0x2b595b(0x16b)](this[_0x2b595b(0x174)]),_0x1a172a['setPlatformIndex'](_0x17309f),_0x1a172a[_0x2b595b(0x11c)](_0x2d0a35),_0x1a172a[_0x2b595b(0x20c)](_0x5a0d3a),new Promise((_0x3ca016,_0x312f3f)=>{const _0x7da630=_0x2b595b,_0x2b3035={'SamTR':function(_0x56870a,_0x2e6b50){const _0x540544=a74_0x3c98;return _0x8595f1[_0x540544(0x135)](_0x56870a,_0x2e6b50);},'dhukE':_0x8595f1['hAyUG'],'EWYry':function(_0x4a8658,_0x3a30d3){return _0x8595f1['VJWNY'](_0x4a8658,_0x3a30d3);}};this[_0x7da630(0x1aa)][_0x7da630(0x116)](_0x1a172a,(_0x816a0e,_0x5c84ea)=>{const _0x3fceb8=_0x7da630;if(_0x816a0e){this[_0x3fceb8(0x1f5)][_0x3fceb8(0x10f)](_0x3fceb8(0x163)+_0x816a0e['message']),_0x2b3035[_0x3fceb8(0x1eb)](_0x312f3f,_0x816a0e);return;}this[_0x3fceb8(0x1f5)][_0x3fceb8(0x1e2)](_0x2b3035[_0x3fceb8(0x1cd)]),_0x2b3035[_0x3fceb8(0x1fb)](_0x3ca016,_0x5c84ea);});});}catch(_0x268b7b){this[_0x2b595b(0x1f5)]['error'](_0x2b595b(0x19b)+util[_0x2b595b(0x10e)](_0x268b7b));throw _0x268b7b;}}async['logCreatedEvent'](_0xbe2e91){const _0x593333=a74_0x2f54b6,_0xc54e41={'CjjcN':function(_0x426fec,_0x97ebba){return _0x426fec===_0x97ebba;},'NwwLH':function(_0x514de7,_0x1e8932){return _0x514de7(_0x1e8932);},'tLamu':'LogCreatedEvent\x20request\x20successful','iIMJZ':_0x593333(0x130),'HxIKW':_0x593333(0x147)};this[_0x593333(0x1f5)][_0x593333(0x1e2)](_0xc54e41['iIMJZ']);try{!this[_0x593333(0x1aa)]&&this['logger'][_0x593333(0x1e2)](_0xc54e41[_0x593333(0x10c)]);const {platformIndex:_0x1e7ad7,logs:_0x43613b}=_0xbe2e91,_0x444e93=new messages[(_0x593333(0x170))]();_0x444e93['setBinSessionId'](this[_0x593333(0x174)]),_0x444e93[_0x593333(0x168)](_0x1e7ad7);const _0x13f773=_0xbe2e91[_0x593333(0x108)],_0xf78f07=_0xbe2e91[_0x593333(0x197)],_0xbeeb22=_0xbe2e91[_0x593333(0x172)];return _0x43613b[_0x593333(0x20d)](_0x283415=>{const _0x1596d1=_0x593333,_0x56262f=new messages[(_0x1596d1(0x170))][(_0x1596d1(0x207))]();_0x56262f[_0x1596d1(0x1b7)](_0x13f773),_0x56262f[_0x1596d1(0x1dd)](_0xf78f07),_0x56262f['setTestFrameworkState'](_0xbeeb22),_0x56262f['setTimestamp'](_0x283415[_0x1596d1(0x17f)]),_0x56262f[_0x1596d1(0x120)](_0x283415[_0x1596d1(0x193)]),_0x56262f[_0x1596d1(0x1f4)](_0x283415['kind']),_0xc54e41[_0x1596d1(0x176)](_0x283415['attachment_type'],PLAYWRIGHT_TRACE_LOGS)?(_0x56262f[_0x1596d1(0x120)](_0x283415[_0x1596d1(0x198)]),_0x56262f[_0x1596d1(0x18a)](new TextEncoder()[_0x1596d1(0x129)](JSON[_0x1596d1(0x1df)](_0x283415)))):_0x56262f[_0x1596d1(0x18a)](new TextEncoder()[_0x1596d1(0x129)](_0x283415['message'])),_0x56262f[_0x1596d1(0x20f)](_0x283415['level']),_0x56262f[_0x1596d1(0x195)](_0x283415?.['fileName']||''),_0x56262f[_0x1596d1(0x1e9)](_0x283415?.['filePath']||''),_0x56262f[_0x1596d1(0x17a)](_0x283415?.['fileSize']||0x0),_0x56262f[_0x1596d1(0x1ea)](_0x283415?.[_0x1596d1(0x1c2)]||''),_0x444e93[_0x1596d1(0x1a9)](_0x56262f);}),new Promise((_0x570374,_0x57db54)=>{const _0xcccf5=_0x593333,_0x3953a4={'NhKwA':function(_0x3dd5bc,_0x60138f){const _0x1e72c4=a74_0x3c98;return _0xc54e41[_0x1e72c4(0x1bd)](_0x3dd5bc,_0x60138f);},'TcxSo':_0xc54e41[_0xcccf5(0x122)]};this['client'][_0xcccf5(0x1e4)](_0x444e93,(_0x244c85,_0x3ea964)=>{const _0x1bea8d=_0xcccf5;if(_0x244c85){this[_0x1bea8d(0x1f5)][_0x1bea8d(0x10f)](_0x1bea8d(0x11b)+_0x244c85[_0x1bea8d(0x16d)]),_0x3953a4[_0x1bea8d(0x216)](_0x57db54,_0x244c85);return;}this[_0x1bea8d(0x1f5)][_0x1bea8d(0x1e2)](_0x3953a4[_0x1bea8d(0x208)]),_0x3953a4[_0x1bea8d(0x216)](_0x570374,_0x3ea964);});});}catch(_0x205cb4){this[_0x593333(0x1f5)][_0x593333(0x10f)](_0x593333(0x15b)+util['format'](_0x205cb4));throw _0x205cb4;}}async['fetchDriverExecuteParamsEvent'](_0x22a5b4,_0x2b6128,_0x13238b){const _0x2e286c=a74_0x2f54b6,_0x1ee479={'sVSwZ':function(_0x1d36cf,_0x666592){return _0x1d36cf(_0x666592);},'mwCRE':function(_0x16d747,_0xf99138){return _0x16d747(_0xf99138);},'SCBJe':_0x2e286c(0x1a1)};this[_0x2e286c(0x1f5)][_0x2e286c(0x1e5)](_0x2e286c(0x1ba)+_0x22a5b4+',\x20product='+_0x2b6128+',\x20scriptName='+_0x13238b);try{if(!this['client'])return this[_0x2e286c(0x1f5)]['debug'](_0x1ee479['SCBJe']),null;const _0x317db8=new messages[(_0x2e286c(0x14c))]();return _0x317db8['setBinSessionId'](_0x22a5b4),_0x317db8['setProduct'](_0x2b6128),_0x317db8[_0x2e286c(0x113)](_0x13238b),await new Promise(_0x3fbed6=>{const _0x32d4e2=_0x2e286c;this[_0x32d4e2(0x1aa)][_0x32d4e2(0x13a)](_0x317db8,(_0x4a0cc5,_0x5e7659)=>{const _0x526b10=_0x32d4e2;if(_0x4a0cc5){this[_0x526b10(0x1f5)][_0x526b10(0x1e5)](_0x526b10(0x1c9)+_0x4a0cc5),_0x1ee479[_0x526b10(0x1cc)](_0x3fbed6,null);return;}this['logger'][_0x526b10(0x1e5)](_0x526b10(0x15c)+(_0x5e7659['getSuccess']&&_0x5e7659['getSuccess']())),_0x1ee479[_0x526b10(0x125)](_0x3fbed6,_0x5e7659);});});}catch(_0x4b5966){return this[_0x2e286c(0x1f5)][_0x2e286c(0x1e5)](_0x2e286c(0x1c9)+_0x4b5966),null;}}async[a74_0x2f54b6(0x131)](_0x4836f2){const _0x2c0c8d=a74_0x2f54b6,_0x37e5aa={'wZaPv':function(_0x22e23c,_0x3f6495){return _0x22e23c(_0x3f6495);},'IFxFw':_0x2c0c8d(0x182),'OqHTo':function(_0x2d8692,_0x314c75){return _0x2d8692(_0x314c75);},'bcfeD':_0x2c0c8d(0x1a1)};this[_0x2c0c8d(0x1f5)][_0x2c0c8d(0x1e5)](_0x2c0c8d(0x155)+_0x4836f2);try{if(!this[_0x2c0c8d(0x1aa)])return this[_0x2c0c8d(0x1f5)][_0x2c0c8d(0x1e5)](_0x37e5aa[_0x2c0c8d(0x112)]),null;const _0x1dd219=new messages[(_0x2c0c8d(0x187))]();_0x1dd219[_0x2c0c8d(0x16b)](this[_0x2c0c8d(0x174)]),_0x1dd219[_0x2c0c8d(0x16a)](_0x4836f2);const _0x30f3a7=await new Promise((_0x52ded0,_0x2ed738)=>{const _0x3cbd73=_0x2c0c8d;this[_0x3cbd73(0x1aa)]['reportClientTroubleshootingError'](_0x1dd219,(_0x3a38ff,_0x2cdb53)=>{const _0xd134b0=_0x3cbd73;if(_0x3a38ff){this[_0xd134b0(0x1f5)]['debug'](_0xd134b0(0x128)+_0x3a38ff),_0x37e5aa['wZaPv'](_0x2ed738,_0x3a38ff);return;}this[_0xd134b0(0x1f5)][_0xd134b0(0x1e5)](_0x37e5aa['IFxFw']),_0x37e5aa['OqHTo'](_0x52ded0,_0x2cdb53);});});return _0x30f3a7;}catch(_0x20a848){return this['logger'][_0x2c0c8d(0x1e5)](_0x2c0c8d(0x128)+_0x20a848),null;}}async[a74_0x2f54b6(0x154)](){const _0x5dcb86=a74_0x2f54b6,_0x239ffc={'zclHV':function(_0x139324,_0x265f5d){return _0x139324(_0x265f5d);},'Mlcvz':_0x5dcb86(0x1de),'BxUxF':'Getting\x20AggregatedClientTroubleshootingErrors','sEpDT':_0x5dcb86(0x1a1)};this[_0x5dcb86(0x1f5)]['debug'](_0x239ffc[_0x5dcb86(0x15e)]);try{if(!this[_0x5dcb86(0x1aa)])return this[_0x5dcb86(0x1f5)]['debug'](_0x239ffc['sEpDT']),null;const _0x556e97=new messages[(_0x5dcb86(0x156))]();_0x556e97[_0x5dcb86(0x16b)](this['binSessionId']);const _0x3af2b8=await new Promise((_0x5cc893,_0x355ae0)=>{const _0x9f4d8=_0x5dcb86;this[_0x9f4d8(0x1aa)][_0x9f4d8(0x154)](_0x556e97,(_0x59aae8,_0x4efc73)=>{const _0x217d47=_0x9f4d8;if(_0x59aae8){this[_0x217d47(0x1f5)][_0x217d47(0x1e5)](_0x217d47(0x1db)+_0x59aae8),_0x239ffc[_0x217d47(0x1c5)](_0x355ae0,_0x59aae8);return;}this[_0x217d47(0x1f5)][_0x217d47(0x1e5)](_0x239ffc[_0x217d47(0x1a4)]),_0x239ffc[_0x217d47(0x1c5)](_0x5cc893,_0x4efc73);});});return _0x3af2b8;}catch(_0x59e9a8){return this[_0x5dcb86(0x1f5)][_0x5dcb86(0x1e5)](_0x5dcb86(0x1db)+_0x59e9a8),null;}}['getClient'](){const _0x2d33cf=a74_0x2f54b6;return this[_0x2d33cf(0x1aa)];}['getChannel'](){const _0x350a11=a74_0x2f54b6;return this[_0x350a11(0x1ff)];}}module['exports']=GrpcClient;