browserstack-node-sdk 1.65.3 → 1.65.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a171_0x195845=a171_0x33ef;(function(_0x1d3cdd,_0x3caafb){const _0x32f009=a171_0x33ef,_0x348a39=_0x1d3cdd();while(!![]){try{const _0x313fda=parseInt(_0x32f009(0x1b1))/0x1+-parseInt(_0x32f009(0x1e3))/0x2+parseInt(_0x32f009(0x1e2))/0x3+-parseInt(_0x32f009(0x19b))/0x4+parseInt(_0x32f009(0x1b7))/0x5+parseInt(_0x32f009(0x220))/0x6*(-parseInt(_0x32f009(0x18e))/0x7)+-parseInt(_0x32f009(0x1ae))/0x8;if(_0x313fda===_0x3caafb)break;else _0x348a39['push'](_0x348a39['shift']());}catch(_0x3c3cfe){_0x348a39['push'](_0x348a39['shift']());}}}(a171_0x17bc,0x63136));const bsSetupHelper=require(a171_0x195845(0x199)),LoadTestModule=require(a171_0x195845(0x202)),{isTestObservabilitySession,getFrameworkVersion}=require(a171_0x195845(0x22d)),accessibilityHelper=require(a171_0x195845(0x231)),logger=require(a171_0x195845(0x20d))[a171_0x195845(0x233)],{nestedKeyValue}=require(a171_0x195845(0x204)),scripts=require('../accessibility-automation/scripts.js'),globals=require('../globals.js'),testHubConstants=require(a171_0x195845(0x175)),PWTestDetails=require(a171_0x195845(0x243)),JestTestDetails=require(a171_0x195845(0x21d)),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require(a171_0x195845(0x190)),OrchestrationUtils=require(a171_0x195845(0x1f5)),constants=require(a171_0x195845(0x1d5));let testData={};exports[a171_0x195845(0x195)]=_0xea1211=>{const _0x265a6a=a171_0x195845,_0x34018d={'yoJJi':function(_0x2c795a){return _0x2c795a();},'EHOmO':function(_0x2493f6,_0x3b5b3c){return _0x2493f6===_0x3b5b3c;},'hOnBA':_0x265a6a(0x1c9)};let _0x3d8c9e=![],_0x409e1f=![];if(bsSetupHelper[_0x265a6a(0x17d)]()&&bsSetupHelper[_0x265a6a(0x1de)](_0xea1211))_0x409e1f=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x3d8c9e=!![]);return Object[_0x265a6a(0x1fb)]({'observability':_0x34018d[_0x265a6a(0x207)](isTestObservabilitySession),'accessibility':exports[_0x265a6a(0x1f8)](_0xea1211),'percy':_0xea1211[_0x265a6a(0x1ef)]||![],'sr_automation':_0x34018d['EHOmO'](process[_0x265a6a(0x219)]['BROWSERSTACK_SR_AUTOMATION'],_0x34018d[_0x265a6a(0x208)])||_0xea1211[_0x265a6a(0x213)]||![],'automate':_0x3d8c9e,'app_automate':_0x409e1f,'turboscale':bsSetupHelper[_0x265a6a(0x237)](_0xea1211),'lts':LoadTestModule[_0x265a6a(0x1ac)](_0xea1211)},bsSetupHelper[_0x265a6a(0x23d)]());},exports[a171_0x195845(0x1d7)]=(_0x5f2b70,_0x16bf6c)=>{const _0x279784=a171_0x195845,_0x2c9a30={'vPuYt':function(_0x5de856,_0x5d32d6){return _0x5de856(_0x5d32d6);},'azLmt':'javascript'},_0x3f5596={'frameworkName':_0x16bf6c,'frameworkVersion':_0x2c9a30[_0x279784(0x1f4)](getFrameworkVersion,_0x16bf6c),'sdkVersion':bsSetupHelper[_0x279784(0x1f2)](),'language':_0x2c9a30['azLmt'],'testFramework':bsSetupHelper[_0x279784(0x1bc)](_0x5f2b70,_0x16bf6c)};return process[_0x279784(0x219)][_0x279784(0x1c1)]=JSON[_0x279784(0x206)](_0x3f5596),_0x3f5596;},exports[a171_0x195845(0x1fd)]=_0x5d4635=>{const _0x5e145b=a171_0x195845,_0xa2a751={};_0xa2a751[_0x5e145b(0x1ca)]=_0x5e145b(0x19c),_0xa2a751['ONhFD']=_0x5e145b(0x1c9);const _0xf46c80=_0xa2a751;process[_0x5e145b(0x219)][_0x5e145b(0x210)]=_0xf46c80[_0x5e145b(0x1ca)],bsSetupHelper[_0x5e145b(0x1d4)](_0x5d4635[_0x5e145b(0x18b)][_0x5e145b(0x1ef)])&&(!_0x5d4635[_0x5e145b(0x1ef)]||!_0x5d4635[_0x5e145b(0x1ef)]['isRunning']())&&(process[_0x5e145b(0x219)][_0x5e145b(0x210)]=_0xf46c80[_0x5e145b(0x227)]);},exports[a171_0x195845(0x17a)]=()=>{const _0x523931=a171_0x195845;return bsSetupHelper['isTrue'](process[_0x523931(0x219)][_0x523931(0x210)]);},exports['isAccessibilityEnabled']=(_0x23b211={})=>{const _0x25da33=a171_0x195845,_0x7f49b={};_0x7f49b[_0x25da33(0x1ee)]=function(_0x5d358b,_0x2df8e4){return _0x5d358b!==_0x2df8e4;},_0x7f49b[_0x25da33(0x1f6)]=function(_0x5698b1,_0x1bbce5){return _0x5698b1===_0x1bbce5;},_0x7f49b[_0x25da33(0x1fe)]=_0x25da33(0x1c9),_0x7f49b[_0x25da33(0x1d6)]=function(_0x4a39d8,_0x5422ad){return _0x4a39d8>_0x5422ad;},_0x7f49b[_0x25da33(0x226)]=function(_0x348771,_0x454bcb){return _0x348771===_0x454bcb;};const _0x1b9c3e=_0x7f49b;if(_0x1b9c3e[_0x25da33(0x1ee)](process['env'][_0x25da33(0x214)],undefined))return bsSetupHelper[_0x25da33(0x1d4)](process['env'][_0x25da33(0x214)]);let _0x31e163=_0x1b9c3e[_0x25da33(0x1f6)](process[_0x25da33(0x219)][_0x25da33(0x1cd)],_0x1b9c3e['ROftE']);return _0x1b9c3e['idgKL'](Object[_0x25da33(0x1d3)](_0x23b211)[_0x25da33(0x218)],0x0)&&(process[_0x25da33(0x219)][_0x25da33(0x19e)]=accessibilityHelper[_0x25da33(0x1ba)](_0x23b211)),_0x31e163=_0x31e163||_0x1b9c3e[_0x25da33(0x226)](process[_0x25da33(0x219)][_0x25da33(0x19e)],_0x1b9c3e['ROftE']),_0x31e163;},exports[a171_0x195845(0x1d1)]=(_0x5d21ac,_0x3daa82)=>{const _0x597985=a171_0x195845,_0x446d60={'Dagny':function(_0x13c362){return _0x13c362();},'imJEA':_0x597985(0x21c),'bAOtS':function(_0x21a877,_0x142ba4,_0x203791){return _0x21a877(_0x142ba4,_0x203791);},'rYMBQ':_0x597985(0x1ad),'otwuB':_0x597985(0x24f),'dTYVW':_0x597985(0x1c9)};if(!_0x5d21ac||!_0x5d21ac[_0x597985(0x1ad)])return exports[_0x597985(0x1fa)](),[null,null,null];if(!_0x5d21ac[_0x597985(0x1ad)][_0x597985(0x1c3)])return exports[_0x597985(0x1fa)](_0x5d21ac[_0x597985(0x1ad)]),[null,null,null];if(_0x446d60[_0x597985(0x244)](isTestObservabilitySession)){const _0x5efd95=_0x446d60['imJEA'][_0x597985(0x1d9)]('|');let _0x1750a4=0x0;while(!![]){switch(_0x5efd95[_0x1750a4++]){case'0':_0x5d21ac[_0x597985(0x1c0)]&&(process[_0x597985(0x219)][_0x597985(0x1b3)]=_0x5d21ac[_0x597985(0x1c0)]);continue;case'1':_0x446d60[_0x597985(0x1b6)](nestedKeyValue,_0x5d21ac,[_0x446d60[_0x597985(0x18a)],_0x446d60[_0x597985(0x20e)]])&&(process[_0x597985(0x219)][_0x597985(0x20f)]=_0x5d21ac[_0x597985(0x1ad)][_0x597985(0x24f)][_0x597985(0x224)]['toString']());continue;case'2':if(_0x5d21ac[_0x597985(0x236)]){process[_0x597985(0x219)][_0x597985(0x1ab)]=_0x5d21ac[_0x597985(0x236)];const _0x413d0b={};_0x413d0b[_0x597985(0x1c8)]=_0x3daa82['username'],_0x413d0b['password']=_0x3daa82[_0x597985(0x191)],process[_0x597985(0x219)][_0x597985(0x1eb)]=JSON['stringify'](_0x413d0b);}continue;case'3':logger[_0x597985(0x1ce)]('['+constants[_0x597985(0x1af)]+_0x597985(0x21b)+_0x5d21ac[_0x597985(0x1c0)]);continue;case'4':return[_0x5d21ac['jwt'],_0x5d21ac[_0x597985(0x1c0)],process[_0x597985(0x219)][_0x597985(0x20f)]];case'5':process['env']['BS_TESTOPS_BUILD_COMPLETED']=_0x446d60[_0x597985(0x1f3)];continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x278e94=>{const _0x384ab2=a171_0x195845,_0x25b9fc={'SCMCy':function(_0x17aa97,_0x7454e9,_0x267952){return _0x17aa97(_0x7454e9,_0x267952);},'JAYtJ':_0x384ab2(0x182),'oZmcG':_0x384ab2(0x24f),'EHxJg':function(_0x175a19,_0x333d1a,_0x4b1413,_0x5ee77b){return _0x175a19(_0x333d1a,_0x4b1413,_0x5ee77b);},'xtGcX':_0x384ab2(0x229),'gwzoO':_0x384ab2(0x1e4),'AUwYk':function(_0x32aa1c,_0x48299c,_0xd767f,_0x2a4aa6){return _0x32aa1c(_0x48299c,_0xd767f,_0x2a4aa6);},'glJra':_0x384ab2(0x221),'ESMxw':_0x384ab2(0x1e1),'vlGdw':function(_0x3b6e0b,_0x99b88c,_0x21cf2d,_0x23a003){return _0x3b6e0b(_0x99b88c,_0x21cf2d,_0x23a003);},'OEKhN':_0x384ab2(0x230),'yJTDq':_0x384ab2(0x22e),'kHVZl':function(_0x2300c1,_0x439d53){return _0x2300c1(_0x439d53);},'NCfiZ':function(_0x482eca,_0x2783f5){return _0x482eca===_0x2783f5;},'vuNZC':function(_0x65757d,_0x2646dc){return _0x65757d===_0x2646dc;},'vOICj':'true','KDzkh':'[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override'};if(!_0x278e94['accessibility'])return exports[_0x384ab2(0x1cb)](),[null,null];if(!_0x278e94[_0x384ab2(0x182)][_0x384ab2(0x1c3)])return exports[_0x384ab2(0x1cb)](_0x278e94[_0x384ab2(0x182)]),[null,null];if(_0x25b9fc[_0x384ab2(0x1e6)](nestedKeyValue,_0x278e94,[_0x25b9fc['JAYtJ'],_0x25b9fc['oZmcG']])){const {accessibilityToken:_0x5e72a6,scannerVersion:_0x3a9d9d,scannerProcessingTimeout:_0x4f10d1,isMobileScanningEnabledForGroup:_0x5c6733}=_0x25b9fc[_0x384ab2(0x1a6)](jsonifyAccessibilityArray,_0x278e94[_0x384ab2(0x182)]['options'][_0x384ab2(0x245)],_0x25b9fc[_0x384ab2(0x23b)],_0x25b9fc[_0x384ab2(0x251)]),_0x233a97={'scripts':_0x25b9fc[_0x384ab2(0x1c7)](jsonifyAccessibilityArray,_0x278e94[_0x384ab2(0x182)][_0x384ab2(0x24f)][_0x384ab2(0x240)],_0x25b9fc['xtGcX'],_0x25b9fc[_0x384ab2(0x1d2)])};_0x233a97[_0x25b9fc[_0x384ab2(0x1e8)]]=_0x278e94[_0x384ab2(0x182)][_0x384ab2(0x24f)][_0x384ab2(0x1c4)][_0x384ab2(0x1e1)];const _0x26eca2=_0x25b9fc['vlGdw'](jsonifyAccessibilityArray,_0x278e94[_0x384ab2(0x182)][_0x384ab2(0x24f)]['capabilities'],_0x25b9fc[_0x384ab2(0x23b)],_0x25b9fc[_0x384ab2(0x251)]);_0x233a97[_0x25b9fc[_0x384ab2(0x209)]]=_0x26eca2[_0x25b9fc[_0x384ab2(0x185)]],scripts[_0x384ab2(0x22a)](_0x233a97),scripts[_0x384ab2(0x215)]();let _0x48a7d6=process[_0x384ab2(0x219)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];_0x48a7d6=!!_0x48a7d6?JSON[_0x384ab2(0x1e9)](_0x48a7d6):{},_0x48a7d6[_0x384ab2(0x192)]=_0x3a9d9d,process[_0x384ab2(0x219)][_0x384ab2(0x1c5)]=JSON['stringify'](_0x48a7d6),process[_0x384ab2(0x219)][_0x384ab2(0x23a)]=_0x5e72a6,process[_0x384ab2(0x219)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x25b9fc[_0x384ab2(0x19f)](String,_0x25b9fc['NCfiZ'](_0x5c6733,!![])||_0x25b9fc[_0x384ab2(0x1f0)](_0x5c6733,_0x25b9fc['vOICj'])),logger[_0x384ab2(0x1ce)]('[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x278e94['build_hashed_id']);const _0x2e5480=accessibilityHelper[_0x384ab2(0x176)](_0x5e72a6);return _0x2e5480&&bsSetupHelper['isTrue'](_0x2e5480[_0x384ab2(0x1e7)])&&(process['env']['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger['debug'](_0x25b9fc[_0x384ab2(0x250)])),[_0x5e72a6,_0x278e94[_0x384ab2(0x1c0)],_0x4f10d1];}return[null,null];},exports[a171_0x195845(0x1fa)]=_0x49a214=>{const _0x24d1fe=a171_0x195845,_0x372bf7={};_0x372bf7[_0x24d1fe(0x194)]=_0x24d1fe(0x1a5),_0x372bf7[_0x24d1fe(0x1cc)]=_0x24d1fe(0x1a7),_0x372bf7[_0x24d1fe(0x1c6)]='false';const _0x1936d3=_0x372bf7,_0x30f71d=_0x1936d3[_0x24d1fe(0x194)][_0x24d1fe(0x1d9)]('|');let _0x4c5fa4=0x0;while(!![]){switch(_0x30f71d[_0x4c5fa4++]){case'0':process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x1936d3[_0x24d1fe(0x1cc)];continue;case'1':process[_0x24d1fe(0x219)][_0x24d1fe(0x21e)]=_0x1936d3['sGGzZ'];continue;case'2':exports[_0x24d1fe(0x24d)](_0x49a214,testHubConstants[_0x24d1fe(0x222)]);continue;case'3':process[_0x24d1fe(0x219)][_0x24d1fe(0x19a)]=_0x1936d3[_0x24d1fe(0x1cc)];continue;case'4':process[_0x24d1fe(0x219)][_0x24d1fe(0x1e5)]=_0x1936d3['MOWGI'];continue;case'5':process[_0x24d1fe(0x219)][_0x24d1fe(0x1ab)]=_0x1936d3[_0x24d1fe(0x1cc)];continue;case'6':process[_0x24d1fe(0x219)][_0x24d1fe(0x1b3)]=_0x1936d3[_0x24d1fe(0x1cc)];continue;}break;}},exports[a171_0x195845(0x1cb)]=_0x4484ec=>{const _0x2244eb=a171_0x195845,_0x50cef9={};_0x50cef9[_0x2244eb(0x1ff)]=_0x2244eb(0x212),_0x50cef9[_0x2244eb(0x200)]='false',_0x50cef9[_0x2244eb(0x232)]=_0x2244eb(0x1a7);const _0x3ddcb0=_0x50cef9,_0x1bb10e=_0x3ddcb0[_0x2244eb(0x1ff)][_0x2244eb(0x1d9)]('|');let _0xa45f21=0x0;while(!![]){switch(_0x1bb10e[_0xa45f21++]){case'0':process[_0x2244eb(0x219)][_0x2244eb(0x19e)]=_0x3ddcb0['PjwVI'];continue;case'1':process['env'][_0x2244eb(0x1cd)]=_0x3ddcb0[_0x2244eb(0x200)];continue;case'2':exports[_0x2244eb(0x24d)](_0x4484ec,testHubConstants[_0x2244eb(0x1f7)]);continue;case'3':process[_0x2244eb(0x219)]['BROWSERSTACK_TESTHUB_UUID']=_0x3ddcb0[_0x2244eb(0x232)];continue;case'4':process[_0x2244eb(0x219)][_0x2244eb(0x21e)]=_0x3ddcb0[_0x2244eb(0x232)];continue;}break;}},exports[a171_0x195845(0x24d)]=(_0x4b9fea,_0x1420c2='')=>{const _0x297559=a171_0x195845,_0x42ac41={};_0x42ac41[_0x297559(0x21a)]=function(_0x438f3b,_0x10b022){return _0x438f3b===_0x10b022;};const _0x238ef0=_0x42ac41;if(_0x238ef0[_0x297559(0x21a)](_0x4b9fea,undefined)){logger[_0x297559(0x178)](_0x1420c2[_0x297559(0x234)]()+'\x20Build\x20creation\x20failed');return;}for(const _0x3222dc of _0x4b9fea[_0x297559(0x249)]){const _0x456f5b=_0x3222dc['key'],_0x54aa07=_0x3222dc[_0x297559(0x193)];if(_0x54aa07)switch(_0x456f5b){case testHubConstants['ERROR'][_0x297559(0x23c)]:logger[_0x297559(0x178)](_0x54aa07);break;case testHubConstants[_0x297559(0x20c)][_0x297559(0x1c2)]:logger[_0x297559(0x216)](_0x54aa07);break;case testHubConstants[_0x297559(0x20c)][_0x297559(0x22b)]:logger[_0x297559(0x178)](_0x54aa07);break;default:logger['error'](_0x54aa07);}}};function a171_0x33ef(_0x3e6055,_0x1639a0){const _0x17bc2e=a171_0x17bc();return a171_0x33ef=function(_0x33ef3c,_0xba1101){_0x33ef3c=_0x33ef3c-0x175;let _0x4c261a=_0x17bc2e[_0x33ef3c];return _0x4c261a;},a171_0x33ef(_0x3e6055,_0x1639a0);}const jsonifyAccessibilityArray=(_0x3a3588,_0x9f64ee,_0x319bce)=>{const _0x4ddfb6=a171_0x195845,_0x40a574={};return _0x3a3588[_0x4ddfb6(0x189)](_0x46bc39=>{_0x40a574[_0x46bc39[_0x9f64ee]]=_0x46bc39[_0x319bce];}),_0x40a574;};exports['setTestHubCommonMetaInfo']=_0x2c41bd=>{const _0x1a6ced=a171_0x195845;_0x2c41bd[_0x1a6ced(0x236)]&&(process[_0x1a6ced(0x219)]['BROWSERSTACK_TESTHUB_JWT']=_0x2c41bd[_0x1a6ced(0x236)]);_0x2c41bd[_0x1a6ced(0x1c0)]&&(process[_0x1a6ced(0x219)][_0x1a6ced(0x19a)]=_0x2c41bd[_0x1a6ced(0x1c0)],logger['debug'](_0x1a6ced(0x1b8)+_0x2c41bd[_0x1a6ced(0x1c0)]));;},exports[a171_0x195845(0x225)]=(_0x4791dc='',_0x15db99='')=>{const _0x5b76cc=a171_0x195845,_0x2ba2fa={'lJPkX':function(_0x4c9ef8){return _0x4c9ef8();},'VcUnF':function(_0x48968a,_0x5b5dff){return _0x48968a===_0x5b5dff;},'tXSxb':_0x5b76cc(0x20b),'KnHCb':_0x5b76cc(0x197),'MBWsS':_0x5b76cc(0x177),'oaKXd':_0x5b76cc(0x248),'FwpXe':'HookRunFinished'};if(exports[_0x5b76cc(0x17a)]()&&!exports[_0x5b76cc(0x1f8)]()&&!_0x2ba2fa[_0x5b76cc(0x1ea)](isTestObservabilitySession)){if(_0x2ba2fa[_0x5b76cc(0x188)](_0x15db99,_0x2ba2fa['tXSxb']))return![];if([_0x2ba2fa[_0x5b76cc(0x183)],_0x2ba2fa[_0x5b76cc(0x17f)]]['includes'](_0x4791dc))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0x2ba2fa[_0x5b76cc(0x1ea)](isTestObservabilitySession)){if([_0x2ba2fa[_0x5b76cc(0x1fc)],_0x2ba2fa['FwpXe'],_0x2ba2fa[_0x5b76cc(0x183)]]['includes'](_0x4791dc))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x2ba2fa['lJPkX'](isTestObservabilitySession)||exports[_0x5b76cc(0x17a)]();},exports[a171_0x195845(0x242)]=(_0x56509f,_0x366014,_0x3e02d5='',_0x58aa76)=>{const _0x336914=a171_0x195845,_0x4ebe3a={'IwHMt':_0x336914(0x248),'LQXwQ':'HookRunFinished','kJywb':function(_0x423d95,_0x154498){return _0x423d95===_0x154498;},'OLDJf':_0x336914(0x18d),'scgIv':_0x336914(0x203),'ULofI':_0x336914(0x182),'YtIPe':function(_0xe86f68,_0x1011c9){return _0xe86f68&&_0x1011c9;},'cjRaT':function(_0x1f6e0d,_0x3b68a8){return _0x1f6e0d===_0x3b68a8;},'NkZXs':function(_0x31169d,_0x1fb534){return _0x31169d+_0x1fb534;},'rUyzW':function(_0x3b02d6,_0x500488){return _0x3b02d6&&_0x500488;},'Swplw':function(_0x70d7b6,_0x2820e2){return _0x70d7b6(_0x2820e2);},'FokMd':_0x336914(0x201),'DTubQ':function(_0x4beb67,_0xc7f95c){return _0x4beb67===_0xc7f95c;},'vSZOF':function(_0x242a14,_0xb32e67){return _0x242a14===_0xb32e67;},'DkhBQ':_0x336914(0x1a0),'gQyhJ':function(_0x47348a,_0x39c81c){return _0x47348a===_0x39c81c;},'wdyBX':function(_0x2567e4,_0x2aab90){return _0x2567e4&&_0x2aab90;},'oyEqr':function(_0x4ea7b0,_0x3c8312){return _0x4ea7b0&&_0x3c8312;},'silys':_0x336914(0x1dc)};if(![_0x4ebe3a[_0x336914(0x1bb)],_0x4ebe3a[_0x336914(0x24a)]][_0x336914(0x1e0)](_0x366014)&&exports[_0x336914(0x1f8)]()){const _0x530c60={};if(_0x4ebe3a[_0x336914(0x23e)](_0x58aa76,FRAMEWORKS[_0x336914(0x186)])){const _0x575d2f=globals[_0x336914(0x180)](_0x4ebe3a[_0x336914(0x24e)])||accessibilityHelper[_0x336914(0x1d8)](_0x3e02d5[_0x336914(0x17e)](),!![]),_0x50e21b=globals[_0x336914(0x180)](_0x4ebe3a[_0x336914(0x239)]);_0x530c60[_0x4ebe3a[_0x336914(0x1be)]]=_0x4ebe3a[_0x336914(0x223)](_0x50e21b,_0x575d2f);}if(_0x4ebe3a['cjRaT'](_0x58aa76,FRAMEWORKS[_0x336914(0x1aa)])){const _0x2dbaa3=_0x4ebe3a[_0x336914(0x24c)](_0x4ebe3a[_0x336914(0x24c)](_0x56509f['scopes'][_0x336914(0x1a9)]('\x20'),'\x20'),_0x3e02d5[_0x336914(0x229)]),_0x18ee92=globals['getGlobal'](_0x4ebe3a[_0x336914(0x24e)])||accessibilityHelper[_0x336914(0x1d8)](_0x2dbaa3,![]),_0x3ec89f=browserStackGlobals[_0x336914(0x203)];_0x530c60[_0x4ebe3a[_0x336914(0x1be)]]=_0x4ebe3a[_0x336914(0x238)](_0x3ec89f,_0x18ee92);}if(_0x4ebe3a[_0x336914(0x23e)](_0x58aa76,FRAMEWORKS[_0x336914(0x1da)])){const _0x58d01a=_0x4ebe3a[_0x336914(0x1dd)](require,_0x4ebe3a[_0x336914(0x1bd)]),_0x571daa=_0x3e02d5&&_0x58d01a['get'](_0x3e02d5['id'])||_0x56509f[_0x336914(0x21f)];_0x571daa&&(_0x56509f['uuid']=_0x571daa);const _0x1af66a=_0x4ebe3a[_0x336914(0x24c)](_0x4ebe3a[_0x336914(0x24c)](_0x56509f[_0x336914(0x1b0)][_0x336914(0x1a9)]('\x20'),'\x20'),_0x3e02d5[_0x336914(0x1bf)]||_0x56509f[_0x336914(0x229)]),_0x52ecbc=globals['getGlobal'](_0x4ebe3a[_0x336914(0x24e)])||accessibilityHelper[_0x336914(0x1d8)](_0x1af66a,![]),_0x28ef78=globals[_0x336914(0x180)](_0x4ebe3a[_0x336914(0x239)]);_0x530c60[_0x4ebe3a[_0x336914(0x1be)]]=_0x4ebe3a[_0x336914(0x223)](_0x28ef78,_0x52ecbc);}if(_0x4ebe3a[_0x336914(0x1b4)](_0x58aa76,FRAMEWORKS[_0x336914(0x1df)])){if(_0x4ebe3a[_0x336914(0x217)](_0x366014,_0x4ebe3a[_0x336914(0x1b2)]))return;_0x530c60[_0x4ebe3a['ULofI']]=PWTestDetails[_0x336914(0x1ec)](_0x56509f[_0x336914(0x21f)]);}if(_0x4ebe3a[_0x336914(0x198)](_0x58aa76,FRAMEWORKS[_0x336914(0x1a3)])){const _0x49c9aa=accessibilityHelper['shouldScanTestForAccessibility'](_0x3e02d5[_0x336914(0x17e)](),!![]),_0x3c0f77=global[_0x336914(0x241)];_0x530c60[_0x4ebe3a[_0x336914(0x1be)]]=_0x4ebe3a['wdyBX'](_0x3c0f77,_0x49c9aa);}if(_0x4ebe3a['cjRaT'](_0x58aa76,FRAMEWORKS['CUCUMBER'])){const _0x2cbd84=accessibilityHelper[_0x336914(0x1d8)](null,![],_0x56509f[_0x336914(0x1ed)]),_0x38d921=globals[_0x336914(0x180)](_0x4ebe3a['scgIv']);_0x530c60[_0x4ebe3a[_0x336914(0x1be)]]=_0x4ebe3a[_0x336914(0x22f)](_0x38d921,_0x2cbd84);}_0x56509f[_0x4ebe3a['silys']]=_0x530c60;}},exports[a171_0x195845(0x1d0)]=_0x3128f7=>{const _0x120549=a171_0x195845,_0x46ca3e={};_0x46ca3e['ArEkj']=function(_0x1fa7eb,_0xfe4b7a){return _0x1fa7eb>_0xfe4b7a;};const _0x328f3f=_0x46ca3e;let _0xf4b2d6={};if(_0x328f3f[_0x120549(0x17b)](Object[_0x120549(0x1d3)](testData)['length'],0x0))return testData;_0xf4b2d6=JestTestDetails[_0x120549(0x1a8)]();if(_0x328f3f[_0x120549(0x17b)](Object[_0x120549(0x1d3)](_0xf4b2d6)[_0x120549(0x218)],0x0))return _0xf4b2d6;return _0xf4b2d6;},exports['setCurrentTestData']=(_0x351e3f,_0xa0854d={})=>{const _0x1d9b32=a171_0x195845;if(bsSetupHelper['isUndefined'](_0xa0854d[_0x1d9b32(0x187)]))return;switch(_0x351e3f){case FRAMEWORKS[_0x1d9b32(0x186)]:testData=_0xa0854d[_0x1d9b32(0x187)];break;case FRAMEWORKS[_0x1d9b32(0x1aa)]:JestTestDetails[_0x1d9b32(0x1f9)](_0xa0854d[_0x1d9b32(0x187)]);break;case FRAMEWORKS[_0x1d9b32(0x1da)]:testData=_0xa0854d[_0x1d9b32(0x187)];break;default:break;}},exports[a171_0x195845(0x24b)]=_0x4a2915=>{const _0x2418a2=a171_0x195845,_0x4ef288={};_0x4ef288[_0x2418a2(0x1db)]=function(_0x3b12a1,_0x45ccf7){return _0x3b12a1!==_0x45ccf7;},_0x4ef288[_0x2418a2(0x22c)]=function(_0x5b8ba0,_0x2125e2){return _0x5b8ba0!==_0x2125e2;};const _0x26676d=_0x4ef288;if(_0x26676d[_0x2418a2(0x1db)](_0x4a2915[_0x2418a2(0x182)],null)&&_0x26676d['fowwn'](_0x4a2915['accessibility'],undefined))return _0x4a2915[_0x2418a2(0x182)];let _0x596947=![],_0x2ab1b1=![];if(_0x4a2915[_0x2418a2(0x1a2)])for(const _0x117689 of _0x4a2915[_0x2418a2(0x1a2)]){_0x26676d[_0x2418a2(0x1db)](_0x117689[_0x2418a2(0x182)],null)&&_0x26676d[_0x2418a2(0x22c)](_0x117689[_0x2418a2(0x182)],undefined)&&(_0x596947=_0x596947||bsSetupHelper['isTrue'](_0x117689['accessibility']),_0x2ab1b1=!![]);}if(_0x2ab1b1)return _0x596947;return null;},exports[a171_0x195845(0x196)]=_0x1a4a31=>{const _0x5607e6=a171_0x195845;if(!_0x1a4a31)return{};const _0x55520d=new OrchestrationUtils(_0x1a4a31);return _0x55520d[_0x5607e6(0x19d)]();},exports[a171_0x195845(0x23f)]=_0x4cea91=>{const _0xcaff55=a171_0x195845,_0x48a1d5={'BHVlr':function(_0x472d53){return _0x472d53();},'kmfId':function(_0x1bd776,_0x3999b2){return _0x1bd776===_0x3999b2;},'VsahB':_0xcaff55(0x1c9)};let _0x2cc747=![],_0x501a17=![];if(bsSetupHelper[_0xcaff55(0x17d)]()&&bsSetupHelper['isAppAutomateSession'](_0x4cea91))_0x501a17=!![];else bsSetupHelper[_0xcaff55(0x17d)]()&&(_0x2cc747=!![]);return Object[_0xcaff55(0x1fb)]({'observability':_0x48a1d5[_0xcaff55(0x205)](isTestObservabilitySession),'accessibility':exports['getAccessibilityValueFromYml'](_0x4cea91),'percy':_0x4cea91['percy']||![],'sr_automation':_0x48a1d5[_0xcaff55(0x228)](process['env'][_0xcaff55(0x18c)],_0x48a1d5['VsahB'])||_0x4cea91[_0xcaff55(0x213)]||![],'automate':_0x2cc747,'app_automate':_0x501a17,'turboscale':bsSetupHelper[_0xcaff55(0x237)](_0x4cea91),'lts':LoadTestModule[_0xcaff55(0x1ac)](_0x4cea91)},bsSetupHelper[_0xcaff55(0x23d)]());};const normalizeTestPlanId=_0x332f88=>{const _0x152305=a171_0x195845,_0x6ae1a9={};_0x6ae1a9['syGUm']=function(_0x5e291c,_0x48e275){return _0x5e291c!==_0x48e275;},_0x6ae1a9['pVlGD']=_0x152305(0x246),_0x6ae1a9['nFrXx']=function(_0x5758cf,_0x1ea9cc){return _0x5758cf>_0x1ea9cc;};const _0x1f385b=_0x6ae1a9;if(_0x1f385b[_0x152305(0x1b5)](typeof _0x332f88,_0x1f385b[_0x152305(0x247)]))return undefined;const _0x3b180b=_0x332f88[_0x152305(0x181)]();return _0x1f385b[_0x152305(0x184)](_0x3b180b['length'],0x0)?_0x3b180b:undefined;},readTestPlanIdFromCliArgs=(_0x59784b=process[a171_0x195845(0x211)])=>{const _0x76cf4=a171_0x195845,_0x10dbc7={};_0x10dbc7[_0x76cf4(0x1b9)]=function(_0x15a207,_0x45fa36){return _0x15a207<_0x45fa36;},_0x10dbc7['Raavs']=function(_0x259314,_0x33ff8b){return _0x259314===_0x33ff8b;},_0x10dbc7[_0x76cf4(0x1cf)]=function(_0xf54db3,_0x1cbb3f){return _0xf54db3+_0x1cbb3f;};const _0x484003=_0x10dbc7,_0x5afc85='--'+testHubConstants[_0x76cf4(0x17c)];for(let _0x4c1913=0x0;_0x484003[_0x76cf4(0x1b9)](_0x4c1913,_0x59784b[_0x76cf4(0x218)]);_0x4c1913+=0x1){const _0x4216c9=_0x59784b[_0x4c1913];if(_0x484003[_0x76cf4(0x179)](_0x4216c9,_0x5afc85)){const _0x3ee461=_0x59784b[_0x484003[_0x76cf4(0x1cf)](_0x4c1913,0x1)];if(!_0x3ee461||_0x3ee461[_0x76cf4(0x1a1)]('--'))return undefined;return _0x3ee461;}if(_0x4216c9['startsWith'](_0x5afc85+'='))return _0x4216c9['slice'](_0x484003[_0x76cf4(0x1cf)](_0x5afc85[_0x76cf4(0x218)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0xae5f5d={})=>{const _0x580bc1=a171_0x195845,_0x499917={'XbuuR':function(_0x51079c,_0x12a0e4){return _0x51079c(_0x12a0e4);}};return _0x499917['XbuuR'](normalizeTestPlanId,_0xae5f5d&&_0xae5f5d['testManagementOptions']&&_0xae5f5d[_0x580bc1(0x235)][_0x580bc1(0x1f1)]);};exports[a171_0x195845(0x18f)]=(_0x3b48aa={},_0x3b289f=process[a171_0x195845(0x211)],_0x457044=process[a171_0x195845(0x219)])=>{const _0x53de40=a171_0x195845,_0x18e4ac={'BcvwH':function(_0x671ebf,_0x325167){return _0x671ebf(_0x325167);},'eqoYK':function(_0x25c88c,_0x3ce330){return _0x25c88c(_0x3ce330);}};try{const _0x597ada=_0x18e4ac[_0x53de40(0x1a4)](normalizeTestPlanId,_0x18e4ac[_0x53de40(0x1a4)](readTestPlanIdFromCliArgs,_0x3b289f));if(_0x597ada)return _0x597ada;const _0x598ed3=_0x18e4ac['eqoYK'](normalizeTestPlanId,_0x457044&&_0x457044[testHubConstants['ENV_VAR']['BROWSERSTACK_TEST_PLAN_ID']]);if(_0x598ed3)return _0x598ed3;return _0x18e4ac[_0x53de40(0x20a)](readTestPlanIdFromConfig,_0x3b48aa);}catch(_0x4541e6){return logger[_0x53de40(0x1ce)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x4541e6&&_0x4541e6[_0x53de40(0x193)]?_0x4541e6[_0x53de40(0x193)]:_0x4541e6)),undefined;}};function a171_0x17bc(){const _0x323afb=['AUwYk','username','true','IDisy','handleErrorForAccessibility','sGGzZ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','debug','AGUUj','getCurrentTestData','setTestObservabilityVariables','glJra','keys','isTrue','../../bin/utils/constants.js','idgKL','getFrameworkDetails','shouldScanTestForAccessibility','split','JASMINE','fowwn','product_map','Swplw','isAppAutomateSession','PLAYWRIGHT','includes','commands','1844826IqloCG','69698ZvpQCR','value','BS_TESTOPS_BUILD_COMPLETED','SCMCy','skipCDPConnectOverride','ESMxw','parse','lJPkX','CREDENTIALS_FOR_CRASH_REPORTING','getAccessibilityPlatformValidation','tags','joxuJ','percy','vuNZC','testPlanId','getAgentVersion','dTYVW','vPuYt','../test-orchestration/orchestrationUtils.js','EoPVn','ACCESSIBILITY','isAccessibilityEnabled','setTestData','handleErrorForObservability','assign','oaKXd','setPercyFlag','ROftE','eNmmG','PjwVI','../../bin/jasmine/testRunMap.js','../../bin/v2/modules/loadTestModule','isAccessibilityPlatform','../helper.js','BHVlr','stringify','yoJJi','hOnBA','OEKhN','eqoYK','uploadEventData','ERROR','../logger','otwuB','BS_TESTOPS_ALLOW_SCREENSHOTS','BROWSERSTACK_PERCY','argv','3|4|1|0|2','sr_automation','BROWSERSTACK_ACCESSIBILITY','toJson','info','vSZOF','length','env','VzIBq',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','5|2|0|1|3|4','../../bin/jest/test-observability/test-details.js','BROWSERSTACK_TESTHUB_JWT','uuid','166512nTzplG','command','OBSERVABILITY','YtIPe','allow_screenshots','shouldProcessEventForTesthub','DQOjj','ONhFD','kmfId','name','parseFromJson','DEPRECATED','UfYaY','../test-observability/utils','goog:chromeOptions','oyEqr','nonBStackInfraA11yChromeOptions','../accessibility-automation/helper','CBzqQ','winstonLogger','toUpperCase','testManagementOptions','jwt','isTurboScaleSession','rUyzW','scgIv','BS_A11Y_JWT','xtGcX','INVALID_CREDENTIALS','getCentralUser','kJywb','getProductMapForBuildStartCall','scripts','accessibilityPlatform','appendTesthubParams','../../bin/playwright/reporter/test-details.js','Dagny','capabilities','string','pVlGD','HookRunStarted','errors','LQXwQ','getAccessibilityValueFromYml','NkZXs','logBuildError','OLDJf','options','KDzkh','gwzoO','./constants.js','parseA11yJwtPayload','CBTSessionCreated','error','Raavs','isPercyBuild','ArEkj','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','isBrowserstackInfra','titlePath','MBWsS','getGlobal','trim','accessibility','KnHCb','nFrXx','yJTDq','MOCHA','test_run','VcUnF','forEach','rYMBQ','config','BROWSERSTACK_SR_AUTOMATION','bstackA11yShouldScan','28mRKrVX','getTestPlanId','../ats/helper','password','scannerVersion','message','kSIdk','getProductMap','getTestOrchestrationBuildStartData','LogCreated','gQyhJ','../helper','BROWSERSTACK_TESTHUB_UUID','2999284hibLWl','false','getBuildStartData','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','kHVZl','TestRunStarted','startsWith','platforms','CODECEPT','BcvwH','3|1|4|5|6|0|2','EHxJg','null','getTestData','join','JEST','BS_TESTOPS_JWT','isLTSSession','observability','6036472MVhdFd','TEST_REPORTING_ANALYTICS','scopes','751224AAzjzo','DkhBQ','BS_TESTOPS_BUILD_HASHED_ID','DTubQ','syGUm','bAOtS','3449425noqZhA','BROWSERSTACK_TESTHUB_UUID:\x20','BHQzV','checkAccessibilityPlatformConfig','IwHMt','getTestFrameworkDetails','FokMd','ULofI','description','build_hashed_id','FRAMEWORK_DETAILS','ACCESS_DENIED','success','commandsToWrap','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','MOWGI'];a171_0x17bc=function(){return _0x323afb;};return a171_0x17bc();}
|
|
1
|
+
const a171_0x1474a2=a171_0x1697;(function(_0x81738c,_0x88dac3){const _0x4fe5bb=a171_0x1697,_0x262041=_0x81738c();while(!![]){try{const _0xb839ba=-parseInt(_0x4fe5bb(0x147))/0x1+parseInt(_0x4fe5bb(0x150))/0x2*(-parseInt(_0x4fe5bb(0x17f))/0x3)+-parseInt(_0x4fe5bb(0x1e2))/0x4*(-parseInt(_0x4fe5bb(0x144))/0x5)+parseInt(_0x4fe5bb(0x136))/0x6+-parseInt(_0x4fe5bb(0x195))/0x7*(parseInt(_0x4fe5bb(0x1e8))/0x8)+-parseInt(_0x4fe5bb(0x154))/0x9*(-parseInt(_0x4fe5bb(0x1fb))/0xa)+-parseInt(_0x4fe5bb(0x202))/0xb*(parseInt(_0x4fe5bb(0x18b))/0xc);if(_0xb839ba===_0x88dac3)break;else _0x262041['push'](_0x262041['shift']());}catch(_0x42538f){_0x262041['push'](_0x262041['shift']());}}}(a171_0x34f4,0xbb256));const bsSetupHelper=require(a171_0x1474a2(0x1dc)),LoadTestModule=require(a171_0x1474a2(0x140)),{isTestObservabilitySession,getFrameworkVersion}=require(a171_0x1474a2(0x180)),accessibilityHelper=require(a171_0x1474a2(0x1b9)),logger=require(a171_0x1474a2(0x152))['winstonLogger'],{nestedKeyValue}=require('../helper.js'),scripts=require('../accessibility-automation/scripts.js'),globals=require(a171_0x1474a2(0x16c)),testHubConstants=require(a171_0x1474a2(0x123)),PWTestDetails=require(a171_0x1474a2(0x1f7)),JestTestDetails=require(a171_0x1474a2(0x173)),{FRAMEWORKS}=require(a171_0x1474a2(0x1e6)),{isTurboScaleSession}=require(a171_0x1474a2(0x142)),OrchestrationUtils=require('../test-orchestration/orchestrationUtils.js'),constants=require(a171_0x1474a2(0x1fe));let testData={};function a171_0x34f4(){const _0x42df06=['getBuildStartData','bstackA11yShouldScan','AuBCq','../../bin/playwright/reporter/test-details.js','false','EocsM','GpmQo','10mOxrZy','QtAhT','LJOjs','../../bin/utils/constants.js','BROWSERSTACK_TESTHUB_JWT','NZsVn','vCsVl','77waoOSw','BROWSERSTACK_TEST_PLAN_ID','VmhkY','argv','checkAccessibilityPlatformConfig','isBrowserstackInfra','./constants.js','JwYfg','handleErrorForObservability','commands','build_hashed_id','Hywyc','getAgentVersion','vRvsS','username','yIoHy','aZlKE','get','IKDLH','getTestFrameworkDetails','setPercyFlag','stringify','ItwqI','CODECEPT','UZvkV','8643618zPNdtu','XAHFT','hRYtI','BROWSERSTACK_TEST_ACCESSIBILITY_YML','uBCFu','BROWSERSTACK_PRODUCT_MAP','tags','name','errors','yPiIf','../../bin/v2/modules/loadTestModule','success','../ats/helper','dUTUn','472345eKzFux','JEST','product_map','86884uLXOUh','BROWSERSTACK_TESTHUB_UUID','\x20Build\x20creation\x20failed',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','capabilities','MOCHA','BROWSERSTACK_SR_AUTOMATION','setTestHubCommonMetaInfo','getTestPlanId','1174lzsdiL','IuYlY','../logger','jTNxb','8245170hXFwJK','kMhrp','setAccessibilityVariables','password','CUCUMBER','sdaWo','cwiFg','sr_automation','zOgQE','keys','WJVRq','commandsToWrap','shouldScanTestForAccessibility','getAccessibilityValueFromYml','dfGks','isUndefined','qFtqT','getTestData','SgxFB','hxxkE','handleErrorForAccessibility','command','percy','BS_TESTOPS_BUILD_HASHED_ID','../globals.js','WNVXh','INVALID_CREDENTIALS','mvLXa','ACCESSIBILITY','UVpDo','scripts','../../bin/jest/test-observability/test-details.js','rWwxo','message','SXRTo','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','Iojyg','ENV_VAR','TestRunStarted','value','BS_TESTOPS_BUILD_COMPLETED','BROWSERSTACK_TESTHUB_UUID:\x20','BS_A11Y_JWT','2541EhjmSS','../test-observability/utils','isLTSSession','NXKJp','SuafS','lNgaU','logBuildError','NmzeX','kyZfx','McfaK','TVRUp','cHklG','3087876cLxoTJ','trim','assign','getFrameworkDetails','true','includes','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isAccessibilityEnabled','isAccessibilityPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','28OajZrW','setTestData','bWgTS','string','azVLa','nonBStackInfraA11yChromeOptions','0|5|4|2|6|3|1','ZOIJs','DEPRECATED','testManagementOptions','LogCreated','ERROR','fkxST','toUpperCase','error','isTurboScaleSession','lqanM','HookRunStarted','scopes','SqBju','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','GlJcP','AGpWA','rkOFe','setCurrentTestData','uploadEventData','description','UHAFM','startsWith','Pbsxr','BS_TESTOPS_ALLOW_SCREENSHOTS','accessibilityPlatform','getProductMap','HlIbQ','1|4|2|0|3','join','../accessibility-automation/helper','parse','env','BROWSERSTACK_ACCESSIBILITY','../../bin/jasmine/testRunMap.js','Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20','titlePath','VUgup','accessibility','HookRunFinished','parseFromJson','isPercyBuild','isAppAutomateSession','sbTGq','kKhdX','options','FRAMEWORK_DETAILS','key','test_run','OYerN','toJson','scannerVersion','shouldProcessEventForTesthub','jwt','QNQgC','BS_TESTOPS_JWT','CREDENTIALS_FOR_CRASH_REPORTING','uuid','length','sKXZW','getProductMapForBuildStartCall','CBTSessionCreated','CAfEI','observability','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','../helper','JASMINE','allow_screenshots','XEzOf','yoJjq','debug','60lassWD','goog:chromeOptions','config','JFIxD','../test-observability/constants.js','isTrue','1243768FPYCCs','split','BROWSERSTACK_PERCY','platforms','hxXkp','oFtGj','null','OBSERVABILITY','Uvkjb','PLAYWRIGHT','getGlobal','getTestOrchestrationBuildStartData'];a171_0x34f4=function(){return _0x42df06;};return a171_0x34f4();}exports[a171_0x1474a2(0x1b5)]=_0x33c103=>{const _0x53574b=a171_0x1474a2,_0xfcb3b1={'sBpqn':function(_0x1dc0c9){return _0x1dc0c9();},'GlJcP':function(_0x23a162,_0x593ce1){return _0x23a162===_0x593ce1;},'GpmQo':_0x53574b(0x18f)};let _0x480b0f=![],_0x4b7ea1=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper['isAppAutomateSession'](_0x33c103))_0x4b7ea1=!![];else bsSetupHelper[_0x53574b(0x122)]()&&(_0x480b0f=!![]);return Object[_0x53574b(0x18d)]({'observability':_0xfcb3b1['sBpqn'](isTestObservabilitySession),'accessibility':exports[_0x53574b(0x192)](_0x33c103),'percy':_0x33c103['percy']||![],'sr_automation':_0xfcb3b1[_0x53574b(0x1aa)](process[_0x53574b(0x1bb)][_0x53574b(0x14d)],_0xfcb3b1[_0x53574b(0x1fa)])||_0x33c103[_0x53574b(0x15b)]||![],'automate':_0x480b0f,'app_automate':_0x4b7ea1,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x33c103),'lts':LoadTestModule[_0x53574b(0x181)](_0x33c103)},bsSetupHelper['getCentralUser']());},exports[a171_0x1474a2(0x18e)]=(_0x2e3165,_0x237f15)=>{const _0x19190=a171_0x1474a2,_0x212685={'sdaWo':function(_0x5da815,_0x1bc628){return _0x5da815(_0x1bc628);},'EYQYB':'javascript'},_0x48d220={'frameworkName':_0x237f15,'frameworkVersion':_0x212685[_0x19190(0x159)](getFrameworkVersion,_0x237f15),'sdkVersion':bsSetupHelper[_0x19190(0x129)](),'language':_0x212685['EYQYB'],'testFramework':bsSetupHelper[_0x19190(0x130)](_0x2e3165,_0x237f15)};return process[_0x19190(0x1bb)][_0x19190(0x1c9)]=JSON[_0x19190(0x132)](_0x48d220),_0x48d220;},exports[a171_0x1474a2(0x131)]=_0xf46b6c=>{const _0x4fe4cd=a171_0x1474a2,_0x10601f={};_0x10601f['cHklG']='false',_0x10601f[_0x4fe4cd(0x1e0)]=_0x4fe4cd(0x18f);const _0xd1eb41=_0x10601f;process['env']['BROWSERSTACK_PERCY']=_0xd1eb41[_0x4fe4cd(0x18a)],bsSetupHelper['isTrue'](_0xf46b6c[_0x4fe4cd(0x1e4)][_0x4fe4cd(0x16a)])&&(!_0xf46b6c[_0x4fe4cd(0x16a)]||!_0xf46b6c[_0x4fe4cd(0x16a)]['isRunning']())&&(process['env'][_0x4fe4cd(0x1ea)]=_0xd1eb41[_0x4fe4cd(0x1e0)]);},exports['isPercyBuild']=()=>{const _0x1b8969=a171_0x1474a2;return bsSetupHelper['isTrue'](process['env'][_0x1b8969(0x1ea)]);},exports[a171_0x1474a2(0x192)]=(_0x23ebda={})=>{const _0x251097=a171_0x1474a2,_0x4f4470={};_0x4f4470[_0x251097(0x1c6)]=function(_0x461ec1,_0x2d2158){return _0x461ec1!==_0x2d2158;},_0x4f4470['mvLXa']=function(_0x5eac01,_0x5991b1){return _0x5eac01===_0x5991b1;},_0x4f4470['Uvkjb']='true',_0x4f4470[_0x251097(0x189)]=function(_0x440aa,_0xcd493a){return _0x440aa>_0xcd493a;},_0x4f4470[_0x251097(0x15e)]=function(_0x1138ca,_0x28bffe){return _0x1138ca===_0x28bffe;};const _0x29ffe7=_0x4f4470;if(_0x29ffe7[_0x251097(0x1c6)](process['env'][_0x251097(0x1bc)],undefined))return bsSetupHelper[_0x251097(0x1e7)](process[_0x251097(0x1bb)]['BROWSERSTACK_ACCESSIBILITY']);let _0x112f09=_0x29ffe7[_0x251097(0x16f)](process[_0x251097(0x1bb)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x29ffe7[_0x251097(0x1f0)]);return _0x29ffe7[_0x251097(0x189)](Object[_0x251097(0x15d)](_0x23ebda)[_0x251097(0x1d5)],0x0)&&(process[_0x251097(0x1bb)][_0x251097(0x194)]=accessibilityHelper[_0x251097(0x121)](_0x23ebda)),_0x112f09=_0x112f09||_0x29ffe7['WJVRq'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x29ffe7[_0x251097(0x1f0)]),_0x112f09;},exports['setTestObservabilityVariables']=(_0x53b18b,_0x249e96)=>{const _0x303cbf=a171_0x1474a2,_0x146234={'hpDtw':function(_0x240d70){return _0x240d70();},'OpfQR':'3|0|4|2|5|1','yPiIf':function(_0x288651,_0x2cc879,_0x44e0dd){return _0x288651(_0x2cc879,_0x44e0dd);},'EBaKe':_0x303cbf(0x1da),'cwiFg':_0x303cbf(0x1c8),'aZlKE':_0x303cbf(0x18f)};if(!_0x53b18b||!_0x53b18b[_0x303cbf(0x1da)])return exports[_0x303cbf(0x125)](),[null,null,null];if(!_0x53b18b[_0x303cbf(0x1da)][_0x303cbf(0x141)])return exports['handleErrorForObservability'](_0x53b18b[_0x303cbf(0x1da)]),[null,null,null];if(_0x146234['hpDtw'](isTestObservabilitySession)){const _0x2aefdc=_0x146234['OpfQR'][_0x303cbf(0x1e9)]('|');let _0x53bdf4=0x0;while(!![]){switch(_0x2aefdc[_0x53bdf4++]){case'0':if(_0x53b18b[_0x303cbf(0x1d0)]){process[_0x303cbf(0x1bb)]['BS_TESTOPS_JWT']=_0x53b18b[_0x303cbf(0x1d0)];const _0x6ccbf9={};_0x6ccbf9[_0x303cbf(0x12b)]=_0x249e96[_0x303cbf(0x12b)],_0x6ccbf9[_0x303cbf(0x157)]=_0x249e96[_0x303cbf(0x157)],process[_0x303cbf(0x1bb)][_0x303cbf(0x1d3)]=JSON[_0x303cbf(0x132)](_0x6ccbf9);}continue;case'1':return[_0x53b18b['jwt'],_0x53b18b[_0x303cbf(0x127)],process[_0x303cbf(0x1bb)][_0x303cbf(0x1b3)]];case'2':_0x146234[_0x303cbf(0x13f)](nestedKeyValue,_0x53b18b,[_0x146234['EBaKe'],_0x146234[_0x303cbf(0x15a)]])&&(process['env'][_0x303cbf(0x1b3)]=_0x53b18b[_0x303cbf(0x1da)][_0x303cbf(0x1c8)][_0x303cbf(0x1de)]['toString']());continue;case'3':process[_0x303cbf(0x1bb)][_0x303cbf(0x17c)]=_0x146234[_0x303cbf(0x12d)];continue;case'4':_0x53b18b[_0x303cbf(0x127)]&&(process[_0x303cbf(0x1bb)][_0x303cbf(0x16b)]=_0x53b18b[_0x303cbf(0x127)]);continue;case'5':logger[_0x303cbf(0x1e1)]('['+constants['TEST_REPORTING_ANALYTICS']+_0x303cbf(0x14a)+_0x53b18b['build_hashed_id']);continue;}break;}}return[null,null,null];},exports[a171_0x1474a2(0x156)]=_0xb42428=>{const _0x49ae16=a171_0x1474a2,_0x56409f={'XETtL':function(_0x16f9c7,_0x5ba9e4,_0x41bcf5){return _0x16f9c7(_0x5ba9e4,_0x41bcf5);},'EocsM':'accessibility','vRvsS':_0x49ae16(0x1c8),'jTNxb':function(_0x4ddad1,_0x530c9a,_0x58e1e4,_0x3590a4){return _0x4ddad1(_0x530c9a,_0x58e1e4,_0x3590a4);},'kKhdX':_0x49ae16(0x13d),'QtAhT':_0x49ae16(0x17b),'HlIbQ':function(_0x41f00c,_0x75230f,_0x58dd2b,_0x4b42e6){return _0x41f00c(_0x75230f,_0x58dd2b,_0x4b42e6);},'VUgup':_0x49ae16(0x169),'QNQgC':_0x49ae16(0x126),'uBCFu':function(_0x1b6cb3,_0x1cf246,_0x28c4dc,_0x9c3a98){return _0x1b6cb3(_0x1cf246,_0x28c4dc,_0x9c3a98);},'JFIxD':_0x49ae16(0x19a),'ajjxS':_0x49ae16(0x1e3),'rkOFe':function(_0x49649a,_0x26033a){return _0x49649a(_0x26033a);},'NXKJp':function(_0x4a82b0,_0x29fa41){return _0x4a82b0===_0x29fa41;},'CAfEI':'true','NmzeX':_0x49ae16(0x1a9)};if(!_0xb42428[_0x49ae16(0x1c1)])return exports[_0x49ae16(0x168)](),[null,null];if(!_0xb42428[_0x49ae16(0x1c1)][_0x49ae16(0x141)])return exports[_0x49ae16(0x168)](_0xb42428['accessibility']),[null,null];if(_0x56409f['XETtL'](nestedKeyValue,_0xb42428,[_0x56409f[_0x49ae16(0x1f9)],_0x56409f[_0x49ae16(0x12a)]])){const {accessibilityToken:_0x20bb03,scannerVersion:_0x4762f8,scannerProcessingTimeout:_0x1e4543,isMobileScanningEnabledForGroup:_0x2f86a8}=_0x56409f[_0x49ae16(0x153)](jsonifyAccessibilityArray,_0xb42428[_0x49ae16(0x1c1)][_0x49ae16(0x1c8)][_0x49ae16(0x14b)],_0x56409f[_0x49ae16(0x1c7)],_0x56409f['QtAhT']),_0x4c1c3f={'scripts':_0x56409f[_0x49ae16(0x1b6)](jsonifyAccessibilityArray,_0xb42428[_0x49ae16(0x1c1)][_0x49ae16(0x1c8)][_0x49ae16(0x172)],_0x56409f['kKhdX'],_0x56409f[_0x49ae16(0x1c0)])};_0x4c1c3f[_0x56409f[_0x49ae16(0x1d1)]]=_0xb42428[_0x49ae16(0x1c1)][_0x49ae16(0x1c8)][_0x49ae16(0x15f)][_0x49ae16(0x126)];const _0x6dd938=_0x56409f[_0x49ae16(0x13a)](jsonifyAccessibilityArray,_0xb42428[_0x49ae16(0x1c1)][_0x49ae16(0x1c8)][_0x49ae16(0x14b)],_0x56409f[_0x49ae16(0x1c7)],_0x56409f[_0x49ae16(0x1fc)]);_0x4c1c3f[_0x56409f[_0x49ae16(0x1e5)]]=_0x6dd938[_0x56409f['ajjxS']],scripts[_0x49ae16(0x1c3)](_0x4c1c3f),scripts[_0x49ae16(0x1cd)]();let _0x3e9162=process[_0x49ae16(0x1bb)][_0x49ae16(0x191)];_0x3e9162=!!_0x3e9162?JSON[_0x49ae16(0x1ba)](_0x3e9162):{},_0x3e9162[_0x49ae16(0x1ce)]=_0x4762f8,process[_0x49ae16(0x1bb)][_0x49ae16(0x191)]=JSON[_0x49ae16(0x132)](_0x3e9162),process[_0x49ae16(0x1bb)][_0x49ae16(0x17e)]=_0x20bb03,process['env']['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x56409f[_0x49ae16(0x1ac)](String,_0x56409f[_0x49ae16(0x182)](_0x2f86a8,!![])||_0x56409f[_0x49ae16(0x182)](_0x2f86a8,_0x56409f[_0x49ae16(0x1d9)])),logger[_0x49ae16(0x1e1)](_0x49ae16(0x1db)+_0xb42428[_0x49ae16(0x127)]);const _0x22c5a7=accessibilityHelper['parseA11yJwtPayload'](_0x20bb03);return _0x22c5a7&&bsSetupHelper[_0x49ae16(0x1e7)](_0x22c5a7['skipCDPConnectOverride'])&&(process[_0x49ae16(0x1bb)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger['debug'](_0x56409f[_0x49ae16(0x186)])),[_0x20bb03,_0xb42428[_0x49ae16(0x127)],_0x1e4543];}return[null,null];},exports['handleErrorForObservability']=_0x42381d=>{const _0x5ebb83=a171_0x1474a2,_0x4db3bb={};_0x4db3bb['hxxkE']=_0x5ebb83(0x19b),_0x4db3bb[_0x5ebb83(0x143)]=_0x5ebb83(0x1ee),_0x4db3bb[_0x5ebb83(0x1ab)]=_0x5ebb83(0x1f8);const _0x27aa5d=_0x4db3bb,_0x2cb9be=_0x27aa5d[_0x5ebb83(0x167)][_0x5ebb83(0x1e9)]('|');let _0x207b47=0x0;while(!![]){switch(_0x2cb9be[_0x207b47++]){case'0':process[_0x5ebb83(0x1bb)][_0x5ebb83(0x148)]=_0x27aa5d[_0x5ebb83(0x143)];continue;case'1':exports['logBuildError'](_0x42381d,testHubConstants[_0x5ebb83(0x1ef)]);continue;case'2':process[_0x5ebb83(0x1bb)][_0x5ebb83(0x1d2)]=_0x27aa5d['dUTUn'];continue;case'3':process[_0x5ebb83(0x1bb)][_0x5ebb83(0x1b3)]=_0x27aa5d[_0x5ebb83(0x143)];continue;case'4':process[_0x5ebb83(0x1bb)]['BS_TESTOPS_BUILD_COMPLETED']=_0x27aa5d[_0x5ebb83(0x1ab)];continue;case'5':process[_0x5ebb83(0x1bb)][_0x5ebb83(0x1ff)]=_0x27aa5d[_0x5ebb83(0x143)];continue;case'6':process[_0x5ebb83(0x1bb)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x27aa5d[_0x5ebb83(0x143)];continue;}break;}},exports[a171_0x1474a2(0x168)]=_0x4e2024=>{const _0x17d2ed=a171_0x1474a2,_0x1035fd={};_0x1035fd[_0x17d2ed(0x197)]=_0x17d2ed(0x1b7),_0x1035fd['hRYtI']=_0x17d2ed(0x1f8),_0x1035fd[_0x17d2ed(0x1df)]=_0x17d2ed(0x1ee);const _0x4ddcfc=_0x1035fd,_0x4e79c5=_0x4ddcfc[_0x17d2ed(0x197)][_0x17d2ed(0x1e9)]('|');let _0x446992=0x0;while(!![]){switch(_0x4e79c5[_0x446992++]){case'0':process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x4ddcfc[_0x17d2ed(0x138)];continue;case'1':process['env'][_0x17d2ed(0x148)]=_0x4ddcfc[_0x17d2ed(0x1df)];continue;case'2':process[_0x17d2ed(0x1bb)][_0x17d2ed(0x139)]=_0x4ddcfc[_0x17d2ed(0x138)];continue;case'3':exports[_0x17d2ed(0x185)](_0x4e2024,testHubConstants[_0x17d2ed(0x170)]);continue;case'4':process['env'][_0x17d2ed(0x1ff)]=_0x4ddcfc['XEzOf'];continue;}break;}},exports['logBuildError']=(_0x2cbe34,_0x38c50f='')=>{const _0x5c1adc=a171_0x1474a2,_0x4ed83a={};_0x4ed83a[_0x5c1adc(0x201)]=function(_0x3e9955,_0xa7a88a){return _0x3e9955===_0xa7a88a;};const _0x17001c=_0x4ed83a;if(_0x17001c[_0x5c1adc(0x201)](_0x2cbe34,undefined)){logger[_0x5c1adc(0x1a3)](_0x38c50f[_0x5c1adc(0x1a2)]()+_0x5c1adc(0x149));return;}for(const _0x6553a9 of _0x2cbe34[_0x5c1adc(0x13e)]){const _0x1cea7b=_0x6553a9[_0x5c1adc(0x1ca)],_0x38a817=_0x6553a9['message'];if(_0x38a817)switch(_0x1cea7b){case testHubConstants[_0x5c1adc(0x1a0)][_0x5c1adc(0x16e)]:logger[_0x5c1adc(0x1a3)](_0x38a817);break;case testHubConstants['ERROR']['ACCESS_DENIED']:logger['info'](_0x38a817);break;case testHubConstants[_0x5c1adc(0x1a0)][_0x5c1adc(0x19d)]:logger[_0x5c1adc(0x1a3)](_0x38a817);break;default:logger['error'](_0x38a817);}}};const jsonifyAccessibilityArray=(_0x4de85d,_0x934db3,_0xd44a52)=>{const _0x226bc2={};return _0x4de85d['forEach'](_0x41630e=>{_0x226bc2[_0x41630e[_0x934db3]]=_0x41630e[_0xd44a52];}),_0x226bc2;};exports[a171_0x1474a2(0x14e)]=_0x300cc3=>{const _0x232096=a171_0x1474a2;_0x300cc3[_0x232096(0x1d0)]&&(process['env'][_0x232096(0x1ff)]=_0x300cc3[_0x232096(0x1d0)]);_0x300cc3[_0x232096(0x127)]&&(process[_0x232096(0x1bb)][_0x232096(0x148)]=_0x300cc3[_0x232096(0x127)],logger['debug'](_0x232096(0x17d)+_0x300cc3[_0x232096(0x127)]));;},exports[a171_0x1474a2(0x1cf)]=(_0x576a1e='',_0x54d692='')=>{const _0x43e8c4=a171_0x1474a2,_0x5345f1={'LJOjs':function(_0x2c2bc7){return _0x2c2bc7();},'SgxFB':function(_0x16d118,_0x28613d){return _0x16d118===_0x28613d;},'lqanM':_0x43e8c4(0x1ae),'kXMBH':_0x43e8c4(0x19f),'SqBju':_0x43e8c4(0x1d8),'yIoHy':_0x43e8c4(0x1a6),'UHAFM':_0x43e8c4(0x1c2)};if(exports[_0x43e8c4(0x1c4)]()&&!exports[_0x43e8c4(0x192)]()&&!_0x5345f1[_0x43e8c4(0x1fd)](isTestObservabilitySession)){if(_0x5345f1[_0x43e8c4(0x166)](_0x54d692,_0x5345f1[_0x43e8c4(0x1a5)]))return![];if([_0x5345f1['kXMBH'],_0x5345f1[_0x43e8c4(0x1a8)]]['includes'](_0x576a1e))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0x5345f1[_0x43e8c4(0x1fd)](isTestObservabilitySession)){if([_0x5345f1[_0x43e8c4(0x12c)],_0x5345f1[_0x43e8c4(0x1b0)],_0x5345f1['kXMBH']][_0x43e8c4(0x190)](_0x576a1e))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x5345f1[_0x43e8c4(0x1fd)](isTestObservabilitySession)||exports[_0x43e8c4(0x1c4)]();},exports['appendTesthubParams']=(_0x4b4a29,_0x3a2b68,_0x5f1f83='',_0x3dd5a7)=>{const _0x3d5807=a171_0x1474a2,_0x13ce65={'OYerN':_0x3d5807(0x1a6),'ItwqI':_0x3d5807(0x1c2),'AuBCq':function(_0xe40487,_0x2bcbdd){return _0xe40487===_0x2bcbdd;},'UZvkV':_0x3d5807(0x1f5),'azVLa':_0x3d5807(0x193),'IKDLH':_0x3d5807(0x1c1),'dfGks':function(_0xcd7b83,_0x48b9ab){return _0xcd7b83&&_0x48b9ab;},'VmhkY':function(_0x6ceae8,_0x34df50){return _0x6ceae8+_0x34df50;},'zQPhv':function(_0xccfaa1,_0x50c538){return _0xccfaa1+_0x50c538;},'NZsVn':function(_0x5c6aff,_0x43c872){return _0x5c6aff&&_0x43c872;},'sKXZW':function(_0x3e9e4b,_0xd94a4f){return _0x3e9e4b===_0xd94a4f;},'Hywyc':function(_0x2a3950,_0x5be1ea){return _0x2a3950(_0x5be1ea);},'YnRPB':_0x3d5807(0x1bd),'UVpDo':function(_0x86151f,_0x4d9b0c){return _0x86151f&&_0x4d9b0c;},'sDosZ':function(_0x1a9b3f,_0x4f4e52){return _0x1a9b3f!==_0x4f4e52;},'Pbsxr':_0x3d5807(0x17a),'CLWcr':function(_0x3374f3,_0x346b26){return _0x3374f3&&_0x346b26;},'zOgQE':_0x3d5807(0x146)};if([_0x13ce65[_0x3d5807(0x1cc)],_0x13ce65[_0x3d5807(0x133)]]['includes'](_0x3a2b68))return;let _0xca35b0={};try{process[_0x3d5807(0x1bb)][_0x3d5807(0x13b)]&&(_0xca35b0=JSON[_0x3d5807(0x1ba)](process[_0x3d5807(0x1bb)][_0x3d5807(0x13b)])||{});}catch(_0xfc0f5a){logger[_0x3d5807(0x1e1)](_0x3d5807(0x1be)+_0xfc0f5a),_0xca35b0={};}if(exports['isAccessibilityEnabled']()){if(_0x13ce65[_0x3d5807(0x1f6)](_0x3dd5a7,FRAMEWORKS[_0x3d5807(0x14c)])){const _0x34fa8e=globals[_0x3d5807(0x1f2)](_0x13ce65[_0x3d5807(0x135)])||accessibilityHelper[_0x3d5807(0x160)](_0x5f1f83['titlePath'](),!![]),_0x1bb381=globals[_0x3d5807(0x1f2)](_0x13ce65[_0x3d5807(0x199)]);_0xca35b0[_0x13ce65[_0x3d5807(0x12f)]]=_0x13ce65[_0x3d5807(0x162)](_0x1bb381,_0x34fa8e);}if(_0x13ce65[_0x3d5807(0x1f6)](_0x3dd5a7,FRAMEWORKS[_0x3d5807(0x145)])){const _0x42f56e=_0x13ce65['VmhkY'](_0x13ce65['zQPhv'](_0x4b4a29[_0x3d5807(0x1a7)][_0x3d5807(0x1b8)]('\x20'),'\x20'),_0x5f1f83[_0x3d5807(0x13d)]),_0x94a237=globals[_0x3d5807(0x1f2)](_0x13ce65[_0x3d5807(0x135)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x42f56e,![]),_0x1ea6c5=browserStackGlobals[_0x3d5807(0x193)];_0xca35b0[_0x13ce65['IKDLH']]=_0x13ce65[_0x3d5807(0x200)](_0x1ea6c5,_0x94a237);}if(_0x13ce65[_0x3d5807(0x1d6)](_0x3dd5a7,FRAMEWORKS[_0x3d5807(0x1dd)])){const _0x4f36e8=_0x13ce65[_0x3d5807(0x128)](require,_0x13ce65['YnRPB']),_0x2af77b=_0x5f1f83&&_0x4f36e8[_0x3d5807(0x12e)](_0x5f1f83['id'])||_0x4b4a29[_0x3d5807(0x1d4)];_0x2af77b&&(_0x4b4a29[_0x3d5807(0x1d4)]=_0x2af77b);const _0x350aa7=_0x13ce65[_0x3d5807(0x204)](_0x13ce65[_0x3d5807(0x204)](_0x4b4a29[_0x3d5807(0x1a7)][_0x3d5807(0x1b8)]('\x20'),'\x20'),_0x5f1f83[_0x3d5807(0x1af)]||_0x4b4a29[_0x3d5807(0x13d)]),_0x25f1dc=globals['getGlobal'](_0x13ce65[_0x3d5807(0x135)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x350aa7,![]),_0x38ac80=globals[_0x3d5807(0x1f2)](_0x13ce65[_0x3d5807(0x199)]);_0xca35b0[_0x13ce65['IKDLH']]=_0x13ce65[_0x3d5807(0x171)](_0x38ac80,_0x25f1dc);}_0x13ce65['AuBCq'](_0x3dd5a7,FRAMEWORKS[_0x3d5807(0x1f1)])&&_0x13ce65['sDosZ'](_0x3a2b68,_0x13ce65[_0x3d5807(0x1b2)])&&(_0xca35b0[_0x13ce65[_0x3d5807(0x12f)]]=PWTestDetails['getAccessibilityPlatformValidation'](_0x4b4a29[_0x3d5807(0x1d4)]));if(_0x13ce65['sKXZW'](_0x3dd5a7,FRAMEWORKS[_0x3d5807(0x134)])){const _0x19b106=accessibilityHelper['shouldScanTestForAccessibility'](_0x5f1f83[_0x3d5807(0x1bf)](),!![]),_0x5871d5=global[_0x3d5807(0x1b4)];_0xca35b0[_0x13ce65[_0x3d5807(0x12f)]]=_0x13ce65[_0x3d5807(0x162)](_0x5871d5,_0x19b106);}if(_0x13ce65[_0x3d5807(0x1f6)](_0x3dd5a7,FRAMEWORKS[_0x3d5807(0x158)])){const _0x352859=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x4b4a29[_0x3d5807(0x13c)]),_0x2d43d1=globals[_0x3d5807(0x1f2)](_0x13ce65[_0x3d5807(0x199)]);_0xca35b0[_0x13ce65[_0x3d5807(0x12f)]]=_0x13ce65['CLWcr'](_0x2d43d1,_0x352859);}}_0x4b4a29[_0x13ce65[_0x3d5807(0x15c)]]=_0xca35b0;},exports['getCurrentTestData']=_0x1d5d6b=>{const _0x250207=a171_0x1474a2,_0x3bddd2={};_0x3bddd2[_0x250207(0x178)]=function(_0x16f80f,_0x4973db){return _0x16f80f>_0x4973db;},_0x3bddd2[_0x250207(0x164)]=function(_0x2b10fa,_0xfc3b1f){return _0x2b10fa>_0xfc3b1f;};const _0x154002=_0x3bddd2;let _0x35a820={};if(_0x154002[_0x250207(0x178)](Object[_0x250207(0x15d)](testData)[_0x250207(0x1d5)],0x0))return testData;_0x35a820=JestTestDetails[_0x250207(0x165)]();if(_0x154002['qFtqT'](Object[_0x250207(0x15d)](_0x35a820)['length'],0x0))return _0x35a820;return _0x35a820;},exports[a171_0x1474a2(0x1ad)]=(_0x6d5102,_0x13a0fc={})=>{const _0xd23c01=a171_0x1474a2;if(bsSetupHelper[_0xd23c01(0x163)](_0x13a0fc[_0xd23c01(0x1cb)]))return;switch(_0x6d5102){case FRAMEWORKS['MOCHA']:testData=_0x13a0fc['test_run'];break;case FRAMEWORKS[_0xd23c01(0x145)]:JestTestDetails[_0xd23c01(0x196)](_0x13a0fc[_0xd23c01(0x1cb)]);break;case FRAMEWORKS[_0xd23c01(0x1dd)]:testData=_0x13a0fc['test_run'];break;default:break;}},exports[a171_0x1474a2(0x161)]=_0x207322=>{const _0x226a73=a171_0x1474a2,_0x212a95={};_0x212a95[_0x226a73(0x184)]=function(_0x2d937e,_0x1a18a2){return _0x2d937e!==_0x1a18a2;},_0x212a95[_0x226a73(0x176)]=function(_0x4577cc,_0x585a23){return _0x4577cc!==_0x585a23;},_0x212a95[_0x226a73(0x137)]=function(_0x411d54,_0x2f89c2){return _0x411d54!==_0x2f89c2;};const _0x41dbd0=_0x212a95;if(_0x41dbd0[_0x226a73(0x184)](_0x207322['accessibility'],null)&&_0x41dbd0['SXRTo'](_0x207322[_0x226a73(0x1c1)],undefined))return _0x207322[_0x226a73(0x1c1)];let _0x3f0f80=![],_0x19ce2a=![];if(_0x207322[_0x226a73(0x1eb)])for(const _0x351f09 of _0x207322[_0x226a73(0x1eb)]){_0x41dbd0[_0x226a73(0x184)](_0x351f09['accessibility'],null)&&_0x41dbd0[_0x226a73(0x137)](_0x351f09[_0x226a73(0x1c1)],undefined)&&(_0x3f0f80=_0x3f0f80||bsSetupHelper['isTrue'](_0x351f09[_0x226a73(0x1c1)]),_0x19ce2a=!![]);}if(_0x19ce2a)return _0x3f0f80;return null;},exports[a171_0x1474a2(0x1f3)]=_0xb5e1ec=>{const _0x348b8f=a171_0x1474a2;if(!_0xb5e1ec)return{};const _0x124fbe=new OrchestrationUtils(_0xb5e1ec);return _0x124fbe[_0x348b8f(0x1f4)]();},exports[a171_0x1474a2(0x1d7)]=_0x4f918f=>{const _0x53a2cc=a171_0x1474a2,_0x447b36={'JwYfg':function(_0x209a99){return _0x209a99();},'kMhrp':function(_0x580831,_0x56c281){return _0x580831===_0x56c281;},'fkxST':_0x53a2cc(0x18f)};let _0x452e6a=![],_0x3d7c54=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper[_0x53a2cc(0x1c5)](_0x4f918f))_0x3d7c54=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x452e6a=!![]);return Object[_0x53a2cc(0x18d)]({'observability':_0x447b36[_0x53a2cc(0x124)](isTestObservabilitySession),'accessibility':exports['getAccessibilityValueFromYml'](_0x4f918f),'percy':_0x4f918f['percy']||![],'sr_automation':_0x447b36[_0x53a2cc(0x155)](process[_0x53a2cc(0x1bb)][_0x53a2cc(0x14d)],_0x447b36[_0x53a2cc(0x1a1)])||_0x4f918f[_0x53a2cc(0x15b)]||![],'automate':_0x452e6a,'app_automate':_0x3d7c54,'turboscale':bsSetupHelper[_0x53a2cc(0x1a4)](_0x4f918f),'lts':LoadTestModule['isLTSSession'](_0x4f918f)},bsSetupHelper['getCentralUser']());};function a171_0x1697(_0x5d7304,_0x4f3408){const _0x34f46e=a171_0x34f4();return a171_0x1697=function(_0x1697d7,_0x1eada5){_0x1697d7=_0x1697d7-0x120;let _0xdf5b8b=_0x34f46e[_0x1697d7];return _0xdf5b8b;},a171_0x1697(_0x5d7304,_0x4f3408);}const normalizeTestPlanId=_0xe3eadb=>{const _0x2b4788=a171_0x1474a2,_0x29d1ef={};_0x29d1ef[_0x2b4788(0x174)]=function(_0xf2e2b8,_0x192ace){return _0xf2e2b8!==_0x192ace;},_0x29d1ef['oFtGj']=_0x2b4788(0x198),_0x29d1ef[_0x2b4788(0x151)]=function(_0x85c780,_0x2570e3){return _0x85c780>_0x2570e3;};const _0x49cdec=_0x29d1ef;if(_0x49cdec[_0x2b4788(0x174)](typeof _0xe3eadb,_0x49cdec[_0x2b4788(0x1ed)]))return undefined;const _0xef83b=_0xe3eadb[_0x2b4788(0x18c)]();return _0x49cdec[_0x2b4788(0x151)](_0xef83b[_0x2b4788(0x1d5)],0x0)?_0xef83b:undefined;},readTestPlanIdFromCliArgs=(_0x4c3082=process[a171_0x1474a2(0x120)])=>{const _0xe363a3=a171_0x1474a2,_0x52472c={};_0x52472c[_0xe363a3(0x1ec)]=function(_0x1ef4ad,_0x28744a){return _0x1ef4ad<_0x28744a;},_0x52472c[_0xe363a3(0x183)]=function(_0x52d611,_0x3f7170){return _0x52d611===_0x3f7170;},_0x52472c[_0xe363a3(0x16d)]=function(_0x1d2ccd,_0x552cb5){return _0x1d2ccd+_0x552cb5;};const _0x5b20c4=_0x52472c,_0x5d2776='--'+testHubConstants[_0xe363a3(0x177)];for(let _0x3092e8=0x0;_0x5b20c4[_0xe363a3(0x1ec)](_0x3092e8,_0x4c3082[_0xe363a3(0x1d5)]);_0x3092e8+=0x1){const _0x9c3d7=_0x4c3082[_0x3092e8];if(_0x5b20c4[_0xe363a3(0x183)](_0x9c3d7,_0x5d2776)){const _0x5e1eaa=_0x4c3082[_0x5b20c4[_0xe363a3(0x16d)](_0x3092e8,0x1)];if(!_0x5e1eaa||_0x5e1eaa[_0xe363a3(0x1b1)]('--'))return undefined;return _0x5e1eaa;}if(_0x9c3d7['startsWith'](_0x5d2776+'='))return _0x9c3d7['slice'](_0x5b20c4['WNVXh'](_0x5d2776['length'],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x5dda9d={})=>{const _0x555f13=a171_0x1474a2,_0x57132b={'kyZfx':function(_0x1bbe4c,_0x2eb05f){return _0x1bbe4c(_0x2eb05f);}};return _0x57132b[_0x555f13(0x187)](normalizeTestPlanId,_0x5dda9d&&_0x5dda9d[_0x555f13(0x19e)]&&_0x5dda9d[_0x555f13(0x19e)]['testPlanId']);};exports[a171_0x1474a2(0x14f)]=(_0x256c14={},_0x180ed9=process[a171_0x1474a2(0x120)],_0x50daf1=process[a171_0x1474a2(0x1bb)])=>{const _0x4e9ab1=a171_0x1474a2,_0x318cfd={'ZOIJs':function(_0x47e1bd,_0x2b7b22){return _0x47e1bd(_0x2b7b22);},'McfaK':function(_0x5914f7,_0xaa2272){return _0x5914f7(_0xaa2272);}};try{const _0x258de0=_0x318cfd['ZOIJs'](normalizeTestPlanId,_0x318cfd[_0x4e9ab1(0x188)](readTestPlanIdFromCliArgs,_0x180ed9));if(_0x258de0)return _0x258de0;const _0x59026c=_0x318cfd[_0x4e9ab1(0x19c)](normalizeTestPlanId,_0x50daf1&&_0x50daf1[testHubConstants[_0x4e9ab1(0x179)][_0x4e9ab1(0x203)]]);if(_0x59026c)return _0x59026c;return _0x318cfd[_0x4e9ab1(0x188)](readTestPlanIdFromConfig,_0x256c14);}catch(_0x5ae1f4){return logger[_0x4e9ab1(0x1e1)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x5ae1f4&&_0x5ae1f4['message']?_0x5ae1f4[_0x4e9ab1(0x175)]:_0x5ae1f4)),undefined;}};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a172_0x4ab94d=a172_0x18de;function a172_0x540f(){const _0x1116dd=['DjFmu','trim','user_killed','getUserName','notifyUpdate','./performance/performance-tester','xsEOD','browser','osVersion','getTestFrameworkDetails','finalExecution',',\x20testhub\x20id:\x20','tLVKA','fireFunnelTestEvent','ENV_VAR','getTurboScaleBuildLink','values','34026nUujCR','isTurboScaleSession','\x20:\x20','stack','push','stopPercy','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','length','unknown','getTurboScaleSessionsList','selenium-webdriver','requirePWModule','nodeRequest','debug','VxPcJ','all','getGlobal','codeceptjs','YdQUE','errorMessage','APP_AUTOMATE','ypSIs','NCaUg','deviceName','AUTOMATE','sdkRunId','buildIdentifier','version','error','KuTZk','apply','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','chmodSync','./logger','buildName','env','../bin/utils/constants','_hubAllocationData','getStackTraceAsString','constants','seleniumVersion','framework','sendLogs','getPackageVersion','isModifiable','finalExecutionRan','./testhub/utils','[REDACTED]','../bin/playwright/reporter/pwUtils','util','QNJds','cMmqd','53301bsTsKT','329aseIor','DRwgK','toString','sRShu','isAppAutomateSession','parse','AUTOMATE_PRODUCTS','./globals','name','getNodeAgent','SDKTestSuccessful','Error\x20in\x20firing\x20request\x20to\x20','HBiDd','POST','tests','oIfhP','52UjIOGT','SboWq','keys','262380pmUyjM','accessSync','forEach','\x20has\x20now\x20read/write/execute\x20permissions.','unhandledErrors','format','UPZLP','isBrowserstackInfra','346064JQKlEG','mOPDh','killSignal','Failed\x20to\x20set\x20directory\x20access:\x20','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','source','application/json','null','148454IpxoZV','assign','hubAllocation','vlVpd','globalException','event_properties','ewHVZ','pLptz','oetmB','./helper','info','finishedMetadata','replace','type','getAccessKey','dfZhH','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','iUKaw','RPnRw','every','getOptimalHubUrl','../helpers/testhub/constants','jLKSe','zVfwd','config','split','playwrightVersion','object','SUtjT','join','X_OK','nodejs','setReadWriteExecuteAccess','UPVeE','3147290NrFZJD','APP_AUTOMATE_PRODUCTS','hostname','mJAeL','BROWSERSTACK_TESTHUB_UUID','IgCDD','winstonLogger','W_OK','browserStackConfig','63zLJCqy','22254Bphpiw','SDK\x20run\x20ended\x20for\x20id:\x20','browserVersion','body','./test-observability/utils','EkjPH'];a172_0x540f=function(){return _0x1116dd;};return a172_0x540f();}(function(_0x2b85eb,_0x21993f){const _0x18c841=a172_0x18de,_0x1fa5f4=_0x2b85eb();while(!![]){try{const _0x2e4b9f=-parseInt(_0x18c841(0xc1))/0x1+parseInt(_0x18c841(0x119))/0x2+-parseInt(_0x18c841(0xf5))/0x3*(-parseInt(_0x18c841(0x106))/0x4)+parseInt(_0x18c841(0x109))/0x5+-parseInt(_0x18c841(0xaa))/0x6*(parseInt(_0x18c841(0xf6))/0x7)+parseInt(_0x18c841(0x111))/0x8*(-parseInt(_0x18c841(0xa9))/0x9)+parseInt(_0x18c841(0x13b))/0xa;if(_0x2e4b9f===_0x21993f)break;else _0x1fa5f4['push'](_0x1fa5f4['shift']());}catch(_0x5cfca2){_0x1fa5f4['push'](_0x1fa5f4['shift']());}}}(a172_0x540f,0x275e0));function a172_0x18de(_0x4ce885,_0x22a912){const _0x540f96=a172_0x540f();return a172_0x18de=function(_0x18dead,_0x2825aa){_0x18dead=_0x18dead-0xa9;let _0x4fdb58=_0x540f96[_0x18dead];return _0x4fdb58;},a172_0x18de(_0x4ce885,_0x22a912);}const os=require('os'),util=require(a172_0x4ab94d(0xf2)),fs=require('fs'),{getProductMap}=require(a172_0x4ab94d(0xef)),logger=require(a172_0x4ab94d(0xe2))[a172_0x4ab94d(0x141)],constants=require(a172_0x4ab94d(0xe5)),testHubConstants=require(a172_0x4ab94d(0x12e)),{getTransformPath}=require(a172_0x4ab94d(0xf1)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a172_0x4ab94d(0xe5)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a172_0x4ab94d(0x122)),PerformanceTester=require(a172_0x4ab94d(0xb5)),globals=require(a172_0x4ab94d(0xfd)),helper=require('./helper'),{isTestObservabilitySession}=require(a172_0x4ab94d(0xae));let unhandledErrors='';exports[a172_0x4ab94d(0xbd)]=async(_0x57b9d8,_0x8db002={},_0x5e26a4,_0x3b8ba3,_0x1429b5=![])=>{const _0x11c978=a172_0x4ab94d,_0xe0e10b={'DjFmu':function(_0x46cb63,_0x35cf85){return _0x46cb63===_0x35cf85;},'VxPcJ':_0x11c978(0x134),'xsEOD':function(_0x3d9847,_0x183267){return _0x3d9847>_0x183267;},'tPEjS':_0x11c978(0x104),'IgCDD':function(_0x5cd5c0){return _0x5cd5c0();},'xLQOL':function(_0x2c3e74,_0x5c5820){return _0x2c3e74==_0x5c5820;},'tLVKA':_0x11c978(0x118),'Etlzi':function(_0x1d78ed,_0x3f76ca){return _0x1d78ed===_0x3f76ca;},'SboWq':'undefined','oetmB':_0x11c978(0xd2),'YdQUE':function(_0x952d1d,_0x29dd99){return _0x952d1d>_0x29dd99;},'DRwgK':function(_0x308f5c,_0xbc0f11){return _0x308f5c!==_0xbc0f11;},'UPVeE':'Playwright','gsrju':function(_0x18cdd4,_0x57d604){return _0x18cdd4===_0x57d604;},'iUKaw':_0x11c978(0xdd),'VMUPo':function(_0x526c32,_0x51db12){return _0x526c32+_0x51db12;},'SUtjT':_0x11c978(0x129),'oIfhP':'_buildHashedId','sQcbo':function(_0x517508,_0x278fb5){return _0x517508(_0x278fb5);},'mOPDh':function(_0x39fb7d,_0x2d9d80){return _0x39fb7d(_0x2d9d80);},'ypSIs':_0x11c978(0xc9),'sRShu':_0x11c978(0x138),'cMmqd':_0x11c978(0x100),'dNMCp':_0x11c978(0xcb),'zVfwd':_0x11c978(0x117),'HBiDd':_0x11c978(0xf0),'vlVpd':_0x11c978(0x103)};let _0x1b21c8=[];if(helper[_0x11c978(0x110)]()&&_0xe0e10b[_0x11c978(0x140)](isTestObservabilitySession))_0x1b21c8=helper[_0x11c978(0xfa)](_0x5e26a4)?constants[_0x11c978(0x13c)]:constants[_0x11c978(0xfc)];else{if(_0xe0e10b['IgCDD'](isTestObservabilitySession))_0x1b21c8=constants[_0x11c978(0xe0)];else helper[_0x11c978(0x110)]()&&(_0x1b21c8=helper['isAppAutomateSession'](_0x5e26a4)?constants[_0x11c978(0xd5)]:constants[_0x11c978(0xd9)]);}let _0x509965=_0x5e26a4[_0x11c978(0xdb)];if(_0xe0e10b['xLQOL'](_0x509965,null))_0x509965=_0xe0e10b[_0x11c978(0xbc)];else _0xe0e10b['Etlzi'](_0x509965,undefined)&&(_0x509965=_0xe0e10b[_0x11c978(0x107)]);unhandledErrors&&_0xe0e10b[_0x11c978(0xb6)](unhandledErrors[_0x11c978(0xc8)],0x0)&&(_0x8db002[_0x11c978(0x11d)]=unhandledErrors);global[_0x11c978(0xda)]&&(_0x8db002[_0x11c978(0xda)]=global[_0x11c978(0xda)]);try{if(_0x8db002[_0x11c978(0xdd)]){if(_0xe0e10b[_0x11c978(0xb0)](_0x3b8ba3,_0xe0e10b[_0x11c978(0x121)])&&_0xe0e10b[_0x11c978(0xd3)](_0x8db002[_0x11c978(0xdd)][_0x11c978(0xc8)],0x0)){const _0x2905de={};_0x2905de['os']='',_0x2905de[_0x11c978(0xb8)]='',_0x2905de[_0x11c978(0xb7)]='',_0x2905de['browserVersion']='';const _0x52c587=_0x2905de;let _0x543966={};const _0x1352ef=_0x8db002['error'];_0x543966=_0x1352ef['reduce']((_0x5dbc10,_0x4e87f1)=>{for(const _0x2c0686 in _0x4e87f1){_0x5dbc10[_0x2c0686]=_0x4e87f1[_0x2c0686];}return _0x5dbc10;},{});const _0x45977d={};_0x45977d[_0x11c978(0x104)]=_0x543966,_0x8db002[_0x11c978(0xdd)]=[Object[_0x11c978(0x11a)]({},_0x52c587,_0x45977d)];}else{let _0x3e1f4e=0x0;const _0x504def=_0xe0e10b[_0x11c978(0xf7)](_0x3b8ba3,_0xe0e10b[_0x11c978(0x13a)])?JSON[_0x11c978(0xfb)](_0x8db002[_0x11c978(0xdd)]):_0x8db002[_0x11c978(0xdd)],_0x3ad8d4=Object[_0x11c978(0xc0)](_0x504def);_0x3ad8d4[_0x11c978(0x10b)](_0x4e8df2=>{const _0x334171=_0x11c978;if(_0xe0e10b['DjFmu'](typeof _0x4e8df2,_0xe0e10b[_0x334171(0xcf)])){const _0x249874=Object['values'](_0x4e8df2);!_0x249874[_0x334171(0x12c)](_0x5aaca5=>_0x5aaca5===null||_0x5aaca5===undefined||_0x5aaca5==='')&&(_0x3e1f4e+=0x1);}});if(_0xe0e10b['gsrju'](_0x3e1f4e,0x0))delete _0x8db002[_0xe0e10b[_0x11c978(0x12a)]];else{const _0x16894e=[];Object[_0x11c978(0x108)](_0x504def)['forEach'](_0x578fda=>{const _0x40babc=_0x11c978,_0x5083ec={'ewHVZ':function(_0x1f508c,_0x32427b){return _0xe0e10b['xsEOD'](_0x1f508c,_0x32427b);}},[_0x33b178,_0x56936f,_0x3920f5,_0x575956]=_0x578fda[_0x40babc(0x132)](',\x20');let _0x1f6099={};if(!_0x575956){const _0x349108={};_0x349108[_0x40babc(0xd8)]=_0x33b178,_0x349108[_0x40babc(0xb8)]=_0x56936f,_0x349108[_0x40babc(0xb7)]=_0x3920f5,_0x1f6099=_0x349108;}else{const _0x51344c={};_0x51344c['os']=_0x33b178,_0x51344c[_0x40babc(0xb8)]=_0x56936f,_0x51344c[_0x40babc(0xb7)]=_0x3920f5,_0x51344c[_0x40babc(0xac)]=_0x575956,_0x1f6099=_0x51344c;}const _0x202363={},_0x32a2d3=_0x504def[_0x578fda];Object[_0x40babc(0x108)](_0x32a2d3)[_0x40babc(0x10b)](_0x5e2f3e=>{const _0x5e36dd=_0x40babc;_0x5083ec[_0x5e36dd(0x11f)](_0x32a2d3[_0x5e2f3e][_0x5e36dd(0xc8)],0x0)&&(_0x202363[_0x5e2f3e]=_0x32a2d3[_0x5e2f3e]);}),_0xe0e10b[_0x40babc(0xb6)](Object[_0x40babc(0x108)](_0x202363)[_0x40babc(0xc8)],0x0)&&(_0x1f6099[_0xe0e10b['tPEjS']]=_0x202363,_0x16894e[_0x40babc(0xc5)](_0x1f6099));}),_0xe0e10b[_0x11c978(0xb6)](_0x16894e[_0x11c978(0xc8)],0x0)?_0x8db002[_0x11c978(0xdd)]=_0x16894e:delete _0x8db002[_0xe0e10b[_0x11c978(0x12a)]];}}}}catch(_0x23f474){delete _0x8db002[_0xe0e10b[_0x11c978(0x12a)]],logger[_0x11c978(0xce)](_0xe0e10b['VMUPo'](_0xe0e10b[_0x11c978(0x135)],_0x23f474));}const _0x3ed0bc=helper[_0x11c978(0xb9)](_0x5e26a4,_0x5e26a4[_0x11c978(0xea)]),_0x5bbfcd={'userName':helper[_0x11c978(0xb3)](_0x5e26a4),'accessKey':helper[_0x11c978(0x127)](_0x5e26a4),'event_type':_0x57b9d8,'detectedFramework':_0x3b8ba3,'buildHashedId':globals[_0x11c978(0xd1)](_0xe0e10b[_0x11c978(0x105)]),'optimalHubUrl':helper[_0x11c978(0x12d)](),'event_properties':{'testhub_uuid':process[_0x11c978(0xe4)][testHubConstants[_0x11c978(0xbe)][_0x11c978(0x13f)]]||'','sdkRunId':global['sdkRunId'],'product_map':_0xe0e10b['sQcbo'](getProductMap,_0x5e26a4),'productMap':_0xe0e10b[_0x11c978(0x112)](getProductMap,_0x5e26a4),'language_framework':_0x5e26a4[_0x11c978(0x116)]||_0xe0e10b[_0x11c978(0xd6)],'referrer':helper[_0x11c978(0xff)](_0x3b8ba3),'framework':_0x5e26a4[_0x11c978(0xea)],'frameworkVersion':helper['getFrameworkVersion'](_0x3b8ba3),'automationFramework':_0x3ed0bc[_0x11c978(0xfe)],'automationFrameworkVersion':_0x3ed0bc[_0x11c978(0xdc)],'language':_0xe0e10b[_0x11c978(0xf9)],'languageVersion':process[_0x11c978(0xdc)],'product':_0x1b21c8,'buildName':_0x5e26a4[_0x11c978(0xe3)]||_0xe0e10b[_0x11c978(0x107)],'buildIdentifier':_0x509965,'os':os[_0x11c978(0x126)]()||_0xe0e10b[_0x11c978(0xd6)],'hostname':os[_0x11c978(0x13d)]()||_0xe0e10b['ypSIs'],..._0x8db002,'isCLIEnabled':_0x1429b5}};try{_0xe0e10b[_0x11c978(0xb0)](_0x57b9d8,_0xe0e10b[_0x11c978(0xf4)])&&(_0x5bbfcd['event_properties'][_0x11c978(0x143)]=helper['sanitizeBrowserStackConfig'](_0x5e26a4)),_0xe0e10b['DjFmu'](_0x3b8ba3,_0xe0e10b['UPVeE'])?_0x5bbfcd[_0x11c978(0x11e)][_0x11c978(0x133)]=helper[_0x11c978(0xcc)][_0x11c978(0xdf)](null,_0xe0e10b[_0x11c978(0x140)](getTransformPath),!![]):_0x5bbfcd['event_properties'][_0x11c978(0xe9)]=helper[_0x11c978(0xec)](_0xe0e10b['dNMCp']);}catch(_0x2292db){logger[_0x11c978(0xce)](_0x11c978(0x115)+_0x2292db);}const _0x38ab4d={};_0x38ab4d['content-type']=_0xe0e10b[_0x11c978(0x130)];const _0x49a2aa={'headers':_0x38ab4d,'body':_0x5bbfcd,'auth':{'user':helper['getUserName'](_0x5e26a4),'pass':helper['getAccessKey'](_0x5e26a4)},'json':!![]};logger[_0x11c978(0xce)](_0x11c978(0xc7)+JSON['stringify'](_0x49a2aa[_0x11c978(0xad)])['replace'](new RegExp(helper['getUserName'](_0x5e26a4),'g'),_0xe0e10b[_0x11c978(0x102)])[_0x11c978(0x125)](new RegExp(helper[_0x11c978(0x127)](_0x5e26a4),'g'),_0xe0e10b[_0x11c978(0x102)]));try{const _0x2b0242=await helper[_0x11c978(0xcd)](_0xe0e10b[_0x11c978(0x11c)],FUNNEL_INSTRUMENTATION_API_URL,_0x49a2aa,_0x5e26a4);logger[_0x11c978(0xce)]('API\x20Event\x20'+_0x57b9d8+'\x20response\x20-\x20'+util[_0x11c978(0x10e)]('%j',_0x2b0242));}catch(_0x3d8fe2){logger[_0x11c978(0xce)](_0x11c978(0x101)+FUNNEL_INSTRUMENTATION_API_URL+_0x11c978(0xc3)+util[_0x11c978(0x10e)](_0x3d8fe2));}},exports[a172_0x4ab94d(0xba)]=async(_0xe600d3,_0x37bb9e=![])=>{const _0x57913c=a172_0x4ab94d,_0x22bcda={'KuTZk':function(_0x4e71f8){return _0x4e71f8();},'RPnRw':_0x57913c(0xe6),'UPZLP':_0x57913c(0x124),'EkjPH':_0x57913c(0xb2),'jLKSe':_0x57913c(0x100),'dfZhH':function(_0x5d3275,_0x347d77,_0x3dbfc3){return _0x5d3275(_0x347d77,_0x3dbfc3);},'NCaUg':function(_0x5b83c1,_0x520d36){return _0x5b83c1+_0x520d36;},'IRfNu':'Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20'};if(_0xe600d3['finalExecutionRan'])return;_0xe600d3[_0x57913c(0xee)]=!![];try{await _0xe600d3[_0x57913c(0xc6)](),_0x22bcda[_0x57913c(0xde)](printNudgeLocalNotSetError);const _0xd664bb={};_0xd664bb[_0x57913c(0xdd)]=_0xe600d3['errorMessage']?_0xe600d3[_0x57913c(0xd4)]:'{}';const _0x4f2ce6=_0xd664bb,_0x30f5a4=Object[_0x57913c(0x11a)]({},_0x4f2ce6),_0x4b01bf=globals['getGlobal'](_0x22bcda[_0x57913c(0x12b)]);_0x4b01bf&&(_0x30f5a4[_0x57913c(0x11b)]=_0x4b01bf);!!_0xe600d3[_0x57913c(0x113)]&&(_0x30f5a4[_0x22bcda[_0x57913c(0x10f)]]={'reason':_0x22bcda[_0x57913c(0xaf)],'signal':_0xe600d3[_0x57913c(0x113)]});unhandledErrors=_0xe600d3[_0x57913c(0x10d)][_0x57913c(0x136)]('\x0a');let _0x54c1db,_0x8818ac,_0x3964f5;helper[_0x57913c(0xc2)](_0xe600d3['config'])?([_0x54c1db,_0x8818ac]=await helper[_0x57913c(0xbf)](_0xe600d3['config']),[_0x3964f5]=await Promise[_0x57913c(0xd0)]([helper[_0x57913c(0xca)](_0x54c1db,_0xe600d3[_0x57913c(0x131)]),exports[_0x57913c(0xbd)](_0x22bcda[_0x57913c(0x12f)],_0x30f5a4,_0xe600d3[_0x57913c(0x131)],_0xe600d3[_0x57913c(0xea)],_0x37bb9e)])):([_0x54c1db,_0x8818ac]=await helper['getBuildLink'](_0xe600d3[_0x57913c(0x131)]),[_0x3964f5]=await Promise['all']([helper['getSessionsList'](_0x54c1db,_0xe600d3['config']),exports[_0x57913c(0xbd)](_0x22bcda[_0x57913c(0x12f)],_0x30f5a4,_0xe600d3[_0x57913c(0x131)],_0xe600d3[_0x57913c(0xea)],_0x37bb9e)])),_0x3964f5&&await _0x22bcda[_0x57913c(0x128)](generateCIArtifacts,_0x3964f5,_0x8818ac),logger[_0x57913c(0x123)](_0x57913c(0xab)+_0xe600d3['sdkRunId']+_0x57913c(0xbb)+process['env'][_0x57913c(0x13f)]),await helper[_0x57913c(0xeb)](_0xe600d3[_0x57913c(0x131)]);}catch(_0x4e6137){logger['debug'](_0x22bcda[_0x57913c(0xd7)](_0x22bcda['IRfNu'],_0x4e6137));}helper[_0x57913c(0xb4)]();},exports[a172_0x4ab94d(0xe7)]=_0x17c1c5=>{const _0x537f17=a172_0x4ab94d,_0x3efce9={'QNJds':function(_0xfa7dbf,_0xec5db){return _0xfa7dbf instanceof _0xec5db;},'SrGet':function(_0x235128,_0x4e2dde){return _0x235128(_0x4e2dde);}};try{if(_0x3efce9[_0x537f17(0xf3)](_0x17c1c5,Error))return _0x17c1c5[_0x537f17(0xc4)]||_0x17c1c5[_0x537f17(0xf8)]();return _0x3efce9['SrGet'](String,_0x17c1c5);}catch(_0x35ef89){return _0x17c1c5?_0x17c1c5['toString']():'';}},exports['isNullOrEmpty']=_0x140943=>{const _0x48571f=a172_0x4ab94d,_0x427f20={};_0x427f20['pLptz']=function(_0x5e6648,_0x1055a3){return _0x5e6648===_0x1055a3;};const _0x2b9e3b=_0x427f20;return!_0x140943||_0x2b9e3b[_0x48571f(0x120)](_0x140943[_0x48571f(0xb1)](),'');},exports[a172_0x4ab94d(0xed)]=_0x50c7a9=>{const _0x555de7=a172_0x4ab94d,_0x42132d={};_0x42132d[_0x555de7(0x13e)]=function(_0x57f55c,_0x11958d){return _0x57f55c|_0x11958d;};const _0x1474f9=_0x42132d;try{return fs[_0x555de7(0x10a)](_0x50c7a9,_0x1474f9['mJAeL'](fs[_0x555de7(0xe8)][_0x555de7(0x142)],fs[_0x555de7(0xe8)][_0x555de7(0x137)])),!![];}catch(_0x46476a){return![];}},exports[a172_0x4ab94d(0x139)]=_0x4cc29b=>{const _0x30d9a8=a172_0x4ab94d;try{fs[_0x30d9a8(0xe1)](_0x4cc29b,0x1ff),logger[_0x30d9a8(0xce)]('Directory\x20'+_0x4cc29b+_0x30d9a8(0x10c));}catch(_0xaf83fc){logger[_0x30d9a8(0xdd)](_0x30d9a8(0x114)+exports[_0x30d9a8(0xe7)](_0xaf83fc));}};
|
|
1
|
+
const a172_0x1a2199=a172_0x5761;function a172_0x5e30(){const _0x1044f5=['values','name','X_OK','chmodSync','./logger','rLCYG','NTVDo','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','isNullOrEmpty','[REDACTED]','stringify','application/json','browser','event_properties','errorMessage','API\x20Event\x20','push','codeceptjs','playwrightVersion','3330135hzMVFW','browserVersion','ukxRN','error','getAccessKey','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','eEjWB','419LTWIuJ','getPackageVersion','\x20has\x20now\x20read/write/execute\x20permissions.','rPBol','setReadWriteExecuteAccess','stopPercy','isModifiable','buildIdentifier','rwDNw','nodeRequest','Playwright','keys','SUZIX','aozqk','671077wyAksh','isBrowserstackInfra','util','kISap','assign','1964936DSNKgg','isAppAutomateSession','620553pyqeGb','../bin/utils/constants','AUTOMATE','getOptimalHubUrl','3723290AASZAm','framework','getNodeAgent','getSessionsList','4rxuarq','Failed\x20to\x20set\x20directory\x20access:\x20','hubAllocation','txTgo','version','deviceName','trim','getGlobal','UWLYV','getBuildLink','osVersion','sanitizeBrowserStackConfig','RdMbO','./helper','getFrameworkVersion','finalExecution','APP_AUTOMATE_PRODUCTS','mXrrB','sdkRunId','requirePWModule','yhHhs','isTurboScaleSession','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','source','body','10WMUUFl','selenium-webdriver','ghESU','debug','Error\x20in\x20firing\x20request\x20to\x20','AUTOMATE_PRODUCTS','getUserName','SDK\x20run\x20ended\x20for\x20id:\x20','notifyUpdate','killSignal','info','every','wNFfB','ENV_VAR','getTurboScaleSessionsList','buildName','tests','forEach','DAgqV','546dZgEkI','toString','./test-observability/utils','seleniumVersion','nodejs','split','FBdPr','../helpers/testhub/constants','BROWSERSTACK_TESTHUB_UUID','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','constants','QOvft','JBUsf','finishedMetadata','accessSync','\x20response\x20-\x20','LUHrq','browserStackConfig','all','IAkcK','POST','kKYYc','./globals','lfxxq','unhandledErrors','nluTw','wOQvf','format','SDKTestSuccessful','getTurboScaleBuildLink','stack','object','FSYfG','BjlAG','yazHY','./performance/performance-tester','finalExecutionRan','XYGos','user_killed','trVMG','4808VQkJTV','APP_AUTOMATE','LsaFV','bOxbv','41682NRwvFJ','content-type','getStackTraceAsString','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','W_OK','eSnwQ','replace','config','lOJkL','fireFunnelTestEvent','tQACT','168LzgBrm','Nyfzz','\x20:\x20','getTestFrameworkDetails','unknown','length','_buildHashedId','env'];a172_0x5e30=function(){return _0x1044f5;};return a172_0x5e30();}(function(_0x2fb729,_0x38698e){const _0x4e9bbd=a172_0x5761,_0x31598c=_0x2fb729();while(!![]){try{const _0x2736b3=-parseInt(_0x4e9bbd(0x93))/0x1*(parseInt(_0x4e9bbd(0x104))/0x2)+parseInt(_0x4e9bbd(0xa8))/0x3*(parseInt(_0x4e9bbd(0xb0))/0x4)+parseInt(_0x4e9bbd(0xac))/0x5+-parseInt(_0x4e9bbd(0x108))/0x6*(-parseInt(_0x4e9bbd(0xdc))/0x7)+-parseInt(_0x4e9bbd(0xa6))/0x8+parseInt(_0x4e9bbd(0x8c))/0x9*(-parseInt(_0x4e9bbd(0xc9))/0xa)+-parseInt(_0x4e9bbd(0xa1))/0xb*(-parseInt(_0x4e9bbd(0x113))/0xc);if(_0x2736b3===_0x38698e)break;else _0x31598c['push'](_0x31598c['shift']());}catch(_0x251c4e){_0x31598c['push'](_0x31598c['shift']());}}}(a172_0x5e30,0xb0e55));const os=require('os'),util=require(a172_0x1a2199(0xa3)),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require(a172_0x1a2199(0x11f))['winstonLogger'],constants=require('../bin/utils/constants'),testHubConstants=require(a172_0x1a2199(0xe3)),{getTransformPath}=require('../bin/playwright/reporter/pwUtils'),{FUNNEL_INSTRUMENTATION_API_URL}=require(a172_0x1a2199(0xa9)),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a172_0x1a2199(0xff)),globals=require(a172_0x1a2199(0xf2)),helper=require(a172_0x1a2199(0xbd)),{isTestObservabilitySession}=require(a172_0x1a2199(0xde));function a172_0x5761(_0x48e19a,_0x516fc3){const _0x5e30b7=a172_0x5e30();return a172_0x5761=function(_0x576164,_0x3f04d9){_0x576164=_0x576164-0x82;let _0x58f061=_0x5e30b7[_0x576164];return _0x58f061;},a172_0x5761(_0x48e19a,_0x516fc3);}let unhandledErrors='';exports['fireFunnelTestEvent']=async(_0x445cea,_0x671dd6={},_0x38670e,_0x2d182e,_0x271014=![])=>{const _0x55947a=a172_0x1a2199,_0x333810={'eSnwQ':function(_0x549adf,_0x227741){return _0x549adf===_0x227741;},'yazHY':_0x55947a(0xfb),'rwDNw':function(_0x3e9734,_0x60416){return _0x3e9734>_0x60416;},'JBUsf':_0x55947a(0xd9),'xfOan':function(_0x360b40){return _0x360b40();},'XYGos':function(_0x1a937c,_0x30a4b4){return _0x1a937c==_0x30a4b4;},'bOxbv':'null','QOvft':'undefined','ghESU':function(_0x47b2fa,_0x2d1801){return _0x47b2fa>_0x2d1801;},'FBdPr':_0x55947a(0x8a),'UWLYV':function(_0x431e40,_0x4fca69){return _0x431e40!==_0x4fca69;},'FSYfG':_0x55947a(0x9d),'MOXMA':function(_0x359e04,_0x49187f){return _0x359e04===_0x49187f;},'wOQvf':_0x55947a(0x8f),'mXrrB':function(_0x1d361d,_0x2c9d43){return _0x1d361d>_0x2c9d43;},'aozqk':function(_0x1d86a6,_0x193b22){return _0x1d86a6+_0x193b22;},'DAgqV':_0x55947a(0xe5),'zEpBz':_0x55947a(0x119),'wNFfB':function(_0x309837,_0x5103c2){return _0x309837(_0x5103c2);},'RdMbO':function(_0x549642,_0xd40af3){return _0x549642(_0xd40af3);},'rPBol':_0x55947a(0x117),'BjlAG':_0x55947a(0xe0),'IAkcK':_0x55947a(0xf8),'ukxRN':function(_0x292a39,_0x15e9c8){return _0x292a39===_0x15e9c8;},'trVMG':function(_0x1aa8ce){return _0x1aa8ce();},'kISap':_0x55947a(0xca),'kKYYc':_0x55947a(0x84),'lfxxq':_0x55947a(0x82),'nluTw':_0x55947a(0xf0)};let _0x4ad0bd=[];if(helper[_0x55947a(0xa2)]()&&_0x333810['xfOan'](isTestObservabilitySession))_0x4ad0bd=helper[_0x55947a(0xa7)](_0x38670e)?constants[_0x55947a(0xc0)]:constants[_0x55947a(0xce)];else{if(_0x333810['xfOan'](isTestObservabilitySession))_0x4ad0bd=constants[_0x55947a(0x91)];else helper[_0x55947a(0xa2)]()&&(_0x4ad0bd=helper[_0x55947a(0xa7)](_0x38670e)?constants[_0x55947a(0x105)]:constants[_0x55947a(0xaa)]);}let _0x1200ed=_0x38670e[_0x55947a(0x9a)];if(_0x333810[_0x55947a(0x101)](_0x1200ed,null))_0x1200ed=_0x333810[_0x55947a(0x107)];else _0x333810['eSnwQ'](_0x1200ed,undefined)&&(_0x1200ed=_0x333810[_0x55947a(0xe7)]);unhandledErrors&&_0x333810[_0x55947a(0xcb)](unhandledErrors[_0x55947a(0x118)],0x0)&&(_0x671dd6['globalException']=unhandledErrors);global[_0x55947a(0xc2)]&&(_0x671dd6['sdkRunId']=global[_0x55947a(0xc2)]);try{if(_0x671dd6['error']){if(_0x333810[_0x55947a(0x10d)](_0x2d182e,_0x333810[_0x55947a(0xe2)])&&_0x333810[_0x55947a(0x9b)](_0x671dd6[_0x55947a(0x8f)][_0x55947a(0x118)],0x0)){const _0x38727a={};_0x38727a['os']='',_0x38727a[_0x55947a(0xba)]='',_0x38727a[_0x55947a(0x85)]='',_0x38727a[_0x55947a(0x8d)]='';const _0x143474=_0x38727a;let _0x25ce8f={};const _0x2848b1=_0x671dd6[_0x55947a(0x8f)];_0x25ce8f=_0x2848b1['reduce']((_0x4b7a8c,_0x292c4e)=>{for(const _0x37b647 in _0x292c4e){_0x4b7a8c[_0x37b647]=_0x292c4e[_0x37b647];}return _0x4b7a8c;},{});const _0x435203={};_0x435203[_0x55947a(0xd9)]=_0x25ce8f,_0x671dd6[_0x55947a(0x8f)]=[Object[_0x55947a(0xa5)]({},_0x143474,_0x435203)];}else{let _0x252b30=0x0;const _0x333328=_0x333810[_0x55947a(0xb8)](_0x2d182e,_0x333810[_0x55947a(0xfc)])?JSON['parse'](_0x671dd6['error']):_0x671dd6[_0x55947a(0x8f)],_0x14851b=Object['values'](_0x333328);_0x14851b[_0x55947a(0xda)](_0x2865dd=>{const _0x1a2c5f=_0x55947a;if(_0x333810[_0x1a2c5f(0x10d)](typeof _0x2865dd,_0x333810[_0x1a2c5f(0xfe)])){const _0x47990a=Object[_0x1a2c5f(0x11b)](_0x2865dd);!_0x47990a[_0x1a2c5f(0xd4)](_0x58c19e=>_0x58c19e===null||_0x58c19e===undefined||_0x58c19e==='')&&(_0x252b30+=0x1);}});if(_0x333810['MOXMA'](_0x252b30,0x0))delete _0x671dd6[_0x333810[_0x55947a(0xf6)]];else{const _0xf3fcae=[];Object[_0x55947a(0x9e)](_0x333328)[_0x55947a(0xda)](_0x36cbcb=>{const _0x29f00e=_0x55947a,[_0x8b59a2,_0x4aabca,_0x3df252,_0x273cac]=_0x36cbcb[_0x29f00e(0xe1)](',\x20');let _0x3cda99={};if(!_0x273cac){const _0x3fe7ae={};_0x3fe7ae[_0x29f00e(0xb5)]=_0x8b59a2,_0x3fe7ae['osVersion']=_0x4aabca,_0x3fe7ae['browser']=_0x3df252,_0x3cda99=_0x3fe7ae;}else{const _0x27ce0f={};_0x27ce0f['os']=_0x8b59a2,_0x27ce0f['osVersion']=_0x4aabca,_0x27ce0f[_0x29f00e(0x85)]=_0x3df252,_0x27ce0f[_0x29f00e(0x8d)]=_0x273cac,_0x3cda99=_0x27ce0f;}const _0x353d6f={},_0x5a59bb=_0x333328[_0x36cbcb];Object[_0x29f00e(0x9e)](_0x5a59bb)[_0x29f00e(0xda)](_0x56916d=>{const _0x39050f=_0x29f00e;_0x333810[_0x39050f(0x9b)](_0x5a59bb[_0x56916d]['length'],0x0)&&(_0x353d6f[_0x56916d]=_0x5a59bb[_0x56916d]);}),_0x333810[_0x29f00e(0x9b)](Object[_0x29f00e(0x9e)](_0x353d6f)['length'],0x0)&&(_0x3cda99[_0x333810[_0x29f00e(0xe8)]]=_0x353d6f,_0xf3fcae[_0x29f00e(0x89)](_0x3cda99));}),_0x333810[_0x55947a(0xc1)](_0xf3fcae[_0x55947a(0x118)],0x0)?_0x671dd6['error']=_0xf3fcae:delete _0x671dd6[_0x333810[_0x55947a(0xf6)]];}}}}catch(_0x54b3b0){delete _0x671dd6[_0x333810[_0x55947a(0xf6)]],logger[_0x55947a(0xcc)](_0x333810[_0x55947a(0xa0)](_0x333810[_0x55947a(0xdb)],_0x54b3b0));}const _0x456483=helper[_0x55947a(0x116)](_0x38670e,_0x38670e[_0x55947a(0xad)]),_0x592b58={'userName':helper[_0x55947a(0xcf)](_0x38670e),'accessKey':helper['getAccessKey'](_0x38670e),'event_type':_0x445cea,'detectedFramework':_0x2d182e,'buildHashedId':globals[_0x55947a(0xb7)](_0x333810['zEpBz']),'optimalHubUrl':helper[_0x55947a(0xab)](),'event_properties':{'testhub_uuid':process[_0x55947a(0x11a)][testHubConstants[_0x55947a(0xd6)][_0x55947a(0xe4)]]||'','sdkRunId':global[_0x55947a(0xc2)],'product_map':_0x333810[_0x55947a(0xd5)](getProductMap,_0x38670e),'productMap':_0x333810[_0x55947a(0xbc)](getProductMap,_0x38670e),'language_framework':_0x38670e[_0x55947a(0xc7)]||_0x333810[_0x55947a(0x96)],'referrer':helper[_0x55947a(0xae)](_0x2d182e),'framework':_0x38670e[_0x55947a(0xad)],'frameworkVersion':helper[_0x55947a(0xbe)](_0x2d182e),'automationFramework':_0x456483[_0x55947a(0x11c)],'automationFrameworkVersion':_0x456483['version'],'language':_0x333810[_0x55947a(0xfd)],'languageVersion':process[_0x55947a(0xb4)],'product':_0x4ad0bd,'buildName':_0x38670e[_0x55947a(0xd8)]||_0x333810['QOvft'],'buildIdentifier':_0x1200ed,'os':os['type']()||_0x333810[_0x55947a(0x96)],'hostname':os['hostname']()||_0x333810[_0x55947a(0x96)],..._0x671dd6,'isCLIEnabled':_0x271014}};try{_0x333810[_0x55947a(0x10d)](_0x445cea,_0x333810[_0x55947a(0xef)])&&(_0x592b58[_0x55947a(0x86)][_0x55947a(0xed)]=helper[_0x55947a(0xbb)](_0x38670e)),_0x333810[_0x55947a(0x8e)](_0x2d182e,_0x333810[_0x55947a(0xfc)])?_0x592b58[_0x55947a(0x86)][_0x55947a(0x8b)]=helper[_0x55947a(0xc3)]['apply'](null,_0x333810[_0x55947a(0x103)](getTransformPath),!![]):_0x592b58['event_properties'][_0x55947a(0xdf)]=helper[_0x55947a(0x94)](_0x333810[_0x55947a(0xa4)]);}catch(_0x25f260){logger['debug'](_0x55947a(0xc6)+_0x25f260);}const _0x5e2f4b={};_0x5e2f4b[_0x55947a(0x109)]=_0x333810[_0x55947a(0xf1)];const _0x3723e2={'headers':_0x5e2f4b,'body':_0x592b58,'auth':{'user':helper[_0x55947a(0xcf)](_0x38670e),'pass':helper[_0x55947a(0x90)](_0x38670e)},'json':!![]};logger[_0x55947a(0xcc)](_0x55947a(0x10b)+JSON[_0x55947a(0x83)](_0x3723e2[_0x55947a(0xc8)])[_0x55947a(0x10e)](new RegExp(helper['getUserName'](_0x38670e),'g'),_0x333810[_0x55947a(0xf3)])[_0x55947a(0x10e)](new RegExp(helper['getAccessKey'](_0x38670e),'g'),_0x333810['lfxxq']));try{const _0x88c32e=await helper[_0x55947a(0x9c)](_0x333810[_0x55947a(0xf5)],FUNNEL_INSTRUMENTATION_API_URL,_0x3723e2,_0x38670e);logger[_0x55947a(0xcc)](_0x55947a(0x88)+_0x445cea+_0x55947a(0xeb)+util[_0x55947a(0xf7)]('%j',_0x88c32e));}catch(_0x5cd1c3){logger['debug'](_0x55947a(0xcd)+FUNNEL_INSTRUMENTATION_API_URL+_0x55947a(0x115)+util[_0x55947a(0xf7)](_0x5cd1c3));}},exports[a172_0x1a2199(0xbf)]=async(_0x142473,_0x5534f6=![])=>{const _0x52bb70=a172_0x1a2199,_0x5a130c={'rLCYG':function(_0x3246de){return _0x3246de();},'LsaFV':'_hubAllocationData','Nyfzz':_0x52bb70(0xe9),'NTVDo':_0x52bb70(0x102),'yhHhs':_0x52bb70(0xf8),'txTgo':function(_0x519f55,_0x142851,_0x49136c){return _0x519f55(_0x142851,_0x49136c);},'LUHrq':function(_0x59a90f,_0x47f905){return _0x59a90f+_0x47f905;},'lOJkL':_0x52bb70(0x122)};if(_0x142473[_0x52bb70(0x100)])return;_0x142473[_0x52bb70(0x100)]=!![];try{await _0x142473[_0x52bb70(0x98)](),_0x5a130c[_0x52bb70(0x120)](printNudgeLocalNotSetError);const _0x5c1fd5={};_0x5c1fd5['error']=_0x142473['errorMessage']?_0x142473[_0x52bb70(0x87)]:'{}';const _0x373ea0=_0x5c1fd5,_0x114d8c=Object[_0x52bb70(0xa5)]({},_0x373ea0),_0xbc43e=globals[_0x52bb70(0xb7)](_0x5a130c[_0x52bb70(0x106)]);_0xbc43e&&(_0x114d8c[_0x52bb70(0xb2)]=_0xbc43e);!!_0x142473[_0x52bb70(0xd2)]&&(_0x114d8c[_0x5a130c[_0x52bb70(0x114)]]={'reason':_0x5a130c[_0x52bb70(0x121)],'signal':_0x142473[_0x52bb70(0xd2)]});unhandledErrors=_0x142473[_0x52bb70(0xf4)]['join']('\x0a');let _0x302e24,_0x11d069,_0x7132b7;helper[_0x52bb70(0xc5)](_0x142473[_0x52bb70(0x10f)])?([_0x302e24,_0x11d069]=await helper[_0x52bb70(0xf9)](_0x142473[_0x52bb70(0x10f)]),[_0x7132b7]=await Promise['all']([helper[_0x52bb70(0xd7)](_0x302e24,_0x142473[_0x52bb70(0x10f)]),exports[_0x52bb70(0x111)](_0x5a130c[_0x52bb70(0xc4)],_0x114d8c,_0x142473[_0x52bb70(0x10f)],_0x142473[_0x52bb70(0xad)],_0x5534f6)])):([_0x302e24,_0x11d069]=await helper[_0x52bb70(0xb9)](_0x142473[_0x52bb70(0x10f)]),[_0x7132b7]=await Promise[_0x52bb70(0xee)]([helper[_0x52bb70(0xaf)](_0x302e24,_0x142473[_0x52bb70(0x10f)]),exports[_0x52bb70(0x111)](_0x5a130c['yhHhs'],_0x114d8c,_0x142473[_0x52bb70(0x10f)],_0x142473[_0x52bb70(0xad)],_0x5534f6)])),_0x7132b7&&await _0x5a130c[_0x52bb70(0xb3)](generateCIArtifacts,_0x7132b7,_0x11d069),logger[_0x52bb70(0xd3)](_0x52bb70(0xd0)+_0x142473[_0x52bb70(0xc2)]+',\x20testhub\x20id:\x20'+process[_0x52bb70(0x11a)][_0x52bb70(0xe4)]),await helper['sendLogs'](_0x142473['config']);}catch(_0x39b9a3){logger[_0x52bb70(0xcc)](_0x5a130c[_0x52bb70(0xec)](_0x5a130c[_0x52bb70(0x110)],_0x39b9a3));}helper[_0x52bb70(0xd1)]();},exports[a172_0x1a2199(0x10a)]=_0x4db9f6=>{const _0x22a4d9=a172_0x1a2199,_0x5d93c2={'SUZIX':function(_0x5553f1,_0x574397){return _0x5553f1 instanceof _0x574397;},'Pdijo':function(_0x21416e,_0x5c8dd4){return _0x21416e(_0x5c8dd4);}};try{if(_0x5d93c2[_0x22a4d9(0x9f)](_0x4db9f6,Error))return _0x4db9f6[_0x22a4d9(0xfa)]||_0x4db9f6[_0x22a4d9(0xdd)]();return _0x5d93c2['Pdijo'](String,_0x4db9f6);}catch(_0x419c95){return _0x4db9f6?_0x4db9f6[_0x22a4d9(0xdd)]():'';}},exports[a172_0x1a2199(0x123)]=_0x41d2cd=>{const _0x1759e0=a172_0x1a2199,_0x5bea39={};_0x5bea39[_0x1759e0(0x112)]=function(_0x4fece8,_0xb05477){return _0x4fece8===_0xb05477;};const _0xcaae30=_0x5bea39;return!_0x41d2cd||_0xcaae30[_0x1759e0(0x112)](_0x41d2cd[_0x1759e0(0xb6)](),'');},exports[a172_0x1a2199(0x99)]=_0x28ad7d=>{const _0xe3de8b=a172_0x1a2199,_0x58761a={};_0x58761a[_0xe3de8b(0x92)]=function(_0x47aa7e,_0x214a61){return _0x47aa7e|_0x214a61;};const _0x58550f=_0x58761a;try{return fs[_0xe3de8b(0xea)](_0x28ad7d,_0x58550f['eEjWB'](fs[_0xe3de8b(0xe6)][_0xe3de8b(0x10c)],fs[_0xe3de8b(0xe6)][_0xe3de8b(0x11d)])),!![];}catch(_0x4ccef0){return![];}},exports[a172_0x1a2199(0x97)]=_0x1b259d=>{const _0x41a73f=a172_0x1a2199;try{fs[_0x41a73f(0x11e)](_0x1b259d,0x1ff),logger[_0x41a73f(0xcc)]('Directory\x20'+_0x1b259d+_0x41a73f(0x95));}catch(_0x31b094){logger['error'](_0x41a73f(0xb1)+exports[_0x41a73f(0x10a)](_0x31b094));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a173_0xbe22ba=a173_0x39e5;(function(_0x53667c,_0x2c995e){var _0x7ae49c=a173_0x39e5,_0x155743=_0x53667c();while(!![]){try{var _0x4827bb=-parseInt(_0x7ae49c(0x26e))/0x1+parseInt(_0x7ae49c(0x278))/0x2*(-parseInt(_0x7ae49c(0x21b))/0x3)+-parseInt(_0x7ae49c(0x223))/0x4*(parseInt(_0x7ae49c(0x251))/0x5)+parseInt(_0x7ae49c(0x247))/0x6*(-parseInt(_0x7ae49c(0x200))/0x7)+parseInt(_0x7ae49c(0x233))/0x8*(-parseInt(_0x7ae49c(0x22d))/0x9)+parseInt(_0x7ae49c(0x206))/0xa*(parseInt(_0x7ae49c(0x27f))/0xb)+parseInt(_0x7ae49c(0x280))/0xc;if(_0x4827bb===_0x2c995e)break;else _0x155743['push'](_0x155743['shift']());}catch(_0x2d0f94){_0x155743['push'](_0x155743['shift']());}}}(a173_0x42cc,0x7e532),exports[a173_0xbe22ba(0x259)]=()=>{var _0x440105=a173_0xbe22ba,_0x530e21={};_0x530e21['yLwAM']=_0x440105(0x23c),_0x530e21[_0x440105(0x230)]=_0x440105(0x23a),_0x530e21[_0x440105(0x241)]=_0x440105(0x236),_0x530e21[_0x440105(0x232)]=_0x440105(0x220),_0x530e21[_0x440105(0x237)]=_0x440105(0x24c),_0x530e21[_0x440105(0x257)]='useW3c',_0x530e21['vGELX']='projectName',_0x530e21[_0x440105(0x204)]=_0x440105(0x22b),_0x530e21[_0x440105(0x1fa)]='sessionName',_0x530e21['WLqEp']=_0x440105(0x22e),_0x530e21[_0x440105(0x210)]=_0x440105(0x22a),_0x530e21[_0x440105(0x254)]='debug',_0x530e21[_0x440105(0x1f8)]='consoleLogs',_0x530e21[_0x440105(0x24e)]=_0x440105(0x21d),_0x530e21[_0x440105(0x203)]=_0x440105(0x207),_0x530e21[_0x440105(0x26c)]='appiumLogs',_0x530e21[_0x440105(0x26a)]=_0x440105(0x226),_0x530e21[_0x440105(0x25a)]=_0x440105(0x279),_0x530e21[_0x440105(0x21f)]=_0x440105(0x209),_0x530e21[_0x440105(0x22f)]=_0x440105(0x274),_0x530e21['qMKmi']=_0x440105(0x1fd),_0x530e21['mvhhq']=_0x440105(0x1fc),_0x530e21[_0x440105(0x240)]=_0x440105(0x255),_0x530e21[_0x440105(0x214)]=_0x440105(0x1f6),_0x530e21['Gjfkt']=_0x440105(0x26f),_0x530e21[_0x440105(0x264)]=_0x440105(0x26b),_0x530e21['GkglO']=_0x440105(0x21c),_0x530e21['UAXID']='hosts',_0x530e21['mebmQ']=_0x440105(0x266),_0x530e21[_0x440105(0x271)]='wsLocalSupport',_0x530e21[_0x440105(0x263)]=_0x440105(0x246),_0x530e21['SWZgz']=_0x440105(0x234),_0x530e21[_0x440105(0x23b)]=_0x440105(0x256),_0x530e21[_0x440105(0x281)]=_0x440105(0x222),_0x530e21['BzqNF']=_0x440105(0x27a),_0x530e21['XmfFj']='customNetwork',_0x530e21['sbUzr']=_0x440105(0x216),_0x530e21[_0x440105(0x268)]=_0x440105(0x235),_0x530e21['QaHdg']=_0x440105(0x1ff),_0x530e21[_0x440105(0x248)]=_0x440105(0x20a),_0x530e21['USZcJ']='buildProductMap',_0x530e21[_0x440105(0x243)]=_0x440105(0x212),_0x530e21[_0x440105(0x270)]=_0x440105(0x23e),_0x530e21[_0x440105(0x1fb)]='accessibilityOptions.scannerVersion',_0x530e21[_0x440105(0x201)]=_0x440105(0x238),_0x530e21[_0x440105(0x20c)]=_0x440105(0x25d),_0x530e21['WCSwh']=_0x440105(0x21a),_0x530e21['pSoWz']=_0x440105(0x1f9),_0x530e21[_0x440105(0x239)]=_0x440105(0x224),_0x530e21['QQaTl']=_0x440105(0x277),_0x530e21[_0x440105(0x211)]=_0x440105(0x260),_0x530e21['fazhs']='playwrightVersion',_0x530e21['PEDVF']=_0x440105(0x24d),_0x530e21['meqiY']='overridelocalInfo.localIdentifier',_0x530e21['PSoJx']=_0x440105(0x1f4),_0x530e21['jgScD']=_0x440105(0x205);var _0x2070db=_0x530e21,_0x214eac={};return _0x214eac[_0x440105(0x208)]=_0x2070db['yLwAM'],_0x214eac['browserstack.key']=_0x2070db[_0x440105(0x230)],_0x214eac['os']='os',_0x214eac['os_version']=_0x2070db['WMAgp'],_0x214eac[_0x440105(0x220)]=_0x2070db[_0x440105(0x232)],_0x214eac['browser_version']=_0x2070db[_0x440105(0x237)],_0x214eac[_0x440105(0x217)]=_0x2070db[_0x440105(0x257)],_0x214eac[_0x440105(0x221)]=_0x2070db[_0x440105(0x229)],_0x214eac['build']=_0x2070db['ZqmEx'],_0x214eac[_0x440105(0x231)]=_0x2070db[_0x440105(0x1fa)],_0x214eac[_0x440105(0x276)]=_0x2070db[_0x440105(0x1f7)],_0x214eac['browserstack.localIdentifier']=_0x2070db['AJzlX'],_0x214eac[_0x440105(0x219)]=_0x2070db[_0x440105(0x254)],_0x214eac['browserstack.console']=_0x2070db[_0x440105(0x1f8)],_0x214eac[_0x440105(0x22c)]=_0x2070db[_0x440105(0x24e)],_0x214eac['browserstack.networkLogsOptions']=_0x2070db[_0x440105(0x203)],_0x214eac['browserstack.appiumLogs']=_0x2070db[_0x440105(0x26c)],_0x214eac[_0x440105(0x273)]=_0x2070db[_0x440105(0x26a)],_0x214eac[_0x440105(0x242)]=_0x2070db[_0x440105(0x25a)],_0x214eac[_0x440105(0x24a)]=_0x2070db[_0x440105(0x21f)],_0x214eac['browserstack.geoLocation']=_0x2070db['eJbzd'],_0x214eac[_0x440105(0x23f)]=_0x2070db[_0x440105(0x27d)],_0x214eac[_0x440105(0x1fc)]=_0x2070db[_0x440105(0x227)],_0x214eac['browserstack.selenium_version']=_0x2070db[_0x440105(0x240)],_0x214eac[_0x440105(0x272)]=_0x2070db[_0x440105(0x214)],_0x214eac[_0x440105(0x21e)]=_0x2070db[_0x440105(0x20b)],_0x214eac['browserstack.maskBasicAuth']=_0x2070db['NfcwO'],_0x214eac[_0x440105(0x225)]=_0x2070db[_0x440105(0x25f)],_0x214eac['browserstack.hosts']=_0x2070db[_0x440105(0x244)],_0x214eac[_0x440105(0x25c)]=_0x2070db[_0x440105(0x24f)],_0x214eac['browserstack.wsLocalSupport']=_0x2070db['cDdNd'],_0x214eac[_0x440105(0x25e)]=_0x2070db[_0x440105(0x263)],_0x214eac[_0x440105(0x267)]=_0x2070db['SWZgz'],_0x214eac['realMobile']=_0x2070db['nKRgT'],_0x214eac[_0x440105(0x218)]=_0x2070db[_0x440105(0x281)],_0x214eac[_0x440105(0x27a)]=_0x2070db[_0x440105(0x275)],_0x214eac[_0x440105(0x20e)]=_0x2070db['XmfFj'],_0x214eac[_0x440105(0x20f)]=_0x2070db[_0x440105(0x20d)],_0x214eac[_0x440105(0x27e)]=_0x2070db['dyjyL'],_0x214eac[_0x440105(0x27c)]=_0x2070db['QaHdg'],_0x214eac[_0x440105(0x25b)]=_0x2070db[_0x440105(0x248)],_0x214eac[_0x440105(0x23d)]=_0x2070db['USZcJ'],_0x214eac['browserstack.testhubBuildUuid']=_0x2070db[_0x440105(0x243)],_0x214eac[_0x440105(0x258)]=_0x2070db[_0x440105(0x270)],_0x214eac[_0x440105(0x213)]=_0x2070db['dmuYA'],_0x214eac[_0x440105(0x249)]=_0x2070db[_0x440105(0x201)],_0x214eac[_0x440105(0x228)]=_0x2070db[_0x440105(0x20c)],_0x214eac[_0x440105(0x283)]=_0x2070db['WCSwh'],_0x214eac[_0x440105(0x245)]=_0x2070db[_0x440105(0x24b)],_0x214eac[_0x440105(0x202)]=_0x2070db[_0x440105(0x239)],_0x214eac[_0x440105(0x1f5)]=_0x2070db[_0x440105(0x262)],_0x214eac[_0x440105(0x261)]=_0x2070db[_0x440105(0x211)],_0x214eac[_0x440105(0x215)]=_0x2070db[_0x440105(0x27b)],_0x214eac[_0x440105(0x253)]=_0x2070db[_0x440105(0x252)],_0x214eac[_0x440105(0x282)]=_0x2070db[_0x440105(0x250)],_0x214eac[_0x440105(0x26d)]=_0x2070db[_0x440105(0x1fe)],_0x214eac[_0x440105(0x265)]=_0x2070db[_0x440105(0x269)],_0x214eac;});function a173_0x39e5(_0x30ef51,_0xe0fc14){var _0x42cc9b=a173_0x42cc();return a173_0x39e5=function(_0x39e55c,_0x3e8f5f){_0x39e55c=_0x39e55c-0x1f4;var _0x218cb3=_0x42cc9b[_0x39e55c];return _0x218cb3;},a173_0x39e5(_0x30ef51,_0xe0fc14);}function a173_0x42cc(){var _0x3f6f6f=['UAXID','browserstack.accessibilityOptions.authToken','disableCorsRestrictions','684KqgHYe','nFluV','browserstack.accessibilityOptions.scannerProcessingTimeout','browserstack.telemetryLogs','pSoWz','browserVersion','overridelocalInfo.userAuthToken','jNwYj','mebmQ','meqiY','2945WeZalv','PEDVF','browserstack.overridelocalInfo.userAuthToken','qOIQX','seleniumVersion','realMobile','cEFql','browserstack.accessibilityOptions.wcagVersion','W3CMapping','gwRvm','browserstack.accessibility','browserstack.bfcache','accessibilityOptions.includeIssueType.bestPractice','browserstack.disableCorsRestrictions','GkglO','simOptions','browserstack.simOptions','QQaTl','XyXYf','NfcwO','browserstack.performance','bfcache','device','dyjyL','jgScD','PpKKG','maskBasicAuth','lbwWx','browserstack.headerParams','37934cLerHM','idleTimeout','DlAnW','cDdNd','browserstack.maskCommands','browserstack.video','geoLocation','BzqNF','browserstack.local','enableSim','290JDSbnN','seleniumLogs','deviceOrientation','fazhs','browserstack.browserstackSDK','qMKmi','browserstack.buildIdentifier','11TtuZqa','25436196eepwBr','XpmYV','browserstack.overridelocalInfo.localIdentifier','browserstack.accessibilityOptions.includeIssueType.needsReview','headerParams','browserstack.enableSim','maskCommands','WLqEp','jjJfj','accessibilityOptions.authToken','UKpDn','dmuYA','resolution','timezone','PSoJx','browserstackSDK','36827BPWXQf','ldCKU','browserstack.uploadMedia','wzGgn','ZqmEx','performance','4915970NTXRmR','networkLogsOptions','browserstack.user','telemetryLogs','accessibility','Gjfkt','EOpuM','sbUzr','browserstack.customNetwork','browserstack.networkProfile','AJzlX','XSeoz','testhubBuildUuid','browserstack.accessibilityOptions.scannerVersion','sYQPw','browserstack.playwrightVersion','networkProfile','browserstack.use_w3c','browserstack.appium_version','browserstack.debug','accessibilityOptions.includeIssueType.needsReview','12687cWyDQq','autoWait','networkLogs','browserstack.idleTimeout','hPSmB','browser','project','appiumVersion','3512SnihBv','uploadMedia','browserstack.autoWait','video','mvhhq','browserstack.accessibilityOptions.includeIssueType.bestPractice','vGELX','localIdentifier','buildName','browserstack.networkLogs','8307wSKQUz','local','eJbzd','vYSXn','name','BUuiL','2824owFWjB','deviceName','buildIdentifier','osVersion','fcHdh','accessibilityOptions.scannerProcessingTimeout','kkGRA','accessKey','nKRgT','userName','browserstack.buildProductMap','accessibilityOptions.wcagVersion','browserstack.timezone','xFkNa','WMAgp','browserstack.seleniumLogs','DZWIc'];a173_0x42cc=function(){return _0x3f6f6f;};return a173_0x42cc();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a174_0x1791(){const _0x264de0=['latency','now','118640eIqryD','gXpQN','105cGuKDw','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','1674fwYUDA','race','rqcMX','PyroR','RmXwP','210QrWHdk','GET','get','consumeHubUrlForSession','next_hubs','nodeRequest','lBFqA','HUB_URL_MAP','set','hostname','vTJOo','TgUWj','bhkLI','_hubAllocationData','/wd/hub','3099128fSieky','parse','RrXcG','util','hubUrl','tRIWB','skipped','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','5870NFyzsR','findLatency','url','bBnwU','pyItv','length','hubRegion\x20','RLhvP','fulfilled','then','pathname','RAKxR','resolve','bVQAM','tmzBg','nextHubs','YvGke','catch','map','vNEVU','310479uLzJWh','Vmdjh','format','qGphT','HUB\x20URL\x20SET\x20TO\x20-\x20','416471yaaWPS','https://','./helpers/helper','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','./helpers/logger','allSettled','HvMoL','setGlobal','UVXeb','debug','pQFvw','SwEoE','lsIvy','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','./helpers/globals','GXzmV','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','MQNKv','KaAwn','getGlobal','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','oTGJs','FbFCL','winstonLogger','EZoDW','tqBHa','ERROR\x20in\x20hub\x20selection:\x20','qvVnS','HafCp','vdnea','Execution\x20time\x20for\x20','3545334rRXyZH','ManxC','path','15NanMoQ','gTMhK','hubRegion','./bin/utils/constants','value','ghwpL','277088KzrQFL','Response:\x20','BKpfa','dHLlQ','newHubUrlBySession','status','RxOnd','TqBuK','check','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','\x20HUB\x20-\x20','delete','Invalid\x20new\x20HUB\x20URL:\x20','all'];a174_0x1791=function(){return _0x264de0;};return a174_0x1791();}const a174_0x970c84=a174_0x5578;(function(_0x46245f,_0x3a8e82){const _0x2d405d=a174_0x5578,_0x2a27f4=_0x46245f();while(!![]){try{const _0x2e243b=parseInt(_0x2d405d(0x127))/0x1+parseInt(_0x2d405d(0x164))/0x2*(parseInt(_0x2d405d(0x14e))/0x3)+-parseInt(_0x2d405d(0x10b))/0x4+parseInt(_0x2d405d(0x113))/0x5*(-parseInt(_0x2d405d(0x168))/0x6)+-parseInt(_0x2d405d(0x166))/0x7*(-parseInt(_0x2d405d(0x154))/0x8)+-parseInt(_0x2d405d(0x14b))/0x9+parseInt(_0x2d405d(0x16d))/0xa*(parseInt(_0x2d405d(0x12c))/0xb);if(_0x2e243b===_0x3a8e82)break;else _0x2a27f4['push'](_0x2a27f4['shift']());}catch(_0x5c0f6e){_0x2a27f4['push'](_0x2a27f4['shift']());}}}(a174_0x1791,0x67de6));function a174_0x5578(_0x55c682,_0x91fdbe){const _0x1791f2=a174_0x1791();return a174_0x5578=function(_0x557882,_0x2f4c5f){_0x557882=_0x557882-0x10b;let _0x46ec4c=_0x1791f2[_0x557882];return _0x46ec4c;},a174_0x5578(_0x55c682,_0x91fdbe);}const url=require(a174_0x970c84(0x115)),util=require(a174_0x970c84(0x10e)),helper=require(a174_0x970c84(0x12e)),logger=require(a174_0x970c84(0x130))[a174_0x970c84(0x143)],constants=require(a174_0x970c84(0x151)),globals=require(a174_0x970c84(0x13a));global[a174_0x970c84(0x158)]=global[a174_0x970c84(0x158)]||new Map(),exports['getRequestOptions']=_0xc295d=>{const _0x104556=a174_0x970c84,_0x269546={};_0x269546['lBFqA']=function(_0x46e1fc,_0x140ef8){return _0x46e1fc+_0x140ef8;},_0x269546[_0x104556(0x149)]=_0x104556(0x160);const _0x1741a6=_0x269546,_0x24c6dd=url[_0x104556(0x10c)](_0xc295d);if(!_0x24c6dd[_0x104556(0x176)])throw new Error(_0x1741a6[_0x104556(0x173)](_0x1741a6[_0x104556(0x149)],_0xc295d));return _0x24c6dd['search']=null,_0x24c6dd['hash']=null,_0x24c6dd[_0x104556(0x14d)]=_0x24c6dd[_0x104556(0x11d)],_0x24c6dd;},exports['updateHubUrl']=(_0x3b301e,_0x2de3ed)=>{const _0x43c2c1=a174_0x970c84,_0x24409c={};_0x24409c['gXpQN']='updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting';const _0x5825e5=_0x24409c;if(!_0x2de3ed){logger[_0x43c2c1(0x135)](_0x5825e5[_0x43c2c1(0x165)]);return;}global[_0x43c2c1(0x158)][_0x43c2c1(0x175)](_0x2de3ed,_0x3b301e);},exports[a174_0x970c84(0x170)]=_0x1c81e8=>{const _0x2fe236=a174_0x970c84;if(_0x1c81e8&&global['newHubUrlBySession']['has'](_0x1c81e8)){const _0x5e4622=global[_0x2fe236(0x158)][_0x2fe236(0x16f)](_0x1c81e8);return global[_0x2fe236(0x158)][_0x2fe236(0x15f)](_0x1c81e8),_0x5e4622;}return'';},exports['allocateHub']=_0x9a5693=>{const _0x569ac6=a174_0x970c84,_0xea16f1={'HvMoL':function(_0x1263ec,_0x25892a){return _0x1263ec!==_0x25892a;},'TqBuK':function(_0x2bdc0b,_0x52d8fb){return _0x2bdc0b+_0x52d8fb;},'FbFCL':_0x569ac6(0x12d),'qGphT':_0x569ac6(0x17a),'vNEVU':function(_0x17b5df,_0x163338){return _0x17b5df===_0x163338;},'GHXwi':_0x569ac6(0x11b),'pQFvw':_0x569ac6(0x13c),'xXzAV':'/wd/hub','RxOnd':function(_0x12da59){return _0x12da59();},'MQNKv':function(_0x24802b,_0x27a582){return _0x24802b==_0x27a582;},'tqBHa':function(_0x434b42){return _0x434b42();}};return new Promise(_0x3f928c=>{const _0x387d41=_0x569ac6,_0x3749d7={'YvGke':function(_0x5ed0f0,_0xfc1f1f){const _0x5dc8ed=a174_0x5578;return _0xea16f1[_0x5dc8ed(0x132)](_0x5ed0f0,_0xfc1f1f);},'RLhvP':function(_0xb88d02,_0x4e8cc9){const _0x357496=a174_0x5578;return _0xea16f1[_0x357496(0x15b)](_0xb88d02,_0x4e8cc9);},'tmzBg':_0xea16f1[_0x387d41(0x142)],'YSRKT':_0xea16f1[_0x387d41(0x12a)],'pyItv':function(_0x56d30e,_0x3a8ea4){const _0x1e8836=_0x387d41;return _0xea16f1[_0x1e8836(0x126)](_0x56d30e,_0x3a8ea4);},'PcBBQ':_0xea16f1['GHXwi'],'bhkLI':_0xea16f1[_0x387d41(0x136)],'oTGJs':function(_0x17def3,_0x2200f9){const _0x345c77=_0x387d41;return _0xea16f1[_0x345c77(0x15b)](_0x17def3,_0x2200f9);},'RrXcG':_0xea16f1['xXzAV'],'GXzmV':function(_0x2ad6c1){const _0x3ae684=_0x387d41;return _0xea16f1[_0x3ae684(0x15a)](_0x2ad6c1);},'HafCp':function(_0x358e92,_0x9735df){const _0x3d9290=_0x387d41;return _0xea16f1[_0x3d9290(0x13d)](_0x358e92,_0x9735df);},'PyroR':function(_0x14ed39){const _0x1de216=_0x387d41;return _0xea16f1[_0x1de216(0x145)](_0x14ed39);}};if(_0x9a5693&&_0x9a5693[_0x387d41(0x150)]){const _0x2a4ae8=constants[_0x387d41(0x174)][_0x9a5693[_0x387d41(0x150)]];if(_0x2a4ae8)return constants[_0x387d41(0x10f)]=_0x2a4ae8,logger[_0x387d41(0x135)]('HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20'+_0x2a4ae8),globals[_0x387d41(0x133)](_0xea16f1[_0x387d41(0x12a)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x2a4ae8['replace'](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x387d41(0x163)]()}),_0xea16f1[_0x387d41(0x15a)](_0x3f928c);logger['debug'](_0x387d41(0x119)+_0x9a5693['hubRegion']+_0x387d41(0x167));}Promise[_0x387d41(0x11f)](this[_0x387d41(0x122)](_0x9a5693))[_0x387d41(0x11c)](_0x38389e=>{const _0xa3bccf=_0x387d41,_0x5082f0={'EZoDW':_0x3749d7['YSRKT'],'RmXwP':function(_0x1d856d,_0x406c04){const _0x38235c=a174_0x5578;return _0x3749d7[_0x38235c(0x117)](_0x1d856d,_0x406c04);},'ManxC':_0x3749d7['PcBBQ'],'KaAwn':_0x3749d7[_0xa3bccf(0x179)],'qvVnS':function(_0xacd18a,_0x31241b){const _0x105d2e=_0xa3bccf;return _0x3749d7[_0x105d2e(0x141)](_0xacd18a,_0x31241b);},'dHLlQ':_0x3749d7[_0xa3bccf(0x121)],'UVXeb':_0x3749d7[_0xa3bccf(0x10d)],'tRIWB':function(_0x4e8fa2){const _0x342b94=_0xa3bccf;return _0x3749d7[_0x342b94(0x13b)](_0x4e8fa2);},'yuAaI':function(_0x2fc90b,_0x27e54e){const _0x1942ab=_0xa3bccf;return _0x3749d7[_0x1942ab(0x11a)](_0x2fc90b,_0x27e54e);},'bEjyi':function(_0x389325){const _0x9b8657=_0xa3bccf;return _0x3749d7[_0x9b8657(0x13b)](_0x389325);}};logger[_0xa3bccf(0x135)]('NEAREST\x20HUBS\x20LIST:\x20'+util[_0xa3bccf(0x129)]('%j',_0x38389e));if(_0x3749d7[_0xa3bccf(0x148)](_0x38389e,null)||_0x3749d7[_0xa3bccf(0x117)](_0x38389e[_0xa3bccf(0x118)],0x0))return _0x3749d7[_0xa3bccf(0x16b)](_0x3f928c);const _0x488e56=_0x38389e[_0xa3bccf(0x125)](_0x53eaf8=>{const _0x2b4f77=_0xa3bccf,_0x14dff6={'Vmdjh':function(_0x437ef4,_0x26ed00){const _0x4acb56=a174_0x5578;return _0x3749d7[_0x4acb56(0x123)](_0x437ef4,_0x26ed00);}},_0x46df99=_0x3749d7[_0x2b4f77(0x11a)](_0x3749d7[_0x2b4f77(0x121)],_0x53eaf8);return this[_0x2b4f77(0x114)](_0x9a5693,_0x46df99)[_0x2b4f77(0x11c)](_0x4a0ae4=>{const _0x5a0d5a=_0x2b4f77;if(_0x4a0ae4&&_0x4a0ae4[_0x5a0d5a(0x10f)]&&_0x14dff6[_0x5a0d5a(0x128)](_0x4a0ae4[_0x5a0d5a(0x162)],undefined)){const _0x1d84e0={};return _0x1d84e0[_0x5a0d5a(0x10f)]=_0x4a0ae4[_0x5a0d5a(0x10f)],_0x1d84e0[_0x5a0d5a(0x162)]=_0x4a0ae4[_0x5a0d5a(0x162)],_0x1d84e0['ok']=!![],_0x1d84e0;}const _0x528839={};return _0x528839[_0x5a0d5a(0x10f)]=_0x46df99,_0x528839[_0x5a0d5a(0x162)]=null,_0x528839['ok']=![],_0x528839;})[_0x2b4f77(0x124)](()=>({'hubUrl':_0x46df99,'latency':null,'ok':![]}));});Promise[_0xa3bccf(0x169)](_0x488e56['map'](_0x1dab0c=>_0x1dab0c[_0xa3bccf(0x11c)](_0x483cd2=>_0x483cd2['ok']?_0x483cd2:null)))[_0xa3bccf(0x11c)](_0x5dcb94=>{const _0x56c435=_0xa3bccf;if(_0x5dcb94)return _0x5dcb94;return Promise[_0x56c435(0x161)](_0x488e56)[_0x56c435(0x11c)](()=>null);})['then'](_0xcb15c8=>{const _0x534b0d=_0xa3bccf,_0x585d02={'SwEoE':_0x5082f0['EZoDW'],'lsIvy':function(_0x155d02,_0xace104){const _0x31cbf4=a174_0x5578;return _0x5082f0[_0x31cbf4(0x16c)](_0x155d02,_0xace104);},'RAKxR':_0x5082f0[_0x534b0d(0x14c)]};if(!_0xcb15c8){logger[_0x534b0d(0x135)](_0x5082f0[_0x534b0d(0x13e)]);const _0x4eb59a=_0x5082f0['qvVnS'](_0x5082f0[_0x534b0d(0x157)],_0x38389e[0x0]);return globals[_0x534b0d(0x133)](_0x5082f0[_0x534b0d(0x144)],{'nearestHubs':_0x38389e[_0x534b0d(0x125)](_0x3095e6=>_0x534b0d(0x12d)+_0x3095e6),'hubLatencies':{},'selectedHub':_0x4eb59a,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x534b0d(0x163)]()}),constants['hubUrl']=_0x5082f0[_0x534b0d(0x147)](_0x4eb59a,_0x5082f0[_0x534b0d(0x134)]),logger[_0x534b0d(0x135)](_0x534b0d(0x12f)+_0x4eb59a),_0x5082f0[_0x534b0d(0x110)](_0x3f928c);}const _0x59ec0e={[_0xcb15c8[_0x534b0d(0x10f)]]:_0xcb15c8[_0x534b0d(0x162)]},_0x334f2b={'nearestHubs':_0x38389e[_0x534b0d(0x125)](_0x52a1a7=>'https://'+_0x52a1a7),'hubLatencies':_0x59ec0e,'selectedHub':_0xcb15c8[_0x534b0d(0x10f)],'selectedHubLatency':_0xcb15c8[_0x534b0d(0x162)],'timestamp':Date[_0x534b0d(0x163)]()};globals[_0x534b0d(0x133)](_0x5082f0[_0x534b0d(0x144)],_0x334f2b),constants[_0x534b0d(0x10f)]=_0x5082f0['yuAaI'](_0xcb15c8[_0x534b0d(0x10f)],_0x5082f0[_0x534b0d(0x134)]),logger[_0x534b0d(0x135)](_0x534b0d(0x12b)+_0xcb15c8[_0x534b0d(0x10f)]),_0x5082f0['bEjyi'](_0x3f928c),Promise[_0x534b0d(0x131)](_0x488e56)[_0x534b0d(0x11c)](_0xbd8300=>{const _0x1072f9=_0x534b0d;try{const _0x20ad10=globals[_0x1072f9(0x13f)](_0x585d02[_0x1072f9(0x137)]);if(!_0x20ad10||_0x20ad10[_0x1072f9(0x111)])return;const _0x3fc3c9={};for(const _0x2eab72 of _0xbd8300){_0x585d02[_0x1072f9(0x138)](_0x2eab72[_0x1072f9(0x159)],_0x585d02[_0x1072f9(0x11e)])&&_0x2eab72['value']&&_0x2eab72[_0x1072f9(0x152)]['ok']&&(_0x3fc3c9[_0x2eab72[_0x1072f9(0x152)]['hubUrl']]=_0x2eab72[_0x1072f9(0x152)][_0x1072f9(0x162)]);}_0x20ad10['hubLatencies']=_0x3fc3c9;}catch(_0x29b97f){logger[_0x1072f9(0x135)](_0x1072f9(0x112)+_0x29b97f);}})[_0x534b0d(0x124)](_0x2c974c=>{logger['debug']('ERROR\x20in\x20background\x20hub\x20enrichment:\x20'+_0x2c974c);});})['catch'](_0x583926=>{const _0xa0fed=_0xa3bccf;logger['debug'](_0xa0fed(0x146)+_0x583926),_0x5082f0['bEjyi'](_0x3f928c);});})['catch'](_0x5e2415=>{const _0x4f59c7=_0x387d41;logger['debug'](_0x4f59c7(0x140)+_0x5e2415),_0x3749d7['GXzmV'](_0x3f928c);});});},exports['findLatency']=async(_0x25a6e8,_0x1e57c0)=>{const _0x43bfa2=a174_0x970c84,_0x2db6c4={};_0x2db6c4['TgUWj']='GET',_0x2db6c4[_0x43bfa2(0x156)]=_0x43bfa2(0x15c),_0x2db6c4['bVQAM']=function(_0xcad438,_0x187b60){return _0xcad438-_0x187b60;};const _0x22066f=_0x2db6c4;try{const _0x49e199=new Date();await helper[_0x43bfa2(0x172)](_0x22066f[_0x43bfa2(0x178)],_0x22066f[_0x43bfa2(0x156)],{},_0x25a6e8,_0x1e57c0,0x1388);const _0x29d534=_0x22066f[_0x43bfa2(0x120)](new Date(),_0x49e199);logger[_0x43bfa2(0x135)](_0x43bfa2(0x14a)+_0x1e57c0+'\x20is:\x20'+_0x29d534+'ms');const _0x331a2b={};return _0x331a2b[_0x43bfa2(0x10f)]=_0x1e57c0,_0x331a2b[_0x43bfa2(0x162)]=_0x29d534,_0x331a2b;}catch(_0x123bda){return logger['debug'](_0x43bfa2(0x139)+_0x1e57c0+_0x43bfa2(0x15e)+_0x123bda),{};}},exports[a174_0x970c84(0x122)]=async _0x2e28b7=>{const _0x5c0513=a174_0x970c84,_0x4c4edb={'ghwpL':function(_0x108feb,_0x5ac188){return _0x108feb(_0x5ac188);},'gTMhK':_0x5c0513(0x151),'rqcMX':_0x5c0513(0x17b),'bBnwU':_0x5c0513(0x16e),'vTJOo':_0x5c0513(0x171)};try{const _0x254356=_0x4c4edb[_0x5c0513(0x153)](require,_0x4c4edb[_0x5c0513(0x14f)])[_0x5c0513(0x10f)]['replace'](_0x4c4edb[_0x5c0513(0x16a)],''),_0x1765f3=await helper['nodeRequest'](_0x4c4edb[_0x5c0513(0x116)],_0x4c4edb[_0x5c0513(0x177)],{},_0x2e28b7,_0x254356,0x1388),_0x33c624=_0x1765f3['data'];return logger[_0x5c0513(0x135)](_0x5c0513(0x155)+util[_0x5c0513(0x129)]('%j',_0x33c624)),_0x33c624['hubs'];}catch(_0x144d7c){logger['debug'](_0x5c0513(0x15d)+_0x144d7c);}return null;};
|
|
1
|
+
const a174_0xbdf7ac=a174_0x49f9;function a174_0x2bac(){const _0x5c3269=['IVmvC','nodeRequest','hubUrl','\x20is:\x20','getGlobal','eMwmV','NQTgj','4578870McoQEb','1937VpljbE','lIxBv','debug','165pxjdbu','./helpers/globals','GyPWt','DqpKC','6hHlYHf','race','TlLdM','util','hostname','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','now','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','bWEHm','resolve','has','4697864OZPInk','sFPRM','ivHHO','IZiao','get','replace','prLRU','GET','pathname','/wd/hub','allSettled','map','eGZWC','982bSCCHH','HxPUu','search','11295000NDNGUe','HUB\x20URL\x20SET\x20TO\x20-\x20','onJmG','9533531yZbyhN','JiaoA','omWWF','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','Execution\x20time\x20for\x20','KgXjs','parse','hubRegion','13419153vnBwuX','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','hash','lzzZz','path','Response:\x20','delete','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','value','./helpers/helper','https://','next_hubs','yPcWU','VoFIJ','latency','sJkFh','nODQR','rvWsc','data','url','QzgOa','Hqgeh','3923271dYuTlt','allocateHub','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','yfQkU','Invalid\x20new\x20HUB\x20URL:\x20','kJbvq','XvMyV','hsWks','hubLatencies','cmKRY','itHEI','./bin/utils/constants','\x20HUB\x20-\x20','setGlobal','then','GBoSZ','QPsuH','newHubUrlBySession','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','MbxsV','uYYFd','winstonLogger','fulfilled','KiXCL','5QNnaca','catch','all','findLatency','JEGce'];a174_0x2bac=function(){return _0x5c3269;};return a174_0x2bac();}(function(_0x1ee0f9,_0x15804f){const _0x2d8893=a174_0x49f9,_0x170348=_0x1ee0f9();while(!![]){try{const _0x46ad2b=-parseInt(_0x2d8893(0xbd))/0x1*(-parseInt(_0x2d8893(0xdc))/0x2)+parseInt(_0x2d8893(0x100))/0x3+-parseInt(_0x2d8893(0xcf))/0x4*(-parseInt(_0x2d8893(0xb0))/0x5)+parseInt(_0x2d8893(0xc4))/0x6*(parseInt(_0x2d8893(0xe2))/0x7)+parseInt(_0x2d8893(0xdf))/0x8+parseInt(_0x2d8893(0xea))/0x9+parseInt(_0x2d8893(0xbc))/0xa*(-parseInt(_0x2d8893(0xc0))/0xb);if(_0x46ad2b===_0x15804f)break;else _0x170348['push'](_0x170348['shift']());}catch(_0x3eb606){_0x170348['push'](_0x170348['shift']());}}}(a174_0x2bac,0xca972));function a174_0x49f9(_0x925056,_0x4652d3){const _0x2bac05=a174_0x2bac();return a174_0x49f9=function(_0x49f9fd,_0x322966){_0x49f9fd=_0x49f9fd-0xa4;let _0x23ae8a=_0x2bac05[_0x49f9fd];return _0x23ae8a;},a174_0x49f9(_0x925056,_0x4652d3);}const url=require(a174_0xbdf7ac(0xfd)),util=require(a174_0xbdf7ac(0xc7)),helper=require(a174_0xbdf7ac(0xf3)),logger=require('./helpers/logger')[a174_0xbdf7ac(0xad)],constants=require(a174_0xbdf7ac(0x10b)),globals=require(a174_0xbdf7ac(0xc1));global['newHubUrlBySession']=global[a174_0xbdf7ac(0xa9)]||new Map(),exports['getRequestOptions']=_0x14bb81=>{const _0x4a6dec=a174_0xbdf7ac,_0x2ff017={};_0x2ff017[_0x4a6dec(0xb5)]=function(_0x3c3c31,_0x38806d){return _0x3c3c31+_0x38806d;},_0x2ff017['sFPRM']=_0x4a6dec(0x104);const _0x33e663=_0x2ff017,_0x384b42=url[_0x4a6dec(0xe8)](_0x14bb81);if(!_0x384b42[_0x4a6dec(0xc8)])throw new Error(_0x33e663[_0x4a6dec(0xb5)](_0x33e663[_0x4a6dec(0xd0)],_0x14bb81));return _0x384b42[_0x4a6dec(0xde)]=null,_0x384b42[_0x4a6dec(0xec)]=null,_0x384b42[_0x4a6dec(0xee)]=_0x384b42[_0x4a6dec(0xd7)],_0x384b42;},exports['updateHubUrl']=(_0xfcd1cd,_0x4f1640)=>{const _0x1e7492=a174_0xbdf7ac,_0x249c1d={};_0x249c1d[_0x1e7492(0xcc)]=_0x1e7492(0xc9);const _0x2ebf2f=_0x249c1d;if(!_0x4f1640){logger[_0x1e7492(0xbf)](_0x2ebf2f[_0x1e7492(0xcc)]);return;}global['newHubUrlBySession']['set'](_0x4f1640,_0xfcd1cd);},exports['consumeHubUrlForSession']=_0x3e29f8=>{const _0x406a56=a174_0xbdf7ac;if(_0x3e29f8&&global[_0x406a56(0xa9)][_0x406a56(0xce)](_0x3e29f8)){const _0x507622=global[_0x406a56(0xa9)][_0x406a56(0xd3)](_0x3e29f8);return global['newHubUrlBySession'][_0x406a56(0xf0)](_0x3e29f8),_0x507622;}return'';},exports[a174_0xbdf7ac(0x101)]=_0x9d9970=>{const _0x443b4f=a174_0xbdf7ac,_0x4eb6f0={'DqpKC':function(_0x216b26){return _0x216b26();},'MbxsV':function(_0x387c0f,_0x17dbb7){return _0x387c0f!==_0x17dbb7;},'NQTgj':function(_0x2dcd53,_0x619f0a){return _0x2dcd53+_0x619f0a;},'CsNCb':_0x443b4f(0xf4),'JEGce':'_hubAllocationData','VBrmV':function(_0x91ff20,_0x2e7cc5){return _0x91ff20===_0x2e7cc5;},'onJmG':_0x443b4f(0xae),'hsWks':'All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','DwspA':_0x443b4f(0xd8),'JiaoA':function(_0x40376d,_0xd0fffa){return _0x40376d==_0xd0fffa;},'TlLdM':function(_0x47a3ad){return _0x47a3ad();}};return new Promise(_0x5b17c5=>{const _0x3343c3=_0x443b4f,_0x2ee930={'Hqgeh':function(_0xcf27c1){const _0x25f262=a174_0x49f9;return _0x4eb6f0[_0x25f262(0xc3)](_0xcf27c1);},'nODQR':function(_0x477402,_0xf0e207){const _0x284ed6=a174_0x49f9;return _0x4eb6f0[_0x284ed6(0xab)](_0x477402,_0xf0e207);},'lIxBv':function(_0x3ae500,_0x35ef74){const _0x4dc94b=a174_0x49f9;return _0x4eb6f0[_0x4dc94b(0xbb)](_0x3ae500,_0x35ef74);},'sJkFh':_0x4eb6f0['CsNCb'],'hjSRx':_0x4eb6f0[_0x3343c3(0xb4)],'kJbvq':function(_0x3a82a1,_0x5794ec){return _0x4eb6f0['VBrmV'](_0x3a82a1,_0x5794ec);},'uYYFd':_0x4eb6f0[_0x3343c3(0xe1)],'ivHHO':_0x4eb6f0[_0x3343c3(0x107)],'lzzZz':_0x4eb6f0['DwspA'],'GyPWt':function(_0x43cdc9){const _0x1af3fc=_0x3343c3;return _0x4eb6f0[_0x1af3fc(0xc3)](_0x43cdc9);},'eLzhP':function(_0x52ffca,_0x1d900b){const _0x183f29=_0x3343c3;return _0x4eb6f0[_0x183f29(0xe3)](_0x52ffca,_0x1d900b);},'KiXCL':function(_0x54805f){const _0x41e0c0=_0x3343c3;return _0x4eb6f0[_0x41e0c0(0xc3)](_0x54805f);}};if(_0x9d9970&&_0x9d9970[_0x3343c3(0xe9)]){const _0x4d519e=constants['HUB_URL_MAP'][_0x9d9970[_0x3343c3(0xe9)]];if(_0x4d519e)return constants['hubUrl']=_0x4d519e,logger[_0x3343c3(0xbf)](_0x3343c3(0x102)+_0x4d519e),globals[_0x3343c3(0xa5)](_0x4eb6f0[_0x3343c3(0xb4)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x4d519e[_0x3343c3(0xd4)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date['now']()}),_0x4eb6f0[_0x3343c3(0xc6)](_0x5b17c5);logger[_0x3343c3(0xbf)]('hubRegion\x20'+_0x9d9970['hubRegion']+_0x3343c3(0xeb));}Promise[_0x3343c3(0xcd)](this['nextHubs'](_0x9d9970))[_0x3343c3(0xa6)](_0x5e0197=>{const _0xce81bd=_0x3343c3,_0x2d2ffa={'phBDL':function(_0x2fccda,_0x102aca){const _0x3dcf83=a174_0x49f9;return _0x2ee930[_0x3dcf83(0xfa)](_0x2fccda,_0x102aca);},'HxPUu':function(_0x422390,_0x5219ae){const _0x54a1f9=a174_0x49f9;return _0x2ee930[_0x54a1f9(0xbe)](_0x422390,_0x5219ae);},'AoZVX':_0x2ee930[_0xce81bd(0xf9)],'XvMyV':_0x2ee930['hjSRx'],'yPcWU':function(_0x32440d,_0x4a00ca){const _0x3029fb=_0xce81bd;return _0x2ee930[_0x3029fb(0x105)](_0x32440d,_0x4a00ca);},'eGZWC':_0x2ee930[_0xce81bd(0xac)],'itHEI':_0x2ee930[_0xce81bd(0xd1)],'QPsuH':function(_0x4384ed,_0x39b104){const _0x398c27=_0xce81bd;return _0x2ee930[_0x398c27(0xbe)](_0x4384ed,_0x39b104);},'IZiao':function(_0x55c606,_0x4dcc07){const _0x361da7=_0xce81bd;return _0x2ee930[_0x361da7(0xbe)](_0x55c606,_0x4dcc07);},'VoFIJ':_0x2ee930[_0xce81bd(0xed)],'KgXjs':function(_0x47a8f6){const _0x23b6c6=_0xce81bd;return _0x2ee930[_0x23b6c6(0xc2)](_0x47a8f6);}};logger[_0xce81bd(0xbf)]('NEAREST\x20HUBS\x20LIST:\x20'+util['format']('%j',_0x5e0197));if(_0x2ee930['eLzhP'](_0x5e0197,null)||_0x2ee930[_0xce81bd(0x105)](_0x5e0197['length'],0x0))return _0x2ee930[_0xce81bd(0xaf)](_0x5b17c5);const _0x503cda=_0x5e0197[_0xce81bd(0xda)](_0x275624=>{const _0x531b95=_0xce81bd,_0xf9dcd3=_0x2d2ffa[_0x531b95(0xdd)](_0x2d2ffa['AoZVX'],_0x275624);return this['findLatency'](_0x9d9970,_0xf9dcd3)[_0x531b95(0xa6)](_0x3fc914=>{const _0x1c5678=_0x531b95;if(_0x3fc914&&_0x3fc914['hubUrl']&&_0x2d2ffa['phBDL'](_0x3fc914['latency'],undefined)){const _0x5ef2b6={};return _0x5ef2b6['hubUrl']=_0x3fc914[_0x1c5678(0xb7)],_0x5ef2b6[_0x1c5678(0xf8)]=_0x3fc914['latency'],_0x5ef2b6['ok']=!![],_0x5ef2b6;}const _0x280cf0={};return _0x280cf0[_0x1c5678(0xb7)]=_0xf9dcd3,_0x280cf0[_0x1c5678(0xf8)]=null,_0x280cf0['ok']=![],_0x280cf0;})[_0x531b95(0xb1)](()=>({'hubUrl':_0xf9dcd3,'latency':null,'ok':![]}));});Promise[_0xce81bd(0xc5)](_0x503cda[_0xce81bd(0xda)](_0x54b360=>_0x54b360[_0xce81bd(0xa6)](_0x113aed=>_0x113aed['ok']?_0x113aed:null)))[_0xce81bd(0xa6)](_0x27dbc2=>{const _0x4a7efd=_0xce81bd;if(_0x27dbc2)return _0x27dbc2;return Promise[_0x4a7efd(0xb2)](_0x503cda)[_0x4a7efd(0xa6)](()=>null);})[_0xce81bd(0xa6)](_0x4fc8d7=>{const _0x9aad44=_0xce81bd,_0x59a53d={'eMwmV':_0x2d2ffa[_0x9aad44(0x106)],'NxDiU':function(_0x4bbbd9,_0x2c0622){const _0x4dd368=_0x9aad44;return _0x2d2ffa[_0x4dd368(0xf6)](_0x4bbbd9,_0x2c0622);},'QzgOa':_0x2d2ffa[_0x9aad44(0xdb)]};if(!_0x4fc8d7){logger[_0x9aad44(0xbf)](_0x2d2ffa[_0x9aad44(0x10a)]);const _0x2609ca=_0x2d2ffa[_0x9aad44(0xa8)](_0x2d2ffa['AoZVX'],_0x5e0197[0x0]);return globals['setGlobal'](_0x2d2ffa[_0x9aad44(0x106)],{'nearestHubs':_0x5e0197[_0x9aad44(0xda)](_0x6d7495=>_0x9aad44(0xf4)+_0x6d7495),'hubLatencies':{},'selectedHub':_0x2609ca,'selectedHubLatency':null,'fallback':!![],'timestamp':Date['now']()}),constants[_0x9aad44(0xb7)]=_0x2d2ffa[_0x9aad44(0xd2)](_0x2609ca,_0x2d2ffa[_0x9aad44(0xf7)]),logger['debug']('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0x2609ca),_0x2d2ffa[_0x9aad44(0xe7)](_0x5b17c5);}const _0x4b35e7={[_0x4fc8d7[_0x9aad44(0xb7)]]:_0x4fc8d7[_0x9aad44(0xf8)]},_0x2b448a={'nearestHubs':_0x5e0197['map'](_0x169596=>_0x9aad44(0xf4)+_0x169596),'hubLatencies':_0x4b35e7,'selectedHub':_0x4fc8d7['hubUrl'],'selectedHubLatency':_0x4fc8d7['latency'],'timestamp':Date[_0x9aad44(0xca)]()};globals[_0x9aad44(0xa5)](_0x2d2ffa[_0x9aad44(0x106)],_0x2b448a),constants[_0x9aad44(0xb7)]=_0x2d2ffa[_0x9aad44(0xa8)](_0x4fc8d7['hubUrl'],_0x2d2ffa[_0x9aad44(0xf7)]),logger[_0x9aad44(0xbf)](_0x9aad44(0xe0)+_0x4fc8d7[_0x9aad44(0xb7)]),_0x2d2ffa[_0x9aad44(0xe7)](_0x5b17c5),Promise[_0x9aad44(0xd9)](_0x503cda)[_0x9aad44(0xa6)](_0x45f1f3=>{const _0x44cec4=_0x9aad44;try{const _0x35f713=globals[_0x44cec4(0xb9)](_0x59a53d[_0x44cec4(0xba)]);if(!_0x35f713||_0x35f713['skipped'])return;const _0x140b4d={};for(const _0x6a8547 of _0x45f1f3){_0x59a53d['NxDiU'](_0x6a8547['status'],_0x59a53d[_0x44cec4(0xfe)])&&_0x6a8547[_0x44cec4(0xf2)]&&_0x6a8547['value']['ok']&&(_0x140b4d[_0x6a8547[_0x44cec4(0xf2)][_0x44cec4(0xb7)]]=_0x6a8547[_0x44cec4(0xf2)][_0x44cec4(0xf8)]);}_0x35f713[_0x44cec4(0x108)]=_0x140b4d;}catch(_0x30444d){logger[_0x44cec4(0xbf)]('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0x30444d);}})['catch'](_0x24e5fa=>{const _0x138548=_0x9aad44;logger[_0x138548(0xbf)](_0x138548(0xf1)+_0x24e5fa);});})['catch'](_0x46defb=>{const _0x261f51=_0xce81bd;logger[_0x261f51(0xbf)]('ERROR\x20in\x20hub\x20selection:\x20'+_0x46defb),_0x2ee930[_0x261f51(0xff)](_0x5b17c5);});})[_0x3343c3(0xb1)](_0x5bee7b=>{const _0x5defbb=_0x3343c3;logger['debug'](_0x5defbb(0xcb)+_0x5bee7b),_0x4eb6f0[_0x5defbb(0xc3)](_0x5b17c5);});});},exports[a174_0xbdf7ac(0xb3)]=async(_0x2d9415,_0x1e7e5f)=>{const _0x25a0d8=a174_0xbdf7ac,_0x298299={};_0x298299[_0x25a0d8(0xe4)]=_0x25a0d8(0xd6),_0x298299[_0x25a0d8(0x103)]='check',_0x298299[_0x25a0d8(0xa7)]=function(_0x22777f,_0x1b6419){return _0x22777f-_0x1b6419;};const _0x3cdbb6=_0x298299;try{const _0x5bc683=new Date();await helper[_0x25a0d8(0xb6)](_0x3cdbb6[_0x25a0d8(0xe4)],_0x3cdbb6[_0x25a0d8(0x103)],{},_0x2d9415,_0x1e7e5f,0x1388);const _0x43fdd6=_0x3cdbb6['GBoSZ'](new Date(),_0x5bc683);logger['debug'](_0x25a0d8(0xe6)+_0x1e7e5f+_0x25a0d8(0xb8)+_0x43fdd6+'ms');const _0x47219e={};return _0x47219e['hubUrl']=_0x1e7e5f,_0x47219e[_0x25a0d8(0xf8)]=_0x43fdd6,_0x47219e;}catch(_0x4f6cf9){return logger[_0x25a0d8(0xbf)](_0x25a0d8(0xe5)+_0x1e7e5f+_0x25a0d8(0xa4)+_0x4f6cf9),{};}},exports['nextHubs']=async _0x2f7a62=>{const _0x28c17e=a174_0xbdf7ac,_0x2fe142={'ohyKG':function(_0x1344b3,_0x5b0c40){return _0x1344b3(_0x5b0c40);},'prLRU':_0x28c17e(0x10b),'rvWsc':_0x28c17e(0xd8),'NbhZH':'GET','cmKRY':_0x28c17e(0xf5)};try{const _0x3ca092=_0x2fe142['ohyKG'](require,_0x2fe142[_0x28c17e(0xd5)])[_0x28c17e(0xb7)]['replace'](_0x2fe142[_0x28c17e(0xfb)],''),_0xc875a=await helper[_0x28c17e(0xb6)](_0x2fe142['NbhZH'],_0x2fe142[_0x28c17e(0x109)],{},_0x2f7a62,_0x3ca092,0x1388),_0x107877=_0xc875a[_0x28c17e(0xfc)];return logger[_0x28c17e(0xbf)](_0x28c17e(0xef)+util['format']('%j',_0x107877)),_0x107877['hubs'];}catch(_0x2ae10a){logger['debug'](_0x28c17e(0xaa)+_0x2ae10a);}return null;};
|