browserstack-node-sdk 1.64.1 → 1.64.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) 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/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/integrations/command.js +1 -1
  53. package/src/bin/integrations/constants.js +1 -1
  54. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  55. package/src/bin/jasmine/command.js +1 -1
  56. package/src/bin/jasmine/test.setup.js +1 -1
  57. package/src/bin/jasmine/testRunMap.js +1 -1
  58. package/src/bin/jest/command.js +1 -1
  59. package/src/bin/jest/customImplements/customCircus.js +1 -1
  60. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  61. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  62. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  63. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  64. package/src/bin/jest/jest.setup.js +1 -1
  65. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  66. package/src/bin/jest/test-observability/helper.js +1 -1
  67. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  68. package/src/bin/jest/test-observability/test-details.js +1 -1
  69. package/src/bin/jest/test.setup.js +1 -1
  70. package/src/bin/jest/test_before.setup.js +1 -1
  71. package/src/bin/launcher/launcher.js +1 -1
  72. package/src/bin/load/index.js +1 -1
  73. package/src/bin/load/loadErrors.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  79. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  80. package/src/bin/mocha/test.setup.js +1 -1
  81. package/src/bin/newman/command.js +1 -1
  82. package/src/bin/newman/helper.js +1 -1
  83. package/src/bin/newman/reporter/index.js +1 -1
  84. package/src/bin/newman/scriptRunner.js +1 -1
  85. package/src/bin/nightwatch/command.js +1 -1
  86. package/src/bin/playwright/accessibility-helper.js +1 -1
  87. package/src/bin/playwright/command.js +1 -1
  88. package/src/bin/playwright/globalSetup.js +1 -1
  89. package/src/bin/playwright/mock-process.js +1 -1
  90. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  91. package/src/bin/playwright/patches.js +1 -1
  92. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  93. package/src/bin/playwright/reporter/reporter.js +1 -1
  94. package/src/bin/playwright/reporter/test-details.js +1 -1
  95. package/src/bin/playwright/sessionDetails.js +1 -1
  96. package/src/bin/puppeteer/patches.js +1 -1
  97. package/src/bin/puppeteer/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/test.setup.js +1 -1
  99. package/src/bin/runner.js +1 -1
  100. package/src/bin/setup.js +1 -1
  101. package/src/bin/test-runner/index.js +1 -1
  102. package/src/bin/test-runner/runTest.js +1 -1
  103. package/src/bin/test-runner/testWorker.js +1 -1
  104. package/src/bin/testcafe/a11y-runner.js +1 -1
  105. package/src/bin/testcafe/command.js +1 -1
  106. package/src/bin/testcafe/reporter/index.js +1 -1
  107. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  108. package/src/bin/testcafe/session-registry.js +1 -1
  109. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  110. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  111. package/src/bin/testcafe/w3c-driver.js +1 -1
  112. package/src/bin/utils/apiUtilityMethods.js +1 -1
  113. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  114. package/src/bin/utils/constants.js +1 -1
  115. package/src/bin/utils/log4jsAppender.js +1 -1
  116. package/src/bin/utils/logPatcher.js +1 -1
  117. package/src/bin/utils/logReportingAPI.js +1 -1
  118. package/src/bin/utils/playwright-patcher.js +1 -1
  119. package/src/bin/utils/puppeteer-patcher.js +1 -1
  120. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  121. package/src/bin/utils/sharedUtils.js +1 -1
  122. package/src/bin/v2/TestInfo.js +1 -1
  123. package/src/bin/v2/browserstackCLI.js +1 -1
  124. package/src/bin/v2/cliUtils.js +1 -1
  125. package/src/bin/v2/customTagManager.js +1 -1
  126. package/src/bin/v2/eventDispatcher.js +1 -1
  127. package/src/bin/v2/framework/automationFramework.js +1 -1
  128. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  129. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  130. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  131. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  132. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  133. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  134. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  135. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/testFramework.js +1 -1
  137. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  139. package/src/bin/v2/grpcClient.js +1 -1
  140. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  141. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  142. package/src/bin/v2/instances/trackedContext.js +1 -1
  143. package/src/bin/v2/instances/trackedInstance.js +1 -1
  144. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  145. package/src/bin/v2/modules/baseModule.js +1 -1
  146. package/src/bin/v2/modules/loadTestModule.js +1 -1
  147. package/src/bin/v2/modules/observabilityModule.js +1 -1
  148. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  149. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  150. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  151. package/src/bin/v2/modules/testhubModule.js +1 -1
  152. package/src/bin/v2/sdkErrorHandler.js +1 -1
  153. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  154. package/src/bin/v2/state/hookState.js +1 -1
  155. package/src/bin/v2/state/testFrameworkState.js +1 -1
  156. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  157. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  158. package/src/bin/v2/utils/jest-utils.js +1 -1
  159. package/src/bin/vanilla-js/command.js +1 -1
  160. package/src/browserStackSdk.js +1 -1
  161. package/src/helpers/BrowserStackSetup.js +1 -1
  162. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  163. package/src/helpers/accessibility-automation/constants.js +1 -1
  164. package/src/helpers/accessibility-automation/helper.js +1 -1
  165. package/src/helpers/accessibility-automation/scripts.js +1 -1
  166. package/src/helpers/ats/constants.js +1 -1
  167. package/src/helpers/ats/helper.js +1 -1
  168. package/src/helpers/caCertHelper.js +1 -1
  169. package/src/helpers/capsMapping.js +1 -1
  170. package/src/helpers/central-scanner/constants.js +1 -1
  171. package/src/helpers/central-scanner/helpers.js +1 -1
  172. package/src/helpers/classLogger.js +1 -1
  173. package/src/helpers/driverInitErrorReporter.js +1 -1
  174. package/src/helpers/globals.js +1 -1
  175. package/src/helpers/helper.js +1 -1
  176. package/src/helpers/logger.js +1 -1
  177. package/src/helpers/metadata.js +1 -1
  178. package/src/helpers/patchHelper.js +1 -1
  179. package/src/helpers/patchHelpers.js +1 -1
  180. package/src/helpers/percy/Percy.js +1 -1
  181. package/src/helpers/percy/PercyBinary.js +1 -1
  182. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  183. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  184. package/src/helpers/percy/PercySDK.js +1 -1
  185. package/src/helpers/percy/index.js +1 -1
  186. package/src/helpers/percy/utils.js +1 -1
  187. package/src/helpers/performance/constants.js +1 -1
  188. package/src/helpers/performance/performance-tester.js +1 -1
  189. package/src/helpers/playwright-helper.js +1 -1
  190. package/src/helpers/processHelper.js +1 -1
  191. package/src/helpers/puppeteer-helper.js +1 -1
  192. package/src/helpers/request-spy.js +1 -1
  193. package/src/helpers/setKeepAlive.js +1 -1
  194. package/src/helpers/stackFrameUtils.js +1 -1
  195. package/src/helpers/test-observability/constants.js +1 -1
  196. package/src/helpers/test-observability/error-handler.js +1 -1
  197. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  198. package/src/helpers/test-observability/sessionHandler.js +1 -1
  199. package/src/helpers/test-observability/utils.js +1 -1
  200. package/src/helpers/test-orchestration/constants.js +1 -1
  201. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  202. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  203. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  204. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  205. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  206. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  207. package/src/helpers/testhub/constants.js +1 -1
  208. package/src/helpers/testhub/testhubHandler.js +1 -1
  209. package/src/helpers/testhub/utils.js +1 -1
  210. package/src/helpers/utilities.js +1 -1
  211. package/src/helpers/w3cMapping.js +1 -1
  212. package/src/hubAllocationMethods.js +1 -1
  213. package/src/index.js +1 -1
  214. package/src/ai-sdk-node/bundle.js +0 -1
  215. package/src/ai-sdk-node/extensions/chrome_extension.crx +0 -0
  216. package/src/bin/mocha/test-observability/builderPatch.js +0 -1
  217. package/src/helpers/ai-sdk/aiSdkWrapper.js +0 -1
  218. package/src/helpers/ai-sdk/autoHealHelper.js +0 -1
  219. package/src/helpers/timeoutPromise.js +0 -1
