browserstack-node-sdk 1.65.2 → 1.65.4
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/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/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.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/loadErrors.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/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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.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/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.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/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.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/puppeteer-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/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.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/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.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/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.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/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.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/driverInitErrorReporter.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/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.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/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 a171_0x346c11=a171_0x13bc;(function(_0x585850,_0x1b0c4d){const _0x5538bf=a171_0x13bc,_0x178fdc=_0x585850();while(!![]){try{const _0x114771=parseInt(_0x5538bf(0x18b))/0x1+-parseInt(_0x5538bf(0x202))/0x2*(parseInt(_0x5538bf(0x15c))/0x3)+-parseInt(_0x5538bf(0x177))/0x4+parseInt(_0x5538bf(0x1db))/0x5+-parseInt(_0x5538bf(0x15f))/0x6+-parseInt(_0x5538bf(0x189))/0x7+parseInt(_0x5538bf(0x1e9))/0x8*(parseInt(_0x5538bf(0x194))/0x9);if(_0x114771===_0x1b0c4d)break;else _0x178fdc['push'](_0x178fdc['shift']());}catch(_0x40fbc9){_0x178fdc['push'](_0x178fdc['shift']());}}}(a171_0x33ea,0x4cf27));function a171_0x13bc(_0x14f5c3,_0x2287fc){const _0x33ea41=a171_0x33ea();return a171_0x13bc=function(_0x13bcd9,_0x573feb){_0x13bcd9=_0x13bcd9-0x134;let _0x42bd08=_0x33ea41[_0x13bcd9];return _0x42bd08;},a171_0x13bc(_0x14f5c3,_0x2287fc);}const bsSetupHelper=require('../helper'),LoadTestModule=require('../../bin/v2/modules/loadTestModule'),{isTestObservabilitySession,getFrameworkVersion}=require(a171_0x346c11(0x200)),accessibilityHelper=require(a171_0x346c11(0x1ec)),logger=require(a171_0x346c11(0x203))['winstonLogger'],{nestedKeyValue}=require('../helper.js'),scripts=require(a171_0x346c11(0x1c5)),globals=require(a171_0x346c11(0x1a7)),testHubConstants=require(a171_0x346c11(0x14c)),PWTestDetails=require('../../bin/playwright/reporter/test-details.js'),JestTestDetails=require(a171_0x346c11(0x1e2)),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require(a171_0x346c11(0x1ad)),OrchestrationUtils=require(a171_0x346c11(0x1fc)),constants=require(a171_0x346c11(0x207));let testData={};exports[a171_0x346c11(0x1ae)]=_0x26f212=>{const _0x2cde4d=a171_0x346c11,_0x5701ff={'CKkoT':function(_0x1d8406){return _0x1d8406();},'zyOsW':function(_0x4e616e,_0x206e80){return _0x4e616e===_0x206e80;},'eHyWP':_0x2cde4d(0x16f)};let _0x3bba8b=![],_0x1d7b79=![];if(bsSetupHelper[_0x2cde4d(0x199)]()&&bsSetupHelper['isAppAutomateSession'](_0x26f212))_0x1d7b79=!![];else bsSetupHelper[_0x2cde4d(0x199)]()&&(_0x3bba8b=!![]);return Object[_0x2cde4d(0x19b)]({'observability':_0x5701ff[_0x2cde4d(0x205)](isTestObservabilitySession),'accessibility':exports[_0x2cde4d(0x147)](_0x26f212),'percy':_0x26f212['percy']||![],'sr_automation':_0x5701ff[_0x2cde4d(0x167)](process[_0x2cde4d(0x15a)][_0x2cde4d(0x155)],_0x5701ff[_0x2cde4d(0x173)])||_0x26f212[_0x2cde4d(0x1b2)]||![],'automate':_0x3bba8b,'app_automate':_0x1d7b79,'turboscale':bsSetupHelper[_0x2cde4d(0x1f1)](_0x26f212),'lts':LoadTestModule[_0x2cde4d(0x1d1)](_0x26f212)},bsSetupHelper[_0x2cde4d(0x186)]());},exports[a171_0x346c11(0x19a)]=(_0x3c29ad,_0x331451)=>{const _0x1be497=a171_0x346c11,_0x5b96fd={'TnYxh':function(_0x346169,_0x535bd1){return _0x346169(_0x535bd1);},'qFZWO':_0x1be497(0x1ca)},_0x489df8={'frameworkName':_0x331451,'frameworkVersion':_0x5b96fd[_0x1be497(0x162)](getFrameworkVersion,_0x331451),'sdkVersion':bsSetupHelper[_0x1be497(0x18f)](),'language':_0x5b96fd['qFZWO'],'testFramework':bsSetupHelper[_0x1be497(0x1d8)](_0x3c29ad,_0x331451)};return process[_0x1be497(0x15a)]['FRAMEWORK_DETAILS']=JSON['stringify'](_0x489df8),_0x489df8;},exports[a171_0x346c11(0x183)]=_0x5c4d71=>{const _0x22477c=a171_0x346c11,_0xbe5780={};_0xbe5780[_0x22477c(0x1f4)]=_0x22477c(0x1e8),_0xbe5780['CiYQx']=_0x22477c(0x16f);const _0x5c54a9=_0xbe5780;process['env']['BROWSERSTACK_PERCY']=_0x5c54a9[_0x22477c(0x1f4)],bsSetupHelper[_0x22477c(0x16d)](_0x5c4d71[_0x22477c(0x134)]['percy'])&&(!_0x5c4d71[_0x22477c(0x180)]||!_0x5c4d71[_0x22477c(0x180)]['isRunning']())&&(process['env']['BROWSERSTACK_PERCY']=_0x5c54a9['CiYQx']);},exports[a171_0x346c11(0x1c2)]=()=>{const _0x23f8c5=a171_0x346c11;return bsSetupHelper['isTrue'](process['env'][_0x23f8c5(0x1b5)]);},exports['isAccessibilityEnabled']=(_0x4afc69={})=>{const _0x50dbd1=a171_0x346c11,_0x28297e={};_0x28297e[_0x50dbd1(0x1c4)]=function(_0x587542,_0xb03ac4){return _0x587542!==_0xb03ac4;},_0x28297e[_0x50dbd1(0x1c7)]=function(_0x29c963,_0x4893e7){return _0x29c963===_0x4893e7;},_0x28297e[_0x50dbd1(0x1dc)]=_0x50dbd1(0x16f),_0x28297e[_0x50dbd1(0x176)]=function(_0x35a3fc,_0x114e12){return _0x35a3fc>_0x114e12;};const _0x4fb4a8=_0x28297e;if(_0x4fb4a8[_0x50dbd1(0x1c4)](process[_0x50dbd1(0x15a)][_0x50dbd1(0x1af)],undefined))return bsSetupHelper['isTrue'](process[_0x50dbd1(0x15a)][_0x50dbd1(0x1af)]);let _0x1d98ca=_0x4fb4a8[_0x50dbd1(0x1c7)](process[_0x50dbd1(0x15a)][_0x50dbd1(0x1c3)],_0x4fb4a8[_0x50dbd1(0x1dc)]);return _0x4fb4a8['atMoF'](Object[_0x50dbd1(0x145)](_0x4afc69)[_0x50dbd1(0x1f7)],0x0)&&(process[_0x50dbd1(0x15a)][_0x50dbd1(0x1ce)]=accessibilityHelper[_0x50dbd1(0x1e1)](_0x4afc69)),_0x1d98ca=_0x1d98ca||_0x4fb4a8[_0x50dbd1(0x1c7)](process[_0x50dbd1(0x15a)][_0x50dbd1(0x1ce)],_0x4fb4a8[_0x50dbd1(0x1dc)]),_0x1d98ca;},exports[a171_0x346c11(0x1cc)]=(_0x1cb363,_0x3cef1f)=>{const _0x5cc13a=a171_0x346c11,_0x1f62d1={'VRqFe':function(_0x27ebe0){return _0x27ebe0();},'nfBuh':_0x5cc13a(0x1e6),'CaoIl':_0x5cc13a(0x16f),'IdODu':function(_0x326563,_0x3bd266,_0x450d28){return _0x326563(_0x3bd266,_0x450d28);},'xlNnx':_0x5cc13a(0x1f8),'NpiOZ':_0x5cc13a(0x153)};if(!_0x1cb363||!_0x1cb363[_0x5cc13a(0x1f8)])return exports[_0x5cc13a(0x1ef)](),[null,null,null];if(!_0x1cb363['observability']['success'])return exports[_0x5cc13a(0x1ef)](_0x1cb363[_0x5cc13a(0x1f8)]),[null,null,null];if(_0x1f62d1[_0x5cc13a(0x1c9)](isTestObservabilitySession)){const _0xed120=_0x1f62d1['nfBuh']['split']('|');let _0x2d10b7=0x0;while(!![]){switch(_0xed120[_0x2d10b7++]){case'0':_0x1cb363[_0x5cc13a(0x15e)]&&(process['env'][_0x5cc13a(0x16e)]=_0x1cb363[_0x5cc13a(0x15e)]);continue;case'1':return[_0x1cb363['jwt'],_0x1cb363['build_hashed_id'],process[_0x5cc13a(0x15a)]['BS_TESTOPS_ALLOW_SCREENSHOTS']];case'2':process[_0x5cc13a(0x15a)][_0x5cc13a(0x175)]=_0x1f62d1[_0x5cc13a(0x1fb)];continue;case'3':logger['debug']('['+constants[_0x5cc13a(0x1d4)]+_0x5cc13a(0x1c0)+_0x1cb363[_0x5cc13a(0x15e)]);continue;case'4':if(_0x1cb363['jwt']){process[_0x5cc13a(0x15a)][_0x5cc13a(0x14e)]=_0x1cb363[_0x5cc13a(0x1da)];const _0x43d058={};_0x43d058[_0x5cc13a(0x182)]=_0x3cef1f[_0x5cc13a(0x182)],_0x43d058[_0x5cc13a(0x1fa)]=_0x3cef1f[_0x5cc13a(0x1fa)],process[_0x5cc13a(0x15a)][_0x5cc13a(0x1ac)]=JSON[_0x5cc13a(0x1f9)](_0x43d058);}continue;case'5':_0x1f62d1[_0x5cc13a(0x1b3)](nestedKeyValue,_0x1cb363,[_0x1f62d1[_0x5cc13a(0x1bc)],_0x1f62d1[_0x5cc13a(0x165)]])&&(process[_0x5cc13a(0x15a)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x1cb363['observability']['options'][_0x5cc13a(0x142)]['toString']());continue;}break;}}return[null,null,null];},exports[a171_0x346c11(0x1d3)]=_0xc12a7a=>{const _0x1b669d=a171_0x346c11,_0x22bf4a={'PbbVj':function(_0xd5650a,_0x50ce37,_0x451793){return _0xd5650a(_0x50ce37,_0x451793);},'ZqfyT':_0x1b669d(0x188),'bbonW':'options','wgXor':function(_0x50de7d,_0xeabf25,_0x159314,_0x160a2f){return _0x50de7d(_0xeabf25,_0x159314,_0x160a2f);},'uabGN':_0x1b669d(0x157),'PDmRB':_0x1b669d(0x204),'xoXXe':_0x1b669d(0x149),'hRwMU':_0x1b669d(0x18e),'UrrgS':_0x1b669d(0x1d0),'qzzfX':_0x1b669d(0x1bf),'RxybE':function(_0x300589,_0x56c190){return _0x300589(_0x56c190);},'LuziA':function(_0x34ff7f,_0x21efa8){return _0x34ff7f===_0x21efa8;},'fpFLc':function(_0x323121,_0x464cb2){return _0x323121===_0x464cb2;},'dJSTb':'true','UgQOH':_0x1b669d(0x152)};if(!_0xc12a7a[_0x1b669d(0x188)])return exports[_0x1b669d(0x17e)](),[null,null];if(!_0xc12a7a[_0x1b669d(0x188)]['success'])return exports['handleErrorForAccessibility'](_0xc12a7a[_0x1b669d(0x188)]),[null,null];if(_0x22bf4a[_0x1b669d(0x1b1)](nestedKeyValue,_0xc12a7a,[_0x22bf4a['ZqfyT'],_0x22bf4a[_0x1b669d(0x141)]])){const {accessibilityToken:_0x493594,scannerVersion:_0x3b26f9,scannerProcessingTimeout:_0x1c0211,isMobileScanningEnabledForGroup:_0x237cc2}=_0x22bf4a[_0x1b669d(0x172)](jsonifyAccessibilityArray,_0xc12a7a['accessibility']['options'][_0x1b669d(0x1e7)],_0x22bf4a[_0x1b669d(0x154)],_0x22bf4a[_0x1b669d(0x185)]),_0x1c109f={'scripts':_0x22bf4a['wgXor'](jsonifyAccessibilityArray,_0xc12a7a[_0x1b669d(0x188)][_0x1b669d(0x153)][_0x1b669d(0x171)],_0x22bf4a[_0x1b669d(0x154)],_0x22bf4a[_0x1b669d(0x15d)])};_0x1c109f[_0x22bf4a[_0x1b669d(0x169)]]=_0xc12a7a['accessibility']['options'][_0x1b669d(0x13f)]['commands'];const _0x69e027=_0x22bf4a[_0x1b669d(0x172)](jsonifyAccessibilityArray,_0xc12a7a[_0x1b669d(0x188)][_0x1b669d(0x153)][_0x1b669d(0x1e7)],_0x22bf4a[_0x1b669d(0x154)],_0x22bf4a[_0x1b669d(0x185)]);_0x1c109f[_0x22bf4a[_0x1b669d(0x13e)]]=_0x69e027[_0x22bf4a[_0x1b669d(0x151)]],scripts['parseFromJson'](_0x1c109f),scripts[_0x1b669d(0x1f0)]();let _0x44489c=process[_0x1b669d(0x15a)][_0x1b669d(0x1a6)];_0x44489c=!!_0x44489c?JSON['parse'](_0x44489c):{},_0x44489c[_0x1b669d(0x146)]=_0x3b26f9,process[_0x1b669d(0x15a)][_0x1b669d(0x1a6)]=JSON[_0x1b669d(0x1f9)](_0x44489c),process['env'][_0x1b669d(0x1e3)]=_0x493594,process[_0x1b669d(0x15a)][_0x1b669d(0x1a9)]=_0x22bf4a['RxybE'](String,_0x22bf4a[_0x1b669d(0x187)](_0x237cc2,!![])||_0x22bf4a[_0x1b669d(0x209)](_0x237cc2,_0x22bf4a[_0x1b669d(0x139)])),logger['debug'](_0x1b669d(0x1b8)+_0xc12a7a[_0x1b669d(0x15e)]);const _0x21684f=accessibilityHelper[_0x1b669d(0x19f)](_0x493594);return _0x21684f&&bsSetupHelper['isTrue'](_0x21684f['skipCDPConnectOverride'])&&(process[_0x1b669d(0x15a)][_0x1b669d(0x1be)]=!![],logger[_0x1b669d(0x17f)](_0x22bf4a['UgQOH'])),[_0x493594,_0xc12a7a[_0x1b669d(0x15e)],_0x1c0211];}return[null,null];},exports[a171_0x346c11(0x1ef)]=_0x396091=>{const _0x3c5035=a171_0x346c11,_0x2bf824={};_0x2bf824[_0x3c5035(0x135)]=_0x3c5035(0x193),_0x2bf824['JTXbo']=_0x3c5035(0x1e8),_0x2bf824[_0x3c5035(0x170)]='null';const _0x5102fd=_0x2bf824,_0x194cc4=_0x5102fd['xTLNy'][_0x3c5035(0x1bd)]('|');let _0x412ad3=0x0;while(!![]){switch(_0x194cc4[_0x412ad3++]){case'0':process[_0x3c5035(0x15a)]['BS_TESTOPS_BUILD_COMPLETED']=_0x5102fd[_0x3c5035(0x196)];continue;case'1':process[_0x3c5035(0x15a)][_0x3c5035(0x1a4)]=_0x5102fd[_0x3c5035(0x170)];continue;case'2':process['env'][_0x3c5035(0x14e)]=_0x5102fd[_0x3c5035(0x170)];continue;case'3':process[_0x3c5035(0x15a)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x5102fd[_0x3c5035(0x170)];continue;case'4':exports['logBuildError'](_0x396091,testHubConstants['OBSERVABILITY']);continue;case'5':process[_0x3c5035(0x15a)]['BROWSERSTACK_TESTHUB_JWT']=_0x5102fd[_0x3c5035(0x170)];continue;case'6':process[_0x3c5035(0x15a)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x5102fd[_0x3c5035(0x170)];continue;}break;}},exports[a171_0x346c11(0x17e)]=_0x391de7=>{const _0x56a458=a171_0x346c11,_0x51f008={};_0x51f008[_0x56a458(0x13c)]='4|3|2|0|1',_0x51f008['txWiA']=_0x56a458(0x1e8),_0x51f008[_0x56a458(0x1ab)]='null';const _0x17b3b6=_0x51f008,_0x9300a2=_0x17b3b6['VBguI'][_0x56a458(0x1bd)]('|');let _0x1dee9d=0x0;while(!![]){switch(_0x9300a2[_0x1dee9d++]){case'0':process[_0x56a458(0x15a)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x17b3b6[_0x56a458(0x17b)];continue;case'1':exports[_0x56a458(0x191)](_0x391de7,testHubConstants['ACCESSIBILITY']);continue;case'2':process[_0x56a458(0x15a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x17b3b6['txWiA'];continue;case'3':process[_0x56a458(0x15a)][_0x56a458(0x17d)]=_0x17b3b6['CDXLN'];continue;case'4':process[_0x56a458(0x15a)]['BROWSERSTACK_TESTHUB_UUID']=_0x17b3b6[_0x56a458(0x1ab)];continue;}break;}},exports[a171_0x346c11(0x191)]=(_0xfcf87d,_0x388822='')=>{const _0x4c3e89=a171_0x346c11,_0x424676={};_0x424676[_0x4c3e89(0x1df)]=function(_0x12c0a0,_0x2c35e0){return _0x12c0a0===_0x2c35e0;};const _0x4299d3=_0x424676;if(_0x4299d3['SkqJA'](_0xfcf87d,undefined)){logger[_0x4c3e89(0x178)](_0x388822['toUpperCase']()+_0x4c3e89(0x1cf));return;}for(const _0x45ccef of _0xfcf87d[_0x4c3e89(0x1b6)]){const _0x1774df=_0x45ccef[_0x4c3e89(0x1a2)],_0x4187a4=_0x45ccef[_0x4c3e89(0x1cd)];if(_0x4187a4)switch(_0x1774df){case testHubConstants[_0x4c3e89(0x136)][_0x4c3e89(0x1ed)]:logger['error'](_0x4187a4);break;case testHubConstants['ERROR']['ACCESS_DENIED']:logger[_0x4c3e89(0x1d5)](_0x4187a4);break;case testHubConstants['ERROR'][_0x4c3e89(0x1ee)]:logger[_0x4c3e89(0x178)](_0x4187a4);break;default:logger[_0x4c3e89(0x178)](_0x4187a4);}}};const jsonifyAccessibilityArray=(_0x1876c1,_0x5f1323,_0x28f227)=>{const _0x4af647=a171_0x346c11,_0x5e9492={};return _0x1876c1[_0x4af647(0x179)](_0x3c9050=>{_0x5e9492[_0x3c9050[_0x5f1323]]=_0x3c9050[_0x28f227];}),_0x5e9492;};exports['setTestHubCommonMetaInfo']=_0x52d765=>{const _0x59629a=a171_0x346c11;_0x52d765['jwt']&&(process[_0x59629a(0x15a)][_0x59629a(0x17d)]=_0x52d765[_0x59629a(0x1da)]);_0x52d765[_0x59629a(0x15e)]&&(process[_0x59629a(0x15a)][_0x59629a(0x1a4)]=_0x52d765['build_hashed_id'],logger['debug'](_0x59629a(0x190)+_0x52d765[_0x59629a(0x15e)]));;},exports[a171_0x346c11(0x1a8)]=(_0x2309b8='',_0x1e79b2='')=>{const _0x793076=a171_0x346c11,_0x11dfd6={'bFkBv':function(_0x1a6b1d){return _0x1a6b1d();},'ypNYL':function(_0x94247d,_0x3d1877){return _0x94247d===_0x3d1877;},'bfDPX':_0x793076(0x144),'FjtjL':_0x793076(0x19c),'tDdIu':_0x793076(0x1c1),'wmlGy':'HookRunStarted','uYbhT':_0x793076(0x1a1),'VYKbU':function(_0x2d4546){return _0x2d4546();}};if(exports[_0x793076(0x1c2)]()&&!exports[_0x793076(0x147)]()&&!_0x11dfd6[_0x793076(0x184)](isTestObservabilitySession)){if(_0x11dfd6[_0x793076(0x19d)](_0x1e79b2,_0x11dfd6[_0x793076(0x20b)]))return![];if([_0x11dfd6['FjtjL'],_0x11dfd6[_0x793076(0x181)]][_0x793076(0x17c)](_0x2309b8))return![];return!![];}if(exports[_0x793076(0x147)]()&&!_0x11dfd6[_0x793076(0x184)](isTestObservabilitySession)){if([_0x11dfd6[_0x793076(0x137)],_0x11dfd6[_0x793076(0x18a)],_0x11dfd6[_0x793076(0x148)]]['includes'](_0x2309b8))return![];return!![];}return exports[_0x793076(0x147)]()||_0x11dfd6[_0x793076(0x1b4)](isTestObservabilitySession)||exports[_0x793076(0x1c2)]();},exports['appendTesthubParams']=(_0xa7e5ee,_0x42bca8,_0x213404='',_0x308a9e)=>{const _0x245068=a171_0x346c11,_0x2b46cf={'BKKsl':_0x245068(0x1a3),'GIiyj':'HookRunFinished','zfLTS':function(_0x5e74ce,_0x58fcda){return _0x5e74ce===_0x58fcda;},'HtGwQ':'bstackA11yShouldScan','cOkzR':'isAccessibilityPlatform','vCXOJ':_0x245068(0x188),'LxOUg':function(_0x2b51a0,_0x4f6148){return _0x2b51a0&&_0x4f6148;},'iJOiK':function(_0x2cc8b0,_0x4de1a9){return _0x2cc8b0===_0x4de1a9;},'QGnvQ':function(_0x113298,_0x367b6c){return _0x113298+_0x367b6c;},'GFrUJ':function(_0x2c96fb,_0x51b4db){return _0x2c96fb+_0x51b4db;},'GswSR':function(_0xd4132b,_0x4dc866){return _0xd4132b&&_0x4dc866;},'wbwuz':function(_0x70c7c6,_0x15617f){return _0x70c7c6(_0x15617f);},'phhpm':'../../bin/jasmine/testRunMap.js','xdTij':function(_0x4822da,_0x3d5fdb){return _0x4822da+_0x3d5fdb;},'HABJv':function(_0xb33b60,_0x4ba519){return _0xb33b60+_0x4ba519;},'WzgyW':function(_0x3b5112,_0x4db7f7){return _0x3b5112===_0x4db7f7;},'mCsni':function(_0x3f6f0a,_0xc89859){return _0x3f6f0a===_0xc89859;},'WqWpN':_0x245068(0x1b0),'ePxkH':function(_0x1d57db,_0x2b539f){return _0x1d57db&&_0x2b539f;},'UOOPZ':function(_0x344f23,_0x400845){return _0x344f23===_0x400845;},'mnllY':function(_0x26ca7c,_0x3c527b){return _0x26ca7c&&_0x3c527b;},'nSsyV':_0x245068(0x17a)};if(![_0x2b46cf[_0x245068(0x20d)],_0x2b46cf['GIiyj']]['includes'](_0x42bca8)&&exports[_0x245068(0x147)]()){const _0x271176={};if(_0x2b46cf[_0x245068(0x174)](_0x308a9e,FRAMEWORKS[_0x245068(0x1ff)])){const _0x2079b1=globals[_0x245068(0x156)](_0x2b46cf['HtGwQ'])||accessibilityHelper['shouldScanTestForAccessibility'](_0x213404['titlePath'](),!![]),_0x14782c=globals['getGlobal'](_0x2b46cf[_0x245068(0x1e5)]);_0x271176[_0x2b46cf[_0x245068(0x13b)]]=_0x2b46cf[_0x245068(0x1fd)](_0x14782c,_0x2079b1);}if(_0x2b46cf['iJOiK'](_0x308a9e,FRAMEWORKS[_0x245068(0x208)])){const _0x3d7fd9=_0x2b46cf[_0x245068(0x201)](_0x2b46cf[_0x245068(0x158)](_0xa7e5ee[_0x245068(0x13a)][_0x245068(0x140)]('\x20'),'\x20'),_0x213404['name']),_0x14cd0d=globals[_0x245068(0x156)](_0x2b46cf['HtGwQ'])||accessibilityHelper[_0x245068(0x150)](_0x3d7fd9,![]),_0x160b66=browserStackGlobals[_0x245068(0x138)];_0x271176[_0x2b46cf[_0x245068(0x13b)]]=_0x2b46cf[_0x245068(0x1f3)](_0x160b66,_0x14cd0d);}if(_0x2b46cf['iJOiK'](_0x308a9e,FRAMEWORKS[_0x245068(0x13d)])){const _0x198573=_0x2b46cf[_0x245068(0x1d6)](require,_0x2b46cf['phhpm']),_0x57d07e=_0x213404&&_0x198573['get'](_0x213404['id'])||_0xa7e5ee[_0x245068(0x1ea)];_0x57d07e&&(_0xa7e5ee[_0x245068(0x1ea)]=_0x57d07e);const _0x4780c7=_0x2b46cf['xdTij'](_0x2b46cf[_0x245068(0x1eb)](_0xa7e5ee[_0x245068(0x13a)]['join']('\x20'),'\x20'),_0x213404[_0x245068(0x14a)]||_0xa7e5ee[_0x245068(0x157)]),_0x30b0a7=globals['getGlobal'](_0x2b46cf[_0x245068(0x1aa)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x4780c7,![]),_0x27cbb6=globals[_0x245068(0x156)](_0x2b46cf['cOkzR']);_0x271176[_0x2b46cf['vCXOJ']]=_0x2b46cf['LxOUg'](_0x27cbb6,_0x30b0a7);}if(_0x2b46cf['WzgyW'](_0x308a9e,FRAMEWORKS[_0x245068(0x18c)])){if(_0x2b46cf[_0x245068(0x197)](_0x42bca8,_0x2b46cf[_0x245068(0x143)]))return;_0x271176[_0x2b46cf[_0x245068(0x13b)]]=PWTestDetails[_0x245068(0x160)](_0xa7e5ee[_0x245068(0x1ea)]);}if(_0x2b46cf[_0x245068(0x15b)](_0x308a9e,FRAMEWORKS[_0x245068(0x1d2)])){const _0x2b6cbc=accessibilityHelper[_0x245068(0x150)](_0x213404[_0x245068(0x14d)](),!![]),_0x5e0dc7=global['accessibilityPlatform'];_0x271176[_0x2b46cf[_0x245068(0x13b)]]=_0x2b46cf[_0x245068(0x1f5)](_0x5e0dc7,_0x2b6cbc);}if(_0x2b46cf[_0x245068(0x161)](_0x308a9e,FRAMEWORKS[_0x245068(0x1cb)])){const _0x55b373=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0xa7e5ee[_0x245068(0x20a)]),_0x270fdf=globals['getGlobal'](_0x2b46cf[_0x245068(0x1e5)]);_0x271176[_0x2b46cf['vCXOJ']]=_0x2b46cf['mnllY'](_0x270fdf,_0x55b373);}_0xa7e5ee[_0x2b46cf['nSsyV']]=_0x271176;}},exports[a171_0x346c11(0x192)]=_0x19475e=>{const _0x132798=a171_0x346c11,_0x4357bb={};_0x4357bb[_0x132798(0x19e)]=function(_0x552f65,_0x2ae8a4){return _0x552f65>_0x2ae8a4;};const _0xb1b987=_0x4357bb;let _0x4c7bde={};if(_0xb1b987[_0x132798(0x19e)](Object['keys'](testData)[_0x132798(0x1f7)],0x0))return testData;_0x4c7bde=JestTestDetails[_0x132798(0x1d9)]();if(_0xb1b987[_0x132798(0x19e)](Object[_0x132798(0x145)](_0x4c7bde)[_0x132798(0x1f7)],0x0))return _0x4c7bde;return _0x4c7bde;},exports[a171_0x346c11(0x1e0)]=(_0x3171ad,_0x340df2={})=>{const _0x2a7d9b=a171_0x346c11;if(bsSetupHelper[_0x2a7d9b(0x198)](_0x340df2[_0x2a7d9b(0x1d7)]))return;switch(_0x3171ad){case FRAMEWORKS['MOCHA']:testData=_0x340df2[_0x2a7d9b(0x1d7)];break;case FRAMEWORKS[_0x2a7d9b(0x208)]:JestTestDetails['setTestData'](_0x340df2[_0x2a7d9b(0x1d7)]);break;case FRAMEWORKS['JASMINE']:testData=_0x340df2['test_run'];break;default:break;}},exports[a171_0x346c11(0x1b7)]=_0x2f3e3c=>{const _0x142b35=a171_0x346c11,_0x11d291={};_0x11d291['TNbun']=function(_0x2e9763,_0x4dda01){return _0x2e9763!==_0x4dda01;},_0x11d291['hhAWo']=function(_0x567d6e,_0x4645f1){return _0x567d6e!==_0x4645f1;},_0x11d291[_0x142b35(0x168)]=function(_0x5c7e12,_0x25eaad){return _0x5c7e12!==_0x25eaad;};const _0x4496d3=_0x11d291;if(_0x4496d3[_0x142b35(0x163)](_0x2f3e3c[_0x142b35(0x188)],null)&&_0x4496d3[_0x142b35(0x195)](_0x2f3e3c[_0x142b35(0x188)],undefined))return _0x2f3e3c[_0x142b35(0x188)];let _0x407fc7=![],_0x180f9c=![];if(_0x2f3e3c[_0x142b35(0x20c)])for(const _0x5e9b29 of _0x2f3e3c['platforms']){_0x4496d3['hhAWo'](_0x5e9b29[_0x142b35(0x188)],null)&&_0x4496d3[_0x142b35(0x168)](_0x5e9b29[_0x142b35(0x188)],undefined)&&(_0x407fc7=_0x407fc7||bsSetupHelper['isTrue'](_0x5e9b29[_0x142b35(0x188)]),_0x180f9c=!![]);}if(_0x180f9c)return _0x407fc7;return null;},exports['getTestOrchestrationBuildStartData']=_0x304e4f=>{if(!_0x304e4f)return{};const _0x297baa=new OrchestrationUtils(_0x304e4f);return _0x297baa['getBuildStartData']();},exports[a171_0x346c11(0x14f)]=_0x29d5bb=>{const _0xf47f26=a171_0x346c11,_0x263bc8={'PIviF':function(_0x4c7dbf){return _0x4c7dbf();},'Wlvcb':function(_0x1c5bff,_0x5157e){return _0x1c5bff===_0x5157e;},'zFaNX':_0xf47f26(0x16f)};let _0x17d506=![],_0x4c479f=![];if(bsSetupHelper[_0xf47f26(0x199)]()&&bsSetupHelper[_0xf47f26(0x1f2)](_0x29d5bb))_0x4c479f=!![];else bsSetupHelper[_0xf47f26(0x199)]()&&(_0x17d506=!![]);return Object[_0xf47f26(0x19b)]({'observability':_0x263bc8[_0xf47f26(0x1a5)](isTestObservabilitySession),'accessibility':exports[_0xf47f26(0x1b7)](_0x29d5bb),'percy':_0x29d5bb[_0xf47f26(0x180)]||![],'sr_automation':_0x263bc8['Wlvcb'](process[_0xf47f26(0x15a)]['BROWSERSTACK_SR_AUTOMATION'],_0x263bc8[_0xf47f26(0x1dd)])||_0x29d5bb[_0xf47f26(0x1b2)]||![],'automate':_0x17d506,'app_automate':_0x4c479f,'turboscale':bsSetupHelper[_0xf47f26(0x1f1)](_0x29d5bb),'lts':LoadTestModule[_0xf47f26(0x1d1)](_0x29d5bb)},bsSetupHelper[_0xf47f26(0x186)]());};function a171_0x33ea(){const _0x21284f=['../../bin/utils/constants.js','JEST','fpFLc','tags','bfDPX','platforms','BKKsl','config','xTLNy','ERROR','wmlGy','isAccessibilityPlatform','dJSTb','scopes','vCXOJ','VBguI','JASMINE','UrrgS','commandsToWrap','join','bbonW','allow_screenshots','WqWpN','uploadEventData','keys','scannerVersion','isAccessibilityEnabled','FjtjL','command','description','vmpEt','./constants.js','titlePath','BS_TESTOPS_JWT','getProductMapForBuildStartCall','shouldScanTestForAccessibility','qzzfX','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','options','uabGN','BROWSERSTACK_SR_AUTOMATION','getGlobal','name','GFrUJ','gTbwH','env','iJOiK','3foxsjt','xoXXe','build_hashed_id','757338dOpdBX','getAccessibilityPlatformValidation','UOOPZ','TnYxh','TNbun','ZxoNK','NpiOZ','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','zyOsW','ByItE','hRwMU','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','ENV_VAR','ujbFh','isTrue','BS_TESTOPS_BUILD_HASHED_ID','true','uxsSj','scripts','wgXor','eHyWP','zfLTS','BS_TESTOPS_BUILD_COMPLETED','atMoF','509712SdwXWb','error','forEach','product_map','txWiA','includes','BROWSERSTACK_TESTHUB_JWT','handleErrorForAccessibility','debug','percy','tDdIu','username','setPercyFlag','bFkBv','PDmRB','getCentralUser','LuziA','accessibility','737576YQhxiK','uYbhT','95090uOYrZL','PLAYWRIGHT','xGcWt','commands','getAgentVersion','BROWSERSTACK_TESTHUB_UUID:\x20','logBuildError','getCurrentTestData','1|5|0|2|3|6|4','729QyVwIY','hhAWo','JTXbo','mCsni','isUndefined','isBrowserstackInfra','getFrameworkDetails','assign','LogCreated','ypNYL','icJPw','parseA11yJwtPayload','testPlanId','HookRunFinished','key','HookRunStarted','BROWSERSTACK_TESTHUB_UUID','PIviF','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../globals.js','shouldProcessEventForTesthub','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','HtGwQ','CDXLN','CREDENTIALS_FOR_CRASH_REPORTING','../ats/helper','getProductMap','BROWSERSTACK_ACCESSIBILITY','TestRunStarted','PbbVj','sr_automation','IdODu','VYKbU','BROWSERSTACK_PERCY','errors','getAccessibilityValueFromYml','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','QQRAr','icnLs','ZAFQi','xlNnx','split','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','goog:chromeOptions',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','CBTSessionCreated','isPercyBuild','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Tpdut','../accessibility-automation/scripts.js','startsWith','xgKSu','getTestPlanId','VRqFe','javascript','CUCUMBER','setTestObservabilityVariables','message','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','\x20Build\x20creation\x20failed','nonBStackInfraA11yChromeOptions','isLTSSession','CODECEPT','setAccessibilityVariables','TEST_REPORTING_ANALYTICS','info','wbwuz','test_run','getTestFrameworkDetails','getTestData','jwt','1037310nKVBin','hiaxp','zFaNX','uLHwy','SkqJA','setCurrentTestData','checkAccessibilityPlatformConfig','../../bin/jest/test-observability/test-details.js','BS_A11Y_JWT','testManagementOptions','cOkzR','2|4|0|5|3|1','capabilities','false','64920tZWdYB','uuid','HABJv','../accessibility-automation/helper','INVALID_CREDENTIALS','DEPRECATED','handleErrorForObservability','toJson','isTurboScaleSession','isAppAutomateSession','GswSR','YLhre','ePxkH','BhRxS','length','observability','stringify','password','CaoIl','../test-orchestration/orchestrationUtils.js','LxOUg','string','MOCHA','../test-observability/utils','QGnvQ','571346ejaBeW','../logger','value','CKkoT','argv'];a171_0x33ea=function(){return _0x21284f;};return a171_0x33ea();}const normalizeTestPlanId=_0x5e0dac=>{const _0x58868c=a171_0x346c11,_0x5671c6={};_0x5671c6[_0x58868c(0x14b)]=function(_0x3f004f,_0x45af25){return _0x3f004f!==_0x45af25;},_0x5671c6[_0x58868c(0x18d)]=_0x58868c(0x1fe),_0x5671c6['icnLs']=function(_0x5d16ac,_0x161851){return _0x5d16ac>_0x161851;};const _0x2022cd=_0x5671c6;if(_0x2022cd[_0x58868c(0x14b)](typeof _0x5e0dac,_0x2022cd[_0x58868c(0x18d)]))return undefined;const _0xa05236=_0x5e0dac['trim']();return _0x2022cd[_0x58868c(0x1ba)](_0xa05236[_0x58868c(0x1f7)],0x0)?_0xa05236:undefined;},readTestPlanIdFromCliArgs=(_0x3f8be6=process[a171_0x346c11(0x206)])=>{const _0x207fb6=a171_0x346c11,_0x254061={};_0x254061['ZAFQi']=function(_0x1cc08f,_0x5076a2){return _0x1cc08f<_0x5076a2;},_0x254061[_0x207fb6(0x1f6)]=function(_0x716bd4,_0x5ecb2e){return _0x716bd4===_0x5ecb2e;},_0x254061[_0x207fb6(0x159)]=function(_0x44640a,_0x41a2af){return _0x44640a+_0x41a2af;},_0x254061['uLHwy']=function(_0x4685ce,_0x2e4503){return _0x4685ce+_0x2e4503;};const _0x5e0aa1=_0x254061,_0x37fd50='--'+testHubConstants[_0x207fb6(0x16a)];for(let _0x204a90=0x0;_0x5e0aa1[_0x207fb6(0x1bb)](_0x204a90,_0x3f8be6['length']);_0x204a90+=0x1){const _0x4d67c5=_0x3f8be6[_0x204a90];if(_0x5e0aa1[_0x207fb6(0x1f6)](_0x4d67c5,_0x37fd50)){const _0x279c62=_0x3f8be6[_0x5e0aa1['gTbwH'](_0x204a90,0x1)];if(!_0x279c62||_0x279c62[_0x207fb6(0x1c6)]('--'))return undefined;return _0x279c62;}if(_0x4d67c5['startsWith'](_0x37fd50+'='))return _0x4d67c5['slice'](_0x5e0aa1[_0x207fb6(0x1de)](_0x37fd50[_0x207fb6(0x1f7)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x1e3a90={})=>{const _0x18757d=a171_0x346c11,_0x4c8be7={'sxZRM':function(_0x449bc6,_0x732834){return _0x449bc6(_0x732834);}};return _0x4c8be7['sxZRM'](normalizeTestPlanId,_0x1e3a90&&_0x1e3a90[_0x18757d(0x1e4)]&&_0x1e3a90[_0x18757d(0x1e4)][_0x18757d(0x1a0)]);};exports[a171_0x346c11(0x1c8)]=(_0x42c883={},_0x707f17=process[a171_0x346c11(0x206)],_0xdc0245=process[a171_0x346c11(0x15a)])=>{const _0x52a9fc=a171_0x346c11,_0x18141a={'ujbFh':function(_0x324a0c,_0x583358){return _0x324a0c(_0x583358);},'ZxoNK':function(_0x432b21,_0x471fc2){return _0x432b21(_0x471fc2);},'QQRAr':function(_0x112123,_0x26e401){return _0x112123(_0x26e401);}};try{const _0x2310d3=_0x18141a[_0x52a9fc(0x16c)](normalizeTestPlanId,_0x18141a[_0x52a9fc(0x16c)](readTestPlanIdFromCliArgs,_0x707f17));if(_0x2310d3)return _0x2310d3;const _0x513ad1=_0x18141a[_0x52a9fc(0x164)](normalizeTestPlanId,_0xdc0245&&_0xdc0245[testHubConstants[_0x52a9fc(0x16b)]['BROWSERSTACK_TEST_PLAN_ID']]);if(_0x513ad1)return _0x513ad1;return _0x18141a[_0x52a9fc(0x1b9)](readTestPlanIdFromConfig,_0x42c883);}catch(_0x24616d){return logger[_0x52a9fc(0x17f)](_0x52a9fc(0x166)+(_0x24616d&&_0x24616d[_0x52a9fc(0x1cd)]?_0x24616d[_0x52a9fc(0x1cd)]:_0x24616d)),undefined;}};
|
|
1
|
+
const a171_0x5de32e=a171_0x5ce5;function a171_0x5ce5(_0x3b8750,_0x254dc7){const _0xd3a16e=a171_0xd3a1();return a171_0x5ce5=function(_0x5ce50f,_0x137241){_0x5ce50f=_0x5ce50f-0xe9;let _0x35024f=_0xd3a16e[_0x5ce50f];return _0x35024f;},a171_0x5ce5(_0x3b8750,_0x254dc7);}(function(_0x58a35b,_0x16fe66){const _0x9e6ca1=a171_0x5ce5,_0x3741c6=_0x58a35b();while(!![]){try{const _0x461060=-parseInt(_0x9e6ca1(0xf7))/0x1*(-parseInt(_0x9e6ca1(0x165))/0x2)+parseInt(_0x9e6ca1(0x115))/0x3*(-parseInt(_0x9e6ca1(0x181))/0x4)+-parseInt(_0x9e6ca1(0x176))/0x5+-parseInt(_0x9e6ca1(0x114))/0x6+-parseInt(_0x9e6ca1(0x14d))/0x7+-parseInt(_0x9e6ca1(0x172))/0x8+parseInt(_0x9e6ca1(0x112))/0x9;if(_0x461060===_0x16fe66)break;else _0x3741c6['push'](_0x3741c6['shift']());}catch(_0x196e83){_0x3741c6['push'](_0x3741c6['shift']());}}}(a171_0xd3a1,0x5a15a));const bsSetupHelper=require(a171_0x5de32e(0x18c)),LoadTestModule=require(a171_0x5de32e(0x1c2)),{isTestObservabilitySession,getFrameworkVersion}=require(a171_0x5de32e(0x12b)),accessibilityHelper=require('../accessibility-automation/helper'),logger=require(a171_0x5de32e(0x1aa))[a171_0x5de32e(0x134)],{nestedKeyValue}=require(a171_0x5de32e(0x168)),scripts=require(a171_0x5de32e(0x191)),globals=require('../globals.js'),testHubConstants=require('./constants.js'),PWTestDetails=require(a171_0x5de32e(0x1ab)),JestTestDetails=require(a171_0x5de32e(0x14c)),{FRAMEWORKS}=require(a171_0x5de32e(0x1b6)),{isTurboScaleSession}=require('../ats/helper'),OrchestrationUtils=require(a171_0x5de32e(0x19e)),constants=require('../../bin/utils/constants.js');let testData={};exports[a171_0x5de32e(0x14e)]=_0x1867d6=>{const _0x5e6dad=a171_0x5de32e,_0x28d191={'sitjE':function(_0x17505f){return _0x17505f();},'GtSZk':function(_0x42cfd0,_0x826f6){return _0x42cfd0===_0x826f6;},'jFSAK':_0x5e6dad(0x189)};let _0x1acde8=![],_0x2fe455=![];if(bsSetupHelper[_0x5e6dad(0xff)]()&&bsSetupHelper[_0x5e6dad(0x104)](_0x1867d6))_0x2fe455=!![];else bsSetupHelper[_0x5e6dad(0xff)]()&&(_0x1acde8=!![]);return Object[_0x5e6dad(0x183)]({'observability':_0x28d191[_0x5e6dad(0xf4)](isTestObservabilitySession),'accessibility':exports['isAccessibilityEnabled'](_0x1867d6),'percy':_0x1867d6[_0x5e6dad(0x10b)]||![],'sr_automation':_0x28d191['GtSZk'](process['env']['BROWSERSTACK_SR_AUTOMATION'],_0x28d191[_0x5e6dad(0x169)])||_0x1867d6[_0x5e6dad(0xef)]||![],'automate':_0x1acde8,'app_automate':_0x2fe455,'turboscale':bsSetupHelper[_0x5e6dad(0x13e)](_0x1867d6),'lts':LoadTestModule[_0x5e6dad(0x113)](_0x1867d6)},bsSetupHelper[_0x5e6dad(0x1bd)]());},exports[a171_0x5de32e(0xf1)]=(_0x143f55,_0x4fc7b6)=>{const _0x518a75=a171_0x5de32e,_0x4a1d7f={'ZzmxW':function(_0x4c3d98,_0x1ae1ad){return _0x4c3d98(_0x1ae1ad);},'QvAYD':_0x518a75(0x12a)},_0x24862c={'frameworkName':_0x4fc7b6,'frameworkVersion':_0x4a1d7f[_0x518a75(0x13f)](getFrameworkVersion,_0x4fc7b6),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x4a1d7f[_0x518a75(0x1a2)],'testFramework':bsSetupHelper[_0x518a75(0x18d)](_0x143f55,_0x4fc7b6)};return process[_0x518a75(0x18f)]['FRAMEWORK_DETAILS']=JSON[_0x518a75(0xf5)](_0x24862c),_0x24862c;},exports[a171_0x5de32e(0x10d)]=_0x2d248e=>{const _0x2f826d=a171_0x5de32e,_0x17d16b={};_0x17d16b['BcNve']=_0x2f826d(0x188),_0x17d16b[_0x2f826d(0x1b4)]='true';const _0x419984=_0x17d16b;process[_0x2f826d(0x18f)][_0x2f826d(0x133)]=_0x419984['BcNve'],bsSetupHelper[_0x2f826d(0x177)](_0x2d248e[_0x2f826d(0x130)][_0x2f826d(0x10b)])&&(!_0x2d248e[_0x2f826d(0x10b)]||!_0x2d248e[_0x2f826d(0x10b)][_0x2f826d(0x18b)]())&&(process['env']['BROWSERSTACK_PERCY']=_0x419984[_0x2f826d(0x1b4)]);},exports[a171_0x5de32e(0x167)]=()=>{const _0x562a43=a171_0x5de32e;return bsSetupHelper[_0x562a43(0x177)](process['env'][_0x562a43(0x133)]);},exports[a171_0x5de32e(0x125)]=(_0x58107b={})=>{const _0x3f57f5=a171_0x5de32e,_0x230fa3={};_0x230fa3[_0x3f57f5(0x175)]=function(_0x22bd31,_0x2b831a){return _0x22bd31!==_0x2b831a;},_0x230fa3[_0x3f57f5(0x12c)]=function(_0x2bdfb1,_0x2b3361){return _0x2bdfb1===_0x2b3361;},_0x230fa3[_0x3f57f5(0x173)]='true',_0x230fa3[_0x3f57f5(0x123)]=function(_0x41fca3,_0x42cc3b){return _0x41fca3>_0x42cc3b;},_0x230fa3['lHQqz']=function(_0x5e6663,_0x91d3de){return _0x5e6663===_0x91d3de;};const _0x1c3f14=_0x230fa3;if(_0x1c3f14[_0x3f57f5(0x175)](process[_0x3f57f5(0x18f)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper[_0x3f57f5(0x177)](process[_0x3f57f5(0x18f)][_0x3f57f5(0x11c)]);let _0x33d6d1=_0x1c3f14[_0x3f57f5(0x12c)](process[_0x3f57f5(0x18f)][_0x3f57f5(0x1ac)],_0x1c3f14[_0x3f57f5(0x173)]);return _0x1c3f14[_0x3f57f5(0x123)](Object[_0x3f57f5(0x111)](_0x58107b)[_0x3f57f5(0x1a8)],0x0)&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=accessibilityHelper[_0x3f57f5(0x16b)](_0x58107b)),_0x33d6d1=_0x33d6d1||_0x1c3f14[_0x3f57f5(0x143)](process[_0x3f57f5(0x18f)][_0x3f57f5(0x15d)],_0x1c3f14[_0x3f57f5(0x173)]),_0x33d6d1;},exports[a171_0x5de32e(0x1c3)]=(_0x462ed6,_0x6ab992)=>{const _0x332b64=a171_0x5de32e,_0x3232de={'AUwHD':function(_0xbfb805){return _0xbfb805();},'LeVIN':'1|3|2|0|5|4','tjDrF':function(_0xdb1d83,_0x14ec2f,_0x209d1f){return _0xdb1d83(_0x14ec2f,_0x209d1f);},'taxBQ':_0x332b64(0x100),'vaGkp':_0x332b64(0x129),'ObkEY':'true'};if(!_0x462ed6||!_0x462ed6['observability'])return exports[_0x332b64(0x178)](),[null,null,null];if(!_0x462ed6[_0x332b64(0x100)][_0x332b64(0x146)])return exports['handleErrorForObservability'](_0x462ed6[_0x332b64(0x100)]),[null,null,null];if(_0x3232de[_0x332b64(0x14a)](isTestObservabilitySession)){const _0xc105e8=_0x3232de['LeVIN']['split']('|');let _0x1a1bb5=0x0;while(!![]){switch(_0xc105e8[_0x1a1bb5++]){case'0':_0x3232de[_0x332b64(0x187)](nestedKeyValue,_0x462ed6,[_0x3232de['taxBQ'],_0x3232de['vaGkp']])&&(process['env'][_0x332b64(0x19c)]=_0x462ed6[_0x332b64(0x100)][_0x332b64(0x129)][_0x332b64(0x1c1)][_0x332b64(0x160)]());continue;case'1':process[_0x332b64(0x18f)][_0x332b64(0x117)]=_0x3232de['ObkEY'];continue;case'2':_0x462ed6[_0x332b64(0x190)]&&(process[_0x332b64(0x18f)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x462ed6[_0x332b64(0x190)]);continue;case'3':if(_0x462ed6[_0x332b64(0x120)]){process[_0x332b64(0x18f)][_0x332b64(0x1c5)]=_0x462ed6[_0x332b64(0x120)];const _0x1067fc={};_0x1067fc['username']=_0x6ab992['username'],_0x1067fc['password']=_0x6ab992[_0x332b64(0x1b5)],process[_0x332b64(0x18f)][_0x332b64(0x16e)]=JSON[_0x332b64(0xf5)](_0x1067fc);}continue;case'4':return[_0x462ed6[_0x332b64(0x120)],_0x462ed6[_0x332b64(0x190)],process['env'][_0x332b64(0x19c)]];case'5':logger['debug']('['+constants[_0x332b64(0x185)]+_0x332b64(0x131)+_0x462ed6[_0x332b64(0x190)]);continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x1afa8f=>{const _0x10a75a=a171_0x5de32e,_0x205d35={'hXKnU':function(_0x2e7428,_0x54f1a7,_0x1e5ce7){return _0x2e7428(_0x54f1a7,_0x1e5ce7);},'KXsaR':_0x10a75a(0x10a),'lvYXY':_0x10a75a(0x129),'BZsBr':function(_0x1bacdd,_0x3781de,_0x1deeb5,_0x3a0313){return _0x1bacdd(_0x3781de,_0x1deeb5,_0x3a0313);},'jldpA':'name','fEWKD':_0x10a75a(0xe9),'xWnee':'command','qQXmW':_0x10a75a(0x184),'ueXaw':_0x10a75a(0x161),'PDEpS':_0x10a75a(0x162),'NCzwG':function(_0x56121c,_0xee8739){return _0x56121c(_0xee8739);},'ntJTy':function(_0x5a851d,_0x515b41){return _0x5a851d===_0x515b41;},'OhcAf':function(_0xe4c1c8,_0x5712d2){return _0xe4c1c8===_0x5712d2;},'SOqTs':_0x10a75a(0x189),'TpujS':'[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override'};if(!_0x1afa8f[_0x10a75a(0x10a)])return exports['handleErrorForAccessibility'](),[null,null];if(!_0x1afa8f['accessibility'][_0x10a75a(0x146)])return exports['handleErrorForAccessibility'](_0x1afa8f['accessibility']),[null,null];if(_0x205d35[_0x10a75a(0x159)](nestedKeyValue,_0x1afa8f,[_0x205d35[_0x10a75a(0x158)],_0x205d35['lvYXY']])){const {accessibilityToken:_0x10086c,scannerVersion:_0x5afdcb,scannerProcessingTimeout:_0x2461b3,isMobileScanningEnabledForGroup:_0x177293}=_0x205d35[_0x10a75a(0x1bc)](jsonifyAccessibilityArray,_0x1afa8f[_0x10a75a(0x10a)][_0x10a75a(0x129)][_0x10a75a(0x145)],_0x205d35[_0x10a75a(0x195)],_0x205d35[_0x10a75a(0xec)]),_0x6d67={'scripts':_0x205d35[_0x10a75a(0x1bc)](jsonifyAccessibilityArray,_0x1afa8f['accessibility'][_0x10a75a(0x129)]['scripts'],_0x205d35[_0x10a75a(0x195)],_0x205d35[_0x10a75a(0x14f)])};_0x6d67[_0x205d35[_0x10a75a(0x116)]]=_0x1afa8f[_0x10a75a(0x10a)][_0x10a75a(0x129)][_0x10a75a(0x166)][_0x10a75a(0x184)];const _0x299b9f=_0x205d35[_0x10a75a(0x1bc)](jsonifyAccessibilityArray,_0x1afa8f[_0x10a75a(0x10a)][_0x10a75a(0x129)][_0x10a75a(0x145)],_0x205d35['jldpA'],_0x205d35['fEWKD']);_0x6d67[_0x205d35['ueXaw']]=_0x299b9f[_0x205d35[_0x10a75a(0x196)]],scripts[_0x10a75a(0x18e)](_0x6d67),scripts[_0x10a75a(0x17d)]();let _0x27375b=process[_0x10a75a(0x18f)][_0x10a75a(0x106)];_0x27375b=!!_0x27375b?JSON[_0x10a75a(0x164)](_0x27375b):{},_0x27375b[_0x10a75a(0x144)]=_0x5afdcb,process[_0x10a75a(0x18f)][_0x10a75a(0x106)]=JSON[_0x10a75a(0xf5)](_0x27375b),process[_0x10a75a(0x18f)][_0x10a75a(0xf3)]=_0x10086c,process[_0x10a75a(0x18f)][_0x10a75a(0xeb)]=_0x205d35[_0x10a75a(0x193)](String,_0x205d35[_0x10a75a(0x154)](_0x177293,!![])||_0x205d35[_0x10a75a(0x15f)](_0x177293,_0x205d35['SOqTs'])),logger[_0x10a75a(0xf0)](_0x10a75a(0x1ae)+_0x1afa8f[_0x10a75a(0x190)]);const _0x418914=accessibilityHelper['parseA11yJwtPayload'](_0x10086c);return _0x418914&&bsSetupHelper[_0x10a75a(0x177)](_0x418914[_0x10a75a(0x1b1)])&&(process[_0x10a75a(0x18f)][_0x10a75a(0x153)]=!![],logger[_0x10a75a(0xf0)](_0x205d35[_0x10a75a(0xed)])),[_0x10086c,_0x1afa8f[_0x10a75a(0x190)],_0x2461b3];}return[null,null];},exports[a171_0x5de32e(0x178)]=_0x3a86a1=>{const _0x20525e=a171_0x5de32e,_0x20bfff={};_0x20bfff[_0x20525e(0x12f)]='0|2|3|6|5|1|4',_0x20bfff['swJIr']='null',_0x20bfff[_0x20525e(0x11a)]=_0x20525e(0x188);const _0x3967d2=_0x20bfff,_0x4209f2=_0x3967d2[_0x20525e(0x12f)][_0x20525e(0x171)]('|');let _0xf946ad=0x0;while(!![]){switch(_0x4209f2[_0xf946ad++]){case'0':process['env'][_0x20525e(0x10e)]=_0x3967d2[_0x20525e(0x19d)];continue;case'1':process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x3967d2[_0x20525e(0x19d)];continue;case'2':process[_0x20525e(0x18f)][_0x20525e(0x17c)]=_0x3967d2[_0x20525e(0x19d)];continue;case'3':process[_0x20525e(0x18f)][_0x20525e(0x117)]=_0x3967d2[_0x20525e(0x11a)];continue;case'4':exports[_0x20525e(0x126)](_0x3a86a1,testHubConstants[_0x20525e(0x127)]);continue;case'5':process[_0x20525e(0x18f)][_0x20525e(0x15c)]=_0x3967d2['swJIr'];continue;case'6':process[_0x20525e(0x18f)]['BS_TESTOPS_JWT']=_0x3967d2[_0x20525e(0x19d)];continue;}break;}},exports[a171_0x5de32e(0x157)]=_0x1ae170=>{const _0x1695f7=a171_0x5de32e,_0x4aa173={};_0x4aa173[_0x1695f7(0x1a3)]='2|0|4|3|1',_0x4aa173[_0x1695f7(0xfb)]='null',_0x4aa173[_0x1695f7(0x136)]='false';const _0x2a2a97=_0x4aa173,_0x42ddd0=_0x2a2a97[_0x1695f7(0x1a3)][_0x1695f7(0x171)]('|');let _0x2f9587=0x0;while(!![]){switch(_0x42ddd0[_0x2f9587++]){case'0':process[_0x1695f7(0x18f)][_0x1695f7(0x17c)]=_0x2a2a97['xSstl'];continue;case'1':exports[_0x1695f7(0x126)](_0x1ae170,testHubConstants[_0x1695f7(0x119)]);continue;case'2':process[_0x1695f7(0x18f)][_0x1695f7(0x10e)]=_0x2a2a97[_0x1695f7(0xfb)];continue;case'3':process[_0x1695f7(0x18f)][_0x1695f7(0x15d)]=_0x2a2a97['GtPmG'];continue;case'4':process['env'][_0x1695f7(0x1ac)]=_0x2a2a97['GtPmG'];continue;}break;}},exports['logBuildError']=(_0x28f3e2,_0x3463a8='')=>{const _0x14a0f1=a171_0x5de32e,_0x1b94d8={};_0x1b94d8[_0x14a0f1(0xf6)]=function(_0xc3592,_0xc8d65b){return _0xc3592===_0xc8d65b;};const _0x8b98ce=_0x1b94d8;if(_0x8b98ce[_0x14a0f1(0xf6)](_0x28f3e2,undefined)){logger[_0x14a0f1(0x19b)](_0x3463a8[_0x14a0f1(0x19a)]()+_0x14a0f1(0x118));return;}for(const _0x2fcd8 of _0x28f3e2[_0x14a0f1(0x1a1)]){const _0x451535=_0x2fcd8[_0x14a0f1(0x147)],_0x100983=_0x2fcd8[_0x14a0f1(0x152)];if(_0x100983)switch(_0x451535){case testHubConstants[_0x14a0f1(0x142)][_0x14a0f1(0xea)]:logger[_0x14a0f1(0x19b)](_0x100983);break;case testHubConstants[_0x14a0f1(0x142)][_0x14a0f1(0x1a0)]:logger['info'](_0x100983);break;case testHubConstants['ERROR'][_0x14a0f1(0x151)]:logger[_0x14a0f1(0x19b)](_0x100983);break;default:logger['error'](_0x100983);}}};const jsonifyAccessibilityArray=(_0x1cee79,_0x17be8c,_0x17bb8c)=>{const _0x411ca5=a171_0x5de32e,_0x5681f2={};return _0x1cee79[_0x411ca5(0x170)](_0x5f2186=>{_0x5681f2[_0x5f2186[_0x17be8c]]=_0x5f2186[_0x17bb8c];}),_0x5681f2;};exports[a171_0x5de32e(0xf9)]=_0xd85490=>{const _0x3d5d18=a171_0x5de32e;_0xd85490['jwt']&&(process['env'][_0x3d5d18(0x17c)]=_0xd85490[_0x3d5d18(0x120)]);_0xd85490[_0x3d5d18(0x190)]&&(process[_0x3d5d18(0x18f)][_0x3d5d18(0x10e)]=_0xd85490[_0x3d5d18(0x190)],logger[_0x3d5d18(0xf0)]('BROWSERSTACK_TESTHUB_UUID:\x20'+_0xd85490[_0x3d5d18(0x190)]));;},exports[a171_0x5de32e(0x140)]=(_0x3bb48c='',_0x5a7b12='')=>{const _0x5e7b86=a171_0x5de32e,_0x21b032={'EAeSI':function(_0xb757e1){return _0xb757e1();},'lxsRP':function(_0x213f68,_0x3e8efe){return _0x213f68===_0x3e8efe;},'KlBdP':'uploadEventData','mJspz':_0x5e7b86(0x132),'gVhjY':_0x5e7b86(0x182),'qaexx':_0x5e7b86(0x1a7),'UPgpS':'HookRunFinished'};if(exports[_0x5e7b86(0x167)]()&&!exports['isAccessibilityEnabled']()&&!_0x21b032['EAeSI'](isTestObservabilitySession)){if(_0x21b032[_0x5e7b86(0x103)](_0x5a7b12,_0x21b032[_0x5e7b86(0x16a)]))return![];if([_0x21b032[_0x5e7b86(0xf8)],_0x21b032[_0x5e7b86(0x15a)]][_0x5e7b86(0x1c0)](_0x3bb48c))return![];return!![];}if(exports[_0x5e7b86(0x125)]()&&!_0x21b032['EAeSI'](isTestObservabilitySession)){if([_0x21b032[_0x5e7b86(0x141)],_0x21b032['UPgpS'],_0x21b032[_0x5e7b86(0xf8)]][_0x5e7b86(0x1c0)](_0x3bb48c))return![];return!![];}return exports[_0x5e7b86(0x125)]()||_0x21b032[_0x5e7b86(0x150)](isTestObservabilitySession)||exports['isPercyBuild']();},exports[a171_0x5de32e(0x199)]=(_0x2fea84,_0x1d6707,_0x53902b='',_0x236041)=>{const _0x54c126=a171_0x5de32e,_0x1e0bb3={'Eezeq':_0x54c126(0x1a7),'tKeWD':'HookRunFinished','naIzi':function(_0x554619,_0x30cf5c){return _0x554619===_0x30cf5c;},'JRMdP':_0x54c126(0x1c4),'KdcDN':_0x54c126(0x13b),'GFHXQ':_0x54c126(0x10a),'HARvU':function(_0x36afac,_0x1d7860){return _0x36afac&&_0x1d7860;},'lDcHu':function(_0x246bf5,_0x4c21a6){return _0x246bf5===_0x4c21a6;},'gVoie':function(_0x19d6b0,_0x424296){return _0x19d6b0+_0x424296;},'fBBcL':function(_0x2dd5da,_0x408461){return _0x2dd5da(_0x408461);},'dQuNu':_0x54c126(0x1a5),'LQiez':function(_0x20c5f0,_0x3747b5){return _0x20c5f0+_0x3747b5;},'NXZZX':function(_0x120f4c,_0x2fc9da){return _0x120f4c+_0x2fc9da;},'Wjiza':function(_0x41dff6,_0x105722){return _0x41dff6!==_0x105722;},'xKakN':_0x54c126(0x163),'yzePv':function(_0x42b2bb,_0x559a8d){return _0x42b2bb&&_0x559a8d;},'WuwdH':_0x54c126(0x198)};if([_0x1e0bb3[_0x54c126(0x186)],_0x1e0bb3[_0x54c126(0x135)]][_0x54c126(0x1c0)](_0x1d6707))return;let _0x1b2c71={};try{process[_0x54c126(0x18f)][_0x54c126(0x1bb)]&&(_0x1b2c71=JSON[_0x54c126(0x164)](process[_0x54c126(0x18f)][_0x54c126(0x1bb)])||{});}catch(_0x546463){logger['debug']('Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20'+_0x546463),_0x1b2c71={};}if(exports['isAccessibilityEnabled']()){if(_0x1e0bb3['naIzi'](_0x236041,FRAMEWORKS[_0x54c126(0x19f)])){const _0x360c38=globals[_0x54c126(0xf2)](_0x1e0bb3[_0x54c126(0x110)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x53902b[_0x54c126(0x10f)](),!![]),_0x5b9321=globals[_0x54c126(0xf2)](_0x1e0bb3['KdcDN']);_0x1b2c71[_0x1e0bb3['GFHXQ']]=_0x1e0bb3[_0x54c126(0x174)](_0x5b9321,_0x360c38);}if(_0x1e0bb3['lDcHu'](_0x236041,FRAMEWORKS[_0x54c126(0x156)])){const _0x527e54=_0x1e0bb3[_0x54c126(0x124)](_0x1e0bb3[_0x54c126(0x124)](_0x2fea84['scopes'][_0x54c126(0x1b0)]('\x20'),'\x20'),_0x53902b[_0x54c126(0x13a)]),_0x3125cd=globals[_0x54c126(0xf2)](_0x1e0bb3[_0x54c126(0x110)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x527e54,![]),_0xdb0750=browserStackGlobals[_0x54c126(0x13b)];_0x1b2c71[_0x1e0bb3[_0x54c126(0x16f)]]=_0x1e0bb3[_0x54c126(0x174)](_0xdb0750,_0x3125cd);}if(_0x1e0bb3['naIzi'](_0x236041,FRAMEWORKS[_0x54c126(0x192)])){const _0x526afd=_0x1e0bb3[_0x54c126(0x121)](require,_0x1e0bb3[_0x54c126(0x108)]),_0x170f03=_0x53902b&&_0x526afd[_0x54c126(0x1b3)](_0x53902b['id'])||_0x2fea84[_0x54c126(0xfe)];_0x170f03&&(_0x2fea84[_0x54c126(0xfe)]=_0x170f03);const _0x466736=_0x1e0bb3[_0x54c126(0x1a4)](_0x1e0bb3[_0x54c126(0x101)](_0x2fea84[_0x54c126(0x13d)]['join']('\x20'),'\x20'),_0x53902b[_0x54c126(0x139)]||_0x2fea84[_0x54c126(0x13a)]),_0xd2bf5c=globals[_0x54c126(0xf2)](_0x1e0bb3[_0x54c126(0x110)])||accessibilityHelper[_0x54c126(0x1ad)](_0x466736,![]),_0x474b9a=globals[_0x54c126(0xf2)](_0x1e0bb3[_0x54c126(0x11b)]);_0x1b2c71[_0x1e0bb3['GFHXQ']]=_0x1e0bb3[_0x54c126(0x174)](_0x474b9a,_0xd2bf5c);}_0x1e0bb3['naIzi'](_0x236041,FRAMEWORKS[_0x54c126(0xee)])&&_0x1e0bb3[_0x54c126(0x15b)](_0x1d6707,_0x1e0bb3[_0x54c126(0x17b)])&&(_0x1b2c71[_0x1e0bb3[_0x54c126(0x16f)]]=PWTestDetails[_0x54c126(0xfd)](_0x2fea84[_0x54c126(0xfe)]));if(_0x1e0bb3['lDcHu'](_0x236041,FRAMEWORKS[_0x54c126(0x1af)])){const _0x2779bc=accessibilityHelper[_0x54c126(0x1ad)](_0x53902b[_0x54c126(0x10f)](),!![]),_0x483bed=global[_0x54c126(0x1bf)];_0x1b2c71[_0x1e0bb3[_0x54c126(0x16f)]]=_0x1e0bb3['yzePv'](_0x483bed,_0x2779bc);}if(_0x1e0bb3[_0x54c126(0x1c6)](_0x236041,FRAMEWORKS[_0x54c126(0x1ba)])){const _0x3ae826=accessibilityHelper[_0x54c126(0x1ad)](null,![],_0x2fea84[_0x54c126(0x14b)]),_0x449dfb=globals[_0x54c126(0xf2)](_0x1e0bb3[_0x54c126(0x11b)]);_0x1b2c71[_0x1e0bb3[_0x54c126(0x16f)]]=_0x1e0bb3[_0x54c126(0x174)](_0x449dfb,_0x3ae826);}}_0x2fea84[_0x1e0bb3[_0x54c126(0x10c)]]=_0x1b2c71;},exports[a171_0x5de32e(0x149)]=_0x510d67=>{const _0x2f4949=a171_0x5de32e,_0x423cdb={};_0x423cdb[_0x2f4949(0x18a)]=function(_0x1bfd39,_0x2ebbfe){return _0x1bfd39>_0x2ebbfe;};const _0x8e0cf8=_0x423cdb;let _0x4bdb75={};if(_0x8e0cf8['DuSCb'](Object[_0x2f4949(0x111)](testData)[_0x2f4949(0x1a8)],0x0))return testData;_0x4bdb75=JestTestDetails['getTestData']();if(_0x8e0cf8[_0x2f4949(0x18a)](Object[_0x2f4949(0x111)](_0x4bdb75)[_0x2f4949(0x1a8)],0x0))return _0x4bdb75;return _0x4bdb75;},exports[a171_0x5de32e(0x16c)]=(_0x1c9908,_0x3570cb={})=>{const _0x5e30a8=a171_0x5de32e;if(bsSetupHelper[_0x5e30a8(0x194)](_0x3570cb[_0x5e30a8(0x128)]))return;switch(_0x1c9908){case FRAMEWORKS[_0x5e30a8(0x19f)]:testData=_0x3570cb[_0x5e30a8(0x128)];break;case FRAMEWORKS['JEST']:JestTestDetails[_0x5e30a8(0x137)](_0x3570cb[_0x5e30a8(0x128)]);break;case FRAMEWORKS['JASMINE']:testData=_0x3570cb[_0x5e30a8(0x128)];break;default:break;}},exports[a171_0x5de32e(0x17f)]=_0x5a16ae=>{const _0x550ed8=a171_0x5de32e,_0x1e2361={};_0x1e2361['XnWBL']=function(_0x58edf8,_0x143e9c){return _0x58edf8!==_0x143e9c;},_0x1e2361[_0x550ed8(0x12e)]=function(_0x5bfa31,_0x31db18){return _0x5bfa31!==_0x31db18;},_0x1e2361[_0x550ed8(0x102)]=function(_0x3fae43,_0x323b34){return _0x3fae43!==_0x323b34;};const _0x353c31=_0x1e2361;if(_0x353c31[_0x550ed8(0x17e)](_0x5a16ae[_0x550ed8(0x10a)],null)&&_0x353c31['XnWBL'](_0x5a16ae[_0x550ed8(0x10a)],undefined))return _0x5a16ae['accessibility'];let _0xf1d85c=![],_0x355de3=![];if(_0x5a16ae[_0x550ed8(0x1b9)])for(const _0xc1836c of _0x5a16ae['platforms']){_0x353c31['wDnMf'](_0xc1836c['accessibility'],null)&&_0x353c31[_0x550ed8(0x102)](_0xc1836c[_0x550ed8(0x10a)],undefined)&&(_0xf1d85c=_0xf1d85c||bsSetupHelper['isTrue'](_0xc1836c[_0x550ed8(0x10a)]),_0x355de3=!![]);}if(_0x355de3)return _0xf1d85c;return null;},exports[a171_0x5de32e(0xfa)]=_0x57140b=>{const _0x2cfc27=a171_0x5de32e;if(!_0x57140b)return{};const _0x4a8762=new OrchestrationUtils(_0x57140b);return _0x4a8762[_0x2cfc27(0x155)]();},exports[a171_0x5de32e(0x17a)]=_0x452232=>{const _0x3bc1dc=a171_0x5de32e,_0x35a079={'fWHUz':function(_0x56ff0e){return _0x56ff0e();},'NkDvu':function(_0x46f8f3,_0x5e9d48){return _0x46f8f3===_0x5e9d48;},'WptCK':_0x3bc1dc(0x189)};let _0x121446=![],_0x46c5a3=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper[_0x3bc1dc(0x104)](_0x452232))_0x46c5a3=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x121446=!![]);return Object[_0x3bc1dc(0x183)]({'observability':_0x35a079[_0x3bc1dc(0x1be)](isTestObservabilitySession),'accessibility':exports[_0x3bc1dc(0x17f)](_0x452232),'percy':_0x452232[_0x3bc1dc(0x10b)]||![],'sr_automation':_0x35a079[_0x3bc1dc(0xfc)](process[_0x3bc1dc(0x18f)][_0x3bc1dc(0x107)],_0x35a079['WptCK'])||_0x452232[_0x3bc1dc(0xef)]||![],'automate':_0x121446,'app_automate':_0x46c5a3,'turboscale':bsSetupHelper[_0x3bc1dc(0x13e)](_0x452232),'lts':LoadTestModule[_0x3bc1dc(0x113)](_0x452232)},bsSetupHelper[_0x3bc1dc(0x1bd)]());};function a171_0xd3a1(){const _0x715c51=['../logger','../../bin/playwright/reporter/test-details.js','BROWSERSTACK_TEST_ACCESSIBILITY_YML','shouldScanTestForAccessibility','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','CODECEPT','join','skipCDPConnectOverride','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','get','VTVZX','password','../test-observability/constants.js','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','testManagementOptions','platforms','CUCUMBER','BROWSERSTACK_PRODUCT_MAP','BZsBr','getCentralUser','fWHUz','accessibilityPlatform','includes','allow_screenshots','../../bin/v2/modules/loadTestModule','setTestObservabilityVariables','bstackA11yShouldScan','BS_TESTOPS_JWT','lDcHu','value','INVALID_CREDENTIALS','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','fEWKD','TpujS','PLAYWRIGHT','sr_automation','debug','getFrameworkDetails','getGlobal','BS_A11Y_JWT','sitjE','stringify','Taqru','688239bZqbsS','mJspz','setTestHubCommonMetaInfo','getTestOrchestrationBuildStartData','xSstl','NkDvu','getAccessibilityPlatformValidation','uuid','isBrowserstackInfra','observability','NXZZX','MOvwf','lxsRP','isAppAutomateSession','BROWSERSTACK_TEST_PLAN_ID','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_SR_AUTOMATION','dQuNu','ntzwk','accessibility','percy','WuwdH','setPercyFlag','BROWSERSTACK_TESTHUB_UUID','titlePath','JRMdP','keys','10567620ffLCYm','isLTSSession','1063890RDhDvb','1245JpaBMS','qQXmW','BS_TESTOPS_BUILD_COMPLETED','\x20Build\x20creation\x20failed','ACCESSIBILITY','HWavc','KdcDN','BROWSERSTACK_ACCESSIBILITY','gqwfJ','iCgLK','YiRfF','jwt','fBBcL','trim','VodfD','gVoie','isAccessibilityEnabled','logBuildError','OBSERVABILITY','test_run','options','javascript','../test-observability/utils','VrJDy','iSJti','wDnMf','WLJEp','config',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','LogCreated','BROWSERSTACK_PERCY','winstonLogger','tKeWD','GtPmG','setTestData','getTestPlanId','description','name','isAccessibilityPlatform','argv','scopes','isTurboScaleSession','ZzmxW','shouldProcessEventForTesthub','qaexx','ERROR','lHQqz','scannerVersion','capabilities','success','key','xkQza','getCurrentTestData','AUwHD','tags','../../bin/jest/test-observability/test-details.js','3521301aJMwCn','getProductMap','xWnee','EAeSI','DEPRECATED','message','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','ntJTy','getBuildStartData','JEST','handleErrorForAccessibility','KXsaR','hXKnU','gVhjY','Wjiza','BS_TESTOPS_BUILD_HASHED_ID','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','ENV_VAR','OhcAf','toString','nonBStackInfraA11yChromeOptions','goog:chromeOptions','TestRunStarted','parse','2DWJxVG','commandsToWrap','isPercyBuild','../helper.js','jFSAK','KlBdP','checkAccessibilityPlatformConfig','setCurrentTestData','ylAIX','CREDENTIALS_FOR_CRASH_REPORTING','GFHXQ','forEach','split','139072pZlPTB','egjKK','HARvU','XkVCP','1928355AIxAVX','isTrue','handleErrorForObservability','startsWith','getProductMapForBuildStartCall','xKakN','BROWSERSTACK_TESTHUB_JWT','toJson','XnWBL','getAccessibilityValueFromYml','string','3952XcGpJg','CBTSessionCreated','assign','commands','TEST_REPORTING_ANALYTICS','Eezeq','tjDrF','false','true','DuSCb','isRunning','../helper','getTestFrameworkDetails','parseFromJson','env','build_hashed_id','../accessibility-automation/scripts.js','JASMINE','NCzwG','isUndefined','jldpA','PDEpS','slice','product_map','appendTesthubParams','toUpperCase','error','BS_TESTOPS_ALLOW_SCREENSHOTS','swJIr','../test-orchestration/orchestrationUtils.js','MOCHA','ACCESS_DENIED','errors','QvAYD','IQcxl','LQiez','../../bin/jasmine/testRunMap.js','fdHng','HookRunStarted','length','testPlanId'];a171_0xd3a1=function(){return _0x715c51;};return a171_0xd3a1();}const normalizeTestPlanId=_0x275288=>{const _0x5e2006=a171_0x5de32e,_0x2009cc={};_0x2009cc['YiRfF']=function(_0x2f21ac,_0x51ae5d){return _0x2f21ac!==_0x51ae5d;},_0x2009cc[_0x5e2006(0x16d)]=_0x5e2006(0x180),_0x2009cc[_0x5e2006(0x1a6)]=function(_0xc9a89a,_0x4a825a){return _0xc9a89a>_0x4a825a;};const _0x594aea=_0x2009cc;if(_0x594aea[_0x5e2006(0x11f)](typeof _0x275288,_0x594aea[_0x5e2006(0x16d)]))return undefined;const _0x457bf2=_0x275288[_0x5e2006(0x122)]();return _0x594aea['fdHng'](_0x457bf2[_0x5e2006(0x1a8)],0x0)?_0x457bf2:undefined;},readTestPlanIdFromCliArgs=(_0x3f8309=process[a171_0x5de32e(0x13c)])=>{const _0x3cfd92=a171_0x5de32e,_0x3b81a9={};_0x3b81a9[_0x3cfd92(0x11e)]=function(_0x434d3b,_0x208427){return _0x434d3b<_0x208427;},_0x3b81a9['iSJti']=function(_0x15852a,_0x1fe7a6){return _0x15852a===_0x1fe7a6;},_0x3b81a9['xkQza']=function(_0x1d9f99,_0x3260b5){return _0x1d9f99+_0x3260b5;};const _0x5ea7c6=_0x3b81a9,_0x592f0a='--'+testHubConstants[_0x3cfd92(0x1b2)];for(let _0x23d286=0x0;_0x5ea7c6[_0x3cfd92(0x11e)](_0x23d286,_0x3f8309[_0x3cfd92(0x1a8)]);_0x23d286+=0x1){const _0x4b4c15=_0x3f8309[_0x23d286];if(_0x5ea7c6[_0x3cfd92(0x12d)](_0x4b4c15,_0x592f0a)){const _0x26b76f=_0x3f8309[_0x5ea7c6[_0x3cfd92(0x148)](_0x23d286,0x1)];if(!_0x26b76f||_0x26b76f[_0x3cfd92(0x179)]('--'))return undefined;return _0x26b76f;}if(_0x4b4c15[_0x3cfd92(0x179)](_0x592f0a+'='))return _0x4b4c15[_0x3cfd92(0x197)](_0x5ea7c6[_0x3cfd92(0x148)](_0x592f0a['length'],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x5b7cbd={})=>{const _0x8fa641=a171_0x5de32e,_0x3a2f23={'gqwfJ':function(_0x557081,_0x447797){return _0x557081(_0x447797);}};return _0x3a2f23[_0x8fa641(0x11d)](normalizeTestPlanId,_0x5b7cbd&&_0x5b7cbd['testManagementOptions']&&_0x5b7cbd[_0x8fa641(0x1b8)][_0x8fa641(0x1a9)]);};exports[a171_0x5de32e(0x138)]=(_0x101e46={},_0x129920=process['argv'],_0x2a0837=process['env'])=>{const _0x2dcbb8=a171_0x5de32e,_0x523b1f={'ntzwk':function(_0x3fbfb1,_0x194c5b){return _0x3fbfb1(_0x194c5b);}};try{const _0x51a2a3=_0x523b1f[_0x2dcbb8(0x109)](normalizeTestPlanId,_0x523b1f[_0x2dcbb8(0x109)](readTestPlanIdFromCliArgs,_0x129920));if(_0x51a2a3)return _0x51a2a3;const _0x4d96a0=_0x523b1f[_0x2dcbb8(0x109)](normalizeTestPlanId,_0x2a0837&&_0x2a0837[testHubConstants[_0x2dcbb8(0x15e)][_0x2dcbb8(0x105)]]);if(_0x4d96a0)return _0x4d96a0;return _0x523b1f['ntzwk'](readTestPlanIdFromConfig,_0x101e46);}catch(_0x15891d){return logger[_0x2dcbb8(0xf0)](_0x2dcbb8(0x1b7)+(_0x15891d&&_0x15891d['message']?_0x15891d[_0x2dcbb8(0x152)]:_0x15891d)),undefined;}};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a172_0x374123=a172_0x51f0;function a172_0x51f0(_0x524562,_0x55fc6){const _0x938e42=a172_0x938e();return a172_0x51f0=function(_0x51f0db,_0x1d211f){_0x51f0db=_0x51f0db-0x17c;let _0xfbf531=_0x938e42[_0x51f0db];return _0xfbf531;},a172_0x51f0(_0x524562,_0x55fc6);}(function(_0x29c52b,_0x5aabdd){const _0x14bc5a=a172_0x51f0,_0x22ecb7=_0x29c52b();while(!![]){try{const _0x1c8d19=-parseInt(_0x14bc5a(0x1e6))/0x1+-parseInt(_0x14bc5a(0x207))/0x2*(-parseInt(_0x14bc5a(0x214))/0x3)+parseInt(_0x14bc5a(0x1cf))/0x4*(-parseInt(_0x14bc5a(0x20d))/0x5)+parseInt(_0x14bc5a(0x212))/0x6*(parseInt(_0x14bc5a(0x180))/0x7)+parseInt(_0x14bc5a(0x1f5))/0x8*(-parseInt(_0x14bc5a(0x196))/0x9)+-parseInt(_0x14bc5a(0x1ac))/0xa*(parseInt(_0x14bc5a(0x194))/0xb)+parseInt(_0x14bc5a(0x1d9))/0xc;if(_0x1c8d19===_0x5aabdd)break;else _0x22ecb7['push'](_0x22ecb7['shift']());}catch(_0x228395){_0x22ecb7['push'](_0x22ecb7['shift']());}}}(a172_0x938e,0xe3b08));const os=require('os'),util=require(a172_0x374123(0x1b6)),fs=require('fs'),{getProductMap}=require(a172_0x374123(0x200)),logger=require(a172_0x374123(0x210))[a172_0x374123(0x185)],constants=require(a172_0x374123(0x1ca)),testHubConstants=require(a172_0x374123(0x1f3)),{getTransformPath}=require(a172_0x374123(0x1ea)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a172_0x374123(0x1ca)),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a172_0x374123(0x191)),globals=require('./globals'),helper=require(a172_0x374123(0x18c)),{isTestObservabilitySession}=require('./test-observability/utils');function a172_0x938e(){const _0x5b7503=['_hubAllocationData','tRUHE','killSignal','MFVTu','config','setReadWriteExecuteAccess','osaaj','VNZRB','tests','util','JRdkS','hqizW','Playwright','codeceptjs','toString','zOBgB','chmodSync','SDKTestSuccessful','apply','join','globalException','BBilg','bvqpu','stopPercy','osVersion','getFrameworkVersion','object','ieQMg','getGlobal','../bin/utils/constants','getAccessKey','framework','every','hubAllocation','1840524AWPCuh','constants','BgLmO','jpcHP','accessSync','HAGSO','QTXbR','getBuildLink','format','\x20:\x20','42943464gbWabh','zRJEa','unhandledErrors','AUTOMATE_PRODUCTS','getTurboScaleBuildLink','iioeS','playwrightVersion','type','finalExecutionRan','getOptimalHubUrl','error','isNullOrEmpty','browserVersion','1201872oPEErV','split','sdkRunId','nSITO','../bin/playwright/reporter/pwUtils','iizKO','jploa','push','API\x20Event\x20','SDK\x20run\x20ended\x20for\x20id:\x20','AUxxU','\x20has\x20now\x20read/write/execute\x20permissions.','mFNlr','../helpers/testhub/constants','unknown','2616RSXkWL','klHgd','AUTOMATE','getNodeAgent','trim','content-type','event_properties','all','user_killed','isAppAutomateSession','stack','./testhub/utils','application/json','isBrowserstackInfra','seleniumVersion','dHFlo','values','keys','1474JtIZBL','fhjWw','name','dacHq','sRbkY','getUserName','10fadLyu','rqpXb','uZOyP','./logger','getSessionsList','5416278vevCql','browser','5466aAqXjt','forEach','finalExecution','browserStackConfig','requirePWModule','Directory\x20','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','7CyeRIb','version','POST','undefined','notifyUpdate','winstonLogger','isModifiable','isTurboScaleSession','sendLogs','PRODUCT_IF_NOT_BROWSERSTACK_INFRA',',\x20testhub\x20id:\x20','length','./helper','mWfml','ZdMxy','hyXdB','finishedMetadata','./performance/performance-tester','reduce','getStackTraceAsString','15057438pUBcxG','vWErB','38547OFttMy','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','ENV_VAR','fQsmF','getPackageVersion','W_OK','debug','env','APP_AUTOMATE','fireFunnelTestEvent','getTestFrameworkDetails','EFYGQ','null','assign','info','selenium-webdriver','errorMessage','sanitizeBrowserStackConfig','zrqrU','replace','nodeRequest','RYWTf','10xlPQRH'];a172_0x938e=function(){return _0x5b7503;};return a172_0x938e();}let unhandledErrors='';exports[a172_0x374123(0x19f)]=async(_0x3a47d2,_0x2e3cf3={},_0x2f151c,_0x42f83,_0x4c558c=![])=>{const _0x545e69=a172_0x374123,_0x241114={'hqizW':function(_0x54eebd,_0x18ede7){return _0x54eebd===_0x18ede7;},'JRdkS':_0x545e69(0x1c7),'mFNlr':function(_0x3f5e46,_0x480b75){return _0x3f5e46>_0x480b75;},'FkbPQ':_0x545e69(0x1b5),'BBilg':function(_0x403c8b){return _0x403c8b();},'yYfoT':function(_0x119ddf,_0x10576b){return _0x119ddf==_0x10576b;},'IoHqx':_0x545e69(0x1a2),'mWfml':function(_0x15c23b,_0x32cd7c){return _0x15c23b===_0x32cd7c;},'dHFlo':_0x545e69(0x183),'HAGSO':function(_0x12b084,_0x4f93ea){return _0x12b084>_0x4f93ea;},'dacHq':function(_0x5315e5,_0x4c7ede){return _0x5315e5===_0x4c7ede;},'tRUHE':_0x545e69(0x1ba),'CJGua':function(_0x24bc4e,_0x82e253){return _0x24bc4e!==_0x82e253;},'vWErB':_0x545e69(0x1b9),'fQsmF':'error','BgLmO':function(_0x55daab,_0x45ed1a){return _0x55daab>_0x45ed1a;},'zrqrU':function(_0x24bedd,_0x3380d0){return _0x24bedd+_0x3380d0;},'bvqpu':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','klHgd':'_buildHashedId','osaaj':function(_0x165711,_0x2f51b5){return _0x165711(_0x2f51b5);},'sRbkY':function(_0xd2c1b3,_0x314ed4){return _0xd2c1b3(_0x314ed4);},'MFVTu':_0x545e69(0x1f4),'ieQMg':'nodejs','iioeS':_0x545e69(0x1be),'fhjWw':function(_0x42d904,_0x4fdc50){return _0x42d904===_0x4fdc50;},'tyNiF':_0x545e69(0x1a5),'uZOyP':_0x545e69(0x201),'hyXdB':'[REDACTED]','nSITO':_0x545e69(0x182)};let _0x444ff5=[];if(helper[_0x545e69(0x202)]()&&_0x241114[_0x545e69(0x1c2)](isTestObservabilitySession))_0x444ff5=helper[_0x545e69(0x1fe)](_0x2f151c)?constants['APP_AUTOMATE_PRODUCTS']:constants[_0x545e69(0x1dc)];else{if(_0x241114['BBilg'](isTestObservabilitySession))_0x444ff5=constants[_0x545e69(0x189)];else helper[_0x545e69(0x202)]()&&(_0x444ff5=helper['isAppAutomateSession'](_0x2f151c)?constants[_0x545e69(0x19e)]:constants[_0x545e69(0x1f7)]);}let _0x4327c7=_0x2f151c['buildIdentifier'];if(_0x241114['yYfoT'](_0x4327c7,null))_0x4327c7=_0x241114['IoHqx'];else _0x241114[_0x545e69(0x18d)](_0x4327c7,undefined)&&(_0x4327c7=_0x241114['dHFlo']);unhandledErrors&&_0x241114['HAGSO'](unhandledErrors[_0x545e69(0x18b)],0x0)&&(_0x2e3cf3[_0x545e69(0x1c1)]=unhandledErrors);global['sdkRunId']&&(_0x2e3cf3['sdkRunId']=global[_0x545e69(0x1e8)]);try{if(_0x2e3cf3['error']){if(_0x241114[_0x545e69(0x20a)](_0x42f83,_0x241114[_0x545e69(0x1ae)])&&_0x241114[_0x545e69(0x1d4)](_0x2e3cf3[_0x545e69(0x1e3)][_0x545e69(0x18b)],0x0)){const _0x2d5c19={};_0x2d5c19['os']='',_0x2d5c19[_0x545e69(0x1c5)]='',_0x2d5c19['browser']='',_0x2d5c19[_0x545e69(0x1e5)]='';const _0x39d00c=_0x2d5c19;let _0x3e9ad9={};const _0x4bc7a9=_0x2e3cf3[_0x545e69(0x1e3)];_0x3e9ad9=_0x4bc7a9[_0x545e69(0x192)]((_0x38da69,_0x295a47)=>{for(const _0x3c59df in _0x295a47){_0x38da69[_0x3c59df]=_0x295a47[_0x3c59df];}return _0x38da69;},{});const _0x300bd8={};_0x300bd8[_0x545e69(0x1b5)]=_0x3e9ad9,_0x2e3cf3[_0x545e69(0x1e3)]=[Object[_0x545e69(0x1a3)]({},_0x39d00c,_0x300bd8)];}else{let _0x355fe5=0x0;const _0x58932b=_0x241114['CJGua'](_0x42f83,_0x241114['vWErB'])?JSON['parse'](_0x2e3cf3[_0x545e69(0x1e3)]):_0x2e3cf3[_0x545e69(0x1e3)],_0x3e3b52=Object[_0x545e69(0x205)](_0x58932b);_0x3e3b52[_0x545e69(0x215)](_0x1b9aa2=>{const _0x313542=_0x545e69;if(_0x241114[_0x313542(0x1b8)](typeof _0x1b9aa2,_0x241114[_0x313542(0x1b7)])){const _0x4a9e93=Object[_0x313542(0x205)](_0x1b9aa2);!_0x4a9e93[_0x313542(0x1cd)](_0x248abf=>_0x248abf===null||_0x248abf===undefined||_0x248abf==='')&&(_0x355fe5+=0x1);}});if(_0x241114['dacHq'](_0x355fe5,0x0))delete _0x2e3cf3[_0x241114[_0x545e69(0x199)]];else{const _0x5857fe=[];Object[_0x545e69(0x206)](_0x58932b)['forEach'](_0x279cc2=>{const _0x5b025e=_0x545e69,_0x4348d2={'EFYGQ':function(_0x3dd21e,_0x1176fc){const _0x45bc6a=a172_0x51f0;return _0x241114[_0x45bc6a(0x1f2)](_0x3dd21e,_0x1176fc);}},[_0x9575d6,_0x4618c9,_0x581a39,_0x5bfb77]=_0x279cc2[_0x5b025e(0x1e7)](',\x20');let _0x169676={};if(!_0x5bfb77){const _0x344ae0={};_0x344ae0['deviceName']=_0x9575d6,_0x344ae0[_0x5b025e(0x1c5)]=_0x4618c9,_0x344ae0['browser']=_0x581a39,_0x169676=_0x344ae0;}else{const _0x12b13b={};_0x12b13b['os']=_0x9575d6,_0x12b13b[_0x5b025e(0x1c5)]=_0x4618c9,_0x12b13b[_0x5b025e(0x213)]=_0x581a39,_0x12b13b[_0x5b025e(0x1e5)]=_0x5bfb77,_0x169676=_0x12b13b;}const _0x430922={},_0x556c47=_0x58932b[_0x279cc2];Object[_0x5b025e(0x206)](_0x556c47)['forEach'](_0x5abebd=>{const _0x5dbd07=_0x5b025e;_0x4348d2[_0x5dbd07(0x1a1)](_0x556c47[_0x5abebd][_0x5dbd07(0x18b)],0x0)&&(_0x430922[_0x5abebd]=_0x556c47[_0x5abebd]);}),_0x241114[_0x5b025e(0x1f2)](Object[_0x5b025e(0x206)](_0x430922)['length'],0x0)&&(_0x169676[_0x241114['FkbPQ']]=_0x430922,_0x5857fe[_0x5b025e(0x1ed)](_0x169676));}),_0x241114[_0x545e69(0x1d1)](_0x5857fe[_0x545e69(0x18b)],0x0)?_0x2e3cf3[_0x545e69(0x1e3)]=_0x5857fe:delete _0x2e3cf3[_0x241114[_0x545e69(0x199)]];}}}}catch(_0x4d5554){delete _0x2e3cf3[_0x241114['fQsmF']],logger[_0x545e69(0x19c)](_0x241114[_0x545e69(0x1a8)](_0x241114[_0x545e69(0x1c3)],_0x4d5554));}const _0x582cea=helper[_0x545e69(0x1a0)](_0x2f151c,_0x2f151c[_0x545e69(0x1cc)]),_0x611534={'userName':helper['getUserName'](_0x2f151c),'accessKey':helper[_0x545e69(0x1cb)](_0x2f151c),'event_type':_0x3a47d2,'detectedFramework':_0x42f83,'buildHashedId':globals[_0x545e69(0x1c9)](_0x241114[_0x545e69(0x1f6)]),'optimalHubUrl':helper[_0x545e69(0x1e2)](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x545e69(0x198)]['BROWSERSTACK_TESTHUB_UUID']]||'','sdkRunId':global['sdkRunId'],'product_map':_0x241114[_0x545e69(0x1b3)](getProductMap,_0x2f151c),'productMap':_0x241114[_0x545e69(0x20b)](getProductMap,_0x2f151c),'language_framework':_0x2f151c['source']||_0x241114[_0x545e69(0x1b0)],'referrer':helper[_0x545e69(0x1f8)](_0x42f83),'framework':_0x2f151c[_0x545e69(0x1cc)],'frameworkVersion':helper[_0x545e69(0x1c6)](_0x42f83),'automationFramework':_0x582cea[_0x545e69(0x209)],'automationFrameworkVersion':_0x582cea[_0x545e69(0x181)],'language':_0x241114[_0x545e69(0x1c8)],'languageVersion':process[_0x545e69(0x181)],'product':_0x444ff5,'buildName':_0x2f151c['buildName']||_0x241114[_0x545e69(0x204)],'buildIdentifier':_0x4327c7,'os':os[_0x545e69(0x1e0)]()||_0x241114[_0x545e69(0x1b0)],'hostname':os['hostname']()||_0x241114[_0x545e69(0x1b0)],..._0x2e3cf3,'isCLIEnabled':_0x4c558c}};try{_0x241114[_0x545e69(0x1b8)](_0x3a47d2,_0x241114[_0x545e69(0x1de)])&&(_0x611534[_0x545e69(0x1fb)][_0x545e69(0x17c)]=helper[_0x545e69(0x1a7)](_0x2f151c)),_0x241114[_0x545e69(0x208)](_0x42f83,_0x241114[_0x545e69(0x195)])?_0x611534[_0x545e69(0x1fb)][_0x545e69(0x1df)]=helper[_0x545e69(0x17d)][_0x545e69(0x1bf)](null,_0x241114['BBilg'](getTransformPath),!![]):_0x611534[_0x545e69(0x1fb)][_0x545e69(0x203)]=helper[_0x545e69(0x19a)](_0x241114['tyNiF']);}catch(_0x3b9d2c){logger[_0x545e69(0x19c)](_0x545e69(0x197)+_0x3b9d2c);}const _0x4bc326={};_0x4bc326[_0x545e69(0x1fa)]=_0x241114[_0x545e69(0x20f)];const _0x2dbd19={'headers':_0x4bc326,'body':_0x611534,'auth':{'user':helper[_0x545e69(0x20c)](_0x2f151c),'pass':helper[_0x545e69(0x1cb)](_0x2f151c)},'json':!![]};logger[_0x545e69(0x19c)](_0x545e69(0x17f)+JSON['stringify'](_0x2dbd19['body'])[_0x545e69(0x1a9)](new RegExp(helper['getUserName'](_0x2f151c),'g'),_0x241114[_0x545e69(0x18f)])['replace'](new RegExp(helper[_0x545e69(0x1cb)](_0x2f151c),'g'),_0x241114[_0x545e69(0x18f)]));try{const _0x599bc0=await helper[_0x545e69(0x1aa)](_0x241114[_0x545e69(0x1e9)],FUNNEL_INSTRUMENTATION_API_URL,_0x2dbd19,_0x2f151c);logger[_0x545e69(0x19c)](_0x545e69(0x1ee)+_0x3a47d2+'\x20response\x20-\x20'+util[_0x545e69(0x1d7)]('%j',_0x599bc0));}catch(_0x27e15e){logger[_0x545e69(0x19c)]('Error\x20in\x20firing\x20request\x20to\x20'+FUNNEL_INSTRUMENTATION_API_URL+_0x545e69(0x1d8)+util[_0x545e69(0x1d7)](_0x27e15e));}},exports[a172_0x374123(0x216)]=async(_0x1cd72b,_0x480068=![])=>{const _0x355095=a172_0x374123,_0xbe1ae2={'jploa':function(_0x5a021b){return _0x5a021b();},'iizKO':_0x355095(0x1ad),'pozSK':_0x355095(0x190),'AUxxU':_0x355095(0x1fd),'rqpXb':_0x355095(0x1be),'VNZRB':function(_0x514996,_0x1facc3,_0xa3fa4c){return _0x514996(_0x1facc3,_0xa3fa4c);},'RYWTf':function(_0x154ff8,_0x119cd9){return _0x154ff8+_0x119cd9;},'zRJEa':'Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20'};if(_0x1cd72b[_0x355095(0x1e1)])return;_0x1cd72b[_0x355095(0x1e1)]=!![];try{await _0x1cd72b[_0x355095(0x1c4)](),_0xbe1ae2[_0x355095(0x1ec)](printNudgeLocalNotSetError);const _0x5b3dd1={};_0x5b3dd1[_0x355095(0x1e3)]=_0x1cd72b[_0x355095(0x1a6)]?_0x1cd72b['errorMessage']:'{}';const _0x57eba5=_0x5b3dd1,_0x25bebf=Object[_0x355095(0x1a3)]({},_0x57eba5),_0x47918f=globals['getGlobal'](_0xbe1ae2[_0x355095(0x1eb)]);_0x47918f&&(_0x25bebf[_0x355095(0x1ce)]=_0x47918f);!!_0x1cd72b['killSignal']&&(_0x25bebf[_0xbe1ae2['pozSK']]={'reason':_0xbe1ae2[_0x355095(0x1f0)],'signal':_0x1cd72b[_0x355095(0x1af)]});unhandledErrors=_0x1cd72b[_0x355095(0x1db)][_0x355095(0x1c0)]('\x0a');let _0x5e5eca,_0x536a9c,_0x19d384;helper[_0x355095(0x187)](_0x1cd72b['config'])?([_0x5e5eca,_0x536a9c]=await helper[_0x355095(0x1dd)](_0x1cd72b[_0x355095(0x1b1)]),[_0x19d384]=await Promise[_0x355095(0x1fc)]([helper['getTurboScaleSessionsList'](_0x5e5eca,_0x1cd72b[_0x355095(0x1b1)]),exports[_0x355095(0x19f)](_0xbe1ae2[_0x355095(0x20e)],_0x25bebf,_0x1cd72b[_0x355095(0x1b1)],_0x1cd72b['framework'],_0x480068)])):([_0x5e5eca,_0x536a9c]=await helper[_0x355095(0x1d6)](_0x1cd72b[_0x355095(0x1b1)]),[_0x19d384]=await Promise['all']([helper[_0x355095(0x211)](_0x5e5eca,_0x1cd72b['config']),exports['fireFunnelTestEvent'](_0xbe1ae2['rqpXb'],_0x25bebf,_0x1cd72b[_0x355095(0x1b1)],_0x1cd72b[_0x355095(0x1cc)],_0x480068)])),_0x19d384&&await _0xbe1ae2[_0x355095(0x1b4)](generateCIArtifacts,_0x19d384,_0x536a9c),logger[_0x355095(0x1a4)](_0x355095(0x1ef)+_0x1cd72b[_0x355095(0x1e8)]+_0x355095(0x18a)+process[_0x355095(0x19d)]['BROWSERSTACK_TESTHUB_UUID']),await helper[_0x355095(0x188)](_0x1cd72b[_0x355095(0x1b1)]);}catch(_0x50e3d0){logger['debug'](_0xbe1ae2[_0x355095(0x1ab)](_0xbe1ae2[_0x355095(0x1da)],_0x50e3d0));}helper[_0x355095(0x184)]();},exports[a172_0x374123(0x193)]=_0x585ccc=>{const _0x1849f1=a172_0x374123,_0x10f3eb={'zOBgB':function(_0x1cc6df,_0xd82ba7){return _0x1cc6df instanceof _0xd82ba7;},'jpcHP':function(_0x268c74,_0x1db8fc){return _0x268c74(_0x1db8fc);}};try{if(_0x10f3eb[_0x1849f1(0x1bc)](_0x585ccc,Error))return _0x585ccc[_0x1849f1(0x1ff)]||_0x585ccc[_0x1849f1(0x1bb)]();return _0x10f3eb[_0x1849f1(0x1d2)](String,_0x585ccc);}catch(_0xd9eba1){return _0x585ccc?_0x585ccc[_0x1849f1(0x1bb)]():'';}},exports[a172_0x374123(0x1e4)]=_0x21e1ee=>{const _0x35a54a=a172_0x374123,_0x266193={};_0x266193[_0x35a54a(0x1d5)]=function(_0x45bc52,_0x443b25){return _0x45bc52===_0x443b25;};const _0x33b412=_0x266193;return!_0x21e1ee||_0x33b412[_0x35a54a(0x1d5)](_0x21e1ee[_0x35a54a(0x1f9)](),'');},exports[a172_0x374123(0x186)]=_0x1cb744=>{const _0x3c43a8=a172_0x374123,_0x12fdb7={};_0x12fdb7[_0x3c43a8(0x18e)]=function(_0x345d72,_0xe9ce07){return _0x345d72|_0xe9ce07;};const _0xb4520c=_0x12fdb7;try{return fs[_0x3c43a8(0x1d3)](_0x1cb744,_0xb4520c[_0x3c43a8(0x18e)](fs['constants'][_0x3c43a8(0x19b)],fs[_0x3c43a8(0x1d0)]['X_OK'])),!![];}catch(_0x51268f){return![];}},exports[a172_0x374123(0x1b2)]=_0x2351d3=>{const _0x2bb27c=a172_0x374123;try{fs[_0x2bb27c(0x1bd)](_0x2351d3,0x1ff),logger['debug'](_0x2bb27c(0x17e)+_0x2351d3+_0x2bb27c(0x1f1));}catch(_0x378199){logger[_0x2bb27c(0x1e3)]('Failed\x20to\x20set\x20directory\x20access:\x20'+exports[_0x2bb27c(0x193)](_0x378199));}};
|
|
1
|
+
function a172_0x1a09(){const _0x5989c2=['kLFBL','split','getStackTraceAsString','AWBPn','19788CVDqxQ','mtNMl','globalException','application/json','sdkRunId','hostname','osVersion','AUTOMATE_PRODUCTS','browser','requirePWModule','getTurboScaleBuildLink','killSignal','chmodSync','getTurboScaleSessionsList','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','tBvHJ','codeceptjs','getOptimalHubUrl','length','49GRXfNQ','source','ENV_VAR','unhandledErrors','getPackageVersion','setReadWriteExecuteAccess','values','debug','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','14956000BofWDY','getNodeAgent','winstonLogger','./performance/performance-tester','X_OK','RnHGP','getSessionsList','selenium-webdriver','25GrWZPN','seleniumVersion','isNullOrEmpty','1033512uoJLnR','trim','./globals','lhAOJ','aTTIz','browserVersion','fireFunnelTestEvent','6zLABPq','W_OK','Failed\x20to\x20set\x20directory\x20access:\x20','keys','sanitizeBrowserStackConfig','Wqcoy',',\x20testhub\x20id:\x20','playwrightVersion','551289gjHKOP','./test-observability/utils','error','stack','getAccessKey','593072wGvASh','yUXcB','parse','../helpers/testhub/constants','null','./helper','content-type','umMdk','accessSync','toString','tests','buildIdentifier','fFVKJ','util','lUHGw','type','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','jXfjB','SDKTestSuccessful','SDK\x20run\x20ended\x20for\x20id:\x20','env','getBuildLink','xPZiP','apply','all','isModifiable','format','getUserName','API\x20Event\x20','undefined','iOTin','Error\x20in\x20firing\x20request\x20to\x20','name','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','object','replace','buildName','TTzun','deviceName','MeTLr','stringify','KdWRV','GQmyr','info','1033034tgqHPq','POST','_buildHashedId','APP_AUTOMATE','YGVEC','KKLFk','vudgX','AUTOMATE','version','UIkko','framework','zkLVQ','JzWKM','finishedMetadata','isAppAutomateSession','zedee','unknown','finalExecutionRan','constants','./testhub/utils','body','pAEjO','event_properties','assign','nodeRequest','browserStackConfig','BROWSERSTACK_TESTHUB_UUID','isBrowserstackInfra','forEach','getGlobal','1838637FanGGR','sUILL','../bin/utils/constants','\x20has\x20now\x20read/write/execute\x20permissions.','kzUOb','errorMessage','hubAllocation','Directory\x20','nweCg','Wbpam','nodejs','config','dLbef','INHfD'];a172_0x1a09=function(){return _0x5989c2;};return a172_0x1a09();}function a172_0x46b0(_0x4061e5,_0x3249bc){const _0x1a0967=a172_0x1a09();return a172_0x46b0=function(_0x46b02d,_0x582122){_0x46b02d=_0x46b02d-0xa2;let _0x5f05ca=_0x1a0967[_0x46b02d];return _0x5f05ca;},a172_0x46b0(_0x4061e5,_0x3249bc);}const a172_0x2c5cd8=a172_0x46b0;(function(_0x3515af,_0x43247d){const _0x4a0722=a172_0x46b0,_0xc6ffd7=_0x3515af();while(!![]){try{const _0x1b6398=parseInt(_0x4a0722(0xcc))/0x1+parseInt(_0x4a0722(0x12a))/0x2*(parseInt(_0x4a0722(0x132))/0x3)+-parseInt(_0x4a0722(0x123))/0x4+-parseInt(_0x4a0722(0x120))/0x5*(-parseInt(_0x4a0722(0xfc))/0x6)+parseInt(_0x4a0722(0x10f))/0x7*(parseInt(_0x4a0722(0x137))/0x8)+parseInt(_0x4a0722(0xea))/0x9+-parseInt(_0x4a0722(0x118))/0xa;if(_0x1b6398===_0x43247d)break;else _0xc6ffd7['push'](_0xc6ffd7['shift']());}catch(_0x4b0424){_0xc6ffd7['push'](_0xc6ffd7['shift']());}}}(a172_0x1a09,0x8b2d2));const os=require('os'),util=require(a172_0x2c5cd8(0xad)),fs=require('fs'),{getProductMap}=require(a172_0x2c5cd8(0xdf)),logger=require('./logger')[a172_0x2c5cd8(0x11a)],constants=require(a172_0x2c5cd8(0xec)),testHubConstants=require(a172_0x2c5cd8(0xa3)),{getTransformPath}=require('../bin/playwright/reporter/pwUtils'),{FUNNEL_INSTRUMENTATION_API_URL}=require(a172_0x2c5cd8(0xec)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a172_0x2c5cd8(0xa5)),PerformanceTester=require(a172_0x2c5cd8(0x11b)),globals=require(a172_0x2c5cd8(0x125)),helper=require(a172_0x2c5cd8(0xa5)),{isTestObservabilitySession}=require(a172_0x2c5cd8(0x133));let unhandledErrors='';exports[a172_0x2c5cd8(0x129)]=async(_0x4365a1,_0x5712eb={},_0x1b19c5,_0x215e9d,_0xeddc5f=![])=>{const _0x3f7f9c=a172_0x2c5cd8,_0x537ec0={'vudgX':function(_0x5996f9,_0x5d11b0){return _0x5996f9===_0x5d11b0;},'tWHUt':_0x3f7f9c(0xc2),'lhAOJ':function(_0x394d6b,_0x397686){return _0x394d6b>_0x397686;},'crCOS':_0x3f7f9c(0xaa),'jXfjB':function(_0x52dd6c){return _0x52dd6c();},'yUXcB':function(_0xa42ee,_0x31de5f){return _0xa42ee==_0x31de5f;},'dpDkM':_0x3f7f9c(0xa4),'tBvHJ':_0x3f7f9c(0xbd),'lUHGw':_0x3f7f9c(0x10c),'yeVMf':function(_0x4dcdfb,_0x4f953c){return _0x4dcdfb>_0x4f953c;},'Wbpam':function(_0x4101eb,_0x4d03e9){return _0x4101eb!==_0x4d03e9;},'INHfD':'Playwright','mtNMl':function(_0x2c0372,_0x298f2b){return _0x2c0372===_0x298f2b;},'xPZiP':_0x3f7f9c(0x134),'nweCg':function(_0x431521,_0x13e186){return _0x431521+_0x13e186;},'fFVKJ':_0x3f7f9c(0x10a),'kLFBL':_0x3f7f9c(0xce),'iOTin':function(_0x4c0375,_0x38b23e){return _0x4c0375(_0x38b23e);},'Wqcoy':_0x3f7f9c(0xdc),'CRJVj':_0x3f7f9c(0xf4),'zedee':function(_0x4d0b4f,_0x2eaab8){return _0x4d0b4f===_0x2eaab8;},'AWBPn':_0x3f7f9c(0xb2),'aTTIz':_0x3f7f9c(0x11f),'YGVEC':_0x3f7f9c(0xff),'MeTLr':'[REDACTED]','kzUOb':_0x3f7f9c(0xcd)};let _0x157296=[];if(helper[_0x3f7f9c(0xe7)]()&&_0x537ec0[_0x3f7f9c(0xb1)](isTestObservabilitySession))_0x157296=helper[_0x3f7f9c(0xda)](_0x1b19c5)?constants['APP_AUTOMATE_PRODUCTS']:constants[_0x3f7f9c(0x103)];else{if(_0x537ec0[_0x3f7f9c(0xb1)](isTestObservabilitySession))_0x157296=constants[_0x3f7f9c(0x117)];else helper[_0x3f7f9c(0xe7)]()&&(_0x157296=helper[_0x3f7f9c(0xda)](_0x1b19c5)?constants[_0x3f7f9c(0xcf)]:constants[_0x3f7f9c(0xd3)]);}let _0x1b2958=_0x1b19c5[_0x3f7f9c(0xab)];if(_0x537ec0[_0x3f7f9c(0x138)](_0x1b2958,null))_0x1b2958=_0x537ec0['dpDkM'];else _0x537ec0[_0x3f7f9c(0xd2)](_0x1b2958,undefined)&&(_0x1b2958=_0x537ec0[_0x3f7f9c(0x10b)]);unhandledErrors&&_0x537ec0[_0x3f7f9c(0x126)](unhandledErrors[_0x3f7f9c(0x10e)],0x0)&&(_0x5712eb[_0x3f7f9c(0xfe)]=unhandledErrors);global['sdkRunId']&&(_0x5712eb[_0x3f7f9c(0x100)]=global[_0x3f7f9c(0x100)]);try{if(_0x5712eb['error']){if(_0x537ec0[_0x3f7f9c(0xd2)](_0x215e9d,_0x537ec0[_0x3f7f9c(0xae)])&&_0x537ec0['yeVMf'](_0x5712eb[_0x3f7f9c(0x134)][_0x3f7f9c(0x10e)],0x0)){const _0x2a24f5={};_0x2a24f5['os']='',_0x2a24f5[_0x3f7f9c(0x102)]='',_0x2a24f5[_0x3f7f9c(0x104)]='',_0x2a24f5[_0x3f7f9c(0x128)]='';const _0x360073=_0x2a24f5;let _0x3ace9c={};const _0x165c3d=_0x5712eb[_0x3f7f9c(0x134)];_0x3ace9c=_0x165c3d['reduce']((_0x3af62c,_0x5ec589)=>{for(const _0x777b91 in _0x5ec589){_0x3af62c[_0x777b91]=_0x5ec589[_0x777b91];}return _0x3af62c;},{});const _0xdc9c19={};_0xdc9c19[_0x3f7f9c(0xaa)]=_0x3ace9c,_0x5712eb[_0x3f7f9c(0x134)]=[Object[_0x3f7f9c(0xe3)]({},_0x360073,_0xdc9c19)];}else{let _0x680c42=0x0;const _0x2051f1=_0x537ec0[_0x3f7f9c(0xf3)](_0x215e9d,_0x537ec0[_0x3f7f9c(0xf7)])?JSON[_0x3f7f9c(0xa2)](_0x5712eb[_0x3f7f9c(0x134)]):_0x5712eb[_0x3f7f9c(0x134)],_0x5c72d4=Object[_0x3f7f9c(0x115)](_0x2051f1);_0x5c72d4[_0x3f7f9c(0xe8)](_0x5e7b7c=>{const _0x7725b0=_0x3f7f9c;if(_0x537ec0[_0x7725b0(0xd2)](typeof _0x5e7b7c,_0x537ec0['tWHUt'])){const _0x33fb01=Object[_0x7725b0(0x115)](_0x5e7b7c);!_0x33fb01['every'](_0x3b1a7b=>_0x3b1a7b===null||_0x3b1a7b===undefined||_0x3b1a7b==='')&&(_0x680c42+=0x1);}});if(_0x537ec0[_0x3f7f9c(0xfd)](_0x680c42,0x0))delete _0x5712eb[_0x537ec0['xPZiP']];else{const _0x5809df=[];Object[_0x3f7f9c(0x12d)](_0x2051f1)['forEach'](_0x51037f=>{const _0x273241=_0x3f7f9c,_0x3a37fa={'nMteW':function(_0x24cfef,_0x1c2053){return _0x537ec0['lhAOJ'](_0x24cfef,_0x1c2053);}},[_0x5bdcf6,_0x526f9c,_0x2f47f0,_0x36b00e]=_0x51037f[_0x273241(0xf9)](',\x20');let _0x186047={};if(!_0x36b00e){const _0x269eb4={};_0x269eb4[_0x273241(0xc6)]=_0x5bdcf6,_0x269eb4[_0x273241(0x102)]=_0x526f9c,_0x269eb4[_0x273241(0x104)]=_0x2f47f0,_0x186047=_0x269eb4;}else{const _0x5027d7={};_0x5027d7['os']=_0x5bdcf6,_0x5027d7[_0x273241(0x102)]=_0x526f9c,_0x5027d7[_0x273241(0x104)]=_0x2f47f0,_0x5027d7[_0x273241(0x128)]=_0x36b00e,_0x186047=_0x5027d7;}const _0x86abe5={},_0x48a5e0=_0x2051f1[_0x51037f];Object[_0x273241(0x12d)](_0x48a5e0)[_0x273241(0xe8)](_0x13b8f8=>{const _0x561be5=_0x273241;_0x3a37fa['nMteW'](_0x48a5e0[_0x13b8f8][_0x561be5(0x10e)],0x0)&&(_0x86abe5[_0x13b8f8]=_0x48a5e0[_0x13b8f8]);}),_0x537ec0[_0x273241(0x126)](Object[_0x273241(0x12d)](_0x86abe5)[_0x273241(0x10e)],0x0)&&(_0x186047[_0x537ec0['crCOS']]=_0x86abe5,_0x5809df['push'](_0x186047));}),_0x537ec0[_0x3f7f9c(0x126)](_0x5809df['length'],0x0)?_0x5712eb['error']=_0x5809df:delete _0x5712eb[_0x537ec0['xPZiP']];}}}}catch(_0x223ca7){delete _0x5712eb[_0x537ec0[_0x3f7f9c(0xb6)]],logger[_0x3f7f9c(0x116)](_0x537ec0[_0x3f7f9c(0xf2)](_0x537ec0[_0x3f7f9c(0xac)],_0x223ca7));}const _0xaa4df7=helper['getTestFrameworkDetails'](_0x1b19c5,_0x1b19c5[_0x3f7f9c(0xd6)]),_0x4a26c8={'userName':helper['getUserName'](_0x1b19c5),'accessKey':helper[_0x3f7f9c(0x136)](_0x1b19c5),'event_type':_0x4365a1,'detectedFramework':_0x215e9d,'buildHashedId':globals[_0x3f7f9c(0xe9)](_0x537ec0[_0x3f7f9c(0xf8)]),'optimalHubUrl':helper[_0x3f7f9c(0x10d)](),'event_properties':{'testhub_uuid':process[_0x3f7f9c(0xb4)][testHubConstants[_0x3f7f9c(0x111)][_0x3f7f9c(0xe6)]]||'','sdkRunId':global[_0x3f7f9c(0x100)],'product_map':_0x537ec0[_0x3f7f9c(0xbe)](getProductMap,_0x1b19c5),'productMap':_0x537ec0[_0x3f7f9c(0xbe)](getProductMap,_0x1b19c5),'language_framework':_0x1b19c5[_0x3f7f9c(0x110)]||_0x537ec0[_0x3f7f9c(0x12f)],'referrer':helper[_0x3f7f9c(0x119)](_0x215e9d),'framework':_0x1b19c5[_0x3f7f9c(0xd6)],'frameworkVersion':helper['getFrameworkVersion'](_0x215e9d),'automationFramework':_0xaa4df7[_0x3f7f9c(0xc0)],'automationFrameworkVersion':_0xaa4df7[_0x3f7f9c(0xd4)],'language':_0x537ec0['CRJVj'],'languageVersion':process[_0x3f7f9c(0xd4)],'product':_0x157296,'buildName':_0x1b19c5[_0x3f7f9c(0xc4)]||_0x537ec0[_0x3f7f9c(0x10b)],'buildIdentifier':_0x1b2958,'os':os[_0x3f7f9c(0xaf)]()||_0x537ec0[_0x3f7f9c(0x12f)],'hostname':os[_0x3f7f9c(0x101)]()||_0x537ec0[_0x3f7f9c(0x12f)],..._0x5712eb,'isCLIEnabled':_0xeddc5f}};try{_0x537ec0[_0x3f7f9c(0xdb)](_0x4365a1,_0x537ec0[_0x3f7f9c(0xfb)])&&(_0x4a26c8[_0x3f7f9c(0xe2)][_0x3f7f9c(0xe5)]=helper[_0x3f7f9c(0x12e)](_0x1b19c5)),_0x537ec0[_0x3f7f9c(0xdb)](_0x215e9d,_0x537ec0[_0x3f7f9c(0xf7)])?_0x4a26c8[_0x3f7f9c(0xe2)][_0x3f7f9c(0x131)]=helper[_0x3f7f9c(0x105)][_0x3f7f9c(0xb7)](null,_0x537ec0['jXfjB'](getTransformPath),!![]):_0x4a26c8[_0x3f7f9c(0xe2)][_0x3f7f9c(0x121)]=helper[_0x3f7f9c(0x113)](_0x537ec0[_0x3f7f9c(0x127)]);}catch(_0x3e1800){logger['debug'](_0x3f7f9c(0xc1)+_0x3e1800);}const _0x4e825a={};_0x4e825a[_0x3f7f9c(0xa6)]=_0x537ec0[_0x3f7f9c(0xd0)];const _0x12f718={'headers':_0x4e825a,'body':_0x4a26c8,'auth':{'user':helper['getUserName'](_0x1b19c5),'pass':helper[_0x3f7f9c(0x136)](_0x1b19c5)},'json':!![]};logger['debug']('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON[_0x3f7f9c(0xc8)](_0x12f718[_0x3f7f9c(0xe0)])[_0x3f7f9c(0xc3)](new RegExp(helper[_0x3f7f9c(0xbb)](_0x1b19c5),'g'),_0x537ec0[_0x3f7f9c(0xc7)])[_0x3f7f9c(0xc3)](new RegExp(helper[_0x3f7f9c(0x136)](_0x1b19c5),'g'),_0x537ec0[_0x3f7f9c(0xc7)]));try{const _0x1e94d2=await helper[_0x3f7f9c(0xe4)](_0x537ec0[_0x3f7f9c(0xee)],FUNNEL_INSTRUMENTATION_API_URL,_0x12f718,_0x1b19c5);logger[_0x3f7f9c(0x116)](_0x3f7f9c(0xbc)+_0x4365a1+'\x20response\x20-\x20'+util[_0x3f7f9c(0xba)]('%j',_0x1e94d2));}catch(_0x59b8b4){logger[_0x3f7f9c(0x116)](_0x3f7f9c(0xbf)+FUNNEL_INSTRUMENTATION_API_URL+'\x20:\x20'+util[_0x3f7f9c(0xba)](_0x59b8b4));}},exports['finalExecution']=async(_0x6afd30,_0x286d13=![])=>{const _0x2524fd=a172_0x2c5cd8,_0x2ef8cd={'GQmyr':function(_0x4bd50e){return _0x4bd50e();},'KKLFk':'_hubAllocationData','UIkko':_0x2524fd(0xd9),'dLbef':'user_killed','JzWKM':'SDKTestSuccessful','sUILL':function(_0xb8ee71,_0x3c5080,_0x19b43c){return _0xb8ee71(_0x3c5080,_0x19b43c);},'zkLVQ':function(_0x50a726,_0x44a4fd){return _0x50a726+_0x44a4fd;},'TTzun':_0x2524fd(0xb0)};if(_0x6afd30[_0x2524fd(0xdd)])return;_0x6afd30[_0x2524fd(0xdd)]=!![];try{await _0x6afd30['stopPercy'](),_0x2ef8cd[_0x2524fd(0xca)](printNudgeLocalNotSetError);const _0x1c46dc={};_0x1c46dc[_0x2524fd(0x134)]=_0x6afd30[_0x2524fd(0xef)]?_0x6afd30[_0x2524fd(0xef)]:'{}';const _0x483da2=_0x1c46dc,_0x32e233=Object['assign']({},_0x483da2),_0x5c55a9=globals[_0x2524fd(0xe9)](_0x2ef8cd[_0x2524fd(0xd1)]);_0x5c55a9&&(_0x32e233[_0x2524fd(0xf0)]=_0x5c55a9);!!_0x6afd30[_0x2524fd(0x107)]&&(_0x32e233[_0x2ef8cd[_0x2524fd(0xd5)]]={'reason':_0x2ef8cd[_0x2524fd(0xf6)],'signal':_0x6afd30['killSignal']});unhandledErrors=_0x6afd30[_0x2524fd(0x112)]['join']('\x0a');let _0x4a2261,_0x521734,_0x25d486;helper['isTurboScaleSession'](_0x6afd30['config'])?([_0x4a2261,_0x521734]=await helper[_0x2524fd(0x106)](_0x6afd30[_0x2524fd(0xf5)]),[_0x25d486]=await Promise[_0x2524fd(0xb8)]([helper[_0x2524fd(0x109)](_0x4a2261,_0x6afd30[_0x2524fd(0xf5)]),exports[_0x2524fd(0x129)](_0x2ef8cd['JzWKM'],_0x32e233,_0x6afd30[_0x2524fd(0xf5)],_0x6afd30['framework'],_0x286d13)])):([_0x4a2261,_0x521734]=await helper[_0x2524fd(0xb5)](_0x6afd30[_0x2524fd(0xf5)]),[_0x25d486]=await Promise[_0x2524fd(0xb8)]([helper[_0x2524fd(0x11e)](_0x4a2261,_0x6afd30[_0x2524fd(0xf5)]),exports[_0x2524fd(0x129)](_0x2ef8cd[_0x2524fd(0xd8)],_0x32e233,_0x6afd30[_0x2524fd(0xf5)],_0x6afd30[_0x2524fd(0xd6)],_0x286d13)])),_0x25d486&&await _0x2ef8cd[_0x2524fd(0xeb)](generateCIArtifacts,_0x25d486,_0x521734),logger[_0x2524fd(0xcb)](_0x2524fd(0xb3)+_0x6afd30['sdkRunId']+_0x2524fd(0x130)+process['env']['BROWSERSTACK_TESTHUB_UUID']),await helper['sendLogs'](_0x6afd30[_0x2524fd(0xf5)]);}catch(_0x282d0b){logger[_0x2524fd(0x116)](_0x2ef8cd[_0x2524fd(0xd7)](_0x2ef8cd[_0x2524fd(0xc5)],_0x282d0b));}helper['notifyUpdate']();},exports[a172_0x2c5cd8(0xfa)]=_0x23f2f9=>{const _0x5483a6=a172_0x2c5cd8,_0x365457={'RnHGP':function(_0x15db37,_0xd3e5d4){return _0x15db37 instanceof _0xd3e5d4;},'KdWRV':function(_0x4011b3,_0x18114c){return _0x4011b3(_0x18114c);}};try{if(_0x365457[_0x5483a6(0x11d)](_0x23f2f9,Error))return _0x23f2f9[_0x5483a6(0x135)]||_0x23f2f9[_0x5483a6(0xa9)]();return _0x365457[_0x5483a6(0xc9)](String,_0x23f2f9);}catch(_0x3e40d8){return _0x23f2f9?_0x23f2f9['toString']():'';}},exports[a172_0x2c5cd8(0x122)]=_0x9ffcd3=>{const _0x3d77e9=a172_0x2c5cd8,_0x4453ed={};_0x4453ed[_0x3d77e9(0xa7)]=function(_0x5b4d47,_0x2ae3f6){return _0x5b4d47===_0x2ae3f6;};const _0x4c6a94=_0x4453ed;return!_0x9ffcd3||_0x4c6a94[_0x3d77e9(0xa7)](_0x9ffcd3[_0x3d77e9(0x124)](),'');},exports[a172_0x2c5cd8(0xb9)]=_0x4113cf=>{const _0x585ded=a172_0x2c5cd8,_0x45ffd4={};_0x45ffd4['pAEjO']=function(_0x8aa6f7,_0x45f84c){return _0x8aa6f7|_0x45f84c;};const _0x587bc5=_0x45ffd4;try{return fs[_0x585ded(0xa8)](_0x4113cf,_0x587bc5[_0x585ded(0xe1)](fs[_0x585ded(0xde)][_0x585ded(0x12b)],fs[_0x585ded(0xde)][_0x585ded(0x11c)])),!![];}catch(_0x47cd84){return![];}},exports[a172_0x2c5cd8(0x114)]=_0x2a161c=>{const _0x5c74f1=a172_0x2c5cd8;try{fs[_0x5c74f1(0x108)](_0x2a161c,0x1ff),logger['debug'](_0x5c74f1(0xf1)+_0x2a161c+_0x5c74f1(0xed));}catch(_0x5727e1){logger[_0x5c74f1(0x134)](_0x5c74f1(0x12c)+exports[_0x5c74f1(0xfa)](_0x5727e1));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a173_0x71ca(){var _0xe5805e=['kjKkX','VxGxs','browserstack.localIdentifier','tpjBx','browserstack.customNetwork','deviceName','99TDoZHQ','HiNuy','125QxSDIX','utAXA','geoLocation','maskBasicAuth','bqrxN','accessKey','local','324280skVCum','RcSFX','bfcache','browserstack.simOptions','browserstack.overridelocalInfo.localIdentifier','RIkqb','MFwUf','browserVersion','browserstack.bfcache','browserstack.networkProfile','hosts','CnZjZ','browserstack.networkLogsOptions','fkSlB','YhevU','browserstack.testhubBuildUuid','testhubBuildUuid','ujpTY','browserstackSDK','lOyEC','browserstack.wsLocalSupport','browser_version','accessibility','seleniumLogs','KeLnF','PlAqS','browserstack.accessibilityOptions.includeIssueType.bestPractice','performance','browserstack.seleniumLogs','browserstack.timezone','nkbPW','oAICf','browserstack.use_w3c','bvnhI','projectName','84GqUDgN','SdClE','4860ukrwsi','nqOiF','disableCorsRestrictions','BfczU','browser','6622Lwkswy','deviceOrientation','browserstack.video','browserstack.idleTimeout','video','ztMTZ','overridelocalInfo.userAuthToken','EBttR','name','14680PVGMZV','jhyap','iJjJs','25rUxCqc','realMobile','accessibilityOptions.includeIssueType.bestPractice','nhELn','HiIvD','3390585ajtAhl','browserstack.console','sqilK','accessibilityOptions.scannerVersion','customNetwork','238252SIMIvH','enableSim','qwAja','tiLEO','ryGey','userName','resolution','browserstack.accessibilityOptions.scannerVersion','playwrightVersion','W3CMapping','consoleLogs','xuEIm','755729QJAkXS','AZpRa','nIsvk','appiumVersion','IsImt','WTqFc','browserstack.debug','nzAnx','browserstack.accessibilityOptions.wcagVersion','84pAmAFe','LGiDQ','timezone','browserstack.local','browserstack.browserstackSDK','osVersion','zKnLj','geHcV','browserstack.appium_version','LLIoW','accessibilityOptions.scannerProcessingTimeout','JVsdO','networkLogs','browserstack.performance','NwMNJ','DnIbx','axdeB','zMheq','29590IhlXoK','browserstack.uploadMedia','FXyjd','networkLogsOptions','browserstack.appiumLogs','zesYO','SPYkr','uploadMedia','browserstack.maskBasicAuth','FrJfD','seleniumVersion','os_version','idleTimeout','browserstack.buildIdentifier','browserstack.playwrightVersion','asGoZ','telemetryLogs','browserstack.telemetryLogs','browserstack.networkLogs','autoWait','kREBV','browserstack.accessibilityOptions.includeIssueType.needsReview','localIdentifier','SLxFB','useW3c','accessibilityOptions.includeIssueType.needsReview','browserstack.key','accessibilityOptions.authToken','browserstack.maskCommands','build','networkProfile','maskCommands','sessionName'];a173_0x71ca=function(){return _0xe5805e;};return a173_0x71ca();}function a173_0x4f42(_0x288c71,_0x3ba471){var _0x71caa=a173_0x71ca();return a173_0x4f42=function(_0x4f4270,_0x438fd7){_0x4f4270=_0x4f4270-0x1ec;var _0x453258=_0x71caa[_0x4f4270];return _0x453258;},a173_0x4f42(_0x288c71,_0x3ba471);}var a173_0xbf9574=a173_0x4f42;(function(_0x439e00,_0x2eb23d){var _0x117b01=a173_0x4f42,_0x2ea78c=_0x439e00();while(!![]){try{var _0xd4565c=-parseInt(_0x117b01(0x1f7))/0x1*(parseInt(_0x117b01(0x228))/0x2)+parseInt(_0x117b01(0x1fc))/0x3+parseInt(_0x117b01(0x1f4))/0x4*(-parseInt(_0x117b01(0x251))/0x5)+parseInt(_0x117b01(0x27b))/0x6*(-parseInt(_0x117b01(0x201))/0x7)+parseInt(_0x117b01(0x258))/0x8*(parseInt(_0x117b01(0x24f))/0x9)+-parseInt(_0x117b01(0x27d))/0xa*(parseInt(_0x117b01(0x282))/0xb)+parseInt(_0x117b01(0x216))/0xc*(parseInt(_0x117b01(0x20d))/0xd);if(_0xd4565c===_0x2eb23d)break;else _0x2ea78c['push'](_0x2ea78c['shift']());}catch(_0x34a8d4){_0x2ea78c['push'](_0x2ea78c['shift']());}}}(a173_0x71ca,0xb7ab6),exports[a173_0xbf9574(0x20a)]=()=>{var _0x24c4d1=a173_0xbf9574,_0x58ce53={};_0x58ce53[_0x24c4d1(0x226)]=_0x24c4d1(0x206),_0x58ce53['kREBV']=_0x24c4d1(0x256),_0x58ce53[_0x24c4d1(0x249)]=_0x24c4d1(0x21b),_0x58ce53[_0x24c4d1(0x276)]=_0x24c4d1(0x281),_0x58ce53[_0x24c4d1(0x23f)]=_0x24c4d1(0x25f),_0x58ce53[_0x24c4d1(0x1f6)]=_0x24c4d1(0x240),_0x58ce53[_0x24c4d1(0x217)]=_0x24c4d1(0x27a),_0x58ce53['WTqFc']='buildName',_0x58ce53[_0x24c4d1(0x22e)]=_0x24c4d1(0x248),_0x58ce53[_0x24c4d1(0x1fe)]=_0x24c4d1(0x257),_0x58ce53['tiLEO']=_0x24c4d1(0x23e),_0x58ce53[_0x24c4d1(0x25d)]='debug',_0x58ce53[_0x24c4d1(0x1fa)]=_0x24c4d1(0x20b),_0x58ce53[_0x24c4d1(0x203)]=_0x24c4d1(0x222),_0x58ce53['ujpTY']=_0x24c4d1(0x22b),_0x58ce53[_0x24c4d1(0x205)]='appiumLogs',_0x58ce53['FXyjd']=_0x24c4d1(0x1ef),_0x58ce53['KUkea']=_0x24c4d1(0x26f),_0x58ce53[_0x24c4d1(0x26b)]=_0x24c4d1(0x238),_0x58ce53[_0x24c4d1(0x22d)]=_0x24c4d1(0x253),_0x58ce53[_0x24c4d1(0x221)]=_0x24c4d1(0x218),_0x58ce53[_0x24c4d1(0x25e)]='resolution',_0x58ce53[_0x24c4d1(0x211)]=_0x24c4d1(0x232),_0x58ce53['xuEIm']=_0x24c4d1(0x247),_0x58ce53['EBttR']=_0x24c4d1(0x234),_0x58ce53[_0x24c4d1(0x224)]=_0x24c4d1(0x254),_0x58ce53[_0x24c4d1(0x280)]=_0x24c4d1(0x23b),_0x58ce53[_0x24c4d1(0x1f0)]=_0x24c4d1(0x262),_0x58ce53[_0x24c4d1(0x1f5)]=_0x24c4d1(0x25a),_0x58ce53[_0x24c4d1(0x270)]='wsLocalSupport',_0x58ce53[_0x24c4d1(0x24c)]=_0x24c4d1(0x27f),_0x58ce53[_0x24c4d1(0x263)]=_0x24c4d1(0x24e),_0x58ce53[_0x24c4d1(0x27c)]=_0x24c4d1(0x1f8),_0x58ce53['YhevU']=_0x24c4d1(0x210),_0x58ce53[_0x24c4d1(0x227)]=_0x24c4d1(0x1ec),_0x58ce53[_0x24c4d1(0x1fb)]=_0x24c4d1(0x200),_0x58ce53[_0x24c4d1(0x259)]=_0x24c4d1(0x246),_0x58ce53[_0x24c4d1(0x20f)]='buildIdentifier',_0x58ce53[_0x24c4d1(0x24a)]=_0x24c4d1(0x26a),_0x58ce53[_0x24c4d1(0x237)]=_0x24c4d1(0x26e),_0x58ce53[_0x24c4d1(0x231)]='buildProductMap',_0x58ce53['oAICf']=_0x24c4d1(0x268),_0x58ce53['nzAnx']='accessibilityOptions.wcagVersion',_0x58ce53[_0x24c4d1(0x255)]=_0x24c4d1(0x1ff),_0x58ce53['PlAqS']=_0x24c4d1(0x220),_0x58ce53[_0x24c4d1(0x21c)]=_0x24c4d1(0x1f9),_0x58ce53['bvnhI']=_0x24c4d1(0x241),_0x58ce53[_0x24c4d1(0x265)]=_0x24c4d1(0x243),_0x58ce53[_0x24c4d1(0x225)]=_0x24c4d1(0x22f),_0x58ce53[_0x24c4d1(0x250)]=_0x24c4d1(0x202),_0x58ce53['SqQTG']='simOptions',_0x58ce53['nqOiF']=_0x24c4d1(0x209),_0x58ce53['AZpRa']=_0x24c4d1(0x1f1),_0x58ce53[_0x24c4d1(0x252)]='overridelocalInfo.localIdentifier',_0x58ce53[_0x24c4d1(0x21d)]='headerParams',_0x58ce53['LLIoW']=_0x24c4d1(0x273);var _0x3a0a69=_0x58ce53,_0x1b0767={};return _0x1b0767['browserstack.user']=_0x3a0a69[_0x24c4d1(0x226)],_0x1b0767[_0x24c4d1(0x242)]=_0x3a0a69[_0x24c4d1(0x23c)],_0x1b0767['os']='os',_0x1b0767[_0x24c4d1(0x233)]=_0x3a0a69[_0x24c4d1(0x249)],_0x1b0767['browser']=_0x3a0a69[_0x24c4d1(0x276)],_0x1b0767[_0x24c4d1(0x26d)]=_0x3a0a69[_0x24c4d1(0x23f)],_0x1b0767[_0x24c4d1(0x278)]=_0x3a0a69['iJjJs'],_0x1b0767['project']=_0x3a0a69[_0x24c4d1(0x217)],_0x1b0767[_0x24c4d1(0x245)]=_0x3a0a69[_0x24c4d1(0x212)],_0x1b0767[_0x24c4d1(0x1f3)]=_0x3a0a69[_0x24c4d1(0x22e)],_0x1b0767[_0x24c4d1(0x219)]=_0x3a0a69[_0x24c4d1(0x1fe)],_0x1b0767[_0x24c4d1(0x24b)]=_0x3a0a69[_0x24c4d1(0x204)],_0x1b0767[_0x24c4d1(0x213)]=_0x3a0a69[_0x24c4d1(0x25d)],_0x1b0767[_0x24c4d1(0x1fd)]=_0x3a0a69[_0x24c4d1(0x1fa)],_0x1b0767[_0x24c4d1(0x23a)]=_0x3a0a69[_0x24c4d1(0x203)],_0x1b0767[_0x24c4d1(0x264)]=_0x3a0a69[_0x24c4d1(0x269)],_0x1b0767[_0x24c4d1(0x22c)]=_0x3a0a69['ryGey'],_0x1b0767[_0x24c4d1(0x1ed)]=_0x3a0a69[_0x24c4d1(0x22a)],_0x1b0767[_0x24c4d1(0x274)]=_0x3a0a69['KUkea'],_0x1b0767[_0x24c4d1(0x239)]=_0x3a0a69['lOyEC'],_0x1b0767['browserstack.geoLocation']=_0x3a0a69[_0x24c4d1(0x22d)],_0x1b0767[_0x24c4d1(0x275)]=_0x3a0a69[_0x24c4d1(0x221)],_0x1b0767[_0x24c4d1(0x207)]=_0x3a0a69[_0x24c4d1(0x25e)],_0x1b0767['browserstack.selenium_version']=_0x3a0a69[_0x24c4d1(0x211)],_0x1b0767[_0x24c4d1(0x244)]=_0x3a0a69[_0x24c4d1(0x20c)],_0x1b0767[_0x24c4d1(0x1ee)]=_0x3a0a69[_0x24c4d1(0x1f2)],_0x1b0767[_0x24c4d1(0x230)]=_0x3a0a69['NwMNJ'],_0x1b0767['browserstack.autoWait']=_0x3a0a69[_0x24c4d1(0x280)],_0x1b0767['browserstack.hosts']=_0x3a0a69['ztMTZ'],_0x1b0767[_0x24c4d1(0x260)]=_0x3a0a69[_0x24c4d1(0x1f5)],_0x1b0767[_0x24c4d1(0x26c)]=_0x3a0a69['KeLnF'],_0x1b0767['browserstack.disableCorsRestrictions']=_0x3a0a69['tpjBx'],_0x1b0767['device']=_0x3a0a69['CnZjZ'],_0x1b0767[_0x24c4d1(0x1f8)]=_0x3a0a69[_0x24c4d1(0x27c)],_0x1b0767[_0x24c4d1(0x21e)]=_0x3a0a69[_0x24c4d1(0x266)],_0x1b0767['deviceOrientation']=_0x3a0a69[_0x24c4d1(0x227)],_0x1b0767[_0x24c4d1(0x24d)]=_0x3a0a69[_0x24c4d1(0x1fb)],_0x1b0767[_0x24c4d1(0x261)]=_0x3a0a69[_0x24c4d1(0x259)],_0x1b0767[_0x24c4d1(0x235)]=_0x3a0a69['nIsvk'],_0x1b0767[_0x24c4d1(0x21a)]=_0x3a0a69[_0x24c4d1(0x24a)],_0x1b0767['browserstack.accessibility']=_0x3a0a69[_0x24c4d1(0x237)],_0x1b0767['browserstack.buildProductMap']=_0x3a0a69[_0x24c4d1(0x231)],_0x1b0767[_0x24c4d1(0x267)]=_0x3a0a69[_0x24c4d1(0x277)],_0x1b0767[_0x24c4d1(0x215)]=_0x3a0a69[_0x24c4d1(0x214)],_0x1b0767[_0x24c4d1(0x208)]=_0x3a0a69['bqrxN'],_0x1b0767['browserstack.accessibilityOptions.scannerProcessingTimeout']=_0x3a0a69[_0x24c4d1(0x271)],_0x1b0767[_0x24c4d1(0x272)]=_0x3a0a69['zKnLj'],_0x1b0767[_0x24c4d1(0x23d)]=_0x3a0a69[_0x24c4d1(0x279)],_0x1b0767['browserstack.accessibilityOptions.authToken']=_0x3a0a69[_0x24c4d1(0x265)],_0x1b0767[_0x24c4d1(0x229)]=_0x3a0a69['DnIbx'],_0x1b0767['browserstack.enableSim']=_0x3a0a69[_0x24c4d1(0x250)],_0x1b0767[_0x24c4d1(0x25b)]=_0x3a0a69['SqQTG'],_0x1b0767[_0x24c4d1(0x236)]=_0x3a0a69[_0x24c4d1(0x27e)],_0x1b0767['browserstack.overridelocalInfo.userAuthToken']=_0x3a0a69[_0x24c4d1(0x20e)],_0x1b0767[_0x24c4d1(0x25c)]=_0x3a0a69['utAXA'],_0x1b0767['browserstack.headerParams']=_0x3a0a69[_0x24c4d1(0x21d)],_0x1b0767[_0x24c4d1(0x223)]=_0x3a0a69[_0x24c4d1(0x21f)],_0x1b0767;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a174_0x4af2eb=a174_0x255c;function a174_0x33d7(){const _0x5bd9f2=['uxkSG','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','hubs','skipped','path','vHWCv','catch','./bin/utils/constants','resolve','HUB\x20URL\x20SET\x20TO\x20-\x20','KeGnj','hdfQP','nextHubs','YNpdp','PguTc','latency','hubLatencies','Lwskm','UJlgo','check','status','3213016PPQgth','1146581dscpEL','AyNRb','DgRtF','fELFE','Invalid\x20new\x20HUB\x20URL:\x20','rRebx','/wd/hub','tCQDR','hubUrl','2097aSoyPO','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','FXPIU','get','winstonLogger','xRCMP','pLgZk','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','JJFya','vGdfT','./helpers/globals','BISxI','./helpers/helper','mJatb','newHubUrlBySession','findLatency','set','delete','data','replace','eBWzu','VgBcK','DBIiV','setGlobal','wSYaS','FWmNf','eoQvw','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','AHsQb','https://','89310YEKLJV','format','pathname','DuviQ','./helpers/logger','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','IpPxU','has','allocateHub','search','4820580AIPpLX','CvRzo','value','zNdcn','bxEDG','\x20is:\x20','hubRegion\x20','debug','url','all','then','Response:\x20','ciCfB','OUVOH','util','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','FZgoJ','map','updateHubUrl','oXDbi','3eViABh','ptsEi','now','UPkRq','_hubAllocationData','parse','3926538qmBovF','xEjzT','2rlnRJf','hash','VaMhH','4914750iGQtnA','DsGMe','hubRegion','nodeRequest','GET','miQlV','7786448MNBPYT'];a174_0x33d7=function(){return _0x5bd9f2;};return a174_0x33d7();}(function(_0xfa54b8,_0x5c4851){const _0x326741=a174_0x255c,_0x5cfae3=_0xfa54b8();while(!![]){try{const _0x3efe14=parseInt(_0x326741(0x10f))/0x1*(parseInt(_0x326741(0xef))/0x2)+parseInt(_0x326741(0xe7))/0x3*(parseInt(_0x326741(0x10e))/0x4)+-parseInt(_0x326741(0xf2))/0x5+-parseInt(_0x326741(0xd3))/0x6+-parseInt(_0x326741(0xed))/0x7+-parseInt(_0x326741(0xf8))/0x8+parseInt(_0x326741(0x118))/0x9*(parseInt(_0x326741(0xc9))/0xa);if(_0x3efe14===_0x5c4851)break;else _0x5cfae3['push'](_0x5cfae3['shift']());}catch(_0xe946b5){_0x5cfae3['push'](_0x5cfae3['shift']());}}}(a174_0x33d7,0xad5fa));function a174_0x255c(_0x32e8ce,_0x2aa167){const _0x33d7cb=a174_0x33d7();return a174_0x255c=function(_0x255cde,_0x24374b){_0x255cde=_0x255cde-0xae;let _0x21147e=_0x33d7cb[_0x255cde];return _0x21147e;},a174_0x255c(_0x32e8ce,_0x2aa167);}const url=require(a174_0x4af2eb(0xdb)),util=require(a174_0x4af2eb(0xe1)),helper=require(a174_0x4af2eb(0xb7)),logger=require(a174_0x4af2eb(0xcd))[a174_0x4af2eb(0xae)],constants=require(a174_0x4af2eb(0x100)),globals=require(a174_0x4af2eb(0xb5));global[a174_0x4af2eb(0xb9)]=global[a174_0x4af2eb(0xb9)]||new Map(),exports['getRequestOptions']=_0xa862fb=>{const _0x211391=a174_0x4af2eb,_0x2d7f91={};_0x2d7f91['UJlgo']=function(_0x2de2cb,_0x1c3817){return _0x2de2cb+_0x1c3817;},_0x2d7f91[_0x211391(0xe8)]=_0x211391(0x113);const _0x22d888=_0x2d7f91,_0x281d84=url[_0x211391(0xec)](_0xa862fb);if(!_0x281d84['hostname'])throw new Error(_0x22d888[_0x211391(0x10b)](_0x22d888[_0x211391(0xe8)],_0xa862fb));return _0x281d84[_0x211391(0xd2)]=null,_0x281d84[_0x211391(0xf0)]=null,_0x281d84[_0x211391(0xfd)]=_0x281d84[_0x211391(0xcb)],_0x281d84;},exports[a174_0x4af2eb(0xe5)]=(_0x40e21d,_0x22e3f4)=>{const _0x54fb72=a174_0x4af2eb,_0x3d540e={};_0x3d540e[_0x54fb72(0x114)]='updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting';const _0x284c0f=_0x3d540e;if(!_0x22e3f4){logger[_0x54fb72(0xda)](_0x284c0f[_0x54fb72(0x114)]);return;}global[_0x54fb72(0xb9)][_0x54fb72(0xbb)](_0x22e3f4,_0x40e21d);},exports['consumeHubUrlForSession']=_0x2d95d9=>{const _0x32b7c1=a174_0x4af2eb;if(_0x2d95d9&&global['newHubUrlBySession'][_0x32b7c1(0xd0)](_0x2d95d9)){const _0x391d29=global[_0x32b7c1(0xb9)][_0x32b7c1(0x11b)](_0x2d95d9);return global[_0x32b7c1(0xb9)][_0x32b7c1(0xbc)](_0x2d95d9),_0x391d29;}return'';},exports[a174_0x4af2eb(0xd1)]=_0x6a1745=>{const _0x44c3c6=a174_0x4af2eb,_0x496efc={'eoQvw':_0x44c3c6(0xeb),'eBWzu':function(_0xa11771,_0x22c9a1){return _0xa11771===_0x22c9a1;},'AyNRb':'fulfilled','rHErW':_0x44c3c6(0x119),'tCQDR':function(_0x1c3ed6,_0x54eaf6){return _0x1c3ed6+_0x54eaf6;},'VaMhH':'https://','OUVOH':function(_0x326e79,_0x4ad51a){return _0x326e79+_0x4ad51a;},'VgBcK':'/wd/hub','DuviQ':function(_0x3d6815){return _0x3d6815();},'miQlV':function(_0x4cbfd4,_0x440b89){return _0x4cbfd4+_0x440b89;},'FZgoJ':function(_0x3dc6ba){return _0x3dc6ba();},'uxkSG':function(_0x5f3f54,_0x213584){return _0x5f3f54==_0x213584;},'FXPIU':function(_0x381712,_0x29a64a){return _0x381712===_0x29a64a;},'fELFE':function(_0x2ceb64,_0x2940bf){return _0x2ceb64!==_0x2940bf;},'oXDbi':function(_0x36752c,_0x750d25){return _0x36752c+_0x750d25;}};return new Promise(_0x5f0ed5=>{const _0x9ef778=_0x44c3c6,_0x41e521={'YNpdp':function(_0x36aa0f,_0x8ee96d){const _0x3f13fd=a174_0x255c;return _0x496efc[_0x3f13fd(0x112)](_0x36aa0f,_0x8ee96d);},'wSYaS':function(_0x40358c,_0x5295a4){const _0x7b3de=a174_0x255c;return _0x496efc[_0x7b3de(0xe6)](_0x40358c,_0x5295a4);},'CvRzo':_0x496efc[_0x9ef778(0xf1)],'pLgZk':function(_0x2d2d20){const _0x11f2d7=_0x9ef778;return _0x496efc[_0x11f2d7(0xcc)](_0x2d2d20);}};if(_0x6a1745&&_0x6a1745[_0x9ef778(0xf4)]){const _0x42ebb7=constants['HUB_URL_MAP'][_0x6a1745['hubRegion']];if(_0x42ebb7)return constants[_0x9ef778(0x117)]=_0x42ebb7,logger['debug'](_0x9ef778(0xc6)+_0x42ebb7),globals['setGlobal'](_0x496efc[_0x9ef778(0xc5)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x42ebb7[_0x9ef778(0xbe)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x9ef778(0xe9)]()}),_0x496efc[_0x9ef778(0xcc)](_0x5f0ed5);logger[_0x9ef778(0xda)](_0x9ef778(0xd9)+_0x6a1745[_0x9ef778(0xf4)]+_0x9ef778(0xfa));}Promise[_0x9ef778(0x101)](this[_0x9ef778(0x105)](_0x6a1745))[_0x9ef778(0xdd)](_0xddd8cc=>{const _0xfa30c6=_0x9ef778,_0x35186c={'DsGMe':_0x496efc['eoQvw'],'vCJne':function(_0x596e6d,_0x54fe80){const _0xedcf12=a174_0x255c;return _0x496efc[_0xedcf12(0xbf)](_0x596e6d,_0x54fe80);},'KeGnj':_0x496efc[_0xfa30c6(0x110)],'DgRtF':_0x496efc['rHErW'],'vGdfT':function(_0x4bb1cc,_0x5b906a){const _0x128e9b=_0xfa30c6;return _0x496efc[_0x128e9b(0x116)](_0x4bb1cc,_0x5b906a);},'GnHCV':_0x496efc[_0xfa30c6(0xf1)],'zNdcn':function(_0x539e9a,_0x4a4986){const _0x48289b=_0xfa30c6;return _0x496efc[_0x48289b(0xe0)](_0x539e9a,_0x4a4986);},'hdfQP':_0x496efc[_0xfa30c6(0xc0)],'ciCfB':function(_0x131933){const _0x1a75e7=_0xfa30c6;return _0x496efc[_0x1a75e7(0xcc)](_0x131933);},'AHsQb':function(_0x174cf3,_0x45fdc2){const _0x3e8b45=_0xfa30c6;return _0x496efc[_0x3e8b45(0xf7)](_0x174cf3,_0x45fdc2);},'yoLsv':function(_0x28a1cf){const _0x3cf386=_0xfa30c6;return _0x496efc[_0x3cf386(0xcc)](_0x28a1cf);},'PguTc':function(_0x1f6da1){const _0x239445=_0xfa30c6;return _0x496efc[_0x239445(0xe3)](_0x1f6da1);}};logger[_0xfa30c6(0xda)]('NEAREST\x20HUBS\x20LIST:\x20'+util['format']('%j',_0xddd8cc));if(_0x496efc[_0xfa30c6(0xf9)](_0xddd8cc,null)||_0x496efc[_0xfa30c6(0x11a)](_0xddd8cc['length'],0x0))return _0x496efc[_0xfa30c6(0xcc)](_0x5f0ed5);const _0x3239b4=_0xddd8cc[_0xfa30c6(0xe4)](_0x4e000d=>{const _0x2f50a8=_0xfa30c6,_0x26db2d={'xRCMP':function(_0x58ec63,_0xde90ee){const _0x21fd54=a174_0x255c;return _0x41e521[_0x21fd54(0x106)](_0x58ec63,_0xde90ee);}},_0x28b573=_0x41e521[_0x2f50a8(0xc3)](_0x41e521[_0x2f50a8(0xd4)],_0x4e000d);return this[_0x2f50a8(0xba)](_0x6a1745,_0x28b573)['then'](_0x11dad9=>{const _0xfafb=_0x2f50a8;if(_0x11dad9&&_0x11dad9[_0xfafb(0x117)]&&_0x26db2d[_0xfafb(0xaf)](_0x11dad9[_0xfafb(0x108)],undefined)){const _0x157d31={};return _0x157d31[_0xfafb(0x117)]=_0x11dad9[_0xfafb(0x117)],_0x157d31[_0xfafb(0x108)]=_0x11dad9[_0xfafb(0x108)],_0x157d31['ok']=!![],_0x157d31;}const _0x2247f2={};return _0x2247f2['hubUrl']=_0x28b573,_0x2247f2['latency']=null,_0x2247f2['ok']=![],_0x2247f2;})[_0x2f50a8(0xff)](()=>({'hubUrl':_0x28b573,'latency':null,'ok':![]}));});Promise['race'](_0x3239b4[_0xfa30c6(0xe4)](_0x3ba3d0=>_0x3ba3d0[_0xfa30c6(0xdd)](_0x4145b0=>_0x4145b0['ok']?_0x4145b0:null)))['then'](_0x4ba5de=>{const _0x5ba6fd=_0xfa30c6;if(_0x4ba5de)return _0x4ba5de;return Promise[_0x5ba6fd(0xdc)](_0x3239b4)[_0x5ba6fd(0xdd)](()=>null);})[_0xfa30c6(0xdd)](_0x5d4b33=>{const _0x140668=_0xfa30c6,_0x3634d0={'JJFya':_0x35186c[_0x140668(0xf3)],'vHWCv':function(_0x4d8f7d,_0x3793e8){return _0x35186c['vCJne'](_0x4d8f7d,_0x3793e8);},'DBIiV':_0x35186c[_0x140668(0x103)]};if(!_0x5d4b33){logger[_0x140668(0xda)](_0x35186c[_0x140668(0x111)]);const _0x4f8b16=_0x35186c[_0x140668(0xb4)](_0x35186c['GnHCV'],_0xddd8cc[0x0]);return globals[_0x140668(0xc2)](_0x35186c[_0x140668(0xf3)],{'nearestHubs':_0xddd8cc[_0x140668(0xe4)](_0x196614=>_0x140668(0xc8)+_0x196614),'hubLatencies':{},'selectedHub':_0x4f8b16,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x140668(0xe9)]()}),constants[_0x140668(0x117)]=_0x35186c[_0x140668(0xd6)](_0x4f8b16,_0x35186c[_0x140668(0x104)]),logger[_0x140668(0xda)]('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0x4f8b16),_0x35186c[_0x140668(0xdf)](_0x5f0ed5);}const _0x11bcb2={[_0x5d4b33[_0x140668(0x117)]]:_0x5d4b33[_0x140668(0x108)]},_0xaca05c={'nearestHubs':_0xddd8cc['map'](_0x25777a=>_0x140668(0xc8)+_0x25777a),'hubLatencies':_0x11bcb2,'selectedHub':_0x5d4b33[_0x140668(0x117)],'selectedHubLatency':_0x5d4b33['latency'],'timestamp':Date[_0x140668(0xe9)]()};globals[_0x140668(0xc2)](_0x35186c[_0x140668(0xf3)],_0xaca05c),constants[_0x140668(0x117)]=_0x35186c[_0x140668(0xc7)](_0x5d4b33[_0x140668(0x117)],_0x35186c[_0x140668(0x104)]),logger['debug'](_0x140668(0x102)+_0x5d4b33[_0x140668(0x117)]),_0x35186c['yoLsv'](_0x5f0ed5),Promise['allSettled'](_0x3239b4)['then'](_0x40c2a2=>{const _0x528dd4=_0x140668;try{const _0x5490c1=globals['getGlobal'](_0x3634d0[_0x528dd4(0xb3)]);if(!_0x5490c1||_0x5490c1[_0x528dd4(0xfc)])return;const _0x5e06b4={};for(const _0x368488 of _0x40c2a2){_0x3634d0[_0x528dd4(0xfe)](_0x368488[_0x528dd4(0x10d)],_0x3634d0[_0x528dd4(0xc1)])&&_0x368488[_0x528dd4(0xd5)]&&_0x368488[_0x528dd4(0xd5)]['ok']&&(_0x5e06b4[_0x368488[_0x528dd4(0xd5)][_0x528dd4(0x117)]]=_0x368488[_0x528dd4(0xd5)][_0x528dd4(0x108)]);}_0x5490c1[_0x528dd4(0x109)]=_0x5e06b4;}catch(_0xdb0503){logger[_0x528dd4(0xda)](_0x528dd4(0xce)+_0xdb0503);}})[_0x140668(0xff)](_0x46efb4=>{const _0x3f7154=_0x140668;logger[_0x3f7154(0xda)]('ERROR\x20in\x20background\x20hub\x20enrichment:\x20'+_0x46efb4);});})[_0xfa30c6(0xff)](_0xcfb3cf=>{const _0x1cffc8=_0xfa30c6;logger[_0x1cffc8(0xda)]('ERROR\x20in\x20hub\x20selection:\x20'+_0xcfb3cf),_0x35186c[_0x1cffc8(0x107)](_0x5f0ed5);});})[_0x9ef778(0xff)](_0x48e23b=>{const _0x1a6404=_0x9ef778;logger[_0x1a6404(0xda)](_0x1a6404(0xb1)+_0x48e23b),_0x41e521[_0x1a6404(0xb0)](_0x5f0ed5);});});},exports[a174_0x4af2eb(0xba)]=async(_0x495d4e,_0x4540c2)=>{const _0x523d77=a174_0x4af2eb,_0x50c855={};_0x50c855[_0x523d77(0x10a)]=_0x523d77(0xf6),_0x50c855[_0x523d77(0xea)]=_0x523d77(0x10c),_0x50c855[_0x523d77(0xb8)]=function(_0x4cb7b8,_0x4e61e3){return _0x4cb7b8-_0x4e61e3;};const _0x301d59=_0x50c855;try{const _0x11d0dc=new Date();await helper[_0x523d77(0xf5)](_0x301d59['Lwskm'],_0x301d59[_0x523d77(0xea)],{},_0x495d4e,_0x4540c2,0x1388);const _0x1185e1=_0x301d59[_0x523d77(0xb8)](new Date(),_0x11d0dc);logger[_0x523d77(0xda)]('Execution\x20time\x20for\x20'+_0x4540c2+_0x523d77(0xd8)+_0x1185e1+'ms');const _0x174a1c={};return _0x174a1c[_0x523d77(0x117)]=_0x4540c2,_0x174a1c[_0x523d77(0x108)]=_0x1185e1,_0x174a1c;}catch(_0xcb4d1c){return logger[_0x523d77(0xda)](_0x523d77(0xe2)+_0x4540c2+'\x20HUB\x20-\x20'+_0xcb4d1c),{};}},exports['nextHubs']=async _0x23f11b=>{const _0x484c44=a174_0x4af2eb,_0x4a7c24={'bxEDG':function(_0x4b8eb4,_0x44dc93){return _0x4b8eb4(_0x44dc93);},'IpPxU':'./bin/utils/constants','xEjzT':_0x484c44(0x115),'FWmNf':_0x484c44(0xf6),'BISxI':'next_hubs'};try{const _0x56fe0e=_0x4a7c24[_0x484c44(0xd7)](require,_0x4a7c24[_0x484c44(0xcf)])[_0x484c44(0x117)][_0x484c44(0xbe)](_0x4a7c24[_0x484c44(0xee)],''),_0x1bffb2=await helper[_0x484c44(0xf5)](_0x4a7c24[_0x484c44(0xc4)],_0x4a7c24[_0x484c44(0xb6)],{},_0x23f11b,_0x56fe0e,0x1388),_0x491a5a=_0x1bffb2[_0x484c44(0xbd)];return logger[_0x484c44(0xda)](_0x484c44(0xde)+util[_0x484c44(0xca)]('%j',_0x491a5a)),_0x491a5a[_0x484c44(0xfb)];}catch(_0x39c7ee){logger[_0x484c44(0xda)](_0x484c44(0xb2)+_0x39c7ee);}return null;};
|
|
1
|
+
function a174_0x136b(_0x21615d,_0x5ccfda){const _0x25802a=a174_0x2580();return a174_0x136b=function(_0x136b8d,_0x3efd4d){_0x136b8d=_0x136b8d-0x99;let _0x5c8540=_0x25802a[_0x136b8d];return _0x5c8540;},a174_0x136b(_0x21615d,_0x5ccfda);}const a174_0x38607c=a174_0x136b;(function(_0x11f34a,_0x31d1f3){const _0x7334a=a174_0x136b,_0x47f2bb=_0x11f34a();while(!![]){try{const _0x58e156=parseInt(_0x7334a(0xd9))/0x1+parseInt(_0x7334a(0xfe))/0x2+-parseInt(_0x7334a(0xbb))/0x3+parseInt(_0x7334a(0xdd))/0x4+parseInt(_0x7334a(0xec))/0x5+parseInt(_0x7334a(0xa0))/0x6*(parseInt(_0x7334a(0xea))/0x7)+-parseInt(_0x7334a(0xd2))/0x8;if(_0x58e156===_0x31d1f3)break;else _0x47f2bb['push'](_0x47f2bb['shift']());}catch(_0x132441){_0x47f2bb['push'](_0x47f2bb['shift']());}}}(a174_0x2580,0xd0037));const url=require(a174_0x38607c(0xa4)),util=require(a174_0x38607c(0xf2)),helper=require(a174_0x38607c(0x9d)),logger=require(a174_0x38607c(0xe4))['winstonLogger'],constants=require(a174_0x38607c(0xb9)),globals=require(a174_0x38607c(0xbf));global[a174_0x38607c(0xf0)]=global[a174_0x38607c(0xf0)]||new Map(),exports[a174_0x38607c(0xcf)]=_0x200ba0=>{const _0x375b87=a174_0x38607c,_0x5a5f9e={};_0x5a5f9e[_0x375b87(0xff)]=function(_0x42142b,_0x3922c4){return _0x42142b+_0x3922c4;},_0x5a5f9e[_0x375b87(0xcb)]=_0x375b87(0xa1);const _0x2ec94c=_0x5a5f9e,_0x51c0ac=url['parse'](_0x200ba0);if(!_0x51c0ac[_0x375b87(0xb6)])throw new Error(_0x2ec94c['IYuKS'](_0x2ec94c[_0x375b87(0xcb)],_0x200ba0));return _0x51c0ac[_0x375b87(0xba)]=null,_0x51c0ac[_0x375b87(0x9f)]=null,_0x51c0ac[_0x375b87(0xa5)]=_0x51c0ac[_0x375b87(0xb8)],_0x51c0ac;},exports[a174_0x38607c(0xb7)]=(_0x9746a9,_0x57de99)=>{const _0x2dc99c=a174_0x38607c,_0x491441={};_0x491441[_0x2dc99c(0xe8)]=_0x2dc99c(0xfc);const _0x33d832=_0x491441;if(!_0x57de99){logger[_0x2dc99c(0xb4)](_0x33d832['skOLM']);return;}global[_0x2dc99c(0xf0)][_0x2dc99c(0xda)](_0x57de99,_0x9746a9);},exports[a174_0x38607c(0xb2)]=_0x43a109=>{const _0x22e7bc=a174_0x38607c;if(_0x43a109&&global[_0x22e7bc(0xf0)][_0x22e7bc(0xd0)](_0x43a109)){const _0x53e947=global[_0x22e7bc(0xf0)]['get'](_0x43a109);return global[_0x22e7bc(0xf0)][_0x22e7bc(0xb1)](_0x43a109),_0x53e947;}return'';},exports['allocateHub']=_0x1d0563=>{const _0x272830=a174_0x38607c,_0x1463dd={'pvhlL':function(_0x1cd33d){return _0x1cd33d();},'JqSae':function(_0x5ef418,_0x519632){return _0x5ef418!==_0x519632;},'RAtQt':function(_0x5c19c2,_0x58bcdb){return _0x5c19c2+_0x58bcdb;},'NNPiF':_0x272830(0x99),'AjgPx':_0x272830(0xe1),'wZomP':function(_0x816575,_0x73b3e5){return _0x816575+_0x73b3e5;},'Tarep':'_hubAllocationData','VNfev':_0x272830(0xcd),'YBCMR':function(_0x1225e8){return _0x1225e8();},'WPwic':function(_0x53a753,_0x44a2e5){return _0x53a753+_0x44a2e5;},'HYUkS':function(_0x50c261,_0x35972b){return _0x50c261===_0x35972b;},'xfHht':_0x272830(0xc7),'FbDwa':function(_0x3539af){return _0x3539af();},'bvXce':function(_0x2a6318,_0x2e1125){return _0x2a6318==_0x2e1125;},'YojBM':function(_0x1982c4,_0x3dd76c){return _0x1982c4===_0x3dd76c;},'HvxJo':function(_0x1ed234){return _0x1ed234();}};return new Promise(_0x22871d=>{const _0x20c96e=_0x272830,_0x36fc2b={'tzdqO':function(_0x1e9105,_0x76254e){const _0x7beff7=a174_0x136b;return _0x1463dd[_0x7beff7(0xde)](_0x1e9105,_0x76254e);},'jpYnb':function(_0x353c97,_0x1f968b){const _0xfd377c=a174_0x136b;return _0x1463dd[_0xfd377c(0xd5)](_0x353c97,_0x1f968b);},'VRDWg':_0x1463dd[_0x20c96e(0xc3)],'UbmgB':_0x1463dd['AjgPx'],'NYyng':function(_0x5b220d,_0x1c0e2f){const _0x403baa=_0x20c96e;return _0x1463dd[_0x403baa(0xb3)](_0x5b220d,_0x1c0e2f);},'OsMRL':_0x1463dd[_0x20c96e(0xfa)],'Xwqeq':_0x1463dd[_0x20c96e(0xd8)],'awjUK':function(_0x5375b6){return _0x1463dd['YBCMR'](_0x5375b6);},'tqUen':function(_0x19cb62,_0x1d47a9){const _0x31e93d=_0x20c96e;return _0x1463dd[_0x31e93d(0x9c)](_0x19cb62,_0x1d47a9);},'pAsmd':function(_0x2ef47a,_0x247a9b){return _0x1463dd['HYUkS'](_0x2ef47a,_0x247a9b);},'kGddS':_0x1463dd[_0x20c96e(0xf6)],'SkTOK':function(_0x556369){return _0x1463dd['FbDwa'](_0x556369);},'XsaNt':function(_0x2fa85f,_0x91e49e){const _0x1e28d0=_0x20c96e;return _0x1463dd[_0x1e28d0(0xe6)](_0x2fa85f,_0x91e49e);},'CImOZ':function(_0x5db97e,_0x3e080c){return _0x1463dd['YojBM'](_0x5db97e,_0x3e080c);}};if(_0x1d0563&&_0x1d0563[_0x20c96e(0xce)]){const _0x3c2014=constants[_0x20c96e(0xa8)][_0x1d0563[_0x20c96e(0xce)]];if(_0x3c2014)return constants[_0x20c96e(0xf3)]=_0x3c2014,logger[_0x20c96e(0xb4)](_0x20c96e(0xc6)+_0x3c2014),globals['setGlobal'](_0x1463dd['Tarep'],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x3c2014[_0x20c96e(0x9b)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x20c96e(0xcc)]()}),_0x1463dd[_0x20c96e(0xc0)](_0x22871d);logger[_0x20c96e(0xb4)](_0x20c96e(0xf4)+_0x1d0563[_0x20c96e(0xce)]+_0x20c96e(0xe3));}Promise[_0x20c96e(0xdc)](this[_0x20c96e(0xac)](_0x1d0563))['then'](_0x26ef52=>{const _0x2f5077=_0x20c96e,_0x526d26={'wHJyA':_0x36fc2b[_0x2f5077(0xf5)],'SbzCz':function(_0x29b604,_0x2308c8){const _0x1680f7=_0x2f5077;return _0x36fc2b[_0x1680f7(0xa3)](_0x29b604,_0x2308c8);},'txYxa':_0x36fc2b[_0x2f5077(0xdb)],'WYjkx':function(_0x1ac9ba){const _0x49f2e1=_0x2f5077;return _0x36fc2b[_0x49f2e1(0xfd)](_0x1ac9ba);}};logger[_0x2f5077(0xb4)](_0x2f5077(0xa2)+util[_0x2f5077(0xd1)]('%j',_0x26ef52));if(_0x36fc2b['XsaNt'](_0x26ef52,null)||_0x36fc2b['CImOZ'](_0x26ef52[_0x2f5077(0xf1)],0x0))return _0x36fc2b[_0x2f5077(0xed)](_0x22871d);const _0x48dbe7=_0x26ef52[_0x2f5077(0xd3)](_0x360b99=>{const _0x30e5cd=_0x2f5077,_0x3e44cf={'oxjrd':function(_0x4c41c6,_0x3e6a83){return _0x36fc2b['tzdqO'](_0x4c41c6,_0x3e6a83);}},_0x391037=_0x36fc2b['jpYnb'](_0x36fc2b[_0x30e5cd(0xe0)],_0x360b99);return this['findLatency'](_0x1d0563,_0x391037)[_0x30e5cd(0xa7)](_0x230bac=>{const _0x4d9cc6=_0x30e5cd;if(_0x230bac&&_0x230bac['hubUrl']&&_0x3e44cf[_0x4d9cc6(0xc4)](_0x230bac[_0x4d9cc6(0xee)],undefined)){const _0x3658fb={};return _0x3658fb[_0x4d9cc6(0xf3)]=_0x230bac[_0x4d9cc6(0xf3)],_0x3658fb['latency']=_0x230bac[_0x4d9cc6(0xee)],_0x3658fb['ok']=!![],_0x3658fb;}const _0x3beb91={};return _0x3beb91[_0x4d9cc6(0xf3)]=_0x391037,_0x3beb91[_0x4d9cc6(0xee)]=null,_0x3beb91['ok']=![],_0x3beb91;})[_0x30e5cd(0xdf)](()=>({'hubUrl':_0x391037,'latency':null,'ok':![]}));});Promise[_0x2f5077(0xaf)](_0x48dbe7[_0x2f5077(0xd3)](_0x255e38=>_0x255e38['then'](_0x37546d=>_0x37546d['ok']?_0x37546d:null)))[_0x2f5077(0xa7)](_0x1a6f6e=>{const _0x50d411=_0x2f5077;if(_0x1a6f6e)return _0x1a6f6e;return Promise[_0x50d411(0xae)](_0x48dbe7)[_0x50d411(0xa7)](()=>null);})['then'](_0x423f19=>{const _0x12296b=_0x2f5077;if(!_0x423f19){logger[_0x12296b(0xb4)](_0x36fc2b['UbmgB']);const _0x3a6ff1=_0x36fc2b[_0x12296b(0xe7)](_0x36fc2b[_0x12296b(0xe0)],_0x26ef52[0x0]);return globals[_0x12296b(0xca)](_0x36fc2b['OsMRL'],{'nearestHubs':_0x26ef52[_0x12296b(0xd3)](_0x4e2a6e=>_0x12296b(0x99)+_0x4e2a6e),'hubLatencies':{},'selectedHub':_0x3a6ff1,'selectedHubLatency':null,'fallback':!![],'timestamp':Date['now']()}),constants[_0x12296b(0xf3)]=_0x36fc2b[_0x12296b(0xe7)](_0x3a6ff1,_0x36fc2b[_0x12296b(0xc8)]),logger[_0x12296b(0xb4)]('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0x3a6ff1),_0x36fc2b['awjUK'](_0x22871d);}const _0x537621={[_0x423f19[_0x12296b(0xf3)]]:_0x423f19['latency']},_0x2a442e={'nearestHubs':_0x26ef52[_0x12296b(0xd3)](_0x4bcdc3=>_0x12296b(0x99)+_0x4bcdc3),'hubLatencies':_0x537621,'selectedHub':_0x423f19['hubUrl'],'selectedHubLatency':_0x423f19['latency'],'timestamp':Date[_0x12296b(0xcc)]()};globals[_0x12296b(0xca)](_0x36fc2b[_0x12296b(0xf5)],_0x2a442e),constants['hubUrl']=_0x36fc2b[_0x12296b(0xb5)](_0x423f19[_0x12296b(0xf3)],_0x36fc2b['Xwqeq']),logger['debug'](_0x12296b(0xf9)+_0x423f19[_0x12296b(0xf3)]),_0x36fc2b['awjUK'](_0x22871d),Promise['allSettled'](_0x48dbe7)[_0x12296b(0xa7)](_0x18e22a=>{const _0x2eabf4=_0x12296b;try{const _0x20a595=globals['getGlobal'](_0x526d26[_0x2eabf4(0xd7)]);if(!_0x20a595||_0x20a595[_0x2eabf4(0xc1)])return;const _0x556b6d={};for(const _0x2ac744 of _0x18e22a){_0x526d26['SbzCz'](_0x2ac744[_0x2eabf4(0xbc)],_0x526d26['txYxa'])&&_0x2ac744[_0x2eabf4(0xe9)]&&_0x2ac744[_0x2eabf4(0xe9)]['ok']&&(_0x556b6d[_0x2ac744[_0x2eabf4(0xe9)][_0x2eabf4(0xf3)]]=_0x2ac744[_0x2eabf4(0xe9)]['latency']);}_0x20a595[_0x2eabf4(0xab)]=_0x556b6d;}catch(_0xb661a4){logger[_0x2eabf4(0xb4)](_0x2eabf4(0xd4)+_0xb661a4);}})[_0x12296b(0xdf)](_0x3b3217=>{const _0xb4e6a0=_0x12296b;logger['debug'](_0xb4e6a0(0xb0)+_0x3b3217);});})[_0x2f5077(0xdf)](_0x22db0b=>{const _0x4aab6b=_0x2f5077;logger[_0x4aab6b(0xb4)](_0x4aab6b(0xe2)+_0x22db0b),_0x526d26[_0x4aab6b(0xd6)](_0x22871d);});})['catch'](_0x3f8249=>{const _0x41af80=_0x20c96e;logger[_0x41af80(0xb4)](_0x41af80(0xc2)+_0x3f8249),_0x1463dd['pvhlL'](_0x22871d);});});},exports['findLatency']=async(_0x128301,_0x470415)=>{const _0x3291fe=a174_0x38607c,_0x4ca9ea={};_0x4ca9ea[_0x3291fe(0xbd)]=_0x3291fe(0xa9),_0x4ca9ea[_0x3291fe(0xf7)]='check',_0x4ca9ea['ksJdQ']=function(_0x4824d8,_0x24257a){return _0x4824d8-_0x24257a;};const _0x396d10=_0x4ca9ea;try{const _0x47e267=new Date();await helper['nodeRequest'](_0x396d10['oPhUq'],_0x396d10[_0x3291fe(0xf7)],{},_0x128301,_0x470415,0x1388);const _0x11c0ac=_0x396d10['ksJdQ'](new Date(),_0x47e267);logger[_0x3291fe(0xb4)]('Execution\x20time\x20for\x20'+_0x470415+_0x3291fe(0xeb)+_0x11c0ac+'ms');const _0xadb990={};return _0xadb990[_0x3291fe(0xf3)]=_0x470415,_0xadb990[_0x3291fe(0xee)]=_0x11c0ac,_0xadb990;}catch(_0xd35ff4){return logger[_0x3291fe(0xb4)](_0x3291fe(0xfb)+_0x470415+_0x3291fe(0xc9)+_0xd35ff4),{};}},exports[a174_0x38607c(0xac)]=async _0x1978ce=>{const _0x2f7c99=a174_0x38607c,_0x5551e8={'vXKyd':function(_0x25067a,_0x58cd9b){return _0x25067a(_0x58cd9b);},'djnzD':_0x2f7c99(0xb9),'mGUUm':_0x2f7c99(0xcd),'Jkcsj':'GET','RHiHn':_0x2f7c99(0xbe)};try{const _0x1e9fbd=_0x5551e8[_0x2f7c99(0xaa)](require,_0x5551e8[_0x2f7c99(0xc5)])[_0x2f7c99(0xf3)]['replace'](_0x5551e8[_0x2f7c99(0xa6)],''),_0x28dceb=await helper[_0x2f7c99(0xad)](_0x5551e8[_0x2f7c99(0xe5)],_0x5551e8[_0x2f7c99(0x9a)],{},_0x1978ce,_0x1e9fbd,0x1388),_0x13568d=_0x28dceb[_0x2f7c99(0xef)];return logger[_0x2f7c99(0xb4)](_0x2f7c99(0x9e)+util[_0x2f7c99(0xd1)]('%j',_0x13568d)),_0x13568d['hubs'];}catch(_0x3cb204){logger[_0x2f7c99(0xb4)](_0x2f7c99(0xf8)+_0x3cb204);}return null;};function a174_0x2580(){const _0x1ba06b=['hubUrl','hubRegion\x20','OsMRL','xfHht','kEnDK','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','HUB\x20URL\x20SET\x20TO\x20-\x20','Tarep','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','SkTOK','750150aeSIVy','IYuKS','https://','RHiHn','replace','WPwic','./helpers/helper','Response:\x20','hash','4940346VXtxTV','Invalid\x20new\x20HUB\x20URL:\x20','NEAREST\x20HUBS\x20LIST:\x20','pAsmd','url','path','mGUUm','then','HUB_URL_MAP','GET','vXKyd','hubLatencies','nextHubs','nodeRequest','all','race','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','delete','consumeHubUrlForSession','wZomP','debug','tqUen','hostname','updateHubUrl','pathname','./bin/utils/constants','search','3326280eGndNM','status','oPhUq','next_hubs','./helpers/globals','HvxJo','skipped','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','NNPiF','oxjrd','djnzD','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','fulfilled','Xwqeq','\x20HUB\x20-\x20','setGlobal','ZDOic','now','/wd/hub','hubRegion','getRequestOptions','has','format','20084448RyHtSd','map','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','RAtQt','WYjkx','wHJyA','VNfev','104335vzwCLb','set','kGddS','resolve','2861944MbKuFQ','JqSae','catch','VRDWg','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','ERROR\x20in\x20hub\x20selection:\x20','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','./helpers/logger','Jkcsj','bvXce','NYyng','skOLM','value','14XgGgrk','\x20is:\x20','8148305TlIdWI','awjUK','latency','data','newHubUrlBySession','length','util'];a174_0x2580=function(){return _0x1ba06b;};return a174_0x2580();}
|