browserstack-node-sdk 1.50.11 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/generated/sdk-messages_pb.d.ts +12 -0
  41. package/generated/sdk-messages_pb.js +97 -1
  42. package/package.json +1 -1
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test.setup.js +1 -1
  69. package/src/bin/jest/test_before.setup.js +1 -1
  70. package/src/bin/launcher/launcher.js +1 -1
  71. package/src/bin/load/index.js +1 -1
  72. package/src/bin/load/loadUtils.js +1 -1
  73. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  74. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  75. package/src/bin/mocha/command.js +1 -1
  76. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  77. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  78. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  79. package/src/bin/mocha/test.setup.js +1 -1
  80. package/src/bin/nightwatch/command.js +1 -1
  81. package/src/bin/playwright/accessibility-helper.js +1 -1
  82. package/src/bin/playwright/command.js +1 -1
  83. package/src/bin/playwright/globalSetup.js +1 -1
  84. package/src/bin/playwright/mock-process.js +1 -1
  85. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  86. package/src/bin/playwright/patches.js +1 -1
  87. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  88. package/src/bin/playwright/reporter/reporter.js +1 -1
  89. package/src/bin/playwright/reporter/test-details.js +1 -1
  90. package/src/bin/playwright/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/patches.js +1 -0
  92. package/src/bin/puppeteer/sessionDetails.js +1 -0
  93. package/src/bin/puppeteer/test.setup.js +1 -0
  94. package/src/bin/runner.js +1 -1
  95. package/src/bin/setup.js +1 -1
  96. package/src/bin/test-runner/index.js +1 -1
  97. package/src/bin/test-runner/runTest.js +1 -1
  98. package/src/bin/test-runner/testWorker.js +1 -1
  99. package/src/bin/utils/apiUtilityMethods.js +1 -1
  100. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  101. package/src/bin/utils/constants.js +1 -1
  102. package/src/bin/utils/log4jsAppender.js +1 -1
  103. package/src/bin/utils/logPatcher.js +1 -1
  104. package/src/bin/utils/logReportingAPI.js +1 -1
  105. package/src/bin/utils/playwright-patcher.js +1 -1
  106. package/src/bin/utils/puppeteer-patcher.js +1 -0
  107. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  108. package/src/bin/utils/sharedUtils.js +1 -1
  109. package/src/bin/v2/TestInfo.js +1 -1
  110. package/src/bin/v2/browserstackCLI.js +1 -1
  111. package/src/bin/v2/cliUtils.js +1 -1
  112. package/src/bin/v2/customTagManager.js +1 -1
  113. package/src/bin/v2/eventDispatcher.js +1 -1
  114. package/src/bin/v2/framework/automationFramework.js +1 -1
  115. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  116. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  117. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  118. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  119. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  121. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -0
  122. package/src/bin/v2/framework/testFramework.js +1 -1
  123. package/src/bin/v2/grpcClient.js +1 -1
  124. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  125. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  126. package/src/bin/v2/instances/trackedContext.js +1 -1
  127. package/src/bin/v2/instances/trackedInstance.js +1 -1
  128. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  129. package/src/bin/v2/modules/baseModule.js +1 -1
  130. package/src/bin/v2/modules/loadTestModule.js +1 -1
  131. package/src/bin/v2/modules/observabilityModule.js +1 -1
  132. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  133. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -0
  134. package/src/bin/v2/modules/testhubModule.js +1 -1
  135. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  136. package/src/bin/v2/state/hookState.js +1 -1
  137. package/src/bin/v2/state/testFrameworkState.js +1 -1
  138. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  139. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  140. package/src/bin/v2/utils/jest-utils.js +1 -1
  141. package/src/bin/vanilla-js/command.js +1 -1
  142. package/src/browserStackSdk.js +1 -1
  143. package/src/helpers/BrowserStackSetup.js +1 -1
  144. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  145. package/src/helpers/accessibility-automation/constants.js +1 -1
  146. package/src/helpers/accessibility-automation/helper.js +1 -1
  147. package/src/helpers/accessibility-automation/scripts.js +1 -1
  148. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  149. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  150. package/src/helpers/ats/constants.js +1 -1
  151. package/src/helpers/ats/helper.js +1 -1
  152. package/src/helpers/capsMapping.js +1 -1
  153. package/src/helpers/central-scanner/constants.js +1 -1
  154. package/src/helpers/central-scanner/helpers.js +1 -1
  155. package/src/helpers/classLogger.js +1 -1
  156. package/src/helpers/globals.js +1 -1
  157. package/src/helpers/helper.js +1 -1
  158. package/src/helpers/logger.js +1 -1
  159. package/src/helpers/metadata.js +1 -1
  160. package/src/helpers/patchHelper.js +1 -1
  161. package/src/helpers/patchHelpers.js +1 -1
  162. package/src/helpers/percy/Percy.js +1 -1
  163. package/src/helpers/percy/PercyBinary.js +1 -1
  164. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  165. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  166. package/src/helpers/percy/PercySDK.js +1 -1
  167. package/src/helpers/percy/index.js +1 -1
  168. package/src/helpers/percy/utils.js +1 -1
  169. package/src/helpers/performance/constants.js +1 -1
  170. package/src/helpers/performance/performance-tester.js +1 -1
  171. package/src/helpers/playwright-helper.js +1 -1
  172. package/src/helpers/processHelper.js +1 -1
  173. package/src/helpers/puppeteer-helper.js +1 -0
  174. package/src/helpers/request-spy.js +1 -1
  175. package/src/helpers/setKeepAlive.js +1 -1
  176. package/src/helpers/test-observability/constants.js +1 -1
  177. package/src/helpers/test-observability/error-handler.js +1 -1
  178. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  179. package/src/helpers/test-observability/sessionHandler.js +1 -1
  180. package/src/helpers/test-observability/utils.js +1 -1
  181. package/src/helpers/test-orchestration/constants.js +1 -1
  182. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  183. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  184. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  185. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  186. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  187. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  188. package/src/helpers/testhub/constants.js +1 -1
  189. package/src/helpers/testhub/testhubHandler.js +1 -1
  190. package/src/helpers/testhub/utils.js +1 -1
  191. package/src/helpers/timeoutPromise.js +1 -1
  192. package/src/helpers/utilities.js +1 -1
  193. package/src/helpers/w3cMapping.js +1 -1
  194. package/src/hubAllocationMethods.js +1 -1
  195. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a70_0x3781(_0x200f52,_0x48921c){const _0x162f82=a70_0x162f();return a70_0x3781=function(_0x378160,_0x59717c){_0x378160=_0x378160-0x162;let _0x524cd9=_0x162f82[_0x378160];return _0x524cd9;},a70_0x3781(_0x200f52,_0x48921c);}const a70_0x2c28ae=a70_0x3781;(function(_0x2d406f,_0x3ec87d){const _0xe8e858=a70_0x3781,_0x8a4cf7=_0x2d406f();while(!![]){try{const _0x4f4932=parseInt(_0xe8e858(0x1a3))/0x1+-parseInt(_0xe8e858(0x1f9))/0x2*(parseInt(_0xe8e858(0x213))/0x3)+parseInt(_0xe8e858(0x16f))/0x4+-parseInt(_0xe8e858(0x19a))/0x5*(-parseInt(_0xe8e858(0x197))/0x6)+-parseInt(_0xe8e858(0x169))/0x7*(-parseInt(_0xe8e858(0x171))/0x8)+parseInt(_0xe8e858(0x22e))/0x9*(-parseInt(_0xe8e858(0x21f))/0xa)+-parseInt(_0xe8e858(0x1cb))/0xb;if(_0x4f4932===_0x3ec87d)break;else _0x8a4cf7['push'](_0x8a4cf7['shift']());}catch(_0x1aed14){_0x8a4cf7['push'](_0x8a4cf7['shift']());}}}(a70_0x162f,0xb1f3f));const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x2c28ae(0x1a5)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a70_0x2c28ae(0x194)),TestFrameworkInstance=require(a70_0x2c28ae(0x1eb)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a70_0x2c28ae(0x210)),TestFrameworkConstants=require(a70_0x2c28ae(0x1f2)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x2c28ae(0x215)),logger=createClassLogger('CucumberTestFramework'),{v4:uuidv4}=require(a70_0x2c28ae(0x184)),util=require(a70_0x2c28ae(0x205)),TestInfo=require(a70_0x2c28ae(0x168)),GrpcClient=require(a70_0x2c28ae(0x1c1));class CucumberTestFramework extends TestFramework{constructor(_0x6caaed,_0x742a5e,_0x2a367d){super(_0x6caaed,_0x742a5e,_0x2a367d);}async[a70_0x2c28ae(0x186)](_0x81a2ac,_0x101d2f,_0x15a986={}){const _0x4a8bbd=a70_0x2c28ae,_0x94e16e={};_0x94e16e['mgzgw']=_0x4a8bbd(0x1e7),_0x94e16e[_0x4a8bbd(0x21b)]=function(_0x51cd75,_0x16f7f9){return _0x51cd75===_0x16f7f9;},_0x94e16e[_0x4a8bbd(0x22c)]=function(_0x1095aa,_0x5c184a){return _0x1095aa===_0x5c184a;},_0x94e16e[_0x4a8bbd(0x173)]='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x216c4a=_0x94e16e;await super[_0x4a8bbd(0x186)](_0x81a2ac,_0x101d2f,_0x15a986);const _0x286a2d=this[_0x4a8bbd(0x19b)](_0x81a2ac,_0x101d2f,_0x15a986);if(!_0x286a2d){logger[_0x4a8bbd(0x17a)](_0x216c4a[_0x4a8bbd(0x1bd)]);return;}try{let _0x20f794,_0x4126bf;switch(_0x81a2ac){case TestFrameworkState[_0x4a8bbd(0x183)]:_0x20f794=_0x15a986[_0x4a8bbd(0x1f7)],_0x4126bf=TestInfo[_0x4a8bbd(0x1f6)](_0x20f794['id']);if(_0x216c4a['VdKZm'](_0x101d2f,HookState[_0x4a8bbd(0x1d0)])){logger[_0x4a8bbd(0x17a)](_0x4a8bbd(0x19c)+_0x20f794['id']);const _0x437a52={};_0x437a52[_0x4a8bbd(0x1d8)]=_0x4126bf,_0x437a52[_0x4a8bbd(0x1c9)]=_0x20f794,_0x286a2d['addMultipleEntries'](this[_0x4a8bbd(0x1c2)](_0x437a52)),logger['debug'](_0x4a8bbd(0x224)+_0x20f794['id']),await this['processPendingHooks'](_0x286a2d,_0x20f794['id']);}else{if(_0x216c4a[_0x4a8bbd(0x21b)](_0x101d2f,HookState[_0x4a8bbd(0x196)])){const _0x496a28={};_0x496a28['testUUID']=_0x4126bf,_0x496a28[_0x4a8bbd(0x1c9)]=_0x20f794,_0x286a2d[_0x4a8bbd(0x162)](this[_0x4a8bbd(0x17b)](_0x496a28)),await this[_0x4a8bbd(0x1a9)](_0x286a2d,_0x20f794['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x216c4a[_0x4a8bbd(0x22c)](_0x101d2f,HookState['POST'])&&await this['sendLogCreatedEvent'](_0x286a2d,_0x81a2ac,_0x15a986);break;default:if(CLIUtils[_0x4a8bbd(0x225)](_0x81a2ac['toString']()[_0x4a8bbd(0x199)]('.')[0x1])){const _0xf75a0d=await this[_0x4a8bbd(0x1b7)](_0x286a2d,_0x81a2ac,_0x101d2f,_0x15a986);_0x286a2d[_0x4a8bbd(0x162)](_0xf75a0d);}else logger[_0x4a8bbd(0x17a)](_0x4a8bbd(0x1b9)+_0x81a2ac+_0x4a8bbd(0x1f8)+_0x101d2f);break;}}catch(_0x4ebbfb){logger[_0x4a8bbd(0x16c)](util[_0x4a8bbd(0x1a1)](_0x216c4a['kLOng'],_0x81a2ac,_0x101d2f,_0x15a986[_0x4a8bbd(0x20f)],_0x4ebbfb));}_0x15a986[_0x4a8bbd(0x1c8)]=_0x286a2d,await this['runHooks'](_0x286a2d,_0x81a2ac,_0x101d2f,_0x15a986);}['resolveInstance'](_0x2b8b6f,_0x462753,_0x13bb47={}){const _0x17c37a=a70_0x2c28ae,_0x1859e3={};_0x1859e3[_0x17c37a(0x1ff)]=function(_0x28c120,_0x531ed6){return _0x28c120===_0x531ed6;};const _0x3aac68=_0x1859e3;let _0x526f9a=null;return(_0x3aac68['SbOEe'](_0x2b8b6f,TestFrameworkState['INIT_TEST'])||_0x3aac68[_0x17c37a(0x1ff)](_0x2b8b6f,TestFrameworkState[_0x17c37a(0x1da)]))&&this[_0x17c37a(0x170)](_0x2b8b6f,_0x13bb47),_0x526f9a=TestFramework[_0x17c37a(0x191)](),_0x526f9a;}[a70_0x2c28ae(0x170)](_0xa3437c,_0x37fbde){const _0x1b588b=a70_0x2c28ae,_0x391778=CLIUtils[_0x1b588b(0x1bb)](),_0x2cfd16=TrackedInstance[_0x1b588b(0x1ac)](_0x391778);let _0x5734d6=null;logger[_0x1b588b(0x17a)](_0x1b588b(0x201)+_0x391778+_0x1b588b(0x1a7)+_0xa3437c),_0x5734d6=new TestFrameworkInstance(_0x2cfd16,this['getTestFrameworks'](),this[_0x1b588b(0x1de)](),_0xa3437c,HookState['NONE']),TestFramework[_0x1b588b(0x1d1)](_0x2cfd16,_0x5734d6),logger['debug'](_0x1b588b(0x1d6)+_0x2cfd16[_0x1b588b(0x20c)]()+_0x1b588b(0x176)+_0x391778);}[a70_0x2c28ae(0x1c2)](_0xd080b7){const _0x4b3969=a70_0x2c28ae,_0x149851={};_0x149851['QosPf']=_0x4b3969(0x190);const _0x1663d3=_0x149851,{testUUID:_0x203532,testData:_0x1e0bee}=_0xd080b7;if(!_0x1e0bee||!_0x1e0bee[_0x4b3969(0x184)])return logger[_0x4b3969(0x17a)](_0x1663d3[_0x4b3969(0x1a8)]),{};const _0x206107=_0x203532,_0xcee16a=_0x1e0bee[_0x4b3969(0x184)],_0x1436c5=this[_0x4b3969(0x1fc)]()[0x0],_0x1897f4=this[_0x4b3969(0x1de)](),_0x302f43={[TestFrameworkConstants[_0x4b3969(0x1e4)]]:_0x1436c5,[TestFrameworkConstants[_0x4b3969(0x209)]]:_0x1897f4[_0x1436c5],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x4b3969(0x1f0)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x4b3969(0x1e5)]]:_0x206107,[TestFrameworkConstants[_0x4b3969(0x200)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x4b3969(0x163)]]:_0x1e0bee[_0x4b3969(0x195)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x1e0bee[_0x4b3969(0x228)]||'',[TestFrameworkConstants[_0x4b3969(0x1fa)]]:_0xcee16a,[TestFrameworkConstants[_0x4b3969(0x179)]]:_0x1e0bee[_0x4b3969(0x195)]||'',[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x1e0bee[_0x4b3969(0x202)]||'',[TestFrameworkConstants[_0x4b3969(0x1ad)]]:_0x1e0bee[_0x4b3969(0x22b)]?.['code']||null,[TestFrameworkConstants[_0x4b3969(0x1ba)]]:_0x1e0bee[_0x4b3969(0x18b)]||[],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1e0bee[_0x4b3969(0x1c5)]||new Date()[_0x4b3969(0x1e2)](),[TestFrameworkConstants[_0x4b3969(0x180)]]:_0x1e0bee[_0x4b3969(0x1bf)]?.[0x0]||'',[TestFrameworkConstants[_0x4b3969(0x1c0)]]:_0x1e0bee[_0x4b3969(0x1bf)]||[],[TestFrameworkConstants[_0x4b3969(0x1dd)]]:_0x1e0bee[_0x4b3969(0x229)]?.[_0x4b3969(0x1b2)]||_0x1e0bee[_0x4b3969(0x195)]||'',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x4b3969(0x1f5)]]:_0x1e0bee['meta']||{}};TestInfo[_0x4b3969(0x1af)](_0xcee16a,_0x302f43),logger[_0x4b3969(0x17a)](_0x4b3969(0x164)+_0x1e0bee['name']+_0x4b3969(0x1ec)+_0x206107);const _0x1b79e7={};return _0x1b79e7[_0xcee16a]=_0x302f43,_0x1b79e7;}[a70_0x2c28ae(0x17b)](_0x8f8f38){const _0x25fd1f=a70_0x2c28ae,_0x54ff86={'DdjHi':_0x25fd1f(0x214),'dVBOy':_0x25fd1f(0x1ab),'uiBMr':function(_0x18da80,_0x29dcde){return _0x18da80===_0x29dcde;},'MaQhu':_0x25fd1f(0x206),'ySfmW':_0x25fd1f(0x20b),'poKda':function(_0x422c6f,_0x16a701,_0x2d8511){return _0x422c6f(_0x16a701,_0x2d8511);},'aBwQA':function(_0x1eaa63,_0x5dc35f){return _0x1eaa63>_0x5dc35f;}},{testUUID:_0x48542b,testData:_0x51bd2b}=_0x8f8f38;if(!_0x51bd2b||!_0x51bd2b[_0x25fd1f(0x184)])return logger[_0x25fd1f(0x17a)](_0x54ff86[_0x25fd1f(0x1dc)]),{};const _0x4b1364=this[_0x25fd1f(0x19b)](TestFrameworkState['TEST'],HookState[_0x25fd1f(0x196)]),_0x2d5ffc=_0x51bd2b['uuid'],_0x4919a9=TestInfo['getTestDetails'](_0x2d5ffc)||{},_0x4286d6=_0x4919a9?_0x4919a9[TestFrameworkConstants[_0x25fd1f(0x20a)]]||{}:{},_0x8555e8={..._0x4919a9,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x51bd2b[_0x25fd1f(0x178)]||_0x54ff86['dVBOy'],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x51bd2b['finishedAt']||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x25fd1f(0x1e2)](),[TestFrameworkConstants[_0x25fd1f(0x20a)]]:_0x4286d6,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x25fd1f(0x1f5)]]:_0x51bd2b['meta']||{}};_0x54ff86[_0x25fd1f(0x22f)](_0x51bd2b[_0x25fd1f(0x178)],_0x54ff86[_0x25fd1f(0x1d9)])&&_0x51bd2b[_0x25fd1f(0x1d3)]&&(_0x8555e8[TestFrameworkConstants[_0x25fd1f(0x226)]]=_0x51bd2b[_0x25fd1f(0x222)]||_0x54ff86[_0x25fd1f(0x17e)],_0x8555e8[TestFrameworkConstants[_0x25fd1f(0x21d)]]=_0x51bd2b['failure_reason']||'',_0x8555e8[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x51bd2b[_0x25fd1f(0x1d3)]);const _0x23c686=TestInfo[_0x25fd1f(0x223)](_0x2d5ffc)[TestFrameworkConstants[_0x25fd1f(0x18d)]]||{},_0x43680e=_0x54ff86[_0x25fd1f(0x17f)](getManualUploadLogs,_0x23c686,_0x4b1364[_0x25fd1f(0x1e1)]()[_0x25fd1f(0x165)](_0x2d5ffc)[TestFrameworkConstants[_0x25fd1f(0x1e5)]]);if(_0x54ff86[_0x25fd1f(0x1be)](_0x43680e[_0x25fd1f(0x20f)],0x0)){const _0xf4088a=_0x8555e8[TestFrameworkConstants[_0x25fd1f(0x1df)]]||[];_0x8555e8[TestFrameworkConstants['KEY_LOGS']]=[..._0xf4088a,..._0x43680e];}_0x51bd2b[_0x25fd1f(0x1d4)]&&_0x54ff86[_0x25fd1f(0x1be)](_0x51bd2b[_0x25fd1f(0x1d4)]['length'],0x0)&&(_0x8555e8[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x51bd2b[_0x25fd1f(0x1d4)]);TestInfo[_0x25fd1f(0x1af)](_0x2d5ffc,_0x8555e8),logger[_0x25fd1f(0x17a)](_0x25fd1f(0x1ae)+_0x51bd2b[_0x25fd1f(0x195)]+_0x25fd1f(0x21e)+_0x51bd2b[_0x25fd1f(0x178)]);const _0xe32048={};return _0xe32048[_0x2d5ffc]=_0x8555e8,_0xe32048;}async['trackHookEvent'](_0x5f2c98,_0x56fe2e,_0x4ef6b5,_0x2b37a7){const _0x55f5dd=a70_0x2c28ae,_0x3c533c={'ZtkBg':_0x55f5dd(0x16d),'TJNdv':function(_0x310ab4){return _0x310ab4();},'zIlhW':function(_0x5ca287,_0x1efb81){return _0x5ca287 in _0x1efb81;},'QQjxN':function(_0x59d889,_0x3b4966){return _0x59d889 in _0x3b4966;},'yGZTL':function(_0x357c14,_0x442fd3){return _0x357c14===_0x442fd3;},'Eoqdb':function(_0x561860,_0x59b882){return _0x561860===_0x59b882;},'yskzb':function(_0x330308,_0x201a12){return _0x330308>_0x201a12;},'IToqe':function(_0x277761,_0x455502){return _0x277761===_0x455502;},'AOfJo':'failed','zuTbL':'UnhandledError','CmbMy':_0x55f5dd(0x203),'HXfFU':function(_0x3496a3,_0x21737a){return _0x3496a3!==_0x21737a;}},{hookData:_0x592f5f}=_0x2b37a7;if(!_0x592f5f)return logger['debug'](_0x3c533c[_0x55f5dd(0x207)]),{};const _0x2c0565=_0x592f5f[_0x55f5dd(0x184)]||_0x3c533c['TJNdv'](uuidv4),_0x43e0a9=_0x592f5f[_0x55f5dd(0x1d2)],_0x5bc2b0=_0x56fe2e[_0x55f5dd(0x1e0)]()[_0x55f5dd(0x199)]('.')[0x1],_0x4ca6d3=TestInfo[_0x55f5dd(0x223)](_0x43e0a9)[TestFrameworkConstants[_0x55f5dd(0x20a)]]||{},_0x2eab8e=_0x5f2c98[_0x55f5dd(0x1e1)]()[_0x55f5dd(0x165)](_0x43e0a9);if(!_0x2eab8e)return logger['debug'](_0x55f5dd(0x1cc)+_0x43e0a9+_0x55f5dd(0x189)),this[_0x55f5dd(0x16e)](_0x5f2c98,_0x43e0a9,_0x56fe2e,_0x4ef6b5,_0x2b37a7),{};let _0x27b20a=_0x2eab8e[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x27b20a&&(_0x27b20a={});!_0x3c533c['zIlhW'](_0x5bc2b0,_0x27b20a)&&(_0x27b20a[_0x5bc2b0]=[]);let _0xcfe56e=_0x2eab8e[TestFrameworkConstants[_0x55f5dd(0x1f0)]];!_0xcfe56e&&(_0xcfe56e={});!_0x3c533c[_0x55f5dd(0x1cd)](_0x5bc2b0,_0xcfe56e)&&(_0xcfe56e[_0x5bc2b0]=[]);const _0x36c11c={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x27b20a,[TestFrameworkConstants[_0x55f5dd(0x1f0)]]:_0xcfe56e},_0x516e9f={};_0x516e9f[_0x43e0a9]=_0x36c11c;const _0x3edbfe=_0x516e9f;if(_0x3c533c[_0x55f5dd(0x217)](_0x4ef6b5,HookState[_0x55f5dd(0x1d0)])){const _0x6d75f2={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x2c0565,[TestFrameworkConstants[_0x55f5dd(0x1ef)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x55f5dd(0x172)]]:_0x592f5f[_0x55f5dd(0x174)],[TestFrameworkConstants[_0x55f5dd(0x221)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x592f5f[_0x55f5dd(0x193)],[TestFrameworkConstants[_0x55f5dd(0x20a)]]:_0x4ca6d3};_0x6d75f2[_0x55f5dd(0x18f)]=_0x5bc2b0;const _0x50b65e=_0x6d75f2;_0x27b20a[_0x5bc2b0]['push'](_0x50b65e),_0x3edbfe[_0x43e0a9][TestFrameworkConstants[_0x55f5dd(0x1f1)]]=_0x5bc2b0,logger[_0x55f5dd(0x17a)](_0x55f5dd(0x20e)+_0x5bc2b0+_0x55f5dd(0x188)+_0x50b65e+'\x20\x20and\x20args\x20=\x20'+_0x2b37a7);}else{if(_0x3c533c[_0x55f5dd(0x1ea)](_0x4ef6b5,HookState[_0x55f5dd(0x196)])){const _0x103b38=_0x592f5f[_0x55f5dd(0x178)],_0x39ab92=_0x27b20a[_0x5bc2b0]||[];logger[_0x55f5dd(0x17a)](_0x55f5dd(0x216)+_0x39ab92+_0x55f5dd(0x177)+_0x2b37a7);if(_0x3c533c[_0x55f5dd(0x192)](_0x39ab92['length'],0x0)){const _0x17d32c=_0x39ab92['pop']();_0x3c533c[_0x55f5dd(0x1e8)](_0x592f5f['result'],_0x3c533c[_0x55f5dd(0x22d)])&&_0x592f5f['failure_data']?(_0x17d32c[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x592f5f[_0x55f5dd(0x222)]||_0x3c533c[_0x55f5dd(0x1b5)],_0x17d32c[TestFrameworkConstants[_0x55f5dd(0x20d)]]=_0x592f5f[_0x55f5dd(0x1b6)]||'',_0x17d32c[TestFrameworkConstants[_0x55f5dd(0x212)]]=_0x592f5f[_0x55f5dd(0x1c6)]):_0x17d32c[TestFrameworkConstants[_0x55f5dd(0x1ef)]]=_0x3c533c[_0x55f5dd(0x1e6)];_0x3c533c[_0x55f5dd(0x22a)](_0x103b38,TestFrameworkConstants[_0x55f5dd(0x1b4)])&&(_0x17d32c[TestFrameworkConstants[_0x55f5dd(0x1ef)]]=_0x103b38);_0x17d32c[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x592f5f[_0x55f5dd(0x187)]||new Date()[_0x55f5dd(0x1e2)](),_0x17d32c[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x4ca6d3;const _0x14b06c=_0x17d32c[TestFrameworkConstants['KEY_HOOK_ID']];!_0xcfe56e[_0x5bc2b0]&&(_0xcfe56e[_0x5bc2b0]=[]),_0xcfe56e[_0x5bc2b0][_0x55f5dd(0x18e)](_0x17d32c),_0x3edbfe[_0x43e0a9][TestFrameworkConstants[_0x55f5dd(0x227)]]=_0x5bc2b0;}}}return logger[_0x55f5dd(0x17a)]('Tracked\x20cucumber\x20hook\x20event:\x20'+_0x592f5f[_0x55f5dd(0x193)]+_0x55f5dd(0x1b1)+_0x2c0565+'\x20for\x20test:\x20'+_0x43e0a9),_0x3edbfe;}[a70_0x2c28ae(0x1f4)](_0x42ce36){const _0x27344c=a70_0x2c28ae,_0x4f08e2={};_0x4f08e2[_0x27344c(0x204)]=_0x27344c(0x1c3);const _0xa7dc71=_0x4f08e2;try{const _0x21b95e=_0x42ce36[_0x27344c(0x1f7)]?_0x42ce36[_0x27344c(0x1f7)]['id']:_0x42ce36[_0x27344c(0x18a)][_0x27344c(0x1d2)],_0x120fc1=_0x42ce36['instance'],_0x55a4f8=_0x120fc1[_0x27344c(0x1e9)](),_0x18bf62=_0x120fc1['getAllData']()[_0x27344c(0x165)](_0x21b95e);if(!_0x18bf62)return logger[_0x27344c(0x17a)](_0x27344c(0x185)+_0x21b95e),{};logger['debug']('createTestFrameworkEventPayload\x20testId:\x20'+_0x21b95e);const {[TestFrameworkConstants[_0x27344c(0x1e4)]]:_0x5db6ed='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0xac8029='',[TestFrameworkConstants[_0x27344c(0x208)]]:_0x3919b6='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x4c6351=''}=_0x18bf62,_0x531e53=_0x120fc1[_0x27344c(0x1a2)]()[_0x27344c(0x1e0)]()[_0x27344c(0x199)]('.')[0x1],_0x1cf70a=_0x120fc1[_0x27344c(0x220)]()[_0x27344c(0x1e0)]()[_0x27344c(0x199)]('.')[0x1],_0x14fb3c=global?.[_0x27344c(0x1ed)]?.[_0x27344c(0x1bc)]?.[_0x27344c(0x198)],_0x148957=_0x120fc1['getRef'](),_0x4cf799=Buffer['from'](JSON[_0x27344c(0x16b)](_0x18bf62))[_0x27344c(0x1e0)](_0xa7dc71[_0x27344c(0x204)]),_0x5b33fc={'hash':_0x55a4f8['getId'](),'threadId':_0x55a4f8['getThreadId']()[_0x27344c(0x1e0)](),'processId':_0x55a4f8[_0x27344c(0x175)]()[_0x27344c(0x1e0)]()},_0x3fb054={};_0x3fb054['platformIndex']=_0x14fb3c,_0x3fb054['testFrameworkName']=_0x5db6ed,_0x3fb054[_0x27344c(0x1d7)]=_0xac8029,_0x3fb054[_0x27344c(0x1d5)]=_0x531e53,_0x3fb054[_0x27344c(0x19f)]=_0x1cf70a,_0x3fb054['startedAt']=_0x3919b6,_0x3fb054[_0x27344c(0x1aa)]=_0x4c6351,_0x3fb054['uuid']=_0x148957,_0x3fb054['eventJson']=_0x4cf799,_0x3fb054['executionContext']=_0x5b33fc;const _0x10b67f=_0x3fb054;return logger[_0x27344c(0x17a)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x21b95e+_0x27344c(0x1db)+_0x531e53+_0x27344c(0x1fd)+_0x1cf70a),_0x10b67f;}catch(_0xe49f68){return logger['error'](_0x27344c(0x182)+util[_0x27344c(0x1a1)](_0xe49f68)),{};}}async[a70_0x2c28ae(0x19e)](_0x3f3706,_0x2e2301,_0x503bc6){const _0x472236=a70_0x2c28ae,_0x29c249={'ezciE':function(_0x7dd07c,_0x3082b7,_0x2a60a7){return _0x7dd07c(_0x3082b7,_0x2a60a7);},'imTHg':function(_0x5721d6,_0x18ee34){return _0x5721d6===_0x18ee34;},'hqcwP':'sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','icWaG':function(_0x117844,_0x36a26){return _0x117844/_0x36a26;},'XJiuU':function(_0x243f5d,_0x550a71){return _0x243f5d<_0x550a71;},'ILZvi':function(_0x4e8d64,_0x55d2ae){return _0x4e8d64*_0x55d2ae;},'IQDuP':function(_0x378abb,_0x379a70){return _0x378abb+_0x379a70;},'VITqc':function(_0x3a695e,_0x1a8bc6){return _0x3a695e+_0x1a8bc6;},'UDrnJ':'Cucumber\x20log\x20created\x20event'};try{const _0x3326a0=_0x503bc6[_0x472236(0x1d8)],_0x376a71=_0x3f3706['getAllData']()[_0x472236(0x165)](_0x3326a0),{[TestFrameworkConstants[_0x472236(0x1e4)]]:_0x4ece55='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2fc139=''}=_0x376a71,_0x3ebb31=TestInfo[_0x472236(0x1e3)](_0x3326a0),_0x5411c7=TestInfo[_0x472236(0x223)](_0x3326a0)[TestFrameworkConstants[_0x472236(0x18d)]]||{},_0x20bec5=_0x29c249[_0x472236(0x1b3)](getMediaArtifactsLogs,_0x5411c7,_0x3f3706[_0x472236(0x1e1)]()[_0x472236(0x165)](_0x3326a0)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x17fc06=(_0x3ebb31||[])[_0x472236(0x219)](_0x20bec5||[]);if(!_0x17fc06||_0x29c249[_0x472236(0x1cf)](_0x17fc06['length'],0x0)){logger[_0x472236(0x17a)](_0x29c249[_0x472236(0x21a)]);return;}const _0x56969a=0x28,_0x57e422=Math[_0x472236(0x1a4)](_0x29c249[_0x472236(0x18c)](_0x17fc06[_0x472236(0x20f)],_0x56969a));for(let _0x1738f7=0x0;_0x29c249[_0x472236(0x1fe)](_0x1738f7,_0x57e422);_0x1738f7++){const _0x1e63fc=_0x29c249[_0x472236(0x218)](_0x1738f7,_0x56969a),_0x3343e0=_0x29c249['IQDuP'](_0x1e63fc,_0x56969a),_0x5138ac=_0x17fc06[_0x472236(0x19d)](_0x1e63fc,_0x3343e0),_0x45a6e7={'platformIndex':'0','logs':_0x5138ac,'testFrameworkName':_0x4ece55,'testFrameworkVersion':_0x2fc139,'testFrameworkState':_0x2e2301['toString']()['split']('.')[0x1]};logger[_0x472236(0x17a)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x3326a0+'\x20batch\x20'+_0x29c249[_0x472236(0x1a6)](_0x1738f7,0x1)+'/'+_0x57e422+'\x20payload='+util[_0x472236(0x17d)](_0x45a6e7));const _0x19652b=await GrpcClient[_0x472236(0x1ca)]()['logCreatedEvent'](_0x45a6e7);logger['debug'](_0x472236(0x16a)+_0x3326a0+_0x472236(0x1b0)+_0x29c249['IQDuP'](_0x1738f7,0x1)+'/'+_0x57e422+'\x20response='+util[_0x472236(0x17d)](_0x19652b));}}catch(_0x37ca7e){logger[_0x472236(0x16c)](_0x472236(0x1fb)+util['format'](_0x37ca7e));}logger[_0x472236(0x17a)](_0x29c249['UDrnJ']);}[a70_0x2c28ae(0x16e)](_0x2a0721,_0x4f01dc,_0x48ec41,_0x505f25,_0x307aac){const _0x162e8f=a70_0x2c28ae,_0x4460f1={'testId':_0x4f01dc,'testFrameworkState':_0x48ec41,'hookState':_0x505f25,'args':_0x307aac,'timestamp':new Date()[_0x162e8f(0x1e2)]()};_0x2a0721['addPendingHook'](_0x4f01dc,_0x4460f1),logger[_0x162e8f(0x17a)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x4f01dc+_0x162e8f(0x17c)+_0x48ec41+_0x162e8f(0x1f3)+_0x505f25);}async[a70_0x2c28ae(0x1a9)](_0x20f497,_0x3ce0ca){const _0x422d71=a70_0x2c28ae,_0xe6bcaa={};_0xe6bcaa[_0x422d71(0x167)]=function(_0x40ef91,_0x1a1825){return _0x40ef91>_0x1a1825;};const _0x428e26=_0xe6bcaa;if(!_0x20f497[_0x422d71(0x1c7)](_0x3ce0ca))return;const _0x4c739b=_0x20f497[_0x422d71(0x1b8)](_0x3ce0ca);logger[_0x422d71(0x17a)](_0x422d71(0x181)+_0x4c739b['length']+_0x422d71(0x21c)+_0x3ce0ca);for(const _0x4c5dd3 of _0x4c739b){try{const _0x84ddfd=await this[_0x422d71(0x1b7)](_0x20f497,_0x4c5dd3[_0x422d71(0x1d5)],_0x4c5dd3[_0x422d71(0x19f)],_0x4c5dd3[_0x422d71(0x211)]);_0x84ddfd&&_0x428e26[_0x422d71(0x167)](Object[_0x422d71(0x166)](_0x84ddfd)[_0x422d71(0x20f)],0x0)&&_0x20f497[_0x422d71(0x162)](_0x84ddfd),await this[_0x422d71(0x1a0)](_0x20f497,_0x4c5dd3['testFrameworkState'],_0x4c5dd3['hookState'],_0x4c5dd3[_0x422d71(0x211)]);}catch(_0x42d167){logger['error']('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x3ce0ca+',\x20error:\x20'+_0x42d167);}}_0x20f497[_0x422d71(0x1ce)](_0x3ce0ca),logger[_0x422d71(0x17a)](_0x422d71(0x1c4)+_0x3ce0ca);}}module[a70_0x2c28ae(0x1ee)]=CucumberTestFramework;function a70_0x162f(){const _0x5350b7=['getCurrentInstanceName','workerInfo','mgzgw','aBwQA','scopes','KEY_TEST_SCOPES','../grpcClient','parseCucumberTest','base64','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','startedAt','failure_data','hasPendingHooks','instance','testData','getInstance','17370815mreQHh','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','QQjxN','removePendingHooks','imTHg','PRE','setTrackedInstance','test_run_id','failure','hooks','testFrameworkState','trackCucumberInstance:\x20saved\x20instance\x20contextId=','testFrameworkVersion','testUUID','MaQhu','NONE','\x20testState:\x20','DdjHi','KEY_TEST_RERUN_NAME','getTestFrameworksVersions','KEY_LOGS','toString','getAllData','toISOString','readLogObjects','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_UUID','CmbMy','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','IToqe','getContext','Eoqdb','../instances/testFrameworkInstance.js','\x20with\x20UUID:\x20','__workerDetails','exports','KEY_HOOK_RESULT','KEY_HOOKS_FINISHED','KEY_HOOK_LAST_STARTED','./constants/testFrameworkConstants.js',',\x20hookState:\x20','createTestFrameworkEventPayload','KEY_TEST_META','getTestUUID','test','\x20&\x20hookState=','180266XUqviZ','KEY_TEST_ID','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','getTestFrameworks','\x20hookState:\x20','XJiuU','SbOEe','KEY_TEST_RESULT','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','location','passed','kMUro','util','failed','ZtkBg','KEY_TEST_STARTED_AT','KEY_TEST_FRAMEWORK_VERSION','KEY_CUSTOM_TAGS','UnhandledError','getId','KEY_HOOK_FAILURE_REASON','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','length','../instances/trackedInstance.js','args','KEY_HOOK_FAILURE','12wlKJXS','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','../../../helpers/helper.js','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','yGZTL','ILZvi','concat','hqcwP','VdKZm','\x20pending\x20hooks\x20for\x20testId:\x20','KEY_TEST_FAILURE_REASON','\x20with\x20result:\x20','7360NOzzCl','getCurrentHookState','KEY_HOOK_LOGS','failure_type','getTestDetails','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','matchHookRegex','KEY_TEST_FAILURE_TYPE','KEY_HOOK_LAST_FINISHED','file_name','customRerunParam','HXfFU','body','HmqIU','AOfJo','12231yPNsiw','uiBMr','addMultipleEntries','KEY_AUTOMATE_SESSION_NAME','Parsed\x20cucumber\x20test:\x20','get','keys','BynRU','../TestInfo.js','84525sWfbMA','sendLogCreatedEvent:\x20for\x20testId:\x20','stringify','error','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','storePendingHook','5730280QcxAgJ','trackCucumberInstance','472XFicAc','KEY_EVENT_STARTED_AT','kLOng','started_at','getProcessId','\x20target=','\x20and\x20args\x20=\x20','result','KEY_TEST_NAME','debug','parseCucumberTestResult',',\x20state:\x20','inspect','ySfmW','poKda','KEY_TEST_SCOPE','Processing\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','TEST','uuid','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','trackEvent','finished_at','\x20&\x20hook\x20=\x20',',\x20storing\x20as\x20pending\x20hook','hookData','tags','icWaG','KEY_TEST_ATTACHMENTS','push','key','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','getTrackedInstance','yskzb','hook_type','../../../helpers/classLogger.js','name','POST','6MyYPcj','parallelIndex','split','2198255pKugZY','resolveInstance','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','slice','sendLogCreatedEvent','hookState','runHooks','format','getCurrentTestState','1084170CrBGhD','ceil','../state/testFrameworkState.js','VITqc',',\x20state=','QosPf','processPendingHooks','endedAt','unknown','createContext','KEY_TEST_CODE','Updated\x20cucumber\x20test\x20result:\x20','setTestDetails','\x20batch\x20','\x20with\x20id\x20','rerun_name','ezciE','DEFAULT_HOOK_RESULT','zuTbL','failure_reason','trackHookEvent','getPendingHooks','trackEvent:\x20unsupported\x20testFrameworkState=','KEY_TEST_TAGS'];a70_0x162f=function(){return _0x5350b7;};return a70_0x162f();}
1
+ const a74_0x127b73=a74_0x24d4;function a74_0x24d4(_0x3c6e3b,_0x1b521c){const _0x408e87=a74_0x408e();return a74_0x24d4=function(_0x24d480,_0x390a47){_0x24d480=_0x24d480-0x1bd;let _0x12c4fb=_0x408e87[_0x24d480];return _0x12c4fb;},a74_0x24d4(_0x3c6e3b,_0x1b521c);}(function(_0x8198b6,_0x31b01c){const _0x5b5f5a=a74_0x24d4,_0x32587b=_0x8198b6();while(!![]){try{const _0x2bd707=parseInt(_0x5b5f5a(0x23f))/0x1+parseInt(_0x5b5f5a(0x286))/0x2+parseInt(_0x5b5f5a(0x1f1))/0x3+-parseInt(_0x5b5f5a(0x283))/0x4*(-parseInt(_0x5b5f5a(0x244))/0x5)+parseInt(_0x5b5f5a(0x246))/0x6+parseInt(_0x5b5f5a(0x281))/0x7+-parseInt(_0x5b5f5a(0x1fe))/0x8;if(_0x2bd707===_0x31b01c)break;else _0x32587b['push'](_0x32587b['shift']());}catch(_0x168793){_0x32587b['push'](_0x32587b['shift']());}}}(a74_0x408e,0x8efab));const TestFramework=require(a74_0x127b73(0x25e)),TestFrameworkState=require(a74_0x127b73(0x1da)),HookState=require(a74_0x127b73(0x25a)),{createClassLogger}=require(a74_0x127b73(0x26d)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a74_0x127b73(0x207)),TrackedInstance=require(a74_0x127b73(0x26b)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a74_0x127b73(0x278)),logger=createClassLogger(a74_0x127b73(0x232)),{v4:uuidv4}=require('uuid'),util=require(a74_0x127b73(0x277)),TestInfo=require(a74_0x127b73(0x206)),GrpcClient=require(a74_0x127b73(0x282));function a74_0x408e(){const _0x2fbf6c=['finished_at','DEFAULT_TEST_RESULT','getAllData','getContext','failure','lVyEw','KEY_TEST_FAILURE_REASON','parseCucumberTestResult','eventJson','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_FRAMEWORK_NAME','TEST','KEY_HOOK_FAILURE_REASON','push','../state/testFrameworkState.js','hooks','slice','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','storePendingHook','HUjuF','KEY_TEST_ID','error','\x20testState:\x20','KEY_HOOK_LOGS','yWJed','UnhandledError','getId','createTestFrameworkEventPayload','exports',',\x20storing\x20as\x20pending\x20hook','location','args','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','getRef','KEY_TEST_RERUN_NAME','GFxXi','1270548ZnIkzB','Tracked\x20cucumber\x20hook\x20event:\x20','test','\x20with\x20id\x20','platformIndex','customRerunParam','hookState','getPendingHooks','setTestDetails','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','passed','getCurrentHookState','debug','19756608XkdtHD','trackCucumberInstance:\x20saved\x20instance\x20contextId=','removePendingHooks','resolveInstance','testFrameworkVersion','getTestFrameworks','testData','hook_type','../TestInfo.js','../cliUtils.js','keys','getTestDetails','createContext','\x20response=','tags','inspect','getCurrentInstanceName','CksjY','stringify','\x20hookState:\x20','KEY_TEST_SCOPES','toISOString','scopes','bTOTJ','testUUID','KEY_TEST_ENDED_AT','getInstance','vBmbo','\x20for\x20test:\x20','KEY_TEST_CODE','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','WFieg','KEY_TEST_RESULT','qMMBy','get','\x20target=','instance','toString','KEY_CUSTOM_TAGS','result','eATYN','test_run_id','KEY_HOOKS_FINISHED','failure_type','KEY_HOOKS_STARTED','PRE','KEY_TEST_NAME','KEY_HOOK_FAILURE','createTestFrameworkEventPayload\x20testId:\x20','KEY_TEST_FAILURE','DEFAULT_HOOK_RESULT','KEY_HOOK_LAST_STARTED','CucumberTestFramework','testFrameworkState','sendLogCreatedEvent:\x20for\x20testId:\x20','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','gAtsD','failure_data','YOGZc','NONE','aKdOk','KEY_TEST_RESULT_AT','KEY_TEST_LOCATION','iIHqG','39301FjbLqp','runHooks','addPendingHook','key','KEY_HOOK_RESULT','5xyfUVl','KEY_TEST_UUID','3728556bixenV','XQpPq','KEY_TEST_ATTACHMENTS','KEY_HOOK_NAME','trackEvent\x20loading\x20testData\x20for\x20testId:\x20',',\x20error:\x20','file_name','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','trackHookEvent','length','KEY_AUTOMATE_SESSION_NAME','\x20\x20and\x20args\x20=\x20','KEY_TEST_META','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','addMultipleEntries','uuid','DJJxn','aIoib','KEY_HOOK_ID','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','../state/hookState.js','logCreatedEvent','startedAt','readLogObjects','./testFramework','\x20batch\x20',',\x20state=','sendLogCreatedEvent','getTestFrameworksVersions','base64','failed','dboks','TcttH','pop','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','\x20with\x20result:\x20','KEY_TEST_FAILURE_TYPE','../instances/trackedInstance.js','zMFoI','../../../helpers/classLogger.js','FFNGV','chIjz','Error\x20in\x20createTestFrameworkEventPayload:\x20','trackEvent','failure_reason','KEY_EVENT_STARTED_AT','\x20and\x20args\x20=\x20','processPendingHooks','code','util','../../../helpers/helper.js','hookData','name','KEY_TEST_TAGS','KEY_EVENT_ENDED_AT','split','dsbOb','format','lsGyi','3953236KkgjHU','../grpcClient','3037228ZFSOjv','KEY_TEST_SCOPE','matchHookRegex','1293842lldAAF','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','POST','KEY_TEST_LOGS','wmhMd','uBXFt','concat','started_at','Cucumber\x20log\x20created\x20event','KEY_LOGS','parseCucumberTest','meta','DLFdB','rerun_name','Parsed\x20cucumber\x20test:\x20','\x20&\x20hookState='];a74_0x408e=function(){return _0x2fbf6c;};return a74_0x408e();}class CucumberTestFramework extends TestFramework{constructor(_0x4cf314,_0x403d5e,_0x8f0030){super(_0x4cf314,_0x403d5e,_0x8f0030);}async[a74_0x127b73(0x271)](_0x4c41dd,_0x5ca522,_0x566430={}){const _0x2bc3f9=a74_0x127b73,_0x31c07a={};_0x31c07a[_0x2bc3f9(0x1e0)]=_0x2bc3f9(0x1ed),_0x31c07a[_0x2bc3f9(0x1c8)]=function(_0xbcbbc1,_0x15af0e){return _0xbcbbc1===_0x15af0e;},_0x31c07a[_0x2bc3f9(0x1c1)]=_0x2bc3f9(0x259);const _0x9b997=_0x31c07a;await super[_0x2bc3f9(0x271)](_0x4c41dd,_0x5ca522,_0x566430);const _0x1ebcb6=this[_0x2bc3f9(0x201)](_0x4c41dd,_0x5ca522,_0x566430);if(!_0x1ebcb6){logger[_0x2bc3f9(0x1fd)](_0x9b997[_0x2bc3f9(0x1e0)]);return;}try{let _0xb86c0f,_0x10dc1a;switch(_0x4c41dd){case TestFrameworkState[_0x2bc3f9(0x1d7)]:_0xb86c0f=_0x566430[_0x2bc3f9(0x1f3)],_0x10dc1a=TestInfo['getTestUUID'](_0xb86c0f['id']);if(_0x9b997[_0x2bc3f9(0x1c8)](_0x5ca522,HookState[_0x2bc3f9(0x22b)])){logger['debug'](_0x2bc3f9(0x24a)+_0xb86c0f['id']);const _0x255ce0={};_0x255ce0[_0x2bc3f9(0x216)]=_0x10dc1a,_0x255ce0[_0x2bc3f9(0x204)]=_0xb86c0f,_0x1ebcb6[_0x2bc3f9(0x254)](this[_0x2bc3f9(0x1c6)](_0x255ce0)),logger[_0x2bc3f9(0x1fd)](_0x2bc3f9(0x21c)+_0xb86c0f['id']),await this[_0x2bc3f9(0x275)](_0x1ebcb6,_0xb86c0f['id']);}else{if(_0x9b997[_0x2bc3f9(0x1c8)](_0x5ca522,HookState['POST'])){const _0x312e8b={};_0x312e8b['testUUID']=_0x10dc1a,_0x312e8b[_0x2bc3f9(0x204)]=_0xb86c0f,_0x1ebcb6[_0x2bc3f9(0x254)](this['parseCucumberTestResult'](_0x312e8b)),await this[_0x2bc3f9(0x275)](_0x1ebcb6,_0xb86c0f['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x9b997[_0x2bc3f9(0x1c8)](_0x5ca522,HookState['POST'])&&await this[_0x2bc3f9(0x261)](_0x1ebcb6,_0x4c41dd,_0x566430);break;default:if(CLIUtils[_0x2bc3f9(0x285)](_0x4c41dd[_0x2bc3f9(0x223)]()[_0x2bc3f9(0x27d)]('.')[0x1])){const _0x56ed02=await this['trackHookEvent'](_0x1ebcb6,_0x4c41dd,_0x5ca522,_0x566430);_0x1ebcb6[_0x2bc3f9(0x254)](_0x56ed02);}else logger[_0x2bc3f9(0x1fd)]('trackEvent:\x20unsupported\x20testFrameworkState='+_0x4c41dd+_0x2bc3f9(0x1cb)+_0x5ca522);break;}}catch(_0x5e6bc8){logger['error'](util['format'](_0x9b997[_0x2bc3f9(0x1c1)],_0x4c41dd,_0x5ca522,_0x566430[_0x2bc3f9(0x24f)],_0x5e6bc8));}_0x566430[_0x2bc3f9(0x222)]=_0x1ebcb6,await this['runHooks'](_0x1ebcb6,_0x4c41dd,_0x5ca522,_0x566430);}[a74_0x127b73(0x201)](_0x2f6152,_0x229e76,_0x3a3383={}){const _0x779c13=a74_0x127b73,_0x231377={};_0x231377[_0x779c13(0x1c0)]=function(_0x180cc5,_0xb33d29){return _0x180cc5===_0xb33d29;},_0x231377['FFNGV']=function(_0x3d9f25,_0x541465){return _0x3d9f25===_0x541465;};const _0x46e903=_0x231377;let _0x39da24=null;return(_0x46e903[_0x779c13(0x1c0)](_0x2f6152,TestFrameworkState['INIT_TEST'])||_0x46e903[_0x779c13(0x26e)](_0x2f6152,TestFrameworkState[_0x779c13(0x23a)]))&&this['trackCucumberInstance'](_0x2f6152,_0x3a3383),_0x39da24=TestFramework['getTrackedInstance'](),_0x39da24;}['trackCucumberInstance'](_0x392596,_0x11b036){const _0x31e60c=a74_0x127b73,_0x2e36a6=CLIUtils[_0x31e60c(0x20e)](),_0x275352=TrackedInstance[_0x31e60c(0x20a)](_0x2e36a6);let _0xf686e9=null;logger[_0x31e60c(0x1fd)](_0x31e60c(0x235)+_0x2e36a6+_0x31e60c(0x260)+_0x392596),_0xf686e9=new TestFrameworkInstance(_0x275352,this[_0x31e60c(0x203)](),this[_0x31e60c(0x262)](),_0x392596,HookState[_0x31e60c(0x23a)]),TestFramework['setTrackedInstance'](_0x275352,_0xf686e9),logger[_0x31e60c(0x1fd)](_0x31e60c(0x1ff)+_0x275352[_0x31e60c(0x1e7)]()+_0x31e60c(0x221)+_0x2e36a6);}['parseCucumberTest'](_0x4aa041){const _0x571bfe=a74_0x127b73,_0x2e1adb={};_0x2e1adb['eATYN']='No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test';const _0x394b5e=_0x2e1adb,{testUUID:_0x1d7d6d,testData:_0x4a8145}=_0x4aa041;if(!_0x4a8145||!_0x4a8145[_0x571bfe(0x255)])return logger[_0x571bfe(0x1fd)](_0x394b5e[_0x571bfe(0x226)]),{};const _0x2b48a7=_0x1d7d6d,_0x124a35=_0x4a8145[_0x571bfe(0x255)],_0xed0e06=this[_0x571bfe(0x203)]()[0x0],_0x382126=this[_0x571bfe(0x262)](),_0x1e8ce7={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xed0e06,[TestFrameworkConstants[_0x571bfe(0x1d5)]]:_0x382126[_0xed0e06],[TestFrameworkConstants[_0x571bfe(0x1bf)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x571bfe(0x22a)]]:{},[TestFrameworkConstants[_0x571bfe(0x245)]]:_0x2b48a7,[TestFrameworkConstants[_0x571bfe(0x21e)]]:TestFrameworkConstants[_0x571bfe(0x1cd)],[TestFrameworkConstants[_0x571bfe(0x250)]]:_0x4a8145[_0x571bfe(0x27a)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x4a8145[_0x571bfe(0x24c)]||'',[TestFrameworkConstants[_0x571bfe(0x1e1)]]:_0x124a35,[TestFrameworkConstants[_0x571bfe(0x22c)]]:_0x4a8145[_0x571bfe(0x27a)]||'',[TestFrameworkConstants[_0x571bfe(0x23d)]]:_0x4a8145[_0x571bfe(0x1eb)]||'',[TestFrameworkConstants[_0x571bfe(0x21b)]]:_0x4a8145['body']?.[_0x571bfe(0x276)]||null,[TestFrameworkConstants[_0x571bfe(0x27b)]]:_0x4a8145[_0x571bfe(0x20c)]||[],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4a8145[_0x571bfe(0x25c)]||new Date()[_0x571bfe(0x213)](),[TestFrameworkConstants[_0x571bfe(0x284)]]:_0x4a8145[_0x571bfe(0x214)]?.[0x0]||'',[TestFrameworkConstants[_0x571bfe(0x212)]]:_0x4a8145[_0x571bfe(0x214)]||[],[TestFrameworkConstants[_0x571bfe(0x1ef)]]:_0x4a8145[_0x571bfe(0x1f6)]?.[_0x571bfe(0x1c9)]||_0x4a8145[_0x571bfe(0x27a)]||'',[TestFrameworkConstants[_0x571bfe(0x224)]]:{},[TestFrameworkConstants[_0x571bfe(0x252)]]:_0x4a8145[_0x571bfe(0x1c7)]||{}};TestInfo[_0x571bfe(0x1f9)](_0x124a35,_0x1e8ce7),logger[_0x571bfe(0x1fd)](_0x571bfe(0x1ca)+_0x4a8145[_0x571bfe(0x27a)]+'\x20with\x20UUID:\x20'+_0x2b48a7);const _0x31ed20={};return _0x31ed20[_0x124a35]=_0x1e8ce7,_0x31ed20;}[a74_0x127b73(0x1d3)](_0x1b0789){const _0x5dfb50=a74_0x127b73,_0x5424c5={'RyGxr':_0x5dfb50(0x1bd),'LWigj':'unknown','iIHqG':function(_0x26c1bd,_0x4fe0a0){return _0x26c1bd===_0x4fe0a0;},'dboks':_0x5dfb50(0x264),'qMMBy':_0x5dfb50(0x1e6),'zMFoI':function(_0x3455e2,_0x45a1e3,_0x22f52d){return _0x3455e2(_0x45a1e3,_0x22f52d);},'CksjY':function(_0x5ae906,_0x504f7d){return _0x5ae906>_0x504f7d;}},{testUUID:_0x1cc10a,testData:_0x38fb38}=_0x1b0789;if(!_0x38fb38||!_0x38fb38[_0x5dfb50(0x255)])return logger[_0x5dfb50(0x1fd)](_0x5424c5['RyGxr']),{};const _0x486df3=this[_0x5dfb50(0x201)](TestFrameworkState[_0x5dfb50(0x1d7)],HookState[_0x5dfb50(0x1be)]),_0x393ca7=_0x38fb38[_0x5dfb50(0x255)],_0x356e21=TestInfo[_0x5dfb50(0x209)](_0x393ca7)||{},_0x3a8f42=_0x356e21?_0x356e21[TestFrameworkConstants[_0x5dfb50(0x224)]]||{}:{},_0x36d77c={..._0x356e21,[TestFrameworkConstants[_0x5dfb50(0x21e)]]:_0x38fb38[_0x5dfb50(0x225)]||_0x5424c5['LWigj'],[TestFrameworkConstants[_0x5dfb50(0x217)]]:_0x38fb38['finishedAt']||new Date()[_0x5dfb50(0x213)](),[TestFrameworkConstants[_0x5dfb50(0x23c)]]:new Date()[_0x5dfb50(0x213)](),[TestFrameworkConstants[_0x5dfb50(0x224)]]:_0x3a8f42,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x5dfb50(0x252)]]:_0x38fb38[_0x5dfb50(0x1c7)]||{}};_0x5424c5[_0x5dfb50(0x23e)](_0x38fb38['result'],_0x5424c5[_0x5dfb50(0x265)])&&_0x38fb38[_0x5dfb50(0x1d0)]&&(_0x36d77c[TestFrameworkConstants[_0x5dfb50(0x26a)]]=_0x38fb38[_0x5dfb50(0x229)]||_0x5424c5[_0x5dfb50(0x21f)],_0x36d77c[TestFrameworkConstants[_0x5dfb50(0x1d2)]]=_0x38fb38[_0x5dfb50(0x272)]||'',_0x36d77c[TestFrameworkConstants[_0x5dfb50(0x22f)]]=_0x38fb38[_0x5dfb50(0x1d0)]);const _0x519924=TestInfo[_0x5dfb50(0x209)](_0x393ca7)[TestFrameworkConstants[_0x5dfb50(0x248)]]||{},_0x5f313e=_0x5424c5[_0x5dfb50(0x26c)](getManualUploadLogs,_0x519924,_0x486df3['getAllData']()[_0x5dfb50(0x220)](_0x393ca7)[TestFrameworkConstants[_0x5dfb50(0x245)]]);if(_0x5424c5[_0x5dfb50(0x20f)](_0x5f313e[_0x5dfb50(0x24f)],0x0)){const _0xfcc16=_0x36d77c[TestFrameworkConstants['KEY_LOGS']]||[];_0x36d77c[TestFrameworkConstants[_0x5dfb50(0x1c5)]]=[..._0xfcc16,..._0x5f313e];}_0x38fb38[_0x5dfb50(0x1db)]&&_0x5424c5[_0x5dfb50(0x20f)](_0x38fb38[_0x5dfb50(0x1db)][_0x5dfb50(0x24f)],0x0)&&(_0x36d77c[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x38fb38['hooks']);TestInfo[_0x5dfb50(0x1f9)](_0x393ca7,_0x36d77c),logger[_0x5dfb50(0x1fd)]('Updated\x20cucumber\x20test\x20result:\x20'+_0x38fb38['name']+_0x5dfb50(0x269)+_0x38fb38[_0x5dfb50(0x225)]);const _0x3591fd={};return _0x3591fd[_0x393ca7]=_0x36d77c,_0x3591fd;}async[a74_0x127b73(0x24e)](_0x4f7a17,_0x3c9608,_0x421728,_0x3be067){const _0x229801=a74_0x127b73,_0x4e4dcd={'TcttH':_0x229801(0x1de),'BlnBZ':function(_0x11c696){return _0x11c696();},'vBmbo':function(_0x1d517b,_0xca2f53){return _0x1d517b in _0xca2f53;},'XQpPq':function(_0x45fbef,_0x50ab7c){return _0x45fbef in _0x50ab7c;},'aIoib':function(_0x5436ad,_0xe2e918){return _0x5436ad===_0xe2e918;},'yWJed':function(_0x4b093a,_0x1cd124){return _0x4b093a>_0x1cd124;},'chIjz':_0x229801(0x264),'dsbOb':'UnhandledError','Pjxsb':_0x229801(0x1fb),'DJJxn':function(_0xe817bf,_0x31ab89){return _0xe817bf!==_0x31ab89;}},{hookData:_0x51af7e}=_0x3be067;if(!_0x51af7e)return logger[_0x229801(0x1fd)](_0x4e4dcd[_0x229801(0x266)]),{};const _0x2f13a3=_0x51af7e['uuid']||_0x4e4dcd['BlnBZ'](uuidv4),_0x508d88=_0x51af7e[_0x229801(0x227)],_0x43fcca=_0x3c9608['toString']()[_0x229801(0x27d)]('.')[0x1],_0x4ad44f=TestInfo[_0x229801(0x209)](_0x508d88)[TestFrameworkConstants[_0x229801(0x224)]]||{},_0x3d2cc0=_0x4f7a17['getAllData']()[_0x229801(0x220)](_0x508d88);if(!_0x3d2cc0)return logger[_0x229801(0x1fd)](_0x229801(0x24d)+_0x508d88+_0x229801(0x1ea)),this[_0x229801(0x1df)](_0x4f7a17,_0x508d88,_0x3c9608,_0x421728,_0x3be067),{};let _0x2aa9ad=_0x3d2cc0[TestFrameworkConstants[_0x229801(0x22a)]];!_0x2aa9ad&&(_0x2aa9ad={});!_0x4e4dcd[_0x229801(0x219)](_0x43fcca,_0x2aa9ad)&&(_0x2aa9ad[_0x43fcca]=[]);let _0x159350=_0x3d2cc0[TestFrameworkConstants[_0x229801(0x228)]];!_0x159350&&(_0x159350={});!_0x4e4dcd[_0x229801(0x247)](_0x43fcca,_0x159350)&&(_0x159350[_0x43fcca]=[]);const _0x58e76e={[TestFrameworkConstants[_0x229801(0x22a)]]:_0x2aa9ad,[TestFrameworkConstants[_0x229801(0x228)]]:_0x159350},_0x4ade77={};_0x4ade77[_0x508d88]=_0x58e76e;const _0x1f08d2=_0x4ade77;if(_0x4e4dcd[_0x229801(0x257)](_0x421728,HookState[_0x229801(0x22b)])){const _0x45d3e1={[TestFrameworkConstants[_0x229801(0x258)]]:_0x2f13a3,[TestFrameworkConstants[_0x229801(0x243)]]:TestFrameworkConstants[_0x229801(0x230)],[TestFrameworkConstants[_0x229801(0x273)]]:_0x51af7e[_0x229801(0x1c3)],[TestFrameworkConstants[_0x229801(0x1e4)]]:[],[TestFrameworkConstants[_0x229801(0x249)]]:_0x51af7e[_0x229801(0x205)],[TestFrameworkConstants[_0x229801(0x224)]]:_0x4ad44f};_0x45d3e1[_0x229801(0x242)]=_0x43fcca;const _0x168669=_0x45d3e1;_0x2aa9ad[_0x43fcca]['push'](_0x168669),_0x1f08d2[_0x508d88][TestFrameworkConstants[_0x229801(0x231)]]=_0x43fcca,logger['debug'](_0x229801(0x236)+_0x43fcca+'\x20&\x20hook\x20=\x20'+_0x168669+_0x229801(0x251)+_0x3be067);}else{if(_0x4e4dcd[_0x229801(0x257)](_0x421728,HookState['POST'])){const _0x216a50=_0x51af7e[_0x229801(0x225)],_0x566d26=_0x2aa9ad[_0x43fcca]||[];logger['debug']('trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20'+_0x566d26+_0x229801(0x274)+_0x3be067);if(_0x4e4dcd[_0x229801(0x1e5)](_0x566d26['length'],0x0)){const _0x26ad05=_0x566d26[_0x229801(0x267)]();_0x4e4dcd[_0x229801(0x257)](_0x51af7e[_0x229801(0x225)],_0x4e4dcd[_0x229801(0x26f)])&&_0x51af7e[_0x229801(0x238)]?(_0x26ad05[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x51af7e[_0x229801(0x229)]||_0x4e4dcd[_0x229801(0x27e)],_0x26ad05[TestFrameworkConstants[_0x229801(0x1d8)]]=_0x51af7e[_0x229801(0x272)]||'',_0x26ad05[TestFrameworkConstants[_0x229801(0x22d)]]=_0x51af7e['failure_data']):_0x26ad05[TestFrameworkConstants[_0x229801(0x243)]]=_0x4e4dcd['Pjxsb'];_0x4e4dcd[_0x229801(0x256)](_0x216a50,TestFrameworkConstants[_0x229801(0x230)])&&(_0x26ad05[TestFrameworkConstants[_0x229801(0x243)]]=_0x216a50);_0x26ad05[TestFrameworkConstants[_0x229801(0x27c)]]=_0x51af7e[_0x229801(0x1cc)]||new Date()[_0x229801(0x213)](),_0x26ad05[TestFrameworkConstants[_0x229801(0x224)]]=_0x4ad44f;const _0x1ad785=_0x26ad05[TestFrameworkConstants['KEY_HOOK_ID']];!_0x159350[_0x43fcca]&&(_0x159350[_0x43fcca]=[]),_0x159350[_0x43fcca][_0x229801(0x1d9)](_0x26ad05),_0x1f08d2[_0x508d88][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x43fcca;}}}return logger[_0x229801(0x1fd)](_0x229801(0x1f2)+_0x51af7e[_0x229801(0x205)]+_0x229801(0x1f4)+_0x2f13a3+_0x229801(0x21a)+_0x508d88),_0x1f08d2;}[a74_0x127b73(0x1e8)](_0x141ba5){const _0x47d19d=a74_0x127b73,_0x1e1b5f={};_0x1e1b5f[_0x47d19d(0x237)]=_0x47d19d(0x263);const _0x485b62=_0x1e1b5f;try{const _0x1037e8=_0x141ba5[_0x47d19d(0x1f3)]?_0x141ba5['test']['id']:_0x141ba5[_0x47d19d(0x279)]['test_run_id'],_0x2f0ffb=_0x141ba5[_0x47d19d(0x222)],_0xbe43d2=_0x2f0ffb[_0x47d19d(0x1cf)](),_0x44b5e9=_0x2f0ffb[_0x47d19d(0x1ce)]()['get'](_0x1037e8);if(!_0x44b5e9)return logger[_0x47d19d(0x1fd)](_0x47d19d(0x1fa)+_0x1037e8),{};logger[_0x47d19d(0x1fd)](_0x47d19d(0x22e)+_0x1037e8);const {[TestFrameworkConstants[_0x47d19d(0x1d6)]]:_0x50fe55='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x22246b='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x45df64='',[TestFrameworkConstants[_0x47d19d(0x217)]]:_0x28f74d=''}=_0x44b5e9,_0x2d79c4=_0x2f0ffb['getCurrentTestState']()[_0x47d19d(0x223)]()[_0x47d19d(0x27d)]('.')[0x1],_0x1a234f=_0x2f0ffb[_0x47d19d(0x1fc)]()[_0x47d19d(0x223)]()[_0x47d19d(0x27d)]('.')[0x1],_0x678e87=global?.['browserstackPlatformIndex']??0x0,_0x10e847=_0x2f0ffb[_0x47d19d(0x1ee)](),_0x2147af=Buffer['from'](JSON[_0x47d19d(0x210)](_0x44b5e9))[_0x47d19d(0x223)](_0x485b62['gAtsD']),_0x559695={'hash':_0xbe43d2['getId'](),'threadId':_0xbe43d2['getThreadId']()[_0x47d19d(0x223)](),'processId':_0xbe43d2['getProcessId']()['toString']()},_0x4f8190={};_0x4f8190[_0x47d19d(0x1f5)]=_0x678e87,_0x4f8190['testFrameworkName']=_0x50fe55,_0x4f8190[_0x47d19d(0x202)]=_0x22246b,_0x4f8190[_0x47d19d(0x233)]=_0x2d79c4,_0x4f8190['hookState']=_0x1a234f,_0x4f8190['startedAt']=_0x45df64,_0x4f8190['endedAt']=_0x28f74d,_0x4f8190[_0x47d19d(0x255)]=_0x10e847,_0x4f8190[_0x47d19d(0x1d4)]=_0x2147af,_0x4f8190['executionContext']=_0x559695;const _0x2fbf2e=_0x4f8190;return logger['debug']('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x1037e8+_0x47d19d(0x1e3)+_0x2d79c4+_0x47d19d(0x211)+_0x1a234f),_0x2fbf2e;}catch(_0x34952e){return logger['error'](_0x47d19d(0x270)+util[_0x47d19d(0x27f)](_0x34952e)),{};}}async[a74_0x127b73(0x261)](_0x2f17a1,_0x1f8427,_0x257598){const _0x5ed2f7=a74_0x127b73,_0x1ae2a1={'lVyEw':function(_0x324bf4,_0x187ea1,_0x4839f2){return _0x324bf4(_0x187ea1,_0x4839f2);},'GFxXi':function(_0x8c4c9d,_0x3399eb){return _0x8c4c9d===_0x3399eb;},'YOGZc':_0x5ed2f7(0x268),'bTOTJ':function(_0x5c9803,_0x203db1){return _0x5c9803/_0x203db1;},'lsGyi':function(_0x263825,_0x408111){return _0x263825<_0x408111;},'uQKcv':function(_0x33f5a6,_0x841291){return _0x33f5a6*_0x841291;},'WFieg':function(_0x1c2171,_0x54a5e1){return _0x1c2171+_0x54a5e1;},'xUoIC':_0x5ed2f7(0x1c4)};try{const _0x20e894=_0x257598['testUUID'],_0x4587ad=_0x2f17a1[_0x5ed2f7(0x1ce)]()[_0x5ed2f7(0x220)](_0x20e894),{[TestFrameworkConstants[_0x5ed2f7(0x1d6)]]:_0x4ff493='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x36c9cd=''}=_0x4587ad,_0x5835b2=TestInfo[_0x5ed2f7(0x25d)](_0x20e894),_0x389696=TestInfo[_0x5ed2f7(0x209)](_0x20e894)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x24711b=_0x1ae2a1[_0x5ed2f7(0x1d1)](getMediaArtifactsLogs,_0x389696,_0x2f17a1[_0x5ed2f7(0x1ce)]()[_0x5ed2f7(0x220)](_0x20e894)[TestFrameworkConstants[_0x5ed2f7(0x245)]]),_0x5af420=(_0x5835b2||[])[_0x5ed2f7(0x1c2)](_0x24711b||[]);if(!_0x5af420||_0x1ae2a1[_0x5ed2f7(0x1f0)](_0x5af420[_0x5ed2f7(0x24f)],0x0)){logger['debug'](_0x1ae2a1[_0x5ed2f7(0x239)]);return;}const _0xa1e67d=0x28,_0x28bbd1=Math['ceil'](_0x1ae2a1[_0x5ed2f7(0x215)](_0x5af420[_0x5ed2f7(0x24f)],_0xa1e67d));for(let _0x3d3220=0x0;_0x1ae2a1[_0x5ed2f7(0x280)](_0x3d3220,_0x28bbd1);_0x3d3220++){const _0x1e6001=_0x1ae2a1['uQKcv'](_0x3d3220,_0xa1e67d),_0xf66857=_0x1ae2a1[_0x5ed2f7(0x21d)](_0x1e6001,_0xa1e67d),_0x30224a=_0x5af420[_0x5ed2f7(0x1dc)](_0x1e6001,_0xf66857),_0x42b79a={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x30224a,'testFrameworkName':_0x4ff493,'testFrameworkVersion':_0x36c9cd,'testFrameworkState':_0x1f8427[_0x5ed2f7(0x223)]()[_0x5ed2f7(0x27d)]('.')[0x1]};logger[_0x5ed2f7(0x1fd)](_0x5ed2f7(0x234)+_0x20e894+'\x20batch\x20'+_0x1ae2a1[_0x5ed2f7(0x21d)](_0x3d3220,0x1)+'/'+_0x28bbd1+'\x20payload='+util[_0x5ed2f7(0x20d)](_0x42b79a));const _0xf4d00=await GrpcClient[_0x5ed2f7(0x218)]()[_0x5ed2f7(0x25b)](_0x42b79a);logger[_0x5ed2f7(0x1fd)](_0x5ed2f7(0x234)+_0x20e894+_0x5ed2f7(0x25f)+_0x1ae2a1['WFieg'](_0x3d3220,0x1)+'/'+_0x28bbd1+_0x5ed2f7(0x20b)+util[_0x5ed2f7(0x20d)](_0xf4d00));}}catch(_0x4309c8){logger[_0x5ed2f7(0x1e2)](_0x5ed2f7(0x253)+util[_0x5ed2f7(0x27f)](_0x4309c8));}logger['debug'](_0x1ae2a1['xUoIC']);}[a74_0x127b73(0x1df)](_0x4b19a4,_0x7b413e,_0x2e39f1,_0x1ffb0c,_0x581176){const _0x3f7aba=a74_0x127b73,_0x48dba7={'testId':_0x7b413e,'testFrameworkState':_0x2e39f1,'hookState':_0x1ffb0c,'args':_0x581176,'timestamp':new Date()[_0x3f7aba(0x213)]()};_0x4b19a4[_0x3f7aba(0x241)](_0x7b413e,_0x48dba7),logger[_0x3f7aba(0x1fd)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x7b413e+',\x20state:\x20'+_0x2e39f1+',\x20hookState:\x20'+_0x1ffb0c);}async[a74_0x127b73(0x275)](_0x4b8093,_0x284945){const _0x20d5d0=a74_0x127b73,_0x96d76={};_0x96d76[_0x20d5d0(0x23b)]=function(_0x42740c,_0x59bb58){return _0x42740c>_0x59bb58;};const _0x31cee8=_0x96d76;if(!_0x4b8093['hasPendingHooks'](_0x284945))return;const _0xfa26a=_0x4b8093[_0x20d5d0(0x1f8)](_0x284945);logger[_0x20d5d0(0x1fd)]('Processing\x20'+_0xfa26a[_0x20d5d0(0x24f)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x284945);for(const _0x4c5190 of _0xfa26a){try{const _0x1a31d3=await this['trackHookEvent'](_0x4b8093,_0x4c5190['testFrameworkState'],_0x4c5190[_0x20d5d0(0x1f7)],_0x4c5190[_0x20d5d0(0x1ec)]);_0x1a31d3&&_0x31cee8[_0x20d5d0(0x23b)](Object[_0x20d5d0(0x208)](_0x1a31d3)[_0x20d5d0(0x24f)],0x0)&&_0x4b8093['addMultipleEntries'](_0x1a31d3),await this[_0x20d5d0(0x240)](_0x4b8093,_0x4c5190[_0x20d5d0(0x233)],_0x4c5190['hookState'],_0x4c5190[_0x20d5d0(0x1ec)]);}catch(_0x170628){logger[_0x20d5d0(0x1e2)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x284945+_0x20d5d0(0x24b)+_0x170628);}}_0x4b8093[_0x20d5d0(0x200)](_0x284945),logger['debug'](_0x20d5d0(0x1dd)+_0x284945);}}module[a74_0x127b73(0x1e9)]=CucumberTestFramework;
@@ -1 +1 @@
1
- const a71_0x2f4828=a71_0x218f;(function(_0x533a09,_0x5d60aa){const _0x4efb38=a71_0x218f,_0xeb4b9=_0x533a09();while(!![]){try{const _0x2eb69f=parseInt(_0x4efb38(0x1c9))/0x1*(parseInt(_0x4efb38(0x187))/0x2)+-parseInt(_0x4efb38(0x236))/0x3+-parseInt(_0x4efb38(0x1e7))/0x4+parseInt(_0x4efb38(0x1e3))/0x5+parseInt(_0x4efb38(0x119))/0x6+-parseInt(_0x4efb38(0x169))/0x7*(parseInt(_0x4efb38(0x111))/0x8)+parseInt(_0x4efb38(0x1eb))/0x9;if(_0x2eb69f===_0x5d60aa)break;else _0xeb4b9['push'](_0xeb4b9['shift']());}catch(_0x59daad){_0xeb4b9['push'](_0xeb4b9['shift']());}}}(a71_0x5189,0x3af54));function a71_0x5189(){const _0x270230=['push','\x20-\x20testId:\x20',',\x20remainingHooks=','UnhandledError','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','eQRdT',',\x20scope:\x20','toString','getHooksForTest','hookAnalyticsId','test','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','RrJvm','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','setTrackedInstance',',\x20updates=','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','testUUID','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','QCXMH','base64','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=',',\x20hook_run_uuid=',',\x20payload:\x20','SSEqv','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22',',\x20duration=','DEFAULT_TEST_RESULT','hookUUID','WqLIQ','getInstance','getPendingHooks','warn','error','KEY_TEST_FAILURE_TYPE','wqklS',',\x20test_run_uuid=','KEY_HOOK_RESULT','ScCke','title','KEY_TEST_FILE_PATH','trackJestInstance','getJestTestTags','getFileName','./constants/testFrameworkConstants.js','TwLNp','eIEYC','HOjeZ','11boXcJN','apply','duration','hooks','map','trackHookEvent','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','./testFramework',',\x20result=','Stored\x20pending\x20hook\x20for\x20testId:\x20','asyncError','failed','replace','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','BoiLy','LXdRB','KEY_HOOK_LAST_STARTED',',\x20filePath:\x20','event_ended_at','aiXot','DiDgD','../../../helpers/test-observability/utils','trackJestInstance:\x20instance\x20already\x20exists',',\x20screenshotLogs:\x20','POST','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','529170nwOfsO','qbXtG','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','getRootParentFile','1330884jGesdn','get','XTaaF','getJestTestScopes','4511619HuJStG','parseJestTest','MJyJW','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','filePath','xHVlC','substr','parse','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','getRef','pid','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=',',\x20error:\x20','Processing\x20','startedAt','file_name','EPbAD','hook_id','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','util','gHsyW','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','hookType',',\x20hook=','hook_result','getCurrentTestState','KEY_CUSTOM_TAGS','testFrameworkState','message','length','getAllData','RNFVM','storePendingHook',':testAnalyticsId','buildHookMapFromTest','VqPDa','removePendingHooks','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','kind','BEFORE_ALL','test_run_uuid','haFZU','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','addPendingHook','getJestFailureType','slice','NrgdX',',\x20exception=','KEY_TEST_META','IYkLn',',\x20hookState:\x20','SnsfC','hookMetadata','format','JihTG','Unknown\x20Test','stringify','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','JUNGd','xIvzt','KEY_HOOK_LAST_FINISHED','KEY_HOOK_FAILURE_REASON','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','toISOString',',\x20argsKeys=','KEY_TEST_STARTED_AT','instance','substring','maxArrayLength','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','351051XmEaPb','hSAgh','KEY_TEST_LOCATION','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=',',\x20storing\x20as\x20pending\x20hook','KEY_HOOKS_FINISHED',',\x20consoleLogs:\x20','../../../helpers/helper.js','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','keys','uiWLZ',',\x20hookData=',',\x20state:\x20','lQFFa','name',',\x20scopes=','\x20files','JestTestFramework','\x20(testIdentifier),\x20result=','mapTestHooks','endedAt','originalTest','createContext','getProcessId','KEY_TEST_FAILURE_REASON','KEY_TEST_FRAMEWORK_VERSION',',\x20totalHooks=','logCreatedEvent','TEoWU','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','AGcJY','../../../helpers/classLogger.js','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=',',\x20testFramework=','dddJY','finished_at','skipped','dSjiG','ATpMl','uyCXd','missing','KEY_TEST_FAILURE','NXPFz','DyEHL','LhjKC','isArray',',\x20target=',',\x20contextId=','testFrameworkVersion','\x20pending\x20hooks\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','splice','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','KEY_TEST_RERUN_NAME','Assert','MpCXL','scopes','processPendingHooks','trackJestInstance:\x20created\x20instance\x20for\x20target=','result','_ALL','KEY_HOOK_FAILURE_TYPE','../state/hookState.js','KEY_TEST_LOGS','cdNLO','getJestFailureReason',',\x20failureReason=','getTestFrameworks','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','addMultipleEntries','activeHooks','OBeic','skip','gXiTn','DEFAULT_HOOK_RESULT','getJestTestIdentifier','includes','KEY_TEST_FRAMEWORK_NAME','ALL','__workerDetails','test_run_id','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','kEPFW','wwSxx','hook_run_uuid','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','TLwZc','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','errorsDetailed','failure_reason','KEY_TEST_ID','KEY_TEST_RETRY_OF','hasPendingHooks','ceil','AmfSp','KEY_HOOK_ID','hookData','depth','\x20(testIdentifier),\x20tags=','KEY_HOOK_FAILURE','KEY_TEST_SCOPE','reverse','1075240IVEZWG','trackEvent','\x20(testIdentifier),\x20hookType=','KEY_LOGS',',\x20response=','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','getActiveHook','KEY_HOOKS_STARTED','1537062mAtyVr',',\x20failureType=','getAllPendingHookTestIds','\x20logs\x20for\x20testId:\x20','NKdHw','fmFKC',',\x20hookId=','RQSFo','\x20attachments','getId',',\x20testId=','jest-circus','KEY_TEST_RESULT_AT','KEY_AUTOMATE_SESSION_NAME','otrwy','DoOHt','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','type','TEST','KEY_TEST_RESULT','getCurrentHookState','getJestTestName','Wumnu','psnmf','workerInfo','beforeAll','unknown','getTestFrameworksVersions','lJCph','scope','getThreadId','xNSUh','parent','GiGMz','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','Unknown\x20error','tags','parallelIndex','debug','forEach','createTestFrameworkEventPayload','EcMRb','KEY_TEST_ATTACHMENTS','hook_type','../state/testFrameworkState.js','join','args','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','set','retryOf','AZGVw','\x20to\x20','KEY_TEST_SCOPES','vtxGn','getJestFailureData','ehrYs',',\x20state=','concat','isJestInternalHook','hrbBl','has',',\x20hookUUID=','\x20-\x20test_identifier=',',\x20hookType=','\x20hook','HcEGg','\x22\x20from\x20testData','PRE','KEY_EVENT_ENDED_AT','JeJtf','uEkwd','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_TEST_UUID','file','parseJestTestResult','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','split',',\x20hookState=','UWJIz','21YEanjr','delete','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','LcOEu','runHooks','findIndex','stack-trace','pop','removeActiveHook','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','hookState','resolveInstance','fmmwr','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','filter','testId','uuid','getJestTestFilePath','inspect','jXLSz','Ffxdr','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','setActiveHook','MUsBL','getTrackedInstance','AssertionError','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','afterAll','../instances/trackedInstance.js','KEY_HOOK_LOGS','42026ImdGwe','QUtfu','testData','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','KEY_TEST_NAME','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','Lckty','started_at','lIAqg','Error\x20in\x20createTestFrameworkEventPayload:\x20','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20',',\x20version=','qGurq','\x20&\x20hookState=','toUpperCase','KEY_TEST_TAGS','TXIgD','passed'];a71_0x5189=function(){return _0x270230;};return a71_0x5189();}const TestFramework=require(a71_0x2f4828(0x1d0)),TestFrameworkState=require(a71_0x2f4828(0x145)),HookState=require(a71_0x2f4828(0xe9)),{createClassLogger}=require(a71_0x2f4828(0xc8)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a71_0x2f4828(0x185)),TestFrameworkConstants=require(a71_0x2f4828(0x1c5)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x2f4828(0x23d)),{isInternalHook}=require(a71_0x2f4828(0x1de)),logger=createClassLogger(a71_0x2f4828(0x247)),{v4:uuidv4}=require(a71_0x2f4828(0x179)),util=require(a71_0x2f4828(0x200)),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient'),stackTrace=require(a71_0x2f4828(0x16f));class JestTestFramework extends TestFramework{constructor(_0x1a4f50,_0x34d7a6,_0x2bae92){const _0x1f7da7=a71_0x2f4828;super(_0x1a4f50,_0x34d7a6,_0x2bae92),this[_0x1f7da7(0xf1)]=new Map();}[a71_0x2f4828(0x17f)](_0x7ce72,_0x4d1054,_0x1fe79e){const _0x5627e4=a71_0x2f4828,_0x5d3694={};_0x5d3694[_0x5627e4(0x197)]=function(_0x483367,_0x79653a){return _0x483367||_0x79653a;};const _0x33a56c=_0x5d3694;if(_0x33a56c['TXIgD'](!_0x7ce72,!_0x4d1054)){logger[_0x5627e4(0x1b9)](_0x5627e4(0x1ff)+_0x7ce72+_0x5627e4(0x157)+_0x4d1054);return;}!this['activeHooks'][_0x5627e4(0x156)](_0x7ce72)&&this[_0x5627e4(0xf1)][_0x5627e4(0x14a)](_0x7ce72,[]);const _0x3448a3={'hookUUID':_0x4d1054,'hookType':_0x1fe79e,'startedAt':new Date()[_0x5627e4(0x22e)]()};this[_0x5627e4(0xf1)][_0x5627e4(0x1e8)](_0x7ce72)[_0x5627e4(0x199)](_0x3448a3),logger[_0x5627e4(0x13f)](_0x5627e4(0x165)+_0x7ce72+_0x5627e4(0x157)+_0x4d1054+_0x5627e4(0x159)+_0x1fe79e+_0x5627e4(0xc3)+this[_0x5627e4(0xf1)]['get'](_0x7ce72)[_0x5627e4(0x20a)]);}[a71_0x2f4828(0x171)](_0x80a62e,_0xefb5f4){const _0x337929=a71_0x2f4828,_0x3f1f26={};_0x3f1f26[_0x337929(0x11e)]=function(_0x3d5e76,_0xba2289){return _0x3d5e76||_0xba2289;},_0x3f1f26[_0x337929(0x1a5)]=function(_0x57987e,_0x307a9e){return _0x57987e!==_0x307a9e;},_0x3f1f26[_0x337929(0xd3)]=function(_0x31c7b1,_0x134f30){return _0x31c7b1===_0x134f30;};const _0xf7cc30=_0x3f1f26;if(_0xf7cc30[_0x337929(0x11e)](!_0x80a62e,!_0xefb5f4)){logger['warn']('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x80a62e+_0x337929(0x157)+_0xefb5f4);return;}if(this['activeHooks'][_0x337929(0x156)](_0x80a62e)){const _0x4fb017=this[_0x337929(0xf1)][_0x337929(0x1e8)](_0x80a62e),_0x458e94=_0x4fb017[_0x337929(0x16e)](_0x33ef67=>_0x33ef67[_0x337929(0x1b5)]===_0xefb5f4);_0xf7cc30['RrJvm'](_0x458e94,-0x1)?(_0x4fb017[_0x337929(0xdd)](_0x458e94,0x1),logger[_0x337929(0x13f)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x80a62e+_0x337929(0x157)+_0xefb5f4+_0x337929(0x19b)+_0x4fb017[_0x337929(0x20a)]),_0xf7cc30['NXPFz'](_0x4fb017[_0x337929(0x20a)],0x0)&&this[_0x337929(0xf1)][_0x337929(0x16a)](_0x80a62e)):logger['debug'](_0x337929(0x234)+_0x80a62e+',\x20hookUUID='+_0xefb5f4);}}[a71_0x2f4828(0x117)](_0x406352){const _0x52f5f2=a71_0x2f4828,_0x4353c6={};_0x4353c6[_0x52f5f2(0xe2)]=function(_0x183687,_0x44cb7d){return _0x183687>_0x44cb7d;},_0x4353c6['JQzoc']=function(_0x3f20a3,_0x198b18){return _0x3f20a3-_0x198b18;};const _0x4f8706=_0x4353c6;if(!_0x406352)return null;if(this[_0x52f5f2(0xf1)]['has'](_0x406352)){const _0x1bcd76=this['activeHooks'][_0x52f5f2(0x1e8)](_0x406352);if(_0x4f8706[_0x52f5f2(0xe2)](_0x1bcd76[_0x52f5f2(0x20a)],0x0)){const _0x238538=_0x1bcd76[_0x4f8706['JQzoc'](_0x1bcd76['length'],0x1)];return logger[_0x52f5f2(0x13f)](_0x52f5f2(0xc9)+_0x406352+_0x52f5f2(0x157)+_0x238538[_0x52f5f2(0x1b5)]+',\x20hookType='+_0x238538[_0x52f5f2(0x203)]),_0x238538;}}return null;}async[a71_0x2f4828(0x112)](_0x48d50e,_0x1684f5,_0x223a21={}){const _0x999d7c=a71_0x2f4828,_0x1128d3={};_0x1128d3['lIAqg']=_0x999d7c(0x1ee),_0x1128d3[_0x999d7c(0x1fc)]=function(_0x3ba869,_0x89051a){return _0x3ba869===_0x89051a;},_0x1128d3[_0x999d7c(0x130)]=function(_0x5754aa,_0x3791c0){return _0x5754aa||_0x3791c0;},_0x1128d3[_0x999d7c(0x1e4)]=_0x999d7c(0x1ef);const _0x5a5ebb=_0x1128d3;logger[_0x999d7c(0x13f)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x48d50e+_0x999d7c(0x167)+_0x1684f5+_0x999d7c(0x22f)+Object[_0x999d7c(0x23f)](_0x223a21)['join'](',')),await super[_0x999d7c(0x112)](_0x48d50e,_0x1684f5,_0x223a21);const _0x4ad7f8=this[_0x999d7c(0x174)](_0x48d50e,_0x1684f5,_0x223a21);if(!_0x4ad7f8){logger['debug'](_0x5a5ebb[_0x999d7c(0x18f)]);return;}try{let _0x2e017e,_0x5b17e1,_0x31a286;switch(_0x48d50e){case TestFrameworkState[_0x999d7c(0x12b)]:_0x2e017e=_0x223a21[_0x999d7c(0x1a3)];const _0x575c98={};_0x575c98[_0x999d7c(0x10c)]=0x2,_0x575c98['maxArrayLength']=0x3,logger['debug'](_0x999d7c(0x22d)+_0x1684f5+',\x20testData='+util[_0x999d7c(0x17b)](_0x2e017e,_0x575c98)),_0x31a286=this[_0x999d7c(0xf6)](_0x2e017e),_0x5b17e1=null,logger[_0x999d7c(0x13f)](_0x999d7c(0x1ae)+_0x31a286+'\x20(testIdentifier)');if(_0x5a5ebb[_0x999d7c(0x1fc)](_0x1684f5,HookState['PRE'])){logger['debug'](_0x999d7c(0xdb)+_0x31a286);const _0xb1ef8b={};_0xb1ef8b[_0x999d7c(0x1aa)]=_0x5b17e1,_0xb1ef8b[_0x999d7c(0x189)]=_0x2e017e,_0xb1ef8b[_0x999d7c(0x178)]=_0x31a286;const _0x1f4690=this[_0x999d7c(0x1ec)](_0xb1ef8b),_0x1b0b7c={};_0x1b0b7c['depth']=0x2,_0x1b0b7c[_0x999d7c(0x233)]=0x3,logger[_0x999d7c(0x13f)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util[_0x999d7c(0x17b)](_0x1f4690,_0x1b0b7c)),_0x4ad7f8[_0x999d7c(0xf0)](_0x1f4690),logger['debug'](_0x999d7c(0xef)+_0x31a286),await this[_0x999d7c(0xe4)](_0x4ad7f8,_0x31a286);}else{if(_0x5a5ebb['EPbAD'](_0x1684f5,HookState[_0x999d7c(0x1e1)])){logger[_0x999d7c(0x13f)](_0x999d7c(0x148)+_0x31a286);const _0x19c80a=_0x4ad7f8[_0x999d7c(0x20b)]()[_0x999d7c(0x1e8)](_0x31a286);logger[_0x999d7c(0x13f)](_0x999d7c(0x227)+util[_0x999d7c(0x17b)](Object[_0x999d7c(0x23f)](_0x5a5ebb['psnmf'](_0x19c80a,{}))));_0x19c80a&&_0x19c80a[TestFrameworkConstants[_0x999d7c(0x143)]]?logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object['keys'](_0x19c80a[TestFrameworkConstants[_0x999d7c(0x143)]])[_0x999d7c(0x20a)]+_0x999d7c(0x246)):logger['debug'](_0x5a5ebb[_0x999d7c(0x1e4)]);const _0x5b960a=_0x223a21['originalTest']||null,_0x40ca30={};_0x40ca30[_0x999d7c(0x1aa)]=_0x5b17e1,_0x40ca30[_0x999d7c(0x189)]=_0x2e017e,_0x40ca30[_0x999d7c(0x178)]=_0x31a286,_0x40ca30[_0x999d7c(0x24b)]=_0x5b960a;const _0x1c4f80=this['parseJestTestResult'](_0x40ca30),_0x1b9eda={};_0x1b9eda[_0x999d7c(0x10c)]=0x2,_0x1b9eda['maxArrayLength']=0x3,logger[_0x999d7c(0x13f)](_0x999d7c(0x183)+util[_0x999d7c(0x17b)](_0x1c4f80,_0x1b9eda)),_0x4ad7f8['addMultipleEntries'](_0x1c4f80),logger[_0x999d7c(0x13f)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x31a286),await this['processPendingHooks'](_0x4ad7f8,_0x31a286);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x5a5ebb['EPbAD'](_0x1684f5,HookState[_0x999d7c(0x1e1)])){const _0x4b1a52={};_0x4b1a52[_0x999d7c(0x10c)]=0x2,logger[_0x999d7c(0x13f)](_0x999d7c(0x17e)+util[_0x999d7c(0x17b)](_0x223a21,_0x4b1a52)),await this['sendLogCreatedEvent'](_0x4ad7f8,_0x48d50e,_0x223a21);}break;default:if(CLIUtils['matchHookRegex'](_0x48d50e[_0x999d7c(0x1a0)]()['split']('.')[0x1])){const _0x1c0124={};_0x1c0124[_0x999d7c(0x10c)]=0x2,_0x1c0124['maxArrayLength']=0x3,logger[_0x999d7c(0x13f)](_0x999d7c(0x102)+_0x48d50e+',\x20hookState='+_0x1684f5+_0x999d7c(0x241)+util['inspect'](_0x223a21[_0x999d7c(0x10b)],_0x1c0124));const _0x5a131a=await this[_0x999d7c(0x1ce)](_0x4ad7f8,_0x48d50e,_0x1684f5,_0x223a21),_0x4107c8={};_0x4107c8[_0x999d7c(0x10c)]=0x2,_0x4107c8[_0x999d7c(0x233)]=0x3,logger[_0x999d7c(0x13f)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x999d7c(0x17b)](_0x5a131a,_0x4107c8)),_0x4ad7f8[_0x999d7c(0xf0)](_0x5a131a);}else logger[_0x999d7c(0x13f)](_0x999d7c(0x19d)+_0x48d50e+_0x999d7c(0x194)+_0x1684f5);break;}logger['debug'](_0x999d7c(0x129)+_0x48d50e+_0x999d7c(0x167)+_0x1684f5);}catch(_0x2786b6){logger[_0x999d7c(0x1ba)](_0x999d7c(0x18a)+_0x48d50e+_0x999d7c(0x167)+_0x1684f5+_0x999d7c(0x21d)+util['format'](_0x2786b6));}_0x223a21[_0x999d7c(0x231)]=_0x4ad7f8,await this[_0x999d7c(0x16d)](_0x4ad7f8,_0x48d50e,_0x1684f5,_0x223a21);}[a71_0x2f4828(0xf6)](_0x3efd7b){const _0xdf8cad=a71_0x2f4828,_0xf9443={};_0xf9443[_0xdf8cad(0xce)]=_0xdf8cad(0x1ab);const _0x496ad0=_0xf9443;if(_0x3efd7b&&(_0x3efd7b['id']||_0x3efd7b[_0xdf8cad(0x179)])){const _0x30701d=_0x3efd7b['id']||_0x3efd7b['uuid'];return logger[_0xdf8cad(0x13f)](_0xdf8cad(0x1b2)+_0x30701d+_0xdf8cad(0x15c)),_0x30701d;}return logger[_0xdf8cad(0x13f)](_0x496ad0[_0xdf8cad(0xce)]),process[_0xdf8cad(0x1f6)]+_0xdf8cad(0x20e);}['resolveInstance'](_0x451a29,_0x10411b,_0x21eb7e={}){const _0x1a59c4=a71_0x2f4828;let _0x31dac5=null;return _0x31dac5=TestFramework['getTrackedInstance'](),!_0x31dac5?(logger[_0x1a59c4(0x13f)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x451a29),this['trackJestInstance'](_0x451a29,_0x21eb7e),_0x31dac5=TestFramework['getTrackedInstance'](),logger[_0x1a59c4(0x13f)]('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0x31dac5+_0x1a59c4(0xd8)+_0x31dac5?.['getContext']()?.['getId']())):logger[_0x1a59c4(0x13f)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x31dac5['getContext']()?.[_0x1a59c4(0x122)]()),_0x31dac5;}[a71_0x2f4828(0x1c2)](_0x152941,_0x5813e3){const _0x5839b1=a71_0x2f4828,_0x5eb071={};_0x5eb071[_0x5839b1(0x1c6)]=_0x5839b1(0x1df);const _0x1fbb77=_0x5eb071;if(TestFramework[_0x5839b1(0x181)]()){logger[_0x5839b1(0x13f)](_0x1fbb77[_0x5839b1(0x1c6)]);return;}const _0x4a3c07=CLIUtils['getCurrentInstanceName'](),_0x7d0886=TrackedInstance[_0x5839b1(0x24c)](_0x4a3c07);let _0x947ed3=null;logger[_0x5839b1(0x13f)](_0x5839b1(0xe5)+_0x4a3c07+_0x5839b1(0x152)+_0x152941),_0x947ed3=new TestFrameworkInstance(_0x7d0886,this[_0x5839b1(0xee)](),this[_0x5839b1(0x134)](),_0x152941,HookState['NONE']),TestFramework[_0x5839b1(0x1a7)](_0x7d0886,_0x947ed3),logger[_0x5839b1(0x13f)](_0x5839b1(0x239)+_0x7d0886['getId']()+_0x5839b1(0xd7)+_0x4a3c07+_0x5839b1(0xca)+this['getTestFrameworks']()[0x0]+_0x5839b1(0x192)+this[_0x5839b1(0x134)]()[this[_0x5839b1(0xee)]()[0x0]]);}[a71_0x2f4828(0x1ec)](_0x278de8){const _0x418e20=a71_0x2f4828,_0x1605c2={};_0x1605c2['wqpdI']=function(_0x2895be,_0x3958d5){return _0x2895be||_0x3958d5;},_0x1605c2[_0x418e20(0x1e9)]=_0x418e20(0x1a4);const _0x558712=_0x1605c2,{testUUID:_0x4c4b4e,testData:_0x56b41f,testId:_0x12c5ec}=_0x278de8;if(_0x558712['wqpdI'](!_0x56b41f,!_0x12c5ec))return logger[_0x418e20(0x13f)](_0x558712[_0x418e20(0x1e9)]),{};const _0x5e0c51=this[_0x418e20(0xee)]()[0x0],_0x2b5cfd=this['getTestFrameworksVersions'](),_0x4f57f6={};_0x4f57f6['depth']=0x2,_0x4f57f6[_0x418e20(0x233)]=0x3,logger[_0x418e20(0x13f)](_0x418e20(0x116)+util['inspect'](_0x56b41f,_0x4f57f6));const _0x432938=_0x56b41f?.[_0x418e20(0xe3)]||[],_0x39c0e8=this[_0x418e20(0x12e)](_0x56b41f),_0x4f68fc=this[_0x418e20(0x17a)](_0x56b41f),_0x2dc45f=_0x56b41f['fn']?_0x56b41f['fn'][_0x418e20(0x1a0)]():null,_0x2482b4=this[_0x418e20(0x1c3)](_0x56b41f),_0x1343a5={[TestFrameworkConstants[_0x418e20(0xf8)]]:_0x5e0c51,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2b5cfd[_0x5e0c51],[TestFrameworkConstants[_0x418e20(0xea)]]:[],[TestFrameworkConstants[_0x418e20(0x23b)]]:{},[TestFrameworkConstants[_0x418e20(0x118)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x418e20(0x1b4)],[TestFrameworkConstants[_0x418e20(0x126)]]:_0x39c0e8,[TestFrameworkConstants[_0x418e20(0x1c1)]]:_0x4f68fc,[TestFrameworkConstants[_0x418e20(0x105)]]:_0x12c5ec,[TestFrameworkConstants[_0x418e20(0x18b)]]:_0x39c0e8,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x4f68fc,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x2dc45f,[TestFrameworkConstants[_0x418e20(0x196)]]:_0x2482b4,[TestFrameworkConstants[_0x418e20(0x230)]]:_0x56b41f[_0x418e20(0x18e)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x418e20(0x10f)]]:_0x432938[0x0]||'',[TestFrameworkConstants[_0x418e20(0x14e)]]:_0x432938,[TestFrameworkConstants[_0x418e20(0xe0)]]:_0x39c0e8,[TestFrameworkConstants[_0x418e20(0x207)]]:{},[TestFrameworkConstants[_0x418e20(0x21e)]]:{}};_0x56b41f[_0x418e20(0x14b)]&&(_0x1343a5[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x56b41f[_0x418e20(0x14b)]);logger[_0x418e20(0x13f)](_0x418e20(0xde)+_0x39c0e8+_0x418e20(0x123)+_0x12c5ec+_0x418e20(0x10d)+JSON[_0x418e20(0x226)](_0x2482b4)+_0x418e20(0x245)+util[_0x418e20(0x17b)](_0x432938)+',\x20filePath='+_0x4f68fc);const _0x721128={};return _0x721128[_0x12c5ec]=_0x1343a5,_0x721128;}[a71_0x2f4828(0x164)](_0x5e9efb){const _0x1bb91d=a71_0x2f4828,_0xbc35b0={'TEoWU':function(_0x2b4967,_0x1f4584){return _0x2b4967===_0x1f4584;},'ScCke':_0x1bb91d(0x184),'MJyJW':_0x1bb91d(0x132),'lJCph':_0x1bb91d(0xf9),'Wumnu':_0x1bb91d(0xe7),'xNSUh':function(_0x115c11,_0x7424b5){return _0x115c11||_0x7424b5;},'VqPDa':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','AGcJY':function(_0x28b301,_0x36c8a7){return _0x28b301||_0x36c8a7;},'DiDgD':_0x1bb91d(0x133),'NKdHw':function(_0x5649eb,_0x104d75){return _0x5649eb>_0x104d75;},'HOjeZ':_0x1bb91d(0x1d4),'hSAgh':function(_0x40f947,_0x3a4061){return _0x40f947===_0x3a4061;},'iQBcs':_0x1bb91d(0xf3),'UWJIz':_0x1bb91d(0xcd),'NaxPU':_0x1bb91d(0x198),'wqklS':function(_0x2991de,_0x1f5247){return _0x2991de===_0x1f5247;},'BoiLy':function(_0xbd9c37,_0x334209){return _0xbd9c37!==_0x334209;},'uEkwd':function(_0x301e95,_0x37042a,_0x2eca4d,_0x1fb7e3){return _0x301e95(_0x37042a,_0x2eca4d,_0x1fb7e3);},'kEPFW':_0x1bb91d(0x149)},{testUUID:_0x1c36f3,testData:_0x5bd5f,testId:_0x1ab80a}=_0x5e9efb;if(_0xbc35b0[_0x1bb91d(0x138)](!_0x5bd5f,!_0x1ab80a))return logger[_0x1bb91d(0x13f)](_0xbc35b0[_0x1bb91d(0x210)]),{};const _0x596b82=this[_0x1bb91d(0x174)](TestFrameworkState[_0x1bb91d(0x12b)],HookState['POST']),_0x1f5bc7=_0x596b82[_0x1bb91d(0x20b)]()[_0x1bb91d(0x1e8)](_0x1ab80a),_0xff6cb7=_0xbc35b0[_0x1bb91d(0xc7)](_0x1f5bc7,{}),_0x481f23=_0xff6cb7?_0xff6cb7[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x37c156=_0xff6cb7[TestFrameworkConstants[_0x1bb91d(0x143)]];logger[_0x1bb91d(0x13f)](_0x1bb91d(0x191)+(_0x37c156?Object['keys'](_0x37c156)['length']:0x0)+_0x1bb91d(0x121));let _0x1a06c2=_0xbc35b0[_0x1bb91d(0x1dd)];if(_0x5bd5f[_0x1bb91d(0xe6)])_0x1a06c2=_0x5bd5f[_0x1bb91d(0xe6)];else{if(_0x5bd5f[_0x1bb91d(0x103)]&&_0xbc35b0[_0x1bb91d(0x11d)](_0x5bd5f['errorsDetailed'][_0x1bb91d(0x20a)],0x0))_0x1a06c2=_0xbc35b0['HOjeZ'];else _0xbc35b0[_0x1bb91d(0x237)](_0x5bd5f['status'],_0xbc35b0['iQBcs'])||_0xbc35b0[_0x1bb91d(0xc5)](_0x5bd5f['status'],_0xbc35b0[_0x1bb91d(0x168)])?_0x1a06c2=_0xbc35b0[_0x1bb91d(0x168)]:_0x1a06c2=_0xbc35b0['NaxPU'];}const _0x221248={..._0xff6cb7,[TestFrameworkConstants[_0x1bb91d(0x12c)]]:_0x1a06c2,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x5bd5f['finished_at']||new Date()[_0x1bb91d(0x22e)](),[TestFrameworkConstants[_0x1bb91d(0x125)]]:new Date()[_0x1bb91d(0x22e)](),[TestFrameworkConstants[_0x1bb91d(0x207)]]:_0x481f23,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x1bb91d(0x21e)]]:{}};if(_0xbc35b0[_0x1bb91d(0x1bc)](_0x1a06c2,_0xbc35b0[_0x1bb91d(0x1c8)])&&_0x5bd5f[_0x1bb91d(0x103)]){const _0x477244=this[_0x1bb91d(0xec)](_0x5bd5f),_0x4c154a=this[_0x1bb91d(0x21a)](_0x5bd5f),_0x208c22=this[_0x1bb91d(0x150)](_0x5bd5f);_0x221248[TestFrameworkConstants[_0x1bb91d(0x1bb)]]=_0x4c154a,_0x221248[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x477244,_0x221248[TestFrameworkConstants[_0x1bb91d(0xd2)]]=_0x208c22;}_0xbc35b0[_0x1bb91d(0x1d7)](_0x5bd5f[_0x1bb91d(0x1cb)],undefined)&&(_0x221248[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x5bd5f[_0x1bb91d(0x1cb)]);_0x5bd5f['retryOf']&&(_0x221248[TestFrameworkConstants[_0x1bb91d(0x106)]]=_0x5bd5f['retryOf']);const _0x515d60=_0x1f5bc7?_0x1f5bc7[TestFrameworkConstants[_0x1bb91d(0x143)]]||{}:{},_0x1afc4c=_0x1f5bc7?_0x1f5bc7[TestFrameworkConstants[_0x1bb91d(0x162)]]:_0x1c36f3,_0xc9c230=_0xbc35b0[_0x1bb91d(0x160)](getManualUploadLogs,_0x515d60,_0x1afc4c,_0x1ab80a);if(_0xbc35b0['NKdHw'](_0xc9c230['length'],0x0)){const _0x577d0e=_0x221248[TestFrameworkConstants[_0x1bb91d(0x114)]]||[];_0x221248[TestFrameworkConstants[_0x1bb91d(0x114)]]=[..._0x577d0e,..._0xc9c230];}const _0x160e0e=_0xff6cb7[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x32bd7b=_0xff6cb7[TestFrameworkConstants[_0x1bb91d(0x118)]]||{},_0xc4f7e5={..._0x160e0e},_0x8bdc47=_0xc4f7e5;Object['keys'](_0x32bd7b)[_0x1bb91d(0x140)](_0x46c8f1=>{const _0x31bf46=_0x1bb91d;!_0x8bdc47[_0x46c8f1]&&(_0x8bdc47[_0x46c8f1]=[]);const _0x214898=new Set((_0x8bdc47[_0x46c8f1]||[])['map'](_0xc4c0e9=>_0xc4c0e9[TestFrameworkConstants[_0x31bf46(0x10a)]]||_0xc4c0e9[_0x31bf46(0x1fd)]));(_0x32bd7b[_0x46c8f1]||[])['forEach'](_0x58a69f=>{const _0x1b8d06=_0x31bf46,_0x340ae5=_0x58a69f[TestFrameworkConstants[_0x1b8d06(0x10a)]]||_0x58a69f['hook_id'];if(!_0x214898[_0x1b8d06(0x156)](_0x340ae5)){const _0x4ec7e1={..._0x58a69f},_0x4823e4=_0x4ec7e1;!_0x4823e4[TestFrameworkConstants[_0x1b8d06(0x15e)]]&&!_0x4823e4[_0x1b8d06(0x1db)]&&(_0x4823e4[TestFrameworkConstants[_0x1b8d06(0x15e)]]=new Date()[_0x1b8d06(0x22e)]()),!_0x4823e4[TestFrameworkConstants[_0x1b8d06(0x1be)]]&&!_0x4823e4[_0x1b8d06(0x205)]&&(_0x4823e4[TestFrameworkConstants[_0x1b8d06(0x1be)]]=TestFrameworkConstants[_0x1b8d06(0xf5)]),_0x8bdc47[_0x46c8f1][_0x1b8d06(0x199)](_0x4823e4);}});});if(_0x5e9efb['originalTest']){this[_0x1bb91d(0x249)](_0x5e9efb['originalTest']);const _0x1eb357=this[_0x1bb91d(0x20f)](_0x5e9efb[_0x1bb91d(0x24b)]),_0x3f8cef=this[_0x1bb91d(0x1a1)](_0x5e9efb[_0x1bb91d(0x24b)]);_0x3f8cef[_0x1bb91d(0x140)](_0x44c92c=>{const _0x3efc9b=_0x1bb91d,_0x3424aa=_0x1eb357[_0x3efc9b(0x1e8)](_0x44c92c);if(_0x3424aa&&(_0xbc35b0['TEoWU'](_0x3424aa[_0x3efc9b(0x12a)],_0xbc35b0[_0x3efc9b(0x1bf)])||_0xbc35b0['TEoWU'](_0x3424aa[_0x3efc9b(0x12a)],_0xbc35b0[_0x3efc9b(0x1ed)]))){const _0x4e2485=_0x3424aa['type'][_0x3efc9b(0x195)]()[_0x3efc9b(0x1d5)](_0xbc35b0[_0x3efc9b(0x135)],_0xbc35b0[_0x3efc9b(0x12f)]),_0xe34cb8=_0x4e2485;!_0x8bdc47[_0xe34cb8]&&(_0x8bdc47[_0xe34cb8]=[]);const _0x1588a0=_0x8bdc47[_0xe34cb8]['find'](_0x1b65c5=>(_0x1b65c5[TestFrameworkConstants[_0x3efc9b(0x10a)]]||_0x1b65c5[_0x3efc9b(0x1fd)])===_0x44c92c);!_0x1588a0&&_0x8bdc47[_0xe34cb8][_0x3efc9b(0x199)]({'key':_0xe34cb8,[TestFrameworkConstants[_0x3efc9b(0x10a)]]:_0x44c92c,[TestFrameworkConstants[_0x3efc9b(0x1be)]]:TestFrameworkConstants[_0x3efc9b(0xf5)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x3efc9b(0x22e)](),[TestFrameworkConstants[_0x3efc9b(0x15e)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x3efc9b(0x186)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x3424aa[_0x3efc9b(0x244)]||_0x3424aa['type']+_0x3efc9b(0x15a),[TestFrameworkConstants[_0x3efc9b(0x207)]]:_0x481f23});}});}if(_0x5bd5f[_0x1bb91d(0x1cc)]&&_0xbc35b0[_0x1bb91d(0x11d)](_0x5bd5f['hooks']['length'],0x0))_0x221248[TestFrameworkConstants[_0x1bb91d(0x23b)]]=_0x5bd5f[_0x1bb91d(0x1cc)],logger[_0x1bb91d(0x13f)](_0xbc35b0[_0x1bb91d(0xfd)]);else _0xbc35b0['NKdHw'](Object[_0x1bb91d(0x23f)](_0x8bdc47)['length'],0x0)&&(_0x221248[TestFrameworkConstants[_0x1bb91d(0x23b)]]=_0x8bdc47,logger['debug'](_0x1bb91d(0xc6)+Object[_0x1bb91d(0x23f)](_0x8bdc47)[_0x1bb91d(0x146)](',')));const _0x4d31d9=this[_0x1bb91d(0x12e)](_0x5bd5f);logger[_0x1bb91d(0x13f)]('[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName='+_0x4d31d9+_0x1bb91d(0x123)+_0x1ab80a+_0x1bb91d(0x248)+_0x1a06c2+_0x1bb91d(0x1b3)+_0x5bd5f[_0x1bb91d(0x1cb)]);_0xbc35b0[_0x1bb91d(0x237)](_0x1a06c2,_0xbc35b0['HOjeZ'])&&logger['debug'](_0x1bb91d(0x172)+_0x1ab80a+_0x1bb91d(0x11a)+_0x221248[TestFrameworkConstants[_0x1bb91d(0x1bb)]]+_0x1bb91d(0xed)+_0x221248[TestFrameworkConstants[_0x1bb91d(0xc1)]]?.[_0x1bb91d(0x232)](0x0,0xc8));const _0x4f19c9={};return _0x4f19c9[_0x1ab80a]=_0x221248,_0x4f19c9;}[a71_0x2f4828(0x1ea)](_0x110bcf){const _0x58cad3=a71_0x2f4828,_0x5b36df={};_0x5b36df[_0x58cad3(0xcb)]=function(_0x53561f,_0x314914){return _0x53561f!==_0x314914;},_0x5b36df[_0x58cad3(0x120)]='ROOT_DESCRIBE_BLOCK';const _0x46710a=_0x5b36df,_0x2cf122={};_0x2cf122[_0x58cad3(0x10c)]=0x2,_0x2cf122[_0x58cad3(0x233)]=0x3,logger[_0x58cad3(0x13f)](_0x58cad3(0x1a6)+util[_0x58cad3(0x17b)](_0x110bcf,_0x2cf122));const _0x6d9e30=[];if(_0x110bcf&&_0x110bcf[_0x58cad3(0x139)]){let _0x218c3a=_0x110bcf[_0x58cad3(0x139)];while(_0x218c3a&&_0x218c3a['name']&&_0x46710a['dddJY'](_0x218c3a[_0x58cad3(0x244)],'')&&_0x46710a[_0x58cad3(0xcb)](_0x218c3a[_0x58cad3(0x244)],_0x46710a['RQSFo'])){_0x6d9e30[_0x58cad3(0x199)](_0x218c3a[_0x58cad3(0x244)]),_0x218c3a=_0x218c3a[_0x58cad3(0x139)];}}return _0x6d9e30[_0x58cad3(0x110)]();}['getJestTestName'](_0x732bc0){const _0x93be90=a71_0x2f4828,_0x497596={};_0x497596['AZGVw']=_0x93be90(0x225);const _0x166b9a=_0x497596;if(_0x732bc0['name'])return _0x732bc0['name'];if(_0x732bc0[_0x93be90(0x1c0)])return _0x732bc0[_0x93be90(0x1c0)];return _0x166b9a[_0x93be90(0x14c)];}['getJestTestTags'](_0x21c00e){const _0x2a0b5b=a71_0x2f4828,_0x56eb8d=[];if(_0x21c00e[_0x2a0b5b(0x13d)]&&Array['isArray'](_0x21c00e[_0x2a0b5b(0x13d)]))return _0x21c00e[_0x2a0b5b(0x13d)]['map'](_0x161b18=>_0x161b18['startsWith']('@')?_0x161b18[_0x2a0b5b(0x1f2)](0x1):_0x161b18);const _0x554961=this[_0x2a0b5b(0x12e)](_0x21c00e),_0x50dc63=_0x554961['match'](/@(\w+)/g);if(_0x50dc63)return _0x50dc63[_0x2a0b5b(0x1cd)](_0xa7ba3=>_0xa7ba3[_0x2a0b5b(0x21b)](0x1));return _0x21c00e[_0x2a0b5b(0xe3)]&&Array[_0x2a0b5b(0xd6)](_0x21c00e[_0x2a0b5b(0xe3)])&&_0x21c00e[_0x2a0b5b(0xe3)]['forEach'](_0x1ee964=>{const _0x2451e2=_0x2a0b5b,_0x41b5f2=_0x1ee964['match'](/@(\w+)/g);_0x41b5f2&&_0x41b5f2[_0x2451e2(0x140)](_0xccffff=>{const _0x330de9=_0x2451e2,_0xa69b52=_0xccffff[_0x330de9(0x21b)](0x1);!_0x56eb8d['includes'](_0xa69b52)&&_0x56eb8d[_0x330de9(0x199)](_0xa69b52);});}),_0x56eb8d;}['getJestTestFilePath'](_0x4bb0dd){const _0x3819af=a71_0x2f4828,_0x33479d={'SSEqv':function(_0x68a51,_0x37de5c){return _0x68a51(_0x37de5c);},'LXdRB':_0x3819af(0x16f)};if(_0x4bb0dd['file_name'])return _0x4bb0dd[_0x3819af(0x1fb)];if(_0x4bb0dd[_0x3819af(0x1d3)]){const _0x43fd61=_0x33479d[_0x3819af(0x1b1)](require,_0x33479d[_0x3819af(0x1d8)]);try{const _0x25559e=_0x43fd61[_0x3819af(0x1f3)](_0x4bb0dd[_0x3819af(0x1d3)]);if(_0x25559e[0x0]&&_0x25559e[0x0][_0x3819af(0x1c4)])return _0x25559e[0x0]['getFileName']();}catch(_0x4a4d9a){logger[_0x3819af(0x13f)](_0x3819af(0x228)+util[_0x3819af(0x223)](_0x4a4d9a));}}return null;}['getJestFailureReason'](_0x2daf26){const _0xae431a=a71_0x2f4828,_0x2f70a8={};_0x2f70a8[_0xae431a(0x151)]=function(_0x40ba69,_0x15ac67){return _0x40ba69>_0x15ac67;},_0x2f70a8[_0xae431a(0x128)]=_0xae431a(0x13c);const _0x395882=_0x2f70a8;if(_0x2daf26[_0xae431a(0x103)]&&_0x395882[_0xae431a(0x151)](_0x2daf26[_0xae431a(0x103)][_0xae431a(0x20a)],0x0))return util[_0xae431a(0x17b)](_0x2daf26[_0xae431a(0x103)][0x0]);if(_0x2daf26[_0xae431a(0x104)])return _0x2daf26[_0xae431a(0x104)];return _0x395882[_0xae431a(0x128)];}['getJestFailureType'](_0x35d8a7){const _0x5e73f5=a71_0x2f4828,_0x58b13e={};_0x58b13e[_0x5e73f5(0x101)]=_0x5e73f5(0xe1),_0x58b13e[_0x5e73f5(0x180)]=_0x5e73f5(0x182),_0x58b13e[_0x5e73f5(0x18d)]=_0x5e73f5(0x19c);const _0x23bfaa=_0x58b13e,_0x2155c5=this[_0x5e73f5(0xec)](_0x35d8a7);if(_0x2155c5&&_0x2155c5[_0x5e73f5(0xf7)](_0x23bfaa['TLwZc']))return _0x23bfaa[_0x5e73f5(0x180)];return _0x23bfaa['Lckty'];}[a71_0x2f4828(0x150)](_0x5474e9){const _0x1b71bb=a71_0x2f4828,_0x2e3e01={'AmfSp':function(_0x39b3e3,_0x51679e){return _0x39b3e3(_0x51679e);},'nvXod':'../../../helpers/test-observability/utils','haFZU':function(_0x542802,_0x25a03e){return _0x542802!==_0x25a03e;},'JeJtf':_0x1b71bb(0x1a3)},{failureData:_0xb6b180}=_0x2e3e01[_0x1b71bb(0x109)](require,_0x2e3e01['nvXod']),_0x5eb069=[];return _0x2e3e01[_0x1b71bb(0x217)](_0x5474e9[_0x1b71bb(0x103)],undefined)&&_0x5eb069[_0x1b71bb(0x199)](_0x5474e9[_0x1b71bb(0x103)],_0x2e3e01[_0x1b71bb(0x15f)]),_0xb6b180[_0x1b71bb(0x1ca)](null,_0x5eb069);}async['trackHookEvent'](_0xb4bc4f,_0x3cc64c,_0x58a6c3,_0x1efe5f){const _0x2f1101=a71_0x2f4828,_0x18c232={'jXLSz':_0x2f1101(0x202),'clePI':function(_0x61c407){return _0x61c407();},'HcEGg':function(_0x413563,_0x2faeaa){return _0x413563 in _0x2faeaa;},'JUNGd':function(_0xd5d205,_0x47b583){return _0xd5d205===_0x47b583;},'uiWLZ':function(_0x4f2924,_0x17f039){return _0x4f2924>_0x17f039;},'hrbBl':_0x2f1101(0x1d4),'LhjKC':_0x2f1101(0x198),'DyEHL':function(_0x570146,_0x915dc3){return _0x570146===_0x915dc3;},'gKtMU':function(_0x3f2f6e,_0xe01608){return _0x3f2f6e!==_0xe01608;}},{hookData:_0x4476bb}=_0x1efe5f,_0x3b8447=_0x58a6c3['toString'](),_0x4d5a68=_0x3cc64c[_0x2f1101(0x1a0)](),_0x1fd7d5={};_0x1fd7d5[_0x2f1101(0x10c)]=0x2,_0x1fd7d5[_0x2f1101(0x233)]=0x3,logger[_0x2f1101(0x13f)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0x4d5a68+_0x2f1101(0x167)+_0x3b8447+_0x2f1101(0x241)+util[_0x2f1101(0x17b)](_0x4476bb,_0x1fd7d5));if(!_0x4476bb)return logger[_0x2f1101(0x13f)](_0x18c232[_0x2f1101(0x17c)]),{};const _0xd307e5=_0x4476bb[_0x2f1101(0x179)]||_0x4476bb['hookAnalyticsId']||_0x18c232['clePI'](uuidv4),_0x1235b3=_0x4476bb[_0x2f1101(0xfb)]||this['getJestTestIdentifier'](_0x4476bb),_0x5b842a=_0x3cc64c[_0x2f1101(0x1a0)]()[_0x2f1101(0x166)]('.')[0x1],_0x4698aa=_0xb4bc4f['getAllData']()[_0x2f1101(0x1e8)](_0x1235b3),_0x16db35=_0x4698aa?_0x4698aa[TestFrameworkConstants[_0x2f1101(0x207)]]||{}:{};logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0xd307e5+_0x2f1101(0x123)+_0x1235b3+_0x2f1101(0x113)+_0x5b842a+',\x20hookState='+_0x3b8447);if(!_0x4698aa)return logger[_0x2f1101(0x13f)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x1235b3+_0x2f1101(0x23a)),this[_0x2f1101(0x20d)](_0xb4bc4f,_0x1235b3,_0x3cc64c,_0x58a6c3,_0x1efe5f),{};let _0x367061=_0x4698aa[TestFrameworkConstants[_0x2f1101(0x118)]];!_0x367061&&(_0x367061={});!_0x18c232[_0x2f1101(0x15b)](_0x5b842a,_0x367061)&&(_0x367061[_0x5b842a]=[]);let _0x3195f8=_0x4698aa[TestFrameworkConstants[_0x2f1101(0x23b)]];!_0x3195f8&&(_0x3195f8={});!_0x18c232['HcEGg'](_0x5b842a,_0x3195f8)&&(_0x3195f8[_0x5b842a]=[]);const _0x51c319={[TestFrameworkConstants[_0x2f1101(0x118)]]:_0x367061,[TestFrameworkConstants[_0x2f1101(0x23b)]]:_0x3195f8},_0x3f3485={};_0x3f3485[_0x1235b3]=_0x51c319;const _0xabc694=_0x3f3485;if(_0x18c232[_0x2f1101(0x229)](_0x58a6c3,HookState[_0x2f1101(0x15d)])){const _0x407fb8={'key':_0x5b842a,[TestFrameworkConstants[_0x2f1101(0x10a)]]:_0xd307e5,[TestFrameworkConstants[_0x2f1101(0x1be)]]:TestFrameworkConstants[_0x2f1101(0xf5)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x4476bb[_0x2f1101(0x18e)]||new Date()[_0x2f1101(0x22e)](),[TestFrameworkConstants[_0x2f1101(0x186)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x4476bb['name']||_0x4476bb[_0x2f1101(0x144)]||_0x5b842a,[TestFrameworkConstants[_0x2f1101(0x207)]]:_0x16db35};_0x367061[_0x5b842a][_0x2f1101(0x199)](_0x407fb8),_0xabc694[_0x1235b3][TestFrameworkConstants[_0x2f1101(0x1d9)]]=_0x5b842a;const _0x3e6d3c={};_0x3e6d3c[_0x2f1101(0x10c)]=0x2,logger[_0x2f1101(0x13f)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x5b842a+_0x2f1101(0x11f)+_0xd307e5+',\x20testId='+_0x1235b3+_0x2f1101(0x204)+util[_0x2f1101(0x17b)](_0x407fb8,_0x3e6d3c));}else{if(_0x18c232[_0x2f1101(0x229)](_0x58a6c3,HookState[_0x2f1101(0x1e1)])){const _0x35ad66=_0x4476bb[_0x2f1101(0xe6)]||(_0x4476bb[_0x2f1101(0x103)]&&_0x18c232[_0x2f1101(0x240)](_0x4476bb[_0x2f1101(0x103)][_0x2f1101(0x20a)],0x0)?_0x18c232['hrbBl']:_0x18c232[_0x2f1101(0xd5)]),_0xcbf1d2=_0x367061[_0x5b842a]||[];logger[_0x2f1101(0x13f)](_0x2f1101(0x1fe)+_0x5b842a+',\x20testId='+_0x1235b3+',\x20result='+_0x35ad66+',\x20hooksListLength='+_0xcbf1d2[_0x2f1101(0x20a)]);if(_0x18c232['uiWLZ'](_0xcbf1d2[_0x2f1101(0x20a)],0x0)){const _0x49b91a=_0xcbf1d2[_0x2f1101(0x170)]();_0x18c232[_0x2f1101(0xd4)](_0x35ad66,_0x18c232[_0x2f1101(0x155)])&&_0x4476bb[_0x2f1101(0x103)]?(_0x49b91a[TestFrameworkConstants[_0x2f1101(0xe8)]]=this['getJestFailureType'](_0x4476bb),_0x49b91a[TestFrameworkConstants[_0x2f1101(0x22c)]]=this[_0x2f1101(0xec)](_0x4476bb),_0x49b91a[TestFrameworkConstants[_0x2f1101(0x10e)]]=this[_0x2f1101(0x150)](_0x4476bb),logger[_0x2f1101(0x13f)](_0x2f1101(0x16b)+_0x5b842a+_0x2f1101(0x11a)+_0x49b91a[TestFrameworkConstants[_0x2f1101(0xe8)]]+',\x20failureReason='+_0x49b91a[TestFrameworkConstants[_0x2f1101(0x22c)]]?.[_0x2f1101(0x232)](0x0,0xc8))):_0x49b91a[TestFrameworkConstants[_0x2f1101(0x1be)]]=_0x18c232[_0x2f1101(0xd5)];_0x18c232['gKtMU'](_0x35ad66,TestFrameworkConstants[_0x2f1101(0xf5)])&&(_0x49b91a[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x35ad66);_0x49b91a[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x4476bb[_0x2f1101(0xcc)]||new Date()['toISOString'](),_0x49b91a[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x16db35;const _0x347575=_0x49b91a[TestFrameworkConstants[_0x2f1101(0x10a)]];!_0x3195f8[_0x5b842a]&&(_0x3195f8[_0x5b842a]=[]);_0x3195f8[_0x5b842a][_0x2f1101(0x199)](_0x49b91a),_0xabc694[_0x1235b3][TestFrameworkConstants[_0x2f1101(0x22b)]]=_0x5b842a;const _0x321b13={};_0x321b13[_0x2f1101(0x10c)]=0x2,logger[_0x2f1101(0x13f)](_0x2f1101(0xdc)+_0x5b842a+_0x2f1101(0x11f)+_0x347575+_0x2f1101(0x1d1)+_0x35ad66+_0x2f1101(0x204)+util[_0x2f1101(0x17b)](_0x49b91a,_0x321b13));}}}const _0x23a7f5={};return _0x23a7f5['depth']=0x2,_0x23a7f5[_0x2f1101(0x233)]=0x3,logger[_0x2f1101(0x13f)](_0x2f1101(0x1f7)+(_0x4476bb['hook_type']||_0x5b842a)+',\x20hookId='+_0xd307e5+',\x20testId='+_0x1235b3+_0x2f1101(0x1a8)+util[_0x2f1101(0x17b)](_0xabc694,_0x23a7f5)),_0xabc694;}[a71_0x2f4828(0x141)](_0x42b6b6){const _0x24ed93=a71_0x2f4828,_0x7fbc1b={};_0x7fbc1b[_0x24ed93(0x14f)]=_0x24ed93(0x1ad);const _0x52b288=_0x7fbc1b;try{const _0x2ea109=_0x42b6b6[_0x24ed93(0x1a3)]?this[_0x24ed93(0xf6)](_0x42b6b6['test']):_0x42b6b6[_0x24ed93(0x10b)][_0x24ed93(0xfb)],_0x4ca1f3=_0x42b6b6[_0x24ed93(0x231)],_0x3773ba=_0x4ca1f3['getContext'](),_0x1554b4=_0x4ca1f3['getAllData']()[_0x24ed93(0x1e8)](_0x2ea109);if(!_0x1554b4)return logger['debug'](_0x24ed93(0x235)+_0x2ea109),{};const {[TestFrameworkConstants[_0x24ed93(0xf8)]]:_0x25863b='',[TestFrameworkConstants[_0x24ed93(0xc2)]]:_0x277e1d='',[TestFrameworkConstants[_0x24ed93(0x230)]]:_0x5df8ba='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x1aad29=''}=_0x1554b4,_0x53b921=_0x4ca1f3[_0x24ed93(0x206)]()[_0x24ed93(0x1a0)]()[_0x24ed93(0x166)]('.')[0x1],_0x106cad=_0x4ca1f3[_0x24ed93(0x12d)]()[_0x24ed93(0x1a0)]()[_0x24ed93(0x166)]('.')[0x1],_0x23d99f=global?.['__workerDetails']?.['workerInfo']?.[_0x24ed93(0x13e)],_0x753a3b=_0x4ca1f3[_0x24ed93(0x1f5)](),_0x2234c3=Buffer['from'](JSON[_0x24ed93(0x226)](_0x1554b4))[_0x24ed93(0x1a0)](_0x52b288[_0x24ed93(0x14f)]),_0x38b131={'hash':_0x3773ba[_0x24ed93(0x122)](),'threadId':_0x3773ba[_0x24ed93(0x137)]()[_0x24ed93(0x1a0)](),'processId':_0x3773ba[_0x24ed93(0x24d)]()['toString']()},_0x4a855a={};_0x4a855a['platformIndex']=_0x23d99f,_0x4a855a['testFrameworkName']=_0x25863b,_0x4a855a[_0x24ed93(0xd9)]=_0x277e1d,_0x4a855a[_0x24ed93(0x208)]=_0x53b921,_0x4a855a[_0x24ed93(0x173)]=_0x106cad,_0x4a855a[_0x24ed93(0x1fa)]=_0x5df8ba,_0x4a855a[_0x24ed93(0x24a)]=_0x1aad29,_0x4a855a[_0x24ed93(0x179)]=_0x753a3b,_0x4a855a['eventJson']=_0x2234c3,_0x4a855a['executionContext']=_0x38b131,_0x4a855a['test_identifier']=_0x2ea109;const _0xdb67a1=_0x4a855a;return _0xdb67a1;}catch(_0x1dcf9d){return logger[_0x24ed93(0x1ba)](_0x24ed93(0x190)+util['format'](_0x1dcf9d)),{};}}async['sendLogCreatedEvent'](_0x554126,_0x271a74,_0x235e00){const _0x33f1e3=a71_0x2f4828,_0x3c317b={'Ffxdr':function(_0x5343bf,_0x33bda7){return _0x5343bf+_0x33bda7;},'QCXMH':_0x33f1e3(0xd1),'uyCXd':'none','otrwy':function(_0x15f8ab,_0x558af7){return _0x15f8ab>_0x558af7;},'qGurq':function(_0x5cecaf,_0x369a55,_0x2bceae,_0x35594f){return _0x5cecaf(_0x369a55,_0x2bceae,_0x35594f);},'xHVlC':function(_0x3eda55,_0x4c4387){return _0x3eda55-_0x4c4387;},'gXiTn':function(_0x154c5a,_0x1e1323){return _0x154c5a===_0x1e1323;},'GiGMz':function(_0x4d0891,_0x22f217){return _0x4d0891/_0x22f217;},'aiXot':function(_0xc8eb75,_0x2861a1){return _0xc8eb75<_0x2861a1;},'eQRdT':function(_0x5c36e4,_0x1e39b2){return _0x5c36e4*_0x1e39b2;},'LcOEu':function(_0xa34127,_0x51dfc4){return _0xa34127+_0x51dfc4;},'WqLIQ':function(_0x5845a0,_0x2dc4a4){return _0x5845a0+_0x2dc4a4;},'SAXrX':function(_0x4a1632,_0x2fcd07){return _0x4a1632+_0x2fcd07;}};try{const _0x36f800=_0x235e00[_0x33f1e3(0x1aa)]||_0x235e00[_0x33f1e3(0x178)],_0x44de00=Array['from'](_0x554126[_0x33f1e3(0x20b)]()[_0x33f1e3(0x23f)]()),_0x364b7a=_0x554126[_0x33f1e3(0x20b)]()[_0x33f1e3(0x1e8)](_0x36f800);if(!_0x364b7a){logger[_0x33f1e3(0x13f)](_0x33f1e3(0x161)+_0x36f800);return;}const {[TestFrameworkConstants[_0x33f1e3(0xf8)]]:_0x80d4a3='',[TestFrameworkConstants[_0x33f1e3(0xc2)]]:_0x1196f4=''}=_0x364b7a;let _0x56efb3=[];if(_0x364b7a&&_0x364b7a[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x33f1e3(0xd6)](_0x364b7a[TestFrameworkConstants[_0x33f1e3(0x114)]])){_0x56efb3=_0x364b7a[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x33f1e3(0x13f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x56efb3[_0x33f1e3(0x20a)]+_0x33f1e3(0x11c)+_0x36f800);const _0x2b0edc={[TestFrameworkConstants[_0x33f1e3(0x114)]]:[]},_0x54a405={};_0x54a405[_0x36f800]=_0x2b0edc,_0x554126[_0x33f1e3(0xf0)](_0x54a405),logger[_0x33f1e3(0x13f)](_0x33f1e3(0xdf)+_0x36f800);}else logger[_0x33f1e3(0x13f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x36f800);logger['debug'](_0x33f1e3(0x176)+_0x56efb3[_0x33f1e3(0x20a)]+'\x20for\x20testId:\x20'+_0x36f800);const _0x43fcbc=_0x56efb3[_0x33f1e3(0x177)](_0x5a9b14=>_0x5a9b14[_0x33f1e3(0x214)]==='TEST_SCREENSHOT');_0x3c317b['otrwy'](_0x43fcbc['length'],0x0)&&(logger['debug'](_0x33f1e3(0x23e)+_0x43fcbc[_0x33f1e3(0x20a)]+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x36f800),_0x43fcbc[_0x33f1e3(0x140)]((_0x416afe,_0x37e8c7)=>{const _0x28593c=_0x33f1e3;logger[_0x28593c(0x13f)](_0x28593c(0x213)+_0x3c317b[_0x28593c(0x17d)](_0x37e8c7,0x1)+'/'+_0x43fcbc[_0x28593c(0x20a)]+_0x28593c(0x158)+(_0x416afe['test_identifier']||_0x3c317b[_0x28593c(0x1ac)])+_0x28593c(0x1bd)+(_0x416afe[_0x28593c(0x216)]||_0x3c317b[_0x28593c(0x1ac)])+_0x28593c(0x1af)+(_0x416afe[_0x28593c(0xff)]||_0x3c317b[_0x28593c(0xd0)])+',\x20messageLength='+(_0x416afe[_0x28593c(0x209)]?.[_0x28593c(0x20a)]||0x0));}));const _0x331fb5=_0x364b7a[TestFrameworkConstants[_0x33f1e3(0x143)]]||{},_0x1e2de6=_0x3c317b[_0x33f1e3(0x193)](getMediaArtifactsLogs,_0x331fb5,null,_0x36f800),_0x369e20=(_0x56efb3||[])[_0x33f1e3(0x153)](_0x1e2de6||[]),_0x528a96=_0x43fcbc?.[_0x33f1e3(0x20a)]||0x0,_0x51d927=_0x3c317b[_0x33f1e3(0x1f1)](_0x56efb3?.[_0x33f1e3(0x20a)]||0x0,_0x528a96);logger[_0x33f1e3(0x13f)](_0x33f1e3(0x1d6)+_0x36f800+_0x33f1e3(0x23c)+_0x51d927+_0x33f1e3(0x1e0)+_0x528a96+',\x20attachmentLogs:\x20'+(_0x1e2de6?.['length']||0x0)+',\x20totalLogs:\x20'+_0x369e20['length']);if(!_0x369e20||_0x3c317b[_0x33f1e3(0xf4)](_0x369e20['length'],0x0)){logger[_0x33f1e3(0x13f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x36f800);return;}const _0x2f2a2c=0x28,_0x1822ae=Math[_0x33f1e3(0x108)](_0x3c317b[_0x33f1e3(0x13a)](_0x369e20['length'],_0x2f2a2c));for(let _0x4eea8a=0x0;_0x3c317b[_0x33f1e3(0x1dc)](_0x4eea8a,_0x1822ae);_0x4eea8a++){const _0x57ae45=_0x3c317b[_0x33f1e3(0x19e)](_0x4eea8a,_0x2f2a2c),_0x43112c=_0x3c317b[_0x33f1e3(0x16c)](_0x57ae45,_0x2f2a2c),_0x495ff0=_0x369e20[_0x33f1e3(0x21b)](_0x57ae45,_0x43112c),_0xb533fe=global?.[_0x33f1e3(0xfa)]?.[_0x33f1e3(0x131)]?.[_0x33f1e3(0x13e)]||0x0,_0x473bdb={'platformIndex':_0xb533fe,'logs':_0x495ff0,'testFrameworkName':_0x80d4a3,'testFrameworkVersion':_0x1196f4,'testFrameworkState':_0x271a74[_0x33f1e3(0x1a0)]()['split']('.')[0x1]},_0x139d7b={};_0x139d7b[_0x33f1e3(0x10c)]=0x3,_0x139d7b['maxArrayLength']=0x5,logger[_0x33f1e3(0x13f)](_0x33f1e3(0x212)+_0x3c317b[_0x33f1e3(0x1b6)](_0x4eea8a,0x1)+'/'+_0x1822ae+_0x33f1e3(0x19a)+_0x36f800+',\x20logsInBatch:\x20'+_0x495ff0['length']+',\x20platformIndex:\x20'+_0xb533fe+_0x33f1e3(0x1b0)+util[_0x33f1e3(0x17b)](_0x473bdb,_0x139d7b));const _0x4f5388=await GrpcClient[_0x33f1e3(0x1b7)]()[_0x33f1e3(0xc4)](_0x473bdb);logger[_0x33f1e3(0x13f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x3c317b['SAXrX'](_0x4eea8a,0x1)+'/'+_0x1822ae+_0x33f1e3(0x19a)+_0x36f800+_0x33f1e3(0x115)+util['inspect'](_0x4f5388));}if(_0x1e2de6&&_0x3c317b[_0x33f1e3(0x127)](_0x1e2de6['length'],0x0)&&_0x364b7a[TestFrameworkConstants[_0x33f1e3(0x143)]]){const _0x50c13d={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x252189={};_0x252189[_0x36f800]=_0x50c13d,_0x554126[_0x33f1e3(0xf0)](_0x252189);}logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x36f800+',\x20totalBatches:\x20'+_0x1822ae);}catch(_0x54394d){logger['error'](_0x33f1e3(0x13b)+(_0x235e00[_0x33f1e3(0x1aa)]||_0x235e00['testId'])+_0x33f1e3(0x1f8)+util[_0x33f1e3(0x223)](_0x54394d));}}[a71_0x2f4828(0x20d)](_0x3a3c84,_0x5efefd,_0x51cb07,_0x364a56,_0x5f09f3){const _0x334c55=a71_0x2f4828,_0x5e7ca0={};_0x5e7ca0[_0x334c55(0x21f)]=function(_0x29c3c2,_0x3fedf1){return _0x29c3c2===_0x3fedf1;},_0x5e7ca0[_0x334c55(0x243)]='beforeAll';const _0x44993b=_0x5e7ca0,{hookData:_0x444a00}=_0x5f09f3,_0x213fe3={'testId':_0x5efefd,'testFrameworkState':_0x51cb07,'hookState':_0x364a56,'args':_0x5f09f3,'timestamp':new Date()[_0x334c55(0x22e)]()};if(_0x44993b['IYkLn'](_0x51cb07,TestFrameworkState[_0x334c55(0x215)])&&_0x444a00){const _0x113669={};_0x113669[_0x334c55(0x1f0)]=_0x444a00[_0x334c55(0x1fb)]||_0x444a00['location'],_0x113669[_0x334c55(0x136)]=_0x444a00['scope']||_0x444a00['scopes']&&_0x444a00[_0x334c55(0xe3)][0x0]||'',_0x113669[_0x334c55(0x203)]=_0x44993b[_0x334c55(0x243)],_0x213fe3['hookMetadata']=_0x113669,logger[_0x334c55(0x13f)](_0x334c55(0xfc)+_0x5efefd+_0x334c55(0x1da)+_0x213fe3[_0x334c55(0x222)][_0x334c55(0x1f0)]+_0x334c55(0x19f)+_0x213fe3[_0x334c55(0x222)][_0x334c55(0x136)]);}_0x3a3c84['addPendingHook'](_0x5efefd,_0x213fe3),logger[_0x334c55(0x13f)](_0x334c55(0x1d2)+_0x5efefd+_0x334c55(0x242)+_0x51cb07+_0x334c55(0x220)+_0x364a56);}async[a71_0x2f4828(0xe4)](_0x5b1ee5,_0x2f0fe8){const _0x52b684=a71_0x2f4828,_0x3898ba={};_0x3898ba[_0x52b684(0x224)]=function(_0x3e7b7c,_0x2d96b6){return _0x3e7b7c>_0x2d96b6;},_0x3898ba[_0x52b684(0x21c)]=_0x52b684(0x1e5),_0x3898ba[_0x52b684(0xeb)]=function(_0x184ad5,_0x3a9476){return _0x184ad5===_0x3a9476;},_0x3898ba[_0x52b684(0x175)]=function(_0x4017e3,_0x1aeb5c){return _0x4017e3===_0x1aeb5c;},_0x3898ba[_0x52b684(0x201)]=function(_0x226e3e,_0x33a484){return _0x226e3e===_0x33a484;},_0x3898ba[_0x52b684(0x20c)]=_0x52b684(0x1cf),_0x3898ba['eIEYC']=_0x52b684(0x100);const _0xd25bf7=_0x3898ba;if(_0x5b1ee5[_0x52b684(0x107)](_0x2f0fe8)){const _0x176ea9=_0x5b1ee5['getPendingHooks'](_0x2f0fe8);logger[_0x52b684(0x13f)](_0x52b684(0x1f9)+_0x176ea9[_0x52b684(0x20a)]+_0x52b684(0xda)+_0x2f0fe8);for(const _0x5ef9ad of _0x176ea9){try{const _0x406163=await this[_0x52b684(0x1ce)](_0x5b1ee5,_0x5ef9ad[_0x52b684(0x208)],_0x5ef9ad[_0x52b684(0x173)],_0x5ef9ad['args']);_0x406163&&_0xd25bf7['JihTG'](Object[_0x52b684(0x23f)](_0x406163)[_0x52b684(0x20a)],0x0)&&_0x5b1ee5['addMultipleEntries'](_0x406163),await this['runHooks'](_0x5b1ee5,_0x5ef9ad[_0x52b684(0x208)],_0x5ef9ad['hookState'],_0x5ef9ad[_0x52b684(0x147)]);}catch(_0x5120ad){logger['error'](_0x52b684(0x18c)+_0x2f0fe8+_0x52b684(0x1f8)+_0x5120ad);}}_0x5b1ee5[_0x52b684(0x211)](_0x2f0fe8),logger[_0x52b684(0x13f)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x2f0fe8);}const _0x45b8f2=_0x5b1ee5[_0x52b684(0x20b)]()[_0x52b684(0x1e8)](_0x2f0fe8);if(_0x45b8f2){const _0x41de7f=_0x45b8f2[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x45b8f2[TestFrameworkConstants[_0x52b684(0x238)]],_0x32b5c0=_0x45b8f2[TestFrameworkConstants[_0x52b684(0x10f)]]||_0x45b8f2[TestFrameworkConstants[_0x52b684(0x14e)]]&&_0x45b8f2[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger['debug'](_0xd25bf7[_0x52b684(0x21c)]);const _0x5cc76b=_0x5b1ee5[_0x52b684(0x11b)]();for(const _0x424429 of _0x5cc76b){if(_0xd25bf7[_0x52b684(0xeb)](_0x424429,_0x2f0fe8))continue;if(_0x5b1ee5['hasPendingHooks'](_0x424429)){const _0x38e797=_0x5b1ee5[_0x52b684(0x1b8)](_0x424429);for(const _0x436d60 of _0x38e797){if(_0xd25bf7[_0x52b684(0xeb)](_0x436d60['testFrameworkState'],TestFrameworkState['BEFORE_ALL'])&&_0x436d60['hookMetadata']){const _0x15f6ee=_0x436d60[_0x52b684(0x222)][_0x52b684(0x1f0)],_0x1b763a=_0x436d60['hookMetadata'][_0x52b684(0x136)];if(_0xd25bf7['fmmwr'](_0x15f6ee,_0x41de7f)&&_0xd25bf7[_0x52b684(0x175)](_0x1b763a,_0x32b5c0)){logger[_0x52b684(0x13f)](_0x52b684(0x1a9)+_0x424429+',\x20currentTestId:\x20'+_0x2f0fe8+',\x20filePath:\x20'+_0x15f6ee+_0x52b684(0x19f)+_0x1b763a);_0x436d60[_0x52b684(0x147)]&&_0x436d60[_0x52b684(0x147)][_0x52b684(0x10b)]&&(_0x436d60[_0x52b684(0x147)]['hookData'][_0x52b684(0xfb)]=_0x2f0fe8,logger[_0x52b684(0x13f)](_0x52b684(0x1f4)+_0x424429+_0x52b684(0x14d)+_0x2f0fe8));try{const _0x467c52=await this['trackHookEvent'](_0x5b1ee5,_0x436d60['testFrameworkState'],_0x436d60[_0x52b684(0x173)],_0x436d60[_0x52b684(0x147)]);_0x467c52&&_0xd25bf7['JihTG'](Object[_0x52b684(0x23f)](_0x467c52)['length'],0x0)&&_0x5b1ee5[_0x52b684(0xf0)](_0x467c52);await this[_0x52b684(0x16d)](_0x5b1ee5,_0x436d60['testFrameworkState'],_0x436d60[_0x52b684(0x173)],_0x436d60[_0x52b684(0x147)]);const _0x51cb34=_0x5b1ee5[_0x52b684(0x1b8)](_0x424429)[_0x52b684(0x177)](_0x429fbf=>_0x429fbf!==_0x436d60);if(_0xd25bf7['gHsyW'](_0x51cb34[_0x52b684(0x20a)],0x0))_0x5b1ee5[_0x52b684(0x211)](_0x424429);else{_0x5b1ee5['removePendingHooks'](_0x424429);for(const _0x36c231 of _0x51cb34){_0x5b1ee5[_0x52b684(0x219)](_0x424429,_0x36c231);}}logger['debug'](_0xd25bf7['RNFVM']);}catch(_0x2ca9cf){logger[_0x52b684(0x1ba)](_0xd25bf7[_0x52b684(0x1c7)]);}}}}}}}}[a71_0x2f4828(0x249)](_0x714f89){const _0x107bf8=a71_0x2f4828,_0x34f9f5={'QUtfu':function(_0x18dfc2){return _0x18dfc2();}};if(!_0x714f89||!_0x714f89[_0x107bf8(0x139)])return;_0x714f89[_0x107bf8(0x139)][_0x107bf8(0x1cc)]&&Array[_0x107bf8(0xd6)](_0x714f89['parent'][_0x107bf8(0x1cc)])&&_0x714f89[_0x107bf8(0x139)]['hooks'][_0x107bf8(0x140)](_0x247df9=>{const _0x5b0ea9=_0x107bf8;!_0x247df9[_0x5b0ea9(0x1a2)]&&!_0x247df9['hookUUID']&&(_0x247df9[_0x5b0ea9(0x1a2)]=_0x34f9f5[_0x5b0ea9(0x188)](uuidv4),_0x247df9[_0x5b0ea9(0x1b5)]=_0x247df9[_0x5b0ea9(0x1a2)],logger['debug'](_0x5b0ea9(0x1e2)+_0x247df9['type']+',\x20hookUUID='+_0x247df9[_0x5b0ea9(0x1a2)]));}),this[_0x107bf8(0x249)](_0x714f89[_0x107bf8(0x139)]);}[a71_0x2f4828(0x1a1)](_0x4d8bc5){const _0x4bf85d=a71_0x2f4828,_0x47f9cd={'xIvzt':function(_0x4b2fd2,_0x43695d){return _0x4b2fd2(_0x43695d);}};if(!_0x4d8bc5||!_0x4d8bc5[_0x4bf85d(0x139)])return[];const _0x56fda3=[];return _0x4d8bc5[_0x4bf85d(0x139)][_0x4bf85d(0x1cc)]&&Array[_0x4bf85d(0xd6)](_0x4d8bc5[_0x4bf85d(0x139)][_0x4bf85d(0x1cc)])&&_0x4d8bc5['parent']['hooks'][_0x4bf85d(0x140)](_0xe8409f=>{const _0x16b55b=_0x4bf85d,_0x12cc4b=_0xe8409f[_0x16b55b(0x1a2)]||_0xe8409f['hookUUID'];_0x12cc4b&&!this[_0x16b55b(0x154)](_0xe8409f)&&!_0x47f9cd[_0x16b55b(0x22a)](isInternalHook,_0xe8409f['fn'])&&_0x56fda3['push'](_0x12cc4b);}),[..._0x56fda3,...this[_0x4bf85d(0x1a1)](_0x4d8bc5['parent'])];}[a71_0x2f4828(0x20f)](_0xd41428){const _0x320711=a71_0x2f4828,_0x23e9ee={'ATpMl':function(_0x314e80,_0x257730){return _0x314e80(_0x257730);},'ylGMN':_0x320711(0x133),'EcMRb':function(_0x123e33,_0x15ec6c){return _0x123e33(_0x15ec6c);},'OBeic':function(_0xf84b38,_0x8f9b26){return _0xf84b38(_0x8f9b26);}},_0x13dc89=new Map(),_0x502e29=_0x15ba51=>{const _0x37cef=_0x320711;if(!_0x15ba51||!_0x15ba51[_0x37cef(0x139)])return;_0x15ba51[_0x37cef(0x139)][_0x37cef(0x1cc)]&&Array[_0x37cef(0xd6)](_0x15ba51[_0x37cef(0x139)]['hooks'])&&_0x15ba51[_0x37cef(0x139)][_0x37cef(0x1cc)][_0x37cef(0x140)](_0x37c463=>{const _0x1c5511=_0x37cef,_0x2f18a2=_0x37c463[_0x1c5511(0x1a2)]||_0x37c463[_0x1c5511(0x1b5)];if(_0x2f18a2&&!this[_0x1c5511(0x154)](_0x37c463)&&!_0x23e9ee[_0x1c5511(0xcf)](isInternalHook,_0x37c463['fn'])){const _0x2021e3={};_0x2021e3[_0x1c5511(0x12a)]=_0x37c463[_0x1c5511(0x12a)]||_0x23e9ee['ylGMN'],_0x2021e3['name']=_0x37c463[_0x1c5511(0x244)]||'\x22'+_0x37c463[_0x1c5511(0x12a)]+'\x22\x20hook',_0x13dc89[_0x1c5511(0x14a)](_0x2f18a2,_0x2021e3);}}),_0x23e9ee[_0x37cef(0x142)](_0x502e29,_0x15ba51['parent']);};return _0x23e9ee[_0x320711(0xf2)](_0x502e29,_0xd41428),_0x13dc89;}[a71_0x2f4828(0x154)](_0x55736a){const _0x58a450=a71_0x2f4828,_0x5170d6={};_0x5170d6[_0x58a450(0xfe)]=_0x58a450(0x124),_0x5170d6['SnsfC']=_0x58a450(0x218);const _0x325db1=_0x5170d6;try{const _0x5996e9=this[_0x58a450(0x1e6)](_0x55736a);return _0x5996e9&&_0x5996e9['includes'](_0x325db1[_0x58a450(0xfe)]);}catch(_0x4e5d7c){logger['debug'](_0x325db1[_0x58a450(0x221)]);}return![];}[a71_0x2f4828(0x1e6)](_0x4353e8){const _0x468b5c=a71_0x2f4828;if(_0x4353e8[_0x468b5c(0x1d3)])try{const _0x45d94d=stackTrace[_0x468b5c(0x1f3)](_0x4353e8[_0x468b5c(0x1d3)]);return _0x45d94d[0x0]?_0x45d94d[0x0][_0x468b5c(0x1c4)]():null;}catch(_0x30e787){logger[_0x468b5c(0x13f)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x468b5c(0x223)](_0x30e787));}if(_0x4353e8[_0x468b5c(0x163)])return _0x4353e8[_0x468b5c(0x163)];return null;}}function a71_0x218f(_0x39f307,_0xe7affc){const _0x518903=a71_0x5189();return a71_0x218f=function(_0x218f1f,_0x4f052b){_0x218f1f=_0x218f1f-0xc1;let _0x3d5710=_0x518903[_0x218f1f];return _0x3d5710;},a71_0x218f(_0x39f307,_0xe7affc);}module['exports']=JestTestFramework;
1
+ const a75_0x1889a9=a75_0x5149;function a75_0x5149(_0x424a3c,_0x3b53c3){const _0x5e03dd=a75_0x5e03();return a75_0x5149=function(_0x5149c7,_0x5d7c7b){_0x5149c7=_0x5149c7-0x1ef;let _0x56bd81=_0x5e03dd[_0x5149c7];return _0x56bd81;},a75_0x5149(_0x424a3c,_0x3b53c3);}(function(_0x2ab2fe,_0x1e9bfc){const _0x3adcf5=a75_0x5149,_0x20f95a=_0x2ab2fe();while(!![]){try{const _0x43fd6a=parseInt(_0x3adcf5(0x24b))/0x1+-parseInt(_0x3adcf5(0x33a))/0x2*(-parseInt(_0x3adcf5(0x323))/0x3)+-parseInt(_0x3adcf5(0x325))/0x4+-parseInt(_0x3adcf5(0x21a))/0x5*(parseInt(_0x3adcf5(0x21e))/0x6)+parseInt(_0x3adcf5(0x369))/0x7*(-parseInt(_0x3adcf5(0x2d3))/0x8)+parseInt(_0x3adcf5(0x225))/0x9+parseInt(_0x3adcf5(0x300))/0xa;if(_0x43fd6a===_0x1e9bfc)break;else _0x20f95a['push'](_0x20f95a['shift']());}catch(_0x232f0e){_0x20f95a['push'](_0x20f95a['shift']());}}}(a75_0x5e03,0x59dd5));function a75_0x5e03(){const _0x598e3d=['ebdQU','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','oCHpU','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','keys',',\x20hookId=','parallelIndex','iCflN',',\x20scopes=','KEY_TEST_RESULT','createTestFrameworkEventPayload','code',',\x20hookUUID=','KEY_TEST_CODE','toString',',\x20totalLogs:\x20','match','\x20files','KEY_TEST_META','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20',',\x20hook=','activeHooks','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','tags','rksjj','KaDbC','FHueF','passed','parseJestTestResult',',\x20screenshotLogs:\x20',',\x20remainingHooks=','test_run_uuid','TEST_SCREENSHOT','NbmVI','sWyqB','stringify','asakF','KEY_TEST_FAILURE','../../../helpers/helper.js','./constants/testFrameworkConstants.js','KEY_TEST_TAGS','xOfps','KEY_HOOK_FAILURE_TYPE','KEY_TEST_FRAMEWORK_VERSION','util','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','ARYrh','RkkuQ','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','getJestFailureReason','result','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','Assert','testUUID','skip','XtSIK','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','substr','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','../instances/testFrameworkInstance.js','../TestInfo.js','getTestFrameworksVersions','KEY_TEST_SCOPE','map','getJestTestScopes','includes','DDVBY','scope','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','wGPSe','Uxvbd','mjgPn','from','KEY_HOOK_FAILURE_REASON','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','Stored\x20pending\x20hook\x20for\x20testId:\x20','skipped','format','has','testId','message','KEY_EVENT_ENDED_AT','TEST','wxvqJ','ubWHu','test_run_id','inspect','\x20&\x20hookState=','KEY_TEST_RERUN_NAME',',\x20consoleLogs:\x20','failure_reason',',\x20testData=','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','../state/testFrameworkState.js','KOyfy','name','splice','filter',',\x20testFramework=','552eIWrfl','removePendingHooks',',\x20result=','Osjjp','jVoEj','logCreatedEvent','get',',\x20hookState=','aUXcH','rocCC','\x20(testIdentifier),\x20result=','iPsNQ','\x20to\x20','file','QRoKe','\x22\x20hook','hasPendingHooks','instance','getInstance','IMBMg','lnQan','scopes','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','unknown','filePath','event_ended_at','addPendingHook',',\x20logsInBatch:\x20','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','getActiveHook','sendLogCreatedEvent',',\x20attachmentLogs:\x20','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','resolveInstance','hookMetadata','originalTest',',\x20duration=','yNIUI','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','Vabrx','DEFAULT_HOOK_RESULT','uuid','1624790ujReBZ','set','bYbDA','trackJestInstance:\x20instance\x20already\x20exists','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','file_name','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','YKFBk','type','length','getJestTestFilePath','warn','WDquZ','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=',',\x20messageLength=','xLUdY','depth','getCurrentTestState','LdwNF','hookType','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','\x20-\x20test_identifier=','KEY_TEST_FILE_PATH','./testFramework','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','YheAd','toISOString','ALL',',\x20target=','storePendingHook','setTrackedInstance','workerInfo','9801YRjMpk','args','2072144UycemK','KEY_TEST_FRAMEWORK_NAME','LOG_REPORT','ODhLc','oICWb','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','KEY_HOOKS_STARTED','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','guysH','hook_type','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','ONQBS','pmmLw','delete','KEY_TEST_STARTED_AT','uWGkP','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','fwYSG','FPQPY','afterAll','8MhFlZo','ROOT_DESCRIBE_BLOCK','../../../helpers/classLogger.js','none','rfssD','hook_run_uuid',',\x20error:\x20','isJestInternalHook','_ALL','KEY_TEST_DURATION','QWDpn','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','zAaww','kYUsz','matchHookRegex','KEY_CUSTOM_TAGS','hookAnalyticsId',',\x20scope:\x20',',\x20platformIndex:\x20','GAXRn','processPendingHooks','KEY_HOOK_RESULT','KEY_TEST_ENDED_AT','getRootParentFile','forEach','../cliUtils.js','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=',',\x20hookState:\x20','platformIndex',',\x20storing\x20as\x20pending\x20hook','KEY_HOOKS_FINISHED','\x20(testIdentifier),\x20hookType=','DcDDG','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','getThreadId','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','testData','mapTestHooks','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','vwgHI','getJestTestIdentifier','VKXfE','getTestFrameworks','POST',',\x20state:\x20','eventJson','13027fwbBBC','KEY_HOOK_LOGS','pIWzT','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','join','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','endedAt','DHRzb','kDLAc','LfCnQ','getHooksForTest','YiDRH','\x20hook','hooks','hookUUID','pop','KEY_TEST_ID','findIndex','__workerDetails','GVqBa','../instances/trackedInstance.js','KEY_TEST_ATTACHMENTS','parseJestTest','UnhandledError','OgiEp','finished_at','hookState','QJvab','getContext','ceil','parent',',\x20failureType=','RjRPe','status','BEazf','KsYMF','Odmoi','failed','KEY_TEST_FAILURE_REASON','getJestFailureType','getJestTestName',',\x20hookType=','hookData',',\x20version=',',\x20contextId=','body','buildHookMapFromTest','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=',',\x20hookData=','qRgck','AssertionError','xZSJw','testFrameworkVersion','sgFUJ','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','trackHookEvent','KEY_TEST_UUID','getRef','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','parse','hook_id','KEY_TEST_RESULT_AT','test','\x22\x20from\x20testData',',\x20state=','HgaOf','WRSHc','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','../../../helpers/test-observability/utils','fRVvS','push','base64','pid','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','yxfwx','duration','ItUZk','KEY_HOOK_FAILURE','getId','WceeF','errorsDetailed','debug','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','tKpat','exports','60885rhOyFr','beforeAll','getCurrentInstanceName','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','90eDPbdy','KEY_TEST_LOCATION','PRE','JestTestFramework','getJestFailureData','dSXGX','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','5781069BSNyie','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','KEY_TEST_SCOPES','apply','getFileName','DEFAULT_TEST_RESULT','../grpcClient','removeActiveHook','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','asyncError','getAllData','testFrameworkState','XjPBz','started_at','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','addMultipleEntries','xolpg','stack-trace','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','split',',\x20failureReason=','BEFORE_ALL','slice','tpcLQ','getCurrentHookState','EYvkU','testFrameworkName',',\x20filePath:\x20','KEY_TEST_FAILURE_TYPE',',\x20testId=','KEY_HOOK_ID','getPendingHooks','hook_result','ffXoa','Unknown\x20Test','\x20(testIdentifier),\x20tags=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','KEY_TEST_LOGS','379297GxmmBO','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','\x20screenshot\x20logs\x20for\x20testId:\x20','KEY_LOGS','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','browserstackPlatformIndex','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','\x20-\x20testId:\x20','find','KEY_EVENT_STARTED_AT','HayGy','isArray','NONE','\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','retryOf',',\x20payload:\x20',':testAnalyticsId','error','title','test_identifier','getProcessId','KEY_HOOK_LAST_STARTED','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','maxArrayLength','ERkKK','KEY_TEST_RETRY_OF','runHooks','getTrackedInstance','trackEvent'];a75_0x5e03=function(){return _0x598e3d;};return a75_0x5e03();}const TestFramework=require(a75_0x1889a9(0x319)),TestFrameworkState=require(a75_0x1889a9(0x2cd)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a75_0x1889a9(0x33c)),TestFrameworkInstance=require(a75_0x1889a9(0x2a9)),CLIUtils=require(a75_0x1889a9(0x353)),TrackedInstance=require(a75_0x1889a9(0x37d)),TestFrameworkConstants=require(a75_0x1889a9(0x293)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a75_0x1889a9(0x292)),{isInternalHook}=require(a75_0x1889a9(0x209)),logger=createClassLogger(a75_0x1889a9(0x221)),{v4:uuidv4}=require(a75_0x1889a9(0x2ff)),util=require(a75_0x1889a9(0x298)),TestInfo=require(a75_0x1889a9(0x2aa)),GrpcClient=require(a75_0x1889a9(0x22b)),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x3e13a9,_0x4b4ce7,_0x14e9d4){super(_0x3e13a9,_0x4b4ce7,_0x14e9d4),this['activeHooks']=new Map();}['setActiveHook'](_0x34a5b4,_0x96c05,_0x30f325){const _0x27f071=a75_0x1889a9,_0xda89d6={};_0xda89d6[_0x27f071(0x311)]=function(_0x1303ad,_0x27fc7e){return _0x1303ad||_0x27fc7e;};const _0x2e3c3b=_0xda89d6;if(_0x2e3c3b[_0x27f071(0x311)](!_0x34a5b4,!_0x96c05)){logger[_0x27f071(0x30c)](_0x27f071(0x361)+_0x34a5b4+_0x27f071(0x278)+_0x96c05);return;}!this[_0x27f071(0x281)][_0x27f071(0x2be)](_0x34a5b4)&&this['activeHooks'][_0x27f071(0x301)](_0x34a5b4,[]);const _0x3b2bb7={'hookUUID':_0x96c05,'hookType':_0x30f325,'startedAt':new Date()['toISOString']()};this[_0x27f071(0x281)]['get'](_0x34a5b4)['push'](_0x3b2bb7),logger[_0x27f071(0x216)](_0x27f071(0x2a0)+_0x34a5b4+_0x27f071(0x278)+_0x96c05+_0x27f071(0x392)+_0x30f325+',\x20totalHooks='+this[_0x27f071(0x281)]['get'](_0x34a5b4)[_0x27f071(0x30a)]);}[a75_0x1889a9(0x22c)](_0x4b3c74,_0xed65be){const _0x4539c0=a75_0x1889a9,_0x3a178c={};_0x3a178c['YiDRH']=function(_0x4f2fd1,_0x1e43db){return _0x4f2fd1||_0x1e43db;},_0x3a178c[_0x4539c0(0x28e)]=function(_0xf395b4,_0x3f29e4){return _0xf395b4!==_0x3f29e4;},_0x3a178c['QRoKe']=function(_0x131b81,_0xb4273f){return _0x131b81===_0xb4273f;};const _0x2f5c94=_0x3a178c;if(_0x2f5c94[_0x4539c0(0x374)](!_0x4b3c74,!_0xed65be)){logger[_0x4539c0(0x30c)](_0x4539c0(0x305)+_0x4b3c74+_0x4539c0(0x278)+_0xed65be);return;}if(this[_0x4539c0(0x281)][_0x4539c0(0x2be)](_0x4b3c74)){const _0x269100=this[_0x4539c0(0x281)][_0x4539c0(0x2d9)](_0x4b3c74),_0x10c12b=_0x269100[_0x4539c0(0x37a)](_0x5f5bd9=>_0x5f5bd9['hookUUID']===_0xed65be);_0x2f5c94['sWyqB'](_0x10c12b,-0x1)?(_0x269100[_0x4539c0(0x2d0)](_0x10c12b,0x1),logger['debug'](_0x4539c0(0x233)+_0x4b3c74+_0x4539c0(0x278)+_0xed65be+_0x4539c0(0x28a)+_0x269100['length']),_0x2f5c94[_0x4539c0(0x2e1)](_0x269100['length'],0x0)&&this[_0x4539c0(0x281)][_0x4539c0(0x333)](_0x4b3c74)):logger[_0x4539c0(0x216)](_0x4539c0(0x1ff)+_0x4b3c74+_0x4539c0(0x278)+_0xed65be);}}[a75_0x1889a9(0x2f0)](_0x3ebdc6){const _0x244e57=a75_0x1889a9,_0x22d85e={};_0x22d85e[_0x244e57(0x329)]=function(_0x12404e,_0x518206){return _0x12404e>_0x518206;},_0x22d85e[_0x244e57(0x2c3)]=function(_0x2894cc,_0x2df3be){return _0x2894cc-_0x2df3be;};const _0x385ef7=_0x22d85e;if(!_0x3ebdc6)return null;if(this[_0x244e57(0x281)]['has'](_0x3ebdc6)){const _0x5c5468=this[_0x244e57(0x281)][_0x244e57(0x2d9)](_0x3ebdc6);if(_0x385ef7['oICWb'](_0x5c5468['length'],0x0)){const _0x2165b0=_0x5c5468[_0x385ef7['wxvqJ'](_0x5c5468['length'],0x1)];return logger[_0x244e57(0x216)](_0x244e57(0x250)+_0x3ebdc6+_0x244e57(0x278)+_0x2165b0[_0x244e57(0x377)]+',\x20hookType='+_0x2165b0['hookType']),_0x2165b0;}}return null;}async[a75_0x1889a9(0x269)](_0x55c0cc,_0x30438d,_0x11c24e={}){const _0x19fd4f=a75_0x1889a9,_0x16cd04={};_0x16cd04[_0x19fd4f(0x328)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x16cd04[_0x19fd4f(0x30d)]=function(_0xb96878,_0x13606c){return _0xb96878===_0x13606c;},_0x16cd04[_0x19fd4f(0x214)]=function(_0x221306,_0x106a93){return _0x221306===_0x106a93;},_0x16cd04[_0x19fd4f(0x36b)]=function(_0x2a527d,_0x428b9d){return _0x2a527d||_0x428b9d;},_0x16cd04[_0x19fd4f(0x344)]=_0x19fd4f(0x2b9);const _0x378537=_0x16cd04;logger[_0x19fd4f(0x216)](_0x19fd4f(0x336)+_0x55c0cc+_0x19fd4f(0x2da)+_0x30438d+',\x20argsKeys='+Object[_0x19fd4f(0x270)](_0x11c24e)[_0x19fd4f(0x36d)](',')),await super['trackEvent'](_0x55c0cc,_0x30438d,_0x11c24e);const _0xaf6cf7=this[_0x19fd4f(0x2f7)](_0x55c0cc,_0x30438d,_0x11c24e);if(!_0xaf6cf7){logger[_0x19fd4f(0x216)](_0x378537['ODhLc']);return;}try{let _0x17a3ec,_0x51dc3e,_0x7e573c;switch(_0x55c0cc){case TestFrameworkState['TEST']:_0x17a3ec=_0x11c24e[_0x19fd4f(0x203)];const _0x5bcd81={};_0x5bcd81['depth']=0x2,_0x5bcd81['maxArrayLength']=0x3,logger[_0x19fd4f(0x216)](_0x19fd4f(0x217)+_0x30438d+_0x19fd4f(0x2cb)+util[_0x19fd4f(0x2c6)](_0x17a3ec,_0x5bcd81)),_0x7e573c=this[_0x19fd4f(0x363)](_0x17a3ec),_0x51dc3e=null,logger[_0x19fd4f(0x216)](_0x19fd4f(0x29d)+_0x7e573c+'\x20(testIdentifier)');if(_0x378537[_0x19fd4f(0x30d)](_0x30438d,HookState['PRE'])){logger[_0x19fd4f(0x216)](_0x19fd4f(0x31b)+_0x7e573c);const _0x4546d6={};_0x4546d6[_0x19fd4f(0x2a3)]=_0x51dc3e,_0x4546d6['testData']=_0x17a3ec,_0x4546d6[_0x19fd4f(0x2bf)]=_0x7e573c;const _0x5e25b9=this[_0x19fd4f(0x37f)](_0x4546d6),_0x468502={};_0x468502[_0x19fd4f(0x312)]=0x2,_0x468502[_0x19fd4f(0x264)]=0x3,logger['debug'](_0x19fd4f(0x299)+util[_0x19fd4f(0x2c6)](_0x5e25b9,_0x468502)),_0xaf6cf7['addMultipleEntries'](_0x5e25b9),logger[_0x19fd4f(0x216)](_0x19fd4f(0x2f5)+_0x7e573c),await this[_0x19fd4f(0x34e)](_0xaf6cf7,_0x7e573c);}else{if(_0x378537[_0x19fd4f(0x214)](_0x30438d,HookState['POST'])){logger[_0x19fd4f(0x216)](_0x19fd4f(0x26b)+_0x7e573c);const _0x1666a7=_0xaf6cf7['getAllData']()[_0x19fd4f(0x2d9)](_0x7e573c);logger[_0x19fd4f(0x216)](_0x19fd4f(0x22d)+util[_0x19fd4f(0x2c6)](Object['keys'](_0x378537['pIWzT'](_0x1666a7,{}))));_0x1666a7&&_0x1666a7[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x19fd4f(0x216)](_0x19fd4f(0x36e)+Object[_0x19fd4f(0x270)](_0x1666a7[TestFrameworkConstants[_0x19fd4f(0x37e)]])[_0x19fd4f(0x30a)]+_0x19fd4f(0x27d)):logger[_0x19fd4f(0x216)](_0x378537[_0x19fd4f(0x344)]);const _0x91575d=_0x11c24e['originalTest']||null,_0x5d36ed={};_0x5d36ed[_0x19fd4f(0x2a3)]=_0x51dc3e,_0x5d36ed[_0x19fd4f(0x35e)]=_0x17a3ec,_0x5d36ed[_0x19fd4f(0x2bf)]=_0x7e573c,_0x5d36ed[_0x19fd4f(0x2f9)]=_0x91575d;const _0x1bff03=this[_0x19fd4f(0x288)](_0x5d36ed),_0x10f21e={};_0x10f21e[_0x19fd4f(0x312)]=0x2,_0x10f21e['maxArrayLength']=0x3,logger[_0x19fd4f(0x216)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util[_0x19fd4f(0x2c6)](_0x1bff03,_0x10f21e)),_0xaf6cf7['addMultipleEntries'](_0x1bff03),logger[_0x19fd4f(0x216)](_0x19fd4f(0x27f)+_0x7e573c),await this[_0x19fd4f(0x34e)](_0xaf6cf7,_0x7e573c);}}break;case TestFrameworkState[_0x19fd4f(0x327)]:if(_0x378537[_0x19fd4f(0x214)](_0x30438d,HookState[_0x19fd4f(0x366)])){const _0xb27530={};_0xb27530[_0x19fd4f(0x312)]=0x2,logger[_0x19fd4f(0x216)](_0x19fd4f(0x304)+util[_0x19fd4f(0x2c6)](_0x11c24e,_0xb27530)),await this[_0x19fd4f(0x2f1)](_0xaf6cf7,_0x55c0cc,_0x11c24e);}break;default:if(CLIUtils[_0x19fd4f(0x348)](_0x55c0cc[_0x19fd4f(0x27a)]()[_0x19fd4f(0x238)]('.')[0x1])){const _0x134cc6={};_0x134cc6[_0x19fd4f(0x312)]=0x2,_0x134cc6[_0x19fd4f(0x264)]=0x3,logger[_0x19fd4f(0x216)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState='+_0x55c0cc+_0x19fd4f(0x2da)+_0x30438d+_0x19fd4f(0x1f5)+util[_0x19fd4f(0x2c6)](_0x11c24e[_0x19fd4f(0x1ef)],_0x134cc6));const _0x324295=await this['trackHookEvent'](_0xaf6cf7,_0x55c0cc,_0x30438d,_0x11c24e),_0x27dfa4={};_0x27dfa4[_0x19fd4f(0x312)]=0x2,_0x27dfa4['maxArrayLength']=0x3,logger[_0x19fd4f(0x216)](_0x19fd4f(0x1fb)+util[_0x19fd4f(0x2c6)](_0x324295,_0x27dfa4)),_0xaf6cf7[_0x19fd4f(0x234)](_0x324295);}else logger[_0x19fd4f(0x216)](_0x19fd4f(0x30f)+_0x55c0cc+_0x19fd4f(0x2c7)+_0x30438d);break;}logger[_0x19fd4f(0x216)](_0x19fd4f(0x354)+_0x55c0cc+_0x19fd4f(0x2da)+_0x30438d);}catch(_0x4681af){logger[_0x19fd4f(0x25e)](_0x19fd4f(0x1f4)+_0x55c0cc+_0x19fd4f(0x2da)+_0x30438d+',\x20exception='+util[_0x19fd4f(0x2bd)](_0x4681af));}_0x11c24e[_0x19fd4f(0x2e4)]=_0xaf6cf7,await this[_0x19fd4f(0x267)](_0xaf6cf7,_0x55c0cc,_0x30438d,_0x11c24e);}[a75_0x1889a9(0x363)](_0x46d4fa){const _0x3b6309=a75_0x1889a9,_0x4a9a05={};_0x4a9a05[_0x3b6309(0x2de)]=_0x3b6309(0x282);const _0x257570=_0x4a9a05;if(_0x46d4fa&&(_0x46d4fa['id']||_0x46d4fa[_0x3b6309(0x2ff)])){const _0x3d6786=_0x46d4fa['id']||_0x46d4fa['uuid'];return logger['debug'](_0x3b6309(0x35d)+_0x3d6786+_0x3b6309(0x204)),_0x3d6786;}return logger[_0x3b6309(0x216)](_0x257570[_0x3b6309(0x2de)]),process[_0x3b6309(0x20d)]+_0x3b6309(0x25d);}[a75_0x1889a9(0x2f7)](_0x27ba9b,_0x5f18eb,_0x590a80={}){const _0x22911f=a75_0x1889a9;let _0x5988b9=null;return _0x5988b9=TestFramework[_0x22911f(0x268)](),!_0x5988b9?(logger[_0x22911f(0x216)](_0x22911f(0x307)+_0x27ba9b),this['trackJestInstance'](_0x27ba9b,_0x590a80),_0x5988b9=TestFramework[_0x22911f(0x268)](),logger['debug'](_0x22911f(0x208)+!!_0x5988b9+_0x22911f(0x1f1)+_0x5988b9?.['getContext']()?.[_0x22911f(0x213)]())):logger[_0x22911f(0x216)](_0x22911f(0x2cc)+_0x5988b9['getContext']()?.['getId']()),_0x5988b9;}['trackJestInstance'](_0x2e5aa4,_0x9d6b88){const _0x198e13=a75_0x1889a9,_0xc4f62c={};_0xc4f62c[_0x198e13(0x2b4)]=_0x198e13(0x303);const _0x349bec=_0xc4f62c;if(TestFramework[_0x198e13(0x268)]()){logger[_0x198e13(0x216)](_0x349bec['Uxvbd']);return;}const _0x557252=CLIUtils[_0x198e13(0x21c)](),_0x594d70=TrackedInstance['createContext'](_0x557252);let _0x15be5e=null;logger[_0x198e13(0x216)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x557252+_0x198e13(0x205)+_0x2e5aa4),_0x15be5e=new TestFrameworkInstance(_0x594d70,this[_0x198e13(0x365)](),this[_0x198e13(0x2ab)](),_0x2e5aa4,HookState[_0x198e13(0x258)]),TestFramework[_0x198e13(0x321)](_0x594d70,_0x15be5e),logger[_0x198e13(0x216)](_0x198e13(0x30e)+_0x594d70[_0x198e13(0x213)]()+_0x198e13(0x31f)+_0x557252+_0x198e13(0x2d2)+this[_0x198e13(0x365)]()[0x0]+_0x198e13(0x1f0)+this['getTestFrameworksVersions']()[this[_0x198e13(0x365)]()[0x0]]);}[a75_0x1889a9(0x37f)](_0x3848b8){const _0x3d3275=a75_0x1889a9,_0x333a12={};_0x333a12['xZSJw']=function(_0x498795,_0x1d1e6b){return _0x498795||_0x1d1e6b;},_0x333a12[_0x3d3275(0x29b)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x9b7a03=_0x333a12,{testUUID:_0x139d08,testData:_0xa7883b,testId:_0x482efd}=_0x3848b8;if(_0x9b7a03[_0x3d3275(0x1f8)](!_0xa7883b,!_0x482efd))return logger[_0x3d3275(0x216)](_0x9b7a03[_0x3d3275(0x29b)]),{};const _0x37c7da=this[_0x3d3275(0x365)]()[0x0],_0x4d51da=this[_0x3d3275(0x2ab)](),_0x46b28e={};_0x46b28e[_0x3d3275(0x312)]=0x2,_0x46b28e[_0x3d3275(0x264)]=0x3,logger['debug'](_0x3d3275(0x2e9)+util['inspect'](_0xa7883b,_0x46b28e));const _0x1f95ba=_0xa7883b?.[_0x3d3275(0x2e8)]||[],_0x9c1844=this[_0x3d3275(0x391)](_0xa7883b),_0x5a2263=this[_0x3d3275(0x30b)](_0xa7883b),_0x120daf=_0xa7883b['fn']?_0xa7883b['fn']['toString']():_0xa7883b?.['body']?_0xa7883b[_0x3d3275(0x1f2)][_0x3d3275(0x277)]['toString']():null,_0x2de56a=this['getJestTestTags'](_0xa7883b),_0x17cb41={[TestFrameworkConstants[_0x3d3275(0x326)]]:_0x37c7da,[TestFrameworkConstants[_0x3d3275(0x297)]]:_0x4d51da[_0x37c7da],[TestFrameworkConstants[_0x3d3275(0x24a)]]:[],[TestFrameworkConstants[_0x3d3275(0x358)]]:{},[TestFrameworkConstants[_0x3d3275(0x32b)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x3d3275(0x22a)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x9c1844,[TestFrameworkConstants[_0x3d3275(0x318)]]:_0x5a2263,[TestFrameworkConstants[_0x3d3275(0x379)]]:_0x482efd,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x9c1844,[TestFrameworkConstants[_0x3d3275(0x21f)]]:_0x5a2263,[TestFrameworkConstants[_0x3d3275(0x279)]]:_0x120daf,[TestFrameworkConstants[_0x3d3275(0x294)]]:_0x2de56a,[TestFrameworkConstants[_0x3d3275(0x334)]]:_0xa7883b[_0x3d3275(0x232)]||new Date()[_0x3d3275(0x31d)](),[TestFrameworkConstants[_0x3d3275(0x2ac)]]:_0x1f95ba[0x0]||'',[TestFrameworkConstants[_0x3d3275(0x227)]]:_0x1f95ba,[TestFrameworkConstants[_0x3d3275(0x2c8)]]:_0x9c1844,[TestFrameworkConstants[_0x3d3275(0x349)]]:{},[TestFrameworkConstants[_0x3d3275(0x27e)]]:{}};_0xa7883b[_0x3d3275(0x25b)]&&(_0x17cb41[TestFrameworkConstants[_0x3d3275(0x266)]]=_0xa7883b[_0x3d3275(0x25b)]);logger[_0x3d3275(0x216)]('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0x9c1844+_0x3d3275(0x242)+_0x482efd+_0x3d3275(0x248)+JSON[_0x3d3275(0x28f)](_0x2de56a)+_0x3d3275(0x274)+util[_0x3d3275(0x2c6)](_0x1f95ba)+',\x20filePath='+_0x5a2263);const _0x3b0b49={};return _0x3b0b49[_0x482efd]=_0x17cb41,_0x3b0b49;}[a75_0x1889a9(0x288)](_0x42188f){const _0x3ecb46=a75_0x1889a9,_0x4b3ced={'jVoEj':function(_0x355154,_0x33f271){return _0x355154===_0x33f271;},'kDLAc':_0x3ecb46(0x339),'EYvkU':_0x3ecb46(0x21b),'DHRzb':_0x3ecb46(0x31e),'wGPSe':_0x3ecb46(0x342),'Gwbsq':function(_0x23c8f3,_0x12083c){return _0x23c8f3||_0x12083c;},'ItUZk':_0x3ecb46(0x26f),'GVqBa':function(_0x32c3be,_0x4213c8){return _0x32c3be||_0x4213c8;},'qRgck':'unknown','oCHpU':function(_0x497bbe,_0x48f64f){return _0x497bbe>_0x48f64f;},'LdwNF':'failed','XjPBz':function(_0x26447b,_0x3b942a){return _0x26447b===_0x3b942a;},'RqjYK':_0x3ecb46(0x2a4),'aUXcH':_0x3ecb46(0x2bc),'YheAd':'passed','GyuyO':function(_0x760d06,_0x391989){return _0x760d06!==_0x391989;},'ubHzH':function(_0x38ba59,_0x296b12,_0x2ec5cb,_0x2299a7){return _0x38ba59(_0x296b12,_0x2ec5cb,_0x2299a7);},'dSXGX':function(_0x3b3f93,_0x2f89c7){return _0x3b3f93>_0x2f89c7;},'uWGkP':_0x3ecb46(0x226),'KsYMF':function(_0x7d5662,_0x422c9a){return _0x7d5662>_0x422c9a;}},{testUUID:_0x5e8a4b,testData:_0x45bd3e,testId:_0x579a5a}=_0x42188f;if(_0x4b3ced['Gwbsq'](!_0x45bd3e,!_0x579a5a))return logger['debug'](_0x4b3ced[_0x3ecb46(0x211)]),{};const _0x34aeaa=this['resolveInstance'](TestFrameworkState[_0x3ecb46(0x2c2)],HookState[_0x3ecb46(0x366)]),_0x3331c4=_0x34aeaa[_0x3ecb46(0x22f)]()[_0x3ecb46(0x2d9)](_0x579a5a),_0x8ceebf=_0x4b3ced[_0x3ecb46(0x37c)](_0x3331c4,{}),_0x2bf15e=_0x8ceebf?_0x8ceebf[TestFrameworkConstants[_0x3ecb46(0x349)]]||{}:{},_0x4cce1a=_0x8ceebf[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x3ecb46(0x216)](_0x3ecb46(0x316)+(_0x4cce1a?Object[_0x3ecb46(0x270)](_0x4cce1a)[_0x3ecb46(0x30a)]:0x0)+'\x20attachments');let _0xa73721=_0x4b3ced[_0x3ecb46(0x1f6)];if(_0x45bd3e[_0x3ecb46(0x29f)])_0xa73721=_0x45bd3e[_0x3ecb46(0x29f)];else{if(_0x45bd3e[_0x3ecb46(0x215)]&&_0x4b3ced[_0x3ecb46(0x26d)](_0x45bd3e[_0x3ecb46(0x215)][_0x3ecb46(0x30a)],0x0))_0xa73721=_0x4b3ced[_0x3ecb46(0x314)];else _0x4b3ced[_0x3ecb46(0x231)](_0x45bd3e[_0x3ecb46(0x38a)],_0x4b3ced['RqjYK'])||_0x4b3ced[_0x3ecb46(0x2d7)](_0x45bd3e[_0x3ecb46(0x38a)],_0x4b3ced['aUXcH'])?_0xa73721=_0x4b3ced[_0x3ecb46(0x2db)]:_0xa73721=_0x4b3ced[_0x3ecb46(0x31c)];}const _0x1f8640={..._0x8ceebf,[TestFrameworkConstants[_0x3ecb46(0x275)]]:_0xa73721,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x45bd3e[_0x3ecb46(0x382)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x3ecb46(0x202)]]:new Date()[_0x3ecb46(0x31d)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2bf15e,[TestFrameworkConstants[_0x3ecb46(0x24e)]]:_0x8ceebf[TestFrameworkConstants[_0x3ecb46(0x24e)]]||[],[TestFrameworkConstants[_0x3ecb46(0x27e)]]:{}};if(_0x4b3ced[_0x3ecb46(0x231)](_0xa73721,_0x4b3ced[_0x3ecb46(0x314)])&&_0x45bd3e[_0x3ecb46(0x215)]){const _0x218d2f=this[_0x3ecb46(0x29e)](_0x45bd3e),_0x1de6a4=this['getJestFailureType'](_0x45bd3e),_0x49d333=this[_0x3ecb46(0x222)](_0x45bd3e);_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x241)]]=_0x1de6a4,_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x38f)]]=_0x218d2f,_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x291)]]=_0x49d333;}_0x4b3ced['GyuyO'](_0x45bd3e['duration'],undefined)&&(_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x343)]]=_0x45bd3e[_0x3ecb46(0x210)]);_0x45bd3e[_0x3ecb46(0x25b)]&&(_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x266)]]=_0x45bd3e[_0x3ecb46(0x25b)]);const _0x340443=_0x3331c4?_0x3331c4[TestFrameworkConstants[_0x3ecb46(0x37e)]]||{}:{},_0x1ec73f=_0x3331c4?_0x3331c4[TestFrameworkConstants[_0x3ecb46(0x1fd)]]:_0x5e8a4b,_0x213469=_0x4b3ced['ubHzH'](getManualUploadLogs,_0x340443,_0x1ec73f,_0x579a5a);if(_0x4b3ced['oCHpU'](_0x213469['length'],0x0)){const _0x51377b=_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x24e)]]||[];_0x1f8640[TestFrameworkConstants['KEY_LOGS']]=[..._0x51377b,..._0x213469];}const _0x16265f=_0x8ceebf[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x14eef5=_0x8ceebf[TestFrameworkConstants[_0x3ecb46(0x32b)]]||{},_0x5e28d0={..._0x16265f},_0x219a51=_0x5e28d0;Object['keys'](_0x14eef5)[_0x3ecb46(0x352)](_0x595160=>{const _0x206f1b=_0x3ecb46;!_0x219a51[_0x595160]&&(_0x219a51[_0x595160]=[]);const _0x2bc338=new Set((_0x219a51[_0x595160]||[])[_0x206f1b(0x2ad)](_0x1c3f68=>_0x1c3f68[TestFrameworkConstants[_0x206f1b(0x243)]]||_0x1c3f68[_0x206f1b(0x201)]));(_0x14eef5[_0x595160]||[])[_0x206f1b(0x352)](_0x357ceb=>{const _0x41aee0=_0x206f1b,_0x72cda7=_0x357ceb[TestFrameworkConstants[_0x41aee0(0x243)]]||_0x357ceb[_0x41aee0(0x201)];if(!_0x2bc338['has'](_0x72cda7)){const _0x5eb727={..._0x357ceb},_0x40ecad=_0x5eb727;!_0x40ecad[TestFrameworkConstants[_0x41aee0(0x2c1)]]&&!_0x40ecad[_0x41aee0(0x2ec)]&&(_0x40ecad[TestFrameworkConstants[_0x41aee0(0x2c1)]]=new Date()['toISOString']()),!_0x40ecad[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x40ecad[_0x41aee0(0x245)]&&(_0x40ecad[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x41aee0(0x2fe)]),_0x219a51[_0x595160][_0x41aee0(0x20b)](_0x40ecad);}});});if(_0x42188f['originalTest']){this[_0x3ecb46(0x35f)](_0x42188f['originalTest']);const _0x1b2689=this[_0x3ecb46(0x1f3)](_0x42188f['originalTest']),_0xa62979=this[_0x3ecb46(0x373)](_0x42188f[_0x3ecb46(0x2f9)]);_0xa62979[_0x3ecb46(0x352)](_0x1128d7=>{const _0x52f17b=_0x3ecb46,_0x441095=_0x1b2689[_0x52f17b(0x2d9)](_0x1128d7);if(_0x441095&&(_0x4b3ced[_0x52f17b(0x2d7)](_0x441095[_0x52f17b(0x309)],_0x4b3ced[_0x52f17b(0x371)])||_0x4b3ced[_0x52f17b(0x2d7)](_0x441095[_0x52f17b(0x309)],_0x4b3ced[_0x52f17b(0x23e)]))){const _0x5d68cc=_0x441095[_0x52f17b(0x309)]['toUpperCase']()['replace'](_0x4b3ced[_0x52f17b(0x370)],_0x4b3ced[_0x52f17b(0x2b3)]),_0x4604a5=_0x5d68cc;!_0x219a51[_0x4604a5]&&(_0x219a51[_0x4604a5]=[]);const _0x4dd494=_0x219a51[_0x4604a5][_0x52f17b(0x254)](_0x3906a7=>(_0x3906a7[TestFrameworkConstants['KEY_HOOK_ID']]||_0x3906a7[_0x52f17b(0x201)])===_0x1128d7);!_0x4dd494&&_0x219a51[_0x4604a5][_0x52f17b(0x20b)]({'key':_0x4604a5,[TestFrameworkConstants[_0x52f17b(0x243)]]:_0x1128d7,[TestFrameworkConstants[_0x52f17b(0x34f)]]:TestFrameworkConstants[_0x52f17b(0x2fe)],[TestFrameworkConstants[_0x52f17b(0x255)]]:new Date()[_0x52f17b(0x31d)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x52f17b(0x36a)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x441095[_0x52f17b(0x2cf)]||_0x441095['type']+_0x52f17b(0x375),[TestFrameworkConstants[_0x52f17b(0x349)]]:_0x2bf15e});}});}if(_0x45bd3e[_0x3ecb46(0x376)]&&_0x4b3ced[_0x3ecb46(0x223)](_0x45bd3e[_0x3ecb46(0x376)][_0x3ecb46(0x30a)],0x0))_0x1f8640[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x45bd3e['hooks'],logger[_0x3ecb46(0x216)](_0x4b3ced[_0x3ecb46(0x335)]);else _0x4b3ced[_0x3ecb46(0x38c)](Object[_0x3ecb46(0x270)](_0x219a51)[_0x3ecb46(0x30a)],0x0)&&(_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x358)]]=_0x219a51,logger['debug'](_0x3ecb46(0x2f3)+Object[_0x3ecb46(0x270)](_0x219a51)['join'](',')));const _0x352cb8=this['getJestTestName'](_0x45bd3e);logger['debug'](_0x3ecb46(0x2fc)+_0x352cb8+',\x20testId='+_0x579a5a+_0x3ecb46(0x2dd)+_0xa73721+_0x3ecb46(0x2fa)+_0x45bd3e[_0x3ecb46(0x210)]);_0x4b3ced[_0x3ecb46(0x231)](_0xa73721,_0x4b3ced[_0x3ecb46(0x314)])&&logger[_0x3ecb46(0x216)](_0x3ecb46(0x330)+_0x579a5a+_0x3ecb46(0x388)+_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x241)]]+_0x3ecb46(0x239)+_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x38f)]]?.['substring'](0x0,0xc8));const _0x1bb42d={};return _0x1bb42d[_0x579a5a]=_0x1f8640,_0x1bb42d;}[a75_0x1889a9(0x2ae)](_0x442231){const _0x4bcf2d=a75_0x1889a9,_0x419bde={};_0x419bde[_0x4bcf2d(0x347)]=function(_0x39b864,_0x3dd55d){return _0x39b864!==_0x3dd55d;},_0x419bde[_0x4bcf2d(0x2e7)]=function(_0x1ea59b,_0x1ea24d){return _0x1ea59b!==_0x1ea24d;},_0x419bde[_0x4bcf2d(0x284)]=_0x4bcf2d(0x33b);const _0x476a16=_0x419bde,_0x450de2={};_0x450de2[_0x4bcf2d(0x312)]=0x2,_0x450de2[_0x4bcf2d(0x264)]=0x3,logger[_0x4bcf2d(0x216)](_0x4bcf2d(0x36c)+util[_0x4bcf2d(0x2c6)](_0x442231,_0x450de2));const _0x38f289=[];if(_0x442231&&_0x442231[_0x4bcf2d(0x387)]){let _0x67a733=_0x442231[_0x4bcf2d(0x387)];while(_0x67a733&&_0x67a733[_0x4bcf2d(0x2cf)]&&_0x476a16[_0x4bcf2d(0x347)](_0x67a733[_0x4bcf2d(0x2cf)],'')&&_0x476a16[_0x4bcf2d(0x2e7)](_0x67a733[_0x4bcf2d(0x2cf)],_0x476a16[_0x4bcf2d(0x284)])){_0x38f289[_0x4bcf2d(0x20b)](_0x67a733['name']),_0x67a733=_0x67a733[_0x4bcf2d(0x387)];}}return _0x38f289['reverse']();}[a75_0x1889a9(0x391)](_0x35f71b){const _0x834dfd=a75_0x1889a9,_0x47bc16={};_0x47bc16[_0x834dfd(0x362)]=_0x834dfd(0x247);const _0x1563ba=_0x47bc16;if(_0x35f71b['name'])return _0x35f71b[_0x834dfd(0x2cf)];if(_0x35f71b[_0x834dfd(0x25f)])return _0x35f71b[_0x834dfd(0x25f)];return _0x1563ba[_0x834dfd(0x362)];}['getJestTestTags'](_0x553aa5){const _0x4ab896=a75_0x1889a9,_0x45a227=[];if(_0x553aa5[_0x4ab896(0x283)]&&Array['isArray'](_0x553aa5[_0x4ab896(0x283)]))return _0x553aa5['tags'][_0x4ab896(0x2ad)](_0x217a55=>_0x217a55['startsWith']('@')?_0x217a55[_0x4ab896(0x2a7)](0x1):_0x217a55);const _0x46beb9=this[_0x4ab896(0x391)](_0x553aa5),_0x57ebf5=_0x46beb9[_0x4ab896(0x27c)](/@(\w+)/g);if(_0x57ebf5)return _0x57ebf5['map'](_0x5688b6=>_0x5688b6['slice'](0x1));return _0x553aa5[_0x4ab896(0x2e8)]&&Array[_0x4ab896(0x257)](_0x553aa5['scopes'])&&_0x553aa5[_0x4ab896(0x2e8)][_0x4ab896(0x352)](_0x3d34b5=>{const _0x306feb=_0x4ab896,_0x5d6872=_0x3d34b5[_0x306feb(0x27c)](/@(\w+)/g);_0x5d6872&&_0x5d6872[_0x306feb(0x352)](_0xf1cf20=>{const _0x4fd1fb=_0x306feb,_0x5958b3=_0xf1cf20[_0x4fd1fb(0x23b)](0x1);!_0x45a227[_0x4fd1fb(0x2af)](_0x5958b3)&&_0x45a227[_0x4fd1fb(0x20b)](_0x5958b3);});}),_0x45a227;}[a75_0x1889a9(0x30b)](_0x3f5410){const _0x1f75dd=a75_0x1889a9,_0xff2c5a={'GAXRn':function(_0x46ffe9,_0x3f71f1){return _0x46ffe9(_0x3f71f1);},'mjgPn':_0x1f75dd(0x236)};if(_0x3f5410[_0x1f75dd(0x306)])return _0x3f5410[_0x1f75dd(0x306)];if(_0x3f5410[_0x1f75dd(0x22e)]){const _0x954d31=_0xff2c5a[_0x1f75dd(0x34d)](require,_0xff2c5a[_0x1f75dd(0x2b5)]);try{const _0x4df077=_0x954d31[_0x1f75dd(0x200)](_0x3f5410[_0x1f75dd(0x22e)]);if(_0x4df077[0x0]&&_0x4df077[0x0]['getFileName'])return _0x4df077[0x0][_0x1f75dd(0x229)]();}catch(_0x36320a){logger[_0x1f75dd(0x216)]('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util[_0x1f75dd(0x2bd)](_0x36320a));}}return null;}[a75_0x1889a9(0x29e)](_0x2acda9){const _0x5b7f90=a75_0x1889a9,_0x3c6267={};_0x3c6267['xOfps']=function(_0x56efb0,_0x445080){return _0x56efb0>_0x445080;},_0x3c6267[_0x5b7f90(0x2dc)]='Unknown\x20error';const _0x10db27=_0x3c6267;if(_0x2acda9[_0x5b7f90(0x215)]&&_0x10db27[_0x5b7f90(0x295)](_0x2acda9['errorsDetailed'][_0x5b7f90(0x30a)],0x0))return util[_0x5b7f90(0x2c6)](_0x2acda9[_0x5b7f90(0x215)][0x0]);if(_0x2acda9[_0x5b7f90(0x2ca)])return _0x2acda9[_0x5b7f90(0x2ca)];return _0x10db27[_0x5b7f90(0x2dc)];}[a75_0x1889a9(0x390)](_0x15bd89){const _0x5e65d7=a75_0x1889a9,_0x359874={};_0x359874['jmrMY']=_0x5e65d7(0x2a2),_0x359874[_0x5e65d7(0x35a)]=_0x5e65d7(0x1f7),_0x359874['axleX']=_0x5e65d7(0x380);const _0xce6b28=_0x359874,_0x29ac0a=this[_0x5e65d7(0x29e)](_0x15bd89);if(_0x29ac0a&&_0x29ac0a[_0x5e65d7(0x2af)](_0xce6b28['jmrMY']))return _0xce6b28['DcDDG'];return _0xce6b28['axleX'];}['getJestFailureData'](_0x5ee1c3){const _0x11dbf1=a75_0x1889a9,_0x3ac931={'LfCnQ':function(_0x54c1ca,_0x49ecfd){return _0x54c1ca(_0x49ecfd);},'Odmoi':_0x11dbf1(0x209),'rbcUG':function(_0xfd53d8,_0x1a6c20){return _0xfd53d8!==_0x1a6c20;},'slhKS':_0x11dbf1(0x203)},{failureData:_0x5d2d1c}=_0x3ac931[_0x11dbf1(0x372)](require,_0x3ac931[_0x11dbf1(0x38d)]),_0x3c166e=[];return _0x3ac931['rbcUG'](_0x5ee1c3[_0x11dbf1(0x215)],undefined)&&_0x3c166e[_0x11dbf1(0x20b)](_0x5ee1c3[_0x11dbf1(0x215)],_0x3ac931['slhKS']),_0x5d2d1c[_0x11dbf1(0x228)](null,_0x3c166e);}async[a75_0x1889a9(0x1fc)](_0x407995,_0x2067f2,_0xf42fda,_0x12827c){const _0x52476b=a75_0x1889a9,_0x637bb1={'AqKei':_0x52476b(0x2a6),'zAaww':function(_0x42183c){return _0x42183c();},'QJvab':function(_0x159686,_0x1c0052){return _0x159686 in _0x1c0052;},'cCuck':function(_0x39d9b1,_0x199410){return _0x39d9b1 in _0x199410;},'oDgIR':function(_0x5c6647,_0x3b1f09){return _0x5c6647===_0x3b1f09;},'HgaOf':function(_0x1a1b5a,_0x101608){return _0x1a1b5a===_0x101608;},'fwYSG':function(_0x36df01,_0x1f0b54){return _0x36df01>_0x1f0b54;},'Vabrx':_0x52476b(0x38e),'IMBMg':_0x52476b(0x287),'NbmVI':function(_0x5e2002,_0x146c4d){return _0x5e2002===_0x146c4d;},'ERkKK':_0x52476b(0x2ba),'dlJTh':function(_0x2feea9,_0x13500d){return _0x2feea9>_0x13500d;},'VKXfE':function(_0x3cd147,_0x3ae812){return _0x3cd147!==_0x3ae812;}},{hookData:_0xc46d2b}=_0x12827c,_0x17b252=_0xf42fda[_0x52476b(0x27a)](),_0x5c5e72=_0x2067f2[_0x52476b(0x27a)](),_0x300847={};_0x300847['depth']=0x2,_0x300847['maxArrayLength']=0x3,logger[_0x52476b(0x216)](_0x52476b(0x26c)+_0x5c5e72+',\x20hookState='+_0x17b252+',\x20hookData='+util['inspect'](_0xc46d2b,_0x300847));if(!_0xc46d2b)return logger[_0x52476b(0x216)](_0x637bb1['AqKei']),{};const _0x4fb1af=_0xc46d2b[_0x52476b(0x2ff)]||_0xc46d2b['hookAnalyticsId']||_0x637bb1[_0x52476b(0x346)](uuidv4),_0x1b01be=_0xc46d2b[_0x52476b(0x2c5)]||this[_0x52476b(0x363)](_0xc46d2b),_0x31bead=_0x2067f2['toString']()[_0x52476b(0x238)]('.')[0x1],_0x3ef094=_0x407995[_0x52476b(0x22f)]()['get'](_0x1b01be),_0x1391cf=_0x3ef094?_0x3ef094[TestFrameworkConstants[_0x52476b(0x349)]]||{}:{};logger[_0x52476b(0x216)](_0x52476b(0x26e)+_0x4fb1af+',\x20testId='+_0x1b01be+_0x52476b(0x359)+_0x31bead+_0x52476b(0x2da)+_0x17b252);if(!_0x3ef094)return logger[_0x52476b(0x216)](_0x52476b(0x25a)+_0x1b01be+_0x52476b(0x357)),this['storePendingHook'](_0x407995,_0x1b01be,_0x2067f2,_0xf42fda,_0x12827c),{};let _0x4bb259=_0x3ef094[TestFrameworkConstants[_0x52476b(0x32b)]];!_0x4bb259&&(_0x4bb259={});!_0x637bb1[_0x52476b(0x384)](_0x31bead,_0x4bb259)&&(_0x4bb259[_0x31bead]=[]);let _0xb46ef5=_0x3ef094[TestFrameworkConstants[_0x52476b(0x358)]];!_0xb46ef5&&(_0xb46ef5={});!_0x637bb1['cCuck'](_0x31bead,_0xb46ef5)&&(_0xb46ef5[_0x31bead]=[]);const _0x43cc29={[_0x1b01be]:{[TestFrameworkConstants[_0x52476b(0x32b)]]:_0x4bb259,[TestFrameworkConstants[_0x52476b(0x358)]]:_0xb46ef5,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x52476b(0x2ab)]()[this[_0x52476b(0x365)]()[0x0]]||''}};if(_0x637bb1['oDgIR'](_0xf42fda,HookState[_0x52476b(0x220)])){const _0x2725e0={'key':_0x31bead,[TestFrameworkConstants[_0x52476b(0x243)]]:_0x4fb1af,[TestFrameworkConstants[_0x52476b(0x34f)]]:TestFrameworkConstants[_0x52476b(0x2fe)],[TestFrameworkConstants[_0x52476b(0x255)]]:_0xc46d2b['started_at']||new Date()['toISOString'](),[TestFrameworkConstants[_0x52476b(0x36a)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0xc46d2b[_0x52476b(0x2cf)]||_0xc46d2b[_0x52476b(0x32e)]||_0x31bead,[TestFrameworkConstants[_0x52476b(0x349)]]:_0x1391cf};_0x4bb259[_0x31bead][_0x52476b(0x20b)](_0x2725e0),_0x43cc29[_0x1b01be][TestFrameworkConstants[_0x52476b(0x262)]]=_0x31bead;const _0x48bc0d={};_0x48bc0d[_0x52476b(0x312)]=0x2,logger[_0x52476b(0x216)](_0x52476b(0x237)+_0x31bead+_0x52476b(0x271)+_0x4fb1af+',\x20testId='+_0x1b01be+_0x52476b(0x280)+util[_0x52476b(0x2c6)](_0x2725e0,_0x48bc0d));}else{if(_0x637bb1[_0x52476b(0x206)](_0xf42fda,HookState['POST'])){const _0x3a1896=_0xc46d2b[_0x52476b(0x29f)]||(_0xc46d2b[_0x52476b(0x215)]&&_0x637bb1[_0x52476b(0x337)](_0xc46d2b[_0x52476b(0x215)][_0x52476b(0x30a)],0x0)?_0x637bb1[_0x52476b(0x2fd)]:_0x637bb1[_0x52476b(0x2e6)]),_0x5d770c=_0x4bb259[_0x31bead]||[];logger[_0x52476b(0x216)](_0x52476b(0x360)+_0x31bead+_0x52476b(0x242)+_0x1b01be+_0x52476b(0x2d5)+_0x3a1896+',\x20hooksListLength='+_0x5d770c[_0x52476b(0x30a)]);if(_0x637bb1['oDgIR'](_0x5d770c[_0x52476b(0x30a)],0x0)&&_0x637bb1[_0x52476b(0x28d)](_0x2067f2,TestFrameworkState[_0x52476b(0x23a)]))return logger[_0x52476b(0x216)](_0x637bb1[_0x52476b(0x265)]),this['storePendingHook'](_0x407995,_0x1b01be,_0x2067f2,_0xf42fda,_0x12827c),{};if(_0x637bb1['dlJTh'](_0x5d770c[_0x52476b(0x30a)],0x0)){const _0xfb0ef=_0x5d770c[_0x52476b(0x378)]();_0x637bb1[_0x52476b(0x28d)](_0x3a1896,_0x637bb1['Vabrx'])&&_0xc46d2b[_0x52476b(0x215)]?(_0xfb0ef[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x52476b(0x390)](_0xc46d2b),_0xfb0ef[TestFrameworkConstants[_0x52476b(0x2b7)]]=this['getJestFailureReason'](_0xc46d2b),_0xfb0ef[TestFrameworkConstants[_0x52476b(0x212)]]=this[_0x52476b(0x222)](_0xc46d2b),logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x31bead+',\x20failureType='+_0xfb0ef[TestFrameworkConstants[_0x52476b(0x296)]]+_0x52476b(0x239)+_0xfb0ef[TestFrameworkConstants[_0x52476b(0x2b7)]]?.['substring'](0x0,0xc8))):_0xfb0ef[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x637bb1[_0x52476b(0x2e6)];_0x637bb1[_0x52476b(0x364)](_0x3a1896,TestFrameworkConstants[_0x52476b(0x2fe)])&&(_0xfb0ef[TestFrameworkConstants[_0x52476b(0x34f)]]=_0x3a1896);_0xfb0ef[TestFrameworkConstants[_0x52476b(0x2c1)]]=_0xc46d2b[_0x52476b(0x382)]||new Date()['toISOString'](),_0xfb0ef[TestFrameworkConstants[_0x52476b(0x349)]]=_0x1391cf;const _0x3a3bf4=_0xfb0ef[TestFrameworkConstants[_0x52476b(0x243)]];!_0xb46ef5[_0x31bead]&&(_0xb46ef5[_0x31bead]=[]);_0xb46ef5[_0x31bead][_0x52476b(0x20b)](_0xfb0ef),_0x43cc29[_0x1b01be][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x31bead;const _0xb51aa3={};_0xb51aa3['depth']=0x2,logger[_0x52476b(0x216)](_0x52476b(0x224)+_0x31bead+_0x52476b(0x271)+_0x3a3bf4+_0x52476b(0x2d5)+_0x3a1896+_0x52476b(0x280)+util[_0x52476b(0x2c6)](_0xfb0ef,_0xb51aa3));}}}return _0x43cc29;}[a75_0x1889a9(0x276)](_0x20aed0){const _0x2323fb=a75_0x1889a9,_0x449f1c={};_0x449f1c['asakF']=_0x2323fb(0x20c);const _0x4cfd09=_0x449f1c;try{const _0x5822b9=_0x20aed0['test']?this[_0x2323fb(0x363)](_0x20aed0[_0x2323fb(0x203)]):_0x20aed0['hookData']['test_run_id'],_0x2dfb9d=_0x20aed0[_0x2323fb(0x2e4)],_0x8e6dd3=_0x2dfb9d[_0x2323fb(0x385)](),_0x2dd44d=_0x2dfb9d[_0x2323fb(0x22f)]()[_0x2323fb(0x2d9)](_0x5822b9);if(!_0x2dd44d)return logger['debug'](_0x2323fb(0x252)+_0x5822b9),{};const {[TestFrameworkConstants[_0x2323fb(0x326)]]:_0x4b0fe9=this[_0x2323fb(0x365)]()[0x0]||'',[TestFrameworkConstants[_0x2323fb(0x297)]]:_0x4531dc=this['getTestFrameworksVersions']()[this[_0x2323fb(0x365)]()[0x0]]||'',[TestFrameworkConstants[_0x2323fb(0x334)]]:_0x2a4746='',[TestFrameworkConstants[_0x2323fb(0x350)]]:_0x533c22=''}=_0x2dd44d,_0x5a5bd6=_0x2dfb9d[_0x2323fb(0x313)]()[_0x2323fb(0x27a)]()[_0x2323fb(0x238)]('.')[0x1],_0x4cb8d7=_0x2dfb9d[_0x2323fb(0x23d)]()[_0x2323fb(0x27a)]()[_0x2323fb(0x238)]('.')[0x1],_0x49b704=global?.[_0x2323fb(0x37b)]?.[_0x2323fb(0x322)]?.[_0x2323fb(0x272)]||global['__bstackPlatformIndex']||0x0,_0x3d8bbc=_0x2dfb9d[_0x2323fb(0x1fe)](),_0x4b9789=Buffer[_0x2323fb(0x2b6)](JSON[_0x2323fb(0x28f)](_0x2dd44d))[_0x2323fb(0x27a)](_0x4cfd09[_0x2323fb(0x290)]),_0x5f5672={'hash':_0x8e6dd3[_0x2323fb(0x213)](),'threadId':_0x8e6dd3[_0x2323fb(0x35c)]()[_0x2323fb(0x27a)](),'processId':_0x8e6dd3[_0x2323fb(0x261)]()['toString']()},_0x3e7312={};_0x3e7312[_0x2323fb(0x356)]=_0x49b704,_0x3e7312[_0x2323fb(0x23f)]=_0x4b0fe9,_0x3e7312[_0x2323fb(0x1f9)]=_0x4531dc,_0x3e7312[_0x2323fb(0x230)]=_0x5a5bd6,_0x3e7312[_0x2323fb(0x383)]=_0x4cb8d7,_0x3e7312['startedAt']=_0x2a4746,_0x3e7312[_0x2323fb(0x36f)]=_0x533c22,_0x3e7312['uuid']=_0x3d8bbc,_0x3e7312[_0x2323fb(0x368)]=_0x4b9789,_0x3e7312['executionContext']=_0x5f5672,_0x3e7312[_0x2323fb(0x260)]=_0x5822b9;const _0x3a1d83=_0x3e7312;return _0x3a1d83;}catch(_0x5bb050){return logger[_0x2323fb(0x25e)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x2323fb(0x2bd)](_0x5bb050)),{};}}async[a75_0x1889a9(0x2f1)](_0x398bc3,_0x40c11d,_0x67ef7e){const _0x2bf0b5=a75_0x1889a9,_0x1340bc={'tKpat':function(_0x529b63,_0x1e7a12){return _0x529b63+_0x1e7a12;},'yaDyU':'missing','fRVvS':_0x2bf0b5(0x33d),'RjRPe':function(_0x5de5af,_0x4bbdb2){return _0x5de5af>_0x4bbdb2;},'ONQBS':function(_0x25dd09,_0xdf411a,_0x3d6bac,_0xe25676){return _0x25dd09(_0xdf411a,_0x3d6bac,_0xe25676);},'XtSIK':function(_0x486738,_0x1cdf9c){return _0x486738-_0x1cdf9c;},'guysH':function(_0x2d252a,_0x50ffbb){return _0x2d252a===_0x50ffbb;},'WRSHc':function(_0x16efa8,_0x1625c1){return _0x16efa8/_0x1625c1;},'BEazf':function(_0xd0b386,_0x159e9e){return _0xd0b386<_0x159e9e;},'tpcLQ':function(_0x5497be,_0x252a41){return _0x5497be*_0x252a41;},'ffXoa':function(_0x422365,_0x5102d2){return _0x422365+_0x5102d2;},'ARYrh':function(_0x525638,_0xf8693e){return _0x525638+_0xf8693e;},'rfssD':function(_0xea6c9f,_0x10bd14){return _0xea6c9f+_0x10bd14;},'LoTkR':function(_0x2aafce,_0x54de1c){return _0x2aafce>_0x54de1c;}};try{const _0x48634b=_0x67ef7e[_0x2bf0b5(0x2a3)]||_0x67ef7e[_0x2bf0b5(0x2bf)],_0x2126a5=Array[_0x2bf0b5(0x2b6)](_0x398bc3[_0x2bf0b5(0x22f)]()[_0x2bf0b5(0x270)]()),_0x3c3dc8=_0x398bc3['getAllData']()[_0x2bf0b5(0x2d9)](_0x48634b);if(!_0x3c3dc8){logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x2b8)+_0x48634b);return;}const {[TestFrameworkConstants[_0x2bf0b5(0x326)]]:_0x54fbb6='',[TestFrameworkConstants[_0x2bf0b5(0x297)]]:_0x88755f=''}=_0x3c3dc8;let _0x5d15d4=[];_0x3c3dc8&&_0x3c3dc8[TestFrameworkConstants[_0x2bf0b5(0x24e)]]&&Array[_0x2bf0b5(0x257)](_0x3c3dc8[TestFrameworkConstants[_0x2bf0b5(0x24e)]])?(_0x5d15d4=_0x3c3dc8[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x2bf0b5(0x216)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x5d15d4[_0x2bf0b5(0x30a)]+_0x2bf0b5(0x259)+_0x48634b),_0x398bc3[_0x2bf0b5(0x234)]({[_0x48634b]:{[TestFrameworkConstants[_0x2bf0b5(0x24e)]]:[],[TestFrameworkConstants[_0x2bf0b5(0x326)]]:this[_0x2bf0b5(0x365)]()[0x0]||'',[TestFrameworkConstants[_0x2bf0b5(0x297)]]:this[_0x2bf0b5(0x2ab)]()[this[_0x2bf0b5(0x365)]()[0x0]]||''}}),logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x31a)+_0x48634b)):logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x2b2)+_0x48634b);logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x24f)+_0x5d15d4[_0x2bf0b5(0x30a)]+'\x20for\x20testId:\x20'+_0x48634b);const _0x4924cb=_0x5d15d4[_0x2bf0b5(0x2d1)](_0x551dd6=>_0x551dd6['kind']===_0x2bf0b5(0x28c));_0x1340bc[_0x2bf0b5(0x389)](_0x4924cb['length'],0x0)&&(logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x21d)+_0x4924cb[_0x2bf0b5(0x30a)]+_0x2bf0b5(0x24d)+_0x48634b),_0x4924cb[_0x2bf0b5(0x352)]((_0x312391,_0x13b1bd)=>{const _0x518e51=_0x2bf0b5;logger[_0x518e51(0x216)](_0x518e51(0x2f4)+_0x1340bc[_0x518e51(0x218)](_0x13b1bd,0x1)+'/'+_0x4924cb[_0x518e51(0x30a)]+_0x518e51(0x317)+(_0x312391[_0x518e51(0x260)]||_0x1340bc['yaDyU'])+',\x20test_run_uuid='+(_0x312391[_0x518e51(0x28b)]||_0x1340bc['yaDyU'])+',\x20hook_run_uuid='+(_0x312391[_0x518e51(0x33f)]||_0x1340bc[_0x518e51(0x20a)])+_0x518e51(0x310)+(_0x312391[_0x518e51(0x2c0)]?.[_0x518e51(0x30a)]||0x0));}));const _0x5294fb=_0x3c3dc8[TestFrameworkConstants[_0x2bf0b5(0x37e)]]||{},_0x3b650a=_0x1340bc[_0x2bf0b5(0x331)](getMediaArtifactsLogs,_0x5294fb,null,_0x48634b),_0x3c6736=(_0x5d15d4||[])['concat'](_0x3b650a||[]),_0x13ca96=_0x4924cb?.[_0x2bf0b5(0x30a)]||0x0,_0x128fa3=_0x1340bc[_0x2bf0b5(0x2a5)](_0x5d15d4?.[_0x2bf0b5(0x30a)]||0x0,_0x13ca96);logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x32f)+_0x48634b+_0x2bf0b5(0x2c9)+_0x128fa3+_0x2bf0b5(0x289)+_0x13ca96+_0x2bf0b5(0x2f2)+(_0x3b650a?.['length']||0x0)+_0x2bf0b5(0x27b)+_0x3c6736[_0x2bf0b5(0x30a)]);if(!_0x3c6736||_0x1340bc[_0x2bf0b5(0x32d)](_0x3c6736[_0x2bf0b5(0x30a)],0x0)){logger['debug'](_0x2bf0b5(0x2a8)+_0x48634b);return;}const _0x91466b=0x28,_0x3bff67=Math[_0x2bf0b5(0x386)](_0x1340bc[_0x2bf0b5(0x207)](_0x3c6736[_0x2bf0b5(0x30a)],_0x91466b));for(let _0x50fad4=0x0;_0x1340bc[_0x2bf0b5(0x38b)](_0x50fad4,_0x3bff67);_0x50fad4++){const _0x349b5a=_0x1340bc[_0x2bf0b5(0x23c)](_0x50fad4,_0x91466b),_0x21b61e=_0x1340bc[_0x2bf0b5(0x246)](_0x349b5a,_0x91466b),_0x480423=_0x3c6736[_0x2bf0b5(0x23b)](_0x349b5a,_0x21b61e),_0x424599=global?.[_0x2bf0b5(0x251)]??0x0,_0x2ab938={'platformIndex':_0x424599,'logs':_0x480423,'testFrameworkName':_0x54fbb6,'testFrameworkVersion':_0x88755f,'testFrameworkState':_0x40c11d['toString']()[_0x2bf0b5(0x238)]('.')[0x1]},_0x1aa94f={};_0x1aa94f[_0x2bf0b5(0x312)]=0x3,_0x1aa94f['maxArrayLength']=0x5,logger['debug'](_0x2bf0b5(0x249)+_0x1340bc[_0x2bf0b5(0x29a)](_0x50fad4,0x1)+'/'+_0x3bff67+_0x2bf0b5(0x253)+_0x48634b+_0x2bf0b5(0x2ee)+_0x480423[_0x2bf0b5(0x30a)]+_0x2bf0b5(0x34c)+_0x424599+_0x2bf0b5(0x25c)+util[_0x2bf0b5(0x2c6)](_0x2ab938,_0x1aa94f));const _0x27f260=await GrpcClient[_0x2bf0b5(0x2e5)]()[_0x2bf0b5(0x2d8)](_0x2ab938);logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x249)+_0x1340bc[_0x2bf0b5(0x33e)](_0x50fad4,0x1)+'/'+_0x3bff67+_0x2bf0b5(0x253)+_0x48634b+',\x20response='+util[_0x2bf0b5(0x2c6)](_0x27f260));}_0x3b650a&&_0x1340bc['LoTkR'](_0x3b650a[_0x2bf0b5(0x30a)],0x0)&&_0x3c3dc8[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x398bc3[_0x2bf0b5(0x234)]({[_0x48634b]:{[TestFrameworkConstants[_0x2bf0b5(0x37e)]]:{},[TestFrameworkConstants[_0x2bf0b5(0x326)]]:this[_0x2bf0b5(0x365)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x2bf0b5(0x2ab)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x263)+_0x48634b+',\x20totalBatches:\x20'+_0x3bff67);}catch(_0x4facef){logger['error'](_0x2bf0b5(0x29c)+(_0x67ef7e[_0x2bf0b5(0x2a3)]||_0x67ef7e[_0x2bf0b5(0x2bf)])+_0x2bf0b5(0x340)+util['format'](_0x4facef));}}[a75_0x1889a9(0x320)](_0x1a1bd1,_0x1aad3e,_0x1df743,_0x3c1cf8,_0x2665ec){const _0x415b2e=a75_0x1889a9,_0x8a36ea={};_0x8a36ea[_0x415b2e(0x256)]=function(_0x1883f6,_0x1e422e){return _0x1883f6===_0x1e422e;},_0x8a36ea[_0x415b2e(0x26a)]=_0x415b2e(0x21b);const _0x1ba5a3=_0x8a36ea,{hookData:_0x10313b}=_0x2665ec,_0x275126={'testId':_0x1aad3e,'testFrameworkState':_0x1df743,'hookState':_0x3c1cf8,'args':_0x2665ec,'timestamp':new Date()[_0x415b2e(0x31d)]()};if(_0x1ba5a3[_0x415b2e(0x256)](_0x1df743,TestFrameworkState['BEFORE_ALL'])&&_0x10313b){const _0x15006f={};_0x15006f['filePath']=_0x10313b[_0x415b2e(0x306)]||_0x10313b['location'],_0x15006f[_0x415b2e(0x2b1)]=_0x10313b[_0x415b2e(0x2b1)]||_0x10313b[_0x415b2e(0x2e8)]&&_0x10313b['scopes'][0x0]||'',_0x15006f[_0x415b2e(0x315)]=_0x1ba5a3['ebdQU'],_0x275126[_0x415b2e(0x2f8)]=_0x15006f,logger[_0x415b2e(0x216)]('[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20'+_0x1aad3e+_0x415b2e(0x240)+_0x275126['hookMetadata'][_0x415b2e(0x2eb)]+_0x415b2e(0x34b)+_0x275126[_0x415b2e(0x2f8)]['scope']);}_0x1a1bd1[_0x415b2e(0x2ed)](_0x1aad3e,_0x275126),logger[_0x415b2e(0x216)](_0x415b2e(0x2bb)+_0x1aad3e+_0x415b2e(0x367)+_0x1df743+_0x415b2e(0x355)+_0x3c1cf8);}async[a75_0x1889a9(0x34e)](_0x4436eb,_0x1a113e){const _0x1c5979=a75_0x1889a9,_0x1679e2={};_0x1679e2[_0x1c5979(0x2b0)]=function(_0x4763e2,_0x205caf){return _0x4763e2>_0x205caf;},_0x1679e2[_0x1c5979(0x2ce)]=function(_0xb46f9b,_0x57fe96){return _0xb46f9b===_0x57fe96;},_0x1679e2[_0x1c5979(0x302)]=function(_0xe4ec36,_0xa45676){return _0xe4ec36===_0xa45676;},_0x1679e2['ubWHu']=function(_0xc10a3,_0x4f1489){return _0xc10a3>_0x4f1489;},_0x1679e2[_0x1c5979(0x308)]=function(_0x20600c,_0x1f70be){return _0x20600c===_0x1f70be;},_0x1679e2[_0x1c5979(0x2d6)]=_0x1c5979(0x2ef);const _0x594f11=_0x1679e2;if(_0x4436eb['hasPendingHooks'](_0x1a113e)){const _0x3b10cb=_0x4436eb[_0x1c5979(0x244)](_0x1a113e);logger[_0x1c5979(0x216)]('Processing\x20'+_0x3b10cb[_0x1c5979(0x30a)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x1a113e);for(const _0x1b27e4 of _0x3b10cb){try{const _0x3fe328=await this['trackHookEvent'](_0x4436eb,_0x1b27e4[_0x1c5979(0x230)],_0x1b27e4[_0x1c5979(0x383)],_0x1b27e4[_0x1c5979(0x324)]);_0x3fe328&&_0x594f11[_0x1c5979(0x2b0)](Object[_0x1c5979(0x270)](_0x3fe328)[_0x1c5979(0x30a)],0x0)&&_0x4436eb[_0x1c5979(0x234)](_0x3fe328),await this['runHooks'](_0x4436eb,_0x1b27e4[_0x1c5979(0x230)],_0x1b27e4[_0x1c5979(0x383)],_0x1b27e4[_0x1c5979(0x324)]);}catch(_0x2a06ab){logger[_0x1c5979(0x25e)](_0x1c5979(0x2a1)+_0x1a113e+_0x1c5979(0x340)+_0x2a06ab);}}_0x4436eb['removePendingHooks'](_0x1a113e),logger[_0x1c5979(0x216)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x1a113e);}const _0x3cd8f4=_0x4436eb[_0x1c5979(0x22f)]()[_0x1c5979(0x2d9)](_0x1a113e);if(_0x3cd8f4){const _0x5e1953=_0x3cd8f4[TestFrameworkConstants[_0x1c5979(0x318)]]||_0x3cd8f4[TestFrameworkConstants[_0x1c5979(0x21f)]],_0x2973a4=_0x3cd8f4[TestFrameworkConstants[_0x1c5979(0x2ac)]]||_0x3cd8f4[TestFrameworkConstants[_0x1c5979(0x227)]]&&_0x3cd8f4[TestFrameworkConstants[_0x1c5979(0x227)]][0x0]||'';logger[_0x1c5979(0x216)](_0x1c5979(0x345)+_0x5e1953+_0x1c5979(0x34b)+_0x2973a4);const _0x550655=_0x4436eb['getAllPendingHookTestIds']();for(const _0x248728 of _0x550655){if(_0x594f11[_0x1c5979(0x2ce)](_0x248728,_0x1a113e))continue;if(_0x4436eb[_0x1c5979(0x2e3)](_0x248728)){const _0x4e0690=_0x4436eb[_0x1c5979(0x244)](_0x248728);for(const _0x437565 of _0x4e0690){if(_0x594f11[_0x1c5979(0x2ce)](_0x437565[_0x1c5979(0x230)],TestFrameworkState[_0x1c5979(0x23a)])&&_0x437565['hookMetadata']){const _0x4f5ebe=_0x437565[_0x1c5979(0x2f8)][_0x1c5979(0x2eb)],_0x2babf5=_0x437565[_0x1c5979(0x2f8)][_0x1c5979(0x2b1)];if(_0x594f11[_0x1c5979(0x302)](_0x4f5ebe,_0x5e1953)&&_0x594f11['KOyfy'](_0x2babf5,_0x2973a4)){logger[_0x1c5979(0x216)](_0x1c5979(0x32c)+_0x248728+',\x20currentTestId:\x20'+_0x1a113e+_0x1c5979(0x240)+_0x4f5ebe+_0x1c5979(0x34b)+_0x2babf5);_0x437565[_0x1c5979(0x324)]&&_0x437565[_0x1c5979(0x324)][_0x1c5979(0x1ef)]&&(_0x437565[_0x1c5979(0x324)][_0x1c5979(0x1ef)][_0x1c5979(0x2c5)]=_0x1a113e,logger[_0x1c5979(0x216)](_0x1c5979(0x32a)+_0x248728+_0x1c5979(0x2df)+_0x1a113e));try{const _0x4d4a3a=await this[_0x1c5979(0x1fc)](_0x4436eb,_0x437565[_0x1c5979(0x230)],_0x437565['hookState'],_0x437565[_0x1c5979(0x324)]);_0x4d4a3a&&_0x594f11[_0x1c5979(0x2c4)](Object[_0x1c5979(0x270)](_0x4d4a3a)['length'],0x0)&&_0x4436eb[_0x1c5979(0x234)](_0x4d4a3a);await this[_0x1c5979(0x267)](_0x4436eb,_0x437565['testFrameworkState'],_0x437565['hookState'],_0x437565[_0x1c5979(0x324)]);const _0x4b8816=_0x4436eb[_0x1c5979(0x244)](_0x248728)[_0x1c5979(0x2d1)](_0x9bf246=>_0x9bf246!==_0x437565);if(_0x594f11[_0x1c5979(0x308)](_0x4b8816[_0x1c5979(0x30a)],0x0))_0x4436eb[_0x1c5979(0x2d4)](_0x248728);else{_0x4436eb['removePendingHooks'](_0x248728);for(const _0x5e5d42 of _0x4b8816){_0x4436eb['addPendingHook'](_0x248728,_0x5e5d42);}}logger['debug'](_0x594f11[_0x1c5979(0x2d6)]);}catch(_0x1602ee){logger['error'](_0x1c5979(0x2f6)+_0x1a113e+_0x1c5979(0x340)+_0x1602ee);}}}}}}}}[a75_0x1889a9(0x35f)](_0x2e51c7){const _0x6108c0=a75_0x1889a9,_0x565c13={'FHueF':function(_0x485f20){return _0x485f20();}};if(!_0x2e51c7||!_0x2e51c7[_0x6108c0(0x387)])return;_0x2e51c7[_0x6108c0(0x387)][_0x6108c0(0x376)]&&Array[_0x6108c0(0x257)](_0x2e51c7['parent'][_0x6108c0(0x376)])&&_0x2e51c7['parent'][_0x6108c0(0x376)]['forEach'](_0x134c52=>{const _0x5e2e5b=_0x6108c0;!_0x134c52[_0x5e2e5b(0x34a)]&&!_0x134c52[_0x5e2e5b(0x377)]&&(_0x134c52[_0x5e2e5b(0x34a)]=_0x565c13[_0x5e2e5b(0x286)](uuidv4),_0x134c52['hookUUID']=_0x134c52[_0x5e2e5b(0x34a)],logger['debug'](_0x5e2e5b(0x20e)+_0x134c52[_0x5e2e5b(0x309)]+_0x5e2e5b(0x278)+_0x134c52[_0x5e2e5b(0x34a)]));}),this[_0x6108c0(0x35f)](_0x2e51c7[_0x6108c0(0x387)]);}[a75_0x1889a9(0x373)](_0x23b111){const _0x53c89e=a75_0x1889a9,_0x552b2a={'iCflN':function(_0x31d54c,_0x585d8b){return _0x31d54c(_0x585d8b);}};if(!_0x23b111||!_0x23b111[_0x53c89e(0x387)])return[];const _0x3c9fa6=[];return _0x23b111[_0x53c89e(0x387)][_0x53c89e(0x376)]&&Array[_0x53c89e(0x257)](_0x23b111['parent'][_0x53c89e(0x376)])&&_0x23b111[_0x53c89e(0x387)][_0x53c89e(0x376)]['forEach'](_0x5f5677=>{const _0x3e293c=_0x53c89e,_0x3e5d91=_0x5f5677[_0x3e293c(0x34a)]||_0x5f5677[_0x3e293c(0x377)];_0x3e5d91&&!this[_0x3e293c(0x341)](_0x5f5677)&&!_0x552b2a[_0x3e293c(0x273)](isInternalHook,_0x5f5677['fn'])&&_0x3c9fa6[_0x3e293c(0x20b)](_0x3e5d91);}),[..._0x3c9fa6,...this[_0x53c89e(0x373)](_0x23b111[_0x53c89e(0x387)])];}['buildHookMapFromTest'](_0x519136){const _0x516a9b=a75_0x1889a9,_0x90c23d={'yNIUI':function(_0x239a84,_0x2d7d36){return _0x239a84(_0x2d7d36);},'FPQPY':_0x516a9b(0x2ea),'yxfwx':function(_0x19d60b,_0x12798f){return _0x19d60b(_0x12798f);},'sgFUJ':function(_0x3514e5,_0x40b1ee){return _0x3514e5(_0x40b1ee);}},_0x204c21=new Map(),_0x2c4c7c=_0x1d8cf8=>{const _0x1e71cc=_0x516a9b,_0x420bae={'KaDbC':function(_0x59ae6a,_0x18ccf9){const _0x3ed697=a75_0x5149;return _0x90c23d[_0x3ed697(0x2fb)](_0x59ae6a,_0x18ccf9);},'pmmLw':_0x90c23d[_0x1e71cc(0x338)]};if(!_0x1d8cf8||!_0x1d8cf8[_0x1e71cc(0x387)])return;_0x1d8cf8[_0x1e71cc(0x387)][_0x1e71cc(0x376)]&&Array[_0x1e71cc(0x257)](_0x1d8cf8['parent']['hooks'])&&_0x1d8cf8[_0x1e71cc(0x387)][_0x1e71cc(0x376)]['forEach'](_0xe3dc1e=>{const _0x3bd286=_0x1e71cc,_0x439c78=_0xe3dc1e[_0x3bd286(0x34a)]||_0xe3dc1e[_0x3bd286(0x377)];if(_0x439c78&&!this[_0x3bd286(0x341)](_0xe3dc1e)&&!_0x420bae[_0x3bd286(0x285)](isInternalHook,_0xe3dc1e['fn'])){const _0x492fca={};_0x492fca[_0x3bd286(0x309)]=_0xe3dc1e[_0x3bd286(0x309)]||_0x420bae[_0x3bd286(0x332)],_0x492fca[_0x3bd286(0x2cf)]=_0xe3dc1e['name']||'\x22'+_0xe3dc1e[_0x3bd286(0x309)]+_0x3bd286(0x2e2),_0x204c21['set'](_0x439c78,_0x492fca);}}),_0x90c23d[_0x1e71cc(0x20f)](_0x2c4c7c,_0x1d8cf8[_0x1e71cc(0x387)]);};return _0x90c23d[_0x516a9b(0x1fa)](_0x2c4c7c,_0x519136),_0x204c21;}[a75_0x1889a9(0x341)](_0x5c090b){const _0x34d217=a75_0x1889a9,_0x5b1ea8={};_0x5b1ea8[_0x34d217(0x381)]='jest-circus',_0x5b1ea8[_0x34d217(0x235)]=_0x34d217(0x24c);const _0x51ebf8=_0x5b1ea8;try{const _0x230d94=this[_0x34d217(0x351)](_0x5c090b);return _0x230d94&&_0x230d94[_0x34d217(0x2af)](_0x51ebf8[_0x34d217(0x381)]);}catch(_0x2a4344){logger[_0x34d217(0x216)](_0x51ebf8[_0x34d217(0x235)]);}return![];}['getRootParentFile'](_0x5ad6df){const _0x1ff329=a75_0x1889a9;if(_0x5ad6df[_0x1ff329(0x22e)])try{const _0x16954b=stackTrace['parse'](_0x5ad6df[_0x1ff329(0x22e)]);return _0x16954b[0x0]?_0x16954b[0x0]['getFileName']():null;}catch(_0x52c432){logger['debug'](_0x1ff329(0x35b)+util['format'](_0x52c432));}if(_0x5ad6df[_0x1ff329(0x2e0)])return _0x5ad6df[_0x1ff329(0x2e0)];return null;}}module[a75_0x1889a9(0x219)]=JestTestFramework;
@@ -1 +1 @@
1
- const a72_0x198967=a72_0x5f4c;function a72_0x5f4c(_0x1c3439,_0x3b1b69){const _0x34b897=a72_0x34b8();return a72_0x5f4c=function(_0x5f4c05,_0x196626){_0x5f4c05=_0x5f4c05-0xdb;let _0x217951=_0x34b897[_0x5f4c05];return _0x217951;},a72_0x5f4c(_0x1c3439,_0x3b1b69);}(function(_0x8cca2,_0x415d90){const _0x57ab75=a72_0x5f4c,_0x33f4a7=_0x8cca2();while(!![]){try{const _0x52124b=parseInt(_0x57ab75(0xf4))/0x1+-parseInt(_0x57ab75(0xeb))/0x2*(-parseInt(_0x57ab75(0xf1))/0x3)+parseInt(_0x57ab75(0xfe))/0x4+parseInt(_0x57ab75(0x101))/0x5+parseInt(_0x57ab75(0xf9))/0x6*(-parseInt(_0x57ab75(0xe3))/0x7)+-parseInt(_0x57ab75(0xe6))/0x8*(parseInt(_0x57ab75(0x105))/0x9)+parseInt(_0x57ab75(0x107))/0xa;if(_0x52124b===_0x415d90)break;else _0x33f4a7['push'](_0x33f4a7['shift']());}catch(_0x2291fc){_0x33f4a7['push'](_0x33f4a7['shift']());}}}(a72_0x34b8,0x65361));function a72_0x34b8(){const _0x35ffd0=['trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','../instances/automationFrameworkInstance.js','618hFMHyg','message','NONE','bsParams','trackEvent:\x20automationFrameworkState=','955856JZUsGB','eIDaw','../cliUtils.js','694955vDTvtt','getId','PlaywrightAutomationFramework',',\x20state=','54TLGVJl','../instances/trackedInstance.js','2990030SBlleV','../state/automationFrameworkState.js','logger','./automationFramework.js','setTrackedInstance','gFvjx','getAutomationFrameworkName','createContext','PLAYWRIGHT_DISPATCH','43939DtRymm','exports','info','936848UCnwht','resolveInstance','lqcdn','trackPlaywrightInstance','getAutomationFrameworkVersion','747226QKvRVk','params','\x20target=','gFbDz','getTrackedInstance','debug','3eNXTYe','trackEvent','../../../helpers/classLogger.js','713157AhUHlc','hZnnF','\x20hookState='];a72_0x34b8=function(){return _0x35ffd0;};return a72_0x34b8();}const AutomationFramework=require(a72_0x198967(0xdd)),{createClassLogger}=require(a72_0x198967(0xf3)),AutomationFrameworkState=require(a72_0x198967(0xdb)),CLIUtils=require(a72_0x198967(0x100)),TrackedInstance=require(a72_0x198967(0x106)),AutomationFrameworkInstance=require(a72_0x198967(0xf8));class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x198967(0xdc)]=createClassLogger(a72_0x198967(0x103));constructor(_0x3a7c09,_0x514ee3){super(_0x3a7c09,_0x514ee3);}async['trackEvent'](_0x505ed2,_0x4c9dea,_0x409ac1={}){const _0x344bd2=a72_0x198967,_0x21cdda={};_0x21cdda[_0x344bd2(0xe8)]=function(_0xa1e9bd,_0x56a9eb){return _0xa1e9bd===_0x56a9eb;};const _0x3c49cc=_0x21cdda;this['logger'][_0x344bd2(0xf0)](_0x344bd2(0xfd)+_0x505ed2+_0x344bd2(0xf6)+_0x4c9dea),await super[_0x344bd2(0xf2)](_0x505ed2,_0x4c9dea,_0x409ac1);const _0x446488=this[_0x344bd2(0xe7)](_0x505ed2,_0x4c9dea,_0x409ac1);if(_0x3c49cc[_0x344bd2(0xe8)](_0x446488,null))return;_0x409ac1['instance']=_0x446488,await this['runHooks'](_0x446488,_0x505ed2,_0x4c9dea,_0x409ac1);}[a72_0x198967(0xe7)](_0x11bee3,_0x49dd35,_0x1e70a4={}){const _0x488c9c=a72_0x198967,_0x9fcf15={};_0x9fcf15[_0x488c9c(0xff)]=function(_0x3e7926,_0x203a14){return _0x3e7926===_0x203a14;},_0x9fcf15[_0x488c9c(0xf5)]=function(_0xb9d3d9,_0x5ddb00){return _0xb9d3d9===_0x5ddb00;},_0x9fcf15[_0x488c9c(0xdf)]=function(_0xc14d18,_0x2491e6){return _0xc14d18===_0x2491e6;};const _0xf8637d=_0x9fcf15;let _0x1fe4b2=null;return(_0xf8637d['eIDaw'](_0x11bee3,AutomationFrameworkState['CREATE'])||_0xf8637d[_0x488c9c(0xf5)](_0x11bee3,AutomationFrameworkState[_0x488c9c(0xe2)])&&(_0x1e70a4[_0x488c9c(0xfa)]&&_0x1e70a4[_0x488c9c(0xfa)][_0x488c9c(0xec)]&&_0x1e70a4[_0x488c9c(0xfa)]['params'][_0x488c9c(0xfc)])||_0xf8637d[_0x488c9c(0xdf)](_0x11bee3,AutomationFrameworkState[_0x488c9c(0xfb)]))&&this[_0x488c9c(0xe9)](_0x11bee3,_0x1e70a4),_0x1fe4b2=AutomationFramework['getTrackedInstance'](),_0x1fe4b2;}[a72_0x198967(0xe9)](_0x448305,_0x12db58){const _0x96a92a=a72_0x198967,_0x1ebcc3={};_0x1ebcc3[_0x96a92a(0xee)]='trackPlaywrightInstance:\x20instance\x20already\x20exists';const _0xb4f446=_0x1ebcc3;if(AutomationFramework[_0x96a92a(0xef)]()){this[_0x96a92a(0xdc)][_0x96a92a(0xe5)](_0xb4f446['gFbDz']);return;}const _0x11d2c0=CLIUtils['getCurrentInstanceName'](),_0x597ea9=TrackedInstance[_0x96a92a(0xe1)](_0x11d2c0);let _0x1ae0b6=null;this['logger'][_0x96a92a(0xe5)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x11d2c0+_0x96a92a(0x104)+_0x448305),_0x1ae0b6=new AutomationFrameworkInstance(_0x597ea9,this[_0x96a92a(0xe0)](),this[_0x96a92a(0xea)](),_0x448305),AutomationFramework[_0x96a92a(0xde)](_0x597ea9,_0x1ae0b6),this['logger'][_0x96a92a(0xe5)](_0x96a92a(0xf7)+_0x597ea9[_0x96a92a(0x102)]()+_0x96a92a(0xed)+_0x11d2c0);}}module[a72_0x198967(0xe4)]=PlaywrightAutomationFramework;
1
+ const a76_0x2e631c=a76_0x5636;function a76_0x5636(_0x517981,_0xae61ab){const _0xf59c21=a76_0xf59c();return a76_0x5636=function(_0x56365e,_0x485642){_0x56365e=_0x56365e-0xd3;let _0x49790b=_0xf59c21[_0x56365e];return _0x49790b;},a76_0x5636(_0x517981,_0xae61ab);}(function(_0x22b102,_0x470b60){const _0x2f97a2=a76_0x5636,_0x3e0f85=_0x22b102();while(!![]){try{const _0x255855=-parseInt(_0x2f97a2(0xf5))/0x1+parseInt(_0x2f97a2(0xf0))/0x2+parseInt(_0x2f97a2(0xe3))/0x3*(parseInt(_0x2f97a2(0xe7))/0x4)+-parseInt(_0x2f97a2(0xfb))/0x5+parseInt(_0x2f97a2(0xfc))/0x6*(parseInt(_0x2f97a2(0xdc))/0x7)+-parseInt(_0x2f97a2(0xde))/0x8*(-parseInt(_0x2f97a2(0xd4))/0x9)+parseInt(_0x2f97a2(0xe9))/0xa;if(_0x255855===_0x470b60)break;else _0x3e0f85['push'](_0x3e0f85['shift']());}catch(_0x163046){_0x3e0f85['push'](_0x3e0f85['shift']());}}}(a76_0xf59c,0xdf98e));const AutomationFramework=require(a76_0x2e631c(0xf1)),{createClassLogger}=require(a76_0x2e631c(0xf2)),AutomationFrameworkState=require(a76_0x2e631c(0xed)),CLIUtils=require(a76_0x2e631c(0xef)),TrackedInstance=require(a76_0x2e631c(0xd6)),AutomationFrameworkInstance=require(a76_0x2e631c(0xf4));class PlaywrightAutomationFramework extends AutomationFramework{[a76_0x2e631c(0xea)]=createClassLogger('PlaywrightAutomationFramework');constructor(_0x3d8ae8,_0x15fa93){super(_0x3d8ae8,_0x15fa93);}async[a76_0x2e631c(0xee)](_0x3bdce7,_0x460291,_0x488e39={}){const _0x419250=a76_0x2e631c,_0x493331={};_0x493331['LwDbX']=function(_0x4a0879,_0x2b2064){return _0x4a0879===_0x2b2064;};const _0x2071f4=_0x493331;this[_0x419250(0xea)]['debug'](_0x419250(0xf7)+_0x3bdce7+_0x419250(0xdb)+_0x460291),await super[_0x419250(0xee)](_0x3bdce7,_0x460291,_0x488e39);const _0x29b3d1=this[_0x419250(0xe6)](_0x3bdce7,_0x460291,_0x488e39);if(_0x2071f4[_0x419250(0xeb)](_0x29b3d1,null))return;_0x488e39[_0x419250(0xdf)]=_0x29b3d1,await this['runHooks'](_0x29b3d1,_0x3bdce7,_0x460291,_0x488e39);}[a76_0x2e631c(0xe6)](_0x1b9049,_0x5d18f4,_0x3bb2af={}){const _0x555772=a76_0x2e631c,_0x5f2026={};_0x5f2026[_0x555772(0xe0)]=function(_0x267c42,_0x45d126){return _0x267c42===_0x45d126;},_0x5f2026[_0x555772(0xd8)]=function(_0x467581,_0x871720){return _0x467581===_0x871720;},_0x5f2026[_0x555772(0xe2)]=function(_0xe26633,_0x3587b2){return _0xe26633===_0x3587b2;};const _0x49549b=_0x5f2026;let _0x38b51d=null;return(_0x49549b[_0x555772(0xe0)](_0x1b9049,AutomationFrameworkState[_0x555772(0xf9)])||_0x49549b['JKJVr'](_0x1b9049,AutomationFrameworkState[_0x555772(0xd9)])&&(_0x3bb2af[_0x555772(0xe5)]&&_0x3bb2af['message'][_0x555772(0xe1)]&&_0x3bb2af[_0x555772(0xe5)]['params'][_0x555772(0xec)])||_0x49549b['mrcXZ'](_0x1b9049,AutomationFrameworkState[_0x555772(0xf8)]))&&this[_0x555772(0xe8)](_0x1b9049,_0x3bb2af),_0x38b51d=AutomationFramework[_0x555772(0xe4)](),_0x38b51d;}['trackPlaywrightInstance'](_0x308888,_0x34ed5c){const _0xde1963=a76_0x2e631c,_0x4cbec9={};_0x4cbec9[_0xde1963(0xdd)]='trackPlaywrightInstance:\x20instance\x20already\x20exists';const _0x1b3ca3=_0x4cbec9;if(AutomationFramework[_0xde1963(0xe4)]()){this[_0xde1963(0xea)][_0xde1963(0xd5)](_0x1b3ca3[_0xde1963(0xdd)]);return;}const _0x41a34d=CLIUtils[_0xde1963(0xda)](),_0x5196a2=TrackedInstance['createContext'](_0x41a34d);let _0x4f55e9=null;this[_0xde1963(0xea)]['info'](_0xde1963(0xd3)+_0x41a34d+',\x20state='+_0x308888),_0x4f55e9=new AutomationFrameworkInstance(_0x5196a2,this['getAutomationFrameworkName'](),this[_0xde1963(0xf3)](),_0x308888),AutomationFramework['setTrackedInstance'](_0x5196a2,_0x4f55e9),this[_0xde1963(0xea)][_0xde1963(0xd5)](_0xde1963(0xf6)+_0x5196a2[_0xde1963(0xd7)]()+_0xde1963(0xfd)+_0x41a34d);}}function a76_0xf59c(){const _0x3f8347=['./automationFramework.js','../../../helpers/classLogger.js','getAutomationFrameworkVersion','../instances/automationFrameworkInstance.js','598936ypunvK','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','trackEvent:\x20automationFrameworkState=','NONE','CREATE','exports','7640745hssJTz','294ArfEgY','\x20target=','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','54IWosZw','info','../instances/trackedInstance.js','getId','JKJVr','PLAYWRIGHT_DISPATCH','getCurrentInstanceName','\x20hookState=','21994EjJIZj','XoMGT','220120tyymzO','instance','aaPJs','params','mrcXZ','4296741sJphkE','getTrackedInstance','message','resolveInstance','4DxCjVg','trackPlaywrightInstance','7486190PiHZie','logger','LwDbX','bsParams','../state/automationFrameworkState.js','trackEvent','../cliUtils.js','1086050yCwfMg'];a76_0xf59c=function(){return _0x3f8347;};return a76_0xf59c();}module[a76_0x2e631c(0xfa)]=PlaywrightAutomationFramework;