browserstack-node-sdk 1.50.4 → 1.50.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +2 -2
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a120_0x1448d3=a120_0x2c05;function a120_0x2c05(_0x25364f,_0x50c4d9){const _0xff8d58=a120_0xff8d();return a120_0x2c05=function(_0x2c05dd,_0xf756d6){_0x2c05dd=_0x2c05dd-0xde;let _0x24fc10=_0xff8d58[_0x2c05dd];return _0x24fc10;},a120_0x2c05(_0x25364f,_0x50c4d9);}(function(_0xd71965,_0xd83e4d){const _0x31765a=a120_0x2c05,_0x5822a1=_0xd71965();while(!![]){try{const _0xf0fc80=parseInt(_0x31765a(0x14e))/0x1*(parseInt(_0x31765a(0x111))/0x2)+-parseInt(_0x31765a(0x15e))/0x3+parseInt(_0x31765a(0x129))/0x4+-parseInt(_0x31765a(0x157))/0x5*(-parseInt(_0x31765a(0x162))/0x6)+-parseInt(_0x31765a(0xf1))/0x7*(parseInt(_0x31765a(0x11a))/0x8)+parseInt(_0x31765a(0x15a))/0x9+-parseInt(_0x31765a(0x10f))/0xa;if(_0xf0fc80===_0xd83e4d)break;else _0x5822a1['push'](_0x5822a1['shift']());}catch(_0x13178c){_0x5822a1['push'](_0x5822a1['shift']());}}}(a120_0xff8d,0x20328));const a120_0x49ad17={};a120_0x49ad17[a120_0x1448d3(0x130)]=a120_0x1448d3(0xef),a120_0x49ad17['SDK_CLEANUP']=a120_0x1448d3(0xfe),a120_0x49ad17[a120_0x1448d3(0xde)]='sdk:pre-test',a120_0x49ad17['SDK_TEST']=a120_0x1448d3(0x15f),a120_0x49ad17[a120_0x1448d3(0x101)]=a120_0x1448d3(0x15c),a120_0x49ad17['SDK_HOOK']=a120_0x1448d3(0xf6),a120_0x49ad17[a120_0x1448d3(0x15b)]='sdk:driver',a120_0x49ad17[a120_0x1448d3(0xfb)]=a120_0x1448d3(0x110),a120_0x49ad17[a120_0x1448d3(0x122)]=a120_0x1448d3(0x145),a120_0x49ad17[a120_0x1448d3(0x108)]=a120_0x1448d3(0xf7),a120_0x49ad17[a120_0x1448d3(0x121)]='sdk:proxy-setup',a120_0x49ad17[a120_0x1448d3(0xea)]=a120_0x1448d3(0x14c),a120_0x49ad17[a120_0x1448d3(0x168)]=a120_0x1448d3(0xe3),a120_0x49ad17[a120_0x1448d3(0xe6)]=a120_0x1448d3(0x124),a120_0x49ad17['SDK_TURBOSCALE']=a120_0x1448d3(0x149),a120_0x49ad17[a120_0x1448d3(0x153)]=a120_0x1448d3(0x15d),a120_0x49ad17[a120_0x1448d3(0x10e)]=a120_0x1448d3(0x154),a120_0x49ad17[a120_0x1448d3(0x13d)]='sdk:driver:post-initialization',a120_0x49ad17[a120_0x1448d3(0x127)]=a120_0x1448d3(0x12b),a120_0x49ad17['SDK_CLI_DOWNLOAD']=a120_0x1448d3(0x139),a120_0x49ad17[a120_0x1448d3(0x14d)]=a120_0x1448d3(0x11b),a120_0x49ad17[a120_0x1448d3(0x13b)]=a120_0x1448d3(0x12a),a120_0x49ad17['SDK_CLI_ON_CONNECT']=a120_0x1448d3(0x10d),a120_0x49ad17['SDK_CLI_ON_STOP']=a120_0x1448d3(0x14f),a120_0x49ad17[a120_0x1448d3(0xec)]=a120_0x1448d3(0x159),a120_0x49ad17[a120_0x1448d3(0xe0)]=a120_0x1448d3(0x158),a120_0x49ad17['SDK_DRIVER_INIT']=a120_0x1448d3(0x104),a120_0x49ad17[a120_0x1448d3(0x151)]=a120_0x1448d3(0x117),a120_0x49ad17[a120_0x1448d3(0x12d)]='sdk:automationFrameworkInit',a120_0x49ad17[a120_0x1448d3(0x165)]=a120_0x1448d3(0xdf),a120_0x49ad17[a120_0x1448d3(0xe2)]=a120_0x1448d3(0x135),a120_0x49ad17[a120_0x1448d3(0x107)]='sdk:observabilityConfig',a120_0x49ad17[a120_0x1448d3(0x13e)]=a120_0x1448d3(0x120),a120_0x49ad17[a120_0x1448d3(0xfa)]='sdk:aiSelfHealGetResult',a120_0x49ad17[a120_0x1448d3(0x138)]='sdk:testFrameworkEvent',a120_0x49ad17[a120_0x1448d3(0x109)]=a120_0x1448d3(0xeb),a120_0x49ad17['SDK_CLI_LOG_CREATED_EVENT']=a120_0x1448d3(0x116),a120_0x49ad17[a120_0x1448d3(0x132)]=a120_0x1448d3(0x114),a120_0x49ad17['SDK_AUTOMATION_FRAMEWORK_STOP']=a120_0x1448d3(0x133),a120_0x49ad17[a120_0x1448d3(0x102)]=a120_0x1448d3(0x164);function a120_0xff8d(){const _0x95ad28=['sdk:testhub','SDK_CLI_CHECK_UPDATE','1CxTnKb','sdk:cli:on-stop','SCREENSHOT_APP','SDK_FIND_NEAREST_HUB','BEFORE','SDK_PERCY','sdk:driver:pre-initialization',':app-upload','A11Y_EVENTS','103605DIukaf','sdk:connectBinSession','sdk:startBinSession','1272897YxOOBk','SDK_DRIVER','sdk:post-test','sdk:percy','201972HmddJV','sdk:test',':get','SAVE_RESULTS','12vmIVAp','AUTO_CAPTURE','sdk:onStop','SDK_AUTOMATION_FRAMEWORK_START',':local-start','AFTER','SDK_AUTOMATE','SDK_PRE_TEST','sdk:automationFrameworkStart','SDK_CONNECT_BIN_SESSION','STOP','SDK_ACCESSIBILITY_CONFIG','sdk:automate',':before','HUB_MANAGEMENT','SDK_APP_AUTOMATE','BEFORE_EACH','GENERATE_CI_ARTIFACT','SCREENSHOT','SDK_TESTHUB','sdk:testSessionEvent','SDK_START_BIN_SESSION','START',':ci-artifacts','sdk:setup',':before-each','582281KINSxM',':session-name','O11y_EVENTS','APP_AUOTMATE_EVENTS',':post-execute','sdk:hook','sdk:auto-capture','GET',':local-stop','SDK_AI_SELF_HEAL_GET_RESULT','SDK_A11Y','PERCY_EVENTS','PRE_EXECUTE','sdk:cleanup','GET_RESULTS_SUMMARY',':screenshot-app','SDK_POST_TEST','SDK_ON_STOP',':session-annotation','sdk:driverInit','SYNC','TESTHUB_EVENTS','SDK_OBSERVABILITY_CONFIG','SDK_AUTO_CAPTURE','SDK_TEST_SESSION_EVENT',':hub-management',':idle-timeout',':quit','sdk:cli:on-connect','SDK_PRE_INITIALIZE','1771390eHURea','sdk:a11y','370074lWEhBT','TAKE_SCREENSHOT','GET_RESULTS','sdk:cli:enqueueTestEvent','PRINT_BUILDLINK','sdk:cli:logCreatedEvent','sdk:findNearestHub','AFTER_ALL','KEEP_ALIVE','8APpOnB','sdk:cli:check-update',':stop','SDK_HOOK','BEFORE_ALL',':after','sdk:aiSelfHealStep','SDK_PROXY_SETUP','SDK_O11Y',':start','sdk:app-automate',':sync',':snapshot','SDK_CLI_START',':session-status','366456fOrJwC','sdk:cli:on-bootstrap','sdk:cli:start',':save-results','SDK_AUTOMATION_FRAMEWORK_INIT','APP_UPLOAD','AUTOMATE_EVENTS','SDK_SETUP','HOOK_EVENTS','SDK_CLI_ENQUEUE_TEST_EVENT','sdk:automationFrameworkStop','DRIVER_EVENT','sdk:accessibilityConfig','LOCAL_START',':get-accessibility-results-summary','SDK_TEST_FRAMEWORK_EVENT','sdk:cli:download',':driver-takeScreenShot','SDK_CLI_ON_BOOTSTRAP','exports','SDK_POST_INITIALIZE','SDK_AI_SELF_HEAL_STEP',':pre-execute','LOCAL_STOP',':auto-capture',':print-buildlink','SESSION_STATUS','SNAPSHOT','sdk:o11y','SDK_TURBOSCALE',':driver-manage',':after-each','sdk:turboscale',':before-all','EVENTS'];a120_0xff8d=function(){return _0x95ad28;};return a120_0xff8d();}const SDK_EVENTS=a120_0x49ad17,a120_0x337872={};a120_0x337872[a120_0x1448d3(0x14b)]=SDK_EVENTS,a120_0x337872[a120_0x1448d3(0x106)]={},a120_0x337872[a120_0x1448d3(0x12f)]={},a120_0x337872[a120_0x1448d3(0x156)]={},a120_0x337872[a120_0x1448d3(0xfc)]={},a120_0x337872[a120_0x1448d3(0xf3)]={},a120_0x337872[a120_0x1448d3(0x131)]={},a120_0x337872['TURBOSCALE_EVENTS']={},a120_0x337872[a120_0x1448d3(0xf4)]={},a120_0x337872[a120_0x1448d3(0x134)]={},a120_0x337872[a120_0x1448d3(0x106)]['START']=SDK_EVENTS[a120_0x1448d3(0xea)]+a120_0x1448d3(0x123),a120_0x337872[a120_0x1448d3(0x106)]['STOP']=SDK_EVENTS[a120_0x1448d3(0xea)]+a120_0x1448d3(0x11c),a120_0x337872[a120_0x1448d3(0x12f)][a120_0x1448d3(0x119)]=SDK_EVENTS[a120_0x1448d3(0x168)]+':keep-alive',a120_0x337872[a120_0x1448d3(0x12f)]['HUB_MANAGEMENT']=SDK_EVENTS[a120_0x1448d3(0x168)]+':hub-management',a120_0x337872[a120_0x1448d3(0x12f)][a120_0x1448d3(0x136)]=SDK_EVENTS[a120_0x1448d3(0x168)]+a120_0x1448d3(0x166),a120_0x337872[a120_0x1448d3(0x12f)][a120_0x1448d3(0x140)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x1448d3(0xf9),a120_0x337872[a120_0x1448d3(0x12f)]['DRIVER_MANAGE']=SDK_EVENTS[a120_0x1448d3(0x168)]+a120_0x1448d3(0x147),a120_0x337872[a120_0x1448d3(0x12f)]['SESSION_NAME']=SDK_EVENTS[a120_0x1448d3(0x168)]+a120_0x1448d3(0xf2),a120_0x337872[a120_0x1448d3(0x12f)][a120_0x1448d3(0x143)]=SDK_EVENTS[a120_0x1448d3(0x168)]+a120_0x1448d3(0x128),a120_0x337872[a120_0x1448d3(0x12f)]['SESSION_ANNOTATION']=SDK_EVENTS[a120_0x1448d3(0x168)]+a120_0x1448d3(0x103),a120_0x337872[a120_0x1448d3(0x12f)]['IDLE_TIMEOUT']=SDK_EVENTS[a120_0x1448d3(0x168)]+a120_0x1448d3(0x10b),a120_0x337872[a120_0x1448d3(0x12f)][a120_0x1448d3(0xe8)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x1448d3(0xee),a120_0x337872[a120_0x1448d3(0x12f)][a120_0x1448d3(0x115)]=SDK_EVENTS[a120_0x1448d3(0x168)]+a120_0x1448d3(0x142),a120_0x337872[a120_0x1448d3(0x156)]['PERFORM_SCAN']=SDK_EVENTS[a120_0x1448d3(0xfb)]+':driver-performscan',a120_0x337872[a120_0x1448d3(0x156)][a120_0x1448d3(0x161)]=SDK_EVENTS[a120_0x1448d3(0xfb)]+a120_0x1448d3(0x12c),a120_0x337872[a120_0x1448d3(0x156)][a120_0x1448d3(0x113)]=SDK_EVENTS[a120_0x1448d3(0xfb)]+':get-accessibility-results',a120_0x337872[a120_0x1448d3(0x156)][a120_0x1448d3(0xff)]=SDK_EVENTS['SDK_A11Y']+a120_0x1448d3(0x137),a120_0x337872[a120_0x1448d3(0xfc)]['DOWNLOAD']=SDK_EVENTS['SDK_PERCY']+':download',a120_0x337872[a120_0x1448d3(0xfc)][a120_0x1448d3(0xe9)]=SDK_EVENTS['SDK_PERCY']+':screenshot',a120_0x337872[a120_0x1448d3(0xfc)][a120_0x1448d3(0xed)]=SDK_EVENTS[a120_0x1448d3(0x153)]+a120_0x1448d3(0x123),a120_0x337872[a120_0x1448d3(0xfc)][a120_0x1448d3(0xe1)]=SDK_EVENTS[a120_0x1448d3(0x153)]+a120_0x1448d3(0x11c),a120_0x337872[a120_0x1448d3(0xfc)][a120_0x1448d3(0x163)]=SDK_EVENTS[a120_0x1448d3(0x153)]+a120_0x1448d3(0x141),a120_0x337872[a120_0x1448d3(0xfc)][a120_0x1448d3(0x144)]=SDK_EVENTS[a120_0x1448d3(0x153)]+a120_0x1448d3(0x126),a120_0x337872[a120_0x1448d3(0xfc)][a120_0x1448d3(0x150)]=SDK_EVENTS[a120_0x1448d3(0x153)]+a120_0x1448d3(0x100),a120_0x337872[a120_0x1448d3(0xf3)][a120_0x1448d3(0x105)]=SDK_EVENTS[a120_0x1448d3(0x122)]+a120_0x1448d3(0x125),a120_0x337872[a120_0x1448d3(0xf3)][a120_0x1448d3(0x112)]=SDK_EVENTS[a120_0x1448d3(0x122)]+a120_0x1448d3(0x13a),a120_0x337872[a120_0x1448d3(0xf3)]['PRINT_BUILDLINK']=SDK_EVENTS['SDK_O11Y']+':print-buildlink',a120_0x337872[a120_0x1448d3(0x131)][a120_0x1448d3(0xe7)]=SDK_EVENTS[a120_0x1448d3(0x11d)]+a120_0x1448d3(0xf0),a120_0x337872[a120_0x1448d3(0x131)]['AFTER_EACH']=SDK_EVENTS['SDK_HOOK']+a120_0x1448d3(0x148),a120_0x337872[a120_0x1448d3(0x131)][a120_0x1448d3(0x118)]=SDK_EVENTS[a120_0x1448d3(0x11d)]+':after-all',a120_0x337872[a120_0x1448d3(0x131)][a120_0x1448d3(0x11e)]=SDK_EVENTS[a120_0x1448d3(0x11d)]+a120_0x1448d3(0x14a),a120_0x337872[a120_0x1448d3(0x131)][a120_0x1448d3(0x152)]=SDK_EVENTS['SDK_HOOK']+a120_0x1448d3(0xe4),a120_0x337872[a120_0x1448d3(0x131)][a120_0x1448d3(0x167)]=SDK_EVENTS[a120_0x1448d3(0x11d)]+a120_0x1448d3(0x11f),a120_0x337872['TURBOSCALE_EVENTS'][a120_0x1448d3(0xe5)]=SDK_EVENTS[a120_0x1448d3(0x146)]+a120_0x1448d3(0x10a),a120_0x337872['TURBOSCALE_EVENTS'][a120_0x1448d3(0x115)]=SDK_EVENTS['SDK_TURBOSCALE']+a120_0x1448d3(0x142),a120_0x337872[a120_0x1448d3(0xf4)][a120_0x1448d3(0x12e)]=SDK_EVENTS[a120_0x1448d3(0xe6)]+a120_0x1448d3(0x155),a120_0x337872[a120_0x1448d3(0x134)]['QUIT']=SDK_EVENTS[a120_0x1448d3(0x15b)]+a120_0x1448d3(0x10c),a120_0x337872[a120_0x1448d3(0x134)][a120_0x1448d3(0xf8)]=SDK_EVENTS[a120_0x1448d3(0x15b)]+a120_0x1448d3(0x160),a120_0x337872[a120_0x1448d3(0x134)][a120_0x1448d3(0xfd)]=SDK_EVENTS[a120_0x1448d3(0x15b)]+a120_0x1448d3(0x13f),a120_0x337872[a120_0x1448d3(0x134)]['POST_EXECUTE']=SDK_EVENTS[a120_0x1448d3(0x15b)]+a120_0x1448d3(0xf5),module[a120_0x1448d3(0x13c)]=a120_0x337872;
1
+ const a120_0x4f8478=a120_0x1c39;(function(_0x5d1065,_0x3cdedf){const _0x4046a4=a120_0x1c39,_0x11aa4d=_0x5d1065();while(!![]){try{const _0x572299=-parseInt(_0x4046a4(0x222))/0x1*(-parseInt(_0x4046a4(0x213))/0x2)+-parseInt(_0x4046a4(0x1e8))/0x3+-parseInt(_0x4046a4(0x1e6))/0x4*(parseInt(_0x4046a4(0x262))/0x5)+-parseInt(_0x4046a4(0x1ed))/0x6+parseInt(_0x4046a4(0x271))/0x7+parseInt(_0x4046a4(0x23f))/0x8*(parseInt(_0x4046a4(0x24b))/0x9)+parseInt(_0x4046a4(0x1ee))/0xa;if(_0x572299===_0x3cdedf)break;else _0x11aa4d['push'](_0x11aa4d['shift']());}catch(_0x272ae1){_0x11aa4d['push'](_0x11aa4d['shift']());}}}(a120_0xae52,0x6efcd));const a120_0x3db425={};a120_0x3db425['SDK_SETUP']=a120_0x4f8478(0x245),a120_0x3db425[a120_0x4f8478(0x21d)]=a120_0x4f8478(0x221),a120_0x3db425['SDK_PRE_TEST']=a120_0x4f8478(0x267),a120_0x3db425['SDK_TEST']='sdk:test',a120_0x3db425[a120_0x4f8478(0x1f9)]=a120_0x4f8478(0x244),a120_0x3db425[a120_0x4f8478(0x233)]=a120_0x4f8478(0x21a),a120_0x3db425['SDK_DRIVER']=a120_0x4f8478(0x22c),a120_0x3db425[a120_0x4f8478(0x26c)]=a120_0x4f8478(0x204),a120_0x3db425[a120_0x4f8478(0x1f4)]=a120_0x4f8478(0x25e),a120_0x3db425[a120_0x4f8478(0x1f8)]=a120_0x4f8478(0x20f),a120_0x3db425[a120_0x4f8478(0x26d)]=a120_0x4f8478(0x21b),a120_0x3db425[a120_0x4f8478(0x25a)]='sdk:testhub',a120_0x3db425['SDK_AUTOMATE']=a120_0x4f8478(0x1f6),a120_0x3db425['SDK_APP_AUTOMATE']='sdk:app-automate',a120_0x3db425[a120_0x4f8478(0x206)]=a120_0x4f8478(0x24d),a120_0x3db425[a120_0x4f8478(0x200)]=a120_0x4f8478(0x22d),a120_0x3db425[a120_0x4f8478(0x1f0)]='sdk:driver:pre-initialization',a120_0x3db425[a120_0x4f8478(0x1fe)]='sdk:driver:post-initialization',a120_0x3db425[a120_0x4f8478(0x25f)]='sdk:cli:start',a120_0x3db425['SDK_CLI_DOWNLOAD']=a120_0x4f8478(0x23e),a120_0x3db425[a120_0x4f8478(0x251)]='sdk:cli:check-update',a120_0x3db425['SDK_CLI_ON_BOOTSTRAP']=a120_0x4f8478(0x24c),a120_0x3db425[a120_0x4f8478(0x256)]=a120_0x4f8478(0x217),a120_0x3db425[a120_0x4f8478(0x1e4)]=a120_0x4f8478(0x210),a120_0x3db425[a120_0x4f8478(0x235)]=a120_0x4f8478(0x26b),a120_0x3db425[a120_0x4f8478(0x257)]=a120_0x4f8478(0x22b),a120_0x3db425[a120_0x4f8478(0x1fd)]=a120_0x4f8478(0x218),a120_0x3db425[a120_0x4f8478(0x225)]=a120_0x4f8478(0x20d),a120_0x3db425[a120_0x4f8478(0x1fb)]=a120_0x4f8478(0x247),a120_0x3db425[a120_0x4f8478(0x260)]='sdk:automationFrameworkStart',a120_0x3db425[a120_0x4f8478(0x243)]=a120_0x4f8478(0x231),a120_0x3db425[a120_0x4f8478(0x226)]=a120_0x4f8478(0x26f),a120_0x3db425[a120_0x4f8478(0x24e)]=a120_0x4f8478(0x1f5),a120_0x3db425[a120_0x4f8478(0x1fa)]=a120_0x4f8478(0x234),a120_0x3db425[a120_0x4f8478(0x224)]='sdk:testFrameworkEvent',a120_0x3db425[a120_0x4f8478(0x241)]='sdk:testSessionEvent',a120_0x3db425[a120_0x4f8478(0x1e5)]='sdk:cli:logCreatedEvent',a120_0x3db425[a120_0x4f8478(0x1ea)]=a120_0x4f8478(0x20e),a120_0x3db425[a120_0x4f8478(0x236)]=a120_0x4f8478(0x1ff),a120_0x3db425[a120_0x4f8478(0x23d)]=a120_0x4f8478(0x269);function a120_0x1c39(_0x26865a,_0x34ca0e){const _0xae5245=a120_0xae52();return a120_0x1c39=function(_0x1c392f,_0x15a13b){_0x1c392f=_0x1c392f-0x1e4;let _0x1c8ba2=_0xae5245[_0x1c392f];return _0x1c8ba2;},a120_0x1c39(_0x26865a,_0x34ca0e);}const SDK_EVENTS=a120_0x3db425,a120_0x279e32={};function a120_0xae52(){const _0x390fa1=['sdk:automate',':stop','SDK_AUTO_CAPTURE','SDK_POST_TEST','SDK_AI_SELF_HEAL_GET_RESULT','SDK_AUTOMATION_FRAMEWORK_INIT','GET','SDK_DRIVER_INIT','SDK_POST_INITIALIZE','sdk:automationFrameworkStop','SDK_PERCY',':keep-alive','LOCAL_START',':before-each','sdk:a11y','SESSION_NAME','SDK_TURBOSCALE',':auto-capture',':get-accessibility-results','SNAPSHOT',':driver-performscan',':before','START','sdk:findNearestHub','sdk:cli:enqueueTestEvent','sdk:auto-capture','sdk:cli:on-stop',':app-upload','BEFORE_ALL','788388pPOdgM','QUIT','HOOK_EVENTS','SAVE_RESULTS','sdk:cli:on-connect','sdk:driverInit',':screenshot-app','sdk:hook','sdk:proxy-setup',':snapshot','SDK_CLEANUP',':local-start','DRIVER_EVENT','SDK_AUTOMATE','sdk:cleanup','2ZtpWcG','DRIVER_MANAGE','SDK_TEST_FRAMEWORK_EVENT','SDK_FIND_NEAREST_HUB','SDK_OBSERVABILITY_CONFIG',':print-buildlink',':screenshot','TESTHUB_EVENTS',':driver-manage','sdk:connectBinSession','sdk:driver','sdk:percy','EVENTS',':after-all','AUTO_CAPTURE','sdk:accessibilityConfig','POST_EXECUTE','SDK_HOOK','sdk:aiSelfHealGetResult','SDK_START_BIN_SESSION','SDK_AUTOMATION_FRAMEWORK_STOP','AUTOMATE_EVENTS','PRE_EXECUTE',':save-results','STOP','GENERATE_CI_ARTIFACT','IDLE_TIMEOUT','SDK_ON_STOP','sdk:cli:download','32zyjXvR','GET_RESULTS_SUMMARY','SDK_TEST_SESSION_EVENT','LOCAL_STOP','SDK_ACCESSIBILITY_CONFIG','sdk:post-test','sdk:setup','SYNC','sdk:automationFrameworkInit',':ci-artifacts','SDK_DRIVER',':pre-execute','546876cxjMRK','sdk:cli:on-bootstrap','sdk:turboscale','SDK_AI_SELF_HEAL_STEP','AFTER','SESSION_ANNOTATION','SDK_CLI_CHECK_UPDATE','PRINT_BUILDLINK','PERCY_EVENTS','HUB_MANAGEMENT','BEFORE','SDK_CLI_ON_CONNECT','SDK_CONNECT_BIN_SESSION','A11Y_EVENTS',':post-execute','SDK_TESTHUB','SCREENSHOT_APP',':idle-timeout',':local-stop','sdk:o11y','SDK_CLI_START','SDK_AUTOMATION_FRAMEWORK_START',':quit','335wwlKdM',':get-accessibility-results-summary',':session-annotation','DOWNLOAD','APP_AUOTMATE_EVENTS','sdk:pre-test',':session-name','sdk:onStop','TAKE_SCREENSHOT','sdk:startBinSession','SDK_A11Y','SDK_PROXY_SETUP','O11y_EVENTS','sdk:observabilityConfig','TURBOSCALE_EVENTS','1955912iumivg','SDK_CLI_ON_STOP','SDK_CLI_LOG_CREATED_EVENT','52376dcTaxb','SESSION_STATUS','754335ALcbfT',':hub-management','SDK_CLI_ENQUEUE_TEST_EVENT',':after',':start','956058dTKIlN','4318310VPwoRz',':get','SDK_PRE_INITIALIZE',':sync','AFTER_ALL',':download','SDK_O11Y','sdk:aiSelfHealStep'];a120_0xae52=function(){return _0x390fa1;};return a120_0xae52();}a120_0x279e32[a120_0x4f8478(0x22e)]=SDK_EVENTS,a120_0x279e32[a120_0x4f8478(0x229)]={},a120_0x279e32[a120_0x4f8478(0x237)]={},a120_0x279e32[a120_0x4f8478(0x258)]={},a120_0x279e32[a120_0x4f8478(0x253)]={},a120_0x279e32[a120_0x4f8478(0x26e)]={},a120_0x279e32[a120_0x4f8478(0x215)]={},a120_0x279e32[a120_0x4f8478(0x270)]={},a120_0x279e32[a120_0x4f8478(0x266)]={},a120_0x279e32[a120_0x4f8478(0x21f)]={},a120_0x279e32[a120_0x4f8478(0x229)][a120_0x4f8478(0x20c)]=SDK_EVENTS[a120_0x4f8478(0x25a)]+':start',a120_0x279e32[a120_0x4f8478(0x229)][a120_0x4f8478(0x23a)]=SDK_EVENTS[a120_0x4f8478(0x25a)]+a120_0x4f8478(0x1f7),a120_0x279e32[a120_0x4f8478(0x237)]['KEEP_ALIVE']=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x201),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x254)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x4f8478(0x1e9),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x202)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x21e),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x242)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x25d),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x223)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x22a),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x205)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x268),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x1e7)]=SDK_EVENTS['SDK_AUTOMATE']+':session-status',a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x250)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x264),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x23c)]=SDK_EVENTS[a120_0x4f8478(0x220)]+a120_0x4f8478(0x25c),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x23b)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x4f8478(0x248),a120_0x279e32[a120_0x4f8478(0x237)][a120_0x4f8478(0x252)]=SDK_EVENTS[a120_0x4f8478(0x220)]+':print-buildlink',a120_0x279e32[a120_0x4f8478(0x258)]['PERFORM_SCAN']=SDK_EVENTS[a120_0x4f8478(0x26c)]+a120_0x4f8478(0x20a),a120_0x279e32[a120_0x4f8478(0x258)][a120_0x4f8478(0x216)]=SDK_EVENTS[a120_0x4f8478(0x26c)]+a120_0x4f8478(0x239),a120_0x279e32[a120_0x4f8478(0x258)]['GET_RESULTS']=SDK_EVENTS[a120_0x4f8478(0x26c)]+a120_0x4f8478(0x208),a120_0x279e32[a120_0x4f8478(0x258)][a120_0x4f8478(0x240)]=SDK_EVENTS[a120_0x4f8478(0x26c)]+a120_0x4f8478(0x263),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x265)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x1f3),a120_0x279e32[a120_0x4f8478(0x253)]['SCREENSHOT']=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x228),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x20c)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x1ec),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x23a)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x1f7),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x230)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x207),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x209)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x21c),a120_0x279e32[a120_0x4f8478(0x253)][a120_0x4f8478(0x25b)]=SDK_EVENTS[a120_0x4f8478(0x200)]+a120_0x4f8478(0x219),a120_0x279e32[a120_0x4f8478(0x26e)][a120_0x4f8478(0x246)]=SDK_EVENTS[a120_0x4f8478(0x1f4)]+a120_0x4f8478(0x1f1),a120_0x279e32[a120_0x4f8478(0x26e)][a120_0x4f8478(0x26a)]=SDK_EVENTS[a120_0x4f8478(0x1f4)]+':driver-takeScreenShot',a120_0x279e32[a120_0x4f8478(0x26e)]['PRINT_BUILDLINK']=SDK_EVENTS[a120_0x4f8478(0x1f4)]+':print-buildlink',a120_0x279e32[a120_0x4f8478(0x215)]['BEFORE_EACH']=SDK_EVENTS['SDK_HOOK']+a120_0x4f8478(0x203),a120_0x279e32[a120_0x4f8478(0x215)]['AFTER_EACH']=SDK_EVENTS[a120_0x4f8478(0x233)]+':after-each',a120_0x279e32[a120_0x4f8478(0x215)][a120_0x4f8478(0x1f2)]=SDK_EVENTS[a120_0x4f8478(0x233)]+a120_0x4f8478(0x22f),a120_0x279e32[a120_0x4f8478(0x215)][a120_0x4f8478(0x212)]=SDK_EVENTS[a120_0x4f8478(0x233)]+':before-all',a120_0x279e32[a120_0x4f8478(0x215)][a120_0x4f8478(0x255)]=SDK_EVENTS['SDK_HOOK']+a120_0x4f8478(0x20b),a120_0x279e32[a120_0x4f8478(0x215)][a120_0x4f8478(0x24f)]=SDK_EVENTS['SDK_HOOK']+a120_0x4f8478(0x1eb),a120_0x279e32[a120_0x4f8478(0x270)][a120_0x4f8478(0x254)]=SDK_EVENTS[a120_0x4f8478(0x206)]+a120_0x4f8478(0x1e9),a120_0x279e32[a120_0x4f8478(0x270)][a120_0x4f8478(0x252)]=SDK_EVENTS['SDK_TURBOSCALE']+a120_0x4f8478(0x227),a120_0x279e32[a120_0x4f8478(0x266)]['APP_UPLOAD']=SDK_EVENTS['SDK_APP_AUTOMATE']+a120_0x4f8478(0x211),a120_0x279e32[a120_0x4f8478(0x21f)][a120_0x4f8478(0x214)]=SDK_EVENTS['SDK_DRIVER']+a120_0x4f8478(0x261),a120_0x279e32[a120_0x4f8478(0x21f)][a120_0x4f8478(0x1fc)]=SDK_EVENTS[a120_0x4f8478(0x249)]+a120_0x4f8478(0x1ef),a120_0x279e32[a120_0x4f8478(0x21f)][a120_0x4f8478(0x238)]=SDK_EVENTS[a120_0x4f8478(0x249)]+a120_0x4f8478(0x24a),a120_0x279e32[a120_0x4f8478(0x21f)][a120_0x4f8478(0x232)]=SDK_EVENTS[a120_0x4f8478(0x249)]+a120_0x4f8478(0x259),module['exports']=a120_0x279e32;
@@ -1 +1 @@
1
- const a121_0xa022dc=a121_0x4a84;function a121_0x4a84(_0x16615f,_0x2e1b40){const _0x53cd86=a121_0x53cd();return a121_0x4a84=function(_0x4a849e,_0x5118e6){_0x4a849e=_0x4a849e-0x1a2;let _0x1d29ae=_0x53cd86[_0x4a849e];return _0x1d29ae;},a121_0x4a84(_0x16615f,_0x2e1b40);}(function(_0xb13f34,_0x4aa9c9){const _0x5a9ce2=a121_0x4a84,_0xf2d3f3=_0xb13f34();while(!![]){try{const _0x13e68c=parseInt(_0x5a9ce2(0x235))/0x1*(-parseInt(_0x5a9ce2(0x1f2))/0x2)+-parseInt(_0x5a9ce2(0x24b))/0x3+parseInt(_0x5a9ce2(0x234))/0x4*(-parseInt(_0x5a9ce2(0x20c))/0x5)+parseInt(_0x5a9ce2(0x1a3))/0x6*(parseInt(_0x5a9ce2(0x21b))/0x7)+parseInt(_0x5a9ce2(0x248))/0x8*(parseInt(_0x5a9ce2(0x24e))/0x9)+parseInt(_0x5a9ce2(0x21a))/0xa+-parseInt(_0x5a9ce2(0x1cb))/0xb*(parseInt(_0x5a9ce2(0x22e))/0xc);if(_0x13e68c===_0x4aa9c9)break;else _0xf2d3f3['push'](_0xf2d3f3['shift']());}catch(_0x1ce8ab){_0xf2d3f3['push'](_0xf2d3f3['shift']());}}}(a121_0x53cd,0xebd43));const fs=require('fs'),fsPromise=require(a121_0xa022dc(0x1e4)),{performance,PerformanceObserver}=require(a121_0xa022dc(0x1fd)),path=require(a121_0xa022dc(0x21f)),util=require('util'),logger=require('../logger')[a121_0xa022dc(0x257)],{getLogDir}=require(a121_0xa022dc(0x1f5)),{getProcessId,sleep,debug,getTestName}=require(a121_0xa022dc(0x246));function a121_0x53cd(){const _0x16e76c=['/performance-report-','xMYCo','lZhHV','function','NocPE','testName','mark','_events','measure','xujMZ','ziwuO','ocbnO','disconnect','LEyij','fawlV','PryFG','isEnabled','pushErrors','writeFileSync','NVtRL','unlink','dsWFl','vfJfp','jsonReportFileName','wspFi','entries','pJfeO','push','eventsMap','cwd','apply','performance-own.html','readdirSync','entryType','16307797Xlwjvo','TDCSh','generateHTMLReport','browserStackCwd','join','stack','error-report','start','slKaA','lhYoz','reduce','UevIc','jNaAO','exports','Error\x20in\x20writing\x20html\x20','duration','unlinkSync','eFRGw','access','existsSync','IFwzV','calculateTimeFromEvents','appendFileSync','dirname','toString','fs/promises','getPerformance','errorFile','pushPerfMeasures','gICNt','errors','message','bSGYF','finalizePerfMeasures','Error\x20while\x20removing\x20files:\x20','bizcU','readFileSync','parse','catch','322854XWtCRD','BROWSERSTACK_SDK_INSTRUMENTATION','WHAsF','../logger','platform','Jsndu','stopAndGenerate','details','measures','<h1>Performance\x20Report</h1>','splice','perf_hooks','end','-start','name','measureWrapper','format','success','performance-report','UnkYr','length','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','finalize','error\x20in\x20measure\x20','QkBEy','alfkW','5995HSjeAS','stopMonitoring','utf-8','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','entryTypes','jVuWY','generateJSON','info','Muoxz','OciBc','kchdN','_errorEvents','calculateTimesFromMultipleFiles','__platformCaps','9038260bDeYKg','1860754ZowHdg','<tr><td>','.json','LGsUk','path','jsonReportDirName','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','flat','captureError','mOpiA','env','errorReportFileName','DWuJq','VvRkK','WeTrc','modified-key-metrics.json','index','toJSON','diEuV','12vUTQHM','errorReportDirName','match','\x20for\x20all\x20processes\x20is\x20','KueGy','started','76kLLGVl','1ZxWvfR','jsonReportDirPath','stringify','forEach','concat','fojAi','cJSYP','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','QlXqs','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','assign','finalizeErrors','F_OK','/error-report-','NAICw','observe','getCleanedPerfEvents','../processHelper','UbocF','160440BibBqL','BlkZm','Error\x20processing\x20key-metrics.json:\x20%s','485358QdYyMJ','resolve','</td><td>','252kZOYFW','Error\x20in\x20doing\x20csv\x20operations:\x20','debug','kaFxZ','failure','meta','Time\x20for\x20','fkKKi','writeFile','winstonLogger','</tbody></table></body></html>','getEntries','_observer','_measureEvents','key-metrics.json','map','30CMiCxD','KzvBB','slice','constants','getEventsFromJSON','worker'];a121_0x53cd=function(){return _0x16e76c;};return a121_0x53cd();}class PerformanceTester{static ['_observer'];static [a121_0xa022dc(0x1b0)]=[];static [a121_0xa022dc(0x25b)]=[];static ['_errorEvents']=[];static [a121_0xa022dc(0x233)]=![];static [a121_0xa022dc(0x220)]=a121_0xa022dc(0x204);static [a121_0xa022dc(0x22f)]=process[a121_0xa022dc(0x225)][a121_0xa022dc(0x1ce)]?path[a121_0xa022dc(0x1cf)](process[a121_0xa022dc(0x225)][a121_0xa022dc(0x1ce)],a121_0xa022dc(0x1d1)):path[a121_0xa022dc(0x1cf)](process[a121_0xa022dc(0x1c6)](),a121_0xa022dc(0x1d1));static ['errorReportFileName']=this['errorReportDirName']+a121_0xa022dc(0x242)+getProcessId()+'.json';static [a121_0xa022dc(0x1f9)]={};static [a121_0xa022dc(0x1c5)]={};static['startMonitoring'](_0x4109fc,_0x41e7e9=this[a121_0xa022dc(0x22f)]+a121_0xa022dc(0x242)+getProcessId()+a121_0xa022dc(0x21d)){const _0x1d24bf=a121_0xa022dc,_0x1545dc={'DWuJq':function(_0x149787,_0x4a0b70){return _0x149787===_0x4a0b70;},'KueGy':_0x1d24bf(0x1b1),'jVuWY':function(_0xcbee9a){return _0xcbee9a();},'mOpiA':function(_0x5bcabc){return _0x5bcabc();},'slKaA':function(_0x20994a,_0x5e4a1c){return _0x20994a+_0x5e4a1c;},'ocbnO':_0x1d24bf(0x207),'UnkYr':_0x1d24bf(0x1ac)};try{this[_0x1d24bf(0x236)]=path[_0x1d24bf(0x1cf)](_0x1545dc[_0x1d24bf(0x211)](getLogDir),this[_0x1d24bf(0x220)]),!_0x4109fc&&(_0x4109fc=this[_0x1d24bf(0x236)]+_0x1d24bf(0x1a9)+_0x1545dc[_0x1d24bf(0x224)](getProcessId)+_0x1d24bf(0x21d)),!fs['existsSync'](this[_0x1d24bf(0x236)])&&fs['mkdirSync'](this[_0x1d24bf(0x236)]);}catch(_0x2a4d80){logger[_0x1d24bf(0x250)](_0x1545dc[_0x1d24bf(0x1d3)](_0x1545dc[_0x1d24bf(0x1b4)],_0x2a4d80));}if(this[_0x1d24bf(0x233)]||!this[_0x1d24bf(0x1b9)]())return;this['_observer']=new PerformanceObserver(_0x116729=>{const _0x581ee5=_0x1d24bf,_0x4d01be={'gDFbp':function(_0xdf001,_0x39ce48){const _0x4fdeaa=a121_0x4a84;return _0x1545dc[_0x4fdeaa(0x227)](_0xdf001,_0x39ce48);},'vfJfp':_0x1545dc[_0x581ee5(0x232)]};_0x116729[_0x581ee5(0x259)]()[_0x581ee5(0x238)](_0x369489=>{const _0x1d0a8f=_0x581ee5;if(_0x4d01be['gDFbp'](_0x369489[_0x1d0a8f(0x1ca)],_0x4d01be[_0x1d0a8f(0x1bf)])){let _0x43a39a={};if(_0x369489[_0x1d0a8f(0x22c)])_0x43a39a=_0x369489[_0x1d0a8f(0x22c)]();else for(const _0x47f6fd in _0x369489){_0x43a39a[_0x47f6fd]=_0x369489[_0x47f6fd];}this[_0x1d0a8f(0x1f9)][_0x369489[_0x1d0a8f(0x200)]]&&(_0x43a39a=Object[_0x1d0a8f(0x23f)](_0x43a39a,this['details'][_0x369489['name']])),delete this['details'][_0x369489['name']],this[_0x1d0a8f(0x25b)][_0x1d0a8f(0x1c4)](_0x43a39a);}else this[_0x1d0a8f(0x1b0)][_0x1d0a8f(0x1c4)](_0x369489);});});const _0x2ab5ad={};_0x2ab5ad['buffered']=!![],_0x2ab5ad[_0x1d24bf(0x210)]=[_0x1545dc[_0x1d24bf(0x205)],_0x1545dc[_0x1d24bf(0x232)]],this[_0x1d24bf(0x25a)][_0x1d24bf(0x244)](_0x2ab5ad),this[_0x1d24bf(0x233)]=!![],this['jsonReportFileName']=_0x4109fc,this[_0x1d24bf(0x226)]=_0x41e7e9;}static[a121_0xa022dc(0x1e5)](){return performance;}static[a121_0xa022dc(0x1e0)](_0x45354c,_0x5e593f){const _0x113829=a121_0xa022dc,_0x3ae509={};_0x3ae509[_0x113829(0x1df)]=function(_0x49bbdb,_0x448a49){return _0x49bbdb+_0x448a49;},_0x3ae509['UevIc']=function(_0x43e7f5,_0x58bf01){return _0x43e7f5||_0x58bf01;},_0x3ae509[_0x113829(0x1be)]=function(_0x530c0a,_0x3a9f37){return _0x530c0a===_0x3a9f37;};const _0x431512=_0x3ae509,_0x5c2902={};if(!_0x45354c||_0x431512[_0x113829(0x1be)](_0x45354c[_0x113829(0x206)],0x0))return;_0x45354c['map'](_0x10b9d3=>{const _0x4c75ee=_0x113829;!_0x5c2902[_0x10b9d3['name']]&&(_0x5c2902[_0x10b9d3['name']]=0x0),_0x5c2902[_0x10b9d3[_0x4c75ee(0x200)]]+=_0x10b9d3[_0x4c75ee(0x1da)];});const _0x915c7e=_0x5e593f[_0x113829(0x1d5)]((_0x55fdb0,_0x192739)=>{const _0x156d87=_0x113829;return _0x431512[_0x156d87(0x1df)](_0x5c2902[_0x192739],_0x431512[_0x156d87(0x1d6)](_0x55fdb0,0x0));},0x0);return _0x915c7e;}static async[a121_0xa022dc(0x218)](_0x473317,_0x52b9d5){const _0x535ca7=a121_0xa022dc,_0x138989={'fojAi':function(_0x55f380,_0x3a5f08){return _0x55f380+_0x3a5f08;},'wspFi':function(_0x13b3c5,_0x41f6d0){return _0x13b3c5||_0x41f6d0;},'bizcU':function(_0x16cc40,_0x664b7e){return _0x16cc40===_0x664b7e;},'KzvBB':function(_0x5e36ba,_0x144e55){return _0x5e36ba(_0x144e55);}};if(!_0x473317||_0x138989[_0x535ca7(0x1ee)](_0x473317[_0x535ca7(0x206)],0x0))return 0x0;const _0x5759d2=[];for(const _0x3391d9 of _0x473317){const _0xe87045=path[_0x535ca7(0x1cf)]('.',_0x3391d9);try{const _0x58b659=this['getEventsFromJSON'](_0xe87045);_0x58b659[_0x535ca7(0x1a2)](_0x1f8648=>{const _0x841135=_0x535ca7;!_0x5759d2[_0x1f8648[_0x841135(0x200)]]&&(_0x5759d2[_0x1f8648[_0x841135(0x200)]]=0x0),_0x5759d2[_0x1f8648[_0x841135(0x200)]]+=_0x1f8648[_0x841135(0x1da)];});}catch(_0x17e452){_0x138989[_0x535ca7(0x1a4)](debug,_0x535ca7(0x24f)+_0x17e452['toString']());}}const _0x5671e7=_0x52b9d5['reduce']((_0x4eb01f,_0x199e6f)=>{const _0xc929da=_0x535ca7;return _0x138989[_0xc929da(0x23a)](_0x5759d2[_0x199e6f],_0x138989[_0xc929da(0x1c1)](_0x4eb01f,0x0));},0x0);return _0x138989['KzvBB'](debug,_0x535ca7(0x254)+_0x52b9d5+_0x535ca7(0x231)+_0x5671e7),_0x5671e7;}static[a121_0xa022dc(0x1a7)](_0x772dac){const _0x340ee7=a121_0xa022dc;if(_0x772dac){if(!fs[_0x340ee7(0x1de)](_0x772dac))return[];return JSON[_0x340ee7(0x1f0)](fs[_0x340ee7(0x1ef)](_0x772dac)[_0x340ee7(0x1e3)]());}}static async[a121_0xa022dc(0x1f8)](_0x556887=a121_0xa022dc(0x1c8),_0x2ba319=null){const _0x27ab47=a121_0xa022dc,_0x186571={'cJSYP':function(_0x298869,_0x227d59){return _0x298869(_0x227d59);},'gICNt':function(_0x47a393,_0x4855d6){return _0x47a393(_0x4855d6);}};if(!this[_0x27ab47(0x233)])return;await _0x186571['gICNt'](sleep,0x1e),this['_observer'][_0x27ab47(0x1b5)](),this[_0x27ab47(0x233)]=![],this[_0x27ab47(0x212)](this[_0x27ab47(0x1b0)]);const _0x58e5e6=this[_0x27ab47(0x1cd)](this['_events']),_0x3005cc=path[_0x27ab47(0x1cf)](process['cwd'](),_0x556887);fs['writeFile'](_0x3005cc,_0x58e5e6,_0x2bb596=>{const _0x1fd837=_0x27ab47;if(_0x2bb596){_0x186571[_0x1fd837(0x23b)](debug,_0x1fd837(0x1d9)+_0x2bb596[_0x1fd837(0x1e3)]());return;}_0x186571[_0x1fd837(0x1e8)](debug,'Performance\x20report\x20is\x20at\x20'+_0x3005cc);});if(_0x2ba319)return this[_0x27ab47(0x1e0)](this[_0x27ab47(0x1b0)],_0x2ba319);}static['generateHTMLReport'](_0x1ec7dd){const _0x609338=a121_0xa022dc,_0x4e5019={};_0x4e5019['Yxatz']=_0x609338(0x221),_0x4e5019[_0x609338(0x1dc)]=_0x609338(0x1fb),_0x4e5019[_0x609338(0x1ad)]=_0x609338(0x23c),_0x4e5019[_0x609338(0x1b6)]=_0x609338(0x258);const _0xc717cb=_0x4e5019;let _0x5f31f0=_0xc717cb['Yxatz'];return _0x5f31f0+=_0xc717cb[_0x609338(0x1dc)],_0x5f31f0+=_0xc717cb[_0x609338(0x1ad)],_0x1ec7dd[_0x609338(0x238)](_0x3df971=>{const _0x44c53d=_0x609338;_0x5f31f0+=_0x44c53d(0x21c)+_0x3df971[_0x44c53d(0x200)]+_0x44c53d(0x24d)+_0x3df971[_0x44c53d(0x1da)]+'</td></tr>';}),_0x5f31f0+=_0xc717cb[_0x609338(0x1b6)],_0x5f31f0;}static[a121_0xa022dc(0x212)](_0x3a9ce2){const _0x201962=a121_0xa022dc;if(!this[_0x201962(0x1c0)])return;const _0x23ecee={};_0x3a9ce2['map'](_0x48778e=>{const _0x3458c9=_0x201962;!_0x23ecee[_0x48778e['name']]&&(_0x23ecee[_0x48778e[_0x3458c9(0x200)]]=0x0),_0x23ecee[_0x48778e[_0x3458c9(0x200)]]+=_0x48778e[_0x3458c9(0x1da)];});const _0x1c9d37=Object[_0x201962(0x1c2)](_0x23ecee)[_0x201962(0x1a2)](([_0x40ff4b,_0x8c4fde])=>{const _0x3edb14=_0x201962,_0x78a4b9={};return _0x78a4b9[_0x3edb14(0x200)]=_0x40ff4b,_0x78a4b9[_0x3edb14(0x1da)]=_0x8c4fde,_0x78a4b9;});fs[_0x201962(0x1bb)](this[_0x201962(0x1c0)],JSON['stringify'](_0x1c9d37));}static[a121_0xa022dc(0x1b9)](){const _0x21a15a=a121_0xa022dc,_0x5a8e76={};_0x5a8e76[_0x21a15a(0x251)]=function(_0x256e95,_0x2a58ed){return _0x256e95===_0x2a58ed;},_0x5a8e76[_0x21a15a(0x1b3)]='false';const _0x2f13af=_0x5a8e76;return!_0x2f13af[_0x21a15a(0x251)](process[_0x21a15a(0x225)][_0x21a15a(0x1f3)],_0x2f13af[_0x21a15a(0x1b3)]);}static[a121_0xa022dc(0x1b1)](_0x4e7e34,_0x4d5191,_0x14e645=null,_0x2307a9={},_0x26fda8=null){const _0x126188=a121_0xa022dc,_0x2eb8e7={'fawlV':function(_0x1a169b,_0x1e83c3){return _0x1a169b(_0x1e83c3);},'VvRkK':function(_0x1c16cf,_0x102e78){return _0x1c16cf instanceof _0x102e78;}};try{if(this[_0x126188(0x233)]&&this[_0x126188(0x1b9)]()){let _0x239c00=_0x4e7e34;_0x14e645&&(_0x239c00=_0x4e7e34+'['+JSON[_0x126188(0x237)](_0x14e645)+']');PerformanceTester[_0x126188(0x1d2)](_0x239c00),this[_0x126188(0x1f9)]&&(this[_0x126188(0x1f9)][_0x239c00]=_0x2307a9);try{const _0x49d99d=_0x4d5191[_0x126188(0x1c7)](null,_0x26fda8);if(_0x2eb8e7[_0x126188(0x228)](_0x49d99d,Promise))return new Promise((_0x13eab3,_0x251473)=>{const _0x3589b2=_0x126188,_0x220f99={'NAICw':function(_0x19253b,_0x264600){const _0x1b3651=a121_0x4a84;return _0x2eb8e7[_0x1b3651(0x1b7)](_0x19253b,_0x264600);}};_0x49d99d['then'](_0x48b390=>{const _0x4f9df9=a121_0x4a84;PerformanceTester[_0x4f9df9(0x1fe)](_0x239c00),_0x220f99[_0x4f9df9(0x243)](_0x13eab3,_0x48b390);})[_0x3589b2(0x1f1)](_0x2b13a4=>{const _0x958c5f=_0x3589b2;PerformanceTester[_0x958c5f(0x1fe)](_0x239c00,![],util['format'](_0x2b13a4)),_0x220f99[_0x958c5f(0x243)](_0x251473,_0x2b13a4);});});;return PerformanceTester['end'](_0x239c00),_0x49d99d;}catch(_0x4b8b51){PerformanceTester[_0x126188(0x1fe)](_0x239c00,![],util[_0x126188(0x202)](_0x4b8b51));throw _0x4b8b51;}};return _0x4d5191[_0x126188(0x1c7)](null,_0x26fda8);}catch(_0x5bc890){return logger[_0x126188(0x250)](_0x126188(0x209)+(_0x5bc890[_0x126188(0x1d0)]||_0x5bc890[_0x126188(0x1ea)]||_0x5bc890)),_0x4d5191[_0x126188(0x1c7)](null,_0x26fda8);}}static[a121_0xa022dc(0x201)](_0x550fe7,_0x458e6a,_0x20c86f={}){const _0x228441=a121_0xa022dc,_0x1714a3={'QlXqs':function(_0xfdae7f){return _0xfdae7f();},'lZhHV':function(_0x42e42d){return _0x42e42d();}},_0x111c99=this;return _0x20c86f[_0x228441(0x1a8)]=_0x1714a3[_0x228441(0x23d)](getProcessId),_0x20c86f[_0x228441(0x1ae)]=_0x1714a3[_0x228441(0x1ab)](getTestName),_0x20c86f[_0x228441(0x1f6)]=global[_0x228441(0x219)]&&global['__platformCaps'][_0x228441(0x22b)],function(){const _0x248ae9=_0x228441,_0x2c59a5=[_0x550fe7,_0x458e6a,null,_0x20c86f][_0x248ae9(0x239)](arguments);return _0x111c99['measure']['apply'](_0x111c99,_0x2c59a5);};}static[a121_0xa022dc(0x245)](){const _0x2b1f01=a121_0xa022dc,_0x16f3be=/(^.*)\[(.*)\]$/,_0x271573={},_0xb3ccc0={},_0x120d33=[],_0x13e0e3=this[_0x2b1f01(0x25b)][_0x2b1f01(0x1fc)](0x0,this[_0x2b1f01(0x25b)]['length']);for(const _0x479d14 of _0x13e0e3){const _0x260d4f=_0x479d14[_0x2b1f01(0x200)][_0x2b1f01(0x230)](_0x16f3be),_0x172fe7=Object[_0x2b1f01(0x23f)]({},_0x479d14);_0x260d4f&&(_0x172fe7[_0x2b1f01(0x200)]=_0x260d4f[0x1],_0x172fe7[_0x2b1f01(0x253)]=JSON['parse'](_0x260d4f[0x2])),_0x120d33[_0x2b1f01(0x1c4)](_0x172fe7);}return _0x120d33;}static[a121_0xa022dc(0x1e7)](){const _0x24b94b=a121_0xa022dc,_0x34b909={'BlkZm':function(_0x1b17e2){return _0x1b17e2();},'kchdN':function(_0x196b93,_0x28bb88){return _0x196b93+_0x28bb88;},'XErff':_0x24b94b(0x1ed),'lhYoz':function(_0x47e8c3,_0x5c367c){return _0x47e8c3===_0x5c367c;}};try{this[_0x24b94b(0x236)]=path[_0x24b94b(0x1cf)](_0x34b909[_0x24b94b(0x249)](getLogDir),this[_0x24b94b(0x220)]);if(fs[_0x24b94b(0x1de)](this['jsonReportDirPath'])){const _0x1470e7=fs[_0x24b94b(0x1c9)](this[_0x24b94b(0x236)]);for(const _0x5cd4ad of _0x1470e7){fs[_0x24b94b(0x1db)](path['join'](this[_0x24b94b(0x236)],_0x5cd4ad));}}}catch(_0x1d8947){logger[_0x24b94b(0x250)](_0x34b909[_0x24b94b(0x216)](_0x34b909['XErff'],_0x1d8947));}if(_0x34b909[_0x24b94b(0x1d4)](this[_0x24b94b(0x25b)][_0x24b94b(0x206)],0x0))return;const _0x3c881f=this['getCleanedPerfEvents'](),_0x2cc5a3=JSON[_0x24b94b(0x237)](_0x3c881f),_0x545b07=_0x34b909[_0x24b94b(0x216)](_0x2cc5a3['slice'](0x1,-0x1),',');fs[_0x24b94b(0x1e1)](this[_0x24b94b(0x1c0)],_0x545b07);}static async[a121_0xa022dc(0x1ec)](){const _0x354547=a121_0xa022dc,_0x7baf83={'Muoxz':function(_0x4a7abe){return _0x4a7abe();},'bSGYF':function(_0x36d16d,_0x487cf5){return _0x36d16d===_0x487cf5;},'TMTet':_0x354547(0x25c),'NVtRL':_0x354547(0x20e),'PryFG':_0x354547(0x22a),'Jsndu':function(_0x190a98,_0x544cb1){return _0x190a98+_0x544cb1;},'diEuV':_0x354547(0x24a),'QkBEy':_0x354547(0x23e),'alfkW':_0x354547(0x20f),'fkKKi':function(_0x16fb09,_0x1521f3){return _0x16fb09>_0x1521f3;}};this[_0x354547(0x236)]=path[_0x354547(0x1cf)](_0x7baf83[_0x354547(0x214)](getLogDir),this[_0x354547(0x220)]);if(!this[_0x354547(0x233)]||_0x7baf83[_0x354547(0x1eb)](this[_0x354547(0x25b)][_0x354547(0x206)],0x0))return[];if(!fs['existsSync'](this[_0x354547(0x236)]))return this[_0x354547(0x25b)];const _0xe0b909=(await fsPromise['readdir'](this['jsonReportDirPath']))[_0x354547(0x1a2)](_0x1b74e9=>path[_0x354547(0x24c)](this['jsonReportDirPath'],_0x1b74e9));try{const _0x504d84=path[_0x354547(0x1e2)](this[_0x354547(0x236)]),_0x3152ab=path[_0x354547(0x1cf)](_0x504d84,_0x7baf83['TMTet']);if(fs[_0x354547(0x1de)](_0x3152ab))try{await fsPromise[_0x354547(0x1dd)](_0x3152ab,fs[_0x354547(0x1a6)][_0x354547(0x241)]);const _0xb4e4ee=await fsPromise['readFile'](_0x3152ab,_0x7baf83[_0x354547(0x1bc)]),_0x429dc8=JSON[_0x354547(0x1f0)](_0xb4e4ee),_0x3ac0e1=path[_0x354547(0x1cf)](this[_0x354547(0x236)],_0x7baf83[_0x354547(0x1b8)]);let _0xc7d2f1='';Array['isArray'](_0x429dc8)?_0xc7d2f1=_0x7baf83[_0x354547(0x1f7)](_0x429dc8[_0x354547(0x1a2)](_0x454206=>JSON[_0x354547(0x237)](_0x454206))[_0x354547(0x1cf)](','),','):_0xc7d2f1=_0x7baf83['Jsndu'](JSON[_0x354547(0x237)](_0x429dc8),','),await fsPromise[_0x354547(0x256)](_0x3ac0e1,_0xc7d2f1),_0xe0b909['push'](_0x3ac0e1),await fsPromise[_0x354547(0x1bd)](_0x3152ab);}catch(_0x2d5da4){logger[_0x354547(0x213)](util[_0x354547(0x202)](_0x7baf83[_0x354547(0x22d)],_0x2d5da4['stack']||_0x2d5da4[_0x354547(0x1ea)]||_0x2d5da4));}else logger['info'](_0x7baf83[_0x354547(0x20a)]);}catch(_0x106f18){logger[_0x354547(0x213)](util['format'](_0x7baf83[_0x354547(0x20b)],_0x106f18[_0x354547(0x1d0)]||_0x106f18[_0x354547(0x1ea)]||_0x106f18));}let _0xac6763=(await Promise['all'](_0xe0b909['map'](_0x4fef98=>fsPromise['readFile'](_0x4fef98,_0x354547(0x20e)))))[_0x354547(0x1a2)](_0xb78c7d=>'['+_0xb78c7d[_0x354547(0x1a5)](0x0,-0x1)+']')[_0x354547(0x1a2)](_0x355a7d=>JSON[_0x354547(0x1f0)](_0x355a7d))[_0x354547(0x222)]();return _0x7baf83[_0x354547(0x255)](this[_0x354547(0x25b)]['length'],0x0)&&(_0xac6763=_0xac6763[_0x354547(0x239)](this['getCleanedPerfEvents']())),this[_0x354547(0x25a)]['disconnect'](),_0xac6763;}static[a121_0xa022dc(0x1ba)](){const _0x21b11c=a121_0xa022dc,_0x2efbc3={};_0x2efbc3[_0x21b11c(0x1f4)]=function(_0x515e35,_0x3046eb){return _0x515e35===_0x3046eb;},_0x2efbc3[_0x21b11c(0x215)]=function(_0x559b85,_0x32117b){return _0x559b85+_0x32117b;};const _0x462107=_0x2efbc3;if(_0x462107[_0x21b11c(0x1f4)](this[_0x21b11c(0x217)][_0x21b11c(0x206)],0x0))return;const _0x100d98=JSON[_0x21b11c(0x237)](this[_0x21b11c(0x217)]),_0x2f284a=_0x462107[_0x21b11c(0x215)](_0x100d98[_0x21b11c(0x1a5)](0x1,-0x1),',');fs[_0x21b11c(0x1e1)](this[_0x21b11c(0x1e6)],_0x2f284a);}static[a121_0xa022dc(0x240)](){const _0x41151e=a121_0xa022dc,_0x4ef032={};_0x4ef032[_0x41151e(0x1aa)]=function(_0x3427a5,_0x44bee6){return _0x3427a5>_0x44bee6;};const _0x1678de=_0x4ef032;if(this[_0x41151e(0x226)]){if(!fs['existsSync'](this[_0x41151e(0x226)]))return this[_0x41151e(0x217)];let _0x1cd5bc=fs[_0x41151e(0x1ef)](this[_0x41151e(0x226)])['toString']();_0x1cd5bc='['+_0x1cd5bc[_0x41151e(0x1a5)](0x0,-0x1)+']';let _0x2eaee6=JSON['parse'](_0x1cd5bc);return _0x1678de[_0x41151e(0x1aa)](this[_0x41151e(0x217)][_0x41151e(0x206)],0x0)&&(_0x2eaee6=_0x2eaee6['concat'](this[_0x41151e(0x217)])),fs[_0x41151e(0x1db)](this[_0x41151e(0x226)]),_0x2eaee6;}}static[a121_0xa022dc(0x223)](_0x4fd0fc){const _0x445bf7=a121_0xa022dc;if(!this[_0x445bf7(0x1b9)]())return;this[_0x445bf7(0x217)][_0x445bf7(0x1c4)]({'message':_0x4fd0fc[_0x445bf7(0x1ea)],'trace':_0x4fd0fc[_0x445bf7(0x1d0)],'code':_0x4fd0fc['code']||null,'time':new Date()});}static[a121_0xa022dc(0x20d)](){const _0x96ef0b=a121_0xa022dc;try{if(!this[_0x96ef0b(0x1b9)]())return;this[_0x96ef0b(0x25a)][_0x96ef0b(0x1b5)](),this[_0x96ef0b(0x1e7)](),this['pushErrors']();}catch(_0x3ee591){logger[_0x96ef0b(0x250)]('Error\x20stopping\x20monitoring\x20'+util['format'](_0x3ee591));}}static async[a121_0xa022dc(0x208)](){const _0x5bff31=a121_0xa022dc,_0x40a126={'UbocF':function(_0x1757f9,_0x2d4ab4){return _0x1757f9(_0x2d4ab4);}};await _0x40a126[_0x5bff31(0x247)](sleep,0x1e);const _0x3305c1=await this[_0x5bff31(0x1ec)](),_0x3a254a=this[_0x5bff31(0x240)]();if(!this[_0x5bff31(0x1b9)]()){const _0x1f647e={};return _0x1f647e['measures']=[],_0x1f647e[_0x5bff31(0x1e9)]=[],_0x1f647e;}const _0xf0d901={};return _0xf0d901[_0x5bff31(0x1fa)]=_0x3305c1,_0xf0d901[_0x5bff31(0x1e9)]=_0x3a254a,_0xf0d901;}static['start'](_0xb87444){const _0x37dd93=a121_0xa022dc,_0x7c1cc1={};_0x7c1cc1[_0x37dd93(0x1cc)]=function(_0x165934,_0x420ef4){return _0x165934+_0x420ef4;},_0x7c1cc1[_0x37dd93(0x21e)]='-start';const _0x1d2a99=_0x7c1cc1,_0x56862d=_0x1d2a99['TDCSh'](_0xb87444,_0x1d2a99['LGsUk']);if(this['eventsMap'][_0x56862d])return;performance[_0x37dd93(0x1af)](_0x56862d),this[_0x37dd93(0x1c5)][_0x56862d]=0x1;}static[a121_0xa022dc(0x1fe)](_0x4e7165,_0x418bef=!![],_0x5a7750=null,_0x34452f={}){const _0x5de51a=a121_0xa022dc,_0x8c84e0={'jNaAO':function(_0x581999,_0x33ce0d){return _0x581999+_0x33ce0d;},'WeTrc':'-end','NPffg':_0x5de51a(0x1ff),'xujMZ':function(_0x526a5f,_0x7b3055){return _0x526a5f+_0x7b3055;},'pJfeO':function(_0x1a8ec5){return _0x1a8ec5();}};performance[_0x5de51a(0x1af)](_0x8c84e0[_0x5de51a(0x1d7)](_0x4e7165,_0x8c84e0['WeTrc'])),performance[_0x5de51a(0x1b1)](_0x4e7165,_0x8c84e0[_0x5de51a(0x1d7)](_0x4e7165,_0x8c84e0['NPffg']),_0x8c84e0[_0x5de51a(0x1b2)](_0x4e7165,_0x8c84e0[_0x5de51a(0x229)]));const _0x5dced2={};_0x5dced2[_0x5de51a(0x203)]=_0x418bef,_0x5dced2[_0x5de51a(0x252)]=_0x5a7750,this[_0x5de51a(0x1f9)][_0x4e7165]=Object[_0x5de51a(0x23f)](_0x5dced2,Object['assign'](Object[_0x5de51a(0x23f)]({'worker':_0x8c84e0[_0x5de51a(0x1c3)](getProcessId),'platform':global['__platformCaps']&&global['__platformCaps']['index'],'testName':_0x8c84e0[_0x5de51a(0x1c3)](getTestName)},_0x34452f),this['details'][_0x4e7165]||{}));}}module[a121_0xa022dc(0x1d8)]=PerformanceTester;
1
+ function a121_0x1ce6(){const _0x4f0458=['eFLTN','IuWGK','gYiGF','cgNDC','diwhB','9576fKgegO','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','Ldikh','eventsMap','forEach','apply','stringify','ycsOo','message','BjsjM','__platformCaps','mark','-end','modified-key-metrics.json','writeFile','/error-report-','_errorEvents','BROWSERSTACK_SDK_INSTRUMENTATION','assign','319Rqsjxo','SNwWI','length','duration','constants','concat','index','Error\x20while\x20removing\x20files:\x20','error\x20in\x20measure\x20','end','_events','dFstz','fs/promises','<h1>Performance\x20Report</h1>','IqfQX','8469wBEmJh','env','existsSync','fZfyx','measureWrapper','92472rxsuuI','code','worker','debug','\x20for\x20all\x20processes\x20is\x20','resolve','dirname','gyGIf','xmDep','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','generateHTMLReport','getEventsFromJSON','push','7214506ALwxVK','11pSKGvX','mkdirSync','117992qFUkRF','658yPcuVG','899996gEUKKh','start','appendFileSync','vkjEA','</td></tr>','cwd','365OxmdrC','_observer','qumYK','tJqNV','BZTdU','errors','startMonitoring','xmjjq','Performance\x20report\x20is\x20at\x20','success','measures','.json','OQCEr','JySiG','name','Abzmj','failure','function','stopAndGenerate','_measureEvents','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','stopMonitoring','match','-start','reduce','slice','ytzvz','started','pushErrors','ltxcn','writeFileSync','all','toJSON','join','VSYBV','XgVUB','MrCxu','gafLp','splice','jsonReportDirName','generateJSON','oflQH','F_OK','KKyQW','observe','calculateTimeFromEvents','jsonReportFileName','../logger','TTATh','isEnabled','WGrvd','info','error-report','CYagN','qAEgc','format','OHHVE','OjgkA','qvdOn','entryTypes','194852yEOcgX','utf-8','finalizeErrors','map','unlink','iLjpo','hnxWJ','errorReportFileName','toString','jEhGC','parse','/performance-report-','pushPerfMeasures','1330kCrvYk','testName','platform','FGACU','winstonLogger','12LDfJye','readFileSync','captureError','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','Error\x20processing\x20key-metrics.json:\x20%s','disconnect','util','browserStackCwd','readFile','Time\x20for\x20','key-metrics.json','path','ZXPPd','performance-report','jsonReportDirPath','urlyZ','errorReportDirName','measure','stack','getEntries','rihbr','details','<tr><td>','flat','getCleanedPerfEvents','Hkepk','meta','finalizePerfMeasures'];a121_0x1ce6=function(){return _0x4f0458;};return a121_0x1ce6();}function a121_0x7e00(_0x2a754f,_0x351d8d){const _0x1ce6e6=a121_0x1ce6();return a121_0x7e00=function(_0x7e0063,_0x195f6b){_0x7e0063=_0x7e0063-0xca;let _0x1c1532=_0x1ce6e6[_0x7e0063];return _0x1c1532;},a121_0x7e00(_0x2a754f,_0x351d8d);}const a121_0x3f8c87=a121_0x7e00;(function(_0x1e2616,_0x2e90bb){const _0x5211f0=a121_0x7e00,_0x44ce61=_0x1e2616();while(!![]){try{const _0x22bec5=-parseInt(_0x5211f0(0xfd))/0x1*(parseInt(_0x5211f0(0x143))/0x2)+parseInt(_0x5211f0(0x155))/0x3*(parseInt(_0x5211f0(0x101))/0x4)+-parseInt(_0x5211f0(0x107))/0x5*(parseInt(_0x5211f0(0x176))/0x6)+parseInt(_0x5211f0(0x100))/0x7*(parseInt(_0x5211f0(0xff))/0x8)+parseInt(_0x5211f0(0xe9))/0x9*(parseInt(_0x5211f0(0x150))/0xa)+parseInt(_0x5211f0(0xda))/0xb*(parseInt(_0x5211f0(0xee))/0xc)+-parseInt(_0x5211f0(0xfc))/0xd;if(_0x22bec5===_0x2e90bb)break;else _0x44ce61['push'](_0x44ce61['shift']());}catch(_0x5b1229){_0x44ce61['push'](_0x44ce61['shift']());}}}(a121_0x1ce6,0xd9be1));const fs=require('fs'),fsPromise=require(a121_0x3f8c87(0xe6)),{performance,PerformanceObserver}=require('perf_hooks'),path=require(a121_0x3f8c87(0x160)),util=require(a121_0x3f8c87(0x15b)),logger=require(a121_0x3f8c87(0x136))[a121_0x3f8c87(0x154)],{getLogDir}=require(a121_0x3f8c87(0x136)),{getProcessId,sleep,debug,getTestName}=require('../processHelper');class PerformanceTester{static [a121_0x3f8c87(0x108)];static [a121_0x3f8c87(0xe4)]=[];static [a121_0x3f8c87(0x11a)]=[];static [a121_0x3f8c87(0xd7)]=[];static [a121_0x3f8c87(0x122)]=![];static [a121_0x3f8c87(0x12e)]=a121_0x3f8c87(0x162);static ['errorReportDirName']=process['env'][a121_0x3f8c87(0x15c)]?path['join'](process[a121_0x3f8c87(0xea)][a121_0x3f8c87(0x15c)],a121_0x3f8c87(0x13b)):path[a121_0x3f8c87(0x128)](process['cwd'](),'error-report');static [a121_0x3f8c87(0x14a)]=this['errorReportDirName']+a121_0x3f8c87(0xd6)+getProcessId()+a121_0x3f8c87(0x112);static ['details']={};static [a121_0x3f8c87(0xca)]={};static[a121_0x3f8c87(0x10d)](_0x350ac9,_0x44cf75=this[a121_0x3f8c87(0x165)]+a121_0x3f8c87(0xd6)+getProcessId()+a121_0x3f8c87(0x112)){const _0x6beac9=a121_0x3f8c87,_0x56b30e={'SNwWI':function(_0x1c8149,_0x190f76){return _0x1c8149===_0x190f76;},'CYagN':_0x6beac9(0x166),'iSYKZ':function(_0xfe1948){return _0xfe1948();},'IuWGK':function(_0x5adebb){return _0x5adebb();},'JySiG':function(_0x44de90,_0x2102f8){return _0x44de90+_0x2102f8;},'gyGIf':_0x6beac9(0x11b),'dKZzD':_0x6beac9(0x118)};try{this[_0x6beac9(0x163)]=path[_0x6beac9(0x128)](_0x56b30e['iSYKZ'](getLogDir),this[_0x6beac9(0x12e)]),!_0x350ac9&&(_0x350ac9=this[_0x6beac9(0x163)]+_0x6beac9(0x14e)+_0x56b30e[_0x6beac9(0x172)](getProcessId)+_0x6beac9(0x112)),!fs[_0x6beac9(0xeb)](this['jsonReportDirPath'])&&fs[_0x6beac9(0xfe)](this['jsonReportDirPath']);}catch(_0x1c7cc2){logger[_0x6beac9(0xf1)](_0x56b30e[_0x6beac9(0x114)](_0x56b30e[_0x6beac9(0xf5)],_0x1c7cc2));}if(this['started']||!this['isEnabled']())return;this['_observer']=new PerformanceObserver(_0x53d4f7=>{const _0x3e8437=_0x6beac9;_0x53d4f7[_0x3e8437(0x168)]()[_0x3e8437(0xcb)](_0x169f95=>{const _0x3cc64e=_0x3e8437;if(_0x56b30e[_0x3cc64e(0xdb)](_0x169f95['entryType'],_0x56b30e[_0x3cc64e(0x13c)])){let _0x5cfbbb={};if(_0x169f95[_0x3cc64e(0x127)])_0x5cfbbb=_0x169f95[_0x3cc64e(0x127)]();else for(const _0x5acbaa in _0x169f95){_0x5cfbbb[_0x5acbaa]=_0x169f95[_0x5acbaa];}this['details'][_0x169f95['name']]&&(_0x5cfbbb=Object[_0x3cc64e(0xd9)](_0x5cfbbb,this[_0x3cc64e(0x16a)][_0x169f95[_0x3cc64e(0x115)]])),delete this[_0x3cc64e(0x16a)][_0x169f95[_0x3cc64e(0x115)]],this[_0x3cc64e(0x11a)]['push'](_0x5cfbbb);}else this[_0x3cc64e(0xe4)][_0x3cc64e(0xfb)](_0x169f95);});});const _0x4020ab={};_0x4020ab['buffered']=!![],_0x4020ab[_0x6beac9(0x142)]=[_0x56b30e['dKZzD'],_0x56b30e[_0x6beac9(0x13c)]],this[_0x6beac9(0x108)][_0x6beac9(0x133)](_0x4020ab),this['started']=!![],this[_0x6beac9(0x135)]=_0x350ac9,this[_0x6beac9(0x14a)]=_0x44cf75;}static['getPerformance'](){return performance;}static[a121_0x3f8c87(0x134)](_0xacb994,_0x5a1fa8){const _0x118ede=a121_0x3f8c87,_0x480c14={};_0x480c14[_0x118ede(0x121)]=function(_0x2814c2,_0x30a647){return _0x2814c2+_0x30a647;},_0x480c14[_0x118ede(0x10b)]=function(_0x46514c,_0x598736){return _0x46514c||_0x598736;},_0x480c14[_0x118ede(0x137)]=function(_0x4fa71b,_0x513920){return _0x4fa71b===_0x513920;};const _0x9052cf=_0x480c14,_0x40270a={};if(!_0xacb994||_0x9052cf['TTATh'](_0xacb994[_0x118ede(0xdc)],0x0))return;_0xacb994[_0x118ede(0x146)](_0x3ee70a=>{const _0x5e1c34=_0x118ede;!_0x40270a[_0x3ee70a[_0x5e1c34(0x115)]]&&(_0x40270a[_0x3ee70a[_0x5e1c34(0x115)]]=0x0),_0x40270a[_0x3ee70a['name']]+=_0x3ee70a[_0x5e1c34(0xdd)];});const _0x13fdd8=_0x5a1fa8[_0x118ede(0x11f)]((_0x36caac,_0x2197bc)=>{const _0x322107=_0x118ede;return _0x9052cf['ytzvz'](_0x40270a[_0x2197bc],_0x9052cf[_0x322107(0x10b)](_0x36caac,0x0));},0x0);return _0x13fdd8;}static async['calculateTimesFromMultipleFiles'](_0x56716d,_0x232b1c){const _0x5be3ef=a121_0x3f8c87,_0x22772a={'ZXPPd':function(_0x5ca7ba,_0x41b3c8){return _0x5ca7ba+_0x41b3c8;},'HVFNM':function(_0x16ffbe,_0xa0344d){return _0x16ffbe||_0xa0344d;},'diwhB':function(_0x29bbe6,_0x5cd274){return _0x29bbe6===_0x5cd274;},'xmjjq':function(_0x56630b,_0xb5adbb){return _0x56630b(_0xb5adbb);}};if(!_0x56716d||_0x22772a[_0x5be3ef(0x175)](_0x56716d[_0x5be3ef(0xdc)],0x0))return 0x0;const _0x48be86=[];for(const _0x50f473 of _0x56716d){const _0x138379=path[_0x5be3ef(0x128)]('.',_0x50f473);try{const _0x342c22=this[_0x5be3ef(0xfa)](_0x138379);_0x342c22[_0x5be3ef(0x146)](_0x5987c0=>{const _0x15a32b=_0x5be3ef;!_0x48be86[_0x5987c0['name']]&&(_0x48be86[_0x5987c0[_0x15a32b(0x115)]]=0x0),_0x48be86[_0x5987c0[_0x15a32b(0x115)]]+=_0x5987c0['duration'];});}catch(_0xe9c157){_0x22772a[_0x5be3ef(0x10e)](debug,'Error\x20in\x20doing\x20csv\x20operations:\x20'+_0xe9c157['toString']());}}const _0x20766c=_0x232b1c[_0x5be3ef(0x11f)]((_0x5ddbd7,_0x103da3)=>{const _0x13e656=_0x5be3ef;return _0x22772a[_0x13e656(0x161)](_0x48be86[_0x103da3],_0x22772a['HVFNM'](_0x5ddbd7,0x0));},0x0);return _0x22772a[_0x5be3ef(0x10e)](debug,_0x5be3ef(0x15e)+_0x232b1c+_0x5be3ef(0xf2)+_0x20766c),_0x20766c;}static[a121_0x3f8c87(0xfa)](_0x2cf15b){const _0x227b87=a121_0x3f8c87;if(_0x2cf15b){if(!fs['existsSync'](_0x2cf15b))return[];return JSON[_0x227b87(0x14d)](fs[_0x227b87(0x156)](_0x2cf15b)[_0x227b87(0x14b)]());}}static async[a121_0x3f8c87(0x119)](_0x1b161d='performance-own.html',_0x12eb7f=null){const _0x119dee=a121_0x3f8c87,_0x1f94ed={'KKyQW':function(_0x26d249,_0x548f3d){return _0x26d249(_0x548f3d);}};if(!this[_0x119dee(0x122)])return;await _0x1f94ed[_0x119dee(0x132)](sleep,0x1e),this['_observer'][_0x119dee(0x15a)](),this[_0x119dee(0x122)]=![],this[_0x119dee(0x12f)](this[_0x119dee(0xe4)]);const _0x86aca4=this['generateHTMLReport'](this[_0x119dee(0xe4)]),_0x1acc2b=path[_0x119dee(0x128)](process[_0x119dee(0x106)](),_0x1b161d);fs[_0x119dee(0xd5)](_0x1acc2b,_0x86aca4,_0x2bf2b7=>{const _0x3b3317=_0x119dee;if(_0x2bf2b7){_0x1f94ed[_0x3b3317(0x132)](debug,'Error\x20in\x20writing\x20html\x20'+_0x2bf2b7['toString']());return;}_0x1f94ed[_0x3b3317(0x132)](debug,_0x3b3317(0x10f)+_0x1acc2b);});if(_0x12eb7f)return this[_0x119dee(0x134)](this[_0x119dee(0xe4)],_0x12eb7f);}static[a121_0x3f8c87(0xf9)](_0x586dda){const _0x1a85f6=a121_0x3f8c87,_0x57f5cc={};_0x57f5cc[_0x1a85f6(0x12b)]=_0x1a85f6(0xf7),_0x57f5cc[_0x1a85f6(0xd0)]=_0x1a85f6(0xe7),_0x57f5cc[_0x1a85f6(0xce)]=_0x1a85f6(0x177),_0x57f5cc[_0x1a85f6(0x139)]='</tbody></table></body></html>';const _0x5c4cfd=_0x57f5cc;let _0x54f918=_0x5c4cfd[_0x1a85f6(0x12b)];return _0x54f918+=_0x5c4cfd[_0x1a85f6(0xd0)],_0x54f918+=_0x5c4cfd[_0x1a85f6(0xce)],_0x586dda[_0x1a85f6(0xcb)](_0xfda936=>{const _0x397b4f=_0x1a85f6;_0x54f918+=_0x397b4f(0x16b)+_0xfda936[_0x397b4f(0x115)]+'</td><td>'+_0xfda936[_0x397b4f(0xdd)]+_0x397b4f(0x105);}),_0x54f918+=_0x5c4cfd[_0x1a85f6(0x139)],_0x54f918;}static['generateJSON'](_0x5e1ec7){const _0x1d38c6=a121_0x3f8c87;if(!this['jsonReportFileName'])return;const _0x13ac57={};_0x5e1ec7['map'](_0x9b76e5=>{const _0x535517=a121_0x7e00;!_0x13ac57[_0x9b76e5[_0x535517(0x115)]]&&(_0x13ac57[_0x9b76e5[_0x535517(0x115)]]=0x0),_0x13ac57[_0x9b76e5[_0x535517(0x115)]]+=_0x9b76e5['duration'];});const _0x3d8272=Object['entries'](_0x13ac57)[_0x1d38c6(0x146)](([_0x20bead,_0x22e381])=>{const _0x5ed8a1=_0x1d38c6,_0x41d096={};return _0x41d096[_0x5ed8a1(0x115)]=_0x20bead,_0x41d096['duration']=_0x22e381,_0x41d096;});fs[_0x1d38c6(0x125)](this['jsonReportFileName'],JSON[_0x1d38c6(0xcd)](_0x3d8272));}static[a121_0x3f8c87(0x138)](){const _0x51cf8c=a121_0x3f8c87,_0x5d7c1a={};_0x5d7c1a['cgNDC']=function(_0x4787a4,_0x221dab){return _0x4787a4===_0x221dab;},_0x5d7c1a[_0x51cf8c(0x173)]='false';const _0x4d1bd1=_0x5d7c1a;return!_0x4d1bd1[_0x51cf8c(0x174)](process[_0x51cf8c(0xea)][_0x51cf8c(0xd8)],_0x4d1bd1[_0x51cf8c(0x173)]);}static['measure'](_0x2b592b,_0x32ddf4,_0x3eeb8c=null,_0x36bd20={},_0x2010d2=null){const _0x504188=a121_0x3f8c87,_0x11f67f={'dFstz':function(_0x12fa49,_0x196072){return _0x12fa49(_0x196072);},'gafLp':function(_0x10c205,_0x402746){return _0x10c205 instanceof _0x402746;}};try{if(this['started']&&this['isEnabled']()){let _0x40eb65=_0x2b592b;_0x3eeb8c&&(_0x40eb65=_0x2b592b+'['+JSON[_0x504188(0xcd)](_0x3eeb8c)+']');PerformanceTester[_0x504188(0x102)](_0x40eb65),this['details']&&(this['details'][_0x40eb65]=_0x36bd20);try{const _0x4b9527=_0x32ddf4[_0x504188(0xcc)](null,_0x2010d2);if(_0x11f67f[_0x504188(0x12c)](_0x4b9527,Promise))return new Promise((_0x366b17,_0x74dc79)=>{_0x4b9527['then'](_0xf3f778=>{const _0x3c20de=a121_0x7e00;PerformanceTester['end'](_0x40eb65),_0x11f67f[_0x3c20de(0xe5)](_0x366b17,_0xf3f778);})['catch'](_0x4b5c31=>{const _0x1cd356=a121_0x7e00;PerformanceTester[_0x1cd356(0xe3)](_0x40eb65,![],util['format'](_0x4b5c31)),_0x11f67f[_0x1cd356(0xe5)](_0x74dc79,_0x4b5c31);});});;return PerformanceTester['end'](_0x40eb65),_0x4b9527;}catch(_0x157889){PerformanceTester[_0x504188(0xe3)](_0x40eb65,![],util[_0x504188(0x13e)](_0x157889));throw _0x157889;}};return _0x32ddf4['apply'](null,_0x2010d2);}catch(_0x58f6a4){return logger[_0x504188(0xf1)](_0x504188(0xe2)+(_0x58f6a4[_0x504188(0x167)]||_0x58f6a4[_0x504188(0xcf)]||_0x58f6a4)),_0x32ddf4['apply'](null,_0x2010d2);}}static[a121_0x3f8c87(0xed)](_0x2397f9,_0x456b4e,_0x163f9b={}){const _0x2fa5ad=a121_0x3f8c87,_0x23eefb={'oflQH':function(_0x5b55e2){return _0x5b55e2();},'qumYK':function(_0xe70000){return _0xe70000();}},_0x36b6ae=this;return _0x163f9b[_0x2fa5ad(0xf0)]=_0x23eefb[_0x2fa5ad(0x130)](getProcessId),_0x163f9b[_0x2fa5ad(0x151)]=_0x23eefb[_0x2fa5ad(0x109)](getTestName),_0x163f9b[_0x2fa5ad(0x152)]=global[_0x2fa5ad(0xd1)]&&global[_0x2fa5ad(0xd1)][_0x2fa5ad(0xe0)],function(){const _0x5098a0=_0x2fa5ad,_0x57e544=[_0x2397f9,_0x456b4e,null,_0x163f9b][_0x5098a0(0xdf)](arguments);return _0x36b6ae[_0x5098a0(0x166)][_0x5098a0(0xcc)](_0x36b6ae,_0x57e544);};}static[a121_0x3f8c87(0x16d)](){const _0xf5b05d=a121_0x3f8c87,_0x45bd6a=/(^.*)\[(.*)\]$/,_0x4eabc3={},_0x128a17={},_0x3b4b8d=[],_0x569214=this['_measureEvents'][_0xf5b05d(0x12d)](0x0,this[_0xf5b05d(0x11a)][_0xf5b05d(0xdc)]);for(const _0x2bc140 of _0x569214){const _0x2eddd4=_0x2bc140[_0xf5b05d(0x115)][_0xf5b05d(0x11d)](_0x45bd6a),_0x31d63a=Object[_0xf5b05d(0xd9)]({},_0x2bc140);_0x2eddd4&&(_0x31d63a['name']=_0x2eddd4[0x1],_0x31d63a[_0xf5b05d(0x16f)]=JSON[_0xf5b05d(0x14d)](_0x2eddd4[0x2])),_0x3b4b8d[_0xf5b05d(0xfb)](_0x31d63a);}return _0x3b4b8d;}static[a121_0x3f8c87(0x14f)](){const _0x34fa60=a121_0x3f8c87,_0x11b89e={'IqfQX':function(_0x143fce){return _0x143fce();},'urlyZ':function(_0x30f291,_0x564dcf){return _0x30f291+_0x564dcf;},'skHhj':_0x34fa60(0xe1),'FSPcX':function(_0x5bfc8e,_0x26f20b){return _0x5bfc8e===_0x26f20b;},'OHHVE':function(_0x23a854,_0x3aedc7){return _0x23a854+_0x3aedc7;}};try{this['jsonReportDirPath']=path[_0x34fa60(0x128)](_0x11b89e[_0x34fa60(0xe8)](getLogDir),this[_0x34fa60(0x12e)]);if(fs[_0x34fa60(0xeb)](this[_0x34fa60(0x163)])){const _0x3af896=fs['readdirSync'](this['jsonReportDirPath']);for(const _0x2704bb of _0x3af896){fs['unlinkSync'](path[_0x34fa60(0x128)](this[_0x34fa60(0x163)],_0x2704bb));}}}catch(_0x130880){logger['debug'](_0x11b89e[_0x34fa60(0x164)](_0x11b89e['skHhj'],_0x130880));}if(_0x11b89e['FSPcX'](this[_0x34fa60(0x11a)][_0x34fa60(0xdc)],0x0))return;const _0x4597f9=this[_0x34fa60(0x16d)](),_0x1447f2=JSON[_0x34fa60(0xcd)](_0x4597f9),_0x273fbf=_0x11b89e[_0x34fa60(0x13f)](_0x1447f2['slice'](0x1,-0x1),',');fs[_0x34fa60(0x103)](this['jsonReportFileName'],_0x273fbf);}static async[a121_0x3f8c87(0x170)](){const _0x5c28bd=a121_0x3f8c87,_0x10bf18={'OjgkA':function(_0x2d5adb){return _0x2d5adb();},'vkjEA':function(_0x311a22,_0x2b10c4){return _0x311a22===_0x2b10c4;},'Hkepk':_0x5c28bd(0x15f),'gSgAZ':_0x5c28bd(0x144),'ltxcn':_0x5c28bd(0xd4),'qAEgc':function(_0x148d99,_0x344770){return _0x148d99+_0x344770;},'qvdOn':_0x5c28bd(0x159),'Ldikh':_0x5c28bd(0xf8),'xmDep':_0x5c28bd(0x158),'iLjpo':function(_0x2efe7a,_0x18946d){return _0x2efe7a>_0x18946d;}};this[_0x5c28bd(0x163)]=path[_0x5c28bd(0x128)](_0x10bf18[_0x5c28bd(0x140)](getLogDir),this[_0x5c28bd(0x12e)]);if(!this[_0x5c28bd(0x122)]||_0x10bf18[_0x5c28bd(0x104)](this['_measureEvents']['length'],0x0))return[];if(!fs[_0x5c28bd(0xeb)](this[_0x5c28bd(0x163)]))return this['_measureEvents'];const _0x22e4d6=(await fsPromise['readdir'](this[_0x5c28bd(0x163)]))[_0x5c28bd(0x146)](_0x356794=>path[_0x5c28bd(0xf3)](this['jsonReportDirPath'],_0x356794));try{const _0x3913a8=path[_0x5c28bd(0xf4)](this[_0x5c28bd(0x163)]),_0x4fd7c5=path[_0x5c28bd(0x128)](_0x3913a8,_0x10bf18[_0x5c28bd(0x16e)]);if(fs[_0x5c28bd(0xeb)](_0x4fd7c5))try{await fsPromise['access'](_0x4fd7c5,fs[_0x5c28bd(0xde)][_0x5c28bd(0x131)]);const _0x5a680f=await fsPromise[_0x5c28bd(0x15d)](_0x4fd7c5,_0x10bf18['gSgAZ']),_0x41b8f2=JSON[_0x5c28bd(0x14d)](_0x5a680f),_0x59daa2=path[_0x5c28bd(0x128)](this[_0x5c28bd(0x163)],_0x10bf18[_0x5c28bd(0x124)]);let _0x58e4b1='';Array['isArray'](_0x41b8f2)?_0x58e4b1=_0x10bf18['qAEgc'](_0x41b8f2[_0x5c28bd(0x146)](_0x263440=>JSON[_0x5c28bd(0xcd)](_0x263440))['join'](','),','):_0x58e4b1=_0x10bf18[_0x5c28bd(0x13d)](JSON[_0x5c28bd(0xcd)](_0x41b8f2),','),await fsPromise[_0x5c28bd(0xd5)](_0x59daa2,_0x58e4b1),_0x22e4d6[_0x5c28bd(0xfb)](_0x59daa2),await fsPromise[_0x5c28bd(0x147)](_0x4fd7c5);}catch(_0x2840b5){logger['info'](util[_0x5c28bd(0x13e)](_0x10bf18[_0x5c28bd(0x141)],_0x2840b5[_0x5c28bd(0x167)]||_0x2840b5['message']||_0x2840b5));}else logger[_0x5c28bd(0x13a)](_0x10bf18[_0x5c28bd(0x178)]);}catch(_0x8297d1){logger['info'](util[_0x5c28bd(0x13e)](_0x10bf18[_0x5c28bd(0xf6)],_0x8297d1['stack']||_0x8297d1[_0x5c28bd(0xcf)]||_0x8297d1));}let _0x221d4c=(await Promise[_0x5c28bd(0x126)](_0x22e4d6['map'](_0x5c93a3=>fsPromise[_0x5c28bd(0x15d)](_0x5c93a3,_0x5c28bd(0x144)))))[_0x5c28bd(0x146)](_0x3d099d=>'['+_0x3d099d[_0x5c28bd(0x120)](0x0,-0x1)+']')[_0x5c28bd(0x146)](_0x101a12=>JSON[_0x5c28bd(0x14d)](_0x101a12))[_0x5c28bd(0x16c)]();return _0x10bf18[_0x5c28bd(0x148)](this[_0x5c28bd(0x11a)][_0x5c28bd(0xdc)],0x0)&&(_0x221d4c=_0x221d4c[_0x5c28bd(0xdf)](this[_0x5c28bd(0x16d)]())),this[_0x5c28bd(0x108)][_0x5c28bd(0x15a)](),_0x221d4c;}static[a121_0x3f8c87(0x123)](){const _0x145b11=a121_0x3f8c87,_0x3d51f0={};_0x3d51f0[_0x145b11(0x171)]=function(_0x49ac04,_0x5161d8){return _0x49ac04===_0x5161d8;},_0x3d51f0[_0x145b11(0x10a)]=function(_0xfa8ed5,_0x39a7ed){return _0xfa8ed5+_0x39a7ed;};const _0x39698b=_0x3d51f0;if(_0x39698b['eFLTN'](this[_0x145b11(0xd7)]['length'],0x0))return;const _0xb2d8ea=JSON[_0x145b11(0xcd)](this[_0x145b11(0xd7)]),_0x136c30=_0x39698b['tJqNV'](_0xb2d8ea[_0x145b11(0x120)](0x1,-0x1),',');fs['appendFileSync'](this['errorFile'],_0x136c30);}static['finalizeErrors'](){const _0x27627e=a121_0x3f8c87,_0x1c0e53={};_0x1c0e53[_0x27627e(0x129)]=function(_0x518723,_0x4f29bd){return _0x518723>_0x4f29bd;};const _0x2c4049=_0x1c0e53;if(this[_0x27627e(0x14a)]){if(!fs[_0x27627e(0xeb)](this[_0x27627e(0x14a)]))return this[_0x27627e(0xd7)];let _0x1c07be=fs[_0x27627e(0x156)](this['errorReportFileName'])[_0x27627e(0x14b)]();_0x1c07be='['+_0x1c07be[_0x27627e(0x120)](0x0,-0x1)+']';let _0x18a081=JSON[_0x27627e(0x14d)](_0x1c07be);return _0x2c4049[_0x27627e(0x129)](this[_0x27627e(0xd7)][_0x27627e(0xdc)],0x0)&&(_0x18a081=_0x18a081['concat'](this[_0x27627e(0xd7)])),fs['unlinkSync'](this[_0x27627e(0x14a)]),_0x18a081;}}static[a121_0x3f8c87(0x157)](_0x2aaee6){const _0x4daba2=a121_0x3f8c87;if(!this['isEnabled']())return;this[_0x4daba2(0xd7)][_0x4daba2(0xfb)]({'message':_0x2aaee6[_0x4daba2(0xcf)],'trace':_0x2aaee6['stack'],'code':_0x2aaee6[_0x4daba2(0xef)]||null,'time':new Date()});}static[a121_0x3f8c87(0x11c)](){const _0x1a668a=a121_0x3f8c87;try{if(!this[_0x1a668a(0x138)]())return;this[_0x1a668a(0x108)][_0x1a668a(0x15a)](),this[_0x1a668a(0x14f)](),this[_0x1a668a(0x123)]();}catch(_0x1993f6){logger[_0x1a668a(0xf1)]('Error\x20stopping\x20monitoring\x20'+util[_0x1a668a(0x13e)](_0x1993f6));}}static async['finalize'](){const _0x5ba7e9=a121_0x3f8c87,_0x5c4b55={'hnxWJ':function(_0x3a068f,_0x48c0f7){return _0x3a068f(_0x48c0f7);}};await _0x5c4b55[_0x5ba7e9(0x149)](sleep,0x1e);const _0x2a07a1=await this[_0x5ba7e9(0x170)](),_0x28c9b7=this[_0x5ba7e9(0x145)]();if(!this[_0x5ba7e9(0x138)]()){const _0x3698fc={};return _0x3698fc[_0x5ba7e9(0x111)]=[],_0x3698fc[_0x5ba7e9(0x10c)]=[],_0x3698fc;}const _0x276991={};return _0x276991['measures']=_0x2a07a1,_0x276991[_0x5ba7e9(0x10c)]=_0x28c9b7,_0x276991;}static[a121_0x3f8c87(0x102)](_0x1a0182){const _0x69eacb=a121_0x3f8c87,_0x13cd78={};_0x13cd78[_0x69eacb(0x169)]=function(_0x5688b6,_0x2380cd){return _0x5688b6+_0x2380cd;},_0x13cd78[_0x69eacb(0x12a)]=_0x69eacb(0x11e);const _0x5b28cb=_0x13cd78,_0x403d98=_0x5b28cb[_0x69eacb(0x169)](_0x1a0182,_0x5b28cb[_0x69eacb(0x12a)]);if(this[_0x69eacb(0xca)][_0x403d98])return;performance[_0x69eacb(0xd2)](_0x403d98),this[_0x69eacb(0xca)][_0x403d98]=0x1;}static[a121_0x3f8c87(0xe3)](_0x38a393,_0x2783e4=!![],_0x4e9d3f=null,_0x2841d3={}){const _0x293652=a121_0x3f8c87,_0x1f77f3={'fZfyx':function(_0x1e82e1,_0x25c8dd){return _0x1e82e1+_0x25c8dd;},'FGACU':_0x293652(0xd3),'urUBo':function(_0x351cc0,_0x376758){return _0x351cc0+_0x376758;},'OQCEr':_0x293652(0x11e),'Abzmj':function(_0x424161){return _0x424161();},'jEhGC':function(_0x75ad73){return _0x75ad73();}};performance[_0x293652(0xd2)](_0x1f77f3[_0x293652(0xec)](_0x38a393,_0x1f77f3[_0x293652(0x153)])),performance[_0x293652(0x166)](_0x38a393,_0x1f77f3['urUBo'](_0x38a393,_0x1f77f3[_0x293652(0x113)]),_0x1f77f3[_0x293652(0xec)](_0x38a393,_0x1f77f3['FGACU']));const _0x4064c7={};_0x4064c7[_0x293652(0x110)]=_0x2783e4,_0x4064c7[_0x293652(0x117)]=_0x4e9d3f,this[_0x293652(0x16a)][_0x38a393]=Object[_0x293652(0xd9)](_0x4064c7,Object[_0x293652(0xd9)](Object[_0x293652(0xd9)]({'worker':_0x1f77f3[_0x293652(0x116)](getProcessId),'platform':global['__platformCaps']&&global[_0x293652(0xd1)]['index'],'testName':_0x1f77f3[_0x293652(0x14c)](getTestName)},_0x2841d3),this['details'][_0x38a393]||{}));}}module['exports']=PerformanceTester;
@@ -1 +1 @@
1
- const a122_0x372fe6=a122_0x7f77;(function(_0x11ca37,_0x358813){const _0x42bde8=a122_0x7f77,_0x33217f=_0x11ca37();while(!![]){try{const _0x37b4f1=-parseInt(_0x42bde8(0x158))/0x1*(-parseInt(_0x42bde8(0x166))/0x2)+parseInt(_0x42bde8(0x104))/0x3+parseInt(_0x42bde8(0x125))/0x4+-parseInt(_0x42bde8(0x10b))/0x5*(-parseInt(_0x42bde8(0x112))/0x6)+-parseInt(_0x42bde8(0x136))/0x7+parseInt(_0x42bde8(0x108))/0x8*(parseInt(_0x42bde8(0x11f))/0x9)+-parseInt(_0x42bde8(0x145))/0xa*(parseInt(_0x42bde8(0x11b))/0xb);if(_0x37b4f1===_0x358813)break;else _0x33217f['push'](_0x33217f['shift']());}catch(_0x529c04){_0x33217f['push'](_0x33217f['shift']());}}}(a122_0x4412,0xa37d2));function a122_0x7f77(_0x583dbe,_0xacd30a){const _0x4412f3=a122_0x4412();return a122_0x7f77=function(_0x7f775b,_0x300ffc){_0x7f775b=_0x7f775b-0xf5;let _0x2fb063=_0x4412f3[_0x7f775b];return _0x2fb063;},a122_0x7f77(_0x583dbe,_0xacd30a);}const path=require(a122_0x372fe6(0x110)),util=require(a122_0x372fe6(0x16d)),{importFileFromPWCore}=require('./helper'),helper=require(a122_0x372fe6(0xf6)),logger=require('./logger')[a122_0x372fe6(0x151)],W3CMapping=require(a122_0x372fe6(0x119))[a122_0x372fe6(0x150)](),constants=require(a122_0x372fe6(0x16f)),BrowserstackCLI=require(a122_0x372fe6(0x11a)),CLIUtils=require('../bin/v2/cliUtils');let GrpcClient;function a122_0x4412(){const _0xfe5e62=['config','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','hcDaC','browserstack.buildProductMap','cucumberjs-pw','util','GPtgv','../bin/utils/constants','importFileFromPWCore','pqIVa','./helper','zGrhF','error','setFrameworkDetail','CuaQK','oxCOB','OoZHG','bstack:options','getBuildProductMap','capabilities','browserstack.accessibilityOptions.wcagVersion','workers','browser','FRAMEWORKS','1583115vylQky','browserstack.testhubBuildUuid','mCsal','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','88376thIfRS','browserName','setBrowserstackConfig','1105120WCxHed','BHAfl','LGinA','isArray','Could\x20not\x20import\x20GrpcClient:\x20','path','\x20flow','6ilAzxd','getPlaywrightBrowserType','join','getConfig','sWCvN','hVFHA','configPath','./w3cMapping','../bin/v2/browserstackCLI','1782286Rvreco','fWrKT','yrBhs','browserstack.accessibilityOptions.authToken','567ejZuDY','qORKx','MCYJQ','message','BS_A11Y_JWT','HYTGG','112360JsEVzs','getModifiedConfigFromCLI','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','RXJAP','getPlaywrightConfig','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','Playwright\x20not\x20available:\x20','hvTSz','xpAHf','oEYWb','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','lib','hIAMc','projects','stringify','generatePlaywrightUrl','UcisE','6574064ASGfpw','format','BROWSERSTACK_PRODUCT_MAP','\x20for\x20','rwcPI','PHXbZ','No\x20modified\x20config\x20received\x20from\x20gRPC','aVZiB','__platformCaps','PYxcU','getBrowserTypePath','VUTtB','nSPJF','checkPwandBootstrapCli','wapiH','70jGJqiY','use','fPRfr','parse','kyhio','getBrowserFromCaps','debug','QoMlf','YvCCQ','./testhub/utils','platformCaps','W3CMapping','winstonLogger','getPlaywrightUrl','__accessibilityOptions','length','entries','agBzB','GcXmV','24427mzaSmH','BrowserType','../bin/v2/grpcClient','client','bootstrap','framework','getInstance','browserType.js','jasrB','Received\x20modified\x20config\x20from\x20gRPC:\x20','Cvoyh','env','browserstack.accessibilityOptions.scannerVersion','uZuRE','104bnHezc','exports'];a122_0x4412=function(){return _0xfe5e62;};return a122_0x4412();}try{GrpcClient=require(a122_0x372fe6(0x15a));}catch(a122_0x2e4ccd){logger[a122_0x372fe6(0x14b)](a122_0x372fe6(0x10f)+a122_0x2e4ccd[a122_0x372fe6(0x122)]),GrpcClient=null;}const convertW3CToJsonWire=_0x2feaf7=>{const _0x3742e5=a122_0x372fe6,_0x4af94c={};_0x4af94c[_0x3742e5(0x12c)]=function(_0x16c6ea,_0x4136bd){return _0x16c6ea||_0x4136bd;},_0x4af94c[_0x3742e5(0x116)]=function(_0x56d651,_0x37006a){return _0x56d651===_0x37006a;},_0x4af94c[_0x3742e5(0xf7)]=_0x3742e5(0xfd),_0x4af94c['BHAfl']=function(_0x533ab4,_0x58478a){return _0x533ab4===_0x58478a;},_0x4af94c[_0x3742e5(0x11c)]=function(_0x1f7502,_0x487892){return _0x1f7502 in _0x487892;};const _0x3c66b0=_0x4af94c,_0x14fbc2={};for(const [_0xe39270,_0x388926]of Object[_0x3742e5(0x155)](_0x3c66b0[_0x3742e5(0x12c)](_0x2feaf7,{}))){if(_0x3c66b0[_0x3742e5(0x116)](_0xe39270,_0x3c66b0[_0x3742e5(0xf7)]))continue;let _0x2c9f17=![];for(const [_0x4d7f33,_0x5911c4]of Object[_0x3742e5(0x155)](W3CMapping)){if(_0x3c66b0[_0x3742e5(0x10c)](_0xe39270,_0x5911c4)){_0x14fbc2[_0x4d7f33]=_0x388926,_0x2c9f17=!![];break;}}!_0x2c9f17&&(_0x14fbc2[_0xe39270]=_0x388926);}const _0xd93330=_0x2feaf7[_0x3c66b0[_0x3742e5(0xf7)]]||{};for(const [_0x401908,_0x275135]of Object[_0x3742e5(0x155)](_0xd93330)){let _0x1cc201=![];for(const [_0x52a4b8,_0x179154]of Object[_0x3742e5(0x155)](W3CMapping)){if(_0x3c66b0[_0x3742e5(0x10c)](_0x401908,_0x179154)){_0x14fbc2[_0x52a4b8]=_0x275135,_0x1cc201=!![];break;}}!_0x1cc201&&!_0x3c66b0[_0x3742e5(0x11c)](_0x401908,_0x14fbc2)&&(_0x14fbc2[_0x401908]=_0x275135);}return logger['debug'](_0x3742e5(0x12a)+JSON[_0x3742e5(0x133)](_0x14fbc2)),_0x14fbc2;},getModifiedConfigFromCLI=async _0x33f236=>{const _0x1feca2=a122_0x372fe6,_0x4b02d4={};_0x4b02d4['qORKx']='GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request',_0x4b02d4[_0x1feca2(0x128)]=_0x1feca2(0x16c),_0x4b02d4[_0x1feca2(0x135)]=_0x1feca2(0x127),_0x4b02d4[_0x1feca2(0x14d)]=_0x1feca2(0x13c),_0x4b02d4[_0x1feca2(0x147)]=function(_0x240411,_0x1950e1){return _0x240411>_0x1950e1;},_0x4b02d4[_0x1feca2(0xfb)]=function(_0x5c5265,_0x5b0764){return _0x5c5265>_0x5b0764;},_0x4b02d4['agBzB']='No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response';const _0x11603f=_0x4b02d4;try{if(!GrpcClient)return logger[_0x1feca2(0x14b)](_0x11603f[_0x1feca2(0x120)]),null;const _0x16724b={};_0x16724b['capabilities']=_0x33f236,_0x16724b[_0x1feca2(0x15d)]=_0x11603f[_0x1feca2(0x128)],_0x16724b[_0x1feca2(0x101)]=0x1,_0x16724b[_0x1feca2(0x132)]=[];const _0x60aba8=_0x16724b;logger[_0x1feca2(0x14b)](_0x11603f[_0x1feca2(0x135)]);const _0x407018={};_0x407018['playwrightConfigObject']=_0x60aba8;const _0x5c7d0f=await GrpcClient[_0x1feca2(0x15e)]()[_0x1feca2(0x129)](_0x407018);if(!_0x5c7d0f['getConfig']())return logger[_0x1feca2(0x14b)](_0x11603f[_0x1feca2(0x14d)]),null;const _0x480810=JSON[_0x1feca2(0x148)](_0x5c7d0f[_0x1feca2(0x115)]());logger['debug'](_0x1feca2(0x161)+JSON[_0x1feca2(0x133)](_0x480810));if(_0x480810['capabilities']&&Array[_0x1feca2(0x10e)](_0x480810['capabilities'])&&_0x11603f[_0x1feca2(0x147)](_0x480810[_0x1feca2(0xff)][_0x1feca2(0x154)],0x0))return _0x480810[_0x1feca2(0xff)][0x0];else{if(_0x480810[_0x1feca2(0x132)]&&Array[_0x1feca2(0x10e)](_0x480810[_0x1feca2(0x132)])&&_0x11603f[_0x1feca2(0xfb)](_0x480810[_0x1feca2(0x132)][_0x1feca2(0x154)],0x0)){const _0xa3c13c=_0x480810[_0x1feca2(0x132)][0x0];if(_0xa3c13c[_0x1feca2(0x146)]&&_0xa3c13c[_0x1feca2(0x146)][_0x1feca2(0x14f)])return _0xa3c13c[_0x1feca2(0x146)][_0x1feca2(0x14f)];}}return logger[_0x1feca2(0x14b)](_0x11603f[_0x1feca2(0x156)]),null;}catch(_0x1d432a){logger[_0x1feca2(0xf8)](_0x1feca2(0x12f)+_0x1d432a[_0x1feca2(0x122)]);throw _0x1d432a;}},generatePlaywrightUrl=(_0x560b72,_0x46805e)=>{const _0x30d31c=a122_0x372fe6,_0xa2f045={'CuaQK':function(_0x1e6575,_0x2bcdfa){return _0x1e6575!==_0x2bcdfa;},'uZuRE':function(_0x1c6530,_0x152bb4){return _0x1c6530!==_0x152bb4;},'MCYJQ':function(_0x51b61b,_0xa1fb64){return _0x51b61b!==_0xa1fb64;},'wapiH':function(_0x5e5467,_0x1e6c45){return _0x5e5467!==_0x1e6c45;},'hIAMc':function(_0x2b10b2,_0x586a9c){return _0x2b10b2!==_0x586a9c;},'PHXbZ':function(_0x25f8ac,_0x1ebc70){return _0x25f8ac(_0x1ebc70);},'rwcPI':function(_0x1398ef,_0x47efd4){return _0x1398ef||_0x47efd4;},'GcXmV':_0x30d31c(0x11e),'aVZiB':function(_0x18f326,_0xbc389){return _0x18f326(_0xbc389);},'HYTGG':_0x30d31c(0x100),'pqIVa':function(_0x4c7f1b,_0x3b4d7e){return _0x4c7f1b(_0x3b4d7e);},'hVFHA':_0x30d31c(0x164),'QoMlf':'browserstack.accessibilityOptions.scannerProcessingTimeout','HKaxW':_0x30d31c(0x105),'nSPJF':_0x30d31c(0x16b),'yrBhs':function(_0x42f497,_0x2fbb78){return _0x42f497+_0x2fbb78;},'jasrB':function(_0x2e3862,_0x44543e){return _0x2e3862(_0x44543e);}},_0x41f413=helper[_0x30d31c(0x152)](_0x560b72),_0x5a539b=_0xa2f045['PHXbZ'](convertW3CToJsonWire,_0x46805e);try{const _0x2619b1=[_0xa2f045[_0x30d31c(0x13a)](_0x46805e,{}),global['__launchCaps']||{},global[_0x30d31c(0x13e)]||{},global[_0x30d31c(0x153)]||{}],_0xba88c1=_0x4d3f41=>{const _0x195372=_0x30d31c;if(_0xa2f045[_0x195372(0xfa)](_0x5a539b[_0x4d3f41],undefined)&&_0xa2f045[_0x195372(0x165)](_0x5a539b[_0x4d3f41],null)&&_0xa2f045[_0x195372(0x121)](_0x5a539b[_0x4d3f41],''))return;for(const _0x95f2a4 of _0x2619b1){if(_0x95f2a4&&_0xa2f045[_0x195372(0x144)](_0x95f2a4[_0x4d3f41],undefined)&&_0xa2f045[_0x195372(0x131)](_0x95f2a4[_0x4d3f41],null)&&_0xa2f045['MCYJQ'](_0x95f2a4[_0x4d3f41],'')){_0x5a539b[_0x4d3f41]=_0x95f2a4[_0x4d3f41];return;}}};_0xa2f045[_0x30d31c(0x13b)](_0xba88c1,_0xa2f045[_0x30d31c(0x157)]),_0xa2f045[_0x30d31c(0x13d)](_0xba88c1,_0xa2f045[_0x30d31c(0x124)]),_0xa2f045[_0x30d31c(0xf5)](_0xba88c1,_0xa2f045[_0x30d31c(0x117)]),_0xa2f045[_0x30d31c(0x13b)](_0xba88c1,_0xa2f045[_0x30d31c(0x14c)]),!_0x5a539b[_0xa2f045[_0x30d31c(0x157)]]&&process[_0x30d31c(0x163)][_0x30d31c(0x123)]&&(_0x5a539b[_0xa2f045['GcXmV']]=process[_0x30d31c(0x163)][_0x30d31c(0x123)]);}catch(_0x584a87){logger['debug'](_0x30d31c(0x107)+util['format'](_0x584a87));}return _0x5a539b[_0xa2f045['HKaxW']]=process[_0x30d31c(0x163)]['BROWSERSTACK_TESTHUB_UUID'],_0x5a539b[_0xa2f045[_0x30d31c(0x142)]]=helper[_0x30d31c(0xfe)](),_0xa2f045[_0x30d31c(0x11d)](_0x41f413,_0xa2f045[_0x30d31c(0x160)](encodeURIComponent,JSON[_0x30d31c(0x133)](_0x5a539b)));},getBrowserFromCaps=_0x4aa7f3=>{const _0x174951=a122_0x372fe6,_0x8ca53b={};_0x8ca53b[_0x174951(0x10d)]='chrome';const _0x59b9f5=_0x8ca53b;return _0x4aa7f3[_0x174951(0x109)]||_0x4aa7f3[_0x174951(0x102)]||_0x59b9f5[_0x174951(0x10d)];},isPlaywrightAvailable=()=>{const _0x3b9a56=a122_0x372fe6,_0x2bea4c={'xpAHf':'lib','kyhio':_0x3b9a56(0x15b),'GPtgv':_0x3b9a56(0x15f),'Cvoyh':function(_0x21b751,_0x37137b){return _0x21b751(_0x37137b);}};try{const _0x43fba3=path[_0x3b9a56(0x114)](_0x2bea4c[_0x3b9a56(0x12d)],_0x2bea4c[_0x3b9a56(0x149)],_0x2bea4c[_0x3b9a56(0x16e)]),_0x9f78b0=_0x2bea4c[_0x3b9a56(0x162)](importFileFromPWCore,_0x43fba3);return!!_0x9f78b0;}catch(_0x2a79d0){return logger[_0x3b9a56(0x14b)](_0x3b9a56(0x12b)+util['format'](_0x2a79d0)),![];}},getPlaywrightBrowserType=()=>{const _0x4642b8=a122_0x372fe6,_0x3dd7aa={'OoZHG':_0x4642b8(0x130),'oEYWb':_0x4642b8(0x15b),'hcDaC':_0x4642b8(0x15f),'puwJl':function(_0x2a2075,_0x1c04ad){return _0x2a2075(_0x1c04ad);}};try{const _0x3ca9d2=path[_0x4642b8(0x114)](_0x3dd7aa[_0x4642b8(0xfc)],_0x3dd7aa[_0x4642b8(0x12e)],_0x3dd7aa[_0x4642b8(0x16a)]),_0x4bb4d0=_0x3dd7aa['puwJl'](importFileFromPWCore,_0x3ca9d2);return _0x4bb4d0?_0x4bb4d0[_0x4642b8(0x159)]:null;}catch(_0x3f16fb){return logger[_0x4642b8(0x14b)]('Error\x20getting\x20Playwright\x20BrowserType:\x20'+util[_0x4642b8(0x137)](_0x3f16fb)),null;}},getPlaywrightModulePath=()=>{const _0x15cc32=a122_0x372fe6,_0x213418={};_0x213418['VUTtB']=_0x15cc32(0x169);const _0x2dbfb2=_0x213418;return logger[_0x15cc32(0x14b)](_0x2dbfb2[_0x15cc32(0x141)]),null;},getBrowserTypePath=()=>{const _0x360486=a122_0x372fe6,_0x4d2778={};_0x4d2778[_0x360486(0x106)]='getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead';const _0x55d993=_0x4d2778;return logger['debug'](_0x55d993[_0x360486(0x106)]),null;},checkPwandBootstrapCli=async(_0x140a3f,_0x44ed8e,_0x2e519d)=>{const _0x3004cd=a122_0x372fe6,_0x1740ef={'PYxcU':function(_0x5e3fa2,_0x9e8f20){return _0x5e3fa2(_0x9e8f20);},'roQuE':_0x3004cd(0x14e),'VcEAr':function(_0x16a122,_0x575635){return _0x16a122(_0x575635);}};if(_0x140a3f){const _0x2dab70=constants[_0x3004cd(0x103)]['PLAYWRIGHT'];logger['debug']('Detected\x20Playwright\x20version\x20'+_0x140a3f+_0x3004cd(0x139)+_0x44ed8e+_0x3004cd(0x111)),CLIUtils[_0x3004cd(0xf9)](_0x44ed8e,_0x2dab70);const {getProductMap:_0x27f780}=_0x1740ef[_0x3004cd(0x13f)](require,_0x1740ef['roQuE']);process[_0x3004cd(0x163)][_0x3004cd(0x138)]=JSON[_0x3004cd(0x133)](_0x1740ef['VcEAr'](_0x27f780,_0x2e519d[_0x3004cd(0x168)])),BrowserstackCLI['getInstance']()[_0x3004cd(0x10a)](_0x2e519d['config'],_0x2e519d[_0x3004cd(0x118)],_0x2e519d['cliConfig']),await BrowserstackCLI[_0x3004cd(0x15e)]()[_0x3004cd(0x15c)]();}},a122_0xf0dbeb={};a122_0xf0dbeb['convertW3CToJsonWire']=convertW3CToJsonWire,a122_0xf0dbeb[a122_0x372fe6(0x126)]=getModifiedConfigFromCLI,a122_0xf0dbeb[a122_0x372fe6(0x134)]=generatePlaywrightUrl,a122_0xf0dbeb[a122_0x372fe6(0x14a)]=getBrowserFromCaps,a122_0xf0dbeb['isPlaywrightAvailable']=isPlaywrightAvailable,a122_0xf0dbeb[a122_0x372fe6(0x113)]=getPlaywrightBrowserType,a122_0xf0dbeb['getPlaywrightModulePath']=getPlaywrightModulePath,a122_0xf0dbeb[a122_0x372fe6(0x140)]=getBrowserTypePath,a122_0xf0dbeb[a122_0x372fe6(0x170)]=importFileFromPWCore,a122_0xf0dbeb[a122_0x372fe6(0x143)]=checkPwandBootstrapCli,module[a122_0x372fe6(0x167)]=a122_0xf0dbeb;
1
+ const a122_0xee3bf0=a122_0x56d2;(function(_0x2bdf26,_0xdfa4d3){const _0x5a8708=a122_0x56d2,_0x28a261=_0x2bdf26();while(!![]){try{const _0x42a8fb=-parseInt(_0x5a8708(0x101))/0x1+-parseInt(_0x5a8708(0xf1))/0x2*(-parseInt(_0x5a8708(0xfe))/0x3)+-parseInt(_0x5a8708(0xf9))/0x4*(-parseInt(_0x5a8708(0xcc))/0x5)+parseInt(_0x5a8708(0x115))/0x6*(parseInt(_0x5a8708(0xf6))/0x7)+-parseInt(_0x5a8708(0xd9))/0x8+parseInt(_0x5a8708(0xef))/0x9+parseInt(_0x5a8708(0x110))/0xa;if(_0x42a8fb===_0xdfa4d3)break;else _0x28a261['push'](_0x28a261['shift']());}catch(_0x347530){_0x28a261['push'](_0x28a261['shift']());}}}(a122_0x6fe4,0xb7b3e));function a122_0x56d2(_0x12c6c0,_0xc741b){const _0x6fe4f4=a122_0x6fe4();return a122_0x56d2=function(_0x56d26c,_0x3ed5ae){_0x56d26c=_0x56d26c-0xb7;let _0x827a87=_0x6fe4f4[_0x56d26c];return _0x827a87;},a122_0x56d2(_0x12c6c0,_0xc741b);}const path=require(a122_0xee3bf0(0x11c)),util=require('util'),{importFileFromPWCore}=require(a122_0xee3bf0(0x102)),helper=require(a122_0xee3bf0(0x102)),logger=require(a122_0xee3bf0(0xb9))[a122_0xee3bf0(0xd5)],W3CMapping=require(a122_0xee3bf0(0xe2))[a122_0xee3bf0(0x12d)](),constants=require(a122_0xee3bf0(0xbb)),BrowserstackCLI=require('../bin/v2/browserstackCLI'),CLIUtils=require('../bin/v2/cliUtils');let GrpcClient;function a122_0x6fe4(){const _0x1eaf21=['getInstance','Playwright\x20not\x20available:\x20','bfpTM','getBrowserFromCaps','Shvyk','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','CeCUh','BROWSERSTACK_PRODUCT_MAP','4459890CuBNBj','AUzsJ','platformCaps','OgOFD','bZToZ','2941218rHErNo','importFileFromPWCore','BkWfJ','ZFpym','No\x20modified\x20config\x20received\x20from\x20gRPC','AUnCu','TUuCr','path','getConfig','./testhub/utils','generatePlaywrightUrl','format','getPlaywrightBrowserType','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','YbspI','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','__platformCaps','__launchCaps','projects','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','debug','join','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','bootstrap','W3CMapping','zruUC','rTPfl','./logger','browser','../bin/utils/constants','client','setBrowserstackConfig','../bin/v2/grpcClient','PPFRC','BROWSERSTACK_TESTHUB_UUID','browserType.js','PWvWH','hqaWF','isArray','browserName','VJYCf','Could\x20not\x20import\x20GrpcClient:\x20','getBuildProductMap','nuGPa','__accessibilityOptions','length','11945HhTSIs','lib','browserstack.testhubBuildUuid','browserstack.accessibilityOptions.scannerVersion','tFMwi','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','DUMEP','stringify','MuRbz','winstonLogger','ixEWr','tveFt','\x20flow','5443824vNdfcs','setFrameworkDetail','getBrowserTypePath','browserstack.accessibilityOptions.wcagVersion','BS_A11Y_JWT','browserstack.accessibilityOptions.authToken','Received\x20modified\x20config\x20from\x20gRPC:\x20','Detected\x20Playwright\x20version\x20','config','./w3cMapping','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','isPlaywrightAvailable','WcRrh','hDSVx','lutQU','error','sYZjF','capabilities','exports','configPath','FRAMEWORKS','8941752vuAqXt','getPlaywrightUrl','268784otlXGz','cliConfig','zPbmY','browserstack.buildProductMap','XZzNR','7GzMjhx','entries','checkPwandBootstrapCli','1252NJWfwR','wwdca','getPlaywrightConfig','message','chrome','3MwBdHl','bhrqf','env','1378945nLeIkK','./helper','workers','use','framework','NKkTp','BrowserType'];a122_0x6fe4=function(){return _0x1eaf21;};return a122_0x6fe4();}try{GrpcClient=require(a122_0xee3bf0(0xbe));}catch(a122_0x41d504){logger[a122_0xee3bf0(0x129)](a122_0xee3bf0(0xc7)+a122_0x41d504['message']),GrpcClient=null;}const convertW3CToJsonWire=_0x1cfab4=>{const _0x3642e0=a122_0xee3bf0,_0x1edeae={};_0x1edeae['hqaWF']=function(_0x43a412,_0x2a7646){return _0x43a412||_0x2a7646;},_0x1edeae[_0x3642e0(0x118)]=function(_0x175187,_0x132c75){return _0x175187===_0x132c75;},_0x1edeae['bfpTM']='bstack:options',_0x1edeae['rTPfl']=function(_0x9d9a39,_0x20097a){return _0x9d9a39 in _0x20097a;};const _0x586dc2=_0x1edeae,_0x22eaa0={};for(const [_0x26e827,_0x3c473d]of Object[_0x3642e0(0xf7)](_0x586dc2[_0x3642e0(0xc3)](_0x1cfab4,{}))){if(_0x586dc2['ZFpym'](_0x26e827,_0x586dc2[_0x3642e0(0x10a)]))continue;let _0x13e355=![];for(const [_0x17de74,_0x30610c]of Object[_0x3642e0(0xf7)](W3CMapping)){if(_0x586dc2['ZFpym'](_0x26e827,_0x30610c)){_0x22eaa0[_0x17de74]=_0x3c473d,_0x13e355=!![];break;}}!_0x13e355&&(_0x22eaa0[_0x26e827]=_0x3c473d);}const _0x585139=_0x1cfab4[_0x586dc2['bfpTM']]||{};for(const [_0x1dcd05,_0xee4d4c]of Object[_0x3642e0(0xf7)](_0x585139)){let _0x965a55=![];for(const [_0x150219,_0x467fd1]of Object[_0x3642e0(0xf7)](W3CMapping)){if(_0x586dc2['ZFpym'](_0x1dcd05,_0x467fd1)){_0x22eaa0[_0x150219]=_0xee4d4c,_0x965a55=!![];break;}}!_0x965a55&&!_0x586dc2[_0x3642e0(0xb8)](_0x1dcd05,_0x22eaa0)&&(_0x22eaa0[_0x1dcd05]=_0xee4d4c);}return logger[_0x3642e0(0x129)](_0x3642e0(0x12b)+JSON[_0x3642e0(0xd3)](_0x22eaa0)),_0x22eaa0;},getModifiedConfigFromCLI=async _0x1ef167=>{const _0x489e06=a122_0xee3bf0,_0x14e031={};_0x14e031[_0x489e06(0xe6)]=_0x489e06(0x128),_0x14e031[_0x489e06(0x113)]='cucumberjs-pw',_0x14e031['MuRbz']=_0x489e06(0xe4),_0x14e031[_0x489e06(0xc6)]=_0x489e06(0x119),_0x14e031['bZToZ']=function(_0x2a36a5,_0x312631){return _0x2a36a5>_0x312631;},_0x14e031[_0x489e06(0xf3)]=_0x489e06(0xd1);const _0x56fa0a=_0x14e031;try{if(!GrpcClient)return logger[_0x489e06(0x129)](_0x56fa0a[_0x489e06(0xe6)]),null;const _0x52a620={};_0x52a620[_0x489e06(0xeb)]=_0x1ef167,_0x52a620[_0x489e06(0x105)]=_0x56fa0a[_0x489e06(0x113)],_0x52a620[_0x489e06(0x103)]=0x1,_0x52a620['projects']=[];const _0x180828=_0x52a620;logger[_0x489e06(0x129)](_0x56fa0a[_0x489e06(0xd4)]);const _0x1e865b={};_0x1e865b['playwrightConfigObject']=_0x180828;const _0x490126=await GrpcClient[_0x489e06(0x108)]()[_0x489e06(0xfb)](_0x1e865b);if(!_0x490126[_0x489e06(0x11d)]())return logger['debug'](_0x56fa0a[_0x489e06(0xc6)]),null;const _0x4801bd=JSON['parse'](_0x490126[_0x489e06(0x11d)]());logger['debug'](_0x489e06(0xdf)+JSON[_0x489e06(0xd3)](_0x4801bd));if(_0x4801bd['capabilities']&&Array[_0x489e06(0xc4)](_0x4801bd[_0x489e06(0xeb)])&&_0x56fa0a['bZToZ'](_0x4801bd[_0x489e06(0xeb)][_0x489e06(0xcb)],0x0))return _0x4801bd['capabilities'][0x0];else{if(_0x4801bd[_0x489e06(0x127)]&&Array[_0x489e06(0xc4)](_0x4801bd[_0x489e06(0x127)])&&_0x56fa0a[_0x489e06(0x114)](_0x4801bd['projects']['length'],0x0)){const _0x48a3ee=_0x4801bd['projects'][0x0];if(_0x48a3ee[_0x489e06(0x104)]&&_0x48a3ee['use'][_0x489e06(0x112)])return _0x48a3ee['use'][_0x489e06(0x112)];}}return logger[_0x489e06(0x129)](_0x56fa0a[_0x489e06(0xf3)]),null;}catch(_0x3a1615){logger[_0x489e06(0xe9)](_0x489e06(0x124)+_0x3a1615[_0x489e06(0xfc)]);throw _0x3a1615;}},generatePlaywrightUrl=(_0x1b4e85,_0x388766)=>{const _0x56abfa=a122_0xee3bf0,_0x3f210e={'BkWfJ':function(_0xf36e17,_0x34b4cc){return _0xf36e17!==_0x34b4cc;},'TUuCr':function(_0x4c3cd4,_0x2378ad){return _0x4c3cd4!==_0x2378ad;},'thUPj':function(_0x197fce,_0x1f2dc5){return _0x197fce!==_0x1f2dc5;},'NKkTp':function(_0x3b6693,_0x1749f7){return _0x3b6693!==_0x1749f7;},'ewyDc':function(_0x1ac632,_0x2b5787){return _0x1ac632!==_0x2b5787;},'bhrqf':function(_0x17a896,_0x5f0749){return _0x17a896(_0x5f0749);},'sRLuW':function(_0x484add,_0x9a5e6b){return _0x484add||_0x9a5e6b;},'nuGPa':_0x56abfa(0xde),'Shvyk':function(_0x516eaa,_0x3e8364){return _0x516eaa(_0x3e8364);},'ixEWr':_0x56abfa(0xdc),'fWjjD':function(_0x48d970,_0x3281d7){return _0x48d970(_0x3281d7);},'PWvWH':_0x56abfa(0xcf),'RCNJm':function(_0xc06e38,_0x29a7ce){return _0xc06e38(_0x29a7ce);},'pmOsP':'browserstack.accessibilityOptions.scannerProcessingTimeout','hDSVx':_0x56abfa(0xce),'zruUC':_0x56abfa(0xf4),'sYZjF':function(_0x3ccc2e,_0x4a960d){return _0x3ccc2e+_0x4a960d;},'RmtGq':function(_0x22b189,_0x4eaf9f){return _0x22b189(_0x4eaf9f);}},_0x556bd1=helper[_0x56abfa(0xf0)](_0x1b4e85),_0x221ac7=_0x3f210e[_0x56abfa(0xff)](convertW3CToJsonWire,_0x388766);try{const _0x46389a=[_0x3f210e['sRLuW'](_0x388766,{}),global[_0x56abfa(0x126)]||{},global[_0x56abfa(0x125)]||{},global[_0x56abfa(0xca)]||{}],_0x49ad2a=_0x91c9f3=>{const _0x3ed48b=_0x56abfa;if(_0x3f210e[_0x3ed48b(0x117)](_0x221ac7[_0x91c9f3],undefined)&&_0x3f210e['TUuCr'](_0x221ac7[_0x91c9f3],null)&&_0x3f210e['thUPj'](_0x221ac7[_0x91c9f3],''))return;for(const _0x424ffd of _0x46389a){if(_0x424ffd&&_0x3f210e[_0x3ed48b(0x106)](_0x424ffd[_0x91c9f3],undefined)&&_0x3f210e['ewyDc'](_0x424ffd[_0x91c9f3],null)&&_0x3f210e[_0x3ed48b(0x11b)](_0x424ffd[_0x91c9f3],'')){_0x221ac7[_0x91c9f3]=_0x424ffd[_0x91c9f3];return;}}};_0x3f210e[_0x56abfa(0xff)](_0x49ad2a,_0x3f210e[_0x56abfa(0xc9)]),_0x3f210e[_0x56abfa(0x10c)](_0x49ad2a,_0x3f210e[_0x56abfa(0xd6)]),_0x3f210e['fWjjD'](_0x49ad2a,_0x3f210e[_0x56abfa(0xc2)]),_0x3f210e['RCNJm'](_0x49ad2a,_0x3f210e['pmOsP']),!_0x221ac7[_0x3f210e[_0x56abfa(0xc9)]]&&process[_0x56abfa(0x100)][_0x56abfa(0xdd)]&&(_0x221ac7[_0x3f210e[_0x56abfa(0xc9)]]=process[_0x56abfa(0x100)][_0x56abfa(0xdd)]);}catch(_0x253ae4){logger['debug'](_0x56abfa(0xe3)+util[_0x56abfa(0x120)](_0x253ae4));}return _0x221ac7[_0x3f210e[_0x56abfa(0xe7)]]=process['env'][_0x56abfa(0xc0)],_0x221ac7[_0x3f210e[_0x56abfa(0xb7)]]=helper[_0x56abfa(0xc8)](),_0x3f210e[_0x56abfa(0xea)](_0x556bd1,_0x3f210e['RmtGq'](encodeURIComponent,JSON[_0x56abfa(0xd3)](_0x221ac7)));},getBrowserFromCaps=_0x5e6604=>{const _0x17e4a2=a122_0xee3bf0,_0x30b4e3={};_0x30b4e3[_0x17e4a2(0xd0)]=_0x17e4a2(0xfd);const _0x422bba=_0x30b4e3;return _0x5e6604[_0x17e4a2(0xc5)]||_0x5e6604[_0x17e4a2(0xba)]||_0x422bba[_0x17e4a2(0xd0)];},isPlaywrightAvailable=()=>{const _0x3a9cb6=a122_0xee3bf0,_0x38dd36={'YbspI':'lib','bxscz':_0x3a9cb6(0xbc),'PPFRC':_0x3a9cb6(0xc1),'wwdca':function(_0x52d03d,_0x35fc87){return _0x52d03d(_0x35fc87);}};try{const _0x18d84d=path[_0x3a9cb6(0x12a)](_0x38dd36[_0x3a9cb6(0x123)],_0x38dd36['bxscz'],_0x38dd36[_0x3a9cb6(0xbf)]),_0x1e4c85=_0x38dd36[_0x3a9cb6(0xfa)](importFileFromPWCore,_0x18d84d);return!!_0x1e4c85;}catch(_0x526749){return logger[_0x3a9cb6(0x129)](_0x3a9cb6(0x109)+util[_0x3a9cb6(0x120)](_0x526749)),![];}},getPlaywrightBrowserType=()=>{const _0x2c90d6=a122_0xee3bf0,_0x421051={'CeCUh':_0x2c90d6(0xcd),'tveFt':_0x2c90d6(0xbc),'DUMEP':_0x2c90d6(0xc1),'lutQU':function(_0x4d2e66,_0x29ef3f){return _0x4d2e66(_0x29ef3f);}};try{const _0x4af4b0=path[_0x2c90d6(0x12a)](_0x421051[_0x2c90d6(0x10e)],_0x421051[_0x2c90d6(0xd7)],_0x421051[_0x2c90d6(0xd2)]),_0x53da7d=_0x421051[_0x2c90d6(0xe8)](importFileFromPWCore,_0x4af4b0);return _0x53da7d?_0x53da7d[_0x2c90d6(0x107)]:null;}catch(_0x166b08){return logger[_0x2c90d6(0x129)]('Error\x20getting\x20Playwright\x20BrowserType:\x20'+util[_0x2c90d6(0x120)](_0x166b08)),null;}},getPlaywrightModulePath=()=>{const _0x38dbcf=a122_0xee3bf0,_0x2f33fd={};_0x2f33fd[_0x38dbcf(0x111)]=_0x38dbcf(0x122);const _0x364194=_0x2f33fd;return logger['debug'](_0x364194[_0x38dbcf(0x111)]),null;},getBrowserTypePath=()=>{const _0x5e9297=a122_0xee3bf0,_0x5f3114={};_0x5f3114[_0x5e9297(0x11a)]=_0x5e9297(0x10d);const _0x1372fd=_0x5f3114;return logger[_0x5e9297(0x129)](_0x1372fd['AUnCu']),null;},checkPwandBootstrapCli=async(_0x3ff5ee,_0x1cef58,_0x2b37a5)=>{const _0xa07e30=a122_0xee3bf0,_0x3da77b={'XZzNR':function(_0x1878ec,_0x5d8ad){return _0x1878ec(_0x5d8ad);},'QLlcX':_0xa07e30(0x11e)};if(_0x3ff5ee){const _0xb958b0=constants[_0xa07e30(0xee)]['PLAYWRIGHT'];logger['debug'](_0xa07e30(0xe0)+_0x3ff5ee+'\x20for\x20'+_0x1cef58+_0xa07e30(0xd8)),CLIUtils[_0xa07e30(0xda)](_0x1cef58,_0xb958b0);const {getProductMap:_0x938854}=_0x3da77b[_0xa07e30(0xf5)](require,_0x3da77b['QLlcX']);process[_0xa07e30(0x100)][_0xa07e30(0x10f)]=JSON['stringify'](_0x3da77b['XZzNR'](_0x938854,_0x2b37a5[_0xa07e30(0xe1)])),BrowserstackCLI[_0xa07e30(0x108)]()[_0xa07e30(0xbd)](_0x2b37a5[_0xa07e30(0xe1)],_0x2b37a5[_0xa07e30(0xed)],_0x2b37a5[_0xa07e30(0xf2)]),await BrowserstackCLI['getInstance']()[_0xa07e30(0x12c)]();}},a122_0x1f454a={};a122_0x1f454a['convertW3CToJsonWire']=convertW3CToJsonWire,a122_0x1f454a['getModifiedConfigFromCLI']=getModifiedConfigFromCLI,a122_0x1f454a[a122_0xee3bf0(0x11f)]=generatePlaywrightUrl,a122_0x1f454a[a122_0xee3bf0(0x10b)]=getBrowserFromCaps,a122_0x1f454a[a122_0xee3bf0(0xe5)]=isPlaywrightAvailable,a122_0x1f454a[a122_0xee3bf0(0x121)]=getPlaywrightBrowserType,a122_0x1f454a['getPlaywrightModulePath']=getPlaywrightModulePath,a122_0x1f454a[a122_0xee3bf0(0xdb)]=getBrowserTypePath,a122_0x1f454a[a122_0xee3bf0(0x116)]=importFileFromPWCore,a122_0x1f454a[a122_0xee3bf0(0xf8)]=checkPwandBootstrapCli,module[a122_0xee3bf0(0xec)]=a122_0x1f454a;
@@ -1 +1 @@
1
- function a123_0x20ef(_0x36040c,_0x171760){const _0x497b8b=a123_0x497b();return a123_0x20ef=function(_0x20efad,_0x46c3b2){_0x20efad=_0x20efad-0x108;let _0x4b87a6=_0x497b8b[_0x20efad];return _0x4b87a6;},a123_0x20ef(_0x36040c,_0x171760);}function a123_0x497b(){const _0x3431ef=['worker_threads','2560452UavyPN','debug','RPAuh','VmXRe','216cycBnF','1593522zIzcEF','getProcessId','log','47821WkJFeP','2317628GnXQOr','218768cnjImW','feUAR','TEST_REPORTING_ANALYTICS','../bin/utils/constants','BROWSERSTACK_TEST_REPORTING_DEBUG','getTestName','aEWWP','][\x20','2JvmHlt','./logger','TiMYH','sleep','5pdNszz','\x20]\x20','threadId','791616cUkdpo','pid','browserstackTestName','4669450OdWscO','cFGnh','env'];a123_0x497b=function(){return _0x3431ef;};return a123_0x497b();}const a123_0x37eb6d=a123_0x20ef;(function(_0xa3372b,_0x2ca406){const _0x3038ba=a123_0x20ef,_0x3a0205=_0xa3372b();while(!![]){try{const _0x40c985=parseInt(_0x3038ba(0x11d))/0x1*(-parseInt(_0x3038ba(0x127))/0x2)+parseInt(_0x3038ba(0x11a))/0x3+-parseInt(_0x3038ba(0x11e))/0x4*(-parseInt(_0x3038ba(0x10b))/0x5)+-parseInt(_0x3038ba(0x115))/0x6+-parseInt(_0x3038ba(0x10e))/0x7+parseInt(_0x3038ba(0x11f))/0x8*(-parseInt(_0x3038ba(0x119))/0x9)+parseInt(_0x3038ba(0x111))/0xa;if(_0x40c985===_0x2ca406)break;else _0x3a0205['push'](_0x3a0205['shift']());}catch(_0x584c24){_0x3a0205['push'](_0x3a0205['shift']());}}}(a123_0x497b,0x51703));const worker=require(a123_0x37eb6d(0x114)),{fileLogger}=require(a123_0x37eb6d(0x108)),{consoleHolder}=require('./test-observability/constants'),globals=require('./globals'),constants=require(a123_0x37eb6d(0x122));exports[a123_0x37eb6d(0x11b)]=()=>{const _0x29c089=a123_0x37eb6d;return process[_0x29c089(0x10f)]+'-'+worker[_0x29c089(0x10d)];},exports[a123_0x37eb6d(0x124)]=()=>{const _0x5f7d51=a123_0x37eb6d,_0x333b48={};_0x333b48[_0x5f7d51(0x112)]=_0x5f7d51(0x110);const _0x215b3f=_0x333b48;return globals['getGlobal'](_0x215b3f[_0x5f7d51(0x112)]);},exports[a123_0x37eb6d(0x10a)]=(_0x56be86=0x64)=>new Promise(_0x5d6569=>setTimeout(_0x5d6569,_0x56be86)),exports['debug']=_0x5a01ab=>{const _0x2fc404=a123_0x37eb6d,_0x142eac={};_0x142eac[_0x2fc404(0x125)]=function(_0x22fea2,_0xeaad08){return _0x22fea2===_0xeaad08;},_0x142eac['TiMYH']='true',_0x142eac[_0x2fc404(0x120)]=function(_0x477871,_0x3617f1){return _0x477871===_0x3617f1;},_0x142eac[_0x2fc404(0x118)]=function(_0x1a070b,_0x1f4cae){return _0x1a070b===_0x1f4cae;},_0x142eac[_0x2fc404(0x117)]=function(_0x375076,_0x3db1aa){return _0x375076===_0x3db1aa;};const _0x124eea=_0x142eac;fileLogger[_0x2fc404(0x116)]('['+new Date()['toISOString']()+_0x2fc404(0x126)+constants[_0x2fc404(0x121)]+_0x2fc404(0x10c)+_0x5a01ab),(_0x124eea[_0x2fc404(0x125)](process[_0x2fc404(0x113)][_0x2fc404(0x123)],_0x124eea[_0x2fc404(0x109)])||_0x124eea['feUAR'](process[_0x2fc404(0x113)]['BROWSERSTACK_TEST_REPORTING_DEBUG'],'1')||_0x124eea[_0x2fc404(0x118)](process['env']['BROWSERSTACK_OBSERVABILITY_DEBUG'],_0x124eea[_0x2fc404(0x109)])||_0x124eea[_0x2fc404(0x117)](process[_0x2fc404(0x113)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],'1'))&&consoleHolder[_0x2fc404(0x11c)]('\x0a['+new Date()['toISOString']()+_0x2fc404(0x126)+constants[_0x2fc404(0x121)]+_0x2fc404(0x10c)+_0x5a01ab+'\x0a');};
1
+ function a123_0x2e79(){const _0x14c0ec=['sleep','browserstackTestName','djnbM','threadId','OZZmR','14463uZzjoZ','../bin/utils/constants','\x20]\x20','./globals','1516041ZUiCpd','4836160wMIRrX','BROWSERSTACK_TEST_REPORTING_DEBUG','583JGIVxe','toISOString','368JgWdZU','211188RjGEvY','mNCBr','560892druody','7IhFncV','BROWSERSTACK_OBSERVABILITY_DEBUG','5TOiYFj','4iKgeSR','getProcessId','log','env','VJTZO','TEST_REPORTING_ANALYTICS','KDvEE','][\x20','getTestName','pid','843365ATfHVH','191350EzLfrV','getGlobal'];a123_0x2e79=function(){return _0x14c0ec;};return a123_0x2e79();}const a123_0x429795=a123_0x1a49;function a123_0x1a49(_0x1000f2,_0x83b70c){const _0x2e79ff=a123_0x2e79();return a123_0x1a49=function(_0x1a4955,_0x35fa54){_0x1a4955=_0x1a4955-0x1bd;let _0x493521=_0x2e79ff[_0x1a4955];return _0x493521;},a123_0x1a49(_0x1000f2,_0x83b70c);}(function(_0x48df54,_0x36ffba){const _0x2b1867=a123_0x1a49,_0x93a71b=_0x48df54();while(!![]){try{const _0x2c7768=parseInt(_0x2b1867(0x1de))/0x1*(-parseInt(_0x2b1867(0x1c8))/0x2)+-parseInt(_0x2b1867(0x1d3))/0x3+parseInt(_0x2b1867(0x1bd))/0x4*(-parseInt(_0x2b1867(0x1c7))/0x5)+parseInt(_0x2b1867(0x1db))/0x6*(parseInt(_0x2b1867(0x1dc))/0x7)+parseInt(_0x2b1867(0x1d8))/0x8*(-parseInt(_0x2b1867(0x1cf))/0x9)+parseInt(_0x2b1867(0x1d4))/0xa+parseInt(_0x2b1867(0x1d6))/0xb*(parseInt(_0x2b1867(0x1d9))/0xc);if(_0x2c7768===_0x36ffba)break;else _0x93a71b['push'](_0x93a71b['shift']());}catch(_0x5d2469){_0x93a71b['push'](_0x93a71b['shift']());}}}(a123_0x2e79,0x45388));const worker=require('worker_threads'),{fileLogger}=require('./logger'),{consoleHolder}=require('./test-observability/constants'),globals=require(a123_0x429795(0x1d2)),constants=require(a123_0x429795(0x1d0));exports[a123_0x429795(0x1be)]=()=>{const _0x158781=a123_0x429795;return process[_0x158781(0x1c6)]+'-'+worker[_0x158781(0x1cd)];},exports[a123_0x429795(0x1c5)]=()=>{const _0x34c802=a123_0x429795,_0x20eedc={};_0x20eedc['djnbM']=_0x34c802(0x1cb);const _0x2d1dbf=_0x20eedc;return globals[_0x34c802(0x1c9)](_0x2d1dbf[_0x34c802(0x1cc)]);},exports[a123_0x429795(0x1ca)]=(_0x5a666f=0x64)=>new Promise(_0x15ea66=>setTimeout(_0x15ea66,_0x5a666f)),exports['debug']=_0xdb938=>{const _0x12c421=a123_0x429795,_0x1b7ba3={};_0x1b7ba3[_0x12c421(0x1ce)]=function(_0x3ebcc3,_0x4e6262){return _0x3ebcc3===_0x4e6262;},_0x1b7ba3['mNCBr']='true',_0x1b7ba3['VJTZO']=function(_0x571dd8,_0x2665ca){return _0x571dd8===_0x2665ca;},_0x1b7ba3['KDvEE']=function(_0x21a546,_0x11d2b8){return _0x21a546===_0x11d2b8;};const _0x1a8dde=_0x1b7ba3;fileLogger['debug']('['+new Date()[_0x12c421(0x1d7)]()+_0x12c421(0x1c4)+constants[_0x12c421(0x1c2)]+_0x12c421(0x1d1)+_0xdb938),(_0x1a8dde[_0x12c421(0x1ce)](process[_0x12c421(0x1c0)][_0x12c421(0x1d5)],_0x1a8dde[_0x12c421(0x1da)])||_0x1a8dde[_0x12c421(0x1ce)](process[_0x12c421(0x1c0)][_0x12c421(0x1d5)],'1')||_0x1a8dde[_0x12c421(0x1c1)](process[_0x12c421(0x1c0)][_0x12c421(0x1dd)],_0x1a8dde[_0x12c421(0x1da)])||_0x1a8dde[_0x12c421(0x1c3)](process[_0x12c421(0x1c0)][_0x12c421(0x1dd)],'1'))&&consoleHolder[_0x12c421(0x1bf)]('\x0a['+new Date()[_0x12c421(0x1d7)]()+_0x12c421(0x1c4)+constants['TEST_REPORTING_ANALYTICS']+_0x12c421(0x1d1)+_0xdb938+'\x0a');};
@@ -1 +1 @@
1
- const a124_0x165051=a124_0x3596;(function(_0x277945,_0x1c1932){const _0x1dab4a=a124_0x3596,_0x2df5a1=_0x277945();while(!![]){try{const _0x2d0a04=parseInt(_0x1dab4a(0x137))/0x1*(parseInt(_0x1dab4a(0x116))/0x2)+parseInt(_0x1dab4a(0x13d))/0x3*(parseInt(_0x1dab4a(0x13a))/0x4)+parseInt(_0x1dab4a(0x125))/0x5*(parseInt(_0x1dab4a(0x142))/0x6)+-parseInt(_0x1dab4a(0x12f))/0x7+-parseInt(_0x1dab4a(0x126))/0x8*(-parseInt(_0x1dab4a(0x138))/0x9)+parseInt(_0x1dab4a(0x12a))/0xa+-parseInt(_0x1dab4a(0x130))/0xb;if(_0x2d0a04===_0x1c1932)break;else _0x2df5a1['push'](_0x2df5a1['shift']());}catch(_0x25cd3b){_0x2df5a1['push'](_0x2df5a1['shift']());}}}(a124_0x265a,0x3da6f));const http=require(a124_0x165051(0x117)),https=require(a124_0x165051(0x12b)),monkeypatch=require('monkeypatch');function a124_0x265a(){const _0x26151f=['WqatY','FnOOI','vTIkN','now','MtWLM','7jtPwDi','72nYXTan','restore','44tePMuj','socket','end','22722QydBpy','awIrN','path','unpatch','exports','30auTfRa','xQUpI','once','73724bXgAtz','http','host','FXJZD','url','qHraX','pathname','duration_ms','object','krizd','headers','uudgI','request','fzbon','kMVYa','359815euAIwN','120NUnJMR','prototype','assign','hostname','2822780Gysshc','https','slice','removeListener','method','2335571KNBouo','4371191IJrfVM','status_code'];a124_0x265a=function(){return _0x26151f;};return a124_0x265a();}function spy(_0x47bc70){const _0x52ad9c=a124_0x165051,_0x271259={'KPpKR':function(_0x3d444e,_0x36e139){return _0x3d444e-_0x36e139;},'xQUpI':function(_0x3ea4c9,_0x341e9b,_0x568419){return _0x3ea4c9(_0x341e9b,_0x568419);},'uudgI':'error','MnMxE':function(_0x5605b9,..._0x492ea7){return _0x5605b9(..._0x492ea7);},'WqatY':function(_0x27d25b,_0x408ba6){return _0x27d25b instanceof _0x408ba6;},'fzbon':function(_0x4e8f6a,_0x5a8ccd){return _0x4e8f6a===_0x5a8ccd;},'FnOOI':_0x52ad9c(0x11e),'pNqRg':function(_0x1557b4,_0x2bd52f,_0x5d7554){return _0x1557b4(_0x2bd52f,_0x5d7554);},'kMVYa':'response','SSEWH':_0x52ad9c(0x13b),'FXJZD':function(_0x288372,_0x41fd06,_0x3f0e5c,_0x4a2cc3){return _0x288372(_0x41fd06,_0x3f0e5c,_0x4a2cc3);},'vTIkN':_0x52ad9c(0x13c),'krizd':'request'},_0xe76168=function(){const _0x98103c=_0x52ad9c,_0x1c93fc={'qHraX':function(_0x1bad50,_0x2a4aef){const _0x1ce79b=a124_0x3596;return _0x271259[_0x1ce79b(0x132)](_0x1bad50,_0x2a4aef);},'tBpff':function(_0x5656fb,_0x4163fd){const _0x9486c5=a124_0x3596;return _0x271259[_0x9486c5(0x123)](_0x5656fb,_0x4163fd);},'jADZG':_0x271259[_0x98103c(0x133)],'awIrN':function(_0xeffaab,_0x3e31fe,_0x4368e3){return _0x271259['pNqRg'](_0xeffaab,_0x3e31fe,_0x4368e3);},'MtWLM':_0x271259[_0x98103c(0x121)]},_0x777487=arguments[0x0],_0x20ea18=Array[_0x98103c(0x127)][_0x98103c(0x12c)]['call'](arguments,0x1),_0x44b71f=_0x777487['apply'](this,_0x20ea18);let _0x5e94f2=Date[_0x98103c(0x135)](),_0x87734f;const _0x14a3a2={};_0x20ea18['forEach'](_0x18b2ad=>{const _0x31d915=_0x98103c;if(_0x1c93fc[_0x31d915(0x11b)](_0x18b2ad,URL)){const _0x5d518c={};_0x5d518c[_0x31d915(0x11a)]=_0x18b2ad,Object[_0x31d915(0x128)](_0x14a3a2,_0x5d518c);}else _0x1c93fc['tBpff'](typeof _0x18b2ad,_0x1c93fc['jADZG'])&&Object[_0x31d915(0x128)](_0x14a3a2,_0x18b2ad);});const _0x574ee7=_0x31d55f=>{const _0x1864b2=_0x98103c,_0x4f8fe3={};_0x4f8fe3[_0x1864b2(0x118)]=_0x14a3a2[_0x1864b2(0x118)]||_0x14a3a2[_0x1864b2(0x129)]||_0x14a3a2[_0x1864b2(0x11a)]&&(_0x14a3a2['url'][_0x1864b2(0x118)]||_0x14a3a2[_0x1864b2(0x11a)][_0x1864b2(0x129)]),_0x4f8fe3[_0x1864b2(0x13f)]=_0x14a3a2[_0x1864b2(0x13f)]||_0x14a3a2[_0x1864b2(0x11a)]&&_0x14a3a2[_0x1864b2(0x11a)][_0x1864b2(0x11c)],_0x4f8fe3[_0x1864b2(0x12e)]=_0x14a3a2[_0x1864b2(0x12e)],_0x4f8fe3['headers']=_0x14a3a2[_0x1864b2(0x120)],_0x1c93fc[_0x1864b2(0x13e)](_0x47bc70,_0x31d55f,_0x4f8fe3);};return _0x44b71f['once'](_0x271259[_0x98103c(0x124)],_0x46dca4=>{const _0x107d62=_0x98103c,_0x243e6d=_0x271259['KPpKR'](Date[_0x107d62(0x135)](),_0x5e94f2),_0x599020={};_0x599020[_0x107d62(0x129)]=_0x14a3a2[_0x107d62(0x118)]||_0x14a3a2[_0x107d62(0x129)]||_0x14a3a2['url']&&(_0x14a3a2[_0x107d62(0x11a)]['host']||_0x14a3a2[_0x107d62(0x11a)][_0x107d62(0x129)]),_0x599020['path']=_0x14a3a2[_0x107d62(0x13f)]||_0x14a3a2[_0x107d62(0x11a)]&&_0x14a3a2['url'][_0x107d62(0x11c)],_0x599020[_0x107d62(0x12e)]=_0x14a3a2['method'],_0x599020[_0x107d62(0x120)]=_0x14a3a2[_0x107d62(0x120)],_0x599020[_0x107d62(0x131)]=_0x46dca4['statusCode'],_0x599020[_0x107d62(0x11d)]=_0x243e6d,_0x271259[_0x107d62(0x114)](_0x47bc70,null,_0x599020),_0x87734f[_0x107d62(0x12d)](_0x271259[_0x107d62(0x121)],_0x574ee7);}),_0x44b71f['on'](_0x271259['SSEWH'],_0xae55c6=>{const _0xe6195c=_0x98103c;_0x87734f=_0xae55c6,_0xae55c6[_0xe6195c(0x115)](_0x1c93fc[_0xe6195c(0x136)],_0x574ee7);}),_0x271259['FXJZD'](monkeypatch,_0x44b71f,_0x271259[_0x98103c(0x134)],(_0x415bac,..._0xe30141)=>{const _0x362c9c=_0x98103c;_0x5e94f2=Date[_0x362c9c(0x135)](),_0x271259['MnMxE'](_0x415bac,..._0xe30141);}),_0x44b71f;};_0x271259['FXJZD'](monkeypatch,http,_0x271259[_0x52ad9c(0x11f)],_0xe76168),_0x271259[_0x52ad9c(0x119)](monkeypatch,https,_0x271259[_0x52ad9c(0x11f)],_0xe76168);}function restore(){const _0x22b812=a124_0x165051;http[_0x22b812(0x122)][_0x22b812(0x140)](),https[_0x22b812(0x122)][_0x22b812(0x140)]();}function a124_0x3596(_0x42bd3a,_0x1f1951){const _0x265ad4=a124_0x265a();return a124_0x3596=function(_0x35969e,_0x1f90a4){_0x35969e=_0x35969e-0x114;let _0x515155=_0x265ad4[_0x35969e];return _0x515155;},a124_0x3596(_0x42bd3a,_0x1f1951);}const a124_0x5e9d93={};a124_0x5e9d93['spy']=spy,a124_0x5e9d93[a124_0x165051(0x139)]=restore,module[a124_0x165051(0x141)]=a124_0x5e9d93;
1
+ const a124_0x37f1eb=a124_0xa518;(function(_0x4a4c27,_0x4a24b7){const _0x1de6fb=a124_0xa518,_0xbf6789=_0x4a4c27();while(!![]){try{const _0x6f04e0=parseInt(_0x1de6fb(0x177))/0x1+parseInt(_0x1de6fb(0x16a))/0x2*(parseInt(_0x1de6fb(0x15c))/0x3)+-parseInt(_0x1de6fb(0x15b))/0x4*(-parseInt(_0x1de6fb(0x188))/0x5)+parseInt(_0x1de6fb(0x17f))/0x6*(-parseInt(_0x1de6fb(0x17d))/0x7)+-parseInt(_0x1de6fb(0x168))/0x8*(parseInt(_0x1de6fb(0x15d))/0x9)+-parseInt(_0x1de6fb(0x179))/0xa+parseInt(_0x1de6fb(0x160))/0xb;if(_0x6f04e0===_0x4a24b7)break;else _0xbf6789['push'](_0xbf6789['shift']());}catch(_0x57f79a){_0xbf6789['push'](_0xbf6789['shift']());}}}(a124_0x245a,0xb75b7));function a124_0xa518(_0x2739a5,_0x2d14b1){const _0x245a86=a124_0x245a();return a124_0xa518=function(_0xa518d,_0xcb1d1d){_0xa518d=_0xa518d-0x15b;let _0x3fc837=_0x245a86[_0xa518d];return _0x3fc837;},a124_0xa518(_0x2739a5,_0x2d14b1);}const http=require('http'),https=require(a124_0x37f1eb(0x16d)),monkeypatch=require('monkeypatch');function spy(_0x3fb69a){const _0x532f68=a124_0x37f1eb,_0x4ddd82={'yGHCY':function(_0x1be6d6,_0x168d05,_0x20666c){return _0x1be6d6(_0x168d05,_0x20666c);},'nIVSa':function(_0x58fee9,_0xedee9d){return _0x58fee9-_0xedee9d;},'jAnBK':_0x532f68(0x17e),'Bdrxs':function(_0x462641,_0x1d5881){return _0x462641 instanceof _0x1d5881;},'PLeeO':function(_0xb6f575,_0x3dd01a){return _0xb6f575===_0x3dd01a;},'fLxcx':_0x532f68(0x16e),'KJzdw':function(_0xd4ae51,..._0xc2c772){return _0xd4ae51(..._0xc2c772);},'QXpGt':_0x532f68(0x16c),'qxBik':_0x532f68(0x189),'adgEq':function(_0x2d063a,_0x5b1323,_0x2ffd23,_0xd10e0f){return _0x2d063a(_0x5b1323,_0x2ffd23,_0xd10e0f);},'SYlKy':'end','cBOJg':_0x532f68(0x180),'TqwuN':function(_0x3c851c,_0x299d26,_0x56261b,_0x3d0db0){return _0x3c851c(_0x299d26,_0x56261b,_0x3d0db0);}},_0x23077f=function(){const _0x17344c=_0x532f68,_0x23abfe={'GKNTs':function(_0x5d64b7,_0x52a1d8){const _0x998613=a124_0xa518;return _0x4ddd82[_0x998613(0x178)](_0x5d64b7,_0x52a1d8);},'ctYnS':function(_0x1db914,_0x3b1f37){return _0x4ddd82['PLeeO'](_0x1db914,_0x3b1f37);},'QBbyl':_0x4ddd82[_0x17344c(0x175)],'isSzR':function(_0x4ed2be,..._0x1ae47e){const _0x5ab906=_0x17344c;return _0x4ddd82[_0x5ab906(0x165)](_0x4ed2be,..._0x1ae47e);}},_0x468a81=arguments[0x0],_0x1cd512=Array['prototype'][_0x17344c(0x171)][_0x17344c(0x187)](arguments,0x1),_0x9e1d94=_0x468a81['apply'](this,_0x1cd512);let _0x26ecf0=Date[_0x17344c(0x174)](),_0x334ed5;const _0x5ce2f1={};_0x1cd512[_0x17344c(0x161)](_0x14026a=>{const _0x17eb7e=_0x17344c;if(_0x23abfe['GKNTs'](_0x14026a,URL)){const _0x34f60a={};_0x34f60a[_0x17eb7e(0x18a)]=_0x14026a,Object[_0x17eb7e(0x183)](_0x5ce2f1,_0x34f60a);}else _0x23abfe['ctYnS'](typeof _0x14026a,_0x23abfe[_0x17eb7e(0x170)])&&Object[_0x17eb7e(0x183)](_0x5ce2f1,_0x14026a);});const _0x10ed25=_0x4469b9=>{const _0x430684=_0x17344c,_0x2cc25d={};_0x2cc25d[_0x430684(0x167)]=_0x5ce2f1[_0x430684(0x167)]||_0x5ce2f1['hostname']||_0x5ce2f1[_0x430684(0x18a)]&&(_0x5ce2f1['url'][_0x430684(0x167)]||_0x5ce2f1['url']['hostname']),_0x2cc25d[_0x430684(0x17b)]=_0x5ce2f1['path']||_0x5ce2f1['url']&&_0x5ce2f1['url']['pathname'],_0x2cc25d[_0x430684(0x184)]=_0x5ce2f1[_0x430684(0x184)],_0x2cc25d[_0x430684(0x162)]=_0x5ce2f1[_0x430684(0x162)],_0x4ddd82['yGHCY'](_0x3fb69a,_0x4469b9,_0x2cc25d);};return _0x9e1d94[_0x17344c(0x17a)](_0x4ddd82[_0x17344c(0x15f)],_0x1cef80=>{const _0x4554bf=_0x17344c,_0x55d649=_0x4ddd82['nIVSa'](Date[_0x4554bf(0x174)](),_0x26ecf0),_0x47081c={};_0x47081c[_0x4554bf(0x15e)]=_0x5ce2f1[_0x4554bf(0x167)]||_0x5ce2f1[_0x4554bf(0x15e)]||_0x5ce2f1[_0x4554bf(0x18a)]&&(_0x5ce2f1[_0x4554bf(0x18a)][_0x4554bf(0x167)]||_0x5ce2f1[_0x4554bf(0x18a)]['hostname']),_0x47081c['path']=_0x5ce2f1[_0x4554bf(0x17b)]||_0x5ce2f1[_0x4554bf(0x18a)]&&_0x5ce2f1[_0x4554bf(0x18a)][_0x4554bf(0x17c)],_0x47081c[_0x4554bf(0x184)]=_0x5ce2f1[_0x4554bf(0x184)],_0x47081c['headers']=_0x5ce2f1[_0x4554bf(0x162)],_0x47081c[_0x4554bf(0x164)]=_0x1cef80[_0x4554bf(0x172)],_0x47081c[_0x4554bf(0x176)]=_0x55d649,_0x4ddd82['yGHCY'](_0x3fb69a,null,_0x47081c),_0x334ed5['removeListener'](_0x4ddd82[_0x4554bf(0x173)],_0x10ed25);}),_0x9e1d94['on'](_0x4ddd82[_0x17344c(0x181)],_0x40a92a=>{const _0x42773a=_0x17344c;_0x334ed5=_0x40a92a,_0x40a92a[_0x42773a(0x17a)](_0x4ddd82['jAnBK'],_0x10ed25);}),_0x4ddd82[_0x17344c(0x186)](monkeypatch,_0x9e1d94,_0x4ddd82[_0x17344c(0x166)],(_0x3d7626,..._0x20066d)=>{const _0x343f6f=_0x17344c;_0x26ecf0=Date[_0x343f6f(0x174)](),_0x23abfe[_0x343f6f(0x16f)](_0x3d7626,..._0x20066d);}),_0x9e1d94;};_0x4ddd82[_0x532f68(0x186)](monkeypatch,http,_0x4ddd82[_0x532f68(0x185)],_0x23077f),_0x4ddd82[_0x532f68(0x16b)](monkeypatch,https,_0x4ddd82['cBOJg'],_0x23077f);}function restore(){const _0x3c5db3=a124_0x37f1eb;http[_0x3c5db3(0x180)]['unpatch'](),https['request']['unpatch']();}function a124_0x245a(){const _0x343c3d=['statusCode','jAnBK','now','fLxcx','duration_ms','554188edAILM','Bdrxs','4995420YcayYH','once','path','pathname','1114883qtKwbu','error','12eCwxkA','request','qxBik','exports','assign','method','cBOJg','adgEq','call','6392065HNMPUh','socket','url','4rbmgps','33DJpVNG','45LWvaGG','hostname','QXpGt','3425345vhWvej','forEach','headers','restore','status_code','KJzdw','SYlKy','host','1648368sBcTaJ','spy','82790PiyTnQ','TqwuN','response','https','object','isSzR','QBbyl','slice'];a124_0x245a=function(){return _0x343c3d;};return a124_0x245a();}const a124_0x4678fc={};a124_0x4678fc[a124_0x37f1eb(0x169)]=spy,a124_0x4678fc[a124_0x37f1eb(0x163)]=restore,module[a124_0x37f1eb(0x182)]=a124_0x4678fc;
@@ -1 +1 @@
1
- const a125_0x13d995=a125_0x1c2d;(function(_0x453c20,_0x3fbe66){const _0x230097=a125_0x1c2d,_0x2c7aa9=_0x453c20();while(!![]){try{const _0x4f5532=parseInt(_0x230097(0x10e))/0x1*(parseInt(_0x230097(0x113))/0x2)+-parseInt(_0x230097(0x101))/0x3+-parseInt(_0x230097(0x105))/0x4+-parseInt(_0x230097(0xf4))/0x5*(parseInt(_0x230097(0x111))/0x6)+-parseInt(_0x230097(0x10b))/0x7*(-parseInt(_0x230097(0xff))/0x8)+parseInt(_0x230097(0x10c))/0x9*(parseInt(_0x230097(0x10d))/0xa)+parseInt(_0x230097(0xf9))/0xb*(-parseInt(_0x230097(0x107))/0xc);if(_0x4f5532===_0x3fbe66)break;else _0x2c7aa9['push'](_0x2c7aa9['shift']());}catch(_0x3d556a){_0x2c7aa9['push'](_0x2c7aa9['shift']());}}}(a125_0x1283,0x840d6));const PerformanceTester=require('./performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceEvents}=require(a125_0x13d995(0x108));function a125_0x1283(){const _0x4cb10f=['9060yxEJeM','./performance/constants','call','prototype','3612mAugWf','783tUlwyp','45310IsaVgE','1021487VRJQRC','protocol','IzpyE','1135032ENJTRE','ffyXU','2AOsgcu','15UJymjB','rnWKs','SlNQv','https','keepAlive','7337TKWIui','measureWrapper','request','https:','dJQhc','http','13984qtXJvf','keepAliveMsecs','512409PqSopq','KJtNZ','hasOwnProperty','exports','2139448fHkosj','globalAgent'];a125_0x1283=function(){return _0x4cb10f;};return a125_0x1283();}function a125_0x1c2d(_0x40ca12,_0x5b11dd){const _0x1283e8=a125_0x1283();return a125_0x1c2d=function(_0x1c2d6b,_0x2ee13e){_0x1c2d6b=_0x1c2d6b-0xf4;let _0x32f04d=_0x1283e8[_0x1c2d6b];return _0x32f04d;},a125_0x1c2d(_0x40ca12,_0x5b11dd);}module[a125_0x13d995(0x104)]=PerformanceTester[a125_0x13d995(0xfa)](PerformanceEvents['KEEP_ALIVE'],function(){const _0x3d62e4=a125_0x13d995,_0x4b601d={'hgINc':function(_0x2c9c5e,_0x3c1cdd){return _0x2c9c5e===_0x3c1cdd;},'SlNQv':_0x3d62e4(0xfc),'ffyXU':'agent','ySnGK':function(_0x311221,_0x47910c,_0x508704){return _0x311221(_0x47910c,_0x508704);},'dJQhc':function(_0x55d14b,_0x205e8c){return _0x55d14b(_0x205e8c);},'rpAyD':_0x3d62e4(0xfe),'rnWKs':_0x3d62e4(0xf7),'KJtNZ':function(_0x11812f,_0x54c055){return _0x11812f*_0x54c055;},'IzpyE':_0x3d62e4(0xf8)},_0x3f1886=_0x4b601d[_0x3d62e4(0xfd)](require,_0x4b601d['rpAyD']),_0x119a83=_0x4b601d[_0x3d62e4(0xfd)](require,_0x4b601d[_0x3d62e4(0xf5)]),_0x1e9f92=_0x4b601d[_0x3d62e4(0x102)](0x1e,0x3e8);if(_0x3f1886[_0x3d62e4(0x106)]&&Object[_0x3d62e4(0x10a)][_0x3d62e4(0x103)][_0x3d62e4(0x109)](_0x3f1886[_0x3d62e4(0x106)],_0x4b601d[_0x3d62e4(0x110)]))_0x3f1886['globalAgent'][_0x3d62e4(0xf8)]=!![],_0x119a83[_0x3d62e4(0x106)][_0x3d62e4(0xf8)]=!![],_0x3f1886['globalAgent']['keepAliveMsecs']=_0x1e9f92,_0x119a83[_0x3d62e4(0x106)][_0x3d62e4(0x100)]=_0x1e9f92;else{const _0x74959f={};_0x74959f['keepAlive']=!![],_0x74959f[_0x3d62e4(0x100)]=_0x1e9f92;const _0xee5a4=new _0x3f1886['Agent'](_0x74959f),_0x4dd622={};_0x4dd622[_0x3d62e4(0xf8)]=!![],_0x4dd622[_0x3d62e4(0x100)]=_0x1e9f92;const _0x169b61=new _0x119a83['Agent'](_0x4dd622),_0x40ca83=_0x3f1886['request'],_0x1c12c5=_0x119a83[_0x3d62e4(0xfb)];_0x3f1886['request']=function(_0x1e25ff,_0x369aea){const _0x320276=_0x3d62e4;if(_0x4b601d['hgINc'](_0x1e25ff[_0x320276(0x10f)],_0x4b601d[_0x320276(0xf6)]))return _0x1e25ff[_0x4b601d[_0x320276(0x112)]]=_0x169b61,_0x4b601d['ySnGK'](_0x1c12c5,_0x1e25ff,_0x369aea);return _0x1e25ff[_0x4b601d['ffyXU']]=_0xee5a4,_0x4b601d['ySnGK'](_0x40ca83,_0x1e25ff,_0x369aea);};}});
1
+ function a125_0x4d51(_0x4a95c9,_0x517df5){const _0x4d75a5=a125_0x4d75();return a125_0x4d51=function(_0x4d517b,_0x3f4ccf){_0x4d517b=_0x4d517b-0x139;let _0x11a906=_0x4d75a5[_0x4d517b];return _0x11a906;},a125_0x4d51(_0x4a95c9,_0x517df5);}const a125_0x143338=a125_0x4d51;(function(_0x5e6594,_0x5461ac){const _0x2ace9c=a125_0x4d51,_0x75a79b=_0x5e6594();while(!![]){try{const _0x39ff7c=parseInt(_0x2ace9c(0x152))/0x1+-parseInt(_0x2ace9c(0x14e))/0x2*(parseInt(_0x2ace9c(0x154))/0x3)+parseInt(_0x2ace9c(0x142))/0x4+parseInt(_0x2ace9c(0x143))/0x5*(-parseInt(_0x2ace9c(0x13b))/0x6)+-parseInt(_0x2ace9c(0x14d))/0x7*(parseInt(_0x2ace9c(0x147))/0x8)+parseInt(_0x2ace9c(0x156))/0x9+parseInt(_0x2ace9c(0x13c))/0xa;if(_0x39ff7c===_0x5461ac)break;else _0x75a79b['push'](_0x75a79b['shift']());}catch(_0x1ebfb1){_0x75a79b['push'](_0x75a79b['shift']());}}}(a125_0x4d75,0x6796c));const PerformanceTester=require('./performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceEvents}=require(a125_0x143338(0x155));function a125_0x4d75(){const _0x15d25c=['keepAliveMsecs','globalAgent','QwBnf','rqUde','qGOlb','7okixYH','2tuouUm','prototype','request','vesaW','737051ZphqCK','keepAlive','912837SkNcqT','./performance/constants','2440026BqUklI','KEEP_ALIVE','agent','BJohh','Agent','uOnyG','66wSVFSV','2632470dFMakr','exports','hasOwnProperty','https','TqvDe','ajykO','616564hqQZCL','76135uKsxFR','measureWrapper','protocol','TrgaI','4235816TQfvrq'];a125_0x4d75=function(){return _0x15d25c;};return a125_0x4d75();}module[a125_0x143338(0x13d)]=PerformanceTester[a125_0x143338(0x144)](PerformanceEvents[a125_0x143338(0x157)],function(){const _0x176386=a125_0x143338,_0x6e9ca2={'vesaW':function(_0x226e54,_0xf2e1f1){return _0x226e54===_0xf2e1f1;},'rqUde':'https:','BJohh':_0x176386(0x158),'XJDow':function(_0x2b78dc,_0x3ae4f4,_0x3d0817){return _0x2b78dc(_0x3ae4f4,_0x3d0817);},'TqvDe':function(_0x475e47,_0x4c448a,_0x25e3e5){return _0x475e47(_0x4c448a,_0x25e3e5);},'QwBnf':function(_0x4faf6e,_0x381893){return _0x4faf6e(_0x381893);},'ajykO':'http','uOnyG':_0x176386(0x13f),'qGOlb':function(_0x285428,_0xeb844c){return _0x285428*_0xeb844c;},'TrgaI':'keepAlive'},_0x799423=_0x6e9ca2[_0x176386(0x14a)](require,_0x6e9ca2[_0x176386(0x141)]),_0x4ab144=_0x6e9ca2[_0x176386(0x14a)](require,_0x6e9ca2[_0x176386(0x13a)]),_0x229008=_0x6e9ca2[_0x176386(0x14c)](0x1e,0x3e8);if(_0x799423['globalAgent']&&Object[_0x176386(0x14f)][_0x176386(0x13e)]['call'](_0x799423['globalAgent'],_0x6e9ca2[_0x176386(0x146)]))_0x799423[_0x176386(0x149)][_0x176386(0x153)]=!![],_0x4ab144[_0x176386(0x149)]['keepAlive']=!![],_0x799423['globalAgent'][_0x176386(0x148)]=_0x229008,_0x4ab144[_0x176386(0x149)][_0x176386(0x148)]=_0x229008;else{const _0x528b09={};_0x528b09['keepAlive']=!![],_0x528b09[_0x176386(0x148)]=_0x229008;const _0x1ced07=new _0x799423[(_0x176386(0x139))](_0x528b09),_0x25a4de={};_0x25a4de['keepAlive']=!![],_0x25a4de['keepAliveMsecs']=_0x229008;const _0x587b48=new _0x4ab144[(_0x176386(0x139))](_0x25a4de),_0x29ae3c=_0x799423[_0x176386(0x150)],_0x5ea6f0=_0x4ab144[_0x176386(0x150)];_0x799423[_0x176386(0x150)]=function(_0x3cb46c,_0x27a317){const _0xb4a0eb=_0x176386;if(_0x6e9ca2[_0xb4a0eb(0x151)](_0x3cb46c[_0xb4a0eb(0x145)],_0x6e9ca2[_0xb4a0eb(0x14b)]))return _0x3cb46c[_0x6e9ca2[_0xb4a0eb(0x159)]]=_0x587b48,_0x6e9ca2['XJDow'](_0x5ea6f0,_0x3cb46c,_0x27a317);return _0x3cb46c[_0x6e9ca2[_0xb4a0eb(0x159)]]=_0x1ced07,_0x6e9ca2[_0xb4a0eb(0x140)](_0x29ae3c,_0x3cb46c,_0x27a317);};}});
@@ -1 +1 @@
1
- const a126_0x3dfc8f=a126_0x59e1;function a126_0x59e1(_0x1d1036,_0x3706bd){const _0x5a3c70=a126_0x5a3c();return a126_0x59e1=function(_0x59e1e4,_0x552928){_0x59e1e4=_0x59e1e4-0x158;let _0x4815c5=_0x5a3c70[_0x59e1e4];return _0x4815c5;},a126_0x59e1(_0x1d1036,_0x3706bd);}(function(_0x67da49,_0xd56330){const _0x1a78d9=a126_0x59e1,_0x53f01e=_0x67da49();while(!![]){try{const _0x344eba=parseInt(_0x1a78d9(0x179))/0x1+-parseInt(_0x1a78d9(0x174))/0x2*(-parseInt(_0x1a78d9(0x165))/0x3)+-parseInt(_0x1a78d9(0x176))/0x4+parseInt(_0x1a78d9(0x17e))/0x5+parseInt(_0x1a78d9(0x178))/0x6*(parseInt(_0x1a78d9(0x17b))/0x7)+parseInt(_0x1a78d9(0x177))/0x8+-parseInt(_0x1a78d9(0x160))/0x9*(parseInt(_0x1a78d9(0x16d))/0xa);if(_0x344eba===_0xd56330)break;else _0x53f01e['push'](_0x53f01e['shift']());}catch(_0x2f2e71){_0x53f01e['push'](_0x53f01e['shift']());}}}(a126_0x5a3c,0x328df));const path=require('path'),{logDir}=require('../logger'),a126_0x5db1e0={};a126_0x5db1e0[a126_0x3dfc8f(0x173)]='Playwright',a126_0x5db1e0[a126_0x3dfc8f(0x170)]=a126_0x3dfc8f(0x15b),a126_0x5db1e0[a126_0x3dfc8f(0x15d)]=a126_0x3dfc8f(0x15a),a126_0x5db1e0[a126_0x3dfc8f(0x163)]=a126_0x3dfc8f(0x16b),a126_0x5db1e0['JEST']='jest',a126_0x5db1e0[a126_0x3dfc8f(0x17c)]='cucumber',module[a126_0x3dfc8f(0x15e)]={'consoleHolder':Object[a126_0x3dfc8f(0x161)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a126_0x3dfc8f(0x168),'OBSERVABILITY_UPLOAD_API_URL':a126_0x3dfc8f(0x167),'EVENT_ENDPOINT':a126_0x3dfc8f(0x16c),'BATCH_ENDPOINT':a126_0x3dfc8f(0x169),'SCREENSHOT_ENDPOINT':a126_0x3dfc8f(0x166),'UPLOAD_ATTACHMENT_ENDPOINT':a126_0x3dfc8f(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['join'](logDir,a126_0x3dfc8f(0x164)),'FRAMEWORKS':a126_0x5db1e0};function a126_0x5a3c(){const _0x3ade9c=['BROWSERSTACK_ENV','246925YdNrfu','CUCUMBER','preprod','423055lFbkWF','toLowerCase','OBSERVABILITY_UPLOAD_API_URL','codeceptjs','mocha','staging','CODECEPT','exports','https://upload-observability-devtestops-ssi.bsstag.com','5103nZarzZ','assign','upload-attachments','CODECEPT_CUCUMBER','.obs_test_details','328605TvteEQ','api/v1/screenshots','https://upload-observability.browserstack.com','https://collector-observability.browserstack.com','api/v1/batch','API_URL','codeceptjs-cucumber','api/v1/event','2060ezUnLW','stag','https://collector-observability-preprod.bsstag.com','MOCHA','env','https://upload-observability-preprod.bsstag.com','PLAYWRIGHT','2ABnVAY','pre-prod','1438528jtUoUH','13632tcscIx','60FuxOHk','134905AzPFWI'];a126_0x5a3c=function(){return _0x3ade9c;};return a126_0x5a3c();}const _env=(process[a126_0x3dfc8f(0x171)][a126_0x3dfc8f(0x17a)]||'prod')[a126_0x3dfc8f(0x158)]();if(_env===a126_0x3dfc8f(0x15c)||_env===a126_0x3dfc8f(0x16e))module[a126_0x3dfc8f(0x15e)][a126_0x3dfc8f(0x16a)]='https://collector-observability-devtestops.bsstag.com',module['exports']['OBSERVABILITY_UPLOAD_API_URL']=a126_0x3dfc8f(0x15f);else(_env===a126_0x3dfc8f(0x17d)||_env===a126_0x3dfc8f(0x175))&&(module[a126_0x3dfc8f(0x15e)][a126_0x3dfc8f(0x16a)]=a126_0x3dfc8f(0x16f),module[a126_0x3dfc8f(0x15e)][a126_0x3dfc8f(0x159)]=a126_0x3dfc8f(0x172));
1
+ function a126_0x4fc1(){const _0x3af926=['preprod','api/v1/screenshots','Playwright','8ZiofPv','119740VTeGRP','BROWSERSTACK_ENV','stag','929832YTjYei','toLowerCase','prod','OBSERVABILITY_UPLOAD_API_URL','CUCUMBER','jest','cucumber','pre-prod','https://collector-observability-preprod.bsstag.com','env','API_URL','273703tUeTJN','CODECEPT','https://collector-observability-devtestops.bsstag.com','upload-attachments','codeceptjs','CODECEPT_CUCUMBER','codeceptjs-cucumber','JEST','api/v1/event','379340YhXBeJ','PLAYWRIGHT','https://upload-observability-devtestops-ssi.bsstag.com','https://upload-observability.browserstack.com','api/v1/batch','path','2194479uZGwTf','339756ncjxep','join','exports','1292557tgWKgZ','assign','https://collector-observability.browserstack.com','24HehCwb','MOCHA','staging'];a126_0x4fc1=function(){return _0x3af926;};return a126_0x4fc1();}const a126_0x2e7269=a126_0x5ed7;(function(_0x5af316,_0x4d4818){const _0x1419f3=a126_0x5ed7,_0x1cdb0f=_0x5af316();while(!![]){try{const _0x4d924c=parseInt(_0x1419f3(0x162))/0x1+parseInt(_0x1419f3(0x16b))/0x2+parseInt(_0x1419f3(0x172))/0x3+-parseInt(_0x1419f3(0x157))/0x4+parseInt(_0x1419f3(0x154))/0x5*(-parseInt(_0x1419f3(0x178))/0x6)+-parseInt(_0x1419f3(0x175))/0x7*(-parseInt(_0x1419f3(0x153))/0x8)+-parseInt(_0x1419f3(0x171))/0x9;if(_0x4d924c===_0x4d4818)break;else _0x1cdb0f['push'](_0x1cdb0f['shift']());}catch(_0x5229b1){_0x1cdb0f['push'](_0x1cdb0f['shift']());}}}(a126_0x4fc1,0x2e30b));function a126_0x5ed7(_0xa326ae,_0x118057){const _0x4fc18b=a126_0x4fc1();return a126_0x5ed7=function(_0x5ed73f,_0x434e98){_0x5ed73f=_0x5ed73f-0x150;let _0x19da0d=_0x4fc18b[_0x5ed73f];return _0x19da0d;},a126_0x5ed7(_0xa326ae,_0x118057);}const path=require(a126_0x2e7269(0x170)),{logDir}=require('../logger'),a126_0xc7559e={};a126_0xc7559e[a126_0x2e7269(0x16c)]=a126_0x2e7269(0x152),a126_0xc7559e[a126_0x2e7269(0x179)]='mocha',a126_0xc7559e[a126_0x2e7269(0x163)]=a126_0x2e7269(0x166),a126_0xc7559e[a126_0x2e7269(0x167)]=a126_0x2e7269(0x168),a126_0xc7559e[a126_0x2e7269(0x169)]=a126_0x2e7269(0x15c),a126_0xc7559e[a126_0x2e7269(0x15b)]=a126_0x2e7269(0x15d),module[a126_0x2e7269(0x174)]={'consoleHolder':Object[a126_0x2e7269(0x176)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a126_0x2e7269(0x177),'OBSERVABILITY_UPLOAD_API_URL':a126_0x2e7269(0x16e),'EVENT_ENDPOINT':a126_0x2e7269(0x16a),'BATCH_ENDPOINT':a126_0x2e7269(0x16f),'SCREENSHOT_ENDPOINT':a126_0x2e7269(0x151),'UPLOAD_ATTACHMENT_ENDPOINT':a126_0x2e7269(0x165),'DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0xea60,'MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE':0x64*0x400*0x400,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':path[a126_0x2e7269(0x173)](logDir,'.obs_test_details'),'FRAMEWORKS':a126_0xc7559e};const _env=(process[a126_0x2e7269(0x160)][a126_0x2e7269(0x155)]||a126_0x2e7269(0x159))[a126_0x2e7269(0x158)]();if(_env===a126_0x2e7269(0x17a)||_env===a126_0x2e7269(0x156))module['exports'][a126_0x2e7269(0x161)]=a126_0x2e7269(0x164),module[a126_0x2e7269(0x174)][a126_0x2e7269(0x15a)]=a126_0x2e7269(0x16d);else(_env===a126_0x2e7269(0x150)||_env===a126_0x2e7269(0x15e))&&(module[a126_0x2e7269(0x174)]['API_URL']=a126_0x2e7269(0x15f),module[a126_0x2e7269(0x174)][a126_0x2e7269(0x15a)]='https://upload-observability-preprod.bsstag.com');
@@ -1 +1 @@
1
- const a127_0x145b24=a127_0x372f;(function(_0x32e182,_0x165987){const _0x329b1e=a127_0x372f,_0x827b7a=_0x32e182();while(!![]){try{const _0x47028e=-parseInt(_0x329b1e(0x217))/0x1*(-parseInt(_0x329b1e(0x1c0))/0x2)+parseInt(_0x329b1e(0x206))/0x3*(-parseInt(_0x329b1e(0x218))/0x4)+-parseInt(_0x329b1e(0x1d5))/0x5+-parseInt(_0x329b1e(0x200))/0x6*(-parseInt(_0x329b1e(0x226))/0x7)+-parseInt(_0x329b1e(0x219))/0x8+-parseInt(_0x329b1e(0x1f9))/0x9+parseInt(_0x329b1e(0x1f6))/0xa;if(_0x47028e===_0x165987)break;else _0x827b7a['push'](_0x827b7a['shift']());}catch(_0x427a91){_0x827b7a['push'](_0x827b7a['shift']());}}}(a127_0x1369,0xcf35b));function a127_0x372f(_0x3562a7,_0x1e6f17){const _0x1369f8=a127_0x1369();return a127_0x372f=function(_0x372f47,_0x30c32a){_0x372f47=_0x372f47-0x1b8;let _0x367579=_0x1369f8[_0x372f47];return _0x367579;},a127_0x372f(_0x3562a7,_0x1e6f17);}const util=require(a127_0x145b24(0x1db)),PerformanceTester=require(a127_0x145b24(0x1c2)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require('./utils'),{getAgentVersion,nestedKeyValue}=require(a127_0x145b24(0x1ee)),o11yErrorHandler=(_0x5b179b,_0xe9ac39='',_0x2cfa44=[''],_0x15f659=![])=>{const _0x58bd67={'NqRgO':function(_0x83b8cd,_0x383376){return _0x83b8cd(_0x383376);},'gCbia':function(_0x3fd08,_0x1da908,_0x15dc28){return _0x3fd08(_0x1da908,_0x15dc28);},'ZgCGd':function(_0x408aef,_0x593719){return _0x408aef(_0x593719);},'bNrFe':function(_0x14c416,_0x4e814b,_0x1aa54d){return _0x14c416(_0x4e814b,_0x1aa54d);},'KOIqL':function(_0x49fd0f,_0x54d0d1){return _0x49fd0f instanceof _0x54d0d1;},'eYWeI':function(_0xd44cc9,_0x1dd0b9,_0x2e2fc1,_0x18e069,_0x26003b){return _0xd44cc9(_0x1dd0b9,_0x2e2fc1,_0x18e069,_0x26003b);}};return function(..._0x39deca){const _0x3cbe28=a127_0x372f;try{let _0x13b475=_0x5b179b;process['env'][_0x3cbe28(0x1c4)]&&(_0x13b475=PerformanceTester['getPerformance']()['timerify'](_0x13b475));_0x15f659&&_0x58bd67[_0x3cbe28(0x205)](trace,_0x3cbe28(0x1f2)+_0xe9ac39+_0x3cbe28(0x228)+process[_0x3cbe28(0x1d7)]+_0x3cbe28(0x211)+_0x58bd67[_0x3cbe28(0x1f1)](nestedKeyValue,arguments[0x0],_0x2cfa44));const _0x454b1e=_0x13b475[_0x3cbe28(0x1ff)](null,arguments);_0x15f659&&_0x58bd67[_0x3cbe28(0x1f5)](trace,_0x3cbe28(0x1bd)+_0xe9ac39+_0x3cbe28(0x228)+process[_0x3cbe28(0x1d7)]+_0x3cbe28(0x211)+_0x58bd67[_0x3cbe28(0x1d3)](nestedKeyValue,arguments[0x0],_0x2cfa44));if(_0x58bd67[_0x3cbe28(0x1b8)](_0x454b1e,Promise))return _0x454b1e['catch'](_0x355752=>processError(_0x355752,_0x5b179b,_0x39deca,_0xe9ac39));return _0x454b1e;}catch(_0x21b759){_0x58bd67[_0x3cbe28(0x1f0)](processError,_0x21b759,_0x5b179b,_0x39deca,_0xe9ac39);}};},o11yClassErrorHandler=(_0x34cc75,_0x1b1096,_0x59be68='')=>{const _0x4c646c=a127_0x145b24,_0x2be624={'CDXSR':function(_0x3ecb61,_0x569629){return _0x3ecb61 instanceof _0x569629;},'Lfasb':function(_0x427ec4,_0x5b1a05,_0x2cf210,_0x2d2904,_0x2293f2){return _0x427ec4(_0x5b1a05,_0x2cf210,_0x2d2904,_0x2293f2);},'ldhAT':function(_0x539817,_0x46b3ac){return _0x539817===_0x46b3ac;},'RITyi':_0x4c646c(0x223),'xQGZv':function(_0x551765,_0x1de155){return _0x551765!==_0x1de155;},'gkfdK':_0x4c646c(0x20a),'LZhSI':function(_0xe10488,_0x244d5d){return _0xe10488<_0x244d5d;}},_0x1e3737=_0x34cc75[_0x4c646c(0x1da)];if(_0x2be624[_0x4c646c(0x1bb)](Object['getOwnPropertyNames'](_0x1e3737)[_0x4c646c(0x1e1)],0x2))return _0x34cc75;return Object[_0x4c646c(0x1ba)](_0x1e3737)[_0x4c646c(0x224)](_0x3c4be1=>{const _0x208228=_0x4c646c;if(!(_0x1b1096&&_0x1b1096['includes'](_0x3c4be1)))return;const _0x59b461=_0x1e3737[_0x3c4be1];_0x2be624[_0x208228(0x1df)](typeof _0x59b461,_0x2be624[_0x208228(0x1c3)])&&_0x2be624[_0x208228(0x201)](_0x3c4be1,_0x2be624[_0x208228(0x21b)])&&Object[_0x208228(0x212)](_0x1e3737,_0x3c4be1,{'writable':!![],'value':function(..._0x1b9bd5){const _0x26f32a=_0x208228;try{const _0x470350=(process[_0x26f32a(0x1e4)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester['getPerformance']()[_0x26f32a(0x21a)](_0x59b461):_0x59b461)['call'](this,..._0x1b9bd5);if(_0x2be624[_0x26f32a(0x1bc)](_0x470350,Promise))return _0x470350[_0x26f32a(0x1ca)](_0x404cad=>processError(_0x404cad,_0x59b461,_0x1b9bd5,_0x59be68));return _0x470350;}catch(_0x34259e){_0x2be624[_0x26f32a(0x216)](processError,_0x34259e,_0x59b461,_0x1b9bd5,_0x59be68);}}});}),_0x34cc75;};function processError(_0x29c7ae,_0x5b8e27,_0x4c0b85,_0xca09ef){const _0x187e94=a127_0x145b24,_0x3149f0={'XmdIw':function(_0x1ec007,_0x369d68){return _0x1ec007(_0x369d68);}};_0x3149f0[_0x187e94(0x20d)](debug,_0x187e94(0x213)+_0x5b8e27[_0x187e94(0x1cc)]+_0x187e94(0x1e0)+_0xca09ef+_0x187e94(0x220)+util[_0x187e94(0x21f)](_0x29c7ae)+_0x187e94(0x1fe)+_0x4c0b85+'.'),PerformanceTester[_0x187e94(0x1d4)](_0x29c7ae);let _0x480a2d;try{_0x480a2d=JSON[_0x187e94(0x1c8)](_0x4c0b85);}catch(_0x5d1961){const _0x189996={};_0x189996[_0x187e94(0x1c5)]=0x2,_0x480a2d=util[_0x187e94(0x1f8)](_0x4c0b85,_0x189996);}CrashReporter['uploadCrashReport'](_0x187e94(0x213)+_0x5b8e27[_0x187e94(0x1cc)]+'\x20--\x20'+_0xca09ef+'.\x20Error\x20-\x20'+_0x29c7ae+_0x187e94(0x1fe)+_0x480a2d+'.',_0x29c7ae&&_0x29c7ae['stack']);}class CrashReporter{static [a127_0x145b24(0x1e8)]={};static [a127_0x145b24(0x1e3)];static [a127_0x145b24(0x1c6)]={};static[a127_0x145b24(0x1de)](_0x3651d0,_0x4b60d3,_0x305f7a=null){const _0x322c18=a127_0x145b24,_0x49c5ce={'QzeBt':function(_0x27e649,_0x15c46d){return _0x27e649(_0x15c46d);},'BAsVr':function(_0x138f0f,_0x8993b){return _0x138f0f(_0x8993b);}},_0x2c2668=_0x3651d0['frameworkName'],_0x5815db=_0x3651d0[_0x322c18(0x1fa)];!_0x305f7a&&(_0x305f7a=_0x49c5ce['QzeBt'](getBrowserStackConfig,_0x2c2668));!_0x5815db&&_0x49c5ce[_0x322c18(0x208)](getFrameworkVersion,_0x2c2668);const _0x283fbc={};_0x283fbc[_0x322c18(0x1f4)]=_0x2c2668,_0x283fbc['frameworkVersion']=_0x5815db,this[_0x322c18(0x207)](_0x283fbc,_0x4b60d3,_0x49c5ce[_0x322c18(0x20c)](getUserCredentials,_0x305f7a));}static['setCredentials'](_0x1f38eb,_0x4027ff){const _0x4a32c0=a127_0x145b24,_0x526a3a={};_0x526a3a[_0x4a32c0(0x1e5)]=_0x1f38eb,_0x526a3a[_0x4a32c0(0x222)]=_0x4027ff,this[_0x4a32c0(0x1e3)]=_0x526a3a,process[_0x4a32c0(0x1e4)][_0x4a32c0(0x204)]=JSON[_0x4a32c0(0x1c8)](this['credentials']);}static[a127_0x145b24(0x21e)](){const _0x29f693=a127_0x145b24,_0x2517a8={'CVGLq':function(_0x747086,_0x7bd0df){return _0x747086(_0x7bd0df);}};if(!this['credentials']&&process[_0x29f693(0x1e4)][_0x29f693(0x204)])try{this['credentials']=JSON[_0x29f693(0x1e6)](process[_0x29f693(0x1e4)][_0x29f693(0x204)]);}catch(_0x28f9d8){_0x2517a8[_0x29f693(0x225)](debug,_0x29f693(0x1bf)+_0x28f9d8[_0x29f693(0x1fb)]());}return this[_0x29f693(0x1e3)];}static['setConfigDetails'](_0x32a65c){const _0xa3f05f=a127_0x145b24;this[_0xa3f05f(0x1e8)]=this[_0xa3f05f(0x1f3)](_0x32a65c),process['env'][_0xa3f05f(0x1f7)]=JSON[_0xa3f05f(0x1c8)](this[_0xa3f05f(0x1e8)]);}static[a127_0x145b24(0x1d6)](){const _0x43f7fb=a127_0x145b24,_0x55fa2a={'LMhSh':function(_0x3a3576,_0x4d4e7f){return _0x3a3576===_0x4d4e7f;},'TZHjL':function(_0x5240d1,_0x485e65){return _0x5240d1(_0x485e65);}};if(_0x55fa2a['LMhSh'](Object[_0x43f7fb(0x1be)](this[_0x43f7fb(0x1e8)])[_0x43f7fb(0x1e1)],0x0)&&process[_0x43f7fb(0x1e4)][_0x43f7fb(0x1f7)])try{this[_0x43f7fb(0x1e8)]=JSON['parse'](process['env'][_0x43f7fb(0x1f7)]);}catch(_0x44d5ff){_0x55fa2a[_0x43f7fb(0x209)](debug,'Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20'+_0x44d5ff[_0x43f7fb(0x1fb)]()),this['userConfig']={};}return this[_0x43f7fb(0x1e8)];}static['setFrameworkDetails'](_0x37fcc5){const _0x1c819e=a127_0x145b24;this[_0x1c819e(0x1c6)]=_0x37fcc5,process[_0x1c819e(0x1e4)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']=JSON[_0x1c819e(0x1c8)](this['frameworkDetails']);}static[a127_0x145b24(0x1d1)](){const _0x48528c=a127_0x145b24,_0x4ac33f={'CKOQJ':function(_0x3c5ead,_0x54381f){return _0x3c5ead===_0x54381f;},'oIPUL':function(_0x47abd1,_0x18d0ad){return _0x47abd1(_0x18d0ad);}};if(_0x4ac33f['CKOQJ'](Object[_0x48528c(0x1be)](this[_0x48528c(0x1c6)])['length'],0x0)&&process[_0x48528c(0x1e4)][_0x48528c(0x1e9)])try{this[_0x48528c(0x1c6)]=JSON['parse'](process['env']['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']);}catch(_0x1aa827){_0x4ac33f[_0x48528c(0x20f)](debug,_0x48528c(0x1bf)+_0x1aa827[_0x48528c(0x1fb)]());}return this['frameworkDetails'];}static['setAllDetails'](_0x21c60e,_0x9e3001,_0x23b1e2){const _0x22d58b=a127_0x145b24;_0x21c60e&&this[_0x22d58b(0x1c7)](_0x21c60e),_0x9e3001&&this[_0x22d58b(0x21c)](_0x9e3001),_0x23b1e2&&this[_0x22d58b(0x1ce)](_0x23b1e2[_0x22d58b(0x1e5)],_0x23b1e2[_0x22d58b(0x222)]);}static async[a127_0x145b24(0x21d)](_0x203064,_0x3b17c7){const _0x266611=a127_0x145b24,_0x52f005={'baqBa':function(_0xd0fb83,_0x281d8f){return _0xd0fb83(_0x281d8f);},'AMcNe':function(_0x519cff,_0x5dbcce){return _0x519cff(_0x5dbcce);},'apSKP':function(_0x1d5f29,_0xc28b6e){return _0x1d5f29(_0xc28b6e);},'kwANc':'[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','ngUUo':function(_0x23731c){return _0x23731c();},'klXwk':'/api/v1/analytics','YMHAt':'application/json','yNdFa':_0x266611(0x215),'OyNPD':function(_0x1983cc,_0x48c835,_0x567da6,_0x5bb603,_0x219b13,_0x21614d){return _0x1983cc(_0x48c835,_0x567da6,_0x5bb603,_0x219b13,_0x21614d);},'Ruekf':_0x266611(0x1dc)};this[_0x266611(0x21e)]();if(!this[_0x266611(0x1e3)])return _0x52f005[_0x266611(0x1c1)](debug,_0x52f005[_0x266611(0x1e2)]);this[_0x266611(0x1d6)](),this['getFramework']();const _0x2e646b={'hashed_id':process[_0x266611(0x1e4)][_0x266611(0x1eb)],'observability_version':{'sdkVersion':_0x52f005[_0x266611(0x227)](getAgentVersion),'frameworkName':this[_0x266611(0x1c6)][_0x266611(0x1f4)],'frameworkVersion':this[_0x266611(0x1c6)][_0x266611(0x1fa)]},'exception':{'error':_0x203064['toString'](),'stackTrace':_0x3b17c7},'config':this['userConfig']},_0x1c4d98=_0x52f005[_0x266611(0x203)],_0x3c7c3f={};_0x3c7c3f[_0x266611(0x1e5)]=this['credentials'][_0x266611(0x1e5)],_0x3c7c3f[_0x266611(0x202)]=this[_0x266611(0x1e3)][_0x266611(0x222)];const _0x567a81={};_0x567a81[_0x266611(0x1dd)]=_0x52f005['YMHAt'],_0x567a81[_0x266611(0x210)]=_0x52f005['yNdFa'];const _0x497b7a={};_0x497b7a[_0x266611(0x1ea)]=_0x3c7c3f,_0x497b7a[_0x266611(0x1e7)]=_0x567a81;const _0x4504d3=_0x497b7a;_0x52f005[_0x266611(0x1c9)](nodeRequest,_0x52f005[_0x266611(0x1cf)],_0x1c4d98,_0x2e646b,_0x4504d3,![])[_0x266611(0x1d9)](_0x28ab14=>{const _0x25a040=_0x266611;_0x52f005['baqBa'](debug,_0x25a040(0x20b)+JSON[_0x25a040(0x1c8)](_0x28ab14));})['catch'](_0x367c3c=>{const _0x2e9f00=_0x266611;_0x52f005[_0x2e9f00(0x1fc)](debug,_0x2e9f00(0x1fd)+util['format'](_0x367c3c));});}static[a127_0x145b24(0x1cb)](_0x2423f2){const _0xfd5e29=a127_0x145b24,_0x3a71bf={};_0x3a71bf[_0xfd5e29(0x1b9)]='user',_0x3a71bf['PuVgw']=_0xfd5e29(0x1e5),_0x3a71bf[_0xfd5e29(0x221)]=_0xfd5e29(0x229),_0x3a71bf[_0xfd5e29(0x1d8)]=_0xfd5e29(0x222),_0x3a71bf[_0xfd5e29(0x1d0)]=_0xfd5e29(0x202),_0x3a71bf[_0xfd5e29(0x214)]=function(_0x574157,_0x36c73a){return _0x574157===_0x36c73a;},_0x3a71bf[_0xfd5e29(0x1d2)]='object';const _0x122d8d=_0x3a71bf;if(!_0x2423f2)return;const _0x270f61=[_0x122d8d[_0xfd5e29(0x1b9)],_0x122d8d[_0xfd5e29(0x20e)],_0x122d8d[_0xfd5e29(0x221)],_0x122d8d['bkQjx'],_0x122d8d[_0xfd5e29(0x1d0)]];for(const _0x333a32 in _0x2423f2){if(_0x270f61[_0xfd5e29(0x1ef)](_0x333a32[_0xfd5e29(0x1cd)]()))delete _0x2423f2[_0x333a32];else _0x122d8d[_0xfd5e29(0x214)](typeof _0x2423f2[_0x333a32],_0x122d8d[_0xfd5e29(0x1d2)])&&this[_0xfd5e29(0x1cb)](_0x2423f2[_0x333a32]);}}static['filterPII'](_0x42f06e){const _0xb737b7=a127_0x145b24,_0xb9d456=JSON[_0xb737b7(0x1e6)](JSON[_0xb737b7(0x1c8)](_0x42f06e));return this['recursivelyDeletePIIKeysFromObject'](_0xb9d456),_0xb9d456;}}const a127_0x5658a7={};function a127_0x1369(){const _0x49db70=['QzeBt','TZHjL','constructor','[Crash_Report_Upload]\x20Success\x20response:\x20','BAsVr','XmdIw','PuVgw','oIPUL','X-BSTACK-TESTOPS',',\x20Argument\x20-\x20','defineProperty','Error\x20in\x20executing\x20','KVObT','true','Lfasb','19LxtiGp','30052XexoWv','504240VQoHwB','timerify','gkfdK','setConfigDetails','uploadCrashReport','getCredentials','format','.\x20Error\x20-\x20','ZwkTB','accessKey','function','forEach','CVGLq','91faCAvE','ngUUo',',\x20PID\x20-\x20','key','KOIqL','iSjxu','getOwnPropertyNames','LZhSI','CDXSR','Finished\x20::\x20','keys','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','164kaeFBh','apSKP','../performance/performance-tester','RITyi','BROWSERSTACK_O11Y_PERF_MEASUREMENT','depth','frameworkDetails','setFrameworkDetails','stringify','OyNPD','catch','recursivelyDeletePIIKeysFromObject','name','toLowerCase','setCredentials','Ruekf','WBtez','getFramework','YGBks','bNrFe','captureError','4727015SgsCca','getConfig','pid','bkQjx','then','prototype','util','POST','Content-Type','initialize','ldhAT','\x20--\x20','length','kwANc','credentials','env','username','parse','headers','userConfig','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','auth','BS_TESTOPS_BUILD_HASHED_ID','o11yClassErrorHandler','o11yErrorHandler','../helper','includes','eYWeI','gCbia','Started\x20::\x20','filterPII','frameworkName','ZgCGd','21173310wFexwK','USER_CONFIG_FOR_REPORTING','inspect','4726287JoXxvF','frameworkVersion','toString','AMcNe','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','.\x20Args\x20-\x20','apply','208266phmVrz','xQGZv','password','klXwk','CREDENTIALS_FOR_CRASH_REPORTING','NqRgO','75RiXfCB','setAllDetails'];a127_0x1369=function(){return _0x49db70;};return a127_0x1369();}a127_0x5658a7[a127_0x145b24(0x1ed)]=o11yErrorHandler,a127_0x5658a7[a127_0x145b24(0x1ec)]=o11yClassErrorHandler,a127_0x5658a7['CrashReporter']=CrashReporter,module['exports']=a127_0x5658a7;
1
+ const a127_0x17c85f=a127_0x25de;(function(_0x235d0c,_0x3261ad){const _0x29732f=a127_0x25de,_0x1613f5=_0x235d0c();while(!![]){try{const _0x21240d=-parseInt(_0x29732f(0x13f))/0x1*(-parseInt(_0x29732f(0x161))/0x2)+parseInt(_0x29732f(0x166))/0x3*(parseInt(_0x29732f(0x144))/0x4)+-parseInt(_0x29732f(0x110))/0x5*(-parseInt(_0x29732f(0x154))/0x6)+-parseInt(_0x29732f(0x15a))/0x7+parseInt(_0x29732f(0x177))/0x8*(parseInt(_0x29732f(0x131))/0x9)+parseInt(_0x29732f(0x113))/0xa*(parseInt(_0x29732f(0x137))/0xb)+-parseInt(_0x29732f(0x16e))/0xc;if(_0x21240d===_0x3261ad)break;else _0x1613f5['push'](_0x1613f5['shift']());}catch(_0x5ac58a){_0x1613f5['push'](_0x1613f5['shift']());}}}(a127_0x438d,0x4a510));const util=require(a127_0x17c85f(0x16b)),PerformanceTester=require('../performance/performance-tester'),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a127_0x17c85f(0x10d)),{getAgentVersion,nestedKeyValue}=require(a127_0x17c85f(0x11e)),o11yErrorHandler=(_0xcfe21d,_0x5e0aa0='',_0x5e5ef2=[''],_0x48ce61=![])=>{const _0x56f15b={'KHXem':function(_0x393128,_0x52b17d){return _0x393128(_0x52b17d);},'wLmoQ':function(_0x228068,_0x11352d,_0x1f2683){return _0x228068(_0x11352d,_0x1f2683);},'skkRC':function(_0x16d2a5,_0xbfcb7e){return _0x16d2a5(_0xbfcb7e);},'rxLOU':function(_0x220f20,_0x15278f,_0x439947){return _0x220f20(_0x15278f,_0x439947);},'CYLLi':function(_0x50e848,_0x4621bc){return _0x50e848 instanceof _0x4621bc;},'wMBnD':function(_0x172fb7,_0x412901,_0x55629e,_0x2d6b2c,_0x5dce8b){return _0x172fb7(_0x412901,_0x55629e,_0x2d6b2c,_0x5dce8b);}};return function(..._0x445777){const _0x54f7cd=a127_0x25de;try{let _0x24c5c2=_0xcfe21d;process['env'][_0x54f7cd(0x10c)]&&(_0x24c5c2=PerformanceTester['getPerformance']()['timerify'](_0x24c5c2));_0x48ce61&&_0x56f15b['KHXem'](trace,_0x54f7cd(0x13c)+_0x5e0aa0+',\x20PID\x20-\x20'+process['pid']+',\x20Argument\x20-\x20'+_0x56f15b[_0x54f7cd(0x139)](nestedKeyValue,arguments[0x0],_0x5e5ef2));const _0x27832b=_0x24c5c2[_0x54f7cd(0x12e)](null,arguments);_0x48ce61&&_0x56f15b[_0x54f7cd(0x12d)](trace,_0x54f7cd(0x142)+_0x5e0aa0+_0x54f7cd(0x167)+process[_0x54f7cd(0x171)]+_0x54f7cd(0x178)+_0x56f15b[_0x54f7cd(0x119)](nestedKeyValue,arguments[0x0],_0x5e5ef2));if(_0x56f15b['CYLLi'](_0x27832b,Promise))return _0x27832b[_0x54f7cd(0x16a)](_0x468cd4=>processError(_0x468cd4,_0xcfe21d,_0x445777,_0x5e0aa0));return _0x27832b;}catch(_0x5992bb){_0x56f15b[_0x54f7cd(0x14a)](processError,_0x5992bb,_0xcfe21d,_0x445777,_0x5e0aa0);}};},o11yClassErrorHandler=(_0x1892ba,_0x3fb7b5,_0x2bcc1d='')=>{const _0x3a98cc=a127_0x17c85f,_0x1f1152={'xXgHJ':function(_0x153b8d,_0x18b364){return _0x153b8d instanceof _0x18b364;},'jglDW':function(_0x5252a5,_0x10f1c4,_0xe5da88,_0x13a72c,_0x4ea836){return _0x5252a5(_0x10f1c4,_0xe5da88,_0x13a72c,_0x4ea836);},'cNfda':function(_0x8cc42b,_0x26801b){return _0x8cc42b===_0x26801b;},'mzsUZ':'function','yVTcg':function(_0x1a1f06,_0x4e1338){return _0x1a1f06!==_0x4e1338;},'KXBBn':_0x3a98cc(0x11f),'syxni':function(_0x1accea,_0x443963){return _0x1accea<_0x443963;}},_0x2bb821=_0x1892ba['prototype'];if(_0x1f1152[_0x3a98cc(0x124)](Object['getOwnPropertyNames'](_0x2bb821)['length'],0x2))return _0x1892ba;return Object[_0x3a98cc(0x135)](_0x2bb821)['forEach'](_0x2644f2=>{const _0x45a1a6=_0x3a98cc;if(!(_0x3fb7b5&&_0x3fb7b5['includes'](_0x2644f2)))return;const _0x210630=_0x2bb821[_0x2644f2];_0x1f1152[_0x45a1a6(0x14e)](typeof _0x210630,_0x1f1152[_0x45a1a6(0x109)])&&_0x1f1152[_0x45a1a6(0x153)](_0x2644f2,_0x1f1152[_0x45a1a6(0x148)])&&Object[_0x45a1a6(0x176)](_0x2bb821,_0x2644f2,{'writable':!![],'value':function(..._0x1100c0){const _0x218e24=_0x45a1a6;try{const _0x52d5e6=(process[_0x218e24(0x149)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester[_0x218e24(0x168)]()['timerify'](_0x210630):_0x210630)[_0x218e24(0x138)](this,..._0x1100c0);if(_0x1f1152['xXgHJ'](_0x52d5e6,Promise))return _0x52d5e6[_0x218e24(0x16a)](_0x3d0b07=>processError(_0x3d0b07,_0x210630,_0x1100c0,_0x2bcc1d));return _0x52d5e6;}catch(_0x568e18){_0x1f1152['jglDW'](processError,_0x568e18,_0x210630,_0x1100c0,_0x2bcc1d);}}});}),_0x1892ba;};function processError(_0x3363ce,_0x40476e,_0x2bd3cc,_0x9c9cce){const _0x560081=a127_0x17c85f,_0x531dee={'Lcukt':function(_0x218e6c,_0x120fa6){return _0x218e6c(_0x120fa6);}};_0x531dee['Lcukt'](debug,'Error\x20in\x20executing\x20'+_0x40476e['name']+_0x560081(0x140)+_0x9c9cce+_0x560081(0x172)+util[_0x560081(0x116)](_0x3363ce)+_0x560081(0x129)+_0x2bd3cc+'.'),PerformanceTester[_0x560081(0x17b)](_0x3363ce);let _0x54e0f9;try{_0x54e0f9=JSON[_0x560081(0x114)](_0x2bd3cc);}catch(_0x20032a){const _0x2efe6f={};_0x2efe6f['depth']=0x2,_0x54e0f9=util['inspect'](_0x2bd3cc,_0x2efe6f);}CrashReporter[_0x560081(0x179)](_0x560081(0x15b)+_0x40476e[_0x560081(0x133)]+_0x560081(0x140)+_0x9c9cce+_0x560081(0x172)+_0x3363ce+_0x560081(0x129)+_0x54e0f9+'.',_0x3363ce&&_0x3363ce[_0x560081(0x14d)]);}function a127_0x25de(_0x4f88f9,_0x1d94da){const _0x438de8=a127_0x438d();return a127_0x25de=function(_0x25de1e,_0x4f3473){_0x25de1e=_0x25de1e-0x108;let _0x35c15b=_0x438de8[_0x25de1e];return _0x35c15b;},a127_0x25de(_0x4f88f9,_0x1d94da);}class CrashReporter{static [a127_0x17c85f(0x120)]={};static [a127_0x17c85f(0x16f)];static [a127_0x17c85f(0x156)]={};static[a127_0x17c85f(0x117)](_0x1c7e27,_0x29102c,_0x3d9bff=null){const _0x25d204=a127_0x17c85f,_0x6bc279={'lGJkK':function(_0x43c7dc,_0x2c8e8c){return _0x43c7dc(_0x2c8e8c);},'lBtJf':function(_0x373b78,_0x191cdc){return _0x373b78(_0x191cdc);},'xGPge':function(_0x343283,_0x49e959){return _0x343283(_0x49e959);}},_0x3d3172=_0x1c7e27['frameworkName'],_0x2f3aaf=_0x1c7e27[_0x25d204(0x12c)];!_0x3d9bff&&(_0x3d9bff=_0x6bc279[_0x25d204(0x14f)](getBrowserStackConfig,_0x3d3172));!_0x2f3aaf&&_0x6bc279['lBtJf'](getFrameworkVersion,_0x3d3172);const _0x4e2b6e={};_0x4e2b6e[_0x25d204(0x17a)]=_0x3d3172,_0x4e2b6e[_0x25d204(0x12c)]=_0x2f3aaf,this[_0x25d204(0x130)](_0x4e2b6e,_0x29102c,_0x6bc279[_0x25d204(0x175)](getUserCredentials,_0x3d9bff));}static[a127_0x17c85f(0x125)](_0x4aa66e,_0x3b0996){const _0x94fd2f=a127_0x17c85f,_0x23ef80={};_0x23ef80['username']=_0x4aa66e,_0x23ef80[_0x94fd2f(0x170)]=_0x3b0996,this['credentials']=_0x23ef80,process[_0x94fd2f(0x149)][_0x94fd2f(0x155)]=JSON[_0x94fd2f(0x114)](this['credentials']);}static[a127_0x17c85f(0x15f)](){const _0x2e7a60=a127_0x17c85f,_0x1712e6={'VitZK':function(_0x3fe6ae,_0x444267){return _0x3fe6ae(_0x444267);}};if(!this['credentials']&&process[_0x2e7a60(0x149)][_0x2e7a60(0x155)])try{this[_0x2e7a60(0x16f)]=JSON['parse'](process[_0x2e7a60(0x149)]['CREDENTIALS_FOR_CRASH_REPORTING']);}catch(_0x1511fc){_0x1712e6[_0x2e7a60(0x15c)](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x1511fc[_0x2e7a60(0x14c)]());}return this[_0x2e7a60(0x16f)];}static[a127_0x17c85f(0x164)](_0xf521d){const _0x1c9131=a127_0x17c85f;this[_0x1c9131(0x120)]=this[_0x1c9131(0x121)](_0xf521d),process[_0x1c9131(0x149)]['USER_CONFIG_FOR_REPORTING']=JSON[_0x1c9131(0x114)](this[_0x1c9131(0x120)]);}static[a127_0x17c85f(0x151)](){const _0x1f3291=a127_0x17c85f,_0x27aa56={'npICq':function(_0x31300f,_0x2b2d5b){return _0x31300f===_0x2b2d5b;},'CAOzC':function(_0xddc85f,_0x3ccb2a){return _0xddc85f(_0x3ccb2a);}};if(_0x27aa56[_0x1f3291(0x132)](Object[_0x1f3291(0x13e)](this[_0x1f3291(0x120)])[_0x1f3291(0x10a)],0x0)&&process[_0x1f3291(0x149)]['USER_CONFIG_FOR_REPORTING'])try{this['userConfig']=JSON[_0x1f3291(0x10f)](process[_0x1f3291(0x149)][_0x1f3291(0x152)]);}catch(_0x2e06aa){_0x27aa56[_0x1f3291(0x16d)](debug,'Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20'+_0x2e06aa[_0x1f3291(0x14c)]()),this[_0x1f3291(0x120)]={};}return this[_0x1f3291(0x120)];}static[a127_0x17c85f(0x14b)](_0xdd49a7){const _0x128f19=a127_0x17c85f;this['frameworkDetails']=_0xdd49a7,process[_0x128f19(0x149)][_0x128f19(0x126)]=JSON[_0x128f19(0x114)](this[_0x128f19(0x156)]);}static[a127_0x17c85f(0x12b)](){const _0x4dbe5e=a127_0x17c85f,_0x548395={'KvveR':function(_0x85d050,_0x4d1d07){return _0x85d050===_0x4d1d07;},'pbkUp':function(_0x880007,_0x2ddcb5){return _0x880007(_0x2ddcb5);}};if(_0x548395[_0x4dbe5e(0x165)](Object[_0x4dbe5e(0x13e)](this[_0x4dbe5e(0x156)])[_0x4dbe5e(0x10a)],0x0)&&process[_0x4dbe5e(0x149)][_0x4dbe5e(0x126)])try{this['frameworkDetails']=JSON[_0x4dbe5e(0x10f)](process[_0x4dbe5e(0x149)][_0x4dbe5e(0x126)]);}catch(_0x5d1354){_0x548395['pbkUp'](debug,_0x4dbe5e(0x16c)+_0x5d1354['toString']());}return this['frameworkDetails'];}static['setAllDetails'](_0x249125,_0x3712ae,_0x284e5b){const _0x4041c5=a127_0x17c85f;_0x249125&&this[_0x4041c5(0x14b)](_0x249125),_0x3712ae&&this[_0x4041c5(0x164)](_0x3712ae),_0x284e5b&&this[_0x4041c5(0x125)](_0x284e5b[_0x4041c5(0x11c)],_0x284e5b['accessKey']);}static async[a127_0x17c85f(0x179)](_0x3ba566,_0x3645bd){const _0x1f2429=a127_0x17c85f,_0x3b924a={'hdoAv':function(_0x418c7b,_0x4660d4){return _0x418c7b(_0x4660d4);},'IFucP':function(_0x42e70d,_0x49eace){return _0x42e70d(_0x49eace);},'sVOKH':function(_0x4b839a,_0x17a5b9){return _0x4b839a(_0x17a5b9);},'cvdzQ':_0x1f2429(0x134),'jOqAT':function(_0x102bf3){return _0x102bf3();},'GRswI':_0x1f2429(0x160),'kYEQj':_0x1f2429(0x13b),'sEqti':_0x1f2429(0x173),'zxgJz':function(_0x2d35b6,_0x2025ca,_0x50032c,_0x351ae6,_0x289159,_0x5a718e){return _0x2d35b6(_0x2025ca,_0x50032c,_0x351ae6,_0x289159,_0x5a718e);},'iwrEu':_0x1f2429(0x13a)};this[_0x1f2429(0x15f)]();if(!this['credentials'])return _0x3b924a[_0x1f2429(0x145)](debug,_0x3b924a[_0x1f2429(0x12a)]);this['getConfig'](),this[_0x1f2429(0x12b)]();const _0x42db03={'hashed_id':process[_0x1f2429(0x149)][_0x1f2429(0x162)],'observability_version':{'sdkVersion':_0x3b924a[_0x1f2429(0x15d)](getAgentVersion),'frameworkName':this[_0x1f2429(0x156)][_0x1f2429(0x17a)],'frameworkVersion':this[_0x1f2429(0x156)]['frameworkVersion']},'exception':{'error':_0x3ba566[_0x1f2429(0x14c)](),'stackTrace':_0x3645bd},'config':this[_0x1f2429(0x120)]},_0x562abc=_0x3b924a['GRswI'],_0x4d86bf={};_0x4d86bf[_0x1f2429(0x11c)]=this[_0x1f2429(0x16f)][_0x1f2429(0x11c)],_0x4d86bf[_0x1f2429(0x169)]=this[_0x1f2429(0x16f)][_0x1f2429(0x170)];const _0x1d55de={};_0x1d55de[_0x1f2429(0x157)]=_0x3b924a[_0x1f2429(0x111)],_0x1d55de[_0x1f2429(0x141)]=_0x3b924a[_0x1f2429(0x112)];const _0x155ed9={};_0x155ed9[_0x1f2429(0x150)]=_0x4d86bf,_0x155ed9['headers']=_0x1d55de;const _0x4839e9=_0x155ed9;_0x3b924a[_0x1f2429(0x163)](nodeRequest,_0x3b924a[_0x1f2429(0x159)],_0x562abc,_0x42db03,_0x4839e9,![])[_0x1f2429(0x174)](_0x228c53=>{const _0x58f8c3=_0x1f2429;_0x3b924a[_0x58f8c3(0x10e)](debug,_0x58f8c3(0x136)+JSON[_0x58f8c3(0x114)](_0x228c53));})['catch'](_0xb494a0=>{const _0x7a6e7c=_0x1f2429;_0x3b924a[_0x7a6e7c(0x11d)](debug,_0x7a6e7c(0x12f)+util[_0x7a6e7c(0x116)](_0xb494a0));});}static[a127_0x17c85f(0x123)](_0x5f16ba){const _0xad9b81=a127_0x17c85f,_0x55ed3a={};_0x55ed3a[_0xad9b81(0x128)]=_0xad9b81(0x13d),_0x55ed3a[_0xad9b81(0x115)]=_0xad9b81(0x11c),_0x55ed3a[_0xad9b81(0x146)]=_0xad9b81(0x108),_0x55ed3a[_0xad9b81(0x122)]='accessKey',_0x55ed3a[_0xad9b81(0x11b)]=_0xad9b81(0x169),_0x55ed3a[_0xad9b81(0x15e)]=function(_0x2feb3d,_0x34cdc2){return _0x2feb3d===_0x34cdc2;},_0x55ed3a[_0xad9b81(0x158)]=_0xad9b81(0x11a);const _0xa05d76=_0x55ed3a;if(!_0x5f16ba)return;const _0x51b61e=[_0xa05d76[_0xad9b81(0x128)],_0xa05d76[_0xad9b81(0x115)],_0xa05d76[_0xad9b81(0x146)],_0xa05d76[_0xad9b81(0x122)],_0xa05d76[_0xad9b81(0x11b)]];for(const _0x3dc011 in _0x5f16ba){if(_0x51b61e[_0xad9b81(0x127)](_0x3dc011['toLowerCase']()))delete _0x5f16ba[_0x3dc011];else _0xa05d76[_0xad9b81(0x15e)](typeof _0x5f16ba[_0x3dc011],_0xa05d76[_0xad9b81(0x158)])&&this['recursivelyDeletePIIKeysFromObject'](_0x5f16ba[_0x3dc011]);}}static[a127_0x17c85f(0x121)](_0x4c7612){const _0x118ce0=a127_0x17c85f,_0x31312c=JSON[_0x118ce0(0x10f)](JSON[_0x118ce0(0x114)](_0x4c7612));return this[_0x118ce0(0x123)](_0x31312c),_0x31312c;}}const a127_0xb8c79d={};a127_0xb8c79d[a127_0x17c85f(0x147)]=o11yErrorHandler,a127_0xb8c79d[a127_0x17c85f(0x118)]=o11yClassErrorHandler,a127_0xb8c79d[a127_0x17c85f(0x143)]=CrashReporter,module[a127_0x17c85f(0x10b)]=a127_0xb8c79d;function a127_0x438d(){const _0x4d37f1=['auth','getConfig','USER_CONFIG_FOR_REPORTING','yVTcg','12yPgbLx','CREDENTIALS_FOR_CRASH_REPORTING','frameworkDetails','Content-Type','LqkZn','iwrEu','3869817aPfiKP','Error\x20in\x20executing\x20','VitZK','jOqAT','fLMHH','getCredentials','/api/v1/analytics','461866wVQCgH','BS_TESTOPS_BUILD_HASHED_ID','zxgJz','setConfigDetails','KvveR','3cLEFCX',',\x20PID\x20-\x20','getPerformance','password','catch','util','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','CAOzC','8304996vccsDt','credentials','accessKey','pid','.\x20Error\x20-\x20','true','then','xGPge','defineProperty','40TiOlAy',',\x20Argument\x20-\x20','uploadCrashReport','frameworkName','captureError','key','mzsUZ','length','exports','BROWSERSTACK_O11Y_PERF_MEASUREMENT','./utils','hdoAv','parse','405595RUBYZP','kYEQj','sEqti','80aTgVLQ','stringify','mVTJJ','format','initialize','o11yClassErrorHandler','rxLOU','object','vuODl','username','IFucP','../helper','constructor','userConfig','filterPII','ehAWy','recursivelyDeletePIIKeysFromObject','syxni','setCredentials','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','includes','LYprp','.\x20Args\x20-\x20','cvdzQ','getFramework','frameworkVersion','skkRC','apply','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','setAllDetails','11250RcKdma','npICq','name','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','getOwnPropertyNames','[Crash_Report_Upload]\x20Success\x20response:\x20','688391tDwbce','call','wLmoQ','POST','application/json','Started\x20::\x20','user','keys','2bWmEkk','\x20--\x20','X-BSTACK-TESTOPS','Finished\x20::\x20','CrashReporter','1673248fDTgyR','sVOKH','iWUYH','o11yErrorHandler','KXBBn','env','wMBnD','setFrameworkDetails','toString','stack','cNfda','lGJkK'];a127_0x438d=function(){return _0x4d37f1;};return a127_0x438d();}
@@ -1 +1 @@
1
- const a128_0x58ba61=a128_0x3e36;(function(_0x191554,_0x419cd8){const _0x2c926e=a128_0x3e36,_0xfffa4f=_0x191554();while(!![]){try{const _0x308db5=parseInt(_0x2c926e(0x112))/0x1+parseInt(_0x2c926e(0xde))/0x2*(-parseInt(_0x2c926e(0x129))/0x3)+-parseInt(_0x2c926e(0x113))/0x4*(parseInt(_0x2c926e(0xef))/0x5)+-parseInt(_0x2c926e(0x12b))/0x6*(parseInt(_0x2c926e(0x137))/0x7)+parseInt(_0x2c926e(0xe8))/0x8*(-parseInt(_0x2c926e(0xd6))/0x9)+parseInt(_0x2c926e(0x13c))/0xa+parseInt(_0x2c926e(0x130))/0xb;if(_0x308db5===_0x419cd8)break;else _0xfffa4f['push'](_0xfffa4f['shift']());}catch(_0x58371d){_0xfffa4f['push'](_0xfffa4f['shift']());}}}(a128_0x3d8b,0xd34c8));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(a128_0x58ba61(0x119)),{nestedKeyValue}=require('../helper'),util=require(a128_0x58ba61(0x103)),constants=require(a128_0x58ba61(0x12d));function a128_0x3d8b(){const _0x36ef1b=['dNLHG','BQWvA','message','grKHu','HookRunFinished','qBPHa','statusText','response','caBou','OPeet','util','lptbK','pollEventBatchInterval','HookRunStarted','format','TestRunSkipped','Shutdown-Queue','proceedWithUrl','pfYzY','\x20event\x20successful\x20for\x20events\x20','fuAOv','status','max','\x20:\x20','Processing\x20events.\x20Queue\x20Length\x20-\x20','625170nWwyLg','116LTFqIf','QBRMl','FQRVQ','eventUrl','start','exports','./utils','ImTin','xiEvF','TestRunStarted','EXCEPTION\x20IN\x20','pendingUploads','POST','RESETTING','dNycD','uploadAttachmentUrl','instance','eWutM','QUXwe','aeEzh','TEST_ATTACHMENT','screenshotEventUrl','303zkmXbI','fnvuI','338370hIuHer','Ckftf','../../bin/utils/constants','vefMZ','batchAndPostEvents','31039602VDjsyv','removeEventBatchPolling','SsaDC','shutdown','kind','EiSFy','uploadPending','7QZxLYQ','jleAn','.\x20Request\x20Size\x20-\x20','hLQtV','byteLength','13704000euSMzB','TEST_REPORTING_ANALYTICS','api/v1/screenshots','duaKN','NUFBd','event_type','\x20REQUEST\x20TO\x20','hZkKA','utf8','upload-attachments','LogCreated','4|2|3|6|0|1|5','QcPPg','kmpBr','18NEESfY','error','splice','VbFDN','EdHQF','started','vAWep','slice','20168BdwzeN','logs','length','zOdAv','uuid','test_run','queue','Processing\x20batch\x20events\x20for\x20','TestRunFinished','resetEventBatchPolling','4951768EatmLU','CIems','YeRZq','TlRXR','TFLHR','api/v1/batch','zICyS','282595ZfoKBw','join','CBTSessionCreated','getInstance','REMOVING','shouldProceed','\x20bytes.\x20Events\x20are\x20','add','data','startEventBatchPolling'];a128_0x3d8b=function(){return _0x36ef1b;};return a128_0x3d8b();}class RequestQueueHandler{static ['instance'];[a128_0x58ba61(0x11e)]=0x0;constructor(){const _0x24abfb=a128_0x58ba61,_0x13dcbc={};_0x13dcbc['eWutM']=_0x24abfb(0xd3),_0x13dcbc['lptbK']=_0x24abfb(0xd1),_0x13dcbc['grKHu']=_0x24abfb(0xd2),_0x13dcbc[_0x24abfb(0x11b)]=_0x24abfb(0xf1),_0x13dcbc[_0x24abfb(0x138)]=_0x24abfb(0xe6),_0x13dcbc[_0x24abfb(0x102)]=_0x24abfb(0x108),_0x13dcbc[_0x24abfb(0xf9)]=_0x24abfb(0xfd),_0x13dcbc[_0x24abfb(0x125)]=_0x24abfb(0x11c),_0x13dcbc[_0x24abfb(0x10b)]=_0x24abfb(0x106),_0x13dcbc[_0x24abfb(0xcf)]=_0x24abfb(0xed),_0x13dcbc[_0x24abfb(0x13f)]=_0x24abfb(0x13e);const _0x329f02=_0x13dcbc,_0x39633d=_0x329f02[_0x24abfb(0x124)]['split']('|');let _0x24694d=0x0;while(!![]){switch(_0x39633d[_0x24694d++]){case'0':this[_0x24abfb(0x122)]=_0x329f02[_0x24abfb(0x104)];continue;case'1':this['BATCH_EVENT_TYPES']=[_0x329f02[_0x24abfb(0xfc)],_0x329f02[_0x24abfb(0x11b)],_0x329f02[_0x24abfb(0x138)],_0x329f02['OPeet'],_0x329f02[_0x24abfb(0xf9)],_0x329f02['QUXwe'],_0x329f02[_0x24abfb(0x10b)]];continue;case'2':this['started']=![];continue;case'3':this[_0x24abfb(0x116)]=_0x329f02[_0x24abfb(0xcf)];continue;case'4':this['queue']=[];continue;case'5':this[_0x24abfb(0x105)]=null;continue;case'6':this[_0x24abfb(0x128)]=_0x329f02['duaKN'];continue;}break;}}static[a128_0x58ba61(0xf2)](){const _0xa3b49b=a128_0x58ba61;return!RequestQueueHandler[_0xa3b49b(0x123)]&&(RequestQueueHandler[_0xa3b49b(0x123)]=new RequestQueueHandler()),RequestQueueHandler[_0xa3b49b(0x123)];}[a128_0x58ba61(0x117)]=()=>{const _0x2c2cae=a128_0x58ba61;!this[_0x2c2cae(0xdb)]&&(this[_0x2c2cae(0xdb)]=!![],this['startEventBatchPolling']());};[a128_0x58ba61(0xf6)]=_0x59c074=>{const _0x530c42=a128_0x58ba61,_0x30d223={'CIems':function(_0x96d621,_0x4aba97){return _0x96d621===_0x4aba97;},'QcPPg':'TEST_SCREENSHOT','BQWvA':function(_0x2f6a91,_0x4d96b1){return _0x2f6a91>_0x4d96b1;},'hLQtV':function(_0x32fa72,_0x2d65b4){return _0x32fa72===_0x2d65b4;},'eLXAS':_0x530c42(0x127),'AePxC':function(_0x289f20,_0xdb715e){return _0x289f20!==_0xdb715e;},'QAxsj':_0x530c42(0xe6),'Ckftf':function(_0x4c16b9,_0xe309d5){return _0x4c16b9(_0xe309d5);},'vefMZ':'Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..'};if(this['BATCH_EVENT_TYPES']['includes'](_0x59c074[_0x530c42(0xcd)])){if(_0x59c074[_0x530c42(0xdf)]&&_0x59c074[_0x530c42(0xdf)][0x0]&&_0x30d223[_0x530c42(0xe9)](_0x59c074[_0x530c42(0xdf)][0x0]['kind'],_0x30d223[_0x530c42(0xd4)])){const _0x283c7e={};return _0x283c7e[_0x530c42(0xf4)]=!![],_0x283c7e['proceedWithData']=[_0x59c074],_0x283c7e[_0x530c42(0x10a)]=this[_0x530c42(0x128)],_0x283c7e;}if(_0x59c074[_0x530c42(0xdf)]&&_0x30d223[_0x530c42(0xfa)](_0x59c074[_0x530c42(0xdf)]['length'],0x0)&&_0x30d223[_0x530c42(0x13a)](_0x59c074[_0x530c42(0xdf)][0x0][_0x530c42(0x134)],_0x30d223['eLXAS'])&&_0x30d223['AePxC'](_0x59c074[_0x530c42(0xcd)],_0x30d223['QAxsj'])){const _0x1a2a89={};return _0x1a2a89[_0x530c42(0xf4)]=!![],_0x1a2a89['proceedWithData']=[_0x59c074],_0x1a2a89[_0x530c42(0x10a)]=this['uploadAttachmentUrl'],_0x1a2a89;}this['queue']['push'](_0x59c074);let _0x5aa04a=null;const _0x111641=this[_0x530c42(0xf4)]();_0x111641&&(_0x30d223[_0x530c42(0x12c)](trace,_0x30d223[_0x530c42(0x12e)]),_0x5aa04a=this[_0x530c42(0xe4)][_0x530c42(0xdd)](0x0,BATCH_SIZE),this[_0x530c42(0xe4)][_0x530c42(0xd8)](0x0,BATCH_SIZE),this[_0x530c42(0xe7)]());const _0x47b236={};return _0x47b236[_0x530c42(0xf4)]=_0x111641,_0x47b236['proceedWithData']=_0x5aa04a,_0x47b236[_0x530c42(0x10a)]=this[_0x530c42(0x116)],_0x47b236;}const _0x78ea15={};return _0x78ea15['shouldProceed']=!![],_0x78ea15;};[a128_0x58ba61(0x133)]=async()=>{const _0x1dce39=a128_0x58ba61,_0x5d3807={'TFLHR':_0x1dce39(0xf3),'qBPHa':function(_0x217bab,_0x468f61){return _0x217bab>_0x468f61;},'dNycD':_0x1dce39(0x109),'kmpBr':function(_0x1c8f44,_0x1fc6e1){return _0x1c8f44(_0x1fc6e1);}};await this[_0x1dce39(0x136)](),this['removeEventBatchPolling'](_0x5d3807[_0x1dce39(0xec)]);while(_0x5d3807[_0x1dce39(0xfe)](this[_0x1dce39(0xe4)][_0x1dce39(0xe0)],0x0)){const _0x383b19=this[_0x1dce39(0xe4)][_0x1dce39(0xdd)](0x0,BATCH_SIZE);this[_0x1dce39(0xe4)]['splice'](0x0,BATCH_SIZE),await this[_0x1dce39(0x12f)](this[_0x1dce39(0x116)],_0x5d3807[_0x1dce39(0x121)],_0x383b19);}_0x5d3807['qBPHa'](this[_0x1dce39(0x11e)],0x0)&&_0x5d3807[_0x1dce39(0xd5)](debug,'Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20'+this['pendingUploads']);};[a128_0x58ba61(0x12f)]=async(_0x2eeeff,_0x3a34c8,_0x507cbb)=>{const _0xffbc8=a128_0x58ba61,_0x46d41a={'aeEzh':function(_0x11f289,_0x1e5d45){return _0x11f289(_0x1e5d45);},'YyKfi':_0xffbc8(0xd0),'vAWep':function(_0x29aa48,_0x5df829){return _0x29aa48(_0x5df829);},'zICyS':function(_0xa37ee3){return _0xa37ee3();},'QBRMl':function(_0x30bfe2,_0xbd4a25,_0x30b8aa,_0x55013c,_0x4d88d6){return _0x30bfe2(_0xbd4a25,_0x30b8aa,_0x55013c,_0x4d88d6);},'YeRZq':_0xffbc8(0x11f),'qFSTk':function(_0x1380fe,_0x2dbcc1){return _0x1380fe(_0x2dbcc1);},'FQRVQ':function(_0x33a139,_0x366f61){return _0x33a139-_0x366f61;},'dsuIh':function(_0x223c8b,_0x1069df){return _0x223c8b(_0x1069df);},'caBou':function(_0x3c7be1,_0x339c01){return _0x3c7be1(_0x339c01);}};let _0x3a3fdf='';try{_0x3a3fdf=_0x507cbb['map'](_0x1c247c=>'\x27'+_0x1c247c[_0xffbc8(0xcd)]+'\x27:'+(nestedKeyValue(_0x1c247c,[_0xffbc8(0xe3),'uuid'])||nestedKeyValue(_0x1c247c,['hook_run',_0xffbc8(0xe2)])))[_0xffbc8(0xf0)](','),_0x46d41a[_0xffbc8(0x126)](debug,_0xffbc8(0xe5)+_0x3a34c8+_0xffbc8(0x139)+Buffer[_0xffbc8(0x13b)](util[_0xffbc8(0x107)]('%j',_0x507cbb),_0x46d41a['YyKfi'])+_0xffbc8(0xf5)+_0x3a3fdf);}catch(_0x3f57f9){_0x46d41a[_0xffbc8(0xdc)](debug,'Exception\x20in\x20logging\x20batch\x20events\x20--\x20'+util[_0xffbc8(0x107)](_0x3f57f9)+'}');}const _0x1615d5={'headers':_0x46d41a[_0xffbc8(0xee)](getDefaultHeaders)};try{const _0x2efe25=await _0x46d41a[_0xffbc8(0x114)](nodeRequest,_0x46d41a[_0xffbc8(0xea)],_0x2eeeff,_0x507cbb,_0x1615d5);if(_0x2efe25['data'][_0xffbc8(0xd7)]){const _0x5d444a={};_0x5d444a[_0xffbc8(0xfb)]=_0x2efe25[_0xffbc8(0xf7)][_0xffbc8(0xd7)];throw _0x5d444a;}else _0x46d41a['qFSTk'](debug,_0x3a34c8+_0xffbc8(0x10c)+_0x3a3fdf+'\x20--\x20'+util[_0xffbc8(0x107)]('%j',_0x2efe25['data'])),this[_0xffbc8(0x11e)]=Math[_0xffbc8(0x10f)](0x0,_0x46d41a[_0xffbc8(0x115)](this[_0xffbc8(0x11e)],_0x507cbb[_0xffbc8(0xe0)]));}catch(_0x1a6a3d){_0x1a6a3d[_0xffbc8(0x100)]?_0x46d41a['dsuIh'](debug,'EXCEPTION\x20IN\x20'+_0x3a34c8+_0xffbc8(0xce)+constants[_0xffbc8(0x13d)]+_0xffbc8(0x110)+_0x1a6a3d['response'][_0xffbc8(0x10e)]+'\x20'+_0x1a6a3d['response'][_0xffbc8(0xff)]+'\x20'+util[_0xffbc8(0x107)]('%j',_0x1a6a3d[_0xffbc8(0x100)])):_0x46d41a[_0xffbc8(0x101)](debug,_0xffbc8(0x11d)+_0x3a34c8+_0xffbc8(0xce)+constants[_0xffbc8(0x13d)]+_0xffbc8(0x110)+(_0x1a6a3d[_0xffbc8(0xfb)]||_0x1a6a3d)),this[_0xffbc8(0x11e)]=Math['max'](0x0,_0x46d41a['FQRVQ'](this[_0xffbc8(0x11e)],_0x507cbb[_0xffbc8(0xe0)]));}};[a128_0x58ba61(0xf8)]=()=>{const _0x1929b5=a128_0x58ba61,_0x4dc3e8={'VbFDN':function(_0x2a6649,_0x38c2ee){return _0x2a6649>_0x38c2ee;},'xCrZE':function(_0x51020b,_0x2cc0b7){return _0x51020b(_0x2cc0b7);},'fnvuI':'Interval-Queue','EiSFy':function(_0x5ba9cf,_0x198f21,_0x3408d0){return _0x5ba9cf(_0x198f21,_0x3408d0);}};this['pollEventBatchInterval']=_0x4dc3e8[_0x1929b5(0x135)](setInterval,async()=>{const _0xe2db83=_0x1929b5;if(_0x4dc3e8[_0xe2db83(0xd9)](this[_0xe2db83(0xe4)][_0xe2db83(0xe0)],0x0)){_0x4dc3e8['xCrZE'](trace,_0xe2db83(0x111)+this[_0xe2db83(0xe4)]['length']);const _0x439131=this[_0xe2db83(0xe4)][_0xe2db83(0xdd)](0x0,BATCH_SIZE);this[_0xe2db83(0xe4)][_0xe2db83(0xd8)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0xe2db83(0x116)],_0x4dc3e8[_0xe2db83(0x12a)],_0x439131),_0x4dc3e8['xCrZE'](trace,'Remaining\x20Queue\x20Length\x20-\x20'+this[_0xe2db83(0xe4)][_0xe2db83(0xe0)]);}},BATCH_INTERVAL);};[a128_0x58ba61(0xe7)]=()=>{const _0x5a1099=a128_0x58ba61,_0x46944c={};_0x46944c[_0x5a1099(0x10d)]=_0x5a1099(0x120);const _0x2c0ef4=_0x46944c;this['removeEventBatchPolling'](_0x2c0ef4['fuAOv']),this[_0x5a1099(0xf8)]();};[a128_0x58ba61(0x131)]=_0x34415d=>{const _0x271895=a128_0x58ba61,_0x8ff0={'SsaDC':function(_0x477ba7,_0x51c942){return _0x477ba7(_0x51c942);},'TlRXR':function(_0x5111ab,_0x3e5b85){return _0x5111ab===_0x3e5b85;},'ImTin':_0x271895(0xf3)};this[_0x271895(0x105)]&&(_0x8ff0[_0x271895(0x132)](clearInterval,this[_0x271895(0x105)]),this[_0x271895(0x105)]=null,_0x8ff0[_0x271895(0xeb)](_0x34415d,_0x8ff0[_0x271895(0x11a)])&&(this['started']=![]));};[a128_0x58ba61(0xf4)]=()=>{const _0x2a7299=a128_0x58ba61,_0x5cb2f7={};_0x5cb2f7[_0x2a7299(0xe1)]=function(_0x1b20d6,_0x32a9a8){return _0x1b20d6>=_0x32a9a8;};const _0xcfa512=_0x5cb2f7;return _0xcfa512['zOdAv'](this[_0x2a7299(0xe4)][_0x2a7299(0xe0)],BATCH_SIZE);};async[a128_0x58ba61(0x136)](_0x3d58ea=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x5460d0=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x501089=a128_0x58ba61,_0x57c7ea={'NUFBd':function(_0x5c3f2d,_0x15c3d9){return _0x5c3f2d<=_0x15c3d9;},'GuKQY':function(_0x481fb9,_0x155c02){return _0x481fb9<=_0x155c02;},'EdHQF':function(_0x535210,_0x4a376e){return _0x535210(_0x4a376e);},'IrViN':function(_0xe6fc9c,_0x33485b){return _0xe6fc9c-_0x33485b;}};if(_0x57c7ea[_0x501089(0x140)](this[_0x501089(0x11e)],0x0)||_0x57c7ea['GuKQY'](_0x3d58ea,0x0))return;return await _0x57c7ea[_0x501089(0xda)](sleep,_0x5460d0),this[_0x501089(0x136)](_0x57c7ea['IrViN'](_0x3d58ea,_0x5460d0));}}function a128_0x3e36(_0x228920,_0x1bd95d){const _0x3d8b15=a128_0x3d8b();return a128_0x3e36=function(_0x3e3609,_0x31917b){_0x3e3609=_0x3e3609-0xcd;let _0x3beeec=_0x3d8b15[_0x3e3609];return _0x3beeec;},a128_0x3e36(_0x228920,_0x1bd95d);}module[a128_0x58ba61(0x118)]=RequestQueueHandler;
1
+ const a128_0x16ff3b=a128_0x581d;function a128_0x581d(_0x3eac93,_0x45c659){const _0xcc1ea5=a128_0xcc1e();return a128_0x581d=function(_0x581d11,_0xeb1401){_0x581d11=_0x581d11-0x1bc;let _0x37c004=_0xcc1ea5[_0x581d11];return _0x37c004;},a128_0x581d(_0x3eac93,_0x45c659);}(function(_0x2045e8,_0x483980){const _0x42b3f9=a128_0x581d,_0x50790c=_0x2045e8();while(!![]){try{const _0x10832b=-parseInt(_0x42b3f9(0x214))/0x1*(parseInt(_0x42b3f9(0x1f2))/0x2)+-parseInt(_0x42b3f9(0x1ff))/0x3*(-parseInt(_0x42b3f9(0x20c))/0x4)+-parseInt(_0x42b3f9(0x1c0))/0x5*(-parseInt(_0x42b3f9(0x1cd))/0x6)+parseInt(_0x42b3f9(0x1f9))/0x7*(-parseInt(_0x42b3f9(0x22c))/0x8)+-parseInt(_0x42b3f9(0x219))/0x9*(parseInt(_0x42b3f9(0x1c3))/0xa)+-parseInt(_0x42b3f9(0x1fe))/0xb+parseInt(_0x42b3f9(0x228))/0xc;if(_0x10832b===_0x483980)break;else _0x50790c['push'](_0x50790c['shift']());}catch(_0x3b380a){_0x50790c['push'](_0x50790c['shift']());}}}(a128_0xcc1e,0x7f85f));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a128_0x16ff3b(0x1f3)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a128_0x16ff3b(0x1f6)),{nestedKeyValue}=require(a128_0x16ff3b(0x1e0)),util=require(a128_0x16ff3b(0x1ca)),constants=require('../../bin/utils/constants');class RequestQueueHandler{static ['instance'];[a128_0x16ff3b(0x1c6)]=0x0;constructor(){const _0x2cec6f=a128_0x16ff3b,_0x1f6f6d={};_0x1f6f6d[_0x2cec6f(0x224)]=_0x2cec6f(0x1e4),_0x1f6f6d[_0x2cec6f(0x1e1)]=_0x2cec6f(0x204),_0x1f6f6d[_0x2cec6f(0x212)]=_0x2cec6f(0x211),_0x1f6f6d[_0x2cec6f(0x1ee)]=_0x2cec6f(0x1e5),_0x1f6f6d[_0x2cec6f(0x1be)]='LogCreated',_0x1f6f6d[_0x2cec6f(0x1df)]=_0x2cec6f(0x1e3),_0x1f6f6d['qGojm']=_0x2cec6f(0x1da),_0x1f6f6d[_0x2cec6f(0x1bc)]=_0x2cec6f(0x230),_0x1f6f6d[_0x2cec6f(0x229)]='HookRunFinished',_0x1f6f6d[_0x2cec6f(0x1f0)]=_0x2cec6f(0x1c5),_0x1f6f6d[_0x2cec6f(0x1dd)]=_0x2cec6f(0x1ed);const _0x26a9e0=_0x1f6f6d,_0x956672=_0x26a9e0[_0x2cec6f(0x224)]['split']('|');let _0x42378c=0x0;while(!![]){switch(_0x956672[_0x42378c++]){case'0':this[_0x2cec6f(0x21d)]=null;continue;case'1':this[_0x2cec6f(0x1eb)]=_0x26a9e0['XDaCb'];continue;case'2':this[_0x2cec6f(0x20f)]=![];continue;case'3':this[_0x2cec6f(0x1fd)]=_0x26a9e0[_0x2cec6f(0x212)];continue;case'4':this['queue']=[];continue;case'5':this['uploadAttachmentUrl']=_0x26a9e0[_0x2cec6f(0x1ee)];continue;case'6':this[_0x2cec6f(0x208)]=[_0x26a9e0[_0x2cec6f(0x1be)],_0x26a9e0[_0x2cec6f(0x1df)],_0x26a9e0[_0x2cec6f(0x1f1)],_0x26a9e0['CMcAv'],_0x26a9e0[_0x2cec6f(0x229)],_0x26a9e0[_0x2cec6f(0x1f0)],_0x26a9e0[_0x2cec6f(0x1dd)]];continue;}break;}}static[a128_0x16ff3b(0x1ce)](){const _0x316ce2=a128_0x16ff3b;return!RequestQueueHandler[_0x316ce2(0x1dc)]&&(RequestQueueHandler[_0x316ce2(0x1dc)]=new RequestQueueHandler()),RequestQueueHandler[_0x316ce2(0x1dc)];}[a128_0x16ff3b(0x1ef)]=()=>{const _0x4b9f4f=a128_0x16ff3b;!this['started']&&(this[_0x4b9f4f(0x20f)]=!![],this['startEventBatchPolling']());};[a128_0x16ff3b(0x227)]=_0x208c43=>{const _0x30df42=a128_0x16ff3b,_0x507a6a={'zOvxX':function(_0x5dc8ce,_0x565015){return _0x5dc8ce===_0x565015;},'XWMHG':_0x30df42(0x1f4),'KXimq':function(_0xa1122d,_0x1dc6dd){return _0xa1122d>_0x1dc6dd;},'HEnhO':_0x30df42(0x222),'fewhW':function(_0x151216,_0x355b10){return _0x151216!==_0x355b10;},'nSEYJ':_0x30df42(0x1da),'iXeYs':function(_0x5dceee,_0x335922){return _0x5dceee(_0x335922);},'szVyd':'Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..'};if(this[_0x30df42(0x208)][_0x30df42(0x225)](_0x208c43['event_type'])){if(_0x208c43[_0x30df42(0x203)]&&_0x208c43[_0x30df42(0x203)][0x0]&&_0x507a6a['zOvxX'](_0x208c43['logs'][0x0][_0x30df42(0x21b)],_0x507a6a[_0x30df42(0x1fb)])){const _0x56fe88={};return _0x56fe88['shouldProceed']=!![],_0x56fe88[_0x30df42(0x1cb)]=[_0x208c43],_0x56fe88[_0x30df42(0x21a)]=this[_0x30df42(0x1fd)],_0x56fe88;}if(_0x208c43[_0x30df42(0x203)]&&_0x507a6a['KXimq'](_0x208c43[_0x30df42(0x203)][_0x30df42(0x1e8)],0x0)&&_0x507a6a[_0x30df42(0x201)](_0x208c43['logs'][0x0][_0x30df42(0x21b)],_0x507a6a['HEnhO'])&&_0x507a6a[_0x30df42(0x1d9)](_0x208c43[_0x30df42(0x20a)],_0x507a6a[_0x30df42(0x220)])){const _0x2b7d19={};return _0x2b7d19[_0x30df42(0x1bf)]=!![],_0x2b7d19[_0x30df42(0x1cb)]=[_0x208c43],_0x2b7d19[_0x30df42(0x21a)]=this[_0x30df42(0x1fa)],_0x2b7d19;}this[_0x30df42(0x1c1)]['push'](_0x208c43);let _0x4bee33=null;const _0x592dca=this[_0x30df42(0x1bf)]();_0x592dca&&(_0x507a6a[_0x30df42(0x1d0)](trace,_0x507a6a[_0x30df42(0x235)]),_0x4bee33=this[_0x30df42(0x1c1)][_0x30df42(0x21e)](0x0,BATCH_SIZE),this[_0x30df42(0x1c1)][_0x30df42(0x232)](0x0,BATCH_SIZE),this['resetEventBatchPolling']());const _0x177759={};return _0x177759[_0x30df42(0x1bf)]=_0x592dca,_0x177759[_0x30df42(0x1cb)]=_0x4bee33,_0x177759[_0x30df42(0x21a)]=this[_0x30df42(0x1eb)],_0x177759;}const _0xda140d={};return _0xda140d[_0x30df42(0x1bf)]=!![],_0xda140d;};[a128_0x16ff3b(0x231)]=async()=>{const _0x33d603=a128_0x16ff3b,_0x3b826c={'btFbG':_0x33d603(0x1d5),'eKTtk':function(_0x2f76ea,_0x45c051){return _0x2f76ea>_0x45c051;},'MDKWA':_0x33d603(0x1c2),'CfWdE':function(_0x4041cf,_0x123c97){return _0x4041cf>_0x123c97;},'ADIXW':function(_0x10b5de,_0x8f0fac){return _0x10b5de(_0x8f0fac);}};await this[_0x33d603(0x209)](),this[_0x33d603(0x1de)](_0x3b826c['btFbG']);while(_0x3b826c[_0x33d603(0x1ea)](this[_0x33d603(0x1c1)][_0x33d603(0x1e8)],0x0)){const _0x22670a=this[_0x33d603(0x1c1)][_0x33d603(0x21e)](0x0,BATCH_SIZE);this[_0x33d603(0x1c1)][_0x33d603(0x232)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x33d603(0x1eb)],_0x3b826c['MDKWA'],_0x22670a);}_0x3b826c['CfWdE'](this['pendingUploads'],0x0)&&_0x3b826c[_0x33d603(0x206)](debug,_0x33d603(0x1ec)+this[_0x33d603(0x1c6)]);};[a128_0x16ff3b(0x1cf)]=async(_0xef062d,_0x1ebcfc,_0x5f21e9)=>{const _0xccd44d=a128_0x16ff3b,_0x2de550={'yzNtT':function(_0x1ff8e2,_0x386d5e){return _0x1ff8e2(_0x386d5e);},'edazi':_0xccd44d(0x234),'phwQO':function(_0xe2ef83,_0x3bb0e4){return _0xe2ef83(_0x3bb0e4);},'sycEP':function(_0x12dea1){return _0x12dea1();},'BtOkb':function(_0xa36635,_0xfb5dc7,_0x1f21b5,_0x43b3c8,_0x156c62){return _0xa36635(_0xfb5dc7,_0x1f21b5,_0x43b3c8,_0x156c62);},'HNHwb':'POST','cBjvQ':function(_0x1f24f5,_0x1e8dd8){return _0x1f24f5(_0x1e8dd8);},'BEGYi':function(_0x40c72f,_0x3d3c26){return _0x40c72f-_0x3d3c26;},'XkzCz':function(_0x47b6b0,_0x35fff6){return _0x47b6b0(_0x35fff6);}};let _0x5a85ae='';try{_0x5a85ae=_0x5f21e9[_0xccd44d(0x21c)](_0x9d70af=>'\x27'+_0x9d70af[_0xccd44d(0x20a)]+'\x27:'+(nestedKeyValue(_0x9d70af,[_0xccd44d(0x1f5),_0xccd44d(0x233)])||nestedKeyValue(_0x9d70af,[_0xccd44d(0x1bd),'uuid'])))[_0xccd44d(0x1d8)](','),_0x2de550[_0xccd44d(0x1e7)](debug,_0xccd44d(0x22a)+_0x1ebcfc+_0xccd44d(0x1f7)+Buffer[_0xccd44d(0x223)](util[_0xccd44d(0x1cc)]('%j',_0x5f21e9),_0x2de550[_0xccd44d(0x202)])+_0xccd44d(0x1d1)+_0x5a85ae);}catch(_0xcb6fd){_0x2de550[_0xccd44d(0x1c7)](debug,_0xccd44d(0x1db)+util['format'](_0xcb6fd)+'}');}const _0x5b506d={'headers':_0x2de550['sycEP'](getDefaultHeaders)};try{const _0x31d665=await _0x2de550[_0xccd44d(0x217)](nodeRequest,_0x2de550[_0xccd44d(0x1fc)],_0xef062d,_0x5f21e9,_0x5b506d);if(_0x31d665['data'][_0xccd44d(0x215)]){const _0xa3208a={};_0xa3208a[_0xccd44d(0x1d6)]=_0x31d665[_0xccd44d(0x205)]['error'];throw _0xa3208a;}else _0x2de550[_0xccd44d(0x22b)](debug,_0x1ebcfc+_0xccd44d(0x210)+_0x5a85ae+'\x20--\x20'+util[_0xccd44d(0x1cc)]('%j',_0x31d665['data'])),this['pendingUploads']=Math[_0xccd44d(0x1e2)](0x0,_0x2de550[_0xccd44d(0x200)](this['pendingUploads'],_0x5f21e9[_0xccd44d(0x1e8)]));}catch(_0x5575f9){_0x5575f9[_0xccd44d(0x213)]?_0x2de550['XkzCz'](debug,_0xccd44d(0x1c9)+_0x1ebcfc+_0xccd44d(0x20d)+constants[_0xccd44d(0x1d4)]+_0xccd44d(0x20b)+_0x5575f9[_0xccd44d(0x213)][_0xccd44d(0x22f)]+'\x20'+_0x5575f9[_0xccd44d(0x213)][_0xccd44d(0x226)]+'\x20'+util[_0xccd44d(0x1cc)]('%j',_0x5575f9['response'])):_0x2de550[_0xccd44d(0x22b)](debug,_0xccd44d(0x1c9)+_0x1ebcfc+_0xccd44d(0x20d)+constants['TEST_REPORTING_ANALYTICS']+_0xccd44d(0x20b)+(_0x5575f9[_0xccd44d(0x1d6)]||_0x5575f9)),this[_0xccd44d(0x1c6)]=Math['max'](0x0,_0x2de550[_0xccd44d(0x200)](this[_0xccd44d(0x1c6)],_0x5f21e9[_0xccd44d(0x1e8)]));}};[a128_0x16ff3b(0x1d3)]=()=>{const _0x21dcae=a128_0x16ff3b,_0x1d387c={'wvHMR':function(_0x403503,_0x4a84c6){return _0x403503>_0x4a84c6;},'VzpQM':function(_0x3c0770,_0x1d48b8){return _0x3c0770(_0x1d48b8);},'LcLQn':'Interval-Queue','zeVzI':function(_0x2da5f1,_0x2945ea){return _0x2da5f1(_0x2945ea);},'buGCG':function(_0x49bfe7,_0x4c8187,_0x3a88cb){return _0x49bfe7(_0x4c8187,_0x3a88cb);}};this[_0x21dcae(0x21d)]=_0x1d387c['buGCG'](setInterval,async()=>{const _0x4ed72c=_0x21dcae;if(_0x1d387c[_0x4ed72c(0x1c8)](this[_0x4ed72c(0x1c1)]['length'],0x0)){_0x1d387c[_0x4ed72c(0x1e9)](trace,'Processing\x20events.\x20Queue\x20Length\x20-\x20'+this[_0x4ed72c(0x1c1)][_0x4ed72c(0x1e8)]);const _0x56e1a9=this[_0x4ed72c(0x1c1)][_0x4ed72c(0x21e)](0x0,BATCH_SIZE);this['queue'][_0x4ed72c(0x232)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x4ed72c(0x1eb)],_0x1d387c['LcLQn'],_0x56e1a9),_0x1d387c[_0x4ed72c(0x21f)](trace,_0x4ed72c(0x216)+this[_0x4ed72c(0x1c1)]['length']);}},BATCH_INTERVAL);};[a128_0x16ff3b(0x22e)]=()=>{const _0xd0052e=a128_0x16ff3b,_0x89562d={};_0x89562d[_0xd0052e(0x1d2)]=_0xd0052e(0x221);const _0x2f96bd=_0x89562d;this['removeEventBatchPolling'](_0x2f96bd[_0xd0052e(0x1d2)]),this[_0xd0052e(0x1d3)]();};['removeEventBatchPolling']=_0x5ab519=>{const _0x1a6b8e=a128_0x16ff3b,_0x1a2429={'IOgpD':function(_0x42a0f4,_0xccbd00){return _0x42a0f4(_0xccbd00);},'KJxvC':function(_0x70def0,_0x509441){return _0x70def0===_0x509441;},'rcnxB':_0x1a6b8e(0x1d5)};this[_0x1a6b8e(0x21d)]&&(_0x1a2429[_0x1a6b8e(0x1d7)](clearInterval,this['pollEventBatchInterval']),this[_0x1a6b8e(0x21d)]=null,_0x1a2429[_0x1a6b8e(0x22d)](_0x5ab519,_0x1a2429[_0x1a6b8e(0x1e6)])&&(this[_0x1a6b8e(0x20f)]=![]));};[a128_0x16ff3b(0x1bf)]=()=>{const _0x13e7fe=a128_0x16ff3b,_0x3fb2f6={};_0x3fb2f6[_0x13e7fe(0x20e)]=function(_0x208770,_0x527e07){return _0x208770>=_0x527e07;};const _0x51cf67=_0x3fb2f6;return _0x51cf67[_0x13e7fe(0x20e)](this[_0x13e7fe(0x1c1)]['length'],BATCH_SIZE);};async['uploadPending'](_0x42128f=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x133935=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x553708=a128_0x16ff3b,_0x91bc3e={'mSfxV':function(_0x15222b,_0x41fe02){return _0x15222b<=_0x41fe02;},'PuEYu':function(_0x558c31,_0x552a55){return _0x558c31<=_0x552a55;},'VRGRq':function(_0x1567d5,_0x52a907){return _0x1567d5(_0x52a907);},'qotwa':function(_0x7cbe00,_0x27e163){return _0x7cbe00-_0x27e163;}};if(_0x91bc3e[_0x553708(0x1f8)](this[_0x553708(0x1c6)],0x0)||_0x91bc3e[_0x553708(0x218)](_0x42128f,0x0))return;return await _0x91bc3e[_0x553708(0x1c4)](sleep,_0x133935),this[_0x553708(0x209)](_0x91bc3e['qotwa'](_0x42128f,_0x133935));}}function a128_0xcc1e(){const _0x4ec7a2=['779714jOFyNW','error','Remaining\x20Queue\x20Length\x20-\x20','BtOkb','PuEYu','108549XSYVdX','proceedWithUrl','kind','map','pollEventBatchInterval','slice','zeVzI','nSEYJ','RESETTING','TEST_ATTACHMENT','byteLength','udnSe','includes','statusText','add','18707592PeZuvL','sXsaY','Processing\x20batch\x20events\x20for\x20','cBjvQ','7224mvGrgi','KJxvC','resetEventBatchPolling','status','TestRunSkipped','shutdown','splice','uuid','utf8','szVyd','CMcAv','hook_run','SOeHc','shouldProceed','15NrtCMp','queue','Shutdown-Queue','30WBbYjw','VRGRq','TestRunStarted','pendingUploads','phwQO','wvHMR','EXCEPTION\x20IN\x20','util','proceedWithData','format','914682ohpdHd','getInstance','batchAndPostEvents','iXeYs','\x20bytes.\x20Events\x20are\x20','nQaGQ','startEventBatchPolling','TEST_REPORTING_ANALYTICS','REMOVING','message','IOgpD','join','fewhW','TestRunFinished','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','instance','iQdJV','removeEventBatchPolling','dShsZ','../helper','XDaCb','max','CBTSessionCreated','4|2|1|3|5|6|0','upload-attachments','rcnxB','yzNtT','length','VzpQM','eKTtk','eventUrl','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','HookRunStarted','abRyk','start','XSIqv','qGojm','2PFkkWG','./constants','TEST_SCREENSHOT','test_run','./utils','.\x20Request\x20Size\x20-\x20','mSfxV','5089WwbCIA','uploadAttachmentUrl','XWMHG','HNHwb','screenshotEventUrl','10593748pjoaWA','366gMkPFE','BEGYi','zOvxX','edazi','logs','api/v1/batch','data','ADIXW','exports','BATCH_EVENT_TYPES','uploadPending','event_type','\x20:\x20','30868VdLufX','\x20REQUEST\x20TO\x20','NaJRK','started','\x20event\x20successful\x20for\x20events\x20','api/v1/screenshots','CyFUw','response'];a128_0xcc1e=function(){return _0x4ec7a2;};return a128_0xcc1e();}module[a128_0x16ff3b(0x207)]=RequestQueueHandler;