browserstack-node-sdk 1.60.1 → 1.61.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/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/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/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/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/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.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/timeoutPromise.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 a170_0x4fb6e2=a170_0x1254;(function(_0x5c7508,_0xdbfffd){const _0x84f12d=a170_0x1254,_0x46e5c4=_0x5c7508();while(!![]){try{const _0x1c05f4=parseInt(_0x84f12d(0x1c8))/0x1+-parseInt(_0x84f12d(0x17f))/0x2*(-parseInt(_0x84f12d(0x219))/0x3)+-parseInt(_0x84f12d(0x1ce))/0x4*(-parseInt(_0x84f12d(0x20d))/0x5)+-parseInt(_0x84f12d(0x1e2))/0x6*(-parseInt(_0x84f12d(0x1a3))/0x7)+parseInt(_0x84f12d(0x1d0))/0x8*(-parseInt(_0x84f12d(0x17c))/0x9)+-parseInt(_0x84f12d(0x1db))/0xa*(-parseInt(_0x84f12d(0x1e1))/0xb)+-parseInt(_0x84f12d(0x1b9))/0xc*(parseInt(_0x84f12d(0x1a8))/0xd);if(_0x1c05f4===_0xdbfffd)break;else _0x46e5c4['push'](_0x46e5c4['shift']());}catch(_0x26ca76){_0x46e5c4['push'](_0x46e5c4['shift']());}}}(a170_0x26cf,0xc3452));function a170_0x26cf(){const _0x31fece=['BROWSERSTACK_TESTHUB_JWT','0|1|4|3|2','username','getCentralUser','ERROR','isPercyBuild','accessibilityPlatform','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','yqHtF','accessibility','isAppAutomateSession','FTAKQ','null','tcXZv','uHWAD','CBTSessionCreated','nonBStackInfraA11yChromeOptions','\x20Build\x20creation\x20failed','false','getGlobal','LTWhB','sxqEs','options','name','platforms','isUndefined','jeXIY','isTrue','6525pmaqQR','../test-observability/constants.js','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','2IZryfY','../test-orchestration/orchestrationUtils.js','PLAYWRIGHT','rPRcY','../helper.js','ZjaJe','config','zxLDe','command','xqVxI','clsRZ','HookRunStarted','CBatr','ACCESS_DENIED','forEach','scripts','eQexG','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','split','MOCHA','value','eUPjj','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','get','includes','WrixI','BS_TESTOPS_BUILD_COMPLETED','zKnNg','getProductMap','BS_A11Y_JWT','NHPjV','shouldScanTestForAccessibility','isAccessibilityEnabled','BROWSERSTACK_ACCESSIBILITY','../helper','7QPvwar','isBrowserstackInfra','WtydP','UwiXB','eCFXL','456144sedcCc','env','lYSbP','getFrameworkDetails','BROWSERSTACK_TESTHUB_UUID:\x20','assign','OBSERVABILITY','rsdTn','gnVEP','TEST_REPORTING_ANALYTICS','parseA11yJwtPayload','NVRfX','HookRunFinished','handleErrorForObservability','iIwSd','DEPRECATED','../../bin/jest/test-observability/test-details.js','228OFcXkh','GmRcu','true','INVALID_CREDENTIALS','keys','password','yiGJz','BS_TESTOPS_JWT','PiOHT','join','toUpperCase','ZYlyh','BROWSERSTACK_PERCY','getTestData','GsGbh','701794dRMDFW','errors',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','tuSHt','../logger','CREDENTIALS_FOR_CRASH_REPORTING','4FwXxwa','ylbVm','17208BicxyW','length','uuid','javascript','../ats/helper','6|1|0|3|4|2|5','../../bin/jasmine/testRunMap.js','XpvML','JASMINE','tWbGG','CUCUMBER','140CWxSlW','qhPHb','debug','zfJcI','dRyjR','tDIYc','118888iTatwt','6818778ZXXcrx','build_hashed_id','aaflh','capabilities','pPIvT','stringify','isTurboScaleSession','UgWke','EbzFF','setTestObservabilityVariables','XjMZL','percy','BROWSERSTACK_TESTHUB_UUID','JEST','GLLPS','checkAccessibilityPlatformConfig','BS_TESTOPS_BUILD_HASHED_ID','setTestData','shouldProcessEventForTesthub','logBuildError','tAYbO','commands','test_run','MKgcG','ApAGf','setAccessibilityVariables','WFKUV','error','getTestFrameworkDetails','nZCAb','product_map','../accessibility-automation/helper','getBuildStartData','XDNCd','BS_TESTOPS_ALLOW_SCREENSHOTS','FRAMEWORK_DETAILS','jwt','parse','ACCESSIBILITY','getProductMapForBuildStartCall','bstackA11yShouldScan','../accessibility-automation/scripts.js','EfXks','1889785paHmxD','XFXEQ','allow_screenshots','BROWSERSTACK_TEST_ACCESSIBILITY_YML','commandsToWrap','uploadEventData','parseFromJson','getTestOrchestrationBuildStartData','success','dBheY','wPOEK','setTestHubCommonMetaInfo','1975341WjXdEF','isAccessibilityPlatform','titlePath','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','LogCreated','tags','PSFRt','../../bin/v2/modules/loadTestModule','observability','cQght','2|0|5|3|4|1','setCurrentTestData','TOAjR','handleErrorForAccessibility','../test-observability/utils','winstonLogger'];a170_0x26cf=function(){return _0x31fece;};return a170_0x26cf();}const bsSetupHelper=require(a170_0x4fb6e2(0x1a2)),LoadTestModule=require(a170_0x4fb6e2(0x220)),{isTestObservabilitySession,getFrameworkVersion}=require(a170_0x4fb6e2(0x15e)),accessibilityHelper=require(a170_0x4fb6e2(0x201)),logger=require(a170_0x4fb6e2(0x1cc))[a170_0x4fb6e2(0x15f)],{nestedKeyValue}=require(a170_0x4fb6e2(0x183)),scripts=require(a170_0x4fb6e2(0x20b)),globals=require('../globals.js'),testHubConstants=require('./constants.js'),PWTestDetails=require('../../bin/playwright/reporter/test-details.js'),JestTestDetails=require(a170_0x4fb6e2(0x1b8)),{FRAMEWORKS}=require(a170_0x4fb6e2(0x17d)),{isTurboScaleSession}=require(a170_0x4fb6e2(0x1d4)),OrchestrationUtils=require(a170_0x4fb6e2(0x180)),constants=require('../../bin/utils/constants.js');let testData={};exports[a170_0x4fb6e2(0x19c)]=_0x2f3b4a=>{const _0x35b7b6=a170_0x4fb6e2,_0x50595f={'XFXEQ':function(_0x42348e){return _0x42348e();}};let _0x3aeb88=![],_0x4a165e=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper[_0x35b7b6(0x16a)](_0x2f3b4a))_0x4a165e=!![];else bsSetupHelper[_0x35b7b6(0x1a4)]()&&(_0x3aeb88=!![]);return Object[_0x35b7b6(0x1ad)]({'observability':_0x50595f[_0x35b7b6(0x20e)](isTestObservabilitySession),'accessibility':exports[_0x35b7b6(0x1a0)](_0x2f3b4a),'percy':_0x2f3b4a[_0x35b7b6(0x1ed)]||![],'automate':_0x3aeb88,'app_automate':_0x4a165e,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x2f3b4a),'lts':LoadTestModule['isLTSSession'](_0x2f3b4a)},bsSetupHelper['getCentralUser']());},exports[a170_0x4fb6e2(0x1ab)]=(_0xa53b91,_0x26e634)=>{const _0x3f211f=a170_0x4fb6e2,_0x47ece1={'CEsxP':function(_0x410ffd,_0x2c0f3e){return _0x410ffd(_0x2c0f3e);},'WtydP':_0x3f211f(0x1d3)},_0x4b299b={'frameworkName':_0x26e634,'frameworkVersion':_0x47ece1['CEsxP'](getFrameworkVersion,_0x26e634),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x47ece1[_0x3f211f(0x1a5)],'testFramework':bsSetupHelper[_0x3f211f(0x1fe)](_0xa53b91,_0x26e634)};return process['env'][_0x3f211f(0x205)]=JSON[_0x3f211f(0x1e7)](_0x4b299b),_0x4b299b;},exports['setPercyFlag']=_0x119049=>{const _0x711db1=a170_0x4fb6e2,_0x22acf0={};_0x22acf0[_0x711db1(0x1d9)]=_0x711db1(0x172),_0x22acf0[_0x711db1(0x184)]='true';const _0x3e52a1=_0x22acf0;process[_0x711db1(0x1a9)][_0x711db1(0x1c5)]=_0x3e52a1[_0x711db1(0x1d9)],bsSetupHelper[_0x711db1(0x17b)](_0x119049[_0x711db1(0x185)][_0x711db1(0x1ed)])&&(!_0x119049[_0x711db1(0x1ed)]||!_0x119049[_0x711db1(0x1ed)]['isRunning']())&&(process['env'][_0x711db1(0x1c5)]=_0x3e52a1[_0x711db1(0x184)]);},exports[a170_0x4fb6e2(0x165)]=()=>{return bsSetupHelper['isTrue'](process['env']['BROWSERSTACK_PERCY']);},exports[a170_0x4fb6e2(0x1a0)]=(_0x346af4={})=>{const _0x3b1d99=a170_0x4fb6e2,_0x21e34c={};_0x21e34c['jeXIY']=function(_0x3adf88,_0x611056){return _0x3adf88!==_0x611056;},_0x21e34c[_0x3b1d99(0x1e0)]=function(_0x2d93cd,_0x39b854){return _0x2d93cd===_0x39b854;},_0x21e34c[_0x3b1d99(0x1b6)]=_0x3b1d99(0x1bb),_0x21e34c[_0x3b1d99(0x1e6)]=function(_0x25f3fa,_0x437227){return _0x25f3fa>_0x437227;};const _0x18a7b7=_0x21e34c;if(_0x18a7b7[_0x3b1d99(0x17a)](process['env'][_0x3b1d99(0x1a1)],undefined))return bsSetupHelper[_0x3b1d99(0x17b)](process['env'][_0x3b1d99(0x1a1)]);let _0x38d0ce=_0x18a7b7[_0x3b1d99(0x1e0)](process[_0x3b1d99(0x1a9)][_0x3b1d99(0x210)],_0x18a7b7[_0x3b1d99(0x1b6)]);return _0x18a7b7[_0x3b1d99(0x1e6)](Object[_0x3b1d99(0x1bd)](_0x346af4)[_0x3b1d99(0x1d1)],0x0)&&(process[_0x3b1d99(0x1a9)][_0x3b1d99(0x195)]=accessibilityHelper[_0x3b1d99(0x1f1)](_0x346af4)),_0x38d0ce=_0x38d0ce||_0x18a7b7[_0x3b1d99(0x1e0)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x18a7b7['iIwSd']),_0x38d0ce;},exports[a170_0x4fb6e2(0x1eb)]=(_0x3707bb,_0x5432d2)=>{const _0x1b5b05=a170_0x4fb6e2,_0x5254f3={'uHWAD':function(_0x20e975){return _0x20e975();},'yiGJz':_0x1b5b05(0x223),'rPRcY':_0x1b5b05(0x1bb),'WFKUV':function(_0x95d242,_0x2e4d74,_0x2c96f4){return _0x95d242(_0x2e4d74,_0x2c96f4);},'djGfs':_0x1b5b05(0x221),'PiOHT':_0x1b5b05(0x176)};if(!_0x3707bb||!_0x3707bb['observability'])return exports[_0x1b5b05(0x1b5)](),[null,null,null];if(!_0x3707bb['observability']['success'])return exports[_0x1b5b05(0x1b5)](_0x3707bb[_0x1b5b05(0x221)]),[null,null,null];if(_0x5254f3[_0x1b5b05(0x16e)](isTestObservabilitySession)){const _0x24d142=_0x5254f3[_0x1b5b05(0x1bf)][_0x1b5b05(0x191)]('|');let _0x578640=0x0;while(!![]){switch(_0x24d142[_0x578640++]){case'0':if(_0x3707bb[_0x1b5b05(0x206)]){process[_0x1b5b05(0x1a9)][_0x1b5b05(0x1c0)]=_0x3707bb[_0x1b5b05(0x206)];const _0x31818d={};_0x31818d[_0x1b5b05(0x162)]=_0x5432d2[_0x1b5b05(0x162)],_0x31818d['password']=_0x5432d2[_0x1b5b05(0x1be)],process['env'][_0x1b5b05(0x1cd)]=JSON[_0x1b5b05(0x1e7)](_0x31818d);}continue;case'1':return[_0x3707bb[_0x1b5b05(0x206)],_0x3707bb[_0x1b5b05(0x1e3)],process['env'][_0x1b5b05(0x204)]];case'2':process['env'][_0x1b5b05(0x19a)]=_0x5254f3[_0x1b5b05(0x182)];continue;case'3':_0x5254f3[_0x1b5b05(0x1fc)](nestedKeyValue,_0x3707bb,[_0x5254f3['djGfs'],_0x5254f3[_0x1b5b05(0x1c1)]])&&(process['env'][_0x1b5b05(0x204)]=_0x3707bb['observability']['options'][_0x1b5b05(0x20f)]['toString']());continue;case'4':logger[_0x1b5b05(0x1dd)]('['+constants[_0x1b5b05(0x1b1)]+_0x1b5b05(0x1ca)+_0x3707bb['build_hashed_id']);continue;case'5':_0x3707bb[_0x1b5b05(0x1e3)]&&(process[_0x1b5b05(0x1a9)][_0x1b5b05(0x1f2)]=_0x3707bb['build_hashed_id']);continue;}break;}}return[null,null,null];},exports[a170_0x4fb6e2(0x1fb)]=_0x50f6b6=>{const _0x4f8c2d=a170_0x4fb6e2,_0x32fe1d={'zxLDe':function(_0x17c972,_0x43d471,_0x2f0c0f){return _0x17c972(_0x43d471,_0x2f0c0f);},'dpQlt':_0x4f8c2d(0x169),'TOAjR':_0x4f8c2d(0x176),'sxqEs':function(_0x552cd4,_0x54516e,_0x259d3f,_0x163255){return _0x552cd4(_0x54516e,_0x259d3f,_0x163255);},'nZCAb':'name','zfJcI':_0x4f8c2d(0x193),'yqHtF':function(_0x55c08d,_0x528fc0,_0x248e36,_0x1279ef){return _0x55c08d(_0x528fc0,_0x248e36,_0x1279ef);},'wPOEK':_0x4f8c2d(0x187),'ApAGf':_0x4f8c2d(0x1f7),'lKgEL':_0x4f8c2d(0x170),'tuSHt':'goog:chromeOptions','izOhx':function(_0x16d7c5,_0x33532c){return _0x16d7c5(_0x33532c);},'LjEAW':function(_0x404130,_0x36af9e){return _0x404130===_0x36af9e;},'gnVEP':function(_0x107466,_0x4dbddb){return _0x107466===_0x4dbddb;},'ylbVm':'true','EfXks':_0x4f8c2d(0x190)};if(!_0x50f6b6['accessibility'])return exports[_0x4f8c2d(0x15d)](),[null,null];if(!_0x50f6b6[_0x4f8c2d(0x169)][_0x4f8c2d(0x215)])return exports[_0x4f8c2d(0x15d)](_0x50f6b6[_0x4f8c2d(0x169)]),[null,null];if(_0x32fe1d[_0x4f8c2d(0x186)](nestedKeyValue,_0x50f6b6,[_0x32fe1d['dpQlt'],_0x32fe1d[_0x4f8c2d(0x225)]])){const {accessibilityToken:_0x34aa2b,scannerVersion:_0x411ba2,scannerProcessingTimeout:_0x344ada,isMobileScanningEnabledForGroup:_0x3c33bf}=_0x32fe1d[_0x4f8c2d(0x175)](jsonifyAccessibilityArray,_0x50f6b6[_0x4f8c2d(0x169)][_0x4f8c2d(0x176)][_0x4f8c2d(0x1e5)],_0x32fe1d['nZCAb'],_0x32fe1d['zfJcI']),_0x40110a={'scripts':_0x32fe1d['yqHtF'](jsonifyAccessibilityArray,_0x50f6b6['accessibility'][_0x4f8c2d(0x176)][_0x4f8c2d(0x18e)],_0x32fe1d[_0x4f8c2d(0x1ff)],_0x32fe1d[_0x4f8c2d(0x217)])};_0x40110a[_0x32fe1d[_0x4f8c2d(0x1fa)]]=_0x50f6b6[_0x4f8c2d(0x169)][_0x4f8c2d(0x176)][_0x4f8c2d(0x211)][_0x4f8c2d(0x1f7)];const _0xa2ed3d=_0x32fe1d[_0x4f8c2d(0x168)](jsonifyAccessibilityArray,_0x50f6b6['accessibility']['options']['capabilities'],_0x32fe1d[_0x4f8c2d(0x1ff)],_0x32fe1d[_0x4f8c2d(0x1de)]);_0x40110a[_0x32fe1d['lKgEL']]=_0xa2ed3d[_0x32fe1d[_0x4f8c2d(0x1cb)]],scripts[_0x4f8c2d(0x213)](_0x40110a),scripts['toJson']();let _0xa34fe3=process[_0x4f8c2d(0x1a9)][_0x4f8c2d(0x17e)];_0xa34fe3=!!_0xa34fe3?JSON[_0x4f8c2d(0x207)](_0xa34fe3):{},_0xa34fe3['scannerVersion']=_0x411ba2,process[_0x4f8c2d(0x1a9)][_0x4f8c2d(0x17e)]=JSON[_0x4f8c2d(0x1e7)](_0xa34fe3),process['env'][_0x4f8c2d(0x19d)]=_0x34aa2b,process['env'][_0x4f8c2d(0x21c)]=_0x32fe1d['izOhx'](String,_0x32fe1d['LjEAW'](_0x3c33bf,!![])||_0x32fe1d[_0x4f8c2d(0x1b0)](_0x3c33bf,_0x32fe1d[_0x4f8c2d(0x1cf)])),logger[_0x4f8c2d(0x1dd)](_0x4f8c2d(0x196)+_0x50f6b6[_0x4f8c2d(0x1e3)]);const _0x396b9b=accessibilityHelper[_0x4f8c2d(0x1b2)](_0x34aa2b);return _0x396b9b&&bsSetupHelper[_0x4f8c2d(0x17b)](_0x396b9b['skipCDPConnectOverride'])&&(process[_0x4f8c2d(0x1a9)][_0x4f8c2d(0x167)]=!![],logger[_0x4f8c2d(0x1dd)](_0x32fe1d[_0x4f8c2d(0x20c)])),[_0x34aa2b,_0x50f6b6[_0x4f8c2d(0x1e3)],_0x344ada];}return[null,null];},exports[a170_0x4fb6e2(0x1b5)]=_0x501ddd=>{const _0x3dedeb=a170_0x4fb6e2,_0x8c5aef={};_0x8c5aef[_0x3dedeb(0x18f)]=_0x3dedeb(0x1d5),_0x8c5aef['zKnNg']='false',_0x8c5aef[_0x3dedeb(0x1f6)]=_0x3dedeb(0x16c);const _0x4806a0=_0x8c5aef,_0x40556d=_0x4806a0[_0x3dedeb(0x18f)][_0x3dedeb(0x191)]('|');let _0x5f189d=0x0;while(!![]){switch(_0x40556d[_0x5f189d++]){case'0':process[_0x3dedeb(0x1a9)][_0x3dedeb(0x19a)]=_0x4806a0[_0x3dedeb(0x19b)];continue;case'1':process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x4806a0[_0x3dedeb(0x1f6)];continue;case'2':process[_0x3dedeb(0x1a9)][_0x3dedeb(0x204)]=_0x4806a0[_0x3dedeb(0x1f6)];continue;case'3':process['env']['BS_TESTOPS_JWT']=_0x4806a0['tAYbO'];continue;case'4':process[_0x3dedeb(0x1a9)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x4806a0[_0x3dedeb(0x1f6)];continue;case'5':exports['logBuildError'](_0x501ddd,testHubConstants[_0x3dedeb(0x1ae)]);continue;case'6':process['env'][_0x3dedeb(0x1ee)]=_0x4806a0[_0x3dedeb(0x1f6)];continue;}break;}},exports[a170_0x4fb6e2(0x15d)]=_0x312c01=>{const _0x37f308=a170_0x4fb6e2,_0x29f690={};_0x29f690[_0x37f308(0x1f0)]=_0x37f308(0x161),_0x29f690[_0x37f308(0x1c7)]='null',_0x29f690[_0x37f308(0x1ba)]=_0x37f308(0x172);const _0x43df20=_0x29f690,_0x55fe0e=_0x43df20['GLLPS']['split']('|');let _0x539c7d=0x0;while(!![]){switch(_0x55fe0e[_0x539c7d++]){case'0':process[_0x37f308(0x1a9)][_0x37f308(0x1ee)]=_0x43df20['GsGbh'];continue;case'1':process['env'][_0x37f308(0x160)]=_0x43df20[_0x37f308(0x1c7)];continue;case'2':exports['logBuildError'](_0x312c01,testHubConstants[_0x37f308(0x208)]);continue;case'3':process[_0x37f308(0x1a9)][_0x37f308(0x195)]=_0x43df20['GmRcu'];continue;case'4':process[_0x37f308(0x1a9)][_0x37f308(0x210)]=_0x43df20[_0x37f308(0x1ba)];continue;}break;}},exports[a170_0x4fb6e2(0x1f5)]=(_0x1f0c85,_0x98ddc0='')=>{const _0xd502a8=a170_0x4fb6e2,_0x41c38f={};_0x41c38f['bZVcZ']=function(_0x3e8153,_0x2c2a93){return _0x3e8153===_0x2c2a93;};const _0x376c8d=_0x41c38f;if(_0x376c8d['bZVcZ'](_0x1f0c85,undefined)){logger[_0xd502a8(0x1fd)](_0x98ddc0[_0xd502a8(0x1c3)]()+_0xd502a8(0x171));return;}for(const _0x542e80 of _0x1f0c85[_0xd502a8(0x1c9)]){const _0x3ab80f=_0x542e80['key'],_0x444082=_0x542e80['message'];if(_0x444082)switch(_0x3ab80f){case testHubConstants[_0xd502a8(0x164)][_0xd502a8(0x1bc)]:logger[_0xd502a8(0x1fd)](_0x444082);break;case testHubConstants[_0xd502a8(0x164)][_0xd502a8(0x18c)]:logger['info'](_0x444082);break;case testHubConstants[_0xd502a8(0x164)][_0xd502a8(0x1b7)]:logger[_0xd502a8(0x1fd)](_0x444082);break;default:logger[_0xd502a8(0x1fd)](_0x444082);}}};function a170_0x1254(_0x380e9f,_0xdd5c68){const _0x26cfde=a170_0x26cf();return a170_0x1254=function(_0x125486,_0x5e25f5){_0x125486=_0x125486-0x15d;let _0x41fea9=_0x26cfde[_0x125486];return _0x41fea9;},a170_0x1254(_0x380e9f,_0xdd5c68);}const jsonifyAccessibilityArray=(_0x547ac6,_0x13b9dc,_0x526224)=>{const _0x3c3004=a170_0x4fb6e2,_0x1c6dc1={};return _0x547ac6[_0x3c3004(0x18d)](_0x4d71a0=>{_0x1c6dc1[_0x4d71a0[_0x13b9dc]]=_0x4d71a0[_0x526224];}),_0x1c6dc1;};exports[a170_0x4fb6e2(0x218)]=_0x36556f=>{const _0x1fc503=a170_0x4fb6e2;_0x36556f[_0x1fc503(0x206)]&&(process[_0x1fc503(0x1a9)][_0x1fc503(0x160)]=_0x36556f[_0x1fc503(0x206)]);_0x36556f[_0x1fc503(0x1e3)]&&(process['env'][_0x1fc503(0x1ee)]=_0x36556f[_0x1fc503(0x1e3)],logger[_0x1fc503(0x1dd)](_0x1fc503(0x1ac)+_0x36556f[_0x1fc503(0x1e3)]));;},exports[a170_0x4fb6e2(0x1f4)]=(_0x4b0b79='',_0x32a527='')=>{const _0x14c4a7=a170_0x4fb6e2,_0x126df1={'LTWhB':function(_0x111fa8){return _0x111fa8();},'FTAKQ':function(_0x6e7602,_0x4eadb4){return _0x6e7602===_0x4eadb4;},'NVRfX':_0x14c4a7(0x212),'dBheY':_0x14c4a7(0x21d),'CBatr':_0x14c4a7(0x16f),'XDNCd':_0x14c4a7(0x18a),'EbzFF':_0x14c4a7(0x1b4),'rsdTn':function(_0x4165f3){return _0x4165f3();}};if(exports[_0x14c4a7(0x165)]()&&!exports['isAccessibilityEnabled']()&&!_0x126df1[_0x14c4a7(0x174)](isTestObservabilitySession)){if(_0x126df1[_0x14c4a7(0x16b)](_0x32a527,_0x126df1[_0x14c4a7(0x1b3)]))return![];if([_0x126df1['dBheY'],_0x126df1[_0x14c4a7(0x18b)]][_0x14c4a7(0x198)](_0x4b0b79))return![];return!![];}if(exports[_0x14c4a7(0x1a0)]()&&!_0x126df1['LTWhB'](isTestObservabilitySession)){if([_0x126df1[_0x14c4a7(0x203)],_0x126df1[_0x14c4a7(0x1ea)],_0x126df1[_0x14c4a7(0x216)]][_0x14c4a7(0x198)](_0x4b0b79))return![];return!![];}return exports[_0x14c4a7(0x1a0)]()||_0x126df1[_0x14c4a7(0x1af)](isTestObservabilitySession)||exports[_0x14c4a7(0x165)]();},exports['appendTesthubParams']=(_0x1c4755,_0x4c21d5,_0x53d82f='',_0x1ddf01)=>{const _0x535c46=a170_0x4fb6e2,_0x442fc4={'xgooe':_0x535c46(0x18a),'MHAat':'HookRunFinished','ZYlyh':function(_0xa55011,_0xf3bbc){return _0xa55011===_0xf3bbc;},'XpvML':_0x535c46(0x20a),'clsRZ':_0x535c46(0x21a),'WrixI':_0x535c46(0x169),'aaflh':function(_0x1df61a,_0x5ae5b8){return _0x1df61a&&_0x5ae5b8;},'lYSbP':function(_0x164c92,_0x198404){return _0x164c92+_0x198404;},'MKgcG':function(_0x4f7d26,_0x4d2b7c){return _0x4f7d26+_0x4d2b7c;},'cQght':function(_0x3c1197,_0x56de40){return _0x3c1197&&_0x56de40;},'XjMZL':function(_0x4a0b8c,_0xf3c4ad){return _0x4a0b8c(_0xf3c4ad);},'UwiXB':_0x535c46(0x1d6),'PSFRt':function(_0x3a2f9a,_0x40f523){return _0x3a2f9a+_0x40f523;},'xqVxI':function(_0x2552bb,_0x5da5ff){return _0x2552bb===_0x5da5ff;},'NHPjV':'TestRunStarted','SRqyk':function(_0x325809,_0x9f5961){return _0x325809&&_0x9f5961;},'TnnZm':function(_0x20b821,_0x44667a){return _0x20b821===_0x44667a;},'eUPjj':function(_0x10cb6a,_0x2dcdb3){return _0x10cb6a&&_0x2dcdb3;},'rRrTq':_0x535c46(0x200)};if(![_0x442fc4['xgooe'],_0x442fc4['MHAat']][_0x535c46(0x198)](_0x4c21d5)&&exports[_0x535c46(0x1a0)]()){const _0x5a6c0f={};if(_0x442fc4['ZYlyh'](_0x1ddf01,FRAMEWORKS[_0x535c46(0x192)])){const _0x34e846=globals[_0x535c46(0x173)](_0x442fc4['XpvML'])||accessibilityHelper[_0x535c46(0x19f)](_0x53d82f[_0x535c46(0x21b)](),!![]),_0xe534fb=globals[_0x535c46(0x173)](_0x442fc4[_0x535c46(0x189)]);_0x5a6c0f[_0x442fc4[_0x535c46(0x199)]]=_0x442fc4[_0x535c46(0x1e4)](_0xe534fb,_0x34e846);}if(_0x442fc4[_0x535c46(0x1c4)](_0x1ddf01,FRAMEWORKS[_0x535c46(0x1ef)])){const _0x213024=_0x442fc4[_0x535c46(0x1aa)](_0x442fc4[_0x535c46(0x1f9)](_0x1c4755['scopes'][_0x535c46(0x1c2)]('\x20'),'\x20'),_0x53d82f[_0x535c46(0x177)]),_0x19a30d=globals[_0x535c46(0x173)](_0x442fc4[_0x535c46(0x1d7)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x213024,![]),_0x4f3bb9=browserStackGlobals[_0x535c46(0x21a)];_0x5a6c0f[_0x442fc4['WrixI']]=_0x442fc4[_0x535c46(0x222)](_0x4f3bb9,_0x19a30d);}if(_0x442fc4[_0x535c46(0x1c4)](_0x1ddf01,FRAMEWORKS['JASMINE'])){const _0x3334d6=_0x442fc4[_0x535c46(0x1ec)](require,_0x442fc4[_0x535c46(0x1a6)]),_0x370897=_0x53d82f&&_0x3334d6[_0x535c46(0x197)](_0x53d82f['id'])||_0x1c4755['uuid'];_0x370897&&(_0x1c4755[_0x535c46(0x1d2)]=_0x370897);const _0x311b8e=_0x442fc4[_0x535c46(0x21f)](_0x442fc4[_0x535c46(0x1aa)](_0x1c4755['scopes'][_0x535c46(0x1c2)]('\x20'),'\x20'),_0x53d82f['description']||_0x1c4755['name']),_0x5df7ca=globals['getGlobal'](_0x442fc4['XpvML'])||accessibilityHelper[_0x535c46(0x19f)](_0x311b8e,![]),_0x339c14=globals[_0x535c46(0x173)](_0x442fc4[_0x535c46(0x189)]);_0x5a6c0f[_0x442fc4['WrixI']]=_0x442fc4[_0x535c46(0x222)](_0x339c14,_0x5df7ca);}if(_0x442fc4[_0x535c46(0x1c4)](_0x1ddf01,FRAMEWORKS[_0x535c46(0x181)])){if(_0x442fc4[_0x535c46(0x188)](_0x4c21d5,_0x442fc4[_0x535c46(0x19e)]))return;_0x5a6c0f[_0x442fc4['WrixI']]=PWTestDetails['getAccessibilityPlatformValidation'](_0x1c4755[_0x535c46(0x1d2)]);}if(_0x442fc4[_0x535c46(0x188)](_0x1ddf01,FRAMEWORKS['CODECEPT'])){const _0x2495c5=accessibilityHelper[_0x535c46(0x19f)](_0x53d82f[_0x535c46(0x21b)](),!![]),_0x95ffe5=global[_0x535c46(0x166)];_0x5a6c0f[_0x442fc4[_0x535c46(0x199)]]=_0x442fc4['SRqyk'](_0x95ffe5,_0x2495c5);}if(_0x442fc4['TnnZm'](_0x1ddf01,FRAMEWORKS[_0x535c46(0x1da)])){const _0x28cb85=accessibilityHelper[_0x535c46(0x19f)](null,![],_0x1c4755[_0x535c46(0x21e)]),_0x23b4a4=globals[_0x535c46(0x173)](_0x442fc4[_0x535c46(0x189)]);_0x5a6c0f[_0x442fc4['WrixI']]=_0x442fc4[_0x535c46(0x194)](_0x23b4a4,_0x28cb85);}_0x1c4755[_0x442fc4['rRrTq']]=_0x5a6c0f;}},exports['getCurrentTestData']=_0x205cc9=>{const _0x82c610=a170_0x4fb6e2,_0x40288a={};_0x40288a[_0x82c610(0x1df)]=function(_0xd0c609,_0x53caa0){return _0xd0c609>_0x53caa0;},_0x40288a[_0x82c610(0x16d)]=function(_0x5f26e2,_0x4b462d){return _0x5f26e2>_0x4b462d;};const _0x870463=_0x40288a;let _0x5714c1={};if(_0x870463['dRyjR'](Object[_0x82c610(0x1bd)](testData)[_0x82c610(0x1d1)],0x0))return testData;_0x5714c1=JestTestDetails[_0x82c610(0x1c6)]();if(_0x870463[_0x82c610(0x16d)](Object[_0x82c610(0x1bd)](_0x5714c1)[_0x82c610(0x1d1)],0x0))return _0x5714c1;return _0x5714c1;},exports[a170_0x4fb6e2(0x224)]=(_0x4dd028,_0x5f3935={})=>{const _0x1ee16=a170_0x4fb6e2;if(bsSetupHelper[_0x1ee16(0x179)](_0x5f3935[_0x1ee16(0x1f8)]))return;switch(_0x4dd028){case FRAMEWORKS['MOCHA']:testData=_0x5f3935['test_run'];break;case FRAMEWORKS[_0x1ee16(0x1ef)]:JestTestDetails[_0x1ee16(0x1f3)](_0x5f3935[_0x1ee16(0x1f8)]);break;case FRAMEWORKS[_0x1ee16(0x1d8)]:testData=_0x5f3935[_0x1ee16(0x1f8)];break;default:break;}},exports['getAccessibilityValueFromYml']=_0x2f60be=>{const _0x13488d=a170_0x4fb6e2,_0x1b1f85={};_0x1b1f85[_0x13488d(0x1e9)]=function(_0x1b0102,_0x4c9c83){return _0x1b0102!==_0x4c9c83;},_0x1b1f85['qhPHb']=function(_0x58fbf3,_0x3b6122){return _0x58fbf3!==_0x3b6122;};const _0x9894af=_0x1b1f85;if(_0x9894af[_0x13488d(0x1e9)](_0x2f60be[_0x13488d(0x169)],null)&&_0x9894af[_0x13488d(0x1dc)](_0x2f60be['accessibility'],undefined))return _0x2f60be[_0x13488d(0x169)];let _0x63c01c=![],_0x4d6cfb=![];if(_0x2f60be[_0x13488d(0x178)])for(const _0x4cedea of _0x2f60be[_0x13488d(0x178)]){_0x9894af[_0x13488d(0x1e9)](_0x4cedea[_0x13488d(0x169)],null)&&_0x9894af[_0x13488d(0x1e9)](_0x4cedea[_0x13488d(0x169)],undefined)&&(_0x63c01c=_0x63c01c||bsSetupHelper['isTrue'](_0x4cedea[_0x13488d(0x169)]),_0x4d6cfb=!![]);}if(_0x4d6cfb)return _0x63c01c;return null;},exports[a170_0x4fb6e2(0x214)]=_0xf97fc3=>{const _0x51f0fd=a170_0x4fb6e2;if(!_0xf97fc3)return{};const _0x43c936=new OrchestrationUtils(_0xf97fc3);return _0x43c936[_0x51f0fd(0x202)]();},exports[a170_0x4fb6e2(0x209)]=_0x32b324=>{const _0x23bd51=a170_0x4fb6e2,_0xa4f5b2={'eCFXL':function(_0xe0342d){return _0xe0342d();}};let _0x136cb2=![],_0x4302aa=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper['isAppAutomateSession'](_0x32b324))_0x4302aa=!![];else bsSetupHelper[_0x23bd51(0x1a4)]()&&(_0x136cb2=!![]);return Object['assign']({'observability':_0xa4f5b2[_0x23bd51(0x1a7)](isTestObservabilitySession),'accessibility':exports['getAccessibilityValueFromYml'](_0x32b324),'percy':_0x32b324[_0x23bd51(0x1ed)]||![],'automate':_0x136cb2,'app_automate':_0x4302aa,'turboscale':bsSetupHelper[_0x23bd51(0x1e8)](_0x32b324),'lts':LoadTestModule['isLTSSession'](_0x32b324)},bsSetupHelper[_0x23bd51(0x163)]());};
|
|
1
|
+
function a170_0x482d(_0x9c7c15,_0x3667a4){const _0xafdc92=a170_0xafdc();return a170_0x482d=function(_0x482d40,_0x3a2710){_0x482d40=_0x482d40-0x13a;let _0x19ab6f=_0xafdc92[_0x482d40];return _0x19ab6f;},a170_0x482d(_0x9c7c15,_0x3667a4);}function a170_0xafdc(){const _0x5b2fa9=['Pcdzv','BS_TESTOPS_BUILD_COMPLETED','error','key','uploadEventData','logBuildError','skipCDPConnectOverride','nexyP','env','command','813910QzllpM','iDbKh','getAccessibilityValueFromYml','null','GvALN','isAccessibilityEnabled','qTVFl','QDNfM','isTurboScaleSession','scopes','getCentralUser','HeIRB','isBrowserstackInfra','../../bin/jasmine/testRunMap.js','shouldProcessEventForTesthub','goog:chromeOptions','ErbKa','\x20Build\x20creation\x20failed','../helper.js','isAppAutomateSession','PEGoK','BROWSERSTACK_TESTHUB_UUID:\x20','getFrameworkDetails','debug','stringify','LNced','scripts','xTYxn','CBIlh','name','../helper','LogCreated','6|1|0|3|5|2|4','YHYKC','keys','JBRMY','ZrMzV','BS_TESTOPS_ALLOW_SCREENSHOTS','isPercyBuild','zOXEi','JASMINE','pppuR','../../bin/jest/test-observability/test-details.js','qJIjr','winstonLogger','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','LBDSJ','KiNCm','getBuildStartData','NEcQM','value','../accessibility-automation/scripts.js','isRunning','DEPRECATED','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','CBTSessionCreated','eeWCM','HookRunFinished','tQyaq','parse','isLTSSession','LwBay','../globals.js','scannerVersion','EppBB','jwt','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','Kldhw','../test-observability/constants.js','setPercyFlag','false','Qgixc','split','ERROR','ddUNc','VXqJK','rikqw','285scsjrG','EyxrL','137858goBbxi','isTrue','length','handleErrorForAccessibility','lACwm','XIquA','BS_A11Y_JWT','OIXYn','LvqQI','ACCESS_DENIED','getGlobal','Kmnly','../accessibility-automation/helper','join','titlePath','454260vbuXPb','message','./constants.js','password','forEach','percy','observability','BS_TESTOPS_BUILD_HASHED_ID','MawQF','handleErrorForObservability','FRAMEWORK_DETAILS','getAgentVersion','shouldScanTestForAccessibility','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','../../bin/playwright/reporter/test-details.js','BS_TESTOPS_JWT','parseA11yJwtPayload','checkAccessibilityPlatformConfig','../ats/helper','kgKyw','14368tdIuFL','platforms','YfZHQ','options','UUJnu','isAccessibilityPlatform','BROWSERSTACK_TESTHUB_JWT','BROWSERSTACK_TESTHUB_UUID','107112zzaaBv','BROWSERSTACK_ACCESSIBILITY','assign','CesgD','tQYjn','ENmFV','60JbMVbE','TestRunStarted','392158UtFQfp','AogHd','PLAYWRIGHT','nonBStackInfraA11yChromeOptions','GCBul','MWIzD','1877304kZQBIq','dTFCd','getTestFrameworkDetails','setAccessibilityVariables','HookRunStarted','4|2|0|1|5|3','vcNvR','test_run','MOCHA',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','uuid','AmbrZ','rnMal','getTestOrchestrationBuildStartData','includes','setTestData','product_map','zvjVs','toJson','27GKGviT','TEST_REPORTING_ANALYTICS','OJbMN','setCurrentTestData','BROWSERSTACK_TEST_ACCESSIBILITY_YML','accessibility','capabilities','get','oScwR','config','toString','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','true','getProductMap','appendTesthubParams','2|1|0|4|3','getAccessibilityPlatformValidation','../test-orchestration/orchestrationUtils.js','../../bin/v2/modules/loadTestModule','commands','RqawP','hPdzF','64djkLvv','build_hashed_id','getCurrentTestData'];a170_0xafdc=function(){return _0x5b2fa9;};return a170_0xafdc();}const a170_0xcf165d=a170_0x482d;(function(_0x4bb651,_0x23d81a){const _0x32571b=a170_0x482d,_0xd3a204=_0x4bb651();while(!![]){try{const _0x1e23a5=-parseInt(_0x32571b(0x184))/0x1+-parseInt(_0x32571b(0x1c0))/0x2+parseInt(_0x32571b(0x14f))/0x3*(parseInt(_0x32571b(0x174))/0x4)+-parseInt(_0x32571b(0x182))/0x5*(-parseInt(_0x32571b(0x17c))/0x6)+-parseInt(_0x32571b(0x151))/0x7*(-parseInt(_0x32571b(0x1b3))/0x8)+-parseInt(_0x32571b(0x19d))/0x9*(-parseInt(_0x32571b(0x160))/0xa)+parseInt(_0x32571b(0x18a))/0xb;if(_0x1e23a5===_0x23d81a)break;else _0xd3a204['push'](_0xd3a204['shift']());}catch(_0xe8c340){_0xd3a204['push'](_0xd3a204['shift']());}}}(a170_0xafdc,0x35ead));const bsSetupHelper=require(a170_0xcf165d(0x1de)),LoadTestModule=require(a170_0xcf165d(0x1af)),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require(a170_0xcf165d(0x15d)),logger=require('../logger')[a170_0xcf165d(0x1ec)],{nestedKeyValue}=require(a170_0xcf165d(0x1d2)),scripts=require(a170_0xcf165d(0x1f3)),globals=require(a170_0xcf165d(0x13f)),testHubConstants=require(a170_0xcf165d(0x162)),PWTestDetails=require(a170_0xcf165d(0x16e)),JestTestDetails=require(a170_0xcf165d(0x1ea)),{FRAMEWORKS}=require(a170_0xcf165d(0x146)),{isTurboScaleSession}=require(a170_0xcf165d(0x172)),OrchestrationUtils=require(a170_0xcf165d(0x1ae)),constants=require('../../bin/utils/constants.js');let testData={};exports[a170_0xcf165d(0x1aa)]=_0x59dc9b=>{const _0x49f56a=a170_0xcf165d,_0xfff887={'VvdgT':function(_0x3e4047){return _0x3e4047();}};let _0x211245=![],_0x420ba4=![];if(bsSetupHelper[_0x49f56a(0x1cc)]()&&bsSetupHelper[_0x49f56a(0x1d3)](_0x59dc9b))_0x420ba4=!![];else bsSetupHelper[_0x49f56a(0x1cc)]()&&(_0x211245=!![]);return Object[_0x49f56a(0x17e)]({'observability':_0xfff887['VvdgT'](isTestObservabilitySession),'accessibility':exports['isAccessibilityEnabled'](_0x59dc9b),'percy':_0x59dc9b['percy']||![],'automate':_0x211245,'app_automate':_0x420ba4,'turboscale':bsSetupHelper[_0x49f56a(0x1c8)](_0x59dc9b),'lts':LoadTestModule['isLTSSession'](_0x59dc9b)},bsSetupHelper[_0x49f56a(0x1ca)]());},exports[a170_0xcf165d(0x1d6)]=(_0x11166f,_0x272b38)=>{const _0x226abd=a170_0xcf165d,_0x13c2f7={'oDPTu':function(_0x243781,_0x529a5a){return _0x243781(_0x529a5a);},'LNced':'javascript'},_0x3321e9={'frameworkName':_0x272b38,'frameworkVersion':_0x13c2f7['oDPTu'](getFrameworkVersion,_0x272b38),'sdkVersion':bsSetupHelper[_0x226abd(0x16b)](),'language':_0x13c2f7[_0x226abd(0x1d9)],'testFramework':bsSetupHelper[_0x226abd(0x18c)](_0x11166f,_0x272b38)};return process[_0x226abd(0x1be)][_0x226abd(0x16a)]=JSON[_0x226abd(0x1d8)](_0x3321e9),_0x3321e9;},exports[a170_0xcf165d(0x147)]=_0x5d108c=>{const _0x6706ae=a170_0xcf165d,_0x559a6f={};_0x559a6f['wptrQ']='false',_0x559a6f[_0x6706ae(0x1dc)]=_0x6706ae(0x1a9);const _0xbb3ba7=_0x559a6f;process[_0x6706ae(0x1be)]['BROWSERSTACK_PERCY']=_0xbb3ba7['wptrQ'],bsSetupHelper[_0x6706ae(0x152)](_0x5d108c[_0x6706ae(0x1a6)][_0x6706ae(0x165)])&&(!_0x5d108c['percy']||!_0x5d108c[_0x6706ae(0x165)][_0x6706ae(0x1f4)]())&&(process['env']['BROWSERSTACK_PERCY']=_0xbb3ba7['CBIlh']);},exports[a170_0xcf165d(0x1e6)]=()=>{const _0x1b7aca=a170_0xcf165d;return bsSetupHelper['isTrue'](process[_0x1b7aca(0x1be)]['BROWSERSTACK_PERCY']);},exports['isAccessibilityEnabled']=(_0x3d114b={})=>{const _0x535ae0=a170_0xcf165d,_0x23440f={};_0x23440f['eeWCM']=function(_0x105650,_0xfff94f){return _0x105650!==_0xfff94f;},_0x23440f['rikqw']=function(_0x5c12a8,_0x4c7158){return _0x5c12a8===_0x4c7158;},_0x23440f[_0x535ae0(0x18b)]=_0x535ae0(0x1a9),_0x23440f[_0x535ae0(0x189)]=function(_0x545632,_0x45d3c6){return _0x545632>_0x45d3c6;},_0x23440f['QUNfy']=function(_0x418b88,_0x1bd4e3){return _0x418b88===_0x1bd4e3;};const _0x40b6aa=_0x23440f;if(_0x40b6aa[_0x535ae0(0x1f8)](process[_0x535ae0(0x1be)][_0x535ae0(0x17d)],undefined))return bsSetupHelper[_0x535ae0(0x152)](process[_0x535ae0(0x1be)][_0x535ae0(0x17d)]);let _0x352a7d=_0x40b6aa[_0x535ae0(0x14e)](process['env'][_0x535ae0(0x1a1)],_0x40b6aa[_0x535ae0(0x18b)]);return _0x40b6aa['MWIzD'](Object[_0x535ae0(0x1e2)](_0x3d114b)[_0x535ae0(0x153)],0x0)&&(process[_0x535ae0(0x1be)][_0x535ae0(0x16d)]=accessibilityHelper[_0x535ae0(0x171)](_0x3d114b)),_0x352a7d=_0x352a7d||_0x40b6aa['QUNfy'](process[_0x535ae0(0x1be)][_0x535ae0(0x16d)],_0x40b6aa[_0x535ae0(0x18b)]),_0x352a7d;},exports['setTestObservabilityVariables']=(_0x175df8,_0x39b12a)=>{const _0x488aa8=a170_0xcf165d,_0x5bc480={'AogHd':function(_0x4188dd){return _0x4188dd();},'KiNCm':_0x488aa8(0x18f),'QDNfM':function(_0x3bc090,_0x4a7f9b,_0x239e4b){return _0x3bc090(_0x4a7f9b,_0x239e4b);},'EppBB':_0x488aa8(0x166),'EyxrL':_0x488aa8(0x177),'tQYjn':_0x488aa8(0x1a9)};if(!_0x175df8||!_0x175df8['observability'])return exports[_0x488aa8(0x169)](),[null,null,null];if(!_0x175df8[_0x488aa8(0x166)]['success'])return exports['handleErrorForObservability'](_0x175df8['observability']),[null,null,null];if(_0x5bc480[_0x488aa8(0x185)](isTestObservabilitySession)){const _0x16a334=_0x5bc480[_0x488aa8(0x1ef)][_0x488aa8(0x14a)]('|');let _0x5aa9de=0x0;while(!![]){switch(_0x16a334[_0x5aa9de++]){case'0':_0x175df8[_0x488aa8(0x1b4)]&&(process[_0x488aa8(0x1be)][_0x488aa8(0x167)]=_0x175df8['build_hashed_id']);continue;case'1':_0x5bc480[_0x488aa8(0x1c7)](nestedKeyValue,_0x175df8,[_0x5bc480[_0x488aa8(0x141)],_0x5bc480[_0x488aa8(0x150)]])&&(process[_0x488aa8(0x1be)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x175df8[_0x488aa8(0x166)][_0x488aa8(0x177)]['allow_screenshots'][_0x488aa8(0x1a7)]());continue;case'2':if(_0x175df8['jwt']){process['env']['BS_TESTOPS_JWT']=_0x175df8['jwt'];const _0x3a91da={};_0x3a91da['username']=_0x39b12a['username'],_0x3a91da['password']=_0x39b12a[_0x488aa8(0x163)],process[_0x488aa8(0x1be)]['CREDENTIALS_FOR_CRASH_REPORTING']=JSON[_0x488aa8(0x1d8)](_0x3a91da);}continue;case'3':return[_0x175df8[_0x488aa8(0x142)],_0x175df8[_0x488aa8(0x1b4)],process['env'][_0x488aa8(0x1e5)]];case'4':process['env'][_0x488aa8(0x1b7)]=_0x5bc480[_0x488aa8(0x180)];continue;case'5':logger[_0x488aa8(0x1d7)]('['+constants[_0x488aa8(0x19e)]+_0x488aa8(0x193)+_0x175df8['build_hashed_id']);continue;}break;}}return[null,null,null];},exports[a170_0xcf165d(0x18d)]=_0x435aee=>{const _0xaa043f=a170_0xcf165d,_0x465254={'oScwR':function(_0x2dfd72,_0x3b009a,_0x519f1a){return _0x2dfd72(_0x3b009a,_0x519f1a);},'LvqQI':_0xaa043f(0x1a2),'AAWhe':_0xaa043f(0x177),'Kldhw':function(_0x5ed034,_0x350131,_0x2d5ca3,_0x6b7a35){return _0x5ed034(_0x350131,_0x2d5ca3,_0x6b7a35);},'UUJnu':'name','nexyP':_0xaa043f(0x1f2),'qTVFl':_0xaa043f(0x1bf),'ddUNc':_0xaa043f(0x1b0),'zsAkY':_0xaa043f(0x187),'kgKyw':_0xaa043f(0x1cf),'LBDSJ':function(_0x4d7bea,_0x197564){return _0x4d7bea(_0x197564);},'AmbrZ':function(_0x314201,_0x286a16){return _0x314201===_0x286a16;},'NfCST':_0xaa043f(0x1a9),'pppuR':_0xaa043f(0x143)};if(!_0x435aee[_0xaa043f(0x1a2)])return exports[_0xaa043f(0x154)](),[null,null];if(!_0x435aee['accessibility']['success'])return exports[_0xaa043f(0x154)](_0x435aee[_0xaa043f(0x1a2)]),[null,null];if(_0x465254[_0xaa043f(0x1a5)](nestedKeyValue,_0x435aee,[_0x465254[_0xaa043f(0x159)],_0x465254['AAWhe']])){const {accessibilityToken:_0x4a2df9,scannerVersion:_0x192ea7,scannerProcessingTimeout:_0x55964e,isMobileScanningEnabledForGroup:_0x1a1558}=_0x465254['Kldhw'](jsonifyAccessibilityArray,_0x435aee[_0xaa043f(0x1a2)][_0xaa043f(0x177)][_0xaa043f(0x1a3)],_0x465254[_0xaa043f(0x178)],_0x465254[_0xaa043f(0x1bd)]),_0x302180={'scripts':_0x465254[_0xaa043f(0x145)](jsonifyAccessibilityArray,_0x435aee[_0xaa043f(0x1a2)][_0xaa043f(0x177)][_0xaa043f(0x1da)],_0x465254['UUJnu'],_0x465254[_0xaa043f(0x1c6)])};_0x302180[_0x465254[_0xaa043f(0x14c)]]=_0x435aee[_0xaa043f(0x1a2)][_0xaa043f(0x177)]['commandsToWrap'][_0xaa043f(0x1b0)];const _0x571cdd=_0x465254['Kldhw'](jsonifyAccessibilityArray,_0x435aee[_0xaa043f(0x1a2)][_0xaa043f(0x177)][_0xaa043f(0x1a3)],_0x465254[_0xaa043f(0x178)],_0x465254['nexyP']);_0x302180[_0x465254['zsAkY']]=_0x571cdd[_0x465254[_0xaa043f(0x173)]],scripts['parseFromJson'](_0x302180),scripts[_0xaa043f(0x19c)]();let _0x5d316c=process[_0xaa043f(0x1be)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];_0x5d316c=!!_0x5d316c?JSON[_0xaa043f(0x13c)](_0x5d316c):{},_0x5d316c[_0xaa043f(0x140)]=_0x192ea7,process['env'][_0xaa043f(0x1ed)]=JSON['stringify'](_0x5d316c),process[_0xaa043f(0x1be)][_0xaa043f(0x157)]=_0x4a2df9,process[_0xaa043f(0x1be)][_0xaa043f(0x1a8)]=_0x465254[_0xaa043f(0x1ee)](String,_0x465254['AmbrZ'](_0x1a1558,!![])||_0x465254[_0xaa043f(0x195)](_0x1a1558,_0x465254['NfCST'])),logger[_0xaa043f(0x1d7)](_0xaa043f(0x144)+_0x435aee[_0xaa043f(0x1b4)]);const _0x2cf67c=accessibilityHelper[_0xaa043f(0x170)](_0x4a2df9);return _0x2cf67c&&bsSetupHelper[_0xaa043f(0x152)](_0x2cf67c[_0xaa043f(0x1bc)])&&(process[_0xaa043f(0x1be)][_0xaa043f(0x1f6)]=!![],logger[_0xaa043f(0x1d7)](_0x465254[_0xaa043f(0x1e9)])),[_0x4a2df9,_0x435aee[_0xaa043f(0x1b4)],_0x55964e];}return[null,null];},exports['handleErrorForObservability']=_0x55442e=>{const _0x1d0d5a=a170_0xcf165d,_0x387c7e={};_0x387c7e[_0x1d0d5a(0x13b)]=_0x1d0d5a(0x1e0),_0x387c7e['XIquA']=_0x1d0d5a(0x148),_0x387c7e['YfZHQ']=_0x1d0d5a(0x1c3);const _0x239e5c=_0x387c7e,_0x527191=_0x239e5c[_0x1d0d5a(0x13b)][_0x1d0d5a(0x14a)]('|');let _0x54ed98=0x0;while(!![]){switch(_0x527191[_0x54ed98++]){case'0':process[_0x1d0d5a(0x1be)]['BS_TESTOPS_BUILD_COMPLETED']=_0x239e5c[_0x1d0d5a(0x156)];continue;case'1':process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x239e5c[_0x1d0d5a(0x176)];continue;case'2':process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x239e5c[_0x1d0d5a(0x176)];continue;case'3':process[_0x1d0d5a(0x1be)][_0x1d0d5a(0x16f)]=_0x239e5c[_0x1d0d5a(0x176)];continue;case'4':exports[_0x1d0d5a(0x1bb)](_0x55442e,testHubConstants['OBSERVABILITY']);continue;case'5':process[_0x1d0d5a(0x1be)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x239e5c['YfZHQ'];continue;case'6':process[_0x1d0d5a(0x1be)]['BROWSERSTACK_TESTHUB_UUID']=_0x239e5c[_0x1d0d5a(0x176)];continue;}break;}},exports[a170_0xcf165d(0x154)]=_0x335b0e=>{const _0x560e94=a170_0xcf165d,_0x5b3f97={};_0x5b3f97[_0x560e94(0x188)]=_0x560e94(0x1ac),_0x5b3f97[_0x560e94(0x1f1)]=_0x560e94(0x148),_0x5b3f97[_0x560e94(0x168)]=_0x560e94(0x1c3);const _0x228c32=_0x5b3f97,_0x417a60=_0x228c32['GCBul']['split']('|');let _0x2a11bc=0x0;while(!![]){switch(_0x417a60[_0x2a11bc++]){case'0':process[_0x560e94(0x1be)][_0x560e94(0x1a1)]=_0x228c32[_0x560e94(0x1f1)];continue;case'1':process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x228c32[_0x560e94(0x168)];continue;case'2':process[_0x560e94(0x1be)][_0x560e94(0x17b)]=_0x228c32[_0x560e94(0x168)];continue;case'3':exports[_0x560e94(0x1bb)](_0x335b0e,testHubConstants['ACCESSIBILITY']);continue;case'4':process[_0x560e94(0x1be)][_0x560e94(0x16d)]=_0x228c32[_0x560e94(0x1f1)];continue;}break;}},exports[a170_0xcf165d(0x1bb)]=(_0x91235,_0x5868ec='')=>{const _0x53b673=a170_0xcf165d,_0xad7b46={};_0xad7b46[_0x53b673(0x17f)]=function(_0x75f46f,_0x4c066a){return _0x75f46f===_0x4c066a;};const _0x5e22e4=_0xad7b46;if(_0x5e22e4[_0x53b673(0x17f)](_0x91235,undefined)){logger['error'](_0x5868ec['toUpperCase']()+_0x53b673(0x1d1));return;}for(const _0xe84efa of _0x91235['errors']){const _0x1b34bd=_0xe84efa[_0x53b673(0x1b9)],_0x5b2e10=_0xe84efa[_0x53b673(0x161)];if(_0x5b2e10)switch(_0x1b34bd){case testHubConstants[_0x53b673(0x14b)]['INVALID_CREDENTIALS']:logger[_0x53b673(0x1b8)](_0x5b2e10);break;case testHubConstants[_0x53b673(0x14b)][_0x53b673(0x15a)]:logger['info'](_0x5b2e10);break;case testHubConstants[_0x53b673(0x14b)][_0x53b673(0x1f5)]:logger['error'](_0x5b2e10);break;default:logger[_0x53b673(0x1b8)](_0x5b2e10);}}};const jsonifyAccessibilityArray=(_0x4c0efe,_0x56971c,_0xfc6449)=>{const _0x2220d4=a170_0xcf165d,_0x10e161={};return _0x4c0efe[_0x2220d4(0x164)](_0x1f13ed=>{_0x10e161[_0x1f13ed[_0x56971c]]=_0x1f13ed[_0xfc6449];}),_0x10e161;};exports['setTestHubCommonMetaInfo']=_0x175e7f=>{const _0x2a275d=a170_0xcf165d;_0x175e7f['jwt']&&(process[_0x2a275d(0x1be)][_0x2a275d(0x17a)]=_0x175e7f[_0x2a275d(0x142)]);_0x175e7f[_0x2a275d(0x1b4)]&&(process['env'][_0x2a275d(0x17b)]=_0x175e7f[_0x2a275d(0x1b4)],logger['debug'](_0x2a275d(0x1d5)+_0x175e7f[_0x2a275d(0x1b4)]));;},exports[a170_0xcf165d(0x1ce)]=(_0x2a5c1b='',_0xb13d9='')=>{const _0x348107=a170_0xcf165d,_0x130d0a={'ENmFV':function(_0x2b3e05){return _0x2b3e05();},'qJIjr':function(_0x3a0f09,_0x4c2f53){return _0x3a0f09===_0x4c2f53;},'GvALN':_0x348107(0x1ba),'OIXYn':_0x348107(0x1df),'zvjVs':_0x348107(0x1f7),'TbPFs':'HookRunStarted','LwBay':_0x348107(0x13a)};if(exports['isPercyBuild']()&&!exports[_0x348107(0x1c5)]()&&!_0x130d0a[_0x348107(0x181)](isTestObservabilitySession)){if(_0x130d0a[_0x348107(0x1eb)](_0xb13d9,_0x130d0a[_0x348107(0x1c4)]))return![];if([_0x130d0a[_0x348107(0x158)],_0x130d0a[_0x348107(0x19b)]][_0x348107(0x198)](_0x2a5c1b))return![];return!![];}if(exports[_0x348107(0x1c5)]()&&!_0x130d0a['ENmFV'](isTestObservabilitySession)){if([_0x130d0a['TbPFs'],_0x130d0a[_0x348107(0x13e)],_0x130d0a[_0x348107(0x158)]][_0x348107(0x198)](_0x2a5c1b))return![];return!![];}return exports[_0x348107(0x1c5)]()||_0x130d0a[_0x348107(0x181)](isTestObservabilitySession)||exports['isPercyBuild']();},exports[a170_0xcf165d(0x1ab)]=(_0x3e2f9a,_0x15623f,_0x2efe7c='',_0x59754b)=>{const _0x331960=a170_0xcf165d,_0x16dfb6={'LIwHv':_0x331960(0x18e),'rnMal':_0x331960(0x13a),'lACwm':function(_0x4d11fa,_0x58f1b8){return _0x4d11fa===_0x58f1b8;},'ErbKa':'bstackA11yShouldScan','Qgixc':_0x331960(0x179),'YHYKC':_0x331960(0x1a2),'iDbKh':function(_0x482f69,_0xb09216){return _0x482f69&&_0xb09216;},'Pcdzv':function(_0x1f0501,_0x51d405){return _0x1f0501+_0x51d405;},'HeIRB':function(_0x55134f,_0x32f8a8){return _0x55134f+_0x32f8a8;},'JBRMY':function(_0x3dab4c,_0x145a78){return _0x3dab4c(_0x145a78);},'pGOgc':_0x331960(0x1cd),'Ndffh':function(_0x56c30c,_0xccefdc){return _0x56c30c+_0xccefdc;},'VXqJK':function(_0x4ff091,_0x37f959){return _0x4ff091&&_0x37f959;},'Kmnly':function(_0x195ad1,_0x3379ee){return _0x195ad1===_0x3379ee;},'PEGoK':_0x331960(0x183),'AAgVk':function(_0x51e2c9,_0xd088d0){return _0x51e2c9===_0xd088d0;},'hPdzF':function(_0x25a972,_0xb07cf3){return _0x25a972&&_0xb07cf3;},'vcNvR':function(_0x4ae81e,_0x2cebe1){return _0x4ae81e===_0x2cebe1;},'OJbMN':_0x331960(0x19a)};if(![_0x16dfb6['LIwHv'],_0x16dfb6[_0x331960(0x196)]][_0x331960(0x198)](_0x15623f)&&exports['isAccessibilityEnabled']()){const _0x137369={};if(_0x16dfb6[_0x331960(0x155)](_0x59754b,FRAMEWORKS['MOCHA'])){const _0x565d3c=globals[_0x331960(0x15b)](_0x16dfb6[_0x331960(0x1d0)])||accessibilityHelper[_0x331960(0x16c)](_0x2efe7c[_0x331960(0x15f)](),!![]),_0x28a4ea=globals[_0x331960(0x15b)](_0x16dfb6['Qgixc']);_0x137369[_0x16dfb6['YHYKC']]=_0x16dfb6['iDbKh'](_0x28a4ea,_0x565d3c);}if(_0x16dfb6[_0x331960(0x155)](_0x59754b,FRAMEWORKS['JEST'])){const _0x25dcc9=_0x16dfb6[_0x331960(0x1b6)](_0x16dfb6['HeIRB'](_0x3e2f9a[_0x331960(0x1c9)]['join']('\x20'),'\x20'),_0x2efe7c['name']),_0x5a14e7=globals[_0x331960(0x15b)](_0x16dfb6['ErbKa'])||accessibilityHelper['shouldScanTestForAccessibility'](_0x25dcc9,![]),_0x1713c1=browserStackGlobals[_0x331960(0x179)];_0x137369[_0x16dfb6[_0x331960(0x1e1)]]=_0x16dfb6[_0x331960(0x1c1)](_0x1713c1,_0x5a14e7);}if(_0x16dfb6['lACwm'](_0x59754b,FRAMEWORKS[_0x331960(0x1e8)])){const _0x547472=_0x16dfb6[_0x331960(0x1e3)](require,_0x16dfb6['pGOgc']),_0x60523f=_0x2efe7c&&_0x547472[_0x331960(0x1a4)](_0x2efe7c['id'])||_0x3e2f9a['uuid'];_0x60523f&&(_0x3e2f9a[_0x331960(0x194)]=_0x60523f);const _0x23cebd=_0x16dfb6[_0x331960(0x1cb)](_0x16dfb6['Ndffh'](_0x3e2f9a[_0x331960(0x1c9)][_0x331960(0x15e)]('\x20'),'\x20'),_0x2efe7c['description']||_0x3e2f9a[_0x331960(0x1dd)]),_0x45083c=globals[_0x331960(0x15b)](_0x16dfb6[_0x331960(0x1d0)])||accessibilityHelper[_0x331960(0x16c)](_0x23cebd,![]),_0x4f02ea=globals[_0x331960(0x15b)](_0x16dfb6['Qgixc']);_0x137369[_0x16dfb6[_0x331960(0x1e1)]]=_0x16dfb6[_0x331960(0x14d)](_0x4f02ea,_0x45083c);}if(_0x16dfb6['lACwm'](_0x59754b,FRAMEWORKS[_0x331960(0x186)])){if(_0x16dfb6[_0x331960(0x15c)](_0x15623f,_0x16dfb6[_0x331960(0x1d4)]))return;_0x137369[_0x16dfb6[_0x331960(0x1e1)]]=PWTestDetails[_0x331960(0x1ad)](_0x3e2f9a[_0x331960(0x194)]);}if(_0x16dfb6['AAgVk'](_0x59754b,FRAMEWORKS['CODECEPT'])){const _0x45a148=accessibilityHelper['shouldScanTestForAccessibility'](_0x2efe7c[_0x331960(0x15f)](),!![]),_0x31b5c7=global['accessibilityPlatform'];_0x137369[_0x16dfb6['YHYKC']]=_0x16dfb6[_0x331960(0x1b2)](_0x31b5c7,_0x45a148);}if(_0x16dfb6[_0x331960(0x190)](_0x59754b,FRAMEWORKS['CUCUMBER'])){const _0x18bde4=accessibilityHelper[_0x331960(0x16c)](null,![],_0x3e2f9a['tags']),_0x48465b=globals[_0x331960(0x15b)](_0x16dfb6[_0x331960(0x149)]);_0x137369[_0x16dfb6['YHYKC']]=_0x16dfb6[_0x331960(0x14d)](_0x48465b,_0x18bde4);}_0x3e2f9a[_0x16dfb6[_0x331960(0x19f)]]=_0x137369;}},exports[a170_0xcf165d(0x1b5)]=_0x3cbd28=>{const _0x3c2f7c=a170_0xcf165d,_0x4407c6={};_0x4407c6[_0x3c2f7c(0x1e7)]=function(_0x4188e8,_0x4b814f){return _0x4188e8>_0x4b814f;};const _0x531925=_0x4407c6;let _0x522005={};if(_0x531925[_0x3c2f7c(0x1e7)](Object[_0x3c2f7c(0x1e2)](testData)['length'],0x0))return testData;_0x522005=JestTestDetails['getTestData']();if(_0x531925[_0x3c2f7c(0x1e7)](Object['keys'](_0x522005)[_0x3c2f7c(0x153)],0x0))return _0x522005;return _0x522005;},exports[a170_0xcf165d(0x1a0)]=(_0x3480e7,_0x36abb1={})=>{const _0x19689c=a170_0xcf165d;if(bsSetupHelper['isUndefined'](_0x36abb1[_0x19689c(0x191)]))return;switch(_0x3480e7){case FRAMEWORKS[_0x19689c(0x192)]:testData=_0x36abb1[_0x19689c(0x191)];break;case FRAMEWORKS['JEST']:JestTestDetails[_0x19689c(0x199)](_0x36abb1[_0x19689c(0x191)]);break;case FRAMEWORKS['JASMINE']:testData=_0x36abb1[_0x19689c(0x191)];break;default:break;}},exports[a170_0xcf165d(0x1c2)]=_0x1b0cd3=>{const _0x4230dc=a170_0xcf165d,_0x286a94={};_0x286a94[_0x4230dc(0x1b1)]=function(_0xe4e6fc,_0x7a0446){return _0xe4e6fc!==_0x7a0446;},_0x286a94[_0x4230dc(0x1db)]=function(_0x31c1f0,_0x39ace0){return _0x31c1f0!==_0x39ace0;};const _0x2d791e=_0x286a94;if(_0x2d791e[_0x4230dc(0x1b1)](_0x1b0cd3['accessibility'],null)&&_0x2d791e[_0x4230dc(0x1b1)](_0x1b0cd3[_0x4230dc(0x1a2)],undefined))return _0x1b0cd3[_0x4230dc(0x1a2)];let _0x52b773=![],_0x41453f=![];if(_0x1b0cd3[_0x4230dc(0x175)])for(const _0x527349 of _0x1b0cd3[_0x4230dc(0x175)]){_0x2d791e[_0x4230dc(0x1b1)](_0x527349[_0x4230dc(0x1a2)],null)&&_0x2d791e[_0x4230dc(0x1db)](_0x527349['accessibility'],undefined)&&(_0x52b773=_0x52b773||bsSetupHelper[_0x4230dc(0x152)](_0x527349[_0x4230dc(0x1a2)]),_0x41453f=!![]);}if(_0x41453f)return _0x52b773;return null;},exports[a170_0xcf165d(0x197)]=_0xdbabf3=>{const _0x3c4723=a170_0xcf165d;if(!_0xdbabf3)return{};const _0x566a26=new OrchestrationUtils(_0xdbabf3);return _0x566a26[_0x3c4723(0x1f0)]();},exports['getProductMapForBuildStartCall']=_0x15c643=>{const _0x44fa50=a170_0xcf165d,_0x9ab841={'ZrMzV':function(_0x5a8230){return _0x5a8230();}};let _0x4262f2=![],_0x204605=![];if(bsSetupHelper[_0x44fa50(0x1cc)]()&&bsSetupHelper[_0x44fa50(0x1d3)](_0x15c643))_0x204605=!![];else bsSetupHelper[_0x44fa50(0x1cc)]()&&(_0x4262f2=!![]);return Object['assign']({'observability':_0x9ab841[_0x44fa50(0x1e4)](isTestObservabilitySession),'accessibility':exports[_0x44fa50(0x1c2)](_0x15c643),'percy':_0x15c643[_0x44fa50(0x165)]||![],'automate':_0x4262f2,'app_automate':_0x204605,'turboscale':bsSetupHelper[_0x44fa50(0x1c8)](_0x15c643),'lts':LoadTestModule[_0x44fa50(0x13d)](_0x15c643)},bsSetupHelper['getCentralUser']());};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a171_0x40e8b1=a171_0x32b0;function a171_0x32b0(_0x41f1d3,_0x1dc96a){const _0x5d538f=a171_0x5d53();return a171_0x32b0=function(_0x32b0da,_0x148931){_0x32b0da=_0x32b0da-0x160;let _0x1161c2=_0x5d538f[_0x32b0da];return _0x1161c2;},a171_0x32b0(_0x41f1d3,_0x1dc96a);}(function(_0x36a21e,_0x4b39c0){const _0x40c83b=a171_0x32b0,_0xc5e35c=_0x36a21e();while(!![]){try{const _0x4649f2=-parseInt(_0x40c83b(0x161))/0x1+parseInt(_0x40c83b(0x160))/0x2*(-parseInt(_0x40c83b(0x168))/0x3)+-parseInt(_0x40c83b(0x16f))/0x4*(-parseInt(_0x40c83b(0x16b))/0x5)+parseInt(_0x40c83b(0x163))/0x6*(parseInt(_0x40c83b(0x166))/0x7)+parseInt(_0x40c83b(0x171))/0x8*(parseInt(_0x40c83b(0x167))/0x9)+-parseInt(_0x40c83b(0x162))/0xa*(-parseInt(_0x40c83b(0x16c))/0xb)+parseInt(_0x40c83b(0x172))/0xc;if(_0x4649f2===_0x4b39c0)break;else _0xc5e35c['push'](_0xc5e35c['shift']());}catch(_0x5b30b3){_0xc5e35c['push'](_0xc5e35c['shift']());}}}(a171_0x5d53,0x194da));const utilities=require(a171_0x40e8b1(0x165));function a171_0x5d53(){const _0x3aac72=['4739axHEGo','9TzgPEt','12fHpzkc','vEdci','BNyCF','480DzPThR','11ATwOdN','LpGVG','cancel','3664csimRf','exports','240976tFHRxn','493380rBmRAT','GofDv','57232tjwCin','106635jBXUUa','145970ZIjPsW','1338IRdloc','cELBe','./utilities'];a171_0x5d53=function(){return _0x3aac72;};return a171_0x5d53();}module[a171_0x40e8b1(0x170)]=(_0xe9360c,_0xecc37f,_0x3339d6,_0x36c13e,_0x4ff041,_0x3e213b)=>{const _0x1b1a97=a171_0x40e8b1,_0x244acc={'cELBe':function(_0x5d34e8,_0x3d5b61){return _0x5d34e8-_0x3d5b61;},'LpGVG':function(_0x322c70,_0xecf956){return _0x322c70(_0xecf956);},'BNyCF':function(_0x4c0648,_0x3f47b6,_0x153c61){return _0x4c0648(_0x3f47b6,_0x153c61);},'jkHkR':function(_0x52ec9a,_0x3561ea){return _0x52ec9a(_0x3561ea);}};let _0x359540,_0x475616=![];const _0x234340=new Promise((_0x4ef9e3,_0x416224)=>{const _0x281876=a171_0x32b0,_0x237979={'GofDv':function(_0x50bc26,_0x5be75f){const _0x27024b=a171_0x32b0;return _0x244acc[_0x27024b(0x164)](_0x50bc26,_0x5be75f);},'vEdci':function(_0xcf76c6,_0x29f26e){const _0x450a43=a171_0x32b0;return _0x244acc[_0x450a43(0x16d)](_0xcf76c6,_0x29f26e);}};_0x359540=_0x244acc[_0x281876(0x16a)](setTimeout,()=>{const _0x5e8f07=_0x281876;if(!_0x475616){const _0x44489b={'status':''+_0xecc37f,'timeTaken':_0x237979[_0x5e8f07(0x173)](new Date(),_0x36c13e)};utilities['fireFunnelTestEvent'](_0x3339d6,_0x44489b,_0x4ff041,_0x3e213b),_0x237979[_0x5e8f07(0x169)](_0x416224,new Error(_0xecc37f));}},_0xe9360c);});return _0x234340[_0x1b1a97(0x16e)]=()=>{_0x475616=!![],_0x244acc['jkHkR'](clearTimeout,_0x359540);},_0x234340;};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a172_0x9c2a32=a172_0x259c;(function(_0x330e14,_0x1510b9){const _0x189779=a172_0x259c,_0x26952a=_0x330e14();while(!![]){try{const _0x3c481f=-parseInt(_0x189779(0xcb))/0x1+parseInt(_0x189779(0x120))/0x2*(parseInt(_0x189779(0x10b))/0x3)+-parseInt(_0x189779(0x124))/0x4+-parseInt(_0x189779(0xc0))/0x5+-parseInt(_0x189779(0xee))/0x6*(-parseInt(_0x189779(0xd5))/0x7)+parseInt(_0x189779(0xf4))/0x8+parseInt(_0x189779(0xe4))/0x9*(parseInt(_0x189779(0x14c))/0xa);if(_0x3c481f===_0x1510b9)break;else _0x26952a['push'](_0x26952a['shift']());}catch(_0x199abb){_0x26952a['push'](_0x26952a['shift']());}}}(a172_0x11d3,0x37087));const os=require('os'),util=require(a172_0x9c2a32(0x127)),fs=require('fs'),{getProductMap}=require(a172_0x9c2a32(0xf3)),logger=require('./logger')[a172_0x9c2a32(0x105)],constants=require(a172_0x9c2a32(0x112)),testHubConstants=require(a172_0x9c2a32(0xbe)),{getTransformPath}=require('../bin/playwright/reporter/pwUtils'),{FUNNEL_INSTRUMENTATION_API_URL}=require(a172_0x9c2a32(0x112)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a172_0x9c2a32(0x103)),PerformanceTester=require(a172_0x9c2a32(0x123)),globals=require('./globals'),helper=require('./helper'),{isTestObservabilitySession}=require(a172_0x9c2a32(0x100));let unhandledErrors='';function a172_0x259c(_0x45057c,_0x27a678){const _0x11d344=a172_0x11d3();return a172_0x259c=function(_0x259c8d,_0x27f823){_0x259c8d=_0x259c8d-0xb5;let _0x1e3c6f=_0x11d344[_0x259c8d];return _0x1e3c6f;},a172_0x259c(_0x45057c,_0x27a678);}exports['fireFunnelTestEvent']=async(_0x2befa6,_0x2217bc={},_0x533b50,_0x14d91d,_0x559df3=![])=>{const _0x4e0bd2=a172_0x9c2a32,_0xf01366={'iIqeD':function(_0x1a366e,_0x3d70fb){return _0x1a366e===_0x3d70fb;},'HZrmG':_0x4e0bd2(0xf6),'dZkho':function(_0x5937a4,_0x4b2b00){return _0x5937a4>_0x4b2b00;},'QDXGo':function(_0x874f44,_0x251723){return _0x874f44>_0x251723;},'EqefY':_0x4e0bd2(0xb7),'kivTG':function(_0xe08980){return _0xe08980();},'gpCHR':function(_0x189741){return _0x189741();},'GMEoW':function(_0x412363,_0x42694b){return _0x412363==_0x42694b;},'hfdZD':_0x4e0bd2(0xdf),'HoFkU':_0x4e0bd2(0x108),'yuGTu':function(_0xf6894d,_0x5dca05){return _0xf6894d===_0x5dca05;},'zzxLr':'codeceptjs','CVzCU':function(_0x3aee48,_0x1f7dd1){return _0x3aee48!==_0x1f7dd1;},'rjZlB':'Playwright','oyErP':function(_0x590028,_0x1687af){return _0x590028===_0x1687af;},'XKrkA':_0x4e0bd2(0xf1),'NOMAT':function(_0x30441c,_0x41e1df){return _0x30441c>_0x41e1df;},'eAGkG':function(_0x1735d1,_0xb811b7){return _0x1735d1+_0xb811b7;},'Cotso':_0x4e0bd2(0xd0),'XiUeY':_0x4e0bd2(0x13e),'ovFKo':function(_0x5e426d,_0x54840a){return _0x5e426d(_0x54840a);},'BwobX':_0x4e0bd2(0x11a),'WrvsA':_0x4e0bd2(0x10e),'YNDYM':_0x4e0bd2(0xff),'uKiPi':function(_0x5c5f63,_0x3afce0){return _0x5c5f63===_0x3afce0;},'ReJOS':_0x4e0bd2(0x138),'yicZd':_0x4e0bd2(0xe8),'swQYy':_0x4e0bd2(0xb8),'bQTXD':_0x4e0bd2(0xfd)};let _0xc1b4bb=[];if(helper[_0x4e0bd2(0x11f)]()&&_0xf01366[_0x4e0bd2(0xe2)](isTestObservabilitySession))_0xc1b4bb=helper[_0x4e0bd2(0x12d)](_0x533b50)?constants[_0x4e0bd2(0xd2)]:constants[_0x4e0bd2(0xc6)];else{if(_0xf01366[_0x4e0bd2(0x141)](isTestObservabilitySession))_0xc1b4bb=constants[_0x4e0bd2(0x146)];else helper[_0x4e0bd2(0x11f)]()&&(_0xc1b4bb=helper[_0x4e0bd2(0x12d)](_0x533b50)?constants[_0x4e0bd2(0xec)]:constants[_0x4e0bd2(0xf0)]);}let _0x1cbe8c=_0x533b50[_0x4e0bd2(0x14f)];if(_0xf01366[_0x4e0bd2(0xeb)](_0x1cbe8c,null))_0x1cbe8c=_0xf01366['hfdZD'];else _0xf01366[_0x4e0bd2(0xf5)](_0x1cbe8c,undefined)&&(_0x1cbe8c=_0xf01366[_0x4e0bd2(0x114)]);unhandledErrors&&_0xf01366['QDXGo'](unhandledErrors[_0x4e0bd2(0x109)],0x0)&&(_0x2217bc[_0x4e0bd2(0xca)]=unhandledErrors);global['sdkRunId']&&(_0x2217bc[_0x4e0bd2(0x10f)]=global[_0x4e0bd2(0x10f)]);try{if(_0x2217bc[_0x4e0bd2(0xf1)]){if(_0xf01366['yuGTu'](_0x14d91d,_0xf01366[_0x4e0bd2(0xfc)])&&_0xf01366[_0x4e0bd2(0x14a)](_0x2217bc[_0x4e0bd2(0xf1)][_0x4e0bd2(0x109)],0x0)){const _0x304535={};_0x304535['os']='',_0x304535[_0x4e0bd2(0x140)]='',_0x304535[_0x4e0bd2(0x11c)]='',_0x304535[_0x4e0bd2(0xf8)]='';const _0x5d41c9=_0x304535;let _0x9f90aa={};const _0x4d5e1b=_0x2217bc['error'];_0x9f90aa=_0x4d5e1b[_0x4e0bd2(0xc5)]((_0x3cc86d,_0x186ae8)=>{for(const _0x3659ce in _0x186ae8){_0x3cc86d[_0x3659ce]=_0x186ae8[_0x3659ce];}return _0x3cc86d;},{});const _0x573491={};_0x573491[_0x4e0bd2(0xb7)]=_0x9f90aa,_0x2217bc[_0x4e0bd2(0xf1)]=[Object[_0x4e0bd2(0x14d)]({},_0x5d41c9,_0x573491)];}else{let _0x55de73=0x0;const _0x24e0d4=_0xf01366[_0x4e0bd2(0x10c)](_0x14d91d,_0xf01366['rjZlB'])?JSON[_0x4e0bd2(0xe7)](_0x2217bc[_0x4e0bd2(0xf1)]):_0x2217bc[_0x4e0bd2(0xf1)],_0x15e156=Object[_0x4e0bd2(0x13b)](_0x24e0d4);_0x15e156['forEach'](_0x1af8b6=>{const _0x193600=_0x4e0bd2;if(_0xf01366[_0x193600(0xf5)](typeof _0x1af8b6,_0xf01366['HZrmG'])){const _0x427407=Object['values'](_0x1af8b6);!_0x427407[_0x193600(0x12a)](_0x3df3fb=>_0x3df3fb===null||_0x3df3fb===undefined||_0x3df3fb==='')&&(_0x55de73+=0x1);}});if(_0xf01366[_0x4e0bd2(0xb9)](_0x55de73,0x0))delete _0x2217bc[_0xf01366[_0x4e0bd2(0x11d)]];else{const _0x4363df=[];Object['keys'](_0x24e0d4)[_0x4e0bd2(0x135)](_0x1a9746=>{const _0x47b64f=_0x4e0bd2,[_0x364bd1,_0x5f1f67,_0x53faf7,_0x4c29a4]=_0x1a9746['split'](',\x20');let _0x565461={};if(!_0x4c29a4){const _0xa950f7={};_0xa950f7[_0x47b64f(0xe1)]=_0x364bd1,_0xa950f7[_0x47b64f(0x140)]=_0x5f1f67,_0xa950f7[_0x47b64f(0x11c)]=_0x53faf7,_0x565461=_0xa950f7;}else{const _0x461d78={};_0x461d78['os']=_0x364bd1,_0x461d78[_0x47b64f(0x140)]=_0x5f1f67,_0x461d78[_0x47b64f(0x11c)]=_0x53faf7,_0x461d78[_0x47b64f(0xf8)]=_0x4c29a4,_0x565461=_0x461d78;}const _0x4028a5={},_0x26c1aa=_0x24e0d4[_0x1a9746];Object['keys'](_0x26c1aa)[_0x47b64f(0x135)](_0x137336=>{const _0x3ea618=_0x47b64f;_0xf01366[_0x3ea618(0x14a)](_0x26c1aa[_0x137336][_0x3ea618(0x109)],0x0)&&(_0x4028a5[_0x137336]=_0x26c1aa[_0x137336]);}),_0xf01366[_0x47b64f(0x11b)](Object[_0x47b64f(0x11e)](_0x4028a5)['length'],0x0)&&(_0x565461[_0xf01366[_0x47b64f(0xd3)]]=_0x4028a5,_0x4363df[_0x47b64f(0xbd)](_0x565461));}),_0xf01366['NOMAT'](_0x4363df['length'],0x0)?_0x2217bc[_0x4e0bd2(0xf1)]=_0x4363df:delete _0x2217bc[_0xf01366[_0x4e0bd2(0x11d)]];}}}}catch(_0x36c9bc){delete _0x2217bc[_0xf01366[_0x4e0bd2(0x11d)]],logger[_0x4e0bd2(0xdc)](_0xf01366[_0x4e0bd2(0xda)](_0xf01366[_0x4e0bd2(0x147)],_0x36c9bc));}const _0x5599ed=helper[_0x4e0bd2(0x117)](_0x533b50,_0x533b50[_0x4e0bd2(0xc1)]),_0x50182e={'userName':helper[_0x4e0bd2(0x10d)](_0x533b50),'accessKey':helper[_0x4e0bd2(0xc2)](_0x533b50),'event_type':_0x2befa6,'detectedFramework':_0x14d91d,'buildHashedId':globals[_0x4e0bd2(0x101)](_0xf01366['XiUeY']),'optimalHubUrl':helper[_0x4e0bd2(0xd7)](),'event_properties':{'testhub_uuid':process[_0x4e0bd2(0x132)][testHubConstants[_0x4e0bd2(0xd9)]['BROWSERSTACK_TESTHUB_UUID']]||'','sdkRunId':global['sdkRunId'],'product_map':_0xf01366[_0x4e0bd2(0x129)](getProductMap,_0x533b50),'productMap':_0xf01366[_0x4e0bd2(0x129)](getProductMap,_0x533b50),'language_framework':_0x533b50[_0x4e0bd2(0xcd)]||_0xf01366['BwobX'],'referrer':helper[_0x4e0bd2(0x14b)](_0x14d91d),'framework':_0x533b50[_0x4e0bd2(0xc1)],'frameworkVersion':helper[_0x4e0bd2(0xfb)](_0x14d91d),'automationFramework':_0x5599ed[_0x4e0bd2(0xc3)],'automationFrameworkVersion':_0x5599ed['version'],'language':_0xf01366[_0x4e0bd2(0x145)],'languageVersion':process[_0x4e0bd2(0x115)],'product':_0xc1b4bb,'buildName':_0x533b50[_0x4e0bd2(0xbc)]||_0xf01366['HoFkU'],'buildIdentifier':_0x1cbe8c,'os':os[_0x4e0bd2(0xb5)]()||_0xf01366[_0x4e0bd2(0xde)],'hostname':os['hostname']()||_0xf01366['BwobX'],..._0x2217bc,'isCLIEnabled':_0x559df3}};try{_0xf01366[_0x4e0bd2(0xdd)](_0x2befa6,_0xf01366[_0x4e0bd2(0xe9)])&&(_0x50182e[_0x4e0bd2(0x12c)][_0x4e0bd2(0x136)]=helper[_0x4e0bd2(0x128)](_0x533b50)),_0xf01366['uKiPi'](_0x14d91d,_0xf01366[_0x4e0bd2(0xe3)])?_0x50182e['event_properties'][_0x4e0bd2(0xc4)]=helper[_0x4e0bd2(0xba)][_0x4e0bd2(0x12f)](null,_0xf01366[_0x4e0bd2(0xe2)](getTransformPath),!![]):_0x50182e[_0x4e0bd2(0x12c)][_0x4e0bd2(0x12b)]=helper[_0x4e0bd2(0x12e)](_0xf01366[_0x4e0bd2(0xc7)]);}catch(_0x52cb96){logger['debug'](_0x4e0bd2(0xe0)+_0x52cb96);}const _0x1e7b7c={};_0x1e7b7c['content-type']=_0xf01366[_0x4e0bd2(0x116)];const _0x4dccb7={'headers':_0x1e7b7c,'body':_0x50182e,'auth':{'user':helper[_0x4e0bd2(0x10d)](_0x533b50),'pass':helper[_0x4e0bd2(0xc2)](_0x533b50)},'json':!![]};logger[_0x4e0bd2(0xdc)](_0x4e0bd2(0x143)+JSON[_0x4e0bd2(0x133)](_0x4dccb7[_0x4e0bd2(0x142)])[_0x4e0bd2(0xd4)](new RegExp(helper[_0x4e0bd2(0x10d)](_0x533b50),'g'),_0xf01366[_0x4e0bd2(0x137)])['replace'](new RegExp(helper[_0x4e0bd2(0xc2)](_0x533b50),'g'),_0xf01366['swQYy']));try{const _0xd06d59=await helper[_0x4e0bd2(0x119)](_0xf01366[_0x4e0bd2(0x149)],FUNNEL_INSTRUMENTATION_API_URL,_0x4dccb7,_0x533b50);logger[_0x4e0bd2(0xdc)](_0x4e0bd2(0xcc)+_0x2befa6+_0x4e0bd2(0x139)+util['format']('%j',_0xd06d59));}catch(_0x37a41e){logger['debug'](_0x4e0bd2(0xf9)+FUNNEL_INSTRUMENTATION_API_URL+_0x4e0bd2(0xc8)+util[_0x4e0bd2(0x121)](_0x37a41e));}},exports['finalExecution']=async(_0x11f52d,_0x1c7a6d=![])=>{const _0x47911c=a172_0x9c2a32,_0x862f0a={'ExBJE':function(_0x52317b){return _0x52317b();},'yEFDh':_0x47911c(0x14e),'MeAIZ':_0x47911c(0xf7),'lAvrs':_0x47911c(0x130),'UIwhD':'SDKTestSuccessful','KqJPk':function(_0x1940b3,_0x4083cb,_0x181ff4){return _0x1940b3(_0x4083cb,_0x181ff4);},'puQvn':function(_0x5929cc,_0x37d62a){return _0x5929cc+_0x37d62a;},'oIhVh':'Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20'};try{await _0x11f52d['stopPercy'](),_0x862f0a[_0x47911c(0xf2)](printNudgeLocalNotSetError);const _0x396eb5={};_0x396eb5[_0x47911c(0xf1)]=_0x11f52d[_0x47911c(0x110)]?_0x11f52d[_0x47911c(0x110)]:'{}';const _0xde5cee=_0x396eb5,_0x30f319=Object[_0x47911c(0x14d)]({},_0xde5cee),_0x294be9=globals[_0x47911c(0x101)](_0x862f0a[_0x47911c(0xbf)]);_0x294be9&&(_0x30f319[_0x47911c(0xed)]=_0x294be9);!!_0x11f52d[_0x47911c(0xd6)]&&(_0x30f319[_0x862f0a[_0x47911c(0x13c)]]={'reason':_0x862f0a['lAvrs'],'signal':_0x11f52d['killSignal']});unhandledErrors=_0x11f52d[_0x47911c(0xe5)]['join']('\x0a');let _0x445fd6,_0x24a79e,_0x2fa15f;helper[_0x47911c(0x13f)](_0x11f52d[_0x47911c(0x13a)])?([_0x445fd6,_0x24a79e]=await helper[_0x47911c(0xc9)](_0x11f52d[_0x47911c(0x13a)]),[_0x2fa15f]=await Promise[_0x47911c(0x102)]([helper['getTurboScaleSessionsList'](_0x445fd6,_0x11f52d[_0x47911c(0x13a)]),exports['fireFunnelTestEvent'](_0x862f0a[_0x47911c(0xef)],_0x30f319,_0x11f52d[_0x47911c(0x13a)],_0x11f52d['framework'],_0x1c7a6d)])):([_0x445fd6,_0x24a79e]=await helper[_0x47911c(0x104)](_0x11f52d[_0x47911c(0x13a)]),[_0x2fa15f]=await Promise['all']([helper[_0x47911c(0x106)](_0x445fd6,_0x11f52d['config']),exports[_0x47911c(0x126)](_0x862f0a[_0x47911c(0xef)],_0x30f319,_0x11f52d[_0x47911c(0x13a)],_0x11f52d[_0x47911c(0xc1)],_0x1c7a6d)])),_0x2fa15f&&await _0x862f0a[_0x47911c(0xcf)](generateCIArtifacts,_0x2fa15f,_0x24a79e),logger[_0x47911c(0xfa)]('SDK\x20run\x20ended\x20for\x20id:\x20'+_0x11f52d['sdkRunId']+',\x20testhub\x20id:\x20'+process[_0x47911c(0x132)][_0x47911c(0x131)]),await helper['sendLogs'](_0x11f52d[_0x47911c(0x13a)]);}catch(_0x468a8d){logger[_0x47911c(0xdc)](_0x862f0a[_0x47911c(0xb6)](_0x862f0a[_0x47911c(0x148)],_0x468a8d));}helper[_0x47911c(0xe6)]();},exports[a172_0x9c2a32(0x118)]=_0x2763dc=>{const _0xde4ce0=a172_0x9c2a32,_0x25edf9={'Baxth':function(_0x110abd,_0x5c3b3c){return _0x110abd instanceof _0x5c3b3c;},'DGcGW':function(_0x5d1c4a,_0x2e4d63){return _0x5d1c4a(_0x2e4d63);}};try{if(_0x25edf9[_0xde4ce0(0xd8)](_0x2763dc,Error))return _0x2763dc[_0xde4ce0(0xdb)]||_0x2763dc[_0xde4ce0(0x134)]();return _0x25edf9[_0xde4ce0(0x107)](String,_0x2763dc);}catch(_0x34efab){return _0x2763dc?_0x2763dc[_0xde4ce0(0x134)]():'';}},exports[a172_0x9c2a32(0xce)]=_0x56b055=>{const _0x26c8df=a172_0x9c2a32,_0xc30b5a={};_0xc30b5a[_0x26c8df(0xd1)]=function(_0x864908,_0x1ab950){return _0x864908===_0x1ab950;};const _0x398ba0=_0xc30b5a;return!_0x56b055||_0x398ba0[_0x26c8df(0xd1)](_0x56b055[_0x26c8df(0x122)](),'');},exports[a172_0x9c2a32(0x144)]=_0x1e5b90=>{const _0x4058f5=a172_0x9c2a32,_0xff2158={};_0xff2158['tsoXj']=function(_0x44394e,_0x4a36d8){return _0x44394e|_0x4a36d8;};const _0x514601=_0xff2158;try{return fs[_0x4058f5(0xfe)](_0x1e5b90,_0x514601['tsoXj'](fs[_0x4058f5(0x111)][_0x4058f5(0xbb)],fs[_0x4058f5(0x111)][_0x4058f5(0x125)])),!![];}catch(_0x495351){return![];}},exports[a172_0x9c2a32(0x13d)]=_0x2c00bf=>{const _0x1961bc=a172_0x9c2a32;try{fs['chmodSync'](_0x2c00bf,0x1ff),logger['debug'](_0x1961bc(0x10a)+_0x2c00bf+_0x1961bc(0x113));}catch(_0x4648ce){logger[_0x1961bc(0xf1)](_0x1961bc(0xea)+exports[_0x1961bc(0x118)](_0x4648ce));}};function a172_0x11d3(){const _0x120378=['KqJPk','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','HeBTb','APP_AUTOMATE_PRODUCTS','EqefY','replace','8547JTOexi','killSignal','getOptimalHubUrl','Baxth','ENV_VAR','eAGkG','stack','debug','yuGTu','BwobX','null','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','deviceName','kivTG','rjZlB','1179nuwJag','unhandledErrors','notifyUpdate','parse','application/json','YNDYM','Failed\x20to\x20set\x20directory\x20access:\x20','GMEoW','APP_AUTOMATE','hubAllocation','942UVQxRV','UIwhD','AUTOMATE','error','ExBJE','./testhub/utils','563432KFiHwq','iIqeD','object','finishedMetadata','browserVersion','Error\x20in\x20firing\x20request\x20to\x20','info','getFrameworkVersion','zzxLr','POST','accessSync','SDKTestSuccessful','./test-observability/utils','getGlobal','all','./helper','getBuildLink','winstonLogger','getSessionsList','DGcGW','undefined','length','Directory\x20','15NIJBza','CVzCU','getUserName','nodejs','sdkRunId','errorMessage','constants','../bin/utils/constants','\x20has\x20now\x20read/write/execute\x20permissions.','HoFkU','version','yicZd','getTestFrameworkDetails','getStackTraceAsString','nodeRequest','unknown','QDXGo','browser','XKrkA','keys','isBrowserstackInfra','63946RbyHtg','format','trim','./performance/performance-tester','1779380TTgaYe','X_OK','fireFunnelTestEvent','util','sanitizeBrowserStackConfig','ovFKo','every','seleniumVersion','event_properties','isAppAutomateSession','getPackageVersion','apply','user_killed','BROWSERSTACK_TESTHUB_UUID','env','stringify','toString','forEach','browserStackConfig','swQYy','selenium-webdriver','\x20response\x20-\x20','config','values','MeAIZ','setReadWriteExecuteAccess','_buildHashedId','isTurboScaleSession','osVersion','gpCHR','body','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','isModifiable','WrvsA','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','Cotso','oIhVh','bQTXD','dZkho','getNodeAgent','50590FZjWEC','assign','_hubAllocationData','buildIdentifier','type','puQvn','tests','[REDACTED]','oyErP','requirePWModule','W_OK','buildName','push','../helpers/testhub/constants','yEFDh','1750150zbuyjk','framework','getAccessKey','name','playwrightVersion','reduce','AUTOMATE_PRODUCTS','ReJOS','\x20:\x20','getTurboScaleBuildLink','globalException','64430icohNH','API\x20Event\x20','source','isNullOrEmpty'];a172_0x11d3=function(){return _0x120378;};return a172_0x11d3();}
|
|
1
|
+
const a172_0x387b27=a172_0x1b61;(function(_0x925cb2,_0x5037c3){const _0x4a1452=a172_0x1b61,_0x3ebecb=_0x925cb2();while(!![]){try{const _0x1bea2f=parseInt(_0x4a1452(0x18d))/0x1+-parseInt(_0x4a1452(0x15a))/0x2*(parseInt(_0x4a1452(0x14c))/0x3)+-parseInt(_0x4a1452(0x140))/0x4+-parseInt(_0x4a1452(0x14e))/0x5*(parseInt(_0x4a1452(0x18f))/0x6)+-parseInt(_0x4a1452(0x18c))/0x7+-parseInt(_0x4a1452(0x16e))/0x8+parseInt(_0x4a1452(0x160))/0x9;if(_0x1bea2f===_0x5037c3)break;else _0x3ebecb['push'](_0x3ebecb['shift']());}catch(_0x5ce4cc){_0x3ebecb['push'](_0x3ebecb['shift']());}}}(a172_0x5034,0xc0dd4));function a172_0x1b61(_0x235630,_0x153211){const _0x50343e=a172_0x5034();return a172_0x1b61=function(_0x1b6133,_0x5ed7cf){_0x1b6133=_0x1b6133-0x136;let _0x590a30=_0x50343e[_0x1b6133];return _0x590a30;},a172_0x1b61(_0x235630,_0x153211);}const os=require('os'),util=require('util'),fs=require('fs'),{getProductMap}=require(a172_0x387b27(0x165)),logger=require(a172_0x387b27(0x16d))[a172_0x387b27(0x1b9)],constants=require(a172_0x387b27(0x176)),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require(a172_0x387b27(0x144)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a172_0x387b27(0x176)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a172_0x387b27(0x173)),PerformanceTester=require('./performance/performance-tester'),globals=require(a172_0x387b27(0x136)),helper=require(a172_0x387b27(0x173)),{isTestObservabilitySession}=require(a172_0x387b27(0x16f));function a172_0x5034(){const _0x45a2a8=['sendLogs','isNullOrEmpty','nMddx','fireFunnelTestEvent','seleniumVersion','error','iuMUU','BROWSERSTACK_TESTHUB_UUID','isBrowserstackInfra','debug','chmodSync','xZANO','WzQld','winstonLogger','USAjS','_hubAllocationData','\x20response\x20-\x20','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','all','browser','osVersion','selenium-webdriver','./globals','push','unknown','body','sVEuJ','deviceName','hubAllocation','VWggo','browserStackConfig','codeceptjs','729680dBaWwJ','LasSr','undefined','getTurboScaleBuildLink','../bin/playwright/reporter/pwUtils','SDK\x20run\x20ended\x20for\x20id:\x20','eAQql','pWiqG','playwrightVersion','accessSync','stack','getOptimalHubUrl','2140413VmIMUs','Failed\x20to\x20set\x20directory\x20access:\x20','3454765oOBWto','isModifiable','stopPercy','xmklR','getAccessKey','getUserName','tXbHa','API\x20Event\x20','POST','TAMdQ','AUTOMATE','_buildHashedId','4GyYKvt','Qqzou','ENV_VAR','IfeMu','name','format','30337515Grxlup','application/json','config','parse','user_killed','./testhub/utils','every','VEWHl','[REDACTED]','globalException','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','Playwright','XSmQu','./logger','8801960LRYTHO','./test-observability/utils','length','isAppAutomateSession','getBuildLink','./helper','getStackTraceAsString','KibBu','../bin/utils/constants','sdkRunId','HyQmZ','sanitizeBrowserStackConfig','replace','ScFGX','toString','tUkDz','values','xilLt','nlRya','content-type','env','YsgFa','finalExecution','TDLra','requirePWModule','type','constants','keys','browserVersion','reduce','4742283RVTfMc','1497166mtlACz','sYyqv','6KBczDW','getSessionsList','iPcLI','event_properties','TOORK','nodeRequest','\x20has\x20now\x20read/write/execute\x20permissions.','split','sYbZd','buildIdentifier','kTWUQ',',\x20testhub\x20id:\x20','tests','stringify','killSignal','GEBvu','W_OK','notifyUpdate','framework','buildName','errorMessage','setReadWriteExecuteAccess','finishedMetadata','forEach','getGlobal','FamaN','SDKTestSuccessful','getFrameworkVersion','unhandledErrors'];a172_0x5034=function(){return _0x45a2a8;};return a172_0x5034();}let unhandledErrors='';exports[a172_0x387b27(0x1af)]=async(_0x8f2565,_0x15d06c={},_0x1a1e1c,_0x4fc2bd,_0x2ad4fc=![])=>{const _0x39456c=a172_0x387b27,_0x41e06c={'tXbHa':function(_0x41c5fc,_0x415230){return _0x41c5fc===_0x415230;},'sYbZd':'object','xmklR':function(_0x1d3c36,_0x350054){return _0x1d3c36>_0x350054;},'nlRya':function(_0x209aeb,_0x1ab9d6){return _0x209aeb>_0x1ab9d6;},'Qqzou':_0x39456c(0x19b),'GEBvu':function(_0x467c3b){return _0x467c3b();},'KibBu':function(_0x1ae2dd){return _0x1ae2dd();},'nMddx':function(_0x27d7fe,_0x532300){return _0x27d7fe==_0x532300;},'xZANO':'null','TDLra':_0x39456c(0x142),'iuMUU':function(_0x169bf4,_0xf9f6ad){return _0x169bf4>_0xf9f6ad;},'HyQmZ':function(_0x37f00d,_0x14004f){return _0x37f00d===_0x14004f;},'VChzc':_0x39456c(0x13f),'VWggo':function(_0x1b59a2,_0x34fe08){return _0x1b59a2>_0x34fe08;},'pWiqG':function(_0x3ea75f,_0x31cc38){return _0x3ea75f!==_0x31cc38;},'pSPFS':_0x39456c(0x16b),'eAQql':_0x39456c(0x1b1),'iPcLI':function(_0x28b90a,_0x1475a0){return _0x28b90a+_0x1475a0;},'hgBFb':_0x39456c(0x16a),'YsgFa':_0x39456c(0x159),'ScFGX':function(_0x56fa44,_0xd0c301){return _0x56fa44(_0xd0c301);},'USAjS':_0x39456c(0x138),'kTWUQ':'nodejs','tUkDz':_0x39456c(0x1a9),'OLsUX':_0x39456c(0x1c1),'DERKE':_0x39456c(0x161),'TAMdQ':_0x39456c(0x168),'TOORK':_0x39456c(0x156)};let _0xaf2d4=[];if(helper[_0x39456c(0x1b4)]()&&_0x41e06c[_0x39456c(0x19e)](isTestObservabilitySession))_0xaf2d4=helper[_0x39456c(0x171)](_0x1a1e1c)?constants['APP_AUTOMATE_PRODUCTS']:constants['AUTOMATE_PRODUCTS'];else{if(_0x41e06c[_0x39456c(0x175)](isTestObservabilitySession))_0xaf2d4=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper['isBrowserstackInfra']()&&(_0xaf2d4=helper[_0x39456c(0x171)](_0x1a1e1c)?constants['APP_AUTOMATE']:constants[_0x39456c(0x158)]);}let _0x1cfd30=_0x1a1e1c[_0x39456c(0x198)];if(_0x41e06c[_0x39456c(0x1ae)](_0x1cfd30,null))_0x1cfd30=_0x41e06c[_0x39456c(0x1b7)];else _0x41e06c[_0x39456c(0x154)](_0x1cfd30,undefined)&&(_0x1cfd30=_0x41e06c[_0x39456c(0x185)]);unhandledErrors&&_0x41e06c[_0x39456c(0x1b2)](unhandledErrors[_0x39456c(0x170)],0x0)&&(_0x15d06c[_0x39456c(0x169)]=unhandledErrors);global[_0x39456c(0x177)]&&(_0x15d06c[_0x39456c(0x177)]=global[_0x39456c(0x177)]);try{if(_0x15d06c[_0x39456c(0x1b1)]){if(_0x41e06c['HyQmZ'](_0x4fc2bd,_0x41e06c['VChzc'])&&_0x41e06c[_0x39456c(0x13d)](_0x15d06c[_0x39456c(0x1b1)][_0x39456c(0x170)],0x0)){const _0x471add={};_0x471add['os']='',_0x471add[_0x39456c(0x1c0)]='',_0x471add['browser']='',_0x471add[_0x39456c(0x18a)]='';const _0x46a14b=_0x471add;let _0x6bd0b8={};const _0x1bb223=_0x15d06c['error'];_0x6bd0b8=_0x1bb223[_0x39456c(0x18b)]((_0x48dfdf,_0x22f6cf)=>{for(const _0x24b458 in _0x22f6cf){_0x48dfdf[_0x24b458]=_0x22f6cf[_0x24b458];}return _0x48dfdf;},{});const _0x7b830c={};_0x7b830c[_0x39456c(0x19b)]=_0x6bd0b8,_0x15d06c[_0x39456c(0x1b1)]=[Object['assign']({},_0x46a14b,_0x7b830c)];}else{let _0x33c78c=0x0;const _0x2e96cb=_0x41e06c[_0x39456c(0x147)](_0x4fc2bd,_0x41e06c['pSPFS'])?JSON[_0x39456c(0x163)](_0x15d06c['error']):_0x15d06c[_0x39456c(0x1b1)],_0x48fc76=Object[_0x39456c(0x17e)](_0x2e96cb);_0x48fc76[_0x39456c(0x1a6)](_0x2828e2=>{const _0x4365b5=_0x39456c;if(_0x41e06c['tXbHa'](typeof _0x2828e2,_0x41e06c[_0x4365b5(0x197)])){const _0x54b40a=Object[_0x4365b5(0x17e)](_0x2828e2);!_0x54b40a[_0x4365b5(0x166)](_0x458230=>_0x458230===null||_0x458230===undefined||_0x458230==='')&&(_0x33c78c+=0x1);}});if(_0x41e06c['tXbHa'](_0x33c78c,0x0))delete _0x15d06c[_0x41e06c[_0x39456c(0x146)]];else{const _0x5e3456=[];Object['keys'](_0x2e96cb)[_0x39456c(0x1a6)](_0x544c52=>{const _0x2096c7=_0x39456c,[_0xd935f9,_0x3116fc,_0x17406c,_0x5a9abc]=_0x544c52[_0x2096c7(0x196)](',\x20');let _0x51c23d={};if(!_0x5a9abc){const _0x1900e0={};_0x1900e0[_0x2096c7(0x13b)]=_0xd935f9,_0x1900e0['osVersion']=_0x3116fc,_0x1900e0['browser']=_0x17406c,_0x51c23d=_0x1900e0;}else{const _0x37b9f9={};_0x37b9f9['os']=_0xd935f9,_0x37b9f9['osVersion']=_0x3116fc,_0x37b9f9[_0x2096c7(0x1bf)]=_0x17406c,_0x37b9f9['browserVersion']=_0x5a9abc,_0x51c23d=_0x37b9f9;}const _0x50c57b={},_0x3a1ee2=_0x2e96cb[_0x544c52];Object[_0x2096c7(0x189)](_0x3a1ee2)[_0x2096c7(0x1a6)](_0x3e3f8c=>{const _0x178b2f=_0x2096c7;_0x41e06c[_0x178b2f(0x151)](_0x3a1ee2[_0x3e3f8c][_0x178b2f(0x170)],0x0)&&(_0x50c57b[_0x3e3f8c]=_0x3a1ee2[_0x3e3f8c]);}),_0x41e06c[_0x2096c7(0x180)](Object['keys'](_0x50c57b)[_0x2096c7(0x170)],0x0)&&(_0x51c23d[_0x41e06c[_0x2096c7(0x15b)]]=_0x50c57b,_0x5e3456[_0x2096c7(0x137)](_0x51c23d));}),_0x41e06c[_0x39456c(0x180)](_0x5e3456[_0x39456c(0x170)],0x0)?_0x15d06c[_0x39456c(0x1b1)]=_0x5e3456:delete _0x15d06c[_0x41e06c[_0x39456c(0x146)]];}}}}catch(_0x559559){delete _0x15d06c[_0x41e06c['eAQql']],logger['debug'](_0x41e06c[_0x39456c(0x191)](_0x41e06c['hgBFb'],_0x559559));}const _0x4f391b=helper['getTestFrameworkDetails'](_0x1a1e1c,_0x1a1e1c[_0x39456c(0x1a1)]),_0x451c40={'userName':helper['getUserName'](_0x1a1e1c),'accessKey':helper[_0x39456c(0x152)](_0x1a1e1c),'event_type':_0x8f2565,'detectedFramework':_0x4fc2bd,'buildHashedId':globals[_0x39456c(0x1a7)](_0x41e06c[_0x39456c(0x183)]),'optimalHubUrl':helper[_0x39456c(0x14b)](),'event_properties':{'testhub_uuid':process[_0x39456c(0x182)][testHubConstants[_0x39456c(0x15c)]['BROWSERSTACK_TESTHUB_UUID']]||'','sdkRunId':global[_0x39456c(0x177)],'product_map':_0x41e06c[_0x39456c(0x17b)](getProductMap,_0x1a1e1c),'productMap':_0x41e06c[_0x39456c(0x17b)](getProductMap,_0x1a1e1c),'language_framework':_0x1a1e1c['source']||_0x41e06c['USAjS'],'referrer':helper['getNodeAgent'](_0x4fc2bd),'framework':_0x1a1e1c[_0x39456c(0x1a1)],'frameworkVersion':helper[_0x39456c(0x1aa)](_0x4fc2bd),'automationFramework':_0x4f391b[_0x39456c(0x15e)],'automationFrameworkVersion':_0x4f391b['version'],'language':_0x41e06c[_0x39456c(0x199)],'languageVersion':process['version'],'product':_0xaf2d4,'buildName':_0x1a1e1c[_0x39456c(0x1a2)]||_0x41e06c[_0x39456c(0x185)],'buildIdentifier':_0x1cfd30,'os':os[_0x39456c(0x187)]()||_0x41e06c[_0x39456c(0x1ba)],'hostname':os['hostname']()||_0x41e06c['USAjS'],..._0x15d06c,'isCLIEnabled':_0x2ad4fc}};try{_0x41e06c[_0x39456c(0x178)](_0x8f2565,_0x41e06c[_0x39456c(0x17d)])&&(_0x451c40[_0x39456c(0x192)][_0x39456c(0x13e)]=helper[_0x39456c(0x179)](_0x1a1e1c)),_0x41e06c['HyQmZ'](_0x4fc2bd,_0x41e06c['pSPFS'])?_0x451c40[_0x39456c(0x192)][_0x39456c(0x148)]=helper[_0x39456c(0x186)]['apply'](null,_0x41e06c[_0x39456c(0x175)](getTransformPath),!![]):_0x451c40[_0x39456c(0x192)][_0x39456c(0x1b0)]=helper['getPackageVersion'](_0x41e06c['OLsUX']);}catch(_0xdbf263){logger[_0x39456c(0x1b5)]('Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20'+_0xdbf263);}const _0x56dbfa={};_0x56dbfa[_0x39456c(0x181)]=_0x41e06c['DERKE'];const _0x161419={'headers':_0x56dbfa,'body':_0x451c40,'auth':{'user':helper[_0x39456c(0x153)](_0x1a1e1c),'pass':helper[_0x39456c(0x152)](_0x1a1e1c)},'json':!![]};logger[_0x39456c(0x1b5)](_0x39456c(0x1bd)+JSON[_0x39456c(0x19c)](_0x161419[_0x39456c(0x139)])[_0x39456c(0x17a)](new RegExp(helper[_0x39456c(0x153)](_0x1a1e1c),'g'),_0x41e06c[_0x39456c(0x157)])[_0x39456c(0x17a)](new RegExp(helper[_0x39456c(0x152)](_0x1a1e1c),'g'),_0x41e06c[_0x39456c(0x157)]));try{const _0x2828e5=await helper[_0x39456c(0x194)](_0x41e06c[_0x39456c(0x193)],FUNNEL_INSTRUMENTATION_API_URL,_0x161419,_0x1a1e1c);logger[_0x39456c(0x1b5)](_0x39456c(0x155)+_0x8f2565+_0x39456c(0x1bc)+util[_0x39456c(0x15f)]('%j',_0x2828e5));}catch(_0x214a7c){logger[_0x39456c(0x1b5)]('Error\x20in\x20firing\x20request\x20to\x20'+FUNNEL_INSTRUMENTATION_API_URL+'\x20:\x20'+util[_0x39456c(0x15f)](_0x214a7c));}},exports[a172_0x387b27(0x184)]=async(_0x361feb,_0xcdfe97=![])=>{const _0x13aaea=a172_0x387b27,_0x1d9806={'OFQeO':function(_0x32598f){return _0x32598f();},'sYyqv':_0x13aaea(0x1bb),'xilLt':_0x13aaea(0x1a5),'AaUBy':_0x13aaea(0x164),'sVEuJ':'SDKTestSuccessful','uLdKC':function(_0x2cf1e6,_0x10e0e4,_0x1a2081){return _0x2cf1e6(_0x10e0e4,_0x1a2081);},'XSmQu':function(_0x17534d,_0x1a99a1){return _0x17534d+_0x1a99a1;},'FamaN':'Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20'};try{await _0x361feb[_0x13aaea(0x150)](),_0x1d9806['OFQeO'](printNudgeLocalNotSetError);const _0x186f83={};_0x186f83[_0x13aaea(0x1b1)]=_0x361feb[_0x13aaea(0x1a3)]?_0x361feb[_0x13aaea(0x1a3)]:'{}';const _0x107288=_0x186f83,_0x3ce5a0=Object['assign']({},_0x107288),_0xb6c6df=globals[_0x13aaea(0x1a7)](_0x1d9806[_0x13aaea(0x18e)]);_0xb6c6df&&(_0x3ce5a0[_0x13aaea(0x13c)]=_0xb6c6df);!!_0x361feb['killSignal']&&(_0x3ce5a0[_0x1d9806[_0x13aaea(0x17f)]]={'reason':_0x1d9806['AaUBy'],'signal':_0x361feb[_0x13aaea(0x19d)]});unhandledErrors=_0x361feb[_0x13aaea(0x1ab)]['join']('\x0a');let _0x64cb7c,_0x360f3d,_0x2f6e32;helper['isTurboScaleSession'](_0x361feb[_0x13aaea(0x162)])?([_0x64cb7c,_0x360f3d]=await helper[_0x13aaea(0x143)](_0x361feb['config']),[_0x2f6e32]=await Promise[_0x13aaea(0x1be)]([helper['getTurboScaleSessionsList'](_0x64cb7c,_0x361feb[_0x13aaea(0x162)]),exports[_0x13aaea(0x1af)](_0x1d9806[_0x13aaea(0x13a)],_0x3ce5a0,_0x361feb['config'],_0x361feb[_0x13aaea(0x1a1)],_0xcdfe97)])):([_0x64cb7c,_0x360f3d]=await helper[_0x13aaea(0x172)](_0x361feb[_0x13aaea(0x162)]),[_0x2f6e32]=await Promise[_0x13aaea(0x1be)]([helper[_0x13aaea(0x190)](_0x64cb7c,_0x361feb[_0x13aaea(0x162)]),exports['fireFunnelTestEvent'](_0x1d9806[_0x13aaea(0x13a)],_0x3ce5a0,_0x361feb[_0x13aaea(0x162)],_0x361feb[_0x13aaea(0x1a1)],_0xcdfe97)])),_0x2f6e32&&await _0x1d9806['uLdKC'](generateCIArtifacts,_0x2f6e32,_0x360f3d),logger['info'](_0x13aaea(0x145)+_0x361feb[_0x13aaea(0x177)]+_0x13aaea(0x19a)+process[_0x13aaea(0x182)][_0x13aaea(0x1b3)]),await helper[_0x13aaea(0x1ac)](_0x361feb[_0x13aaea(0x162)]);}catch(_0x32dfb3){logger[_0x13aaea(0x1b5)](_0x1d9806[_0x13aaea(0x16c)](_0x1d9806[_0x13aaea(0x1a8)],_0x32dfb3));}helper[_0x13aaea(0x1a0)]();},exports[a172_0x387b27(0x174)]=_0x3c1e9f=>{const _0x4c687f=a172_0x387b27,_0x381c54={'IfeMu':function(_0x5931fc,_0x2f8a89){return _0x5931fc instanceof _0x2f8a89;},'WzQld':function(_0x45b663,_0x42a3da){return _0x45b663(_0x42a3da);}};try{if(_0x381c54[_0x4c687f(0x15d)](_0x3c1e9f,Error))return _0x3c1e9f[_0x4c687f(0x14a)]||_0x3c1e9f[_0x4c687f(0x17c)]();return _0x381c54[_0x4c687f(0x1b8)](String,_0x3c1e9f);}catch(_0x15262b){return _0x3c1e9f?_0x3c1e9f[_0x4c687f(0x17c)]():'';}},exports[a172_0x387b27(0x1ad)]=_0x4b9406=>{const _0x4ad9f1=a172_0x387b27,_0x5549e5={};_0x5549e5['LasSr']=function(_0x44b4fa,_0x5c4808){return _0x44b4fa===_0x5c4808;};const _0x53a1eb=_0x5549e5;return!_0x4b9406||_0x53a1eb[_0x4ad9f1(0x141)](_0x4b9406['trim'](),'');},exports[a172_0x387b27(0x14f)]=_0xa0d0d0=>{const _0x4e8fe3=a172_0x387b27,_0x351420={};_0x351420[_0x4e8fe3(0x167)]=function(_0x436643,_0x499822){return _0x436643|_0x499822;};const _0x25abf8=_0x351420;try{return fs[_0x4e8fe3(0x149)](_0xa0d0d0,_0x25abf8[_0x4e8fe3(0x167)](fs[_0x4e8fe3(0x188)][_0x4e8fe3(0x19f)],fs[_0x4e8fe3(0x188)]['X_OK'])),!![];}catch(_0x8a96aa){return![];}},exports[a172_0x387b27(0x1a4)]=_0xb7136b=>{const _0x5b8ef4=a172_0x387b27;try{fs[_0x5b8ef4(0x1b6)](_0xb7136b,0x1ff),logger['debug']('Directory\x20'+_0xb7136b+_0x5b8ef4(0x195));}catch(_0x156544){logger[_0x5b8ef4(0x1b1)](_0x5b8ef4(0x14d)+exports[_0x5b8ef4(0x174)](_0x156544));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a173_0x44c1f7=a173_0x48ba;function a173_0x48ba(_0x595db0,_0x14ce65){var _0x272177=a173_0x2721();return a173_0x48ba=function(_0x48ba25,_0x2ad6d4){_0x48ba25=_0x48ba25-0x1ac;var _0x1876b3=_0x272177[_0x48ba25];return _0x1876b3;},a173_0x48ba(_0x595db0,_0x14ce65);}(function(_0x38c56f,_0x5e6608){var _0x3aafb6=a173_0x48ba,_0x4b6750=_0x38c56f();while(!![]){try{var _0x21a7ce=parseInt(_0x3aafb6(0x1e1))/0x1+-parseInt(_0x3aafb6(0x1b2))/0x2+-parseInt(_0x3aafb6(0x1d4))/0x3*(-parseInt(_0x3aafb6(0x1c3))/0x4)+parseInt(_0x3aafb6(0x22a))/0x5+parseInt(_0x3aafb6(0x224))/0x6+parseInt(_0x3aafb6(0x1c0))/0x7*(parseInt(_0x3aafb6(0x1ee))/0x8)+-parseInt(_0x3aafb6(0x1c6))/0x9*(parseInt(_0x3aafb6(0x206))/0xa);if(_0x21a7ce===_0x5e6608)break;else _0x4b6750['push'](_0x4b6750['shift']());}catch(_0x3dd600){_0x4b6750['push'](_0x4b6750['shift']());}}}(a173_0x2721,0x56651),exports[a173_0x44c1f7(0x1d1)]=()=>{var _0x1a0468=a173_0x44c1f7,_0x248975={};_0x248975[_0x1a0468(0x23a)]=_0x1a0468(0x1ae),_0x248975[_0x1a0468(0x1d3)]=_0x1a0468(0x1d9),_0x248975[_0x1a0468(0x1b7)]=_0x1a0468(0x204),_0x248975[_0x1a0468(0x1f1)]=_0x1a0468(0x1de),_0x248975['JDvHZ']=_0x1a0468(0x1da),_0x248975[_0x1a0468(0x1e4)]='useW3c',_0x248975['RwauJ']=_0x1a0468(0x23d),_0x248975[_0x1a0468(0x220)]=_0x1a0468(0x1cd),_0x248975[_0x1a0468(0x1b5)]=_0x1a0468(0x228),_0x248975[_0x1a0468(0x1f5)]=_0x1a0468(0x213),_0x248975[_0x1a0468(0x1d5)]=_0x1a0468(0x231),_0x248975[_0x1a0468(0x229)]='debug',_0x248975[_0x1a0468(0x239)]=_0x1a0468(0x1b9),_0x248975[_0x1a0468(0x235)]=_0x1a0468(0x1f0),_0x248975[_0x1a0468(0x219)]='networkLogsOptions',_0x248975['dYCsO']='appiumLogs',_0x248975[_0x1a0468(0x240)]='video',_0x248975['dpNNZ']=_0x1a0468(0x1bd),_0x248975[_0x1a0468(0x1b1)]=_0x1a0468(0x1d0),_0x248975[_0x1a0468(0x1ea)]=_0x1a0468(0x1fe),_0x248975[_0x1a0468(0x21b)]='timezone',_0x248975[_0x1a0468(0x23f)]=_0x1a0468(0x209),_0x248975[_0x1a0468(0x22e)]=_0x1a0468(0x21c),_0x248975[_0x1a0468(0x20f)]=_0x1a0468(0x1c2),_0x248975['zXoKd']='idleTimeout',_0x248975[_0x1a0468(0x1c1)]=_0x1a0468(0x207),_0x248975['SDUEp']='autoWait',_0x248975[_0x1a0468(0x201)]=_0x1a0468(0x222),_0x248975[_0x1a0468(0x20b)]=_0x1a0468(0x1d6),_0x248975['kNFwC']='wsLocalSupport',_0x248975[_0x1a0468(0x200)]='disableCorsRestrictions',_0x248975['apunV']=_0x1a0468(0x1c9),_0x248975[_0x1a0468(0x1f3)]=_0x1a0468(0x1be),_0x248975[_0x1a0468(0x1e6)]='appiumVersion',_0x248975[_0x1a0468(0x208)]=_0x1a0468(0x1c8),_0x248975['rMMMm']=_0x1a0468(0x226),_0x248975[_0x1a0468(0x1d8)]=_0x1a0468(0x1ec),_0x248975[_0x1a0468(0x238)]=_0x1a0468(0x1f4),_0x248975[_0x1a0468(0x236)]=_0x1a0468(0x1bf),_0x248975[_0x1a0468(0x21e)]=_0x1a0468(0x22b),_0x248975[_0x1a0468(0x1ca)]=_0x1a0468(0x1ef),_0x248975['OtZGW']=_0x1a0468(0x1f8),_0x248975[_0x1a0468(0x1e3)]=_0x1a0468(0x205),_0x248975['nLJrg']=_0x1a0468(0x1e2),_0x248975[_0x1a0468(0x1fd)]='accessibilityOptions.scannerProcessingTimeout',_0x248975[_0x1a0468(0x230)]=_0x1a0468(0x234),_0x248975[_0x1a0468(0x23c)]=_0x1a0468(0x202),_0x248975['Pkbec']=_0x1a0468(0x1bc),_0x248975[_0x1a0468(0x1ff)]=_0x1a0468(0x1c5),_0x248975[_0x1a0468(0x1af)]=_0x1a0468(0x1cb),_0x248975[_0x1a0468(0x217)]=_0x1a0468(0x23e),_0x248975['fyUls']=_0x1a0468(0x227),_0x248975[_0x1a0468(0x225)]='overridelocalInfo.userAuthToken',_0x248975[_0x1a0468(0x1b0)]=_0x1a0468(0x1ba),_0x248975[_0x1a0468(0x20e)]=_0x1a0468(0x1b4),_0x248975[_0x1a0468(0x23b)]=_0x1a0468(0x1ed);var _0x5c4587=_0x248975,_0x27946a={};return _0x27946a[_0x1a0468(0x1f6)]=_0x5c4587[_0x1a0468(0x23a)],_0x27946a[_0x1a0468(0x21d)]=_0x5c4587[_0x1a0468(0x1d3)],_0x27946a['os']='os',_0x27946a[_0x1a0468(0x232)]=_0x5c4587[_0x1a0468(0x1b7)],_0x27946a['browser']=_0x5c4587[_0x1a0468(0x1f1)],_0x27946a[_0x1a0468(0x20d)]=_0x5c4587[_0x1a0468(0x21f)],_0x27946a[_0x1a0468(0x212)]=_0x5c4587[_0x1a0468(0x1e4)],_0x27946a[_0x1a0468(0x216)]=_0x5c4587[_0x1a0468(0x1e7)],_0x27946a[_0x1a0468(0x223)]=_0x5c4587['JCBsl'],_0x27946a[_0x1a0468(0x210)]=_0x5c4587[_0x1a0468(0x1b5)],_0x27946a[_0x1a0468(0x1dd)]=_0x5c4587[_0x1a0468(0x1f5)],_0x27946a[_0x1a0468(0x22f)]=_0x5c4587['FmQJi'],_0x27946a[_0x1a0468(0x237)]=_0x5c4587['aeiYt'],_0x27946a['browserstack.console']=_0x5c4587[_0x1a0468(0x239)],_0x27946a[_0x1a0468(0x1f7)]=_0x5c4587[_0x1a0468(0x235)],_0x27946a[_0x1a0468(0x1b6)]=_0x5c4587['MuaCp'],_0x27946a[_0x1a0468(0x1db)]=_0x5c4587[_0x1a0468(0x1bb)],_0x27946a[_0x1a0468(0x203)]=_0x5c4587[_0x1a0468(0x240)],_0x27946a['browserstack.seleniumLogs']=_0x5c4587[_0x1a0468(0x1c4)],_0x27946a[_0x1a0468(0x22c)]=_0x5c4587[_0x1a0468(0x1b1)],_0x27946a[_0x1a0468(0x1fc)]=_0x5c4587['jZlsC'],_0x27946a[_0x1a0468(0x1cc)]=_0x5c4587[_0x1a0468(0x21b)],_0x27946a[_0x1a0468(0x209)]=_0x5c4587['HsJnL'],_0x27946a['browserstack.selenium_version']=_0x5c4587[_0x1a0468(0x22e)],_0x27946a[_0x1a0468(0x1e0)]=_0x5c4587[_0x1a0468(0x20f)],_0x27946a[_0x1a0468(0x1ac)]=_0x5c4587[_0x1a0468(0x1eb)],_0x27946a[_0x1a0468(0x233)]=_0x5c4587[_0x1a0468(0x1c1)],_0x27946a[_0x1a0468(0x1b8)]=_0x5c4587[_0x1a0468(0x215)],_0x27946a['browserstack.hosts']=_0x5c4587[_0x1a0468(0x201)],_0x27946a[_0x1a0468(0x20a)]=_0x5c4587[_0x1a0468(0x20b)],_0x27946a[_0x1a0468(0x1fa)]=_0x5c4587[_0x1a0468(0x1d7)],_0x27946a[_0x1a0468(0x1e9)]=_0x5c4587[_0x1a0468(0x200)],_0x27946a['device']=_0x5c4587[_0x1a0468(0x1e8)],_0x27946a[_0x1a0468(0x1be)]=_0x5c4587[_0x1a0468(0x1f3)],_0x27946a[_0x1a0468(0x1c7)]=_0x5c4587['gSuht'],_0x27946a[_0x1a0468(0x1c8)]=_0x5c4587[_0x1a0468(0x208)],_0x27946a[_0x1a0468(0x22d)]=_0x5c4587[_0x1a0468(0x1b3)],_0x27946a[_0x1a0468(0x1cf)]=_0x5c4587[_0x1a0468(0x1d8)],_0x27946a[_0x1a0468(0x214)]=_0x5c4587[_0x1a0468(0x238)],_0x27946a['browserstack.browserstackSDK']=_0x5c4587[_0x1a0468(0x236)],_0x27946a['browserstack.accessibility']=_0x5c4587[_0x1a0468(0x21e)],_0x27946a[_0x1a0468(0x20c)]=_0x5c4587[_0x1a0468(0x1ca)],_0x27946a[_0x1a0468(0x1ce)]=_0x5c4587['OtZGW'],_0x27946a[_0x1a0468(0x1f2)]=_0x5c4587[_0x1a0468(0x1e3)],_0x27946a[_0x1a0468(0x1d2)]=_0x5c4587[_0x1a0468(0x1e5)],_0x27946a['browserstack.accessibilityOptions.scannerProcessingTimeout']=_0x5c4587['eHDyN'],_0x27946a[_0x1a0468(0x1dc)]=_0x5c4587[_0x1a0468(0x230)],_0x27946a[_0x1a0468(0x211)]=_0x5c4587[_0x1a0468(0x23c)],_0x27946a[_0x1a0468(0x1ad)]=_0x5c4587[_0x1a0468(0x218)],_0x27946a['browserstack.uploadMedia']=_0x5c4587[_0x1a0468(0x1ff)],_0x27946a['browserstack.enableSim']=_0x5c4587['czsZT'],_0x27946a['browserstack.simOptions']=_0x5c4587[_0x1a0468(0x217)],_0x27946a[_0x1a0468(0x1df)]=_0x5c4587[_0x1a0468(0x1fb)],_0x27946a[_0x1a0468(0x21a)]=_0x5c4587[_0x1a0468(0x225)],_0x27946a[_0x1a0468(0x1f9)]=_0x5c4587['VEdCi'],_0x27946a['browserstack.headerParams']=_0x5c4587[_0x1a0468(0x20e)],_0x27946a[_0x1a0468(0x221)]=_0x5c4587[_0x1a0468(0x23b)],_0x27946a;});function a173_0x2721(){var _0x25f239=['QAqAJ','1029lipsIh','FmQJi','bfcache','kNFwC','hJicQ','accessKey','browserVersion','browserstack.appiumLogs','browserstack.accessibilityOptions.includeIssueType.bestPractice','browserstack.local','browser','browserstack.playwrightVersion','browserstack.maskCommands','366317PrJwFO','accessibilityOptions.scannerVersion','VVrxN','NOGxQ','nLJrg','gSuht','RwauJ','apunV','browserstack.disableCorsRestrictions','jZlsC','zXoKd','networkProfile','performance','24984btCcxS','buildProductMap','networkLogs','weGaA','browserstack.accessibilityOptions.wcagVersion','ZinkC','buildIdentifier','EhVHX','browserstack.user','browserstack.networkLogs','testhubBuildUuid','browserstack.overridelocalInfo.localIdentifier','browserstack.wsLocalSupport','fyUls','browserstack.geoLocation','eHDyN','geoLocation','GrgID','JulGW','pCnUG','accessibilityOptions.includeIssueType.needsReview','browserstack.video','osVersion','accessibilityOptions.wcagVersion','10dmxLea','maskBasicAuth','KAIvg','resolution','browserstack.bfcache','KPZLo','browserstack.buildProductMap','browser_version','eatQB','PWugu','name','browserstack.accessibilityOptions.includeIssueType.needsReview','browserstack.use_w3c','local','browserstack.buildIdentifier','SDUEp','project','dOoPz','Pkbec','MuaCp','browserstack.overridelocalInfo.userAuthToken','akVCU','seleniumVersion','browserstack.key','pSQER','JDvHZ','JCBsl','browserstack.performance','hosts','build','2488038ORXeZT','MkCCr','customNetwork','playwrightVersion','sessionName','aeiYt','2244865PqNRhm','accessibility','browserstack.telemetryLogs','browserstack.customNetwork','JFvtE','browserstack.localIdentifier','cBsqc','localIdentifier','os_version','browserstack.maskBasicAuth','accessibilityOptions.includeIssueType.bestPractice','ccxbH','GorEp','browserstack.debug','gNUjv','IJREl','eiLbw','lytQI','pfzcH','projectName','simOptions','HsJnL','BFEaY','browserstack.idleTimeout','browserstack.accessibilityOptions.authToken','userName','czsZT','VEdCi','mcRCH','307436NPtocD','rMMMm','headerParams','sEjKK','browserstack.networkLogsOptions','IegzF','browserstack.autoWait','consoleLogs','overridelocalInfo.localIdentifier','dYCsO','accessibilityOptions.authToken','seleniumLogs','realMobile','browserstackSDK','910ycYzcC','EDoKk','maskCommands','3412LGNMCw','dpNNZ','uploadMedia','12788469OwZiCy','browserstack.appium_version','deviceOrientation','deviceName','xlCcz','enableSim','browserstack.timezone','buildName','browserstack.testhubBuildUuid','browserstack.networkProfile','telemetryLogs','W3CMapping','browserstack.accessibilityOptions.scannerVersion'];a173_0x2721=function(){return _0x25f239;};return a173_0x2721();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a174_0xc9377e=a174_0x4f2b;(function(_0x3b795f,_0x257fab){const _0x12655f=a174_0x4f2b,_0x24ae81=_0x3b795f();while(!![]){try{const _0x38d70b=parseInt(_0x12655f(0x1d4))/0x1*(-parseInt(_0x12655f(0x1df))/0x2)+-parseInt(_0x12655f(0x19f))/0x3*(-parseInt(_0x12655f(0x192))/0x4)+parseInt(_0x12655f(0x1f3))/0x5+-parseInt(_0x12655f(0x1ba))/0x6+-parseInt(_0x12655f(0x1d3))/0x7*(parseInt(_0x12655f(0x1b6))/0x8)+parseInt(_0x12655f(0x1ab))/0x9+parseInt(_0x12655f(0x1a7))/0xa;if(_0x38d70b===_0x257fab)break;else _0x24ae81['push'](_0x24ae81['shift']());}catch(_0x2f222d){_0x24ae81['push'](_0x24ae81['shift']());}}}(a174_0x3e0d,0x5d472));function a174_0x4f2b(_0x2e7c1b,_0x520d02){const _0x3e0d6e=a174_0x3e0d();return a174_0x4f2b=function(_0x4f2b58,_0x26304e){_0x4f2b58=_0x4f2b58-0x18c;let _0x49de0f=_0x3e0d6e[_0x4f2b58];return _0x49de0f;},a174_0x4f2b(_0x2e7c1b,_0x520d02);}function a174_0x3e0d(){const _0x465c84=['SmhaG','updateHubUrl','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','format','findLatency','QfUKH','./helpers/logger','hubUrl','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','next_hubs','set','pHsya','qbFqM','hostname','yiEPx','getRequestOptions','newHubUrlBySession','allocateHub','mxeWg','then','DGnLv','174692cfHuqp','2078BJcguQ','qoUcf','./bin/utils/constants','winstonLogger','WgWRe','map','jLSDy','nextHubs','latency','setGlobal','QIWnw','322mSRpkZ','delete','length','PwjTF','resolve','NEAREST\x20HUBS\x20LIST:\x20','ERROR\x20in\x20hub\x20selection:\x20','getGlobal','status','\x20HUB\x20-\x20','replace','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','WZdpY','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','ElOfI','debug','Response:\x20','/wd/hub','fulfilled','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','1635805UXiKpr','_hubAllocationData','kUgxM','check','skipped','all','hubLatencies','907372iqRTvr','pqzYo','util','GET','jxTJR','qMpYV','mTsKh','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','WIqhX','./helpers/globals','ztWUK','Invalid\x20new\x20HUB\x20URL:\x20','catch','3cqAAAT','pnaHl','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','data','jWtEe','coLXH','lDMwP','value','8194180mDxDdV','gDALf','consumeHubUrlForSession','HUB\x20URL\x20SET\x20TO\x20-\x20','3231360dsXZia','POgBw','HUB_URL_MAP','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','now','lmmox','race','PTtee','https://','nodeRequest','BVUrN','136Rmmior','hubRegion','qXkiI','hGKnk','3549516zebIdQ','UoRsG','path','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting'];a174_0x3e0d=function(){return _0x465c84;};return a174_0x3e0d();}const url=require('url'),util=require(a174_0xc9377e(0x194)),helper=require('./helpers/helper'),logger=require(a174_0xc9377e(0x1c4))[a174_0xc9377e(0x1d7)],constants=require(a174_0xc9377e(0x1d6)),globals=require(a174_0xc9377e(0x19b));global['newHubUrlBySession']=global[a174_0xc9377e(0x1ce)]||new Map(),exports[a174_0xc9377e(0x1cd)]=_0x15ff73=>{const _0x3386dd=a174_0xc9377e,_0x2d3ee8={};_0x2d3ee8[_0x3386dd(0x1a5)]=function(_0x1a58cd,_0x2195c2){return _0x1a58cd+_0x2195c2;},_0x2d3ee8['QfUKH']=_0x3386dd(0x19d);const _0x1c152b=_0x2d3ee8,_0x32d949=url['parse'](_0x15ff73);if(!_0x32d949[_0x3386dd(0x1cb)])throw new Error(_0x1c152b[_0x3386dd(0x1a5)](_0x1c152b[_0x3386dd(0x1c3)],_0x15ff73));return _0x32d949['search']=null,_0x32d949['hash']=null,_0x32d949[_0x3386dd(0x1bc)]=_0x32d949['pathname'],_0x32d949;},exports[a174_0xc9377e(0x1bf)]=(_0x1e16b4,_0x27fd39)=>{const _0x244b1a=a174_0xc9377e,_0x1d80fd={};_0x1d80fd[_0x244b1a(0x1c9)]=_0x244b1a(0x1bd);const _0x41d0ff=_0x1d80fd;if(!_0x27fd39){logger[_0x244b1a(0x1ee)](_0x41d0ff[_0x244b1a(0x1c9)]);return;}global['newHubUrlBySession'][_0x244b1a(0x1c8)](_0x27fd39,_0x1e16b4);},exports[a174_0xc9377e(0x1a9)]=_0x40e7ea=>{const _0x20aadb=a174_0xc9377e;if(_0x40e7ea&&global[_0x20aadb(0x1ce)]['has'](_0x40e7ea)){const _0x220c7f=global[_0x20aadb(0x1ce)]['get'](_0x40e7ea);return global[_0x20aadb(0x1ce)][_0x20aadb(0x1e0)](_0x40e7ea),_0x220c7f;}return'';},exports[a174_0xc9377e(0x1cf)]=_0x3da98c=>{const _0x288c20=a174_0xc9377e,_0x52c8e0={'qMpYV':_0x288c20(0x18c),'syEQi':function(_0x4df4e7,_0x233e67){return _0x4df4e7===_0x233e67;},'mTsKh':_0x288c20(0x1f1),'kUgxM':function(_0x478884){return _0x478884();},'ElOfI':function(_0x104803,_0x4aec2f){return _0x104803==_0x4aec2f;},'jLSDy':function(_0x310aef){return _0x310aef();},'NvvQF':function(_0x243157,_0xd91056){return _0x243157!==_0xd91056;},'DGnLv':function(_0x27a369,_0x1ba0fa){return _0x27a369+_0x1ba0fa;},'gDALf':_0x288c20(0x1b3),'jWtEe':_0x288c20(0x1ea),'mxeWg':function(_0x357806,_0x45ab50){return _0x357806+_0x45ab50;},'WpJry':_0x288c20(0x1f0),'hGKnk':function(_0x206908){return _0x206908();}};return new Promise(_0x5c8b8a=>{const _0x49f9f3=_0x288c20,_0x168a1a={'PTtee':function(_0x22944d,_0x70cc77){return _0x52c8e0['NvvQF'](_0x22944d,_0x70cc77);},'QIWnw':function(_0x3689c3,_0x3feeca){const _0x10d40f=a174_0x4f2b;return _0x52c8e0[_0x10d40f(0x1d2)](_0x3689c3,_0x3feeca);},'POgBw':_0x52c8e0[_0x49f9f3(0x1a8)],'UoRsG':_0x52c8e0[_0x49f9f3(0x1a3)],'WIqhX':_0x52c8e0[_0x49f9f3(0x197)],'ztWUK':function(_0x2c3fca,_0x2883af){const _0x3266d0=_0x49f9f3;return _0x52c8e0[_0x3266d0(0x1d0)](_0x2c3fca,_0x2883af);},'pnaHl':_0x52c8e0['WpJry'],'qXkiI':function(_0x23c980){const _0x2e370c=_0x49f9f3;return _0x52c8e0[_0x2e370c(0x18d)](_0x23c980);},'PwjTF':function(_0x369d82,_0x5742e3){const _0x1b8309=_0x49f9f3;return _0x52c8e0[_0x1b8309(0x1d0)](_0x369d82,_0x5742e3);},'dzQZw':function(_0x120cca){const _0x42ae83=_0x49f9f3;return _0x52c8e0[_0x42ae83(0x1b9)](_0x120cca);}};if(_0x3da98c&&_0x3da98c['hubRegion']){const _0x160783=constants[_0x49f9f3(0x1ad)][_0x3da98c[_0x49f9f3(0x1b7)]];if(_0x160783)return constants[_0x49f9f3(0x1c5)]=_0x160783,logger[_0x49f9f3(0x1ee)](_0x49f9f3(0x1c0)+_0x160783),globals[_0x49f9f3(0x1dd)](_0x52c8e0['qMpYV'],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x160783[_0x49f9f3(0x1e9)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x49f9f3(0x1af)]()}),_0x52c8e0[_0x49f9f3(0x1da)](_0x5c8b8a);logger[_0x49f9f3(0x1ee)]('hubRegion\x20'+_0x3da98c['hubRegion']+_0x49f9f3(0x1f2));}Promise[_0x49f9f3(0x1e3)](this[_0x49f9f3(0x1db)](_0x3da98c))[_0x49f9f3(0x1d1)](_0x75b06a=>{const _0x57fa17=_0x49f9f3,_0xa24c94={'coLXH':_0x52c8e0[_0x57fa17(0x197)],'WgWRe':function(_0x2a281e,_0x10c3ea){return _0x52c8e0['syEQi'](_0x2a281e,_0x10c3ea);},'hDpHw':_0x52c8e0[_0x57fa17(0x198)],'SmhaG':function(_0x39594f){const _0x2c3c51=_0x57fa17;return _0x52c8e0[_0x2c3c51(0x18d)](_0x39594f);}};logger[_0x57fa17(0x1ee)](_0x57fa17(0x1e4)+util[_0x57fa17(0x1c1)]('%j',_0x75b06a));if(_0x52c8e0[_0x57fa17(0x1ed)](_0x75b06a,null)||_0x52c8e0['syEQi'](_0x75b06a[_0x57fa17(0x1e1)],0x0))return _0x52c8e0[_0x57fa17(0x1da)](_0x5c8b8a);const _0x3e3dd7=_0x75b06a[_0x57fa17(0x1d9)](_0x1aec33=>{const _0x5d0a88=_0x57fa17,_0x1753c4={'yiEPx':function(_0x31ba5b,_0x1853bf){const _0xd05ffb=a174_0x4f2b;return _0x168a1a[_0xd05ffb(0x1b2)](_0x31ba5b,_0x1853bf);}},_0x328dd1=_0x168a1a[_0x5d0a88(0x1de)](_0x168a1a[_0x5d0a88(0x1ac)],_0x1aec33);return this[_0x5d0a88(0x1c2)](_0x3da98c,_0x328dd1)[_0x5d0a88(0x1d1)](_0x5a7640=>{const _0xb09b41=_0x5d0a88;if(_0x5a7640&&_0x5a7640[_0xb09b41(0x1c5)]&&_0x1753c4[_0xb09b41(0x1cc)](_0x5a7640[_0xb09b41(0x1dc)],undefined)){const _0x56b883={};return _0x56b883[_0xb09b41(0x1c5)]=_0x5a7640[_0xb09b41(0x1c5)],_0x56b883[_0xb09b41(0x1dc)]=_0x5a7640[_0xb09b41(0x1dc)],_0x56b883['ok']=!![],_0x56b883;}const _0x18e0de={};return _0x18e0de[_0xb09b41(0x1c5)]=_0x328dd1,_0x18e0de['latency']=null,_0x18e0de['ok']=![],_0x18e0de;})[_0x5d0a88(0x19e)](()=>({'hubUrl':_0x328dd1,'latency':null,'ok':![]}));});Promise[_0x57fa17(0x1b1)](_0x3e3dd7[_0x57fa17(0x1d9)](_0x42b9bd=>_0x42b9bd[_0x57fa17(0x1d1)](_0x5eaa86=>_0x5eaa86['ok']?_0x5eaa86:null)))['then'](_0x34d8fe=>{const _0x224525=_0x57fa17;if(_0x34d8fe)return _0x34d8fe;return Promise[_0x224525(0x190)](_0x3e3dd7)[_0x224525(0x1d1)](()=>null);})[_0x57fa17(0x1d1)](_0x59fc29=>{const _0x58c7e8=_0x57fa17;if(!_0x59fc29){logger[_0x58c7e8(0x1ee)](_0x168a1a[_0x58c7e8(0x1bb)]);const _0x5433c0=_0x168a1a[_0x58c7e8(0x1de)](_0x168a1a[_0x58c7e8(0x1ac)],_0x75b06a[0x0]);return globals[_0x58c7e8(0x1dd)](_0x168a1a[_0x58c7e8(0x19a)],{'nearestHubs':_0x75b06a[_0x58c7e8(0x1d9)](_0x4013a2=>_0x58c7e8(0x1b3)+_0x4013a2),'hubLatencies':{},'selectedHub':_0x5433c0,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x58c7e8(0x1af)]()}),constants[_0x58c7e8(0x1c5)]=_0x168a1a[_0x58c7e8(0x19c)](_0x5433c0,_0x168a1a[_0x58c7e8(0x1a0)]),logger[_0x58c7e8(0x1ee)]('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0x5433c0),_0x168a1a[_0x58c7e8(0x1b8)](_0x5c8b8a);}const _0x300f9f={[_0x59fc29[_0x58c7e8(0x1c5)]]:_0x59fc29['latency']},_0x4f529d={'nearestHubs':_0x75b06a[_0x58c7e8(0x1d9)](_0x1c9b68=>'https://'+_0x1c9b68),'hubLatencies':_0x300f9f,'selectedHub':_0x59fc29['hubUrl'],'selectedHubLatency':_0x59fc29[_0x58c7e8(0x1dc)],'timestamp':Date[_0x58c7e8(0x1af)]()};globals[_0x58c7e8(0x1dd)](_0x168a1a[_0x58c7e8(0x19a)],_0x4f529d),constants['hubUrl']=_0x168a1a[_0x58c7e8(0x1e2)](_0x59fc29[_0x58c7e8(0x1c5)],_0x168a1a['pnaHl']),logger[_0x58c7e8(0x1ee)](_0x58c7e8(0x1aa)+_0x59fc29['hubUrl']),_0x168a1a['dzQZw'](_0x5c8b8a),Promise['allSettled'](_0x3e3dd7)['then'](_0x57f3a9=>{const _0x48cb6f=_0x58c7e8;try{const _0x1743b2=globals[_0x48cb6f(0x1e6)](_0xa24c94[_0x48cb6f(0x1a4)]);if(!_0x1743b2||_0x1743b2[_0x48cb6f(0x18f)])return;const _0x102e10={};for(const _0x2f10cd of _0x57f3a9){_0xa24c94[_0x48cb6f(0x1d8)](_0x2f10cd[_0x48cb6f(0x1e7)],_0xa24c94['hDpHw'])&&_0x2f10cd[_0x48cb6f(0x1a6)]&&_0x2f10cd[_0x48cb6f(0x1a6)]['ok']&&(_0x102e10[_0x2f10cd['value'][_0x48cb6f(0x1c5)]]=_0x2f10cd['value'][_0x48cb6f(0x1dc)]);}_0x1743b2[_0x48cb6f(0x191)]=_0x102e10;}catch(_0x1c5ed1){logger[_0x48cb6f(0x1ee)](_0x48cb6f(0x1ec)+_0x1c5ed1);}})[_0x58c7e8(0x19e)](_0x4571b7=>{const _0x1f16a0=_0x58c7e8;logger[_0x1f16a0(0x1ee)](_0x1f16a0(0x1ae)+_0x4571b7);});})['catch'](_0x4072ad=>{const _0x4ad87a=_0x57fa17;logger[_0x4ad87a(0x1ee)](_0x4ad87a(0x1e5)+_0x4072ad),_0xa24c94[_0x4ad87a(0x1be)](_0x5c8b8a);});})[_0x49f9f3(0x19e)](_0x321279=>{const _0x262456=_0x49f9f3;logger[_0x262456(0x1ee)](_0x262456(0x1a1)+_0x321279),_0x52c8e0['kUgxM'](_0x5c8b8a);});});},exports[a174_0xc9377e(0x1c2)]=async(_0x3ca426,_0x45bcef)=>{const _0x1f9047=a174_0xc9377e,_0x391d89={};_0x391d89[_0x1f9047(0x1eb)]=_0x1f9047(0x195),_0x391d89[_0x1f9047(0x1b0)]=_0x1f9047(0x18e),_0x391d89[_0x1f9047(0x1ca)]=function(_0x356df3,_0x44b012){return _0x356df3-_0x44b012;};const _0x3824fe=_0x391d89;try{const _0x18113d=new Date();await helper[_0x1f9047(0x1b4)](_0x3824fe[_0x1f9047(0x1eb)],_0x3824fe['lmmox'],{},_0x3ca426,_0x45bcef,0x1388);const _0x1e2c51=_0x3824fe[_0x1f9047(0x1ca)](new Date(),_0x18113d);logger[_0x1f9047(0x1ee)]('Execution\x20time\x20for\x20'+_0x45bcef+'\x20is:\x20'+_0x1e2c51+'ms');const _0x17fbce={};return _0x17fbce[_0x1f9047(0x1c5)]=_0x45bcef,_0x17fbce['latency']=_0x1e2c51,_0x17fbce;}catch(_0x3f6d14){return logger[_0x1f9047(0x1ee)](_0x1f9047(0x1c6)+_0x45bcef+_0x1f9047(0x1e8)+_0x3f6d14),{};}},exports[a174_0xc9377e(0x1db)]=async _0x5a6714=>{const _0xb857b9=a174_0xc9377e,_0x2cf3c6={'pqzYo':function(_0x37d9b6,_0x14669f){return _0x37d9b6(_0x14669f);},'jxTJR':_0xb857b9(0x1d6),'BVUrN':'/wd/hub','qoUcf':_0xb857b9(0x195),'JWfzA':_0xb857b9(0x1c7)};try{const _0x1dc9a0=_0x2cf3c6[_0xb857b9(0x193)](require,_0x2cf3c6[_0xb857b9(0x196)])[_0xb857b9(0x1c5)][_0xb857b9(0x1e9)](_0x2cf3c6[_0xb857b9(0x1b5)],''),_0x132f09=await helper[_0xb857b9(0x1b4)](_0x2cf3c6[_0xb857b9(0x1d5)],_0x2cf3c6['JWfzA'],{},_0x5a6714,_0x1dc9a0,0x1388),_0x549fce=_0x132f09[_0xb857b9(0x1a2)];return logger[_0xb857b9(0x1ee)](_0xb857b9(0x1ef)+util[_0xb857b9(0x1c1)]('%j',_0x549fce)),_0x549fce['hubs'];}catch(_0x5a33b3){logger['debug'](_0xb857b9(0x199)+_0x5a33b3);}return null;};
|
|
1
|
+
function a174_0x51ce(){const _0x355f9e=['NEAREST\x20HUBS\x20LIST:\x20','9564IMGDAA','Lfhal','VDvug','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','pfpqw','status','resolve','Jgolg','spFdm','./helpers/logger','DtqkD','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','KwlIb','2836682OHNVVc','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','./bin/utils/constants','fmeHe','5TDekFE','XPUav','hash','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','nodeRequest','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','_hubAllocationData','YEPxO','CKzXK','HUB\x20URL\x20SET\x20TO\x20-\x20','findLatency','debug','path','pYMkW','Response:\x20','next_hubs','length','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','check','race','8064kVWcSf','has','xkVAp','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','hubRegion','12596824OOSPdW','now','catch','nextHubs','./helpers/helper','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','./helpers/globals','4022283AEQFir','delete','HUB_URL_MAP','hubRegion\x20','1805870tZoWxI','tudSY','hubLatencies','lsXyB','BaOSJ','ZXjvu','winstonLogger','replace','Execution\x20time\x20for\x20','allSettled','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','XhkOs','antKy','\x20HUB\x20-\x20','util','DyIdK','latency','GET','hostname','LOXlV','format','Tjtbb','Invalid\x20new\x20HUB\x20URL:\x20','then','setGlobal','value','qSrWI','hubs','pathname','newHubUrlBySession','https://','mnDec','7399732ndurfH','/wd/hub','get','fulfilled','data','vmTCv','search','jAoym','getRequestOptions','allocateHub','map','irEMU','LvBnB','hubUrl','22379715hwucJM','IigZs'];a174_0x51ce=function(){return _0x355f9e;};return a174_0x51ce();}const a174_0x51898a=a174_0x22b0;(function(_0x5c8fa1,_0x992a32){const _0xd89b7e=a174_0x22b0,_0x3b1432=_0x5c8fa1();while(!![]){try{const _0x179624=parseInt(_0xd89b7e(0x106))/0x1+parseInt(_0xd89b7e(0x144))/0x2+-parseInt(_0xd89b7e(0x102))/0x3+parseInt(_0xd89b7e(0x126))/0x4*(parseInt(_0xd89b7e(0x148))/0x5)+parseInt(_0xd89b7e(0x137))/0x6*(-parseInt(_0xd89b7e(0xf6))/0x7)+parseInt(_0xd89b7e(0xfb))/0x8+-parseInt(_0xd89b7e(0x134))/0x9;if(_0x179624===_0x992a32)break;else _0x3b1432['push'](_0x3b1432['shift']());}catch(_0x4390b1){_0x3b1432['push'](_0x3b1432['shift']());}}}(a174_0x51ce,0xf07e7));const url=require('url'),util=require(a174_0x51898a(0x114)),helper=require(a174_0x51898a(0xff)),logger=require(a174_0x51898a(0x140))[a174_0x51898a(0x10c)],constants=require(a174_0x51898a(0x146)),globals=require(a174_0x51898a(0x101));function a174_0x22b0(_0x25c74e,_0x444ede){const _0x51cec8=a174_0x51ce();return a174_0x22b0=function(_0x22b0e1,_0x546fae){_0x22b0e1=_0x22b0e1-0xf2;let _0x2edd42=_0x51cec8[_0x22b0e1];return _0x2edd42;},a174_0x22b0(_0x25c74e,_0x444ede);}global[a174_0x51898a(0x123)]=global[a174_0x51898a(0x123)]||new Map(),exports[a174_0x51898a(0x12e)]=_0x445cd0=>{const _0x17efbc=a174_0x51898a,_0x5d78cf={};_0x5d78cf[_0x17efbc(0x143)]=function(_0x5cb07b,_0xd4a7ad){return _0x5cb07b+_0xd4a7ad;},_0x5d78cf['MkEJm']=_0x17efbc(0x11c);const _0x578028=_0x5d78cf,_0x3b6aad=url['parse'](_0x445cd0);if(!_0x3b6aad[_0x17efbc(0x118)])throw new Error(_0x578028[_0x17efbc(0x143)](_0x578028['MkEJm'],_0x445cd0));return _0x3b6aad[_0x17efbc(0x12c)]=null,_0x3b6aad[_0x17efbc(0x14a)]=null,_0x3b6aad[_0x17efbc(0x154)]=_0x3b6aad[_0x17efbc(0x122)],_0x3b6aad;},exports['updateHubUrl']=(_0x7a28c6,_0x798c76)=>{const _0x1a59a3=a174_0x51898a,_0x15f1c4={};_0x15f1c4['antKy']=_0x1a59a3(0xf9);const _0x43ded1=_0x15f1c4;if(!_0x798c76){logger[_0x1a59a3(0x153)](_0x43ded1[_0x1a59a3(0x112)]);return;}global[_0x1a59a3(0x123)]['set'](_0x798c76,_0x7a28c6);},exports['consumeHubUrlForSession']=_0x5c96cd=>{const _0x5aab8d=a174_0x51898a;if(_0x5c96cd&&global['newHubUrlBySession'][_0x5aab8d(0xf7)](_0x5c96cd)){const _0xf8f01b=global[_0x5aab8d(0x123)][_0x5aab8d(0x128)](_0x5c96cd);return global[_0x5aab8d(0x123)][_0x5aab8d(0x103)](_0x5c96cd),_0xf8f01b;}return'';},exports[a174_0x51898a(0x12f)]=_0x583698=>{const _0x4fd8ad=a174_0x51898a,_0x321263={'dCHbP':function(_0x1e7a68,_0x15f252){return _0x1e7a68!==_0x15f252;},'pYMkW':_0x4fd8ad(0x14e),'qSrWI':function(_0x35b9c3,_0x39936c){return _0x35b9c3===_0x39936c;},'DtqkD':_0x4fd8ad(0x129),'jAoym':function(_0x435a74,_0x33164f){return _0x435a74==_0x33164f;},'IigZs':function(_0x464d3c){return _0x464d3c();},'VDvug':function(_0x428ce5,_0x4c970a){return _0x428ce5+_0x4c970a;},'xkVAp':_0x4fd8ad(0x124),'Lfhal':_0x4fd8ad(0x13a),'CKzXK':_0x4fd8ad(0x127)};return new Promise(_0x5be6d5=>{const _0x557067=_0x4fd8ad,_0x597275={'Jgolg':function(_0x2859b7,_0x568036){const _0xc717f3=a174_0x22b0;return _0x321263[_0xc717f3(0x139)](_0x2859b7,_0x568036);},'XhkOs':_0x321263[_0x557067(0xf8)],'vmTCv':_0x321263[_0x557067(0x138)],'LOXlV':_0x321263[_0x557067(0x155)],'Tjtbb':_0x321263[_0x557067(0x150)],'irEMU':function(_0x4c3da9){const _0x3e78fd=_0x557067;return _0x321263[_0x3e78fd(0x135)](_0x4c3da9);},'fmeHe':function(_0x6cf8ff,_0x5237d7){return _0x321263['VDvug'](_0x6cf8ff,_0x5237d7);},'ZXjvu':function(_0x33aa31){return _0x321263['IigZs'](_0x33aa31);},'XPUav':function(_0x58cabd){const _0x1572c8=_0x557067;return _0x321263[_0x1572c8(0x135)](_0x58cabd);}};if(_0x583698&&_0x583698[_0x557067(0xfa)]){const _0x3442a2=constants[_0x557067(0x104)][_0x583698[_0x557067(0xfa)]];if(_0x3442a2)return constants[_0x557067(0x133)]=_0x3442a2,logger[_0x557067(0x153)](_0x557067(0x100)+_0x3442a2),globals[_0x557067(0x11e)](_0x321263[_0x557067(0x155)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x3442a2[_0x557067(0x10d)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x557067(0xfc)]()}),_0x321263[_0x557067(0x135)](_0x5be6d5);logger[_0x557067(0x153)](_0x557067(0x105)+_0x583698['hubRegion']+_0x557067(0x14d));}Promise[_0x557067(0x13d)](this['nextHubs'](_0x583698))['then'](_0x5c2267=>{const _0x499112=_0x557067,_0x456e2f={'DyIdK':function(_0x5377a5,_0x190878){return _0x321263['dCHbP'](_0x5377a5,_0x190878);},'tudSY':_0x321263[_0x499112(0x155)],'LvBnB':function(_0x4882f9,_0x55bfe1){const _0x940675=_0x499112;return _0x321263[_0x940675(0x120)](_0x4882f9,_0x55bfe1);},'zzRBZ':_0x321263[_0x499112(0x141)]};logger[_0x499112(0x153)](_0x499112(0x136)+util[_0x499112(0x11a)]('%j',_0x5c2267));if(_0x321263[_0x499112(0x12d)](_0x5c2267,null)||_0x321263['qSrWI'](_0x5c2267[_0x499112(0xf2)],0x0))return _0x321263[_0x499112(0x135)](_0x5be6d5);const _0x4b5c7f=_0x5c2267[_0x499112(0x130)](_0x5dbc16=>{const _0x441574=_0x499112,_0x415a9c=_0x597275['Jgolg'](_0x597275[_0x441574(0x111)],_0x5dbc16);return this[_0x441574(0x152)](_0x583698,_0x415a9c)[_0x441574(0x11d)](_0x567cf6=>{const _0x5b0a49=_0x441574;if(_0x567cf6&&_0x567cf6[_0x5b0a49(0x133)]&&_0x456e2f[_0x5b0a49(0x115)](_0x567cf6[_0x5b0a49(0x116)],undefined)){const _0x202570={};return _0x202570[_0x5b0a49(0x133)]=_0x567cf6[_0x5b0a49(0x133)],_0x202570['latency']=_0x567cf6[_0x5b0a49(0x116)],_0x202570['ok']=!![],_0x202570;}const _0x5829e5={};return _0x5829e5[_0x5b0a49(0x133)]=_0x415a9c,_0x5829e5[_0x5b0a49(0x116)]=null,_0x5829e5['ok']=![],_0x5829e5;})[_0x441574(0xfd)](()=>({'hubUrl':_0x415a9c,'latency':null,'ok':![]}));});Promise[_0x499112(0xf5)](_0x4b5c7f[_0x499112(0x130)](_0x19fbae=>_0x19fbae[_0x499112(0x11d)](_0x561668=>_0x561668['ok']?_0x561668:null)))[_0x499112(0x11d)](_0x4ec0ed=>{if(_0x4ec0ed)return _0x4ec0ed;return Promise['all'](_0x4b5c7f)['then'](()=>null);})['then'](_0x1bee4f=>{const _0x31f26a=_0x499112;if(!_0x1bee4f){logger[_0x31f26a(0x153)](_0x597275[_0x31f26a(0x12b)]);const _0x38d713=_0x597275[_0x31f26a(0x13e)](_0x597275['XhkOs'],_0x5c2267[0x0]);return globals[_0x31f26a(0x11e)](_0x597275[_0x31f26a(0x119)],{'nearestHubs':_0x5c2267[_0x31f26a(0x130)](_0x436c53=>'https://'+_0x436c53),'hubLatencies':{},'selectedHub':_0x38d713,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x31f26a(0xfc)]()}),constants[_0x31f26a(0x133)]=_0x597275['Jgolg'](_0x38d713,_0x597275[_0x31f26a(0x11b)]),logger['debug'](_0x31f26a(0x110)+_0x38d713),_0x597275[_0x31f26a(0x131)](_0x5be6d5);}const _0x2c3dc8={[_0x1bee4f['hubUrl']]:_0x1bee4f[_0x31f26a(0x116)]},_0x5b274a={'nearestHubs':_0x5c2267[_0x31f26a(0x130)](_0x138a54=>_0x31f26a(0x124)+_0x138a54),'hubLatencies':_0x2c3dc8,'selectedHub':_0x1bee4f[_0x31f26a(0x133)],'selectedHubLatency':_0x1bee4f[_0x31f26a(0x116)],'timestamp':Date[_0x31f26a(0xfc)]()};globals[_0x31f26a(0x11e)](_0x597275[_0x31f26a(0x119)],_0x5b274a),constants[_0x31f26a(0x133)]=_0x597275[_0x31f26a(0x147)](_0x1bee4f['hubUrl'],_0x597275[_0x31f26a(0x11b)]),logger[_0x31f26a(0x153)](_0x31f26a(0x151)+_0x1bee4f['hubUrl']),_0x597275[_0x31f26a(0x10b)](_0x5be6d5),Promise[_0x31f26a(0x10f)](_0x4b5c7f)[_0x31f26a(0x11d)](_0xbc98=>{const _0x32f0b9=_0x31f26a;try{const _0x12f2cb=globals['getGlobal'](_0x456e2f[_0x32f0b9(0x107)]);if(!_0x12f2cb||_0x12f2cb['skipped'])return;const _0x4105f3={};for(const _0x99cdd7 of _0xbc98){_0x456e2f[_0x32f0b9(0x132)](_0x99cdd7[_0x32f0b9(0x13c)],_0x456e2f['zzRBZ'])&&_0x99cdd7[_0x32f0b9(0x11f)]&&_0x99cdd7[_0x32f0b9(0x11f)]['ok']&&(_0x4105f3[_0x99cdd7['value'][_0x32f0b9(0x133)]]=_0x99cdd7['value']['latency']);}_0x12f2cb[_0x32f0b9(0x108)]=_0x4105f3;}catch(_0x5dc062){logger[_0x32f0b9(0x153)](_0x32f0b9(0x145)+_0x5dc062);}})[_0x31f26a(0xfd)](_0x59a53c=>{const _0x38eaf6=_0x31f26a;logger[_0x38eaf6(0x153)](_0x38eaf6(0x142)+_0x59a53c);});})[_0x499112(0xfd)](_0x2cc668=>{const _0x3d928a=_0x499112;logger[_0x3d928a(0x153)]('ERROR\x20in\x20hub\x20selection:\x20'+_0x2cc668),_0x597275[_0x3d928a(0x149)](_0x5be6d5);});})[_0x557067(0xfd)](_0x421a00=>{const _0x47da92=_0x557067;logger['debug'](_0x47da92(0xf3)+_0x421a00),_0x321263['IigZs'](_0x5be6d5);});});},exports[a174_0x51898a(0x152)]=async(_0x32557d,_0x472597)=>{const _0x4a4a6d=a174_0x51898a,_0x199b93={};_0x199b93[_0x4a4a6d(0x125)]=_0x4a4a6d(0x117),_0x199b93['lsXyB']=_0x4a4a6d(0xf4),_0x199b93[_0x4a4a6d(0x10a)]=function(_0x149317,_0x48c0a0){return _0x149317-_0x48c0a0;};const _0x5ca63f=_0x199b93;try{const _0x5ca8e6=new Date();await helper[_0x4a4a6d(0x14c)](_0x5ca63f[_0x4a4a6d(0x125)],_0x5ca63f[_0x4a4a6d(0x109)],{},_0x32557d,_0x472597,0x1388);const _0x1980fb=_0x5ca63f[_0x4a4a6d(0x10a)](new Date(),_0x5ca8e6);logger['debug'](_0x4a4a6d(0x10e)+_0x472597+'\x20is:\x20'+_0x1980fb+'ms');const _0x42f717={};return _0x42f717[_0x4a4a6d(0x133)]=_0x472597,_0x42f717[_0x4a4a6d(0x116)]=_0x1980fb,_0x42f717;}catch(_0x81035c){return logger['debug']('ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20'+_0x472597+_0x4a4a6d(0x113)+_0x81035c),{};}},exports[a174_0x51898a(0xfe)]=async _0x32c432=>{const _0x518c2e=a174_0x51898a,_0x33dfb9={'pfpqw':function(_0x1ac635,_0x16419b){return _0x1ac635(_0x16419b);},'YEPxO':_0x518c2e(0x146),'GNMAF':_0x518c2e(0x127),'spFdm':_0x518c2e(0x117),'qbmwE':_0x518c2e(0x157)};try{const _0x4859f1=_0x33dfb9[_0x518c2e(0x13b)](require,_0x33dfb9[_0x518c2e(0x14f)])[_0x518c2e(0x133)][_0x518c2e(0x10d)](_0x33dfb9['GNMAF'],''),_0x25064e=await helper[_0x518c2e(0x14c)](_0x33dfb9[_0x518c2e(0x13f)],_0x33dfb9['qbmwE'],{},_0x32c432,_0x4859f1,0x1388),_0x4fbc17=_0x25064e[_0x518c2e(0x12a)];return logger[_0x518c2e(0x153)](_0x518c2e(0x156)+util[_0x518c2e(0x11a)]('%j',_0x4fbc17)),_0x4fbc17[_0x518c2e(0x121)];}catch(_0x1197cf){logger[_0x518c2e(0x153)](_0x518c2e(0x14b)+_0x1197cf);}return null;};
|