browserstack-node-sdk 1.49.2 → 1.49.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a69_0x3e8ad7=a69_0x50ae;(function(_0x4d18c6,_0x4c1b5f){const _0x2324cb=a69_0x50ae,_0x8b5d27=_0x4d18c6();while(!![]){try{const _0xcc1937=parseInt(_0x2324cb(0x15d))/0x1*(parseInt(_0x2324cb(0x157))/0x2)+parseInt(_0x2324cb(0x14a))/0x3+-parseInt(_0x2324cb(0x188))/0x4*(-parseInt(_0x2324cb(0x14e))/0x5)+-parseInt(_0x2324cb(0x165))/0x6+parseInt(_0x2324cb(0x161))/0x7+parseInt(_0x2324cb(0x195))/0x8+-parseInt(_0x2324cb(0x1a5))/0x9*(parseInt(_0x2324cb(0x194))/0xa);if(_0xcc1937===_0x4c1b5f)break;else _0x8b5d27['push'](_0x8b5d27['shift']());}catch(_0x3643d3){_0x8b5d27['push'](_0x8b5d27['shift']());}}}(a69_0x4e66,0xb326d));const a69_0x5ee81a={};a69_0x5ee81a[a69_0x3e8ad7(0x16c)]=a69_0x3e8ad7(0x14d),a69_0x5ee81a[a69_0x3e8ad7(0x177)]=a69_0x3e8ad7(0x178),a69_0x5ee81a[a69_0x3e8ad7(0x19b)]=a69_0x3e8ad7(0x180),a69_0x5ee81a[a69_0x3e8ad7(0x15e)]=a69_0x3e8ad7(0x174),a69_0x5ee81a[a69_0x3e8ad7(0x16b)]=a69_0x3e8ad7(0x16a),a69_0x5ee81a[a69_0x3e8ad7(0x16d)]='test_result',a69_0x5ee81a['KEY_TEST_RESULT_AT']=a69_0x3e8ad7(0x167),a69_0x5ee81a[a69_0x3e8ad7(0x171)]=a69_0x3e8ad7(0x198),a69_0x5ee81a[a69_0x3e8ad7(0x154)]='test_ended_at',a69_0x5ee81a[a69_0x3e8ad7(0x185)]=a69_0x3e8ad7(0x15b),a69_0x5ee81a['KEY_TEST_SCOPE']=a69_0x3e8ad7(0x199),a69_0x5ee81a[a69_0x3e8ad7(0x168)]=a69_0x3e8ad7(0x160),a69_0x5ee81a[a69_0x3e8ad7(0x18b)]=a69_0x3e8ad7(0x18d),a69_0x5ee81a[a69_0x3e8ad7(0x196)]=a69_0x3e8ad7(0x17c),a69_0x5ee81a[a69_0x3e8ad7(0x14b)]=a69_0x3e8ad7(0x18a),a69_0x5ee81a[a69_0x3e8ad7(0x190)]=a69_0x3e8ad7(0x15a),a69_0x5ee81a[a69_0x3e8ad7(0x15f)]=a69_0x3e8ad7(0x152),a69_0x5ee81a[a69_0x3e8ad7(0x158)]=a69_0x3e8ad7(0x18c),a69_0x5ee81a[a69_0x3e8ad7(0x16e)]=a69_0x3e8ad7(0x179),a69_0x5ee81a['KEY_TEST_FAILURE_TYPE']=a69_0x3e8ad7(0x186),a69_0x5ee81a[a69_0x3e8ad7(0x193)]=a69_0x3e8ad7(0x1a0),a69_0x5ee81a[a69_0x3e8ad7(0x155)]=a69_0x3e8ad7(0x17e),a69_0x5ee81a[a69_0x3e8ad7(0x17b)]=a69_0x3e8ad7(0x17d),a69_0x5ee81a[a69_0x3e8ad7(0x19c)]=a69_0x3e8ad7(0x182),a69_0x5ee81a['KEY_AUTOMATE_SESSION_NAME']='automate_session_name',a69_0x5ee81a['KEY_AUTOMATE_SESSION_STATUS']=a69_0x3e8ad7(0x150),a69_0x5ee81a[a69_0x3e8ad7(0x159)]=a69_0x3e8ad7(0x183),a69_0x5ee81a[a69_0x3e8ad7(0x162)]=a69_0x3e8ad7(0x187),a69_0x5ee81a['KEY_EVENT_ENDED_AT']=a69_0x3e8ad7(0x18e),a69_0x5ee81a[a69_0x3e8ad7(0x19f)]=a69_0x3e8ad7(0x1a1),a69_0x5ee81a[a69_0x3e8ad7(0x19e)]=a69_0x3e8ad7(0x181),a69_0x5ee81a[a69_0x3e8ad7(0x19d)]=a69_0x3e8ad7(0x164),a69_0x5ee81a['KEY_HOOK_FAILURE_REASON']='hook_failure_reason',a69_0x5ee81a['KEY_HOOK_FAILURE']=a69_0x3e8ad7(0x172),a69_0x5ee81a[a69_0x3e8ad7(0x166)]=a69_0x3e8ad7(0x14c),a69_0x5ee81a['KEY_HOOK_NAME']=a69_0x3e8ad7(0x17a),a69_0x5ee81a['DEFAULT_TEST_RESULT']=a69_0x3e8ad7(0x153),a69_0x5ee81a[a69_0x3e8ad7(0x156)]=a69_0x3e8ad7(0x153),a69_0x5ee81a[a69_0x3e8ad7(0x17f)]='TEST_SCREENSHOT',a69_0x5ee81a[a69_0x3e8ad7(0x163)]=a69_0x3e8ad7(0x170),a69_0x5ee81a[a69_0x3e8ad7(0x1a3)]=a69_0x3e8ad7(0x169),a69_0x5ee81a[a69_0x3e8ad7(0x189)]=a69_0x3e8ad7(0x192),a69_0x5ee81a[a69_0x3e8ad7(0x176)]='test_hooks_finished',a69_0x5ee81a['KEY_HOOK_LAST_STARTED']=a69_0x3e8ad7(0x14f),a69_0x5ee81a[a69_0x3e8ad7(0x175)]=a69_0x3e8ad7(0x1a4),a69_0x5ee81a['KEY_LOGS']='logs',a69_0x5ee81a['KEY_CUSTOM_TAGS']=a69_0x3e8ad7(0x18f),a69_0x5ee81a['KEY_TEST_ATTACHMENTS']=a69_0x3e8ad7(0x19a),a69_0x5ee81a[a69_0x3e8ad7(0x173)]=a69_0x3e8ad7(0x1a2),a69_0x5ee81a[a69_0x3e8ad7(0x151)]=a69_0x3e8ad7(0x15c),a69_0x5ee81a[a69_0x3e8ad7(0x16f)]=a69_0x3e8ad7(0x184),a69_0x5ee81a[a69_0x3e8ad7(0x197)]='file_level';const TestFrameworkConstants=a69_0x5ee81a;function a69_0x50ae(_0x3c214d,_0x52fcd5){const _0x4e662a=a69_0x4e66();return a69_0x50ae=function(_0x50ae05,_0x5bd71b){_0x50ae05=_0x50ae05-0x14a;let _0x2b4730=_0x4e662a[_0x50ae05];return _0x2b4730;},a69_0x50ae(_0x3c214d,_0x52fcd5);}module[a69_0x3e8ad7(0x191)]=TestFrameworkConstants;function a69_0x4e66(){const _0x81c2f4=['test_attachments','KEY_TEST_NAME','KEY_SESSION_NAME','KEY_HOOK_FAILURE_TYPE','KEY_HOOK_RESULT','KEY_HOOK_ID','test_failure_reason','hook_id','file_size','HOOK_REGEX','test_hook_last_finished','11133lFruei','2901891KBUIcs','KEY_TEST_CODE','hook_logs','test_uuid','15PJOiXB','test_hook_last_started','automate_session_status','KEY_FILE_NAME','retry_of','pending','KEY_TEST_ENDED_AT','KEY_TEST_LOGS','DEFAULT_HOOK_RESULT','823064RPPjnB','KEY_PLATFORM_INDEX','KEY_AUTOMATE_SESSION_REASON','test_rerun_name','test_location','file_name','2EgYowx','KEY_TEST_FILE_PATH','KEY_TEST_RETRY_OF','test_scopes','6081768xmyULJ','KEY_EVENT_STARTED_AT','KIND_LOG','hook_failure_type','3246030yHKPWB','KEY_HOOK_LOGS','test_result_at','KEY_TEST_SCOPES','^(BEFORE_|AFTER_)','test_tags','KEY_TEST_TAGS','KEY_TEST_UUID','KEY_TEST_RESULT','KEY_TEST_FAILURE','KEY_FILE_PATH','TEST_LOG','KEY_TEST_STARTED_AT','hook_failure','KEY_FILE_SIZE','test_file_path','KEY_HOOK_LAST_FINISHED','KEY_HOOKS_FINISHED','KEY_TEST_ID','test_id','test_failure','hook_name','KEY_TEST_META','test_framework_version','test_meta','test_logs','KIND_SCREENSHOT','test_name','hook_result','test_session_name','automate_session_reason','file_path','KEY_TEST_LOCATION','test_failure_type','event_started_at','383204nbTYfq','KEY_HOOKS_STARTED','test_code','KEY_TEST_FRAMEWORK_NAME','platform_index','test_framework_name','event_ended_at','custom_metadata','KEY_TEST_RERUN_NAME','exports','test_hooks_started','KEY_TEST_FAILURE_REASON','17620IRhwCV','4062528ojNwmh','KEY_TEST_FRAMEWORK_VERSION','KEY_FILE_LEVEL','test_started_at','test_scope'];a69_0x4e66=function(){return _0x81c2f4;};return a69_0x4e66();}
1
+ const a69_0x518fb4=a69_0x273a;(function(_0x3887e4,_0x467231){const _0x24df5a=a69_0x273a,_0x32189e=_0x3887e4();while(!![]){try{const _0x5b9baf=parseInt(_0x24df5a(0x172))/0x1+parseInt(_0x24df5a(0x156))/0x2*(parseInt(_0x24df5a(0x170))/0x3)+parseInt(_0x24df5a(0x162))/0x4+-parseInt(_0x24df5a(0x163))/0x5*(-parseInt(_0x24df5a(0x123))/0x6)+-parseInt(_0x24df5a(0x144))/0x7*(-parseInt(_0x24df5a(0x16f))/0x8)+-parseInt(_0x24df5a(0x133))/0x9*(parseInt(_0x24df5a(0x15c))/0xa)+-parseInt(_0x24df5a(0x16d))/0xb*(parseInt(_0x24df5a(0x122))/0xc);if(_0x5b9baf===_0x467231)break;else _0x32189e['push'](_0x32189e['shift']());}catch(_0x56c564){_0x32189e['push'](_0x32189e['shift']());}}}(a69_0x3adb,0xdf1e5));function a69_0x273a(_0x45909d,_0x2d4961){const _0x3adb9d=a69_0x3adb();return a69_0x273a=function(_0x273a49,_0x5acaa2){_0x273a49=_0x273a49-0x121;let _0x328caa=_0x3adb9d[_0x273a49];return _0x328caa;},a69_0x273a(_0x45909d,_0x2d4961);}const a69_0x44ac4c={};a69_0x44ac4c[a69_0x518fb4(0x166)]=a69_0x518fb4(0x13a),a69_0x44ac4c['KEY_TEST_ID']=a69_0x518fb4(0x13d),a69_0x44ac4c['KEY_TEST_NAME']=a69_0x518fb4(0x153),a69_0x44ac4c[a69_0x518fb4(0x132)]=a69_0x518fb4(0x13c),a69_0x44ac4c[a69_0x518fb4(0x12b)]=a69_0x518fb4(0x14b),a69_0x44ac4c[a69_0x518fb4(0x165)]=a69_0x518fb4(0x147),a69_0x44ac4c[a69_0x518fb4(0x148)]='test_result_at',a69_0x44ac4c['KEY_TEST_STARTED_AT']=a69_0x518fb4(0x136),a69_0x44ac4c[a69_0x518fb4(0x126)]=a69_0x518fb4(0x135),a69_0x44ac4c[a69_0x518fb4(0x157)]=a69_0x518fb4(0x169),a69_0x44ac4c[a69_0x518fb4(0x138)]='test_scope',a69_0x44ac4c[a69_0x518fb4(0x176)]='test_scopes',a69_0x44ac4c[a69_0x518fb4(0x178)]=a69_0x518fb4(0x139),a69_0x44ac4c[a69_0x518fb4(0x167)]=a69_0x518fb4(0x13f),a69_0x44ac4c[a69_0x518fb4(0x15f)]='test_code',a69_0x44ac4c[a69_0x518fb4(0x158)]=a69_0x518fb4(0x15d),a69_0x44ac4c[a69_0x518fb4(0x159)]=a69_0x518fb4(0x15e),a69_0x44ac4c[a69_0x518fb4(0x146)]=a69_0x518fb4(0x128),a69_0x44ac4c['KEY_TEST_FAILURE']=a69_0x518fb4(0x150),a69_0x44ac4c[a69_0x518fb4(0x12d)]=a69_0x518fb4(0x16b),a69_0x44ac4c['KEY_TEST_FAILURE_REASON']=a69_0x518fb4(0x143),a69_0x44ac4c[a69_0x518fb4(0x12e)]='test_logs',a69_0x44ac4c[a69_0x518fb4(0x16e)]=a69_0x518fb4(0x15b),a69_0x44ac4c[a69_0x518fb4(0x177)]=a69_0x518fb4(0x168),a69_0x44ac4c['KEY_AUTOMATE_SESSION_NAME']=a69_0x518fb4(0x142),a69_0x44ac4c['KEY_AUTOMATE_SESSION_STATUS']=a69_0x518fb4(0x16c),a69_0x44ac4c['KEY_AUTOMATE_SESSION_REASON']='automate_session_reason',a69_0x44ac4c['KEY_EVENT_STARTED_AT']=a69_0x518fb4(0x151),a69_0x44ac4c['KEY_EVENT_ENDED_AT']=a69_0x518fb4(0x13b),a69_0x44ac4c[a69_0x518fb4(0x160)]=a69_0x518fb4(0x155),a69_0x44ac4c[a69_0x518fb4(0x14d)]=a69_0x518fb4(0x154),a69_0x44ac4c[a69_0x518fb4(0x12c)]=a69_0x518fb4(0x149),a69_0x44ac4c[a69_0x518fb4(0x127)]='hook_failure_reason',a69_0x44ac4c['KEY_HOOK_FAILURE']='hook_failure',a69_0x44ac4c['KEY_HOOK_LOGS']=a69_0x518fb4(0x174),a69_0x44ac4c[a69_0x518fb4(0x131)]=a69_0x518fb4(0x130),a69_0x44ac4c[a69_0x518fb4(0x171)]='pending',a69_0x44ac4c[a69_0x518fb4(0x14c)]=a69_0x518fb4(0x15a),a69_0x44ac4c[a69_0x518fb4(0x145)]='TEST_SCREENSHOT',a69_0x44ac4c['KIND_LOG']=a69_0x518fb4(0x134),a69_0x44ac4c[a69_0x518fb4(0x124)]=a69_0x518fb4(0x161),a69_0x44ac4c[a69_0x518fb4(0x14e)]=a69_0x518fb4(0x137),a69_0x44ac4c[a69_0x518fb4(0x12a)]=a69_0x518fb4(0x152),a69_0x44ac4c['KEY_HOOK_LAST_STARTED']='test_hook_last_started',a69_0x44ac4c[a69_0x518fb4(0x16a)]=a69_0x518fb4(0x12f),a69_0x44ac4c[a69_0x518fb4(0x125)]=a69_0x518fb4(0x164),a69_0x44ac4c[a69_0x518fb4(0x141)]='custom_metadata',a69_0x44ac4c[a69_0x518fb4(0x129)]=a69_0x518fb4(0x13e),a69_0x44ac4c['KEY_FILE_SIZE']=a69_0x518fb4(0x14f),a69_0x44ac4c[a69_0x518fb4(0x175)]=a69_0x518fb4(0x140),a69_0x44ac4c['KEY_FILE_PATH']='file_path',a69_0x44ac4c[a69_0x518fb4(0x121)]=a69_0x518fb4(0x173);const TestFrameworkConstants=a69_0x44ac4c;function a69_0x3adb(){const _0x1e1135=['KEY_TEST_ATTACHMENTS','KEY_HOOKS_FINISHED','KEY_TEST_TAGS','KEY_HOOK_FAILURE_TYPE','KEY_TEST_FAILURE_TYPE','KEY_TEST_LOGS','test_hook_last_finished','hook_name','KEY_HOOK_NAME','KEY_TEST_FILE_PATH','171goZxzH','TEST_LOG','test_ended_at','test_started_at','test_hooks_started','KEY_TEST_SCOPE','test_framework_name','test_uuid','event_ended_at','test_file_path','test_id','test_attachments','test_framework_version','file_name','KEY_CUSTOM_TAGS','automate_session_name','test_failure_reason','839601KdBEJF','KIND_SCREENSHOT','KEY_PLATFORM_INDEX','test_result','KEY_TEST_RESULT_AT','hook_failure_type','exports','test_tags','DEFAULT_HOOK_RESULT','KEY_HOOK_RESULT','KEY_HOOKS_STARTED','file_size','test_failure','event_started_at','test_hooks_finished','test_name','hook_result','hook_id','166FdrBFk','KEY_TEST_LOCATION','KEY_TEST_RERUN_NAME','KEY_TEST_RETRY_OF','pending','test_meta','512560rrRZBT','test_rerun_name','retry_of','KEY_TEST_CODE','KEY_HOOK_ID','^(BEFORE_|AFTER_)','7026876RqFogM','15qFiExn','logs','KEY_TEST_RESULT','KEY_TEST_UUID','KEY_TEST_FRAMEWORK_VERSION','test_session_name','test_location','KEY_HOOK_LAST_FINISHED','test_failure_type','automate_session_status','84568QtAxwF','KEY_TEST_META','72yBzjFo','42114zUILrF','DEFAULT_TEST_RESULT','1321312zOrVzV','file_level','hook_logs','KEY_FILE_NAME','KEY_TEST_SCOPES','KEY_SESSION_NAME','KEY_TEST_FRAMEWORK_NAME','KEY_FILE_LEVEL','7572OCtzTl','2832426APXVpZ','HOOK_REGEX','KEY_LOGS','KEY_TEST_ENDED_AT','KEY_HOOK_FAILURE_REASON','platform_index'];a69_0x3adb=function(){return _0x1e1135;};return a69_0x3adb();}module[a69_0x518fb4(0x14a)]=TestFrameworkConstants;
@@ -1 +1 @@
1
- function a70_0x141f(_0x284743,_0x45e899){const _0x4e461d=a70_0x4e46();return a70_0x141f=function(_0x141f69,_0x5a3590){_0x141f69=_0x141f69-0x159;let _0x55970b=_0x4e461d[_0x141f69];return _0x55970b;},a70_0x141f(_0x284743,_0x45e899);}const a70_0x14a47d=a70_0x141f;function a70_0x4e46(){const _0x9e0f54=['6199081ORYdiy','KEY_TEST_RERUN_NAME','\x20response=',',\x20hookState:\x20','oDzWX','KEY_TEST_ATTACHMENTS','DEFAULT_TEST_RESULT','getTestUUID','KEY_HOOK_NAME','code','cQaEk','\x20testState:\x20','Stored\x20pending\x20hook\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_VERSION','setTestDetails','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','GqNmL','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','testUUID','../instances/trackedInstance.js','failure_type','hAzkK','KEY_TEST_STARTED_AT','KEY_HOOK_ID','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','hooks','BAuEO','KEY_HOOK_RESULT','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','readLogObjects','\x20hookState:\x20','finished_at','keys','resolveInstance','KEY_CUSTOM_TAGS','getAllData','dAbcH','finishedAt','split','failure_data','uSklj','GVnHD','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','JTjlM','./constants/testFrameworkConstants.js','getPendingHooks','../TestInfo.js','\x20and\x20args\x20=\x20','inspect','../../../helpers/helper.js','OyGYx','\x20payload=','KEY_TEST_RESULT_AT','LCoYE','error','KEY_TEST_RESULT','startedAt','Updated\x20cucumber\x20test\x20result:\x20','failure_reason','trackCucumberInstance','getTrackedInstance','name','PRE','Error\x20in\x20createTestFrameworkEventPayload:\x20','getContext','LOG_REPORT','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','\x20\x20and\x20args\x20=\x20','MBbpO','slice','storePendingHook','KEY_HOOKS_FINISHED','KEY_EVENT_STARTED_AT','TEST','stelU',',\x20state:\x20','./testFramework','qNgFL','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','test','base64','Parsed\x20cucumber\x20test:\x20','CUzck','gLrli','HnsUI','KEY_TEST_LOGS',',\x20state=','KEY_TEST_LOCATION','body','util','\x20&\x20hookState=','plbuf','Tracked\x20cucumber\x20hook\x20event:\x20','rCCym','DEFAULT_HOOK_RESULT','228YiQxoT','wYeQf','get','KEY_HOOK_LAST_STARTED','executionContext','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','VBrYD','POST','xAmYc','sendLogCreatedEvent','2038270Ciiwew','customRerunParam','removePendingHooks','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','toString','KEY_LOGS','INIT_TEST','uuid','format','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','workerInfo','40GgjduK','stringify','314460TYPVFM','meta','push','Qphvi','NrEVf','KEY_HOOK_FAILURE_REASON','trackEvent','Processing\x20','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','getId','Rwmcc','47319KmgBQS','NONE','../state/testFrameworkState.js','375348kRlTMy','concat','testFrameworkVersion','trackCucumberInstance:\x20saved\x20instance\x20contextId=','sendLogCreatedEvent:\x20for\x20testId:\x20','trackEvent:\x20unsupported\x20testFrameworkState=','key','KEY_TEST_UUID','../../../helpers/classLogger.js','twlpW','aQLFr','testFrameworkName','getTestDetails','\x20batch\x20','addPendingHook','test_run_id','addMultipleEntries','testFrameworkState','scopes','KEY_TEST_ENDED_AT','../instances/testFrameworkInstance.js','jmQED','ceil','runHooks','logCreatedEvent','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_TEST_FAILURE_REASON','EEdTu','debug','34043920AVKiGK','matchHookRegex','KEY_HOOKS_STARTED','failed','8lnvMaw','QXkRO','hvXgJ','testData','KEY_TEST_META','parseCucumberTestResult','createTestFrameworkEventPayload\x20testId:\x20','\x20pending\x20hooks\x20for\x20testId:\x20','\x20with\x20id\x20','KEY_TEST_NAME','failure','processPendingHooks','hookState','unknown','357183yMjING','toISOString','getCurrentTestState','\x20with\x20UUID:\x20','hook_type','getCurrentHookState','../cliUtils.js','endedAt','started_at','hasPendingHooks','length','getTestFrameworksVersions','tXErO','result','\x20with\x20result:\x20','UnhandledError','rerun_name','getProcessId','\x20target=','getTestFrameworks','hookData','parseCucumberTest','../grpcClient','trackHookEvent','KEY_HOOK_LAST_FINISHED'];a70_0x4e46=function(){return _0x9e0f54;};return a70_0x4e46();}(function(_0x224fd6,_0x22e8fd){const _0x45fa24=a70_0x141f,_0x417556=_0x224fd6();while(!![]){try{const _0x130cd6=parseInt(_0x45fa24(0x1d2))/0x1+-parseInt(_0x45fa24(0x1b5))/0x2+-parseInt(_0x45fa24(0x1cf))/0x3*(parseInt(_0x45fa24(0x1ab))/0x4)+-parseInt(_0x45fa24(0x1c2))/0x5*(parseInt(_0x45fa24(0x1c4))/0x6)+-parseInt(_0x45fa24(0x21a))/0x7+parseInt(_0x45fa24(0x1f3))/0x8*(parseInt(_0x45fa24(0x201))/0x9)+parseInt(_0x45fa24(0x1ef))/0xa;if(_0x130cd6===_0x22e8fd)break;else _0x417556['push'](_0x417556['shift']());}catch(_0x5628d5){_0x417556['push'](_0x417556['shift']());}}}(a70_0x4e46,0x91990));const TestFramework=require(a70_0x14a47d(0x197)),TestFrameworkState=require(a70_0x14a47d(0x1d1)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a70_0x14a47d(0x1da)),TestFrameworkInstance=require(a70_0x14a47d(0x1e6)),CLIUtils=require(a70_0x14a47d(0x207)),TrackedInstance=require(a70_0x14a47d(0x15e)),TestFrameworkConstants=require(a70_0x14a47d(0x177)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x14a47d(0x17c)),logger=createClassLogger('CucumberTestFramework'),{v4:uuidv4}=require(a70_0x14a47d(0x1bd)),util=require(a70_0x14a47d(0x1a5)),TestInfo=require(a70_0x14a47d(0x179)),GrpcClient=require(a70_0x14a47d(0x217));class CucumberTestFramework extends TestFramework{constructor(_0x185dd6,_0x103174,_0x1107f6){super(_0x185dd6,_0x103174,_0x1107f6);}async[a70_0x14a47d(0x1ca)](_0x2a6a37,_0xc2602,_0x2def01={}){const _0x31c389=a70_0x14a47d,_0x577fdf={};_0x577fdf['tXErO']=_0x31c389(0x1eb),_0x577fdf[_0x31c389(0x21e)]=function(_0x452b9a,_0x2801dc){return _0x452b9a===_0x2801dc;},_0x577fdf[_0x31c389(0x19f)]=function(_0x5f5aba,_0x363809){return _0x5f5aba===_0x363809;},_0x577fdf[_0x31c389(0x15b)]=function(_0x38a40a,_0x12b242){return _0x38a40a===_0x12b242;},_0x577fdf[_0x31c389(0x198)]=_0x31c389(0x163);const _0x3ff978=_0x577fdf;await super[_0x31c389(0x1ca)](_0x2a6a37,_0xc2602,_0x2def01);const _0x5606f3=this['resolveInstance'](_0x2a6a37,_0xc2602,_0x2def01);if(!_0x5606f3){logger[_0x31c389(0x1ee)](_0x3ff978[_0x31c389(0x20d)]);return;}try{let _0xcebf64,_0x1bf568;switch(_0x2a6a37){case TestFrameworkState[_0x31c389(0x194)]:_0xcebf64=_0x2def01[_0x31c389(0x19b)],_0x1bf568=TestInfo[_0x31c389(0x221)](_0xcebf64['id']);if(_0x3ff978[_0x31c389(0x21e)](_0xc2602,HookState[_0x31c389(0x189)])){logger[_0x31c389(0x1ee)](_0x31c389(0x175)+_0xcebf64['id']);const _0x4a2027={};_0x4a2027['testUUID']=_0x1bf568,_0x4a2027[_0x31c389(0x1f6)]=_0xcebf64,_0x5606f3[_0x31c389(0x1e2)](this[_0x31c389(0x216)](_0x4a2027)),logger[_0x31c389(0x1ee)](_0x31c389(0x15c)+_0xcebf64['id']),await this[_0x31c389(0x1fe)](_0x5606f3,_0xcebf64['id']);}else{if(_0x3ff978[_0x31c389(0x19f)](_0xc2602,HookState[_0x31c389(0x1b2)])){const _0x2b502c={};_0x2b502c[_0x31c389(0x15d)]=_0x1bf568,_0x2b502c['testData']=_0xcebf64,_0x5606f3[_0x31c389(0x1e2)](this[_0x31c389(0x1f8)](_0x2b502c)),await this[_0x31c389(0x1fe)](_0x5606f3,_0xcebf64['id']);}}break;case TestFrameworkState[_0x31c389(0x18c)]:_0x3ff978['GqNmL'](_0xc2602,HookState['POST'])&&await this[_0x31c389(0x1b4)](_0x5606f3,_0x2a6a37,_0x2def01);break;default:if(CLIUtils[_0x31c389(0x1f0)](_0x2a6a37[_0x31c389(0x1ba)]()[_0x31c389(0x171)]('.')[0x1])){const _0x324747=await this[_0x31c389(0x218)](_0x5606f3,_0x2a6a37,_0xc2602,_0x2def01);_0x5606f3['addMultipleEntries'](_0x324747);}else logger[_0x31c389(0x1ee)](_0x31c389(0x1d7)+_0x2a6a37+_0x31c389(0x1a6)+_0xc2602);break;}}catch(_0x7853e9){logger['error'](util[_0x31c389(0x1be)](_0x3ff978[_0x31c389(0x198)],_0x2a6a37,_0xc2602,_0x2def01[_0x31c389(0x20b)],_0x7853e9));}_0x2def01['instance']=_0x5606f3,await this[_0x31c389(0x1e9)](_0x5606f3,_0x2a6a37,_0xc2602,_0x2def01);}[a70_0x14a47d(0x16c)](_0x389019,_0x425f1a,_0x868a81={}){const _0x3795c4=a70_0x14a47d,_0x4277b5={};_0x4277b5['hAzkK']=function(_0x25bd0d,_0x51115e){return _0x25bd0d===_0x51115e;},_0x4277b5[_0x3795c4(0x1db)]=function(_0x294574,_0x23cdec){return _0x294574===_0x23cdec;};const _0x370972=_0x4277b5;let _0x368a16=null;return(_0x370972[_0x3795c4(0x160)](_0x389019,TestFrameworkState[_0x3795c4(0x1bc)])||_0x370972[_0x3795c4(0x1db)](_0x389019,TestFrameworkState[_0x3795c4(0x1d0)]))&&this[_0x3795c4(0x186)](_0x389019,_0x868a81),_0x368a16=TestFramework[_0x3795c4(0x187)](),_0x368a16;}['trackCucumberInstance'](_0x6951cd,_0x7ab84e){const _0x5bf2bc=a70_0x14a47d,_0x36367c=CLIUtils['getCurrentInstanceName'](),_0x2da609=TrackedInstance['createContext'](_0x36367c);let _0x6620e3=null;logger[_0x5bf2bc(0x1ee)]('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x36367c+_0x5bf2bc(0x1a2)+_0x6951cd),_0x6620e3=new TestFrameworkInstance(_0x2da609,this[_0x5bf2bc(0x214)](),this[_0x5bf2bc(0x20c)](),_0x6951cd,HookState[_0x5bf2bc(0x1d0)]),TestFramework['setTrackedInstance'](_0x2da609,_0x6620e3),logger[_0x5bf2bc(0x1ee)](_0x5bf2bc(0x1d5)+_0x2da609[_0x5bf2bc(0x1cd)]()+_0x5bf2bc(0x213)+_0x36367c);}[a70_0x14a47d(0x216)](_0x3835ff){const _0xb123cb=a70_0x14a47d,_0xaa032d={};_0xaa032d['xAmYc']=_0xb123cb(0x1cc);const _0x44ef0b=_0xaa032d,{testUUID:_0x377f9b,testData:_0x270d12}=_0x3835ff;if(!_0x270d12||!_0x270d12['uuid'])return logger['debug'](_0x44ef0b[_0xb123cb(0x1b3)]),{};const _0x266889=_0x270d12[_0xb123cb(0x1bd)],_0xcc365c=_0x270d12[_0xb123cb(0x1bd)],_0x21ee73=this[_0xb123cb(0x214)]()[0x0],_0x559804=this['getTestFrameworksVersions'](),_0x2ecead={[TestFrameworkConstants[_0xb123cb(0x19a)]]:_0x21ee73,[TestFrameworkConstants[_0xb123cb(0x227)]]:_0x559804[_0x21ee73],[TestFrameworkConstants[_0xb123cb(0x1a1)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0xb123cb(0x1f1)]]:{},[TestFrameworkConstants[_0xb123cb(0x1d9)]]:_0x266889,[TestFrameworkConstants[_0xb123cb(0x182)]]:TestFrameworkConstants[_0xb123cb(0x220)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x270d12['name']||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x270d12['file_name']||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0xcc365c,[TestFrameworkConstants[_0xb123cb(0x1fc)]]:_0x270d12[_0xb123cb(0x188)]||'',[TestFrameworkConstants[_0xb123cb(0x1a3)]]:_0x270d12['location']||'',[TestFrameworkConstants['KEY_TEST_CODE']]:_0x270d12[_0xb123cb(0x1a4)]?.[_0xb123cb(0x223)]||null,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x270d12['tags']||[],[TestFrameworkConstants[_0xb123cb(0x161)]]:_0x270d12[_0xb123cb(0x183)]||new Date()[_0xb123cb(0x202)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x270d12['scopes']?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x270d12[_0xb123cb(0x1e4)]||[],[TestFrameworkConstants[_0xb123cb(0x21b)]]:_0x270d12[_0xb123cb(0x1b6)]?.[_0xb123cb(0x211)]||_0x270d12[_0xb123cb(0x188)]||'',[TestFrameworkConstants[_0xb123cb(0x16d)]]:{},[TestFrameworkConstants[_0xb123cb(0x1f7)]]:_0x270d12['meta']||{}};TestInfo[_0xb123cb(0x159)](_0xcc365c,_0x2ecead),logger[_0xb123cb(0x1ee)](_0xb123cb(0x19d)+_0x270d12['name']+_0xb123cb(0x204)+_0x266889);const _0x34f6b1={};return _0x34f6b1[_0xcc365c]=_0x2ecead,_0x34f6b1;}['parseCucumberTestResult'](_0x40ee4f){const _0x121e2f=a70_0x14a47d,_0x57e6aa={'stelU':_0x121e2f(0x1b9),'NrEVf':_0x121e2f(0x200),'MBbpO':function(_0x2ba62b,_0x3b73a1){return _0x2ba62b===_0x3b73a1;},'hvXgJ':_0x121e2f(0x1f2),'TpFOF':_0x121e2f(0x210),'HnsUI':function(_0x560077,_0x195c95,_0x158d4b){return _0x560077(_0x195c95,_0x158d4b);},'VBrYD':function(_0x2adcdf,_0x1cf80e){return _0x2adcdf>_0x1cf80e;}},{testUUID:_0x1bee95,testData:_0x1c0098}=_0x40ee4f;if(!_0x1c0098||!_0x1c0098['uuid'])return logger['debug'](_0x57e6aa[_0x121e2f(0x195)]),{};const _0x5610d0=this[_0x121e2f(0x16c)](TestFrameworkState[_0x121e2f(0x194)],HookState[_0x121e2f(0x1b2)]),_0x1f4479=_0x1c0098[_0x121e2f(0x1bd)],_0x17241a=TestInfo['getTestDetails'](_0x1f4479)||{},_0x59889f=_0x17241a?_0x17241a[TestFrameworkConstants[_0x121e2f(0x16d)]]||{}:{},_0x349b3c={..._0x17241a,[TestFrameworkConstants[_0x121e2f(0x182)]]:_0x1c0098[_0x121e2f(0x20e)]||_0x57e6aa[_0x121e2f(0x1c8)],[TestFrameworkConstants[_0x121e2f(0x1e5)]]:_0x1c0098[_0x121e2f(0x170)]||new Date()[_0x121e2f(0x202)](),[TestFrameworkConstants[_0x121e2f(0x17f)]]:new Date()[_0x121e2f(0x202)](),[TestFrameworkConstants[_0x121e2f(0x16d)]]:_0x59889f,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x121e2f(0x1f7)]]:_0x1c0098[_0x121e2f(0x1c5)]||{}};_0x57e6aa[_0x121e2f(0x18f)](_0x1c0098['result'],_0x57e6aa[_0x121e2f(0x1f5)])&&_0x1c0098['failure']&&(_0x349b3c[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x1c0098['failure_type']||_0x57e6aa['TpFOF'],_0x349b3c[TestFrameworkConstants[_0x121e2f(0x1ec)]]=_0x1c0098[_0x121e2f(0x185)]||'',_0x349b3c[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x1c0098[_0x121e2f(0x1fd)]);const _0x13defd=TestInfo[_0x121e2f(0x1de)](_0x1f4479)[TestFrameworkConstants[_0x121e2f(0x21f)]]||{},_0x279a85=_0x57e6aa[_0x121e2f(0x1a0)](getManualUploadLogs,_0x13defd,_0x5610d0[_0x121e2f(0x16e)]()['get'](_0x1f4479)[TestFrameworkConstants[_0x121e2f(0x1d9)]]);if(_0x57e6aa[_0x121e2f(0x1b1)](_0x279a85['length'],0x0)){const _0x546b04=_0x349b3c[TestFrameworkConstants[_0x121e2f(0x1bb)]]||[];_0x349b3c[TestFrameworkConstants[_0x121e2f(0x1bb)]]=[..._0x546b04,..._0x279a85];}_0x1c0098['hooks']&&_0x57e6aa[_0x121e2f(0x1b1)](_0x1c0098[_0x121e2f(0x164)]['length'],0x0)&&(_0x349b3c[TestFrameworkConstants[_0x121e2f(0x192)]]=_0x1c0098[_0x121e2f(0x164)]);TestInfo[_0x121e2f(0x159)](_0x1f4479,_0x349b3c),logger[_0x121e2f(0x1ee)](_0x121e2f(0x184)+_0x1c0098[_0x121e2f(0x188)]+_0x121e2f(0x20f)+_0x1c0098[_0x121e2f(0x20e)]);const _0x53dbf6={};return _0x53dbf6[_0x1f4479]=_0x349b3c,_0x53dbf6;}async[a70_0x14a47d(0x218)](_0x5a35eb,_0x4b9c82,_0x16f97c,_0x5691a6){const _0x2152bd=a70_0x14a47d,_0x1cabd2={'plbuf':_0x2152bd(0x1bf),'CUzck':function(_0x18fa4a){return _0x18fa4a();},'EfrHl':function(_0x39bddb,_0x426228){return _0x39bddb in _0x426228;},'JTjlM':function(_0x129105,_0x786427){return _0x129105===_0x786427;},'LfEYp':function(_0x5ac1ec,_0x53af95){return _0x5ac1ec>_0x53af95;},'GVnHD':function(_0x46bb8f,_0x20053e){return _0x46bb8f===_0x20053e;},'jmQED':_0x2152bd(0x1f2),'EEdTu':'UnhandledError','LCoYE':'passed','uSklj':function(_0x579fec,_0x2d2f3e){return _0x579fec!==_0x2d2f3e;}},{hookData:_0x164ac6}=_0x5691a6;if(!_0x164ac6)return logger['debug'](_0x1cabd2[_0x2152bd(0x1a7)]),{};const _0x4c28f7=_0x164ac6[_0x2152bd(0x1bd)]||_0x1cabd2[_0x2152bd(0x19e)](uuidv4),_0x857040=_0x164ac6[_0x2152bd(0x1e1)],_0x115b75=_0x4b9c82[_0x2152bd(0x1ba)]()[_0x2152bd(0x171)]('.')[0x1],_0x17f0ae=TestInfo[_0x2152bd(0x1de)](_0x857040)[TestFrameworkConstants[_0x2152bd(0x16d)]]||{},_0x314ea5=_0x5a35eb[_0x2152bd(0x16e)]()[_0x2152bd(0x1ad)](_0x857040);if(!_0x314ea5)return logger[_0x2152bd(0x1ee)](_0x2152bd(0x15a)+_0x857040+',\x20storing\x20as\x20pending\x20hook'),this[_0x2152bd(0x191)](_0x5a35eb,_0x857040,_0x4b9c82,_0x16f97c,_0x5691a6),{};let _0x58715b=_0x314ea5[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x58715b&&(_0x58715b={});!_0x1cabd2['EfrHl'](_0x115b75,_0x58715b)&&(_0x58715b[_0x115b75]=[]);let _0x1f1cfe=_0x314ea5[TestFrameworkConstants[_0x2152bd(0x192)]];!_0x1f1cfe&&(_0x1f1cfe={});!_0x1cabd2['EfrHl'](_0x115b75,_0x1f1cfe)&&(_0x1f1cfe[_0x115b75]=[]);const _0x6f2668={[TestFrameworkConstants[_0x2152bd(0x1f1)]]:_0x58715b,[TestFrameworkConstants[_0x2152bd(0x192)]]:_0x1f1cfe},_0x57e198={};_0x57e198[_0x857040]=_0x6f2668;const _0x3fa70d=_0x57e198;if(_0x1cabd2['JTjlM'](_0x16f97c,HookState[_0x2152bd(0x189)])){const _0x2b5af3={[TestFrameworkConstants[_0x2152bd(0x162)]]:_0x4c28f7,[TestFrameworkConstants[_0x2152bd(0x166)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x2152bd(0x193)]]:_0x164ac6[_0x2152bd(0x209)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x2152bd(0x222)]]:_0x164ac6[_0x2152bd(0x205)],[TestFrameworkConstants[_0x2152bd(0x16d)]]:_0x17f0ae};_0x2b5af3[_0x2152bd(0x1d8)]=_0x115b75;const _0x53469c=_0x2b5af3;_0x58715b[_0x115b75]['push'](_0x53469c),_0x3fa70d[_0x857040][TestFrameworkConstants[_0x2152bd(0x1ae)]]=_0x115b75,logger[_0x2152bd(0x1ee)]('trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x115b75+'\x20&\x20hook\x20=\x20'+_0x53469c+_0x2152bd(0x18e)+_0x5691a6);}else{if(_0x1cabd2[_0x2152bd(0x176)](_0x16f97c,HookState[_0x2152bd(0x1b2)])){const _0x444d67=_0x164ac6['result'],_0x18cafe=_0x58715b[_0x115b75]||[];logger[_0x2152bd(0x1ee)]('trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20'+_0x18cafe+_0x2152bd(0x17a)+_0x5691a6);if(_0x1cabd2['LfEYp'](_0x18cafe['length'],0x0)){const _0x30df4c=_0x18cafe['pop']();_0x1cabd2[_0x2152bd(0x174)](_0x164ac6[_0x2152bd(0x20e)],_0x1cabd2[_0x2152bd(0x1e7)])&&_0x164ac6[_0x2152bd(0x172)]?(_0x30df4c[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x164ac6[_0x2152bd(0x15f)]||_0x1cabd2[_0x2152bd(0x1ed)],_0x30df4c[TestFrameworkConstants[_0x2152bd(0x1c9)]]=_0x164ac6[_0x2152bd(0x185)]||'',_0x30df4c[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x164ac6[_0x2152bd(0x172)]):_0x30df4c[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1cabd2[_0x2152bd(0x180)];_0x1cabd2[_0x2152bd(0x173)](_0x444d67,TestFrameworkConstants[_0x2152bd(0x1aa)])&&(_0x30df4c[TestFrameworkConstants[_0x2152bd(0x166)]]=_0x444d67);_0x30df4c[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x164ac6[_0x2152bd(0x16a)]||new Date()[_0x2152bd(0x202)](),_0x30df4c[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x17f0ae;const _0x4e2bce=_0x30df4c[TestFrameworkConstants[_0x2152bd(0x162)]];!_0x1f1cfe[_0x115b75]&&(_0x1f1cfe[_0x115b75]=[]),_0x1f1cfe[_0x115b75][_0x2152bd(0x1c6)](_0x30df4c),_0x3fa70d[_0x857040][TestFrameworkConstants[_0x2152bd(0x219)]]=_0x115b75;}}}return logger[_0x2152bd(0x1ee)](_0x2152bd(0x1a8)+_0x164ac6['hook_type']+_0x2152bd(0x1fb)+_0x4c28f7+'\x20for\x20test:\x20'+_0x857040),_0x3fa70d;}['createTestFrameworkEventPayload'](_0x1cdb44){const _0x5e363c=a70_0x14a47d,_0x5a2631={};_0x5a2631[_0x5e363c(0x1ac)]=_0x5e363c(0x19c);const _0x574513=_0x5a2631;try{const _0x46f7f1=_0x1cdb44[_0x5e363c(0x19b)]?_0x1cdb44['test']['id']:_0x1cdb44[_0x5e363c(0x215)][_0x5e363c(0x1e1)],_0xbbbabd=_0x1cdb44['instance'],_0x5aa762=_0xbbbabd[_0x5e363c(0x18b)](),_0x4b5b6c=_0xbbbabd['getAllData']()[_0x5e363c(0x1ad)](_0x46f7f1);if(!_0x4b5b6c)return logger['debug'](_0x5e363c(0x1c0)+_0x46f7f1),{};logger[_0x5e363c(0x1ee)](_0x5e363c(0x1f9)+_0x46f7f1);const {[TestFrameworkConstants[_0x5e363c(0x19a)]]:_0x57568b='',[TestFrameworkConstants[_0x5e363c(0x227)]]:_0x27411d='',[TestFrameworkConstants[_0x5e363c(0x161)]]:_0x28dcdc='',[TestFrameworkConstants[_0x5e363c(0x1e5)]]:_0x3b01c6=''}=_0x4b5b6c,_0x3127f6=_0xbbbabd[_0x5e363c(0x203)]()[_0x5e363c(0x1ba)]()[_0x5e363c(0x171)]('.')[0x1],_0x1ab445=_0xbbbabd[_0x5e363c(0x206)]()['toString']()['split']('.')[0x1],_0x5df116=global?.['__workerDetails']?.[_0x5e363c(0x1c1)]?.['parallelIndex'],_0x3f69e9=_0xbbbabd['getRef'](),_0x370873=Buffer['from'](JSON[_0x5e363c(0x1c3)](_0x4b5b6c))[_0x5e363c(0x1ba)](_0x574513['wYeQf']),_0x3173f5={'hash':_0x5aa762[_0x5e363c(0x1cd)](),'threadId':_0x5aa762['getThreadId']()[_0x5e363c(0x1ba)](),'processId':_0x5aa762[_0x5e363c(0x212)]()['toString']()},_0x23863a={};_0x23863a['platformIndex']=_0x5df116,_0x23863a[_0x5e363c(0x1dd)]=_0x57568b,_0x23863a[_0x5e363c(0x1d4)]=_0x27411d,_0x23863a[_0x5e363c(0x1e3)]=_0x3127f6,_0x23863a['hookState']=_0x1ab445,_0x23863a[_0x5e363c(0x183)]=_0x28dcdc,_0x23863a[_0x5e363c(0x208)]=_0x3b01c6,_0x23863a[_0x5e363c(0x1bd)]=_0x3f69e9,_0x23863a['eventJson']=_0x370873,_0x23863a[_0x5e363c(0x1af)]=_0x3173f5;const _0x12fc04=_0x23863a;return logger['debug'](_0x5e363c(0x1b0)+_0x46f7f1+_0x5e363c(0x225)+_0x3127f6+_0x5e363c(0x169)+_0x1ab445),_0x12fc04;}catch(_0x42e5cd){return logger[_0x5e363c(0x181)](_0x5e363c(0x18a)+util[_0x5e363c(0x1be)](_0x42e5cd)),{};}}async['sendLogCreatedEvent'](_0x548317,_0x81fdf2,_0x2f8ab8){const _0x41b547=a70_0x14a47d,_0x2bcb5d={'OyGYx':function(_0x5a9482,_0x242ace,_0x11e43b){return _0x5a9482(_0x242ace,_0x11e43b);},'dAbcH':function(_0xed017f,_0x380e7c){return _0xed017f===_0x380e7c;},'cQaEk':_0x41b547(0x18d),'aQLFr':function(_0x13ed25,_0x298206){return _0x13ed25/_0x298206;},'rCCym':function(_0xd05967,_0x19bcf4){return _0xd05967<_0x19bcf4;},'Qphvi':function(_0x93af9c,_0x173af5){return _0x93af9c*_0x173af5;},'QXkRO':function(_0x10342f,_0x5d4f76){return _0x10342f+_0x5d4f76;},'Rwmcc':'Cucumber\x20log\x20created\x20event'};try{const _0x188d5c=_0x2f8ab8[_0x41b547(0x15d)],_0x4fca5d=_0x548317[_0x41b547(0x16e)]()[_0x41b547(0x1ad)](_0x188d5c),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x599994='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1b7363=''}=_0x4fca5d,_0x562fec=TestInfo[_0x41b547(0x168)](_0x188d5c),_0x1b5748=TestInfo[_0x41b547(0x1de)](_0x188d5c)[TestFrameworkConstants[_0x41b547(0x21f)]]||{},_0xf8de7f=_0x2bcb5d[_0x41b547(0x17d)](getMediaArtifactsLogs,_0x1b5748,_0x548317[_0x41b547(0x16e)]()[_0x41b547(0x1ad)](_0x188d5c)[TestFrameworkConstants[_0x41b547(0x1d9)]]),_0x154e59=(_0x562fec||[])[_0x41b547(0x1d3)](_0xf8de7f||[]);if(!_0x154e59||_0x2bcb5d[_0x41b547(0x16f)](_0x154e59[_0x41b547(0x20b)],0x0)){logger[_0x41b547(0x1ee)](_0x2bcb5d[_0x41b547(0x224)]);return;}const _0x27b2d2=0x28,_0xf43e9b=Math[_0x41b547(0x1e8)](_0x2bcb5d[_0x41b547(0x1dc)](_0x154e59['length'],_0x27b2d2));for(let _0x458161=0x0;_0x2bcb5d[_0x41b547(0x1a9)](_0x458161,_0xf43e9b);_0x458161++){const _0x435217=_0x2bcb5d[_0x41b547(0x1c7)](_0x458161,_0x27b2d2),_0x3e038a=_0x2bcb5d[_0x41b547(0x1f4)](_0x435217,_0x27b2d2),_0x5a49db=_0x154e59[_0x41b547(0x190)](_0x435217,_0x3e038a),_0x2e6c05={'platformIndex':'0','logs':_0x5a49db,'testFrameworkName':_0x599994,'testFrameworkVersion':_0x1b7363,'testFrameworkState':_0x81fdf2['toString']()[_0x41b547(0x171)]('.')[0x1]};logger[_0x41b547(0x1ee)](_0x41b547(0x1d6)+_0x188d5c+'\x20batch\x20'+_0x2bcb5d[_0x41b547(0x1f4)](_0x458161,0x1)+'/'+_0xf43e9b+_0x41b547(0x17e)+util[_0x41b547(0x17b)](_0x2e6c05));const _0x545e95=await GrpcClient['getInstance']()[_0x41b547(0x1ea)](_0x2e6c05);logger['debug']('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x188d5c+_0x41b547(0x1df)+_0x2bcb5d[_0x41b547(0x1f4)](_0x458161,0x1)+'/'+_0xf43e9b+_0x41b547(0x21c)+util[_0x41b547(0x17b)](_0x545e95));}}catch(_0x4524e3){logger[_0x41b547(0x181)](_0x41b547(0x1b8)+util['format'](_0x4524e3));}logger[_0x41b547(0x1ee)](_0x2bcb5d[_0x41b547(0x1ce)]);}['storePendingHook'](_0x51e888,_0x4d385f,_0x3ce4ba,_0x59e36b,_0x5a1c0a){const _0xfc72d0=a70_0x14a47d,_0x91bcaa={'testId':_0x4d385f,'testFrameworkState':_0x3ce4ba,'hookState':_0x59e36b,'args':_0x5a1c0a,'timestamp':new Date()[_0xfc72d0(0x202)]()};_0x51e888[_0xfc72d0(0x1e0)](_0x4d385f,_0x91bcaa),logger[_0xfc72d0(0x1ee)](_0xfc72d0(0x226)+_0x4d385f+_0xfc72d0(0x196)+_0x3ce4ba+_0xfc72d0(0x21d)+_0x59e36b);}async[a70_0x14a47d(0x1fe)](_0x1f9daa,_0xeceb4f){const _0x4c4383=a70_0x14a47d,_0x581c30={};_0x581c30[_0x4c4383(0x165)]=function(_0x36a9eb,_0x4992d9){return _0x36a9eb>_0x4992d9;};const _0x34c0bf=_0x581c30;if(!_0x1f9daa[_0x4c4383(0x20a)](_0xeceb4f))return;const _0x70ec0a=_0x1f9daa[_0x4c4383(0x178)](_0xeceb4f);logger[_0x4c4383(0x1ee)](_0x4c4383(0x1cb)+_0x70ec0a[_0x4c4383(0x20b)]+_0x4c4383(0x1fa)+_0xeceb4f);for(const _0x2a0ae2 of _0x70ec0a){try{const _0x542d6d=await this[_0x4c4383(0x218)](_0x1f9daa,_0x2a0ae2['testFrameworkState'],_0x2a0ae2[_0x4c4383(0x1ff)],_0x2a0ae2['args']);_0x542d6d&&_0x34c0bf['BAuEO'](Object[_0x4c4383(0x16b)](_0x542d6d)[_0x4c4383(0x20b)],0x0)&&_0x1f9daa[_0x4c4383(0x1e2)](_0x542d6d),await this['runHooks'](_0x1f9daa,_0x2a0ae2[_0x4c4383(0x1e3)],_0x2a0ae2[_0x4c4383(0x1ff)],_0x2a0ae2['args']);}catch(_0x3a696a){logger[_0x4c4383(0x181)](_0x4c4383(0x167)+_0xeceb4f+',\x20error:\x20'+_0x3a696a);}}_0x1f9daa[_0x4c4383(0x1b7)](_0xeceb4f),logger[_0x4c4383(0x1ee)](_0x4c4383(0x199)+_0xeceb4f);}}module['exports']=CucumberTestFramework;
1
+ const a70_0x1ba694=a70_0x11b6;function a70_0x213b(){const _0x158e0e=['14nAGrOA','1463736yqrNnk','KEY_HOOK_ID','\x20with\x20result:\x20','\x20hookState:\x20','DEFAULT_TEST_RESULT',',\x20state=','keys','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','getTestFrameworksVersions','2447433sZSmLU','KEY_TEST_UUID','stringify','args','sendLogCreatedEvent','hUvHe','workerInfo',',\x20storing\x20as\x20pending\x20hook','tKrKj','fjSGB','qjqNE','getPendingHooks','oORvt','toString','KEY_HOOKS_STARTED','MJJxk','12000131kLnONP','KEY_HOOK_RESULT','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','\x20with\x20id\x20','NONE','resolveInstance','../instances/testFrameworkInstance.js','KEY_EVENT_STARTED_AT','KEY_TEST_NAME','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','KEY_TEST_STARTED_AT','../state/hookState.js','\x20target=','LUsUz','oVgXR','KEY_TEST_ENDED_AT','1224624huNtma','startedAt','KEY_HOOK_NAME','hook_type','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','storePendingHook','getTestDetails','TSOCq','push','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','KEY_HOOKS_FINISHED','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','meta','KEY_TEST_RESULT_AT','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_FAILURE','\x20with\x20UUID:\x20','3517DYBlBg','endedAt','KEY_TEST_META','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','\x20response=','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','trackEvent:\x20unsupported\x20testFrameworkState=','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','unknown','inspect','failed','testUUID','./testFramework','createContext','getContext','KEY_TEST_LOCATION','UnhandledError','addPendingHook','KEY_TEST_ATTACHMENTS','parseCucumberTest','rerun_name','getCurrentTestState','testFrameworkName','KEY_HOOK_LAST_STARTED','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','\x20and\x20args\x20=\x20','12hhbacz','executionContext','yIWFk','debug','Cucumber\x20log\x20created\x20event','pop','../instances/trackedInstance.js','LevfT','SBMpK','tags','failure_reason','DEFAULT_HOOK_RESULT','KEY_TEST_SCOPE','GzzZg','parseCucumberTestResult','\x20&\x20hook\x20=\x20','testFrameworkState','file_name','body','KEY_LOGS','__workerDetails','getTestFrameworks','result','trackHookEvent','\x20pending\x20hooks\x20for\x20testId:\x20','sendLogCreatedEvent:\x20for\x20testId:\x20','failure','setTestDetails','KEY_HOOK_LAST_FINISHED','failure_type','KEY_CUSTOM_TAGS','removePendingHooks','getCurrentInstanceName','length','ceil','getAllData','toISOString','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','cWEHy','fHolj','KEY_TEST_RESULT','POST','../cliUtils.js','getInstance','testData','CQbHz','KEY_TEST_FAILURE_REASON','hasPendingHooks','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','processPendingHooks','VJksp','../TestInfo.js','test','hookState','customRerunParam','./constants/testFrameworkConstants.js','../grpcClient','TEST','xqILr','key','LOG_REPORT','get','split','KEY_TEST_FRAMEWORK_VERSION','runHooks','\x20batch\x20','logCreatedEvent','KEY_HOOK_FAILURE','KEY_HOOK_FAILURE_REASON','getTrackedInstance','KEY_HOOK_FAILURE_TYPE','KEY_TEST_TAGS','location','addMultipleEntries','readLogObjects','AigXW','../state/testFrameworkState.js','4412tadKLS','Processing\x20','KEY_TEST_ID','khGSz','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','getRef','KEY_TEST_SCOPES','../../../helpers/classLogger.js','hooks','1234620xrYrEd','KEY_TEST_FAILURE_TYPE','RudJn','name','KEY_AUTOMATE_SESSION_NAME','failure_data','test_run_id','uuid','from','216cqjQoh','sLVem','getThreadId','testFrameworkVersion','INIT_TEST',',\x20state:\x20','KEY_TEST_FRAMEWORK_NAME','KEY_HOOK_LOGS','getCurrentHookState','base64','trackEvent','\x20&\x20hookState=','\x20\x20and\x20args\x20=\x20','hookData','kZoVF','wgvrn',',\x20hookState:\x20','jFjYq','Updated\x20cucumber\x20test\x20result:\x20','KEY_EVENT_ENDED_AT','code','znYVn','error','FsqIi','10SFLlRw','2115BabuHD','\x20for\x20test:\x20','eventJson'];a70_0x213b=function(){return _0x158e0e;};return a70_0x213b();}function a70_0x11b6(_0x89cc87,_0xb1d297){const _0x213bba=a70_0x213b();return a70_0x11b6=function(_0x11b6ae,_0x4d4927){_0x11b6ae=_0x11b6ae-0x9c;let _0x32eee6=_0x213bba[_0x11b6ae];return _0x32eee6;},a70_0x11b6(_0x89cc87,_0xb1d297);}(function(_0x5359e6,_0x67adab){const _0x189d16=a70_0x11b6,_0x11ffa0=_0x5359e6();while(!![]){try{const _0x3cb686=-parseInt(_0x189d16(0xa8))/0x1*(-parseInt(_0x189d16(0x121))/0x2)+-parseInt(_0x189d16(0x13a))/0x3*(parseInt(_0x189d16(0x10f))/0x4)+-parseInt(_0x189d16(0x118))/0x5+parseInt(_0x189d16(0x167))/0x6*(parseInt(_0x189d16(0x13d))/0x7)+-parseInt(_0x189d16(0x13e))/0x8+-parseInt(_0x189d16(0x147))/0x9*(parseInt(_0x189d16(0x139))/0xa)+-parseInt(_0x189d16(0x157))/0xb*(-parseInt(_0x189d16(0xc2))/0xc);if(_0x3cb686===_0x67adab)break;else _0x11ffa0['push'](_0x11ffa0['shift']());}catch(_0x5ad8c8){_0x11ffa0['push'](_0x11ffa0['shift']());}}}(a70_0x213b,0x618a2));const TestFramework=require(a70_0x1ba694(0xb4)),TestFrameworkState=require(a70_0x1ba694(0x10e)),HookState=require(a70_0x1ba694(0x162)),{createClassLogger}=require(a70_0x1ba694(0x116)),TestFrameworkInstance=require(a70_0x1ba694(0x15d)),CLIUtils=require(a70_0x1ba694(0xec)),TrackedInstance=require(a70_0x1ba694(0xc8)),TestFrameworkConstants=require(a70_0x1ba694(0xf9)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger('CucumberTestFramework'),{v4:uuidv4}=require(a70_0x1ba694(0x11f)),util=require('util'),TestInfo=require(a70_0x1ba694(0xf5)),GrpcClient=require(a70_0x1ba694(0xfa));class CucumberTestFramework extends TestFramework{constructor(_0xdc592f,_0x39b449,_0x4058f9){super(_0xdc592f,_0x39b449,_0x4058f9);}async[a70_0x1ba694(0x12b)](_0xc8cd89,_0x1c5ec4,_0x4be2cc={}){const _0x4d3fff=a70_0x1ba694,_0x67bea1={};_0x67bea1[_0x4d3fff(0x122)]=_0x4d3fff(0xc0),_0x67bea1[_0x4d3fff(0x10d)]=function(_0x311a02,_0x2b9667){return _0x311a02===_0x2b9667;},_0x67bea1[_0x4d3fff(0x130)]=function(_0x513bd7,_0x2af5b8){return _0x513bd7===_0x2af5b8;},_0x67bea1[_0x4d3fff(0x112)]=_0x4d3fff(0x159);const _0x3ae833=_0x67bea1;await super[_0x4d3fff(0x12b)](_0xc8cd89,_0x1c5ec4,_0x4be2cc);const _0x4dc2b1=this[_0x4d3fff(0x15c)](_0xc8cd89,_0x1c5ec4,_0x4be2cc);if(!_0x4dc2b1){logger[_0x4d3fff(0xc5)](_0x3ae833[_0x4d3fff(0x122)]);return;}try{let _0x1d7c55,_0x36b003;switch(_0xc8cd89){case TestFrameworkState[_0x4d3fff(0xfb)]:_0x1d7c55=_0x4be2cc['test'],_0x36b003=TestInfo['getTestUUID'](_0x1d7c55['id']);if(_0x3ae833[_0x4d3fff(0x10d)](_0x1c5ec4,HookState['PRE'])){logger[_0x4d3fff(0xc5)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x1d7c55['id']);const _0x25bf79={};_0x25bf79[_0x4d3fff(0xb3)]=_0x36b003,_0x25bf79[_0x4d3fff(0xee)]=_0x1d7c55,_0x4dc2b1[_0x4d3fff(0x10b)](this[_0x4d3fff(0xbb)](_0x25bf79)),logger[_0x4d3fff(0xc5)](_0x4d3fff(0x160)+_0x1d7c55['id']),await this[_0x4d3fff(0xf3)](_0x4dc2b1,_0x1d7c55['id']);}else{if(_0x3ae833['AigXW'](_0x1c5ec4,HookState[_0x4d3fff(0xeb)])){const _0x5c58fe={};_0x5c58fe['testUUID']=_0x36b003,_0x5c58fe[_0x4d3fff(0xee)]=_0x1d7c55,_0x4dc2b1[_0x4d3fff(0x10b)](this[_0x4d3fff(0xd0)](_0x5c58fe)),await this[_0x4d3fff(0xf3)](_0x4dc2b1,_0x1d7c55['id']);}}break;case TestFrameworkState[_0x4d3fff(0xfe)]:_0x3ae833['wgvrn'](_0x1c5ec4,HookState[_0x4d3fff(0xeb)])&&await this[_0x4d3fff(0x14b)](_0x4dc2b1,_0xc8cd89,_0x4be2cc);break;default:if(CLIUtils['matchHookRegex'](_0xc8cd89[_0x4d3fff(0x154)]()[_0x4d3fff(0x100)]('.')[0x1])){const _0x389cda=await this['trackHookEvent'](_0x4dc2b1,_0xc8cd89,_0x1c5ec4,_0x4be2cc);_0x4dc2b1[_0x4d3fff(0x10b)](_0x389cda);}else logger[_0x4d3fff(0xc5)](_0x4d3fff(0xae)+_0xc8cd89+_0x4d3fff(0x12c)+_0x1c5ec4);break;}}catch(_0x4a6224){logger[_0x4d3fff(0x137)](util['format'](_0x3ae833[_0x4d3fff(0x112)],_0xc8cd89,_0x1c5ec4,_0x4be2cc['length'],_0x4a6224));}_0x4be2cc['instance']=_0x4dc2b1,await this['runHooks'](_0x4dc2b1,_0xc8cd89,_0x1c5ec4,_0x4be2cc);}[a70_0x1ba694(0x15c)](_0x1950cc,_0x539121,_0x38ad59={}){const _0x436e44=a70_0x1ba694,_0x2dcd18={};_0x2dcd18['kZoVF']=function(_0x2e5216,_0x453637){return _0x2e5216===_0x453637;};const _0xc076b2=_0x2dcd18;let _0x5ea2eb=null;return(_0xc076b2[_0x436e44(0x12f)](_0x1950cc,TestFrameworkState[_0x436e44(0x125)])||_0xc076b2[_0x436e44(0x12f)](_0x1950cc,TestFrameworkState[_0x436e44(0x15b)]))&&this['trackCucumberInstance'](_0x1950cc,_0x38ad59),_0x5ea2eb=TestFramework[_0x436e44(0x107)](),_0x5ea2eb;}['trackCucumberInstance'](_0x3547fd,_0x2b8cc6){const _0x43faef=a70_0x1ba694,_0x274765=CLIUtils[_0x43faef(0xe2)](),_0x2a3144=TrackedInstance[_0x43faef(0xb5)](_0x274765);let _0x178a98=null;logger['debug']('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x274765+_0x43faef(0x143)+_0x3547fd),_0x178a98=new TestFrameworkInstance(_0x2a3144,this[_0x43faef(0xd7)](),this[_0x43faef(0x146)](),_0x3547fd,HookState[_0x43faef(0x15b)]),TestFramework['setTrackedInstance'](_0x2a3144,_0x178a98),logger[_0x43faef(0xc5)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x2a3144['getId']()+_0x43faef(0x163)+_0x274765);}[a70_0x1ba694(0xbb)](_0x43b27d){const _0x281f75=a70_0x1ba694,_0x3941f6={};_0x3941f6['GzzZg']=_0x281f75(0x113);const _0x3275b1=_0x3941f6,{testUUID:_0x38e494,testData:_0x14f433}=_0x43b27d;if(!_0x14f433||!_0x14f433[_0x281f75(0x11f)])return logger['debug'](_0x3275b1[_0x281f75(0xcf)]),{};const _0x184e41=_0x14f433['uuid'],_0x3fa74e=_0x14f433['uuid'],_0x5bc8dc=this[_0x281f75(0xd7)]()[0x0],_0x100d2b=this[_0x281f75(0x146)](),_0x33be71={[TestFrameworkConstants[_0x281f75(0x127)]]:_0x5bc8dc,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x100d2b[_0x5bc8dc],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x281f75(0xa1)]]:{},[TestFrameworkConstants[_0x281f75(0x155)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x184e41,[TestFrameworkConstants[_0x281f75(0xea)]]:TestFrameworkConstants[_0x281f75(0x142)],[TestFrameworkConstants[_0x281f75(0x11c)]]:_0x14f433[_0x281f75(0x11b)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x14f433[_0x281f75(0xd3)]||'',[TestFrameworkConstants[_0x281f75(0x111)]]:_0x3fa74e,[TestFrameworkConstants[_0x281f75(0x15f)]]:_0x14f433[_0x281f75(0x11b)]||'',[TestFrameworkConstants[_0x281f75(0xb7)]]:_0x14f433[_0x281f75(0x10a)]||'',[TestFrameworkConstants['KEY_TEST_CODE']]:_0x14f433[_0x281f75(0xd4)]?.[_0x281f75(0x135)]||null,[TestFrameworkConstants[_0x281f75(0x109)]]:_0x14f433[_0x281f75(0xcb)]||[],[TestFrameworkConstants[_0x281f75(0x161)]]:_0x14f433[_0x281f75(0x168)]||new Date()[_0x281f75(0xe6)](),[TestFrameworkConstants[_0x281f75(0xce)]]:_0x14f433['scopes']?.[0x0]||'',[TestFrameworkConstants[_0x281f75(0x115)]]:_0x14f433['scopes']||[],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x14f433[_0x281f75(0xf8)]?.[_0x281f75(0xbc)]||_0x14f433['name']||'',[TestFrameworkConstants[_0x281f75(0xe0)]]:{},[TestFrameworkConstants[_0x281f75(0xaa)]]:_0x14f433[_0x281f75(0xa3)]||{}};TestInfo[_0x281f75(0xdd)](_0x3fa74e,_0x33be71),logger[_0x281f75(0xc5)]('Parsed\x20cucumber\x20test:\x20'+_0x14f433[_0x281f75(0x11b)]+_0x281f75(0xa7)+_0x184e41);const _0x32b208={};return _0x32b208[_0x3fa74e]=_0x33be71,_0x32b208;}[a70_0x1ba694(0xd0)](_0x4e57cc){const _0x455c83=a70_0x1ba694,_0x236d0c={'RudJn':_0x455c83(0xaf),'atDEq':_0x455c83(0xb0),'hUvHe':function(_0xaa654e,_0x171936){return _0xaa654e===_0x171936;},'xqILr':_0x455c83(0xb2),'TSOCq':'UnhandledError','FsqIi':function(_0x26ebd0,_0x3029f2,_0xd76da0){return _0x26ebd0(_0x3029f2,_0xd76da0);},'fjSGB':function(_0x55f2d2,_0x2cae42){return _0x55f2d2>_0x2cae42;}},{testUUID:_0x23dd94,testData:_0x31d5f9}=_0x4e57cc;if(!_0x31d5f9||!_0x31d5f9[_0x455c83(0x11f)])return logger[_0x455c83(0xc5)](_0x236d0c[_0x455c83(0x11a)]),{};const _0x2af139=this[_0x455c83(0x15c)](TestFrameworkState['TEST'],HookState[_0x455c83(0xeb)]),_0x3cc6af=_0x31d5f9[_0x455c83(0x11f)],_0x5df3ee=TestInfo['getTestDetails'](_0x3cc6af)||{},_0x4672d9=_0x5df3ee?_0x5df3ee[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x3c699a={..._0x5df3ee,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x31d5f9['result']||_0x236d0c['atDEq'],[TestFrameworkConstants[_0x455c83(0x166)]]:_0x31d5f9['finishedAt']||new Date()[_0x455c83(0xe6)](),[TestFrameworkConstants[_0x455c83(0xa4)]]:new Date()[_0x455c83(0xe6)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4672d9,[TestFrameworkConstants[_0x455c83(0xd5)]]:[],[TestFrameworkConstants[_0x455c83(0xaa)]]:_0x31d5f9[_0x455c83(0xa3)]||{}};_0x236d0c[_0x455c83(0x14c)](_0x31d5f9[_0x455c83(0xd8)],_0x236d0c[_0x455c83(0xfc)])&&_0x31d5f9[_0x455c83(0xdc)]&&(_0x3c699a[TestFrameworkConstants[_0x455c83(0x119)]]=_0x31d5f9[_0x455c83(0xdf)]||_0x236d0c[_0x455c83(0x9e)],_0x3c699a[TestFrameworkConstants[_0x455c83(0xf0)]]=_0x31d5f9[_0x455c83(0xcc)]||'',_0x3c699a[TestFrameworkConstants[_0x455c83(0xa6)]]=_0x31d5f9[_0x455c83(0xdc)]);const _0x52ba9b=TestInfo['getTestDetails'](_0x3cc6af)[TestFrameworkConstants[_0x455c83(0xba)]]||{},_0x3bfae2=_0x236d0c[_0x455c83(0x138)](getManualUploadLogs,_0x52ba9b,_0x2af139[_0x455c83(0xe5)]()[_0x455c83(0xff)](_0x3cc6af)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x236d0c[_0x455c83(0x150)](_0x3bfae2[_0x455c83(0xe3)],0x0)){const _0x17030e=_0x3c699a[TestFrameworkConstants['KEY_LOGS']]||[];_0x3c699a[TestFrameworkConstants[_0x455c83(0xd5)]]=[..._0x17030e,..._0x3bfae2];}_0x31d5f9[_0x455c83(0x117)]&&_0x236d0c[_0x455c83(0x150)](_0x31d5f9[_0x455c83(0x117)][_0x455c83(0xe3)],0x0)&&(_0x3c699a[TestFrameworkConstants[_0x455c83(0xa1)]]=_0x31d5f9[_0x455c83(0x117)]);TestInfo[_0x455c83(0xdd)](_0x3cc6af,_0x3c699a),logger[_0x455c83(0xc5)](_0x455c83(0x133)+_0x31d5f9[_0x455c83(0x11b)]+_0x455c83(0x140)+_0x31d5f9['result']);const _0x34728c={};return _0x34728c[_0x3cc6af]=_0x3c699a,_0x34728c;}async[a70_0x1ba694(0xd9)](_0x3e2f0b,_0x25bbcd,_0xff0645,_0x1aba6b){const _0x31e163=a70_0x1ba694,_0x3e85ff={'GbhOT':_0x31e163(0xf2),'tKrKj':function(_0x2ea3bd){return _0x2ea3bd();},'fHolj':function(_0x353dc5,_0x26a863){return _0x353dc5 in _0x26a863;},'cWEHy':function(_0x9e7c57,_0x1fd67c){return _0x9e7c57===_0x1fd67c;},'yIWFk':function(_0x51edfd,_0x592c95){return _0x51edfd===_0x592c95;},'SBMpK':function(_0x1d81e9,_0x265bcc){return _0x1d81e9>_0x265bcc;},'oVgXR':'failed','SWgIW':_0x31e163(0xb8),'RiMBW':'passed','qjqNE':function(_0x4f20c9,_0x5db55d){return _0x4f20c9!==_0x5db55d;}},{hookData:_0x4cea47}=_0x1aba6b;if(!_0x4cea47)return logger[_0x31e163(0xc5)](_0x3e85ff['GbhOT']),{};const _0x5de212=_0x4cea47[_0x31e163(0x11f)]||_0x3e85ff[_0x31e163(0x14f)](uuidv4),_0x57eceb=_0x4cea47[_0x31e163(0x11e)],_0x3d5d65=_0x25bbcd[_0x31e163(0x154)]()['split']('.')[0x1],_0x5467b4=TestInfo[_0x31e163(0x9d)](_0x57eceb)[TestFrameworkConstants[_0x31e163(0xe0)]]||{},_0x3d656c=_0x3e2f0b[_0x31e163(0xe5)]()[_0x31e163(0xff)](_0x57eceb);if(!_0x3d656c)return logger[_0x31e163(0xc5)](_0x31e163(0xa2)+_0x57eceb+_0x31e163(0x14e)),this[_0x31e163(0x9c)](_0x3e2f0b,_0x57eceb,_0x25bbcd,_0xff0645,_0x1aba6b),{};let _0x4c8506=_0x3d656c[TestFrameworkConstants[_0x31e163(0x155)]];!_0x4c8506&&(_0x4c8506={});!_0x3e85ff[_0x31e163(0xe9)](_0x3d5d65,_0x4c8506)&&(_0x4c8506[_0x3d5d65]=[]);let _0x128e15=_0x3d656c[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x128e15&&(_0x128e15={});!_0x3e85ff[_0x31e163(0xe9)](_0x3d5d65,_0x128e15)&&(_0x128e15[_0x3d5d65]=[]);const _0x41afaa={[TestFrameworkConstants[_0x31e163(0x155)]]:_0x4c8506,[TestFrameworkConstants[_0x31e163(0xa1)]]:_0x128e15},_0xab0a5b={};_0xab0a5b[_0x57eceb]=_0x41afaa;const _0x1ed423=_0xab0a5b;if(_0x3e85ff[_0x31e163(0xe8)](_0xff0645,HookState['PRE'])){const _0x57113a={[TestFrameworkConstants[_0x31e163(0x13f)]]:_0x5de212,[TestFrameworkConstants[_0x31e163(0x158)]]:TestFrameworkConstants[_0x31e163(0xcd)],[TestFrameworkConstants[_0x31e163(0x15e)]]:_0x4cea47['started_at'],[TestFrameworkConstants[_0x31e163(0x128)]]:[],[TestFrameworkConstants[_0x31e163(0x169)]]:_0x4cea47[_0x31e163(0x16a)],[TestFrameworkConstants[_0x31e163(0xe0)]]:_0x5467b4};_0x57113a[_0x31e163(0xfd)]=_0x3d5d65;const _0xf9c90=_0x57113a;_0x4c8506[_0x3d5d65][_0x31e163(0x9f)](_0xf9c90),_0x1ed423[_0x57eceb][TestFrameworkConstants[_0x31e163(0xbf)]]=_0x3d5d65,logger['debug'](_0x31e163(0x145)+_0x3d5d65+_0x31e163(0xd1)+_0xf9c90+_0x31e163(0x12d)+_0x1aba6b);}else{if(_0x3e85ff[_0x31e163(0xc4)](_0xff0645,HookState['POST'])){const _0x38b4bb=_0x4cea47[_0x31e163(0xd8)],_0x31de15=_0x4c8506[_0x3d5d65]||[];logger['debug'](_0x31e163(0xe7)+_0x31de15+_0x31e163(0xc1)+_0x1aba6b);if(_0x3e85ff[_0x31e163(0xca)](_0x31de15['length'],0x0)){const _0x303f51=_0x31de15[_0x31e163(0xc7)]();_0x3e85ff[_0x31e163(0xe8)](_0x4cea47[_0x31e163(0xd8)],_0x3e85ff[_0x31e163(0x165)])&&_0x4cea47['failure_data']?(_0x303f51[TestFrameworkConstants[_0x31e163(0x108)]]=_0x4cea47['failure_type']||_0x3e85ff['SWgIW'],_0x303f51[TestFrameworkConstants[_0x31e163(0x106)]]=_0x4cea47['failure_reason']||'',_0x303f51[TestFrameworkConstants[_0x31e163(0x105)]]=_0x4cea47[_0x31e163(0x11d)]):_0x303f51[TestFrameworkConstants[_0x31e163(0x158)]]=_0x3e85ff['RiMBW'];_0x3e85ff[_0x31e163(0x151)](_0x38b4bb,TestFrameworkConstants[_0x31e163(0xcd)])&&(_0x303f51[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x38b4bb);_0x303f51[TestFrameworkConstants[_0x31e163(0x134)]]=_0x4cea47['finished_at']||new Date()[_0x31e163(0xe6)](),_0x303f51[TestFrameworkConstants[_0x31e163(0xe0)]]=_0x5467b4;const _0x40bca1=_0x303f51[TestFrameworkConstants[_0x31e163(0x13f)]];!_0x128e15[_0x3d5d65]&&(_0x128e15[_0x3d5d65]=[]),_0x128e15[_0x3d5d65][_0x31e163(0x9f)](_0x303f51),_0x1ed423[_0x57eceb][TestFrameworkConstants[_0x31e163(0xde)]]=_0x3d5d65;}}}return logger[_0x31e163(0xc5)]('Tracked\x20cucumber\x20hook\x20event:\x20'+_0x4cea47[_0x31e163(0x16a)]+_0x31e163(0x15a)+_0x5de212+_0x31e163(0x13b)+_0x57eceb),_0x1ed423;}['createTestFrameworkEventPayload'](_0x547a97){const _0x542d8a=a70_0x1ba694,_0x85fb43={};_0x85fb43[_0x542d8a(0xef)]=_0x542d8a(0x12a);const _0x2a14d2=_0x85fb43;try{const _0x26a3fd=_0x547a97['test']?_0x547a97[_0x542d8a(0xf6)]['id']:_0x547a97[_0x542d8a(0x12e)][_0x542d8a(0x11e)],_0x372831=_0x547a97['instance'],_0x524b54=_0x372831[_0x542d8a(0xb6)](),_0x5d66e9=_0x372831[_0x542d8a(0xe5)]()['get'](_0x26a3fd);if(!_0x5d66e9)return logger[_0x542d8a(0xc5)](_0x542d8a(0xad)+_0x26a3fd),{};logger[_0x542d8a(0xc5)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x26a3fd);const {[TestFrameworkConstants[_0x542d8a(0x127)]]:_0x2adf50='',[TestFrameworkConstants[_0x542d8a(0x101)]]:_0x39c5f0='',[TestFrameworkConstants[_0x542d8a(0x161)]]:_0x540257='',[TestFrameworkConstants[_0x542d8a(0x166)]]:_0x2669ba=''}=_0x5d66e9,_0x5d5a57=_0x372831[_0x542d8a(0xbd)]()[_0x542d8a(0x154)]()['split']('.')[0x1],_0x21c5b6=_0x372831[_0x542d8a(0x129)]()['toString']()[_0x542d8a(0x100)]('.')[0x1],_0x57a897=global?.[_0x542d8a(0xd6)]?.[_0x542d8a(0x14d)]?.['parallelIndex'],_0x45f551=_0x372831[_0x542d8a(0x114)](),_0x355be3=Buffer[_0x542d8a(0x120)](JSON[_0x542d8a(0x149)](_0x5d66e9))[_0x542d8a(0x154)](_0x2a14d2['CQbHz']),_0x3af30d={'hash':_0x524b54['getId'](),'threadId':_0x524b54[_0x542d8a(0x123)]()[_0x542d8a(0x154)](),'processId':_0x524b54['getProcessId']()['toString']()},_0x1fb928={};_0x1fb928['platformIndex']=_0x57a897,_0x1fb928[_0x542d8a(0xbe)]=_0x2adf50,_0x1fb928[_0x542d8a(0x124)]=_0x39c5f0,_0x1fb928[_0x542d8a(0xd2)]=_0x5d5a57,_0x1fb928[_0x542d8a(0xf7)]=_0x21c5b6,_0x1fb928['startedAt']=_0x540257,_0x1fb928[_0x542d8a(0xa9)]=_0x2669ba,_0x1fb928[_0x542d8a(0x11f)]=_0x45f551,_0x1fb928[_0x542d8a(0x13c)]=_0x355be3,_0x1fb928[_0x542d8a(0xc3)]=_0x3af30d;const _0x362028=_0x1fb928;return logger[_0x542d8a(0xc5)](_0x542d8a(0x16b)+_0x26a3fd+'\x20testState:\x20'+_0x5d5a57+_0x542d8a(0x141)+_0x21c5b6),_0x362028;}catch(_0x441a5e){return logger['error'](_0x542d8a(0xa5)+util['format'](_0x441a5e)),{};}}async[a70_0x1ba694(0x14b)](_0x302824,_0x219ce4,_0x134ed9){const _0x4648cd=a70_0x1ba694,_0x2c41ae={'XXxMU':function(_0x59360b,_0x282cb8,_0x285df9){return _0x59360b(_0x282cb8,_0x285df9);},'VJksp':function(_0x2c8c13,_0x5f2ccc){return _0x2c8c13===_0x5f2ccc;},'LUsUz':_0x4648cd(0xa0),'MJJxk':function(_0x28991f,_0x22a933){return _0x28991f/_0x22a933;},'oORvt':function(_0x3e68b4,_0x3ef6fa){return _0x3e68b4<_0x3ef6fa;},'znYVn':function(_0x9cd78b,_0x170855){return _0x9cd78b*_0x170855;},'jFjYq':function(_0x20a6f6,_0x3306b4){return _0x20a6f6+_0x3306b4;},'HFDHC':function(_0x4a4d8f,_0x3af048){return _0x4a4d8f+_0x3af048;},'lWdHX':_0x4648cd(0xc6)};try{const _0x3e4f99=_0x134ed9[_0x4648cd(0xb3)],_0x3169e3=_0x302824[_0x4648cd(0xe5)]()[_0x4648cd(0xff)](_0x3e4f99),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x228f61='',[TestFrameworkConstants[_0x4648cd(0x101)]]:_0x2d6b28=''}=_0x3169e3,_0x5e4d4a=TestInfo[_0x4648cd(0x10c)](_0x3e4f99),_0x5efd3e=TestInfo['getTestDetails'](_0x3e4f99)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x36025a=_0x2c41ae['XXxMU'](getMediaArtifactsLogs,_0x5efd3e,_0x302824[_0x4648cd(0xe5)]()[_0x4648cd(0xff)](_0x3e4f99)[TestFrameworkConstants[_0x4648cd(0x148)]]),_0x4e71b8=(_0x5e4d4a||[])['concat'](_0x36025a||[]);if(!_0x4e71b8||_0x2c41ae[_0x4648cd(0xf4)](_0x4e71b8[_0x4648cd(0xe3)],0x0)){logger[_0x4648cd(0xc5)](_0x2c41ae[_0x4648cd(0x164)]);return;}const _0x2d27db=0x28,_0x4bd7f0=Math[_0x4648cd(0xe4)](_0x2c41ae[_0x4648cd(0x156)](_0x4e71b8[_0x4648cd(0xe3)],_0x2d27db));for(let _0x23e959=0x0;_0x2c41ae[_0x4648cd(0x153)](_0x23e959,_0x4bd7f0);_0x23e959++){const _0x7ac863=_0x2c41ae[_0x4648cd(0x136)](_0x23e959,_0x2d27db),_0xb7df90=_0x2c41ae[_0x4648cd(0x132)](_0x7ac863,_0x2d27db),_0x8d714f=_0x4e71b8['slice'](_0x7ac863,_0xb7df90),_0x36ed3b={'platformIndex':'0','logs':_0x8d714f,'testFrameworkName':_0x228f61,'testFrameworkVersion':_0x2d6b28,'testFrameworkState':_0x219ce4[_0x4648cd(0x154)]()[_0x4648cd(0x100)]('.')[0x1]};logger[_0x4648cd(0xc5)](_0x4648cd(0xdb)+_0x3e4f99+'\x20batch\x20'+_0x2c41ae['HFDHC'](_0x23e959,0x1)+'/'+_0x4bd7f0+'\x20payload='+util[_0x4648cd(0xb1)](_0x36ed3b));const _0x5d9cdc=await GrpcClient[_0x4648cd(0xed)]()[_0x4648cd(0x104)](_0x36ed3b);logger[_0x4648cd(0xc5)](_0x4648cd(0xdb)+_0x3e4f99+_0x4648cd(0x103)+_0x2c41ae['jFjYq'](_0x23e959,0x1)+'/'+_0x4bd7f0+_0x4648cd(0xac)+util['inspect'](_0x5d9cdc));}}catch(_0x18fd99){logger[_0x4648cd(0x137)]('sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20'+util['format'](_0x18fd99));}logger[_0x4648cd(0xc5)](_0x2c41ae['lWdHX']);}[a70_0x1ba694(0x9c)](_0x1a58f7,_0x475a9e,_0x144c80,_0x352bce,_0x2516b2){const _0x525eec=a70_0x1ba694,_0x20a981={'testId':_0x475a9e,'testFrameworkState':_0x144c80,'hookState':_0x352bce,'args':_0x2516b2,'timestamp':new Date()[_0x525eec(0xe6)]()};_0x1a58f7[_0x525eec(0xb9)](_0x475a9e,_0x20a981),logger[_0x525eec(0xc5)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x475a9e+_0x525eec(0x126)+_0x144c80+_0x525eec(0x131)+_0x352bce);}async[a70_0x1ba694(0xf3)](_0x4f6ef8,_0x5237f6){const _0x5d4ff4=a70_0x1ba694,_0x1d3931={};_0x1d3931['LevfT']=function(_0x4f69b0,_0x30fd5d){return _0x4f69b0>_0x30fd5d;};const _0x1c43b9=_0x1d3931;if(!_0x4f6ef8[_0x5d4ff4(0xf1)](_0x5237f6))return;const _0x3eb915=_0x4f6ef8[_0x5d4ff4(0x152)](_0x5237f6);logger[_0x5d4ff4(0xc5)](_0x5d4ff4(0x110)+_0x3eb915[_0x5d4ff4(0xe3)]+_0x5d4ff4(0xda)+_0x5237f6);for(const _0x3106d6 of _0x3eb915){try{const _0x8d93fb=await this[_0x5d4ff4(0xd9)](_0x4f6ef8,_0x3106d6['testFrameworkState'],_0x3106d6[_0x5d4ff4(0xf7)],_0x3106d6[_0x5d4ff4(0x14a)]);_0x8d93fb&&_0x1c43b9[_0x5d4ff4(0xc9)](Object[_0x5d4ff4(0x144)](_0x8d93fb)[_0x5d4ff4(0xe3)],0x0)&&_0x4f6ef8[_0x5d4ff4(0x10b)](_0x8d93fb),await this[_0x5d4ff4(0x102)](_0x4f6ef8,_0x3106d6[_0x5d4ff4(0xd2)],_0x3106d6[_0x5d4ff4(0xf7)],_0x3106d6[_0x5d4ff4(0x14a)]);}catch(_0x47e0cf){logger[_0x5d4ff4(0x137)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x5237f6+',\x20error:\x20'+_0x47e0cf);}}_0x4f6ef8[_0x5d4ff4(0xe1)](_0x5237f6),logger['debug'](_0x5d4ff4(0xab)+_0x5237f6);}}module['exports']=CucumberTestFramework;
@@ -1 +1 @@
1
- const a71_0x2cc276=a71_0x439d;function a71_0x24e1(){const _0x5ba9d9=['location','12780537PUWmtW','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=',',\x20failureReason=','asyncError','rmXZe','addPendingHook','KEY_EVENT_ENDED_AT',',\x20hook=',',\x20currentTestId:\x20','parent','TEST_SCREENSHOT','\x20&\x20hookState=','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','\x20(testIdentifier),\x20tags=','KEY_TEST_DURATION','KEY_HOOK_LAST_FINISHED','includes','../../../helpers/helper.js','sendLogCreatedEvent','parseJestTest','PRE','getRootParentFile','getCurrentTestState','parseJestTestResult','iscfn','parse','eventJson','failure_reason','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','KEY_TEST_FAILURE_TYPE','trackJestInstance',',\x20state=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','\x20-\x20testId:\x20','getTrackedInstance','testFrameworkName','nsPiG','KEY_HOOK_NAME','iUevy','KEY_TEST_RESULT','lEuou','ZCMqR','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','error','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','232574HZpPaF','../cliUtils.js',',\x20consoleLogs:\x20','scopes','trackHookEvent','keys','SZSwG','ACOJK','ouJSu','trackJestInstance:\x20instance\x20already\x20exists','getJestFailureType','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','test_run_id','LOG_REPORT','getJestTestName','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','originalTest','apply','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','getJestTestIdentifier',',\x20result=','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','resolveInstance','setTrackedInstance','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','get','getPendingHooks','hookState','MHtDL','BEFORE_ALL','804218LflSgi','beforeAll','forEach','4016710MyJBxL','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','hookType','AQZFz','DoRcK','slice','\x20to\x20','mapTestHooks','getCurrentHookState','wAlyr','bZGYk','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','KEY_TEST_FILE_PATH','aJXij','\x20screenshot\x20logs\x20for\x20testId:\x20','../instances/trackedInstance.js','getCurrentInstanceName','KEY_TEST_CODE','MotFt','find','getContext','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','\x20(testIdentifier),\x20result=','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','PdVrk','wlPTq','KEY_HOOK_RESULT','tags','KEY_TEST_FAILURE_REASON',',\x20hookState=','KEY_TEST_SCOPES','getJestFailureReason',',\x20test_run_uuid=','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','TbTil','join',',\x20duration=','JwEXf','depth','jEIuH','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','getTestFrameworksVersions','hookMetadata','lsnYM','format','storePendingHook','kind','LGdJF','substring','stringify','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','KEY_LOGS','rEAqv','warn','hook_result','hookData','platformIndex','matchHookRegex','THewy','errorsDetailed','debug','AJiGJ','finished_at','iZzun','exports','setActiveHook','result','KEY_TEST_RESULT_AT','skipped','KEY_CUSTOM_TAGS','runHooks','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','testUUID','KEY_HOOK_FAILURE_TYPE','hookAnalyticsId','test_identifier','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','KEY_TEST_ATTACHMENTS','DlqNQ','none','eDzNM','rYcYt',',\x20filePath=','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','createContext','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','started_at',',\x20payload:\x20','QrRfx','YmjwH','set',',\x20contextId=','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','zIRaV','inspect','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','KEY_TEST_SCOPE','message','ApIqV','getJestTestFilePath','Zyzke','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','jest-circus','3016812JQaEPG',',\x20testId=','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','TEST','getThreadId','UvwXb','bzpLM','skip','hooks','from','duration','getAllPendingHookTestIds','toString','ZQKND','maxArrayLength','OiaHL','filePath','nNfVN','JestTestFramework','KEY_TEST_RETRY_OF','unknown','event_ended_at','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','LBcTq','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','Processing\x20','KEY_TEST_FRAMEWORK_NAME',',\x20hookType=','__workerDetails','createTestFrameworkEventPayload',',\x20scope:\x20','isJestInternalHook','hnuGb','_ALL','KEY_TEST_RERUN_NAME','gkyPa','Assert','2991747AhaEkr',',\x20platformIndex:\x20',',\x20hooksListLength=','Stored\x20pending\x20hook\x20for\x20testId:\x20','map','EPjrX','KEY_HOOK_FAILURE_REASON','retryOf','getFy','trackEvent','KEY_HOOKS_STARTED','DEFAULT_TEST_RESULT','getProcessId','../instances/testFrameworkInstance.js','filter','lCPQl','../../../helpers/test-observability/utils','ROOT_DESCRIBE_BLOCK','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','wdroq','mRLKl','Unknown\x20error','UVTnm','toUpperCase',',\x20storing\x20as\x20pending\x20hook','852524DydLSI','endedAt','JHTHJ','\x20pending\x20hooks\x20for\x20testId:\x20','hook_id','replace',',\x20screenshotLogs:\x20','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=',',\x20error:\x20','KEY_TEST_META','FvBoy','\x20files','missing',',\x20attachmentLogs:\x20','file_name','KEY_TEST_ENDED_AT','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','passed','reverse','\x22\x20hook','KEY_TEST_STARTED_AT',',\x20hookUUID=','status','XzujZ','removePendingHooks','LpvPa','KEY_TEST_LOCATION','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','./testFramework','getFileName','isArray',',\x20testFramework=','../../../helpers/classLogger.js','iVJkN','KEY_HOOKS_FINISHED','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','zrCZw','XvpSe','vAqTr','getJestFailureData','HCPyp',',\x20remainingHooks=',',\x20logsInBatch:\x20','file',',\x20updates=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','fzMbz','ImdIq','xaiTy','test','name','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','UnhandledError','toISOString',',\x20hookId=','NxaCM','getHooksForTest','\x20hook','testData','Unknown\x20Test','base64','../grpcClient','OJdaO','testId','afterAll','getJestTestTags','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','has','IHXNc','CbUyK','instance','failed','stack-trace','match','ORwCO','rHOhU','title','aWzTy','../TestInfo.js','KEY_EVENT_STARTED_AT','getTestFrameworks','getId','length','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','split','Bshyu','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','addMultipleEntries','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','../state/hookState.js','util','xFDzC',',\x20state:\x20','testFrameworkState','KEY_TEST_UUID','KEY_TEST_ID','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','\x20(testIdentifier)','\x20attachments','type','ZLAxz','KEY_HOOK_LOGS','btTgD','oAKwV','gVfzR','DEFAULT_HOOK_RESULT','uuid','ALL',',\x20failureType=','KEY_HOOK_LAST_STARTED','../state/testFrameworkState.js','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','hookUUID',',\x20totalHooks=','GANYB','\x20-\x20test_identifier=','push','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','startsWith','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','POST','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','Owpzl','executionContext','getRef','activeHooks','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','qpUgU','./constants/testFrameworkConstants.js','KEY_HOOK_ID','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=',',\x20filePath:\x20','Yypxq','NONE','\x22\x20from\x20testData','parallelIndex','KEY_TEST_FRAMEWORK_VERSION','getAllData',',\x20totalLogs:\x20',',\x20target=','qPHjH','workerInfo','hook_run_uuid','processPendingHooks','Jzdpy','getInstance','args'];a71_0x24e1=function(){return _0x5ba9d9;};return a71_0x24e1();}(function(_0x2c3f29,_0x3b793b){const _0x5810ad=a71_0x439d,_0x471c0f=_0x2c3f29();while(!![]){try{const _0x3e7d32=-parseInt(_0x5810ad(0xf7))/0x1+parseInt(_0x5810ad(0x26b))/0x2+-parseInt(_0x5810ad(0x18e))/0x3+parseInt(_0x5810ad(0x1a7))/0x4+parseInt(_0x5810ad(0xfa))/0x5+-parseInt(_0x5810ad(0x164))/0x6+parseInt(_0x5810ad(0x23c))/0x7;if(_0x3e7d32===_0x3b793b)break;else _0x471c0f['push'](_0x471c0f['shift']());}catch(_0x2377a8){_0x471c0f['push'](_0x471c0f['shift']());}}}(a71_0x24e1,0x9fbca));const TestFramework=require(a71_0x2cc276(0x1c3)),TestFrameworkState=require(a71_0x2cc276(0x216)),HookState=require(a71_0x2cc276(0x201)),{createClassLogger}=require(a71_0x2cc276(0x1c7)),TestFrameworkInstance=require(a71_0x2cc276(0x19b)),CLIUtils=require(a71_0x2cc276(0x26c)),TrackedInstance=require(a71_0x2cc276(0x109)),TestFrameworkConstants=require(a71_0x2cc276(0x228)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x2cc276(0x24e)),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger(a71_0x2cc276(0x177)),{v4:uuidv4}=require(a71_0x2cc276(0x212)),util=require(a71_0x2cc276(0x202)),TestInfo=require(a71_0x2cc276(0x1f6)),GrpcClient=require(a71_0x2cc276(0x1e5)),stackTrace=require(a71_0x2cc276(0x1f0));function a71_0x439d(_0x454d7f,_0x12848d){const _0x24e13d=a71_0x24e1();return a71_0x439d=function(_0x439da6,_0x50d914){_0x439da6=_0x439da6-0xdb;let _0x3ba572=_0x24e13d[_0x439da6];return _0x3ba572;},a71_0x439d(_0x454d7f,_0x12848d);}class JestTestFramework extends TestFramework{constructor(_0x17aa5f,_0x21e1c0,_0x1edc84){super(_0x17aa5f,_0x21e1c0,_0x1edc84),this['activeHooks']=new Map();}[a71_0x2cc276(0x13b)](_0x4cc09b,_0x529ac1,_0x143de3){const _0x440821=a71_0x2cc276,_0xac8344={};_0xac8344[_0x440821(0x156)]=function(_0x53c0ea,_0x2728f3){return _0x53c0ea||_0x2728f3;};const _0x28c20f=_0xac8344;if(_0x28c20f[_0x440821(0x156)](!_0x4cc09b,!_0x529ac1)){logger[_0x440821(0x12f)](_0x440821(0x217)+_0x4cc09b+_0x440821(0x1bc)+_0x529ac1);return;}!this[_0x440821(0x225)][_0x440821(0x1eb)](_0x4cc09b)&&this['activeHooks'][_0x440821(0x157)](_0x4cc09b,[]);const _0x2482a9={'hookUUID':_0x529ac1,'hookType':_0x143de3,'startedAt':new Date()[_0x440821(0x1dd)]()};this[_0x440821(0x225)]['get'](_0x4cc09b)['push'](_0x2482a9),logger[_0x440821(0x136)]('[JestTestFramework]\x20setActiveHook:\x20testIdentifier='+_0x4cc09b+_0x440821(0x1bc)+_0x529ac1+_0x440821(0x184)+_0x143de3+_0x440821(0x219)+this[_0x440821(0x225)][_0x440821(0xf2)](_0x4cc09b)[_0x440821(0x1fa)]);}['removeActiveHook'](_0x4e0217,_0x2ef3e7){const _0x43448=a71_0x2cc276,_0x1f315d={};_0x1f315d['THewy']=function(_0x20db14,_0x296b21){return _0x20db14||_0x296b21;},_0x1f315d[_0x43448(0x262)]=function(_0x1df25c,_0x438e36){return _0x1df25c!==_0x438e36;},_0x1f315d[_0x43448(0x107)]=function(_0x3fa16e,_0x455cc2){return _0x3fa16e===_0x455cc2;};const _0x10c0c5=_0x1f315d;if(_0x10c0c5[_0x43448(0x134)](!_0x4e0217,!_0x2ef3e7)){logger[_0x43448(0x12f)](_0x43448(0x181)+_0x4e0217+',\x20hookUUID='+_0x2ef3e7);return;}if(this[_0x43448(0x225)][_0x43448(0x1eb)](_0x4e0217)){const _0x1ecc17=this['activeHooks'][_0x43448(0xf2)](_0x4e0217),_0x417e09=_0x1ecc17['findIndex'](_0x206f78=>_0x206f78['hookUUID']===_0x2ef3e7);_0x10c0c5[_0x43448(0x262)](_0x417e09,-0x1)?(_0x1ecc17['splice'](_0x417e09,0x1),logger[_0x43448(0x136)](_0x43448(0x1ae)+_0x4e0217+_0x43448(0x1bc)+_0x2ef3e7+_0x43448(0x1d0)+_0x1ecc17[_0x43448(0x1fa)]),_0x10c0c5['aJXij'](_0x1ecc17[_0x43448(0x1fa)],0x0)&&this[_0x43448(0x225)]['delete'](_0x4e0217)):logger[_0x43448(0x136)](_0x43448(0x1ea)+_0x4e0217+',\x20hookUUID='+_0x2ef3e7);}}['getActiveHook'](_0x2425c4){const _0x3ce597=a71_0x2cc276,_0x2038e6={};_0x2038e6['CbUyK']=function(_0x23692b,_0x25456e){return _0x23692b>_0x25456e;},_0x2038e6[_0x3ce597(0x222)]=function(_0x437f03,_0x2b191a){return _0x437f03-_0x2b191a;};const _0x4fae5a=_0x2038e6;if(!_0x2425c4)return null;if(this[_0x3ce597(0x225)][_0x3ce597(0x1eb)](_0x2425c4)){const _0x5c86db=this[_0x3ce597(0x225)][_0x3ce597(0xf2)](_0x2425c4);if(_0x4fae5a[_0x3ce597(0x1ed)](_0x5c86db['length'],0x0)){const _0x2d2d44=_0x5c86db[_0x4fae5a[_0x3ce597(0x222)](_0x5c86db['length'],0x1)];return logger[_0x3ce597(0x136)](_0x3ce597(0x17c)+_0x2425c4+_0x3ce597(0x1bc)+_0x2d2d44['hookUUID']+_0x3ce597(0x184)+_0x2d2d44[_0x3ce597(0xfc)]),_0x2d2d44;}}return null;}async['trackEvent'](_0x58d323,_0x23e880,_0x3e3f09={}){const _0x490efa=a71_0x2cc276,_0x58210f={};_0x58210f['DlqNQ']='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x58210f[_0x490efa(0x1b1)]=function(_0x591021,_0x505a26){return _0x591021===_0x505a26;},_0x58210f[_0x490efa(0x20f)]=function(_0x14964d,_0x3f80f6){return _0x14964d===_0x3f80f6;},_0x58210f[_0x490efa(0x1fd)]=function(_0x3a74d7,_0x50e4f3){return _0x3a74d7||_0x50e4f3;},_0x58210f[_0x490efa(0x161)]=_0x490efa(0x21f);const _0x5b399d=_0x58210f;logger[_0x490efa(0x136)](_0x490efa(0x249)+_0x58d323+_0x490efa(0x117)+_0x23e880+',\x20argsKeys='+Object['keys'](_0x3e3f09)[_0x490efa(0x11d)](',')),await super[_0x490efa(0x197)](_0x58d323,_0x23e880,_0x3e3f09);const _0xf8eefe=this[_0x490efa(0xef)](_0x58d323,_0x23e880,_0x3e3f09);if(!_0xf8eefe){logger[_0x490efa(0x136)](_0x5b399d[_0x490efa(0x14b)]);return;}try{let _0x3f321b,_0x2a09e8,_0x26b198;switch(_0x58d323){case TestFrameworkState[_0x490efa(0x168)]:_0x3f321b=_0x3e3f09[_0x490efa(0x1d9)];const _0x2fcf82={};_0x2fcf82[_0x490efa(0x120)]=0x2,_0x2fcf82[_0x490efa(0x173)]=0x3,logger[_0x490efa(0x136)](_0x490efa(0x150)+_0x23e880+',\x20testData='+util[_0x490efa(0x15b)](_0x3f321b,_0x2fcf82)),_0x26b198=this['getJestTestIdentifier'](_0x3f321b),_0x2a09e8=null,logger[_0x490efa(0x136)](_0x490efa(0x10f)+_0x26b198+_0x490efa(0x209));if(_0x5b399d[_0x490efa(0x1b1)](_0x23e880,HookState['PRE'])){logger[_0x490efa(0x136)](_0x490efa(0x268)+_0x26b198);const _0x2b0e28={};_0x2b0e28['testUUID']=_0x2a09e8,_0x2b0e28[_0x490efa(0x1e2)]=_0x3f321b,_0x2b0e28[_0x490efa(0x1e7)]=_0x26b198;const _0x3b8c54=this[_0x490efa(0x250)](_0x2b0e28),_0x164c0d={};_0x164c0d[_0x490efa(0x120)]=0x2,_0x164c0d[_0x490efa(0x173)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util[_0x490efa(0x15b)](_0x3b8c54,_0x164c0d)),_0xf8eefe[_0x490efa(0x1ff)](_0x3b8c54),logger[_0x490efa(0x136)](_0x490efa(0x200)+_0x26b198),await this[_0x490efa(0x237)](_0xf8eefe,_0x26b198);}else{if(_0x5b399d[_0x490efa(0x20f)](_0x23e880,HookState[_0x490efa(0x220)])){logger[_0x490efa(0x136)](_0x490efa(0x17b)+_0x26b198);const _0xe320cc=_0xf8eefe['getAllData']()[_0x490efa(0xf2)](_0x26b198);logger[_0x490efa(0x136)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20'+util[_0x490efa(0x15b)](Object[_0x490efa(0xdd)](_0x5b399d['Bshyu'](_0xe320cc,{}))));_0xe320cc&&_0xe320cc[TestFrameworkConstants[_0x490efa(0x14a)]]?logger[_0x490efa(0x136)](_0x490efa(0xeb)+Object[_0x490efa(0xdd)](_0xe320cc[TestFrameworkConstants[_0x490efa(0x14a)]])[_0x490efa(0x1fa)]+_0x490efa(0x1b2)):logger[_0x490efa(0x136)](_0x5b399d[_0x490efa(0x161)]);const _0x2f0844=_0x3e3f09[_0x490efa(0xe9)]||null,_0x53f273={};_0x53f273[_0x490efa(0x143)]=_0x2a09e8,_0x53f273[_0x490efa(0x1e2)]=_0x3f321b,_0x53f273[_0x490efa(0x1e7)]=_0x26b198,_0x53f273[_0x490efa(0xe9)]=_0x2f0844;const _0x477e14=this[_0x490efa(0x254)](_0x53f273),_0x5cd31b={};_0x5cd31b[_0x490efa(0x120)]=0x2,_0x5cd31b[_0x490efa(0x173)]=0x3,logger[_0x490efa(0x136)](_0x490efa(0x25d)+util[_0x490efa(0x15b)](_0x477e14,_0x5cd31b)),_0xf8eefe[_0x490efa(0x1ff)](_0x477e14),logger['debug'](_0x490efa(0x122)+_0x26b198),await this[_0x490efa(0x237)](_0xf8eefe,_0x26b198);}}break;case TestFrameworkState[_0x490efa(0xe5)]:if(_0x5b399d['FvBoy'](_0x23e880,HookState['POST'])){const _0x387c96={};_0x387c96[_0x490efa(0x120)]=0x2,logger[_0x490efa(0x136)](_0x490efa(0x226)+util[_0x490efa(0x15b)](_0x3e3f09,_0x387c96)),await this[_0x490efa(0x24f)](_0xf8eefe,_0x58d323,_0x3e3f09);}break;default:if(CLIUtils[_0x490efa(0x133)](_0x58d323[_0x490efa(0x171)]()[_0x490efa(0x1fc)]('.')[0x1])){const _0x3569fb={};_0x3569fb['depth']=0x2,_0x3569fb['maxArrayLength']=0x3,logger[_0x490efa(0x136)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState='+_0x58d323+_0x490efa(0x117)+_0x23e880+',\x20hookData='+util[_0x490efa(0x15b)](_0x3e3f09[_0x490efa(0x131)],_0x3569fb));const _0x33f2b9=await this[_0x490efa(0xdc)](_0xf8eefe,_0x58d323,_0x23e880,_0x3e3f09),_0x299f67={};_0x299f67[_0x490efa(0x120)]=0x2,_0x299f67['maxArrayLength']=0x3,logger[_0x490efa(0x136)](_0x490efa(0x105)+util[_0x490efa(0x15b)](_0x33f2b9,_0x299f67)),_0xf8eefe[_0x490efa(0x1ff)](_0x33f2b9);}else logger['debug']('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x58d323+_0x490efa(0x248)+_0x23e880);break;}logger[_0x490efa(0x136)](_0x490efa(0x17f)+_0x58d323+_0x490efa(0x117)+_0x23e880);}catch(_0x17b58c){logger['error'](_0x490efa(0x26a)+_0x58d323+_0x490efa(0x117)+_0x23e880+',\x20exception='+util[_0x490efa(0x126)](_0x17b58c));}_0x3e3f09[_0x490efa(0x1ee)]=_0xf8eefe,await this[_0x490efa(0x140)](_0xf8eefe,_0x58d323,_0x23e880,_0x3e3f09);}[a71_0x2cc276(0xec)](_0x43f053){const _0x90fd03=a71_0x2cc276,_0x171c86={};_0x171c86[_0x90fd03(0x1a9)]=_0x90fd03(0x159);const _0x146d01=_0x171c86;if(_0x43f053&&(_0x43f053['id']||_0x43f053['uuid'])){const _0x36a212=_0x43f053['id']||_0x43f053['uuid'];return logger['debug']('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x36a212+_0x90fd03(0x22e)),_0x36a212;}return logger['debug'](_0x146d01[_0x90fd03(0x1a9)]),process['pid']+':testAnalyticsId';}[a71_0x2cc276(0xef)](_0x415fc4,_0x1eba76,_0xca67d1={}){const _0x34fb65=a71_0x2cc276;let _0x147fe8=null;return _0x147fe8=TestFramework[_0x34fb65(0x260)](),!_0x147fe8?(logger[_0x34fb65(0x136)](_0x34fb65(0x111)+_0x415fc4),this[_0x34fb65(0x25b)](_0x415fc4,_0xca67d1),_0x147fe8=TestFramework[_0x34fb65(0x260)](),logger[_0x34fb65(0x136)](_0x34fb65(0x166)+!!_0x147fe8+_0x34fb65(0x158)+_0x147fe8?.['getContext']()?.[_0x34fb65(0x1f9)]())):logger['debug']('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x147fe8[_0x34fb65(0x10e)]()?.['getId']()),_0x147fe8;}[a71_0x2cc276(0x25b)](_0x48c558,_0x1b509b){const _0x19eee3=a71_0x2cc276,_0x3e0326={};_0x3e0326[_0x19eee3(0x139)]=_0x19eee3(0xe1);const _0x5742fc=_0x3e0326;if(TestFramework['getTrackedInstance']()){logger[_0x19eee3(0x136)](_0x5742fc[_0x19eee3(0x139)]);return;}const _0x13e6c3=CLIUtils[_0x19eee3(0x10a)](),_0xf2d0d1=TrackedInstance[_0x19eee3(0x151)](_0x13e6c3);let _0x2578ca=null;logger[_0x19eee3(0x136)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x13e6c3+_0x19eee3(0x25c)+_0x48c558),_0x2578ca=new TestFrameworkInstance(_0xf2d0d1,this[_0x19eee3(0x1f8)](),this[_0x19eee3(0x123)](),_0x48c558,HookState[_0x19eee3(0x22d)]),TestFramework[_0x19eee3(0xf0)](_0xf2d0d1,_0x2578ca),logger[_0x19eee3(0x136)](_0x19eee3(0x1db)+_0xf2d0d1[_0x19eee3(0x1f9)]()+_0x19eee3(0x233)+_0x13e6c3+_0x19eee3(0x1c6)+this[_0x19eee3(0x1f8)]()[0x0]+',\x20version='+this[_0x19eee3(0x123)]()[this[_0x19eee3(0x1f8)]()[0x0]]);}[a71_0x2cc276(0x250)](_0x4bbbd0){const _0x29c85=a71_0x2cc276,_0x475041={};_0x475041[_0x29c85(0x176)]=function(_0x12d11f,_0x33a686){return _0x12d11f||_0x33a686;},_0x475041[_0x29c85(0x264)]=_0x29c85(0x259);const _0x403b50=_0x475041,{testUUID:_0x5815f5,testData:_0x2bd04a,testId:_0x2eeb3b}=_0x4bbbd0;if(_0x403b50[_0x29c85(0x176)](!_0x2bd04a,!_0x2eeb3b))return logger[_0x29c85(0x136)](_0x403b50[_0x29c85(0x264)]),{};const _0x5f39ec=this[_0x29c85(0x1f8)]()[0x0],_0x1883b3=this['getTestFrameworksVersions'](),_0x5f1737={};_0x5f1737[_0x29c85(0x120)]=0x2,_0x5f1737['maxArrayLength']=0x3,logger[_0x29c85(0x136)](_0x29c85(0xe3)+util[_0x29c85(0x15b)](_0x2bd04a,_0x5f1737));const _0xcb5f49=_0x2bd04a?.['scopes']||[],_0x19c7fa=this['getJestTestName'](_0x2bd04a),_0x12e1d4=this[_0x29c85(0x160)](_0x2bd04a),_0x5085e0=_0x2bd04a['fn']?_0x2bd04a['fn']['toString']():null,_0x41f966=this[_0x29c85(0x1e9)](_0x2bd04a),_0x12e8d7={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5f39ec,[TestFrameworkConstants[_0x29c85(0x230)]]:_0x1883b3[_0x5f39ec],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x29c85(0x198)]]:{},[TestFrameworkConstants[_0x29c85(0x265)]]:TestFrameworkConstants[_0x29c85(0x199)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x19c7fa,[TestFrameworkConstants[_0x29c85(0x106)]]:_0x12e1d4,[TestFrameworkConstants[_0x29c85(0x207)]]:_0x2eeb3b,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x19c7fa,[TestFrameworkConstants[_0x29c85(0x1c1)]]:_0x12e1d4,[TestFrameworkConstants[_0x29c85(0x10b)]]:_0x5085e0,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x41f966,[TestFrameworkConstants[_0x29c85(0x1bb)]]:_0x2bd04a[_0x29c85(0x153)]||new Date()[_0x29c85(0x1dd)](),[TestFrameworkConstants[_0x29c85(0x15d)]]:_0xcb5f49[0x0]||'',[TestFrameworkConstants[_0x29c85(0x118)]]:_0xcb5f49,[TestFrameworkConstants[_0x29c85(0x18b)]]:_0x19c7fa,[TestFrameworkConstants[_0x29c85(0x13f)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:{}};_0x2bd04a[_0x29c85(0x195)]&&(_0x12e8d7[TestFrameworkConstants[_0x29c85(0x178)]]=_0x2bd04a[_0x29c85(0x195)]);logger['debug'](_0x29c85(0x180)+_0x19c7fa+_0x29c85(0x165)+_0x2eeb3b+_0x29c85(0x24a)+JSON[_0x29c85(0x12b)](_0x41f966)+',\x20scopes='+util[_0x29c85(0x15b)](_0xcb5f49)+_0x29c85(0x14f)+_0x12e1d4);const _0x478db4={};return _0x478db4[_0x2eeb3b]=_0x12e8d7,_0x478db4;}[a71_0x2cc276(0x254)](_0x1fe019){const _0x1452ea=a71_0x2cc276,_0x2d84f3={'LpvPa':function(_0x156423,_0x417186){return _0x156423===_0x417186;},'SZSwG':_0x1452ea(0x1e8),'XvpSe':function(_0x77336d,_0x29d8cc){return _0x77336d===_0x29d8cc;},'SbFix':_0x1452ea(0xf8),'gVfzR':_0x1452ea(0x213),'mRLKl':_0x1452ea(0x18a),'iVJkN':function(_0x2df9ca,_0x1a07c0){return _0x2df9ca||_0x1a07c0;},'MotFt':_0x1452ea(0x208),'bZGYk':_0x1452ea(0x179),'Yypxq':function(_0x352dd8,_0x442304){return _0x352dd8>_0x442304;},'getFy':'failed','rHOhU':_0x1452ea(0x16c),'OJdaO':function(_0x8293e6,_0x1dfede){return _0x8293e6===_0x1dfede;},'TbTil':_0x1452ea(0x13e),'LBcTq':_0x1452ea(0x1b8),'ApIqV':function(_0x5b8bef,_0x129c76){return _0x5b8bef!==_0x129c76;},'zrCZw':function(_0x406897,_0x487d3d,_0x28df49,_0x23c320){return _0x406897(_0x487d3d,_0x28df49,_0x23c320);},'Jzdpy':function(_0x2b24ec,_0x4e5485){return _0x2b24ec>_0x4e5485;},'qVwYn':_0x1452ea(0xe7),'lEuou':function(_0x1cff41,_0x3323ca){return _0x1cff41===_0x3323ca;}},{testUUID:_0x4208c3,testData:_0x3cac67,testId:_0x5126eb}=_0x1fe019;if(_0x2d84f3[_0x1452ea(0x1c8)](!_0x3cac67,!_0x5126eb))return logger['debug'](_0x2d84f3[_0x1452ea(0x10c)]),{};const _0x394801=this[_0x1452ea(0xef)](TestFrameworkState[_0x1452ea(0x168)],HookState[_0x1452ea(0x220)]),_0x56877b=_0x394801[_0x1452ea(0x231)]()[_0x1452ea(0xf2)](_0x5126eb),_0x2f5bef=_0x2d84f3[_0x1452ea(0x1c8)](_0x56877b,{}),_0x3fc78f=_0x2f5bef?_0x2f5bef[TestFrameworkConstants[_0x1452ea(0x13f)]]||{}:{},_0x3b915e=_0x2f5bef[TestFrameworkConstants[_0x1452ea(0x14a)]];logger[_0x1452ea(0x136)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x3b915e?Object['keys'](_0x3b915e)[_0x1452ea(0x1fa)]:0x0)+_0x1452ea(0x20a));let _0x4366ac=_0x2d84f3[_0x1452ea(0x104)];if(_0x3cac67[_0x1452ea(0x13c)])_0x4366ac=_0x3cac67[_0x1452ea(0x13c)];else{if(_0x3cac67['errorsDetailed']&&_0x2d84f3[_0x1452ea(0x22c)](_0x3cac67[_0x1452ea(0x135)][_0x1452ea(0x1fa)],0x0))_0x4366ac=_0x2d84f3[_0x1452ea(0x196)];else _0x2d84f3[_0x1452ea(0x1cc)](_0x3cac67[_0x1452ea(0x1bd)],_0x2d84f3[_0x1452ea(0x1f3)])||_0x2d84f3[_0x1452ea(0x1e6)](_0x3cac67[_0x1452ea(0x1bd)],_0x2d84f3[_0x1452ea(0x11c)])?_0x4366ac=_0x2d84f3[_0x1452ea(0x11c)]:_0x4366ac=_0x2d84f3[_0x1452ea(0x17e)];}const _0x586142={..._0x2f5bef,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x4366ac,[TestFrameworkConstants[_0x1452ea(0x1b6)]]:_0x3cac67['finished_at']||new Date()['toISOString'](),[TestFrameworkConstants[_0x1452ea(0x13d)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x3fc78f,[TestFrameworkConstants[_0x1452ea(0x12d)]]:[],[TestFrameworkConstants[_0x1452ea(0x1b0)]]:{}};if(_0x2d84f3['XvpSe'](_0x4366ac,_0x2d84f3[_0x1452ea(0x196)])&&_0x3cac67[_0x1452ea(0x135)]){const _0x477f01=this['getJestFailureReason'](_0x3cac67),_0x3741e1=this['getJestFailureType'](_0x3cac67),_0x5d43fa=this[_0x1452ea(0x1ce)](_0x3cac67);_0x586142[TestFrameworkConstants[_0x1452ea(0x25a)]]=_0x3741e1,_0x586142[TestFrameworkConstants[_0x1452ea(0x116)]]=_0x477f01,_0x586142[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x5d43fa;}_0x2d84f3[_0x1452ea(0x15f)](_0x3cac67[_0x1452ea(0x16f)],undefined)&&(_0x586142[TestFrameworkConstants[_0x1452ea(0x24b)]]=_0x3cac67[_0x1452ea(0x16f)]);_0x3cac67[_0x1452ea(0x195)]&&(_0x586142[TestFrameworkConstants[_0x1452ea(0x178)]]=_0x3cac67[_0x1452ea(0x195)]);const _0x4a5c91=_0x56877b?_0x56877b[TestFrameworkConstants[_0x1452ea(0x14a)]]||{}:{},_0x5e3d9a=_0x56877b?_0x56877b[TestFrameworkConstants[_0x1452ea(0x206)]]:_0x4208c3,_0x4a3eaf=_0x2d84f3[_0x1452ea(0x1cb)](getManualUploadLogs,_0x4a5c91,_0x5e3d9a,_0x5126eb);if(_0x2d84f3[_0x1452ea(0x238)](_0x4a3eaf['length'],0x0)){const _0x25101d=_0x586142[TestFrameworkConstants[_0x1452ea(0x12d)]]||[];_0x586142[TestFrameworkConstants[_0x1452ea(0x12d)]]=[..._0x25101d,..._0x4a3eaf];}const _0x70dc88=_0x2f5bef[TestFrameworkConstants[_0x1452ea(0x1c9)]]||{},_0x3a072c=_0x2f5bef[TestFrameworkConstants[_0x1452ea(0x198)]]||{},_0x17d474={..._0x70dc88},_0x25f1b1=_0x17d474;Object['keys'](_0x3a072c)['forEach'](_0x20100e=>{const _0x1087f5=_0x1452ea;!_0x25f1b1[_0x20100e]&&(_0x25f1b1[_0x20100e]=[]);const _0x524303=new Set((_0x25f1b1[_0x20100e]||[])[_0x1087f5(0x192)](_0x318510=>_0x318510[TestFrameworkConstants[_0x1087f5(0x229)]]||_0x318510[_0x1087f5(0x1ab)]));(_0x3a072c[_0x20100e]||[])[_0x1087f5(0xf9)](_0x540495=>{const _0xd9107d=_0x1087f5,_0x4e03a0=_0x540495[TestFrameworkConstants['KEY_HOOK_ID']]||_0x540495['hook_id'];if(!_0x524303[_0xd9107d(0x1eb)](_0x4e03a0)){const _0x5cc36e={..._0x540495},_0x562c09=_0x5cc36e;!_0x562c09[TestFrameworkConstants[_0xd9107d(0x243)]]&&!_0x562c09[_0xd9107d(0x17a)]&&(_0x562c09[TestFrameworkConstants[_0xd9107d(0x243)]]=new Date()['toISOString']()),!_0x562c09[TestFrameworkConstants[_0xd9107d(0x114)]]&&!_0x562c09[_0xd9107d(0x130)]&&(_0x562c09[TestFrameworkConstants[_0xd9107d(0x114)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x25f1b1[_0x20100e][_0xd9107d(0x21c)](_0x562c09);}});});if(_0x1fe019[_0x1452ea(0xe9)]){this[_0x1452ea(0x101)](_0x1fe019['originalTest']);const _0x27185e=this['buildHookMapFromTest'](_0x1fe019[_0x1452ea(0xe9)]),_0x3d2ed5=this[_0x1452ea(0x1e0)](_0x1fe019[_0x1452ea(0xe9)]);_0x3d2ed5[_0x1452ea(0xf9)](_0x2e95b0=>{const _0xfa9121=_0x1452ea,_0x41b2b6=_0x27185e['get'](_0x2e95b0);if(_0x41b2b6&&(_0x2d84f3[_0xfa9121(0x1c0)](_0x41b2b6[_0xfa9121(0x20b)],_0x2d84f3[_0xfa9121(0xde)])||_0x2d84f3[_0xfa9121(0x1cc)](_0x41b2b6[_0xfa9121(0x20b)],_0x2d84f3['SbFix']))){const _0x2a6d4e=_0x41b2b6[_0xfa9121(0x20b)][_0xfa9121(0x1a5)]()[_0xfa9121(0x1ac)](_0x2d84f3[_0xfa9121(0x210)],_0x2d84f3[_0xfa9121(0x1a2)]),_0x5e608a=_0x2a6d4e;!_0x25f1b1[_0x5e608a]&&(_0x25f1b1[_0x5e608a]=[]);const _0x259557=_0x25f1b1[_0x5e608a][_0xfa9121(0x10d)](_0xba0e11=>(_0xba0e11[TestFrameworkConstants[_0xfa9121(0x229)]]||_0xba0e11[_0xfa9121(0x1ab)])===_0x2e95b0);!_0x259557&&_0x25f1b1[_0x5e608a][_0xfa9121(0x21c)]({'key':_0x5e608a,[TestFrameworkConstants[_0xfa9121(0x229)]]:_0x2e95b0,[TestFrameworkConstants[_0xfa9121(0x114)]]:TestFrameworkConstants[_0xfa9121(0x211)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0xfa9121(0x1dd)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0xfa9121(0x20d)]]:[],[TestFrameworkConstants[_0xfa9121(0x263)]]:_0x41b2b6[_0xfa9121(0x1da)]||_0x41b2b6['type']+_0xfa9121(0x1e1),[TestFrameworkConstants[_0xfa9121(0x13f)]]:_0x3fc78f});}});}if(_0x3cac67[_0x1452ea(0x16d)]&&_0x2d84f3[_0x1452ea(0x22c)](_0x3cac67[_0x1452ea(0x16d)]['length'],0x0))_0x586142[TestFrameworkConstants[_0x1452ea(0x1c9)]]=_0x3cac67[_0x1452ea(0x16d)],logger[_0x1452ea(0x136)](_0x2d84f3['qVwYn']);else _0x2d84f3[_0x1452ea(0x22c)](Object[_0x1452ea(0xdd)](_0x25f1b1)['length'],0x0)&&(_0x586142[TestFrameworkConstants[_0x1452ea(0x1c9)]]=_0x25f1b1,logger['debug'](_0x1452ea(0x152)+Object[_0x1452ea(0xdd)](_0x25f1b1)[_0x1452ea(0x11d)](',')));const _0x4c500e=this[_0x1452ea(0xe6)](_0x3cac67);logger[_0x1452ea(0x136)](_0x1452ea(0xfb)+_0x4c500e+_0x1452ea(0x165)+_0x5126eb+_0x1452ea(0x110)+_0x4366ac+_0x1452ea(0x11e)+_0x3cac67[_0x1452ea(0x16f)]);_0x2d84f3[_0x1452ea(0x266)](_0x4366ac,_0x2d84f3[_0x1452ea(0x196)])&&logger[_0x1452ea(0x136)](_0x1452ea(0x167)+_0x5126eb+_0x1452ea(0x214)+_0x586142[TestFrameworkConstants[_0x1452ea(0x25a)]]+_0x1452ea(0x23f)+_0x586142[TestFrameworkConstants[_0x1452ea(0x116)]]?.['substring'](0x0,0xc8));const _0x233965={};return _0x233965[_0x5126eb]=_0x586142,_0x233965;}['getJestTestScopes'](_0x39d49e){const _0x17b066=a71_0x2cc276,_0x57dc1a={};_0x57dc1a[_0x17b066(0x129)]=function(_0x44653b,_0x37cb02){return _0x44653b!==_0x37cb02;},_0x57dc1a[_0x17b066(0x1d8)]=function(_0xa48e21,_0x286e02){return _0xa48e21!==_0x286e02;},_0x57dc1a[_0x17b066(0x227)]=_0x17b066(0x19f);const _0x3d102b=_0x57dc1a,_0xf6b79c={};_0xf6b79c[_0x17b066(0x120)]=0x2,_0xf6b79c['maxArrayLength']=0x3,logger['debug'](_0x17b066(0x11b)+util[_0x17b066(0x15b)](_0x39d49e,_0xf6b79c));const _0x31ded9=[];if(_0x39d49e&&_0x39d49e[_0x17b066(0x246)]){let _0x210beb=_0x39d49e[_0x17b066(0x246)];while(_0x210beb&&_0x210beb[_0x17b066(0x1da)]&&_0x3d102b['LGdJF'](_0x210beb[_0x17b066(0x1da)],'')&&_0x3d102b['xaiTy'](_0x210beb[_0x17b066(0x1da)],_0x3d102b[_0x17b066(0x227)])){_0x31ded9[_0x17b066(0x21c)](_0x210beb['name']),_0x210beb=_0x210beb[_0x17b066(0x246)];}}return _0x31ded9[_0x17b066(0x1b9)]();}[a71_0x2cc276(0xe6)](_0x501262){const _0x50ea7c=a71_0x2cc276,_0x4e7dcf={};_0x4e7dcf['gkyPa']=_0x50ea7c(0x1e3);const _0x353fa6=_0x4e7dcf;if(_0x501262[_0x50ea7c(0x1da)])return _0x501262['name'];if(_0x501262[_0x50ea7c(0x1f4)])return _0x501262['title'];return _0x353fa6[_0x50ea7c(0x18c)];}[a71_0x2cc276(0x1e9)](_0x2106cf){const _0x1fda95=a71_0x2cc276,_0x4738a9=[];if(_0x2106cf[_0x1fda95(0x115)]&&Array['isArray'](_0x2106cf[_0x1fda95(0x115)]))return _0x2106cf[_0x1fda95(0x115)][_0x1fda95(0x192)](_0xcea31a=>_0xcea31a[_0x1fda95(0x21e)]('@')?_0xcea31a['substr'](0x1):_0xcea31a);const _0x2f210c=this[_0x1fda95(0xe6)](_0x2106cf),_0x437e0d=_0x2f210c[_0x1fda95(0x1f1)](/@(\w+)/g);if(_0x437e0d)return _0x437e0d[_0x1fda95(0x192)](_0x5a6f88=>_0x5a6f88[_0x1fda95(0xff)](0x1));return _0x2106cf[_0x1fda95(0xdb)]&&Array[_0x1fda95(0x1c5)](_0x2106cf[_0x1fda95(0xdb)])&&_0x2106cf[_0x1fda95(0xdb)][_0x1fda95(0xf9)](_0x2f114b=>{const _0x132a95=_0x1fda95,_0x1c8837=_0x2f114b[_0x132a95(0x1f1)](/@(\w+)/g);_0x1c8837&&_0x1c8837[_0x132a95(0xf9)](_0x24f7c9=>{const _0x46bb87=_0x132a95,_0x1c4e43=_0x24f7c9[_0x46bb87(0xff)](0x1);!_0x4738a9['includes'](_0x1c4e43)&&_0x4738a9[_0x46bb87(0x21c)](_0x1c4e43);});}),_0x4738a9;}[a71_0x2cc276(0x160)](_0x5829a7){const _0x529811=a71_0x2cc276,_0x5333f4={'rmXZe':function(_0x4c92db,_0x5818c6){return _0x4c92db(_0x5818c6);},'iscfn':'stack-trace'};if(_0x5829a7[_0x529811(0x1b5)])return _0x5829a7[_0x529811(0x1b5)];if(_0x5829a7[_0x529811(0x240)]){const _0xaa6bfb=_0x5333f4[_0x529811(0x241)](require,_0x5333f4[_0x529811(0x255)]);try{const _0x2ebec5=_0xaa6bfb[_0x529811(0x256)](_0x5829a7[_0x529811(0x240)]);if(_0x2ebec5[0x0]&&_0x2ebec5[0x0][_0x529811(0x1c4)])return _0x2ebec5[0x0]['getFileName']();}catch(_0x5c3aad){logger[_0x529811(0x136)](_0x529811(0x221)+util[_0x529811(0x126)](_0x5c3aad));}}return null;}[a71_0x2cc276(0x119)](_0x2eddaa){const _0x22a82a=a71_0x2cc276,_0x2a08cc={};_0x2a08cc['fzMbz']=function(_0x42712b,_0x24b473){return _0x42712b>_0x24b473;},_0x2a08cc[_0x22a82a(0x103)]=_0x22a82a(0x1a3);const _0x5d4082=_0x2a08cc;if(_0x2eddaa[_0x22a82a(0x135)]&&_0x5d4082[_0x22a82a(0x1d6)](_0x2eddaa[_0x22a82a(0x135)][_0x22a82a(0x1fa)],0x0))return util[_0x22a82a(0x15b)](_0x2eddaa[_0x22a82a(0x135)][0x0]);if(_0x2eddaa[_0x22a82a(0x258)])return _0x2eddaa[_0x22a82a(0x258)];return _0x5d4082[_0x22a82a(0x103)];}[a71_0x2cc276(0xe2)](_0x52a818){const _0x144462=a71_0x2cc276,_0x23381f={};_0x23381f['rEAqv']=_0x144462(0x18d),_0x23381f[_0x144462(0x189)]='AssertionError',_0x23381f[_0x144462(0x16a)]=_0x144462(0x1dc);const _0x2569c3=_0x23381f,_0x61ae09=this['getJestFailureReason'](_0x52a818);if(_0x61ae09&&_0x61ae09[_0x144462(0x24d)](_0x2569c3[_0x144462(0x12e)]))return _0x2569c3['hnuGb'];return _0x2569c3[_0x144462(0x16a)];}[a71_0x2cc276(0x1ce)](_0x2b5f53){const _0x2a67b1=a71_0x2cc276,_0x5d8589={'AQZFz':function(_0x4f2555,_0xe3f48a){return _0x4f2555(_0xe3f48a);},'IHXNc':_0x2a67b1(0x19e),'DGKrJ':function(_0x6f0991,_0x2a2c32){return _0x6f0991!==_0x2a2c32;},'QrRfx':_0x2a67b1(0x1d9)},{failureData:_0x1630ae}=_0x5d8589[_0x2a67b1(0xfd)](require,_0x5d8589[_0x2a67b1(0x1ec)]),_0x249c37=[];return _0x5d8589['DGKrJ'](_0x2b5f53[_0x2a67b1(0x135)],undefined)&&_0x249c37[_0x2a67b1(0x21c)](_0x2b5f53[_0x2a67b1(0x135)],_0x5d8589[_0x2a67b1(0x155)]),_0x1630ae[_0x2a67b1(0xea)](null,_0x249c37);}async[a71_0x2cc276(0xdc)](_0x13a96f,_0x46b6af,_0x2aa55f,_0x3c21eb){const _0x3c4071=a71_0x2cc276,_0x927d5c={'jEIuH':_0x3c4071(0xee),'JZToF':function(_0x140b58){return _0x140b58();},'ImdIq':function(_0x54aa10,_0x2e4cbd){return _0x54aa10 in _0x2e4cbd;},'MHtDL':function(_0x52af33,_0x2e4693){return _0x52af33 in _0x2e4693;},'wdroq':function(_0x274259,_0x21272e){return _0x274259===_0x21272e;},'vAqTr':function(_0x5d3056,_0xb77b9f){return _0x5d3056===_0xb77b9f;},'HCPyp':function(_0x11f0a2,_0x473451){return _0x11f0a2>_0x473451;},'NxaCM':_0x3c4071(0x1ef),'ZLAxz':'passed','qPHjH':function(_0x17ba27,_0x561544){return _0x17ba27>_0x561544;},'rYcYt':function(_0x360d0e,_0x23cf0d){return _0x360d0e!==_0x23cf0d;}},{hookData:_0x99fd92}=_0x3c21eb,_0x43cf3f=_0x2aa55f[_0x3c4071(0x171)](),_0xa9134e=_0x46b6af[_0x3c4071(0x171)](),_0x31b738={};_0x31b738[_0x3c4071(0x120)]=0x2,_0x31b738[_0x3c4071(0x173)]=0x3,logger[_0x3c4071(0x136)](_0x3c4071(0x142)+_0xa9134e+',\x20hookState='+_0x43cf3f+',\x20hookData='+util[_0x3c4071(0x15b)](_0x99fd92,_0x31b738));if(!_0x99fd92)return logger[_0x3c4071(0x136)](_0x927d5c[_0x3c4071(0x121)]),{};const _0x52bddc=_0x99fd92['uuid']||_0x99fd92['hookAnalyticsId']||_0x927d5c['JZToF'](uuidv4),_0x447595=_0x99fd92[_0x3c4071(0xe4)]||this[_0x3c4071(0xec)](_0x99fd92),_0x93e30d=_0x46b6af[_0x3c4071(0x171)]()[_0x3c4071(0x1fc)]('.')[0x1],_0x3d1bd0=_0x13a96f[_0x3c4071(0x231)]()['get'](_0x447595),_0x178d0a=_0x3d1bd0?_0x3d1bd0[TestFrameworkConstants[_0x3c4071(0x13f)]]||{}:{};logger['debug'](_0x3c4071(0x22a)+_0x52bddc+_0x3c4071(0x165)+_0x447595+'\x20(testIdentifier),\x20hookType='+_0x93e30d+_0x3c4071(0x117)+_0x43cf3f);if(!_0x3d1bd0)return logger[_0x3c4071(0x136)](_0x3c4071(0x1fe)+_0x447595+_0x3c4071(0x1a6)),this[_0x3c4071(0x127)](_0x13a96f,_0x447595,_0x46b6af,_0x2aa55f,_0x3c21eb),{};let _0x387925=_0x3d1bd0[TestFrameworkConstants[_0x3c4071(0x198)]];!_0x387925&&(_0x387925={});!_0x927d5c[_0x3c4071(0x1d7)](_0x93e30d,_0x387925)&&(_0x387925[_0x93e30d]=[]);let _0x2e3475=_0x3d1bd0[TestFrameworkConstants[_0x3c4071(0x1c9)]];!_0x2e3475&&(_0x2e3475={});!_0x927d5c[_0x3c4071(0xf5)](_0x93e30d,_0x2e3475)&&(_0x2e3475[_0x93e30d]=[]);const _0x50da48={[TestFrameworkConstants[_0x3c4071(0x198)]]:_0x387925,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x2e3475},_0x23cd0c={};_0x23cd0c[_0x447595]=_0x50da48;const _0x1a1882=_0x23cd0c;if(_0x927d5c[_0x3c4071(0x1a1)](_0x2aa55f,HookState[_0x3c4071(0x251)])){const _0xf3e60c={'key':_0x93e30d,[TestFrameworkConstants[_0x3c4071(0x229)]]:_0x52bddc,[TestFrameworkConstants[_0x3c4071(0x114)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x3c4071(0x1f7)]]:_0x99fd92[_0x3c4071(0x153)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x3c4071(0x263)]]:_0x99fd92['name']||_0x99fd92['hook_type']||_0x93e30d,[TestFrameworkConstants[_0x3c4071(0x13f)]]:_0x178d0a};_0x387925[_0x93e30d]['push'](_0xf3e60c),_0x1a1882[_0x447595][TestFrameworkConstants[_0x3c4071(0x215)]]=_0x93e30d;const _0x5098dd={};_0x5098dd[_0x3c4071(0x120)]=0x2,logger['debug'](_0x3c4071(0x23e)+_0x93e30d+_0x3c4071(0x1de)+_0x52bddc+_0x3c4071(0x165)+_0x447595+_0x3c4071(0x244)+util[_0x3c4071(0x15b)](_0xf3e60c,_0x5098dd));}else{if(_0x927d5c[_0x3c4071(0x1cd)](_0x2aa55f,HookState[_0x3c4071(0x220)])){const _0x16bc30=_0x99fd92[_0x3c4071(0x13c)]||(_0x99fd92['errorsDetailed']&&_0x927d5c[_0x3c4071(0x1cf)](_0x99fd92[_0x3c4071(0x135)][_0x3c4071(0x1fa)],0x0)?_0x927d5c['NxaCM']:_0x927d5c[_0x3c4071(0x20c)]),_0x23f943=_0x387925[_0x93e30d]||[];logger[_0x3c4071(0x136)](_0x3c4071(0x1d4)+_0x93e30d+_0x3c4071(0x165)+_0x447595+_0x3c4071(0xed)+_0x16bc30+_0x3c4071(0x190)+_0x23f943['length']);if(_0x927d5c[_0x3c4071(0x234)](_0x23f943[_0x3c4071(0x1fa)],0x0)){const _0x45c9eb=_0x23f943['pop']();_0x927d5c[_0x3c4071(0x1cd)](_0x16bc30,_0x927d5c[_0x3c4071(0x1df)])&&_0x99fd92['errorsDetailed']?(_0x45c9eb[TestFrameworkConstants[_0x3c4071(0x144)]]=this['getJestFailureType'](_0x99fd92),_0x45c9eb[TestFrameworkConstants[_0x3c4071(0x194)]]=this['getJestFailureReason'](_0x99fd92),_0x45c9eb[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this[_0x3c4071(0x1ce)](_0x99fd92),logger[_0x3c4071(0x136)](_0x3c4071(0x21d)+_0x93e30d+_0x3c4071(0x214)+_0x45c9eb[TestFrameworkConstants[_0x3c4071(0x144)]]+_0x3c4071(0x23f)+_0x45c9eb[TestFrameworkConstants[_0x3c4071(0x194)]]?.[_0x3c4071(0x12a)](0x0,0xc8))):_0x45c9eb[TestFrameworkConstants[_0x3c4071(0x114)]]=_0x927d5c[_0x3c4071(0x20c)];_0x927d5c[_0x3c4071(0x14e)](_0x16bc30,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x45c9eb[TestFrameworkConstants[_0x3c4071(0x114)]]=_0x16bc30);_0x45c9eb[TestFrameworkConstants[_0x3c4071(0x243)]]=_0x99fd92[_0x3c4071(0x138)]||new Date()[_0x3c4071(0x1dd)](),_0x45c9eb[TestFrameworkConstants[_0x3c4071(0x13f)]]=_0x178d0a;const _0x3bd80c=_0x45c9eb[TestFrameworkConstants[_0x3c4071(0x229)]];!_0x2e3475[_0x93e30d]&&(_0x2e3475[_0x93e30d]=[]);_0x2e3475[_0x93e30d]['push'](_0x45c9eb),_0x1a1882[_0x447595][TestFrameworkConstants[_0x3c4071(0x24c)]]=_0x93e30d;const _0x4c523e={};_0x4c523e[_0x3c4071(0x120)]=0x2,logger['debug'](_0x3c4071(0x1fb)+_0x93e30d+_0x3c4071(0x1de)+_0x3bd80c+_0x3c4071(0xed)+_0x16bc30+_0x3c4071(0x244)+util['inspect'](_0x45c9eb,_0x4c523e));}}}const _0x44063f={};return _0x44063f[_0x3c4071(0x120)]=0x2,_0x44063f[_0x3c4071(0x173)]=0x3,logger[_0x3c4071(0x136)](_0x3c4071(0x12c)+(_0x99fd92['hook_type']||_0x93e30d)+_0x3c4071(0x1de)+_0x52bddc+_0x3c4071(0x165)+_0x447595+_0x3c4071(0x1d3)+util[_0x3c4071(0x15b)](_0x1a1882,_0x44063f)),_0x1a1882;}[a71_0x2cc276(0x186)](_0x3c7f15){const _0xb968c5=a71_0x2cc276,_0x5d2ce9={};_0x5d2ce9[_0xb968c5(0x15a)]=_0xb968c5(0x1e4);const _0x1cc3b2=_0x5d2ce9;try{const _0xd2141b=_0x3c7f15['test']?this[_0xb968c5(0xec)](_0x3c7f15['test']):_0x3c7f15['hookData'][_0xb968c5(0xe4)],_0x28b13e=_0x3c7f15[_0xb968c5(0x1ee)],_0x10bbaa=_0x28b13e['getContext'](),_0x10dab4=_0x28b13e['getAllData']()[_0xb968c5(0xf2)](_0xd2141b);if(!_0x10dab4)return logger[_0xb968c5(0x136)](_0xb968c5(0x25e)+_0xd2141b),{};const {[TestFrameworkConstants[_0xb968c5(0x183)]]:_0xb62e85='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5d4278='',[TestFrameworkConstants[_0xb968c5(0x1bb)]]:_0x384a4e='',[TestFrameworkConstants[_0xb968c5(0x1b6)]]:_0x37402b=''}=_0x10dab4,_0x10f47c=_0x28b13e[_0xb968c5(0x253)]()[_0xb968c5(0x171)]()[_0xb968c5(0x1fc)]('.')[0x1],_0x3be288=_0x28b13e[_0xb968c5(0x102)]()[_0xb968c5(0x171)]()[_0xb968c5(0x1fc)]('.')[0x1],_0x48acc1=global?.[_0xb968c5(0x185)]?.[_0xb968c5(0x235)]?.[_0xb968c5(0x22f)],_0x538f94=_0x28b13e[_0xb968c5(0x224)](),_0x5d18a6=Buffer[_0xb968c5(0x16e)](JSON[_0xb968c5(0x12b)](_0x10dab4))[_0xb968c5(0x171)](_0x1cc3b2[_0xb968c5(0x15a)]),_0x4a6195={'hash':_0x10bbaa['getId'](),'threadId':_0x10bbaa[_0xb968c5(0x169)]()[_0xb968c5(0x171)](),'processId':_0x10bbaa[_0xb968c5(0x19a)]()[_0xb968c5(0x171)]()},_0x1c83d3={};_0x1c83d3[_0xb968c5(0x132)]=_0x48acc1,_0x1c83d3[_0xb968c5(0x261)]=_0xb62e85,_0x1c83d3['testFrameworkVersion']=_0x5d4278,_0x1c83d3[_0xb968c5(0x205)]=_0x10f47c,_0x1c83d3[_0xb968c5(0xf4)]=_0x3be288,_0x1c83d3['startedAt']=_0x384a4e,_0x1c83d3[_0xb968c5(0x1a8)]=_0x37402b,_0x1c83d3[_0xb968c5(0x212)]=_0x538f94,_0x1c83d3[_0xb968c5(0x257)]=_0x5d18a6,_0x1c83d3[_0xb968c5(0x223)]=_0x4a6195,_0x1c83d3[_0xb968c5(0x146)]=_0xd2141b;const _0x588540=_0x1c83d3;return _0x588540;}catch(_0x539d4f){return logger[_0xb968c5(0x269)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x539d4f)),{};}}async[a71_0x2cc276(0x24f)](_0x3ee34c,_0xd85bc1,_0x55b37){const _0x874fa=a71_0x2cc276,_0xe1380e={'APdUb':function(_0xf35660,_0x25f3a0){return _0xf35660+_0x25f3a0;},'btTgD':_0x874fa(0x1b3),'jpCKB':_0x874fa(0x14c),'ZQKND':function(_0x39bfb5,_0x1e3858){return _0x39bfb5>_0x1e3858;},'fkJOx':function(_0x291e3c,_0x4b3acd,_0x5e0d05,_0x6106d0){return _0x291e3c(_0x4b3acd,_0x5e0d05,_0x6106d0);},'lCPQl':function(_0x7bfa0,_0x26c420){return _0x7bfa0-_0x26c420;},'wlPTq':function(_0x9829cf,_0x4ed2d5){return _0x9829cf===_0x4ed2d5;},'xFDzC':function(_0x52e702,_0x549631){return _0x52e702/_0x549631;},'ZbHcA':function(_0x45fd28,_0x44326b){return _0x45fd28<_0x44326b;},'aWzTy':function(_0x191891,_0x4ba1c8){return _0x191891*_0x4ba1c8;},'PdVrk':function(_0x1b2f7a,_0x3436e3){return _0x1b2f7a+_0x3436e3;},'jlHEL':function(_0x303c6a,_0x188654){return _0x303c6a>_0x188654;}};try{const _0x11f276=_0x55b37[_0x874fa(0x143)]||_0x55b37['testId'],_0x2d1b51=Array[_0x874fa(0x16e)](_0x3ee34c[_0x874fa(0x231)]()['keys']()),_0x23e2df=_0x3ee34c[_0x874fa(0x231)]()[_0x874fa(0xf2)](_0x11f276);if(!_0x23e2df){logger[_0x874fa(0x136)](_0x874fa(0x147)+_0x11f276);return;}const {[TestFrameworkConstants[_0x874fa(0x183)]]:_0x447a76='',[TestFrameworkConstants[_0x874fa(0x230)]]:_0x44738f=''}=_0x23e2df;let _0x545fe7=[];if(_0x23e2df&&_0x23e2df[TestFrameworkConstants[_0x874fa(0x12d)]]&&Array[_0x874fa(0x1c5)](_0x23e2df[TestFrameworkConstants[_0x874fa(0x12d)]])){_0x545fe7=_0x23e2df[TestFrameworkConstants[_0x874fa(0x12d)]]||[],logger[_0x874fa(0x136)](_0x874fa(0x141)+_0x545fe7[_0x874fa(0x1fa)]+'\x20logs\x20for\x20testId:\x20'+_0x11f276);const _0x429dfc={[TestFrameworkConstants[_0x874fa(0x12d)]]:[]},_0x845da3={};_0x845da3[_0x11f276]=_0x429dfc,_0x3ee34c[_0x874fa(0x1ff)](_0x845da3),logger[_0x874fa(0x136)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x11f276);}else logger['debug'](_0x874fa(0x1d5)+_0x11f276);logger[_0x874fa(0x136)](_0x874fa(0xe8)+_0x545fe7[_0x874fa(0x1fa)]+'\x20for\x20testId:\x20'+_0x11f276);const _0x4f865e=_0x545fe7['filter'](_0x1332f4=>_0x1332f4[_0x874fa(0x128)]===_0x874fa(0x247));_0xe1380e[_0x874fa(0x172)](_0x4f865e['length'],0x0)&&(logger[_0x874fa(0x136)](_0x874fa(0x17d)+_0x4f865e[_0x874fa(0x1fa)]+_0x874fa(0x108)+_0x11f276),_0x4f865e[_0x874fa(0xf9)]((_0x4a4fcc,_0x13469b)=>{const _0x6e605d=_0x874fa;logger[_0x6e605d(0x136)](_0x6e605d(0x149)+_0xe1380e['APdUb'](_0x13469b,0x1)+'/'+_0x4f865e[_0x6e605d(0x1fa)]+_0x6e605d(0x21b)+(_0x4a4fcc['test_identifier']||_0xe1380e['btTgD'])+_0x6e605d(0x11a)+(_0x4a4fcc['test_run_uuid']||_0xe1380e[_0x6e605d(0x20e)])+',\x20hook_run_uuid='+(_0x4a4fcc[_0x6e605d(0x236)]||_0xe1380e['jpCKB'])+',\x20messageLength='+(_0x4a4fcc[_0x6e605d(0x15e)]?.['length']||0x0));}));const _0x80e0f3=_0x23e2df[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x1534c9=_0xe1380e['fkJOx'](getMediaArtifactsLogs,_0x80e0f3,null,_0x11f276),_0x4f75a0=(_0x545fe7||[])['concat'](_0x1534c9||[]),_0x4f94ec=_0x4f865e?.['length']||0x0,_0x30a631=_0xe1380e[_0x874fa(0x19d)](_0x545fe7?.['length']||0x0,_0x4f94ec);logger[_0x874fa(0x136)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0x11f276+_0x874fa(0x26d)+_0x30a631+_0x874fa(0x1ad)+_0x4f94ec+_0x874fa(0x1b4)+(_0x1534c9?.[_0x874fa(0x1fa)]||0x0)+_0x874fa(0x232)+_0x4f75a0[_0x874fa(0x1fa)]);if(!_0x4f75a0||_0xe1380e[_0x874fa(0x113)](_0x4f75a0[_0x874fa(0x1fa)],0x0)){logger[_0x874fa(0x136)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x11f276);return;}const _0x386e57=0x28,_0x1a26c3=Math['ceil'](_0xe1380e[_0x874fa(0x203)](_0x4f75a0[_0x874fa(0x1fa)],_0x386e57));for(let _0x382eca=0x0;_0xe1380e['ZbHcA'](_0x382eca,_0x1a26c3);_0x382eca++){const _0x2191f2=_0xe1380e[_0x874fa(0x1f5)](_0x382eca,_0x386e57),_0x1739bb=_0xe1380e[_0x874fa(0x112)](_0x2191f2,_0x386e57),_0x78ba22=_0x4f75a0[_0x874fa(0xff)](_0x2191f2,_0x1739bb),_0x3968b6=global?.[_0x874fa(0x185)]?.['workerInfo']?.[_0x874fa(0x22f)]||0x0,_0x5a234b={'platformIndex':_0x3968b6,'logs':_0x78ba22,'testFrameworkName':_0x447a76,'testFrameworkVersion':_0x44738f,'testFrameworkState':_0xd85bc1['toString']()[_0x874fa(0x1fc)]('.')[0x1]},_0x2b946c={};_0x2b946c[_0x874fa(0x120)]=0x3,_0x2b946c[_0x874fa(0x173)]=0x5,logger['debug'](_0x874fa(0x1c2)+_0xe1380e[_0x874fa(0x112)](_0x382eca,0x1)+'/'+_0x1a26c3+_0x874fa(0x25f)+_0x11f276+_0x874fa(0x1d1)+_0x78ba22[_0x874fa(0x1fa)]+_0x874fa(0x18f)+_0x3968b6+_0x874fa(0x154)+util['inspect'](_0x5a234b,_0x2b946c));const _0x40721d=await GrpcClient[_0x874fa(0x239)]()['logCreatedEvent'](_0x5a234b);logger[_0x874fa(0x136)](_0x874fa(0x1c2)+_0xe1380e['APdUb'](_0x382eca,0x1)+'/'+_0x1a26c3+'\x20-\x20testId:\x20'+_0x11f276+',\x20response='+util['inspect'](_0x40721d));}if(_0x1534c9&&_0xe1380e['jlHEL'](_0x1534c9['length'],0x0)&&_0x23e2df[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x3849d5={[TestFrameworkConstants[_0x874fa(0x14a)]]:{}},_0x3e549e={};_0x3e549e[_0x11f276]=_0x3849d5,_0x3ee34c[_0x874fa(0x1ff)](_0x3e549e);}logger['debug'](_0x874fa(0x162)+_0x11f276+',\x20totalBatches:\x20'+_0x1a26c3);}catch(_0x31cec){logger[_0x874fa(0x269)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x55b37[_0x874fa(0x143)]||_0x55b37[_0x874fa(0x1e7)])+',\x20error:\x20'+util[_0x874fa(0x126)](_0x31cec));}}[a71_0x2cc276(0x127)](_0x44378e,_0x1c4ecd,_0x15cec2,_0x2e9552,_0x5b9cad){const _0x298989=a71_0x2cc276,_0x11927e={};_0x11927e[_0x298989(0xfe)]=function(_0x272fd6,_0x180600){return _0x272fd6===_0x180600;},_0x11927e['xiRVZ']=_0x298989(0xf8);const _0x188daf=_0x11927e,{hookData:_0x4f0dbf}=_0x5b9cad,_0x265978={'testId':_0x1c4ecd,'testFrameworkState':_0x15cec2,'hookState':_0x2e9552,'args':_0x5b9cad,'timestamp':new Date()[_0x298989(0x1dd)]()};if(_0x188daf[_0x298989(0xfe)](_0x15cec2,TestFrameworkState[_0x298989(0xf6)])&&_0x4f0dbf){const _0x362228={};_0x362228[_0x298989(0x175)]=_0x4f0dbf['file_name']||_0x4f0dbf[_0x298989(0x23b)],_0x362228['scope']=_0x4f0dbf['scope']||_0x4f0dbf[_0x298989(0xdb)]&&_0x4f0dbf[_0x298989(0xdb)][0x0]||'',_0x362228[_0x298989(0xfc)]=_0x188daf['xiRVZ'],_0x265978[_0x298989(0x124)]=_0x362228,logger[_0x298989(0x136)](_0x298989(0x1a0)+_0x1c4ecd+_0x298989(0x22b)+_0x265978[_0x298989(0x124)][_0x298989(0x175)]+',\x20scope:\x20'+_0x265978['hookMetadata']['scope']);}_0x44378e['addPendingHook'](_0x1c4ecd,_0x265978),logger['debug'](_0x298989(0x191)+_0x1c4ecd+_0x298989(0x204)+_0x15cec2+',\x20hookState:\x20'+_0x2e9552);}async['processPendingHooks'](_0x1a454a,_0x397e5c){const _0x5a79cb=a71_0x2cc276,_0x4fea0f={};_0x4fea0f[_0x5a79cb(0x193)]=function(_0x51e438,_0x352548){return _0x51e438>_0x352548;},_0x4fea0f[_0x5a79cb(0x21a)]='[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',_0x4fea0f['lsnYM']=function(_0xdf671c,_0x3664cb){return _0xdf671c===_0x3664cb;},_0x4fea0f['ouJSu']=function(_0x2c4c30,_0x561436){return _0x2c4c30===_0x561436;},_0x4fea0f[_0x5a79cb(0x1f2)]=function(_0x33edc5,_0x3c6613){return _0x33edc5===_0x3c6613;},_0x4fea0f[_0x5a79cb(0x1be)]=function(_0x2b3074,_0x3619ee){return _0x2b3074>_0x3619ee;},_0x4fea0f[_0x5a79cb(0x11f)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0x4fea0f[_0x5a79cb(0x137)]=_0x5a79cb(0x23d);const _0x54328f=_0x4fea0f;if(_0x1a454a['hasPendingHooks'](_0x397e5c)){const _0x17a8dd=_0x1a454a[_0x5a79cb(0xf3)](_0x397e5c);logger[_0x5a79cb(0x136)](_0x5a79cb(0x182)+_0x17a8dd[_0x5a79cb(0x1fa)]+_0x5a79cb(0x1aa)+_0x397e5c);for(const _0x2dfe16 of _0x17a8dd){try{const _0x4c10a0=await this[_0x5a79cb(0xdc)](_0x1a454a,_0x2dfe16[_0x5a79cb(0x205)],_0x2dfe16[_0x5a79cb(0xf4)],_0x2dfe16[_0x5a79cb(0x23a)]);_0x4c10a0&&_0x54328f['EPjrX'](Object[_0x5a79cb(0xdd)](_0x4c10a0)[_0x5a79cb(0x1fa)],0x0)&&_0x1a454a[_0x5a79cb(0x1ff)](_0x4c10a0),await this[_0x5a79cb(0x140)](_0x1a454a,_0x2dfe16['testFrameworkState'],_0x2dfe16[_0x5a79cb(0xf4)],_0x2dfe16['args']);}catch(_0x2ef429){logger[_0x5a79cb(0x269)](_0x5a79cb(0x1ca)+_0x397e5c+_0x5a79cb(0x1af)+_0x2ef429);}}_0x1a454a[_0x5a79cb(0x1bf)](_0x397e5c),logger[_0x5a79cb(0x136)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x397e5c);}const _0x30dcea=_0x1a454a[_0x5a79cb(0x231)]()['get'](_0x397e5c);if(_0x30dcea){const _0x5b7760=_0x30dcea[TestFrameworkConstants[_0x5a79cb(0x106)]]||_0x30dcea[TestFrameworkConstants['KEY_TEST_LOCATION']],_0x3c8935=_0x30dcea[TestFrameworkConstants[_0x5a79cb(0x15d)]]||_0x30dcea[TestFrameworkConstants['KEY_TEST_SCOPES']]&&_0x30dcea[TestFrameworkConstants[_0x5a79cb(0x118)]][0x0]||'';logger['debug'](_0x54328f['GANYB']);const _0x4d032c=_0x1a454a[_0x5a79cb(0x170)]();for(const _0x4e0821 of _0x4d032c){if(_0x54328f[_0x5a79cb(0x125)](_0x4e0821,_0x397e5c))continue;if(_0x1a454a['hasPendingHooks'](_0x4e0821)){const _0x381852=_0x1a454a[_0x5a79cb(0xf3)](_0x4e0821);for(const _0x370575 of _0x381852){if(_0x54328f[_0x5a79cb(0xe0)](_0x370575[_0x5a79cb(0x205)],TestFrameworkState[_0x5a79cb(0xf6)])&&_0x370575['hookMetadata']){const _0x2e821e=_0x370575[_0x5a79cb(0x124)][_0x5a79cb(0x175)],_0x2ba82e=_0x370575['hookMetadata']['scope'];if(_0x54328f[_0x5a79cb(0xe0)](_0x2e821e,_0x5b7760)&&_0x54328f[_0x5a79cb(0x1f2)](_0x2ba82e,_0x3c8935)){logger[_0x5a79cb(0x136)](_0x5a79cb(0x1b7)+_0x4e0821+_0x5a79cb(0x245)+_0x397e5c+_0x5a79cb(0x22b)+_0x2e821e+_0x5a79cb(0x187)+_0x2ba82e);_0x370575[_0x5a79cb(0x23a)]&&_0x370575['args'][_0x5a79cb(0x131)]&&(_0x370575[_0x5a79cb(0x23a)][_0x5a79cb(0x131)][_0x5a79cb(0xe4)]=_0x397e5c,logger[_0x5a79cb(0x136)](_0x5a79cb(0x148)+_0x4e0821+_0x5a79cb(0x100)+_0x397e5c));try{const _0xbdde33=await this[_0x5a79cb(0xdc)](_0x1a454a,_0x370575['testFrameworkState'],_0x370575[_0x5a79cb(0xf4)],_0x370575[_0x5a79cb(0x23a)]);_0xbdde33&&_0x54328f[_0x5a79cb(0x1be)](Object['keys'](_0xbdde33)[_0x5a79cb(0x1fa)],0x0)&&_0x1a454a[_0x5a79cb(0x1ff)](_0xbdde33);await this[_0x5a79cb(0x140)](_0x1a454a,_0x370575[_0x5a79cb(0x205)],_0x370575[_0x5a79cb(0xf4)],_0x370575[_0x5a79cb(0x23a)]);const _0x4584c1=_0x1a454a['getPendingHooks'](_0x4e0821)[_0x5a79cb(0x19c)](_0x2f8cdd=>_0x2f8cdd!==_0x370575);if(_0x54328f[_0x5a79cb(0x125)](_0x4584c1['length'],0x0))_0x1a454a[_0x5a79cb(0x1bf)](_0x4e0821);else{_0x1a454a[_0x5a79cb(0x1bf)](_0x4e0821);for(const _0x554bc3 of _0x4584c1){_0x1a454a[_0x5a79cb(0x242)](_0x4e0821,_0x554bc3);}}logger[_0x5a79cb(0x136)](_0x54328f[_0x5a79cb(0x11f)]);}catch(_0x5d6f52){logger[_0x5a79cb(0x269)](_0x54328f[_0x5a79cb(0x137)]);}}}}}}}}[a71_0x2cc276(0x101)](_0x4dbb11){const _0x54832f=a71_0x2cc276,_0x22a946={'ACOJK':function(_0x2998ce){return _0x2998ce();}};if(!_0x4dbb11||!_0x4dbb11['parent'])return;_0x4dbb11[_0x54832f(0x246)]['hooks']&&Array[_0x54832f(0x1c5)](_0x4dbb11['parent']['hooks'])&&_0x4dbb11['parent'][_0x54832f(0x16d)][_0x54832f(0xf9)](_0x11bd89=>{const _0x36d483=_0x54832f;!_0x11bd89[_0x36d483(0x145)]&&!_0x11bd89[_0x36d483(0x218)]&&(_0x11bd89[_0x36d483(0x145)]=_0x22a946[_0x36d483(0xdf)](uuidv4),_0x11bd89[_0x36d483(0x218)]=_0x11bd89[_0x36d483(0x145)],logger[_0x36d483(0x136)](_0x36d483(0xf1)+_0x11bd89['type']+_0x36d483(0x1bc)+_0x11bd89[_0x36d483(0x145)]));}),this[_0x54832f(0x101)](_0x4dbb11[_0x54832f(0x246)]);}['getHooksForTest'](_0xe6cdaf){const _0x13f52d=a71_0x2cc276,_0x39b887={'bzpLM':function(_0x26e5d1,_0x1711fb){return _0x26e5d1(_0x1711fb);}};if(!_0xe6cdaf||!_0xe6cdaf[_0x13f52d(0x246)])return[];const _0x5f05f1=[];return _0xe6cdaf[_0x13f52d(0x246)]['hooks']&&Array[_0x13f52d(0x1c5)](_0xe6cdaf[_0x13f52d(0x246)]['hooks'])&&_0xe6cdaf[_0x13f52d(0x246)]['hooks'][_0x13f52d(0xf9)](_0x11d717=>{const _0x16fe2c=_0x13f52d,_0x4437b3=_0x11d717[_0x16fe2c(0x145)]||_0x11d717[_0x16fe2c(0x218)];_0x4437b3&&!this[_0x16fe2c(0x188)](_0x11d717)&&!_0x39b887[_0x16fe2c(0x16b)](isInternalHook,_0x11d717['fn'])&&_0x5f05f1[_0x16fe2c(0x21c)](_0x4437b3);}),[..._0x5f05f1,...this[_0x13f52d(0x1e0)](_0xe6cdaf['parent'])];}['buildHookMapFromTest'](_0x30bc43){const _0x4a59ce=a71_0x2cc276,_0x17d608={'UVTnm':function(_0x69fdc3,_0x2beb58){return _0x69fdc3(_0x2beb58);},'ZCMqR':_0x4a59ce(0x179)},_0x665a2=new Map(),_0x8b9b0f=_0x49ad1c=>{const _0x9d3443=_0x4a59ce;if(!_0x49ad1c||!_0x49ad1c[_0x9d3443(0x246)])return;_0x49ad1c['parent']['hooks']&&Array[_0x9d3443(0x1c5)](_0x49ad1c[_0x9d3443(0x246)][_0x9d3443(0x16d)])&&_0x49ad1c['parent']['hooks'][_0x9d3443(0xf9)](_0x30b4b9=>{const _0x18bd84=_0x9d3443,_0x17b65f=_0x30b4b9[_0x18bd84(0x145)]||_0x30b4b9['hookUUID'];if(_0x17b65f&&!this[_0x18bd84(0x188)](_0x30b4b9)&&!_0x17d608[_0x18bd84(0x1a4)](isInternalHook,_0x30b4b9['fn'])){const _0x13320c={};_0x13320c[_0x18bd84(0x20b)]=_0x30b4b9[_0x18bd84(0x20b)]||_0x17d608[_0x18bd84(0x267)],_0x13320c[_0x18bd84(0x1da)]=_0x30b4b9['name']||'\x22'+_0x30b4b9[_0x18bd84(0x20b)]+_0x18bd84(0x1ba),_0x665a2[_0x18bd84(0x157)](_0x17b65f,_0x13320c);}}),_0x17d608[_0x9d3443(0x1a4)](_0x8b9b0f,_0x49ad1c[_0x9d3443(0x246)]);};return _0x17d608[_0x4a59ce(0x1a4)](_0x8b9b0f,_0x30bc43),_0x665a2;}[a71_0x2cc276(0x188)](_0x5c5dec){const _0x9d5da4=a71_0x2cc276,_0x3f14d2={};_0x3f14d2[_0x9d5da4(0x174)]=_0x9d5da4(0x163),_0x3f14d2['eDzNM']=_0x9d5da4(0x15c);const _0x3ee99c=_0x3f14d2;try{const _0x498bf0=this[_0x9d5da4(0x252)](_0x5c5dec);return _0x498bf0&&_0x498bf0[_0x9d5da4(0x24d)](_0x3ee99c[_0x9d5da4(0x174)]);}catch(_0x2fb22e){logger[_0x9d5da4(0x136)](_0x3ee99c[_0x9d5da4(0x14d)]);}return![];}[a71_0x2cc276(0x252)](_0x1fd3a4){const _0x390702=a71_0x2cc276;if(_0x1fd3a4[_0x390702(0x240)])try{const _0x13642d=stackTrace['parse'](_0x1fd3a4[_0x390702(0x240)]);return _0x13642d[0x0]?_0x13642d[0x0]['getFileName']():null;}catch(_0x47b7f0){logger[_0x390702(0x136)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util['format'](_0x47b7f0));}if(_0x1fd3a4['file'])return _0x1fd3a4[_0x390702(0x1d2)];return null;}}module[a71_0x2cc276(0x13a)]=JestTestFramework;
1
+ const a71_0x4cfaa1=a71_0x6992;(function(_0x93c5d7,_0x5071b0){const _0x1f8ac0=a71_0x6992,_0x29fd44=_0x93c5d7();while(!![]){try{const _0x17d71c=parseInt(_0x1f8ac0(0x2ce))/0x1*(parseInt(_0x1f8ac0(0x226))/0x2)+-parseInt(_0x1f8ac0(0x2d7))/0x3+-parseInt(_0x1f8ac0(0x2cb))/0x4*(parseInt(_0x1f8ac0(0x273))/0x5)+-parseInt(_0x1f8ac0(0x303))/0x6+parseInt(_0x1f8ac0(0x1fa))/0x7+-parseInt(_0x1f8ac0(0x215))/0x8+-parseInt(_0x1f8ac0(0x1cf))/0x9*(-parseInt(_0x1f8ac0(0x2dc))/0xa);if(_0x17d71c===_0x5071b0)break;else _0x29fd44['push'](_0x29fd44['shift']());}catch(_0xb14a02){_0x29fd44['push'](_0x29fd44['shift']());}}}(a71_0x25c6,0x32d68));function a71_0x6992(_0x130745,_0x410eab){const _0x25c61d=a71_0x25c6();return a71_0x6992=function(_0x6992df,_0x5182f1){_0x6992df=_0x6992df-0x18a;let _0xf97945=_0x25c61d[_0x6992df];return _0xf97945;},a71_0x6992(_0x130745,_0x410eab);}const TestFramework=require('./testFramework'),TestFrameworkState=require(a71_0x4cfaa1(0x2a9)),HookState=require(a71_0x4cfaa1(0x2de)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a71_0x4cfaa1(0x1f0)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x4cfaa1(0x1d3)),{isInternalHook}=require(a71_0x4cfaa1(0x29e)),logger=createClassLogger(a71_0x4cfaa1(0x26f)),{v4:uuidv4}=require(a71_0x4cfaa1(0x2ef)),util=require(a71_0x4cfaa1(0x2d2)),TestInfo=require(a71_0x4cfaa1(0x302)),GrpcClient=require(a71_0x4cfaa1(0x28d)),stackTrace=require('stack-trace');function a71_0x25c6(){const _0x5bfda8=['80538yvpGXn','substr','ztFhA','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','delete','20msbMrG','parseJestTest','../state/hookState.js','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','format','KEY_HOOK_ID','storePendingHook','getJestTestTags','yNzTj','join','inspect','PeaCn','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','WRSRi',',\x20result=','gtrOZ','isArray','jest-circus','rhibI','uuid','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','hookMetadata','uAlkv','getJestTestIdentifier','__workerDetails','HPMxx','warn','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','processPendingHooks','result','KEY_TEST_SCOPE','stringify','trackJestInstance:\x20instance\x20already\x20exists','zoytw','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_LAST_FINISHED','KEY_TEST_FAILURE_TYPE','debug','../TestInfo.js','391062SguaLy','testFrameworkState','concat','addMultipleEntries',',\x20test_run_uuid=','KEY_TEST_ENDED_AT','fVygQ','DEFAULT_TEST_RESULT',',\x20target=','hookData','hookUUID','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','keys','KEY_HOOK_NAME','KEY_HOOK_FAILURE_REASON','KEY_CUSTOM_TAGS','KEY_TEST_META','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','Hlmbd','getJestFailureType','testUUID',',\x20testData=','asyncError','KEY_TEST_LOCATION',',\x20hook_run_uuid=','buildHookMapFromTest','BEFORE_ALL','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','KEY_HOOKS_FINISHED','failure_reason','uwRum','parseJestTestResult','IBLvR','NffCw','errorsDetailed','KEY_TEST_ATTACHMENTS','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_RETRY_OF','JMIti','workerInfo','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','removeActiveHook','cxTmJ','\x20&\x20hookState=','KEY_EVENT_STARTED_AT','OHRDh','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','reverse','match','getJestFailureReason','PRE',',\x20storing\x20as\x20pending\x20hook','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','testFrameworkName','forEach','KEY_TEST_NAME','KEY_TEST_FAILURE','TEST','toISOString','pop','hookType','hook_result','DEFAULT_HOOK_RESULT','getId','xVErn','failed',',\x20failureType=','afterAll','removePendingHooks','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','test_run_uuid','ceil','logCreatedEvent',',\x20hooksListLength=','scope','gKhxB','_ALL','KEY_TEST_LOGS','KEY_TEST_FILE_PATH','MGOfQ','RRoZv','\x20-\x20testId:\x20',',\x20payload:\x20','\x20(testIdentifier),\x20tags=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','trackJestInstance','skipped','get','KEY_HOOKS_STARTED','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','KEY_TEST_STARTED_AT','KEY_TEST_FRAMEWORK_VERSION','1419948VXMRUR','isJestInternalHook','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','CQMDV','../../../helpers/helper.js','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','resolveInstance',',\x20hookState:\x20','ePKCV',',\x20contextId=','getPendingHooks','iJvMg','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','Processing\x20','\x20-\x20test_identifier=','testId','znhpS','\x20files','status','YfiQf','getActiveHook','originalTest',',\x20hook=','DnLkN',',\x20state:\x20','sendLogCreatedEvent','CoVCs','retryOf','KEY_TEST_RESULT_AT','substring','hook_type','event_ended_at','slice','../cliUtils.js','euVuG','KEY_HOOK_RESULT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','MKFPZ','map',',\x20hookType=','rhvbU',',\x20hookId=','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','844410OEblKV','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','getCurrentHookState','length','\x20for\x20testId:\x20','KEY_TEST_SCOPES','AwfQt','parse','RQBnf','getTestFrameworksVersions','ewZfN','SezBl','apply','KEY_TEST_UUID','getTrackedInstance',',\x20hookState=','hook_id',',\x20response=','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','matchHookRegex','EHCCD','getFileName','getThreadId','none','\x20logs\x20for\x20testId:\x20','getJestTestName','2408048TLISGr',',\x20testId=','test',',\x20hookUUID=','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','kind','includes','finished_at','KEY_TEST_ID','rfVpq',',\x20scopes=','KEY_LOGS',',\x20currentTestId:\x20','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','file_name','rWycV','478982hHEtcQ','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','args','scopes','\x20attachments','LBBdH','split','parallelIndex','pCZaf','KEY_TEST_DURATION','setTrackedInstance','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','filter','skip',',\x20filePath:\x20','name','ervgG','beforeAll',',\x20duration=','\x20hook',',\x20totalBatches:\x20',',\x20hookData=','testData','Aapot','trackEvent','getHooksForTest',',\x20state=','passed','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','KABpo','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','JqbFK','POST','executionContext','KEY_HOOK_LOGS','fdNfq',',\x20exception=',',\x20error:\x20','hookState','wxOSi','title','KEY_AUTOMATE_SESSION_NAME',',\x20filePath=','error','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','nPFcH','getAllData','startsWith','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','hasPendingHooks','getRootParentFile','toUpperCase','trackHookEvent','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','file','started_at','getRef','getJestFailureData','YtaHV','toString','type','Unknown\x20error','AssertionError','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','VSAbh','TljQg',',\x20totalLogs:\x20','cccLX','hooks','JestTestFramework','missing','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','aJtoG','220xEcrrA','KEY_TEST_RERUN_NAME',',\x20logsInBatch:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','\x20pending\x20hooks\x20for\x20testId:\x20','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','getJestTestFilePath','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','lAwsb','replace','createContext','UnhandledError','\x20(testIdentifier)','KEY_TEST_RESULT','boBXW','hookAnalyticsId','tags','eOQgK','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','cXLYF','TFGdH','Unknown\x20Test','VbqkT','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','rXWzV','activeHooks','../grpcClient','Exusl','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','mapTestHooks','\x22\x20hook','filePath','KEY_EVENT_ENDED_AT','instance',',\x20platformIndex:\x20','set','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','unknown','KEY_TEST_FAILURE_REASON',',\x20failureReason=','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','test_run_id','splice','../../../helpers/test-observability/utils','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','BLYOy',',\x20scope:\x20','ziOdS','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','getProcessId','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','location','PPdPu','EDInB','../state/testFrameworkState.js','duration','KEY_HOOK_FAILURE','qbGPt','\x20to\x20',',\x20totalHooks=','CIvQX','has','Kjuvz','LaVqW','AHJya','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','hook_run_uuid','\x22\x20from\x20testData',',\x20messageLength=','test_identifier','ZAjzW','getTestFrameworks','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','createTestFrameworkEventPayload','getAllPendingHookTestIds','MwVru','find','parent','zAGsE','depth','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20',',\x20remainingHooks=','endedAt','runHooks','ALL','TEST_SCREENSHOT','startedAt','EKGCz','6764APRUAT',',\x20updates=','push','1qTpWnR','UTaxx','from','KEY_TEST_CODE','util','oOAoU','getContext','maxArrayLength',':testAnalyticsId'];a71_0x25c6=function(){return _0x5bfda8;};return a71_0x25c6();}class JestTestFramework extends TestFramework{constructor(_0x3c23b8,_0x256421,_0x390910){const _0x4cca3f=a71_0x4cfaa1;super(_0x3c23b8,_0x256421,_0x390910),this[_0x4cca3f(0x28c)]=new Map();}['setActiveHook'](_0x5e411b,_0x37fe1c,_0x298101){const _0x1b622c=a71_0x4cfaa1,_0x5b80e8={};_0x5b80e8['SezBl']=function(_0x3bfef1,_0x1c2444){return _0x3bfef1||_0x1c2444;};const _0x3bbebd=_0x5b80e8;if(_0x3bbebd[_0x1b622c(0x205)](!_0x5e411b,!_0x37fe1c)){logger[_0x1b622c(0x2f6)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x5e411b+_0x1b622c(0x218)+_0x37fe1c);return;}!this[_0x1b622c(0x28c)]['has'](_0x5e411b)&&this[_0x1b622c(0x28c)][_0x1b622c(0x296)](_0x5e411b,[]);const _0x5d4168={'hookUUID':_0x37fe1c,'hookType':_0x298101,'startedAt':new Date()[_0x1b622c(0x1ac)]()};this['activeHooks'][_0x1b622c(0x1ca)](_0x5e411b)[_0x1b622c(0x2cd)](_0x5d4168),logger[_0x1b622c(0x301)](_0x1b622c(0x29f)+_0x5e411b+_0x1b622c(0x218)+_0x37fe1c+_0x1b622c(0x1f6)+_0x298101+_0x1b622c(0x2ae)+this['activeHooks'][_0x1b622c(0x1ca)](_0x5e411b)[_0x1b622c(0x1fd)]);}[a71_0x4cfaa1(0x19b)](_0x49fb92,_0x212335){const _0x4de739=a71_0x4cfaa1,_0x105ec7={};_0x105ec7[_0x4de739(0x2b9)]=function(_0x345720,_0x2944ea){return _0x345720||_0x2944ea;},_0x105ec7[_0x4de739(0x28b)]=function(_0x1a91fa,_0x555615){return _0x1a91fa!==_0x555615;},_0x105ec7[_0x4de739(0x2cf)]=function(_0x33d792,_0x318211){return _0x33d792===_0x318211;};const _0x14a8ff=_0x105ec7;if(_0x14a8ff[_0x4de739(0x2b9)](!_0x49fb92,!_0x212335)){logger[_0x4de739(0x2f6)](_0x4de739(0x223)+_0x49fb92+',\x20hookUUID='+_0x212335);return;}if(this['activeHooks']['has'](_0x49fb92)){const _0x1b187f=this[_0x4de739(0x28c)]['get'](_0x49fb92),_0x30a434=_0x1b187f['findIndex'](_0x478b74=>_0x478b74[_0x4de739(0x30d)]===_0x212335);_0x14a8ff[_0x4de739(0x28b)](_0x30a434,-0x1)?(_0x1b187f[_0x4de739(0x29d)](_0x30a434,0x1),logger[_0x4de739(0x301)](_0x4de739(0x27a)+_0x49fb92+_0x4de739(0x218)+_0x212335+_0x4de739(0x2c4)+_0x1b187f[_0x4de739(0x1fd)]),_0x14a8ff[_0x4de739(0x2cf)](_0x1b187f[_0x4de739(0x1fd)],0x0)&&this['activeHooks'][_0x4de739(0x2db)](_0x49fb92)):logger[_0x4de739(0x301)](_0x4de739(0x1f9)+_0x49fb92+_0x4de739(0x218)+_0x212335);}}[a71_0x4cfaa1(0x1e3)](_0x5830e5){const _0x43f6dc=a71_0x4cfaa1,_0x1eb533={};_0x1eb533[_0x43f6dc(0x1e6)]=function(_0x58dccb,_0x598d18){return _0x58dccb>_0x598d18;},_0x1eb533[_0x43f6dc(0x23e)]=function(_0x4872e1,_0x408976){return _0x4872e1-_0x408976;};const _0x561a36=_0x1eb533;if(!_0x5830e5)return null;if(this[_0x43f6dc(0x28c)][_0x43f6dc(0x2b0)](_0x5830e5)){const _0x4cebf8=this['activeHooks'][_0x43f6dc(0x1ca)](_0x5830e5);if(_0x561a36[_0x43f6dc(0x1e6)](_0x4cebf8[_0x43f6dc(0x1fd)],0x0)){const _0x25e3b2=_0x4cebf8[_0x561a36[_0x43f6dc(0x23e)](_0x4cebf8[_0x43f6dc(0x1fd)],0x1)];return logger['debug']('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x5830e5+_0x43f6dc(0x218)+_0x25e3b2[_0x43f6dc(0x30d)]+_0x43f6dc(0x1f6)+_0x25e3b2['hookType']),_0x25e3b2;}}return null;}async['trackEvent'](_0x5cf749,_0x25259b,_0x4ca0d9={}){const _0x56f710=a71_0x4cfaa1,_0x4bb7e4={};_0x4bb7e4[_0x56f710(0x26d)]=_0x56f710(0x2f7),_0x4bb7e4['eOQgK']=function(_0x470a27,_0x50d875){return _0x470a27===_0x50d875;},_0x4bb7e4[_0x56f710(0x244)]=function(_0x3c6696,_0x1ca240){return _0x3c6696||_0x1ca240;},_0x4bb7e4[_0x56f710(0x289)]=_0x56f710(0x1fb),_0x4bb7e4[_0x56f710(0x191)]=function(_0x1cb8e4,_0x9d8b45){return _0x1cb8e4===_0x9d8b45;};const _0x43184f=_0x4bb7e4;logger[_0x56f710(0x301)](_0x56f710(0x285)+_0x5cf749+_0x56f710(0x209)+_0x25259b+',\x20argsKeys='+Object[_0x56f710(0x30f)](_0x4ca0d9)[_0x56f710(0x2e5)](',')),await super[_0x56f710(0x23f)](_0x5cf749,_0x25259b,_0x4ca0d9);const _0x206805=this['resolveInstance'](_0x5cf749,_0x25259b,_0x4ca0d9);if(!_0x206805){logger[_0x56f710(0x301)](_0x43184f[_0x56f710(0x26d)]);return;}try{let _0x9071db,_0x26153c,_0x484b70;switch(_0x5cf749){case TestFrameworkState[_0x56f710(0x1ab)]:_0x9071db=_0x4ca0d9[_0x56f710(0x217)];const _0x5769c0={};_0x5769c0['depth']=0x2,_0x5769c0[_0x56f710(0x2d5)]=0x3,logger[_0x56f710(0x301)](_0x56f710(0x18c)+_0x25259b+_0x56f710(0x318)+util[_0x56f710(0x2e6)](_0x9071db,_0x5769c0)),_0x484b70=this['getJestTestIdentifier'](_0x9071db),_0x26153c=null,logger[_0x56f710(0x301)](_0x56f710(0x29b)+_0x484b70+_0x56f710(0x27f));if(_0x43184f[_0x56f710(0x284)](_0x25259b,HookState['PRE'])){logger['debug'](_0x56f710(0x19a)+_0x484b70);const _0x38aa96={};_0x38aa96[_0x56f710(0x317)]=_0x26153c,_0x38aa96[_0x56f710(0x23d)]=_0x9071db,_0x38aa96[_0x56f710(0x1de)]=_0x484b70;const _0x6427a2=this[_0x56f710(0x2dd)](_0x38aa96),_0x406f8c={};_0x406f8c['depth']=0x2,_0x406f8c['maxArrayLength']=0x3,logger[_0x56f710(0x301)](_0x56f710(0x269)+util[_0x56f710(0x2e6)](_0x6427a2,_0x406f8c)),_0x206805[_0x56f710(0x306)](_0x6427a2),logger[_0x56f710(0x301)](_0x56f710(0x2c3)+_0x484b70),await this[_0x56f710(0x2f8)](_0x206805,_0x484b70);}else{if(_0x43184f[_0x56f710(0x284)](_0x25259b,HookState['POST'])){logger[_0x56f710(0x301)](_0x56f710(0x25d)+_0x484b70);const _0x3e7ee3=_0x206805[_0x56f710(0x255)]()['get'](_0x484b70);logger[_0x56f710(0x301)](_0x56f710(0x1f3)+util[_0x56f710(0x2e6)](Object[_0x56f710(0x30f)](_0x43184f['KABpo'](_0x3e7ee3,{}))));_0x3e7ee3&&_0x3e7ee3[TestFrameworkConstants[_0x56f710(0x194)]]?logger[_0x56f710(0x301)](_0x56f710(0x276)+Object[_0x56f710(0x30f)](_0x3e7ee3[TestFrameworkConstants[_0x56f710(0x194)]])[_0x56f710(0x1fd)]+_0x56f710(0x1e0)):logger[_0x56f710(0x301)](_0x43184f['VbqkT']);const _0x1ade44=_0x4ca0d9[_0x56f710(0x1e4)]||null,_0x409902={};_0x409902[_0x56f710(0x317)]=_0x26153c,_0x409902[_0x56f710(0x23d)]=_0x9071db,_0x409902[_0x56f710(0x1de)]=_0x484b70,_0x409902[_0x56f710(0x1e4)]=_0x1ade44;const _0x5d19a3=this[_0x56f710(0x190)](_0x409902),_0x5bb952={};_0x5bb952[_0x56f710(0x2c2)]=0x2,_0x5bb952[_0x56f710(0x2d5)]=0x3,logger[_0x56f710(0x301)](_0x56f710(0x253)+util[_0x56f710(0x2e6)](_0x5d19a3,_0x5bb952)),_0x206805['addMultipleEntries'](_0x5d19a3),logger[_0x56f710(0x301)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x484b70),await this[_0x56f710(0x2f8)](_0x206805,_0x484b70);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x43184f[_0x56f710(0x191)](_0x25259b,HookState[_0x56f710(0x247)])){const _0x27c219={};_0x27c219[_0x56f710(0x2c2)]=0x2,logger['debug']('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0x56f710(0x2e6)](_0x4ca0d9,_0x27c219)),await this[_0x56f710(0x1e8)](_0x206805,_0x5cf749,_0x4ca0d9);}break;default:if(CLIUtils[_0x56f710(0x20e)](_0x5cf749[_0x56f710(0x265)]()[_0x56f710(0x22c)]('.')[0x1])){const _0x5c181d={};_0x5c181d[_0x56f710(0x2c2)]=0x2,_0x5c181d[_0x56f710(0x2d5)]=0x3,logger[_0x56f710(0x301)](_0x56f710(0x1b7)+_0x5cf749+_0x56f710(0x209)+_0x25259b+_0x56f710(0x23c)+util[_0x56f710(0x2e6)](_0x4ca0d9[_0x56f710(0x30c)],_0x5c181d));const _0x1c677b=await this['trackHookEvent'](_0x206805,_0x5cf749,_0x25259b,_0x4ca0d9),_0x1af7e5={};_0x1af7e5[_0x56f710(0x2c2)]=0x2,_0x1af7e5[_0x56f710(0x2d5)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x56f710(0x2e6)](_0x1c677b,_0x1af7e5)),_0x206805[_0x56f710(0x306)](_0x1c677b);}else logger[_0x56f710(0x301)](_0x56f710(0x1d1)+_0x5cf749+_0x56f710(0x19d)+_0x25259b);break;}logger[_0x56f710(0x301)]('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x5cf749+_0x56f710(0x209)+_0x25259b);}catch(_0x3be63c){logger[_0x56f710(0x252)]('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x5cf749+_0x56f710(0x209)+_0x25259b+_0x56f710(0x24b)+util[_0x56f710(0x2e0)](_0x3be63c));}_0x4ca0d9[_0x56f710(0x294)]=_0x206805,await this[_0x56f710(0x2c6)](_0x206805,_0x5cf749,_0x25259b,_0x4ca0d9);}[a71_0x4cfaa1(0x2f3)](_0x2296cf){const _0x335b01=a71_0x4cfaa1,_0x215930={};_0x215930[_0x335b01(0x1f4)]=_0x335b01(0x278);const _0x3bc9ba=_0x215930;if(_0x2296cf&&(_0x2296cf['id']||_0x2296cf['uuid'])){const _0x521f37=_0x2296cf['id']||_0x2296cf[_0x335b01(0x2ef)];return logger['debug'](_0x335b01(0x25e)+_0x521f37+_0x335b01(0x2b6)),_0x521f37;}return logger[_0x335b01(0x301)](_0x3bc9ba[_0x335b01(0x1f4)]),process['pid']+_0x335b01(0x2d6);}[a71_0x4cfaa1(0x1d5)](_0x265749,_0x215be0,_0x15d521={}){const _0x3306ae=a71_0x4cfaa1;let _0x3c1f7f=null;return _0x3c1f7f=TestFramework['getTrackedInstance'](),!_0x3c1f7f?(logger['debug']('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x265749),this[_0x3306ae(0x1c8)](_0x265749,_0x15d521),_0x3c1f7f=TestFramework['getTrackedInstance'](),logger['debug'](_0x3306ae(0x2f0)+!!_0x3c1f7f+_0x3306ae(0x1d8)+_0x3c1f7f?.[_0x3306ae(0x2d4)]()?.[_0x3306ae(0x1b1)]())):logger[_0x3306ae(0x301)](_0x3306ae(0x2bb)+_0x3c1f7f[_0x3306ae(0x2d4)]()?.[_0x3306ae(0x1b1)]()),_0x3c1f7f;}['trackJestInstance'](_0x2299c7,_0x22bae4){const _0x24dc23=a71_0x4cfaa1,_0x597c4e={};_0x597c4e[_0x24dc23(0x2b3)]=_0x24dc23(0x2fc);const _0x253240=_0x597c4e;if(TestFramework[_0x24dc23(0x208)]()){logger['debug'](_0x253240[_0x24dc23(0x2b3)]);return;}const _0x335d6b=CLIUtils['getCurrentInstanceName'](),_0x1a6912=TrackedInstance[_0x24dc23(0x27d)](_0x335d6b);let _0x3a55c2=null;logger['debug']('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x335d6b+_0x24dc23(0x241)+_0x2299c7),_0x3a55c2=new TestFrameworkInstance(_0x1a6912,this['getTestFrameworks'](),this[_0x24dc23(0x203)](),_0x2299c7,HookState['NONE']),TestFramework[_0x24dc23(0x230)](_0x1a6912,_0x3a55c2),logger[_0x24dc23(0x301)](_0x24dc23(0x2df)+_0x1a6912[_0x24dc23(0x1b1)]()+_0x24dc23(0x30b)+_0x335d6b+',\x20testFramework='+this['getTestFrameworks']()[0x0]+',\x20version='+this['getTestFrameworksVersions']()[this[_0x24dc23(0x2ba)]()[0x0]]);}[a71_0x4cfaa1(0x2dd)](_0x52c203){const _0xab9ada=a71_0x4cfaa1,_0x2b4bba={};_0x2b4bba[_0xab9ada(0x2a2)]=function(_0x56854e,_0x323a89){return _0x56854e||_0x323a89;},_0x2b4bba[_0xab9ada(0x19f)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x49e21c=_0x2b4bba,{testUUID:_0x2aaf54,testData:_0x4e780f,testId:_0x5b2339}=_0x52c203;if(_0x49e21c[_0xab9ada(0x2a2)](!_0x4e780f,!_0x5b2339))return logger[_0xab9ada(0x301)](_0x49e21c['OHRDh']),{};const _0x4e15e1=this[_0xab9ada(0x2ba)]()[0x0],_0x38d478=this['getTestFrameworksVersions'](),_0x57fa6d={};_0x57fa6d[_0xab9ada(0x2c2)]=0x2,_0x57fa6d[_0xab9ada(0x2d5)]=0x3,logger['debug'](_0xab9ada(0x1d4)+util[_0xab9ada(0x2e6)](_0x4e780f,_0x57fa6d));const _0xe8e0e2=_0x4e780f?.[_0xab9ada(0x229)]||[],_0x30da0e=this[_0xab9ada(0x214)](_0x4e780f),_0x469dc2=this[_0xab9ada(0x279)](_0x4e780f),_0x204d6f=_0x4e780f['fn']?_0x4e780f['fn'][_0xab9ada(0x265)]():null,_0x21bb76=this[_0xab9ada(0x2e3)](_0x4e780f),_0x18a811={[TestFrameworkConstants[_0xab9ada(0x20d)]]:_0x4e15e1,[TestFrameworkConstants[_0xab9ada(0x1ce)]]:_0x38d478[_0x4e15e1],[TestFrameworkConstants[_0xab9ada(0x1c0)]]:[],[TestFrameworkConstants[_0xab9ada(0x18d)]]:{},[TestFrameworkConstants[_0xab9ada(0x1cb)]]:{},[TestFrameworkConstants[_0xab9ada(0x280)]]:TestFrameworkConstants[_0xab9ada(0x30a)],[TestFrameworkConstants[_0xab9ada(0x250)]]:_0x30da0e,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x469dc2,[TestFrameworkConstants[_0xab9ada(0x21e)]]:_0x5b2339,[TestFrameworkConstants[_0xab9ada(0x1a9)]]:_0x30da0e,[TestFrameworkConstants[_0xab9ada(0x31a)]]:_0x469dc2,[TestFrameworkConstants[_0xab9ada(0x2d1)]]:_0x204d6f,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x21bb76,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4e780f[_0xab9ada(0x261)]||new Date()['toISOString'](),[TestFrameworkConstants[_0xab9ada(0x2fa)]]:_0xe8e0e2[0x0]||'',[TestFrameworkConstants[_0xab9ada(0x1ff)]]:_0xe8e0e2,[TestFrameworkConstants[_0xab9ada(0x274)]]:_0x30da0e,[TestFrameworkConstants[_0xab9ada(0x312)]]:{},[TestFrameworkConstants[_0xab9ada(0x313)]]:{}};_0x4e780f[_0xab9ada(0x1ea)]&&(_0x18a811[TestFrameworkConstants[_0xab9ada(0x196)]]=_0x4e780f['retryOf']);logger[_0xab9ada(0x301)](_0xab9ada(0x219)+_0x30da0e+',\x20testId='+_0x5b2339+_0xab9ada(0x1c6)+JSON[_0xab9ada(0x2fb)](_0x21bb76)+_0xab9ada(0x220)+util[_0xab9ada(0x2e6)](_0xe8e0e2)+_0xab9ada(0x251)+_0x469dc2);const _0x35c8ea={};return _0x35c8ea[_0x5b2339]=_0x18a811,_0x35c8ea;}['parseJestTestResult'](_0x2a2b4b){const _0x5ebd7f=a71_0x4cfaa1,_0x2e1b9e={'rhibI':function(_0x2c6c62,_0x299134){return _0x2c6c62===_0x299134;},'aJtoG':_0x5ebd7f(0x1b5),'AxjkF':'beforeAll','CQMDV':_0x5ebd7f(0x2c7),'uAlkv':_0x5ebd7f(0x1bf),'yNzTj':function(_0x1158fb,_0x254127){return _0x1158fb||_0x254127;},'olyUB':_0x5ebd7f(0x243),'zLkkF':_0x5ebd7f(0x298),'Kjuvz':function(_0x5bb945,_0x1e68b9){return _0x5bb945>_0x1e68b9;},'LBBdH':'failed','rhvbU':function(_0x484ba6,_0x1a60d6){return _0x484ba6===_0x1a60d6;},'cXLYF':_0x5ebd7f(0x234),'fVygQ':function(_0x5f4f3d,_0x52153b){return _0x5f4f3d===_0x52153b;},'lAwsb':_0x5ebd7f(0x1c9),'lHrPu':_0x5ebd7f(0x242),'WRSRi':function(_0x436944,_0x4c1b92){return _0x436944===_0x4c1b92;},'Hlmbd':function(_0x4205c2,_0x4e9fcd){return _0x4205c2!==_0x4e9fcd;},'TFGdH':function(_0x1c2964,_0xb4b3b4,_0x206ca8,_0x11fbb2){return _0x1c2964(_0xb4b3b4,_0x206ca8,_0x11fbb2);},'TljQg':function(_0x274366,_0x1e8d37){return _0x274366>_0x1e8d37;},'ervgG':function(_0x5cf810,_0x37a4bc){return _0x5cf810>_0x37a4bc;},'VSAbh':_0x5ebd7f(0x1b8),'EKGCz':function(_0x4782dd,_0xf2add6){return _0x4782dd===_0xf2add6;}},{testUUID:_0x521d1d,testData:_0x10d95a,testId:_0x4f69a9}=_0x2a2b4b;if(_0x2e1b9e[_0x5ebd7f(0x2e4)](!_0x10d95a,!_0x4f69a9))return logger['debug'](_0x2e1b9e['olyUB']),{};const _0xbea0d1=this[_0x5ebd7f(0x1d5)](TestFrameworkState[_0x5ebd7f(0x1ab)],HookState['POST']),_0x252f84=_0xbea0d1[_0x5ebd7f(0x255)]()[_0x5ebd7f(0x1ca)](_0x4f69a9),_0x319b7c=_0x2e1b9e[_0x5ebd7f(0x2e4)](_0x252f84,{}),_0x35fee2=_0x319b7c?_0x319b7c[TestFrameworkConstants[_0x5ebd7f(0x312)]]||{}:{},_0xd202fb=_0x319b7c[TestFrameworkConstants[_0x5ebd7f(0x194)]];logger[_0x5ebd7f(0x301)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0xd202fb?Object[_0x5ebd7f(0x30f)](_0xd202fb)[_0x5ebd7f(0x1fd)]:0x0)+_0x5ebd7f(0x22a));let _0x3fe370=_0x2e1b9e['zLkkF'];if(_0x10d95a[_0x5ebd7f(0x2f9)])_0x3fe370=_0x10d95a['result'];else{if(_0x10d95a['errorsDetailed']&&_0x2e1b9e['Kjuvz'](_0x10d95a[_0x5ebd7f(0x193)][_0x5ebd7f(0x1fd)],0x0))_0x3fe370=_0x2e1b9e[_0x5ebd7f(0x22b)];else _0x2e1b9e[_0x5ebd7f(0x1f7)](_0x10d95a[_0x5ebd7f(0x1e1)],_0x2e1b9e[_0x5ebd7f(0x286)])||_0x2e1b9e[_0x5ebd7f(0x309)](_0x10d95a[_0x5ebd7f(0x1e1)],_0x2e1b9e[_0x5ebd7f(0x27b)])?_0x3fe370=_0x2e1b9e[_0x5ebd7f(0x27b)]:_0x3fe370=_0x2e1b9e['lHrPu'];}const _0x2926f4={..._0x319b7c,[TestFrameworkConstants[_0x5ebd7f(0x280)]]:_0x3fe370,[TestFrameworkConstants[_0x5ebd7f(0x308)]]:_0x10d95a[_0x5ebd7f(0x21d)]||new Date()[_0x5ebd7f(0x1ac)](),[TestFrameworkConstants[_0x5ebd7f(0x1eb)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x35fee2,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x2e1b9e[_0x5ebd7f(0x2e9)](_0x3fe370,_0x2e1b9e[_0x5ebd7f(0x22b)])&&_0x10d95a[_0x5ebd7f(0x193)]){const _0x48b5f5=this[_0x5ebd7f(0x1a3)](_0x10d95a),_0x5984f7=this[_0x5ebd7f(0x316)](_0x10d95a),_0x58b0b8=this[_0x5ebd7f(0x263)](_0x10d95a);_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x300)]]=_0x5984f7,_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x299)]]=_0x48b5f5,_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x1aa)]]=_0x58b0b8;}_0x2e1b9e[_0x5ebd7f(0x315)](_0x10d95a[_0x5ebd7f(0x2aa)],undefined)&&(_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x22f)]]=_0x10d95a[_0x5ebd7f(0x2aa)]);_0x10d95a[_0x5ebd7f(0x1ea)]&&(_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x196)]]=_0x10d95a['retryOf']);const _0x53823e=_0x252f84?_0x252f84[TestFrameworkConstants[_0x5ebd7f(0x194)]]||{}:{},_0x5ca3b0=_0x252f84?_0x252f84[TestFrameworkConstants[_0x5ebd7f(0x207)]]:_0x521d1d,_0x68cfb0=_0x2e1b9e[_0x5ebd7f(0x287)](getManualUploadLogs,_0x53823e,_0x5ca3b0,_0x4f69a9);if(_0x2e1b9e[_0x5ebd7f(0x26b)](_0x68cfb0[_0x5ebd7f(0x1fd)],0x0)){const _0x59277c=_0x2926f4[TestFrameworkConstants['KEY_LOGS']]||[];_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x221)]]=[..._0x59277c,..._0x68cfb0];}const _0x5dc839=_0x319b7c[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x10b047=_0x319b7c[TestFrameworkConstants[_0x5ebd7f(0x1cb)]]||{},_0x3fb72f={..._0x5dc839},_0x10aedd=_0x3fb72f;Object[_0x5ebd7f(0x30f)](_0x10b047)[_0x5ebd7f(0x1a8)](_0x357096=>{const _0x3567ea=_0x5ebd7f;!_0x10aedd[_0x357096]&&(_0x10aedd[_0x357096]=[]);const _0x52a779=new Set((_0x10aedd[_0x357096]||[])[_0x3567ea(0x1f5)](_0x5d936f=>_0x5d936f[TestFrameworkConstants[_0x3567ea(0x2e1)]]||_0x5d936f[_0x3567ea(0x20a)]));(_0x10b047[_0x357096]||[])[_0x3567ea(0x1a8)](_0x25c56e=>{const _0x3c3510=_0x3567ea,_0x2552d2=_0x25c56e[TestFrameworkConstants[_0x3c3510(0x2e1)]]||_0x25c56e['hook_id'];if(!_0x52a779[_0x3c3510(0x2b0)](_0x2552d2)){const _0x426d39={..._0x25c56e},_0x3ba309=_0x426d39;!_0x3ba309[TestFrameworkConstants[_0x3c3510(0x293)]]&&!_0x3ba309[_0x3c3510(0x1ee)]&&(_0x3ba309[TestFrameworkConstants[_0x3c3510(0x293)]]=new Date()[_0x3c3510(0x1ac)]()),!_0x3ba309[TestFrameworkConstants[_0x3c3510(0x1f2)]]&&!_0x3ba309[_0x3c3510(0x1af)]&&(_0x3ba309[TestFrameworkConstants[_0x3c3510(0x1f2)]]=TestFrameworkConstants[_0x3c3510(0x1b0)]),_0x10aedd[_0x357096][_0x3c3510(0x2cd)](_0x3ba309);}});});if(_0x2a2b4b[_0x5ebd7f(0x1e4)]){this[_0x5ebd7f(0x290)](_0x2a2b4b[_0x5ebd7f(0x1e4)]);const _0x54f1d9=this[_0x5ebd7f(0x18a)](_0x2a2b4b[_0x5ebd7f(0x1e4)]),_0x519b8b=this['getHooksForTest'](_0x2a2b4b[_0x5ebd7f(0x1e4)]);_0x519b8b[_0x5ebd7f(0x1a8)](_0x53dcf8=>{const _0x1c74f0=_0x5ebd7f,_0x5bc897=_0x54f1d9[_0x1c74f0(0x1ca)](_0x53dcf8);if(_0x5bc897&&(_0x2e1b9e[_0x1c74f0(0x2ee)](_0x5bc897[_0x1c74f0(0x266)],_0x2e1b9e[_0x1c74f0(0x272)])||_0x2e1b9e[_0x1c74f0(0x2ee)](_0x5bc897[_0x1c74f0(0x266)],_0x2e1b9e['AxjkF']))){const _0x328946=_0x5bc897[_0x1c74f0(0x266)][_0x1c74f0(0x25a)]()[_0x1c74f0(0x27c)](_0x2e1b9e[_0x1c74f0(0x1d2)],_0x2e1b9e[_0x1c74f0(0x2f2)]),_0x500059=_0x328946;!_0x10aedd[_0x500059]&&(_0x10aedd[_0x500059]=[]);const _0x3bef0c=_0x10aedd[_0x500059][_0x1c74f0(0x2bf)](_0x28b4de=>(_0x28b4de[TestFrameworkConstants['KEY_HOOK_ID']]||_0x28b4de['hook_id'])===_0x53dcf8);!_0x3bef0c&&_0x10aedd[_0x500059][_0x1c74f0(0x2cd)]({'key':_0x500059,[TestFrameworkConstants[_0x1c74f0(0x2e1)]]:_0x53dcf8,[TestFrameworkConstants[_0x1c74f0(0x1f2)]]:TestFrameworkConstants[_0x1c74f0(0x1b0)],[TestFrameworkConstants[_0x1c74f0(0x19e)]]:new Date()[_0x1c74f0(0x1ac)](),[TestFrameworkConstants[_0x1c74f0(0x293)]]:new Date()[_0x1c74f0(0x1ac)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x1c74f0(0x310)]]:_0x5bc897[_0x1c74f0(0x236)]||_0x5bc897[_0x1c74f0(0x266)]+_0x1c74f0(0x23a),[TestFrameworkConstants[_0x1c74f0(0x312)]]:_0x35fee2});}});}if(_0x10d95a['hooks']&&_0x2e1b9e[_0x5ebd7f(0x237)](_0x10d95a[_0x5ebd7f(0x26e)][_0x5ebd7f(0x1fd)],0x0))_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x18d)]]=_0x10d95a[_0x5ebd7f(0x26e)],logger[_0x5ebd7f(0x301)](_0x2e1b9e[_0x5ebd7f(0x26a)]);else _0x2e1b9e[_0x5ebd7f(0x2b1)](Object[_0x5ebd7f(0x30f)](_0x10aedd)['length'],0x0)&&(_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x18d)]]=_0x10aedd,logger[_0x5ebd7f(0x301)](_0x5ebd7f(0x231)+Object['keys'](_0x10aedd)[_0x5ebd7f(0x2e5)](',')));const _0x3a1cad=this[_0x5ebd7f(0x214)](_0x10d95a);logger[_0x5ebd7f(0x301)](_0x5ebd7f(0x25f)+_0x3a1cad+',\x20testId='+_0x4f69a9+'\x20(testIdentifier),\x20result='+_0x3fe370+_0x5ebd7f(0x239)+_0x10d95a[_0x5ebd7f(0x2aa)]);_0x2e1b9e[_0x5ebd7f(0x2ca)](_0x3fe370,_0x2e1b9e[_0x5ebd7f(0x22b)])&&logger[_0x5ebd7f(0x301)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x4f69a9+_0x5ebd7f(0x1b4)+_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x300)]]+_0x5ebd7f(0x29a)+_0x2926f4[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]?.[_0x5ebd7f(0x1ec)](0x0,0xc8));const _0x338a2f={};return _0x338a2f[_0x4f69a9]=_0x2926f4,_0x338a2f;}['getJestTestScopes'](_0x1122e7){const _0x395368=a71_0x4cfaa1,_0x2c7dd9={};_0x2c7dd9['boBXW']=function(_0x4c9693,_0x5632bf){return _0x4c9693!==_0x5632bf;},_0x2c7dd9[_0x395368(0x2ac)]='ROOT_DESCRIBE_BLOCK';const _0x4ffad4=_0x2c7dd9,_0x3eb22e={};_0x3eb22e[_0x395368(0x2c2)]=0x2,_0x3eb22e[_0x395368(0x2d5)]=0x3,logger[_0x395368(0x301)](_0x395368(0x2da)+util[_0x395368(0x2e6)](_0x1122e7,_0x3eb22e));const _0x3829f4=[];if(_0x1122e7&&_0x1122e7['parent']){let _0x197f16=_0x1122e7[_0x395368(0x2c0)];while(_0x197f16&&_0x197f16['name']&&_0x4ffad4['boBXW'](_0x197f16[_0x395368(0x236)],'')&&_0x4ffad4[_0x395368(0x281)](_0x197f16[_0x395368(0x236)],_0x4ffad4[_0x395368(0x2ac)])){_0x3829f4[_0x395368(0x2cd)](_0x197f16['name']),_0x197f16=_0x197f16[_0x395368(0x2c0)];}}return _0x3829f4[_0x395368(0x1a1)]();}['getJestTestName'](_0x37bd6e){const _0x36348c=a71_0x4cfaa1,_0x536722={};_0x536722[_0x36348c(0x1be)]=_0x36348c(0x288);const _0x1b70dc=_0x536722;if(_0x37bd6e[_0x36348c(0x236)])return _0x37bd6e['name'];if(_0x37bd6e[_0x36348c(0x24f)])return _0x37bd6e[_0x36348c(0x24f)];return _0x1b70dc[_0x36348c(0x1be)];}[a71_0x4cfaa1(0x2e3)](_0x258cce){const _0x30b7e8=a71_0x4cfaa1,_0x2823cd=[];if(_0x258cce['tags']&&Array[_0x30b7e8(0x2ec)](_0x258cce['tags']))return _0x258cce[_0x30b7e8(0x283)][_0x30b7e8(0x1f5)](_0x4d2698=>_0x4d2698[_0x30b7e8(0x256)]('@')?_0x4d2698[_0x30b7e8(0x2d8)](0x1):_0x4d2698);const _0x419875=this[_0x30b7e8(0x214)](_0x258cce),_0x30b021=_0x419875['match'](/@(\w+)/g);if(_0x30b021)return _0x30b021[_0x30b7e8(0x1f5)](_0x4db38f=>_0x4db38f['slice'](0x1));return _0x258cce[_0x30b7e8(0x229)]&&Array['isArray'](_0x258cce[_0x30b7e8(0x229)])&&_0x258cce[_0x30b7e8(0x229)][_0x30b7e8(0x1a8)](_0x374d56=>{const _0x1bee4c=_0x30b7e8,_0x3be672=_0x374d56[_0x1bee4c(0x1a2)](/@(\w+)/g);_0x3be672&&_0x3be672[_0x1bee4c(0x1a8)](_0x21ba8a=>{const _0x1b8209=_0x1bee4c,_0x12b949=_0x21ba8a['slice'](0x1);!_0x2823cd['includes'](_0x12b949)&&_0x2823cd[_0x1b8209(0x2cd)](_0x12b949);});}),_0x2823cd;}[a71_0x4cfaa1(0x279)](_0x40e823){const _0x49507f=a71_0x4cfaa1,_0x54c120={'PeaCn':function(_0x59aeb6,_0x464069){return _0x59aeb6(_0x464069);},'rfVpq':'stack-trace'};if(_0x40e823['file_name'])return _0x40e823['file_name'];if(_0x40e823['asyncError']){const _0x2106c6=_0x54c120[_0x49507f(0x2e7)](require,_0x54c120[_0x49507f(0x21f)]);try{const _0x23bd7a=_0x2106c6[_0x49507f(0x201)](_0x40e823[_0x49507f(0x319)]);if(_0x23bd7a[0x0]&&_0x23bd7a[0x0]['getFileName'])return _0x23bd7a[0x0][_0x49507f(0x210)]();}catch(_0x19cec9){logger[_0x49507f(0x301)](_0x49507f(0x21a)+util[_0x49507f(0x2e0)](_0x19cec9));}}return null;}[a71_0x4cfaa1(0x1a3)](_0x436d7e){const _0x3f0599=a71_0x4cfaa1,_0x33ec7c={};_0x33ec7c[_0x3f0599(0x1e2)]=function(_0x33ee08,_0x57b25e){return _0x33ee08>_0x57b25e;},_0x33ec7c[_0x3f0599(0x225)]=_0x3f0599(0x267);const _0x39171d=_0x33ec7c;if(_0x436d7e[_0x3f0599(0x193)]&&_0x39171d[_0x3f0599(0x1e2)](_0x436d7e[_0x3f0599(0x193)][_0x3f0599(0x1fd)],0x0))return util['inspect'](_0x436d7e[_0x3f0599(0x193)][0x0]);if(_0x436d7e['failure_reason'])return _0x436d7e[_0x3f0599(0x18e)];return _0x39171d[_0x3f0599(0x225)];}[a71_0x4cfaa1(0x316)](_0x12135a){const _0x161ddf=a71_0x4cfaa1,_0x5c0878={};_0x5c0878[_0x161ddf(0x2fd)]='Assert',_0x5c0878[_0x161ddf(0x2d3)]=_0x161ddf(0x268),_0x5c0878[_0x161ddf(0x2b2)]=_0x161ddf(0x27e);const _0x242ce0=_0x5c0878,_0x26e5f7=this[_0x161ddf(0x1a3)](_0x12135a);if(_0x26e5f7&&_0x26e5f7[_0x161ddf(0x21c)](_0x242ce0[_0x161ddf(0x2fd)]))return _0x242ce0[_0x161ddf(0x2d3)];return _0x242ce0[_0x161ddf(0x2b2)];}[a71_0x4cfaa1(0x263)](_0x23b0ef){const _0xeb24c0=a71_0x4cfaa1,_0x3d0a3d={'CIvQX':function(_0x5a2cdc,_0xfc2dc6){return _0x5a2cdc(_0xfc2dc6);},'pCZaf':_0xeb24c0(0x29e),'xVErn':function(_0x430cb0,_0x94fa82){return _0x430cb0!==_0x94fa82;},'AWEjd':_0xeb24c0(0x217)},{failureData:_0xea8983}=_0x3d0a3d[_0xeb24c0(0x2af)](require,_0x3d0a3d[_0xeb24c0(0x22e)]),_0x5246af=[];return _0x3d0a3d[_0xeb24c0(0x1b2)](_0x23b0ef['errorsDetailed'],undefined)&&_0x5246af[_0xeb24c0(0x2cd)](_0x23b0ef['errorsDetailed'],_0x3d0a3d['AWEjd']),_0xea8983[_0xeb24c0(0x206)](null,_0x5246af);}async[a71_0x4cfaa1(0x25b)](_0x532315,_0x4d2d75,_0x56ec0e,_0x2e5cb1){const _0x222f7e=a71_0x4cfaa1,_0x347c77={'iCTGQ':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','MwVru':function(_0x169770){return _0x169770();},'RRoZv':function(_0x145768,_0x2e580d){return _0x145768 in _0x2e580d;},'EDInB':function(_0x30ff0d,_0x4ada8f){return _0x30ff0d===_0x4ada8f;},'BLYOy':function(_0x35f74d,_0x112580){return _0x35f74d===_0x112580;},'WNjrP':function(_0x2e818b,_0x20ae2b){return _0x2e818b>_0x20ae2b;},'znhpS':_0x222f7e(0x1b3),'rMPWO':'passed','VfJLR':function(_0x2c1013,_0x3b1a4a){return _0x2c1013>_0x3b1a4a;},'ewZfN':function(_0x4dd522,_0x8383f1){return _0x4dd522!==_0x8383f1;}},{hookData:_0x12e72a}=_0x2e5cb1,_0x3b90d5=_0x56ec0e[_0x222f7e(0x265)](),_0x112e87=_0x4d2d75['toString'](),_0x107fd4={};_0x107fd4[_0x222f7e(0x2c2)]=0x2,_0x107fd4['maxArrayLength']=0x3,logger['debug'](_0x222f7e(0x199)+_0x112e87+_0x222f7e(0x209)+_0x3b90d5+_0x222f7e(0x23c)+util[_0x222f7e(0x2e6)](_0x12e72a,_0x107fd4));if(!_0x12e72a)return logger[_0x222f7e(0x301)](_0x347c77['iCTGQ']),{};const _0x16d072=_0x12e72a['uuid']||_0x12e72a[_0x222f7e(0x282)]||_0x347c77[_0x222f7e(0x2be)](uuidv4),_0x591c12=_0x12e72a[_0x222f7e(0x29c)]||this[_0x222f7e(0x2f3)](_0x12e72a),_0x57fa73=_0x4d2d75['toString']()[_0x222f7e(0x22c)]('.')[0x1],_0x2dc8fd=_0x532315[_0x222f7e(0x255)]()['get'](_0x591c12),_0x556cbd=_0x2dc8fd?_0x2dc8fd[TestFrameworkConstants[_0x222f7e(0x312)]]||{}:{};logger[_0x222f7e(0x301)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x16d072+_0x222f7e(0x216)+_0x591c12+'\x20(testIdentifier),\x20hookType='+_0x57fa73+_0x222f7e(0x209)+_0x3b90d5);if(!_0x2dc8fd)return logger[_0x222f7e(0x301)](_0x222f7e(0x257)+_0x591c12+_0x222f7e(0x1a5)),this[_0x222f7e(0x2e2)](_0x532315,_0x591c12,_0x4d2d75,_0x56ec0e,_0x2e5cb1),{};let _0x11fcbc=_0x2dc8fd[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x11fcbc&&(_0x11fcbc={});!_0x347c77[_0x222f7e(0x1c3)](_0x57fa73,_0x11fcbc)&&(_0x11fcbc[_0x57fa73]=[]);let _0x2a79dd=_0x2dc8fd[TestFrameworkConstants[_0x222f7e(0x18d)]];!_0x2a79dd&&(_0x2a79dd={});!_0x347c77[_0x222f7e(0x1c3)](_0x57fa73,_0x2a79dd)&&(_0x2a79dd[_0x57fa73]=[]);const _0x441f5e={[TestFrameworkConstants[_0x222f7e(0x1cb)]]:_0x11fcbc,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x2a79dd},_0x4977a7={};_0x4977a7[_0x591c12]=_0x441f5e;const _0x73e4c=_0x4977a7;if(_0x347c77[_0x222f7e(0x2a8)](_0x56ec0e,HookState[_0x222f7e(0x1a4)])){const _0x21d0e7={'key':_0x57fa73,[TestFrameworkConstants[_0x222f7e(0x2e1)]]:_0x16d072,[TestFrameworkConstants[_0x222f7e(0x1f2)]]:TestFrameworkConstants[_0x222f7e(0x1b0)],[TestFrameworkConstants[_0x222f7e(0x19e)]]:_0x12e72a['started_at']||new Date()[_0x222f7e(0x1ac)](),[TestFrameworkConstants[_0x222f7e(0x249)]]:[],[TestFrameworkConstants[_0x222f7e(0x310)]]:_0x12e72a[_0x222f7e(0x236)]||_0x12e72a[_0x222f7e(0x1ed)]||_0x57fa73,[TestFrameworkConstants[_0x222f7e(0x312)]]:_0x556cbd};_0x11fcbc[_0x57fa73][_0x222f7e(0x2cd)](_0x21d0e7),_0x73e4c[_0x591c12][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x57fa73;const _0x5b6a0b={};_0x5b6a0b[_0x222f7e(0x2c2)]=0x2,logger[_0x222f7e(0x301)](_0x222f7e(0x28f)+_0x57fa73+_0x222f7e(0x1f8)+_0x16d072+_0x222f7e(0x216)+_0x591c12+_0x222f7e(0x1e5)+util[_0x222f7e(0x2e6)](_0x21d0e7,_0x5b6a0b));}else{if(_0x347c77[_0x222f7e(0x2a0)](_0x56ec0e,HookState[_0x222f7e(0x247)])){const _0x5a8ff0=_0x12e72a['result']||(_0x12e72a[_0x222f7e(0x193)]&&_0x347c77['WNjrP'](_0x12e72a[_0x222f7e(0x193)][_0x222f7e(0x1fd)],0x0)?_0x347c77[_0x222f7e(0x1df)]:_0x347c77['rMPWO']),_0x3b3ee3=_0x11fcbc[_0x57fa73]||[];logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x57fa73+_0x222f7e(0x216)+_0x591c12+_0x222f7e(0x2ea)+_0x5a8ff0+_0x222f7e(0x1bc)+_0x3b3ee3[_0x222f7e(0x1fd)]);if(_0x347c77['VfJLR'](_0x3b3ee3[_0x222f7e(0x1fd)],0x0)){const _0x367e54=_0x3b3ee3[_0x222f7e(0x1ad)]();_0x347c77[_0x222f7e(0x2a0)](_0x5a8ff0,_0x347c77['znhpS'])&&_0x12e72a['errorsDetailed']?(_0x367e54[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x222f7e(0x316)](_0x12e72a),_0x367e54[TestFrameworkConstants[_0x222f7e(0x311)]]=this[_0x222f7e(0x1a3)](_0x12e72a),_0x367e54[TestFrameworkConstants[_0x222f7e(0x2ab)]]=this[_0x222f7e(0x263)](_0x12e72a),logger['debug'](_0x222f7e(0x1c7)+_0x57fa73+',\x20failureType='+_0x367e54[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]+',\x20failureReason='+_0x367e54[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x222f7e(0x1ec)](0x0,0xc8))):_0x367e54[TestFrameworkConstants[_0x222f7e(0x1f2)]]=_0x347c77['rMPWO'];_0x347c77[_0x222f7e(0x204)](_0x5a8ff0,TestFrameworkConstants[_0x222f7e(0x1b0)])&&(_0x367e54[TestFrameworkConstants[_0x222f7e(0x1f2)]]=_0x5a8ff0);_0x367e54[TestFrameworkConstants[_0x222f7e(0x293)]]=_0x12e72a[_0x222f7e(0x21d)]||new Date()[_0x222f7e(0x1ac)](),_0x367e54[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x556cbd;const _0x39f28a=_0x367e54[TestFrameworkConstants[_0x222f7e(0x2e1)]];!_0x2a79dd[_0x57fa73]&&(_0x2a79dd[_0x57fa73]=[]);_0x2a79dd[_0x57fa73]['push'](_0x367e54),_0x73e4c[_0x591c12][TestFrameworkConstants[_0x222f7e(0x2ff)]]=_0x57fa73;const _0x25eb97={};_0x25eb97[_0x222f7e(0x2c2)]=0x2,logger[_0x222f7e(0x301)](_0x222f7e(0x1cc)+_0x57fa73+',\x20hookId='+_0x39f28a+_0x222f7e(0x2ea)+_0x5a8ff0+',\x20hook='+util[_0x222f7e(0x2e6)](_0x367e54,_0x25eb97));}}}const _0xf25fa8={};return _0xf25fa8[_0x222f7e(0x2c2)]=0x2,_0xf25fa8[_0x222f7e(0x2d5)]=0x3,logger[_0x222f7e(0x301)](_0x222f7e(0x271)+(_0x12e72a[_0x222f7e(0x1ed)]||_0x57fa73)+_0x222f7e(0x1f8)+_0x16d072+_0x222f7e(0x216)+_0x591c12+_0x222f7e(0x2cc)+util[_0x222f7e(0x2e6)](_0x73e4c,_0xf25fa8)),_0x73e4c;}[a71_0x4cfaa1(0x2bc)](_0x5338ac){const _0x48882e=a71_0x4cfaa1,_0x1bb57c={};_0x1bb57c[_0x48882e(0x18f)]='base64';const _0x252254=_0x1bb57c;try{const _0x122a4f=_0x5338ac[_0x48882e(0x217)]?this[_0x48882e(0x2f3)](_0x5338ac[_0x48882e(0x217)]):_0x5338ac[_0x48882e(0x30c)]['test_run_id'],_0x5c15f1=_0x5338ac[_0x48882e(0x294)],_0x2f204c=_0x5c15f1['getContext'](),_0x4de061=_0x5c15f1['getAllData']()[_0x48882e(0x1ca)](_0x122a4f);if(!_0x4de061)return logger[_0x48882e(0x301)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x122a4f),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5bd59f='',[TestFrameworkConstants[_0x48882e(0x1ce)]]:_0x25ee52='',[TestFrameworkConstants[_0x48882e(0x1cd)]]:_0x45e654='',[TestFrameworkConstants[_0x48882e(0x308)]]:_0x37a9d7=''}=_0x4de061,_0x178e3e=_0x5c15f1['getCurrentTestState']()[_0x48882e(0x265)]()['split']('.')[0x1],_0x2f9100=_0x5c15f1[_0x48882e(0x1fc)]()[_0x48882e(0x265)]()[_0x48882e(0x22c)]('.')[0x1],_0x3dc7d6=global?.[_0x48882e(0x2f4)]?.[_0x48882e(0x198)]?.[_0x48882e(0x22d)],_0x3ecefc=_0x5c15f1[_0x48882e(0x262)](),_0x3bf26b=Buffer[_0x48882e(0x2d0)](JSON[_0x48882e(0x2fb)](_0x4de061))[_0x48882e(0x265)](_0x252254[_0x48882e(0x18f)]),_0x21c360={'hash':_0x2f204c['getId'](),'threadId':_0x2f204c[_0x48882e(0x211)]()['toString'](),'processId':_0x2f204c[_0x48882e(0x2a4)]()[_0x48882e(0x265)]()},_0x1d1e18={};_0x1d1e18['platformIndex']=_0x3dc7d6,_0x1d1e18[_0x48882e(0x1a7)]=_0x5bd59f,_0x1d1e18['testFrameworkVersion']=_0x25ee52,_0x1d1e18['testFrameworkState']=_0x178e3e,_0x1d1e18['hookState']=_0x2f9100,_0x1d1e18[_0x48882e(0x2c9)]=_0x45e654,_0x1d1e18[_0x48882e(0x2c5)]=_0x37a9d7,_0x1d1e18[_0x48882e(0x2ef)]=_0x3ecefc,_0x1d1e18['eventJson']=_0x3bf26b,_0x1d1e18[_0x48882e(0x248)]=_0x21c360,_0x1d1e18[_0x48882e(0x2b8)]=_0x122a4f;const _0x11b7cf=_0x1d1e18;return _0x11b7cf;}catch(_0x225ffb){return logger[_0x48882e(0x252)](_0x48882e(0x195)+util[_0x48882e(0x2e0)](_0x225ffb)),{};}}async[a71_0x4cfaa1(0x1e8)](_0x438c45,_0x4e9013,_0x45dd75){const _0x190b37=a71_0x4cfaa1,_0x46a68c={'cxTmJ':function(_0x4a61ca,_0x565407){return _0x4a61ca+_0x565407;},'MGOfQ':_0x190b37(0x270),'nPFcH':_0x190b37(0x212),'xpXya':function(_0x455b2f,_0x33b162){return _0x455b2f>_0x33b162;},'gRHvr':function(_0x15b247,_0x3a34e5,_0x4e0d38,_0x12e6c6){return _0x15b247(_0x3a34e5,_0x4e0d38,_0x12e6c6);},'AwfQt':function(_0x532437,_0x122885){return _0x532437-_0x122885;},'HPMxx':function(_0x5ca8d0,_0x2c6ce8){return _0x5ca8d0===_0x2c6ce8;},'euVuG':function(_0x1a1a04,_0x3a0ca5){return _0x1a1a04/_0x3a0ca5;},'eIFSJ':function(_0x58fd69,_0x1bfb1b){return _0x58fd69<_0x1bfb1b;},'NffCw':function(_0x39117c,_0x32673e){return _0x39117c*_0x32673e;},'JqbFK':function(_0x5cfd5c,_0x3c6764){return _0x5cfd5c+_0x3c6764;},'zAGsE':function(_0x2b24e0,_0x596549){return _0x2b24e0>_0x596549;}};try{const _0x139dee=_0x45dd75['testUUID']||_0x45dd75[_0x190b37(0x1de)],_0x847c28=Array[_0x190b37(0x2d0)](_0x438c45[_0x190b37(0x255)]()[_0x190b37(0x30f)]()),_0x427708=_0x438c45[_0x190b37(0x255)]()[_0x190b37(0x1ca)](_0x139dee);if(!_0x427708){logger[_0x190b37(0x301)](_0x190b37(0x2b4)+_0x139dee);return;}const {[TestFrameworkConstants[_0x190b37(0x20d)]]:_0xddf081='',[TestFrameworkConstants[_0x190b37(0x1ce)]]:_0x32b171=''}=_0x427708;let _0x463cf5=[];if(_0x427708&&_0x427708[TestFrameworkConstants[_0x190b37(0x221)]]&&Array[_0x190b37(0x2ec)](_0x427708[TestFrameworkConstants[_0x190b37(0x221)]])){_0x463cf5=_0x427708[TestFrameworkConstants[_0x190b37(0x221)]]||[],logger[_0x190b37(0x301)](_0x190b37(0x2e8)+_0x463cf5[_0x190b37(0x1fd)]+_0x190b37(0x213)+_0x139dee);const _0x291791={[TestFrameworkConstants[_0x190b37(0x221)]]:[]},_0x54194e={};_0x54194e[_0x139dee]=_0x291791,_0x438c45[_0x190b37(0x306)](_0x54194e),logger[_0x190b37(0x301)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x139dee);}else logger[_0x190b37(0x301)](_0x190b37(0x2a3)+_0x139dee);logger['debug'](_0x190b37(0x1a6)+_0x463cf5[_0x190b37(0x1fd)]+_0x190b37(0x1fe)+_0x139dee);const _0x443b82=_0x463cf5[_0x190b37(0x233)](_0x5a5e1f=>_0x5a5e1f[_0x190b37(0x21b)]===_0x190b37(0x2c8));_0x46a68c['xpXya'](_0x443b82[_0x190b37(0x1fd)],0x0)&&(logger[_0x190b37(0x301)](_0x190b37(0x245)+_0x443b82['length']+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x139dee),_0x443b82['forEach']((_0x1c0574,_0x41fb58)=>{const _0x1c6f88=_0x190b37;logger[_0x1c6f88(0x301)](_0x1c6f88(0x1a0)+_0x46a68c[_0x1c6f88(0x19c)](_0x41fb58,0x1)+'/'+_0x443b82[_0x1c6f88(0x1fd)]+_0x1c6f88(0x1dd)+(_0x1c0574[_0x1c6f88(0x2b8)]||_0x46a68c[_0x1c6f88(0x1c2)])+_0x1c6f88(0x307)+(_0x1c0574[_0x1c6f88(0x1b9)]||_0x46a68c['MGOfQ'])+_0x1c6f88(0x31b)+(_0x1c0574[_0x1c6f88(0x2b5)]||_0x46a68c[_0x1c6f88(0x254)])+_0x1c6f88(0x2b7)+(_0x1c0574['message']?.[_0x1c6f88(0x1fd)]||0x0));}));const _0x1996a6=_0x427708[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x18906=_0x46a68c['gRHvr'](getMediaArtifactsLogs,_0x1996a6,null,_0x139dee),_0x13cc4d=(_0x463cf5||[])[_0x190b37(0x305)](_0x18906||[]),_0x4fbf0c=_0x443b82?.[_0x190b37(0x1fd)]||0x0,_0x5f8aa2=_0x46a68c[_0x190b37(0x200)](_0x463cf5?.[_0x190b37(0x1fd)]||0x0,_0x4fbf0c);logger[_0x190b37(0x301)](_0x190b37(0x2a5)+_0x139dee+',\x20consoleLogs:\x20'+_0x5f8aa2+',\x20screenshotLogs:\x20'+_0x4fbf0c+',\x20attachmentLogs:\x20'+(_0x18906?.['length']||0x0)+_0x190b37(0x26c)+_0x13cc4d[_0x190b37(0x1fd)]);if(!_0x13cc4d||_0x46a68c[_0x190b37(0x2f5)](_0x13cc4d[_0x190b37(0x1fd)],0x0)){logger[_0x190b37(0x301)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x139dee);return;}const _0xd7d4e3=0x28,_0x177a5b=Math[_0x190b37(0x1ba)](_0x46a68c[_0x190b37(0x1f1)](_0x13cc4d['length'],_0xd7d4e3));for(let _0x51b7b5=0x0;_0x46a68c['eIFSJ'](_0x51b7b5,_0x177a5b);_0x51b7b5++){const _0x3a601e=_0x46a68c[_0x190b37(0x192)](_0x51b7b5,_0xd7d4e3),_0x18fe44=_0x46a68c[_0x190b37(0x19c)](_0x3a601e,_0xd7d4e3),_0x29f68b=_0x13cc4d[_0x190b37(0x1ef)](_0x3a601e,_0x18fe44),_0x664296=global?.[_0x190b37(0x2f4)]?.[_0x190b37(0x198)]?.['parallelIndex']||0x0,_0x15f257={'platformIndex':_0x664296,'logs':_0x29f68b,'testFrameworkName':_0xddf081,'testFrameworkVersion':_0x32b171,'testFrameworkState':_0x4e9013[_0x190b37(0x265)]()[_0x190b37(0x22c)]('.')[0x1]},_0x183543={};_0x183543[_0x190b37(0x2c2)]=0x3,_0x183543[_0x190b37(0x2d5)]=0x5,logger['debug'](_0x190b37(0x232)+_0x46a68c['cxTmJ'](_0x51b7b5,0x1)+'/'+_0x177a5b+_0x190b37(0x1c4)+_0x139dee+_0x190b37(0x275)+_0x29f68b[_0x190b37(0x1fd)]+_0x190b37(0x295)+_0x664296+_0x190b37(0x1c5)+util[_0x190b37(0x2e6)](_0x15f257,_0x183543));const _0x20e9dd=await GrpcClient['getInstance']()[_0x190b37(0x1bb)](_0x15f257);logger['debug'](_0x190b37(0x232)+_0x46a68c[_0x190b37(0x246)](_0x51b7b5,0x1)+'/'+_0x177a5b+_0x190b37(0x1c4)+_0x139dee+_0x190b37(0x20b)+util[_0x190b37(0x2e6)](_0x20e9dd));}if(_0x18906&&_0x46a68c[_0x190b37(0x2c1)](_0x18906[_0x190b37(0x1fd)],0x0)&&_0x427708[TestFrameworkConstants[_0x190b37(0x194)]]){const _0x38bd21={[TestFrameworkConstants[_0x190b37(0x194)]]:{}},_0x7dc416={};_0x7dc416[_0x139dee]=_0x38bd21,_0x438c45[_0x190b37(0x306)](_0x7dc416);}logger[_0x190b37(0x301)](_0x190b37(0x28a)+_0x139dee+_0x190b37(0x23b)+_0x177a5b);}catch(_0x19d5c6){logger[_0x190b37(0x252)](_0x190b37(0x1db)+(_0x45dd75[_0x190b37(0x317)]||_0x45dd75[_0x190b37(0x1de)])+_0x190b37(0x24c)+util[_0x190b37(0x2e0)](_0x19d5c6));}}[a71_0x4cfaa1(0x2e2)](_0x1e42c7,_0x5234c9,_0x2729a7,_0xf6c8c0,_0x32df8e){const _0x3146c3=a71_0x4cfaa1,_0x113f5f={};_0x113f5f[_0x3146c3(0x24a)]=function(_0x32bcaf,_0x245155){return _0x32bcaf===_0x245155;},_0x113f5f['wtSlP']=_0x3146c3(0x238);const _0x2da029=_0x113f5f,{hookData:_0x4374bb}=_0x32df8e,_0x461442={'testId':_0x5234c9,'testFrameworkState':_0x2729a7,'hookState':_0xf6c8c0,'args':_0x32df8e,'timestamp':new Date()[_0x3146c3(0x1ac)]()};if(_0x2da029['fdNfq'](_0x2729a7,TestFrameworkState[_0x3146c3(0x18b)])&&_0x4374bb){const _0x41110d={};_0x41110d[_0x3146c3(0x292)]=_0x4374bb[_0x3146c3(0x224)]||_0x4374bb[_0x3146c3(0x2a6)],_0x41110d[_0x3146c3(0x1bd)]=_0x4374bb[_0x3146c3(0x1bd)]||_0x4374bb['scopes']&&_0x4374bb[_0x3146c3(0x229)][0x0]||'',_0x41110d[_0x3146c3(0x1ae)]=_0x2da029['wtSlP'],_0x461442[_0x3146c3(0x2f1)]=_0x41110d,logger[_0x3146c3(0x301)](_0x3146c3(0x20c)+_0x5234c9+_0x3146c3(0x235)+_0x461442[_0x3146c3(0x2f1)]['filePath']+_0x3146c3(0x2a1)+_0x461442[_0x3146c3(0x2f1)]['scope']);}_0x1e42c7['addPendingHook'](_0x5234c9,_0x461442),logger[_0x3146c3(0x301)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x5234c9+_0x3146c3(0x1e7)+_0x2729a7+_0x3146c3(0x1d6)+_0xf6c8c0);}async['processPendingHooks'](_0x5b942c,_0x7f86d0){const _0x30dd5d=a71_0x4cfaa1,_0x3e3f8f={};_0x3e3f8f[_0x30dd5d(0x2a7)]=function(_0xb94575,_0x587af2){return _0xb94575>_0x587af2;},_0x3e3f8f[_0x30dd5d(0x202)]='[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',_0x3e3f8f['ztFhA']=function(_0x5a88b0,_0xabf5c5){return _0x5a88b0===_0xabf5c5;},_0x3e3f8f[_0x30dd5d(0x24e)]=function(_0x184261,_0x24f53c){return _0x184261===_0x24f53c;},_0x3e3f8f[_0x30dd5d(0x1e9)]=function(_0x57766f,_0x1c7927){return _0x57766f===_0x1c7927;},_0x3e3f8f[_0x30dd5d(0x20f)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0x3e3f8f['ePKCV']=_0x30dd5d(0x25c);const _0x4098dd=_0x3e3f8f;if(_0x5b942c[_0x30dd5d(0x258)](_0x7f86d0)){const _0x208ae8=_0x5b942c[_0x30dd5d(0x1d9)](_0x7f86d0);logger[_0x30dd5d(0x301)](_0x30dd5d(0x1dc)+_0x208ae8[_0x30dd5d(0x1fd)]+_0x30dd5d(0x277)+_0x7f86d0);for(const _0x2f7ab6 of _0x208ae8){try{const _0x24c070=await this[_0x30dd5d(0x25b)](_0x5b942c,_0x2f7ab6[_0x30dd5d(0x304)],_0x2f7ab6[_0x30dd5d(0x24d)],_0x2f7ab6[_0x30dd5d(0x228)]);_0x24c070&&_0x4098dd[_0x30dd5d(0x2a7)](Object['keys'](_0x24c070)[_0x30dd5d(0x1fd)],0x0)&&_0x5b942c[_0x30dd5d(0x306)](_0x24c070),await this[_0x30dd5d(0x2c6)](_0x5b942c,_0x2f7ab6[_0x30dd5d(0x304)],_0x2f7ab6[_0x30dd5d(0x24d)],_0x2f7ab6[_0x30dd5d(0x228)]);}catch(_0x444721){logger[_0x30dd5d(0x252)](_0x30dd5d(0x2fe)+_0x7f86d0+_0x30dd5d(0x24c)+_0x444721);}}_0x5b942c[_0x30dd5d(0x1b6)](_0x7f86d0),logger[_0x30dd5d(0x301)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x7f86d0);}const _0x44c6fe=_0x5b942c['getAllData']()[_0x30dd5d(0x1ca)](_0x7f86d0);if(_0x44c6fe){const _0x4a9433=_0x44c6fe[TestFrameworkConstants[_0x30dd5d(0x1c1)]]||_0x44c6fe[TestFrameworkConstants[_0x30dd5d(0x31a)]],_0x2ec529=_0x44c6fe[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x44c6fe[TestFrameworkConstants[_0x30dd5d(0x1ff)]]&&_0x44c6fe[TestFrameworkConstants[_0x30dd5d(0x1ff)]][0x0]||'';logger['debug'](_0x4098dd[_0x30dd5d(0x202)]);const _0x1913a2=_0x5b942c[_0x30dd5d(0x2bd)]();for(const _0x3277b2 of _0x1913a2){if(_0x4098dd[_0x30dd5d(0x2d9)](_0x3277b2,_0x7f86d0))continue;if(_0x5b942c[_0x30dd5d(0x258)](_0x3277b2)){const _0x10b2d3=_0x5b942c[_0x30dd5d(0x1d9)](_0x3277b2);for(const _0x462e38 of _0x10b2d3){if(_0x4098dd['ztFhA'](_0x462e38['testFrameworkState'],TestFrameworkState[_0x30dd5d(0x18b)])&&_0x462e38['hookMetadata']){const _0x5b3140=_0x462e38[_0x30dd5d(0x2f1)]['filePath'],_0x4013c8=_0x462e38['hookMetadata']['scope'];if(_0x4098dd[_0x30dd5d(0x2d9)](_0x5b3140,_0x4a9433)&&_0x4098dd[_0x30dd5d(0x24e)](_0x4013c8,_0x2ec529)){logger[_0x30dd5d(0x301)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x3277b2+_0x30dd5d(0x222)+_0x7f86d0+_0x30dd5d(0x235)+_0x5b3140+_0x30dd5d(0x2a1)+_0x4013c8);_0x462e38[_0x30dd5d(0x228)]&&_0x462e38[_0x30dd5d(0x228)]['hookData']&&(_0x462e38[_0x30dd5d(0x228)][_0x30dd5d(0x30c)][_0x30dd5d(0x29c)]=_0x7f86d0,logger[_0x30dd5d(0x301)](_0x30dd5d(0x30e)+_0x3277b2+_0x30dd5d(0x2ad)+_0x7f86d0));try{const _0x24419b=await this[_0x30dd5d(0x25b)](_0x5b942c,_0x462e38[_0x30dd5d(0x304)],_0x462e38[_0x30dd5d(0x24d)],_0x462e38['args']);_0x24419b&&_0x4098dd[_0x30dd5d(0x2a7)](Object[_0x30dd5d(0x30f)](_0x24419b)[_0x30dd5d(0x1fd)],0x0)&&_0x5b942c['addMultipleEntries'](_0x24419b);await this[_0x30dd5d(0x2c6)](_0x5b942c,_0x462e38[_0x30dd5d(0x304)],_0x462e38[_0x30dd5d(0x24d)],_0x462e38[_0x30dd5d(0x228)]);const _0x1e08b0=_0x5b942c[_0x30dd5d(0x1d9)](_0x3277b2)['filter'](_0x31f9d4=>_0x31f9d4!==_0x462e38);if(_0x4098dd[_0x30dd5d(0x1e9)](_0x1e08b0[_0x30dd5d(0x1fd)],0x0))_0x5b942c[_0x30dd5d(0x1b6)](_0x3277b2);else{_0x5b942c[_0x30dd5d(0x1b6)](_0x3277b2);for(const _0x3e532a of _0x1e08b0){_0x5b942c['addPendingHook'](_0x3277b2,_0x3e532a);}}logger['debug'](_0x4098dd['EHCCD']);}catch(_0x3c912e){logger[_0x30dd5d(0x252)](_0x4098dd[_0x30dd5d(0x1d7)]);}}}}}}}}[a71_0x4cfaa1(0x290)](_0x343feb){const _0x4e7923=a71_0x4cfaa1,_0x1701af={'YtaHV':function(_0x4ed758){return _0x4ed758();}};if(!_0x343feb||!_0x343feb[_0x4e7923(0x2c0)])return;_0x343feb[_0x4e7923(0x2c0)][_0x4e7923(0x26e)]&&Array[_0x4e7923(0x2ec)](_0x343feb[_0x4e7923(0x2c0)]['hooks'])&&_0x343feb['parent']['hooks'][_0x4e7923(0x1a8)](_0x39bbc4=>{const _0x5268c8=_0x4e7923;!_0x39bbc4[_0x5268c8(0x282)]&&!_0x39bbc4['hookUUID']&&(_0x39bbc4[_0x5268c8(0x282)]=_0x1701af[_0x5268c8(0x264)](uuidv4),_0x39bbc4['hookUUID']=_0x39bbc4['hookAnalyticsId'],logger[_0x5268c8(0x301)](_0x5268c8(0x314)+_0x39bbc4[_0x5268c8(0x266)]+_0x5268c8(0x218)+_0x39bbc4[_0x5268c8(0x282)]));}),this[_0x4e7923(0x290)](_0x343feb[_0x4e7923(0x2c0)]);}[a71_0x4cfaa1(0x240)](_0x49557c){const _0x4ee95d=a71_0x4cfaa1,_0x5f61df={'SgApX':function(_0x50cc33,_0x165b70){return _0x50cc33(_0x165b70);}};if(!_0x49557c||!_0x49557c[_0x4ee95d(0x2c0)])return[];const _0x39fce9=[];return _0x49557c[_0x4ee95d(0x2c0)][_0x4ee95d(0x26e)]&&Array[_0x4ee95d(0x2ec)](_0x49557c[_0x4ee95d(0x2c0)]['hooks'])&&_0x49557c[_0x4ee95d(0x2c0)][_0x4ee95d(0x26e)]['forEach'](_0x460c77=>{const _0x4e5aa9=_0x4ee95d,_0x3df0b1=_0x460c77[_0x4e5aa9(0x282)]||_0x460c77[_0x4e5aa9(0x30d)];_0x3df0b1&&!this['isJestInternalHook'](_0x460c77)&&!_0x5f61df['SgApX'](isInternalHook,_0x460c77['fn'])&&_0x39fce9['push'](_0x3df0b1);}),[..._0x39fce9,...this[_0x4ee95d(0x240)](_0x49557c[_0x4ee95d(0x2c0)])];}[a71_0x4cfaa1(0x18a)](_0x187fa5){const _0x50de0a=a71_0x4cfaa1,_0x1a5ff9={'gtrOZ':function(_0xf42af3,_0x5324d0){return _0xf42af3(_0x5324d0);},'kSvZH':_0x50de0a(0x298),'iJvMg':function(_0x3138b8,_0x57f68d){return _0x3138b8(_0x57f68d);}},_0x23a9fb=new Map(),_0x394891=_0x1b7474=>{const _0x129363=_0x50de0a;if(!_0x1b7474||!_0x1b7474['parent'])return;_0x1b7474['parent'][_0x129363(0x26e)]&&Array['isArray'](_0x1b7474['parent']['hooks'])&&_0x1b7474['parent'][_0x129363(0x26e)][_0x129363(0x1a8)](_0x4210cd=>{const _0xc7b448=_0x129363,_0x3f4a70=_0x4210cd[_0xc7b448(0x282)]||_0x4210cd[_0xc7b448(0x30d)];if(_0x3f4a70&&!this[_0xc7b448(0x1d0)](_0x4210cd)&&!_0x1a5ff9[_0xc7b448(0x2eb)](isInternalHook,_0x4210cd['fn'])){const _0x2696e0={};_0x2696e0[_0xc7b448(0x266)]=_0x4210cd[_0xc7b448(0x266)]||_0x1a5ff9['kSvZH'],_0x2696e0['name']=_0x4210cd[_0xc7b448(0x236)]||'\x22'+_0x4210cd[_0xc7b448(0x266)]+_0xc7b448(0x291),_0x23a9fb['set'](_0x3f4a70,_0x2696e0);}}),_0x1a5ff9[_0x129363(0x2eb)](_0x394891,_0x1b7474[_0x129363(0x2c0)]);};return _0x1a5ff9[_0x50de0a(0x1da)](_0x394891,_0x187fa5),_0x23a9fb;}[a71_0x4cfaa1(0x1d0)](_0x1c6ba3){const _0x1b9fd9=a71_0x4cfaa1,_0x3dc82d={};_0x3dc82d['Exusl']=_0x1b9fd9(0x2ed),_0x3dc82d['JMIti']=_0x1b9fd9(0x227);const _0x421f90=_0x3dc82d;try{const _0x103a45=this['getRootParentFile'](_0x1c6ba3);return _0x103a45&&_0x103a45['includes'](_0x421f90[_0x1b9fd9(0x28e)]);}catch(_0x42c3b4){logger['debug'](_0x421f90[_0x1b9fd9(0x197)]);}return![];}[a71_0x4cfaa1(0x259)](_0x12f863){const _0x4e33df=a71_0x4cfaa1;if(_0x12f863['asyncError'])try{const _0x175712=stackTrace['parse'](_0x12f863['asyncError']);return _0x175712[0x0]?_0x175712[0x0][_0x4e33df(0x210)]():null;}catch(_0x2761a6){logger['debug'](_0x4e33df(0x297)+util[_0x4e33df(0x2e0)](_0x2761a6));}if(_0x12f863[_0x4e33df(0x260)])return _0x12f863['file'];return null;}}module['exports']=JestTestFramework;
@@ -1 +1 @@
1
- const a72_0x3f6085=a72_0x302f;(function(_0x119ea5,_0x4d88da){const _0x1b6b2c=a72_0x302f,_0x400105=_0x119ea5();while(!![]){try{const _0x572b9d=-parseInt(_0x1b6b2c(0x218))/0x1*(parseInt(_0x1b6b2c(0x1f9))/0x2)+-parseInt(_0x1b6b2c(0x1f7))/0x3+parseInt(_0x1b6b2c(0x20e))/0x4+-parseInt(_0x1b6b2c(0x20b))/0x5+parseInt(_0x1b6b2c(0x206))/0x6+parseInt(_0x1b6b2c(0x20c))/0x7*(-parseInt(_0x1b6b2c(0x216))/0x8)+parseInt(_0x1b6b2c(0x208))/0x9;if(_0x572b9d===_0x4d88da)break;else _0x400105['push'](_0x400105['shift']());}catch(_0x1f3982){_0x400105['push'](_0x400105['shift']());}}}(a72_0x1702,0x4a139));function a72_0x302f(_0x18528f,_0x316a06){const _0x17027a=a72_0x1702();return a72_0x302f=function(_0x302fbd,_0x54b1c9){_0x302fbd=_0x302fbd-0x1f1;let _0x44afb0=_0x17027a[_0x302fbd];return _0x44afb0;},a72_0x302f(_0x18528f,_0x316a06);}const AutomationFramework=require(a72_0x3f6085(0x207)),{createClassLogger}=require(a72_0x3f6085(0x20d)),AutomationFrameworkState=require(a72_0x3f6085(0x20a)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a72_0x3f6085(0x1f2)),AutomationFrameworkInstance=require(a72_0x3f6085(0x214));class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x3f6085(0x1f3)]=createClassLogger(a72_0x3f6085(0x211));constructor(_0x57cac1,_0x43883d){super(_0x57cac1,_0x43883d);}async[a72_0x3f6085(0x213)](_0x1ac1f2,_0x45fcb9,_0x24420c={}){const _0x527d54=a72_0x3f6085,_0x572b43={};_0x572b43[_0x527d54(0x1ff)]=function(_0x37eb08,_0x184fcc){return _0x37eb08===_0x184fcc;};const _0x384c90=_0x572b43;this[_0x527d54(0x1f3)][_0x527d54(0x203)](_0x527d54(0x20f)+_0x1ac1f2+_0x527d54(0x209)+_0x45fcb9),await super['trackEvent'](_0x1ac1f2,_0x45fcb9,_0x24420c);const _0x14f5cb=this[_0x527d54(0x1fd)](_0x1ac1f2,_0x45fcb9,_0x24420c);if(_0x384c90[_0x527d54(0x1ff)](_0x14f5cb,null))return;_0x24420c[_0x527d54(0x217)]=_0x14f5cb,await this[_0x527d54(0x202)](_0x14f5cb,_0x1ac1f2,_0x45fcb9,_0x24420c);}[a72_0x3f6085(0x1fd)](_0x367b57,_0x2db453,_0x43f252={}){const _0x14957e=a72_0x3f6085,_0x4901fd={};_0x4901fd['EprIY']=function(_0x11f9c8,_0x4c61e1){return _0x11f9c8===_0x4c61e1;},_0x4901fd[_0x14957e(0x201)]=function(_0x2e4133,_0x316908){return _0x2e4133===_0x316908;};const _0x1ffaab=_0x4901fd;let _0x2a8997=null;return(_0x1ffaab[_0x14957e(0x1f5)](_0x367b57,AutomationFrameworkState[_0x14957e(0x205)])||_0x1ffaab['EprIY'](_0x367b57,AutomationFrameworkState[_0x14957e(0x1f8)])&&(_0x43f252[_0x14957e(0x1f6)]&&_0x43f252[_0x14957e(0x1f6)]['params']&&_0x43f252['message']['params']['bsParams'])||_0x1ffaab[_0x14957e(0x201)](_0x367b57,AutomationFrameworkState[_0x14957e(0x204)]))&&this[_0x14957e(0x1fb)](_0x367b57,_0x43f252),_0x2a8997=AutomationFramework['getTrackedInstance'](),_0x2a8997;}[a72_0x3f6085(0x1fb)](_0x2fd33e,_0x9b352d){const _0x5dd60b=a72_0x3f6085,_0x4a08bd={};_0x4a08bd[_0x5dd60b(0x1f4)]=_0x5dd60b(0x200);const _0x1f85c4=_0x4a08bd;if(AutomationFramework[_0x5dd60b(0x219)]()){this[_0x5dd60b(0x1f3)]['info'](_0x1f85c4['CDmzQ']);return;}const _0x2f1a14=CLIUtils['getCurrentInstanceName'](),_0x509a2e=TrackedInstance[_0x5dd60b(0x215)](_0x2f1a14);let _0x4669e2=null;this[_0x5dd60b(0x1f3)]['info'](_0x5dd60b(0x1fe)+_0x2f1a14+',\x20state='+_0x2fd33e),_0x4669e2=new AutomationFrameworkInstance(_0x509a2e,this['getAutomationFrameworkName'](),this[_0x5dd60b(0x1f1)](),_0x2fd33e),AutomationFramework[_0x5dd60b(0x210)](_0x509a2e,_0x4669e2),this['logger']['info'](_0x5dd60b(0x1fc)+_0x509a2e['getId']()+_0x5dd60b(0x1fa)+_0x2f1a14);}}module[a72_0x3f6085(0x212)]=PlaywrightAutomationFramework;function a72_0x1702(){const _0x153f9e=['createContext','93128BemjzX','instance','1dzOVjX','getTrackedInstance','getAutomationFrameworkVersion','../instances/trackedInstance.js','logger','CDmzQ','EprIY','message','280851HucxnS','PLAYWRIGHT_DISPATCH','465844GoDEUH','\x20target=','trackPlaywrightInstance','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','resolveInstance','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','Shnok','trackPlaywrightInstance:\x20instance\x20already\x20exists','ybORq','runHooks','debug','NONE','CREATE','1675638bkiGuJ','./automationFramework.js','8652780MEvzmr','\x20hookState=','../state/automationFrameworkState.js','1639155JAJNTe','350wZvezA','../../../helpers/classLogger.js','1196576wBpQXt','trackEvent:\x20automationFrameworkState=','setTrackedInstance','PlaywrightAutomationFramework','exports','trackEvent','../instances/automationFrameworkInstance.js'];a72_0x1702=function(){return _0x153f9e;};return a72_0x1702();}
1
+ const a72_0x47f071=a72_0x2cca;(function(_0x4e9c9a,_0x335db7){const _0x40b94d=a72_0x2cca,_0x1a166c=_0x4e9c9a();while(!![]){try{const _0x57ce99=parseInt(_0x40b94d(0x9a))/0x1+-parseInt(_0x40b94d(0x9d))/0x2*(parseInt(_0x40b94d(0x88))/0x3)+parseInt(_0x40b94d(0x9f))/0x4+-parseInt(_0x40b94d(0x81))/0x5+parseInt(_0x40b94d(0x90))/0x6*(parseInt(_0x40b94d(0x86))/0x7)+-parseInt(_0x40b94d(0x97))/0x8*(parseInt(_0x40b94d(0x82))/0x9)+parseInt(_0x40b94d(0xa3))/0xa;if(_0x57ce99===_0x335db7)break;else _0x1a166c['push'](_0x1a166c['shift']());}catch(_0x389611){_0x1a166c['push'](_0x1a166c['shift']());}}}(a72_0x24be,0x3cb68));function a72_0x2cca(_0x1626e6,_0x46c5d4){const _0x24be4e=a72_0x24be();return a72_0x2cca=function(_0x2ccae9,_0x4bb187){_0x2ccae9=_0x2ccae9-0x7f;let _0x12cf1b=_0x24be4e[_0x2ccae9];return _0x12cf1b;},a72_0x2cca(_0x1626e6,_0x46c5d4);}function a72_0x24be(){const _0x47485f=['trackEvent:\x20automationFrameworkState=','RxGyR','pWueH','debug','../cliUtils.js','\x20target=','1658064eigaPj','trackEvent','PlaywrightAutomationFramework','476454QpUMxX','params','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','8GbqUvL','../instances/trackedInstance.js','556100HafhSd','setTrackedInstance','logger','bsParams','1170420dHDdgv','resolveInstance','trackPlaywrightInstance','getTrackedInstance','856740oiNlBz','9gLbQgD','./automationFramework.js','POctM','../state/automationFrameworkState.js','7lmRHJu','\x20hookState=','89394CJDzKw','JxqMW','CREATE','instance','info','getCurrentInstanceName','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','message','83742BeXJvX'];a72_0x24be=function(){return _0x47485f;};return a72_0x24be();}const AutomationFramework=require(a72_0x47f071(0x83)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a72_0x47f071(0x85)),CLIUtils=require(a72_0x47f071(0x95)),TrackedInstance=require(a72_0x47f071(0x9e)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x47f071(0xa1)]=createClassLogger(a72_0x47f071(0x99));constructor(_0x681760,_0x44b389){super(_0x681760,_0x44b389);}async[a72_0x47f071(0x98)](_0x25a707,_0x115d17,_0x576116={}){const _0x4c723d=a72_0x47f071,_0x171421={};_0x171421[_0x4c723d(0x89)]=function(_0x584e40,_0x169d5e){return _0x584e40===_0x169d5e;};const _0x183637=_0x171421;this[_0x4c723d(0xa1)][_0x4c723d(0x94)](_0x4c723d(0x91)+_0x25a707+_0x4c723d(0x87)+_0x115d17),await super[_0x4c723d(0x98)](_0x25a707,_0x115d17,_0x576116);const _0xc00c42=this['resolveInstance'](_0x25a707,_0x115d17,_0x576116);if(_0x183637['JxqMW'](_0xc00c42,null))return;_0x576116[_0x4c723d(0x8b)]=_0xc00c42,await this['runHooks'](_0xc00c42,_0x25a707,_0x115d17,_0x576116);}[a72_0x47f071(0xa4)](_0x132521,_0x4cfde7,_0xdf44ea={}){const _0x1f1885=a72_0x47f071,_0x52e645={};_0x52e645['POctM']=function(_0x41c0cd,_0x447918){return _0x41c0cd===_0x447918;},_0x52e645['RxGyR']=function(_0x891130,_0x1d6ca8){return _0x891130===_0x1d6ca8;};const _0x2ddcd8=_0x52e645;let _0x5739f3=null;return(_0x2ddcd8[_0x1f1885(0x84)](_0x132521,AutomationFrameworkState[_0x1f1885(0x8a)])||_0x2ddcd8[_0x1f1885(0x84)](_0x132521,AutomationFrameworkState['PLAYWRIGHT_DISPATCH'])&&(_0xdf44ea[_0x1f1885(0x8f)]&&_0xdf44ea['message'][_0x1f1885(0x9b)]&&_0xdf44ea[_0x1f1885(0x8f)][_0x1f1885(0x9b)][_0x1f1885(0xa2)])||_0x2ddcd8[_0x1f1885(0x92)](_0x132521,AutomationFrameworkState['NONE']))&&this['trackPlaywrightInstance'](_0x132521,_0xdf44ea),_0x5739f3=AutomationFramework[_0x1f1885(0x80)](),_0x5739f3;}[a72_0x47f071(0x7f)](_0x16da5f,_0x7993b7){const _0xc735ea=a72_0x47f071,_0x182cf3={};_0x182cf3[_0xc735ea(0x93)]='trackPlaywrightInstance:\x20instance\x20already\x20exists';const _0x4eaae3=_0x182cf3;if(AutomationFramework['getTrackedInstance']()){this[_0xc735ea(0xa1)][_0xc735ea(0x8c)](_0x4eaae3['pWueH']);return;}const _0x43536a=CLIUtils[_0xc735ea(0x8d)](),_0x269950=TrackedInstance['createContext'](_0x43536a);let _0x48658d=null;this[_0xc735ea(0xa1)][_0xc735ea(0x8c)](_0xc735ea(0x8e)+_0x43536a+',\x20state='+_0x16da5f),_0x48658d=new AutomationFrameworkInstance(_0x269950,this['getAutomationFrameworkName'](),this['getAutomationFrameworkVersion'](),_0x16da5f),AutomationFramework[_0xc735ea(0xa0)](_0x269950,_0x48658d),this[_0xc735ea(0xa1)]['info'](_0xc735ea(0x9c)+_0x269950['getId']()+_0xc735ea(0x96)+_0x43536a);}}module['exports']=PlaywrightAutomationFramework;