browserstack-node-sdk 1.60.1 → 1.62.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/browserstack.pw.yml.sample +10 -0
- package/browserstack.yml.sample +10 -0
- 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
|
+
const a170_0x4963e4=a170_0x3112;(function(_0x27dab7,_0x425f0f){const _0x1fa0ca=a170_0x3112,_0x229d89=_0x27dab7();while(!![]){try{const _0x4983c1=parseInt(_0x1fa0ca(0xc1))/0x1+-parseInt(_0x1fa0ca(0x105))/0x2*(-parseInt(_0x1fa0ca(0xb9))/0x3)+parseInt(_0x1fa0ca(0xd7))/0x4+parseInt(_0x1fa0ca(0xb7))/0x5*(-parseInt(_0x1fa0ca(0x172))/0x6)+-parseInt(_0x1fa0ca(0x10e))/0x7+-parseInt(_0x1fa0ca(0x119))/0x8+parseInt(_0x1fa0ca(0xdd))/0x9;if(_0x4983c1===_0x425f0f)break;else _0x229d89['push'](_0x229d89['shift']());}catch(_0x171fe0){_0x229d89['push'](_0x229d89['shift']());}}}(a170_0x21d7,0x5165a));const bsSetupHelper=require('../helper'),LoadTestModule=require(a170_0x4963e4(0x152)),{isTestObservabilitySession,getFrameworkVersion}=require(a170_0x4963e4(0xe0)),accessibilityHelper=require(a170_0x4963e4(0x15a)),logger=require(a170_0x4963e4(0xcb))['winstonLogger'],{nestedKeyValue}=require('../helper.js'),scripts=require(a170_0x4963e4(0x13b)),globals=require(a170_0x4963e4(0x12c)),testHubConstants=require(a170_0x4963e4(0x18c)),PWTestDetails=require(a170_0x4963e4(0x183)),JestTestDetails=require(a170_0x4963e4(0x17b)),{FRAMEWORKS}=require(a170_0x4963e4(0xfa)),{isTurboScaleSession}=require('../ats/helper'),OrchestrationUtils=require(a170_0x4963e4(0x107)),constants=require(a170_0x4963e4(0x14c));let testData={};exports[a170_0x4963e4(0xbc)]=_0x27e234=>{const _0x562490=a170_0x4963e4,_0x13bf8b={'KVfTJ':function(_0x296dcc){return _0x296dcc();},'xzuif':function(_0x59b7e7,_0x123f9e){return _0x59b7e7===_0x123f9e;},'JcCCL':_0x562490(0x12a)};let _0x30fb3b=![],_0x1948ed=![];if(bsSetupHelper[_0x562490(0x186)]()&&bsSetupHelper[_0x562490(0x14e)](_0x27e234))_0x1948ed=!![];else bsSetupHelper[_0x562490(0x186)]()&&(_0x30fb3b=!![]);return Object[_0x562490(0xc7)]({'observability':_0x13bf8b[_0x562490(0x123)](isTestObservabilitySession),'accessibility':exports['isAccessibilityEnabled'](_0x27e234),'percy':_0x27e234[_0x562490(0x116)]||![],'sr_automation':_0x13bf8b[_0x562490(0x185)](process[_0x562490(0xcd)][_0x562490(0xf3)],_0x13bf8b[_0x562490(0xf4)])||_0x27e234[_0x562490(0xdb)]||![],'automate':_0x30fb3b,'app_automate':_0x1948ed,'turboscale':bsSetupHelper[_0x562490(0x129)](_0x27e234),'lts':LoadTestModule[_0x562490(0xbb)](_0x27e234)},bsSetupHelper[_0x562490(0xfd)]());},exports[a170_0x4963e4(0x110)]=(_0x13f721,_0x1e5009)=>{const _0x54cc8d=a170_0x4963e4,_0x4ff13f={'eFkQa':function(_0x236b0b,_0x2e2ad8){return _0x236b0b(_0x2e2ad8);},'OhUBX':_0x54cc8d(0xeb)},_0x12b2a5={'frameworkName':_0x1e5009,'frameworkVersion':_0x4ff13f['eFkQa'](getFrameworkVersion,_0x1e5009),'sdkVersion':bsSetupHelper[_0x54cc8d(0xe5)](),'language':_0x4ff13f[_0x54cc8d(0xfb)],'testFramework':bsSetupHelper[_0x54cc8d(0x14f)](_0x13f721,_0x1e5009)};return process[_0x54cc8d(0xcd)][_0x54cc8d(0xc6)]=JSON[_0x54cc8d(0xc8)](_0x12b2a5),_0x12b2a5;},exports['setPercyFlag']=_0x334585=>{const _0x12d3f2=a170_0x4963e4,_0x2e5443={};_0x2e5443[_0x12d3f2(0x151)]=_0x12d3f2(0xf7),_0x2e5443['rInLw']=_0x12d3f2(0x12a);const _0x39e0fc=_0x2e5443;process[_0x12d3f2(0xcd)][_0x12d3f2(0xe2)]=_0x39e0fc[_0x12d3f2(0x151)],bsSetupHelper['isTrue'](_0x334585['config'][_0x12d3f2(0x116)])&&(!_0x334585['percy']||!_0x334585[_0x12d3f2(0x116)][_0x12d3f2(0x12d)]())&&(process[_0x12d3f2(0xcd)]['BROWSERSTACK_PERCY']=_0x39e0fc['rInLw']);},exports[a170_0x4963e4(0x16f)]=()=>{const _0x261333=a170_0x4963e4;return bsSetupHelper[_0x261333(0x14b)](process['env'][_0x261333(0xe2)]);},exports['isAccessibilityEnabled']=(_0x5b981f={})=>{const _0x1e012f=a170_0x4963e4,_0x57845a={};_0x57845a['IgDsi']=function(_0x50ba2e,_0x46f492){return _0x50ba2e!==_0x46f492;},_0x57845a[_0x1e012f(0xc0)]=function(_0x7c548b,_0x1d808b){return _0x7c548b===_0x1d808b;},_0x57845a[_0x1e012f(0x112)]=_0x1e012f(0x12a),_0x57845a['dqhjJ']=function(_0x18a0e3,_0x34c791){return _0x18a0e3>_0x34c791;},_0x57845a['aqUxm']=function(_0x1f2352,_0x5432d3){return _0x1f2352===_0x5432d3;};const _0x53108c=_0x57845a;if(_0x53108c['IgDsi'](process[_0x1e012f(0xcd)][_0x1e012f(0xed)],undefined))return bsSetupHelper['isTrue'](process[_0x1e012f(0xcd)]['BROWSERSTACK_ACCESSIBILITY']);let _0x6c8983=_0x53108c[_0x1e012f(0xc0)](process[_0x1e012f(0xcd)][_0x1e012f(0x11a)],_0x53108c[_0x1e012f(0x112)]);return _0x53108c[_0x1e012f(0x16a)](Object['keys'](_0x5b981f)[_0x1e012f(0x135)],0x0)&&(process[_0x1e012f(0xcd)][_0x1e012f(0x104)]=accessibilityHelper[_0x1e012f(0xbe)](_0x5b981f)),_0x6c8983=_0x6c8983||_0x53108c[_0x1e012f(0xba)](process[_0x1e012f(0xcd)][_0x1e012f(0x104)],_0x53108c[_0x1e012f(0x112)]),_0x6c8983;},exports['setTestObservabilityVariables']=(_0x4f7f91,_0x295ef2)=>{const _0x1f1a6e=a170_0x4963e4,_0x442a30={'wtHKg':function(_0x3ca0e5){return _0x3ca0e5();},'KdGee':_0x1f1a6e(0x103),'nRJzr':_0x1f1a6e(0x12a),'iLAHi':function(_0x635d82,_0x41c8d0,_0x26dd51){return _0x635d82(_0x41c8d0,_0x26dd51);},'RnLOm':_0x1f1a6e(0x16b),'FAHYH':'options'};if(!_0x4f7f91||!_0x4f7f91[_0x1f1a6e(0x16b)])return exports[_0x1f1a6e(0x17c)](),[null,null,null];if(!_0x4f7f91[_0x1f1a6e(0x16b)][_0x1f1a6e(0x170)])return exports[_0x1f1a6e(0x17c)](_0x4f7f91[_0x1f1a6e(0x16b)]),[null,null,null];if(_0x442a30[_0x1f1a6e(0x131)](isTestObservabilitySession)){const _0x3b1ee9=_0x442a30[_0x1f1a6e(0x147)][_0x1f1a6e(0x159)]('|');let _0x50addf=0x0;while(!![]){switch(_0x3b1ee9[_0x50addf++]){case'0':logger[_0x1f1a6e(0xe1)]('['+constants[_0x1f1a6e(0x14a)]+_0x1f1a6e(0x179)+_0x4f7f91[_0x1f1a6e(0xd0)]);continue;case'1':process[_0x1f1a6e(0xcd)][_0x1f1a6e(0xb8)]=_0x442a30[_0x1f1a6e(0x15c)];continue;case'2':return[_0x4f7f91[_0x1f1a6e(0xb5)],_0x4f7f91[_0x1f1a6e(0xd0)],process[_0x1f1a6e(0xcd)][_0x1f1a6e(0xd1)]];case'3':_0x442a30[_0x1f1a6e(0x13f)](nestedKeyValue,_0x4f7f91,[_0x442a30[_0x1f1a6e(0x188)],_0x442a30[_0x1f1a6e(0xe4)]])&&(process['env'][_0x1f1a6e(0xd1)]=_0x4f7f91[_0x1f1a6e(0x16b)][_0x1f1a6e(0x11b)][_0x1f1a6e(0x168)]['toString']());continue;case'4':_0x4f7f91[_0x1f1a6e(0xd0)]&&(process['env']['BS_TESTOPS_BUILD_HASHED_ID']=_0x4f7f91['build_hashed_id']);continue;case'5':if(_0x4f7f91['jwt']){process[_0x1f1a6e(0xcd)]['BS_TESTOPS_JWT']=_0x4f7f91['jwt'];const _0xd04a24={};_0xd04a24['username']=_0x295ef2[_0x1f1a6e(0x133)],_0xd04a24[_0x1f1a6e(0x100)]=_0x295ef2[_0x1f1a6e(0x100)],process['env'][_0x1f1a6e(0x165)]=JSON[_0x1f1a6e(0xc8)](_0xd04a24);}continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x27ba7d=>{const _0x31bed7=a170_0x4963e4,_0x10cbd7={'AxoJx':function(_0xfc63b6,_0x21f06a,_0x229ab6){return _0xfc63b6(_0x21f06a,_0x229ab6);},'vJjNe':'accessibility','KJIon':_0x31bed7(0x11b),'zTSBk':function(_0x355aef,_0x4e0176,_0xcf307,_0x137a53){return _0x355aef(_0x4e0176,_0xcf307,_0x137a53);},'XSvGj':'name','QYKJX':_0x31bed7(0x115),'cdAAC':function(_0x36547f,_0x6cf18b,_0xfd490e,_0x17f5eb){return _0x36547f(_0x6cf18b,_0xfd490e,_0x17f5eb);},'SrYzP':'command','psDNz':_0x31bed7(0x111),'ssSKd':_0x31bed7(0xf2),'jLrGV':_0x31bed7(0x125),'RbcJi':function(_0x210eb1,_0x4c9182){return _0x210eb1(_0x4c9182);},'MCbzq':function(_0x4331f2,_0x5bb7fe){return _0x4331f2===_0x5bb7fe;},'pXzas':function(_0x2d3687,_0x38eaf8){return _0x2d3687===_0x38eaf8;},'vziUn':_0x31bed7(0x12a),'ZZuoZ':_0x31bed7(0x138)};if(!_0x27ba7d[_0x31bed7(0x15f)])return exports[_0x31bed7(0x153)](),[null,null];if(!_0x27ba7d[_0x31bed7(0x15f)][_0x31bed7(0x170)])return exports[_0x31bed7(0x153)](_0x27ba7d['accessibility']),[null,null];if(_0x10cbd7[_0x31bed7(0x171)](nestedKeyValue,_0x27ba7d,[_0x10cbd7['vJjNe'],_0x10cbd7[_0x31bed7(0x124)]])){const {accessibilityToken:_0x5dd864,scannerVersion:_0x8db492,scannerProcessingTimeout:_0x4fb3a2,isMobileScanningEnabledForGroup:_0x3f9a20}=_0x10cbd7['zTSBk'](jsonifyAccessibilityArray,_0x27ba7d['accessibility'][_0x31bed7(0x11b)][_0x31bed7(0x161)],_0x10cbd7[_0x31bed7(0xbd)],_0x10cbd7[_0x31bed7(0x17a)]),_0x22f9b8={'scripts':_0x10cbd7['cdAAC'](jsonifyAccessibilityArray,_0x27ba7d[_0x31bed7(0x15f)][_0x31bed7(0x11b)][_0x31bed7(0x184)],_0x10cbd7['XSvGj'],_0x10cbd7[_0x31bed7(0xd6)])};_0x22f9b8[_0x10cbd7[_0x31bed7(0x16c)]]=_0x27ba7d[_0x31bed7(0x15f)][_0x31bed7(0x11b)][_0x31bed7(0xc3)][_0x31bed7(0x111)];const _0x5806e3=_0x10cbd7[_0x31bed7(0x173)](jsonifyAccessibilityArray,_0x27ba7d[_0x31bed7(0x15f)][_0x31bed7(0x11b)][_0x31bed7(0x161)],_0x10cbd7[_0x31bed7(0xbd)],_0x10cbd7[_0x31bed7(0x17a)]);_0x22f9b8[_0x10cbd7['ssSKd']]=_0x5806e3[_0x10cbd7[_0x31bed7(0x142)]],scripts[_0x31bed7(0x156)](_0x22f9b8),scripts[_0x31bed7(0x154)]();let _0x5af2d7=process['env'][_0x31bed7(0x106)];_0x5af2d7=!!_0x5af2d7?JSON[_0x31bed7(0x177)](_0x5af2d7):{},_0x5af2d7[_0x31bed7(0xda)]=_0x8db492,process[_0x31bed7(0xcd)][_0x31bed7(0x106)]=JSON[_0x31bed7(0xc8)](_0x5af2d7),process[_0x31bed7(0xcd)][_0x31bed7(0x140)]=_0x5dd864,process['env'][_0x31bed7(0x13d)]=_0x10cbd7['RbcJi'](String,_0x10cbd7[_0x31bed7(0x16e)](_0x3f9a20,!![])||_0x10cbd7[_0x31bed7(0x11d)](_0x3f9a20,_0x10cbd7[_0x31bed7(0xe3)])),logger[_0x31bed7(0xe1)](_0x31bed7(0xca)+_0x27ba7d[_0x31bed7(0xd0)]);const _0x2305b1=accessibilityHelper['parseA11yJwtPayload'](_0x5dd864);return _0x2305b1&&bsSetupHelper['isTrue'](_0x2305b1[_0x31bed7(0x144)])&&(process[_0x31bed7(0xcd)][_0x31bed7(0xfc)]=!![],logger['debug'](_0x10cbd7[_0x31bed7(0x137)])),[_0x5dd864,_0x27ba7d['build_hashed_id'],_0x4fb3a2];}return[null,null];},exports['handleErrorForObservability']=_0x32191b=>{const _0x5cde74=a170_0x4963e4,_0x2a6c53={};_0x2a6c53[_0x5cde74(0x162)]=_0x5cde74(0x14d),_0x2a6c53[_0x5cde74(0x12e)]='null',_0x2a6c53[_0x5cde74(0xd8)]='false';const _0x2b8ea2=_0x2a6c53,_0x4dc004=_0x2b8ea2[_0x5cde74(0x162)]['split']('|');let _0x307b0b=0x0;while(!![]){switch(_0x4dc004[_0x307b0b++]){case'0':process[_0x5cde74(0xcd)]['BS_TESTOPS_JWT']=_0x2b8ea2['AonWS'];continue;case'1':process[_0x5cde74(0xcd)][_0x5cde74(0x114)]=_0x2b8ea2['AonWS'];continue;case'2':exports[_0x5cde74(0xf9)](_0x32191b,testHubConstants[_0x5cde74(0x11f)]);continue;case'3':process[_0x5cde74(0xcd)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x2b8ea2[_0x5cde74(0x12e)];continue;case'4':process[_0x5cde74(0xcd)]['BS_TESTOPS_BUILD_COMPLETED']=_0x2b8ea2[_0x5cde74(0xd8)];continue;case'5':process['env'][_0x5cde74(0x150)]=_0x2b8ea2[_0x5cde74(0x12e)];continue;case'6':process['env'][_0x5cde74(0x178)]=_0x2b8ea2['AonWS'];continue;}break;}},exports[a170_0x4963e4(0x153)]=_0x542059=>{const _0x143ebe=a170_0x4963e4,_0x4ae7af={};_0x4ae7af[_0x143ebe(0x158)]=_0x143ebe(0x17e),_0x4ae7af['HOQEk']=_0x143ebe(0xf7),_0x4ae7af['DaqpE']=_0x143ebe(0x130);const _0x29707b=_0x4ae7af,_0x4718c2=_0x29707b[_0x143ebe(0x158)][_0x143ebe(0x159)]('|');let _0xfefcdd=0x0;while(!![]){switch(_0x4718c2[_0xfefcdd++]){case'0':process[_0x143ebe(0xcd)][_0x143ebe(0x104)]=_0x29707b['HOQEk'];continue;case'1':process['env'][_0x143ebe(0x114)]=_0x29707b[_0x143ebe(0x11e)];continue;case'2':exports[_0x143ebe(0xf9)](_0x542059,testHubConstants[_0x143ebe(0xd3)]);continue;case'3':process['env'][_0x143ebe(0x150)]=_0x29707b['DaqpE'];continue;case'4':process['env'][_0x143ebe(0x11a)]=_0x29707b['HOQEk'];continue;}break;}},exports[a170_0x4963e4(0xf9)]=(_0x5d397d,_0x7dad9d='')=>{const _0x1bd5cc=a170_0x4963e4,_0x2d5cef={};_0x2d5cef[_0x1bd5cc(0x169)]=function(_0x274d81,_0x38cee9){return _0x274d81===_0x38cee9;};const _0x21141b=_0x2d5cef;if(_0x21141b[_0x1bd5cc(0x169)](_0x5d397d,undefined)){logger[_0x1bd5cc(0x146)](_0x7dad9d[_0x1bd5cc(0x17d)]()+'\x20Build\x20creation\x20failed');return;}for(const _0xf7cc43 of _0x5d397d['errors']){const _0x466db4=_0xf7cc43['key'],_0x353428=_0xf7cc43[_0x1bd5cc(0x108)];if(_0x353428)switch(_0x466db4){case testHubConstants['ERROR'][_0x1bd5cc(0xb3)]:logger['error'](_0x353428);break;case testHubConstants[_0x1bd5cc(0x149)][_0x1bd5cc(0xc2)]:logger[_0x1bd5cc(0x13c)](_0x353428);break;case testHubConstants[_0x1bd5cc(0x149)][_0x1bd5cc(0xbf)]:logger['error'](_0x353428);break;default:logger['error'](_0x353428);}}};const jsonifyAccessibilityArray=(_0x22331b,_0x1abb8e,_0x111d41)=>{const _0x1922e3={};return _0x22331b['forEach'](_0x3e8a90=>{_0x1922e3[_0x3e8a90[_0x1abb8e]]=_0x3e8a90[_0x111d41];}),_0x1922e3;};exports['setTestHubCommonMetaInfo']=_0x19d698=>{const _0x50050e=a170_0x4963e4;_0x19d698[_0x50050e(0xb5)]&&(process['env'][_0x50050e(0x150)]=_0x19d698[_0x50050e(0xb5)]);_0x19d698[_0x50050e(0xd0)]&&(process[_0x50050e(0xcd)]['BROWSERSTACK_TESTHUB_UUID']=_0x19d698[_0x50050e(0xd0)],logger['debug'](_0x50050e(0x176)+_0x19d698[_0x50050e(0xd0)]));;},exports['shouldProcessEventForTesthub']=(_0x5dd0af='',_0x521856='')=>{const _0x123d4d=a170_0x4963e4,_0x31b037={'gewuR':function(_0xd308f2){return _0xd308f2();},'jQSwg':function(_0x1e1923,_0x21474d){return _0x1e1923===_0x21474d;},'zZxPH':_0x123d4d(0x18a),'Kwbyo':_0x123d4d(0x157),'dWYtY':_0x123d4d(0x166),'Dxoou':function(_0x5b0e3e){return _0x5b0e3e();},'uvgCJ':_0x123d4d(0x136),'WRHdM':_0x123d4d(0xd5)};if(exports[_0x123d4d(0x16f)]()&&!exports[_0x123d4d(0xc5)]()&&!_0x31b037[_0x123d4d(0xce)](isTestObservabilitySession)){if(_0x31b037['jQSwg'](_0x521856,_0x31b037['zZxPH']))return![];if([_0x31b037[_0x123d4d(0xe8)],_0x31b037['dWYtY']]['includes'](_0x5dd0af))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0x31b037[_0x123d4d(0xec)](isTestObservabilitySession)){if([_0x31b037['uvgCJ'],_0x31b037[_0x123d4d(0x189)],_0x31b037[_0x123d4d(0xe8)]][_0x123d4d(0xcc)](_0x5dd0af))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x31b037[_0x123d4d(0xce)](isTestObservabilitySession)||exports[_0x123d4d(0x16f)]();},exports['appendTesthubParams']=(_0x3a091b,_0x1b72c2,_0x267934='',_0x467e1f)=>{const _0x41e902=a170_0x4963e4,_0x69d6bc={'kwTUG':_0x41e902(0x136),'CikfG':'HookRunFinished','aEdjc':function(_0x584fd4,_0x4040d9){return _0x584fd4===_0x4040d9;},'yCbhY':_0x41e902(0xee),'JBvHB':_0x41e902(0xe6),'msFJj':'accessibility','DsVLK':function(_0x2490eb,_0x36bc82){return _0x2490eb&&_0x36bc82;},'NemFk':function(_0x2b63e5,_0x28fc3f){return _0x2b63e5===_0x28fc3f;},'fjtuC':function(_0x16886e,_0x28ccb4){return _0x16886e+_0x28ccb4;},'yCArv':function(_0x1c8d8e,_0x21dd13){return _0x1c8d8e+_0x21dd13;},'lJPrZ':function(_0x20552e,_0x1b7f21){return _0x20552e===_0x1b7f21;},'vxLKA':function(_0xa8e42d,_0x763997){return _0xa8e42d(_0x763997);},'dExxA':'../../bin/jasmine/testRunMap.js','UzqKJ':function(_0x59aa0b,_0x264c00){return _0x59aa0b+_0x264c00;},'LnrpW':function(_0x251639,_0x2ea566){return _0x251639+_0x2ea566;},'NBYRY':function(_0x10bdcd,_0xbf7246){return _0x10bdcd===_0xbf7246;},'YshZR':function(_0xc8219c,_0x45d103){return _0xc8219c===_0x45d103;},'VedLA':_0x41e902(0xdf),'WRZal':_0x41e902(0xe7)};if(![_0x69d6bc[_0x41e902(0x180)],_0x69d6bc['CikfG']]['includes'](_0x1b72c2)&&exports[_0x41e902(0xc5)]()){const _0x5a635b={};if(_0x69d6bc[_0x41e902(0x145)](_0x467e1f,FRAMEWORKS[_0x41e902(0xb4)])){const _0x378e6c=globals['getGlobal'](_0x69d6bc[_0x41e902(0x12b)])||accessibilityHelper[_0x41e902(0x132)](_0x267934['titlePath'](),!![]),_0xa8eec4=globals[_0x41e902(0xf1)](_0x69d6bc[_0x41e902(0x10d)]);_0x5a635b[_0x69d6bc[_0x41e902(0x120)]]=_0x69d6bc[_0x41e902(0xd2)](_0xa8eec4,_0x378e6c);}if(_0x69d6bc['NemFk'](_0x467e1f,FRAMEWORKS[_0x41e902(0x109)])){const _0x2059bb=_0x69d6bc[_0x41e902(0x10c)](_0x69d6bc[_0x41e902(0x148)](_0x3a091b[_0x41e902(0x143)][_0x41e902(0x101)]('\x20'),'\x20'),_0x267934[_0x41e902(0x127)]),_0x7e1616=globals['getGlobal'](_0x69d6bc[_0x41e902(0x12b)])||accessibilityHelper[_0x41e902(0x132)](_0x2059bb,![]),_0xaf5b80=browserStackGlobals[_0x41e902(0xe6)];_0x5a635b[_0x69d6bc[_0x41e902(0x120)]]=_0x69d6bc[_0x41e902(0xd2)](_0xaf5b80,_0x7e1616);}if(_0x69d6bc[_0x41e902(0xde)](_0x467e1f,FRAMEWORKS['JASMINE'])){const _0x14da25=_0x69d6bc[_0x41e902(0x134)](require,_0x69d6bc[_0x41e902(0x15d)]),_0x41890e=_0x267934&&_0x14da25[_0x41e902(0xc4)](_0x267934['id'])||_0x3a091b['uuid'];_0x41890e&&(_0x3a091b[_0x41e902(0x10b)]=_0x41890e);const _0x32dd9d=_0x69d6bc[_0x41e902(0x12f)](_0x69d6bc[_0x41e902(0x174)](_0x3a091b[_0x41e902(0x143)][_0x41e902(0x101)]('\x20'),'\x20'),_0x267934[_0x41e902(0x118)]||_0x3a091b['name']),_0x6e33b5=globals[_0x41e902(0xf1)](_0x69d6bc[_0x41e902(0x12b)])||accessibilityHelper[_0x41e902(0x132)](_0x32dd9d,![]),_0x51d03f=globals[_0x41e902(0xf1)](_0x69d6bc[_0x41e902(0x10d)]);_0x5a635b[_0x69d6bc['msFJj']]=_0x69d6bc[_0x41e902(0xd2)](_0x51d03f,_0x6e33b5);}if(_0x69d6bc[_0x41e902(0x187)](_0x467e1f,FRAMEWORKS[_0x41e902(0x182)])){if(_0x69d6bc[_0x41e902(0x167)](_0x1b72c2,_0x69d6bc[_0x41e902(0xc9)]))return;_0x5a635b[_0x69d6bc['msFJj']]=PWTestDetails[_0x41e902(0x175)](_0x3a091b[_0x41e902(0x10b)]);}if(_0x69d6bc[_0x41e902(0x187)](_0x467e1f,FRAMEWORKS[_0x41e902(0x139)])){const _0x161ec6=accessibilityHelper[_0x41e902(0x132)](_0x267934[_0x41e902(0xef)](),!![]),_0x4565c8=global[_0x41e902(0xf6)];_0x5a635b[_0x69d6bc[_0x41e902(0x120)]]=_0x69d6bc[_0x41e902(0xd2)](_0x4565c8,_0x161ec6);}if(_0x69d6bc[_0x41e902(0x187)](_0x467e1f,FRAMEWORKS[_0x41e902(0x181)])){const _0x4ea0a0=accessibilityHelper[_0x41e902(0x132)](null,![],_0x3a091b[_0x41e902(0x16d)]),_0x2c56bb=globals[_0x41e902(0xf1)](_0x69d6bc['JBvHB']);_0x5a635b[_0x69d6bc[_0x41e902(0x120)]]=_0x69d6bc[_0x41e902(0xd2)](_0x2c56bb,_0x4ea0a0);}_0x3a091b[_0x69d6bc[_0x41e902(0xd4)]]=_0x5a635b;}},exports['getCurrentTestData']=_0x463a7a=>{const _0x46f35a=a170_0x4963e4,_0x4f0367={};_0x4f0367[_0x46f35a(0x102)]=function(_0x5bc1f2,_0x281791){return _0x5bc1f2>_0x281791;};const _0x4aeea6=_0x4f0367;let _0x5d0c7f={};if(_0x4aeea6[_0x46f35a(0x102)](Object[_0x46f35a(0xfe)](testData)[_0x46f35a(0x135)],0x0))return testData;_0x5d0c7f=JestTestDetails[_0x46f35a(0x10f)]();if(_0x4aeea6[_0x46f35a(0x102)](Object['keys'](_0x5d0c7f)[_0x46f35a(0x135)],0x0))return _0x5d0c7f;return _0x5d0c7f;},exports['setCurrentTestData']=(_0x5ba6fa,_0x5c00bd={})=>{const _0x45471c=a170_0x4963e4;if(bsSetupHelper['isUndefined'](_0x5c00bd[_0x45471c(0x163)]))return;switch(_0x5ba6fa){case FRAMEWORKS[_0x45471c(0xb4)]:testData=_0x5c00bd['test_run'];break;case FRAMEWORKS['JEST']:JestTestDetails[_0x45471c(0x15b)](_0x5c00bd['test_run']);break;case FRAMEWORKS[_0x45471c(0x117)]:testData=_0x5c00bd[_0x45471c(0x163)];break;default:break;}},exports[a170_0x4963e4(0x141)]=_0x385c5b=>{const _0x13db54=a170_0x4963e4,_0x4d00b3={};_0x4d00b3[_0x13db54(0x113)]=function(_0x32ae26,_0x57c2ee){return _0x32ae26!==_0x57c2ee;},_0x4d00b3[_0x13db54(0x13a)]=function(_0x2e5107,_0x4eb596){return _0x2e5107!==_0x4eb596;},_0x4d00b3[_0x13db54(0xf0)]=function(_0x2d95e7,_0x1677ae){return _0x2d95e7!==_0x1677ae;};const _0x529aeb=_0x4d00b3;if(_0x529aeb['RHAtX'](_0x385c5b[_0x13db54(0x15f)],null)&&_0x529aeb[_0x13db54(0x13a)](_0x385c5b['accessibility'],undefined))return _0x385c5b['accessibility'];let _0x39a20b=![],_0x4f0de4=![];if(_0x385c5b['platforms'])for(const _0x1208fc of _0x385c5b[_0x13db54(0x18b)]){_0x529aeb['QHaas'](_0x1208fc[_0x13db54(0x15f)],null)&&_0x529aeb[_0x13db54(0xf0)](_0x1208fc['accessibility'],undefined)&&(_0x39a20b=_0x39a20b||bsSetupHelper[_0x13db54(0x14b)](_0x1208fc[_0x13db54(0x15f)]),_0x4f0de4=!![]);}if(_0x4f0de4)return _0x39a20b;return null;},exports['getTestOrchestrationBuildStartData']=_0x3b81cb=>{if(!_0x3b81cb)return{};const _0x1cb5a5=new OrchestrationUtils(_0x3b81cb);return _0x1cb5a5['getBuildStartData']();},exports[a170_0x4963e4(0x121)]=_0x3d8efd=>{const _0x1cd521=a170_0x4963e4,_0x4df177={'QImch':function(_0x98b6dd){return _0x98b6dd();},'Aqfaq':function(_0x320970,_0x4d8bdf){return _0x320970===_0x4d8bdf;},'gFgHB':'true'};let _0x3afacc=![],_0x3cb9f4=![];if(bsSetupHelper[_0x1cd521(0x186)]()&&bsSetupHelper[_0x1cd521(0x14e)](_0x3d8efd))_0x3cb9f4=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x3afacc=!![]);return Object[_0x1cd521(0xc7)]({'observability':_0x4df177[_0x1cd521(0xd9)](isTestObservabilitySession),'accessibility':exports[_0x1cd521(0x141)](_0x3d8efd),'percy':_0x3d8efd[_0x1cd521(0x116)]||![],'sr_automation':_0x4df177[_0x1cd521(0x17f)](process[_0x1cd521(0xcd)][_0x1cd521(0xf3)],_0x4df177[_0x1cd521(0x10a)])||_0x3d8efd[_0x1cd521(0xdb)]||![],'automate':_0x3afacc,'app_automate':_0x3cb9f4,'turboscale':bsSetupHelper[_0x1cd521(0x129)](_0x3d8efd),'lts':LoadTestModule[_0x1cd521(0xbb)](_0x3d8efd)},bsSetupHelper['getCentralUser']());};const normalizeTestPlanId=_0x47bca7=>{const _0x4ef59b=a170_0x4963e4,_0xd032ef={};_0xd032ef[_0x4ef59b(0x13e)]=function(_0x1fd8d9,_0x55cd59){return _0x1fd8d9!==_0x55cd59;},_0xd032ef['eSLBK']='string',_0xd032ef[_0x4ef59b(0xe9)]=function(_0x3098ff,_0x30b2bb){return _0x3098ff>_0x30b2bb;};const _0x33ad31=_0xd032ef;if(_0x33ad31[_0x4ef59b(0x13e)](typeof _0x47bca7,_0x33ad31[_0x4ef59b(0x164)]))return undefined;const _0x367c0b=_0x47bca7[_0x4ef59b(0x128)]();return _0x33ad31[_0x4ef59b(0xe9)](_0x367c0b[_0x4ef59b(0x135)],0x0)?_0x367c0b:undefined;},readTestPlanIdFromCliArgs=(_0x3d3af9=process['argv'])=>{const _0x470a6d=a170_0x4963e4,_0x26c249={};_0x26c249[_0x470a6d(0x11c)]=function(_0x13f292,_0xbdc120){return _0x13f292<_0xbdc120;},_0x26c249[_0x470a6d(0x155)]=function(_0x5805f7,_0x33a6c5){return _0x5805f7===_0x33a6c5;},_0x26c249[_0x470a6d(0xf5)]=function(_0x12ef55,_0x5a66ad){return _0x12ef55+_0x5a66ad;},_0x26c249[_0x470a6d(0xb6)]=function(_0xa6f920,_0x3934ef){return _0xa6f920+_0x3934ef;};const _0x22aa01=_0x26c249,_0x3a3085='--'+testHubConstants['TEST_MANAGEMENT_TEST_PLAN_ID_ARG'];for(let _0xd5a3de=0x0;_0x22aa01[_0x470a6d(0x11c)](_0xd5a3de,_0x3d3af9[_0x470a6d(0x135)]);_0xd5a3de+=0x1){const _0x2b0c18=_0x3d3af9[_0xd5a3de];if(_0x22aa01[_0x470a6d(0x155)](_0x2b0c18,_0x3a3085)){const _0x564cf4=_0x3d3af9[_0x22aa01[_0x470a6d(0xf5)](_0xd5a3de,0x1)];if(!_0x564cf4||_0x564cf4['startsWith']('--'))return undefined;return _0x564cf4;}if(_0x2b0c18[_0x470a6d(0x160)](_0x3a3085+'='))return _0x2b0c18[_0x470a6d(0xdc)](_0x22aa01[_0x470a6d(0xb6)](_0x3a3085['length'],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x3dcb22={})=>{const _0x3010b2=a170_0x4963e4,_0x37022e={'gZogK':function(_0x2fdbc4,_0x4e29e4){return _0x2fdbc4(_0x4e29e4);}};return _0x37022e[_0x3010b2(0x15e)](normalizeTestPlanId,_0x3dcb22&&_0x3dcb22['testManagementOptions']&&_0x3dcb22[_0x3010b2(0xff)]['testPlanId']);};function a170_0x3112(_0x24f333,_0xbede99){const _0x21d733=a170_0x21d7();return a170_0x3112=function(_0x3112ae,_0x48f7f2){_0x3112ae=_0x3112ae-0xb3;let _0x9db865=_0x21d733[_0x3112ae];return _0x9db865;},a170_0x3112(_0x24f333,_0xbede99);}exports[a170_0x4963e4(0xf8)]=(_0x545542={},_0x301e78=process['argv'],_0x4b9d3d=process[a170_0x4963e4(0xcd)])=>{const _0x52ae63=a170_0x4963e4,_0x4ff02c={'rODZp':function(_0x397af3,_0x286acb){return _0x397af3(_0x286acb);},'imdrv':function(_0x52e507,_0x19509e){return _0x52e507(_0x19509e);},'yMwAU':function(_0x4ee9e5,_0x2282b4){return _0x4ee9e5(_0x2282b4);}};try{const _0x4c91c9=_0x4ff02c[_0x52ae63(0xcf)](normalizeTestPlanId,_0x4ff02c[_0x52ae63(0xcf)](readTestPlanIdFromCliArgs,_0x301e78));if(_0x4c91c9)return _0x4c91c9;const _0x1120b=_0x4ff02c['imdrv'](normalizeTestPlanId,_0x4b9d3d&&_0x4b9d3d[testHubConstants[_0x52ae63(0x122)]['BROWSERSTACK_TEST_PLAN_ID']]);if(_0x1120b)return _0x1120b;return _0x4ff02c[_0x52ae63(0x126)](readTestPlanIdFromConfig,_0x545542);}catch(_0x1c43f3){return logger['debug'](_0x52ae63(0xea)+(_0x1c43f3&&_0x1c43f3['message']?_0x1c43f3[_0x52ae63(0x108)]:_0x1c43f3)),undefined;}};function a170_0x21d7(){const _0x466547=['WRZal','HookRunFinished','SrYzP','1989472SnncII','yMgkq','QImch','scannerVersion','sr_automation','slice','3698037JouFER','lJPrZ','TestRunStarted','../test-observability/utils','debug','BROWSERSTACK_PERCY','vziUn','FAHYH','getAgentVersion','isAccessibilityPlatform','product_map','Kwbyo','hirEo','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','javascript','Dxoou','BROWSERSTACK_ACCESSIBILITY','bstackA11yShouldScan','titlePath','QHaas','getGlobal','nonBStackInfraA11yChromeOptions','BROWSERSTACK_SR_AUTOMATION','JcCCL','GeFXx','accessibilityPlatform','false','getTestPlanId','logBuildError','../test-observability/constants.js','OhUBX','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','getCentralUser','keys','testManagementOptions','password','join','wUSFY','1|5|4|3|0|2','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','8goeBwu','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../test-orchestration/orchestrationUtils.js','message','JEST','gFgHB','uuid','fjtuC','JBvHB','2491132IpbHDW','getTestData','getFrameworkDetails','commands','YVkgp','RHAtX','BROWSERSTACK_TESTHUB_UUID','value','percy','JASMINE','description','4399536ZjGhXQ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','options','vzYKC','pXzas','DaqpE','OBSERVABILITY','msFJj','getProductMapForBuildStartCall','ENV_VAR','KVfTJ','KJIon','goog:chromeOptions','yMwAU','name','trim','isTurboScaleSession','true','yCbhY','../globals.js','isRunning','AonWS','UzqKJ','null','wtHKg','shouldScanTestForAccessibility','username','vxLKA','length','HookRunStarted','ZZuoZ','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','CODECEPT','DIshD','../accessibility-automation/scripts.js','info','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','NJxwp','iLAHi','BS_A11Y_JWT','getAccessibilityValueFromYml','jLrGV','scopes','skipCDPConnectOverride','aEdjc','error','KdGee','yCArv','ERROR','TEST_REPORTING_ANALYTICS','isTrue','../../bin/utils/constants.js','1|5|4|0|6|3|2','isAppAutomateSession','getTestFrameworkDetails','BROWSERSTACK_TESTHUB_JWT','qjMyu','../../bin/v2/modules/loadTestModule','handleErrorForAccessibility','toJson','AspKA','parseFromJson','LogCreated','uRJuB','split','../accessibility-automation/helper','setTestData','nRJzr','dExxA','gZogK','accessibility','startsWith','capabilities','kofmj','test_run','eSLBK','CREDENTIALS_FOR_CRASH_REPORTING','CBTSessionCreated','YshZR','allow_screenshots','ZRklA','dqhjJ','observability','psDNz','tags','MCbzq','isPercyBuild','success','AxoJx','366elhnya','cdAAC','LnrpW','getAccessibilityPlatformValidation','BROWSERSTACK_TESTHUB_UUID:\x20','parse','BS_TESTOPS_BUILD_HASHED_ID',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','QYKJX','../../bin/jest/test-observability/test-details.js','handleErrorForObservability','toUpperCase','1|3|4|0|2','Aqfaq','kwTUG','CUCUMBER','PLAYWRIGHT','../../bin/playwright/reporter/test-details.js','scripts','xzuif','isBrowserstackInfra','NBYRY','RnLOm','WRHdM','uploadEventData','platforms','./constants.js','INVALID_CREDENTIALS','MOCHA','jwt','ftZyx','37095MmGLNK','BS_TESTOPS_BUILD_COMPLETED','296526uwtKpY','aqUxm','isLTSSession','getProductMap','XSvGj','checkAccessibilityPlatformConfig','DEPRECATED','ZjtMz','388150XgvwPP','ACCESS_DENIED','commandsToWrap','get','isAccessibilityEnabled','FRAMEWORK_DETAILS','assign','stringify','VedLA','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','../logger','includes','env','gewuR','rODZp','build_hashed_id','BS_TESTOPS_ALLOW_SCREENSHOTS','DsVLK','ACCESSIBILITY'];a170_0x21d7=function(){return _0x466547;};return a170_0x21d7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a171_0x40b032=a171_0x2e3c;(function(_0xbafd2c,_0x1e72cc){const _0x1a2d7c=a171_0x2e3c,_0x3e7f0a=_0xbafd2c();while(!![]){try{const _0x6b01d0=-parseInt(_0x1a2d7c(0x1c0))/0x1*(-parseInt(_0x1a2d7c(0x1b8))/0x2)+-parseInt(_0x1a2d7c(0x1c1))/0x3*(parseInt(_0x1a2d7c(0x1b2))/0x4)+parseInt(_0x1a2d7c(0x1ba))/0x5+parseInt(_0x1a2d7c(0x1b9))/0x6*(parseInt(_0x1a2d7c(0x1b7))/0x7)+parseInt(_0x1a2d7c(0x1bd))/0x8+parseInt(_0x1a2d7c(0x1b4))/0x9+parseInt(_0x1a2d7c(0x1bf))/0xa*(-parseInt(_0x1a2d7c(0x1bc))/0xb);if(_0x6b01d0===_0x1e72cc)break;else _0x3e7f0a['push'](_0x3e7f0a['shift']());}catch(_0x1c344d){_0x3e7f0a['push'](_0x3e7f0a['shift']());}}}(a171_0x21bc,0x9a3b2));const utilities=require(a171_0x40b032(0x1c2));function a171_0x21bc(){const _0x30fbb0=['10dKdnGX','5eCumEF','75btETcA','./utilities','195916GIKWqI','uAnAL','6542820cuqgWX','CyTmT','cancel','3007193pKdtyp','62324ujztNf','6PwWXcN','6142670upODAH','fireFunnelTestEvent','19052220rTufEO','8378416MaRfDa','CZKZU'];a171_0x21bc=function(){return _0x30fbb0;};return a171_0x21bc();}function a171_0x2e3c(_0x4f7a89,_0x5b4c60){const _0x21bcef=a171_0x21bc();return a171_0x2e3c=function(_0x2e3c88,_0x1e4bb0){_0x2e3c88=_0x2e3c88-0x1b2;let _0x36f8cd=_0x21bcef[_0x2e3c88];return _0x36f8cd;},a171_0x2e3c(_0x4f7a89,_0x5b4c60);}module['exports']=(_0x510527,_0x1372d8,_0x5a9b03,_0x3f2ef6,_0x299999,_0x156544)=>{const _0x4db7bf=a171_0x40b032,_0x5d4a0b={'uAnAL':function(_0x29a73e,_0xb8261d){return _0x29a73e-_0xb8261d;},'CgKeI':function(_0x205845,_0x5754aa){return _0x205845(_0x5754aa);},'CyTmT':function(_0x2ab485,_0x5a466d,_0x978e5b){return _0x2ab485(_0x5a466d,_0x978e5b);},'CZKZU':function(_0x5704eb,_0x407d66){return _0x5704eb(_0x407d66);}};let _0x47703e,_0x1591a4=![];const _0x249ce4=new Promise((_0x57fc85,_0x12a0a6)=>{const _0x5db7f7=a171_0x2e3c;_0x47703e=_0x5d4a0b[_0x5db7f7(0x1b5)](setTimeout,()=>{const _0x2911ce=_0x5db7f7;if(!_0x1591a4){const _0x8dd7cd={'status':''+_0x1372d8,'timeTaken':_0x5d4a0b[_0x2911ce(0x1b3)](new Date(),_0x3f2ef6)};utilities[_0x2911ce(0x1bb)](_0x5a9b03,_0x8dd7cd,_0x299999,_0x156544),_0x5d4a0b['CgKeI'](_0x12a0a6,new Error(_0x1372d8));}},_0x510527);});return _0x249ce4[_0x4db7bf(0x1b6)]=()=>{const _0x22321c=_0x4db7bf;_0x1591a4=!![],_0x5d4a0b[_0x22321c(0x1be)](clearTimeout,_0x47703e);},_0x249ce4;};
|
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
|
+
function a172_0x22ec(){const _0x33155a=['njmpQ','event_properties','32GoQpyq','apply','killSignal','keys','JcJzy','X_OK','BROWSERSTACK_TESTHUB_UUID','QhriO','sdkRunId','isBrowserstackInfra','30ScieDh','browser','errorMessage','1052VRwiNC','hubAllocation','null','fxOjj','424341tHwaCq','3947848KSZDYS','length','every','../helpers/testhub/constants','values','tests','vGfME','hLeTR','ApbjB','\x20:\x20','framework','apAZC','config','getTestFrameworkDetails','nmsuz','nodeRequest','nFEGT','eRqPO','deviceName','Ymuow','Failed\x20to\x20set\x20directory\x20access:\x20','Playwright','JptEn','sanitizeBrowserStackConfig','info','codeceptjs','constants','playwrightVersion','unknown','hFexY','join','buildName','accessSync','../bin/utils/constants','isNullOrEmpty','AUTOMATE','split','stringify','stopPercy','./logger','159943gsqhaB','RjDvJ','getPackageVersion','W_OK','HOGeJ','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','isAppAutomateSession','./test-observability/utils','globalException','replace','dZmPk','1018815nsxjWz','1418988enSrWV',',\x20testhub\x20id:\x20','getStackTraceAsString','AUTOMATE_PRODUCTS','5296527vFJyOZ','unhandledErrors','name','LmebS','env','APP_AUTOMATE_PRODUCTS','browserVersion','POST','error','browserStackConfig','getGlobal','Directory\x20','LZXcy','./helper','assign','yhyXb','YwkbH','toString','SDKTestSuccessful','mfBiZ','./testhub/utils','\x20has\x20now\x20read/write/execute\x20permissions.','APP_AUTOMATE','type','_hubAllocationData','trim','osVersion','KRgOQ','_buildHashedId','all','isTurboScaleSession','format','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','application/json','LEpjx','fireFunnelTestEvent','SDK\x20run\x20ended\x20for\x20id:\x20','winstonLogger','source','108tDhYXW','util','zcRff','finishedMetadata','API\x20Event\x20','getFrameworkVersion','push','seleniumVersion','getAccessKey','QUibC','version','requirePWModule','ENV_VAR','reduce','getUserName','lNcMJ','../bin/playwright/reporter/pwUtils','selenium-webdriver','buildIdentifier','getTurboScaleSessionsList','zTAfZ','FJXXR','user_killed','getNodeAgent','QzYyl','body','JgfWs','isModifiable','debug','forEach','[REDACTED]'];a172_0x22ec=function(){return _0x33155a;};return a172_0x22ec();}function a172_0x9dc8(_0x3684c8,_0x37ce3b){const _0x22ecb1=a172_0x22ec();return a172_0x9dc8=function(_0x9dc85c,_0x5c5c90){_0x9dc85c=_0x9dc85c-0x149;let _0x4f5fab=_0x22ecb1[_0x9dc85c];return _0x4f5fab;},a172_0x9dc8(_0x3684c8,_0x37ce3b);}const a172_0x2ce549=a172_0x9dc8;(function(_0x1d5982,_0x162c4d){const _0x4c4dff=a172_0x9dc8,_0x5cd023=_0x1d5982();while(!![]){try{const _0x5d69b1=-parseInt(_0x4c4dff(0x1ba))/0x1*(parseInt(_0x4c4dff(0x1c7))/0x2)+parseInt(_0x4c4dff(0x1cb))/0x3+-parseInt(_0x4c4dff(0x16e))/0x4+-parseInt(_0x4c4dff(0x16d))/0x5+-parseInt(_0x4c4dff(0x199))/0x6*(parseInt(_0x4c4dff(0x162))/0x7)+-parseInt(_0x4c4dff(0x1cc))/0x8+-parseInt(_0x4c4dff(0x172))/0x9*(-parseInt(_0x4c4dff(0x1c4))/0xa);if(_0x5d69b1===_0x162c4d)break;else _0x5cd023['push'](_0x5cd023['shift']());}catch(_0xa5eeca){_0x5cd023['push'](_0x5cd023['shift']());}}}(a172_0x22ec,0x68363));const os=require('os'),util=require(a172_0x2ce549(0x19a)),fs=require('fs'),{getProductMap}=require(a172_0x2ce549(0x186)),logger=require(a172_0x2ce549(0x161))[a172_0x2ce549(0x197)],constants=require(a172_0x2ce549(0x15b)),testHubConstants=require(a172_0x2ce549(0x1cf)),{getTransformPath}=require(a172_0x2ce549(0x1a9)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a172_0x2ce549(0x15b)),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require('./performance/performance-tester'),globals=require('./globals'),helper=require(a172_0x2ce549(0x17f)),{isTestObservabilitySession}=require(a172_0x2ce549(0x169));let unhandledErrors='';exports[a172_0x2ce549(0x195)]=async(_0x3cb60d,_0x334962={},_0x4fb305,_0x561faa,_0x17021d=![])=>{const _0x53789c=a172_0x2ce549,_0x26da92={'fxOjj':function(_0x3ad002,_0x33e86b){return _0x3ad002===_0x33e86b;},'hLeTR':'object','JcJzy':function(_0x2449a7,_0x523038){return _0x2449a7>_0x523038;},'apAZC':function(_0x2786d3,_0x3506f7){return _0x2786d3>_0x3506f7;},'qEeaV':_0x53789c(0x1d1),'MpraQ':function(_0xad2698){return _0xad2698();},'JgfWs':function(_0x2dd6a8){return _0x2dd6a8();},'AhPDA':function(_0x209582,_0x285f7e){return _0x209582==_0x285f7e;},'mfBiZ':_0x53789c(0x1c9),'zcRff':'undefined','kPsMD':_0x53789c(0x153),'nFEGT':function(_0x123a48,_0x59225d){return _0x123a48!==_0x59225d;},'YwkbH':_0x53789c(0x14f),'zTAfZ':function(_0x169b6a,_0x2fcd9c){return _0x169b6a===_0x2fcd9c;},'lNcMJ':'error','BKzwz':function(_0x39fc14,_0x444962){return _0x39fc14>_0x444962;},'GpWYH':function(_0x1c8027,_0x1dd1d0){return _0x1c8027+_0x1dd1d0;},'LEpjx':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','vGfME':_0x53789c(0x18e),'HOGeJ':function(_0x1cd68a,_0x203411){return _0x1cd68a(_0x203411);},'Ymuow':_0x53789c(0x156),'QUibC':'nodejs','mrPEW':function(_0x949be4,_0x55b2da){return _0x949be4===_0x55b2da;},'LmebS':_0x53789c(0x184),'dwrJw':_0x53789c(0x1aa),'JptEn':_0x53789c(0x193),'QzYyl':_0x53789c(0x1b7),'RjDvJ':_0x53789c(0x179)};let _0x44ae2c=[];if(helper[_0x53789c(0x1c3)]()&&_0x26da92['MpraQ'](isTestObservabilitySession))_0x44ae2c=helper[_0x53789c(0x168)](_0x4fb305)?constants[_0x53789c(0x177)]:constants[_0x53789c(0x171)];else{if(_0x26da92[_0x53789c(0x1b3)](isTestObservabilitySession))_0x44ae2c=constants[_0x53789c(0x192)];else helper[_0x53789c(0x1c3)]()&&(_0x44ae2c=helper[_0x53789c(0x168)](_0x4fb305)?constants[_0x53789c(0x188)]:constants[_0x53789c(0x15d)]);}let _0x4eeda9=_0x4fb305[_0x53789c(0x1ab)];if(_0x26da92['AhPDA'](_0x4eeda9,null))_0x4eeda9=_0x26da92[_0x53789c(0x185)];else _0x26da92['fxOjj'](_0x4eeda9,undefined)&&(_0x4eeda9=_0x26da92[_0x53789c(0x19b)]);unhandledErrors&&_0x26da92[_0x53789c(0x1d7)](unhandledErrors['length'],0x0)&&(_0x334962[_0x53789c(0x16a)]=unhandledErrors);global[_0x53789c(0x1c2)]&&(_0x334962['sdkRunId']=global[_0x53789c(0x1c2)]);try{if(_0x334962[_0x53789c(0x17a)]){if(_0x26da92[_0x53789c(0x1ca)](_0x561faa,_0x26da92['kPsMD'])&&_0x26da92['JcJzy'](_0x334962[_0x53789c(0x17a)][_0x53789c(0x1cd)],0x0)){const _0x512e5b={};_0x512e5b['os']='',_0x512e5b[_0x53789c(0x18c)]='',_0x512e5b[_0x53789c(0x1c5)]='',_0x512e5b[_0x53789c(0x178)]='';const _0xf1d8=_0x512e5b;let _0x376f8c={};const _0x5ddcc7=_0x334962[_0x53789c(0x17a)];_0x376f8c=_0x5ddcc7[_0x53789c(0x1a6)]((_0x3ecfff,_0xb3637d)=>{for(const _0xbd748b in _0xb3637d){_0x3ecfff[_0xbd748b]=_0xb3637d[_0xbd748b];}return _0x3ecfff;},{});const _0x39f602={};_0x39f602['tests']=_0x376f8c,_0x334962[_0x53789c(0x17a)]=[Object[_0x53789c(0x180)]({},_0xf1d8,_0x39f602)];}else{let _0x2dc865=0x0;const _0x4d3e0a=_0x26da92[_0x53789c(0x14a)](_0x561faa,_0x26da92[_0x53789c(0x182)])?JSON['parse'](_0x334962['error']):_0x334962[_0x53789c(0x17a)],_0x3341c4=Object[_0x53789c(0x1d0)](_0x4d3e0a);_0x3341c4[_0x53789c(0x1b6)](_0xc9641=>{const _0x5332b9=_0x53789c;if(_0x26da92['fxOjj'](typeof _0xc9641,_0x26da92[_0x5332b9(0x1d3)])){const _0x23879e=Object['values'](_0xc9641);!_0x23879e[_0x5332b9(0x1ce)](_0x3de3b0=>_0x3de3b0===null||_0x3de3b0===undefined||_0x3de3b0==='')&&(_0x2dc865+=0x1);}});if(_0x26da92[_0x53789c(0x1ad)](_0x2dc865,0x0))delete _0x334962[_0x26da92['lNcMJ']];else{const _0x480ba0=[];Object[_0x53789c(0x1bd)](_0x4d3e0a)[_0x53789c(0x1b6)](_0x34459a=>{const _0x1dec48=_0x53789c,_0x39d746={'ApbjB':function(_0x196f5b,_0x1a9eb4){const _0x36da47=a172_0x9dc8;return _0x26da92[_0x36da47(0x1be)](_0x196f5b,_0x1a9eb4);}},[_0x11bb67,_0x3f50c6,_0x4645f6,_0x3de97c]=_0x34459a[_0x1dec48(0x15e)](',\x20');let _0x4879f5={};if(!_0x3de97c){const _0x55c865={};_0x55c865[_0x1dec48(0x14c)]=_0x11bb67,_0x55c865[_0x1dec48(0x18c)]=_0x3f50c6,_0x55c865[_0x1dec48(0x1c5)]=_0x4645f6,_0x4879f5=_0x55c865;}else{const _0x46025e={};_0x46025e['os']=_0x11bb67,_0x46025e[_0x1dec48(0x18c)]=_0x3f50c6,_0x46025e[_0x1dec48(0x1c5)]=_0x4645f6,_0x46025e[_0x1dec48(0x178)]=_0x3de97c,_0x4879f5=_0x46025e;}const _0x2b2437={},_0x45c023=_0x4d3e0a[_0x34459a];Object[_0x1dec48(0x1bd)](_0x45c023)['forEach'](_0xbff5f6=>{const _0x587bc8=_0x1dec48;_0x39d746[_0x587bc8(0x1d4)](_0x45c023[_0xbff5f6][_0x587bc8(0x1cd)],0x0)&&(_0x2b2437[_0xbff5f6]=_0x45c023[_0xbff5f6]);}),_0x26da92[_0x1dec48(0x1d7)](Object[_0x1dec48(0x1bd)](_0x2b2437)[_0x1dec48(0x1cd)],0x0)&&(_0x4879f5[_0x26da92['qEeaV']]=_0x2b2437,_0x480ba0[_0x1dec48(0x19f)](_0x4879f5));}),_0x26da92['BKzwz'](_0x480ba0['length'],0x0)?_0x334962['error']=_0x480ba0:delete _0x334962[_0x26da92[_0x53789c(0x1a8)]];}}}}catch(_0x537b6e){delete _0x334962[_0x26da92[_0x53789c(0x1a8)]],logger[_0x53789c(0x1b5)](_0x26da92['GpWYH'](_0x26da92[_0x53789c(0x194)],_0x537b6e));}const _0xdd98fc=helper[_0x53789c(0x1d9)](_0x4fb305,_0x4fb305['framework']),_0x343846={'userName':helper[_0x53789c(0x1a7)](_0x4fb305),'accessKey':helper['getAccessKey'](_0x4fb305),'event_type':_0x3cb60d,'detectedFramework':_0x561faa,'buildHashedId':globals[_0x53789c(0x17c)](_0x26da92[_0x53789c(0x1d2)]),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x53789c(0x1a5)][_0x53789c(0x1c0)]]||'','sdkRunId':global['sdkRunId'],'product_map':_0x26da92['HOGeJ'](getProductMap,_0x4fb305),'productMap':_0x26da92[_0x53789c(0x166)](getProductMap,_0x4fb305),'language_framework':_0x4fb305[_0x53789c(0x198)]||_0x26da92['Ymuow'],'referrer':helper[_0x53789c(0x1b0)](_0x561faa),'framework':_0x4fb305[_0x53789c(0x1d6)],'frameworkVersion':helper[_0x53789c(0x19e)](_0x561faa),'automationFramework':_0xdd98fc[_0x53789c(0x174)],'automationFrameworkVersion':_0xdd98fc['version'],'language':_0x26da92[_0x53789c(0x1a2)],'languageVersion':process[_0x53789c(0x1a3)],'product':_0x44ae2c,'buildName':_0x4fb305[_0x53789c(0x159)]||_0x26da92['zcRff'],'buildIdentifier':_0x4eeda9,'os':os[_0x53789c(0x189)]()||_0x26da92['Ymuow'],'hostname':os['hostname']()||_0x26da92[_0x53789c(0x14d)],..._0x334962,'isCLIEnabled':_0x17021d}};try{_0x26da92['mrPEW'](_0x3cb60d,_0x26da92[_0x53789c(0x175)])&&(_0x343846['event_properties'][_0x53789c(0x17b)]=helper[_0x53789c(0x151)](_0x4fb305)),_0x26da92[_0x53789c(0x1ad)](_0x561faa,_0x26da92[_0x53789c(0x182)])?_0x343846[_0x53789c(0x1b9)][_0x53789c(0x155)]=helper[_0x53789c(0x1a4)][_0x53789c(0x1bb)](null,_0x26da92['MpraQ'](getTransformPath),!![]):_0x343846[_0x53789c(0x1b9)][_0x53789c(0x1a0)]=helper[_0x53789c(0x164)](_0x26da92['dwrJw']);}catch(_0x598179){logger[_0x53789c(0x1b5)]('Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20'+_0x598179);}const _0x5544b8={};_0x5544b8['content-type']=_0x26da92[_0x53789c(0x150)];const _0x33015d={'headers':_0x5544b8,'body':_0x343846,'auth':{'user':helper['getUserName'](_0x4fb305),'pass':helper[_0x53789c(0x1a1)](_0x4fb305)},'json':!![]};logger['debug']('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON[_0x53789c(0x15f)](_0x33015d[_0x53789c(0x1b2)])[_0x53789c(0x16b)](new RegExp(helper[_0x53789c(0x1a7)](_0x4fb305),'g'),_0x26da92['QzYyl'])['replace'](new RegExp(helper[_0x53789c(0x1a1)](_0x4fb305),'g'),_0x26da92[_0x53789c(0x1b1)]));try{const _0x50f1e3=await helper[_0x53789c(0x149)](_0x26da92[_0x53789c(0x163)],FUNNEL_INSTRUMENTATION_API_URL,_0x33015d,_0x4fb305);logger['debug'](_0x53789c(0x19d)+_0x3cb60d+'\x20response\x20-\x20'+util['format']('%j',_0x50f1e3));}catch(_0x49faee){logger[_0x53789c(0x1b5)]('Error\x20in\x20firing\x20request\x20to\x20'+FUNNEL_INSTRUMENTATION_API_URL+_0x53789c(0x1d5)+util[_0x53789c(0x191)](_0x49faee));}},exports['finalExecution']=async(_0x27521c,_0x1ead41=![])=>{const _0x1ecc16=a172_0x2ce549,_0x4a19a8={'LZXcy':function(_0x50dabe){return _0x50dabe();},'dZmPk':_0x1ecc16(0x18a),'QMTER':_0x1ecc16(0x19c),'FJXXR':_0x1ecc16(0x1af),'fuwCs':_0x1ecc16(0x184),'yhyXb':function(_0x170bce,_0x5b0219,_0x235706){return _0x170bce(_0x5b0219,_0x235706);},'hFexY':function(_0xc2c1b2,_0x4448ec){return _0xc2c1b2+_0x4448ec;},'eRqPO':_0x1ecc16(0x167)};try{await _0x27521c[_0x1ecc16(0x160)](),_0x4a19a8[_0x1ecc16(0x17e)](printNudgeLocalNotSetError);const _0x47e9eb={};_0x47e9eb[_0x1ecc16(0x17a)]=_0x27521c[_0x1ecc16(0x1c6)]?_0x27521c[_0x1ecc16(0x1c6)]:'{}';const _0x1b8d4d=_0x47e9eb,_0x5e57ca=Object[_0x1ecc16(0x180)]({},_0x1b8d4d),_0x1998b7=globals['getGlobal'](_0x4a19a8[_0x1ecc16(0x16c)]);_0x1998b7&&(_0x5e57ca[_0x1ecc16(0x1c8)]=_0x1998b7);!!_0x27521c['killSignal']&&(_0x5e57ca[_0x4a19a8['QMTER']]={'reason':_0x4a19a8[_0x1ecc16(0x1ae)],'signal':_0x27521c[_0x1ecc16(0x1bc)]});unhandledErrors=_0x27521c[_0x1ecc16(0x173)][_0x1ecc16(0x158)]('\x0a');let _0x5a51fb,_0x552a5a,_0xdc441a;helper[_0x1ecc16(0x190)](_0x27521c[_0x1ecc16(0x1d8)])?([_0x5a51fb,_0x552a5a]=await helper['getTurboScaleBuildLink'](_0x27521c['config']),[_0xdc441a]=await Promise[_0x1ecc16(0x18f)]([helper[_0x1ecc16(0x1ac)](_0x5a51fb,_0x27521c[_0x1ecc16(0x1d8)]),exports[_0x1ecc16(0x195)](_0x4a19a8['fuwCs'],_0x5e57ca,_0x27521c[_0x1ecc16(0x1d8)],_0x27521c[_0x1ecc16(0x1d6)],_0x1ead41)])):([_0x5a51fb,_0x552a5a]=await helper['getBuildLink'](_0x27521c[_0x1ecc16(0x1d8)]),[_0xdc441a]=await Promise[_0x1ecc16(0x18f)]([helper['getSessionsList'](_0x5a51fb,_0x27521c[_0x1ecc16(0x1d8)]),exports['fireFunnelTestEvent'](_0x4a19a8['fuwCs'],_0x5e57ca,_0x27521c[_0x1ecc16(0x1d8)],_0x27521c[_0x1ecc16(0x1d6)],_0x1ead41)])),_0xdc441a&&await _0x4a19a8[_0x1ecc16(0x181)](generateCIArtifacts,_0xdc441a,_0x552a5a),logger[_0x1ecc16(0x152)](_0x1ecc16(0x196)+_0x27521c[_0x1ecc16(0x1c2)]+_0x1ecc16(0x16f)+process[_0x1ecc16(0x176)]['BROWSERSTACK_TESTHUB_UUID']),await helper['sendLogs'](_0x27521c[_0x1ecc16(0x1d8)]);}catch(_0x357e61){logger['debug'](_0x4a19a8[_0x1ecc16(0x157)](_0x4a19a8[_0x1ecc16(0x14b)],_0x357e61));}helper['notifyUpdate']();},exports[a172_0x2ce549(0x170)]=_0x49ef58=>{const _0x553b44=a172_0x2ce549,_0x299fab={'KRgOQ':function(_0x2d3ee4,_0x36baa3){return _0x2d3ee4 instanceof _0x36baa3;},'QhriO':function(_0x5c41f7,_0x531094){return _0x5c41f7(_0x531094);}};try{if(_0x299fab[_0x553b44(0x18d)](_0x49ef58,Error))return _0x49ef58['stack']||_0x49ef58[_0x553b44(0x183)]();return _0x299fab[_0x553b44(0x1c1)](String,_0x49ef58);}catch(_0x57babc){return _0x49ef58?_0x49ef58[_0x553b44(0x183)]():'';}},exports[a172_0x2ce549(0x15c)]=_0x3404fb=>{const _0x4663f4=a172_0x2ce549,_0x25db1b={};_0x25db1b['nmsuz']=function(_0x5e7130,_0x3df44b){return _0x5e7130===_0x3df44b;};const _0x499683=_0x25db1b;return!_0x3404fb||_0x499683[_0x4663f4(0x1da)](_0x3404fb[_0x4663f4(0x18b)](),'');},exports[a172_0x2ce549(0x1b4)]=_0x55b629=>{const _0x3beecc=a172_0x2ce549,_0x2d3130={};_0x2d3130['njmpQ']=function(_0x5c3235,_0x50b219){return _0x5c3235|_0x50b219;};const _0x105959=_0x2d3130;try{return fs[_0x3beecc(0x15a)](_0x55b629,_0x105959[_0x3beecc(0x1b8)](fs['constants'][_0x3beecc(0x165)],fs[_0x3beecc(0x154)][_0x3beecc(0x1bf)])),!![];}catch(_0xb16b8d){return![];}},exports['setReadWriteExecuteAccess']=_0x187f73=>{const _0x3ac9d7=a172_0x2ce549;try{fs['chmodSync'](_0x187f73,0x1ff),logger[_0x3ac9d7(0x1b5)](_0x3ac9d7(0x17d)+_0x187f73+_0x3ac9d7(0x187));}catch(_0x55ec3a){logger['error'](_0x3ac9d7(0x14e)+exports[_0x3ac9d7(0x170)](_0x55ec3a));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a173_0x5d6ddf=a173_0xb5c5;function a173_0xb5c5(_0x1e846e,_0x3b3de5){var _0x21d5cc=a173_0x21d5();return a173_0xb5c5=function(_0xb5c52b,_0x1d9127){_0xb5c52b=_0xb5c52b-0xbd;var _0x2f2015=_0x21d5cc[_0xb5c52b];return _0x2f2015;},a173_0xb5c5(_0x1e846e,_0x3b3de5);}(function(_0x1a46d5,_0x320cb2){var _0x109026=a173_0xb5c5,_0x599c99=_0x1a46d5();while(!![]){try{var _0x50da4c=-parseInt(_0x109026(0x105))/0x1*(-parseInt(_0x109026(0xde))/0x2)+-parseInt(_0x109026(0x11c))/0x3+parseInt(_0x109026(0x12a))/0x4+parseInt(_0x109026(0x113))/0x5+parseInt(_0x109026(0x143))/0x6*(-parseInt(_0x109026(0x11e))/0x7)+-parseInt(_0x109026(0xc0))/0x8+-parseInt(_0x109026(0xca))/0x9*(-parseInt(_0x109026(0x12b))/0xa);if(_0x50da4c===_0x320cb2)break;else _0x599c99['push'](_0x599c99['shift']());}catch(_0x212f7d){_0x599c99['push'](_0x599c99['shift']());}}}(a173_0x21d5,0x1ec32),exports[a173_0x5d6ddf(0xdb)]=()=>{var _0x3f83ad=a173_0x5d6ddf,_0x426e6d={};_0x426e6d[_0x3f83ad(0xd6)]=_0x3f83ad(0xcd),_0x426e6d[_0x3f83ad(0x112)]=_0x3f83ad(0x13d),_0x426e6d[_0x3f83ad(0xce)]=_0x3f83ad(0x11d),_0x426e6d[_0x3f83ad(0x115)]=_0x3f83ad(0xe9),_0x426e6d[_0x3f83ad(0xcf)]=_0x3f83ad(0xf4),_0x426e6d[_0x3f83ad(0xee)]=_0x3f83ad(0x10b),_0x426e6d[_0x3f83ad(0x11b)]=_0x3f83ad(0x106),_0x426e6d['juvJY']=_0x3f83ad(0xea),_0x426e6d['nMMvy']=_0x3f83ad(0x147),_0x426e6d[_0x3f83ad(0xd2)]='local',_0x426e6d[_0x3f83ad(0xbf)]=_0x3f83ad(0xf7),_0x426e6d['joiww']=_0x3f83ad(0x136),_0x426e6d['Vpwmi']='consoleLogs',_0x426e6d[_0x3f83ad(0xeb)]=_0x3f83ad(0x111),_0x426e6d['WKTsk']=_0x3f83ad(0xd9),_0x426e6d[_0x3f83ad(0x10c)]=_0x3f83ad(0x125),_0x426e6d[_0x3f83ad(0x119)]=_0x3f83ad(0x118),_0x426e6d[_0x3f83ad(0x12e)]=_0x3f83ad(0xef),_0x426e6d[_0x3f83ad(0xc2)]=_0x3f83ad(0x101),_0x426e6d[_0x3f83ad(0xed)]='geoLocation',_0x426e6d[_0x3f83ad(0x14a)]=_0x3f83ad(0xc3),_0x426e6d[_0x3f83ad(0x133)]=_0x3f83ad(0x131),_0x426e6d['WLVwo']=_0x3f83ad(0x130),_0x426e6d['bBcAJ']='maskCommands',_0x426e6d[_0x3f83ad(0x144)]=_0x3f83ad(0xbd),_0x426e6d['QZGYV']=_0x3f83ad(0xbe),_0x426e6d[_0x3f83ad(0xe3)]='autoWait',_0x426e6d[_0x3f83ad(0xdd)]='hosts',_0x426e6d[_0x3f83ad(0x12c)]='bfcache',_0x426e6d['HYlPK']=_0x3f83ad(0xc5),_0x426e6d[_0x3f83ad(0xf2)]='disableCorsRestrictions',_0x426e6d[_0x3f83ad(0x141)]=_0x3f83ad(0x107),_0x426e6d[_0x3f83ad(0x10e)]='realMobile',_0x426e6d[_0x3f83ad(0xe6)]=_0x3f83ad(0xd4),_0x426e6d[_0x3f83ad(0xc7)]=_0x3f83ad(0xff),_0x426e6d[_0x3f83ad(0x135)]='customNetwork',_0x426e6d['CdfTQ']=_0x3f83ad(0x103),_0x426e6d[_0x3f83ad(0x114)]=_0x3f83ad(0xdf),_0x426e6d['RPqVx']=_0x3f83ad(0x124),_0x426e6d[_0x3f83ad(0xe8)]=_0x3f83ad(0x13b),_0x426e6d[_0x3f83ad(0xfb)]=_0x3f83ad(0x104),_0x426e6d[_0x3f83ad(0xd3)]='testhubBuildUuid',_0x426e6d[_0x3f83ad(0xdc)]=_0x3f83ad(0x132),_0x426e6d[_0x3f83ad(0xf1)]='accessibilityOptions.scannerVersion',_0x426e6d[_0x3f83ad(0x12d)]='accessibilityOptions.scannerProcessingTimeout',_0x426e6d[_0x3f83ad(0xc8)]=_0x3f83ad(0x146),_0x426e6d[_0x3f83ad(0xda)]=_0x3f83ad(0xc4),_0x426e6d['Rfixe']=_0x3f83ad(0xf6),_0x426e6d['bgVGy']=_0x3f83ad(0xc9),_0x426e6d[_0x3f83ad(0x145)]=_0x3f83ad(0xd5),_0x426e6d['rbcCv']='simOptions',_0x426e6d['JHver']=_0x3f83ad(0xe5),_0x426e6d[_0x3f83ad(0xc6)]=_0x3f83ad(0x11a),_0x426e6d[_0x3f83ad(0x138)]=_0x3f83ad(0x139),_0x426e6d['omrTZ']=_0x3f83ad(0x10f),_0x426e6d['JVWLr']=_0x3f83ad(0xe7);var _0x494dd0=_0x426e6d,_0x2ad759={};return _0x2ad759[_0x3f83ad(0x116)]=_0x494dd0[_0x3f83ad(0xd6)],_0x2ad759[_0x3f83ad(0x13a)]=_0x494dd0[_0x3f83ad(0x112)],_0x2ad759['os']='os',_0x2ad759[_0x3f83ad(0x100)]=_0x494dd0[_0x3f83ad(0xce)],_0x2ad759[_0x3f83ad(0xe9)]=_0x494dd0['LurwE'],_0x2ad759[_0x3f83ad(0xd1)]=_0x494dd0[_0x3f83ad(0xcf)],_0x2ad759[_0x3f83ad(0xcc)]=_0x494dd0[_0x3f83ad(0xee)],_0x2ad759['project']=_0x494dd0['JXtMK'],_0x2ad759['build']=_0x494dd0[_0x3f83ad(0x102)],_0x2ad759['name']=_0x494dd0[_0x3f83ad(0x122)],_0x2ad759[_0x3f83ad(0x110)]=_0x494dd0[_0x3f83ad(0xd2)],_0x2ad759[_0x3f83ad(0x126)]=_0x494dd0['veoII'],_0x2ad759[_0x3f83ad(0xfd)]=_0x494dd0[_0x3f83ad(0x109)],_0x2ad759[_0x3f83ad(0x117)]=_0x494dd0[_0x3f83ad(0xcb)],_0x2ad759[_0x3f83ad(0x134)]=_0x494dd0[_0x3f83ad(0xeb)],_0x2ad759[_0x3f83ad(0xe4)]=_0x494dd0[_0x3f83ad(0x11f)],_0x2ad759['browserstack.appiumLogs']=_0x494dd0[_0x3f83ad(0x10c)],_0x2ad759[_0x3f83ad(0xe1)]=_0x494dd0[_0x3f83ad(0x119)],_0x2ad759[_0x3f83ad(0xf9)]=_0x494dd0[_0x3f83ad(0x12e)],_0x2ad759[_0x3f83ad(0xe2)]=_0x494dd0[_0x3f83ad(0xc2)],_0x2ad759[_0x3f83ad(0x128)]=_0x494dd0[_0x3f83ad(0xed)],_0x2ad759['browserstack.timezone']=_0x494dd0[_0x3f83ad(0x14a)],_0x2ad759[_0x3f83ad(0x131)]=_0x494dd0[_0x3f83ad(0x133)],_0x2ad759['browserstack.selenium_version']=_0x494dd0[_0x3f83ad(0xfa)],_0x2ad759[_0x3f83ad(0xd8)]=_0x494dd0[_0x3f83ad(0x127)],_0x2ad759[_0x3f83ad(0xf5)]=_0x494dd0['arDpR'],_0x2ad759[_0x3f83ad(0xd0)]=_0x494dd0[_0x3f83ad(0xfc)],_0x2ad759['browserstack.autoWait']=_0x494dd0[_0x3f83ad(0xe3)],_0x2ad759[_0x3f83ad(0xd7)]=_0x494dd0[_0x3f83ad(0xdd)],_0x2ad759[_0x3f83ad(0x148)]=_0x494dd0[_0x3f83ad(0x12c)],_0x2ad759[_0x3f83ad(0x123)]=_0x494dd0['HYlPK'],_0x2ad759['browserstack.disableCorsRestrictions']=_0x494dd0[_0x3f83ad(0xf2)],_0x2ad759[_0x3f83ad(0x13e)]=_0x494dd0[_0x3f83ad(0x141)],_0x2ad759['realMobile']=_0x494dd0[_0x3f83ad(0x10e)],_0x2ad759['browserstack.appium_version']=_0x494dd0[_0x3f83ad(0xe6)],_0x2ad759[_0x3f83ad(0xff)]=_0x494dd0[_0x3f83ad(0xc7)],_0x2ad759[_0x3f83ad(0xc1)]=_0x494dd0['CWFQB'],_0x2ad759[_0x3f83ad(0x13c)]=_0x494dd0[_0x3f83ad(0xf0)],_0x2ad759[_0x3f83ad(0x137)]=_0x494dd0[_0x3f83ad(0x114)],_0x2ad759[_0x3f83ad(0xe0)]=_0x494dd0[_0x3f83ad(0x121)],_0x2ad759['browserstack.accessibility']=_0x494dd0[_0x3f83ad(0xe8)],_0x2ad759['browserstack.buildProductMap']=_0x494dd0[_0x3f83ad(0xfb)],_0x2ad759[_0x3f83ad(0xfe)]=_0x494dd0[_0x3f83ad(0xd3)],_0x2ad759[_0x3f83ad(0x120)]=_0x494dd0['oeben'],_0x2ad759[_0x3f83ad(0x140)]=_0x494dd0[_0x3f83ad(0xf1)],_0x2ad759[_0x3f83ad(0x129)]=_0x494dd0[_0x3f83ad(0x12d)],_0x2ad759[_0x3f83ad(0xec)]=_0x494dd0['wtzjB'],_0x2ad759[_0x3f83ad(0x10d)]=_0x494dd0[_0x3f83ad(0xda)],_0x2ad759['browserstack.accessibilityOptions.authToken']=_0x494dd0['Rfixe'],_0x2ad759[_0x3f83ad(0x149)]=_0x494dd0[_0x3f83ad(0xf8)],_0x2ad759['browserstack.enableSim']=_0x494dd0[_0x3f83ad(0x145)],_0x2ad759['browserstack.simOptions']=_0x494dd0[_0x3f83ad(0x10a)],_0x2ad759['browserstack.playwrightVersion']=_0x494dd0[_0x3f83ad(0x13f)],_0x2ad759['browserstack.overridelocalInfo.userAuthToken']=_0x494dd0[_0x3f83ad(0xc6)],_0x2ad759[_0x3f83ad(0x108)]=_0x494dd0[_0x3f83ad(0x138)],_0x2ad759['browserstack.headerParams']=_0x494dd0[_0x3f83ad(0x12f)],_0x2ad759[_0x3f83ad(0xf3)]=_0x494dd0[_0x3f83ad(0x142)],_0x2ad759;});function a173_0x21d5(){var _0xabdc5c=['CWFQB','debug','browserstack.buildIdentifier','barlc','overridelocalInfo.localIdentifier','browserstack.key','accessibility','browserstack.networkProfile','accessKey','device','JHver','browserstack.accessibilityOptions.scannerVersion','fWqwg','JVWLr','12ajaDAI','arDpR','HEbtf','accessibilityOptions.includeIssueType.bestPractice','sessionName','browserstack.bfcache','browserstack.uploadMedia','EGyGG','idleTimeout','maskBasicAuth','veoII','611216IDgruM','browserstack.customNetwork','MktGw','timezone','accessibilityOptions.includeIssueType.needsReview','wsLocalSupport','ONXoX','lgTyM','wtzjB','uploadMedia','9hheiXU','Vpwmi','browserstack.use_w3c','userName','shXhP','MixBf','browserstack.maskBasicAuth','browser_version','tcTxW','LHipu','appiumVersion','enableSim','qAhDa','browserstack.hosts','browserstack.maskCommands','networkLogsOptions','Cromd','W3CMapping','oeben','KOseB','165098VBMJhk','buildIdentifier','browserstack.browserstackSDK','browserstack.video','browserstack.telemetryLogs','ceESR','browserstack.networkLogsOptions','playwrightVersion','zEuUL','performance','jVXcp','browser','buildName','PsIaU','browserstack.accessibilityOptions.includeIssueType.bestPractice','gxXaf','ChaDT','seleniumLogs','CdfTQ','ESamG','UfAxG','browserstack.performance','browserVersion','browserstack.idleTimeout','accessibilityOptions.authToken','localIdentifier','bgVGy','browserstack.seleniumLogs','WLVwo','SRAlc','QZGYV','browserstack.debug','browserstack.testhubBuildUuid','deviceOrientation','os_version','telemetryLogs','juvJY','networkProfile','buildProductMap','1dsGOZa','projectName','deviceName','browserstack.overridelocalInfo.localIdentifier','joiww','rbcCv','useW3c','qGKgZ','browserstack.accessibilityOptions.includeIssueType.needsReview','lFTqz','headerParams','browserstack.local','networkLogs','kqyKs','1117520QDpoBk','qFulu','LurwE','browserstack.user','browserstack.console','video','hUDyE','overridelocalInfo.userAuthToken','JXtMK','607224KvTxdS','osVersion','644077cjDkNh','WKTsk','browserstack.accessibilityOptions.wcagVersion','RPqVx','nMMvy','browserstack.wsLocalSupport','browserstackSDK','appiumLogs','browserstack.localIdentifier','bBcAJ','browserstack.geoLocation','browserstack.accessibilityOptions.scannerProcessingTimeout','733920NvyTam','993010ulCYUU','kOmzX','GNKsl','elChu','omrTZ','seleniumVersion','resolution','accessibilityOptions.wcagVersion','Zudst','browserstack.networkLogs'];a173_0x21d5=function(){return _0xabdc5c;};return a173_0x21d5();}
|
|
@@ -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
|
+
const a174_0xe18a4f=a174_0x140a;(function(_0x35985f,_0xf175b8){const _0x28e88e=a174_0x140a,_0x36e8d1=_0x35985f();while(!![]){try{const _0x12b7e5=-parseInt(_0x28e88e(0x129))/0x1*(-parseInt(_0x28e88e(0xea))/0x2)+-parseInt(_0x28e88e(0x12e))/0x3*(parseInt(_0x28e88e(0x126))/0x4)+-parseInt(_0x28e88e(0x14d))/0x5+parseInt(_0x28e88e(0x119))/0x6+parseInt(_0x28e88e(0xf0))/0x7+-parseInt(_0x28e88e(0x136))/0x8*(parseInt(_0x28e88e(0xef))/0x9)+parseInt(_0x28e88e(0x102))/0xa;if(_0x12b7e5===_0xf175b8)break;else _0x36e8d1['push'](_0x36e8d1['shift']());}catch(_0x44d090){_0x36e8d1['push'](_0x36e8d1['shift']());}}}(a174_0x1b59,0x81e0b));function a174_0x1b59(){const _0x2acc9d=['92hERHXr','BhciU','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','11854gPCESb','nHESt','hubRegion\x20','Invalid\x20new\x20HUB\x20URL:\x20','PbHMD','110463ummvQL','then','skipped','gvGjt','setGlobal','catch','HZmmh','util','158632ePFvts','uJNBN','next_hubs','Gxzku','url','HUB_URL_MAP','rSWmH','YmYUn','CPowq','latency','Ozaiz','has','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','OaVkN','AoeZu','TmaPV','plmxU','fulfilled','HUB\x20URL\x20SET\x20TO\x20-\x20','dhZXN','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','TGwWR','all','4358195RofGZH','set','get','data','nodeRequest','value','consumeHubUrlForSession','allSettled','nBDld','wcqdf','FYGBZ','YhDxM','100SwUNqg','hubUrl','getGlobal','LYNps','erxMM','468dfGFih','2930571jgNaWU','path','/wd/hub','winstonLogger','length','search','replace','hostname','rOFNh','RTuXw','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','irjXQ','_hubAllocationData','TqCfO','now','https://','allocateHub','21426320QQzSOn','parse','./helpers/globals','updateHubUrl','\x20HUB\x20-\x20','sluAE','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','./bin/utils/constants','./helpers/logger','hash','NEAREST\x20HUBS\x20LIST:\x20','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','ERROR\x20in\x20hub\x20selection:\x20','hubRegion','format','YNMjU','Execution\x20time\x20for\x20','race','LSjbQ','check','dPuwR','rVdVy','hubLatencies','765744QvXxGc','findLatency','newHubUrlBySession','gOdho','map','GET','debug','getRequestOptions','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','resolve','eWEqa','fofAM','nextHubs'];a174_0x1b59=function(){return _0x2acc9d;};return a174_0x1b59();}function a174_0x140a(_0x43a585,_0x239659){const _0x1b599d=a174_0x1b59();return a174_0x140a=function(_0x140a9a,_0x5dc8f8){_0x140a9a=_0x140a9a-0xe0;let _0x3928f8=_0x1b599d[_0x140a9a];return _0x3928f8;},a174_0x140a(_0x43a585,_0x239659);}const url=require(a174_0xe18a4f(0x13a)),util=require(a174_0xe18a4f(0x135)),helper=require('./helpers/helper'),logger=require(a174_0xe18a4f(0x10a))[a174_0xe18a4f(0xf3)],constants=require(a174_0xe18a4f(0x109)),globals=require(a174_0xe18a4f(0x104));global[a174_0xe18a4f(0x11b)]=global[a174_0xe18a4f(0x11b)]||new Map(),exports[a174_0xe18a4f(0x120)]=_0x117999=>{const _0x2b57c7=a174_0xe18a4f,_0x48521f={};_0x48521f['gOdho']=function(_0x194e8d,_0x55ec7d){return _0x194e8d+_0x55ec7d;},_0x48521f[_0x2b57c7(0x145)]=_0x2b57c7(0x12c);const _0x1a2e26=_0x48521f,_0x324775=url[_0x2b57c7(0x103)](_0x117999);if(!_0x324775[_0x2b57c7(0xf7)])throw new Error(_0x1a2e26[_0x2b57c7(0x11c)](_0x1a2e26['TmaPV'],_0x117999));return _0x324775[_0x2b57c7(0xf5)]=null,_0x324775[_0x2b57c7(0x10b)]=null,_0x324775[_0x2b57c7(0xf1)]=_0x324775['pathname'],_0x324775;},exports[a174_0xe18a4f(0x105)]=(_0x2f61ac,_0x340cae)=>{const _0x36f1f1=a174_0xe18a4f,_0x403781={};_0x403781[_0x36f1f1(0x146)]=_0x36f1f1(0x108);const _0x429f42=_0x403781;if(!_0x340cae){logger['debug'](_0x429f42[_0x36f1f1(0x146)]);return;}global[_0x36f1f1(0x11b)][_0x36f1f1(0x14e)](_0x340cae,_0x2f61ac);},exports[a174_0xe18a4f(0xe4)]=_0x29e24c=>{const _0x22d112=a174_0xe18a4f;if(_0x29e24c&&global[_0x22d112(0x11b)][_0x22d112(0x141)](_0x29e24c)){const _0x38bb=global[_0x22d112(0x11b)][_0x22d112(0xe0)](_0x29e24c);return global[_0x22d112(0x11b)]['delete'](_0x29e24c),_0x38bb;}return'';},exports[a174_0xe18a4f(0x101)]=_0x4a2de7=>{const _0x120e8e=a174_0xe18a4f,_0x4cd260={'LYNps':_0x120e8e(0x14a),'Gxzku':function(_0x171447,_0x125882){return _0x171447+_0x125882;},'dPuwR':_0x120e8e(0x100),'PbHMD':_0x120e8e(0xfd),'FYGBZ':_0x120e8e(0xf2),'rSWmH':function(_0x534978){return _0x534978();},'GpoYH':function(_0x5c7612,_0x8213f8){return _0x5c7612+_0x8213f8;},'rOFNh':function(_0x4ee288,_0x2b5a0a){return _0x4ee288!==_0x2b5a0a;},'nHESt':function(_0x3754e6,_0x5afd56){return _0x3754e6===_0x5afd56;},'WviaT':_0x120e8e(0x147),'dhZXN':function(_0x377abf,_0xca31ea){return _0x377abf==_0xca31ea;},'LSjbQ':function(_0x461810,_0x8bac0a){return _0x461810===_0x8bac0a;}};return new Promise(_0x55fc23=>{const _0x4870df=_0x120e8e,_0x8be9ee={'YmYUn':_0x4cd260[_0x4870df(0xed)],'Ozaiz':function(_0x3f3197,_0x55ab97){const _0x530c89=_0x4870df;return _0x4cd260[_0x530c89(0x139)](_0x3f3197,_0x55ab97);},'YhDxM':_0x4cd260[_0x4870df(0x116)],'TGwWR':_0x4cd260[_0x4870df(0x12d)],'YNMjU':function(_0x234466,_0x18df11){const _0x52ba25=_0x4870df;return _0x4cd260[_0x52ba25(0x139)](_0x234466,_0x18df11);},'AoeZu':_0x4cd260[_0x4870df(0xe8)],'fofAM':function(_0x4b6ef0){const _0x107a2c=_0x4870df;return _0x4cd260[_0x107a2c(0x13c)](_0x4b6ef0);},'eWEqa':function(_0x46616d,_0x58855e){return _0x4cd260['GpoYH'](_0x46616d,_0x58855e);},'HZmmh':function(_0x1c4d24,_0x3f5e91){const _0x5838cb=_0x4870df;return _0x4cd260[_0x5838cb(0xf8)](_0x1c4d24,_0x3f5e91);},'CPowq':function(_0x3acc0e,_0x4e2f6e){const _0x5158cc=_0x4870df;return _0x4cd260[_0x5158cc(0x12a)](_0x3acc0e,_0x4e2f6e);},'uJNBN':_0x4cd260['WviaT'],'MTBrt':function(_0x5e7f72,_0x142598){const _0x378d07=_0x4870df;return _0x4cd260[_0x378d07(0x149)](_0x5e7f72,_0x142598);},'irjXQ':function(_0x2102d1,_0x33e0e4){const _0x18ccf8=_0x4870df;return _0x4cd260[_0x18ccf8(0x114)](_0x2102d1,_0x33e0e4);}};if(_0x4a2de7&&_0x4a2de7[_0x4870df(0x10f)]){const _0x27b5ea=constants[_0x4870df(0x13b)][_0x4a2de7['hubRegion']];if(_0x27b5ea)return constants[_0x4870df(0xeb)]=_0x27b5ea,logger['debug'](_0x4870df(0xfa)+_0x27b5ea),globals['setGlobal'](_0x4cd260[_0x4870df(0x12d)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x27b5ea['replace'](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date['now']()}),_0x4cd260[_0x4870df(0x13c)](_0x55fc23);logger[_0x4870df(0x11f)](_0x4870df(0x12b)+_0x4a2de7[_0x4870df(0x10f)]+_0x4870df(0x128));}Promise[_0x4870df(0x122)](this['nextHubs'](_0x4a2de7))[_0x4870df(0x12f)](_0x5d593b=>{const _0x30e001=_0x4870df,_0x2ef804={'BhciU':function(_0x450296,_0x334032){const _0x19c627=a174_0x140a;return _0x8be9ee[_0x19c627(0x134)](_0x450296,_0x334032);},'wcqdf':function(_0x34b62b,_0x327029){const _0x22d16b=a174_0x140a;return _0x8be9ee[_0x22d16b(0x111)](_0x34b62b,_0x327029);},'tnWtp':_0x8be9ee['YhDxM'],'sluAE':_0x8be9ee[_0x30e001(0x14b)],'TqCfO':function(_0x25db05,_0x25cda6){const _0x38dbf0=_0x30e001;return _0x8be9ee[_0x38dbf0(0x13e)](_0x25db05,_0x25cda6);},'gvGjt':_0x8be9ee[_0x30e001(0x137)]};logger[_0x30e001(0x11f)](_0x30e001(0x10c)+util[_0x30e001(0x110)]('%j',_0x5d593b));if(_0x8be9ee['MTBrt'](_0x5d593b,null)||_0x8be9ee[_0x30e001(0xfc)](_0x5d593b[_0x30e001(0xf4)],0x0))return _0x8be9ee[_0x30e001(0x124)](_0x55fc23);const _0x55c6f4=_0x5d593b[_0x30e001(0x11d)](_0x58dc58=>{const _0x37122f=_0x30e001,_0x5663d6={'DsfzV':function(_0xf0cacd,_0x1be9a2){const _0x296c43=a174_0x140a;return _0x2ef804[_0x296c43(0x127)](_0xf0cacd,_0x1be9a2);}},_0x500d1c=_0x2ef804[_0x37122f(0xe7)](_0x2ef804['tnWtp'],_0x58dc58);return this[_0x37122f(0x11a)](_0x4a2de7,_0x500d1c)[_0x37122f(0x12f)](_0x2e9b8e=>{const _0x16429f=_0x37122f;if(_0x2e9b8e&&_0x2e9b8e[_0x16429f(0xeb)]&&_0x5663d6['DsfzV'](_0x2e9b8e['latency'],undefined)){const _0x6b5e36={};return _0x6b5e36[_0x16429f(0xeb)]=_0x2e9b8e[_0x16429f(0xeb)],_0x6b5e36['latency']=_0x2e9b8e[_0x16429f(0x13f)],_0x6b5e36['ok']=!![],_0x6b5e36;}const _0x5c0710={};return _0x5c0710['hubUrl']=_0x500d1c,_0x5c0710['latency']=null,_0x5c0710['ok']=![],_0x5c0710;})[_0x37122f(0x133)](()=>({'hubUrl':_0x500d1c,'latency':null,'ok':![]}));});Promise[_0x30e001(0x113)](_0x55c6f4[_0x30e001(0x11d)](_0x56713e=>_0x56713e[_0x30e001(0x12f)](_0x3e3313=>_0x3e3313['ok']?_0x3e3313:null)))['then'](_0x59dce9=>{const _0x2ffb5f=_0x30e001;if(_0x59dce9)return _0x59dce9;return Promise[_0x2ffb5f(0x14c)](_0x55c6f4)[_0x2ffb5f(0x12f)](()=>null);})[_0x30e001(0x12f)](_0x209ae7=>{const _0x2f2939=_0x30e001;if(!_0x209ae7){logger[_0x2f2939(0x11f)](_0x8be9ee[_0x2f2939(0x13d)]);const _0x217a0f=_0x8be9ee[_0x2f2939(0x140)](_0x8be9ee[_0x2f2939(0xe9)],_0x5d593b[0x0]);return globals[_0x2f2939(0x132)](_0x8be9ee[_0x2f2939(0x14b)],{'nearestHubs':_0x5d593b[_0x2f2939(0x11d)](_0x2d644c=>_0x2f2939(0x100)+_0x2d644c),'hubLatencies':{},'selectedHub':_0x217a0f,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x2f2939(0xff)]()}),constants[_0x2f2939(0xeb)]=_0x8be9ee[_0x2f2939(0x111)](_0x217a0f,_0x8be9ee[_0x2f2939(0x144)]),logger[_0x2f2939(0x11f)](_0x2f2939(0x142)+_0x217a0f),_0x8be9ee[_0x2f2939(0x124)](_0x55fc23);}const _0x1f88af={[_0x209ae7[_0x2f2939(0xeb)]]:_0x209ae7[_0x2f2939(0x13f)]},_0x46af9c={'nearestHubs':_0x5d593b[_0x2f2939(0x11d)](_0x56770e=>_0x2f2939(0x100)+_0x56770e),'hubLatencies':_0x1f88af,'selectedHub':_0x209ae7['hubUrl'],'selectedHubLatency':_0x209ae7[_0x2f2939(0x13f)],'timestamp':Date[_0x2f2939(0xff)]()};globals[_0x2f2939(0x132)](_0x8be9ee[_0x2f2939(0x14b)],_0x46af9c),constants['hubUrl']=_0x8be9ee[_0x2f2939(0x123)](_0x209ae7['hubUrl'],_0x8be9ee[_0x2f2939(0x144)]),logger[_0x2f2939(0x11f)](_0x2f2939(0x148)+_0x209ae7['hubUrl']),_0x8be9ee[_0x2f2939(0x124)](_0x55fc23),Promise[_0x2f2939(0xe5)](_0x55c6f4)[_0x2f2939(0x12f)](_0x44f747=>{const _0x424aaa=_0x2f2939;try{const _0x390c88=globals[_0x424aaa(0xec)](_0x2ef804[_0x424aaa(0x107)]);if(!_0x390c88||_0x390c88[_0x424aaa(0x130)])return;const _0x42a4bf={};for(const _0x27f4bf of _0x44f747){_0x2ef804[_0x424aaa(0xfe)](_0x27f4bf['status'],_0x2ef804[_0x424aaa(0x131)])&&_0x27f4bf['value']&&_0x27f4bf[_0x424aaa(0xe3)]['ok']&&(_0x42a4bf[_0x27f4bf[_0x424aaa(0xe3)][_0x424aaa(0xeb)]]=_0x27f4bf[_0x424aaa(0xe3)]['latency']);}_0x390c88[_0x424aaa(0x118)]=_0x42a4bf;}catch(_0x46860b){logger[_0x424aaa(0x11f)](_0x424aaa(0x121)+_0x46860b);}})['catch'](_0x5d1b7c=>{const _0xb0432=_0x2f2939;logger[_0xb0432(0x11f)](_0xb0432(0xfb)+_0x5d1b7c);});})[_0x30e001(0x133)](_0x352f7d=>{const _0x1da238=_0x30e001;logger[_0x1da238(0x11f)](_0x1da238(0x10e)+_0x352f7d),_0x8be9ee[_0x1da238(0x124)](_0x55fc23);});})[_0x4870df(0x133)](_0x4bfc83=>{const _0x383e11=_0x4870df;logger[_0x383e11(0x11f)](_0x383e11(0x10d)+_0x4bfc83),_0x8be9ee[_0x383e11(0x124)](_0x55fc23);});});},exports['findLatency']=async(_0x5bebcc,_0x441720)=>{const _0x2ab858=a174_0xe18a4f,_0x479383={};_0x479383['qQire']=_0x2ab858(0x11e),_0x479383[_0x2ab858(0xe6)]=_0x2ab858(0x115),_0x479383['OaVkN']=function(_0x4e24c0,_0x1f9cf0){return _0x4e24c0-_0x1f9cf0;};const _0x51d1ba=_0x479383;try{const _0x1db65b=new Date();await helper['nodeRequest'](_0x51d1ba['qQire'],_0x51d1ba[_0x2ab858(0xe6)],{},_0x5bebcc,_0x441720,0x1388);const _0x54bf0d=_0x51d1ba[_0x2ab858(0x143)](new Date(),_0x1db65b);logger[_0x2ab858(0x11f)](_0x2ab858(0x112)+_0x441720+'\x20is:\x20'+_0x54bf0d+'ms');const _0x3ebe5c={};return _0x3ebe5c[_0x2ab858(0xeb)]=_0x441720,_0x3ebe5c[_0x2ab858(0x13f)]=_0x54bf0d,_0x3ebe5c;}catch(_0x45bc90){return logger[_0x2ab858(0x11f)]('ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20'+_0x441720+_0x2ab858(0x106)+_0x45bc90),{};}},exports[a174_0xe18a4f(0x125)]=async _0x432562=>{const _0x263158=a174_0xe18a4f,_0x418d46={'wVOcB':function(_0x32dcfe,_0x56a94a){return _0x32dcfe(_0x56a94a);},'mntuc':_0x263158(0x109),'erxMM':_0x263158(0xf2),'rVdVy':'GET','RTuXw':_0x263158(0x138)};try{const _0x4993b4=_0x418d46['wVOcB'](require,_0x418d46['mntuc'])[_0x263158(0xeb)][_0x263158(0xf6)](_0x418d46[_0x263158(0xee)],''),_0x90a3b5=await helper[_0x263158(0xe2)](_0x418d46[_0x263158(0x117)],_0x418d46[_0x263158(0xf9)],{},_0x432562,_0x4993b4,0x1388),_0x394ebc=_0x90a3b5[_0x263158(0xe1)];return logger['debug']('Response:\x20'+util[_0x263158(0x110)]('%j',_0x394ebc)),_0x394ebc['hubs'];}catch(_0x8a299d){logger[_0x263158(0x11f)]('ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20'+_0x8a299d);}return null;};
|