@@ -1 +1 @@
1
- const a115_0x1a57e0=a115_0x274f;(function(_0x534e49,_0x26e23c){const _0x2d1f88=a115_0x274f,_0x14533a=_0x534e49();while(!![]){try{const _0x5dbea3=-parseInt(_0x2d1f88(0x109))/0x1+-parseInt(_0x2d1f88(0xfe))/0x2+parseInt(_0x2d1f88(0x104))/0x3*(-parseInt(_0x2d1f88(0x10a))/0x4)+-parseInt(_0x2d1f88(0x101))/0x5*(parseInt(_0x2d1f88(0x105))/0x6)+-parseInt(_0x2d1f88(0xfd))/0x7*(-parseInt(_0x2d1f88(0x10b))/0x8)+parseInt(_0x2d1f88(0xfb))/0x9+parseInt(_0x2d1f88(0x106))/0xa;if(_0x5dbea3===_0x26e23c)break;else _0x14533a['push'](_0x14533a['shift']());}catch(_0xf260b8){_0x14533a['push'](_0x14533a['shift']());}}}(a115_0x30f6,0xca322));const a115_0x29250a={};a115_0x29250a['value']=0x0,a115_0x29250a[a115_0x1a57e0(0xff)]=function(){const _0x5603ab=a115_0x1a57e0,_0x355ddc={};_0x355ddc[_0x5603ab(0xfa)]='HookState.NONE';const _0x18de2b=_0x355ddc;return _0x18de2b[_0x5603ab(0xfa)];};const a115_0x1764cf={};a115_0x1764cf[a115_0x1a57e0(0x102)]=0x1,a115_0x1764cf[a115_0x1a57e0(0xff)]=function(){const _0x2f36dc=a115_0x1a57e0,_0x4a643f={};_0x4a643f[_0x2f36dc(0xf9)]=_0x2f36dc(0x103);const _0x19c5dc=_0x4a643f;return _0x19c5dc['YEreV'];};const a115_0x5f22c8={};a115_0x5f22c8['value']=0x2,a115_0x5f22c8[a115_0x1a57e0(0xff)]=function(){const _0x91f79=a115_0x1a57e0,_0x3cfa5a={};_0x3cfa5a[_0x91f79(0x100)]=_0x91f79(0x108);const _0x4d3258=_0x3cfa5a;return _0x4d3258[_0x91f79(0x100)];};function a115_0x274f(_0x4996dc,_0x22f527){const _0x30f6c5=a115_0x30f6();return a115_0x274f=function(_0x274f71,_0x4ebdb1){_0x274f71=_0x274f71-0xf8;let _0x415495=_0x30f6c5[_0x274f71];return _0x415495;},a115_0x274f(_0x4996dc,_0x22f527);}const HookState=Object[a115_0x1a57e0(0x107)]({'NONE':a115_0x29250a,'PRE':a115_0x1764cf,'POST':a115_0x5f22c8,'fromValue'(_0x54ad01){const _0xae13a4=a115_0x1a57e0;return Object[_0xae13a4(0xfc)](HookState)['find'](_0x16729d=>_0x16729d[_0xae13a4(0x102)]===_0x54ad01);}});function a115_0x30f6(){const _0x8d2882=['134810vckhEQ','16whlhDu','24tWREkm','exports','YEreV','whfKf','14684940eRwnBE','values','2292920KYpUJH','1028770tkBHZT','toString','xTNVW','535iZACMG','value','HookState.PRE','942729lhjLNA','38586wlJzwX','8081380AiRwtW','freeze','HookState.POST'];a115_0x30f6=function(){return _0x8d2882;};return a115_0x30f6();}module[a115_0x1a57e0(0xf8)]=HookState;
1
+ function a113_0x558f(){const _0x47f28f=['toString','2807ASFIHT','HookState.NONE','freeze','4646264hZreFB','uYbUT','17142gggDeM','1851240pOmLJI','qnHaJ','18901314bNzHyi','tcdVr','838326EQBgGh','value','5yRaodn','295538vDQsCX','1908375gYRCpv','HookState.PRE','find','HookState.POST','exports'];a113_0x558f=function(){return _0x47f28f;};return a113_0x558f();}const a113_0x44d5ef=a113_0x24fb;(function(_0x3812b7,_0x1e5390){const _0x2a9a3f=a113_0x24fb,_0x83b99f=_0x3812b7();while(!![]){try{const _0x20ba48=-parseInt(_0x2a9a3f(0xa8))/0x1*(-parseInt(_0x2a9a3f(0x95))/0x2)+parseInt(_0x2a9a3f(0xa6))/0x3+parseInt(_0x2a9a3f(0x9f))/0x4+-parseInt(_0x2a9a3f(0x96))/0x5+-parseInt(_0x2a9a3f(0xa1))/0x6*(-parseInt(_0x2a9a3f(0x9c))/0x7)+-parseInt(_0x2a9a3f(0xa2))/0x8+-parseInt(_0x2a9a3f(0xa4))/0x9;if(_0x20ba48===_0x1e5390)break;else _0x83b99f['push'](_0x83b99f['shift']());}catch(_0x35c1ba){_0x83b99f['push'](_0x83b99f['shift']());}}}(a113_0x558f,0x957bc));const a113_0x36c110={};a113_0x36c110[a113_0x44d5ef(0xa7)]=0x0,a113_0x36c110[a113_0x44d5ef(0x9b)]=function(){const _0x51b777=a113_0x44d5ef,_0x21fa7f={};_0x21fa7f[_0x51b777(0xa5)]=_0x51b777(0x9d);const _0x1f389e=_0x21fa7f;return _0x1f389e[_0x51b777(0xa5)];};const a113_0x121f9a={};a113_0x121f9a[a113_0x44d5ef(0xa7)]=0x1,a113_0x121f9a[a113_0x44d5ef(0x9b)]=function(){const _0x3f4ab0=a113_0x44d5ef,_0x5e0359={};_0x5e0359[_0x3f4ab0(0xa0)]=_0x3f4ab0(0x97);const _0x5d7704=_0x5e0359;return _0x5d7704['uYbUT'];};const a113_0x2b42d7={};a113_0x2b42d7[a113_0x44d5ef(0xa7)]=0x2,a113_0x2b42d7['toString']=function(){const _0x4c7bce=a113_0x44d5ef,_0x36428a={};_0x36428a[_0x4c7bce(0xa3)]=_0x4c7bce(0x99);const _0xea973b=_0x36428a;return _0xea973b[_0x4c7bce(0xa3)];};const HookState=Object[a113_0x44d5ef(0x9e)]({'NONE':a113_0x36c110,'PRE':a113_0x121f9a,'POST':a113_0x2b42d7,'fromValue'(_0x22af25){const _0x434394=a113_0x44d5ef;return Object['values'](HookState)[_0x434394(0x98)](_0x1481a7=>_0x1481a7['value']===_0x22af25);}});function a113_0x24fb(_0x1a0eb5,_0x26fbb9){const _0x558fa8=a113_0x558f();return a113_0x24fb=function(_0x24fb90,_0x32d16a){_0x24fb90=_0x24fb90-0x95;let _0x176b8d=_0x558fa8[_0x24fb90];return _0x176b8d;},a113_0x24fb(_0x1a0eb5,_0x26fbb9);}module[a113_0x44d5ef(0x9a)]=HookState;
@@ -1 +1 @@
1
- const a116_0x42d197=a116_0x3e56;(function(_0x2b032a,_0x26a920){const _0x162666=a116_0x3e56,_0x11bd15=_0x2b032a();while(!![]){try{const _0x3b2192=-parseInt(_0x162666(0xe7))/0x1*(parseInt(_0x162666(0xec))/0x2)+parseInt(_0x162666(0xd5))/0x3*(parseInt(_0x162666(0xe5))/0x4)+parseInt(_0x162666(0xed))/0x5+-parseInt(_0x162666(0xe6))/0x6*(-parseInt(_0x162666(0xe3))/0x7)+-parseInt(_0x162666(0xd7))/0x8*(parseInt(_0x162666(0xdf))/0x9)+parseInt(_0x162666(0xf2))/0xa*(parseInt(_0x162666(0xd6))/0xb)+-parseInt(_0x162666(0xd0))/0xc;if(_0x3b2192===_0x26a920)break;else _0x11bd15['push'](_0x11bd15['shift']());}catch(_0x2ec567){_0x11bd15['push'](_0x11bd15['shift']());}}}(a116_0x1480,0xf19bb));const a116_0x5bbd09={};function a116_0x1480(){const _0x1b70e1=['RhHCL','gUvMN','7067352ZSQhuz','TestFrameworkState.AFTER_ALL','find','tKmgK','exports','2454324bKnXpG','11hCNqrx','184YFnNLG','toString','AKEoM','RnYJg','TestFrameworkState.BEFORE_ALL','TestFrameworkState.LOG_REPORT','zqRFa','sEFlk','756243KRbNjh','TestFrameworkState.BEFORE_EACH','value','TestFrameworkState.LOG','3241SRfqfq','TestFrameworkState.NONE','4olqeNP','22206dwRakC','358573goIRUx','FHpNv','TestFrameworkState.TEST','xXeDt','hDBXv','2ZksxBC','2024470TFvYxV','TestFrameworkState.SETUP_FIXTURE','values','CAIek','aJEKF','9332020EShgxl','TestFrameworkState.INIT_TEST','TestFrameworkState.TEST_STEP','Xkqpm'];a116_0x1480=function(){return _0x1b70e1;};return a116_0x1480();}a116_0x5bbd09[a116_0x42d197(0xe1)]=0x0,a116_0x5bbd09[a116_0x42d197(0xd8)]=function(){const _0x171aba=a116_0x42d197,_0x5efc01={};_0x5efc01[_0x171aba(0xf1)]=_0x171aba(0xe4);const _0x42b5e1=_0x5efc01;return _0x42b5e1['aJEKF'];};const a116_0x41b419={};a116_0x41b419['value']=0x1,a116_0x41b419['toString']=function(){const _0x2af270=a116_0x42d197,_0x5195ef={};_0x5195ef[_0x2af270(0xf0)]=_0x2af270(0xdb);const _0x4d8276=_0x5195ef;return _0x4d8276['CAIek'];};const a116_0x25b1eb={};a116_0x25b1eb[a116_0x42d197(0xe1)]=0x2,a116_0x25b1eb[a116_0x42d197(0xd8)]=function(){const _0x182b86=a116_0x42d197,_0x2b46f8={};_0x2b46f8['FHpNv']=_0x182b86(0xe2);const _0x15f84f=_0x2b46f8;return _0x15f84f[_0x182b86(0xe8)];};const a116_0x21ef41={};a116_0x21ef41[a116_0x42d197(0xe1)]=0x3,a116_0x21ef41[a116_0x42d197(0xd8)]=function(){const _0x2ba084=a116_0x42d197,_0x443abf={};_0x443abf[_0x2ba084(0xd9)]=_0x2ba084(0xee);const _0x48b480=_0x443abf;return _0x48b480[_0x2ba084(0xd9)];};function a116_0x3e56(_0x220006,_0x28f3ba){const _0x14808f=a116_0x1480();return a116_0x3e56=function(_0x3e5636,_0x123d7d){_0x3e5636=_0x3e5636-0xd0;let _0x547d91=_0x14808f[_0x3e5636];return _0x547d91;},a116_0x3e56(_0x220006,_0x28f3ba);}const a116_0x2778e2={};a116_0x2778e2['value']=0x4,a116_0x2778e2['toString']=function(){const _0x5056c6=a116_0x42d197,_0x102414={};_0x102414[_0x5056c6(0xda)]=_0x5056c6(0xf3);const _0x32b5f7=_0x102414;return _0x32b5f7[_0x5056c6(0xda)];};const a116_0x2e131f={};a116_0x2e131f[a116_0x42d197(0xe1)]=0x5,a116_0x2e131f[a116_0x42d197(0xd8)]=function(){const _0x479bd1=a116_0x42d197,_0x435db6={};_0x435db6[_0x479bd1(0xdd)]=_0x479bd1(0xe0);const _0x10acaa=_0x435db6;return _0x10acaa[_0x479bd1(0xdd)];};const a116_0x5b6981={};a116_0x5b6981[a116_0x42d197(0xe1)]=0x6,a116_0x5b6981[a116_0x42d197(0xd8)]=function(){const _0xdc9ef0=a116_0x42d197,_0x2b61d0={};_0x2b61d0[_0xdc9ef0(0xeb)]='TestFrameworkState.AFTER_EACH';const _0x567dfa=_0x2b61d0;return _0x567dfa[_0xdc9ef0(0xeb)];};const a116_0x5c0cb3={};a116_0x5c0cb3[a116_0x42d197(0xe1)]=0x7,a116_0x5c0cb3[a116_0x42d197(0xd8)]=function(){const _0x52ebfe=a116_0x42d197,_0x5a3515={};_0x5a3515[_0x52ebfe(0xf5)]=_0x52ebfe(0xe9);const _0x3a4de8=_0x5a3515;return _0x3a4de8[_0x52ebfe(0xf5)];};const a116_0x2923c3={};a116_0x2923c3['value']=0x8,a116_0x2923c3[a116_0x42d197(0xd8)]=function(){const _0x35a3f6=a116_0x42d197,_0x2c9d0b={};_0x2c9d0b[_0x35a3f6(0xd3)]='TestFrameworkState.STEP';const _0x1bf64b=_0x2c9d0b;return _0x1bf64b['tKmgK'];};const a116_0x4858ba={};a116_0x4858ba[a116_0x42d197(0xe1)]=0x9,a116_0x4858ba['toString']=function(){const _0x328864=a116_0x42d197,_0x314a8c={};_0x314a8c[_0x328864(0xde)]=_0x328864(0xdc);const _0x28bed9=_0x314a8c;return _0x28bed9['sEFlk'];};const a116_0x5709e5={};a116_0x5709e5[a116_0x42d197(0xe1)]=0xa,a116_0x5709e5['toString']=function(){const _0x2357af=a116_0x42d197,_0x1761e0={};_0x1761e0[_0x2357af(0xf7)]=_0x2357af(0xd1);const _0xf9efee=_0x1761e0;return _0xf9efee[_0x2357af(0xf7)];};const a116_0x262b55={};a116_0x262b55['value']=0xb,a116_0x262b55['toString']=function(){const _0x14b230=a116_0x42d197,_0x510fc1={};_0x510fc1['RhHCL']='TestFrameworkState.TEST_SCREENSHOT';const _0x1f5ce0=_0x510fc1;return _0x1f5ce0[_0x14b230(0xf6)];};const a116_0x4c1064={};a116_0x4c1064['value']=0xc,a116_0x4c1064[a116_0x42d197(0xd8)]=function(){const _0x516ddd=a116_0x42d197,_0x4f4461={};_0x4f4461['xXeDt']=_0x516ddd(0xf4);const _0x3686f6=_0x4f4461;return _0x3686f6[_0x516ddd(0xea)];};const TestFrameworkState=Object['freeze']({'NONE':a116_0x5bbd09,'BEFORE_ALL':a116_0x41b419,'LOG':a116_0x25b1eb,'SETUP_FIXTURE':a116_0x21ef41,'INIT_TEST':a116_0x2778e2,'BEFORE_EACH':a116_0x2e131f,'AFTER_EACH':a116_0x5b6981,'TEST':a116_0x5c0cb3,'STEP':a116_0x2923c3,'LOG_REPORT':a116_0x4858ba,'AFTER_ALL':a116_0x5709e5,'TEST_SCREENSHOT':a116_0x262b55,'TEST_STEP':a116_0x4c1064,'fromValue'(_0x1d377c){const _0x57a34b=a116_0x42d197;return Object[_0x57a34b(0xef)](TestFrameworkState)[_0x57a34b(0xd2)](_0x26eeaf=>_0x26eeaf[_0x57a34b(0xe1)]===_0x1d377c);}});module[a116_0x42d197(0xd4)]=TestFrameworkState;
1
+ const a114_0x5904ed=a114_0x487e;(function(_0x467adb,_0x613629){const _0x5dc6a3=a114_0x487e,_0xd20ad0=_0x467adb();while(!![]){try{const _0x2aa840=-parseInt(_0x5dc6a3(0x19c))/0x1+parseInt(_0x5dc6a3(0x1a3))/0x2+parseInt(_0x5dc6a3(0x18b))/0x3*(parseInt(_0x5dc6a3(0x18f))/0x4)+parseInt(_0x5dc6a3(0x191))/0x5+parseInt(_0x5dc6a3(0x190))/0x6+-parseInt(_0x5dc6a3(0x1a2))/0x7+parseInt(_0x5dc6a3(0x19a))/0x8;if(_0x2aa840===_0x613629)break;else _0xd20ad0['push'](_0xd20ad0['shift']());}catch(_0x2db7e9){_0xd20ad0['push'](_0xd20ad0['shift']());}}}(a114_0x12ff,0xeafbd));const a114_0x5060f2={};a114_0x5060f2['value']=0x0,a114_0x5060f2[a114_0x5904ed(0x192)]=function(){const _0x3166c5=a114_0x5904ed,_0x342623={};_0x342623[_0x3166c5(0x193)]='TestFrameworkState.NONE';const _0x105254=_0x342623;return _0x105254['WHyUz'];};const a114_0x29bf19={};function a114_0x487e(_0x2b0349,_0x462520){const _0x12ffcf=a114_0x12ff();return a114_0x487e=function(_0x487e32,_0x43475c){_0x487e32=_0x487e32-0x185;let _0x1c9c92=_0x12ffcf[_0x487e32];return _0x1c9c92;},a114_0x487e(_0x2b0349,_0x462520);}a114_0x29bf19['value']=0x1,a114_0x29bf19[a114_0x5904ed(0x192)]=function(){const _0x401328=a114_0x5904ed,_0x37dd3b={};_0x37dd3b[_0x401328(0x197)]=_0x401328(0x1a4);const _0x384dfb=_0x37dd3b;return _0x384dfb['Emeqy'];};const a114_0x4bb805={};a114_0x4bb805[a114_0x5904ed(0x1a5)]=0x2,a114_0x4bb805[a114_0x5904ed(0x192)]=function(){const _0x386cd3=a114_0x5904ed,_0x4fb826={};_0x4fb826[_0x386cd3(0x18a)]=_0x386cd3(0x1a6);const _0x433c70=_0x4fb826;return _0x433c70[_0x386cd3(0x18a)];};const a114_0x3d97f7={};a114_0x3d97f7[a114_0x5904ed(0x1a5)]=0x3,a114_0x3d97f7['toString']=function(){const _0x3d0803=a114_0x5904ed,_0x212e21={};_0x212e21[_0x3d0803(0x196)]=_0x3d0803(0x188);const _0x42f90b=_0x212e21;return _0x42f90b[_0x3d0803(0x196)];};const a114_0x4dba5f={};a114_0x4dba5f['value']=0x4,a114_0x4dba5f[a114_0x5904ed(0x192)]=function(){const _0x5c79b3=a114_0x5904ed,_0x16e104={};_0x16e104[_0x5c79b3(0x18c)]='TestFrameworkState.INIT_TEST';const _0x5a5634=_0x16e104;return _0x5a5634[_0x5c79b3(0x18c)];};const a114_0x2e7a6f={};a114_0x2e7a6f[a114_0x5904ed(0x1a5)]=0x5,a114_0x2e7a6f[a114_0x5904ed(0x192)]=function(){const _0x29b613=a114_0x5904ed,_0x2c460f={};_0x2c460f[_0x29b613(0x19f)]=_0x29b613(0x19d);const _0x267754=_0x2c460f;return _0x267754[_0x29b613(0x19f)];};const a114_0x184610={};a114_0x184610[a114_0x5904ed(0x1a5)]=0x6,a114_0x184610[a114_0x5904ed(0x192)]=function(){const _0x1e1ee4=a114_0x5904ed,_0x4f7622={};_0x4f7622[_0x1e1ee4(0x18e)]=_0x1e1ee4(0x1a1);const _0x3da835=_0x4f7622;return _0x3da835[_0x1e1ee4(0x18e)];};function a114_0x12ff(){const _0x1761e0=['TestFrameworkState.STEP','hNzJb','11478024fImIeS','exports','1582987uxGToQ','TestFrameworkState.BEFORE_EACH','find','MDQYx','TestFrameworkState.TEST_STEP','TestFrameworkState.AFTER_EACH','12809034vHKuDS','2472004drfSSk','TestFrameworkState.BEFORE_ALL','value','TestFrameworkState.LOG','values','freeze','TestFrameworkState.TEST','oqDXo','TestFrameworkState.AFTER_ALL','TestFrameworkState.SETUP_FIXTURE','RWANI','wrwAV','24bASaXc','CfNRX','qFmKX','OupCE','390636UdRPcA','845406UZPLrW','3912070YKeBUd','toString','WHyUz','TestFrameworkState.TEST_SCREENSHOT','DtgLU','RQnkf','Emeqy'];a114_0x12ff=function(){return _0x1761e0;};return a114_0x12ff();}const a114_0x459157={};a114_0x459157[a114_0x5904ed(0x1a5)]=0x7,a114_0x459157[a114_0x5904ed(0x192)]=function(){const _0x5673b1=a114_0x5904ed,_0x2667ae={};_0x2667ae[_0x5673b1(0x199)]=_0x5673b1(0x185);const _0x20241b=_0x2667ae;return _0x20241b[_0x5673b1(0x199)];};const a114_0x46cc4d={};a114_0x46cc4d[a114_0x5904ed(0x1a5)]=0x8,a114_0x46cc4d[a114_0x5904ed(0x192)]=function(){const _0x16c105=a114_0x5904ed,_0x16d1ed={};_0x16d1ed['RWANI']=_0x16c105(0x198);const _0xc57dfc=_0x16d1ed;return _0xc57dfc[_0x16c105(0x189)];};const a114_0xcb7566={};a114_0xcb7566[a114_0x5904ed(0x1a5)]=0x9,a114_0xcb7566['toString']=function(){const _0x831d39=a114_0x5904ed,_0x52f793={};_0x52f793[_0x831d39(0x18d)]='TestFrameworkState.LOG_REPORT';const _0x5c17b3=_0x52f793;return _0x5c17b3[_0x831d39(0x18d)];};const a114_0x234066={};a114_0x234066[a114_0x5904ed(0x1a5)]=0xa,a114_0x234066[a114_0x5904ed(0x192)]=function(){const _0x3989f1=a114_0x5904ed,_0x228a7b={};_0x228a7b[_0x3989f1(0x195)]=_0x3989f1(0x187);const _0x44959c=_0x228a7b;return _0x44959c['DtgLU'];};const a114_0x4e8114={};a114_0x4e8114[a114_0x5904ed(0x1a5)]=0xb,a114_0x4e8114[a114_0x5904ed(0x192)]=function(){const _0x54a4c3=a114_0x5904ed,_0x474865={};_0x474865['npEBS']=_0x54a4c3(0x194);const _0x5d8959=_0x474865;return _0x5d8959['npEBS'];};const a114_0x14f972={};a114_0x14f972[a114_0x5904ed(0x1a5)]=0xc,a114_0x14f972[a114_0x5904ed(0x192)]=function(){const _0x355754=a114_0x5904ed,_0x1d6e6d={};_0x1d6e6d[_0x355754(0x186)]=_0x355754(0x1a0);const _0x1190e8=_0x1d6e6d;return _0x1190e8['oqDXo'];};const TestFrameworkState=Object[a114_0x5904ed(0x1a8)]({'NONE':a114_0x5060f2,'BEFORE_ALL':a114_0x29bf19,'LOG':a114_0x4bb805,'SETUP_FIXTURE':a114_0x3d97f7,'INIT_TEST':a114_0x4dba5f,'BEFORE_EACH':a114_0x2e7a6f,'AFTER_EACH':a114_0x184610,'TEST':a114_0x459157,'STEP':a114_0x46cc4d,'LOG_REPORT':a114_0xcb7566,'AFTER_ALL':a114_0x234066,'TEST_SCREENSHOT':a114_0x4e8114,'TEST_STEP':a114_0x14f972,'fromValue'(_0x2ba75c){const _0x3f735d=a114_0x5904ed;return Object[_0x3f735d(0x1a7)](TestFrameworkState)[_0x3f735d(0x19e)](_0x5886de=>_0x5886de[_0x3f735d(0x1a5)]===_0x2ba75c);}});module[a114_0x5904ed(0x19b)]=TestFrameworkState;
@@ -1 +1 @@
1
- function a117_0x4a25(_0x584e49,_0xa6f2d5){const _0x17c5f7=a117_0x17c5();return a117_0x4a25=function(_0x4a25f6,_0x3a12bf){_0x4a25f6=_0x4a25f6-0x17c;let _0x1cbc39=_0x17c5f7[_0x4a25f6];return _0x1cbc39;},a117_0x4a25(_0x584e49,_0xa6f2d5);}function a117_0x17c5(){const _0x7a5f8b=['peXKC','1278QYTAxH','KEY_TEST_ID','trim','POST','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','KEY_FILE_NAME','2068610FTYQTj','finish','FJMxt','basename','size','MNxdi','http','join','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','resolveInstance','mkdirSync','getTestIdentifierFromTestInfo','rmSync','KmORg','trackFile','tMhPn','NZAui','logger','TEST','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','currentTest','Cleared\x20attachment\x20folder','CxmQX','./TestInfo','xjwSO','getTrackedInstance','statusCode','toObject','File\x20downloaded\x20to:\x20%s','jVpyF','62811iTBBjJ','./state/hookState','VbMwi','36INUACq','xhUez','homedir','./state/testFrameworkState','modules','BuildLevel','QqGEF','LJlft','isRunning','__jestCurrentTestIdentifier','KEY_FILE_PATH','YUyPg','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','BqzqR','testhubConfig','getTestDetails','QgvOn','40552QFHwof','http://','fcmUL','createWriteStream','./framework/automationFramework','1193187IBOEkt','KEY_TEST_ATTACHMENTS','debug','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','addMultipleEntries','TestHubModule','TestLevel','mqyWC','./browserstackCLI','mphTr','setTestDetails','626gaTqPH','getTestFramework','MBfEp','rOmsc','getInstance','buildHashedId','KEY_FILE_LEVEL','PmfnE','ahldV','avLey','ANCQm','./cliUtils','exports','existsSync','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','TjnUG','util','erXRc','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','https','UBezH','dsLSc','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','statSync','DQtXy','XwMgh','getAllData','uploadAttachments','RrnVZ','./modules/playwrightDriverModule','close','startsWith','__workerDetails','get','NZgtL','yxeuw','getState','Created\x20.browserstack\x20folder\x20at:\x20%s','3137570JkYHYN','glTVQ','4935852tDaiWH','xhbXi','Attachment\x20recevied\x20for\x20path:\x20%s','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','336cKVoaL','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','HhfCH','message','kWLlX','pipe','recursive','tCHjk','unlinkSync','format','EDsgR','sRMsw','jest','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','../../helpers/classLogger.js'];a117_0x17c5=function(){return _0x7a5f8b;};return a117_0x17c5();}const a117_0x1a7b88=a117_0x4a25;(function(_0xe97488,_0x8022c4){const _0x509760=a117_0x4a25,_0x56269d=_0xe97488();while(!![]){try{const _0x5438b2=parseInt(_0x509760(0x1c7))/0x1*(-parseInt(_0x509760(0x17e))/0x2)+-parseInt(_0x509760(0x1bc))/0x3+-parseInt(_0x509760(0x1b7))/0x4+-parseInt(_0x509760(0x184))/0x5+parseInt(_0x509760(0x1ef))/0x6+-parseInt(_0x509760(0x1a2))/0x7*(parseInt(_0x509760(0x1f3))/0x8)+parseInt(_0x509760(0x1a5))/0x9*(parseInt(_0x509760(0x1ed))/0xa);if(_0x5438b2===_0x8022c4)break;else _0x56269d['push'](_0x56269d['shift']());}catch(_0x5f5865){_0x56269d['push'](_0x56269d['shift']());}}}(a117_0x17c5,0x74fe1));const os=require('os'),fs=require('fs'),path=require('path'),util=require(a117_0x1a7b88(0x1d7)),BrowserstackCLI=require(a117_0x1a7b88(0x1c4)),https=require(a117_0x1a7b88(0x1da)),http=require(a117_0x1a7b88(0x18a)),AutomationFramework=require(a117_0x1a7b88(0x1bb)),PlaywrightDriverModule=require(a117_0x1a7b88(0x1e4)),TestInfo=require(a117_0x1a7b88(0x19b)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require(a117_0x1a7b88(0x17c));class uploadAttachmentsManager{static [a117_0x1a7b88(0x195)]=createClassLogger('uploadAttachmentsManager');static[a117_0x1a7b88(0x1e2)](_0x49ca57,_0x81d3fb=![]){const _0x56ce81=a117_0x1a7b88,_0x338d71={};_0x338d71[_0x56ce81(0x1c9)]=function(_0x35b68c,_0x3e6c4c){return _0x35b68c/_0x3e6c4c;},_0x338d71['CxmQX']=function(_0x11eca5,_0x584cbd){return _0x11eca5*_0x584cbd;},_0x338d71[_0x56ce81(0x1b0)]=function(_0x4faba4,_0x344701){return _0x4faba4>_0x344701;},_0x338d71[_0x56ce81(0x1e3)]='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0x338d71[_0x56ce81(0x1b3)]=_0x56ce81(0x1a0),_0x338d71[_0x56ce81(0x1ca)]=function(_0x2f2eef,_0x3b6ee4){return _0x2f2eef===_0x3b6ee4;},_0x338d71[_0x56ce81(0x189)]=_0x56ce81(0x185),_0x338d71[_0x56ce81(0x1a6)]=_0x56ce81(0x1bf),_0x338d71[_0x56ce81(0x1ac)]=_0x56ce81(0x200),_0x338d71[_0x56ce81(0x1f0)]=_0x56ce81(0x1f1),_0x338d71[_0x56ce81(0x1f5)]='.browserstack',_0x338d71[_0x56ce81(0x1c3)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x338d71[_0x56ce81(0x1ce)]=_0x56ce81(0x1ec),_0x338d71[_0x56ce81(0x186)]='Created\x20folder:\x20%s',_0x338d71[_0x56ce81(0x1ab)]=function(_0x2d5181,_0x4b4b1e){return _0x2d5181===_0x4b4b1e;},_0x338d71[_0x56ce81(0x1ee)]=_0x56ce81(0x197),_0x338d71[_0x56ce81(0x1d1)]='https://',_0x338d71[_0x56ce81(0x191)]=_0x56ce81(0x1b8),_0x338d71[_0x56ce81(0x1b9)]='error',_0x338d71[_0x56ce81(0x1ea)]=_0x56ce81(0x1d9),_0x338d71[_0x56ce81(0x1d8)]=_0x56ce81(0x1f4);const _0x1edef5=_0x338d71;this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util['format'](_0x1edef5[_0x56ce81(0x1f0)],_0x49ca57));const _0x39ea78=os[_0x56ce81(0x1a7)](),_0x48d196=path[_0x56ce81(0x18b)](_0x39ea78,_0x1edef5['HhfCH']);!fs[_0x56ce81(0x1d4)](_0x48d196)&&(this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util[_0x56ce81(0x1fc)](_0x1edef5[_0x56ce81(0x1c3)],_0x48d196)),fs['mkdirSync'](_0x48d196),this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util[_0x56ce81(0x1fc)](_0x1edef5[_0x56ce81(0x1ce)],_0x48d196)));const _0x267ac3=BrowserstackCLI[_0x56ce81(0x1cb)]()[_0x56ce81(0x1a9)][_0x56ce81(0x1c1)]?.[_0x56ce81(0x1b4)]?.['toObject']()?.[_0x56ce81(0x1cc)],_0x179f21=path[_0x56ce81(0x18b)](_0x48d196,_0x267ac3);!fs[_0x56ce81(0x1d4)](_0x179f21)&&(fs[_0x56ce81(0x18e)](_0x179f21),this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util[_0x56ce81(0x1fc)](_0x1edef5['FJMxt'],_0x179f21)));if(_0x1edef5[_0x56ce81(0x1ab)](_0x49ca57[_0x56ce81(0x180)](),'')){this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util['format'](_0x1edef5[_0x56ce81(0x1ee)]));return;}if(_0x49ca57['startsWith'](_0x1edef5[_0x56ce81(0x1d1)])||_0x49ca57[_0x56ce81(0x1e6)](_0x1edef5[_0x56ce81(0x191)])){const _0x5581d9=_0x49ca57[_0x56ce81(0x1e6)](_0x1edef5[_0x56ce81(0x1d1)])?https:http,_0xce17a2=path[_0x56ce81(0x187)](_0x49ca57),_0x14eec8=path['join'](_0x179f21,_0xce17a2),_0x5d9ae8=fs[_0x56ce81(0x1ba)](_0x14eec8);_0x5581d9[_0x56ce81(0x1e8)](_0x49ca57,_0x42fcf5=>{const _0x34572f=_0x56ce81,_0x279997={'xjwSO':function(_0x1b9cd8,_0x476a42){const _0x5e1695=a117_0x4a25;return _0x1edef5[_0x5e1695(0x1c9)](_0x1b9cd8,_0x476a42);},'VbMwi':function(_0x5c09e8,_0x1733de){const _0x5e32aa=a117_0x4a25;return _0x1edef5[_0x5e32aa(0x19a)](_0x5c09e8,_0x1733de);},'civZD':function(_0x3345f9,_0x49777e){const _0x1d18a6=a117_0x4a25;return _0x1edef5[_0x1d18a6(0x1b0)](_0x3345f9,_0x49777e);},'DQtXy':_0x1edef5[_0x34572f(0x1e3)],'gkxxI':_0x1edef5['BqzqR']};if(_0x1edef5[_0x34572f(0x1ca)](_0x42fcf5['statusCode'],0xc8))_0x42fcf5[_0x34572f(0x1f8)](_0x5d9ae8),_0x5d9ae8['on'](_0x1edef5[_0x34572f(0x189)],()=>{const _0x31e92f=_0x34572f;_0x5d9ae8[_0x31e92f(0x1e5)]();const _0xb0b25d=fs[_0x31e92f(0x1de)](_0x14eec8),_0x23e0d2=_0x279997[_0x31e92f(0x19c)](_0xb0b25d['size'],_0x279997[_0x31e92f(0x1a4)](0x400,0x400));if(_0x279997['civZD'](_0x23e0d2,0x64)){this[_0x31e92f(0x195)][_0x31e92f(0x1be)](util[_0x31e92f(0x1fc)](_0x279997[_0x31e92f(0x1df)],_0x23e0d2['toFixed'](0x2))),fs[_0x31e92f(0x1fb)](_0x14eec8);return;}this[_0x31e92f(0x195)]['debug'](util['format'](_0x279997['gkxxI'],_0x14eec8)),uploadAttachmentsManager[_0x31e92f(0x192)](_0x14eec8,_0x81d3fb);});else{this[_0x34572f(0x195)][_0x34572f(0x1be)](util[_0x34572f(0x1fc)](_0x1edef5[_0x34572f(0x1a6)],_0x42fcf5[_0x34572f(0x19e)])),_0x5d9ae8[_0x34572f(0x1e5)](),fs[_0x34572f(0x1fb)](_0x14eec8);return;}})['on'](_0x1edef5[_0x56ce81(0x1b9)],_0xc38a06=>{const _0x1b8380=_0x56ce81;this[_0x1b8380(0x195)][_0x1b8380(0x1be)](util[_0x1b8380(0x1fc)](_0x1edef5['LJlft'],_0xc38a06[_0x1b8380(0x1f6)])),_0x5d9ae8['close'](),fs[_0x1b8380(0x1fb)](_0x14eec8);return;});}else{if(!fs[_0x56ce81(0x1d4)](_0x49ca57)){this[_0x56ce81(0x195)]['debug'](util[_0x56ce81(0x1fc)](_0x1edef5[_0x56ce81(0x1ea)],_0x49ca57));return;}const _0x3ad28b=fs['statSync'](_0x49ca57),_0x2fd21a=_0x1edef5[_0x56ce81(0x1c9)](_0x3ad28b[_0x56ce81(0x188)],_0x1edef5[_0x56ce81(0x19a)](0x400,0x400));if(_0x1edef5[_0x56ce81(0x1b0)](_0x2fd21a,0x64)){this[_0x56ce81(0x195)][_0x56ce81(0x1be)](util[_0x56ce81(0x1fc)](_0x1edef5[_0x56ce81(0x1d8)],_0x2fd21a['toFixed'](0x2)));return;}const _0x2d7120=path[_0x56ce81(0x187)](_0x49ca57),_0x2d3f01=path[_0x56ce81(0x18b)](_0x179f21,_0x2d7120);fs['copyFileSync'](_0x49ca57,_0x2d3f01),uploadAttachmentsManager['trackFile'](_0x2d3f01,_0x81d3fb);}}static[a117_0x1a7b88(0x192)](_0x5ced38,_0x1f2c59){const _0x28ff95=a117_0x1a7b88,_0xbdb86d={'tMhPn':function(_0xb5a230,_0x399243){return _0xb5a230(_0x399243);},'iiCSJ':_0x28ff95(0x1c4),'EDsgR':_0x28ff95(0x1d2),'avLey':function(_0x5ece61,_0x141858){return _0x5ece61===_0x141858;},'UdMxz':_0x28ff95(0x1ff),'XwMgh':_0x28ff95(0x1b2),'ahldV':_0x28ff95(0x1aa),'QgvOn':_0x28ff95(0x1c2),'jVpyF':_0x28ff95(0x18c),'sRMsw':function(_0x156f37,_0x59efe7){return _0x156f37(_0x59efe7);},'NZAui':_0x28ff95(0x1a8),'kWLlX':function(_0x514170,_0x2ff600){return _0x514170(_0x2ff600);},'UBezH':_0x28ff95(0x1a3),'tCHjk':_0x28ff95(0x1b1),'NZgtL':'Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','dsLSc':_0x28ff95(0x1d5)};try{let _0xbfd5e0;const _0x2c94fc=global[_0x28ff95(0x1e7)]?.[_0x28ff95(0x198)]?.['testInfo'],_0x150220=_0xbdb86d[_0x28ff95(0x193)](require,_0xbdb86d['iiCSJ']),_0x3c6241=_0xbdb86d['tMhPn'](require,_0xbdb86d[_0x28ff95(0x1fd)]),_0x4b4ca2=_0x150220[_0x28ff95(0x1cb)]()[_0x28ff95(0x1ad)]()&&_0xbdb86d[_0x28ff95(0x1d0)](_0x3c6241['getTestFrameworkDetail']()?.['name']?.['toLowerCase'](),_0xbdb86d['UdMxz']);if(_0x4b4ca2){_0xbfd5e0=global[_0x28ff95(0x1ae)];if(!_0xbfd5e0){const _0x5c3dea=AutomationFramework[_0x28ff95(0x19d)]();_0xbfd5e0=AutomationFramework[_0x28ff95(0x1eb)](_0x5c3dea,PlaywrightDriverModule[_0x28ff95(0x17f)],'');}this[_0x28ff95(0x195)]['debug'](_0x28ff95(0x1dd)+_0xbfd5e0);}else{if(!_0x2c94fc){const _0x3ebf87=AutomationFramework[_0x28ff95(0x19d)]();_0xbfd5e0=AutomationFramework[_0x28ff95(0x1eb)](_0x3ebf87,PlaywrightDriverModule['KEY_TEST_ID'],'');}else _0xbfd5e0=TestInfo[_0x28ff95(0x18f)](_0x2c94fc,_0x2c94fc['retry']);this['logger'][_0x28ff95(0x1be)](_0x28ff95(0x182)+_0xbfd5e0);}if(!_0xbfd5e0){this[_0x28ff95(0x195)][_0x28ff95(0x1be)](_0xbdb86d[_0x28ff95(0x1e0)]);return;}const _0x2a3cb0={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0x28ff95(0x1de)](_0x5ced38)[_0x28ff95(0x188)],[TestFrameworkConstants[_0x28ff95(0x183)]]:path['basename'](_0x5ced38),[TestFrameworkConstants[_0x28ff95(0x1af)]]:_0x5ced38,[TestFrameworkConstants[_0x28ff95(0x1cd)]]:_0x1f2c59?_0xbdb86d[_0x28ff95(0x1cf)]:_0xbdb86d[_0x28ff95(0x1b6)]};if(_0x4b4ca2){const _0x24176d=_0x150220[_0x28ff95(0x1cb)]()[_0x28ff95(0x1c8)]();if(!_0x24176d){this['logger'][_0x28ff95(0x1be)](_0xbdb86d[_0x28ff95(0x1a1)]);return;}const _0x2dbd7a=_0xbdb86d[_0x28ff95(0x1fe)](require,_0xbdb86d[_0x28ff95(0x194)]),_0x3ad25d=_0xbdb86d[_0x28ff95(0x1f7)](require,_0xbdb86d[_0x28ff95(0x1db)]),_0x2fa981=_0x24176d[_0x28ff95(0x18d)](_0x2dbd7a[_0x28ff95(0x196)],_0x3ad25d[_0x28ff95(0x181)]);if(!_0x2fa981){this['logger'][_0x28ff95(0x1be)](_0xbdb86d[_0x28ff95(0x1fa)]);return;}const _0x395a16=_0x2fa981[_0x28ff95(0x1e1)]()[_0x28ff95(0x1e8)](_0xbfd5e0)||{},_0x45ea82=_0x395a16[TestFrameworkConstants[_0x28ff95(0x1bd)]]||{},_0x119981={..._0x45ea82};_0x119981[_0x5ced38]=_0x2a3cb0;const _0x39f247=_0x119981,_0x3a9172={[TestFrameworkConstants[_0x28ff95(0x1bd)]]:_0x39f247},_0x49167e={};_0x49167e[_0xbfd5e0]=_0x3a9172,_0x2fa981[_0x28ff95(0x1c0)](_0x49167e),this[_0x28ff95(0x195)][_0x28ff95(0x1be)]('trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20'+_0xbfd5e0+',\x20filepath:\x20'+_0x5ced38);}else{const _0x2d6388=TestInfo[_0x28ff95(0x1b5)](_0xbfd5e0),_0x26b3ed=_0x2d6388[TestFrameworkConstants[_0x28ff95(0x1bd)]]||{};_0x26b3ed[_0x5ced38]=_0x2a3cb0,_0x2d6388[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]=_0x26b3ed,TestInfo[_0x28ff95(0x1c6)](_0xbfd5e0,_0x2d6388),this['logger'][_0x28ff95(0x1be)](_0x28ff95(0x1f2)+_0xbfd5e0+',\x20filepath:\x20'+_0x5ced38);}this[_0x28ff95(0x195)][_0x28ff95(0x1be)](util['format'](_0xbdb86d[_0x28ff95(0x1e9)],_0x5ced38));}catch(_0x4ba5e2){this[_0x28ff95(0x195)][_0x28ff95(0x1be)](util[_0x28ff95(0x1fc)](_0xbdb86d[_0x28ff95(0x1dc)],_0x4ba5e2[_0x28ff95(0x1f6)]));}}static['clearAttachments'](){const _0x391a43=a117_0x1a7b88,_0x1e3bf5={};_0x1e3bf5['mphTr']='.browserstack',_0x1e3bf5[_0x391a43(0x1d6)]='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x1e3bf5[_0x391a43(0x17d)]=_0x391a43(0x199);const _0x28f1f9=_0x1e3bf5,_0x1a0a0f=os[_0x391a43(0x1a7)](),_0x58ebdf=path[_0x391a43(0x18b)](_0x1a0a0f,_0x28f1f9[_0x391a43(0x1c5)]);if(!fs[_0x391a43(0x1d4)](_0x58ebdf))return;const _0x48fae3=BrowserstackCLI['getInstance']()[_0x391a43(0x1a9)][_0x391a43(0x1c1)]?.['testhubConfig']?.[_0x391a43(0x19f)]()?.[_0x391a43(0x1cc)],_0x23115a=_0x48fae3?path['join'](_0x58ebdf,_0x48fae3):null;if(!_0x23115a||!fs[_0x391a43(0x1d4)](_0x23115a)){this[_0x391a43(0x195)][_0x391a43(0x1be)](util['format'](_0x28f1f9[_0x391a43(0x1d6)],_0x48fae3));return;}const _0x15964b={};_0x15964b[_0x391a43(0x1f9)]=!![],_0x15964b['force']=!![],fs[_0x391a43(0x190)](_0x23115a,_0x15964b),this[_0x391a43(0x195)][_0x391a43(0x1be)](util[_0x391a43(0x1fc)](_0x28f1f9[_0x391a43(0x17d)]));}}module[a117_0x1a7b88(0x1d3)]=uploadAttachmentsManager;
1
+ const a115_0x22aa62=a115_0x39de;function a115_0x2aa7(){const _0x583c5d=['qVAYo','message','size','getTrackedInstance','XmqWk','Cleared\x20attachment\x20folder','toObject','uploadAttachmentsManager','homedir','POLfh','rmSync','util','logger','getInstance','copyFileSync','SyUvJ','ptcSL','PNNCG','3939308mrmZmy','../../helpers/classLogger.js','KEY_FILE_LEVEL','uvlcy','pipe','clearAttachments','getState','KEY_FILE_SIZE','82CIFuqt','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','getTestFrameworkDetail','KEY_FILE_NAME','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','./TestInfo','TestHubModule','File\x20downloaded\x20to:\x20%s','Created\x20.browserstack\x20folder\x20at:\x20%s','XIEiz','trim','finish','KEY_TEST_ATTACHMENTS','ByMYe','testInfo','xXdcI','isRunning','startsWith','iTWjV','etFMx','KEY_FILE_PATH','tGzXQ','format','trackFile','get','dVsnQ','basename','1267408CDHGxv','uewkm','./state/testFrameworkState','./browserstackCLI','TestLevel','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','XtwKh','toFixed','close','.browserstack','uploadAttachments','lfbfY','__jestCurrentTestIdentifier','eATPc','debug','BuildLevel','wgjAj','SstiG','./cliUtils','https','3924585JUzWjq','getTestFramework','6597306gkRmQt','addMultipleEntries','29285jeaFkX','hctSw','Created\x20folder:\x20%s','rQsXP','testhubConfig','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','__workerDetails','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','EQjTv','tFacj','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','http','exports','./framework/constants/testFrameworkConstants','1692516zolmfr','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','modules','321642hLDUIk','ngQam','getTestDetails','force','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','POST','mkdirSync','CcVix','statSync','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','KEY_TEST_ID','tyeGu','30LQPXhU','zsTQD','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','join','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','FhbyC','https://','LyGoC','vTFHW','TmAuj','resolveInstance','unlinkSync','./framework/automationFramework',',\x20filepath:\x20','hRMoV','buildHashedId','toLowerCase','./state/hookState','CyMKw','YWGOH','createWriteStream','currentTest','OXhRk','path','existsSync','http://'];a115_0x2aa7=function(){return _0x583c5d;};return a115_0x2aa7();}(function(_0x3447f9,_0x22eb9c){const _0x4f1f18=a115_0x39de,_0x450ef5=_0x3447f9();while(!![]){try{const _0xaec95=parseInt(_0x4f1f18(0x1da))/0x1*(-parseInt(_0x4f1f18(0x1a7))/0x2)+parseInt(_0x4f1f18(0x1e8))/0x3+parseInt(_0x4f1f18(0x19f))/0x4+parseInt(_0x4f1f18(0x1f7))/0x5*(parseInt(_0x4f1f18(0x1eb))/0x6)+-parseInt(_0x4f1f18(0x1d6))/0x7+-parseInt(_0x4f1f18(0x1c2))/0x8+parseInt(_0x4f1f18(0x1d8))/0x9;if(_0xaec95===_0x22eb9c)break;else _0x450ef5['push'](_0x450ef5['shift']());}catch(_0x2ae482){_0x450ef5['push'](_0x450ef5['shift']());}}}(a115_0x2aa7,0xa6f85));function a115_0x39de(_0xd81646,_0x1eb5c1){const _0x2aa770=a115_0x2aa7();return a115_0x39de=function(_0x39de74,_0x2dcd49){_0x39de74=_0x39de74-0x19f;let _0x628015=_0x2aa770[_0x39de74];return _0x628015;},a115_0x39de(_0xd81646,_0x1eb5c1);}const os=require('os'),fs=require('fs'),path=require(a115_0x22aa62(0x20e)),util=require(a115_0x22aa62(0x21c)),BrowserstackCLI=require(a115_0x22aa62(0x1c5)),https=require(a115_0x22aa62(0x1d5)),http=require(a115_0x22aa62(0x1e5)),AutomationFramework=require(a115_0x22aa62(0x203)),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require(a115_0x22aa62(0x1ac)),TestFrameworkConstants=require(a115_0x22aa62(0x1e7)),{createClassLogger}=require(a115_0x22aa62(0x1a0));class uploadAttachmentsManager{static [a115_0x22aa62(0x21d)]=createClassLogger(a115_0x22aa62(0x218));static[a115_0x22aa62(0x1cc)](_0xbdfb62,_0x194f6f=![]){const _0x4b7b58=a115_0x22aa62,_0x1b83fc={};_0x1b83fc['wgjAj']=function(_0x51a0d2,_0x1fff4c){return _0x51a0d2/_0x1fff4c;},_0x1b83fc[_0x4b7b58(0x205)]=function(_0x1fe2aa,_0x2b1720){return _0x1fe2aa*_0x2b1720;},_0x1b83fc['SyUvJ']=function(_0x302ca9,_0x3b00b3){return _0x302ca9>_0x3b00b3;},_0x1b83fc['ptcSL']='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0x1b83fc[_0x4b7b58(0x1f8)]=_0x4b7b58(0x1ae),_0x1b83fc[_0x4b7b58(0x211)]=function(_0x3ae830,_0x1dfb36){return _0x3ae830===_0x1dfb36;},_0x1b83fc[_0x4b7b58(0x209)]=_0x4b7b58(0x1b2),_0x1b83fc['tFacj']='Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload',_0x1b83fc[_0x4b7b58(0x1c8)]=_0x4b7b58(0x1ef),_0x1b83fc[_0x4b7b58(0x1d3)]='Attachment\x20recevied\x20for\x20path:\x20%s',_0x1b83fc[_0x4b7b58(0x222)]='.browserstack',_0x1b83fc[_0x4b7b58(0x1a2)]=_0x4b7b58(0x1f9),_0x1b83fc[_0x4b7b58(0x1ba)]=_0x4b7b58(0x1af),_0x1b83fc['iTWjV']=_0x4b7b58(0x1dc),_0x1b83fc[_0x4b7b58(0x1cf)]=_0x4b7b58(0x1df),_0x1b83fc[_0x4b7b58(0x20a)]=_0x4b7b58(0x1fd),_0x1b83fc[_0x4b7b58(0x1bc)]=_0x4b7b58(0x210),_0x1b83fc[_0x4b7b58(0x1ec)]='error',_0x1b83fc[_0x4b7b58(0x21a)]='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x1b83fc[_0x4b7b58(0x1cd)]=function(_0x1924b6,_0x49975d){return _0x1924b6>_0x49975d;},_0x1b83fc[_0x4b7b58(0x1f6)]=_0x4b7b58(0x1e9);const _0x71fbe4=_0x1b83fc;this[_0x4b7b58(0x21d)][_0x4b7b58(0x1d0)](util[_0x4b7b58(0x1bd)](_0x71fbe4[_0x4b7b58(0x1d3)],_0xbdfb62));const _0x484b17=os[_0x4b7b58(0x219)](),_0x38236b=path[_0x4b7b58(0x1fa)](_0x484b17,_0x71fbe4[_0x4b7b58(0x222)]);!fs['existsSync'](_0x38236b)&&(this[_0x4b7b58(0x21d)][_0x4b7b58(0x1d0)](util[_0x4b7b58(0x1bd)](_0x71fbe4[_0x4b7b58(0x1a2)],_0x38236b)),fs['mkdirSync'](_0x38236b),this['logger']['debug'](util[_0x4b7b58(0x1bd)](_0x71fbe4[_0x4b7b58(0x1ba)],_0x38236b)));const _0x36f11d=BrowserstackCLI[_0x4b7b58(0x21e)]()[_0x4b7b58(0x1ea)][_0x4b7b58(0x1ad)]?.['testhubConfig']?.[_0x4b7b58(0x217)]()?.[_0x4b7b58(0x206)],_0x433935=path[_0x4b7b58(0x1fa)](_0x38236b,_0x36f11d);!fs[_0x4b7b58(0x20f)](_0x433935)&&(fs[_0x4b7b58(0x1f1)](_0x433935),this['logger']['debug'](util[_0x4b7b58(0x1bd)](_0x71fbe4[_0x4b7b58(0x1b9)],_0x433935)));if(_0x71fbe4[_0x4b7b58(0x211)](_0xbdfb62[_0x4b7b58(0x1b1)](),'')){this[_0x4b7b58(0x21d)][_0x4b7b58(0x1d0)](util[_0x4b7b58(0x1bd)](_0x71fbe4[_0x4b7b58(0x1cf)]));return;}if(_0xbdfb62[_0x4b7b58(0x1b8)](_0x71fbe4[_0x4b7b58(0x20a)])||_0xbdfb62[_0x4b7b58(0x1b8)](_0x71fbe4[_0x4b7b58(0x1bc)])){const _0x451ac4=_0xbdfb62[_0x4b7b58(0x1b8)](_0x71fbe4[_0x4b7b58(0x20a)])?https:http,_0x17e01d=path[_0x4b7b58(0x1c1)](_0xbdfb62),_0x309135=path[_0x4b7b58(0x1fa)](_0x433935,_0x17e01d),_0x1c4472=fs[_0x4b7b58(0x20b)](_0x309135);_0x451ac4[_0x4b7b58(0x1bf)](_0xbdfb62,_0x276238=>{const _0x3bdd97=_0x4b7b58;if(_0x71fbe4['qVAYo'](_0x276238['statusCode'],0xc8))_0x276238[_0x3bdd97(0x1a3)](_0x1c4472),_0x1c4472['on'](_0x71fbe4[_0x3bdd97(0x209)],()=>{const _0x2d9d82=_0x3bdd97;_0x1c4472[_0x2d9d82(0x1ca)]();const _0x36cc26=fs['statSync'](_0x309135),_0x51e0ba=_0x71fbe4['wgjAj'](_0x36cc26['size'],_0x71fbe4[_0x2d9d82(0x205)](0x400,0x400));if(_0x71fbe4[_0x2d9d82(0x220)](_0x51e0ba,0x64)){this[_0x2d9d82(0x21d)][_0x2d9d82(0x1d0)](util[_0x2d9d82(0x1bd)](_0x71fbe4[_0x2d9d82(0x221)],_0x51e0ba[_0x2d9d82(0x1c9)](0x2))),fs[_0x2d9d82(0x202)](_0x309135);return;}this['logger'][_0x2d9d82(0x1d0)](util[_0x2d9d82(0x1bd)](_0x71fbe4['zsTQD'],_0x309135)),uploadAttachmentsManager[_0x2d9d82(0x1be)](_0x309135,_0x194f6f);});else{this[_0x3bdd97(0x21d)]['debug'](util[_0x3bdd97(0x1bd)](_0x71fbe4[_0x3bdd97(0x1e3)],_0x276238['statusCode'])),_0x1c4472[_0x3bdd97(0x1ca)](),fs[_0x3bdd97(0x202)](_0x309135);return;}})['on'](_0x71fbe4['ngQam'],_0x3ca815=>{const _0x460bc1=_0x4b7b58;this[_0x460bc1(0x21d)][_0x460bc1(0x1d0)](util[_0x460bc1(0x1bd)](_0x71fbe4[_0x460bc1(0x1c8)],_0x3ca815[_0x460bc1(0x212)])),_0x1c4472['close'](),fs[_0x460bc1(0x202)](_0x309135);return;});}else{if(!fs['existsSync'](_0xbdfb62)){this[_0x4b7b58(0x21d)][_0x4b7b58(0x1d0)](util['format'](_0x71fbe4[_0x4b7b58(0x21a)],_0xbdfb62));return;}const _0x39de84=fs[_0x4b7b58(0x1f3)](_0xbdfb62),_0x182df4=_0x71fbe4[_0x4b7b58(0x1d2)](_0x39de84[_0x4b7b58(0x213)],_0x71fbe4[_0x4b7b58(0x205)](0x400,0x400));if(_0x71fbe4[_0x4b7b58(0x1cd)](_0x182df4,0x64)){this[_0x4b7b58(0x21d)][_0x4b7b58(0x1d0)](util[_0x4b7b58(0x1bd)](_0x71fbe4[_0x4b7b58(0x1f6)],_0x182df4[_0x4b7b58(0x1c9)](0x2)));return;}const _0x2b7c23=path['basename'](_0xbdfb62),_0x404fb1=path[_0x4b7b58(0x1fa)](_0x433935,_0x2b7c23);fs[_0x4b7b58(0x21f)](_0xbdfb62,_0x404fb1),uploadAttachmentsManager['trackFile'](_0x404fb1,_0x194f6f);}}static[a115_0x22aa62(0x1be)](_0x2ff9ad,_0x352ed0){const _0x580490=a115_0x22aa62,_0x5525e9={'xXdcI':function(_0x5c0b8a,_0x5e4bf1){return _0x5c0b8a(_0x5e4bf1);},'ENbaZ':_0x580490(0x1c5),'WvSCs':_0x580490(0x1d4),'XmqWk':function(_0x2eef34,_0x384a48){return _0x2eef34===_0x384a48;},'EQjTv':'jest','ByMYe':'trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','CcVix':_0x580490(0x1d1),'dVsnQ':_0x580490(0x1c6),'TmAuj':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','cNnte':function(_0x55d4a0,_0x3f1da8){return _0x55d4a0(_0x3f1da8);},'vTFHW':_0x580490(0x1c4),'XIEiz':_0x580490(0x208),'rQsXP':_0x580490(0x1a8),'FhbyC':'Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','hctSw':_0x580490(0x1c7)};try{let _0x58f82d;const _0x255079=global[_0x580490(0x1e0)]?.[_0x580490(0x20c)]?.[_0x580490(0x1b5)],_0x1e6376=_0x5525e9[_0x580490(0x1b6)](require,_0x5525e9['ENbaZ']),_0x3a4a70=_0x5525e9[_0x580490(0x1b6)](require,_0x5525e9['WvSCs']),_0x3a2b82=_0x1e6376[_0x580490(0x21e)]()[_0x580490(0x1b7)]()&&_0x5525e9[_0x580490(0x215)](_0x3a4a70[_0x580490(0x1a9)]()?.['name']?.[_0x580490(0x207)](),_0x5525e9[_0x580490(0x1e2)]);if(_0x3a2b82){_0x58f82d=global[_0x580490(0x1ce)];if(!_0x58f82d){const _0x478c59=AutomationFramework['getTrackedInstance']();_0x58f82d=AutomationFramework[_0x580490(0x1a5)](_0x478c59,PlaywrightDriverModule[_0x580490(0x1f5)],'');}this['logger']['debug'](_0x580490(0x1ab)+_0x58f82d);}else{if(!_0x255079){const _0x433b38=AutomationFramework[_0x580490(0x214)]();_0x58f82d=AutomationFramework[_0x580490(0x1a5)](_0x433b38,PlaywrightDriverModule[_0x580490(0x1f5)],'');}else _0x58f82d=TestInfo['getTestIdentifierFromTestInfo'](_0x255079,_0x255079['retry']);this[_0x580490(0x21d)][_0x580490(0x1d0)](_0x580490(0x1fb)+_0x58f82d);}if(!_0x58f82d){this[_0x580490(0x21d)][_0x580490(0x1d0)](_0x5525e9[_0x580490(0x1b4)]);return;}const _0x53349b={[TestFrameworkConstants[_0x580490(0x1a6)]]:fs['statSync'](_0x2ff9ad)[_0x580490(0x213)],[TestFrameworkConstants[_0x580490(0x1aa)]]:path[_0x580490(0x1c1)](_0x2ff9ad),[TestFrameworkConstants[_0x580490(0x1bb)]]:_0x2ff9ad,[TestFrameworkConstants[_0x580490(0x1a1)]]:_0x352ed0?_0x5525e9[_0x580490(0x1f2)]:_0x5525e9[_0x580490(0x1c0)]};if(_0x3a2b82){const _0x4d926b=_0x1e6376[_0x580490(0x21e)]()[_0x580490(0x1d7)]();if(!_0x4d926b){this[_0x580490(0x21d)]['debug'](_0x5525e9[_0x580490(0x200)]);return;}const _0x5ddee8=_0x5525e9['cNnte'](require,_0x5525e9[_0x580490(0x1ff)]),_0x122f19=_0x5525e9['xXdcI'](require,_0x5525e9[_0x580490(0x1b0)]),_0x36d6dd=_0x4d926b[_0x580490(0x201)](_0x5ddee8['TEST'],_0x122f19[_0x580490(0x1f0)]);if(!_0x36d6dd){this['logger'][_0x580490(0x1d0)](_0x5525e9[_0x580490(0x1dd)]);return;}const _0x30e7b8=_0x36d6dd['getAllData']()[_0x580490(0x1bf)](_0x58f82d)||{},_0x3d9460=_0x30e7b8[TestFrameworkConstants[_0x580490(0x1b3)]]||{},_0x50a3a6={..._0x3d9460};_0x50a3a6[_0x2ff9ad]=_0x53349b;const _0x1d3af1=_0x50a3a6,_0x2544fd={[TestFrameworkConstants[_0x580490(0x1b3)]]:_0x1d3af1},_0x343759={};_0x343759[_0x58f82d]=_0x2544fd,_0x36d6dd[_0x580490(0x1d9)](_0x343759),this[_0x580490(0x21d)][_0x580490(0x1d0)](_0x580490(0x1f4)+_0x58f82d+_0x580490(0x204)+_0x2ff9ad);}else{const _0x49b113=TestInfo[_0x580490(0x1ed)](_0x58f82d),_0x57fc82=_0x49b113[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{};_0x57fc82[_0x2ff9ad]=_0x53349b,_0x49b113[TestFrameworkConstants[_0x580490(0x1b3)]]=_0x57fc82,TestInfo['setTestDetails'](_0x58f82d,_0x49b113),this[_0x580490(0x21d)][_0x580490(0x1d0)](_0x580490(0x1e4)+_0x58f82d+_0x580490(0x204)+_0x2ff9ad);}this[_0x580490(0x21d)][_0x580490(0x1d0)](util['format'](_0x5525e9[_0x580490(0x1fc)],_0x2ff9ad));}catch(_0x5c142a){this[_0x580490(0x21d)]['debug'](util['format'](_0x5525e9[_0x580490(0x1db)],_0x5c142a[_0x580490(0x212)]));}}static[a115_0x22aa62(0x1a4)](){const _0x482847=a115_0x22aa62,_0x58f512={};_0x58f512['uewkm']=_0x482847(0x1cb),_0x58f512[_0x482847(0x20d)]=_0x482847(0x1e1),_0x58f512['LyGoC']=_0x482847(0x216);const _0x261065=_0x58f512,_0x18e6ba=os[_0x482847(0x219)](),_0x25728b=path[_0x482847(0x1fa)](_0x18e6ba,_0x261065[_0x482847(0x1c3)]);if(!fs[_0x482847(0x20f)](_0x25728b))return;const _0x4965cb=BrowserstackCLI['getInstance']()[_0x482847(0x1ea)][_0x482847(0x1ad)]?.[_0x482847(0x1de)]?.[_0x482847(0x217)]()?.[_0x482847(0x206)],_0x41b916=_0x4965cb?path[_0x482847(0x1fa)](_0x25728b,_0x4965cb):null;if(!_0x41b916||!fs['existsSync'](_0x41b916)){this[_0x482847(0x21d)][_0x482847(0x1d0)](util[_0x482847(0x1bd)](_0x261065['OXhRk'],_0x4965cb));return;}const _0x52cad0={};_0x52cad0['recursive']=!![],_0x52cad0[_0x482847(0x1ee)]=!![],fs[_0x482847(0x21b)](_0x41b916,_0x52cad0),this['logger']['debug'](util[_0x482847(0x1bd)](_0x261065[_0x482847(0x1fe)]));}}module[a115_0x22aa62(0x1e6)]=uploadAttachmentsManager;
@@ -1 +1 @@
1
- const a118_0xd67bac=a118_0x23f8;(function(_0x35fab3,_0x50f1d2){const _0x22108b=a118_0x23f8,_0x40927d=_0x35fab3();while(!![]){try{const _0x2d2cb6=-parseInt(_0x22108b(0x12a))/0x1+-parseInt(_0x22108b(0x14c))/0x2+parseInt(_0x22108b(0x13c))/0x3+-parseInt(_0x22108b(0xe4))/0x4*(-parseInt(_0x22108b(0x12c))/0x5)+-parseInt(_0x22108b(0x140))/0x6+-parseInt(_0x22108b(0xfb))/0x7*(parseInt(_0x22108b(0xc1))/0x8)+parseInt(_0x22108b(0x12f))/0x9*(parseInt(_0x22108b(0x108))/0xa);if(_0x2d2cb6===_0x50f1d2)break;else _0x40927d['push'](_0x40927d['shift']());}catch(_0x290d3c){_0x40927d['push'](_0x40927d['shift']());}}}(a118_0x2f6f,0xa2785));function a118_0x2f6f(){const _0x8db8b5=['failure','316QiJUBx','duration_in_ms','finished_at','EkDhj','failureData','ZVqsw','finishedAt','_gitConfigPath','OwXRi','failureType','SKIPPED','passed','HookRunStarted','join','zvnnl','message','XxIYC','uRKWF','dsjPB','hooks','OXOnb','match','uuid','2493841kdhUii','Ihhfc','testStepResult','wyflA','relative','cBjft','HookRunFinished','JfImu','ygrnE','failed','createHookData','format','yHJAq','10033630GxHRIr','../../../helpers/helper.js','flatMap','tagExpression','result','toString','tKpwa','toLowerCase','examples','hUGII','hook','configureGit','FAILED','split','bstack','unknown','FPXQY','cucumber','pickleStepId','ODKPQ','CdLgp','OOOMq','zVgqY','AssertionError','createTestFrameworkData','getCucumberHookType','timestamp','JzZKZ','util','aEERs','push','IecWN','HVYOc','strip-ansi','1088955dUBDcE','skipped','9395hdqHIK','ZddRf','debug','18zXXyAL','LSiHN','gguWp','UDOHV','_gitConfigured','mxvdY','getHookRunEventData','name','tags','HTWju','map','cells','sendHook','3227181hFmVXS','test','lZmJm','forEach','1943526yMeMaG','getScenarioExamples','toISOString','aKIRN','sourceReference','testStepFinished','status','GqEdX','lMLrz','failure_reason','every','value','167504WXWHDm','exports','path','uri','root','find','rvFkc','eWoQX','../../../helpers/test-observability/error-handler.js','24luyalf','Exception\x20in\x20getHookRunEventData:\x20','exception','Exception\x20in\x20createHookData:\x20','tableBody','getHookResult','BQrVb','uXcdd','umajO','scenario','mOGXq','NSEpP','JobxT','testCaseFinished','rule','UIfIh','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','astNodeIds','javascript','PsWeF','length','qvasV','nanos','hookId','includes','jREOH','UnhandledError','feature','ikFSr','failure_type','fEJgd','failure_data','sendTestRunEventForCucumber','RWZsA'];a118_0x2f6f=function(){return _0x8db8b5;};return a118_0x2f6f();}const path=require(a118_0xd67bac(0x14e)),util=require(a118_0xd67bac(0x124)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a118_0xd67bac(0x109)),logger=require('../../../helpers/logger.js')['winstonLogger'],{o11yClassErrorHandler}=require(a118_0xd67bac(0xc0)),TestInfo=require('../TestInfo.js'),hooksMap={};function a118_0x23f8(_0x3104fa,_0x5ab719){const _0x2f6f4d=a118_0x2f6f();return a118_0x23f8=function(_0x23f848,_0x3db23c){_0x23f848=_0x23f848-0xbb;let _0x37b24e=_0x2f6f4d[_0x23f848];return _0x37b24e;},a118_0x23f8(_0x3104fa,_0x5ab719);}class CucumberUtils{constructor(){const _0x67457b=a118_0xd67bac;this[_0x67457b(0x133)]=![],this[_0x67457b(0xeb)]=null;}async[a118_0xd67bac(0x120)](_0x5b9592,_0x3bdc64,_0x2e9d29,_0x230112,_0x704198,_0x2502b5){const _0x3f887c=a118_0xd67bac,_0x25ba4e={'NSEpP':function(_0x18d6b6,_0x1b38c0){return _0x18d6b6===_0x1b38c0;},'RWZsA':_0x3f887c(0x114),'rvFkc':_0x3f887c(0x104),'umajO':function(_0x114939,_0xa93b9){return _0x114939===_0xa93b9;},'fEJgd':_0x3f887c(0xee),'aMzwj':_0x3f887c(0x12b),'BQrVb':function(_0x6a042d,_0x107090){return _0x6a042d||_0x107090;},'uXcdd':function(_0x2cfbe0,_0x3ce1ba){return _0x2cfbe0+_0x3ce1ba;},'IecWN':function(_0x1a523b,_0x5595ce){return _0x1a523b+_0x5595ce;},'ZddRf':_0x3f887c(0x13d),'ikFSr':_0x3f887c(0xd3),'UDOHV':_0x3f887c(0x119),'OXOnb':'pending','OxHHH':_0x3f887c(0xef),'ScQSg':function(_0x4bc5a5,_0x122247){return _0x4bc5a5!==_0x122247;},'mOGXq':function(_0x541a87,_0x17902f){return _0x541a87/_0x17902f;},'qvasV':_0x3f887c(0x129),'OOOMq':function(_0x34ff4b,_0x32d281){return _0x34ff4b(_0x32d281);},'gguWp':_0x3f887c(0x117),'ZVqsw':function(_0x328a4a,_0x17f8f){return _0x328a4a(_0x17f8f);},'Ihhfc':_0x3f887c(0x11f),'XxIYC':_0x3f887c(0xdb)},{feature:_0x214e86,scenario:_0x175276,steps:_0x4325a4,uuid:_0x54aec5,startedAt:_0x140e30,finishedAt:_0x37b74e}=_0x25ba4e[_0x3f887c(0xc7)](_0x5b9592,{}),_0x5f0399=this[_0x3f887c(0x141)](_0x230112,_0x3bdc64);await this[_0x3f887c(0x113)]();const _0x344d33=_0x5f0399?_0x25ba4e[_0x3f887c(0xc8)](_0x25ba4e[_0x3f887c(0xc8)](_0x25ba4e[_0x3f887c(0x127)](_0x3bdc64[_0x3f887c(0x136)],'\x20('),_0x5f0399[_0x3f887c(0xf1)](',\x20')),')'):_0x3bdc64[_0x3f887c(0x136)],_0x526e07={'id':_0x704198,'uuid':_0x704198,'startedAt':_0x140e30,'finishedAt':_0x37b74e,'type':_0x25ba4e[_0x3f887c(0x12d)],'body':{'lang':_0x25ba4e[_0x3f887c(0xdd)],'code':null},'name':_0x344d33,'scopes':[_0x214e86&&_0x214e86['name']?_0x214e86[_0x3f887c(0x136)]:''],'tags':_0x3bdc64[_0x3f887c(0x137)]?_0x3bdc64[_0x3f887c(0x137)][_0x3f887c(0x139)](({name:_0x52c1a4})=>_0x52c1a4):[],'file_name':_0x3bdc64[_0x3f887c(0xbb)],'location':_0x3bdc64[_0x3f887c(0xbb)],'vc_filepath':this[_0x3f887c(0xeb)]&&_0x3bdc64[_0x3f887c(0xbb)]?path[_0x3f887c(0xff)](this[_0x3f887c(0xeb)],_0x3bdc64[_0x3f887c(0xbb)]):null,'framework':_0x25ba4e[_0x3f887c(0x132)],'result':_0x25ba4e[_0x3f887c(0xf8)],'meta':{'feature':_0x214e86,'scenario':_0x175276,'steps':_0x4325a4,'examples':_0x5f0399},'customRerunParam':{'rerun_name':_0x344d33}};if(_0x2e9d29[_0x3f887c(0xce)]&&_0x4325a4){const _0x2e18c4=_0x2e9d29['testCaseFinished'];let _0x3b8f82=_0x25ba4e['OxHHH'];_0x4325a4[_0x3f887c(0x14a)](_0x2b557b=>{const _0x22dc75=_0x3f887c;if(_0x25ba4e[_0x22dc75(0xcc)](_0x2b557b[_0x22dc75(0x10c)],_0x25ba4e[_0x22dc75(0xe2)]))return _0x3b8f82=_0x25ba4e[_0x22dc75(0xbe)],_0x2e18c4['failure']=_0x2b557b[_0x22dc75(0xe3)],_0x2e18c4[_0x22dc75(0xed)]=_0x2b557b['failureType'],![];else{if(_0x25ba4e[_0x22dc75(0xc9)](_0x2b557b[_0x22dc75(0x10c)],_0x25ba4e[_0x22dc75(0xdf)]))return _0x3b8f82=_0x25ba4e['aMzwj'],![];}return!![];}),_0x526e07[_0x3f887c(0xea)]=new Date()[_0x3f887c(0x142)](),_0x526e07['result']=_0x3b8f82;_0x2e18c4[_0x3f887c(0x122)]&&_0x25ba4e['ScQSg'](_0x2e18c4[_0x3f887c(0x122)][_0x3f887c(0xd7)],undefined)?_0x526e07[_0x3f887c(0xe5)]=_0x25ba4e[_0x3f887c(0xcb)](_0x2e18c4[_0x3f887c(0x122)][_0x3f887c(0xd7)],0xf4240):_0x526e07['duration_in_ms']=undefined;if(_0x25ba4e[_0x3f887c(0xc9)](_0x3b8f82,_0x25ba4e[_0x3f887c(0xbe)])){const {default:_0x18803b}=await import(_0x25ba4e[_0x3f887c(0xd6)]);_0x526e07[_0x3f887c(0xe3)]=[{'backtrace':[_0x2e18c4['failure']?_0x25ba4e[_0x3f887c(0x11d)](_0x18803b,_0x2e18c4[_0x3f887c(0xe3)]):_0x25ba4e[_0x3f887c(0x131)]]}],_0x526e07[_0x3f887c(0x149)]=_0x2e18c4[_0x3f887c(0xe3)]?_0x25ba4e[_0x3f887c(0xe9)](_0x18803b,_0x2e18c4[_0x3f887c(0xe3)]):_0x2e18c4[_0x3f887c(0xf3)],_0x2e18c4[_0x3f887c(0xed)]&&(_0x526e07['failure_type']=_0x2e18c4[_0x3f887c(0xed)]['match'](/AssertError/)?_0x25ba4e[_0x3f887c(0xfc)]:_0x25ba4e[_0x3f887c(0xf4)]);}}return _0x526e07;}[a118_0xd67bac(0x135)](_0x4a911e,_0x5e0f9f,_0x19d0e4,_0x42e4e7,_0x46445f,_0x214c2e){const _0x4cd53a=a118_0xd67bac,_0x2191c2={'JfImu':function(_0x354f53,_0x4e7793){return _0x354f53===_0x4e7793;},'FPXQY':_0x4cd53a(0x101),'uRKWF':function(_0x1ab7c0,_0x821c80,_0xe4d78){return _0x1ab7c0(_0x821c80,_0xe4d78);},'PsWeF':_0x4cd53a(0x144),'yHJAq':'uri','eWoQX':'pending','aEERs':_0x4cd53a(0x112),'cBjft':_0x4cd53a(0xd3),'xshGs':function(_0x5cf92a,_0x3f2f5e,_0x30954d){return _0x5cf92a(_0x3f2f5e,_0x30954d);},'ODKPQ':_0x4cd53a(0xdc),'jREOH':_0x4cd53a(0x136),'LSiHN':function(_0xea5ec0,_0x4d92fb,_0x3dd2fe){return _0xea5ec0(_0x4d92fb,_0x3dd2fe);},'lMLrz':'cucumber'};try{if(_0x2191c2[_0x4cd53a(0x102)](_0x19d0e4,_0x2191c2[_0x4cd53a(0x118)])){const _0x377a9f=new Date()[_0x4cd53a(0x142)](),_0x5259cf=hooksMap[_0x5e0f9f];if(!_0x5259cf)return;const _0x4f8d10=_0x5259cf['find'](_0x20231b=>_0x20231b[_0x4cd53a(0xfa)]===_0x42e4e7['id']);if(!_0x4f8d10)return;const _0x2a5c5d=this['getHookResult'](_0x4a911e,_0x5e0f9f);_0x4f8d10[_0x4cd53a(0x10c)]=_0x2a5c5d[_0x4cd53a(0x146)],_0x4f8d10[_0x4cd53a(0xe6)]=_0x377a9f,_0x4f8d10[_0x4cd53a(0xde)]=_0x2a5c5d['failureType'];const _0x319a31={};return _0x319a31['backtrace']=_0x2a5c5d[_0x4cd53a(0xe8)],_0x4f8d10[_0x4cd53a(0xe0)]=[_0x319a31],_0x4f8d10;}const _0xc04b85=TestInfo['getTestUUID'](_0x5e0f9f),_0x368772=_0x4a911e['hooks'][_0x4cd53a(0xbd)](_0x169289=>_0x169289['id']===_0x42e4e7['hookId']),_0x280682=_0x2191c2[_0x4cd53a(0xf5)](nestedKeyValue,_0x368772,[_0x2191c2[_0x4cd53a(0xd4)],_0x2191c2[_0x4cd53a(0x107)]]),_0x560c50=new Date()[_0x4cd53a(0x142)](),_0x369ae8=_0x2191c2[_0x4cd53a(0xbf)],_0xd09136=_0x368772[_0x4cd53a(0x10b)]?_0x368772[_0x4cd53a(0x10b)][_0x4cd53a(0x115)]('\x20')['filter'](_0x26b791=>_0x26b791[_0x4cd53a(0xd9)]('@')):[],_0x405828={'uuid':_0x42e4e7['id'],'type':_0x2191c2[_0x4cd53a(0x125)],'hook_type':_0x214c2e,'name':_0x368772['name'],'body':{'lang':_0x2191c2[_0x4cd53a(0x100)],'code':null},'tags':_0xd09136,'test_run_id':_0xc04b85,'scope':_0x2191c2['xshGs'](nestedKeyValue,_0x46445f,[_0x2191c2[_0x4cd53a(0x11b)],_0x2191c2[_0x4cd53a(0xda)]]),'scopes':[_0x2191c2[_0x4cd53a(0x130)](nestedKeyValue,_0x46445f,[_0x2191c2[_0x4cd53a(0x11b)],_0x2191c2[_0x4cd53a(0xda)]])||''],'file_name':_0x280682,'location':_0x280682,'vc_filepath':this[_0x4cd53a(0xeb)]?path['relative'](this[_0x4cd53a(0xeb)],_0x280682):null,'result':_0x369ae8,'started_at':_0x560c50,'framework':_0x2191c2[_0x4cd53a(0x148)]};return _0x405828;}catch(_0xbfd9f6){logger[_0x4cd53a(0x12e)](_0x4cd53a(0xc2)+util['format'](_0xbfd9f6)+'\x20');}}async[a118_0xd67bac(0x105)](_0x35ffd1,_0x4cd0d0,_0x54a0e1,_0x2b4b5d,_0x2627c9,_0x473a61){const _0xede2b3=a118_0xd67bac,_0x2d5b68={'wyflA':function(_0x806b7b,_0x3736ad){return _0x806b7b===_0x3736ad;},'OwXRi':_0xede2b3(0xf0),'HTWju':function(_0x5831ac,_0x289f52,_0x455b0e){return _0x5831ac(_0x289f52,_0x455b0e);},'aKIRN':_0xede2b3(0x144),'zvnnl':'uri','ZXBmq':_0xede2b3(0xd1),'dsjPB':function(_0x281dd5,_0x65d7dd){return _0x281dd5===_0x65d7dd;},'KNPmS':_0xede2b3(0x116)};try{const _0x393df1=_0x2b4b5d[_0xede2b3(0xbd)](_0x1b1f97=>_0x1b1f97['id']===_0x2627c9);if(!_0x393df1[_0xede2b3(0xd8)])return;const _0xe87e62=this[_0xede2b3(0x121)](_0x2b4b5d,_0x393df1),_0xed215d=this[_0xede2b3(0x135)](_0x35ffd1,_0x4cd0d0,_0x54a0e1,_0x393df1,_0x473a61,_0xe87e62);if(!_0xed215d)return;_0x2d5b68[_0xede2b3(0xfe)](_0x54a0e1,_0x2d5b68[_0xede2b3(0xec)])&&(hooksMap[_0x4cd0d0]?hooksMap[_0x4cd0d0][_0xede2b3(0x126)](_0xed215d):hooksMap[_0x4cd0d0]=[_0xed215d]);const _0x3e22e5=_0x35ffd1[_0xede2b3(0xf7)][_0xede2b3(0xbd)](_0x26af02=>_0x26af02['id']===_0x393df1[_0xede2b3(0xd8)]),_0xd5b7aa=_0x2d5b68[_0xede2b3(0x138)](nestedKeyValue,_0x3e22e5,[_0x2d5b68[_0xede2b3(0x143)],_0x2d5b68[_0xede2b3(0xf2)]]);if(!_0xd5b7aa)return;else{if(_0xd5b7aa[_0xede2b3(0xd9)](_0x2d5b68['ZXBmq']))return;}if(_0x2d5b68[_0xede2b3(0xf6)](_0xed215d['name'],_0x2d5b68['KNPmS']))return;return _0xed215d;}catch(_0x32e97d){logger[_0xede2b3(0x12e)](_0xede2b3(0xc4)+util[_0xede2b3(0x106)](_0x32e97d)+'\x20');}}[a118_0xd67bac(0xc6)](_0x389f6b,_0x24cad4){const _0x1ce2f6=a118_0xd67bac,_0x1840fa={};_0x1840fa[_0x1ce2f6(0x103)]=function(_0x1b28b9,_0x27e1ce){return _0x1b28b9===_0x27e1ce;},_0x1840fa[_0x1ce2f6(0x11e)]=_0x1ce2f6(0x104),_0x1840fa[_0x1ce2f6(0x111)]=function(_0x5e324f,_0x4e6749){return _0x5e324f===_0x4e6749;},_0x1840fa['UIfIh']=function(_0x1e4be0,_0x5198b0){return _0x1e4be0===_0x5198b0;},_0x1840fa[_0x1ce2f6(0x13e)]=_0x1ce2f6(0xdb),_0x1840fa['GqEdX']=_0x1ce2f6(0x11f),_0x1840fa['JzZKZ']=function(_0x119419,_0x1c536d){return _0x119419||_0x1c536d;};const _0x413ddd=_0x1840fa,_0x38ead1=_0x389f6b[_0x1ce2f6(0x145)][_0x24cad4][_0x1ce2f6(0xfd)];let _0x6d4d84,_0x44b0c8;return _0x38ead1&&_0x413ddd[_0x1ce2f6(0x103)](_0x38ead1[_0x1ce2f6(0x146)][_0x1ce2f6(0x10d)]()[_0x1ce2f6(0x10f)](),_0x413ddd['zVgqY'])&&(_0x6d4d84=_0x413ddd[_0x1ce2f6(0x111)](_0x38ead1['exception'],undefined)?_0x38ead1[_0x1ce2f6(0xf3)]:_0x38ead1[_0x1ce2f6(0xc3)][_0x1ce2f6(0xf3)],_0x44b0c8=_0x413ddd[_0x1ce2f6(0xd0)](_0x38ead1[_0x1ce2f6(0xc3)],undefined)?_0x413ddd[_0x1ce2f6(0x13e)]:_0x38ead1['message'][_0x1ce2f6(0xf9)](/Assert/)?_0x413ddd[_0x1ce2f6(0x147)]:_0x413ddd['lZmJm']),{'status':_0x38ead1[_0x1ce2f6(0x146)][_0x1ce2f6(0x10f)](),'failureType':_0x413ddd[_0x1ce2f6(0x123)](_0x44b0c8,null),'failureData':!_0x6d4d84?null:[_0x6d4d84]};}[a118_0xd67bac(0x121)](_0x5eb9e9,_0x181c97){const _0x22a367=a118_0xd67bac,_0x159c59={};_0x159c59[_0x22a367(0x11c)]=function(_0x11e016,_0x23b116){return _0x11e016===_0x23b116;},_0x159c59[_0x22a367(0xe7)]='AFTER_EACH',_0x159c59[_0x22a367(0x128)]='BEFORE_EACH';const _0x4d674e=_0x159c59;let _0x3b7d62=![];for(const _0xaf6f1e of _0x5eb9e9){_0xaf6f1e[_0x22a367(0x11a)]&&(_0x3b7d62=!![]);if(_0x4d674e[_0x22a367(0x11c)](_0x181c97['id'],_0xaf6f1e['id']))return _0x3b7d62?_0x4d674e[_0x22a367(0xe7)]:_0x4d674e['HVYOc'];}}['getScenarioExamples']=(_0x5a0343,_0x2bfacd)=>{const _0x212b88=a118_0xd67bac,_0x12d598={};_0x12d598[_0x212b88(0x10e)]=function(_0x46e6b1,_0x1b01e3){return _0x46e6b1===_0x1b01e3;},_0x12d598[_0x212b88(0x134)]=function(_0x514e2c,_0x2b512f){return _0x514e2c>_0x2b512f;};const _0x4f9fdc=_0x12d598;if(!(_0x2bfacd[_0x212b88(0xd2)]&&_0x4f9fdc[_0x212b88(0x134)](_0x2bfacd[_0x212b88(0xd2)][_0x212b88(0xd5)],0x1)))return;const _0x104781=_0x2bfacd[_0x212b88(0xd2)][0x0],_0xb7d811=_0x2bfacd[_0x212b88(0xd2)][0x1],_0x4bd16d=_0x5a0343['feature']&&_0x5a0343['feature']['children']?_0x5a0343[_0x212b88(0xdc)]['children']:undefined;let _0x1f8c7a=[];_0x4bd16d&&_0x4bd16d[_0x212b88(0x13f)](_0x137ae7=>{const _0xd3e2ba=_0x212b88;if(_0x137ae7[_0xd3e2ba(0xcf)])_0x137ae7[_0xd3e2ba(0xcf)]['children']['forEach'](_0x145b63=>{const _0x2e9dbf=_0xd3e2ba;if(_0x145b63[_0x2e9dbf(0xca)]&&_0x4f9fdc['tKpwa'](_0x145b63[_0x2e9dbf(0xca)]['id'],_0x104781)&&_0x145b63[_0x2e9dbf(0xca)][_0x2e9dbf(0x110)]){const _0x27eb38=_0x145b63[_0x2e9dbf(0xca)][_0x2e9dbf(0x110)][_0x2e9dbf(0x10a)](_0x4dbc47=>_0x4dbc47[_0x2e9dbf(0xc5)])[_0x2e9dbf(0xbd)](_0x3c5bde=>_0x3c5bde['id']===_0xb7d811);let _0x11fda3;_0x27eb38&&_0x27eb38['cells']?_0x11fda3=_0x27eb38[_0x2e9dbf(0x13a)][_0x2e9dbf(0x139)](_0x2b5aea=>_0x2b5aea['value']):_0x11fda3=[],_0x11fda3&&(_0x1f8c7a=_0x11fda3);}});else{if(_0x137ae7[_0xd3e2ba(0xca)]&&_0x4f9fdc[_0xd3e2ba(0x10e)](_0x137ae7['scenario']['id'],_0x104781)&&_0x137ae7[_0xd3e2ba(0xca)]['examples']){const _0x1bb7a6=_0x137ae7['scenario'][_0xd3e2ba(0x110)]['flatMap'](_0x1b2c92=>_0x1b2c92[_0xd3e2ba(0xc5)])[_0xd3e2ba(0xbd)](_0x1502db=>_0x1502db['id']===_0xb7d811);let _0x28711d;_0x1bb7a6&&_0x1bb7a6[_0xd3e2ba(0x13a)]?_0x28711d=_0x1bb7a6[_0xd3e2ba(0x13a)][_0xd3e2ba(0x139)](_0x2ce590=>_0x2ce590[_0xd3e2ba(0x14b)]):_0x28711d=[],_0x28711d&&(_0x1f8c7a=_0x28711d);}}});if(_0x1f8c7a[_0x212b88(0xd5)])return _0x1f8c7a;return;};async[a118_0xd67bac(0x113)](){const _0x275664=a118_0xd67bac,_0x4b2dbc={'JobxT':function(_0x57e7a6){return _0x57e7a6();}};if(this[_0x275664(0x133)])return this[_0x275664(0xeb)];const _0x21c779=await _0x4b2dbc[_0x275664(0xcd)](getGitMetaData);_0x21c779&&(this[_0x275664(0xeb)]=_0x21c779[_0x275664(0xbc)]),this[_0x275664(0x133)]=!![];}}module[a118_0xd67bac(0x14d)]=o11yClassErrorHandler(CucumberUtils,[a118_0xd67bac(0x113),a118_0xd67bac(0x141),a118_0xd67bac(0x121),'getHookResult',a118_0xd67bac(0x13b),'getHookRunEventData',a118_0xd67bac(0xe1),a118_0xd67bac(0x120)]);
1
+ const a116_0x3f9a88=a116_0xd5e6;function a116_0x4113(){const _0x24b2f5=['message','wlKWK','hLNCW','feature','nanos','6638292SptEcs','GhtDr','astNodeIds','failure_type','3Nwgsob','yEwuB','cmTxS','EZaFU','kNodw','YDXYU','jxfXv','Exception\x20in\x20getHookRunEventData:\x20','cucumber','backtrace','every','duration_in_ms','132qkZLPx','qenyn','getScenarioExamples','bstack','75726wuyXTu','steZX','testStepFinished','debug','scenario','length','cells','tags','find','tTWYA','match','flatMap','format','8966AmGptB','IGlAK','tableBody','../../../helpers/test-observability/error-handler.js','jtRez','ZZcxp','ujwCD','nMmtN','859190LdQVUF','result','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','finishedAt','status','CxMzV','rfuLu','JzuVI','IDLXq','AFTER_EACH','102JLoDGy','529610BmNPBT','testCaseFinished','failureType','jsRhj','unknown','toISOString','muFZL','finished_at','sourceReference','createHookData','../../../helpers/logger.js','exports','pickleStepId','wFATq','failure_data','Exception\x20in\x20createHookData:\x20','value','getHookRunEventData','failed','toString','timestamp','HookRunStarted','javascript','uri','exception','failureData','hooks','FAILED','children','ejmvj','vKfdx','examples','pending','getTestUUID','tagExpression','_gitConfigPath','root','strip-ansi','SKIPPED','../TestInfo.js','OpzGr','jXwUm','YgLrj','80tdguyD','testStepResult','UnhandledError','ODSDY','11vcbegm','_gitConfigured','mCjhn','sendTestRunEventForCucumber','WFZdv','ZqlGT','../../../helpers/helper.js','AwFMT','14336coRPAa','ojkER','relative','hook','wLrZG','forEach','eKWMV','map','pchhC','toLowerCase','rule','createTestFrameworkData','path','8022XkuWjq','sendHook','getHookResult','AssertionError','includes','PjbkX','failure','HookRunFinished','configureGit','push','getCucumberHookType','hookId','QrEvo','winstonLogger','split','test','name','skipped'];a116_0x4113=function(){return _0x24b2f5;};return a116_0x4113();}function a116_0xd5e6(_0x1a7459,_0x11106e){const _0x411343=a116_0x4113();return a116_0xd5e6=function(_0xd5e605,_0x1f7d4b){_0xd5e605=_0xd5e605-0x10f;let _0x2a0637=_0x411343[_0xd5e605];return _0x2a0637;},a116_0xd5e6(_0x1a7459,_0x11106e);}(function(_0xd5866f,_0x5692a7){const _0xfa5618=a116_0xd5e6,_0x2655c1=_0xd5866f();while(!![]){try{const _0x271a61=-parseInt(_0xfa5618(0x113))/0x1*(parseInt(_0xfa5618(0x130))/0x2)+parseInt(_0xfa5618(0x142))/0x3*(-parseInt(_0xfa5618(0x17a))/0x4)+-parseInt(_0xfa5618(0x138))/0x5+parseInt(_0xfa5618(0x11f))/0x6*(parseInt(_0xfa5618(0x187))/0x7)+parseInt(_0xfa5618(0x16e))/0x8*(-parseInt(_0xfa5618(0x123))/0x9)+parseInt(_0xfa5618(0x143))/0xa*(-parseInt(_0xfa5618(0x172))/0xb)+parseInt(_0xfa5618(0x10f))/0xc;if(_0x271a61===_0x5692a7)break;else _0x2655c1['push'](_0x2655c1['shift']());}catch(_0x5623f9){_0x2655c1['push'](_0x2655c1['shift']());}}}(a116_0x4113,0x20c0f));const path=require(a116_0x3f9a88(0x186)),util=require('util'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a116_0x3f9a88(0x178)),logger=require(a116_0x3f9a88(0x14d))[a116_0x3f9a88(0x194)],{o11yClassErrorHandler}=require(a116_0x3f9a88(0x133)),TestInfo=require(a116_0x3f9a88(0x16a)),hooksMap={};class CucumberUtils{constructor(){const _0x1b98a5=a116_0x3f9a88;this['_gitConfigured']=![],this[_0x1b98a5(0x166)]=null;}async[a116_0x3f9a88(0x185)](_0x53af4b,_0x38c7d0,_0x2226ae,_0x5c6e31,_0x762d73,_0x5b7043){const _0x17eceb=a116_0x3f9a88,_0x277f5c={'hLNCW':function(_0x14a931,_0x34e73f){return _0x14a931===_0x34e73f;},'uHFNh':_0x17eceb(0x15e),'YgLrj':_0x17eceb(0x155),'mCjhn':_0x17eceb(0x169),'vKfdx':_0x17eceb(0x198),'EimNG':function(_0x5a3e3a,_0x470bd8){return _0x5a3e3a||_0x470bd8;},'OpzGr':function(_0x26fc6b,_0x19c311){return _0x26fc6b+_0x19c311;},'JzuVI':function(_0x289397,_0x5d6cb6){return _0x289397+_0x5d6cb6;},'sJmEu':_0x17eceb(0x196),'ZZcxp':_0x17eceb(0x159),'gsoqD':_0x17eceb(0x11b),'nMmtN':_0x17eceb(0x163),'WFZdv':'passed','pchhC':function(_0x47a3dc,_0x399ced){return _0x47a3dc!==_0x399ced;},'QrEvo':function(_0x11b7a7,_0x2732aa){return _0x11b7a7/_0x2732aa;},'ujwCD':function(_0x309039,_0x59edfd){return _0x309039===_0x59edfd;},'qkBLd':_0x17eceb(0x168),'Dmidj':function(_0x3b8d70,_0x3beaa6){return _0x3b8d70(_0x3beaa6);},'kNodw':_0x17eceb(0x147),'steZX':function(_0x55a6f6,_0xa1afd4){return _0x55a6f6(_0xa1afd4);},'rfuLu':_0x17eceb(0x18a),'YDXYU':_0x17eceb(0x170)},{feature:_0x25f779,scenario:_0x1dad9c,steps:_0xed024c,uuid:_0xb7ee82,startedAt:_0x3d4bb9,finishedAt:_0x4abd86}=_0x277f5c['EimNG'](_0x53af4b,{}),_0x2b6aaf=this[_0x17eceb(0x121)](_0x5c6e31,_0x38c7d0);await this[_0x17eceb(0x18f)]();const _0x1ce62=_0x2b6aaf?_0x277f5c['OpzGr'](_0x277f5c[_0x17eceb(0x13f)](_0x277f5c[_0x17eceb(0x16b)](_0x38c7d0[_0x17eceb(0x197)],'\x20('),_0x2b6aaf['join'](',\x20')),')'):_0x38c7d0['name'],_0x5dbd83={'id':_0x762d73,'uuid':_0x762d73,'startedAt':_0x3d4bb9,'finishedAt':_0x4abd86,'type':_0x277f5c['sJmEu'],'body':{'lang':_0x277f5c[_0x17eceb(0x135)],'code':null},'name':_0x1ce62,'scopes':[_0x25f779&&_0x25f779[_0x17eceb(0x197)]?_0x25f779[_0x17eceb(0x197)]:''],'tags':_0x38c7d0['tags']?_0x38c7d0[_0x17eceb(0x12a)][_0x17eceb(0x181)](({name:_0x189aaf})=>_0x189aaf):[],'file_name':_0x38c7d0[_0x17eceb(0x15a)],'location':_0x38c7d0[_0x17eceb(0x15a)],'vc_filepath':this['_gitConfigPath']&&_0x38c7d0[_0x17eceb(0x15a)]?path['relative'](this[_0x17eceb(0x166)],_0x38c7d0[_0x17eceb(0x15a)]):null,'framework':_0x277f5c['gsoqD'],'result':_0x277f5c[_0x17eceb(0x137)],'meta':{'feature':_0x25f779,'scenario':_0x1dad9c,'steps':_0xed024c,'examples':_0x2b6aaf},'customRerunParam':{'rerun_name':_0x1ce62}};if(_0x2226ae[_0x17eceb(0x144)]&&_0xed024c){const _0x333a66=_0x2226ae['testCaseFinished'];let _0x3ee8b8=_0x277f5c[_0x17eceb(0x176)];_0xed024c[_0x17eceb(0x11d)](_0x1b410c=>{const _0xb03f84=_0x17eceb;if(_0x277f5c[_0xb03f84(0x19b)](_0x1b410c[_0xb03f84(0x139)],_0x277f5c['uHFNh']))return _0x3ee8b8=_0x277f5c[_0xb03f84(0x16d)],_0x333a66['failure']=_0x1b410c[_0xb03f84(0x18d)],_0x333a66[_0xb03f84(0x145)]=_0x1b410c[_0xb03f84(0x145)],![];else{if(_0x277f5c[_0xb03f84(0x19b)](_0x1b410c['result'],_0x277f5c[_0xb03f84(0x174)]))return _0x3ee8b8=_0x277f5c[_0xb03f84(0x161)],![];}return!![];}),_0x5dbd83[_0x17eceb(0x13b)]=new Date()[_0x17eceb(0x148)](),_0x5dbd83['result']=_0x3ee8b8;_0x333a66[_0x17eceb(0x157)]&&_0x277f5c[_0x17eceb(0x182)](_0x333a66[_0x17eceb(0x157)][_0x17eceb(0x19d)],undefined)?_0x5dbd83[_0x17eceb(0x11e)]=_0x277f5c[_0x17eceb(0x193)](_0x333a66[_0x17eceb(0x157)][_0x17eceb(0x19d)],0xf4240):_0x5dbd83[_0x17eceb(0x11e)]=undefined;if(_0x277f5c[_0x17eceb(0x136)](_0x3ee8b8,_0x277f5c[_0x17eceb(0x16d)])){const {default:_0x305d9a}=await import(_0x277f5c['qkBLd']);_0x5dbd83['failure']=[{'backtrace':[_0x333a66[_0x17eceb(0x18d)]?_0x277f5c['Dmidj'](_0x305d9a,_0x333a66[_0x17eceb(0x18d)]):_0x277f5c[_0x17eceb(0x117)]]}],_0x5dbd83['failure_reason']=_0x333a66[_0x17eceb(0x18d)]?_0x277f5c[_0x17eceb(0x124)](_0x305d9a,_0x333a66[_0x17eceb(0x18d)]):_0x333a66[_0x17eceb(0x199)],_0x333a66[_0x17eceb(0x145)]&&(_0x5dbd83[_0x17eceb(0x112)]=_0x333a66[_0x17eceb(0x145)][_0x17eceb(0x12d)](/AssertError/)?_0x277f5c[_0x17eceb(0x13e)]:_0x277f5c[_0x17eceb(0x118)]);}}return _0x5dbd83;}[a116_0x3f9a88(0x154)](_0x204f55,_0x2c1ff1,_0x46013a,_0x1ea9a3,_0x3223bb,_0x1ec50c){const _0x231849=a116_0x3f9a88,_0x1ff77f={'VqGKw':function(_0x27023a,_0x9042e9){return _0x27023a===_0x9042e9;},'jtRez':_0x231849(0x18e),'glnfm':function(_0x180814,_0x56a1ea,_0x183ecc){return _0x180814(_0x56a1ea,_0x183ecc);},'ejmvj':_0x231849(0x14b),'FHNep':_0x231849(0x15a),'WTqRb':'pending','cmTxS':_0x231849(0x17d),'yEwuB':_0x231849(0x159),'ttIuY':function(_0x3dec8e,_0x4ad213,_0x325fe1){return _0x3dec8e(_0x4ad213,_0x325fe1);},'eKWMV':_0x231849(0x19c),'IDLXq':'name','aDQFt':function(_0x472e8e,_0x27bc92,_0x15ff1d){return _0x472e8e(_0x27bc92,_0x15ff1d);},'wFATq':'cucumber'};try{if(_0x1ff77f['VqGKw'](_0x46013a,_0x1ff77f[_0x231849(0x134)])){const _0x33407b=new Date()[_0x231849(0x148)](),_0xf034d4=hooksMap[_0x2c1ff1];if(!_0xf034d4)return;const _0x189815=_0xf034d4[_0x231849(0x12b)](_0x4ed3a5=>_0x4ed3a5['uuid']===_0x1ea9a3['id']);if(!_0x189815)return;const _0x4870a5=this[_0x231849(0x189)](_0x204f55,_0x2c1ff1);_0x189815['result']=_0x4870a5[_0x231849(0x13c)],_0x189815[_0x231849(0x14a)]=_0x33407b,_0x189815[_0x231849(0x112)]=_0x4870a5[_0x231849(0x145)];const _0xc75275={};return _0xc75275[_0x231849(0x11c)]=_0x4870a5[_0x231849(0x15c)],_0x189815[_0x231849(0x151)]=[_0xc75275],_0x189815;}const _0x5f553d=TestInfo[_0x231849(0x164)](_0x2c1ff1),_0x7fd1e6=_0x204f55[_0x231849(0x15d)][_0x231849(0x12b)](_0x18814e=>_0x18814e['id']===_0x1ea9a3['hookId']),_0x10a21c=_0x1ff77f['glnfm'](nestedKeyValue,_0x7fd1e6,[_0x1ff77f[_0x231849(0x160)],_0x1ff77f['FHNep']]),_0x5db5fe=new Date()['toISOString'](),_0x429c1d=_0x1ff77f['WTqRb'],_0x56e006=_0x7fd1e6[_0x231849(0x165)]?_0x7fd1e6[_0x231849(0x165)][_0x231849(0x195)]('\x20')['filter'](_0x161564=>_0x161564[_0x231849(0x18b)]('@')):[],_0xbbf9c5={'uuid':_0x1ea9a3['id'],'type':_0x1ff77f[_0x231849(0x115)],'hook_type':_0x1ec50c,'name':_0x7fd1e6[_0x231849(0x197)],'body':{'lang':_0x1ff77f[_0x231849(0x114)],'code':null},'tags':_0x56e006,'test_run_id':_0x5f553d,'scope':_0x1ff77f['ttIuY'](nestedKeyValue,_0x3223bb,[_0x1ff77f['eKWMV'],_0x1ff77f['IDLXq']]),'scopes':[_0x1ff77f['aDQFt'](nestedKeyValue,_0x3223bb,[_0x1ff77f[_0x231849(0x180)],_0x1ff77f[_0x231849(0x140)]])||''],'file_name':_0x10a21c,'location':_0x10a21c,'vc_filepath':this[_0x231849(0x166)]?path[_0x231849(0x17c)](this[_0x231849(0x166)],_0x10a21c):null,'result':_0x429c1d,'started_at':_0x5db5fe,'framework':_0x1ff77f[_0x231849(0x150)]};return _0xbbf9c5;}catch(_0xa15675){logger[_0x231849(0x126)](_0x231849(0x11a)+util[_0x231849(0x12f)](_0xa15675)+'\x20');}}async[a116_0x3f9a88(0x14c)](_0x5e75d9,_0x45a10c,_0x281095,_0x1169a3,_0x333a98,_0x4f0d0f){const _0x2e9c48=a116_0x3f9a88,_0x4fcf5b={'tTWYA':function(_0x1a5e64,_0x1cb113){return _0x1a5e64===_0x1cb113;},'VAOHc':_0x2e9c48(0x158),'wLrZG':function(_0x4bf889,_0x3902f9,_0x17e49d){return _0x4bf889(_0x3902f9,_0x17e49d);},'QaXeT':'sourceReference','muFZL':_0x2e9c48(0x15a),'qMiDf':_0x2e9c48(0x13a),'GhtDr':_0x2e9c48(0x122)};try{const _0x516a6e=_0x1169a3[_0x2e9c48(0x12b)](_0x1e1764=>_0x1e1764['id']===_0x333a98);if(!_0x516a6e[_0x2e9c48(0x192)])return;const _0x465cf6=this[_0x2e9c48(0x191)](_0x1169a3,_0x516a6e),_0x2ae04e=this[_0x2e9c48(0x154)](_0x5e75d9,_0x45a10c,_0x281095,_0x516a6e,_0x4f0d0f,_0x465cf6);if(!_0x2ae04e)return;_0x4fcf5b[_0x2e9c48(0x12c)](_0x281095,_0x4fcf5b['VAOHc'])&&(hooksMap[_0x45a10c]?hooksMap[_0x45a10c][_0x2e9c48(0x190)](_0x2ae04e):hooksMap[_0x45a10c]=[_0x2ae04e]);const _0x36a7f5=_0x5e75d9['hooks']['find'](_0x34ad35=>_0x34ad35['id']===_0x516a6e[_0x2e9c48(0x192)]),_0x20df9c=_0x4fcf5b[_0x2e9c48(0x17e)](nestedKeyValue,_0x36a7f5,[_0x4fcf5b['QaXeT'],_0x4fcf5b[_0x2e9c48(0x149)]]);if(!_0x20df9c)return;else{if(_0x20df9c['includes'](_0x4fcf5b['qMiDf']))return;}if(_0x4fcf5b['tTWYA'](_0x2ae04e['name'],_0x4fcf5b[_0x2e9c48(0x110)]))return;return _0x2ae04e;}catch(_0x3568d2){logger[_0x2e9c48(0x126)](_0x2e9c48(0x152)+util[_0x2e9c48(0x12f)](_0x3568d2)+'\x20');}}[a116_0x3f9a88(0x189)](_0x3eb9dd,_0x2f2612){const _0x381fab=a116_0x3f9a88,_0x49c38b={};_0x49c38b[_0x381fab(0x177)]=function(_0x1dbc5d,_0x2a09bf){return _0x1dbc5d===_0x2a09bf;},_0x49c38b[_0x381fab(0x17b)]='failed',_0x49c38b[_0x381fab(0x116)]=function(_0x47258e,_0x149a34){return _0x47258e===_0x149a34;},_0x49c38b['CxMzV']=_0x381fab(0x170),_0x49c38b[_0x381fab(0x16c)]=_0x381fab(0x18a),_0x49c38b[_0x381fab(0x19a)]=function(_0x3393f8,_0xbd5b71){return _0x3393f8||_0xbd5b71;};const _0x3a75b0=_0x49c38b,_0x3cb8e8=_0x3eb9dd[_0x381fab(0x125)][_0x2f2612][_0x381fab(0x16f)];let _0x399bc0,_0x172734;return _0x3cb8e8&&_0x3a75b0[_0x381fab(0x177)](_0x3cb8e8[_0x381fab(0x13c)][_0x381fab(0x156)]()[_0x381fab(0x183)](),_0x3a75b0['ojkER'])&&(_0x399bc0=_0x3a75b0[_0x381fab(0x177)](_0x3cb8e8[_0x381fab(0x15b)],undefined)?_0x3cb8e8[_0x381fab(0x199)]:_0x3cb8e8['exception'][_0x381fab(0x199)],_0x172734=_0x3a75b0['EZaFU'](_0x3cb8e8['exception'],undefined)?_0x3a75b0['CxMzV']:_0x3cb8e8['message']['match'](/Assert/)?_0x3a75b0[_0x381fab(0x16c)]:_0x3a75b0[_0x381fab(0x13d)]),{'status':_0x3cb8e8[_0x381fab(0x13c)][_0x381fab(0x183)](),'failureType':_0x3a75b0[_0x381fab(0x19a)](_0x172734,null),'failureData':!_0x399bc0?null:[_0x399bc0]};}[a116_0x3f9a88(0x191)](_0x59cb79,_0x1f88d9){const _0x31791f=a116_0x3f9a88,_0x277b36={};_0x277b36[_0x31791f(0x146)]=function(_0x319d04,_0x4d576f){return _0x319d04===_0x4d576f;},_0x277b36[_0x31791f(0x119)]=_0x31791f(0x141),_0x277b36['ODSDY']='BEFORE_EACH';const _0x37d080=_0x277b36;let _0x157adf=![];for(const _0x522d18 of _0x59cb79){_0x522d18[_0x31791f(0x14f)]&&(_0x157adf=!![]);if(_0x37d080[_0x31791f(0x146)](_0x1f88d9['id'],_0x522d18['id']))return _0x157adf?_0x37d080[_0x31791f(0x119)]:_0x37d080[_0x31791f(0x171)];}}[a116_0x3f9a88(0x121)]=(_0x1d4a03,_0x497ff4)=>{const _0xbe96fe=a116_0x3f9a88,_0x1b520c={};_0x1b520c[_0xbe96fe(0x120)]=function(_0xef801,_0x22eae6){return _0xef801===_0x22eae6;},_0x1b520c[_0xbe96fe(0x131)]=function(_0x38e6ad,_0x2d8a3e){return _0x38e6ad===_0x2d8a3e;},_0x1b520c[_0xbe96fe(0x179)]=function(_0x528d45,_0x2f0350){return _0x528d45>_0x2f0350;};const _0x265241=_0x1b520c;if(!(_0x497ff4['astNodeIds']&&_0x265241['AwFMT'](_0x497ff4[_0xbe96fe(0x111)][_0xbe96fe(0x128)],0x1)))return;const _0x3284c8=_0x497ff4[_0xbe96fe(0x111)][0x0],_0x1d0871=_0x497ff4[_0xbe96fe(0x111)][0x1],_0x1e38bf=_0x1d4a03[_0xbe96fe(0x19c)]&&_0x1d4a03[_0xbe96fe(0x19c)]['children']?_0x1d4a03[_0xbe96fe(0x19c)][_0xbe96fe(0x15f)]:undefined;let _0x280f69=[];_0x1e38bf&&_0x1e38bf[_0xbe96fe(0x17f)](_0x142460=>{const _0xeaaa4=_0xbe96fe,_0x47cd95={'PjbkX':function(_0x461c3b,_0x2c1bcc){return _0x265241['qenyn'](_0x461c3b,_0x2c1bcc);}};if(_0x142460[_0xeaaa4(0x184)])_0x142460[_0xeaaa4(0x184)][_0xeaaa4(0x15f)][_0xeaaa4(0x17f)](_0x604e00=>{const _0x454fd2=_0xeaaa4;if(_0x604e00[_0x454fd2(0x127)]&&_0x47cd95[_0x454fd2(0x18c)](_0x604e00[_0x454fd2(0x127)]['id'],_0x3284c8)&&_0x604e00[_0x454fd2(0x127)][_0x454fd2(0x162)]){const _0x292e65=_0x604e00[_0x454fd2(0x127)][_0x454fd2(0x162)][_0x454fd2(0x12e)](_0xb3cf5f=>_0xb3cf5f['tableBody'])['find'](_0x52b16d=>_0x52b16d['id']===_0x1d0871);let _0x19a7c5;_0x292e65&&_0x292e65['cells']?_0x19a7c5=_0x292e65[_0x454fd2(0x129)]['map'](_0x2ae388=>_0x2ae388['value']):_0x19a7c5=[],_0x19a7c5&&(_0x280f69=_0x19a7c5);}});else{if(_0x142460[_0xeaaa4(0x127)]&&_0x265241[_0xeaaa4(0x131)](_0x142460['scenario']['id'],_0x3284c8)&&_0x142460[_0xeaaa4(0x127)][_0xeaaa4(0x162)]){const _0x4b036e=_0x142460[_0xeaaa4(0x127)][_0xeaaa4(0x162)][_0xeaaa4(0x12e)](_0x5defe7=>_0x5defe7[_0xeaaa4(0x132)])[_0xeaaa4(0x12b)](_0x4220d3=>_0x4220d3['id']===_0x1d0871);let _0x2c2822;_0x4b036e&&_0x4b036e[_0xeaaa4(0x129)]?_0x2c2822=_0x4b036e[_0xeaaa4(0x129)][_0xeaaa4(0x181)](_0x32a620=>_0x32a620[_0xeaaa4(0x153)]):_0x2c2822=[],_0x2c2822&&(_0x280f69=_0x2c2822);}}});if(_0x280f69[_0xbe96fe(0x128)])return _0x280f69;return;};async['configureGit'](){const _0x21e353=a116_0x3f9a88,_0x5304e5={'kyoKz':function(_0x32867e){return _0x32867e();}};if(this[_0x21e353(0x173)])return this[_0x21e353(0x166)];const _0x5a71c7=await _0x5304e5['kyoKz'](getGitMetaData);_0x5a71c7&&(this[_0x21e353(0x166)]=_0x5a71c7[_0x21e353(0x167)]),this['_gitConfigured']=!![];}}module[a116_0x3f9a88(0x14e)]=o11yClassErrorHandler(CucumberUtils,[a116_0x3f9a88(0x18f),a116_0x3f9a88(0x121),a116_0x3f9a88(0x191),a116_0x3f9a88(0x189),a116_0x3f9a88(0x188),a116_0x3f9a88(0x154),a116_0x3f9a88(0x175),a116_0x3f9a88(0x185)]);
@@ -1 +1 @@
1
- const a119_0x3720e1=a119_0x4236;(function(_0x5359a1,_0x34f5e7){const _0x2eef82=a119_0x4236,_0x241af4=_0x5359a1();while(!![]){try{const _0x280fd8=-parseInt(_0x2eef82(0x111))/0x1*(parseInt(_0x2eef82(0x12e))/0x2)+-parseInt(_0x2eef82(0xfa))/0x3*(parseInt(_0x2eef82(0xa0))/0x4)+-parseInt(_0x2eef82(0xc1))/0x5+-parseInt(_0x2eef82(0x137))/0x6+-parseInt(_0x2eef82(0xc5))/0x7*(-parseInt(_0x2eef82(0xe3))/0x8)+parseInt(_0x2eef82(0xa4))/0x9+-parseInt(_0x2eef82(0x136))/0xa*(-parseInt(_0x2eef82(0xb6))/0xb);if(_0x280fd8===_0x34f5e7)break;else _0x241af4['push'](_0x241af4['shift']());}catch(_0x592bab){_0x241af4['push'](_0x241af4['shift']());}}}(a119_0xc62e,0xcc569));function a119_0x4236(_0x3a6e1c,_0x1378df){const _0xc62e19=a119_0xc62e();return a119_0x4236=function(_0x423625,_0x2c371e){_0x423625=_0x423625-0x8d;let _0x328c55=_0xc62e19[_0x423625];return _0x328c55;},a119_0x4236(_0x3a6e1c,_0x1378df);}const path=require(a119_0x3720e1(0xea)),util=require(a119_0x3720e1(0xce)),crypto=require(a119_0x3720e1(0xc4)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a119_0x3720e1(0xe0)),logger=require(a119_0x3720e1(0xeb))['winstonLogger'],{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler.js'),TestInfo=require(a119_0x3720e1(0x141)),{failureData,getFailureType,PathHelper}=require(a119_0x3720e1(0xb5)),stackTrace=require(a119_0x3720e1(0x102)),{pickUserFrameFile}=require(a119_0x3720e1(0xb7)),a119_0x38000a={};function a119_0xc62e(){const _0x3050ac=['includes','vjIxw','EpnuK','update','XXzMk','getName','nXAYU','TestRunSkipped','currentTest','3001638bqcTUz','createTestFrameworkData','mlnrL','hex','toString','expect','clearHooksMap','getHierarchy','6730690hyomnD','4098690vIWrQF','getState','ybxOt','uUWqX','prefixTestPath','asyncError','GMCQD','KEeBY',',\x20hookUUID:\x20','duration','../TestInfo.js','Creating\x20hook\x20data\x20for\x20eventType:\x20','skipped','md5','testIdentifier','[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20','\x22\x20hook\x20for\x20\x22','_gitConfigPath','lPcfG','parent','jest','hooks','RxQFi','find','jest-circus','dzVZN','extractTestFilePath','started_at','retryOf','eDMMA','backtrace','4BphvJV','getRootParentFile','[jestUtils]\x20No\x20test\x20object\x20provided','title','5159439QIfpjA','ajcBF','AFTER_ALL','createHookData','__jestCurrentTestIdentifier','now','pid','format','zHsjt','\x20from\x20compositeKey:\x20','dCStB','BuUXA','Exception\x20in\x20createTestFrameworkData:\x20','oUgnq','[jestUtils]\x20Created\x20identifier:\x20','ANxLP','finished_at','../../../helpers/test-observability/utils','55pIzouA','../../../helpers/stackFrameUtils','cwd','pending','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','AFTER_EACH','AYIwe','pAHgl','getTestIdentifier','jwTNQ','stack','6607430DAMBJa','failed','getHookRunEventData','crypto','7LsiatS','configureGit','BEFORE_ALL','hook','length','Fjsmv','root','apply','getTime','util','KBODo','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20',',\x20testRunId:\x20','GxIhD','[jestUtils]\x20Error\x20creating\x20identifier:\x20','reverse','EAmxq','recreateIdentifierFromTestInfo','substring','relative','Unknown\x20Test','createHash','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','digest','wCLMg','name','lRnJO','../../../helpers/helper.js','toISOString','Aaqey','3241240pDsliL','failure_data','RfmmG','NzqJQ','displayName','type','inspect','path','../../../helpers/logger.js','file','qICdD','createIdentifierFromJestTest','_paths','PGNBV','testAnalyticsId','match','startedAt','failure','testPath','errorsDetailed','toUpperCase','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','Exception\x20in\x20createHookData:\x20','4146BJORIh','ndTun','err','test','hYBqN','aZaLc','failure_reason','failure_type','stack-trace','xkzeQ','createJestTestIdentifier','call','DxHLF','error','parse','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','fullName','_gitConfigured','lLKEq','beforeEach','javascript','CpbCy','1BxcIvE','MwHJb','Exception\x20in\x20getHookRunEventData:\x20','ROOT_DESCRIBE_BLOCK','YzIwk','errors','TestRunFinished','AAobR','exports','JQwQs','passed','TpUqp','sPVTT','debug','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation',',\x20testIdentifier:\x20','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','CEcxZ','crwtN','getFileName'];a119_0xc62e=function(){return _0x3050ac;};return a119_0xc62e();}a119_0x38000a['beforeAll']=a119_0x3720e1(0xc7),a119_0x38000a['afterAll']=a119_0x3720e1(0xa6),a119_0x38000a[a119_0x3720e1(0x10e)]='BEFORE_EACH',a119_0x38000a['afterEach']=a119_0x3720e1(0xbb);const HOOK_TYPES_MAP=a119_0x38000a,hooksMap={};class JestUtils{constructor(){const _0x255361=a119_0x3720e1;this[_0x255361(0x10c)]=![],this[_0x255361(0x92)]=null,this[_0x255361(0xef)]=new PathHelper({'cwd':process[_0x255361(0xb8)]()},undefined);}async[a119_0x3720e1(0x12f)](_0xb8d33e,_0x3df255,_0xda15f4='TestRunFinished',_0x2b999e=undefined){const _0x4f6c72=a119_0x3720e1,_0x2df889={'qICdD':_0x4f6c72(0xf8),'oAizG':_0x4f6c72(0x99),'crwtN':'File\x20path\x20could\x20not\x20be\x20found','eDMMA':function(_0x134833,_0x644fec){return _0x134833!==_0x644fec;},'ybxOt':'test','pAHgl':_0x4f6c72(0xfc),'lRnJO':function(_0x5d1187,_0x2ad10a){return _0x5d1187!==_0x2ad10a;},'DCaPM':_0x4f6c72(0xb9),'VYXSo':function(_0x424b1b,_0x4dd6e0){return _0x424b1b===_0x4dd6e0;},'NzqJQ':_0x4f6c72(0x12c),'BGlWK':_0x4f6c72(0x8d),'ajcBF':function(_0x21dcec,_0x5c6598){return _0x21dcec===_0x5c6598;},'ndTun':_0x4f6c72(0x117),'sPVTT':function(_0x587a40,_0x4a78c6){return _0x587a40>_0x4a78c6;},'Aaqey':'failed','BuUXA':'passed','nXAYU':function(_0x52b7e5,_0x14e034){return _0x52b7e5-_0x14e034;},'PGNBV':'javascript','GMCQD':_0x4f6c72(0x95),'IziqD':function(_0x29424e,_0x11500a){return _0x29424e(_0x11500a);},'DxHLF':function(_0x571675,_0x1b079a){return _0x571675===_0x1b079a;},'hYBqN':function(_0x746a59,_0x593ef4){return _0x746a59===_0x593ef4;},'YVvJE':function(_0x148424,_0x411295){return _0x148424===_0x411295;}};logger[_0x4f6c72(0x11e)](_0x4f6c72(0xba)+_0xda15f4+_0x4f6c72(0x120)+_0x3df255);try{if(!_0xb8d33e)return logger[_0x4f6c72(0x11e)](_0x2df889[_0x4f6c72(0xed)]),null;if(_0xb8d33e['fn']&&_0xb8d33e['fn'][_0x4f6c72(0x132)]()[_0x4f6c72(0xf2)](/browserstack internal helper hook/))return null;await this['configureGit']();let _0x31b490;try{_0x31b490=this['getRootParentFile'](_0xb8d33e);if(_0x31b490&&_0x31b490[_0x4f6c72(0x125)](_0x2df889['oAizG']))return null;}catch(_0x4ef414){logger[_0x4f6c72(0x11e)](_0x4f6c72(0x121)+util[_0x4f6c72(0xab)](_0x4ef414)),_0x31b490=null;}const _0x423871=this[_0x4f6c72(0x135)](_0xb8d33e),_0x17b711=this[_0x4f6c72(0x12a)](_0xb8d33e),_0x1daeae=_0x31b490?this[_0x4f6c72(0xef)][_0x4f6c72(0x13b)](_0x31b490):_0x2df889[_0x4f6c72(0x123)];let _0x10a410=[];const _0x306c5a=_0xb8d33e[_0x4f6c72(0xf6)]||_0xb8d33e[_0x4f6c72(0x116)];if(_0x2df889[_0x4f6c72(0x9e)](_0x306c5a,undefined))_0x10a410=[_0x306c5a,_0x2df889[_0x4f6c72(0x139)]];else _0x2df889[_0x4f6c72(0x9e)](_0x2b999e,undefined)&&(_0x10a410=[_0x2b999e,_0x2df889[_0x4f6c72(0xbd)]]);const _0x219a0d=_0x2df889['lRnJO'](_0x306c5a,undefined)?util[_0x4f6c72(0xe9)](_0x306c5a[0x0]):_0x2df889[_0x4f6c72(0xdf)](_0x2b999e,undefined)?_0x2b999e['toString']():undefined;let _0x25b1fb=_0x2df889['DCaPM'];if(_0x2df889['VYXSo'](_0xda15f4,_0x2df889[_0x4f6c72(0xe6)]))_0x25b1fb=_0x2df889['BGlWK'];else _0x2df889[_0x4f6c72(0xa5)](_0xda15f4,_0x2df889[_0x4f6c72(0xfb)])&&(_0x306c5a&&_0x2df889[_0x4f6c72(0x11d)](_0x306c5a[_0x4f6c72(0xc9)],0x0)?_0x25b1fb=_0x2df889[_0x4f6c72(0xe2)]:_0x25b1fb=_0x2df889[_0x4f6c72(0xaf)]);let _0x4c214f=null;if(_0x2df889[_0x4f6c72(0x9e)](_0xb8d33e[_0x4f6c72(0x140)],undefined))_0x4c214f=_0xb8d33e[_0x4f6c72(0x140)];else(_0xda15f4[_0x4f6c72(0xf2)](/Finished/)||_0xda15f4[_0x4f6c72(0xf2)](/Skipped/))&&(_0xb8d33e['started_at']&&(_0x4c214f=_0x2df889[_0x4f6c72(0x12b)](Date[_0x4f6c72(0xa9)](),new Date(_0xb8d33e[_0x4f6c72(0x9c)])[_0x4f6c72(0xcd)]())));const _0x502536=_0xb8d33e['fn']?_0xb8d33e['fn'][_0x4f6c72(0x132)]():null,_0x144035={'id':_0x3df255,'uuid':_0x3df255,'startedAt':_0xb8d33e[_0x4f6c72(0x9c)]||new Date()[_0x4f6c72(0xe1)](),'finishedAt':_0xda15f4[_0x4f6c72(0xf2)](/Finished/)||_0xda15f4['match'](/Skipped/)?new Date()[_0x4f6c72(0xe1)]():null,'type':_0x2df889['ybxOt'],'body':{'lang':_0x2df889[_0x4f6c72(0xf0)],'code':_0x502536},'name':_0x17b711,'errorsDetailed':_0x2df889[_0x4f6c72(0x11d)](_0x306c5a?.[_0x4f6c72(0xc9)],0x0)?_0x306c5a[0x0]:_0x306c5a?_0x306c5a:undefined,'scopes':_0x423871,'file_name':_0x1daeae,'location':_0x1daeae,'vc_filepath':this[_0x4f6c72(0x92)]&&_0x31b490?path[_0x4f6c72(0xd8)](this[_0x4f6c72(0x92)],_0x31b490):null,'framework':_0x2df889[_0x4f6c72(0x13d)],'result':_0x25b1fb,'failure_reason':_0x219a0d,'duration_in_ms':_0x4c214f,'failure':failureData[_0x4f6c72(0xcc)](null,_0x10a410),'failure_type':!_0x219a0d?null:_0x2df889['IziqD'](getFailureType,_0x219a0d),'retry_of':_0xb8d33e[_0x4f6c72(0x9d)]||null,'customRerunParam':{'rerun_name':_0x17b711}};_0x2df889[_0x4f6c72(0x106)](_0xda15f4,_0x2df889[_0x4f6c72(0xe6)])&&!_0x144035['startedAt']&&(_0x144035[_0x4f6c72(0xf3)]=_0x144035['finishedAt']);const _0x26f56c=_0x144035[_0x4f6c72(0xf4)]&&_0x144035['failure'][0x0];return _0x26f56c&&(_0x144035['failure_backtrace']=_0x26f56c[_0x4f6c72(0x9f)],_0x144035['failure_reason_expanded']=_0x26f56c['expanded']),(_0x2df889[_0x4f6c72(0xfe)](_0xda15f4,_0x2df889[_0x4f6c72(0xfb)])||_0x2df889['YVvJE'](_0xda15f4,_0x2df889[_0x4f6c72(0xe6)]))&&(_0xb8d33e[_0x4f6c72(0x96)]&&(_0x144035[_0x4f6c72(0x96)]=_0xb8d33e[_0x4f6c72(0x96)])),_0x144035;}catch(_0x400ecd){return logger[_0x4f6c72(0x11e)](_0x4f6c72(0xb0)+util[_0x4f6c72(0xab)](_0x400ecd)),null;}}async[a119_0x3720e1(0xa7)](_0x2a8022,_0x92fb68,_0x20bdbb,_0x256ed7){const _0x565ef6=a119_0x3720e1,_0x152fb2={'XXzMk':_0x565ef6(0xdb),'CEcxZ':_0x565ef6(0x99),'wZJtw':'browserstack-node-agent/src/bin/jest','ANxLP':'unknown','YzIwk':'pending','AAobR':function(_0x59c402,_0x4981f2){return _0x59c402===_0x4981f2;},'PGowI':'HookRunFinished','gliCi':function(_0x1e94bb,_0x432aa9){return _0x1e94bb>_0x432aa9;},'dTUKR':_0x565ef6(0xc2),'lPcfG':function(_0x581597,_0x251065){return _0x581597(_0x251065);},'jCsJa':'test','irKkT':_0x565ef6(0x11b),'Fjsmv':_0x565ef6(0xc8),'MwHJb':_0x565ef6(0x10f),'dCStB':_0x565ef6(0x95),'GxIhD':'HookRunStarted'};logger[_0x565ef6(0x11e)](_0x565ef6(0x142)+_0x20bdbb+_0x565ef6(0x13f)+_0x92fb68+_0x565ef6(0xd1)+_0x256ed7);try{if(!_0x2a8022)return logger[_0x565ef6(0x11e)](_0x152fb2[_0x565ef6(0x129)]),null;if(this['isJestInternalHook'](_0x2a8022))return null;await this[_0x565ef6(0xc6)]();let _0x1e0634=null;try{_0x1e0634=this['getRootParentFile'](_0x2a8022);if(_0x1e0634&&_0x1e0634[_0x565ef6(0x125)](_0x152fb2[_0x565ef6(0x122)]))return null;if(_0x1e0634&&_0x1e0634['includes'](_0x152fb2['wZJtw']))return null;}catch(_0x2bc688){logger['debug']('Failed\x20to\x20get\x20hook\x20file\x20path:\x20'+util[_0x565ef6(0xab)](_0x2bc688));}const _0x239e94=_0x1e0634?this[_0x565ef6(0xef)]['prefixTestPath'](_0x1e0634):_0x1e0634,_0xd6e753=this[_0x565ef6(0x12a)](_0x2a8022),_0x4e3ec2=_0x2a8022[_0x565ef6(0xe8)]||_0x152fb2[_0x565ef6(0xb3)],_0x5a25da=HOOK_TYPES_MAP[_0x4e3ec2]||_0x4e3ec2[_0x565ef6(0xf7)](),_0xff8817=_0x2a8022[_0x565ef6(0x94)]&&_0x2a8022['parent'][_0x565ef6(0xde)]?_0x2a8022[_0x565ef6(0x94)][_0x565ef6(0xde)]:'';let _0x377ed9=_0x152fb2[_0x565ef6(0x115)],_0x13a31f=null,_0x2e4fd3=null,_0x4a692c=null,_0x21bd13=null;_0x152fb2['AAobR'](_0x20bdbb,_0x152fb2['PGowI'])&&(_0x21bd13=new Date()['toISOString'](),_0x2a8022[_0x565ef6(0xf6)]&&_0x152fb2['gliCi'](_0x2a8022[_0x565ef6(0xf6)]['length'],0x0)?(_0x377ed9=_0x152fb2['dTUKR'],_0x2e4fd3=util[_0x565ef6(0xe9)](_0x2a8022['errorsDetailed'][0x0]),_0x13a31f=_0x152fb2[_0x565ef6(0x93)](getFailureType,_0x2e4fd3),_0x4a692c=failureData[_0x565ef6(0xcc)](null,[_0x2a8022[_0x565ef6(0xf6)],_0x152fb2['jCsJa']])):_0x377ed9=_0x152fb2['irKkT']);const _0x2f7988={'uuid':_0x92fb68,'type':_0x152fb2[_0x565ef6(0xca)],'hook_type':_0x5a25da,'name':_0xd6e753,'body':{'lang':_0x152fb2[_0x565ef6(0x112)],'code':_0x2a8022['fn']?_0x2a8022['fn'][_0x565ef6(0x132)]():null},'tags':[],'test_run_id':_0x256ed7,'scope':_0xff8817,'scopes':[_0xff8817],'file_name':_0x239e94,'location':_0x239e94,'vc_filepath':this[_0x565ef6(0x92)]&&_0x1e0634?path[_0x565ef6(0xd8)](this[_0x565ef6(0x92)],_0x1e0634):null,'result':_0x377ed9,'started_at':_0x2a8022[_0x565ef6(0x9c)]||new Date()[_0x565ef6(0xe1)](),'finished_at':_0x21bd13,'failure_type':_0x13a31f,'failure_reason':_0x2e4fd3,'failure_data':_0x4a692c,'framework':_0x152fb2[_0x565ef6(0xae)]};return _0x152fb2[_0x565ef6(0x118)](_0x20bdbb,_0x152fb2[_0x565ef6(0xd2)])&&(hooksMap[_0x256ed7]?hooksMap[_0x256ed7]['push'](_0x2f7988):hooksMap[_0x256ed7]=[_0x2f7988]),_0x2f7988;}catch(_0x504857){return logger[_0x565ef6(0x11e)](_0x565ef6(0xf9)+util[_0x565ef6(0xab)](_0x504857)),null;}}[a119_0x3720e1(0xc3)](_0x4b4bf2,_0x36ad35,_0x510af6){const _0x5c366c=a119_0x3720e1,_0x5bc3c1={'dzVZN':function(_0x541a3e,_0x14f211){return _0x541a3e>_0x14f211;},'uUWqX':_0x5c366c(0xc2),'gQIcd':function(_0x254388,_0x472ed7){return _0x254388(_0x472ed7);},'Ftbdx':_0x5c366c(0xfd),'sZbit':_0x5c366c(0x11b)};try{const _0x3998b5=hooksMap[_0x4b4bf2];if(!_0x3998b5)return null;const _0x53371d=_0x3998b5[_0x5c366c(0x98)](_0x592ecb=>_0x592ecb['uuid']===_0x36ad35);if(!_0x53371d)return null;return _0x53371d[_0x5c366c(0xb4)]=new Date()[_0x5c366c(0xe1)](),_0x510af6[_0x5c366c(0xf6)]&&_0x5bc3c1[_0x5c366c(0x9a)](_0x510af6[_0x5c366c(0xf6)][_0x5c366c(0xc9)],0x0)?(_0x53371d['result']=_0x5bc3c1[_0x5c366c(0x13a)],_0x53371d[_0x5c366c(0x100)]=util[_0x5c366c(0xe9)](_0x510af6[_0x5c366c(0xf6)][0x0]),_0x53371d[_0x5c366c(0x101)]=_0x5bc3c1['gQIcd'](getFailureType,_0x53371d['failure_reason']),_0x53371d[_0x5c366c(0xe4)]=failureData[_0x5c366c(0xcc)](null,[_0x510af6[_0x5c366c(0xf6)],_0x5bc3c1['Ftbdx']])):_0x53371d['result']=_0x5bc3c1['sZbit'],_0x53371d;}catch(_0x446a5c){return logger['debug'](_0x5c366c(0x113)+util['format'](_0x446a5c)),null;}}[a119_0x3720e1(0x12a)](_0x5ed1dc){const _0x3c00d3=a119_0x3720e1,_0x3829d4={};_0x3829d4[_0x3c00d3(0xe5)]=function(_0x1f7f8f,_0x2c6ce5){return _0x1f7f8f!==_0x2c6ce5;},_0x3829d4['oUgnq']='test',_0x3829d4[_0x3c00d3(0x10d)]=_0x3c00d3(0xd9);const _0x312d67=_0x3829d4;if(_0x312d67[_0x3c00d3(0xe5)](_0x5ed1dc[_0x3c00d3(0xe8)],_0x312d67[_0x3c00d3(0xb1)]))return'\x22'+_0x5ed1dc[_0x3c00d3(0xe8)]+_0x3c00d3(0x91)+(_0x5ed1dc[_0x3c00d3(0x94)]&&_0x5ed1dc[_0x3c00d3(0x94)][_0x3c00d3(0xde)])+'\x22';return _0x5ed1dc[_0x3c00d3(0xde)]||_0x312d67[_0x3c00d3(0x10d)];}[a119_0x3720e1(0x135)](_0xacae27){const _0x35409c=a119_0x3720e1,_0x163932={};_0x163932[_0x35409c(0x11a)]=function(_0x155c8c,_0x558313){return _0x155c8c!==_0x558313;},_0x163932['wCLMg']=function(_0x2a2d9f,_0x3d3140){return _0x2a2d9f!==_0x3d3140;},_0x163932[_0x35409c(0x110)]=_0x35409c(0x114);const _0x2126b7=_0x163932,_0x2b811c=[];if(_0xacae27&&_0xacae27[_0x35409c(0x94)]){let _0x355eb5=_0xacae27[_0x35409c(0x94)];while(_0x355eb5&&_0x355eb5[_0x35409c(0xde)]&&_0x2126b7[_0x35409c(0x11a)](_0x355eb5[_0x35409c(0xde)],'')&&_0x2126b7[_0x35409c(0xdd)](_0x355eb5[_0x35409c(0xde)],_0x2126b7[_0x35409c(0x110)])){_0x2b811c['push'](_0x355eb5[_0x35409c(0xde)]),_0x355eb5=_0x355eb5['parent'];}}return _0x2b811c[_0x35409c(0xd4)](),_0x2b811c;}[a119_0x3720e1(0xa1)](_0x3ecf23){const _0x2f2799=a119_0x3720e1,_0xdffca3={'TpUqp':function(_0x2fe054,_0xc44710){return _0x2fe054(_0xc44710);}};if(_0x3ecf23[_0x2f2799(0xec)])return _0x3ecf23['file'];if(_0x3ecf23[_0x2f2799(0x13c)])try{const _0x1bcef0=stackTrace[_0x2f2799(0x108)][_0x2f2799(0x105)](stackTrace,_0x3ecf23[_0x2f2799(0x13c)]),_0x189b63=_0xdffca3[_0x2f2799(0x11c)](pickUserFrameFile,_0x1bcef0);if(_0x189b63)return _0x189b63;logger[_0x2f2799(0x11e)]('[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length='+_0x1bcef0['length']+')');}catch(_0x317b5f){logger[_0x2f2799(0x11e)]('Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util['format'](_0x317b5f));}return null;}['isJestInternalHook'](_0x2844ae){const _0x15df59=a119_0x3720e1,_0x3d941f={};_0x3d941f[_0x15df59(0x103)]=_0x15df59(0x99);const _0x1cc013=_0x3d941f;try{const _0x202e4=this[_0x15df59(0xa1)](_0x2844ae);if(!_0x202e4||_0x202e4['includes'](_0x1cc013[_0x15df59(0x103)]))return!![];}catch(_0xe42825){logger[_0x15df59(0x11e)](_0x15df59(0xd0)+util[_0x15df59(0xab)](_0xe42825));}return![];}['getTestIdentifier'](_0x4b7c78=null){const _0x121176=a119_0x3720e1;try{const _0x31c4ca=_0x4b7c78||global['__workerDetails']||{};if(global[_0x121176(0xa8)])return global[_0x121176(0xa8)];if(_0x31c4ca?.['currentTest']?.[_0x121176(0xf1)])return _0x31c4ca[_0x121176(0x12d)][_0x121176(0xf1)];if(_0x31c4ca?.['currentTest']?.['id'])return _0x31c4ca[_0x121176(0x12d)]['id'];return null;}catch(_0x36f873){return logger[_0x121176(0x11e)](_0x121176(0x90)+util[_0x121176(0xab)](_0x36f873)),null;}}async['configureGit'](){const _0x5eb14a=a119_0x3720e1,_0x316c00={'zHsjt':function(_0x526e13){return _0x526e13();}};if(this['_gitConfigured'])return this[_0x5eb14a(0x92)];const _0x226742=await _0x316c00[_0x5eb14a(0xac)](getGitMetaData);_0x226742&&(this[_0x5eb14a(0x92)]=_0x226742[_0x5eb14a(0xcb)]),this[_0x5eb14a(0x10c)]=!![];}['clearHooksMap'](_0x56f887){hooksMap[_0x56f887]&&delete hooksMap[_0x56f887];}[a119_0x3720e1(0x9b)](_0x214674){const _0x3d6076=a119_0x3720e1,_0x2c809d={'KBODo':_0x3d6076(0x99),'jwTNQ':function(_0x43cd19,_0x3be5dd){return _0x43cd19(_0x3be5dd);},'ETMdB':_0x3d6076(0x133)};if(_0x214674['file'])return _0x214674[_0x3d6076(0xec)];if(_0x214674[_0x3d6076(0x13c)]){try{const _0x2775a2=stackTrace[_0x3d6076(0x108)](_0x214674[_0x3d6076(0x13c)]);if(_0x2775a2[0x0]&&_0x2775a2[0x0][_0x3d6076(0x124)]){const _0x13b439=_0x2775a2[0x0][_0x3d6076(0x124)]();if(_0x13b439&&!_0x13b439['includes'](_0x2c809d[_0x3d6076(0xcf)]))return _0x13b439;}}catch(_0x8290f9){logger[_0x3d6076(0x11e)](_0x3d6076(0x109)+util[_0x3d6076(0xab)](_0x8290f9));}if(_0x214674[_0x3d6076(0x13c)]['stack']){const _0x2c9433=_0x214674[_0x3d6076(0x13c)][_0x3d6076(0xc0)]['split']('\x0a');for(const _0x116bd9 of _0x2c9433){const _0x3d9f3f=_0x116bd9[_0x3d6076(0xf2)](/at (.+?):\d+:\d+/);if(_0x3d9f3f&&_0x3d9f3f[0x1]&&!_0x3d9f3f[0x1][_0x3d6076(0x125)](_0x2c809d[_0x3d6076(0xcf)]))return _0x3d9f3f[0x1];}}}let _0x251efb=_0x214674[_0x3d6076(0x94)];while(_0x251efb){if(_0x251efb[_0x3d6076(0xec)])return _0x251efb[_0x3d6076(0xec)];if(_0x251efb[_0x3d6076(0x13c)])try{const _0x3bc2d1=stackTrace['parse'](_0x251efb[_0x3d6076(0x13c)]);if(_0x3bc2d1[0x0]&&_0x3bc2d1[0x0]['getFileName']){const _0x20267c=_0x3bc2d1[0x0][_0x3d6076(0x124)]();if(_0x20267c&&!_0x20267c[_0x3d6076(0x125)](_0x2c809d[_0x3d6076(0xcf)]))return _0x20267c;}}catch(_0x14edd2){}_0x251efb=_0x251efb[_0x3d6076(0x94)];}try{const _0x315cc0=_0x2c809d[_0x3d6076(0xbf)](require,_0x2c809d['ETMdB']);if(_0x315cc0&&_0x315cc0[_0x3d6076(0x138)]){const _0x50fb74=_0x315cc0['getState']();if(_0x50fb74&&_0x50fb74[_0x3d6076(0xf5)])return _0x50fb74['testPath'];}}catch(_0x2fac47){logger[_0x3d6076(0x11e)](_0x3d6076(0x10a)+util['format'](_0x2fac47));}return null;}[a119_0x3720e1(0x104)](_0x50b9d4){const _0x30c724=a119_0x3720e1,_0x3e5c8c={};_0x3e5c8c['RxQFi']='[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier',_0x3e5c8c[_0x30c724(0xbc)]=function(_0x5c1f22,_0x16c91a){return _0x5c1f22!==_0x16c91a;},_0x3e5c8c[_0x30c724(0xd5)]='ROOT_DESCRIBE_BLOCK',_0x3e5c8c['EpnuK']=_0x30c724(0x99),_0x3e5c8c[_0x30c724(0x126)]=_0x30c724(0x8e),_0x3e5c8c[_0x30c724(0xff)]=_0x30c724(0x131);const _0x3698e0=_0x3e5c8c;try{if(!_0x50b9d4)return logger[_0x30c724(0x107)](_0x3698e0[_0x30c724(0x97)]),null;const _0x2a5ec1=_0x50b9d4[_0x30c724(0x10b)]||_0x50b9d4[_0x30c724(0xde)]||_0x50b9d4[_0x30c724(0xa3)]||_0x50b9d4[_0x30c724(0xe7)];let _0x2d5e58=_0x2a5ec1;if(_0x50b9d4[_0x30c724(0x94)]&&_0x50b9d4[_0x30c724(0x94)][_0x30c724(0xde)]&&_0x3698e0[_0x30c724(0xbc)](_0x50b9d4['parent'][_0x30c724(0xde)],_0x3698e0['EAmxq'])){const _0x14d576=_0x50b9d4[_0x30c724(0xde)]||_0x50b9d4['title'];_0x14d576&&(_0x2d5e58=_0x50b9d4['parent'][_0x30c724(0xde)]+'\x20'+_0x14d576);}let _0x58eb79=_0x50b9d4['testPath'];if(!_0x58eb79&&_0x50b9d4[_0x30c724(0x13c)]){try{const _0xa428f7=stackTrace[_0x30c724(0x108)](_0x50b9d4['asyncError']);if(_0xa428f7[0x0]&&_0xa428f7[0x0][_0x30c724(0x124)]){const _0x150110=_0xa428f7[0x0][_0x30c724(0x124)]();_0x150110&&!_0x150110[_0x30c724(0x125)](_0x3698e0[_0x30c724(0x127)])&&(_0x58eb79=_0x150110);}}catch(_0x395ea0){logger[_0x30c724(0x11e)]('[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20'+util[_0x30c724(0xab)](_0x395ea0));}if(!_0x58eb79&&_0x50b9d4[_0x30c724(0x13c)][_0x30c724(0xc0)]){const _0x57ff9e=_0x50b9d4[_0x30c724(0x13c)][_0x30c724(0xc0)]['split']('\x0a');for(const _0x47400f of _0x57ff9e){const _0x275c13=_0x47400f[_0x30c724(0xf2)](/at (.+?):\d+:\d+/);if(_0x275c13&&_0x275c13[0x1]&&!_0x275c13[0x1][_0x30c724(0x125)](_0x3698e0['EpnuK'])){_0x58eb79=_0x275c13[0x1];break;}}}}const _0x4eff48=_0x58eb79+'::'+_0x2d5e58,_0x9b3a6d=crypto[_0x30c724(0xda)](_0x3698e0['vjIxw'])[_0x30c724(0x128)](_0x4eff48)[_0x30c724(0xdc)](_0x3698e0[_0x30c724(0xff)])[_0x30c724(0xd7)](0x0,0x8),_0xbe8a3c=process[_0x30c724(0xaa)]+':jest-'+_0x9b3a6d;return logger['debug'](_0x30c724(0xb2)+_0xbe8a3c+_0x30c724(0xad)+_0x4eff48),_0xbe8a3c;}catch(_0x2eaafb){return logger['error'](_0x30c724(0xd3)+util[_0x30c724(0xab)](_0x2eaafb)),null;}}[a119_0x3720e1(0xee)](_0xfe2ea){const _0x4419f9=a119_0x3720e1,_0x5bed81={};_0x5bed81[_0x4419f9(0x130)]=_0x4419f9(0xa2);const _0x144b3c=_0x5bed81;if(!_0xfe2ea)return logger[_0x4419f9(0x11e)](_0x144b3c[_0x4419f9(0x130)]),null;const _0x5bbea4=this[_0x4419f9(0x9b)](_0xfe2ea),_0x2961ee={};_0x2961ee[_0x4419f9(0xde)]=_0xfe2ea['name']||_0xfe2ea['title'],_0x2961ee[_0x4419f9(0x94)]=_0xfe2ea['parent'],_0x2961ee[_0x4419f9(0xf5)]=_0x5bbea4,_0x2961ee['asyncError']=_0xfe2ea[_0x4419f9(0x13c)];const _0x5e4ccf=_0x2961ee;return this[_0x4419f9(0x104)](_0x5e4ccf);}[a119_0x3720e1(0xd6)](_0x4d5773,_0x270e74=null){const _0x4122e8=a119_0x3720e1,_0xec92e4={};_0xec92e4[_0x4122e8(0x13e)]=_0x4122e8(0x11f);const _0x2d7cc0=_0xec92e4;if(!_0x4d5773)return logger['debug'](_0x2d7cc0[_0x4122e8(0x13e)]),_0x270e74;if(_0x4d5773[_0x4122e8(0x8f)])return logger[_0x4122e8(0x11e)]('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x4d5773[_0x4122e8(0x8f)]),_0x4d5773[_0x4122e8(0x8f)];return this[_0x4122e8(0x104)](_0x4d5773)||_0x270e74;}}module[a119_0x3720e1(0x119)]=o11yClassErrorHandler(JestUtils,[a119_0x3720e1(0xc6),a119_0x3720e1(0x135),'getRootParentFile','getName','isJestInternalHook',a119_0x3720e1(0xbe),a119_0x3720e1(0x12f),a119_0x3720e1(0xa7),a119_0x3720e1(0xc3),a119_0x3720e1(0x134),'extractTestFilePath',a119_0x3720e1(0x104),a119_0x3720e1(0xee),a119_0x3720e1(0xd6)]);
1
+ const a117_0x582573=a117_0x1c85;(function(_0x466dbf,_0x4bf06a){const _0x35dba5=a117_0x1c85,_0x3868f8=_0x466dbf();while(!![]){try{const _0x3690f0=parseInt(_0x35dba5(0x97))/0x1+-parseInt(_0x35dba5(0xe7))/0x2*(-parseInt(_0x35dba5(0xf2))/0x3)+-parseInt(_0x35dba5(0x87))/0x4+parseInt(_0x35dba5(0x114))/0x5*(-parseInt(_0x35dba5(0x8b))/0x6)+parseInt(_0x35dba5(0x139))/0x7+parseInt(_0x35dba5(0xe6))/0x8+-parseInt(_0x35dba5(0xe8))/0x9;if(_0x3690f0===_0x4bf06a)break;else _0x3868f8['push'](_0x3868f8['shift']());}catch(_0x26f964){_0x3868f8['push'](_0x3868f8['shift']());}}}(a117_0x58ba,0xbb43c));function a117_0x58ba(){const _0x21037a=['SAWOZ','error','RKvWc','file','../../../helpers/test-observability/error-handler.js','testAnalyticsId','pid','mrAVB','stack','stack-trace','substring','getHookRunEventData','aUDWg','aSAKj','toString','QkHZc','apply','Failed\x20to\x20get\x20root\x20parent\x20file:\x20','ulYgW','[jestUtils]\x20Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','6665784VYJbnZ','17558Cdhjdr','16412238FPjEyH','expanded','KtQWm','hook','md5','duration','AlpAf','afterEach','failure_data','[jestUtils]\x20expect.getState()\x20not\x20available:\x20','207FeZIdv',',\x20hookUUID:\x20','configureGit','VrxPr','browserstack-node-agent/src/bin/jest','guvaF','No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','uVjyp','VVwpt','push','ztdFf','NHzkC','HookRunFinished','startedAt','\x20from\x20compositeKey:\x20','Rzbed','errorsDetailed','fKkYg','testIdentifier','match','ODuTU','HookRunStarted','File\x20path\x20could\x20not\x20be\x20found','[jestUtils]\x20Error\x20creating\x20identifier:\x20','getTestIdentifier','UGyck','[jestUtils]\x20No\x20test\x20object\x20provided','expect','testPath','getState','FztMf','createHash','zwAFX','VmvWn','5DViWUT','type','extractTestFilePath','split','_paths','_gitConfigPath','inspect','failure','NxHKH','fullName','asyncError','TestRunFinished','GjlyL','[jestUtils]\x20No\x20testInfo\x20provided,\x20cannot\x20create\x20identifier','prefixTestPath','getFileName','Exception\x20in\x20getHookRunEventData:\x20','getHierarchy','exports','hooks','result','util','kOHiw','haSiP','failure_reason_expanded','createIdentifierFromJestTest','olyAc','VASbr',',\x20testRunId:\x20','isJestInternalHook','oxGnV','includes','name','zugzz','Yraim','started_at','currentTest','5835438cOUQxD','cwd','createTestFrameworkData','beforeAll','KYjSv','ShEtj','failure_type','path','1349200GXcRpD','backtrace','update','debug','4217310WcMWCG','parent','ROOT_DESCRIBE_BLOCK','AFTER_EACH','JKWFp','TXSTc','Failed\x20to\x20get\x20hook\x20file\x20path:\x20','uuid','beforeEach','Exception\x20in\x20createTestFrameworkData:\x20','errors','parse','1358195CiKDNU','finished_at','root','skipped','failure_backtrace','fUFdj','EUtql',',\x20testIdentifier:\x20','jest','digest','passed','__jestCurrentTestIdentifier','relative','pending','Creating\x20test\x20framework\x20data\x20for\x20eventType:\x20','getRootParentFile','bNElD','javascript','find','erfpW','jest-circus','[jestUtils]\x20No\x20testInfo\x20provided\x20for\x20recreation','VWSaP','mWOJv','No\x20test\x20data\x20provided\x20for\x20jest\x20test\x20event','[jestUtils]\x20Created\x20identifier:\x20','getTime','JzQJH','CEyAC','test','BEFORE_EACH','failed','format','exwfc','length','title','createHookData','call','retryOf','../../../helpers/logger.js','unknown','RUHOO','failure_reason','err','now','hex','TestRunSkipped','VPpxU','Exception\x20in\x20checking\x20if\x20hook\x20is\x20internal:\x20','createJestTestIdentifier','getName','ctWvz','toISOString','Error\x20parsing\x20asyncError\x20stack\x20trace:\x20','displayName','_gitConfigured','../../../helpers/test-observability/utils','xySMu',':jest-'];a117_0x58ba=function(){return _0x21037a;};return a117_0x58ba();}const path=require(a117_0x582573(0x86)),util=require(a117_0x582573(0x129)),crypto=require('crypto'),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require(a117_0x582573(0xbe))['winstonLogger'],{o11yClassErrorHandler}=require(a117_0x582573(0xd6)),TestInfo=require('../TestInfo.js'),{failureData,getFailureType,PathHelper}=require(a117_0x582573(0xcf)),stackTrace=require(a117_0x582573(0xdb)),{pickUserFrameFile}=require('../../../helpers/stackFrameUtils'),a117_0x5efc60={};function a117_0x1c85(_0x11a83c,_0x4d49e9){const _0x58badd=a117_0x58ba();return a117_0x1c85=function(_0x1c8581,_0x3d8e3f){_0x1c8581=_0x1c8581-0x84;let _0x30980b=_0x58badd[_0x1c8581];return _0x30980b;},a117_0x1c85(_0x11a83c,_0x4d49e9);}a117_0x5efc60[a117_0x582573(0x13c)]='BEFORE_ALL',a117_0x5efc60['afterAll']='AFTER_ALL',a117_0x5efc60[a117_0x582573(0x93)]=a117_0x582573(0xb5),a117_0x5efc60[a117_0x582573(0xef)]=a117_0x582573(0x8e);const HOOK_TYPES_MAP=a117_0x5efc60,hooksMap={};class JestUtils{constructor(){const _0x4547b2=a117_0x582573;this[_0x4547b2(0xce)]=![],this[_0x4547b2(0x119)]=null,this[_0x4547b2(0x118)]=new PathHelper({'cwd':process[_0x4547b2(0x13a)]()},undefined);}async['createTestFrameworkData'](_0x2ad72b,_0x28eef8,_0x23758b=a117_0x582573(0x11f),_0x202f1a=undefined){const _0x2d7ad5=a117_0x582573,_0x28ecb0={'XosiO':_0x2d7ad5(0xaf),'EUtql':_0x2d7ad5(0xab),'fUFdj':_0x2d7ad5(0x108),'ODuTU':function(_0x5d4cfe,_0x1f3558){return _0x5d4cfe!==_0x1f3558;},'NxHKH':_0x2d7ad5(0xb4),'zugzz':_0x2d7ad5(0xc2),'JzQJH':function(_0xbd0b50,_0x57f448){return _0xbd0b50!==_0x57f448;},'uVjyp':function(_0x1990a5,_0x589cea){return _0x1990a5!==_0x589cea;},'qjShd':_0x2d7ad5(0xa4),'VPpxU':function(_0x4707d5,_0x1b5e9b){return _0x4707d5===_0x1b5e9b;},'erfpW':_0x2d7ad5(0xc5),'fKkYg':_0x2d7ad5(0x9a),'HnrSl':function(_0x2621f1,_0x3d3183){return _0x2621f1===_0x3d3183;},'CEyAC':_0x2d7ad5(0x11f),'VmvWn':function(_0x3c42ec,_0x3746dd){return _0x3c42ec>_0x3746dd;},'xySMu':_0x2d7ad5(0xb6),'kOHiw':_0x2d7ad5(0xa1),'IVVtJ':function(_0x8f718d,_0x24aef8){return _0x8f718d-_0x24aef8;},'bNElD':_0x2d7ad5(0xa8),'zwAFX':'jest','OdOvy':function(_0x3e908b,_0x41230f){return _0x3e908b(_0x41230f);},'mrAVB':function(_0x5aee20,_0x1fdfe1){return _0x5aee20===_0x1fdfe1;},'VASbr':function(_0x59094e,_0x3dd584){return _0x59094e===_0x3dd584;},'UGyck':function(_0x5c9f47,_0x21451a){return _0x5c9f47===_0x21451a;}};logger[_0x2d7ad5(0x8a)](_0x2d7ad5(0xa5)+_0x23758b+_0x2d7ad5(0x9e)+_0x28eef8);try{if(!_0x2ad72b)return logger['debug'](_0x28ecb0['XosiO']),null;if(_0x2ad72b['fn']&&_0x2ad72b['fn'][_0x2d7ad5(0xe0)]()[_0x2d7ad5(0x105)](/browserstack internal helper hook/))return null;await this['configureGit']();let _0x2ebd49;try{_0x2ebd49=this[_0x2d7ad5(0xa6)](_0x2ad72b);if(_0x2ebd49&&_0x2ebd49[_0x2d7ad5(0x133)](_0x28ecb0[_0x2d7ad5(0x9d)]))return null;}catch(_0x4b29cb){logger['debug'](_0x2d7ad5(0xe3)+util['format'](_0x4b29cb)),_0x2ebd49=null;}const _0x305417=this[_0x2d7ad5(0x125)](_0x2ad72b),_0xf5dd5f=this[_0x2d7ad5(0xc9)](_0x2ad72b),_0xeb0971=_0x2ebd49?this[_0x2d7ad5(0x118)][_0x2d7ad5(0x122)](_0x2ebd49):_0x28ecb0[_0x2d7ad5(0x9c)];let _0x8b581a=[];const _0xe4f682=_0x2ad72b[_0x2d7ad5(0x102)]||_0x2ad72b[_0x2d7ad5(0x95)];if(_0x28ecb0[_0x2d7ad5(0x106)](_0xe4f682,undefined))_0x8b581a=[_0xe4f682,_0x28ecb0[_0x2d7ad5(0x11c)]];else _0x28ecb0[_0x2d7ad5(0x106)](_0x202f1a,undefined)&&(_0x8b581a=[_0x202f1a,_0x28ecb0[_0x2d7ad5(0x135)]]);const _0x57c1f7=_0x28ecb0[_0x2d7ad5(0xb2)](_0xe4f682,undefined)?util[_0x2d7ad5(0x11a)](_0xe4f682[0x0]):_0x28ecb0['uVjyp'](_0x202f1a,undefined)?_0x202f1a[_0x2d7ad5(0xe0)]():undefined;let _0x52a39b=_0x28ecb0['qjShd'];if(_0x28ecb0[_0x2d7ad5(0xc6)](_0x23758b,_0x28ecb0[_0x2d7ad5(0xaa)]))_0x52a39b=_0x28ecb0[_0x2d7ad5(0x103)];else _0x28ecb0['HnrSl'](_0x23758b,_0x28ecb0[_0x2d7ad5(0xb3)])&&(_0xe4f682&&_0x28ecb0[_0x2d7ad5(0x113)](_0xe4f682[_0x2d7ad5(0xb9)],0x0)?_0x52a39b=_0x28ecb0[_0x2d7ad5(0xd0)]:_0x52a39b=_0x28ecb0[_0x2d7ad5(0x12a)]);let _0xaf4bc4=null;if(_0x28ecb0[_0x2d7ad5(0xf9)](_0x2ad72b[_0x2d7ad5(0xed)],undefined))_0xaf4bc4=_0x2ad72b[_0x2d7ad5(0xed)];else(_0x23758b[_0x2d7ad5(0x105)](/Finished/)||_0x23758b[_0x2d7ad5(0x105)](/Skipped/))&&(_0x2ad72b['started_at']&&(_0xaf4bc4=_0x28ecb0['IVVtJ'](Date[_0x2d7ad5(0xc3)](),new Date(_0x2ad72b['started_at'])[_0x2d7ad5(0xb1)]())));const _0x342fe3=_0x2ad72b['fn']?_0x2ad72b['fn'][_0x2d7ad5(0xe0)]():null,_0x285f56={'id':_0x28eef8,'uuid':_0x28eef8,'startedAt':_0x2ad72b[_0x2d7ad5(0x137)]||new Date()['toISOString'](),'finishedAt':_0x23758b['match'](/Finished/)||_0x23758b[_0x2d7ad5(0x105)](/Skipped/)?new Date()[_0x2d7ad5(0xcb)]():null,'type':_0x28ecb0['NxHKH'],'body':{'lang':_0x28ecb0[_0x2d7ad5(0xa7)],'code':_0x342fe3},'name':_0xf5dd5f,'errorsDetailed':_0x28ecb0[_0x2d7ad5(0x113)](_0xe4f682?.[_0x2d7ad5(0xb9)],0x0)?_0xe4f682[0x0]:_0xe4f682?_0xe4f682:undefined,'scopes':_0x305417,'file_name':_0xeb0971,'location':_0xeb0971,'vc_filepath':this[_0x2d7ad5(0x119)]&&_0x2ebd49?path['relative'](this[_0x2d7ad5(0x119)],_0x2ebd49):null,'framework':_0x28ecb0[_0x2d7ad5(0x112)],'result':_0x52a39b,'failure_reason':_0x57c1f7,'duration_in_ms':_0xaf4bc4,'failure':failureData[_0x2d7ad5(0xe2)](null,_0x8b581a),'failure_type':!_0x57c1f7?null:_0x28ecb0['OdOvy'](getFailureType,_0x57c1f7),'retry_of':_0x2ad72b[_0x2d7ad5(0xbd)]||null,'customRerunParam':{'rerun_name':_0xf5dd5f}};_0x28ecb0[_0x2d7ad5(0xd9)](_0x23758b,_0x28ecb0[_0x2d7ad5(0xaa)])&&!_0x285f56['startedAt']&&(_0x285f56[_0x2d7ad5(0xff)]=_0x285f56['finishedAt']);const _0x2fbc9d=_0x285f56['failure']&&_0x285f56[_0x2d7ad5(0x11b)][0x0];return _0x2fbc9d&&(_0x285f56[_0x2d7ad5(0x9b)]=_0x2fbc9d[_0x2d7ad5(0x88)],_0x285f56[_0x2d7ad5(0x12c)]=_0x2fbc9d[_0x2d7ad5(0xe9)]),(_0x28ecb0[_0x2d7ad5(0x12f)](_0x23758b,_0x28ecb0[_0x2d7ad5(0xb3)])||_0x28ecb0[_0x2d7ad5(0x10b)](_0x23758b,_0x28ecb0[_0x2d7ad5(0xaa)]))&&(_0x2ad72b[_0x2d7ad5(0x127)]&&(_0x285f56[_0x2d7ad5(0x127)]=_0x2ad72b[_0x2d7ad5(0x127)])),_0x285f56;}catch(_0x1db515){return logger[_0x2d7ad5(0x8a)](_0x2d7ad5(0x94)+util['format'](_0x1db515)),null;}}async[a117_0x582573(0xbb)](_0x280fab,_0x35d0a1,_0x366dcf,_0x22a04f){const _0x4d1f84=a117_0x582573,_0x2558ea={'rRKjF':_0x4d1f84(0xf8),'TXSTc':'jest-circus','exwfc':_0x4d1f84(0xf6),'ulYgW':_0x4d1f84(0xbf),'oxGnV':'pending','guvaF':function(_0x544c89,_0xe26a45){return _0x544c89===_0xe26a45;},'txrqm':_0x4d1f84(0xfe),'fTaaQ':function(_0x13c89c,_0x3f0622){return _0x13c89c>_0x3f0622;},'NHzkC':_0x4d1f84(0xb6),'VrxPr':function(_0x3ddb57,_0x16b7d0){return _0x3ddb57(_0x16b7d0);},'jMNDC':_0x4d1f84(0xb4),'sSZUe':_0x4d1f84(0xa1),'GjlyL':_0x4d1f84(0xeb),'Rzbed':_0x4d1f84(0xa8),'RKvWc':_0x4d1f84(0x9f),'KtQWm':function(_0x1e2028,_0x1753a4){return _0x1e2028===_0x1753a4;},'BdNZg':_0x4d1f84(0x107)};logger[_0x4d1f84(0x8a)]('Creating\x20hook\x20data\x20for\x20eventType:\x20'+_0x366dcf+_0x4d1f84(0xf3)+_0x35d0a1+_0x4d1f84(0x130)+_0x22a04f);try{if(!_0x280fab)return logger[_0x4d1f84(0x8a)](_0x2558ea['rRKjF']),null;if(this[_0x4d1f84(0x131)](_0x280fab))return null;await this['configureGit']();let _0x465efc=null;try{_0x465efc=this[_0x4d1f84(0xa6)](_0x280fab);if(_0x465efc&&_0x465efc['includes'](_0x2558ea[_0x4d1f84(0x90)]))return null;if(_0x465efc&&_0x465efc[_0x4d1f84(0x133)](_0x2558ea[_0x4d1f84(0xb8)]))return null;}catch(_0x5497a7){logger[_0x4d1f84(0x8a)](_0x4d1f84(0x91)+util[_0x4d1f84(0xb7)](_0x5497a7));}const _0x2b2d02=_0x465efc?this[_0x4d1f84(0x118)][_0x4d1f84(0x122)](_0x465efc):_0x465efc,_0x4b4e12=this[_0x4d1f84(0xc9)](_0x280fab),_0x29aca1=_0x280fab[_0x4d1f84(0x115)]||_0x2558ea[_0x4d1f84(0xe4)],_0x1b5de8=HOOK_TYPES_MAP[_0x29aca1]||_0x29aca1['toUpperCase'](),_0x4f8ad8=_0x280fab[_0x4d1f84(0x8c)]&&_0x280fab[_0x4d1f84(0x8c)]['name']?_0x280fab[_0x4d1f84(0x8c)][_0x4d1f84(0x134)]:'';let _0x696e8=_0x2558ea[_0x4d1f84(0x132)],_0x5a1d59=null,_0x380a27=null,_0x15aba0=null,_0x576a10=null;_0x2558ea[_0x4d1f84(0xf7)](_0x366dcf,_0x2558ea['txrqm'])&&(_0x576a10=new Date()[_0x4d1f84(0xcb)](),_0x280fab[_0x4d1f84(0x102)]&&_0x2558ea['fTaaQ'](_0x280fab[_0x4d1f84(0x102)][_0x4d1f84(0xb9)],0x0)?(_0x696e8=_0x2558ea[_0x4d1f84(0xfd)],_0x380a27=util[_0x4d1f84(0x11a)](_0x280fab[_0x4d1f84(0x102)][0x0]),_0x5a1d59=_0x2558ea[_0x4d1f84(0xf5)](getFailureType,_0x380a27),_0x15aba0=failureData[_0x4d1f84(0xe2)](null,[_0x280fab[_0x4d1f84(0x102)],_0x2558ea['jMNDC']])):_0x696e8=_0x2558ea['sSZUe']);const _0x21ece1={'uuid':_0x35d0a1,'type':_0x2558ea[_0x4d1f84(0x120)],'hook_type':_0x1b5de8,'name':_0x4b4e12,'body':{'lang':_0x2558ea[_0x4d1f84(0x101)],'code':_0x280fab['fn']?_0x280fab['fn'][_0x4d1f84(0xe0)]():null},'tags':[],'test_run_id':_0x22a04f,'scope':_0x4f8ad8,'scopes':[_0x4f8ad8],'file_name':_0x2b2d02,'location':_0x2b2d02,'vc_filepath':this['_gitConfigPath']&&_0x465efc?path[_0x4d1f84(0xa3)](this[_0x4d1f84(0x119)],_0x465efc):null,'result':_0x696e8,'started_at':_0x280fab[_0x4d1f84(0x137)]||new Date()['toISOString'](),'finished_at':_0x576a10,'failure_type':_0x5a1d59,'failure_reason':_0x380a27,'failure_data':_0x15aba0,'framework':_0x2558ea[_0x4d1f84(0xd4)]};return _0x2558ea[_0x4d1f84(0xea)](_0x366dcf,_0x2558ea['BdNZg'])&&(hooksMap[_0x22a04f]?hooksMap[_0x22a04f][_0x4d1f84(0xfb)](_0x21ece1):hooksMap[_0x22a04f]=[_0x21ece1]),_0x21ece1;}catch(_0x1159c2){return logger[_0x4d1f84(0x8a)]('Exception\x20in\x20createHookData:\x20'+util[_0x4d1f84(0xb7)](_0x1159c2)),null;}}[a117_0x582573(0xdd)](_0x27e828,_0x151a0f,_0x524236){const _0x422a1b=a117_0x582573,_0x55e55c={'QDhvO':function(_0x385f95,_0x41ce97){return _0x385f95>_0x41ce97;},'kVelY':_0x422a1b(0xb6),'Felne':function(_0x475269,_0x437689){return _0x475269(_0x437689);},'tmSgo':'test','aSAKj':_0x422a1b(0xa1)};try{const _0x269b3e=hooksMap[_0x27e828];if(!_0x269b3e)return null;const _0x544974=_0x269b3e[_0x422a1b(0xa9)](_0x1e31b6=>_0x1e31b6[_0x422a1b(0x92)]===_0x151a0f);if(!_0x544974)return null;return _0x544974[_0x422a1b(0x98)]=new Date()['toISOString'](),_0x524236[_0x422a1b(0x102)]&&_0x55e55c['QDhvO'](_0x524236['errorsDetailed'][_0x422a1b(0xb9)],0x0)?(_0x544974[_0x422a1b(0x128)]=_0x55e55c['kVelY'],_0x544974[_0x422a1b(0xc1)]=util['inspect'](_0x524236[_0x422a1b(0x102)][0x0]),_0x544974[_0x422a1b(0x85)]=_0x55e55c['Felne'](getFailureType,_0x544974[_0x422a1b(0xc1)]),_0x544974[_0x422a1b(0xf0)]=failureData[_0x422a1b(0xe2)](null,[_0x524236[_0x422a1b(0x102)],_0x55e55c['tmSgo']])):_0x544974[_0x422a1b(0x128)]=_0x55e55c[_0x422a1b(0xdf)],_0x544974;}catch(_0x29c1c5){return logger[_0x422a1b(0x8a)](_0x422a1b(0x124)+util[_0x422a1b(0xb7)](_0x29c1c5)),null;}}[a117_0x582573(0xc9)](_0x3db309){const _0x228423=a117_0x582573,_0x2087c4={};_0x2087c4[_0x228423(0xae)]=function(_0x5a0830,_0x320e66){return _0x5a0830!==_0x320e66;},_0x2087c4[_0x228423(0xc0)]=_0x228423(0xb4),_0x2087c4[_0x228423(0xe1)]='Unknown\x20Test';const _0x5dffea=_0x2087c4;if(_0x5dffea[_0x228423(0xae)](_0x3db309[_0x228423(0x115)],_0x5dffea[_0x228423(0xc0)]))return'\x22'+_0x3db309['type']+'\x22\x20hook\x20for\x20\x22'+(_0x3db309[_0x228423(0x8c)]&&_0x3db309['parent'][_0x228423(0x134)])+'\x22';return _0x3db309[_0x228423(0x134)]||_0x5dffea['QkHZc'];}['getHierarchy'](_0x46ce6b){const _0x23d64b=a117_0x582573,_0x3e9b68={};_0x3e9b68[_0x23d64b(0x8f)]=function(_0x287f09,_0x301268){return _0x287f09!==_0x301268;},_0x3e9b68['haSiP']=function(_0x48ef84,_0x4b556a){return _0x48ef84!==_0x4b556a;},_0x3e9b68[_0x23d64b(0xee)]='ROOT_DESCRIBE_BLOCK';const _0x2817c4=_0x3e9b68,_0x40bfbc=[];if(_0x46ce6b&&_0x46ce6b[_0x23d64b(0x8c)]){let _0x1f8cc7=_0x46ce6b[_0x23d64b(0x8c)];while(_0x1f8cc7&&_0x1f8cc7[_0x23d64b(0x134)]&&_0x2817c4[_0x23d64b(0x8f)](_0x1f8cc7[_0x23d64b(0x134)],'')&&_0x2817c4[_0x23d64b(0x12b)](_0x1f8cc7['name'],_0x2817c4['AlpAf'])){_0x40bfbc[_0x23d64b(0xfb)](_0x1f8cc7[_0x23d64b(0x134)]),_0x1f8cc7=_0x1f8cc7[_0x23d64b(0x8c)];}}return _0x40bfbc['reverse'](),_0x40bfbc;}[a117_0x582573(0xa6)](_0x4b951f){const _0x47b426=a117_0x582573,_0x53174e={'FztMf':function(_0x34a673,_0x41b41d){return _0x34a673(_0x41b41d);}};if(_0x4b951f[_0x47b426(0xd5)])return _0x4b951f[_0x47b426(0xd5)];if(_0x4b951f[_0x47b426(0x11e)])try{const _0x3c6b0e=stackTrace[_0x47b426(0x96)][_0x47b426(0xbc)](stackTrace,_0x4b951f[_0x47b426(0x11e)]),_0x176bc9=_0x53174e[_0x47b426(0x110)](pickUserFrameFile,_0x3c6b0e);if(_0x176bc9)return _0x176bc9;logger[_0x47b426(0x8a)]('[jestUtils]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length='+_0x3c6b0e['length']+')');}catch(_0x7d8eee){logger[_0x47b426(0x8a)](_0x47b426(0xcc)+util['format'](_0x7d8eee));}return null;}[a117_0x582573(0x131)](_0x46dd94){const _0x5f0654=a117_0x582573,_0x563636={};_0x563636[_0x5f0654(0x12e)]=_0x5f0654(0xab);const _0xfb2f3c=_0x563636;try{const _0x5017ce=this['getRootParentFile'](_0x46dd94);if(!_0x5017ce||_0x5017ce['includes'](_0xfb2f3c[_0x5f0654(0x12e)]))return!![];}catch(_0x589ab2){logger[_0x5f0654(0x8a)](_0x5f0654(0xc7)+util[_0x5f0654(0xb7)](_0x589ab2));}return![];}[a117_0x582573(0x10a)](_0x196915=null){const _0x3a04ed=a117_0x582573;try{const _0x4d667b=_0x196915||global['__workerDetails']||{};if(global[_0x3a04ed(0xa2)])return global[_0x3a04ed(0xa2)];if(_0x4d667b?.[_0x3a04ed(0x138)]?.['testAnalyticsId'])return _0x4d667b[_0x3a04ed(0x138)][_0x3a04ed(0xd7)];if(_0x4d667b?.[_0x3a04ed(0x138)]?.['id'])return _0x4d667b[_0x3a04ed(0x138)]['id'];return null;}catch(_0x59a8e2){return logger[_0x3a04ed(0x8a)]('[jestUtils]\x20Error\x20getting\x20test\x20identifier:\x20'+util[_0x3a04ed(0xb7)](_0x59a8e2)),null;}}async[a117_0x582573(0xf4)](){const _0x236842=a117_0x582573,_0x5e0990={'EGgEh':function(_0x415aff){return _0x415aff();}};if(this[_0x236842(0xce)])return this[_0x236842(0x119)];const _0x21e3aa=await _0x5e0990['EGgEh'](getGitMetaData);_0x21e3aa&&(this['_gitConfigPath']=_0x21e3aa[_0x236842(0x99)]),this['_gitConfigured']=!![];}['clearHooksMap'](_0x2311b3){hooksMap[_0x2311b3]&&delete hooksMap[_0x2311b3];}['extractTestFilePath'](_0x16c71a){const _0x90e8dc=a117_0x582573,_0x166ee9={'Yraim':_0x90e8dc(0xab),'lpIFb':function(_0x5ef113,_0x57d1c1){return _0x5ef113(_0x57d1c1);},'KYjSv':_0x90e8dc(0x10d)};if(_0x16c71a[_0x90e8dc(0xd5)])return _0x16c71a[_0x90e8dc(0xd5)];if(_0x16c71a[_0x90e8dc(0x11e)]){try{const _0x1793b3=stackTrace['parse'](_0x16c71a[_0x90e8dc(0x11e)]);if(_0x1793b3[0x0]&&_0x1793b3[0x0][_0x90e8dc(0x123)]){const _0x44a3b4=_0x1793b3[0x0]['getFileName']();if(_0x44a3b4&&!_0x44a3b4['includes'](_0x166ee9[_0x90e8dc(0x136)]))return _0x44a3b4;}}catch(_0x337e16){logger[_0x90e8dc(0x8a)](_0x90e8dc(0xe5)+util[_0x90e8dc(0xb7)](_0x337e16));}if(_0x16c71a[_0x90e8dc(0x11e)][_0x90e8dc(0xda)]){const _0x4cd98b=_0x16c71a[_0x90e8dc(0x11e)][_0x90e8dc(0xda)][_0x90e8dc(0x117)]('\x0a');for(const _0x4c6599 of _0x4cd98b){const _0x3f1839=_0x4c6599['match'](/at (.+?):\d+:\d+/);if(_0x3f1839&&_0x3f1839[0x1]&&!_0x3f1839[0x1][_0x90e8dc(0x133)](_0x166ee9[_0x90e8dc(0x136)]))return _0x3f1839[0x1];}}}let _0x402846=_0x16c71a['parent'];while(_0x402846){if(_0x402846[_0x90e8dc(0xd5)])return _0x402846[_0x90e8dc(0xd5)];if(_0x402846[_0x90e8dc(0x11e)])try{const _0x5840b4=stackTrace['parse'](_0x402846['asyncError']);if(_0x5840b4[0x0]&&_0x5840b4[0x0][_0x90e8dc(0x123)]){const _0x289269=_0x5840b4[0x0]['getFileName']();if(_0x289269&&!_0x289269[_0x90e8dc(0x133)](_0x166ee9['Yraim']))return _0x289269;}}catch(_0x28dee9){}_0x402846=_0x402846[_0x90e8dc(0x8c)];}try{const _0x5077e8=_0x166ee9['lpIFb'](require,_0x166ee9[_0x90e8dc(0x13d)]);if(_0x5077e8&&_0x5077e8[_0x90e8dc(0x10f)]){const _0x4e2054=_0x5077e8[_0x90e8dc(0x10f)]();if(_0x4e2054&&_0x4e2054[_0x90e8dc(0x10e)])return _0x4e2054['testPath'];}}catch(_0x308e59){logger[_0x90e8dc(0x8a)](_0x90e8dc(0xf1)+util['format'](_0x308e59));}return null;}['createJestTestIdentifier'](_0x2bf2c8){const _0x39d5de=a117_0x582573,_0x3e03b4={};_0x3e03b4[_0x39d5de(0x84)]=_0x39d5de(0x121),_0x3e03b4[_0x39d5de(0xad)]=function(_0x2fb24b,_0xf4a7b){return _0x2fb24b!==_0xf4a7b;},_0x3e03b4[_0x39d5de(0xfc)]=_0x39d5de(0x8d),_0x3e03b4[_0x39d5de(0xca)]=_0x39d5de(0xab),_0x3e03b4['SAWOZ']=_0x39d5de(0xec),_0x3e03b4['Bwbvg']=_0x39d5de(0xc4);const _0x3e9340=_0x3e03b4;try{if(!_0x2bf2c8)return logger[_0x39d5de(0xd3)](_0x3e9340[_0x39d5de(0x84)]),null;const _0x5de280=_0x2bf2c8[_0x39d5de(0x11d)]||_0x2bf2c8[_0x39d5de(0x134)]||_0x2bf2c8['title']||_0x2bf2c8[_0x39d5de(0xcd)];let _0x23c9c7=_0x5de280;if(_0x2bf2c8['parent']&&_0x2bf2c8['parent']['name']&&_0x3e9340[_0x39d5de(0xad)](_0x2bf2c8[_0x39d5de(0x8c)][_0x39d5de(0x134)],_0x3e9340[_0x39d5de(0xfc)])){const _0x8d49da=_0x2bf2c8['name']||_0x2bf2c8[_0x39d5de(0xba)];_0x8d49da&&(_0x23c9c7=_0x2bf2c8[_0x39d5de(0x8c)]['name']+'\x20'+_0x8d49da);}let _0x56cd95=_0x2bf2c8[_0x39d5de(0x10e)];if(!_0x56cd95&&_0x2bf2c8[_0x39d5de(0x11e)]){try{const _0x51e5f3=stackTrace[_0x39d5de(0x96)](_0x2bf2c8[_0x39d5de(0x11e)]);if(_0x51e5f3[0x0]&&_0x51e5f3[0x0][_0x39d5de(0x123)]){const _0x1debfc=_0x51e5f3[0x0][_0x39d5de(0x123)]();_0x1debfc&&!_0x1debfc[_0x39d5de(0x133)](_0x3e9340[_0x39d5de(0xca)])&&(_0x56cd95=_0x1debfc);}}catch(_0x337bca){logger['debug'](_0x39d5de(0xe5)+util[_0x39d5de(0xb7)](_0x337bca));}if(!_0x56cd95&&_0x2bf2c8[_0x39d5de(0x11e)][_0x39d5de(0xda)]){const _0x4a8d8b=_0x2bf2c8['asyncError'][_0x39d5de(0xda)][_0x39d5de(0x117)]('\x0a');for(const _0x5a04bd of _0x4a8d8b){const _0x46437f=_0x5a04bd[_0x39d5de(0x105)](/at (.+?):\d+:\d+/);if(_0x46437f&&_0x46437f[0x1]&&!_0x46437f[0x1][_0x39d5de(0x133)](_0x3e9340[_0x39d5de(0xca)])){_0x56cd95=_0x46437f[0x1];break;}}}}const _0x4cf65b=_0x56cd95+'::'+_0x23c9c7,_0x5b77e5=crypto[_0x39d5de(0x111)](_0x3e9340[_0x39d5de(0xd2)])[_0x39d5de(0x89)](_0x4cf65b)[_0x39d5de(0xa0)](_0x3e9340['Bwbvg'])[_0x39d5de(0xdc)](0x0,0x8),_0xdc9ca0=process[_0x39d5de(0xd8)]+_0x39d5de(0xd1)+_0x5b77e5;return logger[_0x39d5de(0x8a)](_0x39d5de(0xb0)+_0xdc9ca0+_0x39d5de(0x100)+_0x4cf65b),_0xdc9ca0;}catch(_0x27f3f0){return logger[_0x39d5de(0xd3)](_0x39d5de(0x109)+util[_0x39d5de(0xb7)](_0x27f3f0)),null;}}['createIdentifierFromJestTest'](_0x1deef0){const _0x15d072=a117_0x582573,_0x50584f={};_0x50584f[_0x15d072(0xfa)]=_0x15d072(0x10c);const _0x3d8b6a=_0x50584f;if(!_0x1deef0)return logger[_0x15d072(0x8a)](_0x3d8b6a[_0x15d072(0xfa)]),null;const _0x202fa8=this[_0x15d072(0x116)](_0x1deef0),_0x2bbac9={};_0x2bbac9[_0x15d072(0x134)]=_0x1deef0[_0x15d072(0x134)]||_0x1deef0['title'],_0x2bbac9[_0x15d072(0x8c)]=_0x1deef0[_0x15d072(0x8c)],_0x2bbac9['testPath']=_0x202fa8,_0x2bbac9[_0x15d072(0x11e)]=_0x1deef0[_0x15d072(0x11e)];const _0x39769e=_0x2bbac9;return this[_0x15d072(0xc8)](_0x39769e);}['recreateIdentifierFromTestInfo'](_0x1473ba,_0x511499=null){const _0xf35a68=a117_0x582573,_0x5d5775={};_0x5d5775[_0xf35a68(0xde)]=_0xf35a68(0xac);const _0x5964a4=_0x5d5775;if(!_0x1473ba)return logger[_0xf35a68(0x8a)](_0x5964a4[_0xf35a68(0xde)]),_0x511499;if(_0x1473ba[_0xf35a68(0x104)])return logger[_0xf35a68(0x8a)]('[jestUtils]\x20Using\x20stored\x20testIdentifier:\x20'+_0x1473ba['testIdentifier']),_0x1473ba[_0xf35a68(0x104)];return this[_0xf35a68(0xc8)](_0x1473ba)||_0x511499;}}module[a117_0x582573(0x126)]=o11yClassErrorHandler(JestUtils,['configureGit','getHierarchy',a117_0x582573(0xa6),a117_0x582573(0xc9),a117_0x582573(0x131),'getTestIdentifier',a117_0x582573(0x13b),a117_0x582573(0xbb),a117_0x582573(0xdd),'clearHooksMap','extractTestFilePath',a117_0x582573(0xc8),a117_0x582573(0x12d),'recreateIdentifierFromTestInfo']);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a120_0x47d21e=a120_0x3997;(function(_0x3ac1fd,_0x5db39f){const _0x157a6c=a120_0x3997,_0x253ef1=_0x3ac1fd();while(!![]){try{const _0x55122e=-parseInt(_0x157a6c(0x1ee))/0x1*(-parseInt(_0x157a6c(0x21f))/0x2)+parseInt(_0x157a6c(0x211))/0x3+-parseInt(_0x157a6c(0x21d))/0x4*(parseInt(_0x157a6c(0x214))/0x5)+parseInt(_0x157a6c(0x21b))/0x6*(parseInt(_0x157a6c(0x1fc))/0x7)+parseInt(_0x157a6c(0x1eb))/0x8*(parseInt(_0x157a6c(0x219))/0x9)+-parseInt(_0x157a6c(0x1ff))/0xa*(-parseInt(_0x157a6c(0x207))/0xb)+-parseInt(_0x157a6c(0x203))/0xc;if(_0x55122e===_0x5db39f)break;else _0x253ef1['push'](_0x253ef1['shift']());}catch(_0x14b275){_0x253ef1['push'](_0x253ef1['shift']());}}}(a120_0x2232,0x38dfb));const fs=require('fs'),path=require(a120_0x47d21e(0x1f4)),{default:BrowserStackSetup}=require(a120_0x47d21e(0x21a)),helper=require(a120_0x47d21e(0x217)),PerformanceTester=require(a120_0x47d21e(0x218)),PerformanceEvents=require(a120_0x47d21e(0x200))[a120_0x47d21e(0x1f6)],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require('../test-runner'),TestHubHandler=require(a120_0x47d21e(0x204)),BrowserstackCLI=require(a120_0x47d21e(0x20a));function a120_0x2232(){const _0x155a0c=['14zcQexf','Config\x20yml\x20is\x20required','handleApp','\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected','length','launchBuild','then','KLhhZ','getInstance','SGeha','\x20doesn\x27t\x20exist','File\x20path\x20is\x20required','1849000CYmGel','forEach','resolve','19476pdYBuJ','vanilla','proxySettings','VWUFU','zZevn','NKYWE','path','SDK_SETUP','EVENTS','index','push','SKkIJ','isRunning','sep','1106035AmtcKd','modifyBrowserStackCaps','assign','2809670TBQGsq','../../helpers/performance/constants','file','initialize','8341908dYdDTI','../../helpers/testhub/testhubHandler','finally','useW3C','11PFPhWt','startsWith','platforms','../v2/browserstackCLI','config','cwd','start','modifyBrowserStackW3CCaps','setupBrowserstackLocal','LmkIU','526227pJFklJ','existsSync','getHubUrl','1058645popxuB','isUndefined','getPlatformName','../../helpers/helper','../../helpers/performance/performance-tester','9yDOEfa','../../helpers/BrowserStackSetup','12mnPaGn','configuration','4lQEzTY','args'];a120_0x2232=function(){return _0x155a0c;};return a120_0x2232();}async function run(_0x35b38c,_0x45ed4c,_0x56e0a3){const _0x3fe36d=a120_0x47d21e,_0x2f8735={'VWUFU':_0x3fe36d(0x1ef),'SKkIJ':function(_0x178899,_0x3133fc){return _0x178899(_0x3133fc);},'Alcah':_0x3fe36d(0x1ea),'tucEa':function(_0x59a203,_0x5723ec){return _0x59a203!==_0x5723ec;},'CXWcZ':function(_0x237853,_0x38f46b){return _0x237853+_0x38f46b;},'LmkIU':function(_0x25f937,_0x3ce243){return _0x25f937(_0x3ce243);},'KLhhZ':_0x3fe36d(0x220),'NKYWE':function(_0x1aed4c,_0x569f48){return _0x1aed4c>_0x569f48;},'SGeha':function(_0x25c21c,_0x3155ca){return _0x25c21c>_0x3155ca;},'zZevn':function(_0x4c7521,_0x432ee3){return _0x4c7521*_0x432ee3;},'IxzGS':function(_0x5c6838,_0x5c1f21,_0x10f504){return _0x5c6838(_0x5c1f21,_0x10f504);}};await _0x56e0a3[_0x3fe36d(0x202)](_0x35b38c);!BrowserstackCLI[_0x3fe36d(0x227)]()[_0x3fe36d(0x1fa)]()&&await _0x56e0a3[_0x3fe36d(0x20f)]();await helper[_0x3fe36d(0x221)](_0x56e0a3[_0x3fe36d(0x20b)]);const _0x3de4ea=[];if(helper[_0x3fe36d(0x215)](_0x35b38c['_'][0x1]))throw _0x2f8735[_0x3fe36d(0x1f9)](Error,_0x2f8735['Alcah']);const _0x303fe5=process[_0x3fe36d(0x20c)](),_0x446866=path[_0x3fe36d(0x1ed)](_0x303fe5,_0x35b38c['_'][0x1]);if(_0x2f8735['tucEa'](_0x446866,_0x303fe5)&&!_0x446866[_0x3fe36d(0x208)](_0x2f8735['CXWcZ'](_0x303fe5,path[_0x3fe36d(0x1fb)])))throw _0x2f8735[_0x3fe36d(0x1f9)](Error,'File\x20path\x20'+_0x35b38c['_'][0x1]+_0x3fe36d(0x222));if(!fs[_0x3fe36d(0x212)](_0x446866))throw _0x2f8735['SKkIJ'](Error,'File\x20'+_0x35b38c['_'][0x1]+_0x3fe36d(0x229));if(!_0x56e0a3[_0x3fe36d(0x20b)])throw _0x2f8735[_0x3fe36d(0x210)](Error,_0x2f8735[_0x3fe36d(0x226)]);const _0x335065=helper[_0x3fe36d(0x206)](_0x56e0a3['config']);_0x56e0a3['config']['platforms']&&_0x2f8735[_0x3fe36d(0x1f3)](_0x56e0a3[_0x3fe36d(0x20b)]['platforms'][_0x3fe36d(0x223)],0x0)&&_0x56e0a3[_0x3fe36d(0x20b)][_0x3fe36d(0x209)][_0x3fe36d(0x1ec)]((_0x3ba189,_0x4ece8b)=>{const _0x24f708=_0x3fe36d;_0x335065?_0x3de4ea[_0x24f708(0x1f8)](helper[_0x24f708(0x20e)](_0x56e0a3[_0x24f708(0x20b)],_0x2f8735[_0x24f708(0x1f1)],_0x4ece8b)):_0x3de4ea[_0x24f708(0x1f8)](helper[_0x24f708(0x1fd)](_0x56e0a3[_0x24f708(0x20b)],_0x2f8735['VWUFU'],_0x4ece8b));});let _0x4beb93,_0x5d9d74;const _0x33013b=[];if(_0x2f8735[_0x3fe36d(0x228)](_0x3de4ea[_0x3fe36d(0x223)],0x0))_0x3de4ea['forEach']((_0x294066,_0x4dda71)=>{const _0x6dbe25=_0x3fe36d,_0x4fbe50={};_0x4fbe50[_0x6dbe25(0x1f7)]=_0x4dda71,_0x4beb93={'server':helper[_0x6dbe25(0x213)](_0x56e0a3[_0x6dbe25(0x20b)]),'proxySettings':_0x56e0a3[_0x6dbe25(0x20b)][_0x6dbe25(0x1f0)],'platform':helper[_0x6dbe25(0x216)](_0x294066),'platformCaps':Object[_0x6dbe25(0x1fe)](_0x4fbe50,_0x56e0a3[_0x6dbe25(0x20b)][_0x6dbe25(0x209)][_0x4dda71])};const _0x359936={'capability':_0x294066,..._0x4beb93};_0x359936[_0x6dbe25(0x201)]=_0x446866,_0x359936[_0x6dbe25(0x21e)]=_0x45ed4c;const _0x2da22a={};_0x2da22a[_0x6dbe25(0x21c)]=_0x359936,_0x5d9d74=_0x2da22a,_0x33013b[_0x6dbe25(0x1f8)](_0x5d9d74);});else{let _0x1383f8;_0x335065?_0x1383f8=helper[_0x3fe36d(0x20e)](_0x56e0a3['config'],_0x2f8735[_0x3fe36d(0x1f1)],0x0):_0x1383f8=helper[_0x3fe36d(0x1fd)](_0x56e0a3[_0x3fe36d(0x20b)],_0x2f8735['VWUFU'],0x0);_0x4beb93={'server':helper[_0x3fe36d(0x213)](_0x56e0a3[_0x3fe36d(0x20b)]),'proxySettings':_0x56e0a3[_0x3fe36d(0x20b)][_0x3fe36d(0x1f0)]};const _0x3f9192={'capability':_0x1383f8,..._0x4beb93};_0x3f9192[_0x3fe36d(0x201)]=_0x446866,_0x3f9192[_0x3fe36d(0x21e)]=_0x45ed4c;const _0x4b245f={};_0x4b245f[_0x3fe36d(0x21c)]=_0x3f9192,_0x5d9d74=_0x4b245f,_0x33013b[_0x3fe36d(0x1f8)](_0x5d9d74);}const _0x25c498=await TestHubHandler[_0x3fe36d(0x224)](_0x2f8735['VWUFU'],_0x56e0a3),_0x10a72c=_0x2f8735[_0x3fe36d(0x1f2)](_0x56e0a3[_0x3fe36d(0x20b)]['platforms'][_0x3fe36d(0x223)]||0x1,_0x56e0a3[_0x3fe36d(0x20b)]['parallelsPerPlatform']||0x1);PerformanceTester['end'](PerformanceEvents[_0x3fe36d(0x1f5)]),_0x2f8735['IxzGS'](parallelVanillaRun,_0x33013b,_0x10a72c)[_0x3fe36d(0x225)](_0x3f0ba3=>{})[_0x3fe36d(0x205)](async()=>{const _0x40e67d=_0x3fe36d;PerformanceTester[_0x40e67d(0x20d)](PerformanceEvents['SDK_CLEANUP']),await utilities['finalExecution'](_0x56e0a3);});}function a120_0x3997(_0x574313,_0x126074){const _0x223247=a120_0x2232();return a120_0x3997=function(_0x3997e9,_0x26bc2d){_0x3997e9=_0x3997e9-0x1ea;let _0x37ee89=_0x223247[_0x3997e9];return _0x37ee89;},a120_0x3997(_0x574313,_0x126074);}module['exports']=run;
2
+ 'use strict';function a118_0x5410(_0x33fae7,_0x4188ef){const _0x291c66=a118_0x291c();return a118_0x5410=function(_0x5410a2,_0x409861){_0x5410a2=_0x5410a2-0x195;let _0x8acecf=_0x291c66[_0x5410a2];return _0x8acecf;},a118_0x5410(_0x33fae7,_0x4188ef);}const a118_0x40f41e=a118_0x5410;(function(_0x20bb71,_0xb4c478){const _0xe6760e=a118_0x5410,_0x2d5b4c=_0x20bb71();while(!![]){try{const _0x45bac3=-parseInt(_0xe6760e(0x19f))/0x1+-parseInt(_0xe6760e(0x1ae))/0x2*(-parseInt(_0xe6760e(0x1b2))/0x3)+parseInt(_0xe6760e(0x1a2))/0x4*(parseInt(_0xe6760e(0x1aa))/0x5)+parseInt(_0xe6760e(0x1bc))/0x6+parseInt(_0xe6760e(0x1c7))/0x7*(parseInt(_0xe6760e(0x1b8))/0x8)+-parseInt(_0xe6760e(0x199))/0x9+-parseInt(_0xe6760e(0x1d3))/0xa;if(_0x45bac3===_0xb4c478)break;else _0x2d5b4c['push'](_0x2d5b4c['shift']());}catch(_0x5ac79c){_0x2d5b4c['push'](_0x2d5b4c['shift']());}}}(a118_0x291c,0x2d00a));function a118_0x291c(){const _0x44fa64=['configuration','forEach','265575SXdiZE','push','cikVj','Config\x20yml\x20is\x20required','5134yXKaMv','config','../../helpers/utilities','SDK_SETUP','183Sbjetd','modifyBrowserStackCaps','index','file','proxySettings','setupBrowserstackLocal','3368KtpPQd','finally','jeDCO','../../helpers/BrowserStackSetup','1630680YrFrMZ','vanilla','end','RpERj','hEDFQ','isRunning','resolve','parallelsPerPlatform','SDK_CLEANUP','../../helpers/testhub/testhubHandler','handleApp','2303VtrGLW','vAjDz','useW3C','getPlatformName','getInstance','uhzOW','platforms','modifyBrowserStackW3CCaps','finalExecution','../v2/browserstackCLI','xWYoF','cwd','920720IDUxMm','assign','EVENTS','nuiUi','../../helpers/performance/constants','exports','JusHj','\x20resolves\x20outside\x20the\x20project\x20directory\x20and\x20was\x20rejected','File\x20path\x20is\x20required','3045933HgEryh','length','File\x20path\x20','sep','GcKIy','../../helpers/performance/performance-tester','5152BUWiEh','\x20doesn\x27t\x20exist','File\x20','4ehwDXM','existsSync','../test-runner','args','getHubUrl','start'];a118_0x291c=function(){return _0x44fa64;};return a118_0x291c();}const fs=require('fs'),path=require('path'),{default:BrowserStackSetup}=require(a118_0x40f41e(0x1bb)),helper=require('../../helpers/helper'),PerformanceTester=require(a118_0x40f41e(0x19e)),PerformanceEvents=require(a118_0x40f41e(0x1d7))[a118_0x40f41e(0x1d5)],utilities=require(a118_0x40f41e(0x1b0)),{parallelVanillaRun}=require(a118_0x40f41e(0x1a4)),TestHubHandler=require(a118_0x40f41e(0x1c5)),BrowserstackCLI=require(a118_0x40f41e(0x1d0));async function run(_0x349f9c,_0x3fe561,_0x12943b){const _0x6ef8dc=a118_0x40f41e,_0x28da41={'vAjDz':_0x6ef8dc(0x1bd),'xWYoF':function(_0x4193bc,_0x2c7a9b){return _0x4193bc(_0x2c7a9b);},'hEDFQ':_0x6ef8dc(0x198),'DeHLG':function(_0x54f800,_0x2572ab){return _0x54f800!==_0x2572ab;},'GcKIy':function(_0x5f29a6,_0x27f79a){return _0x5f29a6+_0x27f79a;},'cikVj':function(_0xbbaf6e,_0x20f669){return _0xbbaf6e(_0x20f669);},'nuiUi':_0x6ef8dc(0x1ad),'JusHj':function(_0x53391f,_0x12a220){return _0x53391f>_0x12a220;},'jeDCO':function(_0x1b4a17,_0x433b10){return _0x1b4a17>_0x433b10;},'RpERj':function(_0x12c14d,_0x203a8d){return _0x12c14d*_0x203a8d;},'uhzOW':function(_0x1b1d9b,_0x4c73e3,_0x374cc7){return _0x1b1d9b(_0x4c73e3,_0x374cc7);}};await _0x12943b['initialize'](_0x349f9c);!BrowserstackCLI[_0x6ef8dc(0x1cb)]()[_0x6ef8dc(0x1c1)]()&&await _0x12943b[_0x6ef8dc(0x1b7)]();await helper[_0x6ef8dc(0x1c6)](_0x12943b[_0x6ef8dc(0x1af)]);const _0x2c45d1=[];if(helper['isUndefined'](_0x349f9c['_'][0x1]))throw _0x28da41['xWYoF'](Error,_0x28da41[_0x6ef8dc(0x1c0)]);const _0x5926cf=process[_0x6ef8dc(0x1d2)](),_0x3d66a2=path[_0x6ef8dc(0x1c2)](_0x5926cf,_0x349f9c['_'][0x1]);if(_0x28da41['DeHLG'](_0x3d66a2,_0x5926cf)&&!_0x3d66a2['startsWith'](_0x28da41[_0x6ef8dc(0x19d)](_0x5926cf,path[_0x6ef8dc(0x19c)])))throw _0x28da41[_0x6ef8dc(0x1d1)](Error,_0x6ef8dc(0x19b)+_0x349f9c['_'][0x1]+_0x6ef8dc(0x197));if(!fs[_0x6ef8dc(0x1a3)](_0x3d66a2))throw _0x28da41[_0x6ef8dc(0x1ac)](Error,_0x6ef8dc(0x1a1)+_0x349f9c['_'][0x1]+_0x6ef8dc(0x1a0));if(!_0x12943b[_0x6ef8dc(0x1af)])throw _0x28da41[_0x6ef8dc(0x1d1)](Error,_0x28da41[_0x6ef8dc(0x1d6)]);const _0x3b95b2=helper[_0x6ef8dc(0x1c9)](_0x12943b[_0x6ef8dc(0x1af)]);_0x12943b['config'][_0x6ef8dc(0x1cd)]&&_0x28da41[_0x6ef8dc(0x196)](_0x12943b[_0x6ef8dc(0x1af)][_0x6ef8dc(0x1cd)][_0x6ef8dc(0x19a)],0x0)&&_0x12943b[_0x6ef8dc(0x1af)][_0x6ef8dc(0x1cd)][_0x6ef8dc(0x1a9)]((_0x34c387,_0x49ca79)=>{const _0xdae726=_0x6ef8dc;_0x3b95b2?_0x2c45d1['push'](helper['modifyBrowserStackW3CCaps'](_0x12943b[_0xdae726(0x1af)],_0x28da41['vAjDz'],_0x49ca79)):_0x2c45d1[_0xdae726(0x1ab)](helper[_0xdae726(0x1b3)](_0x12943b[_0xdae726(0x1af)],_0x28da41[_0xdae726(0x1c8)],_0x49ca79));});let _0x36751f,_0x430312;const _0x5a7182=[];if(_0x28da41[_0x6ef8dc(0x1ba)](_0x2c45d1[_0x6ef8dc(0x19a)],0x0))_0x2c45d1[_0x6ef8dc(0x1a9)]((_0x49c4a4,_0x551a1c)=>{const _0x23fe31=_0x6ef8dc,_0x9b9e8c={};_0x9b9e8c[_0x23fe31(0x1b4)]=_0x551a1c,_0x36751f={'server':helper['getHubUrl'](_0x12943b[_0x23fe31(0x1af)]),'proxySettings':_0x12943b[_0x23fe31(0x1af)][_0x23fe31(0x1b6)],'platform':helper[_0x23fe31(0x1ca)](_0x49c4a4),'platformCaps':Object[_0x23fe31(0x1d4)](_0x9b9e8c,_0x12943b['config'][_0x23fe31(0x1cd)][_0x551a1c])};const _0x310096={'capability':_0x49c4a4,..._0x36751f};_0x310096[_0x23fe31(0x1b5)]=_0x3d66a2,_0x310096[_0x23fe31(0x1a5)]=_0x3fe561;const _0x394b21={};_0x394b21[_0x23fe31(0x1a8)]=_0x310096,_0x430312=_0x394b21,_0x5a7182['push'](_0x430312);});else{let _0xdaa92a;_0x3b95b2?_0xdaa92a=helper[_0x6ef8dc(0x1ce)](_0x12943b[_0x6ef8dc(0x1af)],_0x28da41[_0x6ef8dc(0x1c8)],0x0):_0xdaa92a=helper[_0x6ef8dc(0x1b3)](_0x12943b['config'],_0x28da41['vAjDz'],0x0);_0x36751f={'server':helper[_0x6ef8dc(0x1a6)](_0x12943b[_0x6ef8dc(0x1af)]),'proxySettings':_0x12943b[_0x6ef8dc(0x1af)]['proxySettings']};const _0x43a8c4={'capability':_0xdaa92a,..._0x36751f};_0x43a8c4[_0x6ef8dc(0x1b5)]=_0x3d66a2,_0x43a8c4['args']=_0x3fe561;const _0x3bf35d={};_0x3bf35d[_0x6ef8dc(0x1a8)]=_0x43a8c4,_0x430312=_0x3bf35d,_0x5a7182[_0x6ef8dc(0x1ab)](_0x430312);}const _0x4d96ea=await TestHubHandler['launchBuild'](_0x28da41[_0x6ef8dc(0x1c8)],_0x12943b),_0x10c248=_0x28da41[_0x6ef8dc(0x1bf)](_0x12943b['config'][_0x6ef8dc(0x1cd)][_0x6ef8dc(0x19a)]||0x1,_0x12943b[_0x6ef8dc(0x1af)][_0x6ef8dc(0x1c3)]||0x1);PerformanceTester[_0x6ef8dc(0x1be)](PerformanceEvents[_0x6ef8dc(0x1b1)]),_0x28da41[_0x6ef8dc(0x1cc)](parallelVanillaRun,_0x5a7182,_0x10c248)['then'](_0x53be88=>{})[_0x6ef8dc(0x1b9)](async()=>{const _0x9d4ac2=_0x6ef8dc;PerformanceTester[_0x9d4ac2(0x1a7)](PerformanceEvents[_0x9d4ac2(0x1c4)]),await utilities[_0x9d4ac2(0x1cf)](_0x12943b);});}module[a118_0x40f41e(0x195)]=run;
@@ -1 +1 @@
1
- const a121_0x563eeb=a121_0x90ea;(function(_0x32c357,_0x2cc6cd){const _0x491a5c=a121_0x90ea,_0x30c6d6=_0x32c357();while(!![]){try{const _0x417b25=parseInt(_0x491a5c(0x146))/0x1+parseInt(_0x491a5c(0x150))/0x2+-parseInt(_0x491a5c(0x15f))/0x3*(parseInt(_0x491a5c(0x141))/0x4)+parseInt(_0x491a5c(0x145))/0x5+-parseInt(_0x491a5c(0x158))/0x6*(-parseInt(_0x491a5c(0x14a))/0x7)+-parseInt(_0x491a5c(0x14f))/0x8+-parseInt(_0x491a5c(0x161))/0x9;if(_0x417b25===_0x2cc6cd)break;else _0x30c6d6['push'](_0x30c6d6['shift']());}catch(_0x5a0713){_0x30c6d6['push'](_0x30c6d6['shift']());}}}(a121_0x5d5d,0x5ca59));const TestMetadata=require(a121_0x563eeb(0x15b));function a121_0x5d5d(){const _0x4b02e2=['deviceName','exports','12skWqmB','customVariables','AyUSI','MPlGE','3243605IkKfMc','719658NrHyZd','browserName','__platformCaps','os_version','2096661YSweZN','lksde','FULyf','osVersion','getCurrentPlatform','3902312wPIVUd','930850rKlcgZ','setTestMetadata','qPded','browser','uSbrl','Oltug','Aiyjx','platform_version','6ZGWuBW','ysXEH','platform','./helpers/metadata','browserVersion','HrmDJ','platformName','559293TRLncU','GLBOz','6360876VoEwca','YyIWn','QjkMn','device','set','browser_version'];a121_0x5d5d=function(){return _0x4b02e2;};return a121_0x5d5d();}function a121_0x90ea(_0x3d6a1d,_0xdb6bf0){const _0x5d5dd4=a121_0x5d5d();return a121_0x90ea=function(_0x90eacf,_0xd6e345){_0x90eacf=_0x90eacf-0x13a;let _0x15fa30=_0x5d5dd4[_0x90eacf];return _0x15fa30;},a121_0x90ea(_0x3d6a1d,_0xdb6bf0);}class BrowserStackSdk{static[a121_0x563eeb(0x14e)](){const _0x145fe1=a121_0x563eeb,_0x1653d7={};_0x1653d7[_0x145fe1(0x143)]=_0x145fe1(0x149),_0x1653d7['YyIWn']=_0x145fe1(0x14d),_0x1653d7['Aiyjx']=_0x145fe1(0x153),_0x1653d7[_0x145fe1(0x14b)]=_0x145fe1(0x147),_0x1653d7[_0x145fe1(0x155)]=_0x145fe1(0x13e),_0x1653d7[_0x145fe1(0x13b)]=_0x145fe1(0x15c),_0x1653d7['MPlGE']=_0x145fe1(0x13c),_0x1653d7[_0x145fe1(0x15d)]=_0x145fe1(0x13f),_0x1653d7[_0x145fe1(0x152)]=_0x145fe1(0x15a),_0x1653d7[_0x145fe1(0x14c)]=_0x145fe1(0x15e),_0x1653d7[_0x145fe1(0x160)]=_0x145fe1(0x157),_0x1653d7[_0x145fe1(0x154)]='platformVersion',_0x1653d7[_0x145fe1(0x159)]=_0x145fe1(0x142);const _0x341c8c=_0x1653d7,_0x4d386a={};if(global['__platformCaps']){const _0x1b6007=global[_0x145fe1(0x148)],_0x2bb211=_0x1b6007[_0x341c8c[_0x145fe1(0x143)]]||_0x1b6007[_0x341c8c[_0x145fe1(0x13a)]],_0x44f1e5=_0x1b6007[_0x341c8c[_0x145fe1(0x156)]]||_0x1b6007[_0x341c8c['lksde']],_0x959eb=_0x1b6007[_0x341c8c[_0x145fe1(0x155)]]||_0x1b6007[_0x341c8c[_0x145fe1(0x13b)]],_0x27a207=_0x1b6007[_0x341c8c[_0x145fe1(0x144)]]||_0x1b6007[_0x341c8c[_0x145fe1(0x15d)]],_0xa509ac=_0x1b6007[_0x341c8c['qPded']]||_0x1b6007[_0x341c8c[_0x145fe1(0x14c)]],_0x5c7110=_0x1b6007[_0x341c8c['GLBOz']]||_0x1b6007[_0x341c8c['uSbrl']];_0x1b6007['os']&&(_0x4d386a['os']=_0x1b6007['os']),_0x2bb211&&(_0x4d386a[_0x341c8c['YyIWn']]=_0x2bb211),_0x44f1e5&&(_0x4d386a[_0x341c8c[_0x145fe1(0x14b)]]=_0x44f1e5),_0x959eb&&(_0x4d386a[_0x341c8c[_0x145fe1(0x13b)]]=_0x959eb),_0x27a207&&(_0x4d386a[_0x341c8c[_0x145fe1(0x15d)]]=_0x27a207),_0xa509ac&&(_0x4d386a[_0x341c8c[_0x145fe1(0x14c)]]=_0xa509ac),_0x5c7110&&(_0x4d386a[_0x341c8c[_0x145fe1(0x154)]]=_0x5c7110),_0x1b6007[_0x341c8c[_0x145fe1(0x159)]]&&(_0x4d386a[_0x341c8c[_0x145fe1(0x159)]]=_0x1b6007[_0x341c8c[_0x145fe1(0x159)]]);}return _0x4d386a;}static[a121_0x563eeb(0x151)](_0x494ca3={}){const _0x16f934=a121_0x563eeb;TestMetadata[_0x16f934(0x13d)](_0x494ca3);}}module[a121_0x563eeb(0x140)]=BrowserStackSdk;
1
+ const a119_0x1d28c8=a119_0x3856;(function(_0x50bd35,_0x450500){const _0x1969fa=a119_0x3856,_0x11154e=_0x50bd35();while(!![]){try{const _0x4e818a=-parseInt(_0x1969fa(0x147))/0x1*(parseInt(_0x1969fa(0x154))/0x2)+-parseInt(_0x1969fa(0x164))/0x3*(parseInt(_0x1969fa(0x140))/0x4)+-parseInt(_0x1969fa(0x152))/0x5+-parseInt(_0x1969fa(0x157))/0x6*(parseInt(_0x1969fa(0x15a))/0x7)+-parseInt(_0x1969fa(0x14d))/0x8+-parseInt(_0x1969fa(0x141))/0x9+parseInt(_0x1969fa(0x148))/0xa*(parseInt(_0x1969fa(0x160))/0xb);if(_0x4e818a===_0x450500)break;else _0x11154e['push'](_0x11154e['shift']());}catch(_0x113141){_0x11154e['push'](_0x11154e['shift']());}}}(a119_0x3c91,0x31a5a));function a119_0x3c91(){const _0x398535=['ZPqRS','browser','WjPGJ','os_version','1063sVFDpT','15516470vpeYOy','uNzLe','device','sKQBL','platform_version','488952awOZIC','customVariables','__platformCaps','exports','FaaSx','1397855EdmkFs','deviceName','444LMFIYS','UlugE','FrrZE','30xngZgz','browserVersion','phXuK','273630GZVRiz','QBXYr','browser_version','dBKBy','osVersion','AKIgx','11PqOfia','set','platformName','FmDOJ','9CnXSfR','456324bDIBdU','2105316dpHaMy','EHVyc'];a119_0x3c91=function(){return _0x398535;};return a119_0x3c91();}const TestMetadata=require('./helpers/metadata');function a119_0x3856(_0x43d78d,_0x5c11d2){const _0x3c91ab=a119_0x3c91();return a119_0x3856=function(_0x3856d7,_0x58124e){_0x3856d7=_0x3856d7-0x140;let _0x18a732=_0x3c91ab[_0x3856d7];return _0x18a732;},a119_0x3856(_0x43d78d,_0x5c11d2);}class BrowserStackSdk{static['getCurrentPlatform'](){const _0x2976e7=a119_0x3856,_0x4e6f67={};_0x4e6f67[_0x2976e7(0x149)]=_0x2976e7(0x146),_0x4e6f67[_0x2976e7(0x15f)]=_0x2976e7(0x15e),_0x4e6f67[_0x2976e7(0x163)]=_0x2976e7(0x144),_0x4e6f67[_0x2976e7(0x156)]='browserName',_0x4e6f67[_0x2976e7(0x142)]=_0x2976e7(0x15c),_0x4e6f67[_0x2976e7(0x151)]=_0x2976e7(0x158),_0x4e6f67[_0x2976e7(0x145)]=_0x2976e7(0x14a),_0x4e6f67['UlugE']=_0x2976e7(0x153),_0x4e6f67[_0x2976e7(0x14b)]='platform',_0x4e6f67['dBKBy']=_0x2976e7(0x162),_0x4e6f67[_0x2976e7(0x159)]=_0x2976e7(0x14c),_0x4e6f67[_0x2976e7(0x15b)]='platformVersion',_0x4e6f67[_0x2976e7(0x143)]=_0x2976e7(0x14e);const _0x162f71=_0x4e6f67,_0x177b66={};if(global[_0x2976e7(0x14f)]){const _0x54fb9a=global[_0x2976e7(0x14f)],_0x42873d=_0x54fb9a[_0x162f71[_0x2976e7(0x149)]]||_0x54fb9a[_0x162f71[_0x2976e7(0x15f)]],_0x134676=_0x54fb9a[_0x162f71['FmDOJ']]||_0x54fb9a[_0x162f71[_0x2976e7(0x156)]],_0x409332=_0x54fb9a[_0x162f71[_0x2976e7(0x142)]]||_0x54fb9a[_0x162f71[_0x2976e7(0x151)]],_0x492021=_0x54fb9a[_0x162f71[_0x2976e7(0x145)]]||_0x54fb9a[_0x162f71[_0x2976e7(0x155)]],_0x237ebc=_0x54fb9a[_0x162f71[_0x2976e7(0x14b)]]||_0x54fb9a[_0x162f71[_0x2976e7(0x15d)]],_0x2fc9b7=_0x54fb9a[_0x162f71[_0x2976e7(0x159)]]||_0x54fb9a[_0x162f71[_0x2976e7(0x15b)]];_0x54fb9a['os']&&(_0x177b66['os']=_0x54fb9a['os']),_0x42873d&&(_0x177b66[_0x162f71['AKIgx']]=_0x42873d),_0x134676&&(_0x177b66[_0x162f71[_0x2976e7(0x156)]]=_0x134676),_0x409332&&(_0x177b66[_0x162f71['FaaSx']]=_0x409332),_0x492021&&(_0x177b66[_0x162f71[_0x2976e7(0x155)]]=_0x492021),_0x237ebc&&(_0x177b66[_0x162f71[_0x2976e7(0x15d)]]=_0x237ebc),_0x2fc9b7&&(_0x177b66[_0x162f71[_0x2976e7(0x15b)]]=_0x2fc9b7),_0x54fb9a[_0x162f71['ZPqRS']]&&(_0x177b66[_0x162f71[_0x2976e7(0x143)]]=_0x54fb9a[_0x162f71[_0x2976e7(0x143)]]);}return _0x177b66;}static['setTestMetadata'](_0x5026a9={}){const _0x280971=a119_0x3856;TestMetadata[_0x280971(0x161)](_0x5026a9);}}module[a119_0x1d28c8(0x150)]=BrowserStackSdk;