browserstack-node-sdk 1.50.5 → 1.50.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +2 -2
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a120_0x31b10a=a120_0x5440;(function(_0x21ed3a,_0x5c99df){const _0x29be15=a120_0x5440,_0x53daf2=_0x21ed3a();while(!![]){try{const _0x1fa100=parseInt(_0x29be15(0x11f))/0x1+parseInt(_0x29be15(0x166))/0x2+-parseInt(_0x29be15(0x155))/0x3+-parseInt(_0x29be15(0x11c))/0x4*(-parseInt(_0x29be15(0x122))/0x5)+parseInt(_0x29be15(0x165))/0x6+-parseInt(_0x29be15(0x188))/0x7+parseInt(_0x29be15(0x18f))/0x8;if(_0x1fa100===_0x5c99df)break;else _0x53daf2['push'](_0x53daf2['shift']());}catch(_0x456360){_0x53daf2['push'](_0x53daf2['shift']());}}}(a120_0xeba9,0x6c483));function a120_0x5440(_0x2f1dc2,_0x3fd9de){const _0xeba99b=a120_0xeba9();return a120_0x5440=function(_0x54407e,_0xa7c2c4){_0x54407e=_0x54407e-0x115;let _0x289f37=_0xeba99b[_0x54407e];return _0x289f37;},a120_0x5440(_0x2f1dc2,_0x3fd9de);}const a120_0x6e5849={};a120_0x6e5849['SDK_SETUP']=a120_0x31b10a(0x139),a120_0x6e5849[a120_0x31b10a(0x196)]=a120_0x31b10a(0x14c),a120_0x6e5849[a120_0x31b10a(0x16e)]=a120_0x31b10a(0x13e),a120_0x6e5849[a120_0x31b10a(0x19c)]=a120_0x31b10a(0x14d),a120_0x6e5849[a120_0x31b10a(0x186)]=a120_0x31b10a(0x12e),a120_0x6e5849['SDK_HOOK']=a120_0x31b10a(0x17b),a120_0x6e5849['SDK_DRIVER']=a120_0x31b10a(0x183),a120_0x6e5849[a120_0x31b10a(0x143)]=a120_0x31b10a(0x185),a120_0x6e5849[a120_0x31b10a(0x15c)]=a120_0x31b10a(0x140),a120_0x6e5849[a120_0x31b10a(0x136)]=a120_0x31b10a(0x18a),a120_0x6e5849[a120_0x31b10a(0x19a)]=a120_0x31b10a(0x184),a120_0x6e5849[a120_0x31b10a(0x19b)]=a120_0x31b10a(0x17e),a120_0x6e5849[a120_0x31b10a(0x137)]=a120_0x31b10a(0x13c),a120_0x6e5849[a120_0x31b10a(0x12a)]=a120_0x31b10a(0x148),a120_0x6e5849[a120_0x31b10a(0x149)]=a120_0x31b10a(0x150),a120_0x6e5849['SDK_PERCY']=a120_0x31b10a(0x117),a120_0x6e5849[a120_0x31b10a(0x120)]=a120_0x31b10a(0x135),a120_0x6e5849[a120_0x31b10a(0x15e)]=a120_0x31b10a(0x178),a120_0x6e5849[a120_0x31b10a(0x131)]=a120_0x31b10a(0x16c),a120_0x6e5849[a120_0x31b10a(0x169)]=a120_0x31b10a(0x14a),a120_0x6e5849[a120_0x31b10a(0x19f)]=a120_0x31b10a(0x15f),a120_0x6e5849[a120_0x31b10a(0x175)]=a120_0x31b10a(0x18e),a120_0x6e5849['SDK_CLI_ON_CONNECT']=a120_0x31b10a(0x18c),a120_0x6e5849[a120_0x31b10a(0x14b)]=a120_0x31b10a(0x134),a120_0x6e5849[a120_0x31b10a(0x160)]='sdk:startBinSession',a120_0x6e5849[a120_0x31b10a(0x13f)]='sdk:connectBinSession',a120_0x6e5849[a120_0x31b10a(0x123)]='sdk:driverInit',a120_0x6e5849[a120_0x31b10a(0x172)]=a120_0x31b10a(0x194),a120_0x6e5849['SDK_AUTOMATION_FRAMEWORK_INIT']='sdk:automationFrameworkInit',a120_0x6e5849[a120_0x31b10a(0x17d)]=a120_0x31b10a(0x187),a120_0x6e5849[a120_0x31b10a(0x16d)]='sdk:accessibilityConfig',a120_0x6e5849[a120_0x31b10a(0x11e)]=a120_0x31b10a(0x18b),a120_0x6e5849[a120_0x31b10a(0x133)]=a120_0x31b10a(0x1a0),a120_0x6e5849[a120_0x31b10a(0x1a1)]=a120_0x31b10a(0x181),a120_0x6e5849[a120_0x31b10a(0x129)]='sdk:testFrameworkEvent',a120_0x6e5849[a120_0x31b10a(0x15b)]=a120_0x31b10a(0x128),a120_0x6e5849['SDK_CLI_LOG_CREATED_EVENT']=a120_0x31b10a(0x13a),a120_0x6e5849[a120_0x31b10a(0x16f)]=a120_0x31b10a(0x11d),a120_0x6e5849[a120_0x31b10a(0x132)]=a120_0x31b10a(0x171),a120_0x6e5849[a120_0x31b10a(0x164)]=a120_0x31b10a(0x17a);const SDK_EVENTS=a120_0x6e5849,a120_0x2dda62={};a120_0x2dda62['EVENTS']=SDK_EVENTS,a120_0x2dda62[a120_0x31b10a(0x138)]={},a120_0x2dda62[a120_0x31b10a(0x145)]={},a120_0x2dda62[a120_0x31b10a(0x198)]={},a120_0x2dda62[a120_0x31b10a(0x12c)]={},a120_0x2dda62[a120_0x31b10a(0x157)]={},a120_0x2dda62[a120_0x31b10a(0x180)]={},a120_0x2dda62[a120_0x31b10a(0x173)]={},a120_0x2dda62[a120_0x31b10a(0x13d)]={},a120_0x2dda62[a120_0x31b10a(0x156)]={},a120_0x2dda62[a120_0x31b10a(0x138)]['START']=SDK_EVENTS['SDK_TESTHUB']+':start',a120_0x2dda62[a120_0x31b10a(0x138)][a120_0x31b10a(0x144)]=SDK_EVENTS[a120_0x31b10a(0x19b)]+':stop',a120_0x2dda62[a120_0x31b10a(0x145)][a120_0x31b10a(0x16b)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x31b10a(0x197),a120_0x2dda62[a120_0x31b10a(0x145)][a120_0x31b10a(0x13b)]=SDK_EVENTS['SDK_AUTOMATE']+':hub-management',a120_0x2dda62[a120_0x31b10a(0x145)][a120_0x31b10a(0x195)]=SDK_EVENTS[a120_0x31b10a(0x137)]+a120_0x31b10a(0x127),a120_0x2dda62[a120_0x31b10a(0x145)][a120_0x31b10a(0x124)]=SDK_EVENTS[a120_0x31b10a(0x137)]+':local-stop',a120_0x2dda62[a120_0x31b10a(0x145)][a120_0x31b10a(0x14e)]=SDK_EVENTS[a120_0x31b10a(0x137)]+a120_0x31b10a(0x141),a120_0x2dda62[a120_0x31b10a(0x145)]['SESSION_NAME']=SDK_EVENTS[a120_0x31b10a(0x137)]+a120_0x31b10a(0x191),a120_0x2dda62[a120_0x31b10a(0x145)][a120_0x31b10a(0x18d)]=SDK_EVENTS[a120_0x31b10a(0x137)]+a120_0x31b10a(0x162),a120_0x2dda62[a120_0x31b10a(0x145)][a120_0x31b10a(0x161)]=SDK_EVENTS[a120_0x31b10a(0x137)]+a120_0x31b10a(0x119),a120_0x2dda62[a120_0x31b10a(0x145)]['IDLE_TIMEOUT']=SDK_EVENTS[a120_0x31b10a(0x137)]+a120_0x31b10a(0x176),a120_0x2dda62[a120_0x31b10a(0x145)][a120_0x31b10a(0x182)]=SDK_EVENTS[a120_0x31b10a(0x137)]+':ci-artifacts',a120_0x2dda62[a120_0x31b10a(0x145)][a120_0x31b10a(0x121)]=SDK_EVENTS[a120_0x31b10a(0x137)]+a120_0x31b10a(0x12f),a120_0x2dda62[a120_0x31b10a(0x198)][a120_0x31b10a(0x158)]=SDK_EVENTS[a120_0x31b10a(0x143)]+':driver-performscan',a120_0x2dda62[a120_0x31b10a(0x198)][a120_0x31b10a(0x168)]=SDK_EVENTS[a120_0x31b10a(0x143)]+':save-results',a120_0x2dda62[a120_0x31b10a(0x198)][a120_0x31b10a(0x147)]=SDK_EVENTS[a120_0x31b10a(0x143)]+':get-accessibility-results',a120_0x2dda62[a120_0x31b10a(0x198)][a120_0x31b10a(0x190)]=SDK_EVENTS[a120_0x31b10a(0x143)]+':get-accessibility-results-summary',a120_0x2dda62[a120_0x31b10a(0x12c)]['DOWNLOAD']=SDK_EVENTS[a120_0x31b10a(0x152)]+a120_0x31b10a(0x19e),a120_0x2dda62[a120_0x31b10a(0x12c)][a120_0x31b10a(0x17f)]=SDK_EVENTS['SDK_PERCY']+a120_0x31b10a(0x12b),a120_0x2dda62[a120_0x31b10a(0x12c)]['START']=SDK_EVENTS[a120_0x31b10a(0x152)]+':start',a120_0x2dda62[a120_0x31b10a(0x12c)][a120_0x31b10a(0x144)]=SDK_EVENTS[a120_0x31b10a(0x152)]+a120_0x31b10a(0x19d),a120_0x2dda62[a120_0x31b10a(0x12c)][a120_0x31b10a(0x199)]=SDK_EVENTS[a120_0x31b10a(0x152)]+a120_0x31b10a(0x115),a120_0x2dda62[a120_0x31b10a(0x12c)][a120_0x31b10a(0x146)]=SDK_EVENTS['SDK_PERCY']+':snapshot',a120_0x2dda62[a120_0x31b10a(0x12c)][a120_0x31b10a(0x142)]=SDK_EVENTS[a120_0x31b10a(0x152)]+a120_0x31b10a(0x151),a120_0x2dda62[a120_0x31b10a(0x157)][a120_0x31b10a(0x12d)]=SDK_EVENTS[a120_0x31b10a(0x15c)]+a120_0x31b10a(0x189),a120_0x2dda62[a120_0x31b10a(0x157)][a120_0x31b10a(0x179)]=SDK_EVENTS['SDK_O11Y']+a120_0x31b10a(0x11b),a120_0x2dda62[a120_0x31b10a(0x157)]['PRINT_BUILDLINK']=SDK_EVENTS[a120_0x31b10a(0x15c)]+':print-buildlink',a120_0x2dda62[a120_0x31b10a(0x180)][a120_0x31b10a(0x17c)]=SDK_EVENTS['SDK_HOOK']+':before-each',a120_0x2dda62[a120_0x31b10a(0x180)][a120_0x31b10a(0x154)]=SDK_EVENTS['SDK_HOOK']+a120_0x31b10a(0x14f),a120_0x2dda62[a120_0x31b10a(0x180)][a120_0x31b10a(0x15d)]=SDK_EVENTS['SDK_HOOK']+a120_0x31b10a(0x16a),a120_0x2dda62[a120_0x31b10a(0x180)]['BEFORE_ALL']=SDK_EVENTS['SDK_HOOK']+a120_0x31b10a(0x170),a120_0x2dda62[a120_0x31b10a(0x180)][a120_0x31b10a(0x177)]=SDK_EVENTS['SDK_HOOK']+a120_0x31b10a(0x130),a120_0x2dda62[a120_0x31b10a(0x180)][a120_0x31b10a(0x125)]=SDK_EVENTS[a120_0x31b10a(0x116)]+a120_0x31b10a(0x126),a120_0x2dda62[a120_0x31b10a(0x173)]['HUB_MANAGEMENT']=SDK_EVENTS[a120_0x31b10a(0x149)]+a120_0x31b10a(0x192),a120_0x2dda62[a120_0x31b10a(0x173)]['PRINT_BUILDLINK']=SDK_EVENTS[a120_0x31b10a(0x149)]+a120_0x31b10a(0x12f),a120_0x2dda62[a120_0x31b10a(0x13d)][a120_0x31b10a(0x159)]=SDK_EVENTS[a120_0x31b10a(0x12a)]+a120_0x31b10a(0x15a),a120_0x2dda62[a120_0x31b10a(0x156)][a120_0x31b10a(0x193)]=SDK_EVENTS[a120_0x31b10a(0x167)]+a120_0x31b10a(0x11a),a120_0x2dda62[a120_0x31b10a(0x156)]['GET']=SDK_EVENTS[a120_0x31b10a(0x167)]+a120_0x31b10a(0x163),a120_0x2dda62[a120_0x31b10a(0x156)][a120_0x31b10a(0x118)]=SDK_EVENTS['SDK_DRIVER']+a120_0x31b10a(0x174),a120_0x2dda62[a120_0x31b10a(0x156)]['POST_EXECUTE']=SDK_EVENTS['SDK_DRIVER']+a120_0x31b10a(0x153),module['exports']=a120_0x2dda62;function a120_0xeba9(){const _0x39e14d=['PERCY_EVENTS','SYNC','sdk:post-test',':print-buildlink',':before','SDK_CLI_START','SDK_AUTOMATION_FRAMEWORK_STOP','SDK_AI_SELF_HEAL_STEP','sdk:cli:on-stop','sdk:driver:pre-initialization','SDK_AUTO_CAPTURE','SDK_AUTOMATE','TESTHUB_EVENTS','sdk:setup','sdk:cli:logCreatedEvent','HUB_MANAGEMENT','sdk:automate','APP_AUOTMATE_EVENTS','sdk:pre-test','SDK_CONNECT_BIN_SESSION','sdk:o11y',':driver-manage','SCREENSHOT_APP','SDK_A11Y','STOP','AUTOMATE_EVENTS','SNAPSHOT','GET_RESULTS','sdk:app-automate','SDK_TURBOSCALE','sdk:cli:download','SDK_CLI_ON_STOP','sdk:cleanup','sdk:test','DRIVER_MANAGE',':after-each','sdk:turboscale',':screenshot-app','SDK_PERCY',':post-execute','AFTER_EACH','805161HgEDBF','DRIVER_EVENT','O11y_EVENTS','PERFORM_SCAN','APP_UPLOAD',':app-upload','SDK_TEST_SESSION_EVENT','SDK_O11Y','AFTER_ALL','SDK_POST_INITIALIZE','sdk:cli:check-update','SDK_START_BIN_SESSION','SESSION_ANNOTATION',':session-status',':get','SDK_ON_STOP','437808EVItRV','4256tCUcSn','SDK_DRIVER','SAVE_RESULTS','SDK_CLI_DOWNLOAD',':after-all','KEEP_ALIVE','sdk:cli:start','SDK_ACCESSIBILITY_CONFIG','SDK_PRE_TEST','SDK_CLI_ENQUEUE_TEST_EVENT',':before-all','sdk:automationFrameworkStop','SDK_FIND_NEAREST_HUB','TURBOSCALE_EVENTS',':pre-execute','SDK_CLI_ON_BOOTSTRAP',':idle-timeout','BEFORE','sdk:driver:post-initialization','TAKE_SCREENSHOT','sdk:onStop','sdk:hook','BEFORE_EACH','SDK_AUTOMATION_FRAMEWORK_START','sdk:testhub','SCREENSHOT','HOOK_EVENTS','sdk:aiSelfHealGetResult','GENERATE_CI_ARTIFACT','sdk:driver','sdk:proxy-setup','sdk:a11y','SDK_POST_TEST','sdk:automationFrameworkStart','950873mbLVgp',':sync','sdk:auto-capture','sdk:observabilityConfig','sdk:cli:on-connect','SESSION_STATUS','sdk:cli:on-bootstrap','2211240FHCwuA','GET_RESULTS_SUMMARY',':session-name',':hub-management','QUIT','sdk:findNearestHub','LOCAL_START','SDK_CLEANUP',':keep-alive','A11Y_EVENTS','AUTO_CAPTURE','SDK_PROXY_SETUP','SDK_TESTHUB','SDK_TEST',':stop',':download','SDK_CLI_CHECK_UPDATE','sdk:aiSelfHealStep','SDK_AI_SELF_HEAL_GET_RESULT',':auto-capture','SDK_HOOK','sdk:percy','PRE_EXECUTE',':session-annotation',':quit',':driver-takeScreenShot','1095548lQOcCg','sdk:cli:enqueueTestEvent','SDK_OBSERVABILITY_CONFIG','222361LLwWkY','SDK_PRE_INITIALIZE','PRINT_BUILDLINK','5WYuWnX','SDK_DRIVER_INIT','LOCAL_STOP','AFTER',':after',':local-start','sdk:testSessionEvent','SDK_TEST_FRAMEWORK_EVENT','SDK_APP_AUTOMATE',':screenshot'];a120_0xeba9=function(){return _0x39e14d;};return a120_0xeba9();}
1
+ const a120_0x4f8478=a120_0x1c39;(function(_0x5d1065,_0x3cdedf){const _0x4046a4=a120_0x1c39,_0x11aa4d=_0x5d1065();while(!![]){try{const _0x572299=-parseInt(_0x4046a4(0x222))/0x1*(-parseInt(_0x4046a4(0x213))/0x2)+-parseInt(_0x4046a4(0x1e8))/0x3+-parseInt(_0x4046a4(0x1e6))/0x4*(parseInt(_0x4046a4(0x262))/0x5)+-parseInt(_0x4046a4(0x1ed))/0x6+parseInt(_0x4046a4(0x271))/0x7+parseInt(_0x4046a4(0x23f))/0x8*(parseInt(_0x4046a4(0x24b))/0x9)+parseInt(_0x4046a4(0x1ee))/0xa;if(_0x572299===_0x3cdedf)break;else _0x11aa4d['push'](_0x11aa4d['shift']());}catch(_0x272ae1){_0x11aa4d['push'](_0x11aa4d['shift']());}}}(a120_0xae52,0x6efcd));const a120_0x3db425={};a120_0x3db425['SDK_SETUP']=a120_0x4f8478(0x245),a120_0x3db425[a120_0x4f8478(0x21d)]=a120_0x4f8478(0x221),a120_0x3db425['SDK_PRE_TEST']=a120_0x4f8478(0x267),a120_0x3db425['SDK_TEST']='sdk:test',a120_0x3db425[a120_0x4f8478(0x1f9)]=a120_0x4f8478(0x244),a120_0x3db425[a120_0x4f8478(0x233)]=a120_0x4f8478(0x21a),a120_0x3db425['SDK_DRIVER']=a120_0x4f8478(0x22c),a120_0x3db425[a120_0x4f8478(0x26c)]=a120_0x4f8478(0x204),a120_0x3db425[a120_0x4f8478(0x1f4)]=a120_0x4f8478(0x25e),a120_0x3db425[a120_0x4f8478(0x1f8)]=a120_0x4f8478(0x20f),a120_0x3db425[a120_0x4f8478(0x26d)]=a120_0x4f8478(0x21b),a120_0x3db425[a120_0x4f8478(0x25a)]='sdk:testhub',a120_0x3db425['SDK_AUTOMATE']=a120_0x4f8478(0x1f6),a120_0x3db425['SDK_APP_AUTOMATE']='sdk:app-automate',a120_0x3db425[a120_0x4f8478(0x206)]=a120_0x4f8478(0x24d),a120_0x3db425[a120_0x4f8478(0x200)]=a120_0x4f8478(0x22d),a120_0x3db425[a120_0x4f8478(0x1f0)]='sdk:driver:pre-initialization',a120_0x3db425[a120_0x4f8478(0x1fe)]='sdk:driver:post-initialization',a120_0x3db425[a120_0x4f8478(0x25f)]='sdk:cli:start',a120_0x3db425['SDK_CLI_DOWNLOAD']=a120_0x4f8478(0x23e),a120_0x3db425[a120_0x4f8478(0x251)]='sdk:cli:check-update',a120_0x3db425['SDK_CLI_ON_BOOTSTRAP']=a120_0x4f8478(0x24c),a120_0x3db425[a120_0x4f8478(0x256)]=a120_0x4f8478(0x217),a120_0x3db425[a120_0x4f8478(0x1e4)]=a120_0x4f8478(0x210),a120_0x3db425[a120_0x4f8478(0x235)]=a120_0x4f8478(0x26b),a120_0x3db425[a120_0x4f8478(0x257)]=a120_0x4f8478(0x22b),a120_0x3db425[a120_0x4f8478(0x1fd)]=a120_0x4f8478(0x218),a120_0x3db425[a120_0x4f8478(0x225)]=a120_0x4f8478(0x20d),a120_0x3db425[a120_0x4f8478(0x1fb)]=a120_0x4f8478(0x247),a120_0x3db425[a120_0x4f8478(0x260)]='sdk:automationFrameworkStart',a120_0x3db425[a120_0x4f8478(0x243)]=a120_0x4f8478(0x231),a120_0x3db425[a120_0x4f8478(0x226)]=a120_0x4f8478(0x26f),a120_0x3db425[a120_0x4f8478(0x24e)]=a120_0x4f8478(0x1f5),a120_0x3db425[a120_0x4f8478(0x1fa)]=a120_0x4f8478(0x234),a120_0x3db425[a120_0x4f8478(0x224)]='sdk:testFrameworkEvent',a120_0x3db425[a120_0x4f8478(0x241)]='sdk:testSessionEvent',a120_0x3db425[a120_0x4f8478(0x1e5)]='sdk:cli:logCreatedEvent',a120_0x3db425[a120_0x4f8478(0x1ea)]=a120_0x4f8478(0x20e),a120_0x3db425[a120_0x4f8478(0x236)]=a120_0x4f8478(0x1ff),a120_0x3db425[a120_0x4f8478(0x23d)]=a120_0x4f8478(0x269);function a120_0x1c39(_0x26865a,_0x34ca0e){const _0xae5245=a120_0xae52();return a120_0x1c39=function(_0x1c392f,_0x15a13b){_0x1c392f=_0x1c392f-0x1e4;let _0x1c8ba2=_0xae5245[_0x1c392f];return _0x1c8ba2;},a120_0x1c39(_0x26865a,_0x34ca0e);}const SDK_EVENTS=a120_0x3db425,a120_0x279e32={};function a120_0xae52(){const _0x390fa1=['sdk:automate',':stop','SDK_AUTO_CAPTURE','SDK_POST_TEST','SDK_AI_SELF_HEAL_GET_RESULT','SDK_AUTOMATION_FRAMEWORK_INIT','GET','SDK_DRIVER_INIT','SDK_POST_INITIALIZE','sdk:automationFrameworkStop','SDK_PERCY',':keep-alive','LOCAL_START',':before-each','sdk:a11y','SESSION_NAME','SDK_TURBOSCALE',':auto-capture',':get-accessibility-results','SNAPSHOT',':driver-performscan',':before','START','sdk:findNearestHub','sdk:cli:enqueueTestEvent','sdk:auto-capture','sdk:cli:on-stop',':app-upload','BEFORE_ALL','788388pPOdgM','QUIT','HOOK_EVENTS','SAVE_RESULTS','sdk:cli:on-connect','sdk:driverInit',':screenshot-app','sdk:hook','sdk:proxy-setup',':snapshot','SDK_CLEANUP',':local-start','DRIVER_EVENT','SDK_AUTOMATE','sdk:cleanup','2ZtpWcG','DRIVER_MANAGE','SDK_TEST_FRAMEWORK_EVENT','SDK_FIND_NEAREST_HUB','SDK_OBSERVABILITY_CONFIG',':print-buildlink',':screenshot','TESTHUB_EVENTS',':driver-manage','sdk:connectBinSession','sdk:driver','sdk:percy','EVENTS',':after-all','AUTO_CAPTURE','sdk:accessibilityConfig','POST_EXECUTE','SDK_HOOK','sdk:aiSelfHealGetResult','SDK_START_BIN_SESSION','SDK_AUTOMATION_FRAMEWORK_STOP','AUTOMATE_EVENTS','PRE_EXECUTE',':save-results','STOP','GENERATE_CI_ARTIFACT','IDLE_TIMEOUT','SDK_ON_STOP','sdk:cli:download','32zyjXvR','GET_RESULTS_SUMMARY','SDK_TEST_SESSION_EVENT','LOCAL_STOP','SDK_ACCESSIBILITY_CONFIG','sdk:post-test','sdk:setup','SYNC','sdk:automationFrameworkInit',':ci-artifacts','SDK_DRIVER',':pre-execute','546876cxjMRK','sdk:cli:on-bootstrap','sdk:turboscale','SDK_AI_SELF_HEAL_STEP','AFTER','SESSION_ANNOTATION','SDK_CLI_CHECK_UPDATE','PRINT_BUILDLINK','PERCY_EVENTS','HUB_MANAGEMENT','BEFORE','SDK_CLI_ON_CONNECT','SDK_CONNECT_BIN_SESSION','A11Y_EVENTS',':post-execute','SDK_TESTHUB','SCREENSHOT_APP',':idle-timeout',':local-stop','sdk:o11y','SDK_CLI_START','SDK_AUTOMATION_FRAMEWORK_START',':quit','335wwlKdM',':get-accessibility-results-summary',':session-annotation','DOWNLOAD','APP_AUOTMATE_EVENTS','sdk:pre-test',':session-name','sdk:onStop','TAKE_SCREENSHOT','sdk:startBinSession','SDK_A11Y','SDK_PROXY_SETUP','O11y_EVENTS','sdk:observabilityConfig','TURBOSCALE_EVENTS','1955912iumivg','SDK_CLI_ON_STOP','SDK_CLI_LOG_CREATED_EVENT','52376dcTaxb','SESSION_STATUS','754335ALcbfT',':hub-management','SDK_CLI_ENQUEUE_TEST_EVENT',':after',':start','956058dTKIlN','4318310VPwoRz',':get','SDK_PRE_INITIALIZE',':sync','AFTER_ALL',':download','SDK_O11Y','sdk:aiSelfHealStep'];a120_0xae52=function(){return _0x390fa1;};return a120_0xae52();}a120_0x279e32[a120_0x4f8478(0x22e)]=SDK_EVENTS,a120_0x279e32[a120_0x4f8478(0x229)]={},a120_0x279e32[a120_0x4f8478(0x237)]={},a120_0x279e32[a120_0x4f8478(0x258)]={},a120_0x279e32[a120_0x4f8478(0x253)]={},a120_0x279e32[a120_0x4f8478(0x26e)]={},a120_0x279e32[a120_0x4f8478(0x215)]={},a120_0x279e32[a120_0x4f8478(0x270)]={},a120_0x279e32[a120_0x4f8478(0x266)]={},a120_0x279e32[a120_0x4f8478(0x21f)]={},a120_0x279e32[a120_0x4f8478(0x229)][a120_0x4f8478(0x20c)]=SDK_EVENTS[a120_0x4f8478(0x25a)]+':start',a120_0x279e32[a120_0x4f8478(0x229)][a120_0x4f8478(0x23a)]=SDK_EVENTS[a120_0x4f8478(0x25a)]+a120_0x4f8478(0x1f7),a120_0x279e32[a120_0x4f8478(0x237)]['KEEP_ALIVE']=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x201),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x254)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x4f8478(0x1e9),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x202)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x21e),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x242)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x25d),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x223)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x22a),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x205)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x268),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x1e7)]=SDK_EVENTS['SDK_AUTOMATE']+':session-status',a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x250)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x264),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x23c)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x25c),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x23b)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x4f8478(0x248),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x252)]=SDK_EVENTS[a120_0x4f8478(0x220)]+':print-buildlink',a120_0x279e32[a120_0x4f8478(0x258)]['PERFORM_SCAN']=SDK_EVENTS[a120_0x4f8478(0x26c)]+a120_0x4f8478(0x20a),a120_0x279e32[a120_0x4f8478(0x258)][a120_0x4f8478(0x216)]=SDK_EVENTS[a120_0x4f8478(0x26c)]+a120_0x4f8478(0x239),a120_0x279e32[a120_0x4f8478(0x258)]['GET_RESULTS']=SDK_EVENTS[a120_0x4f8478(0x26c)]+a120_0x4f8478(0x208),a120_0x279e32[a120_0x4f8478(0x258)][a120_0x4f8478(0x240)]=SDK_EVENTS[a120_0x4f8478(0x26c)]+a120_0x4f8478(0x263),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x265)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x1f3),a120_0x279e32[a120_0x4f8478(0x253)]['SCREENSHOT']=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x228),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x20c)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x1ec),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x23a)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x1f7),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x230)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x207),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x209)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x21c),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x25b)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x219),a120_0x279e32[a120_0x4f8478(0x26e)][a120_0x4f8478(0x246)]=SDK_EVENTS[a120_0x4f8478(0x1f4)]+a120_0x4f8478(0x1f1),a120_0x279e32[a120_0x4f8478(0x26e)][a120_0x4f8478(0x26a)]=SDK_EVENTS[a120_0x4f8478(0x1f4)]+':driver-takeScreenShot',a120_0x279e32[a120_0x4f8478(0x26e)]['PRINT_BUILDLINK']=SDK_EVENTS[a120_0x4f8478(0x1f4)]+':print-buildlink',a120_0x279e32[a120_0x4f8478(0x215)]['BEFORE_EACH']=SDK_EVENTS['SDK_HOOK']+a120_0x4f8478(0x203),a120_0x279e32[a120_0x4f8478(0x215)]['AFTER_EACH']=SDK_EVENTS[a120_0x4f8478(0x233)]+':after-each',a120_0x279e32[a120_0x4f8478(0x215)][a120_0x4f8478(0x1f2)]=SDK_EVENTS[a120_0x4f8478(0x233)]+a120_0x4f8478(0x22f),a120_0x279e32[a120_0x4f8478(0x215)][a120_0x4f8478(0x212)]=SDK_EVENTS[a120_0x4f8478(0x233)]+':before-all',a120_0x279e32[a120_0x4f8478(0x215)][a120_0x4f8478(0x255)]=SDK_EVENTS['SDK_HOOK']+a120_0x4f8478(0x20b),a120_0x279e32[a120_0x4f8478(0x215)][a120_0x4f8478(0x24f)]=SDK_EVENTS['SDK_HOOK']+a120_0x4f8478(0x1eb),a120_0x279e32[a120_0x4f8478(0x270)][a120_0x4f8478(0x254)]=SDK_EVENTS[a120_0x4f8478(0x206)]+a120_0x4f8478(0x1e9),a120_0x279e32[a120_0x4f8478(0x270)][a120_0x4f8478(0x252)]=SDK_EVENTS['SDK_TURBOSCALE']+a120_0x4f8478(0x227),a120_0x279e32[a120_0x4f8478(0x266)]['APP_UPLOAD']=SDK_EVENTS['SDK_APP_AUTOMATE']+a120_0x4f8478(0x211),a120_0x279e32[a120_0x4f8478(0x21f)][a120_0x4f8478(0x214)]=SDK_EVENTS['SDK_DRIVER']+a120_0x4f8478(0x261),a120_0x279e32[a120_0x4f8478(0x21f)][a120_0x4f8478(0x1fc)]=SDK_EVENTS[a120_0x4f8478(0x249)]+a120_0x4f8478(0x1ef),a120_0x279e32[a120_0x4f8478(0x21f)][a120_0x4f8478(0x238)]=SDK_EVENTS[a120_0x4f8478(0x249)]+a120_0x4f8478(0x24a),a120_0x279e32[a120_0x4f8478(0x21f)][a120_0x4f8478(0x232)]=SDK_EVENTS[a120_0x4f8478(0x249)]+a120_0x4f8478(0x259),module['exports']=a120_0x279e32;
@@ -1 +1 @@
1
- function a121_0x2a2f(_0x31c160,_0x4ffe04){const _0x5af9c3=a121_0x5af9();return a121_0x2a2f=function(_0x2a2f19,_0x5e9d3b){_0x2a2f19=_0x2a2f19-0x141;let _0x5efef5=_0x5af9c3[_0x2a2f19];return _0x5efef5;},a121_0x2a2f(_0x31c160,_0x4ffe04);}const a121_0x15bd9a=a121_0x2a2f;(function(_0x12d4c5,_0x284b5a){const _0x5f32c3=a121_0x2a2f,_0x5bcc01=_0x12d4c5();while(!![]){try{const _0x1fa3b7=parseInt(_0x5f32c3(0x16d))/0x1*(-parseInt(_0x5f32c3(0x142))/0x2)+-parseInt(_0x5f32c3(0x1a3))/0x3*(parseInt(_0x5f32c3(0x181))/0x4)+parseInt(_0x5f32c3(0x1c1))/0x5*(parseInt(_0x5f32c3(0x1c9))/0x6)+-parseInt(_0x5f32c3(0x1e6))/0x7*(-parseInt(_0x5f32c3(0x175))/0x8)+parseInt(_0x5f32c3(0x1dd))/0x9+-parseInt(_0x5f32c3(0x16c))/0xa+parseInt(_0x5f32c3(0x171))/0xb*(-parseInt(_0x5f32c3(0x168))/0xc);if(_0x1fa3b7===_0x284b5a)break;else _0x5bcc01['push'](_0x5bcc01['shift']());}catch(_0x51a607){_0x5bcc01['push'](_0x5bcc01['shift']());}}}(a121_0x5af9,0xb4121));function a121_0x5af9(){const _0x454062=['vLErP','</tbody></table></body></html>','util','zEjdw','flat','42kgYJNf','WHFGB','stopAndGenerate','HmRsN','calculateTimeFromEvents','jsonReportDirName','Error\x20in\x20writing\x20html\x20','measureWrapper','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','then','</td></tr>','</td><td>','fs/promises','_events','key-metrics.json','icOAO','code','pvKrX','<tr><td>','eMoAo','10184004VdMckt','getCleanedPerfEvents','measures','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','IjJBJ','oDwkP','KIhTR','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','errorReportDirName','7aiptvq','eventsMap','testName','unlink','end','SXOiF','214618ZMYjCC','readdirSync','toString','format','CNvtL','finalizeErrors','Error\x20processing\x20key-metrics.json:\x20%s','PxLpJ','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','jsonReportDirPath','_observer','unlinkSync','vrpTF','UYjjk','_measureEvents','rerPn','measure','message','assign','BROWSERSTACK_SDK_INSTRUMENTATION','buffered','entryType','existsSync','errorReportFileName','entryTypes','push','zolmI','constants','perf_hooks','finalizePerfMeasures','meta','FfqGv','GPKzD','NWrJW','Error\x20while\x20removing\x20files:\x20','PfKKR','YDZsR','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','1607688lhkycT','parse','apply','function','4595340YsugUV','7ZwEgEX','oeYmE','KmTOs','pushPerfMeasures','88LTUEIU','oFSrL','mark','stringify','11559464WVbbiu','cwd','generateJSON','splice','errorFile','wskuh','Error\x20stopping\x20monitoring\x20','TySYZ','false','dirname','resolve','../processHelper','1484RtHJji','XUwVW','xKtXW','Gbewh','__platformCaps','FAmDI','start','disconnect','OqOmN','match','browserStackCwd','debug','appendFileSync','writeFile','rXSXl','map','env','generateHTMLReport','length','captureError','-start','HPEcC','winstonLogger','/error-report-','stack','ThVYQ','twtVK','worker','errors','F_OK','readFileSync','performance-own.html','index','NACNz','4326kLZScE','getEventsFromJSON','_errorEvents','started','concat','isEnabled','all','Error\x20in\x20doing\x20csv\x20operations:\x20','slice','../logger','getPerformance','Performance\x20report\x20is\x20at\x20','observe','info','details','mkdirSync','wAiGi','join','isArray','BcbPX','name','path','\x20for\x20all\x20processes\x20is\x20','performance-report','<h1>Performance\x20Report</h1>','readFile','jsonReportFileName','-end','BtpxU','.json','698965WXmKnB','error-report','duration'];a121_0x5af9=function(){return _0x454062;};return a121_0x5af9();}const fs=require('fs'),fsPromise=require(a121_0x15bd9a(0x1d5)),{performance,PerformanceObserver}=require(a121_0x15bd9a(0x15e)),path=require(a121_0x15bd9a(0x1b8)),util=require(a121_0x15bd9a(0x1c6)),logger=require('../logger')[a121_0x15bd9a(0x197)],{getLogDir}=require(a121_0x15bd9a(0x1ac)),{getProcessId,sleep,debug,getTestName}=require(a121_0x15bd9a(0x180));class PerformanceTester{static [a121_0x15bd9a(0x14c)];static [a121_0x15bd9a(0x1d6)]=[];static [a121_0x15bd9a(0x150)]=[];static ['_errorEvents']=[];static [a121_0x15bd9a(0x1a6)]=![];static [a121_0x15bd9a(0x1ce)]=a121_0x15bd9a(0x1ba);static [a121_0x15bd9a(0x1e5)]=process[a121_0x15bd9a(0x191)][a121_0x15bd9a(0x18b)]?path[a121_0x15bd9a(0x1b4)](process[a121_0x15bd9a(0x191)]['browserStackCwd'],a121_0x15bd9a(0x1c2)):path[a121_0x15bd9a(0x1b4)](process[a121_0x15bd9a(0x176)](),a121_0x15bd9a(0x1c2));static [a121_0x15bd9a(0x159)]=this[a121_0x15bd9a(0x1e5)]+a121_0x15bd9a(0x198)+getProcessId()+a121_0x15bd9a(0x1c0);static [a121_0x15bd9a(0x1b1)]={};static [a121_0x15bd9a(0x1e7)]={};static['startMonitoring'](_0x22014b,_0x4acd45=this[a121_0x15bd9a(0x1e5)]+a121_0x15bd9a(0x198)+getProcessId()+a121_0x15bd9a(0x1c0)){const _0x43378c=a121_0x15bd9a,_0x54116c={'wAiGi':function(_0x58a540,_0xeb545b){return _0x58a540===_0xeb545b;},'NACNz':_0x43378c(0x152),'GPKzD':function(_0x58f2d4){return _0x58f2d4();},'TySYZ':function(_0x1df94c,_0x34c6a5){return _0x1df94c+_0x34c6a5;},'icOAO':_0x43378c(0x1d1),'GqoCF':_0x43378c(0x16b)};try{this[_0x43378c(0x14b)]=path[_0x43378c(0x1b4)](_0x54116c[_0x43378c(0x162)](getLogDir),this[_0x43378c(0x1ce)]),!_0x22014b&&(_0x22014b=this['jsonReportDirPath']+'/performance-report-'+_0x54116c['GPKzD'](getProcessId)+_0x43378c(0x1c0)),!fs[_0x43378c(0x158)](this[_0x43378c(0x14b)])&&fs[_0x43378c(0x1b2)](this['jsonReportDirPath']);}catch(_0x134235){logger['debug'](_0x54116c[_0x43378c(0x17c)](_0x54116c[_0x43378c(0x1d8)],_0x134235));}if(this[_0x43378c(0x1a6)]||!this[_0x43378c(0x1a8)]())return;this[_0x43378c(0x14c)]=new PerformanceObserver(_0x583795=>{_0x583795['getEntries']()['forEach'](_0x373b3e=>{const _0x272028=a121_0x2a2f;if(_0x54116c[_0x272028(0x1b3)](_0x373b3e[_0x272028(0x157)],_0x54116c[_0x272028(0x1a2)])){let _0x12d0f9={};if(_0x373b3e['toJSON'])_0x12d0f9=_0x373b3e['toJSON']();else for(const _0x325404 in _0x373b3e){_0x12d0f9[_0x325404]=_0x373b3e[_0x325404];}this[_0x272028(0x1b1)][_0x373b3e[_0x272028(0x1b7)]]&&(_0x12d0f9=Object[_0x272028(0x154)](_0x12d0f9,this[_0x272028(0x1b1)][_0x373b3e[_0x272028(0x1b7)]])),delete this[_0x272028(0x1b1)][_0x373b3e[_0x272028(0x1b7)]],this['_measureEvents'][_0x272028(0x15b)](_0x12d0f9);}else this[_0x272028(0x1d6)][_0x272028(0x15b)](_0x373b3e);});});const _0x41bbd9={};_0x41bbd9[_0x43378c(0x156)]=!![],_0x41bbd9[_0x43378c(0x15a)]=[_0x54116c['GqoCF'],_0x54116c[_0x43378c(0x1a2)]],this[_0x43378c(0x14c)][_0x43378c(0x1af)](_0x41bbd9),this['started']=!![],this['jsonReportFileName']=_0x22014b,this['errorReportFileName']=_0x4acd45;}static[a121_0x15bd9a(0x1ad)](){return performance;}static['calculateTimeFromEvents'](_0xbb14a1,_0x3a65b5){const _0x2d8b69=a121_0x15bd9a,_0x565a72={};_0x565a72[_0x2d8b69(0x151)]=function(_0x50972a,_0x102081){return _0x50972a+_0x102081;},_0x565a72[_0x2d8b69(0x1e1)]=function(_0xd69cc4,_0x30fde9){return _0xd69cc4||_0x30fde9;},_0x565a72[_0x2d8b69(0x1e3)]=function(_0x2d131b,_0x61005b){return _0x2d131b===_0x61005b;};const _0x13a85a=_0x565a72,_0x1e5cb3={};if(!_0xbb14a1||_0x13a85a[_0x2d8b69(0x1e3)](_0xbb14a1[_0x2d8b69(0x193)],0x0))return;_0xbb14a1[_0x2d8b69(0x190)](_0x303c07=>{const _0x36336a=_0x2d8b69;!_0x1e5cb3[_0x303c07[_0x36336a(0x1b7)]]&&(_0x1e5cb3[_0x303c07[_0x36336a(0x1b7)]]=0x0),_0x1e5cb3[_0x303c07[_0x36336a(0x1b7)]]+=_0x303c07[_0x36336a(0x1c3)];});const _0x47586e=_0x3a65b5['reduce']((_0x3d7347,_0xcd0685)=>{const _0x2a60e7=_0x2d8b69;return _0x13a85a[_0x2a60e7(0x151)](_0x1e5cb3[_0xcd0685],_0x13a85a[_0x2a60e7(0x1e1)](_0x3d7347,0x0));},0x0);return _0x47586e;}static async['calculateTimesFromMultipleFiles'](_0x2bb2b7,_0x4b09e6){const _0x232743=a121_0x15bd9a,_0x4678d0={'twtVK':function(_0x55bdc2,_0x1e3196){return _0x55bdc2+_0x1e3196;},'PfKKR':function(_0x24b615,_0x230c46){return _0x24b615||_0x230c46;},'BtpxU':function(_0x12d37c,_0x3d5ec6){return _0x12d37c===_0x3d5ec6;},'zEjdw':function(_0x302b9e,_0x339c4b){return _0x302b9e(_0x339c4b);}};if(!_0x2bb2b7||_0x4678d0[_0x232743(0x1bf)](_0x2bb2b7[_0x232743(0x193)],0x0))return 0x0;const _0x178689=[];for(const _0x2116b4 of _0x2bb2b7){const _0x1016b9=path[_0x232743(0x1b4)]('.',_0x2116b4);try{const _0x2ce0c5=this[_0x232743(0x1a4)](_0x1016b9);_0x2ce0c5[_0x232743(0x190)](_0x497abc=>{const _0x5224e5=_0x232743;!_0x178689[_0x497abc['name']]&&(_0x178689[_0x497abc[_0x5224e5(0x1b7)]]=0x0),_0x178689[_0x497abc[_0x5224e5(0x1b7)]]+=_0x497abc[_0x5224e5(0x1c3)];});}catch(_0x2a13ef){_0x4678d0[_0x232743(0x1c7)](debug,_0x232743(0x1aa)+_0x2a13ef[_0x232743(0x144)]());}}const _0x405753=_0x4b09e6['reduce']((_0x4a37f4,_0x12dae9)=>{const _0x5b088d=_0x232743;return _0x4678d0[_0x5b088d(0x19b)](_0x178689[_0x12dae9],_0x4678d0[_0x5b088d(0x165)](_0x4a37f4,0x0));},0x0);return _0x4678d0[_0x232743(0x1c7)](debug,'Time\x20for\x20'+_0x4b09e6+_0x232743(0x1b9)+_0x405753),_0x405753;}static[a121_0x15bd9a(0x1a4)](_0x3785f4){const _0x25876a=a121_0x15bd9a;if(_0x3785f4){if(!fs[_0x25876a(0x158)](_0x3785f4))return[];return JSON['parse'](fs['readFileSync'](_0x3785f4)[_0x25876a(0x144)]());}}static async[a121_0x15bd9a(0x1cb)](_0xa9ebfc=a121_0x15bd9a(0x1a0),_0x5a4561=null){const _0x41e038=a121_0x15bd9a,_0x150d19={'OqOmN':function(_0xb0ee92,_0x29d843){return _0xb0ee92(_0x29d843);}};if(!this[_0x41e038(0x1a6)])return;await _0x150d19[_0x41e038(0x189)](sleep,0x1e),this[_0x41e038(0x14c)][_0x41e038(0x188)](),this[_0x41e038(0x1a6)]=![],this[_0x41e038(0x177)](this[_0x41e038(0x1d6)]);const _0x23dbd2=this[_0x41e038(0x192)](this[_0x41e038(0x1d6)]),_0x3cc5a9=path[_0x41e038(0x1b4)](process['cwd'](),_0xa9ebfc);fs[_0x41e038(0x18e)](_0x3cc5a9,_0x23dbd2,_0x4e91ae=>{const _0x54b75d=_0x41e038;if(_0x4e91ae){_0x150d19[_0x54b75d(0x189)](debug,_0x54b75d(0x1cf)+_0x4e91ae[_0x54b75d(0x144)]());return;}_0x150d19['OqOmN'](debug,_0x54b75d(0x1ae)+_0x3cc5a9);});if(_0x5a4561)return this[_0x41e038(0x1cd)](this[_0x41e038(0x1d6)],_0x5a4561);}static[a121_0x15bd9a(0x192)](_0x31f95e){const _0x4bfb39=a121_0x15bd9a,_0x1a7778={};_0x1a7778[_0x4bfb39(0x149)]=_0x4bfb39(0x1e0),_0x1a7778[_0x4bfb39(0x1cc)]=_0x4bfb39(0x1bb),_0x1a7778['azHZw']=_0x4bfb39(0x167),_0x1a7778[_0x4bfb39(0x1b6)]=_0x4bfb39(0x1c5);const _0x61d1f5=_0x1a7778;let _0x81c3e0=_0x61d1f5[_0x4bfb39(0x149)];return _0x81c3e0+=_0x61d1f5['HmRsN'],_0x81c3e0+=_0x61d1f5['azHZw'],_0x31f95e['forEach'](_0x7e1023=>{const _0x26b5a4=_0x4bfb39;_0x81c3e0+=_0x26b5a4(0x1db)+_0x7e1023['name']+_0x26b5a4(0x1d4)+_0x7e1023[_0x26b5a4(0x1c3)]+_0x26b5a4(0x1d3);}),_0x81c3e0+=_0x61d1f5['BcbPX'],_0x81c3e0;}static[a121_0x15bd9a(0x177)](_0x50cf6b){const _0x1dd5c4=a121_0x15bd9a;if(!this[_0x1dd5c4(0x1bd)])return;const _0x328656={};_0x50cf6b[_0x1dd5c4(0x190)](_0x25f473=>{const _0x2d1928=_0x1dd5c4;!_0x328656[_0x25f473[_0x2d1928(0x1b7)]]&&(_0x328656[_0x25f473['name']]=0x0),_0x328656[_0x25f473['name']]+=_0x25f473[_0x2d1928(0x1c3)];});const _0x45ee13=Object['entries'](_0x328656)['map'](([_0xabbe67,_0x503166])=>{const _0x421b86=_0x1dd5c4,_0x4f4268={};return _0x4f4268[_0x421b86(0x1b7)]=_0xabbe67,_0x4f4268[_0x421b86(0x1c3)]=_0x503166,_0x4f4268;});fs['writeFileSync'](this[_0x1dd5c4(0x1bd)],JSON[_0x1dd5c4(0x174)](_0x45ee13));}static[a121_0x15bd9a(0x1a8)](){const _0x32faa7=a121_0x15bd9a,_0x108e38={};_0x108e38['WHFGB']=function(_0x46fdaf,_0x23211e){return _0x46fdaf===_0x23211e;},_0x108e38[_0x32faa7(0x172)]=_0x32faa7(0x17d);const _0x32ef0e=_0x108e38;return!_0x32ef0e[_0x32faa7(0x1ca)](process[_0x32faa7(0x191)][_0x32faa7(0x155)],_0x32ef0e[_0x32faa7(0x172)]);}static[a121_0x15bd9a(0x152)](_0x2a0002,_0x5e3134,_0x4429ce=null,_0x5b8438={},_0x39ed33=null){const _0x20b0b5=a121_0x15bd9a,_0x9d0a77={'dcnrY':function(_0x72ec66,_0x49100e){return _0x72ec66(_0x49100e);},'pyoKN':function(_0x5da526,_0x268a2e){return _0x5da526(_0x268a2e);},'KmTOs':function(_0x12d28f,_0x8afcca){return _0x12d28f instanceof _0x8afcca;}};try{if(this[_0x20b0b5(0x1a6)]&&this['isEnabled']()){let _0x53b708=_0x2a0002;_0x4429ce&&(_0x53b708=_0x2a0002+'['+JSON[_0x20b0b5(0x174)](_0x4429ce)+']');PerformanceTester[_0x20b0b5(0x187)](_0x53b708),this[_0x20b0b5(0x1b1)]&&(this['details'][_0x53b708]=_0x5b8438);try{const _0x562e39=_0x5e3134[_0x20b0b5(0x16a)](null,_0x39ed33);if(_0x9d0a77[_0x20b0b5(0x16f)](_0x562e39,Promise))return new Promise((_0x15a070,_0x16a914)=>{const _0x44f139=_0x20b0b5,_0x186667={'vLErP':function(_0x5d80cf,_0x26a3ef){return _0x9d0a77['pyoKN'](_0x5d80cf,_0x26a3ef);}};_0x562e39[_0x44f139(0x1d2)](_0x46c622=>{const _0x5f386a=_0x44f139;PerformanceTester[_0x5f386a(0x1ea)](_0x53b708),_0x9d0a77['dcnrY'](_0x15a070,_0x46c622);})['catch'](_0x450d3b=>{const _0x1d6934=_0x44f139;PerformanceTester[_0x1d6934(0x1ea)](_0x53b708,![],util[_0x1d6934(0x145)](_0x450d3b)),_0x186667[_0x1d6934(0x1c4)](_0x16a914,_0x450d3b);});});;return PerformanceTester[_0x20b0b5(0x1ea)](_0x53b708),_0x562e39;}catch(_0x55b98d){PerformanceTester[_0x20b0b5(0x1ea)](_0x53b708,![],util[_0x20b0b5(0x145)](_0x55b98d));throw _0x55b98d;}};return _0x5e3134['apply'](null,_0x39ed33);}catch(_0x4458dc){return logger[_0x20b0b5(0x18c)]('error\x20in\x20measure\x20'+(_0x4458dc['stack']||_0x4458dc[_0x20b0b5(0x153)]||_0x4458dc)),_0x5e3134[_0x20b0b5(0x16a)](null,_0x39ed33);}}static[a121_0x15bd9a(0x1d0)](_0x157edd,_0x504cd6,_0x37de14={}){const _0x36e1ac=a121_0x15bd9a,_0x11e00f={'oDwkP':function(_0x2b3330){return _0x2b3330();}},_0x630ec0=this;return _0x37de14[_0x36e1ac(0x19c)]=_0x11e00f[_0x36e1ac(0x1e2)](getProcessId),_0x37de14[_0x36e1ac(0x1e8)]=_0x11e00f[_0x36e1ac(0x1e2)](getTestName),_0x37de14['platform']=global[_0x36e1ac(0x185)]&&global[_0x36e1ac(0x185)][_0x36e1ac(0x1a1)],function(){const _0x4ab3d5=_0x36e1ac,_0x4f767d=[_0x157edd,_0x504cd6,null,_0x37de14][_0x4ab3d5(0x1a7)](arguments);return _0x630ec0[_0x4ab3d5(0x152)][_0x4ab3d5(0x16a)](_0x630ec0,_0x4f767d);};}static[a121_0x15bd9a(0x1de)](){const _0x57f7e9=a121_0x15bd9a,_0x4c84c4=/(^.*)\[(.*)\]$/,_0x317869={},_0x52d6f0={},_0x377118=[],_0xf0659b=this[_0x57f7e9(0x150)][_0x57f7e9(0x178)](0x0,this['_measureEvents']['length']);for(const _0x2bcabc of _0xf0659b){const _0x57943d=_0x2bcabc[_0x57f7e9(0x1b7)][_0x57f7e9(0x18a)](_0x4c84c4),_0x131195=Object['assign']({},_0x2bcabc);_0x57943d&&(_0x131195['name']=_0x57943d[0x1],_0x131195[_0x57f7e9(0x160)]=JSON[_0x57f7e9(0x169)](_0x57943d[0x2])),_0x377118[_0x57f7e9(0x15b)](_0x131195);}return _0x377118;}static[a121_0x15bd9a(0x170)](){const _0x50fe85=a121_0x15bd9a,_0x1da9ef={'ThVYQ':function(_0x91a849){return _0x91a849();},'NWrJW':function(_0x4d14ed,_0x2a7d40){return _0x4d14ed+_0x2a7d40;},'NYHWN':_0x50fe85(0x164),'SXOiF':function(_0xb34fb9,_0x168976){return _0xb34fb9===_0x168976;}};try{this[_0x50fe85(0x14b)]=path[_0x50fe85(0x1b4)](_0x1da9ef[_0x50fe85(0x19a)](getLogDir),this[_0x50fe85(0x1ce)]);if(fs[_0x50fe85(0x158)](this['jsonReportDirPath'])){const _0x11e48c=fs[_0x50fe85(0x143)](this[_0x50fe85(0x14b)]);for(const _0x263c7b of _0x11e48c){fs[_0x50fe85(0x14d)](path[_0x50fe85(0x1b4)](this['jsonReportDirPath'],_0x263c7b));}}}catch(_0x5bae64){logger['debug'](_0x1da9ef['NWrJW'](_0x1da9ef['NYHWN'],_0x5bae64));}if(_0x1da9ef[_0x50fe85(0x141)](this['_measureEvents'][_0x50fe85(0x193)],0x0))return;const _0x2c1ae6=this[_0x50fe85(0x1de)](),_0xcb9602=JSON[_0x50fe85(0x174)](_0x2c1ae6),_0x4f218e=_0x1da9ef[_0x50fe85(0x163)](_0xcb9602[_0x50fe85(0x1ab)](0x1,-0x1),',');fs[_0x50fe85(0x18d)](this['jsonReportFileName'],_0x4f218e);}static async['finalizePerfMeasures'](){const _0xa528ff=a121_0x15bd9a,_0x8a4366={'FAmDI':function(_0x3c01b3){return _0x3c01b3();},'vrpTF':function(_0x99e0db,_0x212356){return _0x99e0db===_0x212356;},'XUwVW':_0xa528ff(0x1d7),'LpeWU':'utf-8','uXIQT':'modified-key-metrics.json','xKtXW':function(_0x28d1d2,_0xa4733d){return _0x28d1d2+_0xa4733d;},'hnaiS':function(_0x448bab,_0x43b9ee){return _0x448bab+_0x43b9ee;},'FfqGv':_0xa528ff(0x148),'CNvtL':_0xa528ff(0x14a),'YDZsR':_0xa528ff(0x1e4),'gfhHf':function(_0x13f6cf,_0x57e41d){return _0x13f6cf>_0x57e41d;}};this[_0xa528ff(0x14b)]=path['join'](_0x8a4366[_0xa528ff(0x186)](getLogDir),this['jsonReportDirName']);if(!this[_0xa528ff(0x1a6)]||_0x8a4366[_0xa528ff(0x14e)](this[_0xa528ff(0x150)]['length'],0x0))return[];if(!fs[_0xa528ff(0x158)](this[_0xa528ff(0x14b)]))return this[_0xa528ff(0x150)];const _0x5f38c4=(await fsPromise['readdir'](this[_0xa528ff(0x14b)]))[_0xa528ff(0x190)](_0x1dedab=>path[_0xa528ff(0x17f)](this[_0xa528ff(0x14b)],_0x1dedab));try{const _0xc37f5e=path[_0xa528ff(0x17e)](this[_0xa528ff(0x14b)]),_0x3f6cc9=path[_0xa528ff(0x1b4)](_0xc37f5e,_0x8a4366[_0xa528ff(0x182)]);if(fs['existsSync'](_0x3f6cc9))try{await fsPromise['access'](_0x3f6cc9,fs[_0xa528ff(0x15d)][_0xa528ff(0x19e)]);const _0x34a166=await fsPromise[_0xa528ff(0x1bc)](_0x3f6cc9,_0x8a4366['LpeWU']),_0x12a8e3=JSON['parse'](_0x34a166),_0x5ac3a8=path['join'](this[_0xa528ff(0x14b)],_0x8a4366['uXIQT']);let _0x336c20='';Array[_0xa528ff(0x1b5)](_0x12a8e3)?_0x336c20=_0x8a4366[_0xa528ff(0x183)](_0x12a8e3[_0xa528ff(0x190)](_0xf99249=>JSON[_0xa528ff(0x174)](_0xf99249))['join'](','),','):_0x336c20=_0x8a4366['hnaiS'](JSON[_0xa528ff(0x174)](_0x12a8e3),','),await fsPromise[_0xa528ff(0x18e)](_0x5ac3a8,_0x336c20),_0x5f38c4[_0xa528ff(0x15b)](_0x5ac3a8),await fsPromise[_0xa528ff(0x1e9)](_0x3f6cc9);}catch(_0x491bbe){logger['info'](util[_0xa528ff(0x145)](_0x8a4366[_0xa528ff(0x161)],_0x491bbe[_0xa528ff(0x199)]||_0x491bbe[_0xa528ff(0x153)]||_0x491bbe));}else logger[_0xa528ff(0x1b0)](_0x8a4366[_0xa528ff(0x146)]);}catch(_0x178776){logger['info'](util['format'](_0x8a4366[_0xa528ff(0x166)],_0x178776[_0xa528ff(0x199)]||_0x178776[_0xa528ff(0x153)]||_0x178776));}let _0x5a4b29=(await Promise[_0xa528ff(0x1a9)](_0x5f38c4[_0xa528ff(0x190)](_0x2f34f9=>fsPromise[_0xa528ff(0x1bc)](_0x2f34f9,'utf-8'))))['map'](_0x589e5c=>'['+_0x589e5c[_0xa528ff(0x1ab)](0x0,-0x1)+']')[_0xa528ff(0x190)](_0x1f9660=>JSON[_0xa528ff(0x169)](_0x1f9660))[_0xa528ff(0x1c8)]();return _0x8a4366['gfhHf'](this[_0xa528ff(0x150)][_0xa528ff(0x193)],0x0)&&(_0x5a4b29=_0x5a4b29['concat'](this[_0xa528ff(0x1de)]())),this[_0xa528ff(0x14c)]['disconnect'](),_0x5a4b29;}static['pushErrors'](){const _0x37b3db=a121_0x15bd9a,_0x44c4fa={};_0x44c4fa[_0x37b3db(0x196)]=function(_0x15bdeb,_0x337b6f){return _0x15bdeb===_0x337b6f;},_0x44c4fa['rXSXl']=function(_0x19c501,_0x94fa54){return _0x19c501+_0x94fa54;};const _0xbdae8e=_0x44c4fa;if(_0xbdae8e[_0x37b3db(0x196)](this['_errorEvents'][_0x37b3db(0x193)],0x0))return;const _0x4161ae=JSON[_0x37b3db(0x174)](this[_0x37b3db(0x1a5)]),_0x2b857f=_0xbdae8e[_0x37b3db(0x18f)](_0x4161ae[_0x37b3db(0x1ab)](0x1,-0x1),',');fs[_0x37b3db(0x18d)](this[_0x37b3db(0x179)],_0x2b857f);}static[a121_0x15bd9a(0x147)](){const _0x3c4831=a121_0x15bd9a,_0x42f0d9={};_0x42f0d9['UYjjk']=function(_0x521522,_0x38bc82){return _0x521522>_0x38bc82;};const _0x202250=_0x42f0d9;if(this[_0x3c4831(0x159)]){if(!fs[_0x3c4831(0x158)](this[_0x3c4831(0x159)]))return this[_0x3c4831(0x1a5)];let _0x140374=fs[_0x3c4831(0x19f)](this[_0x3c4831(0x159)])['toString']();_0x140374='['+_0x140374[_0x3c4831(0x1ab)](0x0,-0x1)+']';let _0x4f180e=JSON['parse'](_0x140374);return _0x202250[_0x3c4831(0x14f)](this[_0x3c4831(0x1a5)][_0x3c4831(0x193)],0x0)&&(_0x4f180e=_0x4f180e[_0x3c4831(0x1a7)](this['_errorEvents'])),fs[_0x3c4831(0x14d)](this[_0x3c4831(0x159)]),_0x4f180e;}}static[a121_0x15bd9a(0x194)](_0x1cac60){const _0x4c396c=a121_0x15bd9a;if(!this['isEnabled']())return;this[_0x4c396c(0x1a5)][_0x4c396c(0x15b)]({'message':_0x1cac60[_0x4c396c(0x153)],'trace':_0x1cac60['stack'],'code':_0x1cac60[_0x4c396c(0x1d9)]||null,'time':new Date()});}static['stopMonitoring'](){const _0x34f839=a121_0x15bd9a;try{if(!this[_0x34f839(0x1a8)]())return;this[_0x34f839(0x14c)][_0x34f839(0x188)](),this[_0x34f839(0x170)](),this['pushErrors']();}catch(_0x3cd09d){logger[_0x34f839(0x18c)](_0x34f839(0x17b)+util[_0x34f839(0x145)](_0x3cd09d));}}static async['finalize'](){const _0x2c80a0=a121_0x15bd9a,_0x1bde7c={'zolmI':function(_0x31edc4,_0x198eb3){return _0x31edc4(_0x198eb3);}};await _0x1bde7c[_0x2c80a0(0x15c)](sleep,0x1e);const _0x4c2b1c=await this[_0x2c80a0(0x15f)](),_0x5a5c24=this['finalizeErrors']();if(!this[_0x2c80a0(0x1a8)]()){const _0x4e67f4={};return _0x4e67f4[_0x2c80a0(0x1df)]=[],_0x4e67f4[_0x2c80a0(0x19d)]=[],_0x4e67f4;}const _0x3cbbfe={};return _0x3cbbfe[_0x2c80a0(0x1df)]=_0x4c2b1c,_0x3cbbfe[_0x2c80a0(0x19d)]=_0x5a5c24,_0x3cbbfe;}static[a121_0x15bd9a(0x187)](_0x30653f){const _0x4365c3=a121_0x15bd9a,_0x3f7626={};_0x3f7626[_0x4365c3(0x16e)]=function(_0x7a3b5f,_0xe38095){return _0x7a3b5f+_0xe38095;},_0x3f7626[_0x4365c3(0x1dc)]=_0x4365c3(0x195);const _0x2fda02=_0x3f7626,_0xda5329=_0x2fda02[_0x4365c3(0x16e)](_0x30653f,_0x2fda02['eMoAo']);if(this[_0x4365c3(0x1e7)][_0xda5329])return;performance[_0x4365c3(0x173)](_0xda5329),this[_0x4365c3(0x1e7)][_0xda5329]=0x1;}static[a121_0x15bd9a(0x1ea)](_0x2df183,_0xa1df75=!![],_0x510e44=null,_0xe76c82={}){const _0x39fe45=a121_0x15bd9a,_0x35a411={'xIUnK':function(_0x2cc52d,_0x3aae3e){return _0x2cc52d+_0x3aae3e;},'cvGKh':_0x39fe45(0x1be),'OGVRU':function(_0x4f983e,_0x299f1f){return _0x4f983e+_0x299f1f;},'Gbewh':_0x39fe45(0x195),'wskuh':function(_0xc036ad,_0x5e51af){return _0xc036ad+_0x5e51af;},'jwpss':function(_0x2c9466){return _0x2c9466();},'pvKrX':function(_0x989324){return _0x989324();}};performance[_0x39fe45(0x173)](_0x35a411['xIUnK'](_0x2df183,_0x35a411['cvGKh'])),performance[_0x39fe45(0x152)](_0x2df183,_0x35a411['OGVRU'](_0x2df183,_0x35a411[_0x39fe45(0x184)]),_0x35a411[_0x39fe45(0x17a)](_0x2df183,_0x35a411['cvGKh']));const _0x32c6bd={};_0x32c6bd['success']=_0xa1df75,_0x32c6bd['failure']=_0x510e44,this[_0x39fe45(0x1b1)][_0x2df183]=Object[_0x39fe45(0x154)](_0x32c6bd,Object[_0x39fe45(0x154)](Object[_0x39fe45(0x154)]({'worker':_0x35a411['jwpss'](getProcessId),'platform':global['__platformCaps']&&global[_0x39fe45(0x185)]['index'],'testName':_0x35a411[_0x39fe45(0x1da)](getTestName)},_0xe76c82),this[_0x39fe45(0x1b1)][_0x2df183]||{}));}}module['exports']=PerformanceTester;
1
+ function a121_0x1ce6(){const _0x4f0458=['eFLTN','IuWGK','gYiGF','cgNDC','diwhB','9576fKgegO','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','Ldikh','eventsMap','forEach','apply','stringify','ycsOo','message','BjsjM','__platformCaps','mark','-end','modified-key-metrics.json','writeFile','/error-report-','_errorEvents','BROWSERSTACK_SDK_INSTRUMENTATION','assign','319Rqsjxo','SNwWI','length','duration','constants','concat','index','Error\x20while\x20removing\x20files:\x20','error\x20in\x20measure\x20','end','_events','dFstz','fs/promises','<h1>Performance\x20Report</h1>','IqfQX','8469wBEmJh','env','existsSync','fZfyx','measureWrapper','92472rxsuuI','code','worker','debug','\x20for\x20all\x20processes\x20is\x20','resolve','dirname','gyGIf','xmDep','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','generateHTMLReport','getEventsFromJSON','push','7214506ALwxVK','11pSKGvX','mkdirSync','117992qFUkRF','658yPcuVG','899996gEUKKh','start','appendFileSync','vkjEA','</td></tr>','cwd','365OxmdrC','_observer','qumYK','tJqNV','BZTdU','errors','startMonitoring','xmjjq','Performance\x20report\x20is\x20at\x20','success','measures','.json','OQCEr','JySiG','name','Abzmj','failure','function','stopAndGenerate','_measureEvents','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','stopMonitoring','match','-start','reduce','slice','ytzvz','started','pushErrors','ltxcn','writeFileSync','all','toJSON','join','VSYBV','XgVUB','MrCxu','gafLp','splice','jsonReportDirName','generateJSON','oflQH','F_OK','KKyQW','observe','calculateTimeFromEvents','jsonReportFileName','../logger','TTATh','isEnabled','WGrvd','info','error-report','CYagN','qAEgc','format','OHHVE','OjgkA','qvdOn','entryTypes','194852yEOcgX','utf-8','finalizeErrors','map','unlink','iLjpo','hnxWJ','errorReportFileName','toString','jEhGC','parse','/performance-report-','pushPerfMeasures','1330kCrvYk','testName','platform','FGACU','winstonLogger','12LDfJye','readFileSync','captureError','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','Error\x20processing\x20key-metrics.json:\x20%s','disconnect','util','browserStackCwd','readFile','Time\x20for\x20','key-metrics.json','path','ZXPPd','performance-report','jsonReportDirPath','urlyZ','errorReportDirName','measure','stack','getEntries','rihbr','details','<tr><td>','flat','getCleanedPerfEvents','Hkepk','meta','finalizePerfMeasures'];a121_0x1ce6=function(){return _0x4f0458;};return a121_0x1ce6();}function a121_0x7e00(_0x2a754f,_0x351d8d){const _0x1ce6e6=a121_0x1ce6();return a121_0x7e00=function(_0x7e0063,_0x195f6b){_0x7e0063=_0x7e0063-0xca;let _0x1c1532=_0x1ce6e6[_0x7e0063];return _0x1c1532;},a121_0x7e00(_0x2a754f,_0x351d8d);}const a121_0x3f8c87=a121_0x7e00;(function(_0x1e2616,_0x2e90bb){const _0x5211f0=a121_0x7e00,_0x44ce61=_0x1e2616();while(!![]){try{const _0x22bec5=-parseInt(_0x5211f0(0xfd))/0x1*(parseInt(_0x5211f0(0x143))/0x2)+parseInt(_0x5211f0(0x155))/0x3*(parseInt(_0x5211f0(0x101))/0x4)+-parseInt(_0x5211f0(0x107))/0x5*(parseInt(_0x5211f0(0x176))/0x6)+parseInt(_0x5211f0(0x100))/0x7*(parseInt(_0x5211f0(0xff))/0x8)+parseInt(_0x5211f0(0xe9))/0x9*(parseInt(_0x5211f0(0x150))/0xa)+parseInt(_0x5211f0(0xda))/0xb*(parseInt(_0x5211f0(0xee))/0xc)+-parseInt(_0x5211f0(0xfc))/0xd;if(_0x22bec5===_0x2e90bb)break;else _0x44ce61['push'](_0x44ce61['shift']());}catch(_0x5b1229){_0x44ce61['push'](_0x44ce61['shift']());}}}(a121_0x1ce6,0xd9be1));const fs=require('fs'),fsPromise=require(a121_0x3f8c87(0xe6)),{performance,PerformanceObserver}=require('perf_hooks'),path=require(a121_0x3f8c87(0x160)),util=require(a121_0x3f8c87(0x15b)),logger=require(a121_0x3f8c87(0x136))[a121_0x3f8c87(0x154)],{getLogDir}=require(a121_0x3f8c87(0x136)),{getProcessId,sleep,debug,getTestName}=require('../processHelper');class PerformanceTester{static [a121_0x3f8c87(0x108)];static [a121_0x3f8c87(0xe4)]=[];static [a121_0x3f8c87(0x11a)]=[];static [a121_0x3f8c87(0xd7)]=[];static [a121_0x3f8c87(0x122)]=![];static [a121_0x3f8c87(0x12e)]=a121_0x3f8c87(0x162);static ['errorReportDirName']=process['env'][a121_0x3f8c87(0x15c)]?path['join'](process[a121_0x3f8c87(0xea)][a121_0x3f8c87(0x15c)],a121_0x3f8c87(0x13b)):path[a121_0x3f8c87(0x128)](process['cwd'](),'error-report');static [a121_0x3f8c87(0x14a)]=this['errorReportDirName']+a121_0x3f8c87(0xd6)+getProcessId()+a121_0x3f8c87(0x112);static ['details']={};static [a121_0x3f8c87(0xca)]={};static[a121_0x3f8c87(0x10d)](_0x350ac9,_0x44cf75=this[a121_0x3f8c87(0x165)]+a121_0x3f8c87(0xd6)+getProcessId()+a121_0x3f8c87(0x112)){const _0x6beac9=a121_0x3f8c87,_0x56b30e={'SNwWI':function(_0x1c8149,_0x190f76){return _0x1c8149===_0x190f76;},'CYagN':_0x6beac9(0x166),'iSYKZ':function(_0xfe1948){return _0xfe1948();},'IuWGK':function(_0x5adebb){return _0x5adebb();},'JySiG':function(_0x44de90,_0x2102f8){return _0x44de90+_0x2102f8;},'gyGIf':_0x6beac9(0x11b),'dKZzD':_0x6beac9(0x118)};try{this[_0x6beac9(0x163)]=path[_0x6beac9(0x128)](_0x56b30e['iSYKZ'](getLogDir),this[_0x6beac9(0x12e)]),!_0x350ac9&&(_0x350ac9=this[_0x6beac9(0x163)]+_0x6beac9(0x14e)+_0x56b30e[_0x6beac9(0x172)](getProcessId)+_0x6beac9(0x112)),!fs[_0x6beac9(0xeb)](this['jsonReportDirPath'])&&fs[_0x6beac9(0xfe)](this['jsonReportDirPath']);}catch(_0x1c7cc2){logger[_0x6beac9(0xf1)](_0x56b30e[_0x6beac9(0x114)](_0x56b30e[_0x6beac9(0xf5)],_0x1c7cc2));}if(this['started']||!this['isEnabled']())return;this['_observer']=new PerformanceObserver(_0x53d4f7=>{const _0x3e8437=_0x6beac9;_0x53d4f7[_0x3e8437(0x168)]()[_0x3e8437(0xcb)](_0x169f95=>{const _0x3cc64e=_0x3e8437;if(_0x56b30e[_0x3cc64e(0xdb)](_0x169f95['entryType'],_0x56b30e[_0x3cc64e(0x13c)])){let _0x5cfbbb={};if(_0x169f95[_0x3cc64e(0x127)])_0x5cfbbb=_0x169f95[_0x3cc64e(0x127)]();else for(const _0x5acbaa in _0x169f95){_0x5cfbbb[_0x5acbaa]=_0x169f95[_0x5acbaa];}this['details'][_0x169f95['name']]&&(_0x5cfbbb=Object[_0x3cc64e(0xd9)](_0x5cfbbb,this[_0x3cc64e(0x16a)][_0x169f95[_0x3cc64e(0x115)]])),delete this[_0x3cc64e(0x16a)][_0x169f95[_0x3cc64e(0x115)]],this[_0x3cc64e(0x11a)]['push'](_0x5cfbbb);}else this[_0x3cc64e(0xe4)][_0x3cc64e(0xfb)](_0x169f95);});});const _0x4020ab={};_0x4020ab['buffered']=!![],_0x4020ab[_0x6beac9(0x142)]=[_0x56b30e['dKZzD'],_0x56b30e[_0x6beac9(0x13c)]],this[_0x6beac9(0x108)][_0x6beac9(0x133)](_0x4020ab),this['started']=!![],this[_0x6beac9(0x135)]=_0x350ac9,this[_0x6beac9(0x14a)]=_0x44cf75;}static['getPerformance'](){return performance;}static[a121_0x3f8c87(0x134)](_0xacb994,_0x5a1fa8){const _0x118ede=a121_0x3f8c87,_0x480c14={};_0x480c14[_0x118ede(0x121)]=function(_0x2814c2,_0x30a647){return _0x2814c2+_0x30a647;},_0x480c14[_0x118ede(0x10b)]=function(_0x46514c,_0x598736){return _0x46514c||_0x598736;},_0x480c14[_0x118ede(0x137)]=function(_0x4fa71b,_0x513920){return _0x4fa71b===_0x513920;};const _0x9052cf=_0x480c14,_0x40270a={};if(!_0xacb994||_0x9052cf['TTATh'](_0xacb994[_0x118ede(0xdc)],0x0))return;_0xacb994[_0x118ede(0x146)](_0x3ee70a=>{const _0x5e1c34=_0x118ede;!_0x40270a[_0x3ee70a[_0x5e1c34(0x115)]]&&(_0x40270a[_0x3ee70a[_0x5e1c34(0x115)]]=0x0),_0x40270a[_0x3ee70a['name']]+=_0x3ee70a[_0x5e1c34(0xdd)];});const _0x13fdd8=_0x5a1fa8[_0x118ede(0x11f)]((_0x36caac,_0x2197bc)=>{const _0x322107=_0x118ede;return _0x9052cf['ytzvz'](_0x40270a[_0x2197bc],_0x9052cf[_0x322107(0x10b)](_0x36caac,0x0));},0x0);return _0x13fdd8;}static async['calculateTimesFromMultipleFiles'](_0x56716d,_0x232b1c){const _0x5be3ef=a121_0x3f8c87,_0x22772a={'ZXPPd':function(_0x5ca7ba,_0x41b3c8){return _0x5ca7ba+_0x41b3c8;},'HVFNM':function(_0x16ffbe,_0xa0344d){return _0x16ffbe||_0xa0344d;},'diwhB':function(_0x29bbe6,_0x5cd274){return _0x29bbe6===_0x5cd274;},'xmjjq':function(_0x56630b,_0xb5adbb){return _0x56630b(_0xb5adbb);}};if(!_0x56716d||_0x22772a[_0x5be3ef(0x175)](_0x56716d[_0x5be3ef(0xdc)],0x0))return 0x0;const _0x48be86=[];for(const _0x50f473 of _0x56716d){const _0x138379=path[_0x5be3ef(0x128)]('.',_0x50f473);try{const _0x342c22=this[_0x5be3ef(0xfa)](_0x138379);_0x342c22[_0x5be3ef(0x146)](_0x5987c0=>{const _0x15a32b=_0x5be3ef;!_0x48be86[_0x5987c0['name']]&&(_0x48be86[_0x5987c0[_0x15a32b(0x115)]]=0x0),_0x48be86[_0x5987c0[_0x15a32b(0x115)]]+=_0x5987c0['duration'];});}catch(_0xe9c157){_0x22772a[_0x5be3ef(0x10e)](debug,'Error\x20in\x20doing\x20csv\x20operations:\x20'+_0xe9c157['toString']());}}const _0x20766c=_0x232b1c[_0x5be3ef(0x11f)]((_0x5ddbd7,_0x103da3)=>{const _0x13e656=_0x5be3ef;return _0x22772a[_0x13e656(0x161)](_0x48be86[_0x103da3],_0x22772a['HVFNM'](_0x5ddbd7,0x0));},0x0);return _0x22772a[_0x5be3ef(0x10e)](debug,_0x5be3ef(0x15e)+_0x232b1c+_0x5be3ef(0xf2)+_0x20766c),_0x20766c;}static[a121_0x3f8c87(0xfa)](_0x2cf15b){const _0x227b87=a121_0x3f8c87;if(_0x2cf15b){if(!fs['existsSync'](_0x2cf15b))return[];return JSON[_0x227b87(0x14d)](fs[_0x227b87(0x156)](_0x2cf15b)[_0x227b87(0x14b)]());}}static async[a121_0x3f8c87(0x119)](_0x1b161d='performance-own.html',_0x12eb7f=null){const _0x119dee=a121_0x3f8c87,_0x1f94ed={'KKyQW':function(_0x26d249,_0x548f3d){return _0x26d249(_0x548f3d);}};if(!this[_0x119dee(0x122)])return;await _0x1f94ed[_0x119dee(0x132)](sleep,0x1e),this['_observer'][_0x119dee(0x15a)](),this[_0x119dee(0x122)]=![],this[_0x119dee(0x12f)](this[_0x119dee(0xe4)]);const _0x86aca4=this['generateHTMLReport'](this[_0x119dee(0xe4)]),_0x1acc2b=path[_0x119dee(0x128)](process[_0x119dee(0x106)](),_0x1b161d);fs[_0x119dee(0xd5)](_0x1acc2b,_0x86aca4,_0x2bf2b7=>{const _0x3b3317=_0x119dee;if(_0x2bf2b7){_0x1f94ed[_0x3b3317(0x132)](debug,'Error\x20in\x20writing\x20html\x20'+_0x2bf2b7['toString']());return;}_0x1f94ed[_0x3b3317(0x132)](debug,_0x3b3317(0x10f)+_0x1acc2b);});if(_0x12eb7f)return this[_0x119dee(0x134)](this[_0x119dee(0xe4)],_0x12eb7f);}static[a121_0x3f8c87(0xf9)](_0x586dda){const _0x1a85f6=a121_0x3f8c87,_0x57f5cc={};_0x57f5cc[_0x1a85f6(0x12b)]=_0x1a85f6(0xf7),_0x57f5cc[_0x1a85f6(0xd0)]=_0x1a85f6(0xe7),_0x57f5cc[_0x1a85f6(0xce)]=_0x1a85f6(0x177),_0x57f5cc[_0x1a85f6(0x139)]='</tbody></table></body></html>';const _0x5c4cfd=_0x57f5cc;let _0x54f918=_0x5c4cfd[_0x1a85f6(0x12b)];return _0x54f918+=_0x5c4cfd[_0x1a85f6(0xd0)],_0x54f918+=_0x5c4cfd[_0x1a85f6(0xce)],_0x586dda[_0x1a85f6(0xcb)](_0xfda936=>{const _0x397b4f=_0x1a85f6;_0x54f918+=_0x397b4f(0x16b)+_0xfda936[_0x397b4f(0x115)]+'</td><td>'+_0xfda936[_0x397b4f(0xdd)]+_0x397b4f(0x105);}),_0x54f918+=_0x5c4cfd[_0x1a85f6(0x139)],_0x54f918;}static['generateJSON'](_0x5e1ec7){const _0x1d38c6=a121_0x3f8c87;if(!this['jsonReportFileName'])return;const _0x13ac57={};_0x5e1ec7['map'](_0x9b76e5=>{const _0x535517=a121_0x7e00;!_0x13ac57[_0x9b76e5[_0x535517(0x115)]]&&(_0x13ac57[_0x9b76e5[_0x535517(0x115)]]=0x0),_0x13ac57[_0x9b76e5[_0x535517(0x115)]]+=_0x9b76e5['duration'];});const _0x3d8272=Object['entries'](_0x13ac57)[_0x1d38c6(0x146)](([_0x20bead,_0x22e381])=>{const _0x5ed8a1=_0x1d38c6,_0x41d096={};return _0x41d096[_0x5ed8a1(0x115)]=_0x20bead,_0x41d096['duration']=_0x22e381,_0x41d096;});fs[_0x1d38c6(0x125)](this['jsonReportFileName'],JSON[_0x1d38c6(0xcd)](_0x3d8272));}static[a121_0x3f8c87(0x138)](){const _0x51cf8c=a121_0x3f8c87,_0x5d7c1a={};_0x5d7c1a['cgNDC']=function(_0x4787a4,_0x221dab){return _0x4787a4===_0x221dab;},_0x5d7c1a[_0x51cf8c(0x173)]='false';const _0x4d1bd1=_0x5d7c1a;return!_0x4d1bd1[_0x51cf8c(0x174)](process[_0x51cf8c(0xea)][_0x51cf8c(0xd8)],_0x4d1bd1[_0x51cf8c(0x173)]);}static['measure'](_0x2b592b,_0x32ddf4,_0x3eeb8c=null,_0x36bd20={},_0x2010d2=null){const _0x504188=a121_0x3f8c87,_0x11f67f={'dFstz':function(_0x12fa49,_0x196072){return _0x12fa49(_0x196072);},'gafLp':function(_0x10c205,_0x402746){return _0x10c205 instanceof _0x402746;}};try{if(this['started']&&this['isEnabled']()){let _0x40eb65=_0x2b592b;_0x3eeb8c&&(_0x40eb65=_0x2b592b+'['+JSON[_0x504188(0xcd)](_0x3eeb8c)+']');PerformanceTester[_0x504188(0x102)](_0x40eb65),this['details']&&(this['details'][_0x40eb65]=_0x36bd20);try{const _0x4b9527=_0x32ddf4[_0x504188(0xcc)](null,_0x2010d2);if(_0x11f67f[_0x504188(0x12c)](_0x4b9527,Promise))return new Promise((_0x366b17,_0x74dc79)=>{_0x4b9527['then'](_0xf3f778=>{const _0x3c20de=a121_0x7e00;PerformanceTester['end'](_0x40eb65),_0x11f67f[_0x3c20de(0xe5)](_0x366b17,_0xf3f778);})['catch'](_0x4b5c31=>{const _0x1cd356=a121_0x7e00;PerformanceTester[_0x1cd356(0xe3)](_0x40eb65,![],util['format'](_0x4b5c31)),_0x11f67f[_0x1cd356(0xe5)](_0x74dc79,_0x4b5c31);});});;return PerformanceTester['end'](_0x40eb65),_0x4b9527;}catch(_0x157889){PerformanceTester[_0x504188(0xe3)](_0x40eb65,![],util[_0x504188(0x13e)](_0x157889));throw _0x157889;}};return _0x32ddf4['apply'](null,_0x2010d2);}catch(_0x58f6a4){return logger[_0x504188(0xf1)](_0x504188(0xe2)+(_0x58f6a4[_0x504188(0x167)]||_0x58f6a4[_0x504188(0xcf)]||_0x58f6a4)),_0x32ddf4['apply'](null,_0x2010d2);}}static[a121_0x3f8c87(0xed)](_0x2397f9,_0x456b4e,_0x163f9b={}){const _0x2fa5ad=a121_0x3f8c87,_0x23eefb={'oflQH':function(_0x5b55e2){return _0x5b55e2();},'qumYK':function(_0xe70000){return _0xe70000();}},_0x36b6ae=this;return _0x163f9b[_0x2fa5ad(0xf0)]=_0x23eefb[_0x2fa5ad(0x130)](getProcessId),_0x163f9b[_0x2fa5ad(0x151)]=_0x23eefb[_0x2fa5ad(0x109)](getTestName),_0x163f9b[_0x2fa5ad(0x152)]=global[_0x2fa5ad(0xd1)]&&global[_0x2fa5ad(0xd1)][_0x2fa5ad(0xe0)],function(){const _0x5098a0=_0x2fa5ad,_0x57e544=[_0x2397f9,_0x456b4e,null,_0x163f9b][_0x5098a0(0xdf)](arguments);return _0x36b6ae[_0x5098a0(0x166)][_0x5098a0(0xcc)](_0x36b6ae,_0x57e544);};}static[a121_0x3f8c87(0x16d)](){const _0xf5b05d=a121_0x3f8c87,_0x45bd6a=/(^.*)\[(.*)\]$/,_0x4eabc3={},_0x128a17={},_0x3b4b8d=[],_0x569214=this['_measureEvents'][_0xf5b05d(0x12d)](0x0,this[_0xf5b05d(0x11a)][_0xf5b05d(0xdc)]);for(const _0x2bc140 of _0x569214){const _0x2eddd4=_0x2bc140[_0xf5b05d(0x115)][_0xf5b05d(0x11d)](_0x45bd6a),_0x31d63a=Object[_0xf5b05d(0xd9)]({},_0x2bc140);_0x2eddd4&&(_0x31d63a['name']=_0x2eddd4[0x1],_0x31d63a[_0xf5b05d(0x16f)]=JSON[_0xf5b05d(0x14d)](_0x2eddd4[0x2])),_0x3b4b8d[_0xf5b05d(0xfb)](_0x31d63a);}return _0x3b4b8d;}static[a121_0x3f8c87(0x14f)](){const _0x34fa60=a121_0x3f8c87,_0x11b89e={'IqfQX':function(_0x143fce){return _0x143fce();},'urlyZ':function(_0x30f291,_0x564dcf){return _0x30f291+_0x564dcf;},'skHhj':_0x34fa60(0xe1),'FSPcX':function(_0x5bfc8e,_0x26f20b){return _0x5bfc8e===_0x26f20b;},'OHHVE':function(_0x23a854,_0x3aedc7){return _0x23a854+_0x3aedc7;}};try{this['jsonReportDirPath']=path[_0x34fa60(0x128)](_0x11b89e[_0x34fa60(0xe8)](getLogDir),this[_0x34fa60(0x12e)]);if(fs[_0x34fa60(0xeb)](this[_0x34fa60(0x163)])){const _0x3af896=fs['readdirSync'](this['jsonReportDirPath']);for(const _0x2704bb of _0x3af896){fs['unlinkSync'](path[_0x34fa60(0x128)](this[_0x34fa60(0x163)],_0x2704bb));}}}catch(_0x130880){logger['debug'](_0x11b89e[_0x34fa60(0x164)](_0x11b89e['skHhj'],_0x130880));}if(_0x11b89e['FSPcX'](this[_0x34fa60(0x11a)][_0x34fa60(0xdc)],0x0))return;const _0x4597f9=this[_0x34fa60(0x16d)](),_0x1447f2=JSON[_0x34fa60(0xcd)](_0x4597f9),_0x273fbf=_0x11b89e[_0x34fa60(0x13f)](_0x1447f2['slice'](0x1,-0x1),',');fs[_0x34fa60(0x103)](this['jsonReportFileName'],_0x273fbf);}static async[a121_0x3f8c87(0x170)](){const _0x5c28bd=a121_0x3f8c87,_0x10bf18={'OjgkA':function(_0x2d5adb){return _0x2d5adb();},'vkjEA':function(_0x311a22,_0x2b10c4){return _0x311a22===_0x2b10c4;},'Hkepk':_0x5c28bd(0x15f),'gSgAZ':_0x5c28bd(0x144),'ltxcn':_0x5c28bd(0xd4),'qAEgc':function(_0x148d99,_0x344770){return _0x148d99+_0x344770;},'qvdOn':_0x5c28bd(0x159),'Ldikh':_0x5c28bd(0xf8),'xmDep':_0x5c28bd(0x158),'iLjpo':function(_0x2efe7a,_0x18946d){return _0x2efe7a>_0x18946d;}};this[_0x5c28bd(0x163)]=path[_0x5c28bd(0x128)](_0x10bf18[_0x5c28bd(0x140)](getLogDir),this[_0x5c28bd(0x12e)]);if(!this[_0x5c28bd(0x122)]||_0x10bf18[_0x5c28bd(0x104)](this['_measureEvents']['length'],0x0))return[];if(!fs[_0x5c28bd(0xeb)](this[_0x5c28bd(0x163)]))return this['_measureEvents'];const _0x22e4d6=(await fsPromise['readdir'](this[_0x5c28bd(0x163)]))[_0x5c28bd(0x146)](_0x356794=>path[_0x5c28bd(0xf3)](this['jsonReportDirPath'],_0x356794));try{const _0x3913a8=path[_0x5c28bd(0xf4)](this[_0x5c28bd(0x163)]),_0x4fd7c5=path[_0x5c28bd(0x128)](_0x3913a8,_0x10bf18[_0x5c28bd(0x16e)]);if(fs[_0x5c28bd(0xeb)](_0x4fd7c5))try{await fsPromise['access'](_0x4fd7c5,fs[_0x5c28bd(0xde)][_0x5c28bd(0x131)]);const _0x5a680f=await fsPromise[_0x5c28bd(0x15d)](_0x4fd7c5,_0x10bf18['gSgAZ']),_0x41b8f2=JSON[_0x5c28bd(0x14d)](_0x5a680f),_0x59daa2=path[_0x5c28bd(0x128)](this[_0x5c28bd(0x163)],_0x10bf18[_0x5c28bd(0x124)]);let _0x58e4b1='';Array['isArray'](_0x41b8f2)?_0x58e4b1=_0x10bf18['qAEgc'](_0x41b8f2[_0x5c28bd(0x146)](_0x263440=>JSON[_0x5c28bd(0xcd)](_0x263440))['join'](','),','):_0x58e4b1=_0x10bf18[_0x5c28bd(0x13d)](JSON[_0x5c28bd(0xcd)](_0x41b8f2),','),await fsPromise[_0x5c28bd(0xd5)](_0x59daa2,_0x58e4b1),_0x22e4d6[_0x5c28bd(0xfb)](_0x59daa2),await fsPromise[_0x5c28bd(0x147)](_0x4fd7c5);}catch(_0x2840b5){logger['info'](util[_0x5c28bd(0x13e)](_0x10bf18[_0x5c28bd(0x141)],_0x2840b5[_0x5c28bd(0x167)]||_0x2840b5['message']||_0x2840b5));}else logger[_0x5c28bd(0x13a)](_0x10bf18[_0x5c28bd(0x178)]);}catch(_0x8297d1){logger['info'](util[_0x5c28bd(0x13e)](_0x10bf18[_0x5c28bd(0xf6)],_0x8297d1['stack']||_0x8297d1[_0x5c28bd(0xcf)]||_0x8297d1));}let _0x221d4c=(await Promise[_0x5c28bd(0x126)](_0x22e4d6['map'](_0x5c93a3=>fsPromise[_0x5c28bd(0x15d)](_0x5c93a3,_0x5c28bd(0x144)))))[_0x5c28bd(0x146)](_0x3d099d=>'['+_0x3d099d[_0x5c28bd(0x120)](0x0,-0x1)+']')[_0x5c28bd(0x146)](_0x101a12=>JSON[_0x5c28bd(0x14d)](_0x101a12))[_0x5c28bd(0x16c)]();return _0x10bf18[_0x5c28bd(0x148)](this[_0x5c28bd(0x11a)][_0x5c28bd(0xdc)],0x0)&&(_0x221d4c=_0x221d4c[_0x5c28bd(0xdf)](this[_0x5c28bd(0x16d)]())),this[_0x5c28bd(0x108)][_0x5c28bd(0x15a)](),_0x221d4c;}static[a121_0x3f8c87(0x123)](){const _0x145b11=a121_0x3f8c87,_0x3d51f0={};_0x3d51f0[_0x145b11(0x171)]=function(_0x49ac04,_0x5161d8){return _0x49ac04===_0x5161d8;},_0x3d51f0[_0x145b11(0x10a)]=function(_0xfa8ed5,_0x39a7ed){return _0xfa8ed5+_0x39a7ed;};const _0x39698b=_0x3d51f0;if(_0x39698b['eFLTN'](this[_0x145b11(0xd7)]['length'],0x0))return;const _0xb2d8ea=JSON[_0x145b11(0xcd)](this[_0x145b11(0xd7)]),_0x136c30=_0x39698b['tJqNV'](_0xb2d8ea[_0x145b11(0x120)](0x1,-0x1),',');fs['appendFileSync'](this['errorFile'],_0x136c30);}static['finalizeErrors'](){const _0x27627e=a121_0x3f8c87,_0x1c0e53={};_0x1c0e53[_0x27627e(0x129)]=function(_0x518723,_0x4f29bd){return _0x518723>_0x4f29bd;};const _0x2c4049=_0x1c0e53;if(this[_0x27627e(0x14a)]){if(!fs[_0x27627e(0xeb)](this[_0x27627e(0x14a)]))return this[_0x27627e(0xd7)];let _0x1c07be=fs[_0x27627e(0x156)](this['errorReportFileName'])[_0x27627e(0x14b)]();_0x1c07be='['+_0x1c07be[_0x27627e(0x120)](0x0,-0x1)+']';let _0x18a081=JSON[_0x27627e(0x14d)](_0x1c07be);return _0x2c4049[_0x27627e(0x129)](this[_0x27627e(0xd7)][_0x27627e(0xdc)],0x0)&&(_0x18a081=_0x18a081['concat'](this[_0x27627e(0xd7)])),fs['unlinkSync'](this[_0x27627e(0x14a)]),_0x18a081;}}static[a121_0x3f8c87(0x157)](_0x2aaee6){const _0x4daba2=a121_0x3f8c87;if(!this['isEnabled']())return;this[_0x4daba2(0xd7)][_0x4daba2(0xfb)]({'message':_0x2aaee6[_0x4daba2(0xcf)],'trace':_0x2aaee6['stack'],'code':_0x2aaee6[_0x4daba2(0xef)]||null,'time':new Date()});}static[a121_0x3f8c87(0x11c)](){const _0x1a668a=a121_0x3f8c87;try{if(!this[_0x1a668a(0x138)]())return;this[_0x1a668a(0x108)][_0x1a668a(0x15a)](),this[_0x1a668a(0x14f)](),this[_0x1a668a(0x123)]();}catch(_0x1993f6){logger[_0x1a668a(0xf1)]('Error\x20stopping\x20monitoring\x20'+util[_0x1a668a(0x13e)](_0x1993f6));}}static async['finalize'](){const _0x5ba7e9=a121_0x3f8c87,_0x5c4b55={'hnxWJ':function(_0x3a068f,_0x48c0f7){return _0x3a068f(_0x48c0f7);}};await _0x5c4b55[_0x5ba7e9(0x149)](sleep,0x1e);const _0x2a07a1=await this[_0x5ba7e9(0x170)](),_0x28c9b7=this[_0x5ba7e9(0x145)]();if(!this[_0x5ba7e9(0x138)]()){const _0x3698fc={};return _0x3698fc[_0x5ba7e9(0x111)]=[],_0x3698fc[_0x5ba7e9(0x10c)]=[],_0x3698fc;}const _0x276991={};return _0x276991['measures']=_0x2a07a1,_0x276991[_0x5ba7e9(0x10c)]=_0x28c9b7,_0x276991;}static[a121_0x3f8c87(0x102)](_0x1a0182){const _0x69eacb=a121_0x3f8c87,_0x13cd78={};_0x13cd78[_0x69eacb(0x169)]=function(_0x5688b6,_0x2380cd){return _0x5688b6+_0x2380cd;},_0x13cd78[_0x69eacb(0x12a)]=_0x69eacb(0x11e);const _0x5b28cb=_0x13cd78,_0x403d98=_0x5b28cb[_0x69eacb(0x169)](_0x1a0182,_0x5b28cb[_0x69eacb(0x12a)]);if(this[_0x69eacb(0xca)][_0x403d98])return;performance[_0x69eacb(0xd2)](_0x403d98),this[_0x69eacb(0xca)][_0x403d98]=0x1;}static[a121_0x3f8c87(0xe3)](_0x38a393,_0x2783e4=!![],_0x4e9d3f=null,_0x2841d3={}){const _0x293652=a121_0x3f8c87,_0x1f77f3={'fZfyx':function(_0x1e82e1,_0x25c8dd){return _0x1e82e1+_0x25c8dd;},'FGACU':_0x293652(0xd3),'urUBo':function(_0x351cc0,_0x376758){return _0x351cc0+_0x376758;},'OQCEr':_0x293652(0x11e),'Abzmj':function(_0x424161){return _0x424161();},'jEhGC':function(_0x75ad73){return _0x75ad73();}};performance[_0x293652(0xd2)](_0x1f77f3[_0x293652(0xec)](_0x38a393,_0x1f77f3[_0x293652(0x153)])),performance[_0x293652(0x166)](_0x38a393,_0x1f77f3['urUBo'](_0x38a393,_0x1f77f3[_0x293652(0x113)]),_0x1f77f3[_0x293652(0xec)](_0x38a393,_0x1f77f3['FGACU']));const _0x4064c7={};_0x4064c7[_0x293652(0x110)]=_0x2783e4,_0x4064c7[_0x293652(0x117)]=_0x4e9d3f,this[_0x293652(0x16a)][_0x38a393]=Object[_0x293652(0xd9)](_0x4064c7,Object[_0x293652(0xd9)](Object[_0x293652(0xd9)]({'worker':_0x1f77f3[_0x293652(0x116)](getProcessId),'platform':global['__platformCaps']&&global[_0x293652(0xd1)]['index'],'testName':_0x1f77f3[_0x293652(0x14c)](getTestName)},_0x2841d3),this['details'][_0x38a393]||{}));}}module['exports']=PerformanceTester;
@@ -1 +1 @@
1
- function a122_0x4222(_0x510cfd,_0x51e0be){const _0x5cb60f=a122_0x5cb6();return a122_0x4222=function(_0x422293,_0xf4e31a){_0x422293=_0x422293-0x1f3;let _0x179aa1=_0x5cb60f[_0x422293];return _0x179aa1;},a122_0x4222(_0x510cfd,_0x51e0be);}const a122_0x3f8bd6=a122_0x4222;(function(_0x44ff12,_0x2f1094){const _0x6db436=a122_0x4222,_0x276ba2=_0x44ff12();while(!![]){try{const _0x1f8b63=-parseInt(_0x6db436(0x249))/0x1+-parseInt(_0x6db436(0x1f5))/0x2*(-parseInt(_0x6db436(0x243))/0x3)+-parseInt(_0x6db436(0x227))/0x4*(-parseInt(_0x6db436(0x251))/0x5)+-parseInt(_0x6db436(0x217))/0x6+parseInt(_0x6db436(0x232))/0x7*(-parseInt(_0x6db436(0x228))/0x8)+parseInt(_0x6db436(0x214))/0x9*(-parseInt(_0x6db436(0x20c))/0xa)+-parseInt(_0x6db436(0x1f3))/0xb*(-parseInt(_0x6db436(0x24c))/0xc);if(_0x1f8b63===_0x2f1094)break;else _0x276ba2['push'](_0x276ba2['shift']());}catch(_0x3ff670){_0x276ba2['push'](_0x276ba2['shift']());}}}(a122_0x5cb6,0x448e7));function a122_0x5cb6(){const _0x47160c=['2ONfFGq','cucumberjs-pw','winstonLogger','bhwJs','client','QzOUV','VkzDO','getBrowserFromCaps','platformCaps','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','__launchCaps','env','isPlaywrightAvailable','getPlaywrightBrowserType','mcQGG','error','isArray','__accessibilityOptions','MCOHL','capabilities','getPlaywrightModulePath','use','20EjjcVt','browserstack.buildProductMap','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','getBrowserTypePath','FrssE','getModifiedConfigFromCLI','importFileFromPWCore','bstack:options','1616517xxLrqp','../bin/v2/browserstackCLI','BROWSERSTACK_PRODUCT_MAP','2781438DIMAcW','\x20for\x20','debug','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','__platformCaps','path','llvlx','pdDca','lib','../bin/v2/cliUtils','browserType.js','getPlaywrightConfig','rZckd','BROWSERSTACK_TESTHUB_UUID','convertW3CToJsonWire','getBuildProductMap','4BTfTGm','16AnuIab','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','znmIU','./w3cMapping','Playwright\x20not\x20available:\x20','YyRWg','WTbUA','./testhub/utils','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','ljmIY','242669VUHWJf','CMulo','W3CMapping','getPlaywrightUrl','hcpFY','KCQzv','PuhYk','../bin/utils/constants','\x20flow','generatePlaywrightUrl','workers','setFrameworkDetail','exports','WmZmm','join','KiHgn','message','1289892pMosWA','framework','bootstrap','config','CYqGI','parse','86041IqttJg','entries','kPAzL','3736632gtPWeR','JConh','IvGLM','qQFgM','stringify','2588155BtIjlQ','mfRfa','GtFhE','getConfig','browserstack.accessibilityOptions.authToken','./logger','setBrowserstackConfig','mPNfa','getInstance','No\x20modified\x20config\x20received\x20from\x20gRPC','uALlP','browserstack.accessibilityOptions.scannerVersion','playwrightConfigObject','QeNQG','hAlmw','chrome','format','BrowserType','FRAMEWORKS','length','Received\x20modified\x20config\x20from\x20gRPC:\x20','BS_A11Y_JWT','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','zZExK','SoQJR','ULFLK','projects','11Bbchsm','./helper'];a122_0x5cb6=function(){return _0x47160c;};return a122_0x5cb6();}const path=require(a122_0x3f8bd6(0x21c)),util=require('util'),{importFileFromPWCore}=require(a122_0x3f8bd6(0x1f4)),helper=require(a122_0x3f8bd6(0x1f4)),logger=require(a122_0x3f8bd6(0x256))[a122_0x3f8bd6(0x1f7)],W3CMapping=require(a122_0x3f8bd6(0x22b))[a122_0x3f8bd6(0x234)](),constants=require(a122_0x3f8bd6(0x239)),BrowserstackCLI=require(a122_0x3f8bd6(0x215)),CLIUtils=require(a122_0x3f8bd6(0x220));let GrpcClient;try{GrpcClient=require('../bin/v2/grpcClient');}catch(a122_0x3328e8){logger[a122_0x3f8bd6(0x219)]('Could\x20not\x20import\x20GrpcClient:\x20'+a122_0x3328e8['message']),GrpcClient=null;}const convertW3CToJsonWire=_0x59d9bb=>{const _0x5a1836=a122_0x3f8bd6,_0xbb570f={};_0xbb570f['KCQzv']=function(_0x37c498,_0x326e0e){return _0x37c498||_0x326e0e;},_0xbb570f['KiHgn']=function(_0x25e4cf,_0x5e01ea){return _0x25e4cf===_0x5e01ea;},_0xbb570f[_0x5a1836(0x233)]=_0x5a1836(0x213),_0xbb570f[_0x5a1836(0x22e)]=function(_0x1e3f72,_0x4d7371){return _0x1e3f72===_0x4d7371;},_0xbb570f['hAlmw']=function(_0x3f7815,_0x4c95a7){return _0x3f7815 in _0x4c95a7;};const _0x14ec64=_0xbb570f,_0x1f2239={};for(const [_0x452362,_0x45595b]of Object['entries'](_0x14ec64[_0x5a1836(0x237)](_0x59d9bb,{}))){if(_0x14ec64[_0x5a1836(0x241)](_0x452362,_0x14ec64[_0x5a1836(0x233)]))continue;let _0x29fc92=![];for(const [_0x3883e0,_0x48a643]of Object['entries'](W3CMapping)){if(_0x14ec64[_0x5a1836(0x22e)](_0x452362,_0x48a643)){_0x1f2239[_0x3883e0]=_0x45595b,_0x29fc92=!![];break;}}!_0x29fc92&&(_0x1f2239[_0x452362]=_0x45595b);}const _0x193488=_0x59d9bb[_0x14ec64[_0x5a1836(0x233)]]||{};for(const [_0x34548d,_0x163045]of Object['entries'](_0x193488)){let _0x28269e=![];for(const [_0x38c29c,_0x4f34ae]of Object[_0x5a1836(0x24a)](W3CMapping)){if(_0x14ec64[_0x5a1836(0x241)](_0x34548d,_0x4f34ae)){_0x1f2239[_0x38c29c]=_0x163045,_0x28269e=!![];break;}}!_0x28269e&&!_0x14ec64[_0x5a1836(0x25f)](_0x34548d,_0x1f2239)&&(_0x1f2239[_0x34548d]=_0x163045);}return logger[_0x5a1836(0x219)](_0x5a1836(0x230)+JSON[_0x5a1836(0x250)](_0x1f2239)),_0x1f2239;},getModifiedConfigFromCLI=async _0x42b397=>{const _0x1610ec=a122_0x3f8bd6,_0x2ef343={};_0x2ef343[_0x1610ec(0x268)]=_0x1610ec(0x21a),_0x2ef343['hLvey']=_0x1610ec(0x1f6),_0x2ef343[_0x1610ec(0x223)]='Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw',_0x2ef343['CYqGI']=_0x1610ec(0x25a),_0x2ef343[_0x1610ec(0x26a)]=function(_0x1e4d89,_0x4a4e3e){return _0x1e4d89>_0x4a4e3e;},_0x2ef343[_0x1610ec(0x24d)]=function(_0x21b404,_0x1cedad){return _0x21b404>_0x1cedad;},_0x2ef343[_0x1610ec(0x236)]=_0x1610ec(0x267);const _0x265ac5=_0x2ef343;try{if(!GrpcClient)return logger['debug'](_0x265ac5[_0x1610ec(0x268)]),null;const _0x504864={};_0x504864['capabilities']=_0x42b397,_0x504864[_0x1610ec(0x244)]=_0x265ac5['hLvey'],_0x504864[_0x1610ec(0x23c)]=0x1,_0x504864[_0x1610ec(0x26b)]=[];const _0x31ef5b=_0x504864;logger[_0x1610ec(0x219)](_0x265ac5['rZckd']);const _0x2ef818={};_0x2ef818[_0x1610ec(0x25d)]=_0x31ef5b;const _0xce0c3b=await GrpcClient[_0x1610ec(0x259)]()[_0x1610ec(0x222)](_0x2ef818);if(!_0xce0c3b[_0x1610ec(0x254)]())return logger[_0x1610ec(0x219)](_0x265ac5[_0x1610ec(0x247)]),null;const _0x55b1c8=JSON[_0x1610ec(0x248)](_0xce0c3b['getConfig']());logger[_0x1610ec(0x219)](_0x1610ec(0x265)+JSON[_0x1610ec(0x250)](_0x55b1c8));if(_0x55b1c8[_0x1610ec(0x209)]&&Array['isArray'](_0x55b1c8[_0x1610ec(0x209)])&&_0x265ac5[_0x1610ec(0x26a)](_0x55b1c8['capabilities'][_0x1610ec(0x264)],0x0))return _0x55b1c8[_0x1610ec(0x209)][0x0];else{if(_0x55b1c8[_0x1610ec(0x26b)]&&Array[_0x1610ec(0x206)](_0x55b1c8['projects'])&&_0x265ac5[_0x1610ec(0x24d)](_0x55b1c8['projects']['length'],0x0)){const _0x3d78e8=_0x55b1c8[_0x1610ec(0x26b)][0x0];if(_0x3d78e8[_0x1610ec(0x20b)]&&_0x3d78e8['use']['platformCaps'])return _0x3d78e8['use'][_0x1610ec(0x1fd)];}}return logger[_0x1610ec(0x219)](_0x265ac5[_0x1610ec(0x236)]),null;}catch(_0x143c7c){logger[_0x1610ec(0x205)](_0x1610ec(0x20e)+_0x143c7c[_0x1610ec(0x242)]);throw _0x143c7c;}},generatePlaywrightUrl=(_0x237d46,_0x72ee7e)=>{const _0x3bfbf6=a122_0x3f8bd6,_0x39b088={'MCOHL':function(_0x25f2b6,_0x12dfb7){return _0x25f2b6!==_0x12dfb7;},'blbou':function(_0x40308e,_0x1522d4){return _0x40308e!==_0x1522d4;},'ljmIY':function(_0x213595,_0x421d3e){return _0x213595!==_0x421d3e;},'GtFhE':function(_0x177bf2,_0x41cb5a){return _0x177bf2(_0x41cb5a);},'qqGBu':function(_0x18d756,_0x3f856d){return _0x18d756||_0x3f856d;},'ttKVi':function(_0x2d42a0,_0x2a70c0){return _0x2d42a0(_0x2a70c0);},'YyRWg':_0x3bfbf6(0x255),'WmZmm':'browserstack.accessibilityOptions.wcagVersion','SoQJR':function(_0xb19eb,_0x5318f1){return _0xb19eb(_0x5318f1);},'mPNfa':_0x3bfbf6(0x25c),'VkzDO':function(_0x181e12,_0x12b360){return _0x181e12(_0x12b360);},'fOfaL':'browserstack.accessibilityOptions.scannerProcessingTimeout','QnZEq':'browserstack.testhubBuildUuid','pdDca':_0x3bfbf6(0x20d),'uALlP':function(_0x4ac568,_0x424a39){return _0x4ac568+_0x424a39;},'mfRfa':function(_0x7c5442,_0x4a022b){return _0x7c5442(_0x4a022b);}},_0x1ac7e7=helper[_0x3bfbf6(0x235)](_0x237d46),_0x48b41b=_0x39b088[_0x3bfbf6(0x253)](convertW3CToJsonWire,_0x72ee7e);try{const _0x18ffa1=[_0x39b088['qqGBu'](_0x72ee7e,{}),global[_0x3bfbf6(0x200)]||{},global[_0x3bfbf6(0x21b)]||{},global[_0x3bfbf6(0x207)]||{}],_0x8fbbce=_0x56d7ce=>{const _0x1d5012=_0x3bfbf6;if(_0x39b088[_0x1d5012(0x208)](_0x48b41b[_0x56d7ce],undefined)&&_0x39b088[_0x1d5012(0x208)](_0x48b41b[_0x56d7ce],null)&&_0x39b088['blbou'](_0x48b41b[_0x56d7ce],''))return;for(const _0x3cfa1d of _0x18ffa1){if(_0x3cfa1d&&_0x39b088['ljmIY'](_0x3cfa1d[_0x56d7ce],undefined)&&_0x39b088[_0x1d5012(0x231)](_0x3cfa1d[_0x56d7ce],null)&&_0x39b088[_0x1d5012(0x231)](_0x3cfa1d[_0x56d7ce],'')){_0x48b41b[_0x56d7ce]=_0x3cfa1d[_0x56d7ce];return;}}};_0x39b088['ttKVi'](_0x8fbbce,_0x39b088[_0x3bfbf6(0x22d)]),_0x39b088[_0x3bfbf6(0x253)](_0x8fbbce,_0x39b088[_0x3bfbf6(0x23f)]),_0x39b088[_0x3bfbf6(0x269)](_0x8fbbce,_0x39b088[_0x3bfbf6(0x258)]),_0x39b088[_0x3bfbf6(0x1fb)](_0x8fbbce,_0x39b088['fOfaL']),!_0x48b41b[_0x39b088['YyRWg']]&&process[_0x3bfbf6(0x201)][_0x3bfbf6(0x266)]&&(_0x48b41b[_0x39b088[_0x3bfbf6(0x22d)]]=process['env'][_0x3bfbf6(0x266)]);}catch(_0x23e8de){logger[_0x3bfbf6(0x219)](_0x3bfbf6(0x1ff)+util[_0x3bfbf6(0x261)](_0x23e8de));}return _0x48b41b[_0x39b088['QnZEq']]=process['env'][_0x3bfbf6(0x224)],_0x48b41b[_0x39b088[_0x3bfbf6(0x21e)]]=helper[_0x3bfbf6(0x226)](),_0x39b088[_0x3bfbf6(0x25b)](_0x1ac7e7,_0x39b088[_0x3bfbf6(0x252)](encodeURIComponent,JSON[_0x3bfbf6(0x250)](_0x48b41b)));},getBrowserFromCaps=_0x8fa3f2=>{const _0x5bf15f=a122_0x3f8bd6,_0x254c5d={};_0x254c5d[_0x5bf15f(0x210)]=_0x5bf15f(0x260);const _0x30048e=_0x254c5d;return _0x8fa3f2['browserName']||_0x8fa3f2['browser']||_0x30048e[_0x5bf15f(0x210)];},isPlaywrightAvailable=()=>{const _0x18ad4f=a122_0x3f8bd6,_0x5cef37={'QeNQG':'lib','mcQGG':'client','kPAzL':'browserType.js','PuhYk':function(_0x267204,_0x4079ad){return _0x267204(_0x4079ad);}};try{const _0xe4b971=path[_0x18ad4f(0x240)](_0x5cef37[_0x18ad4f(0x25e)],_0x5cef37[_0x18ad4f(0x204)],_0x5cef37[_0x18ad4f(0x24b)]),_0x2cd61b=_0x5cef37[_0x18ad4f(0x238)](importFileFromPWCore,_0xe4b971);return!!_0x2cd61b;}catch(_0xf7c123){return logger[_0x18ad4f(0x219)](_0x18ad4f(0x22c)+util[_0x18ad4f(0x261)](_0xf7c123)),![];}},getPlaywrightBrowserType=()=>{const _0x175d30=a122_0x3f8bd6,_0x521358={'rxMFY':_0x175d30(0x21f),'QzOUV':_0x175d30(0x1f9),'NZDaG':_0x175d30(0x221),'qQFgM':function(_0xf517d0,_0x520dba){return _0xf517d0(_0x520dba);}};try{const _0x548868=path['join'](_0x521358['rxMFY'],_0x521358[_0x175d30(0x1fa)],_0x521358['NZDaG']),_0x27b923=_0x521358[_0x175d30(0x24f)](importFileFromPWCore,_0x548868);return _0x27b923?_0x27b923[_0x175d30(0x262)]:null;}catch(_0x121811){return logger[_0x175d30(0x219)]('Error\x20getting\x20Playwright\x20BrowserType:\x20'+util[_0x175d30(0x261)](_0x121811)),null;}},getPlaywrightModulePath=()=>{const _0x59c332=a122_0x3f8bd6,_0x5d3992={};_0x5d3992['llvlx']=_0x59c332(0x1fe);const _0x45bfef=_0x5d3992;return logger[_0x59c332(0x219)](_0x45bfef[_0x59c332(0x21d)]),null;},getBrowserTypePath=()=>{const _0x3243b9=a122_0x3f8bd6,_0x34b8c1={};_0x34b8c1[_0x3243b9(0x22a)]=_0x3243b9(0x229);const _0x53f6a1=_0x34b8c1;return logger['debug'](_0x53f6a1[_0x3243b9(0x22a)]),null;},checkPwandBootstrapCli=async(_0x4585ee,_0x5a88b0,_0x4d1fe3)=>{const _0x1b030c=a122_0x3f8bd6,_0x32900f={'nNcDx':function(_0x129a87,_0x2a26fe){return _0x129a87(_0x2a26fe);},'bhwJs':_0x1b030c(0x22f),'IvGLM':function(_0x44f031,_0x3107cf){return _0x44f031(_0x3107cf);}};if(_0x4585ee){const _0x2bd8ad=constants[_0x1b030c(0x263)]['PLAYWRIGHT'];logger[_0x1b030c(0x219)]('Detected\x20Playwright\x20version\x20'+_0x4585ee+_0x1b030c(0x218)+_0x5a88b0+_0x1b030c(0x23a)),CLIUtils[_0x1b030c(0x23d)](_0x5a88b0,_0x2bd8ad);const {getProductMap:_0x1c994a}=_0x32900f['nNcDx'](require,_0x32900f[_0x1b030c(0x1f8)]);process[_0x1b030c(0x201)][_0x1b030c(0x216)]=JSON[_0x1b030c(0x250)](_0x32900f[_0x1b030c(0x24e)](_0x1c994a,_0x4d1fe3[_0x1b030c(0x246)])),BrowserstackCLI[_0x1b030c(0x259)]()[_0x1b030c(0x257)](_0x4d1fe3['config'],_0x4d1fe3['configPath'],_0x4d1fe3['cliConfig']),await BrowserstackCLI[_0x1b030c(0x259)]()[_0x1b030c(0x245)]();}},a122_0x501bf8={};a122_0x501bf8[a122_0x3f8bd6(0x225)]=convertW3CToJsonWire,a122_0x501bf8[a122_0x3f8bd6(0x211)]=getModifiedConfigFromCLI,a122_0x501bf8[a122_0x3f8bd6(0x23b)]=generatePlaywrightUrl,a122_0x501bf8[a122_0x3f8bd6(0x1fc)]=getBrowserFromCaps,a122_0x501bf8[a122_0x3f8bd6(0x202)]=isPlaywrightAvailable,a122_0x501bf8[a122_0x3f8bd6(0x203)]=getPlaywrightBrowserType,a122_0x501bf8[a122_0x3f8bd6(0x20a)]=getPlaywrightModulePath,a122_0x501bf8[a122_0x3f8bd6(0x20f)]=getBrowserTypePath,a122_0x501bf8[a122_0x3f8bd6(0x212)]=importFileFromPWCore,a122_0x501bf8['checkPwandBootstrapCli']=checkPwandBootstrapCli,module[a122_0x3f8bd6(0x23e)]=a122_0x501bf8;
1
+ const a122_0xee3bf0=a122_0x56d2;(function(_0x2bdf26,_0xdfa4d3){const _0x5a8708=a122_0x56d2,_0x28a261=_0x2bdf26();while(!![]){try{const _0x42a8fb=-parseInt(_0x5a8708(0x101))/0x1+-parseInt(_0x5a8708(0xf1))/0x2*(-parseInt(_0x5a8708(0xfe))/0x3)+-parseInt(_0x5a8708(0xf9))/0x4*(-parseInt(_0x5a8708(0xcc))/0x5)+parseInt(_0x5a8708(0x115))/0x6*(parseInt(_0x5a8708(0xf6))/0x7)+-parseInt(_0x5a8708(0xd9))/0x8+parseInt(_0x5a8708(0xef))/0x9+parseInt(_0x5a8708(0x110))/0xa;if(_0x42a8fb===_0xdfa4d3)break;else _0x28a261['push'](_0x28a261['shift']());}catch(_0x347530){_0x28a261['push'](_0x28a261['shift']());}}}(a122_0x6fe4,0xb7b3e));function a122_0x56d2(_0x12c6c0,_0xc741b){const _0x6fe4f4=a122_0x6fe4();return a122_0x56d2=function(_0x56d26c,_0x3ed5ae){_0x56d26c=_0x56d26c-0xb7;let _0x827a87=_0x6fe4f4[_0x56d26c];return _0x827a87;},a122_0x56d2(_0x12c6c0,_0xc741b);}const path=require(a122_0xee3bf0(0x11c)),util=require('util'),{importFileFromPWCore}=require(a122_0xee3bf0(0x102)),helper=require(a122_0xee3bf0(0x102)),logger=require(a122_0xee3bf0(0xb9))[a122_0xee3bf0(0xd5)],W3CMapping=require(a122_0xee3bf0(0xe2))[a122_0xee3bf0(0x12d)](),constants=require(a122_0xee3bf0(0xbb)),BrowserstackCLI=require('../bin/v2/browserstackCLI'),CLIUtils=require('../bin/v2/cliUtils');let GrpcClient;function a122_0x6fe4(){const _0x1eaf21=['getInstance','Playwright\x20not\x20available:\x20','bfpTM','getBrowserFromCaps','Shvyk','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','CeCUh','BROWSERSTACK_PRODUCT_MAP','4459890CuBNBj','AUzsJ','platformCaps','OgOFD','bZToZ','2941218rHErNo','importFileFromPWCore','BkWfJ','ZFpym','No\x20modified\x20config\x20received\x20from\x20gRPC','AUnCu','TUuCr','path','getConfig','./testhub/utils','generatePlaywrightUrl','format','getPlaywrightBrowserType','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','YbspI','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','__platformCaps','__launchCaps','projects','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','debug','join','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','bootstrap','W3CMapping','zruUC','rTPfl','./logger','browser','../bin/utils/constants','client','setBrowserstackConfig','../bin/v2/grpcClient','PPFRC','BROWSERSTACK_TESTHUB_UUID','browserType.js','PWvWH','hqaWF','isArray','browserName','VJYCf','Could\x20not\x20import\x20GrpcClient:\x20','getBuildProductMap','nuGPa','__accessibilityOptions','length','11945HhTSIs','lib','browserstack.testhubBuildUuid','browserstack.accessibilityOptions.scannerVersion','tFMwi','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','DUMEP','stringify','MuRbz','winstonLogger','ixEWr','tveFt','\x20flow','5443824vNdfcs','setFrameworkDetail','getBrowserTypePath','browserstack.accessibilityOptions.wcagVersion','BS_A11Y_JWT','browserstack.accessibilityOptions.authToken','Received\x20modified\x20config\x20from\x20gRPC:\x20','Detected\x20Playwright\x20version\x20','config','./w3cMapping','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','isPlaywrightAvailable','WcRrh','hDSVx','lutQU','error','sYZjF','capabilities','exports','configPath','FRAMEWORKS','8941752vuAqXt','getPlaywrightUrl','268784otlXGz','cliConfig','zPbmY','browserstack.buildProductMap','XZzNR','7GzMjhx','entries','checkPwandBootstrapCli','1252NJWfwR','wwdca','getPlaywrightConfig','message','chrome','3MwBdHl','bhrqf','env','1378945nLeIkK','./helper','workers','use','framework','NKkTp','BrowserType'];a122_0x6fe4=function(){return _0x1eaf21;};return a122_0x6fe4();}try{GrpcClient=require(a122_0xee3bf0(0xbe));}catch(a122_0x41d504){logger[a122_0xee3bf0(0x129)](a122_0xee3bf0(0xc7)+a122_0x41d504['message']),GrpcClient=null;}const convertW3CToJsonWire=_0x1cfab4=>{const _0x3642e0=a122_0xee3bf0,_0x1edeae={};_0x1edeae['hqaWF']=function(_0x43a412,_0x2a7646){return _0x43a412||_0x2a7646;},_0x1edeae[_0x3642e0(0x118)]=function(_0x175187,_0x132c75){return _0x175187===_0x132c75;},_0x1edeae['bfpTM']='bstack:options',_0x1edeae['rTPfl']=function(_0x9d9a39,_0x20097a){return _0x9d9a39 in _0x20097a;};const _0x586dc2=_0x1edeae,_0x22eaa0={};for(const [_0x26e827,_0x3c473d]of Object[_0x3642e0(0xf7)](_0x586dc2[_0x3642e0(0xc3)](_0x1cfab4,{}))){if(_0x586dc2['ZFpym'](_0x26e827,_0x586dc2[_0x3642e0(0x10a)]))continue;let _0x13e355=![];for(const [_0x17de74,_0x30610c]of Object[_0x3642e0(0xf7)](W3CMapping)){if(_0x586dc2['ZFpym'](_0x26e827,_0x30610c)){_0x22eaa0[_0x17de74]=_0x3c473d,_0x13e355=!![];break;}}!_0x13e355&&(_0x22eaa0[_0x26e827]=_0x3c473d);}const _0x585139=_0x1cfab4[_0x586dc2['bfpTM']]||{};for(const [_0x1dcd05,_0xee4d4c]of Object[_0x3642e0(0xf7)](_0x585139)){let _0x965a55=![];for(const [_0x150219,_0x467fd1]of Object[_0x3642e0(0xf7)](W3CMapping)){if(_0x586dc2['ZFpym'](_0x1dcd05,_0x467fd1)){_0x22eaa0[_0x150219]=_0xee4d4c,_0x965a55=!![];break;}}!_0x965a55&&!_0x586dc2[_0x3642e0(0xb8)](_0x1dcd05,_0x22eaa0)&&(_0x22eaa0[_0x1dcd05]=_0xee4d4c);}return logger[_0x3642e0(0x129)](_0x3642e0(0x12b)+JSON[_0x3642e0(0xd3)](_0x22eaa0)),_0x22eaa0;},getModifiedConfigFromCLI=async _0x1ef167=>{const _0x489e06=a122_0xee3bf0,_0x14e031={};_0x14e031[_0x489e06(0xe6)]=_0x489e06(0x128),_0x14e031[_0x489e06(0x113)]='cucumberjs-pw',_0x14e031['MuRbz']=_0x489e06(0xe4),_0x14e031[_0x489e06(0xc6)]=_0x489e06(0x119),_0x14e031['bZToZ']=function(_0x2a36a5,_0x312631){return _0x2a36a5>_0x312631;},_0x14e031[_0x489e06(0xf3)]=_0x489e06(0xd1);const _0x56fa0a=_0x14e031;try{if(!GrpcClient)return logger[_0x489e06(0x129)](_0x56fa0a[_0x489e06(0xe6)]),null;const _0x52a620={};_0x52a620[_0x489e06(0xeb)]=_0x1ef167,_0x52a620[_0x489e06(0x105)]=_0x56fa0a[_0x489e06(0x113)],_0x52a620[_0x489e06(0x103)]=0x1,_0x52a620['projects']=[];const _0x180828=_0x52a620;logger[_0x489e06(0x129)](_0x56fa0a[_0x489e06(0xd4)]);const _0x1e865b={};_0x1e865b['playwrightConfigObject']=_0x180828;const _0x490126=await GrpcClient[_0x489e06(0x108)]()[_0x489e06(0xfb)](_0x1e865b);if(!_0x490126[_0x489e06(0x11d)]())return logger['debug'](_0x56fa0a[_0x489e06(0xc6)]),null;const _0x4801bd=JSON['parse'](_0x490126[_0x489e06(0x11d)]());logger['debug'](_0x489e06(0xdf)+JSON[_0x489e06(0xd3)](_0x4801bd));if(_0x4801bd['capabilities']&&Array[_0x489e06(0xc4)](_0x4801bd[_0x489e06(0xeb)])&&_0x56fa0a['bZToZ'](_0x4801bd[_0x489e06(0xeb)][_0x489e06(0xcb)],0x0))return _0x4801bd['capabilities'][0x0];else{if(_0x4801bd[_0x489e06(0x127)]&&Array[_0x489e06(0xc4)](_0x4801bd[_0x489e06(0x127)])&&_0x56fa0a[_0x489e06(0x114)](_0x4801bd['projects']['length'],0x0)){const _0x48a3ee=_0x4801bd['projects'][0x0];if(_0x48a3ee[_0x489e06(0x104)]&&_0x48a3ee['use'][_0x489e06(0x112)])return _0x48a3ee['use'][_0x489e06(0x112)];}}return logger[_0x489e06(0x129)](_0x56fa0a[_0x489e06(0xf3)]),null;}catch(_0x3a1615){logger[_0x489e06(0xe9)](_0x489e06(0x124)+_0x3a1615[_0x489e06(0xfc)]);throw _0x3a1615;}},generatePlaywrightUrl=(_0x1b4e85,_0x388766)=>{const _0x56abfa=a122_0xee3bf0,_0x3f210e={'BkWfJ':function(_0xf36e17,_0x34b4cc){return _0xf36e17!==_0x34b4cc;},'TUuCr':function(_0x4c3cd4,_0x2378ad){return _0x4c3cd4!==_0x2378ad;},'thUPj':function(_0x197fce,_0x1f2dc5){return _0x197fce!==_0x1f2dc5;},'NKkTp':function(_0x3b6693,_0x1749f7){return _0x3b6693!==_0x1749f7;},'ewyDc':function(_0x1ac632,_0x2b5787){return _0x1ac632!==_0x2b5787;},'bhrqf':function(_0x17a896,_0x5f0749){return _0x17a896(_0x5f0749);},'sRLuW':function(_0x484add,_0x9a5e6b){return _0x484add||_0x9a5e6b;},'nuGPa':_0x56abfa(0xde),'Shvyk':function(_0x516eaa,_0x3e8364){return _0x516eaa(_0x3e8364);},'ixEWr':_0x56abfa(0xdc),'fWjjD':function(_0x48d970,_0x3281d7){return _0x48d970(_0x3281d7);},'PWvWH':_0x56abfa(0xcf),'RCNJm':function(_0xc06e38,_0x29a7ce){return _0xc06e38(_0x29a7ce);},'pmOsP':'browserstack.accessibilityOptions.scannerProcessingTimeout','hDSVx':_0x56abfa(0xce),'zruUC':_0x56abfa(0xf4),'sYZjF':function(_0x3ccc2e,_0x4a960d){return _0x3ccc2e+_0x4a960d;},'RmtGq':function(_0x22b189,_0x4eaf9f){return _0x22b189(_0x4eaf9f);}},_0x556bd1=helper[_0x56abfa(0xf0)](_0x1b4e85),_0x221ac7=_0x3f210e[_0x56abfa(0xff)](convertW3CToJsonWire,_0x388766);try{const _0x46389a=[_0x3f210e['sRLuW'](_0x388766,{}),global[_0x56abfa(0x126)]||{},global[_0x56abfa(0x125)]||{},global[_0x56abfa(0xca)]||{}],_0x49ad2a=_0x91c9f3=>{const _0x3ed48b=_0x56abfa;if(_0x3f210e[_0x3ed48b(0x117)](_0x221ac7[_0x91c9f3],undefined)&&_0x3f210e['TUuCr'](_0x221ac7[_0x91c9f3],null)&&_0x3f210e['thUPj'](_0x221ac7[_0x91c9f3],''))return;for(const _0x424ffd of _0x46389a){if(_0x424ffd&&_0x3f210e[_0x3ed48b(0x106)](_0x424ffd[_0x91c9f3],undefined)&&_0x3f210e['ewyDc'](_0x424ffd[_0x91c9f3],null)&&_0x3f210e[_0x3ed48b(0x11b)](_0x424ffd[_0x91c9f3],'')){_0x221ac7[_0x91c9f3]=_0x424ffd[_0x91c9f3];return;}}};_0x3f210e[_0x56abfa(0xff)](_0x49ad2a,_0x3f210e[_0x56abfa(0xc9)]),_0x3f210e[_0x56abfa(0x10c)](_0x49ad2a,_0x3f210e[_0x56abfa(0xd6)]),_0x3f210e['fWjjD'](_0x49ad2a,_0x3f210e[_0x56abfa(0xc2)]),_0x3f210e['RCNJm'](_0x49ad2a,_0x3f210e['pmOsP']),!_0x221ac7[_0x3f210e[_0x56abfa(0xc9)]]&&process[_0x56abfa(0x100)][_0x56abfa(0xdd)]&&(_0x221ac7[_0x3f210e[_0x56abfa(0xc9)]]=process[_0x56abfa(0x100)][_0x56abfa(0xdd)]);}catch(_0x253ae4){logger['debug'](_0x56abfa(0xe3)+util[_0x56abfa(0x120)](_0x253ae4));}return _0x221ac7[_0x3f210e[_0x56abfa(0xe7)]]=process['env'][_0x56abfa(0xc0)],_0x221ac7[_0x3f210e[_0x56abfa(0xb7)]]=helper[_0x56abfa(0xc8)](),_0x3f210e[_0x56abfa(0xea)](_0x556bd1,_0x3f210e['RmtGq'](encodeURIComponent,JSON[_0x56abfa(0xd3)](_0x221ac7)));},getBrowserFromCaps=_0x5e6604=>{const _0x17e4a2=a122_0xee3bf0,_0x30b4e3={};_0x30b4e3[_0x17e4a2(0xd0)]=_0x17e4a2(0xfd);const _0x422bba=_0x30b4e3;return _0x5e6604[_0x17e4a2(0xc5)]||_0x5e6604[_0x17e4a2(0xba)]||_0x422bba[_0x17e4a2(0xd0)];},isPlaywrightAvailable=()=>{const _0x3a9cb6=a122_0xee3bf0,_0x38dd36={'YbspI':'lib','bxscz':_0x3a9cb6(0xbc),'PPFRC':_0x3a9cb6(0xc1),'wwdca':function(_0x52d03d,_0x35fc87){return _0x52d03d(_0x35fc87);}};try{const _0x18d84d=path[_0x3a9cb6(0x12a)](_0x38dd36[_0x3a9cb6(0x123)],_0x38dd36['bxscz'],_0x38dd36[_0x3a9cb6(0xbf)]),_0x1e4c85=_0x38dd36[_0x3a9cb6(0xfa)](importFileFromPWCore,_0x18d84d);return!!_0x1e4c85;}catch(_0x526749){return logger[_0x3a9cb6(0x129)](_0x3a9cb6(0x109)+util[_0x3a9cb6(0x120)](_0x526749)),![];}},getPlaywrightBrowserType=()=>{const _0x2c90d6=a122_0xee3bf0,_0x421051={'CeCUh':_0x2c90d6(0xcd),'tveFt':_0x2c90d6(0xbc),'DUMEP':_0x2c90d6(0xc1),'lutQU':function(_0x4d2e66,_0x29ef3f){return _0x4d2e66(_0x29ef3f);}};try{const _0x4af4b0=path[_0x2c90d6(0x12a)](_0x421051[_0x2c90d6(0x10e)],_0x421051[_0x2c90d6(0xd7)],_0x421051[_0x2c90d6(0xd2)]),_0x53da7d=_0x421051[_0x2c90d6(0xe8)](importFileFromPWCore,_0x4af4b0);return _0x53da7d?_0x53da7d[_0x2c90d6(0x107)]:null;}catch(_0x166b08){return logger[_0x2c90d6(0x129)]('Error\x20getting\x20Playwright\x20BrowserType:\x20'+util[_0x2c90d6(0x120)](_0x166b08)),null;}},getPlaywrightModulePath=()=>{const _0x38dbcf=a122_0xee3bf0,_0x2f33fd={};_0x2f33fd[_0x38dbcf(0x111)]=_0x38dbcf(0x122);const _0x364194=_0x2f33fd;return logger['debug'](_0x364194[_0x38dbcf(0x111)]),null;},getBrowserTypePath=()=>{const _0x5e9297=a122_0xee3bf0,_0x5f3114={};_0x5f3114[_0x5e9297(0x11a)]=_0x5e9297(0x10d);const _0x1372fd=_0x5f3114;return logger[_0x5e9297(0x129)](_0x1372fd['AUnCu']),null;},checkPwandBootstrapCli=async(_0x3ff5ee,_0x1cef58,_0x2b37a5)=>{const _0xa07e30=a122_0xee3bf0,_0x3da77b={'XZzNR':function(_0x1878ec,_0x5d8ad){return _0x1878ec(_0x5d8ad);},'QLlcX':_0xa07e30(0x11e)};if(_0x3ff5ee){const _0xb958b0=constants[_0xa07e30(0xee)]['PLAYWRIGHT'];logger['debug'](_0xa07e30(0xe0)+_0x3ff5ee+'\x20for\x20'+_0x1cef58+_0xa07e30(0xd8)),CLIUtils[_0xa07e30(0xda)](_0x1cef58,_0xb958b0);const {getProductMap:_0x938854}=_0x3da77b[_0xa07e30(0xf5)](require,_0x3da77b['QLlcX']);process[_0xa07e30(0x100)][_0xa07e30(0x10f)]=JSON['stringify'](_0x3da77b['XZzNR'](_0x938854,_0x2b37a5[_0xa07e30(0xe1)])),BrowserstackCLI[_0xa07e30(0x108)]()[_0xa07e30(0xbd)](_0x2b37a5[_0xa07e30(0xe1)],_0x2b37a5[_0xa07e30(0xed)],_0x2b37a5[_0xa07e30(0xf2)]),await BrowserstackCLI['getInstance']()[_0xa07e30(0x12c)]();}},a122_0x1f454a={};a122_0x1f454a['convertW3CToJsonWire']=convertW3CToJsonWire,a122_0x1f454a['getModifiedConfigFromCLI']=getModifiedConfigFromCLI,a122_0x1f454a[a122_0xee3bf0(0x11f)]=generatePlaywrightUrl,a122_0x1f454a[a122_0xee3bf0(0x10b)]=getBrowserFromCaps,a122_0x1f454a[a122_0xee3bf0(0xe5)]=isPlaywrightAvailable,a122_0x1f454a[a122_0xee3bf0(0x121)]=getPlaywrightBrowserType,a122_0x1f454a['getPlaywrightModulePath']=getPlaywrightModulePath,a122_0x1f454a[a122_0xee3bf0(0xdb)]=getBrowserTypePath,a122_0x1f454a[a122_0xee3bf0(0x116)]=importFileFromPWCore,a122_0x1f454a[a122_0xee3bf0(0xf8)]=checkPwandBootstrapCli,module[a122_0xee3bf0(0xec)]=a122_0x1f454a;
@@ -1 +1 @@
1
- const a123_0x2d8159=a123_0x520d;function a123_0x9c55(){const _0x474857=['BROWSERSTACK_TEST_REPORTING_DEBUG','true','getProcessId','dywxM','./test-observability/constants','./globals','uamhk','Ovdoe','getTestName','2313YhSEwt','worker_threads','TEST_REPORTING_ANALYTICS','toISOString','./logger','1413118SyNPqd','env','1606632JhtKTb','gInye','9736rIsDOw','749468aeqLVE','\x20]\x20','][\x20','iQKnm','getGlobal','177867iJuLPI','5smHJRc','BROWSERSTACK_OBSERVABILITY_DEBUG','2767550nkFRHj','threadId','246RcEOTi','log','4409YewUEd'];a123_0x9c55=function(){return _0x474857;};return a123_0x9c55();}function a123_0x520d(_0x34e526,_0xf6167e){const _0x9c5557=a123_0x9c55();return a123_0x520d=function(_0x520dbd,_0x5ebe45){_0x520dbd=_0x520dbd-0x150;let _0x3303c4=_0x9c5557[_0x520dbd];return _0x3303c4;},a123_0x520d(_0x34e526,_0xf6167e);}(function(_0x36c994,_0x19f70c){const _0x4c0bd2=a123_0x520d,_0x321cd6=_0x36c994();while(!![]){try{const _0x1762aa=parseInt(_0x4c0bd2(0x152))/0x1*(parseInt(_0x4c0bd2(0x150))/0x2)+parseInt(_0x4c0bd2(0x16b))/0x3+-parseInt(_0x4c0bd2(0x166))/0x4*(-parseInt(_0x4c0bd2(0x16c))/0x5)+-parseInt(_0x4c0bd2(0x163))/0x6+-parseInt(_0x4c0bd2(0x161))/0x7+-parseInt(_0x4c0bd2(0x165))/0x8*(-parseInt(_0x4c0bd2(0x15c))/0x9)+-parseInt(_0x4c0bd2(0x16e))/0xa;if(_0x1762aa===_0x19f70c)break;else _0x321cd6['push'](_0x321cd6['shift']());}catch(_0x31b8f0){_0x321cd6['push'](_0x321cd6['shift']());}}}(a123_0x9c55,0x56c03));const worker=require(a123_0x2d8159(0x15d)),{fileLogger}=require(a123_0x2d8159(0x160)),{consoleHolder}=require(a123_0x2d8159(0x157)),globals=require(a123_0x2d8159(0x158)),constants=require('../bin/utils/constants');exports[a123_0x2d8159(0x155)]=()=>{const _0x375702=a123_0x2d8159;return process['pid']+'-'+worker[_0x375702(0x16f)];},exports[a123_0x2d8159(0x15b)]=()=>{const _0x1e50ff=a123_0x2d8159,_0xfd2130={};_0xfd2130['uamhk']='browserstackTestName';const _0x34daa4=_0xfd2130;return globals[_0x1e50ff(0x16a)](_0x34daa4[_0x1e50ff(0x159)]);},exports['sleep']=(_0x15fe3d=0x64)=>new Promise(_0x41f41f=>setTimeout(_0x41f41f,_0x15fe3d)),exports['debug']=_0x3288a4=>{const _0x4ab9ef=a123_0x2d8159,_0xb1ebdf={};_0xb1ebdf[_0x4ab9ef(0x164)]=function(_0x10de66,_0x585548){return _0x10de66===_0x585548;},_0xb1ebdf['iQKnm']=_0x4ab9ef(0x154),_0xb1ebdf[_0x4ab9ef(0x156)]=function(_0x216263,_0x424d54){return _0x216263===_0x424d54;},_0xb1ebdf[_0x4ab9ef(0x15a)]=function(_0x24de6a,_0xe61ed4){return _0x24de6a===_0xe61ed4;};const _0x7b3d69=_0xb1ebdf;fileLogger['debug']('['+new Date()[_0x4ab9ef(0x15f)]()+'][\x20'+constants[_0x4ab9ef(0x15e)]+_0x4ab9ef(0x167)+_0x3288a4),(_0x7b3d69['gInye'](process[_0x4ab9ef(0x162)][_0x4ab9ef(0x153)],_0x7b3d69[_0x4ab9ef(0x169)])||_0x7b3d69[_0x4ab9ef(0x156)](process[_0x4ab9ef(0x162)]['BROWSERSTACK_TEST_REPORTING_DEBUG'],'1')||_0x7b3d69[_0x4ab9ef(0x15a)](process[_0x4ab9ef(0x162)][_0x4ab9ef(0x16d)],_0x7b3d69[_0x4ab9ef(0x169)])||_0x7b3d69[_0x4ab9ef(0x164)](process[_0x4ab9ef(0x162)][_0x4ab9ef(0x16d)],'1'))&&consoleHolder[_0x4ab9ef(0x151)]('\x0a['+new Date()[_0x4ab9ef(0x15f)]()+_0x4ab9ef(0x168)+constants[_0x4ab9ef(0x15e)]+_0x4ab9ef(0x167)+_0x3288a4+'\x0a');};
1
+ function a123_0x2e79(){const _0x14c0ec=['sleep','browserstackTestName','djnbM','threadId','OZZmR','14463uZzjoZ','../bin/utils/constants','\x20]\x20','./globals','1516041ZUiCpd','4836160wMIRrX','BROWSERSTACK_TEST_REPORTING_DEBUG','583JGIVxe','toISOString','368JgWdZU','211188RjGEvY','mNCBr','560892druody','7IhFncV','BROWSERSTACK_OBSERVABILITY_DEBUG','5TOiYFj','4iKgeSR','getProcessId','log','env','VJTZO','TEST_REPORTING_ANALYTICS','KDvEE','][\x20','getTestName','pid','843365ATfHVH','191350EzLfrV','getGlobal'];a123_0x2e79=function(){return _0x14c0ec;};return a123_0x2e79();}const a123_0x429795=a123_0x1a49;function a123_0x1a49(_0x1000f2,_0x83b70c){const _0x2e79ff=a123_0x2e79();return a123_0x1a49=function(_0x1a4955,_0x35fa54){_0x1a4955=_0x1a4955-0x1bd;let _0x493521=_0x2e79ff[_0x1a4955];return _0x493521;},a123_0x1a49(_0x1000f2,_0x83b70c);}(function(_0x48df54,_0x36ffba){const _0x2b1867=a123_0x1a49,_0x93a71b=_0x48df54();while(!![]){try{const _0x2c7768=parseInt(_0x2b1867(0x1de))/0x1*(-parseInt(_0x2b1867(0x1c8))/0x2)+-parseInt(_0x2b1867(0x1d3))/0x3+parseInt(_0x2b1867(0x1bd))/0x4*(-parseInt(_0x2b1867(0x1c7))/0x5)+parseInt(_0x2b1867(0x1db))/0x6*(parseInt(_0x2b1867(0x1dc))/0x7)+parseInt(_0x2b1867(0x1d8))/0x8*(-parseInt(_0x2b1867(0x1cf))/0x9)+parseInt(_0x2b1867(0x1d4))/0xa+parseInt(_0x2b1867(0x1d6))/0xb*(parseInt(_0x2b1867(0x1d9))/0xc);if(_0x2c7768===_0x36ffba)break;else _0x93a71b['push'](_0x93a71b['shift']());}catch(_0x5d2469){_0x93a71b['push'](_0x93a71b['shift']());}}}(a123_0x2e79,0x45388));const worker=require('worker_threads'),{fileLogger}=require('./logger'),{consoleHolder}=require('./test-observability/constants'),globals=require(a123_0x429795(0x1d2)),constants=require(a123_0x429795(0x1d0));exports[a123_0x429795(0x1be)]=()=>{const _0x158781=a123_0x429795;return process[_0x158781(0x1c6)]+'-'+worker[_0x158781(0x1cd)];},exports[a123_0x429795(0x1c5)]=()=>{const _0x34c802=a123_0x429795,_0x20eedc={};_0x20eedc['djnbM']=_0x34c802(0x1cb);const _0x2d1dbf=_0x20eedc;return globals[_0x34c802(0x1c9)](_0x2d1dbf[_0x34c802(0x1cc)]);},exports[a123_0x429795(0x1ca)]=(_0x5a666f=0x64)=>new Promise(_0x15ea66=>setTimeout(_0x15ea66,_0x5a666f)),exports['debug']=_0xdb938=>{const _0x12c421=a123_0x429795,_0x1b7ba3={};_0x1b7ba3[_0x12c421(0x1ce)]=function(_0x3ebcc3,_0x4e6262){return _0x3ebcc3===_0x4e6262;},_0x1b7ba3['mNCBr']='true',_0x1b7ba3['VJTZO']=function(_0x571dd8,_0x2665ca){return _0x571dd8===_0x2665ca;},_0x1b7ba3['KDvEE']=function(_0x21a546,_0x11d2b8){return _0x21a546===_0x11d2b8;};const _0x1a8dde=_0x1b7ba3;fileLogger['debug']('['+new Date()[_0x12c421(0x1d7)]()+_0x12c421(0x1c4)+constants[_0x12c421(0x1c2)]+_0x12c421(0x1d1)+_0xdb938),(_0x1a8dde[_0x12c421(0x1ce)](process[_0x12c421(0x1c0)][_0x12c421(0x1d5)],_0x1a8dde[_0x12c421(0x1da)])||_0x1a8dde[_0x12c421(0x1ce)](process[_0x12c421(0x1c0)][_0x12c421(0x1d5)],'1')||_0x1a8dde[_0x12c421(0x1c1)](process[_0x12c421(0x1c0)][_0x12c421(0x1dd)],_0x1a8dde[_0x12c421(0x1da)])||_0x1a8dde[_0x12c421(0x1c3)](process[_0x12c421(0x1c0)][_0x12c421(0x1dd)],'1'))&&consoleHolder[_0x12c421(0x1bf)]('\x0a['+new Date()[_0x12c421(0x1d7)]()+_0x12c421(0x1c4)+constants['TEST_REPORTING_ANALYTICS']+_0x12c421(0x1d1)+_0xdb938+'\x0a');};
@@ -1 +1 @@
1
- const a124_0x28f5e8=a124_0x1d22;(function(_0x40a4f5,_0x3482e){const _0x345dff=a124_0x1d22,_0x32a104=_0x40a4f5();while(!![]){try{const _0x4623f2=-parseInt(_0x345dff(0x1f9))/0x1*(-parseInt(_0x345dff(0x1fc))/0x2)+-parseInt(_0x345dff(0x1e2))/0x3+-parseInt(_0x345dff(0x1ea))/0x4*(parseInt(_0x345dff(0x1e8))/0x5)+-parseInt(_0x345dff(0x1e6))/0x6+-parseInt(_0x345dff(0x1e7))/0x7*(-parseInt(_0x345dff(0x1fb))/0x8)+-parseInt(_0x345dff(0x1f1))/0x9*(parseInt(_0x345dff(0x1e5))/0xa)+parseInt(_0x345dff(0x1ee))/0xb*(parseInt(_0x345dff(0x1f8))/0xc);if(_0x4623f2===_0x3482e)break;else _0x32a104['push'](_0x32a104['shift']());}catch(_0x3514e7){_0x32a104['push'](_0x32a104['shift']());}}}(a124_0xbfc1,0x67876));function a124_0xbfc1(){const _0x435ad7=['TvewP','object','771951dAPQwZ','zreDO','duration_ms','949640fdhbeA','1298958zPNcID','1456714IywrJl','5DPUlwx','assign','134476CoQjkA','KCfIE','NvzoO','TaHsq','12142262AIXovE','headers','now','45GfPSSg','request','unpatch','method','status_code','GjKSt','once','12BsaXrg','1329bPcHEt','removeListener','8ouSfQT','142wZfiRo','FeLQt','url','host','pathname','exports','tBauE','restore','BHsKp','YXDYg','prototype','path','hostname','statusCode','KadIF','https','yAqiG','error'];a124_0xbfc1=function(){return _0x435ad7;};return a124_0xbfc1();}const http=require('http'),https=require(a124_0x28f5e8(0x1dd)),monkeypatch=require('monkeypatch');function a124_0x1d22(_0x3aefbf,_0x5071d3){const _0xbfc131=a124_0xbfc1();return a124_0x1d22=function(_0x1d226a,_0x4db288){_0x1d226a=_0x1d226a-0x1d3;let _0x179314=_0xbfc131[_0x1d226a];return _0x179314;},a124_0x1d22(_0x3aefbf,_0x5071d3);}function spy(_0x8409d){const _0x31b2ed=a124_0x28f5e8,_0x5cf134={'BHsKp':function(_0x2b7a4d,_0x44113c){return _0x2b7a4d instanceof _0x44113c;},'YXDYg':function(_0x503cfc,_0x21fc68){return _0x503cfc===_0x21fc68;},'DTBNj':_0x31b2ed(0x1e1),'uKQwy':function(_0x20ca93,_0x2a49ee){return _0x20ca93-_0x2a49ee;},'KCfIE':function(_0x1a3394,_0x52bdd8,_0xee00ce){return _0x1a3394(_0x52bdd8,_0xee00ce);},'NvzoO':_0x31b2ed(0x1df),'GjKSt':function(_0x5dc195,..._0x4003da){return _0x5dc195(..._0x4003da);},'yAqiG':function(_0x629a85,_0x178894,_0x5c5e8e){return _0x629a85(_0x178894,_0x5c5e8e);},'TaHsq':'response','TvewP':'socket','FeLQt':function(_0x13b688,_0x192f8e,_0x18adeb,_0x3ab6d1){return _0x13b688(_0x192f8e,_0x18adeb,_0x3ab6d1);},'zreDO':'end','tBauE':function(_0x238513,_0x49b194,_0x46d612,_0x395bc0){return _0x238513(_0x49b194,_0x46d612,_0x395bc0);},'KadIF':_0x31b2ed(0x1f2)},_0xf92f9=function(){const _0x6a78c4=_0x31b2ed,_0x41c9b5={'awbhk':function(_0x4b8bb6,_0x3aacb2,_0x396c27){const _0x42da52=a124_0x1d22;return _0x5cf134[_0x42da52(0x1de)](_0x4b8bb6,_0x3aacb2,_0x396c27);}},_0x508f79=arguments[0x0],_0x2eaede=Array[_0x6a78c4(0x1d8)]['slice']['call'](arguments,0x1),_0x13fcdd=_0x508f79['apply'](this,_0x2eaede);let _0x282408=Date[_0x6a78c4(0x1f0)](),_0x128100;const _0x137138={};_0x2eaede['forEach'](_0x33f35b=>{const _0x51cdbb=_0x6a78c4;if(_0x5cf134[_0x51cdbb(0x1d6)](_0x33f35b,URL)){const _0x3f46fe={};_0x3f46fe[_0x51cdbb(0x1fe)]=_0x33f35b,Object[_0x51cdbb(0x1e9)](_0x137138,_0x3f46fe);}else _0x5cf134[_0x51cdbb(0x1d7)](typeof _0x33f35b,_0x5cf134['DTBNj'])&&Object[_0x51cdbb(0x1e9)](_0x137138,_0x33f35b);});const _0x4e0f01=_0xeb8643=>{const _0x52f368=_0x6a78c4,_0x1208e9={};_0x1208e9[_0x52f368(0x1ff)]=_0x137138['host']||_0x137138[_0x52f368(0x1da)]||_0x137138['url']&&(_0x137138['url'][_0x52f368(0x1ff)]||_0x137138[_0x52f368(0x1fe)][_0x52f368(0x1da)]),_0x1208e9[_0x52f368(0x1d9)]=_0x137138['path']||_0x137138[_0x52f368(0x1fe)]&&_0x137138[_0x52f368(0x1fe)][_0x52f368(0x200)],_0x1208e9[_0x52f368(0x1f4)]=_0x137138[_0x52f368(0x1f4)],_0x1208e9[_0x52f368(0x1ef)]=_0x137138['headers'],_0x41c9b5['awbhk'](_0x8409d,_0xeb8643,_0x1208e9);};return _0x13fcdd[_0x6a78c4(0x1f7)](_0x5cf134[_0x6a78c4(0x1ed)],_0x35150b=>{const _0x18d68b=_0x6a78c4,_0x3bf17b=_0x5cf134['uKQwy'](Date[_0x18d68b(0x1f0)](),_0x282408),_0xde1718={};_0xde1718[_0x18d68b(0x1da)]=_0x137138['host']||_0x137138[_0x18d68b(0x1da)]||_0x137138[_0x18d68b(0x1fe)]&&(_0x137138[_0x18d68b(0x1fe)]['host']||_0x137138['url']['hostname']),_0xde1718[_0x18d68b(0x1d9)]=_0x137138[_0x18d68b(0x1d9)]||_0x137138[_0x18d68b(0x1fe)]&&_0x137138[_0x18d68b(0x1fe)][_0x18d68b(0x200)],_0xde1718[_0x18d68b(0x1f4)]=_0x137138[_0x18d68b(0x1f4)],_0xde1718['headers']=_0x137138[_0x18d68b(0x1ef)],_0xde1718[_0x18d68b(0x1f5)]=_0x35150b[_0x18d68b(0x1db)],_0xde1718[_0x18d68b(0x1e4)]=_0x3bf17b,_0x5cf134[_0x18d68b(0x1eb)](_0x8409d,null,_0xde1718),_0x128100[_0x18d68b(0x1fa)](_0x5cf134[_0x18d68b(0x1ec)],_0x4e0f01);}),_0x13fcdd['on'](_0x5cf134[_0x6a78c4(0x1e0)],_0x128ca2=>{_0x128100=_0x128ca2,_0x128ca2['once'](_0x5cf134['NvzoO'],_0x4e0f01);}),_0x5cf134[_0x6a78c4(0x1fd)](monkeypatch,_0x13fcdd,_0x5cf134[_0x6a78c4(0x1e3)],(_0x31b79c,..._0x4020d8)=>{const _0x31c84f=_0x6a78c4;_0x282408=Date[_0x31c84f(0x1f0)](),_0x5cf134[_0x31c84f(0x1f6)](_0x31b79c,..._0x4020d8);}),_0x13fcdd;};_0x5cf134[_0x31b2ed(0x1d4)](monkeypatch,http,_0x5cf134['KadIF'],_0xf92f9),_0x5cf134[_0x31b2ed(0x1d4)](monkeypatch,https,_0x5cf134[_0x31b2ed(0x1dc)],_0xf92f9);}function restore(){const _0x2e21b7=a124_0x28f5e8;http[_0x2e21b7(0x1f2)][_0x2e21b7(0x1f3)](),https[_0x2e21b7(0x1f2)]['unpatch']();}const a124_0x3b89b4={};a124_0x3b89b4['spy']=spy,a124_0x3b89b4[a124_0x28f5e8(0x1d5)]=restore,module[a124_0x28f5e8(0x1d3)]=a124_0x3b89b4;
1
+ const a124_0x37f1eb=a124_0xa518;(function(_0x4a4c27,_0x4a24b7){const _0x1de6fb=a124_0xa518,_0xbf6789=_0x4a4c27();while(!![]){try{const _0x6f04e0=parseInt(_0x1de6fb(0x177))/0x1+parseInt(_0x1de6fb(0x16a))/0x2*(parseInt(_0x1de6fb(0x15c))/0x3)+-parseInt(_0x1de6fb(0x15b))/0x4*(-parseInt(_0x1de6fb(0x188))/0x5)+parseInt(_0x1de6fb(0x17f))/0x6*(-parseInt(_0x1de6fb(0x17d))/0x7)+-parseInt(_0x1de6fb(0x168))/0x8*(parseInt(_0x1de6fb(0x15d))/0x9)+-parseInt(_0x1de6fb(0x179))/0xa+parseInt(_0x1de6fb(0x160))/0xb;if(_0x6f04e0===_0x4a24b7)break;else _0xbf6789['push'](_0xbf6789['shift']());}catch(_0x57f79a){_0xbf6789['push'](_0xbf6789['shift']());}}}(a124_0x245a,0xb75b7));function a124_0xa518(_0x2739a5,_0x2d14b1){const _0x245a86=a124_0x245a();return a124_0xa518=function(_0xa518d,_0xcb1d1d){_0xa518d=_0xa518d-0x15b;let _0x3fc837=_0x245a86[_0xa518d];return _0x3fc837;},a124_0xa518(_0x2739a5,_0x2d14b1);}const http=require('http'),https=require(a124_0x37f1eb(0x16d)),monkeypatch=require('monkeypatch');function spy(_0x3fb69a){const _0x532f68=a124_0x37f1eb,_0x4ddd82={'yGHCY':function(_0x1be6d6,_0x168d05,_0x20666c){return _0x1be6d6(_0x168d05,_0x20666c);},'nIVSa':function(_0x58fee9,_0xedee9d){return _0x58fee9-_0xedee9d;},'jAnBK':_0x532f68(0x17e),'Bdrxs':function(_0x462641,_0x1d5881){return _0x462641 instanceof _0x1d5881;},'PLeeO':function(_0xb6f575,_0x3dd01a){return _0xb6f575===_0x3dd01a;},'fLxcx':_0x532f68(0x16e),'KJzdw':function(_0xd4ae51,..._0xc2c772){return _0xd4ae51(..._0xc2c772);},'QXpGt':_0x532f68(0x16c),'qxBik':_0x532f68(0x189),'adgEq':function(_0x2d063a,_0x5b1323,_0x2ffd23,_0xd10e0f){return _0x2d063a(_0x5b1323,_0x2ffd23,_0xd10e0f);},'SYlKy':'end','cBOJg':_0x532f68(0x180),'TqwuN':function(_0x3c851c,_0x299d26,_0x56261b,_0x3d0db0){return _0x3c851c(_0x299d26,_0x56261b,_0x3d0db0);}},_0x23077f=function(){const _0x17344c=_0x532f68,_0x23abfe={'GKNTs':function(_0x5d64b7,_0x52a1d8){const _0x998613=a124_0xa518;return _0x4ddd82[_0x998613(0x178)](_0x5d64b7,_0x52a1d8);},'ctYnS':function(_0x1db914,_0x3b1f37){return _0x4ddd82['PLeeO'](_0x1db914,_0x3b1f37);},'QBbyl':_0x4ddd82[_0x17344c(0x175)],'isSzR':function(_0x4ed2be,..._0x1ae47e){const _0x5ab906=_0x17344c;return _0x4ddd82[_0x5ab906(0x165)](_0x4ed2be,..._0x1ae47e);}},_0x468a81=arguments[0x0],_0x1cd512=Array['prototype'][_0x17344c(0x171)][_0x17344c(0x187)](arguments,0x1),_0x9e1d94=_0x468a81['apply'](this,_0x1cd512);let _0x26ecf0=Date[_0x17344c(0x174)](),_0x334ed5;const _0x5ce2f1={};_0x1cd512[_0x17344c(0x161)](_0x14026a=>{const _0x17eb7e=_0x17344c;if(_0x23abfe['GKNTs'](_0x14026a,URL)){const _0x34f60a={};_0x34f60a[_0x17eb7e(0x18a)]=_0x14026a,Object[_0x17eb7e(0x183)](_0x5ce2f1,_0x34f60a);}else _0x23abfe['ctYnS'](typeof _0x14026a,_0x23abfe[_0x17eb7e(0x170)])&&Object[_0x17eb7e(0x183)](_0x5ce2f1,_0x14026a);});const _0x10ed25=_0x4469b9=>{const _0x430684=_0x17344c,_0x2cc25d={};_0x2cc25d[_0x430684(0x167)]=_0x5ce2f1[_0x430684(0x167)]||_0x5ce2f1['hostname']||_0x5ce2f1[_0x430684(0x18a)]&&(_0x5ce2f1['url'][_0x430684(0x167)]||_0x5ce2f1['url']['hostname']),_0x2cc25d[_0x430684(0x17b)]=_0x5ce2f1['path']||_0x5ce2f1['url']&&_0x5ce2f1['url']['pathname'],_0x2cc25d[_0x430684(0x184)]=_0x5ce2f1[_0x430684(0x184)],_0x2cc25d[_0x430684(0x162)]=_0x5ce2f1[_0x430684(0x162)],_0x4ddd82['yGHCY'](_0x3fb69a,_0x4469b9,_0x2cc25d);};return _0x9e1d94[_0x17344c(0x17a)](_0x4ddd82[_0x17344c(0x15f)],_0x1cef80=>{const _0x4554bf=_0x17344c,_0x55d649=_0x4ddd82['nIVSa'](Date[_0x4554bf(0x174)](),_0x26ecf0),_0x47081c={};_0x47081c[_0x4554bf(0x15e)]=_0x5ce2f1[_0x4554bf(0x167)]||_0x5ce2f1[_0x4554bf(0x15e)]||_0x5ce2f1[_0x4554bf(0x18a)]&&(_0x5ce2f1[_0x4554bf(0x18a)][_0x4554bf(0x167)]||_0x5ce2f1[_0x4554bf(0x18a)]['hostname']),_0x47081c['path']=_0x5ce2f1[_0x4554bf(0x17b)]||_0x5ce2f1[_0x4554bf(0x18a)]&&_0x5ce2f1[_0x4554bf(0x18a)][_0x4554bf(0x17c)],_0x47081c[_0x4554bf(0x184)]=_0x5ce2f1[_0x4554bf(0x184)],_0x47081c['headers']=_0x5ce2f1[_0x4554bf(0x162)],_0x47081c[_0x4554bf(0x164)]=_0x1cef80[_0x4554bf(0x172)],_0x47081c[_0x4554bf(0x176)]=_0x55d649,_0x4ddd82['yGHCY'](_0x3fb69a,null,_0x47081c),_0x334ed5['removeListener'](_0x4ddd82[_0x4554bf(0x173)],_0x10ed25);}),_0x9e1d94['on'](_0x4ddd82[_0x17344c(0x181)],_0x40a92a=>{const _0x42773a=_0x17344c;_0x334ed5=_0x40a92a,_0x40a92a[_0x42773a(0x17a)](_0x4ddd82['jAnBK'],_0x10ed25);}),_0x4ddd82[_0x17344c(0x186)](monkeypatch,_0x9e1d94,_0x4ddd82[_0x17344c(0x166)],(_0x3d7626,..._0x20066d)=>{const _0x343f6f=_0x17344c;_0x26ecf0=Date[_0x343f6f(0x174)](),_0x23abfe[_0x343f6f(0x16f)](_0x3d7626,..._0x20066d);}),_0x9e1d94;};_0x4ddd82[_0x532f68(0x186)](monkeypatch,http,_0x4ddd82[_0x532f68(0x185)],_0x23077f),_0x4ddd82[_0x532f68(0x16b)](monkeypatch,https,_0x4ddd82['cBOJg'],_0x23077f);}function restore(){const _0x3c5db3=a124_0x37f1eb;http[_0x3c5db3(0x180)]['unpatch'](),https['request']['unpatch']();}function a124_0x245a(){const _0x343c3d=['statusCode','jAnBK','now','fLxcx','duration_ms','554188edAILM','Bdrxs','4995420YcayYH','once','path','pathname','1114883qtKwbu','error','12eCwxkA','request','qxBik','exports','assign','method','cBOJg','adgEq','call','6392065HNMPUh','socket','url','4rbmgps','33DJpVNG','45LWvaGG','hostname','QXpGt','3425345vhWvej','forEach','headers','restore','status_code','KJzdw','SYlKy','host','1648368sBcTaJ','spy','82790PiyTnQ','TqwuN','response','https','object','isSzR','QBbyl','slice'];a124_0x245a=function(){return _0x343c3d;};return a124_0x245a();}const a124_0x4678fc={};a124_0x4678fc[a124_0x37f1eb(0x169)]=spy,a124_0x4678fc[a124_0x37f1eb(0x163)]=restore,module[a124_0x37f1eb(0x182)]=a124_0x4678fc;
@@ -1 +1 @@
1
- function a125_0x548e(){const _0x13118a=['bqQmm','exports','http','190zsUAMY','JZYJg','17174278mSPyBl','https','48334oAnhBt','kkdRR','556704xsgnXM','KEEP_ALIVE','jnZqy','Agent','NlocM','UvEnZ','keepAliveMsecs','keepAlive','request','98400DYLRhM','30236LLZBdT','prototype','tzClP','hasOwnProperty','ZiGbE','./performance/performance-tester','call','2199323YYLWpC','globalAgent','VhbHC','measureWrapper','24uRwgSm','180vpGcUA','667821IrRjCn','GzNFG','465mnhgiR'];a125_0x548e=function(){return _0x13118a;};return a125_0x548e();}const a125_0x2ce1f3=a125_0x5381;(function(_0x4a525e,_0x205e5a){const _0x945bd3=a125_0x5381,_0x58eb42=_0x4a525e();while(!![]){try{const _0x149dad=parseInt(_0x945bd3(0x153))/0x1+-parseInt(_0x945bd3(0x13a))/0x2+-parseInt(_0x945bd3(0x155))/0x3*(-parseInt(_0x945bd3(0x146))/0x4)+parseInt(_0x945bd3(0x152))/0x5*(-parseInt(_0x945bd3(0x145))/0x6)+-parseInt(_0x945bd3(0x14d))/0x7*(parseInt(_0x945bd3(0x151))/0x8)+parseInt(_0x945bd3(0x13c))/0x9*(-parseInt(_0x945bd3(0x159))/0xa)+parseInt(_0x945bd3(0x138))/0xb;if(_0x149dad===_0x205e5a)break;else _0x58eb42['push'](_0x58eb42['shift']());}catch(_0x68fc81){_0x58eb42['push'](_0x58eb42['shift']());}}}(a125_0x548e,0xa32ce));function a125_0x5381(_0x4c0344,_0x406d73){const _0x548e9b=a125_0x548e();return a125_0x5381=function(_0x53810b,_0x2ea205){_0x53810b=_0x53810b-0x137;let _0x404633=_0x548e9b[_0x53810b];return _0x404633;},a125_0x5381(_0x4c0344,_0x406d73);}const PerformanceTester=require(a125_0x2ce1f3(0x14b)),{AUTOMATE_EVENTS:PerformanceEvents}=require('./performance/constants');module[a125_0x2ce1f3(0x157)]=PerformanceTester[a125_0x2ce1f3(0x150)](PerformanceEvents[a125_0x2ce1f3(0x13d)],function(){const _0x1d049f=a125_0x2ce1f3,_0x2f4c9a={'bqQmm':function(_0x589ad6,_0x55028b){return _0x589ad6===_0x55028b;},'kkdRR':'https:','tzClP':'agent','ZiGbE':function(_0x5e8ad5,_0x502bf1,_0x39577a){return _0x5e8ad5(_0x502bf1,_0x39577a);},'UvEnZ':function(_0x208508,_0x2dca91,_0x1a515a){return _0x208508(_0x2dca91,_0x1a515a);},'GzNFG':function(_0x59acf0,_0x24b41c){return _0x59acf0(_0x24b41c);},'NlocM':_0x1d049f(0x158),'VhbHC':_0x1d049f(0x139),'jnZqy':function(_0x59c51c,_0x42dec5){return _0x59c51c*_0x42dec5;},'JZYJg':_0x1d049f(0x143)},_0x29d495=_0x2f4c9a[_0x1d049f(0x154)](require,_0x2f4c9a[_0x1d049f(0x140)]),_0x3aa478=_0x2f4c9a[_0x1d049f(0x154)](require,_0x2f4c9a[_0x1d049f(0x14f)]),_0x2cd64f=_0x2f4c9a[_0x1d049f(0x13e)](0x1e,0x3e8);if(_0x29d495[_0x1d049f(0x14e)]&&Object[_0x1d049f(0x147)][_0x1d049f(0x149)][_0x1d049f(0x14c)](_0x29d495[_0x1d049f(0x14e)],_0x2f4c9a[_0x1d049f(0x137)]))_0x29d495[_0x1d049f(0x14e)][_0x1d049f(0x143)]=!![],_0x3aa478[_0x1d049f(0x14e)][_0x1d049f(0x143)]=!![],_0x29d495[_0x1d049f(0x14e)][_0x1d049f(0x142)]=_0x2cd64f,_0x3aa478['globalAgent'][_0x1d049f(0x142)]=_0x2cd64f;else{const _0x315cf7={};_0x315cf7[_0x1d049f(0x143)]=!![],_0x315cf7[_0x1d049f(0x142)]=_0x2cd64f;const _0x5c0803=new _0x29d495[(_0x1d049f(0x13f))](_0x315cf7),_0x438050={};_0x438050[_0x1d049f(0x143)]=!![],_0x438050[_0x1d049f(0x142)]=_0x2cd64f;const _0x3328d9=new _0x3aa478[(_0x1d049f(0x13f))](_0x438050),_0x1e05df=_0x29d495[_0x1d049f(0x144)],_0x2abcb4=_0x3aa478[_0x1d049f(0x144)];_0x29d495[_0x1d049f(0x144)]=function(_0x32e10c,_0x201186){const _0xa85420=_0x1d049f;if(_0x2f4c9a[_0xa85420(0x156)](_0x32e10c['protocol'],_0x2f4c9a[_0xa85420(0x13b)]))return _0x32e10c[_0x2f4c9a[_0xa85420(0x148)]]=_0x3328d9,_0x2f4c9a[_0xa85420(0x14a)](_0x2abcb4,_0x32e10c,_0x201186);return _0x32e10c[_0x2f4c9a[_0xa85420(0x148)]]=_0x5c0803,_0x2f4c9a[_0xa85420(0x141)](_0x1e05df,_0x32e10c,_0x201186);};}});
1
+ function a125_0x4d51(_0x4a95c9,_0x517df5){const _0x4d75a5=a125_0x4d75();return a125_0x4d51=function(_0x4d517b,_0x3f4ccf){_0x4d517b=_0x4d517b-0x139;let _0x11a906=_0x4d75a5[_0x4d517b];return _0x11a906;},a125_0x4d51(_0x4a95c9,_0x517df5);}const a125_0x143338=a125_0x4d51;(function(_0x5e6594,_0x5461ac){const _0x2ace9c=a125_0x4d51,_0x75a79b=_0x5e6594();while(!![]){try{const _0x39ff7c=parseInt(_0x2ace9c(0x152))/0x1+-parseInt(_0x2ace9c(0x14e))/0x2*(parseInt(_0x2ace9c(0x154))/0x3)+parseInt(_0x2ace9c(0x142))/0x4+parseInt(_0x2ace9c(0x143))/0x5*(-parseInt(_0x2ace9c(0x13b))/0x6)+-parseInt(_0x2ace9c(0x14d))/0x7*(parseInt(_0x2ace9c(0x147))/0x8)+parseInt(_0x2ace9c(0x156))/0x9+parseInt(_0x2ace9c(0x13c))/0xa;if(_0x39ff7c===_0x5461ac)break;else _0x75a79b['push'](_0x75a79b['shift']());}catch(_0x1ebfb1){_0x75a79b['push'](_0x75a79b['shift']());}}}(a125_0x4d75,0x6796c));const PerformanceTester=require('./performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceEvents}=require(a125_0x143338(0x155));function a125_0x4d75(){const _0x15d25c=['keepAliveMsecs','globalAgent','QwBnf','rqUde','qGOlb','7okixYH','2tuouUm','prototype','request','vesaW','737051ZphqCK','keepAlive','912837SkNcqT','./performance/constants','2440026BqUklI','KEEP_ALIVE','agent','BJohh','Agent','uOnyG','66wSVFSV','2632470dFMakr','exports','hasOwnProperty','https','TqvDe','ajykO','616564hqQZCL','76135uKsxFR','measureWrapper','protocol','TrgaI','4235816TQfvrq'];a125_0x4d75=function(){return _0x15d25c;};return a125_0x4d75();}module[a125_0x143338(0x13d)]=PerformanceTester[a125_0x143338(0x144)](PerformanceEvents[a125_0x143338(0x157)],function(){const _0x176386=a125_0x143338,_0x6e9ca2={'vesaW':function(_0x226e54,_0xf2e1f1){return _0x226e54===_0xf2e1f1;},'rqUde':'https:','BJohh':_0x176386(0x158),'XJDow':function(_0x2b78dc,_0x3ae4f4,_0x3d0817){return _0x2b78dc(_0x3ae4f4,_0x3d0817);},'TqvDe':function(_0x475e47,_0x4c448a,_0x25e3e5){return _0x475e47(_0x4c448a,_0x25e3e5);},'QwBnf':function(_0x4faf6e,_0x381893){return _0x4faf6e(_0x381893);},'ajykO':'http','uOnyG':_0x176386(0x13f),'qGOlb':function(_0x285428,_0xeb844c){return _0x285428*_0xeb844c;},'TrgaI':'keepAlive'},_0x799423=_0x6e9ca2[_0x176386(0x14a)](require,_0x6e9ca2[_0x176386(0x141)]),_0x4ab144=_0x6e9ca2[_0x176386(0x14a)](require,_0x6e9ca2[_0x176386(0x13a)]),_0x229008=_0x6e9ca2[_0x176386(0x14c)](0x1e,0x3e8);if(_0x799423['globalAgent']&&Object[_0x176386(0x14f)][_0x176386(0x13e)]['call'](_0x799423['globalAgent'],_0x6e9ca2[_0x176386(0x146)]))_0x799423[_0x176386(0x149)][_0x176386(0x153)]=!![],_0x4ab144[_0x176386(0x149)]['keepAlive']=!![],_0x799423['globalAgent'][_0x176386(0x148)]=_0x229008,_0x4ab144[_0x176386(0x149)][_0x176386(0x148)]=_0x229008;else{const _0x528b09={};_0x528b09['keepAlive']=!![],_0x528b09[_0x176386(0x148)]=_0x229008;const _0x1ced07=new _0x799423[(_0x176386(0x139))](_0x528b09),_0x25a4de={};_0x25a4de['keepAlive']=!![],_0x25a4de['keepAliveMsecs']=_0x229008;const _0x587b48=new _0x4ab144[(_0x176386(0x139))](_0x25a4de),_0x29ae3c=_0x799423[_0x176386(0x150)],_0x5ea6f0=_0x4ab144[_0x176386(0x150)];_0x799423[_0x176386(0x150)]=function(_0x3cb46c,_0x27a317){const _0xb4a0eb=_0x176386;if(_0x6e9ca2[_0xb4a0eb(0x151)](_0x3cb46c[_0xb4a0eb(0x145)],_0x6e9ca2[_0xb4a0eb(0x14b)]))return _0x3cb46c[_0x6e9ca2[_0xb4a0eb(0x159)]]=_0x587b48,_0x6e9ca2['XJDow'](_0x5ea6f0,_0x3cb46c,_0x27a317);return _0x3cb46c[_0x6e9ca2[_0xb4a0eb(0x159)]]=_0x1ced07,_0x6e9ca2[_0xb4a0eb(0x140)](_0x29ae3c,_0x3cb46c,_0x27a317);};}});
@@ -1 +1 @@
1
- const a126_0x184954=a126_0xa4db;(function(_0x5a2c94,_0xeeee1b){const _0x3e4902=a126_0xa4db,_0x19b10d=_0x5a2c94();while(!![]){try{const _0x4dca8f=-parseInt(_0x3e4902(0x132))/0x1+parseInt(_0x3e4902(0x12e))/0x2*(-parseInt(_0x3e4902(0x129))/0x3)+-parseInt(_0x3e4902(0x11e))/0x4+-parseInt(_0x3e4902(0x124))/0x5+parseInt(_0x3e4902(0x131))/0x6+parseInt(_0x3e4902(0x136))/0x7*(parseInt(_0x3e4902(0x11c))/0x8)+parseInt(_0x3e4902(0x134))/0x9;if(_0x4dca8f===_0xeeee1b)break;else _0x19b10d['push'](_0x19b10d['shift']());}catch(_0x562b00){_0x19b10d['push'](_0x19b10d['shift']());}}}(a126_0x3e48,0xd2a95));const path=require(a126_0x184954(0x128)),{logDir}=require('../logger'),a126_0xaa2ebe={};a126_0xaa2ebe['PLAYWRIGHT']=a126_0x184954(0x133),a126_0xaa2ebe['MOCHA']=a126_0x184954(0x12d),a126_0xaa2ebe[a126_0x184954(0x122)]=a126_0x184954(0x117),a126_0xaa2ebe[a126_0x184954(0x11a)]=a126_0x184954(0x121),a126_0xaa2ebe[a126_0x184954(0x120)]=a126_0x184954(0x130),a126_0xaa2ebe[a126_0x184954(0x12a)]=a126_0x184954(0x12b),module[a126_0x184954(0x11d)]={'consoleHolder':Object[a126_0x184954(0x11b)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a126_0x184954(0x116),'OBSERVABILITY_UPLOAD_API_URL':'https://upload-observability.browserstack.com','EVENT_ENDPOINT':a126_0x184954(0x127),'BATCH_ENDPOINT':a126_0x184954(0x123),'SCREENSHOT_ENDPOINT':'api/v1/screenshots','UPLOAD_ATTACHMENT_ENDPOINT':a126_0x184954(0x119),'DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0xea60,'MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE':0x64*0x400*0x400,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':path[a126_0x184954(0x135)](logDir,a126_0x184954(0x11f)),'FRAMEWORKS':a126_0xaa2ebe};function a126_0xa4db(_0x2e4c47,_0x34b478){const _0x3e48da=a126_0x3e48();return a126_0xa4db=function(_0xa4db59,_0x1e137d){_0xa4db59=_0xa4db59-0x111;let _0x57a618=_0x3e48da[_0xa4db59];return _0x57a618;},a126_0xa4db(_0x2e4c47,_0x34b478);}function a126_0x3e48(){const _0x124f60=['assign','24KNxQtG','exports','5038392eyNxKl','.obs_test_details','JEST','codeceptjs-cucumber','CODECEPT','api/v1/batch','2620740GsovxQ','https://upload-observability-preprod.bsstag.com','prod','api/v1/event','path','514092kfDcaM','CUCUMBER','cucumber','staging','mocha','8ePGyOn','preprod','jest','10101312oktUWS','1302793YXUjWr','Playwright','15857847Hexbrt','join','2775101vvEQTO','https://upload-observability-devtestops-ssi.bsstag.com','stag','OBSERVABILITY_UPLOAD_API_URL','API_URL','toLowerCase','https://collector-observability-preprod.bsstag.com','https://collector-observability.browserstack.com','codeceptjs','env','upload-attachments','CODECEPT_CUCUMBER'];a126_0x3e48=function(){return _0x124f60;};return a126_0x3e48();}const _env=(process[a126_0x184954(0x118)]['BROWSERSTACK_ENV']||a126_0x184954(0x126))[a126_0x184954(0x114)]();if(_env===a126_0x184954(0x12c)||_env===a126_0x184954(0x111))module[a126_0x184954(0x11d)][a126_0x184954(0x113)]='https://collector-observability-devtestops.bsstag.com',module[a126_0x184954(0x11d)][a126_0x184954(0x112)]=a126_0x184954(0x137);else(_env===a126_0x184954(0x12f)||_env==='pre-prod')&&(module['exports'][a126_0x184954(0x113)]=a126_0x184954(0x115),module[a126_0x184954(0x11d)][a126_0x184954(0x112)]=a126_0x184954(0x125));
1
+ function a126_0x4fc1(){const _0x3af926=['preprod','api/v1/screenshots','Playwright','8ZiofPv','119740VTeGRP','BROWSERSTACK_ENV','stag','929832YTjYei','toLowerCase','prod','OBSERVABILITY_UPLOAD_API_URL','CUCUMBER','jest','cucumber','pre-prod','https://collector-observability-preprod.bsstag.com','env','API_URL','273703tUeTJN','CODECEPT','https://collector-observability-devtestops.bsstag.com','upload-attachments','codeceptjs','CODECEPT_CUCUMBER','codeceptjs-cucumber','JEST','api/v1/event','379340YhXBeJ','PLAYWRIGHT','https://upload-observability-devtestops-ssi.bsstag.com','https://upload-observability.browserstack.com','api/v1/batch','path','2194479uZGwTf','339756ncjxep','join','exports','1292557tgWKgZ','assign','https://collector-observability.browserstack.com','24HehCwb','MOCHA','staging'];a126_0x4fc1=function(){return _0x3af926;};return a126_0x4fc1();}const a126_0x2e7269=a126_0x5ed7;(function(_0x5af316,_0x4d4818){const _0x1419f3=a126_0x5ed7,_0x1cdb0f=_0x5af316();while(!![]){try{const _0x4d924c=parseInt(_0x1419f3(0x162))/0x1+parseInt(_0x1419f3(0x16b))/0x2+parseInt(_0x1419f3(0x172))/0x3+-parseInt(_0x1419f3(0x157))/0x4+parseInt(_0x1419f3(0x154))/0x5*(-parseInt(_0x1419f3(0x178))/0x6)+-parseInt(_0x1419f3(0x175))/0x7*(-parseInt(_0x1419f3(0x153))/0x8)+-parseInt(_0x1419f3(0x171))/0x9;if(_0x4d924c===_0x4d4818)break;else _0x1cdb0f['push'](_0x1cdb0f['shift']());}catch(_0x5229b1){_0x1cdb0f['push'](_0x1cdb0f['shift']());}}}(a126_0x4fc1,0x2e30b));function a126_0x5ed7(_0xa326ae,_0x118057){const _0x4fc18b=a126_0x4fc1();return a126_0x5ed7=function(_0x5ed73f,_0x434e98){_0x5ed73f=_0x5ed73f-0x150;let _0x19da0d=_0x4fc18b[_0x5ed73f];return _0x19da0d;},a126_0x5ed7(_0xa326ae,_0x118057);}const path=require(a126_0x2e7269(0x170)),{logDir}=require('../logger'),a126_0xc7559e={};a126_0xc7559e[a126_0x2e7269(0x16c)]=a126_0x2e7269(0x152),a126_0xc7559e[a126_0x2e7269(0x179)]='mocha',a126_0xc7559e[a126_0x2e7269(0x163)]=a126_0x2e7269(0x166),a126_0xc7559e[a126_0x2e7269(0x167)]=a126_0x2e7269(0x168),a126_0xc7559e[a126_0x2e7269(0x169)]=a126_0x2e7269(0x15c),a126_0xc7559e[a126_0x2e7269(0x15b)]=a126_0x2e7269(0x15d),module[a126_0x2e7269(0x174)]={'consoleHolder':Object[a126_0x2e7269(0x176)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a126_0x2e7269(0x177),'OBSERVABILITY_UPLOAD_API_URL':a126_0x2e7269(0x16e),'EVENT_ENDPOINT':a126_0x2e7269(0x16a),'BATCH_ENDPOINT':a126_0x2e7269(0x16f),'SCREENSHOT_ENDPOINT':a126_0x2e7269(0x151),'UPLOAD_ATTACHMENT_ENDPOINT':a126_0x2e7269(0x165),'DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0xea60,'MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE':0x64*0x400*0x400,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':path[a126_0x2e7269(0x173)](logDir,'.obs_test_details'),'FRAMEWORKS':a126_0xc7559e};const _env=(process[a126_0x2e7269(0x160)][a126_0x2e7269(0x155)]||a126_0x2e7269(0x159))[a126_0x2e7269(0x158)]();if(_env===a126_0x2e7269(0x17a)||_env===a126_0x2e7269(0x156))module['exports'][a126_0x2e7269(0x161)]=a126_0x2e7269(0x164),module[a126_0x2e7269(0x174)][a126_0x2e7269(0x15a)]=a126_0x2e7269(0x16d);else(_env===a126_0x2e7269(0x150)||_env===a126_0x2e7269(0x15e))&&(module[a126_0x2e7269(0x174)]['API_URL']=a126_0x2e7269(0x15f),module[a126_0x2e7269(0x174)][a126_0x2e7269(0x15a)]='https://upload-observability-preprod.bsstag.com');
@@ -1 +1 @@
1
- function a127_0xd106(){const _0x1ae267=['env','parse','Pawjw',',\x20PID\x20-\x20','NEfMz','1bVtNIn','frameworkVersion','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','14657240kgylYR','toString','setAllDetails','\x20--\x20','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','CREDENTIALS_FOR_CRASH_REPORTING','Xmhds','9786420NYpejx','getFramework','username','prototype','setCredentials','bdvVq','inspect','SxhkJ','key','23508sbkGKz','constructor','length','DmXtc','captureError','wLsoV','KNbkC','.\x20Error\x20-\x20','accessKey','filterPII','HPZLt','ByhCY','setFrameworkDetails','stringify','208665pLXCTR','auth','format','1690074NTuZmN','ewbjd','CrashReporter','getCredentials','USER_CONFIG_FOR_REPORTING','stack','../helper','CybWM','Error\x20in\x20executing\x20','credentials','recursivelyDeletePIIKeysFromObject','toLowerCase','frameworkDetails','pid','NybDs','includes','jiYwk','depth','Finished\x20::\x20','uploadCrashReport','getPerformance','password','o11yErrorHandler','hKCJL','996zKYqIb','sTiNo','xZPYu','o11yClassErrorHandler','eZFYe','gaoWv','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','owkUE','frameworkName','biRCb','/api/v1/analytics','forEach','defineProperty','getConfig','../performance/performance-tester','.\x20Args\x20-\x20','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','osPQa','util','XhQDq','bnXTg','name','userConfig',',\x20Argument\x20-\x20','timerify','./utils','Started\x20::\x20','true','call','catch','jHphD','6fmwdvo','application/json','YsThX','mgPTo','apply','5481623NfJruQ','1102210ukhVDx','keys','[Crash_Report_Upload]\x20Success\x20response:\x20','getOwnPropertyNames','HBydY','BS_TESTOPS_BUILD_HASHED_ID','PuMLF','XGUrw','setConfigDetails','Content-Type'];a127_0xd106=function(){return _0x1ae267;};return a127_0xd106();}const a127_0x243a39=a127_0x1255;(function(_0x2a7b34,_0x2b4710){const _0x1cb060=a127_0x1255,_0x1c80e6=_0x2a7b34();while(!![]){try{const _0x5a8f04=-parseInt(_0x1cb060(0xef))/0x1*(parseInt(_0x1cb060(0xa3))/0x2)+-parseInt(_0x1cb060(0x102))/0x3*(parseInt(_0x1cb060(0xbb))/0x4)+parseInt(_0x1cb060(0xe0))/0x5+parseInt(_0x1cb060(0xda))/0x6*(parseInt(_0x1cb060(0xdf))/0x7)+parseInt(_0x1cb060(0xf2))/0x8+-parseInt(_0x1cb060(0xa0))/0x9+parseInt(_0x1cb060(0xf9))/0xa;if(_0x5a8f04===_0x2b4710)break;else _0x1c80e6['push'](_0x1c80e6['shift']());}catch(_0x4a66f3){_0x1c80e6['push'](_0x1c80e6['shift']());}}}(a127_0xd106,0xf2e7e));const util=require(a127_0x243a39(0xcd)),PerformanceTester=require(a127_0x243a39(0xc9)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a127_0x243a39(0xd4)),{getAgentVersion,nestedKeyValue}=require(a127_0x243a39(0xa9)),o11yErrorHandler=(_0xefbb2c,_0x2d0f44='',_0x31ceb4=[''],_0x49a269=![])=>{const _0xee237d={'HPZLt':function(_0x4deedc,_0x232007){return _0x4deedc(_0x232007);},'bdvVq':function(_0x2943a3,_0x39716a,_0x4b3dbf){return _0x2943a3(_0x39716a,_0x4b3dbf);},'mgPTo':function(_0x43d9fb,_0x2a65d2,_0x89576){return _0x43d9fb(_0x2a65d2,_0x89576);},'bnXTg':function(_0x4a55e8,_0x125512){return _0x4a55e8 instanceof _0x125512;},'CybWM':function(_0x3815a6,_0xd8a1ef,_0x533cde,_0x35b4b8,_0x3813fd){return _0x3815a6(_0xd8a1ef,_0x533cde,_0x35b4b8,_0x3813fd);}};return function(..._0xdfa3da){const _0x4ac995=a127_0x1255;try{let _0x198947=_0xefbb2c;process[_0x4ac995(0xea)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(_0x198947=PerformanceTester['getPerformance']()['timerify'](_0x198947));_0x49a269&&_0xee237d['HPZLt'](trace,_0x4ac995(0xd5)+_0x2d0f44+_0x4ac995(0xed)+process[_0x4ac995(0xb0)]+_0x4ac995(0xd2)+_0xee237d[_0x4ac995(0xfe)](nestedKeyValue,arguments[0x0],_0x31ceb4));const _0x498d50=_0x198947[_0x4ac995(0xde)](null,arguments);_0x49a269&&_0xee237d[_0x4ac995(0x10c)](trace,_0x4ac995(0xb5)+_0x2d0f44+_0x4ac995(0xed)+process[_0x4ac995(0xb0)]+_0x4ac995(0xd2)+_0xee237d[_0x4ac995(0xdd)](nestedKeyValue,arguments[0x0],_0x31ceb4));if(_0xee237d[_0x4ac995(0xcf)](_0x498d50,Promise))return _0x498d50[_0x4ac995(0xd8)](_0x271d4f=>processError(_0x271d4f,_0xefbb2c,_0xdfa3da,_0x2d0f44));return _0x498d50;}catch(_0x11c7ef){_0xee237d[_0x4ac995(0xaa)](processError,_0x11c7ef,_0xefbb2c,_0xdfa3da,_0x2d0f44);}};},o11yClassErrorHandler=(_0x4d9728,_0x7d9e67,_0xd8451c='')=>{const _0x8b5989=a127_0x243a39,_0x2f1c83={'biRCb':function(_0x28d12a,_0x5ee829){return _0x28d12a instanceof _0x5ee829;},'Aichq':function(_0x523960,_0x479c94,_0x53077c,_0x4cca9a,_0x5f2a43){return _0x523960(_0x479c94,_0x53077c,_0x4cca9a,_0x5f2a43);},'xZPYu':function(_0x4e03f8,_0x55116e){return _0x4e03f8===_0x55116e;},'YsThX':'function','gaoWv':function(_0x2c7547,_0x98d13a){return _0x2c7547!==_0x98d13a;},'osPQa':_0x8b5989(0x103),'cVqqt':function(_0x6eeb9a,_0x502f01){return _0x6eeb9a<_0x502f01;}},_0xfbd2ed=_0x4d9728[_0x8b5989(0xfc)];if(_0x2f1c83['cVqqt'](Object[_0x8b5989(0xe3)](_0xfbd2ed)[_0x8b5989(0x104)],0x2))return _0x4d9728;return Object[_0x8b5989(0xe3)](_0xfbd2ed)[_0x8b5989(0xc6)](_0x1db3e9=>{const _0x1c6726=_0x8b5989;if(!(_0x7d9e67&&_0x7d9e67[_0x1c6726(0xb2)](_0x1db3e9)))return;const _0x4e019c=_0xfbd2ed[_0x1db3e9];_0x2f1c83[_0x1c6726(0xbd)](typeof _0x4e019c,_0x2f1c83[_0x1c6726(0xdc)])&&_0x2f1c83[_0x1c6726(0xc0)](_0x1db3e9,_0x2f1c83[_0x1c6726(0xcc)])&&Object[_0x1c6726(0xc7)](_0xfbd2ed,_0x1db3e9,{'writable':!![],'value':function(..._0x17888b){const _0x17586b=_0x1c6726;try{const _0xac05d4=(process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester[_0x17586b(0xb7)]()[_0x17586b(0xd3)](_0x4e019c):_0x4e019c)[_0x17586b(0xd7)](this,..._0x17888b);if(_0x2f1c83[_0x17586b(0xc4)](_0xac05d4,Promise))return _0xac05d4[_0x17586b(0xd8)](_0x121ca3=>processError(_0x121ca3,_0x4e019c,_0x17888b,_0xd8451c));return _0xac05d4;}catch(_0x414eb2){_0x2f1c83['Aichq'](processError,_0x414eb2,_0x4e019c,_0x17888b,_0xd8451c);}}});}),_0x4d9728;};function a127_0x1255(_0x4420eb,_0x54c350){const _0xd10641=a127_0xd106();return a127_0x1255=function(_0x125502,_0x5181cc){_0x125502=_0x125502-0x9f;let _0x9b2572=_0xd10641[_0x125502];return _0x9b2572;},a127_0x1255(_0x4420eb,_0x54c350);}function processError(_0x2fad27,_0x502ded,_0x200961,_0xfead4c){const _0x3ec0f8=a127_0x243a39,_0x481ee0={'ewbjd':function(_0x352b22,_0x43617e){return _0x352b22(_0x43617e);}};_0x481ee0[_0x3ec0f8(0xa4)](debug,_0x3ec0f8(0xab)+_0x502ded[_0x3ec0f8(0xd0)]+'\x20--\x20'+_0xfead4c+_0x3ec0f8(0x109)+util[_0x3ec0f8(0xa2)](_0x2fad27)+_0x3ec0f8(0xca)+_0x200961+'.'),PerformanceTester[_0x3ec0f8(0x106)](_0x2fad27);let _0x54eaed;try{_0x54eaed=JSON[_0x3ec0f8(0x9f)](_0x200961);}catch(_0x346c19){const _0xd843c6={};_0xd843c6[_0x3ec0f8(0xb4)]=0x2,_0x54eaed=util[_0x3ec0f8(0xff)](_0x200961,_0xd843c6);}CrashReporter[_0x3ec0f8(0xb6)](_0x3ec0f8(0xab)+_0x502ded[_0x3ec0f8(0xd0)]+_0x3ec0f8(0xf5)+_0xfead4c+_0x3ec0f8(0x109)+_0x2fad27+'.\x20Args\x20-\x20'+_0x54eaed+'.',_0x2fad27&&_0x2fad27[_0x3ec0f8(0xa8)]);}class CrashReporter{static [a127_0x243a39(0xd1)]={};static [a127_0x243a39(0xac)];static [a127_0x243a39(0xaf)]={};static['initialize'](_0x5a065a,_0x1818b8,_0x53ca89=null){const _0x3cdd34=a127_0x243a39,_0x46fc97={'DmXtc':function(_0x181e42,_0x265331){return _0x181e42(_0x265331);},'NybDs':function(_0xa29df3,_0x5e6ac2){return _0xa29df3(_0x5e6ac2);}},_0x1772a5=_0x5a065a['frameworkName'],_0x3a2c22=_0x5a065a[_0x3cdd34(0xf0)];!_0x53ca89&&(_0x53ca89=_0x46fc97[_0x3cdd34(0x105)](getBrowserStackConfig,_0x1772a5));!_0x3a2c22&&_0x46fc97[_0x3cdd34(0xb1)](getFrameworkVersion,_0x1772a5);const _0x501dad={};_0x501dad[_0x3cdd34(0xc3)]=_0x1772a5,_0x501dad[_0x3cdd34(0xf0)]=_0x3a2c22,this[_0x3cdd34(0xf4)](_0x501dad,_0x1818b8,_0x46fc97[_0x3cdd34(0xb1)](getUserCredentials,_0x53ca89));}static[a127_0x243a39(0xfd)](_0x5b8307,_0x1cf5e9){const _0x6663df=a127_0x243a39,_0x17d5dc={};_0x17d5dc[_0x6663df(0xfb)]=_0x5b8307,_0x17d5dc[_0x6663df(0x10a)]=_0x1cf5e9,this[_0x6663df(0xac)]=_0x17d5dc,process['env'][_0x6663df(0xf7)]=JSON[_0x6663df(0x9f)](this[_0x6663df(0xac)]);}static['getCredentials'](){const _0x8e875f=a127_0x243a39,_0x189556={'NEfMz':function(_0x56113a,_0x4332dc){return _0x56113a(_0x4332dc);}};if(!this['credentials']&&process[_0x8e875f(0xea)][_0x8e875f(0xf7)])try{this['credentials']=JSON['parse'](process[_0x8e875f(0xea)][_0x8e875f(0xf7)]);}catch(_0x31c1a6){_0x189556[_0x8e875f(0xee)](debug,_0x8e875f(0xf6)+_0x31c1a6[_0x8e875f(0xf3)]());}return this['credentials'];}static[a127_0x243a39(0xe8)](_0x5b1694){const _0x244134=a127_0x243a39;this[_0x244134(0xd1)]=this[_0x244134(0x10b)](_0x5b1694),process[_0x244134(0xea)]['USER_CONFIG_FOR_REPORTING']=JSON[_0x244134(0x9f)](this[_0x244134(0xd1)]);}static[a127_0x243a39(0xc8)](){const _0x1ea7a1=a127_0x243a39,_0x12b9b7={'jHphD':function(_0x4d9f71,_0x4fd133){return _0x4d9f71===_0x4fd133;},'jiYwk':function(_0x594669,_0x5a7576){return _0x594669(_0x5a7576);}};if(_0x12b9b7[_0x1ea7a1(0xd9)](Object[_0x1ea7a1(0xe1)](this[_0x1ea7a1(0xd1)])[_0x1ea7a1(0x104)],0x0)&&process['env']['USER_CONFIG_FOR_REPORTING'])try{this[_0x1ea7a1(0xd1)]=JSON[_0x1ea7a1(0xeb)](process[_0x1ea7a1(0xea)][_0x1ea7a1(0xa7)]);}catch(_0x2d3e45){_0x12b9b7[_0x1ea7a1(0xb3)](debug,_0x1ea7a1(0xc1)+_0x2d3e45[_0x1ea7a1(0xf3)]()),this['userConfig']={};}return this[_0x1ea7a1(0xd1)];}static[a127_0x243a39(0x10e)](_0x2c4693){const _0x5b9d82=a127_0x243a39;this[_0x5b9d82(0xaf)]=_0x2c4693,process[_0x5b9d82(0xea)][_0x5b9d82(0xcb)]=JSON[_0x5b9d82(0x9f)](this[_0x5b9d82(0xaf)]);}static[a127_0x243a39(0xfa)](){const _0x2856cf=a127_0x243a39,_0x1d0eda={'LzhWy':function(_0x2d2a43,_0x2230c2){return _0x2d2a43===_0x2230c2;},'sTiNo':function(_0xb0f8da,_0x5d9c27){return _0xb0f8da(_0x5d9c27);}};if(_0x1d0eda['LzhWy'](Object[_0x2856cf(0xe1)](this[_0x2856cf(0xaf)])[_0x2856cf(0x104)],0x0)&&process[_0x2856cf(0xea)][_0x2856cf(0xcb)])try{this['frameworkDetails']=JSON[_0x2856cf(0xeb)](process['env'][_0x2856cf(0xcb)]);}catch(_0x330aff){_0x1d0eda[_0x2856cf(0xbc)](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x330aff[_0x2856cf(0xf3)]());}return this[_0x2856cf(0xaf)];}static[a127_0x243a39(0xf4)](_0x38e7a3,_0x1153cf,_0x2489c0){const _0x361813=a127_0x243a39;_0x38e7a3&&this[_0x361813(0x10e)](_0x38e7a3),_0x1153cf&&this['setConfigDetails'](_0x1153cf),_0x2489c0&&this[_0x361813(0xfd)](_0x2489c0[_0x361813(0xfb)],_0x2489c0['accessKey']);}static async[a127_0x243a39(0xb6)](_0x181feb,_0x37a20d){const _0x335739=a127_0x243a39,_0x506b10={'wLsoV':function(_0x103981,_0x1ea02f){return _0x103981(_0x1ea02f);},'ZTSAf':function(_0x1a8f5b,_0x4bc33c){return _0x1a8f5b(_0x4bc33c);},'vrNMo':_0x335739(0xf1),'eZFYe':function(_0x572f38){return _0x572f38();},'rrSIj':_0x335739(0xc5),'Xmhds':_0x335739(0xdb),'Pawjw':_0x335739(0xd6),'XGUrw':function(_0x1dddd8,_0x1cacac,_0x29a561,_0x371397,_0x5e07cc,_0x2ceed9){return _0x1dddd8(_0x1cacac,_0x29a561,_0x371397,_0x5e07cc,_0x2ceed9);},'hKCJL':'POST'};this[_0x335739(0xa6)]();if(!this[_0x335739(0xac)])return _0x506b10['ZTSAf'](debug,_0x506b10['vrNMo']);this[_0x335739(0xc8)](),this[_0x335739(0xfa)]();const _0x3b62ec={'hashed_id':process['env'][_0x335739(0xe5)],'observability_version':{'sdkVersion':_0x506b10[_0x335739(0xbf)](getAgentVersion),'frameworkName':this[_0x335739(0xaf)]['frameworkName'],'frameworkVersion':this[_0x335739(0xaf)]['frameworkVersion']},'exception':{'error':_0x181feb[_0x335739(0xf3)](),'stackTrace':_0x37a20d},'config':this[_0x335739(0xd1)]},_0x530084=_0x506b10['rrSIj'],_0x3393f3={};_0x3393f3[_0x335739(0xfb)]=this[_0x335739(0xac)][_0x335739(0xfb)],_0x3393f3[_0x335739(0xb8)]=this[_0x335739(0xac)]['accessKey'];const _0x2fd47f={};_0x2fd47f[_0x335739(0xe9)]=_0x506b10[_0x335739(0xf8)],_0x2fd47f['X-BSTACK-TESTOPS']=_0x506b10[_0x335739(0xec)];const _0x4716d0={};_0x4716d0[_0x335739(0xa1)]=_0x3393f3,_0x4716d0['headers']=_0x2fd47f;const _0x2ac7a3=_0x4716d0;_0x506b10[_0x335739(0xe7)](nodeRequest,_0x506b10[_0x335739(0xba)],_0x530084,_0x3b62ec,_0x2ac7a3,![])['then'](_0x2f1adc=>{const _0x35fdf7=_0x335739;_0x506b10[_0x35fdf7(0x107)](debug,_0x35fdf7(0xe2)+JSON['stringify'](_0x2f1adc));})['catch'](_0x4a4ec0=>{_0x506b10['ZTSAf'](debug,'[Crash_Report_Upload]\x20Failed\x20due\x20to\x20'+util['format'](_0x4a4ec0));});}static[a127_0x243a39(0xad)](_0x302a09){const _0x5d83eb=a127_0x243a39,_0x47b06d={};_0x47b06d[_0x5d83eb(0x10d)]='user',_0x47b06d[_0x5d83eb(0xce)]='username',_0x47b06d['PuMLF']=_0x5d83eb(0x101),_0x47b06d[_0x5d83eb(0x100)]=_0x5d83eb(0x10a),_0x47b06d[_0x5d83eb(0xc2)]=_0x5d83eb(0xb8),_0x47b06d[_0x5d83eb(0x108)]=function(_0x48507a,_0x168811){return _0x48507a===_0x168811;},_0x47b06d[_0x5d83eb(0xe4)]='object';const _0x41471d=_0x47b06d;if(!_0x302a09)return;const _0x47d342=[_0x41471d[_0x5d83eb(0x10d)],_0x41471d[_0x5d83eb(0xce)],_0x41471d[_0x5d83eb(0xe6)],_0x41471d[_0x5d83eb(0x100)],_0x41471d[_0x5d83eb(0xc2)]];for(const _0xcf16cc in _0x302a09){if(_0x47d342[_0x5d83eb(0xb2)](_0xcf16cc[_0x5d83eb(0xae)]()))delete _0x302a09[_0xcf16cc];else _0x41471d[_0x5d83eb(0x108)](typeof _0x302a09[_0xcf16cc],_0x41471d['HBydY'])&&this['recursivelyDeletePIIKeysFromObject'](_0x302a09[_0xcf16cc]);}}static[a127_0x243a39(0x10b)](_0x6a1d5d){const _0x49ec08=a127_0x243a39,_0x20597a=JSON[_0x49ec08(0xeb)](JSON[_0x49ec08(0x9f)](_0x6a1d5d));return this[_0x49ec08(0xad)](_0x20597a),_0x20597a;}}const a127_0x2b2ece={};a127_0x2b2ece[a127_0x243a39(0xb9)]=o11yErrorHandler,a127_0x2b2ece[a127_0x243a39(0xbe)]=o11yClassErrorHandler,a127_0x2b2ece[a127_0x243a39(0xa5)]=CrashReporter,module['exports']=a127_0x2b2ece;
1
+ const a127_0x17c85f=a127_0x25de;(function(_0x235d0c,_0x3261ad){const _0x29732f=a127_0x25de,_0x1613f5=_0x235d0c();while(!![]){try{const _0x21240d=-parseInt(_0x29732f(0x13f))/0x1*(-parseInt(_0x29732f(0x161))/0x2)+parseInt(_0x29732f(0x166))/0x3*(parseInt(_0x29732f(0x144))/0x4)+-parseInt(_0x29732f(0x110))/0x5*(-parseInt(_0x29732f(0x154))/0x6)+-parseInt(_0x29732f(0x15a))/0x7+parseInt(_0x29732f(0x177))/0x8*(parseInt(_0x29732f(0x131))/0x9)+parseInt(_0x29732f(0x113))/0xa*(parseInt(_0x29732f(0x137))/0xb)+-parseInt(_0x29732f(0x16e))/0xc;if(_0x21240d===_0x3261ad)break;else _0x1613f5['push'](_0x1613f5['shift']());}catch(_0x5ac58a){_0x1613f5['push'](_0x1613f5['shift']());}}}(a127_0x438d,0x4a510));const util=require(a127_0x17c85f(0x16b)),PerformanceTester=require('../performance/performance-tester'),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a127_0x17c85f(0x10d)),{getAgentVersion,nestedKeyValue}=require(a127_0x17c85f(0x11e)),o11yErrorHandler=(_0xcfe21d,_0x5e0aa0='',_0x5e5ef2=[''],_0x48ce61=![])=>{const _0x56f15b={'KHXem':function(_0x393128,_0x52b17d){return _0x393128(_0x52b17d);},'wLmoQ':function(_0x228068,_0x11352d,_0x1f2683){return _0x228068(_0x11352d,_0x1f2683);},'skkRC':function(_0x16d2a5,_0xbfcb7e){return _0x16d2a5(_0xbfcb7e);},'rxLOU':function(_0x220f20,_0x15278f,_0x439947){return _0x220f20(_0x15278f,_0x439947);},'CYLLi':function(_0x50e848,_0x4621bc){return _0x50e848 instanceof _0x4621bc;},'wMBnD':function(_0x172fb7,_0x412901,_0x55629e,_0x2d6b2c,_0x5dce8b){return _0x172fb7(_0x412901,_0x55629e,_0x2d6b2c,_0x5dce8b);}};return function(..._0x445777){const _0x54f7cd=a127_0x25de;try{let _0x24c5c2=_0xcfe21d;process['env'][_0x54f7cd(0x10c)]&&(_0x24c5c2=PerformanceTester['getPerformance']()['timerify'](_0x24c5c2));_0x48ce61&&_0x56f15b['KHXem'](trace,_0x54f7cd(0x13c)+_0x5e0aa0+',\x20PID\x20-\x20'+process['pid']+',\x20Argument\x20-\x20'+_0x56f15b[_0x54f7cd(0x139)](nestedKeyValue,arguments[0x0],_0x5e5ef2));const _0x27832b=_0x24c5c2[_0x54f7cd(0x12e)](null,arguments);_0x48ce61&&_0x56f15b[_0x54f7cd(0x12d)](trace,_0x54f7cd(0x142)+_0x5e0aa0+_0x54f7cd(0x167)+process[_0x54f7cd(0x171)]+_0x54f7cd(0x178)+_0x56f15b[_0x54f7cd(0x119)](nestedKeyValue,arguments[0x0],_0x5e5ef2));if(_0x56f15b['CYLLi'](_0x27832b,Promise))return _0x27832b[_0x54f7cd(0x16a)](_0x468cd4=>processError(_0x468cd4,_0xcfe21d,_0x445777,_0x5e0aa0));return _0x27832b;}catch(_0x5992bb){_0x56f15b[_0x54f7cd(0x14a)](processError,_0x5992bb,_0xcfe21d,_0x445777,_0x5e0aa0);}};},o11yClassErrorHandler=(_0x1892ba,_0x3fb7b5,_0x2bcc1d='')=>{const _0x3a98cc=a127_0x17c85f,_0x1f1152={'xXgHJ':function(_0x153b8d,_0x18b364){return _0x153b8d instanceof _0x18b364;},'jglDW':function(_0x5252a5,_0x10f1c4,_0xe5da88,_0x13a72c,_0x4ea836){return _0x5252a5(_0x10f1c4,_0xe5da88,_0x13a72c,_0x4ea836);},'cNfda':function(_0x8cc42b,_0x26801b){return _0x8cc42b===_0x26801b;},'mzsUZ':'function','yVTcg':function(_0x1a1f06,_0x4e1338){return _0x1a1f06!==_0x4e1338;},'KXBBn':_0x3a98cc(0x11f),'syxni':function(_0x1accea,_0x443963){return _0x1accea<_0x443963;}},_0x2bb821=_0x1892ba['prototype'];if(_0x1f1152[_0x3a98cc(0x124)](Object['getOwnPropertyNames'](_0x2bb821)['length'],0x2))return _0x1892ba;return Object[_0x3a98cc(0x135)](_0x2bb821)['forEach'](_0x2644f2=>{const _0x45a1a6=_0x3a98cc;if(!(_0x3fb7b5&&_0x3fb7b5['includes'](_0x2644f2)))return;const _0x210630=_0x2bb821[_0x2644f2];_0x1f1152[_0x45a1a6(0x14e)](typeof _0x210630,_0x1f1152[_0x45a1a6(0x109)])&&_0x1f1152[_0x45a1a6(0x153)](_0x2644f2,_0x1f1152[_0x45a1a6(0x148)])&&Object[_0x45a1a6(0x176)](_0x2bb821,_0x2644f2,{'writable':!![],'value':function(..._0x1100c0){const _0x218e24=_0x45a1a6;try{const _0x52d5e6=(process[_0x218e24(0x149)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester[_0x218e24(0x168)]()['timerify'](_0x210630):_0x210630)[_0x218e24(0x138)](this,..._0x1100c0);if(_0x1f1152['xXgHJ'](_0x52d5e6,Promise))return _0x52d5e6[_0x218e24(0x16a)](_0x3d0b07=>processError(_0x3d0b07,_0x210630,_0x1100c0,_0x2bcc1d));return _0x52d5e6;}catch(_0x568e18){_0x1f1152['jglDW'](processError,_0x568e18,_0x210630,_0x1100c0,_0x2bcc1d);}}});}),_0x1892ba;};function processError(_0x3363ce,_0x40476e,_0x2bd3cc,_0x9c9cce){const _0x560081=a127_0x17c85f,_0x531dee={'Lcukt':function(_0x218e6c,_0x120fa6){return _0x218e6c(_0x120fa6);}};_0x531dee['Lcukt'](debug,'Error\x20in\x20executing\x20'+_0x40476e['name']+_0x560081(0x140)+_0x9c9cce+_0x560081(0x172)+util[_0x560081(0x116)](_0x3363ce)+_0x560081(0x129)+_0x2bd3cc+'.'),PerformanceTester[_0x560081(0x17b)](_0x3363ce);let _0x54e0f9;try{_0x54e0f9=JSON[_0x560081(0x114)](_0x2bd3cc);}catch(_0x20032a){const _0x2efe6f={};_0x2efe6f['depth']=0x2,_0x54e0f9=util['inspect'](_0x2bd3cc,_0x2efe6f);}CrashReporter[_0x560081(0x179)](_0x560081(0x15b)+_0x40476e[_0x560081(0x133)]+_0x560081(0x140)+_0x9c9cce+_0x560081(0x172)+_0x3363ce+_0x560081(0x129)+_0x54e0f9+'.',_0x3363ce&&_0x3363ce[_0x560081(0x14d)]);}function a127_0x25de(_0x4f88f9,_0x1d94da){const _0x438de8=a127_0x438d();return a127_0x25de=function(_0x25de1e,_0x4f3473){_0x25de1e=_0x25de1e-0x108;let _0x35c15b=_0x438de8[_0x25de1e];return _0x35c15b;},a127_0x25de(_0x4f88f9,_0x1d94da);}class CrashReporter{static [a127_0x17c85f(0x120)]={};static [a127_0x17c85f(0x16f)];static [a127_0x17c85f(0x156)]={};static[a127_0x17c85f(0x117)](_0x1c7e27,_0x29102c,_0x3d9bff=null){const _0x25d204=a127_0x17c85f,_0x6bc279={'lGJkK':function(_0x43c7dc,_0x2c8e8c){return _0x43c7dc(_0x2c8e8c);},'lBtJf':function(_0x373b78,_0x191cdc){return _0x373b78(_0x191cdc);},'xGPge':function(_0x343283,_0x49e959){return _0x343283(_0x49e959);}},_0x3d3172=_0x1c7e27['frameworkName'],_0x2f3aaf=_0x1c7e27[_0x25d204(0x12c)];!_0x3d9bff&&(_0x3d9bff=_0x6bc279[_0x25d204(0x14f)](getBrowserStackConfig,_0x3d3172));!_0x2f3aaf&&_0x6bc279['lBtJf'](getFrameworkVersion,_0x3d3172);const _0x4e2b6e={};_0x4e2b6e[_0x25d204(0x17a)]=_0x3d3172,_0x4e2b6e[_0x25d204(0x12c)]=_0x2f3aaf,this[_0x25d204(0x130)](_0x4e2b6e,_0x29102c,_0x6bc279[_0x25d204(0x175)](getUserCredentials,_0x3d9bff));}static[a127_0x17c85f(0x125)](_0x4aa66e,_0x3b0996){const _0x94fd2f=a127_0x17c85f,_0x23ef80={};_0x23ef80['username']=_0x4aa66e,_0x23ef80[_0x94fd2f(0x170)]=_0x3b0996,this['credentials']=_0x23ef80,process[_0x94fd2f(0x149)][_0x94fd2f(0x155)]=JSON[_0x94fd2f(0x114)](this['credentials']);}static[a127_0x17c85f(0x15f)](){const _0x2e7a60=a127_0x17c85f,_0x1712e6={'VitZK':function(_0x3fe6ae,_0x444267){return _0x3fe6ae(_0x444267);}};if(!this['credentials']&&process[_0x2e7a60(0x149)][_0x2e7a60(0x155)])try{this[_0x2e7a60(0x16f)]=JSON['parse'](process[_0x2e7a60(0x149)]['CREDENTIALS_FOR_CRASH_REPORTING']);}catch(_0x1511fc){_0x1712e6[_0x2e7a60(0x15c)](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x1511fc[_0x2e7a60(0x14c)]());}return this[_0x2e7a60(0x16f)];}static[a127_0x17c85f(0x164)](_0xf521d){const _0x1c9131=a127_0x17c85f;this[_0x1c9131(0x120)]=this[_0x1c9131(0x121)](_0xf521d),process[_0x1c9131(0x149)]['USER_CONFIG_FOR_REPORTING']=JSON[_0x1c9131(0x114)](this[_0x1c9131(0x120)]);}static[a127_0x17c85f(0x151)](){const _0x1f3291=a127_0x17c85f,_0x27aa56={'npICq':function(_0x31300f,_0x2b2d5b){return _0x31300f===_0x2b2d5b;},'CAOzC':function(_0xddc85f,_0x3ccb2a){return _0xddc85f(_0x3ccb2a);}};if(_0x27aa56[_0x1f3291(0x132)](Object[_0x1f3291(0x13e)](this[_0x1f3291(0x120)])[_0x1f3291(0x10a)],0x0)&&process[_0x1f3291(0x149)]['USER_CONFIG_FOR_REPORTING'])try{this['userConfig']=JSON[_0x1f3291(0x10f)](process[_0x1f3291(0x149)][_0x1f3291(0x152)]);}catch(_0x2e06aa){_0x27aa56[_0x1f3291(0x16d)](debug,'Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20'+_0x2e06aa[_0x1f3291(0x14c)]()),this[_0x1f3291(0x120)]={};}return this[_0x1f3291(0x120)];}static[a127_0x17c85f(0x14b)](_0xdd49a7){const _0x128f19=a127_0x17c85f;this['frameworkDetails']=_0xdd49a7,process[_0x128f19(0x149)][_0x128f19(0x126)]=JSON[_0x128f19(0x114)](this[_0x128f19(0x156)]);}static[a127_0x17c85f(0x12b)](){const _0x4dbe5e=a127_0x17c85f,_0x548395={'KvveR':function(_0x85d050,_0x4d1d07){return _0x85d050===_0x4d1d07;},'pbkUp':function(_0x880007,_0x2ddcb5){return _0x880007(_0x2ddcb5);}};if(_0x548395[_0x4dbe5e(0x165)](Object[_0x4dbe5e(0x13e)](this[_0x4dbe5e(0x156)])[_0x4dbe5e(0x10a)],0x0)&&process[_0x4dbe5e(0x149)][_0x4dbe5e(0x126)])try{this['frameworkDetails']=JSON[_0x4dbe5e(0x10f)](process[_0x4dbe5e(0x149)][_0x4dbe5e(0x126)]);}catch(_0x5d1354){_0x548395['pbkUp'](debug,_0x4dbe5e(0x16c)+_0x5d1354['toString']());}return this['frameworkDetails'];}static['setAllDetails'](_0x249125,_0x3712ae,_0x284e5b){const _0x4041c5=a127_0x17c85f;_0x249125&&this[_0x4041c5(0x14b)](_0x249125),_0x3712ae&&this[_0x4041c5(0x164)](_0x3712ae),_0x284e5b&&this[_0x4041c5(0x125)](_0x284e5b[_0x4041c5(0x11c)],_0x284e5b['accessKey']);}static async[a127_0x17c85f(0x179)](_0x3ba566,_0x3645bd){const _0x1f2429=a127_0x17c85f,_0x3b924a={'hdoAv':function(_0x418c7b,_0x4660d4){return _0x418c7b(_0x4660d4);},'IFucP':function(_0x42e70d,_0x49eace){return _0x42e70d(_0x49eace);},'sVOKH':function(_0x4b839a,_0x17a5b9){return _0x4b839a(_0x17a5b9);},'cvdzQ':_0x1f2429(0x134),'jOqAT':function(_0x102bf3){return _0x102bf3();},'GRswI':_0x1f2429(0x160),'kYEQj':_0x1f2429(0x13b),'sEqti':_0x1f2429(0x173),'zxgJz':function(_0x2d35b6,_0x2025ca,_0x50032c,_0x351ae6,_0x289159,_0x5a718e){return _0x2d35b6(_0x2025ca,_0x50032c,_0x351ae6,_0x289159,_0x5a718e);},'iwrEu':_0x1f2429(0x13a)};this[_0x1f2429(0x15f)]();if(!this['credentials'])return _0x3b924a[_0x1f2429(0x145)](debug,_0x3b924a[_0x1f2429(0x12a)]);this['getConfig'](),this[_0x1f2429(0x12b)]();const _0x42db03={'hashed_id':process[_0x1f2429(0x149)][_0x1f2429(0x162)],'observability_version':{'sdkVersion':_0x3b924a[_0x1f2429(0x15d)](getAgentVersion),'frameworkName':this[_0x1f2429(0x156)][_0x1f2429(0x17a)],'frameworkVersion':this[_0x1f2429(0x156)]['frameworkVersion']},'exception':{'error':_0x3ba566[_0x1f2429(0x14c)](),'stackTrace':_0x3645bd},'config':this[_0x1f2429(0x120)]},_0x562abc=_0x3b924a['GRswI'],_0x4d86bf={};_0x4d86bf[_0x1f2429(0x11c)]=this[_0x1f2429(0x16f)][_0x1f2429(0x11c)],_0x4d86bf[_0x1f2429(0x169)]=this[_0x1f2429(0x16f)][_0x1f2429(0x170)];const _0x1d55de={};_0x1d55de[_0x1f2429(0x157)]=_0x3b924a[_0x1f2429(0x111)],_0x1d55de[_0x1f2429(0x141)]=_0x3b924a[_0x1f2429(0x112)];const _0x155ed9={};_0x155ed9[_0x1f2429(0x150)]=_0x4d86bf,_0x155ed9['headers']=_0x1d55de;const _0x4839e9=_0x155ed9;_0x3b924a[_0x1f2429(0x163)](nodeRequest,_0x3b924a[_0x1f2429(0x159)],_0x562abc,_0x42db03,_0x4839e9,![])[_0x1f2429(0x174)](_0x228c53=>{const _0x58f8c3=_0x1f2429;_0x3b924a[_0x58f8c3(0x10e)](debug,_0x58f8c3(0x136)+JSON[_0x58f8c3(0x114)](_0x228c53));})['catch'](_0xb494a0=>{const _0x7a6e7c=_0x1f2429;_0x3b924a[_0x7a6e7c(0x11d)](debug,_0x7a6e7c(0x12f)+util[_0x7a6e7c(0x116)](_0xb494a0));});}static[a127_0x17c85f(0x123)](_0x5f16ba){const _0xad9b81=a127_0x17c85f,_0x55ed3a={};_0x55ed3a[_0xad9b81(0x128)]=_0xad9b81(0x13d),_0x55ed3a[_0xad9b81(0x115)]=_0xad9b81(0x11c),_0x55ed3a[_0xad9b81(0x146)]=_0xad9b81(0x108),_0x55ed3a[_0xad9b81(0x122)]='accessKey',_0x55ed3a[_0xad9b81(0x11b)]=_0xad9b81(0x169),_0x55ed3a[_0xad9b81(0x15e)]=function(_0x2feb3d,_0x34cdc2){return _0x2feb3d===_0x34cdc2;},_0x55ed3a[_0xad9b81(0x158)]=_0xad9b81(0x11a);const _0xa05d76=_0x55ed3a;if(!_0x5f16ba)return;const _0x51b61e=[_0xa05d76[_0xad9b81(0x128)],_0xa05d76[_0xad9b81(0x115)],_0xa05d76[_0xad9b81(0x146)],_0xa05d76[_0xad9b81(0x122)],_0xa05d76[_0xad9b81(0x11b)]];for(const _0x3dc011 in _0x5f16ba){if(_0x51b61e[_0xad9b81(0x127)](_0x3dc011['toLowerCase']()))delete _0x5f16ba[_0x3dc011];else _0xa05d76[_0xad9b81(0x15e)](typeof _0x5f16ba[_0x3dc011],_0xa05d76[_0xad9b81(0x158)])&&this['recursivelyDeletePIIKeysFromObject'](_0x5f16ba[_0x3dc011]);}}static[a127_0x17c85f(0x121)](_0x4c7612){const _0x118ce0=a127_0x17c85f,_0x31312c=JSON[_0x118ce0(0x10f)](JSON[_0x118ce0(0x114)](_0x4c7612));return this[_0x118ce0(0x123)](_0x31312c),_0x31312c;}}const a127_0xb8c79d={};a127_0xb8c79d[a127_0x17c85f(0x147)]=o11yErrorHandler,a127_0xb8c79d[a127_0x17c85f(0x118)]=o11yClassErrorHandler,a127_0xb8c79d[a127_0x17c85f(0x143)]=CrashReporter,module[a127_0x17c85f(0x10b)]=a127_0xb8c79d;function a127_0x438d(){const _0x4d37f1=['auth','getConfig','USER_CONFIG_FOR_REPORTING','yVTcg','12yPgbLx','CREDENTIALS_FOR_CRASH_REPORTING','frameworkDetails','Content-Type','LqkZn','iwrEu','3869817aPfiKP','Error\x20in\x20executing\x20','VitZK','jOqAT','fLMHH','getCredentials','/api/v1/analytics','461866wVQCgH','BS_TESTOPS_BUILD_HASHED_ID','zxgJz','setConfigDetails','KvveR','3cLEFCX',',\x20PID\x20-\x20','getPerformance','password','catch','util','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','CAOzC','8304996vccsDt','credentials','accessKey','pid','.\x20Error\x20-\x20','true','then','xGPge','defineProperty','40TiOlAy',',\x20Argument\x20-\x20','uploadCrashReport','frameworkName','captureError','key','mzsUZ','length','exports','BROWSERSTACK_O11Y_PERF_MEASUREMENT','./utils','hdoAv','parse','405595RUBYZP','kYEQj','sEqti','80aTgVLQ','stringify','mVTJJ','format','initialize','o11yClassErrorHandler','rxLOU','object','vuODl','username','IFucP','../helper','constructor','userConfig','filterPII','ehAWy','recursivelyDeletePIIKeysFromObject','syxni','setCredentials','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','includes','LYprp','.\x20Args\x20-\x20','cvdzQ','getFramework','frameworkVersion','skkRC','apply','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','setAllDetails','11250RcKdma','npICq','name','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','getOwnPropertyNames','[Crash_Report_Upload]\x20Success\x20response:\x20','688391tDwbce','call','wLmoQ','POST','application/json','Started\x20::\x20','user','keys','2bWmEkk','\x20--\x20','X-BSTACK-TESTOPS','Finished\x20::\x20','CrashReporter','1673248fDTgyR','sVOKH','iWUYH','o11yErrorHandler','KXBBn','env','wMBnD','setFrameworkDetails','toString','stack','cNfda','lGJkK'];a127_0x438d=function(){return _0x4d37f1;};return a127_0x438d();}
@@ -1 +1 @@
1
- const a128_0xe8fc16=a128_0x2e80;function a128_0x6ad4(){const _0xfe03f0=['shutdown','resetEventBatchPolling','start','3224124DYfdSy','602535ynUzmc','error','VRSQl','event_type','nWIyx','eGRjH','screenshotEventUrl','\x20:\x20','FMVJR','RESETTING','proceedWithUrl','JUqNW','splice','util','uoyiA','Processing\x20events.\x20Queue\x20Length\x20-\x20','data','fAQGn','length','pollEventBatchInterval','moMIg','TestRunStarted','logs','MCzUN','cCPot','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','eventUrl','264DmTUUV','KDigy','GIfgF','jsxsV','PxOyf','hook_run','instance','./constants','\x20bytes.\x20Events\x20are\x20','./utils','response','test_run','uploadPending','5|2|6|1|0|3|4','join','HFoEd','shouldProceed','hiChI','36355DNQemx','status','HookRunFinished','exports','TEST_SCREENSHOT','upload-attachments','Zcich','14iFiIZV','WJedf','AqSoT','REMOVING','jVGUZ','getInstance','xLOaW','VdSrj','../../bin/utils/constants','cWEwy','ClQUA','mQCJS','SqOXi','started','message','batchAndPostEvents','format','proceedWithData','TEST_REPORTING_ANALYTICS','MsqOx','HookRunStarted','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','TestRunSkipped','pendingUploads','xtGAb','TestRunFinished','queue','TTadP','slice','kEDfV','zbBoC','IvjSo','POST','Rjuui','api/v1/batch','106LIadOB','split','max','303184VgTZMe','api/v1/screenshots','rMcpo','includes','EXCEPTION\x20IN\x20','startEventBatchPolling','5387850rnvFsE','wninR','1664172pemXvq','AdldD','ojpXM','.\x20Request\x20Size\x20-\x20','BATCH_EVENT_TYPES','2082rxwnUp','TEST_ATTACHMENT','uploadAttachmentUrl','byteLength','ECIwM','statusText','GhkSV','push','kind','removeEventBatchPolling','../helper'];a128_0x6ad4=function(){return _0xfe03f0;};return a128_0x6ad4();}function a128_0x2e80(_0x32eacd,_0x258807){const _0x6ad4fb=a128_0x6ad4();return a128_0x2e80=function(_0x2e8096,_0x6bfa69){_0x2e8096=_0x2e8096-0x1a5;let _0x1b8312=_0x6ad4fb[_0x2e8096];return _0x1b8312;},a128_0x2e80(_0x32eacd,_0x258807);}(function(_0x5c865d,_0x36c47c){const _0x1f0683=a128_0x2e80,_0x4282d2=_0x5c865d();while(!![]){try{const _0x24926e=-parseInt(_0x1f0683(0x1b3))/0x1*(-parseInt(_0x1f0683(0x219))/0x2)+parseInt(_0x1f0683(0x1c2))/0x3+parseInt(_0x1f0683(0x1ae))/0x4+-parseInt(_0x1f0683(0x1ef))/0x5*(parseInt(_0x1f0683(0x1dd))/0x6)+-parseInt(_0x1f0683(0x1f6))/0x7*(-parseInt(_0x1f0683(0x1a6))/0x8)+parseInt(_0x1f0683(0x1c1))/0x9+-parseInt(_0x1f0683(0x1ac))/0xa;if(_0x24926e===_0x36c47c)break;else _0x4282d2['push'](_0x4282d2['shift']());}catch(_0x9fdfae){_0x4282d2['push'](_0x4282d2['shift']());}}}(a128_0x6ad4,0x49ddd));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a128_0xe8fc16(0x1e4)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a128_0xe8fc16(0x1e6)),{nestedKeyValue}=require(a128_0xe8fc16(0x1bd)),util=require(a128_0xe8fc16(0x1cf)),constants=require(a128_0xe8fc16(0x1fe));class RequestQueueHandler{static [a128_0xe8fc16(0x1e3)];['pendingUploads']=0x0;constructor(){const _0x4e0f36=a128_0xe8fc16,_0x592675={};_0x592675[_0x4e0f36(0x1f5)]=_0x4e0f36(0x1ea),_0x592675['Rjuui']=_0x4e0f36(0x1f4),_0x592675['cCPot']=_0x4e0f36(0x1a7),_0x592675['GhkSV']='LogCreated',_0x592675['wninR']='CBTSessionCreated',_0x592675['uoyiA']=_0x4e0f36(0x20f),_0x592675['cRoBj']=_0x4e0f36(0x20c),_0x592675[_0x4e0f36(0x1ee)]=_0x4e0f36(0x1f1),_0x592675[_0x4e0f36(0x1b7)]=_0x4e0f36(0x1d7),_0x592675[_0x4e0f36(0x1c4)]=_0x4e0f36(0x20a),_0x592675[_0x4e0f36(0x1d9)]=_0x4e0f36(0x218);const _0x3e8bd4=_0x592675,_0x1c9d5a=_0x3e8bd4['Zcich'][_0x4e0f36(0x21a)]('|');let _0x1b185a=0x0;while(!![]){switch(_0x1c9d5a[_0x1b185a++]){case'0':this[_0x4e0f36(0x1b5)]=_0x3e8bd4[_0x4e0f36(0x217)];continue;case'1':this[_0x4e0f36(0x1c8)]=_0x3e8bd4[_0x4e0f36(0x1da)];continue;case'2':this[_0x4e0f36(0x203)]=![];continue;case'3':this[_0x4e0f36(0x1b2)]=[_0x3e8bd4[_0x4e0f36(0x1b9)],_0x3e8bd4[_0x4e0f36(0x1ad)],_0x3e8bd4[_0x4e0f36(0x1d0)],_0x3e8bd4['cRoBj'],_0x3e8bd4[_0x4e0f36(0x1ee)],_0x3e8bd4['ECIwM'],_0x3e8bd4[_0x4e0f36(0x1c4)]];continue;case'4':this['pollEventBatchInterval']=null;continue;case'5':this['queue']=[];continue;case'6':this[_0x4e0f36(0x1dc)]=_0x3e8bd4['MCzUN'];continue;}break;}}static[a128_0xe8fc16(0x1fb)](){const _0x3ac5c2=a128_0xe8fc16;return!RequestQueueHandler[_0x3ac5c2(0x1e3)]&&(RequestQueueHandler['instance']=new RequestQueueHandler()),RequestQueueHandler[_0x3ac5c2(0x1e3)];}[a128_0xe8fc16(0x1c0)]=()=>{const _0x3dff31=a128_0xe8fc16;!this[_0x3dff31(0x203)]&&(this[_0x3dff31(0x203)]=!![],this['startEventBatchPolling']());};['add']=_0x529937=>{const _0x21702e=a128_0xe8fc16,_0xd2ff8f={'VdSrj':function(_0x49d00e,_0x533c12){return _0x49d00e===_0x533c12;},'vwAGH':_0x21702e(0x1f3),'zbBoC':function(_0x27aa30,_0x1b6266){return _0x27aa30>_0x1b6266;},'KDigy':_0x21702e(0x1b4),'GIfgF':function(_0x1e40e4,_0x4fd5fe){return _0x1e40e4!==_0x4fd5fe;},'ClQUA':_0x21702e(0x20f),'xtGAb':function(_0x571814,_0x5429c3){return _0x571814(_0x5429c3);},'ojpXM':_0x21702e(0x1db)};if(this[_0x21702e(0x1b2)][_0x21702e(0x1a9)](_0x529937[_0x21702e(0x1c5)])){if(_0x529937[_0x21702e(0x1d8)]&&_0x529937[_0x21702e(0x1d8)][0x0]&&_0xd2ff8f[_0x21702e(0x1fd)](_0x529937[_0x21702e(0x1d8)][0x0]['kind'],_0xd2ff8f['vwAGH'])){const _0x27de5a={};return _0x27de5a['shouldProceed']=!![],_0x27de5a[_0x21702e(0x207)]=[_0x529937],_0x27de5a['proceedWithUrl']=this[_0x21702e(0x1c8)],_0x27de5a;}if(_0x529937[_0x21702e(0x1d8)]&&_0xd2ff8f[_0x21702e(0x214)](_0x529937['logs'][_0x21702e(0x1d4)],0x0)&&_0xd2ff8f[_0x21702e(0x1fd)](_0x529937['logs'][0x0][_0x21702e(0x1bb)],_0xd2ff8f[_0x21702e(0x1de)])&&_0xd2ff8f[_0x21702e(0x1df)](_0x529937[_0x21702e(0x1c5)],_0xd2ff8f[_0x21702e(0x200)])){const _0xb17934={};return _0xb17934[_0x21702e(0x1ed)]=!![],_0xb17934['proceedWithData']=[_0x529937],_0xb17934['proceedWithUrl']=this[_0x21702e(0x1b5)],_0xb17934;}this[_0x21702e(0x210)][_0x21702e(0x1ba)](_0x529937);let _0x267a08=null;const _0x5e01c8=this['shouldProceed']();_0x5e01c8&&(_0xd2ff8f[_0x21702e(0x20e)](trace,_0xd2ff8f[_0x21702e(0x1b0)]),_0x267a08=this[_0x21702e(0x210)][_0x21702e(0x212)](0x0,BATCH_SIZE),this[_0x21702e(0x210)][_0x21702e(0x1ce)](0x0,BATCH_SIZE),this[_0x21702e(0x1bf)]());const _0x1fef3f={};return _0x1fef3f[_0x21702e(0x1ed)]=_0x5e01c8,_0x1fef3f[_0x21702e(0x207)]=_0x267a08,_0x1fef3f[_0x21702e(0x1cc)]=this[_0x21702e(0x1dc)],_0x1fef3f;}const _0x3ca229={};return _0x3ca229[_0x21702e(0x1ed)]=!![],_0x3ca229;};[a128_0xe8fc16(0x1be)]=async()=>{const _0x24cc85=a128_0xe8fc16,_0x4d2465={'BqtHW':'REMOVING','rMcpo':function(_0x1e028f,_0x33c586){return _0x1e028f>_0x33c586;},'moMIg':'Shutdown-Queue','xLOaW':function(_0x4e7830,_0x2e288e){return _0x4e7830(_0x2e288e);}};await this['uploadPending'](),this[_0x24cc85(0x1bc)](_0x4d2465['BqtHW']);while(_0x4d2465['rMcpo'](this[_0x24cc85(0x210)][_0x24cc85(0x1d4)],0x0)){const _0x5bb783=this[_0x24cc85(0x210)][_0x24cc85(0x212)](0x0,BATCH_SIZE);this['queue'][_0x24cc85(0x1ce)](0x0,BATCH_SIZE),await this[_0x24cc85(0x205)](this[_0x24cc85(0x1dc)],_0x4d2465[_0x24cc85(0x1d6)],_0x5bb783);}_0x4d2465[_0x24cc85(0x1a8)](this[_0x24cc85(0x20d)],0x0)&&_0x4d2465[_0x24cc85(0x1fc)](debug,'Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20'+this['pendingUploads']);};['batchAndPostEvents']=async(_0x207d5c,_0x3919b1,_0x56cc12)=>{const _0x4a5f22=a128_0xe8fc16,_0x2c0414={'AqSoT':function(_0x2d0864,_0x14f4f8){return _0x2d0864(_0x14f4f8);},'kEDfV':'utf8','AdldD':function(_0x523800,_0xda5f01){return _0x523800(_0xda5f01);},'TTadP':function(_0x1e825e){return _0x1e825e();},'FMVJR':function(_0x390bda,_0x32465f,_0x932f0a,_0x54d3bf,_0x102eee){return _0x390bda(_0x32465f,_0x932f0a,_0x54d3bf,_0x102eee);},'mQCJS':_0x4a5f22(0x216),'MsqOx':function(_0xe2591c,_0x2c4d41){return _0xe2591c(_0x2c4d41);},'SqOXi':function(_0x5b471e,_0x3016e0){return _0x5b471e-_0x3016e0;},'ZDBei':function(_0x5e57a7,_0x1b8437){return _0x5e57a7(_0x1b8437);}};let _0x54a56b='';try{_0x54a56b=_0x56cc12['map'](_0x38e6c8=>'\x27'+_0x38e6c8[_0x4a5f22(0x1c5)]+'\x27:'+(nestedKeyValue(_0x38e6c8,[_0x4a5f22(0x1e8),'uuid'])||nestedKeyValue(_0x38e6c8,[_0x4a5f22(0x1e2),'uuid'])))[_0x4a5f22(0x1eb)](','),_0x2c0414[_0x4a5f22(0x1f8)](debug,'Processing\x20batch\x20events\x20for\x20'+_0x3919b1+_0x4a5f22(0x1b1)+Buffer[_0x4a5f22(0x1b6)](util[_0x4a5f22(0x206)]('%j',_0x56cc12),_0x2c0414[_0x4a5f22(0x213)])+_0x4a5f22(0x1e5)+_0x54a56b);}catch(_0x26c3c1){_0x2c0414[_0x4a5f22(0x1af)](debug,_0x4a5f22(0x20b)+util['format'](_0x26c3c1)+'}');}const _0x297531={'headers':_0x2c0414[_0x4a5f22(0x211)](getDefaultHeaders)};try{const _0x1cb025=await _0x2c0414[_0x4a5f22(0x1ca)](nodeRequest,_0x2c0414[_0x4a5f22(0x201)],_0x207d5c,_0x56cc12,_0x297531);if(_0x1cb025['data'][_0x4a5f22(0x1c3)]){const _0xc0acc0={};_0xc0acc0[_0x4a5f22(0x204)]=_0x1cb025[_0x4a5f22(0x1d2)]['error'];throw _0xc0acc0;}else _0x2c0414[_0x4a5f22(0x209)](debug,_0x3919b1+'\x20event\x20successful\x20for\x20events\x20'+_0x54a56b+'\x20--\x20'+util[_0x4a5f22(0x206)]('%j',_0x1cb025[_0x4a5f22(0x1d2)])),this[_0x4a5f22(0x20d)]=Math[_0x4a5f22(0x1a5)](0x0,_0x2c0414[_0x4a5f22(0x202)](this[_0x4a5f22(0x20d)],_0x56cc12[_0x4a5f22(0x1d4)]));}catch(_0x4f2180){_0x4f2180['response']?_0x2c0414[_0x4a5f22(0x1f8)](debug,_0x4a5f22(0x1aa)+_0x3919b1+'\x20REQUEST\x20TO\x20'+constants[_0x4a5f22(0x208)]+_0x4a5f22(0x1c9)+_0x4f2180[_0x4a5f22(0x1e7)][_0x4a5f22(0x1f0)]+'\x20'+_0x4f2180[_0x4a5f22(0x1e7)][_0x4a5f22(0x1b8)]+'\x20'+util[_0x4a5f22(0x206)]('%j',_0x4f2180['response'])):_0x2c0414['ZDBei'](debug,_0x4a5f22(0x1aa)+_0x3919b1+'\x20REQUEST\x20TO\x20'+constants[_0x4a5f22(0x208)]+_0x4a5f22(0x1c9)+(_0x4f2180[_0x4a5f22(0x204)]||_0x4f2180)),this[_0x4a5f22(0x20d)]=Math[_0x4a5f22(0x1a5)](0x0,_0x2c0414[_0x4a5f22(0x202)](this[_0x4a5f22(0x20d)],_0x56cc12[_0x4a5f22(0x1d4)]));}};[a128_0xe8fc16(0x1ab)]=()=>{const _0x2f45f2=a128_0xe8fc16,_0x355533={'TaCqo':function(_0x120503,_0x278ecb){return _0x120503>_0x278ecb;},'tEgvg':function(_0x2d4f2b,_0x3bf4f6){return _0x2d4f2b(_0x3bf4f6);},'nWIyx':'Interval-Queue','PxOyf':function(_0x160434,_0x3bb046){return _0x160434(_0x3bb046);},'WJedf':function(_0x1164e4,_0xeaf5f6,_0x4b4790){return _0x1164e4(_0xeaf5f6,_0x4b4790);}};this['pollEventBatchInterval']=_0x355533[_0x2f45f2(0x1f7)](setInterval,async()=>{const _0x7348c1=_0x2f45f2;if(_0x355533['TaCqo'](this[_0x7348c1(0x210)][_0x7348c1(0x1d4)],0x0)){_0x355533['tEgvg'](trace,_0x7348c1(0x1d1)+this['queue'][_0x7348c1(0x1d4)]);const _0x1d0d7d=this[_0x7348c1(0x210)]['slice'](0x0,BATCH_SIZE);this[_0x7348c1(0x210)][_0x7348c1(0x1ce)](0x0,BATCH_SIZE),await this[_0x7348c1(0x205)](this[_0x7348c1(0x1dc)],_0x355533[_0x7348c1(0x1c6)],_0x1d0d7d),_0x355533[_0x7348c1(0x1e1)](trace,'Remaining\x20Queue\x20Length\x20-\x20'+this[_0x7348c1(0x210)][_0x7348c1(0x1d4)]);}},BATCH_INTERVAL);};['resetEventBatchPolling']=()=>{const _0x33cc60=a128_0xe8fc16,_0x2794fe={};_0x2794fe[_0x33cc60(0x1cd)]=_0x33cc60(0x1cb);const _0x1b80c6=_0x2794fe;this[_0x33cc60(0x1bc)](_0x1b80c6['JUqNW']),this[_0x33cc60(0x1ab)]();};['removeEventBatchPolling']=_0x37e512=>{const _0x1b2a3a=a128_0xe8fc16,_0x45dcc1={'IvjSo':function(_0x48899d,_0x1e98e6){return _0x48899d(_0x1e98e6);},'jsxsV':function(_0x5f1ac5,_0x28dd9a){return _0x5f1ac5===_0x28dd9a;},'TYdnu':_0x1b2a3a(0x1f9)};this['pollEventBatchInterval']&&(_0x45dcc1[_0x1b2a3a(0x215)](clearInterval,this[_0x1b2a3a(0x1d5)]),this[_0x1b2a3a(0x1d5)]=null,_0x45dcc1[_0x1b2a3a(0x1e0)](_0x37e512,_0x45dcc1['TYdnu'])&&(this[_0x1b2a3a(0x203)]=![]));};[a128_0xe8fc16(0x1ed)]=()=>{const _0x452a94=a128_0xe8fc16,_0x3da35f={};_0x3da35f[_0x452a94(0x1ff)]=function(_0x3241f6,_0xfc5a87){return _0x3241f6>=_0xfc5a87;};const _0x5c6017=_0x3da35f;return _0x5c6017['cWEwy'](this[_0x452a94(0x210)][_0x452a94(0x1d4)],BATCH_SIZE);};async[a128_0xe8fc16(0x1e9)](_0x321017=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x57a54c=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x39cb5d=a128_0xe8fc16,_0x359937={'fAQGn':function(_0x97be56,_0x132353){return _0x97be56<=_0x132353;},'HFoEd':function(_0x12fd19,_0x59c645){return _0x12fd19<=_0x59c645;},'eGRjH':function(_0x185602,_0x3cd8dc){return _0x185602(_0x3cd8dc);},'jVGUZ':function(_0x515867,_0x3175ff){return _0x515867-_0x3175ff;}};if(_0x359937[_0x39cb5d(0x1d3)](this[_0x39cb5d(0x20d)],0x0)||_0x359937[_0x39cb5d(0x1ec)](_0x321017,0x0))return;return await _0x359937[_0x39cb5d(0x1c7)](sleep,_0x57a54c),this['uploadPending'](_0x359937[_0x39cb5d(0x1fa)](_0x321017,_0x57a54c));}}module[a128_0xe8fc16(0x1f2)]=RequestQueueHandler;
1
+ const a128_0x16ff3b=a128_0x581d;function a128_0x581d(_0x3eac93,_0x45c659){const _0xcc1ea5=a128_0xcc1e();return a128_0x581d=function(_0x581d11,_0xeb1401){_0x581d11=_0x581d11-0x1bc;let _0x37c004=_0xcc1ea5[_0x581d11];return _0x37c004;},a128_0x581d(_0x3eac93,_0x45c659);}(function(_0x2045e8,_0x483980){const _0x42b3f9=a128_0x581d,_0x50790c=_0x2045e8();while(!![]){try{const _0x10832b=-parseInt(_0x42b3f9(0x214))/0x1*(parseInt(_0x42b3f9(0x1f2))/0x2)+-parseInt(_0x42b3f9(0x1ff))/0x3*(-parseInt(_0x42b3f9(0x20c))/0x4)+-parseInt(_0x42b3f9(0x1c0))/0x5*(-parseInt(_0x42b3f9(0x1cd))/0x6)+parseInt(_0x42b3f9(0x1f9))/0x7*(-parseInt(_0x42b3f9(0x22c))/0x8)+-parseInt(_0x42b3f9(0x219))/0x9*(parseInt(_0x42b3f9(0x1c3))/0xa)+-parseInt(_0x42b3f9(0x1fe))/0xb+parseInt(_0x42b3f9(0x228))/0xc;if(_0x10832b===_0x483980)break;else _0x50790c['push'](_0x50790c['shift']());}catch(_0x3b380a){_0x50790c['push'](_0x50790c['shift']());}}}(a128_0xcc1e,0x7f85f));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a128_0x16ff3b(0x1f3)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a128_0x16ff3b(0x1f6)),{nestedKeyValue}=require(a128_0x16ff3b(0x1e0)),util=require(a128_0x16ff3b(0x1ca)),constants=require('../../bin/utils/constants');class RequestQueueHandler{static ['instance'];[a128_0x16ff3b(0x1c6)]=0x0;constructor(){const _0x2cec6f=a128_0x16ff3b,_0x1f6f6d={};_0x1f6f6d[_0x2cec6f(0x224)]=_0x2cec6f(0x1e4),_0x1f6f6d[_0x2cec6f(0x1e1)]=_0x2cec6f(0x204),_0x1f6f6d[_0x2cec6f(0x212)]=_0x2cec6f(0x211),_0x1f6f6d[_0x2cec6f(0x1ee)]=_0x2cec6f(0x1e5),_0x1f6f6d[_0x2cec6f(0x1be)]='LogCreated',_0x1f6f6d[_0x2cec6f(0x1df)]=_0x2cec6f(0x1e3),_0x1f6f6d['qGojm']=_0x2cec6f(0x1da),_0x1f6f6d[_0x2cec6f(0x1bc)]=_0x2cec6f(0x230),_0x1f6f6d[_0x2cec6f(0x229)]='HookRunFinished',_0x1f6f6d[_0x2cec6f(0x1f0)]=_0x2cec6f(0x1c5),_0x1f6f6d[_0x2cec6f(0x1dd)]=_0x2cec6f(0x1ed);const _0x26a9e0=_0x1f6f6d,_0x956672=_0x26a9e0[_0x2cec6f(0x224)]['split']('|');let _0x42378c=0x0;while(!![]){switch(_0x956672[_0x42378c++]){case'0':this[_0x2cec6f(0x21d)]=null;continue;case'1':this[_0x2cec6f(0x1eb)]=_0x26a9e0['XDaCb'];continue;case'2':this[_0x2cec6f(0x20f)]=![];continue;case'3':this[_0x2cec6f(0x1fd)]=_0x26a9e0[_0x2cec6f(0x212)];continue;case'4':this['queue']=[];continue;case'5':this['uploadAttachmentUrl']=_0x26a9e0[_0x2cec6f(0x1ee)];continue;case'6':this[_0x2cec6f(0x208)]=[_0x26a9e0[_0x2cec6f(0x1be)],_0x26a9e0[_0x2cec6f(0x1df)],_0x26a9e0[_0x2cec6f(0x1f1)],_0x26a9e0['CMcAv'],_0x26a9e0[_0x2cec6f(0x229)],_0x26a9e0[_0x2cec6f(0x1f0)],_0x26a9e0[_0x2cec6f(0x1dd)]];continue;}break;}}static[a128_0x16ff3b(0x1ce)](){const _0x316ce2=a128_0x16ff3b;return!RequestQueueHandler[_0x316ce2(0x1dc)]&&(RequestQueueHandler[_0x316ce2(0x1dc)]=new RequestQueueHandler()),RequestQueueHandler[_0x316ce2(0x1dc)];}[a128_0x16ff3b(0x1ef)]=()=>{const _0x4b9f4f=a128_0x16ff3b;!this['started']&&(this[_0x4b9f4f(0x20f)]=!![],this['startEventBatchPolling']());};[a128_0x16ff3b(0x227)]=_0x208c43=>{const _0x30df42=a128_0x16ff3b,_0x507a6a={'zOvxX':function(_0x5dc8ce,_0x565015){return _0x5dc8ce===_0x565015;},'XWMHG':_0x30df42(0x1f4),'KXimq':function(_0xa1122d,_0x1dc6dd){return _0xa1122d>_0x1dc6dd;},'HEnhO':_0x30df42(0x222),'fewhW':function(_0x151216,_0x355b10){return _0x151216!==_0x355b10;},'nSEYJ':_0x30df42(0x1da),'iXeYs':function(_0x5dceee,_0x335922){return _0x5dceee(_0x335922);},'szVyd':'Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..'};if(this[_0x30df42(0x208)][_0x30df42(0x225)](_0x208c43['event_type'])){if(_0x208c43[_0x30df42(0x203)]&&_0x208c43[_0x30df42(0x203)][0x0]&&_0x507a6a['zOvxX'](_0x208c43['logs'][0x0][_0x30df42(0x21b)],_0x507a6a[_0x30df42(0x1fb)])){const _0x56fe88={};return _0x56fe88['shouldProceed']=!![],_0x56fe88[_0x30df42(0x1cb)]=[_0x208c43],_0x56fe88[_0x30df42(0x21a)]=this[_0x30df42(0x1fd)],_0x56fe88;}if(_0x208c43[_0x30df42(0x203)]&&_0x507a6a['KXimq'](_0x208c43[_0x30df42(0x203)][_0x30df42(0x1e8)],0x0)&&_0x507a6a[_0x30df42(0x201)](_0x208c43['logs'][0x0][_0x30df42(0x21b)],_0x507a6a['HEnhO'])&&_0x507a6a[_0x30df42(0x1d9)](_0x208c43[_0x30df42(0x20a)],_0x507a6a[_0x30df42(0x220)])){const _0x2b7d19={};return _0x2b7d19[_0x30df42(0x1bf)]=!![],_0x2b7d19[_0x30df42(0x1cb)]=[_0x208c43],_0x2b7d19[_0x30df42(0x21a)]=this[_0x30df42(0x1fa)],_0x2b7d19;}this[_0x30df42(0x1c1)]['push'](_0x208c43);let _0x4bee33=null;const _0x592dca=this[_0x30df42(0x1bf)]();_0x592dca&&(_0x507a6a[_0x30df42(0x1d0)](trace,_0x507a6a[_0x30df42(0x235)]),_0x4bee33=this[_0x30df42(0x1c1)][_0x30df42(0x21e)](0x0,BATCH_SIZE),this[_0x30df42(0x1c1)][_0x30df42(0x232)](0x0,BATCH_SIZE),this['resetEventBatchPolling']());const _0x177759={};return _0x177759[_0x30df42(0x1bf)]=_0x592dca,_0x177759[_0x30df42(0x1cb)]=_0x4bee33,_0x177759[_0x30df42(0x21a)]=this[_0x30df42(0x1eb)],_0x177759;}const _0xda140d={};return _0xda140d[_0x30df42(0x1bf)]=!![],_0xda140d;};[a128_0x16ff3b(0x231)]=async()=>{const _0x33d603=a128_0x16ff3b,_0x3b826c={'btFbG':_0x33d603(0x1d5),'eKTtk':function(_0x2f76ea,_0x45c051){return _0x2f76ea>_0x45c051;},'MDKWA':_0x33d603(0x1c2),'CfWdE':function(_0x4041cf,_0x123c97){return _0x4041cf>_0x123c97;},'ADIXW':function(_0x10b5de,_0x8f0fac){return _0x10b5de(_0x8f0fac);}};await this[_0x33d603(0x209)](),this[_0x33d603(0x1de)](_0x3b826c['btFbG']);while(_0x3b826c[_0x33d603(0x1ea)](this[_0x33d603(0x1c1)][_0x33d603(0x1e8)],0x0)){const _0x22670a=this[_0x33d603(0x1c1)][_0x33d603(0x21e)](0x0,BATCH_SIZE);this[_0x33d603(0x1c1)][_0x33d603(0x232)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x33d603(0x1eb)],_0x3b826c['MDKWA'],_0x22670a);}_0x3b826c['CfWdE'](this['pendingUploads'],0x0)&&_0x3b826c[_0x33d603(0x206)](debug,_0x33d603(0x1ec)+this[_0x33d603(0x1c6)]);};[a128_0x16ff3b(0x1cf)]=async(_0xef062d,_0x1ebcfc,_0x5f21e9)=>{const _0xccd44d=a128_0x16ff3b,_0x2de550={'yzNtT':function(_0x1ff8e2,_0x386d5e){return _0x1ff8e2(_0x386d5e);},'edazi':_0xccd44d(0x234),'phwQO':function(_0xe2ef83,_0x3bb0e4){return _0xe2ef83(_0x3bb0e4);},'sycEP':function(_0x12dea1){return _0x12dea1();},'BtOkb':function(_0xa36635,_0xfb5dc7,_0x1f21b5,_0x43b3c8,_0x156c62){return _0xa36635(_0xfb5dc7,_0x1f21b5,_0x43b3c8,_0x156c62);},'HNHwb':'POST','cBjvQ':function(_0x1f24f5,_0x1e8dd8){return _0x1f24f5(_0x1e8dd8);},'BEGYi':function(_0x40c72f,_0x3d3c26){return _0x40c72f-_0x3d3c26;},'XkzCz':function(_0x47b6b0,_0x35fff6){return _0x47b6b0(_0x35fff6);}};let _0x5a85ae='';try{_0x5a85ae=_0x5f21e9[_0xccd44d(0x21c)](_0x9d70af=>'\x27'+_0x9d70af[_0xccd44d(0x20a)]+'\x27:'+(nestedKeyValue(_0x9d70af,[_0xccd44d(0x1f5),_0xccd44d(0x233)])||nestedKeyValue(_0x9d70af,[_0xccd44d(0x1bd),'uuid'])))[_0xccd44d(0x1d8)](','),_0x2de550[_0xccd44d(0x1e7)](debug,_0xccd44d(0x22a)+_0x1ebcfc+_0xccd44d(0x1f7)+Buffer[_0xccd44d(0x223)](util[_0xccd44d(0x1cc)]('%j',_0x5f21e9),_0x2de550[_0xccd44d(0x202)])+_0xccd44d(0x1d1)+_0x5a85ae);}catch(_0xcb6fd){_0x2de550[_0xccd44d(0x1c7)](debug,_0xccd44d(0x1db)+util['format'](_0xcb6fd)+'}');}const _0x5b506d={'headers':_0x2de550['sycEP'](getDefaultHeaders)};try{const _0x31d665=await _0x2de550[_0xccd44d(0x217)](nodeRequest,_0x2de550[_0xccd44d(0x1fc)],_0xef062d,_0x5f21e9,_0x5b506d);if(_0x31d665['data'][_0xccd44d(0x215)]){const _0xa3208a={};_0xa3208a[_0xccd44d(0x1d6)]=_0x31d665[_0xccd44d(0x205)]['error'];throw _0xa3208a;}else _0x2de550[_0xccd44d(0x22b)](debug,_0x1ebcfc+_0xccd44d(0x210)+_0x5a85ae+'\x20--\x20'+util[_0xccd44d(0x1cc)]('%j',_0x31d665['data'])),this['pendingUploads']=Math[_0xccd44d(0x1e2)](0x0,_0x2de550[_0xccd44d(0x200)](this['pendingUploads'],_0x5f21e9[_0xccd44d(0x1e8)]));}catch(_0x5575f9){_0x5575f9[_0xccd44d(0x213)]?_0x2de550['XkzCz'](debug,_0xccd44d(0x1c9)+_0x1ebcfc+_0xccd44d(0x20d)+constants[_0xccd44d(0x1d4)]+_0xccd44d(0x20b)+_0x5575f9[_0xccd44d(0x213)][_0xccd44d(0x22f)]+'\x20'+_0x5575f9[_0xccd44d(0x213)][_0xccd44d(0x226)]+'\x20'+util[_0xccd44d(0x1cc)]('%j',_0x5575f9['response'])):_0x2de550[_0xccd44d(0x22b)](debug,_0xccd44d(0x1c9)+_0x1ebcfc+_0xccd44d(0x20d)+constants['TEST_REPORTING_ANALYTICS']+_0xccd44d(0x20b)+(_0x5575f9[_0xccd44d(0x1d6)]||_0x5575f9)),this[_0xccd44d(0x1c6)]=Math['max'](0x0,_0x2de550[_0xccd44d(0x200)](this[_0xccd44d(0x1c6)],_0x5f21e9[_0xccd44d(0x1e8)]));}};[a128_0x16ff3b(0x1d3)]=()=>{const _0x21dcae=a128_0x16ff3b,_0x1d387c={'wvHMR':function(_0x403503,_0x4a84c6){return _0x403503>_0x4a84c6;},'VzpQM':function(_0x3c0770,_0x1d48b8){return _0x3c0770(_0x1d48b8);},'LcLQn':'Interval-Queue','zeVzI':function(_0x2da5f1,_0x2945ea){return _0x2da5f1(_0x2945ea);},'buGCG':function(_0x49bfe7,_0x4c8187,_0x3a88cb){return _0x49bfe7(_0x4c8187,_0x3a88cb);}};this[_0x21dcae(0x21d)]=_0x1d387c['buGCG'](setInterval,async()=>{const _0x4ed72c=_0x21dcae;if(_0x1d387c[_0x4ed72c(0x1c8)](this[_0x4ed72c(0x1c1)]['length'],0x0)){_0x1d387c[_0x4ed72c(0x1e9)](trace,'Processing\x20events.\x20Queue\x20Length\x20-\x20'+this[_0x4ed72c(0x1c1)][_0x4ed72c(0x1e8)]);const _0x56e1a9=this[_0x4ed72c(0x1c1)][_0x4ed72c(0x21e)](0x0,BATCH_SIZE);this['queue'][_0x4ed72c(0x232)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x4ed72c(0x1eb)],_0x1d387c['LcLQn'],_0x56e1a9),_0x1d387c[_0x4ed72c(0x21f)](trace,_0x4ed72c(0x216)+this[_0x4ed72c(0x1c1)]['length']);}},BATCH_INTERVAL);};[a128_0x16ff3b(0x22e)]=()=>{const _0xd0052e=a128_0x16ff3b,_0x89562d={};_0x89562d[_0xd0052e(0x1d2)]=_0xd0052e(0x221);const _0x2f96bd=_0x89562d;this['removeEventBatchPolling'](_0x2f96bd[_0xd0052e(0x1d2)]),this[_0xd0052e(0x1d3)]();};['removeEventBatchPolling']=_0x5ab519=>{const _0x1a6b8e=a128_0x16ff3b,_0x1a2429={'IOgpD':function(_0x42a0f4,_0xccbd00){return _0x42a0f4(_0xccbd00);},'KJxvC':function(_0x70def0,_0x509441){return _0x70def0===_0x509441;},'rcnxB':_0x1a6b8e(0x1d5)};this[_0x1a6b8e(0x21d)]&&(_0x1a2429[_0x1a6b8e(0x1d7)](clearInterval,this['pollEventBatchInterval']),this[_0x1a6b8e(0x21d)]=null,_0x1a2429[_0x1a6b8e(0x22d)](_0x5ab519,_0x1a2429[_0x1a6b8e(0x1e6)])&&(this[_0x1a6b8e(0x20f)]=![]));};[a128_0x16ff3b(0x1bf)]=()=>{const _0x13e7fe=a128_0x16ff3b,_0x3fb2f6={};_0x3fb2f6[_0x13e7fe(0x20e)]=function(_0x208770,_0x527e07){return _0x208770>=_0x527e07;};const _0x51cf67=_0x3fb2f6;return _0x51cf67[_0x13e7fe(0x20e)](this[_0x13e7fe(0x1c1)]['length'],BATCH_SIZE);};async['uploadPending'](_0x42128f=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x133935=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x553708=a128_0x16ff3b,_0x91bc3e={'mSfxV':function(_0x15222b,_0x41fe02){return _0x15222b<=_0x41fe02;},'PuEYu':function(_0x558c31,_0x552a55){return _0x558c31<=_0x552a55;},'VRGRq':function(_0x1567d5,_0x52a907){return _0x1567d5(_0x52a907);},'qotwa':function(_0x7cbe00,_0x27e163){return _0x7cbe00-_0x27e163;}};if(_0x91bc3e[_0x553708(0x1f8)](this[_0x553708(0x1c6)],0x0)||_0x91bc3e[_0x553708(0x218)](_0x42128f,0x0))return;return await _0x91bc3e[_0x553708(0x1c4)](sleep,_0x133935),this[_0x553708(0x209)](_0x91bc3e['qotwa'](_0x42128f,_0x133935));}}function a128_0xcc1e(){const _0x4ec7a2=['779714jOFyNW','error','Remaining\x20Queue\x20Length\x20-\x20','BtOkb','PuEYu','108549XSYVdX','proceedWithUrl','kind','map','pollEventBatchInterval','slice','zeVzI','nSEYJ','RESETTING','TEST_ATTACHMENT','byteLength','udnSe','includes','statusText','add','18707592PeZuvL','sXsaY','Processing\x20batch\x20events\x20for\x20','cBjvQ','7224mvGrgi','KJxvC','resetEventBatchPolling','status','TestRunSkipped','shutdown','splice','uuid','utf8','szVyd','CMcAv','hook_run','SOeHc','shouldProceed','15NrtCMp','queue','Shutdown-Queue','30WBbYjw','VRGRq','TestRunStarted','pendingUploads','phwQO','wvHMR','EXCEPTION\x20IN\x20','util','proceedWithData','format','914682ohpdHd','getInstance','batchAndPostEvents','iXeYs','\x20bytes.\x20Events\x20are\x20','nQaGQ','startEventBatchPolling','TEST_REPORTING_ANALYTICS','REMOVING','message','IOgpD','join','fewhW','TestRunFinished','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','instance','iQdJV','removeEventBatchPolling','dShsZ','../helper','XDaCb','max','CBTSessionCreated','4|2|1|3|5|6|0','upload-attachments','rcnxB','yzNtT','length','VzpQM','eKTtk','eventUrl','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','HookRunStarted','abRyk','start','XSIqv','qGojm','2PFkkWG','./constants','TEST_SCREENSHOT','test_run','./utils','.\x20Request\x20Size\x20-\x20','mSfxV','5089WwbCIA','uploadAttachmentUrl','XWMHG','HNHwb','screenshotEventUrl','10593748pjoaWA','366gMkPFE','BEGYi','zOvxX','edazi','logs','api/v1/batch','data','ADIXW','exports','BATCH_EVENT_TYPES','uploadPending','event_type','\x20:\x20','30868VdLufX','\x20REQUEST\x20TO\x20','NaJRK','started','\x20event\x20successful\x20for\x20events\x20','api/v1/screenshots','CyFUw','response'];a128_0xcc1e=function(){return _0x4ec7a2;};return a128_0xcc1e();}module[a128_0x16ff3b(0x207)]=RequestQueueHandler;