browserstack-node-sdk 1.46.8 → 1.47.1

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 (187) 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/generated/sdk-messages_pb.d.ts +18 -0
  41. package/generated/sdk-messages_pb.js +147 -3
  42. package/package.json +1 -1
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test.setup.js +1 -1
  69. package/src/bin/jest/test_before.setup.js +1 -1
  70. package/src/bin/launcher/launcher.js +1 -1
  71. package/src/bin/load/index.js +1 -1
  72. package/src/bin/load/loadUtils.js +1 -1
  73. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  74. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  75. package/src/bin/mocha/command.js +1 -1
  76. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  77. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  78. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  79. package/src/bin/mocha/test.setup.js +1 -1
  80. package/src/bin/nightwatch/command.js +1 -1
  81. package/src/bin/playwright/accessibility-helper.js +1 -1
  82. package/src/bin/playwright/command.js +1 -1
  83. package/src/bin/playwright/globalSetup.js +1 -1
  84. package/src/bin/playwright/mock-process.js +1 -1
  85. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  86. package/src/bin/playwright/patches.js +1 -1
  87. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  88. package/src/bin/playwright/reporter/reporter.js +1 -1
  89. package/src/bin/playwright/reporter/test-details.js +1 -1
  90. package/src/bin/playwright/sessionDetails.js +1 -1
  91. package/src/bin/runner.js +1 -1
  92. package/src/bin/setup.js +1 -1
  93. package/src/bin/test-runner/index.js +1 -1
  94. package/src/bin/test-runner/runTest.js +1 -1
  95. package/src/bin/test-runner/testWorker.js +1 -1
  96. package/src/bin/utils/apiUtilityMethods.js +1 -1
  97. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  98. package/src/bin/utils/constants.js +1 -1
  99. package/src/bin/utils/log4jsAppender.js +1 -1
  100. package/src/bin/utils/logPatcher.js +1 -1
  101. package/src/bin/utils/logReportingAPI.js +1 -1
  102. package/src/bin/utils/playwright-patcher.js +1 -1
  103. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  104. package/src/bin/utils/sharedUtils.js +1 -1
  105. package/src/bin/v2/TestInfo.js +1 -1
  106. package/src/bin/v2/browserstackCLI.js +1 -1
  107. package/src/bin/v2/cliUtils.js +1 -1
  108. package/src/bin/v2/customTagManager.js +1 -1
  109. package/src/bin/v2/eventDispatcher.js +1 -1
  110. package/src/bin/v2/framework/automationFramework.js +1 -1
  111. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  112. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  113. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  114. package/src/bin/v2/framework/jestTestFramework.js +1 -0
  115. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  116. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  117. package/src/bin/v2/framework/testFramework.js +1 -1
  118. package/src/bin/v2/grpcClient.js +1 -1
  119. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  120. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  121. package/src/bin/v2/instances/trackedContext.js +1 -1
  122. package/src/bin/v2/instances/trackedInstance.js +1 -1
  123. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  124. package/src/bin/v2/modules/baseModule.js +1 -1
  125. package/src/bin/v2/modules/observabilityModule.js +1 -1
  126. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  127. package/src/bin/v2/modules/testhubModule.js +1 -1
  128. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  129. package/src/bin/v2/state/hookState.js +1 -1
  130. package/src/bin/v2/state/testFrameworkState.js +1 -1
  131. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  132. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  133. package/src/bin/v2/utils/jest-utils.js +1 -0
  134. package/src/bin/vanilla-js/command.js +1 -1
  135. package/src/browserStackSdk.js +1 -1
  136. package/src/helpers/BrowserStackSetup.js +1 -1
  137. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  138. package/src/helpers/accessibility-automation/constants.js +1 -1
  139. package/src/helpers/accessibility-automation/helper.js +1 -1
  140. package/src/helpers/accessibility-automation/scripts.js +1 -1
  141. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  142. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  143. package/src/helpers/ats/constants.js +1 -1
  144. package/src/helpers/ats/helper.js +1 -1
  145. package/src/helpers/capsMapping.js +1 -1
  146. package/src/helpers/central-scanner/constants.js +1 -1
  147. package/src/helpers/central-scanner/helpers.js +1 -1
  148. package/src/helpers/classLogger.js +1 -1
  149. package/src/helpers/globals.js +1 -1
  150. package/src/helpers/helper.js +1 -1
  151. package/src/helpers/logger.js +1 -1
  152. package/src/helpers/metadata.js +1 -1
  153. package/src/helpers/patchHelper.js +1 -1
  154. package/src/helpers/patchHelpers.js +1 -1
  155. package/src/helpers/percy/Percy.js +1 -1
  156. package/src/helpers/percy/PercyBinary.js +1 -1
  157. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  158. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  159. package/src/helpers/percy/PercySDK.js +1 -1
  160. package/src/helpers/percy/index.js +1 -1
  161. package/src/helpers/percy/utils.js +1 -1
  162. package/src/helpers/performance/constants.js +1 -1
  163. package/src/helpers/performance/performance-tester.js +1 -1
  164. package/src/helpers/playwright-helper.js +1 -1
  165. package/src/helpers/processHelper.js +1 -1
  166. package/src/helpers/request-spy.js +1 -1
  167. package/src/helpers/setKeepAlive.js +1 -1
  168. package/src/helpers/test-observability/constants.js +1 -1
  169. package/src/helpers/test-observability/error-handler.js +1 -1
  170. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  171. package/src/helpers/test-observability/sessionHandler.js +1 -1
  172. package/src/helpers/test-observability/utils.js +1 -1
  173. package/src/helpers/test-orchestration/constants.js +1 -1
  174. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  175. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  176. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  177. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  178. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  179. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  180. package/src/helpers/testhub/constants.js +1 -1
  181. package/src/helpers/testhub/testhubHandler.js +1 -1
  182. package/src/helpers/testhub/utils.js +1 -1
  183. package/src/helpers/timeoutPromise.js +1 -1
  184. package/src/helpers/utilities.js +1 -1
  185. package/src/helpers/w3cMapping.js +1 -1
  186. package/src/hubAllocationMethods.js +1 -1
  187. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a117_0x191b90=a117_0x2606;(function(_0x1ef0f3,_0xad9ab3){const _0x4817d8=a117_0x2606,_0x18d956=_0x1ef0f3();while(!![]){try{const _0x35963f=-parseInt(_0x4817d8(0x21f))/0x1+-parseInt(_0x4817d8(0x256))/0x2*(-parseInt(_0x4817d8(0x1ff))/0x3)+parseInt(_0x4817d8(0x201))/0x4*(-parseInt(_0x4817d8(0x1fa))/0x5)+parseInt(_0x4817d8(0x24b))/0x6+parseInt(_0x4817d8(0x1e3))/0x7+-parseInt(_0x4817d8(0x264))/0x8+parseInt(_0x4817d8(0x206))/0x9;if(_0x35963f===_0xad9ab3)break;else _0x18d956['push'](_0x18d956['shift']());}catch(_0x2702df){_0x18d956['push'](_0x18d956['shift']());}}}(a117_0x174c,0x9ab94));const a117_0xf0b250={};a117_0xf0b250[a117_0x191b90(0x20b)]=a117_0x191b90(0x229),a117_0xf0b250[a117_0x191b90(0x1ec)]='sdk:cleanup',a117_0xf0b250[a117_0x191b90(0x22e)]=a117_0x191b90(0x260),a117_0xf0b250[a117_0x191b90(0x22d)]='sdk:test',a117_0xf0b250[a117_0x191b90(0x252)]=a117_0x191b90(0x239),a117_0xf0b250[a117_0x191b90(0x224)]=a117_0x191b90(0x1e8),a117_0xf0b250[a117_0x191b90(0x222)]=a117_0x191b90(0x230),a117_0xf0b250[a117_0x191b90(0x259)]='sdk:a11y',a117_0xf0b250[a117_0x191b90(0x232)]='sdk:o11y',a117_0xf0b250[a117_0x191b90(0x20d)]=a117_0x191b90(0x1e9),a117_0xf0b250['SDK_PROXY_SETUP']=a117_0x191b90(0x231),a117_0xf0b250[a117_0x191b90(0x25c)]=a117_0x191b90(0x23f),a117_0xf0b250['SDK_AUTOMATE']=a117_0x191b90(0x233),a117_0xf0b250[a117_0x191b90(0x25e)]=a117_0x191b90(0x21b),a117_0xf0b250['SDK_TURBOSCALE']='sdk:turboscale',a117_0xf0b250[a117_0x191b90(0x212)]=a117_0x191b90(0x1f9),a117_0xf0b250['SDK_PRE_INITIALIZE']=a117_0x191b90(0x22f),a117_0xf0b250[a117_0x191b90(0x1e6)]='sdk:driver:post-initialization',a117_0xf0b250[a117_0x191b90(0x1f8)]=a117_0x191b90(0x246),a117_0xf0b250[a117_0x191b90(0x266)]=a117_0x191b90(0x1f4),a117_0xf0b250[a117_0x191b90(0x221)]=a117_0x191b90(0x215),a117_0xf0b250[a117_0x191b90(0x211)]=a117_0x191b90(0x243),a117_0xf0b250['SDK_CLI_ON_CONNECT']=a117_0x191b90(0x21c),a117_0xf0b250['SDK_CLI_ON_STOP']=a117_0x191b90(0x203),a117_0xf0b250[a117_0x191b90(0x25f)]='sdk:startBinSession',a117_0xf0b250[a117_0x191b90(0x253)]=a117_0x191b90(0x262),a117_0xf0b250[a117_0x191b90(0x23e)]=a117_0x191b90(0x1f6),a117_0xf0b250[a117_0x191b90(0x20f)]=a117_0x191b90(0x208),a117_0xf0b250['SDK_AUTOMATION_FRAMEWORK_INIT']=a117_0x191b90(0x1ed),a117_0xf0b250[a117_0x191b90(0x21a)]='sdk:automationFrameworkStart',a117_0xf0b250[a117_0x191b90(0x1e5)]=a117_0x191b90(0x254),a117_0xf0b250[a117_0x191b90(0x242)]=a117_0x191b90(0x25d),a117_0xf0b250[a117_0x191b90(0x24a)]=a117_0x191b90(0x209),a117_0xf0b250[a117_0x191b90(0x245)]=a117_0x191b90(0x204),a117_0xf0b250[a117_0x191b90(0x226)]=a117_0x191b90(0x1e1),a117_0xf0b250[a117_0x191b90(0x21d)]='sdk:testSessionEvent',a117_0xf0b250['SDK_CLI_LOG_CREATED_EVENT']='sdk:cli:logCreatedEvent',a117_0xf0b250[a117_0x191b90(0x24f)]='sdk:cli:enqueueTestEvent',a117_0xf0b250[a117_0x191b90(0x228)]=a117_0x191b90(0x25a),a117_0xf0b250[a117_0x191b90(0x235)]='sdk:onStop';function a117_0x2606(_0x27e7d3,_0x18725f){const _0x174cc6=a117_0x174c();return a117_0x2606=function(_0x260684,_0x4cfa9b){_0x260684=_0x260684-0x1e0;let _0x3ae553=_0x174cc6[_0x260684];return _0x3ae553;},a117_0x2606(_0x27e7d3,_0x18725f);}const SDK_EVENTS=a117_0xf0b250,a117_0x21c3b4={};a117_0x21c3b4[a117_0x191b90(0x238)]=SDK_EVENTS,a117_0x21c3b4[a117_0x191b90(0x205)]={},a117_0x21c3b4[a117_0x191b90(0x20c)]={},a117_0x21c3b4[a117_0x191b90(0x1fe)]={},a117_0x21c3b4[a117_0x191b90(0x1e4)]={},a117_0x21c3b4[a117_0x191b90(0x1e2)]={},a117_0x21c3b4[a117_0x191b90(0x249)]={},a117_0x21c3b4[a117_0x191b90(0x22c)]={},a117_0x21c3b4[a117_0x191b90(0x213)]={},a117_0x21c3b4[a117_0x191b90(0x21e)]={},a117_0x21c3b4[a117_0x191b90(0x205)][a117_0x191b90(0x265)]=SDK_EVENTS[a117_0x191b90(0x25c)]+a117_0x191b90(0x210),a117_0x21c3b4[a117_0x191b90(0x205)]['STOP']=SDK_EVENTS['SDK_TESTHUB']+a117_0x191b90(0x216),a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x237)]=SDK_EVENTS[a117_0x191b90(0x250)]+':keep-alive',a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x244)]=SDK_EVENTS[a117_0x191b90(0x250)]+':hub-management',a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x202)]=SDK_EVENTS[a117_0x191b90(0x250)]+':local-start',a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x23d)]=SDK_EVENTS['SDK_AUTOMATE']+a117_0x191b90(0x248),a117_0x21c3b4[a117_0x191b90(0x20c)]['DRIVER_MANAGE']=SDK_EVENTS[a117_0x191b90(0x250)]+a117_0x191b90(0x1fc),a117_0x21c3b4[a117_0x191b90(0x20c)]['SESSION_NAME']=SDK_EVENTS[a117_0x191b90(0x250)]+a117_0x191b90(0x1f7),a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x227)]=SDK_EVENTS['SDK_AUTOMATE']+':session-status',a117_0x21c3b4[a117_0x191b90(0x20c)]['SESSION_ANNOTATION']=SDK_EVENTS[a117_0x191b90(0x250)]+a117_0x191b90(0x20e),a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x1e0)]=SDK_EVENTS[a117_0x191b90(0x250)]+a117_0x191b90(0x23b),a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x214)]=SDK_EVENTS['SDK_AUTOMATE']+a117_0x191b90(0x1f3),a117_0x21c3b4[a117_0x191b90(0x20c)][a117_0x191b90(0x247)]=SDK_EVENTS[a117_0x191b90(0x250)]+':print-buildlink',a117_0x21c3b4[a117_0x191b90(0x1fe)][a117_0x191b90(0x24e)]=SDK_EVENTS[a117_0x191b90(0x259)]+a117_0x191b90(0x22b),a117_0x21c3b4[a117_0x191b90(0x1fe)]['SAVE_RESULTS']=SDK_EVENTS[a117_0x191b90(0x259)]+a117_0x191b90(0x261),a117_0x21c3b4[a117_0x191b90(0x1fe)][a117_0x191b90(0x24d)]=SDK_EVENTS[a117_0x191b90(0x259)]+a117_0x191b90(0x1eb),a117_0x21c3b4[a117_0x191b90(0x1fe)][a117_0x191b90(0x257)]=SDK_EVENTS[a117_0x191b90(0x259)]+a117_0x191b90(0x263),a117_0x21c3b4[a117_0x191b90(0x1e4)]['DOWNLOAD']=SDK_EVENTS[a117_0x191b90(0x212)]+':download',a117_0x21c3b4[a117_0x191b90(0x1e4)][a117_0x191b90(0x23a)]=SDK_EVENTS['SDK_PERCY']+':screenshot',a117_0x21c3b4[a117_0x191b90(0x1e4)]['START']=SDK_EVENTS['SDK_PERCY']+':start',a117_0x21c3b4[a117_0x191b90(0x1e4)][a117_0x191b90(0x234)]=SDK_EVENTS['SDK_PERCY']+':stop',a117_0x21c3b4[a117_0x191b90(0x1e4)]['AUTO_CAPTURE']=SDK_EVENTS['SDK_PERCY']+a117_0x191b90(0x1fd),a117_0x21c3b4[a117_0x191b90(0x1e4)]['SNAPSHOT']=SDK_EVENTS['SDK_PERCY']+':snapshot',a117_0x21c3b4[a117_0x191b90(0x1e4)][a117_0x191b90(0x241)]=SDK_EVENTS[a117_0x191b90(0x212)]+a117_0x191b90(0x267),a117_0x21c3b4[a117_0x191b90(0x1e2)]['SYNC']=SDK_EVENTS[a117_0x191b90(0x232)]+a117_0x191b90(0x218),a117_0x21c3b4[a117_0x191b90(0x1e2)][a117_0x191b90(0x1ea)]=SDK_EVENTS['SDK_O11Y']+a117_0x191b90(0x1f2),a117_0x21c3b4[a117_0x191b90(0x1e2)]['PRINT_BUILDLINK']=SDK_EVENTS[a117_0x191b90(0x232)]+':print-buildlink',a117_0x21c3b4[a117_0x191b90(0x249)][a117_0x191b90(0x240)]=SDK_EVENTS['SDK_HOOK']+a117_0x191b90(0x1f0),a117_0x21c3b4[a117_0x191b90(0x249)]['AFTER_EACH']=SDK_EVENTS[a117_0x191b90(0x224)]+':after-each',a117_0x21c3b4[a117_0x191b90(0x249)][a117_0x191b90(0x1ee)]=SDK_EVENTS[a117_0x191b90(0x224)]+a117_0x191b90(0x24c),a117_0x21c3b4[a117_0x191b90(0x249)][a117_0x191b90(0x223)]=SDK_EVENTS[a117_0x191b90(0x224)]+a117_0x191b90(0x1f5),a117_0x21c3b4[a117_0x191b90(0x249)][a117_0x191b90(0x200)]=SDK_EVENTS[a117_0x191b90(0x224)]+a117_0x191b90(0x1e7),a117_0x21c3b4[a117_0x191b90(0x249)][a117_0x191b90(0x255)]=SDK_EVENTS[a117_0x191b90(0x224)]+a117_0x191b90(0x219),a117_0x21c3b4[a117_0x191b90(0x22c)][a117_0x191b90(0x244)]=SDK_EVENTS[a117_0x191b90(0x20a)]+a117_0x191b90(0x22a),a117_0x21c3b4[a117_0x191b90(0x22c)][a117_0x191b90(0x247)]=SDK_EVENTS['SDK_TURBOSCALE']+a117_0x191b90(0x217),a117_0x21c3b4[a117_0x191b90(0x213)][a117_0x191b90(0x220)]=SDK_EVENTS[a117_0x191b90(0x25e)]+a117_0x191b90(0x1f1),a117_0x21c3b4[a117_0x191b90(0x21e)][a117_0x191b90(0x25b)]=SDK_EVENTS['SDK_DRIVER']+a117_0x191b90(0x258),a117_0x21c3b4[a117_0x191b90(0x21e)][a117_0x191b90(0x236)]=SDK_EVENTS[a117_0x191b90(0x222)]+a117_0x191b90(0x225),a117_0x21c3b4[a117_0x191b90(0x21e)][a117_0x191b90(0x207)]=SDK_EVENTS[a117_0x191b90(0x222)]+a117_0x191b90(0x1fb),a117_0x21c3b4[a117_0x191b90(0x21e)][a117_0x191b90(0x251)]=SDK_EVENTS[a117_0x191b90(0x222)]+a117_0x191b90(0x1ef),module[a117_0x191b90(0x23c)]=a117_0x21c3b4;function a117_0x174c(){const _0x37e537=['HOOK_EVENTS','SDK_AI_SELF_HEAL_STEP','3787332KNCsHg',':after-all','GET_RESULTS','PERFORM_SCAN','SDK_CLI_ENQUEUE_TEST_EVENT','SDK_AUTOMATE','POST_EXECUTE','SDK_POST_TEST','SDK_CONNECT_BIN_SESSION','sdk:accessibilityConfig','AFTER','559554dNHeIU','GET_RESULTS_SUMMARY',':quit','SDK_A11Y','sdk:automationFrameworkStop','QUIT','SDK_TESTHUB','sdk:observabilityConfig','SDK_APP_AUTOMATE','SDK_START_BIN_SESSION','sdk:pre-test',':save-results','sdk:connectBinSession',':get-accessibility-results-summary','5161704hacrTZ','START','SDK_CLI_DOWNLOAD',':screenshot-app','IDLE_TIMEOUT','sdk:testFrameworkEvent','O11y_EVENTS','7325787FBTNgC','PERCY_EVENTS','SDK_ACCESSIBILITY_CONFIG','SDK_POST_INITIALIZE',':before','sdk:hook','sdk:auto-capture','TAKE_SCREENSHOT',':get-accessibility-results','SDK_CLEANUP','sdk:automationFrameworkInit','AFTER_ALL',':post-execute',':before-each',':app-upload',':driver-takeScreenShot',':ci-artifacts','sdk:cli:download',':before-all','sdk:driverInit',':session-name','SDK_CLI_START','sdk:percy','60QCzoJI',':pre-execute',':driver-manage',':auto-capture','A11Y_EVENTS','3NGvjBg','BEFORE','214192VJKRGu','LOCAL_START','sdk:cli:on-stop','sdk:aiSelfHealGetResult','TESTHUB_EVENTS','1540557NiZFWD','PRE_EXECUTE','sdk:findNearestHub','sdk:aiSelfHealStep','SDK_TURBOSCALE','SDK_SETUP','AUTOMATE_EVENTS','SDK_AUTO_CAPTURE',':session-annotation','SDK_FIND_NEAREST_HUB',':start','SDK_CLI_ON_BOOTSTRAP','SDK_PERCY','APP_AUOTMATE_EVENTS','GENERATE_CI_ARTIFACT','sdk:cli:check-update',':stop',':print-buildlink',':sync',':after','SDK_AUTOMATION_FRAMEWORK_START','sdk:app-automate','sdk:cli:on-connect','SDK_TEST_SESSION_EVENT','DRIVER_EVENT','207176hchMAI','APP_UPLOAD','SDK_CLI_CHECK_UPDATE','SDK_DRIVER','BEFORE_ALL','SDK_HOOK',':get','SDK_TEST_FRAMEWORK_EVENT','SESSION_STATUS','SDK_AUTOMATION_FRAMEWORK_STOP','sdk:setup',':hub-management',':driver-performscan','TURBOSCALE_EVENTS','SDK_TEST','SDK_PRE_TEST','sdk:driver:pre-initialization','sdk:driver','sdk:proxy-setup','SDK_O11Y','sdk:automate','STOP','SDK_ON_STOP','GET','KEEP_ALIVE','EVENTS','sdk:post-test','SCREENSHOT',':idle-timeout','exports','LOCAL_STOP','SDK_DRIVER_INIT','sdk:testhub','BEFORE_EACH','SCREENSHOT_APP','SDK_OBSERVABILITY_CONFIG','sdk:cli:on-bootstrap','HUB_MANAGEMENT','SDK_AI_SELF_HEAL_GET_RESULT','sdk:cli:start','PRINT_BUILDLINK',':local-stop'];a117_0x174c=function(){return _0x37e537;};return a117_0x174c();}
