browserstack-node-sdk 1.49.0 → 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 +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a70_0x1de2ef=a70_0x5d72;(function(_0x581290,_0x158cab){const _0x2a3492=a70_0x5d72,_0x29be01=_0x581290();while(!![]){try{const _0x4434d6=parseInt(_0x2a3492(0x1b3))/0x1+parseInt(_0x2a3492(0x1fb))/0x2*(parseInt(_0x2a3492(0x268))/0x3)+-parseInt(_0x2a3492(0x25d))/0x4+parseInt(_0x2a3492(0x221))/0x5+-parseInt(_0x2a3492(0x26d))/0x6+parseInt(_0x2a3492(0x25c))/0x7*(-parseInt(_0x2a3492(0x1d9))/0x8)+parseInt(_0x2a3492(0x1e1))/0x9*(parseInt(_0x2a3492(0x1c4))/0xa);if(_0x4434d6===_0x158cab)break;else _0x29be01['push'](_0x29be01['shift']());}catch(_0x3785ea){_0x29be01['push'](_0x29be01['shift']());}}}(a70_0x44dc,0x3f1f7));function a70_0x5d72(_0x489471,_0x256691){const _0x44dca5=a70_0x44dc();return a70_0x5d72=function(_0x5d7248,_0x428234){_0x5d7248=_0x5d7248-0x1a6;let _0x35e69c=_0x44dca5[_0x5d7248];return _0x35e69c;},a70_0x5d72(_0x489471,_0x256691);}function a70_0x44dc(){const _0x125a5f=['\x20\x20and\x20args\x20=\x20','matchHookRegex','meta','KEY_TEST_FAILURE','kUXbv','dWgRJ','gkPrY','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','toISOString','2506048rFTfiY','wuBql','base64','kDxww','customRerunParam','CucumberTestFramework','executionContext','scopes','1827234vAWkMO','hooks','testFrameworkState','KEY_EVENT_STARTED_AT','\x20for\x20test:\x20','trackCucumberInstance','KEY_AUTOMATE_SESSION_NAME','icTrn','finishedAt','KEY_TEST_LOGS','trackHookEvent','XErcT','unknown','format','ZbnJl','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','jFsrJ','\x20&\x20hook\x20=\x20','aETrd','KEY_TEST_STARTED_AT','file_name','../../../helpers/classLogger.js','\x20and\x20args\x20=\x20','trackEvent:\x20unsupported\x20testFrameworkState=','parseCucumberTestResult','PRE','603866rEyNCe','\x20testState:\x20','ceil','getTestDetails','startedAt','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','Stored\x20pending\x20hook\x20for\x20testId:\x20','DEFAULT_TEST_RESULT','MGBmp','tQBIS','uZmEr','KEY_TEST_CODE','uuid','getTrackedInstance','MZqKt',',\x20state:\x20','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','sendLogCreatedEvent:\x20for\x20testId:\x20','NONE','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getAllData','BMNPs','name','\x20hookState:\x20','testFrameworkVersion','getId','KEY_TEST_SCOPE','KEY_HOOK_FAILURE_TYPE','KEY_HOOK_LOGS','finished_at','body','KEY_TEST_ID','./testFramework','keys','DEFAULT_HOOK_RESULT','RujJT','FVRXn','hasPendingHooks','514540FDTqqs','trackEvent','\x20payload=','instance','\x20batch\x20','createTestFrameworkEventPayload\x20testId:\x20','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','\x20with\x20id\x20','push','UPuXm','slYYE','args','length','../grpcClient','get','getTestFrameworks','getTestFrameworksVersions','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','slice','../cliUtils.js','removePendingHooks','\x20pending\x20hooks\x20for\x20testId:\x20','getPendingHooks','EdvhV','failure','hook_type','util','KEY_TEST_RESULT','KEY_HOOK_FAILURE','__workerDetails','addMultipleEntries','createTestFrameworkEventPayload','SHekl','setTestDetails','split','TdsqY','KEY_EVENT_ENDED_AT','../state/hookState.js','resolveInstance','toString','getInstance','failed','KEY_HOOK_NAME','\x20with\x20result:\x20','debug','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','runHooks','stringify','../instances/testFrameworkInstance.js','readLogObjects','setTrackedInstance','mVqij','KEY_LOGS','failure_reason','processPendingHooks','../TestInfo.js','msPpl','KEY_TEST_FAILURE_REASON','7TeeOXS','1471024ugqKPM','OppEF','test','KEY_HOOK_LAST_FINISHED','KEY_TEST_NAME','storePendingHook','KEY_HOOK_FAILURE_REASON','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','logCreatedEvent','Parsed\x20cucumber\x20test:\x20','KEY_TEST_TAGS','3TqAkzi','result','KEY_TEST_FRAMEWORK_VERSION','YonLs','getTestUUID','2213034JNuaXj','getContext',',\x20storing\x20as\x20pending\x20hook','failure_type','POST','getThreadId','\x20target=','../instances/trackedInstance.js','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','KEY_CUSTOM_TAGS','inspect','INIT_TEST','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','\x20&\x20hookState=','tags','testFrameworkName','KEY_HOOK_RESULT','91457RJuPyJ','error','endedAt','KEY_TEST_ENDED_AT','KEY_TEST_UUID','UnhandledError','test_run_id','Processing\x20','testUUID','KEY_HOOKS_FINISHED','KEY_TEST_ATTACHMENTS','hookState','testData','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','TnUyS','./constants/testFrameworkConstants.js','../../../helpers/helper.js','40sPlTpp','Updated\x20cucumber\x20test\x20result:\x20','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','KVVsp','../state/testFrameworkState.js','TEST','KEY_TEST_FRAMEWORK_NAME','failure_data','location','key','KEY_HOOKS_STARTED','parseCucumberTest'];a70_0x44dc=function(){return _0x125a5f;};return a70_0x44dc();}const TestFramework=require(a70_0x1de2ef(0x21b)),TestFrameworkState=require(a70_0x1de2ef(0x1c8)),HookState=require(a70_0x1de2ef(0x247)),{createClassLogger}=require(a70_0x1de2ef(0x1f6)),TestFrameworkInstance=require(a70_0x1de2ef(0x252)),CLIUtils=require(a70_0x1de2ef(0x235)),TrackedInstance=require(a70_0x1de2ef(0x1a9)),TestFrameworkConstants=require(a70_0x1de2ef(0x1c2)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x1de2ef(0x1c3)),logger=createClassLogger(a70_0x1de2ef(0x1de)),{v4:uuidv4}=require(a70_0x1de2ef(0x207)),util=require(a70_0x1de2ef(0x23c)),TestInfo=require(a70_0x1de2ef(0x259)),GrpcClient=require(a70_0x1de2ef(0x22f));class CucumberTestFramework extends TestFramework{constructor(_0x506691,_0x54628d,_0x582518){super(_0x506691,_0x54628d,_0x582518);}async[a70_0x1de2ef(0x222)](_0x13c88f,_0x4840d2,_0x23845f={}){const _0x19630e=a70_0x1de2ef,_0x3e842d={};_0x3e842d[_0x19630e(0x22b)]=_0x19630e(0x1ae),_0x3e842d['SHekl']=function(_0x13f241,_0x5c54d9){return _0x13f241===_0x5c54d9;},_0x3e842d[_0x19630e(0x1da)]=function(_0x4b8abd,_0x4238eb){return _0x4b8abd===_0x4238eb;},_0x3e842d[_0x19630e(0x203)]=_0x19630e(0x233);const _0x5db90b=_0x3e842d;await super[_0x19630e(0x222)](_0x13c88f,_0x4840d2,_0x23845f);const _0x3bc680=this[_0x19630e(0x248)](_0x13c88f,_0x4840d2,_0x23845f);if(!_0x3bc680){logger[_0x19630e(0x24e)](_0x5db90b['UPuXm']);return;}try{let _0x6a808a,_0x523fd2;switch(_0x13c88f){case TestFrameworkState['TEST']:_0x6a808a=_0x23845f[_0x19630e(0x25f)],_0x523fd2=TestInfo[_0x19630e(0x26c)](_0x6a808a['id']);if(_0x5db90b['SHekl'](_0x4840d2,HookState[_0x19630e(0x1fa)])){logger[_0x19630e(0x24e)](_0x19630e(0x20b)+_0x6a808a['id']);const _0x5e6007={};_0x5e6007['testUUID']=_0x523fd2,_0x5e6007['testData']=_0x6a808a,_0x3bc680['addMultipleEntries'](this[_0x19630e(0x1cf)](_0x5e6007)),logger[_0x19630e(0x24e)](_0x19630e(0x1c0)+_0x6a808a['id']),await this[_0x19630e(0x258)](_0x3bc680,_0x6a808a['id']);}else{if(_0x5db90b['wuBql'](_0x4840d2,HookState['POST'])){const _0x5039a0={};_0x5039a0[_0x19630e(0x1bb)]=_0x523fd2,_0x5039a0[_0x19630e(0x1bf)]=_0x6a808a,_0x3bc680[_0x19630e(0x240)](this[_0x19630e(0x1f9)](_0x5039a0)),await this[_0x19630e(0x258)](_0x3bc680,_0x6a808a['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x5db90b[_0x19630e(0x242)](_0x4840d2,HookState['POST'])&&await this['sendLogCreatedEvent'](_0x3bc680,_0x13c88f,_0x23845f);break;default:if(CLIUtils[_0x19630e(0x1d1)](_0x13c88f['toString']()['split']('.')[0x1])){const _0x2c483e=await this[_0x19630e(0x1eb)](_0x3bc680,_0x13c88f,_0x4840d2,_0x23845f);_0x3bc680[_0x19630e(0x240)](_0x2c483e);}else logger['debug'](_0x19630e(0x1f8)+_0x13c88f+_0x19630e(0x1af)+_0x4840d2);break;}}catch(_0x2e5e20){logger[_0x19630e(0x1b4)](util[_0x19630e(0x1ee)](_0x5db90b['MGBmp'],_0x13c88f,_0x4840d2,_0x23845f[_0x19630e(0x22e)],_0x2e5e20));}_0x23845f[_0x19630e(0x224)]=_0x3bc680,await this[_0x19630e(0x250)](_0x3bc680,_0x13c88f,_0x4840d2,_0x23845f);}['resolveInstance'](_0x4550e4,_0x2f4207,_0xb9d01d={}){const _0x163c6a=a70_0x1de2ef,_0x5ae6b6={};_0x5ae6b6[_0x163c6a(0x204)]=function(_0x1a33ef,_0x1a67fc){return _0x1a33ef===_0x1a67fc;};const _0x58bb94=_0x5ae6b6;let _0x54ba85=null;return(_0x58bb94['tQBIS'](_0x4550e4,TestFrameworkState[_0x163c6a(0x1ad)])||_0x58bb94['tQBIS'](_0x4550e4,TestFrameworkState[_0x163c6a(0x20d)]))&&this[_0x163c6a(0x1e6)](_0x4550e4,_0xb9d01d),_0x54ba85=TestFramework[_0x163c6a(0x208)](),_0x54ba85;}[a70_0x1de2ef(0x1e6)](_0x5dec0e,_0x399095){const _0x1d3ffd=a70_0x1de2ef,_0x4454a8=CLIUtils['getCurrentInstanceName'](),_0x2644c6=TrackedInstance['createContext'](_0x4454a8);let _0x33810a=null;logger['debug'](_0x1d3ffd(0x1d7)+_0x4454a8+',\x20state='+_0x5dec0e),_0x33810a=new TestFrameworkInstance(_0x2644c6,this[_0x1d3ffd(0x231)](),this[_0x1d3ffd(0x232)](),_0x5dec0e,HookState[_0x1d3ffd(0x20d)]),TestFramework[_0x1d3ffd(0x254)](_0x2644c6,_0x33810a),logger[_0x1d3ffd(0x24e)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x2644c6['getId']()+_0x1d3ffd(0x1a8)+_0x4454a8);}[a70_0x1de2ef(0x1cf)](_0x5db4da){const _0x50e842=a70_0x1de2ef,_0x41296f={};_0x41296f[_0x50e842(0x1c1)]='No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test';const _0x544375=_0x41296f,{testUUID:_0x642465,testData:_0x2d5c0e}=_0x5db4da;if(!_0x2d5c0e||!_0x2d5c0e['uuid'])return logger[_0x50e842(0x24e)](_0x544375[_0x50e842(0x1c1)]),{};const _0xec685b=_0x2d5c0e[_0x50e842(0x207)],_0x3e10eb=_0x2d5c0e[_0x50e842(0x207)],_0x464b1c=this[_0x50e842(0x231)]()[0x0],_0x577a53=this[_0x50e842(0x232)](),_0x127601={[TestFrameworkConstants[_0x50e842(0x1ca)]]:_0x464b1c,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x577a53[_0x464b1c],[TestFrameworkConstants[_0x50e842(0x1ea)]]:[],[TestFrameworkConstants[_0x50e842(0x1bc)]]:{},[TestFrameworkConstants[_0x50e842(0x1ce)]]:{},[TestFrameworkConstants[_0x50e842(0x1b7)]]:_0xec685b,[TestFrameworkConstants[_0x50e842(0x23d)]]:TestFrameworkConstants[_0x50e842(0x202)],[TestFrameworkConstants[_0x50e842(0x1e7)]]:_0x2d5c0e[_0x50e842(0x211)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x2d5c0e[_0x50e842(0x1f5)]||'',[TestFrameworkConstants[_0x50e842(0x21a)]]:_0x3e10eb,[TestFrameworkConstants[_0x50e842(0x261)]]:_0x2d5c0e['name']||'',[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x2d5c0e[_0x50e842(0x1cc)]||'',[TestFrameworkConstants[_0x50e842(0x206)]]:_0x2d5c0e[_0x50e842(0x219)]?.['code']||null,[TestFrameworkConstants[_0x50e842(0x267)]]:_0x2d5c0e[_0x50e842(0x1b0)]||[],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x2d5c0e[_0x50e842(0x1ff)]||new Date()[_0x50e842(0x1d8)](),[TestFrameworkConstants[_0x50e842(0x215)]]:_0x2d5c0e[_0x50e842(0x1e0)]?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x2d5c0e['scopes']||[],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x2d5c0e[_0x50e842(0x1dd)]?.['rerun_name']||_0x2d5c0e[_0x50e842(0x211)]||'',[TestFrameworkConstants[_0x50e842(0x1ab)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:_0x2d5c0e[_0x50e842(0x1d2)]||{}};TestInfo['setTestDetails'](_0x3e10eb,_0x127601),logger[_0x50e842(0x24e)](_0x50e842(0x266)+_0x2d5c0e['name']+'\x20with\x20UUID:\x20'+_0xec685b);const _0x3645d4={};return _0x3645d4[_0x3e10eb]=_0x127601,_0x3645d4;}[a70_0x1de2ef(0x1f9)](_0x8586e3){const _0x3416a2=a70_0x1de2ef,_0x3f0777={'kUXbv':_0x3416a2(0x200),'XErcT':_0x3416a2(0x1ed),'MGtJS':function(_0x29b180,_0x503562){return _0x29b180===_0x503562;},'YonLs':_0x3416a2(0x24b),'RujJT':_0x3416a2(0x1b8),'jFsrJ':function(_0x51cf65,_0x4f4344,_0x3c5dc4){return _0x51cf65(_0x4f4344,_0x3c5dc4);},'uZmEr':function(_0x18f69a,_0x367ef3){return _0x18f69a>_0x367ef3;}},{testUUID:_0x11ae50,testData:_0x4838cb}=_0x8586e3;if(!_0x4838cb||!_0x4838cb['uuid'])return logger[_0x3416a2(0x24e)](_0x3f0777[_0x3416a2(0x1d4)]),{};const _0x2ab5cc=this[_0x3416a2(0x248)](TestFrameworkState[_0x3416a2(0x1c9)],HookState[_0x3416a2(0x1a6)]),_0x587be5=_0x4838cb[_0x3416a2(0x207)],_0x4b6c38=TestInfo[_0x3416a2(0x1fe)](_0x587be5)||{},_0x539ac9=_0x4b6c38?_0x4b6c38[TestFrameworkConstants[_0x3416a2(0x1ab)]]||{}:{},_0x307f1e={..._0x4b6c38,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x4838cb[_0x3416a2(0x269)]||_0x3f0777[_0x3416a2(0x1ec)],[TestFrameworkConstants[_0x3416a2(0x1b6)]]:_0x4838cb[_0x3416a2(0x1e9)]||new Date()[_0x3416a2(0x1d8)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x3416a2(0x1d8)](),[TestFrameworkConstants[_0x3416a2(0x1ab)]]:_0x539ac9,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants['KEY_TEST_META']]:_0x4838cb['meta']||{}};_0x3f0777['MGtJS'](_0x4838cb['result'],_0x3f0777[_0x3416a2(0x26b)])&&_0x4838cb[_0x3416a2(0x23a)]&&(_0x307f1e[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x4838cb[_0x3416a2(0x270)]||_0x3f0777[_0x3416a2(0x21e)],_0x307f1e[TestFrameworkConstants[_0x3416a2(0x25b)]]=_0x4838cb[_0x3416a2(0x257)]||'',_0x307f1e[TestFrameworkConstants[_0x3416a2(0x1d3)]]=_0x4838cb[_0x3416a2(0x23a)]);const _0x2c5ab6=TestInfo[_0x3416a2(0x1fe)](_0x587be5)[TestFrameworkConstants[_0x3416a2(0x1bd)]]||{},_0x233dfb=_0x3f0777[_0x3416a2(0x1f1)](getManualUploadLogs,_0x2c5ab6,_0x2ab5cc['getAllData']()[_0x3416a2(0x230)](_0x587be5)[TestFrameworkConstants[_0x3416a2(0x1b7)]]);if(_0x3f0777[_0x3416a2(0x205)](_0x233dfb['length'],0x0)){const _0x24b762=_0x307f1e[TestFrameworkConstants[_0x3416a2(0x256)]]||[];_0x307f1e[TestFrameworkConstants[_0x3416a2(0x256)]]=[..._0x24b762,..._0x233dfb];}_0x4838cb['hooks']&&_0x3f0777[_0x3416a2(0x205)](_0x4838cb[_0x3416a2(0x1e2)][_0x3416a2(0x22e)],0x0)&&(_0x307f1e[TestFrameworkConstants[_0x3416a2(0x1bc)]]=_0x4838cb['hooks']);TestInfo[_0x3416a2(0x243)](_0x587be5,_0x307f1e),logger[_0x3416a2(0x24e)](_0x3416a2(0x1c5)+_0x4838cb[_0x3416a2(0x211)]+_0x3416a2(0x24d)+_0x4838cb['result']);const _0x167bc8={};return _0x167bc8[_0x587be5]=_0x307f1e,_0x167bc8;}async[a70_0x1de2ef(0x1eb)](_0x398628,_0x45cbf9,_0x3d4c8e,_0x514a05){const _0x153448=a70_0x1de2ef,_0x3f4b72={'icTrn':_0x153448(0x1c6),'CtVqd':function(_0x3818cf){return _0x3818cf();},'zaQso':function(_0x3867aa,_0xd2c0d7){return _0x3867aa in _0xd2c0d7;},'FVRXn':function(_0x4bede6,_0x1d64f1){return _0x4bede6===_0x1d64f1;},'dWgRJ':function(_0x1bf4d0,_0x3c20a2){return _0x1bf4d0===_0x3c20a2;},'dIxBD':function(_0x505109,_0x1039ae){return _0x505109>_0x1039ae;},'JEFeV':function(_0x372ec0,_0x231f64){return _0x372ec0===_0x231f64;},'KVVsp':_0x153448(0x24b),'kDxww':_0x153448(0x1b8),'aETrd':'passed','TdsqY':function(_0xb8027,_0x257093){return _0xb8027!==_0x257093;}},{hookData:_0x2dc78a}=_0x514a05;if(!_0x2dc78a)return logger[_0x153448(0x24e)](_0x3f4b72[_0x153448(0x1e8)]),{};const _0x468e20=_0x2dc78a[_0x153448(0x207)]||_0x3f4b72['CtVqd'](uuidv4),_0x5505c3=_0x2dc78a[_0x153448(0x1b9)],_0x186c6c=_0x45cbf9[_0x153448(0x249)]()[_0x153448(0x244)]('.')[0x1],_0x4decd4=TestInfo[_0x153448(0x1fe)](_0x5505c3)[TestFrameworkConstants[_0x153448(0x1ab)]]||{},_0x2b8118=_0x398628[_0x153448(0x20f)]()[_0x153448(0x230)](_0x5505c3);if(!_0x2b8118)return logger[_0x153448(0x24e)](_0x153448(0x24f)+_0x5505c3+_0x153448(0x26f)),this[_0x153448(0x262)](_0x398628,_0x5505c3,_0x45cbf9,_0x3d4c8e,_0x514a05),{};let _0x2e61a6=_0x2b8118[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x2e61a6&&(_0x2e61a6={});!_0x3f4b72['zaQso'](_0x186c6c,_0x2e61a6)&&(_0x2e61a6[_0x186c6c]=[]);let _0x5086bd=_0x2b8118[TestFrameworkConstants[_0x153448(0x1bc)]];!_0x5086bd&&(_0x5086bd={});!_0x3f4b72['zaQso'](_0x186c6c,_0x5086bd)&&(_0x5086bd[_0x186c6c]=[]);const _0x3cdfcf={[TestFrameworkConstants[_0x153448(0x1ce)]]:_0x2e61a6,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x5086bd},_0x36f1fc={};_0x36f1fc[_0x5505c3]=_0x3cdfcf;const _0x2b27b4=_0x36f1fc;if(_0x3f4b72[_0x153448(0x21f)](_0x3d4c8e,HookState[_0x153448(0x1fa)])){const _0x2d6bd3={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x468e20,[TestFrameworkConstants[_0x153448(0x1b2)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x153448(0x1e4)]]:_0x2dc78a['started_at'],[TestFrameworkConstants[_0x153448(0x217)]]:[],[TestFrameworkConstants[_0x153448(0x24c)]]:_0x2dc78a[_0x153448(0x23b)],[TestFrameworkConstants[_0x153448(0x1ab)]]:_0x4decd4};_0x2d6bd3[_0x153448(0x1cd)]=_0x186c6c;const _0x5f0682=_0x2d6bd3;_0x2e61a6[_0x186c6c][_0x153448(0x22a)](_0x5f0682),_0x2b27b4[_0x5505c3][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x186c6c,logger[_0x153448(0x24e)](_0x153448(0x227)+_0x186c6c+_0x153448(0x1f2)+_0x5f0682+_0x153448(0x1d0)+_0x514a05);}else{if(_0x3f4b72[_0x153448(0x1d5)](_0x3d4c8e,HookState['POST'])){const _0x3207dd=_0x2dc78a['result'],_0x1cb1f3=_0x2e61a6[_0x186c6c]||[];logger[_0x153448(0x24e)]('trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20'+_0x1cb1f3+_0x153448(0x1f7)+_0x514a05);if(_0x3f4b72['dIxBD'](_0x1cb1f3['length'],0x0)){const _0x114d2c=_0x1cb1f3['pop']();_0x3f4b72['JEFeV'](_0x2dc78a[_0x153448(0x269)],_0x3f4b72[_0x153448(0x1c7)])&&_0x2dc78a[_0x153448(0x1cb)]?(_0x114d2c[TestFrameworkConstants[_0x153448(0x216)]]=_0x2dc78a[_0x153448(0x270)]||_0x3f4b72[_0x153448(0x1dc)],_0x114d2c[TestFrameworkConstants[_0x153448(0x263)]]=_0x2dc78a[_0x153448(0x257)]||'',_0x114d2c[TestFrameworkConstants[_0x153448(0x23e)]]=_0x2dc78a[_0x153448(0x1cb)]):_0x114d2c[TestFrameworkConstants[_0x153448(0x1b2)]]=_0x3f4b72[_0x153448(0x1f3)];_0x3f4b72[_0x153448(0x245)](_0x3207dd,TestFrameworkConstants[_0x153448(0x21d)])&&(_0x114d2c[TestFrameworkConstants[_0x153448(0x1b2)]]=_0x3207dd);_0x114d2c[TestFrameworkConstants[_0x153448(0x246)]]=_0x2dc78a[_0x153448(0x218)]||new Date()[_0x153448(0x1d8)](),_0x114d2c[TestFrameworkConstants[_0x153448(0x1ab)]]=_0x4decd4;const _0xfbddb4=_0x114d2c[TestFrameworkConstants['KEY_HOOK_ID']];!_0x5086bd[_0x186c6c]&&(_0x5086bd[_0x186c6c]=[]),_0x5086bd[_0x186c6c][_0x153448(0x22a)](_0x114d2c),_0x2b27b4[_0x5505c3][TestFrameworkConstants[_0x153448(0x260)]]=_0x186c6c;}}}return logger['debug']('Tracked\x20cucumber\x20hook\x20event:\x20'+_0x2dc78a['hook_type']+_0x153448(0x229)+_0x468e20+_0x153448(0x1e5)+_0x5505c3),_0x2b27b4;}[a70_0x1de2ef(0x241)](_0x570d7e){const _0x49eae4=a70_0x1de2ef,_0x16244d={};_0x16244d['gkPrY']=_0x49eae4(0x1db);const _0x81799c=_0x16244d;try{const _0x4c861a=_0x570d7e[_0x49eae4(0x25f)]?_0x570d7e['test']['id']:_0x570d7e['hookData'][_0x49eae4(0x1b9)],_0x2b6402=_0x570d7e['instance'],_0x59a2e2=_0x2b6402[_0x49eae4(0x26e)](),_0x3caa1e=_0x2b6402[_0x49eae4(0x20f)]()[_0x49eae4(0x230)](_0x4c861a);if(!_0x3caa1e)return logger[_0x49eae4(0x24e)](_0x49eae4(0x20e)+_0x4c861a),{};logger[_0x49eae4(0x24e)](_0x49eae4(0x226)+_0x4c861a);const {[TestFrameworkConstants[_0x49eae4(0x1ca)]]:_0x86cecc='',[TestFrameworkConstants[_0x49eae4(0x26a)]]:_0x490b30='',[TestFrameworkConstants[_0x49eae4(0x1f4)]]:_0x3404bb='',[TestFrameworkConstants[_0x49eae4(0x1b6)]]:_0x1c58bc=''}=_0x3caa1e,_0x343f26=_0x2b6402['getCurrentTestState']()[_0x49eae4(0x249)]()[_0x49eae4(0x244)]('.')[0x1],_0x49e80b=_0x2b6402['getCurrentHookState']()[_0x49eae4(0x249)]()['split']('.')[0x1],_0x1bcc2f=global?.[_0x49eae4(0x23f)]?.['workerInfo']?.['parallelIndex'],_0xe3a2ab=_0x2b6402['getRef'](),_0x5d958f=Buffer['from'](JSON[_0x49eae4(0x251)](_0x3caa1e))['toString'](_0x81799c[_0x49eae4(0x1d6)]),_0x58fc46={'hash':_0x59a2e2[_0x49eae4(0x214)](),'threadId':_0x59a2e2[_0x49eae4(0x1a7)]()[_0x49eae4(0x249)](),'processId':_0x59a2e2['getProcessId']()[_0x49eae4(0x249)]()},_0x130418={};_0x130418['platformIndex']=_0x1bcc2f,_0x130418[_0x49eae4(0x1b1)]=_0x86cecc,_0x130418[_0x49eae4(0x213)]=_0x490b30,_0x130418[_0x49eae4(0x1e3)]=_0x343f26,_0x130418[_0x49eae4(0x1be)]=_0x49e80b,_0x130418['startedAt']=_0x3404bb,_0x130418[_0x49eae4(0x1b5)]=_0x1c58bc,_0x130418['uuid']=_0xe3a2ab,_0x130418['eventJson']=_0x5d958f,_0x130418[_0x49eae4(0x1df)]=_0x58fc46;const _0x5f23f8=_0x130418;return logger['debug'](_0x49eae4(0x228)+_0x4c861a+_0x49eae4(0x1fc)+_0x343f26+_0x49eae4(0x212)+_0x49e80b),_0x5f23f8;}catch(_0x2fd20c){return logger[_0x49eae4(0x1b4)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x49eae4(0x1ee)](_0x2fd20c)),{};}}async['sendLogCreatedEvent'](_0x20b419,_0x216495,_0x5b84b9){const _0x23e644=a70_0x1de2ef,_0x2e5c96={'OppEF':function(_0xb69deb,_0x3a1338,_0x382ee3){return _0xb69deb(_0x3a1338,_0x382ee3);},'BMNPs':function(_0x338d98,_0x4ef598){return _0x338d98===_0x4ef598;},'AZuUB':_0x23e644(0x1aa),'mVqij':function(_0xc60750,_0x32f2ac){return _0xc60750/_0x32f2ac;},'msPpl':function(_0x2a8f86,_0x476c6a){return _0x2a8f86<_0x476c6a;},'ZbnJl':function(_0x1b21c2,_0x5ebaa0){return _0x1b21c2*_0x5ebaa0;},'SPlvW':function(_0x1ee4a2,_0x5aa859){return _0x1ee4a2+_0x5aa859;},'slYYE':function(_0x553551,_0x5d5887){return _0x553551+_0x5d5887;},'MZqKt':'Cucumber\x20log\x20created\x20event'};try{const _0x280a49=_0x5b84b9[_0x23e644(0x1bb)],_0x487483=_0x20b419[_0x23e644(0x20f)]()[_0x23e644(0x230)](_0x280a49),{[TestFrameworkConstants[_0x23e644(0x1ca)]]:_0x3f3d13='',[TestFrameworkConstants[_0x23e644(0x26a)]]:_0x75a7bd=''}=_0x487483,_0x1b5164=TestInfo[_0x23e644(0x253)](_0x280a49),_0x4c13ed=TestInfo['getTestDetails'](_0x280a49)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x316673=_0x2e5c96[_0x23e644(0x25e)](getMediaArtifactsLogs,_0x4c13ed,_0x20b419[_0x23e644(0x20f)]()[_0x23e644(0x230)](_0x280a49)[TestFrameworkConstants[_0x23e644(0x1b7)]]),_0x2a5721=(_0x1b5164||[])['concat'](_0x316673||[]);if(!_0x2a5721||_0x2e5c96[_0x23e644(0x210)](_0x2a5721[_0x23e644(0x22e)],0x0)){logger[_0x23e644(0x24e)](_0x2e5c96['AZuUB']);return;}const _0x2fbed8=0x28,_0x18fcc6=Math[_0x23e644(0x1fd)](_0x2e5c96[_0x23e644(0x255)](_0x2a5721[_0x23e644(0x22e)],_0x2fbed8));for(let _0x2d6826=0x0;_0x2e5c96[_0x23e644(0x25a)](_0x2d6826,_0x18fcc6);_0x2d6826++){const _0x54fa48=_0x2e5c96[_0x23e644(0x1ef)](_0x2d6826,_0x2fbed8),_0x2619cf=_0x2e5c96['SPlvW'](_0x54fa48,_0x2fbed8),_0x382770=_0x2a5721[_0x23e644(0x234)](_0x54fa48,_0x2619cf),_0x1492e0={'platformIndex':'0','logs':_0x382770,'testFrameworkName':_0x3f3d13,'testFrameworkVersion':_0x75a7bd,'testFrameworkState':_0x216495[_0x23e644(0x249)]()[_0x23e644(0x244)]('.')[0x1]};logger[_0x23e644(0x24e)](_0x23e644(0x20c)+_0x280a49+_0x23e644(0x225)+_0x2e5c96[_0x23e644(0x22c)](_0x2d6826,0x1)+'/'+_0x18fcc6+_0x23e644(0x223)+util['inspect'](_0x1492e0));const _0x448026=await GrpcClient[_0x23e644(0x24a)]()[_0x23e644(0x265)](_0x1492e0);logger['debug']('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x280a49+'\x20batch\x20'+_0x2e5c96[_0x23e644(0x22c)](_0x2d6826,0x1)+'/'+_0x18fcc6+'\x20response='+util[_0x23e644(0x1ac)](_0x448026));}}catch(_0xc54eb4){logger[_0x23e644(0x1b4)]('sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20'+util['format'](_0xc54eb4));}logger[_0x23e644(0x24e)](_0x2e5c96[_0x23e644(0x209)]);}['storePendingHook'](_0x379887,_0x122d69,_0x6ba5cc,_0x445f9e,_0x5822bb){const _0x39573f=a70_0x1de2ef,_0x131dbb={'testId':_0x122d69,'testFrameworkState':_0x6ba5cc,'hookState':_0x445f9e,'args':_0x5822bb,'timestamp':new Date()[_0x39573f(0x1d8)]()};_0x379887['addPendingHook'](_0x122d69,_0x131dbb),logger[_0x39573f(0x24e)](_0x39573f(0x201)+_0x122d69+_0x39573f(0x20a)+_0x6ba5cc+',\x20hookState:\x20'+_0x445f9e);}async[a70_0x1de2ef(0x258)](_0x41ac8c,_0x329960){const _0x2902d6=a70_0x1de2ef,_0x475288={};_0x475288[_0x2902d6(0x239)]=function(_0x2e08a5,_0x2fadfa){return _0x2e08a5>_0x2fadfa;};const _0xa946ab=_0x475288;if(!_0x41ac8c[_0x2902d6(0x220)](_0x329960))return;const _0x4f5bc8=_0x41ac8c[_0x2902d6(0x238)](_0x329960);logger[_0x2902d6(0x24e)](_0x2902d6(0x1ba)+_0x4f5bc8[_0x2902d6(0x22e)]+_0x2902d6(0x237)+_0x329960);for(const _0x42eaac of _0x4f5bc8){try{const _0x2a1663=await this[_0x2902d6(0x1eb)](_0x41ac8c,_0x42eaac[_0x2902d6(0x1e3)],_0x42eaac[_0x2902d6(0x1be)],_0x42eaac[_0x2902d6(0x22d)]);_0x2a1663&&_0xa946ab[_0x2902d6(0x239)](Object[_0x2902d6(0x21c)](_0x2a1663)[_0x2902d6(0x22e)],0x0)&&_0x41ac8c[_0x2902d6(0x240)](_0x2a1663),await this['runHooks'](_0x41ac8c,_0x42eaac[_0x2902d6(0x1e3)],_0x42eaac[_0x2902d6(0x1be)],_0x42eaac[_0x2902d6(0x22d)]);}catch(_0x27d734){logger[_0x2902d6(0x1b4)](_0x2902d6(0x264)+_0x329960+',\x20error:\x20'+_0x27d734);}}_0x41ac8c[_0x2902d6(0x236)](_0x329960),logger['debug'](_0x2902d6(0x1f0)+_0x329960);}}module['exports']=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
- const a71_0x53922f=a71_0x1209;(function(_0x50547c,_0x459dd5){const _0x4a02b4=a71_0x1209,_0x358388=_0x50547c();while(!![]){try{const _0x5c4c1f=parseInt(_0x4a02b4(0x2d6))/0x1+parseInt(_0x4a02b4(0x267))/0x2+-parseInt(_0x4a02b4(0x2bd))/0x3+-parseInt(_0x4a02b4(0x2cd))/0x4*(parseInt(_0x4a02b4(0x28d))/0x5)+-parseInt(_0x4a02b4(0x2b1))/0x6*(-parseInt(_0x4a02b4(0x2eb))/0x7)+-parseInt(_0x4a02b4(0x284))/0x8*(-parseInt(_0x4a02b4(0x2c6))/0x9)+parseInt(_0x4a02b4(0x2ff))/0xa*(-parseInt(_0x4a02b4(0x2ae))/0xb);if(_0x5c4c1f===_0x459dd5)break;else _0x358388['push'](_0x358388['shift']());}catch(_0x4ddbd1){_0x358388['push'](_0x358388['shift']());}}}(a71_0x5de1,0xe9943));const TestFramework=require('./testFramework'),TestFrameworkState=require(a71_0x53922f(0x1ea)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a71_0x53922f(0x34a)),TestFrameworkInstance=require(a71_0x53922f(0x208)),CLIUtils=require(a71_0x53922f(0x30d)),TrackedInstance=require(a71_0x53922f(0x31d)),TestFrameworkConstants=require(a71_0x53922f(0x335)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x53922f(0x255)),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger(a71_0x53922f(0x2ed)),{v4:uuidv4}=require(a71_0x53922f(0x207)),util=require(a71_0x53922f(0x224)),TestInfo=require(a71_0x53922f(0x339)),GrpcClient=require(a71_0x53922f(0x268)),stackTrace=require(a71_0x53922f(0x288));function a71_0x1209(_0x52cdf7,_0x23ae5c){const _0x5de1db=a71_0x5de1();return a71_0x1209=function(_0x120916,_0x5399f4){_0x120916=_0x120916-0x1e4;let _0x5730f6=_0x5de1db[_0x120916];return _0x5730f6;},a71_0x1209(_0x52cdf7,_0x23ae5c);}function a71_0x5de1(){const _0x120ba3=['message','type','slice','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20',',\x20hookType=','TpKgB','Uoxgp','hook_result','KEY_HOOK_FAILURE_TYPE','isArray','file','KEY_TEST_ATTACHMENTS',',\x20hookState=',',\x20totalHooks=','aDLbD','depth','vYrnN','JhpfS','failed','trackJestInstance','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','substr','getJestFailureType','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','sendLogCreatedEvent','getCurrentInstanceName','KEY_LOGS','ARRzK','error','trackJestInstance:\x20created\x20instance\x20for\x20target=','trackHookEvent','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','toUpperCase','hook_id','filter','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','Zbaco','GWZmv','pop','maxArrayLength','../state/testFrameworkState.js','hookData','test','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','parse','dkdPx','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','TEST_SCREENSHOT','removePendingHooks','warn','KEY_TEST_DURATION','SpOlt','KEY_HOOKS_FINISHED','VzruM','../../../helpers/test-observability/utils','bjVJv',',\x20testFramework=','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','getContext','eFhNl','juRJA','BEFORE_ALL','lsdtr','\x22\x20hook','VsJKU','set','testFrameworkState','splice','vfSba','uuid','../instances/testFrameworkInstance.js','CBxGM','KEY_TEST_RETRY_OF','GNdSQ','\x20hook','KEY_TEST_FRAMEWORK_NAME','test_run_id','ojJXm','exports','yYMRB','\x20(testIdentifier),\x20hookType=','jest-circus','unknown','nsYPu','parallelIndex',',\x20logsInBatch:\x20','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','getAllData','KEY_EVENT_ENDED_AT','testFrameworkName','OEUab','KEY_TEST_STARTED_AT','\x20-\x20testId:\x20','\x20files','getTrackedInstance','started_at',':testAnalyticsId','file_name','util','CRuZy','KEY_TEST_SCOPES','pvVKa','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20',',\x20filePath:\x20','KEY_TEST_META',',\x20hookUUID=','ROOT_DESCRIBE_BLOCK','KaixV','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','getCurrentHookState','trackEvent','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','hbaam','YIsXy','getJestTestName','godpw','htepJ','isJestInternalHook','xNypq',',\x20testId=',',\x20failureReason=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','KEY_TEST_ENDED_AT','MKCZG','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','\x20screenshot\x20logs\x20for\x20testId:\x20','hookMetadata',',\x20payload:\x20','hooks','asyncError','forEach','args','sNRAD','AssertionError','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','\x20attachments','length','platformIndex','LXwow','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20',',\x20consoleLogs:\x20','WCvPy','KEY_TEST_NAME','keys','../../../helpers/helper.js','KEY_TEST_FAILURE','JCPiQ','activeHooks','get','testData','testId','title','pKDQm','KEY_TEST_SCOPE','storePendingHook','hookAnalyticsId','lQldP','name','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','addPendingHook','createTestFrameworkEventPayload','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','1528002PGCKTN','../grpcClient','setActiveHook','getHooksForTest','KEY_HOOK_LAST_FINISHED','workerInfo','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','test_identifier','\x20(testIdentifier)','iUfRT','\x20for\x20testId:\x20','\x22\x20from\x20testData','join',',\x20scopes=','hook_type',',\x20state:\x20','getJestTestScopes','substring','errorsDetailed','LqBAm','findIndex','includes','mapTestHooks','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','YRMXy','from',',\x20contextId=','KEY_TEST_TAGS','rPtkY','5775312BvuApP',',\x20hookData=','fSSMu',',\x20totalBatches:\x20','stack-trace','getTestFrameworksVersions','gZiGc','getJestFailureData','getCurrentTestState','163045jYSyOz','getRef','KEY_TEST_FRAMEWORK_VERSION','passed','KEY_TEST_RESULT','_ALL',',\x20hookId=','duration','parseJestTest','runHooks','originalTest','KEY_TEST_RESULT_AT','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','CqOaz','parent','Unknown\x20Test','toISOString','upHra','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','DEFAULT_TEST_RESULT',',\x20remainingHooks=','has','getJestTestIdentifier','KEY_TEST_LOGS','\x20(testIdentifier),\x20tags=',',\x20target=','NONE','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','RdXOR','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','getFileName','matchHookRegex','99aplTsu','POST',',\x20screenshotLogs:\x20','3656274KfpKWE','Hcjbq','aIkRn','beforeAll',',\x20version=','KEY_TEST_FAILURE_TYPE',',\x20hook_run_uuid=','KEY_HOOK_FAILURE_REASON','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','getJestTestTags','YTCom','base64','1741806fXXDDf','qnzfU','addMultipleEntries','KEY_TEST_FAILURE_REASON','ICmpQ','KEY_HOOK_LAST_STARTED','split','KEY_TEST_LOCATION','getProcessId','9BJePXV','testUUID','BjKph','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','KEY_TEST_FILE_PATH','KEY_CUSTOM_TAGS','format','140TWMMEb','failure_reason','skipped','dAayK','ceil',',\x20error:\x20','filePath','DEFAULT_HOOK_RESULT','logCreatedEvent','370685MkDMKV','psbHb','\x20logs\x20for\x20testId:\x20','hookUUID','Assert','missing','retryOf',',\x20hook=','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','debug','LOG_REPORT','PRE','GhHYH','scope','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','parseJestTestResult','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','Stored\x20pending\x20hook\x20for\x20testId:\x20','Ciufl','test_run_uuid','scopes','14NrwBGi',',\x20argsKeys=','JestTestFramework','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','EOCnJ','KEY_AUTOMATE_SESSION_NAME','hasPendingHooks','getPendingHooks','VYmLu','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','zEJkv',',\x20storing\x20as\x20pending\x20hook','wtpky','KEY_TEST_CODE','getId','match','KEY_HOOK_LOGS','Error\x20in\x20createTestFrameworkEventPayload:\x20','BOXkp','440780JDWCVp','push',',\x20filePath=','ipmHd','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','finished_at','GplEX','TEST','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','SAwpp','exzrZ','YkUPS','XMNhS','getRootParentFile','../cliUtils.js','Shjfe','afterAll','bvBdt',',\x20failureType=','BtIBt','RlzNG','getJestTestFilePath','inspect',',\x20hookState:\x20','KEY_TEST_UUID','UnhandledError','AxxSy','concat','instance','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','../instances/trackedInstance.js','sDudy',',\x20currentTestId:\x20','bDPsn','trackJestInstance:\x20instance\x20already\x20exists','none',',\x20platformIndex:\x20','eventJson','result','hookType','status','IBiCw','GZudo','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','LwhEb',',\x20hooksListLength=','hookState','\x20to\x20','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','wvAdZ','getTestFrameworks','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','pid','Processing\x20','./constants/testFrameworkConstants.js','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','\x20&\x20hookState=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','../TestInfo.js','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','find','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','resolveInstance','GgsJN','__workerDetails','getJestFailureReason','skip','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','delete','KEY_TEST_RERUN_NAME','\x20-\x20test_identifier=','TKVZZ','SWnNc','createContext','processPendingHooks','../../../helpers/classLogger.js','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','executionContext','KEY_HOOK_RESULT','map','QlJkT',',\x20exception=','toString','buildHookMapFromTest',',\x20scope:\x20','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','KEY_HOOK_NAME','tags','qctSr','KEY_HOOK_ID','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','KEY_HOOKS_STARTED'];a71_0x5de1=function(){return _0x120ba3;};return a71_0x5de1();}class JestTestFramework extends TestFramework{constructor(_0x46f941,_0x26d411,_0x3b74b9){super(_0x46f941,_0x26d411,_0x3b74b9),this['activeHooks']=new Map();}[a71_0x53922f(0x269)](_0x1c75f0,_0x39f395,_0x368b25){const _0x9cf48a=a71_0x53922f,_0x1ee1af={};_0x1ee1af[_0x9cf48a(0x34f)]=function(_0x3f4f18,_0x5834e8){return _0x3f4f18||_0x5834e8;};const _0x4aad01=_0x1ee1af;if(_0x4aad01[_0x9cf48a(0x34f)](!_0x1c75f0,!_0x39f395)){logger[_0x9cf48a(0x1f3)](_0x9cf48a(0x332)+_0x1c75f0+_0x9cf48a(0x22b)+_0x39f395);return;}!this[_0x9cf48a(0x258)][_0x9cf48a(0x2a2)](_0x1c75f0)&&this['activeHooks'][_0x9cf48a(0x203)](_0x1c75f0,[]);const _0x28f0b8={'hookUUID':_0x39f395,'hookType':_0x368b25,'startedAt':new Date()[_0x9cf48a(0x29d)]()};this[_0x9cf48a(0x258)]['get'](_0x1c75f0)[_0x9cf48a(0x300)](_0x28f0b8),logger[_0x9cf48a(0x2df)]('[JestTestFramework]\x20setActiveHook:\x20testIdentifier='+_0x1c75f0+_0x9cf48a(0x22b)+_0x39f395+_0x9cf48a(0x35f)+_0x368b25+_0x9cf48a(0x368)+this[_0x9cf48a(0x258)][_0x9cf48a(0x259)](_0x1c75f0)['length']);}['removeActiveHook'](_0x548fde,_0x3e6f54){const _0x466d67=a71_0x53922f,_0x3264fa={};_0x3264fa['IBiCw']=function(_0x83e2e,_0x4388fb){return _0x83e2e||_0x4388fb;},_0x3264fa[_0x466d67(0x308)]=function(_0x4a61d7,_0x24b959){return _0x4a61d7!==_0x24b959;},_0x3264fa[_0x466d67(0x261)]=function(_0x1903b0,_0x3c0ac8){return _0x1903b0===_0x3c0ac8;};const _0x11742d=_0x3264fa;if(_0x11742d[_0x466d67(0x328)](!_0x548fde,!_0x3e6f54)){logger[_0x466d67(0x1f3)](_0x466d67(0x2ab)+_0x548fde+_0x466d67(0x22b)+_0x3e6f54);return;}if(this[_0x466d67(0x258)][_0x466d67(0x2a2)](_0x548fde)){const _0xa6d6c8=this[_0x466d67(0x258)][_0x466d67(0x259)](_0x548fde),_0x3ee0c5=_0xa6d6c8[_0x466d67(0x27b)](_0x323024=>_0x323024[_0x466d67(0x2d9)]===_0x3e6f54);_0x11742d[_0x466d67(0x308)](_0x3ee0c5,-0x1)?(_0xa6d6c8[_0x466d67(0x205)](_0x3ee0c5,0x1),logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x548fde+_0x466d67(0x22b)+_0x3e6f54+_0x466d67(0x2a1)+_0xa6d6c8[_0x466d67(0x24d)]),_0x11742d[_0x466d67(0x261)](_0xa6d6c8[_0x466d67(0x24d)],0x0)&&this['activeHooks'][_0x466d67(0x343)](_0x548fde)):logger[_0x466d67(0x2df)]('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x548fde+',\x20hookUUID='+_0x3e6f54);}}['getActiveHook'](_0x579310){const _0x175647=a71_0x53922f,_0x436cd4={};_0x436cd4[_0x175647(0x31e)]=function(_0x39bf2c,_0x39cbf9){return _0x39bf2c>_0x39cbf9;},_0x436cd4[_0x175647(0x2f6)]=function(_0x12f2f9,_0x20e07f){return _0x12f2f9-_0x20e07f;};const _0x1e874b=_0x436cd4;if(!_0x579310)return null;if(this['activeHooks'][_0x175647(0x2a2)](_0x579310)){const _0x35b1ab=this[_0x175647(0x258)]['get'](_0x579310);if(_0x1e874b[_0x175647(0x31e)](_0x35b1ab[_0x175647(0x24d)],0x0)){const _0x52681b=_0x35b1ab[_0x1e874b['zEJkv'](_0x35b1ab['length'],0x1)];return logger['debug'](_0x175647(0x1fb)+_0x579310+_0x175647(0x22b)+_0x52681b[_0x175647(0x2d9)]+_0x175647(0x35f)+_0x52681b['hookType']),_0x52681b;}}return null;}async[a71_0x53922f(0x231)](_0x9f92b9,_0x1442c0,_0x538169={}){const _0x344a9e=a71_0x53922f,_0x230e0f={};_0x230e0f[_0x344a9e(0x248)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x230e0f['JCPiQ']=function(_0x5a2dd2,_0x23c90b){return _0x5a2dd2===_0x23c90b;},_0x230e0f[_0x344a9e(0x36c)]=function(_0x4a6259,_0x5e905c){return _0x4a6259===_0x5e905c;},_0x230e0f[_0x344a9e(0x20b)]=function(_0x514c34,_0x5cecdc){return _0x514c34||_0x5cecdc;},_0x230e0f[_0x344a9e(0x357)]='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND';const _0x4c61df=_0x230e0f;logger[_0x344a9e(0x2df)](_0x344a9e(0x29f)+_0x9f92b9+_0x344a9e(0x367)+_0x1442c0+_0x344a9e(0x2ec)+Object[_0x344a9e(0x254)](_0x538169)[_0x344a9e(0x273)](',')),await super['trackEvent'](_0x9f92b9,_0x1442c0,_0x538169);const _0x3b0600=this[_0x344a9e(0x33d)](_0x9f92b9,_0x1442c0,_0x538169);if(!_0x3b0600){logger[_0x344a9e(0x2df)](_0x4c61df[_0x344a9e(0x248)]);return;}try{let _0x478068,_0x384f19,_0xa9173e;switch(_0x9f92b9){case TestFrameworkState[_0x344a9e(0x306)]:_0x478068=_0x538169['test'];const _0x5d3d3f={};_0x5d3d3f[_0x344a9e(0x36a)]=0x2,_0x5d3d3f[_0x344a9e(0x1e9)]=0x3,logger[_0x344a9e(0x2df)](_0x344a9e(0x37b)+_0x1442c0+',\x20testData='+util[_0x344a9e(0x315)](_0x478068,_0x5d3d3f)),_0xa9173e=this['getJestTestIdentifier'](_0x478068),_0x384f19=null,logger['debug'](_0x344a9e(0x2de)+_0xa9173e+_0x344a9e(0x26f));if(_0x4c61df[_0x344a9e(0x257)](_0x1442c0,HookState[_0x344a9e(0x2e1)])){logger[_0x344a9e(0x2df)](_0x344a9e(0x2f5)+_0xa9173e);const _0x363955={};_0x363955[_0x344a9e(0x2c7)]=_0x384f19,_0x363955[_0x344a9e(0x25a)]=_0x478068,_0x363955[_0x344a9e(0x25b)]=_0xa9173e;const _0xeab2dc=this[_0x344a9e(0x295)](_0x363955),_0x21cc55={};_0x21cc55[_0x344a9e(0x36a)]=0x2,_0x21cc55[_0x344a9e(0x1e9)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util[_0x344a9e(0x315)](_0xeab2dc,_0x21cc55)),_0x3b0600['addMultipleEntries'](_0xeab2dc),logger[_0x344a9e(0x2df)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0xa9173e),await this[_0x344a9e(0x349)](_0x3b0600,_0xa9173e);}else{if(_0x4c61df[_0x344a9e(0x36c)](_0x1442c0,HookState[_0x344a9e(0x2af)])){logger[_0x344a9e(0x2df)](_0x344a9e(0x373)+_0xa9173e);const _0x1efe28=_0x3b0600[_0x344a9e(0x219)]()[_0x344a9e(0x259)](_0xa9173e);logger[_0x344a9e(0x2df)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20'+util[_0x344a9e(0x315)](Object[_0x344a9e(0x254)](_0x4c61df[_0x344a9e(0x20b)](_0x1efe28,{}))));_0x1efe28&&_0x1efe28[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x344a9e(0x2df)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x344a9e(0x254)](_0x1efe28[TestFrameworkConstants[_0x344a9e(0x366)]])['length']+_0x344a9e(0x21f)):logger['debug'](_0x4c61df[_0x344a9e(0x357)]);const _0x338688=_0x538169[_0x344a9e(0x297)]||null,_0x5a77bd={};_0x5a77bd[_0x344a9e(0x2c7)]=_0x384f19,_0x5a77bd['testData']=_0x478068,_0x5a77bd[_0x344a9e(0x25b)]=_0xa9173e,_0x5a77bd[_0x344a9e(0x297)]=_0x338688;const _0x209760=this[_0x344a9e(0x2e5)](_0x5a77bd),_0x208fe2={};_0x208fe2['depth']=0x2,_0x208fe2['maxArrayLength']=0x3,logger['debug'](_0x344a9e(0x232)+util[_0x344a9e(0x315)](_0x209760,_0x208fe2)),_0x3b0600[_0x344a9e(0x2bf)](_0x209760),logger[_0x344a9e(0x2df)](_0x344a9e(0x336)+_0xa9173e),await this[_0x344a9e(0x349)](_0x3b0600,_0xa9173e);}}break;case TestFrameworkState[_0x344a9e(0x2e0)]:if(_0x4c61df[_0x344a9e(0x257)](_0x1442c0,HookState[_0x344a9e(0x2af)])){const _0x350109={};_0x350109[_0x344a9e(0x36a)]=0x2,logger['debug'](_0x344a9e(0x1ed)+util[_0x344a9e(0x315)](_0x538169,_0x350109)),await this[_0x344a9e(0x374)](_0x3b0600,_0x9f92b9,_0x538169);}break;default:if(CLIUtils[_0x344a9e(0x2ad)](_0x9f92b9[_0x344a9e(0x351)]()[_0x344a9e(0x2c3)]('.')[0x1])){const _0x50a4bd={};_0x50a4bd['depth']=0x2,_0x50a4bd[_0x344a9e(0x1e9)]=0x3,logger[_0x344a9e(0x2df)](_0x344a9e(0x2e6)+_0x9f92b9+_0x344a9e(0x367)+_0x1442c0+_0x344a9e(0x285)+util[_0x344a9e(0x315)](_0x538169[_0x344a9e(0x1eb)],_0x50a4bd));const _0x772b9=await this['trackHookEvent'](_0x3b0600,_0x9f92b9,_0x1442c0,_0x538169),_0x46b177={};_0x46b177[_0x344a9e(0x36a)]=0x2,_0x46b177[_0x344a9e(0x1e9)]=0x3,logger[_0x344a9e(0x2df)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util['inspect'](_0x772b9,_0x46b177)),_0x3b0600[_0x344a9e(0x2bf)](_0x772b9);}else logger[_0x344a9e(0x2df)]('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x9f92b9+_0x344a9e(0x337)+_0x1442c0);break;}logger['debug'](_0x344a9e(0x240)+_0x9f92b9+_0x344a9e(0x367)+_0x1442c0);}catch(_0x29a22a){logger[_0x344a9e(0x378)](_0x344a9e(0x2ee)+_0x9f92b9+_0x344a9e(0x367)+_0x1442c0+_0x344a9e(0x350)+util[_0x344a9e(0x2cc)](_0x29a22a));}_0x538169[_0x344a9e(0x31b)]=_0x3b0600,await this[_0x344a9e(0x296)](_0x3b0600,_0x9f92b9,_0x1442c0,_0x538169);}[a71_0x53922f(0x2a3)](_0x8b75f3){const _0x5ec288=a71_0x53922f,_0x142847={};_0x142847['fTMdn']=_0x5ec288(0x372);const _0x1a45fb=_0x142847;if(_0x8b75f3&&(_0x8b75f3['id']||_0x8b75f3[_0x5ec288(0x207)])){const _0x1e20cf=_0x8b75f3['id']||_0x8b75f3[_0x5ec288(0x207)];return logger[_0x5ec288(0x2df)]('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x1e20cf+_0x5ec288(0x272)),_0x1e20cf;}return logger['debug'](_0x1a45fb['fTMdn']),process[_0x5ec288(0x333)]+_0x5ec288(0x222);}[a71_0x53922f(0x33d)](_0x54174f,_0x32d426,_0x561e04={}){const _0x3ccd6c=a71_0x53922f;let _0xbcf2b=null;return _0xbcf2b=TestFramework[_0x3ccd6c(0x220)](),!_0xbcf2b?(logger[_0x3ccd6c(0x2df)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x54174f),this[_0x3ccd6c(0x36e)](_0x54174f,_0x561e04),_0xbcf2b=TestFramework[_0x3ccd6c(0x220)](),logger['debug'](_0x3ccd6c(0x32a)+!!_0xbcf2b+_0x3ccd6c(0x281)+_0xbcf2b?.[_0x3ccd6c(0x1fc)]()?.[_0x3ccd6c(0x2fa)]())):logger['debug'](_0x3ccd6c(0x359)+_0xbcf2b['getContext']()?.['getId']()),_0xbcf2b;}['trackJestInstance'](_0x2b581e,_0x40bff2){const _0x280694=a71_0x53922f,_0x432d8d={};_0x432d8d[_0x280694(0x1e6)]=_0x280694(0x321);const _0x1ae56e=_0x432d8d;if(TestFramework[_0x280694(0x220)]()){logger[_0x280694(0x2df)](_0x1ae56e[_0x280694(0x1e6)]);return;}const _0x40d2bb=CLIUtils[_0x280694(0x375)](),_0x109e5c=TrackedInstance[_0x280694(0x348)](_0x40d2bb);let _0x18c284=null;logger[_0x280694(0x2df)](_0x280694(0x379)+_0x40d2bb+',\x20state='+_0x2b581e),_0x18c284=new TestFrameworkInstance(_0x109e5c,this[_0x280694(0x331)](),this['getTestFrameworksVersions'](),_0x2b581e,HookState[_0x280694(0x2a7)]),TestFramework['setTrackedInstance'](_0x109e5c,_0x18c284),logger[_0x280694(0x2df)](_0x280694(0x31c)+_0x109e5c['getId']()+_0x280694(0x2a6)+_0x40d2bb+_0x280694(0x1fa)+this[_0x280694(0x331)]()[0x0]+_0x280694(0x2b5)+this[_0x280694(0x289)]()[this['getTestFrameworks']()[0x0]]);}['parseJestTest'](_0x5ee913){const _0x1251ad=a71_0x53922f,_0x3a5b04={};_0x3a5b04[_0x1251ad(0x312)]=function(_0x26da1b,_0x4c9844){return _0x26da1b||_0x4c9844;},_0x3a5b04[_0x1251ad(0x202)]=_0x1251ad(0x354);const _0x342fd7=_0x3a5b04,{testUUID:_0x372f0d,testData:_0x301731,testId:_0xf1dca1}=_0x5ee913;if(_0x342fd7[_0x1251ad(0x312)](!_0x301731,!_0xf1dca1))return logger['debug'](_0x342fd7['VsJKU']),{};const _0x1c01d9=this[_0x1251ad(0x331)]()[0x0],_0x40724f=this[_0x1251ad(0x289)](),_0x40a1f1={};_0x40a1f1[_0x1251ad(0x36a)]=0x2,_0x40a1f1[_0x1251ad(0x1e9)]=0x3,logger[_0x1251ad(0x2df)](_0x1251ad(0x250)+util[_0x1251ad(0x315)](_0x301731,_0x40a1f1));const _0x25b7df=_0x301731?.['scopes']||[],_0x52e182=this['getJestTestName'](_0x301731),_0x332adb=this[_0x1251ad(0x314)](_0x301731),_0x24c0ed=_0x301731['fn']?_0x301731['fn']['toString']():null,_0x305d9b=this[_0x1251ad(0x2ba)](_0x301731),_0x2e2f3d={[TestFrameworkConstants[_0x1251ad(0x20d)]]:_0x1c01d9,[TestFrameworkConstants[_0x1251ad(0x28f)]]:_0x40724f[_0x1c01d9],[TestFrameworkConstants[_0x1251ad(0x2a4)]]:[],[TestFrameworkConstants[_0x1251ad(0x1f6)]]:{},[TestFrameworkConstants[_0x1251ad(0x35a)]]:{},[TestFrameworkConstants[_0x1251ad(0x291)]]:TestFrameworkConstants[_0x1251ad(0x2a0)],[TestFrameworkConstants[_0x1251ad(0x2f0)]]:_0x52e182,[TestFrameworkConstants[_0x1251ad(0x2ca)]]:_0x332adb,[TestFrameworkConstants['KEY_TEST_ID']]:_0xf1dca1,[TestFrameworkConstants[_0x1251ad(0x253)]]:_0x52e182,[TestFrameworkConstants[_0x1251ad(0x2c4)]]:_0x332adb,[TestFrameworkConstants[_0x1251ad(0x2f9)]]:_0x24c0ed,[TestFrameworkConstants[_0x1251ad(0x282)]]:_0x305d9b,[TestFrameworkConstants[_0x1251ad(0x21d)]]:_0x301731[_0x1251ad(0x221)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x1251ad(0x25e)]]:_0x25b7df[0x0]||'',[TestFrameworkConstants[_0x1251ad(0x226)]]:_0x25b7df,[TestFrameworkConstants[_0x1251ad(0x344)]]:_0x52e182,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x1251ad(0x22a)]]:{}};_0x301731[_0x1251ad(0x2dc)]&&(_0x2e2f3d[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x301731[_0x1251ad(0x2dc)]);logger[_0x1251ad(0x2df)](_0x1251ad(0x1f0)+_0x52e182+_0x1251ad(0x23b)+_0xf1dca1+_0x1251ad(0x2a5)+JSON['stringify'](_0x305d9b)+_0x1251ad(0x274)+util[_0x1251ad(0x315)](_0x25b7df)+_0x1251ad(0x301)+_0x332adb);const _0x4d0a3d={};return _0x4d0a3d[_0xf1dca1]=_0x2e2f3d,_0x4d0a3d;}[a71_0x53922f(0x2e5)](_0x4957f1){const _0x56b4c9=a71_0x53922f,_0x495ad4={'vYrnN':function(_0x5c1cdc,_0x4edfad){return _0x5c1cdc===_0x4edfad;},'bjVJv':_0x56b4c9(0x30f),'ARRzK':function(_0x600a7a,_0xf8e53){return _0x600a7a===_0xf8e53;},'jCYds':_0x56b4c9(0x2b4),'GZudo':'ALL','gZiGc':_0x56b4c9(0x292),'aDLbD':function(_0x4d54d4,_0x71a128){return _0x4d54d4||_0x71a128;},'GhHYH':_0x56b4c9(0x2e4),'xNypq':_0x56b4c9(0x214),'pKDQm':function(_0x534431,_0x43f456){return _0x534431>_0x43f456;},'htepJ':_0x56b4c9(0x36d),'OEUab':_0x56b4c9(0x341),'fSSMu':_0x56b4c9(0x2cf),'Bkfce':_0x56b4c9(0x290),'nsYPu':function(_0x3dc657,_0x5c2682){return _0x3dc657===_0x5c2682;},'exzrZ':function(_0x4d31a9,_0x2b250d){return _0x4d31a9!==_0x2b250d;},'YIsXy':function(_0x2f40bd,_0x728c45,_0x4a4421,_0x4ec36b){return _0x2f40bd(_0x728c45,_0x4a4421,_0x4ec36b);},'MKCZG':_0x56b4c9(0x36f),'wvAdZ':function(_0x3a0192,_0x307c03){return _0x3a0192>_0x307c03;},'BOXkp':function(_0x3d65f3,_0x5b8171){return _0x3d65f3===_0x5b8171;}},{testUUID:_0x2e6430,testData:_0x3e366f,testId:_0x42d54e}=_0x4957f1;if(_0x495ad4[_0x56b4c9(0x369)](!_0x3e366f,!_0x42d54e))return logger[_0x56b4c9(0x2df)](_0x495ad4[_0x56b4c9(0x2e2)]),{};const _0x23287c=this[_0x56b4c9(0x33d)](TestFrameworkState[_0x56b4c9(0x306)],HookState[_0x56b4c9(0x2af)]),_0x187942=_0x23287c[_0x56b4c9(0x219)]()[_0x56b4c9(0x259)](_0x42d54e),_0x3b21e8=_0x495ad4['aDLbD'](_0x187942,{}),_0x49deba=_0x3b21e8?_0x3b21e8[TestFrameworkConstants[_0x56b4c9(0x2cb)]]||{}:{},_0x3d1754=_0x3b21e8[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x56b4c9(0x2df)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x3d1754?Object[_0x56b4c9(0x254)](_0x3d1754)['length']:0x0)+_0x56b4c9(0x24c));let _0x699df1=_0x495ad4[_0x56b4c9(0x23a)];if(_0x3e366f[_0x56b4c9(0x325)])_0x699df1=_0x3e366f[_0x56b4c9(0x325)];else{if(_0x3e366f[_0x56b4c9(0x279)]&&_0x495ad4[_0x56b4c9(0x25d)](_0x3e366f[_0x56b4c9(0x279)][_0x56b4c9(0x24d)],0x0))_0x699df1=_0x495ad4['htepJ'];else _0x495ad4['vYrnN'](_0x3e366f[_0x56b4c9(0x327)],_0x495ad4[_0x56b4c9(0x21c)])||_0x495ad4[_0x56b4c9(0x36b)](_0x3e366f['status'],_0x495ad4[_0x56b4c9(0x286)])?_0x699df1=_0x495ad4['fSSMu']:_0x699df1=_0x495ad4['Bkfce'];}const _0x2724f6={..._0x3b21e8,[TestFrameworkConstants[_0x56b4c9(0x291)]]:_0x699df1,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x3e366f[_0x56b4c9(0x304)]||new Date()[_0x56b4c9(0x29d)](),[TestFrameworkConstants[_0x56b4c9(0x298)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x56b4c9(0x2cb)]]:_0x49deba,[TestFrameworkConstants[_0x56b4c9(0x376)]]:[],[TestFrameworkConstants[_0x56b4c9(0x22a)]]:{}};if(_0x495ad4[_0x56b4c9(0x215)](_0x699df1,_0x495ad4[_0x56b4c9(0x238)])&&_0x3e366f[_0x56b4c9(0x279)]){const _0x3d1f3b=this[_0x56b4c9(0x340)](_0x3e366f),_0x59695b=this[_0x56b4c9(0x371)](_0x3e366f),_0x12f731=this[_0x56b4c9(0x28b)](_0x3e366f);_0x2724f6[TestFrameworkConstants[_0x56b4c9(0x2b6)]]=_0x59695b,_0x2724f6[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x3d1f3b,_0x2724f6[TestFrameworkConstants[_0x56b4c9(0x256)]]=_0x12f731;}_0x495ad4[_0x56b4c9(0x309)](_0x3e366f['duration'],undefined)&&(_0x2724f6[TestFrameworkConstants[_0x56b4c9(0x1f4)]]=_0x3e366f[_0x56b4c9(0x294)]);_0x3e366f['retryOf']&&(_0x2724f6[TestFrameworkConstants[_0x56b4c9(0x20a)]]=_0x3e366f[_0x56b4c9(0x2dc)]);const _0x332701=_0x187942?_0x187942[TestFrameworkConstants[_0x56b4c9(0x366)]]||{}:{},_0x48b480=_0x187942?_0x187942[TestFrameworkConstants[_0x56b4c9(0x317)]]:_0x2e6430,_0x2d8fb4=_0x495ad4[_0x56b4c9(0x235)](getManualUploadLogs,_0x332701,_0x48b480,_0x42d54e);if(_0x495ad4[_0x56b4c9(0x25d)](_0x2d8fb4[_0x56b4c9(0x24d)],0x0)){const _0x2ef67c=_0x2724f6[TestFrameworkConstants[_0x56b4c9(0x376)]]||[];_0x2724f6[TestFrameworkConstants[_0x56b4c9(0x376)]]=[..._0x2ef67c,..._0x2d8fb4];}const _0x2f55f8=_0x3b21e8[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x50486f=_0x3b21e8[TestFrameworkConstants[_0x56b4c9(0x35a)]]||{},_0x8ad57b={..._0x2f55f8},_0x4431b3=_0x8ad57b;Object['keys'](_0x50486f)['forEach'](_0x48abcb=>{const _0x2a4e72=_0x56b4c9;!_0x4431b3[_0x48abcb]&&(_0x4431b3[_0x48abcb]=[]);const _0x57c30e=new Set((_0x4431b3[_0x48abcb]||[])[_0x2a4e72(0x34e)](_0x59c736=>_0x59c736[TestFrameworkConstants[_0x2a4e72(0x358)]]||_0x59c736[_0x2a4e72(0x37d)]));(_0x50486f[_0x48abcb]||[])[_0x2a4e72(0x246)](_0x132d98=>{const _0x4a2597=_0x2a4e72,_0xc7e5da=_0x132d98[TestFrameworkConstants[_0x4a2597(0x358)]]||_0x132d98[_0x4a2597(0x37d)];if(!_0x57c30e[_0x4a2597(0x2a2)](_0xc7e5da)){const _0x336708={..._0x132d98},_0x4a1d6f=_0x336708;!_0x4a1d6f[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]&&!_0x4a1d6f['event_ended_at']&&(_0x4a1d6f[TestFrameworkConstants[_0x4a2597(0x21a)]]=new Date()[_0x4a2597(0x29d)]()),!_0x4a1d6f[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x4a1d6f[_0x4a2597(0x362)]&&(_0x4a1d6f[TestFrameworkConstants[_0x4a2597(0x34d)]]=TestFrameworkConstants[_0x4a2597(0x2d4)]),_0x4431b3[_0x48abcb][_0x4a2597(0x300)](_0x4a1d6f);}});});if(_0x4957f1[_0x56b4c9(0x297)]){this[_0x56b4c9(0x27d)](_0x4957f1['originalTest']);const _0x3d6fe2=this[_0x56b4c9(0x352)](_0x4957f1['originalTest']),_0x159803=this[_0x56b4c9(0x26a)](_0x4957f1[_0x56b4c9(0x297)]);_0x159803[_0x56b4c9(0x246)](_0x8b3e6d=>{const _0x31b496=_0x56b4c9,_0x3e58a7=_0x3d6fe2['get'](_0x8b3e6d);if(_0x3e58a7&&(_0x495ad4[_0x31b496(0x36b)](_0x3e58a7['type'],_0x495ad4[_0x31b496(0x1f9)])||_0x495ad4[_0x31b496(0x377)](_0x3e58a7[_0x31b496(0x35c)],_0x495ad4['jCYds']))){const _0x403a1e=_0x3e58a7['type'][_0x31b496(0x37c)]()['replace'](_0x495ad4[_0x31b496(0x329)],_0x495ad4[_0x31b496(0x28a)]),_0x3b2684=_0x403a1e;!_0x4431b3[_0x3b2684]&&(_0x4431b3[_0x3b2684]=[]);const _0x49ef9e=_0x4431b3[_0x3b2684][_0x31b496(0x33b)](_0x206fa0=>(_0x206fa0[TestFrameworkConstants[_0x31b496(0x358)]]||_0x206fa0[_0x31b496(0x37d)])===_0x8b3e6d);!_0x49ef9e&&_0x4431b3[_0x3b2684][_0x31b496(0x300)]({'key':_0x3b2684,[TestFrameworkConstants[_0x31b496(0x358)]]:_0x8b3e6d,[TestFrameworkConstants[_0x31b496(0x34d)]]:TestFrameworkConstants[_0x31b496(0x2d4)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x31b496(0x29d)](),[TestFrameworkConstants[_0x31b496(0x21a)]]:new Date()[_0x31b496(0x29d)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x3e58a7['name']||_0x3e58a7[_0x31b496(0x35c)]+_0x31b496(0x20c),[TestFrameworkConstants[_0x31b496(0x2cb)]]:_0x49deba});}});}if(_0x3e366f[_0x56b4c9(0x244)]&&_0x495ad4[_0x56b4c9(0x25d)](_0x3e366f['hooks']['length'],0x0))_0x2724f6[TestFrameworkConstants[_0x56b4c9(0x1f6)]]=_0x3e366f['hooks'],logger[_0x56b4c9(0x2df)](_0x495ad4[_0x56b4c9(0x23f)]);else _0x495ad4[_0x56b4c9(0x330)](Object['keys'](_0x4431b3)[_0x56b4c9(0x24d)],0x0)&&(_0x2724f6[TestFrameworkConstants[_0x56b4c9(0x1f6)]]=_0x4431b3,logger['debug']('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x56b4c9(0x254)](_0x4431b3)[_0x56b4c9(0x273)](',')));const _0x2a4869=this[_0x56b4c9(0x236)](_0x3e366f);logger[_0x56b4c9(0x2df)](_0x56b4c9(0x2c9)+_0x2a4869+_0x56b4c9(0x23b)+_0x42d54e+'\x20(testIdentifier),\x20result='+_0x699df1+',\x20duration='+_0x3e366f[_0x56b4c9(0x294)]);_0x495ad4[_0x56b4c9(0x2fe)](_0x699df1,_0x495ad4[_0x56b4c9(0x238)])&&logger[_0x56b4c9(0x2df)](_0x56b4c9(0x263)+_0x42d54e+_0x56b4c9(0x311)+_0x2724f6[TestFrameworkConstants[_0x56b4c9(0x2b6)]]+_0x56b4c9(0x23c)+_0x2724f6[TestFrameworkConstants[_0x56b4c9(0x2c0)]]?.[_0x56b4c9(0x278)](0x0,0xc8));const _0x4122b3={};return _0x4122b3[_0x42d54e]=_0x2724f6,_0x4122b3;}[a71_0x53922f(0x277)](_0x123dae){const _0x366885=a71_0x53922f,_0x3e190c={};_0x3e190c['RdXOR']=function(_0x5d8cb2,_0x25feba){return _0x5d8cb2!==_0x25feba;},_0x3e190c[_0x366885(0x1fe)]=_0x366885(0x22c);const _0x2453bf=_0x3e190c,_0x199398={};_0x199398[_0x366885(0x36a)]=0x2,_0x199398[_0x366885(0x1e9)]=0x3,logger['debug']('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util['inspect'](_0x123dae,_0x199398));const _0x5c17fe=[];if(_0x123dae&&_0x123dae['parent']){let _0x3c9f49=_0x123dae['parent'];while(_0x3c9f49&&_0x3c9f49[_0x366885(0x262)]&&_0x2453bf[_0x366885(0x2aa)](_0x3c9f49[_0x366885(0x262)],'')&&_0x2453bf['RdXOR'](_0x3c9f49[_0x366885(0x262)],_0x2453bf[_0x366885(0x1fe)])){_0x5c17fe[_0x366885(0x300)](_0x3c9f49[_0x366885(0x262)]),_0x3c9f49=_0x3c9f49['parent'];}}return _0x5c17fe['reverse']();}[a71_0x53922f(0x236)](_0x55579c){const _0x3a7b2d=a71_0x53922f,_0x551bbc={};_0x551bbc[_0x3a7b2d(0x2ef)]=_0x3a7b2d(0x29c);const _0x22f4af=_0x551bbc;if(_0x55579c[_0x3a7b2d(0x262)])return _0x55579c[_0x3a7b2d(0x262)];if(_0x55579c[_0x3a7b2d(0x25c)])return _0x55579c[_0x3a7b2d(0x25c)];return _0x22f4af['EOCnJ'];}[a71_0x53922f(0x2ba)](_0x2edf1f){const _0xb8fd25=a71_0x53922f,_0x1dc99f=[];if(_0x2edf1f[_0xb8fd25(0x356)]&&Array[_0xb8fd25(0x364)](_0x2edf1f[_0xb8fd25(0x356)]))return _0x2edf1f['tags'][_0xb8fd25(0x34e)](_0x4a54fa=>_0x4a54fa['startsWith']('@')?_0x4a54fa[_0xb8fd25(0x370)](0x1):_0x4a54fa);const _0x1c8a82=this[_0xb8fd25(0x236)](_0x2edf1f),_0x26ed82=_0x1c8a82[_0xb8fd25(0x2fb)](/@(\w+)/g);if(_0x26ed82)return _0x26ed82[_0xb8fd25(0x34e)](_0x344200=>_0x344200['slice'](0x1));return _0x2edf1f[_0xb8fd25(0x2ea)]&&Array[_0xb8fd25(0x364)](_0x2edf1f[_0xb8fd25(0x2ea)])&&_0x2edf1f[_0xb8fd25(0x2ea)][_0xb8fd25(0x246)](_0x38adcd=>{const _0x39dd2d=_0xb8fd25,_0x55a145=_0x38adcd[_0x39dd2d(0x2fb)](/@(\w+)/g);_0x55a145&&_0x55a145[_0x39dd2d(0x246)](_0x5abe31=>{const _0x12e506=_0x39dd2d,_0xb71d77=_0x5abe31['slice'](0x1);!_0x1dc99f['includes'](_0xb71d77)&&_0x1dc99f[_0x12e506(0x300)](_0xb71d77);});}),_0x1dc99f;}['getJestTestFilePath'](_0x13491a){const _0x5c4d75=a71_0x53922f,_0x5d44ef={'lsdtr':function(_0x165ca4,_0x13bf5a){return _0x165ca4(_0x13bf5a);},'ipmHd':'stack-trace'};if(_0x13491a[_0x5c4d75(0x223)])return _0x13491a[_0x5c4d75(0x223)];if(_0x13491a['asyncError']){const _0x5d4640=_0x5d44ef[_0x5c4d75(0x200)](require,_0x5d44ef[_0x5c4d75(0x302)]);try{const _0x296282=_0x5d4640[_0x5c4d75(0x1ee)](_0x13491a[_0x5c4d75(0x245)]);if(_0x296282[0x0]&&_0x296282[0x0][_0x5c4d75(0x2ac)])return _0x296282[0x0][_0x5c4d75(0x2ac)]();}catch(_0x51ee8e){logger[_0x5c4d75(0x2df)](_0x5c4d75(0x2a9)+util[_0x5c4d75(0x2cc)](_0x51ee8e));}}return null;}[a71_0x53922f(0x340)](_0x56b24b){const _0x14f742=a71_0x53922f,_0x3c410e={};_0x3c410e[_0x14f742(0x1f5)]=function(_0x59a048,_0x105f6b){return _0x59a048>_0x105f6b;},_0x3c410e[_0x14f742(0x227)]='Unknown\x20error';const _0x2b113e=_0x3c410e;if(_0x56b24b[_0x14f742(0x279)]&&_0x2b113e[_0x14f742(0x1f5)](_0x56b24b[_0x14f742(0x279)]['length'],0x0))return util['inspect'](_0x56b24b[_0x14f742(0x279)][0x0]);if(_0x56b24b[_0x14f742(0x2ce)])return _0x56b24b[_0x14f742(0x2ce)];return _0x2b113e[_0x14f742(0x227)];}[a71_0x53922f(0x371)](_0x59430f){const _0x6d447e=a71_0x53922f,_0x1a5fbf={};_0x1a5fbf[_0x6d447e(0x2d0)]=_0x6d447e(0x2da),_0x1a5fbf[_0x6d447e(0x24f)]=_0x6d447e(0x249),_0x1a5fbf['AedgL']=_0x6d447e(0x318);const _0x13ceec=_0x1a5fbf,_0x6b0150=this['getJestFailureReason'](_0x59430f);if(_0x6b0150&&_0x6b0150[_0x6d447e(0x27c)](_0x13ceec[_0x6d447e(0x2d0)]))return _0x13ceec['LXwow'];return _0x13ceec['AedgL'];}[a71_0x53922f(0x28b)](_0x4deef6){const _0x1629d3=a71_0x53922f,_0x3225e7={'RlzNG':function(_0x1b8fd2,_0x236bf7){return _0x1b8fd2(_0x236bf7);},'yYMRB':_0x1629d3(0x1f8),'CqOaz':function(_0x2b0fb9,_0x128b6b){return _0x2b0fb9!==_0x128b6b;},'zzGTN':_0x1629d3(0x1ec)},{failureData:_0x2513e7}=_0x3225e7[_0x1629d3(0x313)](require,_0x3225e7[_0x1629d3(0x211)]),_0x2e7dd9=[];return _0x3225e7[_0x1629d3(0x29a)](_0x4deef6['errorsDetailed'],undefined)&&_0x2e7dd9[_0x1629d3(0x300)](_0x4deef6[_0x1629d3(0x279)],_0x3225e7['zzGTN']),_0x2513e7['apply'](null,_0x2e7dd9);}async[a71_0x53922f(0x37a)](_0x31036d,_0x14d19f,_0x5a3915,_0x322704){const _0x2c5142=a71_0x53922f,_0x26fbd2={'Ciufl':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','uEBUa':function(_0x23f444){return _0x23f444();},'bvBdt':function(_0x57d446,_0x8064c6){return _0x57d446 in _0x8064c6;},'vfSba':function(_0x2eb1b0,_0x479c4b){return _0x2eb1b0 in _0x479c4b;},'YRMXy':function(_0x55e31e,_0x1306f8){return _0x55e31e===_0x1306f8;},'BjKph':function(_0x1cc6fb,_0x4c6f46){return _0x1cc6fb>_0x4c6f46;},'wtpky':_0x2c5142(0x36d),'ojJXm':'passed','bDPsn':function(_0x3884c6,_0x2a04bb){return _0x3884c6>_0x2a04bb;},'rXFMq':function(_0x3138ac,_0x2bdbbb){return _0x3138ac!==_0x2bdbbb;}},{hookData:_0x50bc67}=_0x322704,_0x14063f=_0x5a3915[_0x2c5142(0x351)](),_0x1b0337=_0x14d19f[_0x2c5142(0x351)](),_0x2ddfb3={};_0x2ddfb3[_0x2c5142(0x36a)]=0x2,_0x2ddfb3[_0x2c5142(0x1e9)]=0x3,logger[_0x2c5142(0x2df)](_0x2c5142(0x1e5)+_0x1b0337+_0x2c5142(0x367)+_0x14063f+_0x2c5142(0x285)+util['inspect'](_0x50bc67,_0x2ddfb3));if(!_0x50bc67)return logger[_0x2c5142(0x2df)](_0x26fbd2[_0x2c5142(0x2e8)]),{};const _0x560f4d=_0x50bc67[_0x2c5142(0x207)]||_0x50bc67[_0x2c5142(0x260)]||_0x26fbd2['uEBUa'](uuidv4),_0x2017ba=_0x50bc67[_0x2c5142(0x20e)]||this['getJestTestIdentifier'](_0x50bc67),_0x1a4099=_0x14d19f[_0x2c5142(0x351)]()['split']('.')[0x1],_0x352574=_0x31036d[_0x2c5142(0x219)]()['get'](_0x2017ba),_0x2da1f4=_0x352574?_0x352574[TestFrameworkConstants[_0x2c5142(0x2cb)]]||{}:{};logger['debug'](_0x2c5142(0x24a)+_0x560f4d+',\x20testId='+_0x2017ba+_0x2c5142(0x212)+_0x1a4099+_0x2c5142(0x367)+_0x14063f);if(!_0x352574)return logger[_0x2c5142(0x2df)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x2017ba+_0x2c5142(0x2f7)),this[_0x2c5142(0x25f)](_0x31036d,_0x2017ba,_0x14d19f,_0x5a3915,_0x322704),{};let _0x4708a8=_0x352574[TestFrameworkConstants[_0x2c5142(0x35a)]];!_0x4708a8&&(_0x4708a8={});!_0x26fbd2[_0x2c5142(0x310)](_0x1a4099,_0x4708a8)&&(_0x4708a8[_0x1a4099]=[]);let _0x4ee7de=_0x352574[TestFrameworkConstants[_0x2c5142(0x1f6)]];!_0x4ee7de&&(_0x4ee7de={});!_0x26fbd2[_0x2c5142(0x206)](_0x1a4099,_0x4ee7de)&&(_0x4ee7de[_0x1a4099]=[]);const _0x1d0d76={[TestFrameworkConstants[_0x2c5142(0x35a)]]:_0x4708a8,[TestFrameworkConstants[_0x2c5142(0x1f6)]]:_0x4ee7de},_0x5c7e91={};_0x5c7e91[_0x2017ba]=_0x1d0d76;const _0x2d5cf1=_0x5c7e91;if(_0x26fbd2[_0x2c5142(0x27f)](_0x5a3915,HookState[_0x2c5142(0x2e1)])){const _0x5ea863={'key':_0x1a4099,[TestFrameworkConstants[_0x2c5142(0x358)]]:_0x560f4d,[TestFrameworkConstants[_0x2c5142(0x34d)]]:TestFrameworkConstants[_0x2c5142(0x2d4)],[TestFrameworkConstants[_0x2c5142(0x22e)]]:_0x50bc67[_0x2c5142(0x221)]||new Date()[_0x2c5142(0x29d)](),[TestFrameworkConstants[_0x2c5142(0x2fc)]]:[],[TestFrameworkConstants[_0x2c5142(0x355)]]:_0x50bc67['name']||_0x50bc67['hook_type']||_0x1a4099,[TestFrameworkConstants[_0x2c5142(0x2cb)]]:_0x2da1f4};_0x4708a8[_0x1a4099][_0x2c5142(0x300)](_0x5ea863),_0x2d5cf1[_0x2017ba][TestFrameworkConstants[_0x2c5142(0x2c2)]]=_0x1a4099;const _0x2bcc4b={};_0x2bcc4b[_0x2c5142(0x36a)]=0x2,logger[_0x2c5142(0x2df)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x1a4099+_0x2c5142(0x293)+_0x560f4d+_0x2c5142(0x23b)+_0x2017ba+',\x20hook='+util[_0x2c5142(0x315)](_0x5ea863,_0x2bcc4b));}else{if(_0x26fbd2[_0x2c5142(0x27f)](_0x5a3915,HookState[_0x2c5142(0x2af)])){const _0x50123b=_0x50bc67['result']||(_0x50bc67['errorsDetailed']&&_0x26fbd2[_0x2c5142(0x2c8)](_0x50bc67['errorsDetailed'][_0x2c5142(0x24d)],0x0)?_0x26fbd2[_0x2c5142(0x2f8)]:_0x26fbd2[_0x2c5142(0x20f)]),_0x141e13=_0x4708a8[_0x1a4099]||[];logger[_0x2c5142(0x2df)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x1a4099+',\x20testId='+_0x2017ba+',\x20result='+_0x50123b+_0x2c5142(0x32c)+_0x141e13[_0x2c5142(0x24d)]);if(_0x26fbd2[_0x2c5142(0x320)](_0x141e13['length'],0x0)){const _0x5a0918=_0x141e13[_0x2c5142(0x1e8)]();_0x26fbd2[_0x2c5142(0x27f)](_0x50123b,_0x26fbd2[_0x2c5142(0x2f8)])&&_0x50bc67[_0x2c5142(0x279)]?(_0x5a0918[TestFrameworkConstants[_0x2c5142(0x363)]]=this[_0x2c5142(0x371)](_0x50bc67),_0x5a0918[TestFrameworkConstants[_0x2c5142(0x2b8)]]=this[_0x2c5142(0x340)](_0x50bc67),_0x5a0918[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this[_0x2c5142(0x28b)](_0x50bc67),logger[_0x2c5142(0x2df)](_0x2c5142(0x299)+_0x1a4099+',\x20failureType='+_0x5a0918[TestFrameworkConstants[_0x2c5142(0x363)]]+_0x2c5142(0x23c)+_0x5a0918[TestFrameworkConstants[_0x2c5142(0x2b8)]]?.[_0x2c5142(0x278)](0x0,0xc8))):_0x5a0918[TestFrameworkConstants[_0x2c5142(0x34d)]]=_0x26fbd2[_0x2c5142(0x20f)];_0x26fbd2['rXFMq'](_0x50123b,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x5a0918[TestFrameworkConstants[_0x2c5142(0x34d)]]=_0x50123b);_0x5a0918[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x50bc67['finished_at']||new Date()[_0x2c5142(0x29d)](),_0x5a0918[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x2da1f4;const _0x2bc4a9=_0x5a0918[TestFrameworkConstants['KEY_HOOK_ID']];!_0x4ee7de[_0x1a4099]&&(_0x4ee7de[_0x1a4099]=[]);_0x4ee7de[_0x1a4099]['push'](_0x5a0918),_0x2d5cf1[_0x2017ba][TestFrameworkConstants[_0x2c5142(0x26b)]]=_0x1a4099;const _0x4ff2eb={};_0x4ff2eb[_0x2c5142(0x36a)]=0x2,logger[_0x2c5142(0x2df)](_0x2c5142(0x2a8)+_0x1a4099+_0x2c5142(0x293)+_0x2bc4a9+',\x20result='+_0x50123b+_0x2c5142(0x2dd)+util[_0x2c5142(0x315)](_0x5a0918,_0x4ff2eb));}}}const _0x57126c={};return _0x57126c['depth']=0x2,_0x57126c[_0x2c5142(0x1e9)]=0x3,logger['debug'](_0x2c5142(0x307)+(_0x50bc67[_0x2c5142(0x275)]||_0x1a4099)+_0x2c5142(0x293)+_0x560f4d+',\x20testId='+_0x2017ba+',\x20updates='+util[_0x2c5142(0x315)](_0x2d5cf1,_0x57126c)),_0x2d5cf1;}[a71_0x53922f(0x265)](_0x3fde2c){const _0x16fec8=a71_0x53922f,_0x28867c={};_0x28867c['godpw']=_0x16fec8(0x2bc);const _0x39d387=_0x28867c;try{const _0x1ffa79=_0x3fde2c[_0x16fec8(0x1ec)]?this[_0x16fec8(0x2a3)](_0x3fde2c[_0x16fec8(0x1ec)]):_0x3fde2c[_0x16fec8(0x1eb)]['test_run_id'],_0x3cc222=_0x3fde2c[_0x16fec8(0x31b)],_0x488bfd=_0x3cc222[_0x16fec8(0x1fc)](),_0x4b3ac5=_0x3cc222[_0x16fec8(0x219)]()[_0x16fec8(0x259)](_0x1ffa79);if(!_0x4b3ac5)return logger[_0x16fec8(0x2df)](_0x16fec8(0x33a)+_0x1ffa79),{};const {[TestFrameworkConstants[_0x16fec8(0x20d)]]:_0x36b3c6='',[TestFrameworkConstants[_0x16fec8(0x28f)]]:_0x10aced='',[TestFrameworkConstants[_0x16fec8(0x21d)]]:_0x2735da='',[TestFrameworkConstants[_0x16fec8(0x23e)]]:_0x52f9b9=''}=_0x4b3ac5,_0x271c5e=_0x3cc222[_0x16fec8(0x28c)]()[_0x16fec8(0x351)]()['split']('.')[0x1],_0x452acb=_0x3cc222[_0x16fec8(0x230)]()[_0x16fec8(0x351)]()[_0x16fec8(0x2c3)]('.')[0x1],_0x232299=global?.[_0x16fec8(0x33f)]?.[_0x16fec8(0x26c)]?.[_0x16fec8(0x216)],_0x565540=_0x3cc222[_0x16fec8(0x28e)](),_0x538d50=Buffer[_0x16fec8(0x280)](JSON['stringify'](_0x4b3ac5))[_0x16fec8(0x351)](_0x39d387[_0x16fec8(0x237)]),_0x5e9f96={'hash':_0x488bfd[_0x16fec8(0x2fa)](),'threadId':_0x488bfd['getThreadId']()[_0x16fec8(0x351)](),'processId':_0x488bfd[_0x16fec8(0x2c5)]()[_0x16fec8(0x351)]()},_0x1b4bd4={};_0x1b4bd4[_0x16fec8(0x24e)]=_0x232299,_0x1b4bd4[_0x16fec8(0x21b)]=_0x36b3c6,_0x1b4bd4['testFrameworkVersion']=_0x10aced,_0x1b4bd4[_0x16fec8(0x204)]=_0x271c5e,_0x1b4bd4['hookState']=_0x452acb,_0x1b4bd4['startedAt']=_0x2735da,_0x1b4bd4['endedAt']=_0x52f9b9,_0x1b4bd4['uuid']=_0x565540,_0x1b4bd4[_0x16fec8(0x324)]=_0x538d50,_0x1b4bd4[_0x16fec8(0x34c)]=_0x5e9f96,_0x1b4bd4[_0x16fec8(0x26e)]=_0x1ffa79;const _0x367920=_0x1b4bd4;return _0x367920;}catch(_0x6d0fd1){return logger[_0x16fec8(0x378)](_0x16fec8(0x2fd)+util[_0x16fec8(0x2cc)](_0x6d0fd1)),{};}}async[a71_0x53922f(0x374)](_0x247fbd,_0x56f5ac,_0x3de0b8){const _0xbfaad9=a71_0x53922f,_0x4d97f6={'VYmLu':function(_0xb5ccfb,_0x463d6c){return _0xb5ccfb+_0x463d6c;},'qnzfU':_0xbfaad9(0x2db),'Shjfe':_0xbfaad9(0x322),'Hcjbq':function(_0x2c2dc3,_0x3dfe2a){return _0x2c2dc3>_0x3dfe2a;},'QDVKK':function(_0x4017a3,_0x487dd3,_0x22f814,_0x179c43){return _0x4017a3(_0x487dd3,_0x22f814,_0x179c43);},'WCvPy':function(_0x559bb0,_0x15dad1){return _0x559bb0-_0x15dad1;},'GWZmv':function(_0x452073,_0x2a1e12){return _0x452073===_0x2a1e12;},'LwhEb':function(_0x51e594,_0x9e3c12){return _0x51e594/_0x9e3c12;},'SWnNc':function(_0x384d31,_0x44e3a0){return _0x384d31<_0x44e3a0;},'upHra':function(_0x4f062e,_0x274c92){return _0x4f062e*_0x274c92;},'eFhNl':function(_0x2f4ac5,_0x2b4437){return _0x2f4ac5+_0x2b4437;},'YkUPS':function(_0x38aa9d,_0x5f14ac){return _0x38aa9d+_0x5f14ac;}};try{const _0xf0607e=_0x3de0b8['testUUID']||_0x3de0b8[_0xbfaad9(0x25b)],_0x5b2afd=Array[_0xbfaad9(0x280)](_0x247fbd[_0xbfaad9(0x219)]()[_0xbfaad9(0x254)]()),_0x5f1f36=_0x247fbd[_0xbfaad9(0x219)]()[_0xbfaad9(0x259)](_0xf0607e);if(!_0x5f1f36){logger[_0xbfaad9(0x2df)](_0xbfaad9(0x2f4)+_0xf0607e);return;}const {[TestFrameworkConstants[_0xbfaad9(0x20d)]]:_0x441f93='',[TestFrameworkConstants[_0xbfaad9(0x28f)]]:_0x5e1ca6=''}=_0x5f1f36;let _0x2601ab=[];if(_0x5f1f36&&_0x5f1f36[TestFrameworkConstants[_0xbfaad9(0x376)]]&&Array[_0xbfaad9(0x364)](_0x5f1f36[TestFrameworkConstants['KEY_LOGS']])){_0x2601ab=_0x5f1f36[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0xbfaad9(0x2df)](_0xbfaad9(0x338)+_0x2601ab[_0xbfaad9(0x24d)]+_0xbfaad9(0x2d8)+_0xf0607e);const _0xaef8ac={[TestFrameworkConstants[_0xbfaad9(0x376)]]:[]},_0x2876a0={};_0x2876a0[_0xf0607e]=_0xaef8ac,_0x247fbd['addMultipleEntries'](_0x2876a0),logger[_0xbfaad9(0x2df)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0xf0607e);}else logger[_0xbfaad9(0x2df)](_0xbfaad9(0x22f)+_0xf0607e);logger[_0xbfaad9(0x2df)](_0xbfaad9(0x23d)+_0x2601ab[_0xbfaad9(0x24d)]+_0xbfaad9(0x271)+_0xf0607e);const _0x488b0a=_0x2601ab[_0xbfaad9(0x1e4)](_0x599cb8=>_0x599cb8['kind']===_0xbfaad9(0x1f1));_0x4d97f6[_0xbfaad9(0x2b2)](_0x488b0a['length'],0x0)&&(logger['debug'](_0xbfaad9(0x26d)+_0x488b0a[_0xbfaad9(0x24d)]+_0xbfaad9(0x241)+_0xf0607e),_0x488b0a[_0xbfaad9(0x246)]((_0x797224,_0x2ebf29)=>{const _0x5e1445=_0xbfaad9;logger['debug'](_0x5e1445(0x35e)+_0x4d97f6[_0x5e1445(0x2f3)](_0x2ebf29,0x1)+'/'+_0x488b0a['length']+_0x5e1445(0x345)+(_0x797224[_0x5e1445(0x26e)]||_0x4d97f6['qnzfU'])+',\x20test_run_uuid='+(_0x797224[_0x5e1445(0x2e9)]||_0x4d97f6[_0x5e1445(0x2be)])+_0x5e1445(0x2b7)+(_0x797224['hook_run_uuid']||_0x4d97f6[_0x5e1445(0x30e)])+',\x20messageLength='+(_0x797224[_0x5e1445(0x35b)]?.['length']||0x0));}));const _0x59473d=_0x5f1f36[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x4ef806=_0x4d97f6['QDVKK'](getMediaArtifactsLogs,_0x59473d,null,_0xf0607e),_0x2e81b3=(_0x2601ab||[])[_0xbfaad9(0x31a)](_0x4ef806||[]),_0x553dbe=_0x488b0a?.[_0xbfaad9(0x24d)]||0x0,_0x4965b5=_0x4d97f6[_0xbfaad9(0x252)](_0x2601ab?.[_0xbfaad9(0x24d)]||0x0,_0x553dbe);logger[_0xbfaad9(0x2df)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0xf0607e+_0xbfaad9(0x251)+_0x4965b5+_0xbfaad9(0x2b0)+_0x553dbe+',\x20attachmentLogs:\x20'+(_0x4ef806?.[_0xbfaad9(0x24d)]||0x0)+',\x20totalLogs:\x20'+_0x2e81b3[_0xbfaad9(0x24d)]);if(!_0x2e81b3||_0x4d97f6[_0xbfaad9(0x1e7)](_0x2e81b3['length'],0x0)){logger[_0xbfaad9(0x2df)](_0xbfaad9(0x33c)+_0xf0607e);return;}const _0xaa5391=0x28,_0x3fa752=Math[_0xbfaad9(0x2d1)](_0x4d97f6[_0xbfaad9(0x32b)](_0x2e81b3[_0xbfaad9(0x24d)],_0xaa5391));for(let _0x365cfe=0x0;_0x4d97f6[_0xbfaad9(0x347)](_0x365cfe,_0x3fa752);_0x365cfe++){const _0x43db1d=_0x4d97f6[_0xbfaad9(0x29e)](_0x365cfe,_0xaa5391),_0x25f731=_0x4d97f6[_0xbfaad9(0x1fd)](_0x43db1d,_0xaa5391),_0x48d446=_0x2e81b3[_0xbfaad9(0x35d)](_0x43db1d,_0x25f731),_0x5b0d7d=global?.[_0xbfaad9(0x33f)]?.[_0xbfaad9(0x26c)]?.[_0xbfaad9(0x216)]||0x0,_0x1e03df={'platformIndex':_0x5b0d7d,'logs':_0x48d446,'testFrameworkName':_0x441f93,'testFrameworkVersion':_0x5e1ca6,'testFrameworkState':_0x56f5ac['toString']()['split']('.')[0x1]},_0x2451ce={};_0x2451ce[_0xbfaad9(0x36a)]=0x3,_0x2451ce[_0xbfaad9(0x1e9)]=0x5,logger[_0xbfaad9(0x2df)](_0xbfaad9(0x266)+_0x4d97f6[_0xbfaad9(0x30a)](_0x365cfe,0x1)+'/'+_0x3fa752+_0xbfaad9(0x21e)+_0xf0607e+_0xbfaad9(0x217)+_0x48d446[_0xbfaad9(0x24d)]+_0xbfaad9(0x323)+_0x5b0d7d+_0xbfaad9(0x243)+util[_0xbfaad9(0x315)](_0x1e03df,_0x2451ce));const _0x10b21c=await GrpcClient['getInstance']()[_0xbfaad9(0x2d5)](_0x1e03df);logger[_0xbfaad9(0x2df)](_0xbfaad9(0x266)+_0x4d97f6[_0xbfaad9(0x30a)](_0x365cfe,0x1)+'/'+_0x3fa752+'\x20-\x20testId:\x20'+_0xf0607e+',\x20response='+util[_0xbfaad9(0x315)](_0x10b21c));}if(_0x4ef806&&_0x4d97f6[_0xbfaad9(0x2b2)](_0x4ef806[_0xbfaad9(0x24d)],0x0)&&_0x5f1f36[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x2ba41f={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0xcc4747={};_0xcc4747[_0xf0607e]=_0x2ba41f,_0x247fbd[_0xbfaad9(0x2bf)](_0xcc4747);}logger[_0xbfaad9(0x2df)](_0xbfaad9(0x2b9)+_0xf0607e+_0xbfaad9(0x287)+_0x3fa752);}catch(_0x2bfba3){logger[_0xbfaad9(0x378)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x3de0b8[_0xbfaad9(0x2c7)]||_0x3de0b8[_0xbfaad9(0x25b)])+_0xbfaad9(0x2d2)+util[_0xbfaad9(0x2cc)](_0x2bfba3));}}[a71_0x53922f(0x25f)](_0x450311,_0x129a7d,_0x332942,_0x30adb3,_0x437e1f){const _0x2bd9b4=a71_0x53922f,_0x3d4441={};_0x3d4441[_0x2bd9b4(0x270)]=function(_0x57b982,_0x492f10){return _0x57b982===_0x492f10;},_0x3d4441[_0x2bd9b4(0x2c1)]='beforeAll';const _0x74d56d=_0x3d4441,{hookData:_0x49c839}=_0x437e1f,_0x18624d={'testId':_0x129a7d,'testFrameworkState':_0x332942,'hookState':_0x30adb3,'args':_0x437e1f,'timestamp':new Date()[_0x2bd9b4(0x29d)]()};if(_0x74d56d[_0x2bd9b4(0x270)](_0x332942,TestFrameworkState[_0x2bd9b4(0x1ff)])&&_0x49c839){const _0x4fe731={};_0x4fe731[_0x2bd9b4(0x2d3)]=_0x49c839[_0x2bd9b4(0x223)]||_0x49c839['location'],_0x4fe731[_0x2bd9b4(0x2e3)]=_0x49c839[_0x2bd9b4(0x2e3)]||_0x49c839[_0x2bd9b4(0x2ea)]&&_0x49c839['scopes'][0x0]||'',_0x4fe731[_0x2bd9b4(0x326)]=_0x74d56d[_0x2bd9b4(0x2c1)],_0x18624d['hookMetadata']=_0x4fe731,logger[_0x2bd9b4(0x2df)](_0x2bd9b4(0x233)+_0x129a7d+_0x2bd9b4(0x229)+_0x18624d[_0x2bd9b4(0x242)][_0x2bd9b4(0x2d3)]+',\x20scope:\x20'+_0x18624d[_0x2bd9b4(0x242)][_0x2bd9b4(0x2e3)]);}_0x450311['addPendingHook'](_0x129a7d,_0x18624d),logger['debug'](_0x2bd9b4(0x2e7)+_0x129a7d+_0x2bd9b4(0x276)+_0x332942+_0x2bd9b4(0x316)+_0x30adb3);}async[a71_0x53922f(0x349)](_0x443204,_0x20933f){const _0x441061=a71_0x53922f,_0x2f037b={};_0x2f037b[_0x441061(0x209)]=function(_0x5ead38,_0x955fdc){return _0x5ead38>_0x955fdc;},_0x2f037b[_0x441061(0x234)]='[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',_0x2f037b[_0x441061(0x319)]=function(_0x36fd9e,_0x5348e8){return _0x36fd9e===_0x5348e8;},_0x2f037b[_0x441061(0x33e)]=function(_0x179200,_0xec29dd){return _0x179200===_0xec29dd;},_0x2f037b[_0x441061(0x1ef)]=function(_0x161a77,_0x37dd4e){return _0x161a77===_0x37dd4e;},_0x2f037b[_0x441061(0x346)]=function(_0x1a3428,_0x31af29){return _0x1a3428===_0x31af29;},_0x2f037b[_0x441061(0x22d)]=function(_0x21afff,_0x51cdce){return _0x21afff>_0x51cdce;},_0x2f037b[_0x441061(0x225)]=_0x441061(0x32f),_0x2f037b[_0x441061(0x2bb)]=_0x441061(0x342);const _0x26222f=_0x2f037b;if(_0x443204[_0x441061(0x2f1)](_0x20933f)){const _0x2034c1=_0x443204[_0x441061(0x2f2)](_0x20933f);logger[_0x441061(0x2df)](_0x441061(0x334)+_0x2034c1['length']+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x20933f);for(const _0x3063a8 of _0x2034c1){try{const _0x3d8aaa=await this[_0x441061(0x37a)](_0x443204,_0x3063a8['testFrameworkState'],_0x3063a8['hookState'],_0x3063a8[_0x441061(0x247)]);_0x3d8aaa&&_0x26222f[_0x441061(0x209)](Object[_0x441061(0x254)](_0x3d8aaa)[_0x441061(0x24d)],0x0)&&_0x443204['addMultipleEntries'](_0x3d8aaa),await this[_0x441061(0x296)](_0x443204,_0x3063a8[_0x441061(0x204)],_0x3063a8[_0x441061(0x32d)],_0x3063a8[_0x441061(0x247)]);}catch(_0x3cff55){logger[_0x441061(0x378)](_0x441061(0x228)+_0x20933f+',\x20error:\x20'+_0x3cff55);}}_0x443204[_0x441061(0x1f2)](_0x20933f),logger[_0x441061(0x2df)](_0x441061(0x34b)+_0x20933f);}const _0x30a213=_0x443204[_0x441061(0x219)]()[_0x441061(0x259)](_0x20933f);if(_0x30a213){const _0x2173be=_0x30a213[TestFrameworkConstants[_0x441061(0x2ca)]]||_0x30a213[TestFrameworkConstants[_0x441061(0x2c4)]],_0xc1cc72=_0x30a213[TestFrameworkConstants[_0x441061(0x25e)]]||_0x30a213[TestFrameworkConstants['KEY_TEST_SCOPES']]&&_0x30a213[TestFrameworkConstants[_0x441061(0x226)]][0x0]||'';logger[_0x441061(0x2df)](_0x26222f['hbaam']);const _0x57a055=_0x443204['getAllPendingHookTestIds']();for(const _0x390bde of _0x57a055){if(_0x26222f[_0x441061(0x319)](_0x390bde,_0x20933f))continue;if(_0x443204[_0x441061(0x2f1)](_0x390bde)){const _0x21d13a=_0x443204[_0x441061(0x2f2)](_0x390bde);for(const _0x50dd33 of _0x21d13a){if(_0x26222f[_0x441061(0x33e)](_0x50dd33[_0x441061(0x204)],TestFrameworkState['BEFORE_ALL'])&&_0x50dd33['hookMetadata']){const _0x533379=_0x50dd33[_0x441061(0x242)]['filePath'],_0xcf3dda=_0x50dd33[_0x441061(0x242)][_0x441061(0x2e3)];if(_0x26222f[_0x441061(0x1ef)](_0x533379,_0x2173be)&&_0x26222f[_0x441061(0x346)](_0xcf3dda,_0xc1cc72)){logger[_0x441061(0x2df)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x390bde+_0x441061(0x31f)+_0x20933f+_0x441061(0x229)+_0x533379+_0x441061(0x353)+_0xcf3dda);_0x50dd33['args']&&_0x50dd33[_0x441061(0x247)]['hookData']&&(_0x50dd33[_0x441061(0x247)]['hookData']['test_run_id']=_0x20933f,logger[_0x441061(0x2df)](_0x441061(0x218)+_0x390bde+_0x441061(0x32e)+_0x20933f));try{const _0x2ceae9=await this['trackHookEvent'](_0x443204,_0x50dd33[_0x441061(0x204)],_0x50dd33[_0x441061(0x32d)],_0x50dd33['args']);_0x2ceae9&&_0x26222f['KaixV'](Object['keys'](_0x2ceae9)['length'],0x0)&&_0x443204[_0x441061(0x2bf)](_0x2ceae9);await this[_0x441061(0x296)](_0x443204,_0x50dd33['testFrameworkState'],_0x50dd33[_0x441061(0x32d)],_0x50dd33[_0x441061(0x247)]);const _0x550580=_0x443204[_0x441061(0x2f2)](_0x390bde)[_0x441061(0x1e4)](_0x22b743=>_0x22b743!==_0x50dd33);if(_0x26222f[_0x441061(0x1ef)](_0x550580['length'],0x0))_0x443204[_0x441061(0x1f2)](_0x390bde);else{_0x443204[_0x441061(0x1f2)](_0x390bde);for(const _0x2d80aa of _0x550580){_0x443204[_0x441061(0x264)](_0x390bde,_0x2d80aa);}}logger['debug'](_0x26222f[_0x441061(0x225)]);}catch(_0x370e2b){logger[_0x441061(0x378)](_0x26222f['YTCom']);}}}}}}}}[a71_0x53922f(0x27d)](_0x17d052){const _0x4240a3=a71_0x53922f,_0x266232={'rPtkY':function(_0x49cb3b){return _0x49cb3b();}};if(!_0x17d052||!_0x17d052[_0x4240a3(0x29b)])return;_0x17d052['parent']['hooks']&&Array[_0x4240a3(0x364)](_0x17d052[_0x4240a3(0x29b)][_0x4240a3(0x244)])&&_0x17d052[_0x4240a3(0x29b)][_0x4240a3(0x244)][_0x4240a3(0x246)](_0xd46fff=>{const _0x2cfef9=_0x4240a3;!_0xd46fff['hookAnalyticsId']&&!_0xd46fff['hookUUID']&&(_0xd46fff['hookAnalyticsId']=_0x266232[_0x2cfef9(0x283)](uuidv4),_0xd46fff[_0x2cfef9(0x2d9)]=_0xd46fff['hookAnalyticsId'],logger['debug'](_0x2cfef9(0x24b)+_0xd46fff[_0x2cfef9(0x35c)]+',\x20hookUUID='+_0xd46fff['hookAnalyticsId']));}),this['mapTestHooks'](_0x17d052[_0x4240a3(0x29b)]);}['getHooksForTest'](_0x5c411f){const _0x4b4792=a71_0x53922f,_0x29bdb2={'GplEX':function(_0x45aa77,_0x53273f){return _0x45aa77(_0x53273f);}};if(!_0x5c411f||!_0x5c411f[_0x4b4792(0x29b)])return[];const _0x3d377f=[];return _0x5c411f[_0x4b4792(0x29b)][_0x4b4792(0x244)]&&Array[_0x4b4792(0x364)](_0x5c411f['parent'][_0x4b4792(0x244)])&&_0x5c411f[_0x4b4792(0x29b)][_0x4b4792(0x244)][_0x4b4792(0x246)](_0xa8e224=>{const _0x19bc42=_0x4b4792,_0x1d3eba=_0xa8e224[_0x19bc42(0x260)]||_0xa8e224[_0x19bc42(0x2d9)];_0x1d3eba&&!this['isJestInternalHook'](_0xa8e224)&&!_0x29bdb2[_0x19bc42(0x305)](isInternalHook,_0xa8e224['fn'])&&_0x3d377f[_0x19bc42(0x300)](_0x1d3eba);}),[..._0x3d377f,...this[_0x4b4792(0x26a)](_0x5c411f['parent'])];}[a71_0x53922f(0x352)](_0x294182){const _0x23f0e3=a71_0x53922f,_0x389cb6={'LqBAm':function(_0x75ea51,_0x4c3c1d){return _0x75ea51(_0x4c3c1d);},'psbHb':'unknown','Uoxgp':function(_0x1d332a,_0x4424f8){return _0x1d332a(_0x4424f8);}},_0x4780ec=new Map(),_0x325c9d=_0x50866e=>{const _0x441269=a71_0x1209,_0x8c6ea7={'aIkRn':function(_0x5a29eb,_0x86ea6c){const _0x4bf909=a71_0x1209;return _0x389cb6[_0x4bf909(0x27a)](_0x5a29eb,_0x86ea6c);},'TpKgB':_0x389cb6[_0x441269(0x2d7)]};if(!_0x50866e||!_0x50866e[_0x441269(0x29b)])return;_0x50866e[_0x441269(0x29b)]['hooks']&&Array['isArray'](_0x50866e[_0x441269(0x29b)][_0x441269(0x244)])&&_0x50866e[_0x441269(0x29b)][_0x441269(0x244)]['forEach'](_0x1b21d4=>{const _0x5d2ace=_0x441269,_0x5016cc=_0x1b21d4['hookAnalyticsId']||_0x1b21d4['hookUUID'];if(_0x5016cc&&!this[_0x5d2ace(0x239)](_0x1b21d4)&&!_0x8c6ea7[_0x5d2ace(0x2b3)](isInternalHook,_0x1b21d4['fn'])){const _0x590046={};_0x590046[_0x5d2ace(0x35c)]=_0x1b21d4[_0x5d2ace(0x35c)]||_0x8c6ea7[_0x5d2ace(0x360)],_0x590046[_0x5d2ace(0x262)]=_0x1b21d4['name']||'\x22'+_0x1b21d4[_0x5d2ace(0x35c)]+_0x5d2ace(0x201),_0x4780ec[_0x5d2ace(0x203)](_0x5016cc,_0x590046);}}),_0x389cb6[_0x441269(0x361)](_0x325c9d,_0x50866e[_0x441269(0x29b)]);};return _0x389cb6[_0x23f0e3(0x361)](_0x325c9d,_0x294182),_0x4780ec;}[a71_0x53922f(0x239)](_0x49810a){const _0x5a0d1d=a71_0x53922f,_0x3a6840={};_0x3a6840[_0x5a0d1d(0x30b)]=_0x5a0d1d(0x213),_0x3a6840[_0x5a0d1d(0x1f7)]=_0x5a0d1d(0x27e);const _0xd5ec4f=_0x3a6840;try{const _0x1217dc=this[_0x5a0d1d(0x30c)](_0x49810a);return _0x1217dc&&_0x1217dc[_0x5a0d1d(0x27c)](_0xd5ec4f['XMNhS']);}catch(_0x9051ce){logger[_0x5a0d1d(0x2df)](_0xd5ec4f['VzruM']);}return![];}[a71_0x53922f(0x30c)](_0x422727){const _0x53a37c=a71_0x53922f;if(_0x422727[_0x53a37c(0x245)])try{const _0x16c1b7=stackTrace['parse'](_0x422727[_0x53a37c(0x245)]);return _0x16c1b7[0x0]?_0x16c1b7[0x0][_0x53a37c(0x2ac)]():null;}catch(_0x5ae642){logger[_0x53a37c(0x2df)](_0x53a37c(0x303)+util[_0x53a37c(0x2cc)](_0x5ae642));}if(_0x422727[_0x53a37c(0x365)])return _0x422727[_0x53a37c(0x365)];return null;}}module[a71_0x53922f(0x210)]=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_0x350a9b=a72_0x2985;(function(_0x2750ff,_0x12d6f8){const _0x126f47=a72_0x2985,_0x7ce018=_0x2750ff();while(!![]){try{const _0x418212=parseInt(_0x126f47(0xa4))/0x1+-parseInt(_0x126f47(0xa5))/0x2+parseInt(_0x126f47(0xa9))/0x3+parseInt(_0x126f47(0xad))/0x4+parseInt(_0x126f47(0xae))/0x5+parseInt(_0x126f47(0xa2))/0x6*(-parseInt(_0x126f47(0x9e))/0x7)+-parseInt(_0x126f47(0x93))/0x8;if(_0x418212===_0x12d6f8)break;else _0x7ce018['push'](_0x7ce018['shift']());}catch(_0x5b7e7b){_0x7ce018['push'](_0x7ce018['shift']());}}}(a72_0x3d23,0xef457));const AutomationFramework=require(a72_0x350a9b(0x9c)),{createClassLogger}=require(a72_0x350a9b(0xa3)),AutomationFrameworkState=require(a72_0x350a9b(0x91)),CLIUtils=require(a72_0x350a9b(0xa7)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x350a9b(0x99)]=createClassLogger(a72_0x350a9b(0x97));constructor(_0x2269bf,_0x2dee3a){super(_0x2269bf,_0x2dee3a);}async[a72_0x350a9b(0x8f)](_0x1b16bb,_0x7cd3f6,_0x410067={}){const _0x411ea8=a72_0x350a9b,_0x4e8a00={};_0x4e8a00['dtbgb']=function(_0x55a58f,_0x148ce5){return _0x55a58f===_0x148ce5;};const _0x5cb9fa=_0x4e8a00;this['logger'][_0x411ea8(0x95)](_0x411ea8(0xa8)+_0x1b16bb+_0x411ea8(0xb2)+_0x7cd3f6),await super[_0x411ea8(0x8f)](_0x1b16bb,_0x7cd3f6,_0x410067);const _0x4ba688=this[_0x411ea8(0x90)](_0x1b16bb,_0x7cd3f6,_0x410067);if(_0x5cb9fa['dtbgb'](_0x4ba688,null))return;_0x410067['instance']=_0x4ba688,await this[_0x411ea8(0x8d)](_0x4ba688,_0x1b16bb,_0x7cd3f6,_0x410067);}[a72_0x350a9b(0x90)](_0x3a7079,_0x4eeda6,_0xedba92={}){const _0x723dd9=a72_0x350a9b,_0x47b308={};_0x47b308[_0x723dd9(0x9d)]=function(_0x1d1c6f,_0x4af0d3){return _0x1d1c6f===_0x4af0d3;};const _0x268d52=_0x47b308;let _0x3ed88f=null;return(_0x268d52[_0x723dd9(0x9d)](_0x3a7079,AutomationFrameworkState['CREATE'])||_0x268d52['GkDoT'](_0x3a7079,AutomationFrameworkState[_0x723dd9(0xb1)])&&(_0xedba92[_0x723dd9(0xa0)]&&_0xedba92[_0x723dd9(0xa0)]['params']&&_0xedba92[_0x723dd9(0xa0)][_0x723dd9(0x8e)][_0x723dd9(0xb3)])||_0x268d52[_0x723dd9(0x9d)](_0x3a7079,AutomationFrameworkState[_0x723dd9(0xa6)]))&&this[_0x723dd9(0x94)](_0x3a7079,_0xedba92),_0x3ed88f=AutomationFramework[_0x723dd9(0xaf)](),_0x3ed88f;}[a72_0x350a9b(0x94)](_0x18812f,_0x85a3c7){const _0x5014a7=a72_0x350a9b,_0x3922a6={};_0x3922a6[_0x5014a7(0x98)]='trackPlaywrightInstance:\x20instance\x20already\x20exists';const _0x19d9e9=_0x3922a6;if(AutomationFramework['getTrackedInstance']()){this[_0x5014a7(0x99)][_0x5014a7(0x9b)](_0x19d9e9[_0x5014a7(0x98)]);return;}const _0x6b6c9=CLIUtils[_0x5014a7(0x9f)](),_0x16ecaa=TrackedInstance[_0x5014a7(0x92)](_0x6b6c9);let _0x5bbb2d=null;this[_0x5014a7(0x99)][_0x5014a7(0x9b)](_0x5014a7(0xb4)+_0x6b6c9+_0x5014a7(0xac)+_0x18812f),_0x5bbb2d=new AutomationFrameworkInstance(_0x16ecaa,this[_0x5014a7(0xaa)](),this[_0x5014a7(0x9a)](),_0x18812f),AutomationFramework[_0x5014a7(0xa1)](_0x16ecaa,_0x5bbb2d),this[_0x5014a7(0x99)][_0x5014a7(0x9b)](_0x5014a7(0x96)+_0x16ecaa[_0x5014a7(0xab)]()+'\x20target='+_0x6b6c9);}}module[a72_0x350a9b(0xb0)]=PlaywrightAutomationFramework;function a72_0x2985(_0x4d03d1,_0x156e8e){const _0x3d2381=a72_0x3d23();return a72_0x2985=function(_0x298575,_0x407555){_0x298575=_0x298575-0x8d;let _0x77ec53=_0x3d2381[_0x298575];return _0x77ec53;},a72_0x2985(_0x4d03d1,_0x156e8e);}function a72_0x3d23(){const _0x4fc106=['3223480fsVeKk','getTrackedInstance','exports','PLAYWRIGHT_DISPATCH','\x20hookState=','bsParams','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','runHooks','params','trackEvent','resolveInstance','../state/automationFrameworkState.js','createContext','12852264vjfQcM','trackPlaywrightInstance','debug','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','PlaywrightAutomationFramework','UdXtu','logger','getAutomationFrameworkVersion','info','./automationFramework.js','GkDoT','202699KxfpLE','getCurrentInstanceName','message','setTrackedInstance','138XtKpbP','../../../helpers/classLogger.js','1518657GhMrHi','2163714xuFBnm','NONE','../cliUtils.js','trackEvent:\x20automationFrameworkState=','1941036anJXtP','getAutomationFrameworkName','getId',',\x20state=','6096364hfQIqL'];a72_0x3d23=function(){return _0x4fc106;};return a72_0x3d23();}
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;