browserstack-node-sdk 1.63.6 → 1.64.1
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_0x1ee7e3=a172_0xcf59;(function(_0x460e3f,_0x41bd4f){const _0x2bdee6=a172_0xcf59,_0x5c386c=_0x460e3f();while(!![]){try{const _0x196f03=-parseInt(_0x2bdee6(0x221))/0x1+-parseInt(_0x2bdee6(0x1d2))/0x2*(parseInt(_0x2bdee6(0x196))/0x3)+-parseInt(_0x2bdee6(0x189))/0x4*(parseInt(_0x2bdee6(0x200))/0x5)+parseInt(_0x2bdee6(0x241))/0x6+-parseInt(_0x2bdee6(0x1c5))/0x7+-parseInt(_0x2bdee6(0x242))/0x8*(-parseInt(_0x2bdee6(0x20b))/0x9)+parseInt(_0x2bdee6(0x17c))/0xa;if(_0x196f03===_0x41bd4f)break;else _0x5c386c['push'](_0x5c386c['shift']());}catch(_0x18b20f){_0x5c386c['push'](_0x5c386c['shift']());}}}(a172_0x22db,0xbadbf));const bsSetupHelper=require(a172_0x1ee7e3(0x186)),LoadTestModule=require(a172_0x1ee7e3(0x217)),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require(a172_0x1ee7e3(0x1c9)),logger=require(a172_0x1ee7e3(0x1cb))['winstonLogger'],{nestedKeyValue}=require(a172_0x1ee7e3(0x1cc)),scripts=require(a172_0x1ee7e3(0x179)),globals=require('../globals.js'),testHubConstants=require(a172_0x1ee7e3(0x1e3)),PWTestDetails=require(a172_0x1ee7e3(0x1cd)),JestTestDetails=require('../../bin/jest/test-observability/test-details.js'),{FRAMEWORKS}=require(a172_0x1ee7e3(0x16c)),{isTurboScaleSession}=require(a172_0x1ee7e3(0x247)),OrchestrationUtils=require(a172_0x1ee7e3(0x1a3)),constants=require(a172_0x1ee7e3(0x243));let testData={};exports[a172_0x1ee7e3(0x1a2)]=_0x35f246=>{const _0x27ff06=a172_0x1ee7e3,_0x2a2515={'rcUrD':function(_0x3195e){return _0x3195e();},'FVWca':function(_0x1611c5,_0x225c33){return _0x1611c5===_0x225c33;},'hxujI':_0x27ff06(0x1f8)};let _0x52a79a=![],_0x53d9ec=![];if(bsSetupHelper[_0x27ff06(0x17e)]()&&bsSetupHelper[_0x27ff06(0x1d1)](_0x35f246))_0x53d9ec=!![];else bsSetupHelper[_0x27ff06(0x17e)]()&&(_0x52a79a=!![]);return Object[_0x27ff06(0x1d7)]({'observability':_0x2a2515['rcUrD'](isTestObservabilitySession),'accessibility':exports[_0x27ff06(0x212)](_0x35f246),'percy':_0x35f246['percy']||![],'sr_automation':_0x2a2515[_0x27ff06(0x215)](process[_0x27ff06(0x1af)][_0x27ff06(0x197)],_0x2a2515[_0x27ff06(0x232)])||_0x35f246[_0x27ff06(0x191)]||![],'automate':_0x52a79a,'app_automate':_0x53d9ec,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x35f246),'lts':LoadTestModule['isLTSSession'](_0x35f246)},bsSetupHelper[_0x27ff06(0x209)]());},exports[a172_0x1ee7e3(0x18e)]=(_0xd7e77d,_0x4573be)=>{const _0x41d6ab=a172_0x1ee7e3,_0x3268f1={'YiAda':function(_0x1775ce,_0x617909){return _0x1775ce(_0x617909);},'tUttY':'javascript'},_0x26b3f3={'frameworkName':_0x4573be,'frameworkVersion':_0x3268f1[_0x41d6ab(0x22e)](getFrameworkVersion,_0x4573be),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x3268f1[_0x41d6ab(0x19b)],'testFramework':bsSetupHelper[_0x41d6ab(0x1d0)](_0xd7e77d,_0x4573be)};return process['env'][_0x41d6ab(0x1c7)]=JSON[_0x41d6ab(0x176)](_0x26b3f3),_0x26b3f3;},exports[a172_0x1ee7e3(0x182)]=_0x2abfbc=>{const _0x22e68a=a172_0x1ee7e3,_0x1c84dc={};_0x1c84dc[_0x22e68a(0x1ef)]='false',_0x1c84dc['BGMyx']=_0x22e68a(0x1f8);const _0x2fd3e0=_0x1c84dc;process[_0x22e68a(0x1af)][_0x22e68a(0x1d9)]=_0x2fd3e0['PHHaw'],bsSetupHelper['isTrue'](_0x2abfbc[_0x22e68a(0x1ac)][_0x22e68a(0x1a1)])&&(!_0x2abfbc[_0x22e68a(0x1a1)]||!_0x2abfbc[_0x22e68a(0x1a1)][_0x22e68a(0x1d4)]())&&(process[_0x22e68a(0x1af)][_0x22e68a(0x1d9)]=_0x2fd3e0[_0x22e68a(0x245)]);},exports[a172_0x1ee7e3(0x1f0)]=()=>{const _0x4b2bf4=a172_0x1ee7e3;return bsSetupHelper[_0x4b2bf4(0x21d)](process['env'][_0x4b2bf4(0x1d9)]);},exports[a172_0x1ee7e3(0x212)]=(_0x4b738a={})=>{const _0x589971=a172_0x1ee7e3,_0x4baf07={};_0x4baf07[_0x589971(0x17d)]=function(_0x571845,_0x23de0b){return _0x571845!==_0x23de0b;},_0x4baf07[_0x589971(0x216)]=function(_0x4456f5,_0x33f6d0){return _0x4456f5===_0x33f6d0;},_0x4baf07[_0x589971(0x231)]='true',_0x4baf07[_0x589971(0x24d)]=function(_0xef01f4,_0x2a58c6){return _0xef01f4>_0x2a58c6;},_0x4baf07['gBsMq']=function(_0x356989,_0x5ddddb){return _0x356989===_0x5ddddb;};const _0x2c0a9f=_0x4baf07;if(_0x2c0a9f[_0x589971(0x17d)](process[_0x589971(0x1af)][_0x589971(0x1ab)],undefined))return bsSetupHelper['isTrue'](process[_0x589971(0x1af)][_0x589971(0x1ab)]);let _0x1a3668=_0x2c0a9f['TUzIe'](process[_0x589971(0x1af)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x2c0a9f['qLoPu']);return _0x2c0a9f[_0x589971(0x24d)](Object['keys'](_0x4b738a)['length'],0x0)&&(process[_0x589971(0x1af)][_0x589971(0x20d)]=accessibilityHelper['checkAccessibilityPlatformConfig'](_0x4b738a)),_0x1a3668=_0x1a3668||_0x2c0a9f[_0x589971(0x230)](process[_0x589971(0x1af)][_0x589971(0x20d)],_0x2c0a9f[_0x589971(0x231)]),_0x1a3668;},exports[a172_0x1ee7e3(0x220)]=(_0x1f248c,_0x445e9a)=>{const _0x155f2f=a172_0x1ee7e3,_0x121745={'TyHiL':function(_0x4fbced){return _0x4fbced();},'XQoVa':_0x155f2f(0x22f),'nDwyr':_0x155f2f(0x1f8),'BZpbu':function(_0x3d07c9,_0x4d398,_0x1ef226){return _0x3d07c9(_0x4d398,_0x1ef226);},'ptfxH':_0x155f2f(0x1b5),'KlEdS':'options'};if(!_0x1f248c||!_0x1f248c[_0x155f2f(0x1b5)])return exports[_0x155f2f(0x1e2)](),[null,null,null];if(!_0x1f248c[_0x155f2f(0x1b5)][_0x155f2f(0x19a)])return exports[_0x155f2f(0x1e2)](_0x1f248c[_0x155f2f(0x1b5)]),[null,null,null];if(_0x121745[_0x155f2f(0x1ff)](isTestObservabilitySession)){const _0x1e6d6b=_0x121745[_0x155f2f(0x238)][_0x155f2f(0x18b)]('|');let _0x88614f=0x0;while(!![]){switch(_0x1e6d6b[_0x88614f++]){case'0':if(_0x1f248c[_0x155f2f(0x19c)]){process[_0x155f2f(0x1af)][_0x155f2f(0x183)]=_0x1f248c[_0x155f2f(0x19c)];const _0x2f49ac={};_0x2f49ac[_0x155f2f(0x1b1)]=_0x445e9a[_0x155f2f(0x1b1)],_0x2f49ac[_0x155f2f(0x201)]=_0x445e9a[_0x155f2f(0x201)],process['env'][_0x155f2f(0x23c)]=JSON['stringify'](_0x2f49ac);}continue;case'1':process[_0x155f2f(0x1af)][_0x155f2f(0x1ca)]=_0x121745['nDwyr'];continue;case'2':logger['debug']('['+constants[_0x155f2f(0x195)]+_0x155f2f(0x17a)+_0x1f248c[_0x155f2f(0x22a)]);continue;case'3':_0x1f248c['build_hashed_id']&&(process[_0x155f2f(0x1af)][_0x155f2f(0x228)]=_0x1f248c[_0x155f2f(0x22a)]);continue;case'4':return[_0x1f248c[_0x155f2f(0x19c)],_0x1f248c[_0x155f2f(0x22a)],process['env'][_0x155f2f(0x185)]];case'5':_0x121745[_0x155f2f(0x1df)](nestedKeyValue,_0x1f248c,[_0x121745[_0x155f2f(0x1bf)],_0x121745[_0x155f2f(0x1e7)]])&&(process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x1f248c[_0x155f2f(0x1b5)][_0x155f2f(0x21e)][_0x155f2f(0x1eb)][_0x155f2f(0x21a)]());continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x3fd6cd=>{const _0x1419d0=a172_0x1ee7e3,_0x2cf4ef={'IqeRF':function(_0x5dfd61,_0x209e55,_0x195fe5){return _0x5dfd61(_0x209e55,_0x195fe5);},'wCSEA':_0x1419d0(0x1fb),'qQADI':_0x1419d0(0x21e),'mNPgg':function(_0x151139,_0x1b4dd2,_0x34206b,_0x27bed0){return _0x151139(_0x1b4dd2,_0x34206b,_0x27bed0);},'OsMmV':_0x1419d0(0x169),'fZDFF':_0x1419d0(0x226),'gCXPH':function(_0x23227c,_0x3c06a5,_0x10dd4f,_0x417c71){return _0x23227c(_0x3c06a5,_0x10dd4f,_0x417c71);},'hCvqA':_0x1419d0(0x23f),'fCslu':'commands','EvgdJ':_0x1419d0(0x1f9),'xNdlZ':_0x1419d0(0x1ae),'XrfHI':function(_0x16d1f7,_0x410758){return _0x16d1f7(_0x410758);},'ZRkUL':function(_0x4cf897,_0xbc58b1){return _0x4cf897===_0xbc58b1;},'olBZs':'true','BoVzn':_0x1419d0(0x1f1)};if(!_0x3fd6cd[_0x1419d0(0x1fb)])return exports['handleErrorForAccessibility'](),[null,null];if(!_0x3fd6cd['accessibility'][_0x1419d0(0x19a)])return exports[_0x1419d0(0x1fa)](_0x3fd6cd[_0x1419d0(0x1fb)]),[null,null];if(_0x2cf4ef[_0x1419d0(0x18d)](nestedKeyValue,_0x3fd6cd,[_0x2cf4ef['wCSEA'],_0x2cf4ef[_0x1419d0(0x22d)]])){const {accessibilityToken:_0x1e6279,scannerVersion:_0x2de49f,scannerProcessingTimeout:_0x3e4cae,isMobileScanningEnabledForGroup:_0xfa5fb1}=_0x2cf4ef[_0x1419d0(0x229)](jsonifyAccessibilityArray,_0x3fd6cd[_0x1419d0(0x1fb)][_0x1419d0(0x21e)][_0x1419d0(0x233)],_0x2cf4ef[_0x1419d0(0x225)],_0x2cf4ef['fZDFF']),_0x40d661={'scripts':_0x2cf4ef[_0x1419d0(0x1dd)](jsonifyAccessibilityArray,_0x3fd6cd[_0x1419d0(0x1fb)][_0x1419d0(0x21e)]['scripts'],_0x2cf4ef['OsMmV'],_0x2cf4ef[_0x1419d0(0x23a)])};_0x40d661[_0x2cf4ef[_0x1419d0(0x170)]]=_0x3fd6cd['accessibility']['options']['commandsToWrap'][_0x1419d0(0x1b2)];const _0x4a13ef=_0x2cf4ef[_0x1419d0(0x229)](jsonifyAccessibilityArray,_0x3fd6cd[_0x1419d0(0x1fb)][_0x1419d0(0x21e)][_0x1419d0(0x233)],_0x2cf4ef[_0x1419d0(0x225)],_0x2cf4ef['fZDFF']);_0x40d661[_0x2cf4ef[_0x1419d0(0x1c1)]]=_0x4a13ef[_0x2cf4ef[_0x1419d0(0x24c)]],scripts[_0x1419d0(0x180)](_0x40d661),scripts[_0x1419d0(0x246)]();let _0x7d910e=process['env'][_0x1419d0(0x206)];_0x7d910e=!!_0x7d910e?JSON[_0x1419d0(0x16e)](_0x7d910e):{},_0x7d910e[_0x1419d0(0x1c8)]=_0x2de49f,process['env'][_0x1419d0(0x206)]=JSON[_0x1419d0(0x176)](_0x7d910e),process[_0x1419d0(0x1af)]['BS_A11Y_JWT']=_0x1e6279,process[_0x1419d0(0x1af)][_0x1419d0(0x1cf)]=_0x2cf4ef[_0x1419d0(0x1ad)](String,_0x2cf4ef[_0x1419d0(0x224)](_0xfa5fb1,!![])||_0x2cf4ef['ZRkUL'](_0xfa5fb1,_0x2cf4ef['olBZs'])),logger[_0x1419d0(0x1fd)]('[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x3fd6cd['build_hashed_id']);const _0x3f05b1=accessibilityHelper[_0x1419d0(0x1d8)](_0x1e6279);return _0x3f05b1&&bsSetupHelper['isTrue'](_0x3f05b1['skipCDPConnectOverride'])&&(process[_0x1419d0(0x1af)][_0x1419d0(0x1ed)]=!![],logger[_0x1419d0(0x1fd)](_0x2cf4ef[_0x1419d0(0x21c)])),[_0x1e6279,_0x3fd6cd[_0x1419d0(0x22a)],_0x3e4cae];}return[null,null];},exports['handleErrorForObservability']=_0x327c73=>{const _0x5236a9=a172_0x1ee7e3,_0x3a3baf={};_0x3a3baf[_0x5236a9(0x23d)]='0|6|3|5|4|2|1',_0x3a3baf[_0x5236a9(0x1f6)]=_0x5236a9(0x1e5),_0x3a3baf['qRSre']='false';const _0x534f04=_0x3a3baf,_0x4d837c=_0x534f04['NkOcp'][_0x5236a9(0x18b)]('|');let _0x45352e=0x0;while(!![]){switch(_0x4d837c[_0x45352e++]){case'0':process[_0x5236a9(0x1af)]['BROWSERSTACK_TESTHUB_UUID']=_0x534f04[_0x5236a9(0x1f6)];continue;case'1':exports[_0x5236a9(0x20a)](_0x327c73,testHubConstants[_0x5236a9(0x1a9)]);continue;case'2':process['env'][_0x5236a9(0x185)]=_0x534f04[_0x5236a9(0x1f6)];continue;case'3':process['env']['BS_TESTOPS_BUILD_COMPLETED']=_0x534f04[_0x5236a9(0x190)];continue;case'4':process['env'][_0x5236a9(0x228)]=_0x534f04[_0x5236a9(0x1f6)];continue;case'5':process[_0x5236a9(0x1af)][_0x5236a9(0x183)]=_0x534f04[_0x5236a9(0x1f6)];continue;case'6':process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x534f04[_0x5236a9(0x1f6)];continue;}break;}},exports[a172_0x1ee7e3(0x1fa)]=_0x482b92=>{const _0xb16e77=a172_0x1ee7e3,_0x3c4859={};_0x3c4859[_0xb16e77(0x207)]=_0xb16e77(0x1e1),_0x3c4859[_0xb16e77(0x211)]=_0xb16e77(0x1e5),_0x3c4859[_0xb16e77(0x234)]=_0xb16e77(0x1c3);const _0xa76ad2=_0x3c4859,_0x44a95e=_0xa76ad2['WcLoa'][_0xb16e77(0x18b)]('|');let _0x299a0f=0x0;while(!![]){switch(_0x44a95e[_0x299a0f++]){case'0':exports[_0xb16e77(0x20a)](_0x482b92,testHubConstants[_0xb16e77(0x199)]);continue;case'1':process[_0xb16e77(0x1af)][_0xb16e77(0x227)]=_0xa76ad2[_0xb16e77(0x211)];continue;case'2':process[_0xb16e77(0x1af)][_0xb16e77(0x1d5)]=_0xa76ad2[_0xb16e77(0x234)];continue;case'3':process[_0xb16e77(0x1af)][_0xb16e77(0x1f5)]=_0xa76ad2[_0xb16e77(0x211)];continue;case'4':process[_0xb16e77(0x1af)][_0xb16e77(0x20d)]=_0xa76ad2[_0xb16e77(0x234)];continue;}break;}},exports[a172_0x1ee7e3(0x20a)]=(_0x51feb1,_0x295498='')=>{const _0x3b450c=a172_0x1ee7e3,_0x9baf66={};_0x9baf66[_0x3b450c(0x20f)]=function(_0x1095c8,_0x230db6){return _0x1095c8===_0x230db6;};const _0x39565f=_0x9baf66;if(_0x39565f[_0x3b450c(0x20f)](_0x51feb1,undefined)){logger[_0x3b450c(0x16a)](_0x295498[_0x3b450c(0x213)]()+_0x3b450c(0x19e));return;}for(const _0x5f4fef of _0x51feb1[_0x3b450c(0x175)]){const _0x344357=_0x5f4fef['key'],_0x5d1898=_0x5f4fef[_0x3b450c(0x21b)];if(_0x5d1898)switch(_0x344357){case testHubConstants[_0x3b450c(0x188)][_0x3b450c(0x1f7)]:logger[_0x3b450c(0x16a)](_0x5d1898);break;case testHubConstants['ERROR'][_0x3b450c(0x1dc)]:logger[_0x3b450c(0x235)](_0x5d1898);break;case testHubConstants[_0x3b450c(0x188)][_0x3b450c(0x178)]:logger[_0x3b450c(0x16a)](_0x5d1898);break;default:logger['error'](_0x5d1898);}}};const jsonifyAccessibilityArray=(_0x2a69bf,_0x4a5f8e,_0x389619)=>{const _0x3c55f1=a172_0x1ee7e3,_0x3839ed={};return _0x2a69bf[_0x3c55f1(0x218)](_0x18b7ac=>{_0x3839ed[_0x18b7ac[_0x4a5f8e]]=_0x18b7ac[_0x389619];}),_0x3839ed;};exports[a172_0x1ee7e3(0x1c0)]=_0x84f903=>{const _0x2a91f0=a172_0x1ee7e3;_0x84f903[_0x2a91f0(0x19c)]&&(process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x84f903[_0x2a91f0(0x19c)]);_0x84f903[_0x2a91f0(0x22a)]&&(process[_0x2a91f0(0x1af)][_0x2a91f0(0x227)]=_0x84f903['build_hashed_id'],logger[_0x2a91f0(0x1fd)](_0x2a91f0(0x19f)+_0x84f903[_0x2a91f0(0x22a)]));;},exports[a172_0x1ee7e3(0x198)]=(_0x9f54eb='',_0x23100c='')=>{const _0x1db1a2=a172_0x1ee7e3,_0x1efa5d={'CupCH':function(_0x30d68a){return _0x30d68a();},'LIBNX':function(_0x595678,_0x4b180d){return _0x595678===_0x4b180d;},'YRCVr':_0x1db1a2(0x1fe),'GswqO':_0x1db1a2(0x16b),'OKlAQ':_0x1db1a2(0x21f),'GcsBB':_0x1db1a2(0x248),'RIJXY':_0x1db1a2(0x173),'rWkNu':function(_0x25e651){return _0x25e651();}};if(exports[_0x1db1a2(0x1f0)]()&&!exports['isAccessibilityEnabled']()&&!_0x1efa5d[_0x1db1a2(0x210)](isTestObservabilitySession)){if(_0x1efa5d['LIBNX'](_0x23100c,_0x1efa5d[_0x1db1a2(0x23e)]))return![];if([_0x1efa5d['GswqO'],_0x1efa5d[_0x1db1a2(0x203)]][_0x1db1a2(0x1ce)](_0x9f54eb))return![];return!![];}if(exports[_0x1db1a2(0x212)]()&&!_0x1efa5d[_0x1db1a2(0x210)](isTestObservabilitySession)){if([_0x1efa5d[_0x1db1a2(0x244)],_0x1efa5d['RIJXY'],_0x1efa5d[_0x1db1a2(0x223)]][_0x1db1a2(0x1ce)](_0x9f54eb))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x1efa5d['rWkNu'](isTestObservabilitySession)||exports[_0x1db1a2(0x1f0)]();},exports[a172_0x1ee7e3(0x1ec)]=(_0x20ae70,_0x1c9f08,_0x3e1e35='',_0x2c1d45)=>{const _0x1e5f1c=a172_0x1ee7e3,_0x21d53e={'IAxoV':_0x1e5f1c(0x248),'KwmoN':_0x1e5f1c(0x173),'NqcCo':function(_0x18c9d6,_0x3b8acd){return _0x18c9d6===_0x3b8acd;},'pQTOA':_0x1e5f1c(0x1be),'ZnwRP':_0x1e5f1c(0x1c2),'TPIFL':_0x1e5f1c(0x1fb),'FTBRD':function(_0x3d2e7c,_0x3057f7){return _0x3d2e7c&&_0x3057f7;},'xOzDm':function(_0x585041,_0x1e30e2){return _0x585041===_0x1e30e2;},'zQlDs':function(_0x1d9bf9,_0x2afc69){return _0x1d9bf9+_0x2afc69;},'GSqGs':function(_0x5c1b67,_0x283b45){return _0x5c1b67+_0x283b45;},'tLgTt':function(_0x289905,_0x2aadfd){return _0x289905===_0x2aadfd;},'rbGpX':function(_0x5bab54,_0x3747c8){return _0x5bab54(_0x3747c8);},'OGxXu':'../../bin/jasmine/testRunMap.js','sNAVd':function(_0x13a296,_0x448ec6){return _0x13a296+_0x448ec6;},'suMRz':function(_0x191520,_0x23ff65){return _0x191520+_0x23ff65;},'lGNFo':function(_0xb3dd34,_0x30d11d){return _0xb3dd34&&_0x30d11d;},'oKeBU':function(_0x3e8302,_0x40738c){return _0x3e8302===_0x40738c;},'RgmZP':_0x1e5f1c(0x193),'GXRIj':function(_0x57a3d9,_0x583e1f){return _0x57a3d9===_0x583e1f;},'VAszf':function(_0x409695,_0x399f20){return _0x409695===_0x399f20;},'yXTtV':function(_0x72ae1a,_0x48fbfc){return _0x72ae1a&&_0x48fbfc;},'iOPJa':_0x1e5f1c(0x1a0)};if(![_0x21d53e[_0x1e5f1c(0x222)],_0x21d53e['KwmoN']][_0x1e5f1c(0x1ce)](_0x1c9f08)&&exports['isAccessibilityEnabled']()){const _0x1263b9={};if(_0x21d53e['NqcCo'](_0x2c1d45,FRAMEWORKS[_0x1e5f1c(0x24b)])){const _0x19284e=globals['getGlobal'](_0x21d53e[_0x1e5f1c(0x187)])||accessibilityHelper[_0x1e5f1c(0x1b4)](_0x3e1e35[_0x1e5f1c(0x205)](),!![]),_0x37f2c4=globals[_0x1e5f1c(0x1b0)](_0x21d53e[_0x1e5f1c(0x1a8)]);_0x1263b9[_0x21d53e[_0x1e5f1c(0x171)]]=_0x21d53e[_0x1e5f1c(0x168)](_0x37f2c4,_0x19284e);}if(_0x21d53e[_0x1e5f1c(0x1b8)](_0x2c1d45,FRAMEWORKS[_0x1e5f1c(0x17f)])){const _0x1830fa=_0x21d53e[_0x1e5f1c(0x1a7)](_0x21d53e[_0x1e5f1c(0x219)](_0x20ae70[_0x1e5f1c(0x23b)][_0x1e5f1c(0x19d)]('\x20'),'\x20'),_0x3e1e35['name']),_0x45a443=globals['getGlobal'](_0x21d53e[_0x1e5f1c(0x187)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x1830fa,![]),_0xec79a8=browserStackGlobals[_0x1e5f1c(0x1c2)];_0x1263b9[_0x21d53e[_0x1e5f1c(0x171)]]=_0x21d53e['FTBRD'](_0xec79a8,_0x45a443);}if(_0x21d53e[_0x1e5f1c(0x20e)](_0x2c1d45,FRAMEWORKS[_0x1e5f1c(0x1d6)])){const _0x583083=_0x21d53e[_0x1e5f1c(0x1f4)](require,_0x21d53e[_0x1e5f1c(0x18c)]),_0xf80b5f=_0x3e1e35&&_0x583083[_0x1e5f1c(0x1e9)](_0x3e1e35['id'])||_0x20ae70[_0x1e5f1c(0x18f)];_0xf80b5f&&(_0x20ae70[_0x1e5f1c(0x18f)]=_0xf80b5f);const _0x407320=_0x21d53e[_0x1e5f1c(0x1b6)](_0x21d53e[_0x1e5f1c(0x22c)](_0x20ae70[_0x1e5f1c(0x23b)][_0x1e5f1c(0x19d)]('\x20'),'\x20'),_0x3e1e35['description']||_0x20ae70['name']),_0x384f95=globals['getGlobal'](_0x21d53e[_0x1e5f1c(0x187)])||accessibilityHelper[_0x1e5f1c(0x1b4)](_0x407320,![]),_0x17de4c=globals[_0x1e5f1c(0x1b0)](_0x21d53e[_0x1e5f1c(0x1a8)]);_0x1263b9[_0x21d53e[_0x1e5f1c(0x171)]]=_0x21d53e[_0x1e5f1c(0x17b)](_0x17de4c,_0x384f95);}if(_0x21d53e['oKeBU'](_0x2c1d45,FRAMEWORKS['PLAYWRIGHT'])){if(_0x21d53e[_0x1e5f1c(0x172)](_0x1c9f08,_0x21d53e[_0x1e5f1c(0x1a5)]))return;_0x1263b9[_0x21d53e[_0x1e5f1c(0x171)]]=PWTestDetails['getAccessibilityPlatformValidation'](_0x20ae70['uuid']);}if(_0x21d53e[_0x1e5f1c(0x1e8)](_0x2c1d45,FRAMEWORKS[_0x1e5f1c(0x1c4)])){const _0x5b00c0=accessibilityHelper[_0x1e5f1c(0x1b4)](_0x3e1e35[_0x1e5f1c(0x205)](),!![]),_0x5e51de=global[_0x1e5f1c(0x184)];_0x1263b9[_0x21d53e[_0x1e5f1c(0x171)]]=_0x21d53e[_0x1e5f1c(0x168)](_0x5e51de,_0x5b00c0);}if(_0x21d53e[_0x1e5f1c(0x202)](_0x2c1d45,FRAMEWORKS[_0x1e5f1c(0x214)])){const _0x2b00a5=accessibilityHelper[_0x1e5f1c(0x1b4)](null,![],_0x20ae70[_0x1e5f1c(0x18a)]),_0x25d8e3=globals[_0x1e5f1c(0x1b0)](_0x21d53e[_0x1e5f1c(0x1a8)]);_0x1263b9[_0x21d53e['TPIFL']]=_0x21d53e[_0x1e5f1c(0x1bb)](_0x25d8e3,_0x2b00a5);}_0x20ae70[_0x21d53e['iOPJa']]=_0x1263b9;}},exports[a172_0x1ee7e3(0x1e6)]=_0x160da5=>{const _0x24201f=a172_0x1ee7e3,_0x326800={};_0x326800[_0x24201f(0x1bd)]=function(_0x4af1ff,_0x39ab51){return _0x4af1ff>_0x39ab51;};const _0x2d26b1=_0x326800;let _0x25965c={};if(_0x2d26b1['thNXN'](Object[_0x24201f(0x174)](testData)[_0x24201f(0x1fc)],0x0))return testData;_0x25965c=JestTestDetails['getTestData']();if(_0x2d26b1['thNXN'](Object[_0x24201f(0x174)](_0x25965c)[_0x24201f(0x1fc)],0x0))return _0x25965c;return _0x25965c;},exports[a172_0x1ee7e3(0x181)]=(_0x2ac122,_0x44a70d={})=>{const _0x35bb87=a172_0x1ee7e3;if(bsSetupHelper[_0x35bb87(0x237)](_0x44a70d[_0x35bb87(0x240)]))return;switch(_0x2ac122){case FRAMEWORKS['MOCHA']:testData=_0x44a70d[_0x35bb87(0x240)];break;case FRAMEWORKS[_0x35bb87(0x17f)]:JestTestDetails[_0x35bb87(0x204)](_0x44a70d[_0x35bb87(0x240)]);break;case FRAMEWORKS[_0x35bb87(0x1d6)]:testData=_0x44a70d['test_run'];break;default:break;}},exports[a172_0x1ee7e3(0x208)]=_0x42254e=>{const _0x318280=a172_0x1ee7e3,_0x3b3365={};_0x3b3365[_0x318280(0x1bc)]=function(_0x5b2d81,_0x3c6143){return _0x5b2d81!==_0x3c6143;},_0x3b3365[_0x318280(0x1db)]=function(_0x1789d7,_0x445494){return _0x1789d7!==_0x445494;};const _0x2325f=_0x3b3365;if(_0x2325f[_0x318280(0x1bc)](_0x42254e['accessibility'],null)&&_0x2325f[_0x318280(0x1db)](_0x42254e['accessibility'],undefined))return _0x42254e['accessibility'];let _0x3bfbc2=![],_0x2f37e3=![];if(_0x42254e['platforms'])for(const _0x23b877 of _0x42254e[_0x318280(0x194)]){_0x2325f[_0x318280(0x1db)](_0x23b877['accessibility'],null)&&_0x2325f['vzRSU'](_0x23b877[_0x318280(0x1fb)],undefined)&&(_0x3bfbc2=_0x3bfbc2||bsSetupHelper['isTrue'](_0x23b877[_0x318280(0x1fb)]),_0x2f37e3=!![]);}if(_0x2f37e3)return _0x3bfbc2;return null;},exports[a172_0x1ee7e3(0x1ba)]=_0x5bd1db=>{const _0xb1ae9c=a172_0x1ee7e3;if(!_0x5bd1db)return{};const _0x42ae3a=new OrchestrationUtils(_0x5bd1db);return _0x42ae3a[_0xb1ae9c(0x16f)]();},exports[a172_0x1ee7e3(0x192)]=_0x32e276=>{const _0x1a2b73=a172_0x1ee7e3,_0x54cf7c={'xbSQg':function(_0x9e5c1b){return _0x9e5c1b();},'maEak':function(_0x179e09,_0x3fe9e0){return _0x179e09===_0x3fe9e0;},'ojRsD':'true'};let _0x4c8621=![],_0x3b1958=![];if(bsSetupHelper[_0x1a2b73(0x17e)]()&&bsSetupHelper['isAppAutomateSession'](_0x32e276))_0x3b1958=!![];else bsSetupHelper[_0x1a2b73(0x17e)]()&&(_0x4c8621=!![]);return Object['assign']({'observability':_0x54cf7c['xbSQg'](isTestObservabilitySession),'accessibility':exports[_0x1a2b73(0x208)](_0x32e276),'percy':_0x32e276['percy']||![],'sr_automation':_0x54cf7c['maEak'](process[_0x1a2b73(0x1af)][_0x1a2b73(0x197)],_0x54cf7c[_0x1a2b73(0x1de)])||_0x32e276[_0x1a2b73(0x191)]||![],'automate':_0x4c8621,'app_automate':_0x3b1958,'turboscale':bsSetupHelper[_0x1a2b73(0x20c)](_0x32e276),'lts':LoadTestModule[_0x1a2b73(0x239)](_0x32e276)},bsSetupHelper['getCentralUser']());};function a172_0x22db(){const _0x407db1=['CREDENTIALS_FOR_CRASH_REPORTING','NkOcp','YRCVr','command','test_run','3794310PgtzGn','232najfxX','../../bin/utils/constants.js','GcsBB','BGMyx','toJson','../ats/helper','HookRunStarted','XQYiC','startsWith','MOCHA','xNdlZ','LrhBV','FTBRD','name','error','LogCreated','../test-observability/constants.js','OCzMe','parse','getBuildStartData','fCslu','TPIFL','NqcCo','HookRunFinished','keys','errors','stringify','PAlJw','DEPRECATED','../accessibility-automation/scripts.js',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','lGNFo','10939940BiULCP','lWULB','isBrowserstackInfra','JEST','parseFromJson','setCurrentTestData','setPercyFlag','BS_TESTOPS_JWT','accessibilityPlatform','BS_TESTOPS_ALLOW_SCREENSHOTS','../helper','pQTOA','ERROR','1446652BBWNao','tags','split','OGxXu','IqeRF','getFrameworkDetails','uuid','qRSre','sr_automation','getProductMapForBuildStartCall','TestRunStarted','platforms','TEST_REPORTING_ANALYTICS','63CJuuVg','BROWSERSTACK_SR_AUTOMATION','shouldProcessEventForTesthub','ACCESSIBILITY','success','tUttY','jwt','join','\x20Build\x20creation\x20failed','BROWSERSTACK_TESTHUB_UUID:\x20','product_map','percy','getProductMap','../test-orchestration/orchestrationUtils.js','MoKTb','RgmZP','zrbLq','zQlDs','ZnwRP','OBSERVABILITY','argv','BROWSERSTACK_ACCESSIBILITY','config','XrfHI','goog:chromeOptions','env','getGlobal','username','commands','ZzPJS','shouldScanTestForAccessibility','observability','sNAVd','KZQzI','xOzDm','trim','getTestOrchestrationBuildStartData','yXTtV','vzRSU','thNXN','bstackA11yShouldScan','ptfxH','setTestHubCommonMetaInfo','EvgdJ','isAccessibilityPlatform','false','CODECEPT','1571199heyFuv','slice','FRAMEWORK_DETAILS','scannerVersion','../accessibility-automation/helper','BS_TESTOPS_BUILD_COMPLETED','../logger','../helper.js','../../bin/playwright/reporter/test-details.js','includes','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','getTestFrameworkDetails','isAppAutomateSession','69066dDAHsD','PBljN','isRunning','BROWSERSTACK_TEST_ACCESSIBILITY_YML','JASMINE','assign','parseA11yJwtPayload','BROWSERSTACK_PERCY','string','taEOV','ACCESS_DENIED','gCXPH','ojRsD','BZpbu','QyySy','1|3|2|4|0','handleErrorForObservability','./constants.js','testManagementOptions','null','getCurrentTestData','KlEdS','GXRIj','get','testPlanId','allow_screenshots','appendTesthubParams','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','PHHaw','isPercyBuild','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','BROWSERSTACK_TEST_PLAN_ID','ENV_VAR','rbGpX','BROWSERSTACK_TESTHUB_JWT','klWwd','INVALID_CREDENTIALS','true','nonBStackInfraA11yChromeOptions','handleErrorForAccessibility','accessibility','length','debug','uploadEventData','TyHiL','5vIncaF','password','VAszf','OKlAQ','setTestData','titlePath','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','WcLoa','getAccessibilityValueFromYml','getCentralUser','logBuildError','256860xWRREe','isTurboScaleSession','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','tLgTt','HxvAT','CupCH','HGUjT','isAccessibilityEnabled','toUpperCase','CUCUMBER','FVWca','TUzIe','../../bin/v2/modules/loadTestModule','forEach','GSqGs','toString','message','BoVzn','isTrue','options','CBTSessionCreated','setTestObservabilityVariables','477351JolnXj','IAxoV','GswqO','ZRkUL','OsMmV','value','BROWSERSTACK_TESTHUB_UUID','BS_TESTOPS_BUILD_HASHED_ID','mNPgg','build_hashed_id','kUEnR','suMRz','qQADI','YiAda','1|0|3|5|2|4','gBsMq','qLoPu','hxujI','capabilities','NGVWc','info','getTestPlanId','isUndefined','XQoVa','isLTSSession','hCvqA','scopes'];a172_0x22db=function(){return _0x407db1;};return a172_0x22db();}function a172_0xcf59(_0x420bb5,_0x536554){const _0x22db8e=a172_0x22db();return a172_0xcf59=function(_0xcf5997,_0x21fd7e){_0xcf5997=_0xcf5997-0x168;let _0x4f9cba=_0x22db8e[_0xcf5997];return _0x4f9cba;},a172_0xcf59(_0x420bb5,_0x536554);}const normalizeTestPlanId=_0x180301=>{const _0x4eb0dc=a172_0x1ee7e3,_0x44c6c5={};_0x44c6c5[_0x4eb0dc(0x1e0)]=function(_0xb92ca4,_0x34fdf3){return _0xb92ca4!==_0x34fdf3;},_0x44c6c5['PAlJw']=_0x4eb0dc(0x1da),_0x44c6c5[_0x4eb0dc(0x1a4)]=function(_0x40222a,_0x1dc244){return _0x40222a>_0x1dc244;};const _0x314b66=_0x44c6c5;if(_0x314b66[_0x4eb0dc(0x1e0)](typeof _0x180301,_0x314b66[_0x4eb0dc(0x177)]))return undefined;const _0xec8c1b=_0x180301[_0x4eb0dc(0x1b9)]();return _0x314b66['MoKTb'](_0xec8c1b[_0x4eb0dc(0x1fc)],0x0)?_0xec8c1b:undefined;},readTestPlanIdFromCliArgs=(_0x1500b0=process[a172_0x1ee7e3(0x1aa)])=>{const _0x3de5c8=a172_0x1ee7e3,_0x594718={};_0x594718['YPSJd']=function(_0x1343cc,_0x37dce2){return _0x1343cc<_0x37dce2;},_0x594718[_0x3de5c8(0x249)]=function(_0x1ac895,_0x4262f5){return _0x1ac895===_0x4262f5;},_0x594718[_0x3de5c8(0x1a6)]=function(_0x2272bf,_0x110a86){return _0x2272bf+_0x110a86;},_0x594718[_0x3de5c8(0x16d)]=function(_0x2cd463,_0x106ee2){return _0x2cd463+_0x106ee2;};const _0x4b2b8b=_0x594718,_0x23e75e='--'+testHubConstants[_0x3de5c8(0x1ee)];for(let _0x3bf4c0=0x0;_0x4b2b8b['YPSJd'](_0x3bf4c0,_0x1500b0[_0x3de5c8(0x1fc)]);_0x3bf4c0+=0x1){const _0x583fdb=_0x1500b0[_0x3bf4c0];if(_0x4b2b8b[_0x3de5c8(0x249)](_0x583fdb,_0x23e75e)){const _0x1e8a73=_0x1500b0[_0x4b2b8b[_0x3de5c8(0x1a6)](_0x3bf4c0,0x1)];if(!_0x1e8a73||_0x1e8a73[_0x3de5c8(0x24a)]('--'))return undefined;return _0x1e8a73;}if(_0x583fdb[_0x3de5c8(0x24a)](_0x23e75e+'='))return _0x583fdb[_0x3de5c8(0x1c6)](_0x4b2b8b[_0x3de5c8(0x16d)](_0x23e75e['length'],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x37d356={})=>{const _0x231e77=a172_0x1ee7e3,_0x2417ad={'kUEnR':function(_0x52acca,_0x58c59b){return _0x52acca(_0x58c59b);}};return _0x2417ad[_0x231e77(0x22b)](normalizeTestPlanId,_0x37d356&&_0x37d356['testManagementOptions']&&_0x37d356[_0x231e77(0x1e4)][_0x231e77(0x1ea)]);};exports[a172_0x1ee7e3(0x236)]=(_0x3d357e={},_0x39a30f=process[a172_0x1ee7e3(0x1aa)],_0x9734f5=process[a172_0x1ee7e3(0x1af)])=>{const _0xb982a4=a172_0x1ee7e3,_0x3ab2a4={'PBljN':function(_0x1b5124,_0x182914){return _0x1b5124(_0x182914);},'gYRRh':function(_0xdcd2c7,_0x5c5524){return _0xdcd2c7(_0x5c5524);},'KZQzI':function(_0x1d3678,_0x506430){return _0x1d3678(_0x506430);},'ZzPJS':function(_0x300a63,_0x49088d){return _0x300a63(_0x49088d);}};try{const _0x92f3df=_0x3ab2a4[_0xb982a4(0x1d3)](normalizeTestPlanId,_0x3ab2a4['gYRRh'](readTestPlanIdFromCliArgs,_0x39a30f));if(_0x92f3df)return _0x92f3df;const _0x1bf9f8=_0x3ab2a4[_0xb982a4(0x1b7)](normalizeTestPlanId,_0x9734f5&&_0x9734f5[testHubConstants[_0xb982a4(0x1f3)][_0xb982a4(0x1f2)]]);if(_0x1bf9f8)return _0x1bf9f8;return _0x3ab2a4[_0xb982a4(0x1b3)](readTestPlanIdFromConfig,_0x3d357e);}catch(_0x502b8f){return logger[_0xb982a4(0x1fd)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x502b8f&&_0x502b8f[_0xb982a4(0x21b)]?_0x502b8f[_0xb982a4(0x21b)]:_0x502b8f)),undefined;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a173_0x20c9(_0x391a8b,_0x1efb87){const _0x3b55fe=a173_0x3b55();return a173_0x20c9=function(_0x20c96c,_0x15dabc){_0x20c96c=_0x20c96c-0x92;let _0x220007=_0x3b55fe[_0x20c96c];return _0x220007;},a173_0x20c9(_0x391a8b,_0x1efb87);}const a173_0x1c3d98=a173_0x20c9;(function(_0x14fdfc,_0x527d24){const _0x1a4c83=a173_0x20c9,_0x135510=_0x14fdfc();while(!![]){try{const _0x498865=-parseInt(_0x1a4c83(0x96))/0x1+-parseInt(_0x1a4c83(0x97))/0x2*(parseInt(_0x1a4c83(0xa0))/0x3)+-parseInt(_0x1a4c83(0x95))/0x4+-parseInt(_0x1a4c83(0x93))/0x5+-parseInt(_0x1a4c83(0x92))/0x6+-parseInt(_0x1a4c83(0x98))/0x7*(-parseInt(_0x1a4c83(0x9b))/0x8)+parseInt(_0x1a4c83(0x9a))/0x9;if(_0x498865===_0x527d24)break;else _0x135510['push'](_0x135510['shift']());}catch(_0x3b59b3){_0x135510['push'](_0x135510['shift']());}}}(a173_0x3b55,0xa3f62));const utilities=require(a173_0x1c3d98(0x9c));function a173_0x3b55(){const _0x96c5bc=['wzFAh','6ANZsvh','4179402rIKslj','6385550wVZxEw','DZLNT','3814916ysVIzZ','712357obiiOU','884998nyYbiz','7FuKXpd','cancel','39322089KXcNBf','6617808jwkADu','./utilities','exports','khKIg'];a173_0x3b55=function(){return _0x96c5bc;};return a173_0x3b55();}module[a173_0x1c3d98(0x9d)]=(_0x32a208,_0x4857c0,_0x460f10,_0x3ba5e0,_0x5e870,_0x55ea75)=>{const _0x3dbf5e=a173_0x1c3d98,_0x575b26={'khKIg':function(_0x4ac10b,_0x2d8a90){return _0x4ac10b-_0x2d8a90;},'wzFAh':function(_0x15c059,_0x3a5b5d){return _0x15c059(_0x3a5b5d);},'DZLNT':function(_0x4979af,_0x3a871e,_0x41146b){return _0x4979af(_0x3a871e,_0x41146b);}};let _0x25166b,_0x3f4c29=![];const _0x375e42=new Promise((_0x18a585,_0x3faef2)=>{const _0x2fb0d7=a173_0x20c9;_0x25166b=_0x575b26[_0x2fb0d7(0x94)](setTimeout,()=>{const _0x13deb0=_0x2fb0d7;if(!_0x3f4c29){const _0x3a0d8b={'status':''+_0x4857c0,'timeTaken':_0x575b26[_0x13deb0(0x9e)](new Date(),_0x3ba5e0)};utilities['fireFunnelTestEvent'](_0x460f10,_0x3a0d8b,_0x5e870,_0x55ea75),_0x575b26[_0x13deb0(0x9f)](_0x3faef2,new Error(_0x4857c0));}},_0x32a208);});return _0x375e42[_0x3dbf5e(0x99)]=()=>{const _0x2468ba=_0x3dbf5e;_0x3f4c29=!![],_0x575b26[_0x2468ba(0x9f)](clearTimeout,_0x25166b);},_0x375e42;};
|
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
|
+
function a174_0xc4ea(){const _0x444a44=['finishedMetadata','wLBLs','error','osVersion','sdkRunId','qQkLR','EOPtO','info','every','1248814GPDOMQ','version','ETsUG','[REDACTED]','debug','getTurboScaleBuildLink','ksmsb','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','DpeXs','constants','application/json','gStJh','sanitizeBrowserStackConfig','W_OK','\x20:\x20','lPcuG','values','getAccessKey','stack','hostname','replace','iQOlB','getPackageVersion','join','APP_AUTOMATE','zznME','CZaBA','requirePWModule','VqXxD','Failed\x20to\x20set\x20directory\x20access:\x20','../bin/playwright/reporter/pwUtils','../bin/utils/constants','JVHbt','tests','jcqGQ','chmodSync','104279tZbSIG','stopPercy','format','env','1074705nHRhjj','getFrameworkVersion','body','X_OK','getUserName','./test-observability/utils','push','apply','LtPVl','vjpLx','winstonLogger','OwUbH','errorMessage','gdpjP','tUUSw','assign','name','YxGxn','toString','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','MreOq','dfqzl','globalException','DmEWZ','keys','Error\x20in\x20firing\x20request\x20to\x20','buildIdentifier','type','accessSync','297777rIhFlb','playwrightVersion','split','killSignal','WzVGq','unknown','AGJuA','isModifiable','finalExecution','BROWSERSTACK_TESTHUB_UUID','getSessionsList','./testhub/utils','1817178zYGEfY','parse','fHsBM','config','user_killed','ENV_VAR','754108ZRDrMw','isAppAutomateSession','util','browser','APP_AUTOMATE_PRODUCTS','event_properties','all','ukIpG','length','object','framework','API\x20Event\x20','nodejs','isTurboScaleSession','getNodeAgent','reduce','browserVersion','forEach','getTurboScaleSessionsList','SDKTestSuccessful','null','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','Playwright','iXDEh','TLUvJ','POST','Directory\x20','deviceName','4394640dfDsja','./performance/performance-tester','\x20has\x20now\x20read/write/execute\x20permissions.','notifyUpdate','4SjSaai','isBrowserstackInfra','hubAllocation',',\x20testhub\x20id:\x20','SDK\x20run\x20ended\x20for\x20id:\x20','fireFunnelTestEvent','stringify','source','UwyTv','yjDnZ','buildName'];a174_0xc4ea=function(){return _0x444a44;};return a174_0xc4ea();}const a174_0x2764c8=a174_0x51f6;function a174_0x51f6(_0x253350,_0x4a6004){const _0xc4eadc=a174_0xc4ea();return a174_0x51f6=function(_0x51f6b0,_0x3250a0){_0x51f6b0=_0x51f6b0-0x6f;let _0x356bcf=_0xc4eadc[_0x51f6b0];return _0x356bcf;},a174_0x51f6(_0x253350,_0x4a6004);}(function(_0x28619e,_0x35e7f3){const _0x55edce=a174_0x51f6,_0x4e19cf=_0x28619e();while(!![]){try{const _0x4dc08e=-parseInt(_0x55edce(0xf2))/0x1+-parseInt(_0x55edce(0xba))/0x2*(parseInt(_0x55edce(0x88))/0x3)+parseInt(_0x55edce(0x9a))/0x4+parseInt(_0x55edce(0xf6))/0x5+-parseInt(_0x55edce(0x94))/0x6+-parseInt(_0x55edce(0xce))/0x7+parseInt(_0x55edce(0xb6))/0x8;if(_0x4dc08e===_0x35e7f3)break;else _0x4e19cf['push'](_0x4e19cf['shift']());}catch(_0x2c883c){_0x4e19cf['push'](_0x4e19cf['shift']());}}}(a174_0xc4ea,0x29320));const os=require('os'),util=require(a174_0x2764c8(0x9c)),fs=require('fs'),{getProductMap}=require(a174_0x2764c8(0x93)),logger=require('./logger')[a174_0x2764c8(0x75)],constants=require(a174_0x2764c8(0xed)),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require(a174_0x2764c8(0xec)),{FUNNEL_INSTRUMENTATION_API_URL}=require('../bin/utils/constants'),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a174_0x2764c8(0xb7)),globals=require('./globals'),helper=require('./helper'),{isTestObservabilitySession}=require(a174_0x2764c8(0x70));let unhandledErrors='';exports[a174_0x2764c8(0xbf)]=async(_0x37fcb1,_0x3e1261={},_0x530aa7,_0x27f2f8,_0x3cc55c=![])=>{const _0x5784a8=a174_0x2764c8,_0x3d1365={'jcqGQ':function(_0x1fd3bd,_0x3ab21f){return _0x1fd3bd===_0x3ab21f;},'MreOq':_0x5784a8(0xa3),'ETsUG':function(_0x288c8d,_0x341bbc){return _0x288c8d>_0x341bbc;},'zznME':'tests','ukIpG':function(_0x1c46b4){return _0x1c46b4();},'OwUbH':function(_0x12dd70,_0x21c1e4){return _0x12dd70==_0x21c1e4;},'gdpjP':_0x5784a8(0xae),'JVHbt':'undefined','AGJuA':function(_0xc9bd33,_0x45f08e){return _0xc9bd33>_0x45f08e;},'YxGxn':function(_0x2d1c99,_0x5de577){return _0x2d1c99===_0x5de577;},'iQOlB':'codeceptjs','iXDEh':function(_0x5bcb34,_0x516ccb){return _0x5bcb34>_0x516ccb;},'tUUSw':function(_0x585a55,_0x541c0f){return _0x585a55!==_0x541c0f;},'DmEWZ':_0x5784a8(0xb0),'WzVGq':_0x5784a8(0xc7),'nyaQN':function(_0x3a4c24,_0x3a9deb){return _0x3a4c24+_0x3a9deb;},'yTcYW':_0x5784a8(0x7e),'ltfRX':'_buildHashedId','EIJke':function(_0x38e671,_0x3dd26e){return _0x38e671(_0x3dd26e);},'tKdPF':function(_0x383694,_0x3329f7){return _0x383694(_0x3329f7);},'fHsBM':_0x5784a8(0x8d),'pbQdl':_0x5784a8(0xa6),'lPcuG':_0x5784a8(0xad),'wLBLs':function(_0x3bd844,_0x2f676c){return _0x3bd844===_0x2f676c;},'gStJh':'selenium-webdriver','EOPtO':_0x5784a8(0xd8),'LtPVl':_0x5784a8(0xd1),'ksmsb':_0x5784a8(0xb3)};let _0x26f967=[];if(helper[_0x5784a8(0xbb)]()&&_0x3d1365[_0x5784a8(0xa1)](isTestObservabilitySession))_0x26f967=helper['isAppAutomateSession'](_0x530aa7)?constants[_0x5784a8(0x9e)]:constants['AUTOMATE_PRODUCTS'];else{if(_0x3d1365['ukIpG'](isTestObservabilitySession))_0x26f967=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper[_0x5784a8(0xbb)]()&&(_0x26f967=helper[_0x5784a8(0x9b)](_0x530aa7)?constants[_0x5784a8(0xe6)]:constants['AUTOMATE']);}let _0x45a70c=_0x530aa7[_0x5784a8(0x85)];if(_0x3d1365[_0x5784a8(0x76)](_0x45a70c,null))_0x45a70c=_0x3d1365[_0x5784a8(0x78)];else _0x3d1365[_0x5784a8(0xf0)](_0x45a70c,undefined)&&(_0x45a70c=_0x3d1365[_0x5784a8(0xee)]);unhandledErrors&&_0x3d1365[_0x5784a8(0x8e)](unhandledErrors[_0x5784a8(0xa2)],0x0)&&(_0x3e1261[_0x5784a8(0x81)]=unhandledErrors);global[_0x5784a8(0xc9)]&&(_0x3e1261[_0x5784a8(0xc9)]=global[_0x5784a8(0xc9)]);try{if(_0x3e1261[_0x5784a8(0xc7)]){if(_0x3d1365[_0x5784a8(0x7c)](_0x27f2f8,_0x3d1365[_0x5784a8(0xe3)])&&_0x3d1365[_0x5784a8(0xb1)](_0x3e1261['error'][_0x5784a8(0xa2)],0x0)){const _0x177a61={};_0x177a61['os']='',_0x177a61[_0x5784a8(0xc8)]='',_0x177a61[_0x5784a8(0x9d)]='',_0x177a61['browserVersion']='';const _0x1b89ef=_0x177a61;let _0x43cb41={};const _0x192d6e=_0x3e1261['error'];_0x43cb41=_0x192d6e[_0x5784a8(0xa9)]((_0x2a5962,_0x15a8c1)=>{for(const _0x385a91 in _0x15a8c1){_0x2a5962[_0x385a91]=_0x15a8c1[_0x385a91];}return _0x2a5962;},{});const _0x2ba07a={};_0x2ba07a[_0x5784a8(0xef)]=_0x43cb41,_0x3e1261[_0x5784a8(0xc7)]=[Object[_0x5784a8(0x7a)]({},_0x1b89ef,_0x2ba07a)];}else{let _0x14fbd2=0x0;const _0x2b547d=_0x3d1365[_0x5784a8(0x79)](_0x27f2f8,_0x3d1365['DmEWZ'])?JSON[_0x5784a8(0x95)](_0x3e1261[_0x5784a8(0xc7)]):_0x3e1261[_0x5784a8(0xc7)],_0x19be46=Object[_0x5784a8(0xde)](_0x2b547d);_0x19be46[_0x5784a8(0xab)](_0x5189b7=>{const _0x4ef328=_0x5784a8;if(_0x3d1365[_0x4ef328(0xf0)](typeof _0x5189b7,_0x3d1365[_0x4ef328(0x7f)])){const _0x28d8d5=Object[_0x4ef328(0xde)](_0x5189b7);!_0x28d8d5[_0x4ef328(0xcd)](_0x5d6e89=>_0x5d6e89===null||_0x5d6e89===undefined||_0x5d6e89==='')&&(_0x14fbd2+=0x1);}});if(_0x3d1365[_0x5784a8(0x7c)](_0x14fbd2,0x0))delete _0x3e1261[_0x3d1365[_0x5784a8(0x8c)]];else{const _0x4b3c12=[];Object[_0x5784a8(0x83)](_0x2b547d)[_0x5784a8(0xab)](_0x370046=>{const _0x63df71=_0x5784a8,[_0x82933f,_0x3fc8dd,_0x1c7cb7,_0x1104d8]=_0x370046[_0x63df71(0x8a)](',\x20');let _0x1faf3d={};if(!_0x1104d8){const _0xb1b874={};_0xb1b874[_0x63df71(0xb5)]=_0x82933f,_0xb1b874['osVersion']=_0x3fc8dd,_0xb1b874['browser']=_0x1c7cb7,_0x1faf3d=_0xb1b874;}else{const _0x446327={};_0x446327['os']=_0x82933f,_0x446327[_0x63df71(0xc8)]=_0x3fc8dd,_0x446327[_0x63df71(0x9d)]=_0x1c7cb7,_0x446327[_0x63df71(0xaa)]=_0x1104d8,_0x1faf3d=_0x446327;}const _0x195c33={},_0x2cccba=_0x2b547d[_0x370046];Object[_0x63df71(0x83)](_0x2cccba)['forEach'](_0x3104f9=>{const _0x2b625b=_0x63df71;_0x3d1365[_0x2b625b(0xd0)](_0x2cccba[_0x3104f9][_0x2b625b(0xa2)],0x0)&&(_0x195c33[_0x3104f9]=_0x2cccba[_0x3104f9]);}),_0x3d1365[_0x63df71(0xd0)](Object['keys'](_0x195c33)[_0x63df71(0xa2)],0x0)&&(_0x1faf3d[_0x3d1365[_0x63df71(0xe7)]]=_0x195c33,_0x4b3c12[_0x63df71(0x71)](_0x1faf3d));}),_0x3d1365[_0x5784a8(0xd0)](_0x4b3c12[_0x5784a8(0xa2)],0x0)?_0x3e1261['error']=_0x4b3c12:delete _0x3e1261[_0x3d1365[_0x5784a8(0x8c)]];}}}}catch(_0x16e10e){delete _0x3e1261[_0x3d1365['WzVGq']],logger[_0x5784a8(0xd2)](_0x3d1365['nyaQN'](_0x3d1365['yTcYW'],_0x16e10e));}const _0x34bf10=helper['getTestFrameworkDetails'](_0x530aa7,_0x530aa7[_0x5784a8(0xa4)]),_0x598fc7={'userName':helper[_0x5784a8(0x6f)](_0x530aa7),'accessKey':helper['getAccessKey'](_0x530aa7),'event_type':_0x37fcb1,'detectedFramework':_0x27f2f8,'buildHashedId':globals['getGlobal'](_0x3d1365['ltfRX']),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process[_0x5784a8(0xf5)][testHubConstants[_0x5784a8(0x99)][_0x5784a8(0x91)]]||'','sdkRunId':global[_0x5784a8(0xc9)],'product_map':_0x3d1365['EIJke'](getProductMap,_0x530aa7),'productMap':_0x3d1365['tKdPF'](getProductMap,_0x530aa7),'language_framework':_0x530aa7[_0x5784a8(0xc1)]||_0x3d1365['fHsBM'],'referrer':helper[_0x5784a8(0xa8)](_0x27f2f8),'framework':_0x530aa7['framework'],'frameworkVersion':helper[_0x5784a8(0xf7)](_0x27f2f8),'automationFramework':_0x34bf10[_0x5784a8(0x7b)],'automationFrameworkVersion':_0x34bf10[_0x5784a8(0xcf)],'language':_0x3d1365['pbQdl'],'languageVersion':process[_0x5784a8(0xcf)],'product':_0x26f967,'buildName':_0x530aa7[_0x5784a8(0xc4)]||_0x3d1365[_0x5784a8(0xee)],'buildIdentifier':_0x45a70c,'os':os[_0x5784a8(0x86)]()||_0x3d1365['fHsBM'],'hostname':os[_0x5784a8(0xe1)]()||_0x3d1365[_0x5784a8(0x96)],..._0x3e1261,'isCLIEnabled':_0x3cc55c}};try{_0x3d1365[_0x5784a8(0xf0)](_0x37fcb1,_0x3d1365[_0x5784a8(0xdd)])&&(_0x598fc7['event_properties']['browserStackConfig']=helper[_0x5784a8(0xda)](_0x530aa7)),_0x3d1365[_0x5784a8(0xc6)](_0x27f2f8,_0x3d1365[_0x5784a8(0x82)])?_0x598fc7[_0x5784a8(0x9f)][_0x5784a8(0x89)]=helper[_0x5784a8(0xe9)][_0x5784a8(0x72)](null,_0x3d1365[_0x5784a8(0xa1)](getTransformPath),!![]):_0x598fc7[_0x5784a8(0x9f)]['seleniumVersion']=helper[_0x5784a8(0xe4)](_0x3d1365[_0x5784a8(0xd9)]);}catch(_0x1ccd0a){logger[_0x5784a8(0xd2)](_0x5784a8(0xaf)+_0x1ccd0a);}const _0x240a3b={};_0x240a3b['content-type']=_0x3d1365[_0x5784a8(0xcb)];const _0x103923={'headers':_0x240a3b,'body':_0x598fc7,'auth':{'user':helper[_0x5784a8(0x6f)](_0x530aa7),'pass':helper[_0x5784a8(0xdf)](_0x530aa7)},'json':!![]};logger['debug']('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON[_0x5784a8(0xc0)](_0x103923[_0x5784a8(0xf8)])['replace'](new RegExp(helper[_0x5784a8(0x6f)](_0x530aa7),'g'),_0x3d1365[_0x5784a8(0x73)])[_0x5784a8(0xe2)](new RegExp(helper['getAccessKey'](_0x530aa7),'g'),_0x3d1365[_0x5784a8(0x73)]));try{const _0x44050a=await helper['nodeRequest'](_0x3d1365[_0x5784a8(0xd4)],FUNNEL_INSTRUMENTATION_API_URL,_0x103923,_0x530aa7);logger['debug'](_0x5784a8(0xa5)+_0x37fcb1+'\x20response\x20-\x20'+util[_0x5784a8(0xf4)]('%j',_0x44050a));}catch(_0x5f9cd9){logger[_0x5784a8(0xd2)](_0x5784a8(0x84)+FUNNEL_INSTRUMENTATION_API_URL+_0x5784a8(0xdc)+util['format'](_0x5f9cd9));}},exports[a174_0x2764c8(0x90)]=async(_0x4c9e87,_0x98520a=![])=>{const _0x39fc0a=a174_0x2764c8,_0x252644={'UwyTv':function(_0x412599){return _0x412599();},'KAylj':'_hubAllocationData','rTnmU':_0x39fc0a(0xc5),'CZaBA':_0x39fc0a(0x98),'dfqzl':_0x39fc0a(0xad),'TLUvJ':function(_0x24e832,_0x19e08e,_0x2a6216){return _0x24e832(_0x19e08e,_0x2a6216);},'yjDnZ':function(_0x22b6f7,_0x3a9d93){return _0x22b6f7+_0x3a9d93;},'iHUjw':_0x39fc0a(0xd5)};try{await _0x4c9e87[_0x39fc0a(0xf3)](),_0x252644[_0x39fc0a(0xc2)](printNudgeLocalNotSetError);const _0x362138={};_0x362138[_0x39fc0a(0xc7)]=_0x4c9e87[_0x39fc0a(0x77)]?_0x4c9e87[_0x39fc0a(0x77)]:'{}';const _0x370699=_0x362138,_0x558f88=Object[_0x39fc0a(0x7a)]({},_0x370699),_0xf20f25=globals['getGlobal'](_0x252644['KAylj']);_0xf20f25&&(_0x558f88[_0x39fc0a(0xbc)]=_0xf20f25);!!_0x4c9e87[_0x39fc0a(0x8b)]&&(_0x558f88[_0x252644['rTnmU']]={'reason':_0x252644[_0x39fc0a(0xe8)],'signal':_0x4c9e87[_0x39fc0a(0x8b)]});unhandledErrors=_0x4c9e87['unhandledErrors'][_0x39fc0a(0xe5)]('\x0a');let _0x2d1037,_0x1ff66b,_0x2a9f82;helper[_0x39fc0a(0xa7)](_0x4c9e87[_0x39fc0a(0x97)])?([_0x2d1037,_0x1ff66b]=await helper[_0x39fc0a(0xd3)](_0x4c9e87[_0x39fc0a(0x97)]),[_0x2a9f82]=await Promise['all']([helper[_0x39fc0a(0xac)](_0x2d1037,_0x4c9e87['config']),exports[_0x39fc0a(0xbf)](_0x252644[_0x39fc0a(0x80)],_0x558f88,_0x4c9e87['config'],_0x4c9e87[_0x39fc0a(0xa4)],_0x98520a)])):([_0x2d1037,_0x1ff66b]=await helper['getBuildLink'](_0x4c9e87[_0x39fc0a(0x97)]),[_0x2a9f82]=await Promise[_0x39fc0a(0xa0)]([helper[_0x39fc0a(0x92)](_0x2d1037,_0x4c9e87[_0x39fc0a(0x97)]),exports[_0x39fc0a(0xbf)](_0x252644[_0x39fc0a(0x80)],_0x558f88,_0x4c9e87[_0x39fc0a(0x97)],_0x4c9e87[_0x39fc0a(0xa4)],_0x98520a)])),_0x2a9f82&&await _0x252644[_0x39fc0a(0xb2)](generateCIArtifacts,_0x2a9f82,_0x1ff66b),logger[_0x39fc0a(0xcc)](_0x39fc0a(0xbe)+_0x4c9e87['sdkRunId']+_0x39fc0a(0xbd)+process[_0x39fc0a(0xf5)][_0x39fc0a(0x91)]),await helper['sendLogs'](_0x4c9e87[_0x39fc0a(0x97)]);}catch(_0x4114fc){logger[_0x39fc0a(0xd2)](_0x252644[_0x39fc0a(0xc3)](_0x252644['iHUjw'],_0x4114fc));}helper[_0x39fc0a(0xb9)]();},exports['getStackTraceAsString']=_0x2b9574=>{const _0x3c16b4=a174_0x2764c8,_0x42b59f={'VqXxD':function(_0x2f6c66,_0x41d30e){return _0x2f6c66 instanceof _0x41d30e;},'DpeXs':function(_0x2425c8,_0x184e5d){return _0x2425c8(_0x184e5d);}};try{if(_0x42b59f[_0x3c16b4(0xea)](_0x2b9574,Error))return _0x2b9574[_0x3c16b4(0xe0)]||_0x2b9574[_0x3c16b4(0x7d)]();return _0x42b59f[_0x3c16b4(0xd6)](String,_0x2b9574);}catch(_0x2940da){return _0x2b9574?_0x2b9574[_0x3c16b4(0x7d)]():'';}},exports['isNullOrEmpty']=_0x512588=>{const _0x3f7bd4=a174_0x2764c8,_0x1758f8={};_0x1758f8['qQkLR']=function(_0x132b41,_0x431b0a){return _0x132b41===_0x431b0a;};const _0x383b62=_0x1758f8;return!_0x512588||_0x383b62[_0x3f7bd4(0xca)](_0x512588['trim'](),'');},exports[a174_0x2764c8(0x8f)]=_0x35be8c=>{const _0x30f60b=a174_0x2764c8,_0x5be7a4={};_0x5be7a4['vjpLx']=function(_0x3209c5,_0x1c6c3e){return _0x3209c5|_0x1c6c3e;};const _0x30bf07=_0x5be7a4;try{return fs[_0x30f60b(0x87)](_0x35be8c,_0x30bf07[_0x30f60b(0x74)](fs[_0x30f60b(0xd7)][_0x30f60b(0xdb)],fs['constants'][_0x30f60b(0xf9)])),!![];}catch(_0x1b7f56){return![];}},exports['setReadWriteExecuteAccess']=_0xdf87d8=>{const _0x1c85b5=a174_0x2764c8;try{fs[_0x1c85b5(0xf1)](_0xdf87d8,0x1ff),logger[_0x1c85b5(0xd2)](_0x1c85b5(0xb4)+_0xdf87d8+_0x1c85b5(0xb8));}catch(_0x151c8a){logger[_0x1c85b5(0xc7)](_0x1c85b5(0xeb)+exports['getStackTraceAsString'](_0x151c8a));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a175_0x4171(_0x2bbafa,_0x1d144f){var _0x22e034=a175_0x22e0();return a175_0x4171=function(_0x417182,_0x5a9f91){_0x417182=_0x417182-0x78;var _0x367484=_0x22e034[_0x417182];return _0x367484;},a175_0x4171(_0x2bbafa,_0x1d144f);}var a175_0x3f05b5=a175_0x4171;function a175_0x22e0(){var _0x37b6c9=['name','accessKey','browser_version','localIdentifier','upnzq','GmLlv','browserstack.bfcache','browserstack.localIdentifier','telemetryLogs','5621yZwKTp','browserstack.video','16KxzSrR','browserstack.accessibilityOptions.scannerVersion','accessibilityOptions.scannerProcessingTimeout','autoWait','browserstack.debug','browserstack.accessibilityOptions.scannerProcessingTimeout','resolution','SBcNd','851065MlGuFs','accessibilityOptions.includeIssueType.bestPractice','W3CMapping','debug','browserstack.networkLogsOptions','browserstack.accessibilityOptions.authToken','EZMeo','browserstack.accessibilityOptions.includeIssueType.bestPractice','browserstack.customNetwork','project','browserstack.local','6316695MmqiTG','browserstack.use_w3c','bvLpV','uploadMedia','browserstack.accessibilityOptions.includeIssueType.needsReview','Nipml','RhFrM','browserstack.overridelocalInfo.userAuthToken','xUBIH','WNuwp','browserstack.idleTimeout','QmRpv','rLJuD','osVersion','JGtDC','CyooO','6znYQaQ','timezone','browserstack.wsLocalSupport','SqctK','browserstack.playwrightVersion','MsxHY','browser','SmXOP','browserstack.telemetryLogs','customNetwork','kMhrC','TPOuN','WJvtI','faqKG','overridelocalInfo.localIdentifier','networkProfile','15826HWAXLV','qVdti','WPwKt','browserstack.overridelocalInfo.localIdentifier','useW3c','mshQD','wsLocalSupport','browserstack.buildIdentifier','tuTrX','browserstack.key','cwzRw','zDLTU','zybzd','deviceOrientation','OAAFv','INjxD','playwrightVersion','browserstack.console','3329973WUQpwW','714832ykXVDu','userName','maskCommands','browserstack.appiumLogs','seleniumLogs','enableSim','browserstack.headerParams','geoLocation','KqaxM','DcCax','simOptions','browserstack.maskBasicAuth','MHdbz','sessionName','deviceName','16090XRutsi','buildProductMap','14qrVGcm','browserstack.buildProductMap','pFChF','gTHOG','browserstack.accessibilityOptions.wcagVersion','browserstack.networkLogs','SMhem','accessibilityOptions.includeIssueType.needsReview','xoSBg','vMbee','rmkgY','bzVbq','XfJQU','browserstackSDK','accessibilityOptions.wcagVersion','browserstack.selenium_version','browserstack.autoWait','YLEWK','GfGNv','browserstack.enableSim','Woylm','browserstack.browserstackSDK','networkLogs','projectName','TBlQu','accessibilityOptions.scannerVersion','browserstack.timezone','video','59496XgvLIM','device','accessibility','DMfLj','buildIdentifier','realMobile','local','XdqLM','overridelocalInfo.userAuthToken','browserstack.simOptions','buildName','EqRRE','Nhyht','kHJLH','browserstack.testhubBuildUuid'];a175_0x22e0=function(){return _0x37b6c9;};return a175_0x22e0();}(function(_0x49a9a9,_0x55366b){var _0xec1765=a175_0x4171,_0x513264=_0x49a9a9();while(!![]){try{var _0x25560a=parseInt(_0xec1765(0xf5))/0x1+-parseInt(_0xec1765(0x8c))/0x2*(-parseInt(_0xec1765(0xa8))/0x3)+-parseInt(_0xec1765(0x7b))/0x4+-parseInt(_0xec1765(0xca))/0x5*(parseInt(_0xec1765(0xe5))/0x6)+-parseInt(_0xec1765(0xd5))/0x7+-parseInt(_0xec1765(0xc2))/0x8*(-parseInt(_0xec1765(0x7a))/0x9)+parseInt(_0xec1765(0x8a))/0xa*(parseInt(_0xec1765(0xc0))/0xb);if(_0x25560a===_0x55366b)break;else _0x513264['push'](_0x513264['shift']());}catch(_0xb3a2eb){_0x513264['push'](_0x513264['shift']());}}}(a175_0x22e0,0x71a81),exports[a175_0x3f05b5(0xcc)]=()=>{var _0x544c31=a175_0x3f05b5,_0x3e60b={};_0x3e60b[_0x544c31(0xbb)]=_0x544c31(0x7c),_0x3e60b['keKBX']=_0x544c31(0xb8),_0x3e60b[_0x544c31(0x97)]=_0x544c31(0xe2),_0x3e60b['INjxD']='browser',_0x3e60b[_0x544c31(0xf6)]='browserVersion',_0x3e60b[_0x544c31(0x92)]=_0x544c31(0xf9),_0x3e60b[_0x544c31(0xec)]=_0x544c31(0xa3),_0x3e60b[_0x544c31(0xaf)]=_0x544c31(0xb2),_0x3e60b[_0x544c31(0xa4)]=_0x544c31(0x88),_0x3e60b[_0x544c31(0xef)]=_0x544c31(0xae),_0x3e60b[_0x544c31(0x96)]=_0x544c31(0xba),_0x3e60b[_0x544c31(0x95)]=_0x544c31(0xcd),_0x3e60b[_0x544c31(0xf0)]='consoleLogs',_0x3e60b['MsxHY']=_0x544c31(0xa2),_0x3e60b[_0x544c31(0xe4)]='networkLogsOptions',_0x3e60b[_0x544c31(0xbc)]='appiumLogs',_0x3e60b['Woylm']=_0x544c31(0xa7),_0x3e60b[_0x544c31(0xb5)]=_0x544c31(0x7f),_0x3e60b['UkHxg']=_0x544c31(0xbf),_0x3e60b['zSSeX']=_0x544c31(0x82),_0x3e60b[_0x544c31(0xe1)]=_0x544c31(0xe6),_0x3e60b['WPwKt']=_0x544c31(0xc8),_0x3e60b[_0x544c31(0xfa)]='seleniumVersion',_0x3e60b[_0x544c31(0xe0)]=_0x544c31(0x7d),_0x3e60b['XfJQU']='idleTimeout',_0x3e60b['xUBIH']='maskBasicAuth',_0x3e60b[_0x544c31(0xab)]=_0x544c31(0xc5),_0x3e60b[_0x544c31(0xff)]='hosts',_0x3e60b['oMGop']='bfcache',_0x3e60b[_0x544c31(0x83)]=_0x544c31(0xfb),_0x3e60b[_0x544c31(0xda)]='disableCorsRestrictions',_0x3e60b[_0x544c31(0x8e)]=_0x544c31(0x89),_0x3e60b[_0x544c31(0x87)]='realMobile',_0x3e60b[_0x544c31(0xd0)]='appiumVersion',_0x3e60b[_0x544c31(0xdb)]='deviceOrientation',_0x3e60b[_0x544c31(0x94)]=_0x544c31(0xee),_0x3e60b[_0x544c31(0x84)]=_0x544c31(0xf4),_0x3e60b[_0x544c31(0x8f)]=_0x544c31(0xac),_0x3e60b[_0x544c31(0x9d)]=_0x544c31(0x99),_0x3e60b[_0x544c31(0x100)]=_0x544c31(0xaa),_0x3e60b['WNuwp']=_0x544c31(0x8b),_0x3e60b[_0x544c31(0x103)]='testhubBuildUuid',_0x3e60b['dZyyX']=_0x544c31(0x9a),_0x3e60b[_0x544c31(0xe8)]=_0x544c31(0xa5),_0x3e60b['SBcNd']=_0x544c31(0xc4),_0x3e60b[_0x544c31(0xb3)]=_0x544c31(0xcb),_0x3e60b[_0x544c31(0xf2)]=_0x544c31(0x93),_0x3e60b[_0x544c31(0xf1)]='accessibilityOptions.authToken',_0x3e60b[_0x544c31(0xb4)]=_0x544c31(0xd8),_0x3e60b['rDqxK']=_0x544c31(0x80),_0x3e60b[_0x544c31(0xfd)]=_0x544c31(0x85),_0x3e60b[_0x544c31(0x101)]=_0x544c31(0x78),_0x3e60b[_0x544c31(0x9e)]=_0x544c31(0xb0),_0x3e60b[_0x544c31(0xd7)]=_0x544c31(0xf3),_0x3e60b['QtVCf']='headerParams',_0x3e60b[_0x544c31(0xe3)]='performance';var _0x3e9149=_0x3e60b,_0x2a98f7={};return _0x2a98f7['browserstack.user']=_0x3e9149[_0x544c31(0xbb)],_0x2a98f7[_0x544c31(0xfe)]=_0x3e9149['keKBX'],_0x2a98f7['os']='os',_0x2a98f7['os_version']=_0x3e9149[_0x544c31(0x97)],_0x2a98f7[_0x544c31(0xeb)]=_0x3e9149[_0x544c31(0x104)],_0x2a98f7[_0x544c31(0xb9)]=_0x3e9149[_0x544c31(0xf6)],_0x2a98f7[_0x544c31(0xd6)]=_0x3e9149[_0x544c31(0x92)],_0x2a98f7[_0x544c31(0xd3)]=_0x3e9149[_0x544c31(0xec)],_0x2a98f7['build']=_0x3e9149[_0x544c31(0xaf)],_0x2a98f7[_0x544c31(0xb7)]=_0x3e9149[_0x544c31(0xa4)],_0x2a98f7[_0x544c31(0xd4)]=_0x3e9149[_0x544c31(0xef)],_0x2a98f7[_0x544c31(0xbe)]=_0x3e9149['rmkgY'],_0x2a98f7[_0x544c31(0xc6)]=_0x3e9149['vMbee'],_0x2a98f7[_0x544c31(0x79)]=_0x3e9149[_0x544c31(0xf0)],_0x2a98f7[_0x544c31(0x91)]=_0x3e9149[_0x544c31(0xea)],_0x2a98f7[_0x544c31(0xce)]=_0x3e9149[_0x544c31(0xe4)],_0x2a98f7[_0x544c31(0x7e)]=_0x3e9149['GmLlv'],_0x2a98f7[_0x544c31(0xc1)]=_0x3e9149[_0x544c31(0xa0)],_0x2a98f7['browserstack.seleniumLogs']=_0x3e9149[_0x544c31(0xb5)],_0x2a98f7[_0x544c31(0xed)]=_0x3e9149['UkHxg'],_0x2a98f7['browserstack.geoLocation']=_0x3e9149['zSSeX'],_0x2a98f7[_0x544c31(0xa6)]=_0x3e9149[_0x544c31(0xe1)],_0x2a98f7[_0x544c31(0xc8)]=_0x3e9149[_0x544c31(0xf7)],_0x2a98f7[_0x544c31(0x9b)]=_0x3e9149[_0x544c31(0xfa)],_0x2a98f7['browserstack.maskCommands']=_0x3e9149['QmRpv'],_0x2a98f7[_0x544c31(0xdf)]=_0x3e9149[_0x544c31(0x98)],_0x2a98f7[_0x544c31(0x86)]=_0x3e9149[_0x544c31(0xdd)],_0x2a98f7[_0x544c31(0x9c)]=_0x3e9149[_0x544c31(0xab)],_0x2a98f7['browserstack.hosts']=_0x3e9149[_0x544c31(0xff)],_0x2a98f7[_0x544c31(0xbd)]=_0x3e9149['oMGop'],_0x2a98f7[_0x544c31(0xe7)]=_0x3e9149[_0x544c31(0x83)],_0x2a98f7['browserstack.disableCorsRestrictions']=_0x3e9149[_0x544c31(0xda)],_0x2a98f7[_0x544c31(0xa9)]=_0x3e9149[_0x544c31(0x8e)],_0x2a98f7[_0x544c31(0xad)]=_0x3e9149['MHdbz'],_0x2a98f7['browserstack.appium_version']=_0x3e9149[_0x544c31(0xd0)],_0x2a98f7[_0x544c31(0x102)]=_0x3e9149['RhFrM'],_0x2a98f7[_0x544c31(0xd2)]=_0x3e9149[_0x544c31(0x94)],_0x2a98f7['browserstack.networkProfile']=_0x3e9149['DcCax'],_0x2a98f7[_0x544c31(0xfc)]=_0x3e9149[_0x544c31(0x8f)],_0x2a98f7[_0x544c31(0xa1)]=_0x3e9149[_0x544c31(0x9d)],_0x2a98f7['browserstack.accessibility']=_0x3e9149['zDLTU'],_0x2a98f7[_0x544c31(0x8d)]=_0x3e9149[_0x544c31(0xde)],_0x2a98f7[_0x544c31(0xb6)]=_0x3e9149['OAAFv'],_0x2a98f7[_0x544c31(0x90)]=_0x3e9149['dZyyX'],_0x2a98f7[_0x544c31(0xc3)]=_0x3e9149[_0x544c31(0xe8)],_0x2a98f7[_0x544c31(0xc7)]=_0x3e9149[_0x544c31(0xc9)],_0x2a98f7[_0x544c31(0xd1)]=_0x3e9149[_0x544c31(0xb3)],_0x2a98f7[_0x544c31(0xd9)]=_0x3e9149[_0x544c31(0xf2)],_0x2a98f7[_0x544c31(0xcf)]=_0x3e9149[_0x544c31(0xf1)],_0x2a98f7['browserstack.uploadMedia']=_0x3e9149[_0x544c31(0xb4)],_0x2a98f7[_0x544c31(0x9f)]=_0x3e9149['rDqxK'],_0x2a98f7[_0x544c31(0xb1)]=_0x3e9149['tuTrX'],_0x2a98f7[_0x544c31(0xe9)]=_0x3e9149[_0x544c31(0x101)],_0x2a98f7[_0x544c31(0xdc)]=_0x3e9149[_0x544c31(0x9e)],_0x2a98f7[_0x544c31(0xf8)]=_0x3e9149['bvLpV'],_0x2a98f7[_0x544c31(0x81)]=_0x3e9149['QtVCf'],_0x2a98f7['browserstack.performance']=_0x3e9149[_0x544c31(0xe3)],_0x2a98f7;});
|
|
@@ -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_0x4fc156=a176_0x44a2;(function(_0x4455e6,_0x19612a){const _0x157f67=a176_0x44a2,_0x4b5297=_0x4455e6();while(!![]){try{const _0xed46f=-parseInt(_0x157f67(0x11f))/0x1+-parseInt(_0x157f67(0x178))/0x2*(-parseInt(_0x157f67(0x117))/0x3)+-parseInt(_0x157f67(0x12d))/0x4*(-parseInt(_0x157f67(0x157))/0x5)+-parseInt(_0x157f67(0x11b))/0x6+parseInt(_0x157f67(0x122))/0x7*(parseInt(_0x157f67(0x116))/0x8)+-parseInt(_0x157f67(0x150))/0x9*(-parseInt(_0x157f67(0x11e))/0xa)+-parseInt(_0x157f67(0x11d))/0xb*(parseInt(_0x157f67(0x147))/0xc);if(_0xed46f===_0x19612a)break;else _0x4b5297['push'](_0x4b5297['shift']());}catch(_0x54746c){_0x4b5297['push'](_0x4b5297['shift']());}}}(a176_0x1b57,0x9672d));function a176_0x1b57(){const _0x240d91=['./helpers/logger','latency','hubLatencies','4KBhsvV','rGzQp','fwWQQ','tbcIS','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','hubUrl','40jUiMsa','1732662KchMiG','now','HUB_URL_MAP','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','1223736NPBoDn','LeGPB','1133HAYlRg','329740TrlcKf','277551NouJhL','util','setGlobal','740075VKpvev','Jqsfb','resolve','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','debug','all','SpHcC','Response:\x20','XzGGa','ikZoy','ERROR\x20in\x20hub\x20selection:\x20','912556TvFPDV','path','TDiXo','catch','jvadl','set','hPdIQ','hubRegion','parse','\x20HUB\x20-\x20','GEQtK','puYsU','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','allSettled','Execution\x20time\x20for\x20','NEAREST\x20HUBS\x20LIST:\x20','delete','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','./helpers/helper','qzSZn','next_hubs','nextHubs','Invalid\x20new\x20HUB\x20URL:\x20','udVQM','get','findLatency','175212rqVlOy','SLLWT','DhuKN','status','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','pathname','MMGUy','getRequestOptions','https://','126UpnZyg','IUetb','hubs','value','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','allocateHub','length','10vIuaou','zFzGx','nodeRequest','check','bEtIh','newHubUrlBySession','race','IVHdS','replace','./bin/utils/constants','updateHubUrl','/wd/hub','format','hubRegion\x20','Fukhe','ZyoBL','HrhAN','HjGhI','hash','then','map','GET','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','whRlb','search','DstDb','hostname','IIoQP','BZFKZ','ZYvNE'];a176_0x1b57=function(){return _0x240d91;};return a176_0x1b57();}const url=require('url'),util=require(a176_0x4fc156(0x120)),helper=require(a176_0x4fc156(0x13f)),logger=require(a176_0x4fc156(0x175))['winstonLogger'],constants=require(a176_0x4fc156(0x160)),globals=require('./helpers/globals');function a176_0x44a2(_0x438ee1,_0x2c1558){const _0x1b5711=a176_0x1b57();return a176_0x44a2=function(_0x44a2f6,_0x4e40fb){_0x44a2f6=_0x44a2f6-0x116;let _0x2a20c1=_0x1b5711[_0x44a2f6];return _0x2a20c1;},a176_0x44a2(_0x438ee1,_0x2c1558);}global['newHubUrlBySession']=global[a176_0x4fc156(0x15c)]||new Map(),exports[a176_0x4fc156(0x14e)]=_0x5d8b2a=>{const _0x527400=a176_0x4fc156,_0x3f1696={};_0x3f1696[_0x527400(0x166)]=function(_0x304ff4,_0x5ad5aa){return _0x304ff4+_0x5ad5aa;},_0x3f1696[_0x527400(0x15e)]=_0x527400(0x143);const _0x2661f4=_0x3f1696,_0x2a663a=url[_0x527400(0x135)](_0x5d8b2a);if(!_0x2a663a[_0x527400(0x171)])throw new Error(_0x2661f4[_0x527400(0x166)](_0x2661f4['IVHdS'],_0x5d8b2a));return _0x2a663a[_0x527400(0x16f)]=null,_0x2a663a[_0x527400(0x169)]=null,_0x2a663a[_0x527400(0x12e)]=_0x2a663a[_0x527400(0x14c)],_0x2a663a;},exports[a176_0x4fc156(0x161)]=(_0x4647cc,_0x2b6251)=>{const _0x1d4075=a176_0x4fc156,_0x3c9c24={};_0x3c9c24['HjGhI']=_0x1d4075(0x139);const _0x874729=_0x3c9c24;if(!_0x2b6251){logger['debug'](_0x874729[_0x1d4075(0x168)]);return;}global[_0x1d4075(0x15c)][_0x1d4075(0x132)](_0x2b6251,_0x4647cc);},exports['consumeHubUrlForSession']=_0x8be84b=>{const _0x6e5ed1=a176_0x4fc156;if(_0x8be84b&&global[_0x6e5ed1(0x15c)]['has'](_0x8be84b)){const _0x5a7e86=global[_0x6e5ed1(0x15c)][_0x6e5ed1(0x145)](_0x8be84b);return global[_0x6e5ed1(0x15c)][_0x6e5ed1(0x13d)](_0x8be84b),_0x5a7e86;}return'';},exports[a176_0x4fc156(0x155)]=_0x392ff0=>{const _0x570b09=a176_0x4fc156,_0x51d7d5={'bEtIh':'_hubAllocationData','SLLWT':function(_0xab3c8c,_0x1190b8){return _0xab3c8c===_0x1190b8;},'IUetb':'fulfilled','XzGGa':_0x570b09(0x125),'Jqsfb':function(_0x1ed35a,_0x3b78b6){return _0x1ed35a+_0x3b78b6;},'VTMRR':_0x570b09(0x14f),'whRlb':_0x570b09(0x162),'zFzGx':function(_0x1ca881){return _0x1ca881();},'ZAxSM':function(_0x4b96a8,_0x36830f){return _0x4b96a8==_0x36830f;},'LeGPB':function(_0x3b68ba,_0x272328){return _0x3b68ba===_0x272328;},'Fukhe':function(_0x112be3,_0x5987c7){return _0x112be3!==_0x5987c7;},'IIoQP':function(_0x2a8a76){return _0x2a8a76();},'udVQM':function(_0x325f64){return _0x325f64();},'oqOvd':function(_0x2f7c57){return _0x2f7c57();}};return new Promise(_0x4a3f84=>{const _0x7dc11b=_0x570b09,_0x470f40={'puYsU':function(_0x417156,_0x3a1d69){const _0xe22767=a176_0x44a2;return _0x51d7d5[_0xe22767(0x165)](_0x417156,_0x3a1d69);},'cJZYQ':function(_0x22fa4c,_0x2f5339){return _0x51d7d5['Jqsfb'](_0x22fa4c,_0x2f5339);},'xmkOq':_0x51d7d5['VTMRR'],'MMGUy':function(_0x1afbf5){const _0x545104=a176_0x44a2;return _0x51d7d5[_0x545104(0x172)](_0x1afbf5);},'qzSZn':function(_0x12cf81){const _0x4e612d=a176_0x44a2;return _0x51d7d5[_0x4e612d(0x144)](_0x12cf81);}};if(_0x392ff0&&_0x392ff0['hubRegion']){const _0x31258b=constants[_0x7dc11b(0x119)][_0x392ff0[_0x7dc11b(0x134)]];if(_0x31258b)return constants[_0x7dc11b(0x17d)]=_0x31258b,logger[_0x7dc11b(0x126)]('HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20'+_0x31258b),globals[_0x7dc11b(0x121)](_0x51d7d5[_0x7dc11b(0x15b)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x31258b[_0x7dc11b(0x15f)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date['now']()}),_0x51d7d5['oqOvd'](_0x4a3f84);logger[_0x7dc11b(0x126)](_0x7dc11b(0x164)+_0x392ff0[_0x7dc11b(0x134)]+_0x7dc11b(0x16d));}Promise[_0x7dc11b(0x124)](this[_0x7dc11b(0x142)](_0x392ff0))[_0x7dc11b(0x16a)](_0x270d0c=>{const _0x2851c7=_0x7dc11b,_0x3321a0={'rGzQp':_0x51d7d5[_0x2851c7(0x15b)],'ikZoy':function(_0x15cdf6,_0x2c5373){const _0x32e658=_0x2851c7;return _0x51d7d5[_0x32e658(0x148)](_0x15cdf6,_0x2c5373);},'GEQtK':_0x51d7d5[_0x2851c7(0x151)],'TDiXo':_0x51d7d5[_0x2851c7(0x12a)],'HrhAN':function(_0x5e5457,_0x457344){const _0x27a256=_0x2851c7;return _0x51d7d5[_0x27a256(0x123)](_0x5e5457,_0x457344);},'CSPAu':_0x51d7d5['VTMRR'],'DhuKN':_0x51d7d5[_0x2851c7(0x16e)],'BZFKZ':function(_0x27625a){const _0x528709=_0x2851c7;return _0x51d7d5[_0x528709(0x158)](_0x27625a);}};logger[_0x2851c7(0x126)](_0x2851c7(0x13c)+util[_0x2851c7(0x163)]('%j',_0x270d0c));if(_0x51d7d5['ZAxSM'](_0x270d0c,null)||_0x51d7d5[_0x2851c7(0x11c)](_0x270d0c[_0x2851c7(0x156)],0x0))return _0x51d7d5['zFzGx'](_0x4a3f84);const _0x3527cd=_0x270d0c['map'](_0x2b76c4=>{const _0x3ae7bc=_0x2851c7,_0x3dbd5b={'ZYvNE':function(_0x11b24e,_0x52ee0b){const _0x731b17=a176_0x44a2;return _0x470f40[_0x731b17(0x138)](_0x11b24e,_0x52ee0b);}},_0x2b279f=_0x470f40['cJZYQ'](_0x470f40['xmkOq'],_0x2b76c4);return this[_0x3ae7bc(0x146)](_0x392ff0,_0x2b279f)[_0x3ae7bc(0x16a)](_0xfcf136=>{const _0x153e32=_0x3ae7bc;if(_0xfcf136&&_0xfcf136[_0x153e32(0x17d)]&&_0x3dbd5b[_0x153e32(0x174)](_0xfcf136[_0x153e32(0x176)],undefined)){const _0x3530be={};return _0x3530be['hubUrl']=_0xfcf136[_0x153e32(0x17d)],_0x3530be[_0x153e32(0x176)]=_0xfcf136[_0x153e32(0x176)],_0x3530be['ok']=!![],_0x3530be;}const _0x330094={};return _0x330094[_0x153e32(0x17d)]=_0x2b279f,_0x330094[_0x153e32(0x176)]=null,_0x330094['ok']=![],_0x330094;})[_0x3ae7bc(0x130)](()=>({'hubUrl':_0x2b279f,'latency':null,'ok':![]}));});Promise[_0x2851c7(0x15d)](_0x3527cd[_0x2851c7(0x16b)](_0x450ddd=>_0x450ddd[_0x2851c7(0x16a)](_0x256747=>_0x256747['ok']?_0x256747:null)))[_0x2851c7(0x16a)](_0x524573=>{const _0x2825b5=_0x2851c7;if(_0x524573)return _0x524573;return Promise[_0x2825b5(0x127)](_0x3527cd)[_0x2825b5(0x16a)](()=>null);})[_0x2851c7(0x16a)](_0xbc14d8=>{const _0x46be44=_0x2851c7;if(!_0xbc14d8){logger[_0x46be44(0x126)](_0x3321a0[_0x46be44(0x12f)]);const _0xb3afaa=_0x3321a0[_0x46be44(0x167)](_0x3321a0['CSPAu'],_0x270d0c[0x0]);return globals[_0x46be44(0x121)](_0x3321a0[_0x46be44(0x179)],{'nearestHubs':_0x270d0c[_0x46be44(0x16b)](_0x441c5b=>_0x46be44(0x14f)+_0x441c5b),'hubLatencies':{},'selectedHub':_0xb3afaa,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0x46be44(0x118)]()}),constants[_0x46be44(0x17d)]=_0x3321a0['HrhAN'](_0xb3afaa,_0x3321a0['DhuKN']),logger[_0x46be44(0x126)]('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0xb3afaa),_0x3321a0[_0x46be44(0x173)](_0x4a3f84);}const _0x2ab484={[_0xbc14d8[_0x46be44(0x17d)]]:_0xbc14d8[_0x46be44(0x176)]},_0x159bc6={'nearestHubs':_0x270d0c[_0x46be44(0x16b)](_0x8d4f47=>_0x46be44(0x14f)+_0x8d4f47),'hubLatencies':_0x2ab484,'selectedHub':_0xbc14d8[_0x46be44(0x17d)],'selectedHubLatency':_0xbc14d8[_0x46be44(0x176)],'timestamp':Date[_0x46be44(0x118)]()};globals[_0x46be44(0x121)](_0x3321a0[_0x46be44(0x179)],_0x159bc6),constants['hubUrl']=_0x3321a0['HrhAN'](_0xbc14d8[_0x46be44(0x17d)],_0x3321a0[_0x46be44(0x149)]),logger[_0x46be44(0x126)]('HUB\x20URL\x20SET\x20TO\x20-\x20'+_0xbc14d8[_0x46be44(0x17d)]),_0x3321a0[_0x46be44(0x173)](_0x4a3f84),Promise[_0x46be44(0x13a)](_0x3527cd)[_0x46be44(0x16a)](_0x1db670=>{const _0x1fb851=_0x46be44;try{const _0x3d1201=globals['getGlobal'](_0x3321a0[_0x1fb851(0x179)]);if(!_0x3d1201||_0x3d1201['skipped'])return;const _0x33fe4d={};for(const _0x15e475 of _0x1db670){_0x3321a0[_0x1fb851(0x12b)](_0x15e475[_0x1fb851(0x14a)],_0x3321a0[_0x1fb851(0x137)])&&_0x15e475[_0x1fb851(0x153)]&&_0x15e475[_0x1fb851(0x153)]['ok']&&(_0x33fe4d[_0x15e475['value'][_0x1fb851(0x17d)]]=_0x15e475[_0x1fb851(0x153)][_0x1fb851(0x176)]);}_0x3d1201[_0x1fb851(0x177)]=_0x33fe4d;}catch(_0x5cf556){logger[_0x1fb851(0x126)](_0x1fb851(0x154)+_0x5cf556);}})['catch'](_0x48b38e=>{const _0x1be12f=_0x46be44;logger[_0x1be12f(0x126)](_0x1be12f(0x14b)+_0x48b38e);});})['catch'](_0xee7821=>{const _0x48487c=_0x2851c7;logger[_0x48487c(0x126)](_0x48487c(0x12c)+_0xee7821),_0x470f40[_0x48487c(0x14d)](_0x4a3f84);});})[_0x7dc11b(0x130)](_0x585d22=>{const _0x2429a7=_0x7dc11b;logger[_0x2429a7(0x126)](_0x2429a7(0x17c)+_0x585d22),_0x470f40[_0x2429a7(0x140)](_0x4a3f84);});});},exports[a176_0x4fc156(0x146)]=async(_0xadd5f5,_0x57e540)=>{const _0x4f2acc=a176_0x4fc156,_0x39732d={};_0x39732d['fwWQQ']=_0x4f2acc(0x16c),_0x39732d[_0x4f2acc(0x170)]=_0x4f2acc(0x15a),_0x39732d['SpHcC']=function(_0x57b91e,_0x13777d){return _0x57b91e-_0x13777d;};const _0x5823c2=_0x39732d;try{const _0x1820d0=new Date();await helper[_0x4f2acc(0x159)](_0x5823c2[_0x4f2acc(0x17a)],_0x5823c2[_0x4f2acc(0x170)],{},_0xadd5f5,_0x57e540,0x1388);const _0xc79415=_0x5823c2[_0x4f2acc(0x128)](new Date(),_0x1820d0);logger[_0x4f2acc(0x126)](_0x4f2acc(0x13b)+_0x57e540+'\x20is:\x20'+_0xc79415+'ms');const _0x1f7f69={};return _0x1f7f69[_0x4f2acc(0x17d)]=_0x57e540,_0x1f7f69[_0x4f2acc(0x176)]=_0xc79415,_0x1f7f69;}catch(_0x20615f){return logger[_0x4f2acc(0x126)](_0x4f2acc(0x13e)+_0x57e540+_0x4f2acc(0x136)+_0x20615f),{};}},exports[a176_0x4fc156(0x142)]=async _0x3b31bd=>{const _0x111edc=a176_0x4fc156,_0x40b1d9={'hPdIQ':function(_0x586084,_0x4cdfff){return _0x586084(_0x4cdfff);},'CYqap':'./bin/utils/constants','SkSCQ':_0x111edc(0x162),'tbcIS':_0x111edc(0x16c),'jvadl':_0x111edc(0x141)};try{const _0x2e503d=_0x40b1d9[_0x111edc(0x133)](require,_0x40b1d9['CYqap'])[_0x111edc(0x17d)][_0x111edc(0x15f)](_0x40b1d9['SkSCQ'],''),_0x10d0d4=await helper[_0x111edc(0x159)](_0x40b1d9[_0x111edc(0x17b)],_0x40b1d9[_0x111edc(0x131)],{},_0x3b31bd,_0x2e503d,0x1388),_0x54ae68=_0x10d0d4['data'];return logger[_0x111edc(0x126)](_0x111edc(0x129)+util[_0x111edc(0x163)]('%j',_0x54ae68)),_0x54ae68[_0x111edc(0x152)];}catch(_0xad4fcc){logger[_0x111edc(0x126)](_0x111edc(0x11a)+_0xad4fcc);}return null;};
|