browserstack-node-sdk 1.63.6 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/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/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/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/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a172_0x55b8f0=a172_0x1f6a;(function(_0x5346d8,_0x37b5d2){const _0xc40448=a172_0x1f6a,_0x275709=_0x5346d8();while(!![]){try{const _0x569974=-parseInt(_0xc40448(0x1e6))/0x1+parseInt(_0xc40448(0x26e))/0x2*(parseInt(_0xc40448(0x241))/0x3)+-parseInt(_0xc40448(0x203))/0x4*(parseInt(_0xc40448(0x224))/0x5)+parseInt(_0xc40448(0x220))/0x6*(-parseInt(_0xc40448(0x252))/0x7)+-parseInt(_0xc40448(0x244))/0x8+-parseInt(_0xc40448(0x258))/0x9+parseInt(_0xc40448(0x291))/0xa;if(_0x569974===_0x37b5d2)break;else _0x275709['push'](_0x275709['shift']());}catch(_0x1c8504){_0x275709['push'](_0x275709['shift']());}}}(a172_0x2788,0x4b869));const bsSetupHelper=require(a172_0x55b8f0(0x284)),LoadTestModule=require('../../bin/v2/modules/loadTestModule'),{isTestObservabilitySession,getFrameworkVersion}=require(a172_0x55b8f0(0x21a)),accessibilityHelper=require(a172_0x55b8f0(0x296)),logger=require(a172_0x55b8f0(0x232))[a172_0x55b8f0(0x2a9)],{nestedKeyValue}=require(a172_0x55b8f0(0x1fd)),scripts=require(a172_0x55b8f0(0x20d)),globals=require(a172_0x55b8f0(0x23c)),testHubConstants=require('./constants.js'),PWTestDetails=require('../../bin/playwright/reporter/test-details.js'),JestTestDetails=require('../../bin/jest/test-observability/test-details.js'),{FRAMEWORKS}=require(a172_0x55b8f0(0x24f)),{isTurboScaleSession}=require('../ats/helper'),OrchestrationUtils=require('../test-orchestration/orchestrationUtils.js'),constants=require('../../bin/utils/constants.js');let testData={};exports[a172_0x55b8f0(0x299)]=_0x4362cf=>{const _0x5a3400=a172_0x55b8f0,_0x535359={'INcSd':function(_0xdb3a8d){return _0xdb3a8d();},'oFacG':function(_0x3ee8fe,_0x1aa9ff){return _0x3ee8fe===_0x1aa9ff;},'NmsCI':_0x5a3400(0x29d)};let _0xe14be8=![],_0x38e355=![];if(bsSetupHelper[_0x5a3400(0x297)]()&&bsSetupHelper[_0x5a3400(0x23a)](_0x4362cf))_0x38e355=!![];else bsSetupHelper[_0x5a3400(0x297)]()&&(_0xe14be8=!![]);return Object[_0x5a3400(0x298)]({'observability':_0x535359[_0x5a3400(0x247)](isTestObservabilitySession),'accessibility':exports[_0x5a3400(0x249)](_0x4362cf),'percy':_0x4362cf[_0x5a3400(0x208)]||![],'sr_automation':_0x535359['oFacG'](process[_0x5a3400(0x209)]['BROWSERSTACK_SR_AUTOMATION'],_0x535359[_0x5a3400(0x204)])||_0x4362cf[_0x5a3400(0x1e2)]||![],'automate':_0xe14be8,'app_automate':_0x38e355,'turboscale':bsSetupHelper[_0x5a3400(0x223)](_0x4362cf),'lts':LoadTestModule[_0x5a3400(0x2a4)](_0x4362cf)},bsSetupHelper[_0x5a3400(0x237)]());},exports['getFrameworkDetails']=(_0x1aa3c8,_0x110ced)=>{const _0x148702=a172_0x55b8f0,_0x1da367={'uNgjB':function(_0x3f298d,_0x4ed440){return _0x3f298d(_0x4ed440);},'qxXCf':_0x148702(0x1dd)},_0x1bb1a7={'frameworkName':_0x110ced,'frameworkVersion':_0x1da367[_0x148702(0x239)](getFrameworkVersion,_0x110ced),'sdkVersion':bsSetupHelper[_0x148702(0x281)](),'language':_0x1da367['qxXCf'],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x1aa3c8,_0x110ced)};return process[_0x148702(0x209)][_0x148702(0x21c)]=JSON[_0x148702(0x22b)](_0x1bb1a7),_0x1bb1a7;},exports[a172_0x55b8f0(0x2ab)]=_0x1a69fb=>{const _0xf28048=a172_0x55b8f0,_0x40739d={};_0x40739d[_0xf28048(0x212)]=_0xf28048(0x245),_0x40739d[_0xf28048(0x202)]='true';const _0x55d178=_0x40739d;process[_0xf28048(0x209)][_0xf28048(0x2ac)]=_0x55d178[_0xf28048(0x212)],bsSetupHelper['isTrue'](_0x1a69fb[_0xf28048(0x274)][_0xf28048(0x208)])&&(!_0x1a69fb[_0xf28048(0x208)]||!_0x1a69fb['percy'][_0xf28048(0x22f)]())&&(process[_0xf28048(0x209)][_0xf28048(0x2ac)]=_0x55d178['oUDbl']);},exports['isPercyBuild']=()=>{const _0x53ca66=a172_0x55b8f0;return bsSetupHelper[_0x53ca66(0x259)](process[_0x53ca66(0x209)]['BROWSERSTACK_PERCY']);},exports[a172_0x55b8f0(0x249)]=(_0x4d8803={})=>{const _0x1eb12e=a172_0x55b8f0,_0x508433={};_0x508433[_0x1eb12e(0x272)]=function(_0x4ed03e,_0x2a6705){return _0x4ed03e!==_0x2a6705;},_0x508433[_0x1eb12e(0x277)]=function(_0x137d56,_0x9b5e02){return _0x137d56===_0x9b5e02;},_0x508433[_0x1eb12e(0x2b0)]=_0x1eb12e(0x29d),_0x508433[_0x1eb12e(0x27a)]=function(_0x4324bd,_0x18af97){return _0x4324bd>_0x18af97;};const _0x425139=_0x508433;if(_0x425139[_0x1eb12e(0x272)](process[_0x1eb12e(0x209)][_0x1eb12e(0x264)],undefined))return bsSetupHelper['isTrue'](process[_0x1eb12e(0x209)][_0x1eb12e(0x264)]);let _0x25a6be=_0x425139[_0x1eb12e(0x277)](process['env'][_0x1eb12e(0x20e)],_0x425139[_0x1eb12e(0x2b0)]);return _0x425139[_0x1eb12e(0x27a)](Object[_0x1eb12e(0x24a)](_0x4d8803)[_0x1eb12e(0x1f5)],0x0)&&(process[_0x1eb12e(0x209)][_0x1eb12e(0x21d)]=accessibilityHelper[_0x1eb12e(0x1f6)](_0x4d8803)),_0x25a6be=_0x25a6be||_0x425139['yOaUL'](process['env'][_0x1eb12e(0x21d)],_0x425139[_0x1eb12e(0x2b0)]),_0x25a6be;},exports[a172_0x55b8f0(0x260)]=(_0x1ffe4b,_0x581621)=>{const _0x2a52cc=a172_0x55b8f0,_0xff2c50={'xNwSh':function(_0x3182d1){return _0x3182d1();},'EwKDO':'4|5|3|1|0|2','XHDKT':function(_0x176d91,_0x5bd00e,_0x578bb8){return _0x176d91(_0x5bd00e,_0x578bb8);},'VLTfM':'observability','IQXSR':'options','DrWSK':_0x2a52cc(0x29d)};if(!_0x1ffe4b||!_0x1ffe4b[_0x2a52cc(0x215)])return exports[_0x2a52cc(0x26c)](),[null,null,null];if(!_0x1ffe4b[_0x2a52cc(0x215)][_0x2a52cc(0x24e)])return exports['handleErrorForObservability'](_0x1ffe4b[_0x2a52cc(0x215)]),[null,null,null];if(_0xff2c50['xNwSh'](isTestObservabilitySession)){const _0x2764fd=_0xff2c50[_0x2a52cc(0x22d)][_0x2a52cc(0x2a8)]('|');let _0x453ecb=0x0;while(!![]){switch(_0x2764fd[_0x453ecb++]){case'0':logger[_0x2a52cc(0x1f2)]('['+constants['TEST_REPORTING_ANALYTICS']+']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x1ffe4b[_0x2a52cc(0x28e)]);continue;case'1':_0xff2c50[_0x2a52cc(0x263)](nestedKeyValue,_0x1ffe4b,[_0xff2c50[_0x2a52cc(0x1fa)],_0xff2c50[_0x2a52cc(0x23d)]])&&(process[_0x2a52cc(0x209)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x1ffe4b[_0x2a52cc(0x215)][_0x2a52cc(0x23e)]['allow_screenshots'][_0x2a52cc(0x23b)]());continue;case'2':return[_0x1ffe4b['jwt'],_0x1ffe4b[_0x2a52cc(0x28e)],process[_0x2a52cc(0x209)][_0x2a52cc(0x210)]];case'3':_0x1ffe4b[_0x2a52cc(0x28e)]&&(process[_0x2a52cc(0x209)][_0x2a52cc(0x2ad)]=_0x1ffe4b[_0x2a52cc(0x28e)]);continue;case'4':process['env'][_0x2a52cc(0x211)]=_0xff2c50[_0x2a52cc(0x273)];continue;case'5':if(_0x1ffe4b[_0x2a52cc(0x28c)]){process[_0x2a52cc(0x209)]['BS_TESTOPS_JWT']=_0x1ffe4b['jwt'];const _0x4250e5={};_0x4250e5[_0x2a52cc(0x228)]=_0x581621[_0x2a52cc(0x228)],_0x4250e5[_0x2a52cc(0x20b)]=_0x581621[_0x2a52cc(0x20b)],process['env'][_0x2a52cc(0x266)]=JSON['stringify'](_0x4250e5);}continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x281420=>{const _0xe12d5f=a172_0x55b8f0,_0x6656ce={'vbGDr':function(_0x2fd9e8,_0x4927e0,_0xb75792){return _0x2fd9e8(_0x4927e0,_0xb75792);},'nGidX':'accessibility','sDleD':_0xe12d5f(0x23e),'towIU':function(_0x3b9daa,_0xf0cea2,_0xbf1e36,_0x422080){return _0x3b9daa(_0xf0cea2,_0xbf1e36,_0x422080);},'VcDDQ':'name','HTtda':_0xe12d5f(0x21e),'DGtJy':_0xe12d5f(0x201),'VtBPK':_0xe12d5f(0x26b),'hNfYB':_0xe12d5f(0x287),'FRyeB':_0xe12d5f(0x234),'aMswL':function(_0x40951c,_0x5e1462){return _0x40951c(_0x5e1462);},'SVCNj':function(_0x2114e3,_0xf73f0a){return _0x2114e3===_0xf73f0a;},'peclK':_0xe12d5f(0x29d),'nNSPL':_0xe12d5f(0x262)};if(!_0x281420[_0xe12d5f(0x279)])return exports[_0xe12d5f(0x2a1)](),[null,null];if(!_0x281420[_0xe12d5f(0x279)][_0xe12d5f(0x24e)])return exports[_0xe12d5f(0x2a1)](_0x281420[_0xe12d5f(0x279)]),[null,null];if(_0x6656ce['vbGDr'](nestedKeyValue,_0x281420,[_0x6656ce[_0xe12d5f(0x242)],_0x6656ce['sDleD']])){const {accessibilityToken:_0x32d940,scannerVersion:_0x24bf78,scannerProcessingTimeout:_0x56c822,isMobileScanningEnabledForGroup:_0x4f2845}=_0x6656ce[_0xe12d5f(0x29f)](jsonifyAccessibilityArray,_0x281420[_0xe12d5f(0x279)][_0xe12d5f(0x23e)]['capabilities'],_0x6656ce[_0xe12d5f(0x276)],_0x6656ce[_0xe12d5f(0x278)]),_0x1b17fb={'scripts':_0x6656ce[_0xe12d5f(0x29f)](jsonifyAccessibilityArray,_0x281420[_0xe12d5f(0x279)][_0xe12d5f(0x23e)][_0xe12d5f(0x25c)],_0x6656ce['VcDDQ'],_0x6656ce[_0xe12d5f(0x205)])};_0x1b17fb[_0x6656ce[_0xe12d5f(0x2a5)]]=_0x281420[_0xe12d5f(0x279)][_0xe12d5f(0x23e)][_0xe12d5f(0x253)][_0xe12d5f(0x26b)];const _0x1bb3bd=_0x6656ce['towIU'](jsonifyAccessibilityArray,_0x281420[_0xe12d5f(0x279)][_0xe12d5f(0x23e)][_0xe12d5f(0x1f7)],_0x6656ce[_0xe12d5f(0x276)],_0x6656ce[_0xe12d5f(0x278)]);_0x1b17fb[_0x6656ce[_0xe12d5f(0x283)]]=_0x1bb3bd[_0x6656ce[_0xe12d5f(0x1fc)]],scripts[_0xe12d5f(0x292)](_0x1b17fb),scripts[_0xe12d5f(0x254)]();let _0x3780ae=process[_0xe12d5f(0x209)][_0xe12d5f(0x295)];_0x3780ae=!!_0x3780ae?JSON[_0xe12d5f(0x28a)](_0x3780ae):{},_0x3780ae['scannerVersion']=_0x24bf78,process[_0xe12d5f(0x209)][_0xe12d5f(0x295)]=JSON['stringify'](_0x3780ae),process[_0xe12d5f(0x209)]['BS_A11Y_JWT']=_0x32d940,process['env'][_0xe12d5f(0x216)]=_0x6656ce[_0xe12d5f(0x238)](String,_0x6656ce[_0xe12d5f(0x24d)](_0x4f2845,!![])||_0x6656ce[_0xe12d5f(0x24d)](_0x4f2845,_0x6656ce[_0xe12d5f(0x29e)])),logger[_0xe12d5f(0x1f2)](_0xe12d5f(0x243)+_0x281420['build_hashed_id']);const _0x39aba3=accessibilityHelper[_0xe12d5f(0x1ec)](_0x32d940);return _0x39aba3&&bsSetupHelper[_0xe12d5f(0x259)](_0x39aba3[_0xe12d5f(0x1ed)])&&(process['env'][_0xe12d5f(0x1e5)]=!![],logger[_0xe12d5f(0x1f2)](_0x6656ce['nNSPL'])),[_0x32d940,_0x281420['build_hashed_id'],_0x56c822];}return[null,null];},exports[a172_0x55b8f0(0x26c)]=_0x578fd1=>{const _0x24d3e7=a172_0x55b8f0,_0x2858ea={};_0x2858ea[_0x24d3e7(0x256)]='6|0|4|5|1|2|3',_0x2858ea[_0x24d3e7(0x27e)]='null',_0x2858ea['nwiwk']=_0x24d3e7(0x245);const _0x39f916=_0x2858ea,_0x4328e9=_0x39f916[_0x24d3e7(0x256)][_0x24d3e7(0x2a8)]('|');let _0x11eb28=0x0;while(!![]){switch(_0x4328e9[_0x11eb28++]){case'0':process['env'][_0x24d3e7(0x271)]=_0x39f916[_0x24d3e7(0x27e)];continue;case'1':process[_0x24d3e7(0x209)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x39f916[_0x24d3e7(0x27e)];continue;case'2':process[_0x24d3e7(0x209)][_0x24d3e7(0x210)]=_0x39f916[_0x24d3e7(0x27e)];continue;case'3':exports[_0x24d3e7(0x1e9)](_0x578fd1,testHubConstants[_0x24d3e7(0x1df)]);continue;case'4':process[_0x24d3e7(0x209)][_0x24d3e7(0x211)]=_0x39f916[_0x24d3e7(0x27d)];continue;case'5':process[_0x24d3e7(0x209)]['BS_TESTOPS_JWT']=_0x39f916[_0x24d3e7(0x27e)];continue;case'6':process[_0x24d3e7(0x209)]['BROWSERSTACK_TESTHUB_UUID']=_0x39f916[_0x24d3e7(0x27e)];continue;}break;}},exports[a172_0x55b8f0(0x2a1)]=_0x56c1db=>{const _0x1f9708=a172_0x55b8f0,_0x1ca84a={};_0x1ca84a[_0x1f9708(0x1f9)]='1|4|0|2|3',_0x1ca84a[_0x1f9708(0x29b)]=_0x1f9708(0x245),_0x1ca84a['wxvpP']=_0x1f9708(0x289);const _0x56b876=_0x1ca84a,_0x31a168=_0x56b876[_0x1f9708(0x1f9)][_0x1f9708(0x2a8)]('|');let _0x597605=0x0;while(!![]){switch(_0x31a168[_0x597605++]){case'0':process[_0x1f9708(0x209)][_0x1f9708(0x20e)]=_0x56b876[_0x1f9708(0x29b)];continue;case'1':process[_0x1f9708(0x209)][_0x1f9708(0x236)]=_0x56b876[_0x1f9708(0x2b1)];continue;case'2':process[_0x1f9708(0x209)][_0x1f9708(0x21d)]=_0x56b876[_0x1f9708(0x29b)];continue;case'3':exports[_0x1f9708(0x1e9)](_0x56c1db,testHubConstants[_0x1f9708(0x21f)]);continue;case'4':process[_0x1f9708(0x209)]['BROWSERSTACK_TESTHUB_JWT']=_0x56b876[_0x1f9708(0x2b1)];continue;}break;}},exports[a172_0x55b8f0(0x1e9)]=(_0x19f502,_0x26aa81='')=>{const _0x27d857=a172_0x55b8f0,_0x22f2c3={};_0x22f2c3['NgnHB']=function(_0x24d41e,_0x3d404b){return _0x24d41e===_0x3d404b;};const _0x51bb71=_0x22f2c3;if(_0x51bb71['NgnHB'](_0x19f502,undefined)){logger[_0x27d857(0x1fb)](_0x26aa81['toUpperCase']()+_0x27d857(0x280));return;}for(const _0x437af0 of _0x19f502[_0x27d857(0x2a7)]){const _0x16ebcb=_0x437af0[_0x27d857(0x26f)],_0x184ae4=_0x437af0[_0x27d857(0x1e1)];if(_0x184ae4)switch(_0x16ebcb){case testHubConstants[_0x27d857(0x25e)][_0x27d857(0x255)]:logger[_0x27d857(0x1fb)](_0x184ae4);break;case testHubConstants['ERROR'][_0x27d857(0x2af)]:logger[_0x27d857(0x270)](_0x184ae4);break;case testHubConstants[_0x27d857(0x25e)][_0x27d857(0x1f0)]:logger['error'](_0x184ae4);break;default:logger[_0x27d857(0x1fb)](_0x184ae4);}}};function a172_0x2788(){const _0x3aced4=['env','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','password','PLAYWRIGHT','../accessibility-automation/scripts.js','BROWSERSTACK_TEST_ACCESSIBILITY_YML','TOTuW','BS_TESTOPS_ALLOW_SCREENSHOTS','BS_TESTOPS_BUILD_COMPLETED','soVVg','JEST','BgJwz','observability','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','getTestData','JASMINE','BROWSERSTACK_TESTHUB_UUID:\x20','../test-observability/utils','rCgBk','FRAMEWORK_DETAILS','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','value','ACCESSIBILITY','12zdsWnN','XXIdl','aQZbb','isTurboScaleSession','170ItrIsf','slice','fFjSe','CBTSessionCreated','username','shouldProcessEventForTesthub','LLryT','stringify','TQmAo','EwKDO','description','isRunning','ZfcWy','sHTHb','../logger','lApZy','goog:chromeOptions','isAccessibilityPlatform','BROWSERSTACK_TESTHUB_UUID','getCentralUser','aMswL','uNgjB','isAppAutomateSession','toString','../globals.js','IQXSR','options','tags','isUndefined','187899xQaRaY','nGidX','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','28528AcsTyp','false','join','INcSd','durlR','isAccessibilityEnabled','keys','vjWVt','setTestData','SVCNj','success','../test-observability/constants.js','HookRunStarted','mdrvN','1750357yLRcQK','commandsToWrap','toJson','INVALID_CREDENTIALS','sHTyT','OPXPC','1855863tvSFQb','isTrue','BROWSERSTACK_TEST_PLAN_ID','uploadEventData','scripts','getGlobal','ERROR','LogCreated','setTestObservabilityVariables','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','XHDKT','BROWSERSTACK_ACCESSIBILITY','platforms','CREDENTIALS_FOR_CRASH_REPORTING','mIGHB','getBuildStartData','includes','getAccessibilityValueFromYml','commands','handleErrorForObservability','FoUQW','12RteTTr','key','info','BROWSERSTACK_TESTHUB_JWT','txkkN','DrWSK','config','GcSdu','VcDDQ','yOaUL','HTtda','accessibility','DblIH','testManagementOptions','testPlanId','nwiwk','zTosS','setTestHubCommonMetaInfo','\x20Build\x20creation\x20failed','getAgentVersion','ITeZK','hNfYB','../helper','isPercyBuild','YCsqz','nonBStackInfraA11yChromeOptions','OZxhy','null','parse','test_run','jwt','bVdNE','build_hashed_id','startsWith','HMXcm','8864140TAcigl','parseFromJson','XjYZw','product_map','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../accessibility-automation/helper','isBrowserstackInfra','assign','getProductMap','eNHWI','HwdjM','qgFxj','true','peclK','towIU','MOCHA','handleErrorForAccessibility','getCurrentTestData','uuid','isLTSSession','VtBPK','LZCnh','errors','split','winstonLogger','FJxsf','setPercyFlag','BROWSERSTACK_PERCY','BS_TESTOPS_BUILD_HASHED_ID','PikEK','ACCESS_DENIED','QtmQX','wxvpP','javascript','CODECEPT','OBSERVABILITY','scopes','message','sr_automation','aSufm','Mmpic','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','216226GHuXBH','getTestOrchestrationBuildStartData','GlmRc','logBuildError','zHqcv','getTestPlanId','parseA11yJwtPayload','skipCDPConnectOverride','oiNNu','gkTeR','DEPRECATED','appendTesthubParams','debug','BROWSERSTACK_SR_AUTOMATION','argv','length','checkAccessibilityPlatformConfig','capabilities','CUCUMBER','WTUPS','VLTfM','error','FRyeB','../helper.js','enYKh','shouldScanTestForAccessibility','bDheZ','command','oUDbl','3148WAJRHx','NmsCI','DGtJy','TDDZp','ZILBY','percy'];a172_0x2788=function(){return _0x3aced4;};return a172_0x2788();}const jsonifyAccessibilityArray=(_0x3d17c2,_0x38632e,_0x468ccb)=>{const _0x46a317={};return _0x3d17c2['forEach'](_0x7f393e=>{_0x46a317[_0x7f393e[_0x38632e]]=_0x7f393e[_0x468ccb];}),_0x46a317;};exports[a172_0x55b8f0(0x27f)]=_0x44297c=>{const _0x7bff7a=a172_0x55b8f0;_0x44297c[_0x7bff7a(0x28c)]&&(process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x44297c[_0x7bff7a(0x28c)]);_0x44297c[_0x7bff7a(0x28e)]&&(process[_0x7bff7a(0x209)][_0x7bff7a(0x236)]=_0x44297c['build_hashed_id'],logger['debug'](_0x7bff7a(0x219)+_0x44297c[_0x7bff7a(0x28e)]));;},exports[a172_0x55b8f0(0x229)]=(_0xb73f6d='',_0x4b12f8='')=>{const _0x1f3df3=a172_0x55b8f0,_0x3e2ddd={'LZCnh':function(_0x4f6e36){return _0x4f6e36();},'aQZbb':function(_0x13e3d4,_0x21f08){return _0x13e3d4===_0x21f08;},'PikEK':_0x1f3df3(0x25b),'TQmAo':_0x1f3df3(0x25f),'eNHWI':_0x1f3df3(0x227),'BgJwz':function(_0x501bde){return _0x501bde();},'durlR':_0x1f3df3(0x250),'ZfcWy':'HookRunFinished','ITeZK':function(_0x296d85){return _0x296d85();}};if(exports[_0x1f3df3(0x285)]()&&!exports['isAccessibilityEnabled']()&&!_0x3e2ddd[_0x1f3df3(0x2a6)](isTestObservabilitySession)){if(_0x3e2ddd[_0x1f3df3(0x222)](_0x4b12f8,_0x3e2ddd[_0x1f3df3(0x2ae)]))return![];if([_0x3e2ddd[_0x1f3df3(0x22c)],_0x3e2ddd[_0x1f3df3(0x29a)]][_0x1f3df3(0x269)](_0xb73f6d))return![];return!![];}if(exports[_0x1f3df3(0x249)]()&&!_0x3e2ddd[_0x1f3df3(0x214)](isTestObservabilitySession)){if([_0x3e2ddd[_0x1f3df3(0x248)],_0x3e2ddd[_0x1f3df3(0x230)],_0x3e2ddd[_0x1f3df3(0x22c)]]['includes'](_0xb73f6d))return![];return!![];}return exports[_0x1f3df3(0x249)]()||_0x3e2ddd[_0x1f3df3(0x282)](isTestObservabilitySession)||exports[_0x1f3df3(0x285)]();},exports[a172_0x55b8f0(0x1f1)]=(_0x458ff8,_0x12acc9,_0x23a2f5='',_0x1d7cc0)=>{const _0x58b878=a172_0x55b8f0,_0xfe25d4={'bVdNE':'HookRunStarted','FJxsf':'HookRunFinished','enYKh':function(_0x2533e2,_0x469992){return _0x2533e2===_0x469992;},'fFjSe':'bstackA11yShouldScan','XXIdl':'isAccessibilityPlatform','FoUQW':_0x58b878(0x279),'YCsqz':function(_0x353036,_0x199e88){return _0x353036&&_0x199e88;},'oiNNu':function(_0x1447da,_0x12f7c4){return _0x1447da+_0x12f7c4;},'GlmRc':function(_0x2ff895,_0x5bd396){return _0x2ff895+_0x5bd396;},'qgFxj':function(_0x14c18f,_0x5eb80f){return _0x14c18f(_0x5eb80f);},'bDheZ':'../../bin/jasmine/testRunMap.js','OZxhy':function(_0x151b7f,_0x44a76e){return _0x151b7f+_0x44a76e;},'YZgWO':function(_0x250081,_0x4efa6a){return _0x250081+_0x4efa6a;},'aNFjN':function(_0x522fec,_0x297b05){return _0x522fec===_0x297b05;},'aSufm':function(_0x1bf912,_0x3667fe){return _0x1bf912===_0x3667fe;},'TDDZp':'TestRunStarted','XjYZw':function(_0x413bcf,_0x5d21db){return _0x413bcf===_0x5d21db;},'mIGHB':function(_0x34ae95,_0x3f3cff){return _0x34ae95&&_0x3f3cff;},'gkTeR':function(_0x37cab7,_0x59199d){return _0x37cab7===_0x59199d;},'nUusX':_0x58b878(0x294)};if(![_0xfe25d4[_0x58b878(0x28d)],_0xfe25d4[_0x58b878(0x2aa)]]['includes'](_0x12acc9)&&exports['isAccessibilityEnabled']()){const _0x5edc93={};if(_0xfe25d4['enYKh'](_0x1d7cc0,FRAMEWORKS[_0x58b878(0x2a0)])){const _0x49135b=globals[_0x58b878(0x25d)](_0xfe25d4[_0x58b878(0x226)])||accessibilityHelper[_0x58b878(0x1ff)](_0x23a2f5['titlePath'](),!![]),_0x5e3303=globals[_0x58b878(0x25d)](_0xfe25d4[_0x58b878(0x221)]);_0x5edc93[_0xfe25d4[_0x58b878(0x26d)]]=_0xfe25d4[_0x58b878(0x286)](_0x5e3303,_0x49135b);}if(_0xfe25d4['enYKh'](_0x1d7cc0,FRAMEWORKS[_0x58b878(0x213)])){const _0x996e16=_0xfe25d4[_0x58b878(0x1ee)](_0xfe25d4[_0x58b878(0x1e8)](_0x458ff8[_0x58b878(0x1e0)][_0x58b878(0x246)]('\x20'),'\x20'),_0x23a2f5['name']),_0x2a5e1d=globals['getGlobal'](_0xfe25d4[_0x58b878(0x226)])||accessibilityHelper[_0x58b878(0x1ff)](_0x996e16,![]),_0x6d1457=browserStackGlobals[_0x58b878(0x235)];_0x5edc93[_0xfe25d4[_0x58b878(0x26d)]]=_0xfe25d4[_0x58b878(0x286)](_0x6d1457,_0x2a5e1d);}if(_0xfe25d4[_0x58b878(0x1fe)](_0x1d7cc0,FRAMEWORKS[_0x58b878(0x218)])){const _0x24ad3e=_0xfe25d4[_0x58b878(0x29c)](require,_0xfe25d4[_0x58b878(0x200)]),_0x3f8e72=_0x23a2f5&&_0x24ad3e['get'](_0x23a2f5['id'])||_0x458ff8[_0x58b878(0x2a3)];_0x3f8e72&&(_0x458ff8['uuid']=_0x3f8e72);const _0x54b6f7=_0xfe25d4[_0x58b878(0x288)](_0xfe25d4['YZgWO'](_0x458ff8[_0x58b878(0x1e0)][_0x58b878(0x246)]('\x20'),'\x20'),_0x23a2f5[_0x58b878(0x22e)]||_0x458ff8['name']),_0xe062d2=globals[_0x58b878(0x25d)](_0xfe25d4[_0x58b878(0x226)])||accessibilityHelper[_0x58b878(0x1ff)](_0x54b6f7,![]),_0x15e426=globals[_0x58b878(0x25d)](_0xfe25d4[_0x58b878(0x221)]);_0x5edc93[_0xfe25d4[_0x58b878(0x26d)]]=_0xfe25d4[_0x58b878(0x286)](_0x15e426,_0xe062d2);}if(_0xfe25d4['aNFjN'](_0x1d7cc0,FRAMEWORKS[_0x58b878(0x20c)])){if(_0xfe25d4[_0x58b878(0x1e3)](_0x12acc9,_0xfe25d4[_0x58b878(0x206)]))return;_0x5edc93[_0xfe25d4[_0x58b878(0x26d)]]=PWTestDetails['getAccessibilityPlatformValidation'](_0x458ff8[_0x58b878(0x2a3)]);}if(_0xfe25d4[_0x58b878(0x293)](_0x1d7cc0,FRAMEWORKS[_0x58b878(0x1de)])){const _0x34e7cc=accessibilityHelper[_0x58b878(0x1ff)](_0x23a2f5['titlePath'](),!![]),_0x47587e=global['accessibilityPlatform'];_0x5edc93[_0xfe25d4[_0x58b878(0x26d)]]=_0xfe25d4[_0x58b878(0x267)](_0x47587e,_0x34e7cc);}if(_0xfe25d4[_0x58b878(0x1ef)](_0x1d7cc0,FRAMEWORKS[_0x58b878(0x1f8)])){const _0x22332b=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x458ff8[_0x58b878(0x23f)]),_0x3c9e1d=globals[_0x58b878(0x25d)](_0xfe25d4[_0x58b878(0x221)]);_0x5edc93[_0xfe25d4[_0x58b878(0x26d)]]=_0xfe25d4[_0x58b878(0x267)](_0x3c9e1d,_0x22332b);}_0x458ff8[_0xfe25d4['nUusX']]=_0x5edc93;}},exports[a172_0x55b8f0(0x2a2)]=_0x51f04e=>{const _0x3a989a=a172_0x55b8f0,_0x373687={};_0x373687[_0x3a989a(0x22a)]=function(_0x23157f,_0x23c701){return _0x23157f>_0x23c701;},_0x373687['ZILBY']=function(_0x124cec,_0x392d92){return _0x124cec>_0x392d92;};const _0x21f2c3=_0x373687;let _0x305aa4={};if(_0x21f2c3[_0x3a989a(0x22a)](Object[_0x3a989a(0x24a)](testData)[_0x3a989a(0x1f5)],0x0))return testData;_0x305aa4=JestTestDetails[_0x3a989a(0x217)]();if(_0x21f2c3[_0x3a989a(0x207)](Object[_0x3a989a(0x24a)](_0x305aa4)[_0x3a989a(0x1f5)],0x0))return _0x305aa4;return _0x305aa4;},exports['setCurrentTestData']=(_0x17d3e8,_0x335651={})=>{const _0x57e2dd=a172_0x55b8f0;if(bsSetupHelper[_0x57e2dd(0x240)](_0x335651[_0x57e2dd(0x28b)]))return;switch(_0x17d3e8){case FRAMEWORKS['MOCHA']:testData=_0x335651[_0x57e2dd(0x28b)];break;case FRAMEWORKS[_0x57e2dd(0x213)]:JestTestDetails[_0x57e2dd(0x24c)](_0x335651[_0x57e2dd(0x28b)]);break;case FRAMEWORKS[_0x57e2dd(0x218)]:testData=_0x335651[_0x57e2dd(0x28b)];break;default:break;}},exports[a172_0x55b8f0(0x26a)]=_0x47805a=>{const _0x220c22=a172_0x55b8f0,_0x3f1b44={};_0x3f1b44['KMqUz']=function(_0x4fb98f,_0xa69e30){return _0x4fb98f!==_0xa69e30;},_0x3f1b44[_0x220c22(0x21b)]=function(_0x17197f,_0x1b3fb4){return _0x17197f!==_0x1b3fb4;},_0x3f1b44[_0x220c22(0x275)]=function(_0xc2873f,_0xa4834e){return _0xc2873f!==_0xa4834e;};const _0x289164=_0x3f1b44;if(_0x289164['KMqUz'](_0x47805a[_0x220c22(0x279)],null)&&_0x289164['rCgBk'](_0x47805a['accessibility'],undefined))return _0x47805a[_0x220c22(0x279)];let _0x104f65=![],_0x3b4dee=![];if(_0x47805a['platforms'])for(const _0x1781ea of _0x47805a[_0x220c22(0x265)]){_0x289164[_0x220c22(0x275)](_0x1781ea[_0x220c22(0x279)],null)&&_0x289164['GcSdu'](_0x1781ea[_0x220c22(0x279)],undefined)&&(_0x104f65=_0x104f65||bsSetupHelper[_0x220c22(0x259)](_0x1781ea[_0x220c22(0x279)]),_0x3b4dee=!![]);}if(_0x3b4dee)return _0x104f65;return null;},exports[a172_0x55b8f0(0x1e7)]=_0x497ab9=>{const _0x10972e=a172_0x55b8f0;if(!_0x497ab9)return{};const _0x5b59b7=new OrchestrationUtils(_0x497ab9);return _0x5b59b7[_0x10972e(0x268)]();},exports['getProductMapForBuildStartCall']=_0xb20ee9=>{const _0x51c178=a172_0x55b8f0,_0x466001={'mdrvN':function(_0x36d5aa){return _0x36d5aa();},'NxSVw':function(_0x4facc7,_0x3210f7){return _0x4facc7===_0x3210f7;},'lApZy':_0x51c178(0x29d)};let _0x5d3ab8=![],_0xd35c32=![];if(bsSetupHelper[_0x51c178(0x297)]()&&bsSetupHelper[_0x51c178(0x23a)](_0xb20ee9))_0xd35c32=!![];else bsSetupHelper[_0x51c178(0x297)]()&&(_0x5d3ab8=!![]);return Object[_0x51c178(0x298)]({'observability':_0x466001[_0x51c178(0x251)](isTestObservabilitySession),'accessibility':exports['getAccessibilityValueFromYml'](_0xb20ee9),'percy':_0xb20ee9[_0x51c178(0x208)]||![],'sr_automation':_0x466001['NxSVw'](process[_0x51c178(0x209)][_0x51c178(0x1f3)],_0x466001[_0x51c178(0x233)])||_0xb20ee9[_0x51c178(0x1e2)]||![],'automate':_0x5d3ab8,'app_automate':_0xd35c32,'turboscale':bsSetupHelper[_0x51c178(0x223)](_0xb20ee9),'lts':LoadTestModule['isLTSSession'](_0xb20ee9)},bsSetupHelper['getCentralUser']());};const normalizeTestPlanId=_0x708f82=>{const _0x13985f=a172_0x55b8f0,_0xf7464d={};_0xf7464d[_0x13985f(0x20f)]=function(_0x417018,_0x3c0f79){return _0x417018!==_0x3c0f79;},_0xf7464d[_0x13985f(0x231)]='string',_0xf7464d[_0x13985f(0x1ea)]=function(_0x1817e5,_0x5b90dd){return _0x1817e5>_0x5b90dd;};const _0x40b218=_0xf7464d;if(_0x40b218[_0x13985f(0x20f)](typeof _0x708f82,_0x40b218['sHTHb']))return undefined;const _0x7e7902=_0x708f82['trim']();return _0x40b218[_0x13985f(0x1ea)](_0x7e7902[_0x13985f(0x1f5)],0x0)?_0x7e7902:undefined;},readTestPlanIdFromCliArgs=(_0x465bce=process['argv'])=>{const _0x4a25b8=a172_0x55b8f0,_0x1c4924={};_0x1c4924[_0x4a25b8(0x257)]=function(_0x3d0475,_0x52d643){return _0x3d0475<_0x52d643;},_0x1c4924[_0x4a25b8(0x290)]=function(_0x242edf,_0x18e7dd){return _0x242edf===_0x18e7dd;},_0x1c4924[_0x4a25b8(0x1e4)]=function(_0x208950,_0x451b07){return _0x208950+_0x451b07;};const _0x5bc7ff=_0x1c4924,_0x1f86b5='--'+testHubConstants[_0x4a25b8(0x20a)];for(let _0x305256=0x0;_0x5bc7ff[_0x4a25b8(0x257)](_0x305256,_0x465bce[_0x4a25b8(0x1f5)]);_0x305256+=0x1){const _0x550a46=_0x465bce[_0x305256];if(_0x5bc7ff[_0x4a25b8(0x290)](_0x550a46,_0x1f86b5)){const _0x1c89d3=_0x465bce[_0x5bc7ff[_0x4a25b8(0x1e4)](_0x305256,0x1)];if(!_0x1c89d3||_0x1c89d3[_0x4a25b8(0x28f)]('--'))return undefined;return _0x1c89d3;}if(_0x550a46[_0x4a25b8(0x28f)](_0x1f86b5+'='))return _0x550a46[_0x4a25b8(0x225)](_0x5bc7ff['Mmpic'](_0x1f86b5[_0x4a25b8(0x1f5)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x168bb2={})=>{const _0x30369e=a172_0x55b8f0,_0x599be6={'etvaA':function(_0x4d8030,_0x456c2e){return _0x4d8030(_0x456c2e);}};return _0x599be6['etvaA'](normalizeTestPlanId,_0x168bb2&&_0x168bb2['testManagementOptions']&&_0x168bb2[_0x30369e(0x27b)][_0x30369e(0x27c)]);};function a172_0x1f6a(_0x352dd2,_0x35aa4c){const _0x27889c=a172_0x2788();return a172_0x1f6a=function(_0x1f6aee,_0x5a2057){_0x1f6aee=_0x1f6aee-0x1dd;let _0x2cabd0=_0x27889c[_0x1f6aee];return _0x2cabd0;},a172_0x1f6a(_0x352dd2,_0x35aa4c);}exports[a172_0x55b8f0(0x1eb)]=(_0xe76638={},_0x61e10a=process[a172_0x55b8f0(0x1f4)],_0xbea153=process[a172_0x55b8f0(0x209)])=>{const _0x5f3434=a172_0x55b8f0,_0xcf8dbc={'vjWVt':function(_0x1ca1f0,_0x402efb){return _0x1ca1f0(_0x402efb);},'enHqH':function(_0x3d2a8f,_0x3f46b9){return _0x3d2a8f(_0x3f46b9);},'SmRPa':function(_0x22eb2b,_0x47fd12){return _0x22eb2b(_0x47fd12);}};try{const _0x1a14e5=_0xcf8dbc[_0x5f3434(0x24b)](normalizeTestPlanId,_0xcf8dbc[_0x5f3434(0x24b)](readTestPlanIdFromCliArgs,_0x61e10a));if(_0x1a14e5)return _0x1a14e5;const _0x14e44e=_0xcf8dbc['enHqH'](normalizeTestPlanId,_0xbea153&&_0xbea153[testHubConstants['ENV_VAR'][_0x5f3434(0x25a)]]);if(_0x14e44e)return _0x14e44e;return _0xcf8dbc['SmRPa'](readTestPlanIdFromConfig,_0xe76638);}catch(_0x40e345){return logger[_0x5f3434(0x1f2)](_0x5f3434(0x261)+(_0x40e345&&_0x40e345[_0x5f3434(0x1e1)]?_0x40e345['message']:_0x40e345)),undefined;}};
|
|
1
|
+
const a172_0x3f6817=a172_0x4dc4;(function(_0x559352,_0x3866c8){const _0x48f925=a172_0x4dc4,_0x29c2b7=_0x559352();while(!![]){try{const _0x5a82d0=-parseInt(_0x48f925(0x155))/0x1+parseInt(_0x48f925(0x15a))/0x2*(parseInt(_0x48f925(0x171))/0x3)+-parseInt(_0x48f925(0x19b))/0x4*(parseInt(_0x48f925(0x164))/0x5)+-parseInt(_0x48f925(0x149))/0x6+parseInt(_0x48f925(0x106))/0x7*(-parseInt(_0x48f925(0x1b7))/0x8)+parseInt(_0x48f925(0x174))/0x9*(-parseInt(_0x48f925(0x17b))/0xa)+parseInt(_0x48f925(0x176))/0xb;if(_0x5a82d0===_0x3866c8)break;else _0x29c2b7['push'](_0x29c2b7['shift']());}catch(_0x47d0f1){_0x29c2b7['push'](_0x29c2b7['shift']());}}}(a172_0x3f6a,0xcfb92));const bsSetupHelper=require(a172_0x3f6817(0x198)),LoadTestModule=require('../../bin/v2/modules/loadTestModule'),{isTestObservabilitySession,getFrameworkVersion}=require(a172_0x3f6817(0x100)),accessibilityHelper=require(a172_0x3f6817(0x107)),logger=require('../logger')[a172_0x3f6817(0x1be)],{nestedKeyValue}=require(a172_0x3f6817(0x1c4)),scripts=require('../accessibility-automation/scripts.js'),globals=require('../globals.js'),testHubConstants=require(a172_0x3f6817(0x1a2)),PWTestDetails=require(a172_0x3f6817(0x1bf)),JestTestDetails=require('../../bin/jest/test-observability/test-details.js'),{FRAMEWORKS}=require(a172_0x3f6817(0x16c)),{isTurboScaleSession}=require(a172_0x3f6817(0x158)),OrchestrationUtils=require('../test-orchestration/orchestrationUtils.js'),constants=require(a172_0x3f6817(0x18d));function a172_0x4dc4(_0x5b994d,_0x121d78){const _0x3f6ad2=a172_0x3f6a();return a172_0x4dc4=function(_0x4dc46d,_0x993b){_0x4dc46d=_0x4dc46d-0xf9;let _0xa1bf46=_0x3f6ad2[_0x4dc46d];return _0xa1bf46;},a172_0x4dc4(_0x5b994d,_0x121d78);}let testData={};exports[a172_0x3f6817(0x10f)]=_0x2899b9=>{const _0x39510d=a172_0x3f6817,_0x3e15fa={'zjloC':function(_0x37c44a){return _0x37c44a();},'WgBHp':function(_0x573390,_0x2ff1b5){return _0x573390===_0x2ff1b5;},'xrYvG':_0x39510d(0x13c)};let _0x401536=![],_0x2943f4=![];if(bsSetupHelper[_0x39510d(0x138)]()&&bsSetupHelper[_0x39510d(0x165)](_0x2899b9))_0x2943f4=!![];else bsSetupHelper[_0x39510d(0x138)]()&&(_0x401536=!![]);return Object[_0x39510d(0x19a)]({'observability':_0x3e15fa[_0x39510d(0x180)](isTestObservabilitySession),'accessibility':exports[_0x39510d(0x160)](_0x2899b9),'percy':_0x2899b9[_0x39510d(0x10e)]||![],'sr_automation':_0x3e15fa['WgBHp'](process[_0x39510d(0x1b2)][_0x39510d(0x111)],_0x3e15fa[_0x39510d(0x1bc)])||_0x2899b9[_0x39510d(0x192)]||![],'automate':_0x401536,'app_automate':_0x2943f4,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x2899b9),'lts':LoadTestModule['isLTSSession'](_0x2899b9)},bsSetupHelper[_0x39510d(0x1c2)]());},exports[a172_0x3f6817(0x15d)]=(_0x2b8a20,_0xd72a33)=>{const _0x568431=a172_0x3f6817,_0x84fd2c={'VJrUX':function(_0x30891b,_0x57659b){return _0x30891b(_0x57659b);},'Voudu':_0x568431(0x1ad)},_0x450592={'frameworkName':_0xd72a33,'frameworkVersion':_0x84fd2c[_0x568431(0x18c)](getFrameworkVersion,_0xd72a33),'sdkVersion':bsSetupHelper[_0x568431(0x163)](),'language':_0x84fd2c[_0x568431(0xfb)],'testFramework':bsSetupHelper[_0x568431(0x19c)](_0x2b8a20,_0xd72a33)};return process[_0x568431(0x1b2)][_0x568431(0x11f)]=JSON[_0x568431(0x12b)](_0x450592),_0x450592;},exports[a172_0x3f6817(0x104)]=_0x1505a8=>{const _0x33de9f=a172_0x3f6817,_0x30fc55={};_0x30fc55['YkeTf']=_0x33de9f(0x1b0),_0x30fc55['uTBCq']=_0x33de9f(0x13c);const _0x41d3c8=_0x30fc55;process['env']['BROWSERSTACK_PERCY']=_0x41d3c8[_0x33de9f(0x121)],bsSetupHelper['isTrue'](_0x1505a8['config']['percy'])&&(!_0x1505a8[_0x33de9f(0x10e)]||!_0x1505a8['percy']['isRunning']())&&(process[_0x33de9f(0x1b2)]['BROWSERSTACK_PERCY']=_0x41d3c8['uTBCq']);},exports[a172_0x3f6817(0x15e)]=()=>{const _0x58f201=a172_0x3f6817;return bsSetupHelper[_0x58f201(0x16b)](process[_0x58f201(0x1b2)][_0x58f201(0x102)]);},exports[a172_0x3f6817(0x160)]=(_0x4ab9d4={})=>{const _0x21e071=a172_0x3f6817,_0x44bf6b={};_0x44bf6b['vsjjc']=function(_0x1c182b,_0x3c07fa){return _0x1c182b!==_0x3c07fa;},_0x44bf6b[_0x21e071(0x168)]=function(_0x15a5d7,_0x50b128){return _0x15a5d7===_0x50b128;},_0x44bf6b[_0x21e071(0x11c)]=_0x21e071(0x13c),_0x44bf6b[_0x21e071(0x1c1)]=function(_0x296ef2,_0x584928){return _0x296ef2>_0x584928;},_0x44bf6b[_0x21e071(0x1bd)]=function(_0x34db50,_0x102411){return _0x34db50===_0x102411;};const _0x5268a9=_0x44bf6b;if(_0x5268a9[_0x21e071(0x1cb)](process[_0x21e071(0x1b2)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper[_0x21e071(0x16b)](process['env'][_0x21e071(0x10c)]);let _0x1dfae9=_0x5268a9['GjNIs'](process[_0x21e071(0x1b2)][_0x21e071(0x129)],_0x5268a9[_0x21e071(0x11c)]);return _0x5268a9['WatkR'](Object['keys'](_0x4ab9d4)[_0x21e071(0x1c5)],0x0)&&(process[_0x21e071(0x1b2)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=accessibilityHelper[_0x21e071(0x152)](_0x4ab9d4)),_0x1dfae9=_0x1dfae9||_0x5268a9[_0x21e071(0x1bd)](process[_0x21e071(0x1b2)][_0x21e071(0x1b3)],_0x5268a9[_0x21e071(0x11c)]),_0x1dfae9;},exports[a172_0x3f6817(0x113)]=(_0x17b773,_0x3a3d1f)=>{const _0x521807=a172_0x3f6817,_0x39d781={'BuaxI':function(_0x47509c){return _0x47509c();},'nhHxs':_0x521807(0x134),'cPnwi':function(_0x49b371,_0x4d04b9,_0x1af577){return _0x49b371(_0x4d04b9,_0x1af577);},'XiVfL':_0x521807(0x127),'iVVrx':_0x521807(0x147),'nEkiD':_0x521807(0x13c)};if(!_0x17b773||!_0x17b773[_0x521807(0x127)])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x17b773[_0x521807(0x127)][_0x521807(0x12a)])return exports[_0x521807(0x1b8)](_0x17b773[_0x521807(0x127)]),[null,null,null];if(_0x39d781[_0x521807(0x119)](isTestObservabilitySession)){const _0x59d6d0=_0x39d781['nhHxs'][_0x521807(0x172)]('|');let _0x4867c9=0x0;while(!![]){switch(_0x59d6d0[_0x4867c9++]){case'0':if(_0x17b773[_0x521807(0x15c)]){process['env']['BS_TESTOPS_JWT']=_0x17b773[_0x521807(0x15c)];const _0x35ec23={};_0x35ec23[_0x521807(0x1a8)]=_0x3a3d1f[_0x521807(0x1a8)],_0x35ec23[_0x521807(0x1d8)]=_0x3a3d1f[_0x521807(0x1d8)],process[_0x521807(0x1b2)][_0x521807(0x1b9)]=JSON['stringify'](_0x35ec23);}continue;case'1':_0x17b773[_0x521807(0x1cd)]&&(process[_0x521807(0x1b2)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x17b773[_0x521807(0x1cd)]);continue;case'2':_0x39d781[_0x521807(0x145)](nestedKeyValue,_0x17b773,[_0x39d781[_0x521807(0x1c8)],_0x39d781[_0x521807(0x11b)]])&&(process[_0x521807(0x1b2)][_0x521807(0x166)]=_0x17b773[_0x521807(0x127)][_0x521807(0x147)][_0x521807(0x16d)][_0x521807(0x1c7)]());continue;case'3':process['env'][_0x521807(0x137)]=_0x39d781['nEkiD'];continue;case'4':logger[_0x521807(0x1a3)]('['+constants['TEST_REPORTING_ANALYTICS']+_0x521807(0x132)+_0x17b773[_0x521807(0x1cd)]);continue;case'5':return[_0x17b773['jwt'],_0x17b773[_0x521807(0x1cd)],process['env'][_0x521807(0x166)]];}break;}}return[null,null,null];},exports[a172_0x3f6817(0x1a7)]=_0x1f2c5b=>{const _0x5c20b8=a172_0x3f6817,_0x3cef25={'lpUwZ':function(_0x2985f1,_0x50353e,_0x4ef246){return _0x2985f1(_0x50353e,_0x4ef246);},'RcUos':_0x5c20b8(0x1a5),'vjlYV':_0x5c20b8(0x147),'MZvnF':function(_0xbbb20e,_0x3371be,_0x2c6b65,_0x5971f0){return _0xbbb20e(_0x3371be,_0x2c6b65,_0x5971f0);},'dupAD':_0x5c20b8(0x13d),'COxnS':_0x5c20b8(0x14c),'LiOuu':function(_0x219e3e,_0x2de02b,_0x1bb553,_0x3f0113){return _0x219e3e(_0x2de02b,_0x1bb553,_0x3f0113);},'FqJPL':_0x5c20b8(0x1a0),'PGAjJ':_0x5c20b8(0x193),'IYGcB':_0x5c20b8(0x16a),'VKPhu':_0x5c20b8(0x167),'cQCPT':function(_0x47c92b,_0x13ac12){return _0x47c92b(_0x13ac12);},'UGdej':function(_0x5a648e,_0x3bedfc){return _0x5a648e===_0x3bedfc;},'qpZUE':function(_0x4279b2,_0x1396c3){return _0x4279b2===_0x1396c3;},'MkTcA':_0x5c20b8(0x13c),'cWtTX':_0x5c20b8(0x1d1)};if(!_0x1f2c5b[_0x5c20b8(0x1a5)])return exports[_0x5c20b8(0x120)](),[null,null];if(!_0x1f2c5b[_0x5c20b8(0x1a5)][_0x5c20b8(0x12a)])return exports[_0x5c20b8(0x120)](_0x1f2c5b[_0x5c20b8(0x1a5)]),[null,null];if(_0x3cef25[_0x5c20b8(0x182)](nestedKeyValue,_0x1f2c5b,[_0x3cef25[_0x5c20b8(0x139)],_0x3cef25[_0x5c20b8(0x116)]])){const {accessibilityToken:_0x402810,scannerVersion:_0x47fec0,scannerProcessingTimeout:_0x95969c,isMobileScanningEnabledForGroup:_0x3c0921}=_0x3cef25[_0x5c20b8(0x10d)](jsonifyAccessibilityArray,_0x1f2c5b[_0x5c20b8(0x1a5)][_0x5c20b8(0x147)][_0x5c20b8(0x133)],_0x3cef25[_0x5c20b8(0x1b6)],_0x3cef25[_0x5c20b8(0x101)]),_0x564552={'scripts':_0x3cef25[_0x5c20b8(0x142)](jsonifyAccessibilityArray,_0x1f2c5b[_0x5c20b8(0x1a5)]['options'][_0x5c20b8(0x162)],_0x3cef25[_0x5c20b8(0x1b6)],_0x3cef25['FqJPL'])};_0x564552[_0x3cef25[_0x5c20b8(0x189)]]=_0x1f2c5b['accessibility'][_0x5c20b8(0x147)]['commandsToWrap']['commands'];const _0xc9aa46=_0x3cef25[_0x5c20b8(0x142)](jsonifyAccessibilityArray,_0x1f2c5b[_0x5c20b8(0x1a5)][_0x5c20b8(0x147)]['capabilities'],_0x3cef25[_0x5c20b8(0x1b6)],_0x3cef25[_0x5c20b8(0x101)]);_0x564552[_0x3cef25['IYGcB']]=_0xc9aa46[_0x3cef25[_0x5c20b8(0xfd)]],scripts[_0x5c20b8(0x12f)](_0x564552),scripts[_0x5c20b8(0x1ae)]();let _0x3d90ef=process['env'][_0x5c20b8(0x151)];_0x3d90ef=!!_0x3d90ef?JSON[_0x5c20b8(0x112)](_0x3d90ef):{},_0x3d90ef[_0x5c20b8(0x1d0)]=_0x47fec0,process[_0x5c20b8(0x1b2)][_0x5c20b8(0x151)]=JSON[_0x5c20b8(0x12b)](_0x3d90ef),process[_0x5c20b8(0x1b2)][_0x5c20b8(0x175)]=_0x402810,process[_0x5c20b8(0x1b2)][_0x5c20b8(0x144)]=_0x3cef25['cQCPT'](String,_0x3cef25['UGdej'](_0x3c0921,!![])||_0x3cef25[_0x5c20b8(0x18a)](_0x3c0921,_0x3cef25[_0x5c20b8(0x169)])),logger['debug'](_0x5c20b8(0x1aa)+_0x1f2c5b[_0x5c20b8(0x1cd)]);const _0x1423ad=accessibilityHelper[_0x5c20b8(0x150)](_0x402810);return _0x1423ad&&bsSetupHelper[_0x5c20b8(0x16b)](_0x1423ad['skipCDPConnectOverride'])&&(process[_0x5c20b8(0x1b2)][_0x5c20b8(0x1ca)]=!![],logger[_0x5c20b8(0x1a3)](_0x3cef25['cWtTX'])),[_0x402810,_0x1f2c5b[_0x5c20b8(0x1cd)],_0x95969c];}return[null,null];},exports[a172_0x3f6817(0x1b8)]=_0x23aebc=>{const _0x13962f=a172_0x3f6817,_0x2a6334={};_0x2a6334[_0x13962f(0x196)]=_0x13962f(0x157),_0x2a6334[_0x13962f(0x128)]=_0x13962f(0x173),_0x2a6334[_0x13962f(0x18e)]='false';const _0xb33bef=_0x2a6334,_0x5c556a=_0xb33bef['dfYVd'][_0x13962f(0x172)]('|');let _0xfc9c47=0x0;while(!![]){switch(_0x5c556a[_0xfc9c47++]){case'0':process[_0x13962f(0x1b2)][_0x13962f(0x166)]=_0xb33bef[_0x13962f(0x128)];continue;case'1':process['env']['BS_TESTOPS_BUILD_COMPLETED']=_0xb33bef['iRJzM'];continue;case'2':exports[_0x13962f(0x1d3)](_0x23aebc,testHubConstants['OBSERVABILITY']);continue;case'3':process[_0x13962f(0x1b2)]['BROWSERSTACK_TESTHUB_JWT']=_0xb33bef[_0x13962f(0x128)];continue;case'4':process[_0x13962f(0x1b2)][_0x13962f(0x10a)]=_0xb33bef[_0x13962f(0x128)];continue;case'5':process['env'][_0x13962f(0x124)]=_0xb33bef['hRYrq'];continue;case'6':process[_0x13962f(0x1b2)]['BS_TESTOPS_BUILD_HASHED_ID']=_0xb33bef[_0x13962f(0x128)];continue;}break;}},exports[a172_0x3f6817(0x120)]=_0x4c2a11=>{const _0x14e548=a172_0x3f6817,_0x191abf={};_0x191abf[_0x14e548(0x1bb)]=_0x14e548(0x1c6),_0x191abf[_0x14e548(0x14d)]=_0x14e548(0x1b0),_0x191abf[_0x14e548(0x1c0)]=_0x14e548(0x173);const _0x284737=_0x191abf,_0xe1922=_0x284737[_0x14e548(0x1bb)]['split']('|');let _0x5a9486=0x0;while(!![]){switch(_0xe1922[_0x5a9486++]){case'0':process[_0x14e548(0x1b2)][_0x14e548(0x129)]=_0x284737['zIMNe'];continue;case'1':process[_0x14e548(0x1b2)][_0x14e548(0x170)]=_0x284737[_0x14e548(0x1c0)];continue;case'2':exports[_0x14e548(0x1d3)](_0x4c2a11,testHubConstants[_0x14e548(0x122)]);continue;case'3':process[_0x14e548(0x1b2)][_0x14e548(0x124)]=_0x284737[_0x14e548(0x1c0)];continue;case'4':process[_0x14e548(0x1b2)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x284737[_0x14e548(0x14d)];continue;}break;}},exports[a172_0x3f6817(0x1d3)]=(_0xfffb43,_0x5bc1b3='')=>{const _0x234e03=a172_0x3f6817,_0x416f4a={};_0x416f4a[_0x234e03(0x159)]=function(_0x4a8a8a,_0x5e59ba){return _0x4a8a8a===_0x5e59ba;};const _0xa5f882=_0x416f4a;if(_0xa5f882['mbuLp'](_0xfffb43,undefined)){logger['error'](_0x5bc1b3[_0x234e03(0x13f)]()+'\x20Build\x20creation\x20failed');return;}for(const _0xc279d0 of _0xfffb43['errors']){const _0x283f3a=_0xc279d0[_0x234e03(0x178)],_0x367076=_0xc279d0['message'];if(_0x367076)switch(_0x283f3a){case testHubConstants[_0x234e03(0x123)][_0x234e03(0xfc)]:logger['error'](_0x367076);break;case testHubConstants[_0x234e03(0x123)]['ACCESS_DENIED']:logger[_0x234e03(0x140)](_0x367076);break;case testHubConstants['ERROR'][_0x234e03(0x194)]:logger[_0x234e03(0x15f)](_0x367076);break;default:logger[_0x234e03(0x15f)](_0x367076);}}};const jsonifyAccessibilityArray=(_0x206630,_0x699d6d,_0x458372)=>{const _0x1016cf=a172_0x3f6817,_0x10f7c4={};return _0x206630[_0x1016cf(0x1ce)](_0x4ca564=>{_0x10f7c4[_0x4ca564[_0x699d6d]]=_0x4ca564[_0x458372];}),_0x10f7c4;};function a172_0x3f6a(){const _0x2a0f98=['build_hashed_id','forEach','setTestData','scannerVersion','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','shouldScanTestForAccessibility','logBuildError','VNXTz','get','tags','CblNE','password','getAccessibilityPlatformValidation','HMWIc','getTestPlanId','Voudu','INVALID_CREDENTIALS','VKPhu','../../bin/jasmine/testRunMap.js','gnQcv','../test-observability/utils','COxnS','BROWSERSTACK_PERCY','titlePath','setPercyFlag','bGuSk','8911JJhdMk','../accessibility-automation/helper','TGQII','PztKP','BS_TESTOPS_JWT','cItPm','BROWSERSTACK_ACCESSIBILITY','MZvnF','percy','getProductMap','testManagementOptions','BROWSERSTACK_SR_AUTOMATION','parse','setTestObservabilityVariables','argv','uGmOU','vjlYV','platforms','getProductMapForBuildStartCall','BuaxI','JASMINE','iVVrx','ziivb','HookRunFinished','EdKlc','FRAMEWORK_DETAILS','handleErrorForAccessibility','YkeTf','ACCESSIBILITY','ERROR','BROWSERSTACK_TESTHUB_UUID','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','egSBF','observability','hRYrq','BROWSERSTACK_TEST_ACCESSIBILITY_YML','success','stringify','oSMxl','eBonV','upDGf','parseFromJson','HookRunStarted','uploadEventData',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','capabilities','3|0|1|2|4|5','JwiPP','qOmRM','BS_TESTOPS_BUILD_COMPLETED','isBrowserstackInfra','RcUos','TestRunStarted','yBTIR','true','name','isTurboScaleSession','toUpperCase','info','uYZHh','LiOuu','hRXmc','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','cPnwi','getTestData','options','uuid','8791980JbjPnP','LogCreated','scopes','value','zIMNe','trim','vrhEW','parseA11yJwtPayload','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','checkAccessibilityPlatformConfig','setCurrentTestData','keys','323360zAOBYd','hYVsZ','5|3|1|4|6|0|2','../ats/helper','mbuLp','83880YTCRdc','ENV_VAR','jwt','getFrameworkDetails','isPercyBuild','error','isAccessibilityEnabled','slice','scripts','getAgentVersion','30035iqyozN','isAppAutomateSession','BS_TESTOPS_ALLOW_SCREENSHOTS','goog:chromeOptions','GjNIs','MkTcA','nonBStackInfraA11yChromeOptions','isTrue','../test-observability/constants.js','allow_screenshots','hMGMm','accessibilityPlatform','BROWSERSTACK_TESTHUB_JWT','18vEybXm','split','null','27WMhdJH','BS_A11Y_JWT','59639217cGEJZe','MOCHA','key','VsqYx','isLTSSession','4424410MxXbZN','startsWith','RXrOt','JEST','waEkg','zjloC','MqcSH','lpUwZ','setTestHubCommonMetaInfo','getTestOrchestrationBuildStartData','sXofH','getCurrentTestData','getGlobal','AgUeu','PGAjJ','qpZUE','join','VJrUX','../../bin/utils/constants.js','iRJzM','gqaor','BsoXx','gBDYp','sr_automation','commands','DEPRECATED','CODECEPT','dfYVd','message','../helper','JEogR','assign','504GXhrBi','getTestFrameworkDetails','oiQWY','getAccessibilityValueFromYml','EJErI','command','rBEfy','./constants.js','debug','product_map','accessibility','includes','setAccessibilityVariables','username','CUCUMBER','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','string','isAccessibilityPlatform','javascript','toJson','bstackA11yShouldScan','false','description','env','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getBuildStartData','IPCyX','dupAD','5968noNhuK','handleErrorForObservability','CREDENTIALS_FOR_CRASH_REPORTING','LRAfi','COerM','xrYvG','KXzYo','winstonLogger','../../bin/playwright/reporter/test-details.js','nYQpS','WatkR','getCentralUser','BROWSERSTACK_TESTHUB_UUID:\x20','../helper.js','length','3|1|0|4|2','toString','XiVfL','KdbBB','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','vsjjc','test_run'];a172_0x3f6a=function(){return _0x2a0f98;};return a172_0x3f6a();}exports[a172_0x3f6817(0x183)]=_0x25845a=>{const _0x353705=a172_0x3f6817;_0x25845a[_0x353705(0x15c)]&&(process[_0x353705(0x1b2)][_0x353705(0x170)]=_0x25845a['jwt']);_0x25845a[_0x353705(0x1cd)]&&(process[_0x353705(0x1b2)][_0x353705(0x124)]=_0x25845a[_0x353705(0x1cd)],logger['debug'](_0x353705(0x1c3)+_0x25845a[_0x353705(0x1cd)]));;},exports['shouldProcessEventForTesthub']=(_0x85041a='',_0x172a57='')=>{const _0x29f80e=a172_0x3f6817,_0x21a29f={'gBDYp':function(_0x1b803d){return _0x1b803d();},'MqcSH':function(_0xf8b4de,_0x3333ad){return _0xf8b4de===_0x3333ad;},'JwiPP':_0x29f80e(0x131),'PztKP':_0x29f80e(0x14a),'hRXmc':'CBTSessionCreated','VpsTI':_0x29f80e(0x130),'VsqYx':_0x29f80e(0x11d),'uGmOU':function(_0x73df30){return _0x73df30();}};if(exports[_0x29f80e(0x15e)]()&&!exports[_0x29f80e(0x160)]()&&!_0x21a29f[_0x29f80e(0x191)](isTestObservabilitySession)){if(_0x21a29f[_0x29f80e(0x181)](_0x172a57,_0x21a29f[_0x29f80e(0x135)]))return![];if([_0x21a29f[_0x29f80e(0x109)],_0x21a29f[_0x29f80e(0x143)]][_0x29f80e(0x1a6)](_0x85041a))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0x21a29f[_0x29f80e(0x191)](isTestObservabilitySession)){if([_0x21a29f['VpsTI'],_0x21a29f[_0x29f80e(0x179)],_0x21a29f['PztKP']][_0x29f80e(0x1a6)](_0x85041a))return![];return!![];}return exports[_0x29f80e(0x160)]()||_0x21a29f[_0x29f80e(0x115)](isTestObservabilitySession)||exports[_0x29f80e(0x15e)]();},exports['appendTesthubParams']=(_0x192931,_0x26e848,_0x25f17b='',_0x4d5981)=>{const _0x36a053=a172_0x3f6817,_0x2a2c56={'yBTIR':_0x36a053(0x130),'hYVsZ':_0x36a053(0x11d),'gnQcv':function(_0x1fe32d,_0xa48adf){return _0x1fe32d===_0xa48adf;},'RXrOt':_0x36a053(0x1af),'EJErI':_0x36a053(0x1ac),'gqaor':_0x36a053(0x1a5),'VNXTz':function(_0x2f77b6,_0x459139){return _0x2f77b6&&_0x459139;},'JEogR':function(_0x5f0996,_0x19206f){return _0x5f0996+_0x19206f;},'sXofH':function(_0x43b246,_0x1fc8da){return _0x43b246(_0x1fc8da);},'IPCyX':_0x36a053(0xfe),'rBEfy':function(_0x19e7d8,_0x2fce07){return _0x19e7d8&&_0x2fce07;},'ocjJG':function(_0xadb0dd,_0x285fdc){return _0xadb0dd===_0x285fdc;},'LRAfi':function(_0x449969,_0xf12d52){return _0x449969===_0xf12d52;},'cItPm':_0x36a053(0x13a),'KdbBB':function(_0x563a1e,_0x2cbdf8){return _0x563a1e===_0x2cbdf8;},'HMWIc':function(_0x3d40aa,_0x1b10dc){return _0x3d40aa&&_0x1b10dc;},'HNJsJ':_0x36a053(0x1a4)};if(![_0x2a2c56[_0x36a053(0x13b)],_0x2a2c56[_0x36a053(0x156)]]['includes'](_0x26e848)&&exports[_0x36a053(0x160)]()){const _0x195cad={};if(_0x2a2c56[_0x36a053(0xff)](_0x4d5981,FRAMEWORKS['MOCHA'])){const _0x275e10=globals[_0x36a053(0x187)](_0x2a2c56[_0x36a053(0x17d)])||accessibilityHelper[_0x36a053(0x1d2)](_0x25f17b[_0x36a053(0x103)](),!![]),_0x2b4665=globals[_0x36a053(0x187)](_0x2a2c56[_0x36a053(0x19f)]);_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=_0x2a2c56[_0x36a053(0x1d4)](_0x2b4665,_0x275e10);}if(_0x2a2c56[_0x36a053(0xff)](_0x4d5981,FRAMEWORKS[_0x36a053(0x17e)])){const _0xd0ce0a=_0x2a2c56['JEogR'](_0x2a2c56[_0x36a053(0x199)](_0x192931[_0x36a053(0x14b)]['join']('\x20'),'\x20'),_0x25f17b[_0x36a053(0x13d)]),_0x113798=globals[_0x36a053(0x187)](_0x2a2c56['RXrOt'])||accessibilityHelper[_0x36a053(0x1d2)](_0xd0ce0a,![]),_0x57c597=browserStackGlobals[_0x36a053(0x1ac)];_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=_0x2a2c56['VNXTz'](_0x57c597,_0x113798);}if(_0x2a2c56['gnQcv'](_0x4d5981,FRAMEWORKS[_0x36a053(0x11a)])){const _0x2865a2=_0x2a2c56[_0x36a053(0x185)](require,_0x2a2c56[_0x36a053(0x1b5)]),_0x5cdaa7=_0x25f17b&&_0x2865a2[_0x36a053(0x1d5)](_0x25f17b['id'])||_0x192931[_0x36a053(0x148)];_0x5cdaa7&&(_0x192931[_0x36a053(0x148)]=_0x5cdaa7);const _0x243915=_0x2a2c56[_0x36a053(0x199)](_0x2a2c56[_0x36a053(0x199)](_0x192931['scopes'][_0x36a053(0x18b)]('\x20'),'\x20'),_0x25f17b[_0x36a053(0x1b1)]||_0x192931[_0x36a053(0x13d)]),_0x5f0abb=globals[_0x36a053(0x187)](_0x2a2c56[_0x36a053(0x17d)])||accessibilityHelper[_0x36a053(0x1d2)](_0x243915,![]),_0x365db0=globals[_0x36a053(0x187)](_0x2a2c56[_0x36a053(0x19f)]);_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=_0x2a2c56[_0x36a053(0x1a1)](_0x365db0,_0x5f0abb);}if(_0x2a2c56['ocjJG'](_0x4d5981,FRAMEWORKS['PLAYWRIGHT'])){if(_0x2a2c56[_0x36a053(0x1ba)](_0x26e848,_0x2a2c56[_0x36a053(0x10b)]))return;_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=PWTestDetails[_0x36a053(0x1d9)](_0x192931[_0x36a053(0x148)]);}if(_0x2a2c56[_0x36a053(0x1c9)](_0x4d5981,FRAMEWORKS[_0x36a053(0x195)])){const _0x2271b9=accessibilityHelper[_0x36a053(0x1d2)](_0x25f17b[_0x36a053(0x103)](),!![]),_0x500f09=global[_0x36a053(0x16f)];_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=_0x2a2c56['HMWIc'](_0x500f09,_0x2271b9);}if(_0x2a2c56['KdbBB'](_0x4d5981,FRAMEWORKS[_0x36a053(0x1a9)])){const _0x549b17=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x192931[_0x36a053(0x1d6)]),_0x2a4bca=globals[_0x36a053(0x187)](_0x2a2c56[_0x36a053(0x19f)]);_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=_0x2a2c56[_0x36a053(0xf9)](_0x2a4bca,_0x549b17);}_0x192931[_0x2a2c56['HNJsJ']]=_0x195cad;}},exports[a172_0x3f6817(0x186)]=_0x33af77=>{const _0x120147=a172_0x3f6817,_0x3a46ef={};_0x3a46ef[_0x120147(0x12e)]=function(_0xafc3c,_0x541807){return _0xafc3c>_0x541807;};const _0x28ca06=_0x3a46ef;let _0x641e15={};if(_0x28ca06['upDGf'](Object[_0x120147(0x154)](testData)[_0x120147(0x1c5)],0x0))return testData;_0x641e15=JestTestDetails[_0x120147(0x146)]();if(_0x28ca06['upDGf'](Object[_0x120147(0x154)](_0x641e15)[_0x120147(0x1c5)],0x0))return _0x641e15;return _0x641e15;},exports[a172_0x3f6817(0x153)]=(_0x1c8901,_0x4de145={})=>{const _0x1063bf=a172_0x3f6817;if(bsSetupHelper['isUndefined'](_0x4de145[_0x1063bf(0x1cc)]))return;switch(_0x1c8901){case FRAMEWORKS[_0x1063bf(0x177)]:testData=_0x4de145[_0x1063bf(0x1cc)];break;case FRAMEWORKS[_0x1063bf(0x17e)]:JestTestDetails[_0x1063bf(0x1cf)](_0x4de145[_0x1063bf(0x1cc)]);break;case FRAMEWORKS[_0x1063bf(0x11a)]:testData=_0x4de145['test_run'];break;default:break;}},exports[a172_0x3f6817(0x19e)]=_0x5dfe07=>{const _0x168bd0=a172_0x3f6817,_0x38f82e={};_0x38f82e[_0x168bd0(0x19d)]=function(_0x3fb3e9,_0x4faef7){return _0x3fb3e9!==_0x4faef7;},_0x38f82e['uYZHh']=function(_0x2bc6e1,_0x26683d){return _0x2bc6e1!==_0x26683d;},_0x38f82e[_0x168bd0(0x14f)]=function(_0x29b067,_0x5b9754){return _0x29b067!==_0x5b9754;};const _0x1ca329=_0x38f82e;if(_0x1ca329[_0x168bd0(0x19d)](_0x5dfe07[_0x168bd0(0x1a5)],null)&&_0x1ca329[_0x168bd0(0x141)](_0x5dfe07['accessibility'],undefined))return _0x5dfe07['accessibility'];let _0x2bc051=![],_0x526b38=![];if(_0x5dfe07[_0x168bd0(0x117)])for(const _0x52186f of _0x5dfe07[_0x168bd0(0x117)]){_0x1ca329['oiQWY'](_0x52186f[_0x168bd0(0x1a5)],null)&&_0x1ca329[_0x168bd0(0x14f)](_0x52186f[_0x168bd0(0x1a5)],undefined)&&(_0x2bc051=_0x2bc051||bsSetupHelper[_0x168bd0(0x16b)](_0x52186f[_0x168bd0(0x1a5)]),_0x526b38=!![]);}if(_0x526b38)return _0x2bc051;return null;},exports[a172_0x3f6817(0x184)]=_0x499b88=>{const _0x290937=a172_0x3f6817;if(!_0x499b88)return{};const _0x3fe640=new OrchestrationUtils(_0x499b88);return _0x3fe640[_0x290937(0x1b4)]();},exports[a172_0x3f6817(0x118)]=_0x2c2ef5=>{const _0x3ee9af=a172_0x3f6817,_0x7ca176={'BsoXx':function(_0xda7ad9){return _0xda7ad9();},'TGQII':function(_0x3f5de1,_0x470fb8){return _0x3f5de1===_0x470fb8;},'egSBF':'true'};let _0x37f092=![],_0x1485db=![];if(bsSetupHelper[_0x3ee9af(0x138)]()&&bsSetupHelper[_0x3ee9af(0x165)](_0x2c2ef5))_0x1485db=!![];else bsSetupHelper[_0x3ee9af(0x138)]()&&(_0x37f092=!![]);return Object[_0x3ee9af(0x19a)]({'observability':_0x7ca176[_0x3ee9af(0x190)](isTestObservabilitySession),'accessibility':exports[_0x3ee9af(0x19e)](_0x2c2ef5),'percy':_0x2c2ef5[_0x3ee9af(0x10e)]||![],'sr_automation':_0x7ca176[_0x3ee9af(0x108)](process['env'][_0x3ee9af(0x111)],_0x7ca176[_0x3ee9af(0x126)])||_0x2c2ef5[_0x3ee9af(0x192)]||![],'automate':_0x37f092,'app_automate':_0x1485db,'turboscale':bsSetupHelper[_0x3ee9af(0x13e)](_0x2c2ef5),'lts':LoadTestModule[_0x3ee9af(0x17a)](_0x2c2ef5)},bsSetupHelper[_0x3ee9af(0x1c2)]());};const normalizeTestPlanId=_0x152745=>{const _0x1ca2b7=a172_0x3f6817,_0x2ac284={};_0x2ac284[_0x1ca2b7(0x136)]=function(_0x5ecad9,_0x320856){return _0x5ecad9!==_0x320856;},_0x2ac284[_0x1ca2b7(0x12c)]=_0x1ca2b7(0x1ab),_0x2ac284['hMGMm']=function(_0x3a114a,_0x35f930){return _0x3a114a>_0x35f930;};const _0x4f3b74=_0x2ac284;if(_0x4f3b74['qOmRM'](typeof _0x152745,_0x4f3b74['oSMxl']))return undefined;const _0x3397ee=_0x152745[_0x1ca2b7(0x14e)]();return _0x4f3b74[_0x1ca2b7(0x16e)](_0x3397ee[_0x1ca2b7(0x1c5)],0x0)?_0x3397ee:undefined;},readTestPlanIdFromCliArgs=(_0x57b1f8=process['argv'])=>{const _0x2755f1=a172_0x3f6817,_0x443dc1={};_0x443dc1['AgUeu']=function(_0x5ecb38,_0x44eb07){return _0x5ecb38<_0x44eb07;},_0x443dc1[_0x2755f1(0x12d)]=function(_0x175ddf,_0x350d51){return _0x175ddf===_0x350d51;},_0x443dc1[_0x2755f1(0x1d7)]=function(_0x1e22cd,_0x261f95){return _0x1e22cd+_0x261f95;},_0x443dc1[_0x2755f1(0x17f)]=function(_0x4bba0c,_0x3fcd33){return _0x4bba0c+_0x3fcd33;};const _0x10cde1=_0x443dc1,_0x5470f1='--'+testHubConstants[_0x2755f1(0x125)];for(let _0x5ec732=0x0;_0x10cde1[_0x2755f1(0x188)](_0x5ec732,_0x57b1f8['length']);_0x5ec732+=0x1){const _0x69b140=_0x57b1f8[_0x5ec732];if(_0x10cde1['eBonV'](_0x69b140,_0x5470f1)){const _0x511b31=_0x57b1f8[_0x10cde1[_0x2755f1(0x1d7)](_0x5ec732,0x1)];if(!_0x511b31||_0x511b31[_0x2755f1(0x17c)]('--'))return undefined;return _0x511b31;}if(_0x69b140[_0x2755f1(0x17c)](_0x5470f1+'='))return _0x69b140[_0x2755f1(0x161)](_0x10cde1['waEkg'](_0x5470f1[_0x2755f1(0x1c5)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x910d38={})=>{const _0x1791c7=a172_0x3f6817,_0x43a891={'bOJux':function(_0x5d3fb4,_0x279c97){return _0x5d3fb4(_0x279c97);}};return _0x43a891['bOJux'](normalizeTestPlanId,_0x910d38&&_0x910d38['testManagementOptions']&&_0x910d38[_0x1791c7(0x110)]['testPlanId']);};exports[a172_0x3f6817(0xfa)]=(_0xca297e={},_0x3735a6=process[a172_0x3f6817(0x114)],_0x210756=process['env'])=>{const _0x329bc2=a172_0x3f6817,_0x82fcbf={'bGuSk':function(_0x2d48ff,_0x1ec292){return _0x2d48ff(_0x1ec292);},'EdKlc':function(_0x409867,_0x2b1f3b){return _0x409867(_0x2b1f3b);}};try{const _0x2f9868=_0x82fcbf[_0x329bc2(0x105)](normalizeTestPlanId,_0x82fcbf[_0x329bc2(0x105)](readTestPlanIdFromCliArgs,_0x3735a6));if(_0x2f9868)return _0x2f9868;const _0x16c7f5=_0x82fcbf[_0x329bc2(0x11e)](normalizeTestPlanId,_0x210756&&_0x210756[testHubConstants[_0x329bc2(0x15b)]['BROWSERSTACK_TEST_PLAN_ID']]);if(_0x16c7f5)return _0x16c7f5;return _0x82fcbf[_0x329bc2(0x11e)](readTestPlanIdFromConfig,_0xca297e);}catch(_0x173c50){return logger[_0x329bc2(0x1a3)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x173c50&&_0x173c50[_0x329bc2(0x197)]?_0x173c50[_0x329bc2(0x197)]:_0x173c50)),undefined;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a173_0x1ce470=a173_0x329c;function a173_0x2003(){const _0x125d2d=['9kAJJMA','64366lRKbJk','fireFunnelTestEvent','exports','2169928TyecoE','2329467OkjLlo','11vqOfyK','5415560jBpCGa','830806VWdYGn','457992UYRtJh','12rxzcyB','cancel','666ANjUCX','zCEfD','./utilities','20780oIpZbb','busAM'];a173_0x2003=function(){return _0x125d2d;};return a173_0x2003();}(function(_0x10418b,_0x18dbad){const _0x154773=a173_0x329c,_0x26e005=_0x10418b();while(!![]){try{const _0x15dd09=parseInt(_0x154773(0x9f))/0x1+parseInt(_0x154773(0x98))/0x2*(parseInt(_0x154773(0xa1))/0x3)+-parseInt(_0x154773(0xa0))/0x4+parseInt(_0x154773(0xa6))/0x5*(-parseInt(_0x154773(0xa3))/0x6)+parseInt(_0x154773(0x9c))/0x7+parseInt(_0x154773(0x9b))/0x8*(parseInt(_0x154773(0x97))/0x9)+parseInt(_0x154773(0x9e))/0xa*(-parseInt(_0x154773(0x9d))/0xb);if(_0x15dd09===_0x18dbad)break;else _0x26e005['push'](_0x26e005['shift']());}catch(_0x55a16d){_0x26e005['push'](_0x26e005['shift']());}}}(a173_0x2003,0x6ceee));const utilities=require(a173_0x1ce470(0xa5));function a173_0x329c(_0x3b1549,_0x25e14d){const _0x200345=a173_0x2003();return a173_0x329c=function(_0x329cd3,_0x3a9f0f){_0x329cd3=_0x329cd3-0x97;let _0x26b1e4=_0x200345[_0x329cd3];return _0x26b1e4;},a173_0x329c(_0x3b1549,_0x25e14d);}module[a173_0x1ce470(0x9a)]=(_0x3a2891,_0x1e64b3,_0x5e3770,_0x1f6946,_0x4d8d64,_0x33731a)=>{const _0xeae094=a173_0x1ce470,_0x53b856={'azGDK':function(_0x87f6a,_0x22abb1){return _0x87f6a-_0x22abb1;},'busAM':function(_0x25c59c,_0x3003da){return _0x25c59c(_0x3003da);},'zCEfD':function(_0x163a13,_0x134216,_0x4d08dd){return _0x163a13(_0x134216,_0x4d08dd);}};let _0x5d863f,_0x14e753=![];const _0x4b7ae1=new Promise((_0xb35f50,_0x4e326b)=>{const _0x4c8738=a173_0x329c;_0x5d863f=_0x53b856[_0x4c8738(0xa4)](setTimeout,()=>{const _0x3ef863=_0x4c8738;if(!_0x14e753){const _0x80b79e={'status':''+_0x1e64b3,'timeTaken':_0x53b856['azGDK'](new Date(),_0x1f6946)};utilities[_0x3ef863(0x99)](_0x5e3770,_0x80b79e,_0x4d8d64,_0x33731a),_0x53b856[_0x3ef863(0xa7)](_0x4e326b,new Error(_0x1e64b3));}},_0x3a2891);});return _0x4b7ae1[_0xeae094(0xa2)]=()=>{const _0x810da5=_0xeae094;_0x14e753=!![],_0x53b856[_0x810da5(0xa7)](clearTimeout,_0x5d863f);},_0x4b7ae1;};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a174_0xd752ed=a174_0x1a73;(function(_0x2b4ec6,_0x2ef42d){const _0x3c7f61=a174_0x1a73,_0x5c9d1f=_0x2b4ec6();while(!![]){try{const _0x4f66ac=parseInt(_0x3c7f61(0x115))/0x1*(-parseInt(_0x3c7f61(0x180))/0x2)+parseInt(_0x3c7f61(0x108))/0x3+-parseInt(_0x3c7f61(0x157))/0x4*(-parseInt(_0x3c7f61(0x100))/0x5)+-parseInt(_0x3c7f61(0x172))/0x6+parseInt(_0x3c7f61(0x10a))/0x7*(parseInt(_0x3c7f61(0x144))/0x8)+-parseInt(_0x3c7f61(0x10c))/0x9+-parseInt(_0x3c7f61(0x151))/0xa*(parseInt(_0x3c7f61(0x17f))/0xb);if(_0x4f66ac===_0x2ef42d)break;else _0x5c9d1f['push'](_0x5c9d1f['shift']());}catch(_0x3daf6b){_0x5c9d1f['push'](_0x5c9d1f['shift']());}}}(a174_0x5241,0xa043e));function a174_0x1a73(_0x2add7d,_0x54f509){const _0x524174=a174_0x5241();return a174_0x1a73=function(_0x1a7345,_0x501bca){_0x1a7345=_0x1a7345-0xf9;let _0x1014aa=_0x524174[_0x1a7345];return _0x1014aa;},a174_0x1a73(_0x2add7d,_0x54f509);}function a174_0x5241(){const _0x3e6837=['IoGsF','APP_AUTOMATE_PRODUCTS','PwWFH','sdkRunId','lqNaz','nLxBl','5gDhTcb','APP_AUTOMATE','../bin/utils/constants','getTurboScaleSessionsList','winstonLogger','GUFyJ','format','getStackTraceAsString','3477393nmphrG','vBkUL','35021XVfRJR','debug','3748581MqFcsS','version','./testhub/utils','osVersion','IbwLu','getFrameworkVersion','W_OK','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','SNasp','1250339DPWzhC','assign','SubjC','DHDzc','stringify','AUTOMATE','notifyUpdate','sendLogs','nXshY','VsSPz','all','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','reduce','globalException','FGbew','buildIdentifier','isNullOrEmpty','browser','replace','../helpers/testhub/constants','getNodeAgent','abAzX','Directory\x20','setReadWriteExecuteAccess','Playwright','DxYbd','VZspZ','X_OK','GDbit','util','MihgI','isBrowserstackInfra','TmqtT','parse','toString','forEach','isAppAutomateSession','chmodSync','selenium-webdriver','mKepz','unhandledErrors','trim','playwrightVersion','seleniumVersion','getGlobal','nodejs','push','1112ZehLte','browserVersion','AUTOMATE_PRODUCTS','wWqur','fireFunnelTestEvent','\x20has\x20now\x20read/write/execute\x20permissions.','nywsi','eDxtc','undefined','values','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','Exfey','source','1190600JcSKPe','CGwkh','API\x20Event\x20','constants','SDKTestSuccessful','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','3292268ccodEq','apply','mbnTl','jlDst','framework','content-type','BJOXR','./performance/performance-tester','POST','killSignal','TNBHL','BQYls','BROWSERSTACK_TESTHUB_UUID','split','UnzQQ','xcwRh','type','./globals',',\x20testhub\x20id:\x20','env','accessSync','getAccessKey','every','length','fDBpR','Error\x20in\x20firing\x20request\x20to\x20','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','697206dRjpYA','errorMessage','lWlTx','Failed\x20to\x20set\x20directory\x20access:\x20','event_properties','error','getTestFrameworkDetails','requirePWModule','keys','./test-observability/utils','getUserName','config','tests','22MirFHa','2wVRuox','_buildHashedId','[REDACTED]','SDK\x20run\x20ended\x20for\x20id:\x20','name','./logger','OlbbD','nodeRequest','AFiSk','./helper','hostname','browserStackConfig'];a174_0x5241=function(){return _0x3e6837;};return a174_0x5241();}const os=require('os'),util=require(a174_0xd752ed(0x132)),fs=require('fs'),{getProductMap}=require(a174_0xd752ed(0x10e)),logger=require(a174_0xd752ed(0x185))[a174_0xd752ed(0x104)],constants=require(a174_0xd752ed(0x102)),testHubConstants=require(a174_0xd752ed(0x128)),{getTransformPath}=require('../bin/playwright/reporter/pwUtils'),{FUNNEL_INSTRUMENTATION_API_URL}=require(a174_0xd752ed(0x102)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a174_0xd752ed(0x189)),PerformanceTester=require(a174_0xd752ed(0x15e)),globals=require(a174_0xd752ed(0x168)),helper=require(a174_0xd752ed(0x189)),{isTestObservabilitySession}=require(a174_0xd752ed(0x17b));let unhandledErrors='';exports['fireFunnelTestEvent']=async(_0x563a6e,_0x3ee527={},_0x2f513f,_0x1bf0bb,_0x4ba79a=![])=>{const _0x1ba30c=a174_0xd752ed,_0x2662cd={'mbnTl':function(_0x4e5f21,_0x210fcd){return _0x4e5f21===_0x210fcd;},'DHDzc':'object','UnzQQ':function(_0x1b8c52,_0x1e825c){return _0x1b8c52>_0x1e825c;},'IbwLu':function(_0xa62c1f,_0x3c4887){return _0xa62c1f>_0x3c4887;},'oeNbL':_0x1ba30c(0x17e),'sDuqB':function(_0x4d4d3d){return _0x4d4d3d();},'PwWFH':function(_0x219773){return _0x219773();},'eDxtc':function(_0x508ddd,_0x5a8772){return _0x508ddd==_0x5a8772;},'qwagf':'null','TNBHL':_0x1ba30c(0x14c),'IoGsF':function(_0x3b2ba1,_0x2dd53b){return _0x3b2ba1>_0x2dd53b;},'DxYbd':function(_0x88bd4a,_0x3675e2){return _0x88bd4a===_0x3675e2;},'BJOXR':'codeceptjs','SubjC':function(_0x27725a,_0x40e0a8){return _0x27725a!==_0x40e0a8;},'jlDst':_0x1ba30c(0x12d),'GDbit':'error','Ntulr':function(_0x5de154,_0xab85ee){return _0x5de154>_0xab85ee;},'BQYls':function(_0x221b3e,_0x240272){return _0x221b3e+_0x240272;},'vwgFs':_0x1ba30c(0x171),'FGbew':_0x1ba30c(0x181),'xcwRh':function(_0x482ec2,_0xd2afbd){return _0x482ec2(_0xd2afbd);},'TmqtT':function(_0x48ee6a,_0x2bf72d){return _0x48ee6a(_0x2bf72d);},'SNasp':'unknown','nywsi':_0x1ba30c(0x142),'GUFyJ':_0x1ba30c(0x155),'lqNaz':function(_0x36e4cc){return _0x36e4cc();},'VZspZ':_0x1ba30c(0x13b),'OlbbD':'application/json','Exfey':_0x1ba30c(0x182),'lWlTx':_0x1ba30c(0x15f)};let _0x120d80=[];if(helper[_0x1ba30c(0x134)]()&&_0x2662cd['sDuqB'](isTestObservabilitySession))_0x120d80=helper[_0x1ba30c(0x139)](_0x2f513f)?constants[_0x1ba30c(0xfb)]:constants[_0x1ba30c(0x146)];else{if(_0x2662cd[_0x1ba30c(0xfc)](isTestObservabilitySession))_0x120d80=constants[_0x1ba30c(0x120)];else helper[_0x1ba30c(0x134)]()&&(_0x120d80=helper[_0x1ba30c(0x139)](_0x2f513f)?constants[_0x1ba30c(0x101)]:constants[_0x1ba30c(0x11a)]);}let _0xa561a2=_0x2f513f[_0x1ba30c(0x124)];if(_0x2662cd[_0x1ba30c(0x14b)](_0xa561a2,null))_0xa561a2=_0x2662cd['qwagf'];else _0x2662cd[_0x1ba30c(0x159)](_0xa561a2,undefined)&&(_0xa561a2=_0x2662cd[_0x1ba30c(0x161)]);unhandledErrors&&_0x2662cd[_0x1ba30c(0xfa)](unhandledErrors[_0x1ba30c(0x16e)],0x0)&&(_0x3ee527[_0x1ba30c(0x122)]=unhandledErrors);global['sdkRunId']&&(_0x3ee527['sdkRunId']=global[_0x1ba30c(0xfd)]);try{if(_0x3ee527[_0x1ba30c(0x177)]){if(_0x2662cd[_0x1ba30c(0x12e)](_0x1bf0bb,_0x2662cd[_0x1ba30c(0x15d)])&&_0x2662cd[_0x1ba30c(0x110)](_0x3ee527[_0x1ba30c(0x177)][_0x1ba30c(0x16e)],0x0)){const _0x3581ee={};_0x3581ee['os']='',_0x3581ee['osVersion']='',_0x3581ee[_0x1ba30c(0x126)]='',_0x3581ee['browserVersion']='';const _0x246812=_0x3581ee;let _0x3e3a34={};const _0x3e5e81=_0x3ee527['error'];_0x3e3a34=_0x3e5e81[_0x1ba30c(0x121)]((_0x428e29,_0x21ad63)=>{for(const _0x538963 in _0x21ad63){_0x428e29[_0x538963]=_0x21ad63[_0x538963];}return _0x428e29;},{});const _0xbf2af5={};_0xbf2af5['tests']=_0x3e3a34,_0x3ee527['error']=[Object['assign']({},_0x246812,_0xbf2af5)];}else{let _0x24d701=0x0;const _0x4c44ba=_0x2662cd[_0x1ba30c(0x117)](_0x1bf0bb,_0x2662cd[_0x1ba30c(0x15a)])?JSON[_0x1ba30c(0x136)](_0x3ee527[_0x1ba30c(0x177)]):_0x3ee527[_0x1ba30c(0x177)],_0x21de71=Object['values'](_0x4c44ba);_0x21de71[_0x1ba30c(0x138)](_0x2e148d=>{const _0x460de9=_0x1ba30c;if(_0x2662cd[_0x460de9(0x159)](typeof _0x2e148d,_0x2662cd[_0x460de9(0x118)])){const _0x5c1f6d=Object[_0x460de9(0x14d)](_0x2e148d);!_0x5c1f6d[_0x460de9(0x16d)](_0x4af0bc=>_0x4af0bc===null||_0x4af0bc===undefined||_0x4af0bc==='')&&(_0x24d701+=0x1);}});if(_0x2662cd['mbnTl'](_0x24d701,0x0))delete _0x3ee527[_0x2662cd[_0x1ba30c(0x131)]];else{const _0x39be3e=[];Object['keys'](_0x4c44ba)['forEach'](_0xcf32da=>{const _0x26100c=_0x1ba30c,[_0x181aae,_0x5e5b6a,_0x2c894e,_0x497acb]=_0xcf32da[_0x26100c(0x164)](',\x20');let _0x3b0753={};if(!_0x497acb){const _0xff7dbc={};_0xff7dbc['deviceName']=_0x181aae,_0xff7dbc[_0x26100c(0x10f)]=_0x5e5b6a,_0xff7dbc[_0x26100c(0x126)]=_0x2c894e,_0x3b0753=_0xff7dbc;}else{const _0x5fba4e={};_0x5fba4e['os']=_0x181aae,_0x5fba4e[_0x26100c(0x10f)]=_0x5e5b6a,_0x5fba4e[_0x26100c(0x126)]=_0x2c894e,_0x5fba4e[_0x26100c(0x145)]=_0x497acb,_0x3b0753=_0x5fba4e;}const _0x2faecf={},_0x635a61=_0x4c44ba[_0xcf32da];Object['keys'](_0x635a61)[_0x26100c(0x138)](_0x2e4e83=>{const _0x110870=_0x26100c;_0x2662cd[_0x110870(0x165)](_0x635a61[_0x2e4e83][_0x110870(0x16e)],0x0)&&(_0x2faecf[_0x2e4e83]=_0x635a61[_0x2e4e83]);}),_0x2662cd['IbwLu'](Object[_0x26100c(0x17a)](_0x2faecf)[_0x26100c(0x16e)],0x0)&&(_0x3b0753[_0x2662cd['oeNbL']]=_0x2faecf,_0x39be3e[_0x26100c(0x143)](_0x3b0753));}),_0x2662cd['Ntulr'](_0x39be3e['length'],0x0)?_0x3ee527[_0x1ba30c(0x177)]=_0x39be3e:delete _0x3ee527[_0x2662cd[_0x1ba30c(0x131)]];}}}}catch(_0x192b3c){delete _0x3ee527[_0x2662cd[_0x1ba30c(0x131)]],logger['debug'](_0x2662cd[_0x1ba30c(0x162)](_0x2662cd['vwgFs'],_0x192b3c));}const _0x4e5ea1=helper[_0x1ba30c(0x178)](_0x2f513f,_0x2f513f[_0x1ba30c(0x15b)]),_0x43649b={'userName':helper['getUserName'](_0x2f513f),'accessKey':helper[_0x1ba30c(0x16c)](_0x2f513f),'event_type':_0x563a6e,'detectedFramework':_0x1bf0bb,'buildHashedId':globals[_0x1ba30c(0x141)](_0x2662cd[_0x1ba30c(0x123)]),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process[_0x1ba30c(0x16a)][testHubConstants['ENV_VAR'][_0x1ba30c(0x163)]]||'','sdkRunId':global[_0x1ba30c(0xfd)],'product_map':_0x2662cd[_0x1ba30c(0x166)](getProductMap,_0x2f513f),'productMap':_0x2662cd[_0x1ba30c(0x135)](getProductMap,_0x2f513f),'language_framework':_0x2f513f[_0x1ba30c(0x150)]||_0x2662cd[_0x1ba30c(0x114)],'referrer':helper[_0x1ba30c(0x129)](_0x1bf0bb),'framework':_0x2f513f['framework'],'frameworkVersion':helper[_0x1ba30c(0x111)](_0x1bf0bb),'automationFramework':_0x4e5ea1[_0x1ba30c(0x184)],'automationFrameworkVersion':_0x4e5ea1['version'],'language':_0x2662cd[_0x1ba30c(0x14a)],'languageVersion':process[_0x1ba30c(0x10d)],'product':_0x120d80,'buildName':_0x2f513f['buildName']||_0x2662cd[_0x1ba30c(0x161)],'buildIdentifier':_0xa561a2,'os':os[_0x1ba30c(0x167)]()||_0x2662cd[_0x1ba30c(0x114)],'hostname':os[_0x1ba30c(0x18a)]()||_0x2662cd[_0x1ba30c(0x114)],..._0x3ee527,'isCLIEnabled':_0x4ba79a}};try{_0x2662cd[_0x1ba30c(0x159)](_0x563a6e,_0x2662cd[_0x1ba30c(0x105)])&&(_0x43649b[_0x1ba30c(0x176)][_0x1ba30c(0xf9)]=helper['sanitizeBrowserStackConfig'](_0x2f513f)),_0x2662cd[_0x1ba30c(0x12e)](_0x1bf0bb,_0x2662cd[_0x1ba30c(0x15a)])?_0x43649b['event_properties'][_0x1ba30c(0x13f)]=helper[_0x1ba30c(0x179)][_0x1ba30c(0x158)](null,_0x2662cd[_0x1ba30c(0xfe)](getTransformPath),!![]):_0x43649b[_0x1ba30c(0x176)][_0x1ba30c(0x140)]=helper['getPackageVersion'](_0x2662cd[_0x1ba30c(0x12f)]);}catch(_0x5eafca){logger[_0x1ba30c(0x10b)](_0x1ba30c(0x156)+_0x5eafca);}const _0x1fe805={};_0x1fe805[_0x1ba30c(0x15c)]=_0x2662cd[_0x1ba30c(0x186)];const _0x3fe983={'headers':_0x1fe805,'body':_0x43649b,'auth':{'user':helper[_0x1ba30c(0x17c)](_0x2f513f),'pass':helper[_0x1ba30c(0x16c)](_0x2f513f)},'json':!![]};logger[_0x1ba30c(0x10b)](_0x1ba30c(0x14e)+JSON[_0x1ba30c(0x119)](_0x3fe983['body'])[_0x1ba30c(0x127)](new RegExp(helper[_0x1ba30c(0x17c)](_0x2f513f),'g'),_0x2662cd[_0x1ba30c(0x14f)])[_0x1ba30c(0x127)](new RegExp(helper[_0x1ba30c(0x16c)](_0x2f513f),'g'),_0x2662cd['Exfey']));try{const _0xf725b9=await helper[_0x1ba30c(0x187)](_0x2662cd[_0x1ba30c(0x174)],FUNNEL_INSTRUMENTATION_API_URL,_0x3fe983,_0x2f513f);logger['debug'](_0x1ba30c(0x153)+_0x563a6e+'\x20response\x20-\x20'+util[_0x1ba30c(0x106)]('%j',_0xf725b9));}catch(_0x5d21df){logger[_0x1ba30c(0x10b)](_0x1ba30c(0x170)+FUNNEL_INSTRUMENTATION_API_URL+'\x20:\x20'+util['format'](_0x5d21df));}},exports['finalExecution']=async(_0x1c51f1,_0x3308b=![])=>{const _0x2b9d9b=a174_0xd752ed,_0x28205d={'nXshY':function(_0x2df282){return _0x2df282();},'VsSPz':'_hubAllocationData','AFiSk':'finishedMetadata','HyMsl':'user_killed','nLxBl':'SDKTestSuccessful','fDBpR':function(_0x196052,_0x4afe0d,_0x1fc447){return _0x196052(_0x4afe0d,_0x1fc447);},'vBkUL':function(_0x4654d2,_0x339ddf){return _0x4654d2+_0x339ddf;},'abAzX':_0x2b9d9b(0x113)};try{await _0x1c51f1['stopPercy'](),_0x28205d[_0x2b9d9b(0x11d)](printNudgeLocalNotSetError);const _0x51ce69={};_0x51ce69[_0x2b9d9b(0x177)]=_0x1c51f1[_0x2b9d9b(0x173)]?_0x1c51f1[_0x2b9d9b(0x173)]:'{}';const _0x18f7c6=_0x51ce69,_0x5e3827=Object[_0x2b9d9b(0x116)]({},_0x18f7c6),_0x46e7c6=globals[_0x2b9d9b(0x141)](_0x28205d[_0x2b9d9b(0x11e)]);_0x46e7c6&&(_0x5e3827['hubAllocation']=_0x46e7c6);!!_0x1c51f1[_0x2b9d9b(0x160)]&&(_0x5e3827[_0x28205d[_0x2b9d9b(0x188)]]={'reason':_0x28205d['HyMsl'],'signal':_0x1c51f1[_0x2b9d9b(0x160)]});unhandledErrors=_0x1c51f1[_0x2b9d9b(0x13d)]['join']('\x0a');let _0x547781,_0x207fa7,_0x154e28;helper['isTurboScaleSession'](_0x1c51f1['config'])?([_0x547781,_0x207fa7]=await helper['getTurboScaleBuildLink'](_0x1c51f1[_0x2b9d9b(0x17d)]),[_0x154e28]=await Promise['all']([helper[_0x2b9d9b(0x103)](_0x547781,_0x1c51f1[_0x2b9d9b(0x17d)]),exports[_0x2b9d9b(0x148)](_0x28205d['nLxBl'],_0x5e3827,_0x1c51f1[_0x2b9d9b(0x17d)],_0x1c51f1[_0x2b9d9b(0x15b)],_0x3308b)])):([_0x547781,_0x207fa7]=await helper['getBuildLink'](_0x1c51f1[_0x2b9d9b(0x17d)]),[_0x154e28]=await Promise[_0x2b9d9b(0x11f)]([helper['getSessionsList'](_0x547781,_0x1c51f1[_0x2b9d9b(0x17d)]),exports[_0x2b9d9b(0x148)](_0x28205d[_0x2b9d9b(0xff)],_0x5e3827,_0x1c51f1[_0x2b9d9b(0x17d)],_0x1c51f1[_0x2b9d9b(0x15b)],_0x3308b)])),_0x154e28&&await _0x28205d[_0x2b9d9b(0x16f)](generateCIArtifacts,_0x154e28,_0x207fa7),logger['info'](_0x2b9d9b(0x183)+_0x1c51f1[_0x2b9d9b(0xfd)]+_0x2b9d9b(0x169)+process[_0x2b9d9b(0x16a)][_0x2b9d9b(0x163)]),await helper[_0x2b9d9b(0x11c)](_0x1c51f1[_0x2b9d9b(0x17d)]);}catch(_0xfd9b48){logger[_0x2b9d9b(0x10b)](_0x28205d[_0x2b9d9b(0x109)](_0x28205d[_0x2b9d9b(0x12a)],_0xfd9b48));}helper[_0x2b9d9b(0x11b)]();},exports[a174_0xd752ed(0x107)]=_0x497a0b=>{const _0x535877=a174_0xd752ed,_0x1f1e60={'MihgI':function(_0x4a9665,_0x41a7b9){return _0x4a9665 instanceof _0x41a7b9;},'wWqur':function(_0xfceee6,_0x4bcd38){return _0xfceee6(_0x4bcd38);}};try{if(_0x1f1e60[_0x535877(0x133)](_0x497a0b,Error))return _0x497a0b['stack']||_0x497a0b['toString']();return _0x1f1e60[_0x535877(0x147)](String,_0x497a0b);}catch(_0x288fb7){return _0x497a0b?_0x497a0b[_0x535877(0x137)]():'';}},exports[a174_0xd752ed(0x125)]=_0x3e7293=>{const _0x471707=a174_0xd752ed,_0x31d205={};_0x31d205[_0x471707(0x152)]=function(_0x49645d,_0x54899f){return _0x49645d===_0x54899f;};const _0x240b95=_0x31d205;return!_0x3e7293||_0x240b95[_0x471707(0x152)](_0x3e7293[_0x471707(0x13e)](),'');},exports['isModifiable']=_0x57c398=>{const _0x5e1733=a174_0xd752ed,_0x3bc14a={};_0x3bc14a[_0x5e1733(0x13c)]=function(_0x2c77cf,_0x4d51a3){return _0x2c77cf|_0x4d51a3;};const _0x4aa611=_0x3bc14a;try{return fs[_0x5e1733(0x16b)](_0x57c398,_0x4aa611[_0x5e1733(0x13c)](fs[_0x5e1733(0x154)][_0x5e1733(0x112)],fs[_0x5e1733(0x154)][_0x5e1733(0x130)])),!![];}catch(_0x580867){return![];}},exports[a174_0xd752ed(0x12c)]=_0x32bf5d=>{const _0x2287bc=a174_0xd752ed;try{fs[_0x2287bc(0x13a)](_0x32bf5d,0x1ff),logger[_0x2287bc(0x10b)](_0x2287bc(0x12b)+_0x32bf5d+_0x2287bc(0x149));}catch(_0x3a7ddd){logger[_0x2287bc(0x177)](_0x2287bc(0x175)+exports[_0x2287bc(0x107)](_0x3a7ddd));}};
|
|
1
|
+
const a174_0x45b3d8=a174_0x3b6f;(function(_0x1d1546,_0x647f1a){const _0x596ede=a174_0x3b6f,_0x3e9905=_0x1d1546();while(!![]){try{const _0x496563=-parseInt(_0x596ede(0x1ba))/0x1+-parseInt(_0x596ede(0x183))/0x2*(-parseInt(_0x596ede(0x1d4))/0x3)+-parseInt(_0x596ede(0x171))/0x4+parseInt(_0x596ede(0x1d3))/0x5+-parseInt(_0x596ede(0x1b6))/0x6+-parseInt(_0x596ede(0x179))/0x7*(-parseInt(_0x596ede(0x1db))/0x8)+parseInt(_0x596ede(0x1e2))/0x9;if(_0x496563===_0x647f1a)break;else _0x3e9905['push'](_0x3e9905['shift']());}catch(_0x5e285b){_0x3e9905['push'](_0x3e9905['shift']());}}}(a174_0x16f7,0x96023));function a174_0x3b6f(_0x415ab3,_0x56f93f){const _0x16f76a=a174_0x16f7();return a174_0x3b6f=function(_0x3b6fa5,_0x39c498){_0x3b6fa5=_0x3b6fa5-0x168;let _0x503c87=_0x16f76a[_0x3b6fa5];return _0x503c87;},a174_0x3b6f(_0x415ab3,_0x56f93f);}const os=require('os'),util=require(a174_0x45b3d8(0x16f)),fs=require('fs'),{getProductMap}=require(a174_0x45b3d8(0x170)),logger=require(a174_0x45b3d8(0x1e0))['winstonLogger'],constants=require(a174_0x45b3d8(0x18b)),testHubConstants=require(a174_0x45b3d8(0x1be)),{getTransformPath}=require(a174_0x45b3d8(0x19b)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a174_0x45b3d8(0x18b)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a174_0x45b3d8(0x1a9)),PerformanceTester=require('./performance/performance-tester'),globals=require('./globals'),helper=require(a174_0x45b3d8(0x1a9)),{isTestObservabilitySession}=require(a174_0x45b3d8(0x176));function a174_0x16f7(){const _0x48997e=['seleniumVersion','getOptimalHubUrl','errorMessage','BROWSERSTACK_TESTHUB_UUID','length','93276vbctst','deviceName','type','requirePWModule','641974FPJKfd','framework','osVersion','sendLogs','../helpers/testhub/constants','finalExecution','_buildHashedId','playwrightVersion','event_properties','uweVc','sanitizeBrowserStackConfig','ENV_VAR','chmodSync','unknown','zNRqV','codeceptjs','MmmVn','bCWcF','POST','user_killed','killSignal','\x20has\x20now\x20read/write/execute\x20permissions.','unhandledErrors','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','W_OK','470105LWMHVb','546EcyIsf','IqZst','accessSync','error','eXAPF','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','hwVIp','840mkndrL','getTestFrameworkDetails','nodeRequest','parse','name','./logger','isModifiable','9252504HqUqMP','buildName','deuJM','Error\x20in\x20firing\x20request\x20to\x20','AUTOMATE','forEach','info','getFrameworkVersion','finishedMetadata','replace','getNodeAgent','browserStackConfig','browserVersion','content-type','RMxHg','isNullOrEmpty','getTurboScaleBuildLink','qpocB','env','jCGQy','sdkRunId','format','API\x20Event\x20','selenium-webdriver','util','./testhub/utils','1501020ixRIFm','APP_AUTOMATE','CQbWd','ZCRhZ','APP_AUTOMATE_PRODUCTS','./test-observability/utils','uPend','SDK\x20run\x20ended\x20for\x20id:\x20','10815ScykBi','assign','apply','getUserName','toString','_hubAllocationData','source','browser','Failed\x20to\x20set\x20directory\x20access:\x20','VqDHz','3988VuLAYI','globalException','CnLVg','join','iIXwd','getAccessKey','[REDACTED]','UvpeK','../bin/utils/constants','tests','vDcFF','isBrowserstackInfra','debug','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','getTurboScaleSessionsList','wrbNX','cCmLM','getStackTraceAsString','SDKTestSuccessful','keys','split','application/json','config','all','../bin/playwright/reporter/pwUtils','version','isTurboScaleSession','constants','mNcGy','undefined','X_OK','dseMT','reduce','values','RmkFD','isAppAutomateSession','lOSAw','getGlobal','./helper','dGzwQ','fireFunnelTestEvent','Playwright','trim','pkczo','TdHaJ','getSessionsList'];a174_0x16f7=function(){return _0x48997e;};return a174_0x16f7();}let unhandledErrors='';exports[a174_0x45b3d8(0x1ab)]=async(_0x4c3a9d,_0x4e7a9f={},_0x7fa53d,_0x900adf,_0xfcd152=![])=>{const _0x5c1ebc=a174_0x45b3d8,_0x263c7c={'wrbNX':function(_0x524931,_0x124abb){return _0x524931===_0x124abb;},'ANYhl':'object','mNcGy':function(_0x54fb31,_0x59e6e9){return _0x54fb31>_0x59e6e9;},'VqDHz':_0x5c1ebc(0x18c),'nmGan':function(_0x156018){return _0x156018();},'AEHOb':function(_0x2f8abc){return _0x2f8abc();},'cCmLM':function(_0x58d857,_0x3c524e){return _0x58d857==_0x3c524e;},'zNRqV':'null','dGzwQ':_0x5c1ebc(0x1a0),'GUXjV':function(_0x33b268,_0x4c9316){return _0x33b268>_0x4c9316;},'RmkFD':_0x5c1ebc(0x1c9),'ZSNzT':function(_0xb76a02,_0x160801){return _0xb76a02>_0x160801;},'eXAPF':function(_0x260224,_0x36ae15){return _0x260224!==_0x36ae15;},'MmmVn':_0x5c1ebc(0x1ac),'TBAXK':function(_0x41e56b,_0x55171c){return _0x41e56b===_0x55171c;},'uPend':_0x5c1ebc(0x1d7),'IqZst':function(_0x168ce5,_0x34811b){return _0x168ce5>_0x34811b;},'uweVc':function(_0x357f34,_0x59aee8){return _0x357f34+_0x59aee8;},'UvpeK':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','rmMWQ':_0x5c1ebc(0x1c0),'CnLVg':function(_0x621943,_0x6a0157){return _0x621943(_0x6a0157);},'hwVIp':_0x5c1ebc(0x1c7),'iIXwd':'nodejs','TdHaJ':function(_0x458c8f,_0x9c749f){return _0x458c8f===_0x9c749f;},'jCGQy':_0x5c1ebc(0x195),'deuJM':function(_0xf8e71d){return _0xf8e71d();},'XPPLH':_0x5c1ebc(0x16e),'dTDny':_0x5c1ebc(0x198),'bCWcF':_0x5c1ebc(0x189),'rQsfA':_0x5c1ebc(0x1cc)};let _0x4f9358=[];if(helper[_0x5c1ebc(0x18e)]()&&_0x263c7c['nmGan'](isTestObservabilitySession))_0x4f9358=helper[_0x5c1ebc(0x1a6)](_0x7fa53d)?constants[_0x5c1ebc(0x175)]:constants['AUTOMATE_PRODUCTS'];else{if(_0x263c7c['AEHOb'](isTestObservabilitySession))_0x4f9358=constants[_0x5c1ebc(0x190)];else helper[_0x5c1ebc(0x18e)]()&&(_0x4f9358=helper['isAppAutomateSession'](_0x7fa53d)?constants[_0x5c1ebc(0x172)]:constants[_0x5c1ebc(0x1e6)]);}let _0x5d7d71=_0x7fa53d['buildIdentifier'];if(_0x263c7c[_0x5c1ebc(0x193)](_0x5d7d71,null))_0x5d7d71=_0x263c7c[_0x5c1ebc(0x1c8)];else _0x263c7c['wrbNX'](_0x5d7d71,undefined)&&(_0x5d7d71=_0x263c7c[_0x5c1ebc(0x1aa)]);unhandledErrors&&_0x263c7c['GUXjV'](unhandledErrors[_0x5c1ebc(0x1b5)],0x0)&&(_0x4e7a9f[_0x5c1ebc(0x184)]=unhandledErrors);global['sdkRunId']&&(_0x4e7a9f[_0x5c1ebc(0x16b)]=global[_0x5c1ebc(0x16b)]);try{if(_0x4e7a9f[_0x5c1ebc(0x1d7)]){if(_0x263c7c[_0x5c1ebc(0x192)](_0x900adf,_0x263c7c[_0x5c1ebc(0x1a5)])&&_0x263c7c['ZSNzT'](_0x4e7a9f[_0x5c1ebc(0x1d7)][_0x5c1ebc(0x1b5)],0x0)){const _0x5d171a={};_0x5d171a['os']='',_0x5d171a[_0x5c1ebc(0x1bc)]='',_0x5d171a[_0x5c1ebc(0x180)]='',_0x5d171a[_0x5c1ebc(0x1ee)]='';const _0x235395=_0x5d171a;let _0xc399b1={};const _0x54d579=_0x4e7a9f[_0x5c1ebc(0x1d7)];_0xc399b1=_0x54d579[_0x5c1ebc(0x1a3)]((_0x5511bb,_0x3700d4)=>{for(const _0x44b9b9 in _0x3700d4){_0x5511bb[_0x44b9b9]=_0x3700d4[_0x44b9b9];}return _0x5511bb;},{});const _0x4fd87c={};_0x4fd87c[_0x5c1ebc(0x18c)]=_0xc399b1,_0x4e7a9f[_0x5c1ebc(0x1d7)]=[Object['assign']({},_0x235395,_0x4fd87c)];}else{let _0x1c2377=0x0;const _0x46a2d9=_0x263c7c[_0x5c1ebc(0x1d8)](_0x900adf,_0x263c7c[_0x5c1ebc(0x1ca)])?JSON[_0x5c1ebc(0x1de)](_0x4e7a9f['error']):_0x4e7a9f[_0x5c1ebc(0x1d7)],_0x539d6b=Object[_0x5c1ebc(0x1a4)](_0x46a2d9);_0x539d6b['forEach'](_0x1f6b86=>{const _0x14cc89=_0x5c1ebc;if(_0x263c7c[_0x14cc89(0x192)](typeof _0x1f6b86,_0x263c7c['ANYhl'])){const _0x383f9c=Object[_0x14cc89(0x1a4)](_0x1f6b86);!_0x383f9c['every'](_0x40bc19=>_0x40bc19===null||_0x40bc19===undefined||_0x40bc19==='')&&(_0x1c2377+=0x1);}});if(_0x263c7c['TBAXK'](_0x1c2377,0x0))delete _0x4e7a9f[_0x263c7c['uPend']];else{const _0x5c3daf=[];Object[_0x5c1ebc(0x196)](_0x46a2d9)[_0x5c1ebc(0x1e7)](_0x10631f=>{const _0x41db37=_0x5c1ebc,[_0x4e6dbd,_0x2e6742,_0x17cee0,_0x1f5da3]=_0x10631f[_0x41db37(0x197)](',\x20');let _0x50f97c={};if(!_0x1f5da3){const _0x4bc31a={};_0x4bc31a[_0x41db37(0x1b7)]=_0x4e6dbd,_0x4bc31a[_0x41db37(0x1bc)]=_0x2e6742,_0x4bc31a[_0x41db37(0x180)]=_0x17cee0,_0x50f97c=_0x4bc31a;}else{const _0x4e95d4={};_0x4e95d4['os']=_0x4e6dbd,_0x4e95d4[_0x41db37(0x1bc)]=_0x2e6742,_0x4e95d4[_0x41db37(0x180)]=_0x17cee0,_0x4e95d4[_0x41db37(0x1ee)]=_0x1f5da3,_0x50f97c=_0x4e95d4;}const _0x590fc6={},_0x3b9cf1=_0x46a2d9[_0x10631f];Object[_0x41db37(0x196)](_0x3b9cf1)[_0x41db37(0x1e7)](_0x5c65b5=>{const _0x1f6b2d=_0x41db37;_0x263c7c[_0x1f6b2d(0x19f)](_0x3b9cf1[_0x5c65b5][_0x1f6b2d(0x1b5)],0x0)&&(_0x590fc6[_0x5c65b5]=_0x3b9cf1[_0x5c65b5]);}),_0x263c7c[_0x41db37(0x19f)](Object[_0x41db37(0x196)](_0x590fc6)['length'],0x0)&&(_0x50f97c[_0x263c7c[_0x41db37(0x182)]]=_0x590fc6,_0x5c3daf['push'](_0x50f97c));}),_0x263c7c[_0x5c1ebc(0x1d5)](_0x5c3daf[_0x5c1ebc(0x1b5)],0x0)?_0x4e7a9f[_0x5c1ebc(0x1d7)]=_0x5c3daf:delete _0x4e7a9f[_0x263c7c[_0x5c1ebc(0x177)]];}}}}catch(_0x4bcc3a){delete _0x4e7a9f[_0x263c7c[_0x5c1ebc(0x177)]],logger[_0x5c1ebc(0x18f)](_0x263c7c[_0x5c1ebc(0x1c3)](_0x263c7c[_0x5c1ebc(0x18a)],_0x4bcc3a));}const _0x8fce5f=helper[_0x5c1ebc(0x1dc)](_0x7fa53d,_0x7fa53d[_0x5c1ebc(0x1bb)]),_0x18827f={'userName':helper[_0x5c1ebc(0x17c)](_0x7fa53d),'accessKey':helper[_0x5c1ebc(0x188)](_0x7fa53d),'event_type':_0x4c3a9d,'detectedFramework':_0x900adf,'buildHashedId':globals[_0x5c1ebc(0x1a8)](_0x263c7c['rmMWQ']),'optimalHubUrl':helper[_0x5c1ebc(0x1b2)](),'event_properties':{'testhub_uuid':process[_0x5c1ebc(0x169)][testHubConstants[_0x5c1ebc(0x1c5)][_0x5c1ebc(0x1b4)]]||'','sdkRunId':global['sdkRunId'],'product_map':_0x263c7c[_0x5c1ebc(0x185)](getProductMap,_0x7fa53d),'productMap':_0x263c7c['CnLVg'](getProductMap,_0x7fa53d),'language_framework':_0x7fa53d[_0x5c1ebc(0x17f)]||_0x263c7c[_0x5c1ebc(0x1da)],'referrer':helper[_0x5c1ebc(0x1ec)](_0x900adf),'framework':_0x7fa53d[_0x5c1ebc(0x1bb)],'frameworkVersion':helper[_0x5c1ebc(0x1e9)](_0x900adf),'automationFramework':_0x8fce5f[_0x5c1ebc(0x1df)],'automationFrameworkVersion':_0x8fce5f[_0x5c1ebc(0x19c)],'language':_0x263c7c[_0x5c1ebc(0x187)],'languageVersion':process[_0x5c1ebc(0x19c)],'product':_0x4f9358,'buildName':_0x7fa53d[_0x5c1ebc(0x1e3)]||_0x263c7c[_0x5c1ebc(0x1aa)],'buildIdentifier':_0x5d7d71,'os':os[_0x5c1ebc(0x1b8)]()||_0x263c7c['hwVIp'],'hostname':os['hostname']()||_0x263c7c[_0x5c1ebc(0x1da)],..._0x4e7a9f,'isCLIEnabled':_0xfcd152}};try{_0x263c7c[_0x5c1ebc(0x1af)](_0x4c3a9d,_0x263c7c[_0x5c1ebc(0x16a)])&&(_0x18827f['event_properties'][_0x5c1ebc(0x1ed)]=helper[_0x5c1ebc(0x1c4)](_0x7fa53d)),_0x263c7c['wrbNX'](_0x900adf,_0x263c7c[_0x5c1ebc(0x1ca)])?_0x18827f[_0x5c1ebc(0x1c2)][_0x5c1ebc(0x1c1)]=helper[_0x5c1ebc(0x1b9)][_0x5c1ebc(0x17b)](null,_0x263c7c[_0x5c1ebc(0x1e4)](getTransformPath),!![]):_0x18827f[_0x5c1ebc(0x1c2)][_0x5c1ebc(0x1b1)]=helper['getPackageVersion'](_0x263c7c['XPPLH']);}catch(_0xaf9aa2){logger['debug']('Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20'+_0xaf9aa2);}const _0x509e00={};_0x509e00[_0x5c1ebc(0x1ef)]=_0x263c7c['dTDny'];const _0x39bd51={'headers':_0x509e00,'body':_0x18827f,'auth':{'user':helper['getUserName'](_0x7fa53d),'pass':helper[_0x5c1ebc(0x188)](_0x7fa53d)},'json':!![]};logger[_0x5c1ebc(0x18f)](_0x5c1ebc(0x1d1)+JSON['stringify'](_0x39bd51['body'])[_0x5c1ebc(0x1eb)](new RegExp(helper[_0x5c1ebc(0x17c)](_0x7fa53d),'g'),_0x263c7c[_0x5c1ebc(0x1cb)])[_0x5c1ebc(0x1eb)](new RegExp(helper[_0x5c1ebc(0x188)](_0x7fa53d),'g'),_0x263c7c[_0x5c1ebc(0x1cb)]));try{const _0x37e1f3=await helper[_0x5c1ebc(0x1dd)](_0x263c7c['rQsfA'],FUNNEL_INSTRUMENTATION_API_URL,_0x39bd51,_0x7fa53d);logger['debug'](_0x5c1ebc(0x16d)+_0x4c3a9d+'\x20response\x20-\x20'+util[_0x5c1ebc(0x16c)]('%j',_0x37e1f3));}catch(_0x102f6d){logger[_0x5c1ebc(0x18f)](_0x5c1ebc(0x1e5)+FUNNEL_INSTRUMENTATION_API_URL+'\x20:\x20'+util[_0x5c1ebc(0x16c)](_0x102f6d));}},exports[a174_0x45b3d8(0x1bf)]=async(_0x1a432b,_0x43ffb7=![])=>{const _0x345c20=a174_0x45b3d8,_0x2a48d9={'vDcFF':function(_0x20e58f){return _0x20e58f();},'hOcDo':_0x345c20(0x17e),'RMxHg':_0x345c20(0x1ea),'BWLvu':_0x345c20(0x1cd),'pkczo':_0x345c20(0x195),'CQbWd':function(_0x189b42,_0xaffd19,_0x4a672b){return _0x189b42(_0xaffd19,_0x4a672b);},'Gfomt':function(_0x28240e,_0x2e2d2d){return _0x28240e+_0x2e2d2d;},'lOSAw':_0x345c20(0x1d9)};try{await _0x1a432b['stopPercy'](),_0x2a48d9[_0x345c20(0x18d)](printNudgeLocalNotSetError);const _0x561829={};_0x561829[_0x345c20(0x1d7)]=_0x1a432b['errorMessage']?_0x1a432b[_0x345c20(0x1b3)]:'{}';const _0x4685ee=_0x561829,_0x42623a=Object[_0x345c20(0x17a)]({},_0x4685ee),_0x1c1919=globals['getGlobal'](_0x2a48d9['hOcDo']);_0x1c1919&&(_0x42623a['hubAllocation']=_0x1c1919);!!_0x1a432b['killSignal']&&(_0x42623a[_0x2a48d9[_0x345c20(0x1f0)]]={'reason':_0x2a48d9['BWLvu'],'signal':_0x1a432b[_0x345c20(0x1ce)]});unhandledErrors=_0x1a432b[_0x345c20(0x1d0)][_0x345c20(0x186)]('\x0a');let _0x37fe42,_0x3b1b49,_0x540bf7;helper[_0x345c20(0x19d)](_0x1a432b[_0x345c20(0x199)])?([_0x37fe42,_0x3b1b49]=await helper[_0x345c20(0x1f2)](_0x1a432b[_0x345c20(0x199)]),[_0x540bf7]=await Promise[_0x345c20(0x19a)]([helper[_0x345c20(0x191)](_0x37fe42,_0x1a432b[_0x345c20(0x199)]),exports[_0x345c20(0x1ab)](_0x2a48d9[_0x345c20(0x1ae)],_0x42623a,_0x1a432b[_0x345c20(0x199)],_0x1a432b[_0x345c20(0x1bb)],_0x43ffb7)])):([_0x37fe42,_0x3b1b49]=await helper['getBuildLink'](_0x1a432b[_0x345c20(0x199)]),[_0x540bf7]=await Promise[_0x345c20(0x19a)]([helper[_0x345c20(0x1b0)](_0x37fe42,_0x1a432b[_0x345c20(0x199)]),exports[_0x345c20(0x1ab)](_0x2a48d9['pkczo'],_0x42623a,_0x1a432b['config'],_0x1a432b[_0x345c20(0x1bb)],_0x43ffb7)])),_0x540bf7&&await _0x2a48d9[_0x345c20(0x173)](generateCIArtifacts,_0x540bf7,_0x3b1b49),logger[_0x345c20(0x1e8)](_0x345c20(0x178)+_0x1a432b[_0x345c20(0x16b)]+',\x20testhub\x20id:\x20'+process[_0x345c20(0x169)]['BROWSERSTACK_TESTHUB_UUID']),await helper[_0x345c20(0x1bd)](_0x1a432b[_0x345c20(0x199)]);}catch(_0x564ff3){logger[_0x345c20(0x18f)](_0x2a48d9['Gfomt'](_0x2a48d9[_0x345c20(0x1a7)],_0x564ff3));}helper['notifyUpdate']();},exports[a174_0x45b3d8(0x194)]=_0x597a59=>{const _0x5491cb=a174_0x45b3d8,_0x18f6ad={'AuLch':function(_0x3e1874,_0x59a149){return _0x3e1874 instanceof _0x59a149;},'dseMT':function(_0x26edaa,_0xf707c8){return _0x26edaa(_0xf707c8);}};try{if(_0x18f6ad['AuLch'](_0x597a59,Error))return _0x597a59['stack']||_0x597a59['toString']();return _0x18f6ad[_0x5491cb(0x1a2)](String,_0x597a59);}catch(_0x3d214b){return _0x597a59?_0x597a59[_0x5491cb(0x17d)]():'';}},exports[a174_0x45b3d8(0x1f1)]=_0x4bdf26=>{const _0x256988=a174_0x45b3d8,_0xdd14d={};_0xdd14d[_0x256988(0x174)]=function(_0x321189,_0x284282){return _0x321189===_0x284282;};const _0x4f8e22=_0xdd14d;return!_0x4bdf26||_0x4f8e22[_0x256988(0x174)](_0x4bdf26[_0x256988(0x1ad)](),'');},exports[a174_0x45b3d8(0x1e1)]=_0x39aa52=>{const _0x491596=a174_0x45b3d8,_0x51424e={};_0x51424e['qpocB']=function(_0x51c44d,_0x205d82){return _0x51c44d|_0x205d82;};const _0x142c33=_0x51424e;try{return fs[_0x491596(0x1d6)](_0x39aa52,_0x142c33[_0x491596(0x168)](fs[_0x491596(0x19e)][_0x491596(0x1d2)],fs['constants'][_0x491596(0x1a1)])),!![];}catch(_0x6522e5){return![];}},exports['setReadWriteExecuteAccess']=_0x2c24ef=>{const _0x3624e2=a174_0x45b3d8;try{fs[_0x3624e2(0x1c6)](_0x2c24ef,0x1ff),logger[_0x3624e2(0x18f)]('Directory\x20'+_0x2c24ef+_0x3624e2(0x1cf));}catch(_0x40fd21){logger['error'](_0x3624e2(0x181)+exports[_0x3624e2(0x194)](_0x40fd21));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a175_0x5d47a9=a175_0x5469;function a175_0x5469(_0x523dd3,_0x36743a){var _0xa29e74=a175_0xa29e();return a175_0x5469=function(_0x5469a5,_0x38ce66){_0x5469a5=_0x5469a5-0x120;var _0x270c58=_0xa29e74[_0x5469a5];return _0x270c58;},a175_0x5469(_0x523dd3,_0x36743a);}(function(_0x3ed821,_0x50e43c){var _0x16ee91=a175_0x5469,_0x57a3b3=_0x3ed821();while(!![]){try{var _0x317b6e=-parseInt(_0x16ee91(0x18c))/0x1+parseInt(_0x16ee91(0x175))/0x2*(-parseInt(_0x16ee91(0x13f))/0x3)+-parseInt(_0x16ee91(0x194))/0x4*(parseInt(_0x16ee91(0x185))/0x5)+parseInt(_0x16ee91(0x16e))/0x6*(-parseInt(_0x16ee91(0x19c))/0x7)+parseInt(_0x16ee91(0x129))/0x8+parseInt(_0x16ee91(0x189))/0x9+parseInt(_0x16ee91(0x163))/0xa;if(_0x317b6e===_0x50e43c)break;else _0x57a3b3['push'](_0x57a3b3['shift']());}catch(_0x3cc200){_0x57a3b3['push'](_0x57a3b3['shift']());}}}(a175_0xa29e,0x3e4b1),exports[a175_0x5d47a9(0x142)]=()=>{var _0x51715b=a175_0x5d47a9,_0x257824={};_0x257824[_0x51715b(0x17f)]=_0x51715b(0x16b),_0x257824[_0x51715b(0x13e)]='accessKey',_0x257824[_0x51715b(0x179)]='osVersion',_0x257824[_0x51715b(0x181)]=_0x51715b(0x192),_0x257824[_0x51715b(0x135)]=_0x51715b(0x183),_0x257824['vmWdW']=_0x51715b(0x14a),_0x257824[_0x51715b(0x155)]='projectName',_0x257824['phnVH']='buildName',_0x257824[_0x51715b(0x160)]=_0x51715b(0x1a4),_0x257824[_0x51715b(0x13c)]='local',_0x257824[_0x51715b(0x177)]=_0x51715b(0x14c),_0x257824[_0x51715b(0x1a2)]=_0x51715b(0x1a9),_0x257824[_0x51715b(0x144)]='consoleLogs',_0x257824[_0x51715b(0x1a7)]=_0x51715b(0x134),_0x257824['tBEXO']=_0x51715b(0x19a),_0x257824['OirLm']=_0x51715b(0x180),_0x257824[_0x51715b(0x140)]='video',_0x257824[_0x51715b(0x150)]='seleniumLogs',_0x257824[_0x51715b(0x146)]=_0x51715b(0x18d),_0x257824['zuedH']='geoLocation',_0x257824[_0x51715b(0x169)]='timezone',_0x257824[_0x51715b(0x18f)]=_0x51715b(0x128),_0x257824[_0x51715b(0x125)]=_0x51715b(0x1a6),_0x257824['QKOGr']=_0x51715b(0x17a),_0x257824[_0x51715b(0x130)]=_0x51715b(0x12f),_0x257824[_0x51715b(0x176)]=_0x51715b(0x15d),_0x257824['mRNze']='autoWait',_0x257824[_0x51715b(0x149)]='hosts',_0x257824[_0x51715b(0x162)]=_0x51715b(0x136),_0x257824['PwCUW']=_0x51715b(0x19f),_0x257824['EjTIs']=_0x51715b(0x172),_0x257824[_0x51715b(0x12a)]=_0x51715b(0x187),_0x257824[_0x51715b(0x145)]='realMobile',_0x257824[_0x51715b(0x152)]=_0x51715b(0x15b),_0x257824[_0x51715b(0x139)]=_0x51715b(0x154),_0x257824[_0x51715b(0x196)]=_0x51715b(0x127),_0x257824[_0x51715b(0x186)]=_0x51715b(0x174),_0x257824[_0x51715b(0x19b)]=_0x51715b(0x18b),_0x257824[_0x51715b(0x16d)]=_0x51715b(0x14b),_0x257824[_0x51715b(0x143)]=_0x51715b(0x13a),_0x257824[_0x51715b(0x19e)]=_0x51715b(0x1a0),_0x257824[_0x51715b(0x17e)]=_0x51715b(0x131),_0x257824[_0x51715b(0x120)]='accessibilityOptions.wcagVersion',_0x257824[_0x51715b(0x16c)]=_0x51715b(0x124),_0x257824['mKWiC']=_0x51715b(0x168),_0x257824[_0x51715b(0x165)]=_0x51715b(0x16a),_0x257824[_0x51715b(0x147)]=_0x51715b(0x126),_0x257824[_0x51715b(0x170)]=_0x51715b(0x188),_0x257824['SmYbw']='uploadMedia',_0x257824[_0x51715b(0x158)]=_0x51715b(0x141),_0x257824[_0x51715b(0x182)]=_0x51715b(0x1ab),_0x257824[_0x51715b(0x167)]=_0x51715b(0x171),_0x257824['QJuww']=_0x51715b(0x14e),_0x257824[_0x51715b(0x137)]=_0x51715b(0x17d),_0x257824[_0x51715b(0x1aa)]=_0x51715b(0x178),_0x257824[_0x51715b(0x14f)]=_0x51715b(0x14d);var _0x4daf46=_0x257824,_0x3cc98a={};return _0x3cc98a[_0x51715b(0x161)]=_0x4daf46['mqwWa'],_0x3cc98a[_0x51715b(0x16f)]=_0x4daf46[_0x51715b(0x13e)],_0x3cc98a['os']='os',_0x3cc98a[_0x51715b(0x195)]=_0x4daf46[_0x51715b(0x179)],_0x3cc98a[_0x51715b(0x192)]=_0x4daf46[_0x51715b(0x181)],_0x3cc98a['browser_version']=_0x4daf46[_0x51715b(0x135)],_0x3cc98a[_0x51715b(0x1a8)]=_0x4daf46['vmWdW'],_0x3cc98a['project']=_0x4daf46['EIEWe'],_0x3cc98a[_0x51715b(0x184)]=_0x4daf46[_0x51715b(0x122)],_0x3cc98a[_0x51715b(0x133)]=_0x4daf46[_0x51715b(0x160)],_0x3cc98a[_0x51715b(0x190)]=_0x4daf46[_0x51715b(0x13c)],_0x3cc98a[_0x51715b(0x13d)]=_0x4daf46[_0x51715b(0x177)],_0x3cc98a[_0x51715b(0x153)]=_0x4daf46[_0x51715b(0x1a2)],_0x3cc98a[_0x51715b(0x198)]=_0x4daf46[_0x51715b(0x144)],_0x3cc98a[_0x51715b(0x1a5)]=_0x4daf46['pmJZE'],_0x3cc98a[_0x51715b(0x159)]=_0x4daf46[_0x51715b(0x18e)],_0x3cc98a[_0x51715b(0x164)]=_0x4daf46[_0x51715b(0x12c)],_0x3cc98a['browserstack.video']=_0x4daf46[_0x51715b(0x140)],_0x3cc98a[_0x51715b(0x19d)]=_0x4daf46[_0x51715b(0x150)],_0x3cc98a[_0x51715b(0x148)]=_0x4daf46[_0x51715b(0x146)],_0x3cc98a[_0x51715b(0x15f)]=_0x4daf46[_0x51715b(0x12d)],_0x3cc98a[_0x51715b(0x197)]=_0x4daf46['NPNRJ'],_0x3cc98a[_0x51715b(0x128)]=_0x4daf46[_0x51715b(0x18f)],_0x3cc98a['browserstack.selenium_version']=_0x4daf46[_0x51715b(0x125)],_0x3cc98a[_0x51715b(0x156)]=_0x4daf46['QKOGr'],_0x3cc98a['browserstack.idleTimeout']=_0x4daf46[_0x51715b(0x130)],_0x3cc98a[_0x51715b(0x121)]=_0x4daf46[_0x51715b(0x176)],_0x3cc98a['browserstack.autoWait']=_0x4daf46['mRNze'],_0x3cc98a['browserstack.hosts']=_0x4daf46['IcQUb'],_0x3cc98a['browserstack.bfcache']=_0x4daf46[_0x51715b(0x162)],_0x3cc98a['browserstack.wsLocalSupport']=_0x4daf46[_0x51715b(0x123)],_0x3cc98a['browserstack.disableCorsRestrictions']=_0x4daf46[_0x51715b(0x151)],_0x3cc98a[_0x51715b(0x193)]=_0x4daf46[_0x51715b(0x12a)],_0x3cc98a[_0x51715b(0x166)]=_0x4daf46[_0x51715b(0x145)],_0x3cc98a[_0x51715b(0x18a)]=_0x4daf46[_0x51715b(0x152)],_0x3cc98a['deviceOrientation']=_0x4daf46[_0x51715b(0x139)],_0x3cc98a[_0x51715b(0x13b)]=_0x4daf46[_0x51715b(0x196)],_0x3cc98a[_0x51715b(0x17c)]=_0x4daf46[_0x51715b(0x186)],_0x3cc98a[_0x51715b(0x138)]=_0x4daf46[_0x51715b(0x19b)],_0x3cc98a[_0x51715b(0x12e)]=_0x4daf46[_0x51715b(0x16d)],_0x3cc98a[_0x51715b(0x1a1)]=_0x4daf46['bGltf'],_0x3cc98a['browserstack.buildProductMap']=_0x4daf46['jxIJV'],_0x3cc98a[_0x51715b(0x132)]=_0x4daf46[_0x51715b(0x17e)],_0x3cc98a['browserstack.accessibilityOptions.wcagVersion']=_0x4daf46[_0x51715b(0x120)],_0x3cc98a['browserstack.accessibilityOptions.scannerVersion']=_0x4daf46['CHwdw'],_0x3cc98a[_0x51715b(0x17b)]=_0x4daf46['mKWiC'],_0x3cc98a[_0x51715b(0x173)]=_0x4daf46[_0x51715b(0x165)],_0x3cc98a[_0x51715b(0x1a3)]=_0x4daf46['OPvhe'],_0x3cc98a[_0x51715b(0x191)]=_0x4daf46[_0x51715b(0x170)],_0x3cc98a['browserstack.uploadMedia']=_0x4daf46[_0x51715b(0x15a)],_0x3cc98a['browserstack.enableSim']=_0x4daf46[_0x51715b(0x158)],_0x3cc98a[_0x51715b(0x157)]=_0x4daf46['LbvyX'],_0x3cc98a['browserstack.playwrightVersion']=_0x4daf46[_0x51715b(0x167)],_0x3cc98a[_0x51715b(0x12b)]=_0x4daf46[_0x51715b(0x199)],_0x3cc98a['browserstack.overridelocalInfo.localIdentifier']=_0x4daf46[_0x51715b(0x137)],_0x3cc98a[_0x51715b(0x15e)]=_0x4daf46[_0x51715b(0x1aa)],_0x3cc98a[_0x51715b(0x15c)]=_0x4daf46['eNaei'],_0x3cc98a;});function a175_0xa29e(){var _0x1520b2=['debug','AgFxA','simOptions','TOYiy','browserstack.maskBasicAuth','phnVH','PwCUW','accessibilityOptions.scannerVersion','ysZrW','accessibilityOptions.includeIssueType.needsReview','customNetwork','resolution','3094064qwMPnK','vxYgZ','browserstack.overridelocalInfo.userAuthToken','OirLm','zuedH','browserstack.browserstackSDK','idleTimeout','nqBZM','testhubBuildUuid','browserstack.testhubBuildUuid','name','networkLogs','XUlpy','bfcache','VsrnC','browserstack.buildIdentifier','KQDZM','accessibility','browserstack.customNetwork','xwsSh','browserstack.localIdentifier','KzRFd','3279VfIcbj','lKFas','enableSim','W3CMapping','bGltf','IHVTT','lFxGv','EnXii','OPvhe','browserstack.telemetryLogs','IcQUb','useW3c','browserstackSDK','localIdentifier','performance','overridelocalInfo.userAuthToken','eNaei','DvmMw','EjTIs','iqyHP','browserstack.debug','deviceOrientation','EIEWe','browserstack.maskCommands','browserstack.simOptions','bOTsy','browserstack.networkLogsOptions','SmYbw','appiumVersion','browserstack.performance','maskBasicAuth','browserstack.headerParams','browserstack.geoLocation','mpgZa','browserstack.user','bpDdR','1633400dgfknb','browserstack.appiumLogs','rjhUY','realMobile','vHgFK','accessibilityOptions.scannerProcessingTimeout','NPNRJ','accessibilityOptions.includeIssueType.bestPractice','userName','CHwdw','zwnyO','629352ufQOsx','browserstack.key','gqQGB','playwrightVersion','disableCorsRestrictions','browserstack.accessibilityOptions.includeIssueType.bestPractice','networkProfile','674FpGgHb','pqbUn','kCCZL','headerParams','BkJRB','maskCommands','browserstack.accessibilityOptions.scannerProcessingTimeout','browserstack.networkProfile','overridelocalInfo.localIdentifier','vyxgP','mqwWa','appiumLogs','ajTlJ','LbvyX','browserVersion','build','290puovXs','xdgVs','deviceName','accessibilityOptions.authToken','2690244zYmdrX','browserstack.appium_version','buildIdentifier','14750CZSlkC','telemetryLogs','tBEXO','reLao','browserstack.local','browserstack.accessibilityOptions.authToken','browser','device','68uXJsup','os_version','Fhavf','browserstack.timezone','browserstack.console','QJuww','networkLogsOptions','zwcAq','14wUerHA','browserstack.seleniumLogs','jxIJV','wsLocalSupport','buildProductMap','browserstack.accessibility','ArhwJ','browserstack.accessibilityOptions.includeIssueType.needsReview','sessionName','browserstack.networkLogs','seleniumVersion','pmJZE','browserstack.use_w3c'];a175_0xa29e=function(){return _0x1520b2;};return a175_0xa29e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a176_0x5e49(_0x3f2f6a,_0x4628ea){const _0x4bfb1d=a176_0x4bfb();return a176_0x5e49=function(_0x5e4939,_0x1447ce){_0x5e4939=_0x5e4939-0x1b8;let _0x440fb5=_0x4bfb1d[_0x5e4939];return _0x440fb5;},a176_0x5e49(_0x3f2f6a,_0x4628ea);}const a176_0x43cf0c=a176_0x5e49;(function(_0x87a181,_0x5f4103){const _0x8751c2=a176_0x5e49,_0x275304=_0x87a181();while(!![]){try{const _0x5e90de=parseInt(_0x8751c2(0x1fe))/0x1*(-parseInt(_0x8751c2(0x1f2))/0x2)+-parseInt(_0x8751c2(0x1f1))/0x3*(parseInt(_0x8751c2(0x218))/0x4)+parseInt(_0x8751c2(0x1fb))/0x5*(-parseInt(_0x8751c2(0x1fd))/0x6)+parseInt(_0x8751c2(0x224))/0x7+parseInt(_0x8751c2(0x1ed))/0x8*(parseInt(_0x8751c2(0x209))/0x9)+-parseInt(_0x8751c2(0x1c0))/0xa*(-parseInt(_0x8751c2(0x215))/0xb)+parseInt(_0x8751c2(0x1cb))/0xc;if(_0x5e90de===_0x5f4103)break;else _0x275304['push'](_0x275304['shift']());}catch(_0x1b4d20){_0x275304['push'](_0x275304['shift']());}}}(a176_0x4bfb,0xaf7bf));const url=require(a176_0x43cf0c(0x1e9)),util=require(a176_0x43cf0c(0x1c7)),helper=require(a176_0x43cf0c(0x1dc)),logger=require(a176_0x43cf0c(0x1c1))[a176_0x43cf0c(0x1c6)],constants=require(a176_0x43cf0c(0x1ce)),globals=require(a176_0x43cf0c(0x200));function a176_0x4bfb(){const _0x3c812d=['now','./helpers/globals','AjnUQ','nihVS','replace','path','MHYGK','has','findLatency','CPdYK','63ADCEwt','fulfilled','latency','srGsv','jVNgB','setGlobal','check','YtbGV','LZeMy','newHubUrlBySession','hubUrl','wrPlA','682NmfbpO','ruXsd','XbOED','1762916YSqzKn','debug','rpDya','fhOSz','MLCct','cGhWg','length','/wd/hub','cyWKK','Xbxop','hubRegion\x20','skipped','211407efizpl','\x20is:\x20','VEIjz','Execution\x20time\x20for\x20','GET','all','zWrKt','catch','yDAGL','SJbjV','107740XYoWzW','./helpers/logger','IdNiI','hostname','NEAREST\x20HUBS\x20LIST:\x20','DWAgQ','winstonLogger','util','HUB\x20URL\x20SET\x20TO\x20-\x20','RstoH','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','17009412IElQFW','EErLB','fbOmH','./bin/utils/constants','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','search','Invalid\x20new\x20HUB\x20URL:\x20','format','data','allSettled','consumeHubUrlForSession','resolve','https://','then','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','pathname','./helpers/helper','allocateHub','eyOtv','get','hubRegion','getGlobal','dkTGF','set','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','hash','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','nextHubs','rjJQR','url','value','vEXmn','map','917224mYLDTd','RuAxQ','updateHubUrl','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','6KnTTYZ','102682xfUMEP','UretP','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','hubLatencies','GBBbO','ERROR\x20in\x20hub\x20selection:\x20','SaDaT','jEzFi','nodeRequest','84395zUgpBB','getRequestOptions','432quPTXo','2mCVGdh'];a176_0x4bfb=function(){return _0x3c812d;};return a176_0x4bfb();}global[a176_0x43cf0c(0x212)]=global[a176_0x43cf0c(0x212)]||new Map(),exports[a176_0x43cf0c(0x1fc)]=_0x1a869f=>{const _0x1ace3e=a176_0x43cf0c,_0x7df7ad={};_0x7df7ad[_0x1ace3e(0x21d)]=function(_0x1ac374,_0x33014a){return _0x1ac374+_0x33014a;},_0x7df7ad[_0x1ace3e(0x1de)]=_0x1ace3e(0x1d1);const _0x4393d1=_0x7df7ad,_0xbccf6c=url['parse'](_0x1a869f);if(!_0xbccf6c[_0x1ace3e(0x1c3)])throw new Error(_0x4393d1['cGhWg'](_0x4393d1[_0x1ace3e(0x1de)],_0x1a869f));return _0xbccf6c[_0x1ace3e(0x1d0)]=null,_0xbccf6c[_0x1ace3e(0x1e5)]=null,_0xbccf6c[_0x1ace3e(0x204)]=_0xbccf6c[_0x1ace3e(0x1db)],_0xbccf6c;},exports[a176_0x43cf0c(0x1ef)]=(_0x241d5d,_0x406149)=>{const _0x5ce258=a176_0x43cf0c,_0x31778b={};_0x31778b[_0x5ce258(0x1f8)]=_0x5ce258(0x1ca);const _0x402c3c=_0x31778b;if(!_0x406149){logger[_0x5ce258(0x219)](_0x402c3c[_0x5ce258(0x1f8)]);return;}global[_0x5ce258(0x212)][_0x5ce258(0x1e3)](_0x406149,_0x241d5d);},exports[a176_0x43cf0c(0x1d5)]=_0x51399b=>{const _0x23636=a176_0x43cf0c;if(_0x51399b&&global[_0x23636(0x212)][_0x23636(0x206)](_0x51399b)){const _0x15c661=global['newHubUrlBySession'][_0x23636(0x1df)](_0x51399b);return global['newHubUrlBySession']['delete'](_0x51399b),_0x15c661;}return'';},exports[a176_0x43cf0c(0x1dd)]=_0x189259=>{const _0x23fc65=a176_0x43cf0c,_0x45852f={'MHYGK':function(_0x1e3555,_0x582571){return _0x1e3555!==_0x582571;},'zWrKt':function(_0x591347,_0x59530a){return _0x591347+_0x59530a;},'nihVS':_0x23fc65(0x1d7),'jVNgB':function(_0x5752ef,_0x441729){return _0x5752ef==_0x441729;},'VEIjz':function(_0x3e7c55,_0x4677ce){return _0x3e7c55===_0x4677ce;},'srGsv':function(_0x1b26a4){return _0x1b26a4();},'MLCct':'_hubAllocationData','ZifSY':function(_0x587aa1,_0x2ce6c9){return _0x587aa1===_0x2ce6c9;},'cyWxH':_0x23fc65(0x20a),'fbOmH':_0x23fc65(0x1f4),'XbOED':'/wd/hub','ruXsd':function(_0x166b13){return _0x166b13();}};return new Promise(_0x3a13ef=>{const _0x32d8b9=_0x23fc65,_0x3deb62={'yDAGL':_0x45852f[_0x32d8b9(0x21c)],'rjJQR':function(_0x23d606,_0x519973){return _0x45852f['ZifSY'](_0x23d606,_0x519973);},'fhOSz':_0x45852f['cyWxH'],'RstoH':_0x45852f[_0x32d8b9(0x1cd)],'DWAgQ':function(_0x130a0a,_0x498e4e){const _0x43992c=_0x32d8b9;return _0x45852f[_0x43992c(0x1bc)](_0x130a0a,_0x498e4e);},'SJbjV':_0x45852f[_0x32d8b9(0x202)],'dkTGF':function(_0x2b4258,_0x1666d5){const _0x1ec631=_0x32d8b9;return _0x45852f[_0x1ec631(0x1bc)](_0x2b4258,_0x1666d5);},'CPdYK':_0x45852f[_0x32d8b9(0x217)],'AjnUQ':function(_0x312afb){const _0x57b5a5=_0x32d8b9;return _0x45852f[_0x57b5a5(0x20c)](_0x312afb);},'cyWKK':function(_0x88f8b4){return _0x45852f['ruXsd'](_0x88f8b4);}};if(_0x189259&&_0x189259[_0x32d8b9(0x1e0)]){const _0x253ab5=constants['HUB_URL_MAP'][_0x189259[_0x32d8b9(0x1e0)]];if(_0x253ab5)return constants[_0x32d8b9(0x213)]=_0x253ab5,logger[_0x32d8b9(0x219)](_0x32d8b9(0x1e6)+_0x253ab5),globals['setGlobal'](_0x45852f[_0x32d8b9(0x21c)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x253ab5['replace'](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x32d8b9(0x1ff)]()}),_0x45852f[_0x32d8b9(0x216)](_0x3a13ef);logger[_0x32d8b9(0x219)](_0x32d8b9(0x222)+_0x189259[_0x32d8b9(0x1e0)]+_0x32d8b9(0x1d9));}Promise[_0x32d8b9(0x1d6)](this[_0x32d8b9(0x1e7)](_0x189259))['then'](_0x412a95=>{const _0x2d51ce=_0x32d8b9,_0x4fb6d0={'wrPlA':function(_0x54501b,_0x37cd1d){const _0x3749d7=a176_0x5e49;return _0x45852f[_0x3749d7(0x205)](_0x54501b,_0x37cd1d);},'rpDya':function(_0x4fe132,_0x219fd9){const _0x1ec1d7=a176_0x5e49;return _0x45852f[_0x1ec1d7(0x1bc)](_0x4fe132,_0x219fd9);},'jEzFi':_0x45852f[_0x2d51ce(0x202)]};logger['debug'](_0x2d51ce(0x1c4)+util[_0x2d51ce(0x1d2)]('%j',_0x412a95));if(_0x45852f[_0x2d51ce(0x20d)](_0x412a95,null)||_0x45852f[_0x2d51ce(0x1b8)](_0x412a95[_0x2d51ce(0x21e)],0x0))return _0x45852f[_0x2d51ce(0x20c)](_0x3a13ef);const _0x1923ed=_0x412a95['map'](_0x4c1b32=>{const _0x276f94=_0x2d51ce,_0x545ff5={'HhckL':function(_0x393837,_0x4c3feb){const _0x1fb1ea=a176_0x5e49;return _0x4fb6d0[_0x1fb1ea(0x214)](_0x393837,_0x4c3feb);}},_0x5c3261=_0x4fb6d0[_0x276f94(0x21a)](_0x4fb6d0[_0x276f94(0x1f9)],_0x4c1b32);return this[_0x276f94(0x207)](_0x189259,_0x5c3261)[_0x276f94(0x1d8)](_0x268f5e=>{const _0x182016=_0x276f94;if(_0x268f5e&&_0x268f5e[_0x182016(0x213)]&&_0x545ff5['HhckL'](_0x268f5e['latency'],undefined)){const _0x37cc1d={};return _0x37cc1d[_0x182016(0x213)]=_0x268f5e[_0x182016(0x213)],_0x37cc1d[_0x182016(0x20b)]=_0x268f5e[_0x182016(0x20b)],_0x37cc1d['ok']=!![],_0x37cc1d;}const _0x1af929={};return _0x1af929['hubUrl']=_0x5c3261,_0x1af929['latency']=null,_0x1af929['ok']=![],_0x1af929;})[_0x276f94(0x1bd)](()=>({'hubUrl':_0x5c3261,'latency':null,'ok':![]}));});Promise['race'](_0x1923ed[_0x2d51ce(0x1ec)](_0x1234be=>_0x1234be[_0x2d51ce(0x1d8)](_0x3b58f9=>_0x3b58f9['ok']?_0x3b58f9:null)))['then'](_0x49c70c=>{const _0x3d4855=_0x2d51ce;if(_0x49c70c)return _0x49c70c;return Promise[_0x3d4855(0x1bb)](_0x1923ed)[_0x3d4855(0x1d8)](()=>null);})[_0x2d51ce(0x1d8)](_0x5e09c5=>{const _0x455913=_0x2d51ce,_0x3dcf74={'UretP':_0x3deb62['yDAGL'],'YtbGV':function(_0x3603da,_0x5e813e){const _0x9ae281=a176_0x5e49;return _0x3deb62[_0x9ae281(0x1e8)](_0x3603da,_0x5e813e);},'IdNiI':_0x3deb62[_0x455913(0x21b)]};if(!_0x5e09c5){logger['debug'](_0x3deb62[_0x455913(0x1c9)]);const _0x43d484=_0x3deb62[_0x455913(0x1c5)](_0x3deb62[_0x455913(0x1bf)],_0x412a95[0x0]);return globals[_0x455913(0x20e)](_0x3deb62[_0x455913(0x1be)],{'nearestHubs':_0x412a95[_0x455913(0x1ec)](_0x46b08a=>_0x455913(0x1d7)+_0x46b08a),'hubLatencies':{},'selectedHub':_0x43d484,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x455913(0x1ff)]()}),constants[_0x455913(0x213)]=_0x3deb62[_0x455913(0x1e2)](_0x43d484,_0x3deb62[_0x455913(0x208)]),logger[_0x455913(0x219)](_0x455913(0x1f0)+_0x43d484),_0x3deb62[_0x455913(0x201)](_0x3a13ef);}const _0x5e7207={[_0x5e09c5[_0x455913(0x213)]]:_0x5e09c5['latency']},_0x112083={'nearestHubs':_0x412a95[_0x455913(0x1ec)](_0x14d006=>'https://'+_0x14d006),'hubLatencies':_0x5e7207,'selectedHub':_0x5e09c5[_0x455913(0x213)],'selectedHubLatency':_0x5e09c5[_0x455913(0x20b)],'timestamp':Date[_0x455913(0x1ff)]()};globals[_0x455913(0x20e)](_0x3deb62[_0x455913(0x1be)],_0x112083),constants[_0x455913(0x213)]=_0x3deb62[_0x455913(0x1c5)](_0x5e09c5[_0x455913(0x213)],_0x3deb62[_0x455913(0x208)]),logger[_0x455913(0x219)](_0x455913(0x1c8)+_0x5e09c5['hubUrl']),_0x3deb62[_0x455913(0x201)](_0x3a13ef),Promise[_0x455913(0x1d4)](_0x1923ed)['then'](_0x1eaae8=>{const _0x6b558a=_0x455913;try{const _0x59fd60=globals[_0x6b558a(0x1e1)](_0x3dcf74[_0x6b558a(0x1f3)]);if(!_0x59fd60||_0x59fd60[_0x6b558a(0x223)])return;const _0x201c8f={};for(const _0x5ea594 of _0x1eaae8){_0x3dcf74[_0x6b558a(0x210)](_0x5ea594['status'],_0x3dcf74[_0x6b558a(0x1c2)])&&_0x5ea594['value']&&_0x5ea594[_0x6b558a(0x1ea)]['ok']&&(_0x201c8f[_0x5ea594[_0x6b558a(0x1ea)][_0x6b558a(0x213)]]=_0x5ea594[_0x6b558a(0x1ea)][_0x6b558a(0x20b)]);}_0x59fd60[_0x6b558a(0x1f5)]=_0x201c8f;}catch(_0x49ec74){logger[_0x6b558a(0x219)]('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0x49ec74);}})[_0x455913(0x1bd)](_0x1a7967=>{const _0x1241a6=_0x455913;logger[_0x1241a6(0x219)]('ERROR\x20in\x20background\x20hub\x20enrichment:\x20'+_0x1a7967);});})['catch'](_0x13b52e=>{const _0x1f9708=_0x2d51ce;logger['debug'](_0x1f9708(0x1f7)+_0x13b52e),_0x3deb62[_0x1f9708(0x220)](_0x3a13ef);});})['catch'](_0x166af3=>{const _0x1dc0d2=_0x32d8b9;logger['debug'](_0x1dc0d2(0x1cf)+_0x166af3),_0x45852f[_0x1dc0d2(0x20c)](_0x3a13ef);});});},exports[a176_0x43cf0c(0x207)]=async(_0x29182b,_0xfde32f)=>{const _0x2e0db6=a176_0x43cf0c,_0x8100ab={};_0x8100ab['nkBHQ']='GET',_0x8100ab[_0x2e0db6(0x221)]=_0x2e0db6(0x20f),_0x8100ab[_0x2e0db6(0x1ee)]=function(_0x279a8d,_0x71af5d){return _0x279a8d-_0x71af5d;};const _0x3f7c8d=_0x8100ab;try{const _0xccbe95=new Date();await helper[_0x2e0db6(0x1fa)](_0x3f7c8d['nkBHQ'],_0x3f7c8d[_0x2e0db6(0x221)],{},_0x29182b,_0xfde32f,0x1388);const _0x50ac0f=_0x3f7c8d[_0x2e0db6(0x1ee)](new Date(),_0xccbe95);logger[_0x2e0db6(0x219)](_0x2e0db6(0x1b9)+_0xfde32f+_0x2e0db6(0x225)+_0x50ac0f+'ms');const _0x454071={};return _0x454071[_0x2e0db6(0x213)]=_0xfde32f,_0x454071[_0x2e0db6(0x20b)]=_0x50ac0f,_0x454071;}catch(_0x405045){return logger[_0x2e0db6(0x219)](_0x2e0db6(0x1e4)+_0xfde32f+'\x20HUB\x20-\x20'+_0x405045),{};}},exports[a176_0x43cf0c(0x1e7)]=async _0x53f3d2=>{const _0xa4cfdd=a176_0x43cf0c,_0x1f1bc8={'dBHGm':function(_0x495dbc,_0x50d192){return _0x495dbc(_0x50d192);},'GBBbO':_0xa4cfdd(0x1ce),'EErLB':_0xa4cfdd(0x21f),'vEXmn':_0xa4cfdd(0x1ba),'LZeMy':'next_hubs'};try{const _0x2d43d2=_0x1f1bc8['dBHGm'](require,_0x1f1bc8[_0xa4cfdd(0x1f6)])[_0xa4cfdd(0x213)][_0xa4cfdd(0x203)](_0x1f1bc8[_0xa4cfdd(0x1cc)],''),_0x427bfd=await helper[_0xa4cfdd(0x1fa)](_0x1f1bc8[_0xa4cfdd(0x1eb)],_0x1f1bc8[_0xa4cfdd(0x211)],{},_0x53f3d2,_0x2d43d2,0x1388),_0x5dd444=_0x427bfd[_0xa4cfdd(0x1d3)];return logger[_0xa4cfdd(0x219)]('Response:\x20'+util[_0xa4cfdd(0x1d2)]('%j',_0x5dd444)),_0x5dd444['hubs'];}catch(_0x2973ca){logger[_0xa4cfdd(0x219)](_0xa4cfdd(0x1da)+_0x2973ca);}return null;};
|
|
1
|
+
const a176_0x46f3b0=a176_0x4a57;(function(_0xbd9134,_0x57406e){const _0xdbd4b2=a176_0x4a57,_0x564126=_0xbd9134();while(!![]){try{const _0x50306d=parseInt(_0xdbd4b2(0x15f))/0x1+parseInt(_0xdbd4b2(0x17a))/0x2+-parseInt(_0xdbd4b2(0x14b))/0x3+parseInt(_0xdbd4b2(0x17b))/0x4*(-parseInt(_0xdbd4b2(0x174))/0x5)+-parseInt(_0xdbd4b2(0x147))/0x6+-parseInt(_0xdbd4b2(0x195))/0x7*(parseInt(_0xdbd4b2(0x1a3))/0x8)+parseInt(_0xdbd4b2(0x160))/0x9*(parseInt(_0xdbd4b2(0x184))/0xa);if(_0x50306d===_0x57406e)break;else _0x564126['push'](_0x564126['shift']());}catch(_0x59352b){_0x564126['push'](_0x564126['shift']());}}}(a176_0x440c,0x587fb));const url=require(a176_0x46f3b0(0x16a)),util=require(a176_0x46f3b0(0x14f)),helper=require(a176_0x46f3b0(0x16f)),logger=require('./helpers/logger')['winstonLogger'],constants=require(a176_0x46f3b0(0x140)),globals=require(a176_0x46f3b0(0x173));global['newHubUrlBySession']=global['newHubUrlBySession']||new Map(),exports['getRequestOptions']=_0x289a30=>{const _0x1de199=a176_0x46f3b0,_0x2fb5d3={};_0x2fb5d3[_0x1de199(0x161)]=function(_0x34e760,_0x385cf0){return _0x34e760+_0x385cf0;},_0x2fb5d3[_0x1de199(0x158)]='Invalid\x20new\x20HUB\x20URL:\x20';const _0x2ae0f5=_0x2fb5d3,_0x2022f2=url[_0x1de199(0x16b)](_0x289a30);if(!_0x2022f2[_0x1de199(0x15a)])throw new Error(_0x2ae0f5[_0x1de199(0x161)](_0x2ae0f5[_0x1de199(0x158)],_0x289a30));return _0x2022f2[_0x1de199(0x175)]=null,_0x2022f2[_0x1de199(0x13f)]=null,_0x2022f2[_0x1de199(0x170)]=_0x2022f2[_0x1de199(0x176)],_0x2022f2;},exports[a176_0x46f3b0(0x150)]=(_0x4e1a3d,_0x2c299d)=>{const _0x47b169=a176_0x46f3b0,_0x51dcd1={};_0x51dcd1[_0x47b169(0x189)]=_0x47b169(0x13b);const _0x3b3648=_0x51dcd1;if(!_0x2c299d){logger[_0x47b169(0x13c)](_0x3b3648['VMeCT']);return;}global[_0x47b169(0x177)][_0x47b169(0x197)](_0x2c299d,_0x4e1a3d);},exports[a176_0x46f3b0(0x15d)]=_0x52c91e=>{const _0x41a8fd=a176_0x46f3b0;if(_0x52c91e&&global[_0x41a8fd(0x177)][_0x41a8fd(0x1a1)](_0x52c91e)){const _0x2b5c0d=global[_0x41a8fd(0x177)][_0x41a8fd(0x19c)](_0x52c91e);return global[_0x41a8fd(0x177)][_0x41a8fd(0x18c)](_0x52c91e),_0x2b5c0d;}return'';},exports['allocateHub']=_0x63c18d=>{const _0x2f53e9=a176_0x46f3b0,_0x3a5a3e={'dXuqD':function(_0xabd1c7,_0x115eb0){return _0xabd1c7!==_0x115eb0;},'XtmDM':function(_0x2a2c3b,_0x5c7e8e){return _0x2a2c3b+_0x5c7e8e;},'wdHJe':'https://','KsCpO':_0x2f53e9(0x187),'NcEaT':function(_0x17b6b3,_0x35f31f){return _0x17b6b3===_0x35f31f;},'Xogei':_0x2f53e9(0x155),'iximA':_0x2f53e9(0x18f),'WZWNv':function(_0x3825a3,_0x2d630e){return _0x3825a3+_0x2d630e;},'muxHv':_0x2f53e9(0x162),'ZLYui':function(_0x18413d){return _0x18413d();},'LdhtE':function(_0x16cdc9,_0x1fa731){return _0x16cdc9+_0x1fa731;},'WcTzi':function(_0x4c8c15){return _0x4c8c15();},'NXFLp':function(_0x34c54f,_0x30cd41){return _0x34c54f==_0x30cd41;},'puHsx':function(_0x2df37a,_0x145d8e){return _0x2df37a===_0x145d8e;}};return new Promise(_0x3b3adb=>{const _0x5ac75e=_0x2f53e9,_0x235120={'YTzMB':function(_0x3a1047,_0x451888){const _0x2eae68=a176_0x4a57;return _0x3a5a3e[_0x2eae68(0x191)](_0x3a1047,_0x451888);},'OylVV':function(_0x4946db,_0x5b1da8){const _0x36cd57=a176_0x4a57;return _0x3a5a3e[_0x36cd57(0x190)](_0x4946db,_0x5b1da8);},'bmvEn':_0x3a5a3e[_0x5ac75e(0x167)],'YicEa':_0x3a5a3e[_0x5ac75e(0x169)],'wKTCt':function(_0x5accc2,_0x593fdc){return _0x3a5a3e['NcEaT'](_0x5accc2,_0x593fdc);},'rurMI':_0x3a5a3e[_0x5ac75e(0x163)],'oQpqh':_0x3a5a3e['iximA'],'jCCys':function(_0x4d54c4,_0x2a44e4){const _0x59f638=_0x5ac75e;return _0x3a5a3e[_0x59f638(0x199)](_0x4d54c4,_0x2a44e4);},'oBdlw':function(_0x3afec7,_0x2a5ba6){return _0x3a5a3e['XtmDM'](_0x3afec7,_0x2a5ba6);},'bFrFB':_0x3a5a3e[_0x5ac75e(0x14a)],'naVLX':function(_0x14b763){const _0x38bace=_0x5ac75e;return _0x3a5a3e[_0x38bace(0x172)](_0x14b763);},'fUKvd':function(_0x437549,_0x632536){const _0x4ec7cd=_0x5ac75e;return _0x3a5a3e[_0x4ec7cd(0x153)](_0x437549,_0x632536);},'OJkJq':function(_0xff71b3){const _0x2f3794=_0x5ac75e;return _0x3a5a3e[_0x2f3794(0x182)](_0xff71b3);},'oxhsX':function(_0x56b6be,_0x5e810f){const _0x253085=_0x5ac75e;return _0x3a5a3e[_0x253085(0x15e)](_0x56b6be,_0x5e810f);},'AEDAq':function(_0x2604a3,_0x59abae){const _0x9e8650=_0x5ac75e;return _0x3a5a3e[_0x9e8650(0x15c)](_0x2604a3,_0x59abae);}};if(_0x63c18d&&_0x63c18d['hubRegion']){const _0x45d146=constants['HUB_URL_MAP'][_0x63c18d['hubRegion']];if(_0x45d146)return constants[_0x5ac75e(0x168)]=_0x45d146,logger[_0x5ac75e(0x13c)](_0x5ac75e(0x19e)+_0x45d146),globals[_0x5ac75e(0x166)](_0x3a5a3e[_0x5ac75e(0x169)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x45d146['replace'](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date['now']()}),_0x3a5a3e[_0x5ac75e(0x172)](_0x3b3adb);logger['debug']('hubRegion\x20'+_0x63c18d[_0x5ac75e(0x143)]+_0x5ac75e(0x17e));}Promise[_0x5ac75e(0x19b)](this[_0x5ac75e(0x1a6)](_0x63c18d))['then'](_0x9c6006=>{const _0x2a8180=_0x5ac75e,_0x17acaa={'gsKcj':function(_0x3011d5){return _0x235120['naVLX'](_0x3011d5);}};logger[_0x2a8180(0x13c)](_0x2a8180(0x14d)+util[_0x2a8180(0x178)]('%j',_0x9c6006));if(_0x235120[_0x2a8180(0x194)](_0x9c6006,null)||_0x235120['AEDAq'](_0x9c6006[_0x2a8180(0x1a5)],0x0))return _0x235120[_0x2a8180(0x14c)](_0x3b3adb);const _0x2f64cc=_0x9c6006[_0x2a8180(0x186)](_0xf1c5ff=>{const _0x51c030=_0x2a8180,_0x5dea15={'TizZj':function(_0x4b876c,_0x3515cf){const _0xed258b=a176_0x4a57;return _0x235120[_0xed258b(0x16e)](_0x4b876c,_0x3515cf);}},_0xdfeed3=_0x235120[_0x51c030(0x196)](_0x235120[_0x51c030(0x188)],_0xf1c5ff);return this[_0x51c030(0x16c)](_0x63c18d,_0xdfeed3)[_0x51c030(0x1a0)](_0xa12782=>{const _0x1666bf=_0x51c030;if(_0xa12782&&_0xa12782[_0x1666bf(0x168)]&&_0x5dea15[_0x1666bf(0x193)](_0xa12782['latency'],undefined)){const _0x2fd1a5={};return _0x2fd1a5[_0x1666bf(0x168)]=_0xa12782[_0x1666bf(0x168)],_0x2fd1a5[_0x1666bf(0x19a)]=_0xa12782['latency'],_0x2fd1a5['ok']=!![],_0x2fd1a5;}const _0x3761da={};return _0x3761da[_0x1666bf(0x168)]=_0xdfeed3,_0x3761da[_0x1666bf(0x19a)]=null,_0x3761da['ok']=![],_0x3761da;})[_0x51c030(0x17f)](()=>({'hubUrl':_0xdfeed3,'latency':null,'ok':![]}));});Promise[_0x2a8180(0x13e)](_0x2f64cc[_0x2a8180(0x186)](_0x402f84=>_0x402f84[_0x2a8180(0x1a0)](_0x21f6ca=>_0x21f6ca['ok']?_0x21f6ca:null)))[_0x2a8180(0x1a0)](_0x357879=>{const _0x815817=_0x2a8180;if(_0x357879)return _0x357879;return Promise[_0x815817(0x181)](_0x2f64cc)[_0x815817(0x1a0)](()=>null);})[_0x2a8180(0x1a0)](_0x318dce=>{const _0x51229a=_0x2a8180,_0x14fbbf={'AmzzY':_0x235120[_0x51229a(0x18e)],'HkBac':function(_0x4ce1d1,_0x1b9e98){const _0x212ad9=_0x51229a;return _0x235120[_0x212ad9(0x148)](_0x4ce1d1,_0x1b9e98);},'ThcKf':_0x235120[_0x51229a(0x159)]};if(!_0x318dce){logger[_0x51229a(0x13c)](_0x235120['oQpqh']);const _0x13949d=_0x235120[_0x51229a(0x164)](_0x235120[_0x51229a(0x188)],_0x9c6006[0x0]);return globals[_0x51229a(0x166)](_0x235120['YicEa'],{'nearestHubs':_0x9c6006[_0x51229a(0x186)](_0x3dff13=>'https://'+_0x3dff13),'hubLatencies':{},'selectedHub':_0x13949d,'selectedHubLatency':null,'fallback':!![],'timestamp':Date['now']()}),constants['hubUrl']=_0x235120['oBdlw'](_0x13949d,_0x235120[_0x51229a(0x156)]),logger[_0x51229a(0x13c)](_0x51229a(0x185)+_0x13949d),_0x235120[_0x51229a(0x14c)](_0x3b3adb);}const _0x2666e4={[_0x318dce[_0x51229a(0x168)]]:_0x318dce[_0x51229a(0x19a)]},_0x151491={'nearestHubs':_0x9c6006[_0x51229a(0x186)](_0x4ee940=>_0x51229a(0x144)+_0x4ee940),'hubLatencies':_0x2666e4,'selectedHub':_0x318dce['hubUrl'],'selectedHubLatency':_0x318dce['latency'],'timestamp':Date['now']()};globals['setGlobal'](_0x235120[_0x51229a(0x18e)],_0x151491),constants[_0x51229a(0x168)]=_0x235120[_0x51229a(0x15b)](_0x318dce['hubUrl'],_0x235120['bFrFB']),logger[_0x51229a(0x13c)]('HUB\x20URL\x20SET\x20TO\x20-\x20'+_0x318dce['hubUrl']),_0x235120[_0x51229a(0x1a2)](_0x3b3adb),Promise[_0x51229a(0x179)](_0x2f64cc)['then'](_0x9f1a15=>{const _0x1b2ebe=_0x51229a;try{const _0x263f5e=globals[_0x1b2ebe(0x151)](_0x14fbbf[_0x1b2ebe(0x180)]);if(!_0x263f5e||_0x263f5e[_0x1b2ebe(0x13d)])return;const _0x5dde5b={};for(const _0x2b382b of _0x9f1a15){_0x14fbbf[_0x1b2ebe(0x157)](_0x2b382b[_0x1b2ebe(0x13a)],_0x14fbbf['ThcKf'])&&_0x2b382b[_0x1b2ebe(0x149)]&&_0x2b382b[_0x1b2ebe(0x149)]['ok']&&(_0x5dde5b[_0x2b382b[_0x1b2ebe(0x149)][_0x1b2ebe(0x168)]]=_0x2b382b['value'][_0x1b2ebe(0x19a)]);}_0x263f5e[_0x1b2ebe(0x141)]=_0x5dde5b;}catch(_0xd0c1bf){logger[_0x1b2ebe(0x13c)]('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0xd0c1bf);}})[_0x51229a(0x17f)](_0x4bcec5=>{const _0x4ac4b3=_0x51229a;logger['debug'](_0x4ac4b3(0x18b)+_0x4bcec5);});})['catch'](_0x180c3d=>{const _0x3be22e=_0x2a8180;logger[_0x3be22e(0x13c)](_0x3be22e(0x16d)+_0x180c3d),_0x17acaa[_0x3be22e(0x192)](_0x3b3adb);});})[_0x5ac75e(0x17f)](_0x2d751c=>{const _0x9dd3f9=_0x5ac75e;logger[_0x9dd3f9(0x13c)]('CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20'+_0x2d751c),_0x235120['OJkJq'](_0x3b3adb);});});},exports[a176_0x46f3b0(0x16c)]=async(_0x544420,_0x1e02b0)=>{const _0xf002ad=a176_0x46f3b0,_0x3f67d9={};_0x3f67d9[_0xf002ad(0x152)]=_0xf002ad(0x17d),_0x3f67d9[_0xf002ad(0x171)]='check',_0x3f67d9[_0xf002ad(0x1a4)]=function(_0x4ca7c1,_0x26ca95){return _0x4ca7c1-_0x26ca95;};const _0x1645da=_0x3f67d9;try{const _0x5c7564=new Date();await helper['nodeRequest'](_0x1645da[_0xf002ad(0x152)],_0x1645da[_0xf002ad(0x171)],{},_0x544420,_0x1e02b0,0x1388);const _0x4e4b01=_0x1645da[_0xf002ad(0x1a4)](new Date(),_0x5c7564);logger[_0xf002ad(0x13c)](_0xf002ad(0x142)+_0x1e02b0+_0xf002ad(0x14e)+_0x4e4b01+'ms');const _0x27f5cf={};return _0x27f5cf['hubUrl']=_0x1e02b0,_0x27f5cf[_0xf002ad(0x19a)]=_0x4e4b01,_0x27f5cf;}catch(_0x207a5c){return logger[_0xf002ad(0x13c)](_0xf002ad(0x154)+_0x1e02b0+_0xf002ad(0x17c)+_0x207a5c),{};}},exports[a176_0x46f3b0(0x1a6)]=async _0x2da3e2=>{const _0x274cce=a176_0x46f3b0,_0x4cc316={'opYkJ':function(_0x3dfec6,_0x5d74c4){return _0x3dfec6(_0x5d74c4);},'eyKYZ':_0x274cce(0x140),'LhReq':_0x274cce(0x162),'BBVRE':_0x274cce(0x17d),'ipVbD':_0x274cce(0x19f)};try{const _0x587cab=_0x4cc316[_0x274cce(0x18d)](require,_0x4cc316[_0x274cce(0x165)])['hubUrl'][_0x274cce(0x198)](_0x4cc316[_0x274cce(0x19d)],''),_0x5501b5=await helper[_0x274cce(0x145)](_0x4cc316[_0x274cce(0x146)],_0x4cc316['ipVbD'],{},_0x2da3e2,_0x587cab,0x1388),_0x3b65fb=_0x5501b5['data'];return logger[_0x274cce(0x13c)]('Response:\x20'+util[_0x274cce(0x178)]('%j',_0x3b65fb)),_0x3b65fb[_0x274cce(0x183)];}catch(_0x19f594){logger[_0x274cce(0x13c)](_0x274cce(0x18a)+_0x19f594);}return null;};function a176_0x4a57(_0x4884f7,_0x1d20e4){const _0x440ce0=a176_0x440c();return a176_0x4a57=function(_0x4a57e2,_0x52290c){_0x4a57e2=_0x4a57e2-0x13a;let _0xaac6e6=_0x440ce0[_0x4a57e2];return _0xaac6e6;},a176_0x4a57(_0x4884f7,_0x1d20e4);}function a176_0x440c(){const _0x52f7da=['./helpers/helper','path','qBgYa','ZLYui','./helpers/globals','215JsOJnc','search','pathname','newHubUrlBySession','format','allSettled','333684OFwYhQ','12088lQVfhq','\x20HUB\x20-\x20','GET','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','catch','AmzzY','all','WcTzi','hubs','590Lcsvfn','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','map','_hubAllocationData','bmvEn','VMeCT','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','delete','opYkJ','YicEa','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','XtmDM','dXuqD','gsKcj','TizZj','oxhsX','1904gBDqIL','OylVV','set','replace','WZWNv','latency','resolve','get','LhReq','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','next_hubs','then','has','OJkJq','8264uYckAd','rTKYi','length','nextHubs','status','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','debug','skipped','race','hash','./bin/utils/constants','hubLatencies','Execution\x20time\x20for\x20','hubRegion','https://','nodeRequest','BBVRE','3870672PRwjhn','wKTCt','value','muxHv','1132905pZCgkt','naVLX','NEAREST\x20HUBS\x20LIST:\x20','\x20is:\x20','util','updateHubUrl','getGlobal','RacGW','LdhtE','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','fulfilled','bFrFB','HkBac','FgKsf','rurMI','hostname','fUKvd','puHsx','consumeHubUrlForSession','NXFLp','31126BvjQwU','243792PngZat','bolsm','/wd/hub','Xogei','jCCys','eyKYZ','setGlobal','wdHJe','hubUrl','KsCpO','url','parse','findLatency','ERROR\x20in\x20hub\x20selection:\x20','YTzMB'];a176_0x440c=function(){return _0x52f7da;};return a176_0x440c();}
|