browserstack-node-sdk 1.57.2 → 1.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +376 -36
- package/generated/sdk-messages_pb.js +2955 -279
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +51 -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 -0
- package/src/bin/jasmine/command.js +2 -0
- package/src/bin/jasmine/test.setup.js +1 -0
- package/src/bin/jasmine/testRunMap.js +1 -0
- 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 -0
- package/src/bin/testcafe/command.js +2 -0
- package/src/bin/testcafe/reporter/index.js +1 -0
- package/src/bin/testcafe/reporter/tcUtils.js +1 -0
- package/src/bin/testcafe/session-registry.js +1 -0
- package/src/bin/testcafe/stdout-interceptor.js +1 -0
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -0
- package/src/bin/testcafe/w3c-driver.js +1 -0
- 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 -0
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -0
- 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 -0
- 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
|
-
function a155_0x9fd3(){const _0x2d8446=['setTestData','commands','winstonLogger','mFYFY','setTestObservabilityVariables','dpmHS','FEeMz','LogCreated','forEach','0|4|3|1|2','BROWSERSTACK_ACCESSIBILITY','tWsbk','HLPjR','../helper.js','errors','../logger','true','RaTPx','TEST_REPORTING_ANALYTICS','product_map','YXSjQ','./constants.js','scripts','../helper','stringify','jBdAh','error','yyptj','isBrowserstackInfra','obUWR','env','11SbwXrt','build_hashed_id','getProductMap','KaxQc','nKVYj','HookRunStarted','BiSJh','../ats/helper','percy','getProductMapForBuildStartCall','setPercyFlag','platforms','4664890KCpvze','2CaSeGH','605532ThXeCN','setAccessibilityVariables','BS_TESTOPS_BUILD_COMPLETED','success','McmVJ','oFGNM','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','../globals.js','tCNwY','BlNWY','bMLoT','isTurboScaleSession','assign','HookRunFinished','null','JdbXm','2928736mlZJvZ','1|3|2|6|4|5|0','eCqio','7318325eJiywp','wCIby','UEKMA','getFrameworkDetails','26393iaxWDT','getGlobal','isAccessibilityEnabled','app','options','capabilities','CODECEPT','BROWSERSTACK_TESTHUB_UUID','CBTSessionCreated','tUuWK','scopes','ACCESS_DENIED','logBuildError','qwCyV','parse','CUCUMBER','debug','password','../test-observability/utils','MlDhD','../../bin/utils/constants.js','gXRvr','../../bin/v2/modules/loadTestModule','isPercyBuild','parseA11yJwtPayload','ERROR','UiAdY','setCurrentTestData','split','name','appendTesthubParams','key','ibTvG','alfyE','BS_TESTOPS_ALLOW_SCREENSHOTS','test_run','\x20Build\x20creation\x20failed','SRTNs','username','IMIOv','YnrmH','4VluTVF','handleErrorForObservability','SCotN','rHlZk','../accessibility-automation/scripts.js','observability','bstackA11yShouldScan','hMWla','FRkOB','accessibilityPlatform','handleErrorForAccessibility','QRcDH','OcgKa','ZPLzb','toUpperCase','7513020jROYlE','BROWSERSTACK_TESTHUB_UUID:\x20','../test-orchestration/orchestrationUtils.js','jwt','BS_A11Y_JWT','keys','accessibility','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','1|5|0|3|2|4','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','BROWSERSTACK_TESTHUB_JWT','Agnad','VBlJY','shouldScanTestForAccessibility','isUndefined','getCentralUser',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','JEST','MOCHA','length','BS_TESTOPS_JWT','sgSFU','BROWSERSTACK_TEST_ACCESSIBILITY_YML','NpCbb','6dElxwD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','info','../test-observability/constants.js','MipKj','join','toJson','uuid','config','yqyxW','isTrue','getAccessibilityValueFromYml','DEPRECATED','BS_TESTOPS_BUILD_HASHED_ID','ZHGiY','gYhGj','../../bin/jest/test-observability/test-details.js','false','titlePath','CREDENTIALS_FOR_CRASH_REPORTING','value','zGDeU','WQOzz','includes','getCurrentTestData','checkAccessibilityPlatformConfig','BROWSERSTACK_PERCY','ySIlK','getTestFrameworkDetails','SuywR','INVALID_CREDENTIALS','../../bin/playwright/reporter/test-details.js','shouldProcessEventForTesthub','isAccessibilityPlatform','ySHBK','getAccessibilityPlatformValidation','425290KFEezu'];a155_0x9fd3=function(){return _0x2d8446;};return a155_0x9fd3();}const a155_0x50e941=a155_0x5b08;(function(_0x2fc8ae,_0x57c8e5){const _0xbb2700=a155_0x5b08,_0x41b2fd=_0x2fc8ae();while(!![]){try{const _0x69f210=parseInt(_0xbb2700(0x139))/0x1*(parseInt(_0xbb2700(0x121))/0x2)+-parseInt(_0xbb2700(0x122))/0x3*(-parseInt(_0xbb2700(0x162))/0x4)+parseInt(_0xbb2700(0x120))/0x5*(parseInt(_0xbb2700(0xd0))/0x6)+-parseInt(_0xbb2700(0x135))/0x7+-parseInt(_0xbb2700(0x132))/0x8+parseInt(_0xbb2700(0xb8))/0x9+parseInt(_0xbb2700(0xf4))/0xa*(-parseInt(_0xbb2700(0x114))/0xb);if(_0x69f210===_0x57c8e5)break;else _0x41b2fd['push'](_0x41b2fd['shift']());}catch(_0x41c555){_0x41b2fd['push'](_0x41b2fd['shift']());}}}(a155_0x9fd3,0x844cb));const bsSetupHelper=require(a155_0x50e941(0x10c)),LoadTestModule=require(a155_0x50e941(0x14f)),{isTestObservabilitySession,getFrameworkVersion}=require(a155_0x50e941(0x14b)),accessibilityHelper=require('../accessibility-automation/helper'),logger=require(a155_0x50e941(0x104))[a155_0x50e941(0xf7)],{nestedKeyValue}=require(a155_0x50e941(0x102)),scripts=require(a155_0x50e941(0x166)),globals=require(a155_0x50e941(0x129)),testHubConstants=require(a155_0x50e941(0x10a)),PWTestDetails=require(a155_0x50e941(0xef)),JestTestDetails=require(a155_0x50e941(0xe0)),{FRAMEWORKS}=require(a155_0x50e941(0xd3)),{isTurboScaleSession}=require(a155_0x50e941(0x11b)),OrchestrationUtils=require(a155_0x50e941(0xba)),constants=require(a155_0x50e941(0x14d));function a155_0x5b08(_0x4cd6c5,_0x9f85c7){const _0x9fd37d=a155_0x9fd3();return a155_0x5b08=function(_0x5b083f,_0x21f36d){_0x5b083f=_0x5b083f-0xb1;let _0x49419e=_0x9fd37d[_0x5b083f];return _0x49419e;},a155_0x5b08(_0x4cd6c5,_0x9f85c7);}let testData={};exports[a155_0x50e941(0x116)]=_0x2958ab=>{const _0x58c325=a155_0x50e941,_0x1ce6b4={'IMIOv':function(_0xada6b9){return _0xada6b9();}};let _0x26cd90=![],_0x53b3ca=![];if(bsSetupHelper['isBrowserstackInfra']()&&_0x2958ab['app'])_0x53b3ca=!![];else bsSetupHelper[_0x58c325(0x111)]()&&(_0x26cd90=!![]);return Object['assign']({'observability':_0x1ce6b4[_0x58c325(0x160)](isTestObservabilitySession),'accessibility':exports['isAccessibilityEnabled'](_0x2958ab),'percy':_0x2958ab[_0x58c325(0x11c)]||![],'automate':_0x26cd90,'app_automate':_0x53b3ca,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x2958ab),'lts':LoadTestModule['isLTSSession'](_0x2958ab)},bsSetupHelper[_0x58c325(0xc7)]());},exports[a155_0x50e941(0x138)]=(_0x5753f7,_0x50e64b)=>{const _0x3da792=a155_0x50e941,_0x4d7bb9={'ZPLzb':function(_0x2a45d3,_0x4660b9){return _0x2a45d3(_0x4660b9);},'tUuWK':'javascript'},_0x3d87f8={'frameworkName':_0x50e64b,'frameworkVersion':_0x4d7bb9[_0x3da792(0xb6)](getFrameworkVersion,_0x50e64b),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x4d7bb9[_0x3da792(0x142)],'testFramework':bsSetupHelper[_0x3da792(0xec)](_0x5753f7,_0x50e64b)};return process[_0x3da792(0x113)]['FRAMEWORK_DETAILS']=JSON[_0x3da792(0x10d)](_0x3d87f8),_0x3d87f8;},exports[a155_0x50e941(0x11e)]=_0x30de51=>{const _0x933c6f=a155_0x50e941,_0xc0bd1={};_0xc0bd1['tWsbk']=_0x933c6f(0xe1),_0xc0bd1[_0x933c6f(0xb1)]=_0x933c6f(0x105);const _0x48fc8e=_0xc0bd1;process[_0x933c6f(0x113)][_0x933c6f(0xea)]=_0x48fc8e[_0x933c6f(0x100)],bsSetupHelper[_0x933c6f(0xda)](_0x30de51[_0x933c6f(0xd8)]['percy'])&&(!_0x30de51[_0x933c6f(0x11c)]||!_0x30de51[_0x933c6f(0x11c)]['isRunning']())&&(process[_0x933c6f(0x113)][_0x933c6f(0xea)]=_0x48fc8e[_0x933c6f(0xb1)]);},exports['isPercyBuild']=()=>{const _0x5dbdee=a155_0x50e941;return bsSetupHelper[_0x5dbdee(0xda)](process[_0x5dbdee(0x113)][_0x5dbdee(0xea)]);},exports['isAccessibilityEnabled']=(_0x13ecaf={})=>{const _0x5bfd11=a155_0x50e941,_0x7fedfe={};_0x7fedfe['SRTNs']=function(_0x58b3cf,_0x4a7ded){return _0x58b3cf!==_0x4a7ded;},_0x7fedfe['BiSJh']=function(_0x2e6ce3,_0x2d3c1f){return _0x2e6ce3===_0x2d3c1f;},_0x7fedfe[_0x5bfd11(0x146)]=_0x5bfd11(0x105),_0x7fedfe[_0x5bfd11(0x14e)]=function(_0x533235,_0x2cc44a){return _0x533235>_0x2cc44a;},_0x7fedfe[_0x5bfd11(0xb4)]=function(_0x5bd8eb,_0x395ced){return _0x5bd8eb===_0x395ced;};const _0x43407e=_0x7fedfe;if(_0x43407e[_0x5bfd11(0x15e)](process[_0x5bfd11(0x113)][_0x5bfd11(0xff)],undefined))return bsSetupHelper[_0x5bfd11(0xda)](process[_0x5bfd11(0x113)][_0x5bfd11(0xff)]);let _0x21a759=_0x43407e[_0x5bfd11(0x11a)](process[_0x5bfd11(0x113)][_0x5bfd11(0xce)],_0x43407e[_0x5bfd11(0x146)]);return _0x43407e['gXRvr'](Object[_0x5bfd11(0xbd)](_0x13ecaf)[_0x5bfd11(0xcb)],0x0)&&(process['env'][_0x5bfd11(0xbf)]=accessibilityHelper[_0x5bfd11(0xe9)](_0x13ecaf)),_0x21a759=_0x21a759||_0x43407e[_0x5bfd11(0xb4)](process[_0x5bfd11(0x113)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x43407e[_0x5bfd11(0x146)]),_0x21a759;},exports[a155_0x50e941(0xf9)]=(_0x2359d4,_0x42a43b)=>{const _0x16c4d1=a155_0x50e941,_0x26377f={'ZHGiY':function(_0x181f15){return _0x181f15();},'KaxQc':_0x16c4d1(0xc0),'yqyxW':'true','ySIlK':function(_0x2ba83b,_0x649d9d,_0x5c242b){return _0x2ba83b(_0x649d9d,_0x5c242b);},'MipKj':_0x16c4d1(0x167),'RvrAv':_0x16c4d1(0x13d)};if(!_0x2359d4||!_0x2359d4[_0x16c4d1(0x167)])return exports[_0x16c4d1(0x163)](),[null,null,null];if(!_0x2359d4[_0x16c4d1(0x167)][_0x16c4d1(0x125)])return exports[_0x16c4d1(0x163)](_0x2359d4[_0x16c4d1(0x167)]),[null,null,null];if(_0x26377f[_0x16c4d1(0xde)](isTestObservabilitySession)){const _0x1c10d2=_0x26377f[_0x16c4d1(0x117)][_0x16c4d1(0x155)]('|');let _0x4f71a7=0x0;while(!![]){switch(_0x1c10d2[_0x4f71a7++]){case'0':_0x2359d4[_0x16c4d1(0x115)]&&(process[_0x16c4d1(0x113)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x2359d4[_0x16c4d1(0x115)]);continue;case'1':process[_0x16c4d1(0x113)][_0x16c4d1(0x124)]=_0x26377f[_0x16c4d1(0xd9)];continue;case'2':logger[_0x16c4d1(0x149)]('['+constants[_0x16c4d1(0x107)]+_0x16c4d1(0xc8)+_0x2359d4['build_hashed_id']);continue;case'3':_0x26377f[_0x16c4d1(0xeb)](nestedKeyValue,_0x2359d4,[_0x26377f[_0x16c4d1(0xd4)],_0x26377f['RvrAv']])&&(process[_0x16c4d1(0x113)][_0x16c4d1(0x15b)]=_0x2359d4['observability'][_0x16c4d1(0x13d)]['allow_screenshots']['toString']());continue;case'4':return[_0x2359d4[_0x16c4d1(0xbb)],_0x2359d4[_0x16c4d1(0x115)],process[_0x16c4d1(0x113)][_0x16c4d1(0x15b)]];case'5':if(_0x2359d4['jwt']){process[_0x16c4d1(0x113)][_0x16c4d1(0xcc)]=_0x2359d4['jwt'];const _0x27277d={};_0x27277d['username']=_0x42a43b[_0x16c4d1(0x15f)],_0x27277d[_0x16c4d1(0x14a)]=_0x42a43b[_0x16c4d1(0x14a)],process[_0x16c4d1(0x113)][_0x16c4d1(0xe3)]=JSON[_0x16c4d1(0x10d)](_0x27277d);}continue;}break;}}return[null,null,null];},exports[a155_0x50e941(0x123)]=_0xf2dcb3=>{const _0x126541=a155_0x50e941,_0x387257={'rHlZk':function(_0x6d8b6,_0x36e3b9,_0x84992e){return _0x6d8b6(_0x36e3b9,_0x84992e);},'obUWR':_0x126541(0xbe),'dbuQd':_0x126541(0x13d),'oFGNM':function(_0x4903b5,_0x4a972e,_0x143619,_0x1ab8b7){return _0x4903b5(_0x4a972e,_0x143619,_0x1ab8b7);},'gYhGj':_0x126541(0x156),'nKVYj':_0x126541(0xe4),'dpmHS':'command','LtjMI':_0x126541(0xf6),'CEsWq':'nonBStackInfraA11yChromeOptions','OcgKa':'goog:chromeOptions','McmVJ':function(_0x286c70,_0x5f49c5){return _0x286c70(_0x5f49c5);},'YXSjQ':function(_0x20826f,_0x35d0ef){return _0x20826f===_0x35d0ef;},'WQOzz':'true','eCqio':_0x126541(0xc1)};if(!_0xf2dcb3[_0x126541(0xbe)])return exports[_0x126541(0xb3)](),[null,null];if(!_0xf2dcb3['accessibility'][_0x126541(0x125)])return exports[_0x126541(0xb3)](_0xf2dcb3[_0x126541(0xbe)]),[null,null];if(_0x387257[_0x126541(0x165)](nestedKeyValue,_0xf2dcb3,[_0x387257[_0x126541(0x112)],_0x387257['dbuQd']])){const {accessibilityToken:_0x5c9923,scannerVersion:_0x28ab9a,scannerProcessingTimeout:_0x17a9de,isMobileScanningEnabledForGroup:_0x53772b}=_0x387257['oFGNM'](jsonifyAccessibilityArray,_0xf2dcb3[_0x126541(0xbe)][_0x126541(0x13d)]['capabilities'],_0x387257[_0x126541(0xdf)],_0x387257[_0x126541(0x118)]),_0x30f20b={'scripts':_0x387257[_0x126541(0x127)](jsonifyAccessibilityArray,_0xf2dcb3['accessibility'][_0x126541(0x13d)][_0x126541(0x10b)],_0x387257[_0x126541(0xdf)],_0x387257[_0x126541(0xfa)])};_0x30f20b[_0x387257['LtjMI']]=_0xf2dcb3['accessibility'][_0x126541(0x13d)]['commandsToWrap'][_0x126541(0xf6)];const _0x583215=_0x387257[_0x126541(0x127)](jsonifyAccessibilityArray,_0xf2dcb3['accessibility'][_0x126541(0x13d)][_0x126541(0x13e)],_0x387257[_0x126541(0xdf)],_0x387257[_0x126541(0x118)]);_0x30f20b[_0x387257['CEsWq']]=_0x583215[_0x387257[_0x126541(0xb5)]],scripts['parseFromJson'](_0x30f20b),scripts[_0x126541(0xd6)]();let _0x18c9e6=process[_0x126541(0x113)][_0x126541(0xd1)];_0x18c9e6=!!_0x18c9e6?JSON[_0x126541(0x147)](_0x18c9e6):{},_0x18c9e6['scannerVersion']=_0x28ab9a,process[_0x126541(0x113)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x126541(0x10d)](_0x18c9e6),process[_0x126541(0x113)][_0x126541(0xbc)]=_0x5c9923,process['env']['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x387257[_0x126541(0x126)](String,_0x387257[_0x126541(0x109)](_0x53772b,!![])||_0x387257[_0x126541(0x109)](_0x53772b,_0x387257[_0x126541(0xe6)])),logger[_0x126541(0x149)](_0x126541(0x128)+_0xf2dcb3[_0x126541(0x115)]);const _0x13a6c1=accessibilityHelper[_0x126541(0x151)](_0x5c9923);return _0x13a6c1&&bsSetupHelper[_0x126541(0xda)](_0x13a6c1['skipCDPConnectOverride'])&&(process[_0x126541(0x113)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger[_0x126541(0x149)](_0x387257[_0x126541(0x134)])),[_0x5c9923,_0xf2dcb3[_0x126541(0x115)],_0x17a9de];}return[null,null];},exports[a155_0x50e941(0x163)]=_0x1a0870=>{const _0x598926=a155_0x50e941,_0x3b1875={};_0x3b1875[_0x598926(0x161)]=_0x598926(0x133),_0x3b1875[_0x598926(0xfb)]=_0x598926(0x130),_0x3b1875[_0x598926(0x137)]='false';const _0x31b934=_0x3b1875,_0x26155f=_0x31b934[_0x598926(0x161)][_0x598926(0x155)]('|');let _0x347c3e=0x0;while(!![]){switch(_0x26155f[_0x347c3e++]){case'0':exports[_0x598926(0x145)](_0x1a0870,testHubConstants['OBSERVABILITY']);continue;case'1':process['env'][_0x598926(0x140)]=_0x31b934['FEeMz'];continue;case'2':process[_0x598926(0x113)][_0x598926(0x124)]=_0x31b934[_0x598926(0x137)];continue;case'3':process[_0x598926(0x113)]['BROWSERSTACK_TESTHUB_JWT']=_0x31b934[_0x598926(0xfb)];continue;case'4':process['env'][_0x598926(0xdd)]=_0x31b934[_0x598926(0xfb)];continue;case'5':process[_0x598926(0x113)][_0x598926(0x15b)]=_0x31b934[_0x598926(0xfb)];continue;case'6':process[_0x598926(0x113)]['BS_TESTOPS_JWT']=_0x31b934[_0x598926(0xfb)];continue;}break;}},exports[a155_0x50e941(0xb3)]=_0x422b4c=>{const _0x945015=a155_0x50e941,_0x2e0a60={};_0x2e0a60[_0x945015(0xed)]=_0x945015(0xfe),_0x2e0a60['SCotN']=_0x945015(0x130),_0x2e0a60['JdbXm']=_0x945015(0xe1);const _0xa66117=_0x2e0a60,_0x2f3068=_0xa66117[_0x945015(0xed)]['split']('|');let _0x2d5524=0x0;while(!![]){switch(_0x2f3068[_0x2d5524++]){case'0':process[_0x945015(0x113)]['BROWSERSTACK_TESTHUB_UUID']=_0xa66117[_0x945015(0x164)];continue;case'1':process[_0x945015(0x113)][_0x945015(0xbf)]=_0xa66117[_0x945015(0x131)];continue;case'2':exports[_0x945015(0x145)](_0x422b4c,testHubConstants['ACCESSIBILITY']);continue;case'3':process[_0x945015(0x113)][_0x945015(0xce)]=_0xa66117[_0x945015(0x131)];continue;case'4':process[_0x945015(0x113)][_0x945015(0xc2)]=_0xa66117[_0x945015(0x164)];continue;}break;}},exports[a155_0x50e941(0x145)]=(_0x5aed2a,_0x3bd0cb='')=>{const _0x2f2633=a155_0x50e941,_0x3eac0c={};_0x3eac0c['NpCbb']=function(_0x46e954,_0x5a6471){return _0x46e954===_0x5a6471;};const _0x10bc39=_0x3eac0c;if(_0x10bc39[_0x2f2633(0xcf)](_0x5aed2a,undefined)){logger['error'](_0x3bd0cb[_0x2f2633(0xb7)]()+_0x2f2633(0x15d));return;}for(const _0x2a457f of _0x5aed2a[_0x2f2633(0x103)]){const _0x119355=_0x2a457f[_0x2f2633(0x158)],_0xd6cfb0=_0x2a457f['message'];if(_0xd6cfb0)switch(_0x119355){case testHubConstants[_0x2f2633(0x152)][_0x2f2633(0xee)]:logger[_0x2f2633(0x10f)](_0xd6cfb0);break;case testHubConstants[_0x2f2633(0x152)][_0x2f2633(0x144)]:logger[_0x2f2633(0xd2)](_0xd6cfb0);break;case testHubConstants[_0x2f2633(0x152)][_0x2f2633(0xdc)]:logger[_0x2f2633(0x10f)](_0xd6cfb0);break;default:logger[_0x2f2633(0x10f)](_0xd6cfb0);}}};const jsonifyAccessibilityArray=(_0x4fe68c,_0x43b01d,_0x3e9eea)=>{const _0x3d262d=a155_0x50e941,_0x2d979f={};return _0x4fe68c[_0x3d262d(0xfd)](_0xa521ff=>{_0x2d979f[_0xa521ff[_0x43b01d]]=_0xa521ff[_0x3e9eea];}),_0x2d979f;};exports['setTestHubCommonMetaInfo']=_0x42966d=>{const _0x54bc4a=a155_0x50e941;_0x42966d[_0x54bc4a(0xbb)]&&(process[_0x54bc4a(0x113)][_0x54bc4a(0xc2)]=_0x42966d[_0x54bc4a(0xbb)]);_0x42966d[_0x54bc4a(0x115)]&&(process[_0x54bc4a(0x113)][_0x54bc4a(0x140)]=_0x42966d[_0x54bc4a(0x115)],logger[_0x54bc4a(0x149)](_0x54bc4a(0xb9)+_0x42966d[_0x54bc4a(0x115)]));;},exports[a155_0x50e941(0xf0)]=(_0x543571='',_0x1263da='')=>{const _0x3a6b8c=a155_0x50e941,_0x25ab8f={'yyptj':function(_0x23e2c0){return _0x23e2c0();},'jfSeo':function(_0x13069e,_0x161877){return _0x13069e===_0x161877;},'tCNwY':'uploadEventData','wCIby':_0x3a6b8c(0xfc),'ftquA':_0x3a6b8c(0x141),'hMWla':function(_0x4ee508){return _0x4ee508();},'WJgnz':'HookRunStarted','ibTvG':'HookRunFinished'};if(exports[_0x3a6b8c(0x150)]()&&!exports[_0x3a6b8c(0x13b)]()&&!_0x25ab8f[_0x3a6b8c(0x110)](isTestObservabilitySession)){if(_0x25ab8f['jfSeo'](_0x1263da,_0x25ab8f[_0x3a6b8c(0x12a)]))return![];if([_0x25ab8f[_0x3a6b8c(0x136)],_0x25ab8f['ftquA']][_0x3a6b8c(0xe7)](_0x543571))return![];return!![];}if(exports[_0x3a6b8c(0x13b)]()&&!_0x25ab8f[_0x3a6b8c(0x169)](isTestObservabilitySession)){if([_0x25ab8f['WJgnz'],_0x25ab8f[_0x3a6b8c(0x159)],_0x25ab8f[_0x3a6b8c(0x136)]][_0x3a6b8c(0xe7)](_0x543571))return![];return!![];}return exports[_0x3a6b8c(0x13b)]()||_0x25ab8f['hMWla'](isTestObservabilitySession)||exports[_0x3a6b8c(0x150)]();},exports[a155_0x50e941(0x157)]=(_0x6ae127,_0x36d585,_0x520d22='',_0x57bebe)=>{const _0x207d45=a155_0x50e941,_0x42dde5={};_0x42dde5[_0x207d45(0xcd)]=_0x207d45(0x119),_0x42dde5['oYuyW']=_0x207d45(0x12f),_0x42dde5[_0x207d45(0x10e)]=function(_0x3c2e15,_0x2135fc){return _0x3c2e15===_0x2135fc;},_0x42dde5[_0x207d45(0x101)]=_0x207d45(0x168),_0x42dde5[_0x207d45(0x12c)]='isAccessibilityPlatform',_0x42dde5['Agnad']=_0x207d45(0xbe),_0x42dde5[_0x207d45(0xe5)]=function(_0x1e4ffc,_0x26212a){return _0x1e4ffc&&_0x26212a;},_0x42dde5[_0x207d45(0xf8)]=function(_0x12a3f7,_0x2bf69d){return _0x12a3f7+_0x2bf69d;},_0x42dde5['UiAdY']=function(_0x562438,_0x1b7a8d){return _0x562438===_0x1b7a8d;},_0x42dde5[_0x207d45(0x14c)]='TestRunStarted',_0x42dde5[_0x207d45(0x12b)]=_0x207d45(0x108);const _0x56d2d7=_0x42dde5;if(![_0x56d2d7[_0x207d45(0xcd)],_0x56d2d7['oYuyW']][_0x207d45(0xe7)](_0x36d585)&&exports['isAccessibilityEnabled']()){const _0x182ef1={};if(_0x56d2d7[_0x207d45(0x10e)](_0x57bebe,FRAMEWORKS[_0x207d45(0xca)])){const _0x43f0e2=globals['getGlobal'](_0x56d2d7[_0x207d45(0x101)])||accessibilityHelper[_0x207d45(0xc5)](_0x520d22[_0x207d45(0xe2)](),!![]),_0x106146=globals[_0x207d45(0x13a)](_0x56d2d7[_0x207d45(0x12c)]);_0x182ef1[_0x56d2d7['Agnad']]=_0x56d2d7[_0x207d45(0xe5)](_0x106146,_0x43f0e2);}if(_0x56d2d7[_0x207d45(0x10e)](_0x57bebe,FRAMEWORKS[_0x207d45(0xc9)])){const _0x3a0857=_0x56d2d7[_0x207d45(0xf8)](_0x56d2d7['mFYFY'](_0x6ae127[_0x207d45(0x143)][_0x207d45(0xd5)]('\x20'),'\x20'),_0x520d22['name']),_0x416b99=globals[_0x207d45(0x13a)](_0x56d2d7[_0x207d45(0x101)])||accessibilityHelper[_0x207d45(0xc5)](_0x3a0857,![]),_0x50b2f9=browserStackGlobals[_0x207d45(0xf1)];_0x182ef1[_0x56d2d7[_0x207d45(0xc3)]]=_0x56d2d7[_0x207d45(0xe5)](_0x50b2f9,_0x416b99);}if(_0x56d2d7[_0x207d45(0x153)](_0x57bebe,FRAMEWORKS['PLAYWRIGHT'])){if(_0x56d2d7['UiAdY'](_0x36d585,_0x56d2d7[_0x207d45(0x14c)]))return;_0x182ef1[_0x56d2d7[_0x207d45(0xc3)]]=PWTestDetails[_0x207d45(0xf3)](_0x6ae127[_0x207d45(0xd7)]);}if(_0x56d2d7[_0x207d45(0x153)](_0x57bebe,FRAMEWORKS[_0x207d45(0x13f)])){const _0x4644ef=accessibilityHelper[_0x207d45(0xc5)](_0x520d22[_0x207d45(0xe2)](),!![]),_0x2341ef=global[_0x207d45(0xb2)];_0x182ef1[_0x56d2d7['Agnad']]=_0x56d2d7[_0x207d45(0xe5)](_0x2341ef,_0x4644ef);}if(_0x56d2d7[_0x207d45(0x10e)](_0x57bebe,FRAMEWORKS[_0x207d45(0x148)])){const _0x89440f=accessibilityHelper[_0x207d45(0xc5)](null,![],_0x6ae127['tags']),_0x10423b=globals[_0x207d45(0x13a)](_0x56d2d7['bMLoT']);_0x182ef1[_0x56d2d7[_0x207d45(0xc3)]]=_0x56d2d7['zGDeU'](_0x10423b,_0x89440f);}_0x6ae127[_0x56d2d7[_0x207d45(0x12b)]]=_0x182ef1;}},exports[a155_0x50e941(0xe8)]=_0x3edae3=>{const _0x30f7d7=a155_0x50e941,_0x44e125={};_0x44e125[_0x30f7d7(0xc4)]=function(_0x5bc855,_0x3cf04d){return _0x5bc855>_0x3cf04d;};const _0x2a77b2=_0x44e125;let _0x49df03={};if(_0x2a77b2['VBlJY'](Object[_0x30f7d7(0xbd)](testData)['length'],0x0))return testData;_0x49df03=JestTestDetails['getTestData']();if(_0x2a77b2[_0x30f7d7(0xc4)](Object[_0x30f7d7(0xbd)](_0x49df03)[_0x30f7d7(0xcb)],0x0))return _0x49df03;return _0x49df03;},exports[a155_0x50e941(0x154)]=(_0x3815ce,_0x47777c={})=>{const _0x55e34e=a155_0x50e941;if(bsSetupHelper[_0x55e34e(0xc6)](_0x47777c[_0x55e34e(0x15c)]))return;switch(_0x3815ce){case FRAMEWORKS[_0x55e34e(0xca)]:testData=_0x47777c[_0x55e34e(0x15c)];break;case FRAMEWORKS[_0x55e34e(0xc9)]:JestTestDetails[_0x55e34e(0xf5)](_0x47777c[_0x55e34e(0x15c)]);break;default:break;}},exports[a155_0x50e941(0xdb)]=_0x512f53=>{const _0x5bb8fd=a155_0x50e941,_0x4edae5={};_0x4edae5[_0x5bb8fd(0xf2)]=function(_0x496201,_0x54a736){return _0x496201!==_0x54a736;},_0x4edae5[_0x5bb8fd(0x106)]=function(_0x3bbef7,_0x347124){return _0x3bbef7!==_0x347124;},_0x4edae5['qUAVG']=function(_0x557fac,_0x5c7407){return _0x557fac!==_0x5c7407;},_0x4edae5[_0x5bb8fd(0x15a)]=function(_0x9960e2,_0x52e8f9){return _0x9960e2!==_0x52e8f9;};const _0x1b5b86=_0x4edae5;if(_0x1b5b86[_0x5bb8fd(0xf2)](_0x512f53[_0x5bb8fd(0xbe)],null)&&_0x1b5b86[_0x5bb8fd(0x106)](_0x512f53[_0x5bb8fd(0xbe)],undefined))return _0x512f53[_0x5bb8fd(0xbe)];let _0x20d986=![],_0x66b41b=![];if(_0x512f53[_0x5bb8fd(0x11f)])for(const _0x1c6903 of _0x512f53['platforms']){_0x1b5b86['qUAVG'](_0x1c6903['accessibility'],null)&&_0x1b5b86[_0x5bb8fd(0x15a)](_0x1c6903[_0x5bb8fd(0xbe)],undefined)&&(_0x20d986=_0x20d986||bsSetupHelper['isTrue'](_0x1c6903['accessibility']),_0x66b41b=!![]);}if(_0x66b41b)return _0x20d986;return null;},exports['getTestOrchestrationBuildStartData']=_0x1f585a=>{if(!_0x1f585a)return{};const _0x43c6ff=new OrchestrationUtils(_0x1f585a);return _0x43c6ff['getBuildStartData']();},exports[a155_0x50e941(0x11d)]=_0x3969a5=>{const _0x37e496=a155_0x50e941,_0x11f39e={'HFNDr':function(_0x4bfcad){return _0x4bfcad();}};let _0xf79cbd=![],_0x4d4acd=![];if(bsSetupHelper[_0x37e496(0x111)]()&&_0x3969a5[_0x37e496(0x13c)])_0x4d4acd=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0xf79cbd=!![]);return Object[_0x37e496(0x12e)]({'observability':_0x11f39e['HFNDr'](isTestObservabilitySession),'accessibility':exports[_0x37e496(0xdb)](_0x3969a5),'percy':_0x3969a5[_0x37e496(0x11c)]||![],'automate':_0xf79cbd,'app_automate':_0x4d4acd,'turboscale':bsSetupHelper[_0x37e496(0x12d)](_0x3969a5),'lts':LoadTestModule['isLTSSession'](_0x3969a5)},bsSetupHelper[_0x37e496(0xc7)]());};
|
|
1
|
+
function a170_0x936c(_0x5d749c,_0x30a5bd){const _0x64270d=a170_0x6427();return a170_0x936c=function(_0x936c0c,_0x20098f){_0x936c0c=_0x936c0c-0x126;let _0x3cd542=_0x64270d[_0x936c0c];return _0x3cd542;},a170_0x936c(_0x5d749c,_0x30a5bd);}const a170_0x4d6ff4=a170_0x936c;function a170_0x6427(){const _0xd4f8e=['shouldScanTestForAccessibility','ZNhNw','setTestHubCommonMetaInfo','Jpnel','isAccessibilityEnabled','getFrameworkDetails','assign','../test-observability/utils','32710hrSIwf','success','build_hashed_id','TestRunStarted','parseA11yJwtPayload','platforms',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','toUpperCase','tags','percy','Osbqo','../ats/helper','./constants.js','setTestObservabilityVariables','BROWSERSTACK_ACCESSIBILITY','BROWSERSTACK_PERCY','2|0|1|4|5|3','key','command','jwt','observability','qKfqK','lZZCs','658106HnVLMc','handleErrorForAccessibility','false','setPercyFlag','logBuildError','suNAr','bYBkL','INVALID_CREDENTIALS','accessibilityPlatform','KqdwJ','titlePath','HVxPQ','uwYIU','bjfVM','../../bin/jasmine/testRunMap.js','Doggf','../accessibility-automation/scripts.js','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','sbqML','lRTsr','HookRunFinished','checkAccessibilityPlatformConfig','getAccessibilityPlatformValidation','LogCreated','isTrue','message','1251VJRXBf','debug','getAccessibilityValueFromYml','HookRunStarted','scannerVersion','pcdgS','0|2|1|4|3','PLAYWRIGHT','sxkZt','test_run','error','wtvic','LBsXj','stringify','289105vthFNG','toString','kHiwh','BS_TESTOPS_BUILD_HASHED_ID','\x20Build\x20creation\x20failed','CoERR','5127728sbQneA','../globals.js','BROWSERSTACK_TESTHUB_JWT','uploadEventData','info','env','BS_TESTOPS_JWT','javascript','7427136egQckf','FZABu','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','fDwWb','../../bin/utils/constants.js','GwPvx','product_map','lkiJu','BS_TESTOPS_BUILD_COMPLETED','getProductMapForBuildStartCall','../../bin/v2/modules/loadTestModule','Lohbw','../logger','join','ovkjI','allow_screenshots','../test-observability/constants.js','ujNrw','JASMINE','isLTSSession','username','bstackA11yShouldScan','app','JzYRi','qYwPT','MOCHA','getCentralUser','BS_A11Y_JWT','WMiGB','JMRrS','3198717sChQes','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','2lRayAD','1|4|3|5|6|2|0','split','config','true','shouldProcessEventForTesthub','capabilities','appendTesthubParams','scripts','JEST','getBuildStartData','../../bin/playwright/reporter/test-details.js','QAIbr','../../bin/jest/test-observability/test-details.js','pcZBN','ldVyU','CUCUMBER','Mtvhn','isAccessibilityPlatform','AzNim','isBrowserstackInfra','GgefA','QBNTr','options','accessibility','forEach','keys','commands','password','isTurboScaleSession','errors','BROWSERSTACK_TESTHUB_UUID','getCurrentTestData','BROWSERSTACK_TESTHUB_UUID:\x20','bUpGc','pWnss','name','BS_TESTOPS_ALLOW_SCREENSHOTS','uwrSU','iTDtQ','length','5878188YBwMJh','getTestFrameworkDetails','isRunning','UBmXD','TfjtD','uaOjp','ZpPft','HDupx','hqGtG','winstonLogger','CREDENTIALS_FOR_CRASH_REPORTING','jYaqC','oqNkU','includes','mxkCP','AWdAN','handleErrorForObservability','WqxpK','uuid','getAgentVersion','toJson','ERROR','pQedC','getGlobal','ZfDbt','INczf','skipCDPConnectOverride','DEPRECATED','scopes','nonBStackInfraA11yChromeOptions','null','isPercyBuild','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','7cPILxo'];a170_0x6427=function(){return _0xd4f8e;};return a170_0x6427();}(function(_0x1452a5,_0x3bbe14){const _0x5d8d19=a170_0x936c,_0x3d39d0=_0x1452a5();while(!![]){try{const _0x1eb143=parseInt(_0x5d8d19(0x1d3))/0x1+-parseInt(_0x5d8d19(0x169))/0x2*(-parseInt(_0x5d8d19(0x167))/0x3)+parseInt(_0x5d8d19(0x192))/0x4+parseInt(_0x5d8d19(0x13b))/0x5+-parseInt(_0x5d8d19(0x149))/0x6+parseInt(_0x5d8d19(0x1b3))/0x7*(-parseInt(_0x5d8d19(0x141))/0x8)+parseInt(_0x5d8d19(0x12d))/0x9*(-parseInt(_0x5d8d19(0x1bc))/0xa);if(_0x1eb143===_0x3bbe14)break;else _0x3d39d0['push'](_0x3d39d0['shift']());}catch(_0x230f74){_0x3d39d0['push'](_0x3d39d0['shift']());}}}(a170_0x6427,0xe02ce));const bsSetupHelper=require('../helper'),LoadTestModule=require(a170_0x4d6ff4(0x153)),{isTestObservabilitySession,getFrameworkVersion}=require(a170_0x4d6ff4(0x1bb)),accessibilityHelper=require('../accessibility-automation/helper'),logger=require(a170_0x4d6ff4(0x155))[a170_0x4d6ff4(0x19b)],{nestedKeyValue}=require('../helper.js'),scripts=require(a170_0x4d6ff4(0x1e3)),globals=require(a170_0x4d6ff4(0x142)),testHubConstants=require(a170_0x4d6ff4(0x1c8)),PWTestDetails=require(a170_0x4d6ff4(0x174)),JestTestDetails=require(a170_0x4d6ff4(0x176)),{FRAMEWORKS}=require(a170_0x4d6ff4(0x159)),{isTurboScaleSession}=require(a170_0x4d6ff4(0x1c7)),OrchestrationUtils=require('../test-orchestration/orchestrationUtils.js'),constants=require(a170_0x4d6ff4(0x14d));let testData={};exports['getProductMap']=_0x88b4d2=>{const _0x1489d2=a170_0x4d6ff4,_0x66d3bb={'oqNkU':function(_0x2b7a0a){return _0x2b7a0a();}};let _0x224d07=![],_0x5b3fd0=![];if(bsSetupHelper['isBrowserstackInfra']()&&_0x88b4d2[_0x1489d2(0x15f)])_0x5b3fd0=!![];else bsSetupHelper[_0x1489d2(0x17d)]()&&(_0x224d07=!![]);return Object[_0x1489d2(0x1ba)]({'observability':_0x66d3bb[_0x1489d2(0x19e)](isTestObservabilitySession),'accessibility':exports['isAccessibilityEnabled'](_0x88b4d2),'percy':_0x88b4d2['percy']||![],'automate':_0x224d07,'app_automate':_0x5b3fd0,'turboscale':bsSetupHelper[_0x1489d2(0x186)](_0x88b4d2),'lts':LoadTestModule[_0x1489d2(0x15c)](_0x88b4d2)},bsSetupHelper[_0x1489d2(0x163)]());},exports[a170_0x4d6ff4(0x1b9)]=(_0x18076c,_0x1fb2a1)=>{const _0x50d257=a170_0x4d6ff4,_0x5263ec={'QBNTr':function(_0x31274c,_0x385ee2){return _0x31274c(_0x385ee2);},'Doggf':_0x50d257(0x148)},_0x1d51e5={'frameworkName':_0x1fb2a1,'frameworkVersion':_0x5263ec[_0x50d257(0x17f)](getFrameworkVersion,_0x1fb2a1),'sdkVersion':bsSetupHelper[_0x50d257(0x1a5)](),'language':_0x5263ec[_0x50d257(0x1e2)],'testFramework':bsSetupHelper[_0x50d257(0x193)](_0x18076c,_0x1fb2a1)};return process[_0x50d257(0x146)]['FRAMEWORK_DETAILS']=JSON[_0x50d257(0x13a)](_0x1d51e5),_0x1d51e5;},exports[a170_0x4d6ff4(0x1d6)]=_0x593496=>{const _0x2f8149=a170_0x4d6ff4,_0x415583={};_0x415583[_0x2f8149(0x17a)]=_0x2f8149(0x1d5),_0x415583['pcdgS']='true';const _0x1dee96=_0x415583;process[_0x2f8149(0x146)][_0x2f8149(0x1cb)]=_0x1dee96[_0x2f8149(0x17a)],bsSetupHelper[_0x2f8149(0x12b)](_0x593496[_0x2f8149(0x16c)][_0x2f8149(0x1c5)])&&(!_0x593496['percy']||!_0x593496[_0x2f8149(0x1c5)][_0x2f8149(0x194)]())&&(process[_0x2f8149(0x146)][_0x2f8149(0x1cb)]=_0x1dee96[_0x2f8149(0x132)]);},exports[a170_0x4d6ff4(0x1b1)]=()=>{const _0x5bc82a=a170_0x4d6ff4;return bsSetupHelper[_0x5bc82a(0x12b)](process[_0x5bc82a(0x146)][_0x5bc82a(0x1cb)]);},exports[a170_0x4d6ff4(0x1b8)]=(_0x54befc={})=>{const _0x5a404f=a170_0x4d6ff4,_0x4cecee={};_0x4cecee['JMRrS']=function(_0x2c1e2d,_0x477ca0){return _0x2c1e2d!==_0x477ca0;},_0x4cecee['GwPvx']=function(_0x43ec08,_0x4c5331){return _0x43ec08===_0x4c5331;},_0x4cecee[_0x5a404f(0x160)]=_0x5a404f(0x16d),_0x4cecee[_0x5a404f(0x1a3)]=function(_0x2ff32a,_0x429f3f){return _0x2ff32a>_0x429f3f;},_0x4cecee['INczf']=function(_0xb9a670,_0x4f3a59){return _0xb9a670===_0x4f3a59;};const _0x566065=_0x4cecee;if(_0x566065[_0x5a404f(0x166)](process['env'][_0x5a404f(0x1ca)],undefined))return bsSetupHelper[_0x5a404f(0x12b)](process[_0x5a404f(0x146)][_0x5a404f(0x1ca)]);let _0x25d363=_0x566065[_0x5a404f(0x14e)](process[_0x5a404f(0x146)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x566065[_0x5a404f(0x160)]);return _0x566065[_0x5a404f(0x1a3)](Object[_0x5a404f(0x183)](_0x54befc)[_0x5a404f(0x191)],0x0)&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=accessibilityHelper[_0x5a404f(0x128)](_0x54befc)),_0x25d363=_0x25d363||_0x566065[_0x5a404f(0x1ab)](process[_0x5a404f(0x146)][_0x5a404f(0x168)],_0x566065[_0x5a404f(0x160)]),_0x25d363;},exports[a170_0x4d6ff4(0x1c9)]=(_0x29355b,_0x31a241)=>{const _0x5203f1=a170_0x4d6ff4,_0xac0f5a={'jNunr':function(_0x3e7fdd){return _0x3e7fdd();},'ldVyU':_0x5203f1(0x1cc),'YJzkU':'true','kHiwh':function(_0x186134,_0x223fab,_0x1f8e43){return _0x186134(_0x223fab,_0x1f8e43);},'HDupx':_0x5203f1(0x1d0),'suNAr':_0x5203f1(0x180)};if(!_0x29355b||!_0x29355b[_0x5203f1(0x1d0)])return exports[_0x5203f1(0x1a2)](),[null,null,null];if(!_0x29355b[_0x5203f1(0x1d0)][_0x5203f1(0x1bd)])return exports[_0x5203f1(0x1a2)](_0x29355b[_0x5203f1(0x1d0)]),[null,null,null];if(_0xac0f5a['jNunr'](isTestObservabilitySession)){const _0x343147=_0xac0f5a[_0x5203f1(0x178)][_0x5203f1(0x16b)]('|');let _0x4fb1b5=0x0;while(!![]){switch(_0x343147[_0x4fb1b5++]){case'0':if(_0x29355b['jwt']){process[_0x5203f1(0x146)]['BS_TESTOPS_JWT']=_0x29355b[_0x5203f1(0x1cf)];const _0x12224d={};_0x12224d[_0x5203f1(0x15d)]=_0x31a241['username'],_0x12224d[_0x5203f1(0x185)]=_0x31a241[_0x5203f1(0x185)],process[_0x5203f1(0x146)][_0x5203f1(0x19c)]=JSON[_0x5203f1(0x13a)](_0x12224d);}continue;case'1':_0x29355b[_0x5203f1(0x1be)]&&(process[_0x5203f1(0x146)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x29355b[_0x5203f1(0x1be)]);continue;case'2':process[_0x5203f1(0x146)][_0x5203f1(0x151)]=_0xac0f5a['YJzkU'];continue;case'3':return[_0x29355b[_0x5203f1(0x1cf)],_0x29355b[_0x5203f1(0x1be)],process[_0x5203f1(0x146)][_0x5203f1(0x18e)]];case'4':_0xac0f5a[_0x5203f1(0x13d)](nestedKeyValue,_0x29355b,[_0xac0f5a[_0x5203f1(0x199)],_0xac0f5a[_0x5203f1(0x1d8)]])&&(process['env'][_0x5203f1(0x18e)]=_0x29355b[_0x5203f1(0x1d0)]['options'][_0x5203f1(0x158)][_0x5203f1(0x13c)]());continue;case'5':logger[_0x5203f1(0x12e)]('['+constants['TEST_REPORTING_ANALYTICS']+_0x5203f1(0x1c2)+_0x29355b[_0x5203f1(0x1be)]);continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x3d016b=>{const _0x6a6e0a=a170_0x4d6ff4,_0x3c3e06={'YGdpi':function(_0x57ff62,_0x3c7bac,_0x483ba0){return _0x57ff62(_0x3c7bac,_0x483ba0);},'lZZCs':'accessibility','AptAK':_0x6a6e0a(0x180),'lkiJu':function(_0x201a3f,_0x190a42,_0x11bb1d,_0x21590f){return _0x201a3f(_0x190a42,_0x11bb1d,_0x21590f);},'ZNhNw':_0x6a6e0a(0x18d),'KqdwJ':'value','sxkZt':_0x6a6e0a(0x1ce),'TfjtD':_0x6a6e0a(0x184),'pcZBN':_0x6a6e0a(0x1af),'ujNrw':'goog:chromeOptions','JGhgt':function(_0x120f77,_0x57255b){return _0x120f77(_0x57255b);},'qYwPT':function(_0x56e6f4,_0xe3d4db){return _0x56e6f4===_0xe3d4db;},'yMnko':function(_0x1eb7f5,_0x5bc313){return _0x1eb7f5===_0x5bc313;},'LctsR':_0x6a6e0a(0x16d),'uwYIU':_0x6a6e0a(0x1b2)};if(!_0x3d016b[_0x6a6e0a(0x181)])return exports['handleErrorForAccessibility'](),[null,null];if(!_0x3d016b[_0x6a6e0a(0x181)][_0x6a6e0a(0x1bd)])return exports['handleErrorForAccessibility'](_0x3d016b[_0x6a6e0a(0x181)]),[null,null];if(_0x3c3e06['YGdpi'](nestedKeyValue,_0x3d016b,[_0x3c3e06[_0x6a6e0a(0x1d2)],_0x3c3e06['AptAK']])){const {accessibilityToken:_0x9a5e41,scannerVersion:_0x46e121,scannerProcessingTimeout:_0x2486b6,isMobileScanningEnabledForGroup:_0x53c535}=_0x3c3e06['lkiJu'](jsonifyAccessibilityArray,_0x3d016b['accessibility'][_0x6a6e0a(0x180)][_0x6a6e0a(0x16f)],_0x3c3e06[_0x6a6e0a(0x1b5)],_0x3c3e06[_0x6a6e0a(0x1dc)]),_0x5f4552={'scripts':_0x3c3e06[_0x6a6e0a(0x150)](jsonifyAccessibilityArray,_0x3d016b[_0x6a6e0a(0x181)]['options'][_0x6a6e0a(0x171)],_0x3c3e06[_0x6a6e0a(0x1b5)],_0x3c3e06[_0x6a6e0a(0x135)])};_0x5f4552[_0x3c3e06[_0x6a6e0a(0x196)]]=_0x3d016b[_0x6a6e0a(0x181)]['options']['commandsToWrap'][_0x6a6e0a(0x184)];const _0x4d9de6=_0x3c3e06[_0x6a6e0a(0x150)](jsonifyAccessibilityArray,_0x3d016b[_0x6a6e0a(0x181)][_0x6a6e0a(0x180)][_0x6a6e0a(0x16f)],_0x3c3e06[_0x6a6e0a(0x1b5)],_0x3c3e06['KqdwJ']);_0x5f4552[_0x3c3e06[_0x6a6e0a(0x177)]]=_0x4d9de6[_0x3c3e06[_0x6a6e0a(0x15a)]],scripts['parseFromJson'](_0x5f4552),scripts[_0x6a6e0a(0x1a6)]();let _0x190af7=process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];_0x190af7=!!_0x190af7?JSON['parse'](_0x190af7):{},_0x190af7[_0x6a6e0a(0x131)]=_0x46e121,process[_0x6a6e0a(0x146)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x6a6e0a(0x13a)](_0x190af7),process['env'][_0x6a6e0a(0x164)]=_0x9a5e41,process['env']['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x3c3e06['JGhgt'](String,_0x3c3e06[_0x6a6e0a(0x161)](_0x53c535,!![])||_0x3c3e06['yMnko'](_0x53c535,_0x3c3e06['LctsR'])),logger[_0x6a6e0a(0x12e)](_0x6a6e0a(0x14b)+_0x3d016b[_0x6a6e0a(0x1be)]);const _0x37687a=accessibilityHelper[_0x6a6e0a(0x1c0)](_0x9a5e41);return _0x37687a&&bsSetupHelper['isTrue'](_0x37687a[_0x6a6e0a(0x1ac)])&&(process['env'][_0x6a6e0a(0x1e4)]=!![],logger[_0x6a6e0a(0x12e)](_0x3c3e06[_0x6a6e0a(0x1df)])),[_0x9a5e41,_0x3d016b['build_hashed_id'],_0x2486b6];}return[null,null];},exports[a170_0x4d6ff4(0x1a2)]=_0x1671f6=>{const _0x26e1f2=a170_0x4d6ff4,_0x30d3a4={};_0x30d3a4[_0x26e1f2(0x198)]=_0x26e1f2(0x16a),_0x30d3a4['ZfDbt']='null',_0x30d3a4[_0x26e1f2(0x1e0)]='false';const _0x5f2582=_0x30d3a4,_0x12da17=_0x5f2582[_0x26e1f2(0x198)][_0x26e1f2(0x16b)]('|');let _0x34d321=0x0;while(!![]){switch(_0x12da17[_0x34d321++]){case'0':exports['logBuildError'](_0x1671f6,testHubConstants['OBSERVABILITY']);continue;case'1':process['env']['BROWSERSTACK_TESTHUB_UUID']=_0x5f2582[_0x26e1f2(0x1aa)];continue;case'2':process[_0x26e1f2(0x146)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x5f2582[_0x26e1f2(0x1aa)];continue;case'3':process[_0x26e1f2(0x146)][_0x26e1f2(0x151)]=_0x5f2582[_0x26e1f2(0x1e0)];continue;case'4':process[_0x26e1f2(0x146)]['BROWSERSTACK_TESTHUB_JWT']=_0x5f2582[_0x26e1f2(0x1aa)];continue;case'5':process['env'][_0x26e1f2(0x147)]=_0x5f2582[_0x26e1f2(0x1aa)];continue;case'6':process[_0x26e1f2(0x146)][_0x26e1f2(0x13e)]=_0x5f2582[_0x26e1f2(0x1aa)];continue;}break;}},exports[a170_0x4d6ff4(0x1d4)]=_0x387ec5=>{const _0x5108ec=a170_0x4d6ff4,_0x455b0f={};_0x455b0f[_0x5108ec(0x1a0)]=_0x5108ec(0x133),_0x455b0f[_0x5108ec(0x165)]=_0x5108ec(0x1b0),_0x455b0f[_0x5108ec(0x190)]=_0x5108ec(0x1d5);const _0x19b1e4=_0x455b0f,_0x5cadd7=_0x19b1e4[_0x5108ec(0x1a0)]['split']('|');let _0x4849c6=0x0;while(!![]){switch(_0x5cadd7[_0x4849c6++]){case'0':process[_0x5108ec(0x146)][_0x5108ec(0x188)]=_0x19b1e4[_0x5108ec(0x165)];continue;case'1':process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x19b1e4[_0x5108ec(0x190)];continue;case'2':process[_0x5108ec(0x146)][_0x5108ec(0x143)]=_0x19b1e4[_0x5108ec(0x165)];continue;case'3':exports[_0x5108ec(0x1d7)](_0x387ec5,testHubConstants['ACCESSIBILITY']);continue;case'4':process['env'][_0x5108ec(0x168)]=_0x19b1e4[_0x5108ec(0x190)];continue;}break;}},exports['logBuildError']=(_0x198505,_0x2abab5='')=>{const _0x59e653=a170_0x4d6ff4,_0x509eb2={};_0x509eb2[_0x59e653(0x1c6)]=function(_0x2d591b,_0xa43af8){return _0x2d591b===_0xa43af8;};const _0x9e8ffe=_0x509eb2;if(_0x9e8ffe[_0x59e653(0x1c6)](_0x198505,undefined)){logger['error'](_0x2abab5[_0x59e653(0x1c3)]()+_0x59e653(0x13f));return;}for(const _0x312226 of _0x198505[_0x59e653(0x187)]){const _0x86b2bb=_0x312226[_0x59e653(0x1cd)],_0xf88839=_0x312226[_0x59e653(0x12c)];if(_0xf88839)switch(_0x86b2bb){case testHubConstants['ERROR'][_0x59e653(0x1da)]:logger[_0x59e653(0x137)](_0xf88839);break;case testHubConstants[_0x59e653(0x1a7)]['ACCESS_DENIED']:logger[_0x59e653(0x145)](_0xf88839);break;case testHubConstants['ERROR'][_0x59e653(0x1ad)]:logger[_0x59e653(0x137)](_0xf88839);break;default:logger[_0x59e653(0x137)](_0xf88839);}}};const jsonifyAccessibilityArray=(_0x4d665c,_0x59ed7e,_0x1cbfb3)=>{const _0x305423=a170_0x4d6ff4,_0x5eb95f={};return _0x4d665c[_0x305423(0x182)](_0x3e1cfb=>{_0x5eb95f[_0x3e1cfb[_0x59ed7e]]=_0x3e1cfb[_0x1cbfb3];}),_0x5eb95f;};exports[a170_0x4d6ff4(0x1b6)]=_0x49a052=>{const _0x2dd6ba=a170_0x4d6ff4;_0x49a052[_0x2dd6ba(0x1cf)]&&(process[_0x2dd6ba(0x146)][_0x2dd6ba(0x143)]=_0x49a052[_0x2dd6ba(0x1cf)]);_0x49a052['build_hashed_id']&&(process[_0x2dd6ba(0x146)][_0x2dd6ba(0x188)]=_0x49a052[_0x2dd6ba(0x1be)],logger['debug'](_0x2dd6ba(0x18a)+_0x49a052[_0x2dd6ba(0x1be)]));;},exports[a170_0x4d6ff4(0x16e)]=(_0x487a77='',_0x1fba9a='')=>{const _0x11b482=a170_0x4d6ff4,_0x2a51e1={'qKfqK':function(_0xc67429){return _0xc67429();},'jYaqC':function(_0x1c9900,_0x536289){return _0x1c9900===_0x536289;},'AWdAN':_0x11b482(0x144),'bUpGc':_0x11b482(0x12a),'pXvAV':'CBTSessionCreated','ovkjI':_0x11b482(0x130),'uwrSU':_0x11b482(0x127),'HVxPQ':function(_0x132149){return _0x132149();}};if(exports[_0x11b482(0x1b1)]()&&!exports[_0x11b482(0x1b8)]()&&!_0x2a51e1[_0x11b482(0x1d1)](isTestObservabilitySession)){if(_0x2a51e1[_0x11b482(0x19d)](_0x1fba9a,_0x2a51e1[_0x11b482(0x1a1)]))return![];if([_0x2a51e1[_0x11b482(0x18b)],_0x2a51e1['pXvAV']][_0x11b482(0x19f)](_0x487a77))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0x2a51e1[_0x11b482(0x1d1)](isTestObservabilitySession)){if([_0x2a51e1[_0x11b482(0x157)],_0x2a51e1[_0x11b482(0x18f)],_0x2a51e1[_0x11b482(0x18b)]][_0x11b482(0x19f)](_0x487a77))return![];return!![];}return exports[_0x11b482(0x1b8)]()||_0x2a51e1[_0x11b482(0x1de)](isTestObservabilitySession)||exports[_0x11b482(0x1b1)]();},exports[a170_0x4d6ff4(0x170)]=(_0x366070,_0x20dfce,_0x544b15='',_0x4a4307)=>{const _0x33bcb7=a170_0x4d6ff4,_0x55f5f9={'hqGtG':_0x33bcb7(0x130),'xILjX':'HookRunFinished','wtvic':function(_0x2f83b0,_0x5333ef){return _0x2f83b0===_0x5333ef;},'Jpnel':_0x33bcb7(0x15e),'Lohbw':_0x33bcb7(0x17b),'UBmXD':_0x33bcb7(0x181),'QAIbr':function(_0x4ce0d3,_0x43ffd9){return _0x4ce0d3&&_0x43ffd9;},'bYBkL':function(_0x1eb077,_0x5e47c3){return _0x1eb077+_0x5e47c3;},'GgefA':function(_0x729d30,_0x193de6){return _0x729d30(_0x193de6);},'sbqML':_0x33bcb7(0x1e1),'FZABu':function(_0x10905d,_0x1f1dea){return _0x10905d+_0x1f1dea;},'pQedC':function(_0x117f74,_0x1e942f){return _0x117f74===_0x1e942f;},'AzNim':_0x33bcb7(0x1bf),'LBsXj':_0x33bcb7(0x14f)};if(![_0x55f5f9[_0x33bcb7(0x19a)],_0x55f5f9['xILjX']][_0x33bcb7(0x19f)](_0x20dfce)&&exports['isAccessibilityEnabled']()){const _0x52ef2e={};if(_0x55f5f9[_0x33bcb7(0x138)](_0x4a4307,FRAMEWORKS[_0x33bcb7(0x162)])){const _0x2585d2=globals[_0x33bcb7(0x1a9)](_0x55f5f9[_0x33bcb7(0x1b7)])||accessibilityHelper[_0x33bcb7(0x1b4)](_0x544b15[_0x33bcb7(0x1dd)](),!![]),_0x405173=globals[_0x33bcb7(0x1a9)](_0x55f5f9[_0x33bcb7(0x154)]);_0x52ef2e[_0x55f5f9[_0x33bcb7(0x195)]]=_0x55f5f9[_0x33bcb7(0x175)](_0x405173,_0x2585d2);}if(_0x55f5f9[_0x33bcb7(0x138)](_0x4a4307,FRAMEWORKS[_0x33bcb7(0x172)])){const _0x287641=_0x55f5f9[_0x33bcb7(0x1d9)](_0x55f5f9[_0x33bcb7(0x1d9)](_0x366070['scopes'][_0x33bcb7(0x156)]('\x20'),'\x20'),_0x544b15[_0x33bcb7(0x18d)]),_0x2591c2=globals[_0x33bcb7(0x1a9)](_0x55f5f9[_0x33bcb7(0x1b7)])||accessibilityHelper[_0x33bcb7(0x1b4)](_0x287641,![]),_0x4103dc=browserStackGlobals['isAccessibilityPlatform'];_0x52ef2e[_0x55f5f9[_0x33bcb7(0x195)]]=_0x55f5f9[_0x33bcb7(0x175)](_0x4103dc,_0x2591c2);}if(_0x55f5f9[_0x33bcb7(0x138)](_0x4a4307,FRAMEWORKS[_0x33bcb7(0x15b)])){const _0x239cee=_0x55f5f9[_0x33bcb7(0x17e)](require,_0x55f5f9[_0x33bcb7(0x1e5)]),_0x39f3c1=_0x544b15&&_0x239cee['get'](_0x544b15['id'])||_0x366070[_0x33bcb7(0x1a4)];_0x39f3c1&&(_0x366070[_0x33bcb7(0x1a4)]=_0x39f3c1);const _0x1b2142=_0x55f5f9[_0x33bcb7(0x14a)](_0x55f5f9[_0x33bcb7(0x14a)](_0x366070[_0x33bcb7(0x1ae)][_0x33bcb7(0x156)]('\x20'),'\x20'),_0x544b15['description']||_0x366070[_0x33bcb7(0x18d)]),_0x369873=globals[_0x33bcb7(0x1a9)](_0x55f5f9['Jpnel'])||accessibilityHelper[_0x33bcb7(0x1b4)](_0x1b2142,![]),_0x4aeaaa=globals[_0x33bcb7(0x1a9)](_0x55f5f9[_0x33bcb7(0x154)]);_0x52ef2e[_0x55f5f9[_0x33bcb7(0x195)]]=_0x55f5f9['QAIbr'](_0x4aeaaa,_0x369873);}if(_0x55f5f9[_0x33bcb7(0x138)](_0x4a4307,FRAMEWORKS[_0x33bcb7(0x134)])){if(_0x55f5f9['pQedC'](_0x20dfce,_0x55f5f9[_0x33bcb7(0x17c)]))return;_0x52ef2e[_0x55f5f9[_0x33bcb7(0x195)]]=PWTestDetails[_0x33bcb7(0x129)](_0x366070[_0x33bcb7(0x1a4)]);}if(_0x55f5f9[_0x33bcb7(0x1a8)](_0x4a4307,FRAMEWORKS['CODECEPT'])){const _0x38eb03=accessibilityHelper[_0x33bcb7(0x1b4)](_0x544b15[_0x33bcb7(0x1dd)](),!![]),_0x56df54=global[_0x33bcb7(0x1db)];_0x52ef2e[_0x55f5f9[_0x33bcb7(0x195)]]=_0x55f5f9[_0x33bcb7(0x175)](_0x56df54,_0x38eb03);}if(_0x55f5f9[_0x33bcb7(0x138)](_0x4a4307,FRAMEWORKS[_0x33bcb7(0x179)])){const _0x2e9daa=accessibilityHelper[_0x33bcb7(0x1b4)](null,![],_0x366070[_0x33bcb7(0x1c4)]),_0x1c1d38=globals[_0x33bcb7(0x1a9)](_0x55f5f9[_0x33bcb7(0x154)]);_0x52ef2e[_0x55f5f9[_0x33bcb7(0x195)]]=_0x55f5f9[_0x33bcb7(0x175)](_0x1c1d38,_0x2e9daa);}_0x366070[_0x55f5f9[_0x33bcb7(0x139)]]=_0x52ef2e;}},exports[a170_0x4d6ff4(0x189)]=_0x2a4ec8=>{const _0x4155eb=a170_0x4d6ff4,_0x4db2fd={};_0x4db2fd[_0x4155eb(0x140)]=function(_0x1d754a,_0x319ebd){return _0x1d754a>_0x319ebd;};const _0x29cb1d=_0x4db2fd;let _0x4a3283={};if(_0x29cb1d[_0x4155eb(0x140)](Object['keys'](testData)[_0x4155eb(0x191)],0x0))return testData;_0x4a3283=JestTestDetails['getTestData']();if(_0x29cb1d['CoERR'](Object['keys'](_0x4a3283)[_0x4155eb(0x191)],0x0))return _0x4a3283;return _0x4a3283;},exports['setCurrentTestData']=(_0x3415fa,_0x2a6c82={})=>{const _0x514b0e=a170_0x4d6ff4;if(bsSetupHelper['isUndefined'](_0x2a6c82[_0x514b0e(0x136)]))return;switch(_0x3415fa){case FRAMEWORKS[_0x514b0e(0x162)]:testData=_0x2a6c82[_0x514b0e(0x136)];break;case FRAMEWORKS[_0x514b0e(0x172)]:JestTestDetails['setTestData'](_0x2a6c82[_0x514b0e(0x136)]);break;case FRAMEWORKS[_0x514b0e(0x15b)]:testData=_0x2a6c82['test_run'];break;default:break;}},exports['getAccessibilityValueFromYml']=_0x2f1ad1=>{const _0x5e26ac=a170_0x4d6ff4,_0x4cea57={};_0x4cea57['lRTsr']=function(_0x231625,_0x487e8c){return _0x231625!==_0x487e8c;},_0x4cea57[_0x5e26ac(0x18c)]=function(_0x3a3d3f,_0x21419f){return _0x3a3d3f!==_0x21419f;},_0x4cea57['uaOjp']=function(_0x236969,_0x102f98){return _0x236969!==_0x102f98;},_0x4cea57[_0x5e26ac(0x14c)]=function(_0x28c567,_0x39e398){return _0x28c567!==_0x39e398;};const _0xcff549=_0x4cea57;if(_0xcff549[_0x5e26ac(0x126)](_0x2f1ad1[_0x5e26ac(0x181)],null)&&_0xcff549['pWnss'](_0x2f1ad1[_0x5e26ac(0x181)],undefined))return _0x2f1ad1['accessibility'];let _0x2d059e=![],_0x5906f4=![];if(_0x2f1ad1[_0x5e26ac(0x1c1)])for(const _0x4390af of _0x2f1ad1['platforms']){_0xcff549[_0x5e26ac(0x197)](_0x4390af[_0x5e26ac(0x181)],null)&&_0xcff549['fDwWb'](_0x4390af['accessibility'],undefined)&&(_0x2d059e=_0x2d059e||bsSetupHelper['isTrue'](_0x4390af[_0x5e26ac(0x181)]),_0x5906f4=!![]);}if(_0x5906f4)return _0x2d059e;return null;},exports['getTestOrchestrationBuildStartData']=_0x88436d=>{const _0x1d085a=a170_0x4d6ff4;if(!_0x88436d)return{};const _0x552665=new OrchestrationUtils(_0x88436d);return _0x552665[_0x1d085a(0x173)]();},exports[a170_0x4d6ff4(0x152)]=_0x4b5a17=>{const _0x574119=a170_0x4d6ff4,_0x2b2b80={'WEwNJ':function(_0x37462c){return _0x37462c();}};let _0x5cd412=![],_0x40296d=![];if(bsSetupHelper['isBrowserstackInfra']()&&_0x4b5a17[_0x574119(0x15f)])_0x40296d=!![];else bsSetupHelper[_0x574119(0x17d)]()&&(_0x5cd412=!![]);return Object[_0x574119(0x1ba)]({'observability':_0x2b2b80['WEwNJ'](isTestObservabilitySession),'accessibility':exports[_0x574119(0x12f)](_0x4b5a17),'percy':_0x4b5a17[_0x574119(0x1c5)]||![],'automate':_0x5cd412,'app_automate':_0x40296d,'turboscale':bsSetupHelper[_0x574119(0x186)](_0x4b5a17),'lts':LoadTestModule[_0x574119(0x15c)](_0x4b5a17)},bsSetupHelper['getCentralUser']());};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a171_0x309703=a171_0x127f;function a171_0x127f(_0x2a3fcc,_0x30d773){const _0x5a91fa=a171_0x5a91();return a171_0x127f=function(_0x127f77,_0x67c004){_0x127f77=_0x127f77-0x17e;let _0x3e43d9=_0x5a91fa[_0x127f77];return _0x3e43d9;},a171_0x127f(_0x2a3fcc,_0x30d773);}(function(_0x2e7e79,_0x21a76c){const _0x561be7=a171_0x127f,_0xd14a84=_0x2e7e79();while(!![]){try{const _0x4daf9a=-parseInt(_0x561be7(0x18f))/0x1+-parseInt(_0x561be7(0x188))/0x2*(parseInt(_0x561be7(0x185))/0x3)+parseInt(_0x561be7(0x184))/0x4*(parseInt(_0x561be7(0x18e))/0x5)+parseInt(_0x561be7(0x18d))/0x6+-parseInt(_0x561be7(0x183))/0x7*(-parseInt(_0x561be7(0x182))/0x8)+-parseInt(_0x561be7(0x189))/0x9*(-parseInt(_0x561be7(0x181))/0xa)+-parseInt(_0x561be7(0x17e))/0xb*(-parseInt(_0x561be7(0x18b))/0xc);if(_0x4daf9a===_0x21a76c)break;else _0xd14a84['push'](_0xd14a84['shift']());}catch(_0x4b8cbb){_0xd14a84['push'](_0xd14a84['shift']());}}}(a171_0x5a91,0xcb380));const utilities=require(a171_0x309703(0x187));function a171_0x5a91(){const _0x529dad=['10752qduIjp','buZgW','./utilities','406IrnGFd','9FpKskC','fApaS','24DttmrR','TdMTt','3965394aQayjp','5FUghYp','1497182kVlgFe','6672886QJrJRP','cancel','exports','1256370LBGiXC','1056520rRCrRX','28XCQoVr','2116280EhtgPQ'];a171_0x5a91=function(){return _0x529dad;};return a171_0x5a91();}module[a171_0x309703(0x180)]=(_0x192aeb,_0x3b2734,_0x27a663,_0x547049,_0x183a1b,_0x44d1ce)=>{const _0x5b4f0d=a171_0x309703,_0x50575d={'IcnRr':function(_0x1fbe53,_0x53fb63){return _0x1fbe53-_0x53fb63;},'TdMTt':function(_0xe27ad0,_0x16588f){return _0xe27ad0(_0x16588f);},'buZgW':function(_0x54b086,_0x6e153b,_0x461b58){return _0x54b086(_0x6e153b,_0x461b58);}};let _0x4afc90,_0x50fa6d=![];const _0x32fc37=new Promise((_0x2c208f,_0x5e051e)=>{const _0x178e64=a171_0x127f,_0x1d20c3={'fApaS':function(_0x36ac10,_0x367159){return _0x50575d['IcnRr'](_0x36ac10,_0x367159);},'dQwaF':function(_0x459e89,_0x473ff1){return _0x50575d['TdMTt'](_0x459e89,_0x473ff1);}};_0x4afc90=_0x50575d[_0x178e64(0x186)](setTimeout,()=>{const _0x5630b7=_0x178e64;if(!_0x50fa6d){const _0x3b17f6={'status':''+_0x3b2734,'timeTaken':_0x1d20c3[_0x5630b7(0x18a)](new Date(),_0x547049)};utilities['fireFunnelTestEvent'](_0x27a663,_0x3b17f6,_0x183a1b,_0x44d1ce),_0x1d20c3['dQwaF'](_0x5e051e,new Error(_0x3b2734));}},_0x192aeb);});return _0x32fc37[_0x5b4f0d(0x17f)]=()=>{const _0x2dcab8=_0x5b4f0d;_0x50fa6d=!![],_0x50575d[_0x2dcab8(0x18c)](clearTimeout,_0x4afc90);},_0x32fc37;};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a157_0x5779fd=a157_0x3306;(function(_0x18eb3e,_0x45f6a2){const _0x4abcc6=a157_0x3306,_0x19c18e=_0x18eb3e();while(!![]){try{const _0x5cb68a=parseInt(_0x4abcc6(0x205))/0x1+parseInt(_0x4abcc6(0x24c))/0x2*(parseInt(_0x4abcc6(0x237))/0x3)+parseInt(_0x4abcc6(0x25c))/0x4+parseInt(_0x4abcc6(0x1f7))/0x5+parseInt(_0x4abcc6(0x229))/0x6+parseInt(_0x4abcc6(0x1ef))/0x7+-parseInt(_0x4abcc6(0x241))/0x8;if(_0x5cb68a===_0x45f6a2)break;else _0x19c18e['push'](_0x19c18e['shift']());}catch(_0xa625cf){_0x19c18e['push'](_0x19c18e['shift']());}}}(a157_0x2cb1,0x98ef8));const os=require('os'),util=require(a157_0x5779fd(0x1dc)),fs=require('fs'),{getProductMap}=require(a157_0x5779fd(0x1fd)),logger=require(a157_0x5779fd(0x1f6))[a157_0x5779fd(0x1df)],constants=require(a157_0x5779fd(0x200)),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require('../bin/playwright/reporter/pwUtils'),{FUNNEL_INSTRUMENTATION_API_URL}=require('../bin/utils/constants'),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a157_0x5779fd(0x267)),globals=require(a157_0x5779fd(0x1de)),helper=require(a157_0x5779fd(0x245)),{isTestObservabilitySession}=require('./test-observability/utils');function a157_0x2cb1(){const _0x1b0db4=['./performance/performance-tester','hekvR','trim','sendLogs','nfQLF','\x20response\x20-\x20','type','_buildHashedId','browserVersion','getSessionsList','forEach','debug','setReadWriteExecuteAccess','error','osVersion','notifyUpdate','util','killSignal','./globals','winstonLogger','aIjgr','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','\x20has\x20now\x20read/write/execute\x20permissions.','browserStackConfig','_hubAllocationData','getNodeAgent','hostname','ACpOW','X_OK','jlcRP','sanitizeBrowserStackConfig','keys','VBaoZ','parse','assign','7633941Jarzqi','selenium-webdriver','fireFunnelTestEvent','ySfAY','xFffb','AUTOMATE','isNullOrEmpty','./logger','5249805sBIUqY','isTurboScaleSession','FIljT','getFrameworkVersion','nxeRA','values','./testhub/utils','event_properties','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','../bin/utils/constants','PLbgq','tests','unFTq','content-type','42443IplAZW','NZdHs','pfkZA','format','SDK\x20run\x20ended\x20for\x20id:\x20','unknown','zPdJO','Directory\x20','tEEEe','all','oKJkA','WaIec','app','reduce','getGlobal','aNHJX','getAccessKey','info','env','codeceptjs','replace','ENV_VAR','playwrightVersion','Failed\x20to\x20set\x20directory\x20access:\x20','KdpPv','XYyPr','toString','getStackTraceAsString','finalExecution','getTestFrameworkDetails','mpROs','hubAllocation','solXv','APP_AUTOMATE_PRODUCTS','UKWzH','buildIdentifier','2759094GCfqsT','errorMessage','stopPercy','finishedMetadata','isModifiable','APP_AUTOMATE','buildName','QZalf','length','push','sdkRunId','Error\x20in\x20firing\x20request\x20to\x20','getUserName','getTurboScaleSessionsList','138216UbERXR','wWEXN','AUTOMATE_PRODUCTS','browser','config','nodejs','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','eFdHa','constants','slwZe','28257912ohBlsA','API\x20Event\x20','nodeRequest','join','./helper','seleniumVersion','[REDACTED]','bYugn','KXFKm','ojEXy','getPackageVersion','26IWVHEf','BROWSERSTACK_TESTHUB_UUID','source','jjLeP','GSTyk','globalException','apply','application/json','getTurboScaleBuildLink','vdcLF','W_OK','KCJhY','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','isBrowserstackInfra','undefined','POST','3667644ioRgIa','split',',\x20testhub\x20id:\x20','cTxbY','deviceName','SFIBE','body','SDKTestSuccessful','ksUVg','getBuildLink','framework'];a157_0x2cb1=function(){return _0x1b0db4;};return a157_0x2cb1();}let unhandledErrors='';function a157_0x3306(_0x1422ee,_0x1eee42){const _0x2cb1b6=a157_0x2cb1();return a157_0x3306=function(_0x33062f,_0x5c6674){_0x33062f=_0x33062f-0x1d2;let _0x572e1e=_0x2cb1b6[_0x33062f];return _0x572e1e;},a157_0x3306(_0x1422ee,_0x1eee42);}exports[a157_0x5779fd(0x1f1)]=async(_0x56cdd4,_0x35abe0={},_0x5c43d9,_0x528f65,_0x4b5891=![])=>{const _0x22df64=a157_0x5779fd,_0x178bc3={'SFIBE':function(_0x36b871,_0x263509){return _0x36b871===_0x263509;},'ksUVg':'object','solXv':function(_0x526b7a,_0x15e0d2){return _0x526b7a>_0x15e0d2;},'eFdHa':'tests','rFmUR':function(_0x7a8cd1){return _0x7a8cd1();},'KCJhY':function(_0x41d50f,_0x20ee8e){return _0x41d50f==_0x20ee8e;},'GSTyk':'null','unFTq':function(_0x5cb468,_0x2cb9fb){return _0x5cb468===_0x2cb9fb;},'nfQLF':_0x22df64(0x25a),'vdcLF':function(_0x54ee1d,_0x1175e2){return _0x54ee1d>_0x1175e2;},'pfhKm':function(_0x1f628e,_0x265e69){return _0x1f628e===_0x265e69;},'mpROs':_0x22df64(0x218),'xFffb':function(_0x33fdc6,_0x4cdda3){return _0x33fdc6!==_0x4cdda3;},'PLbgq':'Playwright','KXFKm':function(_0x44274a,_0x1330d7){return _0x44274a===_0x1330d7;},'KdpPv':_0x22df64(0x1d9),'nxeRA':function(_0xdffeb5,_0x140595){return _0xdffeb5>_0x140595;},'bZzAz':function(_0x4aaa28,_0x4776eb){return _0x4aaa28+_0x4776eb;},'VBaoZ':_0x22df64(0x1e1),'QZalf':_0x22df64(0x1d3),'bYugn':function(_0x102dbe,_0x4ffbe7){return _0x102dbe(_0x4ffbe7);},'jlcRP':_0x22df64(0x20a),'aNHJX':_0x22df64(0x23c),'WaIec':function(_0x23952b,_0x23f496){return _0x23952b===_0x23f496;},'zPdJO':'SDKTestSuccessful','NhUlr':function(_0x523495,_0x5d055e){return _0x523495===_0x5d055e;},'slwZe':function(_0x11da96){return _0x11da96();},'ACpOW':_0x22df64(0x1f0),'tEEEe':_0x22df64(0x253),'ySfAY':_0x22df64(0x247),'aIjgr':_0x22df64(0x25b)};let _0x4dbef5=[];if(helper['isBrowserstackInfra']()&&_0x178bc3['rFmUR'](isTestObservabilitySession))_0x4dbef5=_0x5c43d9[_0x22df64(0x211)]?constants[_0x22df64(0x226)]:constants[_0x22df64(0x239)];else{if(_0x178bc3['rFmUR'](isTestObservabilitySession))_0x4dbef5=constants[_0x22df64(0x258)];else helper[_0x22df64(0x259)]()&&(_0x4dbef5=_0x5c43d9[_0x22df64(0x211)]?constants[_0x22df64(0x22e)]:constants[_0x22df64(0x1f4)]);}let _0x166a12=_0x5c43d9[_0x22df64(0x228)];if(_0x178bc3[_0x22df64(0x257)](_0x166a12,null))_0x166a12=_0x178bc3[_0x22df64(0x250)];else _0x178bc3[_0x22df64(0x203)](_0x166a12,undefined)&&(_0x166a12=_0x178bc3[_0x22df64(0x26b)]);unhandledErrors&&_0x178bc3[_0x22df64(0x255)](unhandledErrors[_0x22df64(0x231)],0x0)&&(_0x35abe0[_0x22df64(0x251)]=unhandledErrors);global[_0x22df64(0x233)]&&(_0x35abe0[_0x22df64(0x233)]=global[_0x22df64(0x233)]);try{if(_0x35abe0[_0x22df64(0x1d9)]){if(_0x178bc3['pfhKm'](_0x528f65,_0x178bc3[_0x22df64(0x223)])&&_0x178bc3['solXv'](_0x35abe0['error'][_0x22df64(0x231)],0x0)){const _0x1a7d12={};_0x1a7d12['os']='',_0x1a7d12['osVersion']='',_0x1a7d12[_0x22df64(0x23a)]='',_0x1a7d12[_0x22df64(0x1d4)]='';const _0x33d834=_0x1a7d12;let _0x3cc319={};const _0x4eef0d=_0x35abe0[_0x22df64(0x1d9)];_0x3cc319=_0x4eef0d[_0x22df64(0x212)]((_0x4f8786,_0x4a4a70)=>{for(const _0x25934c in _0x4a4a70){_0x4f8786[_0x25934c]=_0x4a4a70[_0x25934c];}return _0x4f8786;},{});const _0x34a1cc={};_0x34a1cc[_0x22df64(0x202)]=_0x3cc319,_0x35abe0[_0x22df64(0x1d9)]=[Object[_0x22df64(0x1ee)]({},_0x33d834,_0x34a1cc)];}else{let _0x17bf5c=0x0;const _0x112f52=_0x178bc3[_0x22df64(0x1f3)](_0x528f65,_0x178bc3[_0x22df64(0x201)])?JSON[_0x22df64(0x1ed)](_0x35abe0[_0x22df64(0x1d9)]):_0x35abe0[_0x22df64(0x1d9)],_0x14f83e=Object[_0x22df64(0x1fc)](_0x112f52);_0x14f83e[_0x22df64(0x1d6)](_0x1ad1aa=>{const _0x533a9e=_0x22df64;if(_0x178bc3[_0x533a9e(0x261)](typeof _0x1ad1aa,_0x178bc3[_0x533a9e(0x264)])){const _0x3b4c62=Object[_0x533a9e(0x1fc)](_0x1ad1aa);!_0x3b4c62['every'](_0x2edf9b=>_0x2edf9b===null||_0x2edf9b===undefined||_0x2edf9b==='')&&(_0x17bf5c+=0x1);}});if(_0x178bc3[_0x22df64(0x249)](_0x17bf5c,0x0))delete _0x35abe0[_0x178bc3[_0x22df64(0x21d)]];else{const _0x5a5988=[];Object[_0x22df64(0x1eb)](_0x112f52)['forEach'](_0xf17b13=>{const _0x5c6898=_0x22df64,[_0x3a5279,_0x3eff16,_0x4e4f87,_0x3ada0b]=_0xf17b13[_0x5c6898(0x25d)](',\x20');let _0x406ea7={};if(!_0x3ada0b){const _0x3dbc16={};_0x3dbc16[_0x5c6898(0x260)]=_0x3a5279,_0x3dbc16[_0x5c6898(0x1da)]=_0x3eff16,_0x3dbc16[_0x5c6898(0x23a)]=_0x4e4f87,_0x406ea7=_0x3dbc16;}else{const _0x20e796={};_0x20e796['os']=_0x3a5279,_0x20e796[_0x5c6898(0x1da)]=_0x3eff16,_0x20e796[_0x5c6898(0x23a)]=_0x4e4f87,_0x20e796['browserVersion']=_0x3ada0b,_0x406ea7=_0x20e796;}const _0x1eba0e={},_0x5c9840=_0x112f52[_0xf17b13];Object[_0x5c6898(0x1eb)](_0x5c9840)['forEach'](_0x1ac2d0=>{const _0x4f5661=_0x5c6898;_0x178bc3[_0x4f5661(0x225)](_0x5c9840[_0x1ac2d0][_0x4f5661(0x231)],0x0)&&(_0x1eba0e[_0x1ac2d0]=_0x5c9840[_0x1ac2d0]);}),_0x178bc3[_0x5c6898(0x225)](Object['keys'](_0x1eba0e)[_0x5c6898(0x231)],0x0)&&(_0x406ea7[_0x178bc3[_0x5c6898(0x23e)]]=_0x1eba0e,_0x5a5988[_0x5c6898(0x232)](_0x406ea7));}),_0x178bc3[_0x22df64(0x1fb)](_0x5a5988[_0x22df64(0x231)],0x0)?_0x35abe0[_0x22df64(0x1d9)]=_0x5a5988:delete _0x35abe0[_0x178bc3[_0x22df64(0x21d)]];}}}}catch(_0x37df28){delete _0x35abe0[_0x178bc3[_0x22df64(0x21d)]],logger[_0x22df64(0x1d7)](_0x178bc3['bZzAz'](_0x178bc3[_0x22df64(0x1ec)],_0x37df28));}const _0x41b151=helper[_0x22df64(0x222)](_0x5c43d9,_0x5c43d9['framework']),_0x4b105a={'userName':helper['getUserName'](_0x5c43d9),'accessKey':helper[_0x22df64(0x215)](_0x5c43d9),'event_type':_0x56cdd4,'detectedFramework':_0x528f65,'buildHashedId':globals[_0x22df64(0x213)](_0x178bc3[_0x22df64(0x230)]),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process[_0x22df64(0x217)][testHubConstants[_0x22df64(0x21a)][_0x22df64(0x24d)]]||'','sdkRunId':global[_0x22df64(0x233)],'product_map':_0x178bc3['bYugn'](getProductMap,_0x5c43d9),'productMap':_0x178bc3[_0x22df64(0x248)](getProductMap,_0x5c43d9),'language_framework':_0x5c43d9[_0x22df64(0x24e)]||_0x178bc3[_0x22df64(0x1e9)],'referrer':helper[_0x22df64(0x1e5)](_0x528f65),'framework':_0x5c43d9[_0x22df64(0x266)],'frameworkVersion':helper[_0x22df64(0x1fa)](_0x528f65),'automationFramework':_0x41b151['name'],'automationFrameworkVersion':_0x41b151['version'],'language':_0x178bc3[_0x22df64(0x214)],'languageVersion':process['version'],'product':_0x4dbef5,'buildName':_0x5c43d9[_0x22df64(0x22f)]||_0x178bc3['nfQLF'],'buildIdentifier':_0x166a12,'os':os[_0x22df64(0x1d2)]()||_0x178bc3[_0x22df64(0x1e9)],'hostname':os[_0x22df64(0x1e6)]()||_0x178bc3[_0x22df64(0x1e9)],..._0x35abe0,'isCLIEnabled':_0x4b5891}};try{_0x178bc3[_0x22df64(0x210)](_0x56cdd4,_0x178bc3[_0x22df64(0x20b)])&&(_0x4b105a[_0x22df64(0x1fe)][_0x22df64(0x1e3)]=helper[_0x22df64(0x1ea)](_0x5c43d9)),_0x178bc3['NhUlr'](_0x528f65,_0x178bc3[_0x22df64(0x201)])?_0x4b105a['event_properties'][_0x22df64(0x21b)]=helper['requirePWModule'][_0x22df64(0x252)](null,_0x178bc3[_0x22df64(0x240)](getTransformPath),!![]):_0x4b105a[_0x22df64(0x1fe)][_0x22df64(0x246)]=helper[_0x22df64(0x24b)](_0x178bc3[_0x22df64(0x1e7)]);}catch(_0x2795a8){logger[_0x22df64(0x1d7)](_0x22df64(0x23d)+_0x2795a8);}const _0x1101fe={};_0x1101fe[_0x22df64(0x204)]=_0x178bc3[_0x22df64(0x20d)];const _0x8eeee5={'headers':_0x1101fe,'body':_0x4b105a,'auth':{'user':helper['getUserName'](_0x5c43d9),'pass':helper['getAccessKey'](_0x5c43d9)},'json':!![]};logger[_0x22df64(0x1d7)](_0x22df64(0x1ff)+JSON['stringify'](_0x8eeee5[_0x22df64(0x262)])[_0x22df64(0x219)](new RegExp(helper[_0x22df64(0x235)](_0x5c43d9),'g'),_0x178bc3['ySfAY'])['replace'](new RegExp(helper[_0x22df64(0x215)](_0x5c43d9),'g'),_0x178bc3[_0x22df64(0x1f2)]));try{const _0x2361ca=await helper[_0x22df64(0x243)](_0x178bc3[_0x22df64(0x1e0)],FUNNEL_INSTRUMENTATION_API_URL,_0x8eeee5,_0x5c43d9);logger[_0x22df64(0x1d7)](_0x22df64(0x242)+_0x56cdd4+_0x22df64(0x26c)+util[_0x22df64(0x208)]('%j',_0x2361ca));}catch(_0x598945){logger[_0x22df64(0x1d7)](_0x22df64(0x234)+FUNNEL_INSTRUMENTATION_API_URL+'\x20:\x20'+util[_0x22df64(0x208)](_0x598945));}},exports[a157_0x5779fd(0x221)]=async(_0x3ea842,_0x35f7a7=![])=>{const _0x390542=a157_0x5779fd,_0x104bfe={'cyDck':function(_0x45d4bd){return _0x45d4bd();},'NZdHs':_0x390542(0x1e4),'pfkZA':_0x390542(0x22c),'cTxbY':'user_killed','XYyPr':_0x390542(0x263),'wWEXN':function(_0xf2a598,_0x964d2,_0x4d1289){return _0xf2a598(_0x964d2,_0x4d1289);},'UKWzH':function(_0x2cb142,_0xa3aedd){return _0x2cb142+_0xa3aedd;},'oKJkA':'Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20'};try{await _0x3ea842[_0x390542(0x22b)](),_0x104bfe['cyDck'](printNudgeLocalNotSetError);const _0x469e53={};_0x469e53[_0x390542(0x1d9)]=_0x3ea842[_0x390542(0x22a)]?_0x3ea842['errorMessage']:'{}';const _0x4d9b2c=_0x469e53,_0x418a11=Object[_0x390542(0x1ee)]({},_0x4d9b2c),_0x11706b=globals[_0x390542(0x213)](_0x104bfe[_0x390542(0x206)]);_0x11706b&&(_0x418a11[_0x390542(0x224)]=_0x11706b);!!_0x3ea842[_0x390542(0x1dd)]&&(_0x418a11[_0x104bfe[_0x390542(0x207)]]={'reason':_0x104bfe[_0x390542(0x25f)],'signal':_0x3ea842[_0x390542(0x1dd)]});unhandledErrors=_0x3ea842['unhandledErrors'][_0x390542(0x244)]('\x0a');let _0x56ba25,_0xc880fa,_0x1add9c;helper[_0x390542(0x1f8)](_0x3ea842[_0x390542(0x23b)])?([_0x56ba25,_0xc880fa]=await helper[_0x390542(0x254)](_0x3ea842[_0x390542(0x23b)]),[_0x1add9c]=await Promise[_0x390542(0x20e)]([helper[_0x390542(0x236)](_0x56ba25,_0x3ea842['config']),exports[_0x390542(0x1f1)](_0x104bfe[_0x390542(0x21e)],_0x418a11,_0x3ea842['config'],_0x3ea842[_0x390542(0x266)],_0x35f7a7)])):([_0x56ba25,_0xc880fa]=await helper[_0x390542(0x265)](_0x3ea842[_0x390542(0x23b)]),[_0x1add9c]=await Promise[_0x390542(0x20e)]([helper[_0x390542(0x1d5)](_0x56ba25,_0x3ea842[_0x390542(0x23b)]),exports[_0x390542(0x1f1)](_0x104bfe['XYyPr'],_0x418a11,_0x3ea842[_0x390542(0x23b)],_0x3ea842[_0x390542(0x266)],_0x35f7a7)])),_0x1add9c&&await _0x104bfe[_0x390542(0x238)](generateCIArtifacts,_0x1add9c,_0xc880fa),logger[_0x390542(0x216)](_0x390542(0x209)+_0x3ea842[_0x390542(0x233)]+_0x390542(0x25e)+process['env'][_0x390542(0x24d)]),await helper[_0x390542(0x26a)](_0x3ea842['config']);}catch(_0x45ad04){logger[_0x390542(0x1d7)](_0x104bfe[_0x390542(0x227)](_0x104bfe[_0x390542(0x20f)],_0x45ad04));}helper[_0x390542(0x1db)]();},exports[a157_0x5779fd(0x220)]=_0x243fc1=>{const _0x2ddd63=a157_0x5779fd,_0x16407c={'hekvR':function(_0x5ca880,_0x52d546){return _0x5ca880 instanceof _0x52d546;},'jjLeP':function(_0xf94a81,_0x3e2665){return _0xf94a81(_0x3e2665);}};try{if(_0x16407c[_0x2ddd63(0x268)](_0x243fc1,Error))return _0x243fc1['stack']||_0x243fc1[_0x2ddd63(0x21f)]();return _0x16407c[_0x2ddd63(0x24f)](String,_0x243fc1);}catch(_0x4d4eb8){return _0x243fc1?_0x243fc1[_0x2ddd63(0x21f)]():'';}},exports[a157_0x5779fd(0x1f5)]=_0x593de5=>{const _0x1b6890=a157_0x5779fd,_0x1c58e8={};_0x1c58e8['ojEXy']=function(_0x43c03e,_0x4b865c){return _0x43c03e===_0x4b865c;};const _0x4575e8=_0x1c58e8;return!_0x593de5||_0x4575e8[_0x1b6890(0x24a)](_0x593de5[_0x1b6890(0x269)](),'');},exports[a157_0x5779fd(0x22d)]=_0x45c9f9=>{const _0x501c32=a157_0x5779fd,_0x504c97={};_0x504c97['FIljT']=function(_0x49f316,_0x4ee369){return _0x49f316|_0x4ee369;};const _0x13a421=_0x504c97;try{return fs['accessSync'](_0x45c9f9,_0x13a421[_0x501c32(0x1f9)](fs[_0x501c32(0x23f)][_0x501c32(0x256)],fs[_0x501c32(0x23f)][_0x501c32(0x1e8)])),!![];}catch(_0x5c7c89){return![];}},exports[a157_0x5779fd(0x1d8)]=_0x37f73f=>{const _0x2eef66=a157_0x5779fd;try{fs['chmodSync'](_0x37f73f,0x1ff),logger[_0x2eef66(0x1d7)](_0x2eef66(0x20c)+_0x37f73f+_0x2eef66(0x1e2));}catch(_0x2ee2b3){logger[_0x2eef66(0x1d9)](_0x2eef66(0x21c)+exports[_0x2eef66(0x220)](_0x2ee2b3));}};
|
|
1
|
+
function a172_0x59b2(_0x495ed5,_0x4c161a){const _0xab425a=a172_0xab42();return a172_0x59b2=function(_0x59b208,_0x26d5d6){_0x59b208=_0x59b208-0x80;let _0xc127cb=_0xab425a[_0x59b208];return _0xc127cb;},a172_0x59b2(_0x495ed5,_0x4c161a);}const a172_0x5aee3f=a172_0x59b2;function a172_0xab42(){const _0x197d35=['nodeRequest','toString','iGMjN','484uDixQn','constants','format','null','kcLRw','requirePWModule','notifyUpdate','isModifiable','finishedMetadata','split','keys','browserStackConfig','finalExecution','selenium-webdriver','framework','mNtIv','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','getFrameworkVersion','getSessionsList','VjgfW','event_properties','Hlodm','../bin/utils/constants','browserVersion','reduce','gMSfh','W_OK','apply','XfyqA','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','name','./logger','ycePO','edBqW','./test-observability/utils','XdKuR','isBrowserstackInfra','getTestFrameworkDetails','join','APP_AUTOMATE','OWQwE','EmOJK',',\x20testhub\x20id:\x20','forEach','Fcdzi','version','codeceptjs','killSignal','uuitu','AUTOMATE','push','errorMessage','hostname','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','uSKjo','mzOXJ','deviceName','Failed\x20to\x20set\x20directory\x20access:\x20','setReadWriteExecuteAccess','playwrightVersion','getTurboScaleBuildLink','\x20response\x20-\x20','RvoGI','12967388RSPslv','SDK\x20run\x20ended\x20for\x20id:\x20','Error\x20in\x20firing\x20request\x20to\x20','Playwright','1272140WzFbVL','ittjQ','trim','chmodSync','accessSync','undefined','env','type','util','2047860CrFaSB','DbbQZ','38ABQvTs','../bin/playwright/reporter/pwUtils','BROWSERSTACK_TESTHUB_UUID','osVersion','getBuildLink','2966658gbvFLV','4uJJOzc','jHlQJ','BCBHe','AUTOMATE_PRODUCTS','sdkRunId','rssRC','isNullOrEmpty','38010LdZkBj','WpafS','getUserName','NKOPe','./globals','./helper','SDKTestSuccessful','113553wAafha','getPackageVersion','unknown','LXBHk','assign','\x20:\x20','iyAuJ','config','user_killed','tFJeK','X_OK','Pryrc','values','getGlobal','body','replace','parse','783950smeRwU','TbpzO','debug','info','getNodeAgent','getAccessKey','length','hubAllocation','app','buildIdentifier','ZSQdw','error','unhandledErrors','./performance/performance-tester','296fYEHyK','getStackTraceAsString','tests','application/json','_buildHashedId','_hubAllocationData','winstonLogger','vZXqp','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','fireFunnelTestEvent'];a172_0xab42=function(){return _0x197d35;};return a172_0xab42();}(function(_0x379722,_0x53b438){const _0x1ce2d0=a172_0x59b2,_0x490bf2=_0x379722();while(!![]){try{const _0x26dfc1=-parseInt(_0x1ce2d0(0x103))/0x1*(-parseInt(_0x1ce2d0(0x82))/0x2)+parseInt(_0x1ce2d0(0x108))/0x3*(-parseInt(_0x1ce2d0(0x109))/0x4)+-parseInt(_0x1ce2d0(0xf8))/0x5+parseInt(_0x1ce2d0(0x101))/0x6+-parseInt(_0x1ce2d0(0xf4))/0x7+parseInt(_0x1ce2d0(0xa8))/0x8*(-parseInt(_0x1ce2d0(0x89))/0x9)+-parseInt(_0x1ce2d0(0x9a))/0xa*(-parseInt(_0x1ce2d0(0xb5))/0xb);if(_0x26dfc1===_0x53b438)break;else _0x490bf2['push'](_0x490bf2['shift']());}catch(_0x403e33){_0x490bf2['push'](_0x490bf2['shift']());}}}(a172_0xab42,0xe7fed));const os=require('os'),util=require(a172_0x5aee3f(0x100)),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require(a172_0x5aee3f(0xd4))[a172_0x5aee3f(0xae)],constants=require(a172_0x5aee3f(0xcb)),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require(a172_0x5aee3f(0x104)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a172_0x5aee3f(0xcb)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a172_0x5aee3f(0x87)),PerformanceTester=require(a172_0x5aee3f(0xa7)),globals=require(a172_0x5aee3f(0x86)),helper=require(a172_0x5aee3f(0x87)),{isTestObservabilitySession}=require(a172_0x5aee3f(0xd7));let unhandledErrors='';exports['fireFunnelTestEvent']=async(_0x5164b2,_0x40d985={},_0x185b96,_0x14671b,_0x54fb5a=![])=>{const _0xe143d2=a172_0x5aee3f,_0x595128={'TbpzO':function(_0x3581af,_0x32eda4){return _0x3581af===_0x32eda4;},'OWQwE':'object','kcLRw':function(_0x5092b0,_0x41159d){return _0x5092b0>_0x41159d;},'dMBwR':_0xe143d2(0xaa),'gMSfh':function(_0x5d85c8){return _0x5d85c8();},'EmOJK':function(_0x3e891f,_0x396551){return _0x3e891f==_0x396551;},'iyAuJ':_0xe143d2(0xb8),'ycePO':_0xe143d2(0xfd),'tFJeK':_0xe143d2(0xe3),'jHlQJ':function(_0xd56e02,_0x53f52f){return _0xd56e02!==_0x53f52f;},'LXBHk':_0xe143d2(0xf7),'vZXqp':_0xe143d2(0xa5),'edBqW':function(_0x3c4223,_0x563cca){return _0x3c4223+_0x563cca;},'ittjQ':_0xe143d2(0xb0),'TGjwl':_0xe143d2(0xac),'UkzPu':function(_0x230baf,_0x2c9536){return _0x230baf(_0x2c9536);},'VjgfW':function(_0x261982,_0x28fbf5){return _0x261982(_0x28fbf5);},'uuitu':_0xe143d2(0x8b),'mzOXJ':'nodejs','BdJlZ':_0xe143d2(0x88),'jJRdj':function(_0x33c28a,_0x2086a9){return _0x33c28a===_0x2086a9;},'Fcdzi':_0xe143d2(0xc2),'BCBHe':_0xe143d2(0xab),'NKOPe':'[REDACTED]','XdKuR':'POST'};let _0x332527=[];if(helper[_0xe143d2(0xd9)]()&&_0x595128[_0xe143d2(0xce)](isTestObservabilitySession))_0x332527=_0x185b96[_0xe143d2(0xa2)]?constants['APP_AUTOMATE_PRODUCTS']:constants[_0xe143d2(0x10c)];else{if(_0x595128[_0xe143d2(0xce)](isTestObservabilitySession))_0x332527=constants[_0xe143d2(0xea)];else helper[_0xe143d2(0xd9)]()&&(_0x332527=_0x185b96[_0xe143d2(0xa2)]?constants[_0xe143d2(0xdc)]:constants[_0xe143d2(0xe6)]);}let _0x5b2796=_0x185b96[_0xe143d2(0xa3)];if(_0x595128[_0xe143d2(0xde)](_0x5b2796,null))_0x5b2796=_0x595128[_0xe143d2(0x8f)];else _0x595128['TbpzO'](_0x5b2796,undefined)&&(_0x5b2796=_0x595128[_0xe143d2(0xd5)]);unhandledErrors&&_0x595128[_0xe143d2(0xb9)](unhandledErrors[_0xe143d2(0xa0)],0x0)&&(_0x40d985['globalException']=unhandledErrors);global[_0xe143d2(0x10d)]&&(_0x40d985['sdkRunId']=global['sdkRunId']);try{if(_0x40d985[_0xe143d2(0xa5)]){if(_0x595128[_0xe143d2(0x9b)](_0x14671b,_0x595128[_0xe143d2(0x92)])&&_0x595128[_0xe143d2(0xb9)](_0x40d985[_0xe143d2(0xa5)][_0xe143d2(0xa0)],0x0)){const _0x37598e={};_0x37598e['os']='',_0x37598e[_0xe143d2(0x106)]='',_0x37598e['browser']='',_0x37598e[_0xe143d2(0xcc)]='';const _0x584619=_0x37598e;let _0x118d0c={};const _0x5f425e=_0x40d985['error'];_0x118d0c=_0x5f425e[_0xe143d2(0xcd)]((_0x43ebdb,_0x2e72fa)=>{for(const _0x7eebf0 in _0x2e72fa){_0x43ebdb[_0x7eebf0]=_0x2e72fa[_0x7eebf0];}return _0x43ebdb;},{});const _0xebfaad={};_0xebfaad[_0xe143d2(0xaa)]=_0x118d0c,_0x40d985[_0xe143d2(0xa5)]=[Object[_0xe143d2(0x8d)]({},_0x584619,_0xebfaad)];}else{let _0xa765b3=0x0;const _0x5bf807=_0x595128[_0xe143d2(0x10a)](_0x14671b,_0x595128[_0xe143d2(0x8c)])?JSON[_0xe143d2(0x99)](_0x40d985['error']):_0x40d985['error'],_0x509452=Object[_0xe143d2(0x95)](_0x5bf807);_0x509452[_0xe143d2(0xe0)](_0xf04b6c=>{const _0x34ee18=_0xe143d2;if(_0x595128[_0x34ee18(0x9b)](typeof _0xf04b6c,_0x595128[_0x34ee18(0xdd)])){const _0x4dd7a3=Object['values'](_0xf04b6c);!_0x4dd7a3['every'](_0xc3fa1a=>_0xc3fa1a===null||_0xc3fa1a===undefined||_0xc3fa1a==='')&&(_0xa765b3+=0x1);}});if(_0x595128[_0xe143d2(0x9b)](_0xa765b3,0x0))delete _0x40d985[_0x595128[_0xe143d2(0xaf)]];else{const _0x5049dc=[];Object[_0xe143d2(0xbf)](_0x5bf807)[_0xe143d2(0xe0)](_0x466126=>{const _0x110fac=_0xe143d2,_0x28b15c={'LjshT':function(_0x308bc4,_0x2f4448){const _0x3c40d1=a172_0x59b2;return _0x595128[_0x3c40d1(0xb9)](_0x308bc4,_0x2f4448);}},[_0x347506,_0xf645a1,_0x7c36ab,_0x28f77a]=_0x466126[_0x110fac(0xbe)](',\x20');let _0x2de7c8={};if(!_0x28f77a){const _0x26bc82={};_0x26bc82[_0x110fac(0xed)]=_0x347506,_0x26bc82[_0x110fac(0x106)]=_0xf645a1,_0x26bc82['browser']=_0x7c36ab,_0x2de7c8=_0x26bc82;}else{const _0x12c4dd={};_0x12c4dd['os']=_0x347506,_0x12c4dd[_0x110fac(0x106)]=_0xf645a1,_0x12c4dd['browser']=_0x7c36ab,_0x12c4dd[_0x110fac(0xcc)]=_0x28f77a,_0x2de7c8=_0x12c4dd;}const _0x582830={},_0x511192=_0x5bf807[_0x466126];Object[_0x110fac(0xbf)](_0x511192)[_0x110fac(0xe0)](_0xc816db=>{const _0x31b0bc=_0x110fac;_0x28b15c['LjshT'](_0x511192[_0xc816db][_0x31b0bc(0xa0)],0x0)&&(_0x582830[_0xc816db]=_0x511192[_0xc816db]);}),_0x595128['kcLRw'](Object[_0x110fac(0xbf)](_0x582830)['length'],0x0)&&(_0x2de7c8[_0x595128['dMBwR']]=_0x582830,_0x5049dc[_0x110fac(0xe7)](_0x2de7c8));}),_0x595128['kcLRw'](_0x5049dc[_0xe143d2(0xa0)],0x0)?_0x40d985['error']=_0x5049dc:delete _0x40d985[_0x595128[_0xe143d2(0xaf)]];}}}}catch(_0x1e9379){delete _0x40d985[_0x595128['vZXqp']],logger[_0xe143d2(0x9c)](_0x595128[_0xe143d2(0xd6)](_0x595128[_0xe143d2(0xf9)],_0x1e9379));}const _0x2ae646=helper[_0xe143d2(0xda)](_0x185b96,_0x185b96[_0xe143d2(0xc3)]),_0x507927={'userName':helper[_0xe143d2(0x84)](_0x185b96),'accessKey':helper[_0xe143d2(0x9f)](_0x185b96),'event_type':_0x5164b2,'detectedFramework':_0x14671b,'buildHashedId':globals[_0xe143d2(0x96)](_0x595128['TGjwl']),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process[_0xe143d2(0xfe)][testHubConstants['ENV_VAR'][_0xe143d2(0x105)]]||'','sdkRunId':global[_0xe143d2(0x10d)],'product_map':_0x595128['UkzPu'](getProductMap,_0x185b96),'productMap':_0x595128[_0xe143d2(0xc8)](getProductMap,_0x185b96),'language_framework':_0x185b96['source']||_0x595128[_0xe143d2(0xe5)],'referrer':helper[_0xe143d2(0x9e)](_0x14671b),'framework':_0x185b96[_0xe143d2(0xc3)],'frameworkVersion':helper[_0xe143d2(0xc6)](_0x14671b),'automationFramework':_0x2ae646[_0xe143d2(0xd3)],'automationFrameworkVersion':_0x2ae646[_0xe143d2(0xe2)],'language':_0x595128[_0xe143d2(0xec)],'languageVersion':process['version'],'product':_0x332527,'buildName':_0x185b96['buildName']||_0x595128[_0xe143d2(0xd5)],'buildIdentifier':_0x5b2796,'os':os[_0xe143d2(0xff)]()||_0x595128[_0xe143d2(0xe5)],'hostname':os[_0xe143d2(0xe9)]()||_0x595128[_0xe143d2(0xe5)],..._0x40d985,'isCLIEnabled':_0x54fb5a}};try{_0x595128[_0xe143d2(0x9b)](_0x5164b2,_0x595128['BdJlZ'])&&(_0x507927['event_properties'][_0xe143d2(0xc0)]=helper['sanitizeBrowserStackConfig'](_0x185b96)),_0x595128['jJRdj'](_0x14671b,_0x595128['LXBHk'])?_0x507927[_0xe143d2(0xc9)][_0xe143d2(0xf0)]=helper[_0xe143d2(0xba)][_0xe143d2(0xd0)](null,_0x595128['gMSfh'](getTransformPath),!![]):_0x507927[_0xe143d2(0xc9)]['seleniumVersion']=helper[_0xe143d2(0x8a)](_0x595128[_0xe143d2(0xe1)]);}catch(_0x2e66a2){logger['debug']('Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20'+_0x2e66a2);}const _0x4f84ba={};_0x4f84ba['content-type']=_0x595128[_0xe143d2(0x10b)];const _0x3a5d14={'headers':_0x4f84ba,'body':_0x507927,'auth':{'user':helper[_0xe143d2(0x84)](_0x185b96),'pass':helper[_0xe143d2(0x9f)](_0x185b96)},'json':!![]};logger['debug'](_0xe143d2(0xd2)+JSON['stringify'](_0x3a5d14[_0xe143d2(0x97)])['replace'](new RegExp(helper[_0xe143d2(0x84)](_0x185b96),'g'),_0x595128[_0xe143d2(0x85)])[_0xe143d2(0x98)](new RegExp(helper[_0xe143d2(0x9f)](_0x185b96),'g'),_0x595128[_0xe143d2(0x85)]));try{const _0x1472bc=await helper[_0xe143d2(0xb2)](_0x595128[_0xe143d2(0xd8)],FUNNEL_INSTRUMENTATION_API_URL,_0x3a5d14,_0x185b96);logger['debug']('API\x20Event\x20'+_0x5164b2+_0xe143d2(0xf2)+util[_0xe143d2(0xb7)]('%j',_0x1472bc));}catch(_0x33bc8c){logger[_0xe143d2(0x9c)](_0xe143d2(0xf6)+FUNNEL_INSTRUMENTATION_API_URL+_0xe143d2(0x8e)+util[_0xe143d2(0xb7)](_0x33bc8c));}},exports[a172_0x5aee3f(0xc1)]=async(_0xcdb230,_0x50587b=![])=>{const _0x298b3e=a172_0x5aee3f,_0x30295c={'Pryrc':function(_0x564f02){return _0x564f02();},'Hlodm':_0x298b3e(0xad),'WpafS':_0x298b3e(0xbd),'DbbQZ':_0x298b3e(0x91),'uSKjo':_0x298b3e(0x88),'RvoGI':function(_0x3336ff,_0x16c9ba,_0x45e74b){return _0x3336ff(_0x16c9ba,_0x45e74b);},'rssRC':function(_0xb5337e,_0x3f7460){return _0xb5337e+_0x3f7460;},'SwGcv':_0x298b3e(0xc5)};try{await _0xcdb230['stopPercy'](),_0x30295c[_0x298b3e(0x94)](printNudgeLocalNotSetError);const _0x5bb484={};_0x5bb484['error']=_0xcdb230[_0x298b3e(0xe8)]?_0xcdb230[_0x298b3e(0xe8)]:'{}';const _0x197943=_0x5bb484,_0x4bacc8=Object[_0x298b3e(0x8d)]({},_0x197943),_0xdfbbae=globals[_0x298b3e(0x96)](_0x30295c[_0x298b3e(0xca)]);_0xdfbbae&&(_0x4bacc8[_0x298b3e(0xa1)]=_0xdfbbae);!!_0xcdb230[_0x298b3e(0xe4)]&&(_0x4bacc8[_0x30295c[_0x298b3e(0x83)]]={'reason':_0x30295c[_0x298b3e(0x102)],'signal':_0xcdb230['killSignal']});unhandledErrors=_0xcdb230[_0x298b3e(0xa6)][_0x298b3e(0xdb)]('\x0a');let _0x3f6b9e,_0x2821b4,_0x354594;helper['isTurboScaleSession'](_0xcdb230['config'])?([_0x3f6b9e,_0x2821b4]=await helper[_0x298b3e(0xf1)](_0xcdb230[_0x298b3e(0x90)]),[_0x354594]=await Promise['all']([helper['getTurboScaleSessionsList'](_0x3f6b9e,_0xcdb230[_0x298b3e(0x90)]),exports[_0x298b3e(0xb1)](_0x30295c['uSKjo'],_0x4bacc8,_0xcdb230[_0x298b3e(0x90)],_0xcdb230['framework'],_0x50587b)])):([_0x3f6b9e,_0x2821b4]=await helper[_0x298b3e(0x107)](_0xcdb230['config']),[_0x354594]=await Promise['all']([helper[_0x298b3e(0xc7)](_0x3f6b9e,_0xcdb230[_0x298b3e(0x90)]),exports[_0x298b3e(0xb1)](_0x30295c[_0x298b3e(0xeb)],_0x4bacc8,_0xcdb230['config'],_0xcdb230[_0x298b3e(0xc3)],_0x50587b)])),_0x354594&&await _0x30295c[_0x298b3e(0xf3)](generateCIArtifacts,_0x354594,_0x2821b4),logger[_0x298b3e(0x9d)](_0x298b3e(0xf5)+_0xcdb230[_0x298b3e(0x10d)]+_0x298b3e(0xdf)+process[_0x298b3e(0xfe)][_0x298b3e(0x105)]),await helper['sendLogs'](_0xcdb230[_0x298b3e(0x90)]);}catch(_0x26ffd8){logger[_0x298b3e(0x9c)](_0x30295c[_0x298b3e(0x80)](_0x30295c['SwGcv'],_0x26ffd8));}helper[_0x298b3e(0xbb)]();},exports['getStackTraceAsString']=_0x2f537d=>{const _0x48f784=a172_0x5aee3f,_0x19a538={'iGMjN':function(_0x26f32a,_0x2c0cca){return _0x26f32a instanceof _0x2c0cca;},'XfyqA':function(_0x172d82,_0x546b47){return _0x172d82(_0x546b47);}};try{if(_0x19a538[_0x48f784(0xb4)](_0x2f537d,Error))return _0x2f537d['stack']||_0x2f537d[_0x48f784(0xb3)]();return _0x19a538[_0x48f784(0xd1)](String,_0x2f537d);}catch(_0x758915){return _0x2f537d?_0x2f537d['toString']():'';}},exports[a172_0x5aee3f(0x81)]=_0x52f6a9=>{const _0x3706d0=a172_0x5aee3f,_0x148b19={};_0x148b19['ZSQdw']=function(_0x34a78,_0x294fe5){return _0x34a78===_0x294fe5;};const _0x1f3623=_0x148b19;return!_0x52f6a9||_0x1f3623[_0x3706d0(0xa4)](_0x52f6a9[_0x3706d0(0xfa)](),'');},exports[a172_0x5aee3f(0xbc)]=_0xf4bf13=>{const _0x377bae=a172_0x5aee3f,_0x5ed703={};_0x5ed703['mNtIv']=function(_0x5c9ef1,_0x26bbe7){return _0x5c9ef1|_0x26bbe7;};const _0x3b3346=_0x5ed703;try{return fs[_0x377bae(0xfc)](_0xf4bf13,_0x3b3346[_0x377bae(0xc4)](fs['constants'][_0x377bae(0xcf)],fs[_0x377bae(0xb6)][_0x377bae(0x93)])),!![];}catch(_0x3ac15c){return![];}},exports[a172_0x5aee3f(0xef)]=_0x59d643=>{const _0xc0f417=a172_0x5aee3f;try{fs[_0xc0f417(0xfb)](_0x59d643,0x1ff),logger['debug']('Directory\x20'+_0x59d643+'\x20has\x20now\x20read/write/execute\x20permissions.');}catch(_0x453164){logger[_0xc0f417(0xa5)](_0xc0f417(0xee)+exports[_0xc0f417(0xa9)](_0x453164));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a173_0x5c9bb8=a173_0x41d3;function a173_0x41d3(_0x429332,_0x5b2014){var _0x526fb3=a173_0x526f();return a173_0x41d3=function(_0x41d363,_0x130c4a){_0x41d363=_0x41d363-0xe3;var _0x592994=_0x526fb3[_0x41d363];return _0x592994;},a173_0x41d3(_0x429332,_0x5b2014);}(function(_0x2cc3ae,_0x14c64f){var _0x461d7a=a173_0x41d3,_0x12625a=_0x2cc3ae();while(!![]){try{var _0x5ba73f=parseInt(_0x461d7a(0x140))/0x1+-parseInt(_0x461d7a(0x16c))/0x2+-parseInt(_0x461d7a(0x114))/0x3*(-parseInt(_0x461d7a(0x161))/0x4)+-parseInt(_0x461d7a(0x13d))/0x5*(parseInt(_0x461d7a(0xff))/0x6)+parseInt(_0x461d7a(0x136))/0x7+-parseInt(_0x461d7a(0x155))/0x8+parseInt(_0x461d7a(0x135))/0x9;if(_0x5ba73f===_0x14c64f)break;else _0x12625a['push'](_0x12625a['shift']());}catch(_0x52f0b0){_0x12625a['push'](_0x12625a['shift']());}}}(a173_0x526f,0x4eedd),exports[a173_0x5c9bb8(0x12f)]=()=>{var _0x195cc2=a173_0x5c9bb8,_0x140b16={};_0x140b16[_0x195cc2(0x167)]=_0x195cc2(0x16f),_0x140b16[_0x195cc2(0x119)]=_0x195cc2(0x154),_0x140b16[_0x195cc2(0x134)]='osVersion',_0x140b16[_0x195cc2(0x152)]=_0x195cc2(0x16a),_0x140b16[_0x195cc2(0x11c)]='browserVersion',_0x140b16[_0x195cc2(0x164)]='useW3c',_0x140b16['QAmvs']=_0x195cc2(0x149),_0x140b16[_0x195cc2(0xf2)]=_0x195cc2(0x143),_0x140b16['cNrUe']=_0x195cc2(0x121),_0x140b16[_0x195cc2(0xed)]=_0x195cc2(0xe4),_0x140b16[_0x195cc2(0x137)]=_0x195cc2(0x127),_0x140b16['Tadtc']=_0x195cc2(0x107),_0x140b16[_0x195cc2(0x131)]=_0x195cc2(0x16b),_0x140b16[_0x195cc2(0xec)]=_0x195cc2(0x162),_0x140b16['uhJpP']=_0x195cc2(0x130),_0x140b16[_0x195cc2(0x133)]=_0x195cc2(0x168),_0x140b16[_0x195cc2(0xef)]=_0x195cc2(0x12c),_0x140b16[_0x195cc2(0x144)]='seleniumLogs',_0x140b16[_0x195cc2(0x100)]=_0x195cc2(0x15c),_0x140b16['EsGwy']=_0x195cc2(0x145),_0x140b16[_0x195cc2(0x12d)]=_0x195cc2(0x15a),_0x140b16[_0x195cc2(0x117)]=_0x195cc2(0xf8),_0x140b16[_0x195cc2(0x15e)]='seleniumVersion',_0x140b16[_0x195cc2(0x13f)]=_0x195cc2(0xfe),_0x140b16[_0x195cc2(0x158)]=_0x195cc2(0x10c),_0x140b16['RcKva']=_0x195cc2(0x156),_0x140b16[_0x195cc2(0x10d)]=_0x195cc2(0x104),_0x140b16[_0x195cc2(0xea)]=_0x195cc2(0x110),_0x140b16[_0x195cc2(0x11e)]=_0x195cc2(0xe8),_0x140b16[_0x195cc2(0x139)]=_0x195cc2(0x159),_0x140b16[_0x195cc2(0x111)]=_0x195cc2(0x118),_0x140b16[_0x195cc2(0x141)]=_0x195cc2(0x10f),_0x140b16[_0x195cc2(0xf3)]=_0x195cc2(0x112),_0x140b16[_0x195cc2(0x122)]=_0x195cc2(0x116),_0x140b16[_0x195cc2(0xe6)]=_0x195cc2(0xe5),_0x140b16[_0x195cc2(0x11d)]='customNetwork',_0x140b16[_0x195cc2(0x15d)]='networkProfile',_0x140b16[_0x195cc2(0x160)]=_0x195cc2(0xf9),_0x140b16[_0x195cc2(0x12e)]=_0x195cc2(0x115),_0x140b16[_0x195cc2(0x10a)]=_0x195cc2(0x12a),_0x140b16['fuqox']=_0x195cc2(0xf0),_0x140b16['jmqFL']='testhubBuildUuid',_0x140b16[_0x195cc2(0x138)]=_0x195cc2(0x157),_0x140b16[_0x195cc2(0x142)]='accessibilityOptions.scannerVersion',_0x140b16['YYNWt']='accessibilityOptions.scannerProcessingTimeout',_0x140b16[_0x195cc2(0xfd)]='accessibilityOptions.includeIssueType.bestPractice',_0x140b16[_0x195cc2(0x12b)]=_0x195cc2(0x153),_0x140b16[_0x195cc2(0x129)]='accessibilityOptions.authToken',_0x140b16[_0x195cc2(0xee)]='uploadMedia',_0x140b16[_0x195cc2(0x16d)]=_0x195cc2(0x170),_0x140b16['eUsJD']=_0x195cc2(0x15b),_0x140b16['FYxjI']=_0x195cc2(0x124),_0x140b16[_0x195cc2(0xe9)]='overridelocalInfo.userAuthToken',_0x140b16[_0x195cc2(0x165)]=_0x195cc2(0x14f),_0x140b16[_0x195cc2(0x151)]=_0x195cc2(0x15f),_0x140b16[_0x195cc2(0x10b)]=_0x195cc2(0x150);var _0x3f78a3=_0x140b16,_0x4102de={};return _0x4102de[_0x195cc2(0x10e)]=_0x3f78a3['ipOmy'],_0x4102de['browserstack.key']=_0x3f78a3['XVmtb'],_0x4102de['os']='os',_0x4102de[_0x195cc2(0x11a)]=_0x3f78a3[_0x195cc2(0x134)],_0x4102de[_0x195cc2(0x16a)]=_0x3f78a3['JpBXP'],_0x4102de[_0x195cc2(0x13e)]=_0x3f78a3['kJvWa'],_0x4102de[_0x195cc2(0xe7)]=_0x3f78a3['dHLZZ'],_0x4102de[_0x195cc2(0x123)]=_0x3f78a3['QAmvs'],_0x4102de['build']=_0x3f78a3[_0x195cc2(0xf2)],_0x4102de[_0x195cc2(0x102)]=_0x3f78a3[_0x195cc2(0x120)],_0x4102de[_0x195cc2(0x14e)]=_0x3f78a3[_0x195cc2(0xed)],_0x4102de[_0x195cc2(0x13c)]=_0x3f78a3[_0x195cc2(0x137)],_0x4102de[_0x195cc2(0x13a)]=_0x3f78a3['Tadtc'],_0x4102de[_0x195cc2(0xfc)]=_0x3f78a3[_0x195cc2(0x131)],_0x4102de[_0x195cc2(0xf4)]=_0x3f78a3[_0x195cc2(0xec)],_0x4102de[_0x195cc2(0xfa)]=_0x3f78a3[_0x195cc2(0x14b)],_0x4102de['browserstack.appiumLogs']=_0x3f78a3['MaoLx'],_0x4102de[_0x195cc2(0x126)]=_0x3f78a3[_0x195cc2(0xef)],_0x4102de[_0x195cc2(0x106)]=_0x3f78a3[_0x195cc2(0x144)],_0x4102de[_0x195cc2(0xf1)]=_0x3f78a3[_0x195cc2(0x100)],_0x4102de[_0x195cc2(0x128)]=_0x3f78a3[_0x195cc2(0x166)],_0x4102de[_0x195cc2(0x16e)]=_0x3f78a3[_0x195cc2(0x12d)],_0x4102de[_0x195cc2(0xf8)]=_0x3f78a3[_0x195cc2(0x117)],_0x4102de['browserstack.selenium_version']=_0x3f78a3[_0x195cc2(0x15e)],_0x4102de[_0x195cc2(0x146)]=_0x3f78a3['MsYMl'],_0x4102de[_0x195cc2(0xfb)]=_0x3f78a3[_0x195cc2(0x158)],_0x4102de[_0x195cc2(0x109)]=_0x3f78a3['RcKva'],_0x4102de[_0x195cc2(0x132)]=_0x3f78a3[_0x195cc2(0x10d)],_0x4102de[_0x195cc2(0x103)]=_0x3f78a3[_0x195cc2(0xea)],_0x4102de[_0x195cc2(0xf6)]=_0x3f78a3[_0x195cc2(0x11e)],_0x4102de[_0x195cc2(0x101)]=_0x3f78a3[_0x195cc2(0x139)],_0x4102de[_0x195cc2(0x14a)]=_0x3f78a3[_0x195cc2(0x111)],_0x4102de[_0x195cc2(0x14c)]=_0x3f78a3[_0x195cc2(0x141)],_0x4102de[_0x195cc2(0x112)]=_0x3f78a3[_0x195cc2(0xf3)],_0x4102de[_0x195cc2(0x11b)]=_0x3f78a3['WAfXv'],_0x4102de[_0x195cc2(0xe5)]=_0x3f78a3[_0x195cc2(0xe6)],_0x4102de[_0x195cc2(0x113)]=_0x3f78a3['QqKsI'],_0x4102de[_0x195cc2(0x148)]=_0x3f78a3['CDZGg'],_0x4102de[_0x195cc2(0xe3)]=_0x3f78a3[_0x195cc2(0x160)],_0x4102de[_0x195cc2(0x108)]=_0x3f78a3['xbxFj'],_0x4102de['browserstack.accessibility']=_0x3f78a3[_0x195cc2(0x10a)],_0x4102de['browserstack.buildProductMap']=_0x3f78a3['fuqox'],_0x4102de['browserstack.testhubBuildUuid']=_0x3f78a3[_0x195cc2(0x13b)],_0x4102de[_0x195cc2(0x169)]=_0x3f78a3[_0x195cc2(0x138)],_0x4102de['browserstack.accessibilityOptions.scannerVersion']=_0x3f78a3[_0x195cc2(0x142)],_0x4102de[_0x195cc2(0x125)]=_0x3f78a3['YYNWt'],_0x4102de[_0x195cc2(0x11f)]=_0x3f78a3['SHNNZ'],_0x4102de[_0x195cc2(0x163)]=_0x3f78a3['cMZGb'],_0x4102de['browserstack.accessibilityOptions.authToken']=_0x3f78a3[_0x195cc2(0x129)],_0x4102de[_0x195cc2(0x147)]=_0x3f78a3[_0x195cc2(0xee)],_0x4102de[_0x195cc2(0x105)]=_0x3f78a3['dkxNf'],_0x4102de[_0x195cc2(0xf5)]=_0x3f78a3[_0x195cc2(0x14d)],_0x4102de['browserstack.playwrightVersion']=_0x3f78a3['FYxjI'],_0x4102de['browserstack.overridelocalInfo.userAuthToken']=_0x3f78a3[_0x195cc2(0xe9)],_0x4102de[_0x195cc2(0xeb)]=_0x3f78a3[_0x195cc2(0x165)],_0x4102de['browserstack.headerParams']=_0x3f78a3[_0x195cc2(0x151)],_0x4102de[_0x195cc2(0xf7)]=_0x3f78a3['uGBQr'],_0x4102de;});function a173_0x526f(){var _0x423417=['browserstack.local','overridelocalInfo.localIdentifier','performance','MhQrz','JpBXP','accessibilityOptions.includeIssueType.needsReview','accessKey','3413704YUSZzm','maskBasicAuth','accessibilityOptions.wcagVersion','cQZwb','wsLocalSupport','timezone','simOptions','telemetryLogs','CDZGg','aqchZ','headerParams','CJGnG','1121288MwaqhH','networkLogs','browserstack.accessibilityOptions.includeIssueType.needsReview','dHLZZ','oUvrt','EsGwy','ipOmy','appiumLogs','browserstack.accessibilityOptions.wcagVersion','browser','consoleLogs','521412hUwLdS','dkxNf','browserstack.timezone','userName','enableSim','browserstack.buildIdentifier','local','deviceOrientation','gIMpU','browserstack.use_w3c','bfcache','UbgvH','mlDYK','browserstack.overridelocalInfo.localIdentifier','AgkGS','nNnpk','ckBjV','bOQXO','buildProductMap','browserstack.telemetryLogs','WDXKT','WsWPq','browserstack.networkLogs','browserstack.simOptions','browserstack.bfcache','browserstack.performance','resolution','buildIdentifier','browserstack.networkLogsOptions','browserstack.idleTimeout','browserstack.console','SHNNZ','maskCommands','426IULvHX','oPdMh','browserstack.wsLocalSupport','name','browserstack.hosts','autoWait','browserstack.enableSim','browserstack.seleniumLogs','debug','browserstack.browserstackSDK','browserstack.maskBasicAuth','FiXVP','uGBQr','idleTimeout','huBSU','browserstack.user','deviceName','hosts','baXyf','realMobile','browserstack.customNetwork','3ucafXM','browserstackSDK','appiumVersion','IPsLl','disableCorsRestrictions','XVmtb','os_version','browserstack.appium_version','kJvWa','QqKsI','IXFQz','browserstack.accessibilityOptions.includeIssueType.bestPractice','cNrUe','sessionName','WAfXv','project','playwrightVersion','browserstack.accessibilityOptions.scannerProcessingTimeout','browserstack.video','localIdentifier','browserstack.geoLocation','aTqnF','accessibility','cMZGb','video','DggVu','xbxFj','W3CMapping','networkLogsOptions','EiCmu','browserstack.autoWait','MaoLx','Xrmfd','2852082rJLJiv','824677aCxyii','rjPSd','dUEDD','EuLSO','browserstack.debug','jmqFL','browserstack.localIdentifier','17715mQfZZo','browser_version','MsYMl','547234gOjjab','iLJdL','RLikx','buildName','CHtQy','geoLocation','browserstack.maskCommands','browserstack.uploadMedia','browserstack.networkProfile','projectName','browserstack.disableCorsRestrictions','uhJpP','device','eUsJD'];a173_0x526f=function(){return _0x423417;};return a173_0x526f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a159_0x54e4a7=a159_0x5a51;(function(_0x576b32,_0x280060){const _0x3a0ae8=a159_0x5a51,_0x23dff4=_0x576b32();while(!![]){try{const _0x3f7018=parseInt(_0x3a0ae8(0xc6))/0x1+-parseInt(_0x3a0ae8(0xe5))/0x2+parseInt(_0x3a0ae8(0xc9))/0x3*(parseInt(_0x3a0ae8(0xd2))/0x4)+parseInt(_0x3a0ae8(0xce))/0x5*(parseInt(_0x3a0ae8(0x91))/0x6)+-parseInt(_0x3a0ae8(0xae))/0x7+-parseInt(_0x3a0ae8(0x95))/0x8+-parseInt(_0x3a0ae8(0x8f))/0x9*(parseInt(_0x3a0ae8(0xef))/0xa);if(_0x3f7018===_0x280060)break;else _0x23dff4['push'](_0x23dff4['shift']());}catch(_0x211383){_0x23dff4['push'](_0x23dff4['shift']());}}}(a159_0x145b,0xaece8));function a159_0x145b(){const _0x4e2b28=['gaISX','length','/wd/hub','hash','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','map','VTiSO','80riIAZk','JMimD','YRXwT','debug','hubRegion','allocateHub','Supfw','aaLUT','\x20HUB\x20-\x20','FVnCp','PNMmt','SmhvR','newHubUrl','258948ufZDer','WSotB','324vtDEMm','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','GoAsu','./bin/utils/constants','3866600oADmmx','next_hubs','nodeRequest','hubUrl','Invalid\x20new\x20HUB\x20URL:\x20','allSettled','zxzvt','fRfOy','all','NEAREST\x20HUBS\x20LIST:\x20','uaeiZ','bOuoc','wNbQB','DprAW','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','eRxyA','RNuhQ','./helpers/globals','hubLatencies','then','pNiZs','HUB_URL_MAP','TDrvD','lOftC','data','1105398gXvTcM','parse','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','NjKKC','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','hubRegion\x20','check','race','GET','Execution\x20time\x20for\x20','setGlobal','\x20is:\x20','value','catch','LjDNf','wqQtb','format','getGlobal','IOdKJ','fulfilled','UKwFt','DpOBz','EgDrL','./helpers/helper','980197iLkfbS','replace','iTYPH','57zsKmyY','rbWHY','kRFhm','pyLRM','path','49430GMEwXW','BZsHC','nextHubs','status','247224BUIjLX','pathname','NKiwq','url','FOOeJ','GCqtA','HZdkQ','hubs','skipped','xoTrj','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','now','resolve','winstonLogger','ERROR\x20in\x20hub\x20selection:\x20','latency','https://','./helpers/logger','EbwdV','2201864DUQVdr','fnjPR','QPfyE'];a159_0x145b=function(){return _0x4e2b28;};return a159_0x145b();}const url=require(a159_0x54e4a7(0xd5)),util=require('util'),helper=require(a159_0x54e4a7(0xc5)),logger=require(a159_0x54e4a7(0xe3))[a159_0x54e4a7(0xdf)],constants=require(a159_0x54e4a7(0x94)),globals=require(a159_0x54e4a7(0xa6));function a159_0x5a51(_0xcfd903,_0x113d82){const _0x145b70=a159_0x145b();return a159_0x5a51=function(_0x5a51e9,_0x5b25b6){_0x5a51e9=_0x5a51e9-0x8f;let _0x723961=_0x145b70[_0x5a51e9];return _0x723961;},a159_0x5a51(_0xcfd903,_0x113d82);}global[a159_0x54e4a7(0xfb)]='',exports['getRequestOptions']=_0x2ab309=>{const _0x3c03cf=a159_0x54e4a7,_0x263336={};_0x263336['aCQXZ']=function(_0x30cedc,_0x3230df){return _0x30cedc+_0x3230df;},_0x263336[_0x3c03cf(0xcc)]=_0x3c03cf(0x99);const _0x523ce4=_0x263336,_0x5df8b9=url[_0x3c03cf(0xaf)](_0x2ab309);if(!_0x5df8b9['hostname'])throw new Error(_0x523ce4['aCQXZ'](_0x523ce4['pyLRM'],_0x2ab309));return _0x5df8b9['search']=null,_0x5df8b9[_0x3c03cf(0xeb)]=null,_0x5df8b9[_0x3c03cf(0xcd)]=_0x5df8b9[_0x3c03cf(0xd3)],_0x5df8b9;},exports['updateHubUrl']=_0x20aa8e=>{const _0x10edff=a159_0x54e4a7;global[_0x10edff(0xfb)]=_0x20aa8e;},exports[a159_0x54e4a7(0xf4)]=_0x2b3204=>{const _0x191c69=a159_0x54e4a7,_0x24c8cc={'MWRmV':function(_0x1aa869,_0x53861f){return _0x1aa869+_0x53861f;},'FOOeJ':_0x191c69(0xe2),'NKiwq':function(_0x4fb1cf,_0xcfc2be){return _0x4fb1cf!==_0xcfc2be;},'wNbQB':'_hubAllocationData','wqQtb':function(_0x2b8196,_0xfc702c){return _0x2b8196===_0xfc702c;},'EbwdV':_0x191c69(0xc1),'GCqtA':_0x191c69(0xdc),'pNiZs':function(_0x5679b7,_0x1ee842){return _0x5679b7+_0x1ee842;},'VTiSO':_0x191c69(0xea),'JMimD':function(_0x67ed41){return _0x67ed41();},'fnjPR':function(_0x1edc8){return _0x1edc8();},'XgvRF':function(_0x1f5211,_0x155809){return _0x1f5211==_0x155809;},'qxeRs':function(_0x18048c){return _0x18048c();},'gaISX':function(_0xd352b8){return _0xd352b8();},'IOdKJ':function(_0x3d901c){return _0x3d901c();}};return new Promise(_0x123f01=>{const _0x3c439a=_0x191c69,_0x48ab22={'PNMmt':function(_0x3d8846,_0x48b05c){return _0x24c8cc['MWRmV'](_0x3d8846,_0x48b05c);},'FqlbH':_0x24c8cc[_0x3c439a(0xd6)],'rbWHY':function(_0x1c98d9,_0x3a7e8d){const _0x3a0037=_0x3c439a;return _0x24c8cc[_0x3a0037(0xd4)](_0x1c98d9,_0x3a7e8d);},'DpOBz':_0x24c8cc[_0x3c439a(0xa1)],'GoAsu':function(_0xe6a07a,_0x45f495){const _0x20a6b9=_0x3c439a;return _0x24c8cc[_0x20a6b9(0xbd)](_0xe6a07a,_0x45f495);},'DprAW':_0x24c8cc[_0x3c439a(0xe4)],'QPfyE':_0x24c8cc[_0x3c439a(0xd7)],'YQvHG':function(_0x1a50d9,_0x48f5c6){const _0x7e1360=_0x3c439a;return _0x24c8cc[_0x7e1360(0xa9)](_0x1a50d9,_0x48f5c6);},'eRxyA':_0x24c8cc[_0x3c439a(0xee)],'RNuhQ':function(_0x22dc68){const _0x29cc7a=_0x3c439a;return _0x24c8cc[_0x29cc7a(0xf0)](_0x22dc68);},'FVnCp':function(_0x3da8ce){const _0x52a1b0=_0x3c439a;return _0x24c8cc[_0x52a1b0(0xe6)](_0x3da8ce);},'erxYk':function(_0x2badb6,_0x37bdd1){return _0x24c8cc['XgvRF'](_0x2badb6,_0x37bdd1);},'EgDrL':function(_0x2ddd7a){return _0x24c8cc['qxeRs'](_0x2ddd7a);},'iTYPH':function(_0xd08582){const _0x2a882f=_0x3c439a;return _0x24c8cc[_0x2a882f(0xe8)](_0xd08582);}};if(_0x2b3204&&_0x2b3204[_0x3c439a(0xf3)]){const _0x38b3fe=constants[_0x3c439a(0xaa)][_0x2b3204['hubRegion']];if(_0x38b3fe)return constants[_0x3c439a(0x98)]=_0x38b3fe,logger[_0x3c439a(0xf2)](_0x3c439a(0x92)+_0x38b3fe),globals[_0x3c439a(0xb8)](_0x24c8cc['wNbQB'],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x38b3fe[_0x3c439a(0xc7)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x3c439a(0xdd)]()}),_0x24c8cc[_0x3c439a(0xc0)](_0x123f01);logger[_0x3c439a(0xf2)](_0x3c439a(0xb3)+_0x2b3204[_0x3c439a(0xf3)]+'\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection');}Promise[_0x3c439a(0xde)](this[_0x3c439a(0xd0)](_0x2b3204))[_0x3c439a(0xa8)](_0x4757f8=>{const _0x343bdd=_0x3c439a,_0x5cafad={'xoTrj':function(_0x42706c,_0x2210fa){const _0x5f0e38=a159_0x5a51;return _0x48ab22[_0x5f0e38(0xca)](_0x42706c,_0x2210fa);},'lOftC':_0x48ab22[_0x343bdd(0xc3)],'WSotB':function(_0x2ffe39,_0xd1b6b8){return _0x48ab22['GoAsu'](_0x2ffe39,_0xd1b6b8);},'fRfOy':_0x48ab22[_0x343bdd(0xa2)],'SBtnm':_0x48ab22[_0x343bdd(0xe7)],'HZdkQ':function(_0xc654e1,_0x31cc50){return _0x48ab22['YQvHG'](_0xc654e1,_0x31cc50);},'Supfw':_0x48ab22['FqlbH'],'BZsHC':_0x48ab22[_0x343bdd(0xa4)],'NjKKC':function(_0x2c32f){const _0x18ba85=_0x343bdd;return _0x48ab22[_0x18ba85(0xa5)](_0x2c32f);},'bOuoc':function(_0x5c1b4b){const _0x55baaf=_0x343bdd;return _0x48ab22[_0x55baaf(0xf8)](_0x5c1b4b);}};logger['debug'](_0x343bdd(0x9e)+util[_0x343bdd(0xbe)]('%j',_0x4757f8));if(_0x48ab22['erxYk'](_0x4757f8,null)||_0x48ab22[_0x343bdd(0x93)](_0x4757f8[_0x343bdd(0xe9)],0x0))return _0x48ab22[_0x343bdd(0xc4)](_0x123f01);const _0x428ac4=_0x4757f8[_0x343bdd(0xed)](_0x462d4b=>{const _0x5998e8=_0x343bdd,_0x52f9b4=_0x48ab22[_0x5998e8(0xf9)](_0x48ab22['FqlbH'],_0x462d4b);return this['findLatency'](_0x2b3204,_0x52f9b4)[_0x5998e8(0xa8)](_0xe2905b=>{const _0x552071=_0x5998e8;if(_0xe2905b&&_0xe2905b[_0x552071(0x98)]&&_0x5cafad[_0x552071(0xdb)](_0xe2905b[_0x552071(0xe1)],undefined)){const _0x3604b6={};return _0x3604b6[_0x552071(0x98)]=_0xe2905b['hubUrl'],_0x3604b6[_0x552071(0xe1)]=_0xe2905b[_0x552071(0xe1)],_0x3604b6['ok']=!![],_0x3604b6;}const _0x2bd40d={};return _0x2bd40d[_0x552071(0x98)]=_0x52f9b4,_0x2bd40d[_0x552071(0xe1)]=null,_0x2bd40d['ok']=![],_0x2bd40d;})[_0x5998e8(0xbb)](()=>({'hubUrl':_0x52f9b4,'latency':null,'ok':![]}));});Promise[_0x343bdd(0xb5)](_0x428ac4[_0x343bdd(0xed)](_0x11fd31=>_0x11fd31[_0x343bdd(0xa8)](_0x5244a0=>_0x5244a0['ok']?_0x5244a0:null)))[_0x343bdd(0xa8)](_0x97e698=>{const _0x59503b=_0x343bdd;if(_0x97e698)return _0x97e698;return Promise[_0x59503b(0x9d)](_0x428ac4)[_0x59503b(0xa8)](()=>null);})[_0x343bdd(0xa8)](_0x415e9c=>{const _0x26e4aa=_0x343bdd,_0x15af82={'UKwFt':_0x5cafad[_0x26e4aa(0xac)],'TDrvD':function(_0x5b631d,_0x56b749){const _0x514fed=_0x26e4aa;return _0x5cafad[_0x514fed(0x90)](_0x5b631d,_0x56b749);},'tVTAj':_0x5cafad[_0x26e4aa(0x9c)]};if(!_0x415e9c){logger['debug'](_0x5cafad['SBtnm']);const _0x442858=_0x5cafad[_0x26e4aa(0xd8)](_0x5cafad[_0x26e4aa(0xf5)],_0x4757f8[0x0]);return globals[_0x26e4aa(0xb8)](_0x5cafad[_0x26e4aa(0xac)],{'nearestHubs':_0x4757f8[_0x26e4aa(0xed)](_0xc70b9e=>_0x26e4aa(0xe2)+_0xc70b9e),'hubLatencies':{},'selectedHub':_0x442858,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x26e4aa(0xdd)]()}),constants['hubUrl']=_0x5cafad[_0x26e4aa(0xd8)](_0x442858,_0x5cafad[_0x26e4aa(0xcf)]),logger[_0x26e4aa(0xf2)](_0x26e4aa(0xa3)+_0x442858),_0x5cafad[_0x26e4aa(0xb1)](_0x123f01);}const _0x2f3bf0={[_0x415e9c[_0x26e4aa(0x98)]]:_0x415e9c[_0x26e4aa(0xe1)]},_0x516d1c={'nearestHubs':_0x4757f8[_0x26e4aa(0xed)](_0x5d98d0=>_0x26e4aa(0xe2)+_0x5d98d0),'hubLatencies':_0x2f3bf0,'selectedHub':_0x415e9c[_0x26e4aa(0x98)],'selectedHubLatency':_0x415e9c[_0x26e4aa(0xe1)],'timestamp':Date[_0x26e4aa(0xdd)]()};globals[_0x26e4aa(0xb8)](_0x5cafad[_0x26e4aa(0xac)],_0x516d1c),constants[_0x26e4aa(0x98)]=_0x5cafad[_0x26e4aa(0xd8)](_0x415e9c[_0x26e4aa(0x98)],_0x5cafad[_0x26e4aa(0xcf)]),logger[_0x26e4aa(0xf2)]('HUB\x20URL\x20SET\x20TO\x20-\x20'+_0x415e9c[_0x26e4aa(0x98)]),_0x5cafad['bOuoc'](_0x123f01),Promise[_0x26e4aa(0x9a)](_0x428ac4)[_0x26e4aa(0xa8)](_0x160986=>{const _0x1c3f81=_0x26e4aa;try{const _0x179606=globals[_0x1c3f81(0xbf)](_0x15af82[_0x1c3f81(0xc2)]);if(!_0x179606||_0x179606[_0x1c3f81(0xda)])return;const _0x575d2d={};for(const _0x20c917 of _0x160986){_0x15af82[_0x1c3f81(0xab)](_0x20c917[_0x1c3f81(0xd1)],_0x15af82['tVTAj'])&&_0x20c917[_0x1c3f81(0xba)]&&_0x20c917['value']['ok']&&(_0x575d2d[_0x20c917[_0x1c3f81(0xba)][_0x1c3f81(0x98)]]=_0x20c917['value']['latency']);}_0x179606[_0x1c3f81(0xa7)]=_0x575d2d;}catch(_0x34e8d4){logger[_0x1c3f81(0xf2)](_0x1c3f81(0xb0)+_0x34e8d4);}})[_0x26e4aa(0xbb)](_0x57450a=>{const _0x564fce=_0x26e4aa;logger['debug'](_0x564fce(0xec)+_0x57450a);});})['catch'](_0x3a7563=>{const _0x3205ab=_0x343bdd;logger[_0x3205ab(0xf2)](_0x3205ab(0xe0)+_0x3a7563),_0x5cafad[_0x3205ab(0xa0)](_0x123f01);});})[_0x3c439a(0xbb)](_0x240ee6=>{const _0x40acd3=_0x3c439a;logger[_0x40acd3(0xf2)](_0x40acd3(0xb2)+_0x240ee6),_0x48ab22[_0x40acd3(0xc8)](_0x123f01);});});},exports['findLatency']=async(_0x4dad5b,_0x3b00ed)=>{const _0x5174e4=a159_0x54e4a7,_0x2c9788={};_0x2c9788[_0x5174e4(0x9f)]=_0x5174e4(0xb6),_0x2c9788[_0x5174e4(0xbc)]=_0x5174e4(0xb4),_0x2c9788[_0x5174e4(0xfa)]=function(_0x238119,_0x433cbe){return _0x238119-_0x433cbe;};const _0x1df9ad=_0x2c9788;try{const _0x53d99e=new Date();await helper['nodeRequest'](_0x1df9ad[_0x5174e4(0x9f)],_0x1df9ad['LjDNf'],{},_0x4dad5b,_0x3b00ed,0x1388);const _0x18cd2a=_0x1df9ad[_0x5174e4(0xfa)](new Date(),_0x53d99e);logger[_0x5174e4(0xf2)](_0x5174e4(0xb7)+_0x3b00ed+_0x5174e4(0xb9)+_0x18cd2a+'ms');const _0x114eac={};return _0x114eac['hubUrl']=_0x3b00ed,_0x114eac[_0x5174e4(0xe1)]=_0x18cd2a,_0x114eac;}catch(_0x10ac54){return logger[_0x5174e4(0xf2)]('ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20'+_0x3b00ed+_0x5174e4(0xf7)+_0x10ac54),{};}},exports[a159_0x54e4a7(0xd0)]=async _0x5eb2bc=>{const _0x263f26=a159_0x54e4a7,_0x40958e={'kRFhm':function(_0x60c540,_0x4f7af6){return _0x60c540(_0x4f7af6);},'aaLUT':_0x263f26(0x94),'zxzvt':_0x263f26(0xea),'xyFeE':_0x263f26(0xb6),'YRXwT':_0x263f26(0x96)};try{const _0x380863=_0x40958e[_0x263f26(0xcb)](require,_0x40958e[_0x263f26(0xf6)])[_0x263f26(0x98)][_0x263f26(0xc7)](_0x40958e[_0x263f26(0x9b)],''),_0x17bfda=await helper[_0x263f26(0x97)](_0x40958e['xyFeE'],_0x40958e[_0x263f26(0xf1)],{},_0x5eb2bc,_0x380863,0x1388),_0x13ee68=_0x17bfda[_0x263f26(0xad)];return logger[_0x263f26(0xf2)]('Response:\x20'+util[_0x263f26(0xbe)]('%j',_0x13ee68)),_0x13ee68[_0x263f26(0xd9)];}catch(_0x1422a4){logger[_0x263f26(0xf2)]('ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20'+_0x1422a4);}return null;};
|
|
1
|
+
const a174_0x2e4421=a174_0x37fa;function a174_0x4883(){const _0x4e7428=['FxFpC','resolve','wStBN','nodeRequest','has','all','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','hHZIc','VqALq','UERCW','qZadW','hostname','kfSMX','findLatency','pathname','nextHubs','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','setGlobal','catch','QjPcK','race','status','fulfilled','TLEfX','allocateHub','hubUrl','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','EOAUy','next_hubs','wbQQU','allSettled','RFxpl','mloEu','HUB_URL_MAP','eujSC','format','https://','uAtAq','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','NEAREST\x20HUBS\x20LIST:\x20','url','tSsYi','./helpers/helper','3952roaZdC','parse','1870856jHHcqu','util','YZhMC','debug','8953010MBVwRY','latency','TdRpM','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','edLlE','hubs','value','206241ecpdXw','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','getGlobal','winstonLogger','SotWE','ZrRbu','HUB\x20URL\x20SET\x20TO\x20-\x20','4bViCej','Ebrza','NiwGp','5DWxTLO','1082814scZDxd','length','Execution\x20time\x20for\x20','9709YKHCGi','/wd/hub','EnJtd','hash','sYsxw','448407rDoegQ','XaRXi','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','./bin/utils/constants','hubRegion','delete','bgSKn','path','check','search','now','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','nVwek','445584quDOWV','kogMk','then','data','newHubUrlBySession','GET','map','updateHubUrl','getRequestOptions','oSwXG'];a174_0x4883=function(){return _0x4e7428;};return a174_0x4883();}function a174_0x37fa(_0x1d9c6a,_0x52312b){const _0x4883e4=a174_0x4883();return a174_0x37fa=function(_0x37fa19,_0x1fe207){_0x37fa19=_0x37fa19-0x11f;let _0x960975=_0x4883e4[_0x37fa19];return _0x960975;},a174_0x37fa(_0x1d9c6a,_0x52312b);}(function(_0x4f796d,_0x1d7dbb){const _0x144546=a174_0x37fa,_0x295ea2=_0x4f796d();while(!![]){try{const _0x4bf58b=-parseInt(_0x144546(0x17b))/0x1+parseInt(_0x144546(0x120))/0x2*(parseInt(_0x144546(0x139))/0x3)+parseInt(_0x144546(0x170))/0x4+-parseInt(_0x144546(0x123))/0x5*(parseInt(_0x144546(0x124))/0x6)+-parseInt(_0x144546(0x127))/0x7*(parseInt(_0x144546(0x16e))/0x8)+parseInt(_0x144546(0x12c))/0x9+parseInt(_0x144546(0x174))/0xa;if(_0x4bf58b===_0x1d7dbb)break;else _0x295ea2['push'](_0x295ea2['shift']());}catch(_0x598eab){_0x295ea2['push'](_0x295ea2['shift']());}}}(a174_0x4883,0x9bc36));const url=require(a174_0x2e4421(0x16b)),util=require(a174_0x2e4421(0x171)),helper=require(a174_0x2e4421(0x16d)),logger=require('./helpers/logger')[a174_0x2e4421(0x17e)],constants=require(a174_0x2e4421(0x12f)),globals=require('./helpers/globals');global[a174_0x2e4421(0x13d)]=global[a174_0x2e4421(0x13d)]||new Map(),exports[a174_0x2e4421(0x141)]=_0x1b9e69=>{const _0x496496=a174_0x2e4421,_0x43bc0e={};_0x43bc0e['YZhMC']=function(_0x1022a1,_0x4c0cd8){return _0x1022a1+_0x4c0cd8;},_0x43bc0e['TdRpM']='Invalid\x20new\x20HUB\x20URL:\x20';const _0x3e1caf=_0x43bc0e,_0x25a0fb=url[_0x496496(0x16f)](_0x1b9e69);if(!_0x25a0fb[_0x496496(0x14e)])throw new Error(_0x3e1caf[_0x496496(0x172)](_0x3e1caf[_0x496496(0x176)],_0x1b9e69));return _0x25a0fb[_0x496496(0x135)]=null,_0x25a0fb[_0x496496(0x12a)]=null,_0x25a0fb[_0x496496(0x133)]=_0x25a0fb[_0x496496(0x151)],_0x25a0fb;},exports[a174_0x2e4421(0x140)]=(_0x655ce7,_0x3e9212)=>{const _0x1418ee=a174_0x2e4421,_0x3bac31={};_0x3bac31['ZrRbu']=_0x1418ee(0x15d);const _0x3329a3=_0x3bac31;if(!_0x3e9212){logger['debug'](_0x3329a3[_0x1418ee(0x180)]);return;}global[_0x1418ee(0x13d)]['set'](_0x3e9212,_0x655ce7);},exports['consumeHubUrlForSession']=_0x49aa27=>{const _0x3744fd=a174_0x2e4421;if(_0x49aa27&&global['newHubUrlBySession'][_0x3744fd(0x147)](_0x49aa27)){const _0x87b6f5=global['newHubUrlBySession']['get'](_0x49aa27);return global[_0x3744fd(0x13d)][_0x3744fd(0x131)](_0x49aa27),_0x87b6f5;}return'';},exports[a174_0x2e4421(0x15b)]=_0x3cce2c=>{const _0x347d41=a174_0x2e4421,_0x3b9c7a={'kfSMX':'_hubAllocationData','Ebrza':function(_0x5f245a,_0x3895ce){return _0x5f245a===_0x3895ce;},'NkgYs':_0x347d41(0x159),'RFxpl':function(_0x2b2f18,_0x193ac){return _0x2b2f18==_0x193ac;},'edLlE':function(_0x17f431,_0x28bc65){return _0x17f431===_0x28bc65;},'wbQQU':function(_0x266b8f){return _0x266b8f();},'xJYGt':function(_0x25c18f,_0x4ee1f0){return _0x25c18f!==_0x4ee1f0;},'EnJtd':function(_0x1a025a,_0x41ff10){return _0x1a025a+_0x41ff10;},'EOAUy':'https://','zNoBs':'All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','QjPcK':_0x347d41(0x128),'PzEhG':function(_0x33d347){return _0x33d347();},'xsEXd':function(_0x491b2a){return _0x491b2a();},'ssHHS':function(_0x59ae46){return _0x59ae46();}};return new Promise(_0x569bd8=>{const _0x437219=_0x347d41,_0x4f15c2={'mloEu':function(_0x588182,_0x86494e){return _0x3b9c7a['xJYGt'](_0x588182,_0x86494e);},'sYsxw':function(_0x28f358,_0x560892){const _0x2687b9=a174_0x37fa;return _0x3b9c7a[_0x2687b9(0x129)](_0x28f358,_0x560892);},'XhWBC':_0x3b9c7a[_0x437219(0x15e)],'uAtAq':_0x3b9c7a['zNoBs'],'TLEfX':_0x3b9c7a[_0x437219(0x14f)],'kogMk':function(_0x242a68,_0x5b4f17){return _0x3b9c7a['EnJtd'](_0x242a68,_0x5b4f17);},'SotWE':_0x3b9c7a[_0x437219(0x156)],'mnrxG':function(_0x1fce51){const _0x554fa3=_0x437219;return _0x3b9c7a[_0x554fa3(0x160)](_0x1fce51);},'hHZIc':function(_0x4e53db){return _0x3b9c7a['PzEhG'](_0x4e53db);},'UERCW':function(_0x66ef48){return _0x3b9c7a['xsEXd'](_0x66ef48);},'FxFpC':function(_0x1f4665){return _0x3b9c7a['xsEXd'](_0x1f4665);}};if(_0x3cce2c&&_0x3cce2c[_0x437219(0x130)]){const _0x2d1bc4=constants[_0x437219(0x164)][_0x3cce2c[_0x437219(0x130)]];if(_0x2d1bc4)return constants[_0x437219(0x15c)]=_0x2d1bc4,logger[_0x437219(0x173)](_0x437219(0x149)+_0x2d1bc4),globals['setGlobal'](_0x3b9c7a[_0x437219(0x14f)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x2d1bc4['replace'](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x437219(0x136)]()}),_0x3b9c7a['ssHHS'](_0x569bd8);logger[_0x437219(0x173)]('hubRegion\x20'+_0x3cce2c['hubRegion']+_0x437219(0x177));}Promise[_0x437219(0x144)](this[_0x437219(0x152)](_0x3cce2c))['then'](_0x2fa744=>{const _0x5d81da=_0x437219,_0xe148c8={'zvnqO':_0x3b9c7a[_0x5d81da(0x14f)],'NiwGp':function(_0x215a60,_0x37be3b){const _0x74e980=_0x5d81da;return _0x3b9c7a[_0x74e980(0x121)](_0x215a60,_0x37be3b);},'VqALq':_0x3b9c7a['NkgYs']};logger[_0x5d81da(0x173)](_0x5d81da(0x16a)+util[_0x5d81da(0x166)]('%j',_0x2fa744));if(_0x3b9c7a[_0x5d81da(0x162)](_0x2fa744,null)||_0x3b9c7a[_0x5d81da(0x178)](_0x2fa744[_0x5d81da(0x125)],0x0))return _0x3b9c7a['wbQQU'](_0x569bd8);const _0x8537e2=_0x2fa744[_0x5d81da(0x13f)](_0x496d32=>{const _0x339e35=_0x5d81da,_0xcf5bcf={'CNTzB':function(_0x33742b,_0x9b6c9a){const _0x3f9171=a174_0x37fa;return _0x4f15c2[_0x3f9171(0x163)](_0x33742b,_0x9b6c9a);}},_0x577a25=_0x4f15c2[_0x339e35(0x12b)](_0x4f15c2['XhWBC'],_0x496d32);return this[_0x339e35(0x150)](_0x3cce2c,_0x577a25)[_0x339e35(0x13b)](_0x1eda12=>{const _0x179452=_0x339e35;if(_0x1eda12&&_0x1eda12[_0x179452(0x15c)]&&_0xcf5bcf['CNTzB'](_0x1eda12[_0x179452(0x175)],undefined)){const _0x145c5a={};return _0x145c5a[_0x179452(0x15c)]=_0x1eda12['hubUrl'],_0x145c5a[_0x179452(0x175)]=_0x1eda12['latency'],_0x145c5a['ok']=!![],_0x145c5a;}const _0x571cd0={};return _0x571cd0[_0x179452(0x15c)]=_0x577a25,_0x571cd0[_0x179452(0x175)]=null,_0x571cd0['ok']=![],_0x571cd0;})[_0x339e35(0x155)](()=>({'hubUrl':_0x577a25,'latency':null,'ok':![]}));});Promise[_0x5d81da(0x157)](_0x8537e2['map'](_0x1aba66=>_0x1aba66[_0x5d81da(0x13b)](_0x5633e4=>_0x5633e4['ok']?_0x5633e4:null)))[_0x5d81da(0x13b)](_0x207a2b=>{const _0x49f21a=_0x5d81da;if(_0x207a2b)return _0x207a2b;return Promise[_0x49f21a(0x148)](_0x8537e2)['then'](()=>null);})['then'](_0x398c48=>{const _0x388b77=_0x5d81da;if(!_0x398c48){logger[_0x388b77(0x173)](_0x4f15c2[_0x388b77(0x168)]);const _0x808b3e=_0x4f15c2[_0x388b77(0x12b)](_0x4f15c2['XhWBC'],_0x2fa744[0x0]);return globals[_0x388b77(0x154)](_0x4f15c2['TLEfX'],{'nearestHubs':_0x2fa744[_0x388b77(0x13f)](_0x73adc4=>'https://'+_0x73adc4),'hubLatencies':{},'selectedHub':_0x808b3e,'selectedHubLatency':null,'fallback':!![],'timestamp':Date['now']()}),constants[_0x388b77(0x15c)]=_0x4f15c2[_0x388b77(0x13a)](_0x808b3e,_0x4f15c2[_0x388b77(0x17f)]),logger[_0x388b77(0x173)](_0x388b77(0x153)+_0x808b3e),_0x4f15c2['mnrxG'](_0x569bd8);}const _0x1fae05={[_0x398c48[_0x388b77(0x15c)]]:_0x398c48[_0x388b77(0x175)]},_0x34bc1d={'nearestHubs':_0x2fa744[_0x388b77(0x13f)](_0xcd2926=>_0x388b77(0x167)+_0xcd2926),'hubLatencies':_0x1fae05,'selectedHub':_0x398c48[_0x388b77(0x15c)],'selectedHubLatency':_0x398c48['latency'],'timestamp':Date[_0x388b77(0x136)]()};globals[_0x388b77(0x154)](_0x4f15c2[_0x388b77(0x15a)],_0x34bc1d),constants[_0x388b77(0x15c)]=_0x4f15c2[_0x388b77(0x12b)](_0x398c48['hubUrl'],_0x4f15c2[_0x388b77(0x17f)]),logger[_0x388b77(0x173)](_0x388b77(0x11f)+_0x398c48['hubUrl']),_0x4f15c2[_0x388b77(0x14a)](_0x569bd8),Promise[_0x388b77(0x161)](_0x8537e2)[_0x388b77(0x13b)](_0x2ae15a=>{const _0x3a7f7f=_0x388b77;try{const _0x533960=globals[_0x3a7f7f(0x17d)](_0xe148c8['zvnqO']);if(!_0x533960||_0x533960['skipped'])return;const _0x1b4886={};for(const _0x499517 of _0x2ae15a){_0xe148c8[_0x3a7f7f(0x122)](_0x499517[_0x3a7f7f(0x158)],_0xe148c8[_0x3a7f7f(0x14b)])&&_0x499517[_0x3a7f7f(0x17a)]&&_0x499517[_0x3a7f7f(0x17a)]['ok']&&(_0x1b4886[_0x499517[_0x3a7f7f(0x17a)][_0x3a7f7f(0x15c)]]=_0x499517[_0x3a7f7f(0x17a)][_0x3a7f7f(0x175)]);}_0x533960['hubLatencies']=_0x1b4886;}catch(_0x1800f0){logger[_0x3a7f7f(0x173)](_0x3a7f7f(0x169)+_0x1800f0);}})['catch'](_0x2b21df=>{const _0x499e73=_0x388b77;logger[_0x499e73(0x173)]('ERROR\x20in\x20background\x20hub\x20enrichment:\x20'+_0x2b21df);});})[_0x5d81da(0x155)](_0x19c04d=>{const _0x311973=_0x5d81da;logger[_0x311973(0x173)]('ERROR\x20in\x20hub\x20selection:\x20'+_0x19c04d),_0x4f15c2[_0x311973(0x14c)](_0x569bd8);});})[_0x437219(0x155)](_0x2a50b8=>{const _0x20954b=_0x437219;logger[_0x20954b(0x173)](_0x20954b(0x137)+_0x2a50b8),_0x4f15c2[_0x20954b(0x143)](_0x569bd8);});});},exports['findLatency']=async(_0x5afbbc,_0x59e307)=>{const _0x65d60=a174_0x2e4421,_0x41c694={};_0x41c694[_0x65d60(0x138)]='GET',_0x41c694[_0x65d60(0x132)]=_0x65d60(0x134),_0x41c694[_0x65d60(0x142)]=function(_0x129345,_0x4b3b31){return _0x129345-_0x4b3b31;};const _0x3431ed=_0x41c694;try{const _0x168a2c=new Date();await helper[_0x65d60(0x146)](_0x3431ed['nVwek'],_0x3431ed[_0x65d60(0x132)],{},_0x5afbbc,_0x59e307,0x1388);const _0x3a1771=_0x3431ed[_0x65d60(0x142)](new Date(),_0x168a2c);logger[_0x65d60(0x173)](_0x65d60(0x126)+_0x59e307+'\x20is:\x20'+_0x3a1771+'ms');const _0x2528b3={};return _0x2528b3[_0x65d60(0x15c)]=_0x59e307,_0x2528b3[_0x65d60(0x175)]=_0x3a1771,_0x2528b3;}catch(_0x4d7624){return logger[_0x65d60(0x173)](_0x65d60(0x17c)+_0x59e307+'\x20HUB\x20-\x20'+_0x4d7624),{};}},exports[a174_0x2e4421(0x152)]=async _0x2676ab=>{const _0x26a3ce=a174_0x2e4421,_0x208c58={'tSsYi':function(_0x3ffecd,_0x3ea6f8){return _0x3ffecd(_0x3ea6f8);},'XaRXi':'./bin/utils/constants','wStBN':'/wd/hub','eujSC':_0x26a3ce(0x13e),'qZadW':_0x26a3ce(0x15f)};try{const _0x4fb2de=_0x208c58[_0x26a3ce(0x16c)](require,_0x208c58[_0x26a3ce(0x12d)])[_0x26a3ce(0x15c)]['replace'](_0x208c58[_0x26a3ce(0x145)],''),_0x7d08ab=await helper[_0x26a3ce(0x146)](_0x208c58[_0x26a3ce(0x165)],_0x208c58[_0x26a3ce(0x14d)],{},_0x2676ab,_0x4fb2de,0x1388),_0x1d4939=_0x7d08ab[_0x26a3ce(0x13c)];return logger[_0x26a3ce(0x173)]('Response:\x20'+util[_0x26a3ce(0x166)]('%j',_0x1d4939)),_0x1d4939[_0x26a3ce(0x179)];}catch(_0x123ece){logger[_0x26a3ce(0x173)](_0x26a3ce(0x12e)+_0x123ece);}return null;};
|