1
+ function a119_0x16a2(_0x28ad85,_0x12c90a){const _0x17104b=a119_0x1710();return a119_0x16a2=function(_0x16a2b1,_0x2f779a){_0x16a2b1=_0x16a2b1-0x17f;let _0x5aec70=_0x17104b[_0x16a2b1];return _0x5aec70;},a119_0x16a2(_0x28ad85,_0x12c90a);}const a119_0x183b30=a119_0x16a2;(function(_0x12fb8d,_0x4591ed){const _0x2f8044=a119_0x16a2,_0x4fd9d0=_0x12fb8d();while(!![]){try{const _0x4dee24=parseInt(_0x2f8044(0x1f8))/0x1+-parseInt(_0x2f8044(0x1ea))/0x2*(parseInt(_0x2f8044(0x1f3))/0x3)+-parseInt(_0x2f8044(0x19c))/0x4*(-parseInt(_0x2f8044(0x188))/0x5)+parseInt(_0x2f8044(0x1f5))/0x6+-parseInt(_0x2f8044(0x1b1))/0x7+parseInt(_0x2f8044(0x1e5))/0x8*(-parseInt(_0x2f8044(0x19a))/0x9)+parseInt(_0x2f8044(0x1af))/0xa;if(_0x4dee24===_0x4591ed)break;else _0x4fd9d0['push'](_0x4fd9d0['shift']());}catch(_0x316611){_0x4fd9d0['push'](_0x4fd9d0['shift']());}}}(a119_0x1710,0x33abd));const a119_0x12b9cb={};a119_0x12b9cb['SDK_SETUP']=a119_0x183b30(0x1ad),a119_0x12b9cb[a119_0x183b30(0x1e9)]='sdk:cleanup',a119_0x12b9cb['SDK_PRE_TEST']=a119_0x183b30(0x1a6),a119_0x12b9cb[a119_0x183b30(0x187)]=a119_0x183b30(0x1a4),a119_0x12b9cb[a119_0x183b30(0x194)]=a119_0x183b30(0x18b),a119_0x12b9cb[a119_0x183b30(0x1de)]='sdk:hook',a119_0x12b9cb[a119_0x183b30(0x190)]=a119_0x183b30(0x196),a119_0x12b9cb[a119_0x183b30(0x1c9)]=a119_0x183b30(0x1e2),a119_0x12b9cb[a119_0x183b30(0x1d2)]=a119_0x183b30(0x1d1),a119_0x12b9cb['SDK_AUTO_CAPTURE']='sdk:auto-capture',a119_0x12b9cb['SDK_PROXY_SETUP']=a119_0x183b30(0x197),a119_0x12b9cb['SDK_TESTHUB']=a119_0x183b30(0x18f),a119_0x12b9cb['SDK_AUTOMATE']=a119_0x183b30(0x1ee),a119_0x12b9cb['SDK_APP_AUTOMATE']='sdk:app-automate',a119_0x12b9cb[a119_0x183b30(0x199)]=a119_0x183b30(0x1fd),a119_0x12b9cb[a119_0x183b30(0x1f6)]=a119_0x183b30(0x1c3),a119_0x12b9cb[a119_0x183b30(0x19d)]=a119_0x183b30(0x181),a119_0x12b9cb['SDK_POST_INITIALIZE']=a119_0x183b30(0x203),a119_0x12b9cb[a119_0x183b30(0x1e1)]=a119_0x183b30(0x1cb),a119_0x12b9cb[a119_0x183b30(0x1a8)]=a119_0x183b30(0x1ac),a119_0x12b9cb[a119_0x183b30(0x1c0)]=a119_0x183b30(0x189),a119_0x12b9cb['SDK_CLI_ON_BOOTSTRAP']=a119_0x183b30(0x17f),a119_0x12b9cb[a119_0x183b30(0x1a1)]=a119_0x183b30(0x1b8),a119_0x12b9cb[a119_0x183b30(0x1d4)]=a119_0x183b30(0x19b),a119_0x12b9cb[a119_0x183b30(0x18d)]=a119_0x183b30(0x1d8),a119_0x12b9cb['SDK_CONNECT_BIN_SESSION']='sdk:connectBinSession',a119_0x12b9cb[a119_0x183b30(0x1b3)]=a119_0x183b30(0x1a5),a119_0x12b9cb[a119_0x183b30(0x1ff)]=a119_0x183b30(0x1fe),a119_0x12b9cb['SDK_AUTOMATION_FRAMEWORK_INIT']=a119_0x183b30(0x1b9),a119_0x12b9cb['SDK_AUTOMATION_FRAMEWORK_START']=a119_0x183b30(0x19e),a119_0x12b9cb[a119_0x183b30(0x1ca)]='sdk:accessibilityConfig',a119_0x12b9cb[a119_0x183b30(0x1e7)]=a119_0x183b30(0x1db),a119_0x12b9cb[a119_0x183b30(0x1cf)]='sdk:aiSelfHealStep',a119_0x12b9cb[a119_0x183b30(0x1ae)]=a119_0x183b30(0x1c5),a119_0x12b9cb['SDK_TEST_FRAMEWORK_EVENT']=a119_0x183b30(0x1ce),a119_0x12b9cb['SDK_TEST_SESSION_EVENT']=a119_0x183b30(0x1bd),a119_0x12b9cb[a119_0x183b30(0x1da)]='sdk:cli:logCreatedEvent',a119_0x12b9cb['SDK_CLI_ENQUEUE_TEST_EVENT']=a119_0x183b30(0x204),a119_0x12b9cb[a119_0x183b30(0x1e3)]=a119_0x183b30(0x1d6),a119_0x12b9cb[a119_0x183b30(0x1a2)]=a119_0x183b30(0x1d3);const SDK_EVENTS=a119_0x12b9cb,a119_0x122a67={};function a119_0x1710(){const _0x5dc0cc=[':sync','PERCY_EVENTS','SDK_APP_AUTOMATE','sdk:cli:on-bootstrap','AFTER','sdk:driver:pre-initialization',':before-all','exports',':local-start','TURBOSCALE_EVENTS',':print-buildlink','SDK_TEST','842770xbYaYN','sdk:cli:check-update',':get','sdk:post-test','SESSION_STATUS','SDK_START_BIN_SESSION',':driver-takeScreenShot','sdk:testhub','SDK_DRIVER','HOOK_EVENTS',':screenshot-app','A11Y_EVENTS','SDK_POST_TEST','AUTOMATE_EVENTS','sdk:driver','sdk:proxy-setup','HUB_MANAGEMENT','SDK_TURBOSCALE','70947ibjKTl','sdk:cli:on-stop','8veUGHt','SDK_PRE_INITIALIZE','sdk:automationFrameworkStart',':before',':after-all','SDK_CLI_ON_CONNECT','SDK_ON_STOP',':hub-management','sdk:test','sdk:driverInit','sdk:pre-test',':session-annotation','SDK_CLI_DOWNLOAD','PERFORM_SCAN','APP_AUOTMATE_EVENTS','SDK_AUTOMATE','sdk:cli:download','sdk:setup','SDK_AI_SELF_HEAL_GET_RESULT','1798650LIyAiD','IDLE_TIMEOUT','832405Xsoksg','LOCAL_STOP','SDK_DRIVER_INIT','TAKE_SCREENSHOT','DRIVER_EVENT',':screenshot','SESSION_NAME','sdk:cli:on-connect','sdk:automationFrameworkInit','DRIVER_MANAGE','PRINT_BUILDLINK','STOP','sdk:testSessionEvent','SNAPSHOT',':quit','SDK_CLI_CHECK_UPDATE',':snapshot',':start','sdk:percy','SDK_TESTHUB','sdk:aiSelfHealGetResult',':ci-artifacts','GENERATE_CI_ARTIFACT','SESSION_ANNOTATION','SDK_A11Y','SDK_ACCESSIBILITY_CONFIG','sdk:cli:start','START','AFTER_ALL','sdk:testFrameworkEvent','SDK_AI_SELF_HEAL_STEP',':driver-manage','sdk:o11y','SDK_O11Y','sdk:onStop','SDK_CLI_ON_STOP',':local-stop','sdk:automationFrameworkStop','KEEP_ALIVE','sdk:startBinSession',':pre-execute','SDK_CLI_LOG_CREATED_EVENT','sdk:observabilityConfig',':idle-timeout',':after-each','SDK_HOOK','O11y_EVENTS',':app-upload','SDK_CLI_START','sdk:a11y','SDK_AUTOMATION_FRAMEWORK_STOP',':auto-capture','232yKrHvc',':stop','SDK_OBSERVABILITY_CONFIG',':save-results','SDK_CLEANUP','1238TFndmk',':keep-alive','AFTER_EACH','GET_RESULTS_SUMMARY','sdk:automate','BEFORE','BEFORE_ALL',':download','SAVE_RESULTS','1695OKPKnn','SYNC','900798sOwcZK','SDK_PERCY',':get-accessibility-results','241796QWEfkk','POST_EXECUTE','BEFORE_EACH','PRE_EXECUTE','GET_RESULTS','sdk:turboscale','sdk:findNearestHub','SDK_FIND_NEAREST_HUB','AUTO_CAPTURE',':driver-performscan','GET','sdk:driver:post-initialization','sdk:cli:enqueueTestEvent'];a119_0x1710=function(){return _0x5dc0cc;};return a119_0x1710();}a119_0x122a67['EVENTS']=SDK_EVENTS,a119_0x122a67['TESTHUB_EVENTS']={},a119_0x122a67[a119_0x183b30(0x195)]={},a119_0x122a67[a119_0x183b30(0x193)]={},a119_0x122a67[a119_0x183b30(0x206)]={},a119_0x122a67[a119_0x183b30(0x1df)]={},a119_0x122a67[a119_0x183b30(0x191)]={},a119_0x122a67[a119_0x183b30(0x185)]={},a119_0x122a67[a119_0x183b30(0x1aa)]={},a119_0x122a67[a119_0x183b30(0x1b5)]={},a119_0x122a67['TESTHUB_EVENTS'][a119_0x183b30(0x1cc)]=SDK_EVENTS[a119_0x183b30(0x1c4)]+a119_0x183b30(0x1c2),a119_0x122a67['TESTHUB_EVENTS'][a119_0x183b30(0x1bc)]=SDK_EVENTS[a119_0x183b30(0x1c4)]+a119_0x183b30(0x1e6),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1d7)]=SDK_EVENTS['SDK_AUTOMATE']+a119_0x183b30(0x1eb),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x198)]=SDK_EVENTS['SDK_AUTOMATE']+a119_0x183b30(0x1a3),a119_0x122a67[a119_0x183b30(0x195)]['LOCAL_START']=SDK_EVENTS[a119_0x183b30(0x1ab)]+a119_0x183b30(0x184),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1b2)]=SDK_EVENTS[a119_0x183b30(0x1ab)]+a119_0x183b30(0x1d5),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1ba)]=SDK_EVENTS['SDK_AUTOMATE']+a119_0x183b30(0x1d0),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1b7)]=SDK_EVENTS[a119_0x183b30(0x1ab)]+':session-name',a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x18c)]=SDK_EVENTS['SDK_AUTOMATE']+':session-status',a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1c8)]=SDK_EVENTS[a119_0x183b30(0x1ab)]+a119_0x183b30(0x1a7),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1b0)]=SDK_EVENTS[a119_0x183b30(0x1ab)]+a119_0x183b30(0x1dc),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1c7)]=SDK_EVENTS['SDK_AUTOMATE']+a119_0x183b30(0x1c6),a119_0x122a67[a119_0x183b30(0x195)][a119_0x183b30(0x1bb)]=SDK_EVENTS[a119_0x183b30(0x1ab)]+a119_0x183b30(0x186),a119_0x122a67[a119_0x183b30(0x193)][a119_0x183b30(0x1a9)]=SDK_EVENTS[a119_0x183b30(0x1c9)]+a119_0x183b30(0x201),a119_0x122a67[a119_0x183b30(0x193)][a119_0x183b30(0x1f2)]=SDK_EVENTS['SDK_A11Y']+a119_0x183b30(0x1e8),a119_0x122a67[a119_0x183b30(0x193)][a119_0x183b30(0x1fc)]=SDK_EVENTS[a119_0x183b30(0x1c9)]+a119_0x183b30(0x1f7),a119_0x122a67[a119_0x183b30(0x193)][a119_0x183b30(0x1ed)]=SDK_EVENTS[a119_0x183b30(0x1c9)]+':get-accessibility-results-summary',a119_0x122a67[a119_0x183b30(0x206)]['DOWNLOAD']=SDK_EVENTS[a119_0x183b30(0x1f6)]+a119_0x183b30(0x1f1),a119_0x122a67[a119_0x183b30(0x206)]['SCREENSHOT']=SDK_EVENTS[a119_0x183b30(0x1f6)]+a119_0x183b30(0x1b6),a119_0x122a67[a119_0x183b30(0x206)]['START']=SDK_EVENTS[a119_0x183b30(0x1f6)]+a119_0x183b30(0x1c2),a119_0x122a67[a119_0x183b30(0x206)][a119_0x183b30(0x1bc)]=SDK_EVENTS['SDK_PERCY']+a119_0x183b30(0x1e6),a119_0x122a67[a119_0x183b30(0x206)][a119_0x183b30(0x200)]=SDK_EVENTS[a119_0x183b30(0x1f6)]+a119_0x183b30(0x1e4),a119_0x122a67[a119_0x183b30(0x206)][a119_0x183b30(0x1be)]=SDK_EVENTS[a119_0x183b30(0x1f6)]+a119_0x183b30(0x1c1),a119_0x122a67[a119_0x183b30(0x206)]['SCREENSHOT_APP']=SDK_EVENTS[a119_0x183b30(0x1f6)]+a119_0x183b30(0x192),a119_0x122a67[a119_0x183b30(0x1df)][a119_0x183b30(0x1f4)]=SDK_EVENTS[a119_0x183b30(0x1d2)]+a119_0x183b30(0x205),a119_0x122a67[a119_0x183b30(0x1df)][a119_0x183b30(0x1b4)]=SDK_EVENTS['SDK_O11Y']+a119_0x183b30(0x18e),a119_0x122a67[a119_0x183b30(0x1df)][a119_0x183b30(0x1bb)]=SDK_EVENTS['SDK_O11Y']+a119_0x183b30(0x186),a119_0x122a67[a119_0x183b30(0x191)][a119_0x183b30(0x1fa)]=SDK_EVENTS[a119_0x183b30(0x1de)]+':before-each',a119_0x122a67[a119_0x183b30(0x191)][a119_0x183b30(0x1ec)]=SDK_EVENTS[a119_0x183b30(0x1de)]+a119_0x183b30(0x1dd),a119_0x122a67[a119_0x183b30(0x191)][a119_0x183b30(0x1cd)]=SDK_EVENTS['SDK_HOOK']+a119_0x183b30(0x1a0),a119_0x122a67[a119_0x183b30(0x191)][a119_0x183b30(0x1f0)]=SDK_EVENTS[a119_0x183b30(0x1de)]+a119_0x183b30(0x182),a119_0x122a67[a119_0x183b30(0x191)][a119_0x183b30(0x1ef)]=SDK_EVENTS[a119_0x183b30(0x1de)]+a119_0x183b30(0x19f),a119_0x122a67[a119_0x183b30(0x191)][a119_0x183b30(0x180)]=SDK_EVENTS['SDK_HOOK']+':after',a119_0x122a67[a119_0x183b30(0x185)][a119_0x183b30(0x198)]=SDK_EVENTS[a119_0x183b30(0x199)]+a119_0x183b30(0x1a3),a119_0x122a67[a119_0x183b30(0x185)][a119_0x183b30(0x1bb)]=SDK_EVENTS[a119_0x183b30(0x199)]+':print-buildlink',a119_0x122a67[a119_0x183b30(0x1aa)]['APP_UPLOAD']=SDK_EVENTS[a119_0x183b30(0x207)]+a119_0x183b30(0x1e0),a119_0x122a67[a119_0x183b30(0x1b5)]['QUIT']=SDK_EVENTS[a119_0x183b30(0x190)]+a119_0x183b30(0x1bf),a119_0x122a67[a119_0x183b30(0x1b5)][a119_0x183b30(0x202)]=SDK_EVENTS[a119_0x183b30(0x190)]+a119_0x183b30(0x18a),a119_0x122a67[a119_0x183b30(0x1b5)][a119_0x183b30(0x1fb)]=SDK_EVENTS[a119_0x183b30(0x190)]+a119_0x183b30(0x1d9),a119_0x122a67[a119_0x183b30(0x1b5)][a119_0x183b30(0x1f9)]=SDK_EVENTS[a119_0x183b30(0x190)]+':post-execute',module[a119_0x183b30(0x183)]=a119_0x122a67;
@@ -1 +1 @@
1
- const a118_0x5b48c3=a118_0x3a88;(function(_0x28fa7,_0x301495){const _0x20679a=a118_0x3a88,_0x46e7f8=_0x28fa7();while(!![]){try{const _0x4fd21f=-parseInt(_0x20679a(0x13f))/0x1*(-parseInt(_0x20679a(0xca))/0x2)+-parseInt(_0x20679a(0x162))/0x3*(parseInt(_0x20679a(0x147))/0x4)+parseInt(_0x20679a(0xc8))/0x5*(parseInt(_0x20679a(0xff))/0x6)+parseInt(_0x20679a(0xcc))/0x7+parseInt(_0x20679a(0xcd))/0x8+parseInt(_0x20679a(0xc5))/0x9+-parseInt(_0x20679a(0xc9))/0xa*(parseInt(_0x20679a(0x12c))/0xb);if(_0x4fd21f===_0x301495)break;else _0x46e7f8['push'](_0x46e7f8['shift']());}catch(_0xfb2ca3){_0x46e7f8['push'](_0x46e7f8['shift']());}}}(a118_0x157a,0x52664));function a118_0x3a88(_0x45392f,_0x5061d3){const _0x157a2c=a118_0x157a();return a118_0x3a88=function(_0x3a880e,_0x2739fb){_0x3a880e=_0x3a880e-0xbf;let _0xe25ee5=_0x157a2c[_0x3a880e];return _0xe25ee5;},a118_0x3a88(_0x45392f,_0x5061d3);}function a118_0x157a(){const _0xb07d9f=['29cluPdM','nWNHc','false','assign','__platformCaps','pushErrors','catch','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','4AQXCXm','Error\x20stopping\x20monitoring\x20','yPaLc','concat','.json','stack','Time\x20for\x20','_events','WyQFZ','/performance-report-','flat','reduce','forEach','perf_hooks','F_OK','calculateTimesFromMultipleFiles','map','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','calculateTimeFromEvents','measures','getCleanedPerfEvents','mkdirSync','SSeXy','stopMonitoring','length','info','unlink','1208004Xdicdq','then','eVhFC','GRDWb','index','toJSON','end','Performance\x20report\x20is\x20at\x20','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','MnRkF','YIOPC','jsonReportDirName','modified-key-metrics.json','dApQF','<tr><td>','EXCXQ','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','constants','observe','finalizePerfMeasures','kdqtC','measure','253917FfirFh','isEnabled','debug','275EGsYNo','430PKAuRk','10628gNFweK','name','515340BjlSup','4521008pJYJrQ','pushPerfMeasures','performance-own.html','-start','parse','</tbody></table></body></html>','/error-report-','generateHTMLReport','qbSWl','Lnswo','disconnect','hvVer','jDXOQ','vDQjg','cITFq','error\x20in\x20measure\x20','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','UuZfS','splice','exports','YBqgU','\x20for\x20all\x20processes\x20is\x20','qkgMo','join','getPerformance','success','eveUI','started','focIU','qsMYX','entries','winstonLogger','getEventsFromJSON','isArray','existsSync','uwTfy','writeFileSync','xkVEa','qdVVN','failure','BROWSERSTACK_SDK_INSTRUMENTATION','OgzQf','errorReportDirName','meta','errorReportFileName','jsonReportDirPath','errorFile','Jzkft','DWmyQ','dirname','68754vcEcfG','buffered','env','readFileSync','resolve','lwvoD','ZZqik','vFJQD','</td></tr>','JrBQv','../processHelper','unlinkSync','<h1>Performance\x20Report</h1>','toString','../logger','duration','mark','message','details','Error\x20in\x20writing\x20html\x20','error-report','browserStackCwd','readFile','DGuyS','Error\x20in\x20doing\x20csv\x20operations:\x20','bhjdP','match','ZiyGn','writeFile','eventsMap','generateJSON','code','stringify','key-metrics.json','WVTQS','RfyDL','utf-8','all','finalize','jsonReportFileName','lBqQM','fs/promises','startMonitoring','iHWmn','format','181918wgQLSE','muQXv','wSLEF','_observer','push','finalizeErrors','KLVeT','OkXKt','slice','entryTypes','qobZs','tsvkA','_measureEvents','access','start','_errorEvents','apply','function','cwd'];a118_0x157a=function(){return _0xb07d9f;};return a118_0x157a();}const fs=require('fs'),fsPromise=require(a118_0x5b48c3(0x128)),{performance,PerformanceObserver}=require(a118_0x5b48c3(0x154)),path=require('path'),util=require('util'),logger=require(a118_0x5b48c3(0x10d))[a118_0x5b48c3(0xec)],{getLogDir}=require('../logger'),{getProcessId,sleep,debug,getTestName}=require(a118_0x5b48c3(0x109));class PerformanceTester{static [a118_0x5b48c3(0x12f)];static [a118_0x5b48c3(0x14e)]=[];static [a118_0x5b48c3(0x138)]=[];static [a118_0x5b48c3(0x13b)]=[];static [a118_0x5b48c3(0xe8)]=![];static ['jsonReportDirName']='performance-report';static [a118_0x5b48c3(0xf7)]=process['env'][a118_0x5b48c3(0x114)]?path['join'](process[a118_0x5b48c3(0x101)]['browserStackCwd'],a118_0x5b48c3(0x113)):path[a118_0x5b48c3(0xe4)](process[a118_0x5b48c3(0x13e)](),'error-report');static ['errorReportFileName']=this[a118_0x5b48c3(0xf7)]+'/error-report-'+getProcessId()+a118_0x5b48c3(0x14b);static [a118_0x5b48c3(0x111)]={};static [a118_0x5b48c3(0x11c)]={};static[a118_0x5b48c3(0x129)](_0x5a1a5d,_0x1890d7=this[a118_0x5b48c3(0xf7)]+a118_0x5b48c3(0xd3)+getProcessId()+a118_0x5b48c3(0x14b)){const _0x1ddd1e=a118_0x5b48c3,_0x3cdcde={'KLVeT':function(_0x123ab1,_0x9ca380){return _0x123ab1===_0x9ca380;},'vaePk':'measure','qbSWl':function(_0x1845b4){return _0x1845b4();},'qobZs':function(_0x9fbb92){return _0x9fbb92();},'uwTfy':function(_0xb1eea3,_0x2a5efa){return _0xb1eea3+_0x2a5efa;},'RfyDL':_0x1ddd1e(0x16a),'focIU':_0x1ddd1e(0x13d)};try{this[_0x1ddd1e(0xfa)]=path[_0x1ddd1e(0xe4)](_0x3cdcde[_0x1ddd1e(0xd5)](getLogDir),this[_0x1ddd1e(0x16d)]),!_0x5a1a5d&&(_0x5a1a5d=this[_0x1ddd1e(0xfa)]+_0x1ddd1e(0x150)+_0x3cdcde[_0x1ddd1e(0x136)](getProcessId)+'.json'),!fs[_0x1ddd1e(0xef)](this[_0x1ddd1e(0xfa)])&&fs[_0x1ddd1e(0x15c)](this['jsonReportDirPath']);}catch(_0x3596f0){logger[_0x1ddd1e(0xc7)](_0x3cdcde[_0x1ddd1e(0xf0)](_0x3cdcde[_0x1ddd1e(0x122)],_0x3596f0));}if(this[_0x1ddd1e(0xe8)]||!this[_0x1ddd1e(0xc6)]())return;this['_observer']=new PerformanceObserver(_0x2ba8e2=>{const _0x2cde5a=_0x1ddd1e,_0x3e9c8d={'MKATn':function(_0xc45631,_0x33123f){const _0x4c1714=a118_0x3a88;return _0x3cdcde[_0x4c1714(0x132)](_0xc45631,_0x33123f);},'lBqQM':_0x3cdcde['vaePk']};_0x2ba8e2['getEntries']()[_0x2cde5a(0x153)](_0xe29721=>{const _0xe6262c=_0x2cde5a;if(_0x3e9c8d['MKATn'](_0xe29721['entryType'],_0x3e9c8d[_0xe6262c(0x127)])){let _0x3b0704={};if(_0xe29721[_0xe6262c(0x167)])_0x3b0704=_0xe29721['toJSON']();else for(const _0x4e989b in _0xe29721){_0x3b0704[_0x4e989b]=_0xe29721[_0x4e989b];}this[_0xe6262c(0x111)][_0xe29721[_0xe6262c(0xcb)]]&&(_0x3b0704=Object[_0xe6262c(0x142)](_0x3b0704,this['details'][_0xe29721[_0xe6262c(0xcb)]])),delete this[_0xe6262c(0x111)][_0xe29721['name']],this['_measureEvents'][_0xe6262c(0x130)](_0x3b0704);}else this['_events'][_0xe6262c(0x130)](_0xe29721);});});const _0x5b58a2={};_0x5b58a2[_0x1ddd1e(0x100)]=!![],_0x5b58a2[_0x1ddd1e(0x135)]=[_0x3cdcde[_0x1ddd1e(0xe9)],_0x3cdcde['vaePk']],this['_observer'][_0x1ddd1e(0xc1)](_0x5b58a2),this[_0x1ddd1e(0xe8)]=!![],this[_0x1ddd1e(0x126)]=_0x5a1a5d,this[_0x1ddd1e(0xf9)]=_0x1890d7;}static[a118_0x5b48c3(0xe5)](){return performance;}static[a118_0x5b48c3(0x159)](_0x4f305d,_0x314c4c){const _0x34a493=a118_0x5b48c3,_0x3b36ad={};_0x3b36ad['muQXv']=function(_0x2c5699,_0x39e06a){return _0x2c5699+_0x39e06a;},_0x3b36ad[_0x34a493(0xd8)]=function(_0x51e83f,_0x1bb850){return _0x51e83f||_0x1bb850;},_0x3b36ad['ovKBS']=function(_0x37a6e4,_0x3c319b){return _0x37a6e4===_0x3c319b;};const _0x4d318d=_0x3b36ad,_0x454434={};if(!_0x4f305d||_0x4d318d['ovKBS'](_0x4f305d[_0x34a493(0x15f)],0x0))return;_0x4f305d[_0x34a493(0x157)](_0x5cf0e0=>{const _0x59d115=_0x34a493;!_0x454434[_0x5cf0e0[_0x59d115(0xcb)]]&&(_0x454434[_0x5cf0e0[_0x59d115(0xcb)]]=0x0),_0x454434[_0x5cf0e0['name']]+=_0x5cf0e0['duration'];});const _0xf67f71=_0x314c4c['reduce']((_0x19f243,_0x2ca3c7)=>{const _0x168242=_0x34a493;return _0x4d318d[_0x168242(0x12d)](_0x454434[_0x2ca3c7],_0x4d318d[_0x168242(0xd8)](_0x19f243,0x0));},0x0);return _0xf67f71;}static async[a118_0x5b48c3(0x156)](_0x49657d,_0x137833){const _0x1d9f40=a118_0x5b48c3,_0x2efc82={'fmsJQ':function(_0x3ad57,_0x26ede4){return _0x3ad57+_0x26ede4;},'JrBQv':function(_0x1b2f76,_0x628b0b){return _0x1b2f76||_0x628b0b;},'tsvkA':function(_0x25f424,_0x29327d){return _0x25f424===_0x29327d;},'lwvoD':function(_0x307ea1,_0x3c8afb){return _0x307ea1(_0x3c8afb);}};if(!_0x49657d||_0x2efc82[_0x1d9f40(0x137)](_0x49657d[_0x1d9f40(0x15f)],0x0))return 0x0;const _0x408c79=[];for(const _0xa10fed of _0x49657d){const _0x345a01=path[_0x1d9f40(0xe4)]('.',_0xa10fed);try{const _0x38ee9c=this[_0x1d9f40(0xed)](_0x345a01);_0x38ee9c[_0x1d9f40(0x157)](_0x234ebc=>{const _0x2ab67a=_0x1d9f40;!_0x408c79[_0x234ebc['name']]&&(_0x408c79[_0x234ebc[_0x2ab67a(0xcb)]]=0x0),_0x408c79[_0x234ebc[_0x2ab67a(0xcb)]]+=_0x234ebc[_0x2ab67a(0x10e)];});}catch(_0x53b3db){_0x2efc82[_0x1d9f40(0x104)](debug,_0x1d9f40(0x117)+_0x53b3db[_0x1d9f40(0x10c)]());}}const _0xb480ba=_0x137833[_0x1d9f40(0x152)]((_0x11b621,_0x331cc0)=>{const _0x5019c0=_0x1d9f40;return _0x2efc82['fmsJQ'](_0x408c79[_0x331cc0],_0x2efc82[_0x5019c0(0x108)](_0x11b621,0x0));},0x0);return _0x2efc82['lwvoD'](debug,_0x1d9f40(0x14d)+_0x137833+_0x1d9f40(0xe2)+_0xb480ba),_0xb480ba;}static[a118_0x5b48c3(0xed)](_0x19aa81){const _0x216c18=a118_0x5b48c3;if(_0x19aa81){if(!fs[_0x216c18(0xef)](_0x19aa81))return[];return JSON[_0x216c18(0xd1)](fs['readFileSync'](_0x19aa81)[_0x216c18(0x10c)]());}}static async['stopAndGenerate'](_0x5c7af7=a118_0x5b48c3(0xcf),_0x3ec94b=null){const _0x56973f=a118_0x5b48c3,_0x5cf776={'Lnswo':function(_0x20a186,_0x16faee){return _0x20a186(_0x16faee);},'Jzkft':function(_0x4f70a7,_0x433fda){return _0x4f70a7(_0x433fda);},'YBqgU':function(_0x102e71,_0xa8c7e6){return _0x102e71(_0xa8c7e6);}};if(!this[_0x56973f(0xe8)])return;await _0x5cf776[_0x56973f(0xe1)](sleep,0x1e),this['_observer'][_0x56973f(0xd7)](),this[_0x56973f(0xe8)]=![],this['generateJSON'](this['_events']);const _0x2e1f1d=this[_0x56973f(0xd4)](this['_events']),_0x3f920e=path[_0x56973f(0xe4)](process[_0x56973f(0x13e)](),_0x5c7af7);fs[_0x56973f(0x11b)](_0x3f920e,_0x2e1f1d,_0x2c08e6=>{const _0x20aca7=_0x56973f;if(_0x2c08e6){_0x5cf776[_0x20aca7(0xd6)](debug,_0x20aca7(0x112)+_0x2c08e6[_0x20aca7(0x10c)]());return;}_0x5cf776[_0x20aca7(0xfc)](debug,_0x20aca7(0x169)+_0x3f920e);});if(_0x3ec94b)return this['calculateTimeFromEvents'](this[_0x56973f(0x14e)],_0x3ec94b);}static[a118_0x5b48c3(0xd4)](_0x4bcf19){const _0x276bd6=a118_0x5b48c3,_0x7aa935={};_0x7aa935[_0x276bd6(0x149)]=_0x276bd6(0x158),_0x7aa935[_0x276bd6(0x14f)]=_0x276bd6(0x10b),_0x7aa935[_0x276bd6(0xdb)]=_0x276bd6(0xdd),_0x7aa935[_0x276bd6(0x105)]=_0x276bd6(0xd2);const _0x36bdd7=_0x7aa935;let _0x128056=_0x36bdd7[_0x276bd6(0x149)];return _0x128056+=_0x36bdd7[_0x276bd6(0x14f)],_0x128056+=_0x36bdd7[_0x276bd6(0xdb)],_0x4bcf19[_0x276bd6(0x153)](_0x3507e0=>{const _0x11cd9b=_0x276bd6;_0x128056+=_0x11cd9b(0x170)+_0x3507e0[_0x11cd9b(0xcb)]+'</td><td>'+_0x3507e0[_0x11cd9b(0x10e)]+_0x11cd9b(0x107);}),_0x128056+=_0x36bdd7[_0x276bd6(0x105)],_0x128056;}static[a118_0x5b48c3(0x11d)](_0x7a6951){const _0x3ebae2=a118_0x5b48c3;if(!this[_0x3ebae2(0x126)])return;const _0x167e9f={};_0x7a6951['map'](_0x10ee05=>{const _0x931dd1=_0x3ebae2;!_0x167e9f[_0x10ee05[_0x931dd1(0xcb)]]&&(_0x167e9f[_0x10ee05['name']]=0x0),_0x167e9f[_0x10ee05[_0x931dd1(0xcb)]]+=_0x10ee05[_0x931dd1(0x10e)];});const _0x43396f=Object[_0x3ebae2(0xeb)](_0x167e9f)[_0x3ebae2(0x157)](([_0x3805d2,_0x3585b7])=>{const _0x5f3755=_0x3ebae2,_0x2c2585={};return _0x2c2585[_0x5f3755(0xcb)]=_0x3805d2,_0x2c2585[_0x5f3755(0x10e)]=_0x3585b7,_0x2c2585;});fs[_0x3ebae2(0xf1)](this[_0x3ebae2(0x126)],JSON[_0x3ebae2(0x11f)](_0x43396f));}static[a118_0x5b48c3(0xc6)](){const _0x18cd0f=a118_0x5b48c3,_0x4d6660={};_0x4d6660[_0x18cd0f(0x15d)]=function(_0x1ec92e,_0x15296a){return _0x1ec92e===_0x15296a;},_0x4d6660[_0x18cd0f(0x121)]=_0x18cd0f(0x141);const _0x58ee6f=_0x4d6660;return!_0x58ee6f[_0x18cd0f(0x15d)](process[_0x18cd0f(0x101)][_0x18cd0f(0xf5)],_0x58ee6f[_0x18cd0f(0x121)]);}static[a118_0x5b48c3(0xc4)](_0x255dfc,_0x3c842c,_0x2a3e5d=null,_0xcc1dac={},_0x589628=null){const _0x41a11c=a118_0x5b48c3,_0x19cb71={'yhMiB':function(_0xdb79dc,_0x2fc323){return _0xdb79dc(_0x2fc323);},'bhjdP':function(_0x3d26eb,_0x28aab1){return _0x3d26eb instanceof _0x28aab1;}};try{if(this['started']&&this[_0x41a11c(0xc6)]()){let _0x43e1ef=_0x255dfc;_0x2a3e5d&&(_0x43e1ef=_0x255dfc+'['+JSON[_0x41a11c(0x11f)](_0x2a3e5d)+']');PerformanceTester[_0x41a11c(0x13a)](_0x43e1ef),this[_0x41a11c(0x111)]&&(this[_0x41a11c(0x111)][_0x43e1ef]=_0xcc1dac);try{const _0x2dcbd4=_0x3c842c[_0x41a11c(0x13c)](null,_0x589628);if(_0x19cb71[_0x41a11c(0x118)](_0x2dcbd4,Promise))return new Promise((_0x1156da,_0x46cf32)=>{const _0x3e5e5b=_0x41a11c;_0x2dcbd4[_0x3e5e5b(0x163)](_0x2bde31=>{PerformanceTester['end'](_0x43e1ef),_0x19cb71['yhMiB'](_0x1156da,_0x2bde31);})[_0x3e5e5b(0x145)](_0x328dec=>{const _0x4a45ba=_0x3e5e5b;PerformanceTester[_0x4a45ba(0x168)](_0x43e1ef,![],util[_0x4a45ba(0x12b)](_0x328dec)),_0x19cb71['yhMiB'](_0x46cf32,_0x328dec);});});;return PerformanceTester[_0x41a11c(0x168)](_0x43e1ef),_0x2dcbd4;}catch(_0x5ca023){PerformanceTester[_0x41a11c(0x168)](_0x43e1ef,![],util[_0x41a11c(0x12b)](_0x5ca023));throw _0x5ca023;}};return _0x3c842c[_0x41a11c(0x13c)](null,_0x589628);}catch(_0x936a01){return logger[_0x41a11c(0xc7)](_0x41a11c(0xdc)+(_0x936a01[_0x41a11c(0x14c)]||_0x936a01[_0x41a11c(0x110)]||_0x936a01)),_0x3c842c[_0x41a11c(0x13c)](null,_0x589628);}}static['measureWrapper'](_0xa0883e,_0x1752a0,_0x2d932d={}){const _0x6191e8=a118_0x5b48c3,_0x3a0916={'YIOPC':function(_0x12a043){return _0x12a043();}},_0x1bfd40=this;return _0x2d932d['worker']=_0x3a0916['YIOPC'](getProcessId),_0x2d932d['testName']=_0x3a0916[_0x6191e8(0x16c)](getTestName),_0x2d932d['platform']=global[_0x6191e8(0x143)]&&global[_0x6191e8(0x143)][_0x6191e8(0x166)],function(){const _0x1f884d=_0x6191e8,_0x584fa4=[_0xa0883e,_0x1752a0,null,_0x2d932d][_0x1f884d(0x14a)](arguments);return _0x1bfd40[_0x1f884d(0xc4)]['apply'](_0x1bfd40,_0x584fa4);};}static[a118_0x5b48c3(0x15b)](){const _0x262f5b=a118_0x5b48c3,_0xa21a4d=/(^.*)\[(.*)\]$/,_0x1d0f0c={},_0x247040={},_0x28ff07=[],_0xa15a58=this[_0x262f5b(0x138)][_0x262f5b(0xdf)](0x0,this[_0x262f5b(0x138)][_0x262f5b(0x15f)]);for(const _0xa60a24 of _0xa15a58){const _0x5d71c3=_0xa60a24[_0x262f5b(0xcb)][_0x262f5b(0x119)](_0xa21a4d),_0x187ceb=Object[_0x262f5b(0x142)]({},_0xa60a24);_0x5d71c3&&(_0x187ceb[_0x262f5b(0xcb)]=_0x5d71c3[0x1],_0x187ceb[_0x262f5b(0xf8)]=JSON[_0x262f5b(0xd1)](_0x5d71c3[0x2])),_0x28ff07[_0x262f5b(0x130)](_0x187ceb);}return _0x28ff07;}static['pushPerfMeasures'](){const _0x29ab55=a118_0x5b48c3,_0x3e908f={'ZiyGn':function(_0x1cef28){return _0x1cef28();},'wSLEF':function(_0x2a794c,_0x1e7805){return _0x2a794c+_0x1e7805;},'qkgMo':'Error\x20while\x20removing\x20files:\x20','qsMYX':function(_0x8f6556,_0x4b06d0){return _0x8f6556===_0x4b06d0;},'mmBNh':function(_0xb11b25,_0x2d6823){return _0xb11b25+_0x2d6823;}};try{this['jsonReportDirPath']=path[_0x29ab55(0xe4)](_0x3e908f[_0x29ab55(0x11a)](getLogDir),this[_0x29ab55(0x16d)]);if(fs['existsSync'](this[_0x29ab55(0xfa)])){const _0x98ede0=fs['readdirSync'](this[_0x29ab55(0xfa)]);for(const _0x5ecf06 of _0x98ede0){fs[_0x29ab55(0x10a)](path[_0x29ab55(0xe4)](this[_0x29ab55(0xfa)],_0x5ecf06));}}}catch(_0x20be8d){logger[_0x29ab55(0xc7)](_0x3e908f[_0x29ab55(0x12e)](_0x3e908f[_0x29ab55(0xe3)],_0x20be8d));}if(_0x3e908f[_0x29ab55(0xea)](this[_0x29ab55(0x138)][_0x29ab55(0x15f)],0x0))return;const _0x1bd595=this[_0x29ab55(0x15b)](),_0x5d5683=JSON[_0x29ab55(0x11f)](_0x1bd595),_0x4247b8=_0x3e908f['mmBNh'](_0x5d5683['slice'](0x1,-0x1),',');fs['appendFileSync'](this['jsonReportFileName'],_0x4247b8);}static async['finalizePerfMeasures'](){const _0x12c129=a118_0x5b48c3,_0x53ef7e={'VvhzB':function(_0xbbffb4){return _0xbbffb4();},'ziZFJ':function(_0x152c5a,_0xc225a7){return _0x152c5a===_0xc225a7;},'kdqtC':_0x12c129(0x120),'xiYPg':_0x12c129(0x123),'OgzQf':_0x12c129(0x16e),'qdVVN':function(_0x60f9b8,_0x4cd0da){return _0x60f9b8+_0x4cd0da;},'nWNHc':'Error\x20processing\x20key-metrics.json:\x20%s','OkXKt':_0x12c129(0x146),'vFJQD':_0x12c129(0xbf),'vDQjg':function(_0x223ff7,_0x4bdc5f){return _0x223ff7>_0x4bdc5f;}};this[_0x12c129(0xfa)]=path[_0x12c129(0xe4)](_0x53ef7e['VvhzB'](getLogDir),this[_0x12c129(0x16d)]);if(!this['started']||_0x53ef7e['ziZFJ'](this[_0x12c129(0x138)][_0x12c129(0x15f)],0x0))return[];if(!fs['existsSync'](this['jsonReportDirPath']))return this[_0x12c129(0x138)];const _0x5be479=(await fsPromise['readdir'](this['jsonReportDirPath']))[_0x12c129(0x157)](_0x1cff08=>path[_0x12c129(0x103)](this['jsonReportDirPath'],_0x1cff08));try{const _0x4cb468=path[_0x12c129(0xfe)](this[_0x12c129(0xfa)]),_0x112c95=path[_0x12c129(0xe4)](_0x4cb468,_0x53ef7e[_0x12c129(0xc3)]);if(fs['existsSync'](_0x112c95))try{await fsPromise[_0x12c129(0x139)](_0x112c95,fs[_0x12c129(0xc0)][_0x12c129(0x155)]);const _0xf19b4e=await fsPromise[_0x12c129(0x115)](_0x112c95,_0x53ef7e['xiYPg']),_0x109ded=JSON['parse'](_0xf19b4e),_0x13e6e2=path[_0x12c129(0xe4)](this[_0x12c129(0xfa)],_0x53ef7e[_0x12c129(0xf6)]);let _0x31bf90='';Array[_0x12c129(0xee)](_0x109ded)?_0x31bf90=_0x53ef7e[_0x12c129(0xf3)](_0x109ded[_0x12c129(0x157)](_0x3ef651=>JSON[_0x12c129(0x11f)](_0x3ef651))['join'](','),','):_0x31bf90=_0x53ef7e[_0x12c129(0xf3)](JSON[_0x12c129(0x11f)](_0x109ded),','),await fsPromise[_0x12c129(0x11b)](_0x13e6e2,_0x31bf90),_0x5be479[_0x12c129(0x130)](_0x13e6e2),await fsPromise[_0x12c129(0x161)](_0x112c95);}catch(_0x988816){logger[_0x12c129(0x160)](util[_0x12c129(0x12b)](_0x53ef7e[_0x12c129(0x140)],_0x988816[_0x12c129(0x14c)]||_0x988816[_0x12c129(0x110)]||_0x988816));}else logger[_0x12c129(0x160)](_0x53ef7e[_0x12c129(0x133)]);}catch(_0x5023c1){logger[_0x12c129(0x160)](util[_0x12c129(0x12b)](_0x53ef7e[_0x12c129(0x106)],_0x5023c1[_0x12c129(0x14c)]||_0x5023c1[_0x12c129(0x110)]||_0x5023c1));}let _0x1ee095=(await Promise[_0x12c129(0x124)](_0x5be479[_0x12c129(0x157)](_0x40f30a=>fsPromise[_0x12c129(0x115)](_0x40f30a,_0x12c129(0x123)))))[_0x12c129(0x157)](_0x2ed1cf=>'['+_0x2ed1cf['slice'](0x0,-0x1)+']')[_0x12c129(0x157)](_0x59a27f=>JSON[_0x12c129(0xd1)](_0x59a27f))[_0x12c129(0x151)]();return _0x53ef7e[_0x12c129(0xda)](this['_measureEvents']['length'],0x0)&&(_0x1ee095=_0x1ee095[_0x12c129(0x14a)](this[_0x12c129(0x15b)]())),this['_observer'][_0x12c129(0xd7)](),_0x1ee095;}static[a118_0x5b48c3(0x144)](){const _0x426a94=a118_0x5b48c3,_0x12d9d2={};_0x12d9d2[_0x426a94(0x16f)]=function(_0x4f5ef2,_0x4b469e){return _0x4f5ef2===_0x4b469e;},_0x12d9d2[_0x426a94(0x16b)]=function(_0x18ec90,_0x54d619){return _0x18ec90+_0x54d619;};const _0x475b89=_0x12d9d2;if(_0x475b89[_0x426a94(0x16f)](this['_errorEvents'][_0x426a94(0x15f)],0x0))return;const _0x242336=JSON['stringify'](this[_0x426a94(0x13b)]),_0x46e199=_0x475b89['MnRkF'](_0x242336[_0x426a94(0x134)](0x1,-0x1),',');fs['appendFileSync'](this[_0x426a94(0xfb)],_0x46e199);}static[a118_0x5b48c3(0x131)](){const _0x278d31=a118_0x5b48c3,_0x1d3c3c={};_0x1d3c3c[_0x278d31(0x164)]=function(_0x412ba6,_0x505ac1){return _0x412ba6>_0x505ac1;};const _0x3cdaba=_0x1d3c3c;if(this['errorReportFileName']){if(!fs['existsSync'](this[_0x278d31(0xf9)]))return this[_0x278d31(0x13b)];let _0x3e11bd=fs[_0x278d31(0x102)](this[_0x278d31(0xf9)])['toString']();_0x3e11bd='['+_0x3e11bd[_0x278d31(0x134)](0x0,-0x1)+']';let _0x263c7d=JSON[_0x278d31(0xd1)](_0x3e11bd);return _0x3cdaba[_0x278d31(0x164)](this['_errorEvents'][_0x278d31(0x15f)],0x0)&&(_0x263c7d=_0x263c7d[_0x278d31(0x14a)](this[_0x278d31(0x13b)])),fs[_0x278d31(0x10a)](this[_0x278d31(0xf9)]),_0x263c7d;}}static['captureError'](_0x1c40f9){const _0x4ba27b=a118_0x5b48c3;if(!this[_0x4ba27b(0xc6)]())return;this[_0x4ba27b(0x13b)][_0x4ba27b(0x130)]({'message':_0x1c40f9['message'],'trace':_0x1c40f9[_0x4ba27b(0x14c)],'code':_0x1c40f9[_0x4ba27b(0x11e)]||null,'time':new Date()});}static[a118_0x5b48c3(0x15e)](){const _0x18119d=a118_0x5b48c3;try{if(!this[_0x18119d(0xc6)]())return;this[_0x18119d(0x12f)][_0x18119d(0xd7)](),this[_0x18119d(0xce)](),this[_0x18119d(0x144)]();}catch(_0x29a45a){logger['debug'](_0x18119d(0x148)+util['format'](_0x29a45a));}}static async[a118_0x5b48c3(0x125)](){const _0x42e353=a118_0x5b48c3,_0x5ec595={'DWmyQ':function(_0x38f155,_0x547677){return _0x38f155(_0x547677);}};await _0x5ec595[_0x42e353(0xfd)](sleep,0x1e);const _0x303578=await this[_0x42e353(0xc2)](),_0x58ba90=this[_0x42e353(0x131)]();if(!this[_0x42e353(0xc6)]()){const _0xc022e0={};return _0xc022e0['measures']=[],_0xc022e0['errors']=[],_0xc022e0;}const _0xcd3d3e={};return _0xcd3d3e[_0x42e353(0x15a)]=_0x303578,_0xcd3d3e['errors']=_0x58ba90,_0xcd3d3e;}static[a118_0x5b48c3(0x13a)](_0x5b17d5){const _0x14d620=a118_0x5b48c3,_0x5441cc={};_0x5441cc[_0x14d620(0xe7)]=function(_0x21ca4e,_0x3888fb){return _0x21ca4e+_0x3888fb;},_0x5441cc[_0x14d620(0xf2)]=_0x14d620(0xd0);const _0x16a420=_0x5441cc,_0xe171b4=_0x16a420[_0x14d620(0xe7)](_0x5b17d5,_0x16a420[_0x14d620(0xf2)]);if(this[_0x14d620(0x11c)][_0xe171b4])return;performance[_0x14d620(0x10f)](_0xe171b4),this[_0x14d620(0x11c)][_0xe171b4]=0x1;}static[a118_0x5b48c3(0x168)](_0x322b49,_0xae7122=!![],_0x84672a=null,_0x557842={}){const _0x27c7d1=a118_0x5b48c3,_0xbb787b={'EXCXQ':function(_0x5bd97a,_0x309283){return _0x5bd97a+_0x309283;},'iHWmn':'-end','DGuyS':'-start','jDXOQ':function(_0x288ba5,_0x17f563){return _0x288ba5+_0x17f563;},'GRDWb':function(_0x288142){return _0x288142();},'UuZfS':function(_0x3ab5e7){return _0x3ab5e7();}};performance[_0x27c7d1(0x10f)](_0xbb787b[_0x27c7d1(0x171)](_0x322b49,_0xbb787b['iHWmn'])),performance['measure'](_0x322b49,_0xbb787b[_0x27c7d1(0x171)](_0x322b49,_0xbb787b[_0x27c7d1(0x116)]),_0xbb787b[_0x27c7d1(0xd9)](_0x322b49,_0xbb787b[_0x27c7d1(0x12a)]));const _0x11cdcd={};_0x11cdcd[_0x27c7d1(0xe6)]=_0xae7122,_0x11cdcd[_0x27c7d1(0xf4)]=_0x84672a,this['details'][_0x322b49]=Object['assign'](_0x11cdcd,Object[_0x27c7d1(0x142)](Object[_0x27c7d1(0x142)]({'worker':_0xbb787b[_0x27c7d1(0x165)](getProcessId),'platform':global['__platformCaps']&&global[_0x27c7d1(0x143)][_0x27c7d1(0x166)],'testName':_0xbb787b[_0x27c7d1(0xde)](getTestName)},_0x557842),this['details'][_0x322b49]||{}));}}module[a118_0x5b48c3(0xe0)]=PerformanceTester;
1
+ const a120_0x5199ef=a120_0xf5b8;(function(_0x25dd50,_0x48be01){const _0x320eb=a120_0xf5b8,_0x302876=_0x25dd50();while(!![]){try{const _0x204ad0=-parseInt(_0x320eb(0xb1))/0x1+parseInt(_0x320eb(0x99))/0x2+parseInt(_0x320eb(0x10b))/0x3+-parseInt(_0x320eb(0xc4))/0x4+parseInt(_0x320eb(0xb0))/0x5*(parseInt(_0x320eb(0x85))/0x6)+parseInt(_0x320eb(0x72))/0x7*(parseInt(_0x320eb(0x71))/0x8)+parseInt(_0x320eb(0xff))/0x9*(parseInt(_0x320eb(0xad))/0xa);if(_0x204ad0===_0x48be01)break;else _0x302876['push'](_0x302876['shift']());}catch(_0x59730f){_0x302876['push'](_0x302876['shift']());}}}(a120_0x3f4a,0x593ba));const fs=require('fs'),fsPromise=require('fs/promises'),{performance,PerformanceObserver}=require(a120_0x5199ef(0x73)),path=require('path'),util=require(a120_0x5199ef(0xcf)),logger=require(a120_0x5199ef(0xbd))[a120_0x5199ef(0xd3)],{getLogDir}=require(a120_0x5199ef(0xbd)),{getProcessId,sleep,debug,getTestName}=require('../processHelper');class PerformanceTester{static [a120_0x5199ef(0x9b)];static [a120_0x5199ef(0x103)]=[];static [a120_0x5199ef(0xfb)]=[];static [a120_0x5199ef(0x90)]=[];static [a120_0x5199ef(0xf6)]=![];static ['jsonReportDirName']=a120_0x5199ef(0xe5);static ['errorReportDirName']=process['env']['browserStackCwd']?path[a120_0x5199ef(0xf9)](process['env'][a120_0x5199ef(0x80)],a120_0x5199ef(0x6e)):path['join'](process[a120_0x5199ef(0xe0)](),'error-report');static ['errorReportFileName']=this[a120_0x5199ef(0xd7)]+a120_0x5199ef(0xda)+getProcessId()+a120_0x5199ef(0x106);static [a120_0x5199ef(0xd8)]={};static ['eventsMap']={};static[a120_0x5199ef(0xb4)](_0x3a0ca0,_0x32eda1=this['errorReportDirName']+a120_0x5199ef(0xda)+getProcessId()+a120_0x5199ef(0x106)){const _0x489d71=a120_0x5199ef,_0x133210={'LNYEW':function(_0x375eb8,_0x2c18f7){return _0x375eb8===_0x2c18f7;},'YQADl':_0x489d71(0xef),'eitpU':function(_0x367aaf){return _0x367aaf();},'iKOVg':function(_0x22de69){return _0x22de69();},'TpYok':function(_0x18767f,_0x990863){return _0x18767f+_0x990863;},'Dqjch':_0x489d71(0xb2),'CObio':_0x489d71(0xa3)};try{this[_0x489d71(0x81)]=path['join'](_0x133210[_0x489d71(0xc1)](getLogDir),this['jsonReportDirName']),!_0x3a0ca0&&(_0x3a0ca0=this[_0x489d71(0x81)]+_0x489d71(0x7f)+_0x133210[_0x489d71(0xc8)](getProcessId)+_0x489d71(0x106)),!fs[_0x489d71(0x9d)](this[_0x489d71(0x81)])&&fs[_0x489d71(0xf1)](this[_0x489d71(0x81)]);}catch(_0x1c059b){logger[_0x489d71(0x8f)](_0x133210['TpYok'](_0x133210['Dqjch'],_0x1c059b));}if(this[_0x489d71(0xf6)]||!this[_0x489d71(0x102)]())return;this[_0x489d71(0x9b)]=new PerformanceObserver(_0x30db1b=>{const _0x21d0b6=_0x489d71,_0x1fcaee={'DiTPC':function(_0x196f45,_0x1ccc02){return _0x133210['LNYEW'](_0x196f45,_0x1ccc02);},'UGzYB':_0x133210[_0x21d0b6(0x97)]};_0x30db1b[_0x21d0b6(0xc3)]()[_0x21d0b6(0xba)](_0x1c6151=>{const _0x4bfbf6=_0x21d0b6;if(_0x1fcaee[_0x4bfbf6(0xa1)](_0x1c6151[_0x4bfbf6(0xe3)],_0x1fcaee[_0x4bfbf6(0xeb)])){let _0x264086={};if(_0x1c6151['toJSON'])_0x264086=_0x1c6151[_0x4bfbf6(0xc6)]();else for(const _0xf5ee78 in _0x1c6151){_0x264086[_0xf5ee78]=_0x1c6151[_0xf5ee78];}this[_0x4bfbf6(0xd8)][_0x1c6151[_0x4bfbf6(0x100)]]&&(_0x264086=Object[_0x4bfbf6(0xa2)](_0x264086,this[_0x4bfbf6(0xd8)][_0x1c6151[_0x4bfbf6(0x100)]])),delete this['details'][_0x1c6151['name']],this['_measureEvents'][_0x4bfbf6(0x86)](_0x264086);}else this['_events'][_0x4bfbf6(0x86)](_0x1c6151);});});const _0x25e1c7={};_0x25e1c7[_0x489d71(0xd2)]=!![],_0x25e1c7['entryTypes']=[_0x133210['CObio'],_0x133210[_0x489d71(0x97)]],this[_0x489d71(0x9b)][_0x489d71(0x105)](_0x25e1c7),this['started']=!![],this[_0x489d71(0xcb)]=_0x3a0ca0,this[_0x489d71(0xc7)]=_0x32eda1;}static['getPerformance'](){return performance;}static['calculateTimeFromEvents'](_0x4546b5,_0x33c435){const _0x47e5eb=a120_0x5199ef,_0xb41b20={};_0xb41b20[_0x47e5eb(0x75)]=function(_0x5655cc,_0x3c53cc){return _0x5655cc+_0x3c53cc;},_0xb41b20['uSyIl']=function(_0x50d43a,_0x5caca0){return _0x50d43a||_0x5caca0;},_0xb41b20[_0x47e5eb(0xac)]=function(_0x4cf9bf,_0x2a9594){return _0x4cf9bf===_0x2a9594;};const _0x4d54ca=_0xb41b20,_0xee9a45={};if(!_0x4546b5||_0x4d54ca[_0x47e5eb(0xac)](_0x4546b5[_0x47e5eb(0x107)],0x0))return;_0x4546b5['map'](_0x4cb213=>{const _0x1b4bb3=_0x47e5eb;!_0xee9a45[_0x4cb213[_0x1b4bb3(0x100)]]&&(_0xee9a45[_0x4cb213[_0x1b4bb3(0x100)]]=0x0),_0xee9a45[_0x4cb213[_0x1b4bb3(0x100)]]+=_0x4cb213[_0x1b4bb3(0xe4)];});const _0x410a7e=_0x33c435[_0x47e5eb(0x10e)]((_0x265e8c,_0x2c2592)=>{const _0x22eb22=_0x47e5eb;return _0x4d54ca[_0x22eb22(0x75)](_0xee9a45[_0x2c2592],_0x4d54ca['uSyIl'](_0x265e8c,0x0));},0x0);return _0x410a7e;}static async['calculateTimesFromMultipleFiles'](_0x49dbcc,_0x57cafb){const _0x48a3b9=a120_0x5199ef,_0x3751b2={'Cwfdk':function(_0x428aa1,_0x456d5d){return _0x428aa1+_0x456d5d;},'yCeDF':function(_0x1fc7db,_0x49c32f){return _0x1fc7db||_0x49c32f;},'yeMGk':function(_0x5d023f,_0x275cdf){return _0x5d023f===_0x275cdf;},'VDXIO':function(_0x407d18,_0x3acf79){return _0x407d18(_0x3acf79);}};if(!_0x49dbcc||_0x3751b2[_0x48a3b9(0xea)](_0x49dbcc[_0x48a3b9(0x107)],0x0))return 0x0;const _0x2cfcf5=[];for(const _0x357fd6 of _0x49dbcc){const _0x29b6e0=path['join']('.',_0x357fd6);try{const _0x19f865=this[_0x48a3b9(0x84)](_0x29b6e0);_0x19f865[_0x48a3b9(0xa8)](_0x3e4157=>{const _0x118bc3=_0x48a3b9;!_0x2cfcf5[_0x3e4157[_0x118bc3(0x100)]]&&(_0x2cfcf5[_0x3e4157[_0x118bc3(0x100)]]=0x0),_0x2cfcf5[_0x3e4157[_0x118bc3(0x100)]]+=_0x3e4157[_0x118bc3(0xe4)];});}catch(_0x2194b5){_0x3751b2[_0x48a3b9(0xf7)](debug,_0x48a3b9(0xee)+_0x2194b5[_0x48a3b9(0xcd)]());}}const _0x29869c=_0x57cafb[_0x48a3b9(0x10e)]((_0x468545,_0x30ff57)=>{const _0x3e468e=_0x48a3b9;return _0x3751b2['Cwfdk'](_0x2cfcf5[_0x30ff57],_0x3751b2[_0x3e468e(0xaf)](_0x468545,0x0));},0x0);return _0x3751b2[_0x48a3b9(0xf7)](debug,_0x48a3b9(0xd6)+_0x57cafb+_0x48a3b9(0xbb)+_0x29869c),_0x29869c;}static['getEventsFromJSON'](_0x158193){const _0x34003f=a120_0x5199ef;if(_0x158193){if(!fs[_0x34003f(0x9d)](_0x158193))return[];return JSON[_0x34003f(0xf4)](fs['readFileSync'](_0x158193)[_0x34003f(0xcd)]());}}static async[a120_0x5199ef(0x88)](_0x599cc9=a120_0x5199ef(0xe7),_0x2038c3=null){const _0x3443c0=a120_0x5199ef,_0x13bcfa={'XkRmW':function(_0x184b6f,_0xfde65a){return _0x184b6f(_0xfde65a);},'knmpk':function(_0x45a119,_0x150290){return _0x45a119(_0x150290);},'XQeSk':function(_0x355245,_0x3702eb){return _0x355245(_0x3702eb);}};if(!this[_0x3443c0(0xf6)])return;await _0x13bcfa['XQeSk'](sleep,0x1e),this[_0x3443c0(0x9b)][_0x3443c0(0xe2)](),this[_0x3443c0(0xf6)]=![],this[_0x3443c0(0xf8)](this[_0x3443c0(0x103)]);const _0x35fc2b=this[_0x3443c0(0xe1)](this['_events']),_0x213082=path['join'](process['cwd'](),_0x599cc9);fs['writeFile'](_0x213082,_0x35fc2b,_0x57e7bc=>{const _0x1e749a=_0x3443c0;if(_0x57e7bc){_0x13bcfa[_0x1e749a(0xae)](debug,'Error\x20in\x20writing\x20html\x20'+_0x57e7bc[_0x1e749a(0xcd)]());return;}_0x13bcfa['knmpk'](debug,'Performance\x20report\x20is\x20at\x20'+_0x213082);});if(_0x2038c3)return this['calculateTimeFromEvents'](this[_0x3443c0(0x103)],_0x2038c3);}static[a120_0x5199ef(0xe1)](_0x88a645){const _0x1388e4=a120_0x5199ef,_0x1017bf={};_0x1017bf[_0x1388e4(0x74)]=_0x1388e4(0xfa),_0x1017bf['TISal']=_0x1388e4(0xd0),_0x1017bf[_0x1388e4(0xf2)]='<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>',_0x1017bf['yjVwA']='</tbody></table></body></html>';const _0x24502f=_0x1017bf;let _0x232e91=_0x24502f[_0x1388e4(0x74)];return _0x232e91+=_0x24502f['TISal'],_0x232e91+=_0x24502f[_0x1388e4(0xf2)],_0x88a645[_0x1388e4(0xba)](_0x2f7343=>{const _0x1c9e71=_0x1388e4;_0x232e91+='<tr><td>'+_0x2f7343['name']+_0x1c9e71(0x70)+_0x2f7343[_0x1c9e71(0xe4)]+_0x1c9e71(0xa4);}),_0x232e91+=_0x24502f['yjVwA'],_0x232e91;}static[a120_0x5199ef(0xf8)](_0x547717){const _0x3b1032=a120_0x5199ef;if(!this[_0x3b1032(0xcb)])return;const _0x1bfe19={};_0x547717[_0x3b1032(0xa8)](_0x2e9c2d=>{const _0x43238a=_0x3b1032;!_0x1bfe19[_0x2e9c2d[_0x43238a(0x100)]]&&(_0x1bfe19[_0x2e9c2d['name']]=0x0),_0x1bfe19[_0x2e9c2d[_0x43238a(0x100)]]+=_0x2e9c2d[_0x43238a(0xe4)];});const _0x4b6534=Object['entries'](_0x1bfe19)[_0x3b1032(0xa8)](([_0x1a9452,_0x531d40])=>{const _0x4a83b7={};return _0x4a83b7['name']=_0x1a9452,_0x4a83b7['duration']=_0x531d40,_0x4a83b7;});fs[_0x3b1032(0x92)](this[_0x3b1032(0xcb)],JSON[_0x3b1032(0x8a)](_0x4b6534));}static[a120_0x5199ef(0x102)](){const _0x45feab=a120_0x5199ef,_0x94eef9={};_0x94eef9['DBUUI']=function(_0x195c4b,_0x3b2568){return _0x195c4b===_0x3b2568;},_0x94eef9['zjaVs']=_0x45feab(0xb3);const _0x4a7763=_0x94eef9;return!_0x4a7763['DBUUI'](process[_0x45feab(0xc9)][_0x45feab(0x98)],_0x4a7763[_0x45feab(0x9f)]);}static[a120_0x5199ef(0xef)](_0x1ae6e6,_0x1f5d08,_0x21278a=null,_0x15c02e={},_0x3bab5a=null){const _0x2a79af=a120_0x5199ef,_0xea9cb1={'jVNQU':function(_0x22e3aa,_0x2d9757){return _0x22e3aa(_0x2d9757);},'TCphG':function(_0x5e9de7,_0x1efd9c){return _0x5e9de7 instanceof _0x1efd9c;}};try{if(this[_0x2a79af(0xf6)]&&this['isEnabled']()){let _0x10500c=_0x1ae6e6;_0x21278a&&(_0x10500c=_0x1ae6e6+'['+JSON[_0x2a79af(0x8a)](_0x21278a)+']');PerformanceTester[_0x2a79af(0x87)](_0x10500c),this[_0x2a79af(0xd8)]&&(this[_0x2a79af(0xd8)][_0x10500c]=_0x15c02e);try{const _0x33cbd8=_0x1f5d08[_0x2a79af(0xbe)](null,_0x3bab5a);if(_0xea9cb1[_0x2a79af(0x10c)](_0x33cbd8,Promise))return new Promise((_0x40df41,_0x1425dc)=>{const _0x38494a=_0x2a79af,_0x56c631={'hJTDc':function(_0x32fd2e,_0x189776){const _0x4e8290=a120_0xf5b8;return _0xea9cb1[_0x4e8290(0xa0)](_0x32fd2e,_0x189776);}};_0x33cbd8[_0x38494a(0x110)](_0xbb0418=>{const _0x1e7321=_0x38494a;PerformanceTester[_0x1e7321(0xb6)](_0x10500c),_0x56c631['hJTDc'](_0x40df41,_0xbb0418);})[_0x38494a(0x10f)](_0x40b4ec=>{const _0x4ca42c=_0x38494a;PerformanceTester['end'](_0x10500c,![],util[_0x4ca42c(0x78)](_0x40b4ec)),_0xea9cb1[_0x4ca42c(0xa0)](_0x1425dc,_0x40b4ec);});});;return PerformanceTester[_0x2a79af(0xb6)](_0x10500c),_0x33cbd8;}catch(_0x57e6ee){PerformanceTester[_0x2a79af(0xb6)](_0x10500c,![],util[_0x2a79af(0x78)](_0x57e6ee));throw _0x57e6ee;}};return _0x1f5d08['apply'](null,_0x3bab5a);}catch(_0x452341){return logger['debug'](_0x2a79af(0x77)+(_0x452341[_0x2a79af(0x9e)]||_0x452341[_0x2a79af(0xec)]||_0x452341)),_0x1f5d08[_0x2a79af(0xbe)](null,_0x3bab5a);}}static[a120_0x5199ef(0xa5)](_0x4bd3a0,_0x1926a5,_0xff7b69={}){const _0x3624cd=a120_0x5199ef,_0x5d9a84={'FaaSU':function(_0x10bade){return _0x10bade();},'jFzMJ':function(_0x20d6b8){return _0x20d6b8();}},_0x3e0adb=this;return _0xff7b69[_0x3624cd(0xb5)]=_0x5d9a84['FaaSU'](getProcessId),_0xff7b69[_0x3624cd(0xfe)]=_0x5d9a84[_0x3624cd(0xb8)](getTestName),_0xff7b69[_0x3624cd(0xde)]=global['__platformCaps']&&global[_0x3624cd(0xf0)][_0x3624cd(0x82)],function(){const _0x2c2433=_0x3624cd,_0x31ffc7=[_0x4bd3a0,_0x1926a5,null,_0xff7b69]['concat'](arguments);return _0x3e0adb['measure'][_0x2c2433(0xbe)](_0x3e0adb,_0x31ffc7);};}static[a120_0x5199ef(0xaa)](){const _0x275f3e=a120_0x5199ef,_0x22d381=/(^.*)\[(.*)\]$/,_0x4a44c={},_0x2726b4={},_0x3f2238=[],_0x120859=this[_0x275f3e(0xfb)][_0x275f3e(0x6f)](0x0,this[_0x275f3e(0xfb)][_0x275f3e(0x107)]);for(const _0x3b6616 of _0x120859){const _0x34bb7f=_0x3b6616[_0x275f3e(0x100)][_0x275f3e(0xfd)](_0x22d381),_0x1e6037=Object[_0x275f3e(0xa2)]({},_0x3b6616);_0x34bb7f&&(_0x1e6037[_0x275f3e(0x100)]=_0x34bb7f[0x1],_0x1e6037[_0x275f3e(0xa6)]=JSON[_0x275f3e(0xf4)](_0x34bb7f[0x2])),_0x3f2238[_0x275f3e(0x86)](_0x1e6037);}return _0x3f2238;}static['pushPerfMeasures'](){const _0x4426b8=a120_0x5199ef,_0x4141d4={'lpWiS':function(_0x2da1ed){return _0x2da1ed();},'JnTke':function(_0x47f8ea,_0x2083fb){return _0x47f8ea+_0x2083fb;},'NtfKH':_0x4426b8(0xa9),'VwxcP':function(_0x51d817,_0x5eff3c){return _0x51d817===_0x5eff3c;},'zJoxl':function(_0x339875,_0x28ea53){return _0x339875+_0x28ea53;}};try{this[_0x4426b8(0x81)]=path[_0x4426b8(0xf9)](_0x4141d4['lpWiS'](getLogDir),this[_0x4426b8(0xd1)]);if(fs['existsSync'](this[_0x4426b8(0x81)])){const _0x4b8c0f=fs['readdirSync'](this[_0x4426b8(0x81)]);for(const _0x5d8f1b of _0x4b8c0f){fs[_0x4426b8(0xd5)](path[_0x4426b8(0xf9)](this[_0x4426b8(0x81)],_0x5d8f1b));}}}catch(_0x567794){logger['debug'](_0x4141d4['JnTke'](_0x4141d4[_0x4426b8(0x89)],_0x567794));}if(_0x4141d4[_0x4426b8(0x10a)](this['_measureEvents'][_0x4426b8(0x107)],0x0))return;const _0x31f387=this['getCleanedPerfEvents'](),_0x55d7a7=JSON['stringify'](_0x31f387),_0x5c0f01=_0x4141d4['zJoxl'](_0x55d7a7[_0x4426b8(0x10d)](0x1,-0x1),',');fs[_0x4426b8(0xed)](this[_0x4426b8(0xcb)],_0x5c0f01);}static async[a120_0x5199ef(0x94)](){const _0x2b8653=a120_0x5199ef,_0x3baac8={'Jlqio':function(_0x4580b7){return _0x4580b7();},'shsuh':function(_0x48c3f4,_0x150761){return _0x48c3f4===_0x150761;},'RBluR':_0x2b8653(0xb7),'VWxnF':_0x2b8653(0x8d),'KjOnE':_0x2b8653(0x8b),'XspWQ':function(_0x54a064,_0x1d0406){return _0x54a064+_0x1d0406;},'rWdlg':function(_0x97da9c,_0x2b0540){return _0x97da9c+_0x2b0540;},'CxpLL':_0x2b8653(0xb9),'UQKMj':_0x2b8653(0x8e),'hHLMy':'Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','PaTnd':function(_0x4dff3b,_0xb754e2){return _0x4dff3b>_0xb754e2;}};this[_0x2b8653(0x81)]=path[_0x2b8653(0xf9)](_0x3baac8['Jlqio'](getLogDir),this[_0x2b8653(0xd1)]);if(!this[_0x2b8653(0xf6)]||_0x3baac8['shsuh'](this['_measureEvents'][_0x2b8653(0x107)],0x0))return[];if(!fs[_0x2b8653(0x9d)](this[_0x2b8653(0x81)]))return this[_0x2b8653(0xfb)];const _0x3284ba=(await fsPromise[_0x2b8653(0x7d)](this[_0x2b8653(0x81)]))[_0x2b8653(0xa8)](_0x5363d6=>path['resolve'](this[_0x2b8653(0x81)],_0x5363d6));try{const _0x4ba8fe=path[_0x2b8653(0x7c)](this[_0x2b8653(0x81)]),_0xcff494=path['join'](_0x4ba8fe,_0x3baac8[_0x2b8653(0xf3)]);if(fs['existsSync'](_0xcff494))try{await fsPromise[_0x2b8653(0xe8)](_0xcff494,fs[_0x2b8653(0xdb)][_0x2b8653(0xbf)]);const _0x5b9cea=await fsPromise['readFile'](_0xcff494,_0x3baac8['VWxnF']),_0x20db61=JSON[_0x2b8653(0xf4)](_0x5b9cea),_0x41a3d2=path[_0x2b8653(0xf9)](this[_0x2b8653(0x81)],_0x3baac8[_0x2b8653(0x7a)]);let _0x5751ab='';Array[_0x2b8653(0x7b)](_0x20db61)?_0x5751ab=_0x3baac8[_0x2b8653(0x108)](_0x20db61['map'](_0x215538=>JSON['stringify'](_0x215538))[_0x2b8653(0xf9)](','),','):_0x5751ab=_0x3baac8[_0x2b8653(0xd9)](JSON[_0x2b8653(0x8a)](_0x20db61),','),await fsPromise[_0x2b8653(0x96)](_0x41a3d2,_0x5751ab),_0x3284ba['push'](_0x41a3d2),await fsPromise['unlink'](_0xcff494);}catch(_0x242ced){logger[_0x2b8653(0x95)](util['format'](_0x3baac8[_0x2b8653(0xc0)],_0x242ced[_0x2b8653(0x9e)]||_0x242ced['message']||_0x242ced));}else logger[_0x2b8653(0x95)](_0x3baac8['UQKMj']);}catch(_0x5cde19){logger[_0x2b8653(0x95)](util[_0x2b8653(0x78)](_0x3baac8['hHLMy'],_0x5cde19[_0x2b8653(0x9e)]||_0x5cde19[_0x2b8653(0xec)]||_0x5cde19));}let _0x24ed42=(await Promise[_0x2b8653(0xab)](_0x3284ba[_0x2b8653(0xa8)](_0x459b54=>fsPromise['readFile'](_0x459b54,'utf-8'))))[_0x2b8653(0xa8)](_0xdccb26=>'['+_0xdccb26['slice'](0x0,-0x1)+']')['map'](_0x59a42c=>JSON['parse'](_0x59a42c))['flat']();return _0x3baac8[_0x2b8653(0xdd)](this[_0x2b8653(0xfb)][_0x2b8653(0x107)],0x0)&&(_0x24ed42=_0x24ed42[_0x2b8653(0x91)](this[_0x2b8653(0xaa)]())),this['_observer']['disconnect'](),_0x24ed42;}static[a120_0x5199ef(0xf5)](){const _0x317714=a120_0x5199ef,_0x1b2a5a={};_0x1b2a5a[_0x317714(0xfc)]=function(_0x3ac358,_0x18659d){return _0x3ac358===_0x18659d;},_0x1b2a5a[_0x317714(0x7e)]=function(_0x3e381f,_0x14cac9){return _0x3e381f+_0x14cac9;};const _0x3d3cfa=_0x1b2a5a;if(_0x3d3cfa[_0x317714(0xfc)](this[_0x317714(0x90)][_0x317714(0x107)],0x0))return;const _0x80f18d=JSON[_0x317714(0x8a)](this[_0x317714(0x90)]),_0x3e5b00=_0x3d3cfa[_0x317714(0x7e)](_0x80f18d[_0x317714(0x10d)](0x1,-0x1),',');fs[_0x317714(0xed)](this['errorFile'],_0x3e5b00);}static[a120_0x5199ef(0x76)](){const _0x383994=a120_0x5199ef,_0x23b08d={};_0x23b08d[_0x383994(0x101)]=function(_0x440334,_0xe1610c){return _0x440334>_0xe1610c;};const _0x5d421a=_0x23b08d;if(this[_0x383994(0xc7)]){if(!fs[_0x383994(0x9d)](this[_0x383994(0xc7)]))return this['_errorEvents'];let _0x1d6a9d=fs[_0x383994(0xce)](this['errorReportFileName'])[_0x383994(0xcd)]();_0x1d6a9d='['+_0x1d6a9d[_0x383994(0x10d)](0x0,-0x1)+']';let _0x51f9c4=JSON[_0x383994(0xf4)](_0x1d6a9d);return _0x5d421a[_0x383994(0x101)](this[_0x383994(0x90)]['length'],0x0)&&(_0x51f9c4=_0x51f9c4['concat'](this[_0x383994(0x90)])),fs[_0x383994(0xd5)](this['errorReportFileName']),_0x51f9c4;}}static[a120_0x5199ef(0xc5)](_0x3efeb3){const _0x463415=a120_0x5199ef;if(!this['isEnabled']())return;this[_0x463415(0x90)]['push']({'message':_0x3efeb3[_0x463415(0xec)],'trace':_0x3efeb3[_0x463415(0x9e)],'code':_0x3efeb3[_0x463415(0xc2)]||null,'time':new Date()});}static[a120_0x5199ef(0xdf)](){const _0xcb096c=a120_0x5199ef;try{if(!this[_0xcb096c(0x102)]())return;this[_0xcb096c(0x9b)][_0xcb096c(0xe2)](),this['pushPerfMeasures'](),this[_0xcb096c(0xf5)]();}catch(_0x1610e9){logger[_0xcb096c(0x8f)](_0xcb096c(0x79)+util[_0xcb096c(0x78)](_0x1610e9));}}static async[a120_0x5199ef(0xca)](){const _0x701901=a120_0x5199ef,_0x263013={'gOyay':function(_0x376f4a,_0x3169f3){return _0x376f4a(_0x3169f3);}};await _0x263013[_0x701901(0xcc)](sleep,0x1e);const _0xc0da4e=await this[_0x701901(0x94)](),_0x3b7e8c=this[_0x701901(0x76)]();if(!this['isEnabled']()){const _0x43be27={};return _0x43be27['measures']=[],_0x43be27['errors']=[],_0x43be27;}const _0x1fb89a={};return _0x1fb89a[_0x701901(0xe6)]=_0xc0da4e,_0x1fb89a[_0x701901(0x9c)]=_0x3b7e8c,_0x1fb89a;}static[a120_0x5199ef(0x87)](_0x3c2470){const _0x2eba95=a120_0x5199ef,_0x3b155e={};_0x3b155e['GCTAG']=function(_0x3a643d,_0x54114e){return _0x3a643d+_0x54114e;},_0x3b155e['khaIo']=_0x2eba95(0xdc);const _0x2ffe55=_0x3b155e,_0x4895bf=_0x2ffe55[_0x2eba95(0xd4)](_0x3c2470,_0x2ffe55[_0x2eba95(0xbc)]);if(this[_0x2eba95(0x9a)][_0x4895bf])return;performance[_0x2eba95(0xa7)](_0x4895bf),this[_0x2eba95(0x9a)][_0x4895bf]=0x1;}static[a120_0x5199ef(0xb6)](_0x444ecd,_0x238f7f=!![],_0x4f8222=null,_0x3c4689={}){const _0x44cc54=a120_0x5199ef,_0x1fe5bc={'qTihs':function(_0x2db4c5,_0x151b38){return _0x2db4c5+_0x151b38;},'jQsPG':_0x44cc54(0x109),'MdwTO':function(_0x26c67d,_0x4857cf){return _0x26c67d+_0x4857cf;},'xwQHP':_0x44cc54(0xdc),'zvVPa':function(_0x3af904){return _0x3af904();},'TDPye':function(_0x25b990){return _0x25b990();}};performance['mark'](_0x1fe5bc['qTihs'](_0x444ecd,_0x1fe5bc[_0x44cc54(0x104)])),performance[_0x44cc54(0xef)](_0x444ecd,_0x1fe5bc[_0x44cc54(0x83)](_0x444ecd,_0x1fe5bc[_0x44cc54(0x93)]),_0x1fe5bc[_0x44cc54(0x83)](_0x444ecd,_0x1fe5bc[_0x44cc54(0x104)]));const _0x2b131c={};_0x2b131c['success']=_0x238f7f,_0x2b131c['failure']=_0x4f8222,this[_0x44cc54(0xd8)][_0x444ecd]=Object[_0x44cc54(0xa2)](_0x2b131c,Object[_0x44cc54(0xa2)](Object[_0x44cc54(0xa2)]({'worker':_0x1fe5bc['zvVPa'](getProcessId),'platform':global[_0x44cc54(0xf0)]&&global[_0x44cc54(0xf0)][_0x44cc54(0x82)],'testName':_0x1fe5bc[_0x44cc54(0x8c)](getTestName)},_0x3c4689),this[_0x44cc54(0xd8)][_0x444ecd]||{}));}}function a120_0x3f4a(){const _0x1c1a46=['jVNQU','DiTPC','assign','function','</td></tr>','measureWrapper','meta','mark','map','Error\x20while\x20removing\x20files:\x20','getCleanedPerfEvents','all','tjcsk','30OmCHRe','XkRmW','yCeDF','6355XqpxvM','714204emQORp','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','false','startMonitoring','worker','end','key-metrics.json','jFzMJ','Error\x20processing\x20key-metrics.json:\x20%s','forEach','\x20for\x20all\x20processes\x20is\x20','khaIo','../logger','apply','F_OK','CxpLL','eitpU','code','getEntries','2727924wjUZWe','captureError','toJSON','errorReportFileName','iKOVg','env','finalize','jsonReportFileName','gOyay','toString','readFileSync','util','<h1>Performance\x20Report</h1>','jsonReportDirName','buffered','winstonLogger','GCTAG','unlinkSync','Time\x20for\x20','errorReportDirName','details','rWdlg','/error-report-','constants','-start','PaTnd','platform','stopMonitoring','cwd','generateHTMLReport','disconnect','entryType','duration','performance-report','measures','performance-own.html','access','exports','yeMGk','UGzYB','message','appendFileSync','Error\x20in\x20doing\x20csv\x20operations:\x20','measure','__platformCaps','mkdirSync','ACRmr','RBluR','parse','pushErrors','started','VDXIO','generateJSON','join','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','_measureEvents','EbKuc','match','testName','1679247ilhsCw','name','FhUCy','isEnabled','_events','jQsPG','observe','.json','length','XspWQ','-end','VwxcP','1368090wIvtSZ','TCphG','slice','reduce','catch','then','error-report','splice','</td><td>','8revOqC','1990891qTxLuF','perf_hooks','lCRdV','UuoFh','finalizeErrors','error\x20in\x20measure\x20','format','Error\x20stopping\x20monitoring\x20','KjOnE','isArray','dirname','readdir','wJrgx','/performance-report-','browserStackCwd','jsonReportDirPath','index','MdwTO','getEventsFromJSON','2124tPfSin','push','start','stopAndGenerate','NtfKH','stringify','modified-key-metrics.json','TDPye','utf-8','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','debug','_errorEvents','concat','writeFileSync','xwQHP','finalizePerfMeasures','info','writeFile','YQADl','BROWSERSTACK_SDK_INSTRUMENTATION','23114bUudWp','eventsMap','_observer','errors','existsSync','stack','zjaVs'];a120_0x3f4a=function(){return _0x1c1a46;};return a120_0x3f4a();}function a120_0xf5b8(_0x1f770c,_0x48b230){const _0x3f4a24=a120_0x3f4a();return a120_0xf5b8=function(_0xf5b8ae,_0x12b677){_0xf5b8ae=_0xf5b8ae-0x6e;let _0x597680=_0x3f4a24[_0xf5b8ae];return _0x597680;},a120_0xf5b8(_0x1f770c,_0x48b230);}module[a120_0x5199ef(0xe9)]=PerformanceTester;
@@ -1 +1 @@
1
- const a119_0x43e0eb=a119_0x1d7d;(function(_0x52ecf0,_0x5238fd){const _0x3eca51=a119_0x1d7d,_0x335f15=_0x52ecf0();while(!![]){try{const _0x450014=parseInt(_0x3eca51(0x112))/0x1*(parseInt(_0x3eca51(0x10f))/0x2)+parseInt(_0x3eca51(0x106))/0x3*(parseInt(_0x3eca51(0x122))/0x4)+parseInt(_0x3eca51(0x157))/0x5+parseInt(_0x3eca51(0x148))/0x6*(-parseInt(_0x3eca51(0x163))/0x7)+parseInt(_0x3eca51(0x14c))/0x8*(parseInt(_0x3eca51(0x11e))/0x9)+-parseInt(_0x3eca51(0xf9))/0xa*(parseInt(_0x3eca51(0xfb))/0xb)+-parseInt(_0x3eca51(0x141))/0xc;if(_0x450014===_0x5238fd)break;else _0x335f15['push'](_0x335f15['shift']());}catch(_0x2e53d8){_0x335f15['push'](_0x335f15['shift']());}}}(a119_0x104a,0xe7770));const path=require(a119_0x43e0eb(0x117)),util=require(a119_0x43e0eb(0x10e)),{importFileFromPWCore}=require(a119_0x43e0eb(0x109)),helper=require('./helper'),logger=require(a119_0x43e0eb(0xf7))[a119_0x43e0eb(0x152)],W3CMapping=require('./w3cMapping')[a119_0x43e0eb(0x100)](),constants=require(a119_0x43e0eb(0x166)),BrowserstackCLI=require('../bin/v2/browserstackCLI'),CLIUtils=require(a119_0x43e0eb(0x12c));let GrpcClient;function a119_0x104a(){const _0x2a3ca7=['browserstack.buildProductMap','Detected\x20Playwright\x20version\x20','BROWSERSTACK_TESTHUB_UUID','env','spyoj','Could\x20not\x20import\x20GrpcClient:\x20','36PBSOBZ','dMErO','mgiFJ','platformCaps','20LqPEjA','browserstack.accessibilityOptions.wcagVersion','BS_A11Y_JWT','debug','bootstrap','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','iXjYb','checkPwandBootstrapCli','setFrameworkDetail','cEwKc','../bin/v2/cliUtils','cucumberjs-pw','convertW3CToJsonWire','XXLWL','PDlBF','client','qFepq','Lnavk','lib','Received\x20modified\x20config\x20from\x20gRPC:\x20','getPlaywrightConfig','chrome','browserType.js','exports','Error\x20getting\x20Playwright\x20BrowserType:\x20','bstack:options','use','browserstack.accessibilityOptions.authToken','jitWQ','niPdI','\x20for\x20','14213520puvZaF','DpmhS','OkTwW','message','kpWUQ','nmeiM','importFileFromPWCore','6IPudAf','stringify','entries','BrowserType','3083432Klqfvm','YcdUl','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','TJLwe','iAlYC','projects','winstonLogger','ypJek','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','PToNC','parse','4517140AtooHl','ciJAT','./testhub/utils','format','hwaKu','pNGtg','setBrowserstackConfig','\x20flow','shCSJ','getPlaywrightModulePath','SOIwM','getInstance','4246564QlCHBI','config','OrLDV','../bin/utils/constants','framework','KrjjK','NIjov','cliConfig','./logger','getConfig','290JYcaWW','getBrowserFromCaps','422477totKvr','length','__launchCaps','Playwright\x20not\x20available:\x20','Hbvto','W3CMapping','browserstack.testhubBuildUuid','browser','isArray','generatePlaywrightUrl','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','239082GteZXm','error','MKRlB','./helper','TmFJl','No\x20modified\x20config\x20received\x20from\x20gRPC','foBTx','getPlaywrightUrl','util','2018762jheEPn','capabilities','EnWVl','1iNKFfU','isPlaywrightAvailable','browserstack.accessibilityOptions.scannerProcessingTimeout','PLAYWRIGHT','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','path'];a119_0x104a=function(){return _0x2a3ca7;};return a119_0x104a();}function a119_0x1d7d(_0x542c37,_0x5e1fce){const _0x104a5d=a119_0x104a();return a119_0x1d7d=function(_0x1d7d9c,_0xf7555e){_0x1d7d9c=_0x1d7d9c-0xf4;let _0x551739=_0x104a5d[_0x1d7d9c];return _0x551739;},a119_0x1d7d(_0x542c37,_0x5e1fce);}try{GrpcClient=require('../bin/v2/grpcClient');}catch(a119_0x5b9354){logger[a119_0x43e0eb(0x125)](a119_0x43e0eb(0x11d)+a119_0x5b9354['message']),GrpcClient=null;}const convertW3CToJsonWire=_0x2317cf=>{const _0xe515f8=a119_0x43e0eb,_0x43e9cf={};_0x43e9cf[_0xe515f8(0x15c)]=function(_0x28f6a7,_0x27530e){return _0x28f6a7||_0x27530e;},_0x43e9cf['dMErO']=function(_0xb613c,_0x229852){return _0xb613c===_0x229852;},_0x43e9cf['OkTwW']=_0xe515f8(0x13b),_0x43e9cf[_0xe515f8(0x10a)]=function(_0x4423f6,_0x376aa6){return _0x4423f6===_0x376aa6;},_0x43e9cf[_0xe515f8(0x13e)]=function(_0x2568f8,_0x2a0792){return _0x2568f8 in _0x2a0792;};const _0x4fbbf3=_0x43e9cf,_0x2dd5c0={};for(const [_0x1977ef,_0x56caa8]of Object[_0xe515f8(0x14a)](_0x4fbbf3[_0xe515f8(0x15c)](_0x2317cf,{}))){if(_0x4fbbf3[_0xe515f8(0x11f)](_0x1977ef,_0x4fbbf3['OkTwW']))continue;let _0x574c41=![];for(const [_0x384c9d,_0x4957da]of Object[_0xe515f8(0x14a)](W3CMapping)){if(_0x4fbbf3[_0xe515f8(0x11f)](_0x1977ef,_0x4957da)){_0x2dd5c0[_0x384c9d]=_0x56caa8,_0x574c41=!![];break;}}!_0x574c41&&(_0x2dd5c0[_0x1977ef]=_0x56caa8);}const _0x3a8cec=_0x2317cf[_0x4fbbf3[_0xe515f8(0x143)]]||{};for(const [_0x592dd9,_0x19991b]of Object[_0xe515f8(0x14a)](_0x3a8cec)){let _0x3f0598=![];for(const [_0x114ab6,_0x39349a]of Object[_0xe515f8(0x14a)](W3CMapping)){if(_0x4fbbf3[_0xe515f8(0x10a)](_0x592dd9,_0x39349a)){_0x2dd5c0[_0x114ab6]=_0x19991b,_0x3f0598=!![];break;}}!_0x3f0598&&!_0x4fbbf3[_0xe515f8(0x13e)](_0x592dd9,_0x2dd5c0)&&(_0x2dd5c0[_0x592dd9]=_0x19991b);}return logger[_0xe515f8(0x125)]('Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20'+JSON[_0xe515f8(0x149)](_0x2dd5c0)),_0x2dd5c0;},getModifiedConfigFromCLI=async _0x368a4=>{const _0x255278=a119_0x43e0eb,_0x510f64={};_0x510f64[_0x255278(0x14f)]='GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request',_0x510f64['ahhLB']=_0x255278(0x12d),_0x510f64[_0x255278(0x165)]=_0x255278(0x105),_0x510f64['cEwKc']=_0x255278(0x10b),_0x510f64[_0x255278(0x108)]=function(_0x2f657f,_0x1915f0){return _0x2f657f>_0x1915f0;},_0x510f64[_0x255278(0x142)]=function(_0xa56f92,_0x53c47){return _0xa56f92>_0x53c47;},_0x510f64['Hbvto']=_0x255278(0x127);const _0x2d03c7=_0x510f64;try{if(!GrpcClient)return logger[_0x255278(0x125)](_0x2d03c7['TJLwe']),null;const _0xf34dce={};_0xf34dce[_0x255278(0x110)]=_0x368a4,_0xf34dce[_0x255278(0x167)]=_0x2d03c7['ahhLB'],_0xf34dce['workers']=0x1,_0xf34dce[_0x255278(0x151)]=[];const _0xf48eab=_0xf34dce;logger[_0x255278(0x125)](_0x2d03c7['OrLDV']);const _0x55f4b5={};_0x55f4b5['playwrightConfigObject']=_0xf48eab;const _0x49af29=await GrpcClient['getInstance']()[_0x255278(0x136)](_0x55f4b5);if(!_0x49af29[_0x255278(0xf8)]())return logger[_0x255278(0x125)](_0x2d03c7[_0x255278(0x12b)]),null;const _0x4559bb=JSON[_0x255278(0x156)](_0x49af29['getConfig']());logger[_0x255278(0x125)](_0x255278(0x135)+JSON[_0x255278(0x149)](_0x4559bb));if(_0x4559bb[_0x255278(0x110)]&&Array['isArray'](_0x4559bb[_0x255278(0x110)])&&_0x2d03c7[_0x255278(0x108)](_0x4559bb[_0x255278(0x110)]['length'],0x0))return _0x4559bb['capabilities'][0x0];else{if(_0x4559bb['projects']&&Array[_0x255278(0x103)](_0x4559bb[_0x255278(0x151)])&&_0x2d03c7[_0x255278(0x142)](_0x4559bb['projects'][_0x255278(0xfc)],0x0)){const _0x41a643=_0x4559bb[_0x255278(0x151)][0x0];if(_0x41a643[_0x255278(0x13c)]&&_0x41a643[_0x255278(0x13c)][_0x255278(0x121)])return _0x41a643[_0x255278(0x13c)][_0x255278(0x121)];}}return logger[_0x255278(0x125)](_0x2d03c7[_0x255278(0xff)]),null;}catch(_0x380ee6){logger[_0x255278(0x107)](_0x255278(0x154)+_0x380ee6[_0x255278(0x144)]);throw _0x380ee6;}},generatePlaywrightUrl=(_0x18939e,_0x6c7a9a)=>{const _0x275e47=a119_0x43e0eb,_0x3fbd5a={'kpWUQ':function(_0x1774b2,_0x5d8fa4){return _0x1774b2!==_0x5d8fa4;},'XXLWL':function(_0xd9cf24,_0x235f8c){return _0xd9cf24!==_0x235f8c;},'foBTx':function(_0x49c5e6,_0x425d06){return _0x49c5e6!==_0x425d06;},'PDlBF':function(_0x4ae024,_0x5b1bf7){return _0x4ae024!==_0x5b1bf7;},'iAlYC':function(_0x34e1d9,_0x32b88c){return _0x34e1d9(_0x32b88c);},'iXjYb':function(_0x1425e0,_0x907798){return _0x1425e0||_0x907798;},'hwaKu':function(_0x52f441,_0x19060a){return _0x52f441(_0x19060a);},'shCSJ':_0x275e47(0x13d),'qFepq':function(_0x5ebf4a,_0x44b21e){return _0x5ebf4a(_0x44b21e);},'SOIwM':_0x275e47(0x123),'tZprl':'browserstack.accessibilityOptions.scannerVersion','ewNaG':_0x275e47(0x114),'nmeiM':_0x275e47(0x101),'pUniF':_0x275e47(0x118),'PToNC':function(_0x21bd7e,_0x2d0311){return _0x21bd7e+_0x2d0311;}},_0x315f6c=helper[_0x275e47(0x10d)](_0x18939e),_0xa048=_0x3fbd5a[_0x275e47(0x150)](convertW3CToJsonWire,_0x6c7a9a);try{const _0x406e2d=[_0x3fbd5a[_0x275e47(0x128)](_0x6c7a9a,{}),global[_0x275e47(0xfd)]||{},global['__platformCaps']||{},global['__accessibilityOptions']||{}],_0x56fcda=_0x5285e8=>{const _0x103639=_0x275e47;if(_0x3fbd5a[_0x103639(0x145)](_0xa048[_0x5285e8],undefined)&&_0x3fbd5a['kpWUQ'](_0xa048[_0x5285e8],null)&&_0x3fbd5a[_0x103639(0x12f)](_0xa048[_0x5285e8],''))return;for(const _0x1ef55f of _0x406e2d){if(_0x1ef55f&&_0x3fbd5a[_0x103639(0x10c)](_0x1ef55f[_0x5285e8],undefined)&&_0x3fbd5a[_0x103639(0x130)](_0x1ef55f[_0x5285e8],null)&&_0x3fbd5a['XXLWL'](_0x1ef55f[_0x5285e8],'')){_0xa048[_0x5285e8]=_0x1ef55f[_0x5285e8];return;}}};_0x3fbd5a[_0x275e47(0x15b)](_0x56fcda,_0x3fbd5a[_0x275e47(0x15f)]),_0x3fbd5a[_0x275e47(0x132)](_0x56fcda,_0x3fbd5a[_0x275e47(0x161)]),_0x3fbd5a[_0x275e47(0x15b)](_0x56fcda,_0x3fbd5a['tZprl']),_0x3fbd5a['hwaKu'](_0x56fcda,_0x3fbd5a['ewNaG']),!_0xa048[_0x3fbd5a[_0x275e47(0x15f)]]&&process[_0x275e47(0x11b)][_0x275e47(0x124)]&&(_0xa048[_0x3fbd5a['shCSJ']]=process['env'][_0x275e47(0x124)]);}catch(_0x2409f5){logger[_0x275e47(0x125)]('Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20'+util['format'](_0x2409f5));}return _0xa048[_0x3fbd5a[_0x275e47(0x146)]]=process['env'][_0x275e47(0x11a)],_0xa048[_0x3fbd5a['pUniF']]=helper['getBuildProductMap'](),_0x3fbd5a[_0x275e47(0x155)](_0x315f6c,_0x3fbd5a['iAlYC'](encodeURIComponent,JSON['stringify'](_0xa048)));},getBrowserFromCaps=_0x43f1d9=>{const _0x4cd17b=a119_0x43e0eb,_0x241d1b={};_0x241d1b[_0x4cd17b(0x133)]=_0x4cd17b(0x137);const _0x24362d=_0x241d1b;return _0x43f1d9['browserName']||_0x43f1d9[_0x4cd17b(0x102)]||_0x24362d[_0x4cd17b(0x133)];},isPlaywrightAvailable=()=>{const _0x91bae0=a119_0x43e0eb,_0x76c3a5={'YcdUl':'lib','spyoj':_0x91bae0(0x131),'KrjjK':_0x91bae0(0x138),'zVJxS':function(_0x581aa8,_0x4d249a){return _0x581aa8(_0x4d249a);}};try{const _0x417a79=path['join'](_0x76c3a5[_0x91bae0(0x14d)],_0x76c3a5[_0x91bae0(0x11c)],_0x76c3a5[_0x91bae0(0xf4)]),_0x3b85a0=_0x76c3a5['zVJxS'](importFileFromPWCore,_0x417a79);return!!_0x3b85a0;}catch(_0x1c431e){return logger[_0x91bae0(0x125)](_0x91bae0(0xfe)+util[_0x91bae0(0x15a)](_0x1c431e)),![];}},getPlaywrightBrowserType=()=>{const _0x369747=a119_0x43e0eb,_0x3683b9={'EnWVl':_0x369747(0x134),'mgiFJ':'client','eTzGX':_0x369747(0x138),'ciJAT':function(_0x49bf65,_0x5cc9a9){return _0x49bf65(_0x5cc9a9);}};try{const _0x3d63e2=path['join'](_0x3683b9[_0x369747(0x111)],_0x3683b9[_0x369747(0x120)],_0x3683b9['eTzGX']),_0x25c201=_0x3683b9[_0x369747(0x158)](importFileFromPWCore,_0x3d63e2);return _0x25c201?_0x25c201[_0x369747(0x14b)]:null;}catch(_0x1c4183){return logger['debug'](_0x369747(0x13a)+util['format'](_0x1c4183)),null;}},getPlaywrightModulePath=()=>{const _0xde7725=a119_0x43e0eb,_0x2eed36={};_0x2eed36['NIjov']=_0xde7725(0x14e);const _0x41f9d9=_0x2eed36;return logger[_0xde7725(0x125)](_0x41f9d9[_0xde7725(0xf5)]),null;},getBrowserTypePath=()=>{const _0x1573c6=a119_0x43e0eb,_0x37c89c={};_0x37c89c['ypJek']=_0x1573c6(0x116);const _0x5c9b69=_0x37c89c;return logger['debug'](_0x5c9b69[_0x1573c6(0x153)]),null;},checkPwandBootstrapCli=async(_0x1dd381,_0x14da4e,_0x2df2b6)=>{const _0x2698db=a119_0x43e0eb,_0x149670={'cmztd':function(_0x1114b1,_0x5e4a36){return _0x1114b1(_0x5e4a36);},'niPdI':_0x2698db(0x159),'JpcWn':function(_0x1b0e59,_0x582636){return _0x1b0e59(_0x582636);}};if(_0x1dd381){const _0x2365ce=constants['FRAMEWORKS'][_0x2698db(0x115)];logger['debug'](_0x2698db(0x119)+_0x1dd381+_0x2698db(0x140)+_0x14da4e+_0x2698db(0x15e)),CLIUtils[_0x2698db(0x12a)](_0x14da4e,_0x2365ce);const {getProductMap:_0x385013}=_0x149670['cmztd'](require,_0x149670[_0x2698db(0x13f)]);process[_0x2698db(0x11b)]['BROWSERSTACK_PRODUCT_MAP']=JSON[_0x2698db(0x149)](_0x149670['JpcWn'](_0x385013,_0x2df2b6[_0x2698db(0x164)])),BrowserstackCLI[_0x2698db(0x162)]()[_0x2698db(0x15d)](_0x2df2b6[_0x2698db(0x164)],_0x2df2b6[_0x2698db(0xf6)]),await BrowserstackCLI[_0x2698db(0x162)]()[_0x2698db(0x126)]();}},a119_0x5a7739={};a119_0x5a7739[a119_0x43e0eb(0x12e)]=convertW3CToJsonWire,a119_0x5a7739['getModifiedConfigFromCLI']=getModifiedConfigFromCLI,a119_0x5a7739[a119_0x43e0eb(0x104)]=generatePlaywrightUrl,a119_0x5a7739[a119_0x43e0eb(0xfa)]=getBrowserFromCaps,a119_0x5a7739[a119_0x43e0eb(0x113)]=isPlaywrightAvailable,a119_0x5a7739['getPlaywrightBrowserType']=getPlaywrightBrowserType,a119_0x5a7739[a119_0x43e0eb(0x160)]=getPlaywrightModulePath,a119_0x5a7739['getBrowserTypePath']=getBrowserTypePath,a119_0x5a7739[a119_0x43e0eb(0x147)]=importFileFromPWCore,a119_0x5a7739[a119_0x43e0eb(0x129)]=checkPwandBootstrapCli,module[a119_0x43e0eb(0x139)]=a119_0x5a7739;
1
+ const a121_0x375d92=a121_0x1a2d;function a121_0x3de3(){const _0x2f2ee3=['Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','Error\x20getting\x20Playwright\x20BrowserType:\x20','nyFIi','bootstrap','Mbxbt','cliConfig','cucumberjs-pw','length','browser','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','tcSYn','__accessibilityOptions','1276152rfiacI','winstonLogger','YYnLX','browserstack.accessibilityOptions.scannerProcessingTimeout','153496cPgmLz','BSYmY','checkPwandBootstrapCli','4003904ddOAZp','isArray','Unixm','EVxht','../bin/v2/cliUtils','isPlaywrightAvailable','getPlaywrightConfig','setFrameworkDetail','importFileFromPWCore','projects','GHCUp','SjdGu','./helper','getConfig','kFjSY','getModifiedConfigFromCLI','BROWSERSTACK_PRODUCT_MAP','Could\x20not\x20import\x20GrpcClient:\x20','convertW3CToJsonWire','lZgrv','uYoay','Detected\x20Playwright\x20version\x20','csdvF','OlEVd','aFNpD','browserstack.accessibilityOptions.authToken','workers','join','qefXS','../bin/v2/browserstackCLI','QvNMP','GyAFt','debug','getPlaywrightBrowserType','error','FGWTk','4SQhYvA','Playwright\x20not\x20available:\x20','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','WJtCl','JTAts','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','jbpWh','playwrightConfigObject','path','QSwQR','format','exports','eNPCL','BrowserType','Isddf','Received\x20modified\x20config\x20from\x20gRPC:\x20','W3CMapping','\x20for\x20','browserstack.accessibilityOptions.wcagVersion','entries','2433949UwenTt','message','etKUl','browserName','browserstack.buildProductMap','browserType.js','chrome','739890mQbmQN','browserstack.accessibilityOptions.scannerVersion','lib','PLAYWRIGHT','Plpua','__platformCaps','No\x20modified\x20config\x20received\x20from\x20gRPC','./testhub/utils','pCQOh','getInstance','capabilities','xXEqf','85761RDGnnG','stringify','env','BROWSERSTACK_TESTHUB_UUID','vUgPc','framework','844374iyzaqT','getPlaywrightUrl','browserstack.testhubBuildUuid','config','use','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','util','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','gbRvN','setBrowserstackConfig','./w3cMapping','pDKIA','gNzDr','client','iBrjy','tsPpY','platformCaps','eLWyx'];a121_0x3de3=function(){return _0x2f2ee3;};return a121_0x3de3();}(function(_0x516ed2,_0x3c0293){const _0x399270=a121_0x1a2d,_0x368228=_0x516ed2();while(!![]){try{const _0x3501de=parseInt(_0x399270(0x85))/0x1+parseInt(_0x399270(0xd9))/0x2+parseInt(_0x399270(0xd3))/0x3+-parseInt(_0x399270(0xac))/0x4*(-parseInt(_0x399270(0xc7))/0x5)+-parseInt(_0x399270(0x81))/0x6+parseInt(_0x399270(0xc0))/0x7+-parseInt(_0x399270(0x88))/0x8;if(_0x3501de===_0x3c0293)break;else _0x368228['push'](_0x368228['shift']());}catch(_0x53eb32){_0x368228['push'](_0x368228['shift']());}}}(a121_0x3de3,0x5e6d7));const path=require(a121_0x375d92(0xb4)),util=require(a121_0x375d92(0xdf)),{importFileFromPWCore}=require(a121_0x375d92(0x94)),helper=require(a121_0x375d92(0x94)),logger=require('./logger')[a121_0x375d92(0x82)],W3CMapping=require(a121_0x375d92(0xe3))[a121_0x375d92(0xbc)](),constants=require('../bin/utils/constants'),BrowserstackCLI=require(a121_0x375d92(0xa5)),CLIUtils=require(a121_0x375d92(0x8c));let GrpcClient;try{GrpcClient=require('../bin/v2/grpcClient');}catch(a121_0x3e7e5f){logger['debug'](a121_0x375d92(0x99)+a121_0x3e7e5f[a121_0x375d92(0xc1)]),GrpcClient=null;}const convertW3CToJsonWire=_0x13c335=>{const _0x3a1d5a=a121_0x375d92,_0x415621={};_0x415621[_0x3a1d5a(0xab)]=function(_0x2e7f02,_0x362e79){return _0x2e7f02||_0x362e79;},_0x415621[_0x3a1d5a(0xe1)]=function(_0x43969d,_0x36329c){return _0x43969d===_0x36329c;},_0x415621[_0x3a1d5a(0xa4)]='bstack:options',_0x415621['nyFIi']=function(_0xa66209,_0x12ee47){return _0xa66209===_0x12ee47;},_0x415621['jbpWh']=function(_0x54606b,_0x188d2d){return _0x54606b in _0x188d2d;};const _0x3ff1c0=_0x415621,_0x30aa16={};for(const [_0x5b9718,_0x30bdf8]of Object[_0x3a1d5a(0xbf)](_0x3ff1c0['FGWTk'](_0x13c335,{}))){if(_0x3ff1c0['gbRvN'](_0x5b9718,_0x3ff1c0[_0x3a1d5a(0xa4)]))continue;let _0x6f253c=![];for(const [_0x40353f,_0x57450c]of Object[_0x3a1d5a(0xbf)](W3CMapping)){if(_0x3ff1c0[_0x3a1d5a(0xe1)](_0x5b9718,_0x57450c)){_0x30aa16[_0x40353f]=_0x30bdf8,_0x6f253c=!![];break;}}!_0x6f253c&&(_0x30aa16[_0x5b9718]=_0x30bdf8);}const _0x3e6587=_0x13c335[_0x3ff1c0[_0x3a1d5a(0xa4)]]||{};for(const [_0x1b36ff,_0x1662af]of Object[_0x3a1d5a(0xbf)](_0x3e6587)){let _0x15c677=![];for(const [_0x55f57e,_0x37a674]of Object[_0x3a1d5a(0xbf)](W3CMapping)){if(_0x3ff1c0[_0x3a1d5a(0xed)](_0x1b36ff,_0x37a674)){_0x30aa16[_0x55f57e]=_0x1662af,_0x15c677=!![];break;}}!_0x15c677&&!_0x3ff1c0[_0x3a1d5a(0xb2)](_0x1b36ff,_0x30aa16)&&(_0x30aa16[_0x1b36ff]=_0x1662af);}return logger[_0x3a1d5a(0xa8)](_0x3a1d5a(0x7e)+JSON[_0x3a1d5a(0xd4)](_0x30aa16)),_0x30aa16;},getModifiedConfigFromCLI=async _0xf394d=>{const _0x5bf9eb=a121_0x375d92,_0x44cbd2={};_0x44cbd2['Plpua']=_0x5bf9eb(0xe0),_0x44cbd2[_0x5bf9eb(0xcf)]=_0x5bf9eb(0x7b),_0x44cbd2[_0x5bf9eb(0xaf)]=_0x5bf9eb(0xde),_0x44cbd2[_0x5bf9eb(0x96)]=_0x5bf9eb(0xcd),_0x44cbd2[_0x5bf9eb(0xc2)]=function(_0x3373e4,_0x20aef9){return _0x3373e4>_0x20aef9;},_0x44cbd2[_0x5bf9eb(0xa7)]=function(_0x188c84,_0x3a9a34){return _0x188c84>_0x3a9a34;},_0x44cbd2[_0x5bf9eb(0x9c)]='No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response';const _0x536559=_0x44cbd2;try{if(!GrpcClient)return logger[_0x5bf9eb(0xa8)](_0x536559[_0x5bf9eb(0xcb)]),null;const _0x432c4a={};_0x432c4a[_0x5bf9eb(0xd1)]=_0xf394d,_0x432c4a[_0x5bf9eb(0xd8)]=_0x536559[_0x5bf9eb(0xcf)],_0x432c4a[_0x5bf9eb(0xa2)]=0x1,_0x432c4a[_0x5bf9eb(0x91)]=[];const _0x2fe962=_0x432c4a;logger['debug'](_0x536559[_0x5bf9eb(0xaf)]);const _0x19073b={};_0x19073b[_0x5bf9eb(0xb3)]=_0x2fe962;const _0x50c292=await GrpcClient[_0x5bf9eb(0xd0)]()[_0x5bf9eb(0x8e)](_0x19073b);if(!_0x50c292[_0x5bf9eb(0x95)]())return logger['debug'](_0x536559[_0x5bf9eb(0x96)]),null;const _0x2ca07e=JSON['parse'](_0x50c292['getConfig']());logger[_0x5bf9eb(0xa8)](_0x5bf9eb(0xbb)+JSON[_0x5bf9eb(0xd4)](_0x2ca07e));if(_0x2ca07e['capabilities']&&Array['isArray'](_0x2ca07e['capabilities'])&&_0x536559[_0x5bf9eb(0xc2)](_0x2ca07e[_0x5bf9eb(0xd1)][_0x5bf9eb(0x7c)],0x0))return _0x2ca07e[_0x5bf9eb(0xd1)][0x0];else{if(_0x2ca07e[_0x5bf9eb(0x91)]&&Array[_0x5bf9eb(0x89)](_0x2ca07e[_0x5bf9eb(0x91)])&&_0x536559[_0x5bf9eb(0xa7)](_0x2ca07e[_0x5bf9eb(0x91)][_0x5bf9eb(0x7c)],0x0)){const _0x391c66=_0x2ca07e[_0x5bf9eb(0x91)][0x0];if(_0x391c66[_0x5bf9eb(0xdd)]&&_0x391c66[_0x5bf9eb(0xdd)]['platformCaps'])return _0x391c66[_0x5bf9eb(0xdd)][_0x5bf9eb(0xe9)];}}return logger[_0x5bf9eb(0xa8)](_0x536559[_0x5bf9eb(0x9c)]),null;}catch(_0x1e4975){logger[_0x5bf9eb(0xaa)]('Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20'+_0x1e4975['message']);throw _0x1e4975;}},generatePlaywrightUrl=(_0x201dbf,_0x32fd4b)=>{const _0x4e7eaa=a121_0x375d92,_0x597c16={'GHCUp':function(_0xbcb360,_0xaa19cc){return _0xbcb360!==_0xaa19cc;},'tcSYn':function(_0x3d1fe5,_0x8a11ce){return _0x3d1fe5!==_0x8a11ce;},'gNzDr':function(_0x586ce2,_0x23607e){return _0x586ce2!==_0x23607e;},'QSwQR':function(_0x88e283,_0x224871){return _0x88e283(_0x224871);},'SjdGu':function(_0x3783f3,_0x43f3c0){return _0x3783f3||_0x43f3c0;},'eLWyx':function(_0x470b75,_0xfd4107){return _0x470b75(_0xfd4107);},'YYnLX':_0x4e7eaa(0xa1),'JTAts':function(_0x4e2e3a,_0x5e1aac){return _0x4e2e3a(_0x5e1aac);},'Isddf':_0x4e7eaa(0xbe),'BSYmY':_0x4e7eaa(0xc8),'dVNjb':_0x4e7eaa(0x84),'iBrjy':_0x4e7eaa(0xdb),'TfZlb':_0x4e7eaa(0xc4),'xXEqf':function(_0xed9bf0,_0x577e75){return _0xed9bf0+_0x577e75;},'EVxht':function(_0x11d4a4,_0x26e998){return _0x11d4a4(_0x26e998);}},_0x185343=helper[_0x4e7eaa(0xda)](_0x201dbf),_0x4003a7=_0x597c16[_0x4e7eaa(0xb5)](convertW3CToJsonWire,_0x32fd4b);try{const _0x4bbc25=[_0x597c16[_0x4e7eaa(0x93)](_0x32fd4b,{}),global['__launchCaps']||{},global[_0x4e7eaa(0xcc)]||{},global[_0x4e7eaa(0x80)]||{}],_0xbc247f=_0x5603c9=>{const _0x5c6088=_0x4e7eaa;if(_0x597c16[_0x5c6088(0x92)](_0x4003a7[_0x5603c9],undefined)&&_0x597c16[_0x5c6088(0x92)](_0x4003a7[_0x5603c9],null)&&_0x597c16['tcSYn'](_0x4003a7[_0x5603c9],''))return;for(const _0x3dfd2f of _0x4bbc25){if(_0x3dfd2f&&_0x597c16[_0x5c6088(0x92)](_0x3dfd2f[_0x5603c9],undefined)&&_0x597c16[_0x5c6088(0x7f)](_0x3dfd2f[_0x5603c9],null)&&_0x597c16[_0x5c6088(0xe5)](_0x3dfd2f[_0x5603c9],'')){_0x4003a7[_0x5603c9]=_0x3dfd2f[_0x5603c9];return;}}};_0x597c16[_0x4e7eaa(0xea)](_0xbc247f,_0x597c16['YYnLX']),_0x597c16[_0x4e7eaa(0xb0)](_0xbc247f,_0x597c16[_0x4e7eaa(0xba)]),_0x597c16[_0x4e7eaa(0xb0)](_0xbc247f,_0x597c16[_0x4e7eaa(0x86)]),_0x597c16[_0x4e7eaa(0xb0)](_0xbc247f,_0x597c16['dVNjb']),!_0x4003a7[_0x597c16[_0x4e7eaa(0x83)]]&&process[_0x4e7eaa(0xd5)]['BS_A11Y_JWT']&&(_0x4003a7[_0x597c16[_0x4e7eaa(0x83)]]=process[_0x4e7eaa(0xd5)]['BS_A11Y_JWT']);}catch(_0x41acc8){logger[_0x4e7eaa(0xa8)](_0x4e7eaa(0xeb)+util['format'](_0x41acc8));}return _0x4003a7[_0x597c16[_0x4e7eaa(0xe7)]]=process[_0x4e7eaa(0xd5)][_0x4e7eaa(0xd6)],_0x4003a7[_0x597c16['TfZlb']]=helper['getBuildProductMap'](),_0x597c16[_0x4e7eaa(0xd2)](_0x185343,_0x597c16[_0x4e7eaa(0x8b)](encodeURIComponent,JSON[_0x4e7eaa(0xd4)](_0x4003a7)));},getBrowserFromCaps=_0x4ed465=>{const _0x399162=a121_0x375d92,_0x319dee={};_0x319dee[_0x399162(0xb8)]=_0x399162(0xc6);const _0x1d8a50=_0x319dee;return _0x4ed465[_0x399162(0xc3)]||_0x4ed465[_0x399162(0x7d)]||_0x1d8a50[_0x399162(0xb8)];},isPlaywrightAvailable=()=>{const _0x468305=a121_0x375d92,_0x857b0d={'OlEVd':_0x468305(0xc9),'lZgrv':_0x468305(0xe6),'Unixm':'browserType.js','vDQzn':function(_0x15e3d9,_0x5c25b1){return _0x15e3d9(_0x5c25b1);}};try{const _0x126850=path[_0x468305(0xa3)](_0x857b0d[_0x468305(0x9f)],_0x857b0d[_0x468305(0x9b)],_0x857b0d[_0x468305(0x8a)]),_0x10dcee=_0x857b0d['vDQzn'](importFileFromPWCore,_0x126850);return!!_0x10dcee;}catch(_0x5e6b17){return logger[_0x468305(0xa8)](_0x468305(0xad)+util['format'](_0x5e6b17)),![];}},getPlaywrightBrowserType=()=>{const _0x3a9efc=a121_0x375d92,_0x308b01={'OKODa':_0x3a9efc(0xc9),'QvNMP':'client','pDKIA':_0x3a9efc(0xc5),'csdvF':function(_0xf5a4e7,_0x7228ed){return _0xf5a4e7(_0x7228ed);}};try{const _0x1d146f=path[_0x3a9efc(0xa3)](_0x308b01['OKODa'],_0x308b01[_0x3a9efc(0xa6)],_0x308b01[_0x3a9efc(0xe4)]),_0x175d34=_0x308b01[_0x3a9efc(0x9e)](importFileFromPWCore,_0x1d146f);return _0x175d34?_0x175d34[_0x3a9efc(0xb9)]:null;}catch(_0x3f33f0){return logger[_0x3a9efc(0xa8)](_0x3a9efc(0xec)+util[_0x3a9efc(0xb6)](_0x3f33f0)),null;}},getPlaywrightModulePath=()=>{const _0x366517=a121_0x375d92,_0x4aaf68={};_0x4aaf68[_0x366517(0xa0)]=_0x366517(0xae);const _0x32101e=_0x4aaf68;return logger[_0x366517(0xa8)](_0x32101e[_0x366517(0xa0)]),null;},getBrowserTypePath=()=>{const _0x53f022=a121_0x375d92,_0x139ca4={};_0x139ca4[_0x53f022(0xd7)]=_0x53f022(0xb1);const _0x39cf2d=_0x139ca4;return logger['debug'](_0x39cf2d['vUgPc']),null;},checkPwandBootstrapCli=async(_0x312f25,_0x2e277a,_0x54dc2c)=>{const _0xa98c17=a121_0x375d92,_0x288651={'tsPpY':function(_0x2c4ac0,_0x75d9e1){return _0x2c4ac0(_0x75d9e1);},'Mbxbt':_0xa98c17(0xce)};if(_0x312f25){const _0x5ebbe7=constants['FRAMEWORKS'][_0xa98c17(0xca)];logger[_0xa98c17(0xa8)](_0xa98c17(0x9d)+_0x312f25+_0xa98c17(0xbd)+_0x2e277a+'\x20flow'),CLIUtils[_0xa98c17(0x8f)](_0x2e277a,_0x5ebbe7);const {getProductMap:_0x234bec}=_0x288651[_0xa98c17(0xe8)](require,_0x288651[_0xa98c17(0xef)]);process['env'][_0xa98c17(0x98)]=JSON[_0xa98c17(0xd4)](_0x288651[_0xa98c17(0xe8)](_0x234bec,_0x54dc2c['config'])),BrowserstackCLI['getInstance']()[_0xa98c17(0xe2)](_0x54dc2c[_0xa98c17(0xdc)],_0x54dc2c[_0xa98c17(0xf0)]),await BrowserstackCLI[_0xa98c17(0xd0)]()[_0xa98c17(0xee)]();}},a121_0x1e02cc={};function a121_0x1a2d(_0x26d153,_0x23e76e){const _0x3de331=a121_0x3de3();return a121_0x1a2d=function(_0x1a2d81,_0x66df76){_0x1a2d81=_0x1a2d81-0x7b;let _0xf45365=_0x3de331[_0x1a2d81];return _0xf45365;},a121_0x1a2d(_0x26d153,_0x23e76e);}a121_0x1e02cc[a121_0x375d92(0x9a)]=convertW3CToJsonWire,a121_0x1e02cc[a121_0x375d92(0x97)]=getModifiedConfigFromCLI,a121_0x1e02cc['generatePlaywrightUrl']=generatePlaywrightUrl,a121_0x1e02cc['getBrowserFromCaps']=getBrowserFromCaps,a121_0x1e02cc[a121_0x375d92(0x8d)]=isPlaywrightAvailable,a121_0x1e02cc[a121_0x375d92(0xa9)]=getPlaywrightBrowserType,a121_0x1e02cc['getPlaywrightModulePath']=getPlaywrightModulePath,a121_0x1e02cc['getBrowserTypePath']=getBrowserTypePath,a121_0x1e02cc[a121_0x375d92(0x90)]=importFileFromPWCore,a121_0x1e02cc[a121_0x375d92(0x87)]=checkPwandBootstrapCli,module[a121_0x375d92(0xb7)]=a121_0x1e02cc;
@@ -1 +1 @@
1
- const a120_0x151582=a120_0x307f;function a120_0x307f(_0x1a2d23,_0x5c232a){const _0x21934c=a120_0x2193();return a120_0x307f=function(_0x307fb9,_0x12566a){_0x307fb9=_0x307fb9-0x1b5;let _0x206bde=_0x21934c[_0x307fb9];return _0x206bde;},a120_0x307f(_0x1a2d23,_0x5c232a);}(function(_0x17b80d,_0x50c9b7){const _0x94db8c=a120_0x307f,_0x3c4bfd=_0x17b80d();while(!![]){try{const _0x6f6e09=-parseInt(_0x94db8c(0x1b7))/0x1*(-parseInt(_0x94db8c(0x1d8))/0x2)+-parseInt(_0x94db8c(0x1c9))/0x3*(parseInt(_0x94db8c(0x1d4))/0x4)+parseInt(_0x94db8c(0x1c7))/0x5+parseInt(_0x94db8c(0x1d7))/0x6*(parseInt(_0x94db8c(0x1d9))/0x7)+parseInt(_0x94db8c(0x1b8))/0x8*(-parseInt(_0x94db8c(0x1bb))/0x9)+parseInt(_0x94db8c(0x1d6))/0xa*(-parseInt(_0x94db8c(0x1b9))/0xb)+parseInt(_0x94db8c(0x1d1))/0xc*(parseInt(_0x94db8c(0x1c4))/0xd);if(_0x6f6e09===_0x50c9b7)break;else _0x3c4bfd['push'](_0x3c4bfd['shift']());}catch(_0x56319e){_0x3c4bfd['push'](_0x3c4bfd['shift']());}}}(a120_0x2193,0x754f3));const worker=require(a120_0x151582(0x1c3)),{fileLogger}=require('./logger'),{consoleHolder}=require(a120_0x151582(0x1cc)),globals=require('./globals'),constants=require(a120_0x151582(0x1c5));function a120_0x2193(){const _0x3fdbc2=['getTestName','getGlobal','UQdol','pid','log','worker_threads','2054cEZmeS','../bin/utils/constants','HbemD','4547510lBIRyh','true','3234jzpJhi','toISOString','threadId','./test-observability/constants','env','\x20]\x20','THYPq','okQAR','17124ufjSGz','agXUx','debug','640vgcUii','getProcessId','6373540vgRcCW','1609782PBEnud','3578zBundx','7szKWhc','TEST_REPORTING_ANALYTICS','sleep','229CntiXf','45944OQkVxZ','11HoWqdk','BROWSERSTACK_OBSERVABILITY_DEBUG','819bXkvXG','BROWSERSTACK_TEST_REPORTING_DEBUG','][\x20'];a120_0x2193=function(){return _0x3fdbc2;};return a120_0x2193();}exports[a120_0x151582(0x1d5)]=()=>{const _0x489239=a120_0x151582;return process[_0x489239(0x1c1)]+'-'+worker[_0x489239(0x1cb)];},exports[a120_0x151582(0x1be)]=()=>{const _0x483dac=a120_0x151582,_0x430298={};_0x430298[_0x483dac(0x1d2)]='browserstackTestName';const _0x169392=_0x430298;return globals[_0x483dac(0x1bf)](_0x169392[_0x483dac(0x1d2)]);},exports[a120_0x151582(0x1b6)]=(_0x259732=0x64)=>new Promise(_0x5c2b66=>setTimeout(_0x5c2b66,_0x259732)),exports['debug']=_0x32d68f=>{const _0x66d80f=a120_0x151582,_0xf1569f={};_0xf1569f['HbemD']=function(_0x2fc7a0,_0x2ee16f){return _0x2fc7a0===_0x2ee16f;},_0xf1569f[_0x66d80f(0x1cf)]=_0x66d80f(0x1c8),_0xf1569f[_0x66d80f(0x1d0)]=function(_0x4b3999,_0x1cdab8){return _0x4b3999===_0x1cdab8;},_0xf1569f[_0x66d80f(0x1c0)]=function(_0x57bae9,_0x2527e6){return _0x57bae9===_0x2527e6;};const _0x3efe60=_0xf1569f;fileLogger[_0x66d80f(0x1d3)]('['+new Date()[_0x66d80f(0x1ca)]()+_0x66d80f(0x1bd)+constants[_0x66d80f(0x1b5)]+_0x66d80f(0x1ce)+_0x32d68f),(_0x3efe60[_0x66d80f(0x1c6)](process[_0x66d80f(0x1cd)][_0x66d80f(0x1bc)],_0x3efe60['THYPq'])||_0x3efe60[_0x66d80f(0x1c6)](process['env']['BROWSERSTACK_TEST_REPORTING_DEBUG'],'1')||_0x3efe60[_0x66d80f(0x1d0)](process[_0x66d80f(0x1cd)][_0x66d80f(0x1ba)],_0x3efe60[_0x66d80f(0x1cf)])||_0x3efe60['UQdol'](process['env']['BROWSERSTACK_OBSERVABILITY_DEBUG'],'1'))&&consoleHolder[_0x66d80f(0x1c2)]('\x0a['+new Date()[_0x66d80f(0x1ca)]()+_0x66d80f(0x1bd)+constants[_0x66d80f(0x1b5)]+_0x66d80f(0x1ce)+_0x32d68f+'\x0a');};
1
+ const a122_0x2aa86b=a122_0xb12f;(function(_0x55c804,_0x25088d){const _0x4ec411=a122_0xb12f,_0xabeae2=_0x55c804();while(!![]){try{const _0x51e69c=parseInt(_0x4ec411(0x72))/0x1*(-parseInt(_0x4ec411(0x80))/0x2)+parseInt(_0x4ec411(0x6b))/0x3+parseInt(_0x4ec411(0x88))/0x4*(-parseInt(_0x4ec411(0x7b))/0x5)+-parseInt(_0x4ec411(0x6f))/0x6+parseInt(_0x4ec411(0x7a))/0x7+-parseInt(_0x4ec411(0x79))/0x8*(parseInt(_0x4ec411(0x85))/0x9)+parseInt(_0x4ec411(0x6e))/0xa*(parseInt(_0x4ec411(0x87))/0xb);if(_0x51e69c===_0x25088d)break;else _0xabeae2['push'](_0xabeae2['shift']());}catch(_0x28f6f9){_0xabeae2['push'](_0xabeae2['shift']());}}}(a122_0x1f30,0xd194d));function a122_0xb12f(_0x481144,_0x1324ea){const _0x1f30d6=a122_0x1f30();return a122_0xb12f=function(_0xb12f12,_0x35fe58){_0xb12f12=_0xb12f12-0x68;let _0x2dc3b0=_0x1f30d6[_0xb12f12];return _0x2dc3b0;},a122_0xb12f(_0x481144,_0x1324ea);}const worker=require(a122_0x2aa86b(0x7c)),{fileLogger}=require(a122_0x2aa86b(0x69)),{consoleHolder}=require(a122_0x2aa86b(0x7e)),globals=require(a122_0x2aa86b(0x86)),constants=require('../bin/utils/constants');exports[a122_0x2aa86b(0x7f)]=()=>{const _0x8307c3=a122_0x2aa86b;return process[_0x8307c3(0x6a)]+'-'+worker['threadId'];},exports[a122_0x2aa86b(0x73)]=()=>{const _0xf1618f=a122_0x2aa86b,_0x1d2fd2={};_0x1d2fd2['KSPKR']=_0xf1618f(0x76);const _0x35e0d1=_0x1d2fd2;return globals[_0xf1618f(0x84)](_0x35e0d1[_0xf1618f(0x75)]);},exports[a122_0x2aa86b(0x7d)]=(_0x3837f9=0x64)=>new Promise(_0x1489e6=>setTimeout(_0x1489e6,_0x3837f9)),exports[a122_0x2aa86b(0x70)]=_0x4b62d6=>{const _0x102a68=a122_0x2aa86b,_0x435496={};_0x435496['cUqLy']=function(_0x3d26f6,_0x19ea2f){return _0x3d26f6===_0x19ea2f;},_0x435496['NLaWM']=_0x102a68(0x6d),_0x435496['PcYSz']=function(_0x380f79,_0x2021e2){return _0x380f79===_0x2021e2;};const _0x4259f1=_0x435496;fileLogger[_0x102a68(0x70)]('['+new Date()[_0x102a68(0x68)]()+_0x102a68(0x77)+constants[_0x102a68(0x83)]+'\x20]\x20'+_0x4b62d6),(_0x4259f1['cUqLy'](process[_0x102a68(0x71)][_0x102a68(0x78)],_0x4259f1['NLaWM'])||_0x4259f1[_0x102a68(0x74)](process[_0x102a68(0x71)][_0x102a68(0x78)],'1')||_0x4259f1[_0x102a68(0x74)](process[_0x102a68(0x71)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],_0x4259f1[_0x102a68(0x6c)])||_0x4259f1[_0x102a68(0x74)](process[_0x102a68(0x71)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],'1'))&&consoleHolder[_0x102a68(0x82)]('\x0a['+new Date()['toISOString']()+_0x102a68(0x77)+constants[_0x102a68(0x83)]+_0x102a68(0x81)+_0x4b62d6+'\x0a');};function a122_0x1f30(){const _0x16ef84=['11114236UUBkGg','10mYfrIb','worker_threads','sleep','./test-observability/constants','getProcessId','52VwPwEp','\x20]\x20','log','TEST_REPORTING_ANALYTICS','getGlobal','9wboVag','./globals','2953918CRjAKt','992356hkhjxJ','toISOString','./logger','pid','1065408agauZJ','NLaWM','true','50wIvJpT','2194560TWwdkY','debug','env','2988nNtFOL','getTestName','PcYSz','KSPKR','browserstackTestName','][\x20','BROWSERSTACK_TEST_REPORTING_DEBUG','11900024oaSlQb'];a122_0x1f30=function(){return _0x16ef84;};return a122_0x1f30();}
@@ -1 +1 @@
1
- function a121_0x1b64(_0x12f782,_0x2615d7){const _0xf89a9c=a121_0xf89a();return a121_0x1b64=function(_0x1b64fc,_0x377ddc){_0x1b64fc=_0x1b64fc-0x109;let _0x4cfe2f=_0xf89a9c[_0x1b64fc];return _0x4cfe2f;},a121_0x1b64(_0x12f782,_0x2615d7);}const a121_0x1dd764=a121_0x1b64;(function(_0x21b3b2,_0x2f0e78){const _0x114035=a121_0x1b64,_0xb39e1=_0x21b3b2();while(!![]){try{const _0x4228a0=-parseInt(_0x114035(0x10d))/0x1+-parseInt(_0x114035(0x12d))/0x2+-parseInt(_0x114035(0x136))/0x3*(parseInt(_0x114035(0x110))/0x4)+-parseInt(_0x114035(0x135))/0x5+parseInt(_0x114035(0x109))/0x6*(-parseInt(_0x114035(0x11f))/0x7)+parseInt(_0x114035(0x13e))/0x8+parseInt(_0x114035(0x10b))/0x9*(parseInt(_0x114035(0x10f))/0xa);if(_0x4228a0===_0x2f0e78)break;else _0xb39e1['push'](_0xb39e1['shift']());}catch(_0x687c93){_0xb39e1['push'](_0xb39e1['shift']());}}}(a121_0xf89a,0x40bc5));const http=require(a121_0x1dd764(0x12f)),https=require(a121_0x1dd764(0x134)),monkeypatch=require(a121_0x1dd764(0x113));function spy(_0x25e58d){const _0x3bc74c=a121_0x1dd764,_0x381c7a={'LDAkc':function(_0x3a1e0d,_0x22f2f4){return _0x3a1e0d instanceof _0x22f2f4;},'ytAFY':function(_0x4d8b92,_0xdcb53c){return _0x4d8b92===_0xdcb53c;},'LjNte':_0x3bc74c(0x112),'NFQOW':function(_0x2be068,..._0x49d796){return _0x2be068(..._0x49d796);},'iwNQf':function(_0x33b1a5,_0x383e3c,_0x4cc840){return _0x33b1a5(_0x383e3c,_0x4cc840);},'ePYyc':function(_0x4c0fd1,_0x2308de){return _0x4c0fd1-_0x2308de;},'iyfIl':function(_0x26fa05,_0x4e1483,_0x6be6c5){return _0x26fa05(_0x4e1483,_0x6be6c5);},'PNlfs':_0x3bc74c(0x114),'oospc':_0x3bc74c(0x11e),'tcEfl':_0x3bc74c(0x123),'tLgaI':function(_0x4a90bf,_0x340985,_0x23a4dc,_0x3f2983){return _0x4a90bf(_0x340985,_0x23a4dc,_0x3f2983);},'dULLV':_0x3bc74c(0x116),'HccnP':_0x3bc74c(0x138)},_0x1ef38e=function(){const _0x1e2ec5=_0x3bc74c,_0x2f471f={'HpPGp':function(_0x22fc72,_0xf8f0de,_0x1a062c){const _0x4cc2d7=a121_0x1b64;return _0x381c7a[_0x4cc2d7(0x10a)](_0x22fc72,_0xf8f0de,_0x1a062c);},'NiYLF':function(_0x3f961b,_0x3e8951){const _0xb20bed=a121_0x1b64;return _0x381c7a[_0xb20bed(0x133)](_0x3f961b,_0x3e8951);},'WCdrM':function(_0x3803f5,_0x3c0c2d,_0x452943){const _0x449091=a121_0x1b64;return _0x381c7a[_0x449091(0x13a)](_0x3803f5,_0x3c0c2d,_0x452943);},'hkLVp':_0x381c7a[_0x1e2ec5(0x10c)]},_0x29b107=arguments[0x0],_0x7aa36=Array[_0x1e2ec5(0x13d)]['slice']['call'](arguments,0x1),_0x2dedf=_0x29b107[_0x1e2ec5(0x10e)](this,_0x7aa36);let _0x51124c=Date['now'](),_0x29f5c0;const _0x563137={};_0x7aa36[_0x1e2ec5(0x126)](_0x4b4bdd=>{const _0x23700c=_0x1e2ec5;if(_0x381c7a[_0x23700c(0x12e)](_0x4b4bdd,URL)){const _0x3f828d={};_0x3f828d[_0x23700c(0x12a)]=_0x4b4bdd,Object[_0x23700c(0x12c)](_0x563137,_0x3f828d);}else _0x381c7a[_0x23700c(0x139)](typeof _0x4b4bdd,_0x381c7a[_0x23700c(0x122)])&&Object[_0x23700c(0x12c)](_0x563137,_0x4b4bdd);});const _0x51e520=_0x5d11a3=>{const _0x11ddbd=_0x1e2ec5,_0x2dda72={};_0x2dda72['host']=_0x563137[_0x11ddbd(0x132)]||_0x563137[_0x11ddbd(0x121)]||_0x563137[_0x11ddbd(0x12a)]&&(_0x563137[_0x11ddbd(0x12a)][_0x11ddbd(0x132)]||_0x563137[_0x11ddbd(0x12a)][_0x11ddbd(0x121)]),_0x2dda72[_0x11ddbd(0x120)]=_0x563137[_0x11ddbd(0x120)]||_0x563137[_0x11ddbd(0x12a)]&&_0x563137[_0x11ddbd(0x12a)][_0x11ddbd(0x13b)],_0x2dda72[_0x11ddbd(0x119)]=_0x563137[_0x11ddbd(0x119)],_0x2dda72[_0x11ddbd(0x129)]=_0x563137[_0x11ddbd(0x129)],_0x2f471f[_0x11ddbd(0x127)](_0x25e58d,_0x5d11a3,_0x2dda72);};return _0x2dedf[_0x1e2ec5(0x137)](_0x381c7a[_0x1e2ec5(0x124)],_0x406f6f=>{const _0x108728=_0x1e2ec5,_0x4c14c2=_0x2f471f['NiYLF'](Date[_0x108728(0x11a)](),_0x51124c),_0x44d0bc={};_0x44d0bc[_0x108728(0x121)]=_0x563137['host']||_0x563137[_0x108728(0x121)]||_0x563137[_0x108728(0x12a)]&&(_0x563137[_0x108728(0x12a)][_0x108728(0x132)]||_0x563137[_0x108728(0x12a)][_0x108728(0x121)]),_0x44d0bc[_0x108728(0x120)]=_0x563137[_0x108728(0x120)]||_0x563137[_0x108728(0x12a)]&&_0x563137[_0x108728(0x12a)][_0x108728(0x13b)],_0x44d0bc[_0x108728(0x119)]=_0x563137[_0x108728(0x119)],_0x44d0bc[_0x108728(0x129)]=_0x563137['headers'],_0x44d0bc[_0x108728(0x111)]=_0x406f6f[_0x108728(0x11b)],_0x44d0bc['duration_ms']=_0x4c14c2,_0x2f471f[_0x108728(0x11c)](_0x25e58d,null,_0x44d0bc),_0x29f5c0[_0x108728(0x13c)](_0x2f471f[_0x108728(0x118)],_0x51e520);}),_0x2dedf['on'](_0x381c7a['tcEfl'],_0x11cd81=>{const _0x377ed0=_0x1e2ec5;_0x29f5c0=_0x11cd81,_0x11cd81['once'](_0x2f471f[_0x377ed0(0x118)],_0x51e520);}),_0x381c7a[_0x1e2ec5(0x11d)](monkeypatch,_0x2dedf,_0x381c7a[_0x1e2ec5(0x12b)],(_0x1115f3,..._0x641529)=>{const _0x180392=_0x1e2ec5;_0x51124c=Date[_0x180392(0x11a)](),_0x381c7a[_0x180392(0x131)](_0x1115f3,..._0x641529);}),_0x2dedf;};_0x381c7a['tLgaI'](monkeypatch,http,_0x381c7a[_0x3bc74c(0x125)],_0x1ef38e),_0x381c7a[_0x3bc74c(0x11d)](monkeypatch,https,_0x381c7a[_0x3bc74c(0x125)],_0x1ef38e);}function restore(){const _0x259087=a121_0x1dd764;http[_0x259087(0x138)]['unpatch'](),https[_0x259087(0x138)][_0x259087(0x128)]();}const a121_0x330866={};function a121_0xf89a(){const _0x3a812a=['LjNte','socket','oospc','HccnP','forEach','HpPGp','unpatch','headers','url','dULLV','assign','245474lyvZTf','LDAkc','http','spy','NFQOW','host','ePYyc','https','674235iXVJxm','48EpRdDm','once','request','ytAFY','iyfIl','pathname','removeListener','prototype','3883376TVZEub','1563486PKfAEP','iwNQf','16281TMzgOS','PNlfs','157579fHVMSX','apply','4870jLzWLC','106376tZvqfq','status_code','object','monkeypatch','error','restore','end','exports','hkLVp','method','now','statusCode','WCdrM','tLgaI','response','7qRdakv','path','hostname'];a121_0xf89a=function(){return _0x3a812a;};return a121_0xf89a();}a121_0x330866[a121_0x1dd764(0x130)]=spy,a121_0x330866[a121_0x1dd764(0x115)]=restore,module[a121_0x1dd764(0x117)]=a121_0x330866;
1
+ const a123_0x5faa9e=a123_0x1e3b;(function(_0x8f20e8,_0x4d2660){const _0x2476b2=a123_0x1e3b,_0x4fb822=_0x8f20e8();while(!![]){try{const _0xac190d=-parseInt(_0x2476b2(0x9f))/0x1*(-parseInt(_0x2476b2(0xa1))/0x2)+parseInt(_0x2476b2(0x87))/0x3+-parseInt(_0x2476b2(0xa3))/0x4+-parseInt(_0x2476b2(0x95))/0x5*(-parseInt(_0x2476b2(0x8f))/0x6)+-parseInt(_0x2476b2(0x8b))/0x7*(-parseInt(_0x2476b2(0xa5))/0x8)+-parseInt(_0x2476b2(0xaa))/0x9*(-parseInt(_0x2476b2(0x97))/0xa)+-parseInt(_0x2476b2(0x9e))/0xb;if(_0xac190d===_0x4d2660)break;else _0x4fb822['push'](_0x4fb822['shift']());}catch(_0x31c83a){_0x4fb822['push'](_0x4fb822['shift']());}}}(a123_0x908b,0xd929c));const http=require(a123_0x5faa9e(0x92)),https=require('https'),monkeypatch=require('monkeypatch');function a123_0x908b(){const _0x2407a9=['sblsG','socket','39209885EpWHdY','3cPWGXR','method','299036UKJFVB','hkiEQ','4824924SKjLsE','removeListener','9136CymVBP','headers','PRXxP','hostname','restore','63ECGcSn','buhXu','pathname','unpatch','end','jDDrI','kRWOS','QIFrh','request','statusCode','assign','5037993pvOjgW','path','status_code','zBoHv','7553fKESin','forEach','url','JYusq','1708710IjKqUi','VDSjm','prototype','http','now','call','15fsvMwf','duration_ms','2065440NVkKrP','response','host','apply','object'];a123_0x908b=function(){return _0x2407a9;};return a123_0x908b();}function spy(_0x1cc192){const _0xc9e6c9=a123_0x5faa9e,_0x5a8b44={'VDSjm':function(_0x2890f0,_0x2365f7){return _0x2890f0 instanceof _0x2365f7;},'QIFrh':function(_0x3b4d08,_0x3d618f){return _0x3b4d08===_0x3d618f;},'vZDwS':_0xc9e6c9(0x9b),'txkFO':function(_0x8c56f1,_0x1e1c10,_0x422a42){return _0x8c56f1(_0x1e1c10,_0x422a42);},'PRXxP':function(_0x1e79f3,_0x1f36d8){return _0x1e79f3-_0x1f36d8;},'NGkNJ':function(_0xa702ee,_0x4fd268,_0x5b4119){return _0xa702ee(_0x4fd268,_0x5b4119);},'kRWOS':'error','JYusq':function(_0x3015a7,..._0x5e19a0){return _0x3015a7(..._0x5e19a0);},'gxoTv':_0xc9e6c9(0x98),'zBoHv':_0xc9e6c9(0x9d),'buhXu':function(_0x353d19,_0xee57ca,_0xa0923,_0x1b8f78){return _0x353d19(_0xee57ca,_0xa0923,_0x1b8f78);},'jDDrI':_0xc9e6c9(0x80),'PtijM':function(_0x428e51,_0x4210a3,_0x57df69,_0x2cbba6){return _0x428e51(_0x4210a3,_0x57df69,_0x2cbba6);},'sblsG':_0xc9e6c9(0x84),'SotjN':function(_0x338c3f,_0xe8491e,_0xf9e956,_0x368c4a){return _0x338c3f(_0xe8491e,_0xf9e956,_0x368c4a);}},_0x330c17=function(){const _0x4f7e80=_0xc9e6c9,_0x1c7517={'hkiEQ':function(_0xc30fc6,..._0x44ea14){const _0x1477e0=a123_0x1e3b;return _0x5a8b44[_0x1477e0(0x8e)](_0xc30fc6,..._0x44ea14);}},_0x3b4fe7=arguments[0x0],_0x3b3756=Array[_0x4f7e80(0x91)]['slice'][_0x4f7e80(0x94)](arguments,0x1),_0x5598c=_0x3b4fe7[_0x4f7e80(0x9a)](this,_0x3b3756);let _0x326000=Date[_0x4f7e80(0x93)](),_0xbb3dd2;const _0x3307a5={};_0x3b3756[_0x4f7e80(0x8c)](_0x55ba51=>{const _0x972cc0=_0x4f7e80;if(_0x5a8b44[_0x972cc0(0x90)](_0x55ba51,URL)){const _0x2723e1={};_0x2723e1[_0x972cc0(0x8d)]=_0x55ba51,Object[_0x972cc0(0x86)](_0x3307a5,_0x2723e1);}else _0x5a8b44[_0x972cc0(0x83)](typeof _0x55ba51,_0x5a8b44['vZDwS'])&&Object[_0x972cc0(0x86)](_0x3307a5,_0x55ba51);});const _0x2f6a78=_0x23f4b7=>{const _0x51d340=_0x4f7e80,_0x42a816={};_0x42a816['host']=_0x3307a5[_0x51d340(0x99)]||_0x3307a5['hostname']||_0x3307a5['url']&&(_0x3307a5[_0x51d340(0x8d)][_0x51d340(0x99)]||_0x3307a5[_0x51d340(0x8d)][_0x51d340(0xa8)]),_0x42a816[_0x51d340(0x88)]=_0x3307a5[_0x51d340(0x88)]||_0x3307a5[_0x51d340(0x8d)]&&_0x3307a5[_0x51d340(0x8d)][_0x51d340(0xac)],_0x42a816['method']=_0x3307a5[_0x51d340(0xa0)],_0x42a816['headers']=_0x3307a5['headers'],_0x5a8b44['txkFO'](_0x1cc192,_0x23f4b7,_0x42a816);};return _0x5598c['once'](_0x5a8b44['gxoTv'],_0x1a924b=>{const _0x49de32=_0x4f7e80,_0x1e1a68=_0x5a8b44[_0x49de32(0xa7)](Date[_0x49de32(0x93)](),_0x326000),_0x13e304={};_0x13e304[_0x49de32(0xa8)]=_0x3307a5[_0x49de32(0x99)]||_0x3307a5['hostname']||_0x3307a5[_0x49de32(0x8d)]&&(_0x3307a5['url'][_0x49de32(0x99)]||_0x3307a5[_0x49de32(0x8d)][_0x49de32(0xa8)]),_0x13e304[_0x49de32(0x88)]=_0x3307a5[_0x49de32(0x88)]||_0x3307a5['url']&&_0x3307a5['url'][_0x49de32(0xac)],_0x13e304[_0x49de32(0xa0)]=_0x3307a5[_0x49de32(0xa0)],_0x13e304[_0x49de32(0xa6)]=_0x3307a5['headers'],_0x13e304[_0x49de32(0x89)]=_0x1a924b[_0x49de32(0x85)],_0x13e304[_0x49de32(0x96)]=_0x1e1a68,_0x5a8b44['NGkNJ'](_0x1cc192,null,_0x13e304),_0xbb3dd2[_0x49de32(0xa4)](_0x5a8b44[_0x49de32(0x82)],_0x2f6a78);}),_0x5598c['on'](_0x5a8b44[_0x4f7e80(0x8a)],_0x49a387=>{const _0x51811f=_0x4f7e80;_0xbb3dd2=_0x49a387,_0x49a387['once'](_0x5a8b44[_0x51811f(0x82)],_0x2f6a78);}),_0x5a8b44[_0x4f7e80(0xab)](monkeypatch,_0x5598c,_0x5a8b44[_0x4f7e80(0x81)],(_0x2ed88d,..._0x4f685d)=>{const _0x5ad636=_0x4f7e80;_0x326000=Date[_0x5ad636(0x93)](),_0x1c7517[_0x5ad636(0xa2)](_0x2ed88d,..._0x4f685d);}),_0x5598c;};_0x5a8b44['PtijM'](monkeypatch,http,_0x5a8b44[_0xc9e6c9(0x9c)],_0x330c17),_0x5a8b44['SotjN'](monkeypatch,https,_0x5a8b44[_0xc9e6c9(0x9c)],_0x330c17);}function restore(){const _0x532f31=a123_0x5faa9e;http[_0x532f31(0x84)][_0x532f31(0x7f)](),https['request'][_0x532f31(0x7f)]();}const a123_0x11d986={};function a123_0x1e3b(_0x46be1e,_0x45db27){const _0x908be5=a123_0x908b();return a123_0x1e3b=function(_0x1e3b29,_0x1b74b2){_0x1e3b29=_0x1e3b29-0x7f;let _0x1a45de=_0x908be5[_0x1e3b29];return _0x1a45de;},a123_0x1e3b(_0x46be1e,_0x45db27);}a123_0x11d986['spy']=spy,a123_0x11d986[a123_0x5faa9e(0xa9)]=restore,module['exports']=a123_0x11d986;
@@ -1 +1 @@
1
- const a122_0x12c791=a122_0x18dc;function a122_0x1751(){const _0x333603=['84918oTGzLm','request','measureWrapper','exports','24471lBoJHp','TDdRt','112llzYGv','5504352WHskPd','2776235FysOks','ZhQJd','GcKsl','https','prototype','zVbWt','http','669278pGsaRd','protocol','614754jybgmn','6210DwsAAU','gPuuc','agent','https:','./performance/constants','globalAgent','keepAliveMsecs','vqiIG','./performance/performance-tester','CiCoh','2340gCpDRA','2499qhChWT','keepAlive','Agent','call'];a122_0x1751=function(){return _0x333603;};return a122_0x1751();}(function(_0x404e3e,_0x4280b0){const _0x3be73d=a122_0x18dc,_0x5bcc33=_0x404e3e();while(!![]){try{const _0x9c4cbd=-parseInt(_0x3be73d(0x1fd))/0x1+parseInt(_0x3be73d(0x1ff))/0x2+-parseInt(_0x3be73d(0x1ea))/0x3*(-parseInt(_0x3be73d(0x1e9))/0x4)+-parseInt(_0x3be73d(0x1f6))/0x5+parseInt(_0x3be73d(0x1ee))/0x6*(-parseInt(_0x3be73d(0x1f4))/0x7)+-parseInt(_0x3be73d(0x1f5))/0x8+-parseInt(_0x3be73d(0x1f2))/0x9*(-parseInt(_0x3be73d(0x200))/0xa);if(_0x9c4cbd===_0x4280b0)break;else _0x5bcc33['push'](_0x5bcc33['shift']());}catch(_0xa0758e){_0x5bcc33['push'](_0x5bcc33['shift']());}}}(a122_0x1751,0x54064));const PerformanceTester=require(a122_0x12c791(0x1e7)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a122_0x12c791(0x204));function a122_0x18dc(_0x4704cf,_0x1ded99){const _0x1751be=a122_0x1751();return a122_0x18dc=function(_0x18dc71,_0x33cdae){_0x18dc71=_0x18dc71-0x1e4;let _0x169abb=_0x1751be[_0x18dc71];return _0x169abb;},a122_0x18dc(_0x4704cf,_0x1ded99);}module[a122_0x12c791(0x1f1)]=PerformanceTester[a122_0x12c791(0x1f0)](PerformanceEvents['KEEP_ALIVE'],function(){const _0x4a4e2f=a122_0x12c791,_0x67dc59={'lxhAJ':function(_0x248c7f,_0x1720c2){return _0x248c7f===_0x1720c2;},'zVbWt':_0x4a4e2f(0x203),'rxyOq':_0x4a4e2f(0x202),'ZhQJd':function(_0x1643b3,_0x292b98,_0x7f973f){return _0x1643b3(_0x292b98,_0x7f973f);},'CiCoh':function(_0x561647,_0x23f6e7,_0x5337d0){return _0x561647(_0x23f6e7,_0x5337d0);},'TDdRt':function(_0x1954a3,_0x1781d5){return _0x1954a3(_0x1781d5);},'vqiIG':_0x4a4e2f(0x1fc),'GcKsl':_0x4a4e2f(0x1f9),'CZaml':function(_0x42ebbc,_0x5bf744){return _0x42ebbc*_0x5bf744;},'gPuuc':'keepAlive'},_0x110585=_0x67dc59[_0x4a4e2f(0x1f3)](require,_0x67dc59[_0x4a4e2f(0x1e6)]),_0x3488e7=_0x67dc59['TDdRt'](require,_0x67dc59[_0x4a4e2f(0x1f8)]),_0x33f8d1=_0x67dc59['CZaml'](0x1e,0x3e8);if(_0x110585['globalAgent']&&Object[_0x4a4e2f(0x1fa)]['hasOwnProperty'][_0x4a4e2f(0x1ed)](_0x110585['globalAgent'],_0x67dc59[_0x4a4e2f(0x201)]))_0x110585['globalAgent']['keepAlive']=!![],_0x3488e7[_0x4a4e2f(0x1e4)][_0x4a4e2f(0x1eb)]=!![],_0x110585[_0x4a4e2f(0x1e4)][_0x4a4e2f(0x1e5)]=_0x33f8d1,_0x3488e7[_0x4a4e2f(0x1e4)][_0x4a4e2f(0x1e5)]=_0x33f8d1;else{const _0x3800b7={};_0x3800b7[_0x4a4e2f(0x1eb)]=!![],_0x3800b7[_0x4a4e2f(0x1e5)]=_0x33f8d1;const _0x19504d=new _0x110585[(_0x4a4e2f(0x1ec))](_0x3800b7),_0x2054e2={};_0x2054e2['keepAlive']=!![],_0x2054e2['keepAliveMsecs']=_0x33f8d1;const _0x4d6158=new _0x3488e7['Agent'](_0x2054e2),_0x4c7e0a=_0x110585[_0x4a4e2f(0x1ef)],_0x1bbd19=_0x3488e7[_0x4a4e2f(0x1ef)];_0x110585[_0x4a4e2f(0x1ef)]=function(_0x13f92c,_0x3ff499){const _0x18070f=_0x4a4e2f;if(_0x67dc59['lxhAJ'](_0x13f92c[_0x18070f(0x1fe)],_0x67dc59[_0x18070f(0x1fb)]))return _0x13f92c[_0x67dc59['rxyOq']]=_0x4d6158,_0x67dc59[_0x18070f(0x1f7)](_0x1bbd19,_0x13f92c,_0x3ff499);return _0x13f92c[_0x67dc59['rxyOq']]=_0x19504d,_0x67dc59[_0x18070f(0x1e8)](_0x4c7e0a,_0x13f92c,_0x3ff499);};}});
1
+ const a124_0x3e6ae7=a124_0x4510;function a124_0x4510(_0x34c523,_0x16f5a9){const _0x402179=a124_0x4021();return a124_0x4510=function(_0x4510d1,_0x5d22d7){_0x4510d1=_0x4510d1-0x84;let _0xd091bc=_0x402179[_0x4510d1];return _0xd091bc;},a124_0x4510(_0x34c523,_0x16f5a9);}function a124_0x4021(){const _0x33c00d=['eksbz','11024MORTJQ','https:','1320712dvIciM','3JTuXJd','668351XkeUiY','agent','706790GnzlfI','3514NaWJPD','LnYZV','xKEPV','hasOwnProperty','measureWrapper','2611818YQENat','KEEP_ALIVE','./performance/constants','ayRTm','Agent','keepAliveMsecs','keepAlive','pPKcW','prototype','request','http','call','globalAgent','1031192IvevaK','2648298tdWjlR','DnIVv'];a124_0x4021=function(){return _0x33c00d;};return a124_0x4021();}(function(_0x104f04,_0x56d510){const _0x569477=a124_0x4510,_0x526b57=_0x104f04();while(!![]){try{const _0x51e597=parseInt(_0x569477(0x9c))/0x1+parseInt(_0x569477(0x9a))/0x2*(parseInt(_0x569477(0x9b))/0x3)+-parseInt(_0x569477(0x94))/0x4+-parseInt(_0x569477(0x9e))/0x5+parseInt(_0x569477(0x95))/0x6+-parseInt(_0x569477(0x9f))/0x7*(parseInt(_0x569477(0x98))/0x8)+-parseInt(_0x569477(0x87))/0x9;if(_0x51e597===_0x56d510)break;else _0x526b57['push'](_0x526b57['shift']());}catch(_0x8c0ed8){_0x526b57['push'](_0x526b57['shift']());}}}(a124_0x4021,0x5ef70));const PerformanceTester=require('./performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceEvents}=require(a124_0x3e6ae7(0x89));module['exports']=PerformanceTester[a124_0x3e6ae7(0x86)](PerformanceEvents[a124_0x3e6ae7(0x88)],function(){const _0x40651c=a124_0x3e6ae7,_0x1346e9={'mYGCo':function(_0x39a328,_0xcf965){return _0x39a328===_0xcf965;},'rJOMG':_0x40651c(0x99),'pPKcW':_0x40651c(0x9d),'VXtor':function(_0x2534bb,_0x3ef83f,_0xf13c87){return _0x2534bb(_0x3ef83f,_0xf13c87);},'DnIVv':function(_0x23eb8a,_0x90c857,_0x3d03e5){return _0x23eb8a(_0x90c857,_0x3d03e5);},'ayRTm':function(_0x488188,_0x164bdb){return _0x488188(_0x164bdb);},'LnYZV':_0x40651c(0x91),'vbgrq':function(_0x4c2bdf,_0x97c30c){return _0x4c2bdf(_0x97c30c);},'eksbz':'https','gBPuL':function(_0x46e9ac,_0x45c6a3){return _0x46e9ac*_0x45c6a3;},'xKEPV':'keepAlive'},_0x553575=_0x1346e9[_0x40651c(0x8a)](require,_0x1346e9[_0x40651c(0xa0)]),_0x370fa4=_0x1346e9['vbgrq'](require,_0x1346e9[_0x40651c(0x97)]),_0x40c50b=_0x1346e9['gBPuL'](0x1e,0x3e8);if(_0x553575[_0x40651c(0x93)]&&Object[_0x40651c(0x8f)][_0x40651c(0x85)][_0x40651c(0x92)](_0x553575[_0x40651c(0x93)],_0x1346e9[_0x40651c(0x84)]))_0x553575[_0x40651c(0x93)][_0x40651c(0x8d)]=!![],_0x370fa4[_0x40651c(0x93)][_0x40651c(0x8d)]=!![],_0x553575[_0x40651c(0x93)][_0x40651c(0x8c)]=_0x40c50b,_0x370fa4['globalAgent'][_0x40651c(0x8c)]=_0x40c50b;else{const _0x3909b9={};_0x3909b9[_0x40651c(0x8d)]=!![],_0x3909b9['keepAliveMsecs']=_0x40c50b;const _0x1618d5=new _0x553575[(_0x40651c(0x8b))](_0x3909b9),_0x10d794={};_0x10d794['keepAlive']=!![],_0x10d794[_0x40651c(0x8c)]=_0x40c50b;const _0x5532b1=new _0x370fa4[(_0x40651c(0x8b))](_0x10d794),_0xb5bbcd=_0x553575[_0x40651c(0x90)],_0x5cebfe=_0x370fa4[_0x40651c(0x90)];_0x553575['request']=function(_0x253eb3,_0x2d59b3){const _0xf7346d=_0x40651c;if(_0x1346e9['mYGCo'](_0x253eb3['protocol'],_0x1346e9['rJOMG']))return _0x253eb3[_0x1346e9[_0xf7346d(0x8e)]]=_0x5532b1,_0x1346e9['VXtor'](_0x5cebfe,_0x253eb3,_0x2d59b3);return _0x253eb3[_0x1346e9[_0xf7346d(0x8e)]]=_0x1618d5,_0x1346e9[_0xf7346d(0x96)](_0xb5bbcd,_0x253eb3,_0x2d59b3);};}});
@@ -1 +1 @@
1
- function a123_0x50e7(_0x4ad6ba,_0x582db2){const _0xe59acc=a123_0xe59a();return a123_0x50e7=function(_0x50e792,_0x15ce1a){_0x50e792=_0x50e792-0x147;let _0x49358a=_0xe59acc[_0x50e792];return _0x49358a;},a123_0x50e7(_0x4ad6ba,_0x582db2);}function a123_0xe59a(){const _0x30d775=['JEST','preprod','https://collector-observability-devtestops.bsstag.com','30aIBDjw','14070CMudiO','.obs_test_details','BROWSERSTACK_ENV','CODECEPT_CUCUMBER','https://upload-observability-devtestops-ssi.bsstag.com','3531376lWyOTH','11075hqHFYR','API_URL','Playwright','upload-attachments','../logger','api/v1/batch','exports','CODECEPT','168KEguug','cucumber','stag','api/v1/event','8235549dQmWZW','codeceptjs-cucumber','codeceptjs','638820xdmEVV','PLAYWRIGHT','OBSERVABILITY_UPLOAD_API_URL','CUCUMBER','assign','407553iYPjnm','path','join','https://upload-observability-preprod.bsstag.com','512806wJKHCm','mocha','api/v1/screenshots','https://collector-observability-preprod.bsstag.com'];a123_0xe59a=function(){return _0x30d775;};return a123_0xe59a();}const a123_0xfec77c=a123_0x50e7;(function(_0x18294d,_0x2b421f){const _0x41c93f=a123_0x50e7,_0x54d87c=_0x18294d();while(!![]){try{const _0x1e62cf=-parseInt(_0x41c93f(0x14d))/0x1+parseInt(_0x41c93f(0x158))/0x2*(parseInt(_0x41c93f(0x159))/0x3)+parseInt(_0x41c93f(0x167))/0x4*(-parseInt(_0x41c93f(0x15f))/0x5)+parseInt(_0x41c93f(0x148))/0x6+parseInt(_0x41c93f(0x151))/0x7+-parseInt(_0x41c93f(0x15e))/0x8+parseInt(_0x41c93f(0x16b))/0x9;if(_0x1e62cf===_0x2b421f)break;else _0x54d87c['push'](_0x54d87c['shift']());}catch(_0x31530a){_0x54d87c['push'](_0x54d87c['shift']());}}}(a123_0xe59a,0x3679e));const path=require(a123_0xfec77c(0x14e)),{logDir}=require(a123_0xfec77c(0x163)),a123_0x589132={};a123_0x589132[a123_0xfec77c(0x149)]=a123_0xfec77c(0x161),a123_0x589132['MOCHA']=a123_0xfec77c(0x152),a123_0x589132[a123_0xfec77c(0x166)]=a123_0xfec77c(0x147),a123_0x589132[a123_0xfec77c(0x15c)]=a123_0xfec77c(0x16c),a123_0x589132[a123_0xfec77c(0x155)]='jest',a123_0x589132[a123_0xfec77c(0x14b)]=a123_0xfec77c(0x168),module[a123_0xfec77c(0x165)]={'consoleHolder':Object[a123_0xfec77c(0x14c)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':'https://collector-observability.browserstack.com','OBSERVABILITY_UPLOAD_API_URL':'https://upload-observability.browserstack.com','EVENT_ENDPOINT':a123_0xfec77c(0x16a),'BATCH_ENDPOINT':a123_0xfec77c(0x164),'SCREENSHOT_ENDPOINT':a123_0xfec77c(0x153),'UPLOAD_ATTACHMENT_ENDPOINT':a123_0xfec77c(0x162),'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[a123_0xfec77c(0x14f)](logDir,a123_0xfec77c(0x15a)),'FRAMEWORKS':a123_0x589132};const _env=(process['env'][a123_0xfec77c(0x15b)]||'prod')['toLowerCase']();if(_env==='staging'||_env===a123_0xfec77c(0x169))module[a123_0xfec77c(0x165)][a123_0xfec77c(0x160)]=a123_0xfec77c(0x157),module[a123_0xfec77c(0x165)][a123_0xfec77c(0x14a)]=a123_0xfec77c(0x15d);else(_env===a123_0xfec77c(0x156)||_env==='pre-prod')&&(module[a123_0xfec77c(0x165)][a123_0xfec77c(0x160)]=a123_0xfec77c(0x154),module[a123_0xfec77c(0x165)][a123_0xfec77c(0x14a)]=a123_0xfec77c(0x150));
1
+ function a125_0x37f6(){const _0x56419d=['143717TMHFBY','40187472cLYzEn','jest','1744458ksPsuj','https://collector-observability.browserstack.com','API_URL','cucumber','https://upload-observability.browserstack.com','PLAYWRIGHT','2298872VDScwU','Playwright','codeceptjs','staging','.obs_test_details','../logger','toLowerCase','join','7218893BaHGdu','prod','api/v1/event','assign','20jSGHwv','pre-prod','https://upload-observability-devtestops-ssi.bsstag.com','14PAIzWP','exports','3DBcRxl','25eezywo','CODECEPT_CUCUMBER','mocha','32EujxGx','env','JEST','api/v1/batch','33572rGnjDR','path','OBSERVABILITY_UPLOAD_API_URL','api/v1/screenshots','12353724eAjVhd','CODECEPT','https://collector-observability-preprod.bsstag.com','https://collector-observability-devtestops.bsstag.com','https://upload-observability-preprod.bsstag.com','MOCHA'];a125_0x37f6=function(){return _0x56419d;};return a125_0x37f6();}const a125_0x5806ef=a125_0x3683;(function(_0xe95ba0,_0x4ec00f){const _0x184cc9=a125_0x3683,_0x59697c=_0xe95ba0();while(!![]){try{const _0x19efd8=-parseInt(_0x184cc9(0x1b8))/0x1*(-parseInt(_0x184cc9(0x1d0))/0x2)+parseInt(_0x184cc9(0x1d2))/0x3*(parseInt(_0x184cc9(0x1c1))/0x4)+parseInt(_0x184cc9(0x1d3))/0x5*(-parseInt(_0x184cc9(0x1bb))/0x6)+parseInt(_0x184cc9(0x1ae))/0x7*(parseInt(_0x184cc9(0x1aa))/0x8)+-parseInt(_0x184cc9(0x1b2))/0x9+-parseInt(_0x184cc9(0x1cd))/0xa*(parseInt(_0x184cc9(0x1c9))/0xb)+parseInt(_0x184cc9(0x1b9))/0xc;if(_0x19efd8===_0x4ec00f)break;else _0x59697c['push'](_0x59697c['shift']());}catch(_0x2dae3d){_0x59697c['push'](_0x59697c['shift']());}}}(a125_0x37f6,0xc5c10));const path=require(a125_0x5806ef(0x1af)),{logDir}=require(a125_0x5806ef(0x1c6)),a125_0x3a37fb={};a125_0x3a37fb[a125_0x5806ef(0x1c0)]=a125_0x5806ef(0x1c2),a125_0x3a37fb[a125_0x5806ef(0x1b7)]=a125_0x5806ef(0x1a9),a125_0x3a37fb[a125_0x5806ef(0x1b3)]=a125_0x5806ef(0x1c3),a125_0x3a37fb[a125_0x5806ef(0x1d4)]='codeceptjs-cucumber',a125_0x3a37fb[a125_0x5806ef(0x1ac)]=a125_0x5806ef(0x1ba),a125_0x3a37fb['CUCUMBER']=a125_0x5806ef(0x1be),module['exports']={'consoleHolder':Object[a125_0x5806ef(0x1cc)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a125_0x5806ef(0x1bc),'OBSERVABILITY_UPLOAD_API_URL':a125_0x5806ef(0x1bf),'EVENT_ENDPOINT':a125_0x5806ef(0x1cb),'BATCH_ENDPOINT':a125_0x5806ef(0x1ad),'SCREENSHOT_ENDPOINT':a125_0x5806ef(0x1b1),'UPLOAD_ATTACHMENT_ENDPOINT':'upload-attachments','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[a125_0x5806ef(0x1c8)](logDir,a125_0x5806ef(0x1c5)),'FRAMEWORKS':a125_0x3a37fb};function a125_0x3683(_0x8c536d,_0x31e546){const _0x37f6e4=a125_0x37f6();return a125_0x3683=function(_0x36838f,_0x3fd381){_0x36838f=_0x36838f-0x1a9;let _0x228206=_0x37f6e4[_0x36838f];return _0x228206;},a125_0x3683(_0x8c536d,_0x31e546);}const _env=(process[a125_0x5806ef(0x1ab)]['BROWSERSTACK_ENV']||a125_0x5806ef(0x1ca))[a125_0x5806ef(0x1c7)]();if(_env===a125_0x5806ef(0x1c4)||_env==='stag')module[a125_0x5806ef(0x1d1)][a125_0x5806ef(0x1bd)]=a125_0x5806ef(0x1b5),module[a125_0x5806ef(0x1d1)]['OBSERVABILITY_UPLOAD_API_URL']=a125_0x5806ef(0x1cf);else(_env==='preprod'||_env===a125_0x5806ef(0x1ce))&&(module['exports'][a125_0x5806ef(0x1bd)]=a125_0x5806ef(0x1b4),module[a125_0x5806ef(0x1d1)][a125_0x5806ef(0x1b0)]=a125_0x5806ef(0x1b6));
@@ -1 +1 @@
1
- function a124_0x1825(){const _0x864070=['toLowerCase','stringify','BROWSERSTACK_O11Y_PERF_MEASUREMENT','constructor','ruRte','bCKwU','oWaHl','recursivelyDeletePIIKeysFromObject','23586KPZCBn','name','VbgXQ','AeKEe','getConfig','getPerformance','then','length','setCredentials','pZRMM','18rSmlOz','hBSVX','o11yErrorHandler','util','key','CrashReporter','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','168370yCswDJ','ylFdO','frameworkName','VJqGn','toString','user','depth','KWIfZ','NZBSq','getCredentials','setFrameworkDetails','getOwnPropertyNames','BS_TESTOPS_BUILD_HASHED_ID','CREDENTIALS_FOR_CRASH_REPORTING','uCOBp','QxjdW','accessKey','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','2349lHcdzc','credentials','filterPII','POST','3898332eBPTRe','userConfig','TSkmv','setAllDetails','Pfgph','LdTsD','.\x20Error\x20-\x20','password','pid','dTLsV','setConfigDetails','nfXNj','pqStE','BnEyf','OqEsl','./utils','bgamr','timerify','nRddS','dvKou','defineProperty','true','48TzeiKl','\x20--\x20','forEach','aqobs','Error\x20in\x20executing\x20','[Crash_Report_Upload]\x20Success\x20response:\x20','application/json','X-BSTACK-TESTOPS','frameworkVersion','Started\x20::\x20','Finished\x20::\x20','BPswS','stack','username','QwNsN','o11yClassErrorHandler','apply','.\x20Args\x20-\x20','uploadCrashReport','USER_CONFIG_FOR_REPORTING','catch','function','1834376ptfJZX','vnvXz','parse','18190fcrwyR','203297xNYrwT','frameworkDetails','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','vAsPT',',\x20PID\x20-\x20',',\x20Argument\x20-\x20','inspect','env','1426670hyUBDG','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','format','sQjZS','AWgEa','includes','KxJON','auth'];a124_0x1825=function(){return _0x864070;};return a124_0x1825();}const a124_0x4638aa=a124_0x56d2;(function(_0x19a728,_0xe85c03){const _0x5655ee=a124_0x56d2,_0x59ac58=_0x19a728();while(!![]){try{const _0x4ea338=parseInt(_0x5655ee(0x177))/0x1+-parseInt(_0x5655ee(0x199))/0x2*(-parseInt(_0x5655ee(0x18f))/0x3)+-parseInt(_0x5655ee(0x1cc))/0x4*(parseInt(_0x5655ee(0x1a0))/0x5)+parseInt(_0x5655ee(0x1b6))/0x6+parseInt(_0x5655ee(0x17f))/0x7+parseInt(_0x5655ee(0x173))/0x8+parseInt(_0x5655ee(0x1b2))/0x9*(-parseInt(_0x5655ee(0x176))/0xa);if(_0x4ea338===_0xe85c03)break;else _0x59ac58['push'](_0x59ac58['shift']());}catch(_0x375184){_0x59ac58['push'](_0x59ac58['shift']());}}}(a124_0x1825,0x74b55));const util=require(a124_0x4638aa(0x19c)),PerformanceTester=require('../performance/performance-tester'),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a124_0x4638aa(0x1c5)),{getAgentVersion,nestedKeyValue}=require('../helper'),o11yErrorHandler=(_0x37099c,_0x25d70a='',_0x45db9d=[''],_0x5cd764=![])=>{const _0xc2a10c={'KWIfZ':function(_0x3fd4fc,_0x708289){return _0x3fd4fc(_0x708289);},'bCKwU':function(_0x249dea,_0x5cc1ae,_0xaf91b2){return _0x249dea(_0x5cc1ae,_0xaf91b2);},'ruRte':function(_0xa06ac9,_0x18f6a4,_0x139ecd){return _0xa06ac9(_0x18f6a4,_0x139ecd);},'BnEyf':function(_0x54c58f,_0x2d879c){return _0x54c58f instanceof _0x2d879c;},'hBSVX':function(_0x101dda,_0x528dcc,_0x3db20f,_0x1d5617,_0x49d866){return _0x101dda(_0x528dcc,_0x3db20f,_0x1d5617,_0x49d866);}};return function(..._0x29a6d3){const _0x1cb172=a124_0x56d2;try{let _0x272160=_0x37099c;process[_0x1cb172(0x17e)][_0x1cb172(0x189)]&&(_0x272160=PerformanceTester[_0x1cb172(0x194)]()[_0x1cb172(0x1c7)](_0x272160));_0x5cd764&&_0xc2a10c['KWIfZ'](trace,_0x1cb172(0x166)+_0x25d70a+_0x1cb172(0x17b)+process[_0x1cb172(0x1be)]+_0x1cb172(0x17c)+_0xc2a10c[_0x1cb172(0x18c)](nestedKeyValue,arguments[0x0],_0x45db9d));const _0x24f2ea=_0x272160[_0x1cb172(0x16d)](null,arguments);_0x5cd764&&_0xc2a10c[_0x1cb172(0x1a7)](trace,_0x1cb172(0x167)+_0x25d70a+_0x1cb172(0x17b)+process[_0x1cb172(0x1be)]+',\x20Argument\x20-\x20'+_0xc2a10c[_0x1cb172(0x18b)](nestedKeyValue,arguments[0x0],_0x45db9d));if(_0xc2a10c[_0x1cb172(0x1c3)](_0x24f2ea,Promise))return _0x24f2ea['catch'](_0x1e9de6=>processError(_0x1e9de6,_0x37099c,_0x29a6d3,_0x25d70a));return _0x24f2ea;}catch(_0x43665e){_0xc2a10c[_0x1cb172(0x19a)](processError,_0x43665e,_0x37099c,_0x29a6d3,_0x25d70a);}};},o11yClassErrorHandler=(_0x43fe8b,_0x2c597f,_0x238e7b='')=>{const _0x293510=a124_0x4638aa,_0x247831={'pZRMM':function(_0x3d1e4f,_0x2d6092){return _0x3d1e4f instanceof _0x2d6092;},'sQjZS':function(_0x27a9be,_0x497b4a,_0x3ed9d9,_0x23baac,_0xc9ad48){return _0x27a9be(_0x497b4a,_0x3ed9d9,_0x23baac,_0xc9ad48);},'nfXNj':function(_0x1a6e06,_0x578d8c){return _0x1a6e06===_0x578d8c;},'QxjdW':_0x293510(0x172),'OqEsl':function(_0x5aa1ef,_0x51cd1c){return _0x5aa1ef!==_0x51cd1c;},'irWEw':_0x293510(0x18a),'Pfgph':function(_0x2c4abd,_0x56c369){return _0x2c4abd<_0x56c369;}},_0x1c9b16=_0x43fe8b['prototype'];if(_0x247831[_0x293510(0x1ba)](Object[_0x293510(0x1ab)](_0x1c9b16)[_0x293510(0x196)],0x2))return _0x43fe8b;return Object[_0x293510(0x1ab)](_0x1c9b16)[_0x293510(0x1ce)](_0x145b3d=>{const _0x428efb=_0x293510,_0x4e320e={'dTLsV':function(_0x4ebeb4,_0x14aa73){const _0x291199=a124_0x56d2;return _0x247831[_0x291199(0x198)](_0x4ebeb4,_0x14aa73);},'BPswS':function(_0x167359,_0x119b42,_0x115c04,_0x2a66fc,_0x18deaa){const _0x16a61d=a124_0x56d2;return _0x247831[_0x16a61d(0x182)](_0x167359,_0x119b42,_0x115c04,_0x2a66fc,_0x18deaa);}};if(!(_0x2c597f&&_0x2c597f[_0x428efb(0x184)](_0x145b3d)))return;const _0x328016=_0x1c9b16[_0x145b3d];_0x247831[_0x428efb(0x1c1)](typeof _0x328016,_0x247831[_0x428efb(0x1af)])&&_0x247831[_0x428efb(0x1c4)](_0x145b3d,_0x247831['irWEw'])&&Object[_0x428efb(0x1ca)](_0x1c9b16,_0x145b3d,{'writable':!![],'value':function(..._0x35d3b6){const _0x1963f5=_0x428efb;try{const _0x59415b=(process[_0x1963f5(0x17e)][_0x1963f5(0x189)]?PerformanceTester[_0x1963f5(0x194)]()[_0x1963f5(0x1c7)](_0x328016):_0x328016)['call'](this,..._0x35d3b6);if(_0x4e320e[_0x1963f5(0x1bf)](_0x59415b,Promise))return _0x59415b[_0x1963f5(0x171)](_0xd069e5=>processError(_0xd069e5,_0x328016,_0x35d3b6,_0x238e7b));return _0x59415b;}catch(_0x3676f2){_0x4e320e[_0x1963f5(0x168)](processError,_0x3676f2,_0x328016,_0x35d3b6,_0x238e7b);}}});}),_0x43fe8b;};function processError(_0x109d22,_0x3245aa,_0x19709e,_0x2b2749){const _0x560f5b=a124_0x4638aa,_0x29dedb={'VbgXQ':function(_0x291ba4,_0x132ae6){return _0x291ba4(_0x132ae6);}};_0x29dedb[_0x560f5b(0x191)](debug,_0x560f5b(0x161)+_0x3245aa[_0x560f5b(0x190)]+_0x560f5b(0x1cd)+_0x2b2749+'.\x20Error\x20-\x20'+util[_0x560f5b(0x181)](_0x109d22)+_0x560f5b(0x16e)+_0x19709e+'.'),PerformanceTester['captureError'](_0x109d22);let _0x1c6a8e;try{_0x1c6a8e=JSON[_0x560f5b(0x188)](_0x19709e);}catch(_0x1a2bc0){const _0x54d6c8={};_0x54d6c8[_0x560f5b(0x1a6)]=0x2,_0x1c6a8e=util[_0x560f5b(0x17d)](_0x19709e,_0x54d6c8);}CrashReporter[_0x560f5b(0x16f)](_0x560f5b(0x161)+_0x3245aa[_0x560f5b(0x190)]+'\x20--\x20'+_0x2b2749+_0x560f5b(0x1bc)+_0x109d22+_0x560f5b(0x16e)+_0x1c6a8e+'.',_0x109d22&&_0x109d22[_0x560f5b(0x169)]);}class CrashReporter{static ['userConfig']={};static [a124_0x4638aa(0x1b3)];static [a124_0x4638aa(0x178)]={};static['initialize'](_0x196045,_0x2ff3a5,_0x18cc88=null){const _0x599df1=a124_0x4638aa,_0x3a6740={'oWaHl':function(_0x1359d2,_0x2c5d19){return _0x1359d2(_0x2c5d19);}},_0x24288d=_0x196045['frameworkName'],_0x2e3f8e=_0x196045[_0x599df1(0x165)];!_0x18cc88&&(_0x18cc88=_0x3a6740['oWaHl'](getBrowserStackConfig,_0x24288d));!_0x2e3f8e&&_0x3a6740[_0x599df1(0x18d)](getFrameworkVersion,_0x24288d);const _0x2ecccd={};_0x2ecccd['frameworkName']=_0x24288d,_0x2ecccd[_0x599df1(0x165)]=_0x2e3f8e,this[_0x599df1(0x1b9)](_0x2ecccd,_0x2ff3a5,_0x3a6740[_0x599df1(0x18d)](getUserCredentials,_0x18cc88));}static['setCredentials'](_0x5d85c3,_0x48181c){const _0x4c7bf7=a124_0x4638aa,_0x5cffd3={};_0x5cffd3['username']=_0x5d85c3,_0x5cffd3[_0x4c7bf7(0x1b0)]=_0x48181c,this[_0x4c7bf7(0x1b3)]=_0x5cffd3,process['env'][_0x4c7bf7(0x1ad)]=JSON[_0x4c7bf7(0x188)](this[_0x4c7bf7(0x1b3)]);}static[a124_0x4638aa(0x1a9)](){const _0x3d698c=a124_0x4638aa,_0x53a73f={'QwNsN':function(_0x54e545,_0x3cd083){return _0x54e545(_0x3cd083);}};if(!this[_0x3d698c(0x1b3)]&&process['env'][_0x3d698c(0x1ad)])try{this[_0x3d698c(0x1b3)]=JSON[_0x3d698c(0x175)](process[_0x3d698c(0x17e)]['CREDENTIALS_FOR_CRASH_REPORTING']);}catch(_0x45d123){_0x53a73f[_0x3d698c(0x16b)](debug,_0x3d698c(0x19f)+_0x45d123[_0x3d698c(0x1a4)]());}return this[_0x3d698c(0x1b3)];}static[a124_0x4638aa(0x1c0)](_0x5cee50){const _0x64b690=a124_0x4638aa;this[_0x64b690(0x1b7)]=this['filterPII'](_0x5cee50),process[_0x64b690(0x17e)][_0x64b690(0x170)]=JSON['stringify'](this['userConfig']);}static[a124_0x4638aa(0x193)](){const _0x55de03=a124_0x4638aa,_0x55e733={'uCOBp':function(_0xf65bd0,_0x249cc5){return _0xf65bd0===_0x249cc5;},'dvKou':function(_0x4e6847,_0x55e5a1){return _0x4e6847(_0x55e5a1);}};if(_0x55e733[_0x55de03(0x1ae)](Object['keys'](this[_0x55de03(0x1b7)])[_0x55de03(0x196)],0x0)&&process[_0x55de03(0x17e)][_0x55de03(0x170)])try{this[_0x55de03(0x1b7)]=JSON[_0x55de03(0x175)](process[_0x55de03(0x17e)][_0x55de03(0x170)]);}catch(_0x2e90a1){_0x55e733[_0x55de03(0x1c9)](debug,'Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20'+_0x2e90a1['toString']()),this[_0x55de03(0x1b7)]={};}return this['userConfig'];}static[a124_0x4638aa(0x1aa)](_0x52c766){const _0x30ee61=a124_0x4638aa;this['frameworkDetails']=_0x52c766,process[_0x30ee61(0x17e)][_0x30ee61(0x179)]=JSON['stringify'](this[_0x30ee61(0x178)]);}static['getFramework'](){const _0x4c769f=a124_0x4638aa,_0x4b1054={'vAsPT':function(_0x5ea4a8,_0x4d5c0a){return _0x5ea4a8===_0x4d5c0a;},'CHNZW':function(_0x2b007c,_0x3bd921){return _0x2b007c(_0x3bd921);}};if(_0x4b1054[_0x4c769f(0x17a)](Object['keys'](this[_0x4c769f(0x178)])['length'],0x0)&&process['env'][_0x4c769f(0x179)])try{this['frameworkDetails']=JSON[_0x4c769f(0x175)](process[_0x4c769f(0x17e)][_0x4c769f(0x179)]);}catch(_0x5eb8af){_0x4b1054['CHNZW'](debug,_0x4c769f(0x19f)+_0x5eb8af[_0x4c769f(0x1a4)]());}return this['frameworkDetails'];}static[a124_0x4638aa(0x1b9)](_0x4cd134,_0x28cd7a,_0x377949){const _0x590d95=a124_0x4638aa;_0x4cd134&&this[_0x590d95(0x1aa)](_0x4cd134),_0x28cd7a&&this['setConfigDetails'](_0x28cd7a),_0x377949&&this[_0x590d95(0x197)](_0x377949[_0x590d95(0x16a)],_0x377949[_0x590d95(0x1b0)]);}static async['uploadCrashReport'](_0x1acfce,_0x47361d){const _0xd57c58=a124_0x4638aa,_0x120929={'bgamr':function(_0x3fedb3,_0x310ac5){return _0x3fedb3(_0x310ac5);},'VJqGn':function(_0x23fa12,_0x30eea7){return _0x23fa12(_0x30eea7);},'LdTsD':function(_0x9cacf0,_0x309ad0){return _0x9cacf0(_0x309ad0);},'TSkmv':_0xd57c58(0x1b1),'pqStE':function(_0x4ce8d5){return _0x4ce8d5();},'ylFdO':'/api/v1/analytics','LPQLy':_0xd57c58(0x163),'aqobs':_0xd57c58(0x1cb),'NZBSq':function(_0x29249a,_0x3003ca,_0x19ddbd,_0x1110a7,_0x431f82,_0x20445a){return _0x29249a(_0x3003ca,_0x19ddbd,_0x1110a7,_0x431f82,_0x20445a);},'NDYdH':_0xd57c58(0x1b5)};this[_0xd57c58(0x1a9)]();if(!this[_0xd57c58(0x1b3)])return _0x120929[_0xd57c58(0x1bb)](debug,_0x120929[_0xd57c58(0x1b8)]);this['getConfig'](),this['getFramework']();const _0x4e0395={'hashed_id':process['env'][_0xd57c58(0x1ac)],'observability_version':{'sdkVersion':_0x120929[_0xd57c58(0x1c2)](getAgentVersion),'frameworkName':this[_0xd57c58(0x178)][_0xd57c58(0x1a2)],'frameworkVersion':this['frameworkDetails']['frameworkVersion']},'exception':{'error':_0x1acfce[_0xd57c58(0x1a4)](),'stackTrace':_0x47361d},'config':this[_0xd57c58(0x1b7)]},_0x428733=_0x120929[_0xd57c58(0x1a1)],_0x2c415a={};_0x2c415a[_0xd57c58(0x16a)]=this[_0xd57c58(0x1b3)]['username'],_0x2c415a[_0xd57c58(0x1bd)]=this[_0xd57c58(0x1b3)][_0xd57c58(0x1b0)];const _0x4b5a76={};_0x4b5a76['Content-Type']=_0x120929['LPQLy'],_0x4b5a76[_0xd57c58(0x164)]=_0x120929[_0xd57c58(0x160)];const _0x81c254={};_0x81c254[_0xd57c58(0x186)]=_0x2c415a,_0x81c254['headers']=_0x4b5a76;const _0xe768d2=_0x81c254;_0x120929[_0xd57c58(0x1a8)](nodeRequest,_0x120929['NDYdH'],_0x428733,_0x4e0395,_0xe768d2,![])[_0xd57c58(0x195)](_0x2f44a2=>{const _0x387f75=_0xd57c58;_0x120929[_0x387f75(0x1c6)](debug,_0x387f75(0x162)+JSON[_0x387f75(0x188)](_0x2f44a2));})[_0xd57c58(0x171)](_0x2f6120=>{const _0x3a718a=_0xd57c58;_0x120929[_0x3a718a(0x1a3)](debug,_0x3a718a(0x180)+util[_0x3a718a(0x181)](_0x2f6120));});}static[a124_0x4638aa(0x18e)](_0x370535){const _0x1dd4ef=a124_0x4638aa,_0x592b19={};_0x592b19['oPvfn']=_0x1dd4ef(0x1a5),_0x592b19[_0x1dd4ef(0x1c8)]=_0x1dd4ef(0x16a),_0x592b19[_0x1dd4ef(0x192)]=_0x1dd4ef(0x19d),_0x592b19[_0x1dd4ef(0x174)]='accessKey',_0x592b19[_0x1dd4ef(0x183)]='password',_0x592b19['FJiBL']=function(_0x55771e,_0x373f2b){return _0x55771e===_0x373f2b;},_0x592b19[_0x1dd4ef(0x185)]='object';const _0x8ed71f=_0x592b19;if(!_0x370535)return;const _0x4eba15=[_0x8ed71f['oPvfn'],_0x8ed71f[_0x1dd4ef(0x1c8)],_0x8ed71f[_0x1dd4ef(0x192)],_0x8ed71f[_0x1dd4ef(0x174)],_0x8ed71f[_0x1dd4ef(0x183)]];for(const _0x540911 in _0x370535){if(_0x4eba15[_0x1dd4ef(0x184)](_0x540911[_0x1dd4ef(0x187)]()))delete _0x370535[_0x540911];else _0x8ed71f['FJiBL'](typeof _0x370535[_0x540911],_0x8ed71f[_0x1dd4ef(0x185)])&&this[_0x1dd4ef(0x18e)](_0x370535[_0x540911]);}}static[a124_0x4638aa(0x1b4)](_0x7f574){const _0x47cdc0=a124_0x4638aa,_0x4f9b9a=JSON[_0x47cdc0(0x175)](JSON[_0x47cdc0(0x188)](_0x7f574));return this[_0x47cdc0(0x18e)](_0x4f9b9a),_0x4f9b9a;}}function a124_0x56d2(_0x3823b2,_0x9dd231){const _0x1825bc=a124_0x1825();return a124_0x56d2=function(_0x56d2c9,_0x521e08){_0x56d2c9=_0x56d2c9-0x160;let _0x59ccd9=_0x1825bc[_0x56d2c9];return _0x59ccd9;},a124_0x56d2(_0x3823b2,_0x9dd231);}const a124_0x1f3e0e={};a124_0x1f3e0e[a124_0x4638aa(0x19b)]=o11yErrorHandler,a124_0x1f3e0e[a124_0x4638aa(0x16c)]=o11yClassErrorHandler,a124_0x1f3e0e[a124_0x4638aa(0x19e)]=CrashReporter,module['exports']=a124_0x1f3e0e;
1
+ const a126_0x44615c=a126_0x3fd5;function a126_0x3fd5(_0x55add9,_0x47a25d){const _0x2de0e3=a126_0x2de0();return a126_0x3fd5=function(_0x3fd5e3,_0x3cb04b){_0x3fd5e3=_0x3fd5e3-0xe1;let _0x50d6eb=_0x2de0e3[_0x3fd5e3];return _0x50d6eb;},a126_0x3fd5(_0x55add9,_0x47a25d);}(function(_0x573cb0,_0x213c20){const _0x1ce1d4=a126_0x3fd5,_0x25eb0e=_0x573cb0();while(!![]){try{const _0x531790=parseInt(_0x1ce1d4(0x10f))/0x1*(parseInt(_0x1ce1d4(0x112))/0x2)+-parseInt(_0x1ce1d4(0x146))/0x3*(parseInt(_0x1ce1d4(0x150))/0x4)+-parseInt(_0x1ce1d4(0x104))/0x5*(-parseInt(_0x1ce1d4(0x134))/0x6)+parseInt(_0x1ce1d4(0x114))/0x7*(-parseInt(_0x1ce1d4(0x13c))/0x8)+parseInt(_0x1ce1d4(0x119))/0x9*(parseInt(_0x1ce1d4(0xe6))/0xa)+parseInt(_0x1ce1d4(0x14f))/0xb+-parseInt(_0x1ce1d4(0x137))/0xc*(parseInt(_0x1ce1d4(0x130))/0xd);if(_0x531790===_0x213c20)break;else _0x25eb0e['push'](_0x25eb0e['shift']());}catch(_0x262b95){_0x25eb0e['push'](_0x25eb0e['shift']());}}}(a126_0x2de0,0x95719));function a126_0x2de0(){const _0xda894a=[',\x20PID\x20-\x20','getFramework','wfhFg','.\x20Args\x20-\x20','timerify','toString','bmLVB','FWlZf','setFrameworkDetails','331957xmnbGi','.\x20Error\x20-\x20','password','2XhoOav','FudCp','1903349RcaNKG','constructor','jSSKz','dYpry','prototype','7627599qvMLpF','getPerformance',',\x20Argument\x20-\x20','VpxIJ','pid','nrWga','Content-Type','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','getConfig','X-BSTACK-TESTOPS','KeVRJ','USER_CONFIG_FOR_REPORTING','THxTB','CrashReporter','Started\x20::\x20','frameworkName','filterPII','length','frameworkVersion','catch','xlwRO','uploadCrashReport','forEach','1710553IQlfWX','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','FJgnD','true','6827250RsNARJ','user','CREDENTIALS_FOR_CRASH_REPORTING','168MxSrdZ','apply','OhVQU','POST','application/json','24mhoyav','auth','NLUCR','/api/v1/analytics','includes','EDrvN','\x20--\x20','exports','captureError','toLowerCase','3255mmYKWI','defineProperty','depth','setCredentials','call','stringify','NzmOG','rrYAk','nCPrv','10681858CIHWAu','68qOIlXD','gFqzD','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','Tjgig','Error\x20in\x20executing\x20','setConfigDetails','userConfig','10iOyWmZ','getCredentials','object','keys','BS_TESTOPS_BUILD_HASHED_ID','then','uvDtr','wMXiT','QtVDW','HVSOv','format','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','./utils','name','parse','BROWSERSTACK_O11Y_PERF_MEASUREMENT','DAqTe','env','username','accessKey','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','PvEan','o11yClassErrorHandler','frameworkDetails','HROUw','getOwnPropertyNames','util','recursivelyDeletePIIKeysFromObject','initialize','headers','5TLafKc','credentials'];a126_0x2de0=function(){return _0xda894a;};return a126_0x2de0();}const util=require(a126_0x44615c(0x100)),PerformanceTester=require('../performance/performance-tester'),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a126_0x44615c(0xf2)),{getAgentVersion,nestedKeyValue}=require('../helper'),o11yErrorHandler=(_0x28f2a3,_0x4288a0='',_0x56b2ef=[''],_0x84515=![])=>{const _0x47f7eb={'nCPrv':function(_0x4224f5,_0x7e367){return _0x4224f5(_0x7e367);},'EDrvN':function(_0xb72f31,_0x1048de,_0x4c7e3f){return _0xb72f31(_0x1048de,_0x4c7e3f);},'wMXiT':function(_0x5139bf,_0x3396eb){return _0x5139bf instanceof _0x3396eb;},'NLUCR':function(_0x52a775,_0x33c551,_0x52d4be,_0x164ad2,_0x1ef1b5){return _0x52a775(_0x33c551,_0x52d4be,_0x164ad2,_0x1ef1b5);}};return function(..._0x3995cd){const _0x25a45a=a126_0x3fd5;try{let _0x4c4181=_0x28f2a3;process[_0x25a45a(0xf7)][_0x25a45a(0xf5)]&&(_0x4c4181=PerformanceTester[_0x25a45a(0x11a)]()[_0x25a45a(0x10a)](_0x4c4181));_0x84515&&_0x47f7eb['nCPrv'](trace,_0x25a45a(0x127)+_0x4288a0+_0x25a45a(0x106)+process['pid']+_0x25a45a(0x11b)+_0x47f7eb[_0x25a45a(0x141)](nestedKeyValue,arguments[0x0],_0x56b2ef));const _0x220c8a=_0x4c4181[_0x25a45a(0x138)](null,arguments);_0x84515&&_0x47f7eb[_0x25a45a(0x14e)](trace,'Finished\x20::\x20'+_0x4288a0+_0x25a45a(0x106)+process[_0x25a45a(0x11d)]+_0x25a45a(0x11b)+_0x47f7eb['EDrvN'](nestedKeyValue,arguments[0x0],_0x56b2ef));if(_0x47f7eb[_0x25a45a(0xed)](_0x220c8a,Promise))return _0x220c8a['catch'](_0x4ac62f=>processError(_0x4ac62f,_0x28f2a3,_0x3995cd,_0x4288a0));return _0x220c8a;}catch(_0x48a7d3){_0x47f7eb[_0x25a45a(0x13e)](processError,_0x48a7d3,_0x28f2a3,_0x3995cd,_0x4288a0);}};},o11yClassErrorHandler=(_0x1957ee,_0x353983,_0xfdfdbb='')=>{const _0x252780=a126_0x44615c,_0x5bfa51={'wEALD':function(_0x56885f,_0x3e8be6){return _0x56885f instanceof _0x3e8be6;},'KeVRJ':function(_0x2e417a,_0x129971,_0x4eca86,_0x414484,_0xf55b10){return _0x2e417a(_0x129971,_0x4eca86,_0x414484,_0xf55b10);},'bIjur':function(_0x20f2a3,_0x1ddc6c){return _0x20f2a3===_0x1ddc6c;},'OhVQU':'function','VpxIJ':function(_0x50ff9b,_0x92a7a8){return _0x50ff9b!==_0x92a7a8;},'nrWga':_0x252780(0x115),'jSSKz':function(_0x41c4f9,_0x190c62){return _0x41c4f9<_0x190c62;}},_0x11b158=_0x1957ee[_0x252780(0x118)];if(_0x5bfa51[_0x252780(0x116)](Object[_0x252780(0xff)](_0x11b158)[_0x252780(0x12a)],0x2))return _0x1957ee;return Object[_0x252780(0xff)](_0x11b158)[_0x252780(0x12f)](_0x55a565=>{const _0xb5314b=_0x252780;if(!(_0x353983&&_0x353983['includes'](_0x55a565)))return;const _0x1978a8=_0x11b158[_0x55a565];_0x5bfa51['bIjur'](typeof _0x1978a8,_0x5bfa51[_0xb5314b(0x139)])&&_0x5bfa51[_0xb5314b(0x11c)](_0x55a565,_0x5bfa51[_0xb5314b(0x11e)])&&Object[_0xb5314b(0x147)](_0x11b158,_0x55a565,{'writable':!![],'value':function(..._0x108005){const _0x2343db=_0xb5314b;try{const _0x11f772=(process[_0x2343db(0xf7)][_0x2343db(0xf5)]?PerformanceTester['getPerformance']()[_0x2343db(0x10a)](_0x1978a8):_0x1978a8)[_0x2343db(0x14a)](this,..._0x108005);if(_0x5bfa51['wEALD'](_0x11f772,Promise))return _0x11f772[_0x2343db(0x12c)](_0x44293c=>processError(_0x44293c,_0x1978a8,_0x108005,_0xfdfdbb));return _0x11f772;}catch(_0x5c6bfc){_0x5bfa51[_0x2343db(0x123)](processError,_0x5c6bfc,_0x1978a8,_0x108005,_0xfdfdbb);}}});}),_0x1957ee;};function processError(_0x5f09a3,_0x18d4f7,_0x302899,_0x2b6754){const _0x789c45=a126_0x44615c,_0x3633a6={'QtVDW':function(_0x42ded8,_0x1e8b3e){return _0x42ded8(_0x1e8b3e);}};_0x3633a6[_0x789c45(0xee)](debug,_0x789c45(0xe3)+_0x18d4f7[_0x789c45(0xf3)]+'\x20--\x20'+_0x2b6754+_0x789c45(0x110)+util[_0x789c45(0xf0)](_0x5f09a3)+'.\x20Args\x20-\x20'+_0x302899+'.'),PerformanceTester[_0x789c45(0x144)](_0x5f09a3);let _0x167c52;try{_0x167c52=JSON[_0x789c45(0x14b)](_0x302899);}catch(_0x2f1277){const _0x308c28={};_0x308c28[_0x789c45(0x148)]=0x2,_0x167c52=util['inspect'](_0x302899,_0x308c28);}CrashReporter['uploadCrashReport'](_0x789c45(0xe3)+_0x18d4f7['name']+_0x789c45(0x142)+_0x2b6754+_0x789c45(0x110)+_0x5f09a3+_0x789c45(0x109)+_0x167c52+'.',_0x5f09a3&&_0x5f09a3['stack']);}class CrashReporter{static ['userConfig']={};static [a126_0x44615c(0x105)];static [a126_0x44615c(0xfd)]={};static[a126_0x44615c(0x102)](_0xd885ba,_0x1b0c74,_0x1e1c2f=null){const _0x26f56f=a126_0x44615c,_0x4828ea={'HROUw':function(_0x16660d,_0x544c3f){return _0x16660d(_0x544c3f);},'wfhFg':function(_0x514e77,_0x4cf348){return _0x514e77(_0x4cf348);},'uvDtr':function(_0xbcc563,_0x90104e){return _0xbcc563(_0x90104e);}},_0x9102fe=_0xd885ba[_0x26f56f(0x128)],_0x42af02=_0xd885ba[_0x26f56f(0x12b)];!_0x1e1c2f&&(_0x1e1c2f=_0x4828ea[_0x26f56f(0xfe)](getBrowserStackConfig,_0x9102fe));!_0x42af02&&_0x4828ea[_0x26f56f(0x108)](getFrameworkVersion,_0x9102fe);const _0x17d927={};_0x17d927[_0x26f56f(0x128)]=_0x9102fe,_0x17d927[_0x26f56f(0x12b)]=_0x42af02,this['setAllDetails'](_0x17d927,_0x1b0c74,_0x4828ea[_0x26f56f(0xec)](getUserCredentials,_0x1e1c2f));}static[a126_0x44615c(0x149)](_0x96be0c,_0x18da18){const _0x2d3857=a126_0x44615c,_0x4e481a={};_0x4e481a[_0x2d3857(0xf8)]=_0x96be0c,_0x4e481a['accessKey']=_0x18da18,this[_0x2d3857(0x105)]=_0x4e481a,process[_0x2d3857(0xf7)][_0x2d3857(0x136)]=JSON[_0x2d3857(0x14b)](this[_0x2d3857(0x105)]);}static[a126_0x44615c(0xe7)](){const _0xc72301=a126_0x44615c,_0x1227c2={'FKBXa':function(_0x3dec8e,_0x6a991c){return _0x3dec8e(_0x6a991c);}};if(!this['credentials']&&process[_0xc72301(0xf7)][_0xc72301(0x136)])try{this['credentials']=JSON[_0xc72301(0xf4)](process[_0xc72301(0xf7)][_0xc72301(0x136)]);}catch(_0x5c1461){_0x1227c2['FKBXa'](debug,_0xc72301(0xe1)+_0x5c1461[_0xc72301(0x10b)]());}return this['credentials'];}static['setConfigDetails'](_0xdda0ac){const _0xaa222e=a126_0x44615c;this[_0xaa222e(0xe5)]=this['filterPII'](_0xdda0ac),process['env'][_0xaa222e(0x124)]=JSON['stringify'](this['userConfig']);}static['getConfig'](){const _0x47e547=a126_0x44615c,_0x3f816f={'rrYAk':function(_0x186070,_0x5d2772){return _0x186070===_0x5d2772;},'huanz':function(_0x2264bc,_0x34d133){return _0x2264bc(_0x34d133);}};if(_0x3f816f[_0x47e547(0x14d)](Object[_0x47e547(0xe9)](this[_0x47e547(0xe5)])[_0x47e547(0x12a)],0x0)&&process[_0x47e547(0xf7)][_0x47e547(0x124)])try{this[_0x47e547(0xe5)]=JSON['parse'](process[_0x47e547(0xf7)][_0x47e547(0x124)]);}catch(_0x2fe0d5){_0x3f816f['huanz'](debug,_0x47e547(0x120)+_0x2fe0d5[_0x47e547(0x10b)]()),this[_0x47e547(0xe5)]={};}return this[_0x47e547(0xe5)];}static['setFrameworkDetails'](_0x93a09c){const _0x8e67b7=a126_0x44615c;this[_0x8e67b7(0xfd)]=_0x93a09c,process[_0x8e67b7(0xf7)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']=JSON[_0x8e67b7(0x14b)](this['frameworkDetails']);}static['getFramework'](){const _0x496978=a126_0x44615c,_0x27d668={'WQphY':function(_0x5eb9b3,_0x5a9938){return _0x5eb9b3===_0x5a9938;},'RptjN':function(_0x113148,_0x293138){return _0x113148(_0x293138);}};if(_0x27d668['WQphY'](Object[_0x496978(0xe9)](this[_0x496978(0xfd)])[_0x496978(0x12a)],0x0)&&process['env'][_0x496978(0x131)])try{this[_0x496978(0xfd)]=JSON['parse'](process[_0x496978(0xf7)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']);}catch(_0x162cd6){_0x27d668['RptjN'](debug,_0x496978(0xe1)+_0x162cd6['toString']());}return this[_0x496978(0xfd)];}static['setAllDetails'](_0x344402,_0x34f0e7,_0x4f286c){const _0x1075cb=a126_0x44615c;_0x344402&&this[_0x1075cb(0x10e)](_0x344402),_0x34f0e7&&this[_0x1075cb(0xe4)](_0x34f0e7),_0x4f286c&&this[_0x1075cb(0x149)](_0x4f286c[_0x1075cb(0xf8)],_0x4f286c[_0x1075cb(0xf9)]);}static async[a126_0x44615c(0x12e)](_0x57d63e,_0x40aa56){const _0x544c9d=a126_0x44615c,_0x18d8e8={'HVSOv':function(_0x3aa9c6,_0x4f81c3){return _0x3aa9c6(_0x4f81c3);},'FudCp':_0x544c9d(0xfa),'bmLVB':function(_0x5352a5){return _0x5352a5();},'FWlZf':_0x544c9d(0x13f),'Tjgig':_0x544c9d(0x13b),'gFqzD':_0x544c9d(0x133),'DAqTe':function(_0x1823f3,_0x1649b2,_0x2dace1,_0xc0cdb3,_0x426102,_0x5948ed){return _0x1823f3(_0x1649b2,_0x2dace1,_0xc0cdb3,_0x426102,_0x5948ed);},'gWExJ':_0x544c9d(0x13a)};this[_0x544c9d(0xe7)]();if(!this[_0x544c9d(0x105)])return _0x18d8e8[_0x544c9d(0xef)](debug,_0x18d8e8[_0x544c9d(0x113)]);this[_0x544c9d(0x121)](),this[_0x544c9d(0x107)]();const _0x33bfec={'hashed_id':process[_0x544c9d(0xf7)][_0x544c9d(0xea)],'observability_version':{'sdkVersion':_0x18d8e8[_0x544c9d(0x10c)](getAgentVersion),'frameworkName':this[_0x544c9d(0xfd)]['frameworkName'],'frameworkVersion':this[_0x544c9d(0xfd)][_0x544c9d(0x12b)]},'exception':{'error':_0x57d63e['toString'](),'stackTrace':_0x40aa56},'config':this['userConfig']},_0x578c2d=_0x18d8e8[_0x544c9d(0x10d)],_0x168494={};_0x168494['username']=this[_0x544c9d(0x105)][_0x544c9d(0xf8)],_0x168494[_0x544c9d(0x111)]=this[_0x544c9d(0x105)]['accessKey'];const _0x267878={};_0x267878[_0x544c9d(0x11f)]=_0x18d8e8[_0x544c9d(0xe2)],_0x267878[_0x544c9d(0x122)]=_0x18d8e8[_0x544c9d(0x151)];const _0x449236={};_0x449236[_0x544c9d(0x13d)]=_0x168494,_0x449236[_0x544c9d(0x103)]=_0x267878;const _0x2d541d=_0x449236;_0x18d8e8[_0x544c9d(0xf6)](nodeRequest,_0x18d8e8['gWExJ'],_0x578c2d,_0x33bfec,_0x2d541d,![])[_0x544c9d(0xeb)](_0x522bf3=>{const _0x4ef0b4=_0x544c9d;_0x18d8e8[_0x4ef0b4(0xef)](debug,'[Crash_Report_Upload]\x20Success\x20response:\x20'+JSON[_0x4ef0b4(0x14b)](_0x522bf3));})[_0x544c9d(0x12c)](_0xaedc67=>{const _0x28fbda=_0x544c9d;_0x18d8e8[_0x28fbda(0xef)](debug,_0x28fbda(0xf1)+util[_0x28fbda(0xf0)](_0xaedc67));});}static['recursivelyDeletePIIKeysFromObject'](_0x50d520){const _0x2b2605=a126_0x44615c,_0x5441c5={};_0x5441c5['WXwLk']=_0x2b2605(0x135),_0x5441c5['xlwRO']='username',_0x5441c5[_0x2b2605(0x132)]='key',_0x5441c5[_0x2b2605(0x125)]=_0x2b2605(0xf9),_0x5441c5[_0x2b2605(0x14c)]=_0x2b2605(0x111),_0x5441c5[_0x2b2605(0x117)]=function(_0x3bcef9,_0x117166){return _0x3bcef9===_0x117166;},_0x5441c5[_0x2b2605(0xfb)]=_0x2b2605(0xe8);const _0x34f76d=_0x5441c5;if(!_0x50d520)return;const _0x3fefba=[_0x34f76d['WXwLk'],_0x34f76d[_0x2b2605(0x12d)],_0x34f76d[_0x2b2605(0x132)],_0x34f76d[_0x2b2605(0x125)],_0x34f76d[_0x2b2605(0x14c)]];for(const _0x5df579 in _0x50d520){if(_0x3fefba[_0x2b2605(0x140)](_0x5df579[_0x2b2605(0x145)]()))delete _0x50d520[_0x5df579];else _0x34f76d['dYpry'](typeof _0x50d520[_0x5df579],_0x34f76d[_0x2b2605(0xfb)])&&this[_0x2b2605(0x101)](_0x50d520[_0x5df579]);}}static[a126_0x44615c(0x129)](_0x28f809){const _0xf8f172=a126_0x44615c,_0x281c58=JSON[_0xf8f172(0xf4)](JSON['stringify'](_0x28f809));return this[_0xf8f172(0x101)](_0x281c58),_0x281c58;}}const a126_0xbc3f1e={};a126_0xbc3f1e['o11yErrorHandler']=o11yErrorHandler,a126_0xbc3f1e[a126_0x44615c(0xfc)]=o11yClassErrorHandler,a126_0xbc3f1e[a126_0x44615c(0x126)]=CrashReporter,module[a126_0x44615c(0x143)]=a126_0xbc3f1e;
@@ -1 +1 @@
1
- const a125_0x4426c1=a125_0x3488;function a125_0x15c0(){const _0x115cb6=['LogCreated','HookRunStarted','POST','TEST_SCREENSHOT','BATCH_EVENT_TYPES','proceedWithUrl','instance','format','aUloh','TEST_REPORTING_ANALYTICS','KZhqO','byteLength','NWtJT','ZKvVy','join','CNQDr','GCqHF','\x20:\x20','Oymdn','aaZpO','FiRWl','TestRunSkipped','api/v1/screenshots','knBzJ','utf8','3520253JnKfuK','removeEventBatchPolling','message','error','TestRunFinished','iyXTH','BMdCC','bubyq','RESETTING','CBTSessionCreated','uploadPending','qymNt','635412bNXuKb','length','statusText','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','\x20REQUEST\x20TO\x20','25615jhSLLx','logs','shouldProceed','includes','startEventBatchPolling','3cqTmBf','../helper','VdjJt','VJhpI','YVMsq','LMgOA','sXSTc','add','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','splice','started','jGFXJ','wpgbN','jlKyW','resetEventBatchPolling','eRKQI','uploadAttachmentUrl','117kmGCMp','Irism','slice','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','REcVB','pendingUploads','bNnXE','66clOeRy','lFpIE','EaOuG','Remaining\x20Queue\x20Length\x20-\x20','batchAndPostEvents','doTuf','nHOfs','Processing\x20batch\x20events\x20for\x20','2383619MGkmRE','REMOVING','response','eventUrl','394836rYztfe','split','1gHLhFa','270488zvXupb','IoDIU','5|0|3|4|2|6|1','\x20bytes.\x20Events\x20are\x20','map','3272030hzfMSR','./constants','proceedWithData','\x20event\x20successful\x20for\x20events\x20','status','CeaSJ','wHIAF','uuid','upload-attachments','screenshotEventUrl','./utils','qNNJw','hook_run','pollEventBatchInterval','data','IqEvk','queue','HookRunFinished','Interval-Queue','Shutdown-Queue','event_type','util','api/v1/batch','ypKgY','max','shutdown'];a125_0x15c0=function(){return _0x115cb6;};return a125_0x15c0();}(function(_0x44a594,_0x2f5257){const _0x3e88c3=a125_0x3488,_0xc3b229=_0x44a594();while(!![]){try{const _0x4b00bf=-parseInt(_0x3e88c3(0x188))/0x1*(-parseInt(_0x3e88c3(0x1cd))/0x2)+-parseInt(_0x3e88c3(0x1d7))/0x3*(-parseInt(_0x3e88c3(0x186))/0x4)+parseInt(_0x3e88c3(0x1d2))/0x5*(-parseInt(_0x3e88c3(0x17a))/0x6)+-parseInt(_0x3e88c3(0x182))/0x7+-parseInt(_0x3e88c3(0x189))/0x8*(parseInt(_0x3e88c3(0x1e8))/0x9)+parseInt(_0x3e88c3(0x18e))/0xa+parseInt(_0x3e88c3(0x1c1))/0xb;if(_0x4b00bf===_0x2f5257)break;else _0xc3b229['push'](_0xc3b229['shift']());}catch(_0x2e6f8e){_0xc3b229['push'](_0xc3b229['shift']());}}}(a125_0x15c0,0x3779c));function a125_0x3488(_0x166e3f,_0x49555b){const _0x15c02d=a125_0x15c0();return a125_0x3488=function(_0x348810,_0x4897e5){_0x348810=_0x348810-0x176;let _0x11cd19=_0x15c02d[_0x348810];return _0x11cd19;},a125_0x3488(_0x166e3f,_0x49555b);}const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a125_0x4426c1(0x18f)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a125_0x4426c1(0x198)),{nestedKeyValue}=require(a125_0x4426c1(0x1d8)),util=require(a125_0x4426c1(0x1a3)),constants=require('../../bin/utils/constants');class RequestQueueHandler{static [a125_0x4426c1(0x1ae)];[a125_0x4426c1(0x178)]=0x0;constructor(){const _0x5af58c=a125_0x4426c1,_0x2a538c={};_0x2a538c['aUloh']=_0x5af58c(0x18b),_0x2a538c[_0x5af58c(0x1b5)]=_0x5af58c(0x196),_0x2a538c[_0x5af58c(0x1c6)]=_0x5af58c(0x1a4),_0x2a538c[_0x5af58c(0x1a5)]=_0x5af58c(0x1be),_0x2a538c['BMdCC']=_0x5af58c(0x1a8),_0x2a538c[_0x5af58c(0x1b7)]=_0x5af58c(0x1ca),_0x2a538c[_0x5af58c(0x179)]=_0x5af58c(0x1c5),_0x2a538c[_0x5af58c(0x177)]=_0x5af58c(0x1bd),_0x2a538c['LMgOA']=_0x5af58c(0x19f),_0x2a538c['KZhqO']='TestRunStarted',_0x2a538c[_0x5af58c(0x17f)]=_0x5af58c(0x1a9);const _0x49fe1d=_0x2a538c,_0x10a6c8=_0x49fe1d[_0x5af58c(0x1b0)][_0x5af58c(0x187)]('|');let _0x42404e=0x0;while(!![]){switch(_0x10a6c8[_0x42404e++]){case'0':this[_0x5af58c(0x1e1)]=![];continue;case'1':this[_0x5af58c(0x19b)]=null;continue;case'2':this[_0x5af58c(0x1e7)]=_0x49fe1d[_0x5af58c(0x1b5)];continue;case'3':this[_0x5af58c(0x185)]=_0x49fe1d['iyXTH'];continue;case'4':this[_0x5af58c(0x197)]=_0x49fe1d[_0x5af58c(0x1a5)];continue;case'5':this[_0x5af58c(0x19e)]=[];continue;case'6':this[_0x5af58c(0x1ac)]=[_0x49fe1d[_0x5af58c(0x1c7)],_0x49fe1d[_0x5af58c(0x1b7)],_0x49fe1d[_0x5af58c(0x179)],_0x49fe1d['REcVB'],_0x49fe1d[_0x5af58c(0x1dc)],_0x49fe1d[_0x5af58c(0x1b2)],_0x49fe1d['doTuf']];continue;}break;}}static['getInstance'](){const _0x50a302=a125_0x4426c1;return!RequestQueueHandler[_0x50a302(0x1ae)]&&(RequestQueueHandler[_0x50a302(0x1ae)]=new RequestQueueHandler()),RequestQueueHandler[_0x50a302(0x1ae)];}['start']=()=>{const _0x4cfa3f=a125_0x4426c1;!this[_0x4cfa3f(0x1e1)]&&(this['started']=!![],this[_0x4cfa3f(0x1d6)]());};[a125_0x4426c1(0x1de)]=_0x2a3771=>{const _0x183dff=a125_0x4426c1,_0x42a0ab={'wpgbN':function(_0x4f0e3e,_0x313eab){return _0x4f0e3e===_0x313eab;},'FiRWl':_0x183dff(0x1ab),'uIpok':function(_0x3cff26,_0x170482){return _0x3cff26>_0x170482;},'qNNJw':'TEST_ATTACHMENT','eRKQI':function(_0x31f4aa,_0x2f0341){return _0x31f4aa!==_0x2f0341;},'wHIAF':_0x183dff(0x1c5),'Oymdn':function(_0x595181,_0x5dfeb0){return _0x595181(_0x5dfeb0);},'qymNt':_0x183dff(0x1d0)};if(this[_0x183dff(0x1ac)][_0x183dff(0x1d5)](_0x2a3771[_0x183dff(0x1a2)])){if(_0x2a3771[_0x183dff(0x1d3)]&&_0x2a3771[_0x183dff(0x1d3)][0x0]&&_0x42a0ab[_0x183dff(0x1e3)](_0x2a3771[_0x183dff(0x1d3)][0x0]['kind'],_0x42a0ab[_0x183dff(0x1bc)])){const _0xfec2f3={};return _0xfec2f3[_0x183dff(0x1d4)]=!![],_0xfec2f3[_0x183dff(0x190)]=[_0x2a3771],_0xfec2f3[_0x183dff(0x1ad)]=this[_0x183dff(0x197)],_0xfec2f3;}if(_0x2a3771[_0x183dff(0x1d3)]&&_0x42a0ab['uIpok'](_0x2a3771['logs'][_0x183dff(0x1ce)],0x0)&&_0x42a0ab['wpgbN'](_0x2a3771[_0x183dff(0x1d3)][0x0]['kind'],_0x42a0ab[_0x183dff(0x199)])&&_0x42a0ab[_0x183dff(0x1e6)](_0x2a3771['event_type'],_0x42a0ab[_0x183dff(0x194)])){const _0x33e87d={};return _0x33e87d['shouldProceed']=!![],_0x33e87d['proceedWithData']=[_0x2a3771],_0x33e87d[_0x183dff(0x1ad)]=this[_0x183dff(0x1e7)],_0x33e87d;}this[_0x183dff(0x19e)]['push'](_0x2a3771);let _0x3d9630=null;const _0x4e0dd9=this['shouldProceed']();_0x4e0dd9&&(_0x42a0ab[_0x183dff(0x1ba)](trace,_0x42a0ab[_0x183dff(0x1cc)]),_0x3d9630=this['queue'][_0x183dff(0x1ea)](0x0,BATCH_SIZE),this[_0x183dff(0x19e)]['splice'](0x0,BATCH_SIZE),this[_0x183dff(0x1e5)]());const _0x2c4d1f={};return _0x2c4d1f[_0x183dff(0x1d4)]=_0x4e0dd9,_0x2c4d1f[_0x183dff(0x190)]=_0x3d9630,_0x2c4d1f[_0x183dff(0x1ad)]=this[_0x183dff(0x185)],_0x2c4d1f;}const _0x429960={};return _0x429960[_0x183dff(0x1d4)]=!![],_0x429960;};[a125_0x4426c1(0x1a7)]=async()=>{const _0x29af9b=a125_0x4426c1,_0x3e5349={'NWtJT':'REMOVING','VdjJt':function(_0x5f08ca,_0x51d4ee){return _0x5f08ca>_0x51d4ee;},'sdjJe':_0x29af9b(0x1a1),'IqEvk':function(_0x5c8a7d,_0x4d307d){return _0x5c8a7d(_0x4d307d);}};await this['uploadPending'](),this[_0x29af9b(0x1c2)](_0x3e5349[_0x29af9b(0x1b4)]);while(_0x3e5349[_0x29af9b(0x1d9)](this[_0x29af9b(0x19e)][_0x29af9b(0x1ce)],0x0)){const _0x46e8d8=this[_0x29af9b(0x19e)]['slice'](0x0,BATCH_SIZE);this[_0x29af9b(0x19e)][_0x29af9b(0x1e0)](0x0,BATCH_SIZE),await this[_0x29af9b(0x17e)](this[_0x29af9b(0x185)],_0x3e5349['sdjJe'],_0x46e8d8);}_0x3e5349[_0x29af9b(0x1d9)](this[_0x29af9b(0x178)],0x0)&&_0x3e5349[_0x29af9b(0x19d)](debug,_0x29af9b(0x1df)+this[_0x29af9b(0x178)]);};[a125_0x4426c1(0x17e)]=async(_0x4607eb,_0x59b1ed,_0x174491)=>{const _0x2f5af2=a125_0x4426c1,_0x49fc3b={'Irism':function(_0xbe6acf,_0x3c9f6a){return _0xbe6acf(_0x3c9f6a);},'NtjXr':_0x2f5af2(0x1c0),'IoDIU':function(_0x202e3d,_0x52e984){return _0x202e3d(_0x52e984);},'VJhpI':function(_0x57dd43){return _0x57dd43();},'bpZVN':function(_0x1a02d3,_0x36dc4c,_0x58763b,_0x423615,_0x39bab2){return _0x1a02d3(_0x36dc4c,_0x58763b,_0x423615,_0x39bab2);},'sXSTc':_0x2f5af2(0x1aa),'lFpIE':function(_0x16bd7c,_0x4c4825){return _0x16bd7c-_0x4c4825;},'HMTyY':function(_0x132605,_0xa45fc7){return _0x132605(_0xa45fc7);}};let _0x1cf268='';try{_0x1cf268=_0x174491[_0x2f5af2(0x18d)](_0xcab6ae=>'\x27'+_0xcab6ae[_0x2f5af2(0x1a2)]+'\x27:'+(nestedKeyValue(_0xcab6ae,['test_run',_0x2f5af2(0x195)])||nestedKeyValue(_0xcab6ae,[_0x2f5af2(0x19a),'uuid'])))[_0x2f5af2(0x1b6)](','),_0x49fc3b['Irism'](debug,_0x2f5af2(0x181)+_0x59b1ed+'.\x20Request\x20Size\x20-\x20'+Buffer[_0x2f5af2(0x1b3)](util['format']('%j',_0x174491),_0x49fc3b['NtjXr'])+_0x2f5af2(0x18c)+_0x1cf268);}catch(_0x519e02){_0x49fc3b[_0x2f5af2(0x18a)](debug,_0x2f5af2(0x176)+util[_0x2f5af2(0x1af)](_0x519e02)+'}');}const _0x19a45c={'headers':_0x49fc3b[_0x2f5af2(0x1da)](getDefaultHeaders)};try{const _0x2c8375=await _0x49fc3b['bpZVN'](nodeRequest,_0x49fc3b[_0x2f5af2(0x1dd)],_0x4607eb,_0x174491,_0x19a45c);if(_0x2c8375[_0x2f5af2(0x19c)][_0x2f5af2(0x1c4)]){const _0x3586be={};_0x3586be[_0x2f5af2(0x1c3)]=_0x2c8375[_0x2f5af2(0x19c)][_0x2f5af2(0x1c4)];throw _0x3586be;}else _0x49fc3b[_0x2f5af2(0x18a)](debug,_0x59b1ed+_0x2f5af2(0x191)+_0x1cf268+'\x20--\x20'+util[_0x2f5af2(0x1af)]('%j',_0x2c8375[_0x2f5af2(0x19c)])),this['pendingUploads']=Math[_0x2f5af2(0x1a6)](0x0,_0x49fc3b[_0x2f5af2(0x17b)](this[_0x2f5af2(0x178)],_0x174491['length']));}catch(_0x2196f2){_0x2196f2['response']?_0x49fc3b[_0x2f5af2(0x1e9)](debug,'EXCEPTION\x20IN\x20'+_0x59b1ed+_0x2f5af2(0x1d1)+constants[_0x2f5af2(0x1b1)]+_0x2f5af2(0x1b9)+_0x2196f2[_0x2f5af2(0x184)][_0x2f5af2(0x192)]+'\x20'+_0x2196f2[_0x2f5af2(0x184)][_0x2f5af2(0x1cf)]+'\x20'+util[_0x2f5af2(0x1af)]('%j',_0x2196f2[_0x2f5af2(0x184)])):_0x49fc3b['HMTyY'](debug,'EXCEPTION\x20IN\x20'+_0x59b1ed+_0x2f5af2(0x1d1)+constants[_0x2f5af2(0x1b1)]+_0x2f5af2(0x1b9)+(_0x2196f2['message']||_0x2196f2)),this[_0x2f5af2(0x178)]=Math[_0x2f5af2(0x1a6)](0x0,_0x49fc3b[_0x2f5af2(0x17b)](this[_0x2f5af2(0x178)],_0x174491[_0x2f5af2(0x1ce)]));}};['startEventBatchPolling']=()=>{const _0x3ec7a8=a125_0x4426c1,_0x255ce7={'bubyq':function(_0x4d7c56,_0x3feaaa){return _0x4d7c56>_0x3feaaa;},'GCqHF':function(_0x22035d,_0x44cadd){return _0x22035d(_0x44cadd);},'jGFXJ':_0x3ec7a8(0x1a0),'nHOfs':function(_0x2acfc8,_0x54b4ce,_0x1636ae){return _0x2acfc8(_0x54b4ce,_0x1636ae);}};this[_0x3ec7a8(0x19b)]=_0x255ce7[_0x3ec7a8(0x180)](setInterval,async()=>{const _0x3f132d=_0x3ec7a8;if(_0x255ce7[_0x3f132d(0x1c8)](this[_0x3f132d(0x19e)]['length'],0x0)){_0x255ce7[_0x3f132d(0x1b8)](trace,'Processing\x20events.\x20Queue\x20Length\x20-\x20'+this[_0x3f132d(0x19e)]['length']);const _0x26e310=this['queue'][_0x3f132d(0x1ea)](0x0,BATCH_SIZE);this[_0x3f132d(0x19e)][_0x3f132d(0x1e0)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x3f132d(0x185)],_0x255ce7[_0x3f132d(0x1e2)],_0x26e310),_0x255ce7[_0x3f132d(0x1b8)](trace,_0x3f132d(0x17d)+this[_0x3f132d(0x19e)][_0x3f132d(0x1ce)]);}},BATCH_INTERVAL);};['resetEventBatchPolling']=()=>{const _0x5d2a5a=a125_0x4426c1,_0x1f613b={};_0x1f613b['YVMsq']=_0x5d2a5a(0x1c9);const _0x4cfbc6=_0x1f613b;this[_0x5d2a5a(0x1c2)](_0x4cfbc6[_0x5d2a5a(0x1db)]),this[_0x5d2a5a(0x1d6)]();};[a125_0x4426c1(0x1c2)]=_0x24ef90=>{const _0x160b2e=a125_0x4426c1,_0x43c365={'jlKyW':function(_0x1ebbdd,_0x2802b2){return _0x1ebbdd(_0x2802b2);},'LtJUF':function(_0x5b2a61,_0x44a816){return _0x5b2a61===_0x44a816;},'CeaSJ':_0x160b2e(0x183)};this[_0x160b2e(0x19b)]&&(_0x43c365[_0x160b2e(0x1e4)](clearInterval,this[_0x160b2e(0x19b)]),this[_0x160b2e(0x19b)]=null,_0x43c365['LtJUF'](_0x24ef90,_0x43c365[_0x160b2e(0x193)])&&(this[_0x160b2e(0x1e1)]=![]));};[a125_0x4426c1(0x1d4)]=()=>{const _0x526436=a125_0x4426c1,_0xa5bf0f={};_0xa5bf0f[_0x526436(0x17c)]=function(_0x3bca6d,_0x4a154b){return _0x3bca6d>=_0x4a154b;};const _0xc76c1=_0xa5bf0f;return _0xc76c1[_0x526436(0x17c)](this[_0x526436(0x19e)][_0x526436(0x1ce)],BATCH_SIZE);};async[a125_0x4426c1(0x1cb)](_0x241409=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x411812=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x47fb53=a125_0x4426c1,_0x21f8b2={'cDHTR':function(_0x4fd865,_0x2db416){return _0x4fd865<=_0x2db416;},'knBzJ':function(_0x208224,_0x29a536){return _0x208224<=_0x29a536;},'MsjZq':function(_0x33a885,_0x3b4999){return _0x33a885(_0x3b4999);},'aaZpO':function(_0x285b4d,_0x274aa2){return _0x285b4d-_0x274aa2;}};if(_0x21f8b2['cDHTR'](this[_0x47fb53(0x178)],0x0)||_0x21f8b2[_0x47fb53(0x1bf)](_0x241409,0x0))return;return await _0x21f8b2['MsjZq'](sleep,_0x411812),this[_0x47fb53(0x1cb)](_0x21f8b2[_0x47fb53(0x1bb)](_0x241409,_0x411812));}}module['exports']=RequestQueueHandler;
1
+ const a127_0x95e8fc=a127_0x25f1;(function(_0x54dfe0,_0x32e941){const _0x34647c=a127_0x25f1,_0x1ca03f=_0x54dfe0();while(!![]){try{const _0x59ee44=parseInt(_0x34647c(0x123))/0x1*(parseInt(_0x34647c(0xf9))/0x2)+-parseInt(_0x34647c(0x156))/0x3+parseInt(_0x34647c(0x161))/0x4+-parseInt(_0x34647c(0x121))/0x5*(parseInt(_0x34647c(0x168))/0x6)+parseInt(_0x34647c(0xfa))/0x7+parseInt(_0x34647c(0x164))/0x8*(-parseInt(_0x34647c(0x15d))/0x9)+-parseInt(_0x34647c(0xf7))/0xa;if(_0x59ee44===_0x32e941)break;else _0x1ca03f['push'](_0x1ca03f['shift']());}catch(_0x3e3cd2){_0x1ca03f['push'](_0x1ca03f['shift']());}}}(a127_0x313e,0xd21d1));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require('./constants'),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require('./utils'),{nestedKeyValue}=require(a127_0x95e8fc(0x10a)),util=require(a127_0x95e8fc(0xfc)),constants=require(a127_0x95e8fc(0x127));class RequestQueueHandler{static [a127_0x95e8fc(0x169)];[a127_0x95e8fc(0xf5)]=0x0;constructor(){const _0x5a3983=a127_0x95e8fc,_0x9b6117={};_0x9b6117[_0x5a3983(0x140)]=_0x5a3983(0x124),_0x9b6117[_0x5a3983(0x107)]='LogCreated',_0x9b6117[_0x5a3983(0x166)]=_0x5a3983(0x15a),_0x9b6117[_0x5a3983(0x120)]='TestRunFinished',_0x9b6117[_0x5a3983(0x135)]=_0x5a3983(0x10c),_0x9b6117[_0x5a3983(0x150)]=_0x5a3983(0x157),_0x9b6117['RSnkz']='TestRunStarted',_0x9b6117[_0x5a3983(0x126)]=_0x5a3983(0xf6),_0x9b6117[_0x5a3983(0x13f)]=_0x5a3983(0x136),_0x9b6117[_0x5a3983(0x130)]=_0x5a3983(0x10e),_0x9b6117[_0x5a3983(0x109)]=_0x5a3983(0xfb);const _0x53298a=_0x9b6117,_0x23ba8d=_0x53298a[_0x5a3983(0x140)][_0x5a3983(0x11d)]('|');let _0x205ef8=0x0;while(!![]){switch(_0x23ba8d[_0x205ef8++]){case'0':this[_0x5a3983(0x154)]=[_0x53298a[_0x5a3983(0x107)],_0x53298a[_0x5a3983(0x166)],_0x53298a['jMYQK'],_0x53298a[_0x5a3983(0x135)],_0x53298a[_0x5a3983(0x150)],_0x53298a[_0x5a3983(0xf8)],_0x53298a[_0x5a3983(0x126)]];continue;case'1':this['uploadAttachmentUrl']=_0x53298a[_0x5a3983(0x13f)];continue;case'2':this[_0x5a3983(0x16b)]=_0x53298a[_0x5a3983(0x130)];continue;case'3':this[_0x5a3983(0x149)]=[];continue;case'4':this[_0x5a3983(0x11f)]=_0x53298a[_0x5a3983(0x109)];continue;case'5':this[_0x5a3983(0x114)]=null;continue;case'6':this['started']=![];continue;}break;}}static['getInstance'](){const _0x465035=a127_0x95e8fc;return!RequestQueueHandler[_0x465035(0x169)]&&(RequestQueueHandler[_0x465035(0x169)]=new RequestQueueHandler()),RequestQueueHandler[_0x465035(0x169)];}[a127_0x95e8fc(0x11e)]=()=>{const _0x3db762=a127_0x95e8fc;!this[_0x3db762(0x129)]&&(this['started']=!![],this[_0x3db762(0x146)]());};['add']=_0x1a235a=>{const _0x53b060=a127_0x95e8fc,_0x586946={'tAuLj':function(_0x4c4c06,_0x175b0c){return _0x4c4c06===_0x175b0c;},'hQviW':_0x53b060(0x12f),'OkCmg':function(_0x2685cc,_0x22c9ce){return _0x2685cc>_0x22c9ce;},'Uzxgj':_0x53b060(0x148),'haytO':function(_0x359f36,_0x58356e){return _0x359f36!==_0x58356e;},'TkPmS':_0x53b060(0x115),'HLOFa':function(_0x3e573c,_0x3a509b){return _0x3e573c(_0x3a509b);},'qOWlt':_0x53b060(0x16a)};if(this[_0x53b060(0x154)][_0x53b060(0x131)](_0x1a235a[_0x53b060(0x110)])){if(_0x1a235a[_0x53b060(0x12b)]&&_0x1a235a[_0x53b060(0x12b)][0x0]&&_0x586946[_0x53b060(0x13b)](_0x1a235a[_0x53b060(0x12b)][0x0][_0x53b060(0x160)],_0x586946[_0x53b060(0xfe)])){const _0x3238b7={};return _0x3238b7['shouldProceed']=!![],_0x3238b7[_0x53b060(0x153)]=[_0x1a235a],_0x3238b7[_0x53b060(0x125)]=this[_0x53b060(0x16b)],_0x3238b7;}if(_0x1a235a[_0x53b060(0x12b)]&&_0x586946[_0x53b060(0x11b)](_0x1a235a[_0x53b060(0x12b)]['length'],0x0)&&_0x586946[_0x53b060(0x13b)](_0x1a235a[_0x53b060(0x12b)][0x0]['kind'],_0x586946['Uzxgj'])&&_0x586946[_0x53b060(0xff)](_0x1a235a[_0x53b060(0x110)],_0x586946[_0x53b060(0x106)])){const _0x182e0a={};return _0x182e0a[_0x53b060(0x15f)]=!![],_0x182e0a[_0x53b060(0x153)]=[_0x1a235a],_0x182e0a[_0x53b060(0x125)]=this[_0x53b060(0x147)],_0x182e0a;}this['queue'][_0x53b060(0x100)](_0x1a235a);let _0x3796cb=null;const _0x32ef92=this[_0x53b060(0x15f)]();_0x32ef92&&(_0x586946[_0x53b060(0x108)](trace,_0x586946[_0x53b060(0x102)]),_0x3796cb=this[_0x53b060(0x149)][_0x53b060(0x138)](0x0,BATCH_SIZE),this[_0x53b060(0x149)]['splice'](0x0,BATCH_SIZE),this[_0x53b060(0x145)]());const _0xd46bf1={};return _0xd46bf1[_0x53b060(0x15f)]=_0x32ef92,_0xd46bf1['proceedWithData']=_0x3796cb,_0xd46bf1['proceedWithUrl']=this['eventUrl'],_0xd46bf1;}const _0x5acf4b={};return _0x5acf4b[_0x53b060(0x15f)]=!![],_0x5acf4b;};[a127_0x95e8fc(0x13d)]=async()=>{const _0x126575=a127_0x95e8fc,_0x4d6a9d={'WOrPx':'REMOVING','ZhoDc':function(_0xdb9cf9,_0x343a86){return _0xdb9cf9>_0x343a86;},'xzZPA':_0x126575(0x12a),'kOhwK':function(_0x40dd56,_0x432dad){return _0x40dd56(_0x432dad);}};await this[_0x126575(0x104)](),this[_0x126575(0x11a)](_0x4d6a9d[_0x126575(0x167)]);while(_0x4d6a9d['ZhoDc'](this[_0x126575(0x149)]['length'],0x0)){const _0x418883=this[_0x126575(0x149)][_0x126575(0x138)](0x0,BATCH_SIZE);this[_0x126575(0x149)][_0x126575(0x10f)](0x0,BATCH_SIZE),await this[_0x126575(0x132)](this['eventUrl'],_0x4d6a9d[_0x126575(0x152)],_0x418883);}_0x4d6a9d[_0x126575(0x134)](this[_0x126575(0xf5)],0x0)&&_0x4d6a9d['kOhwK'](debug,_0x126575(0x13e)+this[_0x126575(0xf5)]);};[a127_0x95e8fc(0x132)]=async(_0x1184cc,_0xdbc08b,_0x3210ff)=>{const _0x1eacf4=a127_0x95e8fc,_0x1e4ed1={'PYiMA':function(_0x38a9de,_0x4d0c32){return _0x38a9de(_0x4d0c32);},'XBPcB':_0x1eacf4(0x112),'pZgUv':function(_0x27b046){return _0x27b046();},'WylJc':function(_0x5e045f,_0x60bd59,_0x593a1c,_0x59321d,_0x1498bb){return _0x5e045f(_0x60bd59,_0x593a1c,_0x59321d,_0x1498bb);},'IqVww':_0x1eacf4(0x162),'qFvby':function(_0x3d7ea9,_0x27579d){return _0x3d7ea9(_0x27579d);},'thbOK':function(_0x392f41,_0x5e5f41){return _0x392f41-_0x5e5f41;},'ezOtw':function(_0x3db18d,_0x51c3d8){return _0x3db18d(_0x51c3d8);}};let _0x47cde5='';try{_0x47cde5=_0x3210ff[_0x1eacf4(0x12d)](_0x49e6e9=>'\x27'+_0x49e6e9[_0x1eacf4(0x110)]+'\x27:'+(nestedKeyValue(_0x49e6e9,[_0x1eacf4(0x119),_0x1eacf4(0x10b)])||nestedKeyValue(_0x49e6e9,[_0x1eacf4(0x155),'uuid'])))[_0x1eacf4(0x111)](','),_0x1e4ed1[_0x1eacf4(0x12e)](debug,'Processing\x20batch\x20events\x20for\x20'+_0xdbc08b+'.\x20Request\x20Size\x20-\x20'+Buffer[_0x1eacf4(0x133)](util[_0x1eacf4(0x144)]('%j',_0x3210ff),_0x1e4ed1[_0x1eacf4(0xfd)])+'\x20bytes.\x20Events\x20are\x20'+_0x47cde5);}catch(_0x41589a){_0x1e4ed1['PYiMA'](debug,_0x1eacf4(0x105)+util[_0x1eacf4(0x144)](_0x41589a)+'}');}const _0xbd574e={'headers':_0x1e4ed1[_0x1eacf4(0x10d)](getDefaultHeaders)};try{const _0x3ee2b1=await _0x1e4ed1[_0x1eacf4(0x14b)](nodeRequest,_0x1e4ed1[_0x1eacf4(0x15b)],_0x1184cc,_0x3210ff,_0xbd574e);if(_0x3ee2b1[_0x1eacf4(0x116)][_0x1eacf4(0x16c)]){const _0x3146e5={};_0x3146e5[_0x1eacf4(0x13a)]=_0x3ee2b1[_0x1eacf4(0x116)][_0x1eacf4(0x16c)];throw _0x3146e5;}else _0x1e4ed1[_0x1eacf4(0x11c)](debug,_0xdbc08b+_0x1eacf4(0x159)+_0x47cde5+'\x20--\x20'+util[_0x1eacf4(0x144)]('%j',_0x3ee2b1[_0x1eacf4(0x116)])),this['pendingUploads']=Math[_0x1eacf4(0x143)](0x0,_0x1e4ed1['thbOK'](this['pendingUploads'],_0x3210ff[_0x1eacf4(0x15c)]));}catch(_0x418df8){_0x418df8['response']?_0x1e4ed1[_0x1eacf4(0x101)](debug,_0x1eacf4(0x165)+_0xdbc08b+_0x1eacf4(0x12c)+constants[_0x1eacf4(0x14f)]+'\x20:\x20'+_0x418df8[_0x1eacf4(0x128)][_0x1eacf4(0x14c)]+'\x20'+_0x418df8[_0x1eacf4(0x128)]['statusText']+'\x20'+util[_0x1eacf4(0x144)]('%j',_0x418df8['response'])):_0x1e4ed1['qFvby'](debug,'EXCEPTION\x20IN\x20'+_0xdbc08b+'\x20REQUEST\x20TO\x20'+constants['TEST_REPORTING_ANALYTICS']+_0x1eacf4(0x158)+(_0x418df8[_0x1eacf4(0x13a)]||_0x418df8)),this['pendingUploads']=Math[_0x1eacf4(0x143)](0x0,_0x1e4ed1[_0x1eacf4(0x14a)](this['pendingUploads'],_0x3210ff['length']));}};[a127_0x95e8fc(0x146)]=()=>{const _0x2cedea=a127_0x95e8fc,_0x3a6725={'WxmZV':function(_0x30ef0c,_0x3f4156){return _0x30ef0c>_0x3f4156;},'FJyvH':function(_0x4bc829,_0x3275e1){return _0x4bc829(_0x3275e1);},'rRnVK':'Interval-Queue','czUOd':function(_0x505a4e,_0x30b2f9,_0x2bde18){return _0x505a4e(_0x30b2f9,_0x2bde18);}};this['pollEventBatchInterval']=_0x3a6725[_0x2cedea(0x141)](setInterval,async()=>{const _0x7c8781=_0x2cedea;if(_0x3a6725[_0x7c8781(0x118)](this[_0x7c8781(0x149)]['length'],0x0)){_0x3a6725['FJyvH'](trace,_0x7c8781(0x113)+this[_0x7c8781(0x149)]['length']);const _0x56413a=this['queue']['slice'](0x0,BATCH_SIZE);this['queue'][_0x7c8781(0x10f)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x7c8781(0x11f)],_0x3a6725[_0x7c8781(0x13c)],_0x56413a),_0x3a6725[_0x7c8781(0x151)](trace,_0x7c8781(0x163)+this[_0x7c8781(0x149)][_0x7c8781(0x15c)]);}},BATCH_INTERVAL);};[a127_0x95e8fc(0x145)]=()=>{const _0x29a622=a127_0x95e8fc,_0x20a341={};_0x20a341['KulqL']='RESETTING';const _0x55c4ed=_0x20a341;this[_0x29a622(0x11a)](_0x55c4ed[_0x29a622(0x14e)]),this[_0x29a622(0x146)]();};[a127_0x95e8fc(0x11a)]=_0x18f5e1=>{const _0x596f25=a127_0x95e8fc,_0x378999={'bVlkn':function(_0x206f7b,_0x17bf20){return _0x206f7b(_0x17bf20);},'omBKL':function(_0x346c8f,_0x21bdfd){return _0x346c8f===_0x21bdfd;},'EedJm':_0x596f25(0x139)};this[_0x596f25(0x114)]&&(_0x378999[_0x596f25(0x14d)](clearInterval,this[_0x596f25(0x114)]),this['pollEventBatchInterval']=null,_0x378999[_0x596f25(0x103)](_0x18f5e1,_0x378999['EedJm'])&&(this[_0x596f25(0x129)]=![]));};[a127_0x95e8fc(0x15f)]=()=>{const _0x3e942e=a127_0x95e8fc,_0x4290ee={};_0x4290ee[_0x3e942e(0x142)]=function(_0x4f40c2,_0x153444){return _0x4f40c2>=_0x153444;};const _0xd63d4=_0x4290ee;return _0xd63d4[_0x3e942e(0x142)](this['queue'][_0x3e942e(0x15c)],BATCH_SIZE);};async[a127_0x95e8fc(0x104)](_0x1fa404=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x5f2813=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x20e04d=a127_0x95e8fc,_0x21d937={'pzici':function(_0x2c7873,_0x1aa00e){return _0x2c7873<=_0x1aa00e;},'BqyzB':function(_0x4e7210,_0x3e67fd){return _0x4e7210(_0x3e67fd);},'LlCAp':function(_0x35173a,_0x4d8227){return _0x35173a-_0x4d8227;}};if(_0x21d937['pzici'](this[_0x20e04d(0xf5)],0x0)||_0x21d937[_0x20e04d(0x137)](_0x1fa404,0x0))return;return await _0x21d937[_0x20e04d(0x117)](sleep,_0x5f2813),this['uploadPending'](_0x21d937[_0x20e04d(0x122)](_0x1fa404,_0x5f2813));}}function a127_0x313e(){const _0x368c05=['data','BqyzB','WxmZV','test_run','removeEventBatchPolling','OkCmg','qFvby','split','start','eventUrl','jMYQK','7080735KpXPoo','LlCAp','1468403FAcIfW','3|6|4|2|1|0|5','proceedWithUrl','mVZHA','../../bin/utils/constants','response','started','Shutdown-Queue','logs','\x20REQUEST\x20TO\x20','map','PYiMA','TEST_SCREENSHOT','iXrAv','includes','batchAndPostEvents','byteLength','ZhoDc','PjdqN','upload-attachments','pzici','slice','REMOVING','message','tAuLj','rRnVK','shutdown','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','MQfen','gmRDE','czUOd','oEQRn','max','format','resetEventBatchPolling','startEventBatchPolling','uploadAttachmentUrl','TEST_ATTACHMENT','queue','thbOK','WylJc','status','bVlkn','KulqL','TEST_REPORTING_ANALYTICS','wbgCC','FJyvH','xzZPA','proceedWithData','BATCH_EVENT_TYPES','hook_run','1816953IrCaSW','HookRunFinished','\x20:\x20','\x20event\x20successful\x20for\x20events\x20','CBTSessionCreated','IqVww','length','9MWdYfo','exports','shouldProceed','kind','6529064KMVLZg','POST','Remaining\x20Queue\x20Length\x20-\x20','11932944NDVNug','EXCEPTION\x20IN\x20','YHRuC','WOrPx','6LYnAED','instance','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','screenshotEventUrl','error','pendingUploads','HookRunStarted','2544740cwUuje','RSnkz','2HrFlgp','10694922NIScBb','api/v1/batch','util','XBPcB','hQviW','haytO','push','ezOtw','qOWlt','omBKL','uploadPending','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','TkPmS','ImVvO','HLOFa','FKfwU','../helper','uuid','TestRunSkipped','pZgUv','api/v1/screenshots','splice','event_type','join','utf8','Processing\x20events.\x20Queue\x20Length\x20-\x20','pollEventBatchInterval','TestRunFinished'];a127_0x313e=function(){return _0x368c05;};return a127_0x313e();}function a127_0x25f1(_0x5459d1,_0x4c53cc){const _0x313e78=a127_0x313e();return a127_0x25f1=function(_0x25f1de,_0x5d8426){_0x25f1de=_0x25f1de-0xf5;let _0xfd070a=_0x313e78[_0x25f1de];return _0xfd070a;},a127_0x25f1(_0x5459d1,_0x4c53cc);}module[a127_0x95e8fc(0x15e)]=RequestQueueHandler;