browserstack-node-sdk 1.52.2 → 1.52.3

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 (193) 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 +4 -3
  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/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a75_0x42bb(_0x5ec1ee,_0x4c9d68){const _0x21885d=a75_0x2188();return a75_0x42bb=function(_0x42bb0e,_0x327303){_0x42bb0e=_0x42bb0e-0x6d;let _0x2fd112=_0x21885d[_0x42bb0e];return _0x2fd112;},a75_0x42bb(_0x5ec1ee,_0x4c9d68);}const a75_0x4f5235=a75_0x42bb;(function(_0x4f7517,_0x32309f){const _0x18d4d2=a75_0x42bb,_0xd701ec=_0x4f7517();while(!![]){try{const _0x573053=-parseInt(_0x18d4d2(0xc9))/0x1*(-parseInt(_0x18d4d2(0x16a))/0x2)+-parseInt(_0x18d4d2(0x1ab))/0x3*(parseInt(_0x18d4d2(0xbd))/0x4)+parseInt(_0x18d4d2(0x1e5))/0x5*(-parseInt(_0x18d4d2(0x7b))/0x6)+-parseInt(_0x18d4d2(0x1d8))/0x7+parseInt(_0x18d4d2(0xa8))/0x8*(parseInt(_0x18d4d2(0x180))/0x9)+-parseInt(_0x18d4d2(0x1d5))/0xa+-parseInt(_0x18d4d2(0x1c9))/0xb*(-parseInt(_0x18d4d2(0x15d))/0xc);if(_0x573053===_0x32309f)break;else _0xd701ec['push'](_0xd701ec['shift']());}catch(_0x26f6bd){_0xd701ec['push'](_0xd701ec['shift']());}}}(a75_0x2188,0xbc50a));const TestFramework=require(a75_0x4f5235(0x190)),TestFrameworkState=require(a75_0x4f5235(0xdb)),HookState=require(a75_0x4f5235(0xbc)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a75_0x4f5235(0xb5)),CLIUtils=require(a75_0x4f5235(0x6e)),TrackedInstance=require(a75_0x4f5235(0xd1)),TestFrameworkConstants=require(a75_0x4f5235(0x13f)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger(a75_0x4f5235(0x9b)),{v4:uuidv4}=require('uuid'),util=require('util'),TestInfo=require(a75_0x4f5235(0x17f)),GrpcClient=require(a75_0x4f5235(0x155)),stackTrace=require(a75_0x4f5235(0xcb));class JestTestFramework extends TestFramework{constructor(_0x499b91,_0x588862,_0x4aac14){const _0x7efbb6=a75_0x4f5235;super(_0x499b91,_0x588862,_0x4aac14),this[_0x7efbb6(0x111)]=new Map();}[a75_0x4f5235(0xcf)](_0x324374,_0x5006fd,_0x523556){const _0x5071d9=a75_0x4f5235,_0x30524e={};_0x30524e[_0x5071d9(0xd0)]=function(_0x3b3f56,_0x532ca0){return _0x3b3f56||_0x532ca0;};const _0x17e4ef=_0x30524e;if(_0x17e4ef['HJsbC'](!_0x324374,!_0x5006fd)){logger['warn'](_0x5071d9(0x93)+_0x324374+_0x5071d9(0xe7)+_0x5006fd);return;}!this[_0x5071d9(0x111)][_0x5071d9(0x148)](_0x324374)&&this[_0x5071d9(0x111)][_0x5071d9(0xb6)](_0x324374,[]);const _0x4e1c3b={'hookUUID':_0x5006fd,'hookType':_0x523556,'startedAt':new Date()['toISOString']()};this[_0x5071d9(0x111)][_0x5071d9(0xba)](_0x324374)['push'](_0x4e1c3b),logger[_0x5071d9(0x103)](_0x5071d9(0x175)+_0x324374+_0x5071d9(0xe7)+_0x5006fd+_0x5071d9(0x1b1)+_0x523556+_0x5071d9(0x12f)+this[_0x5071d9(0x111)]['get'](_0x324374)[_0x5071d9(0x138)]);}[a75_0x4f5235(0x1fc)](_0x36f3ad,_0x30ee5f){const _0xf0cb13=a75_0x4f5235,_0x12be6b={};_0x12be6b[_0xf0cb13(0x1e0)]=function(_0xbf0b6b,_0x3c18b7){return _0xbf0b6b||_0x3c18b7;},_0x12be6b['zCrVq']=function(_0x3f3b40,_0x36aa22){return _0x3f3b40!==_0x36aa22;},_0x12be6b[_0xf0cb13(0x1cc)]=function(_0x5a939d,_0x3eaa65){return _0x5a939d===_0x3eaa65;};const _0xe3dd21=_0x12be6b;if(_0xe3dd21[_0xf0cb13(0x1e0)](!_0x36f3ad,!_0x30ee5f)){logger['warn'](_0xf0cb13(0x10c)+_0x36f3ad+_0xf0cb13(0xe7)+_0x30ee5f);return;}if(this[_0xf0cb13(0x111)][_0xf0cb13(0x148)](_0x36f3ad)){const _0x17166d=this[_0xf0cb13(0x111)][_0xf0cb13(0xba)](_0x36f3ad),_0x5d3ade=_0x17166d['findIndex'](_0x44202a=>_0x44202a[_0xf0cb13(0x1e7)]===_0x30ee5f);_0xe3dd21[_0xf0cb13(0x150)](_0x5d3ade,-0x1)?(_0x17166d[_0xf0cb13(0x1c4)](_0x5d3ade,0x1),logger[_0xf0cb13(0x103)](_0xf0cb13(0xbe)+_0x36f3ad+_0xf0cb13(0xe7)+_0x30ee5f+',\x20remainingHooks='+_0x17166d['length']),_0xe3dd21[_0xf0cb13(0x1cc)](_0x17166d[_0xf0cb13(0x138)],0x0)&&this[_0xf0cb13(0x111)][_0xf0cb13(0x19a)](_0x36f3ad)):logger['debug'](_0xf0cb13(0x1d9)+_0x36f3ad+',\x20hookUUID='+_0x30ee5f);}}[a75_0x4f5235(0x129)](_0x26003e){const _0x323428=a75_0x4f5235,_0x2e78d3={};_0x2e78d3[_0x323428(0x10e)]=function(_0xf63820,_0x22db09){return _0xf63820>_0x22db09;},_0x2e78d3['VlkzT']=function(_0x3858b9,_0x3f19a3){return _0x3858b9-_0x3f19a3;};const _0x67f3a8=_0x2e78d3;if(!_0x26003e)return null;if(this[_0x323428(0x111)][_0x323428(0x148)](_0x26003e)){const _0x10f653=this[_0x323428(0x111)][_0x323428(0xba)](_0x26003e);if(_0x67f3a8[_0x323428(0x10e)](_0x10f653[_0x323428(0x138)],0x0)){const _0x56866a=_0x10f653[_0x67f3a8[_0x323428(0x1b2)](_0x10f653[_0x323428(0x138)],0x1)];return logger[_0x323428(0x103)](_0x323428(0x185)+_0x26003e+',\x20hookUUID='+_0x56866a[_0x323428(0x1e7)]+',\x20hookType='+_0x56866a[_0x323428(0xd2)]),_0x56866a;}}return null;}async[a75_0x4f5235(0x7d)](_0x489a82,_0x5374dd,_0x3ca2c3={}){const _0x2f0425=a75_0x4f5235,_0x449c3f={};_0x449c3f['ogtYO']=_0x2f0425(0x139),_0x449c3f[_0x2f0425(0x205)]=function(_0x595dfb,_0x585a04){return _0x595dfb===_0x585a04;},_0x449c3f[_0x2f0425(0xf0)]=function(_0x411317,_0x3a55a0){return _0x411317===_0x3a55a0;},_0x449c3f[_0x2f0425(0x132)]=function(_0x47b46b,_0x414831){return _0x47b46b||_0x414831;},_0x449c3f[_0x2f0425(0xe4)]=_0x2f0425(0xa6),_0x449c3f['LqaPD']=function(_0x28d786,_0x822c0a){return _0x28d786===_0x822c0a;};const _0x31e504=_0x449c3f;logger[_0x2f0425(0x103)](_0x2f0425(0x10a)+_0x489a82+_0x2f0425(0xb8)+_0x5374dd+',\x20argsKeys='+Object['keys'](_0x3ca2c3)['join'](',')),await super['trackEvent'](_0x489a82,_0x5374dd,_0x3ca2c3);const _0xf18f9b=this[_0x2f0425(0x9e)](_0x489a82,_0x5374dd,_0x3ca2c3);if(!_0xf18f9b){logger[_0x2f0425(0x103)](_0x31e504[_0x2f0425(0x78)]);return;}try{let _0x3143ec,_0x2e1d6b,_0x433b86;switch(_0x489a82){case TestFrameworkState[_0x2f0425(0x184)]:_0x3143ec=_0x3ca2c3[_0x2f0425(0xb7)];const _0x2ade32={};_0x2ade32[_0x2f0425(0xf5)]=0x2,_0x2ade32['maxArrayLength']=0x3,logger['debug'](_0x2f0425(0x9d)+_0x5374dd+_0x2f0425(0x1b6)+util['inspect'](_0x3143ec,_0x2ade32)),_0x433b86=this[_0x2f0425(0x6f)](_0x3143ec),_0x2e1d6b=null,logger[_0x2f0425(0x103)](_0x2f0425(0x199)+_0x433b86+_0x2f0425(0x86));if(_0x31e504['cDxKO'](_0x5374dd,HookState[_0x2f0425(0x1d7)])){logger[_0x2f0425(0x103)](_0x2f0425(0x74)+_0x433b86);const _0x1732b9={};_0x1732b9[_0x2f0425(0xa5)]=_0x2e1d6b,_0x1732b9['testData']=_0x3143ec,_0x1732b9[_0x2f0425(0x12c)]=_0x433b86;const _0x1075d3=this[_0x2f0425(0x137)](_0x1732b9),_0x48a61a={};_0x48a61a[_0x2f0425(0xf5)]=0x2,_0x48a61a[_0x2f0425(0x12d)]=0x3,logger['debug'](_0x2f0425(0xc7)+util[_0x2f0425(0x17d)](_0x1075d3,_0x48a61a)),_0xf18f9b[_0x2f0425(0x1ff)](_0x1075d3),logger[_0x2f0425(0x103)](_0x2f0425(0x1b9)+_0x433b86),await this[_0x2f0425(0x11d)](_0xf18f9b,_0x433b86);}else{if(_0x31e504['UVAdR'](_0x5374dd,HookState[_0x2f0425(0x12a)])){logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x433b86);const _0x5529e1=_0xf18f9b[_0x2f0425(0x19e)]()[_0x2f0425(0xba)](_0x433b86);logger[_0x2f0425(0x103)](_0x2f0425(0x203)+util['inspect'](Object[_0x2f0425(0x189)](_0x31e504[_0x2f0425(0x132)](_0x5529e1,{}))));_0x5529e1&&_0x5529e1[TestFrameworkConstants[_0x2f0425(0x176)]]?logger['debug'](_0x2f0425(0x128)+Object[_0x2f0425(0x189)](_0x5529e1[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x2f0425(0x138)]+_0x2f0425(0xb3)):logger[_0x2f0425(0x103)](_0x31e504['tEbSC']);const _0x42cfc6=_0x3ca2c3['originalTest']||null,_0x2f3502={};_0x2f3502['testUUID']=_0x2e1d6b,_0x2f3502[_0x2f0425(0x159)]=_0x3143ec,_0x2f3502['testId']=_0x433b86,_0x2f3502['originalTest']=_0x42cfc6;const _0x2e790d=this[_0x2f0425(0x158)](_0x2f3502),_0x312a99={};_0x312a99[_0x2f0425(0xf5)]=0x2,_0x312a99[_0x2f0425(0x12d)]=0x3,logger['debug'](_0x2f0425(0xa0)+util[_0x2f0425(0x17d)](_0x2e790d,_0x312a99)),_0xf18f9b[_0x2f0425(0x1ff)](_0x2e790d),logger[_0x2f0425(0x103)](_0x2f0425(0x15f)+_0x433b86),await this[_0x2f0425(0x11d)](_0xf18f9b,_0x433b86);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x31e504[_0x2f0425(0x186)](_0x5374dd,HookState['POST'])){const _0x145a2c={};_0x145a2c['depth']=0x2,logger[_0x2f0425(0x103)](_0x2f0425(0xaa)+util[_0x2f0425(0x17d)](_0x3ca2c3,_0x145a2c)),await this[_0x2f0425(0x1db)](_0xf18f9b,_0x489a82,_0x3ca2c3);}break;default:if(CLIUtils[_0x2f0425(0xff)](_0x489a82['toString']()[_0x2f0425(0x106)]('.')[0x1])){const _0x4e5e4c={};_0x4e5e4c[_0x2f0425(0xf5)]=0x2,_0x4e5e4c[_0x2f0425(0x12d)]=0x3,logger['debug'](_0x2f0425(0x14b)+_0x489a82+_0x2f0425(0xb8)+_0x5374dd+',\x20hookData='+util['inspect'](_0x3ca2c3[_0x2f0425(0x182)],_0x4e5e4c));const _0x53faf5=await this[_0x2f0425(0x146)](_0xf18f9b,_0x489a82,_0x5374dd,_0x3ca2c3),_0x2ba6a0={};_0x2ba6a0[_0x2f0425(0xf5)]=0x2,_0x2ba6a0[_0x2f0425(0x12d)]=0x3,logger[_0x2f0425(0x103)](_0x2f0425(0x183)+util[_0x2f0425(0x17d)](_0x53faf5,_0x2ba6a0)),_0xf18f9b[_0x2f0425(0x1ff)](_0x53faf5);}else logger[_0x2f0425(0x103)](_0x2f0425(0x1d0)+_0x489a82+_0x2f0425(0x152)+_0x5374dd);break;}logger['debug'](_0x2f0425(0x8a)+_0x489a82+',\x20hookState='+_0x5374dd);}catch(_0x31e22e){logger[_0x2f0425(0xb9)](_0x2f0425(0xb4)+_0x489a82+_0x2f0425(0xb8)+_0x5374dd+_0x2f0425(0x191)+util['format'](_0x31e22e));}_0x3ca2c3[_0x2f0425(0x144)]=_0xf18f9b,await this[_0x2f0425(0x1c7)](_0xf18f9b,_0x489a82,_0x5374dd,_0x3ca2c3);}[a75_0x4f5235(0x6f)](_0x9db89f){const _0x3453fb=a75_0x4f5235,_0x3fb791={};_0x3fb791[_0x3453fb(0xc1)]=_0x3453fb(0x115);const _0x12ab76=_0x3fb791;if(_0x9db89f&&(_0x9db89f['id']||_0x9db89f[_0x3453fb(0x140)])){const _0x50d4ca=_0x9db89f['id']||_0x9db89f['uuid'];return logger[_0x3453fb(0x103)]('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x50d4ca+'\x22\x20from\x20testData'),_0x50d4ca;}return logger[_0x3453fb(0x103)](_0x12ab76[_0x3453fb(0xc1)]),process['pid']+_0x3453fb(0x198);}[a75_0x4f5235(0x9e)](_0x5d5b8a,_0x40c7c8,_0x25a7d3={}){const _0x4dff3d=a75_0x4f5235;let _0x424f68=null;return _0x424f68=TestFramework[_0x4dff3d(0x1b4)](),!_0x424f68?(logger[_0x4dff3d(0x103)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x5d5b8a),this['trackJestInstance'](_0x5d5b8a,_0x25a7d3),_0x424f68=TestFramework[_0x4dff3d(0x1b4)](),logger[_0x4dff3d(0x103)](_0x4dff3d(0x7f)+!!_0x424f68+_0x4dff3d(0x8e)+_0x424f68?.['getContext']()?.[_0x4dff3d(0x11b)]())):logger[_0x4dff3d(0x103)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x424f68[_0x4dff3d(0x9f)]()?.[_0x4dff3d(0x11b)]()),_0x424f68;}[a75_0x4f5235(0x73)](_0x2e0c3f,_0x3972ab){const _0x23f3d5=a75_0x4f5235,_0x21a271={};_0x21a271[_0x23f3d5(0x71)]='trackJestInstance:\x20instance\x20already\x20exists';const _0xfd0370=_0x21a271;if(TestFramework[_0x23f3d5(0x1b4)]()){logger[_0x23f3d5(0x103)](_0xfd0370[_0x23f3d5(0x71)]);return;}const _0x3a5750=CLIUtils['getCurrentInstanceName'](),_0x534324=TrackedInstance[_0x23f3d5(0x166)](_0x3a5750);let _0x161112=null;logger[_0x23f3d5(0x103)](_0x23f3d5(0x197)+_0x3a5750+_0x23f3d5(0xe5)+_0x2e0c3f),_0x161112=new TestFrameworkInstance(_0x534324,this[_0x23f3d5(0x1a7)](),this[_0x23f3d5(0x12b)](),_0x2e0c3f,HookState[_0x23f3d5(0x1a8)]),TestFramework['setTrackedInstance'](_0x534324,_0x161112),logger[_0x23f3d5(0x103)](_0x23f3d5(0x1a1)+_0x534324[_0x23f3d5(0x11b)]()+_0x23f3d5(0xeb)+_0x3a5750+',\x20testFramework='+this[_0x23f3d5(0x1a7)]()[0x0]+_0x23f3d5(0x17b)+this[_0x23f3d5(0x12b)]()[this[_0x23f3d5(0x1a7)]()[0x0]]);}[a75_0x4f5235(0x137)](_0x194346){const _0x2b2625=a75_0x4f5235,_0x356f6b={};_0x356f6b[_0x2b2625(0x10b)]=function(_0xdfd3bd,_0x14358c){return _0xdfd3bd||_0x14358c;},_0x356f6b[_0x2b2625(0xa7)]=_0x2b2625(0xed);const _0x230674=_0x356f6b,{testUUID:_0x27c225,testData:_0x4966c0,testId:_0x8846b4}=_0x194346;if(_0x230674[_0x2b2625(0x10b)](!_0x4966c0,!_0x8846b4))return logger[_0x2b2625(0x103)](_0x230674[_0x2b2625(0xa7)]),{};const _0x188b63=this['getTestFrameworks']()[0x0],_0x24cd6e=this[_0x2b2625(0x12b)](),_0x35f6f9={};_0x35f6f9[_0x2b2625(0xf5)]=0x2,_0x35f6f9['maxArrayLength']=0x3,logger[_0x2b2625(0x103)](_0x2b2625(0x127)+util[_0x2b2625(0x17d)](_0x4966c0,_0x35f6f9));const _0x4d36fa=_0x4966c0?.['scopes']||[],_0x2c249c=this[_0x2b2625(0x164)](_0x4966c0),_0x133ba9=this['getJestTestFilePath'](_0x4966c0),_0x1a4c97=_0x4966c0['fn']?_0x4966c0['fn'][_0x2b2625(0x168)]():_0x4966c0?.[_0x2b2625(0x151)]?_0x4966c0[_0x2b2625(0x151)]['code'][_0x2b2625(0x168)]():null,_0x3970f6=this['getJestTestTags'](_0x4966c0),_0x438571={[TestFrameworkConstants[_0x2b2625(0xa9)]]:_0x188b63,[TestFrameworkConstants[_0x2b2625(0x142)]]:_0x24cd6e[_0x188b63],[TestFrameworkConstants[_0x2b2625(0x143)]]:[],[TestFrameworkConstants[_0x2b2625(0x117)]]:{},[TestFrameworkConstants[_0x2b2625(0x14f)]]:{},[TestFrameworkConstants[_0x2b2625(0x160)]]:TestFrameworkConstants[_0x2b2625(0x18b)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x2c249c,[TestFrameworkConstants[_0x2b2625(0x16d)]]:_0x133ba9,[TestFrameworkConstants[_0x2b2625(0xe2)]]:_0x8846b4,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x2c249c,[TestFrameworkConstants[_0x2b2625(0x1c1)]]:_0x133ba9,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x1a4c97,[TestFrameworkConstants[_0x2b2625(0x1a0)]]:_0x3970f6,[TestFrameworkConstants[_0x2b2625(0xdc)]]:_0x4966c0[_0x2b2625(0x10d)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x2b2625(0x201)]]:_0x4d36fa[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x4d36fa,[TestFrameworkConstants[_0x2b2625(0x196)]]:_0x2c249c,[TestFrameworkConstants[_0x2b2625(0x76)]]:{},[TestFrameworkConstants[_0x2b2625(0x200)]]:{}};_0x4966c0[_0x2b2625(0x133)]&&(_0x438571[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x4966c0[_0x2b2625(0x133)]);logger[_0x2b2625(0x103)](_0x2b2625(0x107)+_0x2c249c+',\x20testId='+_0x8846b4+'\x20(testIdentifier),\x20tags='+JSON['stringify'](_0x3970f6)+_0x2b2625(0x1c0)+util['inspect'](_0x4d36fa)+_0x2b2625(0xc3)+_0x133ba9);const _0xc8e9ab={};return _0xc8e9ab[_0x8846b4]=_0x438571,_0xc8e9ab;}[a75_0x4f5235(0x158)](_0xb5e40){const _0x3a9fce=a75_0x4f5235,_0x2861b7={'okCti':function(_0x2bf669,_0x2197b7){return _0x2bf669===_0x2197b7;},'LcESc':'afterAll','UNAWN':_0x3a9fce(0x1fd),'yTVfN':_0x3a9fce(0x1c5),'bcOcZ':_0x3a9fce(0xf1),'ZUmoY':function(_0x2213f9,_0x5b4cf4){return _0x2213f9||_0x5b4cf4;},'joiOm':_0x3a9fce(0x192),'RGwhv':_0x3a9fce(0xc5),'BhdLu':function(_0x4c7ede,_0x2b025e){return _0x4c7ede>_0x2b025e;},'FAmje':'failed','KLImv':'skip','RBiRF':function(_0xbe6262,_0x28976a){return _0xbe6262===_0x28976a;},'PofDv':_0x3a9fce(0x181),'hdBTj':_0x3a9fce(0xbf),'vnPSU':function(_0x4684c9,_0x221c9f){return _0x4684c9!==_0x221c9f;},'hpSuO':function(_0x3fd707,_0x4e070b,_0x5bb478,_0x1a08fa){return _0x3fd707(_0x4e070b,_0x5bb478,_0x1a08fa);},'njesu':_0x3a9fce(0x92),'AuCPe':function(_0x2e5add,_0x48aa1c){return _0x2e5add>_0x48aa1c;},'SCcvg':function(_0x33cb33,_0x1c1a14){return _0x33cb33===_0x1c1a14;}},{testUUID:_0x5c2a23,testData:_0x100ef0,testId:_0x213cc9}=_0xb5e40;if(_0x2861b7[_0x3a9fce(0x141)](!_0x100ef0,!_0x213cc9))return logger[_0x3a9fce(0x103)](_0x2861b7['joiOm']),{};const _0x54ba3f=this[_0x3a9fce(0x9e)](TestFrameworkState[_0x3a9fce(0x184)],HookState[_0x3a9fce(0x12a)]),_0x405832=_0x54ba3f['getAllData']()['get'](_0x213cc9),_0x52546f=_0x2861b7[_0x3a9fce(0x141)](_0x405832,{}),_0x2984c9=_0x52546f?_0x52546f[TestFrameworkConstants[_0x3a9fce(0x76)]]||{}:{},_0x37cd1d=_0x52546f[TestFrameworkConstants[_0x3a9fce(0x176)]];logger[_0x3a9fce(0x103)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x37cd1d?Object['keys'](_0x37cd1d)[_0x3a9fce(0x138)]:0x0)+_0x3a9fce(0x15e));let _0xc2b03b=_0x2861b7[_0x3a9fce(0x7e)];if(_0x100ef0[_0x3a9fce(0xa2)])_0xc2b03b=_0x100ef0[_0x3a9fce(0xa2)];else{if(_0x100ef0[_0x3a9fce(0x77)]&&_0x2861b7[_0x3a9fce(0x1e8)](_0x100ef0[_0x3a9fce(0x77)][_0x3a9fce(0x138)],0x0))_0xc2b03b=_0x2861b7['FAmje'];else _0x2861b7[_0x3a9fce(0x89)](_0x100ef0[_0x3a9fce(0x17e)],_0x2861b7[_0x3a9fce(0xd9)])||_0x2861b7[_0x3a9fce(0xea)](_0x100ef0[_0x3a9fce(0x17e)],_0x2861b7[_0x3a9fce(0x1dd)])?_0xc2b03b=_0x2861b7['PofDv']:_0xc2b03b=_0x2861b7['hdBTj'];}const _0x1c2055={..._0x52546f,[TestFrameworkConstants[_0x3a9fce(0x160)]]:_0xc2b03b,[TestFrameworkConstants[_0x3a9fce(0x13a)]]:_0x100ef0['finished_at']||new Date()[_0x3a9fce(0xd6)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x3a9fce(0xd6)](),[TestFrameworkConstants[_0x3a9fce(0x76)]]:_0x2984c9,[TestFrameworkConstants[_0x3a9fce(0xfd)]]:_0x52546f[TestFrameworkConstants[_0x3a9fce(0xfd)]]||[],[TestFrameworkConstants[_0x3a9fce(0x200)]]:{}};if(_0x2861b7['okCti'](_0xc2b03b,_0x2861b7['FAmje'])&&_0x100ef0['errorsDetailed']){const _0xe2af99=this[_0x3a9fce(0xb2)](_0x100ef0),_0x10f6a5=this['getJestFailureType'](_0x100ef0),_0x3d96b2=this[_0x3a9fce(0x1d6)](_0x100ef0);_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x14a)]]=_0x10f6a5,_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x1ca)]]=_0xe2af99,_0x1c2055[TestFrameworkConstants[_0x3a9fce(0xcc)]]=_0x3d96b2;}_0x2861b7[_0x3a9fce(0x157)](_0x100ef0[_0x3a9fce(0x18d)],undefined)&&(_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x134)]]=_0x100ef0[_0x3a9fce(0x18d)]);_0x100ef0['retryOf']&&(_0x1c2055[TestFrameworkConstants[_0x3a9fce(0xa3)]]=_0x100ef0[_0x3a9fce(0x133)]);const _0x167d68=_0x405832?_0x405832[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x3f7880=_0x405832?_0x405832[TestFrameworkConstants[_0x3a9fce(0x179)]]:_0x5c2a23,_0x1390a2=_0x2861b7[_0x3a9fce(0x8d)](getManualUploadLogs,_0x167d68,_0x3f7880,_0x213cc9);if(_0x2861b7[_0x3a9fce(0x1e8)](_0x1390a2['length'],0x0)){const _0x54e5d0=_0x1c2055[TestFrameworkConstants[_0x3a9fce(0xfd)]]||[];_0x1c2055[TestFrameworkConstants['KEY_LOGS']]=[..._0x54e5d0,..._0x1390a2];}const _0x1cb30b=_0x52546f[TestFrameworkConstants[_0x3a9fce(0x117)]]||{},_0x311331=_0x52546f[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x4ea69a={..._0x1cb30b},_0x3a7274=_0x4ea69a;Object[_0x3a9fce(0x189)](_0x311331)[_0x3a9fce(0x1f1)](_0x5830d5=>{const _0x712193=_0x3a9fce;!_0x3a7274[_0x5830d5]&&(_0x3a7274[_0x5830d5]=[]);const _0x4d774f=new Set((_0x3a7274[_0x5830d5]||[])['map'](_0x1cb698=>_0x1cb698[TestFrameworkConstants[_0x712193(0xfb)]]||_0x1cb698[_0x712193(0x1e3)]));(_0x311331[_0x5830d5]||[])[_0x712193(0x1f1)](_0x22265f=>{const _0x42b17f=_0x712193,_0x37e561=_0x22265f[TestFrameworkConstants[_0x42b17f(0xfb)]]||_0x22265f['hook_id'];if(!_0x4d774f[_0x42b17f(0x148)](_0x37e561)){const _0x1fea67={..._0x22265f},_0x262ccf=_0x1fea67;!_0x262ccf[TestFrameworkConstants[_0x42b17f(0x1d3)]]&&!_0x262ccf[_0x42b17f(0x1fb)]&&(_0x262ccf[TestFrameworkConstants[_0x42b17f(0x1d3)]]=new Date()['toISOString']()),!_0x262ccf[TestFrameworkConstants[_0x42b17f(0x11e)]]&&!_0x262ccf[_0x42b17f(0x18c)]&&(_0x262ccf[TestFrameworkConstants[_0x42b17f(0x11e)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x3a7274[_0x5830d5][_0x42b17f(0xa4)](_0x262ccf);}});});if(_0xb5e40[_0x3a9fce(0x135)]){this['mapTestHooks'](_0xb5e40[_0x3a9fce(0x135)]);const _0x1bc8ed=this['buildHookMapFromTest'](_0xb5e40[_0x3a9fce(0x135)]),_0x14b85e=this[_0x3a9fce(0x1c8)](_0xb5e40[_0x3a9fce(0x135)]);_0x14b85e[_0x3a9fce(0x1f1)](_0x105b86=>{const _0x3cf835=_0x3a9fce,_0x23a193=_0x1bc8ed[_0x3cf835(0xba)](_0x105b86);if(_0x23a193&&(_0x2861b7[_0x3cf835(0x89)](_0x23a193[_0x3cf835(0x145)],_0x2861b7[_0x3cf835(0x18f)])||_0x2861b7[_0x3cf835(0x89)](_0x23a193[_0x3cf835(0x145)],_0x2861b7['UNAWN']))){const _0x29f6a4=_0x23a193['type'][_0x3cf835(0x178)]()[_0x3cf835(0x108)](_0x2861b7[_0x3cf835(0x1b0)],_0x2861b7['bcOcZ']),_0x4c8975=_0x29f6a4;!_0x3a7274[_0x4c8975]&&(_0x3a7274[_0x4c8975]=[]);const _0x98ee88=_0x3a7274[_0x4c8975]['find'](_0x44f5c2=>(_0x44f5c2[TestFrameworkConstants[_0x3cf835(0xfb)]]||_0x44f5c2['hook_id'])===_0x105b86);!_0x98ee88&&_0x3a7274[_0x4c8975][_0x3cf835(0xa4)]({'key':_0x4c8975,[TestFrameworkConstants[_0x3cf835(0xfb)]]:_0x105b86,[TestFrameworkConstants[_0x3cf835(0x11e)]]:TestFrameworkConstants[_0x3cf835(0x1a5)],[TestFrameworkConstants[_0x3cf835(0x112)]]:new Date()[_0x3cf835(0xd6)](),[TestFrameworkConstants[_0x3cf835(0x1d3)]]:new Date()[_0x3cf835(0xd6)](),[TestFrameworkConstants[_0x3cf835(0x1b5)]]:[],[TestFrameworkConstants[_0x3cf835(0xcd)]]:_0x23a193[_0x3cf835(0x1ce)]||_0x23a193[_0x3cf835(0x145)]+_0x3cf835(0x85),[TestFrameworkConstants[_0x3cf835(0x76)]]:_0x2984c9});}});}if(_0x100ef0[_0x3a9fce(0xd7)]&&_0x2861b7['BhdLu'](_0x100ef0[_0x3a9fce(0xd7)][_0x3a9fce(0x138)],0x0))_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x117)]]=_0x100ef0[_0x3a9fce(0xd7)],logger[_0x3a9fce(0x103)](_0x2861b7['njesu']);else _0x2861b7[_0x3a9fce(0xe9)](Object[_0x3a9fce(0x189)](_0x3a7274)['length'],0x0)&&(_0x1c2055[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x3a7274,logger[_0x3a9fce(0x103)](_0x3a9fce(0x7c)+Object[_0x3a9fce(0x189)](_0x3a7274)['join'](',')));const _0x1ba467=this['getJestTestName'](_0x100ef0);logger['debug'](_0x3a9fce(0xda)+_0x1ba467+_0x3a9fce(0xe8)+_0x213cc9+_0x3a9fce(0xd4)+_0xc2b03b+_0x3a9fce(0x120)+_0x100ef0[_0x3a9fce(0x18d)]);_0x2861b7[_0x3a9fce(0x1a9)](_0xc2b03b,_0x2861b7['FAmje'])&&logger[_0x3a9fce(0x103)](_0x3a9fce(0x18e)+_0x213cc9+',\x20failureType='+_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x14a)]]+_0x3a9fce(0x136)+_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x1ca)]]?.[_0x3a9fce(0x1bf)](0x0,0xc8));const _0xe7f171={};return _0xe7f171[_0x213cc9]=_0x1c2055,_0xe7f171;}[a75_0x4f5235(0x1bc)](_0x48fc05){const _0x39f7d4=a75_0x4f5235,_0x1e1f9c={};_0x1e1f9c[_0x39f7d4(0x9c)]=function(_0x34b74c,_0x20b968){return _0x34b74c!==_0x20b968;},_0x1e1f9c[_0x39f7d4(0x14c)]=function(_0x464f90,_0x1038ca){return _0x464f90!==_0x1038ca;},_0x1e1f9c[_0x39f7d4(0x163)]=_0x39f7d4(0x70);const _0x894dc7=_0x1e1f9c,_0x4d0467={};_0x4d0467[_0x39f7d4(0xf5)]=0x2,_0x4d0467[_0x39f7d4(0x12d)]=0x3,logger[_0x39f7d4(0x103)](_0x39f7d4(0x1ed)+util['inspect'](_0x48fc05,_0x4d0467));const _0x3e0346=[];if(_0x48fc05&&_0x48fc05['parent']){let _0x4cf1dc=_0x48fc05[_0x39f7d4(0x11f)];while(_0x4cf1dc&&_0x4cf1dc[_0x39f7d4(0x1ce)]&&_0x894dc7[_0x39f7d4(0x9c)](_0x4cf1dc['name'],'')&&_0x894dc7[_0x39f7d4(0x14c)](_0x4cf1dc[_0x39f7d4(0x1ce)],_0x894dc7['cvEGi'])){_0x3e0346['push'](_0x4cf1dc[_0x39f7d4(0x1ce)]),_0x4cf1dc=_0x4cf1dc['parent'];}}return _0x3e0346[_0x39f7d4(0x83)]();}[a75_0x4f5235(0x164)](_0x26fdb9){const _0x40af1d=a75_0x4f5235,_0x177e83={};_0x177e83[_0x40af1d(0x72)]='Unknown\x20Test';const _0x30d92d=_0x177e83;if(_0x26fdb9[_0x40af1d(0x1ce)])return _0x26fdb9[_0x40af1d(0x1ce)];if(_0x26fdb9['title'])return _0x26fdb9[_0x40af1d(0x1a2)];return _0x30d92d[_0x40af1d(0x72)];}[a75_0x4f5235(0x1e1)](_0x1a7f3e){const _0xa37251=a75_0x4f5235,_0x47235d=[];if(_0x1a7f3e[_0xa37251(0x110)]&&Array['isArray'](_0x1a7f3e[_0xa37251(0x110)]))return _0x1a7f3e[_0xa37251(0x110)][_0xa37251(0x1ad)](_0x4d8f17=>_0x4d8f17[_0xa37251(0xdd)]('@')?_0x4d8f17['substr'](0x1):_0x4d8f17);const _0x2973f2=this['getJestTestName'](_0x1a7f3e),_0x595f3a=_0x2973f2[_0xa37251(0x13b)](/@(\w+)/g);if(_0x595f3a)return _0x595f3a[_0xa37251(0x1ad)](_0x8e0306=>_0x8e0306[_0xa37251(0x131)](0x1));return _0x1a7f3e[_0xa37251(0x90)]&&Array[_0xa37251(0x1a3)](_0x1a7f3e[_0xa37251(0x90)])&&_0x1a7f3e[_0xa37251(0x90)][_0xa37251(0x1f1)](_0x236af7=>{const _0x2e113e=_0xa37251,_0x158e76=_0x236af7[_0x2e113e(0x13b)](/@(\w+)/g);_0x158e76&&_0x158e76[_0x2e113e(0x1f1)](_0x1b6d16=>{const _0x52bab3=_0x2e113e,_0x195454=_0x1b6d16[_0x52bab3(0x131)](0x1);!_0x47235d[_0x52bab3(0x1aa)](_0x195454)&&_0x47235d['push'](_0x195454);});}),_0x47235d;}[a75_0x4f5235(0x1be)](_0x3cb57b){const _0x3aaa2d=a75_0x4f5235,_0x55baee={'XIEaO':function(_0x9545b0,_0x3d1734){return _0x9545b0(_0x3d1734);},'mgjQk':'stack-trace'};if(_0x3cb57b[_0x3aaa2d(0xe1)])return _0x3cb57b['file_name'];if(_0x3cb57b[_0x3aaa2d(0x1bb)]){const _0x5d2170=_0x55baee[_0x3aaa2d(0x13c)](require,_0x55baee[_0x3aaa2d(0x109)]);try{const _0x18d31a=_0x5d2170['parse'](_0x3cb57b[_0x3aaa2d(0x1bb)]);if(_0x18d31a[0x0]&&_0x18d31a[0x0][_0x3aaa2d(0x1cd)])return _0x18d31a[0x0][_0x3aaa2d(0x1cd)]();}catch(_0xc5cce2){logger['debug'](_0x3aaa2d(0x16c)+util[_0x3aaa2d(0x1ec)](_0xc5cce2));}}return null;}[a75_0x4f5235(0xb2)](_0x1fcadb){const _0xe04ad5=a75_0x4f5235,_0x21c6be={};_0x21c6be[_0xe04ad5(0x15b)]=function(_0x4de1cc,_0x27509f){return _0x4de1cc>_0x27509f;},_0x21c6be['LRQJg']=_0xe04ad5(0xac);const _0x2df049=_0x21c6be;if(_0x1fcadb[_0xe04ad5(0x77)]&&_0x2df049[_0xe04ad5(0x15b)](_0x1fcadb[_0xe04ad5(0x77)][_0xe04ad5(0x138)],0x0))return util[_0xe04ad5(0x17d)](_0x1fcadb[_0xe04ad5(0x77)][0x0]);if(_0x1fcadb[_0xe04ad5(0xfa)])return _0x1fcadb[_0xe04ad5(0xfa)];return _0x2df049[_0xe04ad5(0xf9)];}['getJestFailureType'](_0x520f59){const _0x3022e7=a75_0x4f5235,_0x27c81c={};_0x27c81c[_0x3022e7(0xfe)]=_0x3022e7(0xf3),_0x27c81c[_0x3022e7(0x16b)]=_0x3022e7(0xc6),_0x27c81c['rmESf']='UnhandledError';const _0x5a9278=_0x27c81c,_0x19dac5=this[_0x3022e7(0xb2)](_0x520f59);if(_0x19dac5&&_0x19dac5[_0x3022e7(0x1aa)](_0x5a9278[_0x3022e7(0xfe)]))return _0x5a9278['ZKqtL'];return _0x5a9278['rmESf'];}[a75_0x4f5235(0x1d6)](_0x27fb4){const _0xff6b24=a75_0x4f5235,_0x101a97={'ssBnf':function(_0x5e98bb,_0x557e7b){return _0x5e98bb(_0x557e7b);},'gOqzN':_0xff6b24(0x80),'NHBwi':function(_0x4d8cbe,_0x1b09f9){return _0x4d8cbe!==_0x1b09f9;},'xyXGW':_0xff6b24(0xb7)},{failureData:_0x560e2f}=_0x101a97[_0xff6b24(0xd8)](require,_0x101a97[_0xff6b24(0x1fe)]),_0x160ccb=[];return _0x101a97[_0xff6b24(0x156)](_0x27fb4['errorsDetailed'],undefined)&&_0x160ccb[_0xff6b24(0xa4)](_0x27fb4[_0xff6b24(0x77)],_0x101a97[_0xff6b24(0x172)]),_0x560e2f[_0xff6b24(0x1cf)](null,_0x160ccb);}async[a75_0x4f5235(0x146)](_0x815a09,_0x4bb7bd,_0x1c548e,_0x3cb96e){const _0x302200=a75_0x4f5235,_0x358800={'ojrMh':_0x302200(0x95),'PjxuQ':function(_0x3f69ee){return _0x3f69ee();},'mxyME':function(_0x514d74,_0x315f36){return _0x514d74 in _0x315f36;},'TIgbw':function(_0x2d6e09,_0x5cd561){return _0x2d6e09 in _0x5cd561;},'FaqbH':function(_0x3af63d,_0x54bcf9){return _0x3af63d===_0x54bcf9;},'KPSni':function(_0x388dd9,_0x130965){return _0x388dd9===_0x130965;},'xvinC':function(_0x1efc4f,_0x564d88){return _0x1efc4f>_0x564d88;},'OUnMO':_0x302200(0x149),'PJxDP':_0x302200(0xbf),'mhfnF':'[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','KWGbB':function(_0x3acc0c,_0x1e8985){return _0x3acc0c>_0x1e8985;},'bSNCW':function(_0x25aedf,_0x52ae39){return _0x25aedf===_0x52ae39;},'rajGX':function(_0x3fdba9,_0x52b1fc){return _0x3fdba9!==_0x52b1fc;}},{hookData:_0xa14902}=_0x3cb96e,_0x27981c=_0x1c548e[_0x302200(0x168)](),_0x525bff=_0x4bb7bd[_0x302200(0x168)](),_0x28c374={};_0x28c374['depth']=0x2,_0x28c374[_0x302200(0x12d)]=0x3,logger[_0x302200(0x103)](_0x302200(0x100)+_0x525bff+_0x302200(0xb8)+_0x27981c+_0x302200(0x17a)+util[_0x302200(0x17d)](_0xa14902,_0x28c374));if(!_0xa14902)return logger[_0x302200(0x103)](_0x358800[_0x302200(0x161)]),{};const _0x1ec9a8=_0xa14902[_0x302200(0x140)]||_0xa14902['hookAnalyticsId']||_0x358800['PjxuQ'](uuidv4),_0x307d10=_0xa14902['test_run_id']||this['getJestTestIdentifier'](_0xa14902),_0x542b42=_0x4bb7bd[_0x302200(0x168)]()['split']('.')[0x1],_0x27782d=_0x815a09[_0x302200(0x19e)]()[_0x302200(0xba)](_0x307d10),_0xc66db0=_0x27782d?_0x27782d[TestFrameworkConstants[_0x302200(0x76)]]||{}:{};logger[_0x302200(0x103)](_0x302200(0x8f)+_0x1ec9a8+_0x302200(0xe8)+_0x307d10+_0x302200(0x1af)+_0x542b42+_0x302200(0xb8)+_0x27981c);if(!_0x27782d)return logger[_0x302200(0x103)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x307d10+_0x302200(0x101)),this[_0x302200(0xab)](_0x815a09,_0x307d10,_0x4bb7bd,_0x1c548e,_0x3cb96e),{};let _0x4cb633=_0x27782d[TestFrameworkConstants[_0x302200(0x14f)]];!_0x4cb633&&(_0x4cb633={});!_0x358800[_0x302200(0x12e)](_0x542b42,_0x4cb633)&&(_0x4cb633[_0x542b42]=[]);let _0x199d27=_0x27782d[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x199d27&&(_0x199d27={});!_0x358800[_0x302200(0x1eb)](_0x542b42,_0x199d27)&&(_0x199d27[_0x542b42]=[]);const _0x54309f={[_0x307d10]:{[TestFrameworkConstants[_0x302200(0x14f)]]:_0x4cb633,[TestFrameworkConstants[_0x302200(0x117)]]:_0x199d27,[TestFrameworkConstants[_0x302200(0xa9)]]:this[_0x302200(0x1a7)]()[0x0]||'',[TestFrameworkConstants[_0x302200(0x142)]]:this[_0x302200(0x12b)]()[this['getTestFrameworks']()[0x0]]||''}};if(_0x358800[_0x302200(0x1c6)](_0x1c548e,HookState[_0x302200(0x1d7)])){const _0xc88518={'key':_0x542b42,[TestFrameworkConstants[_0x302200(0xfb)]]:_0x1ec9a8,[TestFrameworkConstants[_0x302200(0x11e)]]:TestFrameworkConstants[_0x302200(0x1a5)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0xa14902[_0x302200(0x10d)]||new Date()[_0x302200(0xd6)](),[TestFrameworkConstants[_0x302200(0x1b5)]]:[],[TestFrameworkConstants[_0x302200(0xcd)]]:_0xa14902[_0x302200(0x1ce)]||_0xa14902[_0x302200(0xc0)]||_0x542b42,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0xc66db0};_0x4cb633[_0x542b42]['push'](_0xc88518),_0x54309f[_0x307d10][TestFrameworkConstants[_0x302200(0x1ef)]]=_0x542b42;const _0x4fd901={};_0x4fd901[_0x302200(0xf5)]=0x2,logger[_0x302200(0x103)](_0x302200(0xd5)+_0x542b42+',\x20hookId='+_0x1ec9a8+_0x302200(0xe8)+_0x307d10+',\x20hook='+util[_0x302200(0x17d)](_0xc88518,_0x4fd901));}else{if(_0x358800[_0x302200(0x19b)](_0x1c548e,HookState[_0x302200(0x12a)])){const _0x2aea6b=_0xa14902[_0x302200(0xa2)]||(_0xa14902['errorsDetailed']&&_0x358800['xvinC'](_0xa14902[_0x302200(0x77)][_0x302200(0x138)],0x0)?_0x358800[_0x302200(0x1c2)]:_0x358800[_0x302200(0x1f7)]),_0x3709af=_0x4cb633[_0x542b42]||[];logger[_0x302200(0x103)](_0x302200(0x1bd)+_0x542b42+_0x302200(0xe8)+_0x307d10+_0x302200(0xde)+_0x2aea6b+_0x302200(0x1da)+_0x3709af['length']);if(_0x358800[_0x302200(0x19b)](_0x3709af[_0x302200(0x138)],0x0)&&_0x358800[_0x302200(0x1c6)](_0x4bb7bd,TestFrameworkState['BEFORE_ALL']))return logger[_0x302200(0x103)](_0x358800['mhfnF']),this[_0x302200(0xab)](_0x815a09,_0x307d10,_0x4bb7bd,_0x1c548e,_0x3cb96e),{};if(_0x358800[_0x302200(0x123)](_0x3709af['length'],0x0)){const _0x3198de=_0x3709af[_0x302200(0x170)]();_0x358800[_0x302200(0x1ba)](_0x2aea6b,_0x358800[_0x302200(0x1c2)])&&_0xa14902[_0x302200(0x77)]?(_0x3198de[TestFrameworkConstants[_0x302200(0x8c)]]=this['getJestFailureType'](_0xa14902),_0x3198de[TestFrameworkConstants[_0x302200(0x1f8)]]=this[_0x302200(0xb2)](_0xa14902),_0x3198de[TestFrameworkConstants[_0x302200(0xf7)]]=this[_0x302200(0x1d6)](_0xa14902),logger[_0x302200(0x103)](_0x302200(0x118)+_0x542b42+',\x20failureType='+_0x3198de[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]+_0x302200(0x136)+_0x3198de[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.['substring'](0x0,0xc8))):_0x3198de[TestFrameworkConstants[_0x302200(0x11e)]]=_0x358800[_0x302200(0x1f7)];_0x358800[_0x302200(0x124)](_0x2aea6b,TestFrameworkConstants[_0x302200(0x1a5)])&&(_0x3198de[TestFrameworkConstants[_0x302200(0x11e)]]=_0x2aea6b);_0x3198de[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0xa14902[_0x302200(0x162)]||new Date()[_0x302200(0xd6)](),_0x3198de[TestFrameworkConstants[_0x302200(0x76)]]=_0xc66db0;const _0x3de5f8=_0x3198de[TestFrameworkConstants[_0x302200(0xfb)]];!_0x199d27[_0x542b42]&&(_0x199d27[_0x542b42]=[]);_0x199d27[_0x542b42][_0x302200(0xa4)](_0x3198de),_0x54309f[_0x307d10][TestFrameworkConstants[_0x302200(0xfc)]]=_0x542b42;const _0x325047={};_0x325047[_0x302200(0xf5)]=0x2,logger['debug'](_0x302200(0x75)+_0x542b42+_0x302200(0x105)+_0x3de5f8+_0x302200(0xde)+_0x2aea6b+_0x302200(0xc8)+util[_0x302200(0x17d)](_0x3198de,_0x325047));}}}return _0x54309f;}[a75_0x4f5235(0xad)](_0x10cf2a){const _0x3b3897=a75_0x4f5235,_0x2a29e9={};_0x2a29e9[_0x3b3897(0x97)]=_0x3b3897(0xd3);const _0x29cedd=_0x2a29e9;try{const _0x483b68=_0x10cf2a[_0x3b3897(0xb7)]?this[_0x3b3897(0x6f)](_0x10cf2a[_0x3b3897(0xb7)]):_0x10cf2a[_0x3b3897(0x182)]['test_run_id'],_0x59f136=_0x10cf2a['instance'],_0x2cf173=_0x59f136[_0x3b3897(0x9f)](),_0x280697=_0x59f136[_0x3b3897(0x19e)]()[_0x3b3897(0xba)](_0x483b68);if(!_0x280697)return logger[_0x3b3897(0x103)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x483b68),{};const {[TestFrameworkConstants[_0x3b3897(0xa9)]]:_0x1bec50=this[_0x3b3897(0x1a7)]()[0x0]||'',[TestFrameworkConstants[_0x3b3897(0x142)]]:_0x6feb5d=this['getTestFrameworksVersions']()[this['getTestFrameworks']()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x42585f='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x54ba5b=''}=_0x280697,_0x1433da=_0x59f136[_0x3b3897(0x1b3)]()[_0x3b3897(0x168)]()[_0x3b3897(0x106)]('.')[0x1],_0x239477=_0x59f136[_0x3b3897(0x122)]()[_0x3b3897(0x168)]()[_0x3b3897(0x106)]('.')[0x1],_0x343afa=global?.[_0x3b3897(0x147)]?.[_0x3b3897(0x15c)]?.[_0x3b3897(0x153)]||global[_0x3b3897(0x1e2)]||0x0,_0x39bf59=_0x59f136[_0x3b3897(0x171)](),_0x10d2c3=Buffer[_0x3b3897(0xce)](JSON['stringify'](_0x280697))[_0x3b3897(0x168)](_0x29cedd[_0x3b3897(0x97)]),_0x3d1421={'hash':_0x2cf173[_0x3b3897(0x11b)](),'threadId':_0x2cf173[_0x3b3897(0x18a)]()[_0x3b3897(0x168)](),'processId':_0x2cf173[_0x3b3897(0x99)]()['toString']()},_0x1cd6a8={};_0x1cd6a8[_0x3b3897(0x1c3)]=_0x343afa,_0x1cd6a8[_0x3b3897(0xc4)]=_0x1bec50,_0x1cd6a8[_0x3b3897(0xc2)]=_0x6feb5d,_0x1cd6a8[_0x3b3897(0x1ae)]=_0x1433da,_0x1cd6a8[_0x3b3897(0xe6)]=_0x239477,_0x1cd6a8[_0x3b3897(0xe0)]=_0x42585f,_0x1cd6a8['endedAt']=_0x54ba5b,_0x1cd6a8[_0x3b3897(0x140)]=_0x39bf59,_0x1cd6a8[_0x3b3897(0x154)]=_0x10d2c3,_0x1cd6a8[_0x3b3897(0xec)]=_0x3d1421,_0x1cd6a8[_0x3b3897(0x188)]=_0x483b68;const _0x1cfac9=_0x1cd6a8;return _0x1cfac9;}catch(_0x2dfb25){return logger['error'](_0x3b3897(0x1f5)+util['format'](_0x2dfb25)),{};}}async['sendLogCreatedEvent'](_0x2f38fd,_0x3b2b8d,_0x1431eb){const _0xc12db3=a75_0x4f5235,_0x50dac8={'DrbLO':function(_0x5d2714,_0x14e580){return _0x5d2714+_0x14e580;},'Tszeh':_0xc12db3(0x9a),'OKVCq':'none','gJMwD':function(_0x251fa1,_0x28f4ed){return _0x251fa1>_0x28f4ed;},'rvFbK':function(_0x151106,_0x4beb0b,_0x5ca484,_0xdae6da){return _0x151106(_0x4beb0b,_0x5ca484,_0xdae6da);},'KoKCx':function(_0x1d3cfc,_0x527cb8){return _0x1d3cfc-_0x527cb8;},'KEWdA':function(_0x11bf28,_0x31f7d8){return _0x11bf28===_0x31f7d8;},'bUoZq':function(_0x1c75ee,_0x3eacc3){return _0x1c75ee/_0x3eacc3;},'GtJtw':function(_0x2b1cdc,_0x1dd40d){return _0x2b1cdc<_0x1dd40d;},'UutBi':function(_0x3d9e7,_0x376059){return _0x3d9e7*_0x376059;},'xJXFN':function(_0xe1fed4,_0x51b093){return _0xe1fed4>_0x51b093;}};try{const _0x62a8b3=_0x1431eb[_0xc12db3(0xa5)]||_0x1431eb['testId'],_0x5c15ff=Array[_0xc12db3(0xce)](_0x2f38fd[_0xc12db3(0x19e)]()[_0xc12db3(0x189)]()),_0x3fb8ab=_0x2f38fd[_0xc12db3(0x19e)]()[_0xc12db3(0xba)](_0x62a8b3);if(!_0x3fb8ab){logger[_0xc12db3(0x103)](_0xc12db3(0x16e)+_0x62a8b3);return;}const {[TestFrameworkConstants[_0xc12db3(0xa9)]]:_0x22c959='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1b4cdc=''}=_0x3fb8ab;let _0x190c5b=[];_0x3fb8ab&&_0x3fb8ab[TestFrameworkConstants[_0xc12db3(0xfd)]]&&Array[_0xc12db3(0x1a3)](_0x3fb8ab[TestFrameworkConstants[_0xc12db3(0xfd)]])?(_0x190c5b=_0x3fb8ab[TestFrameworkConstants['KEY_LOGS']]||[],logger['debug'](_0xc12db3(0x19c)+_0x190c5b['length']+_0xc12db3(0xaf)+_0x62a8b3),_0x2f38fd['addMultipleEntries']({[_0x62a8b3]:{[TestFrameworkConstants[_0xc12db3(0xfd)]]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0xc12db3(0x1a7)]()[0x0]||'',[TestFrameworkConstants[_0xc12db3(0x142)]]:this[_0xc12db3(0x12b)]()[this[_0xc12db3(0x1a7)]()[0x0]]||''}}),logger[_0xc12db3(0x103)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x62a8b3)):logger[_0xc12db3(0x103)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x62a8b3);logger[_0xc12db3(0x103)](_0xc12db3(0x1e4)+_0x190c5b['length']+'\x20for\x20testId:\x20'+_0x62a8b3);const _0x50cfc3=_0x190c5b[_0xc12db3(0x1f2)](_0xbd8737=>_0xbd8737[_0xc12db3(0x1f4)]===_0xc12db3(0x174));_0x50dac8[_0xc12db3(0x17c)](_0x50cfc3[_0xc12db3(0x138)],0x0)&&(logger[_0xc12db3(0x103)](_0xc12db3(0xb0)+_0x50cfc3[_0xc12db3(0x138)]+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x62a8b3),_0x50cfc3[_0xc12db3(0x1f1)]((_0x100773,_0x5ca4e2)=>{const _0x1e74b9=_0xc12db3;logger[_0x1e74b9(0x103)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x50dac8[_0x1e74b9(0x19d)](_0x5ca4e2,0x1)+'/'+_0x50cfc3[_0x1e74b9(0x138)]+_0x1e74b9(0x1ea)+(_0x100773['test_identifier']||_0x50dac8[_0x1e74b9(0xa1)])+',\x20test_run_uuid='+(_0x100773[_0x1e74b9(0x94)]||_0x50dac8['Tszeh'])+_0x1e74b9(0x1f0)+(_0x100773['hook_run_uuid']||_0x50dac8['OKVCq'])+_0x1e74b9(0x1b7)+(_0x100773[_0x1e74b9(0xe3)]?.['length']||0x0));}));const _0x56c5cb=_0x3fb8ab[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x536596=_0x50dac8[_0xc12db3(0x1a4)](getMediaArtifactsLogs,_0x56c5cb,null,_0x62a8b3),_0x20e393=(_0x190c5b||[])[_0xc12db3(0x169)](_0x536596||[]),_0x2bb12c=_0x50cfc3?.[_0xc12db3(0x138)]||0x0,_0x52221b=_0x50dac8[_0xc12db3(0xf8)](_0x190c5b?.['length']||0x0,_0x2bb12c);logger[_0xc12db3(0x103)](_0xc12db3(0xf2)+_0x62a8b3+_0xc12db3(0x13d)+_0x52221b+',\x20screenshotLogs:\x20'+_0x2bb12c+',\x20attachmentLogs:\x20'+(_0x536596?.[_0xc12db3(0x138)]||0x0)+_0xc12db3(0x125)+_0x20e393[_0xc12db3(0x138)]);if(!_0x20e393||_0x50dac8[_0xc12db3(0x16f)](_0x20e393['length'],0x0)){logger[_0xc12db3(0x103)](_0xc12db3(0xca)+_0x62a8b3);return;}const _0x5052d0=0x28,_0x391b3d=Math[_0xc12db3(0x1df)](_0x50dac8[_0xc12db3(0x14e)](_0x20e393[_0xc12db3(0x138)],_0x5052d0));for(let _0x46073d=0x0;_0x50dac8['GtJtw'](_0x46073d,_0x391b3d);_0x46073d++){const _0x278b22=_0x50dac8[_0xc12db3(0x1a6)](_0x46073d,_0x5052d0),_0x401ac3=_0x50dac8[_0xc12db3(0x19d)](_0x278b22,_0x5052d0),_0x5087a7=_0x20e393[_0xc12db3(0x131)](_0x278b22,_0x401ac3),_0x2c821f=global?.[_0xc12db3(0x6d)]??0x0,_0xe1d770={'platformIndex':_0x2c821f,'logs':_0x5087a7,'testFrameworkName':_0x22c959,'testFrameworkVersion':_0x1b4cdc,'testFrameworkState':_0x3b2b8d['toString']()[_0xc12db3(0x106)]('.')[0x1]},_0x44e91e={};_0x44e91e[_0xc12db3(0xf5)]=0x3,_0x44e91e['maxArrayLength']=0x5,logger[_0xc12db3(0x103)](_0xc12db3(0x10f)+_0x50dac8[_0xc12db3(0x19d)](_0x46073d,0x1)+'/'+_0x391b3d+'\x20-\x20testId:\x20'+_0x62a8b3+',\x20logsInBatch:\x20'+_0x5087a7[_0xc12db3(0x138)]+_0xc12db3(0x96)+_0x2c821f+',\x20payload:\x20'+util[_0xc12db3(0x17d)](_0xe1d770,_0x44e91e));const _0x5382ef=await GrpcClient[_0xc12db3(0x1f9)]()[_0xc12db3(0xae)](_0xe1d770);logger[_0xc12db3(0x103)](_0xc12db3(0x10f)+_0x50dac8[_0xc12db3(0x19d)](_0x46073d,0x1)+'/'+_0x391b3d+_0xc12db3(0x15a)+_0x62a8b3+_0xc12db3(0x1dc)+util['inspect'](_0x5382ef));}_0x536596&&_0x50dac8[_0xc12db3(0xb1)](_0x536596[_0xc12db3(0x138)],0x0)&&_0x3fb8ab[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x2f38fd[_0xc12db3(0x1ff)]({[_0x62a8b3]:{[TestFrameworkConstants[_0xc12db3(0x176)]]:{},[TestFrameworkConstants[_0xc12db3(0xa9)]]:this[_0xc12db3(0x1a7)]()[0x0]||'',[TestFrameworkConstants[_0xc12db3(0x142)]]:this['getTestFrameworksVersions']()[this[_0xc12db3(0x1a7)]()[0x0]]||''}}),logger[_0xc12db3(0x103)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x62a8b3+_0xc12db3(0x202)+_0x391b3d);}catch(_0x214bf3){logger[_0xc12db3(0xb9)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x1431eb[_0xc12db3(0xa5)]||_0x1431eb[_0xc12db3(0x12c)])+_0xc12db3(0x14d)+util[_0xc12db3(0x1ec)](_0x214bf3));}}[a75_0x4f5235(0xab)](_0xecb154,_0x30c51c,_0x1f90f7,_0x6d6bc,_0x4b288b){const _0x1c2799=a75_0x4f5235,_0x5d6eb0={};_0x5d6eb0['yxaxM']=function(_0x2e2a94,_0x4e170d){return _0x2e2a94===_0x4e170d;},_0x5d6eb0[_0x1c2799(0x104)]=_0x1c2799(0x1fd);const _0x414e71=_0x5d6eb0,{hookData:_0x215654}=_0x4b288b,_0x18ed06={'testId':_0x30c51c,'testFrameworkState':_0x1f90f7,'hookState':_0x6d6bc,'args':_0x4b288b,'timestamp':new Date()['toISOString']()};if(_0x414e71['yxaxM'](_0x1f90f7,TestFrameworkState[_0x1c2799(0x81)])&&_0x215654){const _0x4a5b6a={};_0x4a5b6a['filePath']=_0x215654['file_name']||_0x215654[_0x1c2799(0x13e)],_0x4a5b6a[_0x1c2799(0xf6)]=_0x215654['scope']||_0x215654['scopes']&&_0x215654[_0x1c2799(0x90)][0x0]||'',_0x4a5b6a[_0x1c2799(0xd2)]=_0x414e71[_0x1c2799(0x104)],_0x18ed06[_0x1c2799(0x193)]=_0x4a5b6a,logger[_0x1c2799(0x103)](_0x1c2799(0x116)+_0x30c51c+_0x1c2799(0xef)+_0x18ed06[_0x1c2799(0x193)][_0x1c2799(0x79)]+',\x20scope:\x20'+_0x18ed06['hookMetadata'][_0x1c2799(0xf6)]);}_0xecb154['addPendingHook'](_0x30c51c,_0x18ed06),logger[_0x1c2799(0x103)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x30c51c+_0x1c2799(0x1d1)+_0x1f90f7+_0x1c2799(0x84)+_0x6d6bc);}async[a75_0x4f5235(0x11d)](_0x9946c3,_0x1bb698){const _0x3522e9=a75_0x4f5235,_0x55569f={};_0x55569f[_0x3522e9(0x1e9)]=function(_0x30b065,_0x2e9055){return _0x30b065>_0x2e9055;},_0x55569f[_0x3522e9(0xbb)]=function(_0x3b4b5d,_0x5e85de){return _0x3b4b5d===_0x5e85de;},_0x55569f[_0x3522e9(0xf4)]=function(_0x2b22f6,_0x552da6){return _0x2b22f6===_0x552da6;},_0x55569f[_0x3522e9(0x82)]=function(_0x4c431a,_0xf2147a){return _0x4c431a===_0xf2147a;},_0x55569f[_0x3522e9(0x177)]=function(_0x2fad06,_0x489731){return _0x2fad06===_0x489731;},_0x55569f[_0x3522e9(0x11c)]=_0x3522e9(0xdf);const _0x2068f7=_0x55569f;if(_0x9946c3[_0x3522e9(0x121)](_0x1bb698)){const _0x2b0e01=_0x9946c3['getPendingHooks'](_0x1bb698);logger[_0x3522e9(0x103)](_0x3522e9(0x102)+_0x2b0e01[_0x3522e9(0x138)]+_0x3522e9(0x98)+_0x1bb698);for(const _0x3dbcb9 of _0x2b0e01){try{const _0x42b734=await this[_0x3522e9(0x146)](_0x9946c3,_0x3dbcb9[_0x3522e9(0x1ae)],_0x3dbcb9[_0x3522e9(0xe6)],_0x3dbcb9['args']);_0x42b734&&_0x2068f7[_0x3522e9(0x1e9)](Object[_0x3522e9(0x189)](_0x42b734)[_0x3522e9(0x138)],0x0)&&_0x9946c3[_0x3522e9(0x1ff)](_0x42b734),await this['runHooks'](_0x9946c3,_0x3dbcb9['testFrameworkState'],_0x3dbcb9[_0x3522e9(0xe6)],_0x3dbcb9[_0x3522e9(0x113)]);}catch(_0x1afff7){logger[_0x3522e9(0xb9)](_0x3522e9(0x8b)+_0x1bb698+_0x3522e9(0x14d)+_0x1afff7);}}_0x9946c3[_0x3522e9(0x167)](_0x1bb698),logger[_0x3522e9(0x103)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x1bb698);}const _0x4da01d=_0x9946c3['getAllData']()[_0x3522e9(0xba)](_0x1bb698);if(_0x4da01d){const _0x2a185c=_0x4da01d[TestFrameworkConstants[_0x3522e9(0x16d)]]||_0x4da01d[TestFrameworkConstants[_0x3522e9(0x1c1)]],_0xe9b1d8=_0x4da01d[TestFrameworkConstants[_0x3522e9(0x201)]]||_0x4da01d[TestFrameworkConstants['KEY_TEST_SCOPES']]&&_0x4da01d[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger['debug'](_0x3522e9(0x204)+_0x2a185c+_0x3522e9(0x87)+_0xe9b1d8);const _0x2331ae=_0x9946c3['getAllPendingHookTestIds']();for(const _0x26387b of _0x2331ae){if(_0x2068f7['BbSko'](_0x26387b,_0x1bb698))continue;if(_0x9946c3['hasPendingHooks'](_0x26387b)){const _0x2fee46=_0x9946c3[_0x3522e9(0x114)](_0x26387b);for(const _0x4e4734 of _0x2fee46){if(_0x2068f7[_0x3522e9(0xf4)](_0x4e4734[_0x3522e9(0x1ae)],TestFrameworkState[_0x3522e9(0x81)])&&_0x4e4734[_0x3522e9(0x193)]){const _0x1bcff7=_0x4e4734[_0x3522e9(0x193)]['filePath'],_0x55e22d=_0x4e4734['hookMetadata']['scope'];if(_0x2068f7[_0x3522e9(0x82)](_0x1bcff7,_0x2a185c)&&_0x2068f7['BbSko'](_0x55e22d,_0xe9b1d8)){logger[_0x3522e9(0x103)](_0x3522e9(0x91)+_0x26387b+_0x3522e9(0xee)+_0x1bb698+_0x3522e9(0xef)+_0x1bcff7+_0x3522e9(0x87)+_0x55e22d);_0x4e4734[_0x3522e9(0x113)]&&_0x4e4734['args'][_0x3522e9(0x182)]&&(_0x4e4734[_0x3522e9(0x113)]['hookData'][_0x3522e9(0x1f3)]=_0x1bb698,logger[_0x3522e9(0x103)](_0x3522e9(0x88)+_0x26387b+_0x3522e9(0x194)+_0x1bb698));try{const _0x3e9d7c=await this[_0x3522e9(0x146)](_0x9946c3,_0x4e4734[_0x3522e9(0x1ae)],_0x4e4734['hookState'],_0x4e4734['args']);_0x3e9d7c&&_0x2068f7[_0x3522e9(0x1e9)](Object['keys'](_0x3e9d7c)[_0x3522e9(0x138)],0x0)&&_0x9946c3[_0x3522e9(0x1ff)](_0x3e9d7c);await this[_0x3522e9(0x1c7)](_0x9946c3,_0x4e4734['testFrameworkState'],_0x4e4734[_0x3522e9(0xe6)],_0x4e4734[_0x3522e9(0x113)]);const _0x3a6269=_0x9946c3[_0x3522e9(0x114)](_0x26387b)['filter'](_0x4a465b=>_0x4a465b!==_0x4e4734);if(_0x2068f7['ogXXZ'](_0x3a6269[_0x3522e9(0x138)],0x0))_0x9946c3[_0x3522e9(0x167)](_0x26387b);else{_0x9946c3[_0x3522e9(0x167)](_0x26387b);for(const _0x5a2864 of _0x3a6269){_0x9946c3[_0x3522e9(0x126)](_0x26387b,_0x5a2864);}}logger[_0x3522e9(0x103)](_0x2068f7[_0x3522e9(0x11c)]);}catch(_0x2f0ea4){logger['error'](_0x3522e9(0x195)+_0x1bb698+_0x3522e9(0x14d)+_0x2f0ea4);}}}}}}}}[a75_0x4f5235(0x1d4)](_0x398caf){const _0x5ad411=a75_0x4f5235,_0x604d4d={'rpmVW':function(_0x385f01){return _0x385f01();}};if(!_0x398caf||!_0x398caf[_0x5ad411(0x11f)])return;_0x398caf[_0x5ad411(0x11f)][_0x5ad411(0xd7)]&&Array[_0x5ad411(0x1a3)](_0x398caf[_0x5ad411(0x11f)][_0x5ad411(0xd7)])&&_0x398caf['parent'][_0x5ad411(0xd7)][_0x5ad411(0x1f1)](_0x1390a4=>{const _0x4a37a5=_0x5ad411;!_0x1390a4[_0x4a37a5(0x19f)]&&!_0x1390a4[_0x4a37a5(0x1e7)]&&(_0x1390a4[_0x4a37a5(0x19f)]=_0x604d4d[_0x4a37a5(0x187)](uuidv4),_0x1390a4[_0x4a37a5(0x1e7)]=_0x1390a4[_0x4a37a5(0x19f)],logger[_0x4a37a5(0x103)](_0x4a37a5(0x7a)+_0x1390a4['type']+_0x4a37a5(0xe7)+_0x1390a4[_0x4a37a5(0x19f)]));}),this[_0x5ad411(0x1d4)](_0x398caf['parent']);}[a75_0x4f5235(0x1c8)](_0x44b265){const _0xb818cc=a75_0x4f5235,_0x50bf61={'qDHOo':function(_0x51a2f1,_0x4ea6d2){return _0x51a2f1(_0x4ea6d2);}};if(!_0x44b265||!_0x44b265['parent'])return[];const _0x707ff5=[];return _0x44b265['parent'][_0xb818cc(0xd7)]&&Array[_0xb818cc(0x1a3)](_0x44b265['parent'][_0xb818cc(0xd7)])&&_0x44b265[_0xb818cc(0x11f)][_0xb818cc(0xd7)][_0xb818cc(0x1f1)](_0x2347db=>{const _0x53af85=_0xb818cc,_0x229ad0=_0x2347db['hookAnalyticsId']||_0x2347db['hookUUID'];_0x229ad0&&!this[_0x53af85(0x11a)](_0x2347db)&&!_0x50bf61[_0x53af85(0x130)](isInternalHook,_0x2347db['fn'])&&_0x707ff5[_0x53af85(0xa4)](_0x229ad0);}),[..._0x707ff5,...this[_0xb818cc(0x1c8)](_0x44b265[_0xb818cc(0x11f)])];}[a75_0x4f5235(0x165)](_0x261e57){const _0x25f730=a75_0x4f5235,_0x448039={'LyBSM':function(_0xb84886,_0x2e24b5){return _0xb84886(_0x2e24b5);},'CPNWc':_0x25f730(0xc5),'ZuVno':function(_0x16c901,_0x5c1e4b){return _0x16c901(_0x5c1e4b);},'ZfEVp':function(_0x2907d5,_0x2da1da){return _0x2907d5(_0x2da1da);}},_0x56dec7=new Map(),_0x1e36fc=_0x400bac=>{const _0x21ba52=_0x25f730;if(!_0x400bac||!_0x400bac[_0x21ba52(0x11f)])return;_0x400bac[_0x21ba52(0x11f)][_0x21ba52(0xd7)]&&Array['isArray'](_0x400bac[_0x21ba52(0x11f)][_0x21ba52(0xd7)])&&_0x400bac['parent'][_0x21ba52(0xd7)][_0x21ba52(0x1f1)](_0x5d3222=>{const _0x2959ba=_0x21ba52,_0x1763ca=_0x5d3222[_0x2959ba(0x19f)]||_0x5d3222[_0x2959ba(0x1e7)];if(_0x1763ca&&!this['isJestInternalHook'](_0x5d3222)&&!_0x448039[_0x2959ba(0x1e6)](isInternalHook,_0x5d3222['fn'])){const _0x2751c2={};_0x2751c2[_0x2959ba(0x145)]=_0x5d3222['type']||_0x448039['CPNWc'],_0x2751c2[_0x2959ba(0x1ce)]=_0x5d3222[_0x2959ba(0x1ce)]||'\x22'+_0x5d3222[_0x2959ba(0x145)]+_0x2959ba(0x173),_0x56dec7[_0x2959ba(0xb6)](_0x1763ca,_0x2751c2);}}),_0x448039[_0x21ba52(0x1de)](_0x1e36fc,_0x400bac[_0x21ba52(0x11f)]);};return _0x448039[_0x25f730(0x1b8)](_0x1e36fc,_0x261e57),_0x56dec7;}[a75_0x4f5235(0x11a)](_0x83d425){const _0xef681=a75_0x4f5235,_0x5db889={};_0x5db889[_0xef681(0x1d2)]='jest-circus',_0x5db889[_0xef681(0x1ee)]=_0xef681(0x1cb);const _0x1ef3c2=_0x5db889;try{const _0xfcda70=this[_0xef681(0x1fa)](_0x83d425);return _0xfcda70&&_0xfcda70[_0xef681(0x1aa)](_0x1ef3c2['zMMmw']);}catch(_0x1ef184){logger[_0xef681(0x103)](_0x1ef3c2[_0xef681(0x1ee)]);}return![];}['getRootParentFile'](_0x53fb75){const _0x22546e=a75_0x4f5235;if(_0x53fb75[_0x22546e(0x1bb)])try{const _0x5ddc82=stackTrace[_0x22546e(0x1f6)](_0x53fb75[_0x22546e(0x1bb)]);return _0x5ddc82[0x0]?_0x5ddc82[0x0]['getFileName']():null;}catch(_0xf43c66){logger[_0x22546e(0x103)](_0x22546e(0x1ac)+util['format'](_0xf43c66));}if(_0x53fb75[_0x22546e(0x119)])return _0x53fb75[_0x22546e(0x119)];return null;}}module['exports']=JestTestFramework;function a75_0x2188(){const _0x472b19=['KEY_TEST_ENDED_AT','match','XIEaO',',\x20consoleLogs:\x20','location','./constants/testFrameworkConstants.js','uuid','ZUmoY','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_LOGS','instance','type','trackHookEvent','__workerDetails','has','failed','KEY_TEST_FAILURE_TYPE','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','crMKM',',\x20error:\x20','bUoZq','KEY_HOOKS_STARTED','zCrVq','body','\x20&\x20hookState=','parallelIndex','eventJson','../grpcClient','NHBwi','vnPSU','parseJestTestResult','testData','\x20-\x20testId:\x20','FDomc','workerInfo','163992TBZjnP','\x20attachments','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','KEY_TEST_RESULT','ojrMh','finished_at','cvEGi','getJestTestName','buildHookMapFromTest','createContext','removePendingHooks','toString','concat','2908594hSWfNV','ZKqtL','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','KEY_TEST_FILE_PATH','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEWdA','pop','getRef','xyXGW','\x22\x20hook','TEST_SCREENSHOT','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','KEY_TEST_ATTACHMENTS','ogXXZ','toUpperCase','KEY_TEST_UUID',',\x20hookData=',',\x20version=','gJMwD','inspect','status','../TestInfo.js','272124dQDwYO','skipped','hookData','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','TEST','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','LqaPD','rpmVW','test_identifier','keys','getThreadId','DEFAULT_TEST_RESULT','hook_result','duration','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','LcESc','./testFramework',',\x20exception=','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','hookMetadata','\x20to\x20','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','KEY_TEST_RERUN_NAME','trackJestInstance:\x20created\x20instance\x20for\x20target=',':testAnalyticsId','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','delete','KPSni','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','DrbLO','getAllData','hookAnalyticsId','KEY_TEST_TAGS','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','title','isArray','rvFbK','DEFAULT_HOOK_RESULT','UutBi','getTestFrameworks','NONE','SCcvg','includes','2766HmvAox','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','map','testFrameworkState','\x20(testIdentifier),\x20hookType=','yTVfN',',\x20hookType=','VlkzT','getCurrentTestState','getTrackedInstance','KEY_HOOK_LOGS',',\x20testData=',',\x20messageLength=','ZfEVp','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','bSNCW','asyncError','getJestTestScopes','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','getJestTestFilePath','substring',',\x20scopes=','KEY_TEST_LOCATION','OUnMO','platformIndex','splice','ALL','FaqbH','runHooks','getHooksForTest','1199sPzkpw','KEY_TEST_FAILURE_REASON','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','ppGQl','getFileName','name','apply','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=',',\x20state:\x20','zMMmw','KEY_EVENT_ENDED_AT','mapTestHooks','4508310wyFHxF','getJestFailureData','PRE','2719724saqNbF','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=',',\x20hooksListLength=','sendLogCreatedEvent',',\x20response=','PofDv','ZuVno','ceil','fubPH','getJestTestTags','__bstackPlatformIndex','hook_id','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','169655InRSnm','LyBSM','hookUUID','BhdLu','moMLJ','\x20-\x20test_identifier=','TIgbw','format','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','TkyOk','KEY_HOOK_LAST_STARTED',',\x20hook_run_uuid=','forEach','filter','test_run_id','kind','Error\x20in\x20createTestFrameworkEventPayload:\x20','parse','PJxDP','KEY_HOOK_FAILURE_REASON','getInstance','getRootParentFile','event_ended_at','removeActiveHook','beforeAll','gOqzN','addMultipleEntries','KEY_TEST_META','KEY_TEST_SCOPE',',\x20totalBatches:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','cDxKO','browserstackPlatformIndex','../cliUtils.js','getJestTestIdentifier','ROOT_DESCRIBE_BLOCK','Oqmea','vrPGj','trackJestInstance','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','KEY_CUSTOM_TAGS','errorsDetailed','ogtYO','filePath','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','144eSvXZN','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','trackEvent','RGwhv','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','../../../helpers/test-observability/utils','BEFORE_ALL','jTqhZ','reverse',',\x20hookState:\x20','\x20hook','\x20(testIdentifier)',',\x20scope:\x20','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','okCti','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_FAILURE_TYPE','hpSuO',',\x20contextId=','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','scopes','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','test_run_uuid','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event',',\x20platformIndex:\x20','HPGsm','\x20pending\x20hooks\x20for\x20testId:\x20','getProcessId','missing','JestTestFramework','KhMDF','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','resolveInstance','getContext','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','Tszeh','result','KEY_TEST_RETRY_OF','push','testUUID','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','nSxhU','184BOzOAO','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','storePendingHook','Unknown\x20error','createTestFrameworkEventPayload','logCreatedEvent','\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','xJXFN','getJestFailureReason','\x20files','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','../instances/testFrameworkInstance.js','set','test',',\x20hookState=','error','get','BbSko','../state/hookState.js','5268qhNwhS','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','passed','hook_type','XEJvv','testFrameworkVersion',',\x20filePath=','testFrameworkName','unknown','AssertionError','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20',',\x20hook=','1yKFZwI','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','stack-trace','KEY_TEST_FAILURE','KEY_HOOK_NAME','from','setActiveHook','HJsbC','../instances/trackedInstance.js','hookType','base64','\x20(testIdentifier),\x20result=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','toISOString','hooks','ssBnf','KLImv','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','../state/testFrameworkState.js','KEY_TEST_STARTED_AT','startsWith',',\x20result=','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','startedAt','file_name','KEY_TEST_ID','message','tEbSC',',\x20state=','hookState',',\x20hookUUID=',',\x20testId=','AuCPe','RBiRF',',\x20target=','executionContext','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test',',\x20currentTestId:\x20',',\x20filePath:\x20','UVAdR','_ALL','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','Assert','msTUG','depth','scope','KEY_HOOK_FAILURE','KoKCx','LRQJg','failure_reason','KEY_HOOK_ID','KEY_HOOK_LAST_FINISHED','KEY_LOGS','DgnFH','matchHookRegex','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=',',\x20storing\x20as\x20pending\x20hook','Processing\x20','debug','aDYeb',',\x20hookId=','split','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','replace','mgjQk','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','myTuT','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','started_at','yxpub','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','tags','activeHooks','KEY_EVENT_STARTED_AT','args','getPendingHooks','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','KEY_HOOKS_FINISHED','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','file','isJestInternalHook','getId','Ylxvw','processPendingHooks','KEY_HOOK_RESULT','parent',',\x20duration=','hasPendingHooks','getCurrentHookState','KWGbB','rajGX',',\x20totalLogs:\x20','addPendingHook','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','getActiveHook','POST','getTestFrameworksVersions','testId','maxArrayLength','mxyME',',\x20totalHooks=','qDHOo','slice','Wdize','retryOf','KEY_TEST_DURATION','originalTest',',\x20failureReason=','parseJestTest','length','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found'];a75_0x2188=function(){return _0x472b19;};return a75_0x2188();}
1
+ function a75_0x51fb(){const _0x5e3c9e=['stringify','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','KEY_TEST_ID','trackHookEvent','scopes','KEY_TEST_STARTED_AT','rVzzp','KEY_HOOK_LAST_STARTED','lnIRw','KEY_TEST_LOGS','yNMGc','KEY_HOOKS_STARTED','getAllPendingHookTestIds',',\x20hookState=','ppCrE','activeHooks','TEST','KEY_TEST_UUID','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20',',\x20consoleLogs:\x20','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','\x20pending\x20hooks\x20for\x20testId:\x20','has','bVopP','storePendingHook','sendLogCreatedEvent','getCurrentTestState','originalTest','pop','yQmAL','KEY_TEST_SCOPE','iKqcw','3438957JzsBcK','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_HOOK_FAILURE_TYPE','util','xsRSV','./constants/testFrameworkConstants.js','KEY_TEST_FRAMEWORK_VERSION','getTrackedInstance','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_CUSTOM_TAGS','1757045dOByhM','parseJestTestResult','hookType','CugjQ','gycZr','4ZHYAJQ','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','result','findIndex','vmDzq','LOG_REPORT','mubUP','startedAt',',\x20messageLength=','type','uuid','name','2fCjgVO','hookAnalyticsId','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=',',\x20response=','CJuqw','includes','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','TEST_SCREENSHOT','Error\x20in\x20createTestFrameworkEventPayload:\x20','Unknown\x20Test','getJestFailureData','KEY_TEST_FAILURE','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','hook_result','setActiveHook',',\x20scope:\x20','JVlyp','KEY_EVENT_ENDED_AT','AHcYI','ROOT_DESCRIBE_BLOCK',',\x20attachmentLogs:\x20','buMQV','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','processPendingHooks','code','qWmWE',',\x20hookType=','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','finished_at','startsWith','getJestTestName','file_name','getThreadId','KEY_TEST_RETRY_OF','../instances/trackedInstance.js','qIPZw','KEY_HOOK_FAILURE','getTestFrameworks','eventJson','nwyAc','parse','ChiJU','test_identifier','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20',',\x20failureReason=','vFibH','\x20to\x20','AssertionError','ijwKU','sVPwL','Ufium','21907006cuStvF','trackJestInstance','getCurrentInstanceName','stack-trace','\x20screenshot\x20logs\x20for\x20testId:\x20','skip','12818840mGQsJE',',\x20exception=','asyncError',',\x20currentTestId:\x20','431669RQxNup','getPendingHooks','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','../cliUtils.js',',\x20totalLogs:\x20','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=',',\x20totalHooks=','trackJestInstance:\x20instance\x20already\x20exists','PoAQz','message',',\x20logsInBatch:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','BTKUe','UKJqm','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','1256000gQnwec','addMultipleEntries','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20',',\x20scopes=','body','wcggb','REOHr','qeeVQ','orDRX','wWlwV','createTestFrameworkEventPayload','\x20-\x20test_identifier=','length','set','trackJestInstance:\x20created\x20instance\x20for\x20target=','hookUUID','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','instance','getJestFailureReason','toISOString','KEY_TEST_RESULT','hasPendingHooks','KEY_TEST_FAILURE_REASON','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20',',\x20state=','jvrfr','Zgagn','Processing\x20',',\x20contextId=','getRef','testUUID','hooks','KEY_TEST_DURATION',',\x20error:\x20','CUQFV','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','keys','parseJestTest','hook_run_uuid','format','testId','Assert','depth','vSiGD','reverse','POST','getJestTestIdentifier','pid','test_run_id','KEY_AUTOMATE_SESSION_NAME','KEY_EVENT_STARTED_AT',',\x20target=','BEFORE_ALL','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','hookMetadata','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','filter','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','KEY_TEST_META','createContext','base64','rKfYl','\x20(testIdentifier),\x20result=','passed','eotUP','Pypgn','KEY_HOOK_FAILURE_REASON','getInstance','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20',',\x20screenshotLogs:\x20','getId','buildHookMapFromTest','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','IpCRL','KEY_TEST_RERUN_NAME','ALL','concat','getContext','push','_ALL','YFFMC',',\x20duration=','matchHookRegex','KEY_TEST_TAGS','KEY_HOOK_ID','QOiXX','event_ended_at','afterAll','getJestFailureType',',\x20hookData=','\x22\x20hook','XVivO','failed','filePath','getJestTestTags','join','../../../helpers/helper.js','PmgQK','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','workerInfo','parent','runHooks','started_at','../../../helpers/test-observability/utils','logCreatedEvent','removePendingHooks','toString','DEFAULT_TEST_RESULT',',\x20result=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','KEY_TEST_ATTACHMENTS','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','ricOt','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','KQrzF','trackEvent','fWTBY','hook_type',',\x20hookId=',',\x20remainingHooks=',',\x20version=','getAllData','smVnw','getRootParentFile','status','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','mapTestHooks','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','getHooksForTest','split','testFrameworkState','KEY_LOGS','missing','KEY_HOOK_RESULT','kNltB',',\x20hooksListLength=','tErtn','error','\x20logs\x20for\x20testId:\x20','qBBNt','csYKI','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','auoFu','../instances/testFrameworkInstance.js','splice','KEY_HOOK_LAST_FINISHED','KEY_HOOK_LOGS','Stored\x20pending\x20hook\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','retryOf','unknown','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','substring','../state/hookState.js','KEY_HOOK_NAME','duration','LoZHm','file',',\x20hookUUID=','testData','\x20(testIdentifier),\x20hookType=','KEY_HOOKS_FINISHED','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','diJCk','\x20(testIdentifier)','KEY_TEST_SCOPES','warn','getJestTestScopes','DEFAULT_HOOK_RESULT','../../../helpers/classLogger.js','../state/testFrameworkState.js','KEY_TEST_ENDED_AT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','debug','isJestInternalHook','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','tags','KEY_TEST_LOCATION','hookState',',\x20hook=','dFNuX','errorsDetailed','10119159LnVJQv','PRE','NONE','test_run_uuid','failure_reason','maxArrayLength',',\x20testId=','executionContext','forEach','wUdoW','ceil','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','slice','platformIndex','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','inspect',',\x20storing\x20as\x20pending\x20hook','XlrUl','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','KEY_TEST_FAILURE_TYPE','hookData','isArray','Vkhgv','UmvPe','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','kZbza','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','resolveInstance','84kkkmLJ','RMYli','8amaBtX','title','PtxTQ','getProcessId','getJestTestFilePath','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20',',\x20state:\x20','__workerDetails','JnAjT','test','AluYk','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','scope','find','hook_id',',\x20filePath:\x20','__bstackPlatformIndex','pjIpC','match','./testFramework','\x20&\x20hookState=','fpcnD','args','qotvc','MBgty','get','from','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','jltns','\x20-\x20testId:\x20','iEPpZ',',\x20hook_run_uuid=','getTestFrameworksVersions'];a75_0x51fb=function(){return _0x5e3c9e;};return a75_0x51fb();}const a75_0x197ab6=a75_0x24bb;(function(_0x17a66c,_0x1449fa){const _0x530042=a75_0x24bb,_0x49b9a1=_0x17a66c();while(!![]){try{const _0x2b6364=-parseInt(_0x530042(0x2a2))/0x1+parseInt(_0x530042(0x24f))/0x2*(-parseInt(_0x530042(0x233))/0x3)+-parseInt(_0x530042(0x243))/0x4*(-parseInt(_0x530042(0x23e))/0x5)+-parseInt(_0x530042(0x1ed))/0x6*(-parseInt(_0x530042(0x292))/0x7)+parseInt(_0x530042(0x1ef))/0x8*(parseInt(_0x530042(0x35c))/0x9)+-parseInt(_0x530042(0x28e))/0xa+parseInt(_0x530042(0x288))/0xb;if(_0x2b6364===_0x1449fa)break;else _0x49b9a1['push'](_0x49b9a1['shift']());}catch(_0x124424){_0x49b9a1['push'](_0x49b9a1['shift']());}}}(a75_0x51fb,0x9dd29));function a75_0x24bb(_0x525fe3,_0x3acf80){const _0x51fb5b=a75_0x51fb();return a75_0x24bb=function(_0x24bb8f,_0x28b131){_0x24bb8f=_0x24bb8f-0x1df;let _0x1edcae=_0x51fb5b[_0x24bb8f];return _0x1edcae;},a75_0x24bb(_0x525fe3,_0x3acf80);}const TestFramework=require(a75_0x197ab6(0x202)),TestFrameworkState=require(a75_0x197ab6(0x350)),HookState=require(a75_0x197ab6(0x33f)),{createClassLogger}=require(a75_0x197ab6(0x34f)),TestFrameworkInstance=require(a75_0x197ab6(0x335)),CLIUtils=require(a75_0x197ab6(0x295)),TrackedInstance=require(a75_0x197ab6(0x277)),TestFrameworkConstants=require(a75_0x197ab6(0x239)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a75_0x197ab6(0x302)),{isInternalHook}=require(a75_0x197ab6(0x309)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a75_0x197ab6(0x24d)),util=require(a75_0x197ab6(0x237)),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient'),stackTrace=require(a75_0x197ab6(0x28b));class JestTestFramework extends TestFramework{constructor(_0x2c4830,_0x225bb5,_0x4d2a84){const _0x30adb6=a75_0x197ab6;super(_0x2c4830,_0x225bb5,_0x4d2a84),this[_0x30adb6(0x222)]=new Map();}[a75_0x197ab6(0x261)](_0x1436a8,_0x2aad02,_0x471d70){const _0x382cc8=a75_0x197ab6,_0x14215f={};_0x14215f[_0x382cc8(0x314)]=function(_0x5862e9,_0xbdcc5d){return _0x5862e9||_0xbdcc5d;};const _0x4a4d8e=_0x14215f;if(_0x4a4d8e[_0x382cc8(0x314)](!_0x1436a8,!_0x2aad02)){logger[_0x382cc8(0x34c)](_0x382cc8(0x257)+_0x1436a8+_0x382cc8(0x344)+_0x2aad02);return;}!this[_0x382cc8(0x222)][_0x382cc8(0x229)](_0x1436a8)&&this['activeHooks']['set'](_0x1436a8,[]);const _0x3636e3={'hookUUID':_0x2aad02,'hookType':_0x471d70,'startedAt':new Date()[_0x382cc8(0x2b5)]()};this['activeHooks'][_0x382cc8(0x208)](_0x1436a8)['push'](_0x3636e3),logger[_0x382cc8(0x353)](_0x382cc8(0x244)+_0x1436a8+_0x382cc8(0x344)+_0x2aad02+_0x382cc8(0x26f)+_0x471d70+_0x382cc8(0x298)+this[_0x382cc8(0x222)][_0x382cc8(0x208)](_0x1436a8)[_0x382cc8(0x2ae)]);}['removeActiveHook'](_0x289a46,_0x203845){const _0x3881f6=a75_0x197ab6,_0x224d80={};_0x224d80[_0x3881f6(0x29e)]=function(_0x22adb2,_0x15cd8e){return _0x22adb2||_0x15cd8e;},_0x224d80[_0x3881f6(0x287)]=function(_0x45320b,_0x73a8e2){return _0x45320b!==_0x73a8e2;},_0x224d80['nwyAc']=function(_0x542bca,_0x22661){return _0x542bca===_0x22661;};const _0x2e4f80=_0x224d80;if(_0x2e4f80['BTKUe'](!_0x289a46,!_0x203845)){logger[_0x3881f6(0x34c)](_0x3881f6(0x294)+_0x289a46+_0x3881f6(0x344)+_0x203845);return;}if(this[_0x3881f6(0x222)]['has'](_0x289a46)){const _0x26c934=this[_0x3881f6(0x222)][_0x3881f6(0x208)](_0x289a46),_0x58e948=_0x26c934[_0x3881f6(0x246)](_0x6dd775=>_0x6dd775[_0x3881f6(0x2b1)]===_0x203845);_0x2e4f80[_0x3881f6(0x287)](_0x58e948,-0x1)?(_0x26c934[_0x3881f6(0x336)](_0x58e948,0x1),logger[_0x3881f6(0x353)](_0x3881f6(0x313)+_0x289a46+_0x3881f6(0x344)+_0x203845+_0x3881f6(0x31b)+_0x26c934[_0x3881f6(0x2ae)]),_0x2e4f80[_0x3881f6(0x27c)](_0x26c934[_0x3881f6(0x2ae)],0x0)&&this[_0x3881f6(0x222)]['delete'](_0x289a46)):logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x289a46+_0x3881f6(0x344)+_0x203845);}}['getActiveHook'](_0xdf84f9){const _0x318e99=a75_0x197ab6,_0x3ff475={};_0x3ff475[_0x318e99(0x249)]=function(_0x266330,_0x9be314){return _0x266330>_0x9be314;},_0x3ff475['LoZHm']=function(_0x4b57c7,_0x213174){return _0x4b57c7-_0x213174;};const _0x2aaebf=_0x3ff475;if(!_0xdf84f9)return null;if(this[_0x318e99(0x222)][_0x318e99(0x229)](_0xdf84f9)){const _0x3a1b31=this['activeHooks'][_0x318e99(0x208)](_0xdf84f9);if(_0x2aaebf[_0x318e99(0x249)](_0x3a1b31[_0x318e99(0x2ae)],0x0)){const _0x2b4025=_0x3a1b31[_0x2aaebf[_0x318e99(0x342)](_0x3a1b31[_0x318e99(0x2ae)],0x1)];return logger['debug'](_0x318e99(0x312)+_0xdf84f9+_0x318e99(0x344)+_0x2b4025[_0x318e99(0x2b1)]+_0x318e99(0x26f)+_0x2b4025[_0x318e99(0x240)]),_0x2b4025;}}return null;}async[a75_0x197ab6(0x317)](_0x924fe6,_0x5cd1a6,_0x80666={}){const _0x374dc6=a75_0x197ab6,_0x53e7db={};_0x53e7db[_0x374dc6(0x1f7)]=_0x374dc6(0x235),_0x53e7db[_0x374dc6(0x21d)]=function(_0x49bd2c,_0x1806be){return _0x49bd2c===_0x1806be;},_0x53e7db['mhnbX']=function(_0x5678ea,_0x1231dd){return _0x5678ea||_0x1231dd;},_0x53e7db[_0x374dc6(0x2df)]=_0x374dc6(0x30f),_0x53e7db[_0x374dc6(0x2aa)]=function(_0x3a0932,_0x575c1a){return _0x3a0932===_0x575c1a;};const _0x809972=_0x53e7db;logger[_0x374dc6(0x353)](_0x374dc6(0x2d7)+_0x924fe6+',\x20hookState='+_0x5cd1a6+',\x20argsKeys='+Object['keys'](_0x80666)[_0x374dc6(0x301)](',')),await super[_0x374dc6(0x317)](_0x924fe6,_0x5cd1a6,_0x80666);const _0xe50853=this[_0x374dc6(0x1ec)](_0x924fe6,_0x5cd1a6,_0x80666);if(!_0xe50853){logger['debug'](_0x809972[_0x374dc6(0x1f7)]);return;}try{let _0x43a9cb,_0x1ae91b,_0x576d7d;switch(_0x924fe6){case TestFrameworkState[_0x374dc6(0x223)]:_0x43a9cb=_0x80666['test'];const _0x3c3a42={};_0x3c3a42[_0x374dc6(0x2cc)]=0x2,_0x3c3a42[_0x374dc6(0x361)]=0x3,logger[_0x374dc6(0x353)](_0x374dc6(0x33d)+_0x5cd1a6+',\x20testData='+util['inspect'](_0x43a9cb,_0x3c3a42)),_0x576d7d=this['getJestTestIdentifier'](_0x43a9cb),_0x1ae91b=null,logger['debug'](_0x374dc6(0x325)+_0x576d7d+_0x374dc6(0x34a));if(_0x809972[_0x374dc6(0x21d)](_0x5cd1a6,HookState['PRE'])){logger['debug'](_0x374dc6(0x33a)+_0x576d7d);const _0x4f0fff={};_0x4f0fff[_0x374dc6(0x2c0)]=_0x1ae91b,_0x4f0fff['testData']=_0x43a9cb,_0x4f0fff[_0x374dc6(0x2ca)]=_0x576d7d;const _0x49743f=this[_0x374dc6(0x2c7)](_0x4f0fff),_0x3b12fc={};_0x3b12fc[_0x374dc6(0x2cc)]=0x2,_0x3b12fc['maxArrayLength']=0x3,logger[_0x374dc6(0x353)](_0x374dc6(0x1e3)+util[_0x374dc6(0x1e0)](_0x49743f,_0x3b12fc)),_0xe50853[_0x374dc6(0x2a3)](_0x49743f),logger['debug'](_0x374dc6(0x20b)+_0x576d7d),await this[_0x374dc6(0x26c)](_0xe50853,_0x576d7d);}else{if(_0x809972[_0x374dc6(0x21d)](_0x5cd1a6,HookState[_0x374dc6(0x2cf)])){logger[_0x374dc6(0x353)](_0x374dc6(0x1eb)+_0x576d7d);const _0x1bcd23=_0xe50853[_0x374dc6(0x31d)]()[_0x374dc6(0x208)](_0x576d7d);logger[_0x374dc6(0x353)](_0x374dc6(0x251)+util[_0x374dc6(0x1e0)](Object['keys'](_0x809972['mhnbX'](_0x1bcd23,{}))));_0x1bcd23&&_0x1bcd23[TestFrameworkConstants[_0x374dc6(0x311)]]?logger[_0x374dc6(0x353)](_0x374dc6(0x304)+Object['keys'](_0x1bcd23[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x374dc6(0x2ae)]+'\x20files'):logger['debug'](_0x809972[_0x374dc6(0x2df)]);const _0x53c285=_0x80666[_0x374dc6(0x22e)]||null,_0x949212={};_0x949212[_0x374dc6(0x2c0)]=_0x1ae91b,_0x949212[_0x374dc6(0x345)]=_0x43a9cb,_0x949212[_0x374dc6(0x2ca)]=_0x576d7d,_0x949212[_0x374dc6(0x22e)]=_0x53c285;const _0x2607e0=this['parseJestTestResult'](_0x949212),_0x517df2={};_0x517df2['depth']=0x2,_0x517df2[_0x374dc6(0x361)]=0x3,logger[_0x374dc6(0x353)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util['inspect'](_0x2607e0,_0x517df2)),_0xe50853['addMultipleEntries'](_0x2607e0),logger[_0x374dc6(0x353)](_0x374dc6(0x321)+_0x576d7d),await this['processPendingHooks'](_0xe50853,_0x576d7d);}}break;case TestFrameworkState[_0x374dc6(0x248)]:if(_0x809972[_0x374dc6(0x2aa)](_0x5cd1a6,HookState['POST'])){const _0x5e4f7d={};_0x5e4f7d[_0x374dc6(0x2cc)]=0x2,logger['debug'](_0x374dc6(0x322)+util['inspect'](_0x80666,_0x5e4f7d)),await this[_0x374dc6(0x22c)](_0xe50853,_0x924fe6,_0x80666);}break;default:if(CLIUtils[_0x374dc6(0x2f4)](_0x924fe6[_0x374dc6(0x30c)]()[_0x374dc6(0x327)]('.')[0x1])){const _0x5c11cb={};_0x5c11cb['depth']=0x2,_0x5c11cb[_0x374dc6(0x361)]=0x3,logger[_0x374dc6(0x353)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState='+_0x924fe6+_0x374dc6(0x220)+_0x5cd1a6+_0x374dc6(0x2fb)+util[_0x374dc6(0x1e0)](_0x80666['hookData'],_0x5c11cb));const _0x40e634=await this['trackHookEvent'](_0xe50853,_0x924fe6,_0x5cd1a6,_0x80666),_0x25a27a={};_0x25a27a[_0x374dc6(0x2cc)]=0x2,_0x25a27a[_0x374dc6(0x361)]=0x3,logger['debug'](_0x374dc6(0x29d)+util[_0x374dc6(0x1e0)](_0x40e634,_0x25a27a)),_0xe50853[_0x374dc6(0x2a3)](_0x40e634);}else logger[_0x374dc6(0x353)](_0x374dc6(0x2db)+_0x924fe6+_0x374dc6(0x203)+_0x5cd1a6);break;}logger[_0x374dc6(0x353)]('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x924fe6+',\x20hookState='+_0x5cd1a6);}catch(_0x5d1767){logger[_0x374dc6(0x32f)](_0x374dc6(0x25e)+_0x924fe6+_0x374dc6(0x220)+_0x5cd1a6+_0x374dc6(0x28f)+util[_0x374dc6(0x2c9)](_0x5d1767));}_0x80666[_0x374dc6(0x2b3)]=_0xe50853,await this[_0x374dc6(0x307)](_0xe50853,_0x924fe6,_0x5cd1a6,_0x80666);}[a75_0x197ab6(0x2d0)](_0x50c4c6){const _0x154b3c=a75_0x197ab6,_0x6b1632={};_0x6b1632[_0x154b3c(0x204)]=_0x154b3c(0x310);const _0x3f13f3=_0x6b1632;if(_0x50c4c6&&(_0x50c4c6['id']||_0x50c4c6[_0x154b3c(0x24d)])){const _0x11436c=_0x50c4c6['id']||_0x50c4c6[_0x154b3c(0x24d)];return logger['debug']('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x11436c+'\x22\x20from\x20testData'),_0x11436c;}return logger[_0x154b3c(0x353)](_0x3f13f3[_0x154b3c(0x204)]),process[_0x154b3c(0x2d1)]+':testAnalyticsId';}[a75_0x197ab6(0x1ec)](_0x44aa5a,_0x715d4e,_0x461f62={}){const _0x1020f4=a75_0x197ab6;let _0x5b3ce0=null;return _0x5b3ce0=TestFramework[_0x1020f4(0x23b)](),!_0x5b3ce0?(logger[_0x1020f4(0x353)](_0x1020f4(0x2b2)+_0x44aa5a),this[_0x1020f4(0x289)](_0x44aa5a,_0x461f62),_0x5b3ce0=TestFramework[_0x1020f4(0x23b)](),logger[_0x1020f4(0x353)](_0x1020f4(0x253)+!!_0x5b3ce0+_0x1020f4(0x2be)+_0x5b3ce0?.[_0x1020f4(0x2ef)]()?.['getId']())):logger['debug'](_0x1020f4(0x315)+_0x5b3ce0[_0x1020f4(0x2ef)]()?.['getId']()),_0x5b3ce0;}[a75_0x197ab6(0x289)](_0x3dbc07,_0x3503bf){const _0x265488=a75_0x197ab6,_0x5ba10b={};_0x5ba10b[_0x265488(0x1e2)]=_0x265488(0x299);const _0x89b474=_0x5ba10b;if(TestFramework[_0x265488(0x23b)]()){logger['debug'](_0x89b474[_0x265488(0x1e2)]);return;}const _0x3c772a=CLIUtils[_0x265488(0x28a)](),_0x29077d=TrackedInstance[_0x265488(0x2dd)](_0x3c772a);let _0x13df31=null;logger['debug'](_0x265488(0x2b0)+_0x3c772a+_0x265488(0x2ba)+_0x3dbc07),_0x13df31=new TestFrameworkInstance(_0x29077d,this[_0x265488(0x27a)](),this[_0x265488(0x211)](),_0x3dbc07,HookState[_0x265488(0x35e)]),TestFramework['setTrackedInstance'](_0x29077d,_0x13df31),logger[_0x265488(0x353)](_0x265488(0x333)+_0x29077d[_0x265488(0x2e8)]()+_0x265488(0x2d5)+_0x3c772a+',\x20testFramework='+this[_0x265488(0x27a)]()[0x0]+_0x265488(0x31c)+this['getTestFrameworksVersions']()[this[_0x265488(0x27a)]()[0x0]]);}[a75_0x197ab6(0x2c7)](_0x2af6da){const _0x5956c8=a75_0x197ab6,_0x59964a={};_0x59964a[_0x5956c8(0x278)]=function(_0x30253e,_0x5c5f14){return _0x30253e||_0x5c5f14;},_0x59964a[_0x5956c8(0x26e)]=_0x5956c8(0x2a0);const _0x28e7ba=_0x59964a,{testUUID:_0x28846f,testData:_0x1ca97a,testId:_0x4840d5}=_0x2af6da;if(_0x28e7ba['qIPZw'](!_0x1ca97a,!_0x4840d5))return logger['debug'](_0x28e7ba[_0x5956c8(0x26e)]),{};const _0x49f59a=this[_0x5956c8(0x27a)]()[0x0],_0x214a71=this[_0x5956c8(0x211)](),_0x2c1e58={};_0x2c1e58[_0x5956c8(0x2cc)]=0x2,_0x2c1e58[_0x5956c8(0x361)]=0x3,logger[_0x5956c8(0x353)](_0x5956c8(0x213)+util['inspect'](_0x1ca97a,_0x2c1e58));const _0x1a10dd=_0x1ca97a?.['scopes']||[],_0x2ee8c2=this['getJestTestName'](_0x1ca97a),_0x4a9ea4=this['getJestTestFilePath'](_0x1ca97a),_0x11bcb5=_0x1ca97a['fn']?_0x1ca97a['fn'][_0x5956c8(0x30c)]():_0x1ca97a?.[_0x5956c8(0x2a6)]?_0x1ca97a[_0x5956c8(0x2a6)][_0x5956c8(0x26d)][_0x5956c8(0x30c)]():null,_0x42f692=this[_0x5956c8(0x300)](_0x1ca97a),_0x3968bc={[TestFrameworkConstants[_0x5956c8(0x269)]]:_0x49f59a,[TestFrameworkConstants[_0x5956c8(0x23a)]]:_0x214a71[_0x49f59a],[TestFrameworkConstants[_0x5956c8(0x21c)]]:[],[TestFrameworkConstants[_0x5956c8(0x347)]]:{},[TestFrameworkConstants[_0x5956c8(0x21e)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x5956c8(0x30d)],[TestFrameworkConstants[_0x5956c8(0x2d3)]]:_0x2ee8c2,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x4a9ea4,[TestFrameworkConstants[_0x5956c8(0x215)]]:_0x4840d5,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x2ee8c2,[TestFrameworkConstants[_0x5956c8(0x357)]]:_0x4a9ea4,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x11bcb5,[TestFrameworkConstants[_0x5956c8(0x2f5)]]:_0x42f692,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1ca97a[_0x5956c8(0x308)]||new Date()[_0x5956c8(0x2b5)](),[TestFrameworkConstants[_0x5956c8(0x231)]]:_0x1a10dd[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x1a10dd,[TestFrameworkConstants[_0x5956c8(0x2ec)]]:_0x2ee8c2,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x5956c8(0x2dc)]]:{}};_0x1ca97a[_0x5956c8(0x33b)]&&(_0x3968bc[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x1ca97a[_0x5956c8(0x33b)]);logger[_0x5956c8(0x353)](_0x5956c8(0x20a)+_0x2ee8c2+_0x5956c8(0x362)+_0x4840d5+'\x20(testIdentifier),\x20tags='+JSON['stringify'](_0x42f692)+_0x5956c8(0x2a5)+util[_0x5956c8(0x1e0)](_0x1a10dd)+',\x20filePath='+_0x4a9ea4);const _0x4cd804={};return _0x4cd804[_0x4840d5]=_0x3968bc,_0x4cd804;}[a75_0x197ab6(0x23f)](_0x40fb71){const _0x44b8a7=a75_0x197ab6,_0x2168c3={'vmDzq':function(_0x4d74fe,_0x160214){return _0x4d74fe===_0x160214;},'vSiGD':_0x44b8a7(0x2f9),'eotUP':'beforeAll','iEPpZ':_0x44b8a7(0x2ed),'iKqcw':_0x44b8a7(0x2f1),'jvrfr':function(_0x33d5b8,_0x32c6d3){return _0x33d5b8||_0x32c6d3;},'iFeLf':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','smVnw':_0x44b8a7(0x33c),'buMQV':function(_0x2eea93,_0x5d75f8){return _0x2eea93>_0x5d75f8;},'AluYk':_0x44b8a7(0x2fe),'HqGUC':_0x44b8a7(0x28d),'Zgagn':'skipped','csYKI':_0x44b8a7(0x2e1),'QOiXX':function(_0x5d930c,_0x3941e7){return _0x5d930c===_0x3941e7;},'JVlyp':function(_0x5c3264,_0x5ec2ff){return _0x5c3264!==_0x5ec2ff;},'QgaWJ':function(_0x1bfeb4,_0x11977a,_0x1c107,_0x1c8cb6){return _0x1bfeb4(_0x11977a,_0x1c107,_0x1c8cb6);},'tErtn':function(_0x4d670e,_0x45ae81){return _0x4d670e>_0x45ae81;},'YKEFK':function(_0x553528,_0x1b8a48){return _0x553528>_0x1b8a48;},'qotvc':'[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','yQmAL':function(_0x155fb9,_0x232024){return _0x155fb9>_0x232024;}},{testUUID:_0xff7bac,testData:_0xbf6d1e,testId:_0x3ee19e}=_0x40fb71;if(_0x2168c3[_0x44b8a7(0x2bb)](!_0xbf6d1e,!_0x3ee19e))return logger[_0x44b8a7(0x353)](_0x2168c3['iFeLf']),{};const _0x3ae962=this['resolveInstance'](TestFrameworkState[_0x44b8a7(0x223)],HookState[_0x44b8a7(0x2cf)]),_0x3c7f6f=_0x3ae962['getAllData']()[_0x44b8a7(0x208)](_0x3ee19e),_0xab90ed=_0x2168c3[_0x44b8a7(0x2bb)](_0x3c7f6f,{}),_0x89d3da=_0xab90ed?_0xab90ed[TestFrameworkConstants[_0x44b8a7(0x23d)]]||{}:{},_0x235091=_0xab90ed[TestFrameworkConstants[_0x44b8a7(0x311)]];logger[_0x44b8a7(0x353)](_0x44b8a7(0x23c)+(_0x235091?Object[_0x44b8a7(0x2c6)](_0x235091)[_0x44b8a7(0x2ae)]:0x0)+'\x20attachments');let _0x2961e0=_0x2168c3[_0x44b8a7(0x31e)];if(_0xbf6d1e[_0x44b8a7(0x245)])_0x2961e0=_0xbf6d1e['result'];else{if(_0xbf6d1e[_0x44b8a7(0x35b)]&&_0x2168c3[_0x44b8a7(0x268)](_0xbf6d1e[_0x44b8a7(0x35b)]['length'],0x0))_0x2961e0=_0x2168c3[_0x44b8a7(0x1f9)];else _0x2168c3['vmDzq'](_0xbf6d1e[_0x44b8a7(0x320)],_0x2168c3['HqGUC'])||_0x2168c3[_0x44b8a7(0x247)](_0xbf6d1e[_0x44b8a7(0x320)],_0x2168c3[_0x44b8a7(0x2bc)])?_0x2961e0=_0x2168c3[_0x44b8a7(0x2bc)]:_0x2961e0=_0x2168c3[_0x44b8a7(0x332)];}const _0x3887af={..._0xab90ed,[TestFrameworkConstants[_0x44b8a7(0x2b6)]]:_0x2961e0,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0xbf6d1e[_0x44b8a7(0x271)]||new Date()[_0x44b8a7(0x2b5)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x44b8a7(0x2b5)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x89d3da,[TestFrameworkConstants[_0x44b8a7(0x329)]]:_0xab90ed[TestFrameworkConstants[_0x44b8a7(0x329)]]||[],[TestFrameworkConstants[_0x44b8a7(0x2dc)]]:{}};if(_0x2168c3[_0x44b8a7(0x2f7)](_0x2961e0,_0x2168c3[_0x44b8a7(0x1f9)])&&_0xbf6d1e[_0x44b8a7(0x35b)]){const _0x340374=this['getJestFailureReason'](_0xbf6d1e),_0x1a8d9c=this['getJestFailureType'](_0xbf6d1e),_0x1e426c=this['getJestFailureData'](_0xbf6d1e);_0x3887af[TestFrameworkConstants[_0x44b8a7(0x1e4)]]=_0x1a8d9c,_0x3887af[TestFrameworkConstants[_0x44b8a7(0x2b8)]]=_0x340374,_0x3887af[TestFrameworkConstants[_0x44b8a7(0x25c)]]=_0x1e426c;}_0x2168c3[_0x44b8a7(0x263)](_0xbf6d1e[_0x44b8a7(0x341)],undefined)&&(_0x3887af[TestFrameworkConstants[_0x44b8a7(0x2c2)]]=_0xbf6d1e['duration']);_0xbf6d1e['retryOf']&&(_0x3887af[TestFrameworkConstants[_0x44b8a7(0x276)]]=_0xbf6d1e[_0x44b8a7(0x33b)]);const _0x3c9615=_0x3c7f6f?_0x3c7f6f[TestFrameworkConstants[_0x44b8a7(0x311)]]||{}:{},_0x11963c=_0x3c7f6f?_0x3c7f6f[TestFrameworkConstants[_0x44b8a7(0x224)]]:_0xff7bac,_0x1794b4=_0x2168c3['QgaWJ'](getManualUploadLogs,_0x3c9615,_0x11963c,_0x3ee19e);if(_0x2168c3[_0x44b8a7(0x32e)](_0x1794b4['length'],0x0)){const _0x2222ad=_0x3887af[TestFrameworkConstants[_0x44b8a7(0x329)]]||[];_0x3887af[TestFrameworkConstants['KEY_LOGS']]=[..._0x2222ad,..._0x1794b4];}const _0x5d7bb1=_0xab90ed[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x122ed4=_0xab90ed[TestFrameworkConstants[_0x44b8a7(0x21e)]]||{},_0x2031e1={..._0x5d7bb1},_0x247669=_0x2031e1;Object['keys'](_0x122ed4)[_0x44b8a7(0x364)](_0x3e3f87=>{const _0xb2e9f1=_0x44b8a7;!_0x247669[_0x3e3f87]&&(_0x247669[_0x3e3f87]=[]);const _0x157e85=new Set((_0x247669[_0x3e3f87]||[])['map'](_0x12c55d=>_0x12c55d[TestFrameworkConstants['KEY_HOOK_ID']]||_0x12c55d[_0xb2e9f1(0x1fd)]));(_0x122ed4[_0x3e3f87]||[])[_0xb2e9f1(0x364)](_0x2c75e1=>{const _0x202e04=_0xb2e9f1,_0x1e6d22=_0x2c75e1[TestFrameworkConstants[_0x202e04(0x2f6)]]||_0x2c75e1[_0x202e04(0x1fd)];if(!_0x157e85[_0x202e04(0x229)](_0x1e6d22)){const _0x1c9b9a={..._0x2c75e1},_0x4fd915=_0x1c9b9a;!_0x4fd915[TestFrameworkConstants[_0x202e04(0x264)]]&&!_0x4fd915[_0x202e04(0x2f8)]&&(_0x4fd915[TestFrameworkConstants[_0x202e04(0x264)]]=new Date()[_0x202e04(0x2b5)]()),!_0x4fd915[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x4fd915[_0x202e04(0x260)]&&(_0x4fd915[TestFrameworkConstants[_0x202e04(0x32b)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x247669[_0x3e3f87][_0x202e04(0x2f0)](_0x4fd915);}});});if(_0x40fb71[_0x44b8a7(0x22e)]){this[_0x44b8a7(0x323)](_0x40fb71[_0x44b8a7(0x22e)]);const _0x2681b3=this[_0x44b8a7(0x2e9)](_0x40fb71[_0x44b8a7(0x22e)]),_0x45bb40=this['getHooksForTest'](_0x40fb71[_0x44b8a7(0x22e)]);_0x45bb40['forEach'](_0x177bbd=>{const _0x4928f8=_0x44b8a7,_0xbc96b3=_0x2681b3['get'](_0x177bbd);if(_0xbc96b3&&(_0x2168c3[_0x4928f8(0x247)](_0xbc96b3[_0x4928f8(0x24c)],_0x2168c3[_0x4928f8(0x2cd)])||_0x2168c3[_0x4928f8(0x247)](_0xbc96b3[_0x4928f8(0x24c)],_0x2168c3[_0x4928f8(0x2e2)]))){const _0x2d8238=_0xbc96b3[_0x4928f8(0x24c)]['toUpperCase']()['replace'](_0x2168c3[_0x4928f8(0x20f)],_0x2168c3[_0x4928f8(0x232)]),_0x58bc61=_0x2d8238;!_0x247669[_0x58bc61]&&(_0x247669[_0x58bc61]=[]);const _0x24c3bc=_0x247669[_0x58bc61][_0x4928f8(0x1fc)](_0x41245e=>(_0x41245e[TestFrameworkConstants[_0x4928f8(0x2f6)]]||_0x41245e[_0x4928f8(0x1fd)])===_0x177bbd);!_0x24c3bc&&_0x247669[_0x58bc61][_0x4928f8(0x2f0)]({'key':_0x58bc61,[TestFrameworkConstants[_0x4928f8(0x2f6)]]:_0x177bbd,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x4928f8(0x34e)],[TestFrameworkConstants[_0x4928f8(0x2d4)]]:new Date()[_0x4928f8(0x2b5)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x4928f8(0x2b5)](),[TestFrameworkConstants[_0x4928f8(0x338)]]:[],[TestFrameworkConstants[_0x4928f8(0x340)]]:_0xbc96b3[_0x4928f8(0x24e)]||_0xbc96b3[_0x4928f8(0x24c)]+'\x20hook',[TestFrameworkConstants[_0x4928f8(0x23d)]]:_0x89d3da});}});}if(_0xbf6d1e['hooks']&&_0x2168c3['YKEFK'](_0xbf6d1e[_0x44b8a7(0x2c1)][_0x44b8a7(0x2ae)],0x0))_0x3887af[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0xbf6d1e[_0x44b8a7(0x2c1)],logger[_0x44b8a7(0x353)](_0x2168c3[_0x44b8a7(0x206)]);else _0x2168c3[_0x44b8a7(0x230)](Object[_0x44b8a7(0x2c6)](_0x247669)['length'],0x0)&&(_0x3887af[TestFrameworkConstants[_0x44b8a7(0x347)]]=_0x247669,logger[_0x44b8a7(0x353)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x44b8a7(0x2c6)](_0x247669)[_0x44b8a7(0x301)](',')));const _0x2ad3f2=this[_0x44b8a7(0x273)](_0xbf6d1e);logger[_0x44b8a7(0x353)](_0x44b8a7(0x234)+_0x2ad3f2+',\x20testId='+_0x3ee19e+_0x44b8a7(0x2e0)+_0x2961e0+_0x44b8a7(0x2f3)+_0xbf6d1e[_0x44b8a7(0x341)]);_0x2168c3[_0x44b8a7(0x2f7)](_0x2961e0,_0x2168c3[_0x44b8a7(0x1f9)])&&logger[_0x44b8a7(0x353)](_0x44b8a7(0x227)+_0x3ee19e+',\x20failureType='+_0x3887af[TestFrameworkConstants[_0x44b8a7(0x1e4)]]+_0x44b8a7(0x281)+_0x3887af[TestFrameworkConstants[_0x44b8a7(0x2b8)]]?.[_0x44b8a7(0x33e)](0x0,0xc8));const _0x3afc14={};return _0x3afc14[_0x3ee19e]=_0x3887af,_0x3afc14;}[a75_0x197ab6(0x34d)](_0x323caf){const _0x579e49=a75_0x197ab6,_0x15d8ba={};_0x15d8ba['PmgQK']=function(_0x139f40,_0x122ca2){return _0x139f40!==_0x122ca2;},_0x15d8ba[_0x579e49(0x265)]=_0x579e49(0x266);const _0x4a9d12=_0x15d8ba,_0x4e7153={};_0x4e7153[_0x579e49(0x2cc)]=0x2,_0x4e7153[_0x579e49(0x361)]=0x3,logger[_0x579e49(0x353)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x579e49(0x1e0)](_0x323caf,_0x4e7153));const _0x78d480=[];if(_0x323caf&&_0x323caf[_0x579e49(0x306)]){let _0x18dcc5=_0x323caf[_0x579e49(0x306)];while(_0x18dcc5&&_0x18dcc5['name']&&_0x4a9d12[_0x579e49(0x303)](_0x18dcc5['name'],'')&&_0x4a9d12[_0x579e49(0x303)](_0x18dcc5[_0x579e49(0x24e)],_0x4a9d12[_0x579e49(0x265)])){_0x78d480['push'](_0x18dcc5[_0x579e49(0x24e)]),_0x18dcc5=_0x18dcc5[_0x579e49(0x306)];}}return _0x78d480[_0x579e49(0x2ce)]();}[a75_0x197ab6(0x273)](_0x3662ca){const _0x2cb3f6=a75_0x197ab6,_0x26265c={};_0x26265c[_0x2cb3f6(0x1e7)]=_0x2cb3f6(0x25a);const _0x226764=_0x26265c;if(_0x3662ca[_0x2cb3f6(0x24e)])return _0x3662ca[_0x2cb3f6(0x24e)];if(_0x3662ca[_0x2cb3f6(0x1f0)])return _0x3662ca['title'];return _0x226764['Vkhgv'];}[a75_0x197ab6(0x300)](_0x358265){const _0x244e0c=a75_0x197ab6,_0x125ab4=[];if(_0x358265['tags']&&Array['isArray'](_0x358265[_0x244e0c(0x356)]))return _0x358265[_0x244e0c(0x356)]['map'](_0x44645f=>_0x44645f[_0x244e0c(0x272)]('@')?_0x44645f['substr'](0x1):_0x44645f);const _0x2ec278=this['getJestTestName'](_0x358265),_0x3bf4f4=_0x2ec278[_0x244e0c(0x201)](/@(\w+)/g);if(_0x3bf4f4)return _0x3bf4f4['map'](_0x279d26=>_0x279d26[_0x244e0c(0x368)](0x1));return _0x358265[_0x244e0c(0x217)]&&Array[_0x244e0c(0x1e6)](_0x358265['scopes'])&&_0x358265['scopes'][_0x244e0c(0x364)](_0x301399=>{const _0x3c5104=_0x244e0c,_0x1d9669=_0x301399[_0x3c5104(0x201)](/@(\w+)/g);_0x1d9669&&_0x1d9669[_0x3c5104(0x364)](_0x12185d=>{const _0x2515f0=_0x3c5104,_0x25600f=_0x12185d[_0x2515f0(0x368)](0x1);!_0x125ab4[_0x2515f0(0x256)](_0x25600f)&&_0x125ab4[_0x2515f0(0x2f0)](_0x25600f);});}),_0x125ab4;}[a75_0x197ab6(0x1f3)](_0x453b54){const _0xafde25=a75_0x197ab6,_0x3d758c={'dFNuX':function(_0x4e1eba,_0x5c1576){return _0x4e1eba(_0x5c1576);},'KDSxc':_0xafde25(0x28b)};if(_0x453b54['file_name'])return _0x453b54[_0xafde25(0x274)];if(_0x453b54[_0xafde25(0x290)]){const _0x187679=_0x3d758c[_0xafde25(0x35a)](require,_0x3d758c['KDSxc']);try{const _0x5c1fea=_0x187679['parse'](_0x453b54[_0xafde25(0x290)]);if(_0x5c1fea[0x0]&&_0x5c1fea[0x0]['getFileName'])return _0x5c1fea[0x0]['getFileName']();}catch(_0x200aa6){logger[_0xafde25(0x353)](_0xafde25(0x280)+util[_0xafde25(0x2c9)](_0x200aa6));}}return null;}[a75_0x197ab6(0x2b4)](_0x2bd6b6){const _0xcbc398=a75_0x197ab6,_0x2def7f={};_0x2def7f[_0xcbc398(0x27e)]=function(_0x489ac4,_0x5003ac){return _0x489ac4>_0x5003ac;},_0x2def7f[_0xcbc398(0x221)]='Unknown\x20error';const _0xba2954=_0x2def7f;if(_0x2bd6b6[_0xcbc398(0x35b)]&&_0xba2954[_0xcbc398(0x27e)](_0x2bd6b6['errorsDetailed']['length'],0x0))return util['inspect'](_0x2bd6b6[_0xcbc398(0x35b)][0x0]);if(_0x2bd6b6[_0xcbc398(0x360)])return _0x2bd6b6[_0xcbc398(0x360)];return _0xba2954[_0xcbc398(0x221)];}['getJestFailureType'](_0x17d491){const _0x46f88d=a75_0x197ab6,_0x72a13d={};_0x72a13d['MEqCZ']=_0x46f88d(0x2cb),_0x72a13d['wWlwV']=_0x46f88d(0x284),_0x72a13d[_0x46f88d(0x207)]='UnhandledError';const _0xabe1a=_0x72a13d,_0x3f3059=this[_0x46f88d(0x2b4)](_0x17d491);if(_0x3f3059&&_0x3f3059[_0x46f88d(0x256)](_0xabe1a['MEqCZ']))return _0xabe1a[_0x46f88d(0x2ab)];return _0xabe1a['MBgty'];}[a75_0x197ab6(0x25b)](_0x14b848){const _0x5c0610=a75_0x197ab6,_0x18ba21={'lHEUE':function(_0x34a487,_0x1f8033){return _0x34a487(_0x1f8033);},'vFibH':_0x5c0610(0x309),'UmvPe':function(_0xf089fa,_0x57aff7){return _0xf089fa!==_0x57aff7;},'SzjaT':_0x5c0610(0x1f8)},{failureData:_0x60d9c}=_0x18ba21['lHEUE'](require,_0x18ba21[_0x5c0610(0x282)]),_0x1ef9da=[];return _0x18ba21[_0x5c0610(0x1e8)](_0x14b848[_0x5c0610(0x35b)],undefined)&&_0x1ef9da[_0x5c0610(0x2f0)](_0x14b848[_0x5c0610(0x35b)],_0x18ba21['SzjaT']),_0x60d9c['apply'](null,_0x1ef9da);}async[a75_0x197ab6(0x216)](_0x72c518,_0x288672,_0x5880db,_0x396e74){const _0x4054bc=a75_0x197ab6,_0x53f016={'PoAQz':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','jltns':function(_0x145f94){return _0x145f94();},'xsRSV':function(_0x10436a,_0x4fb64a){return _0x10436a in _0x4fb64a;},'lnIRw':function(_0x34a4e1,_0x40daec){return _0x34a4e1 in _0x40daec;},'fWTBY':function(_0x1ee589,_0x3b8d59){return _0x1ee589===_0x3b8d59;},'CUQFV':function(_0xa071cd,_0x3d5ecc){return _0xa071cd===_0x3d5ecc;},'Pypgn':function(_0x5aebe7,_0x3b3551){return _0x5aebe7>_0x3b3551;},'gycZr':'failed','diJCk':_0x4054bc(0x2e1),'ijwKU':function(_0x16685e,_0x59624e){return _0x16685e===_0x59624e;},'auoFu':'[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','fphKr':function(_0x3e10b1,_0x503052){return _0x3e10b1===_0x503052;},'kNltB':function(_0x331dac,_0x40c586){return _0x331dac!==_0x40c586;}},{hookData:_0x466097}=_0x396e74,_0x3fe327=_0x5880db[_0x4054bc(0x30c)](),_0x307a2d=_0x288672[_0x4054bc(0x30c)](),_0x5f1028={};_0x5f1028['depth']=0x2,_0x5f1028[_0x4054bc(0x361)]=0x3,logger[_0x4054bc(0x353)](_0x4054bc(0x297)+_0x307a2d+_0x4054bc(0x220)+_0x3fe327+_0x4054bc(0x2fb)+util[_0x4054bc(0x1e0)](_0x466097,_0x5f1028));if(!_0x466097)return logger[_0x4054bc(0x353)](_0x53f016[_0x4054bc(0x29a)]),{};const _0x3e5958=_0x466097[_0x4054bc(0x24d)]||_0x466097[_0x4054bc(0x250)]||_0x53f016[_0x4054bc(0x20d)](uuidv4),_0x15abac=_0x466097['test_run_id']||this['getJestTestIdentifier'](_0x466097),_0x415037=_0x288672[_0x4054bc(0x30c)]()[_0x4054bc(0x327)]('.')[0x1],_0x698b5b=_0x72c518[_0x4054bc(0x31d)]()[_0x4054bc(0x208)](_0x15abac),_0x56ae06=_0x698b5b?_0x698b5b[TestFrameworkConstants[_0x4054bc(0x23d)]]||{}:{};logger[_0x4054bc(0x353)](_0x4054bc(0x25d)+_0x3e5958+_0x4054bc(0x362)+_0x15abac+_0x4054bc(0x346)+_0x415037+_0x4054bc(0x220)+_0x3fe327);if(!_0x698b5b)return logger[_0x4054bc(0x353)](_0x4054bc(0x1df)+_0x15abac+_0x4054bc(0x1e1)),this[_0x4054bc(0x22b)](_0x72c518,_0x15abac,_0x288672,_0x5880db,_0x396e74),{};let _0x5e2cb7=_0x698b5b[TestFrameworkConstants[_0x4054bc(0x21e)]];!_0x5e2cb7&&(_0x5e2cb7={});!_0x53f016[_0x4054bc(0x238)](_0x415037,_0x5e2cb7)&&(_0x5e2cb7[_0x415037]=[]);let _0x67fd40=_0x698b5b[TestFrameworkConstants[_0x4054bc(0x347)]];!_0x67fd40&&(_0x67fd40={});!_0x53f016[_0x4054bc(0x21b)](_0x415037,_0x67fd40)&&(_0x67fd40[_0x415037]=[]);const _0x582aaf={[_0x15abac]:{[TestFrameworkConstants[_0x4054bc(0x21e)]]:_0x5e2cb7,[TestFrameworkConstants[_0x4054bc(0x347)]]:_0x67fd40,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x4054bc(0x27a)]()[0x0]||'',[TestFrameworkConstants[_0x4054bc(0x23a)]]:this[_0x4054bc(0x211)]()[this[_0x4054bc(0x27a)]()[0x0]]||''}};if(_0x53f016[_0x4054bc(0x318)](_0x5880db,HookState[_0x4054bc(0x35d)])){const _0x14cdfa={'key':_0x415037,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x3e5958,[TestFrameworkConstants[_0x4054bc(0x32b)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x466097[_0x4054bc(0x308)]||new Date()[_0x4054bc(0x2b5)](),[TestFrameworkConstants[_0x4054bc(0x338)]]:[],[TestFrameworkConstants[_0x4054bc(0x340)]]:_0x466097[_0x4054bc(0x24e)]||_0x466097[_0x4054bc(0x319)]||_0x415037,[TestFrameworkConstants[_0x4054bc(0x23d)]]:_0x56ae06};_0x5e2cb7[_0x415037][_0x4054bc(0x2f0)](_0x14cdfa),_0x582aaf[_0x15abac][TestFrameworkConstants[_0x4054bc(0x21a)]]=_0x415037;const _0x4f430c={};_0x4f430c['depth']=0x2,logger[_0x4054bc(0x353)](_0x4054bc(0x2c5)+_0x415037+_0x4054bc(0x31a)+_0x3e5958+_0x4054bc(0x362)+_0x15abac+_0x4054bc(0x359)+util[_0x4054bc(0x1e0)](_0x14cdfa,_0x4f430c));}else{if(_0x53f016[_0x4054bc(0x2c4)](_0x5880db,HookState['POST'])){const _0xdeee66=_0x466097[_0x4054bc(0x245)]||(_0x466097[_0x4054bc(0x35b)]&&_0x53f016['Pypgn'](_0x466097[_0x4054bc(0x35b)][_0x4054bc(0x2ae)],0x0)?_0x53f016[_0x4054bc(0x242)]:_0x53f016[_0x4054bc(0x349)]),_0x5eb648=_0x5e2cb7[_0x415037]||[];logger[_0x4054bc(0x353)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x415037+',\x20testId='+_0x15abac+',\x20result='+_0xdeee66+_0x4054bc(0x32d)+_0x5eb648[_0x4054bc(0x2ae)]);if(_0x53f016[_0x4054bc(0x2c4)](_0x5eb648[_0x4054bc(0x2ae)],0x0)&&_0x53f016[_0x4054bc(0x285)](_0x288672,TestFrameworkState[_0x4054bc(0x2d6)]))return logger[_0x4054bc(0x353)](_0x53f016[_0x4054bc(0x334)]),this['storePendingHook'](_0x72c518,_0x15abac,_0x288672,_0x5880db,_0x396e74),{};if(_0x53f016[_0x4054bc(0x2e3)](_0x5eb648[_0x4054bc(0x2ae)],0x0)){const _0x34e41d=_0x5eb648[_0x4054bc(0x22f)]();_0x53f016['fphKr'](_0xdeee66,_0x53f016[_0x4054bc(0x242)])&&_0x466097[_0x4054bc(0x35b)]?(_0x34e41d[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x4054bc(0x2fa)](_0x466097),_0x34e41d[TestFrameworkConstants[_0x4054bc(0x2e4)]]=this[_0x4054bc(0x2b4)](_0x466097),_0x34e41d[TestFrameworkConstants[_0x4054bc(0x279)]]=this[_0x4054bc(0x25b)](_0x466097),logger[_0x4054bc(0x353)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x415037+',\x20failureType='+_0x34e41d[TestFrameworkConstants[_0x4054bc(0x236)]]+_0x4054bc(0x281)+_0x34e41d[TestFrameworkConstants[_0x4054bc(0x2e4)]]?.[_0x4054bc(0x33e)](0x0,0xc8))):_0x34e41d[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x53f016[_0x4054bc(0x349)];_0x53f016[_0x4054bc(0x32c)](_0xdeee66,TestFrameworkConstants[_0x4054bc(0x34e)])&&(_0x34e41d[TestFrameworkConstants[_0x4054bc(0x32b)]]=_0xdeee66);_0x34e41d[TestFrameworkConstants[_0x4054bc(0x264)]]=_0x466097[_0x4054bc(0x271)]||new Date()[_0x4054bc(0x2b5)](),_0x34e41d[TestFrameworkConstants[_0x4054bc(0x23d)]]=_0x56ae06;const _0x82446d=_0x34e41d[TestFrameworkConstants[_0x4054bc(0x2f6)]];!_0x67fd40[_0x415037]&&(_0x67fd40[_0x415037]=[]);_0x67fd40[_0x415037][_0x4054bc(0x2f0)](_0x34e41d),_0x582aaf[_0x15abac][TestFrameworkConstants[_0x4054bc(0x337)]]=_0x415037;const _0x980519={};_0x980519[_0x4054bc(0x2cc)]=0x2,logger[_0x4054bc(0x353)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x415037+_0x4054bc(0x31a)+_0x82446d+_0x4054bc(0x30e)+_0xdeee66+_0x4054bc(0x359)+util[_0x4054bc(0x1e0)](_0x34e41d,_0x980519));}}}return _0x582aaf;}[a75_0x197ab6(0x2ac)](_0x224d89){const _0x10a6e6=a75_0x197ab6,_0x2a9d17={};_0x2a9d17[_0x10a6e6(0x2a8)]=_0x10a6e6(0x2de);const _0xb9742c=_0x2a9d17;try{const _0x1e4143=_0x224d89[_0x10a6e6(0x1f8)]?this[_0x10a6e6(0x2d0)](_0x224d89[_0x10a6e6(0x1f8)]):_0x224d89[_0x10a6e6(0x1e5)][_0x10a6e6(0x2d2)],_0xd2ba3c=_0x224d89[_0x10a6e6(0x2b3)],_0x21b9a8=_0xd2ba3c[_0x10a6e6(0x2ef)](),_0x97eaee=_0xd2ba3c[_0x10a6e6(0x31d)]()[_0x10a6e6(0x208)](_0x1e4143);if(!_0x97eaee)return logger[_0x10a6e6(0x353)](_0x10a6e6(0x20c)+_0x1e4143),{};const {[TestFrameworkConstants[_0x10a6e6(0x269)]]:_0x42dc21=this[_0x10a6e6(0x27a)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x15c883=this['getTestFrameworksVersions']()[this[_0x10a6e6(0x27a)]()[0x0]]||'',[TestFrameworkConstants[_0x10a6e6(0x218)]]:_0x3787fb='',[TestFrameworkConstants[_0x10a6e6(0x351)]]:_0x4321be=''}=_0x97eaee,_0x3ffb96=_0xd2ba3c[_0x10a6e6(0x22d)]()[_0x10a6e6(0x30c)]()[_0x10a6e6(0x327)]('.')[0x1],_0x2081d9=_0xd2ba3c['getCurrentHookState']()[_0x10a6e6(0x30c)]()[_0x10a6e6(0x327)]('.')[0x1],_0x4db29e=global?.[_0x10a6e6(0x1f6)]?.[_0x10a6e6(0x305)]?.['parallelIndex']||global[_0x10a6e6(0x1ff)]||0x0,_0x2d83f2=_0xd2ba3c[_0x10a6e6(0x2bf)](),_0x26c95c=Buffer[_0x10a6e6(0x209)](JSON[_0x10a6e6(0x212)](_0x97eaee))[_0x10a6e6(0x30c)](_0xb9742c[_0x10a6e6(0x2a8)]),_0x5885de={'hash':_0x21b9a8['getId'](),'threadId':_0x21b9a8[_0x10a6e6(0x275)]()[_0x10a6e6(0x30c)](),'processId':_0x21b9a8[_0x10a6e6(0x1f2)]()[_0x10a6e6(0x30c)]()},_0x5e6eff={};_0x5e6eff[_0x10a6e6(0x369)]=_0x4db29e,_0x5e6eff['testFrameworkName']=_0x42dc21,_0x5e6eff['testFrameworkVersion']=_0x15c883,_0x5e6eff[_0x10a6e6(0x328)]=_0x3ffb96,_0x5e6eff[_0x10a6e6(0x358)]=_0x2081d9,_0x5e6eff[_0x10a6e6(0x24a)]=_0x3787fb,_0x5e6eff['endedAt']=_0x4321be,_0x5e6eff[_0x10a6e6(0x24d)]=_0x2d83f2,_0x5e6eff[_0x10a6e6(0x27b)]=_0x26c95c,_0x5e6eff[_0x10a6e6(0x363)]=_0x5885de,_0x5e6eff[_0x10a6e6(0x27f)]=_0x1e4143;const _0x33f4f2=_0x5e6eff;return _0x33f4f2;}catch(_0x87478d){return logger[_0x10a6e6(0x32f)](_0x10a6e6(0x259)+util[_0x10a6e6(0x2c9)](_0x87478d)),{};}}async[a75_0x197ab6(0x22c)](_0x108cdf,_0x366796,_0x35dc97){const _0x180299=a75_0x197ab6,_0x3347fd={'rVzzp':function(_0x1e0d87,_0xe8fbe3){return _0x1e0d87+_0xe8fbe3;},'PZgLW':_0x180299(0x32a),'XVivO':'none','PtxTQ':function(_0x3d72df,_0x303ec1){return _0x3d72df>_0x303ec1;},'aKwPh':function(_0xb768c3,_0x1d783,_0x4b3b7f,_0x389f07){return _0xb768c3(_0x1d783,_0x4b3b7f,_0x389f07);},'YFFMC':function(_0x1a88a5,_0x14e6cb){return _0x1a88a5-_0x14e6cb;},'DHcyv':function(_0x35702c,_0x215e7b){return _0x35702c===_0x215e7b;},'lbsaq':function(_0x488dc1,_0x459ac8){return _0x488dc1/_0x459ac8;},'ROixQ':function(_0x33b511,_0x2b9844){return _0x33b511<_0x2b9844;},'KQrzF':function(_0x7b9808,_0x1c7dc0){return _0x7b9808*_0x1c7dc0;},'CJuqw':function(_0x277a00,_0x317fea){return _0x277a00+_0x317fea;},'RnlxM':function(_0x53665e,_0x44b159){return _0x53665e+_0x44b159;},'VIvII':function(_0x185ee5,_0x2b00bb){return _0x185ee5+_0x2b00bb;}};try{const _0x58f30f=_0x35dc97[_0x180299(0x2c0)]||_0x35dc97[_0x180299(0x2ca)],_0x39fde9=Array[_0x180299(0x209)](_0x108cdf[_0x180299(0x31d)]()[_0x180299(0x2c6)]()),_0x571616=_0x108cdf[_0x180299(0x31d)]()['get'](_0x58f30f);if(!_0x571616){logger[_0x180299(0x353)](_0x180299(0x367)+_0x58f30f);return;}const {[TestFrameworkConstants[_0x180299(0x269)]]:_0x29e6a5='',[TestFrameworkConstants[_0x180299(0x23a)]]:_0x1d7719=''}=_0x571616;let _0x506bdc=[];_0x571616&&_0x571616[TestFrameworkConstants[_0x180299(0x329)]]&&Array[_0x180299(0x1e6)](_0x571616[TestFrameworkConstants['KEY_LOGS']])?(_0x506bdc=_0x571616[TestFrameworkConstants[_0x180299(0x329)]]||[],logger[_0x180299(0x353)](_0x180299(0x348)+_0x506bdc[_0x180299(0x2ae)]+_0x180299(0x330)+_0x58f30f),_0x108cdf[_0x180299(0x2a3)]({[_0x58f30f]:{[TestFrameworkConstants[_0x180299(0x329)]]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x180299(0x27a)]()[0x0]||'',[TestFrameworkConstants[_0x180299(0x23a)]]:this['getTestFrameworksVersions']()[this[_0x180299(0x27a)]()[0x0]]||''}}),logger['debug'](_0x180299(0x26a)+_0x58f30f)):logger[_0x180299(0x353)](_0x180299(0x1f4)+_0x58f30f);logger['debug'](_0x180299(0x2a4)+_0x506bdc[_0x180299(0x2ae)]+'\x20for\x20testId:\x20'+_0x58f30f);const _0xce38e3=_0x506bdc[_0x180299(0x2da)](_0x50b763=>_0x50b763['kind']===_0x180299(0x258));_0x3347fd[_0x180299(0x1f1)](_0xce38e3[_0x180299(0x2ae)],0x0)&&(logger[_0x180299(0x353)](_0x180299(0x352)+_0xce38e3['length']+_0x180299(0x28c)+_0x58f30f),_0xce38e3['forEach']((_0x1c43cd,_0xadb245)=>{const _0x2b5767=_0x180299;logger[_0x2b5767(0x353)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x3347fd[_0x2b5767(0x219)](_0xadb245,0x1)+'/'+_0xce38e3[_0x2b5767(0x2ae)]+_0x2b5767(0x2ad)+(_0x1c43cd[_0x2b5767(0x27f)]||_0x3347fd['PZgLW'])+',\x20test_run_uuid='+(_0x1c43cd[_0x2b5767(0x35f)]||_0x3347fd['PZgLW'])+_0x2b5767(0x210)+(_0x1c43cd[_0x2b5767(0x2c8)]||_0x3347fd[_0x2b5767(0x2fd)])+_0x2b5767(0x24b)+(_0x1c43cd[_0x2b5767(0x29b)]?.[_0x2b5767(0x2ae)]||0x0));}));const _0x466d0c=_0x571616[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x20ada5=_0x3347fd['aKwPh'](getMediaArtifactsLogs,_0x466d0c,null,_0x58f30f),_0x21ee41=(_0x506bdc||[])[_0x180299(0x2ee)](_0x20ada5||[]),_0x174abe=_0xce38e3?.[_0x180299(0x2ae)]||0x0,_0x397707=_0x3347fd[_0x180299(0x2f2)](_0x506bdc?.[_0x180299(0x2ae)]||0x0,_0x174abe);logger['debug'](_0x180299(0x355)+_0x58f30f+_0x180299(0x226)+_0x397707+_0x180299(0x2e7)+_0x174abe+_0x180299(0x267)+(_0x20ada5?.[_0x180299(0x2ae)]||0x0)+_0x180299(0x296)+_0x21ee41[_0x180299(0x2ae)]);if(!_0x21ee41||_0x3347fd['DHcyv'](_0x21ee41[_0x180299(0x2ae)],0x0)){logger[_0x180299(0x353)](_0x180299(0x2a1)+_0x58f30f);return;}const _0x3af3e4=0x28,_0x13cec2=Math[_0x180299(0x366)](_0x3347fd['lbsaq'](_0x21ee41[_0x180299(0x2ae)],_0x3af3e4));for(let _0x2058c2=0x0;_0x3347fd['ROixQ'](_0x2058c2,_0x13cec2);_0x2058c2++){const _0x46dc77=_0x3347fd[_0x180299(0x316)](_0x2058c2,_0x3af3e4),_0x1c0a85=_0x3347fd[_0x180299(0x255)](_0x46dc77,_0x3af3e4),_0x4dc525=_0x21ee41[_0x180299(0x368)](_0x46dc77,_0x1c0a85),_0x9af85f=global?.['browserstackPlatformIndex']??0x0,_0x301735={'platformIndex':_0x9af85f,'logs':_0x4dc525,'testFrameworkName':_0x29e6a5,'testFrameworkVersion':_0x1d7719,'testFrameworkState':_0x366796[_0x180299(0x30c)]()[_0x180299(0x327)]('.')[0x1]},_0x5ecb5e={};_0x5ecb5e[_0x180299(0x2cc)]=0x3,_0x5ecb5e[_0x180299(0x361)]=0x5,logger['debug'](_0x180299(0x2b9)+_0x3347fd['RnlxM'](_0x2058c2,0x1)+'/'+_0x13cec2+_0x180299(0x20e)+_0x58f30f+_0x180299(0x29c)+_0x4dc525['length']+',\x20platformIndex:\x20'+_0x9af85f+',\x20payload:\x20'+util[_0x180299(0x1e0)](_0x301735,_0x5ecb5e));const _0x1ed454=await GrpcClient[_0x180299(0x2e5)]()[_0x180299(0x30a)](_0x301735);logger[_0x180299(0x353)](_0x180299(0x2b9)+_0x3347fd['VIvII'](_0x2058c2,0x1)+'/'+_0x13cec2+_0x180299(0x20e)+_0x58f30f+_0x180299(0x254)+util[_0x180299(0x1e0)](_0x1ed454));}_0x20ada5&&_0x3347fd['PtxTQ'](_0x20ada5['length'],0x0)&&_0x571616[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x108cdf[_0x180299(0x2a3)]({[_0x58f30f]:{[TestFrameworkConstants[_0x180299(0x311)]]:{},[TestFrameworkConstants[_0x180299(0x269)]]:this[_0x180299(0x27a)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x180299(0x211)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x180299(0x353)](_0x180299(0x225)+_0x58f30f+',\x20totalBatches:\x20'+_0x13cec2);}catch(_0x2cbdc5){logger[_0x180299(0x32f)](_0x180299(0x2ea)+(_0x35dc97[_0x180299(0x2c0)]||_0x35dc97[_0x180299(0x2ca)])+',\x20error:\x20'+util[_0x180299(0x2c9)](_0x2cbdc5));}}['storePendingHook'](_0x342671,_0xb43a0d,_0x58ad6e,_0x34caad,_0x2a5260){const _0x4274b6=a75_0x197ab6,_0x7ec715={};_0x7ec715[_0x4274b6(0x241)]=function(_0x58dc16,_0x19d870){return _0x58dc16===_0x19d870;},_0x7ec715[_0x4274b6(0x2a9)]='beforeAll';const _0x57367d=_0x7ec715,{hookData:_0x27fc6a}=_0x2a5260,_0x538398={'testId':_0xb43a0d,'testFrameworkState':_0x58ad6e,'hookState':_0x34caad,'args':_0x2a5260,'timestamp':new Date()[_0x4274b6(0x2b5)]()};if(_0x57367d['CugjQ'](_0x58ad6e,TestFrameworkState[_0x4274b6(0x2d6)])&&_0x27fc6a){const _0x2de8ea={};_0x2de8ea[_0x4274b6(0x2ff)]=_0x27fc6a[_0x4274b6(0x274)]||_0x27fc6a['location'],_0x2de8ea[_0x4274b6(0x1fb)]=_0x27fc6a['scope']||_0x27fc6a[_0x4274b6(0x217)]&&_0x27fc6a['scopes'][0x0]||'',_0x2de8ea[_0x4274b6(0x240)]=_0x57367d['qeeVQ'],_0x538398['hookMetadata']=_0x2de8ea,logger[_0x4274b6(0x353)](_0x4274b6(0x270)+_0xb43a0d+_0x4274b6(0x1fe)+_0x538398[_0x4274b6(0x2d8)][_0x4274b6(0x2ff)]+_0x4274b6(0x262)+_0x538398[_0x4274b6(0x2d8)][_0x4274b6(0x1fb)]);}_0x342671['addPendingHook'](_0xb43a0d,_0x538398),logger[_0x4274b6(0x353)](_0x4274b6(0x339)+_0xb43a0d+_0x4274b6(0x1f5)+_0x58ad6e+',\x20hookState:\x20'+_0x34caad);}async['processPendingHooks'](_0x113ce5,_0x4ae0be){const _0x590d65=a75_0x197ab6,_0x4e01a6={};_0x4e01a6[_0x590d65(0x1ea)]=function(_0x3bad95,_0x148191){return _0x3bad95>_0x148191;},_0x4e01a6['RMYli']=function(_0x248957,_0x16d21a){return _0x248957===_0x16d21a;},_0x4e01a6[_0x590d65(0x286)]=function(_0x27085a,_0x50ef73){return _0x27085a===_0x50ef73;},_0x4e01a6[_0x590d65(0x200)]=function(_0x17457e,_0x82880){return _0x17457e===_0x82880;},_0x4e01a6['UKJqm']=function(_0x4629fc,_0x1d129d){return _0x4629fc>_0x1d129d;},_0x4e01a6['qDaKO']=_0x590d65(0x26b);const _0x2eea75=_0x4e01a6;if(_0x113ce5[_0x590d65(0x2b7)](_0x4ae0be)){const _0x57af8c=_0x113ce5[_0x590d65(0x293)](_0x4ae0be);logger[_0x590d65(0x353)](_0x590d65(0x2bd)+_0x57af8c[_0x590d65(0x2ae)]+_0x590d65(0x228)+_0x4ae0be);for(const _0x51c667 of _0x57af8c){try{const _0x561554=await this[_0x590d65(0x216)](_0x113ce5,_0x51c667[_0x590d65(0x328)],_0x51c667[_0x590d65(0x358)],_0x51c667[_0x590d65(0x205)]);_0x561554&&_0x2eea75['kZbza'](Object[_0x590d65(0x2c6)](_0x561554)[_0x590d65(0x2ae)],0x0)&&_0x113ce5[_0x590d65(0x2a3)](_0x561554),await this[_0x590d65(0x307)](_0x113ce5,_0x51c667[_0x590d65(0x328)],_0x51c667[_0x590d65(0x358)],_0x51c667[_0x590d65(0x205)]);}catch(_0x1f9133){logger[_0x590d65(0x32f)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x4ae0be+_0x590d65(0x2c3)+_0x1f9133);}}_0x113ce5[_0x590d65(0x30b)](_0x4ae0be),logger[_0x590d65(0x353)](_0x590d65(0x25f)+_0x4ae0be);}const _0x3c23cb=_0x113ce5[_0x590d65(0x31d)]()['get'](_0x4ae0be);if(_0x3c23cb){const _0x124588=_0x3c23cb[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x3c23cb[TestFrameworkConstants[_0x590d65(0x357)]],_0x1dd1a4=_0x3c23cb[TestFrameworkConstants[_0x590d65(0x231)]]||_0x3c23cb[TestFrameworkConstants[_0x590d65(0x34b)]]&&_0x3c23cb[TestFrameworkConstants[_0x590d65(0x34b)]][0x0]||'';logger[_0x590d65(0x353)](_0x590d65(0x2e6)+_0x124588+',\x20scope:\x20'+_0x1dd1a4);const _0x31325b=_0x113ce5[_0x590d65(0x21f)]();for(const _0x12a839 of _0x31325b){if(_0x2eea75['RMYli'](_0x12a839,_0x4ae0be))continue;if(_0x113ce5[_0x590d65(0x2b7)](_0x12a839)){const _0x2b71d4=_0x113ce5[_0x590d65(0x293)](_0x12a839);for(const _0x520e54 of _0x2b71d4){if(_0x2eea75[_0x590d65(0x1ee)](_0x520e54[_0x590d65(0x328)],TestFrameworkState['BEFORE_ALL'])&&_0x520e54['hookMetadata']){const _0x34f328=_0x520e54[_0x590d65(0x2d8)][_0x590d65(0x2ff)],_0x1f356f=_0x520e54[_0x590d65(0x2d8)][_0x590d65(0x1fb)];if(_0x2eea75[_0x590d65(0x286)](_0x34f328,_0x124588)&&_0x2eea75['pjIpC'](_0x1f356f,_0x1dd1a4)){logger['debug'](_0x590d65(0x214)+_0x12a839+_0x590d65(0x291)+_0x4ae0be+_0x590d65(0x1fe)+_0x34f328+_0x590d65(0x262)+_0x1f356f);_0x520e54[_0x590d65(0x205)]&&_0x520e54['args']['hookData']&&(_0x520e54[_0x590d65(0x205)][_0x590d65(0x1e5)][_0x590d65(0x2d2)]=_0x4ae0be,logger['debug'](_0x590d65(0x324)+_0x12a839+_0x590d65(0x283)+_0x4ae0be));try{const _0x2770b3=await this[_0x590d65(0x216)](_0x113ce5,_0x520e54[_0x590d65(0x328)],_0x520e54[_0x590d65(0x358)],_0x520e54[_0x590d65(0x205)]);_0x2770b3&&_0x2eea75[_0x590d65(0x29f)](Object[_0x590d65(0x2c6)](_0x2770b3)[_0x590d65(0x2ae)],0x0)&&_0x113ce5[_0x590d65(0x2a3)](_0x2770b3);await this[_0x590d65(0x307)](_0x113ce5,_0x520e54[_0x590d65(0x328)],_0x520e54['hookState'],_0x520e54['args']);const _0x4a545c=_0x113ce5[_0x590d65(0x293)](_0x12a839)[_0x590d65(0x2da)](_0x9f64b6=>_0x9f64b6!==_0x520e54);if(_0x2eea75[_0x590d65(0x286)](_0x4a545c[_0x590d65(0x2ae)],0x0))_0x113ce5[_0x590d65(0x30b)](_0x12a839);else{_0x113ce5['removePendingHooks'](_0x12a839);for(const _0x17d135 of _0x4a545c){_0x113ce5['addPendingHook'](_0x12a839,_0x17d135);}}logger[_0x590d65(0x353)](_0x2eea75['qDaKO']);}catch(_0x1c7599){logger[_0x590d65(0x32f)](_0x590d65(0x1fa)+_0x4ae0be+',\x20error:\x20'+_0x1c7599);}}}}}}}}[a75_0x197ab6(0x323)](_0x46691b){const _0x99b205=a75_0x197ab6,_0xc50919={'IpCRL':function(_0x4b7327){return _0x4b7327();}};if(!_0x46691b||!_0x46691b[_0x99b205(0x306)])return;_0x46691b['parent']['hooks']&&Array[_0x99b205(0x1e6)](_0x46691b[_0x99b205(0x306)][_0x99b205(0x2c1)])&&_0x46691b['parent'][_0x99b205(0x2c1)][_0x99b205(0x364)](_0x95b0a7=>{const _0x528649=_0x99b205;!_0x95b0a7[_0x528649(0x250)]&&!_0x95b0a7[_0x528649(0x2b1)]&&(_0x95b0a7[_0x528649(0x250)]=_0xc50919[_0x528649(0x2eb)](uuidv4),_0x95b0a7[_0x528649(0x2b1)]=_0x95b0a7[_0x528649(0x250)],logger['debug'](_0x528649(0x1e9)+_0x95b0a7[_0x528649(0x24c)]+_0x528649(0x344)+_0x95b0a7[_0x528649(0x250)]));}),this[_0x99b205(0x323)](_0x46691b['parent']);}[a75_0x197ab6(0x326)](_0x472402){const _0x5b0a51=a75_0x197ab6,_0x216580={'WLKhu':function(_0x4ea556,_0x33f587){return _0x4ea556(_0x33f587);}};if(!_0x472402||!_0x472402['parent'])return[];const _0x3fee5e=[];return _0x472402[_0x5b0a51(0x306)][_0x5b0a51(0x2c1)]&&Array['isArray'](_0x472402[_0x5b0a51(0x306)][_0x5b0a51(0x2c1)])&&_0x472402[_0x5b0a51(0x306)][_0x5b0a51(0x2c1)]['forEach'](_0x358844=>{const _0x117f12=_0x5b0a51,_0x442463=_0x358844[_0x117f12(0x250)]||_0x358844[_0x117f12(0x2b1)];_0x442463&&!this[_0x117f12(0x354)](_0x358844)&&!_0x216580['WLKhu'](isInternalHook,_0x358844['fn'])&&_0x3fee5e['push'](_0x442463);}),[..._0x3fee5e,...this[_0x5b0a51(0x326)](_0x472402['parent'])];}['buildHookMapFromTest'](_0xc3e705){const _0x2f2ba4={'bVopP':function(_0x2fe1a0,_0x887907){return _0x2fe1a0(_0x887907);},'wUdoW':'unknown','KcKyA':function(_0x265baa,_0x5ec377){return _0x265baa(_0x5ec377);}},_0x4189ab=new Map(),_0x2aaca8=_0x303716=>{const _0x3d216d=a75_0x24bb;if(!_0x303716||!_0x303716[_0x3d216d(0x306)])return;_0x303716[_0x3d216d(0x306)]['hooks']&&Array[_0x3d216d(0x1e6)](_0x303716[_0x3d216d(0x306)][_0x3d216d(0x2c1)])&&_0x303716[_0x3d216d(0x306)][_0x3d216d(0x2c1)][_0x3d216d(0x364)](_0x784a3=>{const _0x11c881=_0x3d216d,_0x5d2171=_0x784a3[_0x11c881(0x250)]||_0x784a3[_0x11c881(0x2b1)];if(_0x5d2171&&!this[_0x11c881(0x354)](_0x784a3)&&!_0x2f2ba4[_0x11c881(0x22a)](isInternalHook,_0x784a3['fn'])){const _0x414ec4={};_0x414ec4['type']=_0x784a3[_0x11c881(0x24c)]||_0x2f2ba4[_0x11c881(0x365)],_0x414ec4[_0x11c881(0x24e)]=_0x784a3[_0x11c881(0x24e)]||'\x22'+_0x784a3[_0x11c881(0x24c)]+_0x11c881(0x2fc),_0x4189ab[_0x11c881(0x2af)](_0x5d2171,_0x414ec4);}}),_0x2f2ba4[_0x3d216d(0x22a)](_0x2aaca8,_0x303716['parent']);};return _0x2f2ba4['KcKyA'](_0x2aaca8,_0xc3e705),_0x4189ab;}[a75_0x197ab6(0x354)](_0x13f67a){const _0x48c860=a75_0x197ab6,_0x4e498f={};_0x4e498f['wcggb']='jest-circus',_0x4e498f[_0x48c860(0x331)]=_0x48c860(0x252);const _0x507ff2=_0x4e498f;try{const _0xaa262c=this[_0x48c860(0x31f)](_0x13f67a);return _0xaa262c&&_0xaa262c[_0x48c860(0x256)](_0x507ff2[_0x48c860(0x2a7)]);}catch(_0x1d98a4){logger[_0x48c860(0x353)](_0x507ff2[_0x48c860(0x331)]);}return![];}[a75_0x197ab6(0x31f)](_0x2d8e1a){const _0x237321=a75_0x197ab6;if(_0x2d8e1a[_0x237321(0x290)])try{const _0x48c106=stackTrace[_0x237321(0x27d)](_0x2d8e1a[_0x237321(0x290)]);return _0x48c106[0x0]?_0x48c106[0x0]['getFileName']():null;}catch(_0x39d6b5){logger['debug'](_0x237321(0x2d9)+util[_0x237321(0x2c9)](_0x39d6b5));}if(_0x2d8e1a[_0x237321(0x343)])return _0x2d8e1a[_0x237321(0x343)];return null;}}module['exports']=JestTestFramework;
@@ -1 +1 @@
1
- const a76_0x55a47d=a76_0x284c;function a76_0x284c(_0x251958,_0x337777){const _0x25d0c7=a76_0x25d0();return a76_0x284c=function(_0x284c7f,_0x46102f){_0x284c7f=_0x284c7f-0x199;let _0x384b7b=_0x25d0c7[_0x284c7f];return _0x384b7b;},a76_0x284c(_0x251958,_0x337777);}(function(_0x1ddcbe,_0x129533){const _0x199906=a76_0x284c,_0x4f850b=_0x1ddcbe();while(!![]){try{const _0x22da86=parseInt(_0x199906(0x1a4))/0x1+-parseInt(_0x199906(0x1ad))/0x2*(-parseInt(_0x199906(0x19e))/0x3)+-parseInt(_0x199906(0x19b))/0x4*(-parseInt(_0x199906(0x1af))/0x5)+parseInt(_0x199906(0x19a))/0x6+-parseInt(_0x199906(0x1aa))/0x7+parseInt(_0x199906(0x1c0))/0x8+-parseInt(_0x199906(0x1b0))/0x9;if(_0x22da86===_0x129533)break;else _0x4f850b['push'](_0x4f850b['shift']());}catch(_0x231d1e){_0x4f850b['push'](_0x4f850b['shift']());}}}(a76_0x25d0,0xf20d3));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a76_0x55a47d(0x1a2)),CLIUtils=require(a76_0x55a47d(0x1b3)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a76_0x55a47d(0x1b2));class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a76_0x55a47d(0x1ab));constructor(_0x14e3b2,_0x221a23){super(_0x14e3b2,_0x221a23);}async['trackEvent'](_0x28fd13,_0x257e66,_0x58f1e5={}){const _0x1df9e5=a76_0x55a47d,_0x165996={};_0x165996[_0x1df9e5(0x1bd)]=function(_0x54a61c,_0x4ecd00){return _0x54a61c===_0x4ecd00;};const _0x367906=_0x165996;this[_0x1df9e5(0x19f)][_0x1df9e5(0x1b6)](_0x1df9e5(0x1ae)+_0x28fd13+_0x1df9e5(0x1b1)+_0x257e66),await super['trackEvent'](_0x28fd13,_0x257e66,_0x58f1e5);const _0x298fb3=this[_0x1df9e5(0x1a9)](_0x28fd13,_0x257e66,_0x58f1e5);if(_0x367906[_0x1df9e5(0x1bd)](_0x298fb3,null))return;_0x58f1e5['instance']=_0x298fb3,await this[_0x1df9e5(0x1ba)](_0x298fb3,_0x28fd13,_0x257e66,_0x58f1e5);}[a76_0x55a47d(0x1a9)](_0x4617d5,_0x404e78,_0x120e20={}){const _0x90d88e=a76_0x55a47d,_0x4537f9={};_0x4537f9[_0x90d88e(0x19c)]=function(_0x349c99,_0x23446e){return _0x349c99===_0x23446e;},_0x4537f9[_0x90d88e(0x1b5)]=function(_0x50844a,_0x2cddef){return _0x50844a===_0x2cddef;};const _0x5dfa78=_0x4537f9;let _0x3c445d=null;return(_0x5dfa78['SLzTx'](_0x4617d5,AutomationFrameworkState[_0x90d88e(0x1a0)])||_0x5dfa78[_0x90d88e(0x1b5)](_0x4617d5,AutomationFrameworkState[_0x90d88e(0x1a3)])&&(_0x120e20[_0x90d88e(0x1bf)]&&_0x120e20[_0x90d88e(0x1bf)][_0x90d88e(0x1a5)]&&_0x120e20[_0x90d88e(0x1bf)]['params'][_0x90d88e(0x1be)])||_0x5dfa78['SLzTx'](_0x4617d5,AutomationFrameworkState[_0x90d88e(0x1b8)]))&&this[_0x90d88e(0x1b4)](_0x4617d5,_0x120e20),_0x3c445d=AutomationFramework[_0x90d88e(0x1a8)](),_0x3c445d;}['trackPlaywrightInstance'](_0x54a43a,_0x1cc058){const _0x527110=a76_0x55a47d,_0x14e3f6={};_0x14e3f6['vwSlJ']=_0x527110(0x1b7);const _0xde9f7e=_0x14e3f6;if(AutomationFramework['getTrackedInstance']()){this['logger'][_0x527110(0x1c1)](_0xde9f7e[_0x527110(0x1a1)]);return;}const _0x2bff24=CLIUtils[_0x527110(0x1bc)](),_0x2e3a2e=TrackedInstance[_0x527110(0x1b9)](_0x2bff24);let _0x1d8a8f=null;this[_0x527110(0x19f)][_0x527110(0x1c1)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x2bff24+_0x527110(0x1a6)+_0x54a43a),_0x1d8a8f=new AutomationFrameworkInstance(_0x2e3a2e,this['getAutomationFrameworkName'](),this[_0x527110(0x19d)](),_0x54a43a),AutomationFramework[_0x527110(0x199)](_0x2e3a2e,_0x1d8a8f),this[_0x527110(0x19f)][_0x527110(0x1c1)](_0x527110(0x1a7)+_0x2e3a2e[_0x527110(0x1bb)]()+'\x20target='+_0x2bff24);}}function a76_0x25d0(){const _0x23f104=['PLAYWRIGHT_DISPATCH','190981UWxVEJ','params',',\x20state=','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','getTrackedInstance','resolveInstance','209594stENkA','PlaywrightAutomationFramework','exports','30MqqmQT','trackEvent:\x20automationFrameworkState=','5VtgsXS','31772367LWRJHn','\x20hookState=','../instances/automationFrameworkInstance.js','../cliUtils.js','trackPlaywrightInstance','dJdAZ','debug','trackPlaywrightInstance:\x20instance\x20already\x20exists','NONE','createContext','runHooks','getId','getCurrentInstanceName','krjlb','bsParams','message','7700296AMfmgO','info','setTrackedInstance','4237068ZYwVCu','7188748qBkYKq','SLzTx','getAutomationFrameworkVersion','178953erHqvx','logger','CREATE','vwSlJ','../state/automationFrameworkState.js'];a76_0x25d0=function(){return _0x23f104;};return a76_0x25d0();}module[a76_0x55a47d(0x1ac)]=PlaywrightAutomationFramework;
1
+ const a76_0x5bd857=a76_0x4c3d;function a76_0x4c3d(_0x10fb77,_0x248327){const _0x2e8ade=a76_0x2e8a();return a76_0x4c3d=function(_0x4c3d6b,_0x26bfe3){_0x4c3d6b=_0x4c3d6b-0x8a;let _0x56f43d=_0x2e8ade[_0x4c3d6b];return _0x56f43d;},a76_0x4c3d(_0x10fb77,_0x248327);}(function(_0x344245,_0x30aede){const _0x5b69ed=a76_0x4c3d,_0x233581=_0x344245();while(!![]){try{const _0x222a2c=-parseInt(_0x5b69ed(0x91))/0x1+parseInt(_0x5b69ed(0x93))/0x2+-parseInt(_0x5b69ed(0xa6))/0x3+parseInt(_0x5b69ed(0x90))/0x4*(-parseInt(_0x5b69ed(0x94))/0x5)+-parseInt(_0x5b69ed(0xa8))/0x6+-parseInt(_0x5b69ed(0x98))/0x7*(parseInt(_0x5b69ed(0x97))/0x8)+parseInt(_0x5b69ed(0xad))/0x9;if(_0x222a2c===_0x30aede)break;else _0x233581['push'](_0x233581['shift']());}catch(_0x3b7641){_0x233581['push'](_0x233581['shift']());}}}(a76_0x2e8a,0x375ff));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require(a76_0x5bd857(0xa1)),TrackedInstance=require(a76_0x5bd857(0x8a)),AutomationFrameworkInstance=require(a76_0x5bd857(0x9d));function a76_0x2e8a(){const _0x2e73b3=['runHooks','getTrackedInstance','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','../instances/trackedInstance.js','NONE','trackEvent','info','logger','trackPlaywrightInstance','56OqPRVA','222619sLrXKW','getAutomationFrameworkVersion','591392ZEMKkJ','11440yqQaiz','gnTQE','params','40PKGVDy','75243TLdanZ','resolveInstance','trackEvent:\x20automationFrameworkState=','setTrackedInstance','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','../instances/automationFrameworkInstance.js','instance','EKtss','\x20target=','../cliUtils.js','message','getId','debug','trackPlaywrightInstance:\x20instance\x20already\x20exists','204585QEpXeg','bsParams','1740840KbhKPI','getCurrentInstanceName','iahNN','PlaywrightAutomationFramework','getAutomationFrameworkName','5380650dVtoEw','PLAYWRIGHT_DISPATCH'];a76_0x2e8a=function(){return _0x2e73b3;};return a76_0x2e8a();}class PlaywrightAutomationFramework extends AutomationFramework{[a76_0x5bd857(0x8e)]=createClassLogger(a76_0x5bd857(0xab));constructor(_0x5ba5a5,_0x3f2f5b){super(_0x5ba5a5,_0x3f2f5b);}async[a76_0x5bd857(0x8c)](_0x47c943,_0x2dcd28,_0x31f520={}){const _0x41d040=a76_0x5bd857,_0x328d2a={};_0x328d2a['WSCvX']=function(_0x1b18b7,_0x23b76){return _0x1b18b7===_0x23b76;};const _0x44ed6c=_0x328d2a;this[_0x41d040(0x8e)][_0x41d040(0xa4)](_0x41d040(0x9a)+_0x47c943+'\x20hookState='+_0x2dcd28),await super[_0x41d040(0x8c)](_0x47c943,_0x2dcd28,_0x31f520);const _0x31ed7d=this[_0x41d040(0x99)](_0x47c943,_0x2dcd28,_0x31f520);if(_0x44ed6c['WSCvX'](_0x31ed7d,null))return;_0x31f520[_0x41d040(0x9e)]=_0x31ed7d,await this[_0x41d040(0xaf)](_0x31ed7d,_0x47c943,_0x2dcd28,_0x31f520);}[a76_0x5bd857(0x99)](_0x207b28,_0x4c765d,_0x50e95a={}){const _0xe93f38=a76_0x5bd857,_0x534cfd={};_0x534cfd[_0xe93f38(0x95)]=function(_0xaf2582,_0x559270){return _0xaf2582===_0x559270;},_0x534cfd[_0xe93f38(0xaa)]=function(_0x28a454,_0x18b979){return _0x28a454===_0x18b979;};const _0x471e35=_0x534cfd;let _0x5592e5=null;return(_0x471e35[_0xe93f38(0x95)](_0x207b28,AutomationFrameworkState['CREATE'])||_0x471e35[_0xe93f38(0xaa)](_0x207b28,AutomationFrameworkState[_0xe93f38(0xae)])&&(_0x50e95a[_0xe93f38(0xa2)]&&_0x50e95a[_0xe93f38(0xa2)][_0xe93f38(0x96)]&&_0x50e95a[_0xe93f38(0xa2)][_0xe93f38(0x96)][_0xe93f38(0xa7)])||_0x471e35[_0xe93f38(0x95)](_0x207b28,AutomationFrameworkState[_0xe93f38(0x8b)]))&&this['trackPlaywrightInstance'](_0x207b28,_0x50e95a),_0x5592e5=AutomationFramework[_0xe93f38(0xb0)](),_0x5592e5;}[a76_0x5bd857(0x8f)](_0x105b1b,_0x2bb831){const _0x55f84d=a76_0x5bd857,_0x159f9d={};_0x159f9d['EKtss']=_0x55f84d(0xa5);const _0x1b1db5=_0x159f9d;if(AutomationFramework[_0x55f84d(0xb0)]()){this[_0x55f84d(0x8e)][_0x55f84d(0x8d)](_0x1b1db5[_0x55f84d(0x9f)]);return;}const _0x4e8432=CLIUtils[_0x55f84d(0xa9)](),_0x20e1d5=TrackedInstance['createContext'](_0x4e8432);let _0xc854a3=null;this[_0x55f84d(0x8e)][_0x55f84d(0x8d)](_0x55f84d(0x9c)+_0x4e8432+',\x20state='+_0x105b1b),_0xc854a3=new AutomationFrameworkInstance(_0x20e1d5,this[_0x55f84d(0xac)](),this[_0x55f84d(0x92)](),_0x105b1b),AutomationFramework[_0x55f84d(0x9b)](_0x20e1d5,_0xc854a3),this['logger']['info'](_0x55f84d(0xb1)+_0x20e1d5[_0x55f84d(0xa3)]()+_0x55f84d(0xa0)+_0x4e8432);}}module['exports']=PlaywrightAutomationFramework;
@@ -1 +1 @@
1
- const a77_0x352f42=a77_0x4235;(function(_0x27e6af,_0x1a2f3a){const _0x265490=a77_0x4235,_0x256b72=_0x27e6af();while(!![]){try{const _0x6f6666=parseInt(_0x265490(0x13b))/0x1+-parseInt(_0x265490(0x182))/0x2*(-parseInt(_0x265490(0x1cc))/0x3)+-parseInt(_0x265490(0x153))/0x4+parseInt(_0x265490(0x20d))/0x5*(parseInt(_0x265490(0x206))/0x6)+-parseInt(_0x265490(0x147))/0x7+parseInt(_0x265490(0x19b))/0x8*(-parseInt(_0x265490(0x1cb))/0x9)+parseInt(_0x265490(0x150))/0xa;if(_0x6f6666===_0x1a2f3a)break;else _0x256b72['push'](_0x256b72['shift']());}catch(_0x519d0c){_0x256b72['push'](_0x256b72['shift']());}}}(a77_0x5321,0x60656));const TestFramework=require(a77_0x352f42(0x19f)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a77_0x352f42(0x1e9)),{createClassLogger}=require(a77_0x352f42(0x1f4)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a77_0x352f42(0x174)),logger=createClassLogger(a77_0x352f42(0x1a5)),{v4:uuidv4}=require(a77_0x352f42(0x17f)),util=require(a77_0x352f42(0x1a6)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x352f42(0x129)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a77_0x352f42(0x1ca)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x352f42(0x127)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x352f42(0x177)),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x352f42(0x177)),path=require(a77_0x352f42(0x1bd)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x352f42(0x15e));function a77_0x5321(){const _0x3e51ce=['logCreatedEvent','NbmZQ','errors','getCurrentHookState','285050rFMJLl','KEY_EVENT_STARTED_AT','\x20response=','hrbPC','kCvHo','format','Diojh','PConR','result','testUId','YKNSL','getTestFrameworks','3187373nvRlaN','size','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_STARTED_AT','\x20hookState:\x20','getInstance','TBhNf','\x20hookState=','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','7057070diWfjU','DEFAULT_HOOK_RESULT','getTime','1566828UDhcVL','QAAdV','PgLfJ','NoxWj','createContext','dEIMY','KEY_TEST_FAILURE_REASON','filePath','\x20batch\x20','zbMjz','KEY_AUTOMATE_SESSION_NAME','../../utils/constants','debug','POST','TEST','Error\x20processing\x20direct\x20trace\x20file\x20','WJzAC','oqevb','setTrackedInstance','failed','UQkDF',',\x20state=','KEY_TEST_SCOPES','smPug','\x20payload=','KEY_CUSTOM_TAGS','XYyKU','stack','getRef','KEY_HOOK_LAST_STARTED','from','HlarW','startedAt','./constants/testFrameworkConstants.js','KEY_LOGS','pZeCO','../../playwright/reporter/pwUtils','toString','length','KEY_HOOK_LAST_FINISHED','LJinV','zrydY','KEY_TEST_RESULT','iPyVt','uuid','getTraceFilePaths','getTestUUID','6nnckEc','OdjDI','KEY_TEST_ENDED_AT','KEY_TEST_LOGS','trackPlaywrightInstance','instance','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','getProcessId','trackEvent','mZcaD','testFrameworkState','title','toISOString','results','runHooks','KEY_HOOK_ID','sendLogCreatedEvent\x20for\x20testId:\x20','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','zpDdm','trackHookEvent','getId','eventJson','push','inspect','trim','72RnidZo','KEY_HOOKS_FINISHED','dVRrV','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','./testFramework','wkZPG','endedAt','map','KEY_TEST_FAILURE','base64','PlaywrightTestFramework','util','KEY_HOOK_FAILURE_TYPE','KEY_TEST_FILE_PATH','DrmdA','KEY_HOOK_RESULT','browserstackPlatformIndex','zpORg','getTestIdentifierFromTestInfo','createTestFrameworkEventPayload','message','stringify','KEY_TEST_NAME','KtDNW','KEY_TEST_ATTACHMENTS','slice','setTestDetails','txtXe','\x20from\x20TestDetails:\x20','parsePlaywrightTestResult','KEY_TEST_RETRY_OF','startTime','concat','platformIndex','path','\x20instance=','filter','DEFAULT_TEST_RESULT','DkrJt','getCurrentTestState','getAllData','duration','DXinZ','KEY_TEST_CODE','TEST_SCREENSHOT','error','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','../grpcClient','648909vHoMlY','639909dRDGgp','file_name','sqyzx','KEY_TEST_SCOPE','\x20result=','testFrameworkVersion','timedOut','rJTce','Vdnqb','MvtqD','CoKSg','getTestDetails','UnzlM','AYGaW','KEY_TEST_UUID','split','KEY_TEST_FAILURE_TYPE','DxXIa','rffpR','pRIap','parsePlaywrightTest','VcoFi','parallelIndex','executionContext','attachments','step','resolveInstance','MaQhN','\x20instanceId=','../state/hookState.js','DHNHE','Error\x20in\x20createTestFrameworkEventPayload:\x20','vPWYh','GVeGa','isArray','NONE','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','Error\x20processing\x20trace\x20file\x20','BzdCB','KEY_HOOKS_STARTED','../../../helpers/classLogger.js','TEST_ATTACHMENT','retry','getContext','KEY_TEST_FRAMEWORK_NAME','KEY_HOOK_LOGS','sendLogCreatedEvent','status','hookState','KEY_EVENT_ENDED_AT','addMultipleEntries','Jpnzq','field_type','upGQD','test','Error\x20in\x20sendLogCreatedEvent:\x20','passed','UVTFQ','6iWSXmI','KEY_HOOK_NAME','annotations','basename','pop','Hook\x20List\x20in\x20Post\x20','kZDGU','1300635TEaIDP','rCGEB','steps','bwqDQ','getTestFrameworksVersions','multi_dropdown','KEY_TEST_RERUN_NAME','TZkDq','KEY_TEST_ID','\x20and\x20args\x20=\x20','statSync','../../../helpers/test-observability/utils','sendLogCreatedEvent:\x20testId=','../../../helpers/helper.js','INIT_TEST','eJaIO','PRE','testFrameworkName','info','\x20testHookState=','forEach','glamc','values','get','No\x20reason\x20provided','LMHrS','parsePlaywrightTestResult:\x20testId='];a77_0x5321=function(){return _0x3e51ce;};return a77_0x5321();}function a77_0x4235(_0x1b45c6,_0x27d7da){const _0x53210c=a77_0x5321();return a77_0x4235=function(_0x4235e8,_0x103a82){_0x4235e8=_0x4235e8-0x123;let _0x2e7eb=_0x53210c[_0x4235e8];return _0x2e7eb;},a77_0x4235(_0x1b45c6,_0x27d7da);}class PlaywrightTestFramework extends TestFramework{constructor(_0x3ec9de,_0x99e0ea,_0x35f888){super(_0x3ec9de,_0x99e0ea,_0x35f888);}async[a77_0x352f42(0x18a)](_0x4e7771,_0x117e19,_0x23f85a={}){const _0x3058eb=a77_0x352f42,_0x497e39={'BjRjx':function(_0x3c6d01,_0x2beb56){return _0x3c6d01===_0x2beb56;},'XYyKU':function(_0x44a0a3,_0x44866d){return _0x44a0a3===_0x44866d;},'XHcFq':function(_0xc9cb8e,_0x56967e,_0x5ab118){return _0xc9cb8e(_0x56967e,_0x5ab118);},'myxRo':function(_0x1f432f,_0x1fb59d){return _0x1f432f===_0x1fb59d;},'oqevb':_0x3058eb(0x202),'NbmZQ':_0x3058eb(0x1f0)};super['trackEvent'](_0x4e7771,_0x117e19,_0x23f85a);if(_0x497e39['BjRjx'](_0x4e7771,TestFrameworkState[_0x3058eb(0x1c7)])){const _0x25e825=TestInfo[_0x3058eb(0x1ad)](_0x23f85a[_0x3058eb(0x202)],_0x23f85a['test']['retry']);TestInfo[_0x3058eb(0x1b5)](_0x25e825,_0x23f85a[_0x3058eb(0x143)],!![]);}const _0x529d33=this['resolveInstance'](_0x4e7771,_0x117e19,_0x23f85a);if(!_0x529d33)return;logger['debug']('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x4e7771+_0x3058eb(0x14e)+_0x117e19+_0x3058eb(0x1e8)+_0x529d33[_0x3058eb(0x16f)]());try{if(_0x497e39[_0x3058eb(0x16d)](_0x117e19,HookState[_0x3058eb(0x12c)])&&_0x497e39[_0x3058eb(0x16d)](_0x4e7771,TestFrameworkState[_0x3058eb(0x161)])){const _0x44bba1=_0x23f85a[_0x3058eb(0x202)];logger[_0x3058eb(0x15f)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x44bba1['id']+'}');const _0x13bb27=TestInfo[_0x3058eb(0x181)](_0x497e39['XHcFq'](getTestRunIdentifier,_0x44bba1,_0x23f85a[_0x3058eb(0x143)][_0x3058eb(0x1f6)]));_0x529d33[_0x3058eb(0x1fe)](this[_0x3058eb(0x1e0)](_0x13bb27,_0x44bba1,_0x23f85a[_0x3058eb(0x143)])),logger['debug'](_0x3058eb(0x19e)+_0x44bba1['id']+',\x20testFrameworkState='+_0x4e7771+_0x3058eb(0x12f)+_0x117e19+_0x3058eb(0x1be)+_0x529d33[_0x3058eb(0x16f)]());}if(_0x497e39['myxRo'](_0x117e19,HookState[_0x3058eb(0x160)])&&_0x497e39['BjRjx'](_0x4e7771,TestFrameworkState[_0x3058eb(0x161)])){const _0x1b8c3f=_0x23f85a['test'],_0x3a30f0=_0x23f85a['result'];logger[_0x3058eb(0x15f)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x1b8c3f['id']),_0x529d33['addMultipleEntries'](this['parsePlaywrightTestResult'](_0x1b8c3f['id'],_0x3a30f0,_0x1b8c3f)),await this[_0x3058eb(0x1fa)](_0x529d33,_0x4e7771,_0x117e19,_0x497e39[_0x3058eb(0x164)],_0x23f85a);}if(CLIUtils['matchHookRegex'](_0x4e7771[_0x3058eb(0x178)]()[_0x3058eb(0x1db)]('.')[0x1])){const _0x3f5e00=await this[_0x3058eb(0x195)](_0x529d33,_0x4e7771,_0x117e19,_0x23f85a);_0x529d33[_0x3058eb(0x1fe)](_0x3f5e00);}}catch(_0x338f82){logger[_0x3058eb(0x1c8)](util[_0x3058eb(0x140)](_0x497e39[_0x3058eb(0x138)],_0x4e7771,_0x117e19,_0x23f85a['length'],_0x338f82));}_0x23f85a['instance']=_0x529d33,await this[_0x3058eb(0x190)](_0x529d33,_0x4e7771,_0x117e19,_0x23f85a);}[a77_0x352f42(0x1e6)](_0x1ddfe9,_0xfc2e62,_0x32125a={}){const _0x36acaf=a77_0x352f42,_0x10e9ad={};_0x10e9ad[_0x36acaf(0x1a9)]=function(_0x18d017,_0x5cc0e6){return _0x18d017===_0x5cc0e6;};const _0x465152=_0x10e9ad;let _0x1944ee=null;return(_0x465152['DrmdA'](_0x1ddfe9,TestFrameworkState[_0x36acaf(0x12a)])||_0x465152[_0x36acaf(0x1a9)](_0x1ddfe9,TestFrameworkState[_0x36acaf(0x1ef)]))&&this[_0x36acaf(0x186)](_0x1ddfe9,_0x32125a),_0x1944ee=TestFramework['getTrackedInstance'](),_0x1944ee;}['trackPlaywrightInstance'](_0x32db07,_0x3c9662){const _0x5d407c=a77_0x352f42,_0x2a005c=CLIUtils['getCurrentInstanceName'](),_0x33ae23=TrackedInstance[_0x5d407c(0x157)](_0x2a005c);let _0x2c571f=null;logger[_0x5d407c(0x12e)](_0x5d407c(0x193)+_0x2a005c+_0x5d407c(0x168)+_0x32db07),_0x2c571f=new TestFrameworkInstance(_0x33ae23,this[_0x5d407c(0x146)](),this[_0x5d407c(0x211)](),_0x32db07,HookState[_0x5d407c(0x1ef)]),TestFramework[_0x5d407c(0x165)](_0x33ae23,_0x2c571f),logger['info'](_0x5d407c(0x14f)+_0x33ae23[_0x5d407c(0x196)]()+'\x20target='+_0x2a005c);}[a77_0x352f42(0x1e0)](_0x2595e1,_0x26fffd,_0x4ad317){const _0x4063e0=a77_0x352f42,_0x34b98b={'bwqDQ':function(_0x148030,_0x4d9d9a){return _0x148030(_0x4d9d9a);},'rJTce':function(_0x5ae44f,_0x54fe6c){return _0x5ae44f(_0x54fe6c);},'PcAtk':function(_0x401622,_0x46f457){return _0x401622(_0x46f457);},'iPyVt':function(_0x530fe0,_0x1f9ae8){return _0x530fe0(_0x1f9ae8);},'zrydY':function(_0x6e7bac,_0x290628){return _0x6e7bac(_0x290628);},'Jpnzq':function(_0x40bb3a,_0x5e30a6){return _0x40bb3a(_0x5e30a6);},'dVRrV':function(_0xbd3886,_0x1863f6){return _0xbd3886(_0x1863f6);},'TZkDq':function(_0x21db51,_0x53914e,_0x484a58){return _0x21db51(_0x53914e,_0x484a58);}},_0x25c402=_0x34b98b[_0x4063e0(0x210)](getPlaywrightTestId,_0x26fffd),_0x4299db=_0x34b98b[_0x4063e0(0x1d3)](getPlaywrightTestTitle,_0x26fffd),_0x5e73f3=_0x34b98b['PcAtk'](getTestTags,_0x26fffd),_0x160482=_0x34b98b[_0x4063e0(0x17e)](getPlaywrightTestCode,_0x26fffd),_0x38b351=_0x34b98b[_0x4063e0(0x17e)](getPlaywrightTestFilePath,_0x26fffd),_0x28e6e6=_0x38b351+':'+_0x34b98b['zrydY'](getPlaywrightTestLocation,_0x26fffd),_0x2394fd=_0x34b98b[_0x4063e0(0x1ff)](getPlaywrightTestScope,_0x26fffd),_0x13b740=_0x34b98b[_0x4063e0(0x19d)](getPlaywrightTestScopes,_0x26fffd),_0x49f9ff=_0x34b98b[_0x4063e0(0x1ff)](getPlaywrightSessionName,_0x26fffd),_0x18c67d=this[_0x4063e0(0x146)]()[0x0],_0x4e65d0=_0x34b98b[_0x4063e0(0x123)](getTestRunIdentifier,_0x26fffd,_0x4ad317[_0x4063e0(0x1f6)]),_0x1f69d0={[TestFrameworkConstants[_0x4063e0(0x1f8)]]:_0x18c67d,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x4063e0(0x211)]()[_0x18c67d],[TestFrameworkConstants[_0x4063e0(0x185)]]:[],[TestFrameworkConstants[_0x4063e0(0x19c)]]:{},[TestFrameworkConstants[_0x4063e0(0x1f3)]]:{},[TestFrameworkConstants[_0x4063e0(0x1da)]]:_0x2595e1,[TestFrameworkConstants[_0x4063e0(0x17d)]]:TestFrameworkConstants[_0x4063e0(0x1c0)],[TestFrameworkConstants[_0x4063e0(0x15d)]]:_0x49f9ff,[TestFrameworkConstants[_0x4063e0(0x1a8)]]:_0x38b351,[TestFrameworkConstants[_0x4063e0(0x124)]]:_0x25c402,[TestFrameworkConstants[_0x4063e0(0x1b1)]]:_0x4299db,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x28e6e6,[TestFrameworkConstants[_0x4063e0(0x1c6)]]:_0x160482,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x5e73f3,[TestFrameworkConstants[_0x4063e0(0x14a)]]:_0x26fffd[_0x4063e0(0x18f)][0x0][_0x4063e0(0x1ba)],[TestFrameworkConstants[_0x4063e0(0x1cf)]]:_0x2394fd,[TestFrameworkConstants[_0x4063e0(0x169)]]:_0x13b740,[TestFrameworkConstants[_0x4063e0(0x213)]]:_0x34b98b[_0x4063e0(0x17c)](getPlaywrightCustomRerunParam,_0x26fffd)};TestInfo[_0x4063e0(0x1b5)](_0x4e65d0,_0x1f69d0);const _0x20b641={};return _0x20b641[_0x4e65d0]=_0x1f69d0,_0x20b641;}[a77_0x352f42(0x1b8)](_0x11cbcf,_0x321d9f,_0x17921c){const _0x5f1bd7=a77_0x352f42,_0x405cad={'PConR':function(_0x3f6270,_0x3bb28e){return _0x3f6270(_0x3bb28e);},'upGQD':_0x5f1bd7(0x1f5),'OdjDI':function(_0x3dabf7,_0x32c9bb){return _0x3dabf7===_0x32c9bb;},'NoxWj':function(_0xdc559c,_0x55010e){return _0xdc559c===_0x55010e;},'UjSKK':_0x5f1bd7(0x134),'zpORg':_0x5f1bd7(0x212),'VcoFi':function(_0x44dcbc,_0x139d2a){return _0x44dcbc(_0x139d2a);},'zbMjz':function(_0x137a1c,_0xebd5c4,_0x2aefe0){return _0x137a1c(_0xebd5c4,_0x2aefe0);},'pRIap':function(_0x39484d,_0x2f8f92){return _0x39484d+_0x2f8f92;},'sqyzx':function(_0x5403f3,_0xa84735){return _0x5403f3===_0xa84735;},'YYZjY':function(_0x111b84,_0x3b0bb3){return _0x111b84===_0x3b0bb3;},'WJzAC':'skipped','Diojh':_0x5f1bd7(0x204),'Vdnqb':function(_0x2e5b49,_0x1f82bd){return _0x2e5b49===_0x1f82bd;},'UVTFQ':_0x5f1bd7(0x166),'MvtqD':function(_0x524bca,_0xfbff3){return _0x524bca===_0xfbff3;},'EUOOj':_0x5f1bd7(0x1d2),'wkZPG':function(_0x34e35f,_0x4f475e){return _0x34e35f===_0x4f475e;},'eqEjO':function(_0x477d28,_0x4dea3d){return _0x477d28===_0x4dea3d;},'UnzlM':'Expected\x20to\x20fail,\x20but\x20passed.','zpDdm':function(_0x3ceb1a,_0x439fd0){return _0x3ceb1a||_0x439fd0;},'YKNSL':function(_0x138faa,_0x315bca){return _0x138faa(_0x315bca);},'eJaIO':function(_0x239945,_0x515710){return _0x239945>_0x515710;},'glamc':function(_0x5cd5b9,_0x145eee,_0x3c1a17){return _0x5cd5b9(_0x145eee,_0x3c1a17);},'txtXe':function(_0x2e865d,_0x586bf9){return _0x2e865d-_0x586bf9;},'LJinV':_0x5f1bd7(0x1bd),'kZDGU':function(_0x845375,_0x520750,_0x57a0a1){return _0x845375(_0x520750,_0x57a0a1);}};logger[_0x5f1bd7(0x15f)](_0x5f1bd7(0x136)+_0x11cbcf);const _0x452ec2=_0x405cad[_0x5f1bd7(0x15c)](getTestRunIdentifier,_0x17921c,_0x321d9f[_0x5f1bd7(0x1f6)]),_0x52a4d7=new Date(_0x321d9f[_0x5f1bd7(0x1ba)]),_0x1c21b0=_0x321d9f[_0x5f1bd7(0x1c4)],_0x52849f=new Date(_0x405cad[_0x5f1bd7(0x1df)](_0x52a4d7[_0x5f1bd7(0x152)](),_0x1c21b0)),_0x4e7d11=_0x321d9f[_0x5f1bd7(0x1fb)],_0x28a7a2=TestInfo[_0x5f1bd7(0x1d7)](_0x452ec2)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x50db43=_0x4e7d11;if(_0x405cad[_0x5f1bd7(0x1ce)](_0x321d9f[_0x5f1bd7(0x1fb)],_0x17921c['expectedStatus']))_0x50db43=_0x405cad['YYZjY'](_0x321d9f[_0x5f1bd7(0x1fb)],_0x405cad[_0x5f1bd7(0x163)])?_0x405cad[_0x5f1bd7(0x163)]:_0x405cad[_0x5f1bd7(0x141)];else{(_0x405cad[_0x5f1bd7(0x1d4)](_0x50db43,_0x405cad[_0x5f1bd7(0x141)])||_0x405cad[_0x5f1bd7(0x183)](_0x50db43,_0x405cad[_0x5f1bd7(0x205)])||_0x405cad[_0x5f1bd7(0x1d5)](_0x50db43,_0x405cad['EUOOj']))&&(_0x50db43=_0x405cad[_0x5f1bd7(0x205)]);if(_0x405cad[_0x5f1bd7(0x1a0)](_0x321d9f[_0x5f1bd7(0x1fb)],_0x405cad[_0x5f1bd7(0x141)])&&_0x405cad['eqEjO'](_0x17921c['expectedStatus'],_0x405cad[_0x5f1bd7(0x205)])){const _0x1fa219={};_0x1fa219[_0x5f1bd7(0x1af)]=_0x405cad[_0x5f1bd7(0x1d8)],_0x1fa219[_0x5f1bd7(0x16e)]=_0x405cad[_0x5f1bd7(0x1d8)],_0x321d9f[_0x5f1bd7(0x1c8)]=_0x1fa219,_0x321d9f[_0x5f1bd7(0x139)]=[_0x321d9f[_0x5f1bd7(0x1c8)]];}}const {failureData:_0x35c1c9,logs:_0x5abaa8}=_0x405cad[_0x5f1bd7(0x15c)](getFailureData,_0x321d9f?.['errors'],{}),_0x18c35f={[TestFrameworkConstants[_0x5f1bd7(0x1a3)]]:_0x405cad[_0x5f1bd7(0x194)](_0x35c1c9,null),[TestFrameworkConstants[_0x5f1bd7(0x1dc)]]:_0x321d9f?.[_0x5f1bd7(0x1c8)]&&_0x405cad[_0x5f1bd7(0x145)](getFailureType,_0x321d9f[_0x5f1bd7(0x1c8)][_0x5f1bd7(0x1af)]),[TestFrameworkConstants[_0x5f1bd7(0x159)]]:_0x321d9f?.['error']&&_0x405cad[_0x5f1bd7(0x145)](removeAnsiColors,_0x321d9f['error'][_0x5f1bd7(0x1af)]),[TestFrameworkConstants[_0x5f1bd7(0x175)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x50db43,[TestFrameworkConstants[_0x5f1bd7(0x184)]]:_0x52849f['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5f1bd7(0x16c)]]:_0x28a7a2};if(_0x321d9f&&_0x405cad[_0x5f1bd7(0x12b)](_0x321d9f['retry'],0x0)){const _0x411fbe=TestInfo[_0x5f1bd7(0x181)](_0x405cad[_0x5f1bd7(0x131)](getTestRunIdentifier,_0x17921c,_0x405cad[_0x5f1bd7(0x1b6)](_0x321d9f['retry'],0x1)));_0x18c35f[TestFrameworkConstants[_0x5f1bd7(0x1b9)]]=_0x411fbe;}const _0x4b595b={};_0x4b595b[_0x5f1bd7(0x202)]=_0x17921c;const _0x1a3caf=this[_0x5f1bd7(0x1e6)](TestFrameworkState['TEST'],HookState[_0x5f1bd7(0x160)],_0x4b595b),_0x2d2a6a=_0x1a3caf[_0x5f1bd7(0x1c3)]()[_0x5f1bd7(0x133)](_0x452ec2)[TestFrameworkConstants['KEY_TEST_UUID']],_0x2846bc=[],_0x531352=_0x405cad[_0x5f1bd7(0x15c)](findNestedKey,_0x321d9f,_0x405cad[_0x5f1bd7(0x17b)]);if(_0x531352&&_0x405cad[_0x5f1bd7(0x1e1)](validateFilePath,_0x531352))try{_0x2846bc[_0x5f1bd7(0x198)]({'kind':_0x405cad[_0x5f1bd7(0x201)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x2d2a6a,'file_name':path['basename'](_0x531352),'file_size':fs[_0x5f1bd7(0x126)](_0x531352)[_0x5f1bd7(0x148)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x40a6ca){logger[_0x5f1bd7(0x1c8)](_0x5f1bd7(0x162)+_0x531352+':\x20'+_0x40a6ca[_0x5f1bd7(0x1af)]);}const _0x3018cd=TestInfo[_0x5f1bd7(0x180)](),_0x417f33=_0x3018cd[_0x5f1bd7(0x1bf)](_0x5bdcf6=>_0x5bdcf6[_0x5f1bd7(0x144)]===_0x2d2a6a);_0x417f33[_0x5f1bd7(0x130)](_0x57ddc8=>{const _0xba8653=_0x5f1bd7;if(_0x57ddc8[_0xba8653(0x15a)]&&_0x405cad[_0xba8653(0x142)](validateFilePath,_0x57ddc8['filePath'])&&!_0x2846bc['some'](_0x5b16d6=>_0x5b16d6[_0xba8653(0x1cd)]===path[_0xba8653(0x209)](_0x57ddc8[_0xba8653(0x15a)])))try{_0x2846bc['push']({'kind':_0x405cad[_0xba8653(0x201)],'timestamp':new Date()[_0xba8653(0x18e)](),'test_run_uuid':_0x2d2a6a,'file_name':path[_0xba8653(0x209)](_0x57ddc8[_0xba8653(0x15a)]),'file_size':fs['statSync'](_0x57ddc8[_0xba8653(0x15a)])[_0xba8653(0x148)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3c379b){logger[_0xba8653(0x1c8)](_0xba8653(0x1f1)+_0x57ddc8['filePath']+_0xba8653(0x1b7)+_0x3c379b[_0xba8653(0x1af)]);}});if(_0x405cad[_0x5f1bd7(0x12b)](_0x2846bc['length'],0x0)){const _0x4234a2=_0x18c35f[TestFrameworkConstants['KEY_LOGS']]||[];_0x18c35f[TestFrameworkConstants['KEY_LOGS']]=[..._0x4234a2,..._0x2846bc];}const _0xbee902=TestInfo[_0x5f1bd7(0x1d7)](_0x452ec2)[TestFrameworkConstants[_0x5f1bd7(0x1b3)]]||{},_0xa5785b=_0x405cad[_0x5f1bd7(0x20c)](getManualUploadLogs,_0xbee902,_0x1a3caf[_0x5f1bd7(0x1c3)]()[_0x5f1bd7(0x133)](_0x452ec2)[TestFrameworkConstants[_0x5f1bd7(0x1da)]]);if(_0x405cad[_0x5f1bd7(0x12b)](_0xa5785b[_0x5f1bd7(0x179)],0x0)){const _0x33ede7=_0x18c35f[TestFrameworkConstants[_0x5f1bd7(0x175)]]||[];_0x18c35f[TestFrameworkConstants['KEY_LOGS']]=[..._0x33ede7,..._0xa5785b];}const _0x49daf1=_0x17921c[_0x5f1bd7(0x208)]||[],_0xd6ea09=_0x18c35f[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x49daf1[_0x5f1bd7(0x130)](_0x17d94f=>{const _0x39a9dd=_0x5f1bd7,{type:_0x562afd}=_0x17d94f;let _0x4a048f=_0x17d94f['description'];if(!_0x562afd)return;(_0x405cad[_0x39a9dd(0x183)](_0x4a048f,undefined)||_0x405cad[_0x39a9dd(0x156)](_0x4a048f,null)||_0x405cad[_0x39a9dd(0x183)](_0x405cad[_0x39a9dd(0x142)](String,_0x4a048f)[_0x39a9dd(0x19a)](),''))&&(_0x4a048f=_0x405cad['UjSKK']);if(!_0xd6ea09[_0x562afd]){const _0x55ef5e={};_0x55ef5e[_0x39a9dd(0x200)]=_0x405cad[_0x39a9dd(0x1ac)],_0x55ef5e['values']=[],_0xd6ea09[_0x562afd]=_0x55ef5e;}else!_0xd6ea09[_0x562afd][_0x39a9dd(0x200)]&&(_0xd6ea09[_0x562afd]['field_type']=_0x405cad[_0x39a9dd(0x1ac)]),!Array[_0x39a9dd(0x1ee)](_0xd6ea09[_0x562afd][_0x39a9dd(0x132)])&&(_0xd6ea09[_0x562afd][_0x39a9dd(0x132)]=[]);const _0x3edb0b=_0x405cad[_0x39a9dd(0x1e1)](String,_0x4a048f)[_0x39a9dd(0x1db)](',')[_0x39a9dd(0x1a2)](_0x1cf3de=>_0x1cf3de[_0x39a9dd(0x19a)]());_0xd6ea09[_0x562afd][_0x39a9dd(0x132)]=[...new Set([..._0xd6ea09[_0x562afd][_0x39a9dd(0x132)],..._0x3edb0b])];}),_0x18c35f[TestFrameworkConstants[_0x5f1bd7(0x16c)]]=_0xd6ea09,TestInfo['setTestDetails'](_0x452ec2,_0x18c35f);const _0x4556ba={};return _0x4556ba[_0x452ec2]=_0x18c35f,_0x4556ba;}async[a77_0x352f42(0x195)](_0x390853,_0x37414d,_0x4e3d24,_0x465a31){const _0x243f49=a77_0x352f42,_0x549cdb={'dEIMY':function(_0x433178,_0x1880af,_0x482721){return _0x433178(_0x1880af,_0x482721);},'PgLfJ':function(_0x3df85c,_0x35f1a8){return _0x3df85c in _0x35f1a8;},'sPhiZ':function(_0x10d7d9,_0x42615c){return _0x10d7d9 in _0x42615c;},'BzdCB':function(_0x4ec7dd,_0x2b2dca){return _0x4ec7dd(_0x2b2dca);},'mZcaD':function(_0x4b2a0f,_0x55d773){return _0x4b2a0f===_0x55d773;},'wcBbV':function(_0x367d11){return _0x367d11();},'QAAdV':function(_0x4edf1c,_0x3da503){return _0x4edf1c>_0x3da503;},'DxXIa':function(_0xfa6c25,_0x2bfe8e,_0x4bbb09){return _0xfa6c25(_0x2bfe8e,_0x4bbb09);},'kCvHo':'err','hrbPC':function(_0xf72a7,_0x19c589){return _0xf72a7(_0x19c589);},'pZeCO':_0x243f49(0x166),'LMHrS':'passed','GVeGa':function(_0x31f791,_0x1603f6){return _0x31f791!==_0x1603f6;},'zEWvu':function(_0x5cc60c,_0x3d3e48){return _0x5cc60c+_0x3d3e48;},'HlarW':'hook'},_0x447ade=_0x465a31[_0x243f49(0x202)],_0x7f1a6b=_0x465a31[_0x243f49(0x1e5)],_0x2f0a8b=_0x549cdb[_0x243f49(0x158)](getTestRunIdentifier,_0x447ade,_0x465a31['result']['retry']),_0x17b48b=_0x37414d[_0x243f49(0x178)]()[_0x243f49(0x1db)]('.')[0x1];let _0xd3271d=_0x390853['getAllData']()['get'](_0x2f0a8b)[TestFrameworkConstants[_0x243f49(0x1f3)]];!_0xd3271d&&(_0xd3271d={});!_0x549cdb[_0x243f49(0x155)](_0x17b48b,_0xd3271d)&&(_0xd3271d[_0x17b48b]=[]);let _0xc048c4=_0x390853['getAllData']()['get'](_0x2f0a8b)[TestFrameworkConstants[_0x243f49(0x19c)]];!_0xc048c4&&(_0xc048c4={});!_0x549cdb['sPhiZ'](_0x17b48b,_0xc048c4)&&(_0xc048c4[_0x17b48b]=[]);const _0x141352={[TestFrameworkConstants[_0x243f49(0x1f3)]]:_0xd3271d,[TestFrameworkConstants[_0x243f49(0x19c)]]:_0xc048c4},_0x187783={};_0x187783[_0x2f0a8b]=_0x141352;const _0x3adb27=_0x187783,_0x2b7be6=_0x549cdb[_0x243f49(0x1f2)](getPlaywrightTestFilePath,_0x447ade),_0x54cced=_0x2b7be6+':'+_0x549cdb['BzdCB'](getPlaywrightTestLocation,_0x447ade),_0x4ae77a=TestInfo[_0x243f49(0x1d7)](_0x2f0a8b)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x549cdb[_0x243f49(0x18b)](_0x4e3d24,HookState['PRE'])){const _0x2f15cc={'key':_0x17b48b,[TestFrameworkConstants[_0x243f49(0x191)]]:_0x549cdb['wcBbV'](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x243f49(0x151)],[TestFrameworkConstants[_0x243f49(0x13c)]]:_0x7f1a6b[_0x243f49(0x1ba)],[TestFrameworkConstants[_0x243f49(0x1f9)]]:[],[TestFrameworkConstants[_0x243f49(0x207)]]:_0x7f1a6b[_0x243f49(0x18d)],[TestFrameworkConstants[_0x243f49(0x1a8)]]:_0x2b7be6,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x54cced,[TestFrameworkConstants[_0x243f49(0x16c)]]:_0x4ae77a};_0xd3271d[_0x17b48b][_0x243f49(0x198)](_0x2f15cc),_0x3adb27[_0x2f0a8b][TestFrameworkConstants[_0x243f49(0x170)]]=_0x17b48b,logger[_0x243f49(0x15f)](_0x243f49(0x1c9)+_0x17b48b+'\x20&\x20hook\x20=\x20'+_0x2f15cc+'\x20\x20and\x20args\x20=\x20'+_0x465a31);}else{if(_0x549cdb[_0x243f49(0x18b)](_0x4e3d24,HookState[_0x243f49(0x160)])){const _0x4fe379=await _0x465a31[_0x243f49(0x143)],_0x3bd68b=_0xd3271d[_0x17b48b]||[],_0x5aa8a8=_0x465a31['step'];logger[_0x243f49(0x15f)](_0x243f49(0x20b)+_0x3bd68b+_0x243f49(0x125)+_0x465a31);if(_0x549cdb[_0x243f49(0x154)](_0x3bd68b['length'],0x0)){const _0x495693=_0x3bd68b[_0x243f49(0x20a)]();if(_0x5aa8a8[_0x243f49(0x1c8)]){const _0x1158d2=_0x549cdb[_0x243f49(0x1dd)](failureData,_0x5aa8a8[_0x243f49(0x1c8)],_0x549cdb[_0x243f49(0x13f)]);_0x495693[TestFrameworkConstants[_0x243f49(0x1a7)]]=_0x549cdb[_0x243f49(0x1f2)](getFailureType,_0x5aa8a8?.[_0x243f49(0x1c8)][_0x243f49(0x1af)]),_0x495693[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x549cdb[_0x243f49(0x13e)](removeAnsiColors,_0x5aa8a8?.[_0x243f49(0x1c8)][_0x243f49(0x1af)]),_0x495693[TestFrameworkConstants[_0x243f49(0x1aa)]]=_0x549cdb[_0x243f49(0x176)],_0x495693[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x1158d2;}else _0x495693[TestFrameworkConstants[_0x243f49(0x1aa)]]=_0x549cdb[_0x243f49(0x135)];_0x549cdb[_0x243f49(0x1ed)](_0x4fe379,TestFrameworkConstants[_0x243f49(0x151)])&&(_0x495693[TestFrameworkConstants[_0x243f49(0x1aa)]]=!_0x5aa8a8[_0x243f49(0x1c8)]?_0x549cdb[_0x243f49(0x135)]:_0x549cdb[_0x243f49(0x176)]);const _0x160b33=new Date(_0x5aa8a8[_0x243f49(0x1ba)]),_0x4fbdf5=new Date(_0x549cdb['zEWvu'](_0x160b33[_0x243f49(0x152)](),_0x5aa8a8['duration']));_0x495693[TestFrameworkConstants[_0x243f49(0x1fd)]]=_0x4fbdf5[_0x243f49(0x18e)](),_0x495693[TestFrameworkConstants[_0x243f49(0x16c)]]=_0x4ae77a;const _0x23bf50=_0x495693[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x243f49(0x1fa)](_0x390853,_0x37414d,_0x23bf50,_0x549cdb[_0x243f49(0x172)],_0x465a31),!_0xc048c4[_0x17b48b]&&(_0xc048c4[_0x17b48b]=[]),_0xc048c4[_0x17b48b][_0x243f49(0x198)](_0x495693),_0x3adb27[_0x2f0a8b][TestFrameworkConstants[_0x243f49(0x17a)]]=_0x17b48b;}}}return _0x3adb27;}async[a77_0x352f42(0x1fa)](_0x18afd0,_0x1347e6,_0x42512b,_0x25422b,_0x1dfe9c){const _0x23517a=a77_0x352f42,_0x40674f={'mgwbW':function(_0x30590b,_0x3f4d1b){return _0x30590b===_0x3f4d1b;},'DXinZ':'test','vPWYh':function(_0x5eb0c4,_0x3987bb,_0x90b44f){return _0x5eb0c4(_0x3987bb,_0x90b44f);},'MaQhN':function(_0x196bb5,_0x552f26,_0x1703ce){return _0x196bb5(_0x552f26,_0x1703ce);},'UQkDF':_0x23517a(0x1e4),'KILSK':function(_0x20f6c4,_0x176399,_0x38d69b,_0x3a3077){return _0x20f6c4(_0x176399,_0x38d69b,_0x3a3077);},'TBhNf':function(_0x394159,_0x51bbd6,_0x48bad0){return _0x394159(_0x51bbd6,_0x48bad0);},'DkrJt':function(_0x53ea29,_0x3e37b8,_0x25d864){return _0x53ea29(_0x3e37b8,_0x25d864);},'KtDNW':function(_0x2d0571,_0x2a04c2,_0x33b19c){return _0x2d0571(_0x2a04c2,_0x33b19c);},'rCGEB':function(_0x2fc1db,_0x10caa0){return _0x2fc1db/_0x10caa0;},'URsDV':function(_0x6c355b,_0x1b8442){return _0x6c355b<_0x1b8442;},'XDmYj':function(_0x25e277,_0x4093cf){return _0x25e277*_0x4093cf;},'CoKSg':function(_0x35cd08,_0x4dd651){return _0x35cd08+_0x4dd651;},'AYGaW':function(_0x574c65,_0x103327,_0x528f1a,_0x51c537,_0x53da24){return _0x574c65(_0x103327,_0x528f1a,_0x51c537,_0x53da24);},'DHNHE':function(_0x27362a,_0x5cc4a8){return _0x27362a+_0x5cc4a8;},'svdcV':'hook','rffpR':function(_0x3f0569,_0x95be2a,_0x260621,_0x554c8d,_0x40d6a0){return _0x3f0569(_0x95be2a,_0x260621,_0x554c8d,_0x40d6a0);}};try{if(_0x40674f['mgwbW'](_0x25422b,_0x40674f[_0x23517a(0x1c5)])){const _0x468fb0=await _0x1dfe9c[_0x23517a(0x143)],_0x571de7=_0x40674f[_0x23517a(0x1ec)](getTestRunIdentifier,_0x1dfe9c['test'],_0x1dfe9c['result']['retry']),_0x1fa87e=_0x1dfe9c['test'];logger[_0x23517a(0x15f)]('sendLogCreatedEvent:\x20testId='+_0x571de7+_0x23517a(0x1d0)+util[_0x23517a(0x199)](_0x468fb0));const _0x5e10ba=_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1da)]];await _0x40674f[_0x23517a(0x1e7)](sendTraceZip,_0x468fb0,_0x5e10ba);const _0x26a852=TestInfo[_0x23517a(0x1d7)](_0x571de7)[_0x40674f[_0x23517a(0x167)]],_0x6d07d7={};if(_0x26a852){!_0x468fb0['attachments']&&(_0x468fb0[_0x23517a(0x1e4)]=[]);_0x6d07d7[_0x23517a(0x1e4)]=_0x468fb0['attachments'][_0x23517a(0x1bb)](_0x26a852||[]);const _0x52b94b=TestInfo[_0x23517a(0x1d7)](_0x571de7);delete _0x52b94b[_0x40674f[_0x23517a(0x167)]],TestInfo[_0x23517a(0x1b5)](_0x571de7,_0x52b94b);}const {steps:_0x3fb7da,logs:_0xede245}=_0x40674f['KILSK'](getStepsAndLogs,_0x468fb0['steps'],_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1da)]],_0x40674f[_0x23517a(0x1c5)]),_0x57bac6=_0x40674f[_0x23517a(0x14d)](getScreenshots,_0x6d07d7,_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x571de7)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x4aee86=_0x40674f[_0x23517a(0x1c1)](getVideos,_0x468fb0,_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1da)]]),{_:_0x5ee10d,logs:_0xb96a0e}=_0x40674f[_0x23517a(0x1b2)](getFailureData,_0x468fb0[_0x23517a(0x139)],{'test_run_uuid':_0x18afd0['getAllData']()[_0x23517a(0x133)](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1da)]]}),_0x1be37a=TestInfo[_0x23517a(0x1d7)](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1b3)]]||{},_0x24dc9e=_0x40674f[_0x23517a(0x1c1)](getMediaArtifactsLogs,_0x1be37a,_0x18afd0['getAllData']()['get'](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1da)]]),_0x104e06=_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x571de7),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5f035f='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4be539=''}=_0x104e06,_0x3f83bf=(_0xede245||[])[_0x23517a(0x1bb)](_0x57bac6||[])[_0x23517a(0x1bb)](_0xb96a0e||[])['concat'](_0x4aee86||[])[_0x23517a(0x1bb)](_0x24dc9e||[]),_0x55f8c8=0x28,_0x849bdc=Math['ceil'](_0x40674f[_0x23517a(0x20e)](_0x3f83bf[_0x23517a(0x179)],_0x55f8c8));for(let _0xb4c701=0x0;_0x40674f['URsDV'](_0xb4c701,_0x849bdc);_0xb4c701++){const _0x501984=_0x40674f['XDmYj'](_0xb4c701,_0x55f8c8),_0x4fa7fb=_0x40674f[_0x23517a(0x1d6)](_0x501984,_0x55f8c8),_0x2b9bca=_0x3f83bf[_0x23517a(0x1b4)](_0x501984,_0x4fa7fb),_0x51ce4e={'platformIndex':global?.[_0x23517a(0x1ab)]??0x0,'logs':_0x2b9bca,'testFrameworkName':_0x5f035f,'testFrameworkVersion':_0x4be539,'testFrameworkState':_0x1347e6['toString']()['split']('.')[0x1]};_0x40674f[_0x23517a(0x1d9)](updatePayloadForTraceLogs,_0x51ce4e,_0x1dfe9c,_0x571de7,_0x18afd0),logger[_0x23517a(0x15f)](_0x23517a(0x192)+_0x571de7+_0x23517a(0x15b)+_0x40674f[_0x23517a(0x1ea)](_0xb4c701,0x1)+'/'+_0x849bdc+_0x23517a(0x16b)+util[_0x23517a(0x199)](_0x51ce4e));const _0x5b7865=await GrpcClient[_0x23517a(0x14c)]()[_0x23517a(0x137)](_0x51ce4e);logger[_0x23517a(0x15f)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x571de7+_0x23517a(0x15b)+_0x40674f[_0x23517a(0x1ea)](_0xb4c701,0x1)+'/'+_0x849bdc+_0x23517a(0x13d)+util[_0x23517a(0x199)](_0x5b7865));}}else{const {steps:_0x15b516,logs:_0x9d9d88}=_0x40674f['KILSK'](getStepsAndLogs,_0x1dfe9c[_0x23517a(0x1e5)][_0x23517a(0x20f)],_0x42512b,_0x40674f['svdcV']),_0x3180d3=_0x40674f[_0x23517a(0x1c1)](getTestRunIdentifier,_0x1dfe9c[_0x23517a(0x202)],_0x1dfe9c['result'][_0x23517a(0x1f6)]);logger[_0x23517a(0x15f)](_0x23517a(0x128)+_0x3180d3);const _0x3991be=_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x3180d3),{[TestFrameworkConstants[_0x23517a(0x1f8)]]:_0x3e60d3='',[TestFrameworkConstants[_0x23517a(0x149)]]:_0x1e18c8=''}=_0x3991be,_0x5277f9={'platformIndex':'0','logs':_0x9d9d88,'testFrameworkName':_0x3e60d3,'testFrameworkVersion':_0x1e18c8,'testFrameworkState':_0x1347e6[_0x23517a(0x178)]()[_0x23517a(0x1db)]('.')[0x1]};_0x40674f[_0x23517a(0x1de)](updatePayloadForTraceLogs,_0x5277f9,_0x1dfe9c,_0x3180d3,_0x18afd0),logger[_0x23517a(0x15f)](_0x23517a(0x192)+_0x3180d3+_0x23517a(0x16b)+util['inspect'](_0x5277f9));const _0x4dc69f=await GrpcClient['getInstance']()[_0x23517a(0x137)](_0x5277f9);}}catch(_0xf70648){logger[_0x23517a(0x1c8)](_0x23517a(0x203)+util[_0x23517a(0x140)](_0xf70648));}}[a77_0x352f42(0x1ae)](_0x57bb3a){const _0x58d3a5=a77_0x352f42,_0x8f9f78={'smPug':function(_0x26c818,_0x24cb73,_0x1ca4de){return _0x26c818(_0x24cb73,_0x1ca4de);},'CRbDi':_0x58d3a5(0x1a4)};try{const _0x2b50ac=_0x57bb3a[_0x58d3a5(0x202)]['id'],_0x1f99a9=_0x8f9f78[_0x58d3a5(0x16a)](getTestRunIdentifier,_0x57bb3a[_0x58d3a5(0x202)],_0x57bb3a[_0x58d3a5(0x143)]['retry']),_0x570ed9=_0x57bb3a[_0x58d3a5(0x187)],_0x37155b=_0x570ed9[_0x58d3a5(0x1f7)](),_0x5b7917=_0x570ed9[_0x58d3a5(0x1c3)]()[_0x58d3a5(0x133)](_0x1f99a9);logger[_0x58d3a5(0x15f)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x2b50ac);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x21031a='',[TestFrameworkConstants[_0x58d3a5(0x149)]]:_0x125da6='',[TestFrameworkConstants[_0x58d3a5(0x14a)]]:_0x31a6d8='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x50e5cd=''}=_0x5b7917,_0x2fb1aa=_0x570ed9[_0x58d3a5(0x1c2)]()['toString']()[_0x58d3a5(0x1db)]('.')[0x1],_0x12744c=_0x570ed9[_0x58d3a5(0x13a)]()[_0x58d3a5(0x178)]()[_0x58d3a5(0x1db)]('.')[0x1],_0x31b5d7=_0x57bb3a?.['result']?.[_0x58d3a5(0x1e2)],_0x7feee6=_0x570ed9['getRef'](),_0x1cf3c3=Buffer[_0x58d3a5(0x171)](JSON[_0x58d3a5(0x1b0)](_0x5b7917))[_0x58d3a5(0x178)](_0x8f9f78['CRbDi']),_0x233896={'hash':_0x37155b[_0x58d3a5(0x196)](),'threadId':_0x37155b['getThreadId']()[_0x58d3a5(0x178)](),'processId':_0x37155b[_0x58d3a5(0x189)]()[_0x58d3a5(0x178)]()},_0x17a7ac={};_0x17a7ac[_0x58d3a5(0x1bc)]=_0x31b5d7,_0x17a7ac[_0x58d3a5(0x12d)]=_0x21031a,_0x17a7ac[_0x58d3a5(0x1d1)]=_0x125da6,_0x17a7ac[_0x58d3a5(0x18c)]=_0x2fb1aa,_0x17a7ac[_0x58d3a5(0x1fc)]=_0x12744c,_0x17a7ac[_0x58d3a5(0x173)]=_0x31a6d8,_0x17a7ac[_0x58d3a5(0x1a1)]=_0x50e5cd,_0x17a7ac['uuid']=_0x7feee6,_0x17a7ac[_0x58d3a5(0x197)]=_0x1cf3c3,_0x17a7ac[_0x58d3a5(0x1e3)]=_0x233896;const _0x51b746=_0x17a7ac;return logger[_0x58d3a5(0x15f)](_0x58d3a5(0x188)+_0x2b50ac+'\x20testState:\x20'+_0x2fb1aa+_0x58d3a5(0x14b)+_0x12744c),_0x51b746;}catch(_0x4346ac){return logger[_0x58d3a5(0x1c8)](_0x58d3a5(0x1eb)+util[_0x58d3a5(0x140)](_0x4346ac)),{};}}}module['exports']=PlaywrightTestFramework;
1
+ function a77_0x5de7(_0x1ea219,_0x5bd2cf){const _0x5bba9b=a77_0x5bba();return a77_0x5de7=function(_0x5de7dc,_0x48f6e4){_0x5de7dc=_0x5de7dc-0x149;let _0x551a52=_0x5bba9b[_0x5de7dc];return _0x551a52;},a77_0x5de7(_0x1ea219,_0x5bd2cf);}function a77_0x5bba(){const _0x39fa3e=['instance','eLOiU','KEY_TEST_TAGS','4844tpSaOa','CgViE','\x20response=','\x20&\x20hook\x20=\x20','exports','KEY_TEST_RESULT','qThcr','getTestFrameworksVersions','annotations','KEY_HOOKS_STARTED','PlaywrightTestFramework','trackHookEvent','eventJson','KEY_TEST_STARTED_AT','getCurrentTestState','ycOBR','createContext','sUsPJ','TIhcm','oEsgl','KEY_HOOK_NAME','KnBkA','../instances/trackedInstance.js','browserstackPlatformIndex','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','sBaxw','size','2969634BJdBGM','DHgLI','llVeW','qMZEm','error','filePath','sendLogCreatedEvent\x20for\x20testId:\x20','stack','KEY_TEST_SCOPE','YBOpI','parsePlaywrightTestResult','result','from','EKtux','zUELW','KEY_HOOK_FAILURE','expectedStatus','errors','GFMPH','pVpVC','MpUeI','KEY_TEST_FAILURE_TYPE','getCurrentInstanceName','ggaCU','passed','toString','startTime','SOxFM','KEY_HOOK_RESULT','uyxpY','util','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','length','BUbEl','oDTZK','KEY_HOOK_FAILURE_REASON','getRef','getThreadId','getAllData','getId','KEY_TEST_ATTACHMENTS','basename','bTRIf','oGbWC','logCreatedEvent','push','getTestDetails','filter','file_name','YmNZz','fHQrV','Jahyt','failed','ONBNg','KEY_TEST_ENDED_AT','../../playwright/reporter/pwUtils','NnRRG','KEY_HOOKS_FINISHED','runHooks','KEY_TEST_RESULT_AT','split','message','Error\x20in\x20createTestFrameworkEventPayload:\x20','\x20and\x20args\x20=\x20','hdHGx','getTime','../../../helpers/test-observability/utils','qlMJw','TEST','hlSzc','RYQRH','inupF','509VieVxc','\x20batch\x20','KEY_TEST_LOCATION','trackEvent:\x20found\x20instance,\x20testFrameworkState=','trim','zkvNL','KEY_HOOK_FAILURE_TYPE','\x20payload=','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','sendLogCreatedEvent:\x20testId=','uuid','KEY_TEST_UUID','JJqAO','147YxCGDJ','KEY_TEST_FRAMEWORK_VERSION','trackPlaywrightInstance','../../../helpers/classLogger.js','KEY_HOOK_LOGS','QfDVn','getInstance','xaoUV','testFrameworkVersion','No\x20reason\x20provided','HgfIP','UxzNV','createTestFrameworkEventPayload','jphJR','hookState','cOBRp','../instances/testFrameworkInstance.js','hcoUx','skipped','parallelIndex','err','bgTyc','title','retry','Hook\x20List\x20in\x20Post\x20','DFhEf','264328ovHevr','UgVfs','whkkv','KEY_TEST_LOGS','KEY_TEST_CODE','info','270384vrXioI','../../../../src/helpers/helper',',\x20testFrameworkState=','lMiFV','Expected\x20to\x20fail,\x20but\x20passed.','testFrameworkState','hWlbV','FUMEg','DlVNK','step','resolveInstance','matchHookRegex','ceil','executionContext','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','JguEh','getProcessId','multi_dropdown','KEY_HOOK_ID','../grpcClient','getTraceFilePaths','stringify','2230362yXvLqN','debug','trackEvent','inspect',',\x20state=','steps','Error\x20in\x20sendLogCreatedEvent:\x20','feheQ','20Fbgcvl','dGMBL','values','attachments','test','testFrameworkName','\x20from\x20TestDetails:\x20','DdPAb','getTestUUID','KEY_TEST_SCOPES','concat','5duPtkI','testUId','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','hook','setTrackedInstance','oihjj','description','rHoVZ','KEY_LOGS','SWEig','addMultipleEntries','parsePlaywrightTest','KEY_TEST_FRAMEWORK_NAME','getTrackedInstance','POST','sOqRK','KEY_CUSTOM_TAGS','GVgjU','duration','KEY_TEST_FAILURE','timedOut','DEFAULT_HOOK_RESULT','DEFAULT_TEST_RESULT','slice','format','\x20hookState=','getTestFrameworks','sendLogCreatedEvent','14775398TPhMcg','path','some','base64','Gqabx','\x20instance=','NONE','TEST_ATTACHMENT','8xLwhJr','1797402oZheiD','statSync','KEY_TEST_ID','isArray','status','field_type','KEY_HOOK_LAST_STARTED','OLVhn','PRE','forEach','Kqggl','toISOString','Xgzhv','get','dCVDd','bZBhX','getCurrentHookState','Mkaho'];a77_0x5bba=function(){return _0x39fa3e;};return a77_0x5bba();}const a77_0x4327ed=a77_0x5de7;(function(_0x5e5696,_0xc11ede){const _0x18dad1=a77_0x5de7,_0x1f398f=_0x5e5696();while(!![]){try{const _0x509ffb=-parseInt(_0x18dad1(0x14e))/0x1*(-parseInt(_0x18dad1(0x1de))/0x2)+parseInt(_0x18dad1(0x1c9))/0x3*(-parseInt(_0x18dad1(0x1c8))/0x4)+parseInt(_0x18dad1(0x1a4))/0x5*(-parseInt(_0x18dad1(0x1f9))/0x6)+-parseInt(_0x18dad1(0x15b))/0x7*(parseInt(_0x18dad1(0x175))/0x8)+-parseInt(_0x18dad1(0x191))/0x9*(-parseInt(_0x18dad1(0x199))/0xa)+parseInt(_0x18dad1(0x1c0))/0xb+parseInt(_0x18dad1(0x17b))/0xc;if(_0x509ffb===_0xc11ede)break;else _0x1f398f['push'](_0x1f398f['shift']());}catch(_0x57dba4){_0x1f398f['push'](_0x1f398f['shift']());}}}(a77_0x5bba,0xaca2c));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require(a77_0x4327ed(0x15e)),TestFrameworkInstance=require(a77_0x4327ed(0x16b)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a77_0x4327ed(0x1f4)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a77_0x4327ed(0x1e8)),{v4:uuidv4}=require(a77_0x4327ed(0x158)),util=require(a77_0x4327ed(0x217)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require('../TestInfo.js'),GrpcClient=require(a77_0x4327ed(0x18e)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x4327ed(0x23b)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x4327ed(0x230)),path=require(a77_0x4327ed(0x1c1)),fs=require('fs'),helper=require(a77_0x4327ed(0x17c)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x44784f,_0x3da2c6,_0x45f9dd){super(_0x44784f,_0x3da2c6,_0x45f9dd);}async[a77_0x4327ed(0x193)](_0x3e6422,_0x338eac,_0x734b92={}){const _0x58ba6f=a77_0x4327ed,_0x38242d={'bTRIf':function(_0x5d70c2,_0x2f8c78){return _0x5d70c2===_0x2f8c78;},'ZwifF':function(_0xb6caaf,_0x2bd622,_0x487a5e){return _0xb6caaf(_0x2bd622,_0x487a5e);},'ImUJA':'test','SOxFM':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x58ba6f(0x193)](_0x3e6422,_0x338eac,_0x734b92);if(_0x38242d['bTRIf'](_0x3e6422,TestFrameworkState['TEST_SCREENSHOT'])){const _0x385367=TestInfo['getTestIdentifierFromTestInfo'](_0x734b92['test'],_0x734b92[_0x58ba6f(0x19d)]['retry']);TestInfo['setTestDetails'](_0x385367,_0x734b92[_0x58ba6f(0x204)],!![]);}const _0x38f61a=this[_0x58ba6f(0x185)](_0x3e6422,_0x338eac,_0x734b92);if(!_0x38f61a)return;logger[_0x58ba6f(0x192)](_0x58ba6f(0x151)+_0x3e6422+_0x58ba6f(0x1bd)+_0x338eac+'\x20instanceId='+_0x38f61a[_0x58ba6f(0x21d)]());try{if(_0x38242d[_0x58ba6f(0x223)](_0x338eac,HookState[_0x58ba6f(0x1d1)])&&_0x38242d['bTRIf'](_0x3e6422,TestFrameworkState[_0x58ba6f(0x14a)])){const _0x3a614c=_0x734b92[_0x58ba6f(0x19d)];logger['debug'](_0x58ba6f(0x218)+_0x3a614c['id']+'}');const _0x57ac50=TestInfo[_0x58ba6f(0x1a1)](_0x38242d['ZwifF'](getTestRunIdentifier,_0x3a614c,_0x734b92[_0x58ba6f(0x204)][_0x58ba6f(0x172)]));_0x38f61a['addMultipleEntries'](this['parsePlaywrightTest'](_0x57ac50,_0x3a614c,_0x734b92[_0x58ba6f(0x204)])),logger['debug'](_0x58ba6f(0x156)+_0x3a614c['id']+_0x58ba6f(0x17d)+_0x3e6422+'\x20testHookState='+_0x338eac+_0x58ba6f(0x1c5)+_0x38f61a['getRef']());}if(_0x38242d[_0x58ba6f(0x223)](_0x338eac,HookState[_0x58ba6f(0x1b2)])&&_0x38242d[_0x58ba6f(0x223)](_0x3e6422,TestFrameworkState[_0x58ba6f(0x14a)])){const _0x34b757=_0x734b92[_0x58ba6f(0x19d)],_0x3136b4=_0x734b92['result'];logger[_0x58ba6f(0x192)](_0x58ba6f(0x189)+_0x34b757['id']),_0x38f61a[_0x58ba6f(0x1ae)](this['parsePlaywrightTestResult'](_0x34b757['id'],_0x3136b4,_0x34b757)),await this['sendLogCreatedEvent'](_0x38f61a,_0x3e6422,_0x338eac,_0x38242d['ImUJA'],_0x734b92);}if(CLIUtils[_0x58ba6f(0x186)](_0x3e6422['toString']()['split']('.')[0x1])){const _0x252ecd=await this['trackHookEvent'](_0x38f61a,_0x3e6422,_0x338eac,_0x734b92);_0x38f61a['addMultipleEntries'](_0x252ecd);}}catch(_0x3c6fd4){logger[_0x58ba6f(0x1fd)](util[_0x58ba6f(0x1bc)](_0x38242d[_0x58ba6f(0x214)],_0x3e6422,_0x338eac,_0x734b92['length'],_0x3c6fd4));}_0x734b92[_0x58ba6f(0x1db)]=_0x38f61a,await this[_0x58ba6f(0x233)](_0x38f61a,_0x3e6422,_0x338eac,_0x734b92);}[a77_0x4327ed(0x185)](_0x1067d5,_0x58ac4e,_0x34115a={}){const _0x495b40=a77_0x4327ed,_0x5eec33={};_0x5eec33['inupF']=function(_0x5b9309,_0x34d5f8){return _0x5b9309===_0x34d5f8;},_0x5eec33[_0x495b40(0x176)]=function(_0x2c62f6,_0x56875e){return _0x2c62f6===_0x56875e;};const _0x14ac01=_0x5eec33;let _0x1d0ece=null;return(_0x14ac01[_0x495b40(0x14d)](_0x1067d5,TestFrameworkState['INIT_TEST'])||_0x14ac01[_0x495b40(0x176)](_0x1067d5,TestFrameworkState[_0x495b40(0x1c6)]))&&this[_0x495b40(0x15d)](_0x1067d5,_0x34115a),_0x1d0ece=TestFramework[_0x495b40(0x1b1)](),_0x1d0ece;}['trackPlaywrightInstance'](_0x1226b7,_0xa6679e){const _0x394ad6=a77_0x4327ed,_0x53756d=CLIUtils[_0x394ad6(0x20f)](),_0x20f812=TrackedInstance[_0x394ad6(0x1ee)](_0x53756d);let _0x2a780f=null;logger[_0x394ad6(0x17a)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x53756d+_0x394ad6(0x195)+_0x1226b7),_0x2a780f=new TestFrameworkInstance(_0x20f812,this[_0x394ad6(0x1be)](),this['getTestFrameworksVersions'](),_0x1226b7,HookState[_0x394ad6(0x1c6)]),TestFramework[_0x394ad6(0x1a8)](_0x20f812,_0x2a780f),logger[_0x394ad6(0x17a)](_0x394ad6(0x1a6)+_0x20f812['getId']()+'\x20target='+_0x53756d);}[a77_0x4327ed(0x1af)](_0x513578,_0x41508f,_0x5803f0){const _0x48a5d1=a77_0x4327ed,_0x3d53b3={'bZBhX':function(_0x1187c2,_0x48251a){return _0x1187c2(_0x48251a);},'RYQRH':function(_0xd56942,_0x3fa728){return _0xd56942(_0x3fa728);},'whkkv':function(_0x4340a8,_0x122b96){return _0x4340a8(_0x122b96);},'hlSzc':function(_0x4285af,_0x3a597f){return _0x4285af(_0x3a597f);},'JJqAO':function(_0x4978b6,_0x2ad8f5){return _0x4978b6(_0x2ad8f5);},'xaoUV':function(_0xd373f5,_0x551b8c,_0x4f3f90){return _0xd373f5(_0x551b8c,_0x4f3f90);}},_0x565bfc=_0x3d53b3['bZBhX'](getPlaywrightTestId,_0x41508f),_0x4397f0=_0x3d53b3[_0x48a5d1(0x14c)](getPlaywrightTestTitle,_0x41508f),_0x40cea5=_0x3d53b3[_0x48a5d1(0x14c)](getTestTags,_0x41508f),_0xa8a2f=_0x3d53b3[_0x48a5d1(0x177)](getPlaywrightTestCode,_0x41508f),_0xd74819=_0x3d53b3[_0x48a5d1(0x1d8)](getPlaywrightTestFilePath,_0x41508f),_0x15a43a=_0xd74819+':'+_0x3d53b3[_0x48a5d1(0x14b)](getPlaywrightTestLocation,_0x41508f),_0x4ca186=_0x3d53b3[_0x48a5d1(0x1d8)](getPlaywrightTestScope,_0x41508f),_0x5b4856=_0x3d53b3[_0x48a5d1(0x177)](getPlaywrightTestScopes,_0x41508f),_0x15d685=_0x3d53b3[_0x48a5d1(0x15a)](getPlaywrightSessionName,_0x41508f),_0x44a25b=this[_0x48a5d1(0x1be)]()[0x0],_0x20c84b=_0x3d53b3[_0x48a5d1(0x162)](getTestRunIdentifier,_0x41508f,_0x5803f0[_0x48a5d1(0x172)]),_0x172008={[TestFrameworkConstants[_0x48a5d1(0x1b0)]]:_0x44a25b,[TestFrameworkConstants[_0x48a5d1(0x15c)]]:this[_0x48a5d1(0x1e5)]()[_0x44a25b],[TestFrameworkConstants[_0x48a5d1(0x178)]]:[],[TestFrameworkConstants[_0x48a5d1(0x232)]]:{},[TestFrameworkConstants[_0x48a5d1(0x1e7)]]:{},[TestFrameworkConstants[_0x48a5d1(0x159)]]:_0x513578,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x48a5d1(0x1ba)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x15d685,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0xd74819,[TestFrameworkConstants[_0x48a5d1(0x1cb)]]:_0x565bfc,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x4397f0,[TestFrameworkConstants[_0x48a5d1(0x150)]]:_0x15a43a,[TestFrameworkConstants[_0x48a5d1(0x179)]]:_0xa8a2f,[TestFrameworkConstants[_0x48a5d1(0x1dd)]]:_0x40cea5,[TestFrameworkConstants[_0x48a5d1(0x1eb)]]:_0x41508f['results'][0x0][_0x48a5d1(0x213)],[TestFrameworkConstants[_0x48a5d1(0x201)]]:_0x4ca186,[TestFrameworkConstants[_0x48a5d1(0x1a2)]]:_0x5b4856,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x3d53b3[_0x48a5d1(0x14c)](getPlaywrightCustomRerunParam,_0x41508f)};TestInfo['setTestDetails'](_0x20c84b,_0x172008);const _0x860da4={};return _0x860da4[_0x20c84b]=_0x172008,_0x860da4;}[a77_0x4327ed(0x203)](_0x1d56cb,_0x15c634,_0x527602){const _0x256f68=a77_0x4327ed,_0x21cbee={'ONBNg':function(_0xd88123,_0x3c933e){return _0xd88123(_0x3c933e);},'ggaCU':_0x256f68(0x1c7),'dCVDd':function(_0x3e4d74,_0xd9f051){return _0x3e4d74===_0xd9f051;},'JguEh':function(_0x5d440c,_0x56dae5){return _0x5d440c(_0x56dae5);},'Kqggl':_0x256f68(0x164),'hWlbV':_0x256f68(0x18c),'feheQ':function(_0x235fe3,_0x582e44,_0x4a1c8f){return _0x235fe3(_0x582e44,_0x4a1c8f);},'KnBkA':function(_0x3b965f,_0x1e67e4){return _0x3b965f+_0x1e67e4;},'oDTZK':_0x256f68(0x16d),'hdHGx':_0x256f68(0x211),'qlMJw':function(_0x340db6,_0x935b2c){return _0x340db6===_0x935b2c;},'eLOiU':'failed','GFMPH':_0x256f68(0x1b8),'oihjj':function(_0x571f83,_0x311aa2){return _0x571f83===_0x311aa2;},'DFhEf':function(_0x3355c8,_0x49e87c){return _0x3355c8===_0x49e87c;},'DlVNK':_0x256f68(0x17f),'llVeW':function(_0x497004,_0x413db1,_0x639fcf){return _0x497004(_0x413db1,_0x639fcf);},'YBOpI':function(_0x14c58c,_0x5e755d){return _0x14c58c||_0x5e755d;},'sBaxw':function(_0x19f9e8,_0x71151c){return _0x19f9e8(_0x71151c);},'cOBRp':function(_0x1297c0,_0x7828c9){return _0x1297c0>_0x7828c9;},'GVgjU':function(_0x555948,_0x797d67,_0x1e2733){return _0x555948(_0x797d67,_0x1e2733);},'Xgzhv':function(_0x3a53d2,_0x2b809b){return _0x3a53d2-_0x2b809b;},'oGbWC':_0x256f68(0x1c1),'sUsPJ':function(_0x1421d0,_0x3e319c){return _0x1421d0(_0x3e319c);},'YmNZz':function(_0x4746e2,_0x4194e6,_0x18904c){return _0x4746e2(_0x4194e6,_0x18904c);},'FUMEg':function(_0x242d9a,_0x178589){return _0x242d9a>_0x178589;}};logger[_0x256f68(0x192)]('parsePlaywrightTestResult:\x20testId='+_0x1d56cb);const _0x172eb8=_0x21cbee[_0x256f68(0x198)](getTestRunIdentifier,_0x527602,_0x15c634[_0x256f68(0x172)]),_0x3204e5=new Date(_0x15c634[_0x256f68(0x213)]),_0x1f4fcd=_0x15c634['duration'],_0x31e391=new Date(_0x21cbee[_0x256f68(0x1f3)](_0x3204e5['getTime'](),_0x1f4fcd)),_0x21d020=_0x15c634[_0x256f68(0x1cd)],_0x14320e=TestInfo[_0x256f68(0x227)](_0x172eb8)[TestFrameworkConstants[_0x256f68(0x1b4)]]||{};let _0x5629bd=_0x21d020;if(_0x21cbee[_0x256f68(0x1d7)](_0x15c634[_0x256f68(0x1cd)],_0x527602[_0x256f68(0x209)]))_0x5629bd=_0x21cbee[_0x256f68(0x1d7)](_0x15c634[_0x256f68(0x1cd)],_0x21cbee['oDTZK'])?_0x21cbee[_0x256f68(0x21b)]:_0x21cbee[_0x256f68(0x239)];else{(_0x21cbee[_0x256f68(0x1d7)](_0x5629bd,_0x21cbee['hdHGx'])||_0x21cbee[_0x256f68(0x149)](_0x5629bd,_0x21cbee[_0x256f68(0x1dc)])||_0x21cbee[_0x256f68(0x149)](_0x5629bd,_0x21cbee[_0x256f68(0x20b)]))&&(_0x5629bd=_0x21cbee[_0x256f68(0x1dc)]);if(_0x21cbee[_0x256f68(0x1a9)](_0x15c634[_0x256f68(0x1cd)],_0x21cbee[_0x256f68(0x239)])&&_0x21cbee[_0x256f68(0x174)](_0x527602['expectedStatus'],_0x21cbee[_0x256f68(0x1dc)])){const _0x3aaecf={};_0x3aaecf['message']=_0x21cbee[_0x256f68(0x183)],_0x3aaecf[_0x256f68(0x200)]=_0x21cbee[_0x256f68(0x183)],_0x15c634[_0x256f68(0x1fd)]=_0x3aaecf,_0x15c634[_0x256f68(0x20a)]=[_0x15c634[_0x256f68(0x1fd)]];}}const {failureData:_0x1b96d6,logs:_0xc41eee}=_0x21cbee[_0x256f68(0x1fb)](getFailureData,_0x15c634?.[_0x256f68(0x20a)],{}),_0x49ece7={[TestFrameworkConstants[_0x256f68(0x1b7)]]:_0x21cbee[_0x256f68(0x202)](_0x1b96d6,null),[TestFrameworkConstants[_0x256f68(0x20e)]]:_0x15c634?.['error']&&_0x21cbee[_0x256f68(0x1f7)](getFailureType,_0x15c634[_0x256f68(0x1fd)][_0x256f68(0x236)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x15c634?.[_0x256f68(0x1fd)]&&_0x21cbee[_0x256f68(0x1f7)](removeAnsiColors,_0x15c634[_0x256f68(0x1fd)][_0x256f68(0x236)]),[TestFrameworkConstants[_0x256f68(0x1ac)]]:[],[TestFrameworkConstants[_0x256f68(0x1e3)]]:_0x5629bd,[TestFrameworkConstants[_0x256f68(0x22f)]]:_0x31e391['toISOString'](),[TestFrameworkConstants[_0x256f68(0x234)]]:new Date()[_0x256f68(0x1d4)](),[TestFrameworkConstants[_0x256f68(0x1b4)]]:_0x14320e};if(_0x15c634&&_0x21cbee[_0x256f68(0x16a)](_0x15c634[_0x256f68(0x172)],0x0)){const _0x242f1b=TestInfo['getTestUUID'](_0x21cbee[_0x256f68(0x1b5)](getTestRunIdentifier,_0x527602,_0x21cbee[_0x256f68(0x1d5)](_0x15c634[_0x256f68(0x172)],0x1)));_0x49ece7[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x242f1b;}const _0x37ea4c={};_0x37ea4c[_0x256f68(0x19d)]=_0x527602;const _0x3473ac=this[_0x256f68(0x185)](TestFrameworkState[_0x256f68(0x14a)],HookState['POST'],_0x37ea4c),_0x5493c3=_0x3473ac[_0x256f68(0x21f)]()[_0x256f68(0x1d6)](_0x172eb8)[TestFrameworkConstants[_0x256f68(0x159)]],_0x12f962=[],_0x2d232a=_0x21cbee[_0x256f68(0x198)](findNestedKey,_0x15c634,_0x21cbee[_0x256f68(0x224)]);if(_0x2d232a&&_0x21cbee[_0x256f68(0x1ef)](validateFilePath,_0x2d232a))try{_0x12f962[_0x256f68(0x226)]({'kind':_0x21cbee[_0x256f68(0x210)],'timestamp':new Date()[_0x256f68(0x1d4)](),'test_run_uuid':_0x5493c3,'file_name':path['basename'](_0x2d232a),'file_size':fs[_0x256f68(0x1ca)](_0x2d232a)[_0x256f68(0x1f8)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3e1e1e){logger[_0x256f68(0x1fd)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x2d232a+':\x20'+_0x3e1e1e['message']);}const _0x469af0=TestInfo[_0x256f68(0x18f)](),_0x3b56d0=_0x469af0[_0x256f68(0x228)](_0x1fdfcc=>_0x1fdfcc[_0x256f68(0x1a5)]===_0x5493c3);_0x3b56d0[_0x256f68(0x1d2)](_0x43add9=>{const _0x16cc69=_0x256f68;if(_0x43add9[_0x16cc69(0x1fe)]&&_0x21cbee[_0x16cc69(0x22e)](validateFilePath,_0x43add9[_0x16cc69(0x1fe)])&&!_0x12f962[_0x16cc69(0x1c2)](_0xdb6ad8=>_0xdb6ad8[_0x16cc69(0x229)]===path[_0x16cc69(0x222)](_0x43add9['filePath'])))try{_0x12f962[_0x16cc69(0x226)]({'kind':_0x21cbee['ggaCU'],'timestamp':new Date()[_0x16cc69(0x1d4)](),'test_run_uuid':_0x5493c3,'file_name':path[_0x16cc69(0x222)](_0x43add9[_0x16cc69(0x1fe)]),'file_size':fs[_0x16cc69(0x1ca)](_0x43add9['filePath'])[_0x16cc69(0x1f8)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4c4e5a){logger[_0x16cc69(0x1fd)]('Error\x20processing\x20trace\x20file\x20'+_0x43add9['filePath']+_0x16cc69(0x19f)+_0x4c4e5a['message']);}});if(_0x21cbee[_0x256f68(0x16a)](_0x12f962[_0x256f68(0x219)],0x0)){const _0x220d90=_0x49ece7[TestFrameworkConstants[_0x256f68(0x1ac)]]||[];_0x49ece7[TestFrameworkConstants[_0x256f68(0x1ac)]]=[..._0x220d90,..._0x12f962];}const _0x13930a=TestInfo['getTestDetails'](_0x172eb8)[TestFrameworkConstants[_0x256f68(0x221)]]||{},_0x3a8ed3=_0x21cbee[_0x256f68(0x22a)](getManualUploadLogs,_0x13930a,_0x3473ac[_0x256f68(0x21f)]()['get'](_0x172eb8)[TestFrameworkConstants[_0x256f68(0x159)]]);if(_0x21cbee[_0x256f68(0x182)](_0x3a8ed3[_0x256f68(0x219)],0x0)){const _0x5b4bca=_0x49ece7[TestFrameworkConstants[_0x256f68(0x1ac)]]||[];_0x49ece7[TestFrameworkConstants[_0x256f68(0x1ac)]]=[..._0x5b4bca,..._0x3a8ed3];}const _0x5a7025=_0x527602[_0x256f68(0x1e6)]||[],_0x5e9c46=_0x49ece7[TestFrameworkConstants[_0x256f68(0x1b4)]]||{};_0x5a7025[_0x256f68(0x1d2)](_0x45bab9=>{const _0x13ce44=_0x256f68,{type:_0x182f02}=_0x45bab9;let _0x54d858=_0x45bab9[_0x13ce44(0x1aa)];if(!_0x182f02)return;(_0x21cbee[_0x13ce44(0x1d7)](_0x54d858,undefined)||_0x21cbee[_0x13ce44(0x1d7)](_0x54d858,null)||_0x21cbee['dCVDd'](_0x21cbee[_0x13ce44(0x18a)](String,_0x54d858)[_0x13ce44(0x152)](),''))&&(_0x54d858=_0x21cbee[_0x13ce44(0x1d3)]);if(!_0x5e9c46[_0x182f02]){const _0x2d0d4c={};_0x2d0d4c[_0x13ce44(0x1ce)]=_0x21cbee[_0x13ce44(0x181)],_0x2d0d4c[_0x13ce44(0x19b)]=[],_0x5e9c46[_0x182f02]=_0x2d0d4c;}else!_0x5e9c46[_0x182f02]['field_type']&&(_0x5e9c46[_0x182f02]['field_type']=_0x21cbee[_0x13ce44(0x181)]),!Array[_0x13ce44(0x1cc)](_0x5e9c46[_0x182f02]['values'])&&(_0x5e9c46[_0x182f02][_0x13ce44(0x19b)]=[]);const _0x4407e2=_0x21cbee[_0x13ce44(0x18a)](String,_0x54d858)['split'](',')['map'](_0x19c887=>_0x19c887[_0x13ce44(0x152)]());_0x5e9c46[_0x182f02][_0x13ce44(0x19b)]=[...new Set([..._0x5e9c46[_0x182f02][_0x13ce44(0x19b)],..._0x4407e2])];}),_0x49ece7[TestFrameworkConstants[_0x256f68(0x1b4)]]=_0x5e9c46,TestInfo['setTestDetails'](_0x172eb8,_0x49ece7);const _0x268737={};return _0x268737[_0x172eb8]=_0x49ece7,_0x268737;}async[a77_0x4327ed(0x1e9)](_0x7532b4,_0x38fbe7,_0x1ab766,_0x5c0b35){const _0x97f584=a77_0x4327ed,_0x3a1b22={'pVpVC':function(_0x4b296d,_0x2d0ccb,_0x539a5d){return _0x4b296d(_0x2d0ccb,_0x539a5d);},'zUELW':function(_0x3c3b1e,_0x4c0eb0){return _0x3c3b1e in _0x4c0eb0;},'TIhcm':function(_0x13d13a,_0x5e3bd4){return _0x13d13a(_0x5e3bd4);},'sOqRK':function(_0x39bd67,_0x5af102){return _0x39bd67(_0x5af102);},'Mkaho':function(_0xef94fb,_0x1abf6e){return _0xef94fb===_0x1abf6e;},'uyxpY':function(_0x5cd85f){return _0x5cd85f();},'dGMBL':function(_0x1286b6,_0x477cf7){return _0x1286b6===_0x477cf7;},'klOhD':function(_0xd22f39,_0x34df20){return _0xd22f39>_0x34df20;},'fHQrV':_0x97f584(0x16f),'qMZEm':function(_0x5e9192,_0x984edb){return _0x5e9192(_0x984edb);},'DdPAb':_0x97f584(0x22d),'EKtux':'passed','zkvNL':function(_0x27ef08,_0x5ec3e2){return _0x27ef08!==_0x5ec3e2;},'UxzNV':function(_0x3dacb5,_0x40ffe6){return _0x3dacb5+_0x40ffe6;},'DHgLI':_0x97f584(0x1a7)},_0x2bd2d8=_0x5c0b35[_0x97f584(0x19d)],_0x454d76=_0x5c0b35[_0x97f584(0x184)],_0x94db07=_0x3a1b22['pVpVC'](getTestRunIdentifier,_0x2bd2d8,_0x5c0b35['result'][_0x97f584(0x172)]),_0x11de2c=_0x38fbe7['toString']()['split']('.')[0x1];let _0x1ca58d=_0x7532b4[_0x97f584(0x21f)]()[_0x97f584(0x1d6)](_0x94db07)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x1ca58d&&(_0x1ca58d={});!_0x3a1b22[_0x97f584(0x207)](_0x11de2c,_0x1ca58d)&&(_0x1ca58d[_0x11de2c]=[]);let _0x4674a2=_0x7532b4[_0x97f584(0x21f)]()[_0x97f584(0x1d6)](_0x94db07)[TestFrameworkConstants[_0x97f584(0x232)]];!_0x4674a2&&(_0x4674a2={});!_0x3a1b22[_0x97f584(0x207)](_0x11de2c,_0x4674a2)&&(_0x4674a2[_0x11de2c]=[]);const _0x2bcdf5={[TestFrameworkConstants[_0x97f584(0x1e7)]]:_0x1ca58d,[TestFrameworkConstants[_0x97f584(0x232)]]:_0x4674a2},_0xd83707={};_0xd83707[_0x94db07]=_0x2bcdf5;const _0x205952=_0xd83707,_0x5a1943=_0x3a1b22[_0x97f584(0x1f0)](getPlaywrightTestFilePath,_0x2bd2d8),_0x4f82bd=_0x5a1943+':'+_0x3a1b22[_0x97f584(0x1b3)](getPlaywrightTestLocation,_0x2bd2d8),_0x11de36=TestInfo['getTestDetails'](_0x94db07)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x3a1b22[_0x97f584(0x1da)](_0x1ab766,HookState[_0x97f584(0x1d1)])){const _0x2101c2={'key':_0x11de2c,[TestFrameworkConstants[_0x97f584(0x18d)]]:_0x3a1b22[_0x97f584(0x216)](uuidv4),[TestFrameworkConstants[_0x97f584(0x215)]]:TestFrameworkConstants[_0x97f584(0x1b9)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x454d76[_0x97f584(0x213)],[TestFrameworkConstants[_0x97f584(0x15f)]]:[],[TestFrameworkConstants[_0x97f584(0x1f2)]]:_0x454d76[_0x97f584(0x171)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5a1943,[TestFrameworkConstants[_0x97f584(0x150)]]:_0x4f82bd,[TestFrameworkConstants[_0x97f584(0x1b4)]]:_0x11de36};_0x1ca58d[_0x11de2c][_0x97f584(0x226)](_0x2101c2),_0x205952[_0x94db07][TestFrameworkConstants[_0x97f584(0x1cf)]]=_0x11de2c,logger[_0x97f584(0x192)](_0x97f584(0x1f6)+_0x11de2c+_0x97f584(0x1e1)+_0x2101c2+'\x20\x20and\x20args\x20=\x20'+_0x5c0b35);}else{if(_0x3a1b22[_0x97f584(0x19a)](_0x1ab766,HookState[_0x97f584(0x1b2)])){const _0x70aa66=await _0x5c0b35[_0x97f584(0x204)],_0x466eaa=_0x1ca58d[_0x11de2c]||[],_0x4cdc27=_0x5c0b35[_0x97f584(0x184)];logger[_0x97f584(0x192)](_0x97f584(0x173)+_0x466eaa+_0x97f584(0x238)+_0x5c0b35);if(_0x3a1b22['klOhD'](_0x466eaa['length'],0x0)){const _0x54b35b=_0x466eaa['pop']();if(_0x4cdc27['error']){const _0x5615f2=_0x3a1b22[_0x97f584(0x20c)](failureData,_0x4cdc27[_0x97f584(0x1fd)],_0x3a1b22[_0x97f584(0x22b)]);_0x54b35b[TestFrameworkConstants[_0x97f584(0x154)]]=_0x3a1b22[_0x97f584(0x1f0)](getFailureType,_0x4cdc27?.[_0x97f584(0x1fd)]['message']),_0x54b35b[TestFrameworkConstants[_0x97f584(0x21c)]]=_0x3a1b22[_0x97f584(0x1fc)](removeAnsiColors,_0x4cdc27?.[_0x97f584(0x1fd)][_0x97f584(0x236)]),_0x54b35b[TestFrameworkConstants[_0x97f584(0x215)]]=_0x3a1b22[_0x97f584(0x1a0)],_0x54b35b[TestFrameworkConstants[_0x97f584(0x208)]]=_0x5615f2;}else _0x54b35b[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3a1b22[_0x97f584(0x206)];_0x3a1b22[_0x97f584(0x153)](_0x70aa66,TestFrameworkConstants[_0x97f584(0x1b9)])&&(_0x54b35b[TestFrameworkConstants[_0x97f584(0x215)]]=!_0x4cdc27['error']?_0x3a1b22[_0x97f584(0x206)]:_0x3a1b22[_0x97f584(0x1a0)]);const _0x381270=new Date(_0x4cdc27['startTime']),_0x3a4bcc=new Date(_0x3a1b22[_0x97f584(0x166)](_0x381270[_0x97f584(0x23a)](),_0x4cdc27[_0x97f584(0x1b6)]));_0x54b35b[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x3a4bcc[_0x97f584(0x1d4)](),_0x54b35b[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x11de36;const _0x17d6af=_0x54b35b[TestFrameworkConstants[_0x97f584(0x18d)]];await this[_0x97f584(0x1bf)](_0x7532b4,_0x38fbe7,_0x17d6af,_0x3a1b22[_0x97f584(0x1fa)],_0x5c0b35),!_0x4674a2[_0x11de2c]&&(_0x4674a2[_0x11de2c]=[]),_0x4674a2[_0x11de2c][_0x97f584(0x226)](_0x54b35b),_0x205952[_0x94db07][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x11de2c;}}}return _0x205952;}async[a77_0x4327ed(0x1bf)](_0x4d006a,_0xd7fb2f,_0x29d701,_0x1f4d83,_0x582b8a){const _0x3af094=a77_0x4327ed,_0x35cb48={'DiuXA':function(_0x25a0ea,_0x144e23){return _0x25a0ea===_0x144e23;},'bgTyc':_0x3af094(0x19d),'jphJR':function(_0x194c87,_0x54d2a8,_0x42bdb7){return _0x194c87(_0x54d2a8,_0x42bdb7);},'RRBOw':_0x3af094(0x19c),'rHoVZ':function(_0xa5d4b0,_0x2104d3,_0x758880,_0x19d161){return _0xa5d4b0(_0x2104d3,_0x758880,_0x19d161);},'QfDVn':function(_0x3ce6d6,_0x5a47af,_0x1f5334){return _0x3ce6d6(_0x5a47af,_0x1f5334);},'NnRRG':function(_0x56d4dd,_0x225430,_0x411dcf){return _0x56d4dd(_0x225430,_0x411dcf);},'qThcr':function(_0x3a3dc4,_0x584b85){return _0x3a3dc4/_0x584b85;},'MpUeI':function(_0x11f37d,_0x444158){return _0x11f37d<_0x444158;},'lMiFV':function(_0x447d91,_0x356508){return _0x447d91*_0x356508;},'Gqabx':function(_0x2297e5,_0x557bbf){return _0x2297e5+_0x557bbf;},'hcoUx':function(_0x3f2caa,_0x1cb4ac,_0x13b201,_0x3d5946,_0x38bbf7){return _0x3f2caa(_0x1cb4ac,_0x13b201,_0x3d5946,_0x38bbf7);},'CgViE':function(_0x35f643,_0x5cecaa){return _0x35f643+_0x5cecaa;},'ycOBR':function(_0x1845c7,_0x3ad201){return _0x1845c7+_0x3ad201;},'oEsgl':_0x3af094(0x1a7),'HgfIP':function(_0xf13500,_0x33381d,_0xb83140){return _0xf13500(_0x33381d,_0xb83140);},'BUbEl':function(_0x521f01,_0x2d900a,_0x3bd6d9,_0x2ff4c5,_0x4176b4){return _0x521f01(_0x2d900a,_0x3bd6d9,_0x2ff4c5,_0x4176b4);}};try{if(_0x35cb48['DiuXA'](_0x1f4d83,_0x35cb48[_0x3af094(0x170)])){const _0x51dbcb=await _0x582b8a[_0x3af094(0x204)],_0x4bf5ef=_0x35cb48[_0x3af094(0x168)](getTestRunIdentifier,_0x582b8a[_0x3af094(0x19d)],_0x582b8a['result'][_0x3af094(0x172)]),_0x10e2ae=_0x582b8a[_0x3af094(0x19d)];logger[_0x3af094(0x192)](_0x3af094(0x157)+_0x4bf5ef+'\x20result='+util[_0x3af094(0x194)](_0x51dbcb));const _0x9abf68=_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants[_0x3af094(0x159)]];await _0x35cb48[_0x3af094(0x168)](sendTraceZip,_0x51dbcb,_0x9abf68);const _0x148357=TestInfo[_0x3af094(0x227)](_0x4bf5ef)[_0x35cb48['RRBOw']],_0x218c0c={};if(_0x148357){!_0x51dbcb['attachments']&&(_0x51dbcb[_0x3af094(0x19c)]=[]);_0x218c0c[_0x3af094(0x19c)]=_0x51dbcb[_0x3af094(0x19c)][_0x3af094(0x1a3)](_0x148357||[]);const _0x4d0ba1=TestInfo['getTestDetails'](_0x4bf5ef);delete _0x4d0ba1[_0x35cb48['RRBOw']],TestInfo['setTestDetails'](_0x4bf5ef,_0x4d0ba1);}const {steps:_0x8f8e74,logs:_0x14bc77}=_0x35cb48['rHoVZ'](getStepsAndLogs,_0x51dbcb[_0x3af094(0x196)],_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants['KEY_TEST_UUID']],_0x35cb48[_0x3af094(0x170)]),_0x3230b1=_0x35cb48[_0x3af094(0x168)](getScreenshots,_0x218c0c,_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x2ade9f=_0x35cb48[_0x3af094(0x160)](getVideos,_0x51dbcb,_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants[_0x3af094(0x159)]]),{_:_0x46dea5,logs:_0x28b1a}=_0x35cb48[_0x3af094(0x231)](getFailureData,_0x51dbcb[_0x3af094(0x20a)],{'test_run_uuid':_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x3294de=TestInfo[_0x3af094(0x227)](_0x4bf5ef)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x34ecba=_0x35cb48[_0x3af094(0x168)](getMediaArtifactsLogs,_0x3294de,_0x4d006a['getAllData']()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants[_0x3af094(0x159)]]),_0x425122=_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x46205f='',[TestFrameworkConstants[_0x3af094(0x15c)]]:_0x589869=''}=_0x425122,_0x1669ef=(_0x14bc77||[])[_0x3af094(0x1a3)](_0x3230b1||[])[_0x3af094(0x1a3)](_0x28b1a||[])[_0x3af094(0x1a3)](_0x2ade9f||[])[_0x3af094(0x1a3)](_0x34ecba||[]),_0x18d8fd=0x28,_0x2dcf4c=Math[_0x3af094(0x187)](_0x35cb48[_0x3af094(0x1e4)](_0x1669ef[_0x3af094(0x219)],_0x18d8fd));for(let _0x2a72b7=0x0;_0x35cb48[_0x3af094(0x20d)](_0x2a72b7,_0x2dcf4c);_0x2a72b7++){const _0x19be4c=_0x35cb48[_0x3af094(0x17e)](_0x2a72b7,_0x18d8fd),_0x18c6ae=_0x35cb48[_0x3af094(0x1c4)](_0x19be4c,_0x18d8fd),_0x57eaad=_0x1669ef[_0x3af094(0x1bb)](_0x19be4c,_0x18c6ae),_0x1d23a8={'platformIndex':global?.[_0x3af094(0x1f5)]??0x0,'logs':_0x57eaad,'testFrameworkName':_0x46205f,'testFrameworkVersion':_0x589869,'testFrameworkState':_0xd7fb2f[_0x3af094(0x212)]()['split']('.')[0x1]};_0x35cb48[_0x3af094(0x16c)](updatePayloadForTraceLogs,_0x1d23a8,_0x582b8a,_0x4bf5ef,_0x4d006a),logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x4bf5ef+'\x20batch\x20'+_0x35cb48[_0x3af094(0x1df)](_0x2a72b7,0x1)+'/'+_0x2dcf4c+_0x3af094(0x155)+util['inspect'](_0x1d23a8));const _0x54dcf0=await GrpcClient['getInstance']()[_0x3af094(0x225)](_0x1d23a8);logger['debug'](_0x3af094(0x1ff)+_0x4bf5ef+_0x3af094(0x14f)+_0x35cb48[_0x3af094(0x1ed)](_0x2a72b7,0x1)+'/'+_0x2dcf4c+_0x3af094(0x1e0)+util[_0x3af094(0x194)](_0x54dcf0));}}else{const {steps:_0x29f118,logs:_0x9f8f91}=_0x35cb48[_0x3af094(0x1ab)](getStepsAndLogs,_0x582b8a[_0x3af094(0x184)][_0x3af094(0x196)],_0x29d701,_0x35cb48[_0x3af094(0x1f1)]),_0x46742e=_0x35cb48[_0x3af094(0x165)](getTestRunIdentifier,_0x582b8a[_0x3af094(0x19d)],_0x582b8a[_0x3af094(0x204)][_0x3af094(0x172)]);logger[_0x3af094(0x192)](_0x3af094(0x157)+_0x46742e);const _0x487646=_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x46742e),{[TestFrameworkConstants[_0x3af094(0x1b0)]]:_0x2a3ae8='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x36c43e=''}=_0x487646,_0x4ab2c7={'platformIndex':'0','logs':_0x9f8f91,'testFrameworkName':_0x2a3ae8,'testFrameworkVersion':_0x36c43e,'testFrameworkState':_0xd7fb2f['toString']()['split']('.')[0x1]};_0x35cb48[_0x3af094(0x21a)](updatePayloadForTraceLogs,_0x4ab2c7,_0x582b8a,_0x46742e,_0x4d006a),logger[_0x3af094(0x192)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x46742e+'\x20payload='+util[_0x3af094(0x194)](_0x4ab2c7));const _0x3eb504=await GrpcClient[_0x3af094(0x161)]()['logCreatedEvent'](_0x4ab2c7);}}catch(_0x48eba7){logger['error'](_0x3af094(0x197)+util['format'](_0x48eba7));}}[a77_0x4327ed(0x167)](_0x559f98){const _0x44feed=a77_0x4327ed,_0x53067c={'Jahyt':function(_0x405ea1,_0x1b1ee1,_0x5b0f55){return _0x405ea1(_0x1b1ee1,_0x5b0f55);},'SWEig':function(_0x555149,_0x296531){return _0x555149<_0x296531;},'OLVhn':_0x44feed(0x1c3)};try{const _0x3826d4=_0x559f98[_0x44feed(0x19d)]['id'],_0x5db3dd=_0x53067c[_0x44feed(0x22c)](getTestRunIdentifier,_0x559f98['test'],_0x559f98['result']['retry']),_0x275354=_0x559f98[_0x44feed(0x1db)],_0x47cd8f=_0x275354['getContext'](),_0x4d938c=_0x275354[_0x44feed(0x21f)]()['get'](_0x5db3dd);logger[_0x44feed(0x192)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x3826d4);const {[TestFrameworkConstants[_0x44feed(0x1b0)]]:_0x6f6aa0='',[TestFrameworkConstants[_0x44feed(0x15c)]]:_0x583a97='',[TestFrameworkConstants[_0x44feed(0x1eb)]]:_0x1238c8='',[TestFrameworkConstants[_0x44feed(0x22f)]]:_0x2c1fce=''}=_0x4d938c,_0x3f99d4=_0x275354[_0x44feed(0x1ec)]()[_0x44feed(0x212)]()[_0x44feed(0x235)]('.')[0x1],_0x207b79=_0x275354[_0x44feed(0x1d9)]()[_0x44feed(0x212)]()[_0x44feed(0x235)]('.')[0x1],_0x39da16=_0x53067c[_0x44feed(0x1ad)](_0x559f98?.['result']?.[_0x44feed(0x16e)]??0x0,0x0)?0x0:_0x559f98?.[_0x44feed(0x204)]?.[_0x44feed(0x16e)]??0x0,_0x4df9ec=_0x275354[_0x44feed(0x21d)](),_0x95d169=Buffer[_0x44feed(0x205)](JSON[_0x44feed(0x190)](_0x4d938c))['toString'](_0x53067c[_0x44feed(0x1d0)]),_0x5674cd={'hash':_0x47cd8f[_0x44feed(0x220)](),'threadId':_0x47cd8f[_0x44feed(0x21e)]()['toString'](),'processId':_0x47cd8f[_0x44feed(0x18b)]()[_0x44feed(0x212)]()},_0x4c75ba={};_0x4c75ba['platformIndex']=_0x39da16,_0x4c75ba[_0x44feed(0x19e)]=_0x6f6aa0,_0x4c75ba[_0x44feed(0x163)]=_0x583a97,_0x4c75ba[_0x44feed(0x180)]=_0x3f99d4,_0x4c75ba[_0x44feed(0x169)]=_0x207b79,_0x4c75ba['startedAt']=_0x1238c8,_0x4c75ba['endedAt']=_0x2c1fce,_0x4c75ba['uuid']=_0x4df9ec,_0x4c75ba[_0x44feed(0x1ea)]=_0x95d169,_0x4c75ba[_0x44feed(0x188)]=_0x5674cd;const _0x2e1b65=_0x4c75ba;return logger[_0x44feed(0x192)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x3826d4+'\x20testState:\x20'+_0x3f99d4+'\x20hookState:\x20'+_0x207b79),_0x2e1b65;}catch(_0x472af6){return logger[_0x44feed(0x1fd)](_0x44feed(0x237)+util['format'](_0x472af6)),{};}}}module[a77_0x4327ed(0x1e2)]=PlaywrightTestFramework;
@@ -1 +1 @@
1
- function a78_0x21bd(){const _0x174229=['getId','6kmCOFQ','2285220TbHcom','getAutomationFrameworkVersion','CREATE','../state/hookState.js','trackEvent:\x20automationFrameworkState=','11xtwVPQ','\x20target=','trackPuppeteerInstance','getTrackedInstance','68PPiJEY','hNuzN','2640264MmTNcN','tNosL','../cliUtils.js','6306ztHObh',',\x20state=','../instances/trackedInstance.js','527670tHEKgo','PRE','resolveInstance','NONE','\x20hookState=','getAutomationFrameworkName','98sirWsm','debug','8367LgPvtr','logger','runHooks','kKrIa','setTrackedInstance','153nGxczL','uRUiI','120740erVhqN','OnCBc','info','../instances/automationFrameworkInstance.js','229796vQflam','createContext','trackEvent','../../../helpers/classLogger.js','exports'];a78_0x21bd=function(){return _0x174229;};return a78_0x21bd();}const a78_0x981aef=a78_0x3ce0;(function(_0x40f83d,_0x106445){const _0x43332e=a78_0x3ce0,_0x56b41c=_0x40f83d();while(!![]){try{const _0x59d2d6=parseInt(_0x43332e(0x15e))/0x1*(-parseInt(_0x43332e(0x179))/0x2)+-parseInt(_0x43332e(0x16f))/0x3*(-parseInt(_0x43332e(0x169))/0x4)+parseInt(_0x43332e(0x156))/0x5+parseInt(_0x43332e(0x153))/0x6*(parseInt(_0x43332e(0x15c))/0x7)+parseInt(_0x43332e(0x150))/0x8+-parseInt(_0x43332e(0x163))/0x9*(parseInt(_0x43332e(0x165))/0xa)+parseInt(_0x43332e(0x175))/0xb*(parseInt(_0x43332e(0x170))/0xc);if(_0x59d2d6===_0x106445)break;else _0x56b41c['push'](_0x56b41c['shift']());}catch(_0x4bf24e){_0x56b41c['push'](_0x56b41c['shift']());}}}(a78_0x21bd,0x40e96));function a78_0x3ce0(_0x17b6c0,_0x8df4cf){const _0x21bd33=a78_0x21bd();return a78_0x3ce0=function(_0x3ce002,_0x27d352){_0x3ce002=_0x3ce002-0x14f;let _0x505d75=_0x21bd33[_0x3ce002];return _0x505d75;},a78_0x3ce0(_0x17b6c0,_0x8df4cf);}const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a78_0x981aef(0x16c)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a78_0x981aef(0x173)),CLIUtils=require(a78_0x981aef(0x152)),TrackedInstance=require(a78_0x981aef(0x155)),AutomationFrameworkInstance=require(a78_0x981aef(0x168));class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger('PuppeteerAutomationFramework');constructor(_0x4d3858,_0x5ecf20){super(_0x4d3858,_0x5ecf20);}async[a78_0x981aef(0x16b)](_0x24302e,_0x2aa28f,_0x3181cb={}){const _0x3ed41d=a78_0x981aef,_0x4948e7={};_0x4948e7[_0x3ed41d(0x14f)]=function(_0x26b335,_0xddf20b){return _0x26b335===_0xddf20b;},_0x4948e7[_0x3ed41d(0x164)]='trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking';const _0x4e6463=_0x4948e7;this[_0x3ed41d(0x15f)][_0x3ed41d(0x15d)](_0x3ed41d(0x174)+_0x24302e+_0x3ed41d(0x15a)+_0x2aa28f),await super['trackEvent'](_0x24302e,_0x2aa28f,_0x3181cb);const _0x349645=this[_0x3ed41d(0x158)](_0x24302e,_0x2aa28f,_0x3181cb);if(_0x4e6463[_0x3ed41d(0x14f)](_0x349645,null)){this['logger'][_0x3ed41d(0x15d)](_0x4e6463['uRUiI']);return;}_0x3181cb['instance']=_0x349645,await this[_0x3ed41d(0x160)](_0x349645,_0x24302e,_0x2aa28f,_0x3181cb);}['resolveInstance'](_0x22123a,_0x16c03a,_0xaf3191={}){const _0x3d528a=a78_0x981aef,_0x230d06={};_0x230d06['OnCBc']=function(_0x16a498,_0x1471d0){return _0x16a498===_0x1471d0;},_0x230d06[_0x3d528a(0x161)]=function(_0x254ade,_0x52cf8d){return _0x254ade===_0x52cf8d;};const _0x1c8072=_0x230d06;let _0x254e3e=null;return(_0x1c8072[_0x3d528a(0x166)](_0x22123a,AutomationFrameworkState[_0x3d528a(0x172)])&&_0x1c8072[_0x3d528a(0x161)](_0x16c03a,HookState[_0x3d528a(0x157)])||_0x1c8072[_0x3d528a(0x161)](_0x22123a,AutomationFrameworkState[_0x3d528a(0x159)]))&&this[_0x3d528a(0x177)](_0x22123a,_0xaf3191),_0x254e3e=AutomationFramework['getTrackedInstance'](),_0x254e3e;}[a78_0x981aef(0x177)](_0x45356a,_0x4d75e8){const _0x10ec82=a78_0x981aef,_0x14b3a7={};_0x14b3a7[_0x10ec82(0x151)]='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x53930c=_0x14b3a7;if(AutomationFramework[_0x10ec82(0x178)]()){this['logger'][_0x10ec82(0x167)](_0x53930c[_0x10ec82(0x151)]);return;}const _0x240ada=CLIUtils['getCurrentInstanceName'](),_0xe0f972=TrackedInstance[_0x10ec82(0x16a)](_0x240ada);let _0x5376b9=null;this['logger']['info']('trackPuppeteerInstance:\x20created\x20instance\x20for\x20target='+_0x240ada+_0x10ec82(0x154)+_0x45356a),_0x5376b9=new AutomationFrameworkInstance(_0xe0f972,this[_0x10ec82(0x15b)](),this[_0x10ec82(0x171)](),_0x45356a),AutomationFramework[_0x10ec82(0x162)](_0xe0f972,_0x5376b9),this[_0x10ec82(0x15f)]['info']('trackPuppeteerInstance:\x20saved\x20instance\x20contextId='+_0xe0f972[_0x10ec82(0x16e)]()+_0x10ec82(0x176)+_0x240ada);}}module[a78_0x981aef(0x16d)]=PuppeteerAutomationFramework;
1
+ function a78_0x15b8(){const _0x316dd7=['suuxo','debug','3072867PzxTZD','3832470CVVDap','trackPuppeteerInstance','getTrackedInstance','382819yWTNiQ','1646YpylVc','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','vEiYO','logger','../../../helpers/classLogger.js','../state/automationFrameworkState.js','PRE','../instances/trackedInstance.js','getCurrentInstanceName','208nskvup','1422pXlfin','instance',',\x20state=','YQvfY','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','trackEvent','info','../instances/automationFrameworkInstance.js','\x20hookState=','CREATE','9628uVAOQl','5ptfqkx','createContext','PuppeteerAutomationFramework','uAHEa','32607txxquq','\x20target=','13103000MUTAZh','getAutomationFrameworkName','trackEvent:\x20automationFrameworkState=','../cliUtils.js','BLgPy','resolveInstance'];a78_0x15b8=function(){return _0x316dd7;};return a78_0x15b8();}const a78_0x1a5d8b=a78_0x4680;(function(_0x5a4c54,_0x2d81fb){const _0x35c381=a78_0x4680,_0x5e56d8=_0x5a4c54();while(!![]){try{const _0x23bb59=-parseInt(_0x35c381(0x1fd))/0x1+parseInt(_0x35c381(0x1fe))/0x2*(-parseInt(_0x35c381(0x208))/0x3)+parseInt(_0x35c381(0x1ea))/0x4+-parseInt(_0x35c381(0x1eb))/0x5*(parseInt(_0x35c381(0x1fa))/0x6)+parseInt(_0x35c381(0x1f9))/0x7+parseInt(_0x35c381(0x207))/0x8*(parseInt(_0x35c381(0x1ef))/0x9)+parseInt(_0x35c381(0x1f1))/0xa;if(_0x23bb59===_0x2d81fb)break;else _0x5e56d8['push'](_0x5e56d8['shift']());}catch(_0x2fbe6b){_0x5e56d8['push'](_0x5e56d8['shift']());}}}(a78_0x15b8,0x6a02c));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a78_0x1a5d8b(0x202)),AutomationFrameworkState=require(a78_0x1a5d8b(0x203)),HookState=require('../state/hookState.js'),CLIUtils=require(a78_0x1a5d8b(0x1f4)),TrackedInstance=require(a78_0x1a5d8b(0x205)),AutomationFrameworkInstance=require(a78_0x1a5d8b(0x1e7));class PuppeteerAutomationFramework extends AutomationFramework{[a78_0x1a5d8b(0x201)]=createClassLogger(a78_0x1a5d8b(0x1ed));constructor(_0x238a55,_0x3e67e6){super(_0x238a55,_0x3e67e6);}async[a78_0x1a5d8b(0x1e5)](_0xe4bb83,_0x64d181,_0x2d77e8={}){const _0x34d88b=a78_0x1a5d8b,_0x1d01db={};_0x1d01db['YQvfY']=function(_0x546321,_0x4b6361){return _0x546321===_0x4b6361;},_0x1d01db[_0x34d88b(0x1f7)]='trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking';const _0x59ff6f=_0x1d01db;this[_0x34d88b(0x201)]['debug'](_0x34d88b(0x1f3)+_0xe4bb83+_0x34d88b(0x1e8)+_0x64d181),await super[_0x34d88b(0x1e5)](_0xe4bb83,_0x64d181,_0x2d77e8);const _0xa0c6e8=this[_0x34d88b(0x1f6)](_0xe4bb83,_0x64d181,_0x2d77e8);if(_0x59ff6f[_0x34d88b(0x1e3)](_0xa0c6e8,null)){this['logger'][_0x34d88b(0x1f8)](_0x59ff6f[_0x34d88b(0x1f7)]);return;}_0x2d77e8[_0x34d88b(0x1e1)]=_0xa0c6e8,await this['runHooks'](_0xa0c6e8,_0xe4bb83,_0x64d181,_0x2d77e8);}[a78_0x1a5d8b(0x1f6)](_0x2bf90b,_0x551efd,_0x94748b={}){const _0x4f9569=a78_0x1a5d8b,_0x1044ef={};_0x1044ef[_0x4f9569(0x200)]=function(_0x51da9d,_0x4fb672){return _0x51da9d===_0x4fb672;},_0x1044ef[_0x4f9569(0x1f5)]=function(_0x2482ee,_0xe03dd5){return _0x2482ee===_0xe03dd5;};const _0x44b8ed=_0x1044ef;let _0x5620f6=null;return(_0x44b8ed[_0x4f9569(0x200)](_0x2bf90b,AutomationFrameworkState[_0x4f9569(0x1e9)])&&_0x44b8ed['BLgPy'](_0x551efd,HookState[_0x4f9569(0x204)])||_0x44b8ed[_0x4f9569(0x200)](_0x2bf90b,AutomationFrameworkState['NONE']))&&this[_0x4f9569(0x1fb)](_0x2bf90b,_0x94748b),_0x5620f6=AutomationFramework['getTrackedInstance'](),_0x5620f6;}[a78_0x1a5d8b(0x1fb)](_0x58e9e2,_0x5d95b8){const _0x40697c=a78_0x1a5d8b,_0x4997c2={};_0x4997c2['uAHEa']='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x1a7613=_0x4997c2;if(AutomationFramework[_0x40697c(0x1fc)]()){this[_0x40697c(0x201)][_0x40697c(0x1e6)](_0x1a7613[_0x40697c(0x1ee)]);return;}const _0x5a3e2a=CLIUtils[_0x40697c(0x206)](),_0x5810f5=TrackedInstance[_0x40697c(0x1ec)](_0x5a3e2a);let _0x15b910=null;this['logger'][_0x40697c(0x1e6)](_0x40697c(0x1ff)+_0x5a3e2a+_0x40697c(0x1e2)+_0x58e9e2),_0x15b910=new AutomationFrameworkInstance(_0x5810f5,this[_0x40697c(0x1f2)](),this['getAutomationFrameworkVersion'](),_0x58e9e2),AutomationFramework['setTrackedInstance'](_0x5810f5,_0x15b910),this[_0x40697c(0x201)][_0x40697c(0x1e6)](_0x40697c(0x1e4)+_0x5810f5['getId']()+_0x40697c(0x1f0)+_0x5a3e2a);}}function a78_0x4680(_0x36a88b,_0x151af4){const _0x15b825=a78_0x15b8();return a78_0x4680=function(_0x46809a,_0x35d32d){_0x46809a=_0x46809a-0x1e1;let _0xabb380=_0x15b825[_0x46809a];return _0xabb380;},a78_0x4680(_0x36a88b,_0x151af4);}module['exports']=PuppeteerAutomationFramework;