browserstack-node-sdk 1.46.7 → 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
- const a70_0x405067=a70_0x35f5;(function(_0x4792b8,_0x5f23b4){const _0x5cad7f=a70_0x35f5,_0x533c22=_0x4792b8();while(!![]){try{const _0x3bbdfe=-parseInt(_0x5cad7f(0x162))/0x1*(parseInt(_0x5cad7f(0x14c))/0x2)+parseInt(_0x5cad7f(0x172))/0x3*(-parseInt(_0x5cad7f(0x14a))/0x4)+parseInt(_0x5cad7f(0x145))/0x5*(parseInt(_0x5cad7f(0x140))/0x6)+parseInt(_0x5cad7f(0x158))/0x7+parseInt(_0x5cad7f(0x161))/0x8+parseInt(_0x5cad7f(0x15c))/0x9*(parseInt(_0x5cad7f(0x12b))/0xa)+parseInt(_0x5cad7f(0x168))/0xb;if(_0x3bbdfe===_0x5f23b4)break;else _0x533c22['push'](_0x533c22['shift']());}catch(_0x2fde00){_0x533c22['push'](_0x533c22['shift']());}}}(a70_0x162e,0x7becc));function a70_0x35f5(_0x43237f,_0x333f45){const _0x162e5d=a70_0x162e();return a70_0x35f5=function(_0x35f54e,_0x3a67b9){_0x35f54e=_0x35f54e-0xd7;let _0x474c77=_0x162e5d[_0x35f54e];return _0x474c77;},a70_0x35f5(_0x43237f,_0x333f45);}const TestFramework=require(a70_0x405067(0x157)),TestFrameworkState=require(a70_0x405067(0x193)),HookState=require(a70_0x405067(0x14e)),{createClassLogger}=require(a70_0x405067(0x18a)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a70_0x405067(0xfc)),TrackedInstance=require(a70_0x405067(0x154)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x405067(0x11d)),logger=createClassLogger(a70_0x405067(0x146)),{v4:uuidv4}=require(a70_0x405067(0x1a3)),util=require(a70_0x405067(0xf7)),TestInfo=require(a70_0x405067(0x10c)),GrpcClient=require(a70_0x405067(0x134));class CucumberTestFramework extends TestFramework{constructor(_0x547f74,_0x16d302,_0xb63663){super(_0x547f74,_0x16d302,_0xb63663);}async[a70_0x405067(0x127)](_0xb80b81,_0x42a70b,_0x4468a0={}){const _0x125904=a70_0x405067,_0x133107={};_0x133107[_0x125904(0x16e)]=_0x125904(0x1a4),_0x133107[_0x125904(0x186)]=function(_0x5393f3,_0x4fecd6){return _0x5393f3===_0x4fecd6;},_0x133107[_0x125904(0x185)]=function(_0xb99f8d,_0x705e30){return _0xb99f8d===_0x705e30;},_0x133107[_0x125904(0x13f)]=_0x125904(0x178);const _0x34f3a6=_0x133107;await super['trackEvent'](_0xb80b81,_0x42a70b,_0x4468a0);const _0x33447c=this[_0x125904(0xdf)](_0xb80b81,_0x42a70b,_0x4468a0);if(!_0x33447c){logger[_0x125904(0x139)](_0x34f3a6[_0x125904(0x16e)]);return;}try{let _0x31bb03,_0x1da63f;switch(_0xb80b81){case TestFrameworkState[_0x125904(0x176)]:_0x31bb03=_0x4468a0[_0x125904(0x114)],_0x1da63f=TestInfo[_0x125904(0x147)](_0x31bb03['id']);if(_0x34f3a6[_0x125904(0x186)](_0x42a70b,HookState['PRE'])){logger[_0x125904(0x139)](_0x125904(0xda)+_0x31bb03['id']);const _0x277873={};_0x277873[_0x125904(0x144)]=_0x1da63f,_0x277873[_0x125904(0x12f)]=_0x31bb03,_0x33447c['addMultipleEntries'](this[_0x125904(0x130)](_0x277873)),logger[_0x125904(0x139)](_0x125904(0x179)+_0x31bb03['id']),await this[_0x125904(0x121)](_0x33447c,_0x31bb03['id']);}else{if(_0x34f3a6[_0x125904(0x186)](_0x42a70b,HookState[_0x125904(0x126)])){const _0x5777a4={};_0x5777a4[_0x125904(0x144)]=_0x1da63f,_0x5777a4[_0x125904(0x12f)]=_0x31bb03,_0x33447c[_0x125904(0x15b)](this[_0x125904(0x123)](_0x5777a4)),await this['processPendingHooks'](_0x33447c,_0x31bb03['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x34f3a6[_0x125904(0x185)](_0x42a70b,HookState[_0x125904(0x126)])&&await this[_0x125904(0x155)](_0x33447c,_0xb80b81,_0x4468a0);break;default:if(CLIUtils['matchHookRegex'](_0xb80b81[_0x125904(0x170)]()[_0x125904(0x180)]('.')[0x1])){const _0x4eb6c5=await this[_0x125904(0x17b)](_0x33447c,_0xb80b81,_0x42a70b,_0x4468a0);_0x33447c[_0x125904(0x15b)](_0x4eb6c5);}else logger[_0x125904(0x139)](_0x125904(0x10d)+_0xb80b81+'\x20&\x20hookState='+_0x42a70b);break;}}catch(_0xd1be4b){logger[_0x125904(0xe6)](util['format'](_0x34f3a6['EWUJb'],_0xb80b81,_0x42a70b,_0x4468a0[_0x125904(0xd9)],_0xd1be4b));}_0x4468a0[_0x125904(0xd8)]=_0x33447c,await this[_0x125904(0x129)](_0x33447c,_0xb80b81,_0x42a70b,_0x4468a0);}[a70_0x405067(0xdf)](_0x400557,_0x5b18c8,_0x383cb8={}){const _0x59862b=a70_0x405067,_0x5e09ae={};_0x5e09ae[_0x59862b(0xde)]=function(_0x14a747,_0x40c464){return _0x14a747===_0x40c464;},_0x5e09ae['kfhcb']=function(_0x5a48a6,_0xfb8923){return _0x5a48a6===_0xfb8923;};const _0x40aef4=_0x5e09ae;let _0x26b525=null;return(_0x40aef4[_0x59862b(0xde)](_0x400557,TestFrameworkState['INIT_TEST'])||_0x40aef4[_0x59862b(0x19a)](_0x400557,TestFrameworkState[_0x59862b(0x10f)]))&&this[_0x59862b(0x13d)](_0x400557,_0x383cb8),_0x26b525=TestFramework[_0x59862b(0x188)](),_0x26b525;}[a70_0x405067(0x13d)](_0x571645,_0x5a19ea){const _0x251902=a70_0x405067,_0x17d31e=CLIUtils[_0x251902(0x153)](),_0x41a518=TrackedInstance[_0x251902(0x15e)](_0x17d31e);let _0x9a849a=null;logger[_0x251902(0x139)]('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x17d31e+_0x251902(0xf1)+_0x571645),_0x9a849a=new TestFrameworkInstance(_0x41a518,this['getTestFrameworks'](),this[_0x251902(0x10a)](),_0x571645,HookState[_0x251902(0x10f)]),TestFramework[_0x251902(0x11f)](_0x41a518,_0x9a849a),logger[_0x251902(0x139)](_0x251902(0xf5)+_0x41a518['getId']()+_0x251902(0x115)+_0x17d31e);}[a70_0x405067(0x130)](_0x7b8a88){const _0x246c60=a70_0x405067,_0x197d5b={};_0x197d5b[_0x246c60(0xf6)]=_0x246c60(0x15a);const _0x1f7b15=_0x197d5b,{testUUID:_0x5c3d99,testData:_0x412d5a}=_0x7b8a88;if(!_0x412d5a||!_0x412d5a[_0x246c60(0x1a3)])return logger['debug'](_0x1f7b15[_0x246c60(0xf6)]),{};const _0x48193c=_0x412d5a['uuid'],_0x44633e=_0x412d5a[_0x246c60(0x1a3)],_0x594a3c=this[_0x246c60(0x190)]()[0x0],_0xc493e7=this['getTestFrameworksVersions'](),_0x1fa990={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x594a3c,[TestFrameworkConstants[_0x246c60(0xf0)]]:_0xc493e7[_0x594a3c],[TestFrameworkConstants[_0x246c60(0x184)]]:[],[TestFrameworkConstants[_0x246c60(0x116)]]:{},[TestFrameworkConstants[_0x246c60(0x165)]]:{},[TestFrameworkConstants[_0x246c60(0x16f)]]:_0x48193c,[TestFrameworkConstants[_0x246c60(0x14f)]]:TestFrameworkConstants[_0x246c60(0x141)],[TestFrameworkConstants[_0x246c60(0x16c)]]:_0x412d5a[_0x246c60(0xdb)]||'',[TestFrameworkConstants[_0x246c60(0xf3)]]:_0x412d5a[_0x246c60(0x12c)]||'',[TestFrameworkConstants[_0x246c60(0x197)]]:_0x44633e,[TestFrameworkConstants[_0x246c60(0x19e)]]:_0x412d5a[_0x246c60(0xdb)]||'',[TestFrameworkConstants[_0x246c60(0x159)]]:_0x412d5a[_0x246c60(0x102)]||'',[TestFrameworkConstants[_0x246c60(0xdd)]]:_0x412d5a['body']?.[_0x246c60(0xe8)]||null,[TestFrameworkConstants[_0x246c60(0x192)]]:_0x412d5a[_0x246c60(0xec)]||[],[TestFrameworkConstants[_0x246c60(0x11c)]]:_0x412d5a[_0x246c60(0x17c)]||new Date()[_0x246c60(0x177)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x412d5a[_0x246c60(0xf8)]?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x412d5a[_0x246c60(0xf8)]||[],[TestFrameworkConstants[_0x246c60(0xfb)]]:_0x412d5a['customRerunParam']?.[_0x246c60(0x17d)]||_0x412d5a[_0x246c60(0xdb)]||'',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x246c60(0x151)]]:_0x412d5a[_0x246c60(0x103)]||{}};TestInfo[_0x246c60(0xe7)](_0x44633e,_0x1fa990),logger[_0x246c60(0x139)]('Parsed\x20cucumber\x20test:\x20'+_0x412d5a['name']+_0x246c60(0x111)+_0x48193c);const _0x366980={};return _0x366980[_0x44633e]=_0x1fa990,_0x366980;}[a70_0x405067(0x123)](_0x12484f){const _0x5d568c=a70_0x405067,_0x1fe342={'aoUMf':_0x5d568c(0xe3),'KOLeb':'unknown','ySQzS':function(_0x1169c6,_0xaefb28){return _0x1169c6===_0xaefb28;},'wPrlh':_0x5d568c(0x136),'fJTBW':_0x5d568c(0x135),'zStiO':function(_0x31bee8,_0x3f46e0,_0x34dfac){return _0x31bee8(_0x3f46e0,_0x34dfac);},'dPFan':function(_0x20aaf9,_0x30975e){return _0x20aaf9>_0x30975e;},'kJpvd':function(_0x2a0a2b,_0x41d06d){return _0x2a0a2b>_0x41d06d;}},{testUUID:_0x3cd173,testData:_0xcd92a4}=_0x12484f;if(!_0xcd92a4||!_0xcd92a4[_0x5d568c(0x1a3)])return logger[_0x5d568c(0x139)](_0x1fe342[_0x5d568c(0x183)]),{};const _0x4f9f44=this[_0x5d568c(0xdf)](TestFrameworkState[_0x5d568c(0x176)],HookState['POST']),_0x233fc3=_0xcd92a4[_0x5d568c(0x1a3)],_0x30c34c=TestInfo[_0x5d568c(0x125)](_0x233fc3)||{},_0x5b9d23=_0x30c34c?_0x30c34c[TestFrameworkConstants[_0x5d568c(0x112)]]||{}:{},_0x53243f={..._0x30c34c,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0xcd92a4[_0x5d568c(0x150)]||_0x1fe342[_0x5d568c(0x109)],[TestFrameworkConstants[_0x5d568c(0x189)]]:_0xcd92a4[_0x5d568c(0x16a)]||new Date()[_0x5d568c(0x177)](),[TestFrameworkConstants[_0x5d568c(0x120)]]:new Date()[_0x5d568c(0x177)](),[TestFrameworkConstants[_0x5d568c(0x112)]]:_0x5b9d23,[TestFrameworkConstants[_0x5d568c(0x1a5)]]:[],[TestFrameworkConstants[_0x5d568c(0x151)]]:_0xcd92a4[_0x5d568c(0x103)]||{}};_0x1fe342[_0x5d568c(0x174)](_0xcd92a4[_0x5d568c(0x150)],_0x1fe342['wPrlh'])&&_0xcd92a4[_0x5d568c(0xed)]&&(_0x53243f[TestFrameworkConstants[_0x5d568c(0x195)]]=_0xcd92a4[_0x5d568c(0x12d)]||_0x1fe342['fJTBW'],_0x53243f[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0xcd92a4[_0x5d568c(0x19b)]||'',_0x53243f[TestFrameworkConstants[_0x5d568c(0xeb)]]=_0xcd92a4[_0x5d568c(0xed)]);const _0x4ad983=TestInfo[_0x5d568c(0x125)](_0x233fc3)[TestFrameworkConstants[_0x5d568c(0x194)]]||{},_0x59f91b=_0x1fe342[_0x5d568c(0x118)](getManualUploadLogs,_0x4ad983,_0x4f9f44[_0x5d568c(0xe9)]()[_0x5d568c(0x164)](_0x233fc3)[TestFrameworkConstants[_0x5d568c(0x16f)]]);if(_0x1fe342[_0x5d568c(0x100)](_0x59f91b[_0x5d568c(0xd9)],0x0)){const _0x4b7efe=_0x53243f[TestFrameworkConstants[_0x5d568c(0x1a5)]]||[];_0x53243f[TestFrameworkConstants[_0x5d568c(0x1a5)]]=[..._0x4b7efe,..._0x59f91b];}_0xcd92a4[_0x5d568c(0x113)]&&_0x1fe342[_0x5d568c(0x107)](_0xcd92a4['hooks'][_0x5d568c(0xd9)],0x0)&&(_0x53243f[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0xcd92a4[_0x5d568c(0x113)]);TestInfo['setTestDetails'](_0x233fc3,_0x53243f),logger[_0x5d568c(0x139)](_0x5d568c(0x181)+_0xcd92a4[_0x5d568c(0xdb)]+_0x5d568c(0x148)+_0xcd92a4[_0x5d568c(0x150)]);const _0xc3d526={};return _0xc3d526[_0x233fc3]=_0x53243f,_0xc3d526;}async[a70_0x405067(0x17b)](_0x132e8c,_0x3ffe39,_0x384a27,_0x523f06){const _0x242db0=a70_0x405067,_0x45d408={'PPcRe':'No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','VpJqU':function(_0x52ff5d){return _0x52ff5d();},'dWWyY':function(_0x5f5d73,_0x4220bb){return _0x5f5d73 in _0x4220bb;},'HSLKA':function(_0x1ebb5d,_0x18588b){return _0x1ebb5d===_0x18588b;},'TsVZI':function(_0x3e9dbf,_0x14b8dd){return _0x3e9dbf>_0x14b8dd;},'EQphO':function(_0x2e2436,_0x339b73){return _0x2e2436===_0x339b73;},'TRZhg':_0x242db0(0x136),'eXIca':_0x242db0(0x135),'qwJpO':_0x242db0(0x101),'bxODj':function(_0x5abbf9,_0x43a40e){return _0x5abbf9!==_0x43a40e;}},{hookData:_0x5ecb47}=_0x523f06;if(!_0x5ecb47)return logger[_0x242db0(0x139)](_0x45d408['PPcRe']),{};const _0x17556a=_0x5ecb47[_0x242db0(0x1a3)]||_0x45d408['VpJqU'](uuidv4),_0x396437=_0x5ecb47[_0x242db0(0x13b)],_0x54f182=_0x3ffe39[_0x242db0(0x170)]()['split']('.')[0x1],_0x2e2833=TestInfo[_0x242db0(0x125)](_0x396437)[TestFrameworkConstants[_0x242db0(0x112)]]||{},_0x5c2452=_0x132e8c[_0x242db0(0xe9)]()[_0x242db0(0x164)](_0x396437);if(!_0x5c2452)return logger[_0x242db0(0x139)]('No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x396437+',\x20storing\x20as\x20pending\x20hook'),this[_0x242db0(0xee)](_0x132e8c,_0x396437,_0x3ffe39,_0x384a27,_0x523f06),{};let _0x23d6ff=_0x5c2452[TestFrameworkConstants[_0x242db0(0x165)]];!_0x23d6ff&&(_0x23d6ff={});!_0x45d408[_0x242db0(0xe4)](_0x54f182,_0x23d6ff)&&(_0x23d6ff[_0x54f182]=[]);let _0x5d8690=_0x5c2452[TestFrameworkConstants[_0x242db0(0x116)]];!_0x5d8690&&(_0x5d8690={});!_0x45d408[_0x242db0(0xe4)](_0x54f182,_0x5d8690)&&(_0x5d8690[_0x54f182]=[]);const _0x458118={[TestFrameworkConstants[_0x242db0(0x165)]]:_0x23d6ff,[TestFrameworkConstants[_0x242db0(0x116)]]:_0x5d8690},_0x48deb4={};_0x48deb4[_0x396437]=_0x458118;const _0x56a223=_0x48deb4;if(_0x45d408['HSLKA'](_0x384a27,HookState[_0x242db0(0x117)])){const _0x2bed48={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x17556a,[TestFrameworkConstants[_0x242db0(0xe0)]]:TestFrameworkConstants[_0x242db0(0x17f)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x5ecb47[_0x242db0(0x19d)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x5ecb47['hook_type'],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2e2833};_0x2bed48['key']=_0x54f182;const _0x4eefae=_0x2bed48;_0x23d6ff[_0x54f182][_0x242db0(0x13c)](_0x4eefae),_0x56a223[_0x396437][TestFrameworkConstants[_0x242db0(0x16d)]]=_0x54f182,logger[_0x242db0(0x139)]('trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x54f182+_0x242db0(0xfe)+_0x4eefae+_0x242db0(0x128)+_0x523f06);}else{if(_0x45d408[_0x242db0(0xf2)](_0x384a27,HookState[_0x242db0(0x126)])){const _0x3ad0b1=_0x5ecb47[_0x242db0(0x150)],_0x787271=_0x23d6ff[_0x54f182]||[];logger[_0x242db0(0x139)]('trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20'+_0x787271+_0x242db0(0xfd)+_0x523f06);if(_0x45d408[_0x242db0(0x14b)](_0x787271[_0x242db0(0xd9)],0x0)){const _0x11e0be=_0x787271[_0x242db0(0x12e)]();_0x45d408[_0x242db0(0x11e)](_0x5ecb47[_0x242db0(0x150)],_0x45d408[_0x242db0(0x17a)])&&_0x5ecb47['failure_data']?(_0x11e0be[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x5ecb47[_0x242db0(0x12d)]||_0x45d408[_0x242db0(0xe2)],_0x11e0be[TestFrameworkConstants[_0x242db0(0x137)]]=_0x5ecb47[_0x242db0(0x19b)]||'',_0x11e0be[TestFrameworkConstants[_0x242db0(0x131)]]=_0x5ecb47[_0x242db0(0x143)]):_0x11e0be[TestFrameworkConstants[_0x242db0(0xe0)]]=_0x45d408[_0x242db0(0x14d)];_0x45d408[_0x242db0(0x196)](_0x3ad0b1,TestFrameworkConstants[_0x242db0(0x17f)])&&(_0x11e0be[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3ad0b1);_0x11e0be[TestFrameworkConstants[_0x242db0(0x156)]]=_0x5ecb47['finished_at']||new Date()[_0x242db0(0x177)](),_0x11e0be[TestFrameworkConstants[_0x242db0(0x112)]]=_0x2e2833;const _0x42eb15=_0x11e0be[TestFrameworkConstants[_0x242db0(0x160)]];!_0x5d8690[_0x54f182]&&(_0x5d8690[_0x54f182]=[]),_0x5d8690[_0x54f182][_0x242db0(0x13c)](_0x11e0be),_0x56a223[_0x396437][TestFrameworkConstants[_0x242db0(0x149)]]=_0x54f182;}}}return logger[_0x242db0(0x139)](_0x242db0(0xfa)+_0x5ecb47[_0x242db0(0x167)]+_0x242db0(0x1a2)+_0x17556a+_0x242db0(0x124)+_0x396437),_0x56a223;}[a70_0x405067(0x18d)](_0x1c8069){const _0x4f6c6c=a70_0x405067,_0x23a237={};_0x23a237[_0x4f6c6c(0xea)]=_0x4f6c6c(0xdc);const _0x7548c1=_0x23a237;try{const _0x3981a8=_0x1c8069[_0x4f6c6c(0x114)]?_0x1c8069[_0x4f6c6c(0x114)]['id']:_0x1c8069[_0x4f6c6c(0x142)][_0x4f6c6c(0x13b)],_0x1a1b6e=_0x1c8069[_0x4f6c6c(0xd8)],_0x50b50c=_0x1a1b6e[_0x4f6c6c(0x13e)](),_0x3c7925=_0x1a1b6e[_0x4f6c6c(0xe9)]()[_0x4f6c6c(0x164)](_0x3981a8);if(!_0x3c7925)return logger[_0x4f6c6c(0x139)](_0x4f6c6c(0x18c)+_0x3981a8),{};logger[_0x4f6c6c(0x139)](_0x4f6c6c(0x11b)+_0x3981a8);const {[TestFrameworkConstants[_0x4f6c6c(0x17e)]]:_0x37d619='',[TestFrameworkConstants[_0x4f6c6c(0xf0)]]:_0x1f8b72='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x5670c0='',[TestFrameworkConstants[_0x4f6c6c(0x189)]]:_0x451efc=''}=_0x3c7925,_0x354483=_0x1a1b6e[_0x4f6c6c(0x15f)]()[_0x4f6c6c(0x170)]()[_0x4f6c6c(0x180)]('.')[0x1],_0x3bbdd7=_0x1a1b6e['getCurrentHookState']()[_0x4f6c6c(0x170)]()[_0x4f6c6c(0x180)]('.')[0x1],_0x2ee6ef=global?.[_0x4f6c6c(0x163)]?.['workerInfo']?.[_0x4f6c6c(0x182)],_0x44ffb6=_0x1a1b6e[_0x4f6c6c(0xe1)](),_0x335613=Buffer[_0x4f6c6c(0x19c)](JSON[_0x4f6c6c(0x133)](_0x3c7925))[_0x4f6c6c(0x170)](_0x7548c1[_0x4f6c6c(0xea)]),_0x23b86d={'hash':_0x50b50c['getId'](),'threadId':_0x50b50c[_0x4f6c6c(0x11a)]()['toString'](),'processId':_0x50b50c[_0x4f6c6c(0x13a)]()[_0x4f6c6c(0x170)]()},_0x260889={};_0x260889['platformIndex']=_0x2ee6ef,_0x260889['testFrameworkName']=_0x37d619,_0x260889[_0x4f6c6c(0x105)]=_0x1f8b72,_0x260889['testFrameworkState']=_0x354483,_0x260889[_0x4f6c6c(0x110)]=_0x3bbdd7,_0x260889[_0x4f6c6c(0x17c)]=_0x5670c0,_0x260889[_0x4f6c6c(0x10b)]=_0x451efc,_0x260889[_0x4f6c6c(0x1a3)]=_0x44ffb6,_0x260889[_0x4f6c6c(0x106)]=_0x335613,_0x260889['executionContext']=_0x23b86d;const _0x5e3010=_0x260889;return logger['debug']('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x3981a8+_0x4f6c6c(0x15d)+_0x354483+'\x20hookState:\x20'+_0x3bbdd7),_0x5e3010;}catch(_0x20728f){return logger[_0x4f6c6c(0xe6)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x4f6c6c(0xf4)](_0x20728f)),{};}}async['sendLogCreatedEvent'](_0x18c72f,_0xe0bb16,_0x450c0a){const _0x50470c=a70_0x405067,_0x2a8981={'htkpk':function(_0x281415,_0x151af3,_0x2ed934){return _0x281415(_0x151af3,_0x2ed934);},'wVOGK':function(_0x3b3245,_0x571880){return _0x3b3245===_0x571880;},'gwPQW':_0x50470c(0x19f),'NwRkS':function(_0x1a522a,_0x2e7781){return _0x1a522a/_0x2e7781;},'Tmugz':function(_0x4a47c6,_0x390845){return _0x4a47c6<_0x390845;},'PxSUI':function(_0x1fed20,_0xff560b){return _0x1fed20*_0xff560b;},'LzFRS':function(_0x4a3d84,_0x1a2fa6){return _0x4a3d84+_0x1a2fa6;},'NEsTd':function(_0x1cd124,_0x2d2624){return _0x1cd124+_0x2d2624;},'XbNDM':function(_0x64c485,_0x252eea){return _0x64c485+_0x252eea;},'EFYef':'Cucumber\x20log\x20created\x20event'};try{const _0x33b36f=_0x450c0a['testUUID'],_0x343227=_0x18c72f[_0x50470c(0xe9)]()['get'](_0x33b36f),{[TestFrameworkConstants[_0x50470c(0x17e)]]:_0x235252='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x40ad86=''}=_0x343227,_0x14e763=TestInfo[_0x50470c(0x18f)](_0x33b36f),_0x5d54d3=TestInfo[_0x50470c(0x125)](_0x33b36f)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x582e00=_0x2a8981[_0x50470c(0x16b)](getMediaArtifactsLogs,_0x5d54d3,_0x18c72f[_0x50470c(0xe9)]()[_0x50470c(0x164)](_0x33b36f)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x91d998=(_0x14e763||[])[_0x50470c(0x138)](_0x582e00||[]);if(!_0x91d998||_0x2a8981[_0x50470c(0x104)](_0x91d998[_0x50470c(0xd9)],0x0)){logger[_0x50470c(0x139)](_0x2a8981[_0x50470c(0x119)]);return;}const _0x28885f=0x28,_0x4c1d6d=Math['ceil'](_0x2a8981[_0x50470c(0xef)](_0x91d998[_0x50470c(0xd9)],_0x28885f));for(let _0x15d415=0x0;_0x2a8981[_0x50470c(0x169)](_0x15d415,_0x4c1d6d);_0x15d415++){const _0x580e6d=_0x2a8981['PxSUI'](_0x15d415,_0x28885f),_0x16b665=_0x2a8981[_0x50470c(0x198)](_0x580e6d,_0x28885f),_0xd14588=_0x91d998[_0x50470c(0x108)](_0x580e6d,_0x16b665),_0x48eaae={'platformIndex':'0','logs':_0xd14588,'testFrameworkName':_0x235252,'testFrameworkVersion':_0x40ad86,'testFrameworkState':_0xe0bb16[_0x50470c(0x170)]()[_0x50470c(0x180)]('.')[0x1]};logger['debug'](_0x50470c(0xff)+_0x33b36f+_0x50470c(0x18e)+_0x2a8981[_0x50470c(0x1a1)](_0x15d415,0x1)+'/'+_0x4c1d6d+_0x50470c(0x171)+util[_0x50470c(0x187)](_0x48eaae));const _0x5a53bf=await GrpcClient[_0x50470c(0x10e)]()['logCreatedEvent'](_0x48eaae);logger['debug'](_0x50470c(0xff)+_0x33b36f+_0x50470c(0x18e)+_0x2a8981[_0x50470c(0x173)](_0x15d415,0x1)+'/'+_0x4c1d6d+_0x50470c(0x1a0)+util[_0x50470c(0x187)](_0x5a53bf));}}catch(_0x148ad5){logger[_0x50470c(0xe6)](_0x50470c(0x199)+util[_0x50470c(0xf4)](_0x148ad5));}logger['debug'](_0x2a8981['EFYef']);}['storePendingHook'](_0x3b8dcd,_0x41a143,_0x2182f9,_0x3d6c87,_0x2bd789){const _0x385e80=a70_0x405067,_0x196a2a={'testId':_0x41a143,'testFrameworkState':_0x2182f9,'hookState':_0x3d6c87,'args':_0x2bd789,'timestamp':new Date()[_0x385e80(0x177)]()};_0x3b8dcd[_0x385e80(0x18b)](_0x41a143,_0x196a2a),logger[_0x385e80(0x139)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x41a143+_0x385e80(0xf9)+_0x2182f9+_0x385e80(0x152)+_0x3d6c87);}async['processPendingHooks'](_0x1c3ba7,_0x1c3a2a){const _0xc2c4ab=a70_0x405067,_0x36cbf0={};_0x36cbf0[_0xc2c4ab(0x166)]=function(_0x3bbeae,_0x5a72a7){return _0x3bbeae>_0x5a72a7;};const _0x33d5d0=_0x36cbf0;if(!_0x1c3ba7[_0xc2c4ab(0x122)](_0x1c3a2a))return;const _0x59827f=_0x1c3ba7['getPendingHooks'](_0x1c3a2a);logger[_0xc2c4ab(0x139)](_0xc2c4ab(0xd7)+_0x59827f[_0xc2c4ab(0xd9)]+_0xc2c4ab(0xe5)+_0x1c3a2a);for(const _0x57cbb8 of _0x59827f){try{const _0x57cf02=await this[_0xc2c4ab(0x17b)](_0x1c3ba7,_0x57cbb8[_0xc2c4ab(0x191)],_0x57cbb8[_0xc2c4ab(0x110)],_0x57cbb8[_0xc2c4ab(0x12a)]);_0x57cf02&&_0x33d5d0[_0xc2c4ab(0x166)](Object[_0xc2c4ab(0x132)](_0x57cf02)[_0xc2c4ab(0xd9)],0x0)&&_0x1c3ba7['addMultipleEntries'](_0x57cf02),await this[_0xc2c4ab(0x129)](_0x1c3ba7,_0x57cbb8[_0xc2c4ab(0x191)],_0x57cbb8[_0xc2c4ab(0x110)],_0x57cbb8[_0xc2c4ab(0x12a)]);}catch(_0x59babd){logger['error']('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x1c3a2a+',\x20error:\x20'+_0x59babd);}}_0x1c3ba7['removePendingHooks'](_0x1c3a2a),logger['debug'](_0xc2c4ab(0x175)+_0x1c3a2a);}}function a70_0x162e(){const _0x276519=['getTrackedInstance','KEY_TEST_ENDED_AT','../../../helpers/classLogger.js','addPendingHook','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','createTestFrameworkEventPayload','\x20batch\x20','readLogObjects','getTestFrameworks','testFrameworkState','KEY_TEST_TAGS','../state/testFrameworkState.js','KEY_TEST_ATTACHMENTS','KEY_TEST_FAILURE_TYPE','bxODj','KEY_TEST_ID','LzFRS','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','kfhcb','failure_reason','from','started_at','KEY_TEST_NAME','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','\x20response=','NEsTd','\x20with\x20id\x20','uuid','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_LOGS','Processing\x20','instance','length','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','name','base64','KEY_TEST_CODE','dLWmB','resolveInstance','KEY_HOOK_RESULT','getRef','eXIca','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','dWWyY','\x20pending\x20hooks\x20for\x20testId:\x20','error','setTestDetails','code','getAllData','rlWjB','KEY_TEST_FAILURE','tags','failure','storePendingHook','NwRkS','KEY_TEST_FRAMEWORK_VERSION',',\x20state=','HSLKA','KEY_TEST_FILE_PATH','format','trackCucumberInstance:\x20saved\x20instance\x20contextId=','wHksK','util','scopes',',\x20state:\x20','Tracked\x20cucumber\x20hook\x20event:\x20','KEY_TEST_RERUN_NAME','../cliUtils.js','\x20and\x20args\x20=\x20','\x20&\x20hook\x20=\x20','sendLogCreatedEvent:\x20for\x20testId:\x20','dPFan','passed','location','meta','wVOGK','testFrameworkVersion','eventJson','kJpvd','slice','KOLeb','getTestFrameworksVersions','endedAt','../TestInfo.js','trackEvent:\x20unsupported\x20testFrameworkState=','getInstance','NONE','hookState','\x20with\x20UUID:\x20','KEY_CUSTOM_TAGS','hooks','test','\x20target=','KEY_HOOKS_FINISHED','PRE','zStiO','gwPQW','getThreadId','createTestFrameworkEventPayload\x20testId:\x20','KEY_TEST_STARTED_AT','../../../helpers/helper.js','EQphO','setTrackedInstance','KEY_TEST_RESULT_AT','processPendingHooks','hasPendingHooks','parseCucumberTestResult','\x20for\x20test:\x20','getTestDetails','POST','trackEvent','\x20\x20and\x20args\x20=\x20','runHooks','args','950lLkgEA','file_name','failure_type','pop','testData','parseCucumberTest','KEY_HOOK_FAILURE','keys','stringify','../grpcClient','UnhandledError','failed','KEY_HOOK_FAILURE_REASON','concat','debug','getProcessId','test_run_id','push','trackCucumberInstance','getContext','EWUJb','1233618GUxGyS','DEFAULT_TEST_RESULT','hookData','failure_data','testUUID','5cCiDwa','CucumberTestFramework','getTestUUID','\x20with\x20result:\x20','KEY_HOOK_LAST_FINISHED','4XIwtPT','TsVZI','2PFSkTr','qwJpO','../state/hookState.js','KEY_TEST_RESULT','result','KEY_TEST_META',',\x20hookState:\x20','getCurrentInstanceName','../instances/trackedInstance.js','sendLogCreatedEvent','KEY_EVENT_ENDED_AT','./testFramework','4877971BVDdbv','KEY_TEST_LOCATION','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','addMultipleEntries','8523QyKhpq','\x20testState:\x20','createContext','getCurrentTestState','KEY_HOOK_ID','4933680xzTjoW','694987ooGnlC','__workerDetails','get','KEY_HOOKS_STARTED','CQAwD','hook_type','2971265LaJsxp','Tmugz','finishedAt','htkpk','KEY_AUTOMATE_SESSION_NAME','KEY_HOOK_LAST_STARTED','KKiwS','KEY_TEST_UUID','toString','\x20payload=','2029989wsHSmW','XbNDM','ySQzS','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','TEST','toISOString','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','TRZhg','trackHookEvent','startedAt','rerun_name','KEY_TEST_FRAMEWORK_NAME','DEFAULT_HOOK_RESULT','split','Updated\x20cucumber\x20test\x20result:\x20','parallelIndex','aoUMf','KEY_TEST_LOGS','dWMIj','ETRzY','inspect'];a70_0x162e=function(){return _0x276519;};return a70_0x162e();}module['exports']=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
- function a71_0x8485(_0x3ada39,_0x18d7db){const _0x21a6a2=a71_0x21a6();return a71_0x8485=function(_0x848568,_0x2df6c7){_0x848568=_0x848568-0x17d;let _0x520d2f=_0x21a6a2[_0x848568];return _0x520d2f;},a71_0x8485(_0x3ada39,_0x18d7db);}const a71_0x5a4df4=a71_0x8485;(function(_0x3b8f5e,_0x13a5c1){const _0x5be448=a71_0x8485,_0x4d85de=_0x3b8f5e();while(!![]){try{const _0x26a4ae=-parseInt(_0x5be448(0x19f))/0x1*(parseInt(_0x5be448(0x19a))/0x2)+parseInt(_0x5be448(0x1a5))/0x3*(-parseInt(_0x5be448(0x19e))/0x4)+-parseInt(_0x5be448(0x18d))/0x5*(-parseInt(_0x5be448(0x184))/0x6)+-parseInt(_0x5be448(0x1a3))/0x7*(parseInt(_0x5be448(0x199))/0x8)+parseInt(_0x5be448(0x180))/0x9+-parseInt(_0x5be448(0x1a7))/0xa*(-parseInt(_0x5be448(0x1a8))/0xb)+parseInt(_0x5be448(0x1ac))/0xc;if(_0x26a4ae===_0x13a5c1)break;else _0x4d85de['push'](_0x4d85de['shift']());}catch(_0x4b5d1a){_0x4d85de['push'](_0x4d85de['shift']());}}}(a71_0x21a6,0xb028a));const AutomationFramework=require(a71_0x5a4df4(0x17e)),{createClassLogger}=require(a71_0x5a4df4(0x18b)),AutomationFrameworkState=require(a71_0x5a4df4(0x191)),CLIUtils=require(a71_0x5a4df4(0x1a4)),TrackedInstance=require(a71_0x5a4df4(0x196)),AutomationFrameworkInstance=require(a71_0x5a4df4(0x18e));class PlaywrightAutomationFramework extends AutomationFramework{[a71_0x5a4df4(0x198)]=createClassLogger(a71_0x5a4df4(0x17d));constructor(_0x2255ee,_0x749675){super(_0x2255ee,_0x749675);}async['trackEvent'](_0x17a5d7,_0xffd85f,_0x39ec66={}){const _0x54018c=a71_0x5a4df4,_0x19e6ff={};_0x19e6ff[_0x54018c(0x189)]=function(_0x2c2dde,_0x4601ad){return _0x2c2dde===_0x4601ad;};const _0x4bfedb=_0x19e6ff;this['logger'][_0x54018c(0x1a9)](_0x54018c(0x18f)+_0x17a5d7+_0x54018c(0x1a0)+_0xffd85f),await super[_0x54018c(0x192)](_0x17a5d7,_0xffd85f,_0x39ec66);const _0x3ab015=this[_0x54018c(0x194)](_0x17a5d7,_0xffd85f,_0x39ec66);if(_0x4bfedb[_0x54018c(0x189)](_0x3ab015,null))return;_0x39ec66['instance']=_0x3ab015,await this[_0x54018c(0x1ab)](_0x3ab015,_0x17a5d7,_0xffd85f,_0x39ec66);}[a71_0x5a4df4(0x194)](_0x77b38a,_0x13c09b,_0x3c317e={}){const _0x580120=a71_0x5a4df4,_0x3d2d1b={};_0x3d2d1b['bvQrH']=function(_0xf20acb,_0x227619){return _0xf20acb===_0x227619;},_0x3d2d1b[_0x580120(0x187)]=function(_0x10efa6,_0x4b182a){return _0x10efa6===_0x4b182a;};const _0x46f0c8=_0x3d2d1b;let _0x3db737=null;return(_0x46f0c8[_0x580120(0x1a6)](_0x77b38a,AutomationFrameworkState[_0x580120(0x17f)])||_0x46f0c8[_0x580120(0x1a6)](_0x77b38a,AutomationFrameworkState[_0x580120(0x195)])&&(_0x3c317e[_0x580120(0x186)]&&_0x3c317e[_0x580120(0x186)]['params']&&_0x3c317e['message'][_0x580120(0x185)][_0x580120(0x19b)])||_0x46f0c8['aqqeu'](_0x77b38a,AutomationFrameworkState['NONE']))&&this[_0x580120(0x1a2)](_0x77b38a,_0x3c317e),_0x3db737=AutomationFramework[_0x580120(0x19c)](),_0x3db737;}[a71_0x5a4df4(0x1a2)](_0x1fdcde,_0x504a11){const _0x4f07f0=a71_0x5a4df4,_0x3b2e80={};_0x3b2e80[_0x4f07f0(0x197)]=_0x4f07f0(0x1aa);const _0x3140bd=_0x3b2e80;if(AutomationFramework[_0x4f07f0(0x19c)]()){this[_0x4f07f0(0x198)][_0x4f07f0(0x188)](_0x3140bd[_0x4f07f0(0x197)]);return;}const _0x1c032a=CLIUtils[_0x4f07f0(0x18c)](),_0xde2ce5=TrackedInstance[_0x4f07f0(0x1a1)](_0x1c032a);let _0x39cf2e=null;this[_0x4f07f0(0x198)][_0x4f07f0(0x188)](_0x4f07f0(0x18a)+_0x1c032a+_0x4f07f0(0x182)+_0x1fdcde),_0x39cf2e=new AutomationFrameworkInstance(_0xde2ce5,this[_0x4f07f0(0x183)](),this[_0x4f07f0(0x19d)](),_0x1fdcde),AutomationFramework['setTrackedInstance'](_0xde2ce5,_0x39cf2e),this[_0x4f07f0(0x198)][_0x4f07f0(0x188)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0xde2ce5[_0x4f07f0(0x190)]()+_0x4f07f0(0x181)+_0x1c032a);}}module[a71_0x5a4df4(0x193)]=PlaywrightAutomationFramework;function a71_0x21a6(){const _0x210828=['7KsXkOY','../cliUtils.js','75021oIpwPw','bvQrH','258730ResDfP','88gwFRVC','debug','trackPlaywrightInstance:\x20instance\x20already\x20exists','runHooks','20693796eadsNq','PlaywrightAutomationFramework','./automationFramework.js','CREATE','9028926oqiHPM','\x20target=',',\x20state=','getAutomationFrameworkName','630ImVRZg','params','message','aqqeu','info','FRGNn','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','../../../helpers/classLogger.js','getCurrentInstanceName','30670aLLRYg','../instances/automationFrameworkInstance.js','trackEvent:\x20automationFrameworkState=','getId','../state/automationFrameworkState.js','trackEvent','exports','resolveInstance','PLAYWRIGHT_DISPATCH','../instances/trackedInstance.js','snBJw','logger','6258640MSumPr','2OHwqxG','bsParams','getTrackedInstance','getAutomationFrameworkVersion','136cNTRAr','1224637WjtxkE','\x20hookState=','createContext','trackPlaywrightInstance'];a71_0x21a6=function(){return _0x210828;};return a71_0x21a6();}
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_0x138d(_0x280110,_0x2f658e){const _0x245e45=a72_0x245e();return a72_0x138d=function(_0x138d68,_0x4d9d4f){_0x138d68=_0x138d68-0x69;let _0x2d5cff=_0x245e45[_0x138d68];return _0x2d5cff;},a72_0x138d(_0x280110,_0x2f658e);}function a72_0x245e(){const _0x152d3e=['trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','getAllData','3267464MbbITQ','SwMpi','ZAZyr','getTestUUID','9131530QWOIje','platformIndex','getThreadId','path','hook','retry','../../../helpers/test-observability/utils','LPzoC','getCurrentTestState','executionContext','KEY_HOOK_FAILURE','POST','instance','\x20instance=','trackEvent:\x20found\x20instance,\x20testFrameworkState=','\x20payload=','toString','JUFig','\x20testHookState=','\x20\x20and\x20args\x20=\x20','toISOString','KUDsK','Error\x20in\x20sendLogCreatedEvent:\x20','push','values','KEY_LOGS','../instances/trackedInstance.js','MSaUX','KEY_TEST_FRAMEWORK_NAME','status','get','UAPIS','DEFAULT_TEST_RESULT','KEY_EVENT_ENDED_AT','getCurrentInstanceName','logCreatedEvent','MouPc','KEY_TEST_ID','KEY_TEST_FAILURE_TYPE','gRbkW','startTime','field_type','FrqDE','KEY_HOOK_LOGS','mlHYU','hookState','\x20testState:\x20','title','resolveInstance','KEY_TEST_SCOPE','frgwa','step','KEY_HOOK_FAILURE_REASON','FQHki','CrZsS','slice','KEY_TEST_RESULT','./testFramework','errors','TEST','KEY_TEST_ENDED_AT','6VpVVWv','createContext','length','3GLxCle','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','tmKxZ','__workerDetails','parsePlaywrightTestResult','matchHookRegex','KEY_TEST_FRAMEWORK_VERSION','bIsXn','NONE','OebtS','parsePlaywrightTest','Expected\x20to\x20fail,\x20but\x20passed.','TEST_ATTACHMENT','test','KEY_AUTOMATE_SESSION_NAME','zPmXq','info','hLBey','KEY_TEST_LOGS','KEY_HOOKS_FINISHED','size','Dbujg','MFZJc','uuid','YJPxX','aamVk','../TestInfo.js','KEY_TEST_LOCATION','No\x20reason\x20provided','\x20response=','pHqmC','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','\x20and\x20args\x20=\x20','WAoKI','getTime','KEY_HOOK_LAST_FINISHED','Hook\x20List\x20in\x20Post\x20','split','qZvcY','duration','sendLogCreatedEvent\x20for\x20testId:\x20','stringify','xbvwM','../../playwright/reporter/pwUtils','trim','inspect','getProcessId','KEY_HOOKS_STARTED','sTdCJ','startedAt','expectedStatus','sendLogCreatedEvent','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','xKJdo','Error\x20in\x20createTestFrameworkEventPayload:\x20','DEFAULT_HOOK_RESULT','KEY_TEST_SCOPES','parallelIndex','description','dMXTR','trackEvent','sendLogCreatedEvent:\x20testId=','1192265wpXYFe','KEY_TEST_UUID','qyqvZ','vxCYM','INIT_TEST','\x20target=','GFBKZ','../../../helpers/helper.js','mksRI','setTrackedInstance','fgGnP','DEakq','KEY_EVENT_STARTED_AT','Error\x20processing\x20trace\x20file\x20','getCurrentHookState','KEY_TEST_RERUN_NAME','base64','../grpcClient','DKjry','getId','EpOMw','4908924foJaoK','getInstance','FvkVO','\x20hookState:\x20','tczLe','passed','annotations','ZVILz','982982EPXIMm','file_name','15316giNdBT','KEY_TEST_RETRY_OF','trackHookEvent','getRef','SHFOv','debug','KEY_HOOK_RESULT','csNtO','attachments','steps','KEY_CUSTOM_TAGS','filter','nkhqH','RRUML','KEY_HOOK_NAME','testFrameworkName','getTestFrameworks','\x20batch\x20','\x20instanceId=','runHooks','FfrYE','testFrameworkState','CCktW','failed','statSync','KEY_HOOK_FAILURE_TYPE','\x20from\x20TestDetails:\x20','../instances/testFrameworkInstance.js','exports','KEY_TEST_FAILURE','GrJEj','stack','Error\x20processing\x20direct\x20trace\x20file\x20','getTrackedInstance','workerInfo','util','err','endedAt','forEach',',\x20testFrameworkState=','error','TEST_SCREENSHOT','isArray','KEY_TEST_FILE_PATH','KEY_HOOK_ID','PRE','GUYIP','UGeoH','testUId','setTestDetails','WvDQk','message','KEY_TEST_FAILURE_REASON','AaPgZ','eXXpG','filePath','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','skipped','KEY_TEST_ATTACHMENTS','getTestDetails','vAUYg','trackPlaywrightInstance','basename','concat','format','481616UjgFRM','iRRRq','62gxaeCr','pop','timedOut','KEY_TEST_TAGS','FCmTZ','result','OgcMy','toXEz','parsePlaywrightTestResult:\x20testId=','addMultipleEntries','JDzBY','eventJson'];a72_0x245e=function(){return _0x152d3e;};return a72_0x245e();}const a72_0x2ad3a2=a72_0x138d;(function(_0xc184b1,_0x25994d){const _0x31c312=a72_0x138d,_0x18f1a9=_0xc184b1();while(!![]){try{const _0xfb7577=-parseInt(_0x31c312(0x133))/0x1*(parseInt(_0x31c312(0x84))/0x2)+-parseInt(_0x31c312(0xd6))/0x3*(parseInt(_0x31c312(0x92))/0x4)+parseInt(_0x31c312(0x114))/0x5+parseInt(_0x31c312(0xd3))/0x6*(parseInt(_0x31c312(0x131))/0x7)+-parseInt(_0x31c312(0x82))/0x8+parseInt(_0x31c312(0x129))/0x9+parseInt(_0x31c312(0x96))/0xa;if(_0xfb7577===_0x25994d)break;else _0x18f1a9['push'](_0x18f1a9['shift']());}catch(_0x4ac835){_0x18f1a9['push'](_0x18f1a9['shift']());}}}(a72_0x245e,0x768e4));const TestFramework=require(a72_0x2ad3a2(0xcf)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a72_0x2ad3a2(0x14e)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a72_0x2ad3a2(0xb0)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require('uuid'),util=require(a72_0x2ad3a2(0x156)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a72_0x2ad3a2(0x11b)),TestInfo=require(a72_0x2ad3a2(0xf0)),GrpcClient=require(a72_0x2ad3a2(0x125)),{removeAnsiColors,getFailureType,failureData}=require(a72_0x2ad3a2(0x9c)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a72_0x2ad3a2(0x101)),{findNestedKey,sendTraceZip,validateFilePath}=require(a72_0x2ad3a2(0x101)),path=require(a72_0x2ad3a2(0x99)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x2d1cdd,_0x2a3d9f,_0x11ed21){super(_0x2d1cdd,_0x2a3d9f,_0x11ed21);}async[a72_0x2ad3a2(0x112)](_0x525c54,_0x466fb6,_0x1af4ac={}){const _0x232960=a72_0x2ad3a2,_0x5077fd={'eXXpG':function(_0x2a5c4f,_0x267565){return _0x2a5c4f===_0x267565;},'GZEyI':function(_0x453880,_0x3551e7,_0x4ad4fb){return _0x453880(_0x3551e7,_0x4ad4fb);},'iganM':_0x232960(0xe3),'MxuuZ':_0x232960(0x10a)};super['trackEvent'](_0x525c54,_0x466fb6,_0x1af4ac);if(_0x5077fd[_0x232960(0x77)](_0x525c54,TestFrameworkState[_0x232960(0x6a)])){const _0x37c595=TestInfo['getTestIdentifierFromTestInfo'](_0x1af4ac['test'],_0x1af4ac[_0x232960(0xe3)][_0x232960(0x9b)]);TestInfo[_0x232960(0x72)](_0x37c595,_0x1af4ac[_0x232960(0x89)],!![]);}const _0x12f95f=this[_0x232960(0xc6)](_0x525c54,_0x466fb6,_0x1af4ac);if(!_0x12f95f)return;logger[_0x232960(0x138)](_0x232960(0xa4)+_0x525c54+'\x20hookState='+_0x466fb6+_0x232960(0x145)+_0x12f95f['getRef']());try{if(_0x5077fd[_0x232960(0x77)](_0x466fb6,HookState[_0x232960(0x6e)])&&_0x5077fd[_0x232960(0x77)](_0x525c54,TestFrameworkState[_0x232960(0xd1)])){const _0x526505=_0x1af4ac['test'];logger[_0x232960(0x138)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x526505['id']+'}');const _0x12464f=TestInfo['getTestUUID'](_0x5077fd['GZEyI'](getTestRunIdentifier,_0x526505,_0x1af4ac[_0x232960(0x89)][_0x232960(0x9b)]));_0x12f95f['addMultipleEntries'](this['parsePlaywrightTest'](_0x12464f,_0x526505,_0x1af4ac[_0x232960(0x89)])),logger[_0x232960(0x138)](_0x232960(0xd7)+_0x526505['id']+_0x232960(0x15a)+_0x525c54+_0x232960(0xa8)+_0x466fb6+_0x232960(0xa3)+_0x12f95f[_0x232960(0x136)]());}if(_0x5077fd[_0x232960(0x77)](_0x466fb6,HookState[_0x232960(0xa1)])&&_0x5077fd[_0x232960(0x77)](_0x525c54,TestFrameworkState[_0x232960(0xd1)])){const _0x5e1816=_0x1af4ac[_0x232960(0xe3)],_0x45b2f7=_0x1af4ac[_0x232960(0x89)];logger['debug'](_0x232960(0x79)+_0x5e1816['id']),_0x12f95f[_0x232960(0x8d)](this[_0x232960(0xda)](_0x5e1816['id'],_0x45b2f7,_0x5e1816)),await this['sendLogCreatedEvent'](_0x12f95f,_0x525c54,_0x466fb6,_0x5077fd['iganM'],_0x1af4ac);}if(CLIUtils[_0x232960(0xdb)](_0x525c54['toString']()[_0x232960(0xfb)]('.')[0x1])){const _0x3a7f5f=await this[_0x232960(0x135)](_0x12f95f,_0x525c54,_0x466fb6,_0x1af4ac);_0x12f95f[_0x232960(0x8d)](_0x3a7f5f);}}catch(_0x24fc2b){logger['error'](util[_0x232960(0x81)](_0x5077fd['MxuuZ'],_0x525c54,_0x466fb6,_0x1af4ac[_0x232960(0xd5)],_0x24fc2b));}_0x1af4ac[_0x232960(0xa2)]=_0x12f95f,await this[_0x232960(0x146)](_0x12f95f,_0x525c54,_0x466fb6,_0x1af4ac);}['resolveInstance'](_0x4bc693,_0x33b5f8,_0x40c813={}){const _0x55ca22=a72_0x2ad3a2,_0x5d5cfa={};_0x5d5cfa[_0x55ca22(0xec)]=function(_0x324ca7,_0x4b64dd){return _0x324ca7===_0x4b64dd;};const _0x56cad3=_0x5d5cfa;let _0x29c07e=null;return(_0x56cad3[_0x55ca22(0xec)](_0x4bc693,TestFrameworkState[_0x55ca22(0x118)])||_0x56cad3[_0x55ca22(0xec)](_0x4bc693,TestFrameworkState[_0x55ca22(0xde)]))&&this['trackPlaywrightInstance'](_0x4bc693,_0x40c813),_0x29c07e=TestFramework[_0x55ca22(0x154)](),_0x29c07e;}[a72_0x2ad3a2(0x7e)](_0x267170,_0x1bc3eb){const _0x137db9=a72_0x2ad3a2,_0x2da1ec=CLIUtils[_0x137db9(0xb8)](),_0x246a71=TrackedInstance[_0x137db9(0xd4)](_0x2da1ec);let _0x2538dd=null;logger[_0x137db9(0xe6)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x2da1ec+',\x20state='+_0x267170),_0x2538dd=new TestFrameworkInstance(_0x246a71,this[_0x137db9(0x143)](),this['getTestFrameworksVersions'](),_0x267170,HookState[_0x137db9(0xde)]),TestFramework[_0x137db9(0x11d)](_0x246a71,_0x2538dd),logger[_0x137db9(0xe6)](_0x137db9(0x90)+_0x246a71[_0x137db9(0x127)]()+_0x137db9(0x119)+_0x2da1ec);}[a72_0x2ad3a2(0xe0)](_0x112ce3,_0x10a767,_0x11daf9){const _0x11bc0c=a72_0x2ad3a2,_0x18ee43={'iRRRq':function(_0x2ae49a,_0x5cb4bc){return _0x2ae49a(_0x5cb4bc);},'GUYIP':function(_0x1afc53,_0x210c1a){return _0x1afc53(_0x210c1a);},'vtBlf':function(_0x2746f3,_0x45bc8f){return _0x2746f3(_0x45bc8f);},'gRbkW':function(_0x2c71d3,_0x57d2a2){return _0x2c71d3(_0x57d2a2);},'UAPIS':function(_0x9ca6c,_0x2a96a1){return _0x9ca6c(_0x2a96a1);},'qZvcY':function(_0x5afcc3,_0x29a268,_0x598fa8){return _0x5afcc3(_0x29a268,_0x598fa8);}},_0x3c4965=_0x18ee43[_0x11bc0c(0x83)](getPlaywrightTestId,_0x10a767),_0x56934d=_0x18ee43[_0x11bc0c(0x83)](getPlaywrightTestTitle,_0x10a767),_0x5b099d=_0x18ee43[_0x11bc0c(0x6f)](getTestTags,_0x10a767),_0xcf1d00=_0x18ee43['vtBlf'](getPlaywrightTestCode,_0x10a767),_0x5d5449=_0x18ee43['gRbkW'](getPlaywrightTestFilePath,_0x10a767),_0x150605=_0x5d5449+':'+_0x18ee43['GUYIP'](getPlaywrightTestLocation,_0x10a767),_0x3c34ff=_0x18ee43[_0x11bc0c(0xb5)](getPlaywrightTestScope,_0x10a767),_0x1db13c=_0x18ee43[_0x11bc0c(0xbd)](getPlaywrightTestScopes,_0x10a767),_0x2aef7c=_0x18ee43[_0x11bc0c(0x6f)](getPlaywrightSessionName,_0x10a767),_0x3575f1=this['getTestFrameworks']()[0x0],_0x48e47b=_0x18ee43[_0x11bc0c(0xfc)](getTestRunIdentifier,_0x10a767,_0x11daf9[_0x11bc0c(0x9b)]),_0x5b9e0c={[TestFrameworkConstants[_0x11bc0c(0xb2)]]:_0x3575f1,[TestFrameworkConstants[_0x11bc0c(0xdc)]]:this['getTestFrameworksVersions']()[_0x3575f1],[TestFrameworkConstants[_0x11bc0c(0xe8)]]:[],[TestFrameworkConstants[_0x11bc0c(0xe9)]]:{},[TestFrameworkConstants[_0x11bc0c(0x105)]]:{},[TestFrameworkConstants[_0x11bc0c(0x115)]]:_0x112ce3,[TestFrameworkConstants[_0x11bc0c(0xce)]]:TestFrameworkConstants[_0x11bc0c(0xb6)],[TestFrameworkConstants[_0x11bc0c(0xe4)]]:_0x2aef7c,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5d5449,[TestFrameworkConstants[_0x11bc0c(0xbb)]]:_0x3c4965,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x56934d,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x150605,[TestFrameworkConstants['KEY_TEST_CODE']]:_0xcf1d00,[TestFrameworkConstants[_0x11bc0c(0x87)]]:_0x5b099d,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x10a767['results'][0x0][_0x11bc0c(0xbe)],[TestFrameworkConstants[_0x11bc0c(0xc7)]]:_0x3c34ff,[TestFrameworkConstants[_0x11bc0c(0x10e)]]:_0x1db13c,[TestFrameworkConstants[_0x11bc0c(0x123)]]:_0x18ee43[_0x11bc0c(0xbd)](getPlaywrightCustomRerunParam,_0x10a767)};TestInfo['setTestDetails'](_0x48e47b,_0x5b9e0c);const _0x36cc9d={};return _0x36cc9d[_0x48e47b]=_0x5b9e0c,_0x36cc9d;}[a72_0x2ad3a2(0xda)](_0x1e29ab,_0x353034,_0x37d86e){const _0xaeac9f=a72_0x2ad3a2,_0x2e68cb={'aRoJu':function(_0x402c9e,_0x57a917){return _0x402c9e(_0x57a917);},'RRUML':_0xaeac9f(0xe2),'mksRI':function(_0x2106db,_0x354364){return _0x2106db===_0x354364;},'FrqDE':function(_0x3d05c1,_0xbac27e){return _0x3d05c1===_0xbac27e;},'FCmTZ':function(_0xd624fe,_0x3b045c){return _0xd624fe(_0x3b045c);},'YJPxX':_0xaeac9f(0xf2),'DEakq':'multi_dropdown','ZAZyr':function(_0x50ecac,_0x33c109){return _0x50ecac(_0x33c109);},'aamVk':function(_0x4ab8f6,_0x5798eb,_0x23e4b0){return _0x4ab8f6(_0x5798eb,_0x23e4b0);},'DKjry':function(_0x1be61c,_0x59ace5){return _0x1be61c+_0x59ace5;},'CrZsS':function(_0x2ed11a,_0x41b191){return _0x2ed11a===_0x41b191;},'OgcMy':function(_0x54149a,_0x1a4848){return _0x54149a===_0x1a4848;},'AaPgZ':_0xaeac9f(0x7a),'UGeoH':_0xaeac9f(0x12e),'xKJdo':function(_0x3cf4f5,_0x3d19d5){return _0x3cf4f5===_0x3d19d5;},'KUDsK':function(_0x243a5b,_0x3612d3){return _0x243a5b===_0x3612d3;},'mlHYU':'failed','CCktW':_0xaeac9f(0x86),'zPmXq':function(_0x4182f0,_0x1788e5){return _0x4182f0===_0x1788e5;},'pHqmC':_0xaeac9f(0xe1),'WvDQk':function(_0x385b31,_0x4216de,_0x3469d0){return _0x385b31(_0x4216de,_0x3469d0);},'PcqWo':function(_0x33bd3e,_0x104d33){return _0x33bd3e||_0x104d33;},'JDzBY':function(_0x3a1049,_0x5dcd2b){return _0x3a1049>_0x5dcd2b;},'qyqvZ':function(_0x2f7c3c,_0x4f2001){return _0x2f7c3c-_0x4f2001;},'WAoKI':function(_0x254087,_0x5d4a04,_0x325151){return _0x254087(_0x5d4a04,_0x325151);},'dMXTR':_0xaeac9f(0x99),'OebtS':function(_0x25e249,_0x5932f1){return _0x25e249(_0x5932f1);},'vxCYM':function(_0x28ae95,_0x29564c){return _0x28ae95>_0x29564c;}};logger[_0xaeac9f(0x138)](_0xaeac9f(0x8c)+_0x1e29ab);const _0x18d512=_0x2e68cb[_0xaeac9f(0xef)](getTestRunIdentifier,_0x37d86e,_0x353034['retry']),_0x1d1fd0=new Date(_0x353034['startTime']),_0x278573=_0x353034[_0xaeac9f(0xfd)],_0x2dd424=new Date(_0x2e68cb[_0xaeac9f(0x126)](_0x1d1fd0[_0xaeac9f(0xf8)](),_0x278573)),_0x666ae2=_0x353034[_0xaeac9f(0xb3)],_0x1232de=TestInfo['getTestDetails'](_0x18d512)[TestFrameworkConstants[_0xaeac9f(0x13d)]]||{};let _0x21cf12=_0x666ae2;if(_0x2e68cb[_0xaeac9f(0xcc)](_0x353034[_0xaeac9f(0xb3)],_0x37d86e[_0xaeac9f(0x108)]))_0x21cf12=_0x2e68cb[_0xaeac9f(0x8a)](_0x353034[_0xaeac9f(0xb3)],_0x2e68cb[_0xaeac9f(0x76)])?_0x2e68cb[_0xaeac9f(0x76)]:_0x2e68cb[_0xaeac9f(0x70)];else{(_0x2e68cb[_0xaeac9f(0x10b)](_0x21cf12,_0x2e68cb[_0xaeac9f(0x70)])||_0x2e68cb[_0xaeac9f(0xab)](_0x21cf12,_0x2e68cb[_0xaeac9f(0xc2)])||_0x2e68cb[_0xaeac9f(0x10b)](_0x21cf12,_0x2e68cb[_0xaeac9f(0x149)]))&&(_0x21cf12=_0x2e68cb[_0xaeac9f(0xc2)]);if(_0x2e68cb[_0xaeac9f(0x11c)](_0x353034[_0xaeac9f(0xb3)],_0x2e68cb[_0xaeac9f(0x70)])&&_0x2e68cb[_0xaeac9f(0xe5)](_0x37d86e[_0xaeac9f(0x108)],_0x2e68cb[_0xaeac9f(0xc2)])){const _0x47920f={};_0x47920f['message']=_0x2e68cb[_0xaeac9f(0xf4)],_0x47920f[_0xaeac9f(0x152)]=_0x2e68cb['pHqmC'],_0x353034[_0xaeac9f(0x69)]=_0x47920f,_0x353034['errors']=[_0x353034[_0xaeac9f(0x69)]];}}const {failureData:_0x411b2d,logs:_0x84ec83}=_0x2e68cb['WvDQk'](getFailureData,_0x353034?.[_0xaeac9f(0xd0)],{}),_0x21416d={[TestFrameworkConstants[_0xaeac9f(0x150)]]:_0x2e68cb['PcqWo'](_0x411b2d,null),[TestFrameworkConstants[_0xaeac9f(0xbc)]]:_0x353034?.[_0xaeac9f(0x69)]&&_0x2e68cb['ZAZyr'](getFailureType,_0x353034[_0xaeac9f(0x69)][_0xaeac9f(0x74)]),[TestFrameworkConstants[_0xaeac9f(0x75)]]:_0x353034?.[_0xaeac9f(0x69)]&&_0x2e68cb[_0xaeac9f(0x88)](removeAnsiColors,_0x353034['error'][_0xaeac9f(0x74)]),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x21cf12,[TestFrameworkConstants[_0xaeac9f(0xd2)]]:_0x2dd424[_0xaeac9f(0xaa)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1232de};if(_0x353034&&_0x2e68cb[_0xaeac9f(0x8e)](_0x353034[_0xaeac9f(0x9b)],0x0)){const _0x46f5f5=TestInfo[_0xaeac9f(0x95)](_0x2e68cb[_0xaeac9f(0x73)](getTestRunIdentifier,_0x37d86e,_0x2e68cb[_0xaeac9f(0x116)](_0x353034[_0xaeac9f(0x9b)],0x1)));_0x21416d[TestFrameworkConstants[_0xaeac9f(0x134)]]=_0x46f5f5;}const _0x2cc2a4={};_0x2cc2a4[_0xaeac9f(0xe3)]=_0x37d86e;const _0x1e2879=this['resolveInstance'](TestFrameworkState[_0xaeac9f(0xd1)],HookState[_0xaeac9f(0xa1)],_0x2cc2a4),_0x372b0b=_0x1e2879[_0xaeac9f(0x91)]()[_0xaeac9f(0xb4)](_0x18d512)[TestFrameworkConstants[_0xaeac9f(0x115)]],_0x94d1ec=[],_0x1a53e6=_0x2e68cb[_0xaeac9f(0xf7)](findNestedKey,_0x353034,_0x2e68cb[_0xaeac9f(0x111)]);if(_0x1a53e6&&_0x2e68cb[_0xaeac9f(0xdf)](validateFilePath,_0x1a53e6))try{_0x94d1ec[_0xaeac9f(0xad)]({'kind':_0x2e68cb[_0xaeac9f(0x140)],'timestamp':new Date()[_0xaeac9f(0xaa)](),'test_run_uuid':_0x372b0b,'file_name':path[_0xaeac9f(0x7f)](_0x1a53e6),'file_size':fs[_0xaeac9f(0x14b)](_0x1a53e6)[_0xaeac9f(0xea)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x46f9c8){logger[_0xaeac9f(0x69)](_0xaeac9f(0x153)+_0x1a53e6+':\x20'+_0x46f9c8['message']);}const _0x151f05=TestInfo['getTraceFilePaths'](),_0x3b3df5=_0x151f05[_0xaeac9f(0x13e)](_0x1e44d5=>_0x1e44d5[_0xaeac9f(0x71)]===_0x372b0b);_0x3b3df5[_0xaeac9f(0x159)](_0x4a1d6f=>{const _0x12f8b2=_0xaeac9f;if(_0x4a1d6f[_0x12f8b2(0x78)]&&_0x2e68cb['aRoJu'](validateFilePath,_0x4a1d6f[_0x12f8b2(0x78)])&&!_0x94d1ec['some'](_0x2480c3=>_0x2480c3[_0x12f8b2(0x132)]===path[_0x12f8b2(0x7f)](_0x4a1d6f[_0x12f8b2(0x78)])))try{_0x94d1ec['push']({'kind':_0x2e68cb[_0x12f8b2(0x140)],'timestamp':new Date()[_0x12f8b2(0xaa)](),'test_run_uuid':_0x372b0b,'file_name':path[_0x12f8b2(0x7f)](_0x4a1d6f[_0x12f8b2(0x78)]),'file_size':fs[_0x12f8b2(0x14b)](_0x4a1d6f[_0x12f8b2(0x78)])[_0x12f8b2(0xea)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x583505){logger[_0x12f8b2(0x69)](_0x12f8b2(0x121)+_0x4a1d6f['filePath']+_0x12f8b2(0x14d)+_0x583505['message']);}});if(_0x2e68cb[_0xaeac9f(0x117)](_0x94d1ec[_0xaeac9f(0xd5)],0x0)){const _0x111886=_0x21416d[TestFrameworkConstants[_0xaeac9f(0xaf)]]||[];_0x21416d[TestFrameworkConstants[_0xaeac9f(0xaf)]]=[..._0x111886,..._0x94d1ec];}const _0x3ba324=TestInfo[_0xaeac9f(0x7c)](_0x18d512)[TestFrameworkConstants[_0xaeac9f(0x7b)]]||{},_0x25b7fe=_0x2e68cb[_0xaeac9f(0xf7)](getManualUploadLogs,_0x3ba324,_0x1e2879[_0xaeac9f(0x91)]()[_0xaeac9f(0xb4)](_0x18d512)[TestFrameworkConstants[_0xaeac9f(0x115)]]);if(_0x2e68cb['JDzBY'](_0x25b7fe['length'],0x0)){const _0x2e776c=_0x21416d[TestFrameworkConstants[_0xaeac9f(0xaf)]]||[];_0x21416d[TestFrameworkConstants[_0xaeac9f(0xaf)]]=[..._0x2e776c,..._0x25b7fe];}const _0x1a2266=_0x37d86e[_0xaeac9f(0x12f)]||[],_0x1533fc=_0x21416d[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x1a2266[_0xaeac9f(0x159)](_0x1dda78=>{const _0x599a86=_0xaeac9f,{type:_0x44ec67}=_0x1dda78;let _0x56e8b1=_0x1dda78[_0x599a86(0x110)];if(!_0x44ec67)return;(_0x2e68cb[_0x599a86(0x11c)](_0x56e8b1,undefined)||_0x2e68cb[_0x599a86(0xc0)](_0x56e8b1,null)||_0x2e68cb[_0x599a86(0xc0)](_0x2e68cb[_0x599a86(0x88)](String,_0x56e8b1)[_0x599a86(0x102)](),''))&&(_0x56e8b1=_0x2e68cb[_0x599a86(0xee)]);if(!_0x1533fc[_0x44ec67]){const _0x5a9320={};_0x5a9320[_0x599a86(0xbf)]=_0x2e68cb[_0x599a86(0x11f)],_0x5a9320[_0x599a86(0xae)]=[],_0x1533fc[_0x44ec67]=_0x5a9320;}else!_0x1533fc[_0x44ec67][_0x599a86(0xbf)]&&(_0x1533fc[_0x44ec67][_0x599a86(0xbf)]=_0x2e68cb[_0x599a86(0x11f)]),!Array[_0x599a86(0x6b)](_0x1533fc[_0x44ec67][_0x599a86(0xae)])&&(_0x1533fc[_0x44ec67][_0x599a86(0xae)]=[]);const _0x2d31b8=_0x2e68cb[_0x599a86(0x94)](String,_0x56e8b1)[_0x599a86(0xfb)](',')['map'](_0x1baa35=>_0x1baa35[_0x599a86(0x102)]());_0x1533fc[_0x44ec67][_0x599a86(0xae)]=[...new Set([..._0x1533fc[_0x44ec67][_0x599a86(0xae)],..._0x2d31b8])];}),_0x21416d[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x1533fc,TestInfo['setTestDetails'](_0x18d512,_0x21416d);const _0xb55527={};return _0xb55527[_0x18d512]=_0x21416d,_0xb55527;}async[a72_0x2ad3a2(0x135)](_0x2639d0,_0x5e3103,_0x2795f5,_0x1b9532){const _0x373336=a72_0x2ad3a2,_0x585367={'frgwa':function(_0x364f42,_0x39e1ee,_0x51d1ea){return _0x364f42(_0x39e1ee,_0x51d1ea);},'ZVILz':function(_0x4c2639,_0x23c0df){return _0x4c2639 in _0x23c0df;},'fgGnP':function(_0x46d0b7,_0x1780e7){return _0x46d0b7(_0x1780e7);},'FQHki':function(_0x313eb6,_0x4e56a4){return _0x313eb6(_0x4e56a4);},'GALHz':function(_0x1e45c4,_0x5b21a7){return _0x1e45c4===_0x5b21a7;},'bIsXn':function(_0x1c6e3b){return _0x1c6e3b();},'xbvwM':function(_0x1888a4,_0x3bf792){return _0x1888a4===_0x3bf792;},'TlXYU':function(_0x809017,_0x6f7c78){return _0x809017>_0x6f7c78;},'SwMpi':_0x373336(0x157),'EpOMw':function(_0x4e2728,_0x48c836){return _0x4e2728(_0x48c836);},'tmKxZ':_0x373336(0x14a),'toXEz':_0x373336(0x12e),'DCzwQ':function(_0x1c6aaf,_0x52366c){return _0x1c6aaf!==_0x52366c;},'JUFig':function(_0x379e20,_0x4f9ade){return _0x379e20+_0x4f9ade;},'GFBKZ':_0x373336(0x9a)},_0x5d1242=_0x1b9532[_0x373336(0xe3)],_0x4362f2=_0x1b9532[_0x373336(0xc9)],_0x38e855=_0x585367[_0x373336(0xc8)](getTestRunIdentifier,_0x5d1242,_0x1b9532[_0x373336(0x89)][_0x373336(0x9b)]),_0x5d5d04=_0x5e3103[_0x373336(0xa6)]()['split']('.')[0x1];let _0x356fa3=_0x2639d0['getAllData']()[_0x373336(0xb4)](_0x38e855)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x356fa3&&(_0x356fa3={});!_0x585367[_0x373336(0x130)](_0x5d5d04,_0x356fa3)&&(_0x356fa3[_0x5d5d04]=[]);let _0x76dbd8=_0x2639d0['getAllData']()['get'](_0x38e855)[TestFrameworkConstants[_0x373336(0xe9)]];!_0x76dbd8&&(_0x76dbd8={});!_0x585367['ZVILz'](_0x5d5d04,_0x76dbd8)&&(_0x76dbd8[_0x5d5d04]=[]);const _0x4614c5={[TestFrameworkConstants[_0x373336(0x105)]]:_0x356fa3,[TestFrameworkConstants[_0x373336(0xe9)]]:_0x76dbd8},_0x14178f={};_0x14178f[_0x38e855]=_0x4614c5;const _0x4778a6=_0x14178f,_0x3357b7=_0x585367[_0x373336(0x11e)](getPlaywrightTestFilePath,_0x5d1242),_0x13175a=_0x3357b7+':'+_0x585367[_0x373336(0xcb)](getPlaywrightTestLocation,_0x5d1242),_0x319c2c=TestInfo[_0x373336(0x7c)](_0x38e855)[TestFrameworkConstants[_0x373336(0x13d)]]||{};if(_0x585367['GALHz'](_0x2795f5,HookState[_0x373336(0x6e)])){const _0x1a5bf0={'key':_0x5d5d04,[TestFrameworkConstants[_0x373336(0x6d)]]:_0x585367[_0x373336(0xdd)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x373336(0x10d)],[TestFrameworkConstants[_0x373336(0x120)]]:_0x4362f2[_0x373336(0xbe)],[TestFrameworkConstants[_0x373336(0xc1)]]:[],[TestFrameworkConstants[_0x373336(0x141)]]:_0x4362f2[_0x373336(0xc5)],[TestFrameworkConstants[_0x373336(0x6c)]]:_0x3357b7,[TestFrameworkConstants[_0x373336(0xf1)]]:_0x13175a,[TestFrameworkConstants[_0x373336(0x13d)]]:_0x319c2c};_0x356fa3[_0x5d5d04][_0x373336(0xad)](_0x1a5bf0),_0x4778a6[_0x38e855][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x5d5d04,logger[_0x373336(0x138)](_0x373336(0xf5)+_0x5d5d04+'\x20&\x20hook\x20=\x20'+_0x1a5bf0+_0x373336(0xa9)+_0x1b9532);}else{if(_0x585367[_0x373336(0x100)](_0x2795f5,HookState[_0x373336(0xa1)])){const _0x393f2f=await _0x1b9532[_0x373336(0x89)],_0x46c8c6=_0x356fa3[_0x5d5d04]||[],_0x1fd44e=_0x1b9532[_0x373336(0xc9)];logger[_0x373336(0x138)](_0x373336(0xfa)+_0x46c8c6+_0x373336(0xf6)+_0x1b9532);if(_0x585367['TlXYU'](_0x46c8c6[_0x373336(0xd5)],0x0)){const _0x37e6b3=_0x46c8c6[_0x373336(0x85)]();if(_0x1fd44e[_0x373336(0x69)]){const _0x33a704=_0x585367['frgwa'](failureData,_0x1fd44e['error'],_0x585367[_0x373336(0x93)]);_0x37e6b3[TestFrameworkConstants[_0x373336(0x14c)]]=_0x585367[_0x373336(0xcb)](getFailureType,_0x1fd44e?.['error'][_0x373336(0x74)]),_0x37e6b3[TestFrameworkConstants[_0x373336(0xca)]]=_0x585367[_0x373336(0x128)](removeAnsiColors,_0x1fd44e?.[_0x373336(0x69)][_0x373336(0x74)]),_0x37e6b3[TestFrameworkConstants[_0x373336(0x139)]]=_0x585367[_0x373336(0xd8)],_0x37e6b3[TestFrameworkConstants[_0x373336(0xa0)]]=_0x33a704;}else _0x37e6b3[TestFrameworkConstants[_0x373336(0x139)]]=_0x585367[_0x373336(0x8b)];_0x585367['DCzwQ'](_0x393f2f,TestFrameworkConstants[_0x373336(0x10d)])&&(_0x37e6b3[TestFrameworkConstants[_0x373336(0x139)]]=!_0x1fd44e['error']?_0x585367['toXEz']:_0x585367['tmKxZ']);const _0x362e6d=new Date(_0x1fd44e[_0x373336(0xbe)]),_0x59888c=new Date(_0x585367[_0x373336(0xa7)](_0x362e6d['getTime'](),_0x1fd44e[_0x373336(0xfd)]));_0x37e6b3[TestFrameworkConstants[_0x373336(0xb7)]]=_0x59888c['toISOString'](),_0x37e6b3[TestFrameworkConstants[_0x373336(0x13d)]]=_0x319c2c;const _0xb78b54=_0x37e6b3[TestFrameworkConstants[_0x373336(0x6d)]];await this[_0x373336(0x109)](_0x2639d0,_0x5e3103,_0xb78b54,_0x585367[_0x373336(0x11a)],_0x1b9532),!_0x76dbd8[_0x5d5d04]&&(_0x76dbd8[_0x5d5d04]=[]),_0x76dbd8[_0x5d5d04][_0x373336(0xad)](_0x37e6b3),_0x4778a6[_0x38e855][TestFrameworkConstants[_0x373336(0xf9)]]=_0x5d5d04;}}}return _0x4778a6;}async[a72_0x2ad3a2(0x109)](_0x442dd2,_0x51d4fe,_0x349fe1,_0x3f6d43,_0x5d9e8d){const _0x107aec=a72_0x2ad3a2,_0x201d4c={'MSaUX':function(_0x10aed9,_0x547722){return _0x10aed9===_0x547722;},'FvkVO':_0x107aec(0xe3),'IeTrD':function(_0x47c9fd,_0x11e90b,_0x1fe24b){return _0x47c9fd(_0x11e90b,_0x1fe24b);},'FfrYE':function(_0x9fd2ca,_0x475c16,_0x2a0f60){return _0x9fd2ca(_0x475c16,_0x2a0f60);},'vAUYg':'attachments','nkhqH':function(_0x2e72cf,_0x1b3ddb,_0x3d7874,_0x514444){return _0x2e72cf(_0x1b3ddb,_0x3d7874,_0x514444);},'csNtO':function(_0x3c03d9,_0x849dd,_0x290c1f){return _0x3c03d9(_0x849dd,_0x290c1f);},'LPzoC':function(_0x499ca7,_0x1e966d,_0x4cb02f){return _0x499ca7(_0x1e966d,_0x4cb02f);},'hLBey':function(_0x1baf4a,_0x59d95e){return _0x1baf4a/_0x59d95e;},'LKBCW':function(_0x47c4d8,_0xb5baa5){return _0x47c4d8<_0xb5baa5;},'SHFOv':function(_0x11cfe4,_0x13a48b){return _0x11cfe4*_0x13a48b;},'tczLe':function(_0xee91b5,_0x27daa7){return _0xee91b5+_0x27daa7;},'MouPc':function(_0x75a4ed,_0x18d52b,_0x12ae4b,_0x33d1cc,_0x4ade27){return _0x75a4ed(_0x18d52b,_0x12ae4b,_0x33d1cc,_0x4ade27);},'GkqkV':function(_0x52c2c6,_0x254870){return _0x52c2c6+_0x254870;},'sTdCJ':function(_0x44b944,_0x57b369){return _0x44b944+_0x57b369;},'AZhhj':function(_0x26b03f,_0x309e98,_0x5904fe,_0x252579){return _0x26b03f(_0x309e98,_0x5904fe,_0x252579);},'GrJEj':_0x107aec(0x9a)};try{if(_0x201d4c[_0x107aec(0xb1)](_0x3f6d43,_0x201d4c[_0x107aec(0x12b)])){const _0x387cd5=await _0x5d9e8d['result'],_0x4f1eb1=_0x201d4c['IeTrD'](getTestRunIdentifier,_0x5d9e8d[_0x107aec(0xe3)],_0x5d9e8d[_0x107aec(0x89)][_0x107aec(0x9b)]),_0x1a50b6=_0x5d9e8d[_0x107aec(0xe3)];logger[_0x107aec(0x138)](_0x107aec(0x113)+_0x4f1eb1+'\x20result='+util[_0x107aec(0x103)](_0x387cd5));const _0x559432=_0x442dd2[_0x107aec(0x91)]()[_0x107aec(0xb4)](_0x4f1eb1)[TestFrameworkConstants[_0x107aec(0x115)]];await _0x201d4c[_0x107aec(0x147)](sendTraceZip,_0x387cd5,_0x559432);const _0x698111=TestInfo['getTestDetails'](_0x4f1eb1)[_0x201d4c[_0x107aec(0x7d)]],_0x434def={};if(_0x698111){!_0x387cd5[_0x107aec(0x13b)]&&(_0x387cd5[_0x107aec(0x13b)]=[]);_0x434def[_0x107aec(0x13b)]=_0x387cd5['attachments'][_0x107aec(0x80)](_0x698111||[]);const _0x3dbc57=TestInfo[_0x107aec(0x7c)](_0x4f1eb1);delete _0x3dbc57[_0x201d4c[_0x107aec(0x7d)]],TestInfo['setTestDetails'](_0x4f1eb1,_0x3dbc57);}const {steps:_0x5dc84b,logs:_0xe28592}=_0x201d4c[_0x107aec(0x13f)](getStepsAndLogs,_0x387cd5[_0x107aec(0x13c)],_0x442dd2['getAllData']()[_0x107aec(0xb4)](_0x4f1eb1)[TestFrameworkConstants[_0x107aec(0x115)]],_0x201d4c['FvkVO']),_0x34d8cb=_0x201d4c[_0x107aec(0x13a)](getScreenshots,_0x434def,_0x442dd2['getAllData']()[_0x107aec(0xb4)](_0x4f1eb1)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x37a13e=_0x201d4c[_0x107aec(0x13a)](getVideos,_0x387cd5,_0x442dd2[_0x107aec(0x91)]()['get'](_0x4f1eb1)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x5cbc32,logs:_0x5a73dd}=_0x201d4c[_0x107aec(0x13a)](getFailureData,_0x387cd5[_0x107aec(0xd0)],{'test_run_uuid':_0x442dd2[_0x107aec(0x91)]()['get'](_0x4f1eb1)[TestFrameworkConstants[_0x107aec(0x115)]]}),_0x2ac771=TestInfo[_0x107aec(0x7c)](_0x4f1eb1)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x52fa60=_0x201d4c['LPzoC'](getMediaArtifactsLogs,_0x2ac771,_0x442dd2[_0x107aec(0x91)]()['get'](_0x4f1eb1)[TestFrameworkConstants[_0x107aec(0x115)]]),_0x55f362=_0x442dd2[_0x107aec(0x91)]()[_0x107aec(0xb4)](_0x4f1eb1),{[TestFrameworkConstants[_0x107aec(0xb2)]]:_0xc0697d='',[TestFrameworkConstants[_0x107aec(0xdc)]]:_0x5149e8=''}=_0x55f362,_0x1931a1=(_0xe28592||[])[_0x107aec(0x80)](_0x34d8cb||[])[_0x107aec(0x80)](_0x5a73dd||[])[_0x107aec(0x80)](_0x37a13e||[])[_0x107aec(0x80)](_0x52fa60||[]),_0x532dd5=0x28,_0xb8f5ce=Math['ceil'](_0x201d4c[_0x107aec(0xe7)](_0x1931a1['length'],_0x532dd5));for(let _0x10b3a8=0x0;_0x201d4c['LKBCW'](_0x10b3a8,_0xb8f5ce);_0x10b3a8++){const _0x560d61=_0x201d4c[_0x107aec(0x137)](_0x10b3a8,_0x532dd5),_0xa44ca8=_0x201d4c[_0x107aec(0x12d)](_0x560d61,_0x532dd5),_0x525ce2=_0x1931a1[_0x107aec(0xcd)](_0x560d61,_0xa44ca8),_0x5b4ded={'platformIndex':'0','logs':_0x525ce2,'testFrameworkName':_0xc0697d,'testFrameworkVersion':_0x5149e8,'testFrameworkState':_0x51d4fe[_0x107aec(0xa6)]()[_0x107aec(0xfb)]('.')[0x1]};_0x201d4c[_0x107aec(0xba)](updatePayloadForTraceLogs,_0x5b4ded,_0x5d9e8d,_0x4f1eb1,_0x442dd2),logger[_0x107aec(0x138)](_0x107aec(0xfe)+_0x4f1eb1+_0x107aec(0x144)+_0x201d4c['GkqkV'](_0x10b3a8,0x1)+'/'+_0xb8f5ce+_0x107aec(0xa5)+util[_0x107aec(0x103)](_0x5b4ded));const _0x55f961=await GrpcClient[_0x107aec(0x12a)]()[_0x107aec(0xb9)](_0x5b4ded);logger[_0x107aec(0x138)](_0x107aec(0xfe)+_0x4f1eb1+_0x107aec(0x144)+_0x201d4c[_0x107aec(0x106)](_0x10b3a8,0x1)+'/'+_0xb8f5ce+_0x107aec(0xf3)+util[_0x107aec(0x103)](_0x55f961));}}else{const {steps:_0x185c60,logs:_0x2921a4}=_0x201d4c['AZhhj'](getStepsAndLogs,_0x5d9e8d['step'][_0x107aec(0x13c)],_0x349fe1,_0x201d4c[_0x107aec(0x151)]),_0x469a69=_0x201d4c[_0x107aec(0x9d)](getTestRunIdentifier,_0x5d9e8d[_0x107aec(0xe3)],_0x5d9e8d[_0x107aec(0x89)]['retry']);logger['debug'](_0x107aec(0x113)+_0x469a69);const _0x397d0a=_0x442dd2[_0x107aec(0x91)]()[_0x107aec(0xb4)](_0x469a69),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2fb9d0='',[TestFrameworkConstants[_0x107aec(0xdc)]]:_0x4016da=''}=_0x397d0a,_0x3fe11b={'platformIndex':'0','logs':_0x2921a4,'testFrameworkName':_0x2fb9d0,'testFrameworkVersion':_0x4016da,'testFrameworkState':_0x51d4fe[_0x107aec(0xa6)]()['split']('.')[0x1]};_0x201d4c[_0x107aec(0xba)](updatePayloadForTraceLogs,_0x3fe11b,_0x5d9e8d,_0x469a69,_0x442dd2),logger['debug'](_0x107aec(0xfe)+_0x469a69+_0x107aec(0xa5)+util[_0x107aec(0x103)](_0x3fe11b));const _0xb7cfda=await GrpcClient['getInstance']()['logCreatedEvent'](_0x3fe11b);}}catch(_0x57a936){logger[_0x107aec(0x69)](_0x107aec(0xac)+util[_0x107aec(0x81)](_0x57a936));}}['createTestFrameworkEventPayload'](_0x32d99b){const _0x10e9fb=a72_0x2ad3a2,_0x291cc6={'pMeoR':function(_0x47ca99,_0x1d61b9,_0x5d2578){return _0x47ca99(_0x1d61b9,_0x5d2578);},'Dbujg':_0x10e9fb(0x124)};try{const _0x468c99=_0x32d99b[_0x10e9fb(0xe3)]['id'],_0x1c020b=_0x291cc6['pMeoR'](getTestRunIdentifier,_0x32d99b[_0x10e9fb(0xe3)],_0x32d99b[_0x10e9fb(0x89)]['retry']),_0x52f045=_0x32d99b['instance'],_0x1cfd97=_0x52f045['getContext'](),_0x4e5f84=_0x52f045[_0x10e9fb(0x91)]()[_0x10e9fb(0xb4)](_0x1c020b);logger[_0x10e9fb(0x138)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x468c99);const {[TestFrameworkConstants[_0x10e9fb(0xb2)]]:_0x4d3cb3='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x24b779='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4c1896='',[TestFrameworkConstants[_0x10e9fb(0xd2)]]:_0x4f5ce0=''}=_0x4e5f84,_0x3945d4=_0x52f045[_0x10e9fb(0x9e)]()[_0x10e9fb(0xa6)]()['split']('.')[0x1],_0x182e6c=_0x52f045[_0x10e9fb(0x122)]()['toString']()[_0x10e9fb(0xfb)]('.')[0x1],_0x5b60a9=global?.[_0x10e9fb(0xd9)]?.[_0x10e9fb(0x155)]?.[_0x10e9fb(0x10f)],_0x1c0bf6=_0x52f045[_0x10e9fb(0x136)](),_0x4c54=Buffer['from'](JSON[_0x10e9fb(0xff)](_0x4e5f84))[_0x10e9fb(0xa6)](_0x291cc6[_0x10e9fb(0xeb)]),_0x3828e2={'hash':_0x1cfd97[_0x10e9fb(0x127)](),'threadId':_0x1cfd97[_0x10e9fb(0x98)]()[_0x10e9fb(0xa6)](),'processId':_0x1cfd97[_0x10e9fb(0x104)]()['toString']()},_0x21134f={};_0x21134f[_0x10e9fb(0x97)]=_0x5b60a9,_0x21134f[_0x10e9fb(0x142)]=_0x4d3cb3,_0x21134f['testFrameworkVersion']=_0x24b779,_0x21134f[_0x10e9fb(0x148)]=_0x3945d4,_0x21134f[_0x10e9fb(0xc3)]=_0x182e6c,_0x21134f[_0x10e9fb(0x107)]=_0x4c1896,_0x21134f[_0x10e9fb(0x158)]=_0x4f5ce0,_0x21134f[_0x10e9fb(0xed)]=_0x1c0bf6,_0x21134f[_0x10e9fb(0x8f)]=_0x4c54,_0x21134f[_0x10e9fb(0x9f)]=_0x3828e2;const _0x29d31c=_0x21134f;return logger[_0x10e9fb(0x138)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x468c99+_0x10e9fb(0xc4)+_0x3945d4+_0x10e9fb(0x12c)+_0x182e6c),_0x29d31c;}catch(_0x136708){return logger[_0x10e9fb(0x69)](_0x10e9fb(0x10c)+util[_0x10e9fb(0x81)](_0x136708)),{};}}}module[a72_0x2ad3a2(0x14f)]=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_0xf56f23=a73_0x2af7;(function(_0x5091f0,_0x5aaff5){const _0x207f34=a73_0x2af7,_0x3e5c29=_0x5091f0();while(!![]){try{const _0x4e5ff7=parseInt(_0x207f34(0xa2))/0x1*(parseInt(_0x207f34(0x90))/0x2)+-parseInt(_0x207f34(0x9e))/0x3+-parseInt(_0x207f34(0xac))/0x4*(parseInt(_0x207f34(0xa4))/0x5)+-parseInt(_0x207f34(0x93))/0x6*(-parseInt(_0x207f34(0x9c))/0x7)+-parseInt(_0x207f34(0x92))/0x8+-parseInt(_0x207f34(0x8e))/0x9+parseInt(_0x207f34(0xad))/0xa*(parseInt(_0x207f34(0x9d))/0xb);if(_0x4e5ff7===_0x5aaff5)break;else _0x3e5c29['push'](_0x3e5c29['shift']());}catch(_0x5c9f40){_0x3e5c29['push'](_0x3e5c29['shift']());}}}(a73_0x498e,0x5cdee));const CLIUtils=require(a73_0xf56f23(0x9a)),eventDispatcher=require(a73_0xf56f23(0x9b)),TestFrameworkInstance=require(a73_0xf56f23(0x97)),TrackedContext=require(a73_0xf56f23(0x86)),TestFrameworkState=require(a73_0xf56f23(0x85)),HookState=require(a73_0xf56f23(0x87)),{createClassLogger}=require('../../../helpers/classLogger'),TrackedInstance=require(a73_0xf56f23(0xa0)),logger=createClassLogger(a73_0xf56f23(0x8b));function a73_0x498e(){const _0x106792=['../instances/testFrameworkInstance','getInstances','getState','../cliUtils','../eventDispatcher','14avAhZL','1407967dGVHvp','2194944siLrYX','createContext','../instances/trackedInstance','getAllData','417wyWrMO','setCurrentTestState','21150CGCDQw','has','instances','trackEvent','exports','getCurrentInstanceName','setState','hasState','632EwkXhi','190kuOjyk','getTestFrameworks','getTrackedInstance','set','testFrameworks','../state/testFrameworkState','../instances/trackedContext','../state/hookState','get','notifyObserver','binSessionId','TestFramework','testFrameworkVersions','getHookRegistryKey','676971MmAWlR','getId','648VJXeAK','getTestFrameworksVersions','5854944hufqUR','61266eTPaCv','registerObserver',';\x20hookState=','setTrackedInstance'];a73_0x498e=function(){return _0x106792;};return a73_0x498e();}class TestFramework{static [a73_0xf56f23(0xa6)]=new Map();['testFrameworks']=[];[a73_0xf56f23(0x8c)]={};[a73_0xf56f23(0x8a)]=null;constructor(_0x49f8d5,_0x239dca,_0x4faffa){const _0x4be26f=a73_0xf56f23;this[_0x4be26f(0x84)]=_0x49f8d5,this[_0x4be26f(0x8c)]=_0x239dca,this[_0x4be26f(0x8a)]=_0x4faffa;}[a73_0xf56f23(0x98)](){return TestFramework['instances'];}['setInstance'](_0xa6e01a,_0x4e3cba){const _0x321434=a73_0xf56f23;TestFramework[_0x321434(0xa6)][_0x321434(0x83)](_0xa6e01a[_0x321434(0x8f)],_0x4e3cba);}static[a73_0xf56f23(0xaf)](){const _0x47aa8e=a73_0xf56f23,_0xc6de28=TrackedInstance[_0x47aa8e(0x9f)](CLIUtils[_0x47aa8e(0xa9)]());return TestFramework[_0x47aa8e(0xa6)][_0x47aa8e(0x88)](_0xc6de28[_0x47aa8e(0x8f)]());}static[a73_0xf56f23(0x96)](_0x5ddc5f,_0x46b455){const _0xa6eb2e=a73_0xf56f23;TestFramework['instances'][_0xa6eb2e(0x83)](_0x5ddc5f[_0xa6eb2e(0x8f)](),_0x46b455);}[a73_0xf56f23(0x91)](){const _0x3d5e8c=a73_0xf56f23;return this[_0x3d5e8c(0x8c)];}[a73_0xf56f23(0xae)](){const _0x3b8b7b=a73_0xf56f23;return this[_0x3b8b7b(0x84)];}[a73_0xf56f23(0xa7)](_0x2658ca,_0x696343,_0x24e7a7={}){const _0x262720=a73_0xf56f23;logger['debug']('trackEvent:\x20testFrameworkState='+_0x2658ca+_0x262720(0x95)+_0x696343);}async['runHooks'](_0x30d5d4,_0x85bcf1,_0x32307e,_0x2ef5fc={}){const _0x5aae62=a73_0xf56f23,_0x1d7215=CLIUtils[_0x5aae62(0x8d)](_0x85bcf1,_0x32307e);_0x30d5d4[_0x5aae62(0xa3)](_0x85bcf1),_0x30d5d4['setCurrentHookState'](_0x32307e),await eventDispatcher[_0x5aae62(0x89)](_0x1d7215,_0x2ef5fc);}static[a73_0xf56f23(0x94)](_0x43f8a0,_0x7a4266,_0x24c169){const _0x5befe7=a73_0xf56f23;eventDispatcher['registerObserver'](CLIUtils[_0x5befe7(0x8d)](_0x43f8a0,_0x7a4266),_0x24c169);}static[a73_0xf56f23(0x99)](_0x3d44e8,_0x131837){const _0x225f25=a73_0xf56f23;return _0x3d44e8[_0x225f25(0xa1)]()[_0x225f25(0x88)](_0x131837);}static[a73_0xf56f23(0xaa)](_0x22848,_0x2723ed,_0x639bac){const _0x85566b=a73_0xf56f23;_0x22848[_0x85566b(0xa1)]()[_0x85566b(0x83)](_0x2723ed,_0x639bac);}static[a73_0xf56f23(0xab)](_0x22c436,_0x5b4211){const _0x5c0aef=a73_0xf56f23;return _0x22c436['getAllData']()[_0x5c0aef(0xa5)](_0x5b4211);}}function a73_0x2af7(_0x24b093,_0xa8cde5){const _0x498e07=a73_0x498e();return a73_0x2af7=function(_0x2af76a,_0x55a052){_0x2af76a=_0x2af76a-0x83;let _0x1d8d54=_0x498e07[_0x2af76a];return _0x1d8d54;},a73_0x2af7(_0x24b093,_0xa8cde5);}module[a73_0xf56f23(0xa8)]=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_0x1101(_0x53ba42,_0x13e3c6){const _0x1626ac=a74_0x1626();return a74_0x1101=function(_0x110199,_0x17f1cc){_0x110199=_0x110199-0x17a;let _0x5cbd2b=_0x1626ac[_0x110199];return _0x5cbd2b;},a74_0x1101(_0x53ba42,_0x13e3c6);}const a74_0x432480=a74_0x1101;(function(_0x4c30ca,_0x3f4a70){const _0x28767c=a74_0x1101,_0x5b3320=_0x4c30ca();while(!![]){try{const _0xf24f7c=-parseInt(_0x28767c(0x213))/0x1*(parseInt(_0x28767c(0x1ce))/0x2)+-parseInt(_0x28767c(0x1b5))/0x3*(parseInt(_0x28767c(0x202))/0x4)+parseInt(_0x28767c(0x265))/0x5*(parseInt(_0x28767c(0x17c))/0x6)+-parseInt(_0x28767c(0x268))/0x7*(-parseInt(_0x28767c(0x1f2))/0x8)+-parseInt(_0x28767c(0x247))/0x9+parseInt(_0x28767c(0x1b0))/0xa*(-parseInt(_0x28767c(0x24d))/0xb)+parseInt(_0x28767c(0x1b2))/0xc;if(_0xf24f7c===_0x3f4a70)break;else _0x5b3320['push'](_0x5b3320['shift']());}catch(_0x237c68){_0x5b3320['push'](_0x5b3320['shift']());}}}(a74_0x1626,0x31fb0));function a74_0x1626(){const _0x59b052=['Error\x20in\x20TestFrameworkEvent:\x20','hash','rFqqD','setPathConfig','yMxKm','uBnJv','setRef','addAutomationSessions','push','browserstack.yml','getAggregatedClientTroubleshootingErrors','setKind','attachment_type','BROWSERSTACK_CONFIG_FILE_PATH','client','LogCreatedEventRequest','error','kwqtP','RPDlm','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','setExitSignal','processId','../../helpers/performance/constants','Pfttp','setFrameworkName','setLevel','dlZou','aijVd','Sending\x20LogCreatedEvent','pgGsv','Error\x20in\x20getPlaywrightConfig:\x20','NLWNl','setFileName','test_run_uuid','SLzqJ','1723077IXErcv','null','end','setTestFramework','TestFrameworkEvent\x20request\x20successful','cBAEj','220ABsWdR','setAttachmentType','slice','driverInit','listenAddress','AccessibilityConfig\x20error:\x20','Error\x20in\x20startBinSession:\x20','launchcaps','SbNpN','reportClientTroubleshootingError','bfkjz','CwvLq','Reporting\x20ClientTroubleshootingError\x20','FTwkM','level','getSuccess','dKWwr','info','getTestFrameworkDetail','path','DriverInit\x20request\x20successful','xEUPK','vqiFt','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','868915LGAvlT','AccessibilityConfig\x20request\x20successful','Sending\x20DriverInit','7iVzCBD','CgjOi','exports','vNSge','wtUFp','PlaywrightConfigRequest','version','StopBinSessionRequest','entries','BROWSERSTACK_CLI_BIN_SESSION_ID','setProvider','PHKEw','TestSessionEvent\x20request\x20successful','name','credentials','gWIac','cwd','setSdkVersion','frameworkVersion','IvEAy','setUserInputParams','argv','Connecting\x20bin\x20session','resolve','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','LogEntry','No\x20gRPC\x20client\x20not\x20initialized.','binSessionId','\x20listenAddr:\x20','stringify','\x22accessKey\x22:\x22[REDACTED]\x22','AutomationSession','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','VjFQG','6oXGPRj','HVCeC','channel','SDKClient','testFrameworkState','./cliUtils.js','setEventJson','TixpX','getSdkVersion','Error\x20in\x20ReportClientTroubleshootingError:\x20','Stopping\x20bin\x20session','VbxkH','ConnectBinSession\x20successful','wTocE','init','winstonLogger','setFrameworksList','ExecutionContext','NIVTR','provider','Getting\x20Accessibility\x20config','\x22key\x22:\x22[REDACTED]\x22','ReportClientTroubleshootingError\x20successful','YCLEC','setUuid','PlaywrightConfig\x20request\x20successful','getInstance','setMessage','testFrameworkEvent','utf-8','setCustomMetadata','pWYVN','Getting\x20AggregatedClientTroubleshootingErrors','setHash','logger','testFrameworkName','setHubUrl','Error\x20in\x20DriverInit:\x20','frameworkName','Missing\x20binSessionId','Stopping\x20signal\x20','KZolj','setConfig',',\x20scriptName=','getClient','HsTBA','addFrameworks','setBinSessionId','replace','Error\x20in\x20TestSessionEvent:\x20','DriverInit\x20error:\x20','fxEUV','77320qmDqVt','createInsecure','4622412ElnPHk','Error\x20in\x20stopBinSession:\x20','POEjp','4818neWSxk','mWpLw','grpc.keepalive_time_ms','hRRgp','SDK_AUTOMATION_FRAMEWORK_INIT','fileName','DoDDV','setFrameworkSessionId','getPlaywrightConfig','DWNxH','setProcessId','xpeoL','connect','GrpcClient','SDK_START_BIN_SESSION','DriverInitRequest','gPZrf','cHsHr','util','Error\x20in\x20getAccessibilityConfig:\x20','setLanguage','setTestFrameworkName','setTestFrameworkVersion','format','TestSessionEventRequest','223864XHrFcX','No\x20gRPC\x20client\x20initialized.','wlmbz','start','LwYsZ','Connected\x20to\x20gRPC\x20server\x20at\x20','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','setCliArgs:\x20cliArgs=','logCreatedEvent','nNZtZ','xHaLx','hubUrl','setPlatformIndex','QscYq','EWgnN','getBrowserstackCliConfig','StartBinSessionRequest','NWhSn','ref','AStPH','message','setProduct','testSessionEvent','@grpc/grpc-js','XOaJk','encode','getSdkLanguage','cbxvv','kKCdT','phUcV','stopBinSession','FetchDriverExecuteParamsEventRequest','filePath','Channel','TestSessionEvent\x20error:\x20','setFrameworkVersion','1832232jWEhdi','ConnectBinSessionRequest','Getting\x20Playwright\x20config','from','mVDcG','forEach','setEndedAt','../../helpers/logger.js','VQYLW','env','kind','wgLGa','Error\x20in\x20connectBinSession:\x20','../../helpers/performance/performance-tester.js','../../../generated/sdk-messages_pb','GetAggregatedClientTroubleshootingErrorsRequest','312BXgHuS','./browserstackCLI.js','iOfNk','setCapabilities','gyaQG','yMYch','testFrameworkVersion','setScriptName','setTestHookState','threadId','playwrightConfig','TeHeF','\x22userName\x22:\x22[REDACTED]\x22','\x20and\x20listen\x20address:\x20','LogCreatedEvent\x20request\x20successful','fetchDriverExecuteParamsEvent','fScuA','1GjFubN','WhNBB','setExecutionContext','debug','setExitCode','set','KWHGa','setErrorKey','eDAJe','OxGgd','getAutomationFrameworkDetail','ConnectBinSession\x20error:\x20','SDK_CLI_ON_STOP','StopBinSession\x20error:\x20','setTestFrameworkState','SDK_CONNECT_BIN_SESSION','Sending\x20TestFrameworkEvent'];a74_0x1626=function(){return _0x59b052;};return a74_0x1626();}const util=require(a74_0x432480(0x1c7)),logger=require(a74_0x432480(0x1f9))[a74_0x432480(0x18b)],grpc=require(a74_0x432480(0x1e5)),services=require('../../../generated/sdk_grpc_pb'),messages=require(a74_0x432480(0x200)),path=require(a74_0x432480(0x260)),CLIUtils=require(a74_0x432480(0x181)),{createClassLogger}=require('../../helpers/classLogger.js'),PerformanceTester=require(a74_0x432480(0x1ff)),{EVENTS:PerformanceEvents}=require(a74_0x432480(0x23a)),{PLAYWRIGHT_TRACE_LOGS}=require('../utils/constants'),helper=require('../../helpers/helper.js');class GrpcClient{static #instance=null;['binSessionId']=null;[a74_0x432480(0x251)]=null;[a74_0x432480(0x17e)]=null;[a74_0x432480(0x232)]=null;[a74_0x432480(0x19e)]=createClassLogger(a74_0x432480(0x1c2));constructor(){}static[a74_0x432480(0x196)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a74_0x432480(0x18a)](_0x546405){const _0x510c20=a74_0x432480,_0x16a497={};_0x16a497[_0x510c20(0x207)]=function(_0x532398,_0x476f8e){return _0x532398||_0x476f8e;};const _0x20c067=_0x16a497,{id:_0x4ea694,listen:_0x3bf857}=_0x546405;if(_0x20c067['yMYch'](!_0x4ea694,!_0x3bf857))throw new Error('Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20'+_0x4ea694+_0x510c20(0x284)+_0x3bf857);this['binSessionId']=_0x4ea694,this[_0x510c20(0x251)]=_0x3bf857,process[_0x510c20(0x1fb)][_0x510c20(0x271)]=this[_0x510c20(0x283)],process[_0x510c20(0x1fb)][_0x510c20(0x17a)]=this[_0x510c20(0x251)],this[_0x510c20(0x1c1)](),this[_0x510c20(0x19e)][_0x510c20(0x25e)](_0x510c20(0x264)+this['binSessionId']+_0x510c20(0x20f)+this[_0x510c20(0x251)]);}[a74_0x432480(0x1c1)](){const _0xadba51=a74_0x432480,_0x2331f9={};_0x2331f9[_0xadba51(0x1df)]=_0xadba51(0x237);const _0x4f46bd=_0x2331f9;let _0x22abc6=this['listenAddress'];!_0x22abc6&&(_0x22abc6=process[_0xadba51(0x1fb)][_0xadba51(0x17a)]);!this[_0xadba51(0x283)]&&(this[_0xadba51(0x283)]=this[_0xadba51(0x283)]||process[_0xadba51(0x1fb)][_0xadba51(0x271)]);if(!_0x22abc6)throw new Error(_0x4f46bd['NWhSn']);const _0x1be354={};_0x1be354[_0xadba51(0x1b7)]=0x2710,this['channel']=new grpc[(_0xadba51(0x1ef))](_0x22abc6,grpc[_0xadba51(0x276)][_0xadba51(0x1b1)](),_0x1be354),this['client']=new services[(_0xadba51(0x17f))](_0x22abc6,grpc[_0xadba51(0x276)][_0xadba51(0x1b1)]()),this[_0xadba51(0x19e)][_0xadba51(0x25e)](_0xadba51(0x1d3)+_0x22abc6);}async['startBinSession'](){const _0x8fa2cb=a74_0x432480,_0x1b6b69={'HetZM':function(_0x5ab5be,_0xb5b753){return _0x5ab5be!==_0xb5b753;},'FTwkM':function(_0x32e830,_0x1e1bc4){return _0x32e830!==_0x1e1bc4;},'dKWwr':function(_0xe7c39,_0x16c4bf){return _0xe7c39(_0x16c4bf);},'cbxvv':'StartBinSession\x20successful','VzbaV':function(_0x24bd33,_0x27f245){return _0x24bd33(_0x27f245);},'KZolj':'startBinSession:\x20Calling\x20startBinSession','SbNpN':_0x8fa2cb(0x282),'kNlpi':function(_0x4fb8d7,_0x3384fa){return _0x4fb8d7(_0x3384fa);},'cHsHr':_0x8fa2cb(0x203),'vqiFt':function(_0x4a0dd5,_0x24a403){return _0x4a0dd5 instanceof _0x24a403;},'ZWibs':function(_0x14681f,_0x190a71){return _0x14681f===_0x190a71;},'POEjp':'browserstackConfigFile','wTocE':_0x8fa2cb(0x22d),'gPZrf':_0x8fa2cb(0x248),'mWpLw':function(_0x1ad055,_0x1b0bf7){return _0x1ad055||_0x1b0bf7;}};PerformanceTester[_0x8fa2cb(0x1d1)](PerformanceEvents['SDK_START_BIN_SESSION']),this['logger']['info'](_0x1b6b69[_0x8fa2cb(0x1a5)]);try{!this[_0x8fa2cb(0x232)]&&this[_0x8fa2cb(0x19e)][_0x8fa2cb(0x25e)](_0x1b6b69[_0x8fa2cb(0x255)]);const _0x237fd2=CLIUtils[_0x8fa2cb(0x184)](),_0x52a770=CLIUtils[_0x8fa2cb(0x21d)](),_0x5e3bca=CLIUtils[_0x8fa2cb(0x25f)](),_0x4ba837=_0x52a770[_0x8fa2cb(0x275)],_0x66bf3e=_0x52a770['version'],_0x41c878=_0x5e3bca[_0x8fa2cb(0x275)],_0x405c53=_0x5e3bca[_0x8fa2cb(0x26e)]?_0x5e3bca[_0x8fa2cb(0x26e)][_0x41c878]:'',_0x97d3bc=new messages[(_0x8fa2cb(0x1de))]();_0x97d3bc['setBinSessionId'](this[_0x8fa2cb(0x283)]),_0x97d3bc['setSdkLanguage'](CLIUtils[_0x8fa2cb(0x1e8)]()),_0x97d3bc[_0x8fa2cb(0x279)](_0x237fd2),_0x97d3bc['setPathProject'](process[_0x8fa2cb(0x278)]());const _0x139133=_0x97d3bc['getEnvVarsMap']();Object[_0x8fa2cb(0x270)](process['env'])[_0x8fa2cb(0x1f7)](([_0x503dcf,_0x4e56b7])=>{const _0x5cbb5d=_0x8fa2cb;_0x1b6b69['HetZM'](_0x4e56b7,undefined)&&_0x1b6b69[_0x5cbb5d(0x25a)](_0x4e56b7,null)&&_0x139133['set'](_0x503dcf,_0x4e56b7);});const _0x3a7a38=_0x1b6b69['kNlpi'](require,_0x1b6b69[_0x8fa2cb(0x1c6)]),_0x1eadf1=_0x3a7a38[_0x8fa2cb(0x196)]()[_0x8fa2cb(0x1dd)](),_0x4aa63b=[];_0x1eadf1&&_0x1b6b69[_0x8fa2cb(0x263)](_0x1eadf1,Map)&&_0x1eadf1[_0x8fa2cb(0x1f7)]((_0x55abe2,_0x109e97)=>{const _0x4f7edd=_0x8fa2cb;_0x4aa63b[_0x4f7edd(0x22c)](_0x109e97+'='+_0x55abe2);});const _0x5df6b3=process[_0x8fa2cb(0x27d)][_0x8fa2cb(0x24f)](0x2);_0x97d3bc['setCliArgsList']([..._0x5df6b3,..._0x4aa63b]);let _0x52e028=null;if(_0x1eadf1)for(const [_0x3cde35,_0x46123a]of _0x1eadf1){if(_0x1b6b69['ZWibs'](_0x3cde35,_0x1b6b69[_0x8fa2cb(0x1b4)])){_0x52e028=_0x46123a;break;}}if(_0x52e028)_0x97d3bc['setPathConfig'](_0x52e028);else process[_0x8fa2cb(0x1fb)]['BROWSERSTACK_CONFIG_FILE_PATH']?_0x97d3bc[_0x8fa2cb(0x227)](process[_0x8fa2cb(0x1fb)][_0x8fa2cb(0x231)]):_0x97d3bc[_0x8fa2cb(0x227)](path[_0x8fa2cb(0x27f)](process[_0x8fa2cb(0x278)](),_0x1b6b69[_0x8fa2cb(0x189)]));this[_0x8fa2cb(0x19e)]['info'](_0x8fa2cb(0x1d5)+JSON[_0x8fa2cb(0x285)](_0x5df6b3)+',\x20parsedConfig='+(_0x1eadf1?JSON[_0x8fa2cb(0x285)]([..._0x1eadf1]):_0x1b6b69[_0x8fa2cb(0x1c5)])),_0x97d3bc[_0x8fa2cb(0x1c9)](CLIUtils[_0x8fa2cb(0x1e8)]()),_0x97d3bc[_0x8fa2cb(0x24a)](_0x41c878);const _0x9dc49e=_0x97d3bc['getFrameworkVersionsMap']();return _0x9dc49e[_0x8fa2cb(0x218)](_0x4ba837,_0x1b6b69[_0x8fa2cb(0x1b6)](_0x66bf3e,'')),_0x9dc49e[_0x8fa2cb(0x218)](_0x41c878,_0x1b6b69[_0x8fa2cb(0x1b6)](_0x405c53,'')),_0x97d3bc[_0x8fa2cb(0x1aa)](_0x4ba837,_0x66bf3e),_0x97d3bc[_0x8fa2cb(0x1aa)](_0x41c878,_0x405c53),_0x97d3bc[_0x8fa2cb(0x18c)]([_0x41c878,_0x4ba837]),new Promise((_0x57a779,_0x293630)=>{const _0x4c8557=_0x8fa2cb;this[_0x4c8557(0x232)]['startBinSession'](_0x97d3bc,(_0x847304,_0x360e86)=>{const _0x3affca=_0x4c8557;if(_0x847304){this[_0x3affca(0x19e)][_0x3affca(0x234)]('StartBinSession\x20error:\x20'+_0x847304['message']),_0x1b6b69[_0x3affca(0x25d)](_0x293630,_0x847304),PerformanceTester[_0x3affca(0x249)](PerformanceEvents[_0x3affca(0x1c3)],![],util['format'](_0x847304));return;}this['logger'][_0x3affca(0x25e)](_0x1b6b69[_0x3affca(0x1e9)]),PerformanceTester[_0x3affca(0x249)](PerformanceEvents[_0x3affca(0x1c3)]),_0x1b6b69['VzbaV'](_0x57a779,_0x360e86);});});}catch(_0x447c3c){this[_0x8fa2cb(0x19e)]['error'](_0x8fa2cb(0x253)+util['format'](_0x447c3c)),PerformanceTester[_0x8fa2cb(0x249)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x8fa2cb(0x1cc)](_0x447c3c));throw _0x447c3c;}}async['connectBinSession'](){const _0x3ba4f6=a74_0x432480,_0x2d9004={'VQYLW':function(_0x5c5c47,_0x31ee56){return _0x5c5c47(_0x31ee56);},'VbxkH':_0x3ba4f6(0x188),'DWNxH':_0x3ba4f6(0x27e),'XOaJk':'No\x20gRPC\x20client\x20not\x20initialized.','AStPH':_0x3ba4f6(0x20e),'uHMoB':_0x3ba4f6(0x286),'Pfttp':_0x3ba4f6(0x191)};PerformanceTester[_0x3ba4f6(0x1d1)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),this['logger'][_0x3ba4f6(0x25e)](_0x2d9004[_0x3ba4f6(0x1be)]);try{!this[_0x3ba4f6(0x232)]&&this[_0x3ba4f6(0x19e)][_0x3ba4f6(0x25e)](_0x2d9004[_0x3ba4f6(0x1e6)]);const _0x175e32=new messages[(_0x3ba4f6(0x1f3))]();_0x175e32[_0x3ba4f6(0x1ab)](this[_0x3ba4f6(0x283)]);const _0x1efd34=await new Promise((_0x399d65,_0x4c4cd4)=>{const _0x127404=_0x3ba4f6;this[_0x127404(0x232)]['connectBinSession'](_0x175e32,(_0x49b7a8,_0x3b66d5)=>{const _0x2f1d80=_0x127404;if(_0x49b7a8){this[_0x2f1d80(0x19e)]['error'](_0x2f1d80(0x21e)+_0x49b7a8['message']),_0x2d9004[_0x2f1d80(0x1fa)](_0x4c4cd4,_0x49b7a8),PerformanceTester[_0x2f1d80(0x249)](PerformanceEvents[_0x2f1d80(0x222)],![],util['format'](_0x49b7a8));return;}this[_0x2f1d80(0x19e)][_0x2f1d80(0x25e)](_0x2d9004[_0x2f1d80(0x187)]),PerformanceTester[_0x2f1d80(0x249)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),_0x2d9004[_0x2f1d80(0x1fa)](_0x399d65,_0x3b66d5);});}),_0x3fe9a1=util[_0x3ba4f6(0x1cc)](_0x1efd34)[_0x3ba4f6(0x1ac)](/"userName":"[^"]*"/g,_0x2d9004[_0x3ba4f6(0x1e1)])[_0x3ba4f6(0x1ac)](/"accessKey":"[^"]*"/g,_0x2d9004['uHMoB'])[_0x3ba4f6(0x1ac)](/"key":"[^"]*"/g,_0x2d9004[_0x3ba4f6(0x23b)]);return this[_0x3ba4f6(0x19e)][_0x3ba4f6(0x216)]('connect-bin-session\x20response:\x20'+_0x3fe9a1),_0x1efd34;}catch(_0x3cda77){PerformanceTester[_0x3ba4f6(0x249)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x3ba4f6(0x1cc)](_0x3cda77)),this[_0x3ba4f6(0x19e)][_0x3ba4f6(0x234)](_0x3ba4f6(0x1fe)+util[_0x3ba4f6(0x1cc)](_0x3cda77));throw _0x3cda77;}}async['stopBinSession'](_0x2d2394={},_0x2f8324=null){const _0x25efd4=a74_0x432480,_0x38d219={'bfkjz':function(_0x1e7177,_0x5eea){return _0x1e7177(_0x5eea);},'CgjOi':'StopBinSession\x20successful','aijVd':_0x25efd4(0x186),'WhNBB':_0x25efd4(0x1a3),'SLzqJ':_0x25efd4(0x282),'QscYq':'user_killed'};PerformanceTester['start'](PerformanceEvents[_0x25efd4(0x21f)]),this[_0x25efd4(0x19e)][_0x25efd4(0x25e)](_0x38d219[_0x25efd4(0x23f)]);try{if(!this[_0x25efd4(0x283)])throw new Error(_0x38d219[_0x25efd4(0x214)]);!this[_0x25efd4(0x232)]&&this[_0x25efd4(0x19e)][_0x25efd4(0x25e)](_0x38d219[_0x25efd4(0x246)]);const _0x26985e=new messages[(_0x25efd4(0x26f))]();this[_0x25efd4(0x19e)][_0x25efd4(0x216)](_0x25efd4(0x1a4)+JSON[_0x25efd4(0x285)](_0x2f8324)),_0x26985e[_0x25efd4(0x1ab)](this[_0x25efd4(0x283)]),_0x26985e[_0x25efd4(0x19a)](_0x2d2394),_0x26985e[_0x25efd4(0x238)](_0x2f8324?_0x2f8324:null),_0x26985e['setExitReason'](_0x2f8324?_0x38d219[_0x25efd4(0x1db)]:null),_0x26985e[_0x25efd4(0x217)](_0x2f8324?0x1:0x0);const _0x329815=await new Promise((_0x24d710,_0x1f445a)=>{const _0x5284de=_0x25efd4,_0xef0a43={'gyaQG':function(_0x1e755a,_0x56d671){const _0x4bdfc7=a74_0x1101;return _0x38d219[_0x4bdfc7(0x257)](_0x1e755a,_0x56d671);},'iOfNk':_0x38d219[_0x5284de(0x269)]};this[_0x5284de(0x232)][_0x5284de(0x1ec)](_0x26985e,(_0x4276d6,_0x2e640a)=>{const _0x2bc830=_0x5284de;if(_0x4276d6){this[_0x2bc830(0x19e)][_0x2bc830(0x234)](_0x2bc830(0x220)+_0x4276d6[_0x2bc830(0x1e2)]),_0xef0a43[_0x2bc830(0x206)](_0x1f445a,_0x4276d6),PerformanceTester[_0x2bc830(0x249)](PerformanceEvents[_0x2bc830(0x21f)],![],util['format'](_0x4276d6));return;}this[_0x2bc830(0x19e)][_0x2bc830(0x25e)](_0xef0a43[_0x2bc830(0x204)]),PerformanceTester['end'](PerformanceEvents[_0x2bc830(0x21f)]),_0xef0a43[_0x2bc830(0x206)](_0x24d710,_0x2e640a);});});return this[_0x25efd4(0x19e)][_0x25efd4(0x216)]('stop-bin-session\x20response:\x20'+util[_0x25efd4(0x1cc)](_0x329815)),_0x329815;}catch(_0x1539b1){PerformanceTester[_0x25efd4(0x249)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util['format'](_0x1539b1)),this['logger'][_0x25efd4(0x234)](_0x25efd4(0x1b3)+util['format'](_0x1539b1));}}async[a74_0x432480(0x1bd)](_0x25db32){const _0x594cfe=a74_0x432480,_0x362c4f={'pWYVN':function(_0x26d61d,_0x234ce6){return _0x26d61d(_0x234ce6);},'bVYXM':_0x594cfe(0x195),'DoDDV':_0x594cfe(0x1f4),'kKCdT':'No\x20gRPC\x20client\x20not\x20initialized.'};PerformanceTester[_0x594cfe(0x1d1)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),this[_0x594cfe(0x19e)][_0x594cfe(0x25e)](_0x362c4f[_0x594cfe(0x1bb)]);try{!this[_0x594cfe(0x232)]&&this[_0x594cfe(0x19e)][_0x594cfe(0x25e)](_0x362c4f[_0x594cfe(0x1ea)]);const _0x5231f1=new messages[(_0x594cfe(0x26d))]();return _0x5231f1[_0x594cfe(0x1ab)](this[_0x594cfe(0x283)]),_0x5231f1[_0x594cfe(0x1a6)](JSON['stringify'](_0x25db32)),new Promise((_0x3f1caf,_0x274162)=>{const _0x2fcb5c=_0x594cfe,_0x5b4e27={'vNSge':function(_0x4ebdfc,_0x178ac6){const _0x219922=a74_0x1101;return _0x362c4f[_0x219922(0x19b)](_0x4ebdfc,_0x178ac6);},'YCLEC':_0x362c4f['bVYXM']};this[_0x2fcb5c(0x232)][_0x2fcb5c(0x20c)](_0x5231f1,(_0x192e32,_0x34b353)=>{const _0x567f70=_0x2fcb5c;if(_0x192e32){this[_0x567f70(0x19e)]['error']('PlaywrightConfig\x20error:\x20'+_0x192e32[_0x567f70(0x1e2)]),_0x5b4e27[_0x567f70(0x26b)](_0x274162,_0x192e32),PerformanceTester[_0x567f70(0x249)](PerformanceEvents[_0x567f70(0x1b9)],![],util[_0x567f70(0x1cc)](_0x192e32));return;}this[_0x567f70(0x19e)][_0x567f70(0x25e)](_0x5b4e27[_0x567f70(0x193)]),PerformanceTester[_0x567f70(0x249)](PerformanceEvents[_0x567f70(0x1b9)]),_0x5b4e27[_0x567f70(0x26b)](_0x3f1caf,_0x34b353);});});}catch(_0x2f49b3){PerformanceTester[_0x594cfe(0x249)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x594cfe(0x1cc)](_0x2f49b3)),this[_0x594cfe(0x19e)]['error'](_0x594cfe(0x242)+util['format'](_0x2f49b3));throw _0x2f49b3;}}async['getAccessibilityConfig'](_0x2129c9){const _0x2c71a0=a74_0x432480,_0x3a1dc7={'pgGsv':function(_0x265cf1,_0x545962){return _0x265cf1(_0x545962);},'HsTBA':_0x2c71a0(0x266),'OfzFj':_0x2c71a0(0x190),'kwqtP':_0x2c71a0(0x199)};this['logger'][_0x2c71a0(0x25e)](_0x3a1dc7['OfzFj']);try{const _0xee2e7f=Buffer[_0x2c71a0(0x1f5)](JSON[_0x2c71a0(0x285)](_0x2129c9[_0x2c71a0(0x254)]),_0x3a1dc7[_0x2c71a0(0x235)]),_0x32feff=new messages['AccessibilityConfigRequest'](),_0x51f90c=CLIUtils['getAutomationFrameworkDetail'](),_0x2849ac=_0x51f90c[_0x2c71a0(0x275)],_0x42f855=_0x51f90c['version'];return _0x32feff[_0x2c71a0(0x1ab)](this[_0x2c71a0(0x283)]),_0x32feff[_0x2c71a0(0x1da)](0x0),_0x32feff['setFrameworkName'](_0x2849ac),_0x32feff['setFrameworkVersion'](_0x42f855),_0x32feff[_0x2c71a0(0x1a0)](_0x2129c9['hubUrl']),_0x32feff['setCapabilities'](_0xee2e7f),new Promise((_0x12dfbb,_0x449258)=>{const _0x1febd4=_0x2c71a0,_0x434940={'xHaLx':function(_0x11a8d1,_0x4d3329){const _0x19c999=a74_0x1101;return _0x3a1dc7[_0x19c999(0x241)](_0x11a8d1,_0x4d3329);},'NLWNl':_0x3a1dc7[_0x1febd4(0x1a9)]};this[_0x1febd4(0x232)]['accessibilityConfig'](_0x32feff,(_0x43b3bb,_0x3a429f)=>{const _0x5f3fbc=_0x1febd4;if(_0x43b3bb){this[_0x5f3fbc(0x19e)][_0x5f3fbc(0x234)](_0x5f3fbc(0x252)+_0x43b3bb['message']),_0x434940[_0x5f3fbc(0x1d8)](_0x449258,_0x43b3bb);return;}this[_0x5f3fbc(0x19e)][_0x5f3fbc(0x25e)](_0x434940[_0x5f3fbc(0x243)]),_0x434940[_0x5f3fbc(0x1d8)](_0x12dfbb,_0x3a429f);});});}catch(_0x2eeac3){this[_0x2c71a0(0x19e)][_0x2c71a0(0x234)](_0x2c71a0(0x1c8)+util['format'](_0x2eeac3));}}async[a74_0x432480(0x1e4)](_0x5aa22d){const _0xc10880=a74_0x432480,_0xa0ec32={'EnMND':function(_0x33401c,_0x2b3a5a){return _0x33401c(_0x2b3a5a);},'hRRgp':_0xc10880(0x274),'WOCqE':'Sending\x20TestSessionEvent','fScuA':_0xc10880(0x282)};this[_0xc10880(0x19e)][_0xc10880(0x25e)](_0xa0ec32['WOCqE']);try{!this[_0xc10880(0x232)]&&this[_0xc10880(0x19e)][_0xc10880(0x25e)](_0xa0ec32[_0xc10880(0x212)]);const {platformIndex:_0x16ed25,testFrameworkName:_0x419cee,testFrameworkVersion:_0x1798af,testFrameworkState:_0x4f8f30,testHookState:_0x11933e,testUuid:_0x4cb9f1,automationSession:_0xd6ccd5,capabilities:_0x3ec7e5,executionContext:_0x11ac59}=_0x5aa22d,_0xb20aff=new messages[(_0xc10880(0x1cd))]();_0xb20aff['setBinSessionId'](this[_0xc10880(0x283)]),_0xb20aff['setPlatformIndex'](_0x16ed25),_0xb20aff[_0xc10880(0x1ca)](_0x419cee),_0xb20aff['setTestFrameworkVersion'](_0x1798af),_0xb20aff[_0xc10880(0x221)](_0x4f8f30),_0xb20aff['setTestHookState'](_0x11933e),_0xb20aff['setTestUuid'](_0x4cb9f1);const _0x290426=new messages['TestSessionEventRequest'][(_0xc10880(0x287))]();_0x290426[_0xc10880(0x272)](_0xd6ccd5[_0xc10880(0x18f)]),_0x290426[_0xc10880(0x23c)](_0xd6ccd5[_0xc10880(0x1a2)]),_0x290426[_0xc10880(0x1f1)](_0xd6ccd5[_0xc10880(0x27a)]),_0x290426[_0xc10880(0x1bc)](_0xd6ccd5['frameworkSessionId']),_0x290426[_0xc10880(0x22a)](_0xd6ccd5[_0xc10880(0x1e0)]),_0x290426[_0xc10880(0x1a0)](_0xd6ccd5[_0xc10880(0x1d9)]),_0xb20aff[_0xc10880(0x22b)](_0x290426),_0xb20aff[_0xc10880(0x205)](_0x3ec7e5);const _0x1f77df=new messages[(_0xc10880(0x18d))]();return _0x1f77df['setProcessId'](_0x11ac59[_0xc10880(0x239)]),_0x1f77df['setThreadId'](_0x11ac59[_0xc10880(0x20b)]),_0x1f77df[_0xc10880(0x19d)](_0x11ac59[_0xc10880(0x225)]),_0xb20aff[_0xc10880(0x215)](_0x1f77df),new Promise((_0x365c6d,_0x1cd512)=>{const _0x462b1c=_0xc10880,_0x1a7fc6={'IvEAy':function(_0x2d843e,_0x1ad8f0){return _0xa0ec32['EnMND'](_0x2d843e,_0x1ad8f0);},'VjFQG':_0xa0ec32[_0x462b1c(0x1b8)]};this[_0x462b1c(0x232)][_0x462b1c(0x1e4)](_0xb20aff,(_0x2236dc,_0x942261)=>{const _0x2f834b=_0x462b1c;if(_0x2236dc){this['logger'][_0x2f834b(0x234)](_0x2f834b(0x1f0)+_0x2236dc['message']),_0x1a7fc6[_0x2f834b(0x27b)](_0x1cd512,_0x2236dc);return;}this[_0x2f834b(0x19e)][_0x2f834b(0x25e)](_0x1a7fc6[_0x2f834b(0x17b)]),_0x1a7fc6[_0x2f834b(0x27b)](_0x365c6d,_0x942261);});});}catch(_0x7d0ebc){this['logger']['error'](_0xc10880(0x1ad)+util['format'](_0x7d0ebc));throw _0x7d0ebc;}}async['testFrameworkEvent'](_0x53b50){const _0x2d0e91=a74_0x432480,_0x1fc08b={'RPDlm':function(_0x526403,_0x231b67){return _0x526403(_0x231b67);},'dlZou':_0x2d0e91(0x24b),'TeHeF':_0x2d0e91(0x223),'NIVTR':_0x2d0e91(0x282)};this[_0x2d0e91(0x19e)][_0x2d0e91(0x25e)](_0x1fc08b[_0x2d0e91(0x20d)]);try{!this[_0x2d0e91(0x232)]&&this[_0x2d0e91(0x19e)]['info'](_0x1fc08b[_0x2d0e91(0x18e)]);const {platfromIndex:_0x3bdf1b,testFrameworkName:_0x300ca6,testFrameworkVersion:_0x3a555c,testFrameworkState:_0xf348e4,hookState:_0x319ca5,startedAt:_0x2d597f,endedAt:_0x55b927,uuid:_0x5d94f3,eventJson:_0x539a36,executionContext:_0x2164c6}=_0x53b50,_0x56a4d1=new messages['TestFrameworkEventRequest']();_0x56a4d1[_0x2d0e91(0x1ab)](this['binSessionId']),_0x56a4d1['setPlatformIndex'](_0x3bdf1b),_0x56a4d1[_0x2d0e91(0x1ca)](_0x300ca6),_0x56a4d1[_0x2d0e91(0x1cb)](_0x3a555c),_0x56a4d1[_0x2d0e91(0x221)](_0xf348e4),_0x56a4d1[_0x2d0e91(0x20a)](_0x319ca5),_0x56a4d1['setStartedAt'](_0x2d597f),_0x56a4d1[_0x2d0e91(0x1f8)](_0x55b927),_0x56a4d1['setUuid'](_0x5d94f3),_0x56a4d1[_0x2d0e91(0x182)](_0x539a36);const _0x219dd6=new messages['ExecutionContext']();return _0x219dd6[_0x2d0e91(0x1bf)](_0x2164c6[_0x2d0e91(0x239)]),_0x219dd6['setThreadId'](_0x2164c6[_0x2d0e91(0x20b)]),_0x219dd6[_0x2d0e91(0x19d)](_0x2164c6['hash']),_0x56a4d1['setExecutionContext'](_0x219dd6),new Promise((_0x46f134,_0x26c967)=>{const _0x77af02=_0x2d0e91;this[_0x77af02(0x232)][_0x77af02(0x198)](_0x56a4d1,(_0x53b710,_0x352e73)=>{const _0x520a1e=_0x77af02;if(_0x53b710){this[_0x520a1e(0x19e)]['error']('TestFrameworkEvent\x20error:\x20'+_0x53b710[_0x520a1e(0x1e2)]),_0x1fc08b[_0x520a1e(0x236)](_0x26c967,_0x53b710);return;}this['logger'][_0x520a1e(0x25e)](_0x1fc08b[_0x520a1e(0x23e)]),_0x1fc08b[_0x520a1e(0x236)](_0x46f134,_0x352e73);});});}catch(_0x38fc2a){this[_0x2d0e91(0x19e)][_0x2d0e91(0x234)](_0x2d0e91(0x224)+util[_0x2d0e91(0x1cc)](_0x38fc2a));throw _0x38fc2a;}}async['driverInit'](_0x50ccd7){const _0x34d2fe=a74_0x432480,_0x224e53={'yMxKm':function(_0x43603a,_0xb32f66){return _0x43603a(_0xb32f66);},'LwYsZ':_0x34d2fe(0x261),'HVCeC':_0x34d2fe(0x267),'gWIac':_0x34d2fe(0x282)};this[_0x34d2fe(0x19e)][_0x34d2fe(0x25e)](_0x224e53[_0x34d2fe(0x17d)]);try{!this[_0x34d2fe(0x232)]&&this['logger']['info'](_0x224e53[_0x34d2fe(0x277)]);const {platformIndex:_0x4e4df0,ref:_0xb4b83b,userInputParams:_0x14b1a2}=_0x50ccd7,_0x2a7261=new messages[(_0x34d2fe(0x1c4))]();return _0x2a7261['setBinSessionId'](this[_0x34d2fe(0x283)]),_0x2a7261[_0x34d2fe(0x1da)](_0x4e4df0),_0x2a7261[_0x34d2fe(0x22a)](_0xb4b83b),_0x2a7261[_0x34d2fe(0x27c)](_0x14b1a2),new Promise((_0x1fbcc8,_0x2888a9)=>{const _0x169472=_0x34d2fe,_0x2b7771={'GzWRe':function(_0x3f6561,_0x3cab98){return _0x224e53['yMxKm'](_0x3f6561,_0x3cab98);},'PHKEw':_0x224e53[_0x169472(0x1d2)],'KWHGa':function(_0x53b77d,_0x3e0220){const _0x2abca6=_0x169472;return _0x224e53[_0x2abca6(0x228)](_0x53b77d,_0x3e0220);}};this[_0x169472(0x232)][_0x169472(0x250)](_0x2a7261,(_0x46d79a,_0x212bbd)=>{const _0x47878e=_0x169472;if(_0x46d79a){this[_0x47878e(0x19e)][_0x47878e(0x234)](_0x47878e(0x1ae)+_0x46d79a['message']),_0x2b7771['GzWRe'](_0x2888a9,_0x46d79a);return;}this['logger'][_0x47878e(0x25e)](_0x2b7771[_0x47878e(0x273)]),_0x2b7771[_0x47878e(0x219)](_0x1fbcc8,_0x212bbd);});});}catch(_0x271dce){this[_0x34d2fe(0x19e)][_0x34d2fe(0x234)](_0x34d2fe(0x1a1)+util[_0x34d2fe(0x1cc)](_0x271dce));throw _0x271dce;}}async[a74_0x432480(0x1d6)](_0xa6a03){const _0x4cebec=a74_0x432480,_0x336ed1={'OxGgd':function(_0x192afa,_0x25799b){return _0x192afa===_0x25799b;},'phUcV':function(_0x3c9c48,_0x415f1f){return _0x3c9c48(_0x415f1f);},'wgLGa':_0x4cebec(0x210),'wlmbz':_0x4cebec(0x240),'IYRbh':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x4cebec(0x19e)][_0x4cebec(0x25e)](_0x336ed1[_0x4cebec(0x1d0)]);try{!this[_0x4cebec(0x232)]&&this[_0x4cebec(0x19e)][_0x4cebec(0x25e)](_0x336ed1['IYRbh']);const {platformIndex:_0x248f76,logs:_0x493c39}=_0xa6a03,_0x348944=new messages['LogCreatedEventRequest']();_0x348944[_0x4cebec(0x1ab)](this[_0x4cebec(0x283)]),_0x348944['setPlatformIndex'](_0x248f76);const _0x9c9eab=_0xa6a03[_0x4cebec(0x19f)],_0x1eb681=_0xa6a03[_0x4cebec(0x208)],_0x4d0c19=_0xa6a03[_0x4cebec(0x180)];return _0x493c39[_0x4cebec(0x1f7)](_0x2d6377=>{const _0x398e29=_0x4cebec,_0x4c351e=new messages[(_0x398e29(0x233))][(_0x398e29(0x281))]();_0x4c351e[_0x398e29(0x1ca)](_0x9c9eab),_0x4c351e[_0x398e29(0x1cb)](_0x1eb681),_0x4c351e['setTestFrameworkState'](_0x4d0c19),_0x4c351e['setTimestamp'](_0x2d6377['timestamp']),_0x4c351e[_0x398e29(0x194)](_0x2d6377['uuid']),_0x4c351e[_0x398e29(0x22f)](_0x2d6377[_0x398e29(0x1fc)]),_0x336ed1[_0x398e29(0x21c)](_0x2d6377['attachment_type'],PLAYWRIGHT_TRACE_LOGS)?(_0x4c351e[_0x398e29(0x194)](_0x2d6377[_0x398e29(0x245)]),_0x4c351e[_0x398e29(0x197)](new TextEncoder()['encode'](JSON[_0x398e29(0x285)](_0x2d6377)))):_0x4c351e[_0x398e29(0x197)](new TextEncoder()[_0x398e29(0x1e7)](_0x2d6377[_0x398e29(0x1e2)])),_0x4c351e[_0x398e29(0x23d)](_0x2d6377[_0x398e29(0x25b)]),_0x4c351e[_0x398e29(0x244)](_0x2d6377?.[_0x398e29(0x1ba)]||''),_0x4c351e['setFilePath'](_0x2d6377?.[_0x398e29(0x1ee)]||''),_0x4c351e['setFileSize'](_0x2d6377?.['fileSize']||0x0),_0x4c351e[_0x398e29(0x24e)](_0x2d6377?.[_0x398e29(0x230)]||''),_0x348944['addLogs'](_0x4c351e);}),new Promise((_0x58f794,_0x2a59d6)=>{const _0x531960=_0x4cebec;this['client'][_0x531960(0x1d6)](_0x348944,(_0x4798f5,_0x4be731)=>{const _0x584bdc=_0x531960;if(_0x4798f5){this[_0x584bdc(0x19e)][_0x584bdc(0x234)]('LogCreatedEvent\x20error:\x20'+_0x4798f5['message']),_0x336ed1[_0x584bdc(0x1eb)](_0x2a59d6,_0x4798f5);return;}this[_0x584bdc(0x19e)][_0x584bdc(0x25e)](_0x336ed1[_0x584bdc(0x1fd)]),_0x336ed1['phUcV'](_0x58f794,_0x4be731);});});}catch(_0x32959f){this['logger']['error']('Error\x20in\x20LogCreatedEvent:\x20'+util[_0x4cebec(0x1cc)](_0x32959f));throw _0x32959f;}}async[a74_0x432480(0x211)](_0x5c6824,_0x1699ad,_0x5419c7){const _0x348e0a=a74_0x432480,_0x42564b={'wtUFp':function(_0x2a9c56,_0x3e544f){return _0x2a9c56(_0x3e544f);},'TixpX':_0x348e0a(0x1cf)};this[_0x348e0a(0x19e)][_0x348e0a(0x216)]('FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId='+_0x5c6824+',\x20product='+_0x1699ad+_0x348e0a(0x1a7)+_0x5419c7);try{if(!this['client'])return this[_0x348e0a(0x19e)][_0x348e0a(0x216)](_0x42564b[_0x348e0a(0x183)]),null;const _0x413ed=new messages[(_0x348e0a(0x1ed))]();return _0x413ed['setBinSessionId'](_0x5c6824),_0x413ed[_0x348e0a(0x1e3)](_0x1699ad),_0x413ed[_0x348e0a(0x209)](_0x5419c7),await new Promise(_0x19aa14=>{const _0x278c8a=_0x348e0a,_0x2ea9d9={'jwsyQ':function(_0x103c67,_0x3ff5c9){const _0x228196=a74_0x1101;return _0x42564b[_0x228196(0x26c)](_0x103c67,_0x3ff5c9);},'bMbfm':function(_0x233eaa,_0x1eece5){return _0x42564b['wtUFp'](_0x233eaa,_0x1eece5);}};this['client'][_0x278c8a(0x211)](_0x413ed,(_0xb62baf,_0x4db0e9)=>{const _0x22b786=_0x278c8a;if(_0xb62baf){this['logger'][_0x22b786(0x216)](_0x22b786(0x1d4)+_0xb62baf),_0x2ea9d9['jwsyQ'](_0x19aa14,null);return;}this[_0x22b786(0x19e)][_0x22b786(0x216)]('FetchDriverExecuteParamsEvent\x20successful\x20-\x20success='+(_0x4db0e9['getSuccess']&&_0x4db0e9[_0x22b786(0x25c)]())),_0x2ea9d9['bMbfm'](_0x19aa14,_0x4db0e9);});});}catch(_0x354c7a){return this[_0x348e0a(0x19e)][_0x348e0a(0x216)](_0x348e0a(0x1d4)+_0x354c7a),null;}}async[a74_0x432480(0x256)](_0x21660b){const _0x508f62=a74_0x432480,_0x21b157={'eDAJe':function(_0x2f36f4,_0x37a867){return _0x2f36f4(_0x37a867);},'cBAEj':_0x508f62(0x192),'EWgnN':_0x508f62(0x1cf)};this[_0x508f62(0x19e)][_0x508f62(0x216)](_0x508f62(0x259)+_0x21660b);try{if(!this['client'])return this[_0x508f62(0x19e)][_0x508f62(0x216)](_0x21b157[_0x508f62(0x1dc)]),null;const _0x2848cd=new messages['ReportClientTroubleshootingErrorRequest']();_0x2848cd[_0x508f62(0x1ab)](this[_0x508f62(0x283)]),_0x2848cd[_0x508f62(0x21a)](_0x21660b);const _0x5a6035=await new Promise((_0xcb38ab,_0x3f9e67)=>{const _0x5241f2=_0x508f62,_0x12c4da={'xEUPK':function(_0x5c1f5d,_0x25b121){const _0xcd7aa7=a74_0x1101;return _0x21b157[_0xcd7aa7(0x21b)](_0x5c1f5d,_0x25b121);},'xpeoL':_0x21b157[_0x5241f2(0x24c)]};this[_0x5241f2(0x232)][_0x5241f2(0x256)](_0x2848cd,(_0x2c3814,_0x23350d)=>{const _0x4172f2=_0x5241f2;if(_0x2c3814){this[_0x4172f2(0x19e)][_0x4172f2(0x216)]('Error\x20in\x20ReportClientTroubleshootingError:\x20'+_0x2c3814),_0x12c4da[_0x4172f2(0x262)](_0x3f9e67,_0x2c3814);return;}this[_0x4172f2(0x19e)][_0x4172f2(0x216)](_0x12c4da[_0x4172f2(0x1c0)]),_0x12c4da['xEUPK'](_0xcb38ab,_0x23350d);});});return _0x5a6035;}catch(_0x2aa8d6){return this[_0x508f62(0x19e)][_0x508f62(0x216)](_0x508f62(0x185)+_0x2aa8d6),null;}}async[a74_0x432480(0x22e)](){const _0x565ca6=a74_0x432480,_0x306273={'mVDcG':function(_0x4941da,_0x611e6e){return _0x4941da(_0x611e6e);},'rFqqD':'GetAggregatedClientTroubleshootingErrors\x20successful','uBnJv':_0x565ca6(0x19c),'nNZtZ':_0x565ca6(0x1cf)};this[_0x565ca6(0x19e)][_0x565ca6(0x216)](_0x306273[_0x565ca6(0x229)]);try{if(!this[_0x565ca6(0x232)])return this[_0x565ca6(0x19e)][_0x565ca6(0x216)](_0x306273[_0x565ca6(0x1d7)]),null;const _0x9b317c=new messages[(_0x565ca6(0x201))]();_0x9b317c[_0x565ca6(0x1ab)](this[_0x565ca6(0x283)]);const _0x24eef2=await new Promise((_0x111615,_0x1cbdef)=>{const _0x94417=_0x565ca6,_0x5bc74f={'WuMzj':function(_0xa81b07,_0x4bdbd1){return _0x306273['mVDcG'](_0xa81b07,_0x4bdbd1);},'fxEUV':_0x306273[_0x94417(0x226)],'CwvLq':function(_0x1a86a4,_0x12e4aa){const _0x3f7606=_0x94417;return _0x306273[_0x3f7606(0x1f6)](_0x1a86a4,_0x12e4aa);}};this[_0x94417(0x232)][_0x94417(0x22e)](_0x9b317c,(_0x546532,_0x483fe8)=>{const _0x42a691=_0x94417;if(_0x546532){this['logger'][_0x42a691(0x216)](_0x42a691(0x280)+_0x546532),_0x5bc74f['WuMzj'](_0x1cbdef,_0x546532);return;}this[_0x42a691(0x19e)][_0x42a691(0x216)](_0x5bc74f[_0x42a691(0x1af)]),_0x5bc74f[_0x42a691(0x258)](_0x111615,_0x483fe8);});});return _0x24eef2;}catch(_0x204135){return this[_0x565ca6(0x19e)]['debug'](_0x565ca6(0x280)+_0x204135),null;}}[a74_0x432480(0x1a8)](){const _0x52b5af=a74_0x432480;return this[_0x52b5af(0x232)];}['getChannel'](){const _0x412c36=a74_0x432480;return this[_0x412c36(0x17e)];}}module[a74_0x432480(0x26a)]=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;
@@ -1 +1 @@
1
- const a75_0x70cf4a=a75_0x1b6b;(function(_0x7ff97e,_0x39cd85){const _0x45acf4=a75_0x1b6b,_0x5402e9=_0x7ff97e();while(!![]){try{const _0x1448d6=-parseInt(_0x45acf4(0x188))/0x1*(parseInt(_0x45acf4(0x176))/0x2)+-parseInt(_0x45acf4(0x18a))/0x3+parseInt(_0x45acf4(0x173))/0x4*(-parseInt(_0x45acf4(0x179))/0x5)+-parseInt(_0x45acf4(0x186))/0x6*(-parseInt(_0x45acf4(0x178))/0x7)+parseInt(_0x45acf4(0x17b))/0x8*(parseInt(_0x45acf4(0x175))/0x9)+parseInt(_0x45acf4(0x174))/0xa+-parseInt(_0x45acf4(0x184))/0xb;if(_0x1448d6===_0x39cd85)break;else _0x5402e9['push'](_0x5402e9['shift']());}catch(_0x5f354d){_0x5402e9['push'](_0x5402e9['shift']());}}}(a75_0x5f25,0xc3628));const AutomationFrameworkState=require(a75_0x70cf4a(0x185)),TrackedInstance=require(a75_0x70cf4a(0x189)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x3b8352,_0x1ef691,_0x3fc3bf,_0x48d878){const _0x521e37=a75_0x70cf4a,_0x26bc9b={};_0x26bc9b[_0x521e37(0x177)]=_0x521e37(0x17a);const _0x1b069d=_0x26bc9b,_0x45e3d1=_0x1b069d[_0x521e37(0x177)][_0x521e37(0x180)]('|');let _0x6b94fc=0x0;while(!![]){switch(_0x45e3d1[_0x6b94fc++]){case'0':this[_0x521e37(0x182)]=_0x48d878;continue;case'1':this[_0x521e37(0x187)]=AutomationFrameworkState[_0x521e37(0x17e)];continue;case'2':super(_0x3b8352);continue;case'3':this[_0x521e37(0x181)]=_0x3fc3bf;continue;case'4':this[_0x521e37(0x18b)]=now['toLocaleString']();continue;case'5':this['frameworkName']=_0x1ef691;continue;}break;}}['getFrameworkName'](){const _0x5348e2=a75_0x70cf4a;return this[_0x5348e2(0x183)];}[a75_0x70cf4a(0x17d)](){const _0x576b67=a75_0x70cf4a;return this[_0x576b67(0x181)];}[a75_0x70cf4a(0x17f)](){const _0x5a1413=a75_0x70cf4a;return this[_0x5a1413(0x182)];}[a75_0x70cf4a(0x17c)](_0x2a33b9){const _0x3750d6=a75_0x70cf4a;this[_0x3750d6(0x187)]=this[_0x3750d6(0x182)],this[_0x3750d6(0x182)]=_0x2a33b9;}}function a75_0x1b6b(_0x12fcbe,_0x2deddc){const _0x5f256e=a75_0x5f25();return a75_0x1b6b=function(_0x1b6b8b,_0x2e39c0){_0x1b6b8b=_0x1b6b8b-0x173;let _0xa4dc0f=_0x5f256e[_0x1b6b8b];return _0xa4dc0f;},a75_0x1b6b(_0x12fcbe,_0x2deddc);}module['exports']=AutomationFrameworkInstance;function a75_0x5f25(){const _0x5b2d31=['2422044nQVKXt','createdAt','55852ZevhDo','8357240yVYUvb','9tdssMH','22964Wihnaf','YwJKj','1106FiOFGK','135yfDHuZ','2|5|3|0|1|4','11476984uAQirC','setState','getFrameworkVersion','NONE','getState','split','frameworkVersion','state','frameworkName','8106956ufOXex','../state/automationFrameworkState','55944CkcWDE','lastState','89dpvOpX','./trackedInstance'];a75_0x5f25=function(){return _0x5b2d31;};return a75_0x5f25();}
1
+ function a75_0x9b1a(_0xdc1960,_0x5ce8f4){const _0x5c1742=a75_0x5c17();return a75_0x9b1a=function(_0x9b1a73,_0x21d465){_0x9b1a73=_0x9b1a73-0x98;let _0x172f4d=_0x5c1742[_0x9b1a73];return _0x172f4d;},a75_0x9b1a(_0xdc1960,_0x5ce8f4);}function a75_0x5c17(){const _0x574015=['frameworkName','lastState','0|5|3|1|2|4','getState','exports','944581OBuQvC','1056NsrlAv','1630338uvksib','1325644WJbOQC','state','7SBiEgB','split','frameworkVersion','getFrameworkVersion','RXvsf','toLocaleString','getFrameworkName','1936072MxsrmV','1683166ryuUhh','4187225SLuFiz','setState'];a75_0x5c17=function(){return _0x574015;};return a75_0x5c17();}const a75_0xccebe0=a75_0x9b1a;(function(_0x15a620,_0x8f0712){const _0x446a39=a75_0x9b1a,_0x171a13=_0x15a620();while(!![]){try{const _0x3f4e3d=parseInt(_0x446a39(0xab))/0x1+-parseInt(_0x446a39(0xa3))/0x2+-parseInt(_0x446a39(0x98))/0x3+parseInt(_0x446a39(0x99))/0x4+parseInt(_0x446a39(0xa4))/0x5+-parseInt(_0x446a39(0xac))/0x6+-parseInt(_0x446a39(0x9b))/0x7*(parseInt(_0x446a39(0xa2))/0x8);if(_0x3f4e3d===_0x8f0712)break;else _0x171a13['push'](_0x171a13['shift']());}catch(_0x4253bc){_0x171a13['push'](_0x171a13['shift']());}}}(a75_0x5c17,0x76b4f));const AutomationFrameworkState=require('../state/automationFrameworkState'),TrackedInstance=require('./trackedInstance'),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x4dc73a,_0x7c122f,_0x1f1bcc,_0x27f6c9){const _0x1a79ae=a75_0x9b1a,_0x13798c={};_0x13798c[_0x1a79ae(0x9f)]=_0x1a79ae(0xa8);const _0x240d5c=_0x13798c,_0x214288=_0x240d5c[_0x1a79ae(0x9f)][_0x1a79ae(0x9c)]('|');let _0x472b28=0x0;while(!![]){switch(_0x214288[_0x472b28++]){case'0':super(_0x4dc73a);continue;case'1':this[_0x1a79ae(0x9a)]=_0x27f6c9;continue;case'2':this[_0x1a79ae(0xa7)]=AutomationFrameworkState['NONE'];continue;case'3':this['frameworkVersion']=_0x1f1bcc;continue;case'4':this['createdAt']=now[_0x1a79ae(0xa0)]();continue;case'5':this[_0x1a79ae(0xa6)]=_0x7c122f;continue;}break;}}[a75_0xccebe0(0xa1)](){return this['frameworkName'];}[a75_0xccebe0(0x9e)](){const _0x4d8f7e=a75_0xccebe0;return this[_0x4d8f7e(0x9d)];}[a75_0xccebe0(0xa9)](){const _0x4403a9=a75_0xccebe0;return this[_0x4403a9(0x9a)];}[a75_0xccebe0(0xa5)](_0x2ddb20){const _0x5c771d=a75_0xccebe0;this[_0x5c771d(0xa7)]=this[_0x5c771d(0x9a)],this[_0x5c771d(0x9a)]=_0x2ddb20;}}module[a75_0xccebe0(0xaa)]=AutomationFrameworkInstance;