browserstack-node-sdk 1.48.1 → 1.49.1

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 +3 -2
  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 a70_0x3bd32f=a70_0x4d75;(function(_0xba4ba0,_0x297098){const _0x5b04ef=a70_0x4d75,_0xea1e47=_0xba4ba0();while(!![]){try{const _0x380e25=-parseInt(_0x5b04ef(0x12b))/0x1+parseInt(_0x5b04ef(0x117))/0x2*(parseInt(_0x5b04ef(0x142))/0x3)+parseInt(_0x5b04ef(0x14e))/0x4+-parseInt(_0x5b04ef(0xe7))/0x5+parseInt(_0x5b04ef(0x11e))/0x6+-parseInt(_0x5b04ef(0xd0))/0x7*(parseInt(_0x5b04ef(0x156))/0x8)+-parseInt(_0x5b04ef(0x10a))/0x9*(-parseInt(_0x5b04ef(0xb1))/0xa);if(_0x380e25===_0x297098)break;else _0xea1e47['push'](_0xea1e47['shift']());}catch(_0x3ff71b){_0xea1e47['push'](_0xea1e47['shift']());}}}(a70_0x14ea,0xf326a));function a70_0x14ea(){const _0x51d925=['\x20&\x20hook\x20=\x20','KEY_TEST_LOGS','KEY_HOOK_ID','ETCFp','\x20with\x20UUID:\x20','INIT_TEST','KEY_TEST_NAME','KEY_CUSTOM_TAGS','trackEvent:\x20unsupported\x20testFrameworkState=','location','testUUID','args','pop','push','hook_type','getTestFrameworksVersions','customRerunParam','toISOString','unknown','KEY_HOOK_FAILURE_TYPE','KEY_TEST_SCOPES','KEY_AUTOMATE_SESSION_NAME','UnhandledError','getThreadId','getTestUUID','KEY_TEST_FAILURE','dcaUT','NUvwn','JQkVS','AhkDM','util',',\x20hookState:\x20','addMultipleEntries','../state/testFrameworkState.js','test','trackHookEvent','349000krnsqs','name','Tracked\x20cucumber\x20hook\x20event:\x20','bOQLH','../../../helpers/helper.js','getTestFrameworks','Error\x20in\x20createTestFrameworkEventPayload:\x20','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','yEJqq','failure_data','processPendingHooks','\x20testState:\x20','parseCucumberTest','addPendingHook','./constants/testFrameworkConstants.js','AsOAl','GhIys','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','getCurrentHookState','\x20batch\x20','KEY_HOOK_LAST_STARTED','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','failure_type','trackCucumberInstance','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','hBgIH','KEY_TEST_META','keys','failed','Parsed\x20cucumber\x20test:\x20','\x20&\x20hookState=','14UVOROY','sendLogCreatedEvent:\x20for\x20testId:\x20','scopes','removePendingHooks','onjGD','inspect','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','rZtlR','\x20with\x20id\x20','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_HOOK_LAST_FINISHED','JziMw','storePendingHook','file_name','error','get','test_run_id','createContext','KEY_EVENT_ENDED_AT','readLogObjects','KEY_TEST_SCOPE','hDWrW','startedAt','4728725XGPoQr','NONE','getTestDetails','setTestDetails','\x20hookState:\x20','vyVPP','\x20payload=','KCsEm','KEY_TEST_FAILURE_REASON','getId','../cliUtils.js','cuFbB',',\x20state:\x20','hookData','body','HEwWx','zRpqa','../grpcClient','KEY_TEST_ENDED_AT','UWXOf','POST','code','LclMn','KEY_TEST_ID','eventJson','EiZXm','getCurrentInstanceName','matchHookRegex','usCPP','createTestFrameworkEventPayload','KEY_TEST_UUID','sendLogCreatedEvent','testData','\x20target=','CucumberTestFramework','135pNBvcc','parseCucumberTestResult','length','passed','\x20\x20and\x20args\x20=\x20','Updated\x20cucumber\x20test\x20result:\x20','stringify','KEY_TEST_FRAMEWORK_VERSION','KEY_HOOK_LOGS','started_at','KEY_HOOK_RESULT','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','2buJaUB','slice','DEFAULT_HOOK_RESULT','instance','\x20response=','KEY_TEST_RERUN_NAME','getContext','6787350bYmjbg','rerun_name','KEY_HOOK_FAILURE','testFrameworkName','KEY_TEST_ATTACHMENTS','Cucumber\x20log\x20created\x20event','hookState','format','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','parallelIndex','zYvJm','puXhu','resolveInstance','816109gjiKhG','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','nGdsE','DEFAULT_TEST_RESULT','trackEvent','../TestInfo.js','WIcia','\x20pending\x20hooks\x20for\x20testId:\x20','testFrameworkState','result','xOcPD','KEY_HOOK_FAILURE_REASON','trackCucumberInstance:\x20saved\x20instance\x20contextId=','finished_at','tags','base64','meta','getCurrentTestState','split','hooks','KEY_HOOKS_FINISHED','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','lqZYR','4412766ZPpInO','testFrameworkVersion',',\x20storing\x20as\x20pending\x20hook','debug','uuid','KEY_TEST_STARTED_AT','toString','TrjJb','exports','PRE','KEY_HOOKS_STARTED',',\x20error:\x20','869372soFrgI','runHooks','KEY_TEST_CODE','KEY_TEST_RESULT','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','endedAt','getAllData','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','2340760XbkRFP','../instances/testFrameworkInstance.js','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','key','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping',',\x20state=','KEY_LOGS','Chffc','failure_reason','KEY_EVENT_STARTED_AT','LFMHt','failure','Processing\x20'];a70_0x14ea=function(){return _0x51d925;};return a70_0x14ea();}const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x3bd32f(0xae)),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a70_0x3bd32f(0x157)),CLIUtils=require(a70_0x3bd32f(0xf1)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a70_0x3bd32f(0xbf)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x3bd32f(0xb5)),logger=createClassLogger(a70_0x3bd32f(0x109)),{v4:uuidv4}=require('uuid'),util=require(a70_0x3bd32f(0xab)),TestInfo=require(a70_0x3bd32f(0x130)),GrpcClient=require(a70_0x3bd32f(0xf8));class CucumberTestFramework extends TestFramework{constructor(_0x2202a4,_0x18a311,_0x1ad979){super(_0x2202a4,_0x18a311,_0x1ad979);}async[a70_0x3bd32f(0x12f)](_0x189c14,_0x3d7b76,_0x4e7b9b={}){const _0x58ce29=a70_0x3bd32f,_0x209023={};_0x209023['puXhu']='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x209023[_0x58ce29(0xd7)]=function(_0x2e0971,_0x488625){return _0x2e0971===_0x488625;},_0x209023['tCntc']=function(_0x273eb2,_0xc8a357){return _0x273eb2===_0xc8a357;},_0x209023['Chffc']=_0x58ce29(0xd9);const _0x5e4287=_0x209023;await super[_0x58ce29(0x12f)](_0x189c14,_0x3d7b76,_0x4e7b9b);const _0x4c980f=this[_0x58ce29(0x12a)](_0x189c14,_0x3d7b76,_0x4e7b9b);if(!_0x4c980f){logger[_0x58ce29(0x145)](_0x5e4287[_0x58ce29(0x129)]);return;}try{let _0x23fa1e,_0x2011e0;switch(_0x189c14){case TestFrameworkState['TEST']:_0x23fa1e=_0x4e7b9b[_0x58ce29(0xaf)],_0x2011e0=TestInfo[_0x58ce29(0xa5)](_0x23fa1e['id']);if(_0x5e4287[_0x58ce29(0xd7)](_0x3d7b76,HookState['PRE'])){logger[_0x58ce29(0x145)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x23fa1e['id']);const _0x6cac3b={};_0x6cac3b[_0x58ce29(0x97)]=_0x2011e0,_0x6cac3b['testData']=_0x23fa1e,_0x4c980f[_0x58ce29(0xad)](this['parseCucumberTest'](_0x6cac3b)),logger['debug'](_0x58ce29(0x158)+_0x23fa1e['id']),await this['processPendingHooks'](_0x4c980f,_0x23fa1e['id']);}else{if(_0x5e4287['rZtlR'](_0x3d7b76,HookState[_0x58ce29(0xfb)])){const _0x4119b2={};_0x4119b2[_0x58ce29(0x97)]=_0x2011e0,_0x4119b2[_0x58ce29(0x107)]=_0x23fa1e,_0x4c980f[_0x58ce29(0xad)](this['parseCucumberTestResult'](_0x4119b2)),await this['processPendingHooks'](_0x4c980f,_0x23fa1e['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x5e4287['tCntc'](_0x3d7b76,HookState[_0x58ce29(0xfb)])&&await this[_0x58ce29(0x106)](_0x4c980f,_0x189c14,_0x4e7b9b);break;default:if(CLIUtils[_0x58ce29(0x102)](_0x189c14[_0x58ce29(0x148)]()[_0x58ce29(0x13d)]('.')[0x1])){const _0x4e8cfb=await this['trackHookEvent'](_0x4c980f,_0x189c14,_0x3d7b76,_0x4e7b9b);_0x4c980f['addMultipleEntries'](_0x4e8cfb);}else logger[_0x58ce29(0x145)](_0x58ce29(0x95)+_0x189c14+_0x58ce29(0xcf)+_0x3d7b76);break;}}catch(_0x4ad811){logger[_0x58ce29(0xde)](util[_0x58ce29(0x125)](_0x5e4287[_0x58ce29(0x15d)],_0x189c14,_0x3d7b76,_0x4e7b9b['length'],_0x4ad811));}_0x4e7b9b[_0x58ce29(0x11a)]=_0x4c980f,await this[_0x58ce29(0x14f)](_0x4c980f,_0x189c14,_0x3d7b76,_0x4e7b9b);}[a70_0x3bd32f(0x12a)](_0xfd67dd,_0x145793,_0x194c2f={}){const _0x5b8016=a70_0x3bd32f,_0x40a119={};_0x40a119[_0x5b8016(0xa9)]=function(_0x44128f,_0x13a4f3){return _0x44128f===_0x13a4f3;},_0x40a119[_0x5b8016(0x100)]=function(_0x3aa1bd,_0x3a71ce){return _0x3aa1bd===_0x3a71ce;};const _0x56b9b6=_0x40a119;let _0x3be68c=null;return(_0x56b9b6[_0x5b8016(0xa9)](_0xfd67dd,TestFrameworkState[_0x5b8016(0x92)])||_0x56b9b6[_0x5b8016(0x100)](_0xfd67dd,TestFrameworkState[_0x5b8016(0xe8)]))&&this['trackCucumberInstance'](_0xfd67dd,_0x194c2f),_0x3be68c=TestFramework['getTrackedInstance'](),_0x3be68c;}[a70_0x3bd32f(0xc8)](_0x4f8e89,_0x3dcd40){const _0x112b6f=a70_0x3bd32f,_0x155ba0=CLIUtils[_0x112b6f(0x101)](),_0x4a06be=TrackedInstance[_0x112b6f(0xe1)](_0x155ba0);let _0x33b9c1=null;logger[_0x112b6f(0x145)](_0x112b6f(0xc9)+_0x155ba0+_0x112b6f(0x15b)+_0x4f8e89),_0x33b9c1=new TestFrameworkInstance(_0x4a06be,this[_0x112b6f(0xb6)](),this[_0x112b6f(0x9c)](),_0x4f8e89,HookState[_0x112b6f(0xe8)]),TestFramework['setTrackedInstance'](_0x4a06be,_0x33b9c1),logger[_0x112b6f(0x145)](_0x112b6f(0x137)+_0x4a06be[_0x112b6f(0xf0)]()+_0x112b6f(0x108)+_0x155ba0);}[a70_0x3bd32f(0xbd)](_0x419ebf){const _0x3ba3ce=a70_0x3bd32f,_0x133983={};_0x133983['WIcia']=_0x3ba3ce(0x126);const _0xa533d7=_0x133983,{testUUID:_0x53bd7b,testData:_0x1fea3f}=_0x419ebf;if(!_0x1fea3f||!_0x1fea3f[_0x3ba3ce(0x146)])return logger['debug'](_0xa533d7[_0x3ba3ce(0x131)]),{};const _0x5e0ae4=_0x1fea3f[_0x3ba3ce(0x146)],_0x550da6=_0x1fea3f[_0x3ba3ce(0x146)],_0x37dc21=this[_0x3ba3ce(0xb6)]()[0x0],_0x23011b=this['getTestFrameworksVersions'](),_0x49190a={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x37dc21,[TestFrameworkConstants[_0x3ba3ce(0x111)]]:_0x23011b[_0x37dc21],[TestFrameworkConstants[_0x3ba3ce(0x164)]]:[],[TestFrameworkConstants[_0x3ba3ce(0x13f)]]:{},[TestFrameworkConstants[_0x3ba3ce(0x14c)]]:{},[TestFrameworkConstants[_0x3ba3ce(0x105)]]:_0x5e0ae4,[TestFrameworkConstants[_0x3ba3ce(0x151)]]:TestFrameworkConstants[_0x3ba3ce(0x12e)],[TestFrameworkConstants[_0x3ba3ce(0xa2)]]:_0x1fea3f[_0x3ba3ce(0xb2)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x1fea3f[_0x3ba3ce(0xdd)]||'',[TestFrameworkConstants[_0x3ba3ce(0xfe)]]:_0x550da6,[TestFrameworkConstants[_0x3ba3ce(0x93)]]:_0x1fea3f[_0x3ba3ce(0xb2)]||'',[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x1fea3f[_0x3ba3ce(0x96)]||'',[TestFrameworkConstants[_0x3ba3ce(0x150)]]:_0x1fea3f[_0x3ba3ce(0xf5)]?.[_0x3ba3ce(0xfc)]||null,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x1fea3f[_0x3ba3ce(0x139)]||[],[TestFrameworkConstants[_0x3ba3ce(0x147)]]:_0x1fea3f[_0x3ba3ce(0xe6)]||new Date()[_0x3ba3ce(0x9e)](),[TestFrameworkConstants[_0x3ba3ce(0xe4)]]:_0x1fea3f[_0x3ba3ce(0xd2)]?.[0x0]||'',[TestFrameworkConstants[_0x3ba3ce(0xa1)]]:_0x1fea3f['scopes']||[],[TestFrameworkConstants[_0x3ba3ce(0x11c)]]:_0x1fea3f[_0x3ba3ce(0x9d)]?.[_0x3ba3ce(0x11f)]||_0x1fea3f[_0x3ba3ce(0xb2)]||'',[TestFrameworkConstants[_0x3ba3ce(0x94)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:_0x1fea3f['meta']||{}};TestInfo[_0x3ba3ce(0xea)](_0x550da6,_0x49190a),logger[_0x3ba3ce(0x145)](_0x3ba3ce(0xce)+_0x1fea3f['name']+_0x3ba3ce(0x167)+_0x5e0ae4);const _0x1cfa50={};return _0x1cfa50[_0x550da6]=_0x49190a,_0x1cfa50;}[a70_0x3bd32f(0x10b)](_0x186523){const _0xd43f8f=a70_0x3bd32f,_0x3555d0={'ETCFp':_0xd43f8f(0xb8),'dcaUT':_0xd43f8f(0x9f),'KCsEm':function(_0x289001,_0xe6ad29){return _0x289001===_0xe6ad29;},'lqZYR':'failed','GhIys':_0xd43f8f(0xa3),'zRpqa':function(_0x2cb8a9,_0x392cd9,_0x32d38f){return _0x2cb8a9(_0x392cd9,_0x32d38f);},'bOQLH':function(_0xa43a7d,_0x149292){return _0xa43a7d>_0x149292;}},{testUUID:_0x506cb0,testData:_0x243e93}=_0x186523;if(!_0x243e93||!_0x243e93[_0xd43f8f(0x146)])return logger['debug'](_0x3555d0[_0xd43f8f(0x166)]),{};const _0x238086=this['resolveInstance'](TestFrameworkState['TEST'],HookState[_0xd43f8f(0xfb)]),_0x383ba6=_0x243e93[_0xd43f8f(0x146)],_0x37df22=TestInfo[_0xd43f8f(0xe9)](_0x383ba6)||{},_0x2aff6a=_0x37df22?_0x37df22[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x479a99={..._0x37df22,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x243e93[_0xd43f8f(0x134)]||_0x3555d0[_0xd43f8f(0xa7)],[TestFrameworkConstants[_0xd43f8f(0xf9)]]:_0x243e93['finishedAt']||new Date()[_0xd43f8f(0x9e)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0xd43f8f(0x9e)](),[TestFrameworkConstants[_0xd43f8f(0x94)]]:_0x2aff6a,[TestFrameworkConstants[_0xd43f8f(0x15c)]]:[],[TestFrameworkConstants[_0xd43f8f(0xcb)]]:_0x243e93[_0xd43f8f(0x13b)]||{}};_0x3555d0[_0xd43f8f(0xee)](_0x243e93[_0xd43f8f(0x134)],_0x3555d0[_0xd43f8f(0x141)])&&_0x243e93[_0xd43f8f(0x161)]&&(_0x479a99[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x243e93[_0xd43f8f(0xc7)]||_0x3555d0[_0xd43f8f(0xc1)],_0x479a99[TestFrameworkConstants[_0xd43f8f(0xef)]]=_0x243e93[_0xd43f8f(0x15e)]||'',_0x479a99[TestFrameworkConstants[_0xd43f8f(0xa6)]]=_0x243e93['failure']);const _0x15e33c=TestInfo[_0xd43f8f(0xe9)](_0x383ba6)[TestFrameworkConstants[_0xd43f8f(0x122)]]||{},_0x9797ea=_0x3555d0[_0xd43f8f(0xf7)](getManualUploadLogs,_0x15e33c,_0x238086[_0xd43f8f(0x154)]()[_0xd43f8f(0xdf)](_0x383ba6)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x3555d0[_0xd43f8f(0xb4)](_0x9797ea['length'],0x0)){const _0x799c24=_0x479a99[TestFrameworkConstants[_0xd43f8f(0x15c)]]||[];_0x479a99[TestFrameworkConstants[_0xd43f8f(0x15c)]]=[..._0x799c24,..._0x9797ea];}_0x243e93['hooks']&&_0x3555d0['bOQLH'](_0x243e93['hooks'][_0xd43f8f(0x10c)],0x0)&&(_0x479a99[TestFrameworkConstants[_0xd43f8f(0x13f)]]=_0x243e93[_0xd43f8f(0x13e)]);TestInfo[_0xd43f8f(0xea)](_0x383ba6,_0x479a99),logger[_0xd43f8f(0x145)](_0xd43f8f(0x10f)+_0x243e93[_0xd43f8f(0xb2)]+'\x20with\x20result:\x20'+_0x243e93[_0xd43f8f(0x134)]);const _0x2aacc3={};return _0x2aacc3[_0x383ba6]=_0x479a99,_0x2aacc3;}async[a70_0x3bd32f(0xb0)](_0x58198e,_0x239635,_0xffa5b,_0x1c072f){const _0x371988=a70_0x3bd32f,_0x1512bf={'TrjJb':_0x371988(0x12c),'hDWrW':function(_0x2c93e7){return _0x2c93e7();},'vyVPP':function(_0x1efeb0,_0x27d067){return _0x1efeb0 in _0x27d067;},'HEwWx':function(_0x1d27d6,_0x1c48a3){return _0x1d27d6 in _0x1c48a3;},'onjGD':function(_0x492fb1,_0x5446c8){return _0x492fb1===_0x5446c8;},'hBgIH':function(_0x4f65b4,_0x12e425){return _0x4f65b4===_0x12e425;},'cuFbB':function(_0x75e47e,_0x3f805b){return _0x75e47e>_0x3f805b;},'UmGHW':function(_0x515065,_0x48d6f4){return _0x515065===_0x48d6f4;},'LclMn':_0x371988(0xcd),'NUvwn':_0x371988(0xa3),'BSXgW':_0x371988(0x10d),'usCPP':function(_0x48e1a4,_0x53ba8a){return _0x48e1a4!==_0x53ba8a;}},{hookData:_0x4a8f8e}=_0x1c072f;if(!_0x4a8f8e)return logger[_0x371988(0x145)](_0x1512bf[_0x371988(0x149)]),{};const _0x5993e3=_0x4a8f8e[_0x371988(0x146)]||_0x1512bf[_0x371988(0xe5)](uuidv4),_0x3f1a99=_0x4a8f8e['test_run_id'],_0x33010f=_0x239635[_0x371988(0x148)]()['split']('.')[0x1],_0x12141b=TestInfo[_0x371988(0xe9)](_0x3f1a99)[TestFrameworkConstants[_0x371988(0x94)]]||{},_0x43d20f=_0x58198e[_0x371988(0x154)]()[_0x371988(0xdf)](_0x3f1a99);if(!_0x43d20f)return logger[_0x371988(0x145)]('No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x3f1a99+_0x371988(0x144)),this[_0x371988(0xdc)](_0x58198e,_0x3f1a99,_0x239635,_0xffa5b,_0x1c072f),{};let _0x34f855=_0x43d20f[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x34f855&&(_0x34f855={});!_0x1512bf[_0x371988(0xec)](_0x33010f,_0x34f855)&&(_0x34f855[_0x33010f]=[]);let _0x5d827d=_0x43d20f[TestFrameworkConstants[_0x371988(0x13f)]];!_0x5d827d&&(_0x5d827d={});!_0x1512bf[_0x371988(0xf6)](_0x33010f,_0x5d827d)&&(_0x5d827d[_0x33010f]=[]);const _0x282e31={[TestFrameworkConstants[_0x371988(0x14c)]]:_0x34f855,[TestFrameworkConstants[_0x371988(0x13f)]]:_0x5d827d},_0xd56259={};_0xd56259[_0x3f1a99]=_0x282e31;const _0x3332a7=_0xd56259;if(_0x1512bf[_0x371988(0xd4)](_0xffa5b,HookState[_0x371988(0x14b)])){const _0x55dfda={[TestFrameworkConstants[_0x371988(0x165)]]:_0x5993e3,[TestFrameworkConstants[_0x371988(0x114)]]:TestFrameworkConstants[_0x371988(0x119)],[TestFrameworkConstants[_0x371988(0x15f)]]:_0x4a8f8e[_0x371988(0x113)],[TestFrameworkConstants[_0x371988(0x112)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x4a8f8e['hook_type'],[TestFrameworkConstants[_0x371988(0x94)]]:_0x12141b};_0x55dfda[_0x371988(0x159)]=_0x33010f;const _0x461c53=_0x55dfda;_0x34f855[_0x33010f][_0x371988(0x9a)](_0x461c53),_0x3332a7[_0x3f1a99][TestFrameworkConstants[_0x371988(0xc5)]]=_0x33010f,logger[_0x371988(0x145)](_0x371988(0xd6)+_0x33010f+_0x371988(0x163)+_0x461c53+_0x371988(0x10e)+_0x1c072f);}else{if(_0x1512bf[_0x371988(0xca)](_0xffa5b,HookState[_0x371988(0xfb)])){const _0x9030e9=_0x4a8f8e['result'],_0x350611=_0x34f855[_0x33010f]||[];logger[_0x371988(0x145)](_0x371988(0x140)+_0x350611+'\x20and\x20args\x20=\x20'+_0x1c072f);if(_0x1512bf[_0x371988(0xf2)](_0x350611[_0x371988(0x10c)],0x0)){const _0x313c69=_0x350611[_0x371988(0x99)]();_0x1512bf['UmGHW'](_0x4a8f8e[_0x371988(0x134)],_0x1512bf[_0x371988(0xfd)])&&_0x4a8f8e[_0x371988(0xba)]?(_0x313c69[TestFrameworkConstants[_0x371988(0xa0)]]=_0x4a8f8e['failure_type']||_0x1512bf[_0x371988(0xa8)],_0x313c69[TestFrameworkConstants[_0x371988(0x136)]]=_0x4a8f8e['failure_reason']||'',_0x313c69[TestFrameworkConstants[_0x371988(0x120)]]=_0x4a8f8e['failure_data']):_0x313c69[TestFrameworkConstants[_0x371988(0x114)]]=_0x1512bf['BSXgW'];_0x1512bf[_0x371988(0x103)](_0x9030e9,TestFrameworkConstants[_0x371988(0x119)])&&(_0x313c69[TestFrameworkConstants[_0x371988(0x114)]]=_0x9030e9);_0x313c69[TestFrameworkConstants[_0x371988(0xe2)]]=_0x4a8f8e[_0x371988(0x138)]||new Date()[_0x371988(0x9e)](),_0x313c69[TestFrameworkConstants[_0x371988(0x94)]]=_0x12141b;const _0x4f6a9b=_0x313c69[TestFrameworkConstants[_0x371988(0x165)]];!_0x5d827d[_0x33010f]&&(_0x5d827d[_0x33010f]=[]),_0x5d827d[_0x33010f][_0x371988(0x9a)](_0x313c69),_0x3332a7[_0x3f1a99][TestFrameworkConstants[_0x371988(0xda)]]=_0x33010f;}}}return logger[_0x371988(0x145)](_0x371988(0xb3)+_0x4a8f8e[_0x371988(0x9b)]+_0x371988(0xd8)+_0x5993e3+'\x20for\x20test:\x20'+_0x3f1a99),_0x3332a7;}[a70_0x3bd32f(0x104)](_0x1eccd9){const _0x4145ff=a70_0x3bd32f,_0xa8b7cf={};_0xa8b7cf['nGdsE']=_0x4145ff(0x13a);const _0x716b54=_0xa8b7cf;try{const _0x9897bf=_0x1eccd9['test']?_0x1eccd9['test']['id']:_0x1eccd9[_0x4145ff(0xf4)][_0x4145ff(0xe0)],_0x23be77=_0x1eccd9[_0x4145ff(0x11a)],_0x38faf8=_0x23be77[_0x4145ff(0x11d)](),_0x40c3c4=_0x23be77[_0x4145ff(0x154)]()[_0x4145ff(0xdf)](_0x9897bf);if(!_0x40c3c4)return logger[_0x4145ff(0x145)](_0x4145ff(0x155)+_0x9897bf),{};logger[_0x4145ff(0x145)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x9897bf);const {[TestFrameworkConstants[_0x4145ff(0x116)]]:_0x56132b='',[TestFrameworkConstants[_0x4145ff(0x111)]]:_0x58e315='',[TestFrameworkConstants[_0x4145ff(0x147)]]:_0x1f020b='',[TestFrameworkConstants[_0x4145ff(0xf9)]]:_0x43437c=''}=_0x40c3c4,_0x578880=_0x23be77[_0x4145ff(0x13c)]()['toString']()['split']('.')[0x1],_0x4a7ac3=_0x23be77[_0x4145ff(0xc3)]()[_0x4145ff(0x148)]()[_0x4145ff(0x13d)]('.')[0x1],_0x115d04=global?.['__workerDetails']?.['workerInfo']?.[_0x4145ff(0x127)],_0x456f05=_0x23be77['getRef'](),_0x1c06cf=Buffer['from'](JSON[_0x4145ff(0x110)](_0x40c3c4))[_0x4145ff(0x148)](_0x716b54[_0x4145ff(0x12d)]),_0x5c9fb6={'hash':_0x38faf8['getId'](),'threadId':_0x38faf8[_0x4145ff(0xa4)]()[_0x4145ff(0x148)](),'processId':_0x38faf8['getProcessId']()['toString']()},_0x505a86={};_0x505a86['platformIndex']=_0x115d04,_0x505a86[_0x4145ff(0x121)]=_0x56132b,_0x505a86[_0x4145ff(0x143)]=_0x58e315,_0x505a86[_0x4145ff(0x133)]=_0x578880,_0x505a86[_0x4145ff(0x124)]=_0x4a7ac3,_0x505a86[_0x4145ff(0xe6)]=_0x1f020b,_0x505a86[_0x4145ff(0x153)]=_0x43437c,_0x505a86['uuid']=_0x456f05,_0x505a86[_0x4145ff(0xff)]=_0x1c06cf,_0x505a86['executionContext']=_0x5c9fb6;const _0x4442c9=_0x505a86;return logger[_0x4145ff(0x145)](_0x4145ff(0x115)+_0x9897bf+_0x4145ff(0xbc)+_0x578880+_0x4145ff(0xeb)+_0x4a7ac3),_0x4442c9;}catch(_0x2dde07){return logger[_0x4145ff(0xde)](_0x4145ff(0xb7)+util[_0x4145ff(0x125)](_0x2dde07)),{};}}async['sendLogCreatedEvent'](_0x984bc6,_0x5f0c61,_0x54af33){const _0xefe44e=a70_0x3bd32f,_0x2d42a3={'UWXOf':function(_0x1d1dc7,_0x6e638c,_0x5eb269){return _0x1d1dc7(_0x6e638c,_0x5eb269);},'yEJqq':function(_0x515e07,_0x4914c9){return _0x515e07===_0x4914c9;},'AsOAl':_0xefe44e(0x15a),'zYvJm':function(_0x22a31f,_0x419699){return _0x22a31f/_0x419699;},'FjYzU':function(_0x5ebcf6,_0x21f152){return _0x5ebcf6<_0x21f152;},'AhkDM':function(_0x382e9c,_0x1cfff7){return _0x382e9c*_0x1cfff7;},'xOcPD':function(_0x2a7c7b,_0x3cf00e){return _0x2a7c7b+_0x3cf00e;},'LFMHt':_0xefe44e(0x123)};try{const _0x1a4e23=_0x54af33[_0xefe44e(0x97)],_0x3155d5=_0x984bc6[_0xefe44e(0x154)]()[_0xefe44e(0xdf)](_0x1a4e23),{[TestFrameworkConstants[_0xefe44e(0x116)]]:_0x1f83a4='',[TestFrameworkConstants[_0xefe44e(0x111)]]:_0x28aab1=''}=_0x3155d5,_0x3459d8=TestInfo[_0xefe44e(0xe3)](_0x1a4e23),_0x24f612=TestInfo[_0xefe44e(0xe9)](_0x1a4e23)[TestFrameworkConstants[_0xefe44e(0x122)]]||{},_0x5ede3a=_0x2d42a3[_0xefe44e(0xfa)](getMediaArtifactsLogs,_0x24f612,_0x984bc6[_0xefe44e(0x154)]()[_0xefe44e(0xdf)](_0x1a4e23)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x352a5b=(_0x3459d8||[])['concat'](_0x5ede3a||[]);if(!_0x352a5b||_0x2d42a3[_0xefe44e(0xb9)](_0x352a5b[_0xefe44e(0x10c)],0x0)){logger['debug'](_0x2d42a3[_0xefe44e(0xc0)]);return;}const _0x479b08=0x28,_0x41f3f5=Math['ceil'](_0x2d42a3[_0xefe44e(0x128)](_0x352a5b[_0xefe44e(0x10c)],_0x479b08));for(let _0x25f9ea=0x0;_0x2d42a3['FjYzU'](_0x25f9ea,_0x41f3f5);_0x25f9ea++){const _0x31ee77=_0x2d42a3[_0xefe44e(0xaa)](_0x25f9ea,_0x479b08),_0x5f3c48=_0x2d42a3[_0xefe44e(0x135)](_0x31ee77,_0x479b08),_0x347679=_0x352a5b[_0xefe44e(0x118)](_0x31ee77,_0x5f3c48),_0x3de274={'platformIndex':'0','logs':_0x347679,'testFrameworkName':_0x1f83a4,'testFrameworkVersion':_0x28aab1,'testFrameworkState':_0x5f0c61[_0xefe44e(0x148)]()['split']('.')[0x1]};logger[_0xefe44e(0x145)](_0xefe44e(0xd1)+_0x1a4e23+_0xefe44e(0xc4)+_0x2d42a3[_0xefe44e(0x135)](_0x25f9ea,0x1)+'/'+_0x41f3f5+_0xefe44e(0xed)+util[_0xefe44e(0xd5)](_0x3de274));const _0x55eab6=await GrpcClient['getInstance']()['logCreatedEvent'](_0x3de274);logger[_0xefe44e(0x145)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x1a4e23+_0xefe44e(0xc4)+_0x2d42a3[_0xefe44e(0x135)](_0x25f9ea,0x1)+'/'+_0x41f3f5+_0xefe44e(0x11b)+util[_0xefe44e(0xd5)](_0x55eab6));}}catch(_0x30162b){logger['error'](_0xefe44e(0x152)+util['format'](_0x30162b));}logger[_0xefe44e(0x145)](_0x2d42a3[_0xefe44e(0x160)]);}[a70_0x3bd32f(0xdc)](_0x159ed6,_0x2bb5e3,_0x4c4ec2,_0x11dada,_0x215a63){const _0x5ec187=a70_0x3bd32f,_0x457fce={'testId':_0x2bb5e3,'testFrameworkState':_0x4c4ec2,'hookState':_0x11dada,'args':_0x215a63,'timestamp':new Date()[_0x5ec187(0x9e)]()};_0x159ed6[_0x5ec187(0xbe)](_0x2bb5e3,_0x457fce),logger[_0x5ec187(0x145)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x2bb5e3+_0x5ec187(0xf3)+_0x4c4ec2+_0x5ec187(0xac)+_0x11dada);}async[a70_0x3bd32f(0xbb)](_0x5c8253,_0xc694ec){const _0x2b2259=a70_0x3bd32f,_0x210f86={};_0x210f86[_0x2b2259(0xdb)]=function(_0x40fcb5,_0x13d5f7){return _0x40fcb5>_0x13d5f7;};const _0x37c974=_0x210f86;if(!_0x5c8253['hasPendingHooks'](_0xc694ec))return;const _0x4822e8=_0x5c8253['getPendingHooks'](_0xc694ec);logger[_0x2b2259(0x145)](_0x2b2259(0x162)+_0x4822e8[_0x2b2259(0x10c)]+_0x2b2259(0x132)+_0xc694ec);for(const _0xa9e5d0 of _0x4822e8){try{const _0x6fff16=await this[_0x2b2259(0xb0)](_0x5c8253,_0xa9e5d0[_0x2b2259(0x133)],_0xa9e5d0[_0x2b2259(0x124)],_0xa9e5d0[_0x2b2259(0x98)]);_0x6fff16&&_0x37c974[_0x2b2259(0xdb)](Object[_0x2b2259(0xcc)](_0x6fff16)[_0x2b2259(0x10c)],0x0)&&_0x5c8253[_0x2b2259(0xad)](_0x6fff16),await this[_0x2b2259(0x14f)](_0x5c8253,_0xa9e5d0[_0x2b2259(0x133)],_0xa9e5d0[_0x2b2259(0x124)],_0xa9e5d0[_0x2b2259(0x98)]);}catch(_0x337f1a){logger[_0x2b2259(0xde)](_0x2b2259(0xc2)+_0xc694ec+_0x2b2259(0x14d)+_0x337f1a);}}_0x5c8253[_0x2b2259(0xd3)](_0xc694ec),logger['debug'](_0x2b2259(0xc6)+_0xc694ec);}}function a70_0x4d75(_0x1925fe,_0x3e8276){const _0x14ea6a=a70_0x14ea();return a70_0x4d75=function(_0x4d7507,_0x3b19e0){_0x4d7507=_0x4d7507-0x92;let _0x59708f=_0x14ea6a[_0x4d7507];return _0x59708f;},a70_0x4d75(_0x1925fe,_0x3e8276);}module[a70_0x3bd32f(0x14a)]=CucumberTestFramework;
1
+ const a70_0x4178a1=a70_0x1025;(function(_0x2ec5d1,_0x1765b7){const _0x40b7dd=a70_0x1025,_0x3b45ba=_0x2ec5d1();while(!![]){try{const _0x5bcebd=parseInt(_0x40b7dd(0x15c))/0x1+parseInt(_0x40b7dd(0xc2))/0x2*(-parseInt(_0x40b7dd(0x159))/0x3)+parseInt(_0x40b7dd(0xed))/0x4*(parseInt(_0x40b7dd(0x145))/0x5)+parseInt(_0x40b7dd(0xdd))/0x6*(-parseInt(_0x40b7dd(0x103))/0x7)+parseInt(_0x40b7dd(0xc3))/0x8+parseInt(_0x40b7dd(0x14a))/0x9*(-parseInt(_0x40b7dd(0x10c))/0xa)+-parseInt(_0x40b7dd(0x171))/0xb*(-parseInt(_0x40b7dd(0x140))/0xc);if(_0x5bcebd===_0x1765b7)break;else _0x3b45ba['push'](_0x3b45ba['shift']());}catch(_0x53d657){_0x3b45ba['push'](_0x3b45ba['shift']());}}}(a70_0x2ab7,0x227df));function a70_0x2ab7(){const _0x56e58a=['uuid','sendLogCreatedEvent:\x20for\x20testId:\x20','testFrameworkVersion','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','TdAfb','KEY_TEST_RERUN_NAME',',\x20error:\x20','resolveInstance','\x20pending\x20hooks\x20for\x20testId:\x20','args','startedAt','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','from','../cliUtils.js','trackCucumberInstance:\x20saved\x20instance\x20contextId=','KEY_AUTOMATE_SESSION_NAME','addMultipleEntries','hookState','KEY_TEST_FAILURE','sendLogCreatedEvent','exports','\x20testState:\x20','UnhandledError','createContext','toISOString','test_run_id','finished_at','\x20batch\x20','oAmKa','rbHFH','./constants/testFrameworkConstants.js','xkrWl','slice','getContext','../../../helpers/helper.js','KEY_HOOK_RESULT','hasPendingHooks','unknown','\x20with\x20result:\x20','KEY_HOOKS_STARTED','Updated\x20cucumber\x20test\x20result:\x20','error','passed','KEY_TEST_UUID','failure_data','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','\x20with\x20UUID:\x20','18060jZuybf','Parsed\x20cucumber\x20test:\x20','LOG_REPORT','test','KEY_TEST_SCOPES','965FpZgOL','hooks','Tracked\x20cucumber\x20hook\x20event:\x20','executionContext','POST','893421TaMiFY','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','getCurrentInstanceName','trackHookEvent','\x20with\x20id\x20','setTestDetails','KEY_TEST_ENDED_AT','util','getCurrentHookState','Stored\x20pending\x20hook\x20for\x20testId:\x20',',\x20state=','stringify','../grpcClient','getTestUUID','6933giMnwa','get','KEY_TEST_FRAMEWORK_VERSION','173971jWQnjP','KEY_TEST_META','concat','failure','split','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','result','../state/hookState.js','KEY_TEST_CODE','createTestFrameworkEventPayload\x20testId:\x20','FEefu','CucumberTestFramework','HWHEK','getTestFrameworks','parseCucumberTest','getTestDetails','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','processPendingHooks','testFrameworkState','\x20payload=','testFrameworkName','649AuNApW','fsLtl','JGwIP','finishedAt','zpdRB','cfuLR','HLqUj','addPendingHook','\x20&\x20hook\x20=\x20','\x20hookState:\x20','ObuuD','file_name','KEY_TEST_LOGS','trackEvent','KEY_TEST_RESULT','name','failed','instance','setTrackedInstance','\x20for\x20test:\x20','inspect','failure_type','KEY_TEST_NAME','format','parseCucumberTestResult','ceil','trackCucumberInstance','KEY_TEST_RESULT_AT','getInstance','testData','getThreadId','\x20\x20and\x20args\x20=\x20','70RKBZlE','1157688tEFeON','push','KEY_HOOK_ID','__workerDetails','getProcessId','debug','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','KEY_LOGS','sPGZe','QELDi','HzzVx','getTestFrameworksVersions','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','getTrackedInstance','pop','./testFramework','NONE','szsFE','TEST','SUMqy','getAllData','getCurrentTestState','runHooks','KEY_HOOKS_FINISHED','KphBa','location','950514qHBTqS','../state/testFrameworkState.js','length','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','base64','cJBbd','tags','DEFAULT_HOOK_RESULT','customRerunParam','zBDGu','OGjBN','KEY_CUSTOM_TAGS','KEY_TEST_STARTED_AT','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','failure_reason','1500sUQxPC','toString','KEY_EVENT_ENDED_AT','trackEvent:\x20unsupported\x20testFrameworkState=','swxZE','key','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_TAGS','PRE','CvJBP','readLogObjects','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','body','testUUID','../../../helpers/classLogger.js','KEY_TEST_LOCATION','scopes','storePendingHook','getRef','mLoPb','INIT_TEST',',\x20hookState:\x20','7tZcAgH','ZaOKO','lZJre','getId','wmwbz','KEY_EVENT_STARTED_AT','hook_type','gWsQz','removePendingHooks','10nvvVaG','meta','workerInfo'];a70_0x2ab7=function(){return _0x56e58a;};return a70_0x2ab7();}const TestFramework=require(a70_0x4178a1(0xd2)),TestFrameworkState=require(a70_0x4178a1(0xde)),HookState=require(a70_0x4178a1(0x163)),{createClassLogger}=require(a70_0x4178a1(0xfb)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a70_0x4178a1(0x11d)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a70_0x4178a1(0x12e)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x4178a1(0x132)),logger=createClassLogger(a70_0x4178a1(0x167)),{v4:uuidv4}=require(a70_0x4178a1(0x10f)),util=require(a70_0x4178a1(0x152)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a70_0x4178a1(0x157));class CucumberTestFramework extends TestFramework{constructor(_0x7cdfba,_0x3eddd5,_0x12ddda){super(_0x7cdfba,_0x3eddd5,_0x12ddda);}async[a70_0x4178a1(0x17e)](_0x347b23,_0x3df8b0,_0x417d22={}){const _0x4c9b07=a70_0x4178a1,_0x51a806={};_0x51a806[_0x4c9b07(0xd4)]=_0x4c9b07(0x14b),_0x51a806[_0x4c9b07(0x104)]=function(_0xa3b3c1,_0x2f2e16){return _0xa3b3c1===_0x2f2e16;},_0x51a806[_0x4c9b07(0xe8)]=_0x4c9b07(0xeb);const _0x24f471=_0x51a806;await super[_0x4c9b07(0x17e)](_0x347b23,_0x3df8b0,_0x417d22);const _0x3b0e14=this[_0x4c9b07(0x116)](_0x347b23,_0x3df8b0,_0x417d22);if(!_0x3b0e14){logger[_0x4c9b07(0xc8)](_0x24f471['szsFE']);return;}try{let _0x19ae65,_0x58ff04;switch(_0x347b23){case TestFrameworkState[_0x4c9b07(0xd5)]:_0x19ae65=_0x417d22[_0x4c9b07(0x143)],_0x58ff04=TestInfo[_0x4c9b07(0x158)](_0x19ae65['id']);if(_0x24f471[_0x4c9b07(0x104)](_0x3df8b0,HookState[_0x4c9b07(0xf5)])){logger[_0x4c9b07(0xc8)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x19ae65['id']);const _0x2282c7={};_0x2282c7[_0x4c9b07(0xfa)]=_0x58ff04,_0x2282c7[_0x4c9b07(0x18e)]=_0x19ae65,_0x3b0e14['addMultipleEntries'](this[_0x4c9b07(0x16a)](_0x2282c7)),logger['debug'](_0x4c9b07(0xe1)+_0x19ae65['id']),await this[_0x4c9b07(0x16d)](_0x3b0e14,_0x19ae65['id']);}else{if(_0x24f471[_0x4c9b07(0x104)](_0x3df8b0,HookState[_0x4c9b07(0x149)])){const _0xc9a956={};_0xc9a956['testUUID']=_0x58ff04,_0xc9a956[_0x4c9b07(0x18e)]=_0x19ae65,_0x3b0e14['addMultipleEntries'](this[_0x4c9b07(0x189)](_0xc9a956)),await this[_0x4c9b07(0x16d)](_0x3b0e14,_0x19ae65['id']);}}break;case TestFrameworkState[_0x4c9b07(0x142)]:_0x24f471[_0x4c9b07(0x104)](_0x3df8b0,HookState[_0x4c9b07(0x149)])&&await this[_0x4c9b07(0x123)](_0x3b0e14,_0x347b23,_0x417d22);break;default:if(CLIUtils['matchHookRegex'](_0x347b23[_0x4c9b07(0xee)]()[_0x4c9b07(0x160)]('.')[0x1])){const _0xd9a795=await this['trackHookEvent'](_0x3b0e14,_0x347b23,_0x3df8b0,_0x417d22);_0x3b0e14[_0x4c9b07(0x120)](_0xd9a795);}else logger['debug'](_0x4c9b07(0xf0)+_0x347b23+'\x20&\x20hookState='+_0x3df8b0);break;}}catch(_0xd092b6){logger[_0x4c9b07(0x139)](util[_0x4c9b07(0x188)](_0x24f471[_0x4c9b07(0xe8)],_0x347b23,_0x3df8b0,_0x417d22[_0x4c9b07(0xdf)],_0xd092b6));}_0x417d22['instance']=_0x3b0e14,await this[_0x4c9b07(0xd9)](_0x3b0e14,_0x347b23,_0x3df8b0,_0x417d22);}[a70_0x4178a1(0x116)](_0x40c55e,_0x2f36e9,_0x16b8a8={}){const _0x20d86d=a70_0x4178a1,_0x5bfabe={};_0x5bfabe[_0x20d86d(0xf1)]=function(_0xdbc144,_0x4f2b36){return _0xdbc144===_0x4f2b36;},_0x5bfabe[_0x20d86d(0xdb)]=function(_0x21b54f,_0xa2c216){return _0x21b54f===_0xa2c216;};const _0x29e317=_0x5bfabe;let _0x54ce5c=null;return(_0x29e317[_0x20d86d(0xf1)](_0x40c55e,TestFrameworkState[_0x20d86d(0x101)])||_0x29e317[_0x20d86d(0xdb)](_0x40c55e,TestFrameworkState[_0x20d86d(0xd3)]))&&this['trackCucumberInstance'](_0x40c55e,_0x16b8a8),_0x54ce5c=TestFramework[_0x20d86d(0xd0)](),_0x54ce5c;}[a70_0x4178a1(0x18b)](_0x35acb8,_0x5ae3f2){const _0x24a2f3=a70_0x4178a1,_0x6c51e=CLIUtils[_0x24a2f3(0x14d)](),_0x1fa46e=TrackedInstance[_0x24a2f3(0x127)](_0x6c51e);let _0x15d279=null;logger[_0x24a2f3(0xc8)](_0x24a2f3(0x112)+_0x6c51e+_0x24a2f3(0x155)+_0x35acb8),_0x15d279=new TestFrameworkInstance(_0x1fa46e,this[_0x24a2f3(0x169)](),this[_0x24a2f3(0xce)](),_0x35acb8,HookState[_0x24a2f3(0xd3)]),TestFramework[_0x24a2f3(0x183)](_0x1fa46e,_0x15d279),logger[_0x24a2f3(0xc8)](_0x24a2f3(0x11e)+_0x1fa46e[_0x24a2f3(0x106)]()+'\x20target='+_0x6c51e);}[a70_0x4178a1(0x16a)](_0x10367e){const _0x1eb6a6=a70_0x4178a1,_0x1bb988={};_0x1bb988[_0x1eb6a6(0xcc)]=_0x1eb6a6(0x16c);const _0x49b42d=_0x1bb988,{testUUID:_0x5e5faa,testData:_0xd4ef40}=_0x10367e;if(!_0xd4ef40||!_0xd4ef40['uuid'])return logger[_0x1eb6a6(0xc8)](_0x49b42d[_0x1eb6a6(0xcc)]),{};const _0x358ade=_0xd4ef40['uuid'],_0x1ca597=_0xd4ef40['uuid'],_0x4f94d5=this[_0x1eb6a6(0x169)]()[0x0],_0x49b064=this['getTestFrameworksVersions'](),_0x214ec6={[TestFrameworkConstants[_0x1eb6a6(0xf3)]]:_0x4f94d5,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x49b064[_0x4f94d5],[TestFrameworkConstants[_0x1eb6a6(0x17d)]]:[],[TestFrameworkConstants[_0x1eb6a6(0xda)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x1eb6a6(0x13b)]]:_0x358ade,[TestFrameworkConstants[_0x1eb6a6(0x17f)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x1eb6a6(0x11f)]]:_0xd4ef40[_0x1eb6a6(0x180)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0xd4ef40[_0x1eb6a6(0x17c)]||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0x1ca597,[TestFrameworkConstants[_0x1eb6a6(0x187)]]:_0xd4ef40[_0x1eb6a6(0x180)]||'',[TestFrameworkConstants[_0x1eb6a6(0xfc)]]:_0xd4ef40[_0x1eb6a6(0xdc)]||'',[TestFrameworkConstants[_0x1eb6a6(0x164)]]:_0xd4ef40[_0x1eb6a6(0xf9)]?.['code']||null,[TestFrameworkConstants[_0x1eb6a6(0xf4)]]:_0xd4ef40[_0x1eb6a6(0xe4)]||[],[TestFrameworkConstants[_0x1eb6a6(0xea)]]:_0xd4ef40[_0x1eb6a6(0x119)]||new Date()[_0x1eb6a6(0x128)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0xd4ef40[_0x1eb6a6(0xfd)]?.[0x0]||'',[TestFrameworkConstants[_0x1eb6a6(0x144)]]:_0xd4ef40[_0x1eb6a6(0xfd)]||[],[TestFrameworkConstants[_0x1eb6a6(0x114)]]:_0xd4ef40[_0x1eb6a6(0xe6)]?.['rerun_name']||_0xd4ef40['name']||'',[TestFrameworkConstants[_0x1eb6a6(0xe9)]]:{},[TestFrameworkConstants[_0x1eb6a6(0x15d)]]:_0xd4ef40['meta']||{}};TestInfo[_0x1eb6a6(0x150)](_0x1ca597,_0x214ec6),logger[_0x1eb6a6(0xc8)](_0x1eb6a6(0x141)+_0xd4ef40[_0x1eb6a6(0x180)]+_0x1eb6a6(0x13f)+_0x358ade);const _0x6c59e4={};return _0x6c59e4[_0x1ca597]=_0x214ec6,_0x6c59e4;}[a70_0x4178a1(0x189)](_0x286bdc){const _0x53d60b=a70_0x4178a1,_0x40f61c={'bwBxE':_0x53d60b(0x11b),'TdAfb':_0x53d60b(0x135),'NIrWD':function(_0xcce2a8,_0x4a10f3){return _0xcce2a8===_0x4a10f3;},'cfuLR':_0x53d60b(0x181),'FEefu':_0x53d60b(0x126),'xkrWl':function(_0x19344a,_0x28faac,_0x2f81e6){return _0x19344a(_0x28faac,_0x2f81e6);},'lZJre':function(_0x4e3e4f,_0x5e3d16){return _0x4e3e4f>_0x5e3d16;},'JGwIP':function(_0xbbbffc,_0x5ec1cf){return _0xbbbffc>_0x5ec1cf;}},{testUUID:_0x217c52,testData:_0x48d8bb}=_0x286bdc;if(!_0x48d8bb||!_0x48d8bb[_0x53d60b(0x10f)])return logger['debug'](_0x40f61c['bwBxE']),{};const _0x4b1fba=this[_0x53d60b(0x116)](TestFrameworkState[_0x53d60b(0xd5)],HookState[_0x53d60b(0x149)]),_0x45835a=_0x48d8bb['uuid'],_0x4385c8=TestInfo[_0x53d60b(0x16b)](_0x45835a)||{},_0x50df2c=_0x4385c8?_0x4385c8[TestFrameworkConstants[_0x53d60b(0xe9)]]||{}:{},_0x3a0281={..._0x4385c8,[TestFrameworkConstants[_0x53d60b(0x17f)]]:_0x48d8bb[_0x53d60b(0x162)]||_0x40f61c[_0x53d60b(0x113)],[TestFrameworkConstants[_0x53d60b(0x151)]]:_0x48d8bb[_0x53d60b(0x174)]||new Date()[_0x53d60b(0x128)](),[TestFrameworkConstants[_0x53d60b(0x18c)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x53d60b(0xe9)]]:_0x50df2c,[TestFrameworkConstants[_0x53d60b(0xca)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:_0x48d8bb[_0x53d60b(0x10d)]||{}};_0x40f61c['NIrWD'](_0x48d8bb[_0x53d60b(0x162)],_0x40f61c[_0x53d60b(0x176)])&&_0x48d8bb[_0x53d60b(0x15f)]&&(_0x3a0281[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x48d8bb[_0x53d60b(0x186)]||_0x40f61c[_0x53d60b(0x166)],_0x3a0281[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x48d8bb['failure_reason']||'',_0x3a0281[TestFrameworkConstants[_0x53d60b(0x122)]]=_0x48d8bb[_0x53d60b(0x15f)]);const _0x4a5229=TestInfo[_0x53d60b(0x16b)](_0x45835a)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x616eed=_0x40f61c[_0x53d60b(0x12f)](getManualUploadLogs,_0x4a5229,_0x4b1fba[_0x53d60b(0xd7)]()[_0x53d60b(0x15a)](_0x45835a)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x40f61c[_0x53d60b(0x105)](_0x616eed[_0x53d60b(0xdf)],0x0)){const _0x54cdce=_0x3a0281[TestFrameworkConstants[_0x53d60b(0xca)]]||[];_0x3a0281[TestFrameworkConstants[_0x53d60b(0xca)]]=[..._0x54cdce,..._0x616eed];}_0x48d8bb[_0x53d60b(0x146)]&&_0x40f61c[_0x53d60b(0x173)](_0x48d8bb[_0x53d60b(0x146)][_0x53d60b(0xdf)],0x0)&&(_0x3a0281[TestFrameworkConstants[_0x53d60b(0xda)]]=_0x48d8bb[_0x53d60b(0x146)]);TestInfo['setTestDetails'](_0x45835a,_0x3a0281),logger[_0x53d60b(0xc8)](_0x53d60b(0x138)+_0x48d8bb['name']+_0x53d60b(0x136)+_0x48d8bb[_0x53d60b(0x162)]);const _0x2227c6={};return _0x2227c6[_0x45835a]=_0x3a0281,_0x2227c6;}async[a70_0x4178a1(0x14e)](_0x537cef,_0x2cbc6d,_0x38237e,_0x45f493){const _0x37370f=a70_0x4178a1,_0x15583d={'HWHEK':_0x37370f(0x14c),'wmwbz':function(_0xa84c90){return _0xa84c90();},'zpdRB':function(_0x5b4b15,_0x2c8e3f){return _0x5b4b15 in _0x2c8e3f;},'brlBW':function(_0x3764a9,_0x3d94b8){return _0x3764a9 in _0x3d94b8;},'HzzVx':function(_0x210e47,_0x261895){return _0x210e47===_0x261895;},'ObuuD':function(_0xd46878,_0x27bbaf){return _0xd46878>_0x27bbaf;},'zBDGu':function(_0x3250f6,_0x3e81ed){return _0x3250f6===_0x3e81ed;},'DULWx':'failed','NAzuM':'UnhandledError','cJBbd':_0x37370f(0x13a),'kILRx':function(_0x410fe5,_0x34eca9){return _0x410fe5!==_0x34eca9;}},{hookData:_0xb9211a}=_0x45f493;if(!_0xb9211a)return logger[_0x37370f(0xc8)](_0x15583d[_0x37370f(0x168)]),{};const _0x1af2f2=_0xb9211a['uuid']||_0x15583d[_0x37370f(0x107)](uuidv4),_0x28a707=_0xb9211a[_0x37370f(0x129)],_0x2e45ae=_0x2cbc6d[_0x37370f(0xee)]()[_0x37370f(0x160)]('.')[0x1],_0x368a94=TestInfo[_0x37370f(0x16b)](_0x28a707)[TestFrameworkConstants[_0x37370f(0xe9)]]||{},_0x33642e=_0x537cef[_0x37370f(0xd7)]()[_0x37370f(0x15a)](_0x28a707);if(!_0x33642e)return logger[_0x37370f(0xc8)](_0x37370f(0x11a)+_0x28a707+',\x20storing\x20as\x20pending\x20hook'),this['storePendingHook'](_0x537cef,_0x28a707,_0x2cbc6d,_0x38237e,_0x45f493),{};let _0x4e47b4=_0x33642e[TestFrameworkConstants[_0x37370f(0x137)]];!_0x4e47b4&&(_0x4e47b4={});!_0x15583d[_0x37370f(0x175)](_0x2e45ae,_0x4e47b4)&&(_0x4e47b4[_0x2e45ae]=[]);let _0x4e1155=_0x33642e[TestFrameworkConstants[_0x37370f(0xda)]];!_0x4e1155&&(_0x4e1155={});!_0x15583d['brlBW'](_0x2e45ae,_0x4e1155)&&(_0x4e1155[_0x2e45ae]=[]);const _0x49f7fe={[TestFrameworkConstants[_0x37370f(0x137)]]:_0x4e47b4,[TestFrameworkConstants[_0x37370f(0xda)]]:_0x4e1155},_0x2e8603={};_0x2e8603[_0x28a707]=_0x49f7fe;const _0x4e0464=_0x2e8603;if(_0x15583d[_0x37370f(0xcd)](_0x38237e,HookState['PRE'])){const _0x7ee221={[TestFrameworkConstants[_0x37370f(0xc5)]]:_0x1af2f2,[TestFrameworkConstants[_0x37370f(0x133)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x37370f(0x108)]]:_0xb9211a['started_at'],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0xb9211a[_0x37370f(0x109)],[TestFrameworkConstants[_0x37370f(0xe9)]]:_0x368a94};_0x7ee221[_0x37370f(0xf2)]=_0x2e45ae;const _0x4030b0=_0x7ee221;_0x4e47b4[_0x2e45ae][_0x37370f(0xc4)](_0x4030b0),_0x4e0464[_0x28a707][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x2e45ae,logger['debug'](_0x37370f(0xe0)+_0x2e45ae+_0x37370f(0x179)+_0x4030b0+_0x37370f(0xc1)+_0x45f493);}else{if(_0x15583d[_0x37370f(0xcd)](_0x38237e,HookState[_0x37370f(0x149)])){const _0x3c6b2f=_0xb9211a[_0x37370f(0x162)],_0x303961=_0x4e47b4[_0x2e45ae]||[];logger['debug']('trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20'+_0x303961+'\x20and\x20args\x20=\x20'+_0x45f493);if(_0x15583d[_0x37370f(0x17b)](_0x303961['length'],0x0)){const _0x5b9172=_0x303961[_0x37370f(0xd1)]();_0x15583d[_0x37370f(0xe7)](_0xb9211a[_0x37370f(0x162)],_0x15583d['DULWx'])&&_0xb9211a[_0x37370f(0x13c)]?(_0x5b9172[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0xb9211a[_0x37370f(0x186)]||_0x15583d['NAzuM'],_0x5b9172[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0xb9211a[_0x37370f(0xec)]||'',_0x5b9172[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0xb9211a[_0x37370f(0x13c)]):_0x5b9172[TestFrameworkConstants[_0x37370f(0x133)]]=_0x15583d[_0x37370f(0xe3)];_0x15583d['kILRx'](_0x3c6b2f,TestFrameworkConstants[_0x37370f(0xe5)])&&(_0x5b9172[TestFrameworkConstants[_0x37370f(0x133)]]=_0x3c6b2f);_0x5b9172[TestFrameworkConstants[_0x37370f(0xef)]]=_0xb9211a[_0x37370f(0x12a)]||new Date()[_0x37370f(0x128)](),_0x5b9172[TestFrameworkConstants[_0x37370f(0xe9)]]=_0x368a94;const _0x2ce68d=_0x5b9172[TestFrameworkConstants['KEY_HOOK_ID']];!_0x4e1155[_0x2e45ae]&&(_0x4e1155[_0x2e45ae]=[]),_0x4e1155[_0x2e45ae][_0x37370f(0xc4)](_0x5b9172),_0x4e0464[_0x28a707][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x2e45ae;}}}return logger[_0x37370f(0xc8)](_0x37370f(0x147)+_0xb9211a['hook_type']+_0x37370f(0x14f)+_0x1af2f2+_0x37370f(0x184)+_0x28a707),_0x4e0464;}['createTestFrameworkEventPayload'](_0x2eec39){const _0x262827=a70_0x4178a1,_0x4ce58a={};_0x4ce58a[_0x262827(0x10a)]=_0x262827(0xe2);const _0x189646=_0x4ce58a;try{const _0x71d23a=_0x2eec39[_0x262827(0x143)]?_0x2eec39['test']['id']:_0x2eec39['hookData'][_0x262827(0x129)],_0x3631b6=_0x2eec39[_0x262827(0x182)],_0x1950fc=_0x3631b6[_0x262827(0x131)](),_0x22013e=_0x3631b6[_0x262827(0xd7)]()[_0x262827(0x15a)](_0x71d23a);if(!_0x22013e)return logger['debug'](_0x262827(0xf8)+_0x71d23a),{};logger['debug'](_0x262827(0x165)+_0x71d23a);const {[TestFrameworkConstants[_0x262827(0xf3)]]:_0x30ac89='',[TestFrameworkConstants[_0x262827(0x15b)]]:_0xd6e7f4='',[TestFrameworkConstants[_0x262827(0xea)]]:_0x3b40eb='',[TestFrameworkConstants[_0x262827(0x151)]]:_0x2ef9e9=''}=_0x22013e,_0x4c54dd=_0x3631b6[_0x262827(0xd8)]()[_0x262827(0xee)]()['split']('.')[0x1],_0x56fee1=_0x3631b6[_0x262827(0x153)]()[_0x262827(0xee)]()[_0x262827(0x160)]('.')[0x1],_0x383607=global?.[_0x262827(0xc6)]?.[_0x262827(0x10e)]?.['parallelIndex'],_0x531606=_0x3631b6[_0x262827(0xff)](),_0x19f324=Buffer[_0x262827(0x11c)](JSON[_0x262827(0x156)](_0x22013e))[_0x262827(0xee)](_0x189646[_0x262827(0x10a)]),_0x11340e={'hash':_0x1950fc['getId'](),'threadId':_0x1950fc[_0x262827(0xc0)]()[_0x262827(0xee)](),'processId':_0x1950fc[_0x262827(0xc7)]()[_0x262827(0xee)]()},_0x483e61={};_0x483e61['platformIndex']=_0x383607,_0x483e61[_0x262827(0x170)]=_0x30ac89,_0x483e61[_0x262827(0x111)]=_0xd6e7f4,_0x483e61['testFrameworkState']=_0x4c54dd,_0x483e61['hookState']=_0x56fee1,_0x483e61[_0x262827(0x119)]=_0x3b40eb,_0x483e61['endedAt']=_0x2ef9e9,_0x483e61[_0x262827(0x10f)]=_0x531606,_0x483e61['eventJson']=_0x19f324,_0x483e61[_0x262827(0x148)]=_0x11340e;const _0x3d3c82=_0x483e61;return logger[_0x262827(0xc8)](_0x262827(0x161)+_0x71d23a+_0x262827(0x125)+_0x4c54dd+_0x262827(0x17a)+_0x56fee1),_0x3d3c82;}catch(_0x397a1b){return logger[_0x262827(0x139)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x262827(0x188)](_0x397a1b)),{};}}async[a70_0x4178a1(0x123)](_0x4f15b1,_0x221bc4,_0xcb68fa){const _0x2329a1=a70_0x4178a1,_0x332016={'mLoPb':function(_0x44c07a,_0x25afa2,_0x14e735){return _0x44c07a(_0x25afa2,_0x14e735);},'onXhy':function(_0x379d0f,_0x541c4f){return _0x379d0f===_0x541c4f;},'sPGZe':_0x2329a1(0x13d),'CvJBP':function(_0x171c5e,_0x49f1f8){return _0x171c5e/_0x49f1f8;},'SUMqy':function(_0x50fc3f,_0x13c836){return _0x50fc3f<_0x13c836;},'rbHFH':function(_0x60dd8a,_0x23d85e){return _0x60dd8a*_0x23d85e;},'oAmKa':function(_0x5612df,_0x495365){return _0x5612df+_0x495365;},'fsLtl':function(_0x25f3d4,_0x3d8bda){return _0x25f3d4+_0x3d8bda;},'IDHUy':'Cucumber\x20log\x20created\x20event'};try{const _0x30a460=_0xcb68fa[_0x2329a1(0xfa)],_0x42667f=_0x4f15b1[_0x2329a1(0xd7)]()[_0x2329a1(0x15a)](_0x30a460),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3e4395='',[TestFrameworkConstants[_0x2329a1(0x15b)]]:_0x580ffe=''}=_0x42667f,_0x5d3f66=TestInfo[_0x2329a1(0xf7)](_0x30a460),_0x52841e=TestInfo['getTestDetails'](_0x30a460)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x16fe04=_0x332016[_0x2329a1(0x100)](getMediaArtifactsLogs,_0x52841e,_0x4f15b1[_0x2329a1(0xd7)]()['get'](_0x30a460)[TestFrameworkConstants[_0x2329a1(0x13b)]]),_0x1d556b=(_0x5d3f66||[])[_0x2329a1(0x15e)](_0x16fe04||[]);if(!_0x1d556b||_0x332016['onXhy'](_0x1d556b[_0x2329a1(0xdf)],0x0)){logger['debug'](_0x332016[_0x2329a1(0xcb)]);return;}const _0x391b50=0x28,_0x5d0148=Math[_0x2329a1(0x18a)](_0x332016[_0x2329a1(0xf6)](_0x1d556b[_0x2329a1(0xdf)],_0x391b50));for(let _0x5c258c=0x0;_0x332016[_0x2329a1(0xd6)](_0x5c258c,_0x5d0148);_0x5c258c++){const _0x1fdea1=_0x332016[_0x2329a1(0x12d)](_0x5c258c,_0x391b50),_0x27cdd7=_0x332016[_0x2329a1(0x12c)](_0x1fdea1,_0x391b50),_0x3c55e0=_0x1d556b[_0x2329a1(0x130)](_0x1fdea1,_0x27cdd7),_0x20976f={'platformIndex':'0','logs':_0x3c55e0,'testFrameworkName':_0x3e4395,'testFrameworkVersion':_0x580ffe,'testFrameworkState':_0x221bc4['toString']()[_0x2329a1(0x160)]('.')[0x1]};logger[_0x2329a1(0xc8)](_0x2329a1(0x110)+_0x30a460+_0x2329a1(0x12b)+_0x332016[_0x2329a1(0x172)](_0x5c258c,0x1)+'/'+_0x5d0148+_0x2329a1(0x16f)+util[_0x2329a1(0x185)](_0x20976f));const _0x40a67b=await GrpcClient[_0x2329a1(0x18d)]()['logCreatedEvent'](_0x20976f);logger[_0x2329a1(0xc8)](_0x2329a1(0x110)+_0x30a460+_0x2329a1(0x12b)+_0x332016[_0x2329a1(0x12c)](_0x5c258c,0x1)+'/'+_0x5d0148+'\x20response='+util[_0x2329a1(0x185)](_0x40a67b));}}catch(_0x377e44){logger[_0x2329a1(0x139)](_0x2329a1(0x13e)+util['format'](_0x377e44));}logger[_0x2329a1(0xc8)](_0x332016['IDHUy']);}[a70_0x4178a1(0xfe)](_0x4d0e66,_0x594b17,_0x40958f,_0xc104b0,_0x4ab979){const _0x26bdb0=a70_0x4178a1,_0x4569f6={'testId':_0x594b17,'testFrameworkState':_0x40958f,'hookState':_0xc104b0,'args':_0x4ab979,'timestamp':new Date()['toISOString']()};_0x4d0e66[_0x26bdb0(0x178)](_0x594b17,_0x4569f6),logger[_0x26bdb0(0xc8)](_0x26bdb0(0x154)+_0x594b17+',\x20state:\x20'+_0x40958f+_0x26bdb0(0x102)+_0xc104b0);}async[a70_0x4178a1(0x16d)](_0x2a4155,_0x3ba0b7){const _0x3be96c=a70_0x4178a1,_0x3aed12={};_0x3aed12[_0x3be96c(0x177)]=function(_0x527136,_0x529271){return _0x527136>_0x529271;};const _0x10181f=_0x3aed12;if(!_0x2a4155[_0x3be96c(0x134)](_0x3ba0b7))return;const _0x3eb9c5=_0x2a4155['getPendingHooks'](_0x3ba0b7);logger['debug']('Processing\x20'+_0x3eb9c5[_0x3be96c(0xdf)]+_0x3be96c(0x117)+_0x3ba0b7);for(const _0x21b8f0 of _0x3eb9c5){try{const _0x2d6691=await this['trackHookEvent'](_0x2a4155,_0x21b8f0[_0x3be96c(0x16e)],_0x21b8f0['hookState'],_0x21b8f0[_0x3be96c(0x118)]);_0x2d6691&&_0x10181f[_0x3be96c(0x177)](Object['keys'](_0x2d6691)[_0x3be96c(0xdf)],0x0)&&_0x2a4155[_0x3be96c(0x120)](_0x2d6691),await this[_0x3be96c(0xd9)](_0x2a4155,_0x21b8f0['testFrameworkState'],_0x21b8f0[_0x3be96c(0x121)],_0x21b8f0['args']);}catch(_0xcd9184){logger[_0x3be96c(0x139)](_0x3be96c(0xcf)+_0x3ba0b7+_0x3be96c(0x115)+_0xcd9184);}}_0x2a4155[_0x3be96c(0x10b)](_0x3ba0b7),logger[_0x3be96c(0xc8)](_0x3be96c(0xc9)+_0x3ba0b7);}}function a70_0x1025(_0x352bef,_0x554715){const _0x2ab757=a70_0x2ab7();return a70_0x1025=function(_0x1025c6,_0x41a44c){_0x1025c6=_0x1025c6-0xc0;let _0x441ecd=_0x2ab757[_0x1025c6];return _0x441ecd;},a70_0x1025(_0x352bef,_0x554715);}module[a70_0x4178a1(0x124)]=CucumberTestFramework;
@@ -1 +1 @@
1
- function a71_0x3018(_0x119f97,_0x158b49){const _0x5d07c0=a71_0x5d07();return a71_0x3018=function(_0x30182a,_0x253595){_0x30182a=_0x30182a-0xa0;let _0x4c763a=_0x5d07c0[_0x30182a];return _0x4c763a;},a71_0x3018(_0x119f97,_0x158b49);}const a71_0x428c25=a71_0x3018;(function(_0x42f116,_0x2ebeaf){const _0x52cf71=a71_0x3018,_0x51edbd=_0x42f116();while(!![]){try{const _0x2cce04=-parseInt(_0x52cf71(0xfc))/0x1+-parseInt(_0x52cf71(0x226))/0x2+-parseInt(_0x52cf71(0x209))/0x3+-parseInt(_0x52cf71(0x18e))/0x4*(-parseInt(_0x52cf71(0x19c))/0x5)+parseInt(_0x52cf71(0x132))/0x6*(-parseInt(_0x52cf71(0x173))/0x7)+parseInt(_0x52cf71(0xb3))/0x8*(parseInt(_0x52cf71(0x1cb))/0x9)+parseInt(_0x52cf71(0xe3))/0xa;if(_0x2cce04===_0x2ebeaf)break;else _0x51edbd['push'](_0x51edbd['shift']());}catch(_0x2c88b0){_0x51edbd['push'](_0x51edbd['shift']());}}}(a71_0x5d07,0x4efcd));function a71_0x5d07(){const _0x72052=['gGZmr','xyxZt','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','getPendingHooks',',\x20remainingHooks=','map','splice','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','KEY_HOOK_FAILURE_TYPE','title','\x20pending\x20hooks\x20for\x20testId:\x20','AFbiF','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','KEY_LOGS','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','getInstance','../../../helpers/helper.js','roFNV','lTwDu',',\x20result=','format','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20',',\x20consoleLogs:\x20','3578800ipxpeF','event_ended_at','getHooksForTest','KEY_TEST_FAILURE','testFrameworkState','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20',',\x20argsKeys=','name','XLuxI','getFileName','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','none','hoXSV','ItxUe','trackJestInstance:\x20instance\x20already\x20exists','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','LOG_REPORT',',\x20state:\x20','getJestTestName','getId','parallelIndex','KEY_TEST_LOCATION','pmgjg','args','365327dFrXEH','debug',',\x20version=','hookState','getRootParentFile','KEY_HOOK_ID','started_at','scope','iunGb','scopes','getCurrentInstanceName','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20',',\x20hook_run_uuid=','hookMetadata','stringify','nWvAN','ZqxEw',',\x20storing\x20as\x20pending\x20hook','asyncError','buildHookMapFromTest','../instances/testFrameworkInstance.js','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20',',\x20totalHooks=','NiNTr','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','delete',',\x20hook=','getTestFrameworks','pop','maxArrayLength','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','join','getContext',',\x20contextId=','fyTTM','KEY_HOOK_RESULT','filter','mTeSg','KEY_TEST_CODE','trackHookEvent','createContext','addMultipleEntries','status','POST','missing','hook_result','rxMks',',\x20hookType=','mHBbj','concat','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=',',\x20state=','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','duration','67752kmPpnx','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','YvWRn','file_name','skipped','parseJestTestResult','Error\x20in\x20createTestFrameworkEventPayload:\x20','UnhandledError','KEY_TEST_FRAMEWORK_VERSION','Stored\x20pending\x20hook\x20for\x20testId:\x20','setActiveHook','\x22\x20hook','inspect','toISOString','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','Brlqc','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','KEY_HOOK_LOGS','test_run_uuid','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','yeUbU','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','hookType','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','\x20to\x20','unknown','removePendingHooks',',\x20screenshotLogs:\x20','KEY_TEST_DURATION','../TestInfo.js','../instances/trackedInstance.js','getAllPendingHookTestIds','vmogU','KEY_TEST_RESULT','KEY_TEST_SCOPE','set','findIndex','pnoDV','length','testId','originalTest','storePendingHook','getTestFrameworksVersions','KEY_HOOK_FAILURE','type','VGFFo','addPendingHook','includes','getTrackedInstance','KEY_HOOKS_STARTED','hookAnalyticsId','testData','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','\x20&\x20hookState=','error','KEY_CUSTOM_TAGS','VPaxM','LZuaC','fuDHW','trackJestInstance:\x20created\x20instance\x20for\x20target=','getJestFailureData',':testAnalyticsId','getThreadId','42hYVydM','BGNXL','XfNiG','base64','getJestFailureReason','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','parseJestTest','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','trackEvent','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','startsWith','ZdAqi',',\x20scopes=','hook_type','get','parent','\x22\x20from\x20testData',',\x20hookState=','tnliz',',\x20platformIndex:\x20','hook_id','apply','eIJGJ','TEST_SCREENSHOT','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','fCMYY','\x20-\x20test_identifier=','4eRGLzg','cqLwt','gcaqe','KEY_TEST_ENDED_AT','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','ZEnlm','xTlAa','KEY_TEST_META','Processing\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','gJTqs','QxXvi','skip','nSOEm','2174945kilglA','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','parse','KEY_EVENT_STARTED_AT','reverse','replace','stack-trace','KEY_HOOK_LAST_STARTED','testUUID','failure_reason',',\x20hookUUID=','forEach','test','test_run_id','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','setTrackedInstance','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','tmXXO','yHgLX','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','SsDYY','match','testFrameworkName','resolveInstance','KEY_HOOKS_FINISHED',',\x20attachmentLogs:\x20',',\x20exception=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','depth','startedAt','message','OHBmv','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','getActiveHook','retryOf','KEY_AUTOMATE_SESSION_NAME','isArray',',\x20testFramework=','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','blGzE','push','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','getJestTestTags','AssertionError','failed','36sCsoai','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','__workerDetails','createTestFrameworkEventPayload','KEY_TEST_TAGS','ARrEL','errorsDetailed','\x20(testIdentifier),\x20result=','pid','DeRVz','getProcessId','filePath',',\x20filePath=','activeHooks','KEY_TEST_NAME','KEY_TEST_SCOPES','runHooks','KNyRl',',\x20filePath:\x20','isJestInternalHook','NONE','removeActiveHook',',\x20testId=','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','SWnJg','KEY_TEST_FRAMEWORK_NAME','split','warn','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','uuid','matchHookRegex','from','WeqXW','toString','MpFcJ','find','getJestTestScopes',',\x20failureReason=','getJestTestIdentifier','result','./constants/testFrameworkConstants.js','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','KEY_HOOK_NAME','Unknown\x20Test',',\x20duration=','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','getAllData','fLUfF','VktIW','BEFORE_ALL','mapTestHooks','\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','exports','wfzJG','Qfddn','KEY_TEST_RERUN_NAME','\x20(testIdentifier),\x20tags=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','passed','hook_run_uuid','ALL','63861DWuwQz','HPZvH','GtxFj','KEY_TEST_RETRY_OF','TEST','testFrameworkVersion','../../../helpers/classLogger.js','getJestFailureType','zYIeD','trackJestInstance','has','executionContext',',\x20messageLength=',',\x20response=',',\x20hookData=','toUpperCase','TUkaQ','dFwzS','KEY_TEST_FILE_PATH','QnVbE','file','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','IGQoL','KEY_EVENT_ENDED_AT','wFsAh','keOah','RAidz',',\x20hookId=','KEY_TEST_ID','345380FEQlht','hasPendingHooks','FjIFG',',\x20scope:\x20',',\x20test_run_uuid=',',\x20failureType=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','vFQaA','KEY_TEST_RESULT_AT','afterAll','DEFAULT_TEST_RESULT','hooks','QjVlw','KEY_TEST_FAILURE_TYPE','alnHr','KEY_HOOK_LAST_FINISHED','getCurrentTestState',',\x20payload:\x20',',\x20updates=','slice','GWuMF',',\x20currentTestId:\x20','315440gKcjyP','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','KEY_TEST_ATTACHMENTS','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','\x20screenshot\x20logs\x20for\x20testId:\x20','Fflwz','substr','beforeAll','tags','test_identifier','hookUUID',',\x20hookState:\x20','edCZq','processPendingHooks','xTyVz','workerInfo','keys','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','JestTestFramework','DEFAULT_HOOK_RESULT','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','hookData','finished_at','instance'];a71_0x5d07=function(){return _0x72052;};return a71_0x5d07();}const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require(a71_0x428c25(0x20f)),TestFrameworkInstance=require(a71_0x428c25(0x110)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a71_0x428c25(0x152)),TestFrameworkConstants=require(a71_0x428c25(0x1f3)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x428c25(0xdc)),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger(a71_0x428c25(0xc5)),{v4:uuidv4}=require(a71_0x428c25(0x1e8)),util=require('util'),TestInfo=require(a71_0x428c25(0x151)),GrpcClient=require('../grpcClient'),stackTrace=require(a71_0x428c25(0x1a2));class JestTestFramework extends TestFramework{constructor(_0x453ead,_0x39ec24,_0x1f89a5){const _0x173b43=a71_0x428c25;super(_0x453ead,_0x39ec24,_0x1f89a5),this[_0x173b43(0x1d8)]=new Map();}[a71_0x428c25(0x13c)](_0x62552f,_0x4e44ca,_0x45a447){const _0x237d79=a71_0x428c25,_0xa15b13={};_0xa15b13['HPZvH']=function(_0x40277c,_0x153f73){return _0x40277c||_0x153f73;};const _0x4e6472=_0xa15b13;if(_0x4e6472[_0x237d79(0x20a)](!_0x62552f,!_0x4e44ca)){logger[_0x237d79(0x1e6)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x62552f+_0x237d79(0x1a6)+_0x4e44ca);return;}!this[_0x237d79(0x1d8)]['has'](_0x62552f)&&this[_0x237d79(0x1d8)][_0x237d79(0x157)](_0x62552f,[]);const _0x455a89={'hookUUID':_0x4e44ca,'hookType':_0x45a447,'startedAt':new Date()['toISOString']()};this[_0x237d79(0x1d8)][_0x237d79(0x181)](_0x62552f)['push'](_0x455a89),logger[_0x237d79(0xfd)](_0x237d79(0x19d)+_0x62552f+_0x237d79(0x1a6)+_0x4e44ca+',\x20hookType='+_0x45a447+_0x237d79(0x112)+this[_0x237d79(0x1d8)][_0x237d79(0x181)](_0x62552f)[_0x237d79(0x15a)]);}[a71_0x428c25(0x1e0)](_0x30b5c5,_0x52a504){const _0x537f17=a71_0x428c25,_0x5dd9c3={};_0x5dd9c3[_0x537f17(0xb8)]=function(_0x2d8b81,_0x303256){return _0x2d8b81||_0x303256;},_0x5dd9c3['LJFte']=function(_0x5108a7,_0x42ea9c){return _0x5108a7!==_0x42ea9c;},_0x5dd9c3['NVgBQ']=function(_0x4cf2ab,_0x3d203b){return _0x4cf2ab===_0x3d203b;};const _0x390d25=_0x5dd9c3;if(_0x390d25[_0x537f17(0xb8)](!_0x30b5c5,!_0x52a504)){logger[_0x537f17(0x1e6)](_0x537f17(0x192)+_0x30b5c5+_0x537f17(0x1a6)+_0x52a504);return;}if(this[_0x537f17(0x1d8)][_0x537f17(0x213)](_0x30b5c5)){const _0x3391b8=this[_0x537f17(0x1d8)][_0x537f17(0x181)](_0x30b5c5),_0x4f54d7=_0x3391b8[_0x537f17(0x158)](_0x1d49f4=>_0x1d49f4[_0x537f17(0xbd)]===_0x52a504);_0x390d25['LJFte'](_0x4f54d7,-0x1)?(_0x3391b8[_0x537f17(0xd1)](_0x4f54d7,0x1),logger[_0x537f17(0xfd)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x30b5c5+_0x537f17(0x1a6)+_0x52a504+_0x537f17(0xcf)+_0x3391b8[_0x537f17(0x15a)]),_0x390d25['NVgBQ'](_0x3391b8[_0x537f17(0x15a)],0x0)&&this[_0x537f17(0x1d8)][_0x537f17(0x115)](_0x30b5c5)):logger[_0x537f17(0xfd)](_0x537f17(0x14b)+_0x30b5c5+_0x537f17(0x1a6)+_0x52a504);}}[a71_0x428c25(0x1be)](_0x3036c3){const _0x3909ab=a71_0x428c25,_0x4a0002={};_0x4a0002[_0x3909ab(0x113)]=function(_0x576971,_0x1dfbc7){return _0x576971>_0x1dfbc7;},_0x4a0002['xyxZt']=function(_0x45992c,_0x2adc23){return _0x45992c-_0x2adc23;};const _0x226948=_0x4a0002;if(!_0x3036c3)return null;if(this['activeHooks'][_0x3909ab(0x213)](_0x3036c3)){const _0xc14efd=this['activeHooks'][_0x3909ab(0x181)](_0x3036c3);if(_0x226948[_0x3909ab(0x113)](_0xc14efd[_0x3909ab(0x15a)],0x0)){const _0x1059d3=_0xc14efd[_0x226948[_0x3909ab(0xcc)](_0xc14efd[_0x3909ab(0x15a)],0x1)];return logger[_0x3909ab(0xfd)](_0x3909ab(0xc7)+_0x3036c3+',\x20hookUUID='+_0x1059d3[_0x3909ab(0xbd)]+_0x3909ab(0x12b)+_0x1059d3[_0x3909ab(0x149)]),_0x1059d3;}}return null;}async[a71_0x428c25(0x17b)](_0x1c1f45,_0x22b9a7,_0x2b0de0={}){const _0x3266c1=a71_0x428c25,_0x51eac4={};_0x51eac4['ZdAqi']=_0x3266c1(0x142),_0x51eac4[_0x3266c1(0x10b)]=function(_0x5e8afe,_0x5952d8){return _0x5e8afe===_0x5952d8;},_0x51eac4['LZuaC']=function(_0x3fe7f9,_0x3984a1){return _0x3fe7f9===_0x3984a1;},_0x51eac4[_0x3266c1(0xeb)]=function(_0x16e30e,_0x342be4){return _0x16e30e||_0x342be4;},_0x51eac4[_0x3266c1(0xbf)]='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0x51eac4[_0x3266c1(0x198)]=function(_0x5db47c,_0x30e867){return _0x5db47c===_0x30e867;};const _0x5653d7=_0x51eac4;logger[_0x3266c1(0xfd)](_0x3266c1(0xd8)+_0x1c1f45+_0x3266c1(0x184)+_0x22b9a7+_0x3266c1(0xe9)+Object['keys'](_0x2b0de0)[_0x3266c1(0x11b)](',')),await super['trackEvent'](_0x1c1f45,_0x22b9a7,_0x2b0de0);const _0x116164=this[_0x3266c1(0x1b4)](_0x1c1f45,_0x22b9a7,_0x2b0de0);if(!_0x116164){logger[_0x3266c1(0xfd)](_0x5653d7[_0x3266c1(0x17e)]);return;}try{let _0x30bf3b,_0x3a7a75,_0x3388cb;switch(_0x1c1f45){case TestFrameworkState[_0x3266c1(0x20d)]:_0x30bf3b=_0x2b0de0['test'];const _0x3d258a={};_0x3d258a['depth']=0x2,_0x3d258a['maxArrayLength']=0x3,logger[_0x3266c1(0xfd)](_0x3266c1(0x1ff)+_0x22b9a7+',\x20testData='+util[_0x3266c1(0x13e)](_0x30bf3b,_0x3d258a)),_0x3388cb=this[_0x3266c1(0x1f1)](_0x30bf3b),_0x3a7a75=null,logger[_0x3266c1(0xfd)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId='+_0x3388cb+'\x20(testIdentifier)');if(_0x5653d7['nWvAN'](_0x22b9a7,HookState['PRE'])){logger['debug'](_0x3266c1(0x1bd)+_0x3388cb);const _0x37c4fa={};_0x37c4fa[_0x3266c1(0x1a4)]=_0x3a7a75,_0x37c4fa[_0x3266c1(0x167)]=_0x30bf3b,_0x37c4fa[_0x3266c1(0x15b)]=_0x3388cb;const _0x1d23a2=this['parseJestTest'](_0x37c4fa),_0x5ecbd5={};_0x5ecbd5[_0x3266c1(0x1b9)]=0x2,_0x5ecbd5[_0x3266c1(0x119)]=0x3,logger[_0x3266c1(0xfd)](_0x3266c1(0x197)+util[_0x3266c1(0x13e)](_0x1d23a2,_0x5ecbd5)),_0x116164['addMultipleEntries'](_0x1d23a2),logger[_0x3266c1(0xfd)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x3388cb),await this[_0x3266c1(0xc0)](_0x116164,_0x3388cb);}else{if(_0x5653d7[_0x3266c1(0x16d)](_0x22b9a7,HookState[_0x3266c1(0x127)])){logger['debug'](_0x3266c1(0x114)+_0x3388cb);const _0xc326af=_0x116164[_0x3266c1(0x1f9)]()[_0x3266c1(0x181)](_0x3388cb);logger['debug'](_0x3266c1(0x1b8)+util[_0x3266c1(0x13e)](Object[_0x3266c1(0xc3)](_0x5653d7[_0x3266c1(0xeb)](_0xc326af,{}))));_0xc326af&&_0xc326af[TestFrameworkConstants[_0x3266c1(0xb5)]]?logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x3266c1(0xc3)](_0xc326af[TestFrameworkConstants[_0x3266c1(0xb5)]])[_0x3266c1(0x15a)]+'\x20files'):logger[_0x3266c1(0xfd)](_0x5653d7[_0x3266c1(0xbf)]);const _0x19da88=_0x2b0de0[_0x3266c1(0x15c)]||null,_0x4a9ca4={};_0x4a9ca4['testUUID']=_0x3a7a75,_0x4a9ca4[_0x3266c1(0x167)]=_0x30bf3b,_0x4a9ca4[_0x3266c1(0x15b)]=_0x3388cb,_0x4a9ca4[_0x3266c1(0x15c)]=_0x19da88;const _0x12816a=this[_0x3266c1(0x137)](_0x4a9ca4),_0x3e675f={};_0x3e675f['depth']=0x2,_0x3e675f[_0x3266c1(0x119)]=0x3,logger[_0x3266c1(0xfd)](_0x3266c1(0x1c7)+util['inspect'](_0x12816a,_0x3e675f)),_0x116164['addMultipleEntries'](_0x12816a),logger[_0x3266c1(0xfd)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x3388cb),await this[_0x3266c1(0xc0)](_0x116164,_0x3388cb);}}break;case TestFrameworkState[_0x3266c1(0xf4)]:if(_0x5653d7[_0x3266c1(0x198)](_0x22b9a7,HookState[_0x3266c1(0x127)])){const _0x5cce2a={};_0x5cce2a[_0x3266c1(0x1b9)]=0x2,logger[_0x3266c1(0xfd)](_0x3266c1(0x1ad)+util[_0x3266c1(0x13e)](_0x2b0de0,_0x5cce2a)),await this['sendLogCreatedEvent'](_0x116164,_0x1c1f45,_0x2b0de0);}break;default:if(CLIUtils[_0x3266c1(0x1e9)](_0x1c1f45['toString']()[_0x3266c1(0x1e5)]('.')[0x1])){const _0x316753={};_0x316753[_0x3266c1(0x1b9)]=0x2,_0x316753['maxArrayLength']=0x3,logger[_0x3266c1(0xfd)](_0x3266c1(0x168)+_0x1c1f45+_0x3266c1(0x184)+_0x22b9a7+',\x20hookData='+util[_0x3266c1(0x13e)](_0x2b0de0['hookData'],_0x316753));const _0x2635f3=await this[_0x3266c1(0x123)](_0x116164,_0x1c1f45,_0x22b9a7,_0x2b0de0),_0x51bdb2={};_0x51bdb2[_0x3266c1(0x1b9)]=0x2,_0x51bdb2[_0x3266c1(0x119)]=0x3,logger[_0x3266c1(0xfd)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util['inspect'](_0x2635f3,_0x51bdb2)),_0x116164['addMultipleEntries'](_0x2635f3);}else logger[_0x3266c1(0xfd)](_0x3266c1(0x11a)+_0x1c1f45+_0x3266c1(0x169)+_0x22b9a7);break;}logger[_0x3266c1(0xfd)](_0x3266c1(0x1cc)+_0x1c1f45+_0x3266c1(0x184)+_0x22b9a7);}catch(_0xb0acd1){logger[_0x3266c1(0x16a)](_0x3266c1(0x17c)+_0x1c1f45+_0x3266c1(0x184)+_0x22b9a7+_0x3266c1(0x1b7)+util[_0x3266c1(0xe0)](_0xb0acd1));}_0x2b0de0[_0x3266c1(0xca)]=_0x116164,await this[_0x3266c1(0x1db)](_0x116164,_0x1c1f45,_0x22b9a7,_0x2b0de0);}['getJestTestIdentifier'](_0x54985b){const _0x8294d1=a71_0x428c25,_0x4b5e74={};_0x4b5e74[_0x8294d1(0x1eb)]='[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback';const _0x1d63f8=_0x4b5e74;if(_0x54985b&&(_0x54985b['id']||_0x54985b[_0x8294d1(0x1e8)])){const _0x503aa0=_0x54985b['id']||_0x54985b['uuid'];return logger[_0x8294d1(0xfd)]('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x503aa0+_0x8294d1(0x183)),_0x503aa0;}return logger[_0x8294d1(0xfd)](_0x1d63f8['WeqXW']),process[_0x8294d1(0x1d3)]+_0x8294d1(0x171);}[a71_0x428c25(0x1b4)](_0x2d66ef,_0x56e0fb,_0x18d5e9={}){const _0x5cdace=a71_0x428c25;let _0x52d935=null;return _0x52d935=TestFramework[_0x5cdace(0x164)](),!_0x52d935?(logger[_0x5cdace(0xfd)](_0x5cdace(0x12e)+_0x2d66ef),this[_0x5cdace(0x212)](_0x2d66ef,_0x18d5e9),_0x52d935=TestFramework[_0x5cdace(0x164)](),logger[_0x5cdace(0xfd)](_0x5cdace(0xd7)+!!_0x52d935+_0x5cdace(0x11d)+_0x52d935?.[_0x5cdace(0x11c)]()?.[_0x5cdace(0xf7)]())):logger[_0x5cdace(0xfd)](_0x5cdace(0x146)+_0x52d935[_0x5cdace(0x11c)]()?.[_0x5cdace(0xf7)]()),_0x52d935;}['trackJestInstance'](_0x258fcf,_0x7c015c){const _0x13fb3f=a71_0x428c25,_0x38e7a8={};_0x38e7a8[_0x13fb3f(0x12c)]=_0x13fb3f(0xf2);const _0x29d07e=_0x38e7a8;if(TestFramework['getTrackedInstance']()){logger['debug'](_0x29d07e[_0x13fb3f(0x12c)]);return;}const _0xebdc37=CLIUtils[_0x13fb3f(0x106)](),_0x46c392=TrackedInstance[_0x13fb3f(0x124)](_0xebdc37);let _0xae11bb=null;logger[_0x13fb3f(0xfd)](_0x13fb3f(0x16f)+_0xebdc37+_0x13fb3f(0x12f)+_0x258fcf),_0xae11bb=new TestFrameworkInstance(_0x46c392,this[_0x13fb3f(0x117)](),this['getTestFrameworksVersions'](),_0x258fcf,HookState[_0x13fb3f(0x1df)]),TestFramework[_0x13fb3f(0x1ab)](_0x46c392,_0xae11bb),logger[_0x13fb3f(0xfd)](_0x13fb3f(0x130)+_0x46c392[_0x13fb3f(0xf7)]()+',\x20target='+_0xebdc37+_0x13fb3f(0x1c2)+this['getTestFrameworks']()[0x0]+_0x13fb3f(0xfe)+this[_0x13fb3f(0x15e)]()[this[_0x13fb3f(0x117)]()[0x0]]);}[a71_0x428c25(0x179)](_0x5e8166){const _0x5576fc=a71_0x428c25,_0x527b07={};_0x527b07[_0x5576fc(0x159)]=function(_0x3f9f5d,_0x1acaa9){return _0x3f9f5d||_0x1acaa9;},_0x527b07[_0x5576fc(0xf0)]=_0x5576fc(0xf3);const _0x4cb349=_0x527b07,{testUUID:_0x30ea78,testData:_0x14f4b0,testId:_0x4ceb10}=_0x5e8166;if(_0x4cb349['pnoDV'](!_0x14f4b0,!_0x4ceb10))return logger[_0x5576fc(0xfd)](_0x4cb349[_0x5576fc(0xf0)]),{};const _0x2d4ff6=this[_0x5576fc(0x117)]()[0x0],_0x1cc168=this[_0x5576fc(0x15e)](),_0x4c772a={};_0x4c772a[_0x5576fc(0x1b9)]=0x2,_0x4c772a[_0x5576fc(0x119)]=0x3,logger[_0x5576fc(0xfd)](_0x5576fc(0xe8)+util[_0x5576fc(0x13e)](_0x14f4b0,_0x4c772a));const _0x596103=_0x14f4b0?.[_0x5576fc(0x105)]||[],_0x4f0984=this[_0x5576fc(0xf6)](_0x14f4b0),_0x15ad28=this['getJestTestFilePath'](_0x14f4b0),_0x41510d=_0x14f4b0['fn']?_0x14f4b0['fn']['toString']():null,_0x2ee10b=this[_0x5576fc(0x1c8)](_0x14f4b0),_0x44fe45={[TestFrameworkConstants[_0x5576fc(0x1e4)]]:_0x2d4ff6,[TestFrameworkConstants[_0x5576fc(0x13a)]]:_0x1cc168[_0x2d4ff6],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x5576fc(0x1b5)]]:{},[TestFrameworkConstants[_0x5576fc(0x165)]]:{},[TestFrameworkConstants[_0x5576fc(0x155)]]:TestFrameworkConstants[_0x5576fc(0xa7)],[TestFrameworkConstants[_0x5576fc(0x1c0)]]:_0x4f0984,[TestFrameworkConstants[_0x5576fc(0x21b)]]:_0x15ad28,[TestFrameworkConstants[_0x5576fc(0x225)]]:_0x4ceb10,[TestFrameworkConstants[_0x5576fc(0x1d9)]]:_0x4f0984,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x15ad28,[TestFrameworkConstants[_0x5576fc(0x122)]]:_0x41510d,[TestFrameworkConstants[_0x5576fc(0x1cf)]]:_0x2ee10b,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x14f4b0['started_at']||new Date()[_0x5576fc(0x13f)](),[TestFrameworkConstants[_0x5576fc(0x156)]]:_0x596103[0x0]||'',[TestFrameworkConstants[_0x5576fc(0x1da)]]:_0x596103,[TestFrameworkConstants[_0x5576fc(0x203)]]:_0x4f0984,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x5576fc(0x195)]]:{}};_0x14f4b0['retryOf']&&(_0x44fe45[TestFrameworkConstants[_0x5576fc(0x20c)]]=_0x14f4b0[_0x5576fc(0x1bf)]);logger[_0x5576fc(0xfd)](_0x5576fc(0xcd)+_0x4f0984+_0x5576fc(0x1e1)+_0x4ceb10+_0x5576fc(0x204)+JSON[_0x5576fc(0x10a)](_0x2ee10b)+_0x5576fc(0x17f)+util[_0x5576fc(0x13e)](_0x596103)+_0x5576fc(0x1d7)+_0x15ad28);const _0x51da08={};return _0x51da08[_0x4ceb10]=_0x44fe45,_0x51da08;}[a71_0x428c25(0x137)](_0x56211c){const _0x5cd37a=a71_0x428c25,_0x220733={'gGZmr':function(_0xaace38,_0x121d44){return _0xaace38===_0x121d44;},'GtxFj':_0x5cd37a(0xa6),'TUkaQ':'beforeAll','Brlqc':_0x5cd37a(0x208),'oOQhu':'_ALL','YvWRn':function(_0x343946,_0x57cd90){return _0x343946||_0x57cd90;},'nSOEm':_0x5cd37a(0x17a),'iunGb':_0x5cd37a(0x14d),'RAidz':function(_0x23ab4e,_0x356b4d){return _0x23ab4e>_0x356b4d;},'cqLwt':_0x5cd37a(0x1ca),'keOah':function(_0x18e465,_0x2d6a82){return _0x18e465===_0x2d6a82;},'SsDYY':_0x5cd37a(0x19a),'dFwzS':_0x5cd37a(0x136),'QxXvi':_0x5cd37a(0x206),'ARrEL':function(_0x495787,_0x3ba9eb){return _0x495787!==_0x3ba9eb;},'ItxUe':function(_0x1fbefd,_0x4f24e5,_0xc7ecfe,_0x5123b5){return _0x1fbefd(_0x4f24e5,_0xc7ecfe,_0x5123b5);},'SxSZR':function(_0x2e07fa,_0x3fdf41){return _0x2e07fa>_0x3fdf41;},'KNyRl':function(_0x26d3a2,_0x4b53b0){return _0x26d3a2>_0x4b53b0;},'xTyVz':_0x5cd37a(0x140),'FjIFG':function(_0x41bc6a,_0x23dd0d){return _0x41bc6a>_0x23dd0d;}},{testUUID:_0x36a399,testData:_0x15850d,testId:_0x143dde}=_0x56211c;if(_0x220733[_0x5cd37a(0x134)](!_0x15850d,!_0x143dde))return logger[_0x5cd37a(0xfd)](_0x220733[_0x5cd37a(0x19b)]),{};const _0x52a2b8=this[_0x5cd37a(0x1b4)](TestFrameworkState[_0x5cd37a(0x20d)],HookState[_0x5cd37a(0x127)]),_0x1ae9fe=_0x52a2b8['getAllData']()[_0x5cd37a(0x181)](_0x143dde),_0x44b066=_0x220733[_0x5cd37a(0x134)](_0x1ae9fe,{}),_0x4548bc=_0x44b066?_0x44b066[TestFrameworkConstants[_0x5cd37a(0x16b)]]||{}:{},_0x3a14d9=_0x44b066[TestFrameworkConstants[_0x5cd37a(0xb5)]];logger[_0x5cd37a(0xfd)](_0x5cd37a(0x107)+(_0x3a14d9?Object[_0x5cd37a(0xc3)](_0x3a14d9)[_0x5cd37a(0x15a)]:0x0)+'\x20attachments');let _0xbbef4c=_0x220733[_0x5cd37a(0x104)];if(_0x15850d[_0x5cd37a(0x1f2)])_0xbbef4c=_0x15850d[_0x5cd37a(0x1f2)];else{if(_0x15850d[_0x5cd37a(0x1d1)]&&_0x220733[_0x5cd37a(0x223)](_0x15850d[_0x5cd37a(0x1d1)][_0x5cd37a(0x15a)],0x0))_0xbbef4c=_0x220733['cqLwt'];else _0x220733[_0x5cd37a(0x222)](_0x15850d[_0x5cd37a(0x126)],_0x220733[_0x5cd37a(0x1b1)])||_0x220733['keOah'](_0x15850d['status'],_0x220733['dFwzS'])?_0xbbef4c=_0x220733[_0x5cd37a(0x21a)]:_0xbbef4c=_0x220733[_0x5cd37a(0x199)];}const _0x11f248={..._0x44b066,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0xbbef4c,[TestFrameworkConstants[_0x5cd37a(0x191)]]:_0x15850d[_0x5cd37a(0xc9)]||new Date()[_0x5cd37a(0x13f)](),[TestFrameworkConstants[_0x5cd37a(0xa5)]]:new Date()[_0x5cd37a(0x13f)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4548bc,[TestFrameworkConstants[_0x5cd37a(0xd9)]]:[],[TestFrameworkConstants[_0x5cd37a(0x195)]]:{}};if(_0x220733[_0x5cd37a(0xcb)](_0xbbef4c,_0x220733[_0x5cd37a(0x18f)])&&_0x15850d[_0x5cd37a(0x1d1)]){const _0x322a5=this[_0x5cd37a(0x177)](_0x15850d),_0x23f3d0=this[_0x5cd37a(0x210)](_0x15850d),_0x415b4f=this[_0x5cd37a(0x170)](_0x15850d);_0x11f248[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x23f3d0,_0x11f248[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x322a5,_0x11f248[TestFrameworkConstants[_0x5cd37a(0xe6)]]=_0x415b4f;}_0x220733[_0x5cd37a(0x1d0)](_0x15850d[_0x5cd37a(0x131)],undefined)&&(_0x11f248[TestFrameworkConstants[_0x5cd37a(0x150)]]=_0x15850d[_0x5cd37a(0x131)]);_0x15850d['retryOf']&&(_0x11f248[TestFrameworkConstants[_0x5cd37a(0x20c)]]=_0x15850d[_0x5cd37a(0x1bf)]);const _0x359a02=_0x1ae9fe?_0x1ae9fe[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x53e37c=_0x1ae9fe?_0x1ae9fe[TestFrameworkConstants['KEY_TEST_UUID']]:_0x36a399,_0x46e742=_0x220733[_0x5cd37a(0xf1)](getManualUploadLogs,_0x359a02,_0x53e37c,_0x143dde);if(_0x220733['SxSZR'](_0x46e742[_0x5cd37a(0x15a)],0x0)){const _0x12b0f8=_0x11f248[TestFrameworkConstants[_0x5cd37a(0xd9)]]||[];_0x11f248[TestFrameworkConstants['KEY_LOGS']]=[..._0x12b0f8,..._0x46e742];}const _0x2e4251=_0x44b066[TestFrameworkConstants[_0x5cd37a(0x1b5)]]||{},_0x2c8a38=_0x44b066[TestFrameworkConstants[_0x5cd37a(0x165)]]||{},_0x1e726d={..._0x2e4251},_0x22a2d6=_0x1e726d;Object[_0x5cd37a(0xc3)](_0x2c8a38)['forEach'](_0x9966af=>{const _0xa9e90e=_0x5cd37a;!_0x22a2d6[_0x9966af]&&(_0x22a2d6[_0x9966af]=[]);const _0x14075b=new Set((_0x22a2d6[_0x9966af]||[])[_0xa9e90e(0xd0)](_0x2bab43=>_0x2bab43[TestFrameworkConstants[_0xa9e90e(0x101)]]||_0x2bab43[_0xa9e90e(0x187)]));(_0x2c8a38[_0x9966af]||[])[_0xa9e90e(0x1a7)](_0x2a92cd=>{const _0x5970a3=_0xa9e90e,_0x808536=_0x2a92cd[TestFrameworkConstants[_0x5970a3(0x101)]]||_0x2a92cd['hook_id'];if(!_0x14075b[_0x5970a3(0x213)](_0x808536)){const _0x581490={..._0x2a92cd},_0x24108b=_0x581490;!_0x24108b[TestFrameworkConstants[_0x5970a3(0x220)]]&&!_0x24108b[_0x5970a3(0xe4)]&&(_0x24108b[TestFrameworkConstants[_0x5970a3(0x220)]]=new Date()[_0x5970a3(0x13f)]()),!_0x24108b[TestFrameworkConstants[_0x5970a3(0x11f)]]&&!_0x24108b[_0x5970a3(0x129)]&&(_0x24108b[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x22a2d6[_0x9966af][_0x5970a3(0x1c6)](_0x24108b);}});});if(_0x56211c['originalTest']){this[_0x5cd37a(0x1fd)](_0x56211c[_0x5cd37a(0x15c)]);const _0x3befd2=this['buildHookMapFromTest'](_0x56211c[_0x5cd37a(0x15c)]),_0x31175c=this[_0x5cd37a(0xe5)](_0x56211c['originalTest']);_0x31175c[_0x5cd37a(0x1a7)](_0x45738f=>{const _0x59a2b0=_0x5cd37a,_0x5cdf24=_0x3befd2[_0x59a2b0(0x181)](_0x45738f);if(_0x5cdf24&&(_0x220733[_0x59a2b0(0xcb)](_0x5cdf24[_0x59a2b0(0x160)],_0x220733[_0x59a2b0(0x20b)])||_0x220733[_0x59a2b0(0xcb)](_0x5cdf24['type'],_0x220733[_0x59a2b0(0x219)]))){const _0x400ea2=_0x5cdf24[_0x59a2b0(0x160)][_0x59a2b0(0x218)]()[_0x59a2b0(0x1a1)](_0x220733[_0x59a2b0(0x141)],_0x220733['oOQhu']),_0x11556a=_0x400ea2;!_0x22a2d6[_0x11556a]&&(_0x22a2d6[_0x11556a]=[]);const _0x4b99c0=_0x22a2d6[_0x11556a][_0x59a2b0(0x1ee)](_0x38bb97=>(_0x38bb97[TestFrameworkConstants['KEY_HOOK_ID']]||_0x38bb97[_0x59a2b0(0x187)])===_0x45738f);!_0x4b99c0&&_0x22a2d6[_0x11556a]['push']({'key':_0x11556a,[TestFrameworkConstants[_0x59a2b0(0x101)]]:_0x45738f,[TestFrameworkConstants[_0x59a2b0(0x11f)]]:TestFrameworkConstants[_0x59a2b0(0xc6)],[TestFrameworkConstants[_0x59a2b0(0x19f)]]:new Date()[_0x59a2b0(0x13f)](),[TestFrameworkConstants[_0x59a2b0(0x220)]]:new Date()[_0x59a2b0(0x13f)](),[TestFrameworkConstants[_0x59a2b0(0x144)]]:[],[TestFrameworkConstants[_0x59a2b0(0x1f5)]]:_0x5cdf24[_0x59a2b0(0xea)]||_0x5cdf24['type']+'\x20hook',[TestFrameworkConstants[_0x59a2b0(0x16b)]]:_0x4548bc});}});}if(_0x15850d[_0x5cd37a(0xa8)]&&_0x220733[_0x5cd37a(0x1dc)](_0x15850d[_0x5cd37a(0xa8)][_0x5cd37a(0x15a)],0x0))_0x11f248[TestFrameworkConstants[_0x5cd37a(0x1b5)]]=_0x15850d[_0x5cd37a(0xa8)],logger[_0x5cd37a(0xfd)](_0x220733[_0x5cd37a(0xc1)]);else _0x220733[_0x5cd37a(0x228)](Object[_0x5cd37a(0xc3)](_0x22a2d6)['length'],0x0)&&(_0x11f248[TestFrameworkConstants[_0x5cd37a(0x1b5)]]=_0x22a2d6,logger[_0x5cd37a(0xfd)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x5cd37a(0xc3)](_0x22a2d6)[_0x5cd37a(0x11b)](',')));const _0x1415b2=this[_0x5cd37a(0xf6)](_0x15850d);logger['debug'](_0x5cd37a(0x1aa)+_0x1415b2+_0x5cd37a(0x1e1)+_0x143dde+_0x5cd37a(0x1d2)+_0xbbef4c+_0x5cd37a(0x1f7)+_0x15850d[_0x5cd37a(0x131)]);_0x220733[_0x5cd37a(0xcb)](_0xbbef4c,_0x220733[_0x5cd37a(0x18f)])&&logger[_0x5cd37a(0xfd)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x143dde+_0x5cd37a(0xa2)+_0x11f248[TestFrameworkConstants[_0x5cd37a(0xaa)]]+_0x5cd37a(0x1f0)+_0x11f248[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]?.['substring'](0x0,0xc8));const _0x500b2d={};return _0x500b2d[_0x143dde]=_0x11f248,_0x500b2d;}[a71_0x428c25(0x1ef)](_0x30b53f){const _0x664d6f=a71_0x428c25,_0x57c11d={};_0x57c11d[_0x664d6f(0x1e3)]=function(_0x307648,_0x322be7){return _0x307648!==_0x322be7;},_0x57c11d['eIJGJ']=function(_0x334801,_0x2d657b){return _0x334801!==_0x2d657b;},_0x57c11d[_0x664d6f(0x174)]='ROOT_DESCRIBE_BLOCK';const _0x4fe469=_0x57c11d,_0x40f345={};_0x40f345['depth']=0x2,_0x40f345['maxArrayLength']=0x3,logger[_0x664d6f(0xfd)](_0x664d6f(0xb4)+util[_0x664d6f(0x13e)](_0x30b53f,_0x40f345));const _0x3bc0ce=[];if(_0x30b53f&&_0x30b53f['parent']){let _0x36a44a=_0x30b53f['parent'];while(_0x36a44a&&_0x36a44a[_0x664d6f(0xea)]&&_0x4fe469['SWnJg'](_0x36a44a[_0x664d6f(0xea)],'')&&_0x4fe469[_0x664d6f(0x189)](_0x36a44a[_0x664d6f(0xea)],_0x4fe469[_0x664d6f(0x174)])){_0x3bc0ce['push'](_0x36a44a[_0x664d6f(0xea)]),_0x36a44a=_0x36a44a[_0x664d6f(0x182)];}}return _0x3bc0ce[_0x664d6f(0x1a0)]();}[a71_0x428c25(0xf6)](_0x4e922b){const _0x31c0fc=a71_0x428c25,_0x3fc1cb={};_0x3fc1cb[_0x31c0fc(0x1d4)]=_0x31c0fc(0x1f6);const _0x212c8f=_0x3fc1cb;if(_0x4e922b[_0x31c0fc(0xea)])return _0x4e922b[_0x31c0fc(0xea)];if(_0x4e922b['title'])return _0x4e922b[_0x31c0fc(0xd4)];return _0x212c8f[_0x31c0fc(0x1d4)];}[a71_0x428c25(0x1c8)](_0x5078af){const _0x35ebbd=a71_0x428c25,_0x36287d=[];if(_0x5078af['tags']&&Array[_0x35ebbd(0x1c1)](_0x5078af[_0x35ebbd(0xbb)]))return _0x5078af[_0x35ebbd(0xbb)][_0x35ebbd(0xd0)](_0x2de8a9=>_0x2de8a9[_0x35ebbd(0x17d)]('@')?_0x2de8a9[_0x35ebbd(0xb9)](0x1):_0x2de8a9);const _0x2164fc=this['getJestTestName'](_0x5078af),_0x29a708=_0x2164fc[_0x35ebbd(0x1b2)](/@(\w+)/g);if(_0x29a708)return _0x29a708[_0x35ebbd(0xd0)](_0x49e257=>_0x49e257['slice'](0x1));return _0x5078af[_0x35ebbd(0x105)]&&Array['isArray'](_0x5078af[_0x35ebbd(0x105)])&&_0x5078af[_0x35ebbd(0x105)][_0x35ebbd(0x1a7)](_0xb2fbc2=>{const _0x455562=_0x35ebbd,_0x36f986=_0xb2fbc2['match'](/@(\w+)/g);_0x36f986&&_0x36f986[_0x455562(0x1a7)](_0x1e40b5=>{const _0x5453bc=_0x455562,_0x2cc653=_0x1e40b5[_0x5453bc(0xb0)](0x1);!_0x36287d[_0x5453bc(0x163)](_0x2cc653)&&_0x36287d['push'](_0x2cc653);});}),_0x36287d;}['getJestTestFilePath'](_0x34ec92){const _0x421605=a71_0x428c25,_0x4c5611={'lTwDu':function(_0xd23d4c,_0x357c24){return _0xd23d4c(_0x357c24);},'WnGVf':_0x421605(0x1a2)};if(_0x34ec92[_0x421605(0x135)])return _0x34ec92[_0x421605(0x135)];if(_0x34ec92['asyncError']){const _0x517c04=_0x4c5611[_0x421605(0xde)](require,_0x4c5611['WnGVf']);try{const _0x2d6074=_0x517c04[_0x421605(0x19e)](_0x34ec92[_0x421605(0x10e)]);if(_0x2d6074[0x0]&&_0x2d6074[0x0][_0x421605(0xec)])return _0x2d6074[0x0][_0x421605(0xec)]();}catch(_0x225d89){logger[_0x421605(0xfd)](_0x421605(0xda)+util[_0x421605(0xe0)](_0x225d89));}}return null;}[a71_0x428c25(0x177)](_0x309070){const _0x1d16ba=a71_0x428c25,_0x56c659={};_0x56c659['MpFcJ']=function(_0x5c5333,_0x4ad3f2){return _0x5c5333>_0x4ad3f2;},_0x56c659[_0x1d16ba(0x185)]='Unknown\x20error';const _0x70738e=_0x56c659;if(_0x309070[_0x1d16ba(0x1d1)]&&_0x70738e[_0x1d16ba(0x1ed)](_0x309070[_0x1d16ba(0x1d1)][_0x1d16ba(0x15a)],0x0))return util[_0x1d16ba(0x13e)](_0x309070['errorsDetailed'][0x0]);if(_0x309070[_0x1d16ba(0x1a5)])return _0x309070[_0x1d16ba(0x1a5)];return _0x70738e[_0x1d16ba(0x185)];}[a71_0x428c25(0x210)](_0x2441b4){const _0x5627d5=a71_0x428c25,_0x3abddb={};_0x3abddb['JNTRm']='Assert',_0x3abddb[_0x5627d5(0x1af)]=_0x5627d5(0x1c9),_0x3abddb['XNFtf']=_0x5627d5(0x139);const _0xd08cfe=_0x3abddb,_0x1081e7=this[_0x5627d5(0x177)](_0x2441b4);if(_0x1081e7&&_0x1081e7[_0x5627d5(0x163)](_0xd08cfe['JNTRm']))return _0xd08cfe[_0x5627d5(0x1af)];return _0xd08cfe['XNFtf'];}[a71_0x428c25(0x170)](_0x1baf8b){const _0x21c78c=a71_0x428c25,_0x4ef6db={'OHBmv':function(_0x44a92d,_0xdd374){return _0x44a92d(_0xdd374);},'RNXrd':'../../../helpers/test-observability/utils','EMOdF':function(_0x3f9f49,_0x21726a){return _0x3f9f49!==_0x21726a;},'alnHr':'test'},{failureData:_0x457894}=_0x4ef6db[_0x21c78c(0x1bc)](require,_0x4ef6db['RNXrd']),_0x23195d=[];return _0x4ef6db['EMOdF'](_0x1baf8b[_0x21c78c(0x1d1)],undefined)&&_0x23195d[_0x21c78c(0x1c6)](_0x1baf8b[_0x21c78c(0x1d1)],_0x4ef6db[_0x21c78c(0xab)]),_0x457894[_0x21c78c(0x188)](null,_0x23195d);}async['trackHookEvent'](_0x4e916f,_0x50ddf1,_0x1ef3f5,_0x4fbbfd){const _0x347ca5=a71_0x428c25,_0x596105={'pmgjg':_0x347ca5(0x1c3),'fSrBq':function(_0x42cbe7){return _0x42cbe7();},'fyTTM':function(_0x3ad277,_0x38a96e){return _0x3ad277 in _0x38a96e;},'blGzE':function(_0x13711d,_0x3c4161){return _0x13711d===_0x3c4161;},'xTlAa':function(_0x239611,_0x5ee435){return _0x239611===_0x5ee435;},'VktIW':function(_0x97b4af,_0x24f36e){return _0x97b4af>_0x24f36e;},'vFQaA':_0x347ca5(0x1ca),'VGFFo':_0x347ca5(0x206),'VPaxM':function(_0x58a75c,_0x2d4743){return _0x58a75c!==_0x2d4743;}},{hookData:_0x30e347}=_0x4fbbfd,_0x2a2645=_0x1ef3f5[_0x347ca5(0x1ec)](),_0x51b96e=_0x50ddf1[_0x347ca5(0x1ec)](),_0x333389={};_0x333389[_0x347ca5(0x1b9)]=0x2,_0x333389[_0x347ca5(0x119)]=0x3,logger[_0x347ca5(0xfd)](_0x347ca5(0xee)+_0x51b96e+_0x347ca5(0x184)+_0x2a2645+_0x347ca5(0x217)+util['inspect'](_0x30e347,_0x333389));if(!_0x30e347)return logger[_0x347ca5(0xfd)](_0x596105[_0x347ca5(0xfa)]),{};const _0x2b6ca5=_0x30e347[_0x347ca5(0x1e8)]||_0x30e347['hookAnalyticsId']||_0x596105['fSrBq'](uuidv4),_0x593dd6=_0x30e347['test_run_id']||this[_0x347ca5(0x1f1)](_0x30e347),_0x56f680=_0x50ddf1[_0x347ca5(0x1ec)]()[_0x347ca5(0x1e5)]('.')[0x1],_0x5f45d5=_0x4e916f[_0x347ca5(0x1f9)]()[_0x347ca5(0x181)](_0x593dd6),_0x40781d=_0x5f45d5?_0x5f45d5[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger[_0x347ca5(0xfd)](_0x347ca5(0x133)+_0x2b6ca5+_0x347ca5(0x1e1)+_0x593dd6+'\x20(testIdentifier),\x20hookType='+_0x56f680+',\x20hookState='+_0x2a2645);if(!_0x5f45d5)return logger[_0x347ca5(0xfd)](_0x347ca5(0xc4)+_0x593dd6+_0x347ca5(0x10d)),this[_0x347ca5(0x15d)](_0x4e916f,_0x593dd6,_0x50ddf1,_0x1ef3f5,_0x4fbbfd),{};let _0x2d5598=_0x5f45d5[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x2d5598&&(_0x2d5598={});!_0x596105[_0x347ca5(0x11e)](_0x56f680,_0x2d5598)&&(_0x2d5598[_0x56f680]=[]);let _0x47feab=_0x5f45d5[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x47feab&&(_0x47feab={});!_0x596105[_0x347ca5(0x11e)](_0x56f680,_0x47feab)&&(_0x47feab[_0x56f680]=[]);const _0x2923df={[TestFrameworkConstants[_0x347ca5(0x165)]]:_0x2d5598,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x47feab},_0x1f06db={};_0x1f06db[_0x593dd6]=_0x2923df;const _0x166421=_0x1f06db;if(_0x596105[_0x347ca5(0x1c5)](_0x1ef3f5,HookState['PRE'])){const _0x31d16f={'key':_0x56f680,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x2b6ca5,[TestFrameworkConstants[_0x347ca5(0x11f)]]:TestFrameworkConstants[_0x347ca5(0xc6)],[TestFrameworkConstants[_0x347ca5(0x19f)]]:_0x30e347[_0x347ca5(0x102)]||new Date()[_0x347ca5(0x13f)](),[TestFrameworkConstants[_0x347ca5(0x144)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x30e347[_0x347ca5(0xea)]||_0x30e347[_0x347ca5(0x180)]||_0x56f680,[TestFrameworkConstants[_0x347ca5(0x16b)]]:_0x40781d};_0x2d5598[_0x56f680][_0x347ca5(0x1c6)](_0x31d16f),_0x166421[_0x593dd6][TestFrameworkConstants[_0x347ca5(0x1a3)]]=_0x56f680;const _0x16416b={};_0x16416b[_0x347ca5(0x1b9)]=0x2,logger['debug'](_0x347ca5(0x148)+_0x56f680+_0x347ca5(0x224)+_0x2b6ca5+_0x347ca5(0x1e1)+_0x593dd6+_0x347ca5(0x116)+util[_0x347ca5(0x13e)](_0x31d16f,_0x16416b));}else{if(_0x596105[_0x347ca5(0x194)](_0x1ef3f5,HookState[_0x347ca5(0x127)])){const _0x4f6a86=_0x30e347['result']||(_0x30e347[_0x347ca5(0x1d1)]&&_0x596105[_0x347ca5(0x1fb)](_0x30e347['errorsDetailed'][_0x347ca5(0x15a)],0x0)?_0x596105[_0x347ca5(0xa4)]:_0x596105['VGFFo']),_0x4ab6e9=_0x2d5598[_0x56f680]||[];logger['debug'](_0x347ca5(0x143)+_0x56f680+_0x347ca5(0x1e1)+_0x593dd6+',\x20result='+_0x4f6a86+',\x20hooksListLength='+_0x4ab6e9[_0x347ca5(0x15a)]);if(_0x596105[_0x347ca5(0x1fb)](_0x4ab6e9[_0x347ca5(0x15a)],0x0)){const _0x3eaaf9=_0x4ab6e9[_0x347ca5(0x118)]();_0x596105[_0x347ca5(0x194)](_0x4f6a86,_0x596105['vFQaA'])&&_0x30e347['errorsDetailed']?(_0x3eaaf9[TestFrameworkConstants[_0x347ca5(0xd3)]]=this[_0x347ca5(0x210)](_0x30e347),_0x3eaaf9[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this[_0x347ca5(0x177)](_0x30e347),_0x3eaaf9[TestFrameworkConstants[_0x347ca5(0x15f)]]=this[_0x347ca5(0x170)](_0x30e347),logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x56f680+',\x20failureType='+_0x3eaaf9[TestFrameworkConstants[_0x347ca5(0xd3)]]+_0x347ca5(0x1f0)+_0x3eaaf9[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.['substring'](0x0,0xc8))):_0x3eaaf9[TestFrameworkConstants[_0x347ca5(0x11f)]]=_0x596105[_0x347ca5(0x161)];_0x596105[_0x347ca5(0x16c)](_0x4f6a86,TestFrameworkConstants[_0x347ca5(0xc6)])&&(_0x3eaaf9[TestFrameworkConstants[_0x347ca5(0x11f)]]=_0x4f6a86);_0x3eaaf9[TestFrameworkConstants[_0x347ca5(0x220)]]=_0x30e347[_0x347ca5(0xc9)]||new Date()['toISOString'](),_0x3eaaf9[TestFrameworkConstants[_0x347ca5(0x16b)]]=_0x40781d;const _0x53b363=_0x3eaaf9[TestFrameworkConstants['KEY_HOOK_ID']];!_0x47feab[_0x56f680]&&(_0x47feab[_0x56f680]=[]);_0x47feab[_0x56f680]['push'](_0x3eaaf9),_0x166421[_0x593dd6][TestFrameworkConstants[_0x347ca5(0xac)]]=_0x56f680;const _0x1cde5e={};_0x1cde5e['depth']=0x2,logger[_0x347ca5(0xfd)](_0x347ca5(0x18b)+_0x56f680+_0x347ca5(0x224)+_0x53b363+_0x347ca5(0xdf)+_0x4f6a86+_0x347ca5(0x116)+util[_0x347ca5(0x13e)](_0x3eaaf9,_0x1cde5e));}}}const _0x1816ca={};return _0x1816ca[_0x347ca5(0x1b9)]=0x2,_0x1816ca[_0x347ca5(0x119)]=0x3,logger[_0x347ca5(0xfd)](_0x347ca5(0xb6)+(_0x30e347[_0x347ca5(0x180)]||_0x56f680)+_0x347ca5(0x224)+_0x2b6ca5+_0x347ca5(0x1e1)+_0x593dd6+_0x347ca5(0xaf)+util['inspect'](_0x166421,_0x1816ca)),_0x166421;}[a71_0x428c25(0x1ce)](_0x50a42a){const _0xa02167=a71_0x428c25,_0x3711b2={};_0x3711b2[_0xa02167(0x12a)]=_0xa02167(0x176);const _0x4c7254=_0x3711b2;try{const _0x2650a9=_0x50a42a[_0xa02167(0x1a8)]?this['getJestTestIdentifier'](_0x50a42a[_0xa02167(0x1a8)]):_0x50a42a[_0xa02167(0xc8)][_0xa02167(0x1a9)],_0x2b9dce=_0x50a42a[_0xa02167(0xca)],_0x2f31be=_0x2b9dce[_0xa02167(0x11c)](),_0x21846d=_0x2b9dce[_0xa02167(0x1f9)]()[_0xa02167(0x181)](_0x2650a9);if(!_0x21846d)return logger[_0xa02167(0xfd)](_0xa02167(0x1c4)+_0x2650a9),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3c016b='',[TestFrameworkConstants[_0xa02167(0x13a)]]:_0x336b34='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x212cd8='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x303aeb=''}=_0x21846d,_0x44e6e2=_0x2b9dce[_0xa02167(0xad)]()[_0xa02167(0x1ec)]()[_0xa02167(0x1e5)]('.')[0x1],_0x576ef3=_0x2b9dce['getCurrentHookState']()[_0xa02167(0x1ec)]()[_0xa02167(0x1e5)]('.')[0x1],_0x1ff279=global?.['__workerDetails']?.[_0xa02167(0xc2)]?.[_0xa02167(0xf8)],_0x3cbfe8=_0x2b9dce['getRef'](),_0x234a46=Buffer[_0xa02167(0x1ea)](JSON[_0xa02167(0x10a)](_0x21846d))[_0xa02167(0x1ec)](_0x4c7254[_0xa02167(0x12a)]),_0x35c806={'hash':_0x2f31be[_0xa02167(0xf7)](),'threadId':_0x2f31be[_0xa02167(0x172)]()[_0xa02167(0x1ec)](),'processId':_0x2f31be[_0xa02167(0x1d5)]()[_0xa02167(0x1ec)]()},_0x385296={};_0x385296['platformIndex']=_0x1ff279,_0x385296[_0xa02167(0x1b3)]=_0x3c016b,_0x385296[_0xa02167(0x20e)]=_0x336b34,_0x385296['testFrameworkState']=_0x44e6e2,_0x385296[_0xa02167(0xff)]=_0x576ef3,_0x385296[_0xa02167(0x1ba)]=_0x212cd8,_0x385296['endedAt']=_0x303aeb,_0x385296[_0xa02167(0x1e8)]=_0x3cbfe8,_0x385296['eventJson']=_0x234a46,_0x385296[_0xa02167(0x214)]=_0x35c806,_0x385296[_0xa02167(0xbc)]=_0x2650a9;const _0x1d45c6=_0x385296;return _0x1d45c6;}catch(_0x9fa58c){return logger['error'](_0xa02167(0x138)+util['format'](_0x9fa58c)),{};}}async['sendLogCreatedEvent'](_0x562eec,_0x2273de,_0x103c2a){const _0x3fe23e=a71_0x428c25,_0x339386={'yeUbU':function(_0xe53d1b,_0x255dd6){return _0xe53d1b+_0x255dd6;},'QjVlw':_0x3fe23e(0x128),'XfNiG':_0x3fe23e(0xef),'zYIeD':function(_0x15baf1,_0x4e0369){return _0x15baf1>_0x4e0369;},'fCMYY':function(_0x1cff5b,_0x304121,_0x5316b2,_0xf32fbf){return _0x1cff5b(_0x304121,_0x5316b2,_0xf32fbf);},'ZqxEw':function(_0x385967,_0x335ecc){return _0x385967-_0x335ecc;},'FzVKk':function(_0x6b6b38,_0x1cf1ac){return _0x6b6b38===_0x1cf1ac;},'ZEnlm':function(_0x2a524d,_0x41bb1a){return _0x2a524d/_0x41bb1a;},'Qfddn':function(_0x29caf6,_0x57d95e){return _0x29caf6<_0x57d95e;},'jwkjG':function(_0x2c8198,_0x1d582a){return _0x2c8198*_0x1d582a;},'tmXXO':function(_0x27fb0c,_0x5b8865){return _0x27fb0c+_0x5b8865;}};try{const _0xec376e=_0x103c2a[_0x3fe23e(0x1a4)]||_0x103c2a[_0x3fe23e(0x15b)],_0x5d05f0=Array[_0x3fe23e(0x1ea)](_0x562eec[_0x3fe23e(0x1f9)]()[_0x3fe23e(0xc3)]()),_0x4078a9=_0x562eec[_0x3fe23e(0x1f9)]()[_0x3fe23e(0x181)](_0xec376e);if(!_0x4078a9){logger[_0x3fe23e(0xfd)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0xec376e);return;}const {[TestFrameworkConstants[_0x3fe23e(0x1e4)]]:_0x55e757='',[TestFrameworkConstants[_0x3fe23e(0x13a)]]:_0x2caca3=''}=_0x4078a9;let _0x50f493=[];if(_0x4078a9&&_0x4078a9[TestFrameworkConstants[_0x3fe23e(0xd9)]]&&Array[_0x3fe23e(0x1c1)](_0x4078a9[TestFrameworkConstants[_0x3fe23e(0xd9)]])){_0x50f493=_0x4078a9[TestFrameworkConstants[_0x3fe23e(0xd9)]]||[],logger[_0x3fe23e(0xfd)](_0x3fe23e(0xa3)+_0x50f493['length']+'\x20logs\x20for\x20testId:\x20'+_0xec376e);const _0x2a21e0={[TestFrameworkConstants[_0x3fe23e(0xd9)]]:[]},_0x98dff0={};_0x98dff0[_0xec376e]=_0x2a21e0,_0x562eec['addMultipleEntries'](_0x98dff0),logger[_0x3fe23e(0xfd)](_0x3fe23e(0x14a)+_0xec376e);}else logger[_0x3fe23e(0xfd)](_0x3fe23e(0x1b0)+_0xec376e);logger[_0x3fe23e(0xfd)](_0x3fe23e(0x21e)+_0x50f493[_0x3fe23e(0x15a)]+'\x20for\x20testId:\x20'+_0xec376e);const _0x1d607a=_0x50f493[_0x3fe23e(0x120)](_0x4b5320=>_0x4b5320['kind']===_0x3fe23e(0x18a));_0x339386['zYIeD'](_0x1d607a[_0x3fe23e(0x15a)],0x0)&&(logger[_0x3fe23e(0xfd)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20'+_0x1d607a[_0x3fe23e(0x15a)]+_0x3fe23e(0xb7)+_0xec376e),_0x1d607a[_0x3fe23e(0x1a7)]((_0x2f9d85,_0x2a345d)=>{const _0x5484c9=_0x3fe23e;logger[_0x5484c9(0xfd)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x339386[_0x5484c9(0x147)](_0x2a345d,0x1)+'/'+_0x1d607a[_0x5484c9(0x15a)]+_0x5484c9(0x18d)+(_0x2f9d85[_0x5484c9(0xbc)]||_0x339386[_0x5484c9(0xa9)])+_0x5484c9(0xa1)+(_0x2f9d85[_0x5484c9(0x145)]||_0x339386[_0x5484c9(0xa9)])+_0x5484c9(0x108)+(_0x2f9d85[_0x5484c9(0x207)]||_0x339386[_0x5484c9(0x175)])+_0x5484c9(0x215)+(_0x2f9d85[_0x5484c9(0x1bb)]?.['length']||0x0));}));const _0x465bff=_0x4078a9[TestFrameworkConstants[_0x3fe23e(0xb5)]]||{},_0x25d14b=_0x339386[_0x3fe23e(0x18c)](getMediaArtifactsLogs,_0x465bff,null,_0xec376e),_0x521da1=(_0x50f493||[])[_0x3fe23e(0x12d)](_0x25d14b||[]),_0x101891=_0x1d607a?.[_0x3fe23e(0x15a)]||0x0,_0x355e7a=_0x339386[_0x3fe23e(0x10c)](_0x50f493?.[_0x3fe23e(0x15a)]||0x0,_0x101891);logger[_0x3fe23e(0xfd)](_0x3fe23e(0x1ac)+_0xec376e+_0x3fe23e(0xe2)+_0x355e7a+_0x3fe23e(0x14f)+_0x101891+_0x3fe23e(0x1b6)+(_0x25d14b?.[_0x3fe23e(0x15a)]||0x0)+',\x20totalLogs:\x20'+_0x521da1[_0x3fe23e(0x15a)]);if(!_0x521da1||_0x339386['FzVKk'](_0x521da1[_0x3fe23e(0x15a)],0x0)){logger[_0x3fe23e(0xfd)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0xec376e);return;}const _0x3f8808=0x28,_0x4fb85d=Math['ceil'](_0x339386[_0x3fe23e(0x193)](_0x521da1[_0x3fe23e(0x15a)],_0x3f8808));for(let _0x766bec=0x0;_0x339386[_0x3fe23e(0x202)](_0x766bec,_0x4fb85d);_0x766bec++){const _0x298758=_0x339386['jwkjG'](_0x766bec,_0x3f8808),_0x4cd95f=_0x339386['tmXXO'](_0x298758,_0x3f8808),_0xaefb64=_0x521da1[_0x3fe23e(0xb0)](_0x298758,_0x4cd95f),_0x53185e=global?.[_0x3fe23e(0x1cd)]?.[_0x3fe23e(0xc2)]?.[_0x3fe23e(0xf8)]||0x0,_0x1e4d26={'platformIndex':_0x53185e,'logs':_0xaefb64,'testFrameworkName':_0x55e757,'testFrameworkVersion':_0x2caca3,'testFrameworkState':_0x2273de[_0x3fe23e(0x1ec)]()[_0x3fe23e(0x1e5)]('.')[0x1]},_0x519b12={};_0x519b12[_0x3fe23e(0x1b9)]=0x3,_0x519b12[_0x3fe23e(0x119)]=0x5,logger[_0x3fe23e(0xfd)](_0x3fe23e(0x205)+_0x339386[_0x3fe23e(0x1ae)](_0x766bec,0x1)+'/'+_0x4fb85d+_0x3fe23e(0x1fe)+_0xec376e+',\x20logsInBatch:\x20'+_0xaefb64[_0x3fe23e(0x15a)]+_0x3fe23e(0x186)+_0x53185e+_0x3fe23e(0xae)+util[_0x3fe23e(0x13e)](_0x1e4d26,_0x519b12));const _0x49691b=await GrpcClient[_0x3fe23e(0xdb)]()['logCreatedEvent'](_0x1e4d26);logger[_0x3fe23e(0xfd)](_0x3fe23e(0x205)+_0x339386[_0x3fe23e(0x1ae)](_0x766bec,0x1)+'/'+_0x4fb85d+_0x3fe23e(0x1fe)+_0xec376e+_0x3fe23e(0x216)+util[_0x3fe23e(0x13e)](_0x49691b));}if(_0x25d14b&&_0x339386[_0x3fe23e(0x211)](_0x25d14b[_0x3fe23e(0x15a)],0x0)&&_0x4078a9[TestFrameworkConstants[_0x3fe23e(0xb5)]]){const _0x9260a5={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x3f02f9={};_0x3f02f9[_0xec376e]=_0x9260a5,_0x562eec['addMultipleEntries'](_0x3f02f9);}logger[_0x3fe23e(0xfd)](_0x3fe23e(0x1e2)+_0xec376e+',\x20totalBatches:\x20'+_0x4fb85d);}catch(_0x31e6c2){logger[_0x3fe23e(0x16a)](_0x3fe23e(0xd2)+(_0x103c2a[_0x3fe23e(0x1a4)]||_0x103c2a[_0x3fe23e(0x15b)])+',\x20error:\x20'+util['format'](_0x31e6c2));}}[a71_0x428c25(0x15d)](_0x50a20f,_0x54c8b3,_0x45c365,_0x335edd,_0x27afc1){const _0x3b0525=a71_0x428c25,_0x41cfeb={};_0x41cfeb['laKSO']=function(_0x910e80,_0x2e52b5){return _0x910e80===_0x2e52b5;},_0x41cfeb[_0x3b0525(0x201)]=_0x3b0525(0xba);const _0x2baba7=_0x41cfeb,{hookData:_0x589d5a}=_0x27afc1,_0x13849f={'testId':_0x54c8b3,'testFrameworkState':_0x45c365,'hookState':_0x335edd,'args':_0x27afc1,'timestamp':new Date()['toISOString']()};if(_0x2baba7['laKSO'](_0x45c365,TestFrameworkState['BEFORE_ALL'])&&_0x589d5a){const _0x118296={};_0x118296[_0x3b0525(0x1d6)]=_0x589d5a[_0x3b0525(0x135)]||_0x589d5a['location'],_0x118296[_0x3b0525(0x103)]=_0x589d5a[_0x3b0525(0x103)]||_0x589d5a[_0x3b0525(0x105)]&&_0x589d5a[_0x3b0525(0x105)][0x0]||'',_0x118296[_0x3b0525(0x149)]=_0x2baba7[_0x3b0525(0x201)],_0x13849f[_0x3b0525(0x109)]=_0x118296,logger['debug'](_0x3b0525(0xe1)+_0x54c8b3+_0x3b0525(0x1dd)+_0x13849f[_0x3b0525(0x109)][_0x3b0525(0x1d6)]+_0x3b0525(0xa0)+_0x13849f[_0x3b0525(0x109)][_0x3b0525(0x103)]);}_0x50a20f[_0x3b0525(0x162)](_0x54c8b3,_0x13849f),logger[_0x3b0525(0xfd)](_0x3b0525(0x13b)+_0x54c8b3+_0x3b0525(0xf5)+_0x45c365+_0x3b0525(0xbe)+_0x335edd);}async[a71_0x428c25(0xc0)](_0x3c3625,_0x41c31c){const _0x38248f=a71_0x428c25,_0x427dd0={};_0x427dd0[_0x38248f(0x221)]=function(_0xd14f1,_0x5f1958){return _0xd14f1>_0x5f1958;},_0x427dd0[_0x38248f(0x154)]=_0x38248f(0x1f4),_0x427dd0[_0x38248f(0x21f)]=function(_0x3f2b5d,_0x26e6b3){return _0x3f2b5d===_0x26e6b3;},_0x427dd0['mTeSg']=_0x38248f(0x1e7),_0x427dd0[_0x38248f(0x21c)]='Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}';const _0x4af91c=_0x427dd0;if(_0x3c3625[_0x38248f(0x227)](_0x41c31c)){const _0x11a4ac=_0x3c3625[_0x38248f(0xce)](_0x41c31c);logger[_0x38248f(0xfd)](_0x38248f(0x196)+_0x11a4ac[_0x38248f(0x15a)]+_0x38248f(0xd5)+_0x41c31c);for(const _0x16aaed of _0x11a4ac){try{const _0x923c37=await this[_0x38248f(0x123)](_0x3c3625,_0x16aaed[_0x38248f(0xe7)],_0x16aaed['hookState'],_0x16aaed[_0x38248f(0xfb)]);_0x923c37&&_0x4af91c[_0x38248f(0x221)](Object[_0x38248f(0xc3)](_0x923c37)[_0x38248f(0x15a)],0x0)&&_0x3c3625[_0x38248f(0x125)](_0x923c37),await this[_0x38248f(0x1db)](_0x3c3625,_0x16aaed[_0x38248f(0xe7)],_0x16aaed[_0x38248f(0xff)],_0x16aaed['args']);}catch(_0x2d8271){logger[_0x38248f(0x16a)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x41c31c+',\x20error:\x20'+_0x2d8271);}}_0x3c3625[_0x38248f(0x14e)](_0x41c31c),logger[_0x38248f(0xfd)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x41c31c);}const _0x1d99ec=_0x3c3625[_0x38248f(0x1f9)]()['get'](_0x41c31c);if(_0x1d99ec){const _0x18a3fd=_0x1d99ec[TestFrameworkConstants[_0x38248f(0x21b)]]||_0x1d99ec[TestFrameworkConstants[_0x38248f(0xf9)]],_0x1b373a=_0x1d99ec[TestFrameworkConstants[_0x38248f(0x156)]]||_0x1d99ec[TestFrameworkConstants[_0x38248f(0x1da)]]&&_0x1d99ec[TestFrameworkConstants[_0x38248f(0x1da)]][0x0]||'';logger[_0x38248f(0xfd)](_0x4af91c[_0x38248f(0x154)]);const _0x2c32cd=_0x3c3625[_0x38248f(0x153)]();for(const _0x3affc1 of _0x2c32cd){if(_0x4af91c[_0x38248f(0x21f)](_0x3affc1,_0x41c31c))continue;if(_0x3c3625[_0x38248f(0x227)](_0x3affc1)){const _0x2502dc=_0x3c3625[_0x38248f(0xce)](_0x3affc1);for(const _0x1c27eb of _0x2502dc){if(_0x4af91c['IGQoL'](_0x1c27eb['testFrameworkState'],TestFrameworkState[_0x38248f(0x1fc)])&&_0x1c27eb[_0x38248f(0x109)]){const _0x5f00ef=_0x1c27eb['hookMetadata']['filePath'],_0x1945e9=_0x1c27eb['hookMetadata'][_0x38248f(0x103)];if(_0x4af91c[_0x38248f(0x21f)](_0x5f00ef,_0x18a3fd)&&_0x4af91c[_0x38248f(0x21f)](_0x1945e9,_0x1b373a)){logger[_0x38248f(0xfd)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x3affc1+_0x38248f(0xb2)+_0x41c31c+_0x38248f(0x1dd)+_0x5f00ef+_0x38248f(0xa0)+_0x1945e9);_0x1c27eb[_0x38248f(0xfb)]&&_0x1c27eb[_0x38248f(0xfb)][_0x38248f(0xc8)]&&(_0x1c27eb[_0x38248f(0xfb)][_0x38248f(0xc8)][_0x38248f(0x1a9)]=_0x41c31c,logger['debug'](_0x38248f(0x178)+_0x3affc1+_0x38248f(0x14c)+_0x41c31c));try{const _0x4c3110=await this['trackHookEvent'](_0x3c3625,_0x1c27eb[_0x38248f(0xe7)],_0x1c27eb[_0x38248f(0xff)],_0x1c27eb[_0x38248f(0xfb)]);_0x4c3110&&_0x4af91c[_0x38248f(0x221)](Object['keys'](_0x4c3110)[_0x38248f(0x15a)],0x0)&&_0x3c3625[_0x38248f(0x125)](_0x4c3110);await this[_0x38248f(0x1db)](_0x3c3625,_0x1c27eb[_0x38248f(0xe7)],_0x1c27eb['hookState'],_0x1c27eb[_0x38248f(0xfb)]);const _0x34066b=_0x3c3625[_0x38248f(0xce)](_0x3affc1)[_0x38248f(0x120)](_0xc1c3a5=>_0xc1c3a5!==_0x1c27eb);if(_0x4af91c[_0x38248f(0x21f)](_0x34066b[_0x38248f(0x15a)],0x0))_0x3c3625['removePendingHooks'](_0x3affc1);else{_0x3c3625[_0x38248f(0x14e)](_0x3affc1);for(const _0x9e9a39 of _0x34066b){_0x3c3625[_0x38248f(0x162)](_0x3affc1,_0x9e9a39);}}logger[_0x38248f(0xfd)](_0x4af91c[_0x38248f(0x121)]);}catch(_0x23c059){logger[_0x38248f(0x16a)](_0x4af91c[_0x38248f(0x21c)]);}}}}}}}}[a71_0x428c25(0x1fd)](_0x3f08c6){const _0x328f99=a71_0x428c25,_0x425f9c={'fLUfF':function(_0x2601f6){return _0x2601f6();}};if(!_0x3f08c6||!_0x3f08c6['parent'])return;_0x3f08c6[_0x328f99(0x182)][_0x328f99(0xa8)]&&Array[_0x328f99(0x1c1)](_0x3f08c6[_0x328f99(0x182)]['hooks'])&&_0x3f08c6[_0x328f99(0x182)][_0x328f99(0xa8)]['forEach'](_0x401a31=>{const _0x2dbbbf=_0x328f99;!_0x401a31['hookAnalyticsId']&&!_0x401a31[_0x2dbbbf(0xbd)]&&(_0x401a31[_0x2dbbbf(0x166)]=_0x425f9c[_0x2dbbbf(0x1fa)](uuidv4),_0x401a31['hookUUID']=_0x401a31['hookAnalyticsId'],logger[_0x2dbbbf(0xfd)](_0x2dbbbf(0x1f8)+_0x401a31[_0x2dbbbf(0x160)]+_0x2dbbbf(0x1a6)+_0x401a31['hookAnalyticsId']));}),this['mapTestHooks'](_0x3f08c6[_0x328f99(0x182)]);}[a71_0x428c25(0xe5)](_0x3524a8){const _0x373946=a71_0x428c25,_0x1cc73a={'roFNV':function(_0x54efbb,_0x337d28){return _0x54efbb(_0x337d28);}};if(!_0x3524a8||!_0x3524a8['parent'])return[];const _0x1b334e=[];return _0x3524a8['parent']['hooks']&&Array[_0x373946(0x1c1)](_0x3524a8['parent'][_0x373946(0xa8)])&&_0x3524a8[_0x373946(0x182)]['hooks'][_0x373946(0x1a7)](_0x14294f=>{const _0x4c59fb=_0x373946,_0x25c694=_0x14294f[_0x4c59fb(0x166)]||_0x14294f[_0x4c59fb(0xbd)];_0x25c694&&!this[_0x4c59fb(0x1de)](_0x14294f)&&!_0x1cc73a[_0x4c59fb(0xdd)](isInternalHook,_0x14294f['fn'])&&_0x1b334e[_0x4c59fb(0x1c6)](_0x25c694);}),[..._0x1b334e,...this[_0x373946(0xe5)](_0x3524a8[_0x373946(0x182)])];}[a71_0x428c25(0x10f)](_0x1c69f2){const _0x552cfe=a71_0x428c25,_0x2d233a={'AFbiF':function(_0x4226ed,_0x587a8f){return _0x4226ed(_0x587a8f);},'fuDHW':_0x552cfe(0x14d)},_0x50a828=new Map(),_0x5e8db9=_0x48d879=>{const _0x26775a=_0x552cfe,_0x1d99e6={'mjvJZ':function(_0x2fe9d9,_0x37fe17){const _0x2cd958=a71_0x3018;return _0x2d233a[_0x2cd958(0xd6)](_0x2fe9d9,_0x37fe17);},'FWLfu':_0x2d233a[_0x26775a(0x16e)]};if(!_0x48d879||!_0x48d879['parent'])return;_0x48d879[_0x26775a(0x182)][_0x26775a(0xa8)]&&Array[_0x26775a(0x1c1)](_0x48d879['parent']['hooks'])&&_0x48d879[_0x26775a(0x182)][_0x26775a(0xa8)][_0x26775a(0x1a7)](_0x2bac83=>{const _0x3f41d1=_0x26775a,_0x38a717=_0x2bac83['hookAnalyticsId']||_0x2bac83[_0x3f41d1(0xbd)];if(_0x38a717&&!this[_0x3f41d1(0x1de)](_0x2bac83)&&!_0x1d99e6['mjvJZ'](isInternalHook,_0x2bac83['fn'])){const _0x1d6c14={};_0x1d6c14['type']=_0x2bac83[_0x3f41d1(0x160)]||_0x1d99e6['FWLfu'],_0x1d6c14[_0x3f41d1(0xea)]=_0x2bac83['name']||'\x22'+_0x2bac83[_0x3f41d1(0x160)]+_0x3f41d1(0x13d),_0x50a828[_0x3f41d1(0x157)](_0x38a717,_0x1d6c14);}}),_0x2d233a[_0x26775a(0xd6)](_0x5e8db9,_0x48d879[_0x26775a(0x182)]);};return _0x2d233a[_0x552cfe(0xd6)](_0x5e8db9,_0x1c69f2),_0x50a828;}[a71_0x428c25(0x1de)](_0x15f08e){const _0x143d27=a71_0x428c25,_0x230319={};_0x230319['gcaqe']='jest-circus',_0x230319[_0x143d27(0xb1)]=_0x143d27(0xed);const _0x3ca739=_0x230319;try{const _0x1ca75d=this[_0x143d27(0x100)](_0x15f08e);return _0x1ca75d&&_0x1ca75d[_0x143d27(0x163)](_0x3ca739[_0x143d27(0x190)]);}catch(_0x2cd3ab){logger[_0x143d27(0xfd)](_0x3ca739[_0x143d27(0xb1)]);}return![];}[a71_0x428c25(0x100)](_0x55945e){const _0x46b994=a71_0x428c25;if(_0x55945e[_0x46b994(0x10e)])try{const _0x12ba6b=stackTrace['parse'](_0x55945e['asyncError']);return _0x12ba6b[0x0]?_0x12ba6b[0x0][_0x46b994(0xec)]():null;}catch(_0x57aa63){logger['debug'](_0x46b994(0x111)+util[_0x46b994(0xe0)](_0x57aa63));}if(_0x55945e[_0x46b994(0x21d)])return _0x55945e[_0x46b994(0x21d)];return null;}}module[a71_0x428c25(0x200)]=JestTestFramework;
1
+ const a71_0x789e06=a71_0x3ddf;(function(_0x304c37,_0x517404){const _0x596480=a71_0x3ddf,_0x2d0f2f=_0x304c37();while(!![]){try{const _0x3b031a=-parseInt(_0x596480(0x20b))/0x1+-parseInt(_0x596480(0x2a1))/0x2*(parseInt(_0x596480(0x302))/0x3)+-parseInt(_0x596480(0x205))/0x4*(parseInt(_0x596480(0x280))/0x5)+parseInt(_0x596480(0x334))/0x6+-parseInt(_0x596480(0x348))/0x7*(-parseInt(_0x596480(0x304))/0x8)+parseInt(_0x596480(0x1ec))/0x9*(parseInt(_0x596480(0x2e0))/0xa)+parseInt(_0x596480(0x21c))/0xb;if(_0x3b031a===_0x517404)break;else _0x2d0f2f['push'](_0x2d0f2f['shift']());}catch(_0x1062ed){_0x2d0f2f['push'](_0x2d0f2f['shift']());}}}(a71_0x8470,0xbf1b8));const TestFramework=require(a71_0x789e06(0x33e)),TestFrameworkState=require(a71_0x789e06(0x217)),HookState=require(a71_0x789e06(0x2c8)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a71_0x789e06(0x27c)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a71_0x789e06(0x332)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x789e06(0x24d)),{isInternalHook}=require(a71_0x789e06(0x317)),logger=createClassLogger(a71_0x789e06(0x29d)),{v4:uuidv4}=require('uuid'),util=require('util'),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient'),stackTrace=require(a71_0x789e06(0x350));function a71_0x8470(){const _0xe01338=['filePath','NUQmZ','POST',',\x20test_run_uuid=','getId','KEY_HOOK_RESULT','name','ODYAd','removeActiveHook','activeHooks','parseJestTest','warn','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','findIndex','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','cozSe','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','../state/hookState.js','KEY_HOOK_NAME','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','buildHookMapFromTest','asyncError','PkGzu','getRef',',\x20failureReason=','KEY_HOOK_LAST_FINISHED','\x20for\x20testId:\x20','LKDgr','getJestFailureReason','Unknown\x20error',',\x20currentTestId:\x20','NqHWl','file','TEST_SCREENSHOT','workerInfo','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getTestFrameworksVersions','XRNbn','hqtka','vYAGc','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','4047990NnSjPX','status','UnYbv','ijJnB','kEicT','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','maxArrayLength',',\x20messageLength=','getActiveHook','KEY_HOOK_ID','\x20(testIdentifier),\x20hookType=',',\x20payload:\x20','EIWRt','DKhKz','storePendingHook','logCreatedEvent','mktiO','parseJestTestResult','scope','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','unknown',',\x20target=','concat','executionContext','KEY_TEST_FAILURE','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','KEY_TEST_RESULT','title','duration','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=',',\x20state=','KEY_EVENT_ENDED_AT','JOpOy','7941ZYkHOd','find','3041768uoFHIQ','jMlRP','LOG_REPORT','\x20-\x20test_identifier=',',\x20hookUUID=','eFbeT','vywKC','getHooksForTest','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20',',\x20testData=','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','\x20&\x20hookState=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','BbEEa','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','testUUID','finished_at','trackHookEvent','hBadC','../../../helpers/test-observability/utils',',\x20scopes=',',\x20exception=','\x20(testIdentifier),\x20tags=','parallelIndex','hasPendingHooks','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','hookAnalyticsId','stringify','KAZhx','test_identifier','KEY_TEST_SCOPES','parent','passed','DEFAULT_HOOK_RESULT','KEY_TEST_RERUN_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','qevNH','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','get','pid','getJestTestName','keys','getCurrentHookState','getCurrentInstanceName','hooks','PEQvP','./constants/testFrameworkConstants.js','\x20pending\x20hooks\x20for\x20testId:\x20','1790598hpptOU',',\x20version=',',\x20failureType=','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','replace','hook_run_uuid',',\x20result=','set','KEY_TEST_META','hookData','./testFramework',',\x20testFramework=','isJestInternalHook',',\x20filePath:\x20','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','KEY_LOGS','testFrameworkVersion','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_CODE','21AQuJWj','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','toString','ztLQu','getRootParentFile','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','gFgjs','KEY_TEST_LOGS','stack-trace','cbRty','AOLpu','substr','getInstance','Assert','getPendingHooks','testId','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','hook_id','KEY_HOOK_FAILURE_TYPE','from','runHooks','KEY_TEST_FAILURE_REASON','KEY_TEST_FILE_PATH','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','eventJson','VbNGX','ceil','hook_type','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=',',\x20remainingHooks=','processPendingHooks',',\x20filePath=','toISOString','\x20screenshot\x20logs\x20for\x20testId:\x20','KEY_TEST_RETRY_OF','getAllData','depth','substring','skipped','getTestFrameworks','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','error','omnOE','afHNh','trackJestInstance','getJestTestIdentifier','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','uuid','XdksS',',\x20attachmentLogs:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','27LgDWKv','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','MrzBF','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','started_at','WPeFV','PZvLg','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','getCurrentTestState','instance','LvsmW','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','\x20(testIdentifier),\x20result=','rtGOx','base64',',\x20hookId=','test_run_id','getJestFailureType','qEAba','NXwXO','UhdfT','file_name','addPendingHook','4630308CAdMRQ','format','KEY_HOOKS_FINISHED','BEFORE_ALL','PKlKQ','push','1166577MUtVpc','length','KEY_TEST_TAGS',',\x20hookType=','testFrameworkName','arhUd','AssertionError','errorsDetailed',',\x20argsKeys=',',\x20scope:\x20','UfQhG','_ALL','../state/testFrameworkState.js','retryOf','bloCU','wNqBU','map','8598315DSHeQt',',\x20platformIndex:\x20','KEY_HOOK_LAST_STARTED','wcgvI','KEY_HOOK_FAILURE_REASON','inspect','hookUUID','Processing\x20','kElYc','testFrameworkState','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','SKxoZ','testData','filter','matchHookRegex','debug','SpBKe','ALL','getJestTestTags','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20',',\x20state:\x20',':testAnalyticsId',',\x20hookData=','beforeAll','\x20attachments','KEY_TEST_LOCATION','KWuwf','createContext','getFileName','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','KEY_TEST_NAME',',\x20logsInBatch:\x20',',\x20error:\x20','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','\x20(testIdentifier)','has','pdUge','pGQeA','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','hoZeM','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','KEY_TEST_ATTACHMENTS','none','addMultipleEntries','mapTestHooks','Aqczl','test_run_uuid','apply','../../../helpers/helper.js','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','KEY_CUSTOM_TAGS','RKXZl','KEY_TEST_DURATION','startsWith','ejbrB','\x20-\x20testId:\x20',',\x20hook_run_uuid=','KEY_HOOK_FAILURE','args','WCnKT','KEY_EVENT_STARTED_AT',',\x20updates=',',\x20testId=','fOvBQ','getThreadId','message',',\x20hook=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','removePendingHooks','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','sendLogCreatedEvent','scopes','VzXmy','FVbtF','jest-circus','hookType','getTrackedInstance','KEY_TEST_ENDED_AT','KEY_TEST_ID','hookState','asZsS','dqmUR','KEY_TEST_FRAMEWORK_NAME','\x22\x20hook','join','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','cGzXe','nmkzV','startedAt','NoNrx','PBJLs','tags','parse','hookMetadata','Igduu','../instances/testFrameworkInstance.js','resolveInstance','KEY_TEST_FAILURE_TYPE','KEY_HOOK_LOGS','5bdPbib','yugNA','getJestFailureData','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','match','slice','KEY_HOOKS_STARTED','splice',',\x20hookState=','__workerDetails','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','failed','isArray','LHjlt','ROOT_DESCRIBE_BLOCK','forEach','TEST','lZEyk','endedAt','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','getProcessId','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','test','toUpperCase','includes',',\x20totalBatches:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','JestTestFramework','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','KwBhk','originalTest','248aWEHGK','getJestTestFilePath','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','split','getContext','type','DEFAULT_TEST_RESULT','missing','trackJestInstance:\x20instance\x20already\x20exists','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','ZVAOf',',\x20storing\x20as\x20pending\x20hook','failure_reason','trackEvent',',\x20contextId=','createTestFrameworkEventPayload','location','setActiveHook','VQstv','result'];a71_0x8470=function(){return _0xe01338;};return a71_0x8470();}function a71_0x3ddf(_0xbd8dd0,_0x7e025d){const _0x847030=a71_0x8470();return a71_0x3ddf=function(_0x3ddf5b,_0x1ab34d){_0x3ddf5b=_0x3ddf5b-0x1c5;let _0x3e5543=_0x847030[_0x3ddf5b];return _0x3e5543;},a71_0x3ddf(_0xbd8dd0,_0x7e025d);}class JestTestFramework extends TestFramework{constructor(_0x543bfd,_0x1cbf37,_0x289d43){const _0x3cf17a=a71_0x789e06;super(_0x543bfd,_0x1cbf37,_0x289d43),this[_0x3cf17a(0x2bf)]=new Map();}[a71_0x789e06(0x2b3)](_0xecb469,_0x25f55f,_0x1c6a9a){const _0x2de534=a71_0x789e06,_0x187c84={};_0x187c84[_0x2de534(0x34e)]=function(_0x3c354d,_0x1e2fc4){return _0x3c354d||_0x1e2fc4;};const _0x11120d=_0x187c84;if(_0x11120d[_0x2de534(0x34e)](!_0xecb469,!_0x25f55f)){logger[_0x2de534(0x2c1)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0xecb469+_0x2de534(0x308)+_0x25f55f);return;}!this[_0x2de534(0x2bf)][_0x2de534(0x23f)](_0xecb469)&&this[_0x2de534(0x2bf)][_0x2de534(0x33b)](_0xecb469,[]);const _0x4041f0={'hookUUID':_0x25f55f,'hookType':_0x1c6a9a,'startedAt':new Date()[_0x2de534(0x1d9)]()};this['activeHooks'][_0x2de534(0x32a)](_0xecb469)['push'](_0x4041f0),logger['debug']('[JestTestFramework]\x20setActiveHook:\x20testIdentifier='+_0xecb469+_0x2de534(0x308)+_0x25f55f+',\x20hookType='+_0x1c6a9a+',\x20totalHooks='+this[_0x2de534(0x2bf)][_0x2de534(0x32a)](_0xecb469)[_0x2de534(0x20c)]);}[a71_0x789e06(0x2be)](_0x2e7689,_0x3d24be){const _0x27be1c=a71_0x789e06,_0x2c8fae={};_0x2c8fae[_0x27be1c(0x24a)]=function(_0x45af20,_0x3fa1c3){return _0x45af20||_0x3fa1c3;},_0x2c8fae['jVFpn']=function(_0x3e055c,_0x471f9f){return _0x3e055c!==_0x471f9f;},_0x2c8fae[_0x27be1c(0x34b)]=function(_0x26b490,_0x1e4d3d){return _0x26b490===_0x1e4d3d;};const _0x457bc6=_0x2c8fae;if(_0x457bc6['Aqczl'](!_0x2e7689,!_0x3d24be)){logger['warn'](_0x27be1c(0x1c8)+_0x2e7689+',\x20hookUUID='+_0x3d24be);return;}if(this[_0x27be1c(0x2bf)]['has'](_0x2e7689)){const _0x24fa5f=this[_0x27be1c(0x2bf)][_0x27be1c(0x32a)](_0x2e7689),_0x3ac9e5=_0x24fa5f[_0x27be1c(0x2c3)](_0x336b3c=>_0x336b3c[_0x27be1c(0x222)]===_0x3d24be);_0x457bc6['jVFpn'](_0x3ac9e5,-0x1)?(_0x24fa5f[_0x27be1c(0x289)](_0x3ac9e5,0x1),logger[_0x27be1c(0x22b)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x2e7689+_0x27be1c(0x308)+_0x3d24be+_0x27be1c(0x1d6)+_0x24fa5f['length']),_0x457bc6[_0x27be1c(0x34b)](_0x24fa5f[_0x27be1c(0x20c)],0x0)&&this['activeHooks']['delete'](_0x2e7689)):logger[_0x27be1c(0x22b)]('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x2e7689+_0x27be1c(0x308)+_0x3d24be);}}[a71_0x789e06(0x2e9)](_0x13f013){const _0xcaa862=a71_0x789e06,_0x58544a={};_0x58544a['zdwFa']=function(_0x391f50,_0x99f4b0){return _0x391f50>_0x99f4b0;},_0x58544a['PAVMc']=function(_0x4c3cce,_0x4dbe50){return _0x4c3cce-_0x4dbe50;};const _0x200b0c=_0x58544a;if(!_0x13f013)return null;if(this['activeHooks']['has'](_0x13f013)){const _0xd95ee5=this[_0xcaa862(0x2bf)]['get'](_0x13f013);if(_0x200b0c['zdwFa'](_0xd95ee5[_0xcaa862(0x20c)],0x0)){const _0x593210=_0xd95ee5[_0x200b0c['PAVMc'](_0xd95ee5['length'],0x1)];return logger[_0xcaa862(0x22b)](_0xcaa862(0x1f7)+_0x13f013+_0xcaa862(0x308)+_0x593210[_0xcaa862(0x222)]+_0xcaa862(0x20e)+_0x593210[_0xcaa862(0x268)]),_0x593210;}}return null;}async[a71_0x789e06(0x2af)](_0x3b6b5b,_0x2031f7,_0x5c6216={}){const _0x463766=a71_0x789e06,_0x413618={};_0x413618[_0x463766(0x201)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x413618[_0x463766(0x202)]=function(_0x44bdcb,_0x4d2080){return _0x44bdcb===_0x4d2080;},_0x413618[_0x463766(0x2f1)]=function(_0x5c0f9a,_0x541e82){return _0x5c0f9a||_0x541e82;},_0x413618[_0x463766(0x21f)]='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND';const _0x2363d8=_0x413618;logger[_0x463766(0x22b)](_0x463766(0x284)+_0x3b6b5b+_0x463766(0x28a)+_0x2031f7+_0x463766(0x213)+Object['keys'](_0x5c6216)[_0x463766(0x271)](',')),await super['trackEvent'](_0x3b6b5b,_0x2031f7,_0x5c6216);const _0x4d9310=this[_0x463766(0x27d)](_0x3b6b5b,_0x2031f7,_0x5c6216);if(!_0x4d9310){logger[_0x463766(0x22b)](_0x2363d8[_0x463766(0x201)]);return;}try{let _0x1f7017,_0x4b59bb,_0x2b6c20;switch(_0x3b6b5b){case TestFrameworkState[_0x463766(0x292)]:_0x1f7017=_0x5c6216[_0x463766(0x298)];const _0x3b61de={};_0x3b61de[_0x463766(0x1dd)]=0x2,_0x3b61de[_0x463766(0x2e7)]=0x3,logger['debug'](_0x463766(0x29c)+_0x2031f7+_0x463766(0x30d)+util[_0x463766(0x221)](_0x1f7017,_0x3b61de)),_0x2b6c20=this[_0x463766(0x1e6)](_0x1f7017),_0x4b59bb=null,logger[_0x463766(0x22b)](_0x463766(0x1eb)+_0x2b6c20+_0x463766(0x23e));if(_0x2363d8[_0x463766(0x202)](_0x2031f7,HookState['PRE'])){logger['debug'](_0x463766(0x1d0)+_0x2b6c20);const _0x54db5a={};_0x54db5a['testUUID']=_0x4b59bb,_0x54db5a[_0x463766(0x228)]=_0x1f7017,_0x54db5a['testId']=_0x2b6c20;const _0x1ff17d=this[_0x463766(0x2c0)](_0x54db5a),_0x51cb1e={};_0x51cb1e['depth']=0x2,_0x51cb1e[_0x463766(0x2e7)]=0x3,logger[_0x463766(0x22b)](_0x463766(0x285)+util[_0x463766(0x221)](_0x1ff17d,_0x51cb1e)),_0x4d9310['addMultipleEntries'](_0x1ff17d),logger[_0x463766(0x22b)](_0x463766(0x245)+_0x2b6c20),await this[_0x463766(0x1d7)](_0x4d9310,_0x2b6c20);}else{if(_0x2363d8[_0x463766(0x202)](_0x2031f7,HookState[_0x463766(0x2b8)])){logger[_0x463766(0x22b)](_0x463766(0x31d)+_0x2b6c20);const _0x1972c8=_0x4d9310[_0x463766(0x1dc)]()['get'](_0x2b6c20);logger['debug'](_0x463766(0x1f8)+util[_0x463766(0x221)](Object[_0x463766(0x32d)](_0x2363d8[_0x463766(0x2f1)](_0x1972c8,{}))));_0x1972c8&&_0x1972c8[TestFrameworkConstants[_0x463766(0x246)]]?logger['debug'](_0x463766(0x1cf)+Object['keys'](_0x1972c8[TestFrameworkConstants[_0x463766(0x246)]])[_0x463766(0x20c)]+'\x20files'):logger['debug'](_0x2363d8[_0x463766(0x21f)]);const _0x32b013=_0x5c6216[_0x463766(0x2a0)]||null,_0x5bd5fe={};_0x5bd5fe[_0x463766(0x313)]=_0x4b59bb,_0x5bd5fe[_0x463766(0x228)]=_0x1f7017,_0x5bd5fe[_0x463766(0x1c7)]=_0x2b6c20,_0x5bd5fe[_0x463766(0x2a0)]=_0x32b013;const _0x40a1cc=this[_0x463766(0x2f2)](_0x5bd5fe),_0x4c52e1={};_0x4c52e1[_0x463766(0x1dd)]=0x2,_0x4c52e1[_0x463766(0x2e7)]=0x3,logger[_0x463766(0x22b)](_0x463766(0x30c)+util[_0x463766(0x221)](_0x40a1cc,_0x4c52e1)),_0x4d9310[_0x463766(0x248)](_0x40a1cc),logger[_0x463766(0x22b)](_0x463766(0x22f)+_0x2b6c20),await this[_0x463766(0x1d7)](_0x4d9310,_0x2b6c20);}}break;case TestFrameworkState[_0x463766(0x306)]:if(_0x2363d8[_0x463766(0x202)](_0x2031f7,HookState[_0x463766(0x2b8)])){const _0x177461={};_0x177461[_0x463766(0x1dd)]=0x2,logger[_0x463766(0x22b)](_0x463766(0x283)+util['inspect'](_0x5c6216,_0x177461)),await this[_0x463766(0x263)](_0x4d9310,_0x3b6b5b,_0x5c6216);}break;default:if(CLIUtils[_0x463766(0x22a)](_0x3b6b5b[_0x463766(0x34a)]()['split']('.')[0x1])){const _0x3121e1={};_0x3121e1[_0x463766(0x1dd)]=0x2,_0x3121e1[_0x463766(0x2e7)]=0x3,logger[_0x463766(0x22b)](_0x463766(0x1e1)+_0x3b6b5b+_0x463766(0x28a)+_0x2031f7+',\x20hookData='+util[_0x463766(0x221)](_0x5c6216[_0x463766(0x33d)],_0x3121e1));const _0x1a01fa=await this[_0x463766(0x315)](_0x4d9310,_0x3b6b5b,_0x2031f7,_0x5c6216),_0x52f6b7={};_0x52f6b7[_0x463766(0x1dd)]=0x2,_0x52f6b7['maxArrayLength']=0x3,logger[_0x463766(0x22b)](_0x463766(0x2c7)+util[_0x463766(0x221)](_0x1a01fa,_0x52f6b7)),_0x4d9310[_0x463766(0x248)](_0x1a01fa);}else logger[_0x463766(0x22b)]('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x3b6b5b+_0x463766(0x30f)+_0x2031f7);break;}logger[_0x463766(0x22b)](_0x463766(0x2ca)+_0x3b6b5b+_0x463766(0x28a)+_0x2031f7);}catch(_0x173535){logger[_0x463766(0x1e2)](_0x463766(0x226)+_0x3b6b5b+_0x463766(0x28a)+_0x2031f7+_0x463766(0x319)+util['format'](_0x173535));}_0x5c6216['instance']=_0x4d9310,await this[_0x463766(0x1cc)](_0x4d9310,_0x3b6b5b,_0x2031f7,_0x5c6216);}[a71_0x789e06(0x1e6)](_0x1d82ec){const _0x481bfc=a71_0x789e06,_0xdc2a32={};_0xdc2a32[_0x481bfc(0x244)]=_0x481bfc(0x329);const _0x5aaba6=_0xdc2a32;if(_0x1d82ec&&(_0x1d82ec['id']||_0x1d82ec[_0x481bfc(0x1e8)])){const _0x228f72=_0x1d82ec['id']||_0x1d82ec[_0x481bfc(0x1e8)];return logger[_0x481bfc(0x22b)](_0x481bfc(0x23d)+_0x228f72+'\x22\x20from\x20testData'),_0x228f72;}return logger[_0x481bfc(0x22b)](_0x5aaba6[_0x481bfc(0x244)]),process[_0x481bfc(0x32b)]+_0x481bfc(0x231);}[a71_0x789e06(0x27d)](_0x1dcd8a,_0x2e2236,_0x502fcc={}){const _0x4c266a=a71_0x789e06;let _0x1b5584=null;return _0x1b5584=TestFramework[_0x4c266a(0x269)](),!_0x1b5584?(logger[_0x4c266a(0x22b)](_0x4c266a(0x262)+_0x1dcd8a),this[_0x4c266a(0x1e5)](_0x1dcd8a,_0x502fcc),_0x1b5584=TestFramework[_0x4c266a(0x269)](),logger[_0x4c266a(0x22b)](_0x4c266a(0x312)+!!_0x1b5584+_0x4c266a(0x2b0)+_0x1b5584?.['getContext']()?.[_0x4c266a(0x2ba)]())):logger[_0x4c266a(0x22b)](_0x4c266a(0x337)+_0x1b5584['getContext']()?.[_0x4c266a(0x2ba)]()),_0x1b5584;}[a71_0x789e06(0x1e5)](_0x511ccb,_0x7254c3){const _0x3c932b=a71_0x789e06,_0x541945={};_0x541945[_0x3c932b(0x2e2)]=_0x3c932b(0x2a9);const _0x20abf6=_0x541945;if(TestFramework['getTrackedInstance']()){logger[_0x3c932b(0x22b)](_0x20abf6[_0x3c932b(0x2e2)]);return;}const _0x14ed7b=CLIUtils[_0x3c932b(0x32f)](),_0x430b24=TrackedInstance[_0x3c932b(0x237)](_0x14ed7b);let _0x187aa7=null;logger[_0x3c932b(0x22b)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x14ed7b+_0x3c932b(0x2ff)+_0x511ccb),_0x187aa7=new TestFrameworkInstance(_0x430b24,this[_0x3c932b(0x1e0)](),this[_0x3c932b(0x2db)](),_0x511ccb,HookState['NONE']),TestFramework['setTrackedInstance'](_0x430b24,_0x187aa7),logger[_0x3c932b(0x22b)]('[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId='+_0x430b24[_0x3c932b(0x2ba)]()+_0x3c932b(0x2f6)+_0x14ed7b+_0x3c932b(0x33f)+this['getTestFrameworks']()[0x0]+_0x3c932b(0x335)+this[_0x3c932b(0x2db)]()[this[_0x3c932b(0x1e0)]()[0x0]]);}['parseJestTest'](_0x5a3b2e){const _0xb2c9e9=a71_0x789e06,_0x51af92={};_0x51af92['cbRty']=function(_0x675156,_0x537178){return _0x675156||_0x537178;},_0x51af92[_0xb2c9e9(0x2ac)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0xf1dcea=_0x51af92,{testUUID:_0x401867,testData:_0x1b9ee3,testId:_0x47968c}=_0x5a3b2e;if(_0xf1dcea[_0xb2c9e9(0x351)](!_0x1b9ee3,!_0x47968c))return logger[_0xb2c9e9(0x22b)](_0xf1dcea[_0xb2c9e9(0x2ac)]),{};const _0x544666=this[_0xb2c9e9(0x1e0)]()[0x0],_0x24d790=this[_0xb2c9e9(0x2db)](),_0x2f6cc1={};_0x2f6cc1[_0xb2c9e9(0x1dd)]=0x2,_0x2f6cc1['maxArrayLength']=0x3,logger['debug'](_0xb2c9e9(0x2fa)+util['inspect'](_0x1b9ee3,_0x2f6cc1));const _0x402a82=_0x1b9ee3?.[_0xb2c9e9(0x264)]||[],_0x22b0bc=this[_0xb2c9e9(0x32c)](_0x1b9ee3),_0x554bc6=this[_0xb2c9e9(0x2a2)](_0x1b9ee3),_0x3c0ba7=_0x1b9ee3['fn']?_0x1b9ee3['fn'][_0xb2c9e9(0x34a)]():null,_0x7b54ff=this[_0xb2c9e9(0x22e)](_0x1b9ee3),_0x4fbf1f={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x544666,[TestFrameworkConstants[_0xb2c9e9(0x346)]]:_0x24d790[_0x544666],[TestFrameworkConstants[_0xb2c9e9(0x34f)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0xb2c9e9(0x288)]]:{},[TestFrameworkConstants[_0xb2c9e9(0x2fb)]]:TestFrameworkConstants[_0xb2c9e9(0x2a7)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x22b0bc,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x554bc6,[TestFrameworkConstants[_0xb2c9e9(0x26b)]]:_0x47968c,[TestFrameworkConstants[_0xb2c9e9(0x23a)]]:_0x22b0bc,[TestFrameworkConstants[_0xb2c9e9(0x235)]]:_0x554bc6,[TestFrameworkConstants[_0xb2c9e9(0x347)]]:_0x3c0ba7,[TestFrameworkConstants[_0xb2c9e9(0x20d)]]:_0x7b54ff,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1b9ee3[_0xb2c9e9(0x1f0)]||new Date()[_0xb2c9e9(0x1d9)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x402a82[0x0]||'',[TestFrameworkConstants[_0xb2c9e9(0x322)]]:_0x402a82,[TestFrameworkConstants[_0xb2c9e9(0x326)]]:_0x22b0bc,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0xb2c9e9(0x33c)]]:{}};_0x1b9ee3[_0xb2c9e9(0x218)]&&(_0x4fbf1f[TestFrameworkConstants[_0xb2c9e9(0x1db)]]=_0x1b9ee3[_0xb2c9e9(0x218)]);logger['debug'](_0xb2c9e9(0x2df)+_0x22b0bc+_0xb2c9e9(0x25b)+_0x47968c+_0xb2c9e9(0x31a)+JSON[_0xb2c9e9(0x31f)](_0x7b54ff)+_0xb2c9e9(0x318)+util[_0xb2c9e9(0x221)](_0x402a82)+_0xb2c9e9(0x1d8)+_0x554bc6);const _0x189a9e={};return _0x189a9e[_0x47968c]=_0x4fbf1f,_0x189a9e;}[a71_0x789e06(0x2f2)](_0x4aeee0){const _0x4579c2=a71_0x789e06,_0x14cbc0={'PBJLs':function(_0x92494a,_0x50969a){return _0x92494a===_0x50969a;},'ODYAd':'afterAll','cozSe':'beforeAll','kElYc':_0x4579c2(0x22d),'dqmUR':_0x4579c2(0x216),'wNqBU':function(_0x4a926d,_0x145d9e){return _0x4a926d||_0x145d9e;},'NqHWl':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','pWYwh':_0x4579c2(0x2f5),'NUQmZ':function(_0x340210,_0x50684f){return _0x340210>_0x50684f;},'PZvLg':_0x4579c2(0x28d),'PnDMS':function(_0xa7b13c,_0x2e682e){return _0xa7b13c===_0x2e682e;},'ijJnB':'skip','afHNh':_0x4579c2(0x1df),'LvsmW':'passed','ayrJP':function(_0x28842c,_0x1510d1){return _0x28842c===_0x1510d1;},'PEQvP':function(_0xadea1f,_0x159896){return _0xadea1f!==_0x159896;},'hBadC':function(_0x3f69d5,_0x500769,_0x1830fd,_0x300cec){return _0x3f69d5(_0x500769,_0x1830fd,_0x300cec);},'LKDgr':_0x4579c2(0x343),'tIdOJ':function(_0x4900ca,_0x3ffd03){return _0x4900ca>_0x3ffd03;}},{testUUID:_0x33b268,testData:_0x5b275e,testId:_0x39d56c}=_0x4aeee0;if(_0x14cbc0[_0x4579c2(0x21a)](!_0x5b275e,!_0x39d56c))return logger[_0x4579c2(0x22b)](_0x14cbc0[_0x4579c2(0x2d6)]),{};const _0x40f892=this[_0x4579c2(0x27d)](TestFrameworkState[_0x4579c2(0x292)],HookState['POST']),_0x5d7a5b=_0x40f892[_0x4579c2(0x1dc)]()['get'](_0x39d56c),_0xd8df5c=_0x14cbc0['wNqBU'](_0x5d7a5b,{}),_0x4287d1=_0xd8df5c?_0xd8df5c[TestFrameworkConstants[_0x4579c2(0x24f)]]||{}:{},_0xd16a70=_0xd8df5c[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x4579c2(0x22b)](_0x4579c2(0x1ed)+(_0xd16a70?Object[_0x4579c2(0x32d)](_0xd16a70)['length']:0x0)+_0x4579c2(0x234));let _0x54ca6f=_0x14cbc0['pWYwh'];if(_0x5b275e[_0x4579c2(0x2b5)])_0x54ca6f=_0x5b275e[_0x4579c2(0x2b5)];else{if(_0x5b275e['errorsDetailed']&&_0x14cbc0[_0x4579c2(0x2b7)](_0x5b275e[_0x4579c2(0x212)][_0x4579c2(0x20c)],0x0))_0x54ca6f=_0x14cbc0['PZvLg'];else _0x14cbc0['PnDMS'](_0x5b275e[_0x4579c2(0x2e1)],_0x14cbc0[_0x4579c2(0x2e3)])||_0x14cbc0['PnDMS'](_0x5b275e['status'],_0x14cbc0['afHNh'])?_0x54ca6f=_0x14cbc0[_0x4579c2(0x1e4)]:_0x54ca6f=_0x14cbc0[_0x4579c2(0x1f6)];}const _0x2784c5={..._0xd8df5c,[TestFrameworkConstants[_0x4579c2(0x2fb)]]:_0x54ca6f,[TestFrameworkConstants[_0x4579c2(0x26a)]]:_0x5b275e[_0x4579c2(0x314)]||new Date()[_0x4579c2(0x1d9)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x4579c2(0x1d9)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4287d1,[TestFrameworkConstants[_0x4579c2(0x344)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x14cbc0['ayrJP'](_0x54ca6f,_0x14cbc0['PZvLg'])&&_0x5b275e[_0x4579c2(0x212)]){const _0x20bfac=this[_0x4579c2(0x2d3)](_0x5b275e),_0x44b6d1=this['getJestFailureType'](_0x5b275e),_0x136d0e=this[_0x4579c2(0x282)](_0x5b275e);_0x2784c5[TestFrameworkConstants[_0x4579c2(0x27e)]]=_0x44b6d1,_0x2784c5[TestFrameworkConstants[_0x4579c2(0x1cd)]]=_0x20bfac,_0x2784c5[TestFrameworkConstants[_0x4579c2(0x2f9)]]=_0x136d0e;}_0x14cbc0[_0x4579c2(0x331)](_0x5b275e[_0x4579c2(0x2fd)],undefined)&&(_0x2784c5[TestFrameworkConstants[_0x4579c2(0x251)]]=_0x5b275e[_0x4579c2(0x2fd)]);_0x5b275e[_0x4579c2(0x218)]&&(_0x2784c5[TestFrameworkConstants[_0x4579c2(0x1db)]]=_0x5b275e[_0x4579c2(0x218)]);const _0x24c072=_0x5d7a5b?_0x5d7a5b[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x3c1d3c=_0x5d7a5b?_0x5d7a5b[TestFrameworkConstants['KEY_TEST_UUID']]:_0x33b268,_0x2c88c7=_0x14cbc0[_0x4579c2(0x316)](getManualUploadLogs,_0x24c072,_0x3c1d3c,_0x39d56c);if(_0x14cbc0['NUQmZ'](_0x2c88c7[_0x4579c2(0x20c)],0x0)){const _0xff68e7=_0x2784c5[TestFrameworkConstants[_0x4579c2(0x344)]]||[];_0x2784c5[TestFrameworkConstants[_0x4579c2(0x344)]]=[..._0xff68e7,..._0x2c88c7];}const _0x4a4b3d=_0xd8df5c[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x37212b=_0xd8df5c[TestFrameworkConstants[_0x4579c2(0x288)]]||{},_0x20a380={..._0x4a4b3d},_0x3b8ce9=_0x20a380;Object[_0x4579c2(0x32d)](_0x37212b)[_0x4579c2(0x291)](_0x5313cf=>{const _0x114be1=_0x4579c2;!_0x3b8ce9[_0x5313cf]&&(_0x3b8ce9[_0x5313cf]=[]);const _0x56da73=new Set((_0x3b8ce9[_0x5313cf]||[])[_0x114be1(0x21b)](_0x2dc3f5=>_0x2dc3f5[TestFrameworkConstants[_0x114be1(0x2ea)]]||_0x2dc3f5[_0x114be1(0x1c9)]));(_0x37212b[_0x5313cf]||[])[_0x114be1(0x291)](_0x5b416b=>{const _0x5ecc6e=_0x114be1,_0x2f53fb=_0x5b416b[TestFrameworkConstants[_0x5ecc6e(0x2ea)]]||_0x5b416b[_0x5ecc6e(0x1c9)];if(!_0x56da73['has'](_0x2f53fb)){const _0x5eb991={..._0x5b416b},_0x43309a=_0x5eb991;!_0x43309a[TestFrameworkConstants[_0x5ecc6e(0x300)]]&&!_0x43309a['event_ended_at']&&(_0x43309a[TestFrameworkConstants[_0x5ecc6e(0x300)]]=new Date()[_0x5ecc6e(0x1d9)]()),!_0x43309a[TestFrameworkConstants[_0x5ecc6e(0x2bb)]]&&!_0x43309a['hook_result']&&(_0x43309a[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x5ecc6e(0x325)]),_0x3b8ce9[_0x5313cf][_0x5ecc6e(0x20a)](_0x43309a);}});});if(_0x4aeee0[_0x4579c2(0x2a0)]){this[_0x4579c2(0x249)](_0x4aeee0[_0x4579c2(0x2a0)]);const _0x354930=this[_0x4579c2(0x2cb)](_0x4aeee0['originalTest']),_0x3d5cd4=this['getHooksForTest'](_0x4aeee0[_0x4579c2(0x2a0)]);_0x3d5cd4[_0x4579c2(0x291)](_0x4a1fb1=>{const _0x2da1db=_0x4579c2,_0x507897=_0x354930[_0x2da1db(0x32a)](_0x4a1fb1);if(_0x507897&&(_0x14cbc0[_0x2da1db(0x277)](_0x507897['type'],_0x14cbc0[_0x2da1db(0x2bd)])||_0x14cbc0[_0x2da1db(0x277)](_0x507897[_0x2da1db(0x2a6)],_0x14cbc0[_0x2da1db(0x2c5)]))){const _0x5f31c0=_0x507897[_0x2da1db(0x2a6)][_0x2da1db(0x299)]()[_0x2da1db(0x338)](_0x14cbc0[_0x2da1db(0x224)],_0x14cbc0[_0x2da1db(0x26e)]),_0x234805=_0x5f31c0;!_0x3b8ce9[_0x234805]&&(_0x3b8ce9[_0x234805]=[]);const _0xdbf9f7=_0x3b8ce9[_0x234805][_0x2da1db(0x303)](_0x5516fc=>(_0x5516fc[TestFrameworkConstants[_0x2da1db(0x2ea)]]||_0x5516fc['hook_id'])===_0x4a1fb1);!_0xdbf9f7&&_0x3b8ce9[_0x234805][_0x2da1db(0x20a)]({'key':_0x234805,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x4a1fb1,[TestFrameworkConstants[_0x2da1db(0x2bb)]]:TestFrameworkConstants[_0x2da1db(0x325)],[TestFrameworkConstants[_0x2da1db(0x259)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x2da1db(0x300)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x507897[_0x2da1db(0x2bc)]||_0x507897[_0x2da1db(0x2a6)]+'\x20hook',[TestFrameworkConstants[_0x2da1db(0x24f)]]:_0x4287d1});}});}if(_0x5b275e[_0x4579c2(0x330)]&&_0x14cbc0[_0x4579c2(0x2b7)](_0x5b275e['hooks'][_0x4579c2(0x20c)],0x0))_0x2784c5[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x5b275e[_0x4579c2(0x330)],logger['debug'](_0x14cbc0[_0x4579c2(0x2d2)]);else _0x14cbc0['tIdOJ'](Object[_0x4579c2(0x32d)](_0x3b8ce9)[_0x4579c2(0x20c)],0x0)&&(_0x2784c5[TestFrameworkConstants[_0x4579c2(0x207)]]=_0x3b8ce9,logger[_0x4579c2(0x22b)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x4579c2(0x32d)](_0x3b8ce9)['join'](',')));const _0x54470a=this['getJestTestName'](_0x5b275e);logger[_0x4579c2(0x22b)](_0x4579c2(0x28c)+_0x54470a+_0x4579c2(0x25b)+_0x39d56c+_0x4579c2(0x1fa)+_0x54ca6f+',\x20duration='+_0x5b275e[_0x4579c2(0x2fd)]);_0x14cbc0[_0x4579c2(0x277)](_0x54ca6f,_0x14cbc0[_0x4579c2(0x1f2)])&&logger[_0x4579c2(0x22b)](_0x4579c2(0x2c4)+_0x39d56c+_0x4579c2(0x336)+_0x2784c5[TestFrameworkConstants[_0x4579c2(0x27e)]]+_0x4579c2(0x2cf)+_0x2784c5[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]?.[_0x4579c2(0x1de)](0x0,0xc8));const _0x5ee5a6={};return _0x5ee5a6[_0x39d56c]=_0x2784c5,_0x5ee5a6;}['getJestTestScopes'](_0x1c03ad){const _0x50d0ff=a71_0x789e06,_0x249abc={};_0x249abc[_0x50d0ff(0x320)]=function(_0x2852ab,_0x57006a){return _0x2852ab!==_0x57006a;},_0x249abc[_0x50d0ff(0x2cd)]=_0x50d0ff(0x290);const _0x5b6398=_0x249abc,_0x1a9d60={};_0x1a9d60[_0x50d0ff(0x1dd)]=0x2,_0x1a9d60[_0x50d0ff(0x2e7)]=0x3,logger[_0x50d0ff(0x22b)](_0x50d0ff(0x342)+util['inspect'](_0x1c03ad,_0x1a9d60));const _0x565292=[];if(_0x1c03ad&&_0x1c03ad[_0x50d0ff(0x323)]){let _0x5eb56b=_0x1c03ad[_0x50d0ff(0x323)];while(_0x5eb56b&&_0x5eb56b[_0x50d0ff(0x2bc)]&&_0x5b6398[_0x50d0ff(0x320)](_0x5eb56b[_0x50d0ff(0x2bc)],'')&&_0x5b6398['KAZhx'](_0x5eb56b[_0x50d0ff(0x2bc)],_0x5b6398['PkGzu'])){_0x565292[_0x50d0ff(0x20a)](_0x5eb56b[_0x50d0ff(0x2bc)]),_0x5eb56b=_0x5eb56b[_0x50d0ff(0x323)];}}return _0x565292['reverse']();}[a71_0x789e06(0x32c)](_0x216cde){const _0x36bfc4=a71_0x789e06,_0x2b1b87={};_0x2b1b87[_0x36bfc4(0x253)]='Unknown\x20Test';const _0x27af15=_0x2b1b87;if(_0x216cde['name'])return _0x216cde['name'];if(_0x216cde['title'])return _0x216cde[_0x36bfc4(0x2fc)];return _0x27af15[_0x36bfc4(0x253)];}['getJestTestTags'](_0x100e21){const _0x3fa037=a71_0x789e06,_0x127931=[];if(_0x100e21['tags']&&Array[_0x3fa037(0x28e)](_0x100e21[_0x3fa037(0x278)]))return _0x100e21['tags'][_0x3fa037(0x21b)](_0x69c34a=>_0x69c34a[_0x3fa037(0x252)]('@')?_0x69c34a[_0x3fa037(0x353)](0x1):_0x69c34a);const _0x3e95f8=this['getJestTestName'](_0x100e21),_0x2a70cf=_0x3e95f8[_0x3fa037(0x286)](/@(\w+)/g);if(_0x2a70cf)return _0x2a70cf['map'](_0x411711=>_0x411711[_0x3fa037(0x287)](0x1));return _0x100e21[_0x3fa037(0x264)]&&Array[_0x3fa037(0x28e)](_0x100e21['scopes'])&&_0x100e21[_0x3fa037(0x264)][_0x3fa037(0x291)](_0x34b0c1=>{const _0x12fa21=_0x3fa037,_0x1481d7=_0x34b0c1[_0x12fa21(0x286)](/@(\w+)/g);_0x1481d7&&_0x1481d7['forEach'](_0x45a546=>{const _0x464951=_0x12fa21,_0x666fc1=_0x45a546['slice'](0x1);!_0x127931[_0x464951(0x29a)](_0x666fc1)&&_0x127931[_0x464951(0x20a)](_0x666fc1);});}),_0x127931;}[a71_0x789e06(0x2a2)](_0x320056){const _0x3a09f2=a71_0x789e06,_0x42ca86={'VQstv':function(_0x5f4dfa,_0x5d2109){return _0x5f4dfa(_0x5d2109);},'nFlQV':'stack-trace'};if(_0x320056[_0x3a09f2(0x203)])return _0x320056[_0x3a09f2(0x203)];if(_0x320056[_0x3a09f2(0x2cc)]){const _0x4bbd59=_0x42ca86[_0x3a09f2(0x2b4)](require,_0x42ca86['nFlQV']);try{const _0x384000=_0x4bbd59['parse'](_0x320056[_0x3a09f2(0x2cc)]);if(_0x384000[0x0]&&_0x384000[0x0][_0x3a09f2(0x238)])return _0x384000[0x0]['getFileName']();}catch(_0x9b807f){logger[_0x3a09f2(0x22b)](_0x3a09f2(0x2c6)+util[_0x3a09f2(0x206)](_0x9b807f));}}return null;}['getJestFailureReason'](_0x52dc2f){const _0x3cee66=a71_0x789e06,_0x1567b8={};_0x1567b8['BtavJ']=function(_0x1c7255,_0x30345c){return _0x1c7255>_0x30345c;},_0x1567b8[_0x3cee66(0x2de)]=_0x3cee66(0x2d4);const _0x327a66=_0x1567b8;if(_0x52dc2f[_0x3cee66(0x212)]&&_0x327a66['BtavJ'](_0x52dc2f['errorsDetailed']['length'],0x0))return util[_0x3cee66(0x221)](_0x52dc2f[_0x3cee66(0x212)][0x0]);if(_0x52dc2f['failure_reason'])return _0x52dc2f[_0x3cee66(0x2ae)];return _0x327a66['vYAGc'];}['getJestFailureType'](_0x1e40db){const _0x18d0cf=a71_0x789e06,_0x2acb24={};_0x2acb24[_0x18d0cf(0x1ee)]=_0x18d0cf(0x1c5),_0x2acb24['rtGOx']=_0x18d0cf(0x211),_0x2acb24[_0x18d0cf(0x215)]='UnhandledError';const _0x14b62a=_0x2acb24,_0x203010=this[_0x18d0cf(0x2d3)](_0x1e40db);if(_0x203010&&_0x203010[_0x18d0cf(0x29a)](_0x14b62a['MrzBF']))return _0x14b62a[_0x18d0cf(0x1fb)];return _0x14b62a[_0x18d0cf(0x215)];}['getJestFailureData'](_0x4be413){const _0x306997=a71_0x789e06,_0x47576d={'nmSry':function(_0x55d1a5,_0x1d839e){return _0x55d1a5(_0x1d839e);},'VbNGX':_0x306997(0x317),'SpBKe':function(_0x4485ae,_0x594149){return _0x4485ae!==_0x594149;},'eFbeT':_0x306997(0x298)},{failureData:_0x30e622}=_0x47576d['nmSry'](require,_0x47576d[_0x306997(0x1d2)]),_0x398f6b=[];return _0x47576d[_0x306997(0x22c)](_0x4be413[_0x306997(0x212)],undefined)&&_0x398f6b[_0x306997(0x20a)](_0x4be413[_0x306997(0x212)],_0x47576d[_0x306997(0x309)]),_0x30e622[_0x306997(0x24c)](null,_0x398f6b);}async[a71_0x789e06(0x315)](_0x33da17,_0x846d10,_0x211415,_0x13cd86){const _0x13d938=a71_0x789e06,_0x15a1c8={'KWuwf':_0x13d938(0x2ab),'tnNuZ':function(_0x469ad5){return _0x469ad5();},'asZsS':function(_0x2d82b6,_0x4a4efe){return _0x2d82b6 in _0x4a4efe;},'mEzWJ':function(_0x5cc045,_0x133987){return _0x5cc045 in _0x133987;},'WCnKT':function(_0x211710,_0x258be9){return _0x211710===_0x258be9;},'uVitD':function(_0x5721e7,_0x4e0e32){return _0x5721e7===_0x4e0e32;},'PKlKQ':function(_0x2cbea1,_0x152e2f){return _0x2cbea1>_0x152e2f;},'BbEEa':'failed','bloCU':_0x13d938(0x324),'XdksS':function(_0x29337e,_0xb3bc36){return _0x29337e===_0xb3bc36;},'RKXZl':function(_0x5bd03f,_0xb4d2e8){return _0x5bd03f!==_0xb4d2e8;}},{hookData:_0x4b4633}=_0x13cd86,_0x5e5381=_0x211415[_0x13d938(0x34a)](),_0x26a7ac=_0x846d10[_0x13d938(0x34a)](),_0x409c00={};_0x409c00[_0x13d938(0x1dd)]=0x2,_0x409c00[_0x13d938(0x2e7)]=0x3,logger[_0x13d938(0x22b)](_0x13d938(0x295)+_0x26a7ac+_0x13d938(0x28a)+_0x5e5381+_0x13d938(0x232)+util[_0x13d938(0x221)](_0x4b4633,_0x409c00));if(!_0x4b4633)return logger[_0x13d938(0x22b)](_0x15a1c8[_0x13d938(0x236)]),{};const _0x16d820=_0x4b4633[_0x13d938(0x1e8)]||_0x4b4633[_0x13d938(0x31e)]||_0x15a1c8['tnNuZ'](uuidv4),_0x289bba=_0x4b4633[_0x13d938(0x1fe)]||this[_0x13d938(0x1e6)](_0x4b4633),_0x3adfbe=_0x846d10[_0x13d938(0x34a)]()[_0x13d938(0x2a4)]('.')[0x1],_0x41b4f0=_0x33da17[_0x13d938(0x1dc)]()['get'](_0x289bba),_0x4a388d=_0x41b4f0?_0x41b4f0[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger[_0x13d938(0x22b)](_0x13d938(0x1d5)+_0x16d820+_0x13d938(0x25b)+_0x289bba+_0x13d938(0x2eb)+_0x3adfbe+_0x13d938(0x28a)+_0x5e5381);if(!_0x41b4f0)return logger['debug'](_0x13d938(0x2f4)+_0x289bba+_0x13d938(0x2ad)),this[_0x13d938(0x2ef)](_0x33da17,_0x289bba,_0x846d10,_0x211415,_0x13cd86),{};let _0x2e8af0=_0x41b4f0[TestFrameworkConstants[_0x13d938(0x288)]];!_0x2e8af0&&(_0x2e8af0={});!_0x15a1c8[_0x13d938(0x26d)](_0x3adfbe,_0x2e8af0)&&(_0x2e8af0[_0x3adfbe]=[]);let _0x30ffbf=_0x41b4f0[TestFrameworkConstants[_0x13d938(0x207)]];!_0x30ffbf&&(_0x30ffbf={});!_0x15a1c8['mEzWJ'](_0x3adfbe,_0x30ffbf)&&(_0x30ffbf[_0x3adfbe]=[]);const _0xbb33c={[TestFrameworkConstants[_0x13d938(0x288)]]:_0x2e8af0,[TestFrameworkConstants[_0x13d938(0x207)]]:_0x30ffbf},_0x218d68={};_0x218d68[_0x289bba]=_0xbb33c;const _0x307e37=_0x218d68;if(_0x15a1c8[_0x13d938(0x258)](_0x211415,HookState['PRE'])){const _0xd3dc44={'key':_0x3adfbe,[TestFrameworkConstants[_0x13d938(0x2ea)]]:_0x16d820,[TestFrameworkConstants[_0x13d938(0x2bb)]]:TestFrameworkConstants[_0x13d938(0x325)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x4b4633[_0x13d938(0x1f0)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x13d938(0x27f)]]:[],[TestFrameworkConstants[_0x13d938(0x2c9)]]:_0x4b4633[_0x13d938(0x2bc)]||_0x4b4633['hook_type']||_0x3adfbe,[TestFrameworkConstants[_0x13d938(0x24f)]]:_0x4a388d};_0x2e8af0[_0x3adfbe][_0x13d938(0x20a)](_0xd3dc44),_0x307e37[_0x289bba][TestFrameworkConstants[_0x13d938(0x21e)]]=_0x3adfbe;const _0x3ff7c5={};_0x3ff7c5[_0x13d938(0x1dd)]=0x2,logger[_0x13d938(0x22b)](_0x13d938(0x1f3)+_0x3adfbe+_0x13d938(0x1fd)+_0x16d820+',\x20testId='+_0x289bba+_0x13d938(0x25f)+util[_0x13d938(0x221)](_0xd3dc44,_0x3ff7c5));}else{if(_0x15a1c8['uVitD'](_0x211415,HookState[_0x13d938(0x2b8)])){const _0x18bda7=_0x4b4633['result']||(_0x4b4633[_0x13d938(0x212)]&&_0x15a1c8[_0x13d938(0x209)](_0x4b4633['errorsDetailed'][_0x13d938(0x20c)],0x0)?_0x15a1c8['BbEEa']:_0x15a1c8[_0x13d938(0x219)]),_0x52be18=_0x2e8af0[_0x3adfbe]||[];logger[_0x13d938(0x22b)](_0x13d938(0x310)+_0x3adfbe+_0x13d938(0x25b)+_0x289bba+',\x20result='+_0x18bda7+',\x20hooksListLength='+_0x52be18[_0x13d938(0x20c)]);if(_0x15a1c8['PKlKQ'](_0x52be18[_0x13d938(0x20c)],0x0)){const _0x5accca=_0x52be18['pop']();_0x15a1c8[_0x13d938(0x1e9)](_0x18bda7,_0x15a1c8[_0x13d938(0x311)])&&_0x4b4633[_0x13d938(0x212)]?(_0x5accca[TestFrameworkConstants[_0x13d938(0x1ca)]]=this[_0x13d938(0x1ff)](_0x4b4633),_0x5accca[TestFrameworkConstants[_0x13d938(0x220)]]=this[_0x13d938(0x2d3)](_0x4b4633),_0x5accca[TestFrameworkConstants[_0x13d938(0x256)]]=this['getJestFailureData'](_0x4b4633),logger[_0x13d938(0x22b)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x3adfbe+_0x13d938(0x336)+_0x5accca[TestFrameworkConstants[_0x13d938(0x1ca)]]+_0x13d938(0x2cf)+_0x5accca[TestFrameworkConstants[_0x13d938(0x220)]]?.[_0x13d938(0x1de)](0x0,0xc8))):_0x5accca[TestFrameworkConstants[_0x13d938(0x2bb)]]=_0x15a1c8[_0x13d938(0x219)];_0x15a1c8[_0x13d938(0x250)](_0x18bda7,TestFrameworkConstants[_0x13d938(0x325)])&&(_0x5accca[TestFrameworkConstants[_0x13d938(0x2bb)]]=_0x18bda7);_0x5accca[TestFrameworkConstants[_0x13d938(0x300)]]=_0x4b4633[_0x13d938(0x314)]||new Date()[_0x13d938(0x1d9)](),_0x5accca[TestFrameworkConstants[_0x13d938(0x24f)]]=_0x4a388d;const _0x401944=_0x5accca[TestFrameworkConstants[_0x13d938(0x2ea)]];!_0x30ffbf[_0x3adfbe]&&(_0x30ffbf[_0x3adfbe]=[]);_0x30ffbf[_0x3adfbe][_0x13d938(0x20a)](_0x5accca),_0x307e37[_0x289bba][TestFrameworkConstants[_0x13d938(0x2d0)]]=_0x3adfbe;const _0x593e64={};_0x593e64['depth']=0x2,logger[_0x13d938(0x22b)](_0x13d938(0x2c2)+_0x3adfbe+_0x13d938(0x1fd)+_0x401944+_0x13d938(0x33a)+_0x18bda7+_0x13d938(0x25f)+util['inspect'](_0x5accca,_0x593e64));}}}const _0x3e2e67={};return _0x3e2e67[_0x13d938(0x1dd)]=0x2,_0x3e2e67[_0x13d938(0x2e7)]=0x3,logger[_0x13d938(0x22b)](_0x13d938(0x2fe)+(_0x4b4633[_0x13d938(0x1d4)]||_0x3adfbe)+',\x20hookId='+_0x16d820+_0x13d938(0x25b)+_0x289bba+_0x13d938(0x25a)+util['inspect'](_0x307e37,_0x3e2e67)),_0x307e37;}[a71_0x789e06(0x2b1)](_0x31e265){const _0x1db2b9=a71_0x789e06,_0x928ea2={};_0x928ea2[_0x1db2b9(0x274)]=_0x1db2b9(0x1fc);const _0x3eb683=_0x928ea2;try{const _0x37730a=_0x31e265['test']?this[_0x1db2b9(0x1e6)](_0x31e265[_0x1db2b9(0x298)]):_0x31e265[_0x1db2b9(0x33d)]['test_run_id'],_0x1d8e40=_0x31e265[_0x1db2b9(0x1f5)],_0x3ca01f=_0x1d8e40[_0x1db2b9(0x2a5)](),_0x1de1af=_0x1d8e40[_0x1db2b9(0x1dc)]()[_0x1db2b9(0x32a)](_0x37730a);if(!_0x1de1af)return logger[_0x1db2b9(0x22b)](_0x1db2b9(0x1f9)+_0x37730a),{};const {[TestFrameworkConstants[_0x1db2b9(0x26f)]]:_0x3b0f28='',[TestFrameworkConstants[_0x1db2b9(0x346)]]:_0x38e0d7='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x3901a7='',[TestFrameworkConstants[_0x1db2b9(0x26a)]]:_0x2d8dce=''}=_0x1de1af,_0x319c85=_0x1d8e40[_0x1db2b9(0x1f4)]()[_0x1db2b9(0x34a)]()['split']('.')[0x1],_0x2c4e82=_0x1d8e40[_0x1db2b9(0x32e)]()[_0x1db2b9(0x34a)]()[_0x1db2b9(0x2a4)]('.')[0x1],_0x175c50=global?.[_0x1db2b9(0x28b)]?.['workerInfo']?.[_0x1db2b9(0x31b)],_0x5803ee=_0x1d8e40[_0x1db2b9(0x2ce)](),_0x4c6c4b=Buffer[_0x1db2b9(0x1cb)](JSON[_0x1db2b9(0x31f)](_0x1de1af))['toString'](_0x3eb683['nmkzV']),_0x5d0282={'hash':_0x3ca01f[_0x1db2b9(0x2ba)](),'threadId':_0x3ca01f[_0x1db2b9(0x25d)]()['toString'](),'processId':_0x3ca01f[_0x1db2b9(0x296)]()['toString']()},_0x45088e={};_0x45088e['platformIndex']=_0x175c50,_0x45088e[_0x1db2b9(0x20f)]=_0x3b0f28,_0x45088e[_0x1db2b9(0x345)]=_0x38e0d7,_0x45088e['testFrameworkState']=_0x319c85,_0x45088e['hookState']=_0x2c4e82,_0x45088e[_0x1db2b9(0x275)]=_0x3901a7,_0x45088e[_0x1db2b9(0x294)]=_0x2d8dce,_0x45088e[_0x1db2b9(0x1e8)]=_0x5803ee,_0x45088e[_0x1db2b9(0x1d1)]=_0x4c6c4b,_0x45088e[_0x1db2b9(0x2f8)]=_0x5d0282,_0x45088e['test_identifier']=_0x37730a;const _0xf939c5=_0x45088e;return _0xf939c5;}catch(_0x5ec4d3){return logger[_0x1db2b9(0x1e2)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x5ec4d3)),{};}}async[a71_0x789e06(0x263)](_0x27faad,_0x2607c9,_0x5ca780){const _0x4cac43=a71_0x789e06,_0x467908={'FVbtF':function(_0x39322b,_0x22873a){return _0x39322b+_0x22873a;},'cGzXe':_0x4cac43(0x2a8),'VzXmy':_0x4cac43(0x247),'AOLpu':function(_0x6e14d6,_0x4df3c2){return _0x6e14d6>_0x4df3c2;},'pGQeA':function(_0x336653,_0x552edb,_0x490a7c,_0x161ed0){return _0x336653(_0x552edb,_0x490a7c,_0x161ed0);},'LHjlt':function(_0x9070f7,_0x166185){return _0x9070f7-_0x166185;},'kyZUf':function(_0x4ad6ce,_0x676c81){return _0x4ad6ce===_0x676c81;},'DKhKz':function(_0x222fc6,_0x495238){return _0x222fc6/_0x495238;},'omnOE':function(_0x345116,_0x3277f6){return _0x345116<_0x3277f6;},'fOvBQ':function(_0x5e1c53,_0x24d165){return _0x5e1c53*_0x24d165;},'NoNrx':function(_0x4f5f58,_0x28dcb0){return _0x4f5f58+_0x28dcb0;},'qEAba':function(_0xb9af0a,_0x5e054d){return _0xb9af0a+_0x5e054d;},'JOpOy':function(_0x42438c,_0x5d43b7){return _0x42438c>_0x5d43b7;}};try{const _0x31a098=_0x5ca780['testUUID']||_0x5ca780[_0x4cac43(0x1c7)],_0x2d32a3=Array[_0x4cac43(0x1cb)](_0x27faad[_0x4cac43(0x1dc)]()[_0x4cac43(0x32d)]()),_0x505f6c=_0x27faad[_0x4cac43(0x1dc)]()[_0x4cac43(0x32a)](_0x31a098);if(!_0x505f6c){logger['debug'](_0x4cac43(0x2da)+_0x31a098);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x31f97c='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x157b68=''}=_0x505f6c;let _0x53d330=[];if(_0x505f6c&&_0x505f6c[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x4cac43(0x28e)](_0x505f6c[TestFrameworkConstants[_0x4cac43(0x344)]])){_0x53d330=_0x505f6c[TestFrameworkConstants[_0x4cac43(0x344)]]||[],logger[_0x4cac43(0x22b)](_0x4cac43(0x1ef)+_0x53d330[_0x4cac43(0x20c)]+'\x20logs\x20for\x20testId:\x20'+_0x31a098);const _0x5bcbeb={[TestFrameworkConstants[_0x4cac43(0x344)]]:[]},_0x263a1a={};_0x263a1a[_0x31a098]=_0x5bcbeb,_0x27faad['addMultipleEntries'](_0x263a1a),logger[_0x4cac43(0x22b)](_0x4cac43(0x327)+_0x31a098);}else logger['debug'](_0x4cac43(0x260)+_0x31a098);logger['debug'](_0x4cac43(0x1e7)+_0x53d330[_0x4cac43(0x20c)]+_0x4cac43(0x2d1)+_0x31a098);const _0x468a20=_0x53d330[_0x4cac43(0x229)](_0x2cafe1=>_0x2cafe1['kind']===_0x4cac43(0x2d8));_0x467908[_0x4cac43(0x352)](_0x468a20[_0x4cac43(0x20c)],0x0)&&(logger[_0x4cac43(0x22b)](_0x4cac43(0x2aa)+_0x468a20[_0x4cac43(0x20c)]+_0x4cac43(0x1da)+_0x31a098),_0x468a20[_0x4cac43(0x291)]((_0x358087,_0xbe26e9)=>{const _0x46a430=_0x4cac43;logger[_0x46a430(0x22b)](_0x46a430(0x242)+_0x467908[_0x46a430(0x266)](_0xbe26e9,0x1)+'/'+_0x468a20[_0x46a430(0x20c)]+_0x46a430(0x307)+(_0x358087[_0x46a430(0x321)]||_0x467908[_0x46a430(0x273)])+_0x46a430(0x2b9)+(_0x358087[_0x46a430(0x24b)]||_0x467908[_0x46a430(0x273)])+_0x46a430(0x255)+(_0x358087[_0x46a430(0x339)]||_0x467908[_0x46a430(0x265)])+_0x46a430(0x2e8)+(_0x358087[_0x46a430(0x25e)]?.[_0x46a430(0x20c)]||0x0));}));const _0x1da0f3=_0x505f6c[TestFrameworkConstants[_0x4cac43(0x246)]]||{},_0x21fef0=_0x467908[_0x4cac43(0x241)](getMediaArtifactsLogs,_0x1da0f3,null,_0x31a098),_0x5d075d=(_0x53d330||[])[_0x4cac43(0x2f7)](_0x21fef0||[]),_0x573388=_0x468a20?.[_0x4cac43(0x20c)]||0x0,_0x3253d3=_0x467908[_0x4cac43(0x28f)](_0x53d330?.[_0x4cac43(0x20c)]||0x0,_0x573388);logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0x31a098+',\x20consoleLogs:\x20'+_0x3253d3+',\x20screenshotLogs:\x20'+_0x573388+_0x4cac43(0x1ea)+(_0x21fef0?.['length']||0x0)+',\x20totalLogs:\x20'+_0x5d075d[_0x4cac43(0x20c)]);if(!_0x5d075d||_0x467908['kyZUf'](_0x5d075d['length'],0x0)){logger[_0x4cac43(0x22b)](_0x4cac43(0x349)+_0x31a098);return;}const _0x130ed5=0x28,_0xd5a991=Math[_0x4cac43(0x1d3)](_0x467908[_0x4cac43(0x2ee)](_0x5d075d[_0x4cac43(0x20c)],_0x130ed5));for(let _0x221123=0x0;_0x467908[_0x4cac43(0x1e3)](_0x221123,_0xd5a991);_0x221123++){const _0x87de1d=_0x467908[_0x4cac43(0x25c)](_0x221123,_0x130ed5),_0x307da3=_0x467908[_0x4cac43(0x276)](_0x87de1d,_0x130ed5),_0x2d3de4=_0x5d075d[_0x4cac43(0x287)](_0x87de1d,_0x307da3),_0x3220f4=global?.[_0x4cac43(0x28b)]?.[_0x4cac43(0x2d9)]?.[_0x4cac43(0x31b)]||0x0,_0x22abbb={'platformIndex':_0x3220f4,'logs':_0x2d3de4,'testFrameworkName':_0x31f97c,'testFrameworkVersion':_0x157b68,'testFrameworkState':_0x2607c9[_0x4cac43(0x34a)]()['split']('.')[0x1]},_0x39b190={};_0x39b190[_0x4cac43(0x1dd)]=0x3,_0x39b190[_0x4cac43(0x2e7)]=0x5,logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x467908[_0x4cac43(0x200)](_0x221123,0x1)+'/'+_0xd5a991+_0x4cac43(0x254)+_0x31a098+_0x4cac43(0x23b)+_0x2d3de4[_0x4cac43(0x20c)]+_0x4cac43(0x21d)+_0x3220f4+_0x4cac43(0x2ec)+util['inspect'](_0x22abbb,_0x39b190));const _0x5a74ca=await GrpcClient[_0x4cac43(0x354)]()[_0x4cac43(0x2f0)](_0x22abbb);logger[_0x4cac43(0x22b)](_0x4cac43(0x29e)+_0x467908[_0x4cac43(0x200)](_0x221123,0x1)+'/'+_0xd5a991+_0x4cac43(0x254)+_0x31a098+',\x20response='+util[_0x4cac43(0x221)](_0x5a74ca));}if(_0x21fef0&&_0x467908[_0x4cac43(0x301)](_0x21fef0[_0x4cac43(0x20c)],0x0)&&_0x505f6c[TestFrameworkConstants[_0x4cac43(0x246)]]){const _0x5476a3={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x3ddb51={};_0x3ddb51[_0x31a098]=_0x5476a3,_0x27faad['addMultipleEntries'](_0x3ddb51);}logger[_0x4cac43(0x22b)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x31a098+_0x4cac43(0x29b)+_0xd5a991);}catch(_0x265c4d){logger[_0x4cac43(0x1e2)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x5ca780[_0x4cac43(0x313)]||_0x5ca780[_0x4cac43(0x1c7)])+_0x4cac43(0x23c)+util['format'](_0x265c4d));}}[a71_0x789e06(0x2ef)](_0x2496dd,_0x4280cf,_0x51a04d,_0x6bebd0,_0x2710bd){const _0x23c770=a71_0x789e06,_0x503bbb={};_0x503bbb[_0x23c770(0x2ed)]=function(_0x55bd29,_0x507208){return _0x55bd29===_0x507208;},_0x503bbb[_0x23c770(0x328)]=_0x23c770(0x233);const _0x5ab134=_0x503bbb,{hookData:_0x286c0d}=_0x2710bd,_0x5654c6={'testId':_0x4280cf,'testFrameworkState':_0x51a04d,'hookState':_0x6bebd0,'args':_0x2710bd,'timestamp':new Date()[_0x23c770(0x1d9)]()};if(_0x5ab134[_0x23c770(0x2ed)](_0x51a04d,TestFrameworkState['BEFORE_ALL'])&&_0x286c0d){const _0x3d935b={};_0x3d935b[_0x23c770(0x2b6)]=_0x286c0d[_0x23c770(0x203)]||_0x286c0d[_0x23c770(0x2b2)],_0x3d935b['scope']=_0x286c0d['scope']||_0x286c0d[_0x23c770(0x264)]&&_0x286c0d[_0x23c770(0x264)][0x0]||'',_0x3d935b['hookType']=_0x5ab134[_0x23c770(0x328)],_0x5654c6[_0x23c770(0x27a)]=_0x3d935b,logger[_0x23c770(0x22b)](_0x23c770(0x2a3)+_0x4280cf+',\x20filePath:\x20'+_0x5654c6[_0x23c770(0x27a)][_0x23c770(0x2b6)]+_0x23c770(0x214)+_0x5654c6['hookMetadata'][_0x23c770(0x2f3)]);}_0x2496dd[_0x23c770(0x204)](_0x4280cf,_0x5654c6),logger['debug']('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x4280cf+_0x23c770(0x230)+_0x51a04d+',\x20hookState:\x20'+_0x6bebd0);}async['processPendingHooks'](_0x53a4de,_0xda9f6c){const _0x53dae1=a71_0x789e06,_0x4520fa={};_0x4520fa[_0x53dae1(0x2dd)]=function(_0x1c76d3,_0x5d3458){return _0x1c76d3>_0x5d3458;},_0x4520fa['pdUge']=_0x53dae1(0x34d),_0x4520fa[_0x53dae1(0x29f)]=function(_0xfd4ce,_0xf3fe14){return _0xfd4ce===_0xf3fe14;},_0x4520fa[_0x53dae1(0x281)]=function(_0x576c98,_0xf92794){return _0x576c98===_0xf92794;},_0x4520fa[_0x53dae1(0x2dc)]=function(_0x53f1b5,_0x1d7793){return _0x53f1b5===_0x1d7793;},_0x4520fa['vywKC']=function(_0x252cef,_0x54948b){return _0x252cef===_0x54948b;},_0x4520fa['Sidsr']=_0x53dae1(0x239),_0x4520fa[_0x53dae1(0x2e4)]=_0x53dae1(0x24e);const _0x5e4ef0=_0x4520fa;if(_0x53a4de['hasPendingHooks'](_0xda9f6c)){const _0x5d9f32=_0x53a4de[_0x53dae1(0x1c6)](_0xda9f6c);logger[_0x53dae1(0x22b)](_0x53dae1(0x223)+_0x5d9f32[_0x53dae1(0x20c)]+_0x53dae1(0x333)+_0xda9f6c);for(const _0x4475c5 of _0x5d9f32){try{const _0x1c0683=await this[_0x53dae1(0x315)](_0x53a4de,_0x4475c5['testFrameworkState'],_0x4475c5[_0x53dae1(0x26c)],_0x4475c5[_0x53dae1(0x257)]);_0x1c0683&&_0x5e4ef0[_0x53dae1(0x2dd)](Object[_0x53dae1(0x32d)](_0x1c0683)[_0x53dae1(0x20c)],0x0)&&_0x53a4de['addMultipleEntries'](_0x1c0683),await this[_0x53dae1(0x1cc)](_0x53a4de,_0x4475c5[_0x53dae1(0x225)],_0x4475c5[_0x53dae1(0x26c)],_0x4475c5[_0x53dae1(0x257)]);}catch(_0x377137){logger[_0x53dae1(0x1e2)](_0x53dae1(0x272)+_0xda9f6c+_0x53dae1(0x23c)+_0x377137);}}_0x53a4de[_0x53dae1(0x261)](_0xda9f6c),logger[_0x53dae1(0x22b)](_0x53dae1(0x2e5)+_0xda9f6c);}const _0x404b18=_0x53a4de[_0x53dae1(0x1dc)]()[_0x53dae1(0x32a)](_0xda9f6c);if(_0x404b18){const _0x56f580=_0x404b18[TestFrameworkConstants[_0x53dae1(0x1ce)]]||_0x404b18[TestFrameworkConstants[_0x53dae1(0x235)]],_0x142018=_0x404b18[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x404b18[TestFrameworkConstants[_0x53dae1(0x322)]]&&_0x404b18[TestFrameworkConstants[_0x53dae1(0x322)]][0x0]||'';logger['debug'](_0x5e4ef0[_0x53dae1(0x240)]);const _0x31403f=_0x53a4de['getAllPendingHookTestIds']();for(const _0x36fdbd of _0x31403f){if(_0x5e4ef0[_0x53dae1(0x29f)](_0x36fdbd,_0xda9f6c))continue;if(_0x53a4de[_0x53dae1(0x31c)](_0x36fdbd)){const _0x2046a8=_0x53a4de['getPendingHooks'](_0x36fdbd);for(const _0x1a253f of _0x2046a8){if(_0x5e4ef0['KwBhk'](_0x1a253f[_0x53dae1(0x225)],TestFrameworkState[_0x53dae1(0x208)])&&_0x1a253f[_0x53dae1(0x27a)]){const _0x491638=_0x1a253f[_0x53dae1(0x27a)][_0x53dae1(0x2b6)],_0x5ae70b=_0x1a253f['hookMetadata']['scope'];if(_0x5e4ef0[_0x53dae1(0x281)](_0x491638,_0x56f580)&&_0x5e4ef0[_0x53dae1(0x2dc)](_0x5ae70b,_0x142018)){logger[_0x53dae1(0x22b)](_0x53dae1(0x30e)+_0x36fdbd+_0x53dae1(0x2d5)+_0xda9f6c+_0x53dae1(0x341)+_0x491638+_0x53dae1(0x214)+_0x5ae70b);_0x1a253f[_0x53dae1(0x257)]&&_0x1a253f['args']['hookData']&&(_0x1a253f[_0x53dae1(0x257)][_0x53dae1(0x33d)][_0x53dae1(0x1fe)]=_0xda9f6c,logger['debug'](_0x53dae1(0x243)+_0x36fdbd+'\x20to\x20'+_0xda9f6c));try{const _0x381efa=await this['trackHookEvent'](_0x53a4de,_0x1a253f[_0x53dae1(0x225)],_0x1a253f[_0x53dae1(0x26c)],_0x1a253f[_0x53dae1(0x257)]);_0x381efa&&_0x5e4ef0[_0x53dae1(0x2dd)](Object['keys'](_0x381efa)[_0x53dae1(0x20c)],0x0)&&_0x53a4de['addMultipleEntries'](_0x381efa);await this[_0x53dae1(0x1cc)](_0x53a4de,_0x1a253f['testFrameworkState'],_0x1a253f[_0x53dae1(0x26c)],_0x1a253f[_0x53dae1(0x257)]);const _0x1fea3e=_0x53a4de['getPendingHooks'](_0x36fdbd)[_0x53dae1(0x229)](_0x38005b=>_0x38005b!==_0x1a253f);if(_0x5e4ef0[_0x53dae1(0x30a)](_0x1fea3e[_0x53dae1(0x20c)],0x0))_0x53a4de['removePendingHooks'](_0x36fdbd);else{_0x53a4de[_0x53dae1(0x261)](_0x36fdbd);for(const _0x1e0a93 of _0x1fea3e){_0x53a4de[_0x53dae1(0x204)](_0x36fdbd,_0x1e0a93);}}logger[_0x53dae1(0x22b)](_0x5e4ef0['Sidsr']);}catch(_0x81d816){logger[_0x53dae1(0x1e2)](_0x5e4ef0['kEicT']);}}}}}}}}['mapTestHooks'](_0x4c3755){const _0x1f2330=a71_0x789e06,_0x29467b={'arhUd':function(_0x2b275f){return _0x2b275f();}};if(!_0x4c3755||!_0x4c3755['parent'])return;_0x4c3755[_0x1f2330(0x323)][_0x1f2330(0x330)]&&Array['isArray'](_0x4c3755[_0x1f2330(0x323)][_0x1f2330(0x330)])&&_0x4c3755['parent'][_0x1f2330(0x330)][_0x1f2330(0x291)](_0x4f0533=>{const _0x14c868=_0x1f2330;!_0x4f0533[_0x14c868(0x31e)]&&!_0x4f0533[_0x14c868(0x222)]&&(_0x4f0533[_0x14c868(0x31e)]=_0x29467b[_0x14c868(0x210)](uuidv4),_0x4f0533[_0x14c868(0x222)]=_0x4f0533[_0x14c868(0x31e)],logger[_0x14c868(0x22b)]('[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type='+_0x4f0533[_0x14c868(0x2a6)]+_0x14c868(0x308)+_0x4f0533[_0x14c868(0x31e)]));}),this[_0x1f2330(0x249)](_0x4c3755[_0x1f2330(0x323)]);}[a71_0x789e06(0x30b)](_0x18bdb8){const _0x1c37cd=a71_0x789e06,_0x180b3f={'FAkqa':function(_0x47f2da,_0xcc57b7){return _0x47f2da(_0xcc57b7);}};if(!_0x18bdb8||!_0x18bdb8[_0x1c37cd(0x323)])return[];const _0x45ebf5=[];return _0x18bdb8[_0x1c37cd(0x323)]['hooks']&&Array['isArray'](_0x18bdb8[_0x1c37cd(0x323)][_0x1c37cd(0x330)])&&_0x18bdb8[_0x1c37cd(0x323)][_0x1c37cd(0x330)]['forEach'](_0x2b3ea3=>{const _0x59b560=_0x1c37cd,_0x5ddc2e=_0x2b3ea3[_0x59b560(0x31e)]||_0x2b3ea3[_0x59b560(0x222)];_0x5ddc2e&&!this[_0x59b560(0x340)](_0x2b3ea3)&&!_0x180b3f['FAkqa'](isInternalHook,_0x2b3ea3['fn'])&&_0x45ebf5[_0x59b560(0x20a)](_0x5ddc2e);}),[..._0x45ebf5,...this['getHooksForTest'](_0x18bdb8[_0x1c37cd(0x323)])];}[a71_0x789e06(0x2cb)](_0x19a364){const _0x1cec2c=a71_0x789e06,_0x304c09={'WPeFV':function(_0x335032,_0x451c50){return _0x335032(_0x451c50);},'lZEyk':_0x1cec2c(0x2f5),'SKxoZ':function(_0x14028e,_0x2bf79d){return _0x14028e(_0x2bf79d);}},_0x857999=new Map(),_0x18552b=_0x42f967=>{const _0x2fd2c0=_0x1cec2c;if(!_0x42f967||!_0x42f967['parent'])return;_0x42f967[_0x2fd2c0(0x323)][_0x2fd2c0(0x330)]&&Array['isArray'](_0x42f967[_0x2fd2c0(0x323)][_0x2fd2c0(0x330)])&&_0x42f967['parent'][_0x2fd2c0(0x330)]['forEach'](_0x593abd=>{const _0x417d41=_0x2fd2c0,_0x256501=_0x593abd['hookAnalyticsId']||_0x593abd[_0x417d41(0x222)];if(_0x256501&&!this[_0x417d41(0x340)](_0x593abd)&&!_0x304c09[_0x417d41(0x1f1)](isInternalHook,_0x593abd['fn'])){const _0x534eaa={};_0x534eaa[_0x417d41(0x2a6)]=_0x593abd[_0x417d41(0x2a6)]||_0x304c09[_0x417d41(0x293)],_0x534eaa[_0x417d41(0x2bc)]=_0x593abd[_0x417d41(0x2bc)]||'\x22'+_0x593abd[_0x417d41(0x2a6)]+_0x417d41(0x270),_0x857999['set'](_0x256501,_0x534eaa);}}),_0x304c09[_0x2fd2c0(0x227)](_0x18552b,_0x42f967[_0x2fd2c0(0x323)]);};return _0x304c09['SKxoZ'](_0x18552b,_0x19a364),_0x857999;}['isJestInternalHook'](_0x24a578){const _0x7a9397=a71_0x789e06,_0x6837ed={};_0x6837ed[_0x7a9397(0x27b)]=_0x7a9397(0x267),_0x6837ed[_0x7a9397(0x305)]=_0x7a9397(0x297);const _0x5705c8=_0x6837ed;try{const _0x390f60=this[_0x7a9397(0x34c)](_0x24a578);return _0x390f60&&_0x390f60[_0x7a9397(0x29a)](_0x5705c8[_0x7a9397(0x27b)]);}catch(_0x9f7a7){logger[_0x7a9397(0x22b)](_0x5705c8['jMlRP']);}return![];}[a71_0x789e06(0x34c)](_0x51b4f5){const _0x3898da=a71_0x789e06;if(_0x51b4f5[_0x3898da(0x2cc)])try{const _0x1b0c84=stackTrace[_0x3898da(0x279)](_0x51b4f5[_0x3898da(0x2cc)]);return _0x1b0c84[0x0]?_0x1b0c84[0x0][_0x3898da(0x238)]():null;}catch(_0x4702f8){logger[_0x3898da(0x22b)](_0x3898da(0x2e6)+util[_0x3898da(0x206)](_0x4702f8));}if(_0x51b4f5[_0x3898da(0x2d7)])return _0x51b4f5['file'];return null;}}module['exports']=JestTestFramework;
@@ -1 +1 @@
1
- const a72_0x3017fb=a72_0x389d;(function(_0x65102c,_0x1250d8){const _0x497008=a72_0x389d,_0x1b6034=_0x65102c();while(!![]){try{const _0x14e524=parseInt(_0x497008(0xf1))/0x1+-parseInt(_0x497008(0x104))/0x2+-parseInt(_0x497008(0xe8))/0x3+parseInt(_0x497008(0xe4))/0x4*(parseInt(_0x497008(0xfc))/0x5)+-parseInt(_0x497008(0xf6))/0x6*(-parseInt(_0x497008(0xf3))/0x7)+-parseInt(_0x497008(0xff))/0x8+-parseInt(_0x497008(0xfa))/0x9*(parseInt(_0x497008(0xfd))/0xa);if(_0x14e524===_0x1250d8)break;else _0x1b6034['push'](_0x1b6034['shift']());}catch(_0x4b1914){_0x1b6034['push'](_0x1b6034['shift']());}}}(a72_0x5461,0x9dbcd));function a72_0x389d(_0x3a5cb0,_0x14f033){const _0x546132=a72_0x5461();return a72_0x389d=function(_0x389d3e,_0x5ca32b){_0x389d3e=_0x389d3e-0xdf;let _0x335834=_0x546132[_0x389d3e];return _0x335834;},a72_0x389d(_0x3a5cb0,_0x14f033);}const AutomationFramework=require(a72_0x3017fb(0xed)),{createClassLogger}=require(a72_0x3017fb(0xec)),AutomationFrameworkState=require(a72_0x3017fb(0xf4)),CLIUtils=require(a72_0x3017fb(0xfb)),TrackedInstance=require(a72_0x3017fb(0xeb)),AutomationFrameworkInstance=require(a72_0x3017fb(0xe6));class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a72_0x3017fb(0xe5));constructor(_0x4f65fe,_0x4c15d0){super(_0x4f65fe,_0x4c15d0);}async[a72_0x3017fb(0xdf)](_0x2c11ac,_0x4342a4,_0xe99c03={}){const _0x1d430e=a72_0x3017fb,_0x10fe6e={};_0x10fe6e['pDJfF']=function(_0x491a1f,_0x12be02){return _0x491a1f===_0x12be02;};const _0x3b0966=_0x10fe6e;this[_0x1d430e(0xfe)][_0x1d430e(0x10a)](_0x1d430e(0xf9)+_0x2c11ac+_0x1d430e(0xe3)+_0x4342a4),await super[_0x1d430e(0xdf)](_0x2c11ac,_0x4342a4,_0xe99c03);const _0xdd44a0=this['resolveInstance'](_0x2c11ac,_0x4342a4,_0xe99c03);if(_0x3b0966[_0x1d430e(0xf0)](_0xdd44a0,null))return;_0xe99c03[_0x1d430e(0xee)]=_0xdd44a0,await this['runHooks'](_0xdd44a0,_0x2c11ac,_0x4342a4,_0xe99c03);}[a72_0x3017fb(0xe0)](_0xa0e2aa,_0x5463e8,_0x3cbbea={}){const _0x13d5b9=a72_0x3017fb,_0x548c43={};_0x548c43['OQPjN']=function(_0x175422,_0x54d722){return _0x175422===_0x54d722;},_0x548c43[_0x13d5b9(0x102)]=function(_0x4a1612,_0x35d324){return _0x4a1612===_0x35d324;};const _0x564228=_0x548c43;let _0x26f751=null;return(_0x564228['OQPjN'](_0xa0e2aa,AutomationFrameworkState['CREATE'])||_0x564228[_0x13d5b9(0x102)](_0xa0e2aa,AutomationFrameworkState[_0x13d5b9(0x108)])&&(_0x3cbbea[_0x13d5b9(0x109)]&&_0x3cbbea[_0x13d5b9(0x109)]['params']&&_0x3cbbea['message'][_0x13d5b9(0x107)][_0x13d5b9(0xe1)])||_0x564228['OQPjN'](_0xa0e2aa,AutomationFrameworkState[_0x13d5b9(0x103)]))&&this[_0x13d5b9(0x105)](_0xa0e2aa,_0x3cbbea),_0x26f751=AutomationFramework[_0x13d5b9(0xf7)](),_0x26f751;}['trackPlaywrightInstance'](_0x106f0c,_0x2b6b25){const _0x54c0e2=a72_0x3017fb,_0x4ce157={};_0x4ce157[_0x54c0e2(0xe7)]=_0x54c0e2(0xe2);const _0x3ec43a=_0x4ce157;if(AutomationFramework['getTrackedInstance']()){this[_0x54c0e2(0xfe)][_0x54c0e2(0xf5)](_0x3ec43a[_0x54c0e2(0xe7)]);return;}const _0x4f06f9=CLIUtils[_0x54c0e2(0x101)](),_0x5f1146=TrackedInstance[_0x54c0e2(0x10b)](_0x4f06f9);let _0x2580c9=null;this[_0x54c0e2(0xfe)][_0x54c0e2(0xf5)](_0x54c0e2(0xef)+_0x4f06f9+_0x54c0e2(0x100)+_0x106f0c),_0x2580c9=new AutomationFrameworkInstance(_0x5f1146,this[_0x54c0e2(0xf2)](),this['getAutomationFrameworkVersion'](),_0x106f0c),AutomationFramework[_0x54c0e2(0xf8)](_0x5f1146,_0x2580c9),this['logger']['info'](_0x54c0e2(0xe9)+_0x5f1146[_0x54c0e2(0x106)]()+_0x54c0e2(0xea)+_0x4f06f9);}}module['exports']=PlaywrightAutomationFramework;function a72_0x5461(){const _0x14f068=['577782MFcWbi','trackPlaywrightInstance','getId','params','PLAYWRIGHT_DISPATCH','message','debug','createContext','trackEvent','resolveInstance','bsParams','trackPlaywrightInstance:\x20instance\x20already\x20exists','\x20hookState=','16jvqNbZ','PlaywrightAutomationFramework','../instances/automationFrameworkInstance.js','nouOq','801861jMrkOB','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','\x20target=','../instances/trackedInstance.js','../../../helpers/classLogger.js','./automationFramework.js','instance','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','pDJfF','1260274hEljSJ','getAutomationFrameworkName','752577qBBtGJ','../state/automationFrameworkState.js','info','6xyLsds','getTrackedInstance','setTrackedInstance','trackEvent:\x20automationFrameworkState=','873cOZQHX','../cliUtils.js','1347040qohjiU','67460upwQVh','logger','4710272QnGfKE',',\x20state=','getCurrentInstanceName','FbAwU','NONE'];a72_0x5461=function(){return _0x14f068;};return a72_0x5461();}
1
+ function a72_0x282d(){const _0x2a0f63=['../instances/automationFrameworkInstance.js','trackPlaywrightInstance','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','instance','./automationFramework.js','../instances/trackedInstance.js','getAutomationFrameworkVersion','info','udoSR','8385664FdgFWF','253615emgVhW','getTrackedInstance','78xjXeIQ','logger','NONE','../state/automationFrameworkState.js','76182gFnNBP','debug','gzpQR','exports','../cliUtils.js','resolveInstance','trackPlaywrightInstance:\x20instance\x20already\x20exists','27DqIsIb','\x20target=',',\x20state=','472568PZtCzW','runHooks','bsParams','153290JWhuMA','../../../helpers/classLogger.js','\x20hookState=','PvoAN','trackEvent','4236632uuebZR','trackEvent:\x20automationFrameworkState=','getId','2952777JuDgiH','createContext','params','getAutomationFrameworkName','setTrackedInstance','message','PLAYWRIGHT_DISPATCH','31Hqwtcc','946XvAZCl','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getCurrentInstanceName'];a72_0x282d=function(){return _0x2a0f63;};return a72_0x282d();}const a72_0x57eb98=a72_0x4260;(function(_0x168b8d,_0x489e98){const _0x4ae6b2=a72_0x4260,_0x512cae=_0x168b8d();while(!![]){try{const _0x2184ec=-parseInt(_0x4ae6b2(0x13c))/0x1*(-parseInt(_0x4ae6b2(0x150))/0x2)+parseInt(_0x4ae6b2(0x165))/0x3+-parseInt(_0x4ae6b2(0x15a))/0x4+parseInt(_0x4ae6b2(0x14a))/0x5*(parseInt(_0x4ae6b2(0x14c))/0x6)+parseInt(_0x4ae6b2(0x149))/0x7+-parseInt(_0x4ae6b2(0x162))/0x8*(parseInt(_0x4ae6b2(0x157))/0x9)+parseInt(_0x4ae6b2(0x15d))/0xa*(-parseInt(_0x4ae6b2(0x13d))/0xb);if(_0x2184ec===_0x489e98)break;else _0x512cae['push'](_0x512cae['shift']());}catch(_0x3e0e7f){_0x512cae['push'](_0x512cae['shift']());}}}(a72_0x282d,0xf378a));const AutomationFramework=require(a72_0x57eb98(0x144)),{createClassLogger}=require(a72_0x57eb98(0x15e)),AutomationFrameworkState=require(a72_0x57eb98(0x14f)),CLIUtils=require(a72_0x57eb98(0x154)),TrackedInstance=require(a72_0x57eb98(0x145)),AutomationFrameworkInstance=require(a72_0x57eb98(0x140));function a72_0x4260(_0x1c546d,_0x1f112f){const _0x282db6=a72_0x282d();return a72_0x4260=function(_0x4260be,_0x58cac9){_0x4260be=_0x4260be-0x13a;let _0x3e7c7d=_0x282db6[_0x4260be];return _0x3e7c7d;},a72_0x4260(_0x1c546d,_0x1f112f);}class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x57eb98(0x14d)]=createClassLogger('PlaywrightAutomationFramework');constructor(_0x38b914,_0x3f8cdc){super(_0x38b914,_0x3f8cdc);}async[a72_0x57eb98(0x161)](_0x568b94,_0x1f97fd,_0x13215e={}){const _0x8edb4c=a72_0x57eb98,_0x1e8a42={};_0x1e8a42['udoSR']=function(_0x2a67d9,_0x296de4){return _0x2a67d9===_0x296de4;};const _0x42f51a=_0x1e8a42;this[_0x8edb4c(0x14d)][_0x8edb4c(0x151)](_0x8edb4c(0x163)+_0x568b94+_0x8edb4c(0x15f)+_0x1f97fd),await super[_0x8edb4c(0x161)](_0x568b94,_0x1f97fd,_0x13215e);const _0x5800bb=this['resolveInstance'](_0x568b94,_0x1f97fd,_0x13215e);if(_0x42f51a[_0x8edb4c(0x148)](_0x5800bb,null))return;_0x13215e[_0x8edb4c(0x143)]=_0x5800bb,await this[_0x8edb4c(0x15b)](_0x5800bb,_0x568b94,_0x1f97fd,_0x13215e);}[a72_0x57eb98(0x155)](_0x17ac47,_0xa1d5ef,_0x1ffae2={}){const _0x121acf=a72_0x57eb98,_0x4c0c54={};_0x4c0c54[_0x121acf(0x152)]=function(_0x5f2d3e,_0x6c6e31){return _0x5f2d3e===_0x6c6e31;};const _0x3daeb0=_0x4c0c54;let _0x1fb1ec=null;return(_0x3daeb0[_0x121acf(0x152)](_0x17ac47,AutomationFrameworkState['CREATE'])||_0x3daeb0[_0x121acf(0x152)](_0x17ac47,AutomationFrameworkState[_0x121acf(0x13b)])&&(_0x1ffae2[_0x121acf(0x13a)]&&_0x1ffae2['message'][_0x121acf(0x167)]&&_0x1ffae2['message']['params'][_0x121acf(0x15c)])||_0x3daeb0[_0x121acf(0x152)](_0x17ac47,AutomationFrameworkState[_0x121acf(0x14e)]))&&this[_0x121acf(0x141)](_0x17ac47,_0x1ffae2),_0x1fb1ec=AutomationFramework[_0x121acf(0x14b)](),_0x1fb1ec;}[a72_0x57eb98(0x141)](_0x236416,_0x5bb7f2){const _0x44e778=a72_0x57eb98,_0x1e6185={};_0x1e6185[_0x44e778(0x160)]=_0x44e778(0x156);const _0x4a9ca5=_0x1e6185;if(AutomationFramework['getTrackedInstance']()){this['logger'][_0x44e778(0x147)](_0x4a9ca5[_0x44e778(0x160)]);return;}const _0x19bc93=CLIUtils[_0x44e778(0x13f)](),_0x4ea8a6=TrackedInstance[_0x44e778(0x166)](_0x19bc93);let _0x19d746=null;this[_0x44e778(0x14d)][_0x44e778(0x147)](_0x44e778(0x13e)+_0x19bc93+_0x44e778(0x159)+_0x236416),_0x19d746=new AutomationFrameworkInstance(_0x4ea8a6,this[_0x44e778(0x168)](),this[_0x44e778(0x146)](),_0x236416),AutomationFramework[_0x44e778(0x169)](_0x4ea8a6,_0x19d746),this[_0x44e778(0x14d)]['info'](_0x44e778(0x142)+_0x4ea8a6[_0x44e778(0x164)]()+_0x44e778(0x158)+_0x19bc93);}}module[a72_0x57eb98(0x153)]=PlaywrightAutomationFramework;