browserstack-node-sdk 1.64.2 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/generated/sdk-messages-accessibility_pb.d.ts +70 -0
- package/generated/sdk-messages-accessibility_pb.js +545 -1
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +33 -0
- package/package.json +3 -3
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -0
- 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/nodeGenericTestFramework.js +1 -0
- 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_0x10c2aa=a172_0x5857;(function(_0x54e10b,_0x410c21){const _0x2dffec=a172_0x5857,_0x564c2d=_0x54e10b();while(!![]){try{const _0x31b7f7=-parseInt(_0x2dffec(0x18f))/0x1+-parseInt(_0x2dffec(0x160))/0x2*(parseInt(_0x2dffec(0x196))/0x3)+-parseInt(_0x2dffec(0x176))/0x4*(-parseInt(_0x2dffec(0x161))/0x5)+-parseInt(_0x2dffec(0x11d))/0x6*(parseInt(_0x2dffec(0x1d1))/0x7)+parseInt(_0x2dffec(0x18e))/0x8+parseInt(_0x2dffec(0x1cb))/0x9+parseInt(_0x2dffec(0x129))/0xa;if(_0x31b7f7===_0x410c21)break;else _0x564c2d['push'](_0x564c2d['shift']());}catch(_0x31f85f){_0x564c2d['push'](_0x564c2d['shift']());}}}(a172_0x2b03,0x4d02c));const bsSetupHelper=require(a172_0x10c2aa(0x1f0)),LoadTestModule=require(a172_0x10c2aa(0x16d)),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require(a172_0x10c2aa(0x1ba)),logger=require(a172_0x10c2aa(0x164))[a172_0x10c2aa(0x12b)],{nestedKeyValue}=require('../helper.js'),scripts=require(a172_0x10c2aa(0x133)),globals=require(a172_0x10c2aa(0x124)),testHubConstants=require(a172_0x10c2aa(0x149)),PWTestDetails=require(a172_0x10c2aa(0x135)),JestTestDetails=require(a172_0x10c2aa(0x174)),{FRAMEWORKS}=require(a172_0x10c2aa(0x141)),{isTurboScaleSession}=require(a172_0x10c2aa(0x1c5)),OrchestrationUtils=require(a172_0x10c2aa(0x145)),constants=require('../../bin/utils/constants.js');function a172_0x5857(_0x2a13c5,_0x4a45ad){const _0x2b03a4=a172_0x2b03();return a172_0x5857=function(_0x585730,_0x300526){_0x585730=_0x585730-0x114;let _0x3f4def=_0x2b03a4[_0x585730];return _0x3f4def;},a172_0x5857(_0x2a13c5,_0x4a45ad);}let testData={};exports['getProductMap']=_0x3ef9ca=>{const _0x13280a=a172_0x10c2aa,_0x5618a5={'aASHb':function(_0x435146){return _0x435146();},'bVHvm':function(_0x2b3b8b,_0xdbb190){return _0x2b3b8b===_0xdbb190;},'dqNDi':_0x13280a(0x1d6)};let _0x3ede91=![],_0x27a04e=![];if(bsSetupHelper[_0x13280a(0x1de)]()&&bsSetupHelper[_0x13280a(0x1b5)](_0x3ef9ca))_0x27a04e=!![];else bsSetupHelper[_0x13280a(0x1de)]()&&(_0x3ede91=!![]);return Object[_0x13280a(0x120)]({'observability':_0x5618a5[_0x13280a(0x172)](isTestObservabilitySession),'accessibility':exports[_0x13280a(0x185)](_0x3ef9ca),'percy':_0x3ef9ca['percy']||![],'sr_automation':_0x5618a5[_0x13280a(0x16c)](process['env'][_0x13280a(0x148)],_0x5618a5[_0x13280a(0x17d)])||_0x3ef9ca['sr_automation']||![],'automate':_0x3ede91,'app_automate':_0x27a04e,'turboscale':bsSetupHelper[_0x13280a(0x14d)](_0x3ef9ca),'lts':LoadTestModule[_0x13280a(0x17a)](_0x3ef9ca)},bsSetupHelper[_0x13280a(0x11e)]());},exports[a172_0x10c2aa(0x194)]=(_0x224567,_0x5b47f4)=>{const _0x39bdaf=a172_0x10c2aa,_0x406d70={'RpWSB':function(_0x14ca95,_0x3f7de5){return _0x14ca95(_0x3f7de5);},'eCVJt':'javascript'},_0x251d47={'frameworkName':_0x5b47f4,'frameworkVersion':_0x406d70[_0x39bdaf(0x163)](getFrameworkVersion,_0x5b47f4),'sdkVersion':bsSetupHelper[_0x39bdaf(0x1ab)](),'language':_0x406d70[_0x39bdaf(0x1cd)],'testFramework':bsSetupHelper[_0x39bdaf(0x14b)](_0x224567,_0x5b47f4)};return process['env']['FRAMEWORK_DETAILS']=JSON[_0x39bdaf(0x1d0)](_0x251d47),_0x251d47;},exports[a172_0x10c2aa(0x182)]=_0x1a1376=>{const _0x286124=a172_0x10c2aa,_0x1b43a1={};_0x1b43a1['OYrwO']=_0x286124(0x183),_0x1b43a1[_0x286124(0x175)]=_0x286124(0x1d6);const _0x8ee049=_0x1b43a1;process[_0x286124(0x171)][_0x286124(0x157)]=_0x8ee049[_0x286124(0x19d)],bsSetupHelper[_0x286124(0x188)](_0x1a1376[_0x286124(0x15d)][_0x286124(0x121)])&&(!_0x1a1376[_0x286124(0x121)]||!_0x1a1376[_0x286124(0x121)]['isRunning']())&&(process[_0x286124(0x171)]['BROWSERSTACK_PERCY']=_0x8ee049[_0x286124(0x175)]);},exports['isPercyBuild']=()=>{const _0x46ad8c=a172_0x10c2aa;return bsSetupHelper['isTrue'](process[_0x46ad8c(0x171)][_0x46ad8c(0x157)]);},exports[a172_0x10c2aa(0x185)]=(_0x46b8e9={})=>{const _0x496ddc=a172_0x10c2aa,_0x31e25b={};_0x31e25b[_0x496ddc(0x146)]=function(_0x29404c,_0x1c586a){return _0x29404c!==_0x1c586a;},_0x31e25b[_0x496ddc(0x173)]=function(_0x2ae8ef,_0x4bd510){return _0x2ae8ef===_0x4bd510;},_0x31e25b[_0x496ddc(0x118)]='true',_0x31e25b[_0x496ddc(0x1ad)]=function(_0xfcaed1,_0x5a1a7c){return _0xfcaed1>_0x5a1a7c;};const _0x1eece5=_0x31e25b;if(_0x1eece5[_0x496ddc(0x146)](process[_0x496ddc(0x171)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper[_0x496ddc(0x188)](process['env']['BROWSERSTACK_ACCESSIBILITY']);let _0x2c98ce=_0x1eece5[_0x496ddc(0x173)](process[_0x496ddc(0x171)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x1eece5[_0x496ddc(0x118)]);return _0x1eece5[_0x496ddc(0x1ad)](Object[_0x496ddc(0x169)](_0x46b8e9)[_0x496ddc(0x11a)],0x0)&&(process[_0x496ddc(0x171)][_0x496ddc(0x116)]=accessibilityHelper['checkAccessibilityPlatformConfig'](_0x46b8e9)),_0x2c98ce=_0x2c98ce||_0x1eece5[_0x496ddc(0x173)](process[_0x496ddc(0x171)][_0x496ddc(0x116)],_0x1eece5[_0x496ddc(0x118)]),_0x2c98ce;},exports[a172_0x10c2aa(0x197)]=(_0x1ae5eb,_0x56cd7c)=>{const _0x4ac89d=a172_0x10c2aa,_0x988c94={'rAhXh':function(_0xff6d3f){return _0xff6d3f();},'UnRXL':_0x4ac89d(0x181),'UIMQV':function(_0x27aea9,_0x15bacb,_0x57f126){return _0x27aea9(_0x15bacb,_0x57f126);},'HZlcW':_0x4ac89d(0x1a5),'pRkvs':_0x4ac89d(0x1a3),'dQEwK':_0x4ac89d(0x1d6)};if(!_0x1ae5eb||!_0x1ae5eb[_0x4ac89d(0x1a5)])return exports[_0x4ac89d(0x184)](),[null,null,null];if(!_0x1ae5eb[_0x4ac89d(0x1a5)][_0x4ac89d(0x127)])return exports[_0x4ac89d(0x184)](_0x1ae5eb['observability']),[null,null,null];if(_0x988c94[_0x4ac89d(0x1ea)](isTestObservabilitySession)){const _0x4a348b=_0x988c94[_0x4ac89d(0x13e)][_0x4ac89d(0x1e8)]('|');let _0x30dec9=0x0;while(!![]){switch(_0x4a348b[_0x30dec9++]){case'0':_0x988c94[_0x4ac89d(0x1e6)](nestedKeyValue,_0x1ae5eb,[_0x988c94['HZlcW'],_0x988c94[_0x4ac89d(0x198)]])&&(process[_0x4ac89d(0x171)][_0x4ac89d(0x16b)]=_0x1ae5eb[_0x4ac89d(0x1a5)][_0x4ac89d(0x1a3)][_0x4ac89d(0x1e0)][_0x4ac89d(0x156)]());continue;case'1':if(_0x1ae5eb[_0x4ac89d(0x168)]){process[_0x4ac89d(0x171)][_0x4ac89d(0x1b8)]=_0x1ae5eb[_0x4ac89d(0x168)];const _0x405793={};_0x405793[_0x4ac89d(0x123)]=_0x56cd7c[_0x4ac89d(0x123)],_0x405793['password']=_0x56cd7c[_0x4ac89d(0x165)],process[_0x4ac89d(0x171)][_0x4ac89d(0x115)]=JSON['stringify'](_0x405793);}continue;case'2':logger[_0x4ac89d(0x18c)]('['+constants['TEST_REPORTING_ANALYTICS']+_0x4ac89d(0x11c)+_0x1ae5eb['build_hashed_id']);continue;case'3':process[_0x4ac89d(0x171)][_0x4ac89d(0x1bb)]=_0x988c94['dQEwK'];continue;case'4':_0x1ae5eb['build_hashed_id']&&(process[_0x4ac89d(0x171)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x1ae5eb[_0x4ac89d(0x11f)]);continue;case'5':return[_0x1ae5eb[_0x4ac89d(0x168)],_0x1ae5eb[_0x4ac89d(0x11f)],process['env'][_0x4ac89d(0x16b)]];}break;}}return[null,null,null];},exports[a172_0x10c2aa(0x1b9)]=_0x5bd488=>{const _0x350320=a172_0x10c2aa,_0x55bfff={'iiQlj':function(_0x219dfa,_0x1183aa,_0x32a5e8){return _0x219dfa(_0x1183aa,_0x32a5e8);},'tKujH':'accessibility','aujzG':_0x350320(0x1a3),'sGkZf':function(_0x452bc4,_0x391a2f,_0x281a38,_0x40c1d8){return _0x452bc4(_0x391a2f,_0x281a38,_0x40c1d8);},'OfJtG':_0x350320(0x131),'zvXYy':_0x350320(0x1b2),'LKmPM':_0x350320(0x136),'oyeBE':_0x350320(0x1d5),'uqGir':_0x350320(0x1e1),'SYwbv':_0x350320(0x1eb),'vwvLN':function(_0x4b5117,_0x5bc495){return _0x4b5117(_0x5bc495);},'nJcPE':function(_0x560b18,_0x559d37){return _0x560b18===_0x559d37;},'GOzSo':'true','xOiAG':_0x350320(0x1dc)};if(!_0x5bd488[_0x350320(0x178)])return exports['handleErrorForAccessibility'](),[null,null];if(!_0x5bd488[_0x350320(0x178)]['success'])return exports['handleErrorForAccessibility'](_0x5bd488[_0x350320(0x178)]),[null,null];if(_0x55bfff[_0x350320(0x18a)](nestedKeyValue,_0x5bd488,[_0x55bfff['tKujH'],_0x55bfff[_0x350320(0x1a2)]])){const {accessibilityToken:_0x1e3808,scannerVersion:_0x598f25,scannerProcessingTimeout:_0x7fc736,isMobileScanningEnabledForGroup:_0x5b1ed2}=_0x55bfff['sGkZf'](jsonifyAccessibilityArray,_0x5bd488['accessibility'][_0x350320(0x1a3)][_0x350320(0x1d8)],_0x55bfff[_0x350320(0x147)],_0x55bfff['zvXYy']),_0x12e7a0={'scripts':_0x55bfff[_0x350320(0x1d7)](jsonifyAccessibilityArray,_0x5bd488[_0x350320(0x178)][_0x350320(0x1a3)][_0x350320(0x1ec)],_0x55bfff['OfJtG'],_0x55bfff['LKmPM'])};_0x12e7a0[_0x55bfff[_0x350320(0x19f)]]=_0x5bd488['accessibility'][_0x350320(0x1a3)][_0x350320(0x179)]['commands'];const _0x257ade=_0x55bfff[_0x350320(0x1d7)](jsonifyAccessibilityArray,_0x5bd488[_0x350320(0x178)][_0x350320(0x1a3)][_0x350320(0x1d8)],_0x55bfff['OfJtG'],_0x55bfff['zvXYy']);_0x12e7a0[_0x55bfff['uqGir']]=_0x257ade[_0x55bfff[_0x350320(0x18d)]],scripts[_0x350320(0x1c4)](_0x12e7a0),scripts[_0x350320(0x1b3)]();let _0x327aad=process[_0x350320(0x171)][_0x350320(0x13d)];_0x327aad=!!_0x327aad?JSON[_0x350320(0x19e)](_0x327aad):{},_0x327aad[_0x350320(0x15a)]=_0x598f25,process[_0x350320(0x171)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x350320(0x1d0)](_0x327aad),process[_0x350320(0x171)][_0x350320(0x15c)]=_0x1e3808,process[_0x350320(0x171)][_0x350320(0x1e3)]=_0x55bfff['vwvLN'](String,_0x55bfff[_0x350320(0x150)](_0x5b1ed2,!![])||_0x55bfff[_0x350320(0x150)](_0x5b1ed2,_0x55bfff[_0x350320(0x177)])),logger[_0x350320(0x18c)]('[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x5bd488[_0x350320(0x11f)]);const _0x4b54a1=accessibilityHelper[_0x350320(0x17e)](_0x1e3808);return _0x4b54a1&&bsSetupHelper['isTrue'](_0x4b54a1[_0x350320(0x1a7)])&&(process['env'][_0x350320(0x151)]=!![],logger[_0x350320(0x18c)](_0x55bfff[_0x350320(0x1ca)])),[_0x1e3808,_0x5bd488['build_hashed_id'],_0x7fc736];}return[null,null];},exports['handleErrorForObservability']=_0x514a1c=>{const _0x2a0707=a172_0x10c2aa,_0x443d7b={};_0x443d7b[_0x2a0707(0x122)]=_0x2a0707(0x152),_0x443d7b[_0x2a0707(0x1d9)]=_0x2a0707(0x166),_0x443d7b['MDqfO']=_0x2a0707(0x183);const _0x2bde91=_0x443d7b,_0x5b0d98=_0x2bde91['ZvUJS'][_0x2a0707(0x1e8)]('|');let _0x4f6fcc=0x0;while(!![]){switch(_0x5b0d98[_0x4f6fcc++]){case'0':exports['logBuildError'](_0x514a1c,testHubConstants[_0x2a0707(0x1a9)]);continue;case'1':process['env'][_0x2a0707(0x125)]=_0x2bde91['WclWn'];continue;case'2':process['env'][_0x2a0707(0x1b8)]=_0x2bde91[_0x2a0707(0x1d9)];continue;case'3':process[_0x2a0707(0x171)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x2bde91['WclWn'];continue;case'4':process['env'][_0x2a0707(0x1bb)]=_0x2bde91[_0x2a0707(0x140)];continue;case'5':process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x2bde91[_0x2a0707(0x1d9)];continue;case'6':process['env'][_0x2a0707(0x1ae)]=_0x2bde91['WclWn'];continue;}break;}},exports[a172_0x10c2aa(0x137)]=_0x43e8fc=>{const _0x56dca9=a172_0x10c2aa,_0x10b047={};_0x10b047[_0x56dca9(0x167)]=_0x56dca9(0x17c),_0x10b047[_0x56dca9(0x128)]=_0x56dca9(0x166),_0x10b047['EYiVh']=_0x56dca9(0x183);const _0x1dd4e4=_0x10b047,_0x4691b4=_0x1dd4e4[_0x56dca9(0x167)][_0x56dca9(0x1e8)]('|');let _0x392a47=0x0;while(!![]){switch(_0x4691b4[_0x392a47++]){case'0':process[_0x56dca9(0x171)][_0x56dca9(0x125)]=_0x1dd4e4[_0x56dca9(0x128)];continue;case'1':process[_0x56dca9(0x171)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1dd4e4[_0x56dca9(0x12e)];continue;case'2':process[_0x56dca9(0x171)][_0x56dca9(0x1ae)]=_0x1dd4e4[_0x56dca9(0x128)];continue;case'3':process[_0x56dca9(0x171)][_0x56dca9(0x116)]=_0x1dd4e4['EYiVh'];continue;case'4':exports[_0x56dca9(0x19c)](_0x43e8fc,testHubConstants[_0x56dca9(0x1aa)]);continue;}break;}},exports[a172_0x10c2aa(0x19c)]=(_0x24e5d7,_0xf5284='')=>{const _0x343992=a172_0x10c2aa,_0x3b095d={};_0x3b095d[_0x343992(0x1bc)]=function(_0x2fd232,_0x2f68e8){return _0x2fd232===_0x2f68e8;};const _0x314a46=_0x3b095d;if(_0x314a46[_0x343992(0x1bc)](_0x24e5d7,undefined)){logger[_0x343992(0x16e)](_0xf5284[_0x343992(0x191)]()+_0x343992(0x1a4));return;}for(const _0x1cf104 of _0x24e5d7[_0x343992(0x1e7)]){const _0x46d908=_0x1cf104[_0x343992(0x1b1)],_0x255fd8=_0x1cf104['message'];if(_0x255fd8)switch(_0x46d908){case testHubConstants[_0x343992(0x1da)]['INVALID_CREDENTIALS']:logger[_0x343992(0x16e)](_0x255fd8);break;case testHubConstants[_0x343992(0x1da)]['ACCESS_DENIED']:logger[_0x343992(0x1d3)](_0x255fd8);break;case testHubConstants[_0x343992(0x1da)]['DEPRECATED']:logger[_0x343992(0x16e)](_0x255fd8);break;default:logger[_0x343992(0x16e)](_0x255fd8);}}};const jsonifyAccessibilityArray=(_0x4a9a5e,_0x416ae2,_0x169f1c)=>{const _0x4cf101=a172_0x10c2aa,_0x29fde5={};return _0x4a9a5e[_0x4cf101(0x1c3)](_0x2e693d=>{_0x29fde5[_0x2e693d[_0x416ae2]]=_0x2e693d[_0x169f1c];}),_0x29fde5;};function a172_0x2b03(){const _0x2efeb9=['handleErrorForAccessibility','MOCHA','UzLzV','gfNZv','CUCUMBER','DPDOk','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','UnRXL','ThJmY','MDqfO','../test-observability/constants.js','HookRunStarted','getBuildStartData','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','../test-orchestration/orchestrationUtils.js','uLGsg','OfJtG','BROWSERSTACK_SR_AUTOMATION','./constants.js','oqAYh','getTestFrameworkDetails','message','isTurboScaleSession','BJpGZ','uploadEventData','nJcPE','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','6|1|4|2|3|5|0','LogCreated','eZVMk','isPercyBuild','toString','BROWSERSTACK_PERCY','sr_automation','VIsOr','scannerVersion','platforms','BS_A11Y_JWT','config','includes','vMBgL','2tAbWhj','7485QGhnGt','FXawt','RpWSB','../logger','password','null','JQxox','jwt','keys','hEYgb','BS_TESTOPS_ALLOW_SCREENSHOTS','bVHvm','../../bin/v2/modules/loadTestModule','error','xRJOH','startsWith','env','aASHb','pGOaH','../../bin/jest/test-observability/test-details.js','ztZvx','796jqkVUt','GOzSo','accessibility','commandsToWrap','isLTSSession','NFSaN','2|0|1|3|4','dqNDi','parseA11yJwtPayload','join','JEST','3|1|4|0|2|5','setPercyFlag','false','handleErrorForObservability','isAccessibilityEnabled','QQgUK','GnYwe','isTrue','YstfX','iiQlj','JASMINE','debug','SYwbv','1477504lmuzWP','415424NbETYj','trim','toUpperCase','scopes','wjLgB','getFrameworkDetails','CXYvk','1580223eVxPzm','setTestObservabilityVariables','pRkvs','shouldScanTestForAccessibility','MLDtD','wFCMh','logBuildError','OYrwO','parse','oyeBE','SWByk','tYovB','aujzG','options','\x20Build\x20creation\x20failed','observability','eSJEi','skipCDPConnectOverride','slice','OBSERVABILITY','ACCESSIBILITY','getAgentVersion','getGlobal','uviWb','BROWSERSTACK_TESTHUB_UUID','uuid','isAccessibilityPlatform','key','value','toJson','PdhQw','isAppAutomateSession','GwaUw','hvTri','BS_TESTOPS_JWT','setAccessibilityVariables','../accessibility-automation/helper','BS_TESTOPS_BUILD_COMPLETED','qUOws','iYBTF','getProductMapForBuildStartCall','getCurrentTestData','ENV_VAR','xnpvo','PLAYWRIGHT','forEach','parseFromJson','../ats/helper','setTestData','mUHee','getAccessibilityPlatformValidation','CBTSessionCreated','xOiAG','5238162yrXDtV','vTIjy','eCVJt','hsKKk','getAccessibilityValueFromYml','stringify','11214GyCkea','test_run','info','testManagementOptions','commands','true','sGkZf','capabilities','WclWn','ERROR','QSgMV','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','AnMPw','isBrowserstackInfra','bstackA11yShouldScan','allow_screenshots','nonBStackInfraA11yChromeOptions','getTestData','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','setCurrentTestData','product_map','UIMQV','errors','split','DWeGy','rAhXh','goog:chromeOptions','scripts','titlePath','ZJGEK','HQhah','../helper','BROWSERSTACK_TESTHUB_UUID:\x20','CREDENTIALS_FOR_CRASH_REPORTING','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','appendTesthubParams','AKCfy','string','length','testPlanId',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','2088oExlGQ','getCentralUser','build_hashed_id','assign','percy','ZvUJS','username','../globals.js','BROWSERSTACK_TESTHUB_JWT','HookRunFinished','success','YjNkh','7504880yhrcET','argv','winstonLogger','VNiKA','DTixC','EYiVh','getTestPlanId','IlLwB','name','tags','../accessibility-automation/scripts.js','wSaWA','../../bin/playwright/reporter/test-details.js','command'];a172_0x2b03=function(){return _0x2efeb9;};return a172_0x2b03();}exports['setTestHubCommonMetaInfo']=_0x4c9085=>{const _0x1e0dd4=a172_0x10c2aa;_0x4c9085[_0x1e0dd4(0x168)]&&(process[_0x1e0dd4(0x171)][_0x1e0dd4(0x125)]=_0x4c9085[_0x1e0dd4(0x168)]);_0x4c9085[_0x1e0dd4(0x11f)]&&(process[_0x1e0dd4(0x171)][_0x1e0dd4(0x1ae)]=_0x4c9085['build_hashed_id'],logger['debug'](_0x1e0dd4(0x114)+_0x4c9085[_0x1e0dd4(0x11f)]));;},exports['shouldProcessEventForTesthub']=(_0x2443a4='',_0x59e912='')=>{const _0x48028f=a172_0x10c2aa,_0x114bc6={'GwaUw':function(_0x1a9e00){return _0x1a9e00();},'mUHee':function(_0x475aec,_0x5969a1){return _0x475aec===_0x5969a1;},'SvTVN':_0x48028f(0x14f),'xnpvo':_0x48028f(0x153),'hvTri':_0x48028f(0x1c9),'OuQvM':_0x48028f(0x142),'eZVMk':_0x48028f(0x126),'GnYwe':function(_0x391257){return _0x391257();}};if(exports[_0x48028f(0x155)]()&&!exports['isAccessibilityEnabled']()&&!_0x114bc6[_0x48028f(0x1b6)](isTestObservabilitySession)){if(_0x114bc6[_0x48028f(0x1c7)](_0x59e912,_0x114bc6['SvTVN']))return![];if([_0x114bc6['xnpvo'],_0x114bc6[_0x48028f(0x1b7)]][_0x48028f(0x15e)](_0x2443a4))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0x114bc6[_0x48028f(0x1b6)](isTestObservabilitySession)){if([_0x114bc6['OuQvM'],_0x114bc6[_0x48028f(0x154)],_0x114bc6[_0x48028f(0x1c1)]][_0x48028f(0x15e)](_0x2443a4))return![];return!![];}return exports[_0x48028f(0x185)]()||_0x114bc6[_0x48028f(0x187)](isTestObservabilitySession)||exports[_0x48028f(0x155)]();},exports[a172_0x10c2aa(0x117)]=(_0x158808,_0x8792e4,_0x897bdb='',_0x1838c1)=>{const _0x56a8f8=a172_0x10c2aa,_0x302fbc={'tYovB':'HookRunStarted','wFCMh':_0x56a8f8(0x126),'SWByk':function(_0x5d46aa,_0x5ac442){return _0x5d46aa===_0x5ac442;},'CXYvk':_0x56a8f8(0x1df),'gfNZv':_0x56a8f8(0x1b0),'vMBgL':_0x56a8f8(0x178),'xRJOH':function(_0x2a31fd,_0x1b30ee){return _0x2a31fd&&_0x1b30ee;},'MLDtD':function(_0x52e213,_0x5d8ee9){return _0x52e213===_0x5d8ee9;},'HQhah':function(_0x381e2d,_0x2d75b1){return _0x381e2d+_0x2d75b1;},'LGBqj':function(_0x4cb42f,_0x39f6eb){return _0x4cb42f+_0x39f6eb;},'DWeGy':function(_0x1091c2,_0x48b5c3){return _0x1091c2&&_0x48b5c3;},'wSaWA':function(_0x33db94,_0x11bde4){return _0x33db94(_0x11bde4);},'ZJGEK':'../../bin/jasmine/testRunMap.js','FXawt':function(_0x3ba1e9,_0x4a8df5){return _0x3ba1e9+_0x4a8df5;},'cswrM':function(_0x3d77f8,_0x106f61){return _0x3d77f8&&_0x106f61;},'VIsOr':function(_0x55c8be,_0x3800f3){return _0x55c8be===_0x3800f3;},'DTixC':'TestRunStarted','XuxvT':function(_0x4c8551,_0x1b2f3a){return _0x4c8551===_0x1b2f3a;},'ThJmY':function(_0x1d6667,_0x378521){return _0x1d6667&&_0x378521;},'QQgUK':function(_0x4b340f,_0x27e3e2){return _0x4b340f&&_0x27e3e2;},'xBxEE':_0x56a8f8(0x1e5)};if(![_0x302fbc[_0x56a8f8(0x1a1)],_0x302fbc[_0x56a8f8(0x19b)]][_0x56a8f8(0x15e)](_0x8792e4)&&exports[_0x56a8f8(0x185)]()){const _0x458d55={};if(_0x302fbc['SWByk'](_0x1838c1,FRAMEWORKS[_0x56a8f8(0x138)])){const _0x51fad3=globals['getGlobal'](_0x302fbc[_0x56a8f8(0x195)])||accessibilityHelper[_0x56a8f8(0x199)](_0x897bdb[_0x56a8f8(0x1ed)](),!![]),_0x1762a3=globals[_0x56a8f8(0x1ac)](_0x302fbc[_0x56a8f8(0x13a)]);_0x458d55[_0x302fbc[_0x56a8f8(0x15f)]]=_0x302fbc[_0x56a8f8(0x16f)](_0x1762a3,_0x51fad3);}if(_0x302fbc[_0x56a8f8(0x19a)](_0x1838c1,FRAMEWORKS[_0x56a8f8(0x180)])){const _0x43bffc=_0x302fbc[_0x56a8f8(0x1ef)](_0x302fbc['LGBqj'](_0x158808[_0x56a8f8(0x192)]['join']('\x20'),'\x20'),_0x897bdb[_0x56a8f8(0x131)]),_0x59598a=globals[_0x56a8f8(0x1ac)](_0x302fbc[_0x56a8f8(0x195)])||accessibilityHelper[_0x56a8f8(0x199)](_0x43bffc,![]),_0x4fba22=browserStackGlobals[_0x56a8f8(0x1b0)];_0x458d55[_0x302fbc['vMBgL']]=_0x302fbc[_0x56a8f8(0x1e9)](_0x4fba22,_0x59598a);}if(_0x302fbc[_0x56a8f8(0x1a0)](_0x1838c1,FRAMEWORKS[_0x56a8f8(0x18b)])){const _0x53f9ee=_0x302fbc[_0x56a8f8(0x134)](require,_0x302fbc[_0x56a8f8(0x1ee)]),_0x3ff6a4=_0x897bdb&&_0x53f9ee['get'](_0x897bdb['id'])||_0x158808[_0x56a8f8(0x1af)];_0x3ff6a4&&(_0x158808[_0x56a8f8(0x1af)]=_0x3ff6a4);const _0x159ea7=_0x302fbc[_0x56a8f8(0x1ef)](_0x302fbc[_0x56a8f8(0x162)](_0x158808[_0x56a8f8(0x192)][_0x56a8f8(0x17f)]('\x20'),'\x20'),_0x897bdb['description']||_0x158808['name']),_0x43c33a=globals[_0x56a8f8(0x1ac)](_0x302fbc[_0x56a8f8(0x195)])||accessibilityHelper[_0x56a8f8(0x199)](_0x159ea7,![]),_0x1f6756=globals['getGlobal'](_0x302fbc['gfNZv']);_0x458d55[_0x302fbc[_0x56a8f8(0x15f)]]=_0x302fbc['cswrM'](_0x1f6756,_0x43c33a);}if(_0x302fbc[_0x56a8f8(0x19a)](_0x1838c1,FRAMEWORKS[_0x56a8f8(0x1c2)])){if(_0x302fbc[_0x56a8f8(0x159)](_0x8792e4,_0x302fbc[_0x56a8f8(0x12d)]))return;_0x458d55[_0x302fbc[_0x56a8f8(0x15f)]]=PWTestDetails[_0x56a8f8(0x1c8)](_0x158808[_0x56a8f8(0x1af)]);}if(_0x302fbc['XuxvT'](_0x1838c1,FRAMEWORKS['CODECEPT'])){const _0x2f392d=accessibilityHelper[_0x56a8f8(0x199)](_0x897bdb[_0x56a8f8(0x1ed)](),!![]),_0x5628ad=global['accessibilityPlatform'];_0x458d55[_0x302fbc[_0x56a8f8(0x15f)]]=_0x302fbc[_0x56a8f8(0x13f)](_0x5628ad,_0x2f392d);}if(_0x302fbc[_0x56a8f8(0x19a)](_0x1838c1,FRAMEWORKS[_0x56a8f8(0x13b)])){const _0x1b315e=accessibilityHelper[_0x56a8f8(0x199)](null,![],_0x158808[_0x56a8f8(0x132)]),_0x1f558e=globals[_0x56a8f8(0x1ac)](_0x302fbc[_0x56a8f8(0x13a)]);_0x458d55[_0x302fbc[_0x56a8f8(0x15f)]]=_0x302fbc[_0x56a8f8(0x186)](_0x1f558e,_0x1b315e);}_0x158808[_0x302fbc['xBxEE']]=_0x458d55;}},exports[a172_0x10c2aa(0x1bf)]=_0x4d8f40=>{const _0x270485=a172_0x10c2aa,_0x23612b={};_0x23612b[_0x270485(0x1db)]=function(_0x27aac1,_0x35910c){return _0x27aac1>_0x35910c;},_0x23612b[_0x270485(0x14a)]=function(_0x437ec8,_0x2fe49e){return _0x437ec8>_0x2fe49e;};const _0x19399a=_0x23612b;let _0x2bb8db={};if(_0x19399a[_0x270485(0x1db)](Object[_0x270485(0x169)](testData)[_0x270485(0x11a)],0x0))return testData;_0x2bb8db=JestTestDetails[_0x270485(0x1e2)]();if(_0x19399a[_0x270485(0x14a)](Object[_0x270485(0x169)](_0x2bb8db)[_0x270485(0x11a)],0x0))return _0x2bb8db;return _0x2bb8db;},exports[a172_0x10c2aa(0x1e4)]=(_0x4b25ac,_0x4b0948={})=>{const _0x515935=a172_0x10c2aa;if(bsSetupHelper['isUndefined'](_0x4b0948[_0x515935(0x1d2)]))return;switch(_0x4b25ac){case FRAMEWORKS[_0x515935(0x138)]:testData=_0x4b0948[_0x515935(0x1d2)];break;case FRAMEWORKS['JEST']:JestTestDetails[_0x515935(0x1c6)](_0x4b0948[_0x515935(0x1d2)]);break;case FRAMEWORKS['JASMINE']:testData=_0x4b0948[_0x515935(0x1d2)];break;default:break;}},exports[a172_0x10c2aa(0x1cf)]=_0x3f780d=>{const _0x5b66e=a172_0x10c2aa,_0x25601f={};_0x25601f['vTIjy']=function(_0x537495,_0x1ed08d){return _0x537495!==_0x1ed08d;},_0x25601f[_0x5b66e(0x1a6)]=function(_0x384324,_0x3b8624){return _0x384324!==_0x3b8624;};const _0xf7752=_0x25601f;if(_0xf7752[_0x5b66e(0x1cc)](_0x3f780d[_0x5b66e(0x178)],null)&&_0xf7752[_0x5b66e(0x1a6)](_0x3f780d[_0x5b66e(0x178)],undefined))return _0x3f780d[_0x5b66e(0x178)];let _0x50a3fe=![],_0x2198fa=![];if(_0x3f780d['platforms'])for(const _0x5a395f of _0x3f780d[_0x5b66e(0x15b)]){_0xf7752[_0x5b66e(0x1a6)](_0x5a395f['accessibility'],null)&&_0xf7752[_0x5b66e(0x1cc)](_0x5a395f[_0x5b66e(0x178)],undefined)&&(_0x50a3fe=_0x50a3fe||bsSetupHelper['isTrue'](_0x5a395f[_0x5b66e(0x178)]),_0x2198fa=!![]);}if(_0x2198fa)return _0x50a3fe;return null;},exports['getTestOrchestrationBuildStartData']=_0x15bf05=>{const _0x1584aa=a172_0x10c2aa;if(!_0x15bf05)return{};const _0x1a7a7=new OrchestrationUtils(_0x15bf05);return _0x1a7a7[_0x1584aa(0x143)]();},exports[a172_0x10c2aa(0x1be)]=_0x160a01=>{const _0x37dc0d=a172_0x10c2aa,_0x191f14={'iYBTF':function(_0x1adadb){return _0x1adadb();},'DnDvP':function(_0x39752a,_0x5edf0c){return _0x39752a===_0x5edf0c;},'wjLgB':'true'};let _0x3aa138=![],_0x31e275=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper['isAppAutomateSession'](_0x160a01))_0x31e275=!![];else bsSetupHelper[_0x37dc0d(0x1de)]()&&(_0x3aa138=!![]);return Object[_0x37dc0d(0x120)]({'observability':_0x191f14[_0x37dc0d(0x1bd)](isTestObservabilitySession),'accessibility':exports[_0x37dc0d(0x1cf)](_0x160a01),'percy':_0x160a01[_0x37dc0d(0x121)]||![],'sr_automation':_0x191f14['DnDvP'](process[_0x37dc0d(0x171)][_0x37dc0d(0x148)],_0x191f14[_0x37dc0d(0x193)])||_0x160a01[_0x37dc0d(0x158)]||![],'automate':_0x3aa138,'app_automate':_0x31e275,'turboscale':bsSetupHelper[_0x37dc0d(0x14d)](_0x160a01),'lts':LoadTestModule[_0x37dc0d(0x17a)](_0x160a01)},bsSetupHelper[_0x37dc0d(0x11e)]());};const normalizeTestPlanId=_0x263baf=>{const _0x38da41=a172_0x10c2aa,_0x3503f5={};_0x3503f5[_0x38da41(0x1b4)]=function(_0x3ee1dc,_0x1ef43b){return _0x3ee1dc!==_0x1ef43b;},_0x3503f5[_0x38da41(0x13c)]=_0x38da41(0x119),_0x3503f5['NFSaN']=function(_0x16dbfa,_0x376207){return _0x16dbfa>_0x376207;};const _0x2176cd=_0x3503f5;if(_0x2176cd[_0x38da41(0x1b4)](typeof _0x263baf,_0x2176cd[_0x38da41(0x13c)]))return undefined;const _0x185831=_0x263baf[_0x38da41(0x190)]();return _0x2176cd[_0x38da41(0x17b)](_0x185831['length'],0x0)?_0x185831:undefined;},readTestPlanIdFromCliArgs=(_0x5821d0=process[a172_0x10c2aa(0x12a)])=>{const _0x366a71=a172_0x10c2aa,_0x558d4c={};_0x558d4c[_0x366a71(0x12c)]=function(_0x30a3fd,_0x587a01){return _0x30a3fd<_0x587a01;},_0x558d4c[_0x366a71(0x1dd)]=function(_0x37f569,_0xb67a70){return _0x37f569===_0xb67a70;},_0x558d4c[_0x366a71(0x14e)]=function(_0x21a9b7,_0x244aff){return _0x21a9b7+_0x244aff;};const _0x4207ba=_0x558d4c,_0x42295b='--'+testHubConstants[_0x366a71(0x144)];for(let _0x3d11fd=0x0;_0x4207ba[_0x366a71(0x12c)](_0x3d11fd,_0x5821d0[_0x366a71(0x11a)]);_0x3d11fd+=0x1){const _0x5a171a=_0x5821d0[_0x3d11fd];if(_0x4207ba[_0x366a71(0x1dd)](_0x5a171a,_0x42295b)){const _0xc81627=_0x5821d0[_0x4207ba[_0x366a71(0x14e)](_0x3d11fd,0x1)];if(!_0xc81627||_0xc81627[_0x366a71(0x170)]('--'))return undefined;return _0xc81627;}if(_0x5a171a['startsWith'](_0x42295b+'='))return _0x5a171a[_0x366a71(0x1a8)](_0x4207ba['BJpGZ'](_0x42295b[_0x366a71(0x11a)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x41d24c={})=>{const _0x3e5946=a172_0x10c2aa,_0x3ddac6={'IlLwB':function(_0x3dfc89,_0x5ebc78){return _0x3dfc89(_0x5ebc78);}};return _0x3ddac6[_0x3e5946(0x130)](normalizeTestPlanId,_0x41d24c&&_0x41d24c[_0x3e5946(0x1d4)]&&_0x41d24c['testManagementOptions'][_0x3e5946(0x11b)]);};exports[a172_0x10c2aa(0x12f)]=(_0x19807b={},_0x406ec9=process['argv'],_0x1b7fed=process[a172_0x10c2aa(0x171)])=>{const _0x575a78=a172_0x10c2aa,_0x2ecdba={'UzLzV':function(_0x375c2a,_0x532653){return _0x375c2a(_0x532653);},'YstfX':function(_0x23f0ff,_0x49d111){return _0x23f0ff(_0x49d111);},'hEYgb':function(_0x529056,_0x1f7d08){return _0x529056(_0x1f7d08);},'hsKKk':function(_0x3fc44c,_0x22d9e9){return _0x3fc44c(_0x22d9e9);}};try{const _0x55ecf2=_0x2ecdba[_0x575a78(0x139)](normalizeTestPlanId,_0x2ecdba[_0x575a78(0x189)](readTestPlanIdFromCliArgs,_0x406ec9));if(_0x55ecf2)return _0x55ecf2;const _0x1ca0fe=_0x2ecdba[_0x575a78(0x16a)](normalizeTestPlanId,_0x1b7fed&&_0x1b7fed[testHubConstants[_0x575a78(0x1c0)]['BROWSERSTACK_TEST_PLAN_ID']]);if(_0x1ca0fe)return _0x1ca0fe;return _0x2ecdba[_0x575a78(0x1ce)](readTestPlanIdFromConfig,_0x19807b);}catch(_0x1f5884){return logger[_0x575a78(0x18c)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x1f5884&&_0x1f5884[_0x575a78(0x14c)]?_0x1f5884['message']:_0x1f5884)),undefined;}};
|
|
1
|
+
const a170_0x462f9a=a170_0x35d8;(function(_0x425cd7,_0x2feec8){const _0x2502f7=a170_0x35d8,_0x5d66a9=_0x425cd7();while(!![]){try{const _0x213e8d=-parseInt(_0x2502f7(0x1a1))/0x1*(parseInt(_0x2502f7(0x155))/0x2)+-parseInt(_0x2502f7(0x12d))/0x3+-parseInt(_0x2502f7(0x13b))/0x4+parseInt(_0x2502f7(0x1e3))/0x5+parseInt(_0x2502f7(0x162))/0x6+parseInt(_0x2502f7(0x1df))/0x7+parseInt(_0x2502f7(0x1e5))/0x8*(parseInt(_0x2502f7(0x1af))/0x9);if(_0x213e8d===_0x2feec8)break;else _0x5d66a9['push'](_0x5d66a9['shift']());}catch(_0x34f463){_0x5d66a9['push'](_0x5d66a9['shift']());}}}(a170_0x3d17,0x5f5af));const bsSetupHelper=require('../helper'),LoadTestModule=require(a170_0x462f9a(0x18e)),{isTestObservabilitySession,getFrameworkVersion}=require(a170_0x462f9a(0x1cc)),accessibilityHelper=require(a170_0x462f9a(0x1d2)),logger=require('../logger')[a170_0x462f9a(0x122)],{nestedKeyValue}=require(a170_0x462f9a(0x13a)),scripts=require('../accessibility-automation/scripts.js'),globals=require('../globals.js'),testHubConstants=require('./constants.js'),PWTestDetails=require(a170_0x462f9a(0x154)),JestTestDetails=require(a170_0x462f9a(0x133)),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require(a170_0x462f9a(0x173)),OrchestrationUtils=require(a170_0x462f9a(0x12e)),constants=require(a170_0x462f9a(0x1e1));let testData={};function a170_0x3d17(){const _0x2003c6=['wlOwM','BROWSERSTACK_PERCY','bvSOV','\x20Build\x20creation\x20failed','CREDENTIALS_FOR_CRASH_REPORTING','nonBStackInfraA11yChromeOptions','getAgentVersion','uuid','BROWSERSTACK_TESTHUB_UUID:\x20','DdMQL','argv','getAccessibilityPlatformValidation','Tbbcq','isUndefined','INVALID_CREDENTIALS','isBrowserstackInfra','BROWSERSTACK_TESTHUB_UUID','UfdHp','TUYZu','hKkcN','forEach','bawSi','success','EjOpZ','snExx','name','../../bin/v2/modules/loadTestModule','CODECEPT','ZvjaE','1|0|4|2|3','error','HookRunFinished','toString','BROWSERSTACK_SR_AUTOMATION','get','dguuC','MOCHA','options','null','allow_screenshots','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','DEPRECATED','gaAOf','UvZpg',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','230JjpaTp','VtirI','skipCDPConnectOverride','build_hashed_id','uploadEventData','password','appendTesthubParams','getCentralUser','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','RAKoJ','aJTil','shouldScanTestForAccessibility','VHOBv','checkAccessibilityPlatformConfig','54AhyrJw','javascript','testPlanId','percy','sSIkb','JASMINE','includes','XNfev','BROWSERSTACK_TESTHUB_JWT','tDCWE','isTurboScaleSession','jwt','nXvcI','AjIYQ','4|2|5|3|0|1','BS_TESTOPS_BUILD_COMPLETED','whbWU','OmLlm','parseFromJson','parseA11yJwtPayload','qzQFB','frZEA','goog:chromeOptions','isPercyBuild','message','ovncJ','jgSWP','info','YPPCm','../test-observability/utils','length','BImZw','setTestObservabilityVariables','UBZbi','irlCG','../accessibility-automation/helper','lSdwd','dOuXy','qCpxU','BS_TESTOPS_JWT','HookRunStarted','XMAdf','TFEFo','HPhAK','accessibility','JEST','getFrameworkDetails','eEoJB','4533235qebefX','join','../../bin/utils/constants.js','setAccessibilityVariables','2760120YAMWgN','ACCESS_DENIED','722872sIiCnm','string','toUpperCase','observability','env','nrfBv','UUGuI','tRXJR','GwOAM','logBuildError','5|0|4|2|1|6|3','commands','FdvbD','winstonLogger','wsNBg','getGlobal','BS_TESTOPS_BUILD_HASHED_ID','bstackA11yShouldScan','isAppAutomateSession','startsWith','config','BROWSERSTACK_ACCESSIBILITY','setPercyFlag','Rwyij','1931469DWpuRl','../test-orchestration/orchestrationUtils.js','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_TEST_PLAN_ID','GyarT','debug','../../bin/jest/test-observability/test-details.js','stringify','fDxKY','wIGjk','keys','split','isAccessibilityPlatform','../helper.js','2070696xogEBx','zkIvH','EZMBU','handleErrorForObservability','isAccessibilityEnabled','test_run','../../bin/jasmine/testRunMap.js','XFwuq','VwygJ','PEMxF','parse','ERROR','gPyxg','PLAYWRIGHT','description','UPcHQ','CQeAN','tags','IikVb','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','fhYIw','getTestOrchestrationBuildStartData','setTestHubCommonMetaInfo','TEST_REPORTING_ANALYTICS','testManagementOptions','../../bin/playwright/reporter/test-details.js','5726GuGbXj','yfJXf','isTrue','handleErrorForAccessibility','username','toJson','rSdEv','lrhrr','getAccessibilityValueFromYml','platforms','CUCUMBER','sr_automation','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','2812674KWrhpU','LogCreated','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','titlePath','true','Flrxw','getCurrentTestData','false','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','rNouX','scannerVersion','BS_A11Y_JWT','CBTSessionCreated','getTestPlanId','accessibilityPlatform','BS_TESTOPS_ALLOW_SCREENSHOTS','zHUal','../ats/helper'];a170_0x3d17=function(){return _0x2003c6;};return a170_0x3d17();}exports['getProductMap']=_0x56d8eb=>{const _0x4fe449=a170_0x462f9a,_0x231283={'fciXo':function(_0x59f511){return _0x59f511();},'KOqMF':function(_0x34aa65,_0xffdfd0){return _0x34aa65===_0xffdfd0;},'GyarT':_0x4fe449(0x166)};let _0x81626a=![],_0x157c75=![];if(bsSetupHelper[_0x4fe449(0x183)]()&&bsSetupHelper['isAppAutomateSession'](_0x56d8eb))_0x157c75=!![];else bsSetupHelper[_0x4fe449(0x183)]()&&(_0x81626a=!![]);return Object['assign']({'observability':_0x231283['fciXo'](isTestObservabilitySession),'accessibility':exports[_0x4fe449(0x13f)](_0x56d8eb),'percy':_0x56d8eb[_0x4fe449(0x1b2)]||![],'sr_automation':_0x231283['KOqMF'](process['env']['BROWSERSTACK_SR_AUTOMATION'],_0x231283[_0x4fe449(0x131)])||_0x56d8eb[_0x4fe449(0x160)]||![],'automate':_0x81626a,'app_automate':_0x157c75,'turboscale':bsSetupHelper[_0x4fe449(0x1b9)](_0x56d8eb),'lts':LoadTestModule['isLTSSession'](_0x56d8eb)},bsSetupHelper[_0x4fe449(0x1a8)]());},exports[a170_0x462f9a(0x1dd)]=(_0x2c9e1a,_0x427ef7)=>{const _0x2430d0=a170_0x462f9a,_0x53299d={'qCpxU':function(_0x177b94,_0x21b135){return _0x177b94(_0x21b135);},'wIGjk':_0x2430d0(0x1b0)},_0xbc1a79={'frameworkName':_0x427ef7,'frameworkVersion':_0x53299d[_0x2430d0(0x1d5)](getFrameworkVersion,_0x427ef7),'sdkVersion':bsSetupHelper[_0x2430d0(0x17a)](),'language':_0x53299d[_0x2430d0(0x136)],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x2c9e1a,_0x427ef7)};return process['env']['FRAMEWORK_DETAILS']=JSON[_0x2430d0(0x134)](_0xbc1a79),_0xbc1a79;},exports[a170_0x462f9a(0x12b)]=_0x4f98dc=>{const _0x3401ed=a170_0x462f9a,_0x1b6840={};_0x1b6840[_0x3401ed(0x18c)]='false',_0x1b6840[_0x3401ed(0x185)]=_0x3401ed(0x166);const _0x3cec6e=_0x1b6840;process['env'][_0x3401ed(0x175)]=_0x3cec6e[_0x3401ed(0x18c)],bsSetupHelper[_0x3401ed(0x157)](_0x4f98dc[_0x3401ed(0x129)][_0x3401ed(0x1b2)])&&(!_0x4f98dc[_0x3401ed(0x1b2)]||!_0x4f98dc['percy']['isRunning']())&&(process[_0x3401ed(0x1e9)][_0x3401ed(0x175)]=_0x3cec6e['UfdHp']);},exports[a170_0x462f9a(0x1c6)]=()=>{return bsSetupHelper['isTrue'](process['env']['BROWSERSTACK_PERCY']);},exports[a170_0x462f9a(0x13f)]=(_0x202553={})=>{const _0xfb34f=a170_0x462f9a,_0x1c811d={};_0x1c811d[_0xfb34f(0x1aa)]=function(_0x153c7a,_0x537449){return _0x153c7a!==_0x537449;},_0x1c811d[_0xfb34f(0x142)]=function(_0x7712d1,_0x4c2af0){return _0x7712d1===_0x4c2af0;},_0x1c811d[_0xfb34f(0x189)]='true',_0x1c811d[_0xfb34f(0x135)]=function(_0x5a79fd,_0x2108db){return _0x5a79fd>_0x2108db;};const _0x1e08b3=_0x1c811d;if(_0x1e08b3[_0xfb34f(0x1aa)](process['env']['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper[_0xfb34f(0x157)](process[_0xfb34f(0x1e9)][_0xfb34f(0x12a)]);let _0x5e3420=_0x1e08b3[_0xfb34f(0x142)](process[_0xfb34f(0x1e9)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x1e08b3['bawSi']);return _0x1e08b3[_0xfb34f(0x135)](Object['keys'](_0x202553)[_0xfb34f(0x1cd)],0x0)&&(process[_0xfb34f(0x1e9)][_0xfb34f(0x1a9)]=accessibilityHelper[_0xfb34f(0x1ae)](_0x202553)),_0x5e3420=_0x5e3420||_0x1e08b3[_0xfb34f(0x142)](process[_0xfb34f(0x1e9)][_0xfb34f(0x1a9)],_0x1e08b3[_0xfb34f(0x189)]),_0x5e3420;},exports[a170_0x462f9a(0x1cf)]=(_0x408dcd,_0x38f8f2)=>{const _0x16a002=a170_0x462f9a,_0x1bb727={'KXlRU':function(_0x4427a3){return _0x4427a3();},'XNfev':_0x16a002(0x1bd),'wlOwM':function(_0x9173b0,_0x3c4696,_0x1138ac){return _0x9173b0(_0x3c4696,_0x1138ac);},'GwOAM':_0x16a002(0x1e8),'fhYIw':_0x16a002(0x199),'DdMQL':_0x16a002(0x166)};if(!_0x408dcd||!_0x408dcd[_0x16a002(0x1e8)])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x408dcd[_0x16a002(0x1e8)][_0x16a002(0x18a)])return exports['handleErrorForObservability'](_0x408dcd[_0x16a002(0x1e8)]),[null,null,null];if(_0x1bb727['KXlRU'](isTestObservabilitySession)){const _0x422229=_0x1bb727[_0x16a002(0x1b6)]['split']('|');let _0x3d7c2e=0x0;while(!![]){switch(_0x422229[_0x3d7c2e++]){case'0':logger[_0x16a002(0x132)]('['+constants[_0x16a002(0x152)]+_0x16a002(0x1a0)+_0x408dcd['build_hashed_id']);continue;case'1':return[_0x408dcd[_0x16a002(0x1ba)],_0x408dcd['build_hashed_id'],process[_0x16a002(0x1e9)][_0x16a002(0x171)]];case'2':if(_0x408dcd[_0x16a002(0x1ba)]){process[_0x16a002(0x1e9)][_0x16a002(0x1d6)]=_0x408dcd[_0x16a002(0x1ba)];const _0x12e35c={};_0x12e35c['username']=_0x38f8f2[_0x16a002(0x159)],_0x12e35c['password']=_0x38f8f2[_0x16a002(0x1a6)],process['env'][_0x16a002(0x178)]=JSON['stringify'](_0x12e35c);}continue;case'3':_0x1bb727[_0x16a002(0x174)](nestedKeyValue,_0x408dcd,[_0x1bb727[_0x16a002(0x1ed)],_0x1bb727[_0x16a002(0x14f)]])&&(process[_0x16a002(0x1e9)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x408dcd[_0x16a002(0x1e8)][_0x16a002(0x199)][_0x16a002(0x19b)][_0x16a002(0x194)]());continue;case'4':process[_0x16a002(0x1e9)][_0x16a002(0x1be)]=_0x1bb727[_0x16a002(0x17d)];continue;case'5':_0x408dcd[_0x16a002(0x1a4)]&&(process[_0x16a002(0x1e9)][_0x16a002(0x125)]=_0x408dcd[_0x16a002(0x1a4)]);continue;}break;}}return[null,null,null];},exports[a170_0x462f9a(0x1e2)]=_0x3cb50d=>{const _0x2ae3fc=a170_0x462f9a,_0x2549e5={'lrhrr':function(_0x561ffc,_0x197ce3,_0xa7e855){return _0x561ffc(_0x197ce3,_0xa7e855);},'GonbV':'accessibility','JhcWC':'options','ovncJ':function(_0x2cdeb6,_0x1e4174,_0x56b411,_0x982781){return _0x2cdeb6(_0x1e4174,_0x56b411,_0x982781);},'Rwyij':_0x2ae3fc(0x18d),'jgSWP':'value','sSIkb':function(_0x273f70,_0x1a3cbc,_0x31a643,_0x5e562e){return _0x273f70(_0x1a3cbc,_0x31a643,_0x5e562e);},'MXGua':'command','wsNBg':_0x2ae3fc(0x1f0),'rNouX':function(_0x2cc6a1,_0x285a7d,_0x2138a1,_0x1d2677){return _0x2cc6a1(_0x285a7d,_0x2138a1,_0x1d2677);},'CQeAN':_0x2ae3fc(0x179),'DimYg':_0x2ae3fc(0x1c5),'gSFUg':function(_0x1c0696,_0x32cbd4){return _0x1c0696(_0x32cbd4);},'Cvqpq':function(_0x35bc01,_0x216d9e){return _0x35bc01===_0x216d9e;},'uDoYx':_0x2ae3fc(0x166),'VNsdw':_0x2ae3fc(0x14e)};if(!_0x3cb50d[_0x2ae3fc(0x1db)])return exports[_0x2ae3fc(0x158)](),[null,null];if(!_0x3cb50d['accessibility'][_0x2ae3fc(0x18a)])return exports[_0x2ae3fc(0x158)](_0x3cb50d[_0x2ae3fc(0x1db)]),[null,null];if(_0x2549e5[_0x2ae3fc(0x15c)](nestedKeyValue,_0x3cb50d,[_0x2549e5['GonbV'],_0x2549e5['JhcWC']])){const {accessibilityToken:_0x23ba60,scannerVersion:_0x46569f,scannerProcessingTimeout:_0xeba248,isMobileScanningEnabledForGroup:_0x5a1ded}=_0x2549e5[_0x2ae3fc(0x1c8)](jsonifyAccessibilityArray,_0x3cb50d[_0x2ae3fc(0x1db)][_0x2ae3fc(0x199)]['capabilities'],_0x2549e5[_0x2ae3fc(0x12c)],_0x2549e5[_0x2ae3fc(0x1c9)]),_0x21ba82={'scripts':_0x2549e5[_0x2ae3fc(0x1b3)](jsonifyAccessibilityArray,_0x3cb50d[_0x2ae3fc(0x1db)][_0x2ae3fc(0x199)]['scripts'],_0x2549e5['Rwyij'],_0x2549e5['MXGua'])};_0x21ba82[_0x2549e5[_0x2ae3fc(0x123)]]=_0x3cb50d[_0x2ae3fc(0x1db)][_0x2ae3fc(0x199)]['commandsToWrap'][_0x2ae3fc(0x1f0)];const _0x34b922=_0x2549e5[_0x2ae3fc(0x16b)](jsonifyAccessibilityArray,_0x3cb50d[_0x2ae3fc(0x1db)]['options']['capabilities'],_0x2549e5[_0x2ae3fc(0x12c)],_0x2549e5[_0x2ae3fc(0x1c9)]);_0x21ba82[_0x2549e5[_0x2ae3fc(0x14b)]]=_0x34b922[_0x2549e5['DimYg']],scripts[_0x2ae3fc(0x1c1)](_0x21ba82),scripts[_0x2ae3fc(0x15a)]();let _0xcc2a01=process[_0x2ae3fc(0x1e9)][_0x2ae3fc(0x12f)];_0xcc2a01=!!_0xcc2a01?JSON[_0x2ae3fc(0x145)](_0xcc2a01):{},_0xcc2a01[_0x2ae3fc(0x16c)]=_0x46569f,process[_0x2ae3fc(0x1e9)][_0x2ae3fc(0x12f)]=JSON['stringify'](_0xcc2a01),process[_0x2ae3fc(0x1e9)][_0x2ae3fc(0x16d)]=_0x23ba60,process['env'][_0x2ae3fc(0x19c)]=_0x2549e5['gSFUg'](String,_0x2549e5['Cvqpq'](_0x5a1ded,!![])||_0x2549e5['Cvqpq'](_0x5a1ded,_0x2549e5['uDoYx'])),logger[_0x2ae3fc(0x132)](_0x2ae3fc(0x161)+_0x3cb50d[_0x2ae3fc(0x1a4)]);const _0x1224b1=accessibilityHelper[_0x2ae3fc(0x1c2)](_0x23ba60);return _0x1224b1&&bsSetupHelper[_0x2ae3fc(0x157)](_0x1224b1[_0x2ae3fc(0x1a3)])&&(process[_0x2ae3fc(0x1e9)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger[_0x2ae3fc(0x132)](_0x2549e5['VNsdw'])),[_0x23ba60,_0x3cb50d[_0x2ae3fc(0x1a4)],_0xeba248];}return[null,null];},exports[a170_0x462f9a(0x13e)]=_0x11ef57=>{const _0x37917d=a170_0x462f9a,_0x340eb8={};_0x340eb8['HMmzQ']=_0x37917d(0x1ef),_0x340eb8[_0x37917d(0x1d4)]=_0x37917d(0x19a),_0x340eb8[_0x37917d(0x1de)]=_0x37917d(0x169);const _0x1c2c2b=_0x340eb8,_0x2f86c6=_0x1c2c2b['HMmzQ']['split']('|');let _0x50d38d=0x0;while(!![]){switch(_0x2f86c6[_0x50d38d++]){case'0':process[_0x37917d(0x1e9)][_0x37917d(0x1b7)]=_0x1c2c2b[_0x37917d(0x1d4)];continue;case'1':process['env'][_0x37917d(0x125)]=_0x1c2c2b[_0x37917d(0x1d4)];continue;case'2':process[_0x37917d(0x1e9)][_0x37917d(0x1d6)]=_0x1c2c2b[_0x37917d(0x1d4)];continue;case'3':exports[_0x37917d(0x1ee)](_0x11ef57,testHubConstants['OBSERVABILITY']);continue;case'4':process['env']['BS_TESTOPS_BUILD_COMPLETED']=_0x1c2c2b[_0x37917d(0x1de)];continue;case'5':process[_0x37917d(0x1e9)][_0x37917d(0x184)]=_0x1c2c2b['dOuXy'];continue;case'6':process[_0x37917d(0x1e9)][_0x37917d(0x171)]=_0x1c2c2b[_0x37917d(0x1d4)];continue;}break;}},exports[a170_0x462f9a(0x158)]=_0x1c9f3e=>{const _0x1f0082=a170_0x462f9a,_0x210949={};_0x210949[_0x1f0082(0x1d8)]=_0x1f0082(0x191),_0x210949['UUGuI']='null',_0x210949[_0x1f0082(0x143)]='false';const _0x2092fb=_0x210949,_0x2ec503=_0x2092fb[_0x1f0082(0x1d8)][_0x1f0082(0x138)]('|');let _0x4bc7ef=0x0;while(!![]){switch(_0x2ec503[_0x4bc7ef++]){case'0':process[_0x1f0082(0x1e9)][_0x1f0082(0x1b7)]=_0x2092fb[_0x1f0082(0x1eb)];continue;case'1':process[_0x1f0082(0x1e9)][_0x1f0082(0x184)]=_0x2092fb[_0x1f0082(0x1eb)];continue;case'2':process['env'][_0x1f0082(0x1a9)]=_0x2092fb[_0x1f0082(0x143)];continue;case'3':exports['logBuildError'](_0x1c9f3e,testHubConstants['ACCESSIBILITY']);continue;case'4':process[_0x1f0082(0x1e9)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2092fb[_0x1f0082(0x143)];continue;}break;}},exports[a170_0x462f9a(0x1ee)]=(_0x4a9917,_0xe9c33d='')=>{const _0x5388eb=a170_0x462f9a,_0x32356d={};_0x32356d[_0x5388eb(0x13d)]=function(_0x6a41a5,_0x5c34df){return _0x6a41a5===_0x5c34df;};const _0x32a2ec=_0x32356d;if(_0x32a2ec[_0x5388eb(0x13d)](_0x4a9917,undefined)){logger[_0x5388eb(0x192)](_0xe9c33d[_0x5388eb(0x1e7)]()+_0x5388eb(0x177));return;}for(const _0x1f6647 of _0x4a9917['errors']){const _0x3a1fb2=_0x1f6647['key'],_0x90bbad=_0x1f6647[_0x5388eb(0x1c7)];if(_0x90bbad)switch(_0x3a1fb2){case testHubConstants[_0x5388eb(0x146)][_0x5388eb(0x182)]:logger[_0x5388eb(0x192)](_0x90bbad);break;case testHubConstants['ERROR'][_0x5388eb(0x1e4)]:logger[_0x5388eb(0x1ca)](_0x90bbad);break;case testHubConstants[_0x5388eb(0x146)][_0x5388eb(0x19d)]:logger['error'](_0x90bbad);break;default:logger['error'](_0x90bbad);}}};const jsonifyAccessibilityArray=(_0x4a86e4,_0x1cc6c5,_0x1c2d92)=>{const _0x3ceed7=a170_0x462f9a,_0x5e600d={};return _0x4a86e4[_0x3ceed7(0x188)](_0x5bc5a8=>{_0x5e600d[_0x5bc5a8[_0x1cc6c5]]=_0x5bc5a8[_0x1c2d92];}),_0x5e600d;};function a170_0x35d8(_0x387ba7,_0x2d21e3){const _0x3d1724=a170_0x3d17();return a170_0x35d8=function(_0x35d8b6,_0x379686){_0x35d8b6=_0x35d8b6-0x122;let _0x24c059=_0x3d1724[_0x35d8b6];return _0x24c059;},a170_0x35d8(_0x387ba7,_0x2d21e3);}exports[a170_0x462f9a(0x151)]=_0x4ae91a=>{const _0x2d2758=a170_0x462f9a;_0x4ae91a[_0x2d2758(0x1ba)]&&(process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x4ae91a[_0x2d2758(0x1ba)]);_0x4ae91a[_0x2d2758(0x1a4)]&&(process[_0x2d2758(0x1e9)][_0x2d2758(0x184)]=_0x4ae91a[_0x2d2758(0x1a4)],logger[_0x2d2758(0x132)](_0x2d2758(0x17c)+_0x4ae91a['build_hashed_id']));;},exports['shouldProcessEventForTesthub']=(_0x5592f6='',_0x139302='')=>{const _0x240aa5=a170_0x462f9a,_0x5208fb={'VHOBv':function(_0x52523b){return _0x52523b();},'gPyxg':function(_0x3a496b,_0x30f403){return _0x3a496b===_0x30f403;},'lSdwd':_0x240aa5(0x1a5),'dguuC':_0x240aa5(0x163),'gaAOf':_0x240aa5(0x16e),'OmLlm':_0x240aa5(0x1d7),'TUYZu':_0x240aa5(0x193),'UvZpg':function(_0x445c9a){return _0x445c9a();}};if(exports[_0x240aa5(0x1c6)]()&&!exports[_0x240aa5(0x13f)]()&&!_0x5208fb[_0x240aa5(0x1ad)](isTestObservabilitySession)){if(_0x5208fb[_0x240aa5(0x147)](_0x139302,_0x5208fb[_0x240aa5(0x1d3)]))return![];if([_0x5208fb[_0x240aa5(0x197)],_0x5208fb[_0x240aa5(0x19e)]]['includes'](_0x5592f6))return![];return!![];}if(exports[_0x240aa5(0x13f)]()&&!_0x5208fb['VHOBv'](isTestObservabilitySession)){if([_0x5208fb[_0x240aa5(0x1c0)],_0x5208fb[_0x240aa5(0x186)],_0x5208fb[_0x240aa5(0x197)]]['includes'](_0x5592f6))return![];return!![];}return exports[_0x240aa5(0x13f)]()||_0x5208fb[_0x240aa5(0x19f)](isTestObservabilitySession)||exports[_0x240aa5(0x1c6)]();},exports[a170_0x462f9a(0x1a7)]=(_0x5da7e2,_0x507857,_0x5c41de='',_0x247546)=>{const _0x4497fa=a170_0x462f9a,_0x504b8b={'VtirI':_0x4497fa(0x1d7),'irlCG':_0x4497fa(0x193),'HPhAK':function(_0xfebf6a,_0x3aacb7){return _0xfebf6a===_0x3aacb7;},'whbWU':_0x4497fa(0x126),'yfJXf':_0x4497fa(0x139),'ZvjaE':'accessibility','frZEA':function(_0x33a8de,_0x4157a8){return _0x33a8de&&_0x4157a8;},'BImZw':function(_0x40c0f0,_0x554796){return _0x40c0f0+_0x554796;},'FdvbD':function(_0x4e0fa0,_0x53cf0f){return _0x4e0fa0===_0x53cf0f;},'PluBQ':function(_0x466577,_0x3ba501){return _0x466577(_0x3ba501);},'qzQFB':_0x4497fa(0x141),'AjIYQ':function(_0x301823,_0x19038c){return _0x301823+_0x19038c;},'KyiAi':function(_0x32c93e,_0x2bd76d){return _0x32c93e===_0x2bd76d;},'aJTil':'TestRunStarted','yrGVm':function(_0x20071b,_0x2d6611){return _0x20071b===_0x2d6611;},'tDCWE':function(_0x3bbf9e,_0x3554d3){return _0x3bbf9e===_0x3554d3;},'Tbbcq':function(_0x4dc354,_0x503fbb){return _0x4dc354&&_0x503fbb;},'zkIvH':'product_map'};if(![_0x504b8b[_0x4497fa(0x1a2)],_0x504b8b[_0x4497fa(0x1d1)]][_0x4497fa(0x1b5)](_0x507857)&&exports[_0x4497fa(0x13f)]()){const _0x303366={};if(_0x504b8b['HPhAK'](_0x247546,FRAMEWORKS[_0x4497fa(0x198)])){const _0x246ca4=globals[_0x4497fa(0x124)](_0x504b8b[_0x4497fa(0x1bf)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x5c41de[_0x4497fa(0x165)](),!![]),_0x519c8a=globals[_0x4497fa(0x124)](_0x504b8b[_0x4497fa(0x156)]);_0x303366[_0x504b8b[_0x4497fa(0x190)]]=_0x504b8b[_0x4497fa(0x1c4)](_0x519c8a,_0x246ca4);}if(_0x504b8b[_0x4497fa(0x1da)](_0x247546,FRAMEWORKS[_0x4497fa(0x1dc)])){const _0xd47da=_0x504b8b[_0x4497fa(0x1ce)](_0x504b8b['BImZw'](_0x5da7e2['scopes'][_0x4497fa(0x1e0)]('\x20'),'\x20'),_0x5c41de[_0x4497fa(0x18d)]),_0x3e932e=globals['getGlobal'](_0x504b8b[_0x4497fa(0x1bf)])||accessibilityHelper[_0x4497fa(0x1ac)](_0xd47da,![]),_0x38e1d4=browserStackGlobals['isAccessibilityPlatform'];_0x303366[_0x504b8b[_0x4497fa(0x190)]]=_0x504b8b['frZEA'](_0x38e1d4,_0x3e932e);}if(_0x504b8b[_0x4497fa(0x1f1)](_0x247546,FRAMEWORKS[_0x4497fa(0x1b4)])){const _0x3964f9=_0x504b8b['PluBQ'](require,_0x504b8b[_0x4497fa(0x1c3)]),_0x22516b=_0x5c41de&&_0x3964f9[_0x4497fa(0x196)](_0x5c41de['id'])||_0x5da7e2[_0x4497fa(0x17b)];_0x22516b&&(_0x5da7e2['uuid']=_0x22516b);const _0x2ab5ea=_0x504b8b['BImZw'](_0x504b8b[_0x4497fa(0x1bc)](_0x5da7e2['scopes'][_0x4497fa(0x1e0)]('\x20'),'\x20'),_0x5c41de[_0x4497fa(0x149)]||_0x5da7e2[_0x4497fa(0x18d)]),_0x3b897e=globals[_0x4497fa(0x124)](_0x504b8b[_0x4497fa(0x1bf)])||accessibilityHelper[_0x4497fa(0x1ac)](_0x2ab5ea,![]),_0x445437=globals[_0x4497fa(0x124)](_0x504b8b[_0x4497fa(0x156)]);_0x303366[_0x504b8b['ZvjaE']]=_0x504b8b[_0x4497fa(0x1c4)](_0x445437,_0x3b897e);}if(_0x504b8b[_0x4497fa(0x1da)](_0x247546,FRAMEWORKS[_0x4497fa(0x148)])){if(_0x504b8b['KyiAi'](_0x507857,_0x504b8b[_0x4497fa(0x1ab)]))return;_0x303366[_0x504b8b['ZvjaE']]=PWTestDetails[_0x4497fa(0x17f)](_0x5da7e2[_0x4497fa(0x17b)]);}if(_0x504b8b['yrGVm'](_0x247546,FRAMEWORKS[_0x4497fa(0x18f)])){const _0x3496c6=accessibilityHelper[_0x4497fa(0x1ac)](_0x5c41de['titlePath'](),!![]),_0x49e2b8=global[_0x4497fa(0x170)];_0x303366[_0x504b8b[_0x4497fa(0x190)]]=_0x504b8b[_0x4497fa(0x1c4)](_0x49e2b8,_0x3496c6);}if(_0x504b8b[_0x4497fa(0x1b8)](_0x247546,FRAMEWORKS[_0x4497fa(0x15f)])){const _0x46ac12=accessibilityHelper[_0x4497fa(0x1ac)](null,![],_0x5da7e2[_0x4497fa(0x14c)]),_0x189ca9=globals[_0x4497fa(0x124)](_0x504b8b[_0x4497fa(0x156)]);_0x303366[_0x504b8b[_0x4497fa(0x190)]]=_0x504b8b[_0x4497fa(0x180)](_0x189ca9,_0x46ac12);}_0x5da7e2[_0x504b8b[_0x4497fa(0x13c)]]=_0x303366;}},exports[a170_0x462f9a(0x168)]=_0x280111=>{const _0x4ceac5=a170_0x462f9a,_0x109d1a={};_0x109d1a[_0x4ceac5(0x176)]=function(_0x542d95,_0x6584a2){return _0x542d95>_0x6584a2;};const _0x57de2d=_0x109d1a;let _0x38413f={};if(_0x57de2d[_0x4ceac5(0x176)](Object[_0x4ceac5(0x137)](testData)[_0x4ceac5(0x1cd)],0x0))return testData;_0x38413f=JestTestDetails['getTestData']();if(_0x57de2d[_0x4ceac5(0x176)](Object[_0x4ceac5(0x137)](_0x38413f)[_0x4ceac5(0x1cd)],0x0))return _0x38413f;return _0x38413f;},exports['setCurrentTestData']=(_0x4503b1,_0x1e2680={})=>{const _0x2f1029=a170_0x462f9a;if(bsSetupHelper[_0x2f1029(0x181)](_0x1e2680['test_run']))return;switch(_0x4503b1){case FRAMEWORKS[_0x2f1029(0x198)]:testData=_0x1e2680[_0x2f1029(0x140)];break;case FRAMEWORKS[_0x2f1029(0x1dc)]:JestTestDetails['setTestData'](_0x1e2680[_0x2f1029(0x140)]);break;case FRAMEWORKS['JASMINE']:testData=_0x1e2680[_0x2f1029(0x140)];break;default:break;}},exports[a170_0x462f9a(0x15d)]=_0x100d16=>{const _0x4e8125=a170_0x462f9a,_0x1dd7b2={};_0x1dd7b2[_0x4e8125(0x1ea)]=function(_0x6e7b7c,_0x5b366e){return _0x6e7b7c!==_0x5b366e;},_0x1dd7b2[_0x4e8125(0x144)]=function(_0x1679b1,_0x112095){return _0x1679b1!==_0x112095;},_0x1dd7b2[_0x4e8125(0x172)]=function(_0x740b2,_0x9e72d3){return _0x740b2!==_0x9e72d3;},_0x1dd7b2[_0x4e8125(0x15b)]=function(_0x2c33e3,_0x144f8f){return _0x2c33e3!==_0x144f8f;};const _0x2facad=_0x1dd7b2;if(_0x2facad[_0x4e8125(0x1ea)](_0x100d16['accessibility'],null)&&_0x2facad[_0x4e8125(0x144)](_0x100d16[_0x4e8125(0x1db)],undefined))return _0x100d16[_0x4e8125(0x1db)];let _0x11bbb5=![],_0x2e0e40=![];if(_0x100d16[_0x4e8125(0x15e)])for(const _0x419c58 of _0x100d16[_0x4e8125(0x15e)]){_0x2facad[_0x4e8125(0x172)](_0x419c58['accessibility'],null)&&_0x2facad[_0x4e8125(0x15b)](_0x419c58[_0x4e8125(0x1db)],undefined)&&(_0x11bbb5=_0x11bbb5||bsSetupHelper[_0x4e8125(0x157)](_0x419c58['accessibility']),_0x2e0e40=!![]);}if(_0x2e0e40)return _0x11bbb5;return null;},exports[a170_0x462f9a(0x150)]=_0x4f4e2e=>{if(!_0x4f4e2e)return{};const _0x2d9e91=new OrchestrationUtils(_0x4f4e2e);return _0x2d9e91['getBuildStartData']();},exports['getProductMapForBuildStartCall']=_0x118495=>{const _0x20ea2b=a170_0x462f9a,_0x4bb9ce={'irduM':function(_0x470cf6){return _0x470cf6();},'eCaDK':function(_0x5bd867,_0x18fac9){return _0x5bd867===_0x18fac9;},'tRXJR':_0x20ea2b(0x166)};let _0x4e14d4=![],_0x8e1ee=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper[_0x20ea2b(0x127)](_0x118495))_0x8e1ee=!![];else bsSetupHelper[_0x20ea2b(0x183)]()&&(_0x4e14d4=!![]);return Object['assign']({'observability':_0x4bb9ce['irduM'](isTestObservabilitySession),'accessibility':exports[_0x20ea2b(0x15d)](_0x118495),'percy':_0x118495[_0x20ea2b(0x1b2)]||![],'sr_automation':_0x4bb9ce['eCaDK'](process[_0x20ea2b(0x1e9)][_0x20ea2b(0x195)],_0x4bb9ce[_0x20ea2b(0x1ec)])||_0x118495[_0x20ea2b(0x160)]||![],'automate':_0x4e14d4,'app_automate':_0x8e1ee,'turboscale':bsSetupHelper[_0x20ea2b(0x1b9)](_0x118495),'lts':LoadTestModule['isLTSSession'](_0x118495)},bsSetupHelper[_0x20ea2b(0x1a8)]());};const normalizeTestPlanId=_0x106074=>{const _0x1892bb=a170_0x462f9a,_0x5ee02d={};_0x5ee02d[_0x1892bb(0x1bb)]=function(_0x2060a4,_0x503cb3){return _0x2060a4!==_0x503cb3;},_0x5ee02d[_0x1892bb(0x187)]=_0x1892bb(0x1e6),_0x5ee02d[_0x1892bb(0x1d9)]=function(_0x34e22b,_0x37ed30){return _0x34e22b>_0x37ed30;};const _0xff0560=_0x5ee02d;if(_0xff0560['nXvcI'](typeof _0x106074,_0xff0560[_0x1892bb(0x187)]))return undefined;const _0x4b2b18=_0x106074['trim']();return _0xff0560[_0x1892bb(0x1d9)](_0x4b2b18['length'],0x0)?_0x4b2b18:undefined;},readTestPlanIdFromCliArgs=(_0x536f6a=process[a170_0x462f9a(0x17e)])=>{const _0x576ac8=a170_0x462f9a,_0xca8ea7={};_0xca8ea7[_0x576ac8(0x18b)]=function(_0x20d6fa,_0x55dff7){return _0x20d6fa<_0x55dff7;},_0xca8ea7[_0x576ac8(0x1cb)]=function(_0x169a6e,_0x2dfc16){return _0x169a6e===_0x2dfc16;},_0xca8ea7[_0x576ac8(0x14a)]=function(_0x3ea9f9,_0x37e82a){return _0x3ea9f9+_0x37e82a;};const _0x4c3cfe=_0xca8ea7,_0x2f3b45='--'+testHubConstants[_0x576ac8(0x164)];for(let _0x2ea9d1=0x0;_0x4c3cfe[_0x576ac8(0x18b)](_0x2ea9d1,_0x536f6a[_0x576ac8(0x1cd)]);_0x2ea9d1+=0x1){const _0x132b9c=_0x536f6a[_0x2ea9d1];if(_0x4c3cfe[_0x576ac8(0x1cb)](_0x132b9c,_0x2f3b45)){const _0x581020=_0x536f6a[_0x4c3cfe['UPcHQ'](_0x2ea9d1,0x1)];if(!_0x581020||_0x581020[_0x576ac8(0x128)]('--'))return undefined;return _0x581020;}if(_0x132b9c[_0x576ac8(0x128)](_0x2f3b45+'='))return _0x132b9c['slice'](_0x4c3cfe[_0x576ac8(0x14a)](_0x2f3b45['length'],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x26a1cd={})=>{const _0x28e3b3=a170_0x462f9a,_0xade82={'Flrxw':function(_0x347c84,_0x15a804){return _0x347c84(_0x15a804);}};return _0xade82[_0x28e3b3(0x167)](normalizeTestPlanId,_0x26a1cd&&_0x26a1cd[_0x28e3b3(0x153)]&&_0x26a1cd['testManagementOptions'][_0x28e3b3(0x1b1)]);};exports[a170_0x462f9a(0x16f)]=(_0x3095b4={},_0x53a350=process['argv'],_0x49a132=process[a170_0x462f9a(0x1e9)])=>{const _0x5ec6ed=a170_0x462f9a,_0xe11e94={'QltxI':function(_0x363de1,_0x20bdf0){return _0x363de1(_0x20bdf0);},'UBZbi':function(_0x135618,_0x48c181){return _0x135618(_0x48c181);},'IikVb':function(_0x284282,_0x154940){return _0x284282(_0x154940);}};try{const _0x5b5498=_0xe11e94['QltxI'](normalizeTestPlanId,_0xe11e94[_0x5ec6ed(0x1d0)](readTestPlanIdFromCliArgs,_0x53a350));if(_0x5b5498)return _0x5b5498;const _0x2da673=_0xe11e94['UBZbi'](normalizeTestPlanId,_0x49a132&&_0x49a132[testHubConstants['ENV_VAR'][_0x5ec6ed(0x130)]]);if(_0x2da673)return _0x2da673;return _0xe11e94[_0x5ec6ed(0x14d)](readTestPlanIdFromConfig,_0x3095b4);}catch(_0x1b6243){return logger[_0x5ec6ed(0x132)](_0x5ec6ed(0x16a)+(_0x1b6243&&_0x1b6243['message']?_0x1b6243[_0x5ec6ed(0x1c7)]:_0x1b6243)),undefined;}};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a174_0x405fb4=a174_0x38cd;(function(_0x2157c5,_0x1ccd41){const _0x592aba=a174_0x38cd,_0x34115c=_0x2157c5();while(!![]){try{const _0x2948fc=-parseInt(_0x592aba(0x132))/0x1+-parseInt(_0x592aba(0x19c))/0x2*(-parseInt(_0x592aba(0x194))/0x3)+-parseInt(_0x592aba(0x13d))/0x4+-parseInt(_0x592aba(0x123))/0x5+-parseInt(_0x592aba(0x170))/0x6+-parseInt(_0x592aba(0x133))/0x7*(-parseInt(_0x592aba(0x172))/0x8)+parseInt(_0x592aba(0x115))/0x9;if(_0x2948fc===_0x1ccd41)break;else _0x34115c['push'](_0x34115c['shift']());}catch(_0x5d605e){_0x34115c['push'](_0x34115c['shift']());}}}(a174_0xe5b1,0xf2b55));const os=require('os'),util=require(a174_0x405fb4(0x128)),fs=require('fs'),{getProductMap}=require(a174_0x405fb4(0x11a)),logger=require(a174_0x405fb4(0x117))[a174_0x405fb4(0x157)],constants=require(a174_0x405fb4(0x174)),testHubConstants=require(a174_0x405fb4(0x190)),{getTransformPath}=require(a174_0x405fb4(0x148)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a174_0x405fb4(0x174)),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a174_0x405fb4(0x173)),globals=require(a174_0x405fb4(0x151)),helper=require('./helper'),{isTestObservabilitySession}=require(a174_0x405fb4(0x164));let unhandledErrors='';function a174_0x38cd(_0x1f81dc,_0x16c0b0){const _0xe5b11e=a174_0xe5b1();return a174_0x38cd=function(_0x38cd3f,_0x5035cc){_0x38cd3f=_0x38cd3f-0x111;let _0x6e3fe3=_0xe5b11e[_0x38cd3f];return _0x6e3fe3;},a174_0x38cd(_0x1f81dc,_0x16c0b0);}exports[a174_0x405fb4(0x143)]=async(_0x3fa89d,_0x780f32={},_0x529111,_0x32092e,_0x1e04c5=![])=>{const _0x5bf805=a174_0x405fb4,_0x42b1b5={'sKqph':function(_0x461e21,_0x5b6e30){return _0x461e21===_0x5b6e30;},'JyKmR':'object','TtzYD':function(_0x289b12,_0x17c78d){return _0x289b12>_0x17c78d;},'sHvvO':_0x5bf805(0x16c),'FuYTp':function(_0x3a4e7c){return _0x3a4e7c();},'lHkmM':function(_0x51de6d,_0x2e39d0){return _0x51de6d==_0x2e39d0;},'OoVrz':_0x5bf805(0x146),'GxvVx':function(_0x3d42da,_0x5ec9c2){return _0x3d42da===_0x5ec9c2;},'BtibC':_0x5bf805(0x15b),'HTTGx':function(_0x710120,_0x425eb6){return _0x710120>_0x425eb6;},'ITlSE':function(_0x1ff1e6,_0x2cbea6){return _0x1ff1e6===_0x2cbea6;},'wOOcM':'codeceptjs','UprkD':function(_0x2c2273,_0x4dffae){return _0x2c2273!==_0x4dffae;},'IkcCI':'Playwright','uJHgC':function(_0x50565b,_0x9078d2){return _0x50565b===_0x9078d2;},'aJaWC':_0x5bf805(0x171),'LdHLi':function(_0x5c7714,_0x5728e6){return _0x5c7714>_0x5728e6;},'uQrvs':function(_0x5d3458,_0x1bae56){return _0x5d3458+_0x1bae56;},'AEPKF':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','pMrsg':_0x5bf805(0x179),'VnYFx':function(_0x5aacea,_0x36fdeb){return _0x5aacea(_0x36fdeb);},'Tmiuw':'unknown','EbWhL':_0x5bf805(0x177),'egQFO':'SDKTestSuccessful','nRlnu':function(_0x32ffb2,_0x2266ad){return _0x32ffb2===_0x2266ad;},'CZdni':_0x5bf805(0x11f),'rwepR':_0x5bf805(0x129),'DiDqj':'[REDACTED]','myFGj':_0x5bf805(0x16a)};let _0x30d6d2=[];if(helper[_0x5bf805(0x130)]()&&_0x42b1b5[_0x5bf805(0x13c)](isTestObservabilitySession))_0x30d6d2=helper[_0x5bf805(0x111)](_0x529111)?constants['APP_AUTOMATE_PRODUCTS']:constants[_0x5bf805(0x160)];else{if(_0x42b1b5[_0x5bf805(0x13c)](isTestObservabilitySession))_0x30d6d2=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper[_0x5bf805(0x130)]()&&(_0x30d6d2=helper['isAppAutomateSession'](_0x529111)?constants[_0x5bf805(0x16f)]:constants[_0x5bf805(0x18b)]);}let _0x130658=_0x529111[_0x5bf805(0x17c)];if(_0x42b1b5[_0x5bf805(0x13a)](_0x130658,null))_0x130658=_0x42b1b5[_0x5bf805(0x14b)];else _0x42b1b5[_0x5bf805(0x119)](_0x130658,undefined)&&(_0x130658=_0x42b1b5[_0x5bf805(0x19f)]);unhandledErrors&&_0x42b1b5['HTTGx'](unhandledErrors[_0x5bf805(0x183)],0x0)&&(_0x780f32[_0x5bf805(0x13b)]=unhandledErrors);global['sdkRunId']&&(_0x780f32[_0x5bf805(0x185)]=global[_0x5bf805(0x185)]);try{if(_0x780f32['error']){if(_0x42b1b5[_0x5bf805(0x11c)](_0x32092e,_0x42b1b5[_0x5bf805(0x19e)])&&_0x42b1b5[_0x5bf805(0x16b)](_0x780f32['error'][_0x5bf805(0x183)],0x0)){const _0x3a98bf={};_0x3a98bf['os']='',_0x3a98bf[_0x5bf805(0x175)]='',_0x3a98bf[_0x5bf805(0x162)]='',_0x3a98bf[_0x5bf805(0x178)]='';const _0x2662f6=_0x3a98bf;let _0x1cc18a={};const _0x58c80d=_0x780f32[_0x5bf805(0x171)];_0x1cc18a=_0x58c80d['reduce']((_0x3b4fb0,_0x1dc639)=>{for(const _0x53b9b4 in _0x1dc639){_0x3b4fb0[_0x53b9b4]=_0x1dc639[_0x53b9b4];}return _0x3b4fb0;},{});const _0x48df9d={};_0x48df9d[_0x5bf805(0x16c)]=_0x1cc18a,_0x780f32['error']=[Object[_0x5bf805(0x191)]({},_0x2662f6,_0x48df9d)];}else{let _0x1404a6=0x0;const _0x1caef9=_0x42b1b5['UprkD'](_0x32092e,_0x42b1b5[_0x5bf805(0x12b)])?JSON['parse'](_0x780f32['error']):_0x780f32['error'],_0x4df1ef=Object['values'](_0x1caef9);_0x4df1ef['forEach'](_0x5a8b28=>{const _0x50c02d=_0x5bf805;if(_0x42b1b5[_0x50c02d(0x18e)](typeof _0x5a8b28,_0x42b1b5['JyKmR'])){const _0x4d04e7=Object[_0x50c02d(0x137)](_0x5a8b28);!_0x4d04e7[_0x50c02d(0x139)](_0x3b3c8c=>_0x3b3c8c===null||_0x3b3c8c===undefined||_0x3b3c8c==='')&&(_0x1404a6+=0x1);}});if(_0x42b1b5['uJHgC'](_0x1404a6,0x0))delete _0x780f32[_0x42b1b5['aJaWC']];else{const _0x429977=[];Object[_0x5bf805(0x14f)](_0x1caef9)['forEach'](_0x183a34=>{const _0x196eeb=_0x5bf805,[_0x21110b,_0x2ed9fc,_0x46141b,_0x363e27]=_0x183a34['split'](',\x20');let _0xcd38bc={};if(!_0x363e27){const _0x57706d={};_0x57706d[_0x196eeb(0x15c)]=_0x21110b,_0x57706d[_0x196eeb(0x175)]=_0x2ed9fc,_0x57706d['browser']=_0x46141b,_0xcd38bc=_0x57706d;}else{const _0x21a0a0={};_0x21a0a0['os']=_0x21110b,_0x21a0a0[_0x196eeb(0x175)]=_0x2ed9fc,_0x21a0a0[_0x196eeb(0x162)]=_0x46141b,_0x21a0a0[_0x196eeb(0x178)]=_0x363e27,_0xcd38bc=_0x21a0a0;}const _0x507361={},_0x1a58ee=_0x1caef9[_0x183a34];Object[_0x196eeb(0x14f)](_0x1a58ee)[_0x196eeb(0x161)](_0xa9f2fb=>{const _0x431c00=_0x196eeb;_0x42b1b5[_0x431c00(0x16b)](_0x1a58ee[_0xa9f2fb][_0x431c00(0x183)],0x0)&&(_0x507361[_0xa9f2fb]=_0x1a58ee[_0xa9f2fb]);}),_0x42b1b5[_0x196eeb(0x16b)](Object[_0x196eeb(0x14f)](_0x507361)[_0x196eeb(0x183)],0x0)&&(_0xcd38bc[_0x42b1b5['sHvvO']]=_0x507361,_0x429977['push'](_0xcd38bc));}),_0x42b1b5[_0x5bf805(0x150)](_0x429977[_0x5bf805(0x183)],0x0)?_0x780f32[_0x5bf805(0x171)]=_0x429977:delete _0x780f32[_0x42b1b5[_0x5bf805(0x199)]];}}}}catch(_0x1a2590){delete _0x780f32[_0x42b1b5[_0x5bf805(0x199)]],logger[_0x5bf805(0x166)](_0x42b1b5[_0x5bf805(0x140)](_0x42b1b5['AEPKF'],_0x1a2590));}const _0x5b7d77=helper[_0x5bf805(0x18f)](_0x529111,_0x529111['framework']),_0x5201e={'userName':helper[_0x5bf805(0x13f)](_0x529111),'accessKey':helper[_0x5bf805(0x14d)](_0x529111),'event_type':_0x3fa89d,'detectedFramework':_0x32092e,'buildHashedId':globals[_0x5bf805(0x141)](_0x42b1b5['pMrsg']),'optimalHubUrl':helper[_0x5bf805(0x192)](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x5bf805(0x163)]['BROWSERSTACK_TESTHUB_UUID']]||'','sdkRunId':global[_0x5bf805(0x185)],'product_map':_0x42b1b5['VnYFx'](getProductMap,_0x529111),'productMap':_0x42b1b5[_0x5bf805(0x124)](getProductMap,_0x529111),'language_framework':_0x529111[_0x5bf805(0x198)]||_0x42b1b5['Tmiuw'],'referrer':helper[_0x5bf805(0x154)](_0x32092e),'framework':_0x529111[_0x5bf805(0x153)],'frameworkVersion':helper[_0x5bf805(0x14a)](_0x32092e),'automationFramework':_0x5b7d77[_0x5bf805(0x118)],'automationFrameworkVersion':_0x5b7d77['version'],'language':_0x42b1b5[_0x5bf805(0x16e)],'languageVersion':process['version'],'product':_0x30d6d2,'buildName':_0x529111[_0x5bf805(0x165)]||_0x42b1b5[_0x5bf805(0x19f)],'buildIdentifier':_0x130658,'os':os[_0x5bf805(0x168)]()||_0x42b1b5[_0x5bf805(0x181)],'hostname':os[_0x5bf805(0x155)]()||_0x42b1b5[_0x5bf805(0x181)],..._0x780f32,'isCLIEnabled':_0x1e04c5}};try{_0x42b1b5[_0x5bf805(0x18e)](_0x3fa89d,_0x42b1b5[_0x5bf805(0x184)])&&(_0x5201e[_0x5bf805(0x186)][_0x5bf805(0x122)]=helper[_0x5bf805(0x189)](_0x529111)),_0x42b1b5[_0x5bf805(0x121)](_0x32092e,_0x42b1b5[_0x5bf805(0x12b)])?_0x5201e[_0x5bf805(0x186)][_0x5bf805(0x11b)]=helper[_0x5bf805(0x17e)][_0x5bf805(0x134)](null,_0x42b1b5[_0x5bf805(0x13c)](getTransformPath),!![]):_0x5201e[_0x5bf805(0x186)][_0x5bf805(0x17a)]=helper['getPackageVersion'](_0x42b1b5[_0x5bf805(0x18a)]);}catch(_0x1c5f82){logger[_0x5bf805(0x166)](_0x5bf805(0x142)+_0x1c5f82);}const _0x1455b1={};_0x1455b1[_0x5bf805(0x12e)]=_0x42b1b5[_0x5bf805(0x114)];const _0x22b0cb={'headers':_0x1455b1,'body':_0x5201e,'auth':{'user':helper[_0x5bf805(0x13f)](_0x529111),'pass':helper[_0x5bf805(0x14d)](_0x529111)},'json':!![]};logger[_0x5bf805(0x166)](_0x5bf805(0x18d)+JSON['stringify'](_0x22b0cb[_0x5bf805(0x147)])['replace'](new RegExp(helper[_0x5bf805(0x13f)](_0x529111),'g'),_0x42b1b5['DiDqj'])[_0x5bf805(0x14c)](new RegExp(helper[_0x5bf805(0x14d)](_0x529111),'g'),_0x42b1b5[_0x5bf805(0x169)]));try{const _0x563858=await helper[_0x5bf805(0x180)](_0x42b1b5[_0x5bf805(0x156)],FUNNEL_INSTRUMENTATION_API_URL,_0x22b0cb,_0x529111);logger[_0x5bf805(0x166)](_0x5bf805(0x167)+_0x3fa89d+'\x20response\x20-\x20'+util[_0x5bf805(0x187)]('%j',_0x563858));}catch(_0x1daf56){logger[_0x5bf805(0x166)]('Error\x20in\x20firing\x20request\x20to\x20'+FUNNEL_INSTRUMENTATION_API_URL+_0x5bf805(0x19b)+util['format'](_0x1daf56));}},exports['finalExecution']=async(_0x4a721e,_0x319be7=![])=>{const _0x5a8d87=a174_0x405fb4,_0x36ef1a={'bXOqS':function(_0x262318){return _0x262318();},'hxGgI':'_hubAllocationData','HmtPF':_0x5a8d87(0x126),'IJNhh':_0x5a8d87(0x176),'weYme':_0x5a8d87(0x125),'uXHMe':function(_0x278a94,_0x1478f5,_0x210db6){return _0x278a94(_0x1478f5,_0x210db6);},'BibMD':function(_0x342eaa,_0x6b55e9){return _0x342eaa+_0x6b55e9;},'zWrzG':_0x5a8d87(0x120)};try{await _0x4a721e[_0x5a8d87(0x13e)](),_0x36ef1a[_0x5a8d87(0x136)](printNudgeLocalNotSetError);const _0x4f3e19={};_0x4f3e19[_0x5a8d87(0x171)]=_0x4a721e[_0x5a8d87(0x158)]?_0x4a721e[_0x5a8d87(0x158)]:'{}';const _0x5a497a=_0x4f3e19,_0x3ea5bf=Object[_0x5a8d87(0x191)]({},_0x5a497a),_0x130976=globals[_0x5a8d87(0x141)](_0x36ef1a[_0x5a8d87(0x15d)]);_0x130976&&(_0x3ea5bf[_0x5a8d87(0x12d)]=_0x130976);!!_0x4a721e[_0x5a8d87(0x12f)]&&(_0x3ea5bf[_0x36ef1a[_0x5a8d87(0x12a)]]={'reason':_0x36ef1a[_0x5a8d87(0x127)],'signal':_0x4a721e['killSignal']});unhandledErrors=_0x4a721e[_0x5a8d87(0x138)][_0x5a8d87(0x182)]('\x0a');let _0x2c3622,_0x58e7bf,_0x586a51;helper[_0x5a8d87(0x135)](_0x4a721e['config'])?([_0x2c3622,_0x58e7bf]=await helper[_0x5a8d87(0x19d)](_0x4a721e[_0x5a8d87(0x11d)]),[_0x586a51]=await Promise[_0x5a8d87(0x18c)]([helper[_0x5a8d87(0x159)](_0x2c3622,_0x4a721e[_0x5a8d87(0x11d)]),exports[_0x5a8d87(0x143)](_0x36ef1a[_0x5a8d87(0x188)],_0x3ea5bf,_0x4a721e[_0x5a8d87(0x11d)],_0x4a721e[_0x5a8d87(0x153)],_0x319be7)])):([_0x2c3622,_0x58e7bf]=await helper[_0x5a8d87(0x197)](_0x4a721e[_0x5a8d87(0x11d)]),[_0x586a51]=await Promise[_0x5a8d87(0x18c)]([helper['getSessionsList'](_0x2c3622,_0x4a721e[_0x5a8d87(0x11d)]),exports[_0x5a8d87(0x143)](_0x36ef1a[_0x5a8d87(0x188)],_0x3ea5bf,_0x4a721e[_0x5a8d87(0x11d)],_0x4a721e['framework'],_0x319be7)])),_0x586a51&&await _0x36ef1a[_0x5a8d87(0x196)](generateCIArtifacts,_0x586a51,_0x58e7bf),logger[_0x5a8d87(0x112)](_0x5a8d87(0x11e)+_0x4a721e[_0x5a8d87(0x185)]+',\x20testhub\x20id:\x20'+process['env'][_0x5a8d87(0x116)]),await helper['sendLogs'](_0x4a721e[_0x5a8d87(0x11d)]);}catch(_0x6f0506){logger['debug'](_0x36ef1a[_0x5a8d87(0x16d)](_0x36ef1a[_0x5a8d87(0x17b)],_0x6f0506));}helper['notifyUpdate']();},exports[a174_0x405fb4(0x15e)]=_0x10dbbe=>{const _0x3ef8d6=a174_0x405fb4,_0x317fbd={'EhBcg':function(_0x3011ae,_0x24a258){return _0x3011ae instanceof _0x24a258;},'lsDeS':function(_0x2528cd,_0x55d441){return _0x2528cd(_0x55d441);}};try{if(_0x317fbd['EhBcg'](_0x10dbbe,Error))return _0x10dbbe[_0x3ef8d6(0x195)]||_0x10dbbe[_0x3ef8d6(0x131)]();return _0x317fbd[_0x3ef8d6(0x14e)](String,_0x10dbbe);}catch(_0xd68bbe){return _0x10dbbe?_0x10dbbe[_0x3ef8d6(0x131)]():'';}},exports[a174_0x405fb4(0x193)]=_0x5e0cde=>{const _0x211332=a174_0x405fb4,_0x184643={};_0x184643[_0x211332(0x113)]=function(_0x3bae1a,_0x5c2488){return _0x3bae1a===_0x5c2488;};const _0x1823cc=_0x184643;return!_0x5e0cde||_0x1823cc[_0x211332(0x113)](_0x5e0cde[_0x211332(0x17f)](),'');},exports[a174_0x405fb4(0x12c)]=_0x1e79ac=>{const _0xf9ad17=a174_0x405fb4,_0x483baf={};_0x483baf['ffFws']=function(_0x4d7793,_0x23c60f){return _0x4d7793|_0x23c60f;};const _0x6e6b78=_0x483baf;try{return fs[_0xf9ad17(0x19a)](_0x1e79ac,_0x6e6b78[_0xf9ad17(0x152)](fs[_0xf9ad17(0x15a)][_0xf9ad17(0x149)],fs[_0xf9ad17(0x15a)][_0xf9ad17(0x144)])),!![];}catch(_0x560b25){return![];}},exports['setReadWriteExecuteAccess']=_0x14b636=>{const _0x30edf1=a174_0x405fb4;try{fs[_0x30edf1(0x145)](_0x14b636,0x1ff),logger['debug'](_0x30edf1(0x15f)+_0x14b636+'\x20has\x20now\x20read/write/execute\x20permissions.');}catch(_0xa03f59){logger[_0x30edf1(0x171)](_0x30edf1(0x17d)+exports[_0x30edf1(0x15e)](_0xa03f59));}};function a174_0xe5b1(){const _0x4dcfca=['isBrowserstackInfra','toString','615594xFhVJw','14rnPoOw','apply','isTurboScaleSession','bXOqS','values','unhandledErrors','every','lHkmM','globalException','FuYTp','5397880qPYxiy','stopPercy','getUserName','uQrvs','getGlobal','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','fireFunnelTestEvent','X_OK','chmodSync','null','body','../bin/playwright/reporter/pwUtils','W_OK','getFrameworkVersion','OoVrz','replace','getAccessKey','lsDeS','keys','LdHLi','./globals','ffFws','framework','getNodeAgent','hostname','myFGj','winstonLogger','errorMessage','getTurboScaleSessionsList','constants','undefined','deviceName','hxGgI','getStackTraceAsString','Directory\x20','AUTOMATE_PRODUCTS','forEach','browser','ENV_VAR','./test-observability/utils','buildName','debug','API\x20Event\x20','type','DiDqj','POST','TtzYD','tests','BibMD','EbWhL','APP_AUTOMATE','9111342kIqlLq','error','4838808MQoWqT','./performance/performance-tester','../bin/utils/constants','osVersion','user_killed','nodejs','browserVersion','_buildHashedId','seleniumVersion','zWrzG','buildIdentifier','Failed\x20to\x20set\x20directory\x20access:\x20','requirePWModule','trim','nodeRequest','Tmiuw','join','length','egQFO','sdkRunId','event_properties','format','weYme','sanitizeBrowserStackConfig','CZdni','AUTOMATE','all','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','sKqph','getTestFrameworkDetails','../helpers/testhub/constants','assign','getOptimalHubUrl','isNullOrEmpty','3029613fGZeko','stack','uXHMe','getBuildLink','source','aJaWC','accessSync','\x20:\x20','2gJTYCL','getTurboScaleBuildLink','wOOcM','BtibC','isAppAutomateSession','info','Gntrw','rwepR','33479865UZfRUy','BROWSERSTACK_TESTHUB_UUID','./logger','name','GxvVx','./testhub/utils','playwrightVersion','ITlSE','config','SDK\x20run\x20ended\x20for\x20id:\x20','selenium-webdriver','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','nRlnu','browserStackConfig','7309020ttkBHu','VnYFx','SDKTestSuccessful','finishedMetadata','IJNhh','util','application/json','HmtPF','IkcCI','isModifiable','hubAllocation','content-type','killSignal'];a174_0xe5b1=function(){return _0x4dcfca;};return a174_0xe5b1();}
|
|
1
|
+
const a171_0x1e101c=a171_0x5570;function a171_0xcc95(){const _0x3e9e80=['null','chmodSync','./logger','trim','QRtWb','3339324DAEQOK','IaYas','isBrowserstackInfra','W_OK','getTestFrameworkDetails','hubAllocation','1602xJaGLs','stack','isModifiable','./testhub/utils','YXyyz','sdkRunId','181028puMvAG','seleniumVersion','X_OK','toString','241JlRTkk','finishedMetadata','error','688232rBZmhb','Playwright','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','Directory\x20','MeJFL','errorMessage','forEach','length','osVersion','169uoMMsZ','jRxao','SDKTestSuccessful','finalExecution','QtYiS','apply','ApQLg','getGlobal','./test-observability/utils','sanitizeBrowserStackConfig','source','HRSZz','1851265GNaKeI','hostname','body','PiDTa','ENV_VAR','API\x20Event\x20','getAccessKey','info','nOVHS','split','format','iJSbB','isAppAutomateSession','./helper','unhandledErrors','IwPOf','4609pLbnnZ','Failed\x20to\x20set\x20directory\x20access:\x20','_buildHashedId','push','7510xVHepq','KBybc','BROWSERSTACK_TESTHUB_UUID','values','6KCVnJt','winstonLogger','browser','SVghf','GZuUl','debug','TFEdf','biTvz','object','./performance/performance-tester','keys','getTurboScaleSessionsList','../bin/playwright/reporter/pwUtils','undefined','sJazB','UNAQK','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','../helpers/testhub/constants','unknown','KMWJH','nodeRequest','all','rzKWw','nodejs','GwYxl','globalException','./globals','getFrameworkVersion','version','cfhnI','buildName','finalExecutionRan','requirePWModule','isTurboScaleSession','content-type','qOdzz','UIOjV','browserVersion','rXAGA','replace','\x20response\x20-\x20','bJJnH','framework','parse','getUserName','user_killed','getOptimalHubUrl','assign','fireFunnelTestEvent','killSignal','config','env','Error\x20in\x20firing\x20request\x20to\x20','event_properties','getSessionsList','setReadWriteExecuteAccess','util','MFDSM','constants','APP_AUTOMATE_PRODUCTS','selenium-webdriver','AUTOMATE','7RWHnGn','HvqCH','NKHJM','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','APP_AUTOMATE','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','AUTOMATE_PRODUCTS','codeceptjs','stringify','251052AUQmVJ','\x20:\x20','gIWHn','\x20has\x20now\x20read/write/execute\x20permissions.','9ijDPWt','../bin/utils/constants'];a171_0xcc95=function(){return _0x3e9e80;};return a171_0xcc95();}(function(_0x1d86b3,_0x1592cd){const _0x159d8e=a171_0x5570,_0x53ee3a=_0x1d86b3();while(!![]){try{const _0x4bb57e=parseInt(_0x159d8e(0xa6))/0x1*(parseInt(_0x159d8e(0x9c))/0x2)+-parseInt(_0x159d8e(0x121))/0x3*(-parseInt(_0x159d8e(0xa2))/0x4)+parseInt(_0x159d8e(0xbe))/0x5*(-parseInt(_0x159d8e(0xd6))/0x6)+parseInt(_0x159d8e(0x114))/0x7*(-parseInt(_0x159d8e(0xa9))/0x8)+parseInt(_0x159d8e(0x128))/0x9+-parseInt(_0x159d8e(0xd2))/0xa*(parseInt(_0x159d8e(0xce))/0xb)+-parseInt(_0x159d8e(0x11d))/0xc*(-parseInt(_0x159d8e(0xb2))/0xd);if(_0x4bb57e===_0x1592cd)break;else _0x53ee3a['push'](_0x53ee3a['shift']());}catch(_0x1c2960){_0x53ee3a['push'](_0x53ee3a['shift']());}}}(a171_0xcc95,0x310a6));const os=require('os'),util=require(a171_0x1e101c(0x10e)),fs=require('fs'),{getProductMap}=require(a171_0x1e101c(0x9f)),logger=require(a171_0x1e101c(0x125))[a171_0x1e101c(0xd7)],constants=require(a171_0x1e101c(0x122)),testHubConstants=require(a171_0x1e101c(0xe7)),{getTransformPath}=require(a171_0x1e101c(0xe2)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a171_0x1e101c(0x122)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a171_0x1e101c(0xcb)),PerformanceTester=require(a171_0x1e101c(0xdf)),globals=require(a171_0x1e101c(0xf0)),helper=require(a171_0x1e101c(0xcb)),{isTestObservabilitySession}=require(a171_0x1e101c(0xba));let unhandledErrors='';function a171_0x5570(_0x228280,_0x194be5){const _0xcc950e=a171_0xcc95();return a171_0x5570=function(_0x557046,_0x45523e){_0x557046=_0x557046-0x99;let _0x3b83c3=_0xcc950e[_0x557046];return _0x3b83c3;},a171_0x5570(_0x228280,_0x194be5);}exports[a171_0x1e101c(0x106)]=async(_0x767bb8,_0x338a40={},_0x6036db,_0x51f535,_0x112887=![])=>{const _0x47738c=a171_0x1e101c,_0x1227d9={'biTvz':function(_0x11f6ec,_0x5af41d){return _0x11f6ec===_0x5af41d;},'rzKWw':_0x47738c(0xde),'HvqCH':function(_0x12d72b,_0x2e97f3){return _0x12d72b>_0x2e97f3;},'MeJFL':function(_0x5c08e9,_0x5d44b7){return _0x5c08e9>_0x5d44b7;},'zDboE':'tests','KMWJH':function(_0x110dc4){return _0x110dc4();},'IwPOf':function(_0x1408b1){return _0x1408b1();},'NKHJM':function(_0x304a4d,_0x36870a){return _0x304a4d==_0x36870a;},'PiDTa':_0x47738c(0x123),'VIDoy':_0x47738c(0xe3),'NZcJA':function(_0x5ef5fe,_0x10c51c){return _0x5ef5fe===_0x10c51c;},'UIOjV':_0x47738c(0x11b),'MFDSM':function(_0x5bd13b,_0x4bbad1){return _0x5bd13b>_0x4bbad1;},'sJazB':function(_0x5f4c48,_0x1b63ec){return _0x5f4c48!==_0x1b63ec;},'iJSbB':_0x47738c(0xaa),'PAvVt':function(_0x43b73b,_0x4f70fa){return _0x43b73b===_0x4f70fa;},'gIWHn':'error','gCyFd':function(_0x45db3d,_0x39ba34){return _0x45db3d+_0x39ba34;},'FVfcu':_0x47738c(0x117),'QtYiS':_0x47738c(0xd0),'HRSZz':function(_0x1879c9,_0xd1e5c2){return _0x1879c9(_0xd1e5c2);},'jRxao':_0x47738c(0xe8),'GwYxl':_0x47738c(0xed),'rvbPi':function(_0x5b9e6c,_0x9dc0ab){return _0x5b9e6c===_0x9dc0ab;},'lcAsV':_0x47738c(0xb4),'QRtWb':function(_0x44190e){return _0x44190e();},'GZuUl':_0x47738c(0x112),'ZCMTk':'application/json','rXAGA':'[REDACTED]','nOVHS':'POST'};let _0xda34f=[];if(helper[_0x47738c(0x12a)]()&&_0x1227d9[_0x47738c(0xe9)](isTestObservabilitySession))_0xda34f=helper[_0x47738c(0xca)](_0x6036db)?constants[_0x47738c(0x111)]:constants[_0x47738c(0x11a)];else{if(_0x1227d9[_0x47738c(0xcd)](isTestObservabilitySession))_0xda34f=constants[_0x47738c(0xe6)];else helper[_0x47738c(0x12a)]()&&(_0xda34f=helper['isAppAutomateSession'](_0x6036db)?constants[_0x47738c(0x118)]:constants[_0x47738c(0x113)]);}let _0xeaff97=_0x6036db['buildIdentifier'];if(_0x1227d9[_0x47738c(0x116)](_0xeaff97,null))_0xeaff97=_0x1227d9[_0x47738c(0xc1)];else _0x1227d9[_0x47738c(0xdd)](_0xeaff97,undefined)&&(_0xeaff97=_0x1227d9['VIDoy']);unhandledErrors&&_0x1227d9[_0x47738c(0xad)](unhandledErrors[_0x47738c(0xb0)],0x0)&&(_0x338a40[_0x47738c(0xef)]=unhandledErrors);global[_0x47738c(0xa1)]&&(_0x338a40[_0x47738c(0xa1)]=global[_0x47738c(0xa1)]);try{if(_0x338a40[_0x47738c(0xa8)]){if(_0x1227d9['NZcJA'](_0x51f535,_0x1227d9[_0x47738c(0xfa)])&&_0x1227d9[_0x47738c(0x10f)](_0x338a40[_0x47738c(0xa8)][_0x47738c(0xb0)],0x0)){const _0x42cacb={};_0x42cacb['os']='',_0x42cacb[_0x47738c(0xb1)]='',_0x42cacb[_0x47738c(0xd8)]='',_0x42cacb[_0x47738c(0xfb)]='';const _0x1dae39=_0x42cacb;let _0x4cb9d1={};const _0x35ba7e=_0x338a40['error'];_0x4cb9d1=_0x35ba7e['reduce']((_0x99ced1,_0x4072dd)=>{for(const _0x110659 in _0x4072dd){_0x99ced1[_0x110659]=_0x4072dd[_0x110659];}return _0x99ced1;},{});const _0x682cfa={};_0x682cfa['tests']=_0x4cb9d1,_0x338a40[_0x47738c(0xa8)]=[Object[_0x47738c(0x105)]({},_0x1dae39,_0x682cfa)];}else{let _0x4f4670=0x0;const _0x2b9737=_0x1227d9[_0x47738c(0xe4)](_0x51f535,_0x1227d9['iJSbB'])?JSON[_0x47738c(0x101)](_0x338a40['error']):_0x338a40[_0x47738c(0xa8)],_0x35612d=Object[_0x47738c(0xd5)](_0x2b9737);_0x35612d[_0x47738c(0xaf)](_0x4de72f=>{const _0x18799e=_0x47738c;if(_0x1227d9[_0x18799e(0xdd)](typeof _0x4de72f,_0x1227d9[_0x18799e(0xec)])){const _0x5655ea=Object[_0x18799e(0xd5)](_0x4de72f);!_0x5655ea['every'](_0x510903=>_0x510903===null||_0x510903===undefined||_0x510903==='')&&(_0x4f4670+=0x1);}});if(_0x1227d9['PAvVt'](_0x4f4670,0x0))delete _0x338a40[_0x1227d9[_0x47738c(0x11f)]];else{const _0x560e69=[];Object[_0x47738c(0xe0)](_0x2b9737)['forEach'](_0x302ef7=>{const _0x44aa14=_0x47738c,_0x386f9b={'SVghf':function(_0x3c428b,_0x12d715){const _0x4620b1=a171_0x5570;return _0x1227d9[_0x4620b1(0x115)](_0x3c428b,_0x12d715);}},[_0x1401a5,_0x44ba22,_0x3361a3,_0x429ced]=_0x302ef7[_0x44aa14(0xc7)](',\x20');let _0x19151f={};if(!_0x429ced){const _0x29d5ed={};_0x29d5ed['deviceName']=_0x1401a5,_0x29d5ed['osVersion']=_0x44ba22,_0x29d5ed[_0x44aa14(0xd8)]=_0x3361a3,_0x19151f=_0x29d5ed;}else{const _0x4fadaf={};_0x4fadaf['os']=_0x1401a5,_0x4fadaf['osVersion']=_0x44ba22,_0x4fadaf[_0x44aa14(0xd8)]=_0x3361a3,_0x4fadaf['browserVersion']=_0x429ced,_0x19151f=_0x4fadaf;}const _0x56e35a={},_0x5d9e0f=_0x2b9737[_0x302ef7];Object[_0x44aa14(0xe0)](_0x5d9e0f)[_0x44aa14(0xaf)](_0x4355ff=>{const _0xeaa1c6=_0x44aa14;_0x386f9b[_0xeaa1c6(0xd9)](_0x5d9e0f[_0x4355ff][_0xeaa1c6(0xb0)],0x0)&&(_0x56e35a[_0x4355ff]=_0x5d9e0f[_0x4355ff]);}),_0x1227d9['MeJFL'](Object[_0x44aa14(0xe0)](_0x56e35a)[_0x44aa14(0xb0)],0x0)&&(_0x19151f[_0x1227d9['zDboE']]=_0x56e35a,_0x560e69[_0x44aa14(0xd1)](_0x19151f));}),_0x1227d9[_0x47738c(0xad)](_0x560e69[_0x47738c(0xb0)],0x0)?_0x338a40[_0x47738c(0xa8)]=_0x560e69:delete _0x338a40[_0x1227d9[_0x47738c(0x11f)]];}}}}catch(_0x2c0aff){delete _0x338a40[_0x1227d9[_0x47738c(0x11f)]],logger[_0x47738c(0xdb)](_0x1227d9['gCyFd'](_0x1227d9['FVfcu'],_0x2c0aff));}const _0x2e31aa=helper[_0x47738c(0x9a)](_0x6036db,_0x6036db[_0x47738c(0x100)]),_0x239ef2={'userName':helper[_0x47738c(0x102)](_0x6036db),'accessKey':helper['getAccessKey'](_0x6036db),'event_type':_0x767bb8,'detectedFramework':_0x51f535,'buildHashedId':globals[_0x47738c(0xb9)](_0x1227d9[_0x47738c(0xb6)]),'optimalHubUrl':helper[_0x47738c(0x104)](),'event_properties':{'testhub_uuid':process[_0x47738c(0x109)][testHubConstants[_0x47738c(0xc2)][_0x47738c(0xd4)]]||'','sdkRunId':global[_0x47738c(0xa1)],'product_map':_0x1227d9[_0x47738c(0xbd)](getProductMap,_0x6036db),'productMap':_0x1227d9['HRSZz'](getProductMap,_0x6036db),'language_framework':_0x6036db[_0x47738c(0xbc)]||_0x1227d9[_0x47738c(0xb3)],'referrer':helper['getNodeAgent'](_0x51f535),'framework':_0x6036db[_0x47738c(0x100)],'frameworkVersion':helper[_0x47738c(0xf1)](_0x51f535),'automationFramework':_0x2e31aa['name'],'automationFrameworkVersion':_0x2e31aa[_0x47738c(0xf2)],'language':_0x1227d9[_0x47738c(0xee)],'languageVersion':process[_0x47738c(0xf2)],'product':_0xda34f,'buildName':_0x6036db[_0x47738c(0xf4)]||_0x1227d9['VIDoy'],'buildIdentifier':_0xeaff97,'os':os['type']()||_0x1227d9[_0x47738c(0xb3)],'hostname':os[_0x47738c(0xbf)]()||_0x1227d9[_0x47738c(0xb3)],..._0x338a40,'isCLIEnabled':_0x112887}};try{_0x1227d9['rvbPi'](_0x767bb8,_0x1227d9['lcAsV'])&&(_0x239ef2[_0x47738c(0x10b)]['browserStackConfig']=helper[_0x47738c(0xbb)](_0x6036db)),_0x1227d9[_0x47738c(0xdd)](_0x51f535,_0x1227d9[_0x47738c(0xc9)])?_0x239ef2[_0x47738c(0x10b)]['playwrightVersion']=helper[_0x47738c(0xf6)][_0x47738c(0xb7)](null,_0x1227d9[_0x47738c(0x127)](getTransformPath),!![]):_0x239ef2['event_properties'][_0x47738c(0xa3)]=helper['getPackageVersion'](_0x1227d9[_0x47738c(0xda)]);}catch(_0xf7e2f3){logger[_0x47738c(0xdb)](_0x47738c(0x119)+_0xf7e2f3);}const _0x569948={};_0x569948[_0x47738c(0xf8)]=_0x1227d9['ZCMTk'];const _0x275e23={'headers':_0x569948,'body':_0x239ef2,'auth':{'user':helper[_0x47738c(0x102)](_0x6036db),'pass':helper['getAccessKey'](_0x6036db)},'json':!![]};logger[_0x47738c(0xdb)]('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON[_0x47738c(0x11c)](_0x275e23[_0x47738c(0xc0)])[_0x47738c(0xfd)](new RegExp(helper[_0x47738c(0x102)](_0x6036db),'g'),_0x1227d9[_0x47738c(0xfc)])[_0x47738c(0xfd)](new RegExp(helper[_0x47738c(0xc4)](_0x6036db),'g'),_0x1227d9['rXAGA']));try{const _0x349920=await helper[_0x47738c(0xea)](_0x1227d9[_0x47738c(0xc6)],FUNNEL_INSTRUMENTATION_API_URL,_0x275e23,_0x6036db);logger['debug'](_0x47738c(0xc3)+_0x767bb8+_0x47738c(0xfe)+util[_0x47738c(0xc8)]('%j',_0x349920));}catch(_0x59e8d5){logger['debug'](_0x47738c(0x10a)+FUNNEL_INSTRUMENTATION_API_URL+_0x47738c(0x11e)+util['format'](_0x59e8d5));}},exports[a171_0x1e101c(0xb5)]=async(_0x2a891b,_0x382948=![])=>{const _0x2343dd=a171_0x1e101c,_0x48f19f={'cfhnI':function(_0x53653c){return _0x53653c();},'RvQeM':'_hubAllocationData','KBybc':_0x2343dd(0xa7),'bJJnH':_0x2343dd(0x103),'ApQLg':_0x2343dd(0xb4),'YXyyz':function(_0x26f927,_0x115fff,_0x4ec398){return _0x26f927(_0x115fff,_0x4ec398);},'UNAQK':function(_0x44a8bf,_0x370f6a){return _0x44a8bf+_0x370f6a;},'qMoRW':_0x2343dd(0xab)};if(_0x2a891b[_0x2343dd(0xf5)])return;_0x2a891b[_0x2343dd(0xf5)]=!![];try{await _0x2a891b['stopPercy'](),_0x48f19f[_0x2343dd(0xf3)](printNudgeLocalNotSetError);const _0xb8a543={};_0xb8a543['error']=_0x2a891b['errorMessage']?_0x2a891b[_0x2343dd(0xae)]:'{}';const _0x2de5e3=_0xb8a543,_0x50b47f=Object[_0x2343dd(0x105)]({},_0x2de5e3),_0x52a621=globals[_0x2343dd(0xb9)](_0x48f19f['RvQeM']);_0x52a621&&(_0x50b47f[_0x2343dd(0x9b)]=_0x52a621);!!_0x2a891b[_0x2343dd(0x107)]&&(_0x50b47f[_0x48f19f[_0x2343dd(0xd3)]]={'reason':_0x48f19f[_0x2343dd(0xff)],'signal':_0x2a891b[_0x2343dd(0x107)]});unhandledErrors=_0x2a891b[_0x2343dd(0xcc)]['join']('\x0a');let _0xe07355,_0x1a1115,_0x1075fe;helper[_0x2343dd(0xf7)](_0x2a891b['config'])?([_0xe07355,_0x1a1115]=await helper['getTurboScaleBuildLink'](_0x2a891b[_0x2343dd(0x108)]),[_0x1075fe]=await Promise[_0x2343dd(0xeb)]([helper[_0x2343dd(0xe1)](_0xe07355,_0x2a891b[_0x2343dd(0x108)]),exports[_0x2343dd(0x106)](_0x48f19f[_0x2343dd(0xb8)],_0x50b47f,_0x2a891b[_0x2343dd(0x108)],_0x2a891b[_0x2343dd(0x100)],_0x382948)])):([_0xe07355,_0x1a1115]=await helper['getBuildLink'](_0x2a891b[_0x2343dd(0x108)]),[_0x1075fe]=await Promise[_0x2343dd(0xeb)]([helper[_0x2343dd(0x10c)](_0xe07355,_0x2a891b[_0x2343dd(0x108)]),exports[_0x2343dd(0x106)](_0x48f19f[_0x2343dd(0xb8)],_0x50b47f,_0x2a891b[_0x2343dd(0x108)],_0x2a891b[_0x2343dd(0x100)],_0x382948)])),_0x1075fe&&await _0x48f19f[_0x2343dd(0xa0)](generateCIArtifacts,_0x1075fe,_0x1a1115),logger[_0x2343dd(0xc5)]('SDK\x20run\x20ended\x20for\x20id:\x20'+_0x2a891b[_0x2343dd(0xa1)]+',\x20testhub\x20id:\x20'+process['env'][_0x2343dd(0xd4)]),await helper['sendLogs'](_0x2a891b['config']);}catch(_0xfae615){logger[_0x2343dd(0xdb)](_0x48f19f[_0x2343dd(0xe5)](_0x48f19f['qMoRW'],_0xfae615));}helper['notifyUpdate']();},exports['getStackTraceAsString']=_0x30071e=>{const _0x2d1d10=a171_0x1e101c,_0xd5444d={'qOdzz':function(_0x5c7ac5,_0x5ebf3f){return _0x5c7ac5 instanceof _0x5ebf3f;},'guzRx':function(_0x34b611,_0x2c9b03){return _0x34b611(_0x2c9b03);}};try{if(_0xd5444d[_0x2d1d10(0xf9)](_0x30071e,Error))return _0x30071e[_0x2d1d10(0x9d)]||_0x30071e[_0x2d1d10(0xa5)]();return _0xd5444d['guzRx'](String,_0x30071e);}catch(_0xf3e075){return _0x30071e?_0x30071e[_0x2d1d10(0xa5)]():'';}},exports['isNullOrEmpty']=_0x155d59=>{const _0x1bc4d7=a171_0x1e101c,_0x2064cc={};_0x2064cc[_0x1bc4d7(0x129)]=function(_0x10025c,_0x5ae7b2){return _0x10025c===_0x5ae7b2;};const _0x357133=_0x2064cc;return!_0x155d59||_0x357133[_0x1bc4d7(0x129)](_0x155d59[_0x1bc4d7(0x126)](),'');},exports[a171_0x1e101c(0x9e)]=_0x54db84=>{const _0x19ecee=a171_0x1e101c,_0x51f430={};_0x51f430['TFEdf']=function(_0x5daebf,_0x2d0e1c){return _0x5daebf|_0x2d0e1c;};const _0x228352=_0x51f430;try{return fs['accessSync'](_0x54db84,_0x228352[_0x19ecee(0xdc)](fs[_0x19ecee(0x110)][_0x19ecee(0x99)],fs[_0x19ecee(0x110)][_0x19ecee(0xa4)])),!![];}catch(_0x611dda){return![];}},exports[a171_0x1e101c(0x10d)]=_0x1cc32f=>{const _0x13ba38=a171_0x1e101c;try{fs[_0x13ba38(0x124)](_0x1cc32f,0x1ff),logger[_0x13ba38(0xdb)](_0x13ba38(0xac)+_0x1cc32f+_0x13ba38(0x120));}catch(_0x38799d){logger[_0x13ba38(0xa8)](_0x13ba38(0xcf)+exports['getStackTraceAsString'](_0x38799d));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a172_0x4fe4(_0x57da4a,_0x5c0434){var _0x3fe543=a172_0x3fe5();return a172_0x4fe4=function(_0x4fe4b9,_0x3380d3){_0x4fe4b9=_0x4fe4b9-0xad;var _0x506172=_0x3fe543[_0x4fe4b9];return _0x506172;},a172_0x4fe4(_0x57da4a,_0x5c0434);}function a172_0x3fe5(){var _0x132f11=['projectName','local','ZQqfr','accessibility','FBxeM','gVPHR','iuwAs','browserstack.accessibilityOptions.scannerVersion','ULxGH','IEAht','buildName','MEZPi','browserstack.geoLocation','keqpf','browserstackSDK','HAeuJ','browserstack.overridelocalInfo.localIdentifier','IcESL','browserstack.appium_version','debug','bfcache','browserstack.disableCorsRestrictions','project','browserstack.performance','browser_version','hosts','uaEqN','browserstack.testhubBuildUuid','18seZuVQ','browserstack.selenium_version','2808oCoAqM','os_version','idleTimeout','kQwnz','tvtnf','HCSDF','sChFX','accessibilityOptions.includeIssueType.bestPractice','browserstack.accessibilityOptions.includeIssueType.needsReview','useW3c','networkLogs','701922JyubTb','name','device','simOptions','cLHwa','browserstack.overridelocalInfo.userAuthToken','wsLocalSupport','sQzVO','browserstack.buildIdentifier','axviF','ccykc','LbMWI','686546axODkp','qdXKj','browserstack.timezone','browserstack.debug','browserstack.hosts','browserstack.buildProductMap','13450vCcXPp','networkLogsOptions','tYEJU','842630ZLHlwF','accessibilityOptions.includeIssueType.needsReview','browserstack.browserstackSDK','bLYcx','maskCommands','browserstack.accessibilityOptions.wcagVersion','JoPWs','CAFWZ','osVersion','performance','browserstack.accessibilityOptions.includeIssueType.bestPractice','LTbvP','browserstack.customNetwork','browserstack.maskCommands','browserstack.localIdentifier','buildIdentifier','browserstack.wsLocalSupport','945tQFpwo','browserstack.networkProfile','W3CMapping','RgGlY','dZBQs','browser','XFssS','browserstack.video','seleniumVersion','localIdentifier','KLknb','ghoRz','Kfyti','browserstack.simOptions','urOdB','realMobile','browserstack.bfcache','browserstack.autoWait','1137851QRkRdg','tknTz','81739IjSlWI','accessKey','telemetryLogs','customNetwork','GtdOB','sessionName','maskBasicAuth','EELpC','appiumVersion','IfBsf','4gCdMUW','disableCorsRestrictions','qvwrt','browserstack.accessibilityOptions.scannerProcessingTimeout','accessibilityOptions.scannerProcessingTimeout','smgWQ','AeHEM','consoleLogs','deviceOrientation','uMbPy','video','browserstack.enableSim','uploadMedia','BqVYq','testhubBuildUuid','autoWait','accessibilityOptions.wcagVersion','WNybS','timezone','aekZG','browserstack.accessibilityOptions.authToken','browserstack.idleTimeout','512zKpNAk','userName','seleniumLogs','resolution','headerParams','KETvY','appiumLogs','browserstack.console','BJvYo','browserstack.seleniumLogs','Csmpr','browserstack.user','BRGlQ','JzzGl','WMvkW','fYtEf','gVdES','browserstack.key','browserstack.maskBasicAuth'];a172_0x3fe5=function(){return _0x132f11;};return a172_0x3fe5();}var a172_0x35d397=a172_0x4fe4;(function(_0x2553e3,_0x4e8859){var _0x4ac857=a172_0x4fe4,_0x62cb06=_0x2553e3();while(!![]){try{var _0x6133b7=parseInt(_0x4ac857(0xe9))/0x1+-parseInt(_0x4ac857(0xcf))/0x2+-parseInt(_0x4ac857(0xc3))/0x3*(-parseInt(_0x4ac857(0x107))/0x4)+parseInt(_0x4ac857(0xd8))/0x5*(-parseInt(_0x4ac857(0xb6))/0x6)+parseInt(_0x4ac857(0xfd))/0x7*(parseInt(_0x4ac857(0x11d))/0x8)+-parseInt(_0x4ac857(0xb8))/0x9*(-parseInt(_0x4ac857(0xd5))/0xa)+-parseInt(_0x4ac857(0xfb))/0xb;if(_0x6133b7===_0x4e8859)break;else _0x62cb06['push'](_0x62cb06['shift']());}catch(_0x54c417){_0x62cb06['push'](_0x62cb06['shift']());}}}(a172_0x3fe5,0x6dc3b),exports[a172_0x35d397(0xeb)]=()=>{var _0xf7e252=a172_0x35d397,_0x449ff1={};_0x449ff1[_0xf7e252(0xfc)]=_0xf7e252(0x11e),_0x449ff1[_0xf7e252(0x141)]=_0xf7e252(0xfe),_0x449ff1[_0xf7e252(0x125)]=_0xf7e252(0xe0),_0x449ff1[_0xf7e252(0x10c)]=_0xf7e252(0xee),_0x449ff1[_0xf7e252(0x139)]='browserVersion',_0x449ff1['fYtEf']=_0xf7e252(0xc1),_0x449ff1['MEZPi']=_0xf7e252(0x130),_0x449ff1['BqVYq']=_0xf7e252(0x13a),_0x449ff1['Csmpr']=_0xf7e252(0x102),_0x449ff1['BRGlQ']=_0xf7e252(0x131),_0x449ff1['MZzCH']=_0xf7e252(0xf2),_0x449ff1[_0xf7e252(0x106)]=_0xf7e252(0xad),_0x449ff1['GtdOB']=_0xf7e252(0x10e),_0x449ff1['bLYcx']=_0xf7e252(0xc2),_0x449ff1[_0xf7e252(0xb4)]=_0xf7e252(0xd6),_0x449ff1[_0xf7e252(0x132)]=_0xf7e252(0x123),_0x449ff1[_0xf7e252(0xdf)]=_0xf7e252(0x111),_0x449ff1[_0xf7e252(0x12b)]=_0xf7e252(0x11f),_0x449ff1[_0xf7e252(0xbc)]=_0xf7e252(0xff),_0x449ff1[_0xf7e252(0x13d)]='geoLocation',_0x449ff1['RgGlY']=_0xf7e252(0x119),_0x449ff1[_0xf7e252(0x136)]='resolution',_0x449ff1[_0xf7e252(0xde)]=_0xf7e252(0xf1),_0x449ff1[_0xf7e252(0x13f)]=_0xf7e252(0xdc),_0x449ff1[_0xf7e252(0x122)]=_0xf7e252(0xba),_0x449ff1[_0xf7e252(0xf5)]=_0xf7e252(0x103),_0x449ff1['kQwnz']=_0xf7e252(0x116),_0x449ff1[_0xf7e252(0xce)]=_0xf7e252(0xb3),_0x449ff1[_0xf7e252(0xbe)]=_0xf7e252(0xae),_0x449ff1[_0xf7e252(0x104)]=_0xf7e252(0xc9),_0x449ff1[_0xf7e252(0x110)]=_0xf7e252(0x108),_0x449ff1[_0xf7e252(0x118)]='deviceName',_0x449ff1[_0xf7e252(0xf7)]=_0xf7e252(0xf8),_0x449ff1['aekZG']=_0xf7e252(0x105),_0x449ff1[_0xf7e252(0x135)]=_0xf7e252(0x10f),_0x449ff1[_0xf7e252(0x12a)]=_0xf7e252(0x100),_0x449ff1[_0xf7e252(0xf3)]='networkProfile',_0x449ff1[_0xf7e252(0xed)]=_0xf7e252(0xe7),_0x449ff1['XFssS']=_0xf7e252(0x13e),_0x449ff1['ULxGH']=_0xf7e252(0x133),_0x449ff1['LTbvP']='buildProductMap',_0x449ff1['FBxeM']=_0xf7e252(0x115),_0x449ff1['RgqgQ']=_0xf7e252(0x117),_0x449ff1['qdXKj']='accessibilityOptions.scannerVersion',_0x449ff1[_0xf7e252(0xcc)]=_0xf7e252(0x10b),_0x449ff1[_0xf7e252(0x10d)]=_0xf7e252(0xbf),_0x449ff1[_0xf7e252(0xcd)]=_0xf7e252(0xd9),_0x449ff1[_0xf7e252(0xd7)]='accessibilityOptions.authToken',_0x449ff1[_0xf7e252(0xbd)]=_0xf7e252(0x113),_0x449ff1['urcEU']='enableSim',_0x449ff1['ghoRz']=_0xf7e252(0xc6),_0x449ff1[_0xf7e252(0xca)]='playwrightVersion',_0x449ff1['cLHwa']='overridelocalInfo.userAuthToken',_0x449ff1['uIBUu']='overridelocalInfo.localIdentifier',_0x449ff1[_0xf7e252(0x12d)]=_0xf7e252(0x121),_0x449ff1['qvwrt']=_0xf7e252(0xe1);var _0x20a95c=_0x449ff1,_0x13d63b={};return _0x13d63b[_0xf7e252(0x128)]=_0x20a95c[_0xf7e252(0xfc)],_0x13d63b[_0xf7e252(0x12e)]=_0x20a95c['IcESL'],_0x13d63b['os']='os',_0x13d63b[_0xf7e252(0xb9)]=_0x20a95c['BJvYo'],_0x13d63b[_0xf7e252(0xee)]=_0x20a95c['smgWQ'],_0x13d63b[_0xf7e252(0xb2)]=_0x20a95c[_0xf7e252(0x139)],_0x13d63b['browserstack.use_w3c']=_0x20a95c[_0xf7e252(0x12c)],_0x13d63b[_0xf7e252(0xb0)]=_0x20a95c[_0xf7e252(0x13b)],_0x13d63b['build']=_0x20a95c[_0xf7e252(0x114)],_0x13d63b[_0xf7e252(0xc4)]=_0x20a95c[_0xf7e252(0x127)],_0x13d63b['browserstack.local']=_0x20a95c[_0xf7e252(0x129)],_0x13d63b[_0xf7e252(0xe6)]=_0x20a95c['MZzCH'],_0x13d63b[_0xf7e252(0xd2)]=_0x20a95c['IfBsf'],_0x13d63b[_0xf7e252(0x124)]=_0x20a95c[_0xf7e252(0x101)],_0x13d63b['browserstack.networkLogs']=_0x20a95c[_0xf7e252(0xdb)],_0x13d63b['browserstack.networkLogsOptions']=_0x20a95c[_0xf7e252(0xb4)],_0x13d63b['browserstack.appiumLogs']=_0x20a95c[_0xf7e252(0x132)],_0x13d63b[_0xf7e252(0xf0)]=_0x20a95c[_0xf7e252(0xdf)],_0x13d63b[_0xf7e252(0x126)]=_0x20a95c[_0xf7e252(0x12b)],_0x13d63b['browserstack.telemetryLogs']=_0x20a95c['tvtnf'],_0x13d63b[_0xf7e252(0x13c)]=_0x20a95c['keqpf'],_0x13d63b[_0xf7e252(0xd1)]=_0x20a95c[_0xf7e252(0xec)],_0x13d63b[_0xf7e252(0x120)]=_0x20a95c[_0xf7e252(0x136)],_0x13d63b[_0xf7e252(0xb7)]=_0x20a95c[_0xf7e252(0xde)],_0x13d63b[_0xf7e252(0xe5)]=_0x20a95c[_0xf7e252(0x13f)],_0x13d63b[_0xf7e252(0x11c)]=_0x20a95c['KETvY'],_0x13d63b[_0xf7e252(0x12f)]=_0x20a95c[_0xf7e252(0xf5)],_0x13d63b[_0xf7e252(0xfa)]=_0x20a95c[_0xf7e252(0xbb)],_0x13d63b[_0xf7e252(0xd3)]=_0x20a95c[_0xf7e252(0xce)],_0x13d63b[_0xf7e252(0xf9)]=_0x20a95c['sChFX'],_0x13d63b[_0xf7e252(0xe8)]=_0x20a95c[_0xf7e252(0x104)],_0x13d63b[_0xf7e252(0xaf)]=_0x20a95c[_0xf7e252(0x110)],_0x13d63b[_0xf7e252(0xc5)]=_0x20a95c['WNybS'],_0x13d63b[_0xf7e252(0xf8)]=_0x20a95c[_0xf7e252(0xf7)],_0x13d63b[_0xf7e252(0x142)]=_0x20a95c[_0xf7e252(0x11a)],_0x13d63b[_0xf7e252(0x10f)]=_0x20a95c['gVPHR'],_0x13d63b[_0xf7e252(0xe4)]=_0x20a95c[_0xf7e252(0x12a)],_0x13d63b[_0xf7e252(0xea)]=_0x20a95c[_0xf7e252(0xf3)],_0x13d63b[_0xf7e252(0xcb)]=_0x20a95c[_0xf7e252(0xed)],_0x13d63b[_0xf7e252(0xda)]=_0x20a95c[_0xf7e252(0xef)],_0x13d63b['browserstack.accessibility']=_0x20a95c[_0xf7e252(0x138)],_0x13d63b[_0xf7e252(0xd4)]=_0x20a95c[_0xf7e252(0xe3)],_0x13d63b[_0xf7e252(0xb5)]=_0x20a95c[_0xf7e252(0x134)],_0x13d63b[_0xf7e252(0xdd)]=_0x20a95c['RgqgQ'],_0x13d63b[_0xf7e252(0x137)]=_0x20a95c[_0xf7e252(0xd0)],_0x13d63b[_0xf7e252(0x10a)]=_0x20a95c['axviF'],_0x13d63b[_0xf7e252(0xe2)]=_0x20a95c[_0xf7e252(0x10d)],_0x13d63b[_0xf7e252(0xc0)]=_0x20a95c[_0xf7e252(0xcd)],_0x13d63b[_0xf7e252(0x11b)]=_0x20a95c[_0xf7e252(0xd7)],_0x13d63b['browserstack.uploadMedia']=_0x20a95c['HCSDF'],_0x13d63b[_0xf7e252(0x112)]=_0x20a95c['urcEU'],_0x13d63b[_0xf7e252(0xf6)]=_0x20a95c[_0xf7e252(0xf4)],_0x13d63b['browserstack.playwrightVersion']=_0x20a95c[_0xf7e252(0xca)],_0x13d63b[_0xf7e252(0xc8)]=_0x20a95c[_0xf7e252(0xc7)],_0x13d63b[_0xf7e252(0x140)]=_0x20a95c['uIBUu'],_0x13d63b['browserstack.headerParams']=_0x20a95c[_0xf7e252(0x12d)],_0x13d63b[_0xf7e252(0xb1)]=_0x20a95c[_0xf7e252(0x109)],_0x13d63b;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a176_0x2577(){const _0x45f1b1=['./helpers/helper','WHOwI','wjJZv','20035683ntlHUU','Response:\x20','dlZCA','replace','getGlobal','./helpers/globals','sOzLL','KAnEV','WBinx','CWxEe','kWVJf','16580RoBTNn','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','./bin/utils/constants','14102usrVEw','hostname','HUB\x20URL\x20SET\x20TO\x20-\x20','BwTRn','set','hubs','zEQLa','map','juCxY','consumeHubUrlForSession','get','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','has','allocateHub','qdjtG','FeHGX','./helpers/logger','nodeRequest','hubRegion','race','https://','IXmSC','eQkdw','nextHubs','latency','url','Zlvfx','egOWx','CbrAE','Qxwcq','1264417NMCagL','HUB_URL_MAP','Execution\x20time\x20for\x20','8569668IIJvpM','\x20is:\x20','search','catch','hubUrl','WJcmT','CpUkK','SxYXT','\x20HUB\x20-\x20','parse','XZimv','newHubUrlBySession','value','MSXzL','rKAdx','all','hash','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','iWFoC','status','ohNoo','SOnCv','format','now','path','1008fdaOiS','ERROR\x20in\x20hub\x20selection:\x20','length','_hubAllocationData','mCYji','Awrag','fulfilled','2154404PSfODx','resolve','IWsJq','8024968HfYYOY','delete','aYrgt','vCcWG','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','GET','data','setGlobal','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','30TJZKqX','util','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','ktitx','CHVxy','debug','nFzKn','then','/wd/hub','winstonLogger','tXNwj'];a176_0x2577=function(){return _0x45f1b1;};return a176_0x2577();}const a176_0x27e721=a176_0x2602;(function(_0x1187d8,_0x6071b8){const _0x43d350=a176_0x2602,_0x58cfe6=_0x1187d8();while(!![]){try{const _0x1d707f=-parseInt(_0x43d350(0x179))/0x1+parseInt(_0x43d350(0x15b))/0x2*(-parseInt(_0x43d350(0x13f))/0x3)+parseInt(_0x43d350(0x195))/0x4*(-parseInt(_0x43d350(0x158))/0x5)+parseInt(_0x43d350(0x17c))/0x6+parseInt(_0x43d350(0x19c))/0x7+-parseInt(_0x43d350(0x19f))/0x8+parseInt(_0x43d350(0x14d))/0x9;if(_0x1d707f===_0x6071b8)break;else _0x58cfe6['push'](_0x58cfe6['shift']());}catch(_0x11e0c2){_0x58cfe6['push'](_0x58cfe6['shift']());}}}(a176_0x2577,0xc084d));function a176_0x2602(_0x3baf4f,_0xd0ad82){const _0x2577d2=a176_0x2577();return a176_0x2602=function(_0x26025e,_0x46278d){_0x26025e=_0x26025e-0x138;let _0x11ce5b=_0x2577d2[_0x26025e];return _0x11ce5b;},a176_0x2602(_0x3baf4f,_0xd0ad82);}const url=require(a176_0x27e721(0x174)),util=require(a176_0x27e721(0x140)),helper=require(a176_0x27e721(0x14a)),logger=require(a176_0x27e721(0x16b))[a176_0x27e721(0x148)],constants=require(a176_0x27e721(0x15a)),globals=require(a176_0x27e721(0x152));global[a176_0x27e721(0x187)]=global[a176_0x27e721(0x187)]||new Map(),exports['getRequestOptions']=_0x42d8c8=>{const _0x76940a=a176_0x27e721,_0x3c1a4d={};_0x3c1a4d[_0x76940a(0x157)]=function(_0x13a761,_0x29b681){return _0x13a761+_0x29b681;},_0x3c1a4d[_0x76940a(0x154)]='Invalid\x20new\x20HUB\x20URL:\x20';const _0x1ba1bb=_0x3c1a4d,_0x307f46=url[_0x76940a(0x185)](_0x42d8c8);if(!_0x307f46[_0x76940a(0x15c)])throw new Error(_0x1ba1bb[_0x76940a(0x157)](_0x1ba1bb[_0x76940a(0x154)],_0x42d8c8));return _0x307f46[_0x76940a(0x17e)]=null,_0x307f46[_0x76940a(0x18c)]=null,_0x307f46[_0x76940a(0x194)]=_0x307f46['pathname'],_0x307f46;},exports['updateHubUrl']=(_0x5affc9,_0x1ba877)=>{const _0xb1523b=a176_0x27e721,_0x1fa909={};_0x1fa909[_0xb1523b(0x161)]='updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting';const _0x5f7ab0=_0x1fa909;if(!_0x1ba877){logger['debug'](_0x5f7ab0[_0xb1523b(0x161)]);return;}global[_0xb1523b(0x187)][_0xb1523b(0x15f)](_0x1ba877,_0x5affc9);},exports[a176_0x27e721(0x164)]=_0x33d1bd=>{const _0x1340ae=a176_0x27e721;if(_0x33d1bd&&global[_0x1340ae(0x187)][_0x1340ae(0x167)](_0x33d1bd)){const _0x2281f2=global[_0x1340ae(0x187)][_0x1340ae(0x165)](_0x33d1bd);return global[_0x1340ae(0x187)][_0x1340ae(0x1a0)](_0x33d1bd),_0x2281f2;}return'';},exports[a176_0x27e721(0x168)]=_0x158a50=>{const _0x2b8f5d=a176_0x27e721,_0x5c6ca9={'juCxY':function(_0x441b0c,_0x4321f7){return _0x441b0c!==_0x4321f7;},'sOzLL':function(_0x274cf1,_0x1af299){return _0x274cf1+_0x1af299;},'WBinx':_0x2b8f5d(0x16f),'nFzKn':_0x2b8f5d(0x198),'egOWx':function(_0xb059c0,_0x497a1c){return _0xb059c0===_0x497a1c;},'qdjtG':_0x2b8f5d(0x19b),'rKAdx':_0x2b8f5d(0x141),'IWsJq':_0x2b8f5d(0x147),'SxYXT':function(_0x4bc9f9){return _0x4bc9f9();},'ktitx':function(_0x5641ab,_0x1940f8){return _0x5641ab==_0x1940f8;},'BwTRn':function(_0x31b30e,_0x3a110d){return _0x31b30e===_0x3a110d;},'mCYji':function(_0x286acb){return _0x286acb();}};return new Promise(_0x8ba438=>{const _0x2a3495=_0x2b8f5d,_0x443e9b={'CHVxy':function(_0x43e333,_0x2eda57){const _0x5b8f0e=a176_0x2602;return _0x5c6ca9[_0x5b8f0e(0x163)](_0x43e333,_0x2eda57);},'aYrgt':function(_0x45ec2a,_0x4529fd){const _0x541ece=a176_0x2602;return _0x5c6ca9[_0x541ece(0x153)](_0x45ec2a,_0x4529fd);},'tXNwj':_0x5c6ca9[_0x2a3495(0x155)],'XZimv':_0x5c6ca9[_0x2a3495(0x145)],'Awrag':function(_0x39b946,_0x362dc1){const _0x13dbdd=_0x2a3495;return _0x5c6ca9[_0x13dbdd(0x176)](_0x39b946,_0x362dc1);},'dlZCA':_0x5c6ca9[_0x2a3495(0x169)],'ulrID':_0x5c6ca9[_0x2a3495(0x18a)],'SOnCv':function(_0x116012,_0x266793){const _0x567f79=_0x2a3495;return _0x5c6ca9[_0x567f79(0x153)](_0x116012,_0x266793);},'MSXzL':_0x5c6ca9[_0x2a3495(0x19e)],'IXmSC':function(_0x139702){const _0x2483c3=_0x2a3495;return _0x5c6ca9[_0x2483c3(0x183)](_0x139702);},'iWFoC':function(_0x1ac799,_0x151372){const _0x21a830=_0x2a3495;return _0x5c6ca9[_0x21a830(0x142)](_0x1ac799,_0x151372);},'IkduA':function(_0x24ac0e,_0x222086){const _0x4d997b=_0x2a3495;return _0x5c6ca9[_0x4d997b(0x15e)](_0x24ac0e,_0x222086);}};if(_0x158a50&&_0x158a50[_0x2a3495(0x16d)]){const _0x215bb5=constants[_0x2a3495(0x17a)][_0x158a50[_0x2a3495(0x16d)]];if(_0x215bb5)return constants[_0x2a3495(0x180)]=_0x215bb5,logger['debug'](_0x2a3495(0x13a)+_0x215bb5),globals['setGlobal'](_0x5c6ca9[_0x2a3495(0x145)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x215bb5[_0x2a3495(0x150)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x2a3495(0x193)]()}),_0x5c6ca9[_0x2a3495(0x199)](_0x8ba438);logger[_0x2a3495(0x144)]('hubRegion\x20'+_0x158a50[_0x2a3495(0x16d)]+'\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection');}Promise[_0x2a3495(0x19d)](this['nextHubs'](_0x158a50))[_0x2a3495(0x146)](_0x19549a=>{const _0x5028f6=_0x2a3495,_0x18e162={'wjJZv':function(_0x4a484a){return _0x443e9b['IXmSC'](_0x4a484a);}};logger[_0x5028f6(0x144)]('NEAREST\x20HUBS\x20LIST:\x20'+util[_0x5028f6(0x192)]('%j',_0x19549a));if(_0x443e9b[_0x5028f6(0x18e)](_0x19549a,null)||_0x443e9b['IkduA'](_0x19549a[_0x5028f6(0x197)],0x0))return _0x443e9b[_0x5028f6(0x170)](_0x8ba438);const _0x1856d3=_0x19549a[_0x5028f6(0x162)](_0x4671f3=>{const _0x4bc83e=_0x5028f6,_0x4d760a={'Zlvfx':function(_0x125572,_0x5e8c65){const _0x5c9154=a176_0x2602;return _0x443e9b[_0x5c9154(0x143)](_0x125572,_0x5e8c65);}},_0x4a8396=_0x443e9b[_0x4bc83e(0x138)](_0x443e9b[_0x4bc83e(0x149)],_0x4671f3);return this['findLatency'](_0x158a50,_0x4a8396)[_0x4bc83e(0x146)](_0x511869=>{const _0x583792=_0x4bc83e;if(_0x511869&&_0x511869[_0x583792(0x180)]&&_0x4d760a[_0x583792(0x175)](_0x511869[_0x583792(0x173)],undefined)){const _0xe12c13={};return _0xe12c13['hubUrl']=_0x511869['hubUrl'],_0xe12c13[_0x583792(0x173)]=_0x511869[_0x583792(0x173)],_0xe12c13['ok']=!![],_0xe12c13;}const _0x4bdee9={};return _0x4bdee9[_0x583792(0x180)]=_0x4a8396,_0x4bdee9['latency']=null,_0x4bdee9['ok']=![],_0x4bdee9;})[_0x4bc83e(0x17f)](()=>({'hubUrl':_0x4a8396,'latency':null,'ok':![]}));});Promise[_0x5028f6(0x16e)](_0x1856d3[_0x5028f6(0x162)](_0xa1af1c=>_0xa1af1c[_0x5028f6(0x146)](_0x3ebfef=>_0x3ebfef['ok']?_0x3ebfef:null)))[_0x5028f6(0x146)](_0x3864fc=>{const _0x1bf0b1=_0x5028f6;if(_0x3864fc)return _0x3864fc;return Promise[_0x1bf0b1(0x18b)](_0x1856d3)[_0x1bf0b1(0x146)](()=>null);})[_0x5028f6(0x146)](_0x23bf9a=>{const _0x4e78bb=_0x5028f6,_0x181fac={'vCcWG':_0x443e9b[_0x4e78bb(0x186)],'CWxEe':function(_0xae890d,_0x21bbf4){const _0x519707=_0x4e78bb;return _0x443e9b[_0x519707(0x19a)](_0xae890d,_0x21bbf4);},'ohNoo':_0x443e9b[_0x4e78bb(0x14f)]};if(!_0x23bf9a){logger[_0x4e78bb(0x144)](_0x443e9b['ulrID']);const _0x79cb7b=_0x443e9b[_0x4e78bb(0x191)](_0x443e9b[_0x4e78bb(0x149)],_0x19549a[0x0]);return globals['setGlobal'](_0x443e9b[_0x4e78bb(0x186)],{'nearestHubs':_0x19549a['map'](_0x27a9c6=>_0x4e78bb(0x16f)+_0x27a9c6),'hubLatencies':{},'selectedHub':_0x79cb7b,'selectedHubLatency':null,'fallback':!![],'timestamp':Date['now']()}),constants[_0x4e78bb(0x180)]=_0x443e9b[_0x4e78bb(0x191)](_0x79cb7b,_0x443e9b[_0x4e78bb(0x189)]),logger['debug']('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0x79cb7b),_0x443e9b['IXmSC'](_0x8ba438);}const _0x2badf4={[_0x23bf9a[_0x4e78bb(0x180)]]:_0x23bf9a[_0x4e78bb(0x173)]},_0xa555bb={'nearestHubs':_0x19549a[_0x4e78bb(0x162)](_0x11f0f7=>_0x4e78bb(0x16f)+_0x11f0f7),'hubLatencies':_0x2badf4,'selectedHub':_0x23bf9a['hubUrl'],'selectedHubLatency':_0x23bf9a[_0x4e78bb(0x173)],'timestamp':Date[_0x4e78bb(0x193)]()};globals[_0x4e78bb(0x13d)](_0x443e9b['XZimv'],_0xa555bb),constants[_0x4e78bb(0x180)]=_0x443e9b[_0x4e78bb(0x191)](_0x23bf9a[_0x4e78bb(0x180)],_0x443e9b['MSXzL']),logger[_0x4e78bb(0x144)](_0x4e78bb(0x15d)+_0x23bf9a[_0x4e78bb(0x180)]),_0x443e9b['IXmSC'](_0x8ba438),Promise['allSettled'](_0x1856d3)[_0x4e78bb(0x146)](_0x2aa9eb=>{const _0x209328=_0x4e78bb;try{const _0x3490eb=globals[_0x209328(0x151)](_0x181fac[_0x209328(0x139)]);if(!_0x3490eb||_0x3490eb['skipped'])return;const _0x3c079f={};for(const _0x42cce9 of _0x2aa9eb){_0x181fac[_0x209328(0x156)](_0x42cce9[_0x209328(0x18f)],_0x181fac[_0x209328(0x190)])&&_0x42cce9[_0x209328(0x188)]&&_0x42cce9[_0x209328(0x188)]['ok']&&(_0x3c079f[_0x42cce9['value'][_0x209328(0x180)]]=_0x42cce9[_0x209328(0x188)][_0x209328(0x173)]);}_0x3490eb['hubLatencies']=_0x3c079f;}catch(_0x17f01d){logger[_0x209328(0x144)](_0x209328(0x159)+_0x17f01d);}})[_0x4e78bb(0x17f)](_0x28198e=>{const _0x129c8a=_0x4e78bb;logger[_0x129c8a(0x144)](_0x129c8a(0x18d)+_0x28198e);});})[_0x5028f6(0x17f)](_0x24526a=>{const _0xeb423d=_0x5028f6;logger[_0xeb423d(0x144)](_0xeb423d(0x196)+_0x24526a),_0x18e162[_0xeb423d(0x14c)](_0x8ba438);});})[_0x2a3495(0x17f)](_0x52f9f8=>{const _0x22ac6b=_0x2a3495;logger[_0x22ac6b(0x144)](_0x22ac6b(0x13e)+_0x52f9f8),_0x443e9b[_0x22ac6b(0x170)](_0x8ba438);});});},exports['findLatency']=async(_0x112069,_0x12e682)=>{const _0x681c28=a176_0x27e721,_0x10781d={};_0x10781d[_0x681c28(0x177)]='GET',_0x10781d[_0x681c28(0x181)]='check',_0x10781d[_0x681c28(0x178)]=function(_0x316410,_0x3e9064){return _0x316410-_0x3e9064;};const _0x405b02=_0x10781d;try{const _0x344ffd=new Date();await helper['nodeRequest'](_0x405b02['CbrAE'],_0x405b02[_0x681c28(0x181)],{},_0x112069,_0x12e682,0x1388);const _0x90b77c=_0x405b02[_0x681c28(0x178)](new Date(),_0x344ffd);logger['debug'](_0x681c28(0x17b)+_0x12e682+_0x681c28(0x17d)+_0x90b77c+'ms');const _0x12710a={};return _0x12710a[_0x681c28(0x180)]=_0x12e682,_0x12710a['latency']=_0x90b77c,_0x12710a;}catch(_0x11504b){return logger[_0x681c28(0x144)]('ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20'+_0x12e682+_0x681c28(0x184)+_0x11504b),{};}},exports[a176_0x27e721(0x172)]=async _0x53acd0=>{const _0x18632a=a176_0x27e721,_0x39ac52={'WHOwI':function(_0x2c1ced,_0x5dbe0a){return _0x2c1ced(_0x5dbe0a);},'eQkdw':_0x18632a(0x15a),'XrazG':'/wd/hub','FeHGX':_0x18632a(0x13b),'CpUkK':'next_hubs'};try{const _0x37833d=_0x39ac52[_0x18632a(0x14b)](require,_0x39ac52[_0x18632a(0x171)])['hubUrl'][_0x18632a(0x150)](_0x39ac52['XrazG'],''),_0x1146dd=await helper[_0x18632a(0x16c)](_0x39ac52[_0x18632a(0x16a)],_0x39ac52[_0x18632a(0x182)],{},_0x53acd0,_0x37833d,0x1388),_0x593e11=_0x1146dd[_0x18632a(0x13c)];return logger[_0x18632a(0x144)](_0x18632a(0x14e)+util[_0x18632a(0x192)]('%j',_0x593e11)),_0x593e11[_0x18632a(0x160)];}catch(_0x2a2e6d){logger[_0x18632a(0x144)](_0x18632a(0x166)+_0x2a2e6d);}return null;};
|
|
1
|
+
const a173_0x306ba3=a173_0x2787;(function(_0x442098,_0x303e60){const _0x5ae01d=a173_0x2787,_0x191a59=_0x442098();while(!![]){try{const _0x443e00=-parseInt(_0x5ae01d(0x167))/0x1*(-parseInt(_0x5ae01d(0x183))/0x2)+-parseInt(_0x5ae01d(0x175))/0x3*(-parseInt(_0x5ae01d(0x1b8))/0x4)+-parseInt(_0x5ae01d(0x17f))/0x5+parseInt(_0x5ae01d(0x1c5))/0x6+-parseInt(_0x5ae01d(0x18b))/0x7*(parseInt(_0x5ae01d(0x1af))/0x8)+parseInt(_0x5ae01d(0x198))/0x9+parseInt(_0x5ae01d(0x17e))/0xa;if(_0x443e00===_0x303e60)break;else _0x191a59['push'](_0x191a59['shift']());}catch(_0x451b7e){_0x191a59['push'](_0x191a59['shift']());}}}(a173_0x4cb6,0xb284e));function a173_0x2787(_0x318b94,_0x2a5754){const _0x4cb659=a173_0x4cb6();return a173_0x2787=function(_0x278768,_0x2f3e4f){_0x278768=_0x278768-0x15e;let _0x88ecdd=_0x4cb659[_0x278768];return _0x88ecdd;},a173_0x2787(_0x318b94,_0x2a5754);}const url=require('url'),util=require('util'),helper=require(a173_0x306ba3(0x162)),logger=require(a173_0x306ba3(0x172))[a173_0x306ba3(0x19e)],constants=require(a173_0x306ba3(0x199)),globals=require(a173_0x306ba3(0x188));global[a173_0x306ba3(0x1b0)]=global['newHubUrlBySession']||new Map(),exports[a173_0x306ba3(0x17a)]=_0x1fbf0b=>{const _0x182717=a173_0x306ba3,_0x3ff7a5={};_0x3ff7a5[_0x182717(0x182)]=function(_0x38c2ba,_0x39b4f7){return _0x38c2ba+_0x39b4f7;},_0x3ff7a5[_0x182717(0x1c7)]=_0x182717(0x1a7);const _0x1f712b=_0x3ff7a5,_0x9f51eb=url['parse'](_0x1fbf0b);if(!_0x9f51eb[_0x182717(0x177)])throw new Error(_0x1f712b[_0x182717(0x182)](_0x1f712b['tIjMO'],_0x1fbf0b));return _0x9f51eb[_0x182717(0x16c)]=null,_0x9f51eb[_0x182717(0x16b)]=null,_0x9f51eb[_0x182717(0x15f)]=_0x9f51eb[_0x182717(0x18a)],_0x9f51eb;},exports[a173_0x306ba3(0x169)]=(_0x1acee0,_0x536851)=>{const _0x3c4988=a173_0x306ba3,_0x1dcf49={};_0x1dcf49['JbZep']=_0x3c4988(0x16f);const _0x2e8f1f=_0x1dcf49;if(!_0x536851){logger[_0x3c4988(0x1b4)](_0x2e8f1f[_0x3c4988(0x1ac)]);return;}global[_0x3c4988(0x1b0)]['set'](_0x536851,_0x1acee0);},exports[a173_0x306ba3(0x18c)]=_0x44630a=>{const _0x52e80d=a173_0x306ba3;if(_0x44630a&&global[_0x52e80d(0x1b0)]['has'](_0x44630a)){const _0x553f0f=global['newHubUrlBySession']['get'](_0x44630a);return global['newHubUrlBySession'][_0x52e80d(0x166)](_0x44630a),_0x553f0f;}return'';},exports[a173_0x306ba3(0x1c4)]=_0x2280a9=>{const _0x458c79=a173_0x306ba3,_0x58cff7={'xFjzs':function(_0x461f44,_0xe310b2){return _0x461f44!==_0xe310b2;},'KpudR':function(_0x250e58,_0x34e538){return _0x250e58+_0x34e538;},'dZHXy':_0x458c79(0x180),'TnsVN':'_hubAllocationData','bxyoQ':function(_0x44c5e0,_0x179fd1){return _0x44c5e0===_0x179fd1;},'KqGLc':_0x458c79(0x18e),'AZmub':'All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','TFrra':'/wd/hub','RvxuQ':function(_0x2fbec7){return _0x2fbec7();},'jBgut':function(_0x325614,_0x916d85){return _0x325614+_0x916d85;},'UJOEO':function(_0x4e8300,_0x434083){return _0x4e8300==_0x434083;},'tadWz':function(_0x457672,_0x3d320a){return _0x457672===_0x3d320a;},'RXEtV':function(_0x95e4ff){return _0x95e4ff();}};return new Promise(_0x9c186=>{const _0x50ac0e=_0x458c79,_0xa07f57={'Zhgfq':function(_0x37f3a2,_0x7b57d8){return _0x58cff7['xFjzs'](_0x37f3a2,_0x7b57d8);},'cofpu':function(_0x26f6ee,_0x3cde38){const _0x58c0da=a173_0x2787;return _0x58cff7[_0x58c0da(0x1a5)](_0x26f6ee,_0x3cde38);},'QOfBs':_0x58cff7['dZHXy'],'XQjRZ':_0x58cff7[_0x50ac0e(0x1a1)],'sHTsD':function(_0x2b0212,_0xab45bc){const _0x26bd53=_0x50ac0e;return _0x58cff7[_0x26bd53(0x19d)](_0x2b0212,_0xab45bc);},'EABTE':_0x58cff7[_0x50ac0e(0x19c)],'jMnZZ':_0x58cff7['AZmub'],'Svpxj':_0x58cff7[_0x50ac0e(0x16a)],'VSven':function(_0x132cb3){const _0x47d42a=_0x50ac0e;return _0x58cff7[_0x47d42a(0x1b1)](_0x132cb3);},'OxKmv':function(_0x4c2fa5,_0x46a852){const _0x1ff8e8=_0x50ac0e;return _0x58cff7[_0x1ff8e8(0x168)](_0x4c2fa5,_0x46a852);},'HGobb':function(_0x2c593c,_0x20c8f3){return _0x58cff7['UJOEO'](_0x2c593c,_0x20c8f3);},'mlUWf':function(_0x365453,_0x23d67d){const _0x55bf17=_0x50ac0e;return _0x58cff7[_0x55bf17(0x18f)](_0x365453,_0x23d67d);},'AeGiU':function(_0x41cd21){return _0x58cff7['RvxuQ'](_0x41cd21);}};if(_0x2280a9&&_0x2280a9[_0x50ac0e(0x163)]){const _0x1a5ffe=constants['HUB_URL_MAP'][_0x2280a9[_0x50ac0e(0x163)]];if(_0x1a5ffe)return constants['hubUrl']=_0x1a5ffe,logger['debug'](_0x50ac0e(0x189)+_0x1a5ffe),globals[_0x50ac0e(0x1a3)](_0x58cff7['TnsVN'],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x1a5ffe['replace'](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x50ac0e(0x194)]()}),_0x58cff7['RXEtV'](_0x9c186);logger[_0x50ac0e(0x1b4)](_0x50ac0e(0x1c0)+_0x2280a9[_0x50ac0e(0x163)]+_0x50ac0e(0x1a0));}Promise[_0x50ac0e(0x181)](this[_0x50ac0e(0x195)](_0x2280a9))[_0x50ac0e(0x161)](_0x423758=>{const _0x4b1f10=_0x50ac0e,_0x17ba6e={'VdOVd':function(_0x1fa7c1,_0x222a6f){return _0xa07f57['Zhgfq'](_0x1fa7c1,_0x222a6f);},'tsANn':function(_0xf769ae,_0x312f04){const _0x276527=a173_0x2787;return _0xa07f57[_0x276527(0x164)](_0xf769ae,_0x312f04);},'ExyUw':_0xa07f57[_0x4b1f10(0x1b6)],'DJkEz':_0xa07f57[_0x4b1f10(0x196)],'VVpnu':function(_0x465bde,_0x515bfd){const _0x3a17ec=_0x4b1f10;return _0xa07f57[_0x3a17ec(0x1c2)](_0x465bde,_0x515bfd);},'QQlKx':_0xa07f57[_0x4b1f10(0x1ba)],'kbFXs':_0xa07f57[_0x4b1f10(0x1b2)],'czFXs':function(_0x2e27b8,_0x50aca5){const _0x463bc5=_0x4b1f10;return _0xa07f57[_0x463bc5(0x164)](_0x2e27b8,_0x50aca5);},'eDvQL':_0xa07f57[_0x4b1f10(0x17b)],'ZvQXC':function(_0x351f64){return _0xa07f57['VSven'](_0x351f64);},'uCrFd':function(_0x1978a0,_0x296c26){const _0x287893=_0x4b1f10;return _0xa07f57[_0x287893(0x190)](_0x1978a0,_0x296c26);}};logger[_0x4b1f10(0x1b4)](_0x4b1f10(0x1c1)+util['format']('%j',_0x423758));if(_0xa07f57[_0x4b1f10(0x15e)](_0x423758,null)||_0xa07f57[_0x4b1f10(0x1ae)](_0x423758[_0x4b1f10(0x176)],0x0))return _0xa07f57[_0x4b1f10(0x187)](_0x9c186);const _0x215719=_0x423758[_0x4b1f10(0x1bf)](_0x235145=>{const _0x179f64=_0x4b1f10,_0x5cf22c=_0x17ba6e[_0x179f64(0x1c3)](_0x17ba6e[_0x179f64(0x174)],_0x235145);return this['findLatency'](_0x2280a9,_0x5cf22c)[_0x179f64(0x161)](_0x287f15=>{const _0x32ec8f=_0x179f64;if(_0x287f15&&_0x287f15[_0x32ec8f(0x185)]&&_0x17ba6e['VdOVd'](_0x287f15['latency'],undefined)){const _0x584324={};return _0x584324[_0x32ec8f(0x185)]=_0x287f15['hubUrl'],_0x584324[_0x32ec8f(0x1aa)]=_0x287f15['latency'],_0x584324['ok']=!![],_0x584324;}const _0x307416={};return _0x307416['hubUrl']=_0x5cf22c,_0x307416['latency']=null,_0x307416['ok']=![],_0x307416;})[_0x179f64(0x19f)](()=>({'hubUrl':_0x5cf22c,'latency':null,'ok':![]}));});Promise[_0x4b1f10(0x165)](_0x215719[_0x4b1f10(0x1bf)](_0x473c31=>_0x473c31[_0x4b1f10(0x161)](_0x22292c=>_0x22292c['ok']?_0x22292c:null)))[_0x4b1f10(0x161)](_0x3de1fd=>{const _0x364888=_0x4b1f10;if(_0x3de1fd)return _0x3de1fd;return Promise[_0x364888(0x1be)](_0x215719)[_0x364888(0x161)](()=>null);})[_0x4b1f10(0x161)](_0xb0fb53=>{const _0x25dbae=_0x4b1f10,_0x19576a={'REaJO':_0x17ba6e[_0x25dbae(0x171)],'yiVnW':function(_0x4104e1,_0x15b480){const _0x1806c5=_0x25dbae;return _0x17ba6e[_0x1806c5(0x1b7)](_0x4104e1,_0x15b480);},'OrYTA':_0x17ba6e['QQlKx']};if(!_0xb0fb53){logger[_0x25dbae(0x1b4)](_0x17ba6e[_0x25dbae(0x1a2)]);const _0x20612e=_0x17ba6e[_0x25dbae(0x170)](_0x17ba6e['ExyUw'],_0x423758[0x0]);return globals[_0x25dbae(0x1a3)](_0x17ba6e[_0x25dbae(0x171)],{'nearestHubs':_0x423758[_0x25dbae(0x1bf)](_0x30262c=>_0x25dbae(0x180)+_0x30262c),'hubLatencies':{},'selectedHub':_0x20612e,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x25dbae(0x194)]()}),constants['hubUrl']=_0x17ba6e[_0x25dbae(0x1c3)](_0x20612e,_0x17ba6e[_0x25dbae(0x197)]),logger[_0x25dbae(0x1b4)](_0x25dbae(0x17c)+_0x20612e),_0x17ba6e[_0x25dbae(0x1ad)](_0x9c186);}const _0x371c82={[_0xb0fb53[_0x25dbae(0x185)]]:_0xb0fb53[_0x25dbae(0x1aa)]},_0x147da7={'nearestHubs':_0x423758[_0x25dbae(0x1bf)](_0x3df865=>_0x25dbae(0x180)+_0x3df865),'hubLatencies':_0x371c82,'selectedHub':_0xb0fb53[_0x25dbae(0x185)],'selectedHubLatency':_0xb0fb53[_0x25dbae(0x1aa)],'timestamp':Date[_0x25dbae(0x194)]()};globals[_0x25dbae(0x1a3)](_0x17ba6e['DJkEz'],_0x147da7),constants[_0x25dbae(0x185)]=_0x17ba6e[_0x25dbae(0x186)](_0xb0fb53['hubUrl'],_0x17ba6e[_0x25dbae(0x197)]),logger[_0x25dbae(0x1b4)]('HUB\x20URL\x20SET\x20TO\x20-\x20'+_0xb0fb53[_0x25dbae(0x185)]),_0x17ba6e[_0x25dbae(0x1ad)](_0x9c186),Promise[_0x25dbae(0x191)](_0x215719)[_0x25dbae(0x161)](_0xe97547=>{const _0x9d5b01=_0x25dbae;try{const _0x2ae110=globals['getGlobal'](_0x19576a['REaJO']);if(!_0x2ae110||_0x2ae110[_0x9d5b01(0x179)])return;const _0x5bba34={};for(const _0x31b2dc of _0xe97547){_0x19576a[_0x9d5b01(0x1ab)](_0x31b2dc[_0x9d5b01(0x1a6)],_0x19576a[_0x9d5b01(0x1a9)])&&_0x31b2dc[_0x9d5b01(0x184)]&&_0x31b2dc[_0x9d5b01(0x184)]['ok']&&(_0x5bba34[_0x31b2dc[_0x9d5b01(0x184)][_0x9d5b01(0x185)]]=_0x31b2dc['value'][_0x9d5b01(0x1aa)]);}_0x2ae110[_0x9d5b01(0x1b3)]=_0x5bba34;}catch(_0x41125e){logger['debug']('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0x41125e);}})[_0x25dbae(0x19f)](_0x38dc42=>{const _0x32062f=_0x25dbae;logger[_0x32062f(0x1b4)](_0x32062f(0x18d)+_0x38dc42);});})[_0x4b1f10(0x19f)](_0x50bf1d=>{const _0x37fecd=_0x4b1f10;logger['debug'](_0x37fecd(0x1bb)+_0x50bf1d),_0x17ba6e['ZvQXC'](_0x9c186);});})[_0x50ac0e(0x19f)](_0x5ba900=>{const _0x14e712=_0x50ac0e;logger['debug'](_0x14e712(0x1bc)+_0x5ba900),_0xa07f57['VSven'](_0x9c186);});});},exports['findLatency']=async(_0x29d938,_0x221674)=>{const _0x3dfe7f=a173_0x306ba3,_0x3967f={};_0x3967f[_0x3dfe7f(0x1bd)]=_0x3dfe7f(0x192),_0x3967f[_0x3dfe7f(0x16e)]='check',_0x3967f[_0x3dfe7f(0x19b)]=function(_0x5216d8,_0x324ba4){return _0x5216d8-_0x324ba4;};const _0x3813ed=_0x3967f;try{const _0x32e485=new Date();await helper[_0x3dfe7f(0x17d)](_0x3813ed[_0x3dfe7f(0x1bd)],_0x3813ed[_0x3dfe7f(0x16e)],{},_0x29d938,_0x221674,0x1388);const _0x15bfe0=_0x3813ed[_0x3dfe7f(0x19b)](new Date(),_0x32e485);logger[_0x3dfe7f(0x1b4)](_0x3dfe7f(0x1b9)+_0x221674+_0x3dfe7f(0x160)+_0x15bfe0+'ms');const _0xda0929={};return _0xda0929['hubUrl']=_0x221674,_0xda0929['latency']=_0x15bfe0,_0xda0929;}catch(_0x1f624f){return logger[_0x3dfe7f(0x1b4)](_0x3dfe7f(0x1b5)+_0x221674+_0x3dfe7f(0x16d)+_0x1f624f),{};}},exports[a173_0x306ba3(0x195)]=async _0xff5b76=>{const _0x32ca1c=a173_0x306ba3,_0x48265e={'LhOJE':function(_0x5df7df,_0x1f7ded){return _0x5df7df(_0x1f7ded);},'WHHwV':'./bin/utils/constants','RLfym':'/wd/hub','cmwFI':_0x32ca1c(0x192),'niYRA':'next_hubs'};try{const _0x2da8ee=_0x48265e[_0x32ca1c(0x1a8)](require,_0x48265e[_0x32ca1c(0x1a4)])[_0x32ca1c(0x185)][_0x32ca1c(0x19a)](_0x48265e[_0x32ca1c(0x178)],''),_0x32128a=await helper[_0x32ca1c(0x17d)](_0x48265e['cmwFI'],_0x48265e[_0x32ca1c(0x1c6)],{},_0xff5b76,_0x2da8ee,0x1388),_0x39139e=_0x32128a[_0x32ca1c(0x173)];return logger[_0x32ca1c(0x1b4)]('Response:\x20'+util['format']('%j',_0x39139e)),_0x39139e['hubs'];}catch(_0x2e5604){logger[_0x32ca1c(0x1b4)](_0x32ca1c(0x193)+_0x2e5604);}return null;};function a173_0x4cb6(){const _0x6ea765=['NEAREST\x20HUBS\x20LIST:\x20','sHTsD','tsANn','allocateHub','5363622RqGICx','niYRA','tIjMO','HGobb','path','\x20is:\x20','then','./helpers/helper','hubRegion','cofpu','race','delete','1XsbxXx','jBgut','updateHubUrl','TFrra','hash','search','\x20HUB\x20-\x20','rLton','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','czFXs','DJkEz','./helpers/logger','data','ExyUw','1584402zYSKfT','length','hostname','RLfym','skipped','getRequestOptions','Svpxj','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','nodeRequest','5890410NpgSou','5524165rRWSEi','https://','resolve','EfkoD','566562TMiRAo','value','hubUrl','uCrFd','AeGiU','./helpers/globals','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','pathname','2884mKbHbG','consumeHubUrlForSession','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','fulfilled','tadWz','OxKmv','allSettled','GET','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','now','nextHubs','XQjRZ','eDvQL','2286468LTQmyZ','./bin/utils/constants','replace','qGLeP','KqGLc','bxyoQ','winstonLogger','catch','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','TnsVN','kbFXs','setGlobal','WHHwV','KpudR','status','Invalid\x20new\x20HUB\x20URL:\x20','LhOJE','OrYTA','latency','yiVnW','JbZep','ZvQXC','mlUWf','24088DPJmIJ','newHubUrlBySession','RvxuQ','jMnZZ','hubLatencies','debug','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','QOfBs','VVpnu','8YNYnQc','Execution\x20time\x20for\x20','EABTE','ERROR\x20in\x20hub\x20selection:\x20','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','VRhOq','all','map','hubRegion\x20'];a173_0x4cb6=function(){return _0x6ea765;};return a173_0x4cb6();}
|