browserstack-node-sdk 1.64.1 → 1.64.3
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/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/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/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
- package/src/ai-sdk-node/bundle.js +0 -1
- package/src/ai-sdk-node/extensions/chrome_extension.crx +0 -0
- package/src/bin/mocha/test-observability/builderPatch.js +0 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +0 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +0 -1
- package/src/helpers/timeoutPromise.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a172_0x1ee7e3=a172_0xcf59;(function(_0x460e3f,_0x41bd4f){const _0x2bdee6=a172_0xcf59,_0x5c386c=_0x460e3f();while(!![]){try{const _0x196f03=-parseInt(_0x2bdee6(0x221))/0x1+-parseInt(_0x2bdee6(0x1d2))/0x2*(parseInt(_0x2bdee6(0x196))/0x3)+-parseInt(_0x2bdee6(0x189))/0x4*(parseInt(_0x2bdee6(0x200))/0x5)+parseInt(_0x2bdee6(0x241))/0x6+-parseInt(_0x2bdee6(0x1c5))/0x7+-parseInt(_0x2bdee6(0x242))/0x8*(-parseInt(_0x2bdee6(0x20b))/0x9)+parseInt(_0x2bdee6(0x17c))/0xa;if(_0x196f03===_0x41bd4f)break;else _0x5c386c['push'](_0x5c386c['shift']());}catch(_0x18b20f){_0x5c386c['push'](_0x5c386c['shift']());}}}(a172_0x22db,0xbadbf));const bsSetupHelper=require(a172_0x1ee7e3(0x186)),LoadTestModule=require(a172_0x1ee7e3(0x217)),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require(a172_0x1ee7e3(0x1c9)),logger=require(a172_0x1ee7e3(0x1cb))['winstonLogger'],{nestedKeyValue}=require(a172_0x1ee7e3(0x1cc)),scripts=require(a172_0x1ee7e3(0x179)),globals=require('../globals.js'),testHubConstants=require(a172_0x1ee7e3(0x1e3)),PWTestDetails=require(a172_0x1ee7e3(0x1cd)),JestTestDetails=require('../../bin/jest/test-observability/test-details.js'),{FRAMEWORKS}=require(a172_0x1ee7e3(0x16c)),{isTurboScaleSession}=require(a172_0x1ee7e3(0x247)),OrchestrationUtils=require(a172_0x1ee7e3(0x1a3)),constants=require(a172_0x1ee7e3(0x243));let testData={};exports[a172_0x1ee7e3(0x1a2)]=_0x35f246=>{const _0x27ff06=a172_0x1ee7e3,_0x2a2515={'rcUrD':function(_0x3195e){return _0x3195e();},'FVWca':function(_0x1611c5,_0x225c33){return _0x1611c5===_0x225c33;},'hxujI':_0x27ff06(0x1f8)};let _0x52a79a=![],_0x53d9ec=![];if(bsSetupHelper[_0x27ff06(0x17e)]()&&bsSetupHelper[_0x27ff06(0x1d1)](_0x35f246))_0x53d9ec=!![];else bsSetupHelper[_0x27ff06(0x17e)]()&&(_0x52a79a=!![]);return Object[_0x27ff06(0x1d7)]({'observability':_0x2a2515['rcUrD'](isTestObservabilitySession),'accessibility':exports[_0x27ff06(0x212)](_0x35f246),'percy':_0x35f246['percy']||![],'sr_automation':_0x2a2515[_0x27ff06(0x215)](process[_0x27ff06(0x1af)][_0x27ff06(0x197)],_0x2a2515[_0x27ff06(0x232)])||_0x35f246[_0x27ff06(0x191)]||![],'automate':_0x52a79a,'app_automate':_0x53d9ec,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x35f246),'lts':LoadTestModule['isLTSSession'](_0x35f246)},bsSetupHelper[_0x27ff06(0x209)]());},exports[a172_0x1ee7e3(0x18e)]=(_0xd7e77d,_0x4573be)=>{const _0x41d6ab=a172_0x1ee7e3,_0x3268f1={'YiAda':function(_0x1775ce,_0x617909){return _0x1775ce(_0x617909);},'tUttY':'javascript'},_0x26b3f3={'frameworkName':_0x4573be,'frameworkVersion':_0x3268f1[_0x41d6ab(0x22e)](getFrameworkVersion,_0x4573be),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x3268f1[_0x41d6ab(0x19b)],'testFramework':bsSetupHelper[_0x41d6ab(0x1d0)](_0xd7e77d,_0x4573be)};return process['env'][_0x41d6ab(0x1c7)]=JSON[_0x41d6ab(0x176)](_0x26b3f3),_0x26b3f3;},exports[a172_0x1ee7e3(0x182)]=_0x2abfbc=>{const _0x22e68a=a172_0x1ee7e3,_0x1c84dc={};_0x1c84dc[_0x22e68a(0x1ef)]='false',_0x1c84dc['BGMyx']=_0x22e68a(0x1f8);const _0x2fd3e0=_0x1c84dc;process[_0x22e68a(0x1af)][_0x22e68a(0x1d9)]=_0x2fd3e0['PHHaw'],bsSetupHelper['isTrue'](_0x2abfbc[_0x22e68a(0x1ac)][_0x22e68a(0x1a1)])&&(!_0x2abfbc[_0x22e68a(0x1a1)]||!_0x2abfbc[_0x22e68a(0x1a1)][_0x22e68a(0x1d4)]())&&(process[_0x22e68a(0x1af)][_0x22e68a(0x1d9)]=_0x2fd3e0[_0x22e68a(0x245)]);},exports[a172_0x1ee7e3(0x1f0)]=()=>{const _0x4b2bf4=a172_0x1ee7e3;return bsSetupHelper[_0x4b2bf4(0x21d)](process['env'][_0x4b2bf4(0x1d9)]);},exports[a172_0x1ee7e3(0x212)]=(_0x4b738a={})=>{const _0x589971=a172_0x1ee7e3,_0x4baf07={};_0x4baf07[_0x589971(0x17d)]=function(_0x571845,_0x23de0b){return _0x571845!==_0x23de0b;},_0x4baf07[_0x589971(0x216)]=function(_0x4456f5,_0x33f6d0){return _0x4456f5===_0x33f6d0;},_0x4baf07[_0x589971(0x231)]='true',_0x4baf07[_0x589971(0x24d)]=function(_0xef01f4,_0x2a58c6){return _0xef01f4>_0x2a58c6;},_0x4baf07['gBsMq']=function(_0x356989,_0x5ddddb){return _0x356989===_0x5ddddb;};const _0x2c0a9f=_0x4baf07;if(_0x2c0a9f[_0x589971(0x17d)](process[_0x589971(0x1af)][_0x589971(0x1ab)],undefined))return bsSetupHelper['isTrue'](process[_0x589971(0x1af)][_0x589971(0x1ab)]);let _0x1a3668=_0x2c0a9f['TUzIe'](process[_0x589971(0x1af)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x2c0a9f['qLoPu']);return _0x2c0a9f[_0x589971(0x24d)](Object['keys'](_0x4b738a)['length'],0x0)&&(process[_0x589971(0x1af)][_0x589971(0x20d)]=accessibilityHelper['checkAccessibilityPlatformConfig'](_0x4b738a)),_0x1a3668=_0x1a3668||_0x2c0a9f[_0x589971(0x230)](process[_0x589971(0x1af)][_0x589971(0x20d)],_0x2c0a9f[_0x589971(0x231)]),_0x1a3668;},exports[a172_0x1ee7e3(0x220)]=(_0x1f248c,_0x445e9a)=>{const _0x155f2f=a172_0x1ee7e3,_0x121745={'TyHiL':function(_0x4fbced){return _0x4fbced();},'XQoVa':_0x155f2f(0x22f),'nDwyr':_0x155f2f(0x1f8),'BZpbu':function(_0x3d07c9,_0x4d398,_0x1ef226){return _0x3d07c9(_0x4d398,_0x1ef226);},'ptfxH':_0x155f2f(0x1b5),'KlEdS':'options'};if(!_0x1f248c||!_0x1f248c[_0x155f2f(0x1b5)])return exports[_0x155f2f(0x1e2)](),[null,null,null];if(!_0x1f248c[_0x155f2f(0x1b5)][_0x155f2f(0x19a)])return exports[_0x155f2f(0x1e2)](_0x1f248c[_0x155f2f(0x1b5)]),[null,null,null];if(_0x121745[_0x155f2f(0x1ff)](isTestObservabilitySession)){const _0x1e6d6b=_0x121745[_0x155f2f(0x238)][_0x155f2f(0x18b)]('|');let _0x88614f=0x0;while(!![]){switch(_0x1e6d6b[_0x88614f++]){case'0':if(_0x1f248c[_0x155f2f(0x19c)]){process[_0x155f2f(0x1af)][_0x155f2f(0x183)]=_0x1f248c[_0x155f2f(0x19c)];const _0x2f49ac={};_0x2f49ac[_0x155f2f(0x1b1)]=_0x445e9a[_0x155f2f(0x1b1)],_0x2f49ac[_0x155f2f(0x201)]=_0x445e9a[_0x155f2f(0x201)],process['env'][_0x155f2f(0x23c)]=JSON['stringify'](_0x2f49ac);}continue;case'1':process[_0x155f2f(0x1af)][_0x155f2f(0x1ca)]=_0x121745['nDwyr'];continue;case'2':logger['debug']('['+constants[_0x155f2f(0x195)]+_0x155f2f(0x17a)+_0x1f248c[_0x155f2f(0x22a)]);continue;case'3':_0x1f248c['build_hashed_id']&&(process[_0x155f2f(0x1af)][_0x155f2f(0x228)]=_0x1f248c[_0x155f2f(0x22a)]);continue;case'4':return[_0x1f248c[_0x155f2f(0x19c)],_0x1f248c[_0x155f2f(0x22a)],process['env'][_0x155f2f(0x185)]];case'5':_0x121745[_0x155f2f(0x1df)](nestedKeyValue,_0x1f248c,[_0x121745[_0x155f2f(0x1bf)],_0x121745[_0x155f2f(0x1e7)]])&&(process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x1f248c[_0x155f2f(0x1b5)][_0x155f2f(0x21e)][_0x155f2f(0x1eb)][_0x155f2f(0x21a)]());continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x3fd6cd=>{const _0x1419d0=a172_0x1ee7e3,_0x2cf4ef={'IqeRF':function(_0x5dfd61,_0x209e55,_0x195fe5){return _0x5dfd61(_0x209e55,_0x195fe5);},'wCSEA':_0x1419d0(0x1fb),'qQADI':_0x1419d0(0x21e),'mNPgg':function(_0x151139,_0x1b4dd2,_0x34206b,_0x27bed0){return _0x151139(_0x1b4dd2,_0x34206b,_0x27bed0);},'OsMmV':_0x1419d0(0x169),'fZDFF':_0x1419d0(0x226),'gCXPH':function(_0x23227c,_0x3c06a5,_0x10dd4f,_0x417c71){return _0x23227c(_0x3c06a5,_0x10dd4f,_0x417c71);},'hCvqA':_0x1419d0(0x23f),'fCslu':'commands','EvgdJ':_0x1419d0(0x1f9),'xNdlZ':_0x1419d0(0x1ae),'XrfHI':function(_0x16d1f7,_0x410758){return _0x16d1f7(_0x410758);},'ZRkUL':function(_0x4cf897,_0xbc58b1){return _0x4cf897===_0xbc58b1;},'olBZs':'true','BoVzn':_0x1419d0(0x1f1)};if(!_0x3fd6cd[_0x1419d0(0x1fb)])return exports['handleErrorForAccessibility'](),[null,null];if(!_0x3fd6cd['accessibility'][_0x1419d0(0x19a)])return exports[_0x1419d0(0x1fa)](_0x3fd6cd[_0x1419d0(0x1fb)]),[null,null];if(_0x2cf4ef[_0x1419d0(0x18d)](nestedKeyValue,_0x3fd6cd,[_0x2cf4ef['wCSEA'],_0x2cf4ef[_0x1419d0(0x22d)]])){const {accessibilityToken:_0x1e6279,scannerVersion:_0x2de49f,scannerProcessingTimeout:_0x3e4cae,isMobileScanningEnabledForGroup:_0xfa5fb1}=_0x2cf4ef[_0x1419d0(0x229)](jsonifyAccessibilityArray,_0x3fd6cd[_0x1419d0(0x1fb)][_0x1419d0(0x21e)][_0x1419d0(0x233)],_0x2cf4ef[_0x1419d0(0x225)],_0x2cf4ef['fZDFF']),_0x40d661={'scripts':_0x2cf4ef[_0x1419d0(0x1dd)](jsonifyAccessibilityArray,_0x3fd6cd[_0x1419d0(0x1fb)][_0x1419d0(0x21e)]['scripts'],_0x2cf4ef['OsMmV'],_0x2cf4ef[_0x1419d0(0x23a)])};_0x40d661[_0x2cf4ef[_0x1419d0(0x170)]]=_0x3fd6cd['accessibility']['options']['commandsToWrap'][_0x1419d0(0x1b2)];const _0x4a13ef=_0x2cf4ef[_0x1419d0(0x229)](jsonifyAccessibilityArray,_0x3fd6cd[_0x1419d0(0x1fb)][_0x1419d0(0x21e)][_0x1419d0(0x233)],_0x2cf4ef[_0x1419d0(0x225)],_0x2cf4ef['fZDFF']);_0x40d661[_0x2cf4ef[_0x1419d0(0x1c1)]]=_0x4a13ef[_0x2cf4ef[_0x1419d0(0x24c)]],scripts[_0x1419d0(0x180)](_0x40d661),scripts[_0x1419d0(0x246)]();let _0x7d910e=process['env'][_0x1419d0(0x206)];_0x7d910e=!!_0x7d910e?JSON[_0x1419d0(0x16e)](_0x7d910e):{},_0x7d910e[_0x1419d0(0x1c8)]=_0x2de49f,process['env'][_0x1419d0(0x206)]=JSON[_0x1419d0(0x176)](_0x7d910e),process[_0x1419d0(0x1af)]['BS_A11Y_JWT']=_0x1e6279,process[_0x1419d0(0x1af)][_0x1419d0(0x1cf)]=_0x2cf4ef[_0x1419d0(0x1ad)](String,_0x2cf4ef[_0x1419d0(0x224)](_0xfa5fb1,!![])||_0x2cf4ef['ZRkUL'](_0xfa5fb1,_0x2cf4ef['olBZs'])),logger[_0x1419d0(0x1fd)]('[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x3fd6cd['build_hashed_id']);const _0x3f05b1=accessibilityHelper[_0x1419d0(0x1d8)](_0x1e6279);return _0x3f05b1&&bsSetupHelper['isTrue'](_0x3f05b1['skipCDPConnectOverride'])&&(process[_0x1419d0(0x1af)][_0x1419d0(0x1ed)]=!![],logger[_0x1419d0(0x1fd)](_0x2cf4ef[_0x1419d0(0x21c)])),[_0x1e6279,_0x3fd6cd[_0x1419d0(0x22a)],_0x3e4cae];}return[null,null];},exports['handleErrorForObservability']=_0x327c73=>{const _0x5236a9=a172_0x1ee7e3,_0x3a3baf={};_0x3a3baf[_0x5236a9(0x23d)]='0|6|3|5|4|2|1',_0x3a3baf[_0x5236a9(0x1f6)]=_0x5236a9(0x1e5),_0x3a3baf['qRSre']='false';const _0x534f04=_0x3a3baf,_0x4d837c=_0x534f04['NkOcp'][_0x5236a9(0x18b)]('|');let _0x45352e=0x0;while(!![]){switch(_0x4d837c[_0x45352e++]){case'0':process[_0x5236a9(0x1af)]['BROWSERSTACK_TESTHUB_UUID']=_0x534f04[_0x5236a9(0x1f6)];continue;case'1':exports[_0x5236a9(0x20a)](_0x327c73,testHubConstants[_0x5236a9(0x1a9)]);continue;case'2':process['env'][_0x5236a9(0x185)]=_0x534f04[_0x5236a9(0x1f6)];continue;case'3':process['env']['BS_TESTOPS_BUILD_COMPLETED']=_0x534f04[_0x5236a9(0x190)];continue;case'4':process['env'][_0x5236a9(0x228)]=_0x534f04[_0x5236a9(0x1f6)];continue;case'5':process[_0x5236a9(0x1af)][_0x5236a9(0x183)]=_0x534f04[_0x5236a9(0x1f6)];continue;case'6':process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x534f04[_0x5236a9(0x1f6)];continue;}break;}},exports[a172_0x1ee7e3(0x1fa)]=_0x482b92=>{const _0xb16e77=a172_0x1ee7e3,_0x3c4859={};_0x3c4859[_0xb16e77(0x207)]=_0xb16e77(0x1e1),_0x3c4859[_0xb16e77(0x211)]=_0xb16e77(0x1e5),_0x3c4859[_0xb16e77(0x234)]=_0xb16e77(0x1c3);const _0xa76ad2=_0x3c4859,_0x44a95e=_0xa76ad2['WcLoa'][_0xb16e77(0x18b)]('|');let _0x299a0f=0x0;while(!![]){switch(_0x44a95e[_0x299a0f++]){case'0':exports[_0xb16e77(0x20a)](_0x482b92,testHubConstants[_0xb16e77(0x199)]);continue;case'1':process[_0xb16e77(0x1af)][_0xb16e77(0x227)]=_0xa76ad2[_0xb16e77(0x211)];continue;case'2':process[_0xb16e77(0x1af)][_0xb16e77(0x1d5)]=_0xa76ad2[_0xb16e77(0x234)];continue;case'3':process[_0xb16e77(0x1af)][_0xb16e77(0x1f5)]=_0xa76ad2[_0xb16e77(0x211)];continue;case'4':process[_0xb16e77(0x1af)][_0xb16e77(0x20d)]=_0xa76ad2[_0xb16e77(0x234)];continue;}break;}},exports[a172_0x1ee7e3(0x20a)]=(_0x51feb1,_0x295498='')=>{const _0x3b450c=a172_0x1ee7e3,_0x9baf66={};_0x9baf66[_0x3b450c(0x20f)]=function(_0x1095c8,_0x230db6){return _0x1095c8===_0x230db6;};const _0x39565f=_0x9baf66;if(_0x39565f[_0x3b450c(0x20f)](_0x51feb1,undefined)){logger[_0x3b450c(0x16a)](_0x295498[_0x3b450c(0x213)]()+_0x3b450c(0x19e));return;}for(const _0x5f4fef of _0x51feb1[_0x3b450c(0x175)]){const _0x344357=_0x5f4fef['key'],_0x5d1898=_0x5f4fef[_0x3b450c(0x21b)];if(_0x5d1898)switch(_0x344357){case testHubConstants[_0x3b450c(0x188)][_0x3b450c(0x1f7)]:logger[_0x3b450c(0x16a)](_0x5d1898);break;case testHubConstants['ERROR'][_0x3b450c(0x1dc)]:logger[_0x3b450c(0x235)](_0x5d1898);break;case testHubConstants[_0x3b450c(0x188)][_0x3b450c(0x178)]:logger[_0x3b450c(0x16a)](_0x5d1898);break;default:logger['error'](_0x5d1898);}}};const jsonifyAccessibilityArray=(_0x2a69bf,_0x4a5f8e,_0x389619)=>{const _0x3c55f1=a172_0x1ee7e3,_0x3839ed={};return _0x2a69bf[_0x3c55f1(0x218)](_0x18b7ac=>{_0x3839ed[_0x18b7ac[_0x4a5f8e]]=_0x18b7ac[_0x389619];}),_0x3839ed;};exports[a172_0x1ee7e3(0x1c0)]=_0x84f903=>{const _0x2a91f0=a172_0x1ee7e3;_0x84f903[_0x2a91f0(0x19c)]&&(process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x84f903[_0x2a91f0(0x19c)]);_0x84f903[_0x2a91f0(0x22a)]&&(process[_0x2a91f0(0x1af)][_0x2a91f0(0x227)]=_0x84f903['build_hashed_id'],logger[_0x2a91f0(0x1fd)](_0x2a91f0(0x19f)+_0x84f903[_0x2a91f0(0x22a)]));;},exports[a172_0x1ee7e3(0x198)]=(_0x9f54eb='',_0x23100c='')=>{const _0x1db1a2=a172_0x1ee7e3,_0x1efa5d={'CupCH':function(_0x30d68a){return _0x30d68a();},'LIBNX':function(_0x595678,_0x4b180d){return _0x595678===_0x4b180d;},'YRCVr':_0x1db1a2(0x1fe),'GswqO':_0x1db1a2(0x16b),'OKlAQ':_0x1db1a2(0x21f),'GcsBB':_0x1db1a2(0x248),'RIJXY':_0x1db1a2(0x173),'rWkNu':function(_0x25e651){return _0x25e651();}};if(exports[_0x1db1a2(0x1f0)]()&&!exports['isAccessibilityEnabled']()&&!_0x1efa5d[_0x1db1a2(0x210)](isTestObservabilitySession)){if(_0x1efa5d['LIBNX'](_0x23100c,_0x1efa5d[_0x1db1a2(0x23e)]))return![];if([_0x1efa5d['GswqO'],_0x1efa5d[_0x1db1a2(0x203)]][_0x1db1a2(0x1ce)](_0x9f54eb))return![];return!![];}if(exports[_0x1db1a2(0x212)]()&&!_0x1efa5d[_0x1db1a2(0x210)](isTestObservabilitySession)){if([_0x1efa5d[_0x1db1a2(0x244)],_0x1efa5d['RIJXY'],_0x1efa5d[_0x1db1a2(0x223)]][_0x1db1a2(0x1ce)](_0x9f54eb))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x1efa5d['rWkNu'](isTestObservabilitySession)||exports[_0x1db1a2(0x1f0)]();},exports[a172_0x1ee7e3(0x1ec)]=(_0x20ae70,_0x1c9f08,_0x3e1e35='',_0x2c1d45)=>{const _0x1e5f1c=a172_0x1ee7e3,_0x21d53e={'IAxoV':_0x1e5f1c(0x248),'KwmoN':_0x1e5f1c(0x173),'NqcCo':function(_0x18c9d6,_0x3b8acd){return _0x18c9d6===_0x3b8acd;},'pQTOA':_0x1e5f1c(0x1be),'ZnwRP':_0x1e5f1c(0x1c2),'TPIFL':_0x1e5f1c(0x1fb),'FTBRD':function(_0x3d2e7c,_0x3057f7){return _0x3d2e7c&&_0x3057f7;},'xOzDm':function(_0x585041,_0x1e30e2){return _0x585041===_0x1e30e2;},'zQlDs':function(_0x1d9bf9,_0x2afc69){return _0x1d9bf9+_0x2afc69;},'GSqGs':function(_0x5c1b67,_0x283b45){return _0x5c1b67+_0x283b45;},'tLgTt':function(_0x289905,_0x2aadfd){return _0x289905===_0x2aadfd;},'rbGpX':function(_0x5bab54,_0x3747c8){return _0x5bab54(_0x3747c8);},'OGxXu':'../../bin/jasmine/testRunMap.js','sNAVd':function(_0x13a296,_0x448ec6){return _0x13a296+_0x448ec6;},'suMRz':function(_0x191520,_0x23ff65){return _0x191520+_0x23ff65;},'lGNFo':function(_0xb3dd34,_0x30d11d){return _0xb3dd34&&_0x30d11d;},'oKeBU':function(_0x3e8302,_0x40738c){return _0x3e8302===_0x40738c;},'RgmZP':_0x1e5f1c(0x193),'GXRIj':function(_0x57a3d9,_0x583e1f){return _0x57a3d9===_0x583e1f;},'VAszf':function(_0x409695,_0x399f20){return _0x409695===_0x399f20;},'yXTtV':function(_0x72ae1a,_0x48fbfc){return _0x72ae1a&&_0x48fbfc;},'iOPJa':_0x1e5f1c(0x1a0)};if(![_0x21d53e[_0x1e5f1c(0x222)],_0x21d53e['KwmoN']][_0x1e5f1c(0x1ce)](_0x1c9f08)&&exports['isAccessibilityEnabled']()){const _0x1263b9={};if(_0x21d53e['NqcCo'](_0x2c1d45,FRAMEWORKS[_0x1e5f1c(0x24b)])){const _0x19284e=globals['getGlobal'](_0x21d53e[_0x1e5f1c(0x187)])||accessibilityHelper[_0x1e5f1c(0x1b4)](_0x3e1e35[_0x1e5f1c(0x205)](),!![]),_0x37f2c4=globals[_0x1e5f1c(0x1b0)](_0x21d53e[_0x1e5f1c(0x1a8)]);_0x1263b9[_0x21d53e[_0x1e5f1c(0x171)]]=_0x21d53e[_0x1e5f1c(0x168)](_0x37f2c4,_0x19284e);}if(_0x21d53e[_0x1e5f1c(0x1b8)](_0x2c1d45,FRAMEWORKS[_0x1e5f1c(0x17f)])){const _0x1830fa=_0x21d53e[_0x1e5f1c(0x1a7)](_0x21d53e[_0x1e5f1c(0x219)](_0x20ae70[_0x1e5f1c(0x23b)][_0x1e5f1c(0x19d)]('\x20'),'\x20'),_0x3e1e35['name']),_0x45a443=globals['getGlobal'](_0x21d53e[_0x1e5f1c(0x187)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x1830fa,![]),_0xec79a8=browserStackGlobals[_0x1e5f1c(0x1c2)];_0x1263b9[_0x21d53e[_0x1e5f1c(0x171)]]=_0x21d53e['FTBRD'](_0xec79a8,_0x45a443);}if(_0x21d53e[_0x1e5f1c(0x20e)](_0x2c1d45,FRAMEWORKS[_0x1e5f1c(0x1d6)])){const _0x583083=_0x21d53e[_0x1e5f1c(0x1f4)](require,_0x21d53e[_0x1e5f1c(0x18c)]),_0xf80b5f=_0x3e1e35&&_0x583083[_0x1e5f1c(0x1e9)](_0x3e1e35['id'])||_0x20ae70[_0x1e5f1c(0x18f)];_0xf80b5f&&(_0x20ae70[_0x1e5f1c(0x18f)]=_0xf80b5f);const _0x407320=_0x21d53e[_0x1e5f1c(0x1b6)](_0x21d53e[_0x1e5f1c(0x22c)](_0x20ae70[_0x1e5f1c(0x23b)][_0x1e5f1c(0x19d)]('\x20'),'\x20'),_0x3e1e35['description']||_0x20ae70['name']),_0x384f95=globals['getGlobal'](_0x21d53e[_0x1e5f1c(0x187)])||accessibilityHelper[_0x1e5f1c(0x1b4)](_0x407320,![]),_0x17de4c=globals[_0x1e5f1c(0x1b0)](_0x21d53e[_0x1e5f1c(0x1a8)]);_0x1263b9[_0x21d53e[_0x1e5f1c(0x171)]]=_0x21d53e[_0x1e5f1c(0x17b)](_0x17de4c,_0x384f95);}if(_0x21d53e['oKeBU'](_0x2c1d45,FRAMEWORKS['PLAYWRIGHT'])){if(_0x21d53e[_0x1e5f1c(0x172)](_0x1c9f08,_0x21d53e[_0x1e5f1c(0x1a5)]))return;_0x1263b9[_0x21d53e[_0x1e5f1c(0x171)]]=PWTestDetails['getAccessibilityPlatformValidation'](_0x20ae70['uuid']);}if(_0x21d53e[_0x1e5f1c(0x1e8)](_0x2c1d45,FRAMEWORKS[_0x1e5f1c(0x1c4)])){const _0x5b00c0=accessibilityHelper[_0x1e5f1c(0x1b4)](_0x3e1e35[_0x1e5f1c(0x205)](),!![]),_0x5e51de=global[_0x1e5f1c(0x184)];_0x1263b9[_0x21d53e[_0x1e5f1c(0x171)]]=_0x21d53e[_0x1e5f1c(0x168)](_0x5e51de,_0x5b00c0);}if(_0x21d53e[_0x1e5f1c(0x202)](_0x2c1d45,FRAMEWORKS[_0x1e5f1c(0x214)])){const _0x2b00a5=accessibilityHelper[_0x1e5f1c(0x1b4)](null,![],_0x20ae70[_0x1e5f1c(0x18a)]),_0x25d8e3=globals[_0x1e5f1c(0x1b0)](_0x21d53e[_0x1e5f1c(0x1a8)]);_0x1263b9[_0x21d53e['TPIFL']]=_0x21d53e[_0x1e5f1c(0x1bb)](_0x25d8e3,_0x2b00a5);}_0x20ae70[_0x21d53e['iOPJa']]=_0x1263b9;}},exports[a172_0x1ee7e3(0x1e6)]=_0x160da5=>{const _0x24201f=a172_0x1ee7e3,_0x326800={};_0x326800[_0x24201f(0x1bd)]=function(_0x4af1ff,_0x39ab51){return _0x4af1ff>_0x39ab51;};const _0x2d26b1=_0x326800;let _0x25965c={};if(_0x2d26b1['thNXN'](Object[_0x24201f(0x174)](testData)[_0x24201f(0x1fc)],0x0))return testData;_0x25965c=JestTestDetails['getTestData']();if(_0x2d26b1['thNXN'](Object[_0x24201f(0x174)](_0x25965c)[_0x24201f(0x1fc)],0x0))return _0x25965c;return _0x25965c;},exports[a172_0x1ee7e3(0x181)]=(_0x2ac122,_0x44a70d={})=>{const _0x35bb87=a172_0x1ee7e3;if(bsSetupHelper[_0x35bb87(0x237)](_0x44a70d[_0x35bb87(0x240)]))return;switch(_0x2ac122){case FRAMEWORKS['MOCHA']:testData=_0x44a70d[_0x35bb87(0x240)];break;case FRAMEWORKS[_0x35bb87(0x17f)]:JestTestDetails[_0x35bb87(0x204)](_0x44a70d[_0x35bb87(0x240)]);break;case FRAMEWORKS[_0x35bb87(0x1d6)]:testData=_0x44a70d['test_run'];break;default:break;}},exports[a172_0x1ee7e3(0x208)]=_0x42254e=>{const _0x318280=a172_0x1ee7e3,_0x3b3365={};_0x3b3365[_0x318280(0x1bc)]=function(_0x5b2d81,_0x3c6143){return _0x5b2d81!==_0x3c6143;},_0x3b3365[_0x318280(0x1db)]=function(_0x1789d7,_0x445494){return _0x1789d7!==_0x445494;};const _0x2325f=_0x3b3365;if(_0x2325f[_0x318280(0x1bc)](_0x42254e['accessibility'],null)&&_0x2325f[_0x318280(0x1db)](_0x42254e['accessibility'],undefined))return _0x42254e['accessibility'];let _0x3bfbc2=![],_0x2f37e3=![];if(_0x42254e['platforms'])for(const _0x23b877 of _0x42254e[_0x318280(0x194)]){_0x2325f[_0x318280(0x1db)](_0x23b877['accessibility'],null)&&_0x2325f['vzRSU'](_0x23b877[_0x318280(0x1fb)],undefined)&&(_0x3bfbc2=_0x3bfbc2||bsSetupHelper['isTrue'](_0x23b877[_0x318280(0x1fb)]),_0x2f37e3=!![]);}if(_0x2f37e3)return _0x3bfbc2;return null;},exports[a172_0x1ee7e3(0x1ba)]=_0x5bd1db=>{const _0xb1ae9c=a172_0x1ee7e3;if(!_0x5bd1db)return{};const _0x42ae3a=new OrchestrationUtils(_0x5bd1db);return _0x42ae3a[_0xb1ae9c(0x16f)]();},exports[a172_0x1ee7e3(0x192)]=_0x32e276=>{const _0x1a2b73=a172_0x1ee7e3,_0x54cf7c={'xbSQg':function(_0x9e5c1b){return _0x9e5c1b();},'maEak':function(_0x179e09,_0x3fe9e0){return _0x179e09===_0x3fe9e0;},'ojRsD':'true'};let _0x4c8621=![],_0x3b1958=![];if(bsSetupHelper[_0x1a2b73(0x17e)]()&&bsSetupHelper['isAppAutomateSession'](_0x32e276))_0x3b1958=!![];else bsSetupHelper[_0x1a2b73(0x17e)]()&&(_0x4c8621=!![]);return Object['assign']({'observability':_0x54cf7c['xbSQg'](isTestObservabilitySession),'accessibility':exports[_0x1a2b73(0x208)](_0x32e276),'percy':_0x32e276['percy']||![],'sr_automation':_0x54cf7c['maEak'](process[_0x1a2b73(0x1af)][_0x1a2b73(0x197)],_0x54cf7c[_0x1a2b73(0x1de)])||_0x32e276[_0x1a2b73(0x191)]||![],'automate':_0x4c8621,'app_automate':_0x3b1958,'turboscale':bsSetupHelper[_0x1a2b73(0x20c)](_0x32e276),'lts':LoadTestModule[_0x1a2b73(0x239)](_0x32e276)},bsSetupHelper['getCentralUser']());};function a172_0x22db(){const _0x407db1=['CREDENTIALS_FOR_CRASH_REPORTING','NkOcp','YRCVr','command','test_run','3794310PgtzGn','232najfxX','../../bin/utils/constants.js','GcsBB','BGMyx','toJson','../ats/helper','HookRunStarted','XQYiC','startsWith','MOCHA','xNdlZ','LrhBV','FTBRD','name','error','LogCreated','../test-observability/constants.js','OCzMe','parse','getBuildStartData','fCslu','TPIFL','NqcCo','HookRunFinished','keys','errors','stringify','PAlJw','DEPRECATED','../accessibility-automation/scripts.js',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','lGNFo','10939940BiULCP','lWULB','isBrowserstackInfra','JEST','parseFromJson','setCurrentTestData','setPercyFlag','BS_TESTOPS_JWT','accessibilityPlatform','BS_TESTOPS_ALLOW_SCREENSHOTS','../helper','pQTOA','ERROR','1446652BBWNao','tags','split','OGxXu','IqeRF','getFrameworkDetails','uuid','qRSre','sr_automation','getProductMapForBuildStartCall','TestRunStarted','platforms','TEST_REPORTING_ANALYTICS','63CJuuVg','BROWSERSTACK_SR_AUTOMATION','shouldProcessEventForTesthub','ACCESSIBILITY','success','tUttY','jwt','join','\x20Build\x20creation\x20failed','BROWSERSTACK_TESTHUB_UUID:\x20','product_map','percy','getProductMap','../test-orchestration/orchestrationUtils.js','MoKTb','RgmZP','zrbLq','zQlDs','ZnwRP','OBSERVABILITY','argv','BROWSERSTACK_ACCESSIBILITY','config','XrfHI','goog:chromeOptions','env','getGlobal','username','commands','ZzPJS','shouldScanTestForAccessibility','observability','sNAVd','KZQzI','xOzDm','trim','getTestOrchestrationBuildStartData','yXTtV','vzRSU','thNXN','bstackA11yShouldScan','ptfxH','setTestHubCommonMetaInfo','EvgdJ','isAccessibilityPlatform','false','CODECEPT','1571199heyFuv','slice','FRAMEWORK_DETAILS','scannerVersion','../accessibility-automation/helper','BS_TESTOPS_BUILD_COMPLETED','../logger','../helper.js','../../bin/playwright/reporter/test-details.js','includes','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','getTestFrameworkDetails','isAppAutomateSession','69066dDAHsD','PBljN','isRunning','BROWSERSTACK_TEST_ACCESSIBILITY_YML','JASMINE','assign','parseA11yJwtPayload','BROWSERSTACK_PERCY','string','taEOV','ACCESS_DENIED','gCXPH','ojRsD','BZpbu','QyySy','1|3|2|4|0','handleErrorForObservability','./constants.js','testManagementOptions','null','getCurrentTestData','KlEdS','GXRIj','get','testPlanId','allow_screenshots','appendTesthubParams','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','PHHaw','isPercyBuild','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','BROWSERSTACK_TEST_PLAN_ID','ENV_VAR','rbGpX','BROWSERSTACK_TESTHUB_JWT','klWwd','INVALID_CREDENTIALS','true','nonBStackInfraA11yChromeOptions','handleErrorForAccessibility','accessibility','length','debug','uploadEventData','TyHiL','5vIncaF','password','VAszf','OKlAQ','setTestData','titlePath','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','WcLoa','getAccessibilityValueFromYml','getCentralUser','logBuildError','256860xWRREe','isTurboScaleSession','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','tLgTt','HxvAT','CupCH','HGUjT','isAccessibilityEnabled','toUpperCase','CUCUMBER','FVWca','TUzIe','../../bin/v2/modules/loadTestModule','forEach','GSqGs','toString','message','BoVzn','isTrue','options','CBTSessionCreated','setTestObservabilityVariables','477351JolnXj','IAxoV','GswqO','ZRkUL','OsMmV','value','BROWSERSTACK_TESTHUB_UUID','BS_TESTOPS_BUILD_HASHED_ID','mNPgg','build_hashed_id','kUEnR','suMRz','qQADI','YiAda','1|0|3|5|2|4','gBsMq','qLoPu','hxujI','capabilities','NGVWc','info','getTestPlanId','isUndefined','XQoVa','isLTSSession','hCvqA','scopes'];a172_0x22db=function(){return _0x407db1;};return a172_0x22db();}function a172_0xcf59(_0x420bb5,_0x536554){const _0x22db8e=a172_0x22db();return a172_0xcf59=function(_0xcf5997,_0x21fd7e){_0xcf5997=_0xcf5997-0x168;let _0x4f9cba=_0x22db8e[_0xcf5997];return _0x4f9cba;},a172_0xcf59(_0x420bb5,_0x536554);}const normalizeTestPlanId=_0x180301=>{const _0x4eb0dc=a172_0x1ee7e3,_0x44c6c5={};_0x44c6c5[_0x4eb0dc(0x1e0)]=function(_0xb92ca4,_0x34fdf3){return _0xb92ca4!==_0x34fdf3;},_0x44c6c5['PAlJw']=_0x4eb0dc(0x1da),_0x44c6c5[_0x4eb0dc(0x1a4)]=function(_0x40222a,_0x1dc244){return _0x40222a>_0x1dc244;};const _0x314b66=_0x44c6c5;if(_0x314b66[_0x4eb0dc(0x1e0)](typeof _0x180301,_0x314b66[_0x4eb0dc(0x177)]))return undefined;const _0xec8c1b=_0x180301[_0x4eb0dc(0x1b9)]();return _0x314b66['MoKTb'](_0xec8c1b[_0x4eb0dc(0x1fc)],0x0)?_0xec8c1b:undefined;},readTestPlanIdFromCliArgs=(_0x1500b0=process[a172_0x1ee7e3(0x1aa)])=>{const _0x3de5c8=a172_0x1ee7e3,_0x594718={};_0x594718['YPSJd']=function(_0x1343cc,_0x37dce2){return _0x1343cc<_0x37dce2;},_0x594718[_0x3de5c8(0x249)]=function(_0x1ac895,_0x4262f5){return _0x1ac895===_0x4262f5;},_0x594718[_0x3de5c8(0x1a6)]=function(_0x2272bf,_0x110a86){return _0x2272bf+_0x110a86;},_0x594718[_0x3de5c8(0x16d)]=function(_0x2cd463,_0x106ee2){return _0x2cd463+_0x106ee2;};const _0x4b2b8b=_0x594718,_0x23e75e='--'+testHubConstants[_0x3de5c8(0x1ee)];for(let _0x3bf4c0=0x0;_0x4b2b8b['YPSJd'](_0x3bf4c0,_0x1500b0[_0x3de5c8(0x1fc)]);_0x3bf4c0+=0x1){const _0x583fdb=_0x1500b0[_0x3bf4c0];if(_0x4b2b8b[_0x3de5c8(0x249)](_0x583fdb,_0x23e75e)){const _0x1e8a73=_0x1500b0[_0x4b2b8b[_0x3de5c8(0x1a6)](_0x3bf4c0,0x1)];if(!_0x1e8a73||_0x1e8a73[_0x3de5c8(0x24a)]('--'))return undefined;return _0x1e8a73;}if(_0x583fdb[_0x3de5c8(0x24a)](_0x23e75e+'='))return _0x583fdb[_0x3de5c8(0x1c6)](_0x4b2b8b[_0x3de5c8(0x16d)](_0x23e75e['length'],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x37d356={})=>{const _0x231e77=a172_0x1ee7e3,_0x2417ad={'kUEnR':function(_0x52acca,_0x58c59b){return _0x52acca(_0x58c59b);}};return _0x2417ad[_0x231e77(0x22b)](normalizeTestPlanId,_0x37d356&&_0x37d356['testManagementOptions']&&_0x37d356[_0x231e77(0x1e4)][_0x231e77(0x1ea)]);};exports[a172_0x1ee7e3(0x236)]=(_0x3d357e={},_0x39a30f=process[a172_0x1ee7e3(0x1aa)],_0x9734f5=process[a172_0x1ee7e3(0x1af)])=>{const _0xb982a4=a172_0x1ee7e3,_0x3ab2a4={'PBljN':function(_0x1b5124,_0x182914){return _0x1b5124(_0x182914);},'gYRRh':function(_0xdcd2c7,_0x5c5524){return _0xdcd2c7(_0x5c5524);},'KZQzI':function(_0x1d3678,_0x506430){return _0x1d3678(_0x506430);},'ZzPJS':function(_0x300a63,_0x49088d){return _0x300a63(_0x49088d);}};try{const _0x92f3df=_0x3ab2a4[_0xb982a4(0x1d3)](normalizeTestPlanId,_0x3ab2a4['gYRRh'](readTestPlanIdFromCliArgs,_0x39a30f));if(_0x92f3df)return _0x92f3df;const _0x1bf9f8=_0x3ab2a4[_0xb982a4(0x1b7)](normalizeTestPlanId,_0x9734f5&&_0x9734f5[testHubConstants[_0xb982a4(0x1f3)][_0xb982a4(0x1f2)]]);if(_0x1bf9f8)return _0x1bf9f8;return _0x3ab2a4[_0xb982a4(0x1b3)](readTestPlanIdFromConfig,_0x3d357e);}catch(_0x502b8f){return logger[_0xb982a4(0x1fd)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x502b8f&&_0x502b8f[_0xb982a4(0x21b)]?_0x502b8f[_0xb982a4(0x21b)]:_0x502b8f)),undefined;}};
|
|
1
|
+
const a168_0x262246=a168_0x159f;(function(_0x35a0b7,_0x4fc780){const _0x407557=a168_0x159f,_0x3bea0=_0x35a0b7();while(!![]){try{const _0x122e68=parseInt(_0x407557(0x141))/0x1*(parseInt(_0x407557(0x18e))/0x2)+-parseInt(_0x407557(0x13a))/0x3+parseInt(_0x407557(0x194))/0x4*(parseInt(_0x407557(0x144))/0x5)+-parseInt(_0x407557(0x12c))/0x6*(-parseInt(_0x407557(0x123))/0x7)+-parseInt(_0x407557(0x154))/0x8+parseInt(_0x407557(0x128))/0x9*(-parseInt(_0x407557(0x176))/0xa)+-parseInt(_0x407557(0x14c))/0xb*(parseInt(_0x407557(0x174))/0xc);if(_0x122e68===_0x4fc780)break;else _0x3bea0['push'](_0x3bea0['shift']());}catch(_0x4162b0){_0x3bea0['push'](_0x3bea0['shift']());}}}(a168_0x5849,0xd5533));const bsSetupHelper=require('../helper'),LoadTestModule=require(a168_0x262246(0x1cc)),{isTestObservabilitySession,getFrameworkVersion}=require(a168_0x262246(0x142)),accessibilityHelper=require(a168_0x262246(0x114)),logger=require(a168_0x262246(0x19a))['winstonLogger'],{nestedKeyValue}=require('../helper.js'),scripts=require(a168_0x262246(0x155)),globals=require(a168_0x262246(0x1ad)),testHubConstants=require(a168_0x262246(0x1d8)),PWTestDetails=require('../../bin/playwright/reporter/test-details.js'),JestTestDetails=require(a168_0x262246(0x1e4)),{FRAMEWORKS}=require(a168_0x262246(0x1c4)),{isTurboScaleSession}=require(a168_0x262246(0x1bd)),OrchestrationUtils=require(a168_0x262246(0x1db)),constants=require(a168_0x262246(0x1a2));let testData={};function a168_0x5849(){const _0x3e4fd1=['goog:chromeOptions','JASMINE','VXlEp','OSXOk','config','ERROR','XsBUN','scripts','slice','exVlR','qIBpM','rcGoa','LpFLh','12AyybvL','getTestData','debug','setTestObservabilityVariables','commands','JqZfd','6986404rUxCwN','HpqDu','TCkaf','AvrVx','TEST_REPORTING_ANALYTICS','username','../logger','BROWSERSTACK_SR_AUTOMATION','ieHfA','isBrowserstackInfra','command','xUmBg','sr_automation','getTestPlanId','../../bin/utils/constants.js','logBuildError','getTestFrameworkDetails','handleErrorForObservability','isTrue','CtwWo','JEST','MOCHA','getProductMapForBuildStartCall','handleErrorForAccessibility','getGlobal','../globals.js','jAWwI','XViak','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','dNWwv','BS_TESTOPS_JWT','vikzj','BROWSERSTACK_ACCESSIBILITY','Rgsck','message','wnsNe','scopes','getProductMap','keys','isAppAutomateSession','../ats/helper','nHhbE','setAccessibilityVariables','getCentralUser','prUkR','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','stringify','../test-observability/constants.js','FuCJy','password','InuYZ','uuid','UMNRs','checkAccessibilityPlatformConfig','length','../../bin/v2/modules/loadTestModule','skipCDPConnectOverride','testPlanId','javascript','nonBStackInfraA11yChromeOptions','parseA11yJwtPayload','bEyAb','isLTSSession','CUJJa','LogCreated','yctNR','vZCLH','./constants.js','rtnmN','parse','../test-orchestration/orchestrationUtils.js','QdxLS','PlYOU','rhOqc','tjeJj','appendTesthubParams','errors','sCKLV','platforms','../../bin/jest/test-observability/test-details.js','tags','3|4|5|1|0|2','OQDBG','BROWSERSTACK_PERCY','../accessibility-automation/helper','shouldProcessEventForTesthub','getCurrentTestData','INVALID_CREDENTIALS','EZIRm','FRAMEWORK_DETAILS','NACmY','argv','eZBPF','KhoRu','BROWSERSTACK_TESTHUB_JWT','test_run','split','allow_screenshots','pmLBT','7XuCkhH','llzFw','true','ACCESS_DENIED','shouldScanTestForAccessibility','1818caALeF','isAccessibilityPlatform','accessibility','KcVCn','8665992gqqiHP','toJson','CPubR','../../bin/jasmine/testRunMap.js','WCQvW','BUQXS','BS_TESTOPS_BUILD_HASHED_ID','getFrameworkDetails','BS_TESTOPS_ALLOW_SCREENSHOTS','2|0|5|4|3|1|6','assign','zRcZk','null','startsWith','3766512XEpUCQ','setTestHubCommonMetaInfo','env','HookRunFinished','error','forEach','getAccessibilityValueFromYml','43704MzoPhh','../test-observability/utils','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','5XrfBPw','getAgentVersion','build_hashed_id','tspQX','xsDyE','Elvpx','Uyamu','bstackA11yShouldScan','465872iqrybw','niIBd','false','isPercyBuild','BS_A11Y_JWT','BROWSERSTACK_TEST_PLAN_ID','KDBFB','NZtXK','3655696YgSZEz','../accessibility-automation/scripts.js','OHOay','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','ENV_VAR','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','join','CREDENTIALS_FOR_CRASH_REPORTING','toUpperCase','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','isTurboScaleSession','HookRunStarted','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isAccessibilityEnabled','oEBfQ','IshsZ','BROWSERSTACK_TESTHUB_UUID','uTVMR','JUruX','BROWSERSTACK_TESTHUB_UUID:\x20','success','parseFromJson','uSEKq','XpwFE','info','hMtyc','RTkLw','percy','product_map','iYXfK','options','name','84iDawci','get','28240sjHBhD','rZdNg','scannerVersion','TestRunStarted','trim','jwt','BS_TESTOPS_BUILD_COMPLETED','includes','observability','WBsWq','isUndefined'];a168_0x5849=function(){return _0x3e4fd1;};return a168_0x5849();}function a168_0x159f(_0x1889a5,_0x44b3a0){const _0x58498c=a168_0x5849();return a168_0x159f=function(_0x159fc1,_0x37f2d3){_0x159fc1=_0x159fc1-0x113;let _0x4977a4=_0x58498c[_0x159fc1];return _0x4977a4;},a168_0x159f(_0x1889a5,_0x44b3a0);}exports[a168_0x262246(0x1ba)]=_0x46be00=>{const _0x1f3180=a168_0x262246,_0x29411f={'HpqDu':function(_0x412478){return _0x412478();},'vZCLH':function(_0x2734ff,_0x13ce95){return _0x2734ff===_0x13ce95;},'FuCJy':'true'};let _0x598589=![],_0x37bc39=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper[_0x1f3180(0x1bc)](_0x46be00))_0x37bc39=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x598589=!![]);return Object[_0x1f3180(0x136)]({'observability':_0x29411f[_0x1f3180(0x195)](isTestObservabilitySession),'accessibility':exports[_0x1f3180(0x161)](_0x46be00),'percy':_0x46be00[_0x1f3180(0x16f)]||![],'sr_automation':_0x29411f[_0x1f3180(0x1d7)](process[_0x1f3180(0x13c)]['BROWSERSTACK_SR_AUTOMATION'],_0x29411f[_0x1f3180(0x1c5)])||_0x46be00[_0x1f3180(0x1a0)]||![],'automate':_0x598589,'app_automate':_0x37bc39,'turboscale':bsSetupHelper[_0x1f3180(0x15e)](_0x46be00),'lts':LoadTestModule[_0x1f3180(0x1d3)](_0x46be00)},bsSetupHelper['getCentralUser']());},exports[a168_0x262246(0x133)]=(_0x55e4e6,_0x46d969)=>{const _0x1f8808=a168_0x262246,_0x39c68a={'CPubR':function(_0x521279,_0x52cd9d){return _0x521279(_0x52cd9d);},'exVlR':_0x1f8808(0x1cf)},_0x488d9e={'frameworkName':_0x46d969,'frameworkVersion':_0x39c68a[_0x1f8808(0x12e)](getFrameworkVersion,_0x46d969),'sdkVersion':bsSetupHelper[_0x1f8808(0x145)](),'language':_0x39c68a[_0x1f8808(0x18a)],'testFramework':bsSetupHelper[_0x1f8808(0x1a4)](_0x55e4e6,_0x46d969)};return process[_0x1f8808(0x13c)][_0x1f8808(0x119)]=JSON[_0x1f8808(0x1c3)](_0x488d9e),_0x488d9e;},exports['setPercyFlag']=_0x438e45=>{const _0x32da2e=a168_0x262246,_0x4f063b={};_0x4f063b['dTpax']=_0x32da2e(0x14e),_0x4f063b['bEyAb']=_0x32da2e(0x125);const _0x5a8c22=_0x4f063b;process['env']['BROWSERSTACK_PERCY']=_0x5a8c22['dTpax'],bsSetupHelper[_0x32da2e(0x1a6)](_0x438e45[_0x32da2e(0x185)][_0x32da2e(0x16f)])&&(!_0x438e45[_0x32da2e(0x16f)]||!_0x438e45['percy']['isRunning']())&&(process[_0x32da2e(0x13c)][_0x32da2e(0x113)]=_0x5a8c22[_0x32da2e(0x1d2)]);},exports[a168_0x262246(0x14f)]=()=>{const _0x2952cd=a168_0x262246;return bsSetupHelper[_0x2952cd(0x1a6)](process[_0x2952cd(0x13c)]['BROWSERSTACK_PERCY']);},exports[a168_0x262246(0x161)]=(_0x5af9f6={})=>{const _0x4a9eab=a168_0x262246,_0x20737b={};_0x20737b[_0x4a9eab(0x16b)]=function(_0xcc6ef2,_0x382057){return _0xcc6ef2!==_0x382057;},_0x20737b[_0x4a9eab(0x162)]=function(_0x5e155a,_0x341ae8){return _0x5e155a===_0x341ae8;},_0x20737b[_0x4a9eab(0x1c1)]=_0x4a9eab(0x125),_0x20737b[_0x4a9eab(0x1dd)]=function(_0x2bdf69,_0x480875){return _0x2bdf69>_0x480875;},_0x20737b[_0x4a9eab(0x14a)]=function(_0x196267,_0x29ce5d){return _0x196267===_0x29ce5d;};const _0x4aa9ab=_0x20737b;if(_0x4aa9ab[_0x4a9eab(0x16b)](process[_0x4a9eab(0x13c)][_0x4a9eab(0x1b5)],undefined))return bsSetupHelper[_0x4a9eab(0x1a6)](process['env']['BROWSERSTACK_ACCESSIBILITY']);let _0x42623e=_0x4aa9ab[_0x4a9eab(0x162)](process['env'][_0x4a9eab(0x160)],_0x4aa9ab[_0x4a9eab(0x1c1)]);return _0x4aa9ab[_0x4a9eab(0x1dd)](Object[_0x4a9eab(0x1bb)](_0x5af9f6)[_0x4a9eab(0x1cb)],0x0)&&(process[_0x4a9eab(0x13c)][_0x4a9eab(0x159)]=accessibilityHelper[_0x4a9eab(0x1ca)](_0x5af9f6)),_0x42623e=_0x42623e||_0x4aa9ab[_0x4a9eab(0x14a)](process[_0x4a9eab(0x13c)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x4aa9ab['prUkR']),_0x42623e;},exports[a168_0x262246(0x191)]=(_0x2c6ca6,_0x2f717c)=>{const _0x4f257a=a168_0x262246,_0x1612d3={'YUyFU':function(_0x2d6064){return _0x2d6064();},'Ygzud':_0x4f257a(0x1e6),'CrxqW':function(_0x58f07f,_0x354121,_0x49649c){return _0x58f07f(_0x354121,_0x49649c);},'pmLBT':_0x4f257a(0x17e),'VXlEp':'options','iYXfK':_0x4f257a(0x125)};if(!_0x2c6ca6||!_0x2c6ca6['observability'])return exports[_0x4f257a(0x1a5)](),[null,null,null];if(!_0x2c6ca6[_0x4f257a(0x17e)][_0x4f257a(0x168)])return exports['handleErrorForObservability'](_0x2c6ca6[_0x4f257a(0x17e)]),[null,null,null];if(_0x1612d3['YUyFU'](isTestObservabilitySession)){const _0x4c69dc=_0x1612d3['Ygzud']['split']('|');let _0x49e0ee=0x0;while(!![]){switch(_0x4c69dc[_0x49e0ee++]){case'0':logger[_0x4f257a(0x190)]('['+constants[_0x4f257a(0x198)]+']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x2c6ca6['build_hashed_id']);continue;case'1':_0x1612d3['CrxqW'](nestedKeyValue,_0x2c6ca6,[_0x1612d3[_0x4f257a(0x122)],_0x1612d3[_0x4f257a(0x183)]])&&(process[_0x4f257a(0x13c)][_0x4f257a(0x134)]=_0x2c6ca6[_0x4f257a(0x17e)][_0x4f257a(0x172)][_0x4f257a(0x121)]['toString']());continue;case'2':return[_0x2c6ca6[_0x4f257a(0x17b)],_0x2c6ca6[_0x4f257a(0x146)],process['env'][_0x4f257a(0x134)]];case'3':process['env'][_0x4f257a(0x17c)]=_0x1612d3[_0x4f257a(0x171)];continue;case'4':if(_0x2c6ca6[_0x4f257a(0x17b)]){process[_0x4f257a(0x13c)][_0x4f257a(0x1b3)]=_0x2c6ca6['jwt'];const _0x56d06d={};_0x56d06d[_0x4f257a(0x199)]=_0x2f717c[_0x4f257a(0x199)],_0x56d06d['password']=_0x2f717c[_0x4f257a(0x1c6)],process[_0x4f257a(0x13c)][_0x4f257a(0x15b)]=JSON['stringify'](_0x56d06d);}continue;case'5':_0x2c6ca6['build_hashed_id']&&(process[_0x4f257a(0x13c)][_0x4f257a(0x132)]=_0x2c6ca6[_0x4f257a(0x146)]);continue;}break;}}return[null,null,null];},exports[a168_0x262246(0x1bf)]=_0xd097fa=>{const _0x16cc8c=a168_0x262246,_0x7d644e={'NACmY':function(_0x4417ef,_0x16def9,_0x228a33){return _0x4417ef(_0x16def9,_0x228a33);},'aLKwT':_0x16cc8c(0x12a),'jAWwI':_0x16cc8c(0x172),'QdxLS':function(_0x4b68b3,_0x1dd8fd,_0x2a0dd0,_0x19662f){return _0x4b68b3(_0x1dd8fd,_0x2a0dd0,_0x19662f);},'niIBd':_0x16cc8c(0x173),'vikzj':'value','rEFCY':function(_0x2ca2e8,_0x40ffc3,_0x4a5e6e,_0x129203){return _0x2ca2e8(_0x40ffc3,_0x4a5e6e,_0x129203);},'hvOEw':_0x16cc8c(0x19e),'KDBFB':_0x16cc8c(0x192),'rtnmN':function(_0x43278c,_0x4461d8,_0x9fef87,_0x5b0086){return _0x43278c(_0x4461d8,_0x9fef87,_0x5b0086);},'YyNeY':_0x16cc8c(0x1d0),'RTkLw':_0x16cc8c(0x181),'yctNR':function(_0x30524f,_0x43390e){return _0x30524f(_0x43390e);},'sCKLV':function(_0x1bec12,_0x1c80b5){return _0x1bec12===_0x1c80b5;},'xsDyE':function(_0x4e2284,_0xb12dc5){return _0x4e2284===_0xb12dc5;},'eZBPF':'true','uyVgv':_0x16cc8c(0x1b1)};if(!_0xd097fa['accessibility'])return exports[_0x16cc8c(0x1ab)](),[null,null];if(!_0xd097fa[_0x16cc8c(0x12a)]['success'])return exports[_0x16cc8c(0x1ab)](_0xd097fa[_0x16cc8c(0x12a)]),[null,null];if(_0x7d644e[_0x16cc8c(0x11a)](nestedKeyValue,_0xd097fa,[_0x7d644e['aLKwT'],_0x7d644e[_0x16cc8c(0x1ae)]])){const {accessibilityToken:_0x11fa0c,scannerVersion:_0x4740dc,scannerProcessingTimeout:_0x23c9ca,isMobileScanningEnabledForGroup:_0x225ef6}=_0x7d644e[_0x16cc8c(0x1dc)](jsonifyAccessibilityArray,_0xd097fa['accessibility'][_0x16cc8c(0x172)]['capabilities'],_0x7d644e[_0x16cc8c(0x14d)],_0x7d644e['vikzj']),_0x3acb79={'scripts':_0x7d644e['rEFCY'](jsonifyAccessibilityArray,_0xd097fa['accessibility']['options'][_0x16cc8c(0x188)],_0x7d644e['niIBd'],_0x7d644e['hvOEw'])};_0x3acb79[_0x7d644e[_0x16cc8c(0x152)]]=_0xd097fa[_0x16cc8c(0x12a)]['options']['commandsToWrap'][_0x16cc8c(0x192)];const _0x4bc11a=_0x7d644e[_0x16cc8c(0x1d9)](jsonifyAccessibilityArray,_0xd097fa['accessibility'][_0x16cc8c(0x172)]['capabilities'],_0x7d644e[_0x16cc8c(0x14d)],_0x7d644e[_0x16cc8c(0x1b4)]);_0x3acb79[_0x7d644e['YyNeY']]=_0x4bc11a[_0x7d644e[_0x16cc8c(0x16e)]],scripts[_0x16cc8c(0x169)](_0x3acb79),scripts[_0x16cc8c(0x12d)]();let _0x5ef68a=process[_0x16cc8c(0x13c)][_0x16cc8c(0x143)];_0x5ef68a=!!_0x5ef68a?JSON[_0x16cc8c(0x1da)](_0x5ef68a):{},_0x5ef68a[_0x16cc8c(0x178)]=_0x4740dc,process[_0x16cc8c(0x13c)][_0x16cc8c(0x143)]=JSON[_0x16cc8c(0x1c3)](_0x5ef68a),process[_0x16cc8c(0x13c)][_0x16cc8c(0x150)]=_0x11fa0c,process[_0x16cc8c(0x13c)][_0x16cc8c(0x157)]=_0x7d644e[_0x16cc8c(0x1d6)](String,_0x7d644e[_0x16cc8c(0x1e2)](_0x225ef6,!![])||_0x7d644e[_0x16cc8c(0x148)](_0x225ef6,_0x7d644e[_0x16cc8c(0x11c)])),logger[_0x16cc8c(0x190)](_0x16cc8c(0x15d)+_0xd097fa[_0x16cc8c(0x146)]);const _0x5a105a=accessibilityHelper[_0x16cc8c(0x1d1)](_0x11fa0c);return _0x5a105a&&bsSetupHelper['isTrue'](_0x5a105a[_0x16cc8c(0x1cd)])&&(process[_0x16cc8c(0x13c)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger[_0x16cc8c(0x190)](_0x7d644e['uyVgv'])),[_0x11fa0c,_0xd097fa[_0x16cc8c(0x146)],_0x23c9ca];}return[null,null];},exports[a168_0x262246(0x1a5)]=_0x10f3cc=>{const _0x36b2d7=a168_0x262246,_0x10f801={};_0x10f801['PHJYB']=_0x36b2d7(0x135),_0x10f801['JUruX']=_0x36b2d7(0x138),_0x10f801[_0x36b2d7(0x1df)]=_0x36b2d7(0x14e);const _0x5a0643=_0x10f801,_0x242588=_0x5a0643['PHJYB']['split']('|');let _0x151c6d=0x0;while(!![]){switch(_0x242588[_0x151c6d++]){case'0':process[_0x36b2d7(0x13c)]['BROWSERSTACK_TESTHUB_JWT']=_0x5a0643[_0x36b2d7(0x166)];continue;case'1':process['env'][_0x36b2d7(0x134)]=_0x5a0643[_0x36b2d7(0x166)];continue;case'2':process[_0x36b2d7(0x13c)]['BROWSERSTACK_TESTHUB_UUID']=_0x5a0643[_0x36b2d7(0x166)];continue;case'3':process[_0x36b2d7(0x13c)][_0x36b2d7(0x132)]=_0x5a0643[_0x36b2d7(0x166)];continue;case'4':process[_0x36b2d7(0x13c)]['BS_TESTOPS_JWT']=_0x5a0643[_0x36b2d7(0x166)];continue;case'5':process['env'][_0x36b2d7(0x17c)]=_0x5a0643[_0x36b2d7(0x1df)];continue;case'6':exports[_0x36b2d7(0x1a3)](_0x10f3cc,testHubConstants['OBSERVABILITY']);continue;}break;}},exports['handleErrorForAccessibility']=_0x582f53=>{const _0x5cda0f=a168_0x262246,_0x104904={};_0x104904[_0x5cda0f(0x1e7)]='0|3|2|1|4',_0x104904['uTVMR']='null',_0x104904[_0x5cda0f(0x1be)]=_0x5cda0f(0x14e);const _0x3fd5aa=_0x104904,_0x1fdfa9=_0x3fd5aa[_0x5cda0f(0x1e7)][_0x5cda0f(0x120)]('|');let _0x2852a5=0x0;while(!![]){switch(_0x1fdfa9[_0x2852a5++]){case'0':process[_0x5cda0f(0x13c)][_0x5cda0f(0x164)]=_0x3fd5aa[_0x5cda0f(0x165)];continue;case'1':process[_0x5cda0f(0x13c)][_0x5cda0f(0x159)]=_0x3fd5aa[_0x5cda0f(0x1be)];continue;case'2':process[_0x5cda0f(0x13c)][_0x5cda0f(0x160)]=_0x3fd5aa[_0x5cda0f(0x1be)];continue;case'3':process[_0x5cda0f(0x13c)][_0x5cda0f(0x11e)]=_0x3fd5aa['uTVMR'];continue;case'4':exports[_0x5cda0f(0x1a3)](_0x582f53,testHubConstants['ACCESSIBILITY']);continue;}break;}},exports[a168_0x262246(0x1a3)]=(_0x4f9213,_0x412797='')=>{const _0xe4cd15=a168_0x262246,_0x3543fe={};_0x3543fe[_0xe4cd15(0x131)]=function(_0x476180,_0x12f391){return _0x476180===_0x12f391;};const _0x8ec7d3=_0x3543fe;if(_0x8ec7d3[_0xe4cd15(0x131)](_0x4f9213,undefined)){logger['error'](_0x412797[_0xe4cd15(0x15c)]()+'\x20Build\x20creation\x20failed');return;}for(const _0x4e2f9e of _0x4f9213[_0xe4cd15(0x1e1)]){const _0x1a45da=_0x4e2f9e['key'],_0x217313=_0x4e2f9e[_0xe4cd15(0x1b7)];if(_0x217313)switch(_0x1a45da){case testHubConstants[_0xe4cd15(0x186)][_0xe4cd15(0x117)]:logger[_0xe4cd15(0x13e)](_0x217313);break;case testHubConstants[_0xe4cd15(0x186)][_0xe4cd15(0x126)]:logger[_0xe4cd15(0x16c)](_0x217313);break;case testHubConstants[_0xe4cd15(0x186)]['DEPRECATED']:logger[_0xe4cd15(0x13e)](_0x217313);break;default:logger['error'](_0x217313);}}};const jsonifyAccessibilityArray=(_0xeaca59,_0x49ef58,_0x2fca8e)=>{const _0x3bed17=a168_0x262246,_0x142dc7={};return _0xeaca59[_0x3bed17(0x13f)](_0x2ae0fb=>{_0x142dc7[_0x2ae0fb[_0x49ef58]]=_0x2ae0fb[_0x2fca8e];}),_0x142dc7;};exports[a168_0x262246(0x13b)]=_0x21d19b=>{const _0x495e47=a168_0x262246;_0x21d19b[_0x495e47(0x17b)]&&(process[_0x495e47(0x13c)][_0x495e47(0x11e)]=_0x21d19b[_0x495e47(0x17b)]);_0x21d19b['build_hashed_id']&&(process[_0x495e47(0x13c)][_0x495e47(0x164)]=_0x21d19b['build_hashed_id'],logger[_0x495e47(0x190)](_0x495e47(0x167)+_0x21d19b['build_hashed_id']));;},exports[a168_0x262246(0x115)]=(_0x359352='',_0x4836c8='')=>{const _0x40c753=a168_0x262246,_0xe166eb={'Elvpx':function(_0x1c8336){return _0x1c8336();},'qIBpM':function(_0x2968e7,_0x53d8e1){return _0x2968e7===_0x53d8e1;},'UMNRs':'uploadEventData','WBsWq':_0x40c753(0x1d5),'rCoVr':'CBTSessionCreated','KcVCn':_0x40c753(0x15f),'ieHfA':_0x40c753(0x13d),'svRdT':function(_0x507ff6){return _0x507ff6();}};if(exports[_0x40c753(0x14f)]()&&!exports[_0x40c753(0x161)]()&&!_0xe166eb[_0x40c753(0x149)](isTestObservabilitySession)){if(_0xe166eb[_0x40c753(0x18b)](_0x4836c8,_0xe166eb[_0x40c753(0x1c9)]))return![];if([_0xe166eb[_0x40c753(0x17f)],_0xe166eb['rCoVr']][_0x40c753(0x17d)](_0x359352))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0xe166eb[_0x40c753(0x149)](isTestObservabilitySession)){if([_0xe166eb[_0x40c753(0x12b)],_0xe166eb[_0x40c753(0x19c)],_0xe166eb[_0x40c753(0x17f)]][_0x40c753(0x17d)](_0x359352))return![];return!![];}return exports['isAccessibilityEnabled']()||_0xe166eb['svRdT'](isTestObservabilitySession)||exports[_0x40c753(0x14f)]();},exports[a168_0x262246(0x1e0)]=(_0x480f7d,_0x10f3ce,_0x5e160a='',_0x606825)=>{const _0x1f02ee=a168_0x262246,_0x311b1a={'llzFw':_0x1f02ee(0x15f),'EZIRm':_0x1f02ee(0x13d),'WCQvW':function(_0x494203,_0xe4476f){return _0x494203===_0xe4476f;},'LpFLh':_0x1f02ee(0x14b),'zRcZk':_0x1f02ee(0x129),'TCkaf':_0x1f02ee(0x12a),'hMtyc':function(_0x4e7dc7,_0x22f51c){return _0x4e7dc7&&_0x22f51c;},'CUJJa':function(_0xc14bf5,_0x53c5fc){return _0xc14bf5===_0x53c5fc;},'KhoRu':function(_0x57cd3c,_0x9cf97f){return _0x57cd3c+_0x9cf97f;},'Rgsck':function(_0x5a2668,_0x38fa3c){return _0x5a2668+_0x38fa3c;},'tspQX':function(_0x5a7f37,_0x17951d){return _0x5a7f37&&_0x17951d;},'rADpZ':function(_0x5817a4,_0x3b3f58){return _0x5817a4(_0x3b3f58);},'aQFKV':_0x1f02ee(0x12f),'dNWwv':function(_0x1b94c4,_0x233143){return _0x1b94c4&&_0x233143;},'rZdNg':function(_0x162e8b,_0x3b18a9){return _0x162e8b===_0x3b18a9;},'wnsNe':_0x1f02ee(0x179),'OHOay':_0x1f02ee(0x170)};if(![_0x311b1a[_0x1f02ee(0x124)],_0x311b1a[_0x1f02ee(0x118)]][_0x1f02ee(0x17d)](_0x10f3ce)&&exports[_0x1f02ee(0x161)]()){const _0x398b58={};if(_0x311b1a['WCQvW'](_0x606825,FRAMEWORKS[_0x1f02ee(0x1a9)])){const _0x208835=globals[_0x1f02ee(0x1ac)](_0x311b1a[_0x1f02ee(0x18d)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x5e160a['titlePath'](),!![]),_0x5bd716=globals[_0x1f02ee(0x1ac)](_0x311b1a[_0x1f02ee(0x137)]);_0x398b58[_0x311b1a[_0x1f02ee(0x196)]]=_0x311b1a[_0x1f02ee(0x16d)](_0x5bd716,_0x208835);}if(_0x311b1a[_0x1f02ee(0x1d4)](_0x606825,FRAMEWORKS[_0x1f02ee(0x1a8)])){const _0x4998bf=_0x311b1a[_0x1f02ee(0x11d)](_0x311b1a[_0x1f02ee(0x1b6)](_0x480f7d['scopes']['join']('\x20'),'\x20'),_0x5e160a[_0x1f02ee(0x173)]),_0x272c02=globals[_0x1f02ee(0x1ac)](_0x311b1a[_0x1f02ee(0x18d)])||accessibilityHelper[_0x1f02ee(0x127)](_0x4998bf,![]),_0x487e7a=browserStackGlobals[_0x1f02ee(0x129)];_0x398b58[_0x311b1a[_0x1f02ee(0x196)]]=_0x311b1a[_0x1f02ee(0x147)](_0x487e7a,_0x272c02);}if(_0x311b1a[_0x1f02ee(0x130)](_0x606825,FRAMEWORKS[_0x1f02ee(0x182)])){const _0x2637b6=_0x311b1a['rADpZ'](require,_0x311b1a['aQFKV']),_0x79e896=_0x5e160a&&_0x2637b6[_0x1f02ee(0x175)](_0x5e160a['id'])||_0x480f7d['uuid'];_0x79e896&&(_0x480f7d['uuid']=_0x79e896);const _0x1a9d90=_0x311b1a[_0x1f02ee(0x11d)](_0x311b1a[_0x1f02ee(0x11d)](_0x480f7d[_0x1f02ee(0x1b9)][_0x1f02ee(0x15a)]('\x20'),'\x20'),_0x5e160a['description']||_0x480f7d[_0x1f02ee(0x173)]),_0x2673cb=globals[_0x1f02ee(0x1ac)](_0x311b1a['LpFLh'])||accessibilityHelper[_0x1f02ee(0x127)](_0x1a9d90,![]),_0x4c9d0c=globals['getGlobal'](_0x311b1a[_0x1f02ee(0x137)]);_0x398b58[_0x311b1a['TCkaf']]=_0x311b1a[_0x1f02ee(0x1b2)](_0x4c9d0c,_0x2673cb);}if(_0x311b1a[_0x1f02ee(0x130)](_0x606825,FRAMEWORKS['PLAYWRIGHT'])){if(_0x311b1a[_0x1f02ee(0x177)](_0x10f3ce,_0x311b1a[_0x1f02ee(0x1b8)]))return;_0x398b58[_0x311b1a[_0x1f02ee(0x196)]]=PWTestDetails['getAccessibilityPlatformValidation'](_0x480f7d[_0x1f02ee(0x1c8)]);}if(_0x311b1a['WCQvW'](_0x606825,FRAMEWORKS['CODECEPT'])){const _0xc2d17c=accessibilityHelper['shouldScanTestForAccessibility'](_0x5e160a['titlePath'](),!![]),_0x3fd410=global['accessibilityPlatform'];_0x398b58[_0x311b1a[_0x1f02ee(0x196)]]=_0x311b1a[_0x1f02ee(0x147)](_0x3fd410,_0xc2d17c);}if(_0x311b1a[_0x1f02ee(0x177)](_0x606825,FRAMEWORKS['CUCUMBER'])){const _0x4effba=accessibilityHelper[_0x1f02ee(0x127)](null,![],_0x480f7d[_0x1f02ee(0x1e5)]),_0x375500=globals[_0x1f02ee(0x1ac)](_0x311b1a['zRcZk']);_0x398b58[_0x311b1a[_0x1f02ee(0x196)]]=_0x311b1a[_0x1f02ee(0x1b2)](_0x375500,_0x4effba);}_0x480f7d[_0x311b1a[_0x1f02ee(0x156)]]=_0x398b58;}},exports[a168_0x262246(0x116)]=_0x1120a3=>{const _0x4c5f01=a168_0x262246,_0x59f88e={};_0x59f88e['InuYZ']=function(_0x5577fa,_0x5cd2c9){return _0x5577fa>_0x5cd2c9;};const _0x58b4b8=_0x59f88e;let _0x59fcf0={};if(_0x58b4b8['InuYZ'](Object['keys'](testData)[_0x4c5f01(0x1cb)],0x0))return testData;_0x59fcf0=JestTestDetails[_0x4c5f01(0x18f)]();if(_0x58b4b8[_0x4c5f01(0x1c7)](Object['keys'](_0x59fcf0)[_0x4c5f01(0x1cb)],0x0))return _0x59fcf0;return _0x59fcf0;},exports['setCurrentTestData']=(_0x4938a4,_0xe21818={})=>{const _0x4b5c55=a168_0x262246;if(bsSetupHelper[_0x4b5c55(0x180)](_0xe21818['test_run']))return;switch(_0x4938a4){case FRAMEWORKS[_0x4b5c55(0x1a9)]:testData=_0xe21818[_0x4b5c55(0x11f)];break;case FRAMEWORKS[_0x4b5c55(0x1a8)]:JestTestDetails['setTestData'](_0xe21818[_0x4b5c55(0x11f)]);break;case FRAMEWORKS[_0x4b5c55(0x182)]:testData=_0xe21818[_0x4b5c55(0x11f)];break;default:break;}},exports['getAccessibilityValueFromYml']=_0xbba5fc=>{const _0x38b6e2=a168_0x262246,_0x107532={};_0x107532[_0x38b6e2(0x1af)]=function(_0x1f9177,_0x1f7b96){return _0x1f9177!==_0x1f7b96;},_0x107532['JqZfd']=function(_0x2b9beb,_0x49c3ce){return _0x2b9beb!==_0x49c3ce;};const _0x456f46=_0x107532;if(_0x456f46['XViak'](_0xbba5fc[_0x38b6e2(0x12a)],null)&&_0x456f46[_0x38b6e2(0x1af)](_0xbba5fc['accessibility'],undefined))return _0xbba5fc['accessibility'];let _0x21aba3=![],_0x2f98bf=![];if(_0xbba5fc[_0x38b6e2(0x1e3)])for(const _0x1c2916 of _0xbba5fc[_0x38b6e2(0x1e3)]){_0x456f46[_0x38b6e2(0x193)](_0x1c2916[_0x38b6e2(0x12a)],null)&&_0x456f46['XViak'](_0x1c2916['accessibility'],undefined)&&(_0x21aba3=_0x21aba3||bsSetupHelper['isTrue'](_0x1c2916[_0x38b6e2(0x12a)]),_0x2f98bf=!![]);}if(_0x2f98bf)return _0x21aba3;return null;},exports['getTestOrchestrationBuildStartData']=_0x18ace7=>{if(!_0x18ace7)return{};const _0x210cd9=new OrchestrationUtils(_0x18ace7);return _0x210cd9['getBuildStartData']();},exports[a168_0x262246(0x1aa)]=_0x27a8c0=>{const _0x4bc4c2=a168_0x262246,_0x282269={'OSXOk':function(_0x502cae){return _0x502cae();},'rcGoa':function(_0x5b0dc4,_0x2db458){return _0x5b0dc4===_0x2db458;},'XsBUN':_0x4bc4c2(0x125)};let _0x4f53c2=![],_0x50bbf7=![];if(bsSetupHelper[_0x4bc4c2(0x19d)]()&&bsSetupHelper[_0x4bc4c2(0x1bc)](_0x27a8c0))_0x50bbf7=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x4f53c2=!![]);return Object[_0x4bc4c2(0x136)]({'observability':_0x282269[_0x4bc4c2(0x184)](isTestObservabilitySession),'accessibility':exports[_0x4bc4c2(0x140)](_0x27a8c0),'percy':_0x27a8c0['percy']||![],'sr_automation':_0x282269[_0x4bc4c2(0x18c)](process[_0x4bc4c2(0x13c)][_0x4bc4c2(0x19b)],_0x282269[_0x4bc4c2(0x187)])||_0x27a8c0[_0x4bc4c2(0x1a0)]||![],'automate':_0x4f53c2,'app_automate':_0x50bbf7,'turboscale':bsSetupHelper[_0x4bc4c2(0x15e)](_0x27a8c0),'lts':LoadTestModule[_0x4bc4c2(0x1d3)](_0x27a8c0)},bsSetupHelper[_0x4bc4c2(0x1c0)]());};const normalizeTestPlanId=_0x105f39=>{const _0x3f6eb2=a168_0x262246,_0x431521={};_0x431521['EDnUr']=function(_0x453c11,_0x5525ad){return _0x453c11!==_0x5525ad;},_0x431521[_0x3f6eb2(0x19f)]='string',_0x431521[_0x3f6eb2(0x16a)]=function(_0x4debda,_0x408c52){return _0x4debda>_0x408c52;};const _0x53b777=_0x431521;if(_0x53b777['EDnUr'](typeof _0x105f39,_0x53b777[_0x3f6eb2(0x19f)]))return undefined;const _0x414136=_0x105f39[_0x3f6eb2(0x17a)]();return _0x53b777[_0x3f6eb2(0x16a)](_0x414136[_0x3f6eb2(0x1cb)],0x0)?_0x414136:undefined;},readTestPlanIdFromCliArgs=(_0x2a366a=process[a168_0x262246(0x11b)])=>{const _0x3befb9=a168_0x262246,_0xa6dad6={};_0xa6dad6['CtwWo']=function(_0x4318df,_0x5c441c){return _0x4318df<_0x5c441c;},_0xa6dad6['krHad']=function(_0x4d416b,_0x2c9272){return _0x4d416b===_0x2c9272;},_0xa6dad6[_0x3befb9(0x163)]=function(_0x172b62,_0x591d90){return _0x172b62+_0x591d90;},_0xa6dad6['NZtXK']=function(_0x2b2ae4,_0x472feb){return _0x2b2ae4+_0x472feb;};const _0x7c12e1=_0xa6dad6,_0xc9d58b='--'+testHubConstants[_0x3befb9(0x1b0)];for(let _0x49ff60=0x0;_0x7c12e1[_0x3befb9(0x1a7)](_0x49ff60,_0x2a366a['length']);_0x49ff60+=0x1){const _0x36bd02=_0x2a366a[_0x49ff60];if(_0x7c12e1['krHad'](_0x36bd02,_0xc9d58b)){const _0x3838d3=_0x2a366a[_0x7c12e1[_0x3befb9(0x163)](_0x49ff60,0x1)];if(!_0x3838d3||_0x3838d3[_0x3befb9(0x139)]('--'))return undefined;return _0x3838d3;}if(_0x36bd02[_0x3befb9(0x139)](_0xc9d58b+'='))return _0x36bd02[_0x3befb9(0x189)](_0x7c12e1[_0x3befb9(0x153)](_0xc9d58b[_0x3befb9(0x1cb)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0xe5025f={})=>{const _0x294ca7=a168_0x262246,_0x3f675f={'rhOqc':function(_0x1dd053,_0x1a6a08){return _0x1dd053(_0x1a6a08);}};return _0x3f675f[_0x294ca7(0x1de)](normalizeTestPlanId,_0xe5025f&&_0xe5025f['testManagementOptions']&&_0xe5025f['testManagementOptions'][_0x294ca7(0x1ce)]);};exports[a168_0x262246(0x1a1)]=(_0x335992={},_0x3b660f=process[a168_0x262246(0x11b)],_0x2cfa38=process[a168_0x262246(0x13c)])=>{const _0x2600bf=a168_0x262246,_0x20294a={'AvrVx':function(_0x19f24,_0x11628d){return _0x19f24(_0x11628d);}};try{const _0x24318f=_0x20294a[_0x2600bf(0x197)](normalizeTestPlanId,_0x20294a['AvrVx'](readTestPlanIdFromCliArgs,_0x3b660f));if(_0x24318f)return _0x24318f;const _0x4dae39=_0x20294a[_0x2600bf(0x197)](normalizeTestPlanId,_0x2cfa38&&_0x2cfa38[testHubConstants[_0x2600bf(0x158)][_0x2600bf(0x151)]]);if(_0x4dae39)return _0x4dae39;return _0x20294a['AvrVx'](readTestPlanIdFromConfig,_0x335992);}catch(_0x364ece){return logger[_0x2600bf(0x190)](_0x2600bf(0x1c2)+(_0x364ece&&_0x364ece[_0x2600bf(0x1b7)]?_0x364ece['message']:_0x364ece)),undefined;}};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a174_0xc4ea(){const _0x444a44=['finishedMetadata','wLBLs','error','osVersion','sdkRunId','qQkLR','EOPtO','info','every','1248814GPDOMQ','version','ETsUG','[REDACTED]','debug','getTurboScaleBuildLink','ksmsb','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','DpeXs','constants','application/json','gStJh','sanitizeBrowserStackConfig','W_OK','\x20:\x20','lPcuG','values','getAccessKey','stack','hostname','replace','iQOlB','getPackageVersion','join','APP_AUTOMATE','zznME','CZaBA','requirePWModule','VqXxD','Failed\x20to\x20set\x20directory\x20access:\x20','../bin/playwright/reporter/pwUtils','../bin/utils/constants','JVHbt','tests','jcqGQ','chmodSync','104279tZbSIG','stopPercy','format','env','1074705nHRhjj','getFrameworkVersion','body','X_OK','getUserName','./test-observability/utils','push','apply','LtPVl','vjpLx','winstonLogger','OwUbH','errorMessage','gdpjP','tUUSw','assign','name','YxGxn','toString','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','MreOq','dfqzl','globalException','DmEWZ','keys','Error\x20in\x20firing\x20request\x20to\x20','buildIdentifier','type','accessSync','297777rIhFlb','playwrightVersion','split','killSignal','WzVGq','unknown','AGJuA','isModifiable','finalExecution','BROWSERSTACK_TESTHUB_UUID','getSessionsList','./testhub/utils','1817178zYGEfY','parse','fHsBM','config','user_killed','ENV_VAR','754108ZRDrMw','isAppAutomateSession','util','browser','APP_AUTOMATE_PRODUCTS','event_properties','all','ukIpG','length','object','framework','API\x20Event\x20','nodejs','isTurboScaleSession','getNodeAgent','reduce','browserVersion','forEach','getTurboScaleSessionsList','SDKTestSuccessful','null','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','Playwright','iXDEh','TLUvJ','POST','Directory\x20','deviceName','4394640dfDsja','./performance/performance-tester','\x20has\x20now\x20read/write/execute\x20permissions.','notifyUpdate','4SjSaai','isBrowserstackInfra','hubAllocation',',\x20testhub\x20id:\x20','SDK\x20run\x20ended\x20for\x20id:\x20','fireFunnelTestEvent','stringify','source','UwyTv','yjDnZ','buildName'];a174_0xc4ea=function(){return _0x444a44;};return a174_0xc4ea();}const a174_0x2764c8=a174_0x51f6;function a174_0x51f6(_0x253350,_0x4a6004){const _0xc4eadc=a174_0xc4ea();return a174_0x51f6=function(_0x51f6b0,_0x3250a0){_0x51f6b0=_0x51f6b0-0x6f;let _0x356bcf=_0xc4eadc[_0x51f6b0];return _0x356bcf;},a174_0x51f6(_0x253350,_0x4a6004);}(function(_0x28619e,_0x35e7f3){const _0x55edce=a174_0x51f6,_0x4e19cf=_0x28619e();while(!![]){try{const _0x4dc08e=-parseInt(_0x55edce(0xf2))/0x1+-parseInt(_0x55edce(0xba))/0x2*(parseInt(_0x55edce(0x88))/0x3)+parseInt(_0x55edce(0x9a))/0x4+parseInt(_0x55edce(0xf6))/0x5+-parseInt(_0x55edce(0x94))/0x6+-parseInt(_0x55edce(0xce))/0x7+parseInt(_0x55edce(0xb6))/0x8;if(_0x4dc08e===_0x35e7f3)break;else _0x4e19cf['push'](_0x4e19cf['shift']());}catch(_0x2c883c){_0x4e19cf['push'](_0x4e19cf['shift']());}}}(a174_0xc4ea,0x29320));const os=require('os'),util=require(a174_0x2764c8(0x9c)),fs=require('fs'),{getProductMap}=require(a174_0x2764c8(0x93)),logger=require('./logger')[a174_0x2764c8(0x75)],constants=require(a174_0x2764c8(0xed)),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require(a174_0x2764c8(0xec)),{FUNNEL_INSTRUMENTATION_API_URL}=require('../bin/utils/constants'),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a174_0x2764c8(0xb7)),globals=require('./globals'),helper=require('./helper'),{isTestObservabilitySession}=require(a174_0x2764c8(0x70));let unhandledErrors='';exports[a174_0x2764c8(0xbf)]=async(_0x37fcb1,_0x3e1261={},_0x530aa7,_0x27f2f8,_0x3cc55c=![])=>{const _0x5784a8=a174_0x2764c8,_0x3d1365={'jcqGQ':function(_0x1fd3bd,_0x3ab21f){return _0x1fd3bd===_0x3ab21f;},'MreOq':_0x5784a8(0xa3),'ETsUG':function(_0x288c8d,_0x341bbc){return _0x288c8d>_0x341bbc;},'zznME':'tests','ukIpG':function(_0x1c46b4){return _0x1c46b4();},'OwUbH':function(_0x12dd70,_0x21c1e4){return _0x12dd70==_0x21c1e4;},'gdpjP':_0x5784a8(0xae),'JVHbt':'undefined','AGJuA':function(_0xc9bd33,_0x45f08e){return _0xc9bd33>_0x45f08e;},'YxGxn':function(_0x2d1c99,_0x5de577){return _0x2d1c99===_0x5de577;},'iQOlB':'codeceptjs','iXDEh':function(_0x5bcb34,_0x516ccb){return _0x5bcb34>_0x516ccb;},'tUUSw':function(_0x585a55,_0x541c0f){return _0x585a55!==_0x541c0f;},'DmEWZ':_0x5784a8(0xb0),'WzVGq':_0x5784a8(0xc7),'nyaQN':function(_0x3a4c24,_0x3a9deb){return _0x3a4c24+_0x3a9deb;},'yTcYW':_0x5784a8(0x7e),'ltfRX':'_buildHashedId','EIJke':function(_0x38e671,_0x3dd26e){return _0x38e671(_0x3dd26e);},'tKdPF':function(_0x383694,_0x3329f7){return _0x383694(_0x3329f7);},'fHsBM':_0x5784a8(0x8d),'pbQdl':_0x5784a8(0xa6),'lPcuG':_0x5784a8(0xad),'wLBLs':function(_0x3bd844,_0x2f676c){return _0x3bd844===_0x2f676c;},'gStJh':'selenium-webdriver','EOPtO':_0x5784a8(0xd8),'LtPVl':_0x5784a8(0xd1),'ksmsb':_0x5784a8(0xb3)};let _0x26f967=[];if(helper[_0x5784a8(0xbb)]()&&_0x3d1365[_0x5784a8(0xa1)](isTestObservabilitySession))_0x26f967=helper['isAppAutomateSession'](_0x530aa7)?constants[_0x5784a8(0x9e)]:constants['AUTOMATE_PRODUCTS'];else{if(_0x3d1365['ukIpG'](isTestObservabilitySession))_0x26f967=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper[_0x5784a8(0xbb)]()&&(_0x26f967=helper[_0x5784a8(0x9b)](_0x530aa7)?constants[_0x5784a8(0xe6)]:constants['AUTOMATE']);}let _0x45a70c=_0x530aa7[_0x5784a8(0x85)];if(_0x3d1365[_0x5784a8(0x76)](_0x45a70c,null))_0x45a70c=_0x3d1365[_0x5784a8(0x78)];else _0x3d1365[_0x5784a8(0xf0)](_0x45a70c,undefined)&&(_0x45a70c=_0x3d1365[_0x5784a8(0xee)]);unhandledErrors&&_0x3d1365[_0x5784a8(0x8e)](unhandledErrors[_0x5784a8(0xa2)],0x0)&&(_0x3e1261[_0x5784a8(0x81)]=unhandledErrors);global[_0x5784a8(0xc9)]&&(_0x3e1261[_0x5784a8(0xc9)]=global[_0x5784a8(0xc9)]);try{if(_0x3e1261[_0x5784a8(0xc7)]){if(_0x3d1365[_0x5784a8(0x7c)](_0x27f2f8,_0x3d1365[_0x5784a8(0xe3)])&&_0x3d1365[_0x5784a8(0xb1)](_0x3e1261['error'][_0x5784a8(0xa2)],0x0)){const _0x177a61={};_0x177a61['os']='',_0x177a61[_0x5784a8(0xc8)]='',_0x177a61[_0x5784a8(0x9d)]='',_0x177a61['browserVersion']='';const _0x1b89ef=_0x177a61;let _0x43cb41={};const _0x192d6e=_0x3e1261['error'];_0x43cb41=_0x192d6e[_0x5784a8(0xa9)]((_0x2a5962,_0x15a8c1)=>{for(const _0x385a91 in _0x15a8c1){_0x2a5962[_0x385a91]=_0x15a8c1[_0x385a91];}return _0x2a5962;},{});const _0x2ba07a={};_0x2ba07a[_0x5784a8(0xef)]=_0x43cb41,_0x3e1261[_0x5784a8(0xc7)]=[Object[_0x5784a8(0x7a)]({},_0x1b89ef,_0x2ba07a)];}else{let _0x14fbd2=0x0;const _0x2b547d=_0x3d1365[_0x5784a8(0x79)](_0x27f2f8,_0x3d1365['DmEWZ'])?JSON[_0x5784a8(0x95)](_0x3e1261[_0x5784a8(0xc7)]):_0x3e1261[_0x5784a8(0xc7)],_0x19be46=Object[_0x5784a8(0xde)](_0x2b547d);_0x19be46[_0x5784a8(0xab)](_0x5189b7=>{const _0x4ef328=_0x5784a8;if(_0x3d1365[_0x4ef328(0xf0)](typeof _0x5189b7,_0x3d1365[_0x4ef328(0x7f)])){const _0x28d8d5=Object[_0x4ef328(0xde)](_0x5189b7);!_0x28d8d5[_0x4ef328(0xcd)](_0x5d6e89=>_0x5d6e89===null||_0x5d6e89===undefined||_0x5d6e89==='')&&(_0x14fbd2+=0x1);}});if(_0x3d1365[_0x5784a8(0x7c)](_0x14fbd2,0x0))delete _0x3e1261[_0x3d1365[_0x5784a8(0x8c)]];else{const _0x4b3c12=[];Object[_0x5784a8(0x83)](_0x2b547d)[_0x5784a8(0xab)](_0x370046=>{const _0x63df71=_0x5784a8,[_0x82933f,_0x3fc8dd,_0x1c7cb7,_0x1104d8]=_0x370046[_0x63df71(0x8a)](',\x20');let _0x1faf3d={};if(!_0x1104d8){const _0xb1b874={};_0xb1b874[_0x63df71(0xb5)]=_0x82933f,_0xb1b874['osVersion']=_0x3fc8dd,_0xb1b874['browser']=_0x1c7cb7,_0x1faf3d=_0xb1b874;}else{const _0x446327={};_0x446327['os']=_0x82933f,_0x446327[_0x63df71(0xc8)]=_0x3fc8dd,_0x446327[_0x63df71(0x9d)]=_0x1c7cb7,_0x446327[_0x63df71(0xaa)]=_0x1104d8,_0x1faf3d=_0x446327;}const _0x195c33={},_0x2cccba=_0x2b547d[_0x370046];Object[_0x63df71(0x83)](_0x2cccba)['forEach'](_0x3104f9=>{const _0x2b625b=_0x63df71;_0x3d1365[_0x2b625b(0xd0)](_0x2cccba[_0x3104f9][_0x2b625b(0xa2)],0x0)&&(_0x195c33[_0x3104f9]=_0x2cccba[_0x3104f9]);}),_0x3d1365[_0x63df71(0xd0)](Object['keys'](_0x195c33)[_0x63df71(0xa2)],0x0)&&(_0x1faf3d[_0x3d1365[_0x63df71(0xe7)]]=_0x195c33,_0x4b3c12[_0x63df71(0x71)](_0x1faf3d));}),_0x3d1365[_0x5784a8(0xd0)](_0x4b3c12[_0x5784a8(0xa2)],0x0)?_0x3e1261['error']=_0x4b3c12:delete _0x3e1261[_0x3d1365[_0x5784a8(0x8c)]];}}}}catch(_0x16e10e){delete _0x3e1261[_0x3d1365['WzVGq']],logger[_0x5784a8(0xd2)](_0x3d1365['nyaQN'](_0x3d1365['yTcYW'],_0x16e10e));}const _0x34bf10=helper['getTestFrameworkDetails'](_0x530aa7,_0x530aa7[_0x5784a8(0xa4)]),_0x598fc7={'userName':helper[_0x5784a8(0x6f)](_0x530aa7),'accessKey':helper['getAccessKey'](_0x530aa7),'event_type':_0x37fcb1,'detectedFramework':_0x27f2f8,'buildHashedId':globals['getGlobal'](_0x3d1365['ltfRX']),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process[_0x5784a8(0xf5)][testHubConstants[_0x5784a8(0x99)][_0x5784a8(0x91)]]||'','sdkRunId':global[_0x5784a8(0xc9)],'product_map':_0x3d1365['EIJke'](getProductMap,_0x530aa7),'productMap':_0x3d1365['tKdPF'](getProductMap,_0x530aa7),'language_framework':_0x530aa7[_0x5784a8(0xc1)]||_0x3d1365['fHsBM'],'referrer':helper[_0x5784a8(0xa8)](_0x27f2f8),'framework':_0x530aa7['framework'],'frameworkVersion':helper[_0x5784a8(0xf7)](_0x27f2f8),'automationFramework':_0x34bf10[_0x5784a8(0x7b)],'automationFrameworkVersion':_0x34bf10[_0x5784a8(0xcf)],'language':_0x3d1365['pbQdl'],'languageVersion':process[_0x5784a8(0xcf)],'product':_0x26f967,'buildName':_0x530aa7[_0x5784a8(0xc4)]||_0x3d1365[_0x5784a8(0xee)],'buildIdentifier':_0x45a70c,'os':os[_0x5784a8(0x86)]()||_0x3d1365['fHsBM'],'hostname':os[_0x5784a8(0xe1)]()||_0x3d1365[_0x5784a8(0x96)],..._0x3e1261,'isCLIEnabled':_0x3cc55c}};try{_0x3d1365[_0x5784a8(0xf0)](_0x37fcb1,_0x3d1365[_0x5784a8(0xdd)])&&(_0x598fc7['event_properties']['browserStackConfig']=helper[_0x5784a8(0xda)](_0x530aa7)),_0x3d1365[_0x5784a8(0xc6)](_0x27f2f8,_0x3d1365[_0x5784a8(0x82)])?_0x598fc7[_0x5784a8(0x9f)][_0x5784a8(0x89)]=helper[_0x5784a8(0xe9)][_0x5784a8(0x72)](null,_0x3d1365[_0x5784a8(0xa1)](getTransformPath),!![]):_0x598fc7[_0x5784a8(0x9f)]['seleniumVersion']=helper[_0x5784a8(0xe4)](_0x3d1365[_0x5784a8(0xd9)]);}catch(_0x1ccd0a){logger[_0x5784a8(0xd2)](_0x5784a8(0xaf)+_0x1ccd0a);}const _0x240a3b={};_0x240a3b['content-type']=_0x3d1365[_0x5784a8(0xcb)];const _0x103923={'headers':_0x240a3b,'body':_0x598fc7,'auth':{'user':helper[_0x5784a8(0x6f)](_0x530aa7),'pass':helper[_0x5784a8(0xdf)](_0x530aa7)},'json':!![]};logger['debug']('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON[_0x5784a8(0xc0)](_0x103923[_0x5784a8(0xf8)])['replace'](new RegExp(helper[_0x5784a8(0x6f)](_0x530aa7),'g'),_0x3d1365[_0x5784a8(0x73)])[_0x5784a8(0xe2)](new RegExp(helper['getAccessKey'](_0x530aa7),'g'),_0x3d1365[_0x5784a8(0x73)]));try{const _0x44050a=await helper['nodeRequest'](_0x3d1365[_0x5784a8(0xd4)],FUNNEL_INSTRUMENTATION_API_URL,_0x103923,_0x530aa7);logger['debug'](_0x5784a8(0xa5)+_0x37fcb1+'\x20response\x20-\x20'+util[_0x5784a8(0xf4)]('%j',_0x44050a));}catch(_0x5f9cd9){logger[_0x5784a8(0xd2)](_0x5784a8(0x84)+FUNNEL_INSTRUMENTATION_API_URL+_0x5784a8(0xdc)+util['format'](_0x5f9cd9));}},exports[a174_0x2764c8(0x90)]=async(_0x4c9e87,_0x98520a=![])=>{const _0x39fc0a=a174_0x2764c8,_0x252644={'UwyTv':function(_0x412599){return _0x412599();},'KAylj':'_hubAllocationData','rTnmU':_0x39fc0a(0xc5),'CZaBA':_0x39fc0a(0x98),'dfqzl':_0x39fc0a(0xad),'TLUvJ':function(_0x24e832,_0x19e08e,_0x2a6216){return _0x24e832(_0x19e08e,_0x2a6216);},'yjDnZ':function(_0x22b6f7,_0x3a9d93){return _0x22b6f7+_0x3a9d93;},'iHUjw':_0x39fc0a(0xd5)};try{await _0x4c9e87[_0x39fc0a(0xf3)](),_0x252644[_0x39fc0a(0xc2)](printNudgeLocalNotSetError);const _0x362138={};_0x362138[_0x39fc0a(0xc7)]=_0x4c9e87[_0x39fc0a(0x77)]?_0x4c9e87[_0x39fc0a(0x77)]:'{}';const _0x370699=_0x362138,_0x558f88=Object[_0x39fc0a(0x7a)]({},_0x370699),_0xf20f25=globals['getGlobal'](_0x252644['KAylj']);_0xf20f25&&(_0x558f88[_0x39fc0a(0xbc)]=_0xf20f25);!!_0x4c9e87[_0x39fc0a(0x8b)]&&(_0x558f88[_0x252644['rTnmU']]={'reason':_0x252644[_0x39fc0a(0xe8)],'signal':_0x4c9e87[_0x39fc0a(0x8b)]});unhandledErrors=_0x4c9e87['unhandledErrors'][_0x39fc0a(0xe5)]('\x0a');let _0x2d1037,_0x1ff66b,_0x2a9f82;helper[_0x39fc0a(0xa7)](_0x4c9e87[_0x39fc0a(0x97)])?([_0x2d1037,_0x1ff66b]=await helper[_0x39fc0a(0xd3)](_0x4c9e87[_0x39fc0a(0x97)]),[_0x2a9f82]=await Promise['all']([helper[_0x39fc0a(0xac)](_0x2d1037,_0x4c9e87['config']),exports[_0x39fc0a(0xbf)](_0x252644[_0x39fc0a(0x80)],_0x558f88,_0x4c9e87['config'],_0x4c9e87[_0x39fc0a(0xa4)],_0x98520a)])):([_0x2d1037,_0x1ff66b]=await helper['getBuildLink'](_0x4c9e87[_0x39fc0a(0x97)]),[_0x2a9f82]=await Promise[_0x39fc0a(0xa0)]([helper[_0x39fc0a(0x92)](_0x2d1037,_0x4c9e87[_0x39fc0a(0x97)]),exports[_0x39fc0a(0xbf)](_0x252644[_0x39fc0a(0x80)],_0x558f88,_0x4c9e87[_0x39fc0a(0x97)],_0x4c9e87[_0x39fc0a(0xa4)],_0x98520a)])),_0x2a9f82&&await _0x252644[_0x39fc0a(0xb2)](generateCIArtifacts,_0x2a9f82,_0x1ff66b),logger[_0x39fc0a(0xcc)](_0x39fc0a(0xbe)+_0x4c9e87['sdkRunId']+_0x39fc0a(0xbd)+process[_0x39fc0a(0xf5)][_0x39fc0a(0x91)]),await helper['sendLogs'](_0x4c9e87[_0x39fc0a(0x97)]);}catch(_0x4114fc){logger[_0x39fc0a(0xd2)](_0x252644[_0x39fc0a(0xc3)](_0x252644['iHUjw'],_0x4114fc));}helper[_0x39fc0a(0xb9)]();},exports['getStackTraceAsString']=_0x2b9574=>{const _0x3c16b4=a174_0x2764c8,_0x42b59f={'VqXxD':function(_0x2f6c66,_0x41d30e){return _0x2f6c66 instanceof _0x41d30e;},'DpeXs':function(_0x2425c8,_0x184e5d){return _0x2425c8(_0x184e5d);}};try{if(_0x42b59f[_0x3c16b4(0xea)](_0x2b9574,Error))return _0x2b9574[_0x3c16b4(0xe0)]||_0x2b9574[_0x3c16b4(0x7d)]();return _0x42b59f[_0x3c16b4(0xd6)](String,_0x2b9574);}catch(_0x2940da){return _0x2b9574?_0x2b9574[_0x3c16b4(0x7d)]():'';}},exports['isNullOrEmpty']=_0x512588=>{const _0x3f7bd4=a174_0x2764c8,_0x1758f8={};_0x1758f8['qQkLR']=function(_0x132b41,_0x431b0a){return _0x132b41===_0x431b0a;};const _0x383b62=_0x1758f8;return!_0x512588||_0x383b62[_0x3f7bd4(0xca)](_0x512588['trim'](),'');},exports[a174_0x2764c8(0x8f)]=_0x35be8c=>{const _0x30f60b=a174_0x2764c8,_0x5be7a4={};_0x5be7a4['vjpLx']=function(_0x3209c5,_0x1c6c3e){return _0x3209c5|_0x1c6c3e;};const _0x30bf07=_0x5be7a4;try{return fs[_0x30f60b(0x87)](_0x35be8c,_0x30bf07[_0x30f60b(0x74)](fs[_0x30f60b(0xd7)][_0x30f60b(0xdb)],fs['constants'][_0x30f60b(0xf9)])),!![];}catch(_0x1b7f56){return![];}},exports['setReadWriteExecuteAccess']=_0xdf87d8=>{const _0x1c85b5=a174_0x2764c8;try{fs[_0x1c85b5(0xf1)](_0xdf87d8,0x1ff),logger[_0x1c85b5(0xd2)](_0x1c85b5(0xb4)+_0xdf87d8+_0x1c85b5(0xb8));}catch(_0x151c8a){logger[_0x1c85b5(0xc7)](_0x1c85b5(0xeb)+exports['getStackTraceAsString'](_0x151c8a));}};
|
|
1
|
+
function a169_0xf10b(){const _0x335e8f=['daFbN','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','getSessionsList','nBpko','APP_AUTOMATE','undefined','setReadWriteExecuteAccess','loQQW','pcJCY','LLDFI','config','all','stopPercy','AdhfZ','./helper','ENV_VAR','trim','hubAllocation','AUTOMATE_PRODUCTS','NKZGO','env','TxTFI','../helpers/testhub/constants','2359932pLPIkm','ruJrY','tVpzt','_buildHashedId','GEkhu','sdkRunId','unhandledErrors','oIPws','hostname','event_properties','qOrrj','52oCeDZl','format','util','zZOIG','finalExecution','./globals','./testhub/utils','globalException','stringify','application/json','info','getUserName','./logger','getTurboScaleSessionsList','4047302ldKWwg','rxrsp','getFrameworkVersion','parse','framework','errorMessage','killSignal','mYCWt','stack','osVersion','15983VXxkUf','VPsBB','fireFunnelTestEvent','scCJK','zAZTm','replace','source','YLtkH','debug','buildIdentifier','chmodSync','every','X_OK','isModifiable','finalExecutionRan','toString','accessSync','getGlobal','isAppAutomateSession','constants','\x20response\x20-\x20','Failed\x20to\x20set\x20directory\x20access:\x20','join','3387196jUBCIz','values','error','browserStackConfig','winstonLogger','null','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','version','keys','getNodeAgent','Error\x20in\x20firing\x20request\x20to\x20','codeceptjs','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','aNTUz','ZCpHz','880974AosTuA','RjKWZ','kNdHL','ITCwe','BROWSERSTACK_TESTHUB_UUID','length','96bjCwUg','type','CIbTf','nodejs','browserVersion','notifyUpdate','MewTS','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','SDKTestSuccessful','\x20:\x20','forEach','getTestFrameworkDetails','POST','5VaZuwg','518436BJuPzX','assign','../bin/utils/constants','object','deviceName','AUTOMATE','./performance/performance-tester','getStackTraceAsString','hWakZ','getBuildLink','tests','_hubAllocationData','sanitizeBrowserStackConfig','body','reduce','153399itECoy','seleniumVersion','push','isBrowserstackInfra','isTurboScaleSession','Directory\x20','2220CgANmI','\x20has\x20now\x20read/write/execute\x20permissions.','QoASC','isNullOrEmpty','selenium-webdriver','./test-observability/utils','browser','getPackageVersion','Playwright','getAccessKey','user_killed'];a169_0xf10b=function(){return _0x335e8f;};return a169_0xf10b();}const a169_0x1a48ea=a169_0xcbd3;(function(_0x4b3512,_0x43b0c3){const _0x1f45d6=a169_0xcbd3,_0x3273c5=_0x4b3512();while(!![]){try{const _0x59cbfe=-parseInt(_0x1f45d6(0x261))/0x1+parseInt(_0x1f45d6(0x20f))/0x2*(-parseInt(_0x1f45d6(0x270))/0x3)+parseInt(_0x1f45d6(0x23e))/0x4*(parseInt(_0x1f45d6(0x260))/0x5)+-parseInt(_0x1f45d6(0x204))/0x6+parseInt(_0x1f45d6(0x21d))/0x7+-parseInt(_0x1f45d6(0x253))/0x8*(-parseInt(_0x1f45d6(0x24d))/0x9)+-parseInt(_0x1f45d6(0x276))/0xa*(-parseInt(_0x1f45d6(0x227))/0xb);if(_0x59cbfe===_0x43b0c3)break;else _0x3273c5['push'](_0x3273c5['shift']());}catch(_0x529ad0){_0x3273c5['push'](_0x3273c5['shift']());}}}(a169_0xf10b,0xa6407));const os=require('os'),util=require(a169_0x1a48ea(0x211)),fs=require('fs'),{getProductMap}=require(a169_0x1a48ea(0x215)),logger=require(a169_0x1a48ea(0x21b))[a169_0x1a48ea(0x242)],constants=require(a169_0x1a48ea(0x263)),testHubConstants=require(a169_0x1a48ea(0x203)),{getTransformPath}=require('../bin/playwright/reporter/pwUtils'),{FUNNEL_INSTRUMENTATION_API_URL}=require(a169_0x1a48ea(0x263)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a169_0x1a48ea(0x1fb)),PerformanceTester=require(a169_0x1a48ea(0x267)),globals=require(a169_0x1a48ea(0x214)),helper=require('./helper'),{isTestObservabilitySession}=require(a169_0x1a48ea(0x1e7));let unhandledErrors='';function a169_0xcbd3(_0x1bbcce,_0x47575b){const _0xf10bcf=a169_0xf10b();return a169_0xcbd3=function(_0xcbd3c,_0x35a8ed){_0xcbd3c=_0xcbd3c-0x1e6;let _0x330c62=_0xf10bcf[_0xcbd3c];return _0x330c62;},a169_0xcbd3(_0x1bbcce,_0x47575b);}exports[a169_0x1a48ea(0x229)]=async(_0x20d104,_0x179015={},_0x51d9e1,_0x1746e2,_0x5c5bc4=![])=>{const _0x437fc0=a169_0x1a48ea,_0x4c417a={'CIbTf':function(_0x2153d9,_0x21f1fe){return _0x2153d9===_0x21f1fe;},'qOrrj':_0x437fc0(0x264),'scCJK':function(_0x3fb611,_0x57ff76){return _0x3fb611>_0x57ff76;},'jbyZL':_0x437fc0(0x26b),'AaHLQ':function(_0x4c079e){return _0x4c079e();},'mYCWt':function(_0x43770b){return _0x43770b();},'LLDFI':function(_0x21daf7,_0x136b42){return _0x21daf7==_0x136b42;},'Uckvk':_0x437fc0(0x243),'nANIJ':_0x437fc0(0x1f2),'MewTS':function(_0x56d9e5,_0x4afcf7){return _0x56d9e5===_0x4afcf7;},'Hzxkn':_0x437fc0(0x249),'kNdHL':function(_0x7d5bee,_0x286718){return _0x7d5bee!==_0x286718;},'pcJCY':_0x437fc0(0x1ea),'VPsBB':_0x437fc0(0x240),'TxTFI':function(_0x387459,_0x1a01fc){return _0x387459+_0x1a01fc;},'rxrsp':_0x437fc0(0x244),'zAZTm':_0x437fc0(0x207),'nBpko':function(_0x44f313,_0x5a8548){return _0x44f313(_0x5a8548);},'oIPws':function(_0x545e2e,_0x26dfeb){return _0x545e2e(_0x26dfeb);},'tVpzt':'unknown','aNTUz':_0x437fc0(0x256),'WlzJS':'SDKTestSuccessful','hWakZ':_0x437fc0(0x1e6),'ObRWU':_0x437fc0(0x218),'AdhfZ':'[REDACTED]','ZCpHz':_0x437fc0(0x25f)};let _0x3d8f46=[];if(helper['isBrowserstackInfra']()&&_0x4c417a['AaHLQ'](isTestObservabilitySession))_0x3d8f46=helper['isAppAutomateSession'](_0x51d9e1)?constants['APP_AUTOMATE_PRODUCTS']:constants[_0x437fc0(0x1ff)];else{if(_0x4c417a[_0x437fc0(0x224)](isTestObservabilitySession))_0x3d8f46=constants[_0x437fc0(0x24a)];else helper[_0x437fc0(0x273)]()&&(_0x3d8f46=helper[_0x437fc0(0x239)](_0x51d9e1)?constants[_0x437fc0(0x1f1)]:constants[_0x437fc0(0x266)]);}let _0x6ec7f3=_0x51d9e1[_0x437fc0(0x230)];if(_0x4c417a[_0x437fc0(0x1f6)](_0x6ec7f3,null))_0x6ec7f3=_0x4c417a['Uckvk'];else _0x4c417a[_0x437fc0(0x255)](_0x6ec7f3,undefined)&&(_0x6ec7f3=_0x4c417a['nANIJ']);unhandledErrors&&_0x4c417a[_0x437fc0(0x22a)](unhandledErrors[_0x437fc0(0x252)],0x0)&&(_0x179015[_0x437fc0(0x216)]=unhandledErrors);global[_0x437fc0(0x209)]&&(_0x179015['sdkRunId']=global[_0x437fc0(0x209)]);try{if(_0x179015[_0x437fc0(0x240)]){if(_0x4c417a[_0x437fc0(0x259)](_0x1746e2,_0x4c417a['Hzxkn'])&&_0x4c417a[_0x437fc0(0x22a)](_0x179015[_0x437fc0(0x240)][_0x437fc0(0x252)],0x0)){const _0x6ad078={};_0x6ad078['os']='',_0x6ad078[_0x437fc0(0x226)]='',_0x6ad078[_0x437fc0(0x1e8)]='',_0x6ad078[_0x437fc0(0x257)]='';const _0x5ecf4a=_0x6ad078;let _0x2b162c={};const _0x671310=_0x179015['error'];_0x2b162c=_0x671310[_0x437fc0(0x26f)]((_0x651773,_0x1da911)=>{for(const _0x1f6d37 in _0x1da911){_0x651773[_0x1f6d37]=_0x1da911[_0x1f6d37];}return _0x651773;},{});const _0x57dbac={};_0x57dbac['tests']=_0x2b162c,_0x179015['error']=[Object[_0x437fc0(0x262)]({},_0x5ecf4a,_0x57dbac)];}else{let _0x50cec1=0x0;const _0x339dab=_0x4c417a[_0x437fc0(0x24f)](_0x1746e2,_0x4c417a[_0x437fc0(0x1f5)])?JSON[_0x437fc0(0x220)](_0x179015['error']):_0x179015[_0x437fc0(0x240)],_0x540277=Object[_0x437fc0(0x23f)](_0x339dab);_0x540277[_0x437fc0(0x25d)](_0x83fbca=>{const _0x332d51=_0x437fc0;if(_0x4c417a['CIbTf'](typeof _0x83fbca,_0x4c417a[_0x332d51(0x20e)])){const _0x51e828=Object[_0x332d51(0x23f)](_0x83fbca);!_0x51e828[_0x332d51(0x232)](_0x539167=>_0x539167===null||_0x539167===undefined||_0x539167==='')&&(_0x50cec1+=0x1);}});if(_0x4c417a['MewTS'](_0x50cec1,0x0))delete _0x179015[_0x4c417a[_0x437fc0(0x228)]];else{const _0x2deaa5=[];Object['keys'](_0x339dab)[_0x437fc0(0x25d)](_0x450628=>{const _0x1126dd=_0x437fc0,_0x33bc0c={'KONNq':function(_0xe1ad56,_0x589ab9){return _0x4c417a['scCJK'](_0xe1ad56,_0x589ab9);}},[_0x279b4f,_0x377228,_0x2beb32,_0x24524f]=_0x450628['split'](',\x20');let _0x128b0a={};if(!_0x24524f){const _0x386911={};_0x386911[_0x1126dd(0x265)]=_0x279b4f,_0x386911[_0x1126dd(0x226)]=_0x377228,_0x386911[_0x1126dd(0x1e8)]=_0x2beb32,_0x128b0a=_0x386911;}else{const _0x12b559={};_0x12b559['os']=_0x279b4f,_0x12b559[_0x1126dd(0x226)]=_0x377228,_0x12b559[_0x1126dd(0x1e8)]=_0x2beb32,_0x12b559[_0x1126dd(0x257)]=_0x24524f,_0x128b0a=_0x12b559;}const _0x49e486={},_0x2407e1=_0x339dab[_0x450628];Object[_0x1126dd(0x246)](_0x2407e1)['forEach'](_0x3a678c=>{const _0x35b906=_0x1126dd;_0x33bc0c['KONNq'](_0x2407e1[_0x3a678c][_0x35b906(0x252)],0x0)&&(_0x49e486[_0x3a678c]=_0x2407e1[_0x3a678c]);}),_0x4c417a[_0x1126dd(0x22a)](Object['keys'](_0x49e486)['length'],0x0)&&(_0x128b0a[_0x4c417a['jbyZL']]=_0x49e486,_0x2deaa5[_0x1126dd(0x272)](_0x128b0a));}),_0x4c417a[_0x437fc0(0x22a)](_0x2deaa5[_0x437fc0(0x252)],0x0)?_0x179015[_0x437fc0(0x240)]=_0x2deaa5:delete _0x179015[_0x4c417a[_0x437fc0(0x228)]];}}}}catch(_0x294d6c){delete _0x179015[_0x4c417a[_0x437fc0(0x228)]],logger[_0x437fc0(0x22f)](_0x4c417a[_0x437fc0(0x202)](_0x4c417a[_0x437fc0(0x21e)],_0x294d6c));}const _0x52d580=helper[_0x437fc0(0x25e)](_0x51d9e1,_0x51d9e1[_0x437fc0(0x221)]),_0x24d92f={'userName':helper['getUserName'](_0x51d9e1),'accessKey':helper[_0x437fc0(0x1eb)](_0x51d9e1),'event_type':_0x20d104,'detectedFramework':_0x1746e2,'buildHashedId':globals[_0x437fc0(0x238)](_0x4c417a[_0x437fc0(0x22b)]),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process[_0x437fc0(0x201)][testHubConstants[_0x437fc0(0x1fc)][_0x437fc0(0x251)]]||'','sdkRunId':global[_0x437fc0(0x209)],'product_map':_0x4c417a[_0x437fc0(0x1f0)](getProductMap,_0x51d9e1),'productMap':_0x4c417a[_0x437fc0(0x20b)](getProductMap,_0x51d9e1),'language_framework':_0x51d9e1[_0x437fc0(0x22d)]||_0x4c417a[_0x437fc0(0x206)],'referrer':helper[_0x437fc0(0x247)](_0x1746e2),'framework':_0x51d9e1[_0x437fc0(0x221)],'frameworkVersion':helper[_0x437fc0(0x21f)](_0x1746e2),'automationFramework':_0x52d580['name'],'automationFrameworkVersion':_0x52d580[_0x437fc0(0x245)],'language':_0x4c417a[_0x437fc0(0x24b)],'languageVersion':process[_0x437fc0(0x245)],'product':_0x3d8f46,'buildName':_0x51d9e1['buildName']||_0x4c417a['nANIJ'],'buildIdentifier':_0x6ec7f3,'os':os[_0x437fc0(0x254)]()||_0x4c417a[_0x437fc0(0x206)],'hostname':os[_0x437fc0(0x20c)]()||_0x4c417a[_0x437fc0(0x206)],..._0x179015,'isCLIEnabled':_0x5c5bc4}};try{_0x4c417a['CIbTf'](_0x20d104,_0x4c417a['WlzJS'])&&(_0x24d92f[_0x437fc0(0x20d)][_0x437fc0(0x241)]=helper[_0x437fc0(0x26d)](_0x51d9e1)),_0x4c417a[_0x437fc0(0x255)](_0x1746e2,_0x4c417a[_0x437fc0(0x1f5)])?_0x24d92f[_0x437fc0(0x20d)]['playwrightVersion']=helper['requirePWModule']['apply'](null,_0x4c417a['AaHLQ'](getTransformPath),!![]):_0x24d92f[_0x437fc0(0x20d)][_0x437fc0(0x271)]=helper[_0x437fc0(0x1e9)](_0x4c417a[_0x437fc0(0x269)]);}catch(_0x2d29f5){logger['debug'](_0x437fc0(0x25a)+_0x2d29f5);}const _0x4dd3fa={};_0x4dd3fa['content-type']=_0x4c417a['ObRWU'];const _0x2bcca3={'headers':_0x4dd3fa,'body':_0x24d92f,'auth':{'user':helper[_0x437fc0(0x21a)](_0x51d9e1),'pass':helper[_0x437fc0(0x1eb)](_0x51d9e1)},'json':!![]};logger[_0x437fc0(0x22f)]('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON[_0x437fc0(0x217)](_0x2bcca3[_0x437fc0(0x26e)])[_0x437fc0(0x22c)](new RegExp(helper['getUserName'](_0x51d9e1),'g'),_0x4c417a[_0x437fc0(0x1fa)])[_0x437fc0(0x22c)](new RegExp(helper[_0x437fc0(0x1eb)](_0x51d9e1),'g'),_0x4c417a[_0x437fc0(0x1fa)]));try{const _0x25d229=await helper['nodeRequest'](_0x4c417a[_0x437fc0(0x24c)],FUNNEL_INSTRUMENTATION_API_URL,_0x2bcca3,_0x51d9e1);logger[_0x437fc0(0x22f)]('API\x20Event\x20'+_0x20d104+_0x437fc0(0x23b)+util[_0x437fc0(0x210)]('%j',_0x25d229));}catch(_0x33b569){logger[_0x437fc0(0x22f)](_0x437fc0(0x248)+FUNNEL_INSTRUMENTATION_API_URL+_0x437fc0(0x25c)+util[_0x437fc0(0x210)](_0x33b569));}},exports[a169_0x1a48ea(0x213)]=async(_0x1a0df5,_0x334907=![])=>{const _0x363a83=a169_0x1a48ea,_0x55a9fe={'UxSIK':function(_0x4fb36d){return _0x4fb36d();},'ITCwe':_0x363a83(0x26c),'NKZGO':'finishedMetadata','ruJrY':_0x363a83(0x1ec),'GEkhu':_0x363a83(0x25b),'RjKWZ':function(_0x16cf63,_0x1759d5,_0x2d6a24){return _0x16cf63(_0x1759d5,_0x2d6a24);},'YLtkH':function(_0x1b33a1,_0x3a8ac2){return _0x1b33a1+_0x3a8ac2;},'daFbN':_0x363a83(0x1ee)};if(_0x1a0df5[_0x363a83(0x235)])return;_0x1a0df5['finalExecutionRan']=!![];try{await _0x1a0df5[_0x363a83(0x1f9)](),_0x55a9fe['UxSIK'](printNudgeLocalNotSetError);const _0x305f1f={};_0x305f1f[_0x363a83(0x240)]=_0x1a0df5[_0x363a83(0x222)]?_0x1a0df5[_0x363a83(0x222)]:'{}';const _0x4e81d2=_0x305f1f,_0x37f253=Object[_0x363a83(0x262)]({},_0x4e81d2),_0x42d5ef=globals[_0x363a83(0x238)](_0x55a9fe[_0x363a83(0x250)]);_0x42d5ef&&(_0x37f253[_0x363a83(0x1fe)]=_0x42d5ef);!!_0x1a0df5[_0x363a83(0x223)]&&(_0x37f253[_0x55a9fe[_0x363a83(0x200)]]={'reason':_0x55a9fe[_0x363a83(0x205)],'signal':_0x1a0df5[_0x363a83(0x223)]});unhandledErrors=_0x1a0df5[_0x363a83(0x20a)][_0x363a83(0x23d)]('\x0a');let _0x4f4afa,_0x5a9161,_0x1e47a2;helper[_0x363a83(0x274)](_0x1a0df5[_0x363a83(0x1f7)])?([_0x4f4afa,_0x5a9161]=await helper['getTurboScaleBuildLink'](_0x1a0df5['config']),[_0x1e47a2]=await Promise[_0x363a83(0x1f8)]([helper[_0x363a83(0x21c)](_0x4f4afa,_0x1a0df5['config']),exports[_0x363a83(0x229)](_0x55a9fe['GEkhu'],_0x37f253,_0x1a0df5[_0x363a83(0x1f7)],_0x1a0df5[_0x363a83(0x221)],_0x334907)])):([_0x4f4afa,_0x5a9161]=await helper[_0x363a83(0x26a)](_0x1a0df5[_0x363a83(0x1f7)]),[_0x1e47a2]=await Promise[_0x363a83(0x1f8)]([helper[_0x363a83(0x1ef)](_0x4f4afa,_0x1a0df5[_0x363a83(0x1f7)]),exports['fireFunnelTestEvent'](_0x55a9fe[_0x363a83(0x208)],_0x37f253,_0x1a0df5[_0x363a83(0x1f7)],_0x1a0df5[_0x363a83(0x221)],_0x334907)])),_0x1e47a2&&await _0x55a9fe[_0x363a83(0x24e)](generateCIArtifacts,_0x1e47a2,_0x5a9161),logger[_0x363a83(0x219)]('SDK\x20run\x20ended\x20for\x20id:\x20'+_0x1a0df5[_0x363a83(0x209)]+',\x20testhub\x20id:\x20'+process[_0x363a83(0x201)]['BROWSERSTACK_TESTHUB_UUID']),await helper['sendLogs'](_0x1a0df5[_0x363a83(0x1f7)]);}catch(_0x88c75d){logger[_0x363a83(0x22f)](_0x55a9fe[_0x363a83(0x22e)](_0x55a9fe[_0x363a83(0x1ed)],_0x88c75d));}helper[_0x363a83(0x258)]();},exports[a169_0x1a48ea(0x268)]=_0x564d12=>{const _0x193b54=a169_0x1a48ea,_0x5ba19b={'QoASC':function(_0x109562,_0x527248){return _0x109562 instanceof _0x527248;},'IZZyj':function(_0x59e423,_0x2256e1){return _0x59e423(_0x2256e1);}};try{if(_0x5ba19b[_0x193b54(0x278)](_0x564d12,Error))return _0x564d12[_0x193b54(0x225)]||_0x564d12[_0x193b54(0x236)]();return _0x5ba19b['IZZyj'](String,_0x564d12);}catch(_0xeb1bed){return _0x564d12?_0x564d12['toString']():'';}},exports[a169_0x1a48ea(0x279)]=_0x363dd7=>{const _0x2af0f0=a169_0x1a48ea,_0x54fa56={};_0x54fa56[_0x2af0f0(0x212)]=function(_0x1823ae,_0x5e78e2){return _0x1823ae===_0x5e78e2;};const _0x3472fb=_0x54fa56;return!_0x363dd7||_0x3472fb[_0x2af0f0(0x212)](_0x363dd7[_0x2af0f0(0x1fd)](),'');},exports[a169_0x1a48ea(0x234)]=_0x29fd4e=>{const _0x1b7514=a169_0x1a48ea,_0x259422={};_0x259422[_0x1b7514(0x1f4)]=function(_0x5c327d,_0x340ea4){return _0x5c327d|_0x340ea4;};const _0x4e98e2=_0x259422;try{return fs[_0x1b7514(0x237)](_0x29fd4e,_0x4e98e2[_0x1b7514(0x1f4)](fs[_0x1b7514(0x23a)]['W_OK'],fs[_0x1b7514(0x23a)][_0x1b7514(0x233)])),!![];}catch(_0x1d0547){return![];}},exports[a169_0x1a48ea(0x1f3)]=_0x44049e=>{const _0x609b6c=a169_0x1a48ea;try{fs[_0x609b6c(0x231)](_0x44049e,0x1ff),logger['debug'](_0x609b6c(0x275)+_0x44049e+_0x609b6c(0x277));}catch(_0x39b91b){logger[_0x609b6c(0x240)](_0x609b6c(0x23c)+exports['getStackTraceAsString'](_0x39b91b));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a170_0x478454=a170_0x404b;function a170_0x2b89(){var _0x543704=['browserstack.buildProductMap','enableSim','browserstack.disableCorsRestrictions','gNvZR','140tIpNSr','browserstack.networkLogs','browserstack.accessibilityOptions.wcagVersion','nnGaa','browserstack.performance','FfQcC','hwTAD','browserstack.debug','CigGz','browserstack.telemetryLogs','deviceOrientation','rxgpS','bmgUJ','geoLocation','bFEap','browserstack.accessibilityOptions.includeIssueType.bestPractice','browserstack.wsLocalSupport','eJvIf','Lujvx','381662XcnoAZ','device','RJZQJ','browserstack.testhubBuildUuid','deviceName','networkProfile','seleniumLogs','3795306loKLOZ','projectName','NNyGH','TfTnF','maskCommands','JBQbg','accessKey','seleniumVersion','customNetwork','CSiqr','wsLocalSupport','browserstack.timezone','browserstack.autoWait','name','jQkJM','networkLogsOptions','headerParams','accessibilityOptions.scannerProcessingTimeout','browserstack.localIdentifier','accessibilityOptions.scannerVersion','playwrightVersion','sEDGZ','os_version','yjmTQ','1316244kSXxdz','luROr','AmWko','buildName','THznW','CJoaP','browserstack.seleniumLogs','browserstack.maskBasicAuth','appiumLogs','browserstack.browserstackSDK','browserstack.video','YNQxc','vVtgv','realMobile','browserstack.accessibilityOptions.includeIssueType.needsReview','useW3c','browserstack.accessibility','browserstack.key','2230060vLQXhS','osVersion','simOptions','cHKso','nIFst','browserstack.simOptions','disableCorsRestrictions','project','iPnMa','45tGcdKd','browserstack.uploadMedia','overridelocalInfo.localIdentifier','PfHCJ','YfqZZ','sessionName','lbANf','timezone','browserstack.accessibilityOptions.scannerProcessingTimeout','cAcZA','buildProductMap','566155yeUjCX','browserstack.headerParams','UXAxW','overridelocalInfo.userAuthToken','VEcfV','browserstack.geoLocation','browserstack.idleTimeout','telemetryLogs','debug','browserstack.hosts','performance','browserstack.appium_version','browserVersion','browserstack.enableSim','xYGLQ','TMiYp','AWnoe','resolution','7KIkjeV','pGDWb','userName','browserstack.overridelocalInfo.localIdentifier','iogGD','mTcUw','local','zYmMI','accessibilityOptions.authToken','XLLhb','W3CMapping','2750781UGqpMw','HCpTE','eUedi','BDsdd','2107888ccKTcy','networkLogs','browserstack.networkLogsOptions','mOVTm','accessibility','accessibilityOptions.wcagVersion','VRDAr','browserstack.bfcache','zoqaS','ILvFf','browserstack.user','idleTimeout','browserstack.console','pubxG','cohVB','browserstack.selenium_version','browserstack.playwrightVersion','60TvFDwm','maskBasicAuth','Opcms','hosts','rFryD','browserstack.networkProfile','browserstack.overridelocalInfo.userAuthToken','RaPDg','localIdentifier','browserstack.accessibilityOptions.authToken','bfcache','iRwJr'];a170_0x2b89=function(){return _0x543704;};return a170_0x2b89();}function a170_0x404b(_0x3df6bf,_0x1717ef){var _0x2b8995=a170_0x2b89();return a170_0x404b=function(_0x404b25,_0x2ebdbf){_0x404b25=_0x404b25-0x151;var _0x31a576=_0x2b8995[_0x404b25];return _0x31a576;},a170_0x404b(_0x3df6bf,_0x1717ef);}(function(_0x279904,_0x5f3a80){var _0x3c9f21=a170_0x404b,_0x2c49cc=_0x279904();while(!![]){try{var _0x5dce22=parseInt(_0x3c9f21(0x1ba))/0x1*(-parseInt(_0x3c9f21(0x163))/0x2)+-parseInt(_0x3c9f21(0x16a))/0x3+-parseInt(_0x3c9f21(0x182))/0x4+-parseInt(_0x3c9f21(0x1a8))/0x5*(-parseInt(_0x3c9f21(0x1da))/0x6)+parseInt(_0x3c9f21(0x194))/0x7+-parseInt(_0x3c9f21(0x1c9))/0x8*(parseInt(_0x3c9f21(0x19d))/0x9)+parseInt(_0x3c9f21(0x1ea))/0xa*(parseInt(_0x3c9f21(0x1c5))/0xb);if(_0x5dce22===_0x5f3a80)break;else _0x2c49cc['push'](_0x2c49cc['shift']());}catch(_0x2ec124){_0x2c49cc['push'](_0x2c49cc['shift']());}}}(a170_0x2b89,0xabfda),exports[a170_0x478454(0x1c4)]=()=>{var _0xef65e5=a170_0x478454,_0x26ae5a={};_0x26ae5a[_0xef65e5(0x181)]=_0xef65e5(0x1bc),_0x26ae5a[_0xef65e5(0x1a0)]=_0xef65e5(0x170),_0x26ae5a['gNvZR']=_0xef65e5(0x195),_0x26ae5a[_0xef65e5(0x18d)]='browser',_0x26ae5a[_0xef65e5(0x156)]=_0xef65e5(0x1b4),_0x26ae5a[_0xef65e5(0x15b)]=_0xef65e5(0x191),_0x26ae5a['nnGaa']=_0xef65e5(0x16b),_0x26ae5a[_0xef65e5(0x1c3)]=_0xef65e5(0x185),_0x26ae5a['sEDGZ']=_0xef65e5(0x1a2),_0x26ae5a[_0xef65e5(0x197)]=_0xef65e5(0x1c0),_0x26ae5a[_0xef65e5(0x178)]=_0xef65e5(0x1e2),_0x26ae5a[_0xef65e5(0x186)]=_0xef65e5(0x1b0),_0x26ae5a[_0xef65e5(0x198)]='consoleLogs',_0x26ae5a[_0xef65e5(0x16f)]=_0xef65e5(0x1ca),_0x26ae5a['iPnMa']=_0xef65e5(0x179),_0x26ae5a[_0xef65e5(0x1c6)]=_0xef65e5(0x18a),_0x26ae5a[_0xef65e5(0x184)]='video',_0x26ae5a[_0xef65e5(0x1dc)]=_0xef65e5(0x169),_0x26ae5a[_0xef65e5(0x1bb)]=_0xef65e5(0x1af),_0x26ae5a[_0xef65e5(0x1c8)]=_0xef65e5(0x15d),_0x26ae5a['eJvIf']=_0xef65e5(0x1a4),_0x26ae5a[_0xef65e5(0x165)]=_0xef65e5(0x1b9),_0x26ae5a[_0xef65e5(0x18e)]=_0xef65e5(0x171),_0x26ae5a[_0xef65e5(0x1aa)]=_0xef65e5(0x16e),_0x26ae5a[_0xef65e5(0x1ac)]=_0xef65e5(0x1d4),_0x26ae5a[_0xef65e5(0x1d6)]=_0xef65e5(0x1db),_0x26ae5a['zoqaS']='autoWait',_0x26ae5a[_0xef65e5(0x1c7)]=_0xef65e5(0x1dd),_0x26ae5a[_0xef65e5(0x1b6)]=_0xef65e5(0x1e4),_0x26ae5a[_0xef65e5(0x1d2)]=_0xef65e5(0x174),_0x26ae5a[_0xef65e5(0x173)]=_0xef65e5(0x19a),_0x26ae5a[_0xef65e5(0x1d7)]=_0xef65e5(0x167),_0x26ae5a[_0xef65e5(0x1a1)]=_0xef65e5(0x18f),_0x26ae5a[_0xef65e5(0x1a3)]='appiumVersion',_0x26ae5a['rKukA']=_0xef65e5(0x15a),_0x26ae5a[_0xef65e5(0x155)]=_0xef65e5(0x172),_0x26ae5a[_0xef65e5(0x16c)]=_0xef65e5(0x168),_0x26ae5a['luROr']='buildIdentifier',_0x26ae5a[_0xef65e5(0x1bf)]='browserstackSDK',_0x26ae5a[_0xef65e5(0x187)]=_0xef65e5(0x1cd),_0x26ae5a['bmgUJ']=_0xef65e5(0x1a7),_0x26ae5a[_0xef65e5(0x1cf)]='testhubBuildUuid',_0x26ae5a[_0xef65e5(0x16d)]=_0xef65e5(0x1ce),_0x26ae5a[_0xef65e5(0x1cc)]=_0xef65e5(0x17d),_0x26ae5a[_0xef65e5(0x1b7)]=_0xef65e5(0x17b),_0x26ae5a[_0xef65e5(0x1e5)]='accessibilityOptions.includeIssueType.bestPractice',_0x26ae5a['iogGD']='accessibilityOptions.includeIssueType.needsReview',_0x26ae5a[_0xef65e5(0x1a6)]=_0xef65e5(0x1c2),_0x26ae5a[_0xef65e5(0x158)]='uploadMedia',_0x26ae5a[_0xef65e5(0x162)]=_0xef65e5(0x1e7),_0x26ae5a[_0xef65e5(0x1e1)]=_0xef65e5(0x196),_0x26ae5a['bFEap']=_0xef65e5(0x17e),_0x26ae5a['LHAzN']=_0xef65e5(0x1ab),_0x26ae5a[_0xef65e5(0x1de)]=_0xef65e5(0x19f),_0x26ae5a['AWnoe']=_0xef65e5(0x17a),_0x26ae5a[_0xef65e5(0x1c1)]=_0xef65e5(0x1b2);var _0x4c26f9=_0x26ae5a,_0x3984c8={};return _0x3984c8[_0xef65e5(0x1d3)]=_0x4c26f9[_0xef65e5(0x181)],_0x3984c8[_0xef65e5(0x193)]=_0x4c26f9[_0xef65e5(0x1a0)],_0x3984c8['os']='os',_0x3984c8[_0xef65e5(0x180)]=_0x4c26f9[_0xef65e5(0x1e9)],_0x3984c8['browser']=_0x4c26f9[_0xef65e5(0x18d)],_0x3984c8['browser_version']=_0x4c26f9['hwTAD'],_0x3984c8['browserstack.use_w3c']=_0x4c26f9[_0xef65e5(0x15b)],_0x3984c8[_0xef65e5(0x19b)]=_0x4c26f9[_0xef65e5(0x153)],_0x3984c8['build']=_0x4c26f9['XLLhb'],_0x3984c8[_0xef65e5(0x177)]=_0x4c26f9[_0xef65e5(0x17f)],_0x3984c8['browserstack.local']=_0x4c26f9['cHKso'],_0x3984c8[_0xef65e5(0x17c)]=_0x4c26f9[_0xef65e5(0x178)],_0x3984c8[_0xef65e5(0x157)]=_0x4c26f9[_0xef65e5(0x186)],_0x3984c8[_0xef65e5(0x1d5)]=_0x4c26f9[_0xef65e5(0x198)],_0x3984c8[_0xef65e5(0x151)]=_0x4c26f9['JBQbg'],_0x3984c8[_0xef65e5(0x1cb)]=_0x4c26f9[_0xef65e5(0x19c)],_0x3984c8['browserstack.appiumLogs']=_0x4c26f9[_0xef65e5(0x1c6)],_0x3984c8[_0xef65e5(0x18c)]=_0x4c26f9['AmWko'],_0x3984c8[_0xef65e5(0x188)]=_0x4c26f9['Opcms'],_0x3984c8[_0xef65e5(0x159)]=_0x4c26f9[_0xef65e5(0x1bb)],_0x3984c8[_0xef65e5(0x1ad)]=_0x4c26f9[_0xef65e5(0x1c8)],_0x3984c8[_0xef65e5(0x175)]=_0x4c26f9[_0xef65e5(0x161)],_0x3984c8[_0xef65e5(0x1b9)]=_0x4c26f9[_0xef65e5(0x165)],_0x3984c8[_0xef65e5(0x1d8)]=_0x4c26f9[_0xef65e5(0x18e)],_0x3984c8['browserstack.maskCommands']=_0x4c26f9[_0xef65e5(0x1aa)],_0x3984c8[_0xef65e5(0x1ae)]=_0x4c26f9[_0xef65e5(0x1ac)],_0x3984c8[_0xef65e5(0x189)]=_0x4c26f9[_0xef65e5(0x1d6)],_0x3984c8[_0xef65e5(0x176)]=_0x4c26f9[_0xef65e5(0x1d1)],_0x3984c8[_0xef65e5(0x1b1)]=_0x4c26f9[_0xef65e5(0x1c7)],_0x3984c8[_0xef65e5(0x1d0)]=_0x4c26f9[_0xef65e5(0x1b6)],_0x3984c8[_0xef65e5(0x160)]=_0x4c26f9['ILvFf'],_0x3984c8[_0xef65e5(0x1e8)]=_0x4c26f9[_0xef65e5(0x173)],_0x3984c8[_0xef65e5(0x164)]=_0x4c26f9[_0xef65e5(0x1d7)],_0x3984c8['realMobile']=_0x4c26f9['YfqZZ'],_0x3984c8[_0xef65e5(0x1b3)]=_0x4c26f9['lbANf'],_0x3984c8['deviceOrientation']=_0x4c26f9['rKukA'],_0x3984c8['browserstack.customNetwork']=_0x4c26f9[_0xef65e5(0x155)],_0x3984c8[_0xef65e5(0x1df)]=_0x4c26f9['NNyGH'],_0x3984c8['browserstack.buildIdentifier']=_0x4c26f9[_0xef65e5(0x183)],_0x3984c8[_0xef65e5(0x18b)]=_0x4c26f9[_0xef65e5(0x1bf)],_0x3984c8[_0xef65e5(0x192)]=_0x4c26f9['CJoaP'],_0x3984c8[_0xef65e5(0x1e6)]=_0x4c26f9[_0xef65e5(0x15c)],_0x3984c8[_0xef65e5(0x166)]=_0x4c26f9[_0xef65e5(0x1cf)],_0x3984c8[_0xef65e5(0x152)]=_0x4c26f9[_0xef65e5(0x16d)],_0x3984c8['browserstack.accessibilityOptions.scannerVersion']=_0x4c26f9[_0xef65e5(0x1cc)],_0x3984c8[_0xef65e5(0x1a5)]=_0x4c26f9[_0xef65e5(0x1b7)],_0x3984c8[_0xef65e5(0x15f)]=_0x4c26f9['iRwJr'],_0x3984c8[_0xef65e5(0x190)]=_0x4c26f9[_0xef65e5(0x1be)],_0x3984c8[_0xef65e5(0x1e3)]=_0x4c26f9['cAcZA'],_0x3984c8[_0xef65e5(0x19e)]=_0x4c26f9[_0xef65e5(0x158)],_0x3984c8[_0xef65e5(0x1b5)]=_0x4c26f9[_0xef65e5(0x162)],_0x3984c8[_0xef65e5(0x199)]=_0x4c26f9[_0xef65e5(0x1e1)],_0x3984c8[_0xef65e5(0x1d9)]=_0x4c26f9[_0xef65e5(0x15e)],_0x3984c8[_0xef65e5(0x1e0)]=_0x4c26f9['LHAzN'],_0x3984c8[_0xef65e5(0x1bd)]=_0x4c26f9[_0xef65e5(0x1de)],_0x3984c8[_0xef65e5(0x1a9)]=_0x4c26f9[_0xef65e5(0x1b8)],_0x3984c8[_0xef65e5(0x154)]=_0x4c26f9['zYmMI'],_0x3984c8;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a176_0x4fc156=a176_0x44a2;(function(_0x4455e6,_0x19612a){const _0x157f67=a176_0x44a2,_0x4b5297=_0x4455e6();while(!![]){try{const _0xed46f=-parseInt(_0x157f67(0x11f))/0x1+-parseInt(_0x157f67(0x178))/0x2*(-parseInt(_0x157f67(0x117))/0x3)+-parseInt(_0x157f67(0x12d))/0x4*(-parseInt(_0x157f67(0x157))/0x5)+-parseInt(_0x157f67(0x11b))/0x6+parseInt(_0x157f67(0x122))/0x7*(parseInt(_0x157f67(0x116))/0x8)+-parseInt(_0x157f67(0x150))/0x9*(-parseInt(_0x157f67(0x11e))/0xa)+-parseInt(_0x157f67(0x11d))/0xb*(parseInt(_0x157f67(0x147))/0xc);if(_0xed46f===_0x19612a)break;else _0x4b5297['push'](_0x4b5297['shift']());}catch(_0x54746c){_0x4b5297['push'](_0x4b5297['shift']());}}}(a176_0x1b57,0x9672d));function a176_0x1b57(){const _0x240d91=['./helpers/logger','latency','hubLatencies','4KBhsvV','rGzQp','fwWQQ','tbcIS','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','hubUrl','40jUiMsa','1732662KchMiG','now','HUB_URL_MAP','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','1223736NPBoDn','LeGPB','1133HAYlRg','329740TrlcKf','277551NouJhL','util','setGlobal','740075VKpvev','Jqsfb','resolve','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','debug','all','SpHcC','Response:\x20','XzGGa','ikZoy','ERROR\x20in\x20hub\x20selection:\x20','912556TvFPDV','path','TDiXo','catch','jvadl','set','hPdIQ','hubRegion','parse','\x20HUB\x20-\x20','GEQtK','puYsU','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','allSettled','Execution\x20time\x20for\x20','NEAREST\x20HUBS\x20LIST:\x20','delete','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','./helpers/helper','qzSZn','next_hubs','nextHubs','Invalid\x20new\x20HUB\x20URL:\x20','udVQM','get','findLatency','175212rqVlOy','SLLWT','DhuKN','status','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','pathname','MMGUy','getRequestOptions','https://','126UpnZyg','IUetb','hubs','value','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','allocateHub','length','10vIuaou','zFzGx','nodeRequest','check','bEtIh','newHubUrlBySession','race','IVHdS','replace','./bin/utils/constants','updateHubUrl','/wd/hub','format','hubRegion\x20','Fukhe','ZyoBL','HrhAN','HjGhI','hash','then','map','GET','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','whRlb','search','DstDb','hostname','IIoQP','BZFKZ','ZYvNE'];a176_0x1b57=function(){return _0x240d91;};return a176_0x1b57();}const url=require('url'),util=require(a176_0x4fc156(0x120)),helper=require(a176_0x4fc156(0x13f)),logger=require(a176_0x4fc156(0x175))['winstonLogger'],constants=require(a176_0x4fc156(0x160)),globals=require('./helpers/globals');function a176_0x44a2(_0x438ee1,_0x2c1558){const _0x1b5711=a176_0x1b57();return a176_0x44a2=function(_0x44a2f6,_0x4e40fb){_0x44a2f6=_0x44a2f6-0x116;let _0x2a20c1=_0x1b5711[_0x44a2f6];return _0x2a20c1;},a176_0x44a2(_0x438ee1,_0x2c1558);}global['newHubUrlBySession']=global[a176_0x4fc156(0x15c)]||new Map(),exports[a176_0x4fc156(0x14e)]=_0x5d8b2a=>{const _0x527400=a176_0x4fc156,_0x3f1696={};_0x3f1696[_0x527400(0x166)]=function(_0x304ff4,_0x5ad5aa){return _0x304ff4+_0x5ad5aa;},_0x3f1696[_0x527400(0x15e)]=_0x527400(0x143);const _0x2661f4=_0x3f1696,_0x2a663a=url[_0x527400(0x135)](_0x5d8b2a);if(!_0x2a663a[_0x527400(0x171)])throw new Error(_0x2661f4[_0x527400(0x166)](_0x2661f4['IVHdS'],_0x5d8b2a));return _0x2a663a[_0x527400(0x16f)]=null,_0x2a663a[_0x527400(0x169)]=null,_0x2a663a[_0x527400(0x12e)]=_0x2a663a[_0x527400(0x14c)],_0x2a663a;},exports[a176_0x4fc156(0x161)]=(_0x4647cc,_0x2b6251)=>{const _0x1d4075=a176_0x4fc156,_0x3c9c24={};_0x3c9c24['HjGhI']=_0x1d4075(0x139);const _0x874729=_0x3c9c24;if(!_0x2b6251){logger['debug'](_0x874729[_0x1d4075(0x168)]);return;}global[_0x1d4075(0x15c)][_0x1d4075(0x132)](_0x2b6251,_0x4647cc);},exports['consumeHubUrlForSession']=_0x8be84b=>{const _0x6e5ed1=a176_0x4fc156;if(_0x8be84b&&global[_0x6e5ed1(0x15c)]['has'](_0x8be84b)){const _0x5a7e86=global[_0x6e5ed1(0x15c)][_0x6e5ed1(0x145)](_0x8be84b);return global[_0x6e5ed1(0x15c)][_0x6e5ed1(0x13d)](_0x8be84b),_0x5a7e86;}return'';},exports[a176_0x4fc156(0x155)]=_0x392ff0=>{const _0x570b09=a176_0x4fc156,_0x51d7d5={'bEtIh':'_hubAllocationData','SLLWT':function(_0xab3c8c,_0x1190b8){return _0xab3c8c===_0x1190b8;},'IUetb':'fulfilled','XzGGa':_0x570b09(0x125),'Jqsfb':function(_0x1ed35a,_0x3b78b6){return _0x1ed35a+_0x3b78b6;},'VTMRR':_0x570b09(0x14f),'whRlb':_0x570b09(0x162),'zFzGx':function(_0x1ca881){return _0x1ca881();},'ZAxSM':function(_0x4b96a8,_0x36830f){return _0x4b96a8==_0x36830f;},'LeGPB':function(_0x3b68ba,_0x272328){return _0x3b68ba===_0x272328;},'Fukhe':function(_0x112be3,_0x5987c7){return _0x112be3!==_0x5987c7;},'IIoQP':function(_0x2a8a76){return _0x2a8a76();},'udVQM':function(_0x325f64){return _0x325f64();},'oqOvd':function(_0x2f7c57){return _0x2f7c57();}};return new Promise(_0x4a3f84=>{const _0x7dc11b=_0x570b09,_0x470f40={'puYsU':function(_0x417156,_0x3a1d69){const _0xe22767=a176_0x44a2;return _0x51d7d5[_0xe22767(0x165)](_0x417156,_0x3a1d69);},'cJZYQ':function(_0x22fa4c,_0x2f5339){return _0x51d7d5['Jqsfb'](_0x22fa4c,_0x2f5339);},'xmkOq':_0x51d7d5['VTMRR'],'MMGUy':function(_0x1afbf5){const _0x545104=a176_0x44a2;return _0x51d7d5[_0x545104(0x172)](_0x1afbf5);},'qzSZn':function(_0x12cf81){const _0x4e612d=a176_0x44a2;return _0x51d7d5[_0x4e612d(0x144)](_0x12cf81);}};if(_0x392ff0&&_0x392ff0['hubRegion']){const _0x31258b=constants[_0x7dc11b(0x119)][_0x392ff0[_0x7dc11b(0x134)]];if(_0x31258b)return constants[_0x7dc11b(0x17d)]=_0x31258b,logger[_0x7dc11b(0x126)]('HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20'+_0x31258b),globals[_0x7dc11b(0x121)](_0x51d7d5[_0x7dc11b(0x15b)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x31258b[_0x7dc11b(0x15f)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date['now']()}),_0x51d7d5['oqOvd'](_0x4a3f84);logger[_0x7dc11b(0x126)](_0x7dc11b(0x164)+_0x392ff0[_0x7dc11b(0x134)]+_0x7dc11b(0x16d));}Promise[_0x7dc11b(0x124)](this[_0x7dc11b(0x142)](_0x392ff0))[_0x7dc11b(0x16a)](_0x270d0c=>{const _0x2851c7=_0x7dc11b,_0x3321a0={'rGzQp':_0x51d7d5[_0x2851c7(0x15b)],'ikZoy':function(_0x15cdf6,_0x2c5373){const _0x32e658=_0x2851c7;return _0x51d7d5[_0x32e658(0x148)](_0x15cdf6,_0x2c5373);},'GEQtK':_0x51d7d5[_0x2851c7(0x151)],'TDiXo':_0x51d7d5[_0x2851c7(0x12a)],'HrhAN':function(_0x5e5457,_0x457344){const _0x27a256=_0x2851c7;return _0x51d7d5[_0x27a256(0x123)](_0x5e5457,_0x457344);},'CSPAu':_0x51d7d5['VTMRR'],'DhuKN':_0x51d7d5[_0x2851c7(0x16e)],'BZFKZ':function(_0x27625a){const _0x528709=_0x2851c7;return _0x51d7d5[_0x528709(0x158)](_0x27625a);}};logger[_0x2851c7(0x126)](_0x2851c7(0x13c)+util[_0x2851c7(0x163)]('%j',_0x270d0c));if(_0x51d7d5['ZAxSM'](_0x270d0c,null)||_0x51d7d5[_0x2851c7(0x11c)](_0x270d0c[_0x2851c7(0x156)],0x0))return _0x51d7d5['zFzGx'](_0x4a3f84);const _0x3527cd=_0x270d0c['map'](_0x2b76c4=>{const _0x3ae7bc=_0x2851c7,_0x3dbd5b={'ZYvNE':function(_0x11b24e,_0x52ee0b){const _0x731b17=a176_0x44a2;return _0x470f40[_0x731b17(0x138)](_0x11b24e,_0x52ee0b);}},_0x2b279f=_0x470f40['cJZYQ'](_0x470f40['xmkOq'],_0x2b76c4);return this[_0x3ae7bc(0x146)](_0x392ff0,_0x2b279f)[_0x3ae7bc(0x16a)](_0xfcf136=>{const _0x153e32=_0x3ae7bc;if(_0xfcf136&&_0xfcf136[_0x153e32(0x17d)]&&_0x3dbd5b[_0x153e32(0x174)](_0xfcf136[_0x153e32(0x176)],undefined)){const _0x3530be={};return _0x3530be['hubUrl']=_0xfcf136[_0x153e32(0x17d)],_0x3530be[_0x153e32(0x176)]=_0xfcf136[_0x153e32(0x176)],_0x3530be['ok']=!![],_0x3530be;}const _0x330094={};return _0x330094[_0x153e32(0x17d)]=_0x2b279f,_0x330094[_0x153e32(0x176)]=null,_0x330094['ok']=![],_0x330094;})[_0x3ae7bc(0x130)](()=>({'hubUrl':_0x2b279f,'latency':null,'ok':![]}));});Promise[_0x2851c7(0x15d)](_0x3527cd[_0x2851c7(0x16b)](_0x450ddd=>_0x450ddd[_0x2851c7(0x16a)](_0x256747=>_0x256747['ok']?_0x256747:null)))[_0x2851c7(0x16a)](_0x524573=>{const _0x2825b5=_0x2851c7;if(_0x524573)return _0x524573;return Promise[_0x2825b5(0x127)](_0x3527cd)[_0x2825b5(0x16a)](()=>null);})[_0x2851c7(0x16a)](_0xbc14d8=>{const _0x46be44=_0x2851c7;if(!_0xbc14d8){logger[_0x46be44(0x126)](_0x3321a0[_0x46be44(0x12f)]);const _0xb3afaa=_0x3321a0[_0x46be44(0x167)](_0x3321a0['CSPAu'],_0x270d0c[0x0]);return globals[_0x46be44(0x121)](_0x3321a0[_0x46be44(0x179)],{'nearestHubs':_0x270d0c[_0x46be44(0x16b)](_0x441c5b=>_0x46be44(0x14f)+_0x441c5b),'hubLatencies':{},'selectedHub':_0xb3afaa,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x46be44(0x118)]()}),constants[_0x46be44(0x17d)]=_0x3321a0['HrhAN'](_0xb3afaa,_0x3321a0['DhuKN']),logger[_0x46be44(0x126)]('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0xb3afaa),_0x3321a0[_0x46be44(0x173)](_0x4a3f84);}const _0x2ab484={[_0xbc14d8[_0x46be44(0x17d)]]:_0xbc14d8[_0x46be44(0x176)]},_0x159bc6={'nearestHubs':_0x270d0c[_0x46be44(0x16b)](_0x8d4f47=>_0x46be44(0x14f)+_0x8d4f47),'hubLatencies':_0x2ab484,'selectedHub':_0xbc14d8[_0x46be44(0x17d)],'selectedHubLatency':_0xbc14d8[_0x46be44(0x176)],'timestamp':Date[_0x46be44(0x118)]()};globals[_0x46be44(0x121)](_0x3321a0[_0x46be44(0x179)],_0x159bc6),constants['hubUrl']=_0x3321a0['HrhAN'](_0xbc14d8[_0x46be44(0x17d)],_0x3321a0[_0x46be44(0x149)]),logger[_0x46be44(0x126)]('HUB\x20URL\x20SET\x20TO\x20-\x20'+_0xbc14d8[_0x46be44(0x17d)]),_0x3321a0[_0x46be44(0x173)](_0x4a3f84),Promise[_0x46be44(0x13a)](_0x3527cd)[_0x46be44(0x16a)](_0x1db670=>{const _0x1fb851=_0x46be44;try{const _0x3d1201=globals['getGlobal'](_0x3321a0[_0x1fb851(0x179)]);if(!_0x3d1201||_0x3d1201['skipped'])return;const _0x33fe4d={};for(const _0x15e475 of _0x1db670){_0x3321a0[_0x1fb851(0x12b)](_0x15e475[_0x1fb851(0x14a)],_0x3321a0[_0x1fb851(0x137)])&&_0x15e475[_0x1fb851(0x153)]&&_0x15e475[_0x1fb851(0x153)]['ok']&&(_0x33fe4d[_0x15e475['value'][_0x1fb851(0x17d)]]=_0x15e475[_0x1fb851(0x153)][_0x1fb851(0x176)]);}_0x3d1201[_0x1fb851(0x177)]=_0x33fe4d;}catch(_0x5cf556){logger[_0x1fb851(0x126)](_0x1fb851(0x154)+_0x5cf556);}})['catch'](_0x48b38e=>{const _0x1be12f=_0x46be44;logger[_0x1be12f(0x126)](_0x1be12f(0x14b)+_0x48b38e);});})['catch'](_0xee7821=>{const _0x48487c=_0x2851c7;logger[_0x48487c(0x126)](_0x48487c(0x12c)+_0xee7821),_0x470f40[_0x48487c(0x14d)](_0x4a3f84);});})[_0x7dc11b(0x130)](_0x585d22=>{const _0x2429a7=_0x7dc11b;logger[_0x2429a7(0x126)](_0x2429a7(0x17c)+_0x585d22),_0x470f40[_0x2429a7(0x140)](_0x4a3f84);});});},exports[a176_0x4fc156(0x146)]=async(_0xadd5f5,_0x57e540)=>{const _0x4f2acc=a176_0x4fc156,_0x39732d={};_0x39732d['fwWQQ']=_0x4f2acc(0x16c),_0x39732d[_0x4f2acc(0x170)]=_0x4f2acc(0x15a),_0x39732d['SpHcC']=function(_0x57b91e,_0x13777d){return _0x57b91e-_0x13777d;};const _0x5823c2=_0x39732d;try{const _0x1820d0=new Date();await helper[_0x4f2acc(0x159)](_0x5823c2[_0x4f2acc(0x17a)],_0x5823c2[_0x4f2acc(0x170)],{},_0xadd5f5,_0x57e540,0x1388);const _0xc79415=_0x5823c2[_0x4f2acc(0x128)](new Date(),_0x1820d0);logger[_0x4f2acc(0x126)](_0x4f2acc(0x13b)+_0x57e540+'\x20is:\x20'+_0xc79415+'ms');const _0x1f7f69={};return _0x1f7f69[_0x4f2acc(0x17d)]=_0x57e540,_0x1f7f69[_0x4f2acc(0x176)]=_0xc79415,_0x1f7f69;}catch(_0x20615f){return logger[_0x4f2acc(0x126)](_0x4f2acc(0x13e)+_0x57e540+_0x4f2acc(0x136)+_0x20615f),{};}},exports[a176_0x4fc156(0x142)]=async _0x3b31bd=>{const _0x111edc=a176_0x4fc156,_0x40b1d9={'hPdIQ':function(_0x586084,_0x4cdfff){return _0x586084(_0x4cdfff);},'CYqap':'./bin/utils/constants','SkSCQ':_0x111edc(0x162),'tbcIS':_0x111edc(0x16c),'jvadl':_0x111edc(0x141)};try{const _0x2e503d=_0x40b1d9[_0x111edc(0x133)](require,_0x40b1d9['CYqap'])[_0x111edc(0x17d)][_0x111edc(0x15f)](_0x40b1d9['SkSCQ'],''),_0x10d0d4=await helper[_0x111edc(0x159)](_0x40b1d9[_0x111edc(0x17b)],_0x40b1d9[_0x111edc(0x131)],{},_0x3b31bd,_0x2e503d,0x1388),_0x54ae68=_0x10d0d4['data'];return logger[_0x111edc(0x126)](_0x111edc(0x129)+util[_0x111edc(0x163)]('%j',_0x54ae68)),_0x54ae68[_0x111edc(0x152)];}catch(_0xad4fcc){logger[_0x111edc(0x126)](_0x111edc(0x11a)+_0xad4fcc);}return null;};
|
|
1
|
+
function a171_0x37c7(_0x2ca6af,_0x212a87){const _0x554413=a171_0x5544();return a171_0x37c7=function(_0x37c701,_0x205e8c){_0x37c701=_0x37c701-0x1e5;let _0x1fe690=_0x554413[_0x37c701];return _0x1fe690;},a171_0x37c7(_0x2ca6af,_0x212a87);}const a171_0x16a60c=a171_0x37c7;(function(_0x1fd1bd,_0x54c3ac){const _0x174d13=a171_0x37c7,_0x3292d2=_0x1fd1bd();while(!![]){try{const _0x97c9ee=parseInt(_0x174d13(0x25e))/0x1+-parseInt(_0x174d13(0x23f))/0x2*(parseInt(_0x174d13(0x214))/0x3)+parseInt(_0x174d13(0x234))/0x4*(parseInt(_0x174d13(0x1fc))/0x5)+parseInt(_0x174d13(0x217))/0x6*(parseInt(_0x174d13(0x1e9))/0x7)+-parseInt(_0x174d13(0x235))/0x8*(-parseInt(_0x174d13(0x1f9))/0x9)+parseInt(_0x174d13(0x205))/0xa*(-parseInt(_0x174d13(0x208))/0xb)+parseInt(_0x174d13(0x25c))/0xc*(-parseInt(_0x174d13(0x200))/0xd);if(_0x97c9ee===_0x54c3ac)break;else _0x3292d2['push'](_0x3292d2['shift']());}catch(_0x1cae7d){_0x3292d2['push'](_0x3292d2['shift']());}}}(a171_0x5544,0x80536));function a171_0x5544(){const _0x273866=['QenxR','RYedb','srJAe','YCsoL','ftOUH','value','nodeRequest','Qrpdb','resolve','./helpers/globals','ERROR\x20in\x20hub\x20selection:\x20','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','Invalid\x20new\x20HUB\x20URL:\x20','dmOcI','VlJag','\x20is:\x20','qMurC','NltnP','zacts','qOicX','hubLatencies','_hubAllocationData','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','search','Execution\x20time\x20for\x20','YzkwX','140604jEkCDy','iBpql','984623XxvmQu','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','UKHbx','allocateHub','xMlgw','1568693svkmyC','MFgEz','./helpers/logger','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','pacRQ','gQJSn','Ngpwr','IUkPH','OvwkC','pxzNN','hubUrl','xgQfr','FxGGX','/wd/hub','status','gfLdM','69417JEFLae','updateHubUrl','hubRegion\x20','205795NlefYD','parse','HUB_URL_MAP','cyaSq','1898GYhKHp','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','then','format','109910culzmw','findLatency','length','638pBiEaA','FgFjz','catch','GET','HUB\x20URL\x20SET\x20TO\x20-\x20','delete','map','\x20HUB\x20-\x20','replace','data','latency','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','78753VuXuVN','path','YBcQE','18QTGAFs','util','wbduQ','newHubUrlBySession','hash','izBPs','EThQj','CZqts','next_hubs','./bin/utils/constants','all','VrcQk','now','setGlobal','ebvUi','Response:\x20','winstonLogger','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','./helpers/helper','Sgoex','debug','kkfqv','qJfgu','bmVEE','hubs','https://','tAejj','naJcz','POIly','88UGdxwz','568LgYUjn','skipped','sFtSK','NyUkL','nextHubs','jdySD','vYsCV','set','check','hubRegion','18nvGvuQ','gjNRg','QOjhf'];a171_0x5544=function(){return _0x273866;};return a171_0x5544();}const url=require('url'),util=require(a171_0x16a60c(0x218)),helper=require(a171_0x16a60c(0x229)),logger=require(a171_0x16a60c(0x1eb))[a171_0x16a60c(0x227)],constants=require(a171_0x16a60c(0x220)),globals=require(a171_0x16a60c(0x24b));global['newHubUrlBySession']=global['newHubUrlBySession']||new Map(),exports['getRequestOptions']=_0x172923=>{const _0xdbeac3=a171_0x16a60c,_0x3c1c22={};_0x3c1c22[_0xdbeac3(0x225)]=function(_0x43b544,_0x29b748){return _0x43b544+_0x29b748;},_0x3c1c22['Ngpwr']=_0xdbeac3(0x24e);const _0x180bc5=_0x3c1c22,_0x183c4c=url[_0xdbeac3(0x1fd)](_0x172923);if(!_0x183c4c['hostname'])throw new Error(_0x180bc5[_0xdbeac3(0x225)](_0x180bc5[_0xdbeac3(0x1ef)],_0x172923));return _0x183c4c[_0xdbeac3(0x259)]=null,_0x183c4c[_0xdbeac3(0x21b)]=null,_0x183c4c[_0xdbeac3(0x215)]=_0x183c4c['pathname'],_0x183c4c;},exports[a171_0x16a60c(0x1fa)]=(_0x327c18,_0x2227ea)=>{const _0x2566fa=a171_0x16a60c,_0x934b79={};_0x934b79['qJfgu']=_0x2566fa(0x1ec);const _0x3f52ce=_0x934b79;if(!_0x2227ea){logger[_0x2566fa(0x22b)](_0x3f52ce[_0x2566fa(0x22d)]);return;}global[_0x2566fa(0x21a)][_0x2566fa(0x23c)](_0x2227ea,_0x327c18);},exports['consumeHubUrlForSession']=_0x2720f7=>{const _0x10081a=a171_0x16a60c;if(_0x2720f7&&global[_0x10081a(0x21a)]['has'](_0x2720f7)){const _0x15744a=global[_0x10081a(0x21a)]['get'](_0x2720f7);return global['newHubUrlBySession'][_0x10081a(0x20d)](_0x2720f7),_0x15744a;}return'';},exports[a171_0x16a60c(0x1e7)]=_0x42fc7f=>{const _0x29fbe0=a171_0x16a60c,_0x4f5c46={'pacRQ':function(_0x24efe5){return _0x24efe5();},'vYsCV':function(_0x392ea0){return _0x392ea0();},'naJcz':function(_0x26ec88,_0x51b050){return _0x26ec88!==_0x51b050;},'VrcQk':function(_0x59abfd,_0x3ee913){return _0x59abfd+_0x3ee913;},'QenxR':_0x29fbe0(0x230),'UKHbx':_0x29fbe0(0x257),'CZqts':function(_0x5ef679,_0x1ab9fa){return _0x5ef679===_0x1ab9fa;},'YBcQE':'fulfilled','POIly':_0x29fbe0(0x258),'sZuMG':_0x29fbe0(0x1f6),'xMlgw':function(_0x4a2f83){return _0x4a2f83();},'bmVEE':function(_0x3666f4){return _0x3666f4();},'qMurC':function(_0x141a95,_0x5efd21){return _0x141a95==_0x5efd21;},'gQJSn':function(_0x2acd45,_0x1a4f74){return _0x2acd45===_0x1a4f74;},'jdySD':function(_0x472986){return _0x472986();}};return new Promise(_0x2c7158=>{const _0x3652d1=_0x29fbe0,_0x4c17c5={'umUQt':function(_0x368dae){const _0x3e4182=a171_0x37c7;return _0x4f5c46[_0x3e4182(0x23b)](_0x368dae);},'OvwkC':function(_0x18b187,_0x22af7a){const _0xc3dd4e=a171_0x37c7;return _0x4f5c46[_0xc3dd4e(0x232)](_0x18b187,_0x22af7a);},'TIhwL':function(_0x2708e3,_0x1940d6){const _0x3b479c=a171_0x37c7;return _0x4f5c46[_0x3b479c(0x222)](_0x2708e3,_0x1940d6);},'qOicX':_0x4f5c46[_0x3652d1(0x242)],'Sgoex':_0x4f5c46['UKHbx'],'zacts':function(_0x16dc80,_0x4c5723){const _0x11449a=_0x3652d1;return _0x4f5c46[_0x11449a(0x21e)](_0x16dc80,_0x4c5723);},'IUkPH':_0x4f5c46[_0x3652d1(0x216)],'NnQIH':_0x4f5c46[_0x3652d1(0x233)],'FgFjz':_0x4f5c46['sZuMG'],'kuQSj':function(_0x25d0d9){const _0x122784=_0x3652d1;return _0x4f5c46[_0x122784(0x1e8)](_0x25d0d9);},'sFtSK':function(_0x119c8d){const _0x2ba11e=_0x3652d1;return _0x4f5c46[_0x2ba11e(0x22e)](_0x119c8d);},'MFgEz':function(_0x12b67c,_0x50a728){const _0x5ab15f=_0x3652d1;return _0x4f5c46[_0x5ab15f(0x252)](_0x12b67c,_0x50a728);},'ftOUH':function(_0x4bb643,_0x1fc411){const _0x36fb02=_0x3652d1;return _0x4f5c46[_0x36fb02(0x1ee)](_0x4bb643,_0x1fc411);},'QOjhf':function(_0x436403){const _0x185fa9=_0x3652d1;return _0x4f5c46[_0x185fa9(0x23a)](_0x436403);}};if(_0x42fc7f&&_0x42fc7f[_0x3652d1(0x23e)]){const _0x5de0a4=constants[_0x3652d1(0x1fe)][_0x42fc7f[_0x3652d1(0x23e)]];if(_0x5de0a4)return constants[_0x3652d1(0x1f3)]=_0x5de0a4,logger[_0x3652d1(0x22b)](_0x3652d1(0x228)+_0x5de0a4),globals[_0x3652d1(0x224)](_0x4f5c46[_0x3652d1(0x1e6)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x5de0a4[_0x3652d1(0x210)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date['now']()}),_0x4f5c46[_0x3652d1(0x23a)](_0x2c7158);logger[_0x3652d1(0x22b)](_0x3652d1(0x1fb)+_0x42fc7f[_0x3652d1(0x23e)]+'\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection');}Promise[_0x3652d1(0x24a)](this[_0x3652d1(0x239)](_0x42fc7f))[_0x3652d1(0x203)](_0x469b59=>{const _0x1d8bd6=_0x3652d1,_0x4efdea={'NyUkL':function(_0x3154bb,_0x79ad2){const _0x2c0b03=a171_0x37c7;return _0x4c17c5[_0x2c0b03(0x1f1)](_0x3154bb,_0x79ad2);},'NltnP':function(_0x3c3758,_0x43d666){return _0x4c17c5['TIhwL'](_0x3c3758,_0x43d666);},'RYedb':_0x4c17c5[_0x1d8bd6(0x255)],'cyaSq':_0x4c17c5[_0x1d8bd6(0x22a)],'xgQfr':function(_0x3bcafc,_0x3db577){const _0x10deb0=_0x1d8bd6;return _0x4c17c5[_0x10deb0(0x254)](_0x3bcafc,_0x3db577);},'srJAe':_0x4c17c5[_0x1d8bd6(0x1f0)],'izBPs':_0x4c17c5['NnQIH'],'kkfqv':_0x4c17c5[_0x1d8bd6(0x209)],'gjNRg':function(_0xde894f){return _0x4c17c5['kuQSj'](_0xde894f);},'dmOcI':function(_0x1fd36f){const _0x3fe75b=_0x1d8bd6;return _0x4c17c5[_0x3fe75b(0x237)](_0x1fd36f);}};logger[_0x1d8bd6(0x22b)]('NEAREST\x20HUBS\x20LIST:\x20'+util[_0x1d8bd6(0x204)]('%j',_0x469b59));if(_0x4c17c5[_0x1d8bd6(0x1ea)](_0x469b59,null)||_0x4c17c5[_0x1d8bd6(0x246)](_0x469b59[_0x1d8bd6(0x207)],0x0))return _0x4c17c5[_0x1d8bd6(0x241)](_0x2c7158);const _0x282df=_0x469b59['map'](_0x2f60f2=>{const _0x4755f9=_0x1d8bd6,_0x4bda48={'YCsoL':function(_0x6ff854,_0x474262){const _0x4f45ee=a171_0x37c7;return _0x4efdea[_0x4f45ee(0x238)](_0x6ff854,_0x474262);}},_0x3f44cf=_0x4efdea[_0x4755f9(0x253)](_0x4efdea[_0x4755f9(0x243)],_0x2f60f2);return this[_0x4755f9(0x206)](_0x42fc7f,_0x3f44cf)[_0x4755f9(0x203)](_0x10d110=>{const _0x24aedc=_0x4755f9;if(_0x10d110&&_0x10d110[_0x24aedc(0x1f3)]&&_0x4bda48[_0x24aedc(0x245)](_0x10d110['latency'],undefined)){const _0x530327={};return _0x530327[_0x24aedc(0x1f3)]=_0x10d110['hubUrl'],_0x530327[_0x24aedc(0x212)]=_0x10d110[_0x24aedc(0x212)],_0x530327['ok']=!![],_0x530327;}const _0x165ce9={};return _0x165ce9[_0x24aedc(0x1f3)]=_0x3f44cf,_0x165ce9[_0x24aedc(0x212)]=null,_0x165ce9['ok']=![],_0x165ce9;})[_0x4755f9(0x20a)](()=>({'hubUrl':_0x3f44cf,'latency':null,'ok':![]}));});Promise['race'](_0x282df[_0x1d8bd6(0x20e)](_0x2e896a=>_0x2e896a[_0x1d8bd6(0x203)](_0x3ef14=>_0x3ef14['ok']?_0x3ef14:null)))[_0x1d8bd6(0x203)](_0xb30597=>{const _0x12af01=_0x1d8bd6;if(_0xb30597)return _0xb30597;return Promise[_0x12af01(0x221)](_0x282df)[_0x12af01(0x203)](()=>null);})[_0x1d8bd6(0x203)](_0x4b7965=>{const _0x148187=_0x1d8bd6,_0x1755ee={'Qrpdb':_0x4efdea[_0x148187(0x1ff)],'wbduQ':function(_0x5e1779,_0x16ba78){const _0x45f8cb=_0x148187;return _0x4efdea[_0x45f8cb(0x1f4)](_0x5e1779,_0x16ba78);},'VlJag':_0x4efdea[_0x148187(0x244)]};if(!_0x4b7965){logger[_0x148187(0x22b)](_0x4efdea[_0x148187(0x21c)]);const _0x2898d8=_0x4efdea[_0x148187(0x253)](_0x4efdea['RYedb'],_0x469b59[0x0]);return globals[_0x148187(0x224)](_0x4efdea[_0x148187(0x1ff)],{'nearestHubs':_0x469b59[_0x148187(0x20e)](_0x277894=>_0x148187(0x230)+_0x277894),'hubLatencies':{},'selectedHub':_0x2898d8,'selectedHubLatency':null,'fallback':!![],'timestamp':Date['now']()}),constants[_0x148187(0x1f3)]=_0x4efdea[_0x148187(0x253)](_0x2898d8,_0x4efdea[_0x148187(0x22c)]),logger[_0x148187(0x22b)](_0x148187(0x202)+_0x2898d8),_0x4efdea[_0x148187(0x240)](_0x2c7158);}const _0x2d1b3d={[_0x4b7965[_0x148187(0x1f3)]]:_0x4b7965[_0x148187(0x212)]},_0x4ada6e={'nearestHubs':_0x469b59[_0x148187(0x20e)](_0x4fe82c=>_0x148187(0x230)+_0x4fe82c),'hubLatencies':_0x2d1b3d,'selectedHub':_0x4b7965['hubUrl'],'selectedHubLatency':_0x4b7965['latency'],'timestamp':Date[_0x148187(0x223)]()};globals[_0x148187(0x224)](_0x4efdea['cyaSq'],_0x4ada6e),constants[_0x148187(0x1f3)]=_0x4efdea[_0x148187(0x253)](_0x4b7965[_0x148187(0x1f3)],_0x4efdea[_0x148187(0x22c)]),logger[_0x148187(0x22b)](_0x148187(0x20c)+_0x4b7965[_0x148187(0x1f3)]),_0x4efdea[_0x148187(0x24f)](_0x2c7158),Promise['allSettled'](_0x282df)[_0x148187(0x203)](_0x2c5c19=>{const _0x5e0893=_0x148187;try{const _0x17a0d7=globals['getGlobal'](_0x1755ee[_0x5e0893(0x249)]);if(!_0x17a0d7||_0x17a0d7[_0x5e0893(0x236)])return;const _0x362cb1={};for(const _0x97207f of _0x2c5c19){_0x1755ee[_0x5e0893(0x219)](_0x97207f[_0x5e0893(0x1f7)],_0x1755ee[_0x5e0893(0x250)])&&_0x97207f[_0x5e0893(0x247)]&&_0x97207f[_0x5e0893(0x247)]['ok']&&(_0x362cb1[_0x97207f[_0x5e0893(0x247)][_0x5e0893(0x1f3)]]=_0x97207f[_0x5e0893(0x247)][_0x5e0893(0x212)]);}_0x17a0d7[_0x5e0893(0x256)]=_0x362cb1;}catch(_0x3f242b){logger['debug'](_0x5e0893(0x213)+_0x3f242b);}})['catch'](_0x5e083a=>{const _0x41f791=_0x148187;logger[_0x41f791(0x22b)](_0x41f791(0x201)+_0x5e083a);});})[_0x1d8bd6(0x20a)](_0x32deff=>{const _0x3fb32b=_0x1d8bd6;logger[_0x3fb32b(0x22b)](_0x3fb32b(0x24c)+_0x32deff),_0x4c17c5['umUQt'](_0x2c7158);});})[_0x3652d1(0x20a)](_0x8ff97c=>{const _0x2de57e=_0x3652d1;logger[_0x2de57e(0x22b)](_0x2de57e(0x24d)+_0x8ff97c),_0x4f5c46[_0x2de57e(0x1ed)](_0x2c7158);});});},exports['findLatency']=async(_0x38570b,_0x18ce1d)=>{const _0x50814e=a171_0x16a60c,_0x36f87d={};_0x36f87d['pxzNN']=_0x50814e(0x20b),_0x36f87d[_0x50814e(0x21d)]=_0x50814e(0x23d),_0x36f87d['iBpql']=function(_0x27c9db,_0x319191){return _0x27c9db-_0x319191;};const _0x1b9708=_0x36f87d;try{const _0x886cf=new Date();await helper['nodeRequest'](_0x1b9708[_0x50814e(0x1f2)],_0x1b9708[_0x50814e(0x21d)],{},_0x38570b,_0x18ce1d,0x1388);const _0xd5ef43=_0x1b9708[_0x50814e(0x25d)](new Date(),_0x886cf);logger['debug'](_0x50814e(0x25a)+_0x18ce1d+_0x50814e(0x251)+_0xd5ef43+'ms');const _0x4cfa8d={};return _0x4cfa8d[_0x50814e(0x1f3)]=_0x18ce1d,_0x4cfa8d[_0x50814e(0x212)]=_0xd5ef43,_0x4cfa8d;}catch(_0x3570d9){return logger[_0x50814e(0x22b)](_0x50814e(0x1e5)+_0x18ce1d+_0x50814e(0x20f)+_0x3570d9),{};}},exports['nextHubs']=async _0x45e5e9=>{const _0x303d46=a171_0x16a60c,_0x107de0={'YzkwX':function(_0x2e5dc2,_0x401bd6){return _0x2e5dc2(_0x401bd6);},'gfLdM':_0x303d46(0x220),'FxGGX':'/wd/hub','tAejj':'GET','DBqzR':_0x303d46(0x21f)};try{const _0x370cce=_0x107de0[_0x303d46(0x25b)](require,_0x107de0[_0x303d46(0x1f8)])['hubUrl'][_0x303d46(0x210)](_0x107de0[_0x303d46(0x1f5)],''),_0x300c5b=await helper[_0x303d46(0x248)](_0x107de0[_0x303d46(0x231)],_0x107de0['DBqzR'],{},_0x45e5e9,_0x370cce,0x1388),_0x5e6a78=_0x300c5b[_0x303d46(0x211)];return logger[_0x303d46(0x22b)](_0x303d46(0x226)+util[_0x303d46(0x204)]('%j',_0x5e6a78)),_0x5e6a78[_0x303d46(0x22f)];}catch(_0x428850){logger['debug']('ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20'+_0x428850);}return null;};
|