browserstack-node-sdk 1.64.3 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages-accessibility_pb.d.ts +70 -0
- package/generated/sdk-messages-accessibility_pb.js +545 -1
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +33 -0
- package/package.json +3 -3
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -0
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -0
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a168_0x262246=a168_0x159f;(function(_0x35a0b7,_0x4fc780){const _0x407557=a168_0x159f,_0x3bea0=_0x35a0b7();while(!![]){try{const _0x122e68=parseInt(_0x407557(0x141))/0x1*(parseInt(_0x407557(0x18e))/0x2)+-parseInt(_0x407557(0x13a))/0x3+parseInt(_0x407557(0x194))/0x4*(parseInt(_0x407557(0x144))/0x5)+-parseInt(_0x407557(0x12c))/0x6*(-parseInt(_0x407557(0x123))/0x7)+-parseInt(_0x407557(0x154))/0x8+parseInt(_0x407557(0x128))/0x9*(-parseInt(_0x407557(0x176))/0xa)+-parseInt(_0x407557(0x14c))/0xb*(parseInt(_0x407557(0x174))/0xc);if(_0x122e68===_0x4fc780)break;else _0x3bea0['push'](_0x3bea0['shift']());}catch(_0x4162b0){_0x3bea0['push'](_0x3bea0['shift']());}}}(a168_0x5849,0xd5533));const bsSetupHelper=require('../helper'),LoadTestModule=require(a168_0x262246(0x1cc)),{isTestObservabilitySession,getFrameworkVersion}=require(a168_0x262246(0x142)),accessibilityHelper=require(a168_0x262246(0x114)),logger=require(a168_0x262246(0x19a))['winstonLogger'],{nestedKeyValue}=require('../helper.js'),scripts=require(a168_0x262246(0x155)),globals=require(a168_0x262246(0x1ad)),testHubConstants=require(a168_0x262246(0x1d8)),PWTestDetails=require('../../bin/playwright/reporter/test-details.js'),JestTestDetails=require(a168_0x262246(0x1e4)),{FRAMEWORKS}=require(a168_0x262246(0x1c4)),{isTurboScaleSession}=require(a168_0x262246(0x1bd)),OrchestrationUtils=require(a168_0x262246(0x1db)),constants=require(a168_0x262246(0x1a2));let testData={};function a168_0x5849(){const _0x3e4fd1=['goog:chromeOptions','JASMINE','VXlEp','OSXOk','config','ERROR','XsBUN','scripts','slice','exVlR','qIBpM','rcGoa','LpFLh','12AyybvL','getTestData','debug','setTestObservabilityVariables','commands','JqZfd','6986404rUxCwN','HpqDu','TCkaf','AvrVx','TEST_REPORTING_ANALYTICS','username','../logger','BROWSERSTACK_SR_AUTOMATION','ieHfA','isBrowserstackInfra','command','xUmBg','sr_automation','getTestPlanId','../../bin/utils/constants.js','logBuildError','getTestFrameworkDetails','handleErrorForObservability','isTrue','CtwWo','JEST','MOCHA','getProductMapForBuildStartCall','handleErrorForAccessibility','getGlobal','../globals.js','jAWwI','XViak','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','dNWwv','BS_TESTOPS_JWT','vikzj','BROWSERSTACK_ACCESSIBILITY','Rgsck','message','wnsNe','scopes','getProductMap','keys','isAppAutomateSession','../ats/helper','nHhbE','setAccessibilityVariables','getCentralUser','prUkR','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','stringify','../test-observability/constants.js','FuCJy','password','InuYZ','uuid','UMNRs','checkAccessibilityPlatformConfig','length','../../bin/v2/modules/loadTestModule','skipCDPConnectOverride','testPlanId','javascript','nonBStackInfraA11yChromeOptions','parseA11yJwtPayload','bEyAb','isLTSSession','CUJJa','LogCreated','yctNR','vZCLH','./constants.js','rtnmN','parse','../test-orchestration/orchestrationUtils.js','QdxLS','PlYOU','rhOqc','tjeJj','appendTesthubParams','errors','sCKLV','platforms','../../bin/jest/test-observability/test-details.js','tags','3|4|5|1|0|2','OQDBG','BROWSERSTACK_PERCY','../accessibility-automation/helper','shouldProcessEventForTesthub','getCurrentTestData','INVALID_CREDENTIALS','EZIRm','FRAMEWORK_DETAILS','NACmY','argv','eZBPF','KhoRu','BROWSERSTACK_TESTHUB_JWT','test_run','split','allow_screenshots','pmLBT','7XuCkhH','llzFw','true','ACCESS_DENIED','shouldScanTestForAccessibility','1818caALeF','isAccessibilityPlatform','accessibility','KcVCn','8665992gqqiHP','toJson','CPubR','../../bin/jasmine/testRunMap.js','WCQvW','BUQXS','BS_TESTOPS_BUILD_HASHED_ID','getFrameworkDetails','BS_TESTOPS_ALLOW_SCREENSHOTS','2|0|5|4|3|1|6','assign','zRcZk','null','startsWith','3766512XEpUCQ','setTestHubCommonMetaInfo','env','HookRunFinished','error','forEach','getAccessibilityValueFromYml','43704MzoPhh','../test-observability/utils','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','5XrfBPw','getAgentVersion','build_hashed_id','tspQX','xsDyE','Elvpx','Uyamu','bstackA11yShouldScan','465872iqrybw','niIBd','false','isPercyBuild','BS_A11Y_JWT','BROWSERSTACK_TEST_PLAN_ID','KDBFB','NZtXK','3655696YgSZEz','../accessibility-automation/scripts.js','OHOay','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','ENV_VAR','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','join','CREDENTIALS_FOR_CRASH_REPORTING','toUpperCase','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','isTurboScaleSession','HookRunStarted','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isAccessibilityEnabled','oEBfQ','IshsZ','BROWSERSTACK_TESTHUB_UUID','uTVMR','JUruX','BROWSERSTACK_TESTHUB_UUID:\x20','success','parseFromJson','uSEKq','XpwFE','info','hMtyc','RTkLw','percy','product_map','iYXfK','options','name','84iDawci','get','28240sjHBhD','rZdNg','scannerVersion','TestRunStarted','trim','jwt','BS_TESTOPS_BUILD_COMPLETED','includes','observability','WBsWq','isUndefined'];a168_0x5849=function(){return _0x3e4fd1;};return a168_0x5849();}function a168_0x159f(_0x1889a5,_0x44b3a0){const _0x58498c=a168_0x5849();return a168_0x159f=function(_0x159fc1,_0x37f2d3){_0x159fc1=_0x159fc1-0x113;let _0x4977a4=_0x58498c[_0x159fc1];return _0x4977a4;},a168_0x159f(_0x1889a5,_0x44b3a0);}exports[a168_0x262246(0x1ba)]=_0x46be00=>{const _0x1f3180=a168_0x262246,_0x29411f={'HpqDu':function(_0x412478){return _0x412478();},'vZCLH':function(_0x2734ff,_0x13ce95){return _0x2734ff===_0x13ce95;},'FuCJy':'true'};let _0x598589=![],_0x37bc39=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper[_0x1f3180(0x1bc)](_0x46be00))_0x37bc39=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x598589=!![]);return Object[_0x1f3180(0x136)]({'observability':_0x29411f[_0x1f3180(0x195)](isTestObservabilitySession),'accessibility':exports[_0x1f3180(0x161)](_0x46be00),'percy':_0x46be00[_0x1f3180(0x16f)]||![],'sr_automation':_0x29411f[_0x1f3180(0x1d7)](process[_0x1f3180(0x13c)]['BROWSERSTACK_SR_AUTOMATION'],_0x29411f[_0x1f3180(0x1c5)])||_0x46be00[_0x1f3180(0x1a0)]||![],'automate':_0x598589,'app_automate':_0x37bc39,'turboscale':bsSetupHelper[_0x1f3180(0x15e)](_0x46be00),'lts':LoadTestModule[_0x1f3180(0x1d3)](_0x46be00)},bsSetupHelper['getCentralUser']());},exports[a168_0x262246(0x133)]=(_0x55e4e6,_0x46d969)=>{const _0x1f8808=a168_0x262246,_0x39c68a={'CPubR':function(_0x521279,_0x52cd9d){return _0x521279(_0x52cd9d);},'exVlR':_0x1f8808(0x1cf)},_0x488d9e={'frameworkName':_0x46d969,'frameworkVersion':_0x39c68a[_0x1f8808(0x12e)](getFrameworkVersion,_0x46d969),'sdkVersion':bsSetupHelper[_0x1f8808(0x145)](),'language':_0x39c68a[_0x1f8808(0x18a)],'testFramework':bsSetupHelper[_0x1f8808(0x1a4)](_0x55e4e6,_0x46d969)};return process[_0x1f8808(0x13c)][_0x1f8808(0x119)]=JSON[_0x1f8808(0x1c3)](_0x488d9e),_0x488d9e;},exports['setPercyFlag']=_0x438e45=>{const _0x32da2e=a168_0x262246,_0x4f063b={};_0x4f063b['dTpax']=_0x32da2e(0x14e),_0x4f063b['bEyAb']=_0x32da2e(0x125);const _0x5a8c22=_0x4f063b;process['env']['BROWSERSTACK_PERCY']=_0x5a8c22['dTpax'],bsSetupHelper[_0x32da2e(0x1a6)](_0x438e45[_0x32da2e(0x185)][_0x32da2e(0x16f)])&&(!_0x438e45[_0x32da2e(0x16f)]||!_0x438e45['percy']['isRunning']())&&(process[_0x32da2e(0x13c)][_0x32da2e(0x113)]=_0x5a8c22[_0x32da2e(0x1d2)]);},exports[a168_0x262246(0x14f)]=()=>{const _0x2952cd=a168_0x262246;return bsSetupHelper[_0x2952cd(0x1a6)](process[_0x2952cd(0x13c)]['BROWSERSTACK_PERCY']);},exports[a168_0x262246(0x161)]=(_0x5af9f6={})=>{const _0x4a9eab=a168_0x262246,_0x20737b={};_0x20737b[_0x4a9eab(0x16b)]=function(_0xcc6ef2,_0x382057){return _0xcc6ef2!==_0x382057;},_0x20737b[_0x4a9eab(0x162)]=function(_0x5e155a,_0x341ae8){return _0x5e155a===_0x341ae8;},_0x20737b[_0x4a9eab(0x1c1)]=_0x4a9eab(0x125),_0x20737b[_0x4a9eab(0x1dd)]=function(_0x2bdf69,_0x480875){return _0x2bdf69>_0x480875;},_0x20737b[_0x4a9eab(0x14a)]=function(_0x196267,_0x29ce5d){return _0x196267===_0x29ce5d;};const _0x4aa9ab=_0x20737b;if(_0x4aa9ab[_0x4a9eab(0x16b)](process[_0x4a9eab(0x13c)][_0x4a9eab(0x1b5)],undefined))return bsSetupHelper[_0x4a9eab(0x1a6)](process['env']['BROWSERSTACK_ACCESSIBILITY']);let _0x42623e=_0x4aa9ab[_0x4a9eab(0x162)](process['env'][_0x4a9eab(0x160)],_0x4aa9ab[_0x4a9eab(0x1c1)]);return _0x4aa9ab[_0x4a9eab(0x1dd)](Object[_0x4a9eab(0x1bb)](_0x5af9f6)[_0x4a9eab(0x1cb)],0x0)&&(process[_0x4a9eab(0x13c)][_0x4a9eab(0x159)]=accessibilityHelper[_0x4a9eab(0x1ca)](_0x5af9f6)),_0x42623e=_0x42623e||_0x4aa9ab[_0x4a9eab(0x14a)](process[_0x4a9eab(0x13c)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x4aa9ab['prUkR']),_0x42623e;},exports[a168_0x262246(0x191)]=(_0x2c6ca6,_0x2f717c)=>{const _0x4f257a=a168_0x262246,_0x1612d3={'YUyFU':function(_0x2d6064){return _0x2d6064();},'Ygzud':_0x4f257a(0x1e6),'CrxqW':function(_0x58f07f,_0x354121,_0x49649c){return _0x58f07f(_0x354121,_0x49649c);},'pmLBT':_0x4f257a(0x17e),'VXlEp':'options','iYXfK':_0x4f257a(0x125)};if(!_0x2c6ca6||!_0x2c6ca6['observability'])return exports[_0x4f257a(0x1a5)](),[null,null,null];if(!_0x2c6ca6[_0x4f257a(0x17e)][_0x4f257a(0x168)])return exports['handleErrorForObservability'](_0x2c6ca6[_0x4f257a(0x17e)]),[null,null,null];if(_0x1612d3['YUyFU'](isTestObservabilitySession)){const _0x4c69dc=_0x1612d3['Ygzud']['split']('|');let _0x49e0ee=0x0;while(!![]){switch(_0x4c69dc[_0x49e0ee++]){case'0':logger[_0x4f257a(0x190)]('['+constants[_0x4f257a(0x198)]+']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x2c6ca6['build_hashed_id']);continue;case'1':_0x1612d3['CrxqW'](nestedKeyValue,_0x2c6ca6,[_0x1612d3[_0x4f257a(0x122)],_0x1612d3[_0x4f257a(0x183)]])&&(process[_0x4f257a(0x13c)][_0x4f257a(0x134)]=_0x2c6ca6[_0x4f257a(0x17e)][_0x4f257a(0x172)][_0x4f257a(0x121)]['toString']());continue;case'2':return[_0x2c6ca6[_0x4f257a(0x17b)],_0x2c6ca6[_0x4f257a(0x146)],process['env'][_0x4f257a(0x134)]];case'3':process['env'][_0x4f257a(0x17c)]=_0x1612d3[_0x4f257a(0x171)];continue;case'4':if(_0x2c6ca6[_0x4f257a(0x17b)]){process[_0x4f257a(0x13c)][_0x4f257a(0x1b3)]=_0x2c6ca6['jwt'];const _0x56d06d={};_0x56d06d[_0x4f257a(0x199)]=_0x2f717c[_0x4f257a(0x199)],_0x56d06d['password']=_0x2f717c[_0x4f257a(0x1c6)],process[_0x4f257a(0x13c)][_0x4f257a(0x15b)]=JSON['stringify'](_0x56d06d);}continue;case'5':_0x2c6ca6['build_hashed_id']&&(process[_0x4f257a(0x13c)][_0x4f257a(0x132)]=_0x2c6ca6[_0x4f257a(0x146)]);continue;}break;}}return[null,null,null];},exports[a168_0x262246(0x1bf)]=_0xd097fa=>{const _0x16cc8c=a168_0x262246,_0x7d644e={'NACmY':function(_0x4417ef,_0x16def9,_0x228a33){return _0x4417ef(_0x16def9,_0x228a33);},'aLKwT':_0x16cc8c(0x12a),'jAWwI':_0x16cc8c(0x172),'QdxLS':function(_0x4b68b3,_0x1dd8fd,_0x2a0dd0,_0x19662f){return _0x4b68b3(_0x1dd8fd,_0x2a0dd0,_0x19662f);},'niIBd':_0x16cc8c(0x173),'vikzj':'value','rEFCY':function(_0x2ca2e8,_0x40ffc3,_0x4a5e6e,_0x129203){return _0x2ca2e8(_0x40ffc3,_0x4a5e6e,_0x129203);},'hvOEw':_0x16cc8c(0x19e),'KDBFB':_0x16cc8c(0x192),'rtnmN':function(_0x43278c,_0x4461d8,_0x9fef87,_0x5b0086){return _0x43278c(_0x4461d8,_0x9fef87,_0x5b0086);},'YyNeY':_0x16cc8c(0x1d0),'RTkLw':_0x16cc8c(0x181),'yctNR':function(_0x30524f,_0x43390e){return _0x30524f(_0x43390e);},'sCKLV':function(_0x1bec12,_0x1c80b5){return _0x1bec12===_0x1c80b5;},'xsDyE':function(_0x4e2284,_0xb12dc5){return _0x4e2284===_0xb12dc5;},'eZBPF':'true','uyVgv':_0x16cc8c(0x1b1)};if(!_0xd097fa['accessibility'])return exports[_0x16cc8c(0x1ab)](),[null,null];if(!_0xd097fa[_0x16cc8c(0x12a)]['success'])return exports[_0x16cc8c(0x1ab)](_0xd097fa[_0x16cc8c(0x12a)]),[null,null];if(_0x7d644e[_0x16cc8c(0x11a)](nestedKeyValue,_0xd097fa,[_0x7d644e['aLKwT'],_0x7d644e[_0x16cc8c(0x1ae)]])){const {accessibilityToken:_0x11fa0c,scannerVersion:_0x4740dc,scannerProcessingTimeout:_0x23c9ca,isMobileScanningEnabledForGroup:_0x225ef6}=_0x7d644e[_0x16cc8c(0x1dc)](jsonifyAccessibilityArray,_0xd097fa['accessibility'][_0x16cc8c(0x172)]['capabilities'],_0x7d644e[_0x16cc8c(0x14d)],_0x7d644e['vikzj']),_0x3acb79={'scripts':_0x7d644e['rEFCY'](jsonifyAccessibilityArray,_0xd097fa['accessibility']['options'][_0x16cc8c(0x188)],_0x7d644e['niIBd'],_0x7d644e['hvOEw'])};_0x3acb79[_0x7d644e[_0x16cc8c(0x152)]]=_0xd097fa[_0x16cc8c(0x12a)]['options']['commandsToWrap'][_0x16cc8c(0x192)];const _0x4bc11a=_0x7d644e[_0x16cc8c(0x1d9)](jsonifyAccessibilityArray,_0xd097fa['accessibility'][_0x16cc8c(0x172)]['capabilities'],_0x7d644e[_0x16cc8c(0x14d)],_0x7d644e[_0x16cc8c(0x1b4)]);_0x3acb79[_0x7d644e['YyNeY']]=_0x4bc11a[_0x7d644e[_0x16cc8c(0x16e)]],scripts[_0x16cc8c(0x169)](_0x3acb79),scripts[_0x16cc8c(0x12d)]();let _0x5ef68a=process[_0x16cc8c(0x13c)][_0x16cc8c(0x143)];_0x5ef68a=!!_0x5ef68a?JSON[_0x16cc8c(0x1da)](_0x5ef68a):{},_0x5ef68a[_0x16cc8c(0x178)]=_0x4740dc,process[_0x16cc8c(0x13c)][_0x16cc8c(0x143)]=JSON[_0x16cc8c(0x1c3)](_0x5ef68a),process[_0x16cc8c(0x13c)][_0x16cc8c(0x150)]=_0x11fa0c,process[_0x16cc8c(0x13c)][_0x16cc8c(0x157)]=_0x7d644e[_0x16cc8c(0x1d6)](String,_0x7d644e[_0x16cc8c(0x1e2)](_0x225ef6,!![])||_0x7d644e[_0x16cc8c(0x148)](_0x225ef6,_0x7d644e[_0x16cc8c(0x11c)])),logger[_0x16cc8c(0x190)](_0x16cc8c(0x15d)+_0xd097fa[_0x16cc8c(0x146)]);const _0x5a105a=accessibilityHelper[_0x16cc8c(0x1d1)](_0x11fa0c);return _0x5a105a&&bsSetupHelper['isTrue'](_0x5a105a[_0x16cc8c(0x1cd)])&&(process[_0x16cc8c(0x13c)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger[_0x16cc8c(0x190)](_0x7d644e['uyVgv'])),[_0x11fa0c,_0xd097fa[_0x16cc8c(0x146)],_0x23c9ca];}return[null,null];},exports[a168_0x262246(0x1a5)]=_0x10f3cc=>{const _0x36b2d7=a168_0x262246,_0x10f801={};_0x10f801['PHJYB']=_0x36b2d7(0x135),_0x10f801['JUruX']=_0x36b2d7(0x138),_0x10f801[_0x36b2d7(0x1df)]=_0x36b2d7(0x14e);const _0x5a0643=_0x10f801,_0x242588=_0x5a0643['PHJYB']['split']('|');let _0x151c6d=0x0;while(!![]){switch(_0x242588[_0x151c6d++]){case'0':process[_0x36b2d7(0x13c)]['BROWSERSTACK_TESTHUB_JWT']=_0x5a0643[_0x36b2d7(0x166)];continue;case'1':process['env'][_0x36b2d7(0x134)]=_0x5a0643[_0x36b2d7(0x166)];continue;case'2':process[_0x36b2d7(0x13c)]['BROWSERSTACK_TESTHUB_UUID']=_0x5a0643[_0x36b2d7(0x166)];continue;case'3':process[_0x36b2d7(0x13c)][_0x36b2d7(0x132)]=_0x5a0643[_0x36b2d7(0x166)];continue;case'4':process[_0x36b2d7(0x13c)]['BS_TESTOPS_JWT']=_0x5a0643[_0x36b2d7(0x166)];continue;case'5':process['env'][_0x36b2d7(0x17c)]=_0x5a0643[_0x36b2d7(0x1df)];continue;case'6':exports[_0x36b2d7(0x1a3)](_0x10f3cc,testHubConstants['OBSERVABILITY']);continue;}break;}},exports['handleErrorForAccessibility']=_0x582f53=>{const _0x5cda0f=a168_0x262246,_0x104904={};_0x104904[_0x5cda0f(0x1e7)]='0|3|2|1|4',_0x104904['uTVMR']='null',_0x104904[_0x5cda0f(0x1be)]=_0x5cda0f(0x14e);const _0x3fd5aa=_0x104904,_0x1fdfa9=_0x3fd5aa[_0x5cda0f(0x1e7)][_0x5cda0f(0x120)]('|');let _0x2852a5=0x0;while(!![]){switch(_0x1fdfa9[_0x2852a5++]){case'0':process[_0x5cda0f(0x13c)][_0x5cda0f(0x164)]=_0x3fd5aa[_0x5cda0f(0x165)];continue;case'1':process[_0x5cda0f(0x13c)][_0x5cda0f(0x159)]=_0x3fd5aa[_0x5cda0f(0x1be)];continue;case'2':process[_0x5cda0f(0x13c)][_0x5cda0f(0x160)]=_0x3fd5aa[_0x5cda0f(0x1be)];continue;case'3':process[_0x5cda0f(0x13c)][_0x5cda0f(0x11e)]=_0x3fd5aa['uTVMR'];continue;case'4':exports[_0x5cda0f(0x1a3)](_0x582f53,testHubConstants['ACCESSIBILITY']);continue;}break;}},exports[a168_0x262246(0x1a3)]=(_0x4f9213,_0x412797='')=>{const _0xe4cd15=a168_0x262246,_0x3543fe={};_0x3543fe[_0xe4cd15(0x131)]=function(_0x476180,_0x12f391){return _0x476180===_0x12f391;};const _0x8ec7d3=_0x3543fe;if(_0x8ec7d3[_0xe4cd15(0x131)](_0x4f9213,undefined)){logger['error'](_0x412797[_0xe4cd15(0x15c)]()+'\x20Build\x20creation\x20failed');return;}for(const _0x4e2f9e of _0x4f9213[_0xe4cd15(0x1e1)]){const _0x1a45da=_0x4e2f9e['key'],_0x217313=_0x4e2f9e[_0xe4cd15(0x1b7)];if(_0x217313)switch(_0x1a45da){case testHubConstants[_0xe4cd15(0x186)][_0xe4cd15(0x117)]:logger[_0xe4cd15(0x13e)](_0x217313);break;case testHubConstants[_0xe4cd15(0x186)][_0xe4cd15(0x126)]:logger[_0xe4cd15(0x16c)](_0x217313);break;case testHubConstants[_0xe4cd15(0x186)]['DEPRECATED']:logger[_0xe4cd15(0x13e)](_0x217313);break;default:logger['error'](_0x217313);}}};const jsonifyAccessibilityArray=(_0xeaca59,_0x49ef58,_0x2fca8e)=>{const _0x3bed17=a168_0x262246,_0x142dc7={};return _0xeaca59[_0x3bed17(0x13f)](_0x2ae0fb=>{_0x142dc7[_0x2ae0fb[_0x49ef58]]=_0x2ae0fb[_0x2fca8e];}),_0x142dc7;};exports[a168_0x262246(0x13b)]=_0x21d19b=>{const _0x495e47=a168_0x262246;_0x21d19b[_0x495e47(0x17b)]&&(process[_0x495e47(0x13c)][_0x495e47(0x11e)]=_0x21d19b[_0x495e47(0x17b)]);_0x21d19b['build_hashed_id']&&(process[_0x495e47(0x13c)][_0x495e47(0x164)]=_0x21d19b['build_hashed_id'],logger[_0x495e47(0x190)](_0x495e47(0x167)+_0x21d19b['build_hashed_id']));;},exports[a168_0x262246(0x115)]=(_0x359352='',_0x4836c8='')=>{const _0x40c753=a168_0x262246,_0xe166eb={'Elvpx':function(_0x1c8336){return _0x1c8336();},'qIBpM':function(_0x2968e7,_0x53d8e1){return _0x2968e7===_0x53d8e1;},'UMNRs':'uploadEventData','WBsWq':_0x40c753(0x1d5),'rCoVr':'CBTSessionCreated','KcVCn':_0x40c753(0x15f),'ieHfA':_0x40c753(0x13d),'svRdT':function(_0x507ff6){return _0x507ff6();}};if(exports[_0x40c753(0x14f)]()&&!exports[_0x40c753(0x161)]()&&!_0xe166eb[_0x40c753(0x149)](isTestObservabilitySession)){if(_0xe166eb[_0x40c753(0x18b)](_0x4836c8,_0xe166eb[_0x40c753(0x1c9)]))return![];if([_0xe166eb[_0x40c753(0x17f)],_0xe166eb['rCoVr']][_0x40c753(0x17d)](_0x359352))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0xe166eb[_0x40c753(0x149)](isTestObservabilitySession)){if([_0xe166eb[_0x40c753(0x12b)],_0xe166eb[_0x40c753(0x19c)],_0xe166eb[_0x40c753(0x17f)]][_0x40c753(0x17d)](_0x359352))return![];return!![];}return exports['isAccessibilityEnabled']()||_0xe166eb['svRdT'](isTestObservabilitySession)||exports[_0x40c753(0x14f)]();},exports[a168_0x262246(0x1e0)]=(_0x480f7d,_0x10f3ce,_0x5e160a='',_0x606825)=>{const _0x1f02ee=a168_0x262246,_0x311b1a={'llzFw':_0x1f02ee(0x15f),'EZIRm':_0x1f02ee(0x13d),'WCQvW':function(_0x494203,_0xe4476f){return _0x494203===_0xe4476f;},'LpFLh':_0x1f02ee(0x14b),'zRcZk':_0x1f02ee(0x129),'TCkaf':_0x1f02ee(0x12a),'hMtyc':function(_0x4e7dc7,_0x22f51c){return _0x4e7dc7&&_0x22f51c;},'CUJJa':function(_0xc14bf5,_0x53c5fc){return _0xc14bf5===_0x53c5fc;},'KhoRu':function(_0x57cd3c,_0x9cf97f){return _0x57cd3c+_0x9cf97f;},'Rgsck':function(_0x5a2668,_0x38fa3c){return _0x5a2668+_0x38fa3c;},'tspQX':function(_0x5a7f37,_0x17951d){return _0x5a7f37&&_0x17951d;},'rADpZ':function(_0x5817a4,_0x3b3f58){return _0x5817a4(_0x3b3f58);},'aQFKV':_0x1f02ee(0x12f),'dNWwv':function(_0x1b94c4,_0x233143){return _0x1b94c4&&_0x233143;},'rZdNg':function(_0x162e8b,_0x3b18a9){return _0x162e8b===_0x3b18a9;},'wnsNe':_0x1f02ee(0x179),'OHOay':_0x1f02ee(0x170)};if(![_0x311b1a[_0x1f02ee(0x124)],_0x311b1a[_0x1f02ee(0x118)]][_0x1f02ee(0x17d)](_0x10f3ce)&&exports[_0x1f02ee(0x161)]()){const _0x398b58={};if(_0x311b1a['WCQvW'](_0x606825,FRAMEWORKS[_0x1f02ee(0x1a9)])){const _0x208835=globals[_0x1f02ee(0x1ac)](_0x311b1a[_0x1f02ee(0x18d)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x5e160a['titlePath'](),!![]),_0x5bd716=globals[_0x1f02ee(0x1ac)](_0x311b1a[_0x1f02ee(0x137)]);_0x398b58[_0x311b1a[_0x1f02ee(0x196)]]=_0x311b1a[_0x1f02ee(0x16d)](_0x5bd716,_0x208835);}if(_0x311b1a[_0x1f02ee(0x1d4)](_0x606825,FRAMEWORKS[_0x1f02ee(0x1a8)])){const _0x4998bf=_0x311b1a[_0x1f02ee(0x11d)](_0x311b1a[_0x1f02ee(0x1b6)](_0x480f7d['scopes']['join']('\x20'),'\x20'),_0x5e160a[_0x1f02ee(0x173)]),_0x272c02=globals[_0x1f02ee(0x1ac)](_0x311b1a[_0x1f02ee(0x18d)])||accessibilityHelper[_0x1f02ee(0x127)](_0x4998bf,![]),_0x487e7a=browserStackGlobals[_0x1f02ee(0x129)];_0x398b58[_0x311b1a[_0x1f02ee(0x196)]]=_0x311b1a[_0x1f02ee(0x147)](_0x487e7a,_0x272c02);}if(_0x311b1a[_0x1f02ee(0x130)](_0x606825,FRAMEWORKS[_0x1f02ee(0x182)])){const _0x2637b6=_0x311b1a['rADpZ'](require,_0x311b1a['aQFKV']),_0x79e896=_0x5e160a&&_0x2637b6[_0x1f02ee(0x175)](_0x5e160a['id'])||_0x480f7d['uuid'];_0x79e896&&(_0x480f7d['uuid']=_0x79e896);const _0x1a9d90=_0x311b1a[_0x1f02ee(0x11d)](_0x311b1a[_0x1f02ee(0x11d)](_0x480f7d[_0x1f02ee(0x1b9)][_0x1f02ee(0x15a)]('\x20'),'\x20'),_0x5e160a['description']||_0x480f7d[_0x1f02ee(0x173)]),_0x2673cb=globals[_0x1f02ee(0x1ac)](_0x311b1a['LpFLh'])||accessibilityHelper[_0x1f02ee(0x127)](_0x1a9d90,![]),_0x4c9d0c=globals['getGlobal'](_0x311b1a[_0x1f02ee(0x137)]);_0x398b58[_0x311b1a['TCkaf']]=_0x311b1a[_0x1f02ee(0x1b2)](_0x4c9d0c,_0x2673cb);}if(_0x311b1a[_0x1f02ee(0x130)](_0x606825,FRAMEWORKS['PLAYWRIGHT'])){if(_0x311b1a[_0x1f02ee(0x177)](_0x10f3ce,_0x311b1a[_0x1f02ee(0x1b8)]))return;_0x398b58[_0x311b1a[_0x1f02ee(0x196)]]=PWTestDetails['getAccessibilityPlatformValidation'](_0x480f7d[_0x1f02ee(0x1c8)]);}if(_0x311b1a['WCQvW'](_0x606825,FRAMEWORKS['CODECEPT'])){const _0xc2d17c=accessibilityHelper['shouldScanTestForAccessibility'](_0x5e160a['titlePath'](),!![]),_0x3fd410=global['accessibilityPlatform'];_0x398b58[_0x311b1a[_0x1f02ee(0x196)]]=_0x311b1a[_0x1f02ee(0x147)](_0x3fd410,_0xc2d17c);}if(_0x311b1a[_0x1f02ee(0x177)](_0x606825,FRAMEWORKS['CUCUMBER'])){const _0x4effba=accessibilityHelper[_0x1f02ee(0x127)](null,![],_0x480f7d[_0x1f02ee(0x1e5)]),_0x375500=globals[_0x1f02ee(0x1ac)](_0x311b1a['zRcZk']);_0x398b58[_0x311b1a[_0x1f02ee(0x196)]]=_0x311b1a[_0x1f02ee(0x1b2)](_0x375500,_0x4effba);}_0x480f7d[_0x311b1a[_0x1f02ee(0x156)]]=_0x398b58;}},exports[a168_0x262246(0x116)]=_0x1120a3=>{const _0x4c5f01=a168_0x262246,_0x59f88e={};_0x59f88e['InuYZ']=function(_0x5577fa,_0x5cd2c9){return _0x5577fa>_0x5cd2c9;};const _0x58b4b8=_0x59f88e;let _0x59fcf0={};if(_0x58b4b8['InuYZ'](Object['keys'](testData)[_0x4c5f01(0x1cb)],0x0))return testData;_0x59fcf0=JestTestDetails[_0x4c5f01(0x18f)]();if(_0x58b4b8[_0x4c5f01(0x1c7)](Object['keys'](_0x59fcf0)[_0x4c5f01(0x1cb)],0x0))return _0x59fcf0;return _0x59fcf0;},exports['setCurrentTestData']=(_0x4938a4,_0xe21818={})=>{const _0x4b5c55=a168_0x262246;if(bsSetupHelper[_0x4b5c55(0x180)](_0xe21818['test_run']))return;switch(_0x4938a4){case FRAMEWORKS[_0x4b5c55(0x1a9)]:testData=_0xe21818[_0x4b5c55(0x11f)];break;case FRAMEWORKS[_0x4b5c55(0x1a8)]:JestTestDetails['setTestData'](_0xe21818[_0x4b5c55(0x11f)]);break;case FRAMEWORKS[_0x4b5c55(0x182)]:testData=_0xe21818[_0x4b5c55(0x11f)];break;default:break;}},exports['getAccessibilityValueFromYml']=_0xbba5fc=>{const _0x38b6e2=a168_0x262246,_0x107532={};_0x107532[_0x38b6e2(0x1af)]=function(_0x1f9177,_0x1f7b96){return _0x1f9177!==_0x1f7b96;},_0x107532['JqZfd']=function(_0x2b9beb,_0x49c3ce){return _0x2b9beb!==_0x49c3ce;};const _0x456f46=_0x107532;if(_0x456f46['XViak'](_0xbba5fc[_0x38b6e2(0x12a)],null)&&_0x456f46[_0x38b6e2(0x1af)](_0xbba5fc['accessibility'],undefined))return _0xbba5fc['accessibility'];let _0x21aba3=![],_0x2f98bf=![];if(_0xbba5fc[_0x38b6e2(0x1e3)])for(const _0x1c2916 of _0xbba5fc[_0x38b6e2(0x1e3)]){_0x456f46[_0x38b6e2(0x193)](_0x1c2916[_0x38b6e2(0x12a)],null)&&_0x456f46['XViak'](_0x1c2916['accessibility'],undefined)&&(_0x21aba3=_0x21aba3||bsSetupHelper['isTrue'](_0x1c2916[_0x38b6e2(0x12a)]),_0x2f98bf=!![]);}if(_0x2f98bf)return _0x21aba3;return null;},exports['getTestOrchestrationBuildStartData']=_0x18ace7=>{if(!_0x18ace7)return{};const _0x210cd9=new OrchestrationUtils(_0x18ace7);return _0x210cd9['getBuildStartData']();},exports[a168_0x262246(0x1aa)]=_0x27a8c0=>{const _0x4bc4c2=a168_0x262246,_0x282269={'OSXOk':function(_0x502cae){return _0x502cae();},'rcGoa':function(_0x5b0dc4,_0x2db458){return _0x5b0dc4===_0x2db458;},'XsBUN':_0x4bc4c2(0x125)};let _0x4f53c2=![],_0x50bbf7=![];if(bsSetupHelper[_0x4bc4c2(0x19d)]()&&bsSetupHelper[_0x4bc4c2(0x1bc)](_0x27a8c0))_0x50bbf7=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x4f53c2=!![]);return Object[_0x4bc4c2(0x136)]({'observability':_0x282269[_0x4bc4c2(0x184)](isTestObservabilitySession),'accessibility':exports[_0x4bc4c2(0x140)](_0x27a8c0),'percy':_0x27a8c0['percy']||![],'sr_automation':_0x282269[_0x4bc4c2(0x18c)](process[_0x4bc4c2(0x13c)][_0x4bc4c2(0x19b)],_0x282269[_0x4bc4c2(0x187)])||_0x27a8c0[_0x4bc4c2(0x1a0)]||![],'automate':_0x4f53c2,'app_automate':_0x50bbf7,'turboscale':bsSetupHelper[_0x4bc4c2(0x15e)](_0x27a8c0),'lts':LoadTestModule[_0x4bc4c2(0x1d3)](_0x27a8c0)},bsSetupHelper[_0x4bc4c2(0x1c0)]());};const normalizeTestPlanId=_0x105f39=>{const _0x3f6eb2=a168_0x262246,_0x431521={};_0x431521['EDnUr']=function(_0x453c11,_0x5525ad){return _0x453c11!==_0x5525ad;},_0x431521[_0x3f6eb2(0x19f)]='string',_0x431521[_0x3f6eb2(0x16a)]=function(_0x4debda,_0x408c52){return _0x4debda>_0x408c52;};const _0x53b777=_0x431521;if(_0x53b777['EDnUr'](typeof _0x105f39,_0x53b777[_0x3f6eb2(0x19f)]))return undefined;const _0x414136=_0x105f39[_0x3f6eb2(0x17a)]();return _0x53b777[_0x3f6eb2(0x16a)](_0x414136[_0x3f6eb2(0x1cb)],0x0)?_0x414136:undefined;},readTestPlanIdFromCliArgs=(_0x2a366a=process[a168_0x262246(0x11b)])=>{const _0x3befb9=a168_0x262246,_0xa6dad6={};_0xa6dad6['CtwWo']=function(_0x4318df,_0x5c441c){return _0x4318df<_0x5c441c;},_0xa6dad6['krHad']=function(_0x4d416b,_0x2c9272){return _0x4d416b===_0x2c9272;},_0xa6dad6[_0x3befb9(0x163)]=function(_0x172b62,_0x591d90){return _0x172b62+_0x591d90;},_0xa6dad6['NZtXK']=function(_0x2b2ae4,_0x472feb){return _0x2b2ae4+_0x472feb;};const _0x7c12e1=_0xa6dad6,_0xc9d58b='--'+testHubConstants[_0x3befb9(0x1b0)];for(let _0x49ff60=0x0;_0x7c12e1[_0x3befb9(0x1a7)](_0x49ff60,_0x2a366a['length']);_0x49ff60+=0x1){const _0x36bd02=_0x2a366a[_0x49ff60];if(_0x7c12e1['krHad'](_0x36bd02,_0xc9d58b)){const _0x3838d3=_0x2a366a[_0x7c12e1[_0x3befb9(0x163)](_0x49ff60,0x1)];if(!_0x3838d3||_0x3838d3[_0x3befb9(0x139)]('--'))return undefined;return _0x3838d3;}if(_0x36bd02[_0x3befb9(0x139)](_0xc9d58b+'='))return _0x36bd02[_0x3befb9(0x189)](_0x7c12e1[_0x3befb9(0x153)](_0xc9d58b[_0x3befb9(0x1cb)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0xe5025f={})=>{const _0x294ca7=a168_0x262246,_0x3f675f={'rhOqc':function(_0x1dd053,_0x1a6a08){return _0x1dd053(_0x1a6a08);}};return _0x3f675f[_0x294ca7(0x1de)](normalizeTestPlanId,_0xe5025f&&_0xe5025f['testManagementOptions']&&_0xe5025f['testManagementOptions'][_0x294ca7(0x1ce)]);};exports[a168_0x262246(0x1a1)]=(_0x335992={},_0x3b660f=process[a168_0x262246(0x11b)],_0x2cfa38=process[a168_0x262246(0x13c)])=>{const _0x2600bf=a168_0x262246,_0x20294a={'AvrVx':function(_0x19f24,_0x11628d){return _0x19f24(_0x11628d);}};try{const _0x24318f=_0x20294a[_0x2600bf(0x197)](normalizeTestPlanId,_0x20294a['AvrVx'](readTestPlanIdFromCliArgs,_0x3b660f));if(_0x24318f)return _0x24318f;const _0x4dae39=_0x20294a[_0x2600bf(0x197)](normalizeTestPlanId,_0x2cfa38&&_0x2cfa38[testHubConstants[_0x2600bf(0x158)][_0x2600bf(0x151)]]);if(_0x4dae39)return _0x4dae39;return _0x20294a['AvrVx'](readTestPlanIdFromConfig,_0x335992);}catch(_0x364ece){return logger[_0x2600bf(0x190)](_0x2600bf(0x1c2)+(_0x364ece&&_0x364ece[_0x2600bf(0x1b7)]?_0x364ece['message']:_0x364ece)),undefined;}};
|
|
1
|
+
const a170_0x462f9a=a170_0x35d8;(function(_0x425cd7,_0x2feec8){const _0x2502f7=a170_0x35d8,_0x5d66a9=_0x425cd7();while(!![]){try{const _0x213e8d=-parseInt(_0x2502f7(0x1a1))/0x1*(parseInt(_0x2502f7(0x155))/0x2)+-parseInt(_0x2502f7(0x12d))/0x3+-parseInt(_0x2502f7(0x13b))/0x4+parseInt(_0x2502f7(0x1e3))/0x5+parseInt(_0x2502f7(0x162))/0x6+parseInt(_0x2502f7(0x1df))/0x7+parseInt(_0x2502f7(0x1e5))/0x8*(parseInt(_0x2502f7(0x1af))/0x9);if(_0x213e8d===_0x2feec8)break;else _0x5d66a9['push'](_0x5d66a9['shift']());}catch(_0x34f463){_0x5d66a9['push'](_0x5d66a9['shift']());}}}(a170_0x3d17,0x5f5af));const bsSetupHelper=require('../helper'),LoadTestModule=require(a170_0x462f9a(0x18e)),{isTestObservabilitySession,getFrameworkVersion}=require(a170_0x462f9a(0x1cc)),accessibilityHelper=require(a170_0x462f9a(0x1d2)),logger=require('../logger')[a170_0x462f9a(0x122)],{nestedKeyValue}=require(a170_0x462f9a(0x13a)),scripts=require('../accessibility-automation/scripts.js'),globals=require('../globals.js'),testHubConstants=require('./constants.js'),PWTestDetails=require(a170_0x462f9a(0x154)),JestTestDetails=require(a170_0x462f9a(0x133)),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require(a170_0x462f9a(0x173)),OrchestrationUtils=require(a170_0x462f9a(0x12e)),constants=require(a170_0x462f9a(0x1e1));let testData={};function a170_0x3d17(){const _0x2003c6=['wlOwM','BROWSERSTACK_PERCY','bvSOV','\x20Build\x20creation\x20failed','CREDENTIALS_FOR_CRASH_REPORTING','nonBStackInfraA11yChromeOptions','getAgentVersion','uuid','BROWSERSTACK_TESTHUB_UUID:\x20','DdMQL','argv','getAccessibilityPlatformValidation','Tbbcq','isUndefined','INVALID_CREDENTIALS','isBrowserstackInfra','BROWSERSTACK_TESTHUB_UUID','UfdHp','TUYZu','hKkcN','forEach','bawSi','success','EjOpZ','snExx','name','../../bin/v2/modules/loadTestModule','CODECEPT','ZvjaE','1|0|4|2|3','error','HookRunFinished','toString','BROWSERSTACK_SR_AUTOMATION','get','dguuC','MOCHA','options','null','allow_screenshots','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','DEPRECATED','gaAOf','UvZpg',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','230JjpaTp','VtirI','skipCDPConnectOverride','build_hashed_id','uploadEventData','password','appendTesthubParams','getCentralUser','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','RAKoJ','aJTil','shouldScanTestForAccessibility','VHOBv','checkAccessibilityPlatformConfig','54AhyrJw','javascript','testPlanId','percy','sSIkb','JASMINE','includes','XNfev','BROWSERSTACK_TESTHUB_JWT','tDCWE','isTurboScaleSession','jwt','nXvcI','AjIYQ','4|2|5|3|0|1','BS_TESTOPS_BUILD_COMPLETED','whbWU','OmLlm','parseFromJson','parseA11yJwtPayload','qzQFB','frZEA','goog:chromeOptions','isPercyBuild','message','ovncJ','jgSWP','info','YPPCm','../test-observability/utils','length','BImZw','setTestObservabilityVariables','UBZbi','irlCG','../accessibility-automation/helper','lSdwd','dOuXy','qCpxU','BS_TESTOPS_JWT','HookRunStarted','XMAdf','TFEFo','HPhAK','accessibility','JEST','getFrameworkDetails','eEoJB','4533235qebefX','join','../../bin/utils/constants.js','setAccessibilityVariables','2760120YAMWgN','ACCESS_DENIED','722872sIiCnm','string','toUpperCase','observability','env','nrfBv','UUGuI','tRXJR','GwOAM','logBuildError','5|0|4|2|1|6|3','commands','FdvbD','winstonLogger','wsNBg','getGlobal','BS_TESTOPS_BUILD_HASHED_ID','bstackA11yShouldScan','isAppAutomateSession','startsWith','config','BROWSERSTACK_ACCESSIBILITY','setPercyFlag','Rwyij','1931469DWpuRl','../test-orchestration/orchestrationUtils.js','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_TEST_PLAN_ID','GyarT','debug','../../bin/jest/test-observability/test-details.js','stringify','fDxKY','wIGjk','keys','split','isAccessibilityPlatform','../helper.js','2070696xogEBx','zkIvH','EZMBU','handleErrorForObservability','isAccessibilityEnabled','test_run','../../bin/jasmine/testRunMap.js','XFwuq','VwygJ','PEMxF','parse','ERROR','gPyxg','PLAYWRIGHT','description','UPcHQ','CQeAN','tags','IikVb','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','fhYIw','getTestOrchestrationBuildStartData','setTestHubCommonMetaInfo','TEST_REPORTING_ANALYTICS','testManagementOptions','../../bin/playwright/reporter/test-details.js','5726GuGbXj','yfJXf','isTrue','handleErrorForAccessibility','username','toJson','rSdEv','lrhrr','getAccessibilityValueFromYml','platforms','CUCUMBER','sr_automation','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','2812674KWrhpU','LogCreated','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','titlePath','true','Flrxw','getCurrentTestData','false','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','rNouX','scannerVersion','BS_A11Y_JWT','CBTSessionCreated','getTestPlanId','accessibilityPlatform','BS_TESTOPS_ALLOW_SCREENSHOTS','zHUal','../ats/helper'];a170_0x3d17=function(){return _0x2003c6;};return a170_0x3d17();}exports['getProductMap']=_0x56d8eb=>{const _0x4fe449=a170_0x462f9a,_0x231283={'fciXo':function(_0x59f511){return _0x59f511();},'KOqMF':function(_0x34aa65,_0xffdfd0){return _0x34aa65===_0xffdfd0;},'GyarT':_0x4fe449(0x166)};let _0x81626a=![],_0x157c75=![];if(bsSetupHelper[_0x4fe449(0x183)]()&&bsSetupHelper['isAppAutomateSession'](_0x56d8eb))_0x157c75=!![];else bsSetupHelper[_0x4fe449(0x183)]()&&(_0x81626a=!![]);return Object['assign']({'observability':_0x231283['fciXo'](isTestObservabilitySession),'accessibility':exports[_0x4fe449(0x13f)](_0x56d8eb),'percy':_0x56d8eb[_0x4fe449(0x1b2)]||![],'sr_automation':_0x231283['KOqMF'](process['env']['BROWSERSTACK_SR_AUTOMATION'],_0x231283[_0x4fe449(0x131)])||_0x56d8eb[_0x4fe449(0x160)]||![],'automate':_0x81626a,'app_automate':_0x157c75,'turboscale':bsSetupHelper[_0x4fe449(0x1b9)](_0x56d8eb),'lts':LoadTestModule['isLTSSession'](_0x56d8eb)},bsSetupHelper[_0x4fe449(0x1a8)]());},exports[a170_0x462f9a(0x1dd)]=(_0x2c9e1a,_0x427ef7)=>{const _0x2430d0=a170_0x462f9a,_0x53299d={'qCpxU':function(_0x177b94,_0x21b135){return _0x177b94(_0x21b135);},'wIGjk':_0x2430d0(0x1b0)},_0xbc1a79={'frameworkName':_0x427ef7,'frameworkVersion':_0x53299d[_0x2430d0(0x1d5)](getFrameworkVersion,_0x427ef7),'sdkVersion':bsSetupHelper[_0x2430d0(0x17a)](),'language':_0x53299d[_0x2430d0(0x136)],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x2c9e1a,_0x427ef7)};return process['env']['FRAMEWORK_DETAILS']=JSON[_0x2430d0(0x134)](_0xbc1a79),_0xbc1a79;},exports[a170_0x462f9a(0x12b)]=_0x4f98dc=>{const _0x3401ed=a170_0x462f9a,_0x1b6840={};_0x1b6840[_0x3401ed(0x18c)]='false',_0x1b6840[_0x3401ed(0x185)]=_0x3401ed(0x166);const _0x3cec6e=_0x1b6840;process['env'][_0x3401ed(0x175)]=_0x3cec6e[_0x3401ed(0x18c)],bsSetupHelper[_0x3401ed(0x157)](_0x4f98dc[_0x3401ed(0x129)][_0x3401ed(0x1b2)])&&(!_0x4f98dc[_0x3401ed(0x1b2)]||!_0x4f98dc['percy']['isRunning']())&&(process[_0x3401ed(0x1e9)][_0x3401ed(0x175)]=_0x3cec6e['UfdHp']);},exports[a170_0x462f9a(0x1c6)]=()=>{return bsSetupHelper['isTrue'](process['env']['BROWSERSTACK_PERCY']);},exports[a170_0x462f9a(0x13f)]=(_0x202553={})=>{const _0xfb34f=a170_0x462f9a,_0x1c811d={};_0x1c811d[_0xfb34f(0x1aa)]=function(_0x153c7a,_0x537449){return _0x153c7a!==_0x537449;},_0x1c811d[_0xfb34f(0x142)]=function(_0x7712d1,_0x4c2af0){return _0x7712d1===_0x4c2af0;},_0x1c811d[_0xfb34f(0x189)]='true',_0x1c811d[_0xfb34f(0x135)]=function(_0x5a79fd,_0x2108db){return _0x5a79fd>_0x2108db;};const _0x1e08b3=_0x1c811d;if(_0x1e08b3[_0xfb34f(0x1aa)](process['env']['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper[_0xfb34f(0x157)](process[_0xfb34f(0x1e9)][_0xfb34f(0x12a)]);let _0x5e3420=_0x1e08b3[_0xfb34f(0x142)](process[_0xfb34f(0x1e9)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x1e08b3['bawSi']);return _0x1e08b3[_0xfb34f(0x135)](Object['keys'](_0x202553)[_0xfb34f(0x1cd)],0x0)&&(process[_0xfb34f(0x1e9)][_0xfb34f(0x1a9)]=accessibilityHelper[_0xfb34f(0x1ae)](_0x202553)),_0x5e3420=_0x5e3420||_0x1e08b3[_0xfb34f(0x142)](process[_0xfb34f(0x1e9)][_0xfb34f(0x1a9)],_0x1e08b3[_0xfb34f(0x189)]),_0x5e3420;},exports[a170_0x462f9a(0x1cf)]=(_0x408dcd,_0x38f8f2)=>{const _0x16a002=a170_0x462f9a,_0x1bb727={'KXlRU':function(_0x4427a3){return _0x4427a3();},'XNfev':_0x16a002(0x1bd),'wlOwM':function(_0x9173b0,_0x3c4696,_0x1138ac){return _0x9173b0(_0x3c4696,_0x1138ac);},'GwOAM':_0x16a002(0x1e8),'fhYIw':_0x16a002(0x199),'DdMQL':_0x16a002(0x166)};if(!_0x408dcd||!_0x408dcd[_0x16a002(0x1e8)])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x408dcd[_0x16a002(0x1e8)][_0x16a002(0x18a)])return exports['handleErrorForObservability'](_0x408dcd[_0x16a002(0x1e8)]),[null,null,null];if(_0x1bb727['KXlRU'](isTestObservabilitySession)){const _0x422229=_0x1bb727[_0x16a002(0x1b6)]['split']('|');let _0x3d7c2e=0x0;while(!![]){switch(_0x422229[_0x3d7c2e++]){case'0':logger[_0x16a002(0x132)]('['+constants[_0x16a002(0x152)]+_0x16a002(0x1a0)+_0x408dcd['build_hashed_id']);continue;case'1':return[_0x408dcd[_0x16a002(0x1ba)],_0x408dcd['build_hashed_id'],process[_0x16a002(0x1e9)][_0x16a002(0x171)]];case'2':if(_0x408dcd[_0x16a002(0x1ba)]){process[_0x16a002(0x1e9)][_0x16a002(0x1d6)]=_0x408dcd[_0x16a002(0x1ba)];const _0x12e35c={};_0x12e35c['username']=_0x38f8f2[_0x16a002(0x159)],_0x12e35c['password']=_0x38f8f2[_0x16a002(0x1a6)],process['env'][_0x16a002(0x178)]=JSON['stringify'](_0x12e35c);}continue;case'3':_0x1bb727[_0x16a002(0x174)](nestedKeyValue,_0x408dcd,[_0x1bb727[_0x16a002(0x1ed)],_0x1bb727[_0x16a002(0x14f)]])&&(process[_0x16a002(0x1e9)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x408dcd[_0x16a002(0x1e8)][_0x16a002(0x199)][_0x16a002(0x19b)][_0x16a002(0x194)]());continue;case'4':process[_0x16a002(0x1e9)][_0x16a002(0x1be)]=_0x1bb727[_0x16a002(0x17d)];continue;case'5':_0x408dcd[_0x16a002(0x1a4)]&&(process[_0x16a002(0x1e9)][_0x16a002(0x125)]=_0x408dcd[_0x16a002(0x1a4)]);continue;}break;}}return[null,null,null];},exports[a170_0x462f9a(0x1e2)]=_0x3cb50d=>{const _0x2ae3fc=a170_0x462f9a,_0x2549e5={'lrhrr':function(_0x561ffc,_0x197ce3,_0xa7e855){return _0x561ffc(_0x197ce3,_0xa7e855);},'GonbV':'accessibility','JhcWC':'options','ovncJ':function(_0x2cdeb6,_0x1e4174,_0x56b411,_0x982781){return _0x2cdeb6(_0x1e4174,_0x56b411,_0x982781);},'Rwyij':_0x2ae3fc(0x18d),'jgSWP':'value','sSIkb':function(_0x273f70,_0x1a3cbc,_0x31a643,_0x5e562e){return _0x273f70(_0x1a3cbc,_0x31a643,_0x5e562e);},'MXGua':'command','wsNBg':_0x2ae3fc(0x1f0),'rNouX':function(_0x2cc6a1,_0x285a7d,_0x2138a1,_0x1d2677){return _0x2cc6a1(_0x285a7d,_0x2138a1,_0x1d2677);},'CQeAN':_0x2ae3fc(0x179),'DimYg':_0x2ae3fc(0x1c5),'gSFUg':function(_0x1c0696,_0x32cbd4){return _0x1c0696(_0x32cbd4);},'Cvqpq':function(_0x35bc01,_0x216d9e){return _0x35bc01===_0x216d9e;},'uDoYx':_0x2ae3fc(0x166),'VNsdw':_0x2ae3fc(0x14e)};if(!_0x3cb50d[_0x2ae3fc(0x1db)])return exports[_0x2ae3fc(0x158)](),[null,null];if(!_0x3cb50d['accessibility'][_0x2ae3fc(0x18a)])return exports[_0x2ae3fc(0x158)](_0x3cb50d[_0x2ae3fc(0x1db)]),[null,null];if(_0x2549e5[_0x2ae3fc(0x15c)](nestedKeyValue,_0x3cb50d,[_0x2549e5['GonbV'],_0x2549e5['JhcWC']])){const {accessibilityToken:_0x23ba60,scannerVersion:_0x46569f,scannerProcessingTimeout:_0xeba248,isMobileScanningEnabledForGroup:_0x5a1ded}=_0x2549e5[_0x2ae3fc(0x1c8)](jsonifyAccessibilityArray,_0x3cb50d[_0x2ae3fc(0x1db)][_0x2ae3fc(0x199)]['capabilities'],_0x2549e5[_0x2ae3fc(0x12c)],_0x2549e5[_0x2ae3fc(0x1c9)]),_0x21ba82={'scripts':_0x2549e5[_0x2ae3fc(0x1b3)](jsonifyAccessibilityArray,_0x3cb50d[_0x2ae3fc(0x1db)][_0x2ae3fc(0x199)]['scripts'],_0x2549e5['Rwyij'],_0x2549e5['MXGua'])};_0x21ba82[_0x2549e5[_0x2ae3fc(0x123)]]=_0x3cb50d[_0x2ae3fc(0x1db)][_0x2ae3fc(0x199)]['commandsToWrap'][_0x2ae3fc(0x1f0)];const _0x34b922=_0x2549e5[_0x2ae3fc(0x16b)](jsonifyAccessibilityArray,_0x3cb50d[_0x2ae3fc(0x1db)]['options']['capabilities'],_0x2549e5[_0x2ae3fc(0x12c)],_0x2549e5[_0x2ae3fc(0x1c9)]);_0x21ba82[_0x2549e5[_0x2ae3fc(0x14b)]]=_0x34b922[_0x2549e5['DimYg']],scripts[_0x2ae3fc(0x1c1)](_0x21ba82),scripts[_0x2ae3fc(0x15a)]();let _0xcc2a01=process[_0x2ae3fc(0x1e9)][_0x2ae3fc(0x12f)];_0xcc2a01=!!_0xcc2a01?JSON[_0x2ae3fc(0x145)](_0xcc2a01):{},_0xcc2a01[_0x2ae3fc(0x16c)]=_0x46569f,process[_0x2ae3fc(0x1e9)][_0x2ae3fc(0x12f)]=JSON['stringify'](_0xcc2a01),process[_0x2ae3fc(0x1e9)][_0x2ae3fc(0x16d)]=_0x23ba60,process['env'][_0x2ae3fc(0x19c)]=_0x2549e5['gSFUg'](String,_0x2549e5['Cvqpq'](_0x5a1ded,!![])||_0x2549e5['Cvqpq'](_0x5a1ded,_0x2549e5['uDoYx'])),logger[_0x2ae3fc(0x132)](_0x2ae3fc(0x161)+_0x3cb50d[_0x2ae3fc(0x1a4)]);const _0x1224b1=accessibilityHelper[_0x2ae3fc(0x1c2)](_0x23ba60);return _0x1224b1&&bsSetupHelper[_0x2ae3fc(0x157)](_0x1224b1[_0x2ae3fc(0x1a3)])&&(process[_0x2ae3fc(0x1e9)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger[_0x2ae3fc(0x132)](_0x2549e5['VNsdw'])),[_0x23ba60,_0x3cb50d[_0x2ae3fc(0x1a4)],_0xeba248];}return[null,null];},exports[a170_0x462f9a(0x13e)]=_0x11ef57=>{const _0x37917d=a170_0x462f9a,_0x340eb8={};_0x340eb8['HMmzQ']=_0x37917d(0x1ef),_0x340eb8[_0x37917d(0x1d4)]=_0x37917d(0x19a),_0x340eb8[_0x37917d(0x1de)]=_0x37917d(0x169);const _0x1c2c2b=_0x340eb8,_0x2f86c6=_0x1c2c2b['HMmzQ']['split']('|');let _0x50d38d=0x0;while(!![]){switch(_0x2f86c6[_0x50d38d++]){case'0':process[_0x37917d(0x1e9)][_0x37917d(0x1b7)]=_0x1c2c2b[_0x37917d(0x1d4)];continue;case'1':process['env'][_0x37917d(0x125)]=_0x1c2c2b[_0x37917d(0x1d4)];continue;case'2':process[_0x37917d(0x1e9)][_0x37917d(0x1d6)]=_0x1c2c2b[_0x37917d(0x1d4)];continue;case'3':exports[_0x37917d(0x1ee)](_0x11ef57,testHubConstants['OBSERVABILITY']);continue;case'4':process['env']['BS_TESTOPS_BUILD_COMPLETED']=_0x1c2c2b[_0x37917d(0x1de)];continue;case'5':process[_0x37917d(0x1e9)][_0x37917d(0x184)]=_0x1c2c2b['dOuXy'];continue;case'6':process[_0x37917d(0x1e9)][_0x37917d(0x171)]=_0x1c2c2b[_0x37917d(0x1d4)];continue;}break;}},exports[a170_0x462f9a(0x158)]=_0x1c9f3e=>{const _0x1f0082=a170_0x462f9a,_0x210949={};_0x210949[_0x1f0082(0x1d8)]=_0x1f0082(0x191),_0x210949['UUGuI']='null',_0x210949[_0x1f0082(0x143)]='false';const _0x2092fb=_0x210949,_0x2ec503=_0x2092fb[_0x1f0082(0x1d8)][_0x1f0082(0x138)]('|');let _0x4bc7ef=0x0;while(!![]){switch(_0x2ec503[_0x4bc7ef++]){case'0':process[_0x1f0082(0x1e9)][_0x1f0082(0x1b7)]=_0x2092fb[_0x1f0082(0x1eb)];continue;case'1':process[_0x1f0082(0x1e9)][_0x1f0082(0x184)]=_0x2092fb[_0x1f0082(0x1eb)];continue;case'2':process['env'][_0x1f0082(0x1a9)]=_0x2092fb[_0x1f0082(0x143)];continue;case'3':exports['logBuildError'](_0x1c9f3e,testHubConstants['ACCESSIBILITY']);continue;case'4':process[_0x1f0082(0x1e9)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2092fb[_0x1f0082(0x143)];continue;}break;}},exports[a170_0x462f9a(0x1ee)]=(_0x4a9917,_0xe9c33d='')=>{const _0x5388eb=a170_0x462f9a,_0x32356d={};_0x32356d[_0x5388eb(0x13d)]=function(_0x6a41a5,_0x5c34df){return _0x6a41a5===_0x5c34df;};const _0x32a2ec=_0x32356d;if(_0x32a2ec[_0x5388eb(0x13d)](_0x4a9917,undefined)){logger[_0x5388eb(0x192)](_0xe9c33d[_0x5388eb(0x1e7)]()+_0x5388eb(0x177));return;}for(const _0x1f6647 of _0x4a9917['errors']){const _0x3a1fb2=_0x1f6647['key'],_0x90bbad=_0x1f6647[_0x5388eb(0x1c7)];if(_0x90bbad)switch(_0x3a1fb2){case testHubConstants[_0x5388eb(0x146)][_0x5388eb(0x182)]:logger[_0x5388eb(0x192)](_0x90bbad);break;case testHubConstants['ERROR'][_0x5388eb(0x1e4)]:logger[_0x5388eb(0x1ca)](_0x90bbad);break;case testHubConstants[_0x5388eb(0x146)][_0x5388eb(0x19d)]:logger['error'](_0x90bbad);break;default:logger['error'](_0x90bbad);}}};const jsonifyAccessibilityArray=(_0x4a86e4,_0x1cc6c5,_0x1c2d92)=>{const _0x3ceed7=a170_0x462f9a,_0x5e600d={};return _0x4a86e4[_0x3ceed7(0x188)](_0x5bc5a8=>{_0x5e600d[_0x5bc5a8[_0x1cc6c5]]=_0x5bc5a8[_0x1c2d92];}),_0x5e600d;};function a170_0x35d8(_0x387ba7,_0x2d21e3){const _0x3d1724=a170_0x3d17();return a170_0x35d8=function(_0x35d8b6,_0x379686){_0x35d8b6=_0x35d8b6-0x122;let _0x24c059=_0x3d1724[_0x35d8b6];return _0x24c059;},a170_0x35d8(_0x387ba7,_0x2d21e3);}exports[a170_0x462f9a(0x151)]=_0x4ae91a=>{const _0x2d2758=a170_0x462f9a;_0x4ae91a[_0x2d2758(0x1ba)]&&(process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x4ae91a[_0x2d2758(0x1ba)]);_0x4ae91a[_0x2d2758(0x1a4)]&&(process[_0x2d2758(0x1e9)][_0x2d2758(0x184)]=_0x4ae91a[_0x2d2758(0x1a4)],logger[_0x2d2758(0x132)](_0x2d2758(0x17c)+_0x4ae91a['build_hashed_id']));;},exports['shouldProcessEventForTesthub']=(_0x5592f6='',_0x139302='')=>{const _0x240aa5=a170_0x462f9a,_0x5208fb={'VHOBv':function(_0x52523b){return _0x52523b();},'gPyxg':function(_0x3a496b,_0x30f403){return _0x3a496b===_0x30f403;},'lSdwd':_0x240aa5(0x1a5),'dguuC':_0x240aa5(0x163),'gaAOf':_0x240aa5(0x16e),'OmLlm':_0x240aa5(0x1d7),'TUYZu':_0x240aa5(0x193),'UvZpg':function(_0x445c9a){return _0x445c9a();}};if(exports[_0x240aa5(0x1c6)]()&&!exports[_0x240aa5(0x13f)]()&&!_0x5208fb[_0x240aa5(0x1ad)](isTestObservabilitySession)){if(_0x5208fb[_0x240aa5(0x147)](_0x139302,_0x5208fb[_0x240aa5(0x1d3)]))return![];if([_0x5208fb[_0x240aa5(0x197)],_0x5208fb[_0x240aa5(0x19e)]]['includes'](_0x5592f6))return![];return!![];}if(exports[_0x240aa5(0x13f)]()&&!_0x5208fb['VHOBv'](isTestObservabilitySession)){if([_0x5208fb[_0x240aa5(0x1c0)],_0x5208fb[_0x240aa5(0x186)],_0x5208fb[_0x240aa5(0x197)]]['includes'](_0x5592f6))return![];return!![];}return exports[_0x240aa5(0x13f)]()||_0x5208fb[_0x240aa5(0x19f)](isTestObservabilitySession)||exports[_0x240aa5(0x1c6)]();},exports[a170_0x462f9a(0x1a7)]=(_0x5da7e2,_0x507857,_0x5c41de='',_0x247546)=>{const _0x4497fa=a170_0x462f9a,_0x504b8b={'VtirI':_0x4497fa(0x1d7),'irlCG':_0x4497fa(0x193),'HPhAK':function(_0xfebf6a,_0x3aacb7){return _0xfebf6a===_0x3aacb7;},'whbWU':_0x4497fa(0x126),'yfJXf':_0x4497fa(0x139),'ZvjaE':'accessibility','frZEA':function(_0x33a8de,_0x4157a8){return _0x33a8de&&_0x4157a8;},'BImZw':function(_0x40c0f0,_0x554796){return _0x40c0f0+_0x554796;},'FdvbD':function(_0x4e0fa0,_0x53cf0f){return _0x4e0fa0===_0x53cf0f;},'PluBQ':function(_0x466577,_0x3ba501){return _0x466577(_0x3ba501);},'qzQFB':_0x4497fa(0x141),'AjIYQ':function(_0x301823,_0x19038c){return _0x301823+_0x19038c;},'KyiAi':function(_0x32c93e,_0x2bd76d){return _0x32c93e===_0x2bd76d;},'aJTil':'TestRunStarted','yrGVm':function(_0x20071b,_0x2d6611){return _0x20071b===_0x2d6611;},'tDCWE':function(_0x3bbf9e,_0x3554d3){return _0x3bbf9e===_0x3554d3;},'Tbbcq':function(_0x4dc354,_0x503fbb){return _0x4dc354&&_0x503fbb;},'zkIvH':'product_map'};if(![_0x504b8b[_0x4497fa(0x1a2)],_0x504b8b[_0x4497fa(0x1d1)]][_0x4497fa(0x1b5)](_0x507857)&&exports[_0x4497fa(0x13f)]()){const _0x303366={};if(_0x504b8b['HPhAK'](_0x247546,FRAMEWORKS[_0x4497fa(0x198)])){const _0x246ca4=globals[_0x4497fa(0x124)](_0x504b8b[_0x4497fa(0x1bf)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x5c41de[_0x4497fa(0x165)](),!![]),_0x519c8a=globals[_0x4497fa(0x124)](_0x504b8b[_0x4497fa(0x156)]);_0x303366[_0x504b8b[_0x4497fa(0x190)]]=_0x504b8b[_0x4497fa(0x1c4)](_0x519c8a,_0x246ca4);}if(_0x504b8b[_0x4497fa(0x1da)](_0x247546,FRAMEWORKS[_0x4497fa(0x1dc)])){const _0xd47da=_0x504b8b[_0x4497fa(0x1ce)](_0x504b8b['BImZw'](_0x5da7e2['scopes'][_0x4497fa(0x1e0)]('\x20'),'\x20'),_0x5c41de[_0x4497fa(0x18d)]),_0x3e932e=globals['getGlobal'](_0x504b8b[_0x4497fa(0x1bf)])||accessibilityHelper[_0x4497fa(0x1ac)](_0xd47da,![]),_0x38e1d4=browserStackGlobals['isAccessibilityPlatform'];_0x303366[_0x504b8b[_0x4497fa(0x190)]]=_0x504b8b['frZEA'](_0x38e1d4,_0x3e932e);}if(_0x504b8b[_0x4497fa(0x1f1)](_0x247546,FRAMEWORKS[_0x4497fa(0x1b4)])){const _0x3964f9=_0x504b8b['PluBQ'](require,_0x504b8b[_0x4497fa(0x1c3)]),_0x22516b=_0x5c41de&&_0x3964f9[_0x4497fa(0x196)](_0x5c41de['id'])||_0x5da7e2[_0x4497fa(0x17b)];_0x22516b&&(_0x5da7e2['uuid']=_0x22516b);const _0x2ab5ea=_0x504b8b['BImZw'](_0x504b8b[_0x4497fa(0x1bc)](_0x5da7e2['scopes'][_0x4497fa(0x1e0)]('\x20'),'\x20'),_0x5c41de[_0x4497fa(0x149)]||_0x5da7e2[_0x4497fa(0x18d)]),_0x3b897e=globals[_0x4497fa(0x124)](_0x504b8b[_0x4497fa(0x1bf)])||accessibilityHelper[_0x4497fa(0x1ac)](_0x2ab5ea,![]),_0x445437=globals[_0x4497fa(0x124)](_0x504b8b[_0x4497fa(0x156)]);_0x303366[_0x504b8b['ZvjaE']]=_0x504b8b[_0x4497fa(0x1c4)](_0x445437,_0x3b897e);}if(_0x504b8b[_0x4497fa(0x1da)](_0x247546,FRAMEWORKS[_0x4497fa(0x148)])){if(_0x504b8b['KyiAi'](_0x507857,_0x504b8b[_0x4497fa(0x1ab)]))return;_0x303366[_0x504b8b['ZvjaE']]=PWTestDetails[_0x4497fa(0x17f)](_0x5da7e2[_0x4497fa(0x17b)]);}if(_0x504b8b['yrGVm'](_0x247546,FRAMEWORKS[_0x4497fa(0x18f)])){const _0x3496c6=accessibilityHelper[_0x4497fa(0x1ac)](_0x5c41de['titlePath'](),!![]),_0x49e2b8=global[_0x4497fa(0x170)];_0x303366[_0x504b8b[_0x4497fa(0x190)]]=_0x504b8b[_0x4497fa(0x1c4)](_0x49e2b8,_0x3496c6);}if(_0x504b8b[_0x4497fa(0x1b8)](_0x247546,FRAMEWORKS[_0x4497fa(0x15f)])){const _0x46ac12=accessibilityHelper[_0x4497fa(0x1ac)](null,![],_0x5da7e2[_0x4497fa(0x14c)]),_0x189ca9=globals[_0x4497fa(0x124)](_0x504b8b[_0x4497fa(0x156)]);_0x303366[_0x504b8b[_0x4497fa(0x190)]]=_0x504b8b[_0x4497fa(0x180)](_0x189ca9,_0x46ac12);}_0x5da7e2[_0x504b8b[_0x4497fa(0x13c)]]=_0x303366;}},exports[a170_0x462f9a(0x168)]=_0x280111=>{const _0x4ceac5=a170_0x462f9a,_0x109d1a={};_0x109d1a[_0x4ceac5(0x176)]=function(_0x542d95,_0x6584a2){return _0x542d95>_0x6584a2;};const _0x57de2d=_0x109d1a;let _0x38413f={};if(_0x57de2d[_0x4ceac5(0x176)](Object[_0x4ceac5(0x137)](testData)[_0x4ceac5(0x1cd)],0x0))return testData;_0x38413f=JestTestDetails['getTestData']();if(_0x57de2d[_0x4ceac5(0x176)](Object[_0x4ceac5(0x137)](_0x38413f)[_0x4ceac5(0x1cd)],0x0))return _0x38413f;return _0x38413f;},exports['setCurrentTestData']=(_0x4503b1,_0x1e2680={})=>{const _0x2f1029=a170_0x462f9a;if(bsSetupHelper[_0x2f1029(0x181)](_0x1e2680['test_run']))return;switch(_0x4503b1){case FRAMEWORKS[_0x2f1029(0x198)]:testData=_0x1e2680[_0x2f1029(0x140)];break;case FRAMEWORKS[_0x2f1029(0x1dc)]:JestTestDetails['setTestData'](_0x1e2680[_0x2f1029(0x140)]);break;case FRAMEWORKS['JASMINE']:testData=_0x1e2680[_0x2f1029(0x140)];break;default:break;}},exports[a170_0x462f9a(0x15d)]=_0x100d16=>{const _0x4e8125=a170_0x462f9a,_0x1dd7b2={};_0x1dd7b2[_0x4e8125(0x1ea)]=function(_0x6e7b7c,_0x5b366e){return _0x6e7b7c!==_0x5b366e;},_0x1dd7b2[_0x4e8125(0x144)]=function(_0x1679b1,_0x112095){return _0x1679b1!==_0x112095;},_0x1dd7b2[_0x4e8125(0x172)]=function(_0x740b2,_0x9e72d3){return _0x740b2!==_0x9e72d3;},_0x1dd7b2[_0x4e8125(0x15b)]=function(_0x2c33e3,_0x144f8f){return _0x2c33e3!==_0x144f8f;};const _0x2facad=_0x1dd7b2;if(_0x2facad[_0x4e8125(0x1ea)](_0x100d16['accessibility'],null)&&_0x2facad[_0x4e8125(0x144)](_0x100d16[_0x4e8125(0x1db)],undefined))return _0x100d16[_0x4e8125(0x1db)];let _0x11bbb5=![],_0x2e0e40=![];if(_0x100d16[_0x4e8125(0x15e)])for(const _0x419c58 of _0x100d16[_0x4e8125(0x15e)]){_0x2facad[_0x4e8125(0x172)](_0x419c58['accessibility'],null)&&_0x2facad[_0x4e8125(0x15b)](_0x419c58[_0x4e8125(0x1db)],undefined)&&(_0x11bbb5=_0x11bbb5||bsSetupHelper[_0x4e8125(0x157)](_0x419c58['accessibility']),_0x2e0e40=!![]);}if(_0x2e0e40)return _0x11bbb5;return null;},exports[a170_0x462f9a(0x150)]=_0x4f4e2e=>{if(!_0x4f4e2e)return{};const _0x2d9e91=new OrchestrationUtils(_0x4f4e2e);return _0x2d9e91['getBuildStartData']();},exports['getProductMapForBuildStartCall']=_0x118495=>{const _0x20ea2b=a170_0x462f9a,_0x4bb9ce={'irduM':function(_0x470cf6){return _0x470cf6();},'eCaDK':function(_0x5bd867,_0x18fac9){return _0x5bd867===_0x18fac9;},'tRXJR':_0x20ea2b(0x166)};let _0x4e14d4=![],_0x8e1ee=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper[_0x20ea2b(0x127)](_0x118495))_0x8e1ee=!![];else bsSetupHelper[_0x20ea2b(0x183)]()&&(_0x4e14d4=!![]);return Object['assign']({'observability':_0x4bb9ce['irduM'](isTestObservabilitySession),'accessibility':exports[_0x20ea2b(0x15d)](_0x118495),'percy':_0x118495[_0x20ea2b(0x1b2)]||![],'sr_automation':_0x4bb9ce['eCaDK'](process[_0x20ea2b(0x1e9)][_0x20ea2b(0x195)],_0x4bb9ce[_0x20ea2b(0x1ec)])||_0x118495[_0x20ea2b(0x160)]||![],'automate':_0x4e14d4,'app_automate':_0x8e1ee,'turboscale':bsSetupHelper[_0x20ea2b(0x1b9)](_0x118495),'lts':LoadTestModule['isLTSSession'](_0x118495)},bsSetupHelper[_0x20ea2b(0x1a8)]());};const normalizeTestPlanId=_0x106074=>{const _0x1892bb=a170_0x462f9a,_0x5ee02d={};_0x5ee02d[_0x1892bb(0x1bb)]=function(_0x2060a4,_0x503cb3){return _0x2060a4!==_0x503cb3;},_0x5ee02d[_0x1892bb(0x187)]=_0x1892bb(0x1e6),_0x5ee02d[_0x1892bb(0x1d9)]=function(_0x34e22b,_0x37ed30){return _0x34e22b>_0x37ed30;};const _0xff0560=_0x5ee02d;if(_0xff0560['nXvcI'](typeof _0x106074,_0xff0560[_0x1892bb(0x187)]))return undefined;const _0x4b2b18=_0x106074['trim']();return _0xff0560[_0x1892bb(0x1d9)](_0x4b2b18['length'],0x0)?_0x4b2b18:undefined;},readTestPlanIdFromCliArgs=(_0x536f6a=process[a170_0x462f9a(0x17e)])=>{const _0x576ac8=a170_0x462f9a,_0xca8ea7={};_0xca8ea7[_0x576ac8(0x18b)]=function(_0x20d6fa,_0x55dff7){return _0x20d6fa<_0x55dff7;},_0xca8ea7[_0x576ac8(0x1cb)]=function(_0x169a6e,_0x2dfc16){return _0x169a6e===_0x2dfc16;},_0xca8ea7[_0x576ac8(0x14a)]=function(_0x3ea9f9,_0x37e82a){return _0x3ea9f9+_0x37e82a;};const _0x4c3cfe=_0xca8ea7,_0x2f3b45='--'+testHubConstants[_0x576ac8(0x164)];for(let _0x2ea9d1=0x0;_0x4c3cfe[_0x576ac8(0x18b)](_0x2ea9d1,_0x536f6a[_0x576ac8(0x1cd)]);_0x2ea9d1+=0x1){const _0x132b9c=_0x536f6a[_0x2ea9d1];if(_0x4c3cfe[_0x576ac8(0x1cb)](_0x132b9c,_0x2f3b45)){const _0x581020=_0x536f6a[_0x4c3cfe['UPcHQ'](_0x2ea9d1,0x1)];if(!_0x581020||_0x581020[_0x576ac8(0x128)]('--'))return undefined;return _0x581020;}if(_0x132b9c[_0x576ac8(0x128)](_0x2f3b45+'='))return _0x132b9c['slice'](_0x4c3cfe[_0x576ac8(0x14a)](_0x2f3b45['length'],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x26a1cd={})=>{const _0x28e3b3=a170_0x462f9a,_0xade82={'Flrxw':function(_0x347c84,_0x15a804){return _0x347c84(_0x15a804);}};return _0xade82[_0x28e3b3(0x167)](normalizeTestPlanId,_0x26a1cd&&_0x26a1cd[_0x28e3b3(0x153)]&&_0x26a1cd['testManagementOptions'][_0x28e3b3(0x1b1)]);};exports[a170_0x462f9a(0x16f)]=(_0x3095b4={},_0x53a350=process['argv'],_0x49a132=process[a170_0x462f9a(0x1e9)])=>{const _0x5ec6ed=a170_0x462f9a,_0xe11e94={'QltxI':function(_0x363de1,_0x20bdf0){return _0x363de1(_0x20bdf0);},'UBZbi':function(_0x135618,_0x48c181){return _0x135618(_0x48c181);},'IikVb':function(_0x284282,_0x154940){return _0x284282(_0x154940);}};try{const _0x5b5498=_0xe11e94['QltxI'](normalizeTestPlanId,_0xe11e94[_0x5ec6ed(0x1d0)](readTestPlanIdFromCliArgs,_0x53a350));if(_0x5b5498)return _0x5b5498;const _0x2da673=_0xe11e94['UBZbi'](normalizeTestPlanId,_0x49a132&&_0x49a132[testHubConstants['ENV_VAR'][_0x5ec6ed(0x130)]]);if(_0x2da673)return _0x2da673;return _0xe11e94[_0x5ec6ed(0x14d)](readTestPlanIdFromConfig,_0x3095b4);}catch(_0x1b6243){return logger[_0x5ec6ed(0x132)](_0x5ec6ed(0x16a)+(_0x1b6243&&_0x1b6243['message']?_0x1b6243[_0x5ec6ed(0x1c7)]:_0x1b6243)),undefined;}};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a169_0xf10b(){const _0x335e8f=['daFbN','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','getSessionsList','nBpko','APP_AUTOMATE','undefined','setReadWriteExecuteAccess','loQQW','pcJCY','LLDFI','config','all','stopPercy','AdhfZ','./helper','ENV_VAR','trim','hubAllocation','AUTOMATE_PRODUCTS','NKZGO','env','TxTFI','../helpers/testhub/constants','2359932pLPIkm','ruJrY','tVpzt','_buildHashedId','GEkhu','sdkRunId','unhandledErrors','oIPws','hostname','event_properties','qOrrj','52oCeDZl','format','util','zZOIG','finalExecution','./globals','./testhub/utils','globalException','stringify','application/json','info','getUserName','./logger','getTurboScaleSessionsList','4047302ldKWwg','rxrsp','getFrameworkVersion','parse','framework','errorMessage','killSignal','mYCWt','stack','osVersion','15983VXxkUf','VPsBB','fireFunnelTestEvent','scCJK','zAZTm','replace','source','YLtkH','debug','buildIdentifier','chmodSync','every','X_OK','isModifiable','finalExecutionRan','toString','accessSync','getGlobal','isAppAutomateSession','constants','\x20response\x20-\x20','Failed\x20to\x20set\x20directory\x20access:\x20','join','3387196jUBCIz','values','error','browserStackConfig','winstonLogger','null','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','version','keys','getNodeAgent','Error\x20in\x20firing\x20request\x20to\x20','codeceptjs','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','aNTUz','ZCpHz','880974AosTuA','RjKWZ','kNdHL','ITCwe','BROWSERSTACK_TESTHUB_UUID','length','96bjCwUg','type','CIbTf','nodejs','browserVersion','notifyUpdate','MewTS','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','SDKTestSuccessful','\x20:\x20','forEach','getTestFrameworkDetails','POST','5VaZuwg','518436BJuPzX','assign','../bin/utils/constants','object','deviceName','AUTOMATE','./performance/performance-tester','getStackTraceAsString','hWakZ','getBuildLink','tests','_hubAllocationData','sanitizeBrowserStackConfig','body','reduce','153399itECoy','seleniumVersion','push','isBrowserstackInfra','isTurboScaleSession','Directory\x20','2220CgANmI','\x20has\x20now\x20read/write/execute\x20permissions.','QoASC','isNullOrEmpty','selenium-webdriver','./test-observability/utils','browser','getPackageVersion','Playwright','getAccessKey','user_killed'];a169_0xf10b=function(){return _0x335e8f;};return a169_0xf10b();}const a169_0x1a48ea=a169_0xcbd3;(function(_0x4b3512,_0x43b0c3){const _0x1f45d6=a169_0xcbd3,_0x3273c5=_0x4b3512();while(!![]){try{const _0x59cbfe=-parseInt(_0x1f45d6(0x261))/0x1+parseInt(_0x1f45d6(0x20f))/0x2*(-parseInt(_0x1f45d6(0x270))/0x3)+parseInt(_0x1f45d6(0x23e))/0x4*(parseInt(_0x1f45d6(0x260))/0x5)+-parseInt(_0x1f45d6(0x204))/0x6+parseInt(_0x1f45d6(0x21d))/0x7+-parseInt(_0x1f45d6(0x253))/0x8*(-parseInt(_0x1f45d6(0x24d))/0x9)+-parseInt(_0x1f45d6(0x276))/0xa*(-parseInt(_0x1f45d6(0x227))/0xb);if(_0x59cbfe===_0x43b0c3)break;else _0x3273c5['push'](_0x3273c5['shift']());}catch(_0x529ad0){_0x3273c5['push'](_0x3273c5['shift']());}}}(a169_0xf10b,0xa6407));const os=require('os'),util=require(a169_0x1a48ea(0x211)),fs=require('fs'),{getProductMap}=require(a169_0x1a48ea(0x215)),logger=require(a169_0x1a48ea(0x21b))[a169_0x1a48ea(0x242)],constants=require(a169_0x1a48ea(0x263)),testHubConstants=require(a169_0x1a48ea(0x203)),{getTransformPath}=require('../bin/playwright/reporter/pwUtils'),{FUNNEL_INSTRUMENTATION_API_URL}=require(a169_0x1a48ea(0x263)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a169_0x1a48ea(0x1fb)),PerformanceTester=require(a169_0x1a48ea(0x267)),globals=require(a169_0x1a48ea(0x214)),helper=require('./helper'),{isTestObservabilitySession}=require(a169_0x1a48ea(0x1e7));let unhandledErrors='';function a169_0xcbd3(_0x1bbcce,_0x47575b){const _0xf10bcf=a169_0xf10b();return a169_0xcbd3=function(_0xcbd3c,_0x35a8ed){_0xcbd3c=_0xcbd3c-0x1e6;let _0x330c62=_0xf10bcf[_0xcbd3c];return _0x330c62;},a169_0xcbd3(_0x1bbcce,_0x47575b);}exports[a169_0x1a48ea(0x229)]=async(_0x20d104,_0x179015={},_0x51d9e1,_0x1746e2,_0x5c5bc4=![])=>{const _0x437fc0=a169_0x1a48ea,_0x4c417a={'CIbTf':function(_0x2153d9,_0x21f1fe){return _0x2153d9===_0x21f1fe;},'qOrrj':_0x437fc0(0x264),'scCJK':function(_0x3fb611,_0x57ff76){return _0x3fb611>_0x57ff76;},'jbyZL':_0x437fc0(0x26b),'AaHLQ':function(_0x4c079e){return _0x4c079e();},'mYCWt':function(_0x43770b){return _0x43770b();},'LLDFI':function(_0x21daf7,_0x136b42){return _0x21daf7==_0x136b42;},'Uckvk':_0x437fc0(0x243),'nANIJ':_0x437fc0(0x1f2),'MewTS':function(_0x56d9e5,_0x4afcf7){return _0x56d9e5===_0x4afcf7;},'Hzxkn':_0x437fc0(0x249),'kNdHL':function(_0x7d5bee,_0x286718){return _0x7d5bee!==_0x286718;},'pcJCY':_0x437fc0(0x1ea),'VPsBB':_0x437fc0(0x240),'TxTFI':function(_0x387459,_0x1a01fc){return _0x387459+_0x1a01fc;},'rxrsp':_0x437fc0(0x244),'zAZTm':_0x437fc0(0x207),'nBpko':function(_0x44f313,_0x5a8548){return _0x44f313(_0x5a8548);},'oIPws':function(_0x545e2e,_0x26dfeb){return _0x545e2e(_0x26dfeb);},'tVpzt':'unknown','aNTUz':_0x437fc0(0x256),'WlzJS':'SDKTestSuccessful','hWakZ':_0x437fc0(0x1e6),'ObRWU':_0x437fc0(0x218),'AdhfZ':'[REDACTED]','ZCpHz':_0x437fc0(0x25f)};let _0x3d8f46=[];if(helper['isBrowserstackInfra']()&&_0x4c417a['AaHLQ'](isTestObservabilitySession))_0x3d8f46=helper['isAppAutomateSession'](_0x51d9e1)?constants['APP_AUTOMATE_PRODUCTS']:constants[_0x437fc0(0x1ff)];else{if(_0x4c417a[_0x437fc0(0x224)](isTestObservabilitySession))_0x3d8f46=constants[_0x437fc0(0x24a)];else helper[_0x437fc0(0x273)]()&&(_0x3d8f46=helper[_0x437fc0(0x239)](_0x51d9e1)?constants[_0x437fc0(0x1f1)]:constants[_0x437fc0(0x266)]);}let _0x6ec7f3=_0x51d9e1[_0x437fc0(0x230)];if(_0x4c417a[_0x437fc0(0x1f6)](_0x6ec7f3,null))_0x6ec7f3=_0x4c417a['Uckvk'];else _0x4c417a[_0x437fc0(0x255)](_0x6ec7f3,undefined)&&(_0x6ec7f3=_0x4c417a['nANIJ']);unhandledErrors&&_0x4c417a[_0x437fc0(0x22a)](unhandledErrors[_0x437fc0(0x252)],0x0)&&(_0x179015[_0x437fc0(0x216)]=unhandledErrors);global[_0x437fc0(0x209)]&&(_0x179015['sdkRunId']=global[_0x437fc0(0x209)]);try{if(_0x179015[_0x437fc0(0x240)]){if(_0x4c417a[_0x437fc0(0x259)](_0x1746e2,_0x4c417a['Hzxkn'])&&_0x4c417a[_0x437fc0(0x22a)](_0x179015[_0x437fc0(0x240)][_0x437fc0(0x252)],0x0)){const _0x6ad078={};_0x6ad078['os']='',_0x6ad078[_0x437fc0(0x226)]='',_0x6ad078[_0x437fc0(0x1e8)]='',_0x6ad078[_0x437fc0(0x257)]='';const _0x5ecf4a=_0x6ad078;let _0x2b162c={};const _0x671310=_0x179015['error'];_0x2b162c=_0x671310[_0x437fc0(0x26f)]((_0x651773,_0x1da911)=>{for(const _0x1f6d37 in _0x1da911){_0x651773[_0x1f6d37]=_0x1da911[_0x1f6d37];}return _0x651773;},{});const _0x57dbac={};_0x57dbac['tests']=_0x2b162c,_0x179015['error']=[Object[_0x437fc0(0x262)]({},_0x5ecf4a,_0x57dbac)];}else{let _0x50cec1=0x0;const _0x339dab=_0x4c417a[_0x437fc0(0x24f)](_0x1746e2,_0x4c417a[_0x437fc0(0x1f5)])?JSON[_0x437fc0(0x220)](_0x179015['error']):_0x179015[_0x437fc0(0x240)],_0x540277=Object[_0x437fc0(0x23f)](_0x339dab);_0x540277[_0x437fc0(0x25d)](_0x83fbca=>{const _0x332d51=_0x437fc0;if(_0x4c417a['CIbTf'](typeof _0x83fbca,_0x4c417a[_0x332d51(0x20e)])){const _0x51e828=Object[_0x332d51(0x23f)](_0x83fbca);!_0x51e828[_0x332d51(0x232)](_0x539167=>_0x539167===null||_0x539167===undefined||_0x539167==='')&&(_0x50cec1+=0x1);}});if(_0x4c417a['MewTS'](_0x50cec1,0x0))delete _0x179015[_0x4c417a[_0x437fc0(0x228)]];else{const _0x2deaa5=[];Object['keys'](_0x339dab)[_0x437fc0(0x25d)](_0x450628=>{const _0x1126dd=_0x437fc0,_0x33bc0c={'KONNq':function(_0xe1ad56,_0x589ab9){return _0x4c417a['scCJK'](_0xe1ad56,_0x589ab9);}},[_0x279b4f,_0x377228,_0x2beb32,_0x24524f]=_0x450628['split'](',\x20');let _0x128b0a={};if(!_0x24524f){const _0x386911={};_0x386911[_0x1126dd(0x265)]=_0x279b4f,_0x386911[_0x1126dd(0x226)]=_0x377228,_0x386911[_0x1126dd(0x1e8)]=_0x2beb32,_0x128b0a=_0x386911;}else{const _0x12b559={};_0x12b559['os']=_0x279b4f,_0x12b559[_0x1126dd(0x226)]=_0x377228,_0x12b559[_0x1126dd(0x1e8)]=_0x2beb32,_0x12b559[_0x1126dd(0x257)]=_0x24524f,_0x128b0a=_0x12b559;}const _0x49e486={},_0x2407e1=_0x339dab[_0x450628];Object[_0x1126dd(0x246)](_0x2407e1)['forEach'](_0x3a678c=>{const _0x35b906=_0x1126dd;_0x33bc0c['KONNq'](_0x2407e1[_0x3a678c][_0x35b906(0x252)],0x0)&&(_0x49e486[_0x3a678c]=_0x2407e1[_0x3a678c]);}),_0x4c417a[_0x1126dd(0x22a)](Object['keys'](_0x49e486)['length'],0x0)&&(_0x128b0a[_0x4c417a['jbyZL']]=_0x49e486,_0x2deaa5[_0x1126dd(0x272)](_0x128b0a));}),_0x4c417a[_0x437fc0(0x22a)](_0x2deaa5[_0x437fc0(0x252)],0x0)?_0x179015[_0x437fc0(0x240)]=_0x2deaa5:delete _0x179015[_0x4c417a[_0x437fc0(0x228)]];}}}}catch(_0x294d6c){delete _0x179015[_0x4c417a[_0x437fc0(0x228)]],logger[_0x437fc0(0x22f)](_0x4c417a[_0x437fc0(0x202)](_0x4c417a[_0x437fc0(0x21e)],_0x294d6c));}const _0x52d580=helper[_0x437fc0(0x25e)](_0x51d9e1,_0x51d9e1[_0x437fc0(0x221)]),_0x24d92f={'userName':helper['getUserName'](_0x51d9e1),'accessKey':helper[_0x437fc0(0x1eb)](_0x51d9e1),'event_type':_0x20d104,'detectedFramework':_0x1746e2,'buildHashedId':globals[_0x437fc0(0x238)](_0x4c417a[_0x437fc0(0x22b)]),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process[_0x437fc0(0x201)][testHubConstants[_0x437fc0(0x1fc)][_0x437fc0(0x251)]]||'','sdkRunId':global[_0x437fc0(0x209)],'product_map':_0x4c417a[_0x437fc0(0x1f0)](getProductMap,_0x51d9e1),'productMap':_0x4c417a[_0x437fc0(0x20b)](getProductMap,_0x51d9e1),'language_framework':_0x51d9e1[_0x437fc0(0x22d)]||_0x4c417a[_0x437fc0(0x206)],'referrer':helper[_0x437fc0(0x247)](_0x1746e2),'framework':_0x51d9e1[_0x437fc0(0x221)],'frameworkVersion':helper[_0x437fc0(0x21f)](_0x1746e2),'automationFramework':_0x52d580['name'],'automationFrameworkVersion':_0x52d580[_0x437fc0(0x245)],'language':_0x4c417a[_0x437fc0(0x24b)],'languageVersion':process[_0x437fc0(0x245)],'product':_0x3d8f46,'buildName':_0x51d9e1['buildName']||_0x4c417a['nANIJ'],'buildIdentifier':_0x6ec7f3,'os':os[_0x437fc0(0x254)]()||_0x4c417a[_0x437fc0(0x206)],'hostname':os[_0x437fc0(0x20c)]()||_0x4c417a[_0x437fc0(0x206)],..._0x179015,'isCLIEnabled':_0x5c5bc4}};try{_0x4c417a['CIbTf'](_0x20d104,_0x4c417a['WlzJS'])&&(_0x24d92f[_0x437fc0(0x20d)][_0x437fc0(0x241)]=helper[_0x437fc0(0x26d)](_0x51d9e1)),_0x4c417a[_0x437fc0(0x255)](_0x1746e2,_0x4c417a[_0x437fc0(0x1f5)])?_0x24d92f[_0x437fc0(0x20d)]['playwrightVersion']=helper['requirePWModule']['apply'](null,_0x4c417a['AaHLQ'](getTransformPath),!![]):_0x24d92f[_0x437fc0(0x20d)][_0x437fc0(0x271)]=helper[_0x437fc0(0x1e9)](_0x4c417a[_0x437fc0(0x269)]);}catch(_0x2d29f5){logger['debug'](_0x437fc0(0x25a)+_0x2d29f5);}const _0x4dd3fa={};_0x4dd3fa['content-type']=_0x4c417a['ObRWU'];const _0x2bcca3={'headers':_0x4dd3fa,'body':_0x24d92f,'auth':{'user':helper[_0x437fc0(0x21a)](_0x51d9e1),'pass':helper[_0x437fc0(0x1eb)](_0x51d9e1)},'json':!![]};logger[_0x437fc0(0x22f)]('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON[_0x437fc0(0x217)](_0x2bcca3[_0x437fc0(0x26e)])[_0x437fc0(0x22c)](new RegExp(helper['getUserName'](_0x51d9e1),'g'),_0x4c417a[_0x437fc0(0x1fa)])[_0x437fc0(0x22c)](new RegExp(helper[_0x437fc0(0x1eb)](_0x51d9e1),'g'),_0x4c417a[_0x437fc0(0x1fa)]));try{const _0x25d229=await helper['nodeRequest'](_0x4c417a[_0x437fc0(0x24c)],FUNNEL_INSTRUMENTATION_API_URL,_0x2bcca3,_0x51d9e1);logger[_0x437fc0(0x22f)]('API\x20Event\x20'+_0x20d104+_0x437fc0(0x23b)+util[_0x437fc0(0x210)]('%j',_0x25d229));}catch(_0x33b569){logger[_0x437fc0(0x22f)](_0x437fc0(0x248)+FUNNEL_INSTRUMENTATION_API_URL+_0x437fc0(0x25c)+util[_0x437fc0(0x210)](_0x33b569));}},exports[a169_0x1a48ea(0x213)]=async(_0x1a0df5,_0x334907=![])=>{const _0x363a83=a169_0x1a48ea,_0x55a9fe={'UxSIK':function(_0x4fb36d){return _0x4fb36d();},'ITCwe':_0x363a83(0x26c),'NKZGO':'finishedMetadata','ruJrY':_0x363a83(0x1ec),'GEkhu':_0x363a83(0x25b),'RjKWZ':function(_0x16cf63,_0x1759d5,_0x2d6a24){return _0x16cf63(_0x1759d5,_0x2d6a24);},'YLtkH':function(_0x1b33a1,_0x3a8ac2){return _0x1b33a1+_0x3a8ac2;},'daFbN':_0x363a83(0x1ee)};if(_0x1a0df5[_0x363a83(0x235)])return;_0x1a0df5['finalExecutionRan']=!![];try{await _0x1a0df5[_0x363a83(0x1f9)](),_0x55a9fe['UxSIK'](printNudgeLocalNotSetError);const _0x305f1f={};_0x305f1f[_0x363a83(0x240)]=_0x1a0df5[_0x363a83(0x222)]?_0x1a0df5[_0x363a83(0x222)]:'{}';const _0x4e81d2=_0x305f1f,_0x37f253=Object[_0x363a83(0x262)]({},_0x4e81d2),_0x42d5ef=globals[_0x363a83(0x238)](_0x55a9fe[_0x363a83(0x250)]);_0x42d5ef&&(_0x37f253[_0x363a83(0x1fe)]=_0x42d5ef);!!_0x1a0df5[_0x363a83(0x223)]&&(_0x37f253[_0x55a9fe[_0x363a83(0x200)]]={'reason':_0x55a9fe[_0x363a83(0x205)],'signal':_0x1a0df5[_0x363a83(0x223)]});unhandledErrors=_0x1a0df5[_0x363a83(0x20a)][_0x363a83(0x23d)]('\x0a');let _0x4f4afa,_0x5a9161,_0x1e47a2;helper[_0x363a83(0x274)](_0x1a0df5[_0x363a83(0x1f7)])?([_0x4f4afa,_0x5a9161]=await helper['getTurboScaleBuildLink'](_0x1a0df5['config']),[_0x1e47a2]=await Promise[_0x363a83(0x1f8)]([helper[_0x363a83(0x21c)](_0x4f4afa,_0x1a0df5['config']),exports[_0x363a83(0x229)](_0x55a9fe['GEkhu'],_0x37f253,_0x1a0df5[_0x363a83(0x1f7)],_0x1a0df5[_0x363a83(0x221)],_0x334907)])):([_0x4f4afa,_0x5a9161]=await helper[_0x363a83(0x26a)](_0x1a0df5[_0x363a83(0x1f7)]),[_0x1e47a2]=await Promise[_0x363a83(0x1f8)]([helper[_0x363a83(0x1ef)](_0x4f4afa,_0x1a0df5[_0x363a83(0x1f7)]),exports['fireFunnelTestEvent'](_0x55a9fe[_0x363a83(0x208)],_0x37f253,_0x1a0df5[_0x363a83(0x1f7)],_0x1a0df5[_0x363a83(0x221)],_0x334907)])),_0x1e47a2&&await _0x55a9fe[_0x363a83(0x24e)](generateCIArtifacts,_0x1e47a2,_0x5a9161),logger[_0x363a83(0x219)]('SDK\x20run\x20ended\x20for\x20id:\x20'+_0x1a0df5[_0x363a83(0x209)]+',\x20testhub\x20id:\x20'+process[_0x363a83(0x201)]['BROWSERSTACK_TESTHUB_UUID']),await helper['sendLogs'](_0x1a0df5[_0x363a83(0x1f7)]);}catch(_0x88c75d){logger[_0x363a83(0x22f)](_0x55a9fe[_0x363a83(0x22e)](_0x55a9fe[_0x363a83(0x1ed)],_0x88c75d));}helper[_0x363a83(0x258)]();},exports[a169_0x1a48ea(0x268)]=_0x564d12=>{const _0x193b54=a169_0x1a48ea,_0x5ba19b={'QoASC':function(_0x109562,_0x527248){return _0x109562 instanceof _0x527248;},'IZZyj':function(_0x59e423,_0x2256e1){return _0x59e423(_0x2256e1);}};try{if(_0x5ba19b[_0x193b54(0x278)](_0x564d12,Error))return _0x564d12[_0x193b54(0x225)]||_0x564d12[_0x193b54(0x236)]();return _0x5ba19b['IZZyj'](String,_0x564d12);}catch(_0xeb1bed){return _0x564d12?_0x564d12['toString']():'';}},exports[a169_0x1a48ea(0x279)]=_0x363dd7=>{const _0x2af0f0=a169_0x1a48ea,_0x54fa56={};_0x54fa56[_0x2af0f0(0x212)]=function(_0x1823ae,_0x5e78e2){return _0x1823ae===_0x5e78e2;};const _0x3472fb=_0x54fa56;return!_0x363dd7||_0x3472fb[_0x2af0f0(0x212)](_0x363dd7[_0x2af0f0(0x1fd)](),'');},exports[a169_0x1a48ea(0x234)]=_0x29fd4e=>{const _0x1b7514=a169_0x1a48ea,_0x259422={};_0x259422[_0x1b7514(0x1f4)]=function(_0x5c327d,_0x340ea4){return _0x5c327d|_0x340ea4;};const _0x4e98e2=_0x259422;try{return fs[_0x1b7514(0x237)](_0x29fd4e,_0x4e98e2[_0x1b7514(0x1f4)](fs[_0x1b7514(0x23a)]['W_OK'],fs[_0x1b7514(0x23a)][_0x1b7514(0x233)])),!![];}catch(_0x1d0547){return![];}},exports[a169_0x1a48ea(0x1f3)]=_0x44049e=>{const _0x609b6c=a169_0x1a48ea;try{fs[_0x609b6c(0x231)](_0x44049e,0x1ff),logger['debug'](_0x609b6c(0x275)+_0x44049e+_0x609b6c(0x277));}catch(_0x39b91b){logger[_0x609b6c(0x240)](_0x609b6c(0x23c)+exports['getStackTraceAsString'](_0x39b91b));}};
|
|
1
|
+
const a171_0x1e101c=a171_0x5570;function a171_0xcc95(){const _0x3e9e80=['null','chmodSync','./logger','trim','QRtWb','3339324DAEQOK','IaYas','isBrowserstackInfra','W_OK','getTestFrameworkDetails','hubAllocation','1602xJaGLs','stack','isModifiable','./testhub/utils','YXyyz','sdkRunId','181028puMvAG','seleniumVersion','X_OK','toString','241JlRTkk','finishedMetadata','error','688232rBZmhb','Playwright','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','Directory\x20','MeJFL','errorMessage','forEach','length','osVersion','169uoMMsZ','jRxao','SDKTestSuccessful','finalExecution','QtYiS','apply','ApQLg','getGlobal','./test-observability/utils','sanitizeBrowserStackConfig','source','HRSZz','1851265GNaKeI','hostname','body','PiDTa','ENV_VAR','API\x20Event\x20','getAccessKey','info','nOVHS','split','format','iJSbB','isAppAutomateSession','./helper','unhandledErrors','IwPOf','4609pLbnnZ','Failed\x20to\x20set\x20directory\x20access:\x20','_buildHashedId','push','7510xVHepq','KBybc','BROWSERSTACK_TESTHUB_UUID','values','6KCVnJt','winstonLogger','browser','SVghf','GZuUl','debug','TFEdf','biTvz','object','./performance/performance-tester','keys','getTurboScaleSessionsList','../bin/playwright/reporter/pwUtils','undefined','sJazB','UNAQK','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','../helpers/testhub/constants','unknown','KMWJH','nodeRequest','all','rzKWw','nodejs','GwYxl','globalException','./globals','getFrameworkVersion','version','cfhnI','buildName','finalExecutionRan','requirePWModule','isTurboScaleSession','content-type','qOdzz','UIOjV','browserVersion','rXAGA','replace','\x20response\x20-\x20','bJJnH','framework','parse','getUserName','user_killed','getOptimalHubUrl','assign','fireFunnelTestEvent','killSignal','config','env','Error\x20in\x20firing\x20request\x20to\x20','event_properties','getSessionsList','setReadWriteExecuteAccess','util','MFDSM','constants','APP_AUTOMATE_PRODUCTS','selenium-webdriver','AUTOMATE','7RWHnGn','HvqCH','NKHJM','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','APP_AUTOMATE','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','AUTOMATE_PRODUCTS','codeceptjs','stringify','251052AUQmVJ','\x20:\x20','gIWHn','\x20has\x20now\x20read/write/execute\x20permissions.','9ijDPWt','../bin/utils/constants'];a171_0xcc95=function(){return _0x3e9e80;};return a171_0xcc95();}(function(_0x1d86b3,_0x1592cd){const _0x159d8e=a171_0x5570,_0x53ee3a=_0x1d86b3();while(!![]){try{const _0x4bb57e=parseInt(_0x159d8e(0xa6))/0x1*(parseInt(_0x159d8e(0x9c))/0x2)+-parseInt(_0x159d8e(0x121))/0x3*(-parseInt(_0x159d8e(0xa2))/0x4)+parseInt(_0x159d8e(0xbe))/0x5*(-parseInt(_0x159d8e(0xd6))/0x6)+parseInt(_0x159d8e(0x114))/0x7*(-parseInt(_0x159d8e(0xa9))/0x8)+parseInt(_0x159d8e(0x128))/0x9+-parseInt(_0x159d8e(0xd2))/0xa*(parseInt(_0x159d8e(0xce))/0xb)+-parseInt(_0x159d8e(0x11d))/0xc*(-parseInt(_0x159d8e(0xb2))/0xd);if(_0x4bb57e===_0x1592cd)break;else _0x53ee3a['push'](_0x53ee3a['shift']());}catch(_0x1c2960){_0x53ee3a['push'](_0x53ee3a['shift']());}}}(a171_0xcc95,0x310a6));const os=require('os'),util=require(a171_0x1e101c(0x10e)),fs=require('fs'),{getProductMap}=require(a171_0x1e101c(0x9f)),logger=require(a171_0x1e101c(0x125))[a171_0x1e101c(0xd7)],constants=require(a171_0x1e101c(0x122)),testHubConstants=require(a171_0x1e101c(0xe7)),{getTransformPath}=require(a171_0x1e101c(0xe2)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a171_0x1e101c(0x122)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a171_0x1e101c(0xcb)),PerformanceTester=require(a171_0x1e101c(0xdf)),globals=require(a171_0x1e101c(0xf0)),helper=require(a171_0x1e101c(0xcb)),{isTestObservabilitySession}=require(a171_0x1e101c(0xba));let unhandledErrors='';function a171_0x5570(_0x228280,_0x194be5){const _0xcc950e=a171_0xcc95();return a171_0x5570=function(_0x557046,_0x45523e){_0x557046=_0x557046-0x99;let _0x3b83c3=_0xcc950e[_0x557046];return _0x3b83c3;},a171_0x5570(_0x228280,_0x194be5);}exports[a171_0x1e101c(0x106)]=async(_0x767bb8,_0x338a40={},_0x6036db,_0x51f535,_0x112887=![])=>{const _0x47738c=a171_0x1e101c,_0x1227d9={'biTvz':function(_0x11f6ec,_0x5af41d){return _0x11f6ec===_0x5af41d;},'rzKWw':_0x47738c(0xde),'HvqCH':function(_0x12d72b,_0x2e97f3){return _0x12d72b>_0x2e97f3;},'MeJFL':function(_0x5c08e9,_0x5d44b7){return _0x5c08e9>_0x5d44b7;},'zDboE':'tests','KMWJH':function(_0x110dc4){return _0x110dc4();},'IwPOf':function(_0x1408b1){return _0x1408b1();},'NKHJM':function(_0x304a4d,_0x36870a){return _0x304a4d==_0x36870a;},'PiDTa':_0x47738c(0x123),'VIDoy':_0x47738c(0xe3),'NZcJA':function(_0x5ef5fe,_0x10c51c){return _0x5ef5fe===_0x10c51c;},'UIOjV':_0x47738c(0x11b),'MFDSM':function(_0x5bd13b,_0x4bbad1){return _0x5bd13b>_0x4bbad1;},'sJazB':function(_0x5f4c48,_0x1b63ec){return _0x5f4c48!==_0x1b63ec;},'iJSbB':_0x47738c(0xaa),'PAvVt':function(_0x43b73b,_0x4f70fa){return _0x43b73b===_0x4f70fa;},'gIWHn':'error','gCyFd':function(_0x45db3d,_0x39ba34){return _0x45db3d+_0x39ba34;},'FVfcu':_0x47738c(0x117),'QtYiS':_0x47738c(0xd0),'HRSZz':function(_0x1879c9,_0xd1e5c2){return _0x1879c9(_0xd1e5c2);},'jRxao':_0x47738c(0xe8),'GwYxl':_0x47738c(0xed),'rvbPi':function(_0x5b9e6c,_0x9dc0ab){return _0x5b9e6c===_0x9dc0ab;},'lcAsV':_0x47738c(0xb4),'QRtWb':function(_0x44190e){return _0x44190e();},'GZuUl':_0x47738c(0x112),'ZCMTk':'application/json','rXAGA':'[REDACTED]','nOVHS':'POST'};let _0xda34f=[];if(helper[_0x47738c(0x12a)]()&&_0x1227d9[_0x47738c(0xe9)](isTestObservabilitySession))_0xda34f=helper[_0x47738c(0xca)](_0x6036db)?constants[_0x47738c(0x111)]:constants[_0x47738c(0x11a)];else{if(_0x1227d9[_0x47738c(0xcd)](isTestObservabilitySession))_0xda34f=constants[_0x47738c(0xe6)];else helper[_0x47738c(0x12a)]()&&(_0xda34f=helper['isAppAutomateSession'](_0x6036db)?constants[_0x47738c(0x118)]:constants[_0x47738c(0x113)]);}let _0xeaff97=_0x6036db['buildIdentifier'];if(_0x1227d9[_0x47738c(0x116)](_0xeaff97,null))_0xeaff97=_0x1227d9[_0x47738c(0xc1)];else _0x1227d9[_0x47738c(0xdd)](_0xeaff97,undefined)&&(_0xeaff97=_0x1227d9['VIDoy']);unhandledErrors&&_0x1227d9[_0x47738c(0xad)](unhandledErrors[_0x47738c(0xb0)],0x0)&&(_0x338a40[_0x47738c(0xef)]=unhandledErrors);global[_0x47738c(0xa1)]&&(_0x338a40[_0x47738c(0xa1)]=global[_0x47738c(0xa1)]);try{if(_0x338a40[_0x47738c(0xa8)]){if(_0x1227d9['NZcJA'](_0x51f535,_0x1227d9[_0x47738c(0xfa)])&&_0x1227d9[_0x47738c(0x10f)](_0x338a40[_0x47738c(0xa8)][_0x47738c(0xb0)],0x0)){const _0x42cacb={};_0x42cacb['os']='',_0x42cacb[_0x47738c(0xb1)]='',_0x42cacb[_0x47738c(0xd8)]='',_0x42cacb[_0x47738c(0xfb)]='';const _0x1dae39=_0x42cacb;let _0x4cb9d1={};const _0x35ba7e=_0x338a40['error'];_0x4cb9d1=_0x35ba7e['reduce']((_0x99ced1,_0x4072dd)=>{for(const _0x110659 in _0x4072dd){_0x99ced1[_0x110659]=_0x4072dd[_0x110659];}return _0x99ced1;},{});const _0x682cfa={};_0x682cfa['tests']=_0x4cb9d1,_0x338a40[_0x47738c(0xa8)]=[Object[_0x47738c(0x105)]({},_0x1dae39,_0x682cfa)];}else{let _0x4f4670=0x0;const _0x2b9737=_0x1227d9[_0x47738c(0xe4)](_0x51f535,_0x1227d9['iJSbB'])?JSON[_0x47738c(0x101)](_0x338a40['error']):_0x338a40[_0x47738c(0xa8)],_0x35612d=Object[_0x47738c(0xd5)](_0x2b9737);_0x35612d[_0x47738c(0xaf)](_0x4de72f=>{const _0x18799e=_0x47738c;if(_0x1227d9[_0x18799e(0xdd)](typeof _0x4de72f,_0x1227d9[_0x18799e(0xec)])){const _0x5655ea=Object[_0x18799e(0xd5)](_0x4de72f);!_0x5655ea['every'](_0x510903=>_0x510903===null||_0x510903===undefined||_0x510903==='')&&(_0x4f4670+=0x1);}});if(_0x1227d9['PAvVt'](_0x4f4670,0x0))delete _0x338a40[_0x1227d9[_0x47738c(0x11f)]];else{const _0x560e69=[];Object[_0x47738c(0xe0)](_0x2b9737)['forEach'](_0x302ef7=>{const _0x44aa14=_0x47738c,_0x386f9b={'SVghf':function(_0x3c428b,_0x12d715){const _0x4620b1=a171_0x5570;return _0x1227d9[_0x4620b1(0x115)](_0x3c428b,_0x12d715);}},[_0x1401a5,_0x44ba22,_0x3361a3,_0x429ced]=_0x302ef7[_0x44aa14(0xc7)](',\x20');let _0x19151f={};if(!_0x429ced){const _0x29d5ed={};_0x29d5ed['deviceName']=_0x1401a5,_0x29d5ed['osVersion']=_0x44ba22,_0x29d5ed[_0x44aa14(0xd8)]=_0x3361a3,_0x19151f=_0x29d5ed;}else{const _0x4fadaf={};_0x4fadaf['os']=_0x1401a5,_0x4fadaf['osVersion']=_0x44ba22,_0x4fadaf[_0x44aa14(0xd8)]=_0x3361a3,_0x4fadaf['browserVersion']=_0x429ced,_0x19151f=_0x4fadaf;}const _0x56e35a={},_0x5d9e0f=_0x2b9737[_0x302ef7];Object[_0x44aa14(0xe0)](_0x5d9e0f)[_0x44aa14(0xaf)](_0x4355ff=>{const _0xeaa1c6=_0x44aa14;_0x386f9b[_0xeaa1c6(0xd9)](_0x5d9e0f[_0x4355ff][_0xeaa1c6(0xb0)],0x0)&&(_0x56e35a[_0x4355ff]=_0x5d9e0f[_0x4355ff]);}),_0x1227d9['MeJFL'](Object[_0x44aa14(0xe0)](_0x56e35a)[_0x44aa14(0xb0)],0x0)&&(_0x19151f[_0x1227d9['zDboE']]=_0x56e35a,_0x560e69[_0x44aa14(0xd1)](_0x19151f));}),_0x1227d9[_0x47738c(0xad)](_0x560e69[_0x47738c(0xb0)],0x0)?_0x338a40[_0x47738c(0xa8)]=_0x560e69:delete _0x338a40[_0x1227d9[_0x47738c(0x11f)]];}}}}catch(_0x2c0aff){delete _0x338a40[_0x1227d9[_0x47738c(0x11f)]],logger[_0x47738c(0xdb)](_0x1227d9['gCyFd'](_0x1227d9['FVfcu'],_0x2c0aff));}const _0x2e31aa=helper[_0x47738c(0x9a)](_0x6036db,_0x6036db[_0x47738c(0x100)]),_0x239ef2={'userName':helper[_0x47738c(0x102)](_0x6036db),'accessKey':helper['getAccessKey'](_0x6036db),'event_type':_0x767bb8,'detectedFramework':_0x51f535,'buildHashedId':globals[_0x47738c(0xb9)](_0x1227d9[_0x47738c(0xb6)]),'optimalHubUrl':helper[_0x47738c(0x104)](),'event_properties':{'testhub_uuid':process[_0x47738c(0x109)][testHubConstants[_0x47738c(0xc2)][_0x47738c(0xd4)]]||'','sdkRunId':global[_0x47738c(0xa1)],'product_map':_0x1227d9[_0x47738c(0xbd)](getProductMap,_0x6036db),'productMap':_0x1227d9['HRSZz'](getProductMap,_0x6036db),'language_framework':_0x6036db[_0x47738c(0xbc)]||_0x1227d9[_0x47738c(0xb3)],'referrer':helper['getNodeAgent'](_0x51f535),'framework':_0x6036db[_0x47738c(0x100)],'frameworkVersion':helper[_0x47738c(0xf1)](_0x51f535),'automationFramework':_0x2e31aa['name'],'automationFrameworkVersion':_0x2e31aa[_0x47738c(0xf2)],'language':_0x1227d9[_0x47738c(0xee)],'languageVersion':process[_0x47738c(0xf2)],'product':_0xda34f,'buildName':_0x6036db[_0x47738c(0xf4)]||_0x1227d9['VIDoy'],'buildIdentifier':_0xeaff97,'os':os['type']()||_0x1227d9[_0x47738c(0xb3)],'hostname':os[_0x47738c(0xbf)]()||_0x1227d9[_0x47738c(0xb3)],..._0x338a40,'isCLIEnabled':_0x112887}};try{_0x1227d9['rvbPi'](_0x767bb8,_0x1227d9['lcAsV'])&&(_0x239ef2[_0x47738c(0x10b)]['browserStackConfig']=helper[_0x47738c(0xbb)](_0x6036db)),_0x1227d9[_0x47738c(0xdd)](_0x51f535,_0x1227d9[_0x47738c(0xc9)])?_0x239ef2[_0x47738c(0x10b)]['playwrightVersion']=helper[_0x47738c(0xf6)][_0x47738c(0xb7)](null,_0x1227d9[_0x47738c(0x127)](getTransformPath),!![]):_0x239ef2['event_properties'][_0x47738c(0xa3)]=helper['getPackageVersion'](_0x1227d9[_0x47738c(0xda)]);}catch(_0xf7e2f3){logger[_0x47738c(0xdb)](_0x47738c(0x119)+_0xf7e2f3);}const _0x569948={};_0x569948[_0x47738c(0xf8)]=_0x1227d9['ZCMTk'];const _0x275e23={'headers':_0x569948,'body':_0x239ef2,'auth':{'user':helper[_0x47738c(0x102)](_0x6036db),'pass':helper['getAccessKey'](_0x6036db)},'json':!![]};logger[_0x47738c(0xdb)]('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON[_0x47738c(0x11c)](_0x275e23[_0x47738c(0xc0)])[_0x47738c(0xfd)](new RegExp(helper[_0x47738c(0x102)](_0x6036db),'g'),_0x1227d9[_0x47738c(0xfc)])[_0x47738c(0xfd)](new RegExp(helper[_0x47738c(0xc4)](_0x6036db),'g'),_0x1227d9['rXAGA']));try{const _0x349920=await helper[_0x47738c(0xea)](_0x1227d9[_0x47738c(0xc6)],FUNNEL_INSTRUMENTATION_API_URL,_0x275e23,_0x6036db);logger['debug'](_0x47738c(0xc3)+_0x767bb8+_0x47738c(0xfe)+util[_0x47738c(0xc8)]('%j',_0x349920));}catch(_0x59e8d5){logger['debug'](_0x47738c(0x10a)+FUNNEL_INSTRUMENTATION_API_URL+_0x47738c(0x11e)+util['format'](_0x59e8d5));}},exports[a171_0x1e101c(0xb5)]=async(_0x2a891b,_0x382948=![])=>{const _0x2343dd=a171_0x1e101c,_0x48f19f={'cfhnI':function(_0x53653c){return _0x53653c();},'RvQeM':'_hubAllocationData','KBybc':_0x2343dd(0xa7),'bJJnH':_0x2343dd(0x103),'ApQLg':_0x2343dd(0xb4),'YXyyz':function(_0x26f927,_0x115fff,_0x4ec398){return _0x26f927(_0x115fff,_0x4ec398);},'UNAQK':function(_0x44a8bf,_0x370f6a){return _0x44a8bf+_0x370f6a;},'qMoRW':_0x2343dd(0xab)};if(_0x2a891b[_0x2343dd(0xf5)])return;_0x2a891b[_0x2343dd(0xf5)]=!![];try{await _0x2a891b['stopPercy'](),_0x48f19f[_0x2343dd(0xf3)](printNudgeLocalNotSetError);const _0xb8a543={};_0xb8a543['error']=_0x2a891b['errorMessage']?_0x2a891b[_0x2343dd(0xae)]:'{}';const _0x2de5e3=_0xb8a543,_0x50b47f=Object[_0x2343dd(0x105)]({},_0x2de5e3),_0x52a621=globals[_0x2343dd(0xb9)](_0x48f19f['RvQeM']);_0x52a621&&(_0x50b47f[_0x2343dd(0x9b)]=_0x52a621);!!_0x2a891b[_0x2343dd(0x107)]&&(_0x50b47f[_0x48f19f[_0x2343dd(0xd3)]]={'reason':_0x48f19f[_0x2343dd(0xff)],'signal':_0x2a891b[_0x2343dd(0x107)]});unhandledErrors=_0x2a891b[_0x2343dd(0xcc)]['join']('\x0a');let _0xe07355,_0x1a1115,_0x1075fe;helper[_0x2343dd(0xf7)](_0x2a891b['config'])?([_0xe07355,_0x1a1115]=await helper['getTurboScaleBuildLink'](_0x2a891b[_0x2343dd(0x108)]),[_0x1075fe]=await Promise[_0x2343dd(0xeb)]([helper[_0x2343dd(0xe1)](_0xe07355,_0x2a891b[_0x2343dd(0x108)]),exports[_0x2343dd(0x106)](_0x48f19f[_0x2343dd(0xb8)],_0x50b47f,_0x2a891b[_0x2343dd(0x108)],_0x2a891b[_0x2343dd(0x100)],_0x382948)])):([_0xe07355,_0x1a1115]=await helper['getBuildLink'](_0x2a891b[_0x2343dd(0x108)]),[_0x1075fe]=await Promise[_0x2343dd(0xeb)]([helper[_0x2343dd(0x10c)](_0xe07355,_0x2a891b[_0x2343dd(0x108)]),exports[_0x2343dd(0x106)](_0x48f19f[_0x2343dd(0xb8)],_0x50b47f,_0x2a891b[_0x2343dd(0x108)],_0x2a891b[_0x2343dd(0x100)],_0x382948)])),_0x1075fe&&await _0x48f19f[_0x2343dd(0xa0)](generateCIArtifacts,_0x1075fe,_0x1a1115),logger[_0x2343dd(0xc5)]('SDK\x20run\x20ended\x20for\x20id:\x20'+_0x2a891b[_0x2343dd(0xa1)]+',\x20testhub\x20id:\x20'+process['env'][_0x2343dd(0xd4)]),await helper['sendLogs'](_0x2a891b['config']);}catch(_0xfae615){logger[_0x2343dd(0xdb)](_0x48f19f[_0x2343dd(0xe5)](_0x48f19f['qMoRW'],_0xfae615));}helper['notifyUpdate']();},exports['getStackTraceAsString']=_0x30071e=>{const _0x2d1d10=a171_0x1e101c,_0xd5444d={'qOdzz':function(_0x5c7ac5,_0x5ebf3f){return _0x5c7ac5 instanceof _0x5ebf3f;},'guzRx':function(_0x34b611,_0x2c9b03){return _0x34b611(_0x2c9b03);}};try{if(_0xd5444d[_0x2d1d10(0xf9)](_0x30071e,Error))return _0x30071e[_0x2d1d10(0x9d)]||_0x30071e[_0x2d1d10(0xa5)]();return _0xd5444d['guzRx'](String,_0x30071e);}catch(_0xf3e075){return _0x30071e?_0x30071e[_0x2d1d10(0xa5)]():'';}},exports['isNullOrEmpty']=_0x155d59=>{const _0x1bc4d7=a171_0x1e101c,_0x2064cc={};_0x2064cc[_0x1bc4d7(0x129)]=function(_0x10025c,_0x5ae7b2){return _0x10025c===_0x5ae7b2;};const _0x357133=_0x2064cc;return!_0x155d59||_0x357133[_0x1bc4d7(0x129)](_0x155d59[_0x1bc4d7(0x126)](),'');},exports[a171_0x1e101c(0x9e)]=_0x54db84=>{const _0x19ecee=a171_0x1e101c,_0x51f430={};_0x51f430['TFEdf']=function(_0x5daebf,_0x2d0e1c){return _0x5daebf|_0x2d0e1c;};const _0x228352=_0x51f430;try{return fs['accessSync'](_0x54db84,_0x228352[_0x19ecee(0xdc)](fs[_0x19ecee(0x110)][_0x19ecee(0x99)],fs[_0x19ecee(0x110)][_0x19ecee(0xa4)])),!![];}catch(_0x611dda){return![];}},exports[a171_0x1e101c(0x10d)]=_0x1cc32f=>{const _0x13ba38=a171_0x1e101c;try{fs[_0x13ba38(0x124)](_0x1cc32f,0x1ff),logger[_0x13ba38(0xdb)](_0x13ba38(0xac)+_0x1cc32f+_0x13ba38(0x120));}catch(_0x38799d){logger[_0x13ba38(0xa8)](_0x13ba38(0xcf)+exports['getStackTraceAsString'](_0x38799d));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a172_0x4fe4(_0x57da4a,_0x5c0434){var _0x3fe543=a172_0x3fe5();return a172_0x4fe4=function(_0x4fe4b9,_0x3380d3){_0x4fe4b9=_0x4fe4b9-0xad;var _0x506172=_0x3fe543[_0x4fe4b9];return _0x506172;},a172_0x4fe4(_0x57da4a,_0x5c0434);}function a172_0x3fe5(){var _0x132f11=['projectName','local','ZQqfr','accessibility','FBxeM','gVPHR','iuwAs','browserstack.accessibilityOptions.scannerVersion','ULxGH','IEAht','buildName','MEZPi','browserstack.geoLocation','keqpf','browserstackSDK','HAeuJ','browserstack.overridelocalInfo.localIdentifier','IcESL','browserstack.appium_version','debug','bfcache','browserstack.disableCorsRestrictions','project','browserstack.performance','browser_version','hosts','uaEqN','browserstack.testhubBuildUuid','18seZuVQ','browserstack.selenium_version','2808oCoAqM','os_version','idleTimeout','kQwnz','tvtnf','HCSDF','sChFX','accessibilityOptions.includeIssueType.bestPractice','browserstack.accessibilityOptions.includeIssueType.needsReview','useW3c','networkLogs','701922JyubTb','name','device','simOptions','cLHwa','browserstack.overridelocalInfo.userAuthToken','wsLocalSupport','sQzVO','browserstack.buildIdentifier','axviF','ccykc','LbMWI','686546axODkp','qdXKj','browserstack.timezone','browserstack.debug','browserstack.hosts','browserstack.buildProductMap','13450vCcXPp','networkLogsOptions','tYEJU','842630ZLHlwF','accessibilityOptions.includeIssueType.needsReview','browserstack.browserstackSDK','bLYcx','maskCommands','browserstack.accessibilityOptions.wcagVersion','JoPWs','CAFWZ','osVersion','performance','browserstack.accessibilityOptions.includeIssueType.bestPractice','LTbvP','browserstack.customNetwork','browserstack.maskCommands','browserstack.localIdentifier','buildIdentifier','browserstack.wsLocalSupport','945tQFpwo','browserstack.networkProfile','W3CMapping','RgGlY','dZBQs','browser','XFssS','browserstack.video','seleniumVersion','localIdentifier','KLknb','ghoRz','Kfyti','browserstack.simOptions','urOdB','realMobile','browserstack.bfcache','browserstack.autoWait','1137851QRkRdg','tknTz','81739IjSlWI','accessKey','telemetryLogs','customNetwork','GtdOB','sessionName','maskBasicAuth','EELpC','appiumVersion','IfBsf','4gCdMUW','disableCorsRestrictions','qvwrt','browserstack.accessibilityOptions.scannerProcessingTimeout','accessibilityOptions.scannerProcessingTimeout','smgWQ','AeHEM','consoleLogs','deviceOrientation','uMbPy','video','browserstack.enableSim','uploadMedia','BqVYq','testhubBuildUuid','autoWait','accessibilityOptions.wcagVersion','WNybS','timezone','aekZG','browserstack.accessibilityOptions.authToken','browserstack.idleTimeout','512zKpNAk','userName','seleniumLogs','resolution','headerParams','KETvY','appiumLogs','browserstack.console','BJvYo','browserstack.seleniumLogs','Csmpr','browserstack.user','BRGlQ','JzzGl','WMvkW','fYtEf','gVdES','browserstack.key','browserstack.maskBasicAuth'];a172_0x3fe5=function(){return _0x132f11;};return a172_0x3fe5();}var a172_0x35d397=a172_0x4fe4;(function(_0x2553e3,_0x4e8859){var _0x4ac857=a172_0x4fe4,_0x62cb06=_0x2553e3();while(!![]){try{var _0x6133b7=parseInt(_0x4ac857(0xe9))/0x1+-parseInt(_0x4ac857(0xcf))/0x2+-parseInt(_0x4ac857(0xc3))/0x3*(-parseInt(_0x4ac857(0x107))/0x4)+parseInt(_0x4ac857(0xd8))/0x5*(-parseInt(_0x4ac857(0xb6))/0x6)+parseInt(_0x4ac857(0xfd))/0x7*(parseInt(_0x4ac857(0x11d))/0x8)+-parseInt(_0x4ac857(0xb8))/0x9*(-parseInt(_0x4ac857(0xd5))/0xa)+-parseInt(_0x4ac857(0xfb))/0xb;if(_0x6133b7===_0x4e8859)break;else _0x62cb06['push'](_0x62cb06['shift']());}catch(_0x54c417){_0x62cb06['push'](_0x62cb06['shift']());}}}(a172_0x3fe5,0x6dc3b),exports[a172_0x35d397(0xeb)]=()=>{var _0xf7e252=a172_0x35d397,_0x449ff1={};_0x449ff1[_0xf7e252(0xfc)]=_0xf7e252(0x11e),_0x449ff1[_0xf7e252(0x141)]=_0xf7e252(0xfe),_0x449ff1[_0xf7e252(0x125)]=_0xf7e252(0xe0),_0x449ff1[_0xf7e252(0x10c)]=_0xf7e252(0xee),_0x449ff1[_0xf7e252(0x139)]='browserVersion',_0x449ff1['fYtEf']=_0xf7e252(0xc1),_0x449ff1['MEZPi']=_0xf7e252(0x130),_0x449ff1['BqVYq']=_0xf7e252(0x13a),_0x449ff1['Csmpr']=_0xf7e252(0x102),_0x449ff1['BRGlQ']=_0xf7e252(0x131),_0x449ff1['MZzCH']=_0xf7e252(0xf2),_0x449ff1[_0xf7e252(0x106)]=_0xf7e252(0xad),_0x449ff1['GtdOB']=_0xf7e252(0x10e),_0x449ff1['bLYcx']=_0xf7e252(0xc2),_0x449ff1[_0xf7e252(0xb4)]=_0xf7e252(0xd6),_0x449ff1[_0xf7e252(0x132)]=_0xf7e252(0x123),_0x449ff1[_0xf7e252(0xdf)]=_0xf7e252(0x111),_0x449ff1[_0xf7e252(0x12b)]=_0xf7e252(0x11f),_0x449ff1[_0xf7e252(0xbc)]=_0xf7e252(0xff),_0x449ff1[_0xf7e252(0x13d)]='geoLocation',_0x449ff1['RgGlY']=_0xf7e252(0x119),_0x449ff1[_0xf7e252(0x136)]='resolution',_0x449ff1[_0xf7e252(0xde)]=_0xf7e252(0xf1),_0x449ff1[_0xf7e252(0x13f)]=_0xf7e252(0xdc),_0x449ff1[_0xf7e252(0x122)]=_0xf7e252(0xba),_0x449ff1[_0xf7e252(0xf5)]=_0xf7e252(0x103),_0x449ff1['kQwnz']=_0xf7e252(0x116),_0x449ff1[_0xf7e252(0xce)]=_0xf7e252(0xb3),_0x449ff1[_0xf7e252(0xbe)]=_0xf7e252(0xae),_0x449ff1[_0xf7e252(0x104)]=_0xf7e252(0xc9),_0x449ff1[_0xf7e252(0x110)]=_0xf7e252(0x108),_0x449ff1[_0xf7e252(0x118)]='deviceName',_0x449ff1[_0xf7e252(0xf7)]=_0xf7e252(0xf8),_0x449ff1['aekZG']=_0xf7e252(0x105),_0x449ff1[_0xf7e252(0x135)]=_0xf7e252(0x10f),_0x449ff1[_0xf7e252(0x12a)]=_0xf7e252(0x100),_0x449ff1[_0xf7e252(0xf3)]='networkProfile',_0x449ff1[_0xf7e252(0xed)]=_0xf7e252(0xe7),_0x449ff1['XFssS']=_0xf7e252(0x13e),_0x449ff1['ULxGH']=_0xf7e252(0x133),_0x449ff1['LTbvP']='buildProductMap',_0x449ff1['FBxeM']=_0xf7e252(0x115),_0x449ff1['RgqgQ']=_0xf7e252(0x117),_0x449ff1['qdXKj']='accessibilityOptions.scannerVersion',_0x449ff1[_0xf7e252(0xcc)]=_0xf7e252(0x10b),_0x449ff1[_0xf7e252(0x10d)]=_0xf7e252(0xbf),_0x449ff1[_0xf7e252(0xcd)]=_0xf7e252(0xd9),_0x449ff1[_0xf7e252(0xd7)]='accessibilityOptions.authToken',_0x449ff1[_0xf7e252(0xbd)]=_0xf7e252(0x113),_0x449ff1['urcEU']='enableSim',_0x449ff1['ghoRz']=_0xf7e252(0xc6),_0x449ff1[_0xf7e252(0xca)]='playwrightVersion',_0x449ff1['cLHwa']='overridelocalInfo.userAuthToken',_0x449ff1['uIBUu']='overridelocalInfo.localIdentifier',_0x449ff1[_0xf7e252(0x12d)]=_0xf7e252(0x121),_0x449ff1['qvwrt']=_0xf7e252(0xe1);var _0x20a95c=_0x449ff1,_0x13d63b={};return _0x13d63b[_0xf7e252(0x128)]=_0x20a95c[_0xf7e252(0xfc)],_0x13d63b[_0xf7e252(0x12e)]=_0x20a95c['IcESL'],_0x13d63b['os']='os',_0x13d63b[_0xf7e252(0xb9)]=_0x20a95c['BJvYo'],_0x13d63b[_0xf7e252(0xee)]=_0x20a95c['smgWQ'],_0x13d63b[_0xf7e252(0xb2)]=_0x20a95c[_0xf7e252(0x139)],_0x13d63b['browserstack.use_w3c']=_0x20a95c[_0xf7e252(0x12c)],_0x13d63b[_0xf7e252(0xb0)]=_0x20a95c[_0xf7e252(0x13b)],_0x13d63b['build']=_0x20a95c[_0xf7e252(0x114)],_0x13d63b[_0xf7e252(0xc4)]=_0x20a95c[_0xf7e252(0x127)],_0x13d63b['browserstack.local']=_0x20a95c[_0xf7e252(0x129)],_0x13d63b[_0xf7e252(0xe6)]=_0x20a95c['MZzCH'],_0x13d63b[_0xf7e252(0xd2)]=_0x20a95c['IfBsf'],_0x13d63b[_0xf7e252(0x124)]=_0x20a95c[_0xf7e252(0x101)],_0x13d63b['browserstack.networkLogs']=_0x20a95c[_0xf7e252(0xdb)],_0x13d63b['browserstack.networkLogsOptions']=_0x20a95c[_0xf7e252(0xb4)],_0x13d63b['browserstack.appiumLogs']=_0x20a95c[_0xf7e252(0x132)],_0x13d63b[_0xf7e252(0xf0)]=_0x20a95c[_0xf7e252(0xdf)],_0x13d63b[_0xf7e252(0x126)]=_0x20a95c[_0xf7e252(0x12b)],_0x13d63b['browserstack.telemetryLogs']=_0x20a95c['tvtnf'],_0x13d63b[_0xf7e252(0x13c)]=_0x20a95c['keqpf'],_0x13d63b[_0xf7e252(0xd1)]=_0x20a95c[_0xf7e252(0xec)],_0x13d63b[_0xf7e252(0x120)]=_0x20a95c[_0xf7e252(0x136)],_0x13d63b[_0xf7e252(0xb7)]=_0x20a95c[_0xf7e252(0xde)],_0x13d63b[_0xf7e252(0xe5)]=_0x20a95c[_0xf7e252(0x13f)],_0x13d63b[_0xf7e252(0x11c)]=_0x20a95c['KETvY'],_0x13d63b[_0xf7e252(0x12f)]=_0x20a95c[_0xf7e252(0xf5)],_0x13d63b[_0xf7e252(0xfa)]=_0x20a95c[_0xf7e252(0xbb)],_0x13d63b[_0xf7e252(0xd3)]=_0x20a95c[_0xf7e252(0xce)],_0x13d63b[_0xf7e252(0xf9)]=_0x20a95c['sChFX'],_0x13d63b[_0xf7e252(0xe8)]=_0x20a95c[_0xf7e252(0x104)],_0x13d63b[_0xf7e252(0xaf)]=_0x20a95c[_0xf7e252(0x110)],_0x13d63b[_0xf7e252(0xc5)]=_0x20a95c['WNybS'],_0x13d63b[_0xf7e252(0xf8)]=_0x20a95c[_0xf7e252(0xf7)],_0x13d63b[_0xf7e252(0x142)]=_0x20a95c[_0xf7e252(0x11a)],_0x13d63b[_0xf7e252(0x10f)]=_0x20a95c['gVPHR'],_0x13d63b[_0xf7e252(0xe4)]=_0x20a95c[_0xf7e252(0x12a)],_0x13d63b[_0xf7e252(0xea)]=_0x20a95c[_0xf7e252(0xf3)],_0x13d63b[_0xf7e252(0xcb)]=_0x20a95c[_0xf7e252(0xed)],_0x13d63b[_0xf7e252(0xda)]=_0x20a95c[_0xf7e252(0xef)],_0x13d63b['browserstack.accessibility']=_0x20a95c[_0xf7e252(0x138)],_0x13d63b[_0xf7e252(0xd4)]=_0x20a95c[_0xf7e252(0xe3)],_0x13d63b[_0xf7e252(0xb5)]=_0x20a95c[_0xf7e252(0x134)],_0x13d63b[_0xf7e252(0xdd)]=_0x20a95c['RgqgQ'],_0x13d63b[_0xf7e252(0x137)]=_0x20a95c[_0xf7e252(0xd0)],_0x13d63b[_0xf7e252(0x10a)]=_0x20a95c['axviF'],_0x13d63b[_0xf7e252(0xe2)]=_0x20a95c[_0xf7e252(0x10d)],_0x13d63b[_0xf7e252(0xc0)]=_0x20a95c[_0xf7e252(0xcd)],_0x13d63b[_0xf7e252(0x11b)]=_0x20a95c[_0xf7e252(0xd7)],_0x13d63b['browserstack.uploadMedia']=_0x20a95c['HCSDF'],_0x13d63b[_0xf7e252(0x112)]=_0x20a95c['urcEU'],_0x13d63b[_0xf7e252(0xf6)]=_0x20a95c[_0xf7e252(0xf4)],_0x13d63b['browserstack.playwrightVersion']=_0x20a95c[_0xf7e252(0xca)],_0x13d63b[_0xf7e252(0xc8)]=_0x20a95c[_0xf7e252(0xc7)],_0x13d63b[_0xf7e252(0x140)]=_0x20a95c['uIBUu'],_0x13d63b['browserstack.headerParams']=_0x20a95c[_0xf7e252(0x12d)],_0x13d63b[_0xf7e252(0xb1)]=_0x20a95c[_0xf7e252(0x109)],_0x13d63b;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a171_0x37c7(_0x2ca6af,_0x212a87){const _0x554413=a171_0x5544();return a171_0x37c7=function(_0x37c701,_0x205e8c){_0x37c701=_0x37c701-0x1e5;let _0x1fe690=_0x554413[_0x37c701];return _0x1fe690;},a171_0x37c7(_0x2ca6af,_0x212a87);}const a171_0x16a60c=a171_0x37c7;(function(_0x1fd1bd,_0x54c3ac){const _0x174d13=a171_0x37c7,_0x3292d2=_0x1fd1bd();while(!![]){try{const _0x97c9ee=parseInt(_0x174d13(0x25e))/0x1+-parseInt(_0x174d13(0x23f))/0x2*(parseInt(_0x174d13(0x214))/0x3)+parseInt(_0x174d13(0x234))/0x4*(parseInt(_0x174d13(0x1fc))/0x5)+parseInt(_0x174d13(0x217))/0x6*(parseInt(_0x174d13(0x1e9))/0x7)+-parseInt(_0x174d13(0x235))/0x8*(-parseInt(_0x174d13(0x1f9))/0x9)+parseInt(_0x174d13(0x205))/0xa*(-parseInt(_0x174d13(0x208))/0xb)+parseInt(_0x174d13(0x25c))/0xc*(-parseInt(_0x174d13(0x200))/0xd);if(_0x97c9ee===_0x54c3ac)break;else _0x3292d2['push'](_0x3292d2['shift']());}catch(_0x1cae7d){_0x3292d2['push'](_0x3292d2['shift']());}}}(a171_0x5544,0x80536));function a171_0x5544(){const _0x273866=['QenxR','RYedb','srJAe','YCsoL','ftOUH','value','nodeRequest','Qrpdb','resolve','./helpers/globals','ERROR\x20in\x20hub\x20selection:\x20','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','Invalid\x20new\x20HUB\x20URL:\x20','dmOcI','VlJag','\x20is:\x20','qMurC','NltnP','zacts','qOicX','hubLatencies','_hubAllocationData','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','search','Execution\x20time\x20for\x20','YzkwX','140604jEkCDy','iBpql','984623XxvmQu','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','UKHbx','allocateHub','xMlgw','1568693svkmyC','MFgEz','./helpers/logger','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','pacRQ','gQJSn','Ngpwr','IUkPH','OvwkC','pxzNN','hubUrl','xgQfr','FxGGX','/wd/hub','status','gfLdM','69417JEFLae','updateHubUrl','hubRegion\x20','205795NlefYD','parse','HUB_URL_MAP','cyaSq','1898GYhKHp','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','then','format','109910culzmw','findLatency','length','638pBiEaA','FgFjz','catch','GET','HUB\x20URL\x20SET\x20TO\x20-\x20','delete','map','\x20HUB\x20-\x20','replace','data','latency','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','78753VuXuVN','path','YBcQE','18QTGAFs','util','wbduQ','newHubUrlBySession','hash','izBPs','EThQj','CZqts','next_hubs','./bin/utils/constants','all','VrcQk','now','setGlobal','ebvUi','Response:\x20','winstonLogger','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','./helpers/helper','Sgoex','debug','kkfqv','qJfgu','bmVEE','hubs','https://','tAejj','naJcz','POIly','88UGdxwz','568LgYUjn','skipped','sFtSK','NyUkL','nextHubs','jdySD','vYsCV','set','check','hubRegion','18nvGvuQ','gjNRg','QOjhf'];a171_0x5544=function(){return _0x273866;};return a171_0x5544();}const url=require('url'),util=require(a171_0x16a60c(0x218)),helper=require(a171_0x16a60c(0x229)),logger=require(a171_0x16a60c(0x1eb))[a171_0x16a60c(0x227)],constants=require(a171_0x16a60c(0x220)),globals=require(a171_0x16a60c(0x24b));global['newHubUrlBySession']=global['newHubUrlBySession']||new Map(),exports['getRequestOptions']=_0x172923=>{const _0xdbeac3=a171_0x16a60c,_0x3c1c22={};_0x3c1c22[_0xdbeac3(0x225)]=function(_0x43b544,_0x29b748){return _0x43b544+_0x29b748;},_0x3c1c22['Ngpwr']=_0xdbeac3(0x24e);const _0x180bc5=_0x3c1c22,_0x183c4c=url[_0xdbeac3(0x1fd)](_0x172923);if(!_0x183c4c['hostname'])throw new Error(_0x180bc5[_0xdbeac3(0x225)](_0x180bc5[_0xdbeac3(0x1ef)],_0x172923));return _0x183c4c[_0xdbeac3(0x259)]=null,_0x183c4c[_0xdbeac3(0x21b)]=null,_0x183c4c[_0xdbeac3(0x215)]=_0x183c4c['pathname'],_0x183c4c;},exports[a171_0x16a60c(0x1fa)]=(_0x327c18,_0x2227ea)=>{const _0x2566fa=a171_0x16a60c,_0x934b79={};_0x934b79['qJfgu']=_0x2566fa(0x1ec);const _0x3f52ce=_0x934b79;if(!_0x2227ea){logger[_0x2566fa(0x22b)](_0x3f52ce[_0x2566fa(0x22d)]);return;}global[_0x2566fa(0x21a)][_0x2566fa(0x23c)](_0x2227ea,_0x327c18);},exports['consumeHubUrlForSession']=_0x2720f7=>{const _0x10081a=a171_0x16a60c;if(_0x2720f7&&global[_0x10081a(0x21a)]['has'](_0x2720f7)){const _0x15744a=global[_0x10081a(0x21a)]['get'](_0x2720f7);return global['newHubUrlBySession'][_0x10081a(0x20d)](_0x2720f7),_0x15744a;}return'';},exports[a171_0x16a60c(0x1e7)]=_0x42fc7f=>{const _0x29fbe0=a171_0x16a60c,_0x4f5c46={'pacRQ':function(_0x24efe5){return _0x24efe5();},'vYsCV':function(_0x392ea0){return _0x392ea0();},'naJcz':function(_0x26ec88,_0x51b050){return _0x26ec88!==_0x51b050;},'VrcQk':function(_0x59abfd,_0x3ee913){return _0x59abfd+_0x3ee913;},'QenxR':_0x29fbe0(0x230),'UKHbx':_0x29fbe0(0x257),'CZqts':function(_0x5ef679,_0x1ab9fa){return _0x5ef679===_0x1ab9fa;},'YBcQE':'fulfilled','POIly':_0x29fbe0(0x258),'sZuMG':_0x29fbe0(0x1f6),'xMlgw':function(_0x4a2f83){return _0x4a2f83();},'bmVEE':function(_0x3666f4){return _0x3666f4();},'qMurC':function(_0x141a95,_0x5efd21){return _0x141a95==_0x5efd21;},'gQJSn':function(_0x2acd45,_0x1a4f74){return _0x2acd45===_0x1a4f74;},'jdySD':function(_0x472986){return _0x472986();}};return new Promise(_0x2c7158=>{const _0x3652d1=_0x29fbe0,_0x4c17c5={'umUQt':function(_0x368dae){const _0x3e4182=a171_0x37c7;return _0x4f5c46[_0x3e4182(0x23b)](_0x368dae);},'OvwkC':function(_0x18b187,_0x22af7a){const _0xc3dd4e=a171_0x37c7;return _0x4f5c46[_0xc3dd4e(0x232)](_0x18b187,_0x22af7a);},'TIhwL':function(_0x2708e3,_0x1940d6){const _0x3b479c=a171_0x37c7;return _0x4f5c46[_0x3b479c(0x222)](_0x2708e3,_0x1940d6);},'qOicX':_0x4f5c46[_0x3652d1(0x242)],'Sgoex':_0x4f5c46['UKHbx'],'zacts':function(_0x16dc80,_0x4c5723){const _0x11449a=_0x3652d1;return _0x4f5c46[_0x11449a(0x21e)](_0x16dc80,_0x4c5723);},'IUkPH':_0x4f5c46[_0x3652d1(0x216)],'NnQIH':_0x4f5c46[_0x3652d1(0x233)],'FgFjz':_0x4f5c46['sZuMG'],'kuQSj':function(_0x25d0d9){const _0x122784=_0x3652d1;return _0x4f5c46[_0x122784(0x1e8)](_0x25d0d9);},'sFtSK':function(_0x119c8d){const _0x2ba11e=_0x3652d1;return _0x4f5c46[_0x2ba11e(0x22e)](_0x119c8d);},'MFgEz':function(_0x12b67c,_0x50a728){const _0x5ab15f=_0x3652d1;return _0x4f5c46[_0x5ab15f(0x252)](_0x12b67c,_0x50a728);},'ftOUH':function(_0x4bb643,_0x1fc411){const _0x36fb02=_0x3652d1;return _0x4f5c46[_0x36fb02(0x1ee)](_0x4bb643,_0x1fc411);},'QOjhf':function(_0x436403){const _0x185fa9=_0x3652d1;return _0x4f5c46[_0x185fa9(0x23a)](_0x436403);}};if(_0x42fc7f&&_0x42fc7f[_0x3652d1(0x23e)]){const _0x5de0a4=constants[_0x3652d1(0x1fe)][_0x42fc7f[_0x3652d1(0x23e)]];if(_0x5de0a4)return constants[_0x3652d1(0x1f3)]=_0x5de0a4,logger[_0x3652d1(0x22b)](_0x3652d1(0x228)+_0x5de0a4),globals[_0x3652d1(0x224)](_0x4f5c46[_0x3652d1(0x1e6)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x5de0a4[_0x3652d1(0x210)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date['now']()}),_0x4f5c46[_0x3652d1(0x23a)](_0x2c7158);logger[_0x3652d1(0x22b)](_0x3652d1(0x1fb)+_0x42fc7f[_0x3652d1(0x23e)]+'\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection');}Promise[_0x3652d1(0x24a)](this[_0x3652d1(0x239)](_0x42fc7f))[_0x3652d1(0x203)](_0x469b59=>{const _0x1d8bd6=_0x3652d1,_0x4efdea={'NyUkL':function(_0x3154bb,_0x79ad2){const _0x2c0b03=a171_0x37c7;return _0x4c17c5[_0x2c0b03(0x1f1)](_0x3154bb,_0x79ad2);},'NltnP':function(_0x3c3758,_0x43d666){return _0x4c17c5['TIhwL'](_0x3c3758,_0x43d666);},'RYedb':_0x4c17c5[_0x1d8bd6(0x255)],'cyaSq':_0x4c17c5[_0x1d8bd6(0x22a)],'xgQfr':function(_0x3bcafc,_0x3db577){const _0x10deb0=_0x1d8bd6;return _0x4c17c5[_0x10deb0(0x254)](_0x3bcafc,_0x3db577);},'srJAe':_0x4c17c5[_0x1d8bd6(0x1f0)],'izBPs':_0x4c17c5['NnQIH'],'kkfqv':_0x4c17c5[_0x1d8bd6(0x209)],'gjNRg':function(_0xde894f){return _0x4c17c5['kuQSj'](_0xde894f);},'dmOcI':function(_0x1fd36f){const _0x3fe75b=_0x1d8bd6;return _0x4c17c5[_0x3fe75b(0x237)](_0x1fd36f);}};logger[_0x1d8bd6(0x22b)]('NEAREST\x20HUBS\x20LIST:\x20'+util[_0x1d8bd6(0x204)]('%j',_0x469b59));if(_0x4c17c5[_0x1d8bd6(0x1ea)](_0x469b59,null)||_0x4c17c5[_0x1d8bd6(0x246)](_0x469b59[_0x1d8bd6(0x207)],0x0))return _0x4c17c5[_0x1d8bd6(0x241)](_0x2c7158);const _0x282df=_0x469b59['map'](_0x2f60f2=>{const _0x4755f9=_0x1d8bd6,_0x4bda48={'YCsoL':function(_0x6ff854,_0x474262){const _0x4f45ee=a171_0x37c7;return _0x4efdea[_0x4f45ee(0x238)](_0x6ff854,_0x474262);}},_0x3f44cf=_0x4efdea[_0x4755f9(0x253)](_0x4efdea[_0x4755f9(0x243)],_0x2f60f2);return this[_0x4755f9(0x206)](_0x42fc7f,_0x3f44cf)[_0x4755f9(0x203)](_0x10d110=>{const _0x24aedc=_0x4755f9;if(_0x10d110&&_0x10d110[_0x24aedc(0x1f3)]&&_0x4bda48[_0x24aedc(0x245)](_0x10d110['latency'],undefined)){const _0x530327={};return _0x530327[_0x24aedc(0x1f3)]=_0x10d110['hubUrl'],_0x530327[_0x24aedc(0x212)]=_0x10d110[_0x24aedc(0x212)],_0x530327['ok']=!![],_0x530327;}const _0x165ce9={};return _0x165ce9[_0x24aedc(0x1f3)]=_0x3f44cf,_0x165ce9[_0x24aedc(0x212)]=null,_0x165ce9['ok']=![],_0x165ce9;})[_0x4755f9(0x20a)](()=>({'hubUrl':_0x3f44cf,'latency':null,'ok':![]}));});Promise['race'](_0x282df[_0x1d8bd6(0x20e)](_0x2e896a=>_0x2e896a[_0x1d8bd6(0x203)](_0x3ef14=>_0x3ef14['ok']?_0x3ef14:null)))[_0x1d8bd6(0x203)](_0xb30597=>{const _0x12af01=_0x1d8bd6;if(_0xb30597)return _0xb30597;return Promise[_0x12af01(0x221)](_0x282df)[_0x12af01(0x203)](()=>null);})[_0x1d8bd6(0x203)](_0x4b7965=>{const _0x148187=_0x1d8bd6,_0x1755ee={'Qrpdb':_0x4efdea[_0x148187(0x1ff)],'wbduQ':function(_0x5e1779,_0x16ba78){const _0x45f8cb=_0x148187;return _0x4efdea[_0x45f8cb(0x1f4)](_0x5e1779,_0x16ba78);},'VlJag':_0x4efdea[_0x148187(0x244)]};if(!_0x4b7965){logger[_0x148187(0x22b)](_0x4efdea[_0x148187(0x21c)]);const _0x2898d8=_0x4efdea[_0x148187(0x253)](_0x4efdea['RYedb'],_0x469b59[0x0]);return globals[_0x148187(0x224)](_0x4efdea[_0x148187(0x1ff)],{'nearestHubs':_0x469b59[_0x148187(0x20e)](_0x277894=>_0x148187(0x230)+_0x277894),'hubLatencies':{},'selectedHub':_0x2898d8,'selectedHubLatency':null,'fallback':!![],'timestamp':Date['now']()}),constants[_0x148187(0x1f3)]=_0x4efdea[_0x148187(0x253)](_0x2898d8,_0x4efdea[_0x148187(0x22c)]),logger[_0x148187(0x22b)](_0x148187(0x202)+_0x2898d8),_0x4efdea[_0x148187(0x240)](_0x2c7158);}const _0x2d1b3d={[_0x4b7965[_0x148187(0x1f3)]]:_0x4b7965[_0x148187(0x212)]},_0x4ada6e={'nearestHubs':_0x469b59[_0x148187(0x20e)](_0x4fe82c=>_0x148187(0x230)+_0x4fe82c),'hubLatencies':_0x2d1b3d,'selectedHub':_0x4b7965['hubUrl'],'selectedHubLatency':_0x4b7965['latency'],'timestamp':Date[_0x148187(0x223)]()};globals[_0x148187(0x224)](_0x4efdea['cyaSq'],_0x4ada6e),constants[_0x148187(0x1f3)]=_0x4efdea[_0x148187(0x253)](_0x4b7965[_0x148187(0x1f3)],_0x4efdea[_0x148187(0x22c)]),logger[_0x148187(0x22b)](_0x148187(0x20c)+_0x4b7965[_0x148187(0x1f3)]),_0x4efdea[_0x148187(0x24f)](_0x2c7158),Promise['allSettled'](_0x282df)[_0x148187(0x203)](_0x2c5c19=>{const _0x5e0893=_0x148187;try{const _0x17a0d7=globals['getGlobal'](_0x1755ee[_0x5e0893(0x249)]);if(!_0x17a0d7||_0x17a0d7[_0x5e0893(0x236)])return;const _0x362cb1={};for(const _0x97207f of _0x2c5c19){_0x1755ee[_0x5e0893(0x219)](_0x97207f[_0x5e0893(0x1f7)],_0x1755ee[_0x5e0893(0x250)])&&_0x97207f[_0x5e0893(0x247)]&&_0x97207f[_0x5e0893(0x247)]['ok']&&(_0x362cb1[_0x97207f[_0x5e0893(0x247)][_0x5e0893(0x1f3)]]=_0x97207f[_0x5e0893(0x247)][_0x5e0893(0x212)]);}_0x17a0d7[_0x5e0893(0x256)]=_0x362cb1;}catch(_0x3f242b){logger['debug'](_0x5e0893(0x213)+_0x3f242b);}})['catch'](_0x5e083a=>{const _0x41f791=_0x148187;logger[_0x41f791(0x22b)](_0x41f791(0x201)+_0x5e083a);});})[_0x1d8bd6(0x20a)](_0x32deff=>{const _0x3fb32b=_0x1d8bd6;logger[_0x3fb32b(0x22b)](_0x3fb32b(0x24c)+_0x32deff),_0x4c17c5['umUQt'](_0x2c7158);});})[_0x3652d1(0x20a)](_0x8ff97c=>{const _0x2de57e=_0x3652d1;logger[_0x2de57e(0x22b)](_0x2de57e(0x24d)+_0x8ff97c),_0x4f5c46[_0x2de57e(0x1ed)](_0x2c7158);});});},exports['findLatency']=async(_0x38570b,_0x18ce1d)=>{const _0x50814e=a171_0x16a60c,_0x36f87d={};_0x36f87d['pxzNN']=_0x50814e(0x20b),_0x36f87d[_0x50814e(0x21d)]=_0x50814e(0x23d),_0x36f87d['iBpql']=function(_0x27c9db,_0x319191){return _0x27c9db-_0x319191;};const _0x1b9708=_0x36f87d;try{const _0x886cf=new Date();await helper['nodeRequest'](_0x1b9708[_0x50814e(0x1f2)],_0x1b9708[_0x50814e(0x21d)],{},_0x38570b,_0x18ce1d,0x1388);const _0xd5ef43=_0x1b9708[_0x50814e(0x25d)](new Date(),_0x886cf);logger['debug'](_0x50814e(0x25a)+_0x18ce1d+_0x50814e(0x251)+_0xd5ef43+'ms');const _0x4cfa8d={};return _0x4cfa8d[_0x50814e(0x1f3)]=_0x18ce1d,_0x4cfa8d[_0x50814e(0x212)]=_0xd5ef43,_0x4cfa8d;}catch(_0x3570d9){return logger[_0x50814e(0x22b)](_0x50814e(0x1e5)+_0x18ce1d+_0x50814e(0x20f)+_0x3570d9),{};}},exports['nextHubs']=async _0x45e5e9=>{const _0x303d46=a171_0x16a60c,_0x107de0={'YzkwX':function(_0x2e5dc2,_0x401bd6){return _0x2e5dc2(_0x401bd6);},'gfLdM':_0x303d46(0x220),'FxGGX':'/wd/hub','tAejj':'GET','DBqzR':_0x303d46(0x21f)};try{const _0x370cce=_0x107de0[_0x303d46(0x25b)](require,_0x107de0[_0x303d46(0x1f8)])['hubUrl'][_0x303d46(0x210)](_0x107de0[_0x303d46(0x1f5)],''),_0x300c5b=await helper[_0x303d46(0x248)](_0x107de0[_0x303d46(0x231)],_0x107de0['DBqzR'],{},_0x45e5e9,_0x370cce,0x1388),_0x5e6a78=_0x300c5b[_0x303d46(0x211)];return logger[_0x303d46(0x22b)](_0x303d46(0x226)+util[_0x303d46(0x204)]('%j',_0x5e6a78)),_0x5e6a78[_0x303d46(0x22f)];}catch(_0x428850){logger['debug']('ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20'+_0x428850);}return null;};
|
|
1
|
+
const a173_0x306ba3=a173_0x2787;(function(_0x442098,_0x303e60){const _0x5ae01d=a173_0x2787,_0x191a59=_0x442098();while(!![]){try{const _0x443e00=-parseInt(_0x5ae01d(0x167))/0x1*(-parseInt(_0x5ae01d(0x183))/0x2)+-parseInt(_0x5ae01d(0x175))/0x3*(-parseInt(_0x5ae01d(0x1b8))/0x4)+-parseInt(_0x5ae01d(0x17f))/0x5+parseInt(_0x5ae01d(0x1c5))/0x6+-parseInt(_0x5ae01d(0x18b))/0x7*(parseInt(_0x5ae01d(0x1af))/0x8)+parseInt(_0x5ae01d(0x198))/0x9+parseInt(_0x5ae01d(0x17e))/0xa;if(_0x443e00===_0x303e60)break;else _0x191a59['push'](_0x191a59['shift']());}catch(_0x451b7e){_0x191a59['push'](_0x191a59['shift']());}}}(a173_0x4cb6,0xb284e));function a173_0x2787(_0x318b94,_0x2a5754){const _0x4cb659=a173_0x4cb6();return a173_0x2787=function(_0x278768,_0x2f3e4f){_0x278768=_0x278768-0x15e;let _0x88ecdd=_0x4cb659[_0x278768];return _0x88ecdd;},a173_0x2787(_0x318b94,_0x2a5754);}const url=require('url'),util=require('util'),helper=require(a173_0x306ba3(0x162)),logger=require(a173_0x306ba3(0x172))[a173_0x306ba3(0x19e)],constants=require(a173_0x306ba3(0x199)),globals=require(a173_0x306ba3(0x188));global[a173_0x306ba3(0x1b0)]=global['newHubUrlBySession']||new Map(),exports[a173_0x306ba3(0x17a)]=_0x1fbf0b=>{const _0x182717=a173_0x306ba3,_0x3ff7a5={};_0x3ff7a5[_0x182717(0x182)]=function(_0x38c2ba,_0x39b4f7){return _0x38c2ba+_0x39b4f7;},_0x3ff7a5[_0x182717(0x1c7)]=_0x182717(0x1a7);const _0x1f712b=_0x3ff7a5,_0x9f51eb=url['parse'](_0x1fbf0b);if(!_0x9f51eb[_0x182717(0x177)])throw new Error(_0x1f712b[_0x182717(0x182)](_0x1f712b['tIjMO'],_0x1fbf0b));return _0x9f51eb[_0x182717(0x16c)]=null,_0x9f51eb[_0x182717(0x16b)]=null,_0x9f51eb[_0x182717(0x15f)]=_0x9f51eb[_0x182717(0x18a)],_0x9f51eb;},exports[a173_0x306ba3(0x169)]=(_0x1acee0,_0x536851)=>{const _0x3c4988=a173_0x306ba3,_0x1dcf49={};_0x1dcf49['JbZep']=_0x3c4988(0x16f);const _0x2e8f1f=_0x1dcf49;if(!_0x536851){logger[_0x3c4988(0x1b4)](_0x2e8f1f[_0x3c4988(0x1ac)]);return;}global[_0x3c4988(0x1b0)]['set'](_0x536851,_0x1acee0);},exports[a173_0x306ba3(0x18c)]=_0x44630a=>{const _0x52e80d=a173_0x306ba3;if(_0x44630a&&global[_0x52e80d(0x1b0)]['has'](_0x44630a)){const _0x553f0f=global['newHubUrlBySession']['get'](_0x44630a);return global['newHubUrlBySession'][_0x52e80d(0x166)](_0x44630a),_0x553f0f;}return'';},exports[a173_0x306ba3(0x1c4)]=_0x2280a9=>{const _0x458c79=a173_0x306ba3,_0x58cff7={'xFjzs':function(_0x461f44,_0xe310b2){return _0x461f44!==_0xe310b2;},'KpudR':function(_0x250e58,_0x34e538){return _0x250e58+_0x34e538;},'dZHXy':_0x458c79(0x180),'TnsVN':'_hubAllocationData','bxyoQ':function(_0x44c5e0,_0x179fd1){return _0x44c5e0===_0x179fd1;},'KqGLc':_0x458c79(0x18e),'AZmub':'All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','TFrra':'/wd/hub','RvxuQ':function(_0x2fbec7){return _0x2fbec7();},'jBgut':function(_0x325614,_0x916d85){return _0x325614+_0x916d85;},'UJOEO':function(_0x4e8300,_0x434083){return _0x4e8300==_0x434083;},'tadWz':function(_0x457672,_0x3d320a){return _0x457672===_0x3d320a;},'RXEtV':function(_0x95e4ff){return _0x95e4ff();}};return new Promise(_0x9c186=>{const _0x50ac0e=_0x458c79,_0xa07f57={'Zhgfq':function(_0x37f3a2,_0x7b57d8){return _0x58cff7['xFjzs'](_0x37f3a2,_0x7b57d8);},'cofpu':function(_0x26f6ee,_0x3cde38){const _0x58c0da=a173_0x2787;return _0x58cff7[_0x58c0da(0x1a5)](_0x26f6ee,_0x3cde38);},'QOfBs':_0x58cff7['dZHXy'],'XQjRZ':_0x58cff7[_0x50ac0e(0x1a1)],'sHTsD':function(_0x2b0212,_0xab45bc){const _0x26bd53=_0x50ac0e;return _0x58cff7[_0x26bd53(0x19d)](_0x2b0212,_0xab45bc);},'EABTE':_0x58cff7[_0x50ac0e(0x19c)],'jMnZZ':_0x58cff7['AZmub'],'Svpxj':_0x58cff7[_0x50ac0e(0x16a)],'VSven':function(_0x132cb3){const _0x47d42a=_0x50ac0e;return _0x58cff7[_0x47d42a(0x1b1)](_0x132cb3);},'OxKmv':function(_0x4c2fa5,_0x46a852){const _0x1ff8e8=_0x50ac0e;return _0x58cff7[_0x1ff8e8(0x168)](_0x4c2fa5,_0x46a852);},'HGobb':function(_0x2c593c,_0x20c8f3){return _0x58cff7['UJOEO'](_0x2c593c,_0x20c8f3);},'mlUWf':function(_0x365453,_0x23d67d){const _0x55bf17=_0x50ac0e;return _0x58cff7[_0x55bf17(0x18f)](_0x365453,_0x23d67d);},'AeGiU':function(_0x41cd21){return _0x58cff7['RvxuQ'](_0x41cd21);}};if(_0x2280a9&&_0x2280a9[_0x50ac0e(0x163)]){const _0x1a5ffe=constants['HUB_URL_MAP'][_0x2280a9[_0x50ac0e(0x163)]];if(_0x1a5ffe)return constants['hubUrl']=_0x1a5ffe,logger['debug'](_0x50ac0e(0x189)+_0x1a5ffe),globals[_0x50ac0e(0x1a3)](_0x58cff7['TnsVN'],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x1a5ffe['replace'](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x50ac0e(0x194)]()}),_0x58cff7['RXEtV'](_0x9c186);logger[_0x50ac0e(0x1b4)](_0x50ac0e(0x1c0)+_0x2280a9[_0x50ac0e(0x163)]+_0x50ac0e(0x1a0));}Promise[_0x50ac0e(0x181)](this[_0x50ac0e(0x195)](_0x2280a9))[_0x50ac0e(0x161)](_0x423758=>{const _0x4b1f10=_0x50ac0e,_0x17ba6e={'VdOVd':function(_0x1fa7c1,_0x222a6f){return _0xa07f57['Zhgfq'](_0x1fa7c1,_0x222a6f);},'tsANn':function(_0xf769ae,_0x312f04){const _0x276527=a173_0x2787;return _0xa07f57[_0x276527(0x164)](_0xf769ae,_0x312f04);},'ExyUw':_0xa07f57[_0x4b1f10(0x1b6)],'DJkEz':_0xa07f57[_0x4b1f10(0x196)],'VVpnu':function(_0x465bde,_0x515bfd){const _0x3a17ec=_0x4b1f10;return _0xa07f57[_0x3a17ec(0x1c2)](_0x465bde,_0x515bfd);},'QQlKx':_0xa07f57[_0x4b1f10(0x1ba)],'kbFXs':_0xa07f57[_0x4b1f10(0x1b2)],'czFXs':function(_0x2e27b8,_0x50aca5){const _0x463bc5=_0x4b1f10;return _0xa07f57[_0x463bc5(0x164)](_0x2e27b8,_0x50aca5);},'eDvQL':_0xa07f57[_0x4b1f10(0x17b)],'ZvQXC':function(_0x351f64){return _0xa07f57['VSven'](_0x351f64);},'uCrFd':function(_0x1978a0,_0x296c26){const _0x287893=_0x4b1f10;return _0xa07f57[_0x287893(0x190)](_0x1978a0,_0x296c26);}};logger[_0x4b1f10(0x1b4)](_0x4b1f10(0x1c1)+util['format']('%j',_0x423758));if(_0xa07f57[_0x4b1f10(0x15e)](_0x423758,null)||_0xa07f57[_0x4b1f10(0x1ae)](_0x423758[_0x4b1f10(0x176)],0x0))return _0xa07f57[_0x4b1f10(0x187)](_0x9c186);const _0x215719=_0x423758[_0x4b1f10(0x1bf)](_0x235145=>{const _0x179f64=_0x4b1f10,_0x5cf22c=_0x17ba6e[_0x179f64(0x1c3)](_0x17ba6e[_0x179f64(0x174)],_0x235145);return this['findLatency'](_0x2280a9,_0x5cf22c)[_0x179f64(0x161)](_0x287f15=>{const _0x32ec8f=_0x179f64;if(_0x287f15&&_0x287f15[_0x32ec8f(0x185)]&&_0x17ba6e['VdOVd'](_0x287f15['latency'],undefined)){const _0x584324={};return _0x584324[_0x32ec8f(0x185)]=_0x287f15['hubUrl'],_0x584324[_0x32ec8f(0x1aa)]=_0x287f15['latency'],_0x584324['ok']=!![],_0x584324;}const _0x307416={};return _0x307416['hubUrl']=_0x5cf22c,_0x307416['latency']=null,_0x307416['ok']=![],_0x307416;})[_0x179f64(0x19f)](()=>({'hubUrl':_0x5cf22c,'latency':null,'ok':![]}));});Promise[_0x4b1f10(0x165)](_0x215719[_0x4b1f10(0x1bf)](_0x473c31=>_0x473c31[_0x4b1f10(0x161)](_0x22292c=>_0x22292c['ok']?_0x22292c:null)))[_0x4b1f10(0x161)](_0x3de1fd=>{const _0x364888=_0x4b1f10;if(_0x3de1fd)return _0x3de1fd;return Promise[_0x364888(0x1be)](_0x215719)[_0x364888(0x161)](()=>null);})[_0x4b1f10(0x161)](_0xb0fb53=>{const _0x25dbae=_0x4b1f10,_0x19576a={'REaJO':_0x17ba6e[_0x25dbae(0x171)],'yiVnW':function(_0x4104e1,_0x15b480){const _0x1806c5=_0x25dbae;return _0x17ba6e[_0x1806c5(0x1b7)](_0x4104e1,_0x15b480);},'OrYTA':_0x17ba6e['QQlKx']};if(!_0xb0fb53){logger[_0x25dbae(0x1b4)](_0x17ba6e[_0x25dbae(0x1a2)]);const _0x20612e=_0x17ba6e[_0x25dbae(0x170)](_0x17ba6e['ExyUw'],_0x423758[0x0]);return globals[_0x25dbae(0x1a3)](_0x17ba6e[_0x25dbae(0x171)],{'nearestHubs':_0x423758[_0x25dbae(0x1bf)](_0x30262c=>_0x25dbae(0x180)+_0x30262c),'hubLatencies':{},'selectedHub':_0x20612e,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x25dbae(0x194)]()}),constants['hubUrl']=_0x17ba6e[_0x25dbae(0x1c3)](_0x20612e,_0x17ba6e[_0x25dbae(0x197)]),logger[_0x25dbae(0x1b4)](_0x25dbae(0x17c)+_0x20612e),_0x17ba6e[_0x25dbae(0x1ad)](_0x9c186);}const _0x371c82={[_0xb0fb53[_0x25dbae(0x185)]]:_0xb0fb53[_0x25dbae(0x1aa)]},_0x147da7={'nearestHubs':_0x423758[_0x25dbae(0x1bf)](_0x3df865=>_0x25dbae(0x180)+_0x3df865),'hubLatencies':_0x371c82,'selectedHub':_0xb0fb53[_0x25dbae(0x185)],'selectedHubLatency':_0xb0fb53[_0x25dbae(0x1aa)],'timestamp':Date[_0x25dbae(0x194)]()};globals[_0x25dbae(0x1a3)](_0x17ba6e['DJkEz'],_0x147da7),constants[_0x25dbae(0x185)]=_0x17ba6e[_0x25dbae(0x186)](_0xb0fb53['hubUrl'],_0x17ba6e[_0x25dbae(0x197)]),logger[_0x25dbae(0x1b4)]('HUB\x20URL\x20SET\x20TO\x20-\x20'+_0xb0fb53[_0x25dbae(0x185)]),_0x17ba6e[_0x25dbae(0x1ad)](_0x9c186),Promise[_0x25dbae(0x191)](_0x215719)[_0x25dbae(0x161)](_0xe97547=>{const _0x9d5b01=_0x25dbae;try{const _0x2ae110=globals['getGlobal'](_0x19576a['REaJO']);if(!_0x2ae110||_0x2ae110[_0x9d5b01(0x179)])return;const _0x5bba34={};for(const _0x31b2dc of _0xe97547){_0x19576a[_0x9d5b01(0x1ab)](_0x31b2dc[_0x9d5b01(0x1a6)],_0x19576a[_0x9d5b01(0x1a9)])&&_0x31b2dc[_0x9d5b01(0x184)]&&_0x31b2dc[_0x9d5b01(0x184)]['ok']&&(_0x5bba34[_0x31b2dc[_0x9d5b01(0x184)][_0x9d5b01(0x185)]]=_0x31b2dc['value'][_0x9d5b01(0x1aa)]);}_0x2ae110[_0x9d5b01(0x1b3)]=_0x5bba34;}catch(_0x41125e){logger['debug']('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0x41125e);}})[_0x25dbae(0x19f)](_0x38dc42=>{const _0x32062f=_0x25dbae;logger[_0x32062f(0x1b4)](_0x32062f(0x18d)+_0x38dc42);});})[_0x4b1f10(0x19f)](_0x50bf1d=>{const _0x37fecd=_0x4b1f10;logger['debug'](_0x37fecd(0x1bb)+_0x50bf1d),_0x17ba6e['ZvQXC'](_0x9c186);});})[_0x50ac0e(0x19f)](_0x5ba900=>{const _0x14e712=_0x50ac0e;logger['debug'](_0x14e712(0x1bc)+_0x5ba900),_0xa07f57['VSven'](_0x9c186);});});},exports['findLatency']=async(_0x29d938,_0x221674)=>{const _0x3dfe7f=a173_0x306ba3,_0x3967f={};_0x3967f[_0x3dfe7f(0x1bd)]=_0x3dfe7f(0x192),_0x3967f[_0x3dfe7f(0x16e)]='check',_0x3967f[_0x3dfe7f(0x19b)]=function(_0x5216d8,_0x324ba4){return _0x5216d8-_0x324ba4;};const _0x3813ed=_0x3967f;try{const _0x32e485=new Date();await helper[_0x3dfe7f(0x17d)](_0x3813ed[_0x3dfe7f(0x1bd)],_0x3813ed[_0x3dfe7f(0x16e)],{},_0x29d938,_0x221674,0x1388);const _0x15bfe0=_0x3813ed[_0x3dfe7f(0x19b)](new Date(),_0x32e485);logger[_0x3dfe7f(0x1b4)](_0x3dfe7f(0x1b9)+_0x221674+_0x3dfe7f(0x160)+_0x15bfe0+'ms');const _0xda0929={};return _0xda0929['hubUrl']=_0x221674,_0xda0929['latency']=_0x15bfe0,_0xda0929;}catch(_0x1f624f){return logger[_0x3dfe7f(0x1b4)](_0x3dfe7f(0x1b5)+_0x221674+_0x3dfe7f(0x16d)+_0x1f624f),{};}},exports[a173_0x306ba3(0x195)]=async _0xff5b76=>{const _0x32ca1c=a173_0x306ba3,_0x48265e={'LhOJE':function(_0x5df7df,_0x1f7ded){return _0x5df7df(_0x1f7ded);},'WHHwV':'./bin/utils/constants','RLfym':'/wd/hub','cmwFI':_0x32ca1c(0x192),'niYRA':'next_hubs'};try{const _0x2da8ee=_0x48265e[_0x32ca1c(0x1a8)](require,_0x48265e[_0x32ca1c(0x1a4)])[_0x32ca1c(0x185)][_0x32ca1c(0x19a)](_0x48265e[_0x32ca1c(0x178)],''),_0x32128a=await helper[_0x32ca1c(0x17d)](_0x48265e['cmwFI'],_0x48265e[_0x32ca1c(0x1c6)],{},_0xff5b76,_0x2da8ee,0x1388),_0x39139e=_0x32128a[_0x32ca1c(0x173)];return logger[_0x32ca1c(0x1b4)]('Response:\x20'+util['format']('%j',_0x39139e)),_0x39139e['hubs'];}catch(_0x2e5604){logger[_0x32ca1c(0x1b4)](_0x32ca1c(0x193)+_0x2e5604);}return null;};function a173_0x4cb6(){const _0x6ea765=['NEAREST\x20HUBS\x20LIST:\x20','sHTsD','tsANn','allocateHub','5363622RqGICx','niYRA','tIjMO','HGobb','path','\x20is:\x20','then','./helpers/helper','hubRegion','cofpu','race','delete','1XsbxXx','jBgut','updateHubUrl','TFrra','hash','search','\x20HUB\x20-\x20','rLton','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','czFXs','DJkEz','./helpers/logger','data','ExyUw','1584402zYSKfT','length','hostname','RLfym','skipped','getRequestOptions','Svpxj','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','nodeRequest','5890410NpgSou','5524165rRWSEi','https://','resolve','EfkoD','566562TMiRAo','value','hubUrl','uCrFd','AeGiU','./helpers/globals','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','pathname','2884mKbHbG','consumeHubUrlForSession','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','fulfilled','tadWz','OxKmv','allSettled','GET','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','now','nextHubs','XQjRZ','eDvQL','2286468LTQmyZ','./bin/utils/constants','replace','qGLeP','KqGLc','bxyoQ','winstonLogger','catch','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','TnsVN','kbFXs','setGlobal','WHHwV','KpudR','status','Invalid\x20new\x20HUB\x20URL:\x20','LhOJE','OrYTA','latency','yiVnW','JbZep','ZvQXC','mlUWf','24088DPJmIJ','newHubUrlBySession','RvxuQ','jMnZZ','hubLatencies','debug','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','QOfBs','VVpnu','8YNYnQc','Execution\x20time\x20for\x20','EABTE','ERROR\x20in\x20hub\x20selection:\x20','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','VRhOq','all','map','hubRegion\x20'];a173_0x4cb6=function(){return _0x6ea765;};return a173_0x4cb6();}
|