browserstack-node-sdk 1.70.0 → 1.70.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/mochaTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/runStateStore.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a178_0x38baaa=a178_0x4b0e;(function(_0xd95187,_0x546841){const _0x1b8ccc=a178_0x4b0e,_0x2f5978=_0xd95187();while(!![]){try{const _0x58e90d=parseInt(_0x1b8ccc(0x197))/0x1+-parseInt(_0x1b8ccc(0x19e))/0x2+-parseInt(_0x1b8ccc(0x1ae))/0x3+-parseInt(_0x1b8ccc(0x22d))/0x4*(parseInt(_0x1b8ccc(0x160))/0x5)+parseInt(_0x1b8ccc(0x218))/0x6+-parseInt(_0x1b8ccc(0x1a3))/0x7*(parseInt(_0x1b8ccc(0x1e3))/0x8)+parseInt(_0x1b8ccc(0x1c5))/0x9;if(_0x58e90d===_0x546841)break;else _0x2f5978['push'](_0x2f5978['shift']());}catch(_0x5e8f10){_0x2f5978['push'](_0x2f5978['shift']());}}}(a178_0x2c54,0x78424));function a178_0x2c54(){const _0x1401a0=['zPEkC','INVALID_CREDENTIALS','bxOYk','isBrowserstackInfra','SkrJt','../logger','nmqau','percy','../globals.js','PbzvV','../accessibility-automation/helper','20nlHWfC','info','isTurboScaleSession','BROWSERSTACK_TESTHUB_UUID:\x20','commandsToWrap','ACCESSIBILITY','isAppAutomateSession','HookRunStarted','CREDENTIALS_FOR_CRASH_REPORTING','getAgentVersion','null','handleErrorForObservability','message','gBpio','Ipwci','LfECJ','NwbZG','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','getBuildStartData','checkAccessibilityPlatformConfig','xtqiq','isLTSSession','TestRunStarted','getProductMap','shouldScanTestForAccessibility','parse','288655IoDEfg','iUnpO','SIhdW','trim','djAet','toString','hwARx','setTestObservabilityVariables','PhOWm','debug','BS_TESTOPS_BUILD_HASHED_ID','FRAMEWORK_DETAILS','winstonLogger','allow_screenshots','parseFromJson','error','ERROR','RMrcR','ENV_VAR','setTestHubCommonMetaInfo','errors','./constants.js','BROWSERSTACK_TEST_ACCESSIBILITY_YML','WObEw','jwt','string','join','scopes','commands','uuid','nonBStackInfraA11yChromeOptions','getAccessibilityPlatformValidation','../helper','TywIa','test_run','JASMINE','value','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','yAARF','includes','setTestData','BROWSERSTACK_SR_AUTOMATION','toUpperCase','pkwJy','pCEEz','LFEDE','WiRCs','../../bin/playwright/reporter/test-details.js','capabilities','BROWSERSTACK_PRODUCT_MAP','YWfjU','cqkGV','DGOTL','sr_automation','isAccessibilityEnabled','898473AKRecO','MOCHA','testPlanId','MahrM',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','CBTSessionCreated','BROWSERSTACK_TEST_PLAN_ID','488770EjXTFL','accessibilityPlatform','niyDv','getGlobal','KBmEs','49742rUJgDN','CODECEPT','appendTesthubParams','KfxxK','getTestFrameworkDetails','toJson','BROWSERSTACK_TESTHUB_UUID','iSSid','testManagementOptions','IVocl','isRunning','2489130cmtwcu','observability','CkmIC','logBuildError','EsIWZ','WRhUT','config','TEST_REPORTING_ANALYTICS','../helper.js','eZuGh','BROWSERSTACK_TESTHUB_JWT','BKYKZ','../test-orchestration/orchestrationUtils.js','eTTFu','argv','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','UECSC','BROWSERSTACK_PERCY','wSGRZ','getProductMapForBuildStartCall','getFrameworkDetails','setPercyFlag','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','9681156YBwJsZ','HookRunFinished','../../bin/utils/constants.js','true','bstackA11yShouldScan','get','titlePath','options','handleErrorForAccessibility','../test-observability/constants.js','QXrfU','getTestData','xAmpk','username','IiJxo','key','KwoJr','slice','zDbAv','BS_TESTOPS_ALLOW_SCREENSHOTS','env','dQuJG','HRhUY','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','CUCUMBER','lHXSn','BS_TESTOPS_BUILD_COMPLETED','VSwkI','../../bin/v2/modules/loadTestModule','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','432QGyMqB','NouUp','KKXsH','BS_A11Y_JWT','DurCf','1|3|0|2|4','platforms','BS_TESTOPS_JWT','scannerVersion','BROWSERSTACK_ACCESSIBILITY','name','CdooU','isUndefined','getAccessibilityValueFromYml','BqywR','sSowZ','Pmcgf','qaBeW','hoVIu','parseA11yJwtPayload','description','false','skipCDPConnectOverride','ACCESS_DENIED','hqlun','../accessibility-automation/scripts.js','uFAJn','stringify','QsZlR','getCentralUser','HCKHu','tags','wbCVk','JEST','keys','FWHOY','goog:chromeOptions','javascript','isAccessibilityPlatform','isPercyBuild','getTestOrchestrationBuildStartData','length','split','accessibility','assign','VXQDd','getCurrentTestData','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','success','build_hashed_id','isTrue','WvHfc','rrbYR','1589382gwfgiC','shouldProcessEventForTesthub','../../bin/jasmine/testRunMap.js','CKGhd','Gvxdb','DrQPW','PlSNj','forEach','setCurrentTestData','DEPRECATED'];a178_0x2c54=function(){return _0x1401a0;};return a178_0x2c54();}const bsSetupHelper=require(a178_0x38baaa(0x180)),LoadTestModule=require(a178_0x38baaa(0x1e1)),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require(a178_0x38baaa(0x22c)),logger=require(a178_0x38baaa(0x227))[a178_0x38baaa(0x16c)],{nestedKeyValue}=require(a178_0x38baaa(0x1b6)),scripts=require(a178_0x38baaa(0x1fc)),globals=require(a178_0x38baaa(0x22a)),testHubConstants=require(a178_0x38baaa(0x175)),PWTestDetails=require(a178_0x38baaa(0x18f)),JestTestDetails=require('../../bin/jest/test-observability/test-details.js'),{FRAMEWORKS}=require(a178_0x38baaa(0x1ce)),{isTurboScaleSession}=require('../ats/helper'),OrchestrationUtils=require(a178_0x38baaa(0x1ba)),constants=require(a178_0x38baaa(0x1c7));let testData={};exports[a178_0x38baaa(0x15d)]=_0x35e335=>{const _0x40f3d4=a178_0x38baaa,_0x3d9c43={'KBmEs':function(_0x4d9dd6){return _0x4d9dd6();},'PYCuv':function(_0x1c8da6,_0x1497de){return _0x1c8da6===_0x1497de;},'TywIa':_0x40f3d4(0x1c8)};let _0x87dd96=![],_0x3daa91=![];if(bsSetupHelper[_0x40f3d4(0x225)]()&&bsSetupHelper[_0x40f3d4(0x14c)](_0x35e335))_0x3daa91=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x87dd96=!![]);return Object[_0x40f3d4(0x20f)]({'observability':_0x3d9c43[_0x40f3d4(0x1a2)](isTestObservabilitySession),'accessibility':exports[_0x40f3d4(0x196)](_0x35e335),'percy':_0x35e335['percy']||![],'sr_automation':_0x3d9c43['PYCuv'](process['env'][_0x40f3d4(0x189)],_0x3d9c43[_0x40f3d4(0x181)])||_0x35e335[_0x40f3d4(0x195)]||![],'automate':_0x87dd96,'app_automate':_0x3daa91,'turboscale':bsSetupHelper[_0x40f3d4(0x22f)](_0x35e335),'lts':LoadTestModule[_0x40f3d4(0x15b)](_0x35e335)},bsSetupHelper[_0x40f3d4(0x200)]());},exports[a178_0x38baaa(0x1c2)]=(_0x3d612a,_0x4a2877)=>{const _0xb35768=a178_0x38baaa,_0x1edfb9={'TVAGE':function(_0x48790a,_0x40dc83){return _0x48790a(_0x40dc83);},'SIhdW':_0xb35768(0x208)},_0x106d5e={'frameworkName':_0x4a2877,'frameworkVersion':_0x1edfb9['TVAGE'](getFrameworkVersion,_0x4a2877),'sdkVersion':bsSetupHelper[_0xb35768(0x14f)](),'language':_0x1edfb9[_0xb35768(0x162)],'testFramework':bsSetupHelper[_0xb35768(0x1a7)](_0x3d612a,_0x4a2877)};return process[_0xb35768(0x1d9)][_0xb35768(0x16b)]=JSON[_0xb35768(0x1fe)](_0x106d5e),_0x106d5e;},exports[a178_0x38baaa(0x1c3)]=_0x343460=>{const _0x51668b=a178_0x38baaa,_0x3e2a5b={};_0x3e2a5b['lHXSn']=_0x51668b(0x1f8),_0x3e2a5b[_0x51668b(0x216)]='true';const _0x22ede=_0x3e2a5b;process[_0x51668b(0x1d9)]['BROWSERSTACK_PERCY']=_0x22ede[_0x51668b(0x1de)],bsSetupHelper[_0x51668b(0x215)](_0x343460[_0x51668b(0x1b4)][_0x51668b(0x229)])&&(!_0x343460['percy']||!_0x343460[_0x51668b(0x229)][_0x51668b(0x1ad)]())&&(process[_0x51668b(0x1d9)][_0x51668b(0x1bf)]=_0x22ede['WvHfc']);},exports[a178_0x38baaa(0x20a)]=()=>{const _0x1fe2a6=a178_0x38baaa;return bsSetupHelper[_0x1fe2a6(0x215)](process['env']['BROWSERSTACK_PERCY']);},exports[a178_0x38baaa(0x196)]=(_0xcef1e6={})=>{const _0x41892b=a178_0x38baaa,_0x1b5126={};_0x1b5126['IiJxo']=function(_0x1d6578,_0x570ff2){return _0x1d6578!==_0x570ff2;},_0x1b5126[_0x41892b(0x18b)]=function(_0x221a5f,_0xc7d840){return _0x221a5f===_0xc7d840;},_0x1b5126[_0x41892b(0x1db)]=_0x41892b(0x1c8),_0x1b5126[_0x41892b(0x1c0)]=function(_0x24d05b,_0xd9ee13){return _0x24d05b>_0xd9ee13;};const _0x128c64=_0x1b5126;if(_0x128c64[_0x41892b(0x1d3)](process[_0x41892b(0x1d9)][_0x41892b(0x1ec)],undefined))return bsSetupHelper[_0x41892b(0x215)](process[_0x41892b(0x1d9)]['BROWSERSTACK_ACCESSIBILITY']);let _0x34e6f9=_0x128c64[_0x41892b(0x18b)](process[_0x41892b(0x1d9)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x128c64[_0x41892b(0x1db)]);return _0x128c64[_0x41892b(0x1c0)](Object[_0x41892b(0x205)](_0xcef1e6)[_0x41892b(0x20c)],0x0)&&(process[_0x41892b(0x1d9)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=accessibilityHelper[_0x41892b(0x159)](_0xcef1e6)),_0x34e6f9=_0x34e6f9||_0x128c64[_0x41892b(0x18b)](process[_0x41892b(0x1d9)][_0x41892b(0x1dc)],_0x128c64['HRhUY']),_0x34e6f9;},exports[a178_0x38baaa(0x167)]=(_0xe45e6a,_0x402c63)=>{const _0x5e4712=a178_0x38baaa,_0x4510d5={'SKouE':function(_0x4472b1){return _0x4472b1();},'zPEkC':'5|3|2|4|0|1','wkWJs':function(_0x300f3a,_0x39ffbf,_0x58e338){return _0x300f3a(_0x39ffbf,_0x58e338);},'FWHOY':'observability','eTTFu':_0x5e4712(0x1cc),'wbCVk':_0x5e4712(0x1c8)};if(!_0xe45e6a||!_0xe45e6a['observability'])return exports[_0x5e4712(0x151)](),[null,null,null];if(!_0xe45e6a[_0x5e4712(0x1af)]['success'])return exports[_0x5e4712(0x151)](_0xe45e6a[_0x5e4712(0x1af)]),[null,null,null];if(_0x4510d5['SKouE'](isTestObservabilitySession)){const _0x3baa8c=_0x4510d5[_0x5e4712(0x222)][_0x5e4712(0x20d)]('|');let _0x18d627=0x0;while(!![]){switch(_0x3baa8c[_0x18d627++]){case'0':logger['debug']('['+constants[_0x5e4712(0x1b5)]+_0x5e4712(0x19b)+_0xe45e6a['build_hashed_id']);continue;case'1':return[_0xe45e6a['jwt'],_0xe45e6a[_0x5e4712(0x214)],process[_0x5e4712(0x1d9)][_0x5e4712(0x1d8)]];case'2':_0xe45e6a['build_hashed_id']&&(process[_0x5e4712(0x1d9)][_0x5e4712(0x16a)]=_0xe45e6a[_0x5e4712(0x214)]);continue;case'3':if(_0xe45e6a[_0x5e4712(0x178)]){process[_0x5e4712(0x1d9)][_0x5e4712(0x1ea)]=_0xe45e6a[_0x5e4712(0x178)];const _0x3f0939={};_0x3f0939[_0x5e4712(0x1d2)]=_0x402c63['username'],_0x3f0939['password']=_0x402c63['password'],process[_0x5e4712(0x1d9)][_0x5e4712(0x14e)]=JSON[_0x5e4712(0x1fe)](_0x3f0939);}continue;case'4':_0x4510d5['wkWJs'](nestedKeyValue,_0xe45e6a,[_0x4510d5[_0x5e4712(0x206)],_0x4510d5[_0x5e4712(0x1bb)]])&&(process[_0x5e4712(0x1d9)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0xe45e6a[_0x5e4712(0x1af)][_0x5e4712(0x1cc)][_0x5e4712(0x16d)][_0x5e4712(0x165)]());continue;case'5':process['env'][_0x5e4712(0x1df)]=_0x4510d5[_0x5e4712(0x203)];continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x4e195f=>{const _0x49547e=a178_0x38baaa,_0x2a79b7={'UECSC':function(_0x58aea8,_0x2e170b,_0x2825a7){return _0x58aea8(_0x2e170b,_0x2825a7);},'QXrfU':'accessibility','IVocl':'options','NwXjB':function(_0x341090,_0x107415,_0x672388,_0x5781ad){return _0x341090(_0x107415,_0x672388,_0x5781ad);},'DurCf':'name','hoVIu':_0x49547e(0x184),'eZuGh':function(_0x57bb77,_0x54122e,_0x170a33,_0x2f6b42){return _0x57bb77(_0x54122e,_0x170a33,_0x2f6b42);},'KfxxK':'command','MahrM':_0x49547e(0x17c),'DrQPW':function(_0x57ebb9,_0x535f40,_0x3a4a7b,_0x26a8b1){return _0x57ebb9(_0x535f40,_0x3a4a7b,_0x26a8b1);},'sSowZ':_0x49547e(0x17e),'HCKHu':_0x49547e(0x207),'owKNj':function(_0xaf9da8,_0x2450bf){return _0xaf9da8(_0x2450bf);},'mGMri':function(_0x47b627,_0x539b41){return _0x47b627===_0x539b41;},'DGOTL':function(_0x4b94d2,_0x306f74){return _0x4b94d2===_0x306f74;},'rrbYR':_0x49547e(0x1c8),'LEqBj':_0x49547e(0x212)};if(!_0x4e195f[_0x49547e(0x20e)])return exports[_0x49547e(0x1cd)](),[null,null];if(!_0x4e195f['accessibility'][_0x49547e(0x213)])return exports[_0x49547e(0x1cd)](_0x4e195f['accessibility']),[null,null];if(_0x2a79b7[_0x49547e(0x1be)](nestedKeyValue,_0x4e195f,[_0x2a79b7[_0x49547e(0x1cf)],_0x2a79b7[_0x49547e(0x1ac)]])){const {accessibilityToken:_0x9b0ea3,scannerVersion:_0x32f32b,scannerProcessingTimeout:_0xa8fc95,isMobileScanningEnabledForGroup:_0x4e8626}=_0x2a79b7['NwXjB'](jsonifyAccessibilityArray,_0x4e195f[_0x49547e(0x20e)][_0x49547e(0x1cc)][_0x49547e(0x190)],_0x2a79b7[_0x49547e(0x1e7)],_0x2a79b7[_0x49547e(0x1f5)]),_0x55de2c={'scripts':_0x2a79b7[_0x49547e(0x1b7)](jsonifyAccessibilityArray,_0x4e195f['accessibility'][_0x49547e(0x1cc)]['scripts'],_0x2a79b7[_0x49547e(0x1e7)],_0x2a79b7[_0x49547e(0x1a6)])};_0x55de2c[_0x2a79b7[_0x49547e(0x19a)]]=_0x4e195f[_0x49547e(0x20e)][_0x49547e(0x1cc)][_0x49547e(0x231)]['commands'];const _0x153ef2=_0x2a79b7[_0x49547e(0x21d)](jsonifyAccessibilityArray,_0x4e195f[_0x49547e(0x20e)][_0x49547e(0x1cc)]['capabilities'],_0x2a79b7[_0x49547e(0x1e7)],_0x2a79b7[_0x49547e(0x1f5)]);_0x55de2c[_0x2a79b7[_0x49547e(0x1f2)]]=_0x153ef2[_0x2a79b7[_0x49547e(0x201)]],scripts[_0x49547e(0x16e)](_0x55de2c),scripts[_0x49547e(0x1a8)]();let _0x190d47=process[_0x49547e(0x1d9)][_0x49547e(0x1c4)];_0x190d47=!!_0x190d47?JSON[_0x49547e(0x15f)](_0x190d47):{},_0x190d47[_0x49547e(0x1eb)]=_0x32f32b,process[_0x49547e(0x1d9)][_0x49547e(0x1c4)]=JSON['stringify'](_0x190d47),process['env'][_0x49547e(0x1e6)]=_0x9b0ea3,process[_0x49547e(0x1d9)][_0x49547e(0x185)]=_0x2a79b7['owKNj'](String,_0x2a79b7['mGMri'](_0x4e8626,!![])||_0x2a79b7[_0x49547e(0x194)](_0x4e8626,_0x2a79b7[_0x49547e(0x217)])),logger[_0x49547e(0x169)](_0x49547e(0x1e2)+_0x4e195f[_0x49547e(0x214)]);const _0x394ffc=accessibilityHelper[_0x49547e(0x1f6)](_0x9b0ea3);return _0x394ffc&&bsSetupHelper[_0x49547e(0x215)](_0x394ffc[_0x49547e(0x1f9)])&&(process[_0x49547e(0x1d9)][_0x49547e(0x1bd)]=!![],logger[_0x49547e(0x169)](_0x2a79b7['LEqBj'])),[_0x9b0ea3,_0x4e195f[_0x49547e(0x214)],_0xa8fc95];}return[null,null];},exports[a178_0x38baaa(0x151)]=_0x5550e5=>{const _0x4c4263=a178_0x38baaa,_0x558cf5={};_0x558cf5[_0x4c4263(0x228)]='5|3|1|2|0|4|6',_0x558cf5[_0x4c4263(0x155)]=_0x4c4263(0x150),_0x558cf5[_0x4c4263(0x1b2)]=_0x4c4263(0x1f8);const _0x39344e=_0x558cf5,_0x121026=_0x39344e[_0x4c4263(0x228)][_0x4c4263(0x20d)]('|');let _0x2bfe85=0x0;while(!![]){switch(_0x121026[_0x2bfe85++]){case'0':process[_0x4c4263(0x1d9)][_0x4c4263(0x16a)]=_0x39344e[_0x4c4263(0x155)];continue;case'1':process[_0x4c4263(0x1d9)]['BS_TESTOPS_BUILD_COMPLETED']=_0x39344e[_0x4c4263(0x1b2)];continue;case'2':process[_0x4c4263(0x1d9)][_0x4c4263(0x1ea)]=_0x39344e[_0x4c4263(0x155)];continue;case'3':process[_0x4c4263(0x1d9)][_0x4c4263(0x1b8)]=_0x39344e['LfECJ'];continue;case'4':process['env'][_0x4c4263(0x1d8)]=_0x39344e[_0x4c4263(0x155)];continue;case'5':process[_0x4c4263(0x1d9)][_0x4c4263(0x1a9)]=_0x39344e[_0x4c4263(0x155)];continue;case'6':exports['logBuildError'](_0x5550e5,testHubConstants['OBSERVABILITY']);continue;}break;}},exports['handleErrorForAccessibility']=_0x5d0d7b=>{const _0xa38fb1=a178_0x38baaa,_0x971a76={};_0x971a76[_0xa38fb1(0x1f3)]=_0xa38fb1(0x1e8),_0x971a76['VXQDd']=_0xa38fb1(0x1f8),_0x971a76['iSSid']=_0xa38fb1(0x150);const _0x294d45=_0x971a76,_0x585c69=_0x294d45['Pmcgf']['split']('|');let _0x366715=0x0;while(!![]){switch(_0x585c69[_0x366715++]){case'0':process[_0xa38fb1(0x1d9)][_0xa38fb1(0x176)]=_0x294d45[_0xa38fb1(0x210)];continue;case'1':process[_0xa38fb1(0x1d9)]['BROWSERSTACK_TESTHUB_UUID']=_0x294d45[_0xa38fb1(0x1aa)];continue;case'2':process[_0xa38fb1(0x1d9)][_0xa38fb1(0x1dc)]=_0x294d45[_0xa38fb1(0x210)];continue;case'3':process[_0xa38fb1(0x1d9)]['BROWSERSTACK_TESTHUB_JWT']=_0x294d45[_0xa38fb1(0x1aa)];continue;case'4':exports[_0xa38fb1(0x1b1)](_0x5d0d7b,testHubConstants[_0xa38fb1(0x14b)]);continue;}break;}},exports['logBuildError']=(_0x1dcb59,_0x23c031='')=>{const _0x132e41=a178_0x38baaa,_0x58942e={};_0x58942e[_0x132e41(0x186)]=function(_0x5ea924,_0x40d026){return _0x5ea924===_0x40d026;};const _0x22def5=_0x58942e;if(_0x22def5[_0x132e41(0x186)](_0x1dcb59,undefined)){logger[_0x132e41(0x16f)](_0x23c031[_0x132e41(0x18a)]()+'\x20Build\x20creation\x20failed');return;}for(const _0x43c39d of _0x1dcb59[_0x132e41(0x174)]){const _0x31c5dd=_0x43c39d[_0x132e41(0x1d4)],_0x3789da=_0x43c39d[_0x132e41(0x152)];if(_0x3789da)switch(_0x31c5dd){case testHubConstants[_0x132e41(0x170)][_0x132e41(0x223)]:logger[_0x132e41(0x16f)](_0x3789da);break;case testHubConstants['ERROR'][_0x132e41(0x1fa)]:logger[_0x132e41(0x22e)](_0x3789da);break;case testHubConstants[_0x132e41(0x170)][_0x132e41(0x221)]:logger[_0x132e41(0x16f)](_0x3789da);break;default:logger['error'](_0x3789da);}}};const jsonifyAccessibilityArray=(_0x97258b,_0x2b5836,_0x4cd05d)=>{const _0x268168=a178_0x38baaa,_0x45537d={};return _0x97258b[_0x268168(0x21f)](_0x2f5dc2=>{_0x45537d[_0x2f5dc2[_0x2b5836]]=_0x2f5dc2[_0x4cd05d];}),_0x45537d;};function a178_0x4b0e(_0x2ea8bf,_0x4333b8){const _0x2c542c=a178_0x2c54();return a178_0x4b0e=function(_0x4b0e90,_0x3634c5){_0x4b0e90=_0x4b0e90-0x14b;let _0x18aad6=_0x2c542c[_0x4b0e90];return _0x18aad6;},a178_0x4b0e(_0x2ea8bf,_0x4333b8);}exports[a178_0x38baaa(0x173)]=_0x2b2e4d=>{const _0x56417c=a178_0x38baaa;_0x2b2e4d[_0x56417c(0x178)]&&(process[_0x56417c(0x1d9)][_0x56417c(0x1b8)]=_0x2b2e4d[_0x56417c(0x178)]);_0x2b2e4d[_0x56417c(0x214)]&&(process[_0x56417c(0x1d9)][_0x56417c(0x1a9)]=_0x2b2e4d[_0x56417c(0x214)],logger[_0x56417c(0x169)](_0x56417c(0x230)+_0x2b2e4d[_0x56417c(0x214)]));;},exports[a178_0x38baaa(0x219)]=(_0x3b4770='',_0xc7a8bc='')=>{const _0x2c32f7=a178_0x38baaa,_0x1701ed={'CdooU':function(_0x5b1461){return _0x5b1461();},'WiRCs':function(_0x1de246,_0x164d3d){return _0x1de246===_0x164d3d;},'pCEEz':'uploadEventData','AfKrD':'LogCreated','BqywR':_0x2c32f7(0x19c),'gBpio':_0x2c32f7(0x14d),'xtqiq':_0x2c32f7(0x1c6)};if(exports[_0x2c32f7(0x20a)]()&&!exports[_0x2c32f7(0x196)]()&&!_0x1701ed[_0x2c32f7(0x1ee)](isTestObservabilitySession)){if(_0x1701ed[_0x2c32f7(0x18e)](_0xc7a8bc,_0x1701ed[_0x2c32f7(0x18c)]))return![];if([_0x1701ed['AfKrD'],_0x1701ed[_0x2c32f7(0x1f1)]]['includes'](_0x3b4770))return![];return!![];}if(exports[_0x2c32f7(0x196)]()&&!_0x1701ed[_0x2c32f7(0x1ee)](isTestObservabilitySession)){if([_0x1701ed[_0x2c32f7(0x153)],_0x1701ed[_0x2c32f7(0x15a)],_0x1701ed['AfKrD']]['includes'](_0x3b4770))return![];return!![];}return exports[_0x2c32f7(0x196)]()||_0x1701ed[_0x2c32f7(0x1ee)](isTestObservabilitySession)||exports['isPercyBuild']();},exports[a178_0x38baaa(0x1a5)]=(_0x2acf65,_0x3d7ba2,_0x4b450d='',_0xd4db3a)=>{const _0x23dcae=a178_0x38baaa,_0x298cf3={'uFAJn':'HookRunStarted','RiscG':_0x23dcae(0x1c6),'dqvDZ':function(_0x45c845,_0x21dc4c){return _0x45c845===_0x21dc4c;},'QsZlR':_0x23dcae(0x1c9),'niyDv':_0x23dcae(0x209),'PhOWm':_0x23dcae(0x20e),'WObEw':function(_0x28b4ae,_0x29adf2){return _0x28b4ae&&_0x29adf2;},'BKYKZ':function(_0x304109,_0x8109fe){return _0x304109===_0x8109fe;},'iUnpO':function(_0x313e6f,_0x21ab66){return _0x313e6f+_0x21ab66;},'KwoJr':function(_0x513a84,_0x31f9a9){return _0x513a84===_0x31f9a9;},'djAet':function(_0x1db63a,_0x26ef7d){return _0x1db63a(_0x26ef7d);},'cqkGV':_0x23dcae(0x21a),'GFxXK':function(_0x8bda9f,_0xecc027){return _0x8bda9f+_0xecc027;},'YWfjU':function(_0x4f7c44,_0x546698){return _0x4f7c44!==_0x546698;},'jtJaB':_0x23dcae(0x15c),'CKGhd':function(_0xb34c90,_0x565b50){return _0xb34c90===_0x565b50;},'Gvxdb':function(_0x464a8d,_0x58989e){return _0x464a8d&&_0x58989e;},'SRHuS':function(_0xdb789e,_0x15f603){return _0xdb789e&&_0x15f603;},'WRhUT':'product_map'};if([_0x298cf3[_0x23dcae(0x1fd)],_0x298cf3['RiscG']][_0x23dcae(0x187)](_0x3d7ba2))return;let _0x59c448={};try{process[_0x23dcae(0x1d9)][_0x23dcae(0x191)]&&(_0x59c448=JSON[_0x23dcae(0x15f)](process[_0x23dcae(0x1d9)]['BROWSERSTACK_PRODUCT_MAP'])||{});}catch(_0x147669){logger['debug']('Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20'+_0x147669),_0x59c448={};}if(exports[_0x23dcae(0x196)]()){if(_0x298cf3['dqvDZ'](_0xd4db3a,FRAMEWORKS['MOCHA'])){const _0x3de875=globals[_0x23dcae(0x1a1)](_0x298cf3[_0x23dcae(0x1ff)])||accessibilityHelper[_0x23dcae(0x15e)](_0x4b450d['titlePath'](),!![]),_0x54320d=globals['getGlobal'](_0x298cf3[_0x23dcae(0x1a0)]);_0x59c448[_0x298cf3[_0x23dcae(0x168)]]=_0x298cf3[_0x23dcae(0x177)](_0x54320d,_0x3de875);}if(_0x298cf3[_0x23dcae(0x1b9)](_0xd4db3a,FRAMEWORKS[_0x23dcae(0x204)])){const _0x3f0c8b=_0x298cf3[_0x23dcae(0x161)](_0x298cf3[_0x23dcae(0x161)](_0x2acf65[_0x23dcae(0x17b)][_0x23dcae(0x17a)]('\x20'),'\x20'),_0x4b450d[_0x23dcae(0x1ed)]),_0x50078b=globals[_0x23dcae(0x1a1)](_0x298cf3[_0x23dcae(0x1ff)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x3f0c8b,![]),_0x2b495d=browserStackGlobals[_0x23dcae(0x209)];_0x59c448[_0x298cf3[_0x23dcae(0x168)]]=_0x298cf3[_0x23dcae(0x177)](_0x2b495d,_0x50078b);}if(_0x298cf3[_0x23dcae(0x1d5)](_0xd4db3a,FRAMEWORKS[_0x23dcae(0x183)])){const _0x4ca977=_0x298cf3[_0x23dcae(0x164)](require,_0x298cf3[_0x23dcae(0x193)]),_0x594d32=_0x4b450d&&_0x4ca977[_0x23dcae(0x1ca)](_0x4b450d['id'])||_0x2acf65[_0x23dcae(0x17d)];_0x594d32&&(_0x2acf65[_0x23dcae(0x17d)]=_0x594d32);const _0x1f167e=_0x298cf3[_0x23dcae(0x161)](_0x298cf3['GFxXK'](_0x2acf65['scopes'][_0x23dcae(0x17a)]('\x20'),'\x20'),_0x4b450d[_0x23dcae(0x1f7)]||_0x2acf65[_0x23dcae(0x1ed)]),_0x235f5d=globals['getGlobal'](_0x298cf3[_0x23dcae(0x1ff)])||accessibilityHelper[_0x23dcae(0x15e)](_0x1f167e,![]),_0xbdd17a=globals[_0x23dcae(0x1a1)](_0x298cf3['niyDv']);_0x59c448[_0x298cf3['PhOWm']]=_0x298cf3[_0x23dcae(0x177)](_0xbdd17a,_0x235f5d);}_0x298cf3['KwoJr'](_0xd4db3a,FRAMEWORKS['PLAYWRIGHT'])&&_0x298cf3[_0x23dcae(0x192)](_0x3d7ba2,_0x298cf3['jtJaB'])&&(_0x59c448[_0x298cf3[_0x23dcae(0x168)]]=PWTestDetails[_0x23dcae(0x17f)](_0x2acf65[_0x23dcae(0x17d)]));if(_0x298cf3[_0x23dcae(0x21b)](_0xd4db3a,FRAMEWORKS[_0x23dcae(0x1a4)])){const _0xe2f204=accessibilityHelper['shouldScanTestForAccessibility'](_0x4b450d[_0x23dcae(0x1cb)](),!![]),_0x4bdf75=global[_0x23dcae(0x19f)];_0x59c448[_0x298cf3['PhOWm']]=_0x298cf3[_0x23dcae(0x21c)](_0x4bdf75,_0xe2f204);}if(_0x298cf3[_0x23dcae(0x21b)](_0xd4db3a,FRAMEWORKS[_0x23dcae(0x1dd)])){const _0x44a952=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x2acf65[_0x23dcae(0x202)]),_0x289864=globals[_0x23dcae(0x1a1)](_0x298cf3[_0x23dcae(0x1a0)]);_0x59c448[_0x298cf3[_0x23dcae(0x168)]]=_0x298cf3['SRHuS'](_0x289864,_0x44a952);}}_0x2acf65[_0x298cf3[_0x23dcae(0x1b3)]]=_0x59c448;},exports[a178_0x38baaa(0x211)]=_0x298253=>{const _0x3d49f0=a178_0x38baaa,_0x3427f7={};_0x3427f7[_0x3d49f0(0x21e)]=function(_0x5bf93,_0x13b20d){return _0x5bf93>_0x13b20d;},_0x3427f7[_0x3d49f0(0x1e0)]=function(_0x163d7b,_0x17b8eb){return _0x163d7b>_0x17b8eb;};const _0xfcb419=_0x3427f7;let _0x9d38ec={};if(_0xfcb419[_0x3d49f0(0x21e)](Object[_0x3d49f0(0x205)](testData)[_0x3d49f0(0x20c)],0x0))return testData;_0x9d38ec=JestTestDetails[_0x3d49f0(0x1d0)]();if(_0xfcb419[_0x3d49f0(0x1e0)](Object[_0x3d49f0(0x205)](_0x9d38ec)[_0x3d49f0(0x20c)],0x0))return _0x9d38ec;return _0x9d38ec;},exports[a178_0x38baaa(0x220)]=(_0x53a2cf,_0x297e07={})=>{const _0x4f4364=a178_0x38baaa;if(bsSetupHelper[_0x4f4364(0x1ef)](_0x297e07['test_run']))return;switch(_0x53a2cf){case FRAMEWORKS[_0x4f4364(0x198)]:testData=_0x297e07['test_run'];break;case FRAMEWORKS['JEST']:JestTestDetails[_0x4f4364(0x188)](_0x297e07[_0x4f4364(0x182)]);break;case FRAMEWORKS[_0x4f4364(0x183)]:testData=_0x297e07[_0x4f4364(0x182)];break;default:break;}},exports[a178_0x38baaa(0x1f0)]=_0x4095c3=>{const _0x184ee5=a178_0x38baaa,_0xb5ce62={};_0xb5ce62[_0x184ee5(0x18d)]=function(_0x4b053f,_0x14adc0){return _0x4b053f!==_0x14adc0;},_0xb5ce62[_0x184ee5(0x1fb)]=function(_0x27461d,_0x9081bf){return _0x27461d!==_0x9081bf;},_0xb5ce62[_0x184ee5(0x154)]=function(_0x38a2da,_0x273092){return _0x38a2da!==_0x273092;},_0xb5ce62[_0x184ee5(0x1e4)]=function(_0x23c2e1,_0x484c30){return _0x23c2e1!==_0x484c30;};const _0x27eb67=_0xb5ce62;if(_0x27eb67['LFEDE'](_0x4095c3[_0x184ee5(0x20e)],null)&&_0x27eb67['hqlun'](_0x4095c3[_0x184ee5(0x20e)],undefined))return _0x4095c3[_0x184ee5(0x20e)];let _0x4a6366=![],_0x35f4c0=![];if(_0x4095c3[_0x184ee5(0x1e9)])for(const _0x24ac0c of _0x4095c3[_0x184ee5(0x1e9)]){_0x27eb67[_0x184ee5(0x154)](_0x24ac0c['accessibility'],null)&&_0x27eb67[_0x184ee5(0x1e4)](_0x24ac0c[_0x184ee5(0x20e)],undefined)&&(_0x4a6366=_0x4a6366||bsSetupHelper[_0x184ee5(0x215)](_0x24ac0c[_0x184ee5(0x20e)]),_0x35f4c0=!![]);}if(_0x35f4c0)return _0x4a6366;return null;},exports[a178_0x38baaa(0x20b)]=_0x192e4e=>{const _0x455ab2=a178_0x38baaa;if(!_0x192e4e)return{};const _0x7bf50f=new OrchestrationUtils(_0x192e4e);return _0x7bf50f[_0x455ab2(0x158)]();},exports[a178_0x38baaa(0x1c1)]=_0x5be6f1=>{const _0x3b9373=a178_0x38baaa,_0x18dda4={'KKXsH':function(_0x101157){return _0x101157();},'zlXki':function(_0x293d1a,_0x2e4f6b){return _0x293d1a===_0x2e4f6b;},'qaBeW':'true'};let _0x30188d=![],_0x382ac4=![];if(bsSetupHelper[_0x3b9373(0x225)]()&&bsSetupHelper[_0x3b9373(0x14c)](_0x5be6f1))_0x382ac4=!![];else bsSetupHelper[_0x3b9373(0x225)]()&&(_0x30188d=!![]);return Object[_0x3b9373(0x20f)]({'observability':_0x18dda4[_0x3b9373(0x1e5)](isTestObservabilitySession),'accessibility':exports[_0x3b9373(0x1f0)](_0x5be6f1),'percy':_0x5be6f1[_0x3b9373(0x229)]||![],'sr_automation':_0x18dda4['zlXki'](process['env'][_0x3b9373(0x189)],_0x18dda4[_0x3b9373(0x1f4)])||_0x5be6f1[_0x3b9373(0x195)]||![],'automate':_0x30188d,'app_automate':_0x382ac4,'turboscale':bsSetupHelper[_0x3b9373(0x22f)](_0x5be6f1),'lts':LoadTestModule['isLTSSession'](_0x5be6f1)},bsSetupHelper[_0x3b9373(0x200)]());};const normalizeTestPlanId=_0x1400fd=>{const _0x42032e=a178_0x38baaa,_0x3d7646={};_0x3d7646['zDbAv']=function(_0x52024b,_0x1dc806){return _0x52024b!==_0x1dc806;},_0x3d7646[_0x42032e(0x22b)]=_0x42032e(0x179),_0x3d7646[_0x42032e(0x166)]=function(_0x4b37e7,_0x34bcba){return _0x4b37e7>_0x34bcba;};const _0x50e613=_0x3d7646;if(_0x50e613[_0x42032e(0x1d7)](typeof _0x1400fd,_0x50e613['PbzvV']))return undefined;const _0x49e61c=_0x1400fd[_0x42032e(0x163)]();return _0x50e613['hwARx'](_0x49e61c[_0x42032e(0x20c)],0x0)?_0x49e61c:undefined;},readTestPlanIdFromCliArgs=(_0x552b94=process[a178_0x38baaa(0x1bc)])=>{const _0x1e8670=a178_0x38baaa,_0x37975f={};_0x37975f[_0x1e8670(0x156)]=function(_0x3c894e,_0x1f41b2){return _0x3c894e<_0x1f41b2;},_0x37975f['CkmIC']=function(_0x35e3ee,_0x451c9b){return _0x35e3ee===_0x451c9b;},_0x37975f['RMrcR']=function(_0x1f4498,_0x13536c){return _0x1f4498+_0x13536c;},_0x37975f[_0x1e8670(0x224)]=function(_0x3eb182,_0x1a303f){return _0x3eb182+_0x1a303f;};const _0x3a5712=_0x37975f,_0x3253f5='--'+testHubConstants['TEST_MANAGEMENT_TEST_PLAN_ID_ARG'];for(let _0x3bce35=0x0;_0x3a5712[_0x1e8670(0x156)](_0x3bce35,_0x552b94[_0x1e8670(0x20c)]);_0x3bce35+=0x1){const _0x326113=_0x552b94[_0x3bce35];if(_0x3a5712[_0x1e8670(0x1b0)](_0x326113,_0x3253f5)){const _0xc1d937=_0x552b94[_0x3a5712[_0x1e8670(0x171)](_0x3bce35,0x1)];if(!_0xc1d937||_0xc1d937['startsWith']('--'))return undefined;return _0xc1d937;}if(_0x326113['startsWith'](_0x3253f5+'='))return _0x326113[_0x1e8670(0x1d6)](_0x3a5712[_0x1e8670(0x224)](_0x3253f5['length'],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x451780={})=>{const _0x31ba60=a178_0x38baaa,_0x324b07={'dQuJG':function(_0x5376d3,_0xba99f4){return _0x5376d3(_0xba99f4);}};return _0x324b07[_0x31ba60(0x1da)](normalizeTestPlanId,_0x451780&&_0x451780['testManagementOptions']&&_0x451780[_0x31ba60(0x1ab)][_0x31ba60(0x199)]);};exports['getTestPlanId']=(_0x2fa908={},_0x22e0c3=process[a178_0x38baaa(0x1bc)],_0x5a30aa=process[a178_0x38baaa(0x1d9)])=>{const _0x50f1b6=a178_0x38baaa,_0x112c71={'SkrJt':function(_0x15ae95,_0x5b4177){return _0x15ae95(_0x5b4177);},'xAmpk':function(_0x408fe0,_0x467ffc){return _0x408fe0(_0x467ffc);}};try{const _0x1c13cc=_0x112c71[_0x50f1b6(0x226)](normalizeTestPlanId,_0x112c71['SkrJt'](readTestPlanIdFromCliArgs,_0x22e0c3));if(_0x1c13cc)return _0x1c13cc;const _0x2aebf1=_0x112c71[_0x50f1b6(0x226)](normalizeTestPlanId,_0x5a30aa&&_0x5a30aa[testHubConstants[_0x50f1b6(0x172)][_0x50f1b6(0x19d)]]);if(_0x2aebf1)return _0x2aebf1;return _0x112c71[_0x50f1b6(0x1d1)](readTestPlanIdFromConfig,_0x2fa908);}catch(_0x1cb23e){return logger[_0x50f1b6(0x169)](_0x50f1b6(0x157)+(_0x1cb23e&&_0x1cb23e[_0x50f1b6(0x152)]?_0x1cb23e['message']:_0x1cb23e)),undefined;}};
|
|
1
|
+
const a178_0x4068dd=a178_0xc1fa;(function(_0x41be13,_0xd92d2f){const _0x165b6b=a178_0xc1fa,_0x45647f=_0x41be13();while(!![]){try{const _0x111d5e=-parseInt(_0x165b6b(0x114))/0x1*(-parseInt(_0x165b6b(0x11f))/0x2)+-parseInt(_0x165b6b(0xf8))/0x3+-parseInt(_0x165b6b(0x190))/0x4+-parseInt(_0x165b6b(0xfe))/0x5*(-parseInt(_0x165b6b(0x1a7))/0x6)+-parseInt(_0x165b6b(0x197))/0x7*(parseInt(_0x165b6b(0x17f))/0x8)+parseInt(_0x165b6b(0x127))/0x9*(-parseInt(_0x165b6b(0x102))/0xa)+parseInt(_0x165b6b(0xea))/0xb;if(_0x111d5e===_0xd92d2f)break;else _0x45647f['push'](_0x45647f['shift']());}catch(_0x318f72){_0x45647f['push'](_0x45647f['shift']());}}}(a178_0x255c,0x4ced0));const bsSetupHelper=require(a178_0x4068dd(0x105)),LoadTestModule=require(a178_0x4068dd(0x14c)),{isTestObservabilitySession,getFrameworkVersion}=require(a178_0x4068dd(0x17b)),accessibilityHelper=require(a178_0x4068dd(0xfc)),logger=require(a178_0x4068dd(0x18b))[a178_0x4068dd(0x18e)],{nestedKeyValue}=require(a178_0x4068dd(0xe5)),scripts=require(a178_0x4068dd(0xdf)),globals=require('../globals.js'),testHubConstants=require(a178_0x4068dd(0x1a1)),PWTestDetails=require(a178_0x4068dd(0x14e)),JestTestDetails=require(a178_0x4068dd(0x16c)),{FRAMEWORKS}=require(a178_0x4068dd(0x19b)),{isTurboScaleSession}=require('../ats/helper'),OrchestrationUtils=require(a178_0x4068dd(0x11a)),constants=require('../../bin/utils/constants.js');let testData={};exports[a178_0x4068dd(0x121)]=_0x15b53c=>{const _0x29a1ae=a178_0x4068dd,_0x1bd9b2={'qMSNU':function(_0x370683){return _0x370683();},'dUpJM':function(_0x5558a4,_0x1eb42){return _0x5558a4===_0x1eb42;},'AskED':_0x29a1ae(0x1a2)};let _0x3349dd=![],_0x3820e7=![];if(bsSetupHelper[_0x29a1ae(0x15d)]()&&bsSetupHelper[_0x29a1ae(0x1a6)](_0x15b53c))_0x3820e7=!![];else bsSetupHelper[_0x29a1ae(0x15d)]()&&(_0x3349dd=!![]);return Object[_0x29a1ae(0x14b)]({'observability':_0x1bd9b2[_0x29a1ae(0x13c)](isTestObservabilitySession),'accessibility':exports[_0x29a1ae(0xff)](_0x15b53c),'percy':_0x15b53c[_0x29a1ae(0xe2)]||![],'sr_automation':_0x1bd9b2[_0x29a1ae(0xdd)](process[_0x29a1ae(0x187)][_0x29a1ae(0x178)],_0x1bd9b2[_0x29a1ae(0x165)])||_0x15b53c[_0x29a1ae(0x146)]||![],'automate':_0x3349dd,'app_automate':_0x3820e7,'turboscale':bsSetupHelper[_0x29a1ae(0x10e)](_0x15b53c),'lts':LoadTestModule[_0x29a1ae(0x183)](_0x15b53c)},bsSetupHelper[_0x29a1ae(0x148)]());},exports[a178_0x4068dd(0x175)]=(_0x372be4,_0x1a62ed)=>{const _0x37d93c=a178_0x4068dd,_0x3ab247={'YmpVe':function(_0x262dc3,_0x171984){return _0x262dc3(_0x171984);},'CvXzS':_0x37d93c(0xe0)},_0x1e96b5={'frameworkName':_0x1a62ed,'frameworkVersion':_0x3ab247[_0x37d93c(0x1a4)](getFrameworkVersion,_0x1a62ed),'sdkVersion':bsSetupHelper[_0x37d93c(0x108)](),'language':_0x3ab247['CvXzS'],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x372be4,_0x1a62ed)};return process[_0x37d93c(0x187)][_0x37d93c(0xf5)]=JSON['stringify'](_0x1e96b5),_0x1e96b5;},exports[a178_0x4068dd(0x188)]=_0x295fb2=>{const _0x40cd06=a178_0x4068dd,_0x23fc17={};_0x23fc17[_0x40cd06(0x154)]=_0x40cd06(0x1ad),_0x23fc17['qxKjn']=_0x40cd06(0x1a2);const _0x356cd6=_0x23fc17;process[_0x40cd06(0x187)][_0x40cd06(0x10c)]=_0x356cd6[_0x40cd06(0x154)],bsSetupHelper[_0x40cd06(0xeb)](_0x295fb2[_0x40cd06(0x1b3)][_0x40cd06(0xe2)])&&(!_0x295fb2['percy']||!_0x295fb2['percy'][_0x40cd06(0x10a)]())&&(process[_0x40cd06(0x187)][_0x40cd06(0x10c)]=_0x356cd6[_0x40cd06(0x115)]);},exports[a178_0x4068dd(0x1ac)]=()=>{const _0x173f9a=a178_0x4068dd;return bsSetupHelper[_0x173f9a(0xeb)](process[_0x173f9a(0x187)][_0x173f9a(0x10c)]);},exports[a178_0x4068dd(0xff)]=(_0x28134b={})=>{const _0x1d700b=a178_0x4068dd,_0x23bd76={};_0x23bd76[_0x1d700b(0x1ab)]=function(_0x53ab7a,_0x59cd11){return _0x53ab7a!==_0x59cd11;},_0x23bd76['lGytL']=function(_0x497c06,_0x24ed9a){return _0x497c06===_0x24ed9a;},_0x23bd76[_0x1d700b(0x13b)]=_0x1d700b(0x1a2),_0x23bd76['umHnH']=function(_0x382289,_0x4c6134){return _0x382289>_0x4c6134;},_0x23bd76['cfBpK']=function(_0x1a88f7,_0x5c7ab8){return _0x1a88f7===_0x5c7ab8;};const _0x27139e=_0x23bd76;if(_0x27139e[_0x1d700b(0x1ab)](process[_0x1d700b(0x187)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper['isTrue'](process[_0x1d700b(0x187)]['BROWSERSTACK_ACCESSIBILITY']);let _0x482898=_0x27139e['lGytL'](process[_0x1d700b(0x187)][_0x1d700b(0x1b1)],_0x27139e['Dyrjq']);return _0x27139e[_0x1d700b(0x16d)](Object[_0x1d700b(0x19e)](_0x28134b)[_0x1d700b(0x191)],0x0)&&(process[_0x1d700b(0x187)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=accessibilityHelper[_0x1d700b(0xef)](_0x28134b)),_0x482898=_0x482898||_0x27139e[_0x1d700b(0x103)](process[_0x1d700b(0x187)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x27139e[_0x1d700b(0x13b)]),_0x482898;},exports[a178_0x4068dd(0x16e)]=(_0x16593b,_0x409963)=>{const _0x1f7100=a178_0x4068dd,_0x4c5649={'JrPXU':function(_0x5ef363){return _0x5ef363();},'HZBNR':_0x1f7100(0xdc),'yrJTG':function(_0xf7badd,_0x516cb8,_0x25ac60){return _0xf7badd(_0x516cb8,_0x25ac60);},'usVtf':'observability','WJVmL':_0x1f7100(0x174),'COkNw':_0x1f7100(0x1a2)};if(!_0x16593b||!_0x16593b['observability'])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x16593b[_0x1f7100(0x144)][_0x1f7100(0x1af)])return exports[_0x1f7100(0x101)](_0x16593b['observability']),[null,null,null];if(_0x4c5649[_0x1f7100(0x116)](isTestObservabilitySession)){const _0x18b398=_0x4c5649['HZBNR'][_0x1f7100(0x167)]('|');let _0x5a216d=0x0;while(!![]){switch(_0x18b398[_0x5a216d++]){case'0':if(_0x16593b[_0x1f7100(0xf0)]){process[_0x1f7100(0x187)]['BS_TESTOPS_JWT']=_0x16593b['jwt'];const _0x490987={};_0x490987['username']=_0x409963['username'],_0x490987[_0x1f7100(0x156)]=_0x409963[_0x1f7100(0x156)],process['env'][_0x1f7100(0xf4)]=JSON[_0x1f7100(0x12c)](_0x490987);}continue;case'1':_0x4c5649[_0x1f7100(0x179)](nestedKeyValue,_0x16593b,[_0x4c5649[_0x1f7100(0x1ae)],_0x4c5649[_0x1f7100(0xe9)]])&&(process[_0x1f7100(0x187)][_0x1f7100(0x147)]=_0x16593b['observability']['options'][_0x1f7100(0x13d)]['toString']());continue;case'2':_0x16593b[_0x1f7100(0x130)]&&(process[_0x1f7100(0x187)][_0x1f7100(0x164)]=_0x16593b['build_hashed_id']);continue;case'3':logger[_0x1f7100(0x11b)]('['+constants['TEST_REPORTING_ANALYTICS']+']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x16593b['build_hashed_id']);continue;case'4':process[_0x1f7100(0x187)][_0x1f7100(0x1b6)]=_0x4c5649[_0x1f7100(0xe6)];continue;case'5':return[_0x16593b[_0x1f7100(0xf0)],_0x16593b[_0x1f7100(0x130)],process[_0x1f7100(0x187)][_0x1f7100(0x147)]];}break;}}return[null,null,null];},exports[a178_0x4068dd(0x151)]=_0x910638=>{const _0x1fd0e4=a178_0x4068dd,_0x3111e5={'vTgKG':function(_0x2ec134,_0x3b2643,_0xa880f8){return _0x2ec134(_0x3b2643,_0xa880f8);},'vtUsw':_0x1fd0e4(0x120),'ZBvRC':_0x1fd0e4(0x174),'AdLtw':function(_0x49c87f,_0x2f6a57,_0x30c38d,_0x15f259){return _0x49c87f(_0x2f6a57,_0x30c38d,_0x15f259);},'UoYns':_0x1fd0e4(0x117),'eKjMz':_0x1fd0e4(0x1a0),'yjiWC':_0x1fd0e4(0x1aa),'hwTGp':_0x1fd0e4(0xde),'fihRN':_0x1fd0e4(0x16b),'gHmUx':_0x1fd0e4(0xe8),'XCyNQ':function(_0x228348,_0x3ebfc3){return _0x228348(_0x3ebfc3);},'ppqAz':function(_0x4879a2,_0x3b69f4){return _0x4879a2===_0x3b69f4;},'vZPrI':'true','BxIkd':_0x1fd0e4(0x168)};if(!_0x910638[_0x1fd0e4(0x120)])return exports[_0x1fd0e4(0x123)](),[null,null];if(!_0x910638[_0x1fd0e4(0x120)][_0x1fd0e4(0x1af)])return exports[_0x1fd0e4(0x123)](_0x910638[_0x1fd0e4(0x120)]),[null,null];if(_0x3111e5[_0x1fd0e4(0xfa)](nestedKeyValue,_0x910638,[_0x3111e5[_0x1fd0e4(0xf3)],_0x3111e5['ZBvRC']])){const {accessibilityToken:_0x2644fc,scannerVersion:_0x485d14,scannerProcessingTimeout:_0xe75da,isMobileScanningEnabledForGroup:_0xb2b55}=_0x3111e5['AdLtw'](jsonifyAccessibilityArray,_0x910638[_0x1fd0e4(0x120)][_0x1fd0e4(0x174)][_0x1fd0e4(0x173)],_0x3111e5['UoYns'],_0x3111e5[_0x1fd0e4(0x18c)]),_0x4f1362={'scripts':_0x3111e5[_0x1fd0e4(0x189)](jsonifyAccessibilityArray,_0x910638[_0x1fd0e4(0x120)]['options'][_0x1fd0e4(0x195)],_0x3111e5['UoYns'],_0x3111e5['yjiWC'])};_0x4f1362[_0x3111e5[_0x1fd0e4(0x140)]]=_0x910638[_0x1fd0e4(0x120)][_0x1fd0e4(0x174)][_0x1fd0e4(0x169)][_0x1fd0e4(0xde)];const _0x158197=_0x3111e5[_0x1fd0e4(0x189)](jsonifyAccessibilityArray,_0x910638[_0x1fd0e4(0x120)]['options'][_0x1fd0e4(0x173)],_0x3111e5[_0x1fd0e4(0x19c)],_0x3111e5[_0x1fd0e4(0x18c)]);_0x4f1362[_0x3111e5[_0x1fd0e4(0x12f)]]=_0x158197[_0x3111e5['gHmUx']],scripts[_0x1fd0e4(0x13a)](_0x4f1362),scripts['toJson']();let _0x20a756=process[_0x1fd0e4(0x187)][_0x1fd0e4(0x185)];_0x20a756=!!_0x20a756?JSON[_0x1fd0e4(0x135)](_0x20a756):{},_0x20a756['scannerVersion']=_0x485d14,process[_0x1fd0e4(0x187)][_0x1fd0e4(0x185)]=JSON[_0x1fd0e4(0x12c)](_0x20a756),process[_0x1fd0e4(0x187)][_0x1fd0e4(0x14f)]=_0x2644fc,process[_0x1fd0e4(0x187)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x3111e5[_0x1fd0e4(0xf6)](String,_0x3111e5['ppqAz'](_0xb2b55,!![])||_0x3111e5['ppqAz'](_0xb2b55,_0x3111e5[_0x1fd0e4(0xf9)])),logger[_0x1fd0e4(0x11b)](_0x1fd0e4(0x133)+_0x910638[_0x1fd0e4(0x130)]);const _0x18f965=accessibilityHelper[_0x1fd0e4(0x139)](_0x2644fc);return _0x18f965&&bsSetupHelper[_0x1fd0e4(0xeb)](_0x18f965[_0x1fd0e4(0x13f)])&&(process[_0x1fd0e4(0x187)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger[_0x1fd0e4(0x11b)](_0x3111e5['BxIkd'])),[_0x2644fc,_0x910638[_0x1fd0e4(0x130)],_0xe75da];}return[null,null];},exports[a178_0x4068dd(0x101)]=_0x35a365=>{const _0x79ea09=a178_0x4068dd,_0x579935={};_0x579935[_0x79ea09(0xe7)]=_0x79ea09(0x19a),_0x579935['DLGMm']='null',_0x579935['LHOgw']=_0x79ea09(0x1ad);const _0x4b39ad=_0x579935,_0x406ebf=_0x4b39ad['mTxeL'][_0x79ea09(0x167)]('|');let _0x12898e=0x0;while(!![]){switch(_0x406ebf[_0x12898e++]){case'0':process[_0x79ea09(0x187)][_0x79ea09(0x136)]=_0x4b39ad['DLGMm'];continue;case'1':process[_0x79ea09(0x187)][_0x79ea09(0x15e)]=_0x4b39ad[_0x79ea09(0x16a)];continue;case'2':process[_0x79ea09(0x187)][_0x79ea09(0x1b6)]=_0x4b39ad[_0x79ea09(0x196)];continue;case'3':exports[_0x79ea09(0x1b2)](_0x35a365,testHubConstants[_0x79ea09(0xfb)]);continue;case'4':process[_0x79ea09(0x187)][_0x79ea09(0x164)]=_0x4b39ad[_0x79ea09(0x16a)];continue;case'5':process[_0x79ea09(0x187)][_0x79ea09(0x11e)]=_0x4b39ad['DLGMm'];continue;case'6':process['env'][_0x79ea09(0x147)]=_0x4b39ad['DLGMm'];continue;}break;}},exports[a178_0x4068dd(0x123)]=_0x75ec97=>{const _0x5bfa38=a178_0x4068dd,_0x144288={};_0x144288[_0x5bfa38(0x180)]=_0x5bfa38(0x14a),_0x144288[_0x5bfa38(0x158)]=_0x5bfa38(0x15a),_0x144288[_0x5bfa38(0x172)]=_0x5bfa38(0x1ad);const _0x9f8b36=_0x144288,_0x5c8608=_0x9f8b36[_0x5bfa38(0x180)][_0x5bfa38(0x167)]('|');let _0xe40247=0x0;while(!![]){switch(_0x5c8608[_0xe40247++]){case'0':process['env'][_0x5bfa38(0x15e)]=_0x9f8b36['zAQDb'];continue;case'1':process[_0x5bfa38(0x187)][_0x5bfa38(0x1b1)]=_0x9f8b36[_0x5bfa38(0x172)];continue;case'2':exports[_0x5bfa38(0x1b2)](_0x75ec97,testHubConstants['ACCESSIBILITY']);continue;case'3':process[_0x5bfa38(0x187)][_0x5bfa38(0x141)]=_0x9f8b36[_0x5bfa38(0x172)];continue;case'4':process[_0x5bfa38(0x187)][_0x5bfa38(0x11e)]=_0x9f8b36[_0x5bfa38(0x158)];continue;}break;}},exports[a178_0x4068dd(0x1b2)]=(_0xe9be7d,_0x4a76b2='')=>{const _0x1566c4=a178_0x4068dd,_0x243519={};_0x243519[_0x1566c4(0x137)]=function(_0x224f7c,_0x76b972){return _0x224f7c===_0x76b972;};const _0x2d4e4a=_0x243519;if(_0x2d4e4a[_0x1566c4(0x137)](_0xe9be7d,undefined)){logger['error'](_0x4a76b2[_0x1566c4(0x177)]()+_0x1566c4(0x159));return;}for(const _0x4a0148 of _0xe9be7d[_0x1566c4(0x128)]){const _0xc6a23=_0x4a0148[_0x1566c4(0x171)],_0x5d60f2=_0x4a0148['message'];if(_0x5d60f2)switch(_0xc6a23){case testHubConstants['ERROR']['INVALID_CREDENTIALS']:logger['error'](_0x5d60f2);break;case testHubConstants[_0x1566c4(0x107)]['ACCESS_DENIED']:logger[_0x1566c4(0x153)](_0x5d60f2);break;case testHubConstants[_0x1566c4(0x107)]['DEPRECATED']:logger[_0x1566c4(0x142)](_0x5d60f2);break;default:logger['error'](_0x5d60f2);}}};const jsonifyAccessibilityArray=(_0x54c524,_0x5b030d,_0x2c8b23)=>{const _0x4aad12=a178_0x4068dd,_0x212125={};return _0x54c524[_0x4aad12(0x182)](_0x2c4cbb=>{_0x212125[_0x2c4cbb[_0x5b030d]]=_0x2c4cbb[_0x2c8b23];}),_0x212125;};function a178_0xc1fa(_0x4b426e,_0x3bc8aa){const _0x255c53=a178_0x255c();return a178_0xc1fa=function(_0xc1fa01,_0x4f9411){_0xc1fa01=_0xc1fa01-0xdc;let _0x27c142=_0x255c53[_0xc1fa01];return _0x27c142;},a178_0xc1fa(_0x4b426e,_0x3bc8aa);}exports[a178_0x4068dd(0x13e)]=_0xe817e0=>{const _0x3c8fb9=a178_0x4068dd;_0xe817e0['jwt']&&(process['env']['BROWSERSTACK_TESTHUB_JWT']=_0xe817e0[_0x3c8fb9(0xf0)]);_0xe817e0[_0x3c8fb9(0x130)]&&(process[_0x3c8fb9(0x187)][_0x3c8fb9(0x15e)]=_0xe817e0[_0x3c8fb9(0x130)],logger[_0x3c8fb9(0x11b)](_0x3c8fb9(0x1b0)+_0xe817e0[_0x3c8fb9(0x130)]));;},exports[a178_0x4068dd(0x113)]=(_0x2488f0='',_0x1c7c8a='')=>{const _0x2260a1=a178_0x4068dd,_0x10224f={'BHGSU':function(_0x222111){return _0x222111();},'upYJe':function(_0x2aacc3,_0x9b2ad5){return _0x2aacc3===_0x9b2ad5;},'DkdKr':'uploadEventData','lVeLy':_0x2260a1(0x10d),'ixEQM':_0x2260a1(0x126),'gIDLC':_0x2260a1(0xe3),'vMrJq':_0x2260a1(0xee),'cpqzI':function(_0x197dd4){return _0x197dd4();}};if(exports[_0x2260a1(0x1ac)]()&&!exports[_0x2260a1(0xff)]()&&!_0x10224f['BHGSU'](isTestObservabilitySession)){if(_0x10224f[_0x2260a1(0xe1)](_0x1c7c8a,_0x10224f[_0x2260a1(0x15c)]))return![];if([_0x10224f[_0x2260a1(0x199)],_0x10224f[_0x2260a1(0xf2)]]['includes'](_0x2488f0))return![];return!![];}if(exports[_0x2260a1(0xff)]()&&!_0x10224f[_0x2260a1(0x18a)](isTestObservabilitySession)){if([_0x10224f[_0x2260a1(0x12b)],_0x10224f[_0x2260a1(0x184)],_0x10224f['lVeLy']][_0x2260a1(0x16f)](_0x2488f0))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x10224f[_0x2260a1(0x15f)](isTestObservabilitySession)||exports['isPercyBuild']();},exports[a178_0x4068dd(0x170)]=(_0x698da7,_0x49deeb,_0xa8d8c5='',_0x4abb55)=>{const _0x310c50=a178_0x4068dd,_0x3db416={'jcayf':_0x310c50(0xe3),'SUoaq':_0x310c50(0xee),'JEQGI':function(_0x1924dd,_0x17a2c6){return _0x1924dd===_0x17a2c6;},'XVdMT':_0x310c50(0x193),'kWOgW':_0x310c50(0x149),'ObYMF':_0x310c50(0x120),'isNeJ':function(_0x25b964,_0x2d6758){return _0x25b964&&_0x2d6758;},'IUFOM':function(_0x367f8f,_0x4ff2ba){return _0x367f8f===_0x4ff2ba;},'sSayc':function(_0x220d8d,_0x34d2c8){return _0x220d8d+_0x34d2c8;},'FBMXv':function(_0x2ca09b,_0x31d40d){return _0x2ca09b+_0x31d40d;},'DgurA':function(_0x1f7942,_0x5360f9){return _0x1f7942(_0x5360f9);},'gwZem':'../../bin/jasmine/testRunMap.js','HMZuu':function(_0x5905ba,_0x147631){return _0x5905ba+_0x147631;},'oIcex':function(_0x290967,_0x163c0b){return _0x290967+_0x163c0b;},'efKya':function(_0x563ed4,_0x59111f){return _0x563ed4&&_0x59111f;},'NimTW':function(_0x4f1e4d,_0x3f3399){return _0x4f1e4d===_0x3f3399;},'IgxFp':function(_0x2a5cfd,_0x44dde8){return _0x2a5cfd!==_0x44dde8;},'SApgG':_0x310c50(0x17d),'DISHn':function(_0x1c1efb,_0x1eb5b1){return _0x1c1efb&&_0x1eb5b1;},'HfTmb':function(_0x1968b2,_0x3e0883){return _0x1968b2===_0x3e0883;},'xuplj':function(_0x18e9d6,_0x4516d9){return _0x18e9d6&&_0x4516d9;},'GOpVR':_0x310c50(0x157)};if([_0x3db416[_0x310c50(0x181)],_0x3db416[_0x310c50(0x1b4)]][_0x310c50(0x16f)](_0x49deeb))return;let _0x1c5aab={};try{process[_0x310c50(0x187)][_0x310c50(0x10f)]&&(_0x1c5aab=JSON[_0x310c50(0x135)](process['env'][_0x310c50(0x10f)])||{});}catch(_0x5ef2a5){logger[_0x310c50(0x11b)](_0x310c50(0x18f)+_0x5ef2a5),_0x1c5aab={};}if(exports[_0x310c50(0xff)]()){if(_0x3db416[_0x310c50(0x11c)](_0x4abb55,FRAMEWORKS[_0x310c50(0x119)])){const _0x19f678=globals[_0x310c50(0x112)](_0x3db416[_0x310c50(0x14d)])||accessibilityHelper[_0x310c50(0x1a5)](_0xa8d8c5[_0x310c50(0x150)](),!![]),_0x5b2e55=globals[_0x310c50(0x112)](_0x3db416['kWOgW']);_0x1c5aab[_0x3db416['ObYMF']]=_0x3db416[_0x310c50(0x186)](_0x5b2e55,_0x19f678);}if(_0x3db416['IUFOM'](_0x4abb55,FRAMEWORKS['JEST'])){const _0x240550=_0x3db416[_0x310c50(0xed)](_0x3db416[_0x310c50(0x132)](_0x698da7[_0x310c50(0x100)]['join']('\x20'),'\x20'),_0xa8d8c5['name']),_0x1000d5=globals['getGlobal'](_0x3db416[_0x310c50(0x14d)])||accessibilityHelper[_0x310c50(0x1a5)](_0x240550,![]),_0xf31260=browserStackGlobals[_0x310c50(0x149)];_0x1c5aab[_0x3db416[_0x310c50(0x1a3)]]=_0x3db416[_0x310c50(0x186)](_0xf31260,_0x1000d5);}if(_0x3db416['IUFOM'](_0x4abb55,FRAMEWORKS[_0x310c50(0x138)])){const _0x2f022f=_0x3db416['DgurA'](require,_0x3db416[_0x310c50(0x118)]),_0x26b609=_0xa8d8c5&&_0x2f022f[_0x310c50(0x124)](_0xa8d8c5['id'])||_0x698da7[_0x310c50(0x17e)];_0x26b609&&(_0x698da7[_0x310c50(0x17e)]=_0x26b609);const _0x3392cd=_0x3db416[_0x310c50(0x122)](_0x3db416[_0x310c50(0xfd)](_0x698da7['scopes'][_0x310c50(0x134)]('\x20'),'\x20'),_0xa8d8c5[_0x310c50(0x106)]||_0x698da7[_0x310c50(0x117)]),_0x1535a8=globals['getGlobal'](_0x3db416[_0x310c50(0x14d)])||accessibilityHelper[_0x310c50(0x1a5)](_0x3392cd,![]),_0x6705f3=globals[_0x310c50(0x112)](_0x3db416[_0x310c50(0x163)]);_0x1c5aab[_0x3db416[_0x310c50(0x1a3)]]=_0x3db416['efKya'](_0x6705f3,_0x1535a8);}_0x3db416['NimTW'](_0x4abb55,FRAMEWORKS['PLAYWRIGHT'])&&_0x3db416['IgxFp'](_0x49deeb,_0x3db416['SApgG'])&&(_0x1c5aab[_0x3db416[_0x310c50(0x1a3)]]=PWTestDetails['getAccessibilityPlatformValidation'](_0x698da7[_0x310c50(0x17e)]));if(_0x3db416[_0x310c50(0x11c)](_0x4abb55,FRAMEWORKS[_0x310c50(0x111)])){const _0x4f65be=accessibilityHelper[_0x310c50(0x1a5)](_0xa8d8c5[_0x310c50(0x150)](),!![]),_0x396e20=global[_0x310c50(0x198)];_0x1c5aab[_0x3db416[_0x310c50(0x1a3)]]=_0x3db416['DISHn'](_0x396e20,_0x4f65be);}if(_0x3db416['HfTmb'](_0x4abb55,FRAMEWORKS[_0x310c50(0xf7)])){const _0x32732e=accessibilityHelper[_0x310c50(0x1a5)](null,![],_0x698da7[_0x310c50(0x162)]),_0x1027a7=globals[_0x310c50(0x112)](_0x3db416[_0x310c50(0x163)]);_0x1c5aab[_0x3db416['ObYMF']]=_0x3db416[_0x310c50(0x15b)](_0x1027a7,_0x32732e);}}_0x698da7[_0x3db416['GOpVR']]=_0x1c5aab;},exports[a178_0x4068dd(0x12e)]=_0xee89ae=>{const _0x4a7540=a178_0x4068dd,_0x451ba5={};_0x451ba5[_0x4a7540(0x11d)]=function(_0x1195ec,_0x517a50){return _0x1195ec>_0x517a50;};const _0x54b2a7=_0x451ba5;let _0x4cb6df={};if(_0x54b2a7[_0x4a7540(0x11d)](Object[_0x4a7540(0x19e)](testData)[_0x4a7540(0x191)],0x0))return testData;_0x4cb6df=JestTestDetails[_0x4a7540(0x155)]();if(_0x54b2a7['hAqpv'](Object['keys'](_0x4cb6df)['length'],0x0))return _0x4cb6df;return _0x4cb6df;},exports['setCurrentTestData']=(_0x496572,_0x550240={})=>{const _0x498037=a178_0x4068dd;if(bsSetupHelper[_0x498037(0x104)](_0x550240[_0x498037(0x192)]))return;switch(_0x496572){case FRAMEWORKS[_0x498037(0x119)]:testData=_0x550240[_0x498037(0x192)];break;case FRAMEWORKS['JEST']:JestTestDetails[_0x498037(0x131)](_0x550240[_0x498037(0x192)]);break;case FRAMEWORKS[_0x498037(0x138)]:testData=_0x550240[_0x498037(0x192)];break;default:break;}},exports['getAccessibilityValueFromYml']=_0x2fb7ff=>{const _0x2f527f=a178_0x4068dd,_0xee8066={};_0xee8066[_0x2f527f(0x160)]=function(_0x447c57,_0x49eecf){return _0x447c57!==_0x49eecf;},_0xee8066[_0x2f527f(0x18d)]=function(_0x53785d,_0x12b1ab){return _0x53785d!==_0x12b1ab;},_0xee8066[_0x2f527f(0x19f)]=function(_0x24a645,_0x460dee){return _0x24a645!==_0x460dee;};const _0xd27eda=_0xee8066;if(_0xd27eda[_0x2f527f(0x160)](_0x2fb7ff[_0x2f527f(0x120)],null)&&_0xd27eda[_0x2f527f(0x18d)](_0x2fb7ff[_0x2f527f(0x120)],undefined))return _0x2fb7ff[_0x2f527f(0x120)];let _0xbe1065=![],_0x5e1a39=![];if(_0x2fb7ff[_0x2f527f(0xe4)])for(const _0x3b5a31 of _0x2fb7ff[_0x2f527f(0xe4)]){_0xd27eda[_0x2f527f(0x18d)](_0x3b5a31[_0x2f527f(0x120)],null)&&_0xd27eda[_0x2f527f(0x19f)](_0x3b5a31[_0x2f527f(0x120)],undefined)&&(_0xbe1065=_0xbe1065||bsSetupHelper['isTrue'](_0x3b5a31[_0x2f527f(0x120)]),_0x5e1a39=!![]);}if(_0x5e1a39)return _0xbe1065;return null;},exports['getTestOrchestrationBuildStartData']=_0x2a629d=>{const _0x424859=a178_0x4068dd;if(!_0x2a629d)return{};const _0x79a3a5=new OrchestrationUtils(_0x2a629d);return _0x79a3a5[_0x424859(0xec)]();},exports[a178_0x4068dd(0x1a8)]=_0x2a580b=>{const _0x17df52=a178_0x4068dd,_0x30baa0={'Okufm':function(_0x1899e2){return _0x1899e2();},'TpvTG':function(_0x417107,_0xfbe0f9){return _0x417107===_0xfbe0f9;},'DgMvr':_0x17df52(0x1a2)};let _0x518c03=![],_0x327095=![];if(bsSetupHelper[_0x17df52(0x15d)]()&&bsSetupHelper[_0x17df52(0x1a6)](_0x2a580b))_0x327095=!![];else bsSetupHelper[_0x17df52(0x15d)]()&&(_0x518c03=!![]);return Object[_0x17df52(0x14b)]({'observability':_0x30baa0[_0x17df52(0x1a9)](isTestObservabilitySession),'accessibility':exports[_0x17df52(0x125)](_0x2a580b),'percy':_0x2a580b[_0x17df52(0xe2)]||![],'sr_automation':_0x30baa0['TpvTG'](process[_0x17df52(0x187)]['BROWSERSTACK_SR_AUTOMATION'],_0x30baa0[_0x17df52(0x17a)])||_0x2a580b['sr_automation']||![],'automate':_0x518c03,'app_automate':_0x327095,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x2a580b),'lts':LoadTestModule[_0x17df52(0x183)](_0x2a580b)},bsSetupHelper[_0x17df52(0x148)]());};function a178_0x255c(){const _0x51ad9c=['password','product_map','zAQDb','\x20Build\x20creation\x20failed','null','xuplj','DkdKr','isBrowserstackInfra','BROWSERSTACK_TESTHUB_UUID','cpqzI','ZQUwN','WSGxz','tags','kWOgW','BS_TESTOPS_BUILD_HASHED_ID','AskED','AuZfr','split','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','commandsToWrap','DLGMm','nonBStackInfraA11yChromeOptions','../../bin/jest/test-observability/test-details.js','umHnH','setTestObservabilityVariables','includes','appendTesthubParams','key','JpMko','capabilities','options','getFrameworkDetails','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','toUpperCase','BROWSERSTACK_SR_AUTOMATION','yrJTG','DgMvr','../test-observability/utils','testPlanId','TestRunStarted','uuid','8vRezxx','pkYvj','jcayf','forEach','isLTSSession','vMrJq','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isNeJ','env','setPercyFlag','AdLtw','BHGSU','../logger','eKjMz','fyXnk','winstonLogger','Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20','1392648fRcXmx','length','test_run','bstackA11yShouldScan','argv','scripts','LHOgw','897554ngzbNo','accessibilityPlatform','lVeLy','1|5|2|0|4|6|3','../test-observability/constants.js','UoYns','slice','keys','ZzuMf','value','./constants.js','true','ObYMF','YmpVe','shouldScanTestForAccessibility','isAppAutomateSession','3691902eyHuIc','getProductMapForBuildStartCall','Okufm','command','PXHLT','isPercyBuild','false','usVtf','success','BROWSERSTACK_TESTHUB_UUID:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','logBuildError','config','SUoaq','aZpxU','BS_TESTOPS_BUILD_COMPLETED','4|0|2|1|3|5','dUpJM','commands','../accessibility-automation/scripts.js','javascript','upYJe','percy','HookRunStarted','platforms','../helper.js','COkNw','mTxeL','goog:chromeOptions','WJVmL','2676828PiVxwy','isTrue','getBuildStartData','sSayc','HookRunFinished','checkAccessibilityPlatformConfig','jwt','jnwox','ixEQM','vtUsw','CREDENTIALS_FOR_CRASH_REPORTING','FRAMEWORK_DETAILS','XCyNQ','CUCUMBER','330732ZUvqpw','vZPrI','vTgKG','OBSERVABILITY','../accessibility-automation/helper','oIcex','5bKvMCI','isAccessibilityEnabled','scopes','handleErrorForObservability','20plZQGy','cfBpK','isUndefined','../helper','description','ERROR','getAgentVersion','xfoEy','isRunning','BROWSERSTACK_TEST_PLAN_ID','BROWSERSTACK_PERCY','LogCreated','isTurboScaleSession','BROWSERSTACK_PRODUCT_MAP','message','CODECEPT','getGlobal','shouldProcessEventForTesthub','1tnWfNm','qxKjn','JrPXU','name','gwZem','MOCHA','../test-orchestration/orchestrationUtils.js','debug','JEQGI','hAqpv','BROWSERSTACK_TESTHUB_JWT','114066EISCHF','accessibility','getProductMap','HMZuu','handleErrorForAccessibility','get','getAccessibilityValueFromYml','CBTSessionCreated','62919IlssJq','errors','testManagementOptions','trim','gIDLC','stringify','getTestPlanId','getCurrentTestData','fihRN','build_hashed_id','setTestData','FBMXv','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','join','parse','BS_TESTOPS_JWT','oYuFR','JASMINE','parseA11yJwtPayload','parseFromJson','Dyrjq','qMSNU','allow_screenshots','setTestHubCommonMetaInfo','skipCDPConnectOverride','hwTGp','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','error','GHnck','observability','noUHw','sr_automation','BS_TESTOPS_ALLOW_SCREENSHOTS','getCentralUser','isAccessibilityPlatform','0|4|1|3|2','assign','../../bin/v2/modules/loadTestModule','XVdMT','../../bin/playwright/reporter/test-details.js','BS_A11Y_JWT','titlePath','setAccessibilityVariables','KbXNZ','info','WsNzA','getTestData'];a178_0x255c=function(){return _0x51ad9c;};return a178_0x255c();}const normalizeTestPlanId=_0x2ac09e=>{const _0x25e75e=a178_0x4068dd,_0x5db2f3={};_0x5db2f3['kHgjy']=function(_0x2fa4ad,_0x3ea993){return _0x2fa4ad!==_0x3ea993;},_0x5db2f3['WSGxz']='string',_0x5db2f3[_0x25e75e(0x109)]=function(_0x2b760a,_0x34e417){return _0x2b760a>_0x34e417;};const _0x5df2ec=_0x5db2f3;if(_0x5df2ec['kHgjy'](typeof _0x2ac09e,_0x5df2ec[_0x25e75e(0x161)]))return undefined;const _0x4fc4bc=_0x2ac09e[_0x25e75e(0x12a)]();return _0x5df2ec[_0x25e75e(0x109)](_0x4fc4bc[_0x25e75e(0x191)],0x0)?_0x4fc4bc:undefined;},readTestPlanIdFromCliArgs=(_0x403105=process[a178_0x4068dd(0x194)])=>{const _0x289e34=a178_0x4068dd,_0xca0ee5={};_0xca0ee5[_0x289e34(0x166)]=function(_0x770a8b,_0x5d64d9){return _0x770a8b<_0x5d64d9;},_0xca0ee5[_0x289e34(0x145)]=function(_0x2f48b3,_0x4102c6){return _0x2f48b3===_0x4102c6;},_0xca0ee5[_0x289e34(0x143)]=function(_0x22b763,_0x45c641){return _0x22b763+_0x45c641;};const _0x1d8c06=_0xca0ee5,_0x167c9a='--'+testHubConstants[_0x289e34(0x176)];for(let _0x7e80c=0x0;_0x1d8c06[_0x289e34(0x166)](_0x7e80c,_0x403105[_0x289e34(0x191)]);_0x7e80c+=0x1){const _0x78a681=_0x403105[_0x7e80c];if(_0x1d8c06[_0x289e34(0x145)](_0x78a681,_0x167c9a)){const _0x5ce2f0=_0x403105[_0x1d8c06[_0x289e34(0x143)](_0x7e80c,0x1)];if(!_0x5ce2f0||_0x5ce2f0['startsWith']('--'))return undefined;return _0x5ce2f0;}if(_0x78a681['startsWith'](_0x167c9a+'='))return _0x78a681[_0x289e34(0x19d)](_0x1d8c06[_0x289e34(0x143)](_0x167c9a[_0x289e34(0x191)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x47d6e1={})=>{const _0x538e86=a178_0x4068dd,_0x14d68f={'aZpxU':function(_0x13b8eb,_0x318f90){return _0x13b8eb(_0x318f90);}};return _0x14d68f[_0x538e86(0x1b5)](normalizeTestPlanId,_0x47d6e1&&_0x47d6e1[_0x538e86(0x129)]&&_0x47d6e1[_0x538e86(0x129)][_0x538e86(0x17c)]);};exports[a178_0x4068dd(0x12d)]=(_0x102e21={},_0x150695=process[a178_0x4068dd(0x194)],_0x23e49c=process[a178_0x4068dd(0x187)])=>{const _0x5370b9=a178_0x4068dd,_0x35fb6e={'jnwox':function(_0x24ad6a,_0x4469b1){return _0x24ad6a(_0x4469b1);},'KbXNZ':function(_0x3d16bc,_0x104c55){return _0x3d16bc(_0x104c55);}};try{const _0x40f55b=_0x35fb6e['jnwox'](normalizeTestPlanId,_0x35fb6e[_0x5370b9(0x152)](readTestPlanIdFromCliArgs,_0x150695));if(_0x40f55b)return _0x40f55b;const _0x3e71bf=_0x35fb6e[_0x5370b9(0xf1)](normalizeTestPlanId,_0x23e49c&&_0x23e49c[testHubConstants['ENV_VAR'][_0x5370b9(0x10b)]]);if(_0x3e71bf)return _0x3e71bf;return _0x35fb6e[_0x5370b9(0x152)](readTestPlanIdFromConfig,_0x102e21);}catch(_0x434bd7){return logger[_0x5370b9(0x11b)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x434bd7&&_0x434bd7[_0x5370b9(0x110)]?_0x434bd7['message']:_0x434bd7)),undefined;}};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a179_0x465458=a179_0x4c7f;(function(_0x1862ff,_0x37b8b9){const _0x23365c=a179_0x4c7f,_0x4740e0=_0x1862ff();while(!![]){try{const _0x2ce31c=-parseInt(_0x23365c(0x154))/0x1+parseInt(_0x23365c(0x120))/0x2+-parseInt(_0x23365c(0x138))/0x3+parseInt(_0x23365c(0x15a))/0x4*(-parseInt(_0x23365c(0x13b))/0x5)+-parseInt(_0x23365c(0x111))/0x6+parseInt(_0x23365c(0x12f))/0x7*(parseInt(_0x23365c(0x14f))/0x8)+parseInt(_0x23365c(0x187))/0x9*(parseInt(_0x23365c(0x17e))/0xa);if(_0x2ce31c===_0x37b8b9)break;else _0x4740e0['push'](_0x4740e0['shift']());}catch(_0x34d53d){_0x4740e0['push'](_0x4740e0['shift']());}}}(a179_0x50f7,0x3798e));const os=require('os'),util=require(a179_0x465458(0x115)),fs=require('fs'),{getProductMap}=require(a179_0x465458(0x151)),logger=require('./logger')[a179_0x465458(0x176)],constants=require('../bin/utils/constants'),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require('../bin/playwright/reporter/pwUtils'),{FUNNEL_INSTRUMENTATION_API_URL}=require(a179_0x465458(0x112)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a179_0x465458(0x144)),PerformanceTester=require(a179_0x465458(0x125)),globals=require(a179_0x465458(0x13e)),helper=require('./helper'),{isTestObservabilitySession}=require('./test-observability/utils');let unhandledErrors='';function a179_0x50f7(){const _0x5789c4=['AUTOMATE_PRODUCTS','getUserName','104MLwgAi','_buildHashedId','getFrameworkVersion','codeceptjs','YcZCN','join','vRtqh','browser','sdkRunId','user_killed','chmodSync','nodeRequest','POST','killSignal','stack','info','content-type','config','ENV_VAR','notifyUpdate','rWMUi','cTrAR','X_OK','push','agHVR','assign','length','\x20:\x20','winstonLogger','getTurboScaleSessionsList','iIsQz','browserStackConfig','selenium-webdriver','source','hubAllocation','eIGKo','350dNBlJm','reduce','tLaqu','Playwright','deviceName','env','undefined','tests','playwrightVersion','217737RUSGPQ','sendLogs','getTurboScaleBuildLink','Knudy','stringify','buildName','values','version','format','SDK\x20run\x20ended\x20for\x20id:\x20','parse','ctGXf','every','stopPercy','constants','SbvrA','fireFunnelTestEvent','object','globalException','getNodeAgent','finishedMetadata','getStackTraceAsString','NgcXz','acOWk','nodejs','\x20has\x20now\x20read/write/execute\x20permissions.','\x20response\x20-\x20','rMOqw','application/json','2726088fxopTP','../bin/utils/constants','wVfTF','isTurboScaleSession','util','unknown','WURff','NsERw','SDKTestSuccessful',',\x20testhub\x20id:\x20','[REDACTED]','finalExecution','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','isModifiable','requirePWModule','10752YhpvAR','siQMg','isNullOrEmpty','trim','hostname','./performance/performance-tester','split','isBrowserstackInfra','type','body','name','error','iEDsj','all','toString','5642kvIndt','getAccessKey','errorMessage','Bawpz','xcjlv','event_properties','getTestFrameworkDetails','AUTOMATE','isAppAutomateSession','1014987CgPQDJ','KmJbi','finalExecutionRan','5855SfivnV','debug','Cgawu','./globals','Error\x20in\x20firing\x20request\x20to\x20','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','getOptimalHubUrl','gqbAL','null','./helper','keys','ZdnnB','bIdrJ','framework','aQsZx','browserVersion','buildIdentifier','forEach','W_OK','replace','3848chHIIL','GMFpM','./testhub/utils','osVersion','UsaqN','188968FFdBzg','zstbp','NHKGy','getGlobal'];a179_0x50f7=function(){return _0x5789c4;};return a179_0x50f7();}function a179_0x4c7f(_0x58a664,_0x98f38f){const _0x50f797=a179_0x50f7();return a179_0x4c7f=function(_0x4c7f65,_0x2a49b7){_0x4c7f65=_0x4c7f65-0x111;let _0x49a9d7=_0x50f797[_0x4c7f65];return _0x49a9d7;},a179_0x4c7f(_0x58a664,_0x98f38f);}exports[a179_0x465458(0x197)]=async(_0x8ba803,_0x27f421={},_0x555c91,_0x27ad5a,_0x37e5e1=![])=>{const _0x3a3e82=a179_0x465458,_0x4ff34e={'tLaqu':function(_0x211db7,_0x2b93a6){return _0x211db7===_0x2b93a6;},'NsERw':_0x3a3e82(0x198),'acOWk':function(_0x48aec4,_0x9a6999){return _0x48aec4>_0x9a6999;},'UsaqN':_0x3a3e82(0x185),'GMFpM':function(_0x27328a){return _0x27328a();},'sJVPw':function(_0x3fb3a0,_0x1d17f2){return _0x3fb3a0==_0x1d17f2;},'cTrAR':_0x3a3e82(0x143),'YcZCN':_0x3a3e82(0x184),'iIsQz':_0x3a3e82(0x15d),'Bawpz':function(_0x27d1b9,_0x705c1f){return _0x27d1b9!==_0x705c1f;},'iEDsj':_0x3a3e82(0x181),'rMOqw':_0x3a3e82(0x12b),'lsGxi':function(_0x24a0cf,_0x4f4931){return _0x24a0cf+_0x4f4931;},'xcjlv':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','eIGKo':_0x3a3e82(0x15b),'zstbp':function(_0x1dcdef,_0xb99810){return _0x1dcdef(_0xb99810);},'NHKGy':function(_0x770356,_0x26fd6a){return _0x770356(_0x26fd6a);},'bIdrJ':_0x3a3e82(0x116),'ctGXf':_0x3a3e82(0x19f),'Knudy':_0x3a3e82(0x119),'SbvrA':function(_0xcc108e){return _0xcc108e();},'Cgawu':_0x3a3e82(0x17a),'UQwKf':_0x3a3e82(0x1a3),'gqbAL':_0x3a3e82(0x11b),'KmJbi':_0x3a3e82(0x166)};let _0x5a5c77=[];if(helper[_0x3a3e82(0x127)]()&&_0x4ff34e['GMFpM'](isTestObservabilitySession))_0x5a5c77=helper['isAppAutomateSession'](_0x555c91)?constants['APP_AUTOMATE_PRODUCTS']:constants[_0x3a3e82(0x158)];else{if(_0x4ff34e[_0x3a3e82(0x150)](isTestObservabilitySession))_0x5a5c77=constants[_0x3a3e82(0x140)];else helper[_0x3a3e82(0x127)]()&&(_0x5a5c77=helper[_0x3a3e82(0x137)](_0x555c91)?constants['APP_AUTOMATE']:constants[_0x3a3e82(0x136)]);}let _0x253c6b=_0x555c91[_0x3a3e82(0x14b)];if(_0x4ff34e['sJVPw'](_0x253c6b,null))_0x253c6b=_0x4ff34e[_0x3a3e82(0x16f)];else _0x4ff34e['tLaqu'](_0x253c6b,undefined)&&(_0x253c6b=_0x4ff34e[_0x3a3e82(0x15e)]);unhandledErrors&&_0x4ff34e[_0x3a3e82(0x19e)](unhandledErrors[_0x3a3e82(0x174)],0x0)&&(_0x27f421[_0x3a3e82(0x199)]=unhandledErrors);global[_0x3a3e82(0x162)]&&(_0x27f421['sdkRunId']=global[_0x3a3e82(0x162)]);try{if(_0x27f421[_0x3a3e82(0x12b)]){if(_0x4ff34e[_0x3a3e82(0x180)](_0x27ad5a,_0x4ff34e[_0x3a3e82(0x178)])&&_0x4ff34e['acOWk'](_0x27f421[_0x3a3e82(0x12b)]['length'],0x0)){const _0x1f5d99={};_0x1f5d99['os']='',_0x1f5d99[_0x3a3e82(0x152)]='',_0x1f5d99['browser']='',_0x1f5d99[_0x3a3e82(0x14a)]='';const _0x46c14d=_0x1f5d99;let _0x3b54ca={};const _0xf879d9=_0x27f421[_0x3a3e82(0x12b)];_0x3b54ca=_0xf879d9[_0x3a3e82(0x17f)]((_0x834dae,_0x58c202)=>{for(const _0x43c19e in _0x58c202){_0x834dae[_0x43c19e]=_0x58c202[_0x43c19e];}return _0x834dae;},{});const _0x230c46={};_0x230c46[_0x3a3e82(0x185)]=_0x3b54ca,_0x27f421['error']=[Object['assign']({},_0x46c14d,_0x230c46)];}else{let _0x499d4e=0x0;const _0x22631e=_0x4ff34e[_0x3a3e82(0x132)](_0x27ad5a,_0x4ff34e[_0x3a3e82(0x12c)])?JSON[_0x3a3e82(0x191)](_0x27f421[_0x3a3e82(0x12b)]):_0x27f421[_0x3a3e82(0x12b)],_0x300bcf=Object[_0x3a3e82(0x18d)](_0x22631e);_0x300bcf[_0x3a3e82(0x14c)](_0x1e7ef8=>{const _0x1f42a3=_0x3a3e82;if(_0x4ff34e[_0x1f42a3(0x180)](typeof _0x1e7ef8,_0x4ff34e[_0x1f42a3(0x118)])){const _0x37fbff=Object[_0x1f42a3(0x18d)](_0x1e7ef8);!_0x37fbff[_0x1f42a3(0x193)](_0x3a1a1d=>_0x3a1a1d===null||_0x3a1a1d===undefined||_0x3a1a1d==='')&&(_0x499d4e+=0x1);}});if(_0x4ff34e['tLaqu'](_0x499d4e,0x0))delete _0x27f421[_0x4ff34e[_0x3a3e82(0x1a2)]];else{const _0x3bb5b3=[];Object['keys'](_0x22631e)[_0x3a3e82(0x14c)](_0x33f125=>{const _0x522d98=_0x3a3e82,[_0x3fad1e,_0x1630f7,_0x56ec2e,_0x4f7142]=_0x33f125[_0x522d98(0x126)](',\x20');let _0x57e9d9={};if(!_0x4f7142){const _0x36152a={};_0x36152a[_0x522d98(0x182)]=_0x3fad1e,_0x36152a['osVersion']=_0x1630f7,_0x36152a[_0x522d98(0x161)]=_0x56ec2e,_0x57e9d9=_0x36152a;}else{const _0xdb500={};_0xdb500['os']=_0x3fad1e,_0xdb500[_0x522d98(0x152)]=_0x1630f7,_0xdb500[_0x522d98(0x161)]=_0x56ec2e,_0xdb500[_0x522d98(0x14a)]=_0x4f7142,_0x57e9d9=_0xdb500;}const _0x3423a8={},_0x3d8a88=_0x22631e[_0x33f125];Object[_0x522d98(0x145)](_0x3d8a88)[_0x522d98(0x14c)](_0x3d1dc2=>{const _0x29dd78=_0x522d98;_0x4ff34e[_0x29dd78(0x19e)](_0x3d8a88[_0x3d1dc2][_0x29dd78(0x174)],0x0)&&(_0x3423a8[_0x3d1dc2]=_0x3d8a88[_0x3d1dc2]);}),_0x4ff34e[_0x522d98(0x19e)](Object[_0x522d98(0x145)](_0x3423a8)['length'],0x0)&&(_0x57e9d9[_0x4ff34e[_0x522d98(0x153)]]=_0x3423a8,_0x3bb5b3[_0x522d98(0x171)](_0x57e9d9));}),_0x4ff34e[_0x3a3e82(0x19e)](_0x3bb5b3['length'],0x0)?_0x27f421[_0x3a3e82(0x12b)]=_0x3bb5b3:delete _0x27f421[_0x4ff34e[_0x3a3e82(0x1a2)]];}}}}catch(_0x30178a){delete _0x27f421[_0x4ff34e[_0x3a3e82(0x1a2)]],logger[_0x3a3e82(0x13c)](_0x4ff34e['lsGxi'](_0x4ff34e[_0x3a3e82(0x133)],_0x30178a));}const _0x2deb5c=helper[_0x3a3e82(0x135)](_0x555c91,_0x555c91[_0x3a3e82(0x148)]),_0xc2932={'userName':helper['getUserName'](_0x555c91),'accessKey':helper[_0x3a3e82(0x130)](_0x555c91),'event_type':_0x8ba803,'detectedFramework':_0x27ad5a,'buildHashedId':globals[_0x3a3e82(0x157)](_0x4ff34e[_0x3a3e82(0x17d)]),'optimalHubUrl':helper[_0x3a3e82(0x141)](),'event_properties':{'testhub_uuid':process[_0x3a3e82(0x183)][testHubConstants[_0x3a3e82(0x16c)]['BROWSERSTACK_TESTHUB_UUID']]||'','sdkRunId':global[_0x3a3e82(0x162)],'product_map':_0x4ff34e[_0x3a3e82(0x155)](getProductMap,_0x555c91),'productMap':_0x4ff34e[_0x3a3e82(0x156)](getProductMap,_0x555c91),'language_framework':_0x555c91[_0x3a3e82(0x17b)]||_0x4ff34e[_0x3a3e82(0x147)],'referrer':helper[_0x3a3e82(0x19a)](_0x27ad5a),'framework':_0x555c91['framework'],'frameworkVersion':helper[_0x3a3e82(0x15c)](_0x27ad5a),'automationFramework':_0x2deb5c[_0x3a3e82(0x12a)],'automationFrameworkVersion':_0x2deb5c[_0x3a3e82(0x18e)],'language':_0x4ff34e[_0x3a3e82(0x192)],'languageVersion':process[_0x3a3e82(0x18e)],'product':_0x5a5c77,'buildName':_0x555c91[_0x3a3e82(0x18c)]||_0x4ff34e[_0x3a3e82(0x15e)],'buildIdentifier':_0x253c6b,'os':os[_0x3a3e82(0x128)]()||_0x4ff34e['bIdrJ'],'hostname':os[_0x3a3e82(0x124)]()||_0x4ff34e[_0x3a3e82(0x147)],..._0x27f421,'isCLIEnabled':_0x37e5e1}};try{_0x4ff34e[_0x3a3e82(0x180)](_0x8ba803,_0x4ff34e[_0x3a3e82(0x18a)])&&(_0xc2932[_0x3a3e82(0x134)][_0x3a3e82(0x179)]=helper['sanitizeBrowserStackConfig'](_0x555c91)),_0x4ff34e[_0x3a3e82(0x180)](_0x27ad5a,_0x4ff34e[_0x3a3e82(0x12c)])?_0xc2932[_0x3a3e82(0x134)][_0x3a3e82(0x186)]=helper[_0x3a3e82(0x11f)]['apply'](null,_0x4ff34e[_0x3a3e82(0x196)](getTransformPath),!![]):_0xc2932[_0x3a3e82(0x134)]['seleniumVersion']=helper['getPackageVersion'](_0x4ff34e[_0x3a3e82(0x13d)]);}catch(_0x35388d){logger['debug']('Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20'+_0x35388d);}const _0x3da73b={};_0x3da73b[_0x3a3e82(0x16a)]=_0x4ff34e['UQwKf'];const _0x518e1f={'headers':_0x3da73b,'body':_0xc2932,'auth':{'user':helper[_0x3a3e82(0x159)](_0x555c91),'pass':helper['getAccessKey'](_0x555c91)},'json':!![]};logger[_0x3a3e82(0x13c)]('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON[_0x3a3e82(0x18b)](_0x518e1f[_0x3a3e82(0x129)])[_0x3a3e82(0x14e)](new RegExp(helper[_0x3a3e82(0x159)](_0x555c91),'g'),_0x4ff34e[_0x3a3e82(0x142)])[_0x3a3e82(0x14e)](new RegExp(helper[_0x3a3e82(0x130)](_0x555c91),'g'),_0x4ff34e[_0x3a3e82(0x142)]));try{const _0x3f4b4d=await helper[_0x3a3e82(0x165)](_0x4ff34e[_0x3a3e82(0x139)],FUNNEL_INSTRUMENTATION_API_URL,_0x518e1f,_0x555c91);logger[_0x3a3e82(0x13c)]('API\x20Event\x20'+_0x8ba803+_0x3a3e82(0x1a1)+util[_0x3a3e82(0x18f)]('%j',_0x3f4b4d));}catch(_0x2b0bb1){logger['debug'](_0x3a3e82(0x13f)+FUNNEL_INSTRUMENTATION_API_URL+_0x3a3e82(0x175)+util[_0x3a3e82(0x18f)](_0x2b0bb1));}},exports[a179_0x465458(0x11c)]=async(_0x3ac3cc,_0x34a617=![])=>{const _0xce61db=a179_0x465458,_0x1c5805={'siQMg':function(_0x2df938){return _0x2df938();},'rWMUi':'_hubAllocationData','agHVR':_0xce61db(0x19b),'WURff':_0xce61db(0x163),'NgcXz':_0xce61db(0x119),'JihOG':function(_0x4abfea,_0x461032,_0x2a61d2){return _0x4abfea(_0x461032,_0x2a61d2);},'cTEtx':function(_0xddcddf,_0x3b9b6d){return _0xddcddf+_0x3b9b6d;},'aQsZx':_0xce61db(0x11d)};if(_0x3ac3cc['finalExecutionRan'])return;_0x3ac3cc[_0xce61db(0x13a)]=!![];try{await _0x3ac3cc[_0xce61db(0x194)](),_0x1c5805[_0xce61db(0x121)](printNudgeLocalNotSetError);const _0x2a41b0={};_0x2a41b0['error']=_0x3ac3cc[_0xce61db(0x131)]?_0x3ac3cc[_0xce61db(0x131)]:'{}';const _0x4904ed=_0x2a41b0,_0x595703=Object[_0xce61db(0x173)]({},_0x4904ed),_0x470d60=globals['getGlobal'](_0x1c5805[_0xce61db(0x16e)]);_0x470d60&&(_0x595703[_0xce61db(0x17c)]=_0x470d60);!!_0x3ac3cc[_0xce61db(0x167)]&&(_0x595703[_0x1c5805[_0xce61db(0x172)]]={'reason':_0x1c5805[_0xce61db(0x117)],'signal':_0x3ac3cc[_0xce61db(0x167)]});unhandledErrors=_0x3ac3cc['unhandledErrors'][_0xce61db(0x15f)]('\x0a');let _0x6affa2,_0xcaeed2,_0x4477e3;helper[_0xce61db(0x114)](_0x3ac3cc['config'])?([_0x6affa2,_0xcaeed2]=await helper[_0xce61db(0x189)](_0x3ac3cc['config']),[_0x4477e3]=await Promise[_0xce61db(0x12d)]([helper[_0xce61db(0x177)](_0x6affa2,_0x3ac3cc[_0xce61db(0x16b)]),exports[_0xce61db(0x197)](_0x1c5805[_0xce61db(0x19d)],_0x595703,_0x3ac3cc[_0xce61db(0x16b)],_0x3ac3cc[_0xce61db(0x148)],_0x34a617)])):([_0x6affa2,_0xcaeed2]=await helper['getBuildLink'](_0x3ac3cc[_0xce61db(0x16b)]),[_0x4477e3]=await Promise[_0xce61db(0x12d)]([helper['getSessionsList'](_0x6affa2,_0x3ac3cc[_0xce61db(0x16b)]),exports[_0xce61db(0x197)](_0x1c5805[_0xce61db(0x19d)],_0x595703,_0x3ac3cc['config'],_0x3ac3cc[_0xce61db(0x148)],_0x34a617)])),_0x4477e3&&await _0x1c5805['JihOG'](generateCIArtifacts,_0x4477e3,_0xcaeed2),logger[_0xce61db(0x169)](_0xce61db(0x190)+_0x3ac3cc[_0xce61db(0x162)]+_0xce61db(0x11a)+process['env']['BROWSERSTACK_TESTHUB_UUID']),await helper[_0xce61db(0x188)](_0x3ac3cc['config']);}catch(_0x495bb0){logger[_0xce61db(0x13c)](_0x1c5805['cTEtx'](_0x1c5805[_0xce61db(0x149)],_0x495bb0));}helper[_0xce61db(0x16d)]();},exports[a179_0x465458(0x19c)]=_0x42d332=>{const _0x17a061=a179_0x465458,_0x329809={'wVfTF':function(_0x178c28,_0x1f1d8b){return _0x178c28 instanceof _0x1f1d8b;},'EHSvA':function(_0xbfac03,_0x200ce6){return _0xbfac03(_0x200ce6);}};try{if(_0x329809[_0x17a061(0x113)](_0x42d332,Error))return _0x42d332[_0x17a061(0x168)]||_0x42d332[_0x17a061(0x12e)]();return _0x329809['EHSvA'](String,_0x42d332);}catch(_0x20a057){return _0x42d332?_0x42d332[_0x17a061(0x12e)]():'';}},exports[a179_0x465458(0x122)]=_0x203703=>{const _0x596f29=a179_0x465458,_0x34b5c0={};_0x34b5c0[_0x596f29(0x160)]=function(_0x298190,_0x169e9d){return _0x298190===_0x169e9d;};const _0x21d5af=_0x34b5c0;return!_0x203703||_0x21d5af['vRtqh'](_0x203703[_0x596f29(0x123)](),'');},exports[a179_0x465458(0x11e)]=_0x2499e6=>{const _0x51ccbc=a179_0x465458,_0x1e80c1={};_0x1e80c1[_0x51ccbc(0x146)]=function(_0x229da9,_0x2a6529){return _0x229da9|_0x2a6529;};const _0x30829f=_0x1e80c1;try{return fs['accessSync'](_0x2499e6,_0x30829f[_0x51ccbc(0x146)](fs[_0x51ccbc(0x195)][_0x51ccbc(0x14d)],fs[_0x51ccbc(0x195)][_0x51ccbc(0x170)])),!![];}catch(_0x1bdc09){return![];}},exports['setReadWriteExecuteAccess']=_0x10d647=>{const _0x52546d=a179_0x465458;try{fs[_0x52546d(0x164)](_0x10d647,0x1ff),logger[_0x52546d(0x13c)]('Directory\x20'+_0x10d647+_0x52546d(0x1a0));}catch(_0x4402e6){logger[_0x52546d(0x12b)]('Failed\x20to\x20set\x20directory\x20access:\x20'+exports[_0x52546d(0x19c)](_0x4402e6));}};
|
|
1
|
+
function a179_0x2552(){const _0x4ebd0f=['262sgJjko','length','forEach','\x20has\x20now\x20read/write/execute\x20permissions.','killSignal','qCIQs','isModifiable','UPXYP','RNHPy','seleniumVersion','../helpers/testhub/constants','POST','./helper','push','RGibk','Zaolr','body','fireFunnelTestEvent','event_properties','format','parse','xDsWv','yLQVM','W_OK','getAccessKey','info','hmHbo','getPackageVersion','winstonLogger','VJNdX','./logger','../bin/utils/constants','getTestFrameworkDetails','nodejs','env','getStackTraceAsString','HauJm','hostname','sRaaZ','util','sCNID','tests','chmodSync','ivPek','playwrightVersion','deviceName','unhandledErrors','debug','buildIdentifier','24uLYeSr','setReadWriteExecuteAccess','source','notifyUpdate','47166BnZbNP','YNcky','accessSync','ENV_VAR','all','312oUyRts','unknown','reduce','AUTOMATE_PRODUCTS','xyiWS','eElrq','NmhdQ','undefined','name','gTLRM','object','YEseb','stopPercy','X_OK','replace','Failed\x20to\x20set\x20directory\x20access:\x20','type','[REDACTED]','45yDXNJu','error','browserVersion','oaOgx','join','\x20:\x20','getSessionsList','framework','getGlobal','../bin/playwright/reporter/pwUtils','getUserName','fZIXl','Error\x20in\x20firing\x20request\x20to\x20','keys','config','selenium-webdriver','TyHcB','BROWSERSTACK_TESTHUB_UUID','isAppAutomateSession','9176SYyBwF','LNYAR','tHJgr','finalExecution','GBcoy','gaDyy','getFrameworkVersion','kYQdk',',\x20testhub\x20id:\x20','gWaph','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','every','1282589WKsXJX','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','values','289768jdqcys','sdkRunId','691550RJWETj','hEeWw','assign','browser','MMXtx','Playwright','application/json','constants','kaUsN','osVersion','API\x20Event\x20','3343esPnPD','APP_AUTOMATE','isNullOrEmpty','getTurboScaleSessionsList','getBuildLink','split','rgkFm','errorMessage','LJVCr','nodeRequest','AUTOMATE','finishedMetadata','browserStackConfig','stringify','toString','finalExecutionRan','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','version','null','910YLXZpj','requirePWModule','_buildHashedId','stack','user_killed','1080876fzkqxC','isBrowserstackInfra','hubAllocation','FhSDD','sendLogs','trim'];a179_0x2552=function(){return _0x4ebd0f;};return a179_0x2552();}const a179_0x48f5e6=a179_0x4305;(function(_0x1c9836,_0x415b1b){const _0x4166a1=a179_0x4305,_0x1a71ef=_0x1c9836();while(!![]){try{const _0x3bee21=parseInt(_0x4166a1(0x1aa))/0x1*(-parseInt(_0x4166a1(0x1c8))/0x2)+parseInt(_0x4166a1(0x1c2))/0x3+parseInt(_0x4166a1(0x18e))/0x4*(parseInt(_0x4166a1(0x1bd))/0x5)+parseInt(_0x4166a1(0x169))/0x6*(-parseInt(_0x4166a1(0x164))/0x7)+-parseInt(_0x4166a1(0x19d))/0x8*(-parseInt(_0x4166a1(0x17b))/0x9)+-parseInt(_0x4166a1(0x19f))/0xa+parseInt(_0x4166a1(0x19a))/0xb*(parseInt(_0x4166a1(0x160))/0xc);if(_0x3bee21===_0x415b1b)break;else _0x1a71ef['push'](_0x1a71ef['shift']());}catch(_0xd7ed58){_0x1a71ef['push'](_0x1a71ef['shift']());}}}(a179_0x2552,0x51b2f));const os=require('os'),util=require(a179_0x48f5e6(0x156)),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require(a179_0x48f5e6(0x1e6))[a179_0x48f5e6(0x1e4)],constants=require('../bin/utils/constants'),testHubConstants=require(a179_0x48f5e6(0x1d2)),{getTransformPath}=require(a179_0x48f5e6(0x184)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a179_0x48f5e6(0x1e7)),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require('./performance/performance-tester'),globals=require('./globals'),helper=require(a179_0x48f5e6(0x1d4)),{isTestObservabilitySession}=require('./test-observability/utils');let unhandledErrors='';function a179_0x4305(_0x358208,_0x5b416b){const _0x2552ab=a179_0x2552();return a179_0x4305=function(_0x43058c,_0x5b658e){_0x43058c=_0x43058c-0x153;let _0x43cff4=_0x2552ab[_0x43058c];return _0x43cff4;},a179_0x4305(_0x358208,_0x5b416b);}exports['fireFunnelTestEvent']=async(_0x259214,_0x45dc11={},_0x3b9c23,_0x4fe190,_0x4c5031=![])=>{const _0x224da3=a179_0x48f5e6,_0x3f6c95={'LJVCr':function(_0x176940,_0x5cdfcc){return _0x176940===_0x5cdfcc;},'xyiWS':_0x224da3(0x173),'FhSDD':function(_0x4f9ba8,_0x44c24a){return _0x4f9ba8>_0x44c24a;},'KCiuH':function(_0x36845a,_0x31fc4e){return _0x36845a>_0x31fc4e;},'eElrq':_0x224da3(0x158),'hmHbo':function(_0x2e3dcc){return _0x2e3dcc();},'YNcky':function(_0x300a30,_0x2fbe06){return _0x300a30==_0x2fbe06;},'VJNdX':_0x224da3(0x1bc),'sRaaZ':_0x224da3(0x170),'tHJgr':function(_0x422b88,_0x344cc2){return _0x422b88>_0x344cc2;},'gTLRM':function(_0x4c13b8,_0x413e8c){return _0x4c13b8===_0x413e8c;},'RNHPy':'codeceptjs','toSWe':function(_0x161743,_0x16e1e6){return _0x161743!==_0x16e1e6;},'NmhdQ':_0x224da3(0x1a4),'MMXtx':_0x224da3(0x17c),'hEeWw':function(_0x189c03,_0x395a53){return _0x189c03>_0x395a53;},'QEZmH':function(_0x2fc843,_0x1c3ba6){return _0x2fc843+_0x1c3ba6;},'gWaph':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','UPXYP':_0x224da3(0x1bf),'fZIXl':function(_0x4e64f7,_0x4c8bbe){return _0x4e64f7(_0x4c8bbe);},'yLQVM':_0x224da3(0x16a),'xDsWv':_0x224da3(0x1e9),'TyHcB':'SDKTestSuccessful','HauJm':function(_0x2deb2f,_0x249b12){return _0x2deb2f===_0x249b12;},'kaUsN':function(_0x168afd){return _0x168afd();},'GBcoy':_0x224da3(0x18a),'oaOgx':_0x224da3(0x1a5),'sCNID':_0x224da3(0x17a),'IVdMO':_0x224da3(0x1d3)};let _0x189426=[];if(helper[_0x224da3(0x1c3)]()&&_0x3f6c95[_0x224da3(0x1e2)](isTestObservabilitySession))_0x189426=helper[_0x224da3(0x18d)](_0x3b9c23)?constants['APP_AUTOMATE_PRODUCTS']:constants[_0x224da3(0x16c)];else{if(_0x3f6c95[_0x224da3(0x1e2)](isTestObservabilitySession))_0x189426=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper[_0x224da3(0x1c3)]()&&(_0x189426=helper[_0x224da3(0x18d)](_0x3b9c23)?constants[_0x224da3(0x1ab)]:constants[_0x224da3(0x1b4)]);}let _0x40da86=_0x3b9c23[_0x224da3(0x15f)];if(_0x3f6c95[_0x224da3(0x165)](_0x40da86,null))_0x40da86=_0x3f6c95[_0x224da3(0x1e5)];else _0x3f6c95['LJVCr'](_0x40da86,undefined)&&(_0x40da86=_0x3f6c95[_0x224da3(0x155)]);unhandledErrors&&_0x3f6c95[_0x224da3(0x190)](unhandledErrors[_0x224da3(0x1c9)],0x0)&&(_0x45dc11['globalException']=unhandledErrors);global[_0x224da3(0x19e)]&&(_0x45dc11[_0x224da3(0x19e)]=global[_0x224da3(0x19e)]);try{if(_0x45dc11[_0x224da3(0x17c)]){if(_0x3f6c95[_0x224da3(0x172)](_0x4fe190,_0x3f6c95[_0x224da3(0x1d0)])&&_0x3f6c95[_0x224da3(0x190)](_0x45dc11[_0x224da3(0x17c)][_0x224da3(0x1c9)],0x0)){const _0x240e35={};_0x240e35['os']='',_0x240e35[_0x224da3(0x1a8)]='',_0x240e35[_0x224da3(0x1a2)]='',_0x240e35[_0x224da3(0x17d)]='';const _0x2ed397=_0x240e35;let _0x1a7586={};const _0x142e28=_0x45dc11['error'];_0x1a7586=_0x142e28[_0x224da3(0x16b)]((_0xcccf66,_0x45a657)=>{for(const _0x502e33 in _0x45a657){_0xcccf66[_0x502e33]=_0x45a657[_0x502e33];}return _0xcccf66;},{});const _0x25b248={};_0x25b248[_0x224da3(0x158)]=_0x1a7586,_0x45dc11[_0x224da3(0x17c)]=[Object[_0x224da3(0x1a1)]({},_0x2ed397,_0x25b248)];}else{let _0x1ac01f=0x0;const _0xffd78=_0x3f6c95['toSWe'](_0x4fe190,_0x3f6c95[_0x224da3(0x16f)])?JSON[_0x224da3(0x1dc)](_0x45dc11[_0x224da3(0x17c)]):_0x45dc11['error'],_0xd8e867=Object[_0x224da3(0x19c)](_0xffd78);_0xd8e867[_0x224da3(0x1ca)](_0x8e87c9=>{const _0x459278=_0x224da3;if(_0x3f6c95[_0x459278(0x1b2)](typeof _0x8e87c9,_0x3f6c95[_0x459278(0x16d)])){const _0x1a2604=Object[_0x459278(0x19c)](_0x8e87c9);!_0x1a2604[_0x459278(0x199)](_0x544cde=>_0x544cde===null||_0x544cde===undefined||_0x544cde==='')&&(_0x1ac01f+=0x1);}});if(_0x3f6c95[_0x224da3(0x172)](_0x1ac01f,0x0))delete _0x45dc11[_0x3f6c95[_0x224da3(0x1a3)]];else{const _0x2cb0b0=[];Object[_0x224da3(0x188)](_0xffd78)[_0x224da3(0x1ca)](_0x225cc3=>{const _0x1b7d2f=_0x224da3,[_0x23f86e,_0x4a77d6,_0x407765,_0x312a53]=_0x225cc3[_0x1b7d2f(0x1af)](',\x20');let _0x21b773={};if(!_0x312a53){const _0x4aff74={};_0x4aff74[_0x1b7d2f(0x15c)]=_0x23f86e,_0x4aff74[_0x1b7d2f(0x1a8)]=_0x4a77d6,_0x4aff74[_0x1b7d2f(0x1a2)]=_0x407765,_0x21b773=_0x4aff74;}else{const _0x80d7dd={};_0x80d7dd['os']=_0x23f86e,_0x80d7dd[_0x1b7d2f(0x1a8)]=_0x4a77d6,_0x80d7dd['browser']=_0x407765,_0x80d7dd[_0x1b7d2f(0x17d)]=_0x312a53,_0x21b773=_0x80d7dd;}const _0x3cb944={},_0x2e2867=_0xffd78[_0x225cc3];Object[_0x1b7d2f(0x188)](_0x2e2867)[_0x1b7d2f(0x1ca)](_0x33917c=>{const _0x17f55b=_0x1b7d2f;_0x3f6c95[_0x17f55b(0x1c5)](_0x2e2867[_0x33917c][_0x17f55b(0x1c9)],0x0)&&(_0x3cb944[_0x33917c]=_0x2e2867[_0x33917c]);}),_0x3f6c95['KCiuH'](Object[_0x1b7d2f(0x188)](_0x3cb944)[_0x1b7d2f(0x1c9)],0x0)&&(_0x21b773[_0x3f6c95[_0x1b7d2f(0x16e)]]=_0x3cb944,_0x2cb0b0[_0x1b7d2f(0x1d5)](_0x21b773));}),_0x3f6c95[_0x224da3(0x1a0)](_0x2cb0b0['length'],0x0)?_0x45dc11[_0x224da3(0x17c)]=_0x2cb0b0:delete _0x45dc11[_0x3f6c95[_0x224da3(0x1a3)]];}}}}catch(_0x21bc44){delete _0x45dc11[_0x3f6c95['MMXtx']],logger[_0x224da3(0x15e)](_0x3f6c95['QEZmH'](_0x3f6c95[_0x224da3(0x197)],_0x21bc44));}const _0x568b46=helper[_0x224da3(0x1e8)](_0x3b9c23,_0x3b9c23[_0x224da3(0x182)]),_0x3b1aa0={'userName':helper[_0x224da3(0x185)](_0x3b9c23),'accessKey':helper['getAccessKey'](_0x3b9c23),'event_type':_0x259214,'detectedFramework':_0x4fe190,'buildHashedId':globals[_0x224da3(0x183)](_0x3f6c95[_0x224da3(0x1cf)]),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x224da3(0x167)][_0x224da3(0x18c)]]||'','sdkRunId':global[_0x224da3(0x19e)],'product_map':_0x3f6c95[_0x224da3(0x186)](getProductMap,_0x3b9c23),'productMap':_0x3f6c95[_0x224da3(0x186)](getProductMap,_0x3b9c23),'language_framework':_0x3b9c23[_0x224da3(0x162)]||_0x3f6c95[_0x224da3(0x1de)],'referrer':helper['getNodeAgent'](_0x4fe190),'framework':_0x3b9c23[_0x224da3(0x182)],'frameworkVersion':helper[_0x224da3(0x194)](_0x4fe190),'automationFramework':_0x568b46[_0x224da3(0x171)],'automationFrameworkVersion':_0x568b46[_0x224da3(0x1bb)],'language':_0x3f6c95[_0x224da3(0x1dd)],'languageVersion':process['version'],'product':_0x189426,'buildName':_0x3b9c23['buildName']||_0x3f6c95['sRaaZ'],'buildIdentifier':_0x40da86,'os':os[_0x224da3(0x179)]()||_0x3f6c95[_0x224da3(0x1de)],'hostname':os[_0x224da3(0x154)]()||_0x3f6c95[_0x224da3(0x1de)],..._0x45dc11,'isCLIEnabled':_0x4c5031}};try{_0x3f6c95[_0x224da3(0x1b2)](_0x259214,_0x3f6c95[_0x224da3(0x18b)])&&(_0x3b1aa0[_0x224da3(0x1da)][_0x224da3(0x1b6)]=helper['sanitizeBrowserStackConfig'](_0x3b9c23)),_0x3f6c95[_0x224da3(0x153)](_0x4fe190,_0x3f6c95[_0x224da3(0x16f)])?_0x3b1aa0[_0x224da3(0x1da)][_0x224da3(0x15b)]=helper[_0x224da3(0x1be)]['apply'](null,_0x3f6c95[_0x224da3(0x1a7)](getTransformPath),!![]):_0x3b1aa0['event_properties'][_0x224da3(0x1d1)]=helper[_0x224da3(0x1e3)](_0x3f6c95[_0x224da3(0x192)]);}catch(_0x4a288e){logger[_0x224da3(0x15e)](_0x224da3(0x19b)+_0x4a288e);}const _0x4b12a7={};_0x4b12a7['content-type']=_0x3f6c95[_0x224da3(0x17e)];const _0x214600={'headers':_0x4b12a7,'body':_0x3b1aa0,'auth':{'user':helper[_0x224da3(0x185)](_0x3b9c23),'pass':helper['getAccessKey'](_0x3b9c23)},'json':!![]};logger[_0x224da3(0x15e)](_0x224da3(0x1ba)+JSON[_0x224da3(0x1b7)](_0x214600[_0x224da3(0x1d8)])['replace'](new RegExp(helper[_0x224da3(0x185)](_0x3b9c23),'g'),_0x3f6c95[_0x224da3(0x157)])[_0x224da3(0x177)](new RegExp(helper[_0x224da3(0x1e0)](_0x3b9c23),'g'),_0x3f6c95[_0x224da3(0x157)]));try{const _0x23eb12=await helper[_0x224da3(0x1b3)](_0x3f6c95['IVdMO'],FUNNEL_INSTRUMENTATION_API_URL,_0x214600,_0x3b9c23);logger[_0x224da3(0x15e)](_0x224da3(0x1a9)+_0x259214+'\x20response\x20-\x20'+util['format']('%j',_0x23eb12));}catch(_0x4eb92a){logger[_0x224da3(0x15e)](_0x224da3(0x187)+FUNNEL_INSTRUMENTATION_API_URL+_0x224da3(0x180)+util[_0x224da3(0x1db)](_0x4eb92a));}},exports[a179_0x48f5e6(0x191)]=async(_0x94d0f3,_0x5c3430=![])=>{const _0x16301a=a179_0x48f5e6,_0x31c2a3={'Zaolr':function(_0x4eb1c1){return _0x4eb1c1();},'OKkmx':'_hubAllocationData','bziuL':_0x16301a(0x1b5),'ivPek':_0x16301a(0x1c1),'RGibk':'SDKTestSuccessful','gFKNv':function(_0x11a433,_0x74620,_0x249f99){return _0x11a433(_0x74620,_0x249f99);},'kYQdk':function(_0x2d9904,_0x3bb8af){return _0x2d9904+_0x3bb8af;},'qCIQs':_0x16301a(0x198)};if(_0x94d0f3[_0x16301a(0x1b9)])return;_0x94d0f3['finalExecutionRan']=!![];try{await _0x94d0f3[_0x16301a(0x175)](),_0x31c2a3[_0x16301a(0x1d7)](printNudgeLocalNotSetError);const _0x1debb4={};_0x1debb4[_0x16301a(0x17c)]=_0x94d0f3['errorMessage']?_0x94d0f3[_0x16301a(0x1b1)]:'{}';const _0x43ba1d=_0x1debb4,_0x1cf91f=Object[_0x16301a(0x1a1)]({},_0x43ba1d),_0x317094=globals[_0x16301a(0x183)](_0x31c2a3['OKkmx']);_0x317094&&(_0x1cf91f[_0x16301a(0x1c4)]=_0x317094);!!_0x94d0f3[_0x16301a(0x1cc)]&&(_0x1cf91f[_0x31c2a3['bziuL']]={'reason':_0x31c2a3[_0x16301a(0x15a)],'signal':_0x94d0f3['killSignal']});unhandledErrors=_0x94d0f3[_0x16301a(0x15d)][_0x16301a(0x17f)]('\x0a');let _0x5153f0,_0x585ae4,_0x2adc8f;helper['isTurboScaleSession'](_0x94d0f3[_0x16301a(0x189)])?([_0x5153f0,_0x585ae4]=await helper['getTurboScaleBuildLink'](_0x94d0f3[_0x16301a(0x189)]),[_0x2adc8f]=await Promise[_0x16301a(0x168)]([helper[_0x16301a(0x1ad)](_0x5153f0,_0x94d0f3[_0x16301a(0x189)]),exports[_0x16301a(0x1d9)](_0x31c2a3[_0x16301a(0x1d6)],_0x1cf91f,_0x94d0f3[_0x16301a(0x189)],_0x94d0f3[_0x16301a(0x182)],_0x5c3430)])):([_0x5153f0,_0x585ae4]=await helper[_0x16301a(0x1ae)](_0x94d0f3[_0x16301a(0x189)]),[_0x2adc8f]=await Promise['all']([helper[_0x16301a(0x181)](_0x5153f0,_0x94d0f3[_0x16301a(0x189)]),exports[_0x16301a(0x1d9)](_0x31c2a3['RGibk'],_0x1cf91f,_0x94d0f3['config'],_0x94d0f3[_0x16301a(0x182)],_0x5c3430)])),_0x2adc8f&&await _0x31c2a3['gFKNv'](generateCIArtifacts,_0x2adc8f,_0x585ae4),logger[_0x16301a(0x1e1)]('SDK\x20run\x20ended\x20for\x20id:\x20'+_0x94d0f3[_0x16301a(0x19e)]+_0x16301a(0x196)+process[_0x16301a(0x1ea)][_0x16301a(0x18c)]),await helper[_0x16301a(0x1c6)](_0x94d0f3['config']);}catch(_0x5b1bcd){logger[_0x16301a(0x15e)](_0x31c2a3[_0x16301a(0x195)](_0x31c2a3[_0x16301a(0x1cd)],_0x5b1bcd));}helper[_0x16301a(0x163)]();},exports['getStackTraceAsString']=_0x4e0cce=>{const _0x377b4b=a179_0x48f5e6,_0x14a5e={'rgkFm':function(_0x408967,_0x50c58b){return _0x408967 instanceof _0x50c58b;},'YEseb':function(_0x7d3c21,_0x1e0eed){return _0x7d3c21(_0x1e0eed);}};try{if(_0x14a5e[_0x377b4b(0x1b0)](_0x4e0cce,Error))return _0x4e0cce[_0x377b4b(0x1c0)]||_0x4e0cce[_0x377b4b(0x1b8)]();return _0x14a5e[_0x377b4b(0x174)](String,_0x4e0cce);}catch(_0x3bf72a){return _0x4e0cce?_0x4e0cce[_0x377b4b(0x1b8)]():'';}},exports[a179_0x48f5e6(0x1ac)]=_0x22e577=>{const _0x1b0a74=a179_0x48f5e6,_0x4c5cd8={};_0x4c5cd8[_0x1b0a74(0x18f)]=function(_0x438b04,_0x31b3e1){return _0x438b04===_0x31b3e1;};const _0x11ffe1=_0x4c5cd8;return!_0x22e577||_0x11ffe1[_0x1b0a74(0x18f)](_0x22e577[_0x1b0a74(0x1c7)](),'');},exports[a179_0x48f5e6(0x1ce)]=_0x1c7cbf=>{const _0x4d9c0b=a179_0x48f5e6,_0x8b8f8e={};_0x8b8f8e['gaDyy']=function(_0x2ea757,_0x4a1164){return _0x2ea757|_0x4a1164;};const _0x489101=_0x8b8f8e;try{return fs[_0x4d9c0b(0x166)](_0x1c7cbf,_0x489101[_0x4d9c0b(0x193)](fs[_0x4d9c0b(0x1a6)][_0x4d9c0b(0x1df)],fs[_0x4d9c0b(0x1a6)][_0x4d9c0b(0x176)])),!![];}catch(_0x16a9ba){return![];}},exports[a179_0x48f5e6(0x161)]=_0x2d3575=>{const _0x471920=a179_0x48f5e6;try{fs[_0x471920(0x159)](_0x2d3575,0x1ff),logger[_0x471920(0x15e)]('Directory\x20'+_0x2d3575+_0x471920(0x1cb));}catch(_0x5a39f1){logger[_0x471920(0x17c)](_0x471920(0x178)+exports[_0x471920(0x1eb)](_0x5a39f1));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a180_0x293e(_0x52994e,_0xf2ed5){var _0x4d49fd=a180_0x4d49();return a180_0x293e=function(_0x293e0c,_0x5c1abd){_0x293e0c=_0x293e0c-0x1d5;var _0xa19c16=_0x4d49fd[_0x293e0c];return _0xa19c16;},a180_0x293e(_0x52994e,_0xf2ed5);}var a180_0x3e76ab=a180_0x293e;function a180_0x4d49(){var _0x44535a=['pHbGM','browserstack.idleTimeout','jEQJj','browserstack.networkProfile','pLoFn','seleniumVersion','accessibilityOptions.wcagVersion','hosts','maskCommands','performance','Klwzi','nDVlN','tweFU','browserstack.testhubBuildUuid','device','browserstack.appium_version','MBZTN','QBcGr','XblOT','realMobile','RAzeS','poUcI','buildName','browserstack.enableSim','testhubBuildUuid','accessKey','qdIVS','os_version','eLqUz','geoLocation','25rjvtBA','browserstackSDK','browserstack.buildProductMap','TpWMI','browserstack.autoWait','browserstack.customNetwork','41751pduUWp','buildProductMap','browserstack.accessibilityOptions.includeIssueType.needsReview','OtKTL','CscGI','browserstack.geoLocation','browserstack.overridelocalInfo.localIdentifier','NCgGr','15908750czXMli','appiumVersion','yDcAw','local','browser_version','W3CMapping','xtXDg','browserstack.uploadMedia','byOGG','giVaF','2510SLHNpD','disableCorsRestrictions','owMsC','Vqyoo','browserstack.accessibilityOptions.scannerProcessingTimeout','consoleLogs','browserstack.bfcache','RMtAC','NpFgG','browserstack.buildIdentifier','bpyPC','seleniumLogs','qMRbK','jeNdO','userName','cufSz','name','sessionName','iUQkx','wsLocalSupport','8423961EyaVim','252WbzekX','browserstack.local','aZwqG','autoWait','projectName','eEqDY','118uXkiVJ','RwScG','browserstack.video','enableSim','QrkEU','browserstack.browserstackSDK','dVlXi','rFdij','browserstack.disableCorsRestrictions','resolution','accessibilityOptions.scannerProcessingTimeout','browserstack.performance','accessibilityOptions.authToken','snDad','browser','kadCN','TLXHW','15377552uIVNgc','networkProfile','localIdentifier','browserstack.user','telemetryLogs','browserstack.wsLocalSupport','browserstack.networkLogs','browserstack.use_w3c','FuWzo','221046Bxahow','headerParams','browserstack.debug','accessibilityOptions.includeIssueType.needsReview','iBXLr','gqNsk','MksDR','idleTimeout','browserstack.accessibilityOptions.authToken','deviceOrientation','browserstack.accessibilityOptions.includeIssueType.bestPractice','project','browserstack.timezone','browserstack.accessibilityOptions.scannerVersion','debug','WxhKF','23557lueHmm','browserstack.console','LZZRB','networkLogs','browserstack.headerParams','maskBasicAuth','73206GfkNNn','MjHCE','build','uOdzN','accessibilityOptions.scannerVersion','PQcMr','KJiZE','appiumLogs','HQHEK','EqXJm','HDeEL','mXSVa','playwrightVersion','uploadMedia','browserstack.selenium_version','OLbZp'];a180_0x4d49=function(){return _0x44535a;};return a180_0x4d49();}(function(_0x9df3c2,_0x52e62f){var _0x153767=a180_0x293e,_0x54dcbf=_0x9df3c2();while(!![]){try{var _0xea8b8b=parseInt(_0x153767(0x230))/0x1*(-parseInt(_0x153767(0x206))/0x2)+-parseInt(_0x153767(0x236))/0x3*(-parseInt(_0x153767(0x200))/0x4)+-parseInt(_0x153767(0x264))/0x5*(parseInt(_0x153767(0x220))/0x6)+-parseInt(_0x153767(0x1ff))/0x7+parseInt(_0x153767(0x217))/0x8+-parseInt(_0x153767(0x1d9))/0x9*(parseInt(_0x153767(0x1eb))/0xa)+parseInt(_0x153767(0x1e1))/0xb;if(_0xea8b8b===_0x52e62f)break;else _0x54dcbf['push'](_0x54dcbf['shift']());}catch(_0x243c9c){_0x54dcbf['push'](_0x54dcbf['shift']());}}}(a180_0x4d49,0xeb532),exports[a180_0x3e76ab(0x1e6)]=()=>{var _0x3695ac=a180_0x3e76ab,_0x59d4b5={};_0x59d4b5[_0x3695ac(0x1fd)]=_0x3695ac(0x1f9),_0x59d4b5[_0x3695ac(0x215)]=_0x3695ac(0x25f),_0x59d4b5[_0x3695ac(0x1ea)]='osVersion',_0x59d4b5[_0x3695ac(0x213)]=_0x3695ac(0x214),_0x59d4b5[_0x3695ac(0x232)]='browserVersion',_0x59d4b5[_0x3695ac(0x224)]='useW3c',_0x59d4b5[_0x3695ac(0x240)]=_0x3695ac(0x204),_0x59d4b5[_0x3695ac(0x262)]=_0x3695ac(0x25c),_0x59d4b5[_0x3695ac(0x23c)]=_0x3695ac(0x1fc),_0x59d4b5[_0x3695ac(0x23e)]=_0x3695ac(0x1e4),_0x59d4b5[_0x3695ac(0x20c)]=_0x3695ac(0x219),_0x59d4b5[_0x3695ac(0x24a)]=_0x3695ac(0x22e),_0x59d4b5[_0x3695ac(0x260)]=_0x3695ac(0x1f0),_0x59d4b5[_0x3695ac(0x225)]=_0x3695ac(0x233),_0x59d4b5[_0x3695ac(0x1dc)]='networkLogsOptions',_0x59d4b5[_0x3695ac(0x239)]=_0x3695ac(0x23d),_0x59d4b5['CscGI']='video',_0x59d4b5[_0x3695ac(0x1f2)]=_0x3695ac(0x1f6),_0x59d4b5[_0x3695ac(0x1f5)]=_0x3695ac(0x21b),_0x59d4b5[_0x3695ac(0x25b)]=_0x3695ac(0x263),_0x59d4b5['RwScG']='timezone',_0x59d4b5['Klwzi']=_0x3695ac(0x20f),_0x59d4b5['MjHCE']=_0x3695ac(0x24b),_0x59d4b5[_0x3695ac(0x20a)]=_0x3695ac(0x24e),_0x59d4b5[_0x3695ac(0x246)]=_0x3695ac(0x227),_0x59d4b5[_0x3695ac(0x1fa)]=_0x3695ac(0x235),_0x59d4b5[_0x3695ac(0x202)]=_0x3695ac(0x203),_0x59d4b5[_0x3695ac(0x1f8)]=_0x3695ac(0x24d),_0x59d4b5[_0x3695ac(0x226)]='bfcache',_0x59d4b5['byOGG']=_0x3695ac(0x1fe),_0x59d4b5[_0x3695ac(0x1f3)]=_0x3695ac(0x1ec),_0x59d4b5['qMRbK']='deviceName',_0x59d4b5[_0x3695ac(0x1e3)]=_0x3695ac(0x259),_0x59d4b5[_0x3695ac(0x25a)]=_0x3695ac(0x1e2),_0x59d4b5[_0x3695ac(0x1d6)]=_0x3695ac(0x229),_0x59d4b5[_0x3695ac(0x1e7)]='customNetwork',_0x59d4b5[_0x3695ac(0x252)]=_0x3695ac(0x218),_0x59d4b5[_0x3695ac(0x1e0)]='buildIdentifier',_0x59d4b5[_0x3695ac(0x241)]=_0x3695ac(0x265),_0x59d4b5['kdwMO']='accessibility',_0x59d4b5['PRzmP']=_0x3695ac(0x1da),_0x59d4b5[_0x3695ac(0x257)]=_0x3695ac(0x25e),_0x59d4b5[_0x3695ac(0x245)]=_0x3695ac(0x24c),_0x59d4b5[_0x3695ac(0x23b)]=_0x3695ac(0x23a),_0x59d4b5[_0x3695ac(0x258)]=_0x3695ac(0x210),_0x59d4b5[_0x3695ac(0x23f)]='accessibilityOptions.includeIssueType.bestPractice',_0x59d4b5['rFdij']=_0x3695ac(0x223),_0x59d4b5[_0x3695ac(0x1ed)]=_0x3695ac(0x212),_0x59d4b5[_0x3695ac(0x1ee)]=_0x3695ac(0x243),_0x59d4b5['nDVlN']=_0x3695ac(0x209),_0x59d4b5[_0x3695ac(0x256)]='simOptions',_0x59d4b5[_0x3695ac(0x22f)]=_0x3695ac(0x242),_0x59d4b5[_0x3695ac(0x248)]='overridelocalInfo.userAuthToken',_0x59d4b5[_0x3695ac(0x216)]='overridelocalInfo.localIdentifier',_0x59d4b5['eEqDY']=_0x3695ac(0x221),_0x59d4b5[_0x3695ac(0x21f)]=_0x3695ac(0x24f);var _0xe8f6f7=_0x59d4b5,_0x46f084={};return _0x46f084[_0x3695ac(0x21a)]=_0xe8f6f7[_0x3695ac(0x1fd)],_0x46f084['browserstack.key']=_0xe8f6f7[_0x3695ac(0x215)],_0x46f084['os']='os',_0x46f084[_0x3695ac(0x261)]=_0xe8f6f7[_0x3695ac(0x1ea)],_0x46f084['browser']=_0xe8f6f7[_0x3695ac(0x213)],_0x46f084[_0x3695ac(0x1e5)]=_0xe8f6f7[_0x3695ac(0x232)],_0x46f084[_0x3695ac(0x21e)]=_0xe8f6f7['iBXLr'],_0x46f084[_0x3695ac(0x22b)]=_0xe8f6f7[_0x3695ac(0x240)],_0x46f084[_0x3695ac(0x238)]=_0xe8f6f7[_0x3695ac(0x262)],_0x46f084[_0x3695ac(0x1fb)]=_0xe8f6f7[_0x3695ac(0x23c)],_0x46f084[_0x3695ac(0x201)]=_0xe8f6f7[_0x3695ac(0x23e)],_0x46f084['browserstack.localIdentifier']=_0xe8f6f7[_0x3695ac(0x20c)],_0x46f084[_0x3695ac(0x222)]=_0xe8f6f7['pLoFn'],_0x46f084[_0x3695ac(0x231)]=_0xe8f6f7['qdIVS'],_0x46f084[_0x3695ac(0x21d)]=_0xe8f6f7['gqNsk'],_0x46f084['browserstack.networkLogsOptions']=_0xe8f6f7[_0x3695ac(0x1dc)],_0x46f084['browserstack.appiumLogs']=_0xe8f6f7[_0x3695ac(0x239)],_0x46f084[_0x3695ac(0x208)]=_0xe8f6f7[_0x3695ac(0x1dd)],_0x46f084['browserstack.seleniumLogs']=_0xe8f6f7['RMtAC'],_0x46f084['browserstack.telemetryLogs']=_0xe8f6f7[_0x3695ac(0x1f5)],_0x46f084[_0x3695ac(0x1de)]=_0xe8f6f7[_0x3695ac(0x25b)],_0x46f084[_0x3695ac(0x22c)]=_0xe8f6f7[_0x3695ac(0x207)],_0x46f084[_0x3695ac(0x20f)]=_0xe8f6f7[_0x3695ac(0x250)],_0x46f084[_0x3695ac(0x244)]=_0xe8f6f7[_0x3695ac(0x237)],_0x46f084['browserstack.maskCommands']=_0xe8f6f7[_0x3695ac(0x20a)],_0x46f084[_0x3695ac(0x247)]=_0xe8f6f7['pHbGM'],_0x46f084['browserstack.maskBasicAuth']=_0xe8f6f7[_0x3695ac(0x1fa)],_0x46f084[_0x3695ac(0x1d7)]=_0xe8f6f7[_0x3695ac(0x202)],_0x46f084['browserstack.hosts']=_0xe8f6f7[_0x3695ac(0x1f8)],_0x46f084[_0x3695ac(0x1f1)]=_0xe8f6f7['MksDR'],_0x46f084[_0x3695ac(0x21c)]=_0xe8f6f7[_0x3695ac(0x1e9)],_0x46f084[_0x3695ac(0x20e)]=_0xe8f6f7[_0x3695ac(0x1f3)],_0x46f084[_0x3695ac(0x254)]=_0xe8f6f7[_0x3695ac(0x1f7)],_0x46f084[_0x3695ac(0x259)]=_0xe8f6f7[_0x3695ac(0x1e3)],_0x46f084[_0x3695ac(0x255)]=_0xe8f6f7[_0x3695ac(0x25a)],_0x46f084['deviceOrientation']=_0xe8f6f7['TpWMI'],_0x46f084[_0x3695ac(0x1d8)]=_0xe8f6f7[_0x3695ac(0x1e7)],_0x46f084[_0x3695ac(0x249)]=_0xe8f6f7[_0x3695ac(0x252)],_0x46f084[_0x3695ac(0x1f4)]=_0xe8f6f7[_0x3695ac(0x1e0)],_0x46f084[_0x3695ac(0x20b)]=_0xe8f6f7['mXSVa'],_0x46f084['browserstack.accessibility']=_0xe8f6f7['kdwMO'],_0x46f084[_0x3695ac(0x1d5)]=_0xe8f6f7['PRzmP'],_0x46f084[_0x3695ac(0x253)]=_0xe8f6f7[_0x3695ac(0x257)],_0x46f084['browserstack.accessibilityOptions.wcagVersion']=_0xe8f6f7[_0x3695ac(0x245)],_0x46f084[_0x3695ac(0x22d)]=_0xe8f6f7[_0x3695ac(0x23b)],_0x46f084[_0x3695ac(0x1ef)]=_0xe8f6f7['XblOT'],_0x46f084[_0x3695ac(0x22a)]=_0xe8f6f7[_0x3695ac(0x23f)],_0x46f084[_0x3695ac(0x1db)]=_0xe8f6f7[_0x3695ac(0x20d)],_0x46f084[_0x3695ac(0x228)]=_0xe8f6f7[_0x3695ac(0x1ed)],_0x46f084[_0x3695ac(0x1e8)]=_0xe8f6f7[_0x3695ac(0x1ee)],_0x46f084[_0x3695ac(0x25d)]=_0xe8f6f7[_0x3695ac(0x251)],_0x46f084['browserstack.simOptions']=_0xe8f6f7['MBZTN'],_0x46f084['browserstack.playwrightVersion']=_0xe8f6f7['WxhKF'],_0x46f084['browserstack.overridelocalInfo.userAuthToken']=_0xe8f6f7[_0x3695ac(0x248)],_0x46f084[_0x3695ac(0x1df)]=_0xe8f6f7[_0x3695ac(0x216)],_0x46f084[_0x3695ac(0x234)]=_0xe8f6f7[_0x3695ac(0x205)],_0x46f084[_0x3695ac(0x211)]=_0xe8f6f7[_0x3695ac(0x21f)],_0x46f084;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a181_0x575fe3=a181_0x4efd;function a181_0x4efd(_0x27137c,_0x52cd1f){const _0x52c17b=a181_0x52c1();return a181_0x4efd=function(_0x4efdd8,_0x4117e2){_0x4efdd8=_0x4efdd8-0xec;let _0x4c791d=_0x52c17b[_0x4efdd8];return _0x4c791d;},a181_0x4efd(_0x27137c,_0x52cd1f);}(function(_0x6c573,_0x530507){const _0x2d4e09=a181_0x4efd,_0x3a99f9=_0x6c573();while(!![]){try{const _0x191edb=-parseInt(_0x2d4e09(0x157))/0x1*(-parseInt(_0x2d4e09(0x128))/0x2)+parseInt(_0x2d4e09(0x143))/0x3*(-parseInt(_0x2d4e09(0xee))/0x4)+parseInt(_0x2d4e09(0x140))/0x5*(-parseInt(_0x2d4e09(0xf2))/0x6)+-parseInt(_0x2d4e09(0x119))/0x7*(-parseInt(_0x2d4e09(0x126))/0x8)+-parseInt(_0x2d4e09(0x11e))/0x9*(parseInt(_0x2d4e09(0x159))/0xa)+-parseInt(_0x2d4e09(0xf5))/0xb+parseInt(_0x2d4e09(0x130))/0xc*(parseInt(_0x2d4e09(0x135))/0xd);if(_0x191edb===_0x530507)break;else _0x3a99f9['push'](_0x3a99f9['shift']());}catch(_0x4b4fdc){_0x3a99f9['push'](_0x3a99f9['shift']());}}}(a181_0x52c1,0xe0f87));const url=require(a181_0x575fe3(0xf6)),util=require(a181_0x575fe3(0x111)),helper=require(a181_0x575fe3(0x109)),logger=require('./helpers/logger')[a181_0x575fe3(0xfc)],constants=require(a181_0x575fe3(0x12a)),globals=require(a181_0x575fe3(0xf4));global[a181_0x575fe3(0x116)]=global[a181_0x575fe3(0x116)]||new Map(),exports[a181_0x575fe3(0x138)]=_0x235ea2=>{const _0x5a9e66=a181_0x575fe3,_0x56a425={};_0x56a425['uKqow']=function(_0x396f50,_0x3498ae){return _0x396f50+_0x3498ae;},_0x56a425['PPEfT']=_0x5a9e66(0x11f);const _0x1a120f=_0x56a425,_0x4c453e=url[_0x5a9e66(0x117)](_0x235ea2);if(!_0x4c453e[_0x5a9e66(0x12d)])throw new Error(_0x1a120f[_0x5a9e66(0x14c)](_0x1a120f['PPEfT'],_0x235ea2));return _0x4c453e[_0x5a9e66(0x15e)]=null,_0x4c453e[_0x5a9e66(0x12c)]=null,_0x4c453e[_0x5a9e66(0x122)]=_0x4c453e[_0x5a9e66(0x10f)],_0x4c453e;},exports['updateHubUrl']=(_0x4ef856,_0x5c949b)=>{const _0x5c3aca=a181_0x575fe3,_0x3c912c={};_0x3c912c[_0x5c3aca(0x107)]=_0x5c3aca(0x11a);const _0x43ae9c=_0x3c912c;if(!_0x5c949b){logger['debug'](_0x43ae9c[_0x5c3aca(0x107)]);return;}global[_0x5c3aca(0x116)][_0x5c3aca(0x132)](_0x5c949b,_0x4ef856);},exports[a181_0x575fe3(0x13f)]=_0x2e7903=>{const _0xf24d03=a181_0x575fe3;if(_0x2e7903&&global[_0xf24d03(0x116)][_0xf24d03(0x11c)](_0x2e7903)){const _0x3e4249=global['newHubUrlBySession']['get'](_0x2e7903);return global[_0xf24d03(0x116)][_0xf24d03(0xfb)](_0x2e7903),_0x3e4249;}return'';},exports[a181_0x575fe3(0x10c)]=_0x2572e3=>{const _0x133e72=a181_0x575fe3,_0x5e803c={'XuFyr':function(_0x314137,_0x24f734){return _0x314137+_0x24f734;},'bzUms':_0x133e72(0x147),'KVbEf':_0x133e72(0x142),'kFwqP':_0x133e72(0x150),'SzBpm':'/wd/hub','mGKXz':function(_0x4bc084){return _0x4bc084();},'tZgJm':function(_0x2d728c,_0x18f738){return _0x2d728c!==_0x18f738;},'wqpEQ':function(_0x590659,_0x38594e){return _0x590659===_0x38594e;},'QhdXn':_0x133e72(0x158),'oqDdX':function(_0x2aa3f5,_0x8e7ae){return _0x2aa3f5==_0x8e7ae;},'QPVTw':function(_0x59acb2){return _0x59acb2();},'fyELi':function(_0x6df070){return _0x6df070();},'lcPop':function(_0x2119dc){return _0x2119dc();}};return new Promise(_0x230411=>{const _0x4fd93b=_0x133e72,_0x27552c={'kcrsi':function(_0x1ba4d2,_0x364c26){return _0x5e803c['XuFyr'](_0x1ba4d2,_0x364c26);},'iPLWw':_0x5e803c[_0x4fd93b(0x124)],'LbroR':_0x5e803c[_0x4fd93b(0x118)],'UMipj':_0x5e803c[_0x4fd93b(0x148)],'SBTdY':function(_0x53fd35,_0x4c02b1){const _0x234411=_0x4fd93b;return _0x5e803c[_0x234411(0x127)](_0x53fd35,_0x4c02b1);},'bwjYA':_0x5e803c[_0x4fd93b(0x155)],'gVPhV':function(_0x44e8a8){return _0x5e803c['mGKXz'](_0x44e8a8);},'Vynml':function(_0x1ff784,_0x205b98){const _0x13a579=_0x4fd93b;return _0x5e803c[_0x13a579(0x127)](_0x1ff784,_0x205b98);},'xzcUE':function(_0x3505b2){const _0x31b7c9=_0x4fd93b;return _0x5e803c[_0x31b7c9(0x102)](_0x3505b2);},'CPdmR':function(_0x46247e){return _0x5e803c['mGKXz'](_0x46247e);},'jBWhF':function(_0x2a0b2e,_0x9a8271){return _0x5e803c['tZgJm'](_0x2a0b2e,_0x9a8271);},'jdrBU':function(_0x43b3a8,_0x40a96f){const _0x4ed76a=_0x4fd93b;return _0x5e803c[_0x4ed76a(0x144)](_0x43b3a8,_0x40a96f);},'DEOPm':_0x5e803c[_0x4fd93b(0x13a)],'eJlMz':function(_0x4a9134,_0x861164){const _0x59ad3f=_0x4fd93b;return _0x5e803c[_0x59ad3f(0xfd)](_0x4a9134,_0x861164);},'qYDzi':function(_0x3fdad6,_0x5ce550){const _0x43ce3c=_0x4fd93b;return _0x5e803c[_0x43ce3c(0x144)](_0x3fdad6,_0x5ce550);},'kwKwz':function(_0x2fadd2){const _0x57bbdb=_0x4fd93b;return _0x5e803c[_0x57bbdb(0xf3)](_0x2fadd2);},'nxtez':function(_0x15bd43){const _0x19582c=_0x4fd93b;return _0x5e803c[_0x19582c(0x12e)](_0x15bd43);}};if(_0x2572e3&&_0x2572e3['hubRegion']){const _0x142d41=constants['HUB_URL_MAP'][_0x2572e3['hubRegion']];if(_0x142d41)return constants['hubUrl']=_0x142d41,logger[_0x4fd93b(0xf9)](_0x4fd93b(0x134)+_0x142d41),globals[_0x4fd93b(0x13c)](_0x5e803c[_0x4fd93b(0x148)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x142d41['replace'](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x4fd93b(0x14f)]()}),_0x5e803c[_0x4fd93b(0x14a)](_0x230411);logger['debug'](_0x4fd93b(0xf1)+_0x2572e3[_0x4fd93b(0x120)]+_0x4fd93b(0x104));}Promise[_0x4fd93b(0xf8)](this['nextHubs'](_0x2572e3))[_0x4fd93b(0x15f)](_0x572448=>{const _0x1279f9=_0x4fd93b,_0x555ab8={'qaMdE':function(_0x16be99,_0x439225){const _0x1a22ab=a181_0x4efd;return _0x27552c[_0x1a22ab(0x10a)](_0x16be99,_0x439225);},'sSoVY':_0x27552c[_0x1279f9(0x121)],'VJWCl':function(_0x5a309a,_0x6fdaec){const _0x45579b=_0x1279f9;return _0x27552c[_0x45579b(0x133)](_0x5a309a,_0x6fdaec);},'ehTCs':_0x27552c[_0x1279f9(0x13b)]};logger[_0x1279f9(0xf9)](_0x1279f9(0xfe)+util[_0x1279f9(0x114)]('%j',_0x572448));if(_0x27552c[_0x1279f9(0x15b)](_0x572448,null)||_0x27552c[_0x1279f9(0x13e)](_0x572448[_0x1279f9(0x10b)],0x0))return _0x27552c['kwKwz'](_0x230411);const _0x83ef34=_0x572448[_0x1279f9(0x145)](_0xa2b689=>{const _0x40237c=_0x1279f9,_0x32baa0=_0x27552c[_0x40237c(0x15a)](_0x27552c[_0x40237c(0x12b)],_0xa2b689);return this['findLatency'](_0x2572e3,_0x32baa0)['then'](_0x1e21b5=>{const _0x5d44ee=_0x40237c;if(_0x1e21b5&&_0x1e21b5[_0x5d44ee(0x112)]&&_0x555ab8[_0x5d44ee(0xec)](_0x1e21b5[_0x5d44ee(0x161)],undefined)){const _0x2eb015={};return _0x2eb015[_0x5d44ee(0x112)]=_0x1e21b5[_0x5d44ee(0x112)],_0x2eb015['latency']=_0x1e21b5[_0x5d44ee(0x161)],_0x2eb015['ok']=!![],_0x2eb015;}const _0xfe8723={};return _0xfe8723[_0x5d44ee(0x112)]=_0x32baa0,_0xfe8723[_0x5d44ee(0x161)]=null,_0xfe8723['ok']=![],_0xfe8723;})[_0x40237c(0xef)](()=>({'hubUrl':_0x32baa0,'latency':null,'ok':![]}));});Promise[_0x1279f9(0x125)](_0x83ef34[_0x1279f9(0x145)](_0x25fe54=>_0x25fe54['then'](_0x49c0fd=>_0x49c0fd['ok']?_0x49c0fd:null)))[_0x1279f9(0x15f)](_0x39b9a4=>{const _0x1c4289=_0x1279f9;if(_0x39b9a4)return _0x39b9a4;return Promise['all'](_0x83ef34)[_0x1c4289(0x15f)](()=>null);})[_0x1279f9(0x15f)](_0x3fc1be=>{const _0x3b32f7=_0x1279f9;if(!_0x3fc1be){logger[_0x3b32f7(0xf9)](_0x27552c['LbroR']);const _0x1c2446=_0x27552c[_0x3b32f7(0x15a)](_0x27552c[_0x3b32f7(0x12b)],_0x572448[0x0]);return globals[_0x3b32f7(0x13c)](_0x27552c[_0x3b32f7(0x121)],{'nearestHubs':_0x572448['map'](_0x15c5b9=>_0x3b32f7(0x147)+_0x15c5b9),'hubLatencies':{},'selectedHub':_0x1c2446,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x3b32f7(0x14f)]()}),constants[_0x3b32f7(0x112)]=_0x27552c[_0x3b32f7(0x139)](_0x1c2446,_0x27552c[_0x3b32f7(0x14b)]),logger[_0x3b32f7(0xf9)](_0x3b32f7(0x15c)+_0x1c2446),_0x27552c[_0x3b32f7(0x10d)](_0x230411);}const _0x3c974b={[_0x3fc1be[_0x3b32f7(0x112)]]:_0x3fc1be[_0x3b32f7(0x161)]},_0x3ecebe={'nearestHubs':_0x572448[_0x3b32f7(0x145)](_0x2fc987=>_0x3b32f7(0x147)+_0x2fc987),'hubLatencies':_0x3c974b,'selectedHub':_0x3fc1be[_0x3b32f7(0x112)],'selectedHubLatency':_0x3fc1be[_0x3b32f7(0x161)],'timestamp':Date[_0x3b32f7(0x14f)]()};globals['setGlobal'](_0x27552c[_0x3b32f7(0x121)],_0x3ecebe),constants[_0x3b32f7(0x112)]=_0x27552c[_0x3b32f7(0xf7)](_0x3fc1be[_0x3b32f7(0x112)],_0x27552c[_0x3b32f7(0x14b)]),logger[_0x3b32f7(0xf9)](_0x3b32f7(0x100)+_0x3fc1be[_0x3b32f7(0x112)]),_0x27552c[_0x3b32f7(0x108)](_0x230411),Promise['allSettled'](_0x83ef34)[_0x3b32f7(0x15f)](_0x469b9c=>{const _0x7ad85c=_0x3b32f7;try{const _0x4bc475=globals[_0x7ad85c(0x105)](_0x555ab8['sSoVY']);if(!_0x4bc475||_0x4bc475[_0x7ad85c(0x11b)])return;const _0x28bebd={};for(const _0x13f6af of _0x469b9c){_0x555ab8['VJWCl'](_0x13f6af['status'],_0x555ab8[_0x7ad85c(0x103)])&&_0x13f6af[_0x7ad85c(0x154)]&&_0x13f6af[_0x7ad85c(0x154)]['ok']&&(_0x28bebd[_0x13f6af[_0x7ad85c(0x154)][_0x7ad85c(0x112)]]=_0x13f6af[_0x7ad85c(0x154)][_0x7ad85c(0x161)]);}_0x4bc475[_0x7ad85c(0xff)]=_0x28bebd;}catch(_0x1d2c39){logger[_0x7ad85c(0xf9)](_0x7ad85c(0x141)+_0x1d2c39);}})[_0x3b32f7(0xef)](_0x49ffef=>{const _0x287f57=_0x3b32f7;logger[_0x287f57(0xf9)]('ERROR\x20in\x20background\x20hub\x20enrichment:\x20'+_0x49ffef);});})[_0x1279f9(0xef)](_0x4495cd=>{const _0x1de56b=_0x1279f9;logger[_0x1de56b(0xf9)](_0x1de56b(0x137)+_0x4495cd),_0x27552c[_0x1de56b(0x15d)](_0x230411);});})[_0x4fd93b(0xef)](_0x561e2b=>{const _0x2fc8d0=_0x4fd93b;logger[_0x2fc8d0(0xf9)](_0x2fc8d0(0x10e)+_0x561e2b),_0x27552c[_0x2fc8d0(0x113)](_0x230411);});});},exports[a181_0x575fe3(0x115)]=async(_0xdbc85f,_0x126513)=>{const _0x64951e=a181_0x575fe3,_0xd07233={};_0xd07233['yXLNj']=_0x64951e(0x136),_0xd07233[_0x64951e(0x123)]=_0x64951e(0xed),_0xd07233[_0x64951e(0x12f)]=function(_0x13451b,_0x58c189){return _0x13451b-_0x58c189;};const _0x3e3500=_0xd07233;try{const _0x4bc97b=new Date();await helper['nodeRequest'](_0x3e3500[_0x64951e(0x149)],_0x3e3500[_0x64951e(0x123)],{},_0xdbc85f,_0x126513,0x1388);const _0x1a8397=_0x3e3500[_0x64951e(0x12f)](new Date(),_0x4bc97b);logger[_0x64951e(0xf9)]('Execution\x20time\x20for\x20'+_0x126513+_0x64951e(0x13d)+_0x1a8397+'ms');const _0x12004c={};return _0x12004c['hubUrl']=_0x126513,_0x12004c[_0x64951e(0x161)]=_0x1a8397,_0x12004c;}catch(_0x2c9ddf){return logger[_0x64951e(0xf9)](_0x64951e(0x101)+_0x126513+_0x64951e(0x131)+_0x2c9ddf),{};}},exports[a181_0x575fe3(0x153)]=async _0x5837c3=>{const _0x38f68c=a181_0x575fe3,_0x1f1f3e={'PwJoL':function(_0x53dc8e,_0x1066f0){return _0x53dc8e(_0x1066f0);},'cBnXP':_0x38f68c(0x12a),'tHHrK':_0x38f68c(0x156),'OfRLR':_0x38f68c(0x136),'oPEUL':_0x38f68c(0x14d)};try{const _0x2173e6=_0x1f1f3e[_0x38f68c(0x11d)](require,_0x1f1f3e[_0x38f68c(0x129)])['hubUrl'][_0x38f68c(0x14e)](_0x1f1f3e[_0x38f68c(0xf0)],''),_0x3120fe=await helper[_0x38f68c(0xfa)](_0x1f1f3e[_0x38f68c(0x146)],_0x1f1f3e[_0x38f68c(0x152)],{},_0x5837c3,_0x2173e6,0x1388),_0x2e446b=_0x3120fe[_0x38f68c(0x106)];return logger['debug'](_0x38f68c(0x151)+util[_0x38f68c(0x114)]('%j',_0x2e446b)),_0x2e446b[_0x38f68c(0x110)];}catch(_0x103e5e){logger['debug'](_0x38f68c(0x160)+_0x103e5e);}return null;};function a181_0x52c1(){const _0x34f427=['consumeHubUrlForSession','9725PqneRt','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','24RHNhxS','wqpEQ','map','OfRLR','https://','kFwqP','yXLNj','lcPop','bwjYA','uKqow','next_hubs','replace','now','_hubAllocationData','Response:\x20','oPEUL','nextHubs','value','SzBpm','/wd/hub','612aYhgrG','fulfilled','28190VmyTeQ','kcrsi','eJlMz','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','CPdmR','search','then','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','latency','qaMdE','check','787412ejWdQI','catch','tHHrK','hubRegion\x20','3132ZRknAM','QPVTw','./helpers/globals','10829038UJwAon','url','Vynml','resolve','debug','nodeRequest','delete','winstonLogger','oqDdX','NEAREST\x20HUBS\x20LIST:\x20','hubLatencies','HUB\x20URL\x20SET\x20TO\x20-\x20','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','mGKXz','ehTCs','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','getGlobal','data','qxaoA','xzcUE','./helpers/helper','jBWhF','length','allocateHub','gVPhV','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','pathname','hubs','util','hubUrl','nxtez','format','findLatency','newHubUrlBySession','parse','KVbEf','1883yODEab','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','skipped','has','PwJoL','4905uxBSOy','Invalid\x20new\x20HUB\x20URL:\x20','hubRegion','UMipj','path','IHsAY','bzUms','race','17224zgToDl','XuFyr','1106tvPGhT','cBnXP','./bin/utils/constants','iPLWw','hash','hostname','fyELi','Gywhq','5579796wvmLJT','\x20HUB\x20-\x20','set','jdrBU','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','143LAGpnB','GET','ERROR\x20in\x20hub\x20selection:\x20','getRequestOptions','SBTdY','QhdXn','DEOPm','setGlobal','\x20is:\x20','qYDzi'];a181_0x52c1=function(){return _0x34f427;};return a181_0x52c1();}
|
|
1
|
+
const a181_0x55ccbf=a181_0x51e8;function a181_0x1f48(){const _0x9d5951=['newHubUrlBySession','length','981064tlYivN','GET','check','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','GzxGr','gifmB','map','6uglgmq','kBFHa','format','FkYMI','fNEZO','yRxPn','XKnPF','uLzhH','cDyDR','4ENKBFi','hubRegion\x20','YLLYq','findLatency','37351668rjmNRi','./bin/utils/constants','data','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','now','nextHubs','hubRegion','SJmjk','hubs','\x20is:\x20','set','debug','status','util','fQwkL','uvGCn','znZkN','then','ZjwNB','Execution\x20time\x20for\x20','setGlobal','value','./helpers/helper','3789198mdXxYS','pathname','VPGjI','qOsxK','hash','8704akBgRS','next_hubs','gsyqt','244SfHSUU','wQonf','delete','MqMRK','getGlobal','has','1289690tcnaGn','72gToMlP','get','getRequestOptions','IUFhx','updateHubUrl','mxjWw','catch','url','/wd/hub','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','kUlkA','hubLatencies','resolve','JtnXa','Invalid\x20new\x20HUB\x20URL:\x20','parse','path','skipped','RatYn','nodeRequest','DvaBy','11alPlYp','7686010xRnsBh','https://','ERROR\x20in\x20hub\x20selection:\x20','winstonLogger','HUB\x20URL\x20SET\x20TO\x20-\x20','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','\x20HUB\x20-\x20','qShtB','latency','eHmIu','hubUrl','HUB_URL_MAP','GYVdJ','race','./helpers/logger','replace','LWriC','557082aINICt','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','all','CLECL','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','search','allSettled','SKrYv','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20'];a181_0x1f48=function(){return _0x9d5951;};return a181_0x1f48();}(function(_0x5aaa43,_0x8c6535){const _0xc7b340=a181_0x51e8,_0xb3cdb0=_0x5aaa43();while(!![]){try{const _0x2daf6d=parseInt(_0xc7b340(0x10b))/0x1*(-parseInt(_0xc7b340(0x10e))/0x2)+parseInt(_0xc7b340(0xd0))/0x3*(-parseInt(_0xc7b340(0xeb))/0x4)+-parseInt(_0xc7b340(0x114))/0x5*(parseInt(_0xc7b340(0xe2))/0x6)+-parseInt(_0xc7b340(0x106))/0x7+-parseInt(_0xc7b340(0xdb))/0x8*(parseInt(_0xc7b340(0x115))/0x9)+parseInt(_0xc7b340(0x12b))/0xa*(parseInt(_0xc7b340(0x12a))/0xb)+parseInt(_0xc7b340(0xef))/0xc;if(_0x2daf6d===_0x8c6535)break;else _0xb3cdb0['push'](_0xb3cdb0['shift']());}catch(_0x12871f){_0xb3cdb0['push'](_0xb3cdb0['shift']());}}}(a181_0x1f48,0xd055e));const url=require(a181_0x55ccbf(0x11c)),util=require(a181_0x55ccbf(0xfc)),helper=require(a181_0x55ccbf(0x105)),logger=require(a181_0x55ccbf(0x139))[a181_0x55ccbf(0x12e)],constants=require('./bin/utils/constants'),globals=require('./helpers/globals');function a181_0x51e8(_0x5dcb2f,_0x3ee5e7){const _0x1f4811=a181_0x1f48();return a181_0x51e8=function(_0x51e836,_0x5938dc){_0x51e836=_0x51e836-0xd0;let _0x359256=_0x1f4811[_0x51e836];return _0x359256;},a181_0x51e8(_0x5dcb2f,_0x3ee5e7);}global[a181_0x55ccbf(0xd9)]=global['newHubUrlBySession']||new Map(),exports[a181_0x55ccbf(0x117)]=_0x3b7e4d=>{const _0x44327a=a181_0x55ccbf,_0x2ba78a={};_0x2ba78a[_0x44327a(0x11f)]=function(_0x169d19,_0x110d78){return _0x169d19+_0x110d78;},_0x2ba78a[_0x44327a(0x129)]=_0x44327a(0x123);const _0x322b2d=_0x2ba78a,_0x207390=url[_0x44327a(0x124)](_0x3b7e4d);if(!_0x207390['hostname'])throw new Error(_0x322b2d[_0x44327a(0x11f)](_0x322b2d[_0x44327a(0x129)],_0x3b7e4d));return _0x207390[_0x44327a(0xd5)]=null,_0x207390[_0x44327a(0x10a)]=null,_0x207390[_0x44327a(0x125)]=_0x207390[_0x44327a(0x107)],_0x207390;},exports[a181_0x55ccbf(0x119)]=(_0x1dc4cf,_0x2abd10)=>{const _0x203604=a181_0x55ccbf,_0x1d9f33={};_0x1d9f33[_0x203604(0xd7)]='updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting';const _0x5f4ffd=_0x1d9f33;if(!_0x2abd10){logger[_0x203604(0xfa)](_0x5f4ffd['SKrYv']);return;}global[_0x203604(0xd9)][_0x203604(0xf9)](_0x2abd10,_0x1dc4cf);},exports['consumeHubUrlForSession']=_0x4f2d89=>{const _0x5e659d=a181_0x55ccbf;if(_0x4f2d89&&global[_0x5e659d(0xd9)][_0x5e659d(0x113)](_0x4f2d89)){const _0x46a40a=global[_0x5e659d(0xd9)][_0x5e659d(0x116)](_0x4f2d89);return global[_0x5e659d(0xd9)][_0x5e659d(0x110)](_0x4f2d89),_0x46a40a;}return'';},exports['allocateHub']=_0x3622c8=>{const _0x1a0825=a181_0x55ccbf,_0x52b990={'kezKO':function(_0xd8c31f,_0x45893c){return _0xd8c31f!==_0x45893c;},'JtnXa':function(_0x239baf,_0x5a3380){return _0x239baf+_0x5a3380;},'MqMRK':_0x1a0825(0x12c),'eHmIu':'_hubAllocationData','qShtB':function(_0x390fb5,_0x419815){return _0x390fb5===_0x419815;},'gLLQL':'fulfilled','CeKBH':'All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','yyqFd':function(_0x2e4452,_0x4ecfc4){return _0x2e4452+_0x4ecfc4;},'YLLYq':_0x1a0825(0x11d),'znZkN':function(_0x511a3e){return _0x511a3e();},'cDyDR':function(_0x3b6c8f,_0x4bd3ed){return _0x3b6c8f==_0x4bd3ed;},'SJmjk':function(_0x5ba528){return _0x5ba528();},'JBuqK':function(_0x521941){return _0x521941();}};return new Promise(_0x487a82=>{const _0x4444ac=_0x1a0825,_0x215e63={'IUFhx':function(_0x6ce46e){return _0x52b990['znZkN'](_0x6ce46e);}};if(_0x3622c8&&_0x3622c8[_0x4444ac(0xf5)]){const _0x201f4=constants[_0x4444ac(0x136)][_0x3622c8[_0x4444ac(0xf5)]];if(_0x201f4)return constants[_0x4444ac(0x135)]=_0x201f4,logger[_0x4444ac(0xfa)](_0x4444ac(0x11e)+_0x201f4),globals[_0x4444ac(0x103)](_0x52b990[_0x4444ac(0x134)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x201f4[_0x4444ac(0x13a)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x4444ac(0xf3)]()}),_0x52b990['JBuqK'](_0x487a82);logger[_0x4444ac(0xfa)](_0x4444ac(0xec)+_0x3622c8[_0x4444ac(0xf5)]+_0x4444ac(0xde));}Promise[_0x4444ac(0x121)](this['nextHubs'](_0x3622c8))[_0x4444ac(0x100)](_0x74fbc5=>{const _0x569914=_0x4444ac,_0x277a9e={'uLzhH':function(_0x42eaa1,_0x31ce0a){return _0x52b990['kezKO'](_0x42eaa1,_0x31ce0a);},'uvGCn':function(_0x2c6dc1,_0x7ba147){return _0x52b990['JtnXa'](_0x2c6dc1,_0x7ba147);},'kBFHa':_0x52b990[_0x569914(0x111)],'FkYMI':_0x52b990['eHmIu'],'gsyqt':function(_0x22c7e3,_0x3e3cbd){const _0x16de98=_0x569914;return _0x52b990[_0x16de98(0x132)](_0x22c7e3,_0x3e3cbd);},'gifmB':_0x52b990['gLLQL'],'qOsxK':_0x52b990['CeKBH'],'mxjWw':function(_0x3fead0,_0x42bebc){return _0x52b990['yyqFd'](_0x3fead0,_0x42bebc);},'wQonf':_0x52b990[_0x569914(0xed)],'LWriC':function(_0x583d46){const _0x171651=_0x569914;return _0x52b990[_0x171651(0xff)](_0x583d46);},'fQwkL':function(_0xebf71f,_0xec5f1b){const _0x17d443=_0x569914;return _0x52b990[_0x17d443(0x122)](_0xebf71f,_0xec5f1b);}};logger['debug']('NEAREST\x20HUBS\x20LIST:\x20'+util[_0x569914(0xe4)]('%j',_0x74fbc5));if(_0x52b990[_0x569914(0xea)](_0x74fbc5,null)||_0x52b990[_0x569914(0x132)](_0x74fbc5[_0x569914(0xda)],0x0))return _0x52b990[_0x569914(0xff)](_0x487a82);const _0x2d08c0=_0x74fbc5['map'](_0x14f403=>{const _0x3314bf=_0x569914,_0x15477a=_0x277a9e[_0x3314bf(0xfe)](_0x277a9e[_0x3314bf(0xe3)],_0x14f403);return this[_0x3314bf(0xee)](_0x3622c8,_0x15477a)['then'](_0x39ce80=>{const _0x117f14=_0x3314bf;if(_0x39ce80&&_0x39ce80[_0x117f14(0x135)]&&_0x277a9e[_0x117f14(0xe9)](_0x39ce80['latency'],undefined)){const _0x1ad2be={};return _0x1ad2be[_0x117f14(0x135)]=_0x39ce80[_0x117f14(0x135)],_0x1ad2be['latency']=_0x39ce80[_0x117f14(0x133)],_0x1ad2be['ok']=!![],_0x1ad2be;}const _0x802388={};return _0x802388[_0x117f14(0x135)]=_0x15477a,_0x802388[_0x117f14(0x133)]=null,_0x802388['ok']=![],_0x802388;})[_0x3314bf(0x11b)](()=>({'hubUrl':_0x15477a,'latency':null,'ok':![]}));});Promise[_0x569914(0x138)](_0x2d08c0[_0x569914(0xe1)](_0x1071b0=>_0x1071b0[_0x569914(0x100)](_0x29f3d9=>_0x29f3d9['ok']?_0x29f3d9:null)))[_0x569914(0x100)](_0x1bd405=>{const _0x31afca=_0x569914;if(_0x1bd405)return _0x1bd405;return Promise[_0x31afca(0xd2)](_0x2d08c0)[_0x31afca(0x100)](()=>null);})[_0x569914(0x100)](_0x51ad16=>{const _0x4181ca=_0x569914,_0x4674c4={'XKnPF':_0x277a9e[_0x4181ca(0xe5)],'RatYn':function(_0x154a96,_0x48f186){const _0x4360be=_0x4181ca;return _0x277a9e[_0x4360be(0x10d)](_0x154a96,_0x48f186);},'yRxPn':_0x277a9e[_0x4181ca(0xe0)]};if(!_0x51ad16){logger[_0x4181ca(0xfa)](_0x277a9e[_0x4181ca(0x109)]);const _0x3525eb=_0x277a9e[_0x4181ca(0x11a)](_0x277a9e[_0x4181ca(0xe3)],_0x74fbc5[0x0]);return globals[_0x4181ca(0x103)](_0x277a9e[_0x4181ca(0xe5)],{'nearestHubs':_0x74fbc5[_0x4181ca(0xe1)](_0xf2d566=>_0x4181ca(0x12c)+_0xf2d566),'hubLatencies':{},'selectedHub':_0x3525eb,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x4181ca(0xf3)]()}),constants[_0x4181ca(0x135)]=_0x277a9e[_0x4181ca(0x11a)](_0x3525eb,_0x277a9e[_0x4181ca(0x10f)]),logger[_0x4181ca(0xfa)](_0x4181ca(0xf2)+_0x3525eb),_0x277a9e[_0x4181ca(0x13b)](_0x487a82);}const _0x3e8a03={[_0x51ad16[_0x4181ca(0x135)]]:_0x51ad16[_0x4181ca(0x133)]},_0x2aba54={'nearestHubs':_0x74fbc5[_0x4181ca(0xe1)](_0x3c2f94=>_0x4181ca(0x12c)+_0x3c2f94),'hubLatencies':_0x3e8a03,'selectedHub':_0x51ad16[_0x4181ca(0x135)],'selectedHubLatency':_0x51ad16['latency'],'timestamp':Date[_0x4181ca(0xf3)]()};globals[_0x4181ca(0x103)](_0x277a9e[_0x4181ca(0xe5)],_0x2aba54),constants[_0x4181ca(0x135)]=_0x277a9e[_0x4181ca(0xfd)](_0x51ad16[_0x4181ca(0x135)],_0x277a9e[_0x4181ca(0x10f)]),logger['debug'](_0x4181ca(0x12f)+_0x51ad16[_0x4181ca(0x135)]),_0x277a9e[_0x4181ca(0x13b)](_0x487a82),Promise[_0x4181ca(0xd6)](_0x2d08c0)[_0x4181ca(0x100)](_0x553c6e=>{const _0x77e826=_0x4181ca;try{const _0x528407=globals[_0x77e826(0x112)](_0x4674c4[_0x77e826(0xe8)]);if(!_0x528407||_0x528407[_0x77e826(0x126)])return;const _0x6509b1={};for(const _0x3269f8 of _0x553c6e){_0x4674c4[_0x77e826(0x127)](_0x3269f8[_0x77e826(0xfb)],_0x4674c4[_0x77e826(0xe7)])&&_0x3269f8[_0x77e826(0x104)]&&_0x3269f8['value']['ok']&&(_0x6509b1[_0x3269f8[_0x77e826(0x104)][_0x77e826(0x135)]]=_0x3269f8['value'][_0x77e826(0x133)]);}_0x528407[_0x77e826(0x120)]=_0x6509b1;}catch(_0xec5d03){logger[_0x77e826(0xfa)]('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0xec5d03);}})[_0x4181ca(0x11b)](_0x5c6ca8=>{const _0x269fec=_0x4181ca;logger[_0x269fec(0xfa)](_0x269fec(0xd1)+_0x5c6ca8);});})['catch'](_0x17e491=>{const _0x212fc8=_0x569914;logger['debug'](_0x212fc8(0x12d)+_0x17e491),_0x215e63[_0x212fc8(0x118)](_0x487a82);});})[_0x4444ac(0x11b)](_0x3c1635=>{const _0x1bb3d3=_0x4444ac;logger['debug'](_0x1bb3d3(0xd4)+_0x3c1635),_0x52b990[_0x1bb3d3(0xf6)](_0x487a82);});});},exports[a181_0x55ccbf(0xee)]=async(_0x15d511,_0x3d7dd)=>{const _0x24074f=a181_0x55ccbf,_0x30e826={};_0x30e826[_0x24074f(0xdf)]=_0x24074f(0xdc),_0x30e826[_0x24074f(0xd3)]=_0x24074f(0xdd),_0x30e826[_0x24074f(0x137)]=function(_0x6b02e5,_0x37a1d3){return _0x6b02e5-_0x37a1d3;};const _0x4dcc52=_0x30e826;try{const _0x40a3a6=new Date();await helper['nodeRequest'](_0x4dcc52['GzxGr'],_0x4dcc52['CLECL'],{},_0x15d511,_0x3d7dd,0x1388);const _0x7a9dbf=_0x4dcc52[_0x24074f(0x137)](new Date(),_0x40a3a6);logger[_0x24074f(0xfa)](_0x24074f(0x102)+_0x3d7dd+_0x24074f(0xf8)+_0x7a9dbf+'ms');const _0x31d781={};return _0x31d781[_0x24074f(0x135)]=_0x3d7dd,_0x31d781[_0x24074f(0x133)]=_0x7a9dbf,_0x31d781;}catch(_0x3fdc1c){return logger[_0x24074f(0xfa)](_0x24074f(0xd8)+_0x3d7dd+_0x24074f(0x131)+_0x3fdc1c),{};}},exports[a181_0x55ccbf(0xf4)]=async _0x3018d0=>{const _0x59f9e6=a181_0x55ccbf,_0x35a718={'VPGjI':function(_0x348d5a,_0x36c528){return _0x348d5a(_0x36c528);},'fNEZO':_0x59f9e6(0xf0),'wgroA':_0x59f9e6(0x11d),'hQDeb':_0x59f9e6(0xdc),'ZjwNB':_0x59f9e6(0x10c)};try{const _0x53f652=_0x35a718[_0x59f9e6(0x108)](require,_0x35a718[_0x59f9e6(0xe6)])[_0x59f9e6(0x135)]['replace'](_0x35a718['wgroA'],''),_0x18066b=await helper[_0x59f9e6(0x128)](_0x35a718['hQDeb'],_0x35a718[_0x59f9e6(0x101)],{},_0x3018d0,_0x53f652,0x1388),_0xf99107=_0x18066b[_0x59f9e6(0xf1)];return logger['debug']('Response:\x20'+util[_0x59f9e6(0xe4)]('%j',_0xf99107)),_0xf99107[_0x59f9e6(0xf7)];}catch(_0x3ad86e){logger['debug'](_0x59f9e6(0x130)+_0x3ad86e);}return null;};
|