browserstack-node-sdk 1.50.7 → 1.50.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a85_0x12315b=a85_0x5c17;(function(_0x541c59,_0x3c8a07){const _0x1b9001=a85_0x5c17,_0x1156f2=_0x541c59();while(!![]){try{const _0x33e836=parseInt(_0x1b9001(0x230))/0x1+parseInt(_0x1b9001(0x211))/0x2+parseInt(_0x1b9001(0x1f3))/0x3*(parseInt(_0x1b9001(0x1d6))/0x4)+parseInt(_0x1b9001(0x1ce))/0x5+-parseInt(_0x1b9001(0x1d5))/0x6*(parseInt(_0x1b9001(0x1ec))/0x7)+-parseInt(_0x1b9001(0x208))/0x8*(parseInt(_0x1b9001(0x216))/0x9)+parseInt(_0x1b9001(0x221))/0xa;if(_0x33e836===_0x3c8a07)break;else _0x1156f2['push'](_0x1156f2['shift']());}catch(_0x45c369){_0x1156f2['push'](_0x1156f2['shift']());}}}(a85_0x1530,0x5e9a5));function a85_0x1530(){const _0xc78b4=['version','841455vRoanw','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','recreateIdentifierFromTestInfo','KEY_HUB_URL','getTestDetails','../state/hookState.js','KEY_PLATFORM_INDEX','30GlvyiQ','44AlacJm','../state/testFrameworkState.js','sendTestFrameworkEvent','getJwt','XBIMK','stringify','ScJdV','format','matchHookRegex','testUuid','../../../helpers/testhub/constants','../cliUtils.js','../../../helpers/helper.js','CUCUMBER','jestUtils','registerObserver','KEY_SESSION_ID','onPageCreate','appJj','Error\x20in\x20sending\x20CBTSession:\x20','test_identifier','CREATE','433195lQOIyH','getId','getProcessId','split','error','./loadTestModule.js','base64','160158jnVQsG','bind','DySlD','../browserstackCLI.js','NmLtE','hookState','getTestIdentifierFromTestInfo','getBuildHashedId','BROWSERSTACK_TESTHUB_UUID','getThreadId','NOmwT','testhubConfig','env','length','getInstance','getTestFramework','MODULE_NAME','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','keys','../framework/constants/testFrameworkConstants.js','toString','944152WvaLhJ','../framework/testFramework.js','debug','Error\x20in\x20sendTestFrameworkEvent:\x20','testInfo','TestHubModule','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_VERSION','testSessionEvent','20516NCauIG','name','forEach','\x20hookState:\x20','../grpcClient.js','36FRQXqz','logger','getModuleName','../TestInfo.js','testFrameworkData','./baseModule','PmjQO','values','KEY_TEST_FRAMEWORK_NAME','exports','../state/automationFrameworkState.js','2404240rQzfzY','KEY_CAPABILITIES','frameworkVersion','../utils/jest-utils.js','TEST','ENV_VAR','getTestUUID','getTestId','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','eJKsa','getCurrentTestState','getState','page','onAllTestEvents','retry','162775dbJsWG','./playwrightDriverModule.js','JEST','createTestFrameworkEventPayload','1|7|4|8|5|6|3|0|2','nPlZX','../../../helpers/test-observability/constants.js','testFrameworkEvent','instance','isLTSSession','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','KEY_TEST_DEFERRED','GUnUC','onPageCreate\x20CBTSession\x20payload:\x20','WWmWO','POST','MTWDy','testFrameworkState'];a85_0x1530=function(){return _0xc78b4;};return a85_0x1530();}const util=require('util'),BaseModule=require(a85_0x12315b(0x21b)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a85_0x12315b(0x220)),HookState=require(a85_0x12315b(0x1d3)),TestFramework=require(a85_0x12315b(0x209)),TestFrameworkState=require(a85_0x12315b(0x1d7)),PlaywrightDriverModule=require(a85_0x12315b(0x231)),TestFrameworkConstants=require(a85_0x12315b(0x206)),GrpcClient=require(a85_0x12315b(0x215)),CLIUtils=require(a85_0x12315b(0x1e1)),TestInfo=require(a85_0x12315b(0x219)),testHubConstants=require(a85_0x12315b(0x1e0)),{FRAMEWORKS}=require(a85_0x12315b(0x1c1)),helper=require(a85_0x12315b(0x1e2)),LoadTestModule=require(a85_0x12315b(0x1f1)),JestUtils=require(a85_0x12315b(0x224)),BrowserstackCLI=require(a85_0x12315b(0x1f6)),{getPlaywrightProvider,getProductForSession}=require(a85_0x12315b(0x1e2));function a85_0x5c17(_0x7a9ce7,_0xe2ffbc){const _0x153086=a85_0x1530();return a85_0x5c17=function(_0x5c17ea,_0x125f7c){_0x5c17ea=_0x5c17ea-0x1bf;let _0x565830=_0x153086[_0x5c17ea];return _0x565830;},a85_0x5c17(_0x7a9ce7,_0xe2ffbc);}class TestHubModule extends BaseModule{[a85_0x12315b(0x217)]=createClassLogger(a85_0x12315b(0x20d));constructor(_0x4e69ea,_0x520cb9=null){const _0x1e1ac2=a85_0x12315b,_0x184e5f={};_0x184e5f[_0x1e1ac2(0x1da)]=_0x1e1ac2(0x1bf),_0x184e5f[_0x1e1ac2(0x1c9)]=_0x1e1ac2(0x20d);const _0x587d80=_0x184e5f,_0x542054=_0x587d80['XBIMK'][_0x1e1ac2(0x1ef)]('|');let _0x141944=0x0;while(!![]){switch(_0x542054[_0x141944++]){case'0':process[_0x1e1ac2(0x1ff)][testHubConstants[_0x1e1ac2(0x226)][_0x1e1ac2(0x1fb)]]=this[_0x1e1ac2(0x1fe)][_0x1e1ac2(0x1fa)]();continue;case'1':super(_0x520cb9);continue;case'2':BrowserstackCLI['O11yHashedID']=this[_0x1e1ac2(0x1fe)][_0x1e1ac2(0x1fa)]();continue;case'3':process[_0x1e1ac2(0x1ff)][testHubConstants[_0x1e1ac2(0x226)]['BROWSERSTACK_TESTHUB_JWT']]=this['testhubConfig'][_0x1e1ac2(0x1d9)]();continue;case'4':this['testhubConfig']=_0x4e69ea;continue;case'5':AutomationFramework[_0x1e1ac2(0x1e5)](AutomationFrameworkState[_0x1e1ac2(0x1eb)],HookState[_0x1e1ac2(0x1ca)],this[_0x1e1ac2(0x1e7)][_0x1e1ac2(0x1f4)](this));continue;case'6':Object[_0x1e1ac2(0x21d)](TestFrameworkState)[_0x1e1ac2(0x213)](_0xa80d0e=>{const _0xbfacc2=_0x1e1ac2;Object[_0xbfacc2(0x21d)](HookState)[_0xbfacc2(0x213)](_0x74690f=>{const _0x2be3da=_0xbfacc2;TestFramework['registerObserver'](_0xa80d0e,_0x74690f,this[_0x2be3da(0x22e)][_0x2be3da(0x1f4)](this));});});continue;case'7':this[_0x1e1ac2(0x212)]=_0x587d80[_0x1e1ac2(0x1c9)];continue;case'8':this['jestUtils']=new JestUtils();continue;}break;}}[a85_0x12315b(0x218)](){const _0x27def8=a85_0x12315b;return TestHubModule[_0x27def8(0x203)];}['onAllTestEvents'](_0x18529f){const _0x6169a3=a85_0x12315b,_0x54513a={};_0x54513a[_0x6169a3(0x1c7)]=function(_0x2d0f00,_0x2a93c9){return _0x2d0f00===_0x2a93c9;};const _0x349a6c=_0x54513a,_0x284059=_0x18529f[_0x6169a3(0x1c3)],_0x4d4c0a=_0x284059[_0x6169a3(0x22b)]();(_0x349a6c[_0x6169a3(0x1c7)](_0x4d4c0a,TestFrameworkState[_0x6169a3(0x225)])||CLIUtils[_0x6169a3(0x1de)](_0x4d4c0a[_0x6169a3(0x207)]()[_0x6169a3(0x1ef)]('.')[0x1]))&&this[_0x6169a3(0x1d8)](_0x18529f);}async[a85_0x12315b(0x1d8)](_0x4e4ae9){const _0x19a5cd=a85_0x12315b,_0x26f754={};_0x26f754[_0x19a5cd(0x1cb)]=function(_0x2018ec,_0x571b2b){return _0x2018ec===_0x571b2b;},_0x26f754[_0x19a5cd(0x1f7)]=_0x19a5cd(0x1c5);const _0x3a5967=_0x26f754;try{const _0x3d57e2=BrowserstackCLI['getInstance']()[_0x19a5cd(0x202)]()[_0x19a5cd(0x233)](_0x4e4ae9);if(!_0x3d57e2||_0x3a5967[_0x19a5cd(0x1cb)](Object[_0x19a5cd(0x205)](_0x3d57e2)[_0x19a5cd(0x200)],0x0)){this[_0x19a5cd(0x217)][_0x19a5cd(0x20a)](_0x3a5967['NmLtE']);return;}const _0x54b08e=await GrpcClient[_0x19a5cd(0x201)]()[_0x19a5cd(0x1c2)](_0x3d57e2);this['logger'][_0x19a5cd(0x20a)](_0x19a5cd(0x229)+_0x3d57e2[_0x19a5cd(0x1cc)]+_0x19a5cd(0x214)+_0x3d57e2[_0x19a5cd(0x1f8)]);}catch(_0x9feef3){this[_0x19a5cd(0x217)]['error'](_0x19a5cd(0x20b)+util[_0x19a5cd(0x1dd)](_0x9feef3));}}async['onPageCreate'](_0x4bf00a){const _0x277911=a85_0x12315b,_0x4a959c={'uRsFW':function(_0x52ddb7,_0x2ad005){return _0x52ddb7===_0x2ad005;},'appJj':_0x277911(0x1cf),'PmjQO':function(_0x1f65d1,_0x5b28e1){return _0x1f65d1===_0x5b28e1;},'nPlZX':function(_0x540f21,_0x120d11){return _0x540f21===_0x120d11;},'ScJdV':function(_0x497c10,_0x314765){return _0x497c10(_0x314765);},'DySlD':function(_0x43743a){return _0x43743a();},'NOmwT':_0x277911(0x1f2),'eJKsa':function(_0x46a873,_0x22086c){return _0x46a873===_0x22086c;}};try{if(_0x4bf00a[_0x277911(0x22d)]){const _0x30669f=this[_0x277911(0x228)](_0x4bf00a);this['logger'][_0x277911(0x20a)]('onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20'+_0x30669f);if(this[_0x277911(0x21a)]&&_0x4a959c['uRsFW'](this['testFrameworkData'][_0x277911(0x212)],FRAMEWORKS[_0x277911(0x232)])&&!_0x4bf00a['testInfo']){this[_0x277911(0x217)][_0x277911(0x20a)](_0x4a959c[_0x277911(0x1e8)]);return;}let _0x3209e6,_0xbcd6a1;if(this[_0x277911(0x21a)]&&_0x4a959c[_0x277911(0x21c)](this[_0x277911(0x21a)]['name'],FRAMEWORKS[_0x277911(0x1e3)]))_0x3209e6=_0x30669f,_0xbcd6a1=TestInfo[_0x277911(0x227)](_0x3209e6);else this[_0x277911(0x21a)]&&_0x4a959c['nPlZX'](this['testFrameworkData'][_0x277911(0x212)],FRAMEWORKS['JEST'])?(_0x3209e6=this[_0x277911(0x1e4)][_0x277911(0x1d0)](_0x4bf00a[_0x277911(0x20c)]),this[_0x277911(0x217)]['debug'](_0x277911(0x204)+_0x3209e6)):(_0x3209e6=TestInfo[_0x277911(0x1f9)](_0x4bf00a[_0x277911(0x20c)],_0x4bf00a[_0x277911(0x20c)][_0x277911(0x22f)]),_0xbcd6a1=TestInfo[_0x277911(0x227)](_0x3209e6));const _0x3fecce=TestInfo[_0x277911(0x1d2)](_0x3209e6),_0x147fa0=_0x4bf00a[_0x277911(0x1c3)],_0x3bf81b=AutomationFramework[_0x277911(0x22c)](_0x147fa0,PlaywrightDriverModule[_0x277911(0x1d4)]),_0x3ef73e=_0x3fecce?.[TestFrameworkConstants[_0x277911(0x21e)]]||this[_0x277911(0x21a)]&&this[_0x277911(0x21a)]['name'],_0x2c33dc=_0x3fecce?.[TestFrameworkConstants[_0x277911(0x20f)]]||this[_0x277911(0x21a)]&&this[_0x277911(0x21a)][_0x277911(0x1cd)],_0x520eee=TestFrameworkState['TEST'][_0x277911(0x207)]()[_0x277911(0x1ef)]('.')[0x1],_0x3d3f7c=HookState['POST']['toString']()['split']('.')[0x1],_0x2f13ec=_0x147fa0['getContext'](),_0x4a68e9=AutomationFramework[_0x277911(0x22c)](_0x147fa0,PlaywrightDriverModule[_0x277911(0x1d1)],''),_0x5da72f={'provider':_0x4a959c[_0x277911(0x1dc)](getPlaywrightProvider,_0x4a68e9),'frameworkName':_0x147fa0['frameworkName'],'frameworkVersion':_0x147fa0[_0x277911(0x223)],'frameworkSessionId':LoadTestModule[_0x277911(0x1c4)]()?LoadTestModule['getLTSSessionId']():AutomationFramework[_0x277911(0x22c)](_0x147fa0,PlaywrightDriverModule[_0x277911(0x1e6)],''),'ref':_0x147fa0['getRef'](),'hubUrl':_0x4a68e9,'product':_0x4a959c[_0x277911(0x1f5)](getProductForSession)};let _0x362361=AutomationFramework[_0x277911(0x22c)](_0x147fa0,PlaywrightDriverModule[_0x277911(0x222)],{});_0x362361=Buffer['from'](JSON[_0x277911(0x1db)](_0x362361))[_0x277911(0x207)](_0x4a959c[_0x277911(0x1fd)]);const _0x17e3e6={'hash':_0x2f13ec[_0x277911(0x1ed)](),'threadId':_0x2f13ec[_0x277911(0x1fc)]()[_0x277911(0x207)](),'processId':_0x2f13ec[_0x277911(0x1ee)]()['toString']()},_0x220184={};_0x220184[_0x277911(0x1ea)]=_0x3209e6;const _0x49fae8={};_0x49fae8[_0x277911(0x1df)]=_0xbcd6a1;const _0xba3f02={'platformIndex':_0x3bf81b,'testFrameworkName':_0x3ef73e,'testFrameworkVersion':_0x2c33dc,'testFrameworkState':_0x520eee,'testHookState':_0x3d3f7c,...this['testFrameworkData']&&_0x4a959c[_0x277911(0x22a)](this['testFrameworkData']['name'],FRAMEWORKS[_0x277911(0x232)])?_0x220184:_0x49fae8,'automationSession':_0x5da72f,'capabilities':_0x362361,'executionContext':_0x17e3e6};this[_0x277911(0x217)][_0x277911(0x20a)](_0x277911(0x1c8)+util[_0x277911(0x1dd)](_0xba3f02));const _0xeb03f5=await GrpcClient[_0x277911(0x201)]()[_0x277911(0x210)](_0xba3f02);this['logger'][_0x277911(0x20a)](_0x277911(0x20e)+_0x30669f+(this[_0x277911(0x21a)]&&_0x4a959c[_0x277911(0x1c0)](this[_0x277911(0x21a)]['name'],FRAMEWORKS['JEST'])?',\x20test_identifier:\x20'+_0x3209e6:''));}}catch(_0x267030){this['logger'][_0x277911(0x1f0)](_0x277911(0x1e9)+util[_0x277911(0x1dd)](_0x267030));}}}TestHubModule[a85_0x12315b(0x203)]='TestHubModule',TestHubModule[a85_0x12315b(0x1c6)]='test_deferred',module[a85_0x12315b(0x21f)]=TestHubModule;
1
+ const a85_0x59db69=a85_0xcbfe;(function(_0x273c83,_0xb5eaed){const _0x31d231=a85_0xcbfe,_0x1c010d=_0x273c83();while(!![]){try{const _0x738473=-parseInt(_0x31d231(0x1a2))/0x1*(parseInt(_0x31d231(0x18f))/0x2)+-parseInt(_0x31d231(0x1cf))/0x3+parseInt(_0x31d231(0x1b6))/0x4+parseInt(_0x31d231(0x188))/0x5*(-parseInt(_0x31d231(0x195))/0x6)+parseInt(_0x31d231(0x17b))/0x7+-parseInt(_0x31d231(0x1c2))/0x8*(-parseInt(_0x31d231(0x1e4))/0x9)+parseInt(_0x31d231(0x192))/0xa;if(_0x738473===_0xb5eaed)break;else _0x1c010d['push'](_0x1c010d['shift']());}catch(_0x22bb18){_0x1c010d['push'](_0x1c010d['shift']());}}}(a85_0x432b,0x90681));function a85_0x432b(){const _0x9101d5=['./baseModule','../../../helpers/testhub/constants','base64','getContext','env','length','POST','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','2917506PifgWX','page','2|0|6|8|4|7|1|3|5','../../../helpers/test-observability/constants.js','../state/automationFrameworkState.js','instance','KEY_HUB_URL','getState','util','recreateIdentifierFromTestInfo','getThreadId','rToOZ','./loadTestModule.js','isLTSSession','KEY_TEST_DEFERRED','getTestFramework','../state/hookState.js','qKhpu','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','getBuildHashedId','veVvo','9AWtBxL','getTestIdentifierFromTestInfo','test_identifier','CREATE','onPageCreate','split','../browserstackCLI.js','7317086tOcAZs','TestHubModule','RtWFe',',\x20test_identifier:\x20','testhubConfig','Error\x20in\x20sending\x20CBTSession:\x20','keys','name','O11yHashedID','../framework/constants/testFrameworkConstants.js','../framework/automationFramework.js','logger','JEST','83345FAyBry','KEY_PLATFORM_INDEX','getTestId','pnVJP','../state/testFrameworkState.js','bind','BROWSERSTACK_TESTHUB_JWT','54228GTbeEh','testUuid','jestUtils','2172240XdquqO','getJwt','matchHookRegex','114wHfMzq','testFrameworkData','rxvvo','forEach','testSessionEvent','BROWSERSTACK_TESTHUB_UUID','\x20hookState:\x20','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','onPageCreate\x20CBTSession\x20payload:\x20','test_deferred','../cliUtils.js','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','../../../helpers/helper.js','1NviesD','format','debug','values','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','retry','sendTestFrameworkEvent','FlvTH','from','nUyty','wZolY','getProcessId','getCurrentTestState','./playwrightDriverModule.js','exports','getInstance','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','frameworkName','createTestFrameworkEventPayload','registerObserver','689492lOhgSK','stringify','TEST','testFrameworkEvent','error','Kjdzh','getRef','toString','testInfo','getTestUUID','MODULE_NAME','frameworkVersion','3783368EdKpSy','../framework/testFramework.js','../../../helpers/classLogger.js','hookState','CAmId'];a85_0x432b=function(){return _0x9101d5;};return a85_0x432b();}const util=require(a85_0x59db69(0x1d7)),BaseModule=require(a85_0x59db69(0x1c7)),{createClassLogger}=require(a85_0x59db69(0x1c4)),AutomationFramework=require(a85_0x59db69(0x185)),AutomationFrameworkState=require(a85_0x59db69(0x1d3)),HookState=require(a85_0x59db69(0x1df)),TestFramework=require(a85_0x59db69(0x1c3)),TestFrameworkState=require(a85_0x59db69(0x18c)),PlaywrightDriverModule=require(a85_0x59db69(0x1af)),TestFrameworkConstants=require(a85_0x59db69(0x184)),GrpcClient=require('../grpcClient.js'),CLIUtils=require(a85_0x59db69(0x19f)),TestInfo=require('../TestInfo.js'),testHubConstants=require(a85_0x59db69(0x1c8)),{FRAMEWORKS}=require(a85_0x59db69(0x1d2)),helper=require(a85_0x59db69(0x1a1)),LoadTestModule=require(a85_0x59db69(0x1db)),JestUtils=require('../utils/jest-utils.js'),BrowserstackCLI=require(a85_0x59db69(0x17a)),{getPlaywrightProvider,getProductForSession}=require(a85_0x59db69(0x1a1));class TestHubModule extends BaseModule{[a85_0x59db69(0x186)]=createClassLogger(a85_0x59db69(0x17c));constructor(_0x909804,_0x324090=null){const _0x3975c7=a85_0x59db69,_0x4b96d2={};_0x4b96d2[_0x3975c7(0x1da)]=_0x3975c7(0x1d1),_0x4b96d2[_0x3975c7(0x18b)]=_0x3975c7(0x17c);const _0xc5c8df=_0x4b96d2,_0xff56a2=_0xc5c8df['rToOZ'][_0x3975c7(0x1e9)]('|');let _0x118e01=0x0;while(!![]){switch(_0xff56a2[_0x118e01++]){case'0':this[_0x3975c7(0x182)]=_0xc5c8df[_0x3975c7(0x18b)];continue;case'1':process[_0x3975c7(0x1cb)][testHubConstants['ENV_VAR'][_0x3975c7(0x18e)]]=this[_0x3975c7(0x17f)][_0x3975c7(0x193)]();continue;case'2':super(_0x324090);continue;case'3':process['env'][testHubConstants['ENV_VAR'][_0x3975c7(0x19a)]]=this['testhubConfig']['getBuildHashedId']();continue;case'4':AutomationFramework[_0x3975c7(0x1b5)](AutomationFrameworkState[_0x3975c7(0x1e7)],HookState[_0x3975c7(0x1cd)],this[_0x3975c7(0x1e8)][_0x3975c7(0x18d)](this));continue;case'5':BrowserstackCLI[_0x3975c7(0x183)]=this['testhubConfig'][_0x3975c7(0x1e2)]();continue;case'6':this[_0x3975c7(0x17f)]=_0x909804;continue;case'7':Object[_0x3975c7(0x1a5)](TestFrameworkState)['forEach'](_0x1e3fc4=>{const _0x5b0e8f=_0x3975c7;Object[_0x5b0e8f(0x1a5)](HookState)[_0x5b0e8f(0x198)](_0x4b6c10=>{const _0x449efe=_0x5b0e8f;TestFramework[_0x449efe(0x1b5)](_0x1e3fc4,_0x4b6c10,this['onAllTestEvents'][_0x449efe(0x18d)](this));});});continue;case'8':this[_0x3975c7(0x191)]=new JestUtils();continue;}break;}}['getModuleName'](){const _0x224ad3=a85_0x59db69;return TestHubModule[_0x224ad3(0x1c0)];}['onAllTestEvents'](_0xb8dad7){const _0x465256=a85_0x59db69,_0x2a5458={};_0x2a5458[_0x465256(0x1c6)]=function(_0x2c0e5e,_0x2faa06){return _0x2c0e5e===_0x2faa06;};const _0x423a46=_0x2a5458,_0x22e59b=_0xb8dad7[_0x465256(0x1d4)],_0x4be9e7=_0x22e59b[_0x465256(0x1ae)]();(_0x423a46[_0x465256(0x1c6)](_0x4be9e7,TestFrameworkState[_0x465256(0x1b8)])||CLIUtils[_0x465256(0x194)](_0x4be9e7[_0x465256(0x1bd)]()[_0x465256(0x1e9)]('.')[0x1]))&&this[_0x465256(0x1a8)](_0xb8dad7);}async[a85_0x59db69(0x1a8)](_0x4ed927){const _0x15c1bb=a85_0x59db69,_0x2d93b3={};_0x2d93b3['qKhpu']=function(_0x45071c,_0x2c1ce0){return _0x45071c===_0x2c1ce0;},_0x2d93b3['rxvvo']=_0x15c1bb(0x1a6);const _0x556962=_0x2d93b3;try{const _0x1470a6=BrowserstackCLI[_0x15c1bb(0x1b1)]()[_0x15c1bb(0x1de)]()[_0x15c1bb(0x1b4)](_0x4ed927);if(!_0x1470a6||_0x556962[_0x15c1bb(0x1e0)](Object[_0x15c1bb(0x181)](_0x1470a6)[_0x15c1bb(0x1cc)],0x0)){this['logger']['debug'](_0x556962[_0x15c1bb(0x197)]);return;}const _0x3a1f8a=await GrpcClient[_0x15c1bb(0x1b1)]()[_0x15c1bb(0x1b9)](_0x1470a6);this[_0x15c1bb(0x186)][_0x15c1bb(0x1a4)](_0x15c1bb(0x1ce)+_0x1470a6['testFrameworkState']+_0x15c1bb(0x19b)+_0x1470a6[_0x15c1bb(0x1c5)]);}catch(_0x263904){this[_0x15c1bb(0x186)][_0x15c1bb(0x1ba)]('Error\x20in\x20sendTestFrameworkEvent:\x20'+util[_0x15c1bb(0x1a3)](_0x263904));}}async[a85_0x59db69(0x1e8)](_0xe44b2f){const _0x1917b9=a85_0x59db69,_0x303cf9={'nUyty':function(_0x1ef5b3,_0x178394){return _0x1ef5b3===_0x178394;},'RtWFe':_0x1917b9(0x1b2),'FlvTH':function(_0x1d09cb,_0x4f5768){return _0x1d09cb(_0x4f5768);},'Kjdzh':function(_0x3ec3ba){return _0x3ec3ba();},'wZolY':_0x1917b9(0x1c9),'veVvo':function(_0x4d10d2,_0x1a20ad){return _0x4d10d2===_0x1a20ad;}};try{if(_0xe44b2f[_0x1917b9(0x1d0)]){const _0x335dc5=this[_0x1917b9(0x18a)](_0xe44b2f);this[_0x1917b9(0x186)]['debug'](_0x1917b9(0x1e1)+_0x335dc5);if(this['testFrameworkData']&&_0x303cf9['nUyty'](this[_0x1917b9(0x196)]['name'],FRAMEWORKS[_0x1917b9(0x187)])&&!_0xe44b2f[_0x1917b9(0x1be)]){this['logger'][_0x1917b9(0x1a4)](_0x303cf9[_0x1917b9(0x17d)]);return;}let _0x2b4c2b,_0x2ac25d;if(this[_0x1917b9(0x196)]&&_0x303cf9[_0x1917b9(0x1ab)](this[_0x1917b9(0x196)][_0x1917b9(0x182)],FRAMEWORKS['CUCUMBER']))_0x2b4c2b=_0x335dc5,_0x2ac25d=TestInfo[_0x1917b9(0x1bf)](_0x2b4c2b);else this['testFrameworkData']&&_0x303cf9[_0x1917b9(0x1ab)](this['testFrameworkData'][_0x1917b9(0x182)],FRAMEWORKS[_0x1917b9(0x187)])?(_0x2b4c2b=this[_0x1917b9(0x191)][_0x1917b9(0x1d8)](_0xe44b2f[_0x1917b9(0x1be)]),this[_0x1917b9(0x186)][_0x1917b9(0x1a4)](_0x1917b9(0x19c)+_0x2b4c2b)):(_0x2b4c2b=TestInfo[_0x1917b9(0x1e5)](_0xe44b2f[_0x1917b9(0x1be)],_0xe44b2f[_0x1917b9(0x1be)][_0x1917b9(0x1a7)]),_0x2ac25d=TestInfo[_0x1917b9(0x1bf)](_0x2b4c2b));const _0x5f5a24=TestInfo['getTestDetails'](_0x2b4c2b),_0x51958f=_0xe44b2f['instance'],_0x21b119=AutomationFramework[_0x1917b9(0x1d6)](_0x51958f,PlaywrightDriverModule[_0x1917b9(0x189)]),_0x3f489a=_0x5f5a24?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x1917b9(0x196)]&&this['testFrameworkData'][_0x1917b9(0x182)],_0x325ca8=_0x5f5a24?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this['testFrameworkData']&&this['testFrameworkData']['version'],_0x5e83d9=TestFrameworkState[_0x1917b9(0x1b8)][_0x1917b9(0x1bd)]()[_0x1917b9(0x1e9)]('.')[0x1],_0x4e2200=HookState[_0x1917b9(0x1cd)][_0x1917b9(0x1bd)]()['split']('.')[0x1],_0x1056d5=_0x51958f[_0x1917b9(0x1ca)](),_0xb7ddc8=AutomationFramework[_0x1917b9(0x1d6)](_0x51958f,PlaywrightDriverModule[_0x1917b9(0x1d5)],''),_0x4007f6={'provider':_0x303cf9[_0x1917b9(0x1a9)](getPlaywrightProvider,_0xb7ddc8),'frameworkName':_0x51958f[_0x1917b9(0x1b3)],'frameworkVersion':_0x51958f[_0x1917b9(0x1c1)],'frameworkSessionId':LoadTestModule[_0x1917b9(0x1dc)]()?LoadTestModule['getLTSSessionId']():AutomationFramework[_0x1917b9(0x1d6)](_0x51958f,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x51958f[_0x1917b9(0x1bc)](),'hubUrl':_0xb7ddc8,'product':_0x303cf9[_0x1917b9(0x1bb)](getProductForSession)};let _0x498f03=AutomationFramework[_0x1917b9(0x1d6)](_0x51958f,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x498f03=Buffer[_0x1917b9(0x1aa)](JSON[_0x1917b9(0x1b7)](_0x498f03))[_0x1917b9(0x1bd)](_0x303cf9[_0x1917b9(0x1ac)]);const _0x722d8f={'hash':_0x1056d5['getId'](),'threadId':_0x1056d5[_0x1917b9(0x1d9)]()[_0x1917b9(0x1bd)](),'processId':_0x1056d5[_0x1917b9(0x1ad)]()[_0x1917b9(0x1bd)]()},_0x2dbc3e={};_0x2dbc3e[_0x1917b9(0x1e6)]=_0x2b4c2b;const _0x38a57e={};_0x38a57e[_0x1917b9(0x190)]=_0x2ac25d;const _0x414e00={'platformIndex':_0x21b119,'testFrameworkName':_0x3f489a,'testFrameworkVersion':_0x325ca8,'testFrameworkState':_0x5e83d9,'testHookState':_0x4e2200,...this[_0x1917b9(0x196)]&&_0x303cf9[_0x1917b9(0x1e3)](this[_0x1917b9(0x196)][_0x1917b9(0x182)],FRAMEWORKS[_0x1917b9(0x187)])?_0x2dbc3e:_0x38a57e,'automationSession':_0x4007f6,'capabilities':_0x498f03,'executionContext':_0x722d8f};this[_0x1917b9(0x186)][_0x1917b9(0x1a4)](_0x1917b9(0x19d)+util['format'](_0x414e00));const _0x2d7aca=await GrpcClient['getInstance']()[_0x1917b9(0x199)](_0x414e00);this['logger'][_0x1917b9(0x1a4)](_0x1917b9(0x1a0)+_0x335dc5+(this[_0x1917b9(0x196)]&&_0x303cf9[_0x1917b9(0x1ab)](this['testFrameworkData'][_0x1917b9(0x182)],FRAMEWORKS[_0x1917b9(0x187)])?_0x1917b9(0x17e)+_0x2b4c2b:''));}}catch(_0x2d327b){this['logger'][_0x1917b9(0x1ba)](_0x1917b9(0x180)+util['format'](_0x2d327b));}}}function a85_0xcbfe(_0x334026,_0x255da6){const _0x432b3a=a85_0x432b();return a85_0xcbfe=function(_0xcbfea8,_0x55d6bc){_0xcbfea8=_0xcbfea8-0x17a;let _0x42d043=_0x432b3a[_0xcbfea8];return _0x42d043;},a85_0xcbfe(_0x334026,_0x255da6);}TestHubModule['MODULE_NAME']='TestHubModule',TestHubModule[a85_0x59db69(0x1dd)]=a85_0x59db69(0x19e),module[a85_0x59db69(0x1b0)]=TestHubModule;
@@ -1 +1 @@
1
- const a86_0x3aaefc=a86_0x6eea;(function(_0x599cef,_0x5ce308){const _0x31c0e9=a86_0x6eea,_0x1a7fd1=_0x599cef();while(!![]){try{const _0xc71345=-parseInt(_0x31c0e9(0x174))/0x1+parseInt(_0x31c0e9(0x172))/0x2*(-parseInt(_0x31c0e9(0x173))/0x3)+-parseInt(_0x31c0e9(0x181))/0x4+-parseInt(_0x31c0e9(0x183))/0x5+parseInt(_0x31c0e9(0x185))/0x6+-parseInt(_0x31c0e9(0x179))/0x7*(parseInt(_0x31c0e9(0x187))/0x8)+-parseInt(_0x31c0e9(0x184))/0x9*(-parseInt(_0x31c0e9(0x175))/0xa);if(_0xc71345===_0x5ce308)break;else _0x1a7fd1['push'](_0x1a7fd1['shift']());}catch(_0x47bd05){_0x1a7fd1['push'](_0x1a7fd1['shift']());}}}(a86_0x37f3,0xcac4a));const {PLAYWRIGHT}=require(a86_0x3aaefc(0x189)),a86_0x2c5059={};a86_0x2c5059[a86_0x3aaefc(0x17b)]=0x0,a86_0x2c5059[a86_0x3aaefc(0x178)]=function(){const _0x3ee2b1=a86_0x3aaefc,_0x661fd4={};_0x661fd4[_0x3ee2b1(0x170)]=_0x3ee2b1(0x186);const _0x18cc94=_0x661fd4;return _0x18cc94[_0x3ee2b1(0x170)];};const a86_0x1b6980={};a86_0x1b6980['value']=0x1,a86_0x1b6980[a86_0x3aaefc(0x178)]=function(){const _0x226924=a86_0x3aaefc,_0x159424={};_0x159424[_0x226924(0x17f)]=_0x226924(0x17a);const _0x4bbd3b=_0x159424;return _0x4bbd3b[_0x226924(0x17f)];};const a86_0x281ab3={};a86_0x281ab3[a86_0x3aaefc(0x17b)]=0x2,a86_0x281ab3[a86_0x3aaefc(0x178)]=function(){const _0x50d3ae=a86_0x3aaefc,_0x5dba7f={};_0x5dba7f[_0x50d3ae(0x182)]='AutomationFrameworkState.PLAYWRIGHT_DISPATCH';const _0x53d5d8=_0x5dba7f;return _0x53d5d8[_0x50d3ae(0x182)];};const a86_0x5f0531={};a86_0x5f0531[a86_0x3aaefc(0x17b)]=0x3,a86_0x5f0531[a86_0x3aaefc(0x178)]=function(){const _0x14dd69=a86_0x3aaefc,_0x35f7ca={};_0x35f7ca[_0x14dd69(0x188)]=_0x14dd69(0x171);const _0x42a5ef=_0x35f7ca;return _0x42a5ef['VSXfd'];};const a86_0x1b44e8={};a86_0x1b44e8[a86_0x3aaefc(0x17b)]=0x4,a86_0x1b44e8[a86_0x3aaefc(0x178)]=function(){const _0x34f92a=a86_0x3aaefc,_0x5ed49b={};_0x5ed49b[_0x34f92a(0x176)]='AutomationFrameworkState.IDLE';const _0x5fe66e=_0x5ed49b;return _0x5fe66e[_0x34f92a(0x176)];};const a86_0x3d4a00={};a86_0x3d4a00[a86_0x3aaefc(0x17b)]=0x5,a86_0x3d4a00['toString']=function(){const _0x3c41cc=a86_0x3aaefc,_0x2cd634={};_0x2cd634[_0x3c41cc(0x17d)]=_0x3c41cc(0x17e);const _0x199de1=_0x2cd634;return _0x199de1[_0x3c41cc(0x17d)];};const AutomationFrameworkState=Object['freeze']({'NONE':a86_0x2c5059,'CREATE':a86_0x1b6980,'PLAYWRIGHT_DISPATCH':a86_0x281ab3,'EXECUTE':a86_0x5f0531,'IDLE':a86_0x1b44e8,'QUIT':a86_0x3d4a00,'fromValue'(_0x32bdd3){const _0x4f287b=a86_0x3aaefc;return Object[_0x4f287b(0x177)](AutomationFrameworkState)[_0x4f287b(0x17c)](_0x3565ac=>_0x3565ac[_0x4f287b(0x17b)]===_0x32bdd3);}});function a86_0x6eea(_0x5a481b,_0xda4e40){const _0x37f35e=a86_0x37f3();return a86_0x6eea=function(_0x6eea95,_0x241d21){_0x6eea95=_0x6eea95-0x170;let _0x4dd62c=_0x37f35e[_0x6eea95];return _0x4dd62c;},a86_0x6eea(_0x5a481b,_0xda4e40);}function a86_0x37f3(){const _0x3abaf9=['toString','7YpxosJ','AutomationFrameworkState.CREATE','value','find','Gkdky','AutomationFrameworkState.QUIT','APrZq','exports','225516rYCmIk','Zhbbv','2852765bWIGwa','32832ZOukYW','3478206NSYcyO','AutomationFrameworkState.NONE','12880848jirdkg','VSXfd','../../utils/constants','QkAxb','AutomationFrameworkState.EXECUTE','18398boNaye','450GkBHHF','670387VGactz','12440UqRFVS','avQei','values'];a86_0x37f3=function(){return _0x3abaf9;};return a86_0x37f3();}module[a86_0x3aaefc(0x180)]=AutomationFrameworkState;
1
+ const a86_0x516157=a86_0x1ac7;function a86_0x1ac7(_0x1f122d,_0x1063ea){const _0x4cee2c=a86_0x4cee();return a86_0x1ac7=function(_0x1ac7b2,_0x3940ac){_0x1ac7b2=_0x1ac7b2-0xab;let _0xeb9076=_0x4cee2c[_0x1ac7b2];return _0xeb9076;},a86_0x1ac7(_0x1f122d,_0x1063ea);}(function(_0x5a8fd4,_0x58c688){const _0x5e321b=a86_0x1ac7,_0x2d62e9=_0x5a8fd4();while(!![]){try{const _0x319f08=-parseInt(_0x5e321b(0xc4))/0x1*(parseInt(_0x5e321b(0xae))/0x2)+-parseInt(_0x5e321b(0xbb))/0x3*(parseInt(_0x5e321b(0xb0))/0x4)+-parseInt(_0x5e321b(0xc0))/0x5*(-parseInt(_0x5e321b(0xbc))/0x6)+parseInt(_0x5e321b(0xbe))/0x7*(-parseInt(_0x5e321b(0xc2))/0x8)+-parseInt(_0x5e321b(0xbd))/0x9*(parseInt(_0x5e321b(0xad))/0xa)+parseInt(_0x5e321b(0xc6))/0xb*(parseInt(_0x5e321b(0xbf))/0xc)+-parseInt(_0x5e321b(0xb1))/0xd*(-parseInt(_0x5e321b(0xb8))/0xe);if(_0x319f08===_0x58c688)break;else _0x2d62e9['push'](_0x2d62e9['shift']());}catch(_0x5b2c4d){_0x2d62e9['push'](_0x2d62e9['shift']());}}}(a86_0x4cee,0x27ef7));const {PLAYWRIGHT}=require(a86_0x516157(0xb3)),a86_0x18f88f={};a86_0x18f88f[a86_0x516157(0xaf)]=0x0,a86_0x18f88f[a86_0x516157(0xac)]=function(){const _0x3393a7=a86_0x516157,_0x322074={};_0x322074[_0x3393a7(0xb2)]=_0x3393a7(0xb7);const _0x36a3be=_0x322074;return _0x36a3be[_0x3393a7(0xb2)];};const a86_0x2c5462={};a86_0x2c5462[a86_0x516157(0xaf)]=0x1,a86_0x2c5462[a86_0x516157(0xac)]=function(){const _0x363cb5=a86_0x516157,_0x22edb7={};_0x22edb7[_0x363cb5(0xc5)]=_0x363cb5(0xb4);const _0x4fc450=_0x22edb7;return _0x4fc450[_0x363cb5(0xc5)];};const a86_0x24a028={};a86_0x24a028[a86_0x516157(0xaf)]=0x2,a86_0x24a028['toString']=function(){const _0x58172b=a86_0x516157,_0x1f9564={};_0x1f9564[_0x58172b(0xb9)]=_0x58172b(0xba);const _0x5bc518=_0x1f9564;return _0x5bc518[_0x58172b(0xb9)];};const a86_0x2b9e75={};a86_0x2b9e75['value']=0x3,a86_0x2b9e75[a86_0x516157(0xac)]=function(){const _0x75f60=a86_0x516157,_0x342a10={};_0x342a10[_0x75f60(0xc1)]=_0x75f60(0xcb);const _0x391042=_0x342a10;return _0x391042[_0x75f60(0xc1)];};const a86_0xf19d7f={};a86_0xf19d7f['value']=0x4,a86_0xf19d7f['toString']=function(){const _0x3a323e=a86_0x516157,_0x1bc405={};_0x1bc405[_0x3a323e(0xb5)]=_0x3a323e(0xc3);const _0x1b846c=_0x1bc405;return _0x1b846c[_0x3a323e(0xb5)];};const a86_0x310b62={};a86_0x310b62[a86_0x516157(0xaf)]=0x5,a86_0x310b62['toString']=function(){const _0x2c4d1c=a86_0x516157,_0x32dccb={};_0x32dccb['InrdC']=_0x2c4d1c(0xca);const _0x53e839=_0x32dccb;return _0x53e839[_0x2c4d1c(0xb6)];};function a86_0x4cee(){const _0x5b35aa=['203586zUsuEH','BSWFb','175901KiLSxD','exports','values','freeze','AutomationFrameworkState.QUIT','AutomationFrameworkState.EXECUTE','find','toString','30xZRABO','2ylClWo','value','4wCWNiu','2718079cDZYkK','LhQkI','../../utils/constants','AutomationFrameworkState.CREATE','xPDdt','InrdC','AutomationFrameworkState.NONE','28dZqZha','paMSq','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','289509jfOKlj','7338AKAOvI','701568DpJNvV','234661OnSWKf','132WCigbr','560qWETlv','dvexm','8KPvSwl','AutomationFrameworkState.IDLE'];a86_0x4cee=function(){return _0x5b35aa;};return a86_0x4cee();}const AutomationFrameworkState=Object[a86_0x516157(0xc9)]({'NONE':a86_0x18f88f,'CREATE':a86_0x2c5462,'PLAYWRIGHT_DISPATCH':a86_0x24a028,'EXECUTE':a86_0x2b9e75,'IDLE':a86_0xf19d7f,'QUIT':a86_0x310b62,'fromValue'(_0x5eac7c){const _0xf9137=a86_0x516157;return Object[_0xf9137(0xc8)](AutomationFrameworkState)[_0xf9137(0xab)](_0x2b004a=>_0x2b004a[_0xf9137(0xaf)]===_0x5eac7c);}});module[a86_0x516157(0xc7)]=AutomationFrameworkState;
@@ -1 +1 @@
1
- function a87_0x10c1(){const _0x14f6b5=['1508684xoUdCT','fdJat','33345tcIosk','values','tFzxO','5821515iQolrG','toString','6678914ImbHiC','HookState.NONE','4035101zoDMhC','exports','value','102001gdgDAY','HookState.POST','HlybS','2453592qZoSMo','freeze','10cAFEsj','6RAGnZm','4qefmlG','3dxSUww','find'];a87_0x10c1=function(){return _0x14f6b5;};return a87_0x10c1();}const a87_0x584b43=a87_0x3ca1;(function(_0x50907e,_0x5b3b31){const _0xe6cc55=a87_0x3ca1,_0x53b179=_0x50907e();while(!![]){try{const _0x5cbd06=parseInt(_0xe6cc55(0x1c4))/0x1*(parseInt(_0xe6cc55(0x1cb))/0x2)+-parseInt(_0xe6cc55(0x1cc))/0x3*(parseInt(_0xe6cc55(0x1b8))/0x4)+-parseInt(_0xe6cc55(0x1ba))/0x5*(parseInt(_0xe6cc55(0x1ca))/0x6)+parseInt(_0xe6cc55(0x1c1))/0x7+parseInt(_0xe6cc55(0x1c7))/0x8+-parseInt(_0xe6cc55(0x1bd))/0x9+parseInt(_0xe6cc55(0x1c9))/0xa*(parseInt(_0xe6cc55(0x1bf))/0xb);if(_0x5cbd06===_0x5b3b31)break;else _0x53b179['push'](_0x53b179['shift']());}catch(_0x1de9cf){_0x53b179['push'](_0x53b179['shift']());}}}(a87_0x10c1,0xa205b));const a87_0x448ffc={};function a87_0x3ca1(_0x272b63,_0x24123f){const _0x10c1e8=a87_0x10c1();return a87_0x3ca1=function(_0x3ca15d,_0x2faf66){_0x3ca15d=_0x3ca15d-0x1b7;let _0xaca22f=_0x10c1e8[_0x3ca15d];return _0xaca22f;},a87_0x3ca1(_0x272b63,_0x24123f);}a87_0x448ffc['value']=0x0,a87_0x448ffc[a87_0x584b43(0x1be)]=function(){const _0x97cb19=a87_0x584b43,_0x410bcc={};_0x410bcc[_0x97cb19(0x1c6)]=_0x97cb19(0x1c0);const _0x62727b=_0x410bcc;return _0x62727b[_0x97cb19(0x1c6)];};const a87_0x51a8a7={};a87_0x51a8a7[a87_0x584b43(0x1c3)]=0x1,a87_0x51a8a7[a87_0x584b43(0x1be)]=function(){const _0x481b0e=a87_0x584b43,_0x125e44={};_0x125e44[_0x481b0e(0x1bc)]='HookState.PRE';const _0x583ca0=_0x125e44;return _0x583ca0[_0x481b0e(0x1bc)];};const a87_0x55c245={};a87_0x55c245[a87_0x584b43(0x1c3)]=0x2,a87_0x55c245[a87_0x584b43(0x1be)]=function(){const _0x4bc0fe=a87_0x584b43,_0x43795b={};_0x43795b[_0x4bc0fe(0x1b9)]=_0x4bc0fe(0x1c5);const _0x4e9646=_0x43795b;return _0x4e9646[_0x4bc0fe(0x1b9)];};const HookState=Object[a87_0x584b43(0x1c8)]({'NONE':a87_0x448ffc,'PRE':a87_0x51a8a7,'POST':a87_0x55c245,'fromValue'(_0x243f66){const _0x1cf2ab=a87_0x584b43;return Object[_0x1cf2ab(0x1bb)](HookState)[_0x1cf2ab(0x1b7)](_0x1aac48=>_0x1aac48[_0x1cf2ab(0x1c3)]===_0x243f66);}});module[a87_0x584b43(0x1c2)]=HookState;
1
+ function a87_0x3064(){const _0x1ea164=['value','HookState.POST','17805uUvjsF','tktTH','toString','1171455csPaoL','HookState.NONE','freeze','exports','vRDiX','114981xYTPAz','10370094SoZyOi','4ZOUTHS','ugXBq','4886199LveHRn','44ipkrtt','10214928RjrVqf','find','HookState.PRE','values','4746036WgwNHU'];a87_0x3064=function(){return _0x1ea164;};return a87_0x3064();}const a87_0x454a60=a87_0x3de4;(function(_0x23b326,_0x4d8a17){const _0xc98f72=a87_0x3de4,_0x347aea=_0x23b326();while(!![]){try{const _0x52f077=parseInt(_0xc98f72(0xd8))/0x1*(-parseInt(_0xc98f72(0xe2))/0x2)+-parseInt(_0xc98f72(0xe0))/0x3*(parseInt(_0xc98f72(0xe5))/0x4)+-parseInt(_0xc98f72(0xdb))/0x5+parseInt(_0xc98f72(0xea))/0x6+parseInt(_0xc98f72(0xe1))/0x7+-parseInt(_0xc98f72(0xe6))/0x8+parseInt(_0xc98f72(0xe4))/0x9;if(_0x52f077===_0x4d8a17)break;else _0x347aea['push'](_0x347aea['shift']());}catch(_0x548fdc){_0x347aea['push'](_0x347aea['shift']());}}}(a87_0x3064,0xcec93));const a87_0x51b1ad={};a87_0x51b1ad[a87_0x454a60(0xd6)]=0x0,a87_0x51b1ad[a87_0x454a60(0xda)]=function(){const _0x4239f1=a87_0x454a60,_0x16115d={};_0x16115d['ugXBq']=_0x4239f1(0xdc);const _0x1d4123=_0x16115d;return _0x1d4123[_0x4239f1(0xe3)];};const a87_0x3f50c1={};a87_0x3f50c1['value']=0x1,a87_0x3f50c1['toString']=function(){const _0x575df1=a87_0x454a60,_0x22d51b={};_0x22d51b[_0x575df1(0xdf)]=_0x575df1(0xe8);const _0x4ea305=_0x22d51b;return _0x4ea305['vRDiX'];};const a87_0x502723={};a87_0x502723[a87_0x454a60(0xd6)]=0x2,a87_0x502723[a87_0x454a60(0xda)]=function(){const _0x353fc6=a87_0x454a60,_0x188f36={};_0x188f36[_0x353fc6(0xd9)]=_0x353fc6(0xd7);const _0x37ff12=_0x188f36;return _0x37ff12[_0x353fc6(0xd9)];};function a87_0x3de4(_0x504fa5,_0x940789){const _0x3064ae=a87_0x3064();return a87_0x3de4=function(_0x3de4c2,_0x4ee8cd){_0x3de4c2=_0x3de4c2-0xd6;let _0x2ca3df=_0x3064ae[_0x3de4c2];return _0x2ca3df;},a87_0x3de4(_0x504fa5,_0x940789);}const HookState=Object[a87_0x454a60(0xdd)]({'NONE':a87_0x51b1ad,'PRE':a87_0x3f50c1,'POST':a87_0x502723,'fromValue'(_0x3fd6ca){const _0x281bb6=a87_0x454a60;return Object[_0x281bb6(0xe9)](HookState)[_0x281bb6(0xe7)](_0x1ca357=>_0x1ca357[_0x281bb6(0xd6)]===_0x3fd6ca);}});module[a87_0x454a60(0xde)]=HookState;
@@ -1 +1 @@
1
- const a88_0x251fe8=a88_0x3152;(function(_0x35c56d,_0x20478e){const _0x288484=a88_0x3152,_0x3f9b10=_0x35c56d();while(!![]){try{const _0x7855c3=parseInt(_0x288484(0x1dc))/0x1+-parseInt(_0x288484(0x1d3))/0x2*(parseInt(_0x288484(0x1e1))/0x3)+-parseInt(_0x288484(0x1d6))/0x4*(parseInt(_0x288484(0x1e2))/0x5)+-parseInt(_0x288484(0x1dd))/0x6*(parseInt(_0x288484(0x1d4))/0x7)+parseInt(_0x288484(0x1df))/0x8+parseInt(_0x288484(0x1c9))/0x9*(parseInt(_0x288484(0x1d7))/0xa)+parseInt(_0x288484(0x1d5))/0xb*(parseInt(_0x288484(0x1da))/0xc);if(_0x7855c3===_0x20478e)break;else _0x3f9b10['push'](_0x3f9b10['shift']());}catch(_0x4bcf98){_0x3f9b10['push'](_0x3f9b10['shift']());}}}(a88_0x513d,0x1a048));const a88_0x3dbe10={};a88_0x3dbe10[a88_0x251fe8(0x1d8)]=0x0,a88_0x3dbe10[a88_0x251fe8(0x1e7)]=function(){const _0x3c698d=a88_0x251fe8,_0x10d40b={};_0x10d40b[_0x3c698d(0x1c8)]=_0x3c698d(0x1e6);const _0x513775=_0x10d40b;return _0x513775[_0x3c698d(0x1c8)];};const a88_0x5cb1ce={};a88_0x5cb1ce['value']=0x1,a88_0x5cb1ce[a88_0x251fe8(0x1e7)]=function(){const _0x23e512=a88_0x251fe8,_0xb52201={};_0xb52201[_0x23e512(0x1ce)]=_0x23e512(0x1ca);const _0x663214=_0xb52201;return _0x663214[_0x23e512(0x1ce)];};const a88_0x168344={};a88_0x168344['value']=0x2,a88_0x168344['toString']=function(){const _0x53e353=a88_0x251fe8,_0x15e4d6={};_0x15e4d6[_0x53e353(0x1cc)]=_0x53e353(0x1e4);const _0xd85f70=_0x15e4d6;return _0xd85f70[_0x53e353(0x1cc)];};const a88_0x40550c={};a88_0x40550c['value']=0x3,a88_0x40550c[a88_0x251fe8(0x1e7)]=function(){const _0x18cb5a=a88_0x251fe8,_0x26bb87={};_0x26bb87[_0x18cb5a(0x1e3)]=_0x18cb5a(0x1d0);const _0x354608=_0x26bb87;return _0x354608['ywZow'];};const a88_0x51a3b8={};a88_0x51a3b8[a88_0x251fe8(0x1d8)]=0x4,a88_0x51a3b8[a88_0x251fe8(0x1e7)]=function(){const _0x197c1a={};_0x197c1a['dRBvd']='TestFrameworkState.INIT_TEST';const _0x5adec6=_0x197c1a;return _0x5adec6['dRBvd'];};const a88_0x1a3167={};a88_0x1a3167['value']=0x5,a88_0x1a3167['toString']=function(){const _0x1e7f59=a88_0x251fe8,_0x2bdcab={};_0x2bdcab[_0x1e7f59(0x1e5)]=_0x1e7f59(0x1db);const _0x1d692a=_0x2bdcab;return _0x1d692a[_0x1e7f59(0x1e5)];};const a88_0x9697d={};a88_0x9697d[a88_0x251fe8(0x1d8)]=0x6,a88_0x9697d[a88_0x251fe8(0x1e7)]=function(){const _0x29699b=a88_0x251fe8,_0x4bf4b5={};_0x4bf4b5['ZGEqP']=_0x29699b(0x1d1);const _0x491e7a=_0x4bf4b5;return _0x491e7a['ZGEqP'];};const a88_0x47247b={};a88_0x47247b[a88_0x251fe8(0x1d8)]=0x7,a88_0x47247b[a88_0x251fe8(0x1e7)]=function(){const _0x2384c8=a88_0x251fe8,_0xad8467={};_0xad8467[_0x2384c8(0x1e0)]='TestFrameworkState.TEST';const _0x4b7163=_0xad8467;return _0x4b7163[_0x2384c8(0x1e0)];};const a88_0x92caf5={};a88_0x92caf5[a88_0x251fe8(0x1d8)]=0x8,a88_0x92caf5['toString']=function(){const _0x20f853=a88_0x251fe8,_0x570de4={};_0x570de4['aQlpW']=_0x20f853(0x1e8);const _0x46f9e0=_0x570de4;return _0x46f9e0[_0x20f853(0x1d2)];};const a88_0x2f3f5f={};a88_0x2f3f5f[a88_0x251fe8(0x1d8)]=0x9,a88_0x2f3f5f[a88_0x251fe8(0x1e7)]=function(){const _0x51db3a=a88_0x251fe8,_0x10906b={};_0x10906b[_0x51db3a(0x1cf)]='TestFrameworkState.LOG_REPORT';const _0x10af67=_0x10906b;return _0x10af67['Zmkbp'];};const a88_0x405552={};a88_0x405552['value']=0xa,a88_0x405552['toString']=function(){const _0x53ab91=a88_0x251fe8,_0x4121d8={};_0x4121d8[_0x53ab91(0x1cd)]='TestFrameworkState.AFTER_ALL';const _0xf109fe=_0x4121d8;return _0xf109fe['LjcJf'];};const a88_0x2b8024={};function a88_0x3152(_0x2f41aa,_0xf7c7d){const _0x513d3a=a88_0x513d();return a88_0x3152=function(_0x3152da,_0x5d5731){_0x3152da=_0x3152da-0x1c8;let _0x349f5b=_0x513d3a[_0x3152da];return _0x349f5b;},a88_0x3152(_0x2f41aa,_0xf7c7d);}function a88_0x513d(){const _0x163604=['TestFrameworkState.LOG','LnHxs','TestFrameworkState.NONE','toString','TestFrameworkState.STEP','dqohd','184491QiehlQ','TestFrameworkState.BEFORE_ALL','TestFrameworkState.TEST_SCREENSHOT','ngwmu','LjcJf','gopOw','Zmkbp','TestFrameworkState.SETUP_FIXTURE','TestFrameworkState.AFTER_EACH','aQlpW','60842xoTjkZ','196693upyGPW','3895265bSBvYx','676RIpTOl','70wCSEBG','value','TFqvA','12RDSLvi','TestFrameworkState.BEFORE_EACH','52944RKNPCR','6kCMVuc','freeze','5656YJbYuW','SDRFx','21JybdJN','6025OhgZQm','ywZow'];a88_0x513d=function(){return _0x163604;};return a88_0x513d();}a88_0x2b8024[a88_0x251fe8(0x1d8)]=0xb,a88_0x2b8024[a88_0x251fe8(0x1e7)]=function(){const _0x42fd8b=a88_0x251fe8,_0x173512={};_0x173512[_0x42fd8b(0x1d9)]=_0x42fd8b(0x1cb);const _0x4d2933=_0x173512;return _0x4d2933[_0x42fd8b(0x1d9)];};const TestFrameworkState=Object[a88_0x251fe8(0x1de)]({'NONE':a88_0x3dbe10,'BEFORE_ALL':a88_0x5cb1ce,'LOG':a88_0x168344,'SETUP_FIXTURE':a88_0x40550c,'INIT_TEST':a88_0x51a3b8,'BEFORE_EACH':a88_0x1a3167,'AFTER_EACH':a88_0x9697d,'TEST':a88_0x47247b,'STEP':a88_0x92caf5,'LOG_REPORT':a88_0x2f3f5f,'AFTER_ALL':a88_0x405552,'TEST_SCREENSHOT':a88_0x2b8024,'fromValue'(_0x165f1c){const _0x3e1753=a88_0x251fe8;return Object['values'](TestFrameworkState)['find'](_0x66d78e=>_0x66d78e[_0x3e1753(0x1d8)]===_0x165f1c);}});module['exports']=TestFrameworkState;
1
+ const a88_0x23df18=a88_0x7875;(function(_0x27837d,_0x46719b){const _0x484a15=a88_0x7875,_0x1b9b03=_0x27837d();while(!![]){try{const _0x3d36c9=parseInt(_0x484a15(0x153))/0x1*(parseInt(_0x484a15(0x168))/0x2)+parseInt(_0x484a15(0x16c))/0x3+-parseInt(_0x484a15(0x160))/0x4*(parseInt(_0x484a15(0x16b))/0x5)+parseInt(_0x484a15(0x156))/0x6+-parseInt(_0x484a15(0x163))/0x7*(parseInt(_0x484a15(0x171))/0x8)+parseInt(_0x484a15(0x157))/0x9*(parseInt(_0x484a15(0x15d))/0xa)+-parseInt(_0x484a15(0x15f))/0xb;if(_0x3d36c9===_0x46719b)break;else _0x1b9b03['push'](_0x1b9b03['shift']());}catch(_0x3044d0){_0x1b9b03['push'](_0x1b9b03['shift']());}}}(a88_0x2fd9,0x62167));const a88_0x19484c={};a88_0x19484c['value']=0x0,a88_0x19484c[a88_0x23df18(0x162)]=function(){const _0x207ace=a88_0x23df18,_0x448308={};_0x448308[_0x207ace(0x16f)]='TestFrameworkState.NONE';const _0x227da0=_0x448308;return _0x227da0[_0x207ace(0x16f)];};const a88_0x178194={};a88_0x178194['value']=0x1,a88_0x178194['toString']=function(){const _0x49ef43=a88_0x23df18,_0xcacccb={};_0xcacccb['ypqhX']=_0x49ef43(0x170);const _0x573247=_0xcacccb;return _0x573247[_0x49ef43(0x15b)];};const a88_0x44394a={};a88_0x44394a['value']=0x2,a88_0x44394a['toString']=function(){const _0x2bb2ca=a88_0x23df18,_0xf4cc9f={};_0xf4cc9f[_0x2bb2ca(0x14f)]=_0x2bb2ca(0x15e);const _0x2da004=_0xf4cc9f;return _0x2da004[_0x2bb2ca(0x14f)];};const a88_0x255843={};a88_0x255843[a88_0x23df18(0x16d)]=0x3,a88_0x255843[a88_0x23df18(0x162)]=function(){const _0xa78ab6=a88_0x23df18,_0x3fa834={};_0x3fa834['WSTwB']=_0xa78ab6(0x169);const _0x4c8da4=_0x3fa834;return _0x4c8da4['WSTwB'];};const a88_0x2ecfc6={};a88_0x2ecfc6['value']=0x4,a88_0x2ecfc6[a88_0x23df18(0x162)]=function(){const _0x4a90ad=a88_0x23df18,_0x365722={};_0x365722[_0x4a90ad(0x159)]=_0x4a90ad(0x15c);const _0x1f1a69=_0x365722;return _0x1f1a69[_0x4a90ad(0x159)];};const a88_0x74ac3d={};a88_0x74ac3d[a88_0x23df18(0x16d)]=0x5,a88_0x74ac3d['toString']=function(){const _0x378601=a88_0x23df18,_0x44c3c1={};_0x44c3c1[_0x378601(0x167)]='TestFrameworkState.BEFORE_EACH';const _0x199e28=_0x44c3c1;return _0x199e28['jtbkl'];};function a88_0x7875(_0x1ee537,_0x14bbe2){const _0x2fd94b=a88_0x2fd9();return a88_0x7875=function(_0x787509,_0x1503e4){_0x787509=_0x787509-0x14d;let _0x4c78cf=_0x2fd94b[_0x787509];return _0x4c78cf;},a88_0x7875(_0x1ee537,_0x14bbe2);}const a88_0x184ea5={};a88_0x184ea5[a88_0x23df18(0x16d)]=0x6,a88_0x184ea5[a88_0x23df18(0x162)]=function(){const _0xaef6d5=a88_0x23df18,_0x277501={};_0x277501[_0xaef6d5(0x165)]=_0xaef6d5(0x14d);const _0x83e046=_0x277501;return _0x83e046['iuDVj'];};const a88_0x4e8106={};a88_0x4e8106['value']=0x7,a88_0x4e8106[a88_0x23df18(0x162)]=function(){const _0x4629fc=a88_0x23df18,_0x22f0b2={};_0x22f0b2[_0x4629fc(0x15a)]=_0x4629fc(0x151);const _0x1a5b03=_0x22f0b2;return _0x1a5b03[_0x4629fc(0x15a)];};const a88_0x986f={};a88_0x986f[a88_0x23df18(0x16d)]=0x8,a88_0x986f[a88_0x23df18(0x162)]=function(){const _0x14f9ed=a88_0x23df18,_0x4182d8={};_0x4182d8[_0x14f9ed(0x158)]='TestFrameworkState.STEP';const _0x289b7a=_0x4182d8;return _0x289b7a['WeTlU'];};const a88_0x19023d={};a88_0x19023d[a88_0x23df18(0x16d)]=0x9,a88_0x19023d['toString']=function(){const _0x31a7af=a88_0x23df18,_0x37aefe={};_0x37aefe['zSLxg']=_0x31a7af(0x155);const _0xc358a2=_0x37aefe;return _0xc358a2[_0x31a7af(0x150)];};function a88_0x2fd9(){const _0x32bea7=['211590leXCBY','TestFrameworkState.LOG','10193293ZAPFQE','4ekLSqo','exports','toString','553IacOSI','find','iuDVj','values','jtbkl','16062RjLHPI','TestFrameworkState.SETUP_FIXTURE','TestFrameworkState.TEST_SCREENSHOT','3460595AXTVOd','1138707HEjDFr','value','freeze','nTfDO','TestFrameworkState.BEFORE_ALL','856VgKSQe','TestFrameworkState.AFTER_EACH','TestFrameworkState.AFTER_ALL','STMzr','zSLxg','TestFrameworkState.TEST','qzhPX','96zlCdMQ','iWarI','TestFrameworkState.LOG_REPORT','954306tFwulu','306JkVysM','WeTlU','fjJPt','GSeCp','ypqhX','TestFrameworkState.INIT_TEST'];a88_0x2fd9=function(){return _0x32bea7;};return a88_0x2fd9();}const a88_0x1f70a2={};a88_0x1f70a2[a88_0x23df18(0x16d)]=0xa,a88_0x1f70a2[a88_0x23df18(0x162)]=function(){const _0xa2438d=a88_0x23df18,_0x2ce592={};_0x2ce592[_0xa2438d(0x152)]=_0xa2438d(0x14e);const _0x2c16d8=_0x2ce592;return _0x2c16d8[_0xa2438d(0x152)];};const a88_0x471621={};a88_0x471621['value']=0xb,a88_0x471621[a88_0x23df18(0x162)]=function(){const _0x41a727=a88_0x23df18,_0x35b832={};_0x35b832[_0x41a727(0x154)]=_0x41a727(0x16a);const _0x617162=_0x35b832;return _0x617162[_0x41a727(0x154)];};const TestFrameworkState=Object[a88_0x23df18(0x16e)]({'NONE':a88_0x19484c,'BEFORE_ALL':a88_0x178194,'LOG':a88_0x44394a,'SETUP_FIXTURE':a88_0x255843,'INIT_TEST':a88_0x2ecfc6,'BEFORE_EACH':a88_0x74ac3d,'AFTER_EACH':a88_0x184ea5,'TEST':a88_0x4e8106,'STEP':a88_0x986f,'LOG_REPORT':a88_0x19023d,'AFTER_ALL':a88_0x1f70a2,'TEST_SCREENSHOT':a88_0x471621,'fromValue'(_0x59357e){const _0x331ced=a88_0x23df18;return Object[_0x331ced(0x166)](TestFrameworkState)[_0x331ced(0x164)](_0x386437=>_0x386437[_0x331ced(0x16d)]===_0x59357e);}});module[a88_0x23df18(0x161)]=TestFrameworkState;
@@ -1 +1 @@
1
- function a89_0x2173(){const _0x2b3970=['File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','OATcF','xBAXe','ZdeoH','statusCode','gWvJv','OdcOK','yInfb','retry','message','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','qfNnE','homedir','force','./state/hookState','toFixed','BuildLevel','TestLevel','jhuQl','../../helpers/classLogger.js','nzzbe','KEY_FILE_SIZE','yRMSK','OXuyx','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','clearAttachments','238726jOIlKJ','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','name','875kZNSmF','uploadAttachmentsManager','trim','WHcvo','DjRql','10RsvosQ','dcbrU','unlinkSync','cdvcS','vbcpY','906632TbAKiy','getAllData','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','jest','copyFileSync','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','WvPhh','urZxJ','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','LFbrU','KEY_FILE_NAME','getState','basename','./browserstackCLI','./cliUtils','2980HjhyqZ','getInstance','testInfo','finish','DrQVC','2254869fOBiGu','./framework/constants/testFrameworkConstants','startsWith','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','__workerDetails','close','.browserstack','statSync','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','29912raNphH','getTrackedInstance','Created\x20.browserstack\x20folder\x20at:\x20%s','898626SCjyby','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','http://','cMqYn','mkdirSync','existsSync','pipe','join','rmSync','KEY_TEST_ID','resolveInstance','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','logger','__jestCurrentTestIdentifier','toLowerCase','testhubConfig','./state/testFrameworkState','currentTest','path','MtCNI','wZCxp','lpTju','WVLyb','File\x20downloaded\x20to:\x20%s','format','nqYfP','KEY_TEST_ATTACHMENTS','KNFMb','70610vyfzvL','uploadAttachments','XtaGD','addMultipleEntries','lAuUv','tKZco','modules','DNfQa','VNRWG','2695eQmcxh','1149geysUA','POST','size',',\x20filepath:\x20','KlxMS','vrtpg','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','Cleared\x20attachment\x20folder','./modules/playwrightDriverModule','rcSmS','http','get','debug','util','trackFile'];a89_0x2173=function(){return _0x2b3970;};return a89_0x2173();}function a89_0x5489(_0x15d451,_0xbeb22c){const _0x21732f=a89_0x2173();return a89_0x5489=function(_0x548965,_0x2c8cd9){_0x548965=_0x548965-0x131;let _0x3eb70f=_0x21732f[_0x548965];return _0x3eb70f;},a89_0x5489(_0x15d451,_0xbeb22c);}const a89_0x4ae7cb=a89_0x5489;(function(_0x3bc723,_0x21b128){const _0x3af411=a89_0x5489,_0x2926e2=_0x3bc723();while(!![]){try{const _0x1a64bf=-parseInt(_0x3af411(0x143))/0x1+-parseInt(_0x3af411(0x150))/0x2+-parseInt(_0x3af411(0x196))/0x3*(parseInt(_0x3af411(0x15f))/0x4)+-parseInt(_0x3af411(0x14b))/0x5*(parseInt(_0x3af411(0x170))/0x6)+-parseInt(_0x3af411(0x146))/0x7*(parseInt(_0x3af411(0x16d))/0x8)+parseInt(_0x3af411(0x164))/0x9+parseInt(_0x3af411(0x18c))/0xa*(parseInt(_0x3af411(0x195))/0xb);if(_0x1a64bf===_0x21b128)break;else _0x2926e2['push'](_0x2926e2['shift']());}catch(_0x3fb7cb){_0x2926e2['push'](_0x2926e2['shift']());}}}(a89_0x2173,0x39aa0));const os=require('os'),fs=require('fs'),path=require(a89_0x4ae7cb(0x182)),util=require(a89_0x4ae7cb(0x1a3)),BrowserstackCLI=require(a89_0x4ae7cb(0x15d)),https=require('https'),http=require(a89_0x4ae7cb(0x1a0)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require(a89_0x4ae7cb(0x19e)),TestInfo=require('./TestInfo'),TestFrameworkConstants=require(a89_0x4ae7cb(0x165)),{createClassLogger}=require(a89_0x4ae7cb(0x13c));class uploadAttachmentsManager{static [a89_0x4ae7cb(0x17c)]=createClassLogger(a89_0x4ae7cb(0x147));static[a89_0x4ae7cb(0x18d)](_0x159a20,_0x20abca=![]){const _0x4c9430=a89_0x4ae7cb,_0x39d40={};_0x39d40['VuxfJ']=function(_0x43d598,_0x595495){return _0x43d598/_0x595495;},_0x39d40[_0x4c9430(0x191)]=function(_0x23df66,_0x206974){return _0x23df66*_0x206974;},_0x39d40['gWvJv']=function(_0x541bdf,_0x230c9b){return _0x541bdf>_0x230c9b;},_0x39d40['DjRql']=_0x4c9430(0x144),_0x39d40[_0x4c9430(0x18b)]=_0x4c9430(0x187),_0x39d40[_0x4c9430(0x190)]=function(_0x277903,_0x4caf2e){return _0x277903===_0x4caf2e;},_0x39d40[_0x4c9430(0x1ac)]=_0x4c9430(0x162),_0x39d40[_0x4c9430(0x19a)]=_0x4c9430(0x141),_0x39d40[_0x4c9430(0x1a8)]=_0x4c9430(0x171),_0x39d40[_0x4c9430(0x19f)]='Attachment\x20recevied\x20for\x20path:\x20%s',_0x39d40[_0x4c9430(0x189)]=_0x4c9430(0x16a),_0x39d40['MtCNI']=_0x4c9430(0x131),_0x39d40[_0x4c9430(0x13d)]=_0x4c9430(0x16f),_0x39d40['xBAXe']='Created\x20folder:\x20%s',_0x39d40['yRMSK']=_0x4c9430(0x167),_0x39d40['cMqYn']='https://',_0x39d40[_0x4c9430(0x185)]=_0x4c9430(0x172),_0x39d40[_0x4c9430(0x156)]='error',_0x39d40[_0x4c9430(0x14e)]=_0x4c9430(0x19c),_0x39d40['qfNnE']=function(_0xb86730,_0x4346a5){return _0xb86730/_0x4346a5;},_0x39d40[_0x4c9430(0x1a6)]=function(_0x42020c,_0x359056){return _0x42020c>_0x359056;},_0x39d40[_0x4c9430(0x194)]=_0x4c9430(0x1a5);const _0x405e8b=_0x39d40;this[_0x4c9430(0x17c)][_0x4c9430(0x1a2)](util['format'](_0x405e8b['rcSmS'],_0x159a20));const _0x3d4dd9=os[_0x4c9430(0x135)](),_0x1023b6=path[_0x4c9430(0x177)](_0x3d4dd9,_0x405e8b[_0x4c9430(0x189)]);!fs[_0x4c9430(0x175)](_0x1023b6)&&(this[_0x4c9430(0x17c)][_0x4c9430(0x1a2)](util[_0x4c9430(0x188)](_0x405e8b[_0x4c9430(0x183)],_0x1023b6)),fs[_0x4c9430(0x174)](_0x1023b6),this[_0x4c9430(0x17c)][_0x4c9430(0x1a2)](util[_0x4c9430(0x188)](_0x405e8b[_0x4c9430(0x13d)],_0x1023b6)));const _0x38fd80=BrowserstackCLI['getInstance']()[_0x4c9430(0x192)]['TestHubModule']?.[_0x4c9430(0x17f)]?.['toObject']()?.['buildHashedId'],_0x5f45c3=path[_0x4c9430(0x177)](_0x1023b6,_0x38fd80);!fs['existsSync'](_0x5f45c3)&&(fs['mkdirSync'](_0x5f45c3),this['logger'][_0x4c9430(0x1a2)](util[_0x4c9430(0x188)](_0x405e8b[_0x4c9430(0x1a7)],_0x5f45c3)));if(_0x405e8b[_0x4c9430(0x190)](_0x159a20[_0x4c9430(0x148)](),'')){this[_0x4c9430(0x17c)]['debug'](util[_0x4c9430(0x188)](_0x405e8b[_0x4c9430(0x13f)]));return;}if(_0x159a20[_0x4c9430(0x166)](_0x405e8b[_0x4c9430(0x173)])||_0x159a20['startsWith'](_0x405e8b['lpTju'])){const _0x10d192=_0x159a20[_0x4c9430(0x166)](_0x405e8b['cMqYn'])?https:http,_0x37d4d5=path[_0x4c9430(0x15c)](_0x159a20),_0x6aeb1f=path[_0x4c9430(0x177)](_0x5f45c3,_0x37d4d5),_0x3708b2=fs['createWriteStream'](_0x6aeb1f);_0x10d192[_0x4c9430(0x1a1)](_0x159a20,_0x1766d6=>{const _0x4685b1=_0x4c9430;if(_0x405e8b[_0x4685b1(0x190)](_0x1766d6[_0x4685b1(0x1a9)],0xc8))_0x1766d6[_0x4685b1(0x176)](_0x3708b2),_0x3708b2['on'](_0x405e8b[_0x4685b1(0x1ac)],()=>{const _0x3682e6=_0x4685b1;_0x3708b2[_0x3682e6(0x169)]();const _0x642aff=fs[_0x3682e6(0x16b)](_0x6aeb1f),_0x5e6f11=_0x405e8b['VuxfJ'](_0x642aff[_0x3682e6(0x198)],_0x405e8b[_0x3682e6(0x191)](0x400,0x400));if(_0x405e8b[_0x3682e6(0x1aa)](_0x5e6f11,0x64)){this[_0x3682e6(0x17c)][_0x3682e6(0x1a2)](util[_0x3682e6(0x188)](_0x405e8b[_0x3682e6(0x14a)],_0x5e6f11[_0x3682e6(0x138)](0x2))),fs[_0x3682e6(0x14d)](_0x6aeb1f);return;}this[_0x3682e6(0x17c)][_0x3682e6(0x1a2)](util[_0x3682e6(0x188)](_0x405e8b['KNFMb'],_0x6aeb1f)),uploadAttachmentsManager[_0x3682e6(0x1a4)](_0x6aeb1f,_0x20abca);});else{this['logger'][_0x4685b1(0x1a2)](util[_0x4685b1(0x188)](_0x405e8b[_0x4685b1(0x19a)],_0x1766d6[_0x4685b1(0x1a9)])),_0x3708b2['close'](),fs['unlinkSync'](_0x6aeb1f);return;}})['on'](_0x405e8b['WvPhh'],_0x3a4d42=>{const _0x13cedc=_0x4c9430;this[_0x13cedc(0x17c)][_0x13cedc(0x1a2)](util[_0x13cedc(0x188)](_0x405e8b['ZdeoH'],_0x3a4d42[_0x13cedc(0x1ae)])),_0x3708b2[_0x13cedc(0x169)](),fs[_0x13cedc(0x14d)](_0x6aeb1f);return;});}else{if(!fs[_0x4c9430(0x175)](_0x159a20)){this[_0x4c9430(0x17c)][_0x4c9430(0x1a2)](util[_0x4c9430(0x188)](_0x405e8b[_0x4c9430(0x14e)],_0x159a20));return;}const _0x1d5d93=fs[_0x4c9430(0x16b)](_0x159a20),_0x671838=_0x405e8b[_0x4c9430(0x134)](_0x1d5d93[_0x4c9430(0x198)],_0x405e8b[_0x4c9430(0x191)](0x400,0x400));if(_0x405e8b[_0x4c9430(0x1a6)](_0x671838,0x64)){this[_0x4c9430(0x17c)][_0x4c9430(0x1a2)](util[_0x4c9430(0x188)](_0x405e8b['VNRWG'],_0x671838[_0x4c9430(0x138)](0x2)));return;}const _0x14f05a=path[_0x4c9430(0x15c)](_0x159a20),_0x7baae3=path[_0x4c9430(0x177)](_0x5f45c3,_0x14f05a);fs[_0x4c9430(0x154)](_0x159a20,_0x7baae3),uploadAttachmentsManager['trackFile'](_0x7baae3,_0x20abca);}}static[a89_0x4ae7cb(0x1a4)](_0xa30bab,_0x48592e){const _0x3533a5=a89_0x4ae7cb,_0x4aacc2={'wZCxp':function(_0xa3b149,_0x4434dd){return _0xa3b149(_0x4434dd);},'wagfX':_0x3533a5(0x15d),'vrtpg':_0x3533a5(0x15e),'WHcvo':function(_0x45e9e6,_0x24dab7){return _0x45e9e6===_0x24dab7;},'OXuyx':_0x3533a5(0x153),'DNfQa':_0x3533a5(0x158),'OdcOK':_0x3533a5(0x139),'vbcpY':_0x3533a5(0x13a),'jhuQl':_0x3533a5(0x152),'dcbrU':function(_0x2f2d5b,_0xb8e6dd){return _0x2f2d5b(_0xb8e6dd);},'UxOiy':_0x3533a5(0x180),'XtaGD':_0x3533a5(0x137),'eowef':_0x3533a5(0x133),'soSgR':_0x3533a5(0x155),'urZxJ':'Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload'};try{let _0x5e1399;const _0x101b1b=global[_0x3533a5(0x168)]?.[_0x3533a5(0x181)]?.[_0x3533a5(0x161)],_0x5c2391=_0x4aacc2[_0x3533a5(0x184)](require,_0x4aacc2['wagfX']),_0x3480d4=_0x4aacc2['wZCxp'](require,_0x4aacc2[_0x3533a5(0x19b)]),_0x1ebc9c=_0x5c2391['getInstance']()['isRunning']()&&_0x4aacc2[_0x3533a5(0x149)](_0x3480d4['getTestFrameworkDetail']()?.[_0x3533a5(0x145)]?.[_0x3533a5(0x17e)](),_0x4aacc2[_0x3533a5(0x140)]);if(_0x1ebc9c){_0x5e1399=global[_0x3533a5(0x17d)];if(!_0x5e1399){const _0x3d2cc7=AutomationFramework[_0x3533a5(0x16e)]();_0x5e1399=AutomationFramework[_0x3533a5(0x15b)](_0x3d2cc7,PlaywrightDriverModule['KEY_TEST_ID'],'');}this[_0x3533a5(0x17c)][_0x3533a5(0x1a2)](_0x3533a5(0x17b)+_0x5e1399);}else{if(!_0x101b1b){const _0x3a9785=AutomationFramework[_0x3533a5(0x16e)]();_0x5e1399=AutomationFramework[_0x3533a5(0x15b)](_0x3a9785,PlaywrightDriverModule[_0x3533a5(0x179)],'');}else _0x5e1399=TestInfo['getTestIdentifierFromTestInfo'](_0x101b1b,_0x101b1b[_0x3533a5(0x1ad)]);this[_0x3533a5(0x17c)][_0x3533a5(0x1a2)](_0x3533a5(0x16c)+_0x5e1399);}if(!_0x5e1399){this[_0x3533a5(0x17c)][_0x3533a5(0x1a2)](_0x4aacc2[_0x3533a5(0x193)]);return;}const _0x2416da={[TestFrameworkConstants[_0x3533a5(0x13e)]]:fs[_0x3533a5(0x16b)](_0xa30bab)[_0x3533a5(0x198)],[TestFrameworkConstants[_0x3533a5(0x15a)]]:path[_0x3533a5(0x15c)](_0xa30bab),[TestFrameworkConstants['KEY_FILE_PATH']]:_0xa30bab,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0x48592e?_0x4aacc2[_0x3533a5(0x1ab)]:_0x4aacc2[_0x3533a5(0x14f)]};if(_0x1ebc9c){const _0xb90931=_0x5c2391['getInstance']()['getTestFramework']();if(!_0xb90931){this[_0x3533a5(0x17c)]['debug'](_0x4aacc2[_0x3533a5(0x13b)]);return;}const _0xbd7185=_0x4aacc2[_0x3533a5(0x14c)](require,_0x4aacc2['UxOiy']),_0x3effb9=_0x4aacc2['wZCxp'](require,_0x4aacc2[_0x3533a5(0x18e)]),_0x2a7849=_0xb90931[_0x3533a5(0x17a)](_0xbd7185['TEST'],_0x3effb9[_0x3533a5(0x197)]);if(!_0x2a7849){this[_0x3533a5(0x17c)][_0x3533a5(0x1a2)](_0x4aacc2['eowef']);return;}const _0x3ffaa5=_0x2a7849[_0x3533a5(0x151)]()[_0x3533a5(0x1a1)](_0x5e1399)||{},_0x386717=_0x3ffaa5[TestFrameworkConstants[_0x3533a5(0x18a)]]||{},_0x169f24={..._0x386717};_0x169f24[_0xa30bab]=_0x2416da;const _0x235dba=_0x169f24,_0x39bb48={[TestFrameworkConstants[_0x3533a5(0x18a)]]:_0x235dba},_0x124ac1={};_0x124ac1[_0x5e1399]=_0x39bb48,_0x2a7849[_0x3533a5(0x18f)](_0x124ac1),this[_0x3533a5(0x17c)][_0x3533a5(0x1a2)](_0x3533a5(0x132)+_0x5e1399+_0x3533a5(0x199)+_0xa30bab);}else{const _0x48b693=TestInfo['getTestDetails'](_0x5e1399),_0x42f6e4=_0x48b693[TestFrameworkConstants[_0x3533a5(0x18a)]]||{};_0x42f6e4[_0xa30bab]=_0x2416da,_0x48b693[TestFrameworkConstants[_0x3533a5(0x18a)]]=_0x42f6e4,TestInfo['setTestDetails'](_0x5e1399,_0x48b693),this[_0x3533a5(0x17c)][_0x3533a5(0x1a2)]('trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20'+_0x5e1399+_0x3533a5(0x199)+_0xa30bab);}this[_0x3533a5(0x17c)][_0x3533a5(0x1a2)](util[_0x3533a5(0x188)](_0x4aacc2['soSgR'],_0xa30bab));}catch(_0x517f69){this[_0x3533a5(0x17c)]['debug'](util[_0x3533a5(0x188)](_0x4aacc2[_0x3533a5(0x157)],_0x517f69[_0x3533a5(0x1ae)]));}}static[a89_0x4ae7cb(0x142)](){const _0x3b5225=a89_0x4ae7cb,_0x43322e={};_0x43322e[_0x3b5225(0x163)]=_0x3b5225(0x16a),_0x43322e['LFbrU']='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x43322e[_0x3b5225(0x186)]=_0x3b5225(0x19d);const _0x26f784=_0x43322e,_0x528d5b=os[_0x3b5225(0x135)](),_0x19a87c=path[_0x3b5225(0x177)](_0x528d5b,_0x26f784[_0x3b5225(0x163)]);if(!fs[_0x3b5225(0x175)](_0x19a87c))return;const _0x3a525a=BrowserstackCLI[_0x3b5225(0x160)]()[_0x3b5225(0x192)]['TestHubModule']?.['testhubConfig']?.['toObject']()?.['buildHashedId'],_0x1a2312=_0x3a525a?path[_0x3b5225(0x177)](_0x19a87c,_0x3a525a):null;if(!_0x1a2312||!fs[_0x3b5225(0x175)](_0x1a2312)){this[_0x3b5225(0x17c)][_0x3b5225(0x1a2)](util[_0x3b5225(0x188)](_0x26f784[_0x3b5225(0x159)],_0x3a525a));return;}const _0x1a1c56={};_0x1a1c56['recursive']=!![],_0x1a1c56[_0x3b5225(0x136)]=!![],fs[_0x3b5225(0x178)](_0x1a2312,_0x1a1c56),this[_0x3b5225(0x17c)][_0x3b5225(0x1a2)](util['format'](_0x26f784[_0x3b5225(0x186)]));}}module['exports']=uploadAttachmentsManager;
1
+ const a89_0x106cee=a89_0x2fba;function a89_0x2fba(_0x4a036e,_0x984cf7){const _0x50905f=a89_0x5090();return a89_0x2fba=function(_0x2fbabd,_0x3f422a){_0x2fbabd=_0x2fbabd-0x1b9;let _0x183f5c=_0x50905f[_0x2fbabd];return _0x183f5c;},a89_0x2fba(_0x4a036e,_0x984cf7);}function a89_0x5090(){const _0x22876e=['getInstance','tWXkX','format','NGKlC','trackFile','KEY_FILE_PATH','JxkGt','modules','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','./state/hookState','addMultipleEntries','getTestFrameworkDetail','UxMwt','https','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','jrPDW','./modules/playwrightDriverModule','10814648TqTEfU','close','copyFileSync','./framework/constants/testFrameworkConstants','CJLHt','TestHubModule','JAFbT','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','CgGXj','getTestIdentifierFromTestInfo','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','toLowerCase','http','XsubG','znopw','pjXDz','finish','pipe','basename','Leprj','unlinkSync','KEY_FILE_NAME','getTestFramework','GNITQ','name','IZuxm','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','mkdirSync','KEY_FILE_LEVEL','testhubConfig','toFixed','./state/testFrameworkState','gPsvc',',\x20filepath:\x20','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','geKBX','size','jest','BuildLevel','statSync','1841694qLurjT','mkwpu','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','615374HSEQHY','Cleared\x20attachment\x20folder','1172340EzhTRD','.browserstack','NsagE','EcASB','util','./browserstackCLI','KEY_TEST_ID','467976wEVDrM','SEdld','yGJpD','jJOhR','TeNGr','rZwRd','clearAttachments','existsSync','toObject','GHOhD','https://','createWriteStream','COIdg','buildHashedId','fTmUs','isRunning','2641728ZoQABp','getState','uploadAttachmentsManager','logger','message','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','join','rFJaZ','error','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','setTestDetails','path','KEY_TEST_ATTACHMENTS','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','21DdqTLJ','toKXa','JRNvI','homedir','Created\x20.browserstack\x20folder\x20at:\x20%s','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','rmSync','fvxOB','currentTest','force','10nxRxBN','get','uploadAttachments','nXTgf','debug','baOmg','retry','../../helpers/classLogger.js','gdegF','POST','tfKec','getTrackedInstance','NCwlt','LoYri','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','KEY_FILE_SIZE','exports','testInfo','RSUdG','recursive','qCLMo','3415584lADdXL'];a89_0x5090=function(){return _0x22876e;};return a89_0x5090();}(function(_0x16f847,_0x4e7325){const _0x157951=a89_0x2fba,_0x2cd879=_0x16f847();while(!![]){try{const _0x4538c8=parseInt(_0x157951(0x227))/0x1+-parseInt(_0x157951(0x230))/0x2+parseInt(_0x157951(0x1e7))/0x3+-parseInt(_0x157951(0x1b9))/0x4*(parseInt(_0x157951(0x1d2))/0x5)+-parseInt(_0x157951(0x222))/0x6*(parseInt(_0x157951(0x1c8))/0x7)+parseInt(_0x157951(0x1f9))/0x8+parseInt(_0x157951(0x229))/0x9;if(_0x4538c8===_0x4e7325)break;else _0x2cd879['push'](_0x2cd879['shift']());}catch(_0x3d9854){_0x2cd879['push'](_0x2cd879['shift']());}}}(a89_0x5090,0xb99e6));const os=require('os'),fs=require('fs'),path=require(a89_0x106cee(0x1c5)),util=require(a89_0x106cee(0x22d)),BrowserstackCLI=require(a89_0x106cee(0x22e)),https=require(a89_0x106cee(0x1f5)),http=require(a89_0x106cee(0x205)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require(a89_0x106cee(0x1f8)),TestInfo=require('./TestInfo'),TestFrameworkConstants=require(a89_0x106cee(0x1fc)),{createClassLogger}=require(a89_0x106cee(0x1d9));class uploadAttachmentsManager{static ['logger']=createClassLogger(a89_0x106cee(0x1bb));static[a89_0x106cee(0x1d4)](_0x26ebe6,_0x5c8e79=![]){const _0x378929=a89_0x106cee,_0x39b27a={};_0x39b27a['LoYri']=function(_0x3391ac,_0x580c74){return _0x3391ac/_0x580c74;},_0x39b27a[_0x378929(0x22b)]=function(_0x2d64ee,_0x423649){return _0x2d64ee*_0x423649;},_0x39b27a[_0x378929(0x1ee)]=function(_0x5aabb9,_0x254c02){return _0x5aabb9>_0x254c02;},_0x39b27a[_0x378929(0x22c)]=_0x378929(0x21c),_0x39b27a[_0x378929(0x23c)]='File\x20downloaded\x20to:\x20%s',_0x39b27a['XsubG']=function(_0x292c93,_0x3729d3){return _0x292c93===_0x3729d3;},_0x39b27a[_0x378929(0x1d7)]=_0x378929(0x209),_0x39b27a[_0x378929(0x1d5)]=_0x378929(0x1c2),_0x39b27a[_0x378929(0x210)]=_0x378929(0x1c3),_0x39b27a[_0x378929(0x1f7)]='Attachment\x20recevied\x20for\x20path:\x20%s',_0x39b27a[_0x378929(0x1dc)]=_0x378929(0x22a),_0x39b27a[_0x378929(0x1de)]=_0x378929(0x1e0),_0x39b27a[_0x378929(0x235)]=_0x378929(0x1cc),_0x39b27a[_0x378929(0x1eb)]='Created\x20folder:\x20%s',_0x39b27a[_0x378929(0x234)]=_0x378929(0x200),_0x39b27a['fTmUs']=_0x378929(0x23a),_0x39b27a[_0x378929(0x20c)]='http://',_0x39b27a[_0x378929(0x1c0)]=_0x378929(0x1c1),_0x39b27a[_0x378929(0x201)]=_0x378929(0x1f6),_0x39b27a['RSUdG']=function(_0x28e011,_0x2f32f3){return _0x28e011*_0x2f32f3;},_0x39b27a['tWXkX']=function(_0x52aff5,_0x4d966a){return _0x52aff5>_0x4d966a;},_0x39b27a[_0x378929(0x231)]=_0x378929(0x226);const _0x9a0163=_0x39b27a;this[_0x378929(0x1bc)][_0x378929(0x1d6)](util[_0x378929(0x1ea)](_0x9a0163[_0x378929(0x1f7)],_0x26ebe6));const _0x4593af=os[_0x378929(0x1cb)](),_0x5d2ae1=path[_0x378929(0x1bf)](_0x4593af,_0x9a0163[_0x378929(0x1dc)]);!fs[_0x378929(0x237)](_0x5d2ae1)&&(this[_0x378929(0x1bc)][_0x378929(0x1d6)](util['format'](_0x9a0163['NCwlt'],_0x5d2ae1)),fs[_0x378929(0x214)](_0x5d2ae1),this[_0x378929(0x1bc)]['debug'](util['format'](_0x9a0163[_0x378929(0x235)],_0x5d2ae1)));const _0x4017ab=BrowserstackCLI[_0x378929(0x1e8)]()['modules']['TestHubModule']?.[_0x378929(0x216)]?.[_0x378929(0x238)]()?.[_0x378929(0x23d)],_0x502988=path[_0x378929(0x1bf)](_0x5d2ae1,_0x4017ab);!fs['existsSync'](_0x502988)&&(fs[_0x378929(0x214)](_0x502988),this['logger'][_0x378929(0x1d6)](util[_0x378929(0x1ea)](_0x9a0163[_0x378929(0x1eb)],_0x502988)));if(_0x9a0163[_0x378929(0x206)](_0x26ebe6['trim'](),'')){this[_0x378929(0x1bc)][_0x378929(0x1d6)](util[_0x378929(0x1ea)](_0x9a0163['TeNGr']));return;}if(_0x26ebe6['startsWith'](_0x9a0163[_0x378929(0x23e)])||_0x26ebe6['startsWith'](_0x9a0163[_0x378929(0x20c)])){const _0x1edc85=_0x26ebe6['startsWith'](_0x9a0163[_0x378929(0x23e)])?https:http,_0x12ff2=path[_0x378929(0x20b)](_0x26ebe6),_0x281e66=path[_0x378929(0x1bf)](_0x502988,_0x12ff2),_0x29b767=fs[_0x378929(0x23b)](_0x281e66);_0x1edc85[_0x378929(0x1d3)](_0x26ebe6,_0x1f910a=>{const _0x435cb7=_0x378929,_0x8dd8f8={'mSTam':function(_0x2fd431,_0x3a1941){const _0x4cd9bc=a89_0x2fba;return _0x9a0163[_0x4cd9bc(0x1df)](_0x2fd431,_0x3a1941);},'qLJCu':function(_0xa696fd,_0x1a03cb){const _0x5f6477=a89_0x2fba;return _0x9a0163[_0x5f6477(0x22b)](_0xa696fd,_0x1a03cb);},'UxMwt':function(_0x6c0bbb,_0x44f6d6){return _0x9a0163['JxkGt'](_0x6c0bbb,_0x44f6d6);},'gPsvc':_0x9a0163[_0x435cb7(0x22c)],'CJLHt':_0x9a0163[_0x435cb7(0x23c)]};if(_0x9a0163[_0x435cb7(0x206)](_0x1f910a['statusCode'],0xc8))_0x1f910a[_0x435cb7(0x20a)](_0x29b767),_0x29b767['on'](_0x9a0163['baOmg'],()=>{const _0x2224f3=_0x435cb7;_0x29b767['close']();const _0xa2cd7=fs[_0x2224f3(0x221)](_0x281e66),_0x4dfcd5=_0x8dd8f8['mSTam'](_0xa2cd7[_0x2224f3(0x21e)],_0x8dd8f8['qLJCu'](0x400,0x400));if(_0x8dd8f8[_0x2224f3(0x1f4)](_0x4dfcd5,0x64)){this[_0x2224f3(0x1bc)]['debug'](util[_0x2224f3(0x1ea)](_0x8dd8f8[_0x2224f3(0x219)],_0x4dfcd5[_0x2224f3(0x217)](0x2))),fs[_0x2224f3(0x20d)](_0x281e66);return;}this[_0x2224f3(0x1bc)][_0x2224f3(0x1d6)](util[_0x2224f3(0x1ea)](_0x8dd8f8[_0x2224f3(0x1fd)],_0x281e66)),uploadAttachmentsManager[_0x2224f3(0x1ec)](_0x281e66,_0x5c8e79);});else{this[_0x435cb7(0x1bc)][_0x435cb7(0x1d6)](util[_0x435cb7(0x1ea)](_0x9a0163['nXTgf'],_0x1f910a['statusCode'])),_0x29b767[_0x435cb7(0x1fa)](),fs['unlinkSync'](_0x281e66);return;}})['on'](_0x9a0163[_0x378929(0x1c0)],_0x46c65f=>{const _0x4d5e73=_0x378929;this[_0x4d5e73(0x1bc)]['debug'](util[_0x4d5e73(0x1ea)](_0x9a0163['GNITQ'],_0x46c65f['message'])),_0x29b767[_0x4d5e73(0x1fa)](),fs[_0x4d5e73(0x20d)](_0x281e66);return;});}else{if(!fs[_0x378929(0x237)](_0x26ebe6)){this[_0x378929(0x1bc)]['debug'](util[_0x378929(0x1ea)](_0x9a0163['CgGXj'],_0x26ebe6));return;}const _0x428a16=fs[_0x378929(0x221)](_0x26ebe6),_0x1998ee=_0x9a0163[_0x378929(0x1df)](_0x428a16[_0x378929(0x21e)],_0x9a0163[_0x378929(0x1e4)](0x400,0x400));if(_0x9a0163[_0x378929(0x1e9)](_0x1998ee,0x64)){this[_0x378929(0x1bc)][_0x378929(0x1d6)](util[_0x378929(0x1ea)](_0x9a0163[_0x378929(0x231)],_0x1998ee['toFixed'](0x2)));return;}const _0x157c8b=path[_0x378929(0x20b)](_0x26ebe6),_0xd9f505=path['join'](_0x502988,_0x157c8b);fs[_0x378929(0x1fb)](_0x26ebe6,_0xd9f505),uploadAttachmentsManager['trackFile'](_0xd9f505,_0x5c8e79);}}static[a89_0x106cee(0x1ec)](_0x2c6542,_0x3e7c8e){const _0x2a1ffb=a89_0x106cee,_0x3def99={'SvdUT':function(_0x40648f,_0x7c90ee){return _0x40648f(_0x7c90ee);},'JRNvI':'./browserstackCLI','znopw':function(_0x5c8860,_0x30b423){return _0x5c8860(_0x30b423);},'SJfGy':'./cliUtils','eQGsF':function(_0x1d4e7a,_0x1dbb5c){return _0x1d4e7a===_0x1dbb5c;},'qCLMo':_0x2a1ffb(0x21f),'yGJpD':_0x2a1ffb(0x1f0),'mkwpu':_0x2a1ffb(0x220),'CldCH':'TestLevel','RypCj':_0x2a1ffb(0x1cd),'pjXDz':_0x2a1ffb(0x218),'IZuxm':function(_0xad0b3d,_0x248891){return _0xad0b3d(_0x248891);},'toKXa':_0x2a1ffb(0x1f1),'JAFbT':_0x2a1ffb(0x203),'fvxOB':_0x2a1ffb(0x1c7),'jJOhR':_0x2a1ffb(0x1be)};try{let _0x1570d2;const _0x2c027c=global['__workerDetails']?.[_0x2a1ffb(0x1d0)]?.[_0x2a1ffb(0x1e3)],_0x31f5e7=_0x3def99['SvdUT'](require,_0x3def99[_0x2a1ffb(0x1ca)]),_0x47028f=_0x3def99[_0x2a1ffb(0x207)](require,_0x3def99['SJfGy']),_0x1f9620=_0x31f5e7[_0x2a1ffb(0x1e8)]()[_0x2a1ffb(0x23f)]()&&_0x3def99['eQGsF'](_0x47028f[_0x2a1ffb(0x1f3)]()?.[_0x2a1ffb(0x211)]?.[_0x2a1ffb(0x204)](),_0x3def99[_0x2a1ffb(0x1e6)]);if(_0x1f9620){_0x1570d2=global['__jestCurrentTestIdentifier'];if(!_0x1570d2){const _0xff8d52=AutomationFramework[_0x2a1ffb(0x1dd)]();_0x1570d2=AutomationFramework[_0x2a1ffb(0x1ba)](_0xff8d52,PlaywrightDriverModule[_0x2a1ffb(0x22f)],'');}this['logger'][_0x2a1ffb(0x1d6)]('trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20'+_0x1570d2);}else{if(!_0x2c027c){const _0x15f5e3=AutomationFramework[_0x2a1ffb(0x1dd)]();_0x1570d2=AutomationFramework[_0x2a1ffb(0x1ba)](_0x15f5e3,PlaywrightDriverModule[_0x2a1ffb(0x22f)],'');}else _0x1570d2=TestInfo[_0x2a1ffb(0x202)](_0x2c027c,_0x2c027c[_0x2a1ffb(0x1d8)]);this[_0x2a1ffb(0x1bc)][_0x2a1ffb(0x1d6)](_0x2a1ffb(0x225)+_0x1570d2);}if(!_0x1570d2){this['logger'][_0x2a1ffb(0x1d6)](_0x3def99[_0x2a1ffb(0x232)]);return;}const _0x3a7ba0={[TestFrameworkConstants[_0x2a1ffb(0x1e1)]]:fs[_0x2a1ffb(0x221)](_0x2c6542)[_0x2a1ffb(0x21e)],[TestFrameworkConstants[_0x2a1ffb(0x20e)]]:path[_0x2a1ffb(0x20b)](_0x2c6542),[TestFrameworkConstants[_0x2a1ffb(0x1ed)]]:_0x2c6542,[TestFrameworkConstants[_0x2a1ffb(0x215)]]:_0x3e7c8e?_0x3def99[_0x2a1ffb(0x223)]:_0x3def99['CldCH']};if(_0x1f9620){const _0x17dd7b=_0x31f5e7[_0x2a1ffb(0x1e8)]()[_0x2a1ffb(0x20f)]();if(!_0x17dd7b){this[_0x2a1ffb(0x1bc)]['debug'](_0x3def99['RypCj']);return;}const _0x32248d=_0x3def99[_0x2a1ffb(0x207)](require,_0x3def99[_0x2a1ffb(0x208)]),_0x29c270=_0x3def99[_0x2a1ffb(0x212)](require,_0x3def99[_0x2a1ffb(0x1c9)]),_0x12dc29=_0x17dd7b['resolveInstance'](_0x32248d['TEST'],_0x29c270[_0x2a1ffb(0x1db)]);if(!_0x12dc29){this[_0x2a1ffb(0x1bc)][_0x2a1ffb(0x1d6)](_0x3def99[_0x2a1ffb(0x1ff)]);return;}const _0x52435b=_0x12dc29['getAllData']()[_0x2a1ffb(0x1d3)](_0x1570d2)||{},_0x13529f=_0x52435b[TestFrameworkConstants[_0x2a1ffb(0x1c6)]]||{},_0x171492={..._0x13529f};_0x171492[_0x2c6542]=_0x3a7ba0;const _0x1b2013=_0x171492,_0x50bfa3={[TestFrameworkConstants[_0x2a1ffb(0x1c6)]]:_0x1b2013},_0x468d1a={};_0x468d1a[_0x1570d2]=_0x50bfa3,_0x12dc29[_0x2a1ffb(0x1f2)](_0x468d1a),this[_0x2a1ffb(0x1bc)][_0x2a1ffb(0x1d6)](_0x2a1ffb(0x224)+_0x1570d2+_0x2a1ffb(0x21a)+_0x2c6542);}else{const _0x20473a=TestInfo['getTestDetails'](_0x1570d2),_0xa66bac=_0x20473a[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{};_0xa66bac[_0x2c6542]=_0x3a7ba0,_0x20473a[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0xa66bac,TestInfo[_0x2a1ffb(0x1c4)](_0x1570d2,_0x20473a),this[_0x2a1ffb(0x1bc)][_0x2a1ffb(0x1d6)](_0x2a1ffb(0x213)+_0x1570d2+',\x20filepath:\x20'+_0x2c6542);}this['logger'][_0x2a1ffb(0x1d6)](util[_0x2a1ffb(0x1ea)](_0x3def99[_0x2a1ffb(0x1cf)],_0x2c6542));}catch(_0x38558a){this[_0x2a1ffb(0x1bc)][_0x2a1ffb(0x1d6)](util[_0x2a1ffb(0x1ea)](_0x3def99[_0x2a1ffb(0x233)],_0x38558a[_0x2a1ffb(0x1bd)]));}}static[a89_0x106cee(0x236)](){const _0x4cdd1d=a89_0x106cee,_0x4e3456={};_0x4e3456['GHOhD']=_0x4cdd1d(0x22a),_0x4e3456['gdegF']=_0x4cdd1d(0x21b),_0x4e3456['geKBX']=_0x4cdd1d(0x228);const _0x3165f5=_0x4e3456,_0x46dba1=os[_0x4cdd1d(0x1cb)](),_0x283490=path['join'](_0x46dba1,_0x3165f5[_0x4cdd1d(0x239)]);if(!fs[_0x4cdd1d(0x237)](_0x283490))return;const _0x358377=BrowserstackCLI[_0x4cdd1d(0x1e8)]()[_0x4cdd1d(0x1ef)][_0x4cdd1d(0x1fe)]?.['testhubConfig']?.['toObject']()?.[_0x4cdd1d(0x23d)],_0x1ba778=_0x358377?path[_0x4cdd1d(0x1bf)](_0x283490,_0x358377):null;if(!_0x1ba778||!fs[_0x4cdd1d(0x237)](_0x1ba778)){this['logger']['debug'](util[_0x4cdd1d(0x1ea)](_0x3165f5[_0x4cdd1d(0x1da)],_0x358377));return;}const _0x309aba={};_0x309aba[_0x4cdd1d(0x1e5)]=!![],_0x309aba[_0x4cdd1d(0x1d1)]=!![],fs[_0x4cdd1d(0x1ce)](_0x1ba778,_0x309aba),this['logger'][_0x4cdd1d(0x1d6)](util[_0x4cdd1d(0x1ea)](_0x3165f5[_0x4cdd1d(0x21d)]));}}module[a89_0x106cee(0x1e2)]=uploadAttachmentsManager;
@@ -1 +1 @@
1
- const a90_0x274985=a90_0x127d;function a90_0x2ad5(){const _0x4f3663=['finishedAt','pRuAd','AFTER_EACH','hQxdO','testCaseFinished','xdBlM','RPShx','IcvJk','DNXDw','Exception\x20in\x20createHookData:\x20','message','format','ErjtL','ghRsi','bstack','ESDip','hook','xqHmX','nanos','relative','sendTestRunEventForCucumber','fySyH','iMsms','exports','4qMtJtP','pickleStepId','3895614VBzUbS','winstonLogger','DokAW','BJtfc','hpNxB','ugNTH','1859196yMUCbW','WYjTa','filter','getHookRunEventData','timestamp','cucumber','split','2061057BXJQYv','abTNq','find','_gitConfigPath','MvIEC','../../../helpers/logger.js','strip-ansi','sendHook','TsYKQ','examples','32292176BkcMSE','getScenarioExamples','failure_data','failureType','UnhandledError','JxTLG','map','toString','OObmq','result','hookId','_gitConfigured','sourceReference','createHookData','push','oQjYo','tYdfp','astNodeIds','root','dIXqv','Exception\x20in\x20getHookRunEventData:\x20','backtrace','CVIYS','hooks','exception','tmbYT','tags','testStepResult','AjBCs','scenario','jLBjH','uri','dxuqC','kgKKW','every','debug','YvBVl','twfUN','length','createTestFrameworkData','tkFFg','flatMap','mDJsY','tagExpression','path','name','failure_reason','getCucumberHookType','fvhvQ','JJKjK','javascript','children','5622778CgVlSA','join','NUstS','failed','forEach','mGDVq','4551730jSyhDr','toISOString','getHookResult','cells','539049BWKfrF','PSaBo','BEFORE_EACH','value','finished_at','AssertionError','yzAil','configureGit','toLowerCase','feature','duration_in_ms','rule','failure','testStepFinished','uuid','unknown','gsgsF','kIqbK','CpoiC','TpcWH','XFoIP','tableBody','FAILED','match','status','test','failure_type'];a90_0x2ad5=function(){return _0x4f3663;};return a90_0x2ad5();}(function(_0x4883fc,_0x4e4226){const _0x545bdc=a90_0x127d,_0x12fac6=_0x4883fc();while(!![]){try{const _0x475ec9=parseInt(_0x545bdc(0xcd))/0x1+-parseInt(_0x545bdc(0x108))/0x2+-parseInt(_0x545bdc(0x10f))/0x3+parseInt(_0x545bdc(0x100))/0x4*(-parseInt(_0x545bdc(0xc9))/0x5)+-parseInt(_0x545bdc(0x102))/0x6+-parseInt(_0x545bdc(0xc3))/0x7+parseInt(_0x545bdc(0x119))/0x8;if(_0x475ec9===_0x4e4226)break;else _0x12fac6['push'](_0x12fac6['shift']());}catch(_0x54c8a7){_0x12fac6['push'](_0x12fac6['shift']());}}}(a90_0x2ad5,0x91875));const path=require(a90_0x274985(0x145)),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require(a90_0x274985(0x114))[a90_0x274985(0x103)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require('../TestInfo.js'),hooksMap={};class CucumberUtils{constructor(){const _0x31761a=a90_0x274985;this[_0x31761a(0x124)]=![],this[_0x31761a(0x112)]=null;}async['createTestFrameworkData'](_0x3f62c2,_0x41f392,_0x1a7630,_0x52cdd9,_0x18c439,_0x78ff85){const _0x59563f=a90_0x274985,_0x1821a0={'RPShx':function(_0x12a74b,_0x2ab89d){return _0x12a74b===_0x2ab89d;},'mGDVq':_0x59563f(0xe3),'abTNq':'failed','kgKKW':'SKIPPED','AQSoC':'skipped','yzAil':function(_0x2e932d,_0xb41d3d){return _0x2e932d||_0xb41d3d;},'WYjTa':function(_0x43336d,_0x1e4e0c){return _0x43336d+_0x1e4e0c;},'ugNTH':_0x59563f(0xe6),'tYdfp':_0x59563f(0x14b),'PSaBo':_0x59563f(0x10d),'XFoIP':'pending','GipjO':'passed','CVIYS':function(_0x2ef38a,_0x19e249){return _0x2ef38a!==_0x19e249;},'DgMiu':function(_0x935a62,_0x23b3b5){return _0x935a62/_0x23b3b5;},'BJtfc':_0x59563f(0x115),'DokAW':function(_0x465400,_0x3dff09){return _0x465400(_0x3dff09);},'gsgsF':_0x59563f(0xdc),'SMXGJ':'AssertionError','NUstS':_0x59563f(0x11d)},{feature:_0x5ba3b0,scenario:_0x1b1311,steps:_0x22b5d7,uuid:_0x367a1c,startedAt:_0x3adfbf,finishedAt:_0x3731b7}=_0x1821a0[_0x59563f(0xd3)](_0x3f62c2,{}),_0x121fd7=this[_0x59563f(0x11a)](_0x52cdd9,_0x41f392);await this[_0x59563f(0xd4)]();const _0x241ab6=_0x121fd7?_0x1821a0['WYjTa'](_0x1821a0[_0x59563f(0x109)](_0x1821a0[_0x59563f(0x109)](_0x41f392[_0x59563f(0x146)],'\x20('),_0x121fd7[_0x59563f(0xc4)](',\x20')),')'):_0x41f392[_0x59563f(0x146)],_0x532491={'id':_0x18c439,'uuid':_0x18c439,'startedAt':_0x3adfbf,'finishedAt':_0x3731b7,'type':_0x1821a0[_0x59563f(0x107)],'body':{'lang':_0x1821a0[_0x59563f(0x129)],'code':null},'name':_0x241ab6,'scopes':[_0x5ba3b0&&_0x5ba3b0[_0x59563f(0x146)]?_0x5ba3b0[_0x59563f(0x146)]:''],'tags':_0x41f392[_0x59563f(0x133)]?_0x41f392[_0x59563f(0x133)]['map'](({name:_0x5d961a})=>_0x5d961a):[],'file_name':_0x41f392[_0x59563f(0x138)],'location':_0x41f392[_0x59563f(0x138)],'vc_filepath':this[_0x59563f(0x112)]&&_0x41f392[_0x59563f(0x138)]?path[_0x59563f(0xfb)](this['_gitConfigPath'],_0x41f392['uri']):null,'framework':_0x1821a0[_0x59563f(0xce)],'result':_0x1821a0[_0x59563f(0xe1)],'meta':{'feature':_0x5ba3b0,'scenario':_0x1b1311,'steps':_0x22b5d7,'examples':_0x121fd7},'customRerunParam':{'rerun_name':_0x241ab6}};if(_0x1a7630[_0x59563f(0xec)]&&_0x22b5d7){const _0x1a6c09=_0x1a7630['testCaseFinished'];let _0x48fc12=_0x1821a0['GipjO'];_0x22b5d7[_0x59563f(0x13b)](_0x3665f5=>{const _0x3fbbc0=_0x59563f;if(_0x1821a0[_0x3fbbc0(0xee)](_0x3665f5[_0x3fbbc0(0x122)],_0x1821a0[_0x3fbbc0(0xc8)]))return _0x48fc12=_0x1821a0[_0x3fbbc0(0x110)],_0x1a6c09[_0x3fbbc0(0xd9)]=_0x3665f5[_0x3fbbc0(0xd9)],_0x1a6c09[_0x3fbbc0(0x11c)]=_0x3665f5[_0x3fbbc0(0x11c)],![];else{if(_0x1821a0[_0x3fbbc0(0xee)](_0x3665f5[_0x3fbbc0(0x122)],_0x1821a0[_0x3fbbc0(0x13a)]))return _0x48fc12=_0x1821a0['AQSoC'],![];}return!![];}),_0x532491[_0x59563f(0xe8)]=new Date()[_0x59563f(0xca)](),_0x532491[_0x59563f(0x122)]=_0x48fc12;_0x1a6c09[_0x59563f(0x10c)]&&_0x1821a0[_0x59563f(0x12f)](_0x1a6c09[_0x59563f(0x10c)][_0x59563f(0xfa)],undefined)?_0x532491[_0x59563f(0xd7)]=_0x1821a0['DgMiu'](_0x1a6c09[_0x59563f(0x10c)][_0x59563f(0xfa)],0xf4240):_0x532491['duration_in_ms']=undefined;if(_0x1821a0['RPShx'](_0x48fc12,_0x1821a0['abTNq'])){const {default:_0x3c8663}=await import(_0x1821a0[_0x59563f(0x105)]);_0x532491[_0x59563f(0xd9)]=[{'backtrace':[_0x1a6c09[_0x59563f(0xd9)]?_0x1821a0[_0x59563f(0x104)](_0x3c8663,_0x1a6c09[_0x59563f(0xd9)]):_0x1821a0[_0x59563f(0xdd)]]}],_0x532491[_0x59563f(0x147)]=_0x1a6c09[_0x59563f(0xd9)]?_0x1821a0[_0x59563f(0x104)](_0x3c8663,_0x1a6c09[_0x59563f(0xd9)]):_0x1a6c09[_0x59563f(0xf2)],_0x1a6c09[_0x59563f(0x11c)]&&(_0x532491['failure_type']=_0x1a6c09[_0x59563f(0x11c)][_0x59563f(0xe4)](/AssertError/)?_0x1821a0['SMXGJ']:_0x1821a0[_0x59563f(0xc5)]);}}return _0x532491;}[a90_0x274985(0x10b)](_0x47bfc7,_0x59a024,_0x4d6138,_0x34d126,_0x17f151,_0x559f16){const _0x31d55f=a90_0x274985,_0x41f94c={'JJKjK':function(_0x19bb5b,_0x3dd3ab){return _0x19bb5b===_0x3dd3ab;},'hQxdO':'HookRunFinished','cXUqy':function(_0x59e85d,_0x1da3e6,_0x36bed1){return _0x59e85d(_0x1da3e6,_0x36bed1);},'ErjtL':_0x31d55f(0x125),'xdBlM':'uri','tkFFg':'pending','DNXDw':_0x31d55f(0xf8),'dIXqv':'javascript','IcvJk':function(_0x402112,_0x2581e0,_0x4f59e2){return _0x402112(_0x2581e0,_0x4f59e2);},'dxuqC':_0x31d55f(0xd6),'TsYKQ':_0x31d55f(0x146),'fySyH':'cucumber'};try{if(_0x41f94c[_0x31d55f(0x14a)](_0x4d6138,_0x41f94c[_0x31d55f(0xeb)])){const _0x407f98=new Date()[_0x31d55f(0xca)](),_0x127d73=hooksMap[_0x59a024];if(!_0x127d73)return;const _0x343262=_0x127d73[_0x31d55f(0x111)](_0x4d0a8d=>_0x4d0a8d[_0x31d55f(0xdb)]===_0x34d126['id']);if(!_0x343262)return;const _0x1e47e2=this[_0x31d55f(0xcb)](_0x47bfc7,_0x59a024);_0x343262[_0x31d55f(0x122)]=_0x1e47e2[_0x31d55f(0xe5)],_0x343262[_0x31d55f(0xd1)]=_0x407f98,_0x343262[_0x31d55f(0xe7)]=_0x1e47e2[_0x31d55f(0x11c)];const _0x373e25={};return _0x373e25[_0x31d55f(0x12e)]=_0x1e47e2['failureData'],_0x343262[_0x31d55f(0x11b)]=[_0x373e25],_0x343262;}const _0x55f2d0=TestInfo['getTestUUID'](_0x59a024),_0x5bc0f2=_0x47bfc7[_0x31d55f(0x130)][_0x31d55f(0x111)](_0x151106=>_0x151106['id']===_0x34d126['hookId']),_0x59fb16=_0x41f94c['cXUqy'](nestedKeyValue,_0x5bc0f2,[_0x41f94c[_0x31d55f(0xf4)],_0x41f94c[_0x31d55f(0xed)]]),_0x2c3b62=new Date()[_0x31d55f(0xca)](),_0x4a2d10=_0x41f94c[_0x31d55f(0x141)],_0xa86293=_0x5bc0f2[_0x31d55f(0x144)]?_0x5bc0f2[_0x31d55f(0x144)][_0x31d55f(0x10e)]('\x20')[_0x31d55f(0x10a)](_0x59a3f0=>_0x59a3f0['includes']('@')):[],_0x261a64={'uuid':_0x34d126['id'],'type':_0x41f94c[_0x31d55f(0xf0)],'hook_type':_0x559f16,'name':_0x5bc0f2[_0x31d55f(0x146)],'body':{'lang':_0x41f94c[_0x31d55f(0x12c)],'code':null},'tags':_0xa86293,'test_run_id':_0x55f2d0,'scope':_0x41f94c[_0x31d55f(0xef)](nestedKeyValue,_0x17f151,[_0x41f94c['dxuqC'],_0x41f94c[_0x31d55f(0x117)]]),'scopes':[_0x41f94c[_0x31d55f(0xef)](nestedKeyValue,_0x17f151,[_0x41f94c[_0x31d55f(0x139)],_0x41f94c['TsYKQ']])||''],'file_name':_0x59fb16,'location':_0x59fb16,'vc_filepath':this[_0x31d55f(0x112)]?path[_0x31d55f(0xfb)](this[_0x31d55f(0x112)],_0x59fb16):null,'result':_0x4a2d10,'started_at':_0x2c3b62,'framework':_0x41f94c[_0x31d55f(0xfd)]};return _0x261a64;}catch(_0x1d1855){logger[_0x31d55f(0x13c)](_0x31d55f(0x12d)+util[_0x31d55f(0xf3)](_0x1d1855)+'\x20');}}async[a90_0x274985(0x126)](_0x968d6b,_0x2a560b,_0x168987,_0x5d0b77,_0x13c627,_0x3d8bc7){const _0x1e8b0c=a90_0x274985,_0x2e4d12={'MvIEC':function(_0x54185a,_0x1d265c){return _0x54185a===_0x1d265c;},'ESDip':'HookRunStarted','SRjZL':function(_0x34edbc,_0x25ab21,_0x343c76){return _0x34edbc(_0x25ab21,_0x343c76);},'twfUN':'sourceReference','hpNxB':_0x1e8b0c(0x138),'xqHmX':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','kIqbK':function(_0x1133d7,_0x361fee){return _0x1133d7===_0x361fee;},'OObmq':_0x1e8b0c(0xf6)};try{const _0x3b88ab=_0x5d0b77['find'](_0x2bb167=>_0x2bb167['id']===_0x13c627);if(!_0x3b88ab[_0x1e8b0c(0x123)])return;const _0x123b98=this['getCucumberHookType'](_0x5d0b77,_0x3b88ab),_0x554c79=this[_0x1e8b0c(0x10b)](_0x968d6b,_0x2a560b,_0x168987,_0x3b88ab,_0x3d8bc7,_0x123b98);if(!_0x554c79)return;_0x2e4d12[_0x1e8b0c(0x113)](_0x168987,_0x2e4d12[_0x1e8b0c(0xf7)])&&(hooksMap[_0x2a560b]?hooksMap[_0x2a560b][_0x1e8b0c(0x127)](_0x554c79):hooksMap[_0x2a560b]=[_0x554c79]);const _0x132ac6=_0x968d6b[_0x1e8b0c(0x130)][_0x1e8b0c(0x111)](_0x3cbf77=>_0x3cbf77['id']===_0x3b88ab[_0x1e8b0c(0x123)]),_0x2fad2e=_0x2e4d12['SRjZL'](nestedKeyValue,_0x132ac6,[_0x2e4d12[_0x1e8b0c(0x13e)],_0x2e4d12[_0x1e8b0c(0x106)]]);if(!_0x2fad2e)return;else{if(_0x2fad2e['includes'](_0x2e4d12[_0x1e8b0c(0xf9)]))return;}if(_0x2e4d12[_0x1e8b0c(0xde)](_0x554c79[_0x1e8b0c(0x146)],_0x2e4d12[_0x1e8b0c(0x121)]))return;return _0x554c79;}catch(_0x6127f){logger[_0x1e8b0c(0x13c)](_0x1e8b0c(0xf1)+util[_0x1e8b0c(0xf3)](_0x6127f)+'\x20');}}['getHookResult'](_0x4336e7,_0x4350fc){const _0x59f9d8=a90_0x274985,_0x3304a7={};_0x3304a7[_0x59f9d8(0x11e)]=function(_0x46c262,_0xc1f06e){return _0x46c262===_0xc1f06e;},_0x3304a7[_0x59f9d8(0x143)]=_0x59f9d8(0xc6),_0x3304a7['TpcWH']=function(_0x34d3c1,_0x4e0d32){return _0x34d3c1===_0x4e0d32;},_0x3304a7['YvBVl']='UnhandledError',_0x3304a7[_0x59f9d8(0xe9)]=_0x59f9d8(0xd2),_0x3304a7['tmbYT']=function(_0x3b1618,_0x1a9f77){return _0x3b1618||_0x1a9f77;};const _0x1e21c2=_0x3304a7,_0x1c0227=_0x4336e7[_0x59f9d8(0xda)][_0x4350fc][_0x59f9d8(0x134)];let _0x2a8a91,_0x54b097;return _0x1c0227&&_0x1e21c2['JxTLG'](_0x1c0227[_0x59f9d8(0xe5)][_0x59f9d8(0x120)]()['toLowerCase'](),_0x1e21c2[_0x59f9d8(0x143)])&&(_0x2a8a91=_0x1e21c2[_0x59f9d8(0xe0)](_0x1c0227['exception'],undefined)?_0x1c0227['message']:_0x1c0227['exception'][_0x59f9d8(0xf2)],_0x54b097=_0x1e21c2[_0x59f9d8(0x11e)](_0x1c0227[_0x59f9d8(0x131)],undefined)?_0x1e21c2[_0x59f9d8(0x13d)]:_0x1c0227[_0x59f9d8(0xf2)][_0x59f9d8(0xe4)](/Assert/)?_0x1e21c2[_0x59f9d8(0xe9)]:_0x1e21c2[_0x59f9d8(0x13d)]),{'status':_0x1c0227[_0x59f9d8(0xe5)][_0x59f9d8(0xd5)](),'failureType':_0x1e21c2[_0x59f9d8(0x132)](_0x54b097,null),'failureData':!_0x2a8a91?null:[_0x2a8a91]};}['getCucumberHookType'](_0x2f8502,_0x382080){const _0x212b52=a90_0x274985,_0x266a92={};_0x266a92['jLBjH']=function(_0x55db75,_0x176526){return _0x55db75===_0x176526;},_0x266a92[_0x212b52(0x128)]=_0x212b52(0xea),_0x266a92[_0x212b52(0x135)]=_0x212b52(0xcf);const _0x8f1879=_0x266a92;let _0x173bdc=![];for(const _0xc6588a of _0x2f8502){_0xc6588a[_0x212b52(0x101)]&&(_0x173bdc=!![]);if(_0x8f1879[_0x212b52(0x137)](_0x382080['id'],_0xc6588a['id']))return _0x173bdc?_0x8f1879['oQjYo']:_0x8f1879[_0x212b52(0x135)];}}[a90_0x274985(0x11a)]=(_0x464556,_0x3bf7fd)=>{const _0x193ede=a90_0x274985,_0x492077={};_0x492077[_0x193ede(0xf5)]=function(_0x281f3c,_0xfcb797){return _0x281f3c===_0xfcb797;},_0x492077[_0x193ede(0xfe)]=function(_0x24301f,_0x234b77){return _0x24301f>_0x234b77;};const _0x3c10a4=_0x492077;if(!(_0x3bf7fd[_0x193ede(0x12a)]&&_0x3c10a4[_0x193ede(0xfe)](_0x3bf7fd[_0x193ede(0x12a)]['length'],0x1)))return;const _0x42c1e0=_0x3bf7fd[_0x193ede(0x12a)][0x0],_0x1d5270=_0x3bf7fd[_0x193ede(0x12a)][0x1],_0x36cb62=_0x464556['feature']&&_0x464556[_0x193ede(0xd6)][_0x193ede(0x14c)]?_0x464556[_0x193ede(0xd6)][_0x193ede(0x14c)]:undefined;let _0x5aecb7=[];_0x36cb62&&_0x36cb62[_0x193ede(0xc7)](_0x1d9e86=>{const _0x481306=_0x193ede,_0x43ea7f={'CpoiC':function(_0x525d2c,_0x269e0c){const _0x349d05=a90_0x127d;return _0x3c10a4[_0x349d05(0xf5)](_0x525d2c,_0x269e0c);}};if(_0x1d9e86['rule'])_0x1d9e86[_0x481306(0xd8)][_0x481306(0x14c)]['forEach'](_0x46bd86=>{const _0x3efdbe=_0x481306;if(_0x46bd86['scenario']&&_0x43ea7f[_0x3efdbe(0xdf)](_0x46bd86[_0x3efdbe(0x136)]['id'],_0x42c1e0)&&_0x46bd86[_0x3efdbe(0x136)]['examples']){const _0x1950e6=_0x46bd86[_0x3efdbe(0x136)][_0x3efdbe(0x118)][_0x3efdbe(0x142)](_0x15a149=>_0x15a149[_0x3efdbe(0xe2)])[_0x3efdbe(0x111)](_0x19bbb2=>_0x19bbb2['id']===_0x1d5270);let _0x5cf3f2;_0x1950e6&&_0x1950e6[_0x3efdbe(0xcc)]?_0x5cf3f2=_0x1950e6[_0x3efdbe(0xcc)][_0x3efdbe(0x11f)](_0x12eb2e=>_0x12eb2e['value']):_0x5cf3f2=[],_0x5cf3f2&&(_0x5aecb7=_0x5cf3f2);}});else{if(_0x1d9e86['scenario']&&_0x3c10a4[_0x481306(0xf5)](_0x1d9e86[_0x481306(0x136)]['id'],_0x42c1e0)&&_0x1d9e86[_0x481306(0x136)]['examples']){const _0x388859=_0x1d9e86[_0x481306(0x136)][_0x481306(0x118)]['flatMap'](_0x55f967=>_0x55f967[_0x481306(0xe2)])[_0x481306(0x111)](_0x4a72e2=>_0x4a72e2['id']===_0x1d5270);let _0x213740;_0x388859&&_0x388859['cells']?_0x213740=_0x388859['cells'][_0x481306(0x11f)](_0x49ccb0=>_0x49ccb0[_0x481306(0xd0)]):_0x213740=[],_0x213740&&(_0x5aecb7=_0x213740);}}});if(_0x5aecb7[_0x193ede(0x13f)])return _0x5aecb7;return;};async[a90_0x274985(0xd4)](){const _0x4e58db=a90_0x274985,_0x468db2={'fvhvQ':function(_0x9fa0e1){return _0x9fa0e1();}};if(this[_0x4e58db(0x124)])return this[_0x4e58db(0x112)];const _0x204e4b=await _0x468db2[_0x4e58db(0x149)](getGitMetaData);_0x204e4b&&(this[_0x4e58db(0x112)]=_0x204e4b[_0x4e58db(0x12b)]),this[_0x4e58db(0x124)]=!![];}}function a90_0x127d(_0x2a1b5a,_0x3195c7){const _0x2ad5db=a90_0x2ad5();return a90_0x127d=function(_0x127d6d,_0x125610){_0x127d6d=_0x127d6d-0xc3;let _0x4d8570=_0x2ad5db[_0x127d6d];return _0x4d8570;},a90_0x127d(_0x2a1b5a,_0x3195c7);}module[a90_0x274985(0xff)]=o11yClassErrorHandler(CucumberUtils,[a90_0x274985(0xd4),'getScenarioExamples',a90_0x274985(0x148),a90_0x274985(0xcb),a90_0x274985(0x116),a90_0x274985(0x10b),a90_0x274985(0xfc),a90_0x274985(0x140)]);
1
+ const a90_0x4242a8=a90_0xc54e;function a90_0x3b23(){const _0x421b1a=['ikkGq','EDLQP','feature','split','getCucumberHookType','Exception\x20in\x20getHookRunEventData:\x20','UnhandledError','rexkT','sourceReference','jEEgX','toString','RdFQl','aAotq','10xxeYLR','Lyvot','map','createTestFrameworkData','qtmMc','unknown','duration_in_ms','pickleStepId','AFTER_EACH','failure_type','test','configureGit','getScenarioExamples','YynVM','toISOString','Jljcd','gtawT','exception','148620xRoHuC','getHookResult','javascript','OjoqK','examples','lBvOb','VjPBx','FAILED','failure','name','strip-ansi','failure_data','pending','sendTestRunEventForCucumber','failure_reason','oUFLt','usflA','getTestUUID','uuid','flatMap','skLGz','21422sbltLM','73076IGUBZV','push','toLowerCase','LCMDN','exports','ApqCp','HXGkK','IoDBq','forEach','children','rule','2397546SIxePE','6bCXzIR','astNodeIds','sendHook','passed','pZFRL','lBeUv','dpNdK','GvqsG','172128tdqIKH','hookId','sjIsW','rmZHI','CNZXF','finishedAt','HookRunStarted','failureType','debug','LZnfs','77Rxeytd','DkYSx','mUphC','format','nanos','lfGpl','root','30keavZF','tOaMM','Exception\x20in\x20createHookData:\x20','testStepFinished','winstonLogger','scenario','../../../helpers/helper.js','message','createHookData','LVzmc','getHookRunEventData','testCaseFinished','relative','OrCkq','../TestInfo.js','tagExpression','CHogD','beAzX','match','AaeJt','OmpwS','_gitConfigPath','filter','cells','every','AssertionError','tableBody','path','status','SKIPPED','213423ypeisM','timestamp','join','find','lztKd','bnuOi','tags','eEgzh','includes','value','uri','133570oREDQf','failed','CJLDt','48nqHFqf','BEFORE_EACH','../../../helpers/logger.js','testStepResult','cucumber','hooks','oBtdr','result','HBmCM','EDVVC','skipped','_gitConfigured','length','bLafL'];a90_0x3b23=function(){return _0x421b1a;};return a90_0x3b23();}(function(_0x28a6d2,_0x32a09a){const _0x38baf1=a90_0xc54e,_0x325701=_0x28a6d2();while(!![]){try{const _0x2bfd10=-parseInt(_0x38baf1(0x1aa))/0x1+-parseInt(_0x38baf1(0x15b))/0x2*(parseInt(_0x38baf1(0x1ad))/0x3)+-parseInt(_0x38baf1(0x15c))/0x4*(-parseInt(_0x38baf1(0x181))/0x5)+parseInt(_0x38baf1(0x168))/0x6*(parseInt(_0x38baf1(0x19f))/0x7)+-parseInt(_0x38baf1(0x170))/0x8+parseInt(_0x38baf1(0x167))/0x9*(parseInt(_0x38baf1(0x1c8))/0xa)+-parseInt(_0x38baf1(0x17a))/0xb*(-parseInt(_0x38baf1(0x1da))/0xc);if(_0x2bfd10===_0x32a09a)break;else _0x325701['push'](_0x325701['shift']());}catch(_0x46cb62){_0x325701['push'](_0x325701['shift']());}}}(a90_0x3b23,0x28b4a));const path=require(a90_0x4242a8(0x19c)),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a90_0x4242a8(0x187)),logger=require(a90_0x4242a8(0x1af))[a90_0x4242a8(0x185)],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a90_0x4242a8(0x18f)),hooksMap={};class CucumberUtils{constructor(){const _0x53c428=a90_0x4242a8;this[_0x53c428(0x1b8)]=![],this[_0x53c428(0x196)]=null;}async[a90_0x4242a8(0x1cb)](_0x3542b1,_0x2d21a4,_0x27807,_0x5348c7,_0x429f0a,_0xc7c090){const _0x487f5d=a90_0x4242a8,_0x2ac8f6={'lztKd':function(_0x160e2c,_0x189fdc){return _0x160e2c===_0x189fdc;},'wfEee':_0x487f5d(0x14d),'GvqsG':_0x487f5d(0x1ab),'Lyvot':_0x487f5d(0x19e),'LZnfs':_0x487f5d(0x1b7),'IoDBq':function(_0x3203bd,_0x2efd7a){return _0x3203bd||_0x2efd7a;},'AaeJt':function(_0x395b83,_0x41284e){return _0x395b83+_0x41284e;},'aAotq':function(_0x11f4b0,_0x1ba671){return _0x11f4b0+_0x1ba671;},'EDLQP':_0x487f5d(0x1d2),'YiKGr':'javascript','gtawT':_0x487f5d(0x1b1),'mUphC':'pending','sjIsW':_0x487f5d(0x16b),'jEEgX':function(_0x481d5d,_0x36407e){return _0x481d5d!==_0x36407e;},'AFZNj':function(_0x438db3,_0x5daedb){return _0x438db3/_0x5daedb;},'qDaIh':_0x487f5d(0x150),'lBeUv':function(_0x1698b4,_0x2560f8){return _0x1698b4(_0x2560f8);},'lBvOb':_0x487f5d(0x1cd),'dpNdK':'AssertionError','Jljcd':_0x487f5d(0x1c1)},{feature:_0x46f848,scenario:_0x5c9add,steps:_0x20fd66,uuid:_0x3960c7,startedAt:_0x50d04a,finishedAt:_0x4f5c7f}=_0x2ac8f6[_0x487f5d(0x163)](_0x3542b1,{}),_0x54b28e=this['getScenarioExamples'](_0x5348c7,_0x2d21a4);await this['configureGit']();const _0x2f9337=_0x54b28e?_0x2ac8f6['AaeJt'](_0x2ac8f6[_0x487f5d(0x194)](_0x2ac8f6[_0x487f5d(0x1c7)](_0x2d21a4[_0x487f5d(0x14f)],'\x20('),_0x54b28e[_0x487f5d(0x1a1)](',\x20')),')'):_0x2d21a4[_0x487f5d(0x14f)],_0x1bc911={'id':_0x429f0a,'uuid':_0x429f0a,'startedAt':_0x50d04a,'finishedAt':_0x4f5c7f,'type':_0x2ac8f6[_0x487f5d(0x1bc)],'body':{'lang':_0x2ac8f6['YiKGr'],'code':null},'name':_0x2f9337,'scopes':[_0x46f848&&_0x46f848['name']?_0x46f848['name']:''],'tags':_0x2d21a4[_0x487f5d(0x1a5)]?_0x2d21a4[_0x487f5d(0x1a5)][_0x487f5d(0x1ca)](({name:_0x4c2ef7})=>_0x4c2ef7):[],'file_name':_0x2d21a4[_0x487f5d(0x1a9)],'location':_0x2d21a4[_0x487f5d(0x1a9)],'vc_filepath':this['_gitConfigPath']&&_0x2d21a4[_0x487f5d(0x1a9)]?path[_0x487f5d(0x18d)](this[_0x487f5d(0x196)],_0x2d21a4[_0x487f5d(0x1a9)]):null,'framework':_0x2ac8f6[_0x487f5d(0x1d8)],'result':_0x2ac8f6[_0x487f5d(0x17c)],'meta':{'feature':_0x46f848,'scenario':_0x5c9add,'steps':_0x20fd66,'examples':_0x54b28e},'customRerunParam':{'rerun_name':_0x2f9337}};if(_0x27807[_0x487f5d(0x18c)]&&_0x20fd66){const _0x2424bb=_0x27807[_0x487f5d(0x18c)];let _0x590043=_0x2ac8f6[_0x487f5d(0x172)];_0x20fd66[_0x487f5d(0x199)](_0x4d9ec4=>{const _0x55d21f=_0x487f5d;if(_0x2ac8f6[_0x55d21f(0x1a3)](_0x4d9ec4[_0x55d21f(0x1b4)],_0x2ac8f6['wfEee']))return _0x590043=_0x2ac8f6[_0x55d21f(0x16f)],_0x2424bb[_0x55d21f(0x14e)]=_0x4d9ec4['failure'],_0x2424bb[_0x55d21f(0x177)]=_0x4d9ec4['failureType'],![];else{if(_0x2ac8f6[_0x55d21f(0x1a3)](_0x4d9ec4[_0x55d21f(0x1b4)],_0x2ac8f6[_0x55d21f(0x1c9)]))return _0x590043=_0x2ac8f6[_0x55d21f(0x179)],![];}return!![];}),_0x1bc911[_0x487f5d(0x175)]=new Date()['toISOString'](),_0x1bc911[_0x487f5d(0x1b4)]=_0x590043;_0x2424bb[_0x487f5d(0x1a0)]&&_0x2ac8f6[_0x487f5d(0x1c4)](_0x2424bb['timestamp']['nanos'],undefined)?_0x1bc911[_0x487f5d(0x1ce)]=_0x2ac8f6['AFZNj'](_0x2424bb[_0x487f5d(0x1a0)][_0x487f5d(0x17e)],0xf4240):_0x1bc911[_0x487f5d(0x1ce)]=undefined;if(_0x2ac8f6[_0x487f5d(0x1a3)](_0x590043,_0x2ac8f6[_0x487f5d(0x16f)])){const {default:_0x44d898}=await import(_0x2ac8f6['qDaIh']);_0x1bc911[_0x487f5d(0x14e)]=[{'backtrace':[_0x2424bb[_0x487f5d(0x14e)]?_0x2ac8f6[_0x487f5d(0x16d)](_0x44d898,_0x2424bb[_0x487f5d(0x14e)]):_0x2ac8f6[_0x487f5d(0x14b)]]}],_0x1bc911[_0x487f5d(0x154)]=_0x2424bb[_0x487f5d(0x14e)]?_0x2ac8f6[_0x487f5d(0x16d)](_0x44d898,_0x2424bb[_0x487f5d(0x14e)]):_0x2424bb['message'],_0x2424bb[_0x487f5d(0x177)]&&(_0x1bc911[_0x487f5d(0x1d1)]=_0x2424bb['failureType'][_0x487f5d(0x193)](/AssertError/)?_0x2ac8f6[_0x487f5d(0x16e)]:_0x2ac8f6[_0x487f5d(0x1d7)]);}}return _0x1bc911;}[a90_0x4242a8(0x18b)](_0x4973f9,_0x2c194b,_0x23b7e2,_0x39c374,_0x4d75a4,_0x5e9d85){const _0x2d6c5b=a90_0x4242a8,_0xa0eee9={'CJLDt':function(_0x307342,_0xcfe97a){return _0x307342===_0xcfe97a;},'oBtdr':'HookRunFinished','lfGpl':function(_0xc76458,_0x884354,_0x863b27){return _0xc76458(_0x884354,_0x863b27);},'xCicI':_0x2d6c5b(0x1c3),'bLafL':_0x2d6c5b(0x1a9),'pZFRL':_0x2d6c5b(0x152),'bnuOi':'hook','LVzmc':_0x2d6c5b(0x1dc),'OmpwS':function(_0x1d1c3c,_0x11523c,_0x5a8a43){return _0x1d1c3c(_0x11523c,_0x5a8a43);},'LCMDN':_0x2d6c5b(0x1bd),'ikkGq':_0x2d6c5b(0x14f),'rmZHI':function(_0x4ae2df,_0x574e1f,_0x2aed54){return _0x4ae2df(_0x574e1f,_0x2aed54);},'ApqCp':_0x2d6c5b(0x1b1)};try{if(_0xa0eee9[_0x2d6c5b(0x1ac)](_0x23b7e2,_0xa0eee9[_0x2d6c5b(0x1b3)])){const _0x330e7e=new Date()[_0x2d6c5b(0x1d6)](),_0x6a142a=hooksMap[_0x2c194b];if(!_0x6a142a)return;const _0x4e0f3d=_0x6a142a[_0x2d6c5b(0x1a2)](_0x4331c9=>_0x4331c9[_0x2d6c5b(0x158)]===_0x39c374['id']);if(!_0x4e0f3d)return;const _0x1b31cf=this[_0x2d6c5b(0x1db)](_0x4973f9,_0x2c194b);_0x4e0f3d[_0x2d6c5b(0x1b4)]=_0x1b31cf[_0x2d6c5b(0x19d)],_0x4e0f3d['finished_at']=_0x330e7e,_0x4e0f3d[_0x2d6c5b(0x1d1)]=_0x1b31cf[_0x2d6c5b(0x177)];const _0x5d75f6={};return _0x5d75f6['backtrace']=_0x1b31cf['failureData'],_0x4e0f3d[_0x2d6c5b(0x151)]=[_0x5d75f6],_0x4e0f3d;}const _0x5b27b5=TestInfo[_0x2d6c5b(0x157)](_0x2c194b),_0x33926d=_0x4973f9[_0x2d6c5b(0x1b2)][_0x2d6c5b(0x1a2)](_0x102abd=>_0x102abd['id']===_0x39c374[_0x2d6c5b(0x171)]),_0x1d710e=_0xa0eee9[_0x2d6c5b(0x17f)](nestedKeyValue,_0x33926d,[_0xa0eee9['xCicI'],_0xa0eee9[_0x2d6c5b(0x1ba)]]),_0x466d75=new Date()[_0x2d6c5b(0x1d6)](),_0x1cf8c9=_0xa0eee9[_0x2d6c5b(0x16c)],_0x32ff43=_0x33926d[_0x2d6c5b(0x190)]?_0x33926d['tagExpression'][_0x2d6c5b(0x1be)]('\x20')[_0x2d6c5b(0x197)](_0x49d4e2=>_0x49d4e2[_0x2d6c5b(0x1a7)]('@')):[],_0x1a3225={'uuid':_0x39c374['id'],'type':_0xa0eee9[_0x2d6c5b(0x1a4)],'hook_type':_0x5e9d85,'name':_0x33926d[_0x2d6c5b(0x14f)],'body':{'lang':_0xa0eee9[_0x2d6c5b(0x18a)],'code':null},'tags':_0x32ff43,'test_run_id':_0x5b27b5,'scope':_0xa0eee9[_0x2d6c5b(0x195)](nestedKeyValue,_0x4d75a4,[_0xa0eee9['LCMDN'],_0xa0eee9[_0x2d6c5b(0x1bb)]]),'scopes':[_0xa0eee9[_0x2d6c5b(0x173)](nestedKeyValue,_0x4d75a4,[_0xa0eee9[_0x2d6c5b(0x15f)],_0xa0eee9[_0x2d6c5b(0x1bb)]])||''],'file_name':_0x1d710e,'location':_0x1d710e,'vc_filepath':this['_gitConfigPath']?path['relative'](this[_0x2d6c5b(0x196)],_0x1d710e):null,'result':_0x1cf8c9,'started_at':_0x466d75,'framework':_0xa0eee9[_0x2d6c5b(0x161)]};return _0x1a3225;}catch(_0x2e1661){logger[_0x2d6c5b(0x178)](_0x2d6c5b(0x1c0)+util[_0x2d6c5b(0x17d)](_0x2e1661)+'\x20');}}async[a90_0x4242a8(0x189)](_0x35b2a1,_0x1d15ed,_0x5424b0,_0x428100,_0x69ebaf,_0x3e763b){const _0x5a9250=a90_0x4242a8,_0x247813={'skLGz':function(_0x4843ff,_0x2a8ca6){return _0x4843ff===_0x2a8ca6;},'tOaMM':_0x5a9250(0x176),'RdFQl':function(_0x575322,_0x124b5d,_0x54818c){return _0x575322(_0x124b5d,_0x54818c);},'OrCkq':_0x5a9250(0x1c3),'fPgso':_0x5a9250(0x1a9),'rexkT':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js','eEgzh':function(_0x10b0f9,_0x4f0345){return _0x10b0f9===_0x4f0345;},'usflA':'bstack'};try{const _0x4cca39=_0x428100[_0x5a9250(0x1a2)](_0x4592b8=>_0x4592b8['id']===_0x69ebaf);if(!_0x4cca39[_0x5a9250(0x171)])return;const _0x55bfc4=this['getCucumberHookType'](_0x428100,_0x4cca39),_0x4efda1=this[_0x5a9250(0x18b)](_0x35b2a1,_0x1d15ed,_0x5424b0,_0x4cca39,_0x3e763b,_0x55bfc4);if(!_0x4efda1)return;_0x247813[_0x5a9250(0x15a)](_0x5424b0,_0x247813[_0x5a9250(0x182)])&&(hooksMap[_0x1d15ed]?hooksMap[_0x1d15ed][_0x5a9250(0x15d)](_0x4efda1):hooksMap[_0x1d15ed]=[_0x4efda1]);const _0x242e87=_0x35b2a1[_0x5a9250(0x1b2)][_0x5a9250(0x1a2)](_0x2793bc=>_0x2793bc['id']===_0x4cca39['hookId']),_0x21f066=_0x247813[_0x5a9250(0x1c6)](nestedKeyValue,_0x242e87,[_0x247813[_0x5a9250(0x18e)],_0x247813['fPgso']]);if(!_0x21f066)return;else{if(_0x21f066[_0x5a9250(0x1a7)](_0x247813[_0x5a9250(0x1c2)]))return;}if(_0x247813[_0x5a9250(0x1a6)](_0x4efda1[_0x5a9250(0x14f)],_0x247813[_0x5a9250(0x156)]))return;return _0x4efda1;}catch(_0x38a055){logger[_0x5a9250(0x178)](_0x5a9250(0x183)+util[_0x5a9250(0x17d)](_0x38a055)+'\x20');}}[a90_0x4242a8(0x1db)](_0x170a3a,_0x110e2a){const _0x314660=a90_0x4242a8,_0x19554d={};_0x19554d[_0x314660(0x155)]=function(_0x6226b,_0x3c2722){return _0x6226b===_0x3c2722;},_0x19554d[_0x314660(0x14c)]='failed',_0x19554d[_0x314660(0x1b5)]=_0x314660(0x1c1),_0x19554d['kuTTA']=_0x314660(0x19a),_0x19554d[_0x314660(0x1d5)]=function(_0x5e69ca,_0x449365){return _0x5e69ca||_0x449365;};const _0x4f8d93=_0x19554d,_0x1654b5=_0x170a3a[_0x314660(0x184)][_0x110e2a][_0x314660(0x1b0)];let _0x569653,_0x1f7b6d;return _0x1654b5&&_0x4f8d93[_0x314660(0x155)](_0x1654b5['status'][_0x314660(0x1c5)]()[_0x314660(0x15e)](),_0x4f8d93['VjPBx'])&&(_0x569653=_0x4f8d93['oUFLt'](_0x1654b5[_0x314660(0x1d9)],undefined)?_0x1654b5[_0x314660(0x188)]:_0x1654b5[_0x314660(0x1d9)][_0x314660(0x188)],_0x1f7b6d=_0x4f8d93[_0x314660(0x155)](_0x1654b5[_0x314660(0x1d9)],undefined)?_0x4f8d93[_0x314660(0x1b5)]:_0x1654b5[_0x314660(0x188)][_0x314660(0x193)](/Assert/)?_0x4f8d93['kuTTA']:_0x4f8d93[_0x314660(0x1b5)]),{'status':_0x1654b5[_0x314660(0x19d)]['toLowerCase'](),'failureType':_0x4f8d93[_0x314660(0x1d5)](_0x1f7b6d,null),'failureData':!_0x569653?null:[_0x569653]};}[a90_0x4242a8(0x1bf)](_0x4de414,_0x13d88a){const _0xb265f0=a90_0x4242a8,_0x3c41bd={};_0x3c41bd[_0xb265f0(0x162)]=function(_0x447c7b,_0x4dc3e3){return _0x447c7b===_0x4dc3e3;},_0x3c41bd[_0xb265f0(0x1cc)]=_0xb265f0(0x1d0),_0x3c41bd[_0xb265f0(0x1b6)]=_0xb265f0(0x1ae);const _0x34eaee=_0x3c41bd;let _0x2de3e6=![];for(const _0x3b495d of _0x4de414){_0x3b495d[_0xb265f0(0x1cf)]&&(_0x2de3e6=!![]);if(_0x34eaee[_0xb265f0(0x162)](_0x13d88a['id'],_0x3b495d['id']))return _0x2de3e6?_0x34eaee[_0xb265f0(0x1cc)]:_0x34eaee[_0xb265f0(0x1b6)];}}[a90_0x4242a8(0x1d4)]=(_0x114b26,_0x1306af)=>{const _0x23ad40=a90_0x4242a8,_0x209aeb={};_0x209aeb[_0x23ad40(0x191)]=function(_0x26c626,_0x472d7b){return _0x26c626===_0x472d7b;},_0x209aeb[_0x23ad40(0x192)]=function(_0x4d5bf5,_0x622c4c){return _0x4d5bf5===_0x622c4c;},_0x209aeb[_0x23ad40(0x149)]=function(_0x315bd2,_0x3a87aa){return _0x315bd2>_0x3a87aa;};const _0x5733e4=_0x209aeb;if(!(_0x1306af[_0x23ad40(0x169)]&&_0x5733e4[_0x23ad40(0x149)](_0x1306af['astNodeIds'][_0x23ad40(0x1b9)],0x1)))return;const _0xb2d270=_0x1306af['astNodeIds'][0x0],_0x348ffb=_0x1306af[_0x23ad40(0x169)][0x1],_0x58aadc=_0x114b26[_0x23ad40(0x1bd)]&&_0x114b26[_0x23ad40(0x1bd)][_0x23ad40(0x165)]?_0x114b26[_0x23ad40(0x1bd)]['children']:undefined;let _0x53df2c=[];_0x58aadc&&_0x58aadc[_0x23ad40(0x164)](_0x531c68=>{const _0x218da2=_0x23ad40,_0x5a067b={'DkYSx':function(_0x113e25,_0x176417){const _0x1d1242=a90_0xc54e;return _0x5733e4[_0x1d1242(0x191)](_0x113e25,_0x176417);}};if(_0x531c68[_0x218da2(0x166)])_0x531c68[_0x218da2(0x166)][_0x218da2(0x165)][_0x218da2(0x164)](_0x3e14e2=>{const _0xad2130=_0x218da2;if(_0x3e14e2[_0xad2130(0x186)]&&_0x5a067b[_0xad2130(0x17b)](_0x3e14e2[_0xad2130(0x186)]['id'],_0xb2d270)&&_0x3e14e2[_0xad2130(0x186)]['examples']){const _0x1d2f9e=_0x3e14e2[_0xad2130(0x186)][_0xad2130(0x14a)][_0xad2130(0x159)](_0x33ccc2=>_0x33ccc2[_0xad2130(0x19b)])['find'](_0x3af7f2=>_0x3af7f2['id']===_0x348ffb);let _0x1169be;_0x1d2f9e&&_0x1d2f9e[_0xad2130(0x198)]?_0x1169be=_0x1d2f9e['cells'][_0xad2130(0x1ca)](_0x34b656=>_0x34b656[_0xad2130(0x1a8)]):_0x1169be=[],_0x1169be&&(_0x53df2c=_0x1169be);}});else{if(_0x531c68['scenario']&&_0x5733e4[_0x218da2(0x192)](_0x531c68[_0x218da2(0x186)]['id'],_0xb2d270)&&_0x531c68[_0x218da2(0x186)][_0x218da2(0x14a)]){const _0x939678=_0x531c68['scenario'][_0x218da2(0x14a)][_0x218da2(0x159)](_0x517ab8=>_0x517ab8['tableBody'])['find'](_0x32bac7=>_0x32bac7['id']===_0x348ffb);let _0x372397;_0x939678&&_0x939678[_0x218da2(0x198)]?_0x372397=_0x939678[_0x218da2(0x198)]['map'](_0x426320=>_0x426320[_0x218da2(0x1a8)]):_0x372397=[],_0x372397&&(_0x53df2c=_0x372397);}}});if(_0x53df2c['length'])return _0x53df2c;return;};async['configureGit'](){const _0xdd3826=a90_0x4242a8,_0x330ac2={'CNZXF':function(_0x31a4d6){return _0x31a4d6();}};if(this[_0xdd3826(0x1b8)])return this[_0xdd3826(0x196)];const _0xd25683=await _0x330ac2[_0xdd3826(0x174)](getGitMetaData);_0xd25683&&(this['_gitConfigPath']=_0xd25683[_0xdd3826(0x180)]),this[_0xdd3826(0x1b8)]=!![];}}function a90_0xc54e(_0x11ad0d,_0x308ad2){const _0x3b2353=a90_0x3b23();return a90_0xc54e=function(_0xc54edb,_0x1bfc6f){_0xc54edb=_0xc54edb-0x149;let _0x52d350=_0x3b2353[_0xc54edb];return _0x52d350;},a90_0xc54e(_0x11ad0d,_0x308ad2);}module[a90_0x4242a8(0x160)]=o11yClassErrorHandler(CucumberUtils,[a90_0x4242a8(0x1d3),a90_0x4242a8(0x1d4),'getCucumberHookType',a90_0x4242a8(0x1db),a90_0x4242a8(0x16a),a90_0x4242a8(0x18b),a90_0x4242a8(0x153),a90_0x4242a8(0x1cb)]);
@@ -1 +1 @@
1
- const a91_0x56fed5=a91_0x345c;(function(_0x18ab2e,_0x26b9b2){const _0xe23443=a91_0x345c,_0x3da62e=_0x18ab2e();while(!![]){try{const _0x159d76=-parseInt(_0xe23443(0xaf))/0x1+parseInt(_0xe23443(0xf9))/0x2*(-parseInt(_0xe23443(0x122))/0x3)+-parseInt(_0xe23443(0xe8))/0x4+-parseInt(_0xe23443(0x114))/0x5+-parseInt(_0xe23443(0xe2))/0x6+parseInt(_0xe23443(0x133))/0x7+-parseInt(_0xe23443(0xf0))/0x8*(-parseInt(_0xe23443(0xbb))/0x9);if(_0x159d76===_0x26b9b2)break;else _0x3da62e['push'](_0x3da62e['shift']());}catch(_0x2def62){_0x3da62e['push'](_0x3da62e['shift']());}}}(a91_0x1b01,0x3bd10));const path=require(a91_0x56fed5(0x126)),util=require(a91_0x56fed5(0x120)),crypto=require(a91_0x56fed5(0x159)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a91_0x56fed5(0x14b)),logger=require(a91_0x56fed5(0x105))[a91_0x56fed5(0x11a)],{o11yClassErrorHandler}=require(a91_0x56fed5(0x138)),TestInfo=require('../TestInfo.js'),{failureData,getFailureType}=require(a91_0x56fed5(0xa9)),stackTrace=require(a91_0x56fed5(0xdd)),a91_0x3e57f9={};function a91_0x345c(_0x568759,_0x3e4855){const _0x1b0196=a91_0x1b01();return a91_0x345c=function(_0x345c80,_0x5cd7c1){_0x345c80=_0x345c80-0xa3;let _0x57285c=_0x1b0196[_0x345c80];return _0x57285c;},a91_0x345c(_0x568759,_0x3e4855);}function a91_0x1b01(){const _0xa662d9=['Creating\x20hook\x20data\x20for\x20eventType:\x20','lwbWd','md5','name','EryTl','crypto','Nbakx','\x20from\x20compositeKey:\x20','toUpperCase','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','SEZgW','root','HookRunFinished','../../../helpers/test-observability/utils','extractTestFilePath','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','RILsr','hex','failure_reason_expanded','250880LjvOAj','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','isJestInternalHook','ORULV','dtCFz','TestRunSkipped','wXYvV','hpEiT','iHpHF','__workerDetails','failure_data','uuid','9HEbnli','failure_backtrace','configureGit','failure_reason','pid','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','YBsNx','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','BEFORE_EACH','getHookRunEventData','AFTER_EACH','backtrace','now','ROOT_DESCRIBE_BLOCK','finishedAt','pending','getTime','startedAt','zlkwv','SQmPA','HKcMp','MrPIH','debug','split','result','finished_at','Exception\x20in\x20createTestFrameworkData:\x20','includes','Unknown\x20Test','BOBXH','File\x20path\x20could\x20not\x20be\x20found','fullName','javascript','relative','stack-trace','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','afterAll','testPath','testAnalyticsId','295926Vicptd','TOnWJ','stack','createHash','HookRunStarted','QwPiS','353848KbFxyP','QbWTG','getName','match','Exception\x20in\x20createHookData:\x20','QCpAf','vMaKQ','parse','7134104rbABNJ','PrYjn','substring','passed',',\x20hookUUID:\x20','failed','clearHooksMap',',\x20testIdentifier:\x20','XKSYe','9172ABOEJq','expanded','createTestFrameworkData','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','testIdentifier','displayName','expect','jest','currentTest','lBROD','failure','errorsDetailed','../../../helpers/logger.js','file','getRootParentFile','HHMsh','createJestTestIdentifier','format','getHierarchy','beforeEach','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','toISOString','kzHcY','oJkxz','DIVda','afterEach','_gitConfigPath','1661120MAyzuh','nSTjE','apply','SRpIn','FIYBx','cWCPP','winstonLogger','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','jest-circus','XAKYy','err','recreateIdentifierFromTestInfo','util','nZhbi','21TrwRYf','exports','AFTER_ALL','getFileName','path','test','druWc','\x22\x20hook\x20for\x20\x22','hook','ombeN','unknown','puuiY','TCVsm','ADRQn','sAjFZ','gJbMp','asyncError','743638xwMIKi','toString','error','hooks','retryOf','../../../helpers/test-observability/error-handler.js','oZxky','started_at','beforeAll','BkjUo','browserstack-node-agent/src/bin/jest','gvfKa','find','parent','getState','update','uXGfC','eoyCf','fnWsV','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','inspect','_gitConfigured','Exception\x20in\x20getHookRunEventData:\x20','length','../../../helpers/helper.js','__jestCurrentTestIdentifier','JwLLd','createHookData','duration','PcFgq','type','MSpEX','getTestIdentifier'];a91_0x1b01=function(){return _0xa662d9;};return a91_0x1b01();}a91_0x3e57f9[a91_0x56fed5(0x13b)]='BEFORE_ALL',a91_0x3e57f9[a91_0x56fed5(0xdf)]=a91_0x56fed5(0x124),a91_0x3e57f9[a91_0x56fed5(0x10c)]=a91_0x56fed5(0xc3),a91_0x3e57f9[a91_0x56fed5(0x112)]=a91_0x56fed5(0xc5);const HOOK_TYPES_MAP=a91_0x3e57f9,hooksMap={};class JestUtils{constructor(){const _0x189be3=a91_0x56fed5;this[_0x189be3(0x148)]=![],this['_gitConfigPath']=null;}async['createTestFrameworkData'](_0x2a4985,_0x203bba,_0x1828fc='TestRunFinished',_0xf8ee81=undefined){const _0xea5bd8=a91_0x56fed5,_0x28135e={'pKmqe':_0xea5bd8(0x146),'ADRQn':'jest-circus','poSma':function(_0x46951f,_0x240e36){return _0x46951f||_0x240e36;},'dtCFz':_0xea5bd8(0xd9),'hpEiT':function(_0x4acbed,_0x9418e5){return _0x4acbed!==_0x9418e5;},'gyyCB':_0xea5bd8(0x127),'HKcMp':_0xea5bd8(0x11e),'lwbWd':function(_0x141572,_0x4cbad2){return _0x141572!==_0x4cbad2;},'wXYvV':_0xea5bd8(0xca),'fnWsV':function(_0x51af1a,_0xc4a548){return _0x51af1a===_0xc4a548;},'RILsr':_0xea5bd8(0xb4),'MrPIH':'skipped','YBsNx':function(_0xd13f3,_0x3b851b){return _0xd13f3>_0x3b851b;},'druWc':_0xea5bd8(0xf5),'puuiY':'passed','ORULV':function(_0x1e550f,_0x376e43){return _0x1e550f!==_0x376e43;},'PrYjn':function(_0x4cc37e,_0x30a362){return _0x4cc37e-_0x30a362;},'SEZgW':_0xea5bd8(0xdb),'FnWPN':'jest','gvfKa':function(_0x2b9915,_0x1370c3){return _0x2b9915(_0x1370c3);},'HHMsh':'TestRunFinished'};logger['debug']('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x1828fc+_0xea5bd8(0xf7)+_0x203bba);try{if(!_0x2a4985)return logger[_0xea5bd8(0xd1)](_0x28135e['pKmqe']),null;if(_0x2a4985['fn']&&_0x2a4985['fn'][_0xea5bd8(0x134)]()[_0xea5bd8(0xeb)](/browserstack internal helper hook/))return null;await this['configureGit']();let _0xe9afbb;try{_0xe9afbb=this[_0xea5bd8(0x107)](_0x2a4985);if(_0xe9afbb&&_0xe9afbb[_0xea5bd8(0xd6)](_0x28135e[_0xea5bd8(0x12f)]))return null;}catch(_0x37a721){logger[_0xea5bd8(0xd1)](_0xea5bd8(0xde)+util[_0xea5bd8(0x10a)](_0x37a721)),_0xe9afbb=null;}const _0x417f12=this[_0xea5bd8(0x10b)](_0x2a4985),_0x49e224=this[_0xea5bd8(0xea)](_0x2a4985),_0x53192a=_0x28135e['poSma'](_0xe9afbb,_0x28135e[_0xea5bd8(0xb3)]);let _0x5ce9e4=[];if(_0x28135e[_0xea5bd8(0xb6)](_0x2a4985[_0xea5bd8(0x104)],undefined))_0x5ce9e4=[_0x2a4985['errorsDetailed'],_0x28135e['gyyCB']];else _0x28135e[_0xea5bd8(0xb6)](_0xf8ee81,undefined)&&(_0x5ce9e4=[_0xf8ee81,_0x28135e[_0xea5bd8(0xcf)]]);const _0x5d4a4e=_0x28135e[_0xea5bd8(0x155)](_0x2a4985[_0xea5bd8(0x104)],undefined)?util[_0xea5bd8(0x147)](_0x2a4985[_0xea5bd8(0x104)][0x0]):_0x28135e[_0xea5bd8(0xb6)](_0xf8ee81,undefined)?_0xf8ee81[_0xea5bd8(0x134)]():undefined;let _0x1e77e4=_0x28135e[_0xea5bd8(0xb5)];if(_0x28135e['fnWsV'](_0x1828fc,_0x28135e[_0xea5bd8(0xac)]))_0x1e77e4=_0x28135e[_0xea5bd8(0xd0)];else _0x2a4985[_0xea5bd8(0x104)]&&_0x28135e[_0xea5bd8(0xc1)](_0x2a4985[_0xea5bd8(0x104)][_0xea5bd8(0x14a)],0x0)?_0x1e77e4=_0x28135e[_0xea5bd8(0x128)]:_0x1e77e4=_0x28135e[_0xea5bd8(0x12d)];let _0x13e528=null;if(_0x28135e[_0xea5bd8(0xb2)](_0x2a4985[_0xea5bd8(0x14f)],undefined))_0x13e528=_0x2a4985[_0xea5bd8(0x14f)];else(_0x1828fc['match'](/Finished/)||_0x1828fc[_0xea5bd8(0xeb)](/Skipped/))&&(_0x2a4985[_0xea5bd8(0x13a)]&&(_0x13e528=_0x28135e[_0xea5bd8(0xf1)](Date[_0xea5bd8(0xc7)](),new Date(_0x2a4985['started_at'])[_0xea5bd8(0xcb)]())));const _0xaa73ac=_0x2a4985['fn']?_0x2a4985['fn'][_0xea5bd8(0x134)]():null,_0x4e7f01={'id':_0x203bba,'uuid':_0x203bba,'startedAt':_0x2a4985[_0xea5bd8(0x13a)]||new Date()[_0xea5bd8(0x10e)](),'finishedAt':_0x1828fc[_0xea5bd8(0xeb)](/Finished/)||_0x1828fc['match'](/Skipped/)?new Date()['toISOString']():null,'type':_0x28135e['gyyCB'],'body':{'lang':_0x28135e[_0xea5bd8(0xa6)],'code':_0xaa73ac},'name':_0x49e224,'scopes':_0x417f12,'file_name':_0x53192a,'location':_0x53192a,'vc_filepath':this['_gitConfigPath']&&_0xe9afbb?path[_0xea5bd8(0xdc)](this[_0xea5bd8(0x113)],_0xe9afbb):null,'framework':_0x28135e['FnWPN'],'result':_0x1e77e4,'failure_reason':_0x5d4a4e,'duration_in_ms':_0x13e528,'failure':failureData[_0xea5bd8(0x116)](null,_0x5ce9e4),'failure_type':!_0x5d4a4e?null:_0x28135e[_0xea5bd8(0x13e)](getFailureType,_0x5d4a4e),'retry_of':_0x2a4985[_0xea5bd8(0x137)]||null,'customRerunParam':{'rerun_name':_0x49e224}};_0x28135e[_0xea5bd8(0x145)](_0x1828fc,_0x28135e[_0xea5bd8(0xac)])&&!_0x4e7f01[_0xea5bd8(0xcc)]&&(_0x4e7f01[_0xea5bd8(0xcc)]=_0x4e7f01[_0xea5bd8(0xc9)]);const _0x534fc2=_0x4e7f01[_0xea5bd8(0x103)]&&_0x4e7f01[_0xea5bd8(0x103)][0x0];return _0x534fc2&&(_0x4e7f01[_0xea5bd8(0xbc)]=_0x534fc2[_0xea5bd8(0xc6)],_0x4e7f01[_0xea5bd8(0xae)]=_0x534fc2[_0xea5bd8(0xfa)]),(_0x28135e[_0xea5bd8(0x145)](_0x1828fc,_0x28135e[_0xea5bd8(0x108)])||_0x28135e[_0xea5bd8(0x145)](_0x1828fc,_0x28135e[_0xea5bd8(0xac)]))&&(_0x2a4985[_0xea5bd8(0x136)]&&(_0x4e7f01['hooks']=_0x2a4985[_0xea5bd8(0x136)])),_0x4e7f01;}catch(_0x3fd6ae){return logger[_0xea5bd8(0xd1)](_0xea5bd8(0xd5)+util['format'](_0x3fd6ae)),null;}}async[a91_0x56fed5(0x14e)](_0x19b5a3,_0x48b877,_0x463e4e,_0x35f2d0){const _0xb953a6=a91_0x56fed5,_0x3426af={'BaqkY':'No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','FIYBx':'jest-circus','DoTeY':_0xb953a6(0x13d),'gJbMp':_0xb953a6(0x12c),'BkjUo':_0xb953a6(0xca),'XAKYy':function(_0x234234,_0x6fac15){return _0x234234===_0x6fac15;},'DVQDc':_0xb953a6(0xa8),'SRpIn':function(_0x591ac5,_0x164cea){return _0x591ac5>_0x164cea;},'BOBXH':_0xb953a6(0xf5),'EryTl':function(_0x28ed16,_0x2c753c){return _0x28ed16(_0x2c753c);},'TOnWJ':_0xb953a6(0x127),'XKSYe':_0xb953a6(0xf3),'IMcAN':_0xb953a6(0x12a),'TCVsm':_0xb953a6(0xdb),'nSTjE':_0xb953a6(0x100),'lBROD':_0xb953a6(0xe6)};logger[_0xb953a6(0xd1)](_0xb953a6(0x154)+_0x463e4e+_0xb953a6(0xf4)+_0x48b877+',\x20testRunId:\x20'+_0x35f2d0);try{if(!_0x19b5a3)return logger[_0xb953a6(0xd1)](_0x3426af['BaqkY']),null;if(this[_0xb953a6(0xb1)](_0x19b5a3))return null;await this[_0xb953a6(0xbd)]();let _0x438517=null;try{_0x438517=this[_0xb953a6(0x107)](_0x19b5a3);if(_0x438517&&_0x438517[_0xb953a6(0xd6)](_0x3426af[_0xb953a6(0x118)]))return null;if(_0x438517&&_0x438517['includes'](_0x3426af['DoTeY']))return null;}catch(_0x5c9863){logger['debug'](_0xb953a6(0xb0)+util[_0xb953a6(0x10a)](_0x5c9863));}const _0x4236e8=this[_0xb953a6(0xea)](_0x19b5a3),_0x119f1c=_0x19b5a3[_0xb953a6(0x151)]||_0x3426af[_0xb953a6(0x131)],_0x4aebc3=HOOK_TYPES_MAP[_0x119f1c]||_0x119f1c[_0xb953a6(0xa4)](),_0x4bafc9=_0x19b5a3['parent']&&_0x19b5a3['parent']['name']?_0x19b5a3[_0xb953a6(0x140)][_0xb953a6(0x157)]:'';let _0x522d52=_0x3426af[_0xb953a6(0x13c)],_0x22ff8a=null,_0x47a915=null,_0x56ccaf=null,_0x816bb=null;_0x3426af[_0xb953a6(0x11d)](_0x463e4e,_0x3426af['DVQDc'])&&(_0x816bb=new Date()[_0xb953a6(0x10e)](),_0x19b5a3[_0xb953a6(0x104)]&&_0x3426af[_0xb953a6(0x117)](_0x19b5a3[_0xb953a6(0x104)]['length'],0x0)?(_0x522d52=_0x3426af[_0xb953a6(0xd8)],_0x47a915=util['inspect'](_0x19b5a3['errorsDetailed'][0x0]),_0x22ff8a=_0x3426af[_0xb953a6(0x158)](getFailureType,_0x47a915),_0x56ccaf=failureData[_0xb953a6(0x116)](null,[_0x19b5a3[_0xb953a6(0x104)],_0x3426af[_0xb953a6(0xe3)]])):_0x522d52=_0x3426af[_0xb953a6(0xf8)]);const _0x3c4507={'uuid':_0x48b877,'type':_0x3426af['IMcAN'],'hook_type':_0x4aebc3,'name':_0x4236e8,'body':{'lang':_0x3426af[_0xb953a6(0x12e)],'code':_0x19b5a3['fn']?_0x19b5a3['fn'][_0xb953a6(0x134)]():null},'tags':[],'test_run_id':_0x35f2d0,'scope':_0x4bafc9,'scopes':[_0x4bafc9],'file_name':_0x438517,'location':_0x438517,'vc_filepath':this['_gitConfigPath']&&_0x438517?path[_0xb953a6(0xdc)](this[_0xb953a6(0x113)],_0x438517):null,'result':_0x522d52,'started_at':_0x19b5a3[_0xb953a6(0x13a)]||new Date()['toISOString'](),'finished_at':_0x816bb,'failure_type':_0x22ff8a,'failure_reason':_0x47a915,'failure_data':_0x56ccaf,'framework':_0x3426af[_0xb953a6(0x115)]};return _0x3426af[_0xb953a6(0x11d)](_0x463e4e,_0x3426af[_0xb953a6(0x102)])&&(hooksMap[_0x35f2d0]?hooksMap[_0x35f2d0]['push'](_0x3c4507):hooksMap[_0x35f2d0]=[_0x3c4507]),_0x3c4507;}catch(_0x8c9b19){return logger[_0xb953a6(0xd1)](_0xb953a6(0xec)+util['format'](_0x8c9b19)),null;}}[a91_0x56fed5(0xc4)](_0x4cafb2,_0x299109,_0x510622){const _0xf3fa30=a91_0x56fed5,_0x51cb42={'LblfM':function(_0x8fde2c,_0x190073){return _0x8fde2c>_0x190073;},'ombeN':_0xf3fa30(0xf5),'chFJd':function(_0x37a151,_0x3e351b){return _0x37a151(_0x3e351b);},'vMaKQ':_0xf3fa30(0x127),'JubKT':_0xf3fa30(0xf3)};try{const _0x54bcaa=hooksMap[_0x4cafb2];if(!_0x54bcaa)return null;const _0x3e70e2=_0x54bcaa[_0xf3fa30(0x13f)](_0x3f51de=>_0x3f51de[_0xf3fa30(0xba)]===_0x299109);if(!_0x3e70e2)return null;return _0x3e70e2[_0xf3fa30(0xd4)]=new Date()[_0xf3fa30(0x10e)](),_0x510622[_0xf3fa30(0x104)]&&_0x51cb42['LblfM'](_0x510622[_0xf3fa30(0x104)][_0xf3fa30(0x14a)],0x0)?(_0x3e70e2[_0xf3fa30(0xd3)]=_0x51cb42[_0xf3fa30(0x12b)],_0x3e70e2[_0xf3fa30(0xbe)]=util[_0xf3fa30(0x147)](_0x510622['errorsDetailed'][0x0]),_0x3e70e2['failure_type']=_0x51cb42['chFJd'](getFailureType,_0x3e70e2[_0xf3fa30(0xbe)]),_0x3e70e2[_0xf3fa30(0xb9)]=failureData[_0xf3fa30(0x116)](null,[_0x510622[_0xf3fa30(0x104)],_0x51cb42[_0xf3fa30(0xee)]])):_0x3e70e2[_0xf3fa30(0xd3)]=_0x51cb42['JubKT'],_0x3e70e2;}catch(_0x13b6a3){return logger[_0xf3fa30(0xd1)](_0xf3fa30(0x149)+util[_0xf3fa30(0x10a)](_0x13b6a3)),null;}}[a91_0x56fed5(0xea)](_0x4485e5){const _0x521132=a91_0x56fed5,_0x257096={};_0x257096['QCpAf']=function(_0x2d2ecf,_0x237a3c){return _0x2d2ecf!==_0x237a3c;},_0x257096[_0x521132(0xb7)]=_0x521132(0x127),_0x257096['sAjFZ']=_0x521132(0xd7);const _0x723e57=_0x257096;if(_0x723e57[_0x521132(0xed)](_0x4485e5[_0x521132(0x151)],_0x723e57[_0x521132(0xb7)]))return'\x22'+_0x4485e5[_0x521132(0x151)]+_0x521132(0x129)+(_0x4485e5['parent']&&_0x4485e5['parent'][_0x521132(0x157)])+'\x22';return _0x4485e5['name']||_0x723e57[_0x521132(0x130)];}[a91_0x56fed5(0x10b)](_0x55b954){const _0x576d8e=a91_0x56fed5,_0x3753a9={};_0x3753a9[_0x576d8e(0x139)]=function(_0x40723e,_0x22baec){return _0x40723e!==_0x22baec;},_0x3753a9[_0x576d8e(0x143)]=function(_0x513db0,_0x56c2a1){return _0x513db0!==_0x56c2a1;},_0x3753a9[_0x576d8e(0x110)]='ROOT_DESCRIBE_BLOCK';const _0x3cee68=_0x3753a9,_0xb43cd1=[];if(_0x55b954&&_0x55b954[_0x576d8e(0x140)]){let _0x40ba25=_0x55b954[_0x576d8e(0x140)];while(_0x40ba25&&_0x40ba25[_0x576d8e(0x157)]&&_0x3cee68['oZxky'](_0x40ba25[_0x576d8e(0x157)],'')&&_0x3cee68[_0x576d8e(0x143)](_0x40ba25[_0x576d8e(0x157)],_0x3cee68[_0x576d8e(0x110)])){_0xb43cd1['push'](_0x40ba25['name']),_0x40ba25=_0x40ba25[_0x576d8e(0x140)];}}return _0xb43cd1['reverse'](),_0xb43cd1;}['getRootParentFile'](_0x47e46e){const _0xd54e86=a91_0x56fed5;if(_0x47e46e[_0xd54e86(0x132)])try{const _0x3d55b6=stackTrace[_0xd54e86(0xef)]['call'](stackTrace,_0x47e46e[_0xd54e86(0x132)]);if(_0x3d55b6[0x0]&&_0x3d55b6[0x0][_0xd54e86(0x125)])return _0x3d55b6[0x0][_0xd54e86(0x125)]();}catch(_0x57c7fb){logger[_0xd54e86(0xd1)](_0xd54e86(0x11b)+util['format'](_0x57c7fb));}if(_0x47e46e[_0xd54e86(0x106)])return _0x47e46e[_0xd54e86(0x106)];return null;}[a91_0x56fed5(0xb1)](_0x552fbd){const _0x23ea3b=a91_0x56fed5,_0x5c6f6c={};_0x5c6f6c[_0x23ea3b(0x119)]=_0x23ea3b(0x11c);const _0x53263b=_0x5c6f6c;try{const _0x314cec=this[_0x23ea3b(0x107)](_0x552fbd);if(_0x314cec&&_0x314cec[_0x23ea3b(0xd6)](_0x53263b[_0x23ea3b(0x119)]))return!![];}catch(_0x3bb74c){logger['debug'](_0x23ea3b(0xfc)+util[_0x23ea3b(0x10a)](_0x3bb74c));}return![];}[a91_0x56fed5(0x153)](_0xe53cbc=null){const _0x585575=a91_0x56fed5;try{const _0x4ec60b=_0xe53cbc||global[_0x585575(0xb8)]||{};if(global[_0x585575(0x14c)])return global[_0x585575(0x14c)];if(_0x4ec60b?.['currentTest']?.[_0x585575(0xe1)])return _0x4ec60b['currentTest'][_0x585575(0xe1)];if(_0x4ec60b?.['currentTest']?.['id'])return _0x4ec60b[_0x585575(0x101)]['id'];return null;}catch(_0x179040){return logger[_0x585575(0xd1)](_0x585575(0xc0)+util['format'](_0x179040)),null;}}async['configureGit'](){const _0xe521ed=a91_0x56fed5,_0x1142dd={'QbWTG':function(_0x3b7e3c){return _0x3b7e3c();}};if(this['_gitConfigured'])return this['_gitConfigPath'];const _0xc16ade=await _0x1142dd[_0xe521ed(0xe9)](getGitMetaData);_0xc16ade&&(this[_0xe521ed(0x113)]=_0xc16ade[_0xe521ed(0xa7)]),this[_0xe521ed(0x148)]=!![];}[a91_0x56fed5(0xf6)](_0x5789bc){hooksMap[_0x5789bc]&&delete hooksMap[_0x5789bc];}['extractTestFilePath'](_0x436497){const _0xff0801=a91_0x56fed5,_0x20dcb6={'zlkwv':_0xff0801(0x11c),'DIVda':function(_0x315c79,_0x40ab4b){return _0x315c79(_0x40ab4b);},'MSpEX':_0xff0801(0xff)};if(_0x436497['file'])return _0x436497[_0xff0801(0x106)];if(_0x436497[_0xff0801(0x132)]){try{const _0x3f2cf4=stackTrace[_0xff0801(0xef)](_0x436497[_0xff0801(0x132)]);if(_0x3f2cf4[0x0]&&_0x3f2cf4[0x0][_0xff0801(0x125)]){const _0x3ceae5=_0x3f2cf4[0x0][_0xff0801(0x125)]();if(_0x3ceae5&&!_0x3ceae5[_0xff0801(0xd6)](_0x20dcb6[_0xff0801(0xcd)]))return _0x3ceae5;}}catch(_0x2e88c9){logger[_0xff0801(0xd1)](_0xff0801(0xc2)+util[_0xff0801(0x10a)](_0x2e88c9));}if(_0x436497[_0xff0801(0x132)][_0xff0801(0xe4)]){const _0x4f3833=_0x436497[_0xff0801(0x132)][_0xff0801(0xe4)][_0xff0801(0xd2)]('\x0a');for(const _0x5901d4 of _0x4f3833){const _0x143bf3=_0x5901d4['match'](/at (.+?):\d+:\d+/);if(_0x143bf3&&_0x143bf3[0x1]&&!_0x143bf3[0x1]['includes'](_0x20dcb6['zlkwv']))return _0x143bf3[0x1];}}}let _0x148583=_0x436497[_0xff0801(0x140)];while(_0x148583){if(_0x148583[_0xff0801(0x106)])return _0x148583[_0xff0801(0x106)];if(_0x148583[_0xff0801(0x132)])try{const _0x3d9931=stackTrace['parse'](_0x148583['asyncError']);if(_0x3d9931[0x0]&&_0x3d9931[0x0][_0xff0801(0x125)]){const _0x373223=_0x3d9931[0x0][_0xff0801(0x125)]();if(_0x373223&&!_0x373223[_0xff0801(0xd6)](_0x20dcb6['zlkwv']))return _0x373223;}}catch(_0x14a3f0){}_0x148583=_0x148583[_0xff0801(0x140)];}try{const _0x59ee26=_0x20dcb6[_0xff0801(0x111)](require,_0x20dcb6[_0xff0801(0x152)]);if(_0x59ee26&&_0x59ee26['getState']){const _0x3a3b8b=_0x59ee26[_0xff0801(0x141)]();if(_0x3a3b8b&&_0x3a3b8b[_0xff0801(0xe0)])return _0x3a3b8b[_0xff0801(0xe0)];}}catch(_0x2c93e6){logger[_0xff0801(0xd1)](_0xff0801(0x10d)+util[_0xff0801(0x10a)](_0x2c93e6));}return null;}[a91_0x56fed5(0x109)](_0x212e63){const _0xb15793=a91_0x56fed5,_0x71e410={};_0x71e410['kzHcY']=_0xb15793(0xa5),_0x71e410[_0xb15793(0x144)]=function(_0x41babf,_0x389a07){return _0x41babf!==_0x389a07;},_0x71e410[_0xb15793(0xe7)]=_0xb15793(0xc8),_0x71e410[_0xb15793(0x150)]=_0xb15793(0x11c),_0x71e410[_0xb15793(0x15a)]=_0xb15793(0x156),_0x71e410[_0xb15793(0x121)]=_0xb15793(0xad);const _0x4ac2da=_0x71e410;try{if(!_0x212e63)return logger[_0xb15793(0x135)](_0x4ac2da[_0xb15793(0x10f)]),null;const _0x3cd2ad=_0x212e63[_0xb15793(0xda)]||_0x212e63['name']||_0x212e63['title']||_0x212e63[_0xb15793(0xfe)];let _0x3614af=_0x3cd2ad;if(_0x212e63[_0xb15793(0x140)]&&_0x212e63[_0xb15793(0x140)][_0xb15793(0x157)]&&_0x4ac2da[_0xb15793(0x144)](_0x212e63[_0xb15793(0x140)][_0xb15793(0x157)],_0x4ac2da[_0xb15793(0xe7)])){const _0x4b2884=_0x212e63[_0xb15793(0x157)]||_0x212e63['title'];_0x4b2884&&(_0x3614af=_0x212e63[_0xb15793(0x140)][_0xb15793(0x157)]+'\x20'+_0x4b2884);}let _0x573362=_0x212e63[_0xb15793(0xe0)];if(!_0x573362&&_0x212e63['asyncError']){try{const _0x472357=stackTrace[_0xb15793(0xef)](_0x212e63[_0xb15793(0x132)]);if(_0x472357[0x0]&&_0x472357[0x0][_0xb15793(0x125)]){const _0x761d60=_0x472357[0x0][_0xb15793(0x125)]();_0x761d60&&!_0x761d60[_0xb15793(0xd6)](_0x4ac2da['PcFgq'])&&(_0x573362=_0x761d60);}}catch(_0x643dcb){logger[_0xb15793(0xd1)](_0xb15793(0xc2)+util[_0xb15793(0x10a)](_0x643dcb));}if(!_0x573362&&_0x212e63[_0xb15793(0x132)]['stack']){const _0x345b58=_0x212e63['asyncError'][_0xb15793(0xe4)][_0xb15793(0xd2)]('\x0a');for(const _0xcb144e of _0x345b58){const _0x513e64=_0xcb144e[_0xb15793(0xeb)](/at (.+?):\d+:\d+/);if(_0x513e64&&_0x513e64[0x1]&&!_0x513e64[0x1][_0xb15793(0xd6)](_0x4ac2da[_0xb15793(0x150)])){_0x573362=_0x513e64[0x1];break;}}}}const _0x1f5fa6=_0x573362+'::'+_0x3614af,_0xdb1ff=crypto[_0xb15793(0xe5)](_0x4ac2da[_0xb15793(0x15a)])[_0xb15793(0x142)](_0x1f5fa6)['digest'](_0x4ac2da['nZhbi'])[_0xb15793(0xf2)](0x0,0x8),_0x9ce746=process[_0xb15793(0xbf)]+':jest-'+_0xdb1ff;return logger[_0xb15793(0xd1)]('[jestUtils]\x20Created\x20identifier:\x20'+_0x9ce746+_0xb15793(0xa3)+_0x1f5fa6),_0x9ce746;}catch(_0x4f5867){return logger[_0xb15793(0x135)]('[jestUtils]\x20Error\x20creating\x20identifier:\x20'+util[_0xb15793(0x10a)](_0x4f5867)),null;}}['createIdentifierFromJestTest'](_0xb724f1){const _0x50f89e=a91_0x56fed5,_0x399bcc={};_0x399bcc[_0x50f89e(0xce)]='[jestUtils]\x20No\x20test\x20object\x20provided';const _0x5a007a=_0x399bcc;if(!_0xb724f1)return logger['debug'](_0x5a007a[_0x50f89e(0xce)]),null;const _0x2b4d81=this[_0x50f89e(0xaa)](_0xb724f1),_0x100875={};_0x100875['name']=_0xb724f1[_0x50f89e(0x157)]||_0xb724f1['title'],_0x100875[_0x50f89e(0x140)]=_0xb724f1['parent'],_0x100875['testPath']=_0x2b4d81,_0x100875['asyncError']=_0xb724f1['asyncError'];const _0x57712e=_0x100875;return this[_0x50f89e(0x109)](_0x57712e);}[a91_0x56fed5(0x11f)](_0x7ea600){const _0x7be260=a91_0x56fed5,_0x5e618d={};_0x5e618d[_0x7be260(0x14d)]='[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation';const _0xe026ac=_0x5e618d;if(!_0x7ea600)return logger[_0x7be260(0xd1)](_0xe026ac[_0x7be260(0x14d)]),null;if(_0x7ea600[_0x7be260(0xfd)])return logger['debug'](_0x7be260(0xab)+_0x7ea600[_0x7be260(0xfd)]),_0x7ea600['testIdentifier'];return this[_0x7be260(0x109)](_0x7ea600);}}module[a91_0x56fed5(0x123)]=o11yClassErrorHandler(JestUtils,[a91_0x56fed5(0xbd),a91_0x56fed5(0x10b),a91_0x56fed5(0x107),'getName',a91_0x56fed5(0xb1),a91_0x56fed5(0x153),a91_0x56fed5(0xfb),a91_0x56fed5(0x14e),a91_0x56fed5(0xc4),a91_0x56fed5(0xf6),'extractTestFilePath',a91_0x56fed5(0x109),'createIdentifierFromJestTest',a91_0x56fed5(0x11f)]);
1
+ const a91_0x1f2927=a91_0x5112;(function(_0x537422,_0x50518f){const _0x43e807=a91_0x5112,_0x4a80a7=_0x537422();while(!![]){try{const _0x84f79b=parseInt(_0x43e807(0x14f))/0x1*(-parseInt(_0x43e807(0x18d))/0x2)+-parseInt(_0x43e807(0x19b))/0x3+-parseInt(_0x43e807(0x13c))/0x4*(parseInt(_0x43e807(0x194))/0x5)+-parseInt(_0x43e807(0x182))/0x6+parseInt(_0x43e807(0xfd))/0x7+parseInt(_0x43e807(0x1a0))/0x8+-parseInt(_0x43e807(0x1a1))/0x9*(-parseInt(_0x43e807(0x15c))/0xa);if(_0x84f79b===_0x50518f)break;else _0x4a80a7['push'](_0x4a80a7['shift']());}catch(_0x47f8f7){_0x4a80a7['push'](_0x4a80a7['shift']());}}}(a91_0x5972,0xd6155));function a91_0x5972(){const _0x7bb2cf=['yrqZK','HookRunFinished','substring','pid','failed','type','xabPO','includes','name','HFwbh','gJTaU','retryOf','gKWFC','failure_reason_expanded','parent','NlpOd','createHash','asyncError','HookRunStarted','CBDAP','WXfQK','clearHooksMap','GoHmd','getRootParentFile','configureGit','316fHKahQ','CfKOm','tcTHy','duration','BVEak','Exception\x20in\x20createTestFrameworkData:\x20','createTestFrameworkData','stack','browserstack-node-agent/src/bin/jest','passed','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','format','oDOir','SalQy','ROOT_DESCRIBE_BLOCK','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','../../../helpers/test-observability/utils','testIdentifier','Exception\x20in\x20createHookData:\x20','1zgyEMe','md5',':jest-','VQzGv','RDBKC','YUjoA','errorsDetailed','debug','ONFtd','pending',',\x20testRunId:\x20','../../../helpers/test-observability/error-handler.js','lmZvx','10ayZexB','failure_backtrace','UCpxM','[jestUtils]\x20No\x20test\x20object\x20provided','XKAuj','err','Dnpvx','parse','unknown','isJestInternalHook','push','PQqSn','split','title','crypto','backtrace','reverse','stack-trace','toISOString','TestRunFinished','apply','YHDnO','HxgcX','testAnalyticsId','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','UXEdU','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','XTdKI','rFZAA','error','VxHca','createHookData','fUvZD',',\x20hookUUID:\x20','lMHem','match','file','getTestIdentifier','3084798zRjMDW','javascript','AFTER_ALL','expect','util','AsJbs','BEFORE_ALL','now','expanded','relative','failure_type','627786UiAZqf','getHookRunEventData','toString','YQzIA','SXSxW','\x20from\x20compositeKey:\x20','getHierarchy','74845phCudB','getTime','TestRunSkipped','DFBlF','RMXYs','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','update','3063669VKdrRQ','finishedAt','started_at','beforeEach','RRxnK','11001184jsNSyo','15226578cBScSW','jest','testPath','result','_gitConfigured','toDGU','fJglu','length','finished_at','YVQVT','getName','root','__workerDetails','prKYN','OshTv','Unknown\x20Test','BEFORE_EACH','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','DRbPt','failure','__jestCurrentTestIdentifier','5891865lKbGIt','test','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','gxEVt','DzHEb','createIdentifierFromJestTest','qDLME','_gitConfigPath','extractTestFilePath','currentTest','jest-circus','inspect','[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20','PRhCb','vNmqX','GwrQc','getFileName','getState','gSdhw','AFTER_EACH','\x22\x20hook\x20for\x20\x22','afterAll','startedAt','call','recreateIdentifierFromTestInfo','../../../helpers/logger.js','afterEach','failure_reason','iqleA','hooks','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','digest','displayName','KmwwK','../TestInfo.js','createJestTestIdentifier','LkqXr','find'];a91_0x5972=function(){return _0x7bb2cf;};return a91_0x5972();}const path=require('path'),util=require(a91_0x1f2927(0x186)),crypto=require(a91_0x1f2927(0x16a)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require(a91_0x1f2927(0x116))['winstonLogger'],{o11yClassErrorHandler}=require(a91_0x1f2927(0x15a)),TestInfo=require(a91_0x1f2927(0x11f)),{failureData,getFailureType}=require(a91_0x1f2927(0x14c)),stackTrace=require(a91_0x1f2927(0x16d)),a91_0x14f7b2={};function a91_0x5112(_0x260577,_0x34f020){const _0x59722b=a91_0x5972();return a91_0x5112=function(_0x5112a3,_0x52aa55){_0x5112a3=_0x5112a3-0xf3;let _0x481934=_0x59722b[_0x5112a3];return _0x481934;},a91_0x5112(_0x260577,_0x34f020);}a91_0x14f7b2['beforeAll']=a91_0x1f2927(0x188),a91_0x14f7b2[a91_0x1f2927(0x112)]=a91_0x1f2927(0x184),a91_0x14f7b2[a91_0x1f2927(0x19e)]=a91_0x1f2927(0xf8),a91_0x14f7b2[a91_0x1f2927(0x117)]=a91_0x1f2927(0x110);const HOOK_TYPES_MAP=a91_0x14f7b2,hooksMap={};class JestUtils{constructor(){const _0x102464=a91_0x1f2927;this[_0x102464(0x1a5)]=![],this[_0x102464(0x104)]=null;}async[a91_0x1f2927(0x142)](_0x2ba4f1,_0x13adfc,_0x48f57a=a91_0x1f2927(0x16f),_0x40e776=undefined){const _0x3feabb=a91_0x1f2927,_0x1c9c90={'ZjUEy':_0x3feabb(0x11b),'DzHEb':_0x3feabb(0x107),'oDOir':function(_0x272806,_0x52e0aa){return _0x272806||_0x52e0aa;},'GwrQc':'File\x20path\x20could\x20not\x20be\x20found','Dnpvx':function(_0x2c6b4c,_0x5ce27f){return _0x2c6b4c!==_0x5ce27f;},'DRbPt':_0x3feabb(0xfe),'rFZAA':function(_0x2299f0,_0x312bac){return _0x2299f0!==_0x312bac;},'qDLME':_0x3feabb(0x161),'DFBlF':'pending','AsJbs':function(_0x1be8ab,_0x55452f){return _0x1be8ab===_0x55452f;},'tcTHy':_0x3feabb(0x196),'hMrJs':'skipped','wWDtO':function(_0x269826,_0x30e413){return _0x269826>_0x30e413;},'lMHem':_0x3feabb(0x127),'HFwbh':_0x3feabb(0x145),'GoHmd':function(_0x40a546,_0x51ab12){return _0x40a546-_0x51ab12;},'RRxnK':_0x3feabb(0x183),'OshTv':_0x3feabb(0x1a2),'CBDAP':function(_0x11b72b,_0x5a33cd){return _0x11b72b(_0x5a33cd);},'CfKOm':function(_0xfefc6f,_0x664433){return _0xfefc6f===_0x664433;},'toDGU':_0x3feabb(0x16f)};logger[_0x3feabb(0x156)](_0x3feabb(0x199)+_0x48f57a+',\x20testIdentifier:\x20'+_0x13adfc);try{if(!_0x2ba4f1)return logger[_0x3feabb(0x156)](_0x1c9c90['ZjUEy']),null;if(_0x2ba4f1['fn']&&_0x2ba4f1['fn']['toString']()[_0x3feabb(0x17f)](/browserstack internal helper hook/))return null;await this[_0x3feabb(0x13b)]();let _0x591965;try{_0x591965=this[_0x3feabb(0x13a)](_0x2ba4f1);if(_0x591965&&_0x591965[_0x3feabb(0x12a)](_0x1c9c90[_0x3feabb(0x101)]))return null;}catch(_0x4c71d4){logger[_0x3feabb(0x156)]('Failed\x20to\x20get\x20root\x20parent\x20file:\x20'+util['format'](_0x4c71d4)),_0x591965=null;}const _0x3a4343=this[_0x3feabb(0x193)](_0x2ba4f1),_0x110b07=this[_0x3feabb(0x1ab)](_0x2ba4f1),_0x48f9ae=_0x1c9c90[_0x3feabb(0x148)](_0x591965,_0x1c9c90[_0x3feabb(0x10c)]);let _0x58ffad=[];if(_0x1c9c90[_0x3feabb(0x162)](_0x2ba4f1[_0x3feabb(0x155)],undefined))_0x58ffad=[_0x2ba4f1[_0x3feabb(0x155)],_0x1c9c90[_0x3feabb(0xfa)]];else _0x1c9c90[_0x3feabb(0x178)](_0x40e776,undefined)&&(_0x58ffad=[_0x40e776,_0x1c9c90[_0x3feabb(0x103)]]);const _0x977852=_0x1c9c90[_0x3feabb(0x162)](_0x2ba4f1[_0x3feabb(0x155)],undefined)?util[_0x3feabb(0x108)](_0x2ba4f1[_0x3feabb(0x155)][0x0]):_0x1c9c90[_0x3feabb(0x178)](_0x40e776,undefined)?_0x40e776['toString']():undefined;let _0x2bf357=_0x1c9c90[_0x3feabb(0x197)];if(_0x1c9c90[_0x3feabb(0x187)](_0x48f57a,_0x1c9c90[_0x3feabb(0x13e)]))_0x2bf357=_0x1c9c90['hMrJs'];else _0x2ba4f1[_0x3feabb(0x155)]&&_0x1c9c90['wWDtO'](_0x2ba4f1[_0x3feabb(0x155)][_0x3feabb(0x1a8)],0x0)?_0x2bf357=_0x1c9c90[_0x3feabb(0x17e)]:_0x2bf357=_0x1c9c90[_0x3feabb(0x12c)];let _0x313a3f=null;if(_0x1c9c90[_0x3feabb(0x162)](_0x2ba4f1['duration'],undefined))_0x313a3f=_0x2ba4f1[_0x3feabb(0x13f)];else(_0x48f57a[_0x3feabb(0x17f)](/Finished/)||_0x48f57a[_0x3feabb(0x17f)](/Skipped/))&&(_0x2ba4f1[_0x3feabb(0x19d)]&&(_0x313a3f=_0x1c9c90[_0x3feabb(0x139)](Date[_0x3feabb(0x189)](),new Date(_0x2ba4f1[_0x3feabb(0x19d)])[_0x3feabb(0x195)]())));const _0x5c006d=_0x2ba4f1['fn']?_0x2ba4f1['fn'][_0x3feabb(0x18f)]():null,_0x56e74a={'id':_0x13adfc,'uuid':_0x13adfc,'startedAt':_0x2ba4f1[_0x3feabb(0x19d)]||new Date()[_0x3feabb(0x16e)](),'finishedAt':_0x48f57a['match'](/Finished/)||_0x48f57a[_0x3feabb(0x17f)](/Skipped/)?new Date()[_0x3feabb(0x16e)]():null,'type':_0x1c9c90[_0x3feabb(0xfa)],'body':{'lang':_0x1c9c90[_0x3feabb(0x19f)],'code':_0x5c006d},'name':_0x110b07,'scopes':_0x3a4343,'file_name':_0x48f9ae,'location':_0x48f9ae,'vc_filepath':this[_0x3feabb(0x104)]&&_0x591965?path['relative'](this[_0x3feabb(0x104)],_0x591965):null,'framework':_0x1c9c90[_0x3feabb(0xf6)],'result':_0x2bf357,'failure_reason':_0x977852,'duration_in_ms':_0x313a3f,'failure':failureData[_0x3feabb(0x170)](null,_0x58ffad),'failure_type':!_0x977852?null:_0x1c9c90[_0x3feabb(0x136)](getFailureType,_0x977852),'retry_of':_0x2ba4f1[_0x3feabb(0x12e)]||null,'customRerunParam':{'rerun_name':_0x110b07}};_0x1c9c90[_0x3feabb(0x187)](_0x48f57a,_0x1c9c90[_0x3feabb(0x13e)])&&!_0x56e74a[_0x3feabb(0x113)]&&(_0x56e74a['startedAt']=_0x56e74a[_0x3feabb(0x19c)]);const _0x535c57=_0x56e74a[_0x3feabb(0xfb)]&&_0x56e74a['failure'][0x0];return _0x535c57&&(_0x56e74a[_0x3feabb(0x15d)]=_0x535c57[_0x3feabb(0x16b)],_0x56e74a[_0x3feabb(0x130)]=_0x535c57[_0x3feabb(0x18a)]),(_0x1c9c90[_0x3feabb(0x13d)](_0x48f57a,_0x1c9c90[_0x3feabb(0x1a6)])||_0x1c9c90[_0x3feabb(0x187)](_0x48f57a,_0x1c9c90[_0x3feabb(0x13e)]))&&(_0x2ba4f1[_0x3feabb(0x11a)]&&(_0x56e74a[_0x3feabb(0x11a)]=_0x2ba4f1[_0x3feabb(0x11a)])),_0x56e74a;}catch(_0x18e1dd){return logger[_0x3feabb(0x156)](_0x3feabb(0x141)+util[_0x3feabb(0x147)](_0x18e1dd)),null;}}async[a91_0x1f2927(0x17b)](_0x6f7139,_0x195a93,_0x40f1c4,_0x480e5c){const _0x2ad0be=a91_0x1f2927,_0x307025={'ONFtd':_0x2ad0be(0xff),'KmwwK':_0x2ad0be(0x107),'UXEdU':_0x2ad0be(0x144),'LkqXr':_0x2ad0be(0x164),'KKuGF':_0x2ad0be(0x158),'HxgcX':function(_0x544a48,_0x45e681){return _0x544a48===_0x45e681;},'nBosj':_0x2ad0be(0x124),'NlpOd':function(_0x550928,_0x4a09c8){return _0x550928>_0x4a09c8;},'gSdhw':_0x2ad0be(0x127),'VxHca':function(_0x13056b,_0x2c6b60){return _0x13056b(_0x2c6b60);},'RDBKC':_0x2ad0be(0xfe),'YQzIA':_0x2ad0be(0x145),'YHDnO':'hook','gxEVt':'javascript','SalQy':_0x2ad0be(0x1a2),'tHyAa':_0x2ad0be(0x135)};logger['debug']('Creating\x20hook\x20data\x20for\x20eventType:\x20'+_0x40f1c4+_0x2ad0be(0x17d)+_0x195a93+_0x2ad0be(0x159)+_0x480e5c);try{if(!_0x6f7139)return logger[_0x2ad0be(0x156)](_0x307025[_0x2ad0be(0x157)]),null;if(this['isJestInternalHook'](_0x6f7139))return null;await this['configureGit']();let _0x461619=null;try{_0x461619=this[_0x2ad0be(0x13a)](_0x6f7139);if(_0x461619&&_0x461619['includes'](_0x307025[_0x2ad0be(0x11e)]))return null;if(_0x461619&&_0x461619[_0x2ad0be(0x12a)](_0x307025[_0x2ad0be(0x175)]))return null;}catch(_0x2b0497){logger[_0x2ad0be(0x156)](_0x2ad0be(0x174)+util[_0x2ad0be(0x147)](_0x2b0497));}const _0x4936ed=this[_0x2ad0be(0x1ab)](_0x6f7139),_0x3c37b2=_0x6f7139[_0x2ad0be(0x128)]||_0x307025[_0x2ad0be(0x121)],_0x24c812=HOOK_TYPES_MAP[_0x3c37b2]||_0x3c37b2['toUpperCase'](),_0x5f55eb=_0x6f7139['parent']&&_0x6f7139[_0x2ad0be(0x131)][_0x2ad0be(0x12b)]?_0x6f7139[_0x2ad0be(0x131)][_0x2ad0be(0x12b)]:'';let _0x287171=_0x307025['KKuGF'],_0x32ea20=null,_0x50dc22=null,_0x53675a=null,_0x30e1bb=null;_0x307025[_0x2ad0be(0x172)](_0x40f1c4,_0x307025['nBosj'])&&(_0x30e1bb=new Date()['toISOString'](),_0x6f7139[_0x2ad0be(0x155)]&&_0x307025[_0x2ad0be(0x132)](_0x6f7139['errorsDetailed'][_0x2ad0be(0x1a8)],0x0)?(_0x287171=_0x307025[_0x2ad0be(0x10f)],_0x50dc22=util[_0x2ad0be(0x108)](_0x6f7139[_0x2ad0be(0x155)][0x0]),_0x32ea20=_0x307025[_0x2ad0be(0x17a)](getFailureType,_0x50dc22),_0x53675a=failureData[_0x2ad0be(0x170)](null,[_0x6f7139[_0x2ad0be(0x155)],_0x307025[_0x2ad0be(0x153)]])):_0x287171=_0x307025[_0x2ad0be(0x190)]);const _0x24df13={'uuid':_0x195a93,'type':_0x307025[_0x2ad0be(0x171)],'hook_type':_0x24c812,'name':_0x4936ed,'body':{'lang':_0x307025[_0x2ad0be(0x100)],'code':_0x6f7139['fn']?_0x6f7139['fn'][_0x2ad0be(0x18f)]():null},'tags':[],'test_run_id':_0x480e5c,'scope':_0x5f55eb,'scopes':[_0x5f55eb],'file_name':_0x461619,'location':_0x461619,'vc_filepath':this[_0x2ad0be(0x104)]&&_0x461619?path[_0x2ad0be(0x18b)](this[_0x2ad0be(0x104)],_0x461619):null,'result':_0x287171,'started_at':_0x6f7139['started_at']||new Date()[_0x2ad0be(0x16e)](),'finished_at':_0x30e1bb,'failure_type':_0x32ea20,'failure_reason':_0x50dc22,'failure_data':_0x53675a,'framework':_0x307025[_0x2ad0be(0x149)]};return _0x307025[_0x2ad0be(0x172)](_0x40f1c4,_0x307025['tHyAa'])&&(hooksMap[_0x480e5c]?hooksMap[_0x480e5c][_0x2ad0be(0x166)](_0x24df13):hooksMap[_0x480e5c]=[_0x24df13]),_0x24df13;}catch(_0x5be62c){return logger[_0x2ad0be(0x156)](_0x2ad0be(0x14e)+util[_0x2ad0be(0x147)](_0x5be62c)),null;}}[a91_0x1f2927(0x18e)](_0xb77432,_0x493996,_0xbc0779){const _0x1aa406=a91_0x1f2927,_0x3fc1c6={'prKYN':function(_0x3456f4,_0x498859){return _0x3456f4>_0x498859;},'VQzGv':_0x1aa406(0x127),'UCpxM':function(_0x590fd2,_0x41797d){return _0x590fd2(_0x41797d);},'iqleA':_0x1aa406(0xfe),'yrqZK':'passed'};try{const _0x4edea4=hooksMap[_0xb77432];if(!_0x4edea4)return null;const _0x4c4445=_0x4edea4[_0x1aa406(0x122)](_0x270c37=>_0x270c37['uuid']===_0x493996);if(!_0x4c4445)return null;return _0x4c4445[_0x1aa406(0x1a9)]=new Date()[_0x1aa406(0x16e)](),_0xbc0779['errorsDetailed']&&_0x3fc1c6[_0x1aa406(0xf5)](_0xbc0779['errorsDetailed']['length'],0x0)?(_0x4c4445['result']=_0x3fc1c6[_0x1aa406(0x152)],_0x4c4445[_0x1aa406(0x118)]=util[_0x1aa406(0x108)](_0xbc0779['errorsDetailed'][0x0]),_0x4c4445[_0x1aa406(0x18c)]=_0x3fc1c6[_0x1aa406(0x15e)](getFailureType,_0x4c4445[_0x1aa406(0x118)]),_0x4c4445['failure_data']=failureData[_0x1aa406(0x170)](null,[_0xbc0779[_0x1aa406(0x155)],_0x3fc1c6[_0x1aa406(0x119)]])):_0x4c4445[_0x1aa406(0x1a4)]=_0x3fc1c6[_0x1aa406(0x123)],_0x4c4445;}catch(_0x463866){return logger['debug']('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x1aa406(0x147)](_0x463866)),null;}}[a91_0x1f2927(0x1ab)](_0x3bf66f){const _0x76eed8=a91_0x1f2927,_0x4a4dc5={};_0x4a4dc5[_0x76eed8(0x177)]=function(_0x250758,_0x19255e){return _0x250758!==_0x19255e;},_0x4a4dc5['RMXYs']='test',_0x4a4dc5[_0x76eed8(0x191)]=_0x76eed8(0xf7);const _0x1cf230=_0x4a4dc5;if(_0x1cf230['XTdKI'](_0x3bf66f[_0x76eed8(0x128)],_0x1cf230[_0x76eed8(0x198)]))return'\x22'+_0x3bf66f['type']+_0x76eed8(0x111)+(_0x3bf66f[_0x76eed8(0x131)]&&_0x3bf66f[_0x76eed8(0x131)]['name'])+'\x22';return _0x3bf66f[_0x76eed8(0x12b)]||_0x1cf230[_0x76eed8(0x191)];}['getHierarchy'](_0xf57cbc){const _0x19636b=a91_0x1f2927,_0x2aae04={};_0x2aae04[_0x19636b(0x10a)]=function(_0x4ec5ae,_0x20d2a0){return _0x4ec5ae!==_0x20d2a0;},_0x2aae04['vNmqX']='ROOT_DESCRIBE_BLOCK';const _0x348a8c=_0x2aae04,_0x1de86d=[];if(_0xf57cbc&&_0xf57cbc['parent']){let _0x3aef94=_0xf57cbc[_0x19636b(0x131)];while(_0x3aef94&&_0x3aef94[_0x19636b(0x12b)]&&_0x348a8c[_0x19636b(0x10a)](_0x3aef94[_0x19636b(0x12b)],'')&&_0x348a8c['PRhCb'](_0x3aef94[_0x19636b(0x12b)],_0x348a8c[_0x19636b(0x10b)])){_0x1de86d[_0x19636b(0x166)](_0x3aef94[_0x19636b(0x12b)]),_0x3aef94=_0x3aef94['parent'];}}return _0x1de86d[_0x19636b(0x16c)](),_0x1de86d;}['getRootParentFile'](_0x4cf1f9){const _0x4c650a=a91_0x1f2927;if(_0x4cf1f9[_0x4c650a(0x134)])try{const _0x33dd73=stackTrace['parse'][_0x4c650a(0x114)](stackTrace,_0x4cf1f9[_0x4c650a(0x134)]);if(_0x33dd73[0x0]&&_0x33dd73[0x0][_0x4c650a(0x10d)])return _0x33dd73[0x0][_0x4c650a(0x10d)]();}catch(_0x49008a){logger['debug']('Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util['format'](_0x49008a));}if(_0x4cf1f9[_0x4c650a(0x180)])return _0x4cf1f9[_0x4c650a(0x180)];return null;}[a91_0x1f2927(0x165)](_0x35432d){const _0x403e16=a91_0x1f2927,_0x1970a9={};_0x1970a9['xabPO']=_0x403e16(0x107);const _0x2b9433=_0x1970a9;try{const _0x1177a9=this[_0x403e16(0x13a)](_0x35432d);if(_0x1177a9&&_0x1177a9[_0x403e16(0x12a)](_0x2b9433[_0x403e16(0x129)]))return!![];}catch(_0x5138a4){logger['debug'](_0x403e16(0x176)+util[_0x403e16(0x147)](_0x5138a4));}return![];}[a91_0x1f2927(0x181)](_0x2bd444=null){const _0x1ebc6d=a91_0x1f2927;try{const _0x1305e7=_0x2bd444||global[_0x1ebc6d(0xf4)]||{};if(global[_0x1ebc6d(0xfc)])return global[_0x1ebc6d(0xfc)];if(_0x1305e7?.[_0x1ebc6d(0x106)]?.[_0x1ebc6d(0x173)])return _0x1305e7['currentTest'][_0x1ebc6d(0x173)];if(_0x1305e7?.[_0x1ebc6d(0x106)]?.['id'])return _0x1305e7[_0x1ebc6d(0x106)]['id'];return null;}catch(_0x41b9c1){return logger[_0x1ebc6d(0x156)]('[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20'+util[_0x1ebc6d(0x147)](_0x41b9c1)),null;}}async[a91_0x1f2927(0x13b)](){const _0x539a3d=a91_0x1f2927,_0x1380e9={'YUjoA':function(_0x4a5a51){return _0x4a5a51();}};if(this[_0x539a3d(0x1a5)])return this['_gitConfigPath'];const _0x7aeda0=await _0x1380e9[_0x539a3d(0x154)](getGitMetaData);_0x7aeda0&&(this[_0x539a3d(0x104)]=_0x7aeda0[_0x539a3d(0xf3)]),this[_0x539a3d(0x1a5)]=!![];}[a91_0x1f2927(0x138)](_0x1c3f5b){hooksMap[_0x1c3f5b]&&delete hooksMap[_0x1c3f5b];}[a91_0x1f2927(0x105)](_0x147f64){const _0x4d3773=a91_0x1f2927,_0x27aaec={'XKAuj':_0x4d3773(0x107),'gKWFC':function(_0x3c2452,_0x2cd843){return _0x3c2452(_0x2cd843);},'JbEoH':_0x4d3773(0x185)};if(_0x147f64['file'])return _0x147f64[_0x4d3773(0x180)];if(_0x147f64[_0x4d3773(0x134)]){try{const _0x38cd12=stackTrace[_0x4d3773(0x163)](_0x147f64['asyncError']);if(_0x38cd12[0x0]&&_0x38cd12[0x0][_0x4d3773(0x10d)]){const _0x46caaa=_0x38cd12[0x0][_0x4d3773(0x10d)]();if(_0x46caaa&&!_0x46caaa['includes'](_0x27aaec['XKAuj']))return _0x46caaa;}}catch(_0x498008){logger[_0x4d3773(0x156)](_0x4d3773(0xf9)+util['format'](_0x498008));}if(_0x147f64['asyncError'][_0x4d3773(0x143)]){const _0x17e996=_0x147f64[_0x4d3773(0x134)][_0x4d3773(0x143)]['split']('\x0a');for(const _0x4e0e3 of _0x17e996){const _0x4e25af=_0x4e0e3[_0x4d3773(0x17f)](/at (.+?):\d+:\d+/);if(_0x4e25af&&_0x4e25af[0x1]&&!_0x4e25af[0x1]['includes'](_0x27aaec[_0x4d3773(0x160)]))return _0x4e25af[0x1];}}}let _0x2ab2a5=_0x147f64['parent'];while(_0x2ab2a5){if(_0x2ab2a5[_0x4d3773(0x180)])return _0x2ab2a5['file'];if(_0x2ab2a5[_0x4d3773(0x134)])try{const _0xb78c4=stackTrace[_0x4d3773(0x163)](_0x2ab2a5['asyncError']);if(_0xb78c4[0x0]&&_0xb78c4[0x0]['getFileName']){const _0x35f062=_0xb78c4[0x0][_0x4d3773(0x10d)]();if(_0x35f062&&!_0x35f062['includes'](_0x27aaec[_0x4d3773(0x160)]))return _0x35f062;}}catch(_0x10ac87){}_0x2ab2a5=_0x2ab2a5[_0x4d3773(0x131)];}try{const _0x2f688e=_0x27aaec[_0x4d3773(0x12f)](require,_0x27aaec['JbEoH']);if(_0x2f688e&&_0x2f688e[_0x4d3773(0x10e)]){const _0x547392=_0x2f688e[_0x4d3773(0x10e)]();if(_0x547392&&_0x547392[_0x4d3773(0x1a3)])return _0x547392[_0x4d3773(0x1a3)];}}catch(_0x1d07cf){logger['debug'](_0x4d3773(0x14b)+util[_0x4d3773(0x147)](_0x1d07cf));}return null;}[a91_0x1f2927(0x120)](_0x6acfe6){const _0x4a1a2e=a91_0x1f2927,_0x37dfaf={};_0x37dfaf[_0x4a1a2e(0x137)]='[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier',_0x37dfaf[_0x4a1a2e(0x1a7)]=function(_0x47ea56,_0x15dde0){return _0x47ea56!==_0x15dde0;},_0x37dfaf['gJTaU']=_0x4a1a2e(0x14a),_0x37dfaf[_0x4a1a2e(0x15b)]=_0x4a1a2e(0x107),_0x37dfaf[_0x4a1a2e(0x17c)]=_0x4a1a2e(0x150),_0x37dfaf['PQqSn']='hex';const _0x43e2f2=_0x37dfaf;try{if(!_0x6acfe6)return logger['error'](_0x43e2f2[_0x4a1a2e(0x137)]),null;const _0x7a8577=_0x6acfe6['fullName']||_0x6acfe6[_0x4a1a2e(0x12b)]||_0x6acfe6['title']||_0x6acfe6[_0x4a1a2e(0x11d)];let _0x623476=_0x7a8577;if(_0x6acfe6[_0x4a1a2e(0x131)]&&_0x6acfe6['parent'][_0x4a1a2e(0x12b)]&&_0x43e2f2['fJglu'](_0x6acfe6[_0x4a1a2e(0x131)]['name'],_0x43e2f2[_0x4a1a2e(0x12d)])){const _0x2038bf=_0x6acfe6[_0x4a1a2e(0x12b)]||_0x6acfe6[_0x4a1a2e(0x169)];_0x2038bf&&(_0x623476=_0x6acfe6[_0x4a1a2e(0x131)][_0x4a1a2e(0x12b)]+'\x20'+_0x2038bf);}let _0x4f3dea=_0x6acfe6['testPath'];if(!_0x4f3dea&&_0x6acfe6[_0x4a1a2e(0x134)]){try{const _0x13208e=stackTrace[_0x4a1a2e(0x163)](_0x6acfe6[_0x4a1a2e(0x134)]);if(_0x13208e[0x0]&&_0x13208e[0x0][_0x4a1a2e(0x10d)]){const _0x46a965=_0x13208e[0x0]['getFileName']();_0x46a965&&!_0x46a965['includes'](_0x43e2f2[_0x4a1a2e(0x15b)])&&(_0x4f3dea=_0x46a965);}}catch(_0x28b271){logger[_0x4a1a2e(0x156)](_0x4a1a2e(0xf9)+util['format'](_0x28b271));}if(!_0x4f3dea&&_0x6acfe6['asyncError'][_0x4a1a2e(0x143)]){const _0x5d7049=_0x6acfe6[_0x4a1a2e(0x134)][_0x4a1a2e(0x143)][_0x4a1a2e(0x168)]('\x0a');for(const _0x9a4b5 of _0x5d7049){const _0x5455df=_0x9a4b5[_0x4a1a2e(0x17f)](/at (.+?):\d+:\d+/);if(_0x5455df&&_0x5455df[0x1]&&!_0x5455df[0x1]['includes'](_0x43e2f2[_0x4a1a2e(0x15b)])){_0x4f3dea=_0x5455df[0x1];break;}}}}const _0x185209=_0x4f3dea+'::'+_0x623476,_0x32947f=crypto[_0x4a1a2e(0x133)](_0x43e2f2[_0x4a1a2e(0x17c)])[_0x4a1a2e(0x19a)](_0x185209)[_0x4a1a2e(0x11c)](_0x43e2f2[_0x4a1a2e(0x167)])[_0x4a1a2e(0x125)](0x0,0x8),_0x192796=process[_0x4a1a2e(0x126)]+_0x4a1a2e(0x151)+_0x32947f;return logger[_0x4a1a2e(0x156)]('[jestUtils]\x20Created\x20identifier:\x20'+_0x192796+_0x4a1a2e(0x192)+_0x185209),_0x192796;}catch(_0x35bea5){return logger[_0x4a1a2e(0x179)]('[jestUtils]\x20Error\x20creating\x20identifier:\x20'+util[_0x4a1a2e(0x147)](_0x35bea5)),null;}}[a91_0x1f2927(0x102)](_0x4e643c){const _0x7c5940=a91_0x1f2927,_0x3f6318={};_0x3f6318['BVEak']=_0x7c5940(0x15f);const _0x2c7816=_0x3f6318;if(!_0x4e643c)return logger[_0x7c5940(0x156)](_0x2c7816[_0x7c5940(0x140)]),null;const _0x3e8e26=this['extractTestFilePath'](_0x4e643c),_0x4f62a8={};_0x4f62a8['name']=_0x4e643c[_0x7c5940(0x12b)]||_0x4e643c[_0x7c5940(0x169)],_0x4f62a8[_0x7c5940(0x131)]=_0x4e643c[_0x7c5940(0x131)],_0x4f62a8[_0x7c5940(0x1a3)]=_0x3e8e26,_0x4f62a8[_0x7c5940(0x134)]=_0x4e643c[_0x7c5940(0x134)];const _0x2565fd=_0x4f62a8;return this[_0x7c5940(0x120)](_0x2565fd);}['recreateIdentifierFromTestInfo'](_0x34e29e){const _0x20b028=a91_0x1f2927,_0x465d3f={};_0x465d3f[_0x20b028(0x1aa)]=_0x20b028(0x146);const _0x53c84b=_0x465d3f;if(!_0x34e29e)return logger[_0x20b028(0x156)](_0x53c84b[_0x20b028(0x1aa)]),null;if(_0x34e29e[_0x20b028(0x14d)])return logger['debug'](_0x20b028(0x109)+_0x34e29e[_0x20b028(0x14d)]),_0x34e29e['testIdentifier'];return this['createJestTestIdentifier'](_0x34e29e);}}module['exports']=o11yClassErrorHandler(JestUtils,[a91_0x1f2927(0x13b),a91_0x1f2927(0x193),'getRootParentFile',a91_0x1f2927(0x1ab),a91_0x1f2927(0x165),'getTestIdentifier','createTestFrameworkData',a91_0x1f2927(0x17b),a91_0x1f2927(0x18e),'clearHooksMap',a91_0x1f2927(0x105),a91_0x1f2927(0x120),a91_0x1f2927(0x102),a91_0x1f2927(0x115)]);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a92_0x3dd416=a92_0x170f;(function(_0x52ae8f,_0x153b24){const _0x58b695=a92_0x170f,_0x242a22=_0x52ae8f();while(!![]){try{const _0x288697=parseInt(_0x58b695(0x1fa))/0x1+-parseInt(_0x58b695(0x217))/0x2*(parseInt(_0x58b695(0x1f1))/0x3)+-parseInt(_0x58b695(0x202))/0x4*(-parseInt(_0x58b695(0x206))/0x5)+-parseInt(_0x58b695(0x1f4))/0x6*(-parseInt(_0x58b695(0x1f8))/0x7)+-parseInt(_0x58b695(0x203))/0x8+-parseInt(_0x58b695(0x1f3))/0x9+-parseInt(_0x58b695(0x218))/0xa;if(_0x288697===_0x153b24)break;else _0x242a22['push'](_0x242a22['shift']());}catch(_0x364c99){_0x242a22['push'](_0x242a22['shift']());}}}(a92_0x2558,0x9acad));function a92_0x2558(){const _0x4e88fa=['join','getPlatformName','push','finalExecution','Config\x20yml\x20is\x20required','assign','44fZAuds','5134520rMIDcf','isUndefined','../../helpers/utilities','528490hzBUJr','config','../../helpers/testhub/testhubHandler','modifyBrowserStackW3CCaps','modifyBrowserStackCaps','../../helpers/helper','dwMWI','existsSync','exports','initialize','platforms','forEach','finally','NCocM','SDK_SETUP','length','EVENTS','4PWOjQv','1120610SwmbaA','cwd','proxySettings','HXaRB','qpbxz','../../helpers/performance/constants','args','File\x20path\x20is\x20required','handleApp','end','configuration','then','kQYRh','\x20doesn\x27t\x20exist','1867554xrYZNX','QtMXB','715500sdyFHc','162DMEThi','useW3C','rrwAw','index','254184CXhIBq','file','569339lWVBkV','../../helpers/BrowserStackSetup'];a92_0x2558=function(){return _0x4e88fa;};return a92_0x2558();}function a92_0x170f(_0x1e3cae,_0x3da64c){const _0x2558ab=a92_0x2558();return a92_0x170f=function(_0x170f3d,_0x555162){_0x170f3d=_0x170f3d-0x1eb;let _0x5dd235=_0x2558ab[_0x170f3d];return _0x5dd235;},a92_0x170f(_0x1e3cae,_0x3da64c);}const fs=require('fs'),path=require('path'),{default:BrowserStackSetup}=require(a92_0x3dd416(0x1fb)),helper=require(a92_0x3dd416(0x20b)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a92_0x3dd416(0x21d))[a92_0x3dd416(0x216)],utilities=require(a92_0x3dd416(0x205)),{parallelVanillaRun}=require('../test-runner'),TestHubHandler=require(a92_0x3dd416(0x208));async function run(_0x4b58e1,_0x5320f1,_0x21bf7c){const _0x4bd38d=a92_0x3dd416,_0x571308={'qpbxz':'vanilla','QtMXB':function(_0x554ab9,_0xa661f1){return _0x554ab9(_0xa661f1);},'NCocM':_0x4bd38d(0x21f),'sIKys':function(_0x7c135d,_0x11e6ab){return _0x7c135d(_0x11e6ab);},'dwMWI':_0x4bd38d(0x200),'rrwAw':function(_0x4293d9,_0x1bb94b){return _0x4293d9>_0x1bb94b;},'HXaRB':function(_0x19f2a7,_0x49a944){return _0x19f2a7*_0x49a944;},'kQYRh':function(_0x342880,_0x4e71f5,_0x5067b6){return _0x342880(_0x4e71f5,_0x5067b6);}};await _0x21bf7c[_0x4bd38d(0x20f)](_0x4b58e1),await helper[_0x4bd38d(0x1eb)](_0x21bf7c['config']);const _0x49cb45=[];if(helper[_0x4bd38d(0x204)](_0x4b58e1['_'][0x1]))throw _0x571308[_0x4bd38d(0x1f2)](Error,_0x571308[_0x4bd38d(0x213)]);const _0x2e16b5=path[_0x4bd38d(0x1fc)](process[_0x4bd38d(0x219)](),_0x4b58e1['_'][0x1]);if(!fs[_0x4bd38d(0x20d)](_0x2e16b5))throw _0x571308[_0x4bd38d(0x1f2)](Error,'File\x20'+_0x4b58e1['_'][0x1]+_0x4bd38d(0x1f0));if(!_0x21bf7c[_0x4bd38d(0x207)])throw _0x571308['sIKys'](Error,_0x571308[_0x4bd38d(0x20c)]);const _0xf76b15=helper[_0x4bd38d(0x1f5)](_0x21bf7c['config']);_0x21bf7c[_0x4bd38d(0x207)][_0x4bd38d(0x210)]&&_0x571308[_0x4bd38d(0x1f6)](_0x21bf7c[_0x4bd38d(0x207)][_0x4bd38d(0x210)]['length'],0x0)&&_0x21bf7c[_0x4bd38d(0x207)][_0x4bd38d(0x210)][_0x4bd38d(0x211)]((_0x346062,_0x4c2883)=>{const _0x1b3c68=_0x4bd38d;_0xf76b15?_0x49cb45[_0x1b3c68(0x1fe)](helper[_0x1b3c68(0x209)](_0x21bf7c['config'],_0x571308[_0x1b3c68(0x21c)],_0x4c2883)):_0x49cb45[_0x1b3c68(0x1fe)](helper[_0x1b3c68(0x20a)](_0x21bf7c[_0x1b3c68(0x207)],_0x571308[_0x1b3c68(0x21c)],_0x4c2883));});let _0x4cda77,_0x1ec6b8;const _0xeedfb7=[];if(_0x571308['rrwAw'](_0x49cb45[_0x4bd38d(0x215)],0x0))_0x49cb45[_0x4bd38d(0x211)]((_0x503f09,_0x577d73)=>{const _0x2d9ef7=_0x4bd38d,_0x135d20={};_0x135d20[_0x2d9ef7(0x1f7)]=_0x577d73,_0x4cda77={'server':helper['getHubUrl'](_0x21bf7c[_0x2d9ef7(0x207)]),'proxySettings':_0x21bf7c[_0x2d9ef7(0x207)][_0x2d9ef7(0x21a)],'platform':helper[_0x2d9ef7(0x1fd)](_0x503f09),'platformCaps':Object[_0x2d9ef7(0x201)](_0x135d20,_0x21bf7c[_0x2d9ef7(0x207)]['platforms'][_0x577d73])};const _0x566ce1={'capability':_0x503f09,..._0x4cda77};_0x566ce1['file']=_0x2e16b5,_0x566ce1[_0x2d9ef7(0x21e)]=_0x5320f1;const _0x41d433={};_0x41d433[_0x2d9ef7(0x1ed)]=_0x566ce1,_0x1ec6b8=_0x41d433,_0xeedfb7[_0x2d9ef7(0x1fe)](_0x1ec6b8);});else{let _0xb5d694;_0xf76b15?_0xb5d694=helper[_0x4bd38d(0x209)](_0x21bf7c['config'],_0x571308[_0x4bd38d(0x21c)],0x0):_0xb5d694=helper[_0x4bd38d(0x20a)](_0x21bf7c['config'],_0x571308[_0x4bd38d(0x21c)],0x0);_0x4cda77={'server':helper['getHubUrl'](_0x21bf7c[_0x4bd38d(0x207)]),'proxySettings':_0x21bf7c[_0x4bd38d(0x207)][_0x4bd38d(0x21a)]};const _0x57a868={'capability':_0xb5d694,..._0x4cda77};_0x57a868[_0x4bd38d(0x1f9)]=_0x2e16b5,_0x57a868['args']=_0x5320f1;const _0x56ec82={};_0x56ec82['configuration']=_0x57a868,_0x1ec6b8=_0x56ec82,_0xeedfb7[_0x4bd38d(0x1fe)](_0x1ec6b8);}const _0x2ac3cc=await TestHubHandler['launchBuild'](_0x571308[_0x4bd38d(0x21c)],_0x21bf7c),_0x404dc3=_0x571308[_0x4bd38d(0x21b)](_0x21bf7c[_0x4bd38d(0x207)][_0x4bd38d(0x210)][_0x4bd38d(0x215)]||0x1,_0x21bf7c[_0x4bd38d(0x207)]['parallelsPerPlatform']||0x1);PerformanceTester[_0x4bd38d(0x1ec)](PerformanceEvents[_0x4bd38d(0x214)]),_0x571308[_0x4bd38d(0x1ef)](parallelVanillaRun,_0xeedfb7,_0x404dc3)[_0x4bd38d(0x1ee)](_0x59aadb=>{})[_0x4bd38d(0x212)](async()=>{const _0x1586e0=_0x4bd38d;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),await utilities[_0x1586e0(0x1ff)](_0x21bf7c);});}module[a92_0x3dd416(0x20e)]=run;
2
+ 'use strict';const a92_0x262499=a92_0x8f19;(function(_0x1d9bbc,_0x5bf2bb){const _0xa10f59=a92_0x8f19,_0x3ad15f=_0x1d9bbc();while(!![]){try{const _0xc31b43=parseInt(_0xa10f59(0xc0))/0x1+parseInt(_0xa10f59(0xad))/0x2*(-parseInt(_0xa10f59(0xba))/0x3)+parseInt(_0xa10f59(0xcc))/0x4+parseInt(_0xa10f59(0xc4))/0x5*(parseInt(_0xa10f59(0xd3))/0x6)+parseInt(_0xa10f59(0xd0))/0x7+parseInt(_0xa10f59(0xc5))/0x8+-parseInt(_0xa10f59(0xb2))/0x9*(parseInt(_0xa10f59(0xb1))/0xa);if(_0xc31b43===_0x5bf2bb)break;else _0x3ad15f['push'](_0x3ad15f['shift']());}catch(_0x832de0){_0x3ad15f['push'](_0x3ad15f['shift']());}}}(a92_0x1d29,0x7d8ca));function a92_0x8f19(_0x510b2c,_0x5bb217){const _0x1d2909=a92_0x1d29();return a92_0x8f19=function(_0x8f1923,_0x31098b){_0x8f1923=_0x8f1923-0xa3;let _0x20694f=_0x1d2909[_0x8f1923];return _0x20694f;},a92_0x8f19(_0x510b2c,_0x5bb217);}const fs=require('fs'),path=require('path'),{default:BrowserStackSetup}=require(a92_0x262499(0xae)),helper=require(a92_0x262499(0xb4)),PerformanceTester=require(a92_0x262499(0xa4)),PerformanceEvents=require('../../helpers/performance/constants')[a92_0x262499(0xc2)],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require(a92_0x262499(0xb8)),TestHubHandler=require(a92_0x262499(0xd4));async function run(_0x5502fc,_0x3fe15c,_0x2a4bfa){const _0x53fec2=a92_0x262499,_0x7c5c8d={'EkFUe':'vanilla','Sxlpk':function(_0x51bf8c,_0x3299ae){return _0x51bf8c(_0x3299ae);},'pohkK':_0x53fec2(0xa9),'StTmo':function(_0x3c6370,_0x424245){return _0x3c6370(_0x424245);},'LMphX':_0x53fec2(0xbf),'KvZBB':function(_0x5e48ba,_0x402c64){return _0x5e48ba>_0x402c64;},'oVmjM':function(_0x1d5d2e,_0x3a4fda){return _0x1d5d2e*_0x3a4fda;},'DMnuY':function(_0x479226,_0x24b51f,_0xad78ef){return _0x479226(_0x24b51f,_0xad78ef);}};await _0x2a4bfa[_0x53fec2(0xc6)](_0x5502fc),await helper[_0x53fec2(0xd2)](_0x2a4bfa['config']);const _0x1e8671=[];if(helper[_0x53fec2(0xc7)](_0x5502fc['_'][0x1]))throw _0x7c5c8d['Sxlpk'](Error,_0x7c5c8d['pohkK']);const _0xb385fa=path['join'](process['cwd'](),_0x5502fc['_'][0x1]);if(!fs['existsSync'](_0xb385fa))throw _0x7c5c8d['Sxlpk'](Error,_0x53fec2(0xb7)+_0x5502fc['_'][0x1]+_0x53fec2(0xca));if(!_0x2a4bfa['config'])throw _0x7c5c8d[_0x53fec2(0xcf)](Error,_0x7c5c8d[_0x53fec2(0xa5)]);const _0x43556d=helper['useW3C'](_0x2a4bfa[_0x53fec2(0xcb)]);_0x2a4bfa[_0x53fec2(0xcb)][_0x53fec2(0xb0)]&&_0x7c5c8d[_0x53fec2(0xac)](_0x2a4bfa[_0x53fec2(0xcb)]['platforms'][_0x53fec2(0xc3)],0x0)&&_0x2a4bfa['config']['platforms']['forEach']((_0xdb4d0b,_0x30bb53)=>{const _0x738ad1=_0x53fec2;_0x43556d?_0x1e8671[_0x738ad1(0xa8)](helper[_0x738ad1(0xb6)](_0x2a4bfa[_0x738ad1(0xcb)],_0x7c5c8d[_0x738ad1(0xd1)],_0x30bb53)):_0x1e8671['push'](helper[_0x738ad1(0xa6)](_0x2a4bfa[_0x738ad1(0xcb)],_0x7c5c8d[_0x738ad1(0xd1)],_0x30bb53));});let _0x24ed94,_0xe8c4b0;const _0x2cc8bd=[];if(_0x7c5c8d[_0x53fec2(0xac)](_0x1e8671[_0x53fec2(0xc3)],0x0))_0x1e8671[_0x53fec2(0xc1)]((_0x16ccac,_0x48e1d2)=>{const _0x30c9fd=_0x53fec2,_0x54a91d={};_0x54a91d[_0x30c9fd(0xa7)]=_0x48e1d2,_0x24ed94={'server':helper[_0x30c9fd(0xb5)](_0x2a4bfa[_0x30c9fd(0xcb)]),'proxySettings':_0x2a4bfa[_0x30c9fd(0xcb)][_0x30c9fd(0xaf)],'platform':helper[_0x30c9fd(0xbc)](_0x16ccac),'platformCaps':Object['assign'](_0x54a91d,_0x2a4bfa[_0x30c9fd(0xcb)]['platforms'][_0x48e1d2])};const _0x486b57={'capability':_0x16ccac,..._0x24ed94};_0x486b57[_0x30c9fd(0xbb)]=_0xb385fa,_0x486b57[_0x30c9fd(0xc8)]=_0x3fe15c;const _0x382913={};_0x382913[_0x30c9fd(0xb3)]=_0x486b57,_0xe8c4b0=_0x382913,_0x2cc8bd['push'](_0xe8c4b0);});else{let _0x5b5a79;_0x43556d?_0x5b5a79=helper[_0x53fec2(0xb6)](_0x2a4bfa[_0x53fec2(0xcb)],_0x7c5c8d['EkFUe'],0x0):_0x5b5a79=helper[_0x53fec2(0xa6)](_0x2a4bfa[_0x53fec2(0xcb)],_0x7c5c8d[_0x53fec2(0xd1)],0x0);_0x24ed94={'server':helper[_0x53fec2(0xb5)](_0x2a4bfa[_0x53fec2(0xcb)]),'proxySettings':_0x2a4bfa[_0x53fec2(0xcb)][_0x53fec2(0xaf)]};const _0x1ad551={'capability':_0x5b5a79,..._0x24ed94};_0x1ad551[_0x53fec2(0xbb)]=_0xb385fa,_0x1ad551[_0x53fec2(0xc8)]=_0x3fe15c;const _0x197b7e={};_0x197b7e[_0x53fec2(0xb3)]=_0x1ad551,_0xe8c4b0=_0x197b7e,_0x2cc8bd[_0x53fec2(0xa8)](_0xe8c4b0);}const _0x53b91b=await TestHubHandler[_0x53fec2(0xce)](_0x7c5c8d[_0x53fec2(0xd1)],_0x2a4bfa),_0x517890=_0x7c5c8d['oVmjM'](_0x2a4bfa[_0x53fec2(0xcb)][_0x53fec2(0xb0)][_0x53fec2(0xc3)]||0x1,_0x2a4bfa['config'][_0x53fec2(0xc9)]||0x1);PerformanceTester[_0x53fec2(0xaa)](PerformanceEvents['SDK_SETUP']),_0x7c5c8d[_0x53fec2(0xa3)](parallelVanillaRun,_0x2cc8bd,_0x517890)[_0x53fec2(0xb9)](_0x515326=>{})[_0x53fec2(0xbe)](async()=>{const _0x1a0b64=_0x53fec2;PerformanceTester[_0x1a0b64(0xab)](PerformanceEvents[_0x1a0b64(0xcd)]),await utilities['finalExecution'](_0x2a4bfa);});}function a92_0x1d29(){const _0x5b1833=['../../helpers/helper','getHubUrl','modifyBrowserStackW3CCaps','File\x20','../test-runner','then','205026lmSbdP','file','getPlatformName','exports','finally','Config\x20yml\x20is\x20required','1010038uLXPbD','forEach','EVENTS','length','15XvEHYq','3744616qPOMdR','initialize','isUndefined','args','parallelsPerPlatform','\x20doesn\x27t\x20exist','config','3434320jnvejU','SDK_CLEANUP','launchBuild','StTmo','5507173EjUcBh','EkFUe','handleApp','244476iZCbuY','../../helpers/testhub/testhubHandler','DMnuY','../../helpers/performance/performance-tester','LMphX','modifyBrowserStackCaps','index','push','File\x20path\x20is\x20required','end','start','KvZBB','4CAHfKK','../../helpers/BrowserStackSetup','proxySettings','platforms','10BHpDmC','23352642meGVrb','configuration'];a92_0x1d29=function(){return _0x5b1833;};return a92_0x1d29();}module[a92_0x262499(0xbd)]=run;
@@ -1 +1 @@
1
- const a93_0x112937=a93_0x26fd;(function(_0xf7b9db,_0x7f3579){const _0x41d4bd=a93_0x26fd,_0x3e7af4=_0xf7b9db();while(!![]){try{const _0x488a78=parseInt(_0x41d4bd(0xdb))/0x1*(-parseInt(_0x41d4bd(0xe2))/0x2)+-parseInt(_0x41d4bd(0xef))/0x3*(parseInt(_0x41d4bd(0xdf))/0x4)+-parseInt(_0x41d4bd(0xf7))/0x5+parseInt(_0x41d4bd(0xf4))/0x6*(-parseInt(_0x41d4bd(0xe3))/0x7)+-parseInt(_0x41d4bd(0xe4))/0x8+-parseInt(_0x41d4bd(0xde))/0x9+parseInt(_0x41d4bd(0xf0))/0xa*(parseInt(_0x41d4bd(0xda))/0xb);if(_0x488a78===_0x7f3579)break;else _0x3e7af4['push'](_0x3e7af4['shift']());}catch(_0x5d99af){_0x3e7af4['push'](_0x3e7af4['shift']());}}}(a93_0x5918,0x26058));const TestMetadata=require(a93_0x112937(0xea));function a93_0x26fd(_0x15455f,_0x9bdb2f){const _0x591848=a93_0x5918();return a93_0x26fd=function(_0x26fdfc,_0xc2f946){_0x26fdfc=_0x26fdfc-0xd6;let _0x3a042f=_0x591848[_0x26fdfc];return _0x3a042f;},a93_0x26fd(_0x15455f,_0x9bdb2f);}class BrowserStackSdk{static[a93_0x112937(0xd8)](){const _0x22b500=a93_0x112937,_0x5726f7={};_0x5726f7[_0x22b500(0xd6)]=_0x22b500(0xe7),_0x5726f7[_0x22b500(0xd7)]='osVersion',_0x5726f7[_0x22b500(0xd9)]='browser',_0x5726f7[_0x22b500(0xdc)]=_0x22b500(0xe0),_0x5726f7['iPOOo']=_0x22b500(0xe9),_0x5726f7[_0x22b500(0xee)]='browserVersion',_0x5726f7[_0x22b500(0xec)]='device',_0x5726f7[_0x22b500(0xe8)]=_0x22b500(0xe5),_0x5726f7['HCdfP']='platform',_0x5726f7['DtqGs']='platformName',_0x5726f7['xGaZs']=_0x22b500(0xf3),_0x5726f7[_0x22b500(0xf1)]=_0x22b500(0xf8),_0x5726f7['rPfhm']='customVariables';const _0x23eee1=_0x5726f7,_0x383e5e={};if(global[_0x22b500(0xe6)]){const _0x20c849=global[_0x22b500(0xe6)],_0x2e7631=_0x20c849[_0x23eee1[_0x22b500(0xd6)]]||_0x20c849[_0x23eee1['MWzRo']],_0x1693c4=_0x20c849[_0x23eee1[_0x22b500(0xd9)]]||_0x20c849[_0x23eee1['ZDFpN']],_0x3c301a=_0x20c849[_0x23eee1[_0x22b500(0xed)]]||_0x20c849[_0x23eee1[_0x22b500(0xee)]],_0x4fdd4d=_0x20c849[_0x23eee1[_0x22b500(0xec)]]||_0x20c849[_0x23eee1[_0x22b500(0xe8)]],_0x5c30be=_0x20c849[_0x23eee1[_0x22b500(0xf6)]]||_0x20c849[_0x23eee1[_0x22b500(0xeb)]],_0x1df5ee=_0x20c849[_0x23eee1[_0x22b500(0xdd)]]||_0x20c849[_0x23eee1[_0x22b500(0xf1)]];_0x20c849['os']&&(_0x383e5e['os']=_0x20c849['os']),_0x2e7631&&(_0x383e5e[_0x23eee1[_0x22b500(0xd7)]]=_0x2e7631),_0x1693c4&&(_0x383e5e[_0x23eee1[_0x22b500(0xdc)]]=_0x1693c4),_0x3c301a&&(_0x383e5e[_0x23eee1[_0x22b500(0xee)]]=_0x3c301a),_0x4fdd4d&&(_0x383e5e[_0x23eee1[_0x22b500(0xe8)]]=_0x4fdd4d),_0x5c30be&&(_0x383e5e[_0x23eee1[_0x22b500(0xeb)]]=_0x5c30be),_0x1df5ee&&(_0x383e5e[_0x23eee1[_0x22b500(0xf1)]]=_0x1df5ee),_0x20c849[_0x23eee1[_0x22b500(0xf2)]]&&(_0x383e5e[_0x23eee1[_0x22b500(0xf2)]]=_0x20c849[_0x23eee1[_0x22b500(0xf2)]]);}return _0x383e5e;}static[a93_0x112937(0xf5)](_0x5b2be4={}){TestMetadata['set'](_0x5b2be4);}}module[a93_0x112937(0xe1)]=BrowserStackSdk;function a93_0x5918(){const _0x104a71=['22ReLOpz','1TypYMw','ZDFpN','xGaZs','707796wnVYRP','1616nTTmQS','browserName','exports','44882JiXhhB','1709862gYYZzd','402232UPCWHh','deviceName','__platformCaps','os_version','eXjat','browser_version','./helpers/metadata','DtqGs','pdgcq','iPOOo','eSiTb','1293cJurZJ','4245440pCKVqZ','ErcUK','rPfhm','platform_version','6nKeAeT','setTestMetadata','HCdfP','617990GNuyou','platformVersion','pKlqE','MWzRo','getCurrentPlatform','VWRil'];a93_0x5918=function(){return _0x104a71;};return a93_0x5918();}
1
+ const a93_0x5f5ef1=a93_0x367a;function a93_0x367a(_0x49e79d,_0x569fe5){const _0x39fd7a=a93_0x39fd();return a93_0x367a=function(_0x367ab1,_0x1b1941){_0x367ab1=_0x367ab1-0x112;let _0x439bc5=_0x39fd7a[_0x367ab1];return _0x439bc5;},a93_0x367a(_0x49e79d,_0x569fe5);}(function(_0x67fe02,_0x282e69){const _0x237f1d=a93_0x367a,_0x247d02=_0x67fe02();while(!![]){try{const _0x563de0=-parseInt(_0x237f1d(0x11d))/0x1*(-parseInt(_0x237f1d(0x11e))/0x2)+parseInt(_0x237f1d(0x115))/0x3+-parseInt(_0x237f1d(0x113))/0x4*(parseInt(_0x237f1d(0x112))/0x5)+parseInt(_0x237f1d(0x123))/0x6*(parseInt(_0x237f1d(0x136))/0x7)+parseInt(_0x237f1d(0x12c))/0x8+-parseInt(_0x237f1d(0x11b))/0x9+-parseInt(_0x237f1d(0x120))/0xa;if(_0x563de0===_0x282e69)break;else _0x247d02['push'](_0x247d02['shift']());}catch(_0x2734e5){_0x247d02['push'](_0x247d02['shift']());}}}(a93_0x39fd,0x45bdc));function a93_0x39fd(){const _0x5717ce=['FBCRd','customVariables','uQpea','jXORv','getCurrentPlatform','5101812wMTwSw','jbiST','11SGgJbu','68186rCqFrM','setTestMetadata','457210OiXmTk','browserVersion','os_version','6ymXCJx','cezWk','set','xhoUg','deviceName','ZHkMI','__platformCaps','exports','KvTwN','1042336MxZvMC','IIxpM','Zeagc','platform_version','./helpers/metadata','platformVersion','browserName','Nhrtw','QkfFq','bCBJu','3266515ftUWCz','10865DqzoZt','380HzOeRq','browser_version','398172TqVuqp'];a93_0x39fd=function(){return _0x5717ce;};return a93_0x39fd();}const TestMetadata=require(a93_0x5f5ef1(0x130));class BrowserStackSdk{static[a93_0x5f5ef1(0x11a)](){const _0x1b0089=a93_0x5f5ef1,_0x5ef82f={};_0x5ef82f[_0x1b0089(0x12d)]=_0x1b0089(0x122),_0x5ef82f['Nhrtw']='osVersion',_0x5ef82f[_0x1b0089(0x118)]='browser',_0x5ef82f['jXORv']=_0x1b0089(0x132),_0x5ef82f[_0x1b0089(0x12e)]=_0x1b0089(0x114),_0x5ef82f[_0x1b0089(0x134)]=_0x1b0089(0x121),_0x5ef82f['bCBJu']='device',_0x5ef82f[_0x1b0089(0x128)]=_0x1b0089(0x127),_0x5ef82f[_0x1b0089(0x124)]='platform',_0x5ef82f[_0x1b0089(0x116)]='platformName',_0x5ef82f[_0x1b0089(0x12b)]=_0x1b0089(0x12f),_0x5ef82f['xhoUg']=_0x1b0089(0x131),_0x5ef82f[_0x1b0089(0x11c)]=_0x1b0089(0x117);const _0x37d8f6=_0x5ef82f,_0x36d06a={};if(global['__platformCaps']){const _0x1dac4c=global[_0x1b0089(0x129)],_0xea272d=_0x1dac4c[_0x37d8f6[_0x1b0089(0x12d)]]||_0x1dac4c[_0x37d8f6[_0x1b0089(0x133)]],_0x44f8d4=_0x1dac4c[_0x37d8f6[_0x1b0089(0x118)]]||_0x1dac4c[_0x37d8f6[_0x1b0089(0x119)]],_0x1fe9ce=_0x1dac4c[_0x37d8f6[_0x1b0089(0x12e)]]||_0x1dac4c[_0x37d8f6[_0x1b0089(0x134)]],_0xedb445=_0x1dac4c[_0x37d8f6[_0x1b0089(0x135)]]||_0x1dac4c[_0x37d8f6[_0x1b0089(0x128)]],_0x18d5d5=_0x1dac4c[_0x37d8f6[_0x1b0089(0x124)]]||_0x1dac4c[_0x37d8f6['FBCRd']],_0x5edc77=_0x1dac4c[_0x37d8f6['KvTwN']]||_0x1dac4c[_0x37d8f6[_0x1b0089(0x126)]];_0x1dac4c['os']&&(_0x36d06a['os']=_0x1dac4c['os']),_0xea272d&&(_0x36d06a[_0x37d8f6[_0x1b0089(0x133)]]=_0xea272d),_0x44f8d4&&(_0x36d06a[_0x37d8f6[_0x1b0089(0x119)]]=_0x44f8d4),_0x1fe9ce&&(_0x36d06a[_0x37d8f6['QkfFq']]=_0x1fe9ce),_0xedb445&&(_0x36d06a[_0x37d8f6[_0x1b0089(0x128)]]=_0xedb445),_0x18d5d5&&(_0x36d06a[_0x37d8f6['FBCRd']]=_0x18d5d5),_0x5edc77&&(_0x36d06a[_0x37d8f6['xhoUg']]=_0x5edc77),_0x1dac4c[_0x37d8f6[_0x1b0089(0x11c)]]&&(_0x36d06a[_0x37d8f6['jbiST']]=_0x1dac4c[_0x37d8f6['jbiST']]);}return _0x36d06a;}static[a93_0x5f5ef1(0x11f)](_0x4fccc2={}){const _0x3295e1=a93_0x5f5ef1;TestMetadata[_0x3295e1(0x125)](_0x4fccc2);}}module[a93_0x5f5ef1(0x12a)]=BrowserStackSdk;