browserstack-node-sdk 1.49.11 → 1.50.0

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 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a120_0x19ab(){const _0xdcd268=[':driver-manage','SDK_PRE_INITIALIZE',':session-annotation','PRE_EXECUTE','SDK_TESTHUB','BEFORE',':save-results','SDK_AUTO_CAPTURE','50rCeBOX','1655048AowrIW','sdk:pre-test','sdk:a11y','POST_EXECUTE',':driver-takeScreenShot','sdk:auto-capture',':idle-timeout',':driver-performscan','SYNC',':before-each','SDK_TEST_SESSION_EVENT','434IxCcMW',':hub-management','sdk:observabilityConfig','PRINT_BUILDLINK','SDK_A11Y','BEFORE_ALL','SESSION_NAME','A11Y_EVENTS','4398786chirOe','LOCAL_STOP','sdk:cli:on-bootstrap','SDK_CLEANUP',':get-accessibility-results-summary','IDLE_TIMEOUT',':quit','222393ecxqUF','sdk:cli:logCreatedEvent','O11y_EVENTS','SDK_TEST','APP_AUOTMATE_EVENTS','GET_RESULTS_SUMMARY','SDK_CLI_START','sdk:driver:post-initialization','SCREENSHOT','sdk:automationFrameworkStop','SDK_START_BIN_SESSION','SDK_CLI_CHECK_UPDATE','TURBOSCALE_EVENTS','GET','sdk:cli:on-stop','SDK_AUTOMATION_FRAMEWORK_STOP',':auto-capture','AFTER',':session-status',':session-name','SDK_DRIVER_INIT','6739755lmSAqe','SDK_CLI_DOWNLOAD','TESTHUB_EVENTS','sdk:testSessionEvent','sdk:automationFrameworkStart',':print-buildlink',':snapshot','START','EVENTS','sdk:test','AFTER_ALL','10htCyyr','QUIT',':before','sdk:driver:pre-initialization','sdk:driverInit',':screenshot','KEEP_ALIVE',':post-execute','SDK_PRE_TEST','sdk:connectBinSession','APP_UPLOAD',':stop','SDK_OBSERVABILITY_CONFIG',':after','PERCY_EVENTS','sdk:aiSelfHealStep','SDK_TEST_FRAMEWORK_EVENT','sdk:testFrameworkEvent','SCREENSHOT_APP','HOOK_EVENTS','8LRgbTN','PERFORM_SCAN','621171DeXWhj','SDK_POST_INITIALIZE','SESSION_ANNOTATION',':keep-alive','DRIVER_EVENT','sdk:cli:download','STOP','SDK_DRIVER','SDK_FIND_NEAREST_HUB','SDK_AUTOMATION_FRAMEWORK_INIT','SNAPSHOT','DRIVER_MANAGE','7354781yXQMNu','sdk:startBinSession','sdk:hook',':get-accessibility-results','SDK_PERCY','LOCAL_START',':sync','HUB_MANAGEMENT','SDK_TURBOSCALE','SDK_AI_SELF_HEAL_STEP','SDK_POST_TEST','sdk:accessibilityConfig','AUTOMATE_EVENTS','sdk:automationFrameworkInit','SDK_O11Y',':start','SDK_PROXY_SETUP','sdk:cli:start','SDK_AUTOMATE','SDK_CLI_ON_CONNECT','sdk:proxy-setup','SDK_AUTOMATION_FRAMEWORK_START','exports','SDK_CLI_ON_BOOTSTRAP','sdk:driver','SDK_HOOK',':after-all','sdk:percy','SDK_APP_AUTOMATE','sdk:findNearestHub'];a120_0x19ab=function(){return _0xdcd268;};return a120_0x19ab();}const a120_0xcf4a76=a120_0x10a7;(function(_0x34e352,_0x118926){const _0xf0fa99=a120_0x10a7,_0x17f82f=_0x34e352();while(!![]){try{const _0x3e6d54=-parseInt(_0xf0fa99(0x219))/0x1*(parseInt(_0xf0fa99(0x225))/0x2)+-parseInt(_0xf0fa99(0x234))/0x3*(parseInt(_0xf0fa99(0x1e5))/0x4)+parseInt(_0xf0fa99(0x1c6))/0x5+parseInt(_0xf0fa99(0x22d))/0x6+-parseInt(_0xf0fa99(0x1f3))/0x7+-parseInt(_0xf0fa99(0x21a))/0x8+parseInt(_0xf0fa99(0x1e7))/0x9*(parseInt(_0xf0fa99(0x1d1))/0xa);if(_0x3e6d54===_0x118926)break;else _0x17f82f['push'](_0x17f82f['shift']());}catch(_0x3ee5b1){_0x17f82f['push'](_0x17f82f['shift']());}}}(a120_0x19ab,0xb30f1));function a120_0x10a7(_0x5ca0d7,_0x5889e0){const _0x19aba2=a120_0x19ab();return a120_0x10a7=function(_0x10a789,_0x4b74f6){_0x10a789=_0x10a789-0x1c3;let _0x2fe734=_0x19aba2[_0x10a789];return _0x2fe734;},a120_0x10a7(_0x5ca0d7,_0x5889e0);}const a120_0x144a7b={};a120_0x144a7b['SDK_SETUP']='sdk:setup',a120_0x144a7b[a120_0xcf4a76(0x230)]='sdk:cleanup',a120_0x144a7b[a120_0xcf4a76(0x1d9)]=a120_0xcf4a76(0x21b),a120_0x144a7b[a120_0xcf4a76(0x237)]=a120_0xcf4a76(0x1cf),a120_0x144a7b[a120_0xcf4a76(0x1fd)]='sdk:post-test',a120_0x144a7b[a120_0xcf4a76(0x20c)]=a120_0xcf4a76(0x1f5),a120_0x144a7b[a120_0xcf4a76(0x1ee)]=a120_0xcf4a76(0x20b),a120_0x144a7b['SDK_A11Y']=a120_0xcf4a76(0x21c),a120_0x144a7b['SDK_O11Y']='sdk:o11y',a120_0x144a7b[a120_0xcf4a76(0x218)]=a120_0xcf4a76(0x21f),a120_0x144a7b[a120_0xcf4a76(0x203)]=a120_0xcf4a76(0x207),a120_0x144a7b[a120_0xcf4a76(0x215)]='sdk:testhub',a120_0x144a7b[a120_0xcf4a76(0x205)]='sdk:automate',a120_0x144a7b[a120_0xcf4a76(0x20f)]='sdk:app-automate',a120_0x144a7b[a120_0xcf4a76(0x1fb)]='sdk:turboscale',a120_0x144a7b[a120_0xcf4a76(0x1f7)]=a120_0xcf4a76(0x20e),a120_0x144a7b[a120_0xcf4a76(0x212)]=a120_0xcf4a76(0x1d4),a120_0x144a7b[a120_0xcf4a76(0x1e8)]=a120_0xcf4a76(0x23b),a120_0x144a7b[a120_0xcf4a76(0x23a)]=a120_0xcf4a76(0x204),a120_0x144a7b[a120_0xcf4a76(0x1c7)]=a120_0xcf4a76(0x1ec),a120_0x144a7b[a120_0xcf4a76(0x23f)]='sdk:cli:check-update',a120_0x144a7b[a120_0xcf4a76(0x20a)]=a120_0xcf4a76(0x22f),a120_0x144a7b[a120_0xcf4a76(0x206)]='sdk:cli:on-connect',a120_0x144a7b['SDK_CLI_ON_STOP']=a120_0xcf4a76(0x242),a120_0x144a7b[a120_0xcf4a76(0x23e)]=a120_0xcf4a76(0x1f4),a120_0x144a7b['SDK_CONNECT_BIN_SESSION']=a120_0xcf4a76(0x1da),a120_0x144a7b[a120_0xcf4a76(0x1c5)]=a120_0xcf4a76(0x1d5),a120_0x144a7b[a120_0xcf4a76(0x1ef)]=a120_0xcf4a76(0x210),a120_0x144a7b[a120_0xcf4a76(0x1f0)]=a120_0xcf4a76(0x200),a120_0x144a7b[a120_0xcf4a76(0x208)]=a120_0xcf4a76(0x1ca),a120_0x144a7b['SDK_ACCESSIBILITY_CONFIG']=a120_0xcf4a76(0x1fe),a120_0x144a7b[a120_0xcf4a76(0x1dd)]=a120_0xcf4a76(0x227),a120_0x144a7b[a120_0xcf4a76(0x1fc)]=a120_0xcf4a76(0x1e0),a120_0x144a7b['SDK_AI_SELF_HEAL_GET_RESULT']='sdk:aiSelfHealGetResult',a120_0x144a7b[a120_0xcf4a76(0x1e1)]=a120_0xcf4a76(0x1e2),a120_0x144a7b[a120_0xcf4a76(0x224)]=a120_0xcf4a76(0x1c9),a120_0x144a7b['SDK_CLI_LOG_CREATED_EVENT']=a120_0xcf4a76(0x235),a120_0x144a7b['SDK_CLI_ENQUEUE_TEST_EVENT']='sdk:cli:enqueueTestEvent',a120_0x144a7b[a120_0xcf4a76(0x243)]=a120_0xcf4a76(0x23d),a120_0x144a7b['SDK_ON_STOP']='sdk:onStop';const SDK_EVENTS=a120_0x144a7b,a120_0x4d0965={};a120_0x4d0965[a120_0xcf4a76(0x1ce)]=SDK_EVENTS,a120_0x4d0965[a120_0xcf4a76(0x1c8)]={},a120_0x4d0965[a120_0xcf4a76(0x1ff)]={},a120_0x4d0965[a120_0xcf4a76(0x22c)]={},a120_0x4d0965[a120_0xcf4a76(0x1df)]={},a120_0x4d0965[a120_0xcf4a76(0x236)]={},a120_0x4d0965[a120_0xcf4a76(0x1e4)]={},a120_0x4d0965[a120_0xcf4a76(0x240)]={},a120_0x4d0965[a120_0xcf4a76(0x238)]={},a120_0x4d0965[a120_0xcf4a76(0x1eb)]={},a120_0x4d0965[a120_0xcf4a76(0x1c8)][a120_0xcf4a76(0x1cd)]=SDK_EVENTS[a120_0xcf4a76(0x215)]+a120_0xcf4a76(0x202),a120_0x4d0965[a120_0xcf4a76(0x1c8)][a120_0xcf4a76(0x1ed)]=SDK_EVENTS[a120_0xcf4a76(0x215)]+a120_0xcf4a76(0x1dc),a120_0x4d0965[a120_0xcf4a76(0x1ff)][a120_0xcf4a76(0x1d7)]=SDK_EVENTS[a120_0xcf4a76(0x205)]+a120_0xcf4a76(0x1ea),a120_0x4d0965[a120_0xcf4a76(0x1ff)]['HUB_MANAGEMENT']=SDK_EVENTS[a120_0xcf4a76(0x205)]+a120_0xcf4a76(0x226),a120_0x4d0965[a120_0xcf4a76(0x1ff)][a120_0xcf4a76(0x1f8)]=SDK_EVENTS[a120_0xcf4a76(0x205)]+':local-start',a120_0x4d0965[a120_0xcf4a76(0x1ff)][a120_0xcf4a76(0x22e)]=SDK_EVENTS[a120_0xcf4a76(0x205)]+':local-stop',a120_0x4d0965[a120_0xcf4a76(0x1ff)][a120_0xcf4a76(0x1f2)]=SDK_EVENTS[a120_0xcf4a76(0x205)]+a120_0xcf4a76(0x211),a120_0x4d0965[a120_0xcf4a76(0x1ff)][a120_0xcf4a76(0x22b)]=SDK_EVENTS[a120_0xcf4a76(0x205)]+a120_0xcf4a76(0x1c4),a120_0x4d0965[a120_0xcf4a76(0x1ff)]['SESSION_STATUS']=SDK_EVENTS[a120_0xcf4a76(0x205)]+a120_0xcf4a76(0x1c3),a120_0x4d0965[a120_0xcf4a76(0x1ff)][a120_0xcf4a76(0x1e9)]=SDK_EVENTS[a120_0xcf4a76(0x205)]+a120_0xcf4a76(0x213),a120_0x4d0965[a120_0xcf4a76(0x1ff)][a120_0xcf4a76(0x232)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0xcf4a76(0x220),a120_0x4d0965[a120_0xcf4a76(0x1ff)]['GENERATE_CI_ARTIFACT']=SDK_EVENTS[a120_0xcf4a76(0x205)]+':ci-artifacts',a120_0x4d0965[a120_0xcf4a76(0x1ff)][a120_0xcf4a76(0x228)]=SDK_EVENTS[a120_0xcf4a76(0x205)]+':print-buildlink',a120_0x4d0965[a120_0xcf4a76(0x22c)][a120_0xcf4a76(0x1e6)]=SDK_EVENTS[a120_0xcf4a76(0x229)]+a120_0xcf4a76(0x221),a120_0x4d0965[a120_0xcf4a76(0x22c)]['SAVE_RESULTS']=SDK_EVENTS[a120_0xcf4a76(0x229)]+a120_0xcf4a76(0x217),a120_0x4d0965[a120_0xcf4a76(0x22c)]['GET_RESULTS']=SDK_EVENTS[a120_0xcf4a76(0x229)]+a120_0xcf4a76(0x1f6),a120_0x4d0965[a120_0xcf4a76(0x22c)][a120_0xcf4a76(0x239)]=SDK_EVENTS[a120_0xcf4a76(0x229)]+a120_0xcf4a76(0x231),a120_0x4d0965[a120_0xcf4a76(0x1df)]['DOWNLOAD']=SDK_EVENTS[a120_0xcf4a76(0x1f7)]+':download',a120_0x4d0965[a120_0xcf4a76(0x1df)][a120_0xcf4a76(0x23c)]=SDK_EVENTS[a120_0xcf4a76(0x1f7)]+a120_0xcf4a76(0x1d6),a120_0x4d0965[a120_0xcf4a76(0x1df)][a120_0xcf4a76(0x1cd)]=SDK_EVENTS[a120_0xcf4a76(0x1f7)]+a120_0xcf4a76(0x202),a120_0x4d0965[a120_0xcf4a76(0x1df)][a120_0xcf4a76(0x1ed)]=SDK_EVENTS['SDK_PERCY']+a120_0xcf4a76(0x1dc),a120_0x4d0965[a120_0xcf4a76(0x1df)]['AUTO_CAPTURE']=SDK_EVENTS[a120_0xcf4a76(0x1f7)]+a120_0xcf4a76(0x244),a120_0x4d0965[a120_0xcf4a76(0x1df)][a120_0xcf4a76(0x1f1)]=SDK_EVENTS[a120_0xcf4a76(0x1f7)]+a120_0xcf4a76(0x1cc),a120_0x4d0965[a120_0xcf4a76(0x1df)][a120_0xcf4a76(0x1e3)]=SDK_EVENTS['SDK_PERCY']+':screenshot-app',a120_0x4d0965[a120_0xcf4a76(0x236)][a120_0xcf4a76(0x222)]=SDK_EVENTS[a120_0xcf4a76(0x201)]+a120_0xcf4a76(0x1f9),a120_0x4d0965[a120_0xcf4a76(0x236)]['TAKE_SCREENSHOT']=SDK_EVENTS[a120_0xcf4a76(0x201)]+a120_0xcf4a76(0x21e),a120_0x4d0965[a120_0xcf4a76(0x236)]['PRINT_BUILDLINK']=SDK_EVENTS[a120_0xcf4a76(0x201)]+a120_0xcf4a76(0x1cb),a120_0x4d0965[a120_0xcf4a76(0x1e4)]['BEFORE_EACH']=SDK_EVENTS[a120_0xcf4a76(0x20c)]+a120_0xcf4a76(0x223),a120_0x4d0965[a120_0xcf4a76(0x1e4)]['AFTER_EACH']=SDK_EVENTS[a120_0xcf4a76(0x20c)]+':after-each',a120_0x4d0965[a120_0xcf4a76(0x1e4)][a120_0xcf4a76(0x1d0)]=SDK_EVENTS[a120_0xcf4a76(0x20c)]+a120_0xcf4a76(0x20d),a120_0x4d0965[a120_0xcf4a76(0x1e4)][a120_0xcf4a76(0x22a)]=SDK_EVENTS[a120_0xcf4a76(0x20c)]+':before-all',a120_0x4d0965[a120_0xcf4a76(0x1e4)][a120_0xcf4a76(0x216)]=SDK_EVENTS[a120_0xcf4a76(0x20c)]+a120_0xcf4a76(0x1d3),a120_0x4d0965[a120_0xcf4a76(0x1e4)][a120_0xcf4a76(0x245)]=SDK_EVENTS[a120_0xcf4a76(0x20c)]+a120_0xcf4a76(0x1de),a120_0x4d0965[a120_0xcf4a76(0x240)][a120_0xcf4a76(0x1fa)]=SDK_EVENTS[a120_0xcf4a76(0x1fb)]+a120_0xcf4a76(0x226),a120_0x4d0965[a120_0xcf4a76(0x240)][a120_0xcf4a76(0x228)]=SDK_EVENTS[a120_0xcf4a76(0x1fb)]+a120_0xcf4a76(0x1cb),a120_0x4d0965[a120_0xcf4a76(0x238)][a120_0xcf4a76(0x1db)]=SDK_EVENTS[a120_0xcf4a76(0x20f)]+':app-upload',a120_0x4d0965[a120_0xcf4a76(0x1eb)][a120_0xcf4a76(0x1d2)]=SDK_EVENTS[a120_0xcf4a76(0x1ee)]+a120_0xcf4a76(0x233),a120_0x4d0965[a120_0xcf4a76(0x1eb)][a120_0xcf4a76(0x241)]=SDK_EVENTS[a120_0xcf4a76(0x1ee)]+':get',a120_0x4d0965[a120_0xcf4a76(0x1eb)][a120_0xcf4a76(0x214)]=SDK_EVENTS[a120_0xcf4a76(0x1ee)]+':pre-execute',a120_0x4d0965[a120_0xcf4a76(0x1eb)][a120_0xcf4a76(0x21d)]=SDK_EVENTS['SDK_DRIVER']+a120_0xcf4a76(0x1d8),module[a120_0xcf4a76(0x209)]=a120_0x4d0965;
1
+ const a120_0x2fec96=a120_0x29db;(function(_0x2ca988,_0x4ea534){const _0xb440b2=a120_0x29db,_0x215c4f=_0x2ca988();while(!![]){try{const _0x5c254c=-parseInt(_0xb440b2(0x221))/0x1+-parseInt(_0xb440b2(0x1c0))/0x2+-parseInt(_0xb440b2(0x1be))/0x3+parseInt(_0xb440b2(0x1d1))/0x4+parseInt(_0xb440b2(0x205))/0x5*(parseInt(_0xb440b2(0x1e9))/0x6)+parseInt(_0xb440b2(0x1e7))/0x7+-parseInt(_0xb440b2(0x237))/0x8*(parseInt(_0xb440b2(0x21f))/0x9);if(_0x5c254c===_0x4ea534)break;else _0x215c4f['push'](_0x215c4f['shift']());}catch(_0x2718cd){_0x215c4f['push'](_0x215c4f['shift']());}}}(a120_0x4986,0x3663b));function a120_0x29db(_0x4e7e66,_0x2bc2a8){const _0x4986e0=a120_0x4986();return a120_0x29db=function(_0x29db74,_0x32af22){_0x29db74=_0x29db74-0x1ba;let _0x38a672=_0x4986e0[_0x29db74];return _0x38a672;},a120_0x29db(_0x4e7e66,_0x2bc2a8);}const a120_0x4301b4={};a120_0x4301b4[a120_0x2fec96(0x1bc)]=a120_0x2fec96(0x1e0),a120_0x4301b4[a120_0x2fec96(0x1e4)]='sdk:cleanup',a120_0x4301b4[a120_0x2fec96(0x235)]='sdk:pre-test',a120_0x4301b4[a120_0x2fec96(0x220)]='sdk:test',a120_0x4301b4[a120_0x2fec96(0x1f1)]=a120_0x2fec96(0x1cb),a120_0x4301b4[a120_0x2fec96(0x1c4)]='sdk:hook',a120_0x4301b4['SDK_DRIVER']=a120_0x2fec96(0x209),a120_0x4301b4[a120_0x2fec96(0x211)]='sdk:a11y',a120_0x4301b4[a120_0x2fec96(0x1ba)]=a120_0x2fec96(0x1c2),a120_0x4301b4[a120_0x2fec96(0x20a)]='sdk:auto-capture',a120_0x4301b4['SDK_PROXY_SETUP']=a120_0x2fec96(0x240),a120_0x4301b4['SDK_TESTHUB']=a120_0x2fec96(0x20f),a120_0x4301b4[a120_0x2fec96(0x1fd)]=a120_0x2fec96(0x1f4),a120_0x4301b4[a120_0x2fec96(0x1c3)]=a120_0x2fec96(0x232),a120_0x4301b4[a120_0x2fec96(0x224)]=a120_0x2fec96(0x1e2),a120_0x4301b4[a120_0x2fec96(0x226)]=a120_0x2fec96(0x207),a120_0x4301b4['SDK_PRE_INITIALIZE']=a120_0x2fec96(0x20b),a120_0x4301b4[a120_0x2fec96(0x1f3)]=a120_0x2fec96(0x23a),a120_0x4301b4['SDK_CLI_START']=a120_0x2fec96(0x229),a120_0x4301b4[a120_0x2fec96(0x22c)]='sdk:cli:download',a120_0x4301b4[a120_0x2fec96(0x219)]='sdk:cli:check-update',a120_0x4301b4['SDK_CLI_ON_BOOTSTRAP']='sdk:cli:on-bootstrap',a120_0x4301b4[a120_0x2fec96(0x1f7)]=a120_0x2fec96(0x1e5),a120_0x4301b4[a120_0x2fec96(0x1cc)]=a120_0x2fec96(0x1ce),a120_0x4301b4['SDK_START_BIN_SESSION']=a120_0x2fec96(0x1c9),a120_0x4301b4['SDK_CONNECT_BIN_SESSION']=a120_0x2fec96(0x1f0),a120_0x4301b4[a120_0x2fec96(0x1eb)]=a120_0x2fec96(0x233),a120_0x4301b4[a120_0x2fec96(0x1d7)]='sdk:findNearestHub',a120_0x4301b4[a120_0x2fec96(0x1fc)]=a120_0x2fec96(0x201),a120_0x4301b4[a120_0x2fec96(0x1ff)]='sdk:automationFrameworkStart',a120_0x4301b4[a120_0x2fec96(0x1d8)]=a120_0x2fec96(0x1c5),a120_0x4301b4[a120_0x2fec96(0x22a)]=a120_0x2fec96(0x1fe),a120_0x4301b4[a120_0x2fec96(0x21c)]=a120_0x2fec96(0x21d),a120_0x4301b4[a120_0x2fec96(0x215)]='sdk:aiSelfHealGetResult',a120_0x4301b4[a120_0x2fec96(0x1d0)]=a120_0x2fec96(0x1db),a120_0x4301b4['SDK_TEST_SESSION_EVENT']=a120_0x2fec96(0x1e1),a120_0x4301b4['SDK_CLI_LOG_CREATED_EVENT']=a120_0x2fec96(0x222),a120_0x4301b4[a120_0x2fec96(0x230)]=a120_0x2fec96(0x1dc),a120_0x4301b4[a120_0x2fec96(0x1da)]='sdk:automationFrameworkStop',a120_0x4301b4['SDK_ON_STOP']=a120_0x2fec96(0x1e3);const SDK_EVENTS=a120_0x4301b4,a120_0x29ccfd={};a120_0x29ccfd[a120_0x2fec96(0x23f)]=SDK_EVENTS,a120_0x29ccfd[a120_0x2fec96(0x1d9)]={},a120_0x29ccfd[a120_0x2fec96(0x203)]={},a120_0x29ccfd[a120_0x2fec96(0x1dd)]={},a120_0x29ccfd[a120_0x2fec96(0x23c)]={},a120_0x29ccfd[a120_0x2fec96(0x21e)]={},a120_0x29ccfd[a120_0x2fec96(0x1ca)]={},a120_0x29ccfd[a120_0x2fec96(0x1f2)]={},a120_0x29ccfd[a120_0x2fec96(0x22b)]={},a120_0x29ccfd[a120_0x2fec96(0x1c1)]={},a120_0x29ccfd[a120_0x2fec96(0x1d9)]['START']=SDK_EVENTS[a120_0x2fec96(0x1df)]+a120_0x2fec96(0x214),a120_0x29ccfd[a120_0x2fec96(0x1d9)][a120_0x2fec96(0x1de)]=SDK_EVENTS[a120_0x2fec96(0x1df)]+a120_0x2fec96(0x1f8),a120_0x29ccfd[a120_0x2fec96(0x203)][a120_0x2fec96(0x21b)]=SDK_EVENTS[a120_0x2fec96(0x1fd)]+a120_0x2fec96(0x1d4),a120_0x29ccfd[a120_0x2fec96(0x203)][a120_0x2fec96(0x236)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x2fec96(0x216),a120_0x29ccfd[a120_0x2fec96(0x203)][a120_0x2fec96(0x1d2)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x2fec96(0x1ec),a120_0x29ccfd[a120_0x2fec96(0x203)][a120_0x2fec96(0x23e)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x2fec96(0x1c7),a120_0x29ccfd[a120_0x2fec96(0x203)][a120_0x2fec96(0x1f6)]=SDK_EVENTS[a120_0x2fec96(0x1fd)]+a120_0x2fec96(0x238),a120_0x29ccfd[a120_0x2fec96(0x203)][a120_0x2fec96(0x1fa)]=SDK_EVENTS['SDK_AUTOMATE']+a120_0x2fec96(0x20d),a120_0x29ccfd[a120_0x2fec96(0x203)][a120_0x2fec96(0x223)]=SDK_EVENTS[a120_0x2fec96(0x1fd)]+a120_0x2fec96(0x1fb),a120_0x29ccfd[a120_0x2fec96(0x203)][a120_0x2fec96(0x213)]=SDK_EVENTS[a120_0x2fec96(0x1fd)]+a120_0x2fec96(0x239),a120_0x29ccfd[a120_0x2fec96(0x203)][a120_0x2fec96(0x1bd)]=SDK_EVENTS[a120_0x2fec96(0x1fd)]+':idle-timeout',a120_0x29ccfd[a120_0x2fec96(0x203)][a120_0x2fec96(0x20c)]=SDK_EVENTS['SDK_AUTOMATE']+':ci-artifacts',a120_0x29ccfd[a120_0x2fec96(0x203)][a120_0x2fec96(0x210)]=SDK_EVENTS[a120_0x2fec96(0x1fd)]+a120_0x2fec96(0x1bf),a120_0x29ccfd[a120_0x2fec96(0x1dd)][a120_0x2fec96(0x1e6)]=SDK_EVENTS[a120_0x2fec96(0x211)]+a120_0x2fec96(0x204),a120_0x29ccfd[a120_0x2fec96(0x1dd)]['SAVE_RESULTS']=SDK_EVENTS[a120_0x2fec96(0x211)]+a120_0x2fec96(0x218),a120_0x29ccfd[a120_0x2fec96(0x1dd)][a120_0x2fec96(0x23b)]=SDK_EVENTS[a120_0x2fec96(0x211)]+':get-accessibility-results',a120_0x29ccfd[a120_0x2fec96(0x1dd)][a120_0x2fec96(0x1f9)]=SDK_EVENTS[a120_0x2fec96(0x211)]+':get-accessibility-results-summary',a120_0x29ccfd[a120_0x2fec96(0x23c)][a120_0x2fec96(0x217)]=SDK_EVENTS[a120_0x2fec96(0x226)]+a120_0x2fec96(0x228),a120_0x29ccfd[a120_0x2fec96(0x23c)]['SCREENSHOT']=SDK_EVENTS[a120_0x2fec96(0x226)]+a120_0x2fec96(0x1f5),a120_0x29ccfd[a120_0x2fec96(0x23c)]['START']=SDK_EVENTS[a120_0x2fec96(0x226)]+':start',a120_0x29ccfd[a120_0x2fec96(0x23c)][a120_0x2fec96(0x1de)]=SDK_EVENTS[a120_0x2fec96(0x226)]+a120_0x2fec96(0x1f8),a120_0x29ccfd[a120_0x2fec96(0x23c)]['AUTO_CAPTURE']=SDK_EVENTS[a120_0x2fec96(0x226)]+a120_0x2fec96(0x1cd),a120_0x29ccfd[a120_0x2fec96(0x23c)]['SNAPSHOT']=SDK_EVENTS[a120_0x2fec96(0x226)]+a120_0x2fec96(0x1c8),a120_0x29ccfd[a120_0x2fec96(0x23c)][a120_0x2fec96(0x1ee)]=SDK_EVENTS[a120_0x2fec96(0x226)]+a120_0x2fec96(0x20e),a120_0x29ccfd[a120_0x2fec96(0x21e)][a120_0x2fec96(0x1e8)]=SDK_EVENTS[a120_0x2fec96(0x1ba)]+':sync',a120_0x29ccfd[a120_0x2fec96(0x21e)][a120_0x2fec96(0x227)]=SDK_EVENTS['SDK_O11Y']+a120_0x2fec96(0x202),a120_0x29ccfd[a120_0x2fec96(0x21e)][a120_0x2fec96(0x210)]=SDK_EVENTS[a120_0x2fec96(0x1ba)]+':print-buildlink',a120_0x29ccfd[a120_0x2fec96(0x1ca)][a120_0x2fec96(0x231)]=SDK_EVENTS['SDK_HOOK']+a120_0x2fec96(0x22e),a120_0x29ccfd[a120_0x2fec96(0x1ca)][a120_0x2fec96(0x1d5)]=SDK_EVENTS[a120_0x2fec96(0x1c4)]+a120_0x2fec96(0x200),a120_0x29ccfd[a120_0x2fec96(0x1ca)][a120_0x2fec96(0x22f)]=SDK_EVENTS['SDK_HOOK']+a120_0x2fec96(0x1ea),a120_0x29ccfd[a120_0x2fec96(0x1ca)]['BEFORE_ALL']=SDK_EVENTS['SDK_HOOK']+a120_0x2fec96(0x1d3),a120_0x29ccfd[a120_0x2fec96(0x1ca)][a120_0x2fec96(0x22d)]=SDK_EVENTS[a120_0x2fec96(0x1c4)]+a120_0x2fec96(0x241),a120_0x29ccfd[a120_0x2fec96(0x1ca)][a120_0x2fec96(0x1bb)]=SDK_EVENTS['SDK_HOOK']+a120_0x2fec96(0x1d6),a120_0x29ccfd[a120_0x2fec96(0x1f2)]['HUB_MANAGEMENT']=SDK_EVENTS['SDK_TURBOSCALE']+a120_0x2fec96(0x216),a120_0x29ccfd[a120_0x2fec96(0x1f2)][a120_0x2fec96(0x210)]=SDK_EVENTS[a120_0x2fec96(0x224)]+a120_0x2fec96(0x1bf),a120_0x29ccfd[a120_0x2fec96(0x22b)]['APP_UPLOAD']=SDK_EVENTS[a120_0x2fec96(0x1c3)]+a120_0x2fec96(0x1ef),a120_0x29ccfd[a120_0x2fec96(0x1c1)][a120_0x2fec96(0x212)]=SDK_EVENTS['SDK_DRIVER']+a120_0x2fec96(0x1cf),a120_0x29ccfd[a120_0x2fec96(0x1c1)][a120_0x2fec96(0x1ed)]=SDK_EVENTS[a120_0x2fec96(0x225)]+a120_0x2fec96(0x208),a120_0x29ccfd[a120_0x2fec96(0x1c1)][a120_0x2fec96(0x23d)]=SDK_EVENTS['SDK_DRIVER']+a120_0x2fec96(0x1c6),a120_0x29ccfd[a120_0x2fec96(0x1c1)][a120_0x2fec96(0x21a)]=SDK_EVENTS['SDK_DRIVER']+a120_0x2fec96(0x206),module[a120_0x2fec96(0x234)]=a120_0x29ccfd;function a120_0x4986(){const _0x527ebf=['48Jodzkg',':driver-manage',':session-annotation','sdk:driver:post-initialization','GET_RESULTS','PERCY_EVENTS','PRE_EXECUTE','LOCAL_STOP','EVENTS','sdk:proxy-setup',':before','SDK_O11Y','AFTER','SDK_SETUP','IDLE_TIMEOUT','449046rgrBog',':print-buildlink','54188WTiZsS','DRIVER_EVENT','sdk:o11y','SDK_APP_AUTOMATE','SDK_HOOK','sdk:accessibilityConfig',':pre-execute',':local-stop',':snapshot','sdk:startBinSession','HOOK_EVENTS','sdk:post-test','SDK_CLI_ON_STOP',':auto-capture','sdk:cli:on-stop',':quit','SDK_TEST_FRAMEWORK_EVENT','1428096TxGPwZ','LOCAL_START',':before-all',':keep-alive','AFTER_EACH',':after','SDK_FIND_NEAREST_HUB','SDK_ACCESSIBILITY_CONFIG','TESTHUB_EVENTS','SDK_AUTOMATION_FRAMEWORK_STOP','sdk:testFrameworkEvent','sdk:cli:enqueueTestEvent','A11Y_EVENTS','STOP','SDK_TESTHUB','sdk:setup','sdk:testSessionEvent','sdk:turboscale','sdk:onStop','SDK_CLEANUP','sdk:cli:on-connect','PERFORM_SCAN','1629628gHRRio','SYNC','9402bVWJSL',':after-all','SDK_DRIVER_INIT',':local-start','GET','SCREENSHOT_APP',':app-upload','sdk:connectBinSession','SDK_POST_TEST','TURBOSCALE_EVENTS','SDK_POST_INITIALIZE','sdk:automate',':screenshot','DRIVER_MANAGE','SDK_CLI_ON_CONNECT',':stop','GET_RESULTS_SUMMARY','SESSION_NAME',':session-status','SDK_AUTOMATION_FRAMEWORK_INIT','SDK_AUTOMATE','sdk:observabilityConfig','SDK_AUTOMATION_FRAMEWORK_START',':after-each','sdk:automationFrameworkInit',':driver-takeScreenShot','AUTOMATE_EVENTS',':driver-performscan','160lFWixb',':post-execute','sdk:percy',':get','sdk:driver','SDK_AUTO_CAPTURE','sdk:driver:pre-initialization','GENERATE_CI_ARTIFACT',':session-name',':screenshot-app','sdk:testhub','PRINT_BUILDLINK','SDK_A11Y','QUIT','SESSION_ANNOTATION',':start','SDK_AI_SELF_HEAL_GET_RESULT',':hub-management','DOWNLOAD',':save-results','SDK_CLI_CHECK_UPDATE','POST_EXECUTE','KEEP_ALIVE','SDK_AI_SELF_HEAL_STEP','sdk:aiSelfHealStep','O11y_EVENTS','119781XtrXKC','SDK_TEST','160563hdSjbT','sdk:cli:logCreatedEvent','SESSION_STATUS','SDK_TURBOSCALE','SDK_DRIVER','SDK_PERCY','TAKE_SCREENSHOT',':download','sdk:cli:start','SDK_OBSERVABILITY_CONFIG','APP_AUOTMATE_EVENTS','SDK_CLI_DOWNLOAD','BEFORE',':before-each','AFTER_ALL','SDK_CLI_ENQUEUE_TEST_EVENT','BEFORE_EACH','sdk:app-automate','sdk:driverInit','exports','SDK_PRE_TEST','HUB_MANAGEMENT'];a120_0x4986=function(){return _0x527ebf;};return a120_0x4986();}
@@ -1 +1 @@
1
- const a121_0x487f33=a121_0x1fe7;(function(_0xe7c141,_0x4177ab){const _0x224779=a121_0x1fe7,_0x4b8b85=_0xe7c141();while(!![]){try{const _0x562237=-parseInt(_0x224779(0x275))/0x1+-parseInt(_0x224779(0x213))/0x2+-parseInt(_0x224779(0x245))/0x3+parseInt(_0x224779(0x232))/0x4+parseInt(_0x224779(0x1e7))/0x5*(parseInt(_0x224779(0x252))/0x6)+parseInt(_0x224779(0x1e4))/0x7+parseInt(_0x224779(0x1dd))/0x8;if(_0x562237===_0x4177ab)break;else _0x4b8b85['push'](_0x4b8b85['shift']());}catch(_0x1786b9){_0x4b8b85['push'](_0x4b8b85['shift']());}}}(a121_0x444d,0xad024));const fs=require('fs'),fsPromise=require(a121_0x487f33(0x266)),{performance,PerformanceObserver}=require(a121_0x487f33(0x246)),path=require(a121_0x487f33(0x20f)),util=require(a121_0x487f33(0x1db)),logger=require(a121_0x487f33(0x277))[a121_0x487f33(0x1da)],{getLogDir}=require('../logger'),{getProcessId,sleep,debug,getTestName}=require(a121_0x487f33(0x21b));class PerformanceTester{static ['_observer'];static [a121_0x487f33(0x228)]=[];static [a121_0x487f33(0x22a)]=[];static [a121_0x487f33(0x234)]=[];static ['started']=![];static [a121_0x487f33(0x1d0)]=a121_0x487f33(0x1f4);static [a121_0x487f33(0x1d8)]=process[a121_0x487f33(0x1ee)]['browserStackCwd']?path[a121_0x487f33(0x20c)](process[a121_0x487f33(0x1ee)][a121_0x487f33(0x251)],a121_0x487f33(0x272)):path[a121_0x487f33(0x20c)](process['cwd'](),'error-report');static [a121_0x487f33(0x207)]=this[a121_0x487f33(0x1d8)]+a121_0x487f33(0x20b)+getProcessId()+a121_0x487f33(0x226);static [a121_0x487f33(0x1e9)]={};static ['eventsMap']={};static[a121_0x487f33(0x209)](_0x33a416,_0x5aec1e=this[a121_0x487f33(0x1d8)]+a121_0x487f33(0x20b)+getProcessId()+a121_0x487f33(0x226)){const _0x5ac8a2=a121_0x487f33,_0x59247e={'pzCrK':function(_0x31df91,_0x47c618){return _0x31df91===_0x47c618;},'RBZyf':_0x5ac8a2(0x20e),'XIsni':function(_0x2411f1){return _0x2411f1();},'mqZNh':function(_0x357ca5){return _0x357ca5();},'yRNyi':function(_0x58c6f9,_0x321024){return _0x58c6f9+_0x321024;},'MsdoN':_0x5ac8a2(0x255),'BmwnH':_0x5ac8a2(0x273)};try{this['jsonReportDirPath']=path[_0x5ac8a2(0x20c)](_0x59247e[_0x5ac8a2(0x223)](getLogDir),this['jsonReportDirName']),!_0x33a416&&(_0x33a416=this['jsonReportDirPath']+_0x5ac8a2(0x202)+_0x59247e['mqZNh'](getProcessId)+_0x5ac8a2(0x226)),!fs['existsSync'](this[_0x5ac8a2(0x26f)])&&fs[_0x5ac8a2(0x208)](this[_0x5ac8a2(0x26f)]);}catch(_0x462dff){logger[_0x5ac8a2(0x278)](_0x59247e[_0x5ac8a2(0x254)](_0x59247e[_0x5ac8a2(0x237)],_0x462dff));}if(this['started']||!this[_0x5ac8a2(0x221)]())return;this[_0x5ac8a2(0x260)]=new PerformanceObserver(_0x4684de=>{const _0x9b796d=_0x5ac8a2,_0xb44016={'aVoEM':function(_0x39a2f3,_0xa259bf){return _0x59247e['pzCrK'](_0x39a2f3,_0xa259bf);},'lNKVr':_0x59247e[_0x9b796d(0x253)]};_0x4684de[_0x9b796d(0x22f)]()[_0x9b796d(0x1d2)](_0x9658d=>{const _0x57a9e2=_0x9b796d;if(_0xb44016[_0x57a9e2(0x1d3)](_0x9658d[_0x57a9e2(0x1e5)],_0xb44016['lNKVr'])){let _0x462480={};if(_0x9658d[_0x57a9e2(0x25b)])_0x462480=_0x9658d['toJSON']();else for(const _0x3309c4 in _0x9658d){_0x462480[_0x3309c4]=_0x9658d[_0x3309c4];}this[_0x57a9e2(0x1e9)][_0x9658d[_0x57a9e2(0x1f3)]]&&(_0x462480=Object['assign'](_0x462480,this[_0x57a9e2(0x1e9)][_0x9658d[_0x57a9e2(0x1f3)]])),delete this[_0x57a9e2(0x1e9)][_0x9658d[_0x57a9e2(0x1f3)]],this[_0x57a9e2(0x22a)]['push'](_0x462480);}else this[_0x57a9e2(0x228)][_0x57a9e2(0x1d7)](_0x9658d);});});const _0x3f159b={};_0x3f159b['buffered']=!![],_0x3f159b[_0x5ac8a2(0x21e)]=[_0x59247e[_0x5ac8a2(0x235)],_0x59247e['RBZyf']],this[_0x5ac8a2(0x260)][_0x5ac8a2(0x214)](_0x3f159b),this['started']=!![],this['jsonReportFileName']=_0x33a416,this[_0x5ac8a2(0x207)]=_0x5aec1e;}static[a121_0x487f33(0x1e3)](){return performance;}static[a121_0x487f33(0x23e)](_0x1c0d37,_0x30fff7){const _0xc1891e=a121_0x487f33,_0x2b7acf={};_0x2b7acf['Srclj']=function(_0x13e234,_0x7e13cf){return _0x13e234+_0x7e13cf;},_0x2b7acf[_0xc1891e(0x1ce)]=function(_0x41b266,_0x2f893e){return _0x41b266||_0x2f893e;},_0x2b7acf[_0xc1891e(0x269)]=function(_0x2e1a29,_0x149743){return _0x2e1a29===_0x149743;};const _0x35e8ee=_0x2b7acf,_0x52d644={};if(!_0x1c0d37||_0x35e8ee['mzPXU'](_0x1c0d37[_0xc1891e(0x242)],0x0))return;_0x1c0d37[_0xc1891e(0x1cb)](_0x489c21=>{const _0xdda9c9=_0xc1891e;!_0x52d644[_0x489c21['name']]&&(_0x52d644[_0x489c21[_0xdda9c9(0x1f3)]]=0x0),_0x52d644[_0x489c21[_0xdda9c9(0x1f3)]]+=_0x489c21[_0xdda9c9(0x26d)];});const _0x4d9411=_0x30fff7['reduce']((_0x4c598d,_0x40d248)=>{const _0x3787b5=_0xc1891e;return _0x35e8ee[_0x3787b5(0x241)](_0x52d644[_0x40d248],_0x35e8ee[_0x3787b5(0x1ce)](_0x4c598d,0x0));},0x0);return _0x4d9411;}static async[a121_0x487f33(0x276)](_0x223d96,_0x57c91c){const _0x391dfb=a121_0x487f33,_0x11432a={'rOjNn':function(_0x2f72b7,_0x2b964a){return _0x2f72b7+_0x2b964a;},'sMfgL':function(_0x45c0ad,_0x1728bd){return _0x45c0ad||_0x1728bd;},'rsxta':function(_0x5d9218,_0x32cf14){return _0x5d9218===_0x32cf14;},'rzvBU':function(_0x49ff15,_0x33e3e4){return _0x49ff15(_0x33e3e4);}};if(!_0x223d96||_0x11432a['rsxta'](_0x223d96[_0x391dfb(0x242)],0x0))return 0x0;const _0x3bc464=[];for(const _0x1780cd of _0x223d96){const _0x2509d6=path[_0x391dfb(0x20c)]('.',_0x1780cd);try{const _0x2b0d84=this[_0x391dfb(0x243)](_0x2509d6);_0x2b0d84['map'](_0x55a40b=>{const _0x6ab241=_0x391dfb;!_0x3bc464[_0x55a40b[_0x6ab241(0x1f3)]]&&(_0x3bc464[_0x55a40b[_0x6ab241(0x1f3)]]=0x0),_0x3bc464[_0x55a40b['name']]+=_0x55a40b[_0x6ab241(0x26d)];});}catch(_0x3c6cc6){_0x11432a[_0x391dfb(0x23f)](debug,'Error\x20in\x20doing\x20csv\x20operations:\x20'+_0x3c6cc6[_0x391dfb(0x250)]());}}const _0x1e7bdf=_0x57c91c[_0x391dfb(0x217)]((_0x1f65d3,_0x3b8e3a)=>{const _0x4b38a7=_0x391dfb;return _0x11432a[_0x4b38a7(0x240)](_0x3bc464[_0x3b8e3a],_0x11432a[_0x4b38a7(0x244)](_0x1f65d3,0x0));},0x0);return _0x11432a[_0x391dfb(0x23f)](debug,_0x391dfb(0x1cd)+_0x57c91c+_0x391dfb(0x256)+_0x1e7bdf),_0x1e7bdf;}static[a121_0x487f33(0x243)](_0x332738){const _0x105c13=a121_0x487f33;if(_0x332738){if(!fs['existsSync'](_0x332738))return[];return JSON[_0x105c13(0x261)](fs[_0x105c13(0x1d1)](_0x332738)[_0x105c13(0x250)]());}}static async['stopAndGenerate'](_0x3e945b='performance-own.html',_0xe7ff1b=null){const _0x144c84=a121_0x487f33,_0x4e8083={'GWYlx':function(_0x5c7a18,_0x4e216c){return _0x5c7a18(_0x4e216c);}};if(!this[_0x144c84(0x205)])return;await _0x4e8083[_0x144c84(0x23b)](sleep,0x1e),this[_0x144c84(0x260)]['disconnect'](),this[_0x144c84(0x205)]=![],this[_0x144c84(0x1f9)](this[_0x144c84(0x228)]);const _0xa04a6d=this[_0x144c84(0x1fc)](this[_0x144c84(0x228)]),_0x2f7122=path[_0x144c84(0x20c)](process[_0x144c84(0x204)](),_0x3e945b);fs[_0x144c84(0x1eb)](_0x2f7122,_0xa04a6d,_0x5fecfd=>{const _0x49b79c=_0x144c84;if(_0x5fecfd){_0x4e8083['GWYlx'](debug,_0x49b79c(0x1f2)+_0x5fecfd[_0x49b79c(0x250)]());return;}_0x4e8083['GWYlx'](debug,_0x49b79c(0x25e)+_0x2f7122);});if(_0xe7ff1b)return this[_0x144c84(0x23e)](this[_0x144c84(0x228)],_0xe7ff1b);}static[a121_0x487f33(0x1fc)](_0x59b304){const _0x21cb39=a121_0x487f33,_0x21ebf9={};_0x21ebf9[_0x21cb39(0x227)]=_0x21cb39(0x23a),_0x21ebf9[_0x21cb39(0x1d5)]=_0x21cb39(0x20a),_0x21ebf9[_0x21cb39(0x1e6)]='<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>',_0x21ebf9[_0x21cb39(0x1ec)]=_0x21cb39(0x231);const _0x33a4a6=_0x21ebf9;let _0x611b0=_0x33a4a6[_0x21cb39(0x227)];return _0x611b0+=_0x33a4a6[_0x21cb39(0x1d5)],_0x611b0+=_0x33a4a6[_0x21cb39(0x1e6)],_0x59b304[_0x21cb39(0x1d2)](_0x155777=>{const _0x16ba95=_0x21cb39;_0x611b0+=_0x16ba95(0x206)+_0x155777[_0x16ba95(0x1f3)]+'</td><td>'+_0x155777[_0x16ba95(0x26d)]+_0x16ba95(0x279);}),_0x611b0+=_0x33a4a6['oKRIE'],_0x611b0;}static[a121_0x487f33(0x1f9)](_0x421c19){const _0x1f447e=a121_0x487f33;if(!this[_0x1f447e(0x265)])return;const _0x2d88db={};_0x421c19[_0x1f447e(0x1cb)](_0x167b6c=>{const _0x3d6e3c=_0x1f447e;!_0x2d88db[_0x167b6c[_0x3d6e3c(0x1f3)]]&&(_0x2d88db[_0x167b6c[_0x3d6e3c(0x1f3)]]=0x0),_0x2d88db[_0x167b6c[_0x3d6e3c(0x1f3)]]+=_0x167b6c[_0x3d6e3c(0x26d)];});const _0x2bd779=Object[_0x1f447e(0x26b)](_0x2d88db)[_0x1f447e(0x1cb)](([_0x3d53c8,_0x2a54dc])=>{const _0x2ad4cc=_0x1f447e,_0x1eea1f={};return _0x1eea1f[_0x2ad4cc(0x1f3)]=_0x3d53c8,_0x1eea1f[_0x2ad4cc(0x26d)]=_0x2a54dc,_0x1eea1f;});fs[_0x1f447e(0x1f1)](this[_0x1f447e(0x265)],JSON[_0x1f447e(0x1fe)](_0x2bd779));}static[a121_0x487f33(0x221)](){const _0x2a9249=a121_0x487f33,_0x4ebf73={};_0x4ebf73[_0x2a9249(0x259)]=function(_0x528e63,_0x4afef7){return _0x528e63===_0x4afef7;},_0x4ebf73['CVxKX']=_0x2a9249(0x1ef);const _0x2acc08=_0x4ebf73;return!_0x2acc08['XxSLH'](process['env'][_0x2a9249(0x21a)],_0x2acc08[_0x2a9249(0x22c)]);}static[a121_0x487f33(0x20e)](_0x2a481a,_0x347fce,_0x2b4dec=null,_0x3a2874={},_0x2e6cce=null){const _0x4eb2ad=a121_0x487f33,_0x2cc3be={'JXGCe':function(_0x5b1188,_0x2e3282){return _0x5b1188(_0x2e3282);},'DPCnz':function(_0x441447,_0x326e8f){return _0x441447(_0x326e8f);},'pYPyb':function(_0x322877,_0x29e58f){return _0x322877 instanceof _0x29e58f;}};try{if(this[_0x4eb2ad(0x205)]&&this[_0x4eb2ad(0x221)]()){let _0x47651d=_0x2a481a;_0x2b4dec&&(_0x47651d=_0x2a481a+'['+JSON['stringify'](_0x2b4dec)+']');PerformanceTester[_0x4eb2ad(0x218)](_0x47651d),this[_0x4eb2ad(0x1e9)]&&(this[_0x4eb2ad(0x1e9)][_0x47651d]=_0x3a2874);try{const _0x41db5f=_0x347fce[_0x4eb2ad(0x212)](null,_0x2e6cce);if(_0x2cc3be[_0x4eb2ad(0x26e)](_0x41db5f,Promise))return new Promise((_0x50df66,_0x2d0b1b)=>{const _0x321711=_0x4eb2ad,_0x581c7e={'MfTDt':function(_0x439579,_0x1b7749){return _0x2cc3be['DPCnz'](_0x439579,_0x1b7749);}};_0x41db5f['then'](_0x2fb32f=>{const _0x635c43=a121_0x1fe7;PerformanceTester[_0x635c43(0x1e0)](_0x47651d),_0x581c7e['MfTDt'](_0x50df66,_0x2fb32f);})[_0x321711(0x248)](_0x2308d5=>{const _0x58d1bc=_0x321711;PerformanceTester[_0x58d1bc(0x1e0)](_0x47651d,![],util[_0x58d1bc(0x21c)](_0x2308d5)),_0x2cc3be['JXGCe'](_0x2d0b1b,_0x2308d5);});});;return PerformanceTester[_0x4eb2ad(0x1e0)](_0x47651d),_0x41db5f;}catch(_0x48a597){PerformanceTester['end'](_0x47651d,![],util[_0x4eb2ad(0x21c)](_0x48a597));throw _0x48a597;}};return _0x347fce['apply'](null,_0x2e6cce);}catch(_0x403c0d){return logger[_0x4eb2ad(0x278)](_0x4eb2ad(0x1dc)+(_0x403c0d[_0x4eb2ad(0x271)]||_0x403c0d['message']||_0x403c0d)),_0x347fce['apply'](null,_0x2e6cce);}}static[a121_0x487f33(0x26a)](_0x43ef61,_0x2bb25b,_0x2dbc97={}){const _0x2e258c=a121_0x487f33,_0x518a33={'MrqKS':function(_0x4d415e){return _0x4d415e();}},_0x3e0522=this;return _0x2dbc97[_0x2e258c(0x263)]=_0x518a33[_0x2e258c(0x247)](getProcessId),_0x2dbc97['testName']=_0x518a33['MrqKS'](getTestName),_0x2dbc97[_0x2e258c(0x201)]=global['__platformCaps']&&global['__platformCaps'][_0x2e258c(0x1f6)],function(){const _0x4511d6=_0x2e258c,_0x41d774=[_0x43ef61,_0x2bb25b,null,_0x2dbc97][_0x4511d6(0x23d)](arguments);return _0x3e0522['measure'][_0x4511d6(0x212)](_0x3e0522,_0x41d774);};}static[a121_0x487f33(0x1d9)](){const _0x3566de=a121_0x487f33,_0x410b29=/(^.*)\[(.*)\]$/,_0x91d266={},_0x4c163b={},_0x55072a=[],_0x222e18=this['_measureEvents'][_0x3566de(0x25c)](0x0,this[_0x3566de(0x22a)][_0x3566de(0x242)]);for(const _0x512b1f of _0x222e18){const _0x4ee4b4=_0x512b1f['name'][_0x3566de(0x264)](_0x410b29),_0x1985c0=Object[_0x3566de(0x1ca)]({},_0x512b1f);_0x4ee4b4&&(_0x1985c0[_0x3566de(0x1f3)]=_0x4ee4b4[0x1],_0x1985c0['meta']=JSON['parse'](_0x4ee4b4[0x2])),_0x55072a[_0x3566de(0x1d7)](_0x1985c0);}return _0x55072a;}static[a121_0x487f33(0x24b)](){const _0x5c28b7=a121_0x487f33,_0x1a2cda={'mYZgQ':function(_0x535c59){return _0x535c59();},'Nzrns':function(_0x487a93,_0x3feb07){return _0x487a93+_0x3feb07;},'UuPIO':'Error\x20while\x20removing\x20files:\x20','dDMZt':function(_0x4536c3,_0x3711c5){return _0x4536c3===_0x3711c5;},'ftrrb':function(_0x2747c4,_0x50613a){return _0x2747c4+_0x50613a;}};try{this[_0x5c28b7(0x26f)]=path[_0x5c28b7(0x20c)](_0x1a2cda[_0x5c28b7(0x274)](getLogDir),this[_0x5c28b7(0x1d0)]);if(fs['existsSync'](this[_0x5c28b7(0x26f)])){const _0x1179cc=fs['readdirSync'](this[_0x5c28b7(0x26f)]);for(const _0x3d114b of _0x1179cc){fs[_0x5c28b7(0x210)](path['join'](this[_0x5c28b7(0x26f)],_0x3d114b));}}}catch(_0xda3c4){logger[_0x5c28b7(0x278)](_0x1a2cda[_0x5c28b7(0x23c)](_0x1a2cda[_0x5c28b7(0x1fa)],_0xda3c4));}if(_0x1a2cda[_0x5c28b7(0x249)](this[_0x5c28b7(0x22a)][_0x5c28b7(0x242)],0x0))return;const _0x2b2e64=this[_0x5c28b7(0x1d9)](),_0x14fdd6=JSON[_0x5c28b7(0x1fe)](_0x2b2e64),_0x1221ee=_0x1a2cda[_0x5c28b7(0x258)](_0x14fdd6[_0x5c28b7(0x267)](0x1,-0x1),',');fs['appendFileSync'](this[_0x5c28b7(0x265)],_0x1221ee);}static async[a121_0x487f33(0x27a)](){const _0x3d31fc=a121_0x487f33,_0x379722={'XVakl':function(_0x47b4ad){return _0x47b4ad();},'veIxf':function(_0x1e61e5,_0x4bf31b){return _0x1e61e5===_0x4bf31b;},'SSJGw':_0x3d31fc(0x229),'qCWSV':_0x3d31fc(0x24f),'LxDqP':_0x3d31fc(0x1fd),'VTgkw':function(_0x3f9968,_0x3db75f){return _0x3f9968+_0x3db75f;},'Covoa':_0x3d31fc(0x1e2),'pVnLP':_0x3d31fc(0x1e1),'AQRmi':_0x3d31fc(0x222),'KWwIG':function(_0x1ff16e,_0x1dac17){return _0x1ff16e>_0x1dac17;}};this['jsonReportDirPath']=path['join'](_0x379722['XVakl'](getLogDir),this[_0x3d31fc(0x1d0)]);if(!this[_0x3d31fc(0x205)]||_0x379722['veIxf'](this['_measureEvents'][_0x3d31fc(0x242)],0x0))return[];if(!fs['existsSync'](this[_0x3d31fc(0x26f)]))return this[_0x3d31fc(0x22a)];const _0x4e0a43=(await fsPromise[_0x3d31fc(0x270)](this[_0x3d31fc(0x26f)]))[_0x3d31fc(0x1cb)](_0x40c988=>path[_0x3d31fc(0x22d)](this[_0x3d31fc(0x26f)],_0x40c988));try{const _0x40878c=path[_0x3d31fc(0x25a)](this[_0x3d31fc(0x26f)]),_0x2dc772=path['join'](_0x40878c,_0x379722[_0x3d31fc(0x1e8)]);if(fs[_0x3d31fc(0x1ed)](_0x2dc772))try{await fsPromise[_0x3d31fc(0x216)](_0x2dc772,fs[_0x3d31fc(0x239)][_0x3d31fc(0x1f7)]);const _0x505e79=await fsPromise[_0x3d31fc(0x238)](_0x2dc772,_0x379722[_0x3d31fc(0x1f0)]),_0x1cc44c=JSON[_0x3d31fc(0x261)](_0x505e79),_0x161f40=path[_0x3d31fc(0x20c)](this['jsonReportDirPath'],_0x379722[_0x3d31fc(0x219)]);let _0x361d5c='';Array[_0x3d31fc(0x25d)](_0x1cc44c)?_0x361d5c=_0x379722[_0x3d31fc(0x22b)](_0x1cc44c[_0x3d31fc(0x1cb)](_0x5cc313=>JSON[_0x3d31fc(0x1fe)](_0x5cc313))['join'](','),','):_0x361d5c=_0x379722[_0x3d31fc(0x22b)](JSON[_0x3d31fc(0x1fe)](_0x1cc44c),','),await fsPromise[_0x3d31fc(0x1eb)](_0x161f40,_0x361d5c),_0x4e0a43['push'](_0x161f40),await fsPromise[_0x3d31fc(0x21d)](_0x2dc772);}catch(_0x5ca8fa){logger[_0x3d31fc(0x1d6)](util[_0x3d31fc(0x21c)](_0x379722['Covoa'],_0x5ca8fa['stack']||_0x5ca8fa[_0x3d31fc(0x211)]||_0x5ca8fa));}else logger[_0x3d31fc(0x1d6)](_0x379722[_0x3d31fc(0x24d)]);}catch(_0x3779e1){logger['info'](util['format'](_0x379722['AQRmi'],_0x3779e1[_0x3d31fc(0x271)]||_0x3779e1[_0x3d31fc(0x211)]||_0x3779e1));}let _0x1f1412=(await Promise[_0x3d31fc(0x1ff)](_0x4e0a43['map'](_0x5752aa=>fsPromise['readFile'](_0x5752aa,_0x3d31fc(0x24f)))))[_0x3d31fc(0x1cb)](_0x26297e=>'['+_0x26297e[_0x3d31fc(0x267)](0x0,-0x1)+']')[_0x3d31fc(0x1cb)](_0x61ec4e=>JSON[_0x3d31fc(0x261)](_0x61ec4e))[_0x3d31fc(0x22e)]();return _0x379722[_0x3d31fc(0x1f5)](this[_0x3d31fc(0x22a)]['length'],0x0)&&(_0x1f1412=_0x1f1412['concat'](this[_0x3d31fc(0x1d9)]())),this[_0x3d31fc(0x260)][_0x3d31fc(0x236)](),_0x1f1412;}static[a121_0x487f33(0x1fb)](){const _0xbdc724=a121_0x487f33,_0x46cf6c={};_0x46cf6c['WmoHT']=function(_0x445583,_0x5e6d65){return _0x445583===_0x5e6d65;},_0x46cf6c['ZXNsa']=function(_0x44db94,_0x3c44f7){return _0x44db94+_0x3c44f7;};const _0x3c640d=_0x46cf6c;if(_0x3c640d['WmoHT'](this['_errorEvents'][_0xbdc724(0x242)],0x0))return;const _0x4d79ae=JSON[_0xbdc724(0x1fe)](this[_0xbdc724(0x234)]),_0x314a3a=_0x3c640d['ZXNsa'](_0x4d79ae[_0xbdc724(0x267)](0x1,-0x1),',');fs[_0xbdc724(0x24a)](this[_0xbdc724(0x20d)],_0x314a3a);}static[a121_0x487f33(0x262)](){const _0x1e7490=a121_0x487f33,_0x1014bf={};_0x1014bf[_0x1e7490(0x233)]=function(_0x3b64f9,_0x438d2a){return _0x3b64f9>_0x438d2a;};const _0x5f511f=_0x1014bf;if(this[_0x1e7490(0x207)]){if(!fs[_0x1e7490(0x1ed)](this[_0x1e7490(0x207)]))return this['_errorEvents'];let _0x5d7c1f=fs[_0x1e7490(0x1d1)](this[_0x1e7490(0x207)])['toString']();_0x5d7c1f='['+_0x5d7c1f[_0x1e7490(0x267)](0x0,-0x1)+']';let _0x49f3a7=JSON[_0x1e7490(0x261)](_0x5d7c1f);return _0x5f511f[_0x1e7490(0x233)](this[_0x1e7490(0x234)][_0x1e7490(0x242)],0x0)&&(_0x49f3a7=_0x49f3a7['concat'](this[_0x1e7490(0x234)])),fs[_0x1e7490(0x210)](this[_0x1e7490(0x207)]),_0x49f3a7;}}static['captureError'](_0x2172ae){const _0x208765=a121_0x487f33;if(!this['isEnabled']())return;this[_0x208765(0x234)]['push']({'message':_0x2172ae[_0x208765(0x211)],'trace':_0x2172ae['stack'],'code':_0x2172ae[_0x208765(0x224)]||null,'time':new Date()});}static[a121_0x487f33(0x203)](){const _0x1d1435=a121_0x487f33;try{if(!this['isEnabled']())return;this[_0x1d1435(0x260)][_0x1d1435(0x236)](),this['pushPerfMeasures'](),this[_0x1d1435(0x1fb)]();}catch(_0x457a82){logger[_0x1d1435(0x278)](_0x1d1435(0x220)+util[_0x1d1435(0x21c)](_0x457a82));}}static async[a121_0x487f33(0x268)](){const _0x224f95=a121_0x487f33,_0x383116={'CHLuO':function(_0x454ba0,_0xdc34d5){return _0x454ba0(_0xdc34d5);}};await _0x383116[_0x224f95(0x1cc)](sleep,0x1e);const _0x1f82fb=await this[_0x224f95(0x27a)](),_0x37af6e=this['finalizeErrors']();if(!this[_0x224f95(0x221)]()){const _0x2c49d3={};return _0x2c49d3['measures']=[],_0x2c49d3[_0x224f95(0x257)]=[],_0x2c49d3;}const _0x502833={};return _0x502833['measures']=_0x1f82fb,_0x502833['errors']=_0x37af6e,_0x502833;}static[a121_0x487f33(0x218)](_0x51bcab){const _0x1cdd09=a121_0x487f33,_0x29c94a={};_0x29c94a[_0x1cdd09(0x1d4)]=function(_0xb72bbe,_0x534e10){return _0xb72bbe+_0x534e10;},_0x29c94a[_0x1cdd09(0x24e)]='-start';const _0x45269e=_0x29c94a,_0x4f1516=_0x45269e[_0x1cdd09(0x1d4)](_0x51bcab,_0x45269e[_0x1cdd09(0x24e)]);if(this[_0x1cdd09(0x25f)][_0x4f1516])return;performance['mark'](_0x4f1516),this[_0x1cdd09(0x25f)][_0x4f1516]=0x1;}static[a121_0x487f33(0x1e0)](_0x174594,_0xb4d287=!![],_0x290f9c=null,_0x38b786={}){const _0x5b7547=a121_0x487f33,_0x588e32={'XOccZ':function(_0x9078ab,_0x32546b){return _0x9078ab+_0x32546b;},'Bybwf':_0x5b7547(0x230),'atopy':function(_0x44f1b7,_0x47586e){return _0x44f1b7+_0x47586e;},'wvkjx':'-start','sKdDH':function(_0x59bdc9,_0x1de1c3){return _0x59bdc9+_0x1de1c3;},'exnQB':function(_0x841465){return _0x841465();}};performance[_0x5b7547(0x1df)](_0x588e32[_0x5b7547(0x1f8)](_0x174594,_0x588e32['Bybwf'])),performance[_0x5b7547(0x20e)](_0x174594,_0x588e32[_0x5b7547(0x1de)](_0x174594,_0x588e32[_0x5b7547(0x21f)]),_0x588e32[_0x5b7547(0x1ea)](_0x174594,_0x588e32[_0x5b7547(0x225)]));const _0x1744b1={};_0x1744b1[_0x5b7547(0x200)]=_0xb4d287,_0x1744b1[_0x5b7547(0x24c)]=_0x290f9c,this['details'][_0x174594]=Object[_0x5b7547(0x1ca)](_0x1744b1,Object[_0x5b7547(0x1ca)](Object['assign']({'worker':_0x588e32[_0x5b7547(0x215)](getProcessId),'platform':global[_0x5b7547(0x1cf)]&&global[_0x5b7547(0x1cf)][_0x5b7547(0x1f6)],'testName':_0x588e32[_0x5b7547(0x215)](getTestName)},_0x38b786),this['details'][_0x174594]||{}));}}module[a121_0x487f33(0x26c)]=PerformanceTester;function a121_0x1fe7(_0x766bfc,_0x5f0be1){const _0x444de5=a121_0x444d();return a121_0x1fe7=function(_0x1fe735,_0x3879a0){_0x1fe735=_0x1fe735-0x1ca;let _0x1377a6=_0x444de5[_0x1fe735];return _0x1377a6;},a121_0x1fe7(_0x766bfc,_0x5f0be1);}function a121_0x444d(){const _0x11db67=['280853VTlhEU','calculateTimesFromMultipleFiles','../logger','debug','</td></tr>','finalizePerfMeasures','assign','map','CHLuO','Time\x20for\x20','rSvzg','__platformCaps','jsonReportDirName','readFileSync','forEach','aVoEM','uWcec','EcvOq','info','push','errorReportDirName','getCleanedPerfEvents','winstonLogger','util','error\x20in\x20measure\x20','5263272ACAYaE','atopy','mark','end','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','Error\x20processing\x20key-metrics.json:\x20%s','getPerformance','2888074HYszXD','entryType','FdtEy','135VAsVOt','SSJGw','details','sKdDH','writeFile','oKRIE','existsSync','env','false','qCWSV','writeFileSync','Error\x20in\x20writing\x20html\x20','name','performance-report','KWwIG','index','F_OK','XOccZ','generateJSON','UuPIO','pushErrors','generateHTMLReport','modified-key-metrics.json','stringify','all','success','platform','/performance-report-','stopMonitoring','cwd','started','<tr><td>','errorReportFileName','mkdirSync','startMonitoring','<h1>Performance\x20Report</h1>','/error-report-','join','errorFile','measure','path','unlinkSync','message','apply','916604axoMTs','observe','exnQB','access','reduce','start','LxDqP','BROWSERSTACK_SDK_INSTRUMENTATION','../processHelper','format','unlink','entryTypes','wvkjx','Error\x20stopping\x20monitoring\x20','isEnabled','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','XIsni','code','Bybwf','.json','rifMv','_events','key-metrics.json','_measureEvents','VTgkw','CVxKX','resolve','flat','getEntries','-end','</tbody></table></body></html>','5229924EcdZuu','FAEKq','_errorEvents','BmwnH','disconnect','MsdoN','readFile','constants','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','GWYlx','Nzrns','concat','calculateTimeFromEvents','rzvBU','rOjNn','Srclj','length','getEventsFromJSON','sMfgL','3806340fmoTfu','perf_hooks','MrqKS','catch','dDMZt','appendFileSync','pushPerfMeasures','failure','pVnLP','QfJhK','utf-8','toString','browserStackCwd','75246ICVpjT','RBZyf','yRNyi','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','\x20for\x20all\x20processes\x20is\x20','errors','ftrrb','XxSLH','dirname','toJSON','splice','isArray','Performance\x20report\x20is\x20at\x20','eventsMap','_observer','parse','finalizeErrors','worker','match','jsonReportFileName','fs/promises','slice','finalize','mzPXU','measureWrapper','entries','exports','duration','pYPyb','jsonReportDirPath','readdir','stack','error-report','function','mYZgQ'];a121_0x444d=function(){return _0x11db67;};return a121_0x444d();}
1
+ function a121_0x51c4(){const _0x4877fd=['324jlgqDs','iuqBy','SCrbB','path','splice','NPUOo','Error\x20processing\x20key-metrics.json:\x20%s','errorReportDirName','format','push','duration','eWuhE','2104399DvDEzW','buffered','winstonLogger','chogl','vKMmK','8282241zkZWIK','function','parse','all','toJSON','testName','_events','jsonReportDirName','quiut','AxFPO','ZZhxz','_observer','started','info','getEventsFromJSON','ZGtcQ','toString','stopMonitoring','hFNPI','71392eRFNRp','HxKDq','hdZqf','then','getPerformance','stringify','entries','yEHNi','<h1>Performance\x20Report</h1>','measureWrapper','performance-report','writeFile','../logger','3687591ZLlypt','cNyWr','getCleanedPerfEvents','mkdirSync','measures','Error\x20stopping\x20monitoring\x20','false','6803970pADJCG','520AxFEka','_errorEvents','tsHGW','stopAndGenerate','forEach','isEnabled','NMKmP','appendFileSync','match','isArray','env','generateJSON','-start','platform','code','performance-own.html','_measureEvents','readdir','AkslM','</tbody></table></body></html>','entryTypes','stack','finalize','pPlDE','apply','concat','fs/promises','pushPerfMeasures','Error\x20in\x20writing\x20html\x20','ZNvqK','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','name','failure','gVTbE','browserStackCwd','utf-8','errorFile','readFile','unlinkSync','mDpUH','srJiE','perf_hooks','</td></tr>','MARXW','GtEVH','jsonReportDirPath','oQCSf','jplFB','DocJh','reduce','finalizeErrors','54605iIqZjV','hvnKH','Jooee','dirname','index','BROWSERSTACK_SDK_INSTRUMENTATION','captureError','SNYlH','util','measure','Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','success','readdirSync','tcCJy','laDzc','error-report','JkWId','assign','disconnect','190mSlZfb','finalizePerfMeasures','/performance-report-','generateHTMLReport','modified-key-metrics.json','existsSync','errors','zSokT','cwd','mark','entryType','Error\x20while\x20removing\x20files:\x20','/error-report-','__platformCaps','Mfnmu','debug','meta','xigfJ','</td><td>','join','erWTh','854CuKYDL','key-metrics.json','readFileSync','eventsMap','11762otZZaJ','message','iotag','F_OK','start','ihCFR','calculateTimeFromEvents','details','DzgXn','slice','.json','pushErrors','\x20for\x20all\x20processes\x20is\x20','length','eGaci','startMonitoring','-end','end','map','../processHelper','<tr><td>','jsonReportFileName','uzkFh','KGXsX','errorReportFileName'];a121_0x51c4=function(){return _0x4877fd;};return a121_0x51c4();}const a121_0x4d3fef=a121_0x9c84;(function(_0x347a21,_0x1e7076){const _0x1ef893=a121_0x9c84,_0xf48750=_0x347a21();while(!![]){try{const _0x4e42b4=parseInt(_0x1ef893(0x10c))/0x1*(-parseInt(_0x1ef893(0xf3))/0x2)+-parseInt(_0x1ef893(0x13d))/0x3+parseInt(_0x1ef893(0x145))/0x4*(parseInt(_0x1ef893(0xc7))/0x5)+-parseInt(_0x1ef893(0x144))/0x6+parseInt(_0x1ef893(0xef))/0x7*(parseInt(_0x1ef893(0x130))/0x8)+-parseInt(_0x1ef893(0x11d))/0x9+-parseInt(_0x1ef893(0xda))/0xa*(-parseInt(_0x1ef893(0x118))/0xb);if(_0x4e42b4===_0x1e7076)break;else _0xf48750['push'](_0xf48750['shift']());}catch(_0x17cbaf){_0xf48750['push'](_0xf48750['shift']());}}}(a121_0x51c4,0xe904c));const fs=require('fs'),fsPromise=require(a121_0x4d3fef(0xae)),{performance,PerformanceObserver}=require(a121_0x4d3fef(0xbd)),path=require(a121_0x4d3fef(0x10f)),util=require(a121_0x4d3fef(0xcf)),logger=require(a121_0x4d3fef(0x13c))[a121_0x4d3fef(0x11a)],{getLogDir}=require(a121_0x4d3fef(0x13c)),{getProcessId,sleep,debug,getTestName}=require(a121_0x4d3fef(0x106));function a121_0x9c84(_0x20ca3a,_0x3417e7){const _0x51c487=a121_0x51c4();return a121_0x9c84=function(_0x9c84a2,_0x5df3f0){_0x9c84a2=_0x9c84a2-0x9b;let _0x3380c0=_0x51c487[_0x9c84a2];return _0x3380c0;},a121_0x9c84(_0x20ca3a,_0x3417e7);}class PerformanceTester{static ['_observer'];static ['_events']=[];static ['_measureEvents']=[];static [a121_0x4d3fef(0x146)]=[];static [a121_0x4d3fef(0x129)]=![];static [a121_0x4d3fef(0x124)]=a121_0x4d3fef(0x13a);static [a121_0x4d3fef(0x113)]=process['env'][a121_0x4d3fef(0xb6)]?path['join'](process['env'][a121_0x4d3fef(0xb6)],a121_0x4d3fef(0xd6)):path['join'](process[a121_0x4d3fef(0xe2)](),a121_0x4d3fef(0xd6));static [a121_0x4d3fef(0x10b)]=this[a121_0x4d3fef(0x113)]+a121_0x4d3fef(0xe6)+getProcessId()+a121_0x4d3fef(0xfd);static [a121_0x4d3fef(0xfa)]={};static [a121_0x4d3fef(0xf2)]={};static[a121_0x4d3fef(0x102)](_0x510288,_0x58e49e=this[a121_0x4d3fef(0x113)]+a121_0x4d3fef(0xe6)+getProcessId()+a121_0x4d3fef(0xfd)){const _0xec15ab=a121_0x4d3fef,_0x27af12={'HxKDq':function(_0x54a309,_0x8f364a){return _0x54a309===_0x8f364a;},'NPUOo':_0xec15ab(0xd0),'dAEIC':function(_0x5238d0){return _0x5238d0();},'pPlDE':function(_0x56d03e,_0xc5c866){return _0x56d03e+_0xc5c866;},'iotag':_0xec15ab(0xb2),'IrnNM':_0xec15ab(0x11e)};try{this[_0xec15ab(0xc1)]=path[_0xec15ab(0xed)](_0x27af12['dAEIC'](getLogDir),this['jsonReportDirName']),!_0x510288&&(_0x510288=this[_0xec15ab(0xc1)]+_0xec15ab(0xdc)+_0x27af12['dAEIC'](getProcessId)+_0xec15ab(0xfd)),!fs['existsSync'](this[_0xec15ab(0xc1)])&&fs[_0xec15ab(0x140)](this['jsonReportDirPath']);}catch(_0x19907d){logger[_0xec15ab(0xe9)](_0x27af12[_0xec15ab(0xab)](_0x27af12[_0xec15ab(0xf5)],_0x19907d));}if(this['started']||!this[_0xec15ab(0x14a)]())return;this[_0xec15ab(0x128)]=new PerformanceObserver(_0x331352=>{const _0x50841b=_0xec15ab,_0x15b918={'tsHGW':function(_0x5e5e05,_0x166d56){const _0x34539a=a121_0x9c84;return _0x27af12[_0x34539a(0x131)](_0x5e5e05,_0x166d56);},'jplFB':_0x27af12[_0x50841b(0x111)]};_0x331352['getEntries']()['forEach'](_0x978574=>{const _0x172d5e=_0x50841b;if(_0x15b918[_0x172d5e(0x147)](_0x978574[_0x172d5e(0xe4)],_0x15b918[_0x172d5e(0xc3)])){let _0x54675f={};if(_0x978574[_0x172d5e(0x121)])_0x54675f=_0x978574['toJSON']();else for(const _0x41e6c0 in _0x978574){_0x54675f[_0x41e6c0]=_0x978574[_0x41e6c0];}this[_0x172d5e(0xfa)][_0x978574[_0x172d5e(0xb3)]]&&(_0x54675f=Object[_0x172d5e(0xd8)](_0x54675f,this[_0x172d5e(0xfa)][_0x978574[_0x172d5e(0xb3)]])),delete this[_0x172d5e(0xfa)][_0x978574['name']],this[_0x172d5e(0xa4)][_0x172d5e(0x115)](_0x54675f);}else this[_0x172d5e(0x123)][_0x172d5e(0x115)](_0x978574);});});const _0x48d879={};_0x48d879[_0xec15ab(0x119)]=!![],_0x48d879[_0xec15ab(0xa8)]=[_0x27af12['IrnNM'],_0x27af12[_0xec15ab(0x111)]],this['_observer']['observe'](_0x48d879),this[_0xec15ab(0x129)]=!![],this['jsonReportFileName']=_0x510288,this['errorReportFileName']=_0x58e49e;}static[a121_0x4d3fef(0x134)](){return performance;}static['calculateTimeFromEvents'](_0xb321fa,_0x5999aa){const _0x234085=a121_0x4d3fef,_0x1cf316={};_0x1cf316[_0x234085(0xb5)]=function(_0x4a724d,_0x2ea0a8){return _0x4a724d+_0x2ea0a8;},_0x1cf316['mDpUH']=function(_0x534def,_0x4da98b){return _0x534def||_0x4da98b;},_0x1cf316[_0x234085(0x137)]=function(_0x205202,_0x514402){return _0x205202===_0x514402;};const _0x22bc46=_0x1cf316,_0x4df35c={};if(!_0xb321fa||_0x22bc46[_0x234085(0x137)](_0xb321fa[_0x234085(0x100)],0x0))return;_0xb321fa[_0x234085(0x105)](_0xcf9a5e=>{const _0x558fa6=_0x234085;!_0x4df35c[_0xcf9a5e[_0x558fa6(0xb3)]]&&(_0x4df35c[_0xcf9a5e[_0x558fa6(0xb3)]]=0x0),_0x4df35c[_0xcf9a5e['name']]+=_0xcf9a5e[_0x558fa6(0x116)];});const _0x171e75=_0x5999aa[_0x234085(0xc5)]((_0x1ea595,_0x4589a5)=>{const _0x45c9aa=_0x234085;return _0x22bc46[_0x45c9aa(0xb5)](_0x4df35c[_0x4589a5],_0x22bc46[_0x45c9aa(0xbb)](_0x1ea595,0x0));},0x0);return _0x171e75;}static async['calculateTimesFromMultipleFiles'](_0x2194e5,_0x2fda87){const _0x33997b=a121_0x4d3fef,_0x27081e={'oQCSf':function(_0x1f3dc9,_0x2d1d81){return _0x1f3dc9+_0x2d1d81;},'JkWId':function(_0x3690c0,_0x43abbf){return _0x3690c0||_0x43abbf;},'cNyWr':function(_0x43f47e,_0x2e6e17){return _0x43f47e===_0x2e6e17;},'AkslM':function(_0x2b1575,_0x4d2563){return _0x2b1575(_0x4d2563);}};if(!_0x2194e5||_0x27081e[_0x33997b(0x13e)](_0x2194e5[_0x33997b(0x100)],0x0))return 0x0;const _0x4f0ec6=[];for(const _0x2847c7 of _0x2194e5){const _0x3879c5=path['join']('.',_0x2847c7);try{const _0x24f240=this[_0x33997b(0x12b)](_0x3879c5);_0x24f240['map'](_0xedc209=>{const _0x11d204=_0x33997b;!_0x4f0ec6[_0xedc209['name']]&&(_0x4f0ec6[_0xedc209['name']]=0x0),_0x4f0ec6[_0xedc209[_0x11d204(0xb3)]]+=_0xedc209['duration'];});}catch(_0x2d7fbf){_0x27081e[_0x33997b(0xa6)](debug,'Error\x20in\x20doing\x20csv\x20operations:\x20'+_0x2d7fbf[_0x33997b(0x12d)]());}}const _0x1fd78c=_0x2fda87[_0x33997b(0xc5)]((_0x3e0810,_0x2de2a9)=>{const _0x250ac5=_0x33997b;return _0x27081e[_0x250ac5(0xc2)](_0x4f0ec6[_0x2de2a9],_0x27081e[_0x250ac5(0xd7)](_0x3e0810,0x0));},0x0);return _0x27081e['AkslM'](debug,'Time\x20for\x20'+_0x2fda87+_0x33997b(0xff)+_0x1fd78c),_0x1fd78c;}static[a121_0x4d3fef(0x12b)](_0x2c2391){const _0x12be06=a121_0x4d3fef;if(_0x2c2391){if(!fs[_0x12be06(0xdf)](_0x2c2391))return[];return JSON[_0x12be06(0x11f)](fs[_0x12be06(0xf1)](_0x2c2391)[_0x12be06(0x12d)]());}}static async[a121_0x4d3fef(0x148)](_0x22f093=a121_0x4d3fef(0xa3),_0x550a5e=null){const _0x3fedf4=a121_0x4d3fef,_0x4478e9={'ihCFR':function(_0x2dd44c,_0x115efd){return _0x2dd44c(_0x115efd);},'GtEVH':function(_0x2a7213,_0x4c601a){return _0x2a7213(_0x4c601a);}};if(!this[_0x3fedf4(0x129)])return;await _0x4478e9[_0x3fedf4(0xc0)](sleep,0x1e),this[_0x3fedf4(0x128)]['disconnect'](),this[_0x3fedf4(0x129)]=![],this[_0x3fedf4(0x9f)](this[_0x3fedf4(0x123)]);const _0x1a76dd=this[_0x3fedf4(0xdd)](this[_0x3fedf4(0x123)]),_0x38abb5=path[_0x3fedf4(0xed)](process[_0x3fedf4(0xe2)](),_0x22f093);fs['writeFile'](_0x38abb5,_0x1a76dd,_0x8a42ea=>{const _0x5332e4=_0x3fedf4;if(_0x8a42ea){_0x4478e9[_0x5332e4(0xf8)](debug,_0x5332e4(0xb0)+_0x8a42ea['toString']());return;}_0x4478e9[_0x5332e4(0xc0)](debug,'Performance\x20report\x20is\x20at\x20'+_0x38abb5);});if(_0x550a5e)return this[_0x3fedf4(0xf9)](this[_0x3fedf4(0x123)],_0x550a5e);}static[a121_0x4d3fef(0xdd)](_0x121502){const _0x570bd3=a121_0x4d3fef,_0x1a298f={};_0x1a298f['tcCJy']='<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>',_0x1a298f[_0x570bd3(0x127)]=_0x570bd3(0x138),_0x1a298f[_0x570bd3(0xbf)]='<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>',_0x1a298f['kGZUa']=_0x570bd3(0xa7);const _0x27d2a8=_0x1a298f;let _0x1b113f=_0x27d2a8[_0x570bd3(0xd4)];return _0x1b113f+=_0x27d2a8[_0x570bd3(0x127)],_0x1b113f+=_0x27d2a8['MARXW'],_0x121502[_0x570bd3(0x149)](_0x159daf=>{const _0x5ad60f=_0x570bd3;_0x1b113f+=_0x5ad60f(0x107)+_0x159daf[_0x5ad60f(0xb3)]+_0x5ad60f(0xec)+_0x159daf['duration']+_0x5ad60f(0xbe);}),_0x1b113f+=_0x27d2a8['kGZUa'],_0x1b113f;}static[a121_0x4d3fef(0x9f)](_0xce87df){const _0x17ed01=a121_0x4d3fef;if(!this[_0x17ed01(0x108)])return;const _0x516f16={};_0xce87df[_0x17ed01(0x105)](_0x3f534e=>{const _0x53117e=_0x17ed01;!_0x516f16[_0x3f534e[_0x53117e(0xb3)]]&&(_0x516f16[_0x3f534e[_0x53117e(0xb3)]]=0x0),_0x516f16[_0x3f534e[_0x53117e(0xb3)]]+=_0x3f534e[_0x53117e(0x116)];});const _0xf353f2=Object[_0x17ed01(0x136)](_0x516f16)[_0x17ed01(0x105)](([_0x2b27e8,_0x312d79])=>{const _0x2ceb28=_0x17ed01,_0x3d8806={};return _0x3d8806[_0x2ceb28(0xb3)]=_0x2b27e8,_0x3d8806[_0x2ceb28(0x116)]=_0x312d79,_0x3d8806;});fs['writeFileSync'](this[_0x17ed01(0x108)],JSON[_0x17ed01(0x135)](_0xf353f2));}static[a121_0x4d3fef(0x14a)](){const _0xf4cc42=a121_0x4d3fef,_0x1769c7={};_0x1769c7[_0xf4cc42(0x10d)]=function(_0x42d929,_0x494cbb){return _0x42d929===_0x494cbb;},_0x1769c7[_0xf4cc42(0xe1)]=_0xf4cc42(0x143);const _0x51d768=_0x1769c7;return!_0x51d768[_0xf4cc42(0x10d)](process[_0xf4cc42(0x9e)][_0xf4cc42(0xcc)],_0x51d768[_0xf4cc42(0xe1)]);}static[a121_0x4d3fef(0xd0)](_0x2a897a,_0x1db846,_0x28e5f2=null,_0x386d4c={},_0x3e2dd7=null){const _0x1c9d46=a121_0x4d3fef,_0x6563a6={'laDzc':function(_0x3e8b02,_0x273c92){return _0x3e8b02(_0x273c92);},'OzRca':function(_0x40367f,_0x12ac36){return _0x40367f instanceof _0x12ac36;}};try{if(this[_0x1c9d46(0x129)]&&this[_0x1c9d46(0x14a)]()){let _0x41b139=_0x2a897a;_0x28e5f2&&(_0x41b139=_0x2a897a+'['+JSON['stringify'](_0x28e5f2)+']');PerformanceTester['start'](_0x41b139),this[_0x1c9d46(0xfa)]&&(this[_0x1c9d46(0xfa)][_0x41b139]=_0x386d4c);try{const _0x253820=_0x1db846['apply'](null,_0x3e2dd7);if(_0x6563a6['OzRca'](_0x253820,Promise))return new Promise((_0x4f0a2d,_0xddd910)=>{const _0x20907c=_0x1c9d46,_0x4f7957={'LTsoX':function(_0xe45bb8,_0x44f562){const _0x4e7fc9=a121_0x9c84;return _0x6563a6[_0x4e7fc9(0xd5)](_0xe45bb8,_0x44f562);}};_0x253820[_0x20907c(0x133)](_0x1f7e15=>{const _0x91521f=_0x20907c;PerformanceTester[_0x91521f(0x104)](_0x41b139),_0x6563a6[_0x91521f(0xd5)](_0x4f0a2d,_0x1f7e15);})['catch'](_0x563e8a=>{const _0x500bd6=_0x20907c;PerformanceTester[_0x500bd6(0x104)](_0x41b139,![],util[_0x500bd6(0x114)](_0x563e8a)),_0x4f7957['LTsoX'](_0xddd910,_0x563e8a);});});;return PerformanceTester[_0x1c9d46(0x104)](_0x41b139),_0x253820;}catch(_0x30f1ff){PerformanceTester[_0x1c9d46(0x104)](_0x41b139,![],util[_0x1c9d46(0x114)](_0x30f1ff));throw _0x30f1ff;}};return _0x1db846[_0x1c9d46(0xac)](null,_0x3e2dd7);}catch(_0x5e9f26){return logger[_0x1c9d46(0xe9)]('error\x20in\x20measure\x20'+(_0x5e9f26['stack']||_0x5e9f26[_0x1c9d46(0xf4)]||_0x5e9f26)),_0x1db846[_0x1c9d46(0xac)](null,_0x3e2dd7);}}static[a121_0x4d3fef(0x139)](_0x3f65b5,_0x359255,_0x5ae3a3={}){const _0x417cf9=a121_0x4d3fef,_0x50d13a={'ZNvqK':function(_0x27e402){return _0x27e402();}},_0x1c867d=this;return _0x5ae3a3['worker']=_0x50d13a[_0x417cf9(0xb1)](getProcessId),_0x5ae3a3[_0x417cf9(0x122)]=_0x50d13a[_0x417cf9(0xb1)](getTestName),_0x5ae3a3[_0x417cf9(0xa1)]=global[_0x417cf9(0xe7)]&&global['__platformCaps'][_0x417cf9(0xcb)],function(){const _0xa218bf=_0x417cf9,_0x32b0f7=[_0x3f65b5,_0x359255,null,_0x5ae3a3][_0xa218bf(0xad)](arguments);return _0x1c867d[_0xa218bf(0xd0)][_0xa218bf(0xac)](_0x1c867d,_0x32b0f7);};}static['getCleanedPerfEvents'](){const _0x96cc02=a121_0x4d3fef,_0x37ac9e=/(^.*)\[(.*)\]$/,_0x28a35c={},_0xc6796e={},_0x423061=[],_0x4d1fb5=this[_0x96cc02(0xa4)][_0x96cc02(0x110)](0x0,this['_measureEvents'][_0x96cc02(0x100)]);for(const _0x499f81 of _0x4d1fb5){const _0x34af61=_0x499f81['name'][_0x96cc02(0x9c)](_0x37ac9e),_0x4a3e64=Object['assign']({},_0x499f81);_0x34af61&&(_0x4a3e64['name']=_0x34af61[0x1],_0x4a3e64[_0x96cc02(0xea)]=JSON[_0x96cc02(0x11f)](_0x34af61[0x2])),_0x423061[_0x96cc02(0x115)](_0x4a3e64);}return _0x423061;}static[a121_0x4d3fef(0xaf)](){const _0xd7a2e5=a121_0x4d3fef,_0x5af39f={'yypQo':function(_0x27b840){return _0x27b840();},'Mfnmu':function(_0x51626a,_0x14bdf7){return _0x51626a+_0x14bdf7;},'AxFPO':_0xd7a2e5(0xe5),'chogl':function(_0x1eef5d,_0xc638ff){return _0x1eef5d===_0xc638ff;}};try{this['jsonReportDirPath']=path['join'](_0x5af39f['yypQo'](getLogDir),this['jsonReportDirName']);if(fs[_0xd7a2e5(0xdf)](this[_0xd7a2e5(0xc1)])){const _0x422913=fs[_0xd7a2e5(0xd3)](this['jsonReportDirPath']);for(const _0x39bb85 of _0x422913){fs[_0xd7a2e5(0xba)](path['join'](this['jsonReportDirPath'],_0x39bb85));}}}catch(_0x376031){logger['debug'](_0x5af39f[_0xd7a2e5(0xe8)](_0x5af39f[_0xd7a2e5(0x126)],_0x376031));}if(_0x5af39f[_0xd7a2e5(0x11b)](this['_measureEvents'][_0xd7a2e5(0x100)],0x0))return;const _0x3ac305=this[_0xd7a2e5(0x13f)](),_0x17a353=JSON[_0xd7a2e5(0x135)](_0x3ac305),_0x14ce6b=_0x5af39f[_0xd7a2e5(0xe8)](_0x17a353[_0xd7a2e5(0xfc)](0x1,-0x1),',');fs[_0xd7a2e5(0x9b)](this[_0xd7a2e5(0x108)],_0x14ce6b);}static async[a121_0x4d3fef(0xdb)](){const _0x54efed=a121_0x4d3fef,_0xcd6a98={'Jooee':function(_0x6b280){return _0x6b280();},'ZGtcQ':function(_0x449dc0,_0x2fa85c){return _0x449dc0===_0x2fa85c;},'KGXsX':_0x54efed(0xf0),'xigfJ':_0x54efed(0xb7),'DzgXn':_0x54efed(0xde),'hdZqf':function(_0x5be59b,_0x552436){return _0x5be59b+_0x552436;},'erWTh':function(_0x425306,_0x314934){return _0x425306+_0x314934;},'uzkFh':_0x54efed(0x112),'eGaci':'key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','NMKmP':_0x54efed(0xd1),'QMfBJ':function(_0x47827b,_0xe463d3){return _0x47827b>_0xe463d3;}};this[_0x54efed(0xc1)]=path[_0x54efed(0xed)](_0xcd6a98[_0x54efed(0xc9)](getLogDir),this[_0x54efed(0x124)]);if(!this[_0x54efed(0x129)]||_0xcd6a98[_0x54efed(0x12c)](this[_0x54efed(0xa4)]['length'],0x0))return[];if(!fs[_0x54efed(0xdf)](this[_0x54efed(0xc1)]))return this['_measureEvents'];const _0x29daf0=(await fsPromise[_0x54efed(0xa5)](this['jsonReportDirPath']))['map'](_0x2d2da2=>path['resolve'](this['jsonReportDirPath'],_0x2d2da2));try{const _0x4bac11=path[_0x54efed(0xca)](this['jsonReportDirPath']),_0x19e849=path[_0x54efed(0xed)](_0x4bac11,_0xcd6a98[_0x54efed(0x10a)]);if(fs['existsSync'](_0x19e849))try{await fsPromise['access'](_0x19e849,fs['constants'][_0x54efed(0xf6)]);const _0x31f22b=await fsPromise[_0x54efed(0xb9)](_0x19e849,_0xcd6a98[_0x54efed(0xeb)]),_0x2107f9=JSON[_0x54efed(0x11f)](_0x31f22b),_0x1c377e=path['join'](this['jsonReportDirPath'],_0xcd6a98[_0x54efed(0xfb)]);let _0x108536='';Array[_0x54efed(0x9d)](_0x2107f9)?_0x108536=_0xcd6a98[_0x54efed(0x132)](_0x2107f9[_0x54efed(0x105)](_0x3d45d2=>JSON[_0x54efed(0x135)](_0x3d45d2))[_0x54efed(0xed)](','),','):_0x108536=_0xcd6a98[_0x54efed(0xee)](JSON[_0x54efed(0x135)](_0x2107f9),','),await fsPromise[_0x54efed(0x13b)](_0x1c377e,_0x108536),_0x29daf0['push'](_0x1c377e),await fsPromise['unlink'](_0x19e849);}catch(_0x496547){logger['info'](util['format'](_0xcd6a98[_0x54efed(0x109)],_0x496547[_0x54efed(0xa9)]||_0x496547[_0x54efed(0xf4)]||_0x496547));}else logger[_0x54efed(0x12a)](_0xcd6a98[_0x54efed(0x101)]);}catch(_0x4c3aca){logger[_0x54efed(0x12a)](util[_0x54efed(0x114)](_0xcd6a98[_0x54efed(0x14b)],_0x4c3aca['stack']||_0x4c3aca[_0x54efed(0xf4)]||_0x4c3aca));}let _0x5d14f2=(await Promise[_0x54efed(0x120)](_0x29daf0[_0x54efed(0x105)](_0x11f8b3=>fsPromise['readFile'](_0x11f8b3,_0x54efed(0xb7)))))[_0x54efed(0x105)](_0x761d70=>'['+_0x761d70[_0x54efed(0xfc)](0x0,-0x1)+']')[_0x54efed(0x105)](_0xe285ff=>JSON[_0x54efed(0x11f)](_0xe285ff))['flat']();return _0xcd6a98['QMfBJ'](this[_0x54efed(0xa4)][_0x54efed(0x100)],0x0)&&(_0x5d14f2=_0x5d14f2['concat'](this[_0x54efed(0x13f)]())),this['_observer'][_0x54efed(0xd9)](),_0x5d14f2;}static[a121_0x4d3fef(0xfe)](){const _0x5407c9=a121_0x4d3fef,_0x773397={};_0x773397['eWuhE']=function(_0x37e768,_0x432321){return _0x37e768===_0x432321;},_0x773397[_0x5407c9(0xbc)]=function(_0x418f46,_0x23db32){return _0x418f46+_0x23db32;};const _0x52c7db=_0x773397;if(_0x52c7db[_0x5407c9(0x117)](this[_0x5407c9(0x146)]['length'],0x0))return;const _0x5b8776=JSON['stringify'](this[_0x5407c9(0x146)]),_0x16ee85=_0x52c7db[_0x5407c9(0xbc)](_0x5b8776[_0x5407c9(0xfc)](0x1,-0x1),',');fs[_0x5407c9(0x9b)](this[_0x5407c9(0xb8)],_0x16ee85);}static[a121_0x4d3fef(0xc6)](){const _0x44aeac=a121_0x4d3fef,_0x4e793a={};_0x4e793a[_0x44aeac(0xce)]=function(_0x1fcbb3,_0x241000){return _0x1fcbb3>_0x241000;};const _0x11674f=_0x4e793a;if(this[_0x44aeac(0x10b)]){if(!fs[_0x44aeac(0xdf)](this[_0x44aeac(0x10b)]))return this[_0x44aeac(0x146)];let _0x521ed7=fs['readFileSync'](this['errorReportFileName'])[_0x44aeac(0x12d)]();_0x521ed7='['+_0x521ed7[_0x44aeac(0xfc)](0x0,-0x1)+']';let _0x15966c=JSON[_0x44aeac(0x11f)](_0x521ed7);return _0x11674f[_0x44aeac(0xce)](this['_errorEvents'][_0x44aeac(0x100)],0x0)&&(_0x15966c=_0x15966c['concat'](this['_errorEvents'])),fs[_0x44aeac(0xba)](this[_0x44aeac(0x10b)]),_0x15966c;}}static[a121_0x4d3fef(0xcd)](_0x1cbcb0){const _0x3b25cf=a121_0x4d3fef;if(!this[_0x3b25cf(0x14a)]())return;this[_0x3b25cf(0x146)]['push']({'message':_0x1cbcb0['message'],'trace':_0x1cbcb0[_0x3b25cf(0xa9)],'code':_0x1cbcb0[_0x3b25cf(0xa2)]||null,'time':new Date()});}static[a121_0x4d3fef(0x12e)](){const _0x24d06d=a121_0x4d3fef;try{if(!this[_0x24d06d(0x14a)]())return;this['_observer'][_0x24d06d(0xd9)](),this[_0x24d06d(0xaf)](),this[_0x24d06d(0xfe)]();}catch(_0x5461a9){logger['debug'](_0x24d06d(0x142)+util[_0x24d06d(0x114)](_0x5461a9));}}static async[a121_0x4d3fef(0xaa)](){const _0x45d1c0=a121_0x4d3fef,_0x534b38={'uVkMV':function(_0x360516,_0x7ff269){return _0x360516(_0x7ff269);}};await _0x534b38['uVkMV'](sleep,0x1e);const _0x3d2f97=await this[_0x45d1c0(0xdb)](),_0x30c5b5=this[_0x45d1c0(0xc6)]();if(!this[_0x45d1c0(0x14a)]()){const _0x56b4ea={};return _0x56b4ea['measures']=[],_0x56b4ea['errors']=[],_0x56b4ea;}const _0x558daf={};return _0x558daf[_0x45d1c0(0x141)]=_0x3d2f97,_0x558daf[_0x45d1c0(0xe0)]=_0x30c5b5,_0x558daf;}static[a121_0x4d3fef(0xf7)](_0x43e164){const _0x284412=a121_0x4d3fef,_0x1bb876={};_0x1bb876['quiut']=function(_0xa92f58,_0x37dfcd){return _0xa92f58+_0x37dfcd;},_0x1bb876['DocJh']=_0x284412(0xa0);const _0x4f5c3c=_0x1bb876,_0x4ad372=_0x4f5c3c[_0x284412(0x125)](_0x43e164,_0x4f5c3c[_0x284412(0xc4)]);if(this[_0x284412(0xf2)][_0x4ad372])return;performance[_0x284412(0xe3)](_0x4ad372),this[_0x284412(0xf2)][_0x4ad372]=0x1;}static['end'](_0x22971f,_0x1aab11=!![],_0x59b652=null,_0x520493={}){const _0x19a9bd=a121_0x4d3fef,_0x1c44ae={'vKMmK':function(_0x447eac,_0xe8d263){return _0x447eac+_0xe8d263;},'hvnKH':_0x19a9bd(0x103),'hFNPI':'-start','SCrbB':function(_0x391b63){return _0x391b63();}};performance[_0x19a9bd(0xe3)](_0x1c44ae['vKMmK'](_0x22971f,_0x1c44ae[_0x19a9bd(0xc8)])),performance[_0x19a9bd(0xd0)](_0x22971f,_0x1c44ae[_0x19a9bd(0x11c)](_0x22971f,_0x1c44ae[_0x19a9bd(0x12f)]),_0x1c44ae[_0x19a9bd(0x11c)](_0x22971f,_0x1c44ae[_0x19a9bd(0xc8)]));const _0x1a8fa0={};_0x1a8fa0[_0x19a9bd(0xd2)]=_0x1aab11,_0x1a8fa0[_0x19a9bd(0xb4)]=_0x59b652,this['details'][_0x22971f]=Object['assign'](_0x1a8fa0,Object[_0x19a9bd(0xd8)](Object[_0x19a9bd(0xd8)]({'worker':_0x1c44ae[_0x19a9bd(0x10e)](getProcessId),'platform':global[_0x19a9bd(0xe7)]&&global[_0x19a9bd(0xe7)]['index'],'testName':_0x1c44ae[_0x19a9bd(0x10e)](getTestName)},_0x520493),this[_0x19a9bd(0xfa)][_0x22971f]||{}));}}module['exports']=PerformanceTester;
@@ -1 +1 @@
1
- function a122_0x3314(){const _0x25c9dd=['ZOJYn','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','JWlQw','yMcmR','amPtR','format','browserstack.testhubBuildUuid','NLjWL','chrome','5357iiSJwp','workers','browserName','configPath','getBrowserFromCaps','message','619028EmuJPQ','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','PTydM','xbTFw','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','EQAJz','setFrameworkDetail','getPlaywrightConfig','FRAMEWORKS','platformCaps','514dsgTUn','use','length','./w3cMapping','stringify','env','BROWSERSTACK_TESTHUB_UUID','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','694zSWNTl','544788eCQCiG','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','../bin/v2/browserstackCLI','yNWzw','bstack:options','5890kbWAup','../bin/v2/cliUtils','zHUUS','error','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','EpVYs','browserstack.accessibilityOptions.authToken','getInstance','PLAYWRIGHT','4468482YjMRqZ','634530EoMlxj','debug','capabilities','BXncf','QkGvk','isArray','generatePlaywrightUrl','./helper','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','browserstack.accessibilityOptions.scannerVersion','exports','getModifiedConfigFromCLI','./logger','isPlaywrightAvailable','wJvFs','581007mrqJfD','Detected\x20Playwright\x20version\x20','Could\x20not\x20import\x20GrpcClient:\x20','getPlaywrightBrowserType','Error\x20getting\x20Playwright\x20BrowserType:\x20','winstonLogger','fBgOw','8vUzTQw','getConfig','Rqmyd','AahOs','config','BGxqG','importFileFromPWCore','shZRT','./testhub/utils','checkPwandBootstrapCli','BS_A11Y_JWT','MIArB','llaUH','../bin/v2/grpcClient','LxGdS','cliConfig','NvhaW','rTOuz','uBmOz','6hGkuFc','entries','setBrowserstackConfig','browser','RwdiW','framework','__launchCaps','qECuO','15cxrlHU','WQzry','yxhxx','mvnDr','client','lib','CeisG','projects','bWmeI','../bin/utils/constants','getPlaywrightModulePath','join','__accessibilityOptions','browserType.js','getBuildProductMap'];a122_0x3314=function(){return _0x25c9dd;};return a122_0x3314();}function a122_0x2037(_0xa91bf4,_0x1ff4d9){const _0x33147b=a122_0x3314();return a122_0x2037=function(_0x2037ce,_0x59a38d){_0x2037ce=_0x2037ce-0x17d;let _0xdf0574=_0x33147b[_0x2037ce];return _0xdf0574;},a122_0x2037(_0xa91bf4,_0x1ff4d9);}const a122_0x1349a8=a122_0x2037;(function(_0x44e076,_0x446a60){const _0x129b1c=a122_0x2037,_0x2c34a7=_0x44e076();while(!![]){try{const _0x2255d7=parseInt(_0x129b1c(0x1a2))/0x1*(parseInt(_0x129b1c(0x1aa))/0x2)+-parseInt(_0x129b1c(0x1e3))/0x3*(parseInt(_0x129b1c(0x198))/0x4)+parseInt(_0x129b1c(0x1eb))/0x5*(-parseInt(_0x129b1c(0x1ba))/0x6)+-parseInt(_0x129b1c(0x1c9))/0x7+-parseInt(_0x129b1c(0x1d0))/0x8*(-parseInt(_0x129b1c(0x1b9))/0x9)+parseInt(_0x129b1c(0x1b0))/0xa*(parseInt(_0x129b1c(0x192))/0xb)+parseInt(_0x129b1c(0x1ab))/0xc;if(_0x2255d7===_0x446a60)break;else _0x2c34a7['push'](_0x2c34a7['shift']());}catch(_0x368e43){_0x2c34a7['push'](_0x2c34a7['shift']());}}}(a122_0x3314,0x48966));const path=require('path'),util=require('util'),{importFileFromPWCore}=require(a122_0x1349a8(0x1c1)),helper=require(a122_0x1349a8(0x1c1)),logger=require(a122_0x1349a8(0x1c6))[a122_0x1349a8(0x1ce)],W3CMapping=require(a122_0x1349a8(0x1a5))['W3CMapping'](),constants=require(a122_0x1349a8(0x183)),BrowserstackCLI=require(a122_0x1349a8(0x1ad)),CLIUtils=require(a122_0x1349a8(0x1b1));let GrpcClient;try{GrpcClient=require(a122_0x1349a8(0x1dd));}catch(a122_0x10c320){logger[a122_0x1349a8(0x1bb)](a122_0x1349a8(0x1cb)+a122_0x10c320[a122_0x1349a8(0x197)]),GrpcClient=null;}const convertW3CToJsonWire=_0x4f1dad=>{const _0xbbbb9b=a122_0x1349a8,_0x5248b0={};_0x5248b0['NvhaW']=function(_0xe13f94,_0x351aed){return _0xe13f94||_0x351aed;},_0x5248b0[_0xbbbb9b(0x1db)]=function(_0x39e4e3,_0x3cf4fc){return _0x39e4e3===_0x3cf4fc;},_0x5248b0[_0xbbbb9b(0x1e1)]=_0xbbbb9b(0x1af),_0x5248b0[_0xbbbb9b(0x1d7)]=function(_0x1ee077,_0x2c24b8){return _0x1ee077===_0x2c24b8;},_0x5248b0[_0xbbbb9b(0x1b5)]=function(_0x7ce7cb,_0x5f00e2){return _0x7ce7cb in _0x5f00e2;};const _0x2336dd=_0x5248b0,_0x1e89a2={};for(const [_0x3165c5,_0x170234]of Object[_0xbbbb9b(0x1e4)](_0x2336dd[_0xbbbb9b(0x1e0)](_0x4f1dad,{}))){if(_0x2336dd[_0xbbbb9b(0x1db)](_0x3165c5,_0x2336dd['rTOuz']))continue;let _0x19b743=![];for(const [_0x218b9a,_0xee998b]of Object[_0xbbbb9b(0x1e4)](W3CMapping)){if(_0x2336dd[_0xbbbb9b(0x1db)](_0x3165c5,_0xee998b)){_0x1e89a2[_0x218b9a]=_0x170234,_0x19b743=!![];break;}}!_0x19b743&&(_0x1e89a2[_0x3165c5]=_0x170234);}const _0x58d246=_0x4f1dad[_0x2336dd[_0xbbbb9b(0x1e1)]]||{};for(const [_0xf9bc89,_0xe3b0c1]of Object['entries'](_0x58d246)){let _0x3e25c2=![];for(const [_0x261d17,_0x437f5f]of Object['entries'](W3CMapping)){if(_0x2336dd[_0xbbbb9b(0x1d7)](_0xf9bc89,_0x437f5f)){_0x1e89a2[_0x261d17]=_0xe3b0c1,_0x3e25c2=!![];break;}}!_0x3e25c2&&!_0x2336dd[_0xbbbb9b(0x1b5)](_0xf9bc89,_0x1e89a2)&&(_0x1e89a2[_0xf9bc89]=_0xe3b0c1);}return logger[_0xbbbb9b(0x1bb)]('Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20'+JSON[_0xbbbb9b(0x1a6)](_0x1e89a2)),_0x1e89a2;},getModifiedConfigFromCLI=async _0x2734c5=>{const _0x40938e=a122_0x1349a8,_0x379eca={};_0x379eca[_0x40938e(0x1de)]=_0x40938e(0x199),_0x379eca[_0x40938e(0x1ec)]='cucumberjs-pw',_0x379eca[_0x40938e(0x1e2)]=_0x40938e(0x18a),_0x379eca[_0x40938e(0x1ea)]='No\x20modified\x20config\x20received\x20from\x20gRPC',_0x379eca['mVPsW']=function(_0x46e459,_0x148144){return _0x46e459>_0x148144;},_0x379eca[_0x40938e(0x1ed)]=_0x40938e(0x1a9);const _0x3b385a=_0x379eca;try{if(!GrpcClient)return logger[_0x40938e(0x1bb)](_0x3b385a[_0x40938e(0x1de)]),null;const _0x46635a={};_0x46635a[_0x40938e(0x1bc)]=_0x2734c5,_0x46635a[_0x40938e(0x1e8)]=_0x3b385a['WQzry'],_0x46635a[_0x40938e(0x193)]=0x1,_0x46635a[_0x40938e(0x181)]=[];const _0x255c4f=_0x46635a;logger[_0x40938e(0x1bb)](_0x3b385a[_0x40938e(0x1e2)]);const _0x1fcddf={};_0x1fcddf['playwrightConfigObject']=_0x255c4f;const _0x128409=await GrpcClient[_0x40938e(0x1b7)]()[_0x40938e(0x19f)](_0x1fcddf);if(!_0x128409['getConfig']())return logger[_0x40938e(0x1bb)](_0x3b385a['qECuO']),null;const _0x4957f0=JSON['parse'](_0x128409[_0x40938e(0x1d1)]());logger['debug']('Received\x20modified\x20config\x20from\x20gRPC:\x20'+JSON[_0x40938e(0x1a6)](_0x4957f0));if(_0x4957f0['capabilities']&&Array[_0x40938e(0x1bf)](_0x4957f0['capabilities'])&&_0x3b385a['mVPsW'](_0x4957f0['capabilities']['length'],0x0))return _0x4957f0[_0x40938e(0x1bc)][0x0];else{if(_0x4957f0[_0x40938e(0x181)]&&Array[_0x40938e(0x1bf)](_0x4957f0[_0x40938e(0x181)])&&_0x3b385a['mVPsW'](_0x4957f0[_0x40938e(0x181)][_0x40938e(0x1a4)],0x0)){const _0x3e9e78=_0x4957f0[_0x40938e(0x181)][0x0];if(_0x3e9e78[_0x40938e(0x1a3)]&&_0x3e9e78[_0x40938e(0x1a3)][_0x40938e(0x1a1)])return _0x3e9e78[_0x40938e(0x1a3)][_0x40938e(0x1a1)];}}return logger[_0x40938e(0x1bb)](_0x3b385a[_0x40938e(0x1ed)]),null;}catch(_0x4baf80){logger[_0x40938e(0x1b3)](_0x40938e(0x1ac)+_0x4baf80[_0x40938e(0x197)]);throw _0x4baf80;}},generatePlaywrightUrl=(_0x10739b,_0x2e7746)=>{const _0x12c348=a122_0x1349a8,_0x6e4dd5={'yOGVj':function(_0x1f6bf7,_0x2fe946){return _0x1f6bf7!==_0x2fe946;},'NLjWL':function(_0x198cf9,_0x1a2942){return _0x198cf9!==_0x1a2942;},'wJvFs':function(_0x40982b,_0x5b89f5){return _0x40982b!==_0x5b89f5;},'PTydM':function(_0x172d28,_0x493e18){return _0x172d28!==_0x493e18;},'fBgOw':function(_0x3d8877,_0x361c1d){return _0x3d8877!==_0x361c1d;},'CeisG':function(_0x1c5e31,_0x30b034){return _0x1c5e31(_0x30b034);},'BXncf':function(_0x3f1bc0,_0x35e9e1){return _0x3f1bc0||_0x35e9e1;},'BGxqG':_0x12c348(0x1b6),'Rqmyd':'browserstack.accessibilityOptions.wcagVersion','eBanr':function(_0x355a9d,_0xd1fcee){return _0x355a9d(_0xd1fcee);},'ZOJYn':_0x12c348(0x1c3),'SzoNY':function(_0x315bf2,_0x2e09a9){return _0x315bf2(_0x2e09a9);},'EQAJz':'browserstack.accessibilityOptions.scannerProcessingTimeout','llaUH':_0x12c348(0x18f),'amPtR':'browserstack.buildProductMap','xbTFw':function(_0x3be5d0,_0xab33a){return _0x3be5d0+_0xab33a;}},_0x44c302=helper['getPlaywrightUrl'](_0x10739b),_0x3238d6=_0x6e4dd5[_0x12c348(0x180)](convertW3CToJsonWire,_0x2e7746);try{const _0x2bc2f4=[_0x6e4dd5[_0x12c348(0x1bd)](_0x2e7746,{}),global[_0x12c348(0x1e9)]||{},global['__platformCaps']||{},global[_0x12c348(0x186)]||{}],_0xc2025b=_0x1a6ee4=>{const _0x282927=_0x12c348;if(_0x6e4dd5['yOGVj'](_0x3238d6[_0x1a6ee4],undefined)&&_0x6e4dd5[_0x282927(0x190)](_0x3238d6[_0x1a6ee4],null)&&_0x6e4dd5[_0x282927(0x1c8)](_0x3238d6[_0x1a6ee4],''))return;for(const _0x3833b7 of _0x2bc2f4){if(_0x3833b7&&_0x6e4dd5[_0x282927(0x1c8)](_0x3833b7[_0x1a6ee4],undefined)&&_0x6e4dd5[_0x282927(0x19a)](_0x3833b7[_0x1a6ee4],null)&&_0x6e4dd5[_0x282927(0x1cf)](_0x3833b7[_0x1a6ee4],'')){_0x3238d6[_0x1a6ee4]=_0x3833b7[_0x1a6ee4];return;}}};_0x6e4dd5['CeisG'](_0xc2025b,_0x6e4dd5['BGxqG']),_0x6e4dd5['CeisG'](_0xc2025b,_0x6e4dd5[_0x12c348(0x1d2)]),_0x6e4dd5['eBanr'](_0xc2025b,_0x6e4dd5[_0x12c348(0x189)]),_0x6e4dd5['SzoNY'](_0xc2025b,_0x6e4dd5[_0x12c348(0x19d)]),!_0x3238d6[_0x6e4dd5['BGxqG']]&&process[_0x12c348(0x1a7)][_0x12c348(0x1da)]&&(_0x3238d6[_0x6e4dd5[_0x12c348(0x1d5)]]=process[_0x12c348(0x1a7)]['BS_A11Y_JWT']);}catch(_0x1e52b6){logger['debug'](_0x12c348(0x19c)+util[_0x12c348(0x18e)](_0x1e52b6));}return _0x3238d6[_0x6e4dd5[_0x12c348(0x1dc)]]=process[_0x12c348(0x1a7)][_0x12c348(0x1a8)],_0x3238d6[_0x6e4dd5[_0x12c348(0x18d)]]=helper[_0x12c348(0x188)](),_0x6e4dd5[_0x12c348(0x19b)](_0x44c302,_0x6e4dd5[_0x12c348(0x180)](encodeURIComponent,JSON[_0x12c348(0x1a6)](_0x3238d6)));},getBrowserFromCaps=_0x1e4d1b=>{const _0x1511c4=a122_0x1349a8,_0x40a0b5={};_0x40a0b5[_0x1511c4(0x1d3)]=_0x1511c4(0x191);const _0x274a83=_0x40a0b5;return _0x1e4d1b[_0x1511c4(0x194)]||_0x1e4d1b[_0x1511c4(0x1e6)]||_0x274a83[_0x1511c4(0x1d3)];},isPlaywrightAvailable=()=>{const _0x228b6c=a122_0x1349a8,_0x1e5028={'yNWzw':_0x228b6c(0x17f),'yMcmR':_0x228b6c(0x17e),'bWmeI':'browserType.js','yOWwp':function(_0x26d304,_0x3b20a0){return _0x26d304(_0x3b20a0);}};try{const _0xb5c82b=path[_0x228b6c(0x185)](_0x1e5028[_0x228b6c(0x1ae)],_0x1e5028[_0x228b6c(0x18c)],_0x1e5028[_0x228b6c(0x182)]),_0x3b81fd=_0x1e5028['yOWwp'](importFileFromPWCore,_0xb5c82b);return!!_0x3b81fd;}catch(_0x5295b5){return logger[_0x228b6c(0x1bb)]('Playwright\x20not\x20available:\x20'+util[_0x228b6c(0x18e)](_0x5295b5)),![];}},getPlaywrightBrowserType=()=>{const _0x1cce47=a122_0x1349a8,_0x2998e8={'QkGvk':'lib','rouZB':'client','JWlQw':_0x1cce47(0x187),'dOhrV':function(_0x3bf311,_0x3f489f){return _0x3bf311(_0x3f489f);}};try{const _0x493613=path[_0x1cce47(0x185)](_0x2998e8[_0x1cce47(0x1be)],_0x2998e8['rouZB'],_0x2998e8[_0x1cce47(0x18b)]),_0x4633e8=_0x2998e8['dOhrV'](importFileFromPWCore,_0x493613);return _0x4633e8?_0x4633e8['BrowserType']:null;}catch(_0x8229e3){return logger[_0x1cce47(0x1bb)](_0x1cce47(0x1cd)+util['format'](_0x8229e3)),null;}},getPlaywrightModulePath=()=>{const _0x1b719d=a122_0x1349a8,_0x4af4ea={};_0x4af4ea[_0x1b719d(0x1e7)]=_0x1b719d(0x1c2);const _0x292ae8=_0x4af4ea;return logger['debug'](_0x292ae8['RwdiW']),null;},getBrowserTypePath=()=>{const _0x2c36a6=a122_0x1349a8,_0x239051={};_0x239051['moTqX']=_0x2c36a6(0x1b4);const _0x28ac17=_0x239051;return logger['debug'](_0x28ac17['moTqX']),null;},checkPwandBootstrapCli=async(_0x5958e7,_0x57b7b7,_0x35573f)=>{const _0xaaa7c5=a122_0x1349a8,_0x779600={'mvnDr':function(_0x3bac29,_0x5f14dc){return _0x3bac29(_0x5f14dc);},'zHUUS':_0xaaa7c5(0x1d8)};if(_0x5958e7){const _0x4a0ade=constants[_0xaaa7c5(0x1a0)][_0xaaa7c5(0x1b8)];logger[_0xaaa7c5(0x1bb)](_0xaaa7c5(0x1ca)+_0x5958e7+'\x20for\x20'+_0x57b7b7+'\x20flow'),CLIUtils[_0xaaa7c5(0x19e)](_0x57b7b7,_0x4a0ade);const {getProductMap:_0x52b90a}=_0x779600[_0xaaa7c5(0x17d)](require,_0x779600[_0xaaa7c5(0x1b2)]);process[_0xaaa7c5(0x1a7)]['BROWSERSTACK_PRODUCT_MAP']=JSON[_0xaaa7c5(0x1a6)](_0x779600[_0xaaa7c5(0x17d)](_0x52b90a,_0x35573f[_0xaaa7c5(0x1d4)])),BrowserstackCLI[_0xaaa7c5(0x1b7)]()[_0xaaa7c5(0x1e5)](_0x35573f[_0xaaa7c5(0x1d4)],_0x35573f[_0xaaa7c5(0x195)],_0x35573f[_0xaaa7c5(0x1df)]),await BrowserstackCLI[_0xaaa7c5(0x1b7)]()['bootstrap']();}},a122_0x2582c1={};a122_0x2582c1['convertW3CToJsonWire']=convertW3CToJsonWire,a122_0x2582c1[a122_0x1349a8(0x1c5)]=getModifiedConfigFromCLI,a122_0x2582c1[a122_0x1349a8(0x1c0)]=generatePlaywrightUrl,a122_0x2582c1[a122_0x1349a8(0x196)]=getBrowserFromCaps,a122_0x2582c1[a122_0x1349a8(0x1c7)]=isPlaywrightAvailable,a122_0x2582c1[a122_0x1349a8(0x1cc)]=getPlaywrightBrowserType,a122_0x2582c1[a122_0x1349a8(0x184)]=getPlaywrightModulePath,a122_0x2582c1['getBrowserTypePath']=getBrowserTypePath,a122_0x2582c1[a122_0x1349a8(0x1d6)]=importFileFromPWCore,a122_0x2582c1[a122_0x1349a8(0x1d9)]=checkPwandBootstrapCli,module[a122_0x1349a8(0x1c4)]=a122_0x2582c1;
1
+ const a122_0x7dfc10=a122_0x2b3a;(function(_0x4dc0cb,_0x349d8b){const _0x440c5b=a122_0x2b3a,_0x408dbb=_0x4dc0cb();while(!![]){try{const _0x3f8dd5=parseInt(_0x440c5b(0x1a6))/0x1+-parseInt(_0x440c5b(0x1a9))/0x2+-parseInt(_0x440c5b(0x1ba))/0x3*(parseInt(_0x440c5b(0x211))/0x4)+-parseInt(_0x440c5b(0x20c))/0x5*(-parseInt(_0x440c5b(0x1f3))/0x6)+parseInt(_0x440c5b(0x200))/0x7+-parseInt(_0x440c5b(0x1f4))/0x8*(parseInt(_0x440c5b(0x1d0))/0x9)+parseInt(_0x440c5b(0x213))/0xa;if(_0x3f8dd5===_0x349d8b)break;else _0x408dbb['push'](_0x408dbb['shift']());}catch(_0x3bc148){_0x408dbb['push'](_0x408dbb['shift']());}}}(a122_0x3a52,0x4bb5d));function a122_0x2b3a(_0x2ea613,_0x28942b){const _0x3a529b=a122_0x3a52();return a122_0x2b3a=function(_0x2b3a96,_0x50c20c){_0x2b3a96=_0x2b3a96-0x1a0;let _0x3f8a7a=_0x3a529b[_0x2b3a96];return _0x3f8a7a;},a122_0x2b3a(_0x2ea613,_0x28942b);}const path=require(a122_0x7dfc10(0x1c1)),util=require(a122_0x7dfc10(0x1a3)),{importFileFromPWCore}=require(a122_0x7dfc10(0x1b4)),helper=require(a122_0x7dfc10(0x1b4)),logger=require('./logger')[a122_0x7dfc10(0x20e)],W3CMapping=require('./w3cMapping')[a122_0x7dfc10(0x203)](),constants=require(a122_0x7dfc10(0x1e4)),BrowserstackCLI=require(a122_0x7dfc10(0x21a)),CLIUtils=require(a122_0x7dfc10(0x1a4));function a122_0x3a52(){const _0x1095fb=['NLLoZ','workers','3731763Hgjree','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','YjJpb','W3CMapping','kkovE','capabilities','getPlaywrightConfig','setFrameworkDetail','getBuildProductMap','PmRAk','browserstack.testhubBuildUuid','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','53015uVnTbn','browserstack.accessibilityOptions.scannerProcessingTimeout','winstonLogger','config','chrome','4isSIDX','debug','5881350msulWj','error','generatePlaywrightUrl','bstack:options','./testhub/utils','client','browserstack.accessibilityOptions.scannerVersion','../bin/v2/browserstackCLI','\x20flow','getConfig','Playwright\x20not\x20available:\x20','browser','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','util','../bin/v2/cliUtils','use','277195bCLuWO','jhfEf','setBrowserstackConfig','1150688HEaroi','vPtvd','configPath','KadZh','message','\x20for\x20','fkTQW','BS_A11Y_JWT','klFEn','parse','BROWSERSTACK_TESTHUB_UUID','./helper','BiSDi','SICni','rqqJC','FRAMEWORKS','stringify','1146045YGnERM','lib','hXjbt','uCjZr','__launchCaps','Received\x20modified\x20config\x20from\x20gRPC:\x20','length','path','Error\x20getting\x20Playwright\x20BrowserType:\x20','bootstrap','gzuRO','getBrowserFromCaps','projects','Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20','No\x20modified\x20config\x20received\x20from\x20gRPC','browserstack.accessibilityOptions.wcagVersion','exports','checkPwandBootstrapCli','fiTpa','AJSfJ','entries','YWMXS','1209645sHoZCM','txBaY','format','dZrLh','BROWSERSTACK_PRODUCT_MAP','platformCaps','getModifiedConfigFromCLI','getPlaywrightModulePath','importFileFromPWCore','TNPoJ','vxMvX','pfxCR','browserType.js','CoAib','browserstack.accessibilityOptions.authToken','join','BBHID','getInstance','Could\x20not\x20import\x20GrpcClient:\x20','sgUrD','../bin/utils/constants','Mbprm','UwhBE','browserstack.buildProductMap','__accessibilityOptions','__platformCaps','framework','cliConfig','NRDGr','getPlaywrightUrl','jKpof','PLAYWRIGHT','UIqEp','env','yXmDe','78LEZscD','16CGMYbZ','TfyEh','GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request','isPlaywrightAvailable','mWoJP','lfvLG','isArray','getPlaywrightBrowserType','CIvmc','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20'];a122_0x3a52=function(){return _0x1095fb;};return a122_0x3a52();}let GrpcClient;try{GrpcClient=require('../bin/v2/grpcClient');}catch(a122_0x1e135a){logger['debug'](a122_0x7dfc10(0x1e2)+a122_0x1e135a[a122_0x7dfc10(0x1ad)]),GrpcClient=null;}const convertW3CToJsonWire=_0x4063ae=>{const _0x4796bc=a122_0x7dfc10,_0x457532={};_0x457532['vxMvX']=function(_0x1971e5,_0x3bc4a1){return _0x1971e5||_0x3bc4a1;},_0x457532[_0x4796bc(0x1d9)]=function(_0x234152,_0x26101b){return _0x234152===_0x26101b;},_0x457532[_0x4796bc(0x1cf)]=_0x4796bc(0x216),_0x457532[_0x4796bc(0x1f0)]=function(_0x6c43d7,_0x4c12f5){return _0x6c43d7===_0x4c12f5;},_0x457532[_0x4796bc(0x209)]=function(_0x37d7a8,_0x26cbe1){return _0x37d7a8 in _0x26cbe1;};const _0x5b9d0e=_0x457532,_0x2f8d29={};for(const [_0x324f8b,_0x198db3]of Object[_0x4796bc(0x1ce)](_0x5b9d0e[_0x4796bc(0x1da)](_0x4063ae,{}))){if(_0x5b9d0e[_0x4796bc(0x1d9)](_0x324f8b,_0x5b9d0e['YWMXS']))continue;let _0x54a7a3=![];for(const [_0x396c9e,_0x52249f]of Object[_0x4796bc(0x1ce)](W3CMapping)){if(_0x5b9d0e['UIqEp'](_0x324f8b,_0x52249f)){_0x2f8d29[_0x396c9e]=_0x198db3,_0x54a7a3=!![];break;}}!_0x54a7a3&&(_0x2f8d29[_0x324f8b]=_0x198db3);}const _0x10c44a=_0x4063ae[_0x5b9d0e[_0x4796bc(0x1cf)]]||{};for(const [_0x154726,_0x1207d8]of Object['entries'](_0x10c44a)){let _0x6e8a50=![];for(const [_0xf6ba52,_0x3d54a5]of Object[_0x4796bc(0x1ce)](W3CMapping)){if(_0x5b9d0e['TNPoJ'](_0x154726,_0x3d54a5)){_0x2f8d29[_0xf6ba52]=_0x1207d8,_0x6e8a50=!![];break;}}!_0x6e8a50&&!_0x5b9d0e['PmRAk'](_0x154726,_0x2f8d29)&&(_0x2f8d29[_0x154726]=_0x1207d8);}return logger[_0x4796bc(0x212)](_0x4796bc(0x1fd)+JSON[_0x4796bc(0x1b9)](_0x2f8d29)),_0x2f8d29;},getModifiedConfigFromCLI=async _0x2df92f=>{const _0x2b5847=a122_0x7dfc10,_0x512a78={};_0x512a78[_0x2b5847(0x1cc)]=_0x2b5847(0x1f6),_0x512a78[_0x2b5847(0x1d3)]='cucumberjs-pw',_0x512a78[_0x2b5847(0x1e6)]=_0x2b5847(0x1a2),_0x512a78[_0x2b5847(0x1af)]=_0x2b5847(0x1c8),_0x512a78['Mbprm']=function(_0x378dca,_0x29ec75){return _0x378dca>_0x29ec75;},_0x512a78[_0x2b5847(0x1f9)]='No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response';const _0x3c26b5=_0x512a78;try{if(!GrpcClient)return logger[_0x2b5847(0x212)](_0x3c26b5[_0x2b5847(0x1cc)]),null;const _0x3aeb43={};_0x3aeb43['capabilities']=_0x2df92f,_0x3aeb43[_0x2b5847(0x1ea)]=_0x3c26b5[_0x2b5847(0x1d3)],_0x3aeb43[_0x2b5847(0x1ff)]=0x1,_0x3aeb43['projects']=[];const _0x3a8f59=_0x3aeb43;logger[_0x2b5847(0x212)](_0x3c26b5[_0x2b5847(0x1e6)]);const _0x71a505={};_0x71a505['playwrightConfigObject']=_0x3a8f59;const _0x5be730=await GrpcClient[_0x2b5847(0x1e1)]()[_0x2b5847(0x206)](_0x71a505);if(!_0x5be730[_0x2b5847(0x21c)]())return logger[_0x2b5847(0x212)](_0x3c26b5[_0x2b5847(0x1af)]),null;const _0x243fbc=JSON[_0x2b5847(0x1b2)](_0x5be730['getConfig']());logger['debug'](_0x2b5847(0x1bf)+JSON[_0x2b5847(0x1b9)](_0x243fbc));if(_0x243fbc[_0x2b5847(0x205)]&&Array[_0x2b5847(0x1fa)](_0x243fbc[_0x2b5847(0x205)])&&_0x3c26b5[_0x2b5847(0x1e5)](_0x243fbc[_0x2b5847(0x205)][_0x2b5847(0x1c0)],0x0))return _0x243fbc['capabilities'][0x0];else{if(_0x243fbc[_0x2b5847(0x1c6)]&&Array['isArray'](_0x243fbc['projects'])&&_0x3c26b5[_0x2b5847(0x1e5)](_0x243fbc[_0x2b5847(0x1c6)][_0x2b5847(0x1c0)],0x0)){const _0x4e86b8=_0x243fbc[_0x2b5847(0x1c6)][0x0];if(_0x4e86b8[_0x2b5847(0x1a5)]&&_0x4e86b8[_0x2b5847(0x1a5)]['platformCaps'])return _0x4e86b8[_0x2b5847(0x1a5)][_0x2b5847(0x1d5)];}}return logger[_0x2b5847(0x212)](_0x3c26b5[_0x2b5847(0x1f9)]),null;}catch(_0x2a4fa4){logger[_0x2b5847(0x214)](_0x2b5847(0x20b)+_0x2a4fa4[_0x2b5847(0x1ad)]);throw _0x2a4fa4;}},generatePlaywrightUrl=(_0x4cde49,_0x1d59d8)=>{const _0x25a92f=a122_0x7dfc10,_0x1bef7b={'CoAib':function(_0x158ef8,_0x223a94){return _0x158ef8!==_0x223a94;},'oVENa':function(_0x4551a0,_0x1c48ef){return _0x4551a0!==_0x1c48ef;},'kkovE':function(_0x2585db,_0x54ff79){return _0x2585db!==_0x54ff79;},'uCjZr':function(_0x7d08f7,_0x352c5f){return _0x7d08f7!==_0x352c5f;},'NLLoZ':function(_0x52256a,_0x802ffc){return _0x52256a(_0x802ffc);},'BiSDi':function(_0x34652b,_0x3234ec){return _0x34652b||_0x3234ec;},'klFEn':function(_0x157e5d,_0xc0b2c0){return _0x157e5d(_0xc0b2c0);},'mWoJP':_0x25a92f(0x1de),'YjJpb':_0x25a92f(0x1c9),'CIvmc':_0x25a92f(0x219),'sgUrD':_0x25a92f(0x20d),'gzuRO':_0x25a92f(0x20a),'yXmDe':_0x25a92f(0x1e7),'vPtvd':function(_0xd7862d,_0x1753f6){return _0xd7862d+_0x1753f6;}},_0x558e04=helper[_0x25a92f(0x1ed)](_0x4cde49),_0x5b2459=_0x1bef7b[_0x25a92f(0x1fe)](convertW3CToJsonWire,_0x1d59d8);try{const _0x583028=[_0x1bef7b[_0x25a92f(0x1b5)](_0x1d59d8,{}),global[_0x25a92f(0x1be)]||{},global[_0x25a92f(0x1e9)]||{},global[_0x25a92f(0x1e8)]||{}],_0x1c93b6=_0xe83def=>{const _0x2e95d5=_0x25a92f;if(_0x1bef7b[_0x2e95d5(0x1dd)](_0x5b2459[_0xe83def],undefined)&&_0x1bef7b['oVENa'](_0x5b2459[_0xe83def],null)&&_0x1bef7b[_0x2e95d5(0x204)](_0x5b2459[_0xe83def],''))return;for(const _0x2486f1 of _0x583028){if(_0x2486f1&&_0x1bef7b['CoAib'](_0x2486f1[_0xe83def],undefined)&&_0x1bef7b[_0x2e95d5(0x1dd)](_0x2486f1[_0xe83def],null)&&_0x1bef7b[_0x2e95d5(0x1bd)](_0x2486f1[_0xe83def],'')){_0x5b2459[_0xe83def]=_0x2486f1[_0xe83def];return;}}};_0x1bef7b[_0x25a92f(0x1b1)](_0x1c93b6,_0x1bef7b[_0x25a92f(0x1f8)]),_0x1bef7b[_0x25a92f(0x1b1)](_0x1c93b6,_0x1bef7b[_0x25a92f(0x202)]),_0x1bef7b[_0x25a92f(0x1b1)](_0x1c93b6,_0x1bef7b[_0x25a92f(0x1fc)]),_0x1bef7b[_0x25a92f(0x1fe)](_0x1c93b6,_0x1bef7b[_0x25a92f(0x1e3)]),!_0x5b2459[_0x1bef7b['mWoJP']]&&process[_0x25a92f(0x1f1)][_0x25a92f(0x1b0)]&&(_0x5b2459[_0x1bef7b['mWoJP']]=process[_0x25a92f(0x1f1)][_0x25a92f(0x1b0)]);}catch(_0x2f7854){logger[_0x25a92f(0x212)](_0x25a92f(0x1c7)+util[_0x25a92f(0x1d2)](_0x2f7854));}return _0x5b2459[_0x1bef7b[_0x25a92f(0x1c4)]]=process[_0x25a92f(0x1f1)][_0x25a92f(0x1b3)],_0x5b2459[_0x1bef7b[_0x25a92f(0x1f2)]]=helper[_0x25a92f(0x208)](),_0x1bef7b[_0x25a92f(0x1aa)](_0x558e04,_0x1bef7b[_0x25a92f(0x1fe)](encodeURIComponent,JSON[_0x25a92f(0x1b9)](_0x5b2459)));},getBrowserFromCaps=_0x254e5f=>{const _0x456848=a122_0x7dfc10,_0x515fdd={};_0x515fdd[_0x456848(0x1ee)]=_0x456848(0x210);const _0x1edff6=_0x515fdd;return _0x254e5f['browserName']||_0x254e5f[_0x456848(0x1a1)]||_0x1edff6[_0x456848(0x1ee)];},isPlaywrightAvailable=()=>{const _0x153261=a122_0x7dfc10,_0x3ee834={'pfxCR':_0x153261(0x1bb),'hXjbt':_0x153261(0x218),'AJSfJ':_0x153261(0x1dc),'TfyEh':function(_0x462bf3,_0x1e363b){return _0x462bf3(_0x1e363b);}};try{const _0x4371a8=path[_0x153261(0x1df)](_0x3ee834[_0x153261(0x1db)],_0x3ee834[_0x153261(0x1bc)],_0x3ee834[_0x153261(0x1cd)]),_0x537185=_0x3ee834[_0x153261(0x1f5)](importFileFromPWCore,_0x4371a8);return!!_0x537185;}catch(_0x3f0b35){return logger[_0x153261(0x212)](_0x153261(0x1a0)+util['format'](_0x3f0b35)),![];}},getPlaywrightBrowserType=()=>{const _0x2fe6c6=a122_0x7dfc10,_0x29ac5d={'NRDGr':'lib','BBHID':_0x2fe6c6(0x218),'rqqJC':_0x2fe6c6(0x1dc),'jhfEf':function(_0x594f3b,_0x142403){return _0x594f3b(_0x142403);}};try{const _0x13d25a=path['join'](_0x29ac5d[_0x2fe6c6(0x1ec)],_0x29ac5d[_0x2fe6c6(0x1e0)],_0x29ac5d[_0x2fe6c6(0x1b7)]),_0x4e8a16=_0x29ac5d[_0x2fe6c6(0x1a7)](importFileFromPWCore,_0x13d25a);return _0x4e8a16?_0x4e8a16['BrowserType']:null;}catch(_0x43041e){return logger[_0x2fe6c6(0x212)](_0x2fe6c6(0x1c2)+util[_0x2fe6c6(0x1d2)](_0x43041e)),null;}},getPlaywrightModulePath=()=>{const _0xa8a47b=a122_0x7dfc10,_0x2af629={};_0x2af629[_0xa8a47b(0x1b6)]=_0xa8a47b(0x201);const _0x425989=_0x2af629;return logger[_0xa8a47b(0x212)](_0x425989[_0xa8a47b(0x1b6)]),null;},getBrowserTypePath=()=>{const _0x362d17=a122_0x7dfc10,_0x310803={};_0x310803[_0x362d17(0x1ac)]='getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead';const _0x12e0b6=_0x310803;return logger[_0x362d17(0x212)](_0x12e0b6[_0x362d17(0x1ac)]),null;},checkPwandBootstrapCli=async(_0x5e4777,_0x5cf475,_0x572899)=>{const _0x452351=a122_0x7dfc10,_0xbc8093={'txBaY':function(_0x51e518,_0x1cf7a5){return _0x51e518(_0x1cf7a5);},'qhzKc':_0x452351(0x217)};if(_0x5e4777){const _0x2fbccd=constants[_0x452351(0x1b8)][_0x452351(0x1ef)];logger[_0x452351(0x212)]('Detected\x20Playwright\x20version\x20'+_0x5e4777+_0x452351(0x1ae)+_0x5cf475+_0x452351(0x21b)),CLIUtils[_0x452351(0x207)](_0x5cf475,_0x2fbccd);const {getProductMap:_0x51375d}=_0xbc8093[_0x452351(0x1d1)](require,_0xbc8093['qhzKc']);process[_0x452351(0x1f1)][_0x452351(0x1d4)]=JSON['stringify'](_0xbc8093['txBaY'](_0x51375d,_0x572899[_0x452351(0x20f)])),BrowserstackCLI[_0x452351(0x1e1)]()[_0x452351(0x1a8)](_0x572899[_0x452351(0x20f)],_0x572899[_0x452351(0x1ab)],_0x572899[_0x452351(0x1eb)]),await BrowserstackCLI[_0x452351(0x1e1)]()[_0x452351(0x1c3)]();}},a122_0x53197e={};a122_0x53197e['convertW3CToJsonWire']=convertW3CToJsonWire,a122_0x53197e[a122_0x7dfc10(0x1d6)]=getModifiedConfigFromCLI,a122_0x53197e[a122_0x7dfc10(0x215)]=generatePlaywrightUrl,a122_0x53197e[a122_0x7dfc10(0x1c5)]=getBrowserFromCaps,a122_0x53197e[a122_0x7dfc10(0x1f7)]=isPlaywrightAvailable,a122_0x53197e[a122_0x7dfc10(0x1fb)]=getPlaywrightBrowserType,a122_0x53197e[a122_0x7dfc10(0x1d7)]=getPlaywrightModulePath,a122_0x53197e['getBrowserTypePath']=getBrowserTypePath,a122_0x53197e[a122_0x7dfc10(0x1d8)]=importFileFromPWCore,a122_0x53197e[a122_0x7dfc10(0x1cb)]=checkPwandBootstrapCli,module[a122_0x7dfc10(0x1ca)]=a122_0x53197e;
@@ -1 +1 @@
1
- const a123_0x221a42=a123_0x42ba;(function(_0x54cc46,_0xd4bb1d){const _0x54f254=a123_0x42ba,_0xc02b1e=_0x54cc46();while(!![]){try{const _0x454da9=parseInt(_0x54f254(0x20b))/0x1+-parseInt(_0x54f254(0x202))/0x2*(parseInt(_0x54f254(0x204))/0x3)+-parseInt(_0x54f254(0x1fb))/0x4*(parseInt(_0x54f254(0x1f8))/0x5)+parseInt(_0x54f254(0x1fc))/0x6+parseInt(_0x54f254(0x1fe))/0x7+parseInt(_0x54f254(0x208))/0x8*(parseInt(_0x54f254(0x20f))/0x9)+-parseInt(_0x54f254(0x1f6))/0xa;if(_0x454da9===_0xd4bb1d)break;else _0xc02b1e['push'](_0xc02b1e['shift']());}catch(_0x2575b5){_0xc02b1e['push'](_0xc02b1e['shift']());}}}(a123_0x1963,0x37783));function a123_0x1963(){const _0x470346=['getTestName','24imCEZn','BROWSERSTACK_TEST_REPORTING_DEBUG','./logger','350066FHYhry','pid','][\x20','kdfSH','463338AnYCpm','\x20]\x20','debug','toISOString','5196820pNEcVQ','GzTkw','10bthdmo','../bin/utils/constants','browserstackTestName','384068RQeajT','2455038Wzczxc','getGlobal','2565570sUKzDN','env','./test-observability/constants','TEST_REPORTING_ANALYTICS','8Mzaisl','BROWSERSTACK_OBSERVABILITY_DEBUG','255957iEXpmO','./globals','rFbdn'];a123_0x1963=function(){return _0x470346;};return a123_0x1963();}const worker=require('worker_threads'),{fileLogger}=require(a123_0x221a42(0x20a)),{consoleHolder}=require(a123_0x221a42(0x200)),globals=require(a123_0x221a42(0x205)),constants=require(a123_0x221a42(0x1f9));function a123_0x42ba(_0x59da6c,_0x387d94){const _0x196389=a123_0x1963();return a123_0x42ba=function(_0x42ba25,_0x4e9cc6){_0x42ba25=_0x42ba25-0x1f3;let _0xdbeafd=_0x196389[_0x42ba25];return _0xdbeafd;},a123_0x42ba(_0x59da6c,_0x387d94);}exports['getProcessId']=()=>{const _0x192d0e=a123_0x221a42;return process[_0x192d0e(0x20c)]+'-'+worker['threadId'];},exports[a123_0x221a42(0x207)]=()=>{const _0x552b1a=a123_0x221a42,_0x962af4={};_0x962af4['rFbdn']=_0x552b1a(0x1fa);const _0xa317=_0x962af4;return globals[_0x552b1a(0x1fd)](_0xa317[_0x552b1a(0x206)]);},exports['sleep']=(_0x308470=0x64)=>new Promise(_0x3bb02a=>setTimeout(_0x3bb02a,_0x308470)),exports[a123_0x221a42(0x1f4)]=_0x3f00d0=>{const _0x1bbf07=a123_0x221a42,_0x5bcb11={};_0x5bcb11['EnqGV']=function(_0x17e6b1,_0x496af6){return _0x17e6b1===_0x496af6;},_0x5bcb11[_0x1bbf07(0x20e)]='true',_0x5bcb11[_0x1bbf07(0x1f7)]=function(_0x3f0bcf,_0x328236){return _0x3f0bcf===_0x328236;};const _0x7f3f43=_0x5bcb11;fileLogger[_0x1bbf07(0x1f4)]('['+new Date()[_0x1bbf07(0x1f5)]()+_0x1bbf07(0x20d)+constants[_0x1bbf07(0x201)]+_0x1bbf07(0x1f3)+_0x3f00d0),(_0x7f3f43['EnqGV'](process[_0x1bbf07(0x1ff)]['BROWSERSTACK_TEST_REPORTING_DEBUG'],_0x7f3f43[_0x1bbf07(0x20e)])||_0x7f3f43['GzTkw'](process[_0x1bbf07(0x1ff)][_0x1bbf07(0x209)],'1')||_0x7f3f43['GzTkw'](process[_0x1bbf07(0x1ff)][_0x1bbf07(0x203)],_0x7f3f43['kdfSH'])||_0x7f3f43[_0x1bbf07(0x1f7)](process[_0x1bbf07(0x1ff)][_0x1bbf07(0x203)],'1'))&&consoleHolder['log']('\x0a['+new Date()[_0x1bbf07(0x1f5)]()+_0x1bbf07(0x20d)+constants[_0x1bbf07(0x201)]+_0x1bbf07(0x1f3)+_0x3f00d0+'\x0a');};
1
+ const a123_0x4b221d=a123_0x2556;function a123_0x2556(_0x474d76,_0x3db9c8){const _0x39068a=a123_0x3906();return a123_0x2556=function(_0x25567f,_0x59c3fc){_0x25567f=_0x25567f-0x8d;let _0xfce045=_0x39068a[_0x25567f];return _0xfce045;},a123_0x2556(_0x474d76,_0x3db9c8);}(function(_0x5e31dc,_0x3d59eb){const _0x3de7da=a123_0x2556,_0x591223=_0x5e31dc();while(!![]){try{const _0xd3c755=-parseInt(_0x3de7da(0xa5))/0x1*(parseInt(_0x3de7da(0x9c))/0x2)+-parseInt(_0x3de7da(0x93))/0x3*(-parseInt(_0x3de7da(0x8e))/0x4)+-parseInt(_0x3de7da(0x95))/0x5*(parseInt(_0x3de7da(0xa2))/0x6)+parseInt(_0x3de7da(0xa9))/0x7+-parseInt(_0x3de7da(0x9b))/0x8*(parseInt(_0x3de7da(0x9f))/0x9)+parseInt(_0x3de7da(0x92))/0xa+parseInt(_0x3de7da(0x98))/0xb*(-parseInt(_0x3de7da(0x8d))/0xc);if(_0xd3c755===_0x3d59eb)break;else _0x591223['push'](_0x591223['shift']());}catch(_0x1f3022){_0x591223['push'](_0x591223['shift']());}}}(a123_0x3906,0xc970b));const worker=require(a123_0x4b221d(0x9e)),{fileLogger}=require(a123_0x4b221d(0xab)),{consoleHolder}=require(a123_0x4b221d(0xa6)),globals=require('./globals'),constants=require('../bin/utils/constants');exports['getProcessId']=()=>{const _0x386780=a123_0x4b221d;return process[_0x386780(0xa3)]+'-'+worker[_0x386780(0x90)];},exports[a123_0x4b221d(0xa8)]=()=>{const _0x5ec2b3=a123_0x4b221d,_0x7972a7={};_0x7972a7[_0x5ec2b3(0xa1)]='browserstackTestName';const _0x8093b3=_0x7972a7;return globals['getGlobal'](_0x8093b3[_0x5ec2b3(0xa1)]);},exports['sleep']=(_0x8af526=0x64)=>new Promise(_0x41658b=>setTimeout(_0x41658b,_0x8af526)),exports['debug']=_0x2a8e2c=>{const _0x3dc355=a123_0x4b221d,_0x47226f={};_0x47226f['MuLab']=function(_0x5d8dcb,_0x49f239){return _0x5d8dcb===_0x49f239;},_0x47226f[_0x3dc355(0xa7)]=_0x3dc355(0x97),_0x47226f[_0x3dc355(0x8f)]=function(_0x59e61a,_0xcd1d5b){return _0x59e61a===_0xcd1d5b;};const _0x22cc4c=_0x47226f;fileLogger[_0x3dc355(0x96)]('['+new Date()[_0x3dc355(0x99)]()+_0x3dc355(0x9a)+constants[_0x3dc355(0x94)]+_0x3dc355(0x9d)+_0x2a8e2c),(_0x22cc4c['MuLab'](process[_0x3dc355(0xa0)][_0x3dc355(0xaa)],_0x22cc4c[_0x3dc355(0xa7)])||_0x22cc4c[_0x3dc355(0x8f)](process[_0x3dc355(0xa0)]['BROWSERSTACK_TEST_REPORTING_DEBUG'],'1')||_0x22cc4c[_0x3dc355(0x8f)](process[_0x3dc355(0xa0)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],_0x22cc4c[_0x3dc355(0xa7)])||_0x22cc4c[_0x3dc355(0x91)](process[_0x3dc355(0xa0)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],'1'))&&consoleHolder[_0x3dc355(0xa4)]('\x0a['+new Date()[_0x3dc355(0x99)]()+_0x3dc355(0x9a)+constants[_0x3dc355(0x94)]+_0x3dc355(0x9d)+_0x2a8e2c+'\x0a');};function a123_0x3906(){const _0x3fd4a2=['10120eJjdBE','debug','true','33NoUclC','toISOString','][\x20','14752PepLUh','438MqJGCn','\x20]\x20','worker_threads','90YsXMLC','env','xIrzT','786ziLzhT','pid','log','3531uqpiJR','./test-observability/constants','CYGgZ','getTestName','6030416DPpjAi','BROWSERSTACK_TEST_REPORTING_DEBUG','./logger','4061652QIzncN','36896tUcnIH','ZjAPO','threadId','MuLab','12703050SDnNLK','249WsGOLc','TEST_REPORTING_ANALYTICS'];a123_0x3906=function(){return _0x3fd4a2;};return a123_0x3906();}
@@ -1 +1 @@
1
- const a124_0x581c70=a124_0x4344;(function(_0x1e3cb2,_0x43c56e){const _0x415bb1=a124_0x4344,_0x23bcbc=_0x1e3cb2();while(!![]){try{const _0xa93706=-parseInt(_0x415bb1(0x136))/0x1+-parseInt(_0x415bb1(0x13b))/0x2+-parseInt(_0x415bb1(0x161))/0x3+parseInt(_0x415bb1(0x14e))/0x4+parseInt(_0x415bb1(0x156))/0x5+parseInt(_0x415bb1(0x14b))/0x6*(parseInt(_0x415bb1(0x142))/0x7)+parseInt(_0x415bb1(0x15d))/0x8;if(_0xa93706===_0x43c56e)break;else _0x23bcbc['push'](_0x23bcbc['shift']());}catch(_0x3f450f){_0x23bcbc['push'](_0x23bcbc['shift']());}}}(a124_0x35ac,0xdc6c2));const http=require(a124_0x581c70(0x15a)),https=require(a124_0x581c70(0x13c)),monkeypatch=require(a124_0x581c70(0x12e));function a124_0x35ac(){const _0x463136=['tpjmE','YwjJT','1510179rUrpCt','now','request','frkYU','vpIvI','monkeypatch','object','dHXlj','method','pathname','path','hostname','kXhEb','1009394jbuQqw','aSDmE','socket','wYYZB','VPOom','1040860BhcSVZ','https','duration_ms','mqpTo','SpCgj','prototype','lCOvB','115577dYLyyN','error','UGTEo','removeListener','apply','caMSv','status_code','response','ZEbRB','66khXXYx','assign','once','7206224OHRgrb','xuibm','cQOBW','headers','forEach','NXdxr','url','slice','3066610kBNWVY','host','spy','unpatch','http','end','yaUfK','2716544imPqHu','exports'];a124_0x35ac=function(){return _0x463136;};return a124_0x35ac();}function spy(_0x44777f){const _0x5e94df=a124_0x581c70,_0xb926cd={'cQOBW':_0x5e94df(0x143),'yaUfK':function(_0x16a730,_0x4a4944){return _0x16a730 instanceof _0x4a4944;},'mqpTo':function(_0x17b6ad,_0x28d683){return _0x17b6ad===_0x28d683;},'lCOvB':_0x5e94df(0x12f),'UGTEo':function(_0x406f5d,_0x5a3c14,_0x5e0a51){return _0x406f5d(_0x5a3c14,_0x5e0a51);},'VPOom':function(_0x11d7ab,_0x69ea1d){return _0x11d7ab-_0x69ea1d;},'xuibm':function(_0x52b9cd,..._0x1a6ade){return _0x52b9cd(..._0x1a6ade);},'YwjJT':_0x5e94df(0x149),'wYYZB':_0x5e94df(0x138),'SpCgj':function(_0x562b53,_0x43c56d,_0x1cf8ca,_0x569ef3){return _0x562b53(_0x43c56d,_0x1cf8ca,_0x569ef3);},'vpIvI':_0x5e94df(0x15b),'tpjmE':'request','dHXlj':function(_0x2b11f1,_0x8112fd,_0x1fb4f3,_0x1e0cfb){return _0x2b11f1(_0x8112fd,_0x1fb4f3,_0x1e0cfb);}},_0x57efd3=function(){const _0x21c987=_0x5e94df,_0x5189a8={'aSDmE':function(_0x2bea88,_0x25131b){const _0x412f74=a124_0x4344;return _0xb926cd[_0x412f74(0x15c)](_0x2bea88,_0x25131b);},'frkYU':function(_0x49abd5,_0x26b296){const _0x4daa5e=a124_0x4344;return _0xb926cd[_0x4daa5e(0x13e)](_0x49abd5,_0x26b296);},'kXhEb':_0xb926cd[_0x21c987(0x141)],'CSbpV':function(_0x40a93d,_0x312987,_0x67c68a){return _0xb926cd['UGTEo'](_0x40a93d,_0x312987,_0x67c68a);},'NXdxr':function(_0x46d486,_0x4e6fed){const _0x3dfc67=_0x21c987;return _0xb926cd[_0x3dfc67(0x13a)](_0x46d486,_0x4e6fed);},'ZEbRB':function(_0x415c22,_0x5e7c01,_0x2a0ce7){const _0x199c4a=_0x21c987;return _0xb926cd[_0x199c4a(0x144)](_0x415c22,_0x5e7c01,_0x2a0ce7);},'caMSv':_0xb926cd['cQOBW'],'Yakdv':function(_0x380e97,..._0x22cd55){const _0xfffd5f=_0x21c987;return _0xb926cd[_0xfffd5f(0x14f)](_0x380e97,..._0x22cd55);}},_0x4e77aa=arguments[0x0],_0x31ab4f=Array[_0x21c987(0x140)][_0x21c987(0x155)]['call'](arguments,0x1),_0x54031d=_0x4e77aa[_0x21c987(0x146)](this,_0x31ab4f);let _0x4477dc=Date[_0x21c987(0x12a)](),_0x285b1b;const _0x19983e={};_0x31ab4f[_0x21c987(0x152)](_0x383aa2=>{const _0x4bbbf7=_0x21c987;if(_0x5189a8[_0x4bbbf7(0x137)](_0x383aa2,URL)){const _0x417c12={};_0x417c12[_0x4bbbf7(0x154)]=_0x383aa2,Object['assign'](_0x19983e,_0x417c12);}else _0x5189a8[_0x4bbbf7(0x12c)](typeof _0x383aa2,_0x5189a8[_0x4bbbf7(0x135)])&&Object[_0x4bbbf7(0x14c)](_0x19983e,_0x383aa2);});const _0x416e2e=_0x16a626=>{const _0x43502c=_0x21c987,_0x53bacf={};_0x53bacf[_0x43502c(0x157)]=_0x19983e[_0x43502c(0x157)]||_0x19983e[_0x43502c(0x134)]||_0x19983e[_0x43502c(0x154)]&&(_0x19983e[_0x43502c(0x154)][_0x43502c(0x157)]||_0x19983e[_0x43502c(0x154)][_0x43502c(0x134)]),_0x53bacf[_0x43502c(0x133)]=_0x19983e[_0x43502c(0x133)]||_0x19983e[_0x43502c(0x154)]&&_0x19983e[_0x43502c(0x154)][_0x43502c(0x132)],_0x53bacf['method']=_0x19983e['method'],_0x53bacf['headers']=_0x19983e[_0x43502c(0x151)],_0x5189a8['CSbpV'](_0x44777f,_0x16a626,_0x53bacf);};return _0x54031d[_0x21c987(0x14d)](_0xb926cd[_0x21c987(0x160)],_0x2610dc=>{const _0x55833a=_0x21c987,_0x57777d=_0x5189a8[_0x55833a(0x153)](Date[_0x55833a(0x12a)](),_0x4477dc),_0x25a8c4={};_0x25a8c4[_0x55833a(0x134)]=_0x19983e[_0x55833a(0x157)]||_0x19983e[_0x55833a(0x134)]||_0x19983e[_0x55833a(0x154)]&&(_0x19983e[_0x55833a(0x154)]['host']||_0x19983e[_0x55833a(0x154)]['hostname']),_0x25a8c4[_0x55833a(0x133)]=_0x19983e['path']||_0x19983e['url']&&_0x19983e[_0x55833a(0x154)]['pathname'],_0x25a8c4[_0x55833a(0x131)]=_0x19983e[_0x55833a(0x131)],_0x25a8c4[_0x55833a(0x151)]=_0x19983e['headers'],_0x25a8c4[_0x55833a(0x148)]=_0x2610dc['statusCode'],_0x25a8c4[_0x55833a(0x13d)]=_0x57777d,_0x5189a8[_0x55833a(0x14a)](_0x44777f,null,_0x25a8c4),_0x285b1b[_0x55833a(0x145)](_0x5189a8[_0x55833a(0x147)],_0x416e2e);}),_0x54031d['on'](_0xb926cd[_0x21c987(0x139)],_0x258309=>{const _0x433d7d=_0x21c987;_0x285b1b=_0x258309,_0x258309[_0x433d7d(0x14d)](_0xb926cd[_0x433d7d(0x150)],_0x416e2e);}),_0xb926cd[_0x21c987(0x13f)](monkeypatch,_0x54031d,_0xb926cd[_0x21c987(0x12d)],(_0x2dcaeb,..._0xf776b2)=>{const _0x52df5e=_0x21c987;_0x4477dc=Date[_0x52df5e(0x12a)](),_0x5189a8['Yakdv'](_0x2dcaeb,..._0xf776b2);}),_0x54031d;};_0xb926cd[_0x5e94df(0x13f)](monkeypatch,http,_0xb926cd[_0x5e94df(0x15f)],_0x57efd3),_0xb926cd[_0x5e94df(0x130)](monkeypatch,https,_0xb926cd[_0x5e94df(0x15f)],_0x57efd3);}function restore(){const _0x2026e7=a124_0x581c70;http[_0x2026e7(0x12b)][_0x2026e7(0x159)](),https['request'][_0x2026e7(0x159)]();}function a124_0x4344(_0x5f25e6,_0x5ad78a){const _0x35acb0=a124_0x35ac();return a124_0x4344=function(_0x43445e,_0x9edce2){_0x43445e=_0x43445e-0x12a;let _0x6156ee=_0x35acb0[_0x43445e];return _0x6156ee;},a124_0x4344(_0x5f25e6,_0x5ad78a);}const a124_0x331f32={};a124_0x331f32[a124_0x581c70(0x158)]=spy,a124_0x331f32['restore']=restore,module[a124_0x581c70(0x15e)]=a124_0x331f32;
1
+ const a124_0x4c4b8e=a124_0x526a;(function(_0x2965aa,_0x1cb24e){const _0x1da2fa=a124_0x526a,_0x110699=_0x2965aa();while(!![]){try{const _0x3c1f5f=parseInt(_0x1da2fa(0x1df))/0x1*(-parseInt(_0x1da2fa(0x1d6))/0x2)+-parseInt(_0x1da2fa(0x1ce))/0x3*(parseInt(_0x1da2fa(0x1bf))/0x4)+parseInt(_0x1da2fa(0x1d7))/0x5*(parseInt(_0x1da2fa(0x1b7))/0x6)+-parseInt(_0x1da2fa(0x1b6))/0x7*(parseInt(_0x1da2fa(0x1bb))/0x8)+-parseInt(_0x1da2fa(0x1d3))/0x9+parseInt(_0x1da2fa(0x1b1))/0xa*(-parseInt(_0x1da2fa(0x1c3))/0xb)+parseInt(_0x1da2fa(0x1de))/0xc*(parseInt(_0x1da2fa(0x1b0))/0xd);if(_0x3c1f5f===_0x1cb24e)break;else _0x110699['push'](_0x110699['shift']());}catch(_0x5f1b42){_0x110699['push'](_0x110699['shift']());}}}(a124_0x3779,0x1e422));const http=require(a124_0x4c4b8e(0x1dc)),https=require(a124_0x4c4b8e(0x1d8)),monkeypatch=require('monkeypatch');function a124_0x3779(){const _0xfb53dc=['blbFe','removeListener','Oxcyh','YCKkW','591507tNOFKS','Qfskg','path','73174fvEnqv','1028605weiolY','https','WrBrY','duration_ms','url','http','pathname','780FpAmRs','1dOdMHs','lJGOs','response','status_code','error','lXPEt','host','object','slice','82979CAJxGr','10XYYwPZ','bhSbk','InAOz','socket','restore','413GKNDAY','6WvYFrj','exports','ouVUi','call','3344kkLPaV','now','eUkFq','headers','680672uABKor','unpatch','end','apply','2194918vYELZp','hostname','forEach','XdREW','KrKxf','once','xqvfp','assign','CnmlY','request','method','3sjtKFX'];a124_0x3779=function(){return _0xfb53dc;};return a124_0x3779();}function spy(_0x10af50){const _0x595cd2=a124_0x4c4b8e,_0x3a1814={'eUkFq':function(_0xdad22b,_0xef68f4){return _0xdad22b instanceof _0xef68f4;},'WrBrY':function(_0x287d79,_0x5095f8){return _0x287d79===_0x5095f8;},'mkdRO':_0x595cd2(0x1ae),'RdYrX':function(_0x3cc91d,_0x5add20,_0x1696f7){return _0x3cc91d(_0x5add20,_0x1696f7);},'CnmlY':function(_0x33fff4,_0x7db4c3){return _0x33fff4-_0x7db4c3;},'Oxcyh':function(_0x23526e,_0x37760e,_0x132bba){return _0x23526e(_0x37760e,_0x132bba);},'xqvfp':_0x595cd2(0x1ab),'bhSbk':function(_0x423ec7,..._0x342a10){return _0x423ec7(..._0x342a10);},'lJGOs':_0x595cd2(0x1e1),'YCKkW':_0x595cd2(0x1b4),'XdREW':function(_0x585130,_0x198041,_0x1dcf86,_0x462863){return _0x585130(_0x198041,_0x1dcf86,_0x462863);},'lXPEt':_0x595cd2(0x1c1),'Qfskg':function(_0x854381,_0x4fffac,_0x1c2b7e,_0x4741ef){return _0x854381(_0x4fffac,_0x1c2b7e,_0x4741ef);},'ouVUi':_0x595cd2(0x1cc),'InAOz':function(_0x30cd0b,_0x420ef8,_0x1baf0b,_0x349adc){return _0x30cd0b(_0x420ef8,_0x1baf0b,_0x349adc);}},_0x5e42d6=function(){const _0x27e550=_0x595cd2,_0x96765c={'blbFe':_0x3a1814['xqvfp'],'KrKxf':function(_0x39452b,..._0x3edbf8){const _0x31894a=a124_0x526a;return _0x3a1814[_0x31894a(0x1b2)](_0x39452b,..._0x3edbf8);}},_0x4180c8=arguments[0x0],_0x269cda=Array['prototype'][_0x27e550(0x1af)][_0x27e550(0x1ba)](arguments,0x1),_0x5c3c1f=_0x4180c8[_0x27e550(0x1c2)](this,_0x269cda);let _0x5ecccc=Date[_0x27e550(0x1bc)](),_0x5e023e;const _0xb97a34={};_0x269cda[_0x27e550(0x1c5)](_0x55ebbf=>{const _0x1e8879=_0x27e550;if(_0x3a1814[_0x1e8879(0x1bd)](_0x55ebbf,URL)){const _0x30fae1={};_0x30fae1[_0x1e8879(0x1db)]=_0x55ebbf,Object[_0x1e8879(0x1ca)](_0xb97a34,_0x30fae1);}else _0x3a1814[_0x1e8879(0x1d9)](typeof _0x55ebbf,_0x3a1814['mkdRO'])&&Object[_0x1e8879(0x1ca)](_0xb97a34,_0x55ebbf);});const _0x7fe840=_0x19832e=>{const _0x5505d9=_0x27e550,_0x2cd52e={};_0x2cd52e[_0x5505d9(0x1ad)]=_0xb97a34[_0x5505d9(0x1ad)]||_0xb97a34[_0x5505d9(0x1c4)]||_0xb97a34[_0x5505d9(0x1db)]&&(_0xb97a34[_0x5505d9(0x1db)][_0x5505d9(0x1ad)]||_0xb97a34[_0x5505d9(0x1db)][_0x5505d9(0x1c4)]),_0x2cd52e['path']=_0xb97a34[_0x5505d9(0x1d5)]||_0xb97a34['url']&&_0xb97a34[_0x5505d9(0x1db)][_0x5505d9(0x1dd)],_0x2cd52e[_0x5505d9(0x1cd)]=_0xb97a34[_0x5505d9(0x1cd)],_0x2cd52e[_0x5505d9(0x1be)]=_0xb97a34[_0x5505d9(0x1be)],_0x3a1814['RdYrX'](_0x10af50,_0x19832e,_0x2cd52e);};return _0x5c3c1f[_0x27e550(0x1c8)](_0x3a1814[_0x27e550(0x1e0)],_0x265842=>{const _0x150cf0=_0x27e550,_0x344273=_0x3a1814[_0x150cf0(0x1cb)](Date[_0x150cf0(0x1bc)](),_0x5ecccc),_0x27890a={};_0x27890a[_0x150cf0(0x1c4)]=_0xb97a34[_0x150cf0(0x1ad)]||_0xb97a34[_0x150cf0(0x1c4)]||_0xb97a34[_0x150cf0(0x1db)]&&(_0xb97a34[_0x150cf0(0x1db)][_0x150cf0(0x1ad)]||_0xb97a34[_0x150cf0(0x1db)]['hostname']),_0x27890a[_0x150cf0(0x1d5)]=_0xb97a34[_0x150cf0(0x1d5)]||_0xb97a34['url']&&_0xb97a34['url'][_0x150cf0(0x1dd)],_0x27890a[_0x150cf0(0x1cd)]=_0xb97a34[_0x150cf0(0x1cd)],_0x27890a[_0x150cf0(0x1be)]=_0xb97a34[_0x150cf0(0x1be)],_0x27890a[_0x150cf0(0x1e2)]=_0x265842['statusCode'],_0x27890a[_0x150cf0(0x1da)]=_0x344273,_0x3a1814[_0x150cf0(0x1d1)](_0x10af50,null,_0x27890a),_0x5e023e[_0x150cf0(0x1d0)](_0x3a1814[_0x150cf0(0x1c9)],_0x7fe840);}),_0x5c3c1f['on'](_0x3a1814[_0x27e550(0x1d2)],_0x89996a=>{const _0x30e069=_0x27e550;_0x5e023e=_0x89996a,_0x89996a[_0x30e069(0x1c8)](_0x96765c[_0x30e069(0x1cf)],_0x7fe840);}),_0x3a1814[_0x27e550(0x1c6)](monkeypatch,_0x5c3c1f,_0x3a1814[_0x27e550(0x1ac)],(_0x1d90de,..._0x3d8613)=>{const _0x220611=_0x27e550;_0x5ecccc=Date[_0x220611(0x1bc)](),_0x96765c[_0x220611(0x1c7)](_0x1d90de,..._0x3d8613);}),_0x5c3c1f;};_0x3a1814[_0x595cd2(0x1d4)](monkeypatch,http,_0x3a1814[_0x595cd2(0x1b9)],_0x5e42d6),_0x3a1814[_0x595cd2(0x1b3)](monkeypatch,https,_0x3a1814[_0x595cd2(0x1b9)],_0x5e42d6);}function restore(){const _0x2461af=a124_0x4c4b8e;http[_0x2461af(0x1cc)][_0x2461af(0x1c0)](),https[_0x2461af(0x1cc)]['unpatch']();}function a124_0x526a(_0x2fc2c5,_0xe58a04){const _0x37793b=a124_0x3779();return a124_0x526a=function(_0x526ae1,_0x22f85c){_0x526ae1=_0x526ae1-0x1ab;let _0x497f25=_0x37793b[_0x526ae1];return _0x497f25;},a124_0x526a(_0x2fc2c5,_0xe58a04);}const a124_0x192b6={};a124_0x192b6['spy']=spy,a124_0x192b6[a124_0x4c4b8e(0x1b5)]=restore,module[a124_0x4c4b8e(0x1b8)]=a124_0x192b6;
@@ -1 +1 @@
1
- function a125_0x406b(_0xd6847d,_0x3e4db4){const _0x59dc12=a125_0x59dc();return a125_0x406b=function(_0x406bde,_0x3257c2){_0x406bde=_0x406bde-0x17a;let _0x267caa=_0x59dc12[_0x406bde];return _0x267caa;},a125_0x406b(_0xd6847d,_0x3e4db4);}const a125_0x3db68f=a125_0x406b;(function(_0x3e0c1f,_0x41c385){const _0x4685be=a125_0x406b,_0x520318=_0x3e0c1f();while(!![]){try{const _0x3a6e2f=parseInt(_0x4685be(0x17b))/0x1*(-parseInt(_0x4685be(0x197))/0x2)+parseInt(_0x4685be(0x194))/0x3+-parseInt(_0x4685be(0x17f))/0x4*(parseInt(_0x4685be(0x185))/0x5)+parseInt(_0x4685be(0x180))/0x6*(parseInt(_0x4685be(0x192))/0x7)+parseInt(_0x4685be(0x18c))/0x8+-parseInt(_0x4685be(0x189))/0x9*(-parseInt(_0x4685be(0x19a))/0xa)+parseInt(_0x4685be(0x191))/0xb*(-parseInt(_0x4685be(0x199))/0xc);if(_0x3a6e2f===_0x41c385)break;else _0x520318['push'](_0x520318['shift']());}catch(_0x3daef9){_0x520318['push'](_0x520318['shift']());}}}(a125_0x59dc,0x9108b));function a125_0x59dc(){const _0x1e5331=['30180kKxGvX','keepAliveMsecs','http','exports','86511wNkpFT','apfCC','UbzYz','DwYmE','23292LlBUlx','6121578fpuYxl','./performance/constants','obHeq','measureWrapper','ILBtA','15WhGhGD','keepAlive','nAhBV','https','1458gjBRbn','UZgyM','https:','8125984QuqFdm','KEEP_ALIVE','request','MyqCE','agent','11tKcydJ','7lTifjv','globalAgent','3494643aqGwPk','igaVt','call','6HyrZCr','Agent','33824964xuMuGm'];a125_0x59dc=function(){return _0x1e5331;};return a125_0x59dc();}const PerformanceTester=require('./performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceEvents}=require(a125_0x3db68f(0x181));module[a125_0x3db68f(0x17a)]=PerformanceTester[a125_0x3db68f(0x183)](PerformanceEvents[a125_0x3db68f(0x18d)],function(){const _0x51f2e7=a125_0x3db68f,_0x438c24={'igaVt':function(_0x4d1b3e,_0x1999d1){return _0x4d1b3e===_0x1999d1;},'HbGXF':_0x51f2e7(0x18b),'UZgyM':_0x51f2e7(0x190),'cUpAX':function(_0x110e37,_0x362326,_0x327d96){return _0x110e37(_0x362326,_0x327d96);},'ILBtA':function(_0x35874b,_0x49fbdd,_0x424195){return _0x35874b(_0x49fbdd,_0x424195);},'obHeq':function(_0x5a6343,_0x14cc85){return _0x5a6343(_0x14cc85);},'UbzYz':_0x51f2e7(0x19c),'apfCC':function(_0x29e24b,_0x364500){return _0x29e24b(_0x364500);},'MyqCE':_0x51f2e7(0x188),'nAhBV':function(_0x523027,_0x24ed60){return _0x523027*_0x24ed60;},'DwYmE':_0x51f2e7(0x186)},_0x211b69=_0x438c24[_0x51f2e7(0x182)](require,_0x438c24[_0x51f2e7(0x17d)]),_0x502297=_0x438c24[_0x51f2e7(0x17c)](require,_0x438c24[_0x51f2e7(0x18f)]),_0x532cac=_0x438c24[_0x51f2e7(0x187)](0x1e,0x3e8);if(_0x211b69[_0x51f2e7(0x193)]&&Object['prototype']['hasOwnProperty'][_0x51f2e7(0x196)](_0x211b69['globalAgent'],_0x438c24[_0x51f2e7(0x17e)]))_0x211b69[_0x51f2e7(0x193)][_0x51f2e7(0x186)]=!![],_0x502297['globalAgent']['keepAlive']=!![],_0x211b69[_0x51f2e7(0x193)][_0x51f2e7(0x19b)]=_0x532cac,_0x502297[_0x51f2e7(0x193)][_0x51f2e7(0x19b)]=_0x532cac;else{const _0x19e3d0={};_0x19e3d0[_0x51f2e7(0x186)]=!![],_0x19e3d0[_0x51f2e7(0x19b)]=_0x532cac;const _0x56516d=new _0x211b69[(_0x51f2e7(0x198))](_0x19e3d0),_0x5c8d69={};_0x5c8d69[_0x51f2e7(0x186)]=!![],_0x5c8d69[_0x51f2e7(0x19b)]=_0x532cac;const _0x5e69f6=new _0x502297[(_0x51f2e7(0x198))](_0x5c8d69),_0x3e86e2=_0x211b69[_0x51f2e7(0x18e)],_0x4b5f36=_0x502297[_0x51f2e7(0x18e)];_0x211b69[_0x51f2e7(0x18e)]=function(_0x1df7a2,_0x3ddd80){const _0xff3886=_0x51f2e7;if(_0x438c24[_0xff3886(0x195)](_0x1df7a2['protocol'],_0x438c24['HbGXF']))return _0x1df7a2[_0x438c24['UZgyM']]=_0x5e69f6,_0x438c24['cUpAX'](_0x4b5f36,_0x1df7a2,_0x3ddd80);return _0x1df7a2[_0x438c24[_0xff3886(0x18a)]]=_0x56516d,_0x438c24[_0xff3886(0x184)](_0x3e86e2,_0x1df7a2,_0x3ddd80);};}});
1
+ function a125_0x827a(){const _0x4e0c0b=['xNLMf','15czUWXb','exports','globalAgent','https','agent','dLuEM','http','32BgsTBx','kxQzy','AvkEO','960000enMlOr','10170HLcyTX','keepAlive','Agent','CHGGl','TaqVU','431738SucOBX','qpUCu','request','./performance/constants','13790ohHJWS','JNCcv','2364BtxIwo','2995KxvLma','KEEP_ALIVE','4087352YKyQqY','prototype','hasOwnProperty','121QDMvZo','protocol','call','./performance/performance-tester','7494966VyBHDV','measureWrapper','fxtia','keepAliveMsecs'];a125_0x827a=function(){return _0x4e0c0b;};return a125_0x827a();}const a125_0x572da4=a125_0x2dab;function a125_0x2dab(_0x805cb1,_0x3f1cac){const _0x827a87=a125_0x827a();return a125_0x2dab=function(_0x2dabc6,_0x41a7f8){_0x2dabc6=_0x2dabc6-0x1e1;let _0x4642eb=_0x827a87[_0x2dabc6];return _0x4642eb;},a125_0x2dab(_0x805cb1,_0x3f1cac);}(function(_0x3b43e0,_0x4f9a9b){const _0x43f376=a125_0x2dab,_0x58b77e=_0x3b43e0();while(!![]){try{const _0x46f796=-parseInt(_0x43f376(0x205))/0x1+-parseInt(_0x43f376(0x1e6))/0x2*(-parseInt(_0x43f376(0x1fb))/0x3)+parseInt(_0x43f376(0x202))/0x4*(-parseInt(_0x43f376(0x1ed))/0x5)+parseInt(_0x43f376(0x1ec))/0x6*(-parseInt(_0x43f376(0x1ea))/0x7)+parseInt(_0x43f376(0x1ef))/0x8+parseInt(_0x43f376(0x1f6))/0x9+parseInt(_0x43f376(0x1e1))/0xa*(-parseInt(_0x43f376(0x1f2))/0xb);if(_0x46f796===_0x4f9a9b)break;else _0x58b77e['push'](_0x58b77e['shift']());}catch(_0x15d64f){_0x58b77e['push'](_0x58b77e['shift']());}}}(a125_0x827a,0xa3c9f));const PerformanceTester=require(a125_0x572da4(0x1f5)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a125_0x572da4(0x1e9));module[a125_0x572da4(0x1fc)]=PerformanceTester[a125_0x572da4(0x1f7)](PerformanceEvents[a125_0x572da4(0x1ee)],function(){const _0x3a2be7=a125_0x572da4,_0x4a3172={'CHGGl':function(_0x4346ab,_0x2105cb){return _0x4346ab===_0x2105cb;},'AvkEO':'https:','JNCcv':_0x3a2be7(0x1ff),'TaqVU':function(_0x4b7d04,_0x232812,_0x17c833){return _0x4b7d04(_0x232812,_0x17c833);},'fxtia':function(_0x16638f,_0x1ee82a){return _0x16638f(_0x1ee82a);},'qpUCu':_0x3a2be7(0x201),'xNLMf':function(_0x3e0095,_0x583364){return _0x3e0095(_0x583364);},'dLuEM':_0x3a2be7(0x1fe),'kxQzy':function(_0x1970a9,_0x52e470){return _0x1970a9*_0x52e470;},'zFKhf':_0x3a2be7(0x1e2)},_0x38f9b3=_0x4a3172[_0x3a2be7(0x1f8)](require,_0x4a3172[_0x3a2be7(0x1e7)]),_0x10ef13=_0x4a3172[_0x3a2be7(0x1fa)](require,_0x4a3172[_0x3a2be7(0x200)]),_0x51e207=_0x4a3172[_0x3a2be7(0x203)](0x1e,0x3e8);if(_0x38f9b3['globalAgent']&&Object[_0x3a2be7(0x1f0)][_0x3a2be7(0x1f1)][_0x3a2be7(0x1f4)](_0x38f9b3[_0x3a2be7(0x1fd)],_0x4a3172['zFKhf']))_0x38f9b3[_0x3a2be7(0x1fd)][_0x3a2be7(0x1e2)]=!![],_0x10ef13[_0x3a2be7(0x1fd)]['keepAlive']=!![],_0x38f9b3[_0x3a2be7(0x1fd)]['keepAliveMsecs']=_0x51e207,_0x10ef13[_0x3a2be7(0x1fd)][_0x3a2be7(0x1f9)]=_0x51e207;else{const _0x41de4d={};_0x41de4d[_0x3a2be7(0x1e2)]=!![],_0x41de4d[_0x3a2be7(0x1f9)]=_0x51e207;const _0x564e70=new _0x38f9b3[(_0x3a2be7(0x1e3))](_0x41de4d),_0x2d13ed={};_0x2d13ed[_0x3a2be7(0x1e2)]=!![],_0x2d13ed['keepAliveMsecs']=_0x51e207;const _0x1056af=new _0x10ef13[(_0x3a2be7(0x1e3))](_0x2d13ed),_0x31dc60=_0x38f9b3[_0x3a2be7(0x1e8)],_0x41037e=_0x10ef13['request'];_0x38f9b3[_0x3a2be7(0x1e8)]=function(_0x57dae5,_0x35c7b1){const _0x3fdd10=_0x3a2be7;if(_0x4a3172[_0x3fdd10(0x1e4)](_0x57dae5[_0x3fdd10(0x1f3)],_0x4a3172[_0x3fdd10(0x204)]))return _0x57dae5[_0x4a3172[_0x3fdd10(0x1eb)]]=_0x1056af,_0x4a3172[_0x3fdd10(0x1e5)](_0x41037e,_0x57dae5,_0x35c7b1);return _0x57dae5[_0x4a3172[_0x3fdd10(0x1eb)]]=_0x564e70,_0x4a3172[_0x3fdd10(0x1e5)](_0x31dc60,_0x57dae5,_0x35c7b1);};}});
@@ -1 +1 @@
1
- const a126_0x2ba225=a126_0x4ff6;(function(_0x592206,_0x131ff9){const _0x4ab8b2=a126_0x4ff6,_0x3b5240=_0x592206();while(!![]){try{const _0x4f753c=parseInt(_0x4ab8b2(0x66))/0x1+parseInt(_0x4ab8b2(0x79))/0x2+parseInt(_0x4ab8b2(0x6c))/0x3+-parseInt(_0x4ab8b2(0x86))/0x4+parseInt(_0x4ab8b2(0x78))/0x5*(parseInt(_0x4ab8b2(0x76))/0x6)+-parseInt(_0x4ab8b2(0x72))/0x7*(parseInt(_0x4ab8b2(0x69))/0x8)+parseInt(_0x4ab8b2(0x75))/0x9*(-parseInt(_0x4ab8b2(0x83))/0xa);if(_0x4f753c===_0x131ff9)break;else _0x3b5240['push'](_0x3b5240['shift']());}catch(_0x28d59c){_0x3b5240['push'](_0x3b5240['shift']());}}}(a126_0x426f,0x2e70d));const path=require(a126_0x2ba225(0x81)),{logDir}=require('../logger'),a126_0x1933fd={};a126_0x1933fd[a126_0x2ba225(0x88)]=a126_0x2ba225(0x70),a126_0x1933fd['MOCHA']=a126_0x2ba225(0x84),a126_0x1933fd[a126_0x2ba225(0x67)]=a126_0x2ba225(0x80),a126_0x1933fd[a126_0x2ba225(0x6d)]='codeceptjs-cucumber',a126_0x1933fd[a126_0x2ba225(0x7f)]='jest',a126_0x1933fd[a126_0x2ba225(0x6b)]=a126_0x2ba225(0x7a),module[a126_0x2ba225(0x77)]={'consoleHolder':Object[a126_0x2ba225(0x7e)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a126_0x2ba225(0x85),'OBSERVABILITY_UPLOAD_API_URL':a126_0x2ba225(0x82),'EVENT_ENDPOINT':a126_0x2ba225(0x68),'BATCH_ENDPOINT':a126_0x2ba225(0x71),'SCREENSHOT_ENDPOINT':'api/v1/screenshots','UPLOAD_ATTACHMENT_ENDPOINT':a126_0x2ba225(0x7b),'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_0x2ba225(0x6a)](logDir,'.obs_test_details'),'FRAMEWORKS':a126_0x1933fd};const _env=(process[a126_0x2ba225(0x7c)][a126_0x2ba225(0x89)]||a126_0x2ba225(0x6f))[a126_0x2ba225(0x7d)]();function a126_0x4ff6(_0x16788c,_0x12ec79){const _0x426f8c=a126_0x426f();return a126_0x4ff6=function(_0x4ff62e,_0x40c9f8){_0x4ff62e=_0x4ff62e-0x66;let _0x4f6d37=_0x426f8c[_0x4ff62e];return _0x4f6d37;},a126_0x4ff6(_0x16788c,_0x12ec79);}if(_env===a126_0x2ba225(0x73)||_env==='stag')module[a126_0x2ba225(0x77)]['API_URL']=a126_0x2ba225(0x6e),module[a126_0x2ba225(0x77)][a126_0x2ba225(0x8a)]='https://upload-observability-devtestops-ssi.bsstag.com';else(_env===a126_0x2ba225(0x87)||_env===a126_0x2ba225(0x74))&&(module['exports']['API_URL']='https://collector-observability-preprod.bsstag.com',module[a126_0x2ba225(0x77)][a126_0x2ba225(0x8a)]='https://upload-observability-preprod.bsstag.com');function a126_0x426f(){const _0x7d55b=['CODECEPT_CUCUMBER','https://collector-observability-devtestops.bsstag.com','prod','Playwright','api/v1/batch','7nyVlWW','staging','pre-prod','18OlKKBP','3942DeXFRk','exports','150puRnXP','561362YdYxDZ','cucumber','upload-attachments','env','toLowerCase','assign','JEST','codeceptjs','path','https://upload-observability.browserstack.com','1029210GuZtvs','mocha','https://collector-observability.browserstack.com','177252IFyvEf','preprod','PLAYWRIGHT','BROWSERSTACK_ENV','OBSERVABILITY_UPLOAD_API_URL','105205AVhxSx','CODECEPT','api/v1/event','1401672FIfLFZ','join','CUCUMBER','629967fOjWIY'];a126_0x426f=function(){return _0x7d55b;};return a126_0x426f();}
1
+ const a126_0xe61443=a126_0x908f;(function(_0x4430eb,_0x2ba8b9){const _0x2516af=a126_0x908f,_0x3d957b=_0x4430eb();while(!![]){try{const _0x484baf=-parseInt(_0x2516af(0x1ae))/0x1+parseInt(_0x2516af(0x192))/0x2*(-parseInt(_0x2516af(0x19c))/0x3)+-parseInt(_0x2516af(0x1b1))/0x4+-parseInt(_0x2516af(0x19f))/0x5*(-parseInt(_0x2516af(0x1a6))/0x6)+-parseInt(_0x2516af(0x19e))/0x7*(parseInt(_0x2516af(0x1a3))/0x8)+parseInt(_0x2516af(0x1a0))/0x9+parseInt(_0x2516af(0x1a5))/0xa;if(_0x484baf===_0x2ba8b9)break;else _0x3d957b['push'](_0x3d957b['shift']());}catch(_0x162213){_0x3d957b['push'](_0x3d957b['shift']());}}}(a126_0x1e2e,0x92fe4));const path=require(a126_0xe61443(0x193)),{logDir}=require('../logger'),a126_0xa976e0={};a126_0xa976e0['PLAYWRIGHT']=a126_0xe61443(0x18d),a126_0xa976e0[a126_0xe61443(0x1af)]=a126_0xe61443(0x1a9),a126_0xa976e0[a126_0xe61443(0x1a2)]=a126_0xe61443(0x197),a126_0xa976e0[a126_0xe61443(0x19a)]=a126_0xe61443(0x19b),a126_0xa976e0[a126_0xe61443(0x18e)]=a126_0xe61443(0x1b2),a126_0xa976e0['CUCUMBER']='cucumber',module[a126_0xe61443(0x1ad)]={'consoleHolder':Object[a126_0xe61443(0x19d)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a126_0xe61443(0x1ab),'OBSERVABILITY_UPLOAD_API_URL':a126_0xe61443(0x18f),'EVENT_ENDPOINT':a126_0xe61443(0x18b),'BATCH_ENDPOINT':'api/v1/batch','SCREENSHOT_ENDPOINT':'api/v1/screenshots','UPLOAD_ATTACHMENT_ENDPOINT':a126_0xe61443(0x195),'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_0xe61443(0x191)](logDir,a126_0xe61443(0x1a4)),'FRAMEWORKS':a126_0xa976e0};const _env=(process[a126_0xe61443(0x196)][a126_0xe61443(0x18a)]||a126_0xe61443(0x199))[a126_0xe61443(0x1a1)]();function a126_0x908f(_0x3fe62d,_0x4b47a6){const _0x1e2e6e=a126_0x1e2e();return a126_0x908f=function(_0x908fc7,_0x5452e2){_0x908fc7=_0x908fc7-0x18a;let _0x2b9b78=_0x1e2e6e[_0x908fc7];return _0x2b9b78;},a126_0x908f(_0x3fe62d,_0x4b47a6);}if(_env===a126_0xe61443(0x1a7)||_env===a126_0xe61443(0x1a8))module['exports'][a126_0xe61443(0x198)]=a126_0xe61443(0x1aa),module[a126_0xe61443(0x1ad)][a126_0xe61443(0x1b0)]=a126_0xe61443(0x18c);else(_env==='preprod'||_env===a126_0xe61443(0x194))&&(module[a126_0xe61443(0x1ad)][a126_0xe61443(0x198)]=a126_0xe61443(0x1ac),module[a126_0xe61443(0x1ad)][a126_0xe61443(0x1b0)]=a126_0xe61443(0x190));function a126_0x1e2e(){const _0xfba995=['codeceptjs','API_URL','prod','CODECEPT_CUCUMBER','codeceptjs-cucumber','276oHVbCK','assign','70lsEiLu','51070yKsHZh','4545495TgxAQn','toLowerCase','CODECEPT','315088PhfJFJ','.obs_test_details','19209260ZRPTnB','6ztijKe','staging','stag','mocha','https://collector-observability-devtestops.bsstag.com','https://collector-observability.browserstack.com','https://collector-observability-preprod.bsstag.com','exports','584196CsrgDR','MOCHA','OBSERVABILITY_UPLOAD_API_URL','938012wLRYcd','jest','BROWSERSTACK_ENV','api/v1/event','https://upload-observability-devtestops-ssi.bsstag.com','Playwright','JEST','https://upload-observability.browserstack.com','https://upload-observability-preprod.bsstag.com','join','13512CPmnhV','path','pre-prod','upload-attachments','env'];a126_0x1e2e=function(){return _0xfba995;};return a126_0x1e2e();}
@@ -1 +1 @@
1
- const a127_0x1063a1=a127_0x2080;(function(_0xd2ccc7,_0x3c2434){const _0x4c46f6=a127_0x2080,_0x3d53f0=_0xd2ccc7();while(!![]){try{const _0x3a901f=parseInt(_0x4c46f6(0x1b4))/0x1*(-parseInt(_0x4c46f6(0x190))/0x2)+parseInt(_0x4c46f6(0x191))/0x3+parseInt(_0x4c46f6(0x182))/0x4*(parseInt(_0x4c46f6(0x185))/0x5)+parseInt(_0x4c46f6(0x1ad))/0x6*(parseInt(_0x4c46f6(0x189))/0x7)+parseInt(_0x4c46f6(0x186))/0x8*(-parseInt(_0x4c46f6(0x1cc))/0x9)+parseInt(_0x4c46f6(0x1ab))/0xa*(parseInt(_0x4c46f6(0x1b6))/0xb)+parseInt(_0x4c46f6(0x165))/0xc*(parseInt(_0x4c46f6(0x176))/0xd);if(_0x3a901f===_0x3c2434)break;else _0x3d53f0['push'](_0x3d53f0['shift']());}catch(_0x234c93){_0x3d53f0['push'](_0x3d53f0['shift']());}}}(a127_0x4708,0x458b3));const util=require(a127_0x1063a1(0x1b0)),PerformanceTester=require(a127_0x1063a1(0x17e)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require('./utils'),{getAgentVersion,nestedKeyValue}=require('../helper'),o11yErrorHandler=(_0x5afdce,_0x54b568='',_0x346fd0=[''],_0x22f90b=![])=>{const _0x5392d9={'Gncia':function(_0x4fd590,_0x33d106){return _0x4fd590(_0x33d106);},'FjimW':function(_0x452312,_0x44fe0a,_0x13cc74){return _0x452312(_0x44fe0a,_0x13cc74);},'HLAbt':function(_0x172a2b,_0x3880d8){return _0x172a2b(_0x3880d8);},'uuhZK':function(_0x486215,_0x1c8fe1){return _0x486215 instanceof _0x1c8fe1;},'fihdZ':function(_0xc3ece5,_0x1a76e6,_0x1d4296,_0x35d44c,_0x3a9513){return _0xc3ece5(_0x1a76e6,_0x1d4296,_0x35d44c,_0x3a9513);}};return function(..._0x2b3382){const _0x2908a0=a127_0x2080;try{let _0x4ddd35=_0x5afdce;process[_0x2908a0(0x169)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(_0x4ddd35=PerformanceTester[_0x2908a0(0x16f)]()[_0x2908a0(0x18d)](_0x4ddd35));_0x22f90b&&_0x5392d9[_0x2908a0(0x1c1)](trace,'Started\x20::\x20'+_0x54b568+',\x20PID\x20-\x20'+process[_0x2908a0(0x197)]+_0x2908a0(0x179)+_0x5392d9[_0x2908a0(0x1bf)](nestedKeyValue,arguments[0x0],_0x346fd0));const _0x4c25a2=_0x4ddd35[_0x2908a0(0x1cf)](null,arguments);_0x22f90b&&_0x5392d9[_0x2908a0(0x1ce)](trace,_0x2908a0(0x19b)+_0x54b568+',\x20PID\x20-\x20'+process[_0x2908a0(0x197)]+_0x2908a0(0x179)+_0x5392d9[_0x2908a0(0x1bf)](nestedKeyValue,arguments[0x0],_0x346fd0));if(_0x5392d9[_0x2908a0(0x1c5)](_0x4c25a2,Promise))return _0x4c25a2[_0x2908a0(0x183)](_0x40cd77=>processError(_0x40cd77,_0x5afdce,_0x2b3382,_0x54b568));return _0x4c25a2;}catch(_0x413dba){_0x5392d9['fihdZ'](processError,_0x413dba,_0x5afdce,_0x2b3382,_0x54b568);}};},o11yClassErrorHandler=(_0x398ac7,_0x5f081a,_0x3e4bf8='')=>{const _0x2fe4be=a127_0x1063a1,_0x2448cd={'zwLuN':function(_0x5806de,_0x624a91){return _0x5806de instanceof _0x624a91;},'Guuvr':function(_0x44c7ba,_0x30e006,_0x5893c6,_0x214ae8,_0xdd3e8c){return _0x44c7ba(_0x30e006,_0x5893c6,_0x214ae8,_0xdd3e8c);},'aaxVI':function(_0x216d3c,_0x1ad186){return _0x216d3c===_0x1ad186;},'bGxND':_0x2fe4be(0x199),'WgolU':function(_0x32168e,_0x5274f3){return _0x32168e!==_0x5274f3;},'rrUuI':'constructor','WLHby':function(_0x367388,_0x14a6a8){return _0x367388<_0x14a6a8;}},_0x40dca9=_0x398ac7[_0x2fe4be(0x1b3)];if(_0x2448cd[_0x2fe4be(0x171)](Object[_0x2fe4be(0x1d3)](_0x40dca9)[_0x2fe4be(0x19a)],0x2))return _0x398ac7;return Object[_0x2fe4be(0x1d3)](_0x40dca9)['forEach'](_0x48b2eb=>{const _0x5a5d9f=_0x2fe4be,_0x5b5060={'FFiZH':function(_0x1cd780,_0x5a20e1){return _0x2448cd['zwLuN'](_0x1cd780,_0x5a20e1);},'DIBqD':function(_0x2aec64,_0x4e6a44,_0x5db2b6,_0x174dd0,_0x1fce61){return _0x2448cd['Guuvr'](_0x2aec64,_0x4e6a44,_0x5db2b6,_0x174dd0,_0x1fce61);}};if(!(_0x5f081a&&_0x5f081a[_0x5a5d9f(0x1c0)](_0x48b2eb)))return;const _0x41291e=_0x40dca9[_0x48b2eb];_0x2448cd[_0x5a5d9f(0x1b7)](typeof _0x41291e,_0x2448cd[_0x5a5d9f(0x19f)])&&_0x2448cd[_0x5a5d9f(0x167)](_0x48b2eb,_0x2448cd[_0x5a5d9f(0x1b1)])&&Object[_0x5a5d9f(0x18e)](_0x40dca9,_0x48b2eb,{'writable':!![],'value':function(..._0x454638){const _0x51aab2=_0x5a5d9f;try{const _0x42701f=(process[_0x51aab2(0x169)][_0x51aab2(0x18f)]?PerformanceTester['getPerformance']()[_0x51aab2(0x18d)](_0x41291e):_0x41291e)[_0x51aab2(0x1d1)](this,..._0x454638);if(_0x5b5060['FFiZH'](_0x42701f,Promise))return _0x42701f[_0x51aab2(0x183)](_0x2fb600=>processError(_0x2fb600,_0x41291e,_0x454638,_0x3e4bf8));return _0x42701f;}catch(_0x1cbb0d){_0x5b5060[_0x51aab2(0x184)](processError,_0x1cbb0d,_0x41291e,_0x454638,_0x3e4bf8);}}});}),_0x398ac7;};function processError(_0x3e037c,_0x29373e,_0x527bc4,_0x5c66f9){const _0x5bed5c=a127_0x1063a1,_0x283308={'cGDUC':function(_0x14ee33,_0x586a94){return _0x14ee33(_0x586a94);}};_0x283308['cGDUC'](debug,'Error\x20in\x20executing\x20'+_0x29373e[_0x5bed5c(0x16a)]+_0x5bed5c(0x1a3)+_0x5c66f9+_0x5bed5c(0x180)+util[_0x5bed5c(0x196)](_0x3e037c)+_0x5bed5c(0x1c4)+_0x527bc4+'.'),PerformanceTester[_0x5bed5c(0x1c9)](_0x3e037c);let _0x50e2b3;try{_0x50e2b3=JSON[_0x5bed5c(0x170)](_0x527bc4);}catch(_0x179e7a){const _0x3ccf39={};_0x3ccf39[_0x5bed5c(0x1a0)]=0x2,_0x50e2b3=util[_0x5bed5c(0x18a)](_0x527bc4,_0x3ccf39);}CrashReporter[_0x5bed5c(0x1ac)](_0x5bed5c(0x1d2)+_0x29373e[_0x5bed5c(0x16a)]+_0x5bed5c(0x1a3)+_0x5c66f9+_0x5bed5c(0x180)+_0x3e037c+_0x5bed5c(0x1c4)+_0x50e2b3+'.',_0x3e037c&&_0x3e037c['stack']);}class CrashReporter{static [a127_0x1063a1(0x1b5)]={};static [a127_0x1063a1(0x166)];static [a127_0x1063a1(0x18c)]={};static['initialize'](_0x494eed,_0x40940d,_0x441d03=null){const _0x2d3442=a127_0x1063a1,_0x5a84b3={'qUTNj':function(_0x2a0bcd,_0x3ffb97){return _0x2a0bcd(_0x3ffb97);}},_0x358fab=_0x494eed['frameworkName'],_0x25e0af=_0x494eed[_0x2d3442(0x19e)];!_0x441d03&&(_0x441d03=_0x5a84b3[_0x2d3442(0x18b)](getBrowserStackConfig,_0x358fab));!_0x25e0af&&_0x5a84b3[_0x2d3442(0x18b)](getFrameworkVersion,_0x358fab);const _0x56a037={};_0x56a037[_0x2d3442(0x1c6)]=_0x358fab,_0x56a037[_0x2d3442(0x19e)]=_0x25e0af,this[_0x2d3442(0x1ae)](_0x56a037,_0x40940d,_0x5a84b3['qUTNj'](getUserCredentials,_0x441d03));}static[a127_0x1063a1(0x1c7)](_0x49dffb,_0x2e2861){const _0xa715a3=a127_0x1063a1,_0x373f7a={};_0x373f7a[_0xa715a3(0x17b)]=_0x49dffb,_0x373f7a[_0xa715a3(0x19c)]=_0x2e2861,this[_0xa715a3(0x166)]=_0x373f7a,process[_0xa715a3(0x169)][_0xa715a3(0x1be)]=JSON[_0xa715a3(0x170)](this[_0xa715a3(0x166)]);}static[a127_0x1063a1(0x16d)](){const _0xffe24e=a127_0x1063a1,_0x154946={'KYMYz':function(_0x59851a,_0x15a2f5){return _0x59851a(_0x15a2f5);}};if(!this[_0xffe24e(0x166)]&&process['env'][_0xffe24e(0x1be)])try{this[_0xffe24e(0x166)]=JSON[_0xffe24e(0x17a)](process[_0xffe24e(0x169)][_0xffe24e(0x1be)]);}catch(_0x5f18ad){_0x154946[_0xffe24e(0x1a2)](debug,_0xffe24e(0x16c)+_0x5f18ad['toString']());}return this[_0xffe24e(0x166)];}static[a127_0x1063a1(0x1a8)](_0xeaf54b){const _0x523e03=a127_0x1063a1;this[_0x523e03(0x1b5)]=this[_0x523e03(0x1bd)](_0xeaf54b),process[_0x523e03(0x169)]['USER_CONFIG_FOR_REPORTING']=JSON[_0x523e03(0x170)](this[_0x523e03(0x1b5)]);}static['getConfig'](){const _0x533f2f=a127_0x1063a1,_0x4e95ed={'eswBX':function(_0xbb812,_0x282af4){return _0xbb812===_0x282af4;},'FgrQC':function(_0x4c30bc,_0x204314){return _0x4c30bc(_0x204314);}};if(_0x4e95ed[_0x533f2f(0x17f)](Object[_0x533f2f(0x1a9)](this['userConfig'])[_0x533f2f(0x19a)],0x0)&&process[_0x533f2f(0x169)]['USER_CONFIG_FOR_REPORTING'])try{this[_0x533f2f(0x1b5)]=JSON[_0x533f2f(0x17a)](process[_0x533f2f(0x169)][_0x533f2f(0x194)]);}catch(_0x1c2f85){_0x4e95ed['FgrQC'](debug,_0x533f2f(0x181)+_0x1c2f85[_0x533f2f(0x1c3)]()),this[_0x533f2f(0x1b5)]={};}return this[_0x533f2f(0x1b5)];}static[a127_0x1063a1(0x17c)](_0x2b1abc){const _0x51b8b9=a127_0x1063a1;this['frameworkDetails']=_0x2b1abc,process[_0x51b8b9(0x169)][_0x51b8b9(0x1a5)]=JSON[_0x51b8b9(0x170)](this[_0x51b8b9(0x18c)]);}static[a127_0x1063a1(0x178)](){const _0x1c2ea7=a127_0x1063a1,_0x494100={'XlYPU':function(_0x43c018,_0x5bfad0){return _0x43c018===_0x5bfad0;},'qxPov':function(_0x3625d1,_0x3f272a){return _0x3625d1(_0x3f272a);}};if(_0x494100[_0x1c2ea7(0x19d)](Object['keys'](this['frameworkDetails'])[_0x1c2ea7(0x19a)],0x0)&&process['env'][_0x1c2ea7(0x1a5)])try{this[_0x1c2ea7(0x18c)]=JSON[_0x1c2ea7(0x17a)](process[_0x1c2ea7(0x169)][_0x1c2ea7(0x1a5)]);}catch(_0x353e7b){_0x494100[_0x1c2ea7(0x1cd)](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x353e7b[_0x1c2ea7(0x1c3)]());}return this[_0x1c2ea7(0x18c)];}static[a127_0x1063a1(0x1ae)](_0x5d557a,_0xb10aec,_0x1cfc2c){const _0x4db872=a127_0x1063a1;_0x5d557a&&this[_0x4db872(0x17c)](_0x5d557a),_0xb10aec&&this['setConfigDetails'](_0xb10aec),_0x1cfc2c&&this[_0x4db872(0x1c7)](_0x1cfc2c['username'],_0x1cfc2c[_0x4db872(0x19c)]);}static async['uploadCrashReport'](_0x5f1623,_0xae3e13){const _0x77956e=a127_0x1063a1,_0x5a9e4e={'rPtwG':function(_0x29a332,_0x2a018c){return _0x29a332(_0x2a018c);},'SbnYT':function(_0x5d3af1,_0x3bc655){return _0x5d3af1(_0x3bc655);},'ypTIS':function(_0x91bbf8,_0x3ae2aa){return _0x91bbf8(_0x3ae2aa);},'IyhWe':'[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','BGhIR':function(_0x1124dd){return _0x1124dd();},'RsdCW':_0x77956e(0x1b8),'SMgKu':_0x77956e(0x1a4),'yQdlf':_0x77956e(0x1ca),'QakRI':function(_0x460363,_0x280976,_0x7348c6,_0x5ffc54,_0x3df672,_0x3cbd3c){return _0x460363(_0x280976,_0x7348c6,_0x5ffc54,_0x3df672,_0x3cbd3c);},'kYrfY':_0x77956e(0x1bc)};this[_0x77956e(0x16d)]();if(!this[_0x77956e(0x166)])return _0x5a9e4e[_0x77956e(0x16b)](debug,_0x5a9e4e[_0x77956e(0x1a7)]);this['getConfig'](),this['getFramework']();const _0x30d9c4={'hashed_id':process[_0x77956e(0x169)][_0x77956e(0x187)],'observability_version':{'sdkVersion':_0x5a9e4e[_0x77956e(0x1c8)](getAgentVersion),'frameworkName':this[_0x77956e(0x18c)][_0x77956e(0x1c6)],'frameworkVersion':this[_0x77956e(0x18c)][_0x77956e(0x19e)]},'exception':{'error':_0x5f1623[_0x77956e(0x1c3)](),'stackTrace':_0xae3e13},'config':this[_0x77956e(0x1b5)]},_0x1147ae=_0x5a9e4e[_0x77956e(0x174)],_0x4981e6={};_0x4981e6[_0x77956e(0x17b)]=this[_0x77956e(0x166)][_0x77956e(0x17b)],_0x4981e6[_0x77956e(0x192)]=this[_0x77956e(0x166)][_0x77956e(0x19c)];const _0x3096a2={};_0x3096a2['Content-Type']=_0x5a9e4e[_0x77956e(0x1a1)],_0x3096a2[_0x77956e(0x195)]=_0x5a9e4e['yQdlf'];const _0x5c5524={};_0x5c5524['auth']=_0x4981e6,_0x5c5524[_0x77956e(0x1c2)]=_0x3096a2;const _0x5762e8=_0x5c5524;_0x5a9e4e['QakRI'](nodeRequest,_0x5a9e4e[_0x77956e(0x1b9)],_0x1147ae,_0x30d9c4,_0x5762e8,![])[_0x77956e(0x1ba)](_0x99f286=>{const _0x6fb512=_0x77956e;_0x5a9e4e[_0x6fb512(0x1b2)](debug,_0x6fb512(0x1d0)+JSON[_0x6fb512(0x170)](_0x99f286));})[_0x77956e(0x183)](_0x3a0bb6=>{const _0x12999e=_0x77956e;_0x5a9e4e['SbnYT'](debug,_0x12999e(0x168)+util[_0x12999e(0x196)](_0x3a0bb6));});}static[a127_0x1063a1(0x164)](_0x4b9d77){const _0x5ab96d=a127_0x1063a1,_0x2ea2e2={};_0x2ea2e2['ZysgT']=_0x5ab96d(0x1bb),_0x2ea2e2[_0x5ab96d(0x193)]=_0x5ab96d(0x17b),_0x2ea2e2['rXRzL']=_0x5ab96d(0x1cb),_0x2ea2e2[_0x5ab96d(0x17d)]=_0x5ab96d(0x19c),_0x2ea2e2[_0x5ab96d(0x198)]='password',_0x2ea2e2[_0x5ab96d(0x1a6)]=function(_0x4acc84,_0x2fbbf1){return _0x4acc84===_0x2fbbf1;},_0x2ea2e2[_0x5ab96d(0x1af)]=_0x5ab96d(0x1d4);const _0x3ac8ac=_0x2ea2e2;if(!_0x4b9d77)return;const _0x5686b1=[_0x3ac8ac[_0x5ab96d(0x173)],_0x3ac8ac[_0x5ab96d(0x193)],_0x3ac8ac[_0x5ab96d(0x175)],_0x3ac8ac[_0x5ab96d(0x17d)],_0x3ac8ac['nlQjd']];for(const _0x56b9a5 in _0x4b9d77){if(_0x5686b1[_0x5ab96d(0x1c0)](_0x56b9a5[_0x5ab96d(0x188)]()))delete _0x4b9d77[_0x56b9a5];else _0x3ac8ac[_0x5ab96d(0x1a6)](typeof _0x4b9d77[_0x56b9a5],_0x3ac8ac[_0x5ab96d(0x1af)])&&this[_0x5ab96d(0x164)](_0x4b9d77[_0x56b9a5]);}}static['filterPII'](_0x35f9ff){const _0x21ce69=a127_0x1063a1,_0x296c3f=JSON[_0x21ce69(0x17a)](JSON['stringify'](_0x35f9ff));return this[_0x21ce69(0x164)](_0x296c3f),_0x296c3f;}}const a127_0x5dd269={};function a127_0x2080(_0x313755,_0x27c688){const _0x470862=a127_0x4708();return a127_0x2080=function(_0x2080bf,_0x338ab8){_0x2080bf=_0x2080bf-0x164;let _0x3d3de2=_0x470862[_0x2080bf];return _0x3d3de2;},a127_0x2080(_0x313755,_0x27c688);}a127_0x5dd269[a127_0x1063a1(0x177)]=o11yErrorHandler,a127_0x5dd269[a127_0x1063a1(0x1aa)]=o11yClassErrorHandler,a127_0x5dd269[a127_0x1063a1(0x172)]=CrashReporter,module[a127_0x1063a1(0x16e)]=a127_0x5dd269;function a127_0x4708(){const _0x4e2e4b=['setCredentials','BGhIR','captureError','true','key','135udHsSu','qxPov','HLAbt','apply','[Crash_Report_Upload]\x20Success\x20response:\x20','call','Error\x20in\x20executing\x20','getOwnPropertyNames','object','recursivelyDeletePIIKeysFromObject','24EZdNqV','credentials','WgolU','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','env','name','ypTIS','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','getCredentials','exports','getPerformance','stringify','WLHby','CrashReporter','ZysgT','RsdCW','rXRzL','809029UIbnKK','o11yErrorHandler','getFramework',',\x20Argument\x20-\x20','parse','username','setFrameworkDetails','rKTxc','../performance/performance-tester','eswBX','.\x20Error\x20-\x20','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','28owDLUU','catch','DIBqD','76795mjxwfA','45152ztOLay','BS_TESTOPS_BUILD_HASHED_ID','toLowerCase','1687TxSdqg','inspect','qUTNj','frameworkDetails','timerify','defineProperty','BROWSERSTACK_O11Y_PERF_MEASUREMENT','12KcKnja','322170fibKse','password','fPfsS','USER_CONFIG_FOR_REPORTING','X-BSTACK-TESTOPS','format','pid','nlQjd','function','length','Finished\x20::\x20','accessKey','XlYPU','frameworkVersion','bGxND','depth','SMgKu','KYMYz','\x20--\x20','application/json','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','UyrYq','IyhWe','setConfigDetails','keys','o11yClassErrorHandler','59630BSUYZF','uploadCrashReport','1434KXHfnS','setAllDetails','dOpNQ','util','rrUuI','rPtwG','prototype','5570QPbaps','userConfig','11mjmUrO','aaxVI','/api/v1/analytics','kYrfY','then','user','POST','filterPII','CREDENTIALS_FOR_CRASH_REPORTING','FjimW','includes','Gncia','headers','toString','.\x20Args\x20-\x20','uuhZK','frameworkName'];a127_0x4708=function(){return _0x4e2e4b;};return a127_0x4708();}
1
+ const a127_0x573c20=a127_0x2e5d;(function(_0x860846,_0xec721){const _0x2db41e=a127_0x2e5d,_0x132128=_0x860846();while(!![]){try{const _0x2c9dbb=parseInt(_0x2db41e(0x13f))/0x1*(parseInt(_0x2db41e(0x130))/0x2)+parseInt(_0x2db41e(0x136))/0x3+parseInt(_0x2db41e(0x149))/0x4*(-parseInt(_0x2db41e(0x14a))/0x5)+-parseInt(_0x2db41e(0x191))/0x6+-parseInt(_0x2db41e(0x14c))/0x7+-parseInt(_0x2db41e(0x16b))/0x8+parseInt(_0x2db41e(0x194))/0x9;if(_0x2c9dbb===_0xec721)break;else _0x132128['push'](_0x132128['shift']());}catch(_0x1dd20d){_0x132128['push'](_0x132128['shift']());}}}(a127_0xe790,0x304d8));const util=require(a127_0x573c20(0x199)),PerformanceTester=require(a127_0x573c20(0x170)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a127_0x573c20(0x153)),{getAgentVersion,nestedKeyValue}=require(a127_0x573c20(0x14e)),o11yErrorHandler=(_0x3c6612,_0x2fbf17='',_0x526a4e=[''],_0x5050a3=![])=>{const _0x36c27f={'Nudbd':function(_0x4040ba,_0x1ca618){return _0x4040ba(_0x1ca618);},'OYSLT':function(_0x1d8247,_0x114055,_0x18c11f){return _0x1d8247(_0x114055,_0x18c11f);},'nsNUW':function(_0x40102f,_0x58a2b0){return _0x40102f(_0x58a2b0);},'pZsKs':function(_0x32bb61,_0x57d493){return _0x32bb61 instanceof _0x57d493;},'lfuQm':function(_0x4bf484,_0x16cdaf,_0x5a82d9,_0x72af25,_0x145158){return _0x4bf484(_0x16cdaf,_0x5a82d9,_0x72af25,_0x145158);}};return function(..._0x8840a3){const _0x13c86f=a127_0x2e5d;try{let _0x810448=_0x3c6612;process[_0x13c86f(0x188)][_0x13c86f(0x192)]&&(_0x810448=PerformanceTester['getPerformance']()[_0x13c86f(0x15a)](_0x810448));_0x5050a3&&_0x36c27f[_0x13c86f(0x13e)](trace,_0x13c86f(0x171)+_0x2fbf17+_0x13c86f(0x158)+process[_0x13c86f(0x133)]+',\x20Argument\x20-\x20'+_0x36c27f[_0x13c86f(0x15e)](nestedKeyValue,arguments[0x0],_0x526a4e));const _0x1c025f=_0x810448[_0x13c86f(0x16c)](null,arguments);_0x5050a3&&_0x36c27f[_0x13c86f(0x140)](trace,_0x13c86f(0x13b)+_0x2fbf17+_0x13c86f(0x158)+process['pid']+_0x13c86f(0x137)+_0x36c27f['OYSLT'](nestedKeyValue,arguments[0x0],_0x526a4e));if(_0x36c27f[_0x13c86f(0x139)](_0x1c025f,Promise))return _0x1c025f[_0x13c86f(0x16d)](_0x1f00d6=>processError(_0x1f00d6,_0x3c6612,_0x8840a3,_0x2fbf17));return _0x1c025f;}catch(_0x5dfc92){_0x36c27f[_0x13c86f(0x172)](processError,_0x5dfc92,_0x3c6612,_0x8840a3,_0x2fbf17);}};},o11yClassErrorHandler=(_0x4a3000,_0x3c4f88,_0x128248='')=>{const _0x2cf477=a127_0x573c20,_0x24732d={'XXGqG':function(_0xfc43a9,_0x56dfef){return _0xfc43a9 instanceof _0x56dfef;},'SvWgx':function(_0x295c42,_0x54d228,_0x52a048,_0x2e7fc6,_0x3cad5d){return _0x295c42(_0x54d228,_0x52a048,_0x2e7fc6,_0x3cad5d);},'WGEeT':function(_0x3ab820,_0x33b9c8){return _0x3ab820===_0x33b9c8;},'FDtpR':_0x2cf477(0x193),'XZuSk':function(_0x1b50fe,_0x3519fe){return _0x1b50fe!==_0x3519fe;},'OuopD':_0x2cf477(0x146),'jlJaM':function(_0x2f583d,_0x4bd2cf){return _0x2f583d<_0x4bd2cf;}},_0x2e0f65=_0x4a3000['prototype'];if(_0x24732d[_0x2cf477(0x155)](Object[_0x2cf477(0x150)](_0x2e0f65)[_0x2cf477(0x19a)],0x2))return _0x4a3000;return Object[_0x2cf477(0x150)](_0x2e0f65)[_0x2cf477(0x14d)](_0x2f14a5=>{const _0x4b3fcb=_0x2cf477;if(!(_0x3c4f88&&_0x3c4f88[_0x4b3fcb(0x17b)](_0x2f14a5)))return;const _0x175033=_0x2e0f65[_0x2f14a5];_0x24732d[_0x4b3fcb(0x17d)](typeof _0x175033,_0x24732d[_0x4b3fcb(0x135)])&&_0x24732d[_0x4b3fcb(0x17a)](_0x2f14a5,_0x24732d[_0x4b3fcb(0x18f)])&&Object['defineProperty'](_0x2e0f65,_0x2f14a5,{'writable':!![],'value':function(..._0x7c0ee6){const _0x3759ba=_0x4b3fcb;try{const _0x1cf633=(process[_0x3759ba(0x188)][_0x3759ba(0x192)]?PerformanceTester['getPerformance']()[_0x3759ba(0x15a)](_0x175033):_0x175033)[_0x3759ba(0x185)](this,..._0x7c0ee6);if(_0x24732d[_0x3759ba(0x18d)](_0x1cf633,Promise))return _0x1cf633['catch'](_0x463478=>processError(_0x463478,_0x175033,_0x7c0ee6,_0x128248));return _0x1cf633;}catch(_0x57b13f){_0x24732d[_0x3759ba(0x15f)](processError,_0x57b13f,_0x175033,_0x7c0ee6,_0x128248);}}});}),_0x4a3000;};function processError(_0x2b48e7,_0x2060a6,_0x319ac3,_0x5406ee){const _0x3c7e02=a127_0x573c20,_0x33c418={'JJyQo':function(_0x2db62a,_0x1fd7eb){return _0x2db62a(_0x1fd7eb);}};_0x33c418[_0x3c7e02(0x17f)](debug,_0x3c7e02(0x168)+_0x2060a6[_0x3c7e02(0x174)]+_0x3c7e02(0x195)+_0x5406ee+_0x3c7e02(0x175)+util['format'](_0x2b48e7)+'.\x20Args\x20-\x20'+_0x319ac3+'.'),PerformanceTester[_0x3c7e02(0x164)](_0x2b48e7);let _0x2fc054;try{_0x2fc054=JSON[_0x3c7e02(0x142)](_0x319ac3);}catch(_0x4b3264){const _0x1e9bbe={};_0x1e9bbe[_0x3c7e02(0x14f)]=0x2,_0x2fc054=util[_0x3c7e02(0x18b)](_0x319ac3,_0x1e9bbe);}CrashReporter[_0x3c7e02(0x167)]('Error\x20in\x20executing\x20'+_0x2060a6[_0x3c7e02(0x174)]+'\x20--\x20'+_0x5406ee+_0x3c7e02(0x175)+_0x2b48e7+'.\x20Args\x20-\x20'+_0x2fc054+'.',_0x2b48e7&&_0x2b48e7[_0x3c7e02(0x18e)]);}function a127_0x2e5d(_0xa777da,_0x492faa){const _0xe790e4=a127_0xe790();return a127_0x2e5d=function(_0x2e5df9,_0x4141c7){_0x2e5df9=_0x2e5df9-0x12f;let _0x2309a9=_0xe790e4[_0x2e5df9];return _0x2309a9;},a127_0x2e5d(_0xa777da,_0x492faa);}class CrashReporter{static [a127_0x573c20(0x143)]={};static [a127_0x573c20(0x159)];static [a127_0x573c20(0x154)]={};static['initialize'](_0x17e3a6,_0xe981eb,_0x5e33ed=null){const _0x30d80d=a127_0x573c20,_0x661163={'NbLPs':function(_0x6c8a2e,_0x1aed4f){return _0x6c8a2e(_0x1aed4f);}},_0x4d7489=_0x17e3a6[_0x30d80d(0x18c)],_0x3cf9a1=_0x17e3a6['frameworkVersion'];!_0x5e33ed&&(_0x5e33ed=_0x661163[_0x30d80d(0x169)](getBrowserStackConfig,_0x4d7489));!_0x3cf9a1&&_0x661163['NbLPs'](getFrameworkVersion,_0x4d7489);const _0xe06252={};_0xe06252[_0x30d80d(0x18c)]=_0x4d7489,_0xe06252[_0x30d80d(0x18a)]=_0x3cf9a1,this['setAllDetails'](_0xe06252,_0xe981eb,_0x661163['NbLPs'](getUserCredentials,_0x5e33ed));}static[a127_0x573c20(0x179)](_0x33a6a0,_0x271224){const _0x3d1822=a127_0x573c20,_0x2d6912={};_0x2d6912['username']=_0x33a6a0,_0x2d6912[_0x3d1822(0x144)]=_0x271224,this[_0x3d1822(0x159)]=_0x2d6912,process[_0x3d1822(0x188)][_0x3d1822(0x16e)]=JSON[_0x3d1822(0x142)](this[_0x3d1822(0x159)]);}static[a127_0x573c20(0x13c)](){const _0x1fd32a=a127_0x573c20,_0x3a7f44={'yJFbb':function(_0x50ab2f,_0x1dfceb){return _0x50ab2f(_0x1dfceb);}};if(!this[_0x1fd32a(0x159)]&&process[_0x1fd32a(0x188)][_0x1fd32a(0x16e)])try{this[_0x1fd32a(0x159)]=JSON[_0x1fd32a(0x13a)](process[_0x1fd32a(0x188)][_0x1fd32a(0x16e)]);}catch(_0xcae578){_0x3a7f44[_0x1fd32a(0x19c)](debug,_0x1fd32a(0x176)+_0xcae578[_0x1fd32a(0x13d)]());}return this[_0x1fd32a(0x159)];}static[a127_0x573c20(0x138)](_0x72caf){const _0x47c341=a127_0x573c20;this[_0x47c341(0x143)]=this['filterPII'](_0x72caf),process[_0x47c341(0x188)][_0x47c341(0x17e)]=JSON[_0x47c341(0x142)](this[_0x47c341(0x143)]);}static[a127_0x573c20(0x19b)](){const _0xe08259=a127_0x573c20,_0x43bd08={'bRXPo':function(_0x17c5e6,_0x5e0563){return _0x17c5e6===_0x5e0563;},'nMflS':function(_0x5da190,_0x5063e5){return _0x5da190(_0x5063e5);}};if(_0x43bd08[_0xe08259(0x134)](Object[_0xe08259(0x15d)](this[_0xe08259(0x143)])['length'],0x0)&&process[_0xe08259(0x188)][_0xe08259(0x17e)])try{this['userConfig']=JSON['parse'](process['env'][_0xe08259(0x17e)]);}catch(_0x1d8fdf){_0x43bd08[_0xe08259(0x187)](debug,'Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20'+_0x1d8fdf['toString']()),this[_0xe08259(0x143)]={};}return this['userConfig'];}static['setFrameworkDetails'](_0x22f328){const _0x5b5fd9=a127_0x573c20;this[_0x5b5fd9(0x154)]=_0x22f328,process[_0x5b5fd9(0x188)][_0x5b5fd9(0x181)]=JSON[_0x5b5fd9(0x142)](this['frameworkDetails']);}static[a127_0x573c20(0x141)](){const _0x98e446=a127_0x573c20,_0x48ea44={'QalSm':function(_0x3bfa91,_0x3fcd62){return _0x3bfa91===_0x3fcd62;},'Ncyej':function(_0x2519aa,_0x3ba83c){return _0x2519aa(_0x3ba83c);}};if(_0x48ea44['QalSm'](Object[_0x98e446(0x15d)](this[_0x98e446(0x154)])[_0x98e446(0x19a)],0x0)&&process[_0x98e446(0x188)][_0x98e446(0x181)])try{this[_0x98e446(0x154)]=JSON['parse'](process[_0x98e446(0x188)][_0x98e446(0x181)]);}catch(_0x3bde91){_0x48ea44['Ncyej'](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x3bde91[_0x98e446(0x13d)]());}return this[_0x98e446(0x154)];}static['setAllDetails'](_0x387d73,_0x378cc7,_0x465330){const _0xa4f9d4=a127_0x573c20;_0x387d73&&this[_0xa4f9d4(0x196)](_0x387d73),_0x378cc7&&this[_0xa4f9d4(0x138)](_0x378cc7),_0x465330&&this[_0xa4f9d4(0x179)](_0x465330[_0xa4f9d4(0x183)],_0x465330['accessKey']);}static async[a127_0x573c20(0x167)](_0x4d7ff5,_0x24195c){const _0x39e123=a127_0x573c20,_0x1d68e4={'kJiKN':function(_0x268c5f,_0x5b8f63){return _0x268c5f(_0x5b8f63);},'XBigb':_0x39e123(0x180),'nZrQp':function(_0x4beda4){return _0x4beda4();},'fTGZJ':_0x39e123(0x16f),'NRgen':_0x39e123(0x14b),'nVHGH':_0x39e123(0x165),'lQwAu':function(_0x5241e2,_0x3ec4d3,_0x478089,_0x3f7f3e,_0x4698f2,_0x401613){return _0x5241e2(_0x3ec4d3,_0x478089,_0x3f7f3e,_0x4698f2,_0x401613);},'SkhXl':_0x39e123(0x17c)};this[_0x39e123(0x13c)]();if(!this['credentials'])return _0x1d68e4[_0x39e123(0x173)](debug,_0x1d68e4['XBigb']);this[_0x39e123(0x19b)](),this[_0x39e123(0x141)]();const _0x4f5a63={'hashed_id':process['env'][_0x39e123(0x162)],'observability_version':{'sdkVersion':_0x1d68e4[_0x39e123(0x131)](getAgentVersion),'frameworkName':this['frameworkDetails']['frameworkName'],'frameworkVersion':this['frameworkDetails'][_0x39e123(0x18a)]},'exception':{'error':_0x4d7ff5[_0x39e123(0x13d)](),'stackTrace':_0x24195c},'config':this[_0x39e123(0x143)]},_0xf4927c=_0x1d68e4[_0x39e123(0x189)],_0x3f3790={};_0x3f3790[_0x39e123(0x183)]=this['credentials'][_0x39e123(0x183)],_0x3f3790[_0x39e123(0x177)]=this[_0x39e123(0x159)]['accessKey'];const _0x27bd67={};_0x27bd67[_0x39e123(0x178)]=_0x1d68e4[_0x39e123(0x198)],_0x27bd67[_0x39e123(0x186)]=_0x1d68e4[_0x39e123(0x147)];const _0x203bc9={};_0x203bc9[_0x39e123(0x151)]=_0x3f3790,_0x203bc9['headers']=_0x27bd67;const _0xd902dc=_0x203bc9;_0x1d68e4['lQwAu'](nodeRequest,_0x1d68e4[_0x39e123(0x166)],_0xf4927c,_0x4f5a63,_0xd902dc,![])[_0x39e123(0x16a)](_0x4248b2=>{const _0x232aa4=_0x39e123;_0x1d68e4[_0x232aa4(0x173)](debug,_0x232aa4(0x132)+JSON[_0x232aa4(0x142)](_0x4248b2));})[_0x39e123(0x16d)](_0x39f34f=>{const _0x4ceb25=_0x39e123;_0x1d68e4[_0x4ceb25(0x173)](debug,_0x4ceb25(0x15b)+util[_0x4ceb25(0x160)](_0x39f34f));});}static[a127_0x573c20(0x161)](_0x27b0a1){const _0x291742=a127_0x573c20,_0x37cd01={};_0x37cd01[_0x291742(0x152)]='user',_0x37cd01['ZDzLb']=_0x291742(0x183),_0x37cd01['BwAMm']=_0x291742(0x145),_0x37cd01[_0x291742(0x182)]=_0x291742(0x144),_0x37cd01[_0x291742(0x12f)]=_0x291742(0x177),_0x37cd01['dVxeS']=function(_0x1354b6,_0x1dff69){return _0x1354b6===_0x1dff69;},_0x37cd01[_0x291742(0x148)]=_0x291742(0x190);const _0x37a5c7=_0x37cd01;if(!_0x27b0a1)return;const _0x154566=[_0x37a5c7['nZszG'],_0x37a5c7[_0x291742(0x15c)],_0x37a5c7[_0x291742(0x163)],_0x37a5c7[_0x291742(0x182)],_0x37a5c7[_0x291742(0x12f)]];for(const _0x22e274 in _0x27b0a1){if(_0x154566[_0x291742(0x17b)](_0x22e274[_0x291742(0x184)]()))delete _0x27b0a1[_0x22e274];else _0x37a5c7[_0x291742(0x197)](typeof _0x27b0a1[_0x22e274],_0x37a5c7['goXPO'])&&this['recursivelyDeletePIIKeysFromObject'](_0x27b0a1[_0x22e274]);}}static[a127_0x573c20(0x156)](_0x51cf18){const _0x2a6a02=a127_0x573c20,_0xfa3fc7=JSON['parse'](JSON[_0x2a6a02(0x142)](_0x51cf18));return this[_0x2a6a02(0x161)](_0xfa3fc7),_0xfa3fc7;}}function a127_0xe790(){const _0x4004f6=['nsNUW','getFramework','stringify','userConfig','accessKey','key','constructor','nVHGH','goXPO','3764JVxIAu','130iYrpwN','application/json','1773870nICDHa','forEach','../helper','depth','getOwnPropertyNames','auth','nZszG','./utils','frameworkDetails','jlJaM','filterPII','exports',',\x20PID\x20-\x20','credentials','timerify','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','ZDzLb','keys','OYSLT','SvWgx','format','recursivelyDeletePIIKeysFromObject','BS_TESTOPS_BUILD_HASHED_ID','BwAMm','captureError','true','SkhXl','uploadCrashReport','Error\x20in\x20executing\x20','NbLPs','then','2042160oKRQTa','apply','catch','CREDENTIALS_FOR_CRASH_REPORTING','/api/v1/analytics','../performance/performance-tester','Started\x20::\x20','lfuQm','kJiKN','name','.\x20Error\x20-\x20','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','password','Content-Type','setCredentials','XZuSk','includes','POST','WGEeT','USER_CONFIG_FOR_REPORTING','JJyQo','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','andGu','username','toLowerCase','call','X-BSTACK-TESTOPS','nMflS','env','fTGZJ','frameworkVersion','inspect','frameworkName','XXGqG','stack','OuopD','object','2067312lVqoeU','BROWSERSTACK_O11Y_PERF_MEASUREMENT','function','4701789uXJemz','\x20--\x20','setFrameworkDetails','dVxeS','NRgen','util','length','getConfig','yJFbb','o11yErrorHandler','CrashReporter','VRVMM','328vTuqGB','nZrQp','[Crash_Report_Upload]\x20Success\x20response:\x20','pid','bRXPo','FDtpR','877587bNmnUb',',\x20Argument\x20-\x20','setConfigDetails','pZsKs','parse','Finished\x20::\x20','getCredentials','toString','Nudbd','1589NaLdaM'];a127_0xe790=function(){return _0x4004f6;};return a127_0xe790();}const a127_0x4a4de5={};a127_0x4a4de5[a127_0x573c20(0x19d)]=o11yErrorHandler,a127_0x4a4de5['o11yClassErrorHandler']=o11yClassErrorHandler,a127_0x4a4de5[a127_0x573c20(0x19e)]=CrashReporter,module[a127_0x573c20(0x157)]=a127_0x4a4de5;
@@ -1 +1 @@
1
- const a128_0x4ecd0d=a128_0x283f;(function(_0x358ad7,_0x4feef9){const _0x731684=a128_0x283f,_0x16da63=_0x358ad7();while(!![]){try{const _0x299ef7=-parseInt(_0x731684(0xec))/0x1*(-parseInt(_0x731684(0x129))/0x2)+-parseInt(_0x731684(0x122))/0x3+-parseInt(_0x731684(0xd2))/0x4+-parseInt(_0x731684(0x11f))/0x5+parseInt(_0x731684(0x139))/0x6+parseInt(_0x731684(0x124))/0x7+-parseInt(_0x731684(0x107))/0x8*(-parseInt(_0x731684(0xc5))/0x9);if(_0x299ef7===_0x4feef9)break;else _0x16da63['push'](_0x16da63['shift']());}catch(_0x482e10){_0x16da63['push'](_0x16da63['shift']());}}}(a128_0x7b31,0xb72a8));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a128_0x4ecd0d(0x116)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a128_0x4ecd0d(0xef)),{nestedKeyValue}=require(a128_0x4ecd0d(0xfd)),util=require(a128_0x4ecd0d(0x11a)),constants=require(a128_0x4ecd0d(0xfa));function a128_0x283f(_0x667c76,_0x16194a){const _0x7b3181=a128_0x7b31();return a128_0x283f=function(_0x283f60,_0x57b4bb){_0x283f60=_0x283f60-0xc3;let _0x7abea0=_0x7b3181[_0x283f60];return _0x7abea0;},a128_0x283f(_0x667c76,_0x16194a);}function a128_0x7b31(){const _0x15acb7=['splice','Processing\x20events.\x20Queue\x20Length\x20-\x20','nkFQw','resetEventBatchPolling','TEST_ATTACHMENT','exports','\x20event\x20successful\x20for\x20events\x20','add','npFXm','response','removeEventBatchPolling','mAePj','4715586xzCiwD','uploadAttachmentUrl','pollEventBatchInterval','push','5402043KjwpwF','yExch','\x20bytes.\x20Events\x20are\x20','nypbw','start','ahlfl','UPtAe','api/v1/screenshots','utf8','\x20--\x20','BPobV','byteLength','.\x20Request\x20Size\x20-\x20','2040672SgJjwm','BoGMc','UQWxy','aMLzc','\x20REQUEST\x20TO\x20','format','startEventBatchPolling','Cdeqv','message','JyjQI','slice','pendingUploads','batchAndPostEvents','LogCreated','coQVJ','viawf','EXCEPTION\x20IN\x20','Remaining\x20Queue\x20Length\x20-\x20','ykALd','TEST_REPORTING_ANALYTICS','upVxo','shouldProceed','qJzIA','ATHJQ','FybiK','status','40POGUPA','join','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','./utils','xzSzc','CBTSessionCreated','upload-attachments','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','VskCD','proceedWithData','started','kind','EgWgT','kPqhl','../../bin/utils/constants','WggGm','TestRunSkipped','../helper','Shutdown-Queue','Swjyy','XeHCL','0|2|4|6|3|1|5','instance','eventUrl','pyXOb','TvQUa','max','8gaqltH','queue','HAACN','TEST_SCREENSHOT','event_type','statusText','BATCH_EVENT_TYPES','length','cBDBv','VghqC','QYdIe','FIDaO','fgDFp','sVGAP','Processing\x20batch\x20events\x20for\x20','./constants','proceedWithUrl','includes','test_run','util','hook_run','shutdown','uploadPending','logs','2569090ZylaiM','screenshotEventUrl','\x20:\x20','1593882XvUHVm','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','3355030NzBuZu','HookRunFinished','HookRunStarted','error','QSidt','22004kEwaBD','RESETTING','TestRunFinished','tSAqv'];a128_0x7b31=function(){return _0x15acb7;};return a128_0x7b31();}class RequestQueueHandler{static ['instance'];[a128_0x4ecd0d(0xdd)]=0x0;constructor(){const _0x8a90b7=a128_0x4ecd0d,_0x2e5cb4={};_0x2e5cb4[_0x8a90b7(0xd4)]=_0x8a90b7(0x101),_0x2e5cb4[_0x8a90b7(0xea)]=_0x8a90b7(0xdf),_0x2e5cb4[_0x8a90b7(0x110)]=_0x8a90b7(0xf1),_0x2e5cb4[_0x8a90b7(0x104)]=_0x8a90b7(0x12b),_0x2e5cb4['ATHJQ']=_0x8a90b7(0xfc),_0x2e5cb4[_0x8a90b7(0x128)]=_0x8a90b7(0x125),_0x2e5cb4[_0x8a90b7(0xdb)]='TestRunStarted',_0x2e5cb4[_0x8a90b7(0xff)]=_0x8a90b7(0x126),_0x2e5cb4[_0x8a90b7(0x12c)]=_0x8a90b7(0xf2),_0x2e5cb4[_0x8a90b7(0x111)]='api/v1/batch',_0x2e5cb4['ahlfl']=_0x8a90b7(0xcc);const _0x213c4f=_0x2e5cb4,_0x1ba857=_0x213c4f[_0x8a90b7(0xd4)]['split']('|');let _0x52a0ff=0x0;while(!![]){switch(_0x1ba857[_0x52a0ff++]){case'0':this[_0x8a90b7(0x108)]=[];continue;case'1':this[_0x8a90b7(0x10d)]=[_0x213c4f[_0x8a90b7(0xea)],_0x213c4f[_0x8a90b7(0x110)],_0x213c4f[_0x8a90b7(0x104)],_0x213c4f[_0x8a90b7(0xe9)],_0x213c4f[_0x8a90b7(0x128)],_0x213c4f[_0x8a90b7(0xdb)],_0x213c4f[_0x8a90b7(0xff)]];continue;case'2':this[_0x8a90b7(0xf6)]=![];continue;case'3':this[_0x8a90b7(0x13a)]=_0x213c4f[_0x8a90b7(0x12c)];continue;case'4':this[_0x8a90b7(0x103)]=_0x213c4f['QYdIe'];continue;case'5':this[_0x8a90b7(0xc3)]=null;continue;case'6':this['screenshotEventUrl']=_0x213c4f[_0x8a90b7(0xca)];continue;}break;}}static['getInstance'](){const _0x4e90c2=a128_0x4ecd0d;return!RequestQueueHandler[_0x4e90c2(0x102)]&&(RequestQueueHandler[_0x4e90c2(0x102)]=new RequestQueueHandler()),RequestQueueHandler[_0x4e90c2(0x102)];}[a128_0x4ecd0d(0xc9)]=()=>{const _0x11bb87=a128_0x4ecd0d;!this['started']&&(this[_0x11bb87(0xf6)]=!![],this[_0x11bb87(0xd8)]());};[a128_0x4ecd0d(0x134)]=_0x7c2bad=>{const _0x29eb7a=a128_0x4ecd0d,_0x248335={'RVSUb':function(_0x387dfb,_0xbe986f){return _0x387dfb===_0xbe986f;},'WggGm':_0x29eb7a(0x10a),'viawf':function(_0x1eed3e,_0x448194){return _0x1eed3e>_0x448194;},'upVxo':function(_0x3d89b5,_0x5d84b7){return _0x3d89b5===_0x5d84b7;},'nypbw':_0x29eb7a(0x131),'EgWgT':function(_0x538b12,_0x2bbf5d){return _0x538b12!==_0x2bbf5d;},'sVGAP':'TestRunFinished','HAACN':function(_0x25b336,_0x57019c){return _0x25b336(_0x57019c);},'mAePj':_0x29eb7a(0x123)};if(this[_0x29eb7a(0x10d)][_0x29eb7a(0x118)](_0x7c2bad[_0x29eb7a(0x10b)])){if(_0x7c2bad[_0x29eb7a(0x11e)]&&_0x7c2bad[_0x29eb7a(0x11e)][0x0]&&_0x248335['RVSUb'](_0x7c2bad[_0x29eb7a(0x11e)][0x0][_0x29eb7a(0xf7)],_0x248335[_0x29eb7a(0xfb)])){const _0x13b101={};return _0x13b101[_0x29eb7a(0xe7)]=!![],_0x13b101[_0x29eb7a(0xf5)]=[_0x7c2bad],_0x13b101[_0x29eb7a(0x117)]=this[_0x29eb7a(0x120)],_0x13b101;}if(_0x7c2bad['logs']&&_0x248335[_0x29eb7a(0xe1)](_0x7c2bad[_0x29eb7a(0x11e)]['length'],0x0)&&_0x248335[_0x29eb7a(0xe6)](_0x7c2bad['logs'][0x0]['kind'],_0x248335[_0x29eb7a(0xc8)])&&_0x248335[_0x29eb7a(0xf8)](_0x7c2bad[_0x29eb7a(0x10b)],_0x248335[_0x29eb7a(0x114)])){const _0x1f1d06={};return _0x1f1d06[_0x29eb7a(0xe7)]=!![],_0x1f1d06[_0x29eb7a(0xf5)]=[_0x7c2bad],_0x1f1d06[_0x29eb7a(0x117)]=this['uploadAttachmentUrl'],_0x1f1d06;}this[_0x29eb7a(0x108)][_0x29eb7a(0xc4)](_0x7c2bad);let _0x208be9=null;const _0x33fa95=this[_0x29eb7a(0xe7)]();_0x33fa95&&(_0x248335[_0x29eb7a(0x109)](trace,_0x248335[_0x29eb7a(0x138)]),_0x208be9=this[_0x29eb7a(0x108)][_0x29eb7a(0xdc)](0x0,BATCH_SIZE),this[_0x29eb7a(0x108)][_0x29eb7a(0x12d)](0x0,BATCH_SIZE),this[_0x29eb7a(0x130)]());const _0x178207={};return _0x178207[_0x29eb7a(0xe7)]=_0x33fa95,_0x178207[_0x29eb7a(0xf5)]=_0x208be9,_0x178207[_0x29eb7a(0x117)]=this['eventUrl'],_0x178207;}const _0xfc7d38={};return _0xfc7d38[_0x29eb7a(0xe7)]=!![],_0xfc7d38;};[a128_0x4ecd0d(0x11c)]=async()=>{const _0x13e411=a128_0x4ecd0d,_0x4d3825={'FIDaO':'REMOVING','VskCD':function(_0x28004c,_0x1cfe8c){return _0x28004c>_0x1cfe8c;},'TvQUa':_0x13e411(0xfe),'BPobV':function(_0x18179a,_0x17ed15){return _0x18179a>_0x17ed15;},'yExch':function(_0x5de656,_0x50c2b7){return _0x5de656(_0x50c2b7);}};await this['uploadPending'](),this[_0x13e411(0x137)](_0x4d3825[_0x13e411(0x112)]);while(_0x4d3825[_0x13e411(0xf4)](this['queue']['length'],0x0)){const _0x169fe1=this[_0x13e411(0x108)][_0x13e411(0xdc)](0x0,BATCH_SIZE);this[_0x13e411(0x108)][_0x13e411(0x12d)](0x0,BATCH_SIZE),await this[_0x13e411(0xde)](this[_0x13e411(0x103)],_0x4d3825[_0x13e411(0x105)],_0x169fe1);}_0x4d3825[_0x13e411(0xcf)](this[_0x13e411(0xdd)],0x0)&&_0x4d3825[_0x13e411(0xc6)](debug,_0x13e411(0xf3)+this[_0x13e411(0xdd)]);};[a128_0x4ecd0d(0xde)]=async(_0x4c798b,_0x30882c,_0x33cb99)=>{const _0x22df17=a128_0x4ecd0d,_0x23c8eb={'nkFQw':function(_0x2a1285,_0x3e6bfc){return _0x2a1285(_0x3e6bfc);},'BoGMc':_0x22df17(0xcd),'Cdeqv':function(_0x543eff,_0x343343){return _0x543eff(_0x343343);},'aMLzc':function(_0x26398f){return _0x26398f();},'kPqhl':function(_0x330c50,_0x20112d,_0x2303ca,_0x3827da,_0x3dd49a){return _0x330c50(_0x20112d,_0x2303ca,_0x3827da,_0x3dd49a);},'qJzIA':'POST','SojUM':function(_0x21d3f3,_0x297c9f){return _0x21d3f3-_0x297c9f;},'sOSMa':function(_0xeb952b,_0x1d8fd2){return _0xeb952b(_0x1d8fd2);},'IZbvT':function(_0x2ada04,_0x3b0ed3){return _0x2ada04-_0x3b0ed3;}};let _0x4210c1='';try{_0x4210c1=_0x33cb99['map'](_0x5b330e=>'\x27'+_0x5b330e['event_type']+'\x27:'+(nestedKeyValue(_0x5b330e,[_0x22df17(0x119),'uuid'])||nestedKeyValue(_0x5b330e,[_0x22df17(0x11b),'uuid'])))[_0x22df17(0xed)](','),_0x23c8eb[_0x22df17(0x12f)](debug,_0x22df17(0x115)+_0x30882c+_0x22df17(0xd1)+Buffer[_0x22df17(0xd0)](util[_0x22df17(0xd7)]('%j',_0x33cb99),_0x23c8eb[_0x22df17(0xd3)])+_0x22df17(0xc7)+_0x4210c1);}catch(_0xd623ce){_0x23c8eb['Cdeqv'](debug,_0x22df17(0xee)+util[_0x22df17(0xd7)](_0xd623ce)+'}');}const _0x3ff7ca={'headers':_0x23c8eb[_0x22df17(0xd5)](getDefaultHeaders)};try{const _0x4e45b1=await _0x23c8eb[_0x22df17(0xf9)](nodeRequest,_0x23c8eb[_0x22df17(0xe8)],_0x4c798b,_0x33cb99,_0x3ff7ca);if(_0x4e45b1['data'][_0x22df17(0x127)]){const _0x5f62ed={};_0x5f62ed[_0x22df17(0xda)]=_0x4e45b1['data'][_0x22df17(0x127)];throw _0x5f62ed;}else _0x23c8eb[_0x22df17(0xd9)](debug,_0x30882c+_0x22df17(0x133)+_0x4210c1+_0x22df17(0xce)+util[_0x22df17(0xd7)]('%j',_0x4e45b1['data'])),this['pendingUploads']=Math['max'](0x0,_0x23c8eb['SojUM'](this['pendingUploads'],_0x33cb99['length']));}catch(_0x3c16ea){_0x3c16ea[_0x22df17(0x136)]?_0x23c8eb['Cdeqv'](debug,'EXCEPTION\x20IN\x20'+_0x30882c+_0x22df17(0xd6)+constants['TEST_REPORTING_ANALYTICS']+_0x22df17(0x121)+_0x3c16ea[_0x22df17(0x136)][_0x22df17(0xeb)]+'\x20'+_0x3c16ea[_0x22df17(0x136)][_0x22df17(0x10c)]+'\x20'+util[_0x22df17(0xd7)]('%j',_0x3c16ea[_0x22df17(0x136)])):_0x23c8eb['sOSMa'](debug,_0x22df17(0xe2)+_0x30882c+_0x22df17(0xd6)+constants[_0x22df17(0xe5)]+_0x22df17(0x121)+(_0x3c16ea['message']||_0x3c16ea)),this[_0x22df17(0xdd)]=Math[_0x22df17(0x106)](0x0,_0x23c8eb['IZbvT'](this[_0x22df17(0xdd)],_0x33cb99[_0x22df17(0x10e)]));}};[a128_0x4ecd0d(0xd8)]=()=>{const _0x309939=a128_0x4ecd0d,_0xa21466={'UPtAe':function(_0x2e02f5,_0x562bb5){return _0x2e02f5>_0x562bb5;},'cBDBv':function(_0x508669,_0x49af39){return _0x508669(_0x49af39);},'ekHUT':'Interval-Queue','Fgvql':function(_0x132a1b,_0x57f3d6){return _0x132a1b(_0x57f3d6);},'GEYHk':function(_0xbb6882,_0xe371e4,_0x144021){return _0xbb6882(_0xe371e4,_0x144021);}};this[_0x309939(0xc3)]=_0xa21466['GEYHk'](setInterval,async()=>{const _0x1759fc=_0x309939;if(_0xa21466[_0x1759fc(0xcb)](this[_0x1759fc(0x108)][_0x1759fc(0x10e)],0x0)){_0xa21466[_0x1759fc(0x10f)](trace,_0x1759fc(0x12e)+this[_0x1759fc(0x108)]['length']);const _0x310622=this[_0x1759fc(0x108)][_0x1759fc(0xdc)](0x0,BATCH_SIZE);this[_0x1759fc(0x108)]['splice'](0x0,BATCH_SIZE),await this[_0x1759fc(0xde)](this['eventUrl'],_0xa21466['ekHUT'],_0x310622),_0xa21466['Fgvql'](trace,_0x1759fc(0xe3)+this[_0x1759fc(0x108)]['length']);}},BATCH_INTERVAL);};[a128_0x4ecd0d(0x130)]=()=>{const _0x8f9ea8=a128_0x4ecd0d,_0x3e26cc={};_0x3e26cc[_0x8f9ea8(0xe4)]=_0x8f9ea8(0x12a);const _0x54e6fd=_0x3e26cc;this[_0x8f9ea8(0x137)](_0x54e6fd['ykALd']),this[_0x8f9ea8(0xd8)]();};[a128_0x4ecd0d(0x137)]=_0x4465cd=>{const _0x27fb63=a128_0x4ecd0d,_0x541fd4={'QUAtl':function(_0x12a1e0,_0x40a818){return _0x12a1e0(_0x40a818);},'XeHCL':function(_0x1f1ba6,_0x307d9a){return _0x1f1ba6===_0x307d9a;},'npFXm':'REMOVING'};this[_0x27fb63(0xc3)]&&(_0x541fd4['QUAtl'](clearInterval,this[_0x27fb63(0xc3)]),this[_0x27fb63(0xc3)]=null,_0x541fd4[_0x27fb63(0x100)](_0x4465cd,_0x541fd4[_0x27fb63(0x135)])&&(this[_0x27fb63(0xf6)]=![]));};[a128_0x4ecd0d(0xe7)]=()=>{const _0x312ac4=a128_0x4ecd0d,_0x3c64cd={};_0x3c64cd[_0x312ac4(0xf0)]=function(_0x1a794e,_0xf4e789){return _0x1a794e>=_0xf4e789;};const _0x36a474=_0x3c64cd;return _0x36a474[_0x312ac4(0xf0)](this[_0x312ac4(0x108)]['length'],BATCH_SIZE);};async[a128_0x4ecd0d(0x11d)](_0x1c24b5=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x492f90=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x493a24=a128_0x4ecd0d,_0x128ff5={'coQVJ':function(_0x10e013,_0x1d586c){return _0x10e013<=_0x1d586c;},'bUPIC':function(_0xf583c,_0x472901){return _0xf583c<=_0x472901;},'fgDFp':function(_0x417858,_0x12859c){return _0x417858(_0x12859c);},'btfyr':function(_0x4b5500,_0x23288c){return _0x4b5500-_0x23288c;}};if(_0x128ff5[_0x493a24(0xe0)](this[_0x493a24(0xdd)],0x0)||_0x128ff5['bUPIC'](_0x1c24b5,0x0))return;return await _0x128ff5[_0x493a24(0x113)](sleep,_0x492f90),this[_0x493a24(0x11d)](_0x128ff5['btfyr'](_0x1c24b5,_0x492f90));}}module[a128_0x4ecd0d(0x132)]=RequestQueueHandler;
1
+ const a128_0x990ba0=a128_0x388c;(function(_0x208871,_0x445513){const _0x39e06b=a128_0x388c,_0x49f93b=_0x208871();while(!![]){try{const _0x47fa5e=-parseInt(_0x39e06b(0x158))/0x1*(-parseInt(_0x39e06b(0x16c))/0x2)+parseInt(_0x39e06b(0x176))/0x3*(-parseInt(_0x39e06b(0x15f))/0x4)+-parseInt(_0x39e06b(0x178))/0x5+parseInt(_0x39e06b(0x13f))/0x6+-parseInt(_0x39e06b(0x11a))/0x7+parseInt(_0x39e06b(0x16e))/0x8*(parseInt(_0x39e06b(0x120))/0x9)+-parseInt(_0x39e06b(0x11b))/0xa;if(_0x47fa5e===_0x445513)break;else _0x49f93b['push'](_0x49f93b['shift']());}catch(_0x5c746f){_0x49f93b['push'](_0x49f93b['shift']());}}}(a128_0x6971,0x95d07));function a128_0x6971(){const _0x194e97=['startEventBatchPolling','api/v1/screenshots','Interval-Queue','4509897DJqEzk','6093850VeULmo','logs','wxbDE','POST','rvcuX','5445jsrsZH','queue','pollEventBatchInterval','DuZhs','kind','EvvnI','pjuyf','TEST_SCREENSHOT','RuNWR','mMGgo','uploadPending','removeEventBatchPolling','TestRunStarted','push','message','REMOVING','sEiEh','\x20:\x20','api/v1/batch','upload-attachments','cXxud','instance','KeDPD','Rnclw','mYHoK','MYzAB','../../bin/utils/constants','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','test_run','format','mQESq','5865402PYJRGd','YrTTi','btzov','ByXnl','util','CNwdn','exports','uuid','includes','shouldProceed','XoXnK','LogCreated','bhyvi','byteLength','split','LEWAy','TEST_REPORTING_ANALYTICS','GvBCn','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','QlwZB','uwIlN','fxWPG','hook_run','GlBrD','gZgrr','1SIBJCi','event_type','EXCEPTION\x20IN\x20','NBool','screenshotEventUrl','ZTdFS','CBTSessionCreated','400VoUwEs','.\x20Request\x20Size\x20-\x20','start','getInstance','resetEventBatchPolling','EppgZ','map','GWXAb','yDqWp','uploadAttachmentUrl','Shutdown-Queue','shutdown','Processing\x20events.\x20Queue\x20Length\x20-\x20','2283334iztPxN','../helper','11368nPOTDn','GMVyI','FVhsn','eventUrl','TestRunFinished','batchAndPostEvents','proceedWithData','iDjyL','14667oSMwkh','Oehbb','3113720mpCzJj','Processing\x20batch\x20events\x20for\x20','data','HookRunStarted','BATCH_EVENT_TYPES','\x20event\x20successful\x20for\x20events\x20','slice','./constants','iVPDK','\x20REQUEST\x20TO\x20','KDSfD','pendingUploads','length','started','proceedWithUrl','GqjBG','3|6|4|5|2|0|1','add','splice','response','max'];a128_0x6971=function(){return _0x194e97;};return a128_0x6971();}const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a128_0x990ba0(0x109)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require('./utils'),{nestedKeyValue}=require(a128_0x990ba0(0x16d)),util=require(a128_0x990ba0(0x143)),constants=require(a128_0x990ba0(0x13a));class RequestQueueHandler{static [a128_0x990ba0(0x135)];[a128_0x990ba0(0x10d)]=0x0;constructor(){const _0x2fb665=a128_0x990ba0,_0x14c20e={};_0x14c20e['yDqWp']=_0x2fb665(0x112),_0x14c20e[_0x2fb665(0x156)]=_0x2fb665(0x14a),_0x14c20e['DuZhs']=_0x2fb665(0x15e),_0x14c20e[_0x2fb665(0x140)]='TestRunFinished',_0x14c20e[_0x2fb665(0x134)]='TestRunSkipped',_0x14c20e[_0x2fb665(0x166)]='HookRunFinished',_0x14c20e[_0x2fb665(0x175)]=_0x2fb665(0x12c),_0x14c20e[_0x2fb665(0x141)]=_0x2fb665(0x105),_0x14c20e[_0x2fb665(0x11d)]=_0x2fb665(0x133),_0x14c20e[_0x2fb665(0x111)]=_0x2fb665(0x132),_0x14c20e[_0x2fb665(0x164)]=_0x2fb665(0x118);const _0x4ab89d=_0x14c20e,_0x1f2dd6=_0x4ab89d[_0x2fb665(0x167)][_0x2fb665(0x14d)]('|');let _0x4419c8=0x0;while(!![]){switch(_0x1f2dd6[_0x4419c8++]){case'0':this[_0x2fb665(0x106)]=[_0x4ab89d[_0x2fb665(0x156)],_0x4ab89d[_0x2fb665(0x123)],_0x4ab89d[_0x2fb665(0x140)],_0x4ab89d[_0x2fb665(0x134)],_0x4ab89d[_0x2fb665(0x166)],_0x4ab89d[_0x2fb665(0x175)],_0x4ab89d[_0x2fb665(0x141)]];continue;case'1':this['pollEventBatchInterval']=null;continue;case'2':this[_0x2fb665(0x168)]=_0x4ab89d[_0x2fb665(0x11d)];continue;case'3':this[_0x2fb665(0x121)]=[];continue;case'4':this[_0x2fb665(0x171)]=_0x4ab89d[_0x2fb665(0x111)];continue;case'5':this['screenshotEventUrl']=_0x4ab89d[_0x2fb665(0x164)];continue;case'6':this[_0x2fb665(0x10f)]=![];continue;}break;}}static[a128_0x990ba0(0x162)](){const _0x1ba8db=a128_0x990ba0;return!RequestQueueHandler[_0x1ba8db(0x135)]&&(RequestQueueHandler[_0x1ba8db(0x135)]=new RequestQueueHandler()),RequestQueueHandler['instance'];}[a128_0x990ba0(0x161)]=()=>{const _0xfdbe2e=a128_0x990ba0;!this[_0xfdbe2e(0x10f)]&&(this[_0xfdbe2e(0x10f)]=!![],this[_0xfdbe2e(0x117)]());};[a128_0x990ba0(0x113)]=_0x3a8785=>{const _0x207fe9=a128_0x990ba0,_0x2672ac={'mMGgo':function(_0x1a64d8,_0xc12648){return _0x1a64d8===_0xc12648;},'GMVyI':_0x207fe9(0x127),'uwIlN':function(_0x503120,_0x421a0d){return _0x503120>_0x421a0d;},'LuyEz':function(_0x2d4391,_0x4e651f){return _0x2d4391===_0x4e651f;},'mQESq':'TEST_ATTACHMENT','MYzAB':function(_0x5064f5,_0x22964c){return _0x5064f5!==_0x22964c;},'lgvBE':_0x207fe9(0x172),'FVhsn':function(_0xcfdcd6,_0x5ca244){return _0xcfdcd6(_0x5ca244);},'KeDPD':'Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..'};if(this[_0x207fe9(0x106)][_0x207fe9(0x147)](_0x3a8785[_0x207fe9(0x159)])){if(_0x3a8785[_0x207fe9(0x11c)]&&_0x3a8785[_0x207fe9(0x11c)][0x0]&&_0x2672ac[_0x207fe9(0x129)](_0x3a8785[_0x207fe9(0x11c)][0x0][_0x207fe9(0x124)],_0x2672ac[_0x207fe9(0x16f)])){const _0x240e01={};return _0x240e01[_0x207fe9(0x148)]=!![],_0x240e01[_0x207fe9(0x174)]=[_0x3a8785],_0x240e01[_0x207fe9(0x110)]=this[_0x207fe9(0x15c)],_0x240e01;}if(_0x3a8785[_0x207fe9(0x11c)]&&_0x2672ac[_0x207fe9(0x153)](_0x3a8785[_0x207fe9(0x11c)][_0x207fe9(0x10e)],0x0)&&_0x2672ac['LuyEz'](_0x3a8785[_0x207fe9(0x11c)][0x0][_0x207fe9(0x124)],_0x2672ac[_0x207fe9(0x13e)])&&_0x2672ac[_0x207fe9(0x139)](_0x3a8785['event_type'],_0x2672ac['lgvBE'])){const _0x362e06={};return _0x362e06[_0x207fe9(0x148)]=!![],_0x362e06[_0x207fe9(0x174)]=[_0x3a8785],_0x362e06['proceedWithUrl']=this['uploadAttachmentUrl'],_0x362e06;}this[_0x207fe9(0x121)][_0x207fe9(0x12d)](_0x3a8785);let _0x17df55=null;const _0x81cf7f=this[_0x207fe9(0x148)]();_0x81cf7f&&(_0x2672ac[_0x207fe9(0x170)](trace,_0x2672ac[_0x207fe9(0x136)]),_0x17df55=this['queue'][_0x207fe9(0x108)](0x0,BATCH_SIZE),this['queue'][_0x207fe9(0x114)](0x0,BATCH_SIZE),this[_0x207fe9(0x163)]());const _0x1e6c9a={};return _0x1e6c9a[_0x207fe9(0x148)]=_0x81cf7f,_0x1e6c9a[_0x207fe9(0x174)]=_0x17df55,_0x1e6c9a[_0x207fe9(0x110)]=this[_0x207fe9(0x171)],_0x1e6c9a;}const _0x463b27={};return _0x463b27['shouldProceed']=!![],_0x463b27;};[a128_0x990ba0(0x16a)]=async()=>{const _0x4fcacf=a128_0x990ba0,_0x5baf24={'Oehbb':_0x4fcacf(0x12f),'Rnclw':function(_0x3f2d5e,_0x254edc){return _0x3f2d5e>_0x254edc;},'hXycJ':_0x4fcacf(0x169),'EvvnI':function(_0x2e5e5d,_0x33f4b6){return _0x2e5e5d(_0x33f4b6);}};await this[_0x4fcacf(0x12a)](),this['removeEventBatchPolling'](_0x5baf24[_0x4fcacf(0x177)]);while(_0x5baf24[_0x4fcacf(0x137)](this['queue'][_0x4fcacf(0x10e)],0x0)){const _0x4a21e6=this[_0x4fcacf(0x121)][_0x4fcacf(0x108)](0x0,BATCH_SIZE);this[_0x4fcacf(0x121)]['splice'](0x0,BATCH_SIZE),await this[_0x4fcacf(0x173)](this[_0x4fcacf(0x171)],_0x5baf24['hXycJ'],_0x4a21e6);}_0x5baf24[_0x4fcacf(0x137)](this[_0x4fcacf(0x10d)],0x0)&&_0x5baf24[_0x4fcacf(0x125)](debug,_0x4fcacf(0x13b)+this['pendingUploads']);};['batchAndPostEvents']=async(_0x2aaba3,_0x40d95a,_0x50bcfa)=>{const _0x5c3341=a128_0x990ba0,_0x1c15e0={'MiIWf':function(_0x3ebe4e,_0x556a1c){return _0x3ebe4e(_0x556a1c);},'bhyvi':'utf8','RuNWR':function(_0x544b8b){return _0x544b8b();},'LEWAy':function(_0x5c4e67,_0x1622f0,_0x362147,_0x166fc6,_0x508307){return _0x5c4e67(_0x1622f0,_0x362147,_0x166fc6,_0x508307);},'KDSfD':_0x5c3341(0x11e),'KXTGG':function(_0x1aabea,_0x2eda2a){return _0x1aabea(_0x2eda2a);},'sEiEh':function(_0x4fcd0f,_0x285975){return _0x4fcd0f-_0x285975;},'gZgrr':function(_0x4096da,_0x10564b){return _0x4096da(_0x10564b);}};let _0x43c19f='';try{_0x43c19f=_0x50bcfa[_0x5c3341(0x165)](_0x6ea3ec=>'\x27'+_0x6ea3ec[_0x5c3341(0x159)]+'\x27:'+(nestedKeyValue(_0x6ea3ec,[_0x5c3341(0x13c),_0x5c3341(0x146)])||nestedKeyValue(_0x6ea3ec,[_0x5c3341(0x155),_0x5c3341(0x146)])))['join'](','),_0x1c15e0['MiIWf'](debug,_0x5c3341(0x103)+_0x40d95a+_0x5c3341(0x160)+Buffer[_0x5c3341(0x14c)](util['format']('%j',_0x50bcfa),_0x1c15e0[_0x5c3341(0x14b)])+'\x20bytes.\x20Events\x20are\x20'+_0x43c19f);}catch(_0x3c35bf){_0x1c15e0['MiIWf'](debug,_0x5c3341(0x151)+util[_0x5c3341(0x13d)](_0x3c35bf)+'}');}const _0xfc600b={'headers':_0x1c15e0[_0x5c3341(0x128)](getDefaultHeaders)};try{const _0x55d56a=await _0x1c15e0[_0x5c3341(0x14e)](nodeRequest,_0x1c15e0[_0x5c3341(0x10c)],_0x2aaba3,_0x50bcfa,_0xfc600b);if(_0x55d56a['data']['error']){const _0x5a29ed={};_0x5a29ed[_0x5c3341(0x12e)]=_0x55d56a[_0x5c3341(0x104)]['error'];throw _0x5a29ed;}else _0x1c15e0['KXTGG'](debug,_0x40d95a+_0x5c3341(0x107)+_0x43c19f+'\x20--\x20'+util[_0x5c3341(0x13d)]('%j',_0x55d56a[_0x5c3341(0x104)])),this[_0x5c3341(0x10d)]=Math[_0x5c3341(0x116)](0x0,_0x1c15e0[_0x5c3341(0x130)](this[_0x5c3341(0x10d)],_0x50bcfa[_0x5c3341(0x10e)]));}catch(_0x19a678){_0x19a678[_0x5c3341(0x115)]?_0x1c15e0[_0x5c3341(0x157)](debug,_0x5c3341(0x15a)+_0x40d95a+_0x5c3341(0x10b)+constants[_0x5c3341(0x14f)]+_0x5c3341(0x131)+_0x19a678[_0x5c3341(0x115)]['status']+'\x20'+_0x19a678[_0x5c3341(0x115)]['statusText']+'\x20'+util[_0x5c3341(0x13d)]('%j',_0x19a678[_0x5c3341(0x115)])):_0x1c15e0[_0x5c3341(0x157)](debug,_0x5c3341(0x15a)+_0x40d95a+_0x5c3341(0x10b)+constants[_0x5c3341(0x14f)]+_0x5c3341(0x131)+(_0x19a678[_0x5c3341(0x12e)]||_0x19a678)),this[_0x5c3341(0x10d)]=Math[_0x5c3341(0x116)](0x0,_0x1c15e0[_0x5c3341(0x130)](this[_0x5c3341(0x10d)],_0x50bcfa[_0x5c3341(0x10e)]));}};[a128_0x990ba0(0x117)]=()=>{const _0x25ea8f=a128_0x990ba0,_0x4a9b18={'NBool':function(_0x38c5f7,_0x162926){return _0x38c5f7>_0x162926;},'ZTdFS':function(_0x14a9a3,_0x11907b){return _0x14a9a3(_0x11907b);},'XoXnK':_0x25ea8f(0x119),'cDhYt':function(_0x5c3609,_0x450c70){return _0x5c3609(_0x450c70);},'rvcuX':function(_0x4bb816,_0x4a1934,_0x5ec7a7){return _0x4bb816(_0x4a1934,_0x5ec7a7);}};this[_0x25ea8f(0x122)]=_0x4a9b18[_0x25ea8f(0x11f)](setInterval,async()=>{const _0x432caa=_0x25ea8f;if(_0x4a9b18[_0x432caa(0x15b)](this[_0x432caa(0x121)][_0x432caa(0x10e)],0x0)){_0x4a9b18[_0x432caa(0x15d)](trace,_0x432caa(0x16b)+this[_0x432caa(0x121)]['length']);const _0xcb7716=this[_0x432caa(0x121)][_0x432caa(0x108)](0x0,BATCH_SIZE);this[_0x432caa(0x121)][_0x432caa(0x114)](0x0,BATCH_SIZE),await this[_0x432caa(0x173)](this[_0x432caa(0x171)],_0x4a9b18[_0x432caa(0x149)],_0xcb7716),_0x4a9b18['cDhYt'](trace,'Remaining\x20Queue\x20Length\x20-\x20'+this[_0x432caa(0x121)][_0x432caa(0x10e)]);}},BATCH_INTERVAL);};[a128_0x990ba0(0x163)]=()=>{const _0x580e96=a128_0x990ba0,_0x1381ef={};_0x1381ef[_0x580e96(0x144)]='RESETTING';const _0x35879e=_0x1381ef;this[_0x580e96(0x12b)](_0x35879e[_0x580e96(0x144)]),this[_0x580e96(0x117)]();};[a128_0x990ba0(0x12b)]=_0x23150b=>{const _0x2686eb=a128_0x990ba0,_0x123198={'iVPDK':function(_0x960ebd,_0x3ffa4a){return _0x960ebd(_0x3ffa4a);},'QlwZB':function(_0x38b57d,_0x34ed96){return _0x38b57d===_0x34ed96;},'GvBCn':_0x2686eb(0x12f)};this[_0x2686eb(0x122)]&&(_0x123198[_0x2686eb(0x10a)](clearInterval,this[_0x2686eb(0x122)]),this[_0x2686eb(0x122)]=null,_0x123198[_0x2686eb(0x152)](_0x23150b,_0x123198[_0x2686eb(0x150)])&&(this[_0x2686eb(0x10f)]=![]));};[a128_0x990ba0(0x148)]=()=>{const _0xbbed1b=a128_0x990ba0,_0x41db4c={};_0x41db4c['pjuyf']=function(_0x6faa27,_0x3a8a4f){return _0x6faa27>=_0x3a8a4f;};const _0x5b1bb6=_0x41db4c;return _0x5b1bb6[_0xbbed1b(0x126)](this[_0xbbed1b(0x121)]['length'],BATCH_SIZE);};async[a128_0x990ba0(0x12a)](_0x1f7d75=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x4f2b4c=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x3bd5f6=a128_0x990ba0,_0x377bc4={'fxWPG':function(_0x50d46d,_0x385b9a){return _0x50d46d<=_0x385b9a;},'ByXnl':function(_0x537fb8,_0xfc62ff){return _0x537fb8(_0xfc62ff);},'mYHoK':function(_0xce9c06,_0x4322ff){return _0xce9c06-_0x4322ff;}};if(_0x377bc4[_0x3bd5f6(0x154)](this['pendingUploads'],0x0)||_0x377bc4[_0x3bd5f6(0x154)](_0x1f7d75,0x0))return;return await _0x377bc4[_0x3bd5f6(0x142)](sleep,_0x4f2b4c),this[_0x3bd5f6(0x12a)](_0x377bc4[_0x3bd5f6(0x138)](_0x1f7d75,_0x4f2b4c));}}function a128_0x388c(_0x3d6828,_0x5a317b){const _0x697135=a128_0x6971();return a128_0x388c=function(_0x388c77,_0x45e592){_0x388c77=_0x388c77-0x103;let _0x1ccaba=_0x697135[_0x388c77];return _0x1ccaba;},a128_0x388c(_0x3d6828,_0x5a317b);}module[a128_0x990ba0(0x145)]=RequestQueueHandler;