browserstack-node-sdk 1.50.6 → 1.50.7

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_0x24e28a=a85_0x2500;(function(_0xf9c665,_0x20815e){const _0x316a8b=a85_0x2500,_0x29ce43=_0xf9c665();while(!![]){try{const _0x26cd41=-parseInt(_0x316a8b(0x185))/0x1+-parseInt(_0x316a8b(0x196))/0x2+parseInt(_0x316a8b(0x186))/0x3+parseInt(_0x316a8b(0x1b0))/0x4+-parseInt(_0x316a8b(0x173))/0x5+-parseInt(_0x316a8b(0x1a7))/0x6+parseInt(_0x316a8b(0x190))/0x7;if(_0x26cd41===_0x20815e)break;else _0x29ce43['push'](_0x29ce43['shift']());}catch(_0x13ce55){_0x29ce43['push'](_0x29ce43['shift']());}}}(a85_0x4841,0x714d0));const util=require(a85_0x24e28a(0x1c1)),BaseModule=require(a85_0x24e28a(0x1c4)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require(a85_0x24e28a(0x1c2)),AutomationFrameworkState=require(a85_0x24e28a(0x198)),HookState=require(a85_0x24e28a(0x1a4)),TestFramework=require('../framework/testFramework.js'),TestFrameworkState=require(a85_0x24e28a(0x1c3)),PlaywrightDriverModule=require(a85_0x24e28a(0x1b1)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),GrpcClient=require(a85_0x24e28a(0x1a8)),CLIUtils=require(a85_0x24e28a(0x1ba)),TestInfo=require(a85_0x24e28a(0x1d2)),testHubConstants=require(a85_0x24e28a(0x179)),{FRAMEWORKS}=require(a85_0x24e28a(0x1c9)),helper=require(a85_0x24e28a(0x1a6)),LoadTestModule=require(a85_0x24e28a(0x195)),JestUtils=require(a85_0x24e28a(0x191)),BrowserstackCLI=require(a85_0x24e28a(0x1dc)),{getPlaywrightProvider,getProductForSession}=require('../../../helpers/helper.js');class TestHubModule extends BaseModule{['logger']=createClassLogger(a85_0x24e28a(0x1d9));constructor(_0x4c06d0,_0x525e27=null){const _0x2f3308=a85_0x24e28a,_0x52f317={};_0x52f317[_0x2f3308(0x18f)]=_0x2f3308(0x172),_0x52f317[_0x2f3308(0x1bf)]='TestHubModule';const _0xc98d44=_0x52f317,_0x80445f=_0xc98d44['jmQPL'][_0x2f3308(0x1d0)]('|');let _0x36fb48=0x0;while(!![]){switch(_0x80445f[_0x36fb48++]){case'0':super(_0x525e27);continue;case'1':process['env'][testHubConstants['ENV_VAR'][_0x2f3308(0x1cc)]]=this[_0x2f3308(0x180)][_0x2f3308(0x1ab)]();continue;case'2':process[_0x2f3308(0x181)][testHubConstants[_0x2f3308(0x18e)][_0x2f3308(0x1da)]]=this[_0x2f3308(0x180)][_0x2f3308(0x1b9)]();continue;case'3':this[_0x2f3308(0x19a)]=new JestUtils();continue;case'4':AutomationFramework[_0x2f3308(0x1d3)](AutomationFrameworkState[_0x2f3308(0x19b)],HookState[_0x2f3308(0x1d5)],this[_0x2f3308(0x16e)][_0x2f3308(0x1a0)](this));continue;case'5':Object['values'](TestFrameworkState)[_0x2f3308(0x1c5)](_0x5263ec=>{const _0x17e6e8=_0x2f3308;Object[_0x17e6e8(0x177)](HookState)['forEach'](_0x3ad035=>{const _0x2df414=_0x17e6e8;TestFramework[_0x2df414(0x1d3)](_0x5263ec,_0x3ad035,this[_0x2df414(0x171)]['bind'](this));});});continue;case'6':BrowserstackCLI[_0x2f3308(0x199)]=this[_0x2f3308(0x180)][_0x2f3308(0x1ab)]();continue;case'7':this['name']=_0xc98d44['mwQGk'];continue;case'8':this[_0x2f3308(0x180)]=_0x4c06d0;continue;}break;}}[a85_0x24e28a(0x1bd)](){const _0x172551=a85_0x24e28a;return TestHubModule[_0x172551(0x189)];}[a85_0x24e28a(0x171)](_0x1a6a2e){const _0x437269=a85_0x24e28a,_0x3014b2={};_0x3014b2[_0x437269(0x1aa)]=function(_0x384b96,_0x398cef){return _0x384b96===_0x398cef;};const _0x1855ce=_0x3014b2,_0x4e21fa=_0x1a6a2e['instance'],_0x1ce9d7=_0x4e21fa[_0x437269(0x1b4)]();(_0x1855ce[_0x437269(0x1aa)](_0x1ce9d7,TestFrameworkState['TEST'])||CLIUtils[_0x437269(0x1a1)](_0x1ce9d7[_0x437269(0x1c8)]()['split']('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x1a6a2e);}async['sendTestFrameworkEvent'](_0x4a6214){const _0x12c010=a85_0x24e28a,_0x4097d0={};_0x4097d0[_0x12c010(0x1ca)]=function(_0x33262e,_0x151141){return _0x33262e===_0x151141;},_0x4097d0[_0x12c010(0x18b)]='sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event';const _0x367bda=_0x4097d0;try{const _0x3b9732=BrowserstackCLI[_0x12c010(0x17c)]()[_0x12c010(0x19e)]()[_0x12c010(0x197)](_0x4a6214);if(!_0x3b9732||_0x367bda[_0x12c010(0x1ca)](Object[_0x12c010(0x1ce)](_0x3b9732)[_0x12c010(0x1a2)],0x0)){this[_0x12c010(0x1c6)][_0x12c010(0x19f)](_0x367bda[_0x12c010(0x18b)]);return;}const _0x1d803f=await GrpcClient[_0x12c010(0x17c)]()[_0x12c010(0x16f)](_0x3b9732);this[_0x12c010(0x1c6)]['debug'](_0x12c010(0x176)+_0x3b9732['testFrameworkState']+_0x12c010(0x1a5)+_0x3b9732['hookState']);}catch(_0x167360){this[_0x12c010(0x1c6)]['error']('Error\x20in\x20sendTestFrameworkEvent:\x20'+util[_0x12c010(0x1b8)](_0x167360));}}async[a85_0x24e28a(0x16e)](_0x608dad){const _0x96e429=a85_0x24e28a,_0x262d1e={'rjZwI':function(_0x1acfec,_0x3bfcb6){return _0x1acfec===_0x3bfcb6;},'hMKAU':_0x96e429(0x1af),'QJUxY':function(_0x54ac66,_0x28b32e){return _0x54ac66(_0x28b32e);},'BAaKe':function(_0x2a2971){return _0x2a2971();},'XFcUU':_0x96e429(0x183),'EQPAq':function(_0x28a0a9,_0x1f352c){return _0x28a0a9===_0x1f352c;}};try{if(_0x608dad[_0x96e429(0x18a)]){const _0x226126=this[_0x96e429(0x192)](_0x608dad);this[_0x96e429(0x1c6)][_0x96e429(0x19f)](_0x96e429(0x1ac)+_0x226126);if(this['testFrameworkData']&&_0x262d1e[_0x96e429(0x19d)](this[_0x96e429(0x1a3)][_0x96e429(0x194)],FRAMEWORKS[_0x96e429(0x1be)])&&!_0x608dad[_0x96e429(0x1d7)]){this[_0x96e429(0x1c6)][_0x96e429(0x19f)](_0x262d1e['hMKAU']);return;}let _0x1444a5,_0x5bdbeb;if(this['testFrameworkData']&&_0x262d1e['rjZwI'](this[_0x96e429(0x1a3)][_0x96e429(0x194)],FRAMEWORKS[_0x96e429(0x1b6)]))_0x1444a5=_0x226126,_0x5bdbeb=TestInfo[_0x96e429(0x1ad)](_0x1444a5);else this[_0x96e429(0x1a3)]&&_0x262d1e[_0x96e429(0x19d)](this[_0x96e429(0x1a3)][_0x96e429(0x194)],FRAMEWORKS[_0x96e429(0x1be)])?(_0x1444a5=this[_0x96e429(0x19a)][_0x96e429(0x188)](_0x608dad['testInfo']),this[_0x96e429(0x1c6)]['debug'](_0x96e429(0x1db)+_0x1444a5)):(_0x1444a5=TestInfo[_0x96e429(0x1cb)](_0x608dad[_0x96e429(0x1d7)],_0x608dad[_0x96e429(0x1d7)]['retry']),_0x5bdbeb=TestInfo[_0x96e429(0x1ad)](_0x1444a5));const _0x4432e9=TestInfo[_0x96e429(0x175)](_0x1444a5),_0x28a455=_0x608dad['instance'],_0x544e4c=AutomationFramework[_0x96e429(0x1b2)](_0x28a455,PlaywrightDriverModule[_0x96e429(0x1bc)]),_0x53f218=_0x4432e9?.[TestFrameworkConstants[_0x96e429(0x1b5)]]||this[_0x96e429(0x1a3)]&&this[_0x96e429(0x1a3)][_0x96e429(0x194)],_0x13b390=_0x4432e9?.[TestFrameworkConstants[_0x96e429(0x170)]]||this[_0x96e429(0x1a3)]&&this[_0x96e429(0x1a3)][_0x96e429(0x1c0)],_0x5228e7=TestFrameworkState[_0x96e429(0x1cd)]['toString']()[_0x96e429(0x1d0)]('.')[0x1],_0x21d8ea=HookState[_0x96e429(0x1d5)][_0x96e429(0x1c8)]()[_0x96e429(0x1d0)]('.')[0x1],_0x7064f3=_0x28a455[_0x96e429(0x1cf)](),_0x385088=AutomationFramework[_0x96e429(0x1b2)](_0x28a455,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x2b9b0a={'provider':_0x262d1e[_0x96e429(0x17f)](getPlaywrightProvider,_0x385088),'frameworkName':_0x28a455[_0x96e429(0x1b3)],'frameworkVersion':_0x28a455[_0x96e429(0x18c)],'frameworkSessionId':LoadTestModule[_0x96e429(0x193)]()?LoadTestModule[_0x96e429(0x1d1)]():AutomationFramework[_0x96e429(0x1b2)](_0x28a455,PlaywrightDriverModule[_0x96e429(0x17e)],''),'ref':_0x28a455[_0x96e429(0x17d)](),'hubUrl':_0x385088,'product':_0x262d1e[_0x96e429(0x174)](getProductForSession)};let _0x2c4990=AutomationFramework['getState'](_0x28a455,PlaywrightDriverModule[_0x96e429(0x17a)],{});_0x2c4990=Buffer['from'](JSON[_0x96e429(0x187)](_0x2c4990))['toString'](_0x262d1e[_0x96e429(0x1d8)]);const _0x54bc22={'hash':_0x7064f3[_0x96e429(0x1d4)](),'threadId':_0x7064f3[_0x96e429(0x1c7)]()[_0x96e429(0x1c8)](),'processId':_0x7064f3[_0x96e429(0x182)]()[_0x96e429(0x1c8)]()},_0x14212e={};_0x14212e[_0x96e429(0x178)]=_0x1444a5;const _0x2d0347={};_0x2d0347[_0x96e429(0x1d6)]=_0x5bdbeb;const _0x519d67={'platformIndex':_0x544e4c,'testFrameworkName':_0x53f218,'testFrameworkVersion':_0x13b390,'testFrameworkState':_0x5228e7,'testHookState':_0x21d8ea,...this[_0x96e429(0x1a3)]&&_0x262d1e[_0x96e429(0x184)](this[_0x96e429(0x1a3)][_0x96e429(0x194)],FRAMEWORKS[_0x96e429(0x1be)])?_0x14212e:_0x2d0347,'automationSession':_0x2b9b0a,'capabilities':_0x2c4990,'executionContext':_0x54bc22};this['logger'][_0x96e429(0x19f)](_0x96e429(0x19c)+util[_0x96e429(0x1b8)](_0x519d67));const _0x30715f=await GrpcClient[_0x96e429(0x17c)]()['testSessionEvent'](_0x519d67);this[_0x96e429(0x1c6)][_0x96e429(0x19f)]('onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x226126+(this['testFrameworkData']&&_0x262d1e['rjZwI'](this[_0x96e429(0x1a3)][_0x96e429(0x194)],FRAMEWORKS[_0x96e429(0x1be)])?_0x96e429(0x17b)+_0x1444a5:''));}}catch(_0x28e8e1){this[_0x96e429(0x1c6)][_0x96e429(0x1bb)](_0x96e429(0x1a9)+util[_0x96e429(0x1b8)](_0x28e8e1));}}}TestHubModule[a85_0x24e28a(0x189)]='TestHubModule',TestHubModule[a85_0x24e28a(0x18d)]=a85_0x24e28a(0x1b7),module[a85_0x24e28a(0x1ae)]=TestHubModule;function a85_0x2500(_0x351111,_0x152fc1){const _0x4841c2=a85_0x4841();return a85_0x2500=function(_0x250011,_0xf8342b){_0x250011=_0x250011-0x16e;let _0x297cf1=_0x4841c2[_0x250011];return _0x297cf1;},a85_0x2500(_0x351111,_0x152fc1);}function a85_0x4841(){const _0x10336e=['onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','3124472qKohJd','./playwrightDriverModule.js','getState','frameworkName','getCurrentTestState','KEY_TEST_FRAMEWORK_NAME','CUCUMBER','test_deferred','format','getJwt','../cliUtils.js','error','KEY_PLATFORM_INDEX','getModuleName','JEST','mwQGk','version','util','../framework/automationFramework.js','../state/testFrameworkState.js','./baseModule','forEach','logger','getThreadId','toString','../../../helpers/test-observability/constants.js','LYBUV','getTestIdentifierFromTestInfo','BROWSERSTACK_TESTHUB_UUID','TEST','keys','getContext','split','getLTSSessionId','../TestInfo.js','registerObserver','getId','POST','testUuid','testInfo','XFcUU','TestHubModule','BROWSERSTACK_TESTHUB_JWT','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','../browserstackCLI.js','onPageCreate','testFrameworkEvent','KEY_TEST_FRAMEWORK_VERSION','onAllTestEvents','0|7|8|3|4|5|2|1|6','2790130GzPVUx','BAaKe','getTestDetails','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','values','test_identifier','../../../helpers/testhub/constants','KEY_CAPABILITIES',',\x20test_identifier:\x20','getInstance','getRef','KEY_SESSION_ID','QJUxY','testhubConfig','env','getProcessId','base64','EQPAq','595447YfzMsl','220488sPpMAx','stringify','recreateIdentifierFromTestInfo','MODULE_NAME','page','EMwvH','frameworkVersion','KEY_TEST_DEFERRED','ENV_VAR','jmQPL','12217226TyYtxz','../utils/jest-utils.js','getTestId','isLTSSession','name','./loadTestModule.js','229416AqNkbZ','createTestFrameworkEventPayload','../state/automationFrameworkState.js','O11yHashedID','jestUtils','CREATE','onPageCreate\x20CBTSession\x20payload:\x20','rjZwI','getTestFramework','debug','bind','matchHookRegex','length','testFrameworkData','../state/hookState.js','\x20hookState:\x20','../../../helpers/helper.js','5206026puCiwR','../grpcClient.js','Error\x20in\x20sending\x20CBTSession:\x20','ZAGpt','getBuildHashedId','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','getTestUUID','exports'];a85_0x4841=function(){return _0x10336e;};return a85_0x4841();}
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 +1 @@
1
- const a86_0x336bc6=a86_0xec99;(function(_0x5671a9,_0x1647e6){const _0x3d66f7=a86_0xec99,_0x184ea9=_0x5671a9();while(!![]){try{const _0x3fa6ba=parseInt(_0x3d66f7(0x6b))/0x1*(-parseInt(_0x3d66f7(0x6c))/0x2)+parseInt(_0x3d66f7(0x76))/0x3+parseInt(_0x3d66f7(0x6e))/0x4*(-parseInt(_0x3d66f7(0x6f))/0x5)+parseInt(_0x3d66f7(0x78))/0x6*(-parseInt(_0x3d66f7(0x7a))/0x7)+-parseInt(_0x3d66f7(0x75))/0x8*(parseInt(_0x3d66f7(0x74))/0x9)+parseInt(_0x3d66f7(0x70))/0xa+-parseInt(_0x3d66f7(0x7b))/0xb*(-parseInt(_0x3d66f7(0x6a))/0xc);if(_0x3fa6ba===_0x1647e6)break;else _0x184ea9['push'](_0x184ea9['shift']());}catch(_0xaaf3bc){_0x184ea9['push'](_0x184ea9['shift']());}}}(a86_0x4a93,0xeff4f));const {PLAYWRIGHT}=require(a86_0x336bc6(0x77)),a86_0x191f3e={};function a86_0x4a93(){const _0x33cb04=['1Khbtyq','178246UCDRLK','AutomationFrameworkState.IDLE','4089788fvayYV','5JeEMHF','7744690gSWznS','AutomationFrameworkState.EXECUTE','TSyft','AutomationFrameworkState.QUIT','18zIQzDL','807816EEpOBB','3837594bbLlzY','../../utils/constants','12486PGPYdv','WPjeq','539wmCVqO','492503eqTGgF','WScBk','XYRfK','values','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','toString','find','ktlOl','value','108LnGUlD'];a86_0x4a93=function(){return _0x33cb04;};return a86_0x4a93();}a86_0x191f3e[a86_0x336bc6(0x69)]=0x0,a86_0x191f3e[a86_0x336bc6(0x80)]=function(){const _0x5292f3=a86_0x336bc6,_0x141654={};_0x141654[_0x5292f3(0x72)]='AutomationFrameworkState.NONE';const _0xfcd099=_0x141654;return _0xfcd099['TSyft'];};const a86_0x2a1959={};a86_0x2a1959['value']=0x1,a86_0x2a1959[a86_0x336bc6(0x80)]=function(){const _0xbaa0bb=a86_0x336bc6,_0x56501a={};_0x56501a[_0xbaa0bb(0x7c)]='AutomationFrameworkState.CREATE';const _0x134cc5=_0x56501a;return _0x134cc5['WScBk'];};const a86_0x45835d={};a86_0x45835d[a86_0x336bc6(0x69)]=0x2,a86_0x45835d[a86_0x336bc6(0x80)]=function(){const _0x10a739=a86_0x336bc6,_0x49e170={};_0x49e170[_0x10a739(0x79)]=_0x10a739(0x7f);const _0x202733=_0x49e170;return _0x202733[_0x10a739(0x79)];};const a86_0x2b406d={};a86_0x2b406d['value']=0x3,a86_0x2b406d[a86_0x336bc6(0x80)]=function(){const _0x51c539=a86_0x336bc6,_0x12cdf0={};_0x12cdf0[_0x51c539(0x7d)]=_0x51c539(0x71);const _0x1b3e8b=_0x12cdf0;return _0x1b3e8b[_0x51c539(0x7d)];};const a86_0x5a059c={};a86_0x5a059c['value']=0x4,a86_0x5a059c[a86_0x336bc6(0x80)]=function(){const _0x594dc3=a86_0x336bc6,_0x476b5f={};_0x476b5f[_0x594dc3(0x68)]=_0x594dc3(0x6d);const _0xb2b87b=_0x476b5f;return _0xb2b87b[_0x594dc3(0x68)];};function a86_0xec99(_0x12f7fb,_0x5dd9ef){const _0x4a930f=a86_0x4a93();return a86_0xec99=function(_0xec9940,_0x361169){_0xec9940=_0xec9940-0x68;let _0x1f077a=_0x4a930f[_0xec9940];return _0x1f077a;},a86_0xec99(_0x12f7fb,_0x5dd9ef);}const a86_0x3671bd={};a86_0x3671bd[a86_0x336bc6(0x69)]=0x5,a86_0x3671bd[a86_0x336bc6(0x80)]=function(){const _0x5e6a2d=a86_0x336bc6,_0x271b44={};_0x271b44['uJSCJ']=_0x5e6a2d(0x73);const _0x51c89e=_0x271b44;return _0x51c89e['uJSCJ'];};const AutomationFrameworkState=Object['freeze']({'NONE':a86_0x191f3e,'CREATE':a86_0x2a1959,'PLAYWRIGHT_DISPATCH':a86_0x45835d,'EXECUTE':a86_0x2b406d,'IDLE':a86_0x5a059c,'QUIT':a86_0x3671bd,'fromValue'(_0x388695){const _0x460e8e=a86_0x336bc6;return Object[_0x460e8e(0x7e)](AutomationFrameworkState)[_0x460e8e(0x81)](_0x4880b8=>_0x4880b8[_0x460e8e(0x69)]===_0x388695);}});module['exports']=AutomationFrameworkState;
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 +1 @@
1
- const a87_0x425ff4=a87_0xc280;(function(_0x53336c,_0x404219){const _0x43505e=a87_0xc280,_0x5c1ec7=_0x53336c();while(!![]){try{const _0x9b4ecb=parseInt(_0x43505e(0x121))/0x1*(-parseInt(_0x43505e(0x122))/0x2)+-parseInt(_0x43505e(0x12a))/0x3+parseInt(_0x43505e(0x123))/0x4*(parseInt(_0x43505e(0x12f))/0x5)+parseInt(_0x43505e(0x12e))/0x6+-parseInt(_0x43505e(0x128))/0x7+parseInt(_0x43505e(0x126))/0x8+parseInt(_0x43505e(0x125))/0x9;if(_0x9b4ecb===_0x404219)break;else _0x5c1ec7['push'](_0x5c1ec7['shift']());}catch(_0x430952){_0x5c1ec7['push'](_0x5c1ec7['shift']());}}}(a87_0xbbce,0xafb30));const a87_0x72fa56={};a87_0x72fa56[a87_0x425ff4(0x132)]=0x0,a87_0x72fa56[a87_0x425ff4(0x134)]=function(){const _0x266ee6=a87_0x425ff4,_0x5ff90f={};_0x5ff90f['KtFMg']=_0x266ee6(0x130);const _0x2b6f8b=_0x5ff90f;return _0x2b6f8b['KtFMg'];};const a87_0x213eb1={};function a87_0xbbce(){const _0x3eba83=['uqKGx','ptZTD','HookState.POST','693852tHqTgJ','495cYUdfe','HookState.NONE','freeze','value','values','toString','47219nzzlZH','44ViZnsc','32108uLBNhY','HookState.PRE','1467378ZpEDAk','7707288jPtWMR','exports','63301FtrYnC','find','807729eOuroN'];a87_0xbbce=function(){return _0x3eba83;};return a87_0xbbce();}a87_0x213eb1[a87_0x425ff4(0x132)]=0x1,a87_0x213eb1['toString']=function(){const _0x5928a2=a87_0x425ff4,_0x5c0e33={};_0x5c0e33['ptZTD']=_0x5928a2(0x124);const _0x49e88e=_0x5c0e33;return _0x49e88e[_0x5928a2(0x12c)];};const a87_0x200e1c={};a87_0x200e1c[a87_0x425ff4(0x132)]=0x2,a87_0x200e1c['toString']=function(){const _0x143e2f=a87_0x425ff4,_0x6682ae={};_0x6682ae[_0x143e2f(0x12b)]=_0x143e2f(0x12d);const _0x3fd58f=_0x6682ae;return _0x3fd58f[_0x143e2f(0x12b)];};function a87_0xc280(_0x43424c,_0x30074a){const _0xbbce89=a87_0xbbce();return a87_0xc280=function(_0xc28081,_0x5b1694){_0xc28081=_0xc28081-0x121;let _0x2b54da=_0xbbce89[_0xc28081];return _0x2b54da;},a87_0xc280(_0x43424c,_0x30074a);}const HookState=Object[a87_0x425ff4(0x131)]({'NONE':a87_0x72fa56,'PRE':a87_0x213eb1,'POST':a87_0x200e1c,'fromValue'(_0x1994fe){const _0x3da051=a87_0x425ff4;return Object[_0x3da051(0x133)](HookState)[_0x3da051(0x129)](_0x10f501=>_0x10f501[_0x3da051(0x132)]===_0x1994fe);}});module[a87_0x425ff4(0x127)]=HookState;
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 +1 @@
1
- const a88_0x28d6c0=a88_0x5368;(function(_0xd7244f,_0x3c185a){const _0x445214=a88_0x5368,_0x4e268e=_0xd7244f();while(!![]){try{const _0x521442=parseInt(_0x445214(0x1bf))/0x1*(-parseInt(_0x445214(0x1bb))/0x2)+parseInt(_0x445214(0x1be))/0x3+-parseInt(_0x445214(0x1af))/0x4+parseInt(_0x445214(0x1c9))/0x5*(parseInt(_0x445214(0x1ba))/0x6)+-parseInt(_0x445214(0x1c4))/0x7*(-parseInt(_0x445214(0x1c6))/0x8)+parseInt(_0x445214(0x1b2))/0x9+-parseInt(_0x445214(0x1a9))/0xa;if(_0x521442===_0x3c185a)break;else _0x4e268e['push'](_0x4e268e['shift']());}catch(_0x4a2e7d){_0x4e268e['push'](_0x4e268e['shift']());}}}(a88_0xb565,0x873a8));const a88_0x7d5a37={};a88_0x7d5a37[a88_0x28d6c0(0x1ab)]=0x0,a88_0x7d5a37[a88_0x28d6c0(0x1c2)]=function(){const _0x2feb48=a88_0x28d6c0,_0x745495={};_0x745495[_0x2feb48(0x1b4)]=_0x2feb48(0x1b0);const _0x57ece4=_0x745495;return _0x57ece4[_0x2feb48(0x1b4)];};const a88_0x3da261={};a88_0x3da261[a88_0x28d6c0(0x1ab)]=0x1,a88_0x3da261[a88_0x28d6c0(0x1c2)]=function(){const _0x570bdd=a88_0x28d6c0,_0x4c729e={};_0x4c729e[_0x570bdd(0x1c0)]=_0x570bdd(0x1c5);const _0x5c2bfc=_0x4c729e;return _0x5c2bfc['VdvBC'];};const a88_0x34cf9d={};a88_0x34cf9d[a88_0x28d6c0(0x1ab)]=0x2,a88_0x34cf9d[a88_0x28d6c0(0x1c2)]=function(){const _0xb9dd2e=a88_0x28d6c0,_0x2578a7={};_0x2578a7['dePee']=_0xb9dd2e(0x1ca);const _0x297cb0=_0x2578a7;return _0x297cb0['dePee'];};const a88_0x18bc18={};a88_0x18bc18[a88_0x28d6c0(0x1ab)]=0x3,a88_0x18bc18[a88_0x28d6c0(0x1c2)]=function(){const _0x1422f2=a88_0x28d6c0,_0x35d98e={};_0x35d98e[_0x1422f2(0x1b9)]=_0x1422f2(0x1aa);const _0x575af2=_0x35d98e;return _0x575af2[_0x1422f2(0x1b9)];};const a88_0x398e45={};function a88_0xb565(){const _0x36bcb7=['TestFrameworkState.LOG','BbVvZ','PqFbR','TestFrameworkState.AFTER_ALL','1527270akxyWb','TestFrameworkState.SETUP_FIXTURE','value','TestFrameworkState.INIT_TEST','WgbfL','LhasS','209844gfOexS','TestFrameworkState.NONE','BsRes','3023442aDqKFZ','TestFrameworkState.BEFORE_EACH','qPBMI','HYKno','XiwNu','TestFrameworkState.AFTER_EACH','freeze','WHkYR','27384JlUuRs','134fFtkpY','find','TestFrameworkState.TEST_SCREENSHOT','1438059uBBlrI','6514LbkVsL','VdvBC','TestFrameworkState.TEST','toString','DxiHa','21YNQtaI','TestFrameworkState.BEFORE_ALL','989608XVvHda','TestFrameworkState.STEP','values','10WOcpmC'];a88_0xb565=function(){return _0x36bcb7;};return a88_0xb565();}a88_0x398e45[a88_0x28d6c0(0x1ab)]=0x4,a88_0x398e45[a88_0x28d6c0(0x1c2)]=function(){const _0x1fe88f=a88_0x28d6c0,_0x28c502={};_0x28c502[_0x1fe88f(0x1c3)]=_0x1fe88f(0x1ac);const _0x1aefb7=_0x28c502;return _0x1aefb7[_0x1fe88f(0x1c3)];};const a88_0x280259={};a88_0x280259[a88_0x28d6c0(0x1ab)]=0x5,a88_0x280259[a88_0x28d6c0(0x1c2)]=function(){const _0x442701=a88_0x28d6c0,_0x212908={};_0x212908[_0x442701(0x1ae)]=_0x442701(0x1b3);const _0x2e6675=_0x212908;return _0x2e6675[_0x442701(0x1ae)];};const a88_0x159cea={};a88_0x159cea[a88_0x28d6c0(0x1ab)]=0x6,a88_0x159cea[a88_0x28d6c0(0x1c2)]=function(){const _0x3403ee=a88_0x28d6c0,_0x43ee24={};_0x43ee24['HYKno']=_0x3403ee(0x1b7);const _0x4df0f5=_0x43ee24;return _0x4df0f5[_0x3403ee(0x1b5)];};const a88_0x5995eb={};a88_0x5995eb[a88_0x28d6c0(0x1ab)]=0x7,a88_0x5995eb[a88_0x28d6c0(0x1c2)]=function(){const _0x439f43=a88_0x28d6c0,_0x4be208={};_0x4be208['BbVvZ']=_0x439f43(0x1c1);const _0x39f7b6=_0x4be208;return _0x39f7b6[_0x439f43(0x1a6)];};const a88_0x3baea4={};a88_0x3baea4[a88_0x28d6c0(0x1ab)]=0x8,a88_0x3baea4[a88_0x28d6c0(0x1c2)]=function(){const _0x1b915e=a88_0x28d6c0,_0x45dfc1={};_0x45dfc1[_0x1b915e(0x1b6)]=_0x1b915e(0x1c7);const _0x171128=_0x45dfc1;return _0x171128[_0x1b915e(0x1b6)];};const a88_0x2a9e08={};a88_0x2a9e08[a88_0x28d6c0(0x1ab)]=0x9,a88_0x2a9e08[a88_0x28d6c0(0x1c2)]=function(){const _0x307957=a88_0x28d6c0,_0x59feab={};_0x59feab['WgbfL']='TestFrameworkState.LOG_REPORT';const _0xda1855=_0x59feab;return _0xda1855[_0x307957(0x1ad)];};const a88_0x5911bd={};a88_0x5911bd[a88_0x28d6c0(0x1ab)]=0xa,a88_0x5911bd['toString']=function(){const _0x1a02f8=a88_0x28d6c0,_0x57ffc4={};_0x57ffc4[_0x1a02f8(0x1b1)]=_0x1a02f8(0x1a8);const _0x3dd9a8=_0x57ffc4;return _0x3dd9a8[_0x1a02f8(0x1b1)];};const a88_0x4153a1={};function a88_0x5368(_0x281cf8,_0x2ce47d){const _0xb5657b=a88_0xb565();return a88_0x5368=function(_0x5368e8,_0x20b6ce){_0x5368e8=_0x5368e8-0x1a6;let _0x1817f8=_0xb5657b[_0x5368e8];return _0x1817f8;},a88_0x5368(_0x281cf8,_0x2ce47d);}a88_0x4153a1[a88_0x28d6c0(0x1ab)]=0xb,a88_0x4153a1[a88_0x28d6c0(0x1c2)]=function(){const _0x103343=a88_0x28d6c0,_0x42d447={};_0x42d447[_0x103343(0x1a7)]=_0x103343(0x1bd);const _0x26edc8=_0x42d447;return _0x26edc8[_0x103343(0x1a7)];};const TestFrameworkState=Object[a88_0x28d6c0(0x1b8)]({'NONE':a88_0x7d5a37,'BEFORE_ALL':a88_0x3da261,'LOG':a88_0x34cf9d,'SETUP_FIXTURE':a88_0x18bc18,'INIT_TEST':a88_0x398e45,'BEFORE_EACH':a88_0x280259,'AFTER_EACH':a88_0x159cea,'TEST':a88_0x5995eb,'STEP':a88_0x3baea4,'LOG_REPORT':a88_0x2a9e08,'AFTER_ALL':a88_0x5911bd,'TEST_SCREENSHOT':a88_0x4153a1,'fromValue'(_0x5a4db4){const _0x11e459=a88_0x28d6c0;return Object[_0x11e459(0x1c8)](TestFrameworkState)[_0x11e459(0x1bc)](_0x254c19=>_0x254c19[_0x11e459(0x1ab)]===_0x5a4db4);}});module['exports']=TestFrameworkState;
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 +1 @@
1
- function a89_0x157a(_0x58b46a,_0x198fcd){const _0x461c72=a89_0x461c();return a89_0x157a=function(_0x157a95,_0x36c1b6){_0x157a95=_0x157a95-0x1ae;let _0x23cdb5=_0x461c72[_0x157a95];return _0x23cdb5;},a89_0x157a(_0x58b46a,_0x198fcd);}const a89_0x442f62=a89_0x157a;(function(_0x5aaca0,_0x4e604b){const _0x4f1289=a89_0x157a,_0x7298c8=_0x5aaca0();while(!![]){try{const _0x4e5b34=parseInt(_0x4f1289(0x1b8))/0x1*(-parseInt(_0x4f1289(0x1d8))/0x2)+-parseInt(_0x4f1289(0x229))/0x3*(-parseInt(_0x4f1289(0x217))/0x4)+parseInt(_0x4f1289(0x1f1))/0x5+parseInt(_0x4f1289(0x1c0))/0x6+parseInt(_0x4f1289(0x1ca))/0x7+parseInt(_0x4f1289(0x1d9))/0x8+-parseInt(_0x4f1289(0x1e2))/0x9;if(_0x4e5b34===_0x4e604b)break;else _0x7298c8['push'](_0x7298c8['shift']());}catch(_0x1698e1){_0x7298c8['push'](_0x7298c8['shift']());}}}(a89_0x461c,0x6060d));function a89_0x461c(){const _0x4a8f99=['rKqGP','./state/hookState','pipe','./state/testFrameworkState','wUNji','format','statusCode','vCOdD','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','bnTnA','finish','106QGjuqg','425416aSKpqd','getAllData','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','ESOVX','unlinkSync','getTestFramework','logger','WytjR','FTbxg','6372819UNUdvk','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','QjnnO','close','trim','./framework/constants/testFrameworkConstants','JMhkg','KEY_TEST_ATTACHMENTS','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','recursive','getState','startsWith','toObject','getInstance','2872420PrNoIa','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','KEY_FILE_SIZE','OKvat','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','JNwTd','QUaGv','mzvYI','./browserstackCLI','File\x20downloaded\x20to:\x20%s','isRunning','hfmOZ','Created\x20.browserstack\x20folder\x20at:\x20%s','jOlbx','message','rmSync','util','XgVRH','sluiX','GmMPR','KEY_FILE_NAME','trackFile','debug','resolveInstance','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','homedir','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','SlvDn','mkdirSync','size','TestHubModule','LUrwX',',\x20filepath:\x20','http','uiuBT','./TestInfo','XVPof','getTestIdentifierFromTestInfo','195912QjGRwi','.browserstack','path','toFixed','buildHashedId','uploadAttachments','join','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','__workerDetails','./modules/playwrightDriverModule','jEqIe','setTestDetails','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','http://','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','getTrackedInstance','NmZps','dToxB','3ZLQPjF','../../helpers/classLogger.js','uploadAttachmentsManager','https','get','CEMME','UDsBb','OHzUY','xLoSI','DfaFt','error','createWriteStream','existsSync','__jestCurrentTestIdentifier','basename','statSync','wkBnx','testInfo','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','9446zcFxZv','mrofv','TEST','copyFileSync','GYuMd','name','testhubConfig','GgENB','2438232MtvSKu','addMultipleEntries','oSsGy','force','Attachment\x20recevied\x20for\x20path:\x20%s','clearAttachments','getTestDetails','Created\x20folder:\x20%s','rSaAj','KEY_TEST_ID','3643381VtmDpk','FtQaC','FTKlF'];a89_0x461c=function(){return _0x4a8f99;};return a89_0x461c();}const os=require('os'),fs=require('fs'),path=require(a89_0x442f62(0x219)),util=require(a89_0x442f62(0x201)),BrowserstackCLI=require(a89_0x442f62(0x1f9)),https=require(a89_0x442f62(0x22c)),http=require(a89_0x442f62(0x212)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require(a89_0x442f62(0x220)),TestInfo=require(a89_0x442f62(0x214)),TestFrameworkConstants=require(a89_0x442f62(0x1e8)),{createClassLogger}=require(a89_0x442f62(0x22a));class uploadAttachmentsManager{static [a89_0x442f62(0x1df)]=createClassLogger(a89_0x442f62(0x22b));static[a89_0x442f62(0x21c)](_0x32b234,_0x13f748=![]){const _0x25d708=a89_0x442f62,_0x4c16b9={};_0x4c16b9[_0x25d708(0x1b5)]=function(_0x4428b8,_0x114cd4){return _0x4428b8/_0x114cd4;},_0x4c16b9[_0x25d708(0x231)]=function(_0x317400,_0x4b836b){return _0x317400*_0x4b836b;},_0x4c16b9['wUNji']=function(_0x33c81e,_0x11c7a6){return _0x33c81e>_0x11c7a6;},_0x4c16b9[_0x25d708(0x210)]=_0x25d708(0x1e3),_0x4c16b9['OHzUY']=_0x25d708(0x1fa),_0x4c16b9['UDsBb']=function(_0x338714,_0x4aa75c){return _0x338714===_0x4aa75c;},_0x4c16b9[_0x25d708(0x1f6)]=_0x25d708(0x1d7),_0x4c16b9[_0x25d708(0x1f8)]='Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload',_0x4c16b9[_0x25d708(0x1e5)]=_0x25d708(0x1f2),_0x4c16b9[_0x25d708(0x1e9)]=_0x25d708(0x1c4),_0x4c16b9[_0x25d708(0x1e1)]=_0x25d708(0x218),_0x4c16b9[_0x25d708(0x215)]=_0x25d708(0x209),_0x4c16b9[_0x25d708(0x1dc)]=_0x25d708(0x1fd),_0x4c16b9[_0x25d708(0x221)]=_0x25d708(0x1c7),_0x4c16b9[_0x25d708(0x1f7)]=_0x25d708(0x223),_0x4c16b9[_0x25d708(0x1bc)]='https://',_0x4c16b9[_0x25d708(0x20c)]=_0x25d708(0x224),_0x4c16b9[_0x25d708(0x1fc)]=_0x25d708(0x1af),_0x4c16b9[_0x25d708(0x1d6)]=_0x25d708(0x1b7),_0x4c16b9[_0x25d708(0x1cb)]=function(_0x283988,_0x4e0756){return _0x283988/_0x4e0756;},_0x4c16b9['jOlbx']=function(_0x4e5112,_0x363c08){return _0x4e5112*_0x363c08;},_0x4c16b9['dToxB']='File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.';const _0x3ccd26=_0x4c16b9;this['logger'][_0x25d708(0x207)](util['format'](_0x3ccd26[_0x25d708(0x1e9)],_0x32b234));const _0x57b97d=os['homedir'](),_0x23f906=path[_0x25d708(0x21d)](_0x57b97d,_0x3ccd26[_0x25d708(0x1e1)]);!fs[_0x25d708(0x1b1)](_0x23f906)&&(this[_0x25d708(0x1df)][_0x25d708(0x207)](util[_0x25d708(0x1d2)](_0x3ccd26[_0x25d708(0x215)],_0x23f906)),fs['mkdirSync'](_0x23f906),this[_0x25d708(0x1df)][_0x25d708(0x207)](util['format'](_0x3ccd26[_0x25d708(0x1dc)],_0x23f906)));const _0x2d850f=BrowserstackCLI['getInstance']()['modules']['TestHubModule']?.[_0x25d708(0x1be)]?.[_0x25d708(0x1ef)]()?.['buildHashedId'],_0x380058=path[_0x25d708(0x21d)](_0x23f906,_0x2d850f);!fs['existsSync'](_0x380058)&&(fs[_0x25d708(0x20d)](_0x380058),this[_0x25d708(0x1df)][_0x25d708(0x207)](util[_0x25d708(0x1d2)](_0x3ccd26[_0x25d708(0x221)],_0x380058)));if(_0x3ccd26[_0x25d708(0x22f)](_0x32b234[_0x25d708(0x1e7)](),'')){this[_0x25d708(0x1df)][_0x25d708(0x207)](util[_0x25d708(0x1d2)](_0x3ccd26[_0x25d708(0x1f7)]));return;}if(_0x32b234[_0x25d708(0x1ee)](_0x3ccd26[_0x25d708(0x1bc)])||_0x32b234[_0x25d708(0x1ee)](_0x3ccd26[_0x25d708(0x20c)])){const _0x15acf3=_0x32b234[_0x25d708(0x1ee)](_0x3ccd26[_0x25d708(0x1bc)])?https:http,_0x10f391=path[_0x25d708(0x1b3)](_0x32b234),_0x4bfc3f=path[_0x25d708(0x21d)](_0x380058,_0x10f391),_0x25a226=fs[_0x25d708(0x1b0)](_0x4bfc3f);_0x15acf3['get'](_0x32b234,_0x59624a=>{const _0x1e65f4=_0x25d708;if(_0x3ccd26['UDsBb'](_0x59624a['statusCode'],0xc8))_0x59624a[_0x1e65f4(0x1cf)](_0x25a226),_0x25a226['on'](_0x3ccd26[_0x1e65f4(0x1f6)],()=>{const _0x197a10=_0x1e65f4;_0x25a226[_0x197a10(0x1e6)]();const _0x4f9308=fs[_0x197a10(0x1b4)](_0x4bfc3f),_0x367ca1=_0x3ccd26[_0x197a10(0x1b5)](_0x4f9308[_0x197a10(0x20e)],_0x3ccd26['xLoSI'](0x400,0x400));if(_0x3ccd26[_0x197a10(0x1d1)](_0x367ca1,0x64)){this['logger'][_0x197a10(0x207)](util['format'](_0x3ccd26[_0x197a10(0x210)],_0x367ca1[_0x197a10(0x21a)](0x2))),fs[_0x197a10(0x1dd)](_0x4bfc3f);return;}this['logger'][_0x197a10(0x207)](util[_0x197a10(0x1d2)](_0x3ccd26[_0x197a10(0x230)],_0x4bfc3f)),uploadAttachmentsManager[_0x197a10(0x206)](_0x4bfc3f,_0x13f748);});else{this[_0x1e65f4(0x1df)]['debug'](util[_0x1e65f4(0x1d2)](_0x3ccd26[_0x1e65f4(0x1f8)],_0x59624a[_0x1e65f4(0x1d3)])),_0x25a226[_0x1e65f4(0x1e6)](),fs[_0x1e65f4(0x1dd)](_0x4bfc3f);return;}})['on'](_0x3ccd26[_0x25d708(0x1fc)],_0x3e2cb8=>{const _0x1fa38e=_0x25d708;this['logger'][_0x1fa38e(0x207)](util[_0x1fa38e(0x1d2)](_0x3ccd26[_0x1fa38e(0x1e5)],_0x3e2cb8[_0x1fa38e(0x1ff)])),_0x25a226[_0x1fa38e(0x1e6)](),fs[_0x1fa38e(0x1dd)](_0x4bfc3f);return;});}else{if(!fs[_0x25d708(0x1b1)](_0x32b234)){this[_0x25d708(0x1df)][_0x25d708(0x207)](util[_0x25d708(0x1d2)](_0x3ccd26[_0x25d708(0x1d6)],_0x32b234));return;}const _0x15dedc=fs[_0x25d708(0x1b4)](_0x32b234),_0x56bcab=_0x3ccd26[_0x25d708(0x1cb)](_0x15dedc[_0x25d708(0x20e)],_0x3ccd26[_0x25d708(0x1fe)](0x400,0x400));if(_0x3ccd26[_0x25d708(0x1d1)](_0x56bcab,0x64)){this[_0x25d708(0x1df)]['debug'](util[_0x25d708(0x1d2)](_0x3ccd26[_0x25d708(0x228)],_0x56bcab[_0x25d708(0x21a)](0x2)));return;}const _0x4e4fa3=path[_0x25d708(0x1b3)](_0x32b234),_0x497733=path[_0x25d708(0x21d)](_0x380058,_0x4e4fa3);fs[_0x25d708(0x1bb)](_0x32b234,_0x497733),uploadAttachmentsManager[_0x25d708(0x206)](_0x497733,_0x13f748);}}static[a89_0x442f62(0x206)](_0x37658a,_0x25758b){const _0x3cf827=a89_0x442f62,_0x2f8d28={'mrofv':function(_0x3f3d00,_0x597310){return _0x3f3d00(_0x597310);},'oSsGy':_0x3cf827(0x1f9),'pZMUp':function(_0xe17bde,_0x447679){return _0xe17bde(_0x447679);},'pGNqz':'./cliUtils','GmMPR':function(_0x4cf168,_0x41fd74){return _0x4cf168===_0x41fd74;},'sluiX':'jest','BBenO':'trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','rSaAj':'BuildLevel','XgVRH':'TestLevel','GgENB':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','OKvat':function(_0x440efc,_0x4d5d80){return _0x440efc(_0x4d5d80);},'pjcTh':_0x3cf827(0x1d0),'DfaFt':function(_0x133d32,_0x23b3cc){return _0x133d32(_0x23b3cc);},'NmZps':_0x3cf827(0x1ce),'FTKlF':_0x3cf827(0x1d5),'vCOdD':_0x3cf827(0x1eb),'uiuBT':_0x3cf827(0x225)};try{let _0x39873c;const _0x4a4500=global[_0x3cf827(0x21f)]?.['currentTest']?.[_0x3cf827(0x1b6)],_0x378b80=_0x2f8d28[_0x3cf827(0x1b9)](require,_0x2f8d28[_0x3cf827(0x1c2)]),_0x38eb96=_0x2f8d28['pZMUp'](require,_0x2f8d28['pGNqz']),_0x17152d=_0x378b80[_0x3cf827(0x1f0)]()[_0x3cf827(0x1fb)]()&&_0x2f8d28[_0x3cf827(0x204)](_0x38eb96['getTestFrameworkDetail']()?.[_0x3cf827(0x1bd)]?.['toLowerCase'](),_0x2f8d28[_0x3cf827(0x203)]);if(_0x17152d){_0x39873c=global[_0x3cf827(0x1b2)];if(!_0x39873c){const _0x597d89=AutomationFramework['getTrackedInstance']();_0x39873c=AutomationFramework[_0x3cf827(0x1ed)](_0x597d89,PlaywrightDriverModule[_0x3cf827(0x1c9)],'');}this[_0x3cf827(0x1df)][_0x3cf827(0x207)](_0x3cf827(0x1f5)+_0x39873c);}else{if(!_0x4a4500){const _0x59c7a6=AutomationFramework[_0x3cf827(0x226)]();_0x39873c=AutomationFramework[_0x3cf827(0x1ed)](_0x59c7a6,PlaywrightDriverModule[_0x3cf827(0x1c9)],'');}else _0x39873c=TestInfo[_0x3cf827(0x216)](_0x4a4500,_0x4a4500['retry']);this[_0x3cf827(0x1df)][_0x3cf827(0x207)](_0x3cf827(0x1db)+_0x39873c);}if(!_0x39873c){this[_0x3cf827(0x1df)]['debug'](_0x2f8d28['BBenO']);return;}const _0x1f8b16={[TestFrameworkConstants[_0x3cf827(0x1f3)]]:fs[_0x3cf827(0x1b4)](_0x37658a)[_0x3cf827(0x20e)],[TestFrameworkConstants[_0x3cf827(0x205)]]:path[_0x3cf827(0x1b3)](_0x37658a),[TestFrameworkConstants['KEY_FILE_PATH']]:_0x37658a,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0x25758b?_0x2f8d28[_0x3cf827(0x1c8)]:_0x2f8d28[_0x3cf827(0x202)]};if(_0x17152d){const _0x422540=_0x378b80[_0x3cf827(0x1f0)]()[_0x3cf827(0x1de)]();if(!_0x422540){this['logger'][_0x3cf827(0x207)](_0x2f8d28[_0x3cf827(0x1bf)]);return;}const _0x4bd092=_0x2f8d28[_0x3cf827(0x1f4)](require,_0x2f8d28['pjcTh']),_0x21ead7=_0x2f8d28[_0x3cf827(0x1ae)](require,_0x2f8d28[_0x3cf827(0x227)]),_0x3494de=_0x422540[_0x3cf827(0x208)](_0x4bd092[_0x3cf827(0x1ba)],_0x21ead7['POST']);if(!_0x3494de){this[_0x3cf827(0x1df)][_0x3cf827(0x207)](_0x2f8d28[_0x3cf827(0x1cc)]);return;}const _0x4059a3=_0x3494de[_0x3cf827(0x1da)]()[_0x3cf827(0x22d)](_0x39873c)||{},_0x168316=_0x4059a3[TestFrameworkConstants[_0x3cf827(0x1ea)]]||{},_0x6d5d3={..._0x168316};_0x6d5d3[_0x37658a]=_0x1f8b16;const _0x35b7d8=_0x6d5d3,_0x4f7461={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:_0x35b7d8},_0x134eeb={};_0x134eeb[_0x39873c]=_0x4f7461,_0x3494de[_0x3cf827(0x1c1)](_0x134eeb),this[_0x3cf827(0x1df)][_0x3cf827(0x207)](_0x3cf827(0x20b)+_0x39873c+_0x3cf827(0x211)+_0x37658a);}else{const _0x5b3a2e=TestInfo[_0x3cf827(0x1c6)](_0x39873c),_0x332688=_0x5b3a2e[TestFrameworkConstants[_0x3cf827(0x1ea)]]||{};_0x332688[_0x37658a]=_0x1f8b16,_0x5b3a2e[TestFrameworkConstants[_0x3cf827(0x1ea)]]=_0x332688,TestInfo[_0x3cf827(0x222)](_0x39873c,_0x5b3a2e),this[_0x3cf827(0x1df)][_0x3cf827(0x207)](_0x3cf827(0x21e)+_0x39873c+_0x3cf827(0x211)+_0x37658a);}this[_0x3cf827(0x1df)][_0x3cf827(0x207)](util[_0x3cf827(0x1d2)](_0x2f8d28[_0x3cf827(0x1d4)],_0x37658a));}catch(_0x4d8688){this[_0x3cf827(0x1df)][_0x3cf827(0x207)](util[_0x3cf827(0x1d2)](_0x2f8d28[_0x3cf827(0x213)],_0x4d8688[_0x3cf827(0x1ff)]));}}static[a89_0x442f62(0x1c5)](){const _0x29ff3f=a89_0x442f62,_0x3ca44a={};_0x3ca44a[_0x29ff3f(0x1cd)]=_0x29ff3f(0x218),_0x3ca44a['WytjR']=_0x29ff3f(0x1e4),_0x3ca44a['CEMME']='Cleared\x20attachment\x20folder';const _0x1cd8ec=_0x3ca44a,_0x144234=os[_0x29ff3f(0x20a)](),_0x28c78d=path[_0x29ff3f(0x21d)](_0x144234,_0x1cd8ec['rKqGP']);if(!fs[_0x29ff3f(0x1b1)](_0x28c78d))return;const _0x479ce9=BrowserstackCLI['getInstance']()['modules'][_0x29ff3f(0x20f)]?.['testhubConfig']?.[_0x29ff3f(0x1ef)]()?.[_0x29ff3f(0x21b)],_0x4e3645=_0x479ce9?path['join'](_0x28c78d,_0x479ce9):null;if(!_0x4e3645||!fs['existsSync'](_0x4e3645)){this['logger'][_0x29ff3f(0x207)](util[_0x29ff3f(0x1d2)](_0x1cd8ec[_0x29ff3f(0x1e0)],_0x479ce9));return;}const _0x3555d1={};_0x3555d1[_0x29ff3f(0x1ec)]=!![],_0x3555d1[_0x29ff3f(0x1c3)]=!![],fs[_0x29ff3f(0x200)](_0x4e3645,_0x3555d1),this[_0x29ff3f(0x1df)][_0x29ff3f(0x207)](util['format'](_0x1cd8ec[_0x29ff3f(0x22e)]));}}module['exports']=uploadAttachmentsManager;
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 +1 @@
1
- function a90_0x24a3(){const _0x25915b=['createTestFrameworkData','createHookData','astNodeIds','toLowerCase','ThzFr','testStepResult','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','bnkqu','bstack','fQqbX','JRotn','sWXfG','nKiAD','Exception\x20in\x20getHookRunEventData:\x20','winstonLogger','PaoHN','pickleStepId','configureGit','ynlrU','FAILED','sourceReference','scenario','sendHook','fJuTW','EaYgr','getTestUUID','ZrEwD','toISOString','find','value','getHookResult','JqjvR','OwUUo','status','backtrace','PJQIw','owGwO','../../../helpers/test-observability/error-handler.js','testStepFinished','YSAtv','relative','../TestInfo.js','ubrky','feature','nanos','getScenarioExamples','exports','DERza','JCogy','failureType','cells','_gitConfigPath','NCdCG','Unpau','failureData','timestamp','uri','getHookRunEventData','flatMap','util','getCucumberHookType','BEFORE_EACH','includes','exception','sendTestRunEventForCucumber','wjhEd','Ybzwl','map','_gitConfigured','tableBody','tags','tnFnt','DPaHB','AFTER_EACH','ScrAz','1329195EIQIVX','tUqkG','FEqWd','mWqvC','SKIPPED','join','VhFio','hooks','8658XJqDZT','AlQDM','finishedAt','AssertionError','djmbG','LVgKI','rule','failure','message','failed','DkiAJ','uuid','length','failure_type','548PLQqQm','path','strip-ansi','result','10lBdvjA','oyLNq','../../../helpers/logger.js','iskRc','duration_in_ms','fesTl','XYApY','debug','match','testCaseFinished','tagExpression','349yZCDVC','12721743arqLzr','every','OnYOg','hookId','AuKlv','UnhandledError','SMJQE','11689344OXgmQm','4501490djQTQn','forEach','YoGhf','2778kGSAvg','fSfYo','children','test','examples','push','name','Exception\x20in\x20createHookData:\x20','javascript','HookRunStarted','xtsty','8801292xPaaLm','caXjk','pending'];a90_0x24a3=function(){return _0x25915b;};return a90_0x24a3();}function a90_0x4b01(_0x445912,_0x312279){const _0x24a3fb=a90_0x24a3();return a90_0x4b01=function(_0x4b014a,_0x58ad0d){_0x4b014a=_0x4b014a-0x1ef;let _0x4adbd7=_0x24a3fb[_0x4b014a];return _0x4adbd7;},a90_0x4b01(_0x445912,_0x312279);}const a90_0x46e0a6=a90_0x4b01;(function(_0x3c0122,_0x369845){const _0x5b2ea9=a90_0x4b01,_0x5b5a1b=_0x3c0122();while(!![]){try{const _0x319f92=-parseInt(_0x5b2ea9(0x221))/0x1*(parseInt(_0x5b2ea9(0x22d))/0x2)+parseInt(_0x5b2ea9(0x204))/0x3*(parseInt(_0x5b2ea9(0x212))/0x4)+parseInt(_0x5b2ea9(0x1fc))/0x5+parseInt(_0x5b2ea9(0x238))/0x6+-parseInt(_0x5b2ea9(0x22a))/0x7+-parseInt(_0x5b2ea9(0x229))/0x8+parseInt(_0x5b2ea9(0x222))/0x9*(parseInt(_0x5b2ea9(0x216))/0xa);if(_0x319f92===_0x369845)break;else _0x5b5a1b['push'](_0x5b5a1b['shift']());}catch(_0x4d79ec){_0x5b5a1b['push'](_0x5b5a1b['shift']());}}}(a90_0x24a3,0xe8937));const path=require(a90_0x46e0a6(0x213)),util=require(a90_0x46e0a6(0x276)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require(a90_0x46e0a6(0x218))[a90_0x46e0a6(0x249)],{o11yClassErrorHandler}=require(a90_0x46e0a6(0x260)),TestInfo=require(a90_0x46e0a6(0x264)),hooksMap={};class CucumberUtils{constructor(){const _0x5e07cd=a90_0x46e0a6;this[_0x5e07cd(0x1f5)]=![],this[_0x5e07cd(0x26e)]=null;}async[a90_0x46e0a6(0x23b)](_0x5e71ba,_0x115f7f,_0x549819,_0x5e2925,_0x2d0b29,_0x34be74){const _0x1a0daa=a90_0x46e0a6,_0x215c12={'QEiIN':function(_0x260d34,_0x184dd7){return _0x260d34===_0x184dd7;},'OwUUo':_0x1a0daa(0x24e),'DPaHB':_0x1a0daa(0x20d),'Ybzwl':function(_0x33e6ac,_0x11fadd){return _0x33e6ac===_0x11fadd;},'SMJQE':_0x1a0daa(0x200),'OnYOg':'skipped','JqjvR':function(_0x200e6b,_0x2c438b){return _0x200e6b||_0x2c438b;},'NUQfu':function(_0x5218e1,_0x1eb7e3){return _0x5218e1+_0x1eb7e3;},'fSfYo':function(_0x45c219,_0x4179fa){return _0x45c219+_0x4179fa;},'ieZDv':_0x1a0daa(0x230),'fesTl':_0x1a0daa(0x235),'PaoHN':'cucumber','FEqWd':'pending','XYApY':'passed','BNSYC':function(_0x43d087,_0x2ca4fc){return _0x43d087!==_0x2ca4fc;},'tUqkG':function(_0x244b50,_0x431940){return _0x244b50/_0x431940;},'owGwO':_0x1a0daa(0x214),'ScrAz':function(_0x500118,_0x5456c7){return _0x500118(_0x5456c7);},'ZrEwD':'unknown','nhBIC':_0x1a0daa(0x207),'NCdCG':_0x1a0daa(0x227)},{feature:_0xd43175,scenario:_0x274595,steps:_0x536214,uuid:_0x44881d,startedAt:_0x421db2,finishedAt:_0x5c5635}=_0x215c12[_0x1a0daa(0x25a)](_0x5e71ba,{}),_0x3f5edd=this[_0x1a0daa(0x268)](_0x5e2925,_0x115f7f);await this[_0x1a0daa(0x24c)]();const _0x175a89=_0x3f5edd?_0x215c12['NUQfu'](_0x215c12[_0x1a0daa(0x22e)](_0x215c12['NUQfu'](_0x115f7f[_0x1a0daa(0x233)],'\x20('),_0x3f5edd[_0x1a0daa(0x201)](',\x20')),')'):_0x115f7f[_0x1a0daa(0x233)],_0x2d2575={'id':_0x2d0b29,'uuid':_0x2d0b29,'startedAt':_0x421db2,'finishedAt':_0x5c5635,'type':_0x215c12['ieZDv'],'body':{'lang':_0x215c12[_0x1a0daa(0x21b)],'code':null},'name':_0x175a89,'scopes':[_0xd43175&&_0xd43175['name']?_0xd43175[_0x1a0daa(0x233)]:''],'tags':_0x115f7f[_0x1a0daa(0x1f7)]?_0x115f7f[_0x1a0daa(0x1f7)][_0x1a0daa(0x1f4)](({name:_0x1169c6})=>_0x1169c6):[],'file_name':_0x115f7f[_0x1a0daa(0x273)],'location':_0x115f7f[_0x1a0daa(0x273)],'vc_filepath':this[_0x1a0daa(0x26e)]&&_0x115f7f[_0x1a0daa(0x273)]?path[_0x1a0daa(0x263)](this[_0x1a0daa(0x26e)],_0x115f7f[_0x1a0daa(0x273)]):null,'framework':_0x215c12[_0x1a0daa(0x24a)],'result':_0x215c12[_0x1a0daa(0x1fe)],'meta':{'feature':_0xd43175,'scenario':_0x274595,'steps':_0x536214,'examples':_0x3f5edd},'customRerunParam':{'rerun_name':_0x175a89}};if(_0x549819[_0x1a0daa(0x21f)]&&_0x536214){const _0x4a5314=_0x549819[_0x1a0daa(0x21f)];let _0x42155d=_0x215c12[_0x1a0daa(0x21c)];_0x536214[_0x1a0daa(0x223)](_0x2833b4=>{const _0x194a95=_0x1a0daa;if(_0x215c12['QEiIN'](_0x2833b4[_0x194a95(0x215)],_0x215c12[_0x194a95(0x25b)]))return _0x42155d=_0x215c12[_0x194a95(0x1f9)],_0x4a5314[_0x194a95(0x20b)]=_0x2833b4[_0x194a95(0x20b)],_0x4a5314['failureType']=_0x2833b4[_0x194a95(0x26c)],![];else{if(_0x215c12[_0x194a95(0x1f3)](_0x2833b4[_0x194a95(0x215)],_0x215c12[_0x194a95(0x228)]))return _0x42155d=_0x215c12[_0x194a95(0x224)],![];}return!![];}),_0x2d2575[_0x1a0daa(0x206)]=new Date()[_0x1a0daa(0x256)](),_0x2d2575[_0x1a0daa(0x215)]=_0x42155d;_0x4a5314[_0x1a0daa(0x272)]&&_0x215c12['BNSYC'](_0x4a5314['timestamp'][_0x1a0daa(0x267)],undefined)?_0x2d2575[_0x1a0daa(0x21a)]=_0x215c12[_0x1a0daa(0x1fd)](_0x4a5314['timestamp']['nanos'],0xf4240):_0x2d2575[_0x1a0daa(0x21a)]=undefined;if(_0x215c12[_0x1a0daa(0x1f3)](_0x42155d,_0x215c12[_0x1a0daa(0x1f9)])){const {default:_0x1a5204}=await import(_0x215c12[_0x1a0daa(0x25f)]);_0x2d2575[_0x1a0daa(0x20b)]=[{'backtrace':[_0x4a5314[_0x1a0daa(0x20b)]?_0x215c12[_0x1a0daa(0x1fb)](_0x1a5204,_0x4a5314[_0x1a0daa(0x20b)]):_0x215c12[_0x1a0daa(0x255)]]}],_0x2d2575['failure_reason']=_0x4a5314[_0x1a0daa(0x20b)]?_0x215c12['ScrAz'](_0x1a5204,_0x4a5314[_0x1a0daa(0x20b)]):_0x4a5314[_0x1a0daa(0x20c)],_0x4a5314[_0x1a0daa(0x26c)]&&(_0x2d2575[_0x1a0daa(0x211)]=_0x4a5314[_0x1a0daa(0x26c)]['match'](/AssertError/)?_0x215c12['nhBIC']:_0x215c12[_0x1a0daa(0x26f)]);}}return _0x2d2575;}['getHookRunEventData'](_0x3b717f,_0xdaaaef,_0x4b8aff,_0x52da44,_0x2bbce4,_0x65bcf7){const _0x2dbdbe=a90_0x46e0a6,_0x550a50={'YSAtv':function(_0x23d252,_0x47b077){return _0x23d252===_0x47b077;},'tnFnt':'HookRunFinished','wjhEd':function(_0xb0f9ae,_0x4c2d6a,_0x8e8fbc){return _0xb0f9ae(_0x4c2d6a,_0x8e8fbc);},'PJQIw':'sourceReference','iskRc':_0x2dbdbe(0x273),'djmbG':_0x2dbdbe(0x23a),'JCogy':'hook','AuKlv':_0x2dbdbe(0x235),'fQqbX':_0x2dbdbe(0x266),'oyLNq':_0x2dbdbe(0x233),'JRotn':function(_0x19e8b0,_0x283c36,_0x1a1d9b){return _0x19e8b0(_0x283c36,_0x1a1d9b);},'caXjk':'cucumber'};try{if(_0x550a50[_0x2dbdbe(0x262)](_0x4b8aff,_0x550a50[_0x2dbdbe(0x1f8)])){const _0x28bc5e=new Date()['toISOString'](),_0x3ab67c=hooksMap[_0xdaaaef];if(!_0x3ab67c)return;const _0x10a939=_0x3ab67c[_0x2dbdbe(0x257)](_0x247980=>_0x247980[_0x2dbdbe(0x20f)]===_0x52da44['id']);if(!_0x10a939)return;const _0x50300b=this['getHookResult'](_0x3b717f,_0xdaaaef);_0x10a939[_0x2dbdbe(0x215)]=_0x50300b[_0x2dbdbe(0x25c)],_0x10a939['finished_at']=_0x28bc5e,_0x10a939['failure_type']=_0x50300b['failureType'];const _0x2c2e50={};return _0x2c2e50[_0x2dbdbe(0x25d)]=_0x50300b[_0x2dbdbe(0x271)],_0x10a939['failure_data']=[_0x2c2e50],_0x10a939;}const _0x461a28=TestInfo[_0x2dbdbe(0x254)](_0xdaaaef),_0x156de8=_0x3b717f['hooks'][_0x2dbdbe(0x257)](_0x286ea3=>_0x286ea3['id']===_0x52da44['hookId']),_0xe7826c=_0x550a50[_0x2dbdbe(0x1f2)](nestedKeyValue,_0x156de8,[_0x550a50[_0x2dbdbe(0x25e)],_0x550a50[_0x2dbdbe(0x219)]]),_0x4fa212=new Date()[_0x2dbdbe(0x256)](),_0x325d16=_0x550a50[_0x2dbdbe(0x208)],_0x4f1552=_0x156de8[_0x2dbdbe(0x220)]?_0x156de8[_0x2dbdbe(0x220)]['split']('\x20')['filter'](_0x4bcacb=>_0x4bcacb[_0x2dbdbe(0x1ef)]('@')):[],_0x303fff={'uuid':_0x52da44['id'],'type':_0x550a50[_0x2dbdbe(0x26b)],'hook_type':_0x65bcf7,'name':_0x156de8[_0x2dbdbe(0x233)],'body':{'lang':_0x550a50[_0x2dbdbe(0x226)],'code':null},'tags':_0x4f1552,'test_run_id':_0x461a28,'scope':_0x550a50[_0x2dbdbe(0x1f2)](nestedKeyValue,_0x2bbce4,[_0x550a50[_0x2dbdbe(0x244)],_0x550a50[_0x2dbdbe(0x217)]]),'scopes':[_0x550a50[_0x2dbdbe(0x245)](nestedKeyValue,_0x2bbce4,[_0x550a50['fQqbX'],_0x550a50[_0x2dbdbe(0x217)]])||''],'file_name':_0xe7826c,'location':_0xe7826c,'vc_filepath':this[_0x2dbdbe(0x26e)]?path[_0x2dbdbe(0x263)](this[_0x2dbdbe(0x26e)],_0xe7826c):null,'result':_0x325d16,'started_at':_0x4fa212,'framework':_0x550a50[_0x2dbdbe(0x239)]};return _0x303fff;}catch(_0x46805d){logger[_0x2dbdbe(0x21d)](_0x2dbdbe(0x248)+util['format'](_0x46805d)+'\x20');}}async[a90_0x46e0a6(0x23c)](_0x262754,_0x5824bc,_0x572754,_0x4ee4c0,_0x228462,_0x43c6be){const _0x3ac7cf=a90_0x46e0a6,_0x77ac0f={'QKnyB':function(_0x4a65b8,_0x171600){return _0x4a65b8===_0x171600;},'xtsty':_0x3ac7cf(0x236),'sWXfG':function(_0x2b6a62,_0x10a169,_0x49e4a8){return _0x2b6a62(_0x10a169,_0x49e4a8);},'ThzFr':_0x3ac7cf(0x24f),'fJuTW':_0x3ac7cf(0x273),'bnkqu':_0x3ac7cf(0x241),'DERza':function(_0xba7b15,_0x5dd0d5){return _0xba7b15===_0x5dd0d5;},'ryHZP':_0x3ac7cf(0x243)};try{const _0x43c429=_0x4ee4c0[_0x3ac7cf(0x257)](_0x48bf81=>_0x48bf81['id']===_0x228462);if(!_0x43c429['hookId'])return;const _0x23a823=this[_0x3ac7cf(0x277)](_0x4ee4c0,_0x43c429),_0x575b26=this[_0x3ac7cf(0x274)](_0x262754,_0x5824bc,_0x572754,_0x43c429,_0x43c6be,_0x23a823);if(!_0x575b26)return;_0x77ac0f['QKnyB'](_0x572754,_0x77ac0f[_0x3ac7cf(0x237)])&&(hooksMap[_0x5824bc]?hooksMap[_0x5824bc][_0x3ac7cf(0x232)](_0x575b26):hooksMap[_0x5824bc]=[_0x575b26]);const _0x15ad83=_0x262754[_0x3ac7cf(0x203)][_0x3ac7cf(0x257)](_0xa62019=>_0xa62019['id']===_0x43c429[_0x3ac7cf(0x225)]),_0x395261=_0x77ac0f[_0x3ac7cf(0x246)](nestedKeyValue,_0x15ad83,[_0x77ac0f[_0x3ac7cf(0x23f)],_0x77ac0f[_0x3ac7cf(0x252)]]);if(!_0x395261)return;else{if(_0x395261[_0x3ac7cf(0x1ef)](_0x77ac0f[_0x3ac7cf(0x242)]))return;}if(_0x77ac0f[_0x3ac7cf(0x26a)](_0x575b26[_0x3ac7cf(0x233)],_0x77ac0f['ryHZP']))return;return _0x575b26;}catch(_0x50e2b8){logger[_0x3ac7cf(0x21d)](_0x3ac7cf(0x234)+util['format'](_0x50e2b8)+'\x20');}}['getHookResult'](_0x1696cb,_0x15ae85){const _0x154bb1=a90_0x46e0a6,_0x1710a5={};_0x1710a5[_0x154bb1(0x270)]=function(_0x30b7f7,_0x43fdf4){return _0x30b7f7===_0x43fdf4;},_0x1710a5['gHIat']=_0x154bb1(0x20d),_0x1710a5[_0x154bb1(0x253)]=function(_0x1e8d77,_0xe41598){return _0x1e8d77===_0xe41598;},_0x1710a5[_0x154bb1(0x20e)]=function(_0x5b935b,_0x1fb853){return _0x5b935b===_0x1fb853;},_0x1710a5[_0x154bb1(0x24d)]=_0x154bb1(0x227),_0x1710a5['AydrM']=_0x154bb1(0x207),_0x1710a5[_0x154bb1(0x205)]=function(_0x5c5d02,_0x2877ce){return _0x5c5d02||_0x2877ce;};const _0x1bb98a=_0x1710a5,_0x2f91e9=_0x1696cb[_0x154bb1(0x261)][_0x15ae85][_0x154bb1(0x240)];let _0x39a00d,_0x1dbb33;return _0x2f91e9&&_0x1bb98a[_0x154bb1(0x270)](_0x2f91e9[_0x154bb1(0x25c)]['toString']()[_0x154bb1(0x23e)](),_0x1bb98a['gHIat'])&&(_0x39a00d=_0x1bb98a['EaYgr'](_0x2f91e9['exception'],undefined)?_0x2f91e9['message']:_0x2f91e9[_0x154bb1(0x1f0)][_0x154bb1(0x20c)],_0x1dbb33=_0x1bb98a[_0x154bb1(0x20e)](_0x2f91e9['exception'],undefined)?_0x1bb98a['ynlrU']:_0x2f91e9[_0x154bb1(0x20c)][_0x154bb1(0x21e)](/Assert/)?_0x1bb98a['AydrM']:_0x1bb98a[_0x154bb1(0x24d)]),{'status':_0x2f91e9['status'][_0x154bb1(0x23e)](),'failureType':_0x1bb98a['AlQDM'](_0x1dbb33,null),'failureData':!_0x39a00d?null:[_0x39a00d]};}['getCucumberHookType'](_0x1fe8d5,_0x4186bc){const _0x53d8fe=a90_0x46e0a6,_0x50ce6d={};_0x50ce6d[_0x53d8fe(0x265)]=function(_0xfae6c4,_0x1ddb63){return _0xfae6c4===_0x1ddb63;},_0x50ce6d[_0x53d8fe(0x247)]=_0x53d8fe(0x1fa),_0x50ce6d[_0x53d8fe(0x209)]=_0x53d8fe(0x278);const _0x21316d=_0x50ce6d;let _0xffb42a=![];for(const _0x58a72c of _0x1fe8d5){_0x58a72c[_0x53d8fe(0x24b)]&&(_0xffb42a=!![]);if(_0x21316d[_0x53d8fe(0x265)](_0x4186bc['id'],_0x58a72c['id']))return _0xffb42a?_0x21316d['nKiAD']:_0x21316d[_0x53d8fe(0x209)];}}[a90_0x46e0a6(0x268)]=(_0x1902e8,_0x6cc983)=>{const _0x5bf619=a90_0x46e0a6,_0x365ba5={};_0x365ba5[_0x5bf619(0x22c)]=function(_0x495266,_0x225a26){return _0x495266===_0x225a26;},_0x365ba5[_0x5bf619(0x1ff)]=function(_0x366b37,_0x16c4a7){return _0x366b37>_0x16c4a7;};const _0x15de15=_0x365ba5;if(!(_0x6cc983[_0x5bf619(0x23d)]&&_0x15de15[_0x5bf619(0x1ff)](_0x6cc983['astNodeIds']['length'],0x1)))return;const _0x32113f=_0x6cc983[_0x5bf619(0x23d)][0x0],_0x4d85b9=_0x6cc983[_0x5bf619(0x23d)][0x1],_0x15d2bd=_0x1902e8[_0x5bf619(0x266)]&&_0x1902e8['feature'][_0x5bf619(0x22f)]?_0x1902e8[_0x5bf619(0x266)]['children']:undefined;let _0xbd1822=[];_0x15d2bd&&_0x15d2bd[_0x5bf619(0x22b)](_0x410f75=>{const _0x454123=_0x5bf619;if(_0x410f75['rule'])_0x410f75[_0x454123(0x20a)]['children'][_0x454123(0x22b)](_0x32084c=>{const _0x183645=_0x454123;if(_0x32084c[_0x183645(0x250)]&&_0x15de15[_0x183645(0x22c)](_0x32084c[_0x183645(0x250)]['id'],_0x32113f)&&_0x32084c[_0x183645(0x250)]['examples']){const _0x3e10ef=_0x32084c[_0x183645(0x250)]['examples'][_0x183645(0x275)](_0x3eccd8=>_0x3eccd8['tableBody'])['find'](_0x350275=>_0x350275['id']===_0x4d85b9);let _0x5461f6;_0x3e10ef&&_0x3e10ef[_0x183645(0x26d)]?_0x5461f6=_0x3e10ef[_0x183645(0x26d)][_0x183645(0x1f4)](_0x35af1e=>_0x35af1e[_0x183645(0x258)]):_0x5461f6=[],_0x5461f6&&(_0xbd1822=_0x5461f6);}});else{if(_0x410f75[_0x454123(0x250)]&&_0x15de15['YoGhf'](_0x410f75['scenario']['id'],_0x32113f)&&_0x410f75[_0x454123(0x250)][_0x454123(0x231)]){const _0x24de24=_0x410f75['scenario'][_0x454123(0x231)][_0x454123(0x275)](_0x1e710e=>_0x1e710e[_0x454123(0x1f6)])['find'](_0x14afa9=>_0x14afa9['id']===_0x4d85b9);let _0x466bef;_0x24de24&&_0x24de24[_0x454123(0x26d)]?_0x466bef=_0x24de24['cells'][_0x454123(0x1f4)](_0x27a2b4=>_0x27a2b4[_0x454123(0x258)]):_0x466bef=[],_0x466bef&&(_0xbd1822=_0x466bef);}}});if(_0xbd1822[_0x5bf619(0x210)])return _0xbd1822;return;};async[a90_0x46e0a6(0x24c)](){const _0x1cb760=a90_0x46e0a6,_0x4d45b9={'VhFio':function(_0x53b89f){return _0x53b89f();}};if(this[_0x1cb760(0x1f5)])return this[_0x1cb760(0x26e)];const _0x521c63=await _0x4d45b9[_0x1cb760(0x202)](getGitMetaData);_0x521c63&&(this[_0x1cb760(0x26e)]=_0x521c63['root']),this['_gitConfigured']=!![];}}module[a90_0x46e0a6(0x269)]=o11yClassErrorHandler(CucumberUtils,['configureGit',a90_0x46e0a6(0x268),a90_0x46e0a6(0x277),a90_0x46e0a6(0x259),a90_0x46e0a6(0x251),a90_0x46e0a6(0x274),a90_0x46e0a6(0x1f1),'createTestFrameworkData']);
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 +1 @@
1
- const a91_0x4e3cad=a91_0x113d;function a91_0x939b(){const _0x8ba43e=['createIdentifierFromJestTest',',\x20hookUUID:\x20','getTime','stack-trace','MDejB','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','DDZCv','exports','getFileName','fuNKc','1492508ouPgAv','createTestFrameworkData','stack','7390512nWFTqX','uuid','cGRPJ',':jest-','getState','pid','HZtWT','980188iChnTg','24PFyaTQ','../../../helpers/helper.js','fullName','debug','beforeEach','GHnOF','8418400QIUHxN','fpTUK','update','javascript','inspect','LKlLx','TuxOW','uAPLb','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','testIdentifier','now','hooks','ROOT_DESCRIBE_BLOCK','lXSCz','browserstack-node-agent/src/bin/jest','42TyewIZ','BkBBa','cBneh','LZYry','extractTestFilePath','__workerDetails','TestRunSkipped','NPKUk','NOYnX','AFTER_ALL','createHash','length','qpNNW','name','MznbF','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','__jestCurrentTestIdentifier','XTxso','Gbvzs','format','_gitConfigured','toISOString','BEFORE_EACH','OrqLW','getTestIdentifier','uEArM','[jestUtils]\x20Created\x20identifier:\x20','dXzWQ','toString','ZGvDV','failure_reason_expanded','type','qbtRq','util','displayName','[jestUtils]\x20Error\x20creating\x20identifier:\x20','Unknown\x20Test','hrmBa','failure_reason','testAnalyticsId','parent','title','root','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','createHookData','yTaMk','getHookRunEventData','afterAll','err','isJestInternalHook','failed','relative','errorsDetailed','TestRunFinished','45925xCYvHa','myvqE','file','passed','getHierarchy','Fzuqv','Exception\x20in\x20createTestFrameworkData:\x20','NQMFj','Exception\x20in\x20createHookData:\x20','sRoeE','251237bVUnbA','push','HMaQh','finishedAt','HookRunStarted','hqxIt','RdFGw','md5','XYyTm','started_at','Ymyxy','TVkPg','20072wOZiJV','getRootParentFile','../../../helpers/test-observability/utils',',\x20testRunId:\x20','match','\x20from\x20compositeKey:\x20','jest-circus','testPath','Ofwrx','hook','JVqkP','300GkXIyk','HIvsz','Grnsj','finished_at','QwYYq','parse','failure_type','duration','QKnrE','find','YUgMQ','recreateIdentifierFromTestInfo','apply','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','configureGit','expect','path','createJestTestIdentifier','Exception\x20in\x20getHookRunEventData:\x20','SMtwE','jest','pending','crypto','\x22\x20hook\x20for\x20\x22','toUpperCase','getName','error',',\x20testIdentifier:\x20','result','test','failure','asyncError','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','retryOf','afterEach','oaoOE','xptPn','expanded','AwcKa','failure_backtrace','_gitConfigPath','split','reverse','cndMR','[jestUtils]\x20No\x20test\x20object\x20provided','unknown','jcKlT','6PVwbDD','currentTest','includes','../../../helpers/logger.js','clearHooksMap','digest','12tSxRyp'];a91_0x939b=function(){return _0x8ba43e;};return a91_0x939b();}(function(_0x18067f,_0x29ca0b){const _0x2598c0=a91_0x113d,_0x566019=_0x18067f();while(!![]){try{const _0x344b0b=parseInt(_0x2598c0(0x17a))/0x1*(-parseInt(_0x2598c0(0x1e5))/0x2)+-parseInt(_0x2598c0(0x1b4))/0x3*(-parseInt(_0x2598c0(0x1c5))/0x4)+-parseInt(_0x2598c0(0x21b))/0x5*(-parseInt(_0x2598c0(0x185))/0x6)+parseInt(_0x2598c0(0x16e))/0x7*(-parseInt(_0x2598c0(0x1d0))/0x8)+parseInt(_0x2598c0(0x1c8))/0x9+-parseInt(_0x2598c0(0x1d6))/0xa+parseInt(_0x2598c0(0x1cf))/0xb*(parseInt(_0x2598c0(0x1ba))/0xc);if(_0x344b0b===_0x29ca0b)break;else _0x566019['push'](_0x566019['shift']());}catch(_0x59979e){_0x566019['push'](_0x566019['shift']());}}}(a91_0x939b,0xb5d33));const path=require(a91_0x4e3cad(0x195)),util=require(a91_0x4e3cad(0x206)),crypto=require(a91_0x4e3cad(0x19b)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a91_0x4e3cad(0x1d1)),logger=require(a91_0x4e3cad(0x1b7))['winstonLogger'],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require('../TestInfo.js'),{failureData,getFailureType}=require(a91_0x4e3cad(0x17c)),stackTrace=require(a91_0x4e3cad(0x1be)),a91_0x7beebf={};a91_0x7beebf['beforeAll']='BEFORE_ALL',a91_0x7beebf[a91_0x4e3cad(0x214)]=a91_0x4e3cad(0x1ee),a91_0x7beebf[a91_0x4e3cad(0x1d4)]=a91_0x4e3cad(0x1fb),a91_0x7beebf[a91_0x4e3cad(0x1a7)]='AFTER_EACH';const HOOK_TYPES_MAP=a91_0x7beebf,hooksMap={};class JestUtils{constructor(){const _0x3a56fc=a91_0x4e3cad;this['_gitConfigured']=![],this[_0x3a56fc(0x1ad)]=null;}async[a91_0x4e3cad(0x1c6)](_0x383a45,_0x199083,_0x45a723=a91_0x4e3cad(0x21a),_0x27c591=undefined){const _0x454c7e=a91_0x4e3cad,_0x50899b={'hqxIt':'No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','hrmBa':_0x454c7e(0x180),'TVkPg':function(_0x56d8d3,_0x1092df){return _0x56d8d3||_0x1092df;},'LZYry':'File\x20path\x20could\x20not\x20be\x20found','qpNNW':function(_0x4a3dba,_0x55c13c){return _0x4a3dba!==_0x55c13c;},'BkBBa':_0x454c7e(0x1a2),'Fzuqv':_0x454c7e(0x215),'NOYnX':'pending','cndMR':function(_0x163d08,_0x32657e){return _0x163d08===_0x32657e;},'uAPLb':_0x454c7e(0x1eb),'XYyTm':'skipped','lXSCz':function(_0x11faa2,_0x5aa6eb){return _0x11faa2>_0x5aa6eb;},'jcKlT':_0x454c7e(0x217),'SMtwE':_0x454c7e(0x167),'qbtRq':function(_0xbc430c,_0x1a8857){return _0xbc430c-_0x1a8857;},'xptPn':_0x454c7e(0x1d9),'myvqE':_0x454c7e(0x199),'YUgMQ':function(_0x482490,_0xe5d724){return _0x482490(_0xe5d724);},'sRoeE':_0x454c7e(0x21a)};logger[_0x454c7e(0x1d3)]('Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20'+_0x45a723+_0x454c7e(0x1a0)+_0x199083);try{if(!_0x383a45)return logger['debug'](_0x50899b[_0x454c7e(0x173)]),null;if(_0x383a45['fn']&&_0x383a45['fn'][_0x454c7e(0x201)]()[_0x454c7e(0x17e)](/browserstack internal helper hook/))return null;await this[_0x454c7e(0x193)]();let _0x34e66a;try{_0x34e66a=this['getRootParentFile'](_0x383a45);if(_0x34e66a&&_0x34e66a[_0x454c7e(0x1b6)](_0x50899b[_0x454c7e(0x20a)]))return null;}catch(_0x1ec8a4){logger[_0x454c7e(0x1d3)](_0x454c7e(0x210)+util['format'](_0x1ec8a4)),_0x34e66a=null;}const _0x5a201a=this[_0x454c7e(0x168)](_0x383a45),_0x45b7ea=this[_0x454c7e(0x19e)](_0x383a45),_0x8c0a20=_0x50899b[_0x454c7e(0x179)](_0x34e66a,_0x50899b[_0x454c7e(0x1e8)]);let _0x342d48=[];if(_0x50899b[_0x454c7e(0x1f1)](_0x383a45[_0x454c7e(0x219)],undefined))_0x342d48=[_0x383a45[_0x454c7e(0x219)],_0x50899b[_0x454c7e(0x1e6)]];else _0x50899b[_0x454c7e(0x1f1)](_0x27c591,undefined)&&(_0x342d48=[_0x27c591,_0x50899b[_0x454c7e(0x169)]]);const _0x317e8b=_0x50899b[_0x454c7e(0x1f1)](_0x383a45[_0x454c7e(0x219)],undefined)?util[_0x454c7e(0x1da)](_0x383a45[_0x454c7e(0x219)][0x0]):_0x50899b[_0x454c7e(0x1f1)](_0x27c591,undefined)?_0x27c591[_0x454c7e(0x201)]():undefined;let _0x1f6e81=_0x50899b[_0x454c7e(0x1ed)];if(_0x50899b[_0x454c7e(0x1b0)](_0x45a723,_0x50899b[_0x454c7e(0x1dd)]))_0x1f6e81=_0x50899b[_0x454c7e(0x176)];else _0x383a45[_0x454c7e(0x219)]&&_0x50899b[_0x454c7e(0x1e3)](_0x383a45[_0x454c7e(0x219)][_0x454c7e(0x1f0)],0x0)?_0x1f6e81=_0x50899b[_0x454c7e(0x1b3)]:_0x1f6e81=_0x50899b[_0x454c7e(0x198)];let _0x14b6d8=null;if(_0x50899b[_0x454c7e(0x1f1)](_0x383a45[_0x454c7e(0x18c)],undefined))_0x14b6d8=_0x383a45[_0x454c7e(0x18c)];else(_0x45a723['match'](/Finished/)||_0x45a723[_0x454c7e(0x17e)](/Skipped/))&&(_0x383a45[_0x454c7e(0x177)]&&(_0x14b6d8=_0x50899b[_0x454c7e(0x205)](Date[_0x454c7e(0x1e0)](),new Date(_0x383a45['started_at'])[_0x454c7e(0x1bd)]())));const _0x52ece9=_0x383a45['fn']?_0x383a45['fn'][_0x454c7e(0x201)]():null,_0x815339={'id':_0x199083,'uuid':_0x199083,'startedAt':_0x383a45['started_at']||new Date()[_0x454c7e(0x1fa)](),'finishedAt':_0x45a723[_0x454c7e(0x17e)](/Finished/)||_0x45a723[_0x454c7e(0x17e)](/Skipped/)?new Date()[_0x454c7e(0x1fa)]():null,'type':_0x50899b[_0x454c7e(0x1e6)],'body':{'lang':_0x50899b[_0x454c7e(0x1a9)],'code':_0x52ece9},'name':_0x45b7ea,'scopes':_0x5a201a,'file_name':_0x8c0a20,'location':_0x8c0a20,'vc_filepath':this[_0x454c7e(0x1ad)]&&_0x34e66a?path[_0x454c7e(0x218)](this[_0x454c7e(0x1ad)],_0x34e66a):null,'framework':_0x50899b[_0x454c7e(0x21c)],'result':_0x1f6e81,'failure_reason':_0x317e8b,'duration_in_ms':_0x14b6d8,'failure':failureData['apply'](null,_0x342d48),'failure_type':!_0x317e8b?null:_0x50899b[_0x454c7e(0x18f)](getFailureType,_0x317e8b),'retry_of':_0x383a45[_0x454c7e(0x1a6)]||null,'customRerunParam':{'rerun_name':_0x45b7ea}};_0x50899b['cndMR'](_0x45a723,_0x50899b[_0x454c7e(0x1dd)])&&!_0x815339['startedAt']&&(_0x815339['startedAt']=_0x815339[_0x454c7e(0x171)]);const _0x41899e=_0x815339[_0x454c7e(0x1a3)]&&_0x815339[_0x454c7e(0x1a3)][0x0];return _0x41899e&&(_0x815339[_0x454c7e(0x1ac)]=_0x41899e['backtrace'],_0x815339[_0x454c7e(0x203)]=_0x41899e[_0x454c7e(0x1aa)]),(_0x50899b[_0x454c7e(0x1b0)](_0x45a723,_0x50899b[_0x454c7e(0x16d)])||_0x50899b['cndMR'](_0x45a723,_0x50899b[_0x454c7e(0x1dd)]))&&(_0x383a45[_0x454c7e(0x1e1)]&&(_0x815339[_0x454c7e(0x1e1)]=_0x383a45[_0x454c7e(0x1e1)])),_0x815339;}catch(_0xfacd42){return logger[_0x454c7e(0x1d3)](_0x454c7e(0x16a)+util[_0x454c7e(0x1f8)](_0xfacd42)),null;}}async[a91_0x4e3cad(0x211)](_0x313abf,_0x4b766e,_0x28410b,_0x128406){const _0x3c6a0a=a91_0x4e3cad,_0x3a94bd={'NQMFj':_0x3c6a0a(0x1a5),'yTaMk':_0x3c6a0a(0x180),'sZGmM':_0x3c6a0a(0x1e4),'zjFZK':_0x3c6a0a(0x1b2),'cBneh':_0x3c6a0a(0x19a),'MznbF':function(_0x5cc572,_0x545d75){return _0x5cc572===_0x545d75;},'cGRPJ':'HookRunFinished','JVqkP':function(_0x2ea070,_0x218f34){return _0x2ea070>_0x218f34;},'TuxOW':_0x3c6a0a(0x217),'fuNKc':function(_0x475b20,_0x49004e){return _0x475b20(_0x49004e);},'jmTPZ':_0x3c6a0a(0x1a2),'XTxso':_0x3c6a0a(0x167),'Ofwrx':_0x3c6a0a(0x183),'uEArM':_0x3c6a0a(0x1d9),'Grnsj':'jest','eIYGV':_0x3c6a0a(0x172)};logger[_0x3c6a0a(0x1d3)]('Creating\x20hook\x20data\x20for\x20eventType:\x20'+_0x28410b+_0x3c6a0a(0x1bc)+_0x4b766e+_0x3c6a0a(0x17d)+_0x128406);try{if(!_0x313abf)return logger[_0x3c6a0a(0x1d3)](_0x3a94bd[_0x3c6a0a(0x16b)]),null;if(this[_0x3c6a0a(0x216)](_0x313abf))return null;await this[_0x3c6a0a(0x193)]();let _0x417a9b=null;try{_0x417a9b=this[_0x3c6a0a(0x17b)](_0x313abf);if(_0x417a9b&&_0x417a9b[_0x3c6a0a(0x1b6)](_0x3a94bd[_0x3c6a0a(0x212)]))return null;if(_0x417a9b&&_0x417a9b[_0x3c6a0a(0x1b6)](_0x3a94bd['sZGmM']))return null;}catch(_0x852280){logger[_0x3c6a0a(0x1d3)](_0x3c6a0a(0x1f4)+util[_0x3c6a0a(0x1f8)](_0x852280));}const _0x241451=this[_0x3c6a0a(0x19e)](_0x313abf),_0x22fac8=_0x313abf[_0x3c6a0a(0x204)]||_0x3a94bd['zjFZK'],_0x17b9ab=HOOK_TYPES_MAP[_0x22fac8]||_0x22fac8[_0x3c6a0a(0x19d)](),_0x2837bb=_0x313abf['parent']&&_0x313abf[_0x3c6a0a(0x20d)][_0x3c6a0a(0x1f2)]?_0x313abf[_0x3c6a0a(0x20d)][_0x3c6a0a(0x1f2)]:'';let _0x1b6298=_0x3a94bd[_0x3c6a0a(0x1e7)],_0x495480=null,_0x373a6d=null,_0x38b3f8=null,_0x42e015=null;_0x3a94bd[_0x3c6a0a(0x1f3)](_0x28410b,_0x3a94bd[_0x3c6a0a(0x1ca)])&&(_0x42e015=new Date()['toISOString'](),_0x313abf[_0x3c6a0a(0x219)]&&_0x3a94bd[_0x3c6a0a(0x184)](_0x313abf['errorsDetailed'][_0x3c6a0a(0x1f0)],0x0)?(_0x1b6298=_0x3a94bd[_0x3c6a0a(0x1dc)],_0x373a6d=util['inspect'](_0x313abf[_0x3c6a0a(0x219)][0x0]),_0x495480=_0x3a94bd[_0x3c6a0a(0x1c4)](getFailureType,_0x373a6d),_0x38b3f8=failureData[_0x3c6a0a(0x191)](null,[_0x313abf[_0x3c6a0a(0x219)],_0x3a94bd['jmTPZ']])):_0x1b6298=_0x3a94bd[_0x3c6a0a(0x1f6)]);const _0x4cf037={'uuid':_0x4b766e,'type':_0x3a94bd[_0x3c6a0a(0x182)],'hook_type':_0x17b9ab,'name':_0x241451,'body':{'lang':_0x3a94bd[_0x3c6a0a(0x1fe)],'code':_0x313abf['fn']?_0x313abf['fn'][_0x3c6a0a(0x201)]():null},'tags':[],'test_run_id':_0x128406,'scope':_0x2837bb,'scopes':[_0x2837bb],'file_name':_0x417a9b,'location':_0x417a9b,'vc_filepath':this[_0x3c6a0a(0x1ad)]&&_0x417a9b?path[_0x3c6a0a(0x218)](this[_0x3c6a0a(0x1ad)],_0x417a9b):null,'result':_0x1b6298,'started_at':_0x313abf['started_at']||new Date()[_0x3c6a0a(0x1fa)](),'finished_at':_0x42e015,'failure_type':_0x495480,'failure_reason':_0x373a6d,'failure_data':_0x38b3f8,'framework':_0x3a94bd[_0x3c6a0a(0x187)]};return _0x3a94bd['MznbF'](_0x28410b,_0x3a94bd['eIYGV'])&&(hooksMap[_0x128406]?hooksMap[_0x128406][_0x3c6a0a(0x16f)](_0x4cf037):hooksMap[_0x128406]=[_0x4cf037]),_0x4cf037;}catch(_0x5bb12e){return logger[_0x3c6a0a(0x1d3)](_0x3c6a0a(0x16c)+util[_0x3c6a0a(0x1f8)](_0x5bb12e)),null;}}[a91_0x4e3cad(0x213)](_0x373cd1,_0x3a8e63,_0xbba752){const _0x239ddb=a91_0x4e3cad,_0x298752={'QwYYq':function(_0x5a293c,_0x14f059){return _0x5a293c>_0x14f059;},'FCRxc':_0x239ddb(0x217),'rQVhv':function(_0x2fcffd,_0x455549){return _0x2fcffd(_0x455549);},'oaoOE':'test','NPKUk':_0x239ddb(0x167)};try{const _0x298a5f=hooksMap[_0x373cd1];if(!_0x298a5f)return null;const _0x379d07=_0x298a5f[_0x239ddb(0x18e)](_0xbb1415=>_0xbb1415[_0x239ddb(0x1c9)]===_0x3a8e63);if(!_0x379d07)return null;return _0x379d07[_0x239ddb(0x188)]=new Date()[_0x239ddb(0x1fa)](),_0xbba752[_0x239ddb(0x219)]&&_0x298752[_0x239ddb(0x189)](_0xbba752['errorsDetailed'][_0x239ddb(0x1f0)],0x0)?(_0x379d07[_0x239ddb(0x1a1)]=_0x298752['FCRxc'],_0x379d07['failure_reason']=util['inspect'](_0xbba752['errorsDetailed'][0x0]),_0x379d07[_0x239ddb(0x18b)]=_0x298752['rQVhv'](getFailureType,_0x379d07[_0x239ddb(0x20b)]),_0x379d07['failure_data']=failureData[_0x239ddb(0x191)](null,[_0xbba752[_0x239ddb(0x219)],_0x298752[_0x239ddb(0x1a8)]])):_0x379d07[_0x239ddb(0x1a1)]=_0x298752[_0x239ddb(0x1ec)],_0x379d07;}catch(_0x22f28e){return logger['debug'](_0x239ddb(0x197)+util[_0x239ddb(0x1f8)](_0x22f28e)),null;}}[a91_0x4e3cad(0x19e)](_0xcf0408){const _0x1dc76d=a91_0x4e3cad,_0x4cf7fa={};_0x4cf7fa[_0x1dc76d(0x1d7)]=function(_0x46afaf,_0x4bd80e){return _0x46afaf!==_0x4bd80e;},_0x4cf7fa['GyNUv']='test',_0x4cf7fa[_0x1dc76d(0x178)]=_0x1dc76d(0x209);const _0x408fab=_0x4cf7fa;if(_0x408fab[_0x1dc76d(0x1d7)](_0xcf0408['type'],_0x408fab['GyNUv']))return'\x22'+_0xcf0408[_0x1dc76d(0x204)]+_0x1dc76d(0x19c)+(_0xcf0408['parent']&&_0xcf0408[_0x1dc76d(0x20d)][_0x1dc76d(0x1f2)])+'\x22';return _0xcf0408[_0x1dc76d(0x1f2)]||_0x408fab[_0x1dc76d(0x178)];}['getHierarchy'](_0x565866){const _0x3287a5=a91_0x4e3cad,_0x5b8b48={};_0x5b8b48['HIvsz']=function(_0x3eac5f,_0x5df6a9){return _0x3eac5f!==_0x5df6a9;},_0x5b8b48[_0x3287a5(0x170)]=function(_0x3861ad,_0x9ffa21){return _0x3861ad!==_0x9ffa21;},_0x5b8b48[_0x3287a5(0x1d5)]=_0x3287a5(0x1e2);const _0xc319de=_0x5b8b48,_0x3b83c9=[];if(_0x565866&&_0x565866[_0x3287a5(0x20d)]){let _0x53436c=_0x565866[_0x3287a5(0x20d)];while(_0x53436c&&_0x53436c['name']&&_0xc319de[_0x3287a5(0x186)](_0x53436c['name'],'')&&_0xc319de[_0x3287a5(0x170)](_0x53436c[_0x3287a5(0x1f2)],_0xc319de[_0x3287a5(0x1d5)])){_0x3b83c9['push'](_0x53436c[_0x3287a5(0x1f2)]),_0x53436c=_0x53436c[_0x3287a5(0x20d)];}}return _0x3b83c9[_0x3287a5(0x1af)](),_0x3b83c9;}[a91_0x4e3cad(0x17b)](_0x291af8){const _0x3de7aa=a91_0x4e3cad;if(_0x291af8[_0x3de7aa(0x1a4)])try{const _0x59e0be=stackTrace[_0x3de7aa(0x18a)]['call'](stackTrace,_0x291af8[_0x3de7aa(0x1a4)]);if(_0x59e0be[0x0]&&_0x59e0be[0x0][_0x3de7aa(0x1c3)])return _0x59e0be[0x0][_0x3de7aa(0x1c3)]();}catch(_0x5e1806){logger['debug']('Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x3de7aa(0x1f8)](_0x5e1806));}if(_0x291af8[_0x3de7aa(0x166)])return _0x291af8[_0x3de7aa(0x166)];return null;}[a91_0x4e3cad(0x216)](_0x37dd62){const _0x444fd5=a91_0x4e3cad,_0x15b409={};_0x15b409[_0x444fd5(0x1db)]=_0x444fd5(0x180);const _0x5636ab=_0x15b409;try{const _0x4fb051=this[_0x444fd5(0x17b)](_0x37dd62);if(_0x4fb051&&_0x4fb051[_0x444fd5(0x1b6)](_0x5636ab[_0x444fd5(0x1db)]))return!![];}catch(_0x4bdd2f){logger[_0x444fd5(0x1d3)]('Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20'+util[_0x444fd5(0x1f8)](_0x4bdd2f));}return![];}[a91_0x4e3cad(0x1fd)](_0x2de2dc=null){const _0x561951=a91_0x4e3cad;try{const _0x3a2a16=_0x2de2dc||global[_0x561951(0x1ea)]||{};if(global[_0x561951(0x1f5)])return global[_0x561951(0x1f5)];if(_0x3a2a16?.['currentTest']?.['testAnalyticsId'])return _0x3a2a16['currentTest'][_0x561951(0x20c)];if(_0x3a2a16?.['currentTest']?.['id'])return _0x3a2a16[_0x561951(0x1b5)]['id'];return null;}catch(_0x48245e){return logger[_0x561951(0x1d3)]('[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20'+util['format'](_0x48245e)),null;}}async[a91_0x4e3cad(0x193)](){const _0x4d590c=a91_0x4e3cad,_0x1d3101={'zxZPg':function(_0x3834cb){return _0x3834cb();}};if(this[_0x4d590c(0x1f9)])return this[_0x4d590c(0x1ad)];const _0x47863f=await _0x1d3101['zxZPg'](getGitMetaData);_0x47863f&&(this[_0x4d590c(0x1ad)]=_0x47863f[_0x4d590c(0x20f)]),this[_0x4d590c(0x1f9)]=!![];}[a91_0x4e3cad(0x1b8)](_0x34fabe){hooksMap[_0x34fabe]&&delete hooksMap[_0x34fabe];}['extractTestFilePath'](_0x4a6c7b){const _0x1ad479=a91_0x4e3cad,_0x37e070={'DDZCv':_0x1ad479(0x180),'XyrBb':function(_0x19a02e,_0x561817){return _0x19a02e(_0x561817);},'OrqLW':_0x1ad479(0x194)};if(_0x4a6c7b[_0x1ad479(0x166)])return _0x4a6c7b[_0x1ad479(0x166)];if(_0x4a6c7b[_0x1ad479(0x1a4)]){try{const _0x554d93=stackTrace[_0x1ad479(0x18a)](_0x4a6c7b['asyncError']);if(_0x554d93[0x0]&&_0x554d93[0x0][_0x1ad479(0x1c3)]){const _0x3ffae7=_0x554d93[0x0][_0x1ad479(0x1c3)]();if(_0x3ffae7&&!_0x3ffae7['includes'](_0x37e070[_0x1ad479(0x1c1)]))return _0x3ffae7;}}catch(_0x19cd03){logger['debug'](_0x1ad479(0x192)+util[_0x1ad479(0x1f8)](_0x19cd03));}if(_0x4a6c7b[_0x1ad479(0x1a4)][_0x1ad479(0x1c7)]){const _0x30fc3b=_0x4a6c7b['asyncError'][_0x1ad479(0x1c7)][_0x1ad479(0x1ae)]('\x0a');for(const _0x3c912d of _0x30fc3b){const _0x4b4f8d=_0x3c912d['match'](/at (.+?):\d+:\d+/);if(_0x4b4f8d&&_0x4b4f8d[0x1]&&!_0x4b4f8d[0x1]['includes'](_0x37e070['DDZCv']))return _0x4b4f8d[0x1];}}}let _0x4fb38d=_0x4a6c7b[_0x1ad479(0x20d)];while(_0x4fb38d){if(_0x4fb38d['file'])return _0x4fb38d[_0x1ad479(0x166)];if(_0x4fb38d[_0x1ad479(0x1a4)])try{const _0x154102=stackTrace[_0x1ad479(0x18a)](_0x4fb38d[_0x1ad479(0x1a4)]);if(_0x154102[0x0]&&_0x154102[0x0]['getFileName']){const _0x3532ab=_0x154102[0x0][_0x1ad479(0x1c3)]();if(_0x3532ab&&!_0x3532ab[_0x1ad479(0x1b6)](_0x37e070[_0x1ad479(0x1c1)]))return _0x3532ab;}}catch(_0x581848){}_0x4fb38d=_0x4fb38d[_0x1ad479(0x20d)];}try{const _0x4af769=_0x37e070['XyrBb'](require,_0x37e070[_0x1ad479(0x1fc)]);if(_0x4af769&&_0x4af769[_0x1ad479(0x1cc)]){const _0x2a8cc0=_0x4af769[_0x1ad479(0x1cc)]();if(_0x2a8cc0&&_0x2a8cc0[_0x1ad479(0x181)])return _0x2a8cc0[_0x1ad479(0x181)];}}catch(_0x29a737){logger[_0x1ad479(0x1d3)](_0x1ad479(0x1c0)+util[_0x1ad479(0x1f8)](_0x29a737));}return null;}[a91_0x4e3cad(0x196)](_0x453bec){const _0x16ef7b=a91_0x4e3cad,_0x20f219={};_0x20f219[_0x16ef7b(0x1ce)]='[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier',_0x20f219['dXzWQ']=function(_0x24ae72,_0x1a5a8a){return _0x24ae72!==_0x1a5a8a;},_0x20f219[_0x16ef7b(0x202)]='ROOT_DESCRIBE_BLOCK',_0x20f219[_0x16ef7b(0x18d)]=_0x16ef7b(0x180),_0x20f219['Gbvzs']=_0x16ef7b(0x175),_0x20f219[_0x16ef7b(0x174)]='hex';const _0x6ef9bb=_0x20f219;try{if(!_0x453bec)return logger[_0x16ef7b(0x19f)](_0x6ef9bb['HZtWT']),null;const _0x14c5b0=_0x453bec[_0x16ef7b(0x1d2)]||_0x453bec['name']||_0x453bec[_0x16ef7b(0x20e)]||_0x453bec[_0x16ef7b(0x207)];let _0xe86d63=_0x14c5b0;if(_0x453bec[_0x16ef7b(0x20d)]&&_0x453bec[_0x16ef7b(0x20d)][_0x16ef7b(0x1f2)]&&_0x6ef9bb[_0x16ef7b(0x200)](_0x453bec[_0x16ef7b(0x20d)]['name'],_0x6ef9bb['ZGvDV'])){const _0x384f5c=_0x453bec[_0x16ef7b(0x1f2)]||_0x453bec[_0x16ef7b(0x20e)];_0x384f5c&&(_0xe86d63=_0x453bec[_0x16ef7b(0x20d)][_0x16ef7b(0x1f2)]+'\x20'+_0x384f5c);}let _0x3ff54d=_0x453bec[_0x16ef7b(0x181)];if(!_0x3ff54d&&_0x453bec[_0x16ef7b(0x1a4)]){try{const _0x25291b=stackTrace[_0x16ef7b(0x18a)](_0x453bec[_0x16ef7b(0x1a4)]);if(_0x25291b[0x0]&&_0x25291b[0x0][_0x16ef7b(0x1c3)]){const _0x13fcbf=_0x25291b[0x0][_0x16ef7b(0x1c3)]();_0x13fcbf&&!_0x13fcbf[_0x16ef7b(0x1b6)](_0x6ef9bb[_0x16ef7b(0x18d)])&&(_0x3ff54d=_0x13fcbf);}}catch(_0xa3496e){logger[_0x16ef7b(0x1d3)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x16ef7b(0x1f8)](_0xa3496e));}if(!_0x3ff54d&&_0x453bec[_0x16ef7b(0x1a4)][_0x16ef7b(0x1c7)]){const _0x506923=_0x453bec['asyncError'][_0x16ef7b(0x1c7)][_0x16ef7b(0x1ae)]('\x0a');for(const _0x192e1d of _0x506923){const _0x40cbda=_0x192e1d[_0x16ef7b(0x17e)](/at (.+?):\d+:\d+/);if(_0x40cbda&&_0x40cbda[0x1]&&!_0x40cbda[0x1][_0x16ef7b(0x1b6)](_0x6ef9bb['QKnrE'])){_0x3ff54d=_0x40cbda[0x1];break;}}}}const _0x1cb1e8=_0x3ff54d+'::'+_0xe86d63,_0x1df3e4=crypto[_0x16ef7b(0x1ef)](_0x6ef9bb[_0x16ef7b(0x1f7)])[_0x16ef7b(0x1d8)](_0x1cb1e8)[_0x16ef7b(0x1b9)](_0x6ef9bb[_0x16ef7b(0x174)])['substring'](0x0,0x8),_0x4c4b19=process[_0x16ef7b(0x1cd)]+_0x16ef7b(0x1cb)+_0x1df3e4;return logger[_0x16ef7b(0x1d3)](_0x16ef7b(0x1ff)+_0x4c4b19+_0x16ef7b(0x17f)+_0x1cb1e8),_0x4c4b19;}catch(_0x350eef){return logger['error'](_0x16ef7b(0x208)+util[_0x16ef7b(0x1f8)](_0x350eef)),null;}}[a91_0x4e3cad(0x1bb)](_0x3e77ac){const _0x30e878=a91_0x4e3cad,_0x4ae785={};_0x4ae785[_0x30e878(0x1ab)]=_0x30e878(0x1b1);const _0x5b8751=_0x4ae785;if(!_0x3e77ac)return logger['debug'](_0x5b8751[_0x30e878(0x1ab)]),null;const _0x512679=this[_0x30e878(0x1e9)](_0x3e77ac),_0x25fdb1={};_0x25fdb1[_0x30e878(0x1f2)]=_0x3e77ac[_0x30e878(0x1f2)]||_0x3e77ac[_0x30e878(0x20e)],_0x25fdb1['parent']=_0x3e77ac[_0x30e878(0x20d)],_0x25fdb1[_0x30e878(0x181)]=_0x512679,_0x25fdb1[_0x30e878(0x1a4)]=_0x3e77ac[_0x30e878(0x1a4)];const _0x52a836=_0x25fdb1;return this[_0x30e878(0x196)](_0x52a836);}[a91_0x4e3cad(0x190)](_0x131695){const _0x1da8c0=a91_0x4e3cad,_0x29348e={};_0x29348e[_0x1da8c0(0x1bf)]=_0x1da8c0(0x1de);const _0x4a37e3=_0x29348e;if(!_0x131695)return logger[_0x1da8c0(0x1d3)](_0x4a37e3[_0x1da8c0(0x1bf)]),null;if(_0x131695[_0x1da8c0(0x1df)])return logger[_0x1da8c0(0x1d3)]('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x131695[_0x1da8c0(0x1df)]),_0x131695['testIdentifier'];return this[_0x1da8c0(0x196)](_0x131695);}}function a91_0x113d(_0x43cf46,_0xbfd14){const _0x939b8=a91_0x939b();return a91_0x113d=function(_0x113d25,_0x6278f9){_0x113d25=_0x113d25-0x166;let _0x53621f=_0x939b8[_0x113d25];return _0x53621f;},a91_0x113d(_0x43cf46,_0xbfd14);}module[a91_0x4e3cad(0x1c2)]=o11yClassErrorHandler(JestUtils,[a91_0x4e3cad(0x193),a91_0x4e3cad(0x168),a91_0x4e3cad(0x17b),a91_0x4e3cad(0x19e),a91_0x4e3cad(0x216),a91_0x4e3cad(0x1fd),a91_0x4e3cad(0x1c6),a91_0x4e3cad(0x211),a91_0x4e3cad(0x213),a91_0x4e3cad(0x1b8),a91_0x4e3cad(0x1e9),'createJestTestIdentifier',a91_0x4e3cad(0x1bb),a91_0x4e3cad(0x190)]);
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,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a92_0x158f5b=a92_0x2be3;(function(_0x4eea24,_0x223682){const _0x38bd03=a92_0x2be3,_0x50fc92=_0x4eea24();while(!![]){try{const _0x4bad9c=-parseInt(_0x38bd03(0x163))/0x1+-parseInt(_0x38bd03(0x161))/0x2+-parseInt(_0x38bd03(0x17d))/0x3+-parseInt(_0x38bd03(0x171))/0x4*(parseInt(_0x38bd03(0x168))/0x5)+-parseInt(_0x38bd03(0x17e))/0x6+parseInt(_0x38bd03(0x179))/0x7+parseInt(_0x38bd03(0x17b))/0x8*(parseInt(_0x38bd03(0x17f))/0x9);if(_0x4bad9c===_0x223682)break;else _0x50fc92['push'](_0x50fc92['shift']());}catch(_0x4465b6){_0x50fc92['push'](_0x50fc92['shift']());}}}(a92_0x3a15,0x580aa));function a92_0x3a15(){const _0x5577dc=['modifyBrowserStackCaps','modifyBrowserStackW3CCaps','path','RgCCU','file','3341919CTnFir','finally','68200BfTpuP','TaSbQ','61110DBolGX','2768856wEVViK','1854rYxVQa','forEach','EVENTS','config','../../helpers/testhub/testhubHandler','assign','../test-runner','useW3C','xUjIj','initialize','finalExecution','configuration','proxySettings','platforms','start','isUndefined','length','args','\x20doesn\x27t\x20exist','236980ySTucG','vanilla','566645HqLfZr','AkrOi','SDK_CLEANUP','snabw','launchBuild','882460xyaDIM','SDK_SETUP','../../helpers/performance/performance-tester','File\x20path\x20is\x20required','join','index','File\x20','bYKSj','push','16gkWqeM','cwd','handleApp'];a92_0x3a15=function(){return _0x5577dc;};return a92_0x3a15();}const fs=require('fs'),path=require(a92_0x158f5b(0x176)),{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),PerformanceTester=require(a92_0x158f5b(0x16a)),PerformanceEvents=require('../../helpers/performance/constants')[a92_0x158f5b(0x150)],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require(a92_0x158f5b(0x154)),TestHubHandler=require(a92_0x158f5b(0x152));async function run(_0x2533fd,_0x4d5591,_0x453735){const _0x1d56fb=a92_0x158f5b,_0x489f7b={'AkrOi':_0x1d56fb(0x162),'RgCCU':function(_0x33c3f0,_0x19b86a){return _0x33c3f0(_0x19b86a);},'tRXyN':_0x1d56fb(0x16b),'snabw':function(_0x25ede7,_0x50805e){return _0x25ede7(_0x50805e);},'TaSbQ':'Config\x20yml\x20is\x20required','bYKSj':function(_0x4352a1,_0x28ece5){return _0x4352a1>_0x28ece5;},'LSzLG':function(_0x2f9a4d,_0x5422b2){return _0x2f9a4d*_0x5422b2;},'xUjIj':function(_0x12850b,_0x2e08a6,_0x52e637){return _0x12850b(_0x2e08a6,_0x52e637);}};await _0x453735[_0x1d56fb(0x157)](_0x2533fd),await helper[_0x1d56fb(0x173)](_0x453735[_0x1d56fb(0x151)]);const _0x4fb8c2=[];if(helper[_0x1d56fb(0x15d)](_0x2533fd['_'][0x1]))throw _0x489f7b[_0x1d56fb(0x177)](Error,_0x489f7b['tRXyN']);const _0x325d4e=path[_0x1d56fb(0x16c)](process[_0x1d56fb(0x172)](),_0x2533fd['_'][0x1]);if(!fs['existsSync'](_0x325d4e))throw _0x489f7b['snabw'](Error,_0x1d56fb(0x16e)+_0x2533fd['_'][0x1]+_0x1d56fb(0x160));if(!_0x453735[_0x1d56fb(0x151)])throw _0x489f7b[_0x1d56fb(0x166)](Error,_0x489f7b[_0x1d56fb(0x17c)]);const _0x49abda=helper[_0x1d56fb(0x155)](_0x453735[_0x1d56fb(0x151)]);_0x453735[_0x1d56fb(0x151)][_0x1d56fb(0x15b)]&&_0x489f7b['bYKSj'](_0x453735[_0x1d56fb(0x151)][_0x1d56fb(0x15b)]['length'],0x0)&&_0x453735[_0x1d56fb(0x151)]['platforms'][_0x1d56fb(0x180)]((_0x330069,_0x50207c)=>{const _0x54bbdf=_0x1d56fb;_0x49abda?_0x4fb8c2['push'](helper[_0x54bbdf(0x175)](_0x453735[_0x54bbdf(0x151)],_0x489f7b[_0x54bbdf(0x164)],_0x50207c)):_0x4fb8c2[_0x54bbdf(0x170)](helper[_0x54bbdf(0x174)](_0x453735[_0x54bbdf(0x151)],_0x489f7b[_0x54bbdf(0x164)],_0x50207c));});let _0x3b67cd,_0x25db58;const _0x5e2851=[];if(_0x489f7b[_0x1d56fb(0x16f)](_0x4fb8c2[_0x1d56fb(0x15e)],0x0))_0x4fb8c2[_0x1d56fb(0x180)]((_0x32c5b6,_0x3cd8c9)=>{const _0x1b3a62=_0x1d56fb,_0x32efa3={};_0x32efa3[_0x1b3a62(0x16d)]=_0x3cd8c9,_0x3b67cd={'server':helper['getHubUrl'](_0x453735['config']),'proxySettings':_0x453735[_0x1b3a62(0x151)][_0x1b3a62(0x15a)],'platform':helper['getPlatformName'](_0x32c5b6),'platformCaps':Object[_0x1b3a62(0x153)](_0x32efa3,_0x453735[_0x1b3a62(0x151)]['platforms'][_0x3cd8c9])};const _0x452973={'capability':_0x32c5b6,..._0x3b67cd};_0x452973[_0x1b3a62(0x178)]=_0x325d4e,_0x452973[_0x1b3a62(0x15f)]=_0x4d5591;const _0x50dc0c={};_0x50dc0c[_0x1b3a62(0x159)]=_0x452973,_0x25db58=_0x50dc0c,_0x5e2851[_0x1b3a62(0x170)](_0x25db58);});else{let _0x5cd60b;_0x49abda?_0x5cd60b=helper['modifyBrowserStackW3CCaps'](_0x453735[_0x1d56fb(0x151)],_0x489f7b[_0x1d56fb(0x164)],0x0):_0x5cd60b=helper['modifyBrowserStackCaps'](_0x453735[_0x1d56fb(0x151)],_0x489f7b[_0x1d56fb(0x164)],0x0);_0x3b67cd={'server':helper['getHubUrl'](_0x453735['config']),'proxySettings':_0x453735[_0x1d56fb(0x151)][_0x1d56fb(0x15a)]};const _0x2d6253={'capability':_0x5cd60b,..._0x3b67cd};_0x2d6253[_0x1d56fb(0x178)]=_0x325d4e,_0x2d6253[_0x1d56fb(0x15f)]=_0x4d5591;const _0x1ff00c={};_0x1ff00c[_0x1d56fb(0x159)]=_0x2d6253,_0x25db58=_0x1ff00c,_0x5e2851[_0x1d56fb(0x170)](_0x25db58);}const _0x48092c=await TestHubHandler[_0x1d56fb(0x167)](_0x489f7b[_0x1d56fb(0x164)],_0x453735),_0x3a76dc=_0x489f7b['LSzLG'](_0x453735[_0x1d56fb(0x151)][_0x1d56fb(0x15b)][_0x1d56fb(0x15e)]||0x1,_0x453735['config']['parallelsPerPlatform']||0x1);PerformanceTester['end'](PerformanceEvents[_0x1d56fb(0x169)]),_0x489f7b[_0x1d56fb(0x156)](parallelVanillaRun,_0x5e2851,_0x3a76dc)['then'](_0xe771ca=>{})[_0x1d56fb(0x17a)](async()=>{const _0x53889d=_0x1d56fb;PerformanceTester[_0x53889d(0x15c)](PerformanceEvents[_0x53889d(0x165)]),await utilities[_0x53889d(0x158)](_0x453735);});}function a92_0x2be3(_0x19df4e,_0x13ad9e){const _0x3a1541=a92_0x3a15();return a92_0x2be3=function(_0x2be328,_0x2ef4f8){_0x2be328=_0x2be328-0x150;let _0x1a87b4=_0x3a1541[_0x2be328];return _0x1a87b4;},a92_0x2be3(_0x19df4e,_0x13ad9e);}module['exports']=run;
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;
@@ -1 +1 @@
1
- const a93_0x6fe485=a93_0x4a3f;(function(_0xfdb5f,_0x231ed0){const _0x20bc61=a93_0x4a3f,_0x2a6ef2=_0xfdb5f();while(!![]){try{const _0x13c322=-parseInt(_0x20bc61(0x1f7))/0x1*(-parseInt(_0x20bc61(0x1e5))/0x2)+parseInt(_0x20bc61(0x206))/0x3+parseInt(_0x20bc61(0x200))/0x4+parseInt(_0x20bc61(0x1e4))/0x5+parseInt(_0x20bc61(0x1eb))/0x6*(-parseInt(_0x20bc61(0x1e7))/0x7)+-parseInt(_0x20bc61(0x1fe))/0x8*(parseInt(_0x20bc61(0x1f5))/0x9)+-parseInt(_0x20bc61(0x207))/0xa;if(_0x13c322===_0x231ed0)break;else _0x2a6ef2['push'](_0x2a6ef2['shift']());}catch(_0x55f388){_0x2a6ef2['push'](_0x2a6ef2['shift']());}}}(a93_0x94dc,0x60d9f));function a93_0x94dc(){const _0x48e1ad=['getCurrentPlatform','tHnGM','oBvLA','1503srEavy','browserName','12601SyeCce','tyKtz','ToJIe','wvEHy','asigm','browser_version','exports','14840uyUyLE','platform','3082940IOxBex','csBhC','./helpers/metadata','device','os_version','customVariables','1176408SOkRRd','719720JKZFOR','__platformCaps','406740QYwXeM','26xDuQgX','platformVersion','7kNpWuu','YQvJp','setTestMetadata','YrjtB','3777432YgTMyn','NDwod','uOapl','browserVersion','vcXlJ','tlhKw','deviceName'];a93_0x94dc=function(){return _0x48e1ad;};return a93_0x94dc();}function a93_0x4a3f(_0x512400,_0xac8bc6){const _0x94dca4=a93_0x94dc();return a93_0x4a3f=function(_0x4a3f45,_0x418070){_0x4a3f45=_0x4a3f45-0x1e4;let _0x274843=_0x94dca4[_0x4a3f45];return _0x274843;},a93_0x4a3f(_0x512400,_0xac8bc6);}const TestMetadata=require(a93_0x6fe485(0x202));class BrowserStackSdk{static[a93_0x6fe485(0x1f2)](){const _0x29014f=a93_0x6fe485,_0x5e8e79={};_0x5e8e79[_0x29014f(0x1ec)]=_0x29014f(0x204),_0x5e8e79[_0x29014f(0x1f8)]='osVersion',_0x5e8e79[_0x29014f(0x1e8)]='browser',_0x5e8e79[_0x29014f(0x1f3)]=_0x29014f(0x1f6),_0x5e8e79[_0x29014f(0x1ea)]=_0x29014f(0x1fc),_0x5e8e79[_0x29014f(0x1ed)]=_0x29014f(0x1ee),_0x5e8e79['vcXlJ']=_0x29014f(0x203),_0x5e8e79['wvEHy']=_0x29014f(0x1f1),_0x5e8e79['ToJIe']=_0x29014f(0x1ff),_0x5e8e79[_0x29014f(0x1f4)]='platformName',_0x5e8e79['tlhKw']='platform_version',_0x5e8e79['csBhC']=_0x29014f(0x1e6),_0x5e8e79[_0x29014f(0x1fb)]=_0x29014f(0x205);const _0x58250b=_0x5e8e79,_0x1ea0c9={};if(global[_0x29014f(0x208)]){const _0x2858ac=global[_0x29014f(0x208)],_0x24cd86=_0x2858ac[_0x58250b['NDwod']]||_0x2858ac[_0x58250b['tyKtz']],_0x280357=_0x2858ac[_0x58250b[_0x29014f(0x1e8)]]||_0x2858ac[_0x58250b[_0x29014f(0x1f3)]],_0x5a7ad0=_0x2858ac[_0x58250b['YrjtB']]||_0x2858ac[_0x58250b[_0x29014f(0x1ed)]],_0x129bcc=_0x2858ac[_0x58250b[_0x29014f(0x1ef)]]||_0x2858ac[_0x58250b[_0x29014f(0x1fa)]],_0x378978=_0x2858ac[_0x58250b[_0x29014f(0x1f9)]]||_0x2858ac[_0x58250b[_0x29014f(0x1f4)]],_0x4d94fd=_0x2858ac[_0x58250b[_0x29014f(0x1f0)]]||_0x2858ac[_0x58250b[_0x29014f(0x201)]];_0x2858ac['os']&&(_0x1ea0c9['os']=_0x2858ac['os']),_0x24cd86&&(_0x1ea0c9[_0x58250b[_0x29014f(0x1f8)]]=_0x24cd86),_0x280357&&(_0x1ea0c9[_0x58250b[_0x29014f(0x1f3)]]=_0x280357),_0x5a7ad0&&(_0x1ea0c9[_0x58250b[_0x29014f(0x1ed)]]=_0x5a7ad0),_0x129bcc&&(_0x1ea0c9[_0x58250b['wvEHy']]=_0x129bcc),_0x378978&&(_0x1ea0c9[_0x58250b[_0x29014f(0x1f4)]]=_0x378978),_0x4d94fd&&(_0x1ea0c9[_0x58250b[_0x29014f(0x201)]]=_0x4d94fd),_0x2858ac[_0x58250b[_0x29014f(0x1fb)]]&&(_0x1ea0c9[_0x58250b['asigm']]=_0x2858ac[_0x58250b[_0x29014f(0x1fb)]]);}return _0x1ea0c9;}static[a93_0x6fe485(0x1e9)](_0x16bc44={}){TestMetadata['set'](_0x16bc44);}}module[a93_0x6fe485(0x1fd)]=BrowserStackSdk;
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();}