browserstack-node-sdk 1.50.0 → 1.50.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
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
|
+
function a120_0x514b(){const _0x5427bc=['SDK_PERCY','SDK_CLEANUP','SDK_AUTOMATE','SESSION_STATUS','A11Y_EVENTS','TURBOSCALE_EVENTS','SDK_ACCESSIBILITY_CONFIG','SNAPSHOT','LOCAL_START','QUIT','SDK_CLI_ON_STOP','SAVE_RESULTS','77446MkiEnB','TESTHUB_EVENTS','SDK_POST_TEST','97797uUtdLT','SYNC','PERCY_EVENTS','sdk:a11y','TAKE_SCREENSHOT','SDK_CONNECT_BIN_SESSION','2837324diWNBe','sdk:setup','SDK_TEST_SESSION_EVENT','2760174geQgRA','sdk:automationFrameworkStart','sdk:o11y','SDK_AI_SELF_HEAL_STEP','sdk:cli:on-bootstrap','1710980fwwIlZ',':after','GET_RESULTS','sdk:turboscale','SDK_ON_STOP','sdk:percy',':after-all','sdk:driver',':ci-artifacts','SDK_A11Y',':before-all','sdk:testSessionEvent',':driver-takeScreenShot','sdk:aiSelfHealGetResult','sdk:testhub','SDK_DRIVER_INIT','sdk:cli:on-stop','SCREENSHOT','SESSION_ANNOTATION','sdk:proxy-setup','sdk:cli:on-connect',':snapshot',':get-accessibility-results-summary',':after-each',':idle-timeout',':before-each','PRE_EXECUTE','23043330KwJOty','SDK_SETUP','SDK_AUTO_CAPTURE','SDK_CLI_CHECK_UPDATE','SESSION_NAME',':print-buildlink','SDK_HOOK','sdk:automationFrameworkInit','sdk:automationFrameworkStop','sdk:pre-test','sdk:accessibilityConfig','SDK_CLI_DOWNLOAD','LOCAL_STOP','sdk:cli:download',':hub-management','sdk:driver:pre-initialization','SDK_AUTOMATION_FRAMEWORK_STOP','AUTO_CAPTURE','sdk:aiSelfHealStep','DRIVER_EVENT','sdk:post-test','5507664QknAYa','AFTER',':stop',':get-accessibility-results','SDK_CLI_START','SDK_CLI_LOG_CREATED_EVENT','O11y_EVENTS','SDK_APP_AUTOMATE','SDK_PRE_INITIALIZE','sdk:app-automate','SDK_CLI_ON_BOOTSTRAP',':local-start','BEFORE_ALL',':post-execute','SDK_TURBOSCALE','AFTER_ALL','SDK_AUTOMATION_FRAMEWORK_START','SDK_POST_INITIALIZE','sdk:connectBinSession','KEEP_ALIVE','PRINT_BUILDLINK','EVENTS','SDK_PRE_TEST','sdk:cleanup','BEFORE_EACH','SDK_O11Y','SDK_FIND_NEAREST_HUB','sdk:cli:start',':driver-performscan','sdk:driverInit',':session-status','SDK_TESTHUB','sdk:observabilityConfig',':quit','HUB_MANAGEMENT','POST_EXECUTE','START','SDK_START_BIN_SESSION','sdk:onStop','IDLE_TIMEOUT','sdk:cli:logCreatedEvent','AUTOMATE_EVENTS','exports','APP_AUOTMATE_EVENTS','AFTER_EACH','DRIVER_MANAGE','sdk:findNearestHub',':before','SDK_CLI_ENQUEUE_TEST_EVENT','19nEUOfS','sdk:test','354sWrFKL',':screenshot-app',':app-upload','SDK_DRIVER','SDK_AI_SELF_HEAL_GET_RESULT','HOOK_EVENTS',':auto-capture','BEFORE',':keep-alive','sdk:auto-capture','sdk:automate'];a120_0x514b=function(){return _0x5427bc;};return a120_0x514b();}function a120_0x59a8(_0x86ba01,_0x4d3de5){const _0x514b91=a120_0x514b();return a120_0x59a8=function(_0x59a8a3,_0x518f23){_0x59a8a3=_0x59a8a3-0x1d2;let _0x99e870=_0x514b91[_0x59a8a3];return _0x99e870;},a120_0x59a8(_0x86ba01,_0x4d3de5);}const a120_0x3aadfd=a120_0x59a8;(function(_0x316977,_0x519573){const _0x1eec0b=a120_0x59a8,_0x49f67d=_0x316977();while(!![]){try{const _0x4de81b=parseInt(_0x1eec0b(0x1ef))/0x1*(-parseInt(_0x1eec0b(0x208))/0x2)+-parseInt(_0x1eec0b(0x214))/0x3+-parseInt(_0x1eec0b(0x211))/0x4+parseInt(_0x1eec0b(0x219))/0x5+-parseInt(_0x1eec0b(0x1f1))/0x6*(-parseInt(_0x1eec0b(0x20b))/0x7)+-parseInt(_0x1eec0b(0x249))/0x8+parseInt(_0x1eec0b(0x234))/0x9;if(_0x4de81b===_0x519573)break;else _0x49f67d['push'](_0x49f67d['shift']());}catch(_0x48e7ce){_0x49f67d['push'](_0x49f67d['shift']());}}}(a120_0x514b,0xa45f7));const a120_0x8b9eae={};a120_0x8b9eae[a120_0x3aadfd(0x235)]=a120_0x3aadfd(0x212),a120_0x8b9eae[a120_0x3aadfd(0x1fd)]=a120_0x3aadfd(0x1d5),a120_0x8b9eae[a120_0x3aadfd(0x1d4)]=a120_0x3aadfd(0x23d),a120_0x8b9eae['SDK_TEST']=a120_0x3aadfd(0x1f0),a120_0x8b9eae[a120_0x3aadfd(0x20a)]=a120_0x3aadfd(0x248),a120_0x8b9eae[a120_0x3aadfd(0x23a)]='sdk:hook',a120_0x8b9eae['SDK_DRIVER']=a120_0x3aadfd(0x220),a120_0x8b9eae['SDK_A11Y']=a120_0x3aadfd(0x20e),a120_0x8b9eae[a120_0x3aadfd(0x1d7)]=a120_0x3aadfd(0x216),a120_0x8b9eae[a120_0x3aadfd(0x236)]=a120_0x3aadfd(0x1fa),a120_0x8b9eae['SDK_PROXY_SETUP']=a120_0x3aadfd(0x22c),a120_0x8b9eae[a120_0x3aadfd(0x1dd)]=a120_0x3aadfd(0x227),a120_0x8b9eae[a120_0x3aadfd(0x1fe)]=a120_0x3aadfd(0x1fb),a120_0x8b9eae['SDK_APP_AUTOMATE']=a120_0x3aadfd(0x252),a120_0x8b9eae[a120_0x3aadfd(0x257)]=a120_0x3aadfd(0x21c),a120_0x8b9eae[a120_0x3aadfd(0x1fc)]=a120_0x3aadfd(0x21e),a120_0x8b9eae[a120_0x3aadfd(0x251)]=a120_0x3aadfd(0x243),a120_0x8b9eae[a120_0x3aadfd(0x25a)]='sdk:driver:post-initialization',a120_0x8b9eae[a120_0x3aadfd(0x24d)]=a120_0x3aadfd(0x1d9),a120_0x8b9eae[a120_0x3aadfd(0x23f)]=a120_0x3aadfd(0x241),a120_0x8b9eae[a120_0x3aadfd(0x237)]='sdk:cli:check-update',a120_0x8b9eae[a120_0x3aadfd(0x253)]=a120_0x3aadfd(0x218),a120_0x8b9eae['SDK_CLI_ON_CONNECT']=a120_0x3aadfd(0x22d),a120_0x8b9eae[a120_0x3aadfd(0x206)]=a120_0x3aadfd(0x229),a120_0x8b9eae[a120_0x3aadfd(0x1e3)]='sdk:startBinSession',a120_0x8b9eae[a120_0x3aadfd(0x210)]=a120_0x3aadfd(0x25b),a120_0x8b9eae[a120_0x3aadfd(0x228)]=a120_0x3aadfd(0x1db),a120_0x8b9eae[a120_0x3aadfd(0x1d8)]=a120_0x3aadfd(0x1ec),a120_0x8b9eae['SDK_AUTOMATION_FRAMEWORK_INIT']=a120_0x3aadfd(0x23b),a120_0x8b9eae[a120_0x3aadfd(0x259)]=a120_0x3aadfd(0x215),a120_0x8b9eae[a120_0x3aadfd(0x202)]=a120_0x3aadfd(0x23e),a120_0x8b9eae['SDK_OBSERVABILITY_CONFIG']=a120_0x3aadfd(0x1de),a120_0x8b9eae[a120_0x3aadfd(0x217)]=a120_0x3aadfd(0x246),a120_0x8b9eae[a120_0x3aadfd(0x1f5)]=a120_0x3aadfd(0x226),a120_0x8b9eae['SDK_TEST_FRAMEWORK_EVENT']='sdk:testFrameworkEvent',a120_0x8b9eae[a120_0x3aadfd(0x213)]=a120_0x3aadfd(0x224),a120_0x8b9eae[a120_0x3aadfd(0x24e)]=a120_0x3aadfd(0x1e6),a120_0x8b9eae[a120_0x3aadfd(0x1ee)]='sdk:cli:enqueueTestEvent',a120_0x8b9eae[a120_0x3aadfd(0x244)]=a120_0x3aadfd(0x23c),a120_0x8b9eae[a120_0x3aadfd(0x21d)]=a120_0x3aadfd(0x1e4);const SDK_EVENTS=a120_0x8b9eae,a120_0x58939d={};a120_0x58939d[a120_0x3aadfd(0x1d3)]=SDK_EVENTS,a120_0x58939d[a120_0x3aadfd(0x209)]={},a120_0x58939d[a120_0x3aadfd(0x1e7)]={},a120_0x58939d[a120_0x3aadfd(0x200)]={},a120_0x58939d[a120_0x3aadfd(0x20d)]={},a120_0x58939d[a120_0x3aadfd(0x24f)]={},a120_0x58939d[a120_0x3aadfd(0x1f6)]={},a120_0x58939d[a120_0x3aadfd(0x201)]={},a120_0x58939d[a120_0x3aadfd(0x1e9)]={},a120_0x58939d[a120_0x3aadfd(0x247)]={},a120_0x58939d[a120_0x3aadfd(0x209)]['START']=SDK_EVENTS[a120_0x3aadfd(0x1dd)]+':start',a120_0x58939d[a120_0x3aadfd(0x209)]['STOP']=SDK_EVENTS[a120_0x3aadfd(0x1dd)]+':stop',a120_0x58939d[a120_0x3aadfd(0x1e7)][a120_0x3aadfd(0x25c)]=SDK_EVENTS[a120_0x3aadfd(0x1fe)]+a120_0x3aadfd(0x1f9),a120_0x58939d[a120_0x3aadfd(0x1e7)]['HUB_MANAGEMENT']=SDK_EVENTS[a120_0x3aadfd(0x1fe)]+a120_0x3aadfd(0x242),a120_0x58939d[a120_0x3aadfd(0x1e7)][a120_0x3aadfd(0x204)]=SDK_EVENTS[a120_0x3aadfd(0x1fe)]+a120_0x3aadfd(0x254),a120_0x58939d[a120_0x3aadfd(0x1e7)][a120_0x3aadfd(0x240)]=SDK_EVENTS[a120_0x3aadfd(0x1fe)]+':local-stop',a120_0x58939d[a120_0x3aadfd(0x1e7)][a120_0x3aadfd(0x1eb)]=SDK_EVENTS[a120_0x3aadfd(0x1fe)]+':driver-manage',a120_0x58939d[a120_0x3aadfd(0x1e7)][a120_0x3aadfd(0x238)]=SDK_EVENTS[a120_0x3aadfd(0x1fe)]+':session-name',a120_0x58939d[a120_0x3aadfd(0x1e7)][a120_0x3aadfd(0x1ff)]=SDK_EVENTS[a120_0x3aadfd(0x1fe)]+a120_0x3aadfd(0x1dc),a120_0x58939d[a120_0x3aadfd(0x1e7)][a120_0x3aadfd(0x22b)]=SDK_EVENTS[a120_0x3aadfd(0x1fe)]+':session-annotation',a120_0x58939d[a120_0x3aadfd(0x1e7)][a120_0x3aadfd(0x1e5)]=SDK_EVENTS[a120_0x3aadfd(0x1fe)]+a120_0x3aadfd(0x231),a120_0x58939d[a120_0x3aadfd(0x1e7)]['GENERATE_CI_ARTIFACT']=SDK_EVENTS[a120_0x3aadfd(0x1fe)]+a120_0x3aadfd(0x221),a120_0x58939d[a120_0x3aadfd(0x1e7)][a120_0x3aadfd(0x1d2)]=SDK_EVENTS[a120_0x3aadfd(0x1fe)]+a120_0x3aadfd(0x239),a120_0x58939d[a120_0x3aadfd(0x200)]['PERFORM_SCAN']=SDK_EVENTS[a120_0x3aadfd(0x222)]+a120_0x3aadfd(0x1da),a120_0x58939d[a120_0x3aadfd(0x200)][a120_0x3aadfd(0x207)]=SDK_EVENTS[a120_0x3aadfd(0x222)]+':save-results',a120_0x58939d[a120_0x3aadfd(0x200)][a120_0x3aadfd(0x21b)]=SDK_EVENTS['SDK_A11Y']+a120_0x3aadfd(0x24c),a120_0x58939d[a120_0x3aadfd(0x200)]['GET_RESULTS_SUMMARY']=SDK_EVENTS[a120_0x3aadfd(0x222)]+a120_0x3aadfd(0x22f),a120_0x58939d[a120_0x3aadfd(0x20d)]['DOWNLOAD']=SDK_EVENTS['SDK_PERCY']+':download',a120_0x58939d[a120_0x3aadfd(0x20d)][a120_0x3aadfd(0x22a)]=SDK_EVENTS[a120_0x3aadfd(0x1fc)]+':screenshot',a120_0x58939d[a120_0x3aadfd(0x20d)][a120_0x3aadfd(0x1e2)]=SDK_EVENTS[a120_0x3aadfd(0x1fc)]+':start',a120_0x58939d[a120_0x3aadfd(0x20d)]['STOP']=SDK_EVENTS[a120_0x3aadfd(0x1fc)]+a120_0x3aadfd(0x24b),a120_0x58939d[a120_0x3aadfd(0x20d)][a120_0x3aadfd(0x245)]=SDK_EVENTS['SDK_PERCY']+a120_0x3aadfd(0x1f7),a120_0x58939d[a120_0x3aadfd(0x20d)][a120_0x3aadfd(0x203)]=SDK_EVENTS[a120_0x3aadfd(0x1fc)]+a120_0x3aadfd(0x22e),a120_0x58939d[a120_0x3aadfd(0x20d)]['SCREENSHOT_APP']=SDK_EVENTS[a120_0x3aadfd(0x1fc)]+a120_0x3aadfd(0x1f2),a120_0x58939d[a120_0x3aadfd(0x24f)][a120_0x3aadfd(0x20c)]=SDK_EVENTS[a120_0x3aadfd(0x1d7)]+':sync',a120_0x58939d[a120_0x3aadfd(0x24f)][a120_0x3aadfd(0x20f)]=SDK_EVENTS[a120_0x3aadfd(0x1d7)]+a120_0x3aadfd(0x225),a120_0x58939d[a120_0x3aadfd(0x24f)][a120_0x3aadfd(0x1d2)]=SDK_EVENTS[a120_0x3aadfd(0x1d7)]+':print-buildlink',a120_0x58939d[a120_0x3aadfd(0x1f6)][a120_0x3aadfd(0x1d6)]=SDK_EVENTS[a120_0x3aadfd(0x23a)]+a120_0x3aadfd(0x232),a120_0x58939d[a120_0x3aadfd(0x1f6)][a120_0x3aadfd(0x1ea)]=SDK_EVENTS[a120_0x3aadfd(0x23a)]+a120_0x3aadfd(0x230),a120_0x58939d[a120_0x3aadfd(0x1f6)][a120_0x3aadfd(0x258)]=SDK_EVENTS['SDK_HOOK']+a120_0x3aadfd(0x21f),a120_0x58939d[a120_0x3aadfd(0x1f6)][a120_0x3aadfd(0x255)]=SDK_EVENTS[a120_0x3aadfd(0x23a)]+a120_0x3aadfd(0x223),a120_0x58939d[a120_0x3aadfd(0x1f6)][a120_0x3aadfd(0x1f8)]=SDK_EVENTS[a120_0x3aadfd(0x23a)]+a120_0x3aadfd(0x1ed),a120_0x58939d[a120_0x3aadfd(0x1f6)][a120_0x3aadfd(0x24a)]=SDK_EVENTS['SDK_HOOK']+a120_0x3aadfd(0x21a),a120_0x58939d[a120_0x3aadfd(0x201)][a120_0x3aadfd(0x1e0)]=SDK_EVENTS[a120_0x3aadfd(0x257)]+a120_0x3aadfd(0x242),a120_0x58939d[a120_0x3aadfd(0x201)]['PRINT_BUILDLINK']=SDK_EVENTS[a120_0x3aadfd(0x257)]+a120_0x3aadfd(0x239),a120_0x58939d[a120_0x3aadfd(0x1e9)]['APP_UPLOAD']=SDK_EVENTS[a120_0x3aadfd(0x250)]+a120_0x3aadfd(0x1f3),a120_0x58939d[a120_0x3aadfd(0x247)][a120_0x3aadfd(0x205)]=SDK_EVENTS[a120_0x3aadfd(0x1f4)]+a120_0x3aadfd(0x1df),a120_0x58939d[a120_0x3aadfd(0x247)]['GET']=SDK_EVENTS[a120_0x3aadfd(0x1f4)]+':get',a120_0x58939d[a120_0x3aadfd(0x247)][a120_0x3aadfd(0x233)]=SDK_EVENTS[a120_0x3aadfd(0x1f4)]+':pre-execute',a120_0x58939d[a120_0x3aadfd(0x247)][a120_0x3aadfd(0x1e1)]=SDK_EVENTS[a120_0x3aadfd(0x1f4)]+a120_0x3aadfd(0x256),module[a120_0x3aadfd(0x1e8)]=a120_0x58939d;
|
|
@@ -1 +1 @@
|
|
|
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
|
+
function a121_0x1cd1(){const _0x4b95e9=['errorFile','measures','name','error\x20in\x20measure\x20','isArray','captureError','readdir','TJOFu','apply','.json','mDDQE','stack','/error-report-','exports','XeiMu','resolve','flat','writeFile','performance-own.html','readFile','tZcvc','finalize','forEach','readFileSync','UxfFB','925014GsCWIe','_events','Error\x20in\x20writing\x20html\x20','YUuZs','parse','ufwqq','disconnect','platform','concat','format','message','dirname','2JwpGOK','_observer','assign','yoktl','generateHTMLReport','Riird','entries','calculateTimesFromMultipleFiles','__platformCaps','ugZxP','../logger','pushPerfMeasures','toString','calculateTimeFromEvents','appendFileSync','winstonLogger','jsonReportDirName','getCleanedPerfEvents','mkdirSync','dVgSv','../processHelper','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','Zolzw','34506290nUbCak','-end','Error\x20in\x20doing\x20csv\x20operations:\x20','key-metrics.json\x20file\x20not\x20found,\x20skipping\x20processing\x20for\x20event\x20for\x20cli.','GBKey','_errorEvents','start','</td><td>','YEXyv','mark','success','vgkAG','measure','bWmvy','failure','LTdwF','fs/promises','RbWKI','constants','fHuLn','errorReportFileName','isEnabled','errorReportDirName','slice','CnZyE','details','IqejT','</td></tr>','utf-8','finalizePerfMeasures','info','observe','then','jsonReportFileName','aOYMq','util','modified-key-metrics.json','DcEzz','map','xNjFb','end','plRzj','VRXub','KOAxA','stringify','ijSws','TdMmp','RYcOM','Error\x20processing\x20key-metrics.json:\x20%s','pushErrors','cwd','Uhapd','env','catch','path','hVTqK','unlink','access','\x20for\x20all\x20processes\x20is\x20','stopMonitoring','</tbody></table></body></html>','uHiQB','16676UrafPy','HQIUe','BwQic','jsonReportDirPath','Time\x20for\x20','ZuIEc','yflLP','_measureEvents','Performance\x20report\x20is\x20at\x20','423094UFFbIL','join','Error\x20while\x20removing\x20files:\x20','ZJorQ','startMonitoring','existsSync','duration','5399947YUxApo','getEventsFromJSON','-start','getPerformance','YpOlG','CBNES','toJSON','OQszM','rtlaI','buffered','error-report','readdirSync','started','getEntries','163992TUNTUY','performance-report','UsabC','/performance-report-','push','stopAndGenerate','JypMS','<h1>Performance\x20Report</h1>','F_OK','browserStackCwd','debug','generateJSON','false','720RlMSXa','all','QihFm','key-metrics.json','errors','hKrsE','eventsMap','length','code','reduce','meta','finalizeErrors','kwcAg','3111642GlnCyh','Wisdf','Griaw','entryType','441WvlpOl','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>'];a121_0x1cd1=function(){return _0x4b95e9;};return a121_0x1cd1();}function a121_0x52a6(_0x13d8f0,_0x525380){const _0x1cd12b=a121_0x1cd1();return a121_0x52a6=function(_0x52a67f,_0x50da1b){_0x52a67f=_0x52a67f-0x1e5;let _0x4a8f93=_0x1cd12b[_0x52a67f];return _0x4a8f93;},a121_0x52a6(_0x13d8f0,_0x525380);}const a121_0x48a627=a121_0x52a6;(function(_0x11af7d,_0x28cb6a){const _0x5100cc=a121_0x52a6,_0x3db425=_0x11af7d();while(!![]){try{const _0x2c9069=parseInt(_0x5100cc(0x246))/0x1*(parseInt(_0x5100cc(0x1ec))/0x2)+parseInt(_0x5100cc(0x21b))/0x3+-parseInt(_0x5100cc(0x29b))/0x4*(-parseInt(_0x5100cc(0x20e))/0x5)+parseInt(_0x5100cc(0x23a))/0x6+parseInt(_0x5100cc(0x1f3))/0x7+parseInt(_0x5100cc(0x201))/0x8*(parseInt(_0x5100cc(0x21f))/0x9)+-parseInt(_0x5100cc(0x25d))/0xa;if(_0x2c9069===_0x28cb6a)break;else _0x3db425['push'](_0x3db425['shift']());}catch(_0xba874c){_0x3db425['push'](_0x3db425['shift']());}}}(a121_0x1cd1,0x83d98));const fs=require('fs'),fsPromise=require(a121_0x48a627(0x26d)),{performance,PerformanceObserver}=require('perf_hooks'),path=require(a121_0x48a627(0x293)),util=require(a121_0x48a627(0x280)),logger=require(a121_0x48a627(0x250))[a121_0x48a627(0x255)],{getLogDir}=require(a121_0x48a627(0x250)),{getProcessId,sleep,debug,getTestName}=require(a121_0x48a627(0x25a));class PerformanceTester{static ['_observer'];static [a121_0x48a627(0x23b)]=[];static [a121_0x48a627(0x1ea)]=[];static [a121_0x48a627(0x262)]=[];static [a121_0x48a627(0x1ff)]=![];static [a121_0x48a627(0x256)]=a121_0x48a627(0x202);static ['errorReportDirName']=process['env'][a121_0x48a627(0x20a)]?path[a121_0x48a627(0x1ed)](process[a121_0x48a627(0x291)][a121_0x48a627(0x20a)],'error-report'):path['join'](process[a121_0x48a627(0x28f)](),a121_0x48a627(0x1fd));static [a121_0x48a627(0x271)]=this[a121_0x48a627(0x273)]+a121_0x48a627(0x22d)+getProcessId()+a121_0x48a627(0x22a);static ['details']={};static ['eventsMap']={};static[a121_0x48a627(0x1f0)](_0xca1272,_0x310c4c=this['errorReportDirName']+a121_0x48a627(0x22d)+getProcessId()+a121_0x48a627(0x22a)){const _0x3f422b=a121_0x48a627,_0x808af3={'YUuZs':function(_0x40b378,_0x2fc293){return _0x40b378===_0x2fc293;},'UsabC':'measure','yflLP':function(_0x25145e){return _0x25145e();},'RbWKI':function(_0x57f4ff,_0x120e4c){return _0x57f4ff+_0x120e4c;},'rtlaI':_0x3f422b(0x25b),'Griaw':'function'};try{this[_0x3f422b(0x1e6)]=path[_0x3f422b(0x1ed)](_0x808af3[_0x3f422b(0x1e9)](getLogDir),this[_0x3f422b(0x256)]),!_0xca1272&&(_0xca1272=this['jsonReportDirPath']+_0x3f422b(0x204)+_0x808af3[_0x3f422b(0x1e9)](getProcessId)+_0x3f422b(0x22a)),!fs[_0x3f422b(0x1f1)](this['jsonReportDirPath'])&&fs[_0x3f422b(0x258)](this[_0x3f422b(0x1e6)]);}catch(_0x1bfe66){logger['debug'](_0x808af3[_0x3f422b(0x26e)](_0x808af3[_0x3f422b(0x1fb)],_0x1bfe66));}if(this['started']||!this[_0x3f422b(0x272)]())return;this['_observer']=new PerformanceObserver(_0x1d06e5=>{const _0x30c249=_0x3f422b,_0x55d35a={'VRXub':function(_0x372f19,_0x196800){const _0x1ce9c7=a121_0x52a6;return _0x808af3[_0x1ce9c7(0x23d)](_0x372f19,_0x196800);},'ufwqq':_0x808af3[_0x30c249(0x203)]};_0x1d06e5[_0x30c249(0x200)]()[_0x30c249(0x237)](_0x424e9e=>{const _0x4e0180=_0x30c249;if(_0x55d35a[_0x4e0180(0x287)](_0x424e9e[_0x4e0180(0x21e)],_0x55d35a[_0x4e0180(0x23f)])){let _0x5297a1={};if(_0x424e9e['toJSON'])_0x5297a1=_0x424e9e[_0x4e0180(0x1f9)]();else for(const _0x5af814 in _0x424e9e){_0x5297a1[_0x5af814]=_0x424e9e[_0x5af814];}this[_0x4e0180(0x276)][_0x424e9e[_0x4e0180(0x223)]]&&(_0x5297a1=Object[_0x4e0180(0x248)](_0x5297a1,this[_0x4e0180(0x276)][_0x424e9e['name']])),delete this['details'][_0x424e9e['name']],this[_0x4e0180(0x1ea)][_0x4e0180(0x205)](_0x5297a1);}else this[_0x4e0180(0x23b)][_0x4e0180(0x205)](_0x424e9e);});});const _0x8ee55b={};_0x8ee55b[_0x3f422b(0x1fc)]=!![],_0x8ee55b['entryTypes']=[_0x808af3[_0x3f422b(0x21d)],_0x808af3[_0x3f422b(0x203)]],this[_0x3f422b(0x247)][_0x3f422b(0x27c)](_0x8ee55b),this[_0x3f422b(0x1ff)]=!![],this[_0x3f422b(0x27e)]=_0xca1272,this['errorReportFileName']=_0x310c4c;}static[a121_0x48a627(0x1f6)](){return performance;}static[a121_0x48a627(0x253)](_0x364782,_0x378f43){const _0x40826d=a121_0x48a627,_0x6e47c7={};_0x6e47c7[_0x40826d(0x27f)]=function(_0x7d26de,_0x5dbe4e){return _0x7d26de+_0x5dbe4e;},_0x6e47c7[_0x40826d(0x261)]=function(_0xd82891,_0x3bbeb0){return _0xd82891||_0x3bbeb0;},_0x6e47c7[_0x40826d(0x26c)]=function(_0x13b3ed,_0x555238){return _0x13b3ed===_0x555238;};const _0x45b2c2=_0x6e47c7,_0x2c0c01={};if(!_0x364782||_0x45b2c2[_0x40826d(0x26c)](_0x364782['length'],0x0))return;_0x364782[_0x40826d(0x283)](_0x212244=>{const _0x18098c=_0x40826d;!_0x2c0c01[_0x212244['name']]&&(_0x2c0c01[_0x212244[_0x18098c(0x223)]]=0x0),_0x2c0c01[_0x212244[_0x18098c(0x223)]]+=_0x212244[_0x18098c(0x1f2)];});const _0x543062=_0x378f43[_0x40826d(0x217)]((_0x178a06,_0x2193eb)=>{const _0x3851f7=_0x40826d;return _0x45b2c2[_0x3851f7(0x27f)](_0x2c0c01[_0x2193eb],_0x45b2c2[_0x3851f7(0x261)](_0x178a06,0x0));},0x0);return _0x543062;}static async[a121_0x48a627(0x24d)](_0x196630,_0x3c916d){const _0x233781=a121_0x48a627,_0x3fb7e8={'plRzj':function(_0x43fb7e,_0x403b54){return _0x43fb7e+_0x403b54;},'HQIUe':function(_0x32a91e,_0x2a0fcf){return _0x32a91e||_0x2a0fcf;},'YEXyv':function(_0x13262c,_0x49f3c2){return _0x13262c===_0x49f3c2;},'fHuLn':function(_0x242587,_0x2f1fd2){return _0x242587(_0x2f1fd2);},'kwcAg':function(_0x33ac99,_0x168bcd){return _0x33ac99(_0x168bcd);}};if(!_0x196630||_0x3fb7e8[_0x233781(0x265)](_0x196630[_0x233781(0x215)],0x0))return 0x0;const _0x12e353=[];for(const _0x119bb7 of _0x196630){const _0x2aedfa=path[_0x233781(0x1ed)]('.',_0x119bb7);try{const _0x5f2ce4=this['getEventsFromJSON'](_0x2aedfa);_0x5f2ce4[_0x233781(0x283)](_0x56ef4b=>{const _0x47ab0b=_0x233781;!_0x12e353[_0x56ef4b[_0x47ab0b(0x223)]]&&(_0x12e353[_0x56ef4b['name']]=0x0),_0x12e353[_0x56ef4b['name']]+=_0x56ef4b['duration'];});}catch(_0xf853ad){_0x3fb7e8[_0x233781(0x270)](debug,_0x233781(0x25f)+_0xf853ad[_0x233781(0x252)]());}}const _0xd46a83=_0x3c916d[_0x233781(0x217)]((_0x5a7612,_0x5d69cc)=>{const _0x4af7f7=_0x233781;return _0x3fb7e8[_0x4af7f7(0x286)](_0x12e353[_0x5d69cc],_0x3fb7e8[_0x4af7f7(0x29c)](_0x5a7612,0x0));},0x0);return _0x3fb7e8[_0x233781(0x21a)](debug,_0x233781(0x1e7)+_0x3c916d+_0x233781(0x297)+_0xd46a83),_0xd46a83;}static[a121_0x48a627(0x1f4)](_0x10eb42){const _0x109273=a121_0x48a627;if(_0x10eb42){if(!fs[_0x109273(0x1f1)](_0x10eb42))return[];return JSON[_0x109273(0x23e)](fs[_0x109273(0x238)](_0x10eb42)[_0x109273(0x252)]());}}static async[a121_0x48a627(0x206)](_0x1ae7dc=a121_0x48a627(0x233),_0x453dc0=null){const _0x533293=a121_0x48a627,_0x239eaa={'ZuIEc':function(_0x35b3d4,_0xa22175){return _0x35b3d4(_0xa22175);},'JypMS':function(_0x3d6a09,_0x2ea4a8){return _0x3d6a09(_0x2ea4a8);}};if(!this[_0x533293(0x1ff)])return;await _0x239eaa[_0x533293(0x1e8)](sleep,0x1e),this[_0x533293(0x247)][_0x533293(0x240)](),this['started']=![],this[_0x533293(0x20c)](this['_events']);const _0x437f1a=this[_0x533293(0x24a)](this[_0x533293(0x23b)]),_0x3feaeb=path['join'](process[_0x533293(0x28f)](),_0x1ae7dc);fs[_0x533293(0x232)](_0x3feaeb,_0x437f1a,_0x494f66=>{const _0x45f2d4=_0x533293;if(_0x494f66){_0x239eaa[_0x45f2d4(0x1e8)](debug,_0x45f2d4(0x23c)+_0x494f66['toString']());return;}_0x239eaa[_0x45f2d4(0x207)](debug,_0x45f2d4(0x1eb)+_0x3feaeb);});if(_0x453dc0)return this[_0x533293(0x253)](this[_0x533293(0x23b)],_0x453dc0);}static[a121_0x48a627(0x24a)](_0x521daa){const _0x987ec=a121_0x48a627,_0x35ff4a={};_0x35ff4a[_0x987ec(0x25c)]=_0x987ec(0x220),_0x35ff4a[_0x987ec(0x1f8)]=_0x987ec(0x208),_0x35ff4a['AyNXC']='<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>',_0x35ff4a[_0x987ec(0x24f)]=_0x987ec(0x299);const _0x1576f3=_0x35ff4a;let _0x34a2e6=_0x1576f3[_0x987ec(0x25c)];return _0x34a2e6+=_0x1576f3['CBNES'],_0x34a2e6+=_0x1576f3['AyNXC'],_0x521daa[_0x987ec(0x237)](_0x49f120=>{const _0x117592=_0x987ec;_0x34a2e6+='<tr><td>'+_0x49f120[_0x117592(0x223)]+_0x117592(0x264)+_0x49f120[_0x117592(0x1f2)]+_0x117592(0x278);}),_0x34a2e6+=_0x1576f3[_0x987ec(0x24f)],_0x34a2e6;}static[a121_0x48a627(0x20c)](_0x18d4f2){const _0x235a36=a121_0x48a627;if(!this['jsonReportFileName'])return;const _0x466023={};_0x18d4f2[_0x235a36(0x283)](_0x27276c=>{const _0x3cce67=_0x235a36;!_0x466023[_0x27276c[_0x3cce67(0x223)]]&&(_0x466023[_0x27276c[_0x3cce67(0x223)]]=0x0),_0x466023[_0x27276c['name']]+=_0x27276c[_0x3cce67(0x1f2)];});const _0x3ddd17=Object[_0x235a36(0x24c)](_0x466023)[_0x235a36(0x283)](([_0x4db707,_0xe1734d])=>{const _0x29c6e0=_0x235a36,_0x302d1d={};return _0x302d1d['name']=_0x4db707,_0x302d1d[_0x29c6e0(0x1f2)]=_0xe1734d,_0x302d1d;});fs['writeFileSync'](this['jsonReportFileName'],JSON[_0x235a36(0x289)](_0x3ddd17));}static['isEnabled'](){const _0x592bf4=a121_0x48a627,_0x527b7d={};_0x527b7d[_0x592bf4(0x1f7)]=function(_0x561511,_0x263d04){return _0x561511===_0x263d04;},_0x527b7d['ZJorQ']=_0x592bf4(0x20d);const _0x45958c=_0x527b7d;return!_0x45958c['YpOlG'](process[_0x592bf4(0x291)]['BROWSERSTACK_SDK_INSTRUMENTATION'],_0x45958c[_0x592bf4(0x1ef)]);}static['measure'](_0x46abf1,_0x1f3751,_0x4454e3=null,_0x3793ae={},_0xf8a738=null){const _0x392cfc=a121_0x48a627,_0x1d179a={'IqejT':function(_0x8aa000,_0x3e922f){return _0x8aa000(_0x3e922f);},'UxfFB':function(_0xe17e66,_0x6a40c3){return _0xe17e66 instanceof _0x6a40c3;}};try{if(this[_0x392cfc(0x1ff)]&&this[_0x392cfc(0x272)]()){let _0x26e0a9=_0x46abf1;_0x4454e3&&(_0x26e0a9=_0x46abf1+'['+JSON['stringify'](_0x4454e3)+']');PerformanceTester['start'](_0x26e0a9),this[_0x392cfc(0x276)]&&(this['details'][_0x26e0a9]=_0x3793ae);try{const _0x356c4a=_0x1f3751[_0x392cfc(0x229)](null,_0xf8a738);if(_0x1d179a[_0x392cfc(0x239)](_0x356c4a,Promise))return new Promise((_0x5cb29e,_0x46aa04)=>{const _0x1f3f1b=_0x392cfc;_0x356c4a[_0x1f3f1b(0x27d)](_0x39727f=>{const _0x4e02bb=_0x1f3f1b;PerformanceTester[_0x4e02bb(0x285)](_0x26e0a9),_0x1d179a[_0x4e02bb(0x277)](_0x5cb29e,_0x39727f);})[_0x1f3f1b(0x292)](_0x28a61b=>{const _0x112076=_0x1f3f1b;PerformanceTester['end'](_0x26e0a9,![],util[_0x112076(0x243)](_0x28a61b)),_0x1d179a[_0x112076(0x277)](_0x46aa04,_0x28a61b);});});;return PerformanceTester['end'](_0x26e0a9),_0x356c4a;}catch(_0x141cf0){PerformanceTester[_0x392cfc(0x285)](_0x26e0a9,![],util[_0x392cfc(0x243)](_0x141cf0));throw _0x141cf0;}};return _0x1f3751[_0x392cfc(0x229)](null,_0xf8a738);}catch(_0x2f6c4d){return logger[_0x392cfc(0x20b)](_0x392cfc(0x224)+(_0x2f6c4d['stack']||_0x2f6c4d[_0x392cfc(0x244)]||_0x2f6c4d)),_0x1f3751['apply'](null,_0xf8a738);}}static['measureWrapper'](_0x25799d,_0x4c0467,_0x31624e={}){const _0x45163f=a121_0x48a627,_0x26fbf7={'hVTqK':function(_0xe254f3){return _0xe254f3();}},_0x2426eb=this;return _0x31624e['worker']=_0x26fbf7[_0x45163f(0x294)](getProcessId),_0x31624e['testName']=_0x26fbf7['hVTqK'](getTestName),_0x31624e[_0x45163f(0x241)]=global[_0x45163f(0x24e)]&&global[_0x45163f(0x24e)]['index'],function(){const _0xb38e51=_0x45163f,_0x56d3d6=[_0x25799d,_0x4c0467,null,_0x31624e][_0xb38e51(0x242)](arguments);return _0x2426eb[_0xb38e51(0x269)][_0xb38e51(0x229)](_0x2426eb,_0x56d3d6);};}static[a121_0x48a627(0x257)](){const _0x2304b7=a121_0x48a627,_0xac064c=/(^.*)\[(.*)\]$/,_0x48db03={},_0xfe41f7={},_0x738ccb=[],_0x13f233=this[_0x2304b7(0x1ea)]['splice'](0x0,this[_0x2304b7(0x1ea)][_0x2304b7(0x215)]);for(const _0x5cb3d7 of _0x13f233){const _0x14aa65=_0x5cb3d7['name']['match'](_0xac064c),_0x5edbe8=Object[_0x2304b7(0x248)]({},_0x5cb3d7);_0x14aa65&&(_0x5edbe8['name']=_0x14aa65[0x1],_0x5edbe8[_0x2304b7(0x218)]=JSON[_0x2304b7(0x23e)](_0x14aa65[0x2])),_0x738ccb['push'](_0x5edbe8);}return _0x738ccb;}static[a121_0x48a627(0x251)](){const _0x53d9f1=a121_0x48a627,_0x1468d7={'XuGBR':function(_0x35891b){return _0x35891b();},'EpBDW':function(_0x2a9765,_0x45b1e1){return _0x2a9765+_0x45b1e1;},'BwQic':_0x53d9f1(0x1ee),'KOAxA':function(_0x104c55,_0x12afd9){return _0x104c55===_0x12afd9;},'Riird':function(_0x2ee6ad,_0x8fb72a){return _0x2ee6ad+_0x8fb72a;}};try{this[_0x53d9f1(0x1e6)]=path['join'](_0x1468d7['XuGBR'](getLogDir),this[_0x53d9f1(0x256)]);if(fs[_0x53d9f1(0x1f1)](this[_0x53d9f1(0x1e6)])){const _0x125b6a=fs[_0x53d9f1(0x1fe)](this[_0x53d9f1(0x1e6)]);for(const _0x38a79e of _0x125b6a){fs['unlinkSync'](path[_0x53d9f1(0x1ed)](this[_0x53d9f1(0x1e6)],_0x38a79e));}}}catch(_0x3efb3f){logger[_0x53d9f1(0x20b)](_0x1468d7['EpBDW'](_0x1468d7[_0x53d9f1(0x1e5)],_0x3efb3f));}if(_0x1468d7[_0x53d9f1(0x288)](this[_0x53d9f1(0x1ea)][_0x53d9f1(0x215)],0x0))return;const _0x4c100a=this[_0x53d9f1(0x257)](),_0x37a0e5=JSON[_0x53d9f1(0x289)](_0x4c100a),_0x3bcbf4=_0x1468d7[_0x53d9f1(0x24b)](_0x37a0e5[_0x53d9f1(0x274)](0x1,-0x1),',');fs[_0x53d9f1(0x254)](this[_0x53d9f1(0x27e)],_0x3bcbf4);}static async[a121_0x48a627(0x27a)](){const _0x28a379=a121_0x48a627,_0x359a5a={'XeiMu':function(_0x55500c){return _0x55500c();},'uHiQB':function(_0x153a06,_0x24928b){return _0x153a06===_0x24928b;},'tZcvc':_0x28a379(0x211),'oZZoG':_0x28a379(0x279),'OQszM':_0x28a379(0x281),'DcEzz':function(_0x3b7473,_0x364c99){return _0x3b7473+_0x364c99;},'jotvO':function(_0x38bc53,_0x44c1c1){return _0x38bc53+_0x44c1c1;},'xNjFb':_0x28a379(0x28d),'KOXkD':_0x28a379(0x260),'ijSws':'Error\x20in\x20getting\x20key-metrics.json\x20file:\x20%s','TdMmp':function(_0x2dad2f,_0x278a7d){return _0x2dad2f>_0x278a7d;}};this[_0x28a379(0x1e6)]=path[_0x28a379(0x1ed)](_0x359a5a[_0x28a379(0x22f)](getLogDir),this['jsonReportDirName']);if(!this[_0x28a379(0x1ff)]||_0x359a5a[_0x28a379(0x29a)](this[_0x28a379(0x1ea)][_0x28a379(0x215)],0x0))return[];if(!fs[_0x28a379(0x1f1)](this[_0x28a379(0x1e6)]))return this['_measureEvents'];const _0x23e023=(await fsPromise[_0x28a379(0x227)](this[_0x28a379(0x1e6)]))['map'](_0x17ec7=>path[_0x28a379(0x230)](this[_0x28a379(0x1e6)],_0x17ec7));try{const _0x42481d=path[_0x28a379(0x245)](this[_0x28a379(0x1e6)]),_0x55bbff=path[_0x28a379(0x1ed)](_0x42481d,_0x359a5a[_0x28a379(0x235)]);if(fs['existsSync'](_0x55bbff))try{await fsPromise[_0x28a379(0x296)](_0x55bbff,fs[_0x28a379(0x26f)][_0x28a379(0x209)]);const _0xcb5619=await fsPromise[_0x28a379(0x234)](_0x55bbff,_0x359a5a['oZZoG']),_0x52f234=JSON[_0x28a379(0x23e)](_0xcb5619),_0x39d007=path[_0x28a379(0x1ed)](this[_0x28a379(0x1e6)],_0x359a5a[_0x28a379(0x1fa)]);let _0x5d51dc='';Array[_0x28a379(0x225)](_0x52f234)?_0x5d51dc=_0x359a5a[_0x28a379(0x282)](_0x52f234[_0x28a379(0x283)](_0x1ef28e=>JSON[_0x28a379(0x289)](_0x1ef28e))['join'](','),','):_0x5d51dc=_0x359a5a['jotvO'](JSON[_0x28a379(0x289)](_0x52f234),','),await fsPromise[_0x28a379(0x232)](_0x39d007,_0x5d51dc),_0x23e023['push'](_0x39d007),await fsPromise[_0x28a379(0x295)](_0x55bbff);}catch(_0xcd73be){logger[_0x28a379(0x27b)](util['format'](_0x359a5a[_0x28a379(0x284)],_0xcd73be[_0x28a379(0x22c)]||_0xcd73be[_0x28a379(0x244)]||_0xcd73be));}else logger['info'](_0x359a5a['KOXkD']);}catch(_0x1208e2){logger[_0x28a379(0x27b)](util[_0x28a379(0x243)](_0x359a5a[_0x28a379(0x28a)],_0x1208e2['stack']||_0x1208e2[_0x28a379(0x244)]||_0x1208e2));}let _0x4b5bba=(await Promise[_0x28a379(0x20f)](_0x23e023[_0x28a379(0x283)](_0x26cd6f=>fsPromise[_0x28a379(0x234)](_0x26cd6f,'utf-8'))))[_0x28a379(0x283)](_0x2fbe2b=>'['+_0x2fbe2b[_0x28a379(0x274)](0x0,-0x1)+']')[_0x28a379(0x283)](_0x2fdc6f=>JSON[_0x28a379(0x23e)](_0x2fdc6f))[_0x28a379(0x231)]();return _0x359a5a[_0x28a379(0x28b)](this[_0x28a379(0x1ea)]['length'],0x0)&&(_0x4b5bba=_0x4b5bba[_0x28a379(0x242)](this[_0x28a379(0x257)]())),this[_0x28a379(0x247)][_0x28a379(0x240)](),_0x4b5bba;}static[a121_0x48a627(0x28e)](){const _0x33cb22=a121_0x48a627,_0x125359={};_0x125359[_0x33cb22(0x28c)]=function(_0x951b98,_0x3d822a){return _0x951b98===_0x3d822a;},_0x125359[_0x33cb22(0x249)]=function(_0x3ef6da,_0x196309){return _0x3ef6da+_0x196309;};const _0x371294=_0x125359;if(_0x371294['RYcOM'](this[_0x33cb22(0x262)]['length'],0x0))return;const _0xff83d7=JSON[_0x33cb22(0x289)](this[_0x33cb22(0x262)]),_0x4ca1d8=_0x371294[_0x33cb22(0x249)](_0xff83d7['slice'](0x1,-0x1),',');fs['appendFileSync'](this[_0x33cb22(0x221)],_0x4ca1d8);}static['finalizeErrors'](){const _0x7dcf78=a121_0x48a627,_0x29333e={};_0x29333e[_0x7dcf78(0x268)]=function(_0x19736c,_0x358200){return _0x19736c>_0x358200;};const _0x5bf2e2=_0x29333e;if(this[_0x7dcf78(0x271)]){if(!fs[_0x7dcf78(0x1f1)](this[_0x7dcf78(0x271)]))return this[_0x7dcf78(0x262)];let _0x29beb0=fs[_0x7dcf78(0x238)](this[_0x7dcf78(0x271)])[_0x7dcf78(0x252)]();_0x29beb0='['+_0x29beb0[_0x7dcf78(0x274)](0x0,-0x1)+']';let _0x5a5874=JSON[_0x7dcf78(0x23e)](_0x29beb0);return _0x5bf2e2[_0x7dcf78(0x268)](this['_errorEvents'][_0x7dcf78(0x215)],0x0)&&(_0x5a5874=_0x5a5874[_0x7dcf78(0x242)](this[_0x7dcf78(0x262)])),fs['unlinkSync'](this['errorReportFileName']),_0x5a5874;}}static[a121_0x48a627(0x226)](_0x311a69){const _0x119217=a121_0x48a627;if(!this['isEnabled']())return;this[_0x119217(0x262)][_0x119217(0x205)]({'message':_0x311a69[_0x119217(0x244)],'trace':_0x311a69[_0x119217(0x22c)],'code':_0x311a69[_0x119217(0x216)]||null,'time':new Date()});}static[a121_0x48a627(0x298)](){const _0x25a0b8=a121_0x48a627;try{if(!this[_0x25a0b8(0x272)]())return;this['_observer'][_0x25a0b8(0x240)](),this[_0x25a0b8(0x251)](),this[_0x25a0b8(0x28e)]();}catch(_0x4df527){logger[_0x25a0b8(0x20b)]('Error\x20stopping\x20monitoring\x20'+util['format'](_0x4df527));}}static async[a121_0x48a627(0x236)](){const _0x447547=a121_0x48a627,_0x21a1cf={'CnZyE':function(_0x4d3d5a,_0x3eedcc){return _0x4d3d5a(_0x3eedcc);}};await _0x21a1cf[_0x447547(0x275)](sleep,0x1e);const _0x253284=await this[_0x447547(0x27a)](),_0x3eeff1=this[_0x447547(0x219)]();if(!this[_0x447547(0x272)]()){const _0x33caa5={};return _0x33caa5[_0x447547(0x222)]=[],_0x33caa5[_0x447547(0x212)]=[],_0x33caa5;}const _0x15c516={};return _0x15c516[_0x447547(0x222)]=_0x253284,_0x15c516['errors']=_0x3eeff1,_0x15c516;}static[a121_0x48a627(0x263)](_0x485c0b){const _0x474ccc=a121_0x48a627,_0x32bf76={};_0x32bf76[_0x474ccc(0x290)]=function(_0x4dbf8d,_0x522d50){return _0x4dbf8d+_0x522d50;},_0x32bf76['QihFm']=_0x474ccc(0x1f5);const _0x5a9abc=_0x32bf76,_0x3e4f11=_0x5a9abc['Uhapd'](_0x485c0b,_0x5a9abc[_0x474ccc(0x210)]);if(this[_0x474ccc(0x214)][_0x3e4f11])return;performance[_0x474ccc(0x266)](_0x3e4f11),this['eventsMap'][_0x3e4f11]=0x1;}static['end'](_0x3d37f5,_0x16cd2c=!![],_0x11c15a=null,_0x2f0815={}){const _0x4f23c9=a121_0x48a627,_0x354295={'hKrsE':function(_0x45b1e3,_0x49bbe7){return _0x45b1e3+_0x49bbe7;},'TJOFu':_0x4f23c9(0x25e),'mDDQE':function(_0x4a8174,_0x29599c){return _0x4a8174+_0x29599c;},'bWmvy':_0x4f23c9(0x1f5),'dVgSv':function(_0x4feaed,_0xb733c1){return _0x4feaed+_0xb733c1;},'Wisdf':function(_0x1b709){return _0x1b709();}};performance[_0x4f23c9(0x266)](_0x354295[_0x4f23c9(0x213)](_0x3d37f5,_0x354295[_0x4f23c9(0x228)])),performance['measure'](_0x3d37f5,_0x354295[_0x4f23c9(0x22b)](_0x3d37f5,_0x354295[_0x4f23c9(0x26a)]),_0x354295[_0x4f23c9(0x259)](_0x3d37f5,_0x354295[_0x4f23c9(0x228)]));const _0x51ced7={};_0x51ced7[_0x4f23c9(0x267)]=_0x16cd2c,_0x51ced7[_0x4f23c9(0x26b)]=_0x11c15a,this[_0x4f23c9(0x276)][_0x3d37f5]=Object[_0x4f23c9(0x248)](_0x51ced7,Object[_0x4f23c9(0x248)](Object[_0x4f23c9(0x248)]({'worker':_0x354295[_0x4f23c9(0x21c)](getProcessId),'platform':global[_0x4f23c9(0x24e)]&&global[_0x4f23c9(0x24e)]['index'],'testName':_0x354295[_0x4f23c9(0x21c)](getTestName)},_0x2f0815),this['details'][_0x3d37f5]||{}));}}module[a121_0x48a627(0x22e)]=PerformanceTester;
|
|
@@ -1 +1 @@
|
|
|
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
|
+
const a122_0x1ec8f8=a122_0xa64f;(function(_0x5b63db,_0x1f1e4c){const _0x10dd75=a122_0xa64f,_0x5ed22c=_0x5b63db();while(!![]){try{const _0x4ed037=parseInt(_0x10dd75(0x246))/0x1+-parseInt(_0x10dd75(0x1fc))/0x2+parseInt(_0x10dd75(0x248))/0x3*(-parseInt(_0x10dd75(0x25b))/0x4)+parseInt(_0x10dd75(0x263))/0x5+-parseInt(_0x10dd75(0x22a))/0x6+parseInt(_0x10dd75(0x269))/0x7*(-parseInt(_0x10dd75(0x229))/0x8)+-parseInt(_0x10dd75(0x205))/0x9*(-parseInt(_0x10dd75(0x25a))/0xa);if(_0x4ed037===_0x1f1e4c)break;else _0x5ed22c['push'](_0x5ed22c['shift']());}catch(_0x305d7a){_0x5ed22c['push'](_0x5ed22c['shift']());}}}(a122_0x4200,0x823b8));const path=require('path'),util=require(a122_0x1ec8f8(0x217)),{importFileFromPWCore}=require(a122_0x1ec8f8(0x25c)),helper=require(a122_0x1ec8f8(0x25c)),logger=require(a122_0x1ec8f8(0x23c))[a122_0x1ec8f8(0x1fa)],W3CMapping=require(a122_0x1ec8f8(0x1f6))[a122_0x1ec8f8(0x23d)](),constants=require(a122_0x1ec8f8(0x260)),BrowserstackCLI=require('../bin/v2/browserstackCLI'),CLIUtils=require('../bin/v2/cliUtils');function a122_0xa64f(_0x4fe03c,_0x3f1cb7){const _0x42005d=a122_0x4200();return a122_0xa64f=function(_0xa64f25,_0x2745da){_0xa64f25=_0xa64f25-0x1f3;let _0x26228e=_0x42005d[_0xa64f25];return _0x26228e;},a122_0xa64f(_0x4fe03c,_0x3f1cb7);}let GrpcClient;function a122_0x4200(){const _0x378508=['uepTI','winstonLogger','\x20for\x20','663102vXoEpJ','No\x20usable\x20capabilities\x20found\x20in\x20modified\x20config\x20response','message','browserstack.buildProductMap','XIOUT','Error\x20getting\x20modified\x20config\x20from\x20gRPC:\x20','getPlaywrightUrl','parse','CEjQq','127773CNPxeN','mNgRO','yyehG','getConfig','bstack:options','browserName','projects','isArray','BrowserType','ucLKR','browser','exports','__platformCaps','BS_A11Y_JWT','platformCaps','getInstance','CScIq','browserstack.accessibilityOptions.wcagVersion','util','playwrightConfigObject','getPlaywrightConfig','BIPqL','rYspm','getBrowserTypePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','Playwright\x20not\x20available:\x20','workers','checkPwandBootstrapCli','vkKnj','use','config','KpuqD','debug','capabilities','stringify','getBrowserTypePath','getPlaywrightModulePath','7688PJakEk','3699918RpoVpe','Requesting\x20modified\x20Playwright\x20config\x20from\x20gRPC\x20for\x20cucumberjs-pw','convertW3CToJsonWire','uSFyN','length','getPlaywrightBrowserType','Nwvob','fSsfD','join','jZlEN','Could\x20not\x20import\x20GrpcClient:\x20','HELnP','getBrowserFromCaps','setBrowserstackConfig','hIJBm','bootstrap','__accessibilityOptions','Converted\x20W3C\x20caps\x20to\x20JSONWire:\x20','./logger','W3CMapping','browserstack.accessibilityOptions.authToken','ImvfU','importFileFromPWCore','browserstack.accessibilityOptions.scannerVersion','setFrameworkDetail','browserType.js','HbKfY','getPlaywrightModulePath\x20is\x20deprecated,\x20use\x20importFileFromPWCore\x20instead','537334sMUnPp','AMeKt','3ScgjLj','client','BROWSERSTACK_PRODUCT_MAP','aEKCI','framework','Error\x20getting\x20Playwright\x20BrowserType:\x20','../bin/v2/grpcClient','FRAMEWORKS','format','\x20flow','jGDhM','linYS','YQlzp','JYZHC','SRYAw','IvPVL','syjwR','GuNiN','1130WXaSfH','3050736panyNL','./helper','bZyRP','vFZOc','DwEaH','../bin/utils/constants','nShlo','isPlaywrightAvailable','4545020UfXxFR','zuCvx','env','__launchCaps','Received\x20modified\x20config\x20from\x20gRPC:\x20','bsSVi','5873ShVLvp','PLAYWRIGHT','getBuildProductMap','browserstack.testhubBuildUuid','entries','./w3cMapping','cLRwu','browserstack.accessibilityOptions.scannerProcessingTimeout'];a122_0x4200=function(){return _0x378508;};return a122_0x4200();}try{GrpcClient=require(a122_0x1ec8f8(0x24e));}catch(a122_0x1f0e42){logger[a122_0x1ec8f8(0x224)](a122_0x1ec8f8(0x234)+a122_0x1f0e42[a122_0x1ec8f8(0x1fe)]),GrpcClient=null;}const convertW3CToJsonWire=_0x1157f1=>{const _0x150a48=a122_0x1ec8f8,_0x49d449={};_0x49d449[_0x150a48(0x253)]=function(_0x540f61,_0x49f8a6){return _0x540f61||_0x49f8a6;},_0x49d449[_0x150a48(0x223)]=function(_0x3fb6dc,_0x1e6f2f){return _0x3fb6dc===_0x1e6f2f;},_0x49d449[_0x150a48(0x1f7)]=_0x150a48(0x209),_0x49d449['jZlEN']=function(_0x238a23,_0x4f3e60){return _0x238a23===_0x4f3e60;},_0x49d449[_0x150a48(0x264)]=function(_0x343caa,_0x486cad){return _0x343caa in _0x486cad;};const _0x2e73ac=_0x49d449,_0x591192={};for(const [_0x31cb4a,_0x42fefe]of Object[_0x150a48(0x1f5)](_0x2e73ac[_0x150a48(0x253)](_0x1157f1,{}))){if(_0x2e73ac[_0x150a48(0x223)](_0x31cb4a,_0x2e73ac['cLRwu']))continue;let _0x54a50f=![];for(const [_0x4b946f,_0x1281ee]of Object[_0x150a48(0x1f5)](W3CMapping)){if(_0x2e73ac[_0x150a48(0x233)](_0x31cb4a,_0x1281ee)){_0x591192[_0x4b946f]=_0x42fefe,_0x54a50f=!![];break;}}!_0x54a50f&&(_0x591192[_0x31cb4a]=_0x42fefe);}const _0x29ae07=_0x1157f1[_0x2e73ac[_0x150a48(0x1f7)]]||{};for(const [_0x2cd3c8,_0x1a8c89]of Object[_0x150a48(0x1f5)](_0x29ae07)){let _0x2101da=![];for(const [_0x49eab8,_0x870fb9]of Object['entries'](W3CMapping)){if(_0x2e73ac[_0x150a48(0x223)](_0x2cd3c8,_0x870fb9)){_0x591192[_0x49eab8]=_0x1a8c89,_0x2101da=!![];break;}}!_0x2101da&&!_0x2e73ac['zuCvx'](_0x2cd3c8,_0x591192)&&(_0x591192[_0x2cd3c8]=_0x1a8c89);}return logger[_0x150a48(0x224)](_0x150a48(0x23b)+JSON['stringify'](_0x591192)),_0x591192;},getModifiedConfigFromCLI=async _0x28a27e=>{const _0x3a6e43=a122_0x1ec8f8,_0x380759={};_0x380759['Nwvob']='GrpcClient\x20not\x20available,\x20skipping\x20modified\x20config\x20request',_0x380759[_0x3a6e43(0x206)]='cucumberjs-pw',_0x380759[_0x3a6e43(0x23f)]=_0x3a6e43(0x22b),_0x380759[_0x3a6e43(0x204)]='No\x20modified\x20config\x20received\x20from\x20gRPC',_0x380759[_0x3a6e43(0x247)]=function(_0x158f42,_0x2944d8){return _0x158f42>_0x2944d8;},_0x380759[_0x3a6e43(0x244)]=function(_0x2664cd,_0xa0d09){return _0x2664cd>_0xa0d09;},_0x380759[_0x3a6e43(0x257)]=_0x3a6e43(0x1fd);const _0x3840ec=_0x380759;try{if(!GrpcClient)return logger[_0x3a6e43(0x224)](_0x3840ec[_0x3a6e43(0x230)]),null;const _0x14b9e0={};_0x14b9e0[_0x3a6e43(0x225)]=_0x28a27e,_0x14b9e0[_0x3a6e43(0x24c)]=_0x3840ec[_0x3a6e43(0x206)],_0x14b9e0[_0x3a6e43(0x21e)]=0x1,_0x14b9e0[_0x3a6e43(0x20b)]=[];const _0x51aa9a=_0x14b9e0;logger[_0x3a6e43(0x224)](_0x3840ec[_0x3a6e43(0x23f)]);const _0x4bc897={};_0x4bc897[_0x3a6e43(0x218)]=_0x51aa9a;const _0x5b121e=await GrpcClient[_0x3a6e43(0x214)]()[_0x3a6e43(0x219)](_0x4bc897);if(!_0x5b121e[_0x3a6e43(0x208)]())return logger[_0x3a6e43(0x224)](_0x3840ec[_0x3a6e43(0x204)]),null;const _0x319e6b=JSON[_0x3a6e43(0x203)](_0x5b121e[_0x3a6e43(0x208)]());logger[_0x3a6e43(0x224)](_0x3a6e43(0x267)+JSON[_0x3a6e43(0x226)](_0x319e6b));if(_0x319e6b[_0x3a6e43(0x225)]&&Array[_0x3a6e43(0x20c)](_0x319e6b['capabilities'])&&_0x3840ec['AMeKt'](_0x319e6b[_0x3a6e43(0x225)]['length'],0x0))return _0x319e6b[_0x3a6e43(0x225)][0x0];else{if(_0x319e6b['projects']&&Array['isArray'](_0x319e6b[_0x3a6e43(0x20b)])&&_0x3840ec[_0x3a6e43(0x244)](_0x319e6b[_0x3a6e43(0x20b)][_0x3a6e43(0x22e)],0x0)){const _0x35469c=_0x319e6b[_0x3a6e43(0x20b)][0x0];if(_0x35469c[_0x3a6e43(0x221)]&&_0x35469c[_0x3a6e43(0x221)][_0x3a6e43(0x213)])return _0x35469c['use']['platformCaps'];}}return logger[_0x3a6e43(0x224)](_0x3840ec[_0x3a6e43(0x257)]),null;}catch(_0xe4ce6f){logger['error'](_0x3a6e43(0x201)+_0xe4ce6f['message']);throw _0xe4ce6f;}},generatePlaywrightUrl=(_0x2755a5,_0xb8524f)=>{const _0x120fcd=a122_0x1ec8f8,_0x152b32={'JYZHC':function(_0x4425fd,_0x45af67){return _0x4425fd!==_0x45af67;},'uSFyN':function(_0x1587ab,_0x32ad19){return _0x1587ab!==_0x32ad19;},'ucRfb':function(_0x5a8039,_0x112cd6){return _0x5a8039!==_0x112cd6;},'GuNiN':function(_0x2416c7,_0x5c8b53){return _0x2416c7!==_0x5c8b53;},'jGDhM':function(_0xc145d2,_0x1ed536){return _0xc145d2(_0x1ed536);},'ucLKR':function(_0x1089d4,_0x35d569){return _0x1089d4||_0x35d569;},'BIPqL':_0x120fcd(0x23e),'DwEaH':function(_0x3d3bde,_0x2a62ad){return _0x3d3bde(_0x2a62ad);},'bsSVi':_0x120fcd(0x216),'CScIq':function(_0x58dc54,_0x14e705){return _0x58dc54(_0x14e705);},'XIOUT':_0x120fcd(0x241),'ZKFwh':function(_0x40f4c0,_0x1a1f1f){return _0x40f4c0(_0x1a1f1f);},'hIJBm':_0x120fcd(0x1f8),'vFZOc':_0x120fcd(0x1f4),'fSsfD':_0x120fcd(0x1ff),'bZyRP':function(_0x153056,_0x3ce985){return _0x153056+_0x3ce985;}},_0x24078b=helper[_0x120fcd(0x202)](_0x2755a5),_0x5eb12e=_0x152b32['jGDhM'](convertW3CToJsonWire,_0xb8524f);try{const _0x43ea03=[_0x152b32[_0x120fcd(0x20e)](_0xb8524f,{}),global[_0x120fcd(0x266)]||{},global[_0x120fcd(0x211)]||{},global[_0x120fcd(0x23a)]||{}],_0x3177f4=_0x6bb6d4=>{const _0x55993b=_0x120fcd;if(_0x152b32[_0x55993b(0x255)](_0x5eb12e[_0x6bb6d4],undefined)&&_0x152b32[_0x55993b(0x22d)](_0x5eb12e[_0x6bb6d4],null)&&_0x152b32['ucRfb'](_0x5eb12e[_0x6bb6d4],''))return;for(const _0x4b4bc6 of _0x43ea03){if(_0x4b4bc6&&_0x152b32['ucRfb'](_0x4b4bc6[_0x6bb6d4],undefined)&&_0x152b32[_0x55993b(0x259)](_0x4b4bc6[_0x6bb6d4],null)&&_0x152b32[_0x55993b(0x22d)](_0x4b4bc6[_0x6bb6d4],'')){_0x5eb12e[_0x6bb6d4]=_0x4b4bc6[_0x6bb6d4];return;}}};_0x152b32[_0x120fcd(0x252)](_0x3177f4,_0x152b32['BIPqL']),_0x152b32[_0x120fcd(0x25f)](_0x3177f4,_0x152b32[_0x120fcd(0x268)]),_0x152b32[_0x120fcd(0x215)](_0x3177f4,_0x152b32[_0x120fcd(0x200)]),_0x152b32['ZKFwh'](_0x3177f4,_0x152b32[_0x120fcd(0x238)]),!_0x5eb12e[_0x152b32[_0x120fcd(0x21a)]]&&process[_0x120fcd(0x265)][_0x120fcd(0x212)]&&(_0x5eb12e[_0x152b32['BIPqL']]=process[_0x120fcd(0x265)][_0x120fcd(0x212)]);}catch(_0x2c11e5){logger[_0x120fcd(0x224)]('Unable\x20to\x20merge\x20accessibility\x20capabilities\x20into\x20Playwright\x20URL\x20caps:\x20'+util[_0x120fcd(0x250)](_0x2c11e5));}return _0x5eb12e[_0x152b32[_0x120fcd(0x25e)]]=process[_0x120fcd(0x265)]['BROWSERSTACK_TESTHUB_UUID'],_0x5eb12e[_0x152b32[_0x120fcd(0x231)]]=helper[_0x120fcd(0x1f3)](),_0x152b32[_0x120fcd(0x25d)](_0x24078b,_0x152b32['CScIq'](encodeURIComponent,JSON['stringify'](_0x5eb12e)));},getBrowserFromCaps=_0x18351c=>{const _0x3312ce=a122_0x1ec8f8,_0x386ec4={};_0x386ec4['KMpyp']='chrome';const _0x4f4427=_0x386ec4;return _0x18351c[_0x3312ce(0x20a)]||_0x18351c[_0x3312ce(0x20f)]||_0x4f4427['KMpyp'];},isPlaywrightAvailable=()=>{const _0x927b52=a122_0x1ec8f8,_0x449160={'rYspm':'lib','eamQv':_0x927b52(0x249),'yyehG':_0x927b52(0x243),'nShlo':function(_0x5a2c94,_0x526b0c){return _0x5a2c94(_0x526b0c);}};try{const _0x3df8f9=path[_0x927b52(0x232)](_0x449160[_0x927b52(0x21b)],_0x449160['eamQv'],_0x449160[_0x927b52(0x207)]),_0x44264d=_0x449160[_0x927b52(0x261)](importFileFromPWCore,_0x3df8f9);return!!_0x44264d;}catch(_0x3f23c4){return logger[_0x927b52(0x224)](_0x927b52(0x21d)+util['format'](_0x3f23c4)),![];}},getPlaywrightBrowserType=()=>{const _0x36b962=a122_0x1ec8f8,_0x4c554e={'vkKnj':'lib','SRYAw':'client','divaa':'browserType.js','aEKCI':function(_0xe0fd93,_0x244759){return _0xe0fd93(_0x244759);}};try{const _0x213b57=path[_0x36b962(0x232)](_0x4c554e[_0x36b962(0x220)],_0x4c554e[_0x36b962(0x256)],_0x4c554e['divaa']),_0x570423=_0x4c554e[_0x36b962(0x24b)](importFileFromPWCore,_0x213b57);return _0x570423?_0x570423[_0x36b962(0x20d)]:null;}catch(_0x2ff938){return logger[_0x36b962(0x224)](_0x36b962(0x24d)+util[_0x36b962(0x250)](_0x2ff938)),null;}},getPlaywrightModulePath=()=>{const _0x222289=a122_0x1ec8f8,_0x485097={};_0x485097['HELnP']=_0x222289(0x245);const _0x473d2e=_0x485097;return logger[_0x222289(0x224)](_0x473d2e[_0x222289(0x235)]),null;},getBrowserTypePath=()=>{const _0x1d8bc8=a122_0x1ec8f8,_0x166508={};_0x166508[_0x1d8bc8(0x254)]=_0x1d8bc8(0x21c);const _0x101f42=_0x166508;return logger[_0x1d8bc8(0x224)](_0x101f42[_0x1d8bc8(0x254)]),null;},checkPwandBootstrapCli=async(_0x431c88,_0x4f1d0f,_0x4e244f)=>{const _0x17f8e2=a122_0x1ec8f8,_0x4800c1={'syjwR':function(_0x161924,_0x4b9398){return _0x161924(_0x4b9398);},'uepTI':'./testhub/utils','hAKah':function(_0x2dd54c,_0xe66256){return _0x2dd54c(_0xe66256);}};if(_0x431c88){const _0x285162=constants[_0x17f8e2(0x24f)][_0x17f8e2(0x26a)];logger[_0x17f8e2(0x224)]('Detected\x20Playwright\x20version\x20'+_0x431c88+_0x17f8e2(0x1fb)+_0x4f1d0f+_0x17f8e2(0x251)),CLIUtils[_0x17f8e2(0x242)](_0x4f1d0f,_0x285162);const {getProductMap:_0x435cf0}=_0x4800c1[_0x17f8e2(0x258)](require,_0x4800c1[_0x17f8e2(0x1f9)]);process[_0x17f8e2(0x265)][_0x17f8e2(0x24a)]=JSON['stringify'](_0x4800c1['hAKah'](_0x435cf0,_0x4e244f['config'])),BrowserstackCLI['getInstance']()[_0x17f8e2(0x237)](_0x4e244f[_0x17f8e2(0x222)],_0x4e244f['configPath'],_0x4e244f['cliConfig']),await BrowserstackCLI[_0x17f8e2(0x214)]()[_0x17f8e2(0x239)]();}},a122_0x4ee7bd={};a122_0x4ee7bd[a122_0x1ec8f8(0x22c)]=convertW3CToJsonWire,a122_0x4ee7bd['getModifiedConfigFromCLI']=getModifiedConfigFromCLI,a122_0x4ee7bd['generatePlaywrightUrl']=generatePlaywrightUrl,a122_0x4ee7bd[a122_0x1ec8f8(0x236)]=getBrowserFromCaps,a122_0x4ee7bd[a122_0x1ec8f8(0x262)]=isPlaywrightAvailable,a122_0x4ee7bd[a122_0x1ec8f8(0x22f)]=getPlaywrightBrowserType,a122_0x4ee7bd[a122_0x1ec8f8(0x228)]=getPlaywrightModulePath,a122_0x4ee7bd[a122_0x1ec8f8(0x227)]=getBrowserTypePath,a122_0x4ee7bd[a122_0x1ec8f8(0x240)]=importFileFromPWCore,a122_0x4ee7bd[a122_0x1ec8f8(0x21f)]=checkPwandBootstrapCli,module[a122_0x1ec8f8(0x210)]=a122_0x4ee7bd;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a123_0x5a6788=a123_0x1316;(function(_0x2d2415,_0x1ae99b){const _0x32f8be=a123_0x1316,_0x2b3f51=_0x2d2415();while(!![]){try{const _0x406e46=-parseInt(_0x32f8be(0x70))/0x1+-parseInt(_0x32f8be(0x8b))/0x2*(parseInt(_0x32f8be(0x7d))/0x3)+parseInt(_0x32f8be(0x85))/0x4*(parseInt(_0x32f8be(0x81))/0x5)+-parseInt(_0x32f8be(0x82))/0x6*(-parseInt(_0x32f8be(0x84))/0x7)+-parseInt(_0x32f8be(0x74))/0x8*(-parseInt(_0x32f8be(0x72))/0x9)+-parseInt(_0x32f8be(0x83))/0xa+parseInt(_0x32f8be(0x78))/0xb*(parseInt(_0x32f8be(0x80))/0xc);if(_0x406e46===_0x1ae99b)break;else _0x2b3f51['push'](_0x2b3f51['shift']());}catch(_0x790452){_0x2b3f51['push'](_0x2b3f51['shift']());}}}(a123_0x201d,0xe6d11));function a123_0x1316(_0x4e854c,_0x1fcb62){const _0x201d3c=a123_0x201d();return a123_0x1316=function(_0x13167d,_0x433f52){_0x13167d=_0x13167d-0x6e;let _0x4e888f=_0x201d3c[_0x13167d];return _0x4e888f;},a123_0x1316(_0x4e854c,_0x1fcb62);}function a123_0x201d(){const _0x4cdf41=['ADTib','./globals','BROWSERSTACK_TEST_REPORTING_DEBUG','215189fGlQEm','\x20]\x20','14314239ZQethd','../bin/utils/constants','8FUBYry','log','env','getTestName','1111BDDpeB','worker_threads','DRFiJ','MDrMy','SCREr','53013PTtVxr','getGlobal','][\x20','37308RpaWLT','3908705eNEptA','132660BaaDCA','12927200mjIGam','413CoAUxk','4zoXYPn','pid','BROWSERSTACK_OBSERVABILITY_DEBUG','debug','./logger','sleep','174ypBLaV','toISOString','TEST_REPORTING_ANALYTICS'];a123_0x201d=function(){return _0x4cdf41;};return a123_0x201d();}const worker=require(a123_0x5a6788(0x79)),{fileLogger}=require(a123_0x5a6788(0x89)),{consoleHolder}=require('./test-observability/constants'),globals=require(a123_0x5a6788(0x6e)),constants=require(a123_0x5a6788(0x73));exports['getProcessId']=()=>{const _0x1f6d14=a123_0x5a6788;return process[_0x1f6d14(0x86)]+'-'+worker['threadId'];},exports[a123_0x5a6788(0x77)]=()=>{const _0x34c29c=a123_0x5a6788,_0x43c3e1={};_0x43c3e1[_0x34c29c(0x7c)]='browserstackTestName';const _0x58e9be=_0x43c3e1;return globals[_0x34c29c(0x7e)](_0x58e9be[_0x34c29c(0x7c)]);},exports[a123_0x5a6788(0x8a)]=(_0x5c700e=0x64)=>new Promise(_0x11d4a9=>setTimeout(_0x11d4a9,_0x5c700e)),exports[a123_0x5a6788(0x88)]=_0x4f6bb0=>{const _0x306e6f=a123_0x5a6788,_0x2550a7={};_0x2550a7[_0x306e6f(0x8e)]=function(_0x268213,_0x5ca7de){return _0x268213===_0x5ca7de;},_0x2550a7[_0x306e6f(0x7b)]='true',_0x2550a7['DRFiJ']=function(_0x28ec15,_0x3b2c29){return _0x28ec15===_0x3b2c29;};const _0x2e8915=_0x2550a7;fileLogger[_0x306e6f(0x88)]('['+new Date()[_0x306e6f(0x8c)]()+_0x306e6f(0x7f)+constants[_0x306e6f(0x8d)]+_0x306e6f(0x71)+_0x4f6bb0),(_0x2e8915['ADTib'](process[_0x306e6f(0x76)][_0x306e6f(0x6f)],_0x2e8915['MDrMy'])||_0x2e8915[_0x306e6f(0x8e)](process['env'][_0x306e6f(0x6f)],'1')||_0x2e8915[_0x306e6f(0x8e)](process['env'][_0x306e6f(0x87)],_0x2e8915[_0x306e6f(0x7b)])||_0x2e8915[_0x306e6f(0x7a)](process[_0x306e6f(0x76)][_0x306e6f(0x87)],'1'))&&consoleHolder[_0x306e6f(0x75)]('\x0a['+new Date()[_0x306e6f(0x8c)]()+_0x306e6f(0x7f)+constants[_0x306e6f(0x8d)]+_0x306e6f(0x71)+_0x4f6bb0+'\x0a');};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a124_0x48e03c=a124_0x5f33;(function(_0x58863f,_0x973c69){const _0x5c4781=a124_0x5f33,_0x4e6a11=_0x58863f();while(!![]){try{const _0x40bec6=parseInt(_0x5c4781(0x1d7))/0x1*(parseInt(_0x5c4781(0x1e2))/0x2)+parseInt(_0x5c4781(0x1d8))/0x3+-parseInt(_0x5c4781(0x1cf))/0x4*(parseInt(_0x5c4781(0x1de))/0x5)+parseInt(_0x5c4781(0x1ed))/0x6+-parseInt(_0x5c4781(0x1c7))/0x7+parseInt(_0x5c4781(0x1c1))/0x8+-parseInt(_0x5c4781(0x1ea))/0x9;if(_0x40bec6===_0x973c69)break;else _0x4e6a11['push'](_0x4e6a11['shift']());}catch(_0x82da73){_0x4e6a11['push'](_0x4e6a11['shift']());}}}(a124_0x1fe9,0xd5434));function a124_0x5f33(_0x23e6ae,_0x1c7328){const _0x1fe9f7=a124_0x1fe9();return a124_0x5f33=function(_0x5f3347,_0x2f5296){_0x5f3347=_0x5f3347-0x1c1;let _0x7fd0c4=_0x1fe9f7[_0x5f3347];return _0x7fd0c4;},a124_0x5f33(_0x23e6ae,_0x1c7328);}const http=require('http'),https=require(a124_0x48e03c(0x1dd)),monkeypatch=require(a124_0x48e03c(0x1d6));function spy(_0x52cda9){const _0x52bc48=a124_0x48e03c,_0x26c03d={'txtTp':'error','ERRvG':function(_0x4de5f3,..._0x23a7e2){return _0x4de5f3(..._0x23a7e2);},'EQFzE':function(_0x4e125d,_0x739e2f){return _0x4e125d instanceof _0x739e2f;},'LTlzF':function(_0x5a0354,_0xf80613){return _0x5a0354===_0xf80613;},'CBjht':_0x52bc48(0x1c3),'haHRk':function(_0xf0e1e8,_0x19eada,_0x3b2bcd){return _0xf0e1e8(_0x19eada,_0x3b2bcd);},'FsLSw':function(_0xc103a1,_0x2aa0d1){return _0xc103a1-_0x2aa0d1;},'CMIuy':function(_0x298e48,_0x13a11b,_0x1b4775){return _0x298e48(_0x13a11b,_0x1b4775);},'OQPuW':_0x52bc48(0x1d9),'CaULH':'socket','fltZN':function(_0x4b35a6,_0x5e84ac,_0xc86479,_0x568d0e){return _0x4b35a6(_0x5e84ac,_0xc86479,_0x568d0e);},'ReFvL':'end','ImTlV':'request'},_0x27876e=function(){const _0x165104=_0x52bc48,_0x14dd94={'jVJJD':function(_0x39bddf,_0x310a87){const _0x505f34=a124_0x5f33;return _0x26c03d[_0x505f34(0x1e8)](_0x39bddf,_0x310a87);},'ROkZc':function(_0x31323c,_0x16755f){const _0x177026=a124_0x5f33;return _0x26c03d[_0x177026(0x1d5)](_0x31323c,_0x16755f);},'AacSG':_0x26c03d[_0x165104(0x1cb)],'RUWzl':function(_0x180e91,_0x4466d4,_0x33c511){return _0x26c03d['haHRk'](_0x180e91,_0x4466d4,_0x33c511);},'MLwiJ':function(_0x3ec58e,_0x1f877c){const _0x2bd860=_0x165104;return _0x26c03d[_0x2bd860(0x1da)](_0x3ec58e,_0x1f877c);},'szkuR':function(_0x51f1b9,_0x3c5ed3,_0x5783e7){const _0x191c2c=_0x165104;return _0x26c03d[_0x191c2c(0x1d2)](_0x51f1b9,_0x3c5ed3,_0x5783e7);},'EUdlN':_0x26c03d[_0x165104(0x1cc)]},_0x3a77ef=arguments[0x0],_0x2ff45b=Array['prototype']['slice']['call'](arguments,0x1),_0xea8ff3=_0x3a77ef['apply'](this,_0x2ff45b);let _0x19a5c7=Date['now'](),_0x4365a0;const _0x3ae7b5={};_0x2ff45b[_0x165104(0x1cd)](_0x177b00=>{const _0x6aac57=_0x165104;if(_0x14dd94[_0x6aac57(0x1e6)](_0x177b00,URL)){const _0x2a53e1={};_0x2a53e1['url']=_0x177b00,Object['assign'](_0x3ae7b5,_0x2a53e1);}else _0x14dd94[_0x6aac57(0x1d1)](typeof _0x177b00,_0x14dd94[_0x6aac57(0x1e9)])&&Object['assign'](_0x3ae7b5,_0x177b00);});const _0x28e155=_0x4a6172=>{const _0x50f7b8=_0x165104,_0x3201fe={};_0x3201fe[_0x50f7b8(0x1db)]=_0x3ae7b5['host']||_0x3ae7b5[_0x50f7b8(0x1c2)]||_0x3ae7b5['url']&&(_0x3ae7b5[_0x50f7b8(0x1e7)][_0x50f7b8(0x1db)]||_0x3ae7b5[_0x50f7b8(0x1e7)][_0x50f7b8(0x1c2)]),_0x3201fe[_0x50f7b8(0x1d0)]=_0x3ae7b5[_0x50f7b8(0x1d0)]||_0x3ae7b5[_0x50f7b8(0x1e7)]&&_0x3ae7b5['url']['pathname'],_0x3201fe['method']=_0x3ae7b5[_0x50f7b8(0x1ce)],_0x3201fe[_0x50f7b8(0x1c9)]=_0x3ae7b5[_0x50f7b8(0x1c9)],_0x14dd94[_0x50f7b8(0x1d4)](_0x52cda9,_0x4a6172,_0x3201fe);};return _0xea8ff3[_0x165104(0x1e0)](_0x26c03d[_0x165104(0x1ec)],_0x19723f=>{const _0x5e7843=_0x165104,_0x5e809d=_0x14dd94[_0x5e7843(0x1c6)](Date['now'](),_0x19a5c7),_0x157dbf={};_0x157dbf[_0x5e7843(0x1c2)]=_0x3ae7b5[_0x5e7843(0x1db)]||_0x3ae7b5[_0x5e7843(0x1c2)]||_0x3ae7b5[_0x5e7843(0x1e7)]&&(_0x3ae7b5['url'][_0x5e7843(0x1db)]||_0x3ae7b5[_0x5e7843(0x1e7)][_0x5e7843(0x1c2)]),_0x157dbf['path']=_0x3ae7b5['path']||_0x3ae7b5[_0x5e7843(0x1e7)]&&_0x3ae7b5[_0x5e7843(0x1e7)][_0x5e7843(0x1c4)],_0x157dbf[_0x5e7843(0x1ce)]=_0x3ae7b5['method'],_0x157dbf['headers']=_0x3ae7b5[_0x5e7843(0x1c9)],_0x157dbf['status_code']=_0x19723f[_0x5e7843(0x1c8)],_0x157dbf[_0x5e7843(0x1ca)]=_0x5e809d,_0x14dd94['szkuR'](_0x52cda9,null,_0x157dbf),_0x4365a0['removeListener'](_0x14dd94[_0x5e7843(0x1e4)],_0x28e155);}),_0xea8ff3['on'](_0x26c03d[_0x165104(0x1e5)],_0x4ba156=>{const _0x459357=_0x165104;_0x4365a0=_0x4ba156,_0x4ba156[_0x459357(0x1e0)](_0x26c03d[_0x459357(0x1cc)],_0x28e155);}),_0x26c03d[_0x165104(0x1e3)](monkeypatch,_0xea8ff3,_0x26c03d[_0x165104(0x1d3)],(_0x90e07,..._0x16f1a2)=>{const _0x274c19=_0x165104;_0x19a5c7=Date[_0x274c19(0x1eb)](),_0x26c03d[_0x274c19(0x1c5)](_0x90e07,..._0x16f1a2);}),_0xea8ff3;};_0x26c03d[_0x52bc48(0x1e3)](monkeypatch,http,_0x26c03d[_0x52bc48(0x1df)],_0x27876e),_0x26c03d['fltZN'](monkeypatch,https,_0x26c03d[_0x52bc48(0x1df)],_0x27876e);}function restore(){const _0x3df4dc=a124_0x48e03c;http[_0x3df4dc(0x1e1)][_0x3df4dc(0x1dc)](),https[_0x3df4dc(0x1e1)][_0x3df4dc(0x1dc)]();}function a124_0x1fe9(){const _0x23e2ff=['txtTp','forEach','method','1284PGVwCc','path','ROkZc','CMIuy','ReFvL','RUWzl','LTlzF','monkeypatch','541048LtYKRK','3302304rvWbli','response','FsLSw','host','unpatch','https','9655RFtMms','ImTlV','once','request','6BVxAgr','fltZN','EUdlN','CaULH','jVJJD','url','EQFzE','AacSG','25843095cpMewi','now','OQPuW','3904740IiuZft','8164112diKprv','hostname','object','pathname','ERRvG','MLwiJ','212702qEeRXD','statusCode','headers','duration_ms','CBjht'];a124_0x1fe9=function(){return _0x23e2ff;};return a124_0x1fe9();}const a124_0x2b4ba7={};a124_0x2b4ba7['spy']=spy,a124_0x2b4ba7['restore']=restore,module['exports']=a124_0x2b4ba7;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a125_0x7b3be3=a125_0x4ca5;(function(_0x19fb08,_0x24dfaf){const _0x3d4ad4=a125_0x4ca5,_0x5061f8=_0x19fb08();while(!![]){try{const _0x127977=-parseInt(_0x3d4ad4(0x13d))/0x1+parseInt(_0x3d4ad4(0x13b))/0x2+parseInt(_0x3d4ad4(0x133))/0x3+-parseInt(_0x3d4ad4(0x12b))/0x4*(parseInt(_0x3d4ad4(0x12c))/0x5)+-parseInt(_0x3d4ad4(0x139))/0x6*(-parseInt(_0x3d4ad4(0x123))/0x7)+parseInt(_0x3d4ad4(0x127))/0x8+-parseInt(_0x3d4ad4(0x136))/0x9*(-parseInt(_0x3d4ad4(0x13c))/0xa);if(_0x127977===_0x24dfaf)break;else _0x5061f8['push'](_0x5061f8['shift']());}catch(_0x5d0395){_0x5061f8['push'](_0x5061f8['shift']());}}}(a125_0xe2c8,0xe8c63));function a125_0xe2c8(){const _0x5be39e=['agent','565642krRBPJ','protocol','./performance/constants','request','14614072KWLoij','sOxed','globalAgent','tAiXL','5064060pggpHR','5aWPnwa','keepAlive','http','measureWrapper','Cbeoi','aXfng','keepAliveMsecs','168564lOKsxT','zehcO','hasOwnProperty','819dFSyze','dInGW','https:','48yQBxJn','call','1361092RGLBMX','24410nnhBaF','1212614RcrhHh','https','FKXJD','Agent','kjxDL'];a125_0xe2c8=function(){return _0x5be39e;};return a125_0xe2c8();}function a125_0x4ca5(_0x40ce90,_0x84a30a){const _0xe2c897=a125_0xe2c8();return a125_0x4ca5=function(_0x4ca594,_0x5a7aa6){_0x4ca594=_0x4ca594-0x123;let _0x286809=_0xe2c897[_0x4ca594];return _0x286809;},a125_0x4ca5(_0x40ce90,_0x84a30a);}const PerformanceTester=require('./performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceEvents}=require(a125_0x7b3be3(0x125));module['exports']=PerformanceTester[a125_0x7b3be3(0x12f)](PerformanceEvents['KEEP_ALIVE'],function(){const _0x8b9ed=a125_0x7b3be3,_0x4249f4={'Cbeoi':function(_0x5f06e9,_0x96ebda){return _0x5f06e9===_0x96ebda;},'tAiXL':_0x8b9ed(0x138),'zehcO':_0x8b9ed(0x142),'kjxDL':function(_0x4983d5,_0x1994ed,_0x4f7a07){return _0x4983d5(_0x1994ed,_0x4f7a07);},'FrUBi':function(_0x549131,_0x4f5d18,_0x150a01){return _0x549131(_0x4f5d18,_0x150a01);},'sOxed':function(_0x346ae0,_0x6bc89c){return _0x346ae0(_0x6bc89c);},'aXfng':_0x8b9ed(0x12e),'FKXJD':_0x8b9ed(0x13e),'LTEQg':function(_0x3dface,_0x346252){return _0x3dface*_0x346252;},'dInGW':_0x8b9ed(0x12d)},_0x17e91f=_0x4249f4[_0x8b9ed(0x128)](require,_0x4249f4[_0x8b9ed(0x131)]),_0x36f31f=_0x4249f4[_0x8b9ed(0x128)](require,_0x4249f4[_0x8b9ed(0x13f)]),_0x160850=_0x4249f4['LTEQg'](0x1e,0x3e8);if(_0x17e91f['globalAgent']&&Object['prototype'][_0x8b9ed(0x135)][_0x8b9ed(0x13a)](_0x17e91f[_0x8b9ed(0x129)],_0x4249f4[_0x8b9ed(0x137)]))_0x17e91f[_0x8b9ed(0x129)]['keepAlive']=!![],_0x36f31f['globalAgent']['keepAlive']=!![],_0x17e91f['globalAgent'][_0x8b9ed(0x132)]=_0x160850,_0x36f31f[_0x8b9ed(0x129)][_0x8b9ed(0x132)]=_0x160850;else{const _0x1e6264={};_0x1e6264['keepAlive']=!![],_0x1e6264[_0x8b9ed(0x132)]=_0x160850;const _0x9c283d=new _0x17e91f[(_0x8b9ed(0x140))](_0x1e6264),_0x393ac7={};_0x393ac7[_0x8b9ed(0x12d)]=!![],_0x393ac7['keepAliveMsecs']=_0x160850;const _0x6cdbc7=new _0x36f31f[(_0x8b9ed(0x140))](_0x393ac7),_0x4b11f4=_0x17e91f[_0x8b9ed(0x126)],_0x195053=_0x36f31f[_0x8b9ed(0x126)];_0x17e91f[_0x8b9ed(0x126)]=function(_0x2b7620,_0xf47787){const _0x5ed2c9=_0x8b9ed;if(_0x4249f4[_0x5ed2c9(0x130)](_0x2b7620[_0x5ed2c9(0x124)],_0x4249f4[_0x5ed2c9(0x12a)]))return _0x2b7620[_0x4249f4[_0x5ed2c9(0x134)]]=_0x6cdbc7,_0x4249f4[_0x5ed2c9(0x141)](_0x195053,_0x2b7620,_0xf47787);return _0x2b7620[_0x4249f4[_0x5ed2c9(0x134)]]=_0x9c283d,_0x4249f4['FrUBi'](_0x4b11f4,_0x2b7620,_0xf47787);};}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a126_0x514fea=a126_0x31a4;function a126_0x31a4(_0x370147,_0x2627ae){const _0x4e9169=a126_0x4e91();return a126_0x31a4=function(_0x31a434,_0x5936f6){_0x31a434=_0x31a434-0xc4;let _0x60582e=_0x4e9169[_0x31a434];return _0x60582e;},a126_0x31a4(_0x370147,_0x2627ae);}(function(_0x51f947,_0x12681c){const _0x235c82=a126_0x31a4,_0x4e1c54=_0x51f947();while(!![]){try{const _0x5c0802=parseInt(_0x235c82(0xda))/0x1*(-parseInt(_0x235c82(0xe3))/0x2)+-parseInt(_0x235c82(0xea))/0x3+-parseInt(_0x235c82(0xe6))/0x4*(-parseInt(_0x235c82(0xd8))/0x5)+-parseInt(_0x235c82(0xd2))/0x6*(-parseInt(_0x235c82(0xdf))/0x7)+-parseInt(_0x235c82(0xe7))/0x8*(-parseInt(_0x235c82(0xe0))/0x9)+parseInt(_0x235c82(0xed))/0xa*(-parseInt(_0x235c82(0xdc))/0xb)+-parseInt(_0x235c82(0xeb))/0xc*(-parseInt(_0x235c82(0xd6))/0xd);if(_0x5c0802===_0x12681c)break;else _0x4e1c54['push'](_0x4e1c54['shift']());}catch(_0x24b342){_0x4e1c54['push'](_0x4e1c54['shift']());}}}(a126_0x4e91,0xe7a80));function a126_0x4e91(){const _0x3748b4=['assign','33ipUTgh','API_URL','jest','453614AhfCRC','3582xrQZCR','toLowerCase','OBSERVABILITY_UPLOAD_API_URL','514MGIJMB','.obs_test_details','env','7576KSrTeB','33736TOwkIm','preprod','https://upload-observability.browserstack.com','3006096lPcFaG','252XYWjrZ','pre-prod','554110zgNmwj','JEST','../logger','mocha','https://upload-observability-preprod.bsstag.com','codeceptjs','path','join','CODECEPT_CUCUMBER','CUCUMBER','exports','staging','BROWSERSTACK_ENV','codeceptjs-cucumber','https://collector-observability.browserstack.com','api/v1/batch','PLAYWRIGHT','12DxgCYD','CODECEPT','prod','MOCHA','1046266CoimoQ','cucumber','955LRnjDh','upload-attachments','6781MlIdTS'];a126_0x4e91=function(){return _0x3748b4;};return a126_0x4e91();}const path=require(a126_0x514fea(0xc7)),{logDir}=require(a126_0x514fea(0xef)),a126_0x2a2de9={};a126_0x2a2de9[a126_0x514fea(0xd1)]='Playwright',a126_0x2a2de9[a126_0x514fea(0xd5)]=a126_0x514fea(0xc4),a126_0x2a2de9[a126_0x514fea(0xd3)]=a126_0x514fea(0xc6),a126_0x2a2de9[a126_0x514fea(0xc9)]=a126_0x514fea(0xce),a126_0x2a2de9[a126_0x514fea(0xee)]=a126_0x514fea(0xde),a126_0x2a2de9[a126_0x514fea(0xca)]=a126_0x514fea(0xd7),module[a126_0x514fea(0xcb)]={'consoleHolder':Object[a126_0x514fea(0xdb)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a126_0x514fea(0xcf),'OBSERVABILITY_UPLOAD_API_URL':a126_0x514fea(0xe9),'EVENT_ENDPOINT':'api/v1/event','BATCH_ENDPOINT':a126_0x514fea(0xd0),'SCREENSHOT_ENDPOINT':'api/v1/screenshots','UPLOAD_ATTACHMENT_ENDPOINT':a126_0x514fea(0xd9),'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_0x514fea(0xc8)](logDir,a126_0x514fea(0xe4)),'FRAMEWORKS':a126_0x2a2de9};const _env=(process[a126_0x514fea(0xe5)][a126_0x514fea(0xcd)]||a126_0x514fea(0xd4))[a126_0x514fea(0xe1)]();if(_env===a126_0x514fea(0xcc)||_env==='stag')module[a126_0x514fea(0xcb)][a126_0x514fea(0xdd)]='https://collector-observability-devtestops.bsstag.com',module[a126_0x514fea(0xcb)]['OBSERVABILITY_UPLOAD_API_URL']='https://upload-observability-devtestops-ssi.bsstag.com';else(_env===a126_0x514fea(0xe8)||_env===a126_0x514fea(0xec))&&(module[a126_0x514fea(0xcb)][a126_0x514fea(0xdd)]='https://collector-observability-preprod.bsstag.com',module[a126_0x514fea(0xcb)][a126_0x514fea(0xe2)]=a126_0x514fea(0xc5));
|
|
@@ -1 +1 @@
|
|
|
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
|
+
const a127_0x4fc7e0=a127_0x24d5;function a127_0x2438(){const _0x17bdc5=['6281238KOANBb','LVRvG','frameworkVersion','exports','USER_CONFIG_FOR_REPORTING','CREDENTIALS_FOR_CRASH_REPORTING','CErRh','.\x20Args\x20-\x20','QaXrm','KGDdW','GtCkf','cIOND','826aMdFsa','captureError','Bhpqh','username','liCtB','1417066sIvPDy','Started\x20::\x20','379viASGo','.\x20Error\x20-\x20','accessKey','gdhEg','5184717HLZBPZ','initialize','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','/api/v1/analytics','key','includes','o11yClassErrorHandler','depth','Error\x20in\x20executing\x20','catch','Content-Type',',\x20PID\x20-\x20','env','getConfig','setCredentials','ZqeXS','inspect','util',',\x20Argument\x20-\x20','timerify','fYTjc','application/json','1501768jtxcSO','XGPcf','Cvmfg','frameworkDetails','CrashReporter','function','BROWSERSTACK_O11Y_PERF_MEASUREMENT','toString','forEach','name','getCredentials','../helper','userConfig','password','gWlqW','credentials','DquQv','auth','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','pid','5mTDsJQ','o11yErrorHandler','length','3003vTmUeP','UtFlm','getPerformance','QdbGV','true','toLowerCase','WLHaX','PoAbn','hIFLM','vkgpA','setAllDetails','format','frameworkName','POST','47140nUTTlq','keys','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','yJJaH','[Crash_Report_Upload]\x20Success\x20response:\x20','kGKBe','recursivelyDeletePIIKeysFromObject','stringify','setConfigDetails','apply','parse','sDBBw','defineProperty','constructor','getOwnPropertyNames','72nTVhnc','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','object','4sVPWiS','getFramework','RUidP','headers','11010396kpZZvO','WhQXL','uploadCrashReport','ajsfM','stack','13maErTv','yUIba','BS_TESTOPS_BUILD_HASHED_ID','call','\x20--\x20','setFrameworkDetails'];a127_0x2438=function(){return _0x17bdc5;};return a127_0x2438();}(function(_0x24a1d2,_0x5e0a2e){const _0x6b7a3d=a127_0x24d5,_0x58ff93=_0x24a1d2();while(!![]){try{const _0xd51f0c=-parseInt(_0x6b7a3d(0x200))/0x1*(parseInt(_0x6b7a3d(0x1f9))/0x2)+-parseInt(_0x6b7a3d(0x204))/0x3*(-parseInt(_0x6b7a3d(0x1de))/0x4)+parseInt(_0x6b7a3d(0x1bb))/0x5*(parseInt(_0x6b7a3d(0x1ed))/0x6)+parseInt(_0x6b7a3d(0x1fe))/0x7+parseInt(_0x6b7a3d(0x21a))/0x8*(-parseInt(_0x6b7a3d(0x1db))/0x9)+-parseInt(_0x6b7a3d(0x1cc))/0xa*(parseInt(_0x6b7a3d(0x1be))/0xb)+parseInt(_0x6b7a3d(0x1e2))/0xc*(parseInt(_0x6b7a3d(0x1e7))/0xd);if(_0xd51f0c===_0x5e0a2e)break;else _0x58ff93['push'](_0x58ff93['shift']());}catch(_0x25f46d){_0x58ff93['push'](_0x58ff93['shift']());}}}(a127_0x2438,0xe7e6a));const util=require(a127_0x4fc7e0(0x215)),PerformanceTester=require('../performance/performance-tester'),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require('./utils'),{getAgentVersion,nestedKeyValue}=require(a127_0x4fc7e0(0x1b2)),o11yErrorHandler=(_0x2c4f2c,_0x4fec3e='',_0x1eed1a=[''],_0x105e70=![])=>{const _0x5315bb={'GhvGt':function(_0x379322,_0x2474fe){return _0x379322(_0x2474fe);},'yUIba':function(_0x9364ec,_0x13044b,_0x5abc56){return _0x9364ec(_0x13044b,_0x5abc56);},'WhQXL':function(_0x5905c1,_0x10142e){return _0x5905c1(_0x10142e);},'nJbDw':function(_0x236422,_0x16db65){return _0x236422 instanceof _0x16db65;},'Csvbt':function(_0x44b903,_0x3abaf7,_0x573658,_0x5592dd,_0x244a78){return _0x44b903(_0x3abaf7,_0x573658,_0x5592dd,_0x244a78);}};return function(..._0x5c276a){const _0xf146d4=a127_0x24d5;try{let _0x31b324=_0x2c4f2c;process[_0xf146d4(0x210)][_0xf146d4(0x220)]&&(_0x31b324=PerformanceTester[_0xf146d4(0x1c0)]()[_0xf146d4(0x217)](_0x31b324));_0x105e70&&_0x5315bb['GhvGt'](trace,_0xf146d4(0x1ff)+_0x4fec3e+_0xf146d4(0x20f)+process[_0xf146d4(0x1ba)]+_0xf146d4(0x216)+_0x5315bb[_0xf146d4(0x1e8)](nestedKeyValue,arguments[0x0],_0x1eed1a));const _0x3b79c2=_0x31b324[_0xf146d4(0x1d5)](null,arguments);_0x105e70&&_0x5315bb[_0xf146d4(0x1e3)](trace,'Finished\x20::\x20'+_0x4fec3e+_0xf146d4(0x20f)+process[_0xf146d4(0x1ba)]+_0xf146d4(0x216)+_0x5315bb[_0xf146d4(0x1e8)](nestedKeyValue,arguments[0x0],_0x1eed1a));if(_0x5315bb['nJbDw'](_0x3b79c2,Promise))return _0x3b79c2[_0xf146d4(0x20d)](_0x251fed=>processError(_0x251fed,_0x2c4f2c,_0x5c276a,_0x4fec3e));return _0x3b79c2;}catch(_0x488f6b){_0x5315bb['Csvbt'](processError,_0x488f6b,_0x2c4f2c,_0x5c276a,_0x4fec3e);}};},o11yClassErrorHandler=(_0x474ef8,_0x1dba32,_0xc5fd32='')=>{const _0x304f27=a127_0x4fc7e0,_0x16e693={'cIOND':function(_0x568f2b,_0x3752c7){return _0x568f2b instanceof _0x3752c7;},'QaXrm':function(_0x3fbb89,_0x154065,_0x50c3d6,_0x7463a0,_0x3bdb2b){return _0x3fbb89(_0x154065,_0x50c3d6,_0x7463a0,_0x3bdb2b);},'hIFLM':function(_0x129f9d,_0x190d06){return _0x129f9d===_0x190d06;},'gdhEg':_0x304f27(0x21f),'XGPcf':function(_0x1b57fa,_0x4eb8ec){return _0x1b57fa!==_0x4eb8ec;},'ajsfM':_0x304f27(0x1d9),'WLHaX':function(_0x2e27a5,_0x59fa3b){return _0x2e27a5<_0x59fa3b;}},_0x5b2670=_0x474ef8['prototype'];if(_0x16e693[_0x304f27(0x1c4)](Object[_0x304f27(0x1da)](_0x5b2670)[_0x304f27(0x1bd)],0x2))return _0x474ef8;return Object['getOwnPropertyNames'](_0x5b2670)[_0x304f27(0x1af)](_0x24f82f=>{const _0x8f6396=_0x304f27,_0x1ca247={'yJJaH':function(_0x3a8de5,_0x4d5bf7){const _0x5d54d4=a127_0x24d5;return _0x16e693[_0x5d54d4(0x1f8)](_0x3a8de5,_0x4d5bf7);},'GtCkf':function(_0x3fd320,_0x51a6e8,_0x14810a,_0x14923e,_0x48ec78){const _0x383bec=a127_0x24d5;return _0x16e693[_0x383bec(0x1f5)](_0x3fd320,_0x51a6e8,_0x14810a,_0x14923e,_0x48ec78);}};if(!(_0x1dba32&&_0x1dba32[_0x8f6396(0x209)](_0x24f82f)))return;const _0x1c2948=_0x5b2670[_0x24f82f];_0x16e693[_0x8f6396(0x1c6)](typeof _0x1c2948,_0x16e693[_0x8f6396(0x203)])&&_0x16e693[_0x8f6396(0x21b)](_0x24f82f,_0x16e693[_0x8f6396(0x1e5)])&&Object[_0x8f6396(0x1d8)](_0x5b2670,_0x24f82f,{'writable':!![],'value':function(..._0x25e4e9){const _0x3186b9=_0x8f6396;try{const _0x115ec5=(process[_0x3186b9(0x210)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester[_0x3186b9(0x1c0)]()[_0x3186b9(0x217)](_0x1c2948):_0x1c2948)[_0x3186b9(0x1ea)](this,..._0x25e4e9);if(_0x1ca247[_0x3186b9(0x1cf)](_0x115ec5,Promise))return _0x115ec5[_0x3186b9(0x20d)](_0x208741=>processError(_0x208741,_0x1c2948,_0x25e4e9,_0xc5fd32));return _0x115ec5;}catch(_0x1ce196){_0x1ca247[_0x3186b9(0x1f7)](processError,_0x1ce196,_0x1c2948,_0x25e4e9,_0xc5fd32);}}});}),_0x474ef8;};function a127_0x24d5(_0x297944,_0x3b05b4){const _0x243806=a127_0x2438();return a127_0x24d5=function(_0x24d57d,_0x51a07e){_0x24d57d=_0x24d57d-0x1ae;let _0x3fadb9=_0x243806[_0x24d57d];return _0x3fadb9;},a127_0x24d5(_0x297944,_0x3b05b4);}function processError(_0x5a00e9,_0x5d0e8d,_0x2243d4,_0x4d7caa){const _0xd594b1=a127_0x4fc7e0,_0x3eb90a={'jJbkq':function(_0xfcdb67,_0x5af761){return _0xfcdb67(_0x5af761);}};_0x3eb90a['jJbkq'](debug,_0xd594b1(0x20c)+_0x5d0e8d[_0xd594b1(0x1b0)]+_0xd594b1(0x1eb)+_0x4d7caa+'.\x20Error\x20-\x20'+util[_0xd594b1(0x1c9)](_0x5a00e9)+'.\x20Args\x20-\x20'+_0x2243d4+'.'),PerformanceTester[_0xd594b1(0x1fa)](_0x5a00e9);let _0x122212;try{_0x122212=JSON[_0xd594b1(0x1d3)](_0x2243d4);}catch(_0x195c71){const _0x9a2273={};_0x9a2273[_0xd594b1(0x20b)]=0x2,_0x122212=util[_0xd594b1(0x214)](_0x2243d4,_0x9a2273);}CrashReporter[_0xd594b1(0x1e4)](_0xd594b1(0x20c)+_0x5d0e8d[_0xd594b1(0x1b0)]+_0xd594b1(0x1eb)+_0x4d7caa+_0xd594b1(0x201)+_0x5a00e9+_0xd594b1(0x1f4)+_0x122212+'.',_0x5a00e9&&_0x5a00e9[_0xd594b1(0x1e6)]);}class CrashReporter{static ['userConfig']={};static [a127_0x4fc7e0(0x1b6)];static [a127_0x4fc7e0(0x21d)]={};static[a127_0x4fc7e0(0x205)](_0xb16e20,_0x567626,_0x4b9537=null){const _0x3e8598=a127_0x4fc7e0,_0x365ab9={'sDBBw':function(_0x30f532,_0x303a0d){return _0x30f532(_0x303a0d);},'AaKZJ':function(_0x52a16f,_0x2af767){return _0x52a16f(_0x2af767);}},_0x266192=_0xb16e20[_0x3e8598(0x1ca)],_0x4fc53e=_0xb16e20[_0x3e8598(0x1ef)];!_0x4b9537&&(_0x4b9537=_0x365ab9[_0x3e8598(0x1d7)](getBrowserStackConfig,_0x266192));!_0x4fc53e&&_0x365ab9[_0x3e8598(0x1d7)](getFrameworkVersion,_0x266192);const _0x794d37={};_0x794d37['frameworkName']=_0x266192,_0x794d37[_0x3e8598(0x1ef)]=_0x4fc53e,this['setAllDetails'](_0x794d37,_0x567626,_0x365ab9['AaKZJ'](getUserCredentials,_0x4b9537));}static[a127_0x4fc7e0(0x212)](_0x3d4cd7,_0x15e463){const _0x20c179=a127_0x4fc7e0,_0x14d0f8={};_0x14d0f8['username']=_0x3d4cd7,_0x14d0f8[_0x20c179(0x202)]=_0x15e463,this['credentials']=_0x14d0f8,process[_0x20c179(0x210)][_0x20c179(0x1f2)]=JSON[_0x20c179(0x1d3)](this[_0x20c179(0x1b6)]);}static[a127_0x4fc7e0(0x1b1)](){const _0x213d5a=a127_0x4fc7e0,_0xa0e190={'CErRh':function(_0x139cc9,_0x31c806){return _0x139cc9(_0x31c806);}};if(!this[_0x213d5a(0x1b6)]&&process['env'][_0x213d5a(0x1f2)])try{this['credentials']=JSON[_0x213d5a(0x1d6)](process['env']['CREDENTIALS_FOR_CRASH_REPORTING']);}catch(_0x3ed013){_0xa0e190[_0x213d5a(0x1f3)](debug,_0x213d5a(0x206)+_0x3ed013['toString']());}return this[_0x213d5a(0x1b6)];}static['setConfigDetails'](_0x4958aa){const _0x2b6c7b=a127_0x4fc7e0;this[_0x2b6c7b(0x1b3)]=this['filterPII'](_0x4958aa),process[_0x2b6c7b(0x210)][_0x2b6c7b(0x1f1)]=JSON[_0x2b6c7b(0x1d3)](this[_0x2b6c7b(0x1b3)]);}static[a127_0x4fc7e0(0x211)](){const _0x26ca40=a127_0x4fc7e0,_0x67ef3e={'kGKBe':function(_0x13dd43,_0x4741fb){return _0x13dd43===_0x4741fb;},'xyagB':function(_0x1a498f,_0xb1ee6b){return _0x1a498f(_0xb1ee6b);}};if(_0x67ef3e[_0x26ca40(0x1d1)](Object['keys'](this[_0x26ca40(0x1b3)])[_0x26ca40(0x1bd)],0x0)&&process['env'][_0x26ca40(0x1f1)])try{this['userConfig']=JSON[_0x26ca40(0x1d6)](process[_0x26ca40(0x210)][_0x26ca40(0x1f1)]);}catch(_0x383907){_0x67ef3e['xyagB'](debug,_0x26ca40(0x1ce)+_0x383907[_0x26ca40(0x1ae)]()),this[_0x26ca40(0x1b3)]={};}return this[_0x26ca40(0x1b3)];}static[a127_0x4fc7e0(0x1ec)](_0x35018d){const _0x539ced=a127_0x4fc7e0;this[_0x539ced(0x21d)]=_0x35018d,process[_0x539ced(0x210)][_0x539ced(0x1b9)]=JSON['stringify'](this[_0x539ced(0x21d)]);}static['getFramework'](){const _0x4afa6c=a127_0x4fc7e0,_0x5c0ad1={'Bhpqh':function(_0x33ef11,_0x37eab8){return _0x33ef11===_0x37eab8;},'IPkJn':function(_0x44adcb,_0x49fc30){return _0x44adcb(_0x49fc30);}};if(_0x5c0ad1[_0x4afa6c(0x1fb)](Object[_0x4afa6c(0x1cd)](this['frameworkDetails'])[_0x4afa6c(0x1bd)],0x0)&&process[_0x4afa6c(0x210)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS'])try{this[_0x4afa6c(0x21d)]=JSON[_0x4afa6c(0x1d6)](process[_0x4afa6c(0x210)][_0x4afa6c(0x1b9)]);}catch(_0x26130d){_0x5c0ad1['IPkJn'](debug,_0x4afa6c(0x206)+_0x26130d[_0x4afa6c(0x1ae)]());}return this['frameworkDetails'];}static[a127_0x4fc7e0(0x1c8)](_0x54e1d4,_0x5ee8cd,_0x446d7e){const _0x5165a9=a127_0x4fc7e0;_0x54e1d4&&this[_0x5165a9(0x1ec)](_0x54e1d4),_0x5ee8cd&&this[_0x5165a9(0x1d4)](_0x5ee8cd),_0x446d7e&&this[_0x5165a9(0x212)](_0x446d7e[_0x5165a9(0x1fc)],_0x446d7e[_0x5165a9(0x202)]);}static async[a127_0x4fc7e0(0x1e4)](_0x50d825,_0x29d22e){const _0x18f408=a127_0x4fc7e0,_0x178941={'LVRvG':function(_0x51633c,_0x218e5b){return _0x51633c(_0x218e5b);},'ZqeXS':function(_0x1a4569,_0x32fdcb){return _0x1a4569(_0x32fdcb);},'PoAbn':_0x18f408(0x1dc),'RUidP':function(_0x29c115){return _0x29c115();},'KGDdW':_0x18f408(0x207),'QdbGV':_0x18f408(0x219),'DquQv':_0x18f408(0x1c2),'rBpEi':function(_0x5c141e,_0x1642a6,_0xf14953,_0x9d52d3,_0x4e8ac8,_0x562d6f){return _0x5c141e(_0x1642a6,_0xf14953,_0x9d52d3,_0x4e8ac8,_0x562d6f);},'SCZQu':_0x18f408(0x1cb)};this[_0x18f408(0x1b1)]();if(!this['credentials'])return _0x178941[_0x18f408(0x213)](debug,_0x178941[_0x18f408(0x1c5)]);this[_0x18f408(0x211)](),this[_0x18f408(0x1df)]();const _0x373d77={'hashed_id':process[_0x18f408(0x210)][_0x18f408(0x1e9)],'observability_version':{'sdkVersion':_0x178941[_0x18f408(0x1e0)](getAgentVersion),'frameworkName':this[_0x18f408(0x21d)][_0x18f408(0x1ca)],'frameworkVersion':this['frameworkDetails'][_0x18f408(0x1ef)]},'exception':{'error':_0x50d825[_0x18f408(0x1ae)](),'stackTrace':_0x29d22e},'config':this[_0x18f408(0x1b3)]},_0x1b7b0b=_0x178941[_0x18f408(0x1f6)],_0x306b81={};_0x306b81[_0x18f408(0x1fc)]=this['credentials'][_0x18f408(0x1fc)],_0x306b81[_0x18f408(0x1b4)]=this[_0x18f408(0x1b6)][_0x18f408(0x202)];const _0x1bbdf6={};_0x1bbdf6[_0x18f408(0x20e)]=_0x178941[_0x18f408(0x1c1)],_0x1bbdf6['X-BSTACK-TESTOPS']=_0x178941[_0x18f408(0x1b7)];const _0x54d019={};_0x54d019[_0x18f408(0x1b8)]=_0x306b81,_0x54d019[_0x18f408(0x1e1)]=_0x1bbdf6;const _0x95fc9f=_0x54d019;_0x178941['rBpEi'](nodeRequest,_0x178941['SCZQu'],_0x1b7b0b,_0x373d77,_0x95fc9f,![])['then'](_0x3597e5=>{const _0x815379=_0x18f408;_0x178941[_0x815379(0x1ee)](debug,_0x815379(0x1d0)+JSON[_0x815379(0x1d3)](_0x3597e5));})[_0x18f408(0x20d)](_0x2348a4=>{const _0xb2644c=_0x18f408;_0x178941[_0xb2644c(0x1ee)](debug,'[Crash_Report_Upload]\x20Failed\x20due\x20to\x20'+util[_0xb2644c(0x1c9)](_0x2348a4));});}static['recursivelyDeletePIIKeysFromObject'](_0xccc7d4){const _0x5da569=a127_0x4fc7e0,_0x4f19b6={};_0x4f19b6[_0x5da569(0x218)]='user',_0x4f19b6[_0x5da569(0x21c)]='username',_0x4f19b6['BTTYz']=_0x5da569(0x208),_0x4f19b6[_0x5da569(0x1fd)]=_0x5da569(0x202),_0x4f19b6['vkgpA']=_0x5da569(0x1b4),_0x4f19b6['UtFlm']=function(_0x158988,_0x49b971){return _0x158988===_0x49b971;},_0x4f19b6[_0x5da569(0x1b5)]=_0x5da569(0x1dd);const _0x3580d6=_0x4f19b6;if(!_0xccc7d4)return;const _0x5e6224=[_0x3580d6['fYTjc'],_0x3580d6['Cvmfg'],_0x3580d6['BTTYz'],_0x3580d6[_0x5da569(0x1fd)],_0x3580d6[_0x5da569(0x1c7)]];for(const _0x38aa32 in _0xccc7d4){if(_0x5e6224['includes'](_0x38aa32[_0x5da569(0x1c3)]()))delete _0xccc7d4[_0x38aa32];else _0x3580d6[_0x5da569(0x1bf)](typeof _0xccc7d4[_0x38aa32],_0x3580d6[_0x5da569(0x1b5)])&&this[_0x5da569(0x1d2)](_0xccc7d4[_0x38aa32]);}}static['filterPII'](_0x472198){const _0x80d18b=a127_0x4fc7e0,_0x484cd5=JSON[_0x80d18b(0x1d6)](JSON[_0x80d18b(0x1d3)](_0x472198));return this[_0x80d18b(0x1d2)](_0x484cd5),_0x484cd5;}}const a127_0x1a4b01={};a127_0x1a4b01[a127_0x4fc7e0(0x1bc)]=o11yErrorHandler,a127_0x1a4b01[a127_0x4fc7e0(0x20a)]=o11yClassErrorHandler,a127_0x1a4b01[a127_0x4fc7e0(0x21e)]=CrashReporter,module[a127_0x4fc7e0(0x1f0)]=a127_0x1a4b01;
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
1
|
+
const a128_0x14f74f=a128_0x34c6;(function(_0x157b6d,_0x583de1){const _0x435764=a128_0x34c6,_0x2ba59b=_0x157b6d();while(!![]){try{const _0x4a415c=-parseInt(_0x435764(0xf6))/0x1+parseInt(_0x435764(0x122))/0x2*(-parseInt(_0x435764(0xfb))/0x3)+-parseInt(_0x435764(0xce))/0x4*(-parseInt(_0x435764(0xed))/0x5)+parseInt(_0x435764(0xe8))/0x6*(-parseInt(_0x435764(0x107))/0x7)+parseInt(_0x435764(0x112))/0x8*(parseInt(_0x435764(0xec))/0x9)+-parseInt(_0x435764(0xde))/0xa*(parseInt(_0x435764(0xf7))/0xb)+parseInt(_0x435764(0x101))/0xc;if(_0x4a415c===_0x583de1)break;else _0x2ba59b['push'](_0x2ba59b['shift']());}catch(_0x144f89){_0x2ba59b['push'](_0x2ba59b['shift']());}}}(a128_0x7e7e,0xc1926));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a128_0x14f74f(0xc6)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a128_0x14f74f(0x126)),{nestedKeyValue}=require('../helper'),util=require(a128_0x14f74f(0xd2)),constants=require('../../bin/utils/constants');function a128_0x34c6(_0x22ef2b,_0x39e39c){const _0x7e7e71=a128_0x7e7e();return a128_0x34c6=function(_0x34c6a8,_0x2ab710){_0x34c6a8=_0x34c6a8-0xc3;let _0x39ecd9=_0x7e7e71[_0x34c6a8];return _0x39ecd9;},a128_0x34c6(_0x22ef2b,_0x39e39c);}function a128_0x7e7e(){const _0x657c48=['JScGG','Remaining\x20Queue\x20Length\x20-\x20','TestRunSkipped','24984MMPZEw','EpMIO','xVBzp','pendingUploads','./utils','vZOfU','eventUrl','queue','MjieF','lADvQ','TestRunFinished','dhPwP','shouldProceed','startEventBatchPolling','error','statusText','pollEventBatchInterval','join','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','resetEventBatchPolling','.\x20Request\x20Size\x20-\x20','CBTSessionCreated','EmCTk','HookRunStarted','dDeGQ','LogCreated','./constants','ceKqy','instance','PTkWW','MQLCF','\x20event\x20successful\x20for\x20events\x20','TEST_ATTACHMENT','proceedWithData','28EhlyVE','uploadAttachmentUrl','TEST_REPORTING_ANALYTICS','PxPzT','util','shutdown','uuid','fvOFh','test_run','HookRunFinished','OxgvX','qFoCY','Uxxmj','getInstance','uploadPending','started','220HboRAt','kiYwk','\x20REQUEST\x20TO\x20','message','XYUqd','splice','add','hook_run','kind','BATCH_EVENT_TYPES','240jXAYpC','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','logs','format','270GxyIQK','96515pUCmZs','screenshotEventUrl','jPIAc','Vsmjc','push','response','ARDjl','Interval-Queue','BkvjT','767766GXjjUo','534501YKiyMT','\x20:\x20','LHAJq','wqQQJ','66eCLVGa','TEST_SCREENSHOT','wbYEx','RESETTING','EXCEPTION\x20IN\x20','eWgNa','18333132fWHjLE','TestRunStarted','data','removeEventBatchPolling','YAuPE','lnpDh','57939vVFYBm','Hqehu','cFyCn','iKpxe','REMOVING','Processing\x20events.\x20Queue\x20Length\x20-\x20','slice','length','phqVy','proceedWithUrl','IcFWI','419376FAlWpu','Shutdown-Queue','mxTah','max','OCwpY','FWfVe','split','event_type','exports','batchAndPostEvents','NnPwG','Nkcvj','yPatL'];a128_0x7e7e=function(){return _0x657c48;};return a128_0x7e7e();}class RequestQueueHandler{static [a128_0x14f74f(0xc8)];[a128_0x14f74f(0x125)]=0x0;constructor(){const _0x99dbef=a128_0x14f74f,_0xf9e9fb={};_0xf9e9fb[_0x99dbef(0xf5)]='0|2|6|3|1|5|4',_0xf9e9fb[_0x99dbef(0xf3)]='upload-attachments',_0xf9e9fb[_0x99dbef(0xc4)]='api/v1/screenshots',_0xf9e9fb[_0x99dbef(0x11c)]=_0x99dbef(0xc5),_0xf9e9fb[_0x99dbef(0x12d)]=_0x99dbef(0x137),_0xf9e9fb['vZOfU']=_0x99dbef(0x12c),_0xf9e9fb[_0x99dbef(0x105)]=_0x99dbef(0x121),_0xf9e9fb[_0x99dbef(0x11d)]=_0x99dbef(0xd7),_0xf9e9fb[_0x99dbef(0xd8)]=_0x99dbef(0x102),_0xf9e9fb['XYUqd']=_0x99dbef(0xc3),_0xf9e9fb[_0x99dbef(0x117)]='api/v1/batch';const _0x2b57b3=_0xf9e9fb,_0x381ee3=_0x2b57b3[_0x99dbef(0xf5)][_0x99dbef(0x118)]('|');let _0x1ae153=0x0;while(!![]){switch(_0x381ee3[_0x1ae153++]){case'0':this['queue']=[];continue;case'1':this['uploadAttachmentUrl']=_0x2b57b3[_0x99dbef(0xf3)];continue;case'2':this[_0x99dbef(0xdd)]=![];continue;case'3':this[_0x99dbef(0xee)]=_0x2b57b3[_0x99dbef(0xc4)];continue;case'4':this[_0x99dbef(0x132)]=null;continue;case'5':this[_0x99dbef(0xe7)]=[_0x2b57b3[_0x99dbef(0x11c)],_0x2b57b3[_0x99dbef(0x12d)],_0x2b57b3[_0x99dbef(0x127)],_0x2b57b3[_0x99dbef(0x105)],_0x2b57b3[_0x99dbef(0x11d)],_0x2b57b3[_0x99dbef(0xd8)],_0x2b57b3[_0x99dbef(0xe2)]];continue;case'6':this[_0x99dbef(0x128)]=_0x2b57b3[_0x99dbef(0x117)];continue;}break;}}static[a128_0x14f74f(0xdb)](){const _0x3d48bf=a128_0x14f74f;return!RequestQueueHandler[_0x3d48bf(0xc8)]&&(RequestQueueHandler[_0x3d48bf(0xc8)]=new RequestQueueHandler()),RequestQueueHandler['instance'];}['start']=()=>{const _0x2b245f=a128_0x14f74f;!this['started']&&(this[_0x2b245f(0xdd)]=!![],this[_0x2b245f(0x12f)]());};[a128_0x14f74f(0xe4)]=_0x5dbeaf=>{const _0x4ffef0=a128_0x14f74f,_0x1247fc={'EpMIO':function(_0x1d4e09,_0x46f558){return _0x1d4e09===_0x46f558;},'PTkWW':_0x4ffef0(0xfc),'xVBzp':function(_0x3cf035,_0x19420e){return _0x3cf035>_0x19420e;},'IcFWI':function(_0x107da6,_0x2af53c){return _0x107da6===_0x2af53c;},'phqVy':_0x4ffef0(0xcc),'lnpDh':function(_0x1f165b,_0x1bde52){return _0x1f165b!==_0x1bde52;},'wqQQJ':'TestRunFinished','Uxxmj':function(_0x11276f,_0x584a63){return _0x11276f(_0x584a63);},'LHAJq':_0x4ffef0(0xe9)};if(this[_0x4ffef0(0xe7)]['includes'](_0x5dbeaf['event_type'])){if(_0x5dbeaf[_0x4ffef0(0xea)]&&_0x5dbeaf[_0x4ffef0(0xea)][0x0]&&_0x1247fc[_0x4ffef0(0x123)](_0x5dbeaf[_0x4ffef0(0xea)][0x0][_0x4ffef0(0xe6)],_0x1247fc[_0x4ffef0(0xc9)])){const _0x41e9d3={};return _0x41e9d3[_0x4ffef0(0x12e)]=!![],_0x41e9d3[_0x4ffef0(0xcd)]=[_0x5dbeaf],_0x41e9d3[_0x4ffef0(0x110)]=this[_0x4ffef0(0xee)],_0x41e9d3;}if(_0x5dbeaf[_0x4ffef0(0xea)]&&_0x1247fc[_0x4ffef0(0x124)](_0x5dbeaf[_0x4ffef0(0xea)][_0x4ffef0(0x10e)],0x0)&&_0x1247fc[_0x4ffef0(0x111)](_0x5dbeaf['logs'][0x0][_0x4ffef0(0xe6)],_0x1247fc[_0x4ffef0(0x10f)])&&_0x1247fc[_0x4ffef0(0x106)](_0x5dbeaf['event_type'],_0x1247fc[_0x4ffef0(0xfa)])){const _0x2c87b9={};return _0x2c87b9[_0x4ffef0(0x12e)]=!![],_0x2c87b9[_0x4ffef0(0xcd)]=[_0x5dbeaf],_0x2c87b9['proceedWithUrl']=this[_0x4ffef0(0xcf)],_0x2c87b9;}this['queue'][_0x4ffef0(0xf1)](_0x5dbeaf);let _0x2451b8=null;const _0x314a03=this['shouldProceed']();_0x314a03&&(_0x1247fc[_0x4ffef0(0xda)](trace,_0x1247fc[_0x4ffef0(0xf9)]),_0x2451b8=this[_0x4ffef0(0x129)]['slice'](0x0,BATCH_SIZE),this[_0x4ffef0(0x129)]['splice'](0x0,BATCH_SIZE),this[_0x4ffef0(0x135)]());const _0x3c6e30={};return _0x3c6e30[_0x4ffef0(0x12e)]=_0x314a03,_0x3c6e30[_0x4ffef0(0xcd)]=_0x2451b8,_0x3c6e30[_0x4ffef0(0x110)]=this[_0x4ffef0(0x128)],_0x3c6e30;}const _0x4e90a4={};return _0x4e90a4[_0x4ffef0(0x12e)]=!![],_0x4e90a4;};[a128_0x14f74f(0xd3)]=async()=>{const _0x56e4e6=a128_0x14f74f,_0x94c10a={'zsbom':_0x56e4e6(0x10b),'MQLCF':function(_0x42c1f3,_0x2d5aae){return _0x42c1f3>_0x2d5aae;},'wbYEx':_0x56e4e6(0x113),'wySpv':function(_0x5c44eb,_0x535ff8){return _0x5c44eb>_0x535ff8;},'ipWuW':function(_0x43f44f,_0x17d32c){return _0x43f44f(_0x17d32c);}};await this[_0x56e4e6(0xdc)](),this[_0x56e4e6(0x104)](_0x94c10a['zsbom']);while(_0x94c10a[_0x56e4e6(0xca)](this[_0x56e4e6(0x129)][_0x56e4e6(0x10e)],0x0)){const _0x27a159=this[_0x56e4e6(0x129)]['slice'](0x0,BATCH_SIZE);this['queue'][_0x56e4e6(0xe3)](0x0,BATCH_SIZE),await this[_0x56e4e6(0x11b)](this[_0x56e4e6(0x128)],_0x94c10a[_0x56e4e6(0xfd)],_0x27a159);}_0x94c10a['wySpv'](this[_0x56e4e6(0x125)],0x0)&&_0x94c10a['ipWuW'](debug,'Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20'+this[_0x56e4e6(0x125)]);};[a128_0x14f74f(0x11b)]=async(_0x277fa7,_0x1c3993,_0x58abd0)=>{const _0x1846e6=a128_0x14f74f,_0x4c0854={'kiYwk':function(_0x19b985,_0xe609fc){return _0x19b985(_0xe609fc);},'EmCTk':'utf8','PxPzT':function(_0x21365b){return _0x21365b();},'fvOFh':function(_0x225cc9,_0x10ebb4,_0x22aad0,_0x245952,_0x5cc5dc){return _0x225cc9(_0x10ebb4,_0x22aad0,_0x245952,_0x5cc5dc);},'mxTah':'POST','OCwpY':function(_0x194e74,_0x5c9b61){return _0x194e74-_0x5c9b61;},'MjieF':function(_0x59b93b,_0x32fd81){return _0x59b93b(_0x32fd81);},'gwzeN':function(_0x51b638,_0x987268){return _0x51b638(_0x987268);}};let _0x153644='';try{_0x153644=_0x58abd0['map'](_0x6cad93=>'\x27'+_0x6cad93[_0x1846e6(0x119)]+'\x27:'+(nestedKeyValue(_0x6cad93,[_0x1846e6(0xd6),_0x1846e6(0xd4)])||nestedKeyValue(_0x6cad93,[_0x1846e6(0xe5),'uuid'])))[_0x1846e6(0x133)](','),_0x4c0854[_0x1846e6(0xdf)](debug,'Processing\x20batch\x20events\x20for\x20'+_0x1c3993+_0x1846e6(0x136)+Buffer['byteLength'](util[_0x1846e6(0xeb)]('%j',_0x58abd0),_0x4c0854[_0x1846e6(0x138)])+'\x20bytes.\x20Events\x20are\x20'+_0x153644);}catch(_0x1412e7){_0x4c0854[_0x1846e6(0xdf)](debug,_0x1846e6(0x134)+util[_0x1846e6(0xeb)](_0x1412e7)+'}');}const _0x510be2={'headers':_0x4c0854[_0x1846e6(0xd1)](getDefaultHeaders)};try{const _0x7aa4b0=await _0x4c0854[_0x1846e6(0xd5)](nodeRequest,_0x4c0854[_0x1846e6(0x114)],_0x277fa7,_0x58abd0,_0x510be2);if(_0x7aa4b0['data'][_0x1846e6(0x130)]){const _0x3686e3={};_0x3686e3[_0x1846e6(0xe1)]=_0x7aa4b0[_0x1846e6(0x103)][_0x1846e6(0x130)];throw _0x3686e3;}else _0x4c0854[_0x1846e6(0xdf)](debug,_0x1c3993+_0x1846e6(0xcb)+_0x153644+'\x20--\x20'+util[_0x1846e6(0xeb)]('%j',_0x7aa4b0[_0x1846e6(0x103)])),this[_0x1846e6(0x125)]=Math[_0x1846e6(0x115)](0x0,_0x4c0854[_0x1846e6(0x116)](this[_0x1846e6(0x125)],_0x58abd0[_0x1846e6(0x10e)]));}catch(_0x314efc){_0x314efc[_0x1846e6(0xf2)]?_0x4c0854[_0x1846e6(0x12a)](debug,_0x1846e6(0xff)+_0x1c3993+'\x20REQUEST\x20TO\x20'+constants[_0x1846e6(0xd0)]+_0x1846e6(0xf8)+_0x314efc[_0x1846e6(0xf2)]['status']+'\x20'+_0x314efc[_0x1846e6(0xf2)][_0x1846e6(0x131)]+'\x20'+util[_0x1846e6(0xeb)]('%j',_0x314efc[_0x1846e6(0xf2)])):_0x4c0854['gwzeN'](debug,'EXCEPTION\x20IN\x20'+_0x1c3993+_0x1846e6(0xe0)+constants[_0x1846e6(0xd0)]+'\x20:\x20'+(_0x314efc[_0x1846e6(0xe1)]||_0x314efc)),this[_0x1846e6(0x125)]=Math[_0x1846e6(0x115)](0x0,_0x4c0854[_0x1846e6(0x116)](this[_0x1846e6(0x125)],_0x58abd0['length']));}};['startEventBatchPolling']=()=>{const _0x2d389a=a128_0x14f74f,_0xb1a47e={'qFoCY':function(_0x2554ae,_0x512b62){return _0x2554ae>_0x512b62;},'iKpxe':function(_0x5218ba,_0x19cfad){return _0x5218ba(_0x19cfad);},'yPatL':_0x2d389a(0xf4),'NFOiu':function(_0x2b93c8,_0x5aa7b1,_0x45e3fa){return _0x2b93c8(_0x5aa7b1,_0x45e3fa);}};this['pollEventBatchInterval']=_0xb1a47e['NFOiu'](setInterval,async()=>{const _0x2a138e=_0x2d389a;if(_0xb1a47e[_0x2a138e(0xd9)](this[_0x2a138e(0x129)][_0x2a138e(0x10e)],0x0)){_0xb1a47e[_0x2a138e(0x10a)](trace,_0x2a138e(0x10c)+this[_0x2a138e(0x129)]['length']);const _0x3061bc=this['queue'][_0x2a138e(0x10d)](0x0,BATCH_SIZE);this['queue']['splice'](0x0,BATCH_SIZE),await this[_0x2a138e(0x11b)](this[_0x2a138e(0x128)],_0xb1a47e[_0x2a138e(0x11e)],_0x3061bc),_0xb1a47e[_0x2a138e(0x10a)](trace,_0x2a138e(0x120)+this['queue']['length']);}},BATCH_INTERVAL);};[a128_0x14f74f(0x135)]=()=>{const _0x24ab2a=a128_0x14f74f,_0x497ecc={};_0x497ecc[_0x24ab2a(0xc7)]=_0x24ab2a(0xfe);const _0x572ce9=_0x497ecc;this[_0x24ab2a(0x104)](_0x572ce9[_0x24ab2a(0xc7)]),this[_0x24ab2a(0x12f)]();};[a128_0x14f74f(0x104)]=_0x541845=>{const _0x2f1550=a128_0x14f74f,_0x5dee90={'JScGG':function(_0x22ac85,_0x8346d1){return _0x22ac85(_0x8346d1);},'LiHDc':function(_0x13f377,_0x86f9f3){return _0x13f377===_0x86f9f3;},'jPIAc':'REMOVING'};this[_0x2f1550(0x132)]&&(_0x5dee90[_0x2f1550(0x11f)](clearInterval,this[_0x2f1550(0x132)]),this[_0x2f1550(0x132)]=null,_0x5dee90['LiHDc'](_0x541845,_0x5dee90[_0x2f1550(0xef)])&&(this[_0x2f1550(0xdd)]=![]));};[a128_0x14f74f(0x12e)]=()=>{const _0x2763af=a128_0x14f74f,_0x27b4ab={};_0x27b4ab[_0x2763af(0x100)]=function(_0x47e2d9,_0x24f82f){return _0x47e2d9>=_0x24f82f;};const _0x53560c=_0x27b4ab;return _0x53560c[_0x2763af(0x100)](this[_0x2763af(0x129)][_0x2763af(0x10e)],BATCH_SIZE);};async[a128_0x14f74f(0xdc)](_0x414f0a=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x3a5817=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x4bb3a3=a128_0x14f74f,_0x175b13={'lADvQ':function(_0x4fa0cb,_0x2e5156){return _0x4fa0cb<=_0x2e5156;},'cFyCn':function(_0xe85bf3,_0x41ceab){return _0xe85bf3<=_0x41ceab;},'Vsmjc':function(_0x361f55,_0x568755){return _0x361f55(_0x568755);},'Hqehu':function(_0x1c99c6,_0xa3d127){return _0x1c99c6-_0xa3d127;}};if(_0x175b13[_0x4bb3a3(0x12b)](this['pendingUploads'],0x0)||_0x175b13[_0x4bb3a3(0x109)](_0x414f0a,0x0))return;return await _0x175b13[_0x4bb3a3(0xf0)](sleep,_0x3a5817),this['uploadPending'](_0x175b13[_0x4bb3a3(0x108)](_0x414f0a,_0x3a5817));}}module[a128_0x14f74f(0x11a)]=RequestQueueHandler;
|