browserstack-node-sdk 1.53.5 → 1.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +4 -3
- 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/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/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/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/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/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/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/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/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/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
|
|
1
|
+
function a49_0x4590(){const _0x38b0e3=['stringify','../../helpers/helper','9857960veydjT','path','yMNyP','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','../../helpers/logger','entries','558004BOYStH','apply','3vwGcOo','parse','../v2/browserstackCLI','../../helpers/test-observability/utils','caps','capabilities','exports','eeAea','platformDetails','cloudProvider','debug','sessionId','../v2/state/hookState.js','toString','4830063qgqdUx','unknown_grid','platformName','assign','EbkJT','65547jvuOHv','Error\x20in\x20patchConnection:\x20','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','platformVersion','url','../v2/state/automationFrameworkState.js','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','includes','onmessage','result','patchConnection','local_grid','744sMxpFO','UloIj','JoHgS','OYaSz','params','VGpVT','product','BSTACK_ATS_URL','browser_version','fromEntries','407806tOuCQj','turboscale','util','message','browserName','9FsOwAQ','qcPAn','3745644WjRKKG','WgvOM','platform_version','browser','format','Ufbdn','Gwcqc','platform','zZLGO','bsSessionId','_bstackPatched','ATS_WSS_URL_REGEX','function','hnrJs','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','eXpnz','browserstack','_connection','bsParams','azQpL','CuPRT','chrome','PLAYWRIGHT_DISPATCH','POST','sessionError','isRunning','aQYvo','Setting\x20session\x20id\x20received\x20from\x20BS\x20','getDetails','bStackParams','jjYbn','currentSessionDetails','version','buFKh','getAutomationFramework','1691870VRffDY'];a49_0x4590=function(){return _0x38b0e3;};return a49_0x4590();}const a49_0x3f1f59=a49_0xb1db;(function(_0x3011fe,_0x6037d9){const _0x2daeed=a49_0xb1db,_0x3a57c8=_0x3011fe();while(!![]){try{const _0x54ecec=parseInt(_0x2daeed(0x191))/0x1*(-parseInt(_0x2daeed(0x15c))/0x2)+-parseInt(_0x2daeed(0x161))/0x3*(-parseInt(_0x2daeed(0x18f))/0x4)+-parseInt(_0x2daeed(0x186))/0x5+parseInt(_0x2daeed(0x163))/0x6+parseInt(_0x2daeed(0x19f))/0x7+-parseInt(_0x2daeed(0x152))/0x8*(-parseInt(_0x2daeed(0x1a4))/0x9)+-parseInt(_0x2daeed(0x189))/0xa;if(_0x54ecec===_0x6037d9)break;else _0x3a57c8['push'](_0x3a57c8['shift']());}catch(_0x4fec22){_0x3a57c8['push'](_0x3a57c8['shift']());}}}(a49_0x4590,0x73c72));const path=require(a49_0x3f1f59(0x18a)),url=require(a49_0x3f1f59(0x14a)),util=require(a49_0x3f1f59(0x15e)),{nestedKeyValue,isFalse}=require(a49_0x3f1f59(0x188)),{debug,getPlatformDetails}=require(a49_0x3f1f59(0x194)),logger=require(a49_0x3f1f59(0x18d))['winstonLogger'],constants=require('../utils/constants'),BrowserstackCLI=require(a49_0x3f1f59(0x193)),AutomationFrameworkState=require(a49_0x3f1f59(0x14b)),HookState=require(a49_0x3f1f59(0x19d)),getBrowserFromWSEndpoint=_0x39028e=>{const _0x3261b6=a49_0x3f1f59,_0x2d63ea={'jNCad':_0x3261b6(0x178),'buFKh':function(_0x1e6612,_0x5bfc6f){return _0x1e6612(_0x5bfc6f);}};try{const _0x5c6f73=url[_0x3261b6(0x192)](_0x39028e),_0x51baad=new URLSearchParams(_0x5c6f73['query']),_0x52cfee=Object[_0x3261b6(0x15b)](_0x51baad[_0x3261b6(0x18e)]()),_0x4aa3c5=JSON[_0x3261b6(0x192)](_0x52cfee[_0x3261b6(0x195)]);if(_0x4aa3c5&&(_0x4aa3c5[_0x3261b6(0x166)]||_0x4aa3c5[_0x3261b6(0x160)]))return _0x4aa3c5[_0x3261b6(0x166)]||_0x4aa3c5[_0x3261b6(0x160)];return _0x2d63ea['jNCad'];}catch(_0x50db7d){_0x2d63ea[_0x3261b6(0x184)](debug,_0x3261b6(0x171)+_0x50db7d[_0x3261b6(0x19e)]());}},getCloudProviderFromWsEndpoint=_0x191b21=>{const _0x588c1f=a49_0x3f1f59,_0xcf5213={};_0xcf5213[_0x588c1f(0x177)]=_0x588c1f(0x173),_0xcf5213['EjTOd']=_0x588c1f(0x1a0);const _0x438ec8=_0xcf5213;if(_0x191b21['includes'](constants['BSTACK_URL'])||_0x191b21[_0x588c1f(0x14d)](constants[_0x588c1f(0x159)]))return _0x438ec8[_0x588c1f(0x177)];return _0x438ec8['EjTOd'];},a49_0x5489ac={};a49_0x5489ac[a49_0x3f1f59(0x19a)]=undefined,a49_0x5489ac[a49_0x3f1f59(0x16c)]=undefined,a49_0x5489ac['browser']=undefined,a49_0x5489ac[a49_0x3f1f59(0x15a)]=undefined,a49_0x5489ac['platform']=undefined,a49_0x5489ac[a49_0x3f1f59(0x165)]=undefined,a49_0x5489ac[a49_0x3f1f59(0x158)]=undefined,a49_0x5489ac[a49_0x3f1f59(0x196)]={};class PuppeteerSessionDetails{static [a49_0x3f1f59(0x182)]=a49_0x5489ac;constructor(){const _0x4c4482=a49_0x3f1f59,_0x4d88d6={};_0x4d88d6[_0x4c4482(0x153)]=_0x4c4482(0x14c);const _0x351b86=_0x4d88d6;throw new Error(_0x351b86['UloIj']);}static [a49_0x3f1f59(0x17b)]=null;static async['setupBrowserDetails'](_0x3af8f3,_0x3dde2f){const _0x2db9d4=a49_0x3f1f59,_0x20074b={'yMNyP':_0x2db9d4(0x178),'aQYvo':function(_0x4f1740,_0x13f34c){return _0x4f1740===_0x13f34c;},'IhoyP':_0x2db9d4(0x16f),'hnrJs':_0x2db9d4(0x151),'Davvy':function(_0x2444b6,_0x170875){return _0x2444b6(_0x170875);},'eeAea':function(_0x3ce65e,_0x7e3c3f){return _0x3ce65e===_0x7e3c3f;},'zZLGO':_0x2db9d4(0x173),'LsxYE':_0x2db9d4(0x15d),'Gwcqc':'automate','eXpnz':function(_0x9b915a,_0x1a630b){return _0x9b915a(_0x1a630b);},'azQpL':function(_0x26a015){return _0x26a015();},'OYaSz':function(_0x16c107){return _0x16c107();},'Ufbdn':function(_0x1226a5,_0x548874){return _0x1226a5(_0x548874);}};try{let _0x44c6ea=_0x20074b[_0x2db9d4(0x18b)],_0x5bfac1=null;_0x3af8f3&&_0x20074b[_0x2db9d4(0x17d)](typeof _0x3af8f3[_0x2db9d4(0x183)],_0x20074b['IhoyP'])&&(_0x5bfac1=await _0x3af8f3['version']());let _0x2813a3=null,_0x503c7a=null,_0x50c9ac=null,_0x541bde=_0x20074b[_0x2db9d4(0x170)];if(_0x3dde2f){_0x541bde=_0x20074b['Davvy'](getCloudProviderFromWsEndpoint,_0x3dde2f);if(_0x20074b[_0x2db9d4(0x198)](_0x541bde,_0x20074b[_0x2db9d4(0x16b)]))_0x50c9ac=constants[_0x2db9d4(0x16e)]?constants[_0x2db9d4(0x16e)]['test'](_0x3dde2f)?_0x20074b['LsxYE']:_0x20074b[_0x2db9d4(0x169)]:_0x20074b['Gwcqc'],_0x44c6ea=_0x20074b[_0x2db9d4(0x172)](getBrowserFromWSEndpoint,_0x3dde2f)||_0x44c6ea,_0x2813a3=this[_0x2db9d4(0x182)][_0x2db9d4(0x16a)],_0x503c7a=this[_0x2db9d4(0x182)][_0x2db9d4(0x165)];else{const _0x5d64f5=await _0x20074b[_0x2db9d4(0x176)](getPlatformDetails);_0x2813a3=_0x5d64f5['platformName'],_0x503c7a=_0x5d64f5[_0x2db9d4(0x149)];}}else{const _0x531dc8=await _0x20074b[_0x2db9d4(0x155)](getPlatformDetails);_0x2813a3=_0x531dc8[_0x2db9d4(0x1a1)],_0x503c7a=_0x531dc8[_0x2db9d4(0x149)];}const _0x9fc6f4={};_0x9fc6f4[_0x2db9d4(0x166)]=_0x44c6ea,_0x9fc6f4['browser_version']=_0x5bfac1,_0x9fc6f4[_0x2db9d4(0x196)]={},_0x9fc6f4[_0x2db9d4(0x16a)]=_0x2813a3,_0x9fc6f4['platform_version']=_0x503c7a,_0x9fc6f4[_0x2db9d4(0x158)]=_0x50c9ac;const _0x2321f0=_0x9fc6f4,_0x2ecac6={};_0x2ecac6['cloudProvider']=_0x541bde,this[_0x2db9d4(0x182)]=Object[_0x2db9d4(0x1a2)]({},this[_0x2db9d4(0x182)],_0x2ecac6,_0x2321f0);}catch(_0x265d97){_0x20074b[_0x2db9d4(0x168)](debug,'Error\x20in\x20setupBrowserDetails:\x20'+util[_0x2db9d4(0x167)](_0x265d97)),this[_0x2db9d4(0x17b)]=_0x265d97[_0x2db9d4(0x19e)]();}}static[a49_0x3f1f59(0x150)](_0x264cd4){const _0x5263ec=a49_0x3f1f59,_0xe4035c={'JoHgS':function(_0xe3e2dd,_0x4ebcaa){return _0xe3e2dd===_0x4ebcaa;},'jjYbn':'string','WgvOM':function(_0x26431e,_0x40bca5){return _0x26431e(_0x40bca5);},'qcPAn':function(_0x3cb588,_0x1b354d){return _0x3cb588(_0x1b354d);},'EbkJT':_0x5263ec(0x1a6),'VGpVT':function(_0x2bb843,_0xb981d3){return _0x2bb843(_0xb981d3);}},_0x20c33f=this;try{const _0x5cb799=_0x264cd4[_0x5263ec(0x174)]||_0x264cd4['connection'];if(!_0x5cb799||_0x5cb799[_0x5263ec(0x16d)])return;const _0x3274fb=_0x5cb799[_0x5263ec(0x14e)];_0x5cb799[_0x5263ec(0x14e)]=function(_0x7ff83f){const _0xe8107a=_0x5263ec;try{const _0x2d27c9=_0xe4035c[_0xe8107a(0x154)](typeof _0x7ff83f,_0xe4035c['jjYbn'])?JSON[_0xe8107a(0x192)](_0x7ff83f):_0x7ff83f,_0x199ed8=_0x2d27c9?.['bStackParams']||_0x2d27c9?.[_0xe8107a(0x175)]||_0x2d27c9?.['params']?.[_0xe8107a(0x175)]||_0x2d27c9?.['params']?.['bStackParams']||_0x2d27c9?.[_0xe8107a(0x14f)]?.[_0xe8107a(0x175)]||_0x2d27c9?.[_0xe8107a(0x14f)]?.[_0xe8107a(0x180)];if(_0x199ed8){if(BrowserstackCLI['getInstance']()[_0xe8107a(0x17c)]()){const _0xd6ab6f={};_0xd6ab6f[_0xe8107a(0x15f)]=_0x2d27c9,BrowserstackCLI['getInstance']()[_0xe8107a(0x185)]()['trackEvent'](AutomationFrameworkState[_0xe8107a(0x179)],HookState[_0xe8107a(0x17a)],_0xd6ab6f);}else{const _0x174f51=_0x199ed8[_0xe8107a(0x19c)],_0x477b72=_0x199ed8[_0xe8107a(0x199)];_0x477b72&&(_0xe4035c[_0xe8107a(0x164)](debug,_0xe8107a(0x18c)+JSON[_0xe8107a(0x187)](_0x477b72)),_0x20c33f[_0xe8107a(0x182)]['platform']=_0x477b72[_0xe8107a(0x1a1)],_0x20c33f['currentSessionDetails'][_0xe8107a(0x165)]=_0x477b72['platformVersion']),_0x174f51&&(_0xe4035c[_0xe8107a(0x164)](debug,_0xe8107a(0x17e)+_0x174f51),_0x20c33f[_0xe8107a(0x182)][_0xe8107a(0x16c)]=_0x174f51);}_0xe4035c[_0xe8107a(0x154)](typeof _0x7ff83f,_0xe4035c[_0xe8107a(0x181)])&&(delete _0x2d27c9['bStackParams'],delete _0x2d27c9[_0xe8107a(0x175)],_0x2d27c9['params']&&(delete _0x2d27c9['params'][_0xe8107a(0x175)],delete _0x2d27c9[_0xe8107a(0x156)]['bStackParams']),_0x2d27c9['result']&&(delete _0x2d27c9[_0xe8107a(0x14f)][_0xe8107a(0x175)],delete _0x2d27c9[_0xe8107a(0x14f)]['bStackParams']));}}catch(_0x486fe4){_0xe4035c[_0xe8107a(0x162)](debug,'Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20'+_0x486fe4[_0xe8107a(0x15f)]);}return _0x3274fb?.[_0xe8107a(0x190)](this,arguments);},_0x5cb799['_bstackPatched']=!![],logger[_0x5263ec(0x19b)](_0xe4035c[_0x5263ec(0x1a3)]);}catch(_0x3d8a66){_0xe4035c[_0x5263ec(0x157)](debug,_0x5263ec(0x1a5)+util[_0x5263ec(0x167)](_0x3d8a66)),_0x20c33f[_0x5263ec(0x17b)]=_0x3d8a66[_0x5263ec(0x19e)]();}}static[a49_0x3f1f59(0x17f)](){const _0x12a7c6=a49_0x3f1f59;return this[_0x12a7c6(0x182)];}}function a49_0xb1db(_0x54234e,_0x311f7a){const _0x45904f=a49_0x4590();return a49_0xb1db=function(_0xb1db6,_0x2faaff){_0xb1db6=_0xb1db6-0x149;let _0xf5fb8e=_0x45904f[_0xb1db6];return _0xf5fb8e;},a49_0xb1db(_0x54234e,_0x311f7a);}module[a49_0x3f1f59(0x197)]=PuppeteerSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a50_0x1e8435=a50_0xe105;(function(_0x201aea,_0x518ed1){const _0x4dbbcf=a50_0xe105,_0x2996f7=_0x201aea();while(!![]){try{const _0x5d63a9=-parseInt(_0x4dbbcf(0x123))/0x1*(parseInt(_0x4dbbcf(0x125))/0x2)+parseInt(_0x4dbbcf(0x135))/0x3*(-parseInt(_0x4dbbcf(0x124))/0x4)+-parseInt(_0x4dbbcf(0x117))/0x5*(parseInt(_0x4dbbcf(0x10e))/0x6)+parseInt(_0x4dbbcf(0x11c))/0x7*(parseInt(_0x4dbbcf(0x121))/0x8)+-parseInt(_0x4dbbcf(0x114))/0x9+parseInt(_0x4dbbcf(0x131))/0xa+parseInt(_0x4dbbcf(0x115))/0xb;if(_0x5d63a9===_0x518ed1)break;else _0x2996f7['push'](_0x2996f7['shift']());}catch(_0x688900){_0x2996f7['push'](_0x2996f7['shift']());}}}(a50_0x4a67,0xbe92b));const {isTrue,isBrowserstackInfra}=require(a50_0x1e8435(0x11a)),setKeepAlive=require(a50_0x1e8435(0x112)),util=require('util'),logger=require(a50_0x1e8435(0x12a))[a50_0x1e8435(0x10c)],{shouldProcessEventForTesthub}=require(a50_0x1e8435(0x133)),{addRequestSpy}=require(a50_0x1e8435(0x113)),a50_0x14ad2b={};a50_0x14ad2b['workerInfo']=undefined,a50_0x14ad2b[a50_0x1e8435(0x11f)]={},a50_0x14ad2b[a50_0x1e8435(0x12b)]=![],a50_0x14ad2b[a50_0x1e8435(0x122)]=null,a50_0x14ad2b['isPageFixture']=![],a50_0x14ad2b[a50_0x1e8435(0x11f)]['id']=undefined,a50_0x14ad2b[a50_0x1e8435(0x11f)]['testInfo']=undefined;const workerDetails=a50_0x14ad2b;global[a50_0x1e8435(0x120)]=workerDetails;function a50_0xe105(_0x233670,_0x29dead){const _0x4a6701=a50_0x4a67();return a50_0xe105=function(_0xe105d7,_0x1ad46a){_0xe105d7=_0xe105d7-0x10b;let _0x43702c=_0x4a6701[_0xe105d7];return _0x43702c;},a50_0xe105(_0x233670,_0x29dead);}let puppeteerPatcher=null;function a50_0x4a67(){const _0x41aea7=['../../helpers/setKeepAlive','../../helpers/test-observability/utils','2036313XnLuhU','5189085QiXIOi','../v2/browserstackCLI','5QoQdtZ','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','__skipSessionStatus','../../helpers/helper','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','7rqfxnD','skipSessionName','format','currentTest','__workerDetails','11928496QARcZu','pwPage','1949sRpboH','19284OUlEhZ','668bLxeOA','../utils/constants','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','../v2/cliUtils','__skipSessionName','../../helpers/logger','o11ySyncDone','getPackageVersion','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','debug','setFrameworkDetail','initializePuppeteerPatching','9290110iPieoG','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','../../helpers/testhub/utils','puppeteer-core','171yQpMuk','getInstance','env','winstonLogger','jestConfig','5755206ZRjJxn','catch','true','PUPPETEER'];a50_0x4a67=function(){return _0x41aea7;};return a50_0x4a67();}setKeepAlive();if(global['jestConfig'])try{isBrowserstackInfra()?(global[a50_0x1e8435(0x129)]=isTrue(global[a50_0x1e8435(0x10d)]?.[a50_0x1e8435(0x11d)]),global['__skipSessionStatus']=isTrue(global['jestConfig']?.['skipSessionStatus'])):(global[a50_0x1e8435(0x129)]=!![],global[a50_0x1e8435(0x119)]=!![]);const helper=require(a50_0x1e8435(0x11a)),puppeteerVersion=helper[a50_0x1e8435(0x12c)]('puppeteer')||helper['getPackageVersion'](a50_0x1e8435(0x134));if(puppeteerVersion)try{logger[a50_0x1e8435(0x12e)](a50_0x1e8435(0x12d)),puppeteerPatcher=require('../utils/puppeteer-patcher'),puppeteerPatcher[a50_0x1e8435(0x130)](global['jestConfig']),logger[a50_0x1e8435(0x12e)](a50_0x1e8435(0x11b));}catch(a50_0x445292){logger[a50_0x1e8435(0x12e)]('[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20'+util[a50_0x1e8435(0x11e)](a50_0x445292));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a50_0x1e8435(0x116)),CLIUtils=require(a50_0x1e8435(0x128)),{FRAMEWORKS}=require(a50_0x1e8435(0x126));BrowserstackCLI[a50_0x1e8435(0x136)]()['isCliEnabled']()&&(logger['debug'](a50_0x1e8435(0x118)),process[a50_0x1e8435(0x10b)]['BROWSERSTACK_PUPPETEER']=a50_0x1e8435(0x110),CLIUtils[a50_0x1e8435(0x12f)](FRAMEWORKS['JEST'],FRAMEWORKS[a50_0x1e8435(0x111)]),BrowserstackCLI['getInstance']()['bootstrap']()[a50_0x1e8435(0x10f)](_0x45b3b9=>{const _0x254a01=a50_0x1e8435;logger['debug'](_0x254a01(0x132)+util['format'](_0x45b3b9));}));}catch(a50_0x151e85){logger[a50_0x1e8435(0x12e)]('[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[a50_0x1e8435(0x11e)](a50_0x151e85));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a50_0x39cfbd){logger[a50_0x1e8435(0x12e)]('[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20'+util[a50_0x1e8435(0x11e)](a50_0x39cfbd));}logger[a50_0x1e8435(0x12e)](a50_0x1e8435(0x127));
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a51_0x43318f=a51_0x5d28;(function(_0x29377d,_0x310dcc){const _0x44d8c5=a51_0x5d28,_0x5050ee=_0x29377d();while(!![]){try{const _0x22ebe1=-parseInt(_0x44d8c5(0x157))/0x1+parseInt(_0x44d8c5(0xfc))/0x2*(parseInt(_0x44d8c5(0x110))/0x3)+parseInt(_0x44d8c5(0x119))/0x4*(-parseInt(_0x44d8c5(0x140))/0x5)+-parseInt(_0x44d8c5(0x133))/0x6+parseInt(_0x44d8c5(0x13a))/0x7+-parseInt(_0x44d8c5(0x15c))/0x8+-parseInt(_0x44d8c5(0x149))/0x9*(-parseInt(_0x44d8c5(0x10a))/0xa);if(_0x22ebe1===_0x310dcc)break;else _0x5050ee['push'](_0x5050ee['shift']());}catch(_0x48193d){_0x5050ee['push'](_0x5050ee['shift']());}}}(a51_0x8ea8,0x39ac6));const fs=require('fs'),path=require('path'),util=require('util'),spawn=require(a51_0x43318f(0x128))[a51_0x43318f(0x10b)],{requireModule}=require(a51_0x43318f(0x135)),PerformanceTester=require(a51_0x43318f(0x144)),PerformanceEvents=require(a51_0x43318f(0x175))['EVENTS'],helper=require(a51_0x43318f(0x135)),utilities=require(a51_0x43318f(0x13e)),{default:BrowserStackSetup}=require(a51_0x43318f(0x17d)),{FRAMEWORKS}=require(a51_0x43318f(0x117)),runIntegrations=require('./integrations/command'),yargs=require(a51_0x43318f(0x15e)),Constants=require('./utils/constants'),BrowserstackCLI=require(a51_0x43318f(0x173)),logger=require(a51_0x43318f(0x126))[a51_0x43318f(0x182)],origArgs=Object['assign']([],process[a51_0x43318f(0x116)]),captureError=async(_0x22671a,_0x344ea7,_0x5bf652,_0xd60811=null,_0x269c56=![])=>{const _0x5428e9=a51_0x43318f,_0x2e3505={'cMOCu':function(_0x2e5a20,_0x597757,_0x1d2697,_0x43faf8){return _0x2e5a20(_0x597757,_0x1d2697,_0x43faf8);},'PHgXC':'SDKTestSuccessful'};try{logger[_0x5428e9(0x183)](_0x5428e9(0x13b)+origArgs[_0x5428e9(0x14b)]('\x20')),await _0x2e3505[_0x5428e9(0xfe)](_0x22671a,_0x344ea7,_0xd60811,_0x5bf652);}catch(_0x167b01){process['exitCode']=0x1,logger['error'](util[_0x5428e9(0x13f)](_0x167b01));const _0x1771b0={'globalException':util['format']('%j',_0x167b01)};PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x5428e9(0x13f)](_0x167b01));if(helper[_0x5428e9(0xed)](global['config'])&&helper[_0x5428e9(0xed)](global[_0x5428e9(0x130)]))return;try{utilities[_0x5428e9(0x132)](_0x2e3505[_0x5428e9(0x15a)],_0x1771b0,global[_0x5428e9(0x181)],global[_0x5428e9(0x130)]);}catch(_0x521481){logger[_0x5428e9(0x184)](_0x5428e9(0x12f)+_0x521481[_0x5428e9(0x11c)]);}try{await helper[_0x5428e9(0x16e)](global[_0x5428e9(0x181)]);}catch(_0x442258){logger[_0x5428e9(0x184)](_0x5428e9(0x16f)+_0x442258[_0x5428e9(0x11c)]);}PerformanceTester[_0x5428e9(0x136)](PerformanceEvents[_0x5428e9(0xfd)],![],util[_0x5428e9(0x13f)](_0x167b01));}finally{!_0x269c56&&await BrowserstackCLI[_0x5428e9(0x134)]()[_0x5428e9(0x12d)](),PerformanceTester[_0x5428e9(0x11a)](PerformanceEvents[_0x5428e9(0x147)]);}};try{const browserstackFolderPath=path[a51_0x43318f(0x14b)](helper['homedir'](),'.browserstack');if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a51_0x43318f(0x14b)](browserstackFolderPath,a51_0x43318f(0x17f));fs[a51_0x43318f(0x158)](filePath)&&fs[a51_0x43318f(0x162)](filePath);}}catch(a51_0x5377b2){logger[a51_0x43318f(0x184)](a51_0x43318f(0x12a)+a51_0x5377b2['message']);}function a51_0x8ea8(){const _0x42c025=['isUndefined','../../ats/src/index','NIGHTWATCH','Udgca','oKjQs','slice','GyMbo','IGsPl','./mocha/command','./vanilla-js/command','setBrowserStackAutomationDisable','BROWSERSTACK_CONFIG_FILE_PATH','DGSLp','jest','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','82CbtFpE','SDK_SETUP','cMOCu','Runs\x20the\x20binary\x20with\x20load\x20command','GXLaY','run','lGwBV','-pw:channel','CUCUMBER','./playwright/command','mocha/lib/cli/run.js','disableAutoCaptureLogs','setTestObservabilityDisable','dkKSz','10220TaeskQ','spawn','xFLuu','aLSWd','MOCHA','EDOkw','1701pOabiZ','--no-config','DEBUG_FILE','dot-notation','VANILLA','filter','argv','../helpers/test-observability/constants','IFaqU','4euRiUR','start','getPwChannelLogPath','stack','MLgGg','kriwE','bbGnC','WxmhR','lwhSn','alias','./jest/command','tNbtT','CODECEPTJS','../helpers/logger','NzuJx','child_process','XkbxC','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','mocha','vanilla','stop','aDEFB','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','framework','--mochaRequire','fireFunnelTestEvent','2057100HEOQTl','getInstance','../helpers/helper','end','mocha/lib/cli/commands.js','mFcXX','IRSQs','592116nWuQdm','Running\x20SDK\x20with\x20args\x20','--opts','INchL','../helpers/utilities','format','838895cWJqcX','HfOcW','hZMaF','env','../helpers/performance/performance-tester','parserConfiguration','xQCUl','SDK_CLEANUP','trim','8136SDLpvQ','INFO','join','integrations','JEST','pw:channel\x20auto-capture\x20seed\x20failed:\x20','ySceS','help','./nightwatch/command','cucumber-js','--no-package','error','ats','strict','131139bdGEEh','existsSync','usage','PHgXC','nightwatch','1229800HqvorS','iaOMl','yargs','pw:*','vQwBG','map','unlinkSync','sMzOu','mocha/lib/cli/cli.js','AaBAR','exitProcess','demandCommand','getConfigPath','command','--require','uZldV','HST','pw:channel','sendLogs','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','INTEGRATIONS','--package','some','./v2/browserstackCLI','load\x20[subcommand]','../helpers/performance/constants','push','pZFpb','DEBUG','usage:\x20$0\x20<command>\x20[args]','XPZGJ','PLAYWRIGHT','node','../helpers/BrowserStackSetup','includes','.local-not-set.json','codeceptjs','config','winstonLogger','info','debug','rIDvI','Parsing\x20command\x20line\x20arguments','VERSION','boolean'];a51_0x8ea8=function(){return _0x42c025;};return a51_0x8ea8();}function a51_0x5d28(_0x4bb19d,_0x9f5cf2){const _0x8ea89=a51_0x8ea8();return a51_0x5d28=function(_0x5d281c,_0x579caf){_0x5d281c=_0x5d281c-0xeb;let _0x3adca5=_0x8ea89[_0x5d281c];return _0x3adca5;},a51_0x5d28(_0x4bb19d,_0x9f5cf2);}process[a51_0x43318f(0x116)]['includes'](a51_0x43318f(0x12b))&&(!process[a51_0x43318f(0x116)][a51_0x43318f(0x17e)](a51_0x43318f(0x13c))&&process[a51_0x43318f(0x116)][a51_0x43318f(0x176)]('--no-opts'),!process[a51_0x43318f(0x116)]['find'](_0x8c0341=>_0x8c0341['includes']('--config'))&&process[a51_0x43318f(0x116)]['push'](a51_0x43318f(0x111)),!process[a51_0x43318f(0x116)][a51_0x43318f(0x17e)](a51_0x43318f(0x171))&&process['argv'][a51_0x43318f(0x176)](a51_0x43318f(0x153)),helper['findAndReplace'](process['argv'],a51_0x43318f(0x16a),a51_0x43318f(0x131)));PerformanceTester['start'](PerformanceEvents['SDK_SETUP']);const a51_0x2aeb32={};a51_0x2aeb32[a51_0x43318f(0x113)]=![];const argv=yargs[a51_0x43318f(0x145)](a51_0x2aeb32)[a51_0x43318f(0x159)](a51_0x43318f(0x179))[a51_0x43318f(0x122)]('v','version')['describe']('v')[a51_0x43318f(0x122)]('h',a51_0x43318f(0x150))[a51_0x43318f(0x150)](a51_0x43318f(0x150))['showHelpOnFail'](!![],Constants[a51_0x43318f(0xeb)]['HELP'])[a51_0x43318f(0x169)](a51_0x43318f(0xfa),Constants[a51_0x43318f(0x14d)][a51_0x43318f(0x14a)],function(_0x1c68a2){const _0x35d7d1=a51_0x43318f,_0x425bdd={'GyMbo':'jest','kriwE':function(_0x444184,_0x1c26db,_0x4ed10d,_0x423136,_0x1504ed,_0x1b4219){return _0x444184(_0x1c26db,_0x4ed10d,_0x423136,_0x1504ed,_0x1b4219);},'NzuJx':function(_0x55a3d9,_0x51bfe3){return _0x55a3d9(_0x51bfe3);},'sMzOu':_0x35d7d1(0x123)},_0x1f21e0=process['argv'][_0x35d7d1(0xf2)](0x2);helper[_0x35d7d1(0x108)](),helper[_0x35d7d1(0xf7)](),_0x1c68a2['strict'](![]);const _0x4321f1=new BrowserStackSetup(_0x1c68a2[_0x35d7d1(0x116)],_0x425bdd[_0x35d7d1(0xf3)]);return _0x425bdd[_0x35d7d1(0x11e)](captureError,_0x425bdd[_0x35d7d1(0x127)](require,_0x425bdd[_0x35d7d1(0x163)]),_0x1c68a2[_0x35d7d1(0x116)],_0x4321f1,_0x1f21e0,!![]);})['command'](a51_0x43318f(0x12b),Constants[a51_0x43318f(0x10e)]['INFO'],_0x2c18f9=>{const _0x4898e6=a51_0x43318f,_0x5d4b60={'mFcXX':function(_0x29cbc0,_0x3680a5,_0x32aac5,_0x2cd8ed){return _0x29cbc0(_0x3680a5,_0x32aac5,_0x2cd8ed);},'CZHMo':function(_0x34fb94,_0x4bf111){return _0x34fb94(_0x4bf111);},'eGDJS':_0x4898e6(0xf5),'aLSWd':_0x4898e6(0x12b),'qMaxH':_0x4898e6(0x186),'MLgGg':function(_0x7bb30b,_0x164678,_0x39f3f1){return _0x7bb30b(_0x164678,_0x39f3f1);},'ySceS':_0x4898e6(0x106),'DGSLp':function(_0x91e047,_0x23e4a1,_0x4fef50){return _0x91e047(_0x23e4a1,_0x4fef50);},'EDOkw':_0x4898e6(0x137),'HfOcW':_0x4898e6(0x164),'iaOMl':function(_0x54b66c){return _0x54b66c();}};process[_0x4898e6(0x116)]=process[_0x4898e6(0x116)]['slice'](0x1),helper[_0x4898e6(0x108)](),helper[_0x4898e6(0xf7)]();const _0x41f23e=new BrowserStackSetup(_0x2c18f9[_0x4898e6(0x116)],_0x5d4b60[_0x4898e6(0x10d)]);logger[_0x4898e6(0x184)](_0x5d4b60['qMaxH']);const _0x27f67b=_0x5d4b60[_0x4898e6(0x11d)](requireModule,_0x5d4b60[_0x4898e6(0x14f)],_0x5d4b60['aLSWd']),_0x242de4=_0x5d4b60[_0x4898e6(0xf9)](requireModule,_0x5d4b60[_0x4898e6(0x10f)],_0x5d4b60[_0x4898e6(0x10d)]);delete _0x27f67b['handler'],_0x27f67b['handler']=function(_0x189a97){const _0x5febab=_0x4898e6;return _0x5d4b60[_0x5febab(0x138)](captureError,_0x5d4b60['CZHMo'](require,_0x5d4b60['eGDJS']),_0x189a97,_0x41f23e);},_0x242de4[_0x4898e6(0x101)]=_0x27f67b;const {main:_0x3e36a7}=_0x5d4b60[_0x4898e6(0xf9)](requireModule,_0x5d4b60[_0x4898e6(0x141)],_0x5d4b60[_0x4898e6(0x10d)]);_0x5d4b60[_0x4898e6(0x15d)](_0x3e36a7);})[a51_0x43318f(0x169)]('cucumber-js',Constants[a51_0x43318f(0x104)][a51_0x43318f(0x14a)],function(_0x1f92a7){const _0xa6c02a=a51_0x43318f,_0x3a505c={'LPfBn':_0xa6c02a(0x152),'oKjQs':function(_0x4906a6,_0x111389,_0x3653bf,_0x41f5e7,_0x58d665,_0x31095a){return _0x4906a6(_0x111389,_0x3653bf,_0x41f5e7,_0x58d665,_0x31095a);},'tNbtT':function(_0x5067e6,_0x10bb7a){return _0x5067e6(_0x10bb7a);},'SDavO':'./cucumber-js/command'},_0xe376c6=process['argv']['slice'](0x2),_0x3fc103=new BrowserStackSetup(_0x1f92a7['argv'],_0x3a505c['LPfBn']);return _0x3a505c[_0xa6c02a(0xf1)](captureError,_0x3a505c[_0xa6c02a(0x124)](require,_0x3a505c['SDavO']),_0x1f92a7[_0xa6c02a(0x116)],_0x3fc103,_0xe376c6,!![]);})[a51_0x43318f(0x169)](a51_0x43318f(0x17c),Constants[a51_0x43318f(0x114)][a51_0x43318f(0x14a)],function(_0xb9603b){const _0x509590=a51_0x43318f,_0x4ddaa5={'Udgca':_0x509590(0x12c),'xQCUl':function(_0x509e7e,_0x35c521,_0x104adb,_0x35b86,_0x286ff6){return _0x509e7e(_0x35c521,_0x104adb,_0x35b86,_0x286ff6);},'GXLaY':function(_0x122932,_0x24a9e7){return _0x122932(_0x24a9e7);},'xFLuu':_0x509590(0xf6)},_0x24f8c2=process['argv'][_0x509590(0xf2)](0x2),_0x8e4908=new BrowserStackSetup(_0xb9603b[_0x509590(0x116)],_0x4ddaa5[_0x509590(0xf0)]);return _0x4ddaa5[_0x509590(0x146)](captureError,_0x4ddaa5[_0x509590(0x100)](require,_0x4ddaa5[_0x509590(0x10c)]),_0xb9603b['argv'],_0x8e4908,_0x24f8c2);})[a51_0x43318f(0x169)](a51_0x43318f(0x15b),Constants[a51_0x43318f(0xef)]['INFO'],function(_0x4d97d8){const _0x337afb=a51_0x43318f,_0x1338bd={'lwhSn':function(_0x715e9b,_0x246c09,_0x448643,_0x13f76f,_0x2825dc){return _0x715e9b(_0x246c09,_0x448643,_0x13f76f,_0x2825dc);},'yHlgO':function(_0x53f420,_0x3bec54){return _0x53f420(_0x3bec54);},'IFaqU':_0x337afb(0x151)},_0x4e6ee9=process[_0x337afb(0x116)]['slice'](0x2),_0x61e998=new BrowserStackSetup(_0x4d97d8['argv']);return _0x1338bd[_0x337afb(0x121)](captureError,_0x1338bd['yHlgO'](require,_0x1338bd[_0x337afb(0x118)]),_0x4d97d8['argv'],_0x61e998,_0x4e6ee9);})['command']('codeceptjs',Constants[a51_0x43318f(0x125)]['INFO'],function(_0x51c09b){const _0x24edfa=a51_0x43318f,_0x2af3de={'pZFpb':_0x24edfa(0x180),'aDEFB':function(_0x4f9038,_0x381a3a,_0x4ee39f,_0x45fc9d,_0x1c4cc1){return _0x4f9038(_0x381a3a,_0x4ee39f,_0x45fc9d,_0x1c4cc1);},'WzONl':function(_0x2e6467,_0x1e657c){return _0x2e6467(_0x1e657c);},'IGsPl':'./codeceptjs/command'},_0x48bb2d=process[_0x24edfa(0x116)][_0x24edfa(0xf2)](0x2),_0x575fb7=new BrowserStackSetup(_0x51c09b[_0x24edfa(0x116)],_0x2af3de[_0x24edfa(0x177)]);return _0x2af3de[_0x24edfa(0x12e)](captureError,_0x2af3de['WzONl'](require,_0x2af3de[_0x24edfa(0xf4)]),_0x51c09b[_0x24edfa(0x116)],_0x575fb7,_0x48bb2d);})[a51_0x43318f(0x169)]('ats',Constants[a51_0x43318f(0x16c)][a51_0x43318f(0x14a)],function(_0x37b8e6){const _0x243c0c=a51_0x43318f,_0x5f1dd0={'IRSQs':function(_0x1f2a25,_0x4c7cb0,_0x59fe04){return _0x1f2a25(_0x4c7cb0,_0x59fe04);},'hZMaF':function(_0x541db5,_0x3d2f7c){return _0x541db5(_0x3d2f7c);},'dkKSz':_0x243c0c(0xee)},_0x4d3f38=process[_0x243c0c(0x116)][_0x243c0c(0xf2)](0x2);return _0x5f1dd0[_0x243c0c(0x139)](captureError,_0x5f1dd0[_0x243c0c(0x142)](require,_0x5f1dd0[_0x243c0c(0x109)]),_0x37b8e6);})[a51_0x43318f(0x169)](a51_0x43318f(0x14c),Constants[a51_0x43318f(0x170)][a51_0x43318f(0x14a)],function(_0x3a75d6){const _0xc0ac18=a51_0x43318f,_0x248603={'vQwBG':function(_0xf4875a,_0x3f91fd){return _0xf4875a(_0x3f91fd);}};return _0x248603[_0xc0ac18(0x160)](runIntegrations,_0x3a75d6);})[a51_0x43318f(0x169)]('playwright',Constants['PLAYWRIGHT']['INFO'],function(_0x3a388c){const _0x5ad413=a51_0x43318f,_0xe9ac13={'AaBAR':_0x5ad413(0x16d),'rRTOX':function(_0x5324aa,_0x555e22){return _0x5324aa&&_0x555e22;},'XkbxC':function(_0x580369,_0x4586c4,_0x5e33e5,_0x4ae392,_0x17c734,_0x591e7b){return _0x580369(_0x4586c4,_0x5e33e5,_0x4ae392,_0x17c734,_0x591e7b);},'INchL':function(_0x58df44,_0x54d909){return _0x58df44(_0x54d909);},'uZldV':_0x5ad413(0x105)},_0x4d7741=process[_0x5ad413(0x116)][_0x5ad413(0xf2)](0x2);helper[_0x5ad413(0x168)](process['argv'])&&(process[_0x5ad413(0x143)][_0x5ad413(0xf8)]=helper[_0x5ad413(0x168)](process[_0x5ad413(0x116)]));helper[_0x5ad413(0x108)](),helper['setBrowserStackAutomationDisable']();const _0x2dfa37=new BrowserStackSetup(_0x3a388c[_0x5ad413(0x116)],FRAMEWORKS[_0x5ad413(0x17b)]);try{if(!_0x2dfa37[_0x5ad413(0x181)]||!_0x2dfa37[_0x5ad413(0x181)][_0x5ad413(0x107)]){const _0x195d16=_0xe9ac13[_0x5ad413(0x165)],_0x57896a=process[_0x5ad413(0x143)][_0x5ad413(0x178)]||'',_0x4ec8f6=_0x57896a['split'](',')[_0x5ad413(0x161)](_0xda6b3f=>_0xda6b3f[_0x5ad413(0x148)]())[_0x5ad413(0x115)](Boolean),_0x2db19c=_0x4ec8f6[_0x5ad413(0x172)](_0x5e92ee=>_0x5e92ee===_0x5ad413(0x103)||_0x5e92ee==='-pw:*'||_0x5e92ee==='-*'),_0x33af43=_0x4ec8f6[_0x5ad413(0x172)](_0x5a5dd9=>_0x5a5dd9===_0x195d16||_0x5a5dd9===_0x5ad413(0x15f)||_0x5a5dd9==='*');if(_0xe9ac13['rRTOX'](!_0x2db19c,!_0x33af43)){const _0x2a2da5=helper[_0x5ad413(0x11b)]();_0x2a2da5&&(process[_0x5ad413(0x143)][_0x5ad413(0x178)]=_0x57896a?_0x57896a+','+_0x195d16:_0x195d16,!process[_0x5ad413(0x143)][_0x5ad413(0x112)]&&(process[_0x5ad413(0x143)][_0x5ad413(0x112)]=_0x2a2da5));}}}catch(_0x55243b){logger['debug'](_0x5ad413(0x14e)+util['format'](_0x55243b));}return _0xe9ac13[_0x5ad413(0x129)](captureError,_0xe9ac13[_0x5ad413(0x13d)](require,_0xe9ac13[_0x5ad413(0x16b)]),_0x3a388c[_0x5ad413(0x116)],_0x2dfa37,_0x4d7741,!![]);})[a51_0x43318f(0x169)](a51_0x43318f(0x174),a51_0x43318f(0xff),function(_0x28dc89){const _0x5097c4=a51_0x43318f,_0x5cefe1={};_0x5cefe1[_0x5097c4(0x11f)]=_0x5097c4(0x150),_0x5cefe1[_0x5097c4(0x185)]=_0x5097c4(0xec),_0x5cefe1[_0x5097c4(0x17a)]='Show\x20help';const _0x19d106=_0x5cefe1;return _0x28dc89[_0x5097c4(0x150)](![])['option'](_0x19d106[_0x5097c4(0x11f)],{'alias':'h','type':_0x19d106['rIDvI'],'describe':_0x19d106['XPZGJ']})[_0x5097c4(0x156)](![])[_0x5097c4(0x166)](![]);},function(_0x4b4396){const _0x32f793=a51_0x43318f,_0x122d3c={'WxmhR':function(_0x46970e,_0x6e2de4,_0x462bd4){return _0x46970e(_0x6e2de4,_0x462bd4);},'bpigM':function(_0xe9c7fb,_0x448104){return _0xe9c7fb(_0x448104);},'lGwBV':'./load/index'},_0x193fdf={};return _0x193fdf[_0x32f793(0x116)]=_0x4b4396,_0x122d3c[_0x32f793(0x120)](captureError,_0x122d3c['bpigM'](require,_0x122d3c[_0x32f793(0x102)]),_0x193fdf);})[a51_0x43318f(0x167)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')['wrap'](null)['argv'];!helper[a51_0x43318f(0xed)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a51_0x43318f(0x155)&&console[a51_0x43318f(0x154)](a51_0x43318f(0xfb));
|
|
2
|
+
'use strict';function a51_0x4e33(_0x374a01,_0x16f361){const _0x4ff62c=a51_0x4ff6();return a51_0x4e33=function(_0x4e337c,_0x1c7357){_0x4e337c=_0x4e337c-0x1ec;let _0x288a8a=_0x4ff62c[_0x4e337c];return _0x288a8a;},a51_0x4e33(_0x374a01,_0x16f361);}const a51_0x2142c6=a51_0x4e33;(function(_0x3acdb8,_0x5ee870){const _0x173c47=a51_0x4e33,_0x2cb6af=_0x3acdb8();while(!![]){try{const _0xaf5d14=-parseInt(_0x173c47(0x202))/0x1*(parseInt(_0x173c47(0x226))/0x2)+parseInt(_0x173c47(0x234))/0x3*(parseInt(_0x173c47(0x27a))/0x4)+parseInt(_0x173c47(0x26d))/0x5*(-parseInt(_0x173c47(0x274))/0x6)+-parseInt(_0x173c47(0x266))/0x7+-parseInt(_0x173c47(0x216))/0x8+-parseInt(_0x173c47(0x262))/0x9+parseInt(_0x173c47(0x27e))/0xa;if(_0xaf5d14===_0x5ee870)break;else _0x2cb6af['push'](_0x2cb6af['shift']());}catch(_0x188f54){_0x2cb6af['push'](_0x2cb6af['shift']());}}}(a51_0x4ff6,0x3c329));const fs=require('fs'),path=require(a51_0x2142c6(0x209)),util=require(a51_0x2142c6(0x264)),spawn=require('child_process')[a51_0x2142c6(0x215)],{requireModule}=require(a51_0x2142c6(0x255)),PerformanceTester=require(a51_0x2142c6(0x25d)),PerformanceEvents=require('../helpers/performance/constants')[a51_0x2142c6(0x22c)],helper=require(a51_0x2142c6(0x255)),utilities=require(a51_0x2142c6(0x273)),{default:BrowserStackSetup}=require('../helpers/BrowserStackSetup'),{FRAMEWORKS}=require(a51_0x2142c6(0x237)),runIntegrations=require(a51_0x2142c6(0x206)),yargs=require(a51_0x2142c6(0x20f)),Constants=require(a51_0x2142c6(0x252)),BrowserstackCLI=require(a51_0x2142c6(0x203)),logger=require(a51_0x2142c6(0x229))['winstonLogger'],origArgs=Object['assign']([],process[a51_0x2142c6(0x245)]),captureError=async(_0x2dfc37,_0x5309aa,_0x1307ef,_0x10c56a=null,_0x63b984=![])=>{const _0x4e5e88=a51_0x2142c6,_0x3bcc3d={'mWKZk':function(_0x535044,_0x59584f,_0x5211e1,_0x50eb6c){return _0x535044(_0x59584f,_0x5211e1,_0x50eb6c);},'vgpIT':_0x4e5e88(0x272)};try{logger[_0x4e5e88(0x27f)](_0x4e5e88(0x24e)+origArgs[_0x4e5e88(0x238)]('\x20')),await _0x3bcc3d[_0x4e5e88(0x270)](_0x2dfc37,_0x5309aa,_0x10c56a,_0x1307ef);}catch(_0x40b3ad){process[_0x4e5e88(0x268)]=0x1,logger[_0x4e5e88(0x27d)](util[_0x4e5e88(0x248)](_0x40b3ad));const _0x2d95a3={'globalException':util['format']('%j',_0x40b3ad)};PerformanceTester[_0x4e5e88(0x25f)](PerformanceEvents['SDK_SETUP'],![],util[_0x4e5e88(0x248)](_0x40b3ad));if(helper['isUndefined'](global[_0x4e5e88(0x235)])&&helper[_0x4e5e88(0x232)](global[_0x4e5e88(0x222)]))return;try{utilities[_0x4e5e88(0x20a)](_0x3bcc3d[_0x4e5e88(0x1ec)],_0x2d95a3,global['config'],global['framework']);}catch(_0x3c6fdb){logger['debug'](_0x4e5e88(0x231)+_0x3c6fdb[_0x4e5e88(0x20b)]);}try{await helper[_0x4e5e88(0x25e)](global['config']);}catch(_0x190518){logger['debug']('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x190518[_0x4e5e88(0x20b)]);}PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x4e5e88(0x248)](_0x40b3ad));}finally{!_0x63b984&&await BrowserstackCLI['getInstance']()['stop'](),PerformanceTester[_0x4e5e88(0x25b)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a51_0x2142c6(0x238)](helper[a51_0x2142c6(0x1fc)](),a51_0x2142c6(0x256));if(fs[a51_0x2142c6(0x275)](browserstackFolderPath)){const filePath=path[a51_0x2142c6(0x238)](browserstackFolderPath,'.local-not-set.json');fs[a51_0x2142c6(0x275)](filePath)&&fs[a51_0x2142c6(0x23c)](filePath);}}catch(a51_0x23623a){logger[a51_0x2142c6(0x214)](a51_0x2142c6(0x239)+a51_0x23623a[a51_0x2142c6(0x240)]);}process['argv']['includes'](a51_0x2142c6(0x223))&&(!process[a51_0x2142c6(0x245)][a51_0x2142c6(0x279)]('--opts')&&process[a51_0x2142c6(0x245)][a51_0x2142c6(0x26f)](a51_0x2142c6(0x260)),!process['argv'][a51_0x2142c6(0x211)](_0x3787cd=>_0x3787cd[a51_0x2142c6(0x279)](a51_0x2142c6(0x21f)))&&process[a51_0x2142c6(0x245)][a51_0x2142c6(0x26f)]('--no-config'),!process[a51_0x2142c6(0x245)][a51_0x2142c6(0x279)](a51_0x2142c6(0x1fe))&&process['argv'][a51_0x2142c6(0x26f)](a51_0x2142c6(0x22f)),helper[a51_0x2142c6(0x1f7)](process[a51_0x2142c6(0x245)],'--require',a51_0x2142c6(0x220)));PerformanceTester[a51_0x2142c6(0x25b)](PerformanceEvents['SDK_SETUP']);function a51_0x4ff6(){const _0x242ed3=['156Uarlon','existsSync','some','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','kBemd','includes','20PAhJgc','handler','jggbO','error','10354420AQGjrg','info','Runs\x20the\x20binary\x20with\x20load\x20command','dgXSa','vgpIT','INFO','aFUyX','HELP','pw:channel','env','PLAYWRIGHT','bzkwz','./codeceptjs/command','command','usage:\x20$0\x20<command>\x20[args]','findAndReplace','./vanilla-js/command','DEBUG_FILE','pw:*','node','homedir','mocha/lib/cli/commands.js','--package','jest','split','PyrDV','56597TJpUGy','./v2/browserstackCLI','./load/index','EaQCN','./integrations/command','trim','ats','path','fireFunnelTestEvent','stack','Vtkrf','LtwEJ','codeceptjs','yargs','YbPjK','find','tNJWc','slice','debug','spawn','317304fBqKdc','./playwright/command','MOCHA','usage','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','uhhcG','TSdQX','vanilla','sTmal','--config','--mochaRequire','VKFLW','framework','mocha','setTestObservabilityDisable','CODECEPTJS','4HKbzKO','vjBaG','setBrowserStackAutomationDisable','../helpers/logger','describe','DiBPL','EVENTS','option','DEBUG','--no-package','nightwatch','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','isUndefined','qCalL','88674WmeWcb','config','dot-notation','../helpers/test-observability/constants','join','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','vnQRp','CzDNF','unlinkSync','FrXau','mocha/lib/cli/cli.js','HWdZc','message','CBJmn','BLQdV','filter','OFdvj','argv','strict','cucumber-js','format','alias','TUhjb','load\x20[subcommand]','mGqPY','./cucumber-js/command','Running\x20SDK\x20with\x20args\x20','-pw:channel','help','etRTR','./utils/constants','-pw:*','ULbsw','../helpers/helper','.browserstack','mPCpj','./nightwatch/command','integrations','uNUEd','start','VFYVZ','../helpers/performance/performance-tester','sendLogs','end','--no-opts','parserConfiguration','3858327YJBcOv','run','util','map','1255401ylHhmC','CUCUMBER','exitCode','playwright','MneCD','./jest/command','getConfigPath','33800EHDvOy','getPwChannelLogPath','push','mWKZk','NpqVw','SDKTestSuccessful','../helpers/utilities'];a51_0x4ff6=function(){return _0x242ed3;};return a51_0x4ff6();}const a51_0x4a9d73={};a51_0x4a9d73[a51_0x2142c6(0x236)]=![];const argv=yargs[a51_0x2142c6(0x261)](a51_0x4a9d73)[a51_0x2142c6(0x219)](a51_0x2142c6(0x1f6))[a51_0x2142c6(0x249)]('v','version')[a51_0x2142c6(0x22a)]('v')[a51_0x2142c6(0x249)]('h','help')[a51_0x2142c6(0x250)](a51_0x2142c6(0x250))['showHelpOnFail'](!![],Constants['VERSION'][a51_0x2142c6(0x1ef)])['command'](a51_0x2142c6(0x1ff),Constants['JEST'][a51_0x2142c6(0x1ed)],function(_0x3ff40b){const _0x18eb5b=a51_0x2142c6,_0x355b1d={'wLpBG':'jest','TSdQX':function(_0x3798a1,_0x178169,_0xbd23ad,_0x2c5765,_0x1e1b5f,_0x4d5103){return _0x3798a1(_0x178169,_0xbd23ad,_0x2c5765,_0x1e1b5f,_0x4d5103);},'CBJmn':function(_0x13d5c7,_0x4a4a04){return _0x13d5c7(_0x4a4a04);},'AKlgx':_0x18eb5b(0x26b)},_0xba423=process[_0x18eb5b(0x245)][_0x18eb5b(0x213)](0x2);helper[_0x18eb5b(0x224)](),helper[_0x18eb5b(0x228)](),_0x3ff40b[_0x18eb5b(0x246)](![]);const _0x328a1d=new BrowserStackSetup(_0x3ff40b[_0x18eb5b(0x245)],_0x355b1d['wLpBG']);return _0x355b1d[_0x18eb5b(0x21c)](captureError,_0x355b1d[_0x18eb5b(0x241)](require,_0x355b1d['AKlgx']),_0x3ff40b['argv'],_0x328a1d,_0xba423,!![]);})[a51_0x2142c6(0x1f5)](a51_0x2142c6(0x223),Constants[a51_0x2142c6(0x218)][a51_0x2142c6(0x1ed)],_0x57e368=>{const _0x2efd9d=a51_0x2142c6,_0x1b55dd={'vnQRp':function(_0x3769c8,_0x4ae9e8,_0x20cbff,_0xc935c5){return _0x3769c8(_0x4ae9e8,_0x20cbff,_0xc935c5);},'amXcK':function(_0x196a71,_0x311e17){return _0x196a71(_0x311e17);},'dgXSa':'./mocha/command','NpqVw':_0x2efd9d(0x223),'iKEHZ':'Parsing\x20command\x20line\x20arguments','EaQCN':function(_0xf16a9f,_0x5c1375,_0x5260cb){return _0xf16a9f(_0x5c1375,_0x5260cb);},'ULbsw':'mocha/lib/cli/run.js','uhhcG':function(_0x39b1ca,_0x447a6e,_0x4d189){return _0x39b1ca(_0x447a6e,_0x4d189);},'aFUyX':_0x2efd9d(0x1fd),'yNBJm':function(_0x49b334,_0x4be34f,_0x4208e1){return _0x49b334(_0x4be34f,_0x4208e1);},'TUhjb':_0x2efd9d(0x23e),'YbPjK':function(_0x139069){return _0x139069();}};process[_0x2efd9d(0x245)]=process[_0x2efd9d(0x245)]['slice'](0x1),helper[_0x2efd9d(0x224)](),helper[_0x2efd9d(0x228)]();const _0x3b9d5b=new BrowserStackSetup(_0x57e368[_0x2efd9d(0x245)],_0x1b55dd[_0x2efd9d(0x271)]);logger[_0x2efd9d(0x214)](_0x1b55dd['iKEHZ']);const _0x32be4b=_0x1b55dd[_0x2efd9d(0x205)](requireModule,_0x1b55dd[_0x2efd9d(0x254)],_0x1b55dd[_0x2efd9d(0x271)]),_0xf8662=_0x1b55dd[_0x2efd9d(0x21b)](requireModule,_0x1b55dd[_0x2efd9d(0x1ee)],_0x1b55dd[_0x2efd9d(0x271)]);delete _0x32be4b[_0x2efd9d(0x27b)],_0x32be4b[_0x2efd9d(0x27b)]=function(_0x15f412){const _0x37457d=_0x2efd9d;return _0x1b55dd[_0x37457d(0x23a)](captureError,_0x1b55dd['amXcK'](require,_0x1b55dd[_0x37457d(0x281)]),_0x15f412,_0x3b9d5b);},_0xf8662[_0x2efd9d(0x263)]=_0x32be4b;const {main:_0xd74e6}=_0x1b55dd['yNBJm'](requireModule,_0x1b55dd[_0x2efd9d(0x24a)],_0x1b55dd[_0x2efd9d(0x271)]);_0x1b55dd[_0x2efd9d(0x210)](_0xd74e6);})['command']('cucumber-js',Constants[a51_0x2142c6(0x267)]['INFO'],function(_0x4fbf52){const _0x21e5a6=a51_0x2142c6,_0x37c9fc={'bzkwz':_0x21e5a6(0x247),'uNUEd':function(_0x34a076,_0x1e2759,_0xe8258c,_0x1ba792,_0x3dc031,_0x24627a){return _0x34a076(_0x1e2759,_0xe8258c,_0x1ba792,_0x3dc031,_0x24627a);},'SzgKl':function(_0x5558a5,_0x550fc7){return _0x5558a5(_0x550fc7);},'mFbAr':_0x21e5a6(0x24d)},_0x198630=process[_0x21e5a6(0x245)][_0x21e5a6(0x213)](0x2),_0x3bfed9=new BrowserStackSetup(_0x4fbf52[_0x21e5a6(0x245)],_0x37c9fc[_0x21e5a6(0x1f3)]);return _0x37c9fc[_0x21e5a6(0x25a)](captureError,_0x37c9fc['SzgKl'](require,_0x37c9fc['mFbAr']),_0x4fbf52[_0x21e5a6(0x245)],_0x3bfed9,_0x198630,!![]);})[a51_0x2142c6(0x1f5)](a51_0x2142c6(0x1fb),Constants['VANILLA'][a51_0x2142c6(0x1ed)],function(_0x24e629){const _0x16f3d1=a51_0x2142c6,_0xf201a0={'MneCD':_0x16f3d1(0x21d),'kBemd':function(_0xb85743,_0x54891f,_0x60a27f,_0x5b7aa4,_0x1515e8){return _0xb85743(_0x54891f,_0x60a27f,_0x5b7aa4,_0x1515e8);},'vjBaG':function(_0x11ee34,_0x56e9d1){return _0x11ee34(_0x56e9d1);},'OFdvj':_0x16f3d1(0x1f8)},_0x215619=process[_0x16f3d1(0x245)][_0x16f3d1(0x213)](0x2),_0x506089=new BrowserStackSetup(_0x24e629[_0x16f3d1(0x245)],_0xf201a0[_0x16f3d1(0x26a)]);return _0xf201a0[_0x16f3d1(0x278)](captureError,_0xf201a0[_0x16f3d1(0x227)](require,_0xf201a0[_0x16f3d1(0x244)]),_0x24e629[_0x16f3d1(0x245)],_0x506089,_0x215619);})['command'](a51_0x2142c6(0x230),Constants['NIGHTWATCH'][a51_0x2142c6(0x1ed)],function(_0x3fe602){const _0x14da6a=a51_0x2142c6,_0x35fddc={'vQSxT':function(_0x2b65da,_0x3bc3d8,_0x57c595,_0x166361,_0x1d240f){return _0x2b65da(_0x3bc3d8,_0x57c595,_0x166361,_0x1d240f);},'mGqPY':function(_0x93e49f,_0x4a964d){return _0x93e49f(_0x4a964d);},'yylzQ':_0x14da6a(0x258)},_0x18c9da=process['argv'][_0x14da6a(0x213)](0x2),_0x297f8d=new BrowserStackSetup(_0x3fe602[_0x14da6a(0x245)]);return _0x35fddc['vQSxT'](captureError,_0x35fddc[_0x14da6a(0x24c)](require,_0x35fddc['yylzQ']),_0x3fe602[_0x14da6a(0x245)],_0x297f8d,_0x18c9da);})[a51_0x2142c6(0x1f5)](a51_0x2142c6(0x20e),Constants[a51_0x2142c6(0x225)][a51_0x2142c6(0x1ed)],function(_0x59a3fb){const _0x44c1be=a51_0x2142c6,_0x4b9f2b={'CzDNF':_0x44c1be(0x20e),'etRTR':function(_0x5ce284,_0x1055af,_0x308173,_0x144ed1,_0x1893d2){return _0x5ce284(_0x1055af,_0x308173,_0x144ed1,_0x1893d2);},'ZGurV':function(_0x11db7a,_0x159e3f){return _0x11db7a(_0x159e3f);},'VKFLW':_0x44c1be(0x1f4)},_0x5b8abd=process[_0x44c1be(0x245)]['slice'](0x2),_0x46d60b=new BrowserStackSetup(_0x59a3fb['argv'],_0x4b9f2b[_0x44c1be(0x23b)]);return _0x4b9f2b[_0x44c1be(0x251)](captureError,_0x4b9f2b['ZGurV'](require,_0x4b9f2b[_0x44c1be(0x221)]),_0x59a3fb[_0x44c1be(0x245)],_0x46d60b,_0x5b8abd);})['command'](a51_0x2142c6(0x208),Constants['HST']['INFO'],function(_0x48cf3d){const _0x4103a6=a51_0x2142c6,_0x43e507={'PyrDV':function(_0x97ae9,_0x513538,_0x540aaf){return _0x97ae9(_0x513538,_0x540aaf);},'uJCJd':function(_0x3872b2,_0x32139f){return _0x3872b2(_0x32139f);},'BLQdV':'../../ats/src/index'},_0x34d296=process['argv'][_0x4103a6(0x213)](0x2);return _0x43e507[_0x4103a6(0x201)](captureError,_0x43e507['uJCJd'](require,_0x43e507[_0x4103a6(0x242)]),_0x48cf3d);})[a51_0x2142c6(0x1f5)](a51_0x2142c6(0x259),Constants['INTEGRATIONS'][a51_0x2142c6(0x1ed)],function(_0x4a62bd){const _0x174369=a51_0x2142c6,_0x5e4a9b={'Vtkrf':function(_0x223dc2,_0x2c8391){return _0x223dc2(_0x2c8391);}};return _0x5e4a9b[_0x174369(0x20c)](runIntegrations,_0x4a62bd);})[a51_0x2142c6(0x1f5)](a51_0x2142c6(0x269),Constants[a51_0x2142c6(0x1f2)][a51_0x2142c6(0x1ed)],function(_0x5a752c){const _0x302ca3=a51_0x2142c6,_0x45b632={'sTmal':_0x302ca3(0x1f0),'tNJWc':function(_0x1f79b2,_0x247d33){return _0x1f79b2&&_0x247d33;},'VFYVZ':function(_0x4a51ca,_0x2f48c1,_0x9ea503,_0xe4f434,_0x42f194,_0x59cbdc){return _0x4a51ca(_0x2f48c1,_0x9ea503,_0xe4f434,_0x42f194,_0x59cbdc);},'HWdZc':function(_0x199ff6,_0x8b30f7){return _0x199ff6(_0x8b30f7);},'jggbO':_0x302ca3(0x217)},_0x3f6530=process['argv']['slice'](0x2);helper[_0x302ca3(0x26c)](process['argv'])&&(process[_0x302ca3(0x1f1)]['BROWSERSTACK_CONFIG_FILE_PATH']=helper[_0x302ca3(0x26c)](process[_0x302ca3(0x245)]));helper[_0x302ca3(0x224)](),helper[_0x302ca3(0x228)]();const _0x4bcfe6=new BrowserStackSetup(_0x5a752c[_0x302ca3(0x245)],FRAMEWORKS[_0x302ca3(0x1f2)]);try{if(!_0x4bcfe6[_0x302ca3(0x235)]||!_0x4bcfe6[_0x302ca3(0x235)]['disableAutoCaptureLogs']){const _0x1e6475=_0x45b632[_0x302ca3(0x21e)],_0x3e04e9=process[_0x302ca3(0x1f1)][_0x302ca3(0x22e)]||'',_0x35bf32=_0x3e04e9[_0x302ca3(0x200)](',')[_0x302ca3(0x265)](_0x5c6339=>_0x5c6339[_0x302ca3(0x207)]())[_0x302ca3(0x243)](Boolean),_0x2d0929=_0x35bf32[_0x302ca3(0x276)](_0x515168=>_0x515168===_0x302ca3(0x24f)||_0x515168===_0x302ca3(0x253)||_0x515168==='-*'),_0x4d1fe0=_0x35bf32[_0x302ca3(0x276)](_0x31516e=>_0x31516e===_0x1e6475||_0x31516e===_0x302ca3(0x1fa)||_0x31516e==='*');if(_0x45b632[_0x302ca3(0x212)](!_0x2d0929,!_0x4d1fe0)){const _0x27a5df=helper[_0x302ca3(0x26e)]();_0x27a5df&&(process['env']['DEBUG']=_0x3e04e9?_0x3e04e9+','+_0x1e6475:_0x1e6475,!process[_0x302ca3(0x1f1)][_0x302ca3(0x1f9)]&&(process[_0x302ca3(0x1f1)][_0x302ca3(0x1f9)]=_0x27a5df));}}}catch(_0xfb5146){logger[_0x302ca3(0x214)]('pw:channel\x20auto-capture\x20seed\x20failed:\x20'+util[_0x302ca3(0x248)](_0xfb5146));}return _0x45b632[_0x302ca3(0x25c)](captureError,_0x45b632[_0x302ca3(0x23f)](require,_0x45b632[_0x302ca3(0x27c)]),_0x5a752c['argv'],_0x4bcfe6,_0x3f6530,!![]);})[a51_0x2142c6(0x1f5)](a51_0x2142c6(0x24b),a51_0x2142c6(0x280),function(_0x3a66a4){const _0x191590=a51_0x2142c6,_0x21a0cc={};_0x21a0cc['tmysB']='help',_0x21a0cc[_0x191590(0x20d)]='boolean',_0x21a0cc['FrXau']='Show\x20help';const _0x1e0519=_0x21a0cc;return _0x3a66a4[_0x191590(0x250)](![])[_0x191590(0x22d)](_0x1e0519['tmysB'],{'alias':'h','type':_0x1e0519['LtwEJ'],'describe':_0x1e0519[_0x191590(0x23d)]})[_0x191590(0x246)](![])['exitProcess'](![]);},function(_0x1a21b9){const _0xd49375=a51_0x2142c6,_0x1ec779={'DiBPL':function(_0x2ac2db,_0x39c225,_0x4a8e4a){return _0x2ac2db(_0x39c225,_0x4a8e4a);},'mPCpj':function(_0x3ccbc1,_0x4f1ed0){return _0x3ccbc1(_0x4f1ed0);},'qCalL':_0xd49375(0x204)},_0x830215={};return _0x830215['argv']=_0x1a21b9,_0x1ec779[_0xd49375(0x22b)](captureError,_0x1ec779[_0xd49375(0x257)](require,_0x1ec779[_0xd49375(0x233)]),_0x830215);})['demandCommand'](0x1,a51_0x2142c6(0x277))['wrap'](null)[a51_0x2142c6(0x245)];!helper[a51_0x2142c6(0x232)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a51_0x2142c6(0x208)&&console[a51_0x2142c6(0x27d)](a51_0x2142c6(0x21a));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a52_0x201598=a52_0x2b6f;(function(_0x1f81ab,_0x8b3206){const _0x29d41b=a52_0x2b6f,_0x5c1ef3=_0x1f81ab();while(!![]){try{const _0x34fdb5=parseInt(_0x29d41b(0x12e))/0x1+-parseInt(_0x29d41b(0x173))/0x2*(parseInt(_0x29d41b(0x142))/0x3)+parseInt(_0x29d41b(0x15c))/0x4*(parseInt(_0x29d41b(0x143))/0x5)+parseInt(_0x29d41b(0x12f))/0x6*(-parseInt(_0x29d41b(0x15f))/0x7)+-parseInt(_0x29d41b(0x165))/0x8+parseInt(_0x29d41b(0x12c))/0x9*(-parseInt(_0x29d41b(0x168))/0xa)+-parseInt(_0x29d41b(0x141))/0xb*(-parseInt(_0x29d41b(0x13e))/0xc);if(_0x34fdb5===_0x8b3206)break;else _0x5c1ef3['push'](_0x5c1ef3['shift']());}catch(_0x52223d){_0x5c1ef3['push'](_0x5c1ef3['shift']());}}}(a52_0x3204,0xed247));const fs=require('fs'),helper=require(a52_0x201598(0x13c)),utilities=require(a52_0x201598(0x16c)),yaml=require('js-yaml'),yargs=require(a52_0x201598(0x13b)),logger=require(a52_0x201598(0x151))[a52_0x201598(0x162)],configFileTemplate=__dirname+a52_0x201598(0x160),configFileTemplatePW=__dirname+a52_0x201598(0x14a),configFile=process['cwd']()+'/browserstack.yml',packageFile=process['cwd']()+a52_0x201598(0x158),frameworks=[a52_0x201598(0x134),'jest',a52_0x201598(0x135),a52_0x201598(0x167),a52_0x201598(0x15b),a52_0x201598(0x156),a52_0x201598(0x132)];let config;function a52_0x3204(){const _0x273f90=['playwright','yfOjj','mocha','cucumber-js','Adding\x20new\x20script(s)\x20in\x20package.json...','info','RBVid','rSZmU','TZoms','yargs','../helpers/helper','hGMUc','414156EIyhMS','SDKSetup','aoaOT','583iQTtZM','73833nAucDw','75lsVweM','fotSg','BrQtP','HMCpY','fElzX','length','utf8','/../../browserstack.pw.yml.sample','writeFileSync','Setup\x20completed','oEMgi','fireFunnelTestEvent','join','\x20&&\x20npm\x20update\x20browserstack-node-sdk','../helpers/logger','UWoTv','meJjA','scripts','split','codeceptjs','browserstack-node-sdk','/package.json','npm\x20update\x20browserstack-node-sdk','entries','nightwatch','508104gcyhnm','indexOf','replace','296639QFtXrE','/../../browserstack.yml.sample','YOUR_USERNAME','winstonLogger','key','postinstall','6744384YcszMf','argv','node','3313850Dwavoc','node-setup','includes','tAqLN','../helpers/utilities','sBFry','username','push','stringify','EAhEq','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','132DTMwKl','Creating\x20configuration\x20file...','fKfJy','gGcEp','readFileSync','pMpZV','18WulMKf','xiyRs','409277REEKMg','6VtVdLB','debug','load'];a52_0x3204=function(){return _0x273f90;};return a52_0x3204();}logger[a52_0x201598(0x137)](a52_0x201598(0x174)),createConfigurationFile(yargs[a52_0x201598(0x166)][a52_0x201598(0x16e)],yargs['argv'][a52_0x201598(0x163)],yargs[a52_0x201598(0x166)][a52_0x201598(0x132)]);function a52_0x2b6f(_0xf76371,_0x48454f){const _0x320463=a52_0x3204();return a52_0x2b6f=function(_0x2b6f9c,_0x3634ca){_0x2b6f9c=_0x2b6f9c-0x12b;let _0xc3652e=_0x320463[_0x2b6f9c];return _0xc3652e;},a52_0x2b6f(_0xf76371,_0x48454f);}try{sdkSetup();}catch(a52_0xbbc6a3){logger['debug'](a52_0x201598(0x172)+a52_0xbbc6a3);}addScriptInPackageJson();function createConfigurationFile(_0x261be8,_0x5c3bf8,_0xa9ceea=![]){const _0x1130cd=a52_0x201598,_0x21b9d5={};_0x21b9d5['BrQtP']=_0x1130cd(0x149),_0x21b9d5[_0x1130cd(0x152)]=_0x1130cd(0x161),_0x21b9d5[_0x1130cd(0x146)]='YOUR_ACCESS_KEY';const _0x4994d4=_0x21b9d5;try{let _0x1a284f=fs[_0x1130cd(0x177)](_0xa9ceea?configFileTemplatePW:configFileTemplate,_0x4994d4[_0x1130cd(0x145)]);_0x261be8&&(_0x1a284f=_0x1a284f['replace'](_0x4994d4[_0x1130cd(0x152)],_0x261be8)),_0x5c3bf8&&(_0x1a284f=_0x1a284f[_0x1130cd(0x15e)](_0x4994d4['HMCpY'],_0x5c3bf8)),config=yaml[_0x1130cd(0x131)](_0x1a284f),fs[_0x1130cd(0x14b)](configFile,_0x1a284f,_0x429690=>{_0x429690&&logger['error'](_0x429690);});}catch(_0x3d1217){logger['error'](_0x3d1217);}}function addPostInstallScript(_0x5d2328,_0xe3ba49){const _0x5a9d63=a52_0x201598,_0x55b523={};_0x55b523[_0x5a9d63(0x14d)]=_0x5a9d63(0x164),_0x55b523[_0x5a9d63(0x176)]=_0x5a9d63(0x159),_0x55b523['tAqLN']=_0x5a9d63(0x150);const _0x2afaed=_0x55b523;let _0x5c359c=_0x5d2328[_0x2afaed[_0x5a9d63(0x14d)]];if(_0x5c359c&&_0x5c359c[_0x5a9d63(0x16a)](_0x2afaed[_0x5a9d63(0x176)]))return;!_0x5c359c?_0x5c359c=_0x2afaed[_0x5a9d63(0x176)]:_0x5c359c+=_0x2afaed[_0x5a9d63(0x16b)],_0xe3ba49['push']([_0x2afaed[_0x5a9d63(0x14d)],_0x5c359c]);}function addScriptInPackageJson(){const _0x5e5d52=a52_0x201598,_0x5f2a7e={'xiyRs':_0x5e5d52(0x149),'sBFry':function(_0x5478a8,_0x57885a){return _0x5478a8<_0x57885a;},'meJjA':function(_0x222009,_0x3b67cc,_0x20c6b0){return _0x222009(_0x3b67cc,_0x20c6b0);},'pMpZV':function(_0x4377cf,_0x23f027,_0x50d42f){return _0x4377cf(_0x23f027,_0x50d42f);},'EAhEq':function(_0x10315a,_0x172786,_0x4d525e){return _0x10315a(_0x172786,_0x4d525e);},'hGMUc':function(_0x14be46,_0x536a9b){return _0x14be46!==_0x536a9b;},'fKfJy':_0x5e5d52(0x136)},_0x3d86f6=JSON['parse'](fs[_0x5e5d52(0x177)](packageFile,_0x5f2a7e[_0x5e5d52(0x12d)])),_0x263272=[];for(let _0x4a4cf3=0x0;_0x5f2a7e[_0x5e5d52(0x16d)](_0x4a4cf3,frameworks['length']);_0x4a4cf3+=0x1){const _0x244b02=_0x5f2a7e[_0x5e5d52(0x153)](findScriptsWithFramework,_0x3d86f6[_0x5e5d52(0x154)],frameworks[_0x4a4cf3]);for(let _0xa786b7=0x0;_0x5f2a7e[_0x5e5d52(0x16d)](_0xa786b7,_0x244b02['length']);_0xa786b7+=0x1){_0x263272[_0x5e5d52(0x16f)](_0x5f2a7e[_0x5e5d52(0x12b)](getUpdatedCommand,_0x3d86f6[_0x5e5d52(0x154)],_0x244b02[_0xa786b7]));}_0x5f2a7e[_0x5e5d52(0x171)](addPostInstallScript,_0x3d86f6['scripts'],_0x263272);}const _0x37ee30={..._0x3d86f6[_0x5e5d52(0x154)]},_0x14e014=_0x37ee30;for(let _0x8b8af7=0x0;_0x5f2a7e[_0x5e5d52(0x16d)](_0x8b8af7,_0x263272[_0x5e5d52(0x148)]);_0x8b8af7+=0x1){_0x14e014[_0x263272[_0x8b8af7][0x0]]=_0x263272[_0x8b8af7][0x1];}_0x5f2a7e[_0x5e5d52(0x13d)](JSON[_0x5e5d52(0x170)](_0x3d86f6[_0x5e5d52(0x154)]),JSON[_0x5e5d52(0x170)](_0x14e014))&&(logger[_0x5e5d52(0x137)](_0x5f2a7e[_0x5e5d52(0x175)]),_0x3d86f6[_0x5e5d52(0x154)]=_0x14e014,fs['writeFileSync'](packageFile,JSON['stringify'](_0x3d86f6,null,0x2),_0x12eac2=>{_0x12eac2&&logger['error'](_0x12eac2);}));};function findScriptsWithFramework(_0x21e3f5,_0x1a1d28){const _0xf57704=a52_0x201598,_0x2147fa={};_0x2147fa[_0xf57704(0x139)]=function(_0x4c9bda,_0x3d6800){return _0x4c9bda<_0x3d6800;},_0x2147fa[_0xf57704(0x13a)]=_0xf57704(0x157);const _0x59d858=_0x2147fa,_0x63d38d=[],_0x56c3bc=Object[_0xf57704(0x15a)](_0x21e3f5);for(let _0x11bac3=0x0;_0x59d858[_0xf57704(0x139)](_0x11bac3,_0x56c3bc[_0xf57704(0x148)]);_0x11bac3+=0x1){_0x56c3bc[_0x11bac3][0x1][_0xf57704(0x16a)](_0x1a1d28)&&!_0x56c3bc[_0x11bac3][0x1][_0xf57704(0x16a)](_0x59d858['TZoms'])&&_0x63d38d[_0xf57704(0x16f)](_0x56c3bc[_0x11bac3][0x0]);}return _0x63d38d;}function getUpdatedCommand(_0x5a78cc,_0x1d87b7){const _0x45d7fc=a52_0x201598,_0x194f46={};_0x194f46[_0x45d7fc(0x140)]=function(_0x4ea651,_0x15b9a8){return _0x4ea651!==_0x15b9a8;},_0x194f46[_0x45d7fc(0x138)]='browserstack-node-sdk',_0x194f46[_0x45d7fc(0x133)]=function(_0x28ebc1,_0x3c1d19){return _0x28ebc1===_0x3c1d19;};const _0x38841d=_0x194f46,_0x1e864c=_0x1d87b7+'-browserstack',_0x27eccb=_0x5a78cc[_0x1d87b7],_0xd03ea6=_0x27eccb[_0x45d7fc(0x155)]('\x20');for(const _0x3be1e2 of frameworks){if(_0x38841d['aoaOT'](_0xd03ea6[_0x45d7fc(0x15d)](_0x3be1e2),-0x1)){_0xd03ea6['splice'](_0xd03ea6[_0x45d7fc(0x15d)](_0x3be1e2),0x0,_0x38841d['RBVid']);break;}}let _0x526062=_0xd03ea6[_0x45d7fc(0x14f)]('\x20');return _0x38841d[_0x45d7fc(0x133)](_0x526062,_0x27eccb)&&(_0x526062='browserstack-node-sdk\x20'+_0x27eccb),[_0x1e864c,_0x526062];}function sdkSetup(){const _0x48b8e6=a52_0x201598,_0x20af62={};_0x20af62[_0x48b8e6(0x147)]=_0x48b8e6(0x169),_0x20af62['fotSg']=_0x48b8e6(0x13f);const _0x44cc75=_0x20af62;if(helper['isUndefined'](config))return;config['source']=_0x44cc75[_0x48b8e6(0x147)];try{utilities[_0x48b8e6(0x14e)](_0x44cc75[_0x48b8e6(0x144)],{},config,'');}catch(_0x76993){logger[_0x48b8e6(0x130)](_0x48b8e6(0x172)+_0x76993);}}logger[a52_0x201598(0x137)](a52_0x201598(0x14c));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a53_0x126d(){const _0x4bfdc8=['file','exitCode','platformCaps','pkyZp','getWorkers','jiUmM','YMsFY','platform-run-success','all','hUCgr','PEsfP','error','xydEM','Worker','configuration','aYssX','cucumberWorker','info','CRbyE','debug','getStderr','push','ydvUm','Usejc','platform-run-start','20Tengnr','platform','postMessage','test-file-success','parallelCucumberRun','stderr','end','stdout','STiyQ','send','XrJNB','parallelTestRun','ePaBG','map','../../helpers/logger','_child','winstonLogger','142pVkGUE','nLWvI','emittery','getStdout','Running\x20','128iVbOsS','exit','Exception\x20in\x20sending\x20worker\x20message\x20','failureCount','TGeyJ','Ashjv','waitForExit','results','emit','vanillaWorker','test-file-start','jKFen','_workerPool','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','veFJD','platforms','qzMMD','ovBaI','../../helpers/performance/performance-tester','then','util','PzOwO','../../helpers/performance/constants','format','pAlVQ','eFRiV','16094007kDsSfa','json','GemnB','log','QKrSh','PcdXN','PKeig','1855900bXzuDm','UvINl','671461KBKlHg','pipe','platformIndex','qEZir','lYgws','glgIp','./testWorker.js','843PtXUtY','parallelVanillaRun','Workers\x20failed\x20to\x20exit\x20gracefully','9107034gKnMUZ','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','stop','p-limit','Xfros','yHXET','UNSTABLE_onCustomMessage','test-file-failure','7495920gQfDlW','length','worker','DPffi','eJTdS','1690308kohGqt','resolve','../../helpers/test-observability/utils'];a53_0x126d=function(){return _0x4bfdc8;};return a53_0x126d();}const a53_0x587314=a53_0x1789;(function(_0x3909c6,_0x3172f5){const _0x8b20b8=a53_0x1789,_0x398310=_0x3909c6();while(!![]){try{const _0x293899=-parseInt(_0x8b20b8(0x1e3))/0x1+-parseInt(_0x8b20b8(0x210))/0x2*(parseInt(_0x8b20b8(0x1d3))/0x3)+parseInt(_0x8b20b8(0x1ca))/0x4+-parseInt(_0x8b20b8(0x1de))/0x5+-parseInt(_0x8b20b8(0x1d6))/0x6+-parseInt(_0x8b20b8(0x1cc))/0x7*(-parseInt(_0x8b20b8(0x215))/0x8)+-parseInt(_0x8b20b8(0x1c3))/0x9*(-parseInt(_0x8b20b8(0x1ff))/0xa);if(_0x293899===_0x3172f5)break;else _0x398310['push'](_0x398310['shift']());}catch(_0x2c4899){_0x398310['push'](_0x398310['shift']());}}}(a53_0x126d,0xcf023));const Worker=require('jest-worker')[a53_0x587314(0x1f3)],Emittery=require(a53_0x587314(0x212)),pLimit=require(a53_0x587314(0x1d9)),{parentPort}=require('worker_threads'),util=require(a53_0x587314(0x1bd)),logger=require(a53_0x587314(0x20d))[a53_0x587314(0x20f)],PerformanceTester=require(a53_0x587314(0x1bb)),PerformanceEvents=require(a53_0x587314(0x1bf))['EVENTS'],{debug}=require(a53_0x587314(0x1e5)),TestHubHandler=require('../../helpers/testhub/testhubHandler');function a53_0x1789(_0x877df6,_0x215247){const _0x126dfd=a53_0x126d();return a53_0x1789=function(_0x17890e,_0x599869){_0x17890e=_0x17890e-0x1b0;let _0x43ac18=_0x126dfd[_0x17890e];return _0x43ac18;},a53_0x1789(_0x877df6,_0x215247);}exports[a53_0x587314(0x20a)]=(_0x51610b,_0x4e4b3d,_0x5ef784)=>new Promise(async _0x3720bb=>{const _0x464b58=a53_0x587314,_0x575750={'PzOwO':_0x464b58(0x218),'pkyZp':function(_0x5b7597,_0x4c35be){return _0x5b7597+_0x4c35be;},'xydEM':_0x464b58(0x1b0),'veFJD':_0x464b58(0x1d5),'AMiZr':function(_0xab2c37,_0x285633){return _0xab2c37(_0x285633);},'ovBaI':function(_0xed9071,_0x1f1ebe){return _0xed9071(_0x1f1ebe);},'sZgNg':_0x464b58(0x1b3),'QKrSh':_0x464b58(0x1d2),'DPffi':_0x464b58(0x1e0),'eJTdS':'json','Xfros':'pipe','qEZir':function(_0x302c88,_0x59e2f6){return _0x302c88*_0x59e2f6;},'GemnB':_0x464b58(0x202),'qzMMD':_0x464b58(0x1dd),'ePaBG':function(_0x5d1828,_0x5c06a7){return _0x5d1828(_0x5c06a7);},'aYssX':function(_0x1ea67a,_0x474745){return _0x1ea67a*_0x474745;}},_0x3f4f3a=_0x5ef784['config'],_0x2a8db6={},_0x4bccdd=new Worker(require[_0x464b58(0x1e4)](_0x575750[_0x464b58(0x1c7)]),{'exposedMethods':[_0x575750[_0x464b58(0x1e1)]],'forkOptions':{'serialization':_0x575750[_0x464b58(0x1e2)],'stdio':_0x575750[_0x464b58(0x1da)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x575750[_0x464b58(0x1cf)](_0x4e4b3d,0x1),'enableWorkerThreads':!![]}),_0x6b3dfc=new Emittery();_0x6b3dfc['on'](_0x575750[_0x464b58(0x1c5)],_0x5571d4=>{const _0x28f277=_0x464b58;_0x2a8db6[_0x5571d4[0x0]]?(_0x2a8db6[_0x5571d4[0x0]][_0x575750['PzOwO']]=_0x575750[_0x28f277(0x1e9)](_0x2a8db6[_0x5571d4[0x0]][_0x575750[_0x28f277(0x1be)]],_0x5571d4[0x1][_0x575750['PzOwO']]),_0x2a8db6[_0x5571d4[0x0]][_0x575750[_0x28f277(0x1f2)]]=[..._0x2a8db6[_0x5571d4[0x0]][_0x575750['xydEM']],..._0x5571d4[0x1][_0x575750[_0x28f277(0x1f2)]]]):_0x2a8db6[_0x5571d4[0x0]]={'failureCount':_0x5571d4[0x1][_0x575750[_0x28f277(0x1be)]],'results':[..._0x5571d4[0x1][_0x575750[_0x28f277(0x1f2)]]]};}),_0x6b3dfc['on'](_0x575750[_0x464b58(0x1b9)],_0x24bc51=>console[_0x464b58(0x1c6)](_0x24bc51[0x1]));_0x4bccdd[_0x464b58(0x213)]()&&_0x4bccdd['getStdout']()[_0x464b58(0x1cd)](process['stdout']);_0x4bccdd[_0x464b58(0x1fa)]()&&_0x4bccdd[_0x464b58(0x1fa)]()[_0x464b58(0x1cd)](process[_0x464b58(0x204)]);const _0x3749e3=async()=>{const _0x1fceff=_0x464b58,{forceExited:_0x3573a8}=await _0x4bccdd[_0x1fceff(0x205)]();_0x3573a8&&console[_0x1fceff(0x1f1)](_0x575750[_0x1fceff(0x1b7)]);try{await TestHubHandler[_0x1fceff(0x1d8)]();}catch(_0x3b10ba){_0x575750['AMiZr'](debug,_0x1fceff(0x1d7)+_0x3b10ba);}_0x575750[_0x1fceff(0x1ba)](_0x3720bb,_0x2a8db6);},_0x4cd69c=_0x575750[_0x464b58(0x20b)](pLimit,_0x575750[_0x464b58(0x1f5)](_0x4e4b3d,0x1)),_0xafefe7=_0x56620a=>_0x4cd69c(async()=>{const _0x42ccf0=_0x464b58;await _0x6b3dfc[_0x42ccf0(0x1b1)](_0x575750['sZgNg'],_0x56620a);const _0x5c99f4=_0x4bccdd['worker'](_0x56620a,_0x3f4f3a);try{parentPort&&_0x5c99f4[_0x42ccf0(0x1dc)](_0x5385f5=>{const _0x15ee39=_0x42ccf0;try{parentPort[_0x15ee39(0x201)](_0x5385f5);}catch(_0x215452){logger[_0x15ee39(0x1f9)](_0x15ee39(0x217)+util[_0x15ee39(0x1c0)](_0x215452));}});}catch(_0x3da6fd){logger[_0x42ccf0(0x1f9)](_0x42ccf0(0x1b6)+util['format'](_0x3da6fd));}return _0x5c99f4;});PerformanceTester[_0x464b58(0x205)](PerformanceEvents['SDK_SETUP']),Promise[_0x464b58(0x1ee)](_0x51610b[_0x464b58(0x20c)](_0x262f00=>_0xafefe7(_0x262f00)[_0x464b58(0x1bc)](_0x170ec9=>_0x6b3dfc['emit'](_0x464b58(0x202),[_0x262f00[_0x464b58(0x1f4)][_0x464b58(0x200)],_0x170ec9]),_0x37bce7=>_0x6b3dfc[_0x464b58(0x1b1)]('test-file-failure',[_0x262f00,_0x37bce7]))))['then'](_0x3749e3,_0x3749e3);}),exports[a53_0x587314(0x203)]=(_0x4e93bf,_0x595b2d,_0x23d0ba,_0x254315,_0x73e0b3)=>{const _0x12be43=a53_0x587314,_0x58e852={'UvINl':_0x12be43(0x1d5),'ydvUm':function(_0x74a48,_0x291256){return _0x74a48(_0x291256);},'YMsFY':_0x12be43(0x1fe),'eFRiV':_0x12be43(0x1d2),'TGeyJ':_0x12be43(0x1f6),'nEzYH':_0x12be43(0x1c4),'yHXET':'pipe','nLWvI':_0x12be43(0x1ed),'qIaLE':'platform-run-failure','PcdXN':function(_0x5d7e49,_0x32352c){return _0x5d7e49(_0x32352c);}};return new Promise(_0x4f2e0e=>{const _0x2dddfb=_0x12be43,_0xfea92={'jKFen':_0x58e852[_0x2dddfb(0x1cb)],'Usejc':function(_0x4c7275,_0x50bf30){const _0x253394=_0x2dddfb;return _0x58e852[_0x253394(0x1fc)](_0x4c7275,_0x50bf30);},'VQUJI':_0x58e852[_0x2dddfb(0x1ec)]},_0xee9f40=[],_0x596386=new Worker(require[_0x2dddfb(0x1e4)](_0x58e852[_0x2dddfb(0x1c2)]),{'exposedMethods':[_0x58e852[_0x2dddfb(0x219)]],'forkOptions':{'serialization':_0x58e852['nEzYH'],'stdio':_0x58e852[_0x2dddfb(0x1db)]},'numWorkers':_0x4e93bf[_0x2dddfb(0x1df)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x2a1896=new Emittery();_0x2a1896['on'](_0x58e852[_0x2dddfb(0x211)],_0x7015a4=>{const _0xdce46f=_0x2dddfb;_0xee9f40[_0xdce46f(0x1fb)]([_0x7015a4[0x0],_0x7015a4[0x1]]);}),_0x2a1896['on'](_0x58e852['qIaLE'],_0x3d317a=>console[_0x2dddfb(0x1c6)](_0x3d317a[0x1]));_0x596386[_0x2dddfb(0x213)]()&&_0x596386[_0x2dddfb(0x213)]()[_0x2dddfb(0x1cd)](process[_0x2dddfb(0x206)]);_0x596386['getStderr']()&&_0x596386['getStderr']()[_0x2dddfb(0x1cd)](process[_0x2dddfb(0x204)]);const _0x3e8860=async()=>{const _0x5b0653=_0x2dddfb,{forceExited:_0x571cf0}=await _0x596386[_0x5b0653(0x205)]();_0x571cf0&&console[_0x5b0653(0x1f1)](_0xfea92[_0x5b0653(0x1b4)]),_0xfea92[_0x5b0653(0x1fd)](_0x4f2e0e,_0xee9f40);},_0x1cc6b7=_0x58e852[_0x2dddfb(0x1c8)](pLimit,_0x4e93bf[_0x2dddfb(0x1df)]||0x1),_0x54ff36=(_0x3908a6,_0x1786bb)=>_0x1cc6b7(async()=>{const _0x909700=_0x2dddfb;return await _0x2a1896[_0x909700(0x1b1)](_0xfea92['VQUJI'],_0x3908a6),_0x595b2d[_0x909700(0x1e8)]=_0x23d0ba[_0x909700(0x1b8)][_0x1786bb],_0x595b2d[_0x909700(0x1ce)]=_0x1786bb,_0x596386['cucumberWorker'](_0x3908a6,_0x595b2d,_0x23d0ba,_0x254315,_0x73e0b3);});Promise[_0x2dddfb(0x1ee)](_0x4e93bf['map']((_0x3b672b,_0x558f8f)=>_0x54ff36(_0x3b672b,_0x558f8f)[_0x2dddfb(0x1bc)](_0x4d75fd=>_0x2a1896[_0x2dddfb(0x1b1)](_0x2dddfb(0x1ed),[_0x3b672b,_0x4d75fd]),_0x1acf3c=>_0x2a1896['emit']('platform-run-failure',[_0x3b672b,_0x1acf3c]))))['then'](_0x3e8860,_0x3e8860);});},exports[a53_0x587314(0x1d4)]=(_0x4f7edc,_0x258164)=>new Promise(_0x39cd1d=>{const _0x34b8e5=a53_0x587314,_0x5d49eb={'egykB':function(_0x16757f,_0x1e83aa){return _0x16757f===_0x1e83aa;},'jiUmM':function(_0x37c18b,_0x50ecc4){return _0x37c18b!==_0x50ecc4;},'FdlfD':_0x34b8e5(0x216),'aKcTe':'Workers\x20failed\x20to\x20exit\x20gracefully','lYgws':function(_0x240185,_0xd5a0ca){return _0x240185(_0xd5a0ca);},'PEsfP':_0x34b8e5(0x1d2),'tKzjG':_0x34b8e5(0x1b2),'CRbyE':_0x34b8e5(0x1c4),'Ashjv':_0x34b8e5(0x1cd),'dPdoD':_0x34b8e5(0x202),'PKeig':_0x34b8e5(0x1dd),'XrJNB':function(_0x5a4eda,_0x271432){return _0x5a4eda(_0x271432);}},_0x4bc4dd={},_0x37b047=new Worker(require[_0x34b8e5(0x1e4)](_0x5d49eb[_0x34b8e5(0x1f0)]),{'exposedMethods':[_0x5d49eb['tKzjG']],'forkOptions':{'serialization':_0x5d49eb[_0x34b8e5(0x1f8)],'stdio':_0x5d49eb[_0x34b8e5(0x21a)]},'numWorkers':_0x258164,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x544008=new Emittery();_0x544008['on'](_0x5d49eb['dPdoD'],_0x505c2b=>{const _0x55ab24=_0x34b8e5;_0x505c2b[0x0]&&logger[_0x55ab24(0x1f7)](_0x55ab24(0x214)+_0x505c2b[0x1]+'\x20for',_0x505c2b[0x0]);}),_0x544008['on'](_0x5d49eb[_0x34b8e5(0x1c9)],_0x10b3c4=>{const _0x4ba4c0=_0x34b8e5;process[_0x4ba4c0(0x1e7)]=0x1;});_0x37b047[_0x34b8e5(0x213)]()&&_0x37b047[_0x34b8e5(0x213)]()[_0x34b8e5(0x1cd)](process[_0x34b8e5(0x206)]);_0x37b047[_0x34b8e5(0x1fa)]()&&_0x37b047[_0x34b8e5(0x1fa)]()['pipe'](process[_0x34b8e5(0x204)]);const _0x70c34a=async()=>{const _0x5eafd9=_0x34b8e5,_0x4ba970={'STiyQ':function(_0xf9bae4,_0x10891a){return _0x5d49eb['egykB'](_0xf9bae4,_0x10891a);},'glgIp':function(_0x3c86ca,_0x478f0f){const _0x541b02=a53_0x1789;return _0x5d49eb[_0x541b02(0x1eb)](_0x3c86ca,_0x478f0f);},'FEuxE':_0x5d49eb['FdlfD']};let _0x190454=0x0;const _0x322f66=_0x37b047[_0x5eafd9(0x1b5)][_0x5eafd9(0x1ea)](),_0x14e1fd=()=>{},_0x3d2c4c=_0x322f66[_0x5eafd9(0x20c)](async _0x49056c=>{const _0xe5d506=_0x5eafd9,_0x4c09ff={'pAlVQ':function(_0x2bb8fb,_0x4c53cb){const _0x552acb=a53_0x1789;return _0x4ba970[_0x552acb(0x207)](_0x2bb8fb,_0x4c53cb);},'hUCgr':function(_0x164d81,_0x5a9ca9){const _0x30d8a4=a53_0x1789;return _0x4ba970[_0x30d8a4(0x1d1)](_0x164d81,_0x5a9ca9);}};_0x49056c[_0xe5d506(0x208)]([0x2,![]],_0x14e1fd,_0x14e1fd,_0x14e1fd),_0x49056c[_0xe5d506(0x20e)]['on'](_0x4ba970['FEuxE'],_0x4f1f70=>{const _0x2bf0f4=_0xe5d506;_0x4c09ff[_0x2bf0f4(0x1c1)](_0x190454,0x0)&&_0x4c09ff[_0x2bf0f4(0x1ef)](_0x4f1f70,0x0)&&(_0x190454=_0x4f1f70);}),await _0x49056c[_0xe5d506(0x21b)]();});await Promise[_0x5eafd9(0x1ee)](_0x3d2c4c),process[_0x5eafd9(0x1e7)]=_0x190454;const {forceExited:_0x947466}=await _0x37b047['end']();_0x947466&&console['error'](_0x5d49eb['aKcTe']),_0x5d49eb[_0x5eafd9(0x1d0)](_0x39cd1d,_0x4bc4dd);},_0x11cb16=_0x5d49eb[_0x34b8e5(0x209)](pLimit,_0x258164),_0x285b6d=_0x5356f8=>_0x11cb16(async()=>{const _0x37ae23=_0x34b8e5;return _0x37b047[_0x37ae23(0x1b2)](_0x5356f8);});Promise[_0x34b8e5(0x1ee)](_0x4f7edc[_0x34b8e5(0x20c)](_0x4621b4=>_0x285b6d(_0x4621b4)['then'](_0x57bfd7=>_0x544008[_0x34b8e5(0x1b1)](_0x34b8e5(0x202),[_0x4621b4[_0x34b8e5(0x1f4)][_0x34b8e5(0x200)],_0x4621b4[_0x34b8e5(0x1f4)][_0x34b8e5(0x1e6)]]),_0x2d5d05=>_0x544008[_0x34b8e5(0x1b1)](_0x34b8e5(0x1dd),[_0x4621b4,_0x2d5d05]))))[_0x34b8e5(0x1bc)](_0x70c34a,_0x70c34a);});
|
|
1
|
+
function a53_0x5e7e(){const _0x2a76ee=['platform-run-success','util','20YwIrrX','LVFrh','results','cxfPF','platform-run-failure','error','parallelCucumberRun','platform-run-start','postMessage','OrlnI','test-file-success','mmIfk','945789ymTcit','exitCode','102chlulb','all','35885BKtcIA','kPZRm','push','wXJxW','emit','VRuUm','waitForExit','stderr','8351oGhifR','SDK_SETUP','getStderr','vanillaWorker','\x20for','then','XkBWl','platform','jteFV','getStdout','platformIndex','HadVQ','../../helpers/performance/constants','WGTDw','resolve','521432dKqsJK','./testWorker.js','info','p-limit','length','parallelVanillaRun','test-file-failure','jxZWx','log','ZMdXl','stdout','EVENTS','file','8231729PBsoZS','platforms','config','nTSgA','wnUTN','Workers\x20failed\x20to\x20exit\x20gracefully','Running\x20','debug','Exception\x20in\x20sending\x20worker\x20message\x20','504MmvLBD','101538AGMuTO','json','../../helpers/performance/performance-tester','QSlFH','ZDHxG','worker_threads','../../helpers/test-observability/utils','configuration','worker','NfTHN','map','KBvOQ','../../helpers/testhub/testhubHandler','QAQpl','test-file-start','platformCaps','exit','end','859FYeoMP','_workerPool','failureCount','JPYha','../../helpers/logger','parallelTestRun','gZgLs','FzyZn','220GdPRjo','yGKOw','taoJn','pipe','ZfHqg','Worker','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','GHUqX','format','ZiRkE','kyYYT','zlcZE'];a53_0x5e7e=function(){return _0x2a76ee;};return a53_0x5e7e();}function a53_0x5b97(_0x5f347f,_0xcb2c6a){const _0x5e7e68=a53_0x5e7e();return a53_0x5b97=function(_0x5b9713,_0x47deff){_0x5b9713=_0x5b9713-0xb2;let _0x1350ed=_0x5e7e68[_0x5b9713];return _0x1350ed;},a53_0x5b97(_0x5f347f,_0xcb2c6a);}const a53_0x2ad2ae=a53_0x5b97;(function(_0x28555b,_0x99a025){const _0x302a4d=a53_0x5b97,_0x5589c9=_0x28555b();while(!![]){try{const _0x336d88=-parseInt(_0x302a4d(0xfb))/0x1*(-parseInt(_0x302a4d(0xb9))/0x2)+-parseInt(_0x302a4d(0xb7))/0x3+parseInt(_0x302a4d(0x111))/0x4*(-parseInt(_0x302a4d(0xbb))/0x5)+parseInt(_0x302a4d(0xe8))/0x6*(-parseInt(_0x302a4d(0xc3))/0x7)+parseInt(_0x302a4d(0xd2))/0x8+parseInt(_0x302a4d(0xe9))/0x9*(-parseInt(_0x302a4d(0x103))/0xa)+parseInt(_0x302a4d(0xdf))/0xb;if(_0x336d88===_0x99a025)break;else _0x5589c9['push'](_0x5589c9['shift']());}catch(_0x1e4831){_0x5589c9['push'](_0x5589c9['shift']());}}}(a53_0x5e7e,0x26843));const Worker=require('jest-worker')[a53_0x2ad2ae(0x108)],Emittery=require('emittery'),pLimit=require(a53_0x2ad2ae(0xd5)),{parentPort}=require(a53_0x2ad2ae(0xee)),util=require(a53_0x2ad2ae(0x110)),logger=require(a53_0x2ad2ae(0xff))['winstonLogger'],PerformanceTester=require(a53_0x2ad2ae(0xeb)),PerformanceEvents=require(a53_0x2ad2ae(0xcf))[a53_0x2ad2ae(0xdd)],{debug}=require(a53_0x2ad2ae(0xef)),TestHubHandler=require(a53_0x2ad2ae(0xf5));exports[a53_0x2ad2ae(0x100)]=(_0x5022da,_0x5a1275,_0x5226b8)=>new Promise(async _0x48527a=>{const _0x326289=a53_0x2ad2ae,_0xb8c77f={'nTSgA':_0x326289(0xfd),'jAzVD':function(_0x3d2120,_0xe5c656){return _0x3d2120+_0xe5c656;},'NfTHN':_0x326289(0x113),'wnUTN':_0x326289(0xe4),'ZMdXl':function(_0x1aac4c,_0x58a173){return _0x1aac4c(_0x58a173);},'HadVQ':_0x326289(0xf7),'taoJn':_0x326289(0xd3),'XkBWl':_0x326289(0xf1),'yGKOw':_0x326289(0xea),'WGTDw':_0x326289(0x106),'UAGGR':function(_0x1fcd96,_0x2508eb){return _0x1fcd96*_0x2508eb;},'LVFrh':_0x326289(0xb5),'zlcZE':_0x326289(0xd8),'KBvOQ':function(_0x2f3c61,_0x1b58e7){return _0x2f3c61*_0x1b58e7;}},_0x180d18=_0x5226b8[_0x326289(0xe1)],_0x252ea8={},_0x546c7a=new Worker(require[_0x326289(0xd1)](_0xb8c77f[_0x326289(0x105)]),{'exposedMethods':[_0xb8c77f[_0x326289(0xc9)]],'forkOptions':{'serialization':_0xb8c77f[_0x326289(0x104)],'stdio':_0xb8c77f[_0x326289(0xd0)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0xb8c77f['UAGGR'](_0x5a1275,0x1),'enableWorkerThreads':!![]}),_0x209be0=new Emittery();_0x209be0['on'](_0xb8c77f[_0x326289(0x112)],_0x56ea9c=>{const _0xf3d958=_0x326289;_0x252ea8[_0x56ea9c[0x0]]?(_0x252ea8[_0x56ea9c[0x0]][_0xb8c77f[_0xf3d958(0xe2)]]=_0xb8c77f['jAzVD'](_0x252ea8[_0x56ea9c[0x0]][_0xb8c77f['nTSgA']],_0x56ea9c[0x1][_0xb8c77f[_0xf3d958(0xe2)]]),_0x252ea8[_0x56ea9c[0x0]][_0xb8c77f[_0xf3d958(0xf2)]]=[..._0x252ea8[_0x56ea9c[0x0]][_0xb8c77f[_0xf3d958(0xf2)]],..._0x56ea9c[0x1][_0xb8c77f[_0xf3d958(0xf2)]]]):_0x252ea8[_0x56ea9c[0x0]]={'failureCount':_0x56ea9c[0x1][_0xb8c77f[_0xf3d958(0xe2)]],'results':[..._0x56ea9c[0x1][_0xb8c77f['NfTHN']]]};}),_0x209be0['on'](_0xb8c77f[_0x326289(0x10e)],_0x366560=>console[_0x326289(0xda)](_0x366560[0x1]));_0x546c7a['getStdout']()&&_0x546c7a['getStdout']()[_0x326289(0x106)](process[_0x326289(0xdc)]);_0x546c7a[_0x326289(0xc5)]()&&_0x546c7a[_0x326289(0xc5)]()[_0x326289(0x106)](process[_0x326289(0xc2)]);const _0x483dc8=async()=>{const _0x2fabaa=_0x326289,{forceExited:_0x502fe3}=await _0x546c7a['end']();_0x502fe3&&console[_0x2fabaa(0x116)](_0xb8c77f[_0x2fabaa(0xe3)]);try{await TestHubHandler['stop']();}catch(_0x3d6e42){_0xb8c77f[_0x2fabaa(0xdb)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x3d6e42);}_0xb8c77f[_0x2fabaa(0xdb)](_0x48527a,_0x252ea8);},_0x3c520f=_0xb8c77f['ZMdXl'](pLimit,_0xb8c77f[_0x326289(0xf4)](_0x5a1275,0x1)),_0x3d13a8=_0x29a172=>_0x3c520f(async()=>{const _0xba1149=_0x326289;await _0x209be0[_0xba1149(0xbf)](_0xb8c77f[_0xba1149(0xce)],_0x29a172);const _0x4741c1=_0x546c7a[_0xba1149(0xf1)](_0x29a172,_0x180d18);try{parentPort&&_0x4741c1['UNSTABLE_onCustomMessage'](_0x526422=>{const _0x17a68e=_0xba1149;try{parentPort[_0x17a68e(0xb3)](_0x526422);}catch(_0x996d4f){logger[_0x17a68e(0xe6)](_0x17a68e(0xe7)+util[_0x17a68e(0x10b)](_0x996d4f));}});}catch(_0xd2636e){logger[_0xba1149(0xe6)](_0xba1149(0x109)+util[_0xba1149(0x10b)](_0xd2636e));}return _0x4741c1;});PerformanceTester[_0x326289(0xfa)](PerformanceEvents[_0x326289(0xc4)]),Promise[_0x326289(0xba)](_0x5022da[_0x326289(0xf3)](_0x1fde92=>_0x3d13a8(_0x1fde92)[_0x326289(0xc8)](_0x20ccc5=>_0x209be0[_0x326289(0xbf)](_0x326289(0xb5),[_0x1fde92[_0x326289(0xf0)][_0x326289(0xca)],_0x20ccc5]),_0x4a406f=>_0x209be0['emit'](_0x326289(0xd8),[_0x1fde92,_0x4a406f]))))[_0x326289(0xc8)](_0x483dc8,_0x483dc8);}),exports[a53_0x2ad2ae(0x117)]=(_0x35d082,_0xf10b56,_0x16ddaf,_0xf7da3b,_0x209908)=>{const _0x52d5c0=a53_0x2ad2ae,_0x380b98={'PBuhb':_0x52d5c0(0xb2),'EYwyI':_0x52d5c0(0xe4),'wXJxW':function(_0x5dba84,_0x631aa6){return _0x5dba84(_0x631aa6);},'IaOru':'./testWorker.js','gZgLs':'cucumberWorker','QSlFH':'json','yfTyy':_0x52d5c0(0x106),'cxfPF':'platform-run-success','ZfHqg':'platform-run-failure','kyYYT':function(_0x11ad8b,_0x2accba){return _0x11ad8b(_0x2accba);}};return new Promise(_0x2c5cbe=>{const _0x7b41b5=_0x52d5c0,_0x221bf8={'kPZRm':_0x380b98['EYwyI'],'OrlnI':function(_0x4169bb,_0x2ebaf2){const _0x464468=a53_0x5b97;return _0x380b98[_0x464468(0xbe)](_0x4169bb,_0x2ebaf2);}},_0x317d49=[],_0x218156=new Worker(require[_0x7b41b5(0xd1)](_0x380b98['IaOru']),{'exposedMethods':[_0x380b98[_0x7b41b5(0x101)]],'forkOptions':{'serialization':_0x380b98[_0x7b41b5(0xec)],'stdio':_0x380b98['yfTyy']},'numWorkers':_0x35d082[_0x7b41b5(0xd6)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x41250b=new Emittery();_0x41250b['on'](_0x380b98[_0x7b41b5(0x114)],_0x4406db=>{const _0x269c87=_0x7b41b5;_0x317d49[_0x269c87(0xbd)]([_0x4406db[0x0],_0x4406db[0x1]]);}),_0x41250b['on'](_0x380b98[_0x7b41b5(0x107)],_0x177d9b=>console['log'](_0x177d9b[0x1]));_0x218156[_0x7b41b5(0xcc)]()&&_0x218156[_0x7b41b5(0xcc)]()[_0x7b41b5(0x106)](process[_0x7b41b5(0xdc)]);_0x218156['getStderr']()&&_0x218156['getStderr']()[_0x7b41b5(0x106)](process[_0x7b41b5(0xc2)]);const _0x588ec6=async()=>{const _0xcb885d=_0x7b41b5,{forceExited:_0x528506}=await _0x218156[_0xcb885d(0xfa)]();_0x528506&&console['error'](_0x221bf8[_0xcb885d(0xbc)]),_0x221bf8[_0xcb885d(0xb4)](_0x2c5cbe,_0x317d49);},_0x40ae4f=_0x380b98[_0x7b41b5(0x10d)](pLimit,_0x35d082[_0x7b41b5(0xd6)]||0x1),_0x58fe19=(_0x3cb901,_0x146616)=>_0x40ae4f(async()=>{const _0x433f9b=_0x7b41b5;return await _0x41250b[_0x433f9b(0xbf)](_0x380b98['PBuhb'],_0x3cb901),_0xf10b56[_0x433f9b(0xf8)]=_0x16ddaf[_0x433f9b(0xe0)][_0x146616],_0xf10b56[_0x433f9b(0xcd)]=_0x146616,_0x218156['cucumberWorker'](_0x3cb901,_0xf10b56,_0x16ddaf,_0xf7da3b,_0x209908);});Promise['all'](_0x35d082['map']((_0x1d9ae1,_0x532718)=>_0x58fe19(_0x1d9ae1,_0x532718)['then'](_0x2f782f=>_0x41250b[_0x7b41b5(0xbf)](_0x7b41b5(0x10f),[_0x1d9ae1,_0x2f782f]),_0x4b2977=>_0x41250b['emit'](_0x7b41b5(0x115),[_0x1d9ae1,_0x4b2977]))))['then'](_0x588ec6,_0x588ec6);});},exports[a53_0x2ad2ae(0xd7)]=(_0x359bf6,_0x47a434)=>new Promise(_0x4cb177=>{const _0x13eacd=a53_0x2ad2ae,_0x3f9d6f={'ZiRkE':function(_0x1773f9,_0x5e23e6){return _0x1773f9===_0x5e23e6;},'kRgRp':function(_0x24f372,_0x3ff9c0){return _0x24f372!==_0x3ff9c0;},'MeUQG':_0x13eacd(0xf9),'JPYha':_0x13eacd(0xe4),'VRuUm':function(_0x3dee77,_0x4078b5){return _0x3dee77(_0x4078b5);},'mmIfk':_0x13eacd(0xd3),'qHrBA':_0x13eacd(0xc6),'jteFV':'json','EJCih':_0x13eacd(0x106),'QAQpl':_0x13eacd(0xb5),'FzyZn':_0x13eacd(0xd8)},_0x46bde8={},_0x2ad26e=new Worker(require[_0x13eacd(0xd1)](_0x3f9d6f[_0x13eacd(0xb6)]),{'exposedMethods':[_0x3f9d6f['qHrBA']],'forkOptions':{'serialization':_0x3f9d6f[_0x13eacd(0xcb)],'stdio':_0x3f9d6f['EJCih']},'numWorkers':_0x47a434,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x2ca807=new Emittery();_0x2ca807['on'](_0x3f9d6f[_0x13eacd(0xf6)],_0x50906a=>{const _0x2c3b07=_0x13eacd;_0x50906a[0x0]&&logger[_0x2c3b07(0xd4)](_0x2c3b07(0xe5)+_0x50906a[0x1]+_0x2c3b07(0xc7),_0x50906a[0x0]);}),_0x2ca807['on'](_0x3f9d6f[_0x13eacd(0x102)],_0x215044=>{process['exitCode']=0x1;});_0x2ad26e[_0x13eacd(0xcc)]()&&_0x2ad26e[_0x13eacd(0xcc)]()[_0x13eacd(0x106)](process[_0x13eacd(0xdc)]);_0x2ad26e[_0x13eacd(0xc5)]()&&_0x2ad26e[_0x13eacd(0xc5)]()['pipe'](process['stderr']);const _0xa0eaa4=async()=>{const _0xec749a=_0x13eacd,_0x26509e={'ZDHxG':function(_0x168b33,_0x179344){const _0x5ccd40=a53_0x5b97;return _0x3f9d6f[_0x5ccd40(0x10c)](_0x168b33,_0x179344);},'jxZWx':function(_0x5b2d0b,_0x5cb979){return _0x3f9d6f['kRgRp'](_0x5b2d0b,_0x5cb979);},'GHUqX':_0x3f9d6f['MeUQG']};let _0x3b9e14=0x0;const _0x5035ef=_0x2ad26e[_0xec749a(0xfc)]['getWorkers'](),_0x2fbd67=()=>{},_0x13065c=_0x5035ef[_0xec749a(0xf3)](async _0x584ea7=>{const _0x3e9d0c=_0xec749a;_0x584ea7['send']([0x2,![]],_0x2fbd67,_0x2fbd67,_0x2fbd67),_0x584ea7['_child']['on'](_0x26509e[_0x3e9d0c(0x10a)],_0x136532=>{const _0x1cf80c=_0x3e9d0c;_0x26509e[_0x1cf80c(0xed)](_0x3b9e14,0x0)&&_0x26509e[_0x1cf80c(0xd9)](_0x136532,0x0)&&(_0x3b9e14=_0x136532);}),await _0x584ea7[_0x3e9d0c(0xc1)]();});await Promise['all'](_0x13065c),process[_0xec749a(0xb8)]=_0x3b9e14;const {forceExited:_0x4bba2e}=await _0x2ad26e[_0xec749a(0xfa)]();_0x4bba2e&&console[_0xec749a(0x116)](_0x3f9d6f[_0xec749a(0xfe)]),_0x3f9d6f[_0xec749a(0xc0)](_0x4cb177,_0x46bde8);},_0x4a7c12=_0x3f9d6f[_0x13eacd(0xc0)](pLimit,_0x47a434),_0x5bc7ba=_0x3e2863=>_0x4a7c12(async()=>{const _0x50c3df=_0x13eacd;return _0x2ad26e[_0x50c3df(0xc6)](_0x3e2863);});Promise[_0x13eacd(0xba)](_0x359bf6[_0x13eacd(0xf3)](_0x29b170=>_0x5bc7ba(_0x29b170)[_0x13eacd(0xc8)](_0x529e84=>_0x2ca807[_0x13eacd(0xbf)]('test-file-success',[_0x29b170['configuration']['platform'],_0x29b170[_0x13eacd(0xf0)][_0x13eacd(0xde)]]),_0x47ae1d=>_0x2ca807[_0x13eacd(0xbf)](_0x13eacd(0xd8),[_0x29b170,_0x47ae1d]))))[_0x13eacd(0xc8)](_0xa0eaa4,_0xa0eaa4);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a54_0x206123=a54_0x179c;(function(_0x33cdaf,_0x119887){const _0x4a3722=a54_0x179c,_0x2dd77d=_0x33cdaf();while(!![]){try{const _0x48a08d=parseInt(_0x4a3722(0xa3))/0x1*(parseInt(_0x4a3722(0x99))/0x2)+-parseInt(_0x4a3722(0x97))/0x3+-parseInt(_0x4a3722(0x9d))/0x4*(parseInt(_0x4a3722(0x9a))/0x5)+-parseInt(_0x4a3722(0x92))/0x6+parseInt(_0x4a3722(0x8d))/0x7+parseInt(_0x4a3722(0x8f))/0x8*(-parseInt(_0x4a3722(0x94))/0x9)+parseInt(_0x4a3722(0x8c))/0xa;if(_0x48a08d===_0x119887)break;else _0x2dd77d['push'](_0x2dd77d['shift']());}catch(_0x38c88b){_0x2dd77d['push'](_0x2dd77d['shift']());}}}(a54_0x5704,0xf048a));const PerformanceEvents=require(a54_0x206123(0x9c))['EVENTS'],PerformanceTester=require(a54_0x206123(0x87)),{sleep}=require(a54_0x206123(0x88));function a54_0x5704(){const _0x14e4ff=['../../helpers/test-observability/utils','ZfjhV','NYFnz','SDK_POST_TEST','45627130CbFCYq','1776964KMErLc','end','40GXBRhK','vQqML','vanilla','10054344cSWeuG','stopMonitoring','1048734MzeDNq','FcHKc','cUYJv','2618391XaplaB','Ffnwa','24328jtZaWY','1195820NnfeKV','runTest','../../helpers/performance/constants','16DLvmLS','runCucumberTest','startMonitoring','fpLRP','cucumber-js','run','21sNyjnM','formatter','runVanillaTest','KZDmb','RRMnl','../launcher/launcher','../../helpers/performance/performance-tester'];a54_0x5704=function(){return _0x14e4ff;};return a54_0x5704();}function a54_0x179c(_0x22ecc5,_0x995ba2){const _0x5704ab=a54_0x5704();return a54_0x179c=function(_0x179c4d,_0x59fe2c){_0x179c4d=_0x179c4d-0x87;let _0x26586f=_0x5704ab[_0x179c4d];return _0x26586f;},a54_0x179c(_0x22ecc5,_0x995ba2);}exports[a54_0x206123(0x9b)]=async(_0xc61ea2,_0x2596da)=>{const _0x586435=a54_0x206123,_0x27cfd={'Ffnwa':function(_0x271ba6,_0x2e738f){return _0x271ba6(_0x2e738f);},'vQqML':'../launcher/launcher','cUYJv':'mocha'};PerformanceTester[_0x586435(0x9f)]();const _0x5d5fbf=_0x27cfd['Ffnwa'](require,_0x27cfd[_0x586435(0x90)]),_0x385430=new _0x5d5fbf(_0x27cfd[_0x586435(0x96)],_0xc61ea2,_0x2596da),_0x48653d=await _0x385430[_0x586435(0xa2)]();return PerformanceTester[_0x586435(0x8e)](PerformanceEvents[_0x586435(0x8b)]),await _0x27cfd[_0x586435(0x98)](sleep,0x3e8),PerformanceTester[_0x586435(0x93)](),_0x48653d;},exports[a54_0x206123(0x9e)]=async(_0x589e92,_0x59f247,_0x105c3c,_0x5ecf7a,_0x415d03)=>{const _0x4bd058=a54_0x206123,_0xd229a={'FcHKc':function(_0x238ea7,_0x54ae43){return _0x238ea7(_0x54ae43);},'NYFnz':_0x4bd058(0xa8),'fpLRP':_0x4bd058(0xa1)},_0x180beb={'capability':_0x589e92,..._0x59f247},_0xff8227={};_0xff8227['configuration']=_0x180beb,_0xff8227[_0x4bd058(0xa4)]=_0x415d03;const _0x401549=_0xff8227,_0x1bf3a2=_0xd229a[_0x4bd058(0x95)](require,_0xd229a[_0x4bd058(0x8a)]),_0x26d6cd=new _0x1bf3a2(_0xd229a[_0x4bd058(0xa0)],_0x401549,_0x105c3c,_0x5ecf7a);return await _0x26d6cd['run']();},exports[a54_0x206123(0xa5)]=async _0x400638=>{const _0x3e77f4=a54_0x206123,_0x5986aa={'RRMnl':function(_0x23f661,_0x35f514){return _0x23f661(_0x35f514);},'ZfjhV':_0x3e77f4(0xa8),'KZDmb':_0x3e77f4(0x91)},_0x5955bd=_0x5986aa[_0x3e77f4(0xa7)](require,_0x5986aa[_0x3e77f4(0x89)]),_0x2304fb=new _0x5955bd(_0x5986aa[_0x3e77f4(0xa6)],_0x400638);return await _0x2304fb[_0x3e77f4(0xa2)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a55_0x587b(_0x41bd67,_0x52842c){const _0x347e24=a55_0x347e();return a55_0x587b=function(_0x587b0d,_0x5961e0){_0x587b0d=_0x587b0d-0x1a1;let _0x3b86bb=_0x347e24[_0x587b0d];return _0x3b86bb;},a55_0x587b(_0x41bd67,_0x52842c);}const a55_0x48243f=a55_0x587b;(function(_0x4bbad2,_0x50782d){const _0x13ae70=a55_0x587b,_0x1b77b7=_0x4bbad2();while(!![]){try{const _0x161312=-parseInt(_0x13ae70(0x1a3))/0x1+parseInt(_0x13ae70(0x1ac))/0x2+parseInt(_0x13ae70(0x1a2))/0x3*(-parseInt(_0x13ae70(0x1a9))/0x4)+parseInt(_0x13ae70(0x1a1))/0x5*(-parseInt(_0x13ae70(0x1a8))/0x6)+-parseInt(_0x13ae70(0x1ae))/0x7+-parseInt(_0x13ae70(0x1b0))/0x8+parseInt(_0x13ae70(0x1a7))/0x9*(parseInt(_0x13ae70(0x1a5))/0xa);if(_0x161312===_0x50782d)break;else _0x1b77b7['push'](_0x1b77b7['shift']());}catch(_0x9f7f5){_0x1b77b7['push'](_0x1b77b7['shift']());}}}(a55_0x347e,0xac2d2));const {runTest,runCucumberTest,runVanillaTest}=require(a55_0x48243f(0x1ab));function a55_0x347e(){const _0x3fdcd9=['50RynwvZ','238407LCDhqA','686659FybpXI','worker','10KrsKUV','vanillaWorker','17675577SxjGPG','66642nnwKdL','44KQLfZI','SXVCZ','./runTest','2087054VVXtdt','cucumberWorker','843451jevAyT','MlUej','4078920zUtqVM'];a55_0x347e=function(){return _0x3fdcd9;};return a55_0x347e();}exports[a55_0x48243f(0x1a4)]=async(_0x352f90,_0x2358c3)=>{const _0x3881d7=a55_0x48243f,_0x2d248b={'SXVCZ':function(_0x2225ba,_0x34276d,_0x1a7634){return _0x2225ba(_0x34276d,_0x1a7634);}};return await _0x2d248b[_0x3881d7(0x1aa)](runTest,_0x352f90,_0x2358c3);},exports[a55_0x48243f(0x1ad)]=async(_0x535bf9,_0x675767,_0x172d15,_0x323111,_0x1fddc8)=>{const _0x55314d={'QLhEz':function(_0x1562a3,_0x4d7104,_0x5c778b,_0x5a9bd9,_0x5ceec9,_0x51397a){return _0x1562a3(_0x4d7104,_0x5c778b,_0x5a9bd9,_0x5ceec9,_0x51397a);}};return await _0x55314d['QLhEz'](runCucumberTest,_0x535bf9,_0x675767,_0x172d15,_0x323111,_0x1fddc8);},exports[a55_0x48243f(0x1a6)]=async _0x25d53e=>{const _0x5d6fc8=a55_0x48243f,_0x1cb822={'MlUej':function(_0x33d2b8,_0x6a8500){return _0x33d2b8(_0x6a8500);}};return await _0x1cb822[_0x5d6fc8(0x1af)](runVanillaTest,_0x25d53e);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a56_0x4ae0c7=a56_0xa9f7;function a56_0xa9f7(_0xd59720,_0x478bdf){const _0x19bc74=a56_0x19bc();return a56_0xa9f7=function(_0xa9f713,_0x3f5282){_0xa9f713=_0xa9f713-0x1c1;let _0x4f9a51=_0x19bc74[_0xa9f713];return _0x4f9a51;},a56_0xa9f7(_0xd59720,_0x478bdf);}(function(_0x2d2879,_0xc8066e){const _0x27e106=a56_0xa9f7,_0x4e6818=_0x2d2879();while(!![]){try{const _0x4b643f=parseInt(_0x27e106(0x1dc))/0x1*(-parseInt(_0x27e106(0x1ee))/0x2)+parseInt(_0x27e106(0x1d9))/0x3+parseInt(_0x27e106(0x1fe))/0x4*(-parseInt(_0x27e106(0x1c6))/0x5)+parseInt(_0x27e106(0x206))/0x6+-parseInt(_0x27e106(0x1f5))/0x7+parseInt(_0x27e106(0x1ef))/0x8+parseInt(_0x27e106(0x1d4))/0x9;if(_0x4b643f===_0xc8066e)break;else _0x4e6818['push'](_0x4e6818['shift']());}catch(_0x23ff88){_0x4e6818['push'](_0x4e6818['shift']());}}}(a56_0x19bc,0xca961));const constants=require(a56_0x4ae0c7(0x1e7)),{nestedKeyValue}=require(a56_0x4ae0c7(0x1ff)),getBrowserstackCLI=()=>{const _0xe0cd1f=a56_0x4ae0c7,_0x2d57b8={'wBLqa':function(_0xa5d4f1,_0xafd43d){return _0xa5d4f1(_0xafd43d);},'OpsbS':_0xe0cd1f(0x209)};return _0x2d57b8['wBLqa'](require,_0x2d57b8[_0xe0cd1f(0x1df)]);};function a56_0x19bc(){const _0x173f24=['FmXcX','guNFJ','AJAcW','apis','KatBw','./constants','IfrgQ','Xjpzw','QlIMH','MiuGy','endsWith','getPuppeteerHubUrl','2wUZHKZ','11563680uYPDWb','getConfig','toString','TnoHQ','cRljo','getInstance','8716764LJahTN','/puppeteer?caps=','PLAYWRIGHT_HUB_URL','bjEPC','OrqnM','exports','sTijZ','OBSERVABILITY_UPLOAD_URL','YQheg','4GpZIJE','./sharedUtils','dWtBy','esCAQ','wWFoa','UCYwD','api','getAutomateSessionStatusAPIUrl','5760900NiKtxh','NJEVB','jcuqM','../v2/browserstackCLI','lorYO','xRLaL','axSsd','IvjRh','jFIMh','cdp','zwHTG','hCckd','GKWKN','BROWSERSTACK_API_URL','getAutomateSessionsListAPIUrl','xtzUP','tHWsb','MsuAM','ihjkQ','appAutomate','tPdaP','gBnWt','dxEmj','getAppAutomateSessionStatusAPIUrl','FFCQV','getPlaywrightHubUrl','pCVuO','automate','TVZVg','wss:','replace','upload','APP_UPLOAD_URL','EJwoG','getEdsInstrumentationAPIUrl','4143455KgUKLx','jXiJe','ZUdsR','getAppAutomateSessionsListAPIUrl','/playwright?caps=','mbWQn','lRlJG','EwOwv','getAppAutomateSessionNameAPIUrl','FQGkx','getAutomateSessionNameAPIUrl','ESKdo','PoUBY','Uwqlo','4183236eTzrUY','xSQPZ','kcXHg','EDS_URL','getBStackAPIUrl','1118790PydGJn','GAgYu','getAutoCaptureLogsAPIUrl','339608UzJXSe','BIkga','trFiE','OpsbS','observability','OHvSw'];a56_0x19bc=function(){return _0x173f24;};return a56_0x19bc();}class APIUtilityMethods{static[a56_0x4ae0c7(0x1d8)](_0x31d233){const _0x2faa8c=a56_0x4ae0c7,_0x7429ea={'sTijZ':function(_0x5ab2c9){return _0x5ab2c9();},'AJAcW':function(_0x2842fd,_0x296113,_0x1d4dfe){return _0x2842fd(_0x296113,_0x1d4dfe);},'esCAQ':_0x2faa8c(0x1e5),'FFCQV':_0x2faa8c(0x221),'trFiE':'api','lRlJG':function(_0x20adf5,_0x4135a2){return _0x20adf5===_0x4135a2;},'hYCsk':function(_0x1d4e62,_0x32a962){return _0x1d4e62+_0x32a962;}},_0x5df5a1=_0x7429ea[_0x2faa8c(0x1fb)](getBrowserstackCLI),_0x4ac266=_0x7429ea[_0x2faa8c(0x1e4)](nestedKeyValue,_0x5df5a1[_0x2faa8c(0x1f4)]()[_0x2faa8c(0x1f0)](),[_0x7429ea[_0x2faa8c(0x201)],_0x7429ea[_0x2faa8c(0x21e)],_0x7429ea[_0x2faa8c(0x1de)]])||constants[_0x2faa8c(0x213)];if(!_0x31d233||_0x7429ea[_0x2faa8c(0x1cc)](_0x31d233,''))return _0x4ac266;const _0x3c1fa9=_0x4ac266[_0x2faa8c(0x1ec)]('/')?_0x4ac266:_0x7429ea['hYCsk'](_0x4ac266,'/');return new URL(_0x31d233,_0x3c1fa9)[_0x2faa8c(0x1f1)]();}static[a56_0x4ae0c7(0x1c5)](_0x1290f5){const _0x5a1faf=a56_0x4ae0c7,_0x5089bb={'TVZVg':function(_0x453077){return _0x453077();},'ZyZGD':function(_0xfd012f,_0x34c792,_0x415a80){return _0xfd012f(_0x34c792,_0x415a80);},'xtzUP':'apis','xRLaL':'edsInstrumentation','axSsd':_0x5a1faf(0x204),'BIkga':function(_0x155b5e,_0x9c1aaa){return _0x155b5e===_0x9c1aaa;},'tYfBX':function(_0x6907a8,_0x411496){return _0x6907a8+_0x411496;}},_0x412edf=_0x5089bb[_0x5a1faf(0x222)](getBrowserstackCLI),_0x39684d=_0x5089bb['ZyZGD'](nestedKeyValue,_0x412edf['getInstance']()[_0x5a1faf(0x1f0)](),[_0x5089bb[_0x5a1faf(0x215)],_0x5089bb[_0x5a1faf(0x20b)],_0x5089bb[_0x5a1faf(0x20c)]])||constants[_0x5a1faf(0x1d7)];if(!_0x1290f5||_0x5089bb[_0x5a1faf(0x1dd)](_0x1290f5,''))return _0x39684d;const _0x7e3c6f=_0x39684d[_0x5a1faf(0x1ec)]('/')?_0x39684d:_0x5089bb['tYfBX'](_0x39684d,'/');return new URL(_0x1290f5,_0x7e3c6f)[_0x5a1faf(0x1f1)]();}static[a56_0x4ae0c7(0x205)](_0x1311a9){const _0x5508a4=a56_0x4ae0c7,_0x68c01={'XuNcQ':function(_0x1d7068){return _0x1d7068();},'HsQej':function(_0x436fda,_0x7742db,_0x4c3702){return _0x436fda(_0x7742db,_0x4c3702);},'TuGNJ':_0x5508a4(0x1e5),'HuhMS':'automate','tPdaP':_0x5508a4(0x204),'GKWKN':function(_0x4569a8,_0x1478be){return _0x4569a8===_0x1478be;},'OHenN':function(_0x820164,_0x34e119){return _0x820164+_0x34e119;}},_0x1ea5e5=_0x68c01['XuNcQ'](getBrowserstackCLI),_0x1a660e=_0x68c01['HsQej'](nestedKeyValue,_0x1ea5e5[_0x5508a4(0x1f4)]()['getConfig'](),[_0x68c01['TuGNJ'],_0x68c01['HuhMS'],_0x68c01[_0x5508a4(0x21a)]])||constants[_0x5508a4(0x213)];if(!_0x1311a9||_0x68c01[_0x5508a4(0x212)](_0x1311a9,''))return _0x1a660e;const _0x481ab2=_0x1a660e[_0x5508a4(0x1ec)]('/')?_0x1a660e:_0x68c01['OHenN'](_0x1a660e,'/');return new URL(_0x1311a9,_0x481ab2)['toString']();}static[a56_0x4ae0c7(0x21d)](_0x41416f){const _0x47cc9c=a56_0x4ae0c7,_0x5df346={'HphMQ':function(_0x3c698c){return _0x3c698c();},'YQheg':function(_0x4e2172,_0x5da465,_0x3a89fc){return _0x4e2172(_0x5da465,_0x3a89fc);},'EJwoG':_0x47cc9c(0x1e5),'mbWQn':_0x47cc9c(0x219),'pCVuO':_0x47cc9c(0x204),'NJEVB':function(_0x13023b,_0x3e3836){return _0x13023b===_0x3e3836;},'tHWsb':function(_0x63ec1b,_0x5a57e8){return _0x63ec1b+_0x5a57e8;}},_0x573215=_0x5df346['HphMQ'](getBrowserstackCLI),_0x407d24=_0x5df346[_0x47cc9c(0x1fd)](nestedKeyValue,_0x573215['getInstance']()[_0x47cc9c(0x1f0)](),[_0x5df346[_0x47cc9c(0x1c4)],_0x5df346[_0x47cc9c(0x1cb)],_0x5df346[_0x47cc9c(0x220)]])||constants[_0x47cc9c(0x213)];if(!_0x41416f||_0x5df346[_0x47cc9c(0x207)](_0x41416f,''))return _0x407d24;const _0x3af21b=_0x407d24['endsWith']('/')?_0x407d24:_0x5df346[_0x47cc9c(0x216)](_0x407d24,'/');return new URL(_0x41416f,_0x3af21b)[_0x47cc9c(0x1f1)]();}static[a56_0x4ae0c7(0x1d0)](_0x4568c2){const _0x387a9e=a56_0x4ae0c7,_0x3dd480={'ksnSe':function(_0x45cb3e){return _0x45cb3e();},'dxEmj':function(_0x51c6cc,_0x520e3f,_0x1c7270){return _0x51c6cc(_0x520e3f,_0x1c7270);},'XwrBq':_0x387a9e(0x1e5),'GAgYu':_0x387a9e(0x221),'jcuqM':_0x387a9e(0x204),'zwHTG':function(_0x304373,_0x4f3096){return _0x304373===_0x4f3096;},'GtXZo':function(_0x47fbf3,_0x4a9f4b){return _0x47fbf3+_0x4a9f4b;}},_0x265291=_0x3dd480['ksnSe'](getBrowserstackCLI),_0x30825f=_0x3dd480[_0x387a9e(0x21c)](nestedKeyValue,_0x265291[_0x387a9e(0x1f4)]()[_0x387a9e(0x1f0)](),[_0x3dd480['XwrBq'],_0x3dd480[_0x387a9e(0x1da)],_0x3dd480[_0x387a9e(0x208)]])||constants['BROWSERSTACK_API_URL'];if(!_0x4568c2||_0x3dd480[_0x387a9e(0x210)](_0x4568c2,''))return _0x30825f;const _0x551f3a=_0x30825f[_0x387a9e(0x1ec)]('/')?_0x30825f:_0x3dd480['GtXZo'](_0x30825f,'/');return new URL(_0x4568c2,_0x551f3a)[_0x387a9e(0x1f1)]();}static[a56_0x4ae0c7(0x1ce)](_0xd71b7a){const _0x17d21b=a56_0x4ae0c7,_0x65a1b8={'dWtBy':function(_0x168c8b){return _0x168c8b();},'Uwqlo':function(_0x5694e3,_0x34626f,_0x3ad2f8){return _0x5694e3(_0x34626f,_0x3ad2f8);},'MsuAM':_0x17d21b(0x1e5),'bmztd':_0x17d21b(0x219),'cRljo':_0x17d21b(0x204),'tTSGY':function(_0x405598,_0xcf846){return _0x405598===_0xcf846;},'IvjRh':function(_0x516d90,_0x4fb849){return _0x516d90+_0x4fb849;}},_0x1f399f=_0x65a1b8[_0x17d21b(0x200)](getBrowserstackCLI),_0x5e01ea=_0x65a1b8[_0x17d21b(0x1d3)](nestedKeyValue,_0x1f399f[_0x17d21b(0x1f4)]()[_0x17d21b(0x1f0)](),[_0x65a1b8[_0x17d21b(0x217)],_0x65a1b8['bmztd'],_0x65a1b8[_0x17d21b(0x1f3)]])||constants[_0x17d21b(0x213)];if(!_0xd71b7a||_0x65a1b8['tTSGY'](_0xd71b7a,''))return _0x5e01ea;const _0x424a6f=_0x5e01ea['endsWith']('/')?_0x5e01ea:_0x65a1b8[_0x17d21b(0x20d)](_0x5e01ea,'/');return new URL(_0xd71b7a,_0x424a6f)['toString']();}static[a56_0x4ae0c7(0x214)](_0x4a88de){const _0x59a710=a56_0x4ae0c7,_0x5d44c2={'jXiJe':function(_0x27a3a9){return _0x27a3a9();},'IfrgQ':function(_0x36fd17,_0x3ea15c,_0x3e6441){return _0x36fd17(_0x3ea15c,_0x3e6441);},'EwOwv':'apis','kcXHg':_0x59a710(0x221),'OHvSw':_0x59a710(0x204),'SIPFB':function(_0xba4e8d,_0x11f24c){return _0xba4e8d===_0x11f24c;},'PoUBY':function(_0x476611,_0x37ddeb){return _0x476611+_0x37ddeb;}},_0x5e2727=_0x5d44c2[_0x59a710(0x1c7)](getBrowserstackCLI),_0x3201ce=_0x5d44c2[_0x59a710(0x1e8)](nestedKeyValue,_0x5e2727[_0x59a710(0x1f4)]()[_0x59a710(0x1f0)](),[_0x5d44c2[_0x59a710(0x1cd)],_0x5d44c2[_0x59a710(0x1d6)],_0x5d44c2[_0x59a710(0x1e1)]])||constants[_0x59a710(0x213)];if(!_0x4a88de||_0x5d44c2['SIPFB'](_0x4a88de,''))return _0x3201ce;const _0x488eab=_0x3201ce[_0x59a710(0x1ec)]('/')?_0x3201ce:_0x5d44c2[_0x59a710(0x1d2)](_0x3201ce,'/');return new URL(_0x4a88de,_0x488eab)[_0x59a710(0x1f1)]()[_0x59a710(0x1c1)](/^https?:\/\//,'');}static[a56_0x4ae0c7(0x1c9)](_0x2e8977){const _0x92549b=a56_0x4ae0c7,_0x3407bf={'UCYwD':function(_0x5a26ef){return _0x5a26ef();},'CqaOA':function(_0x43bc59,_0x1bd5b8,_0x4086e5){return _0x43bc59(_0x1bd5b8,_0x4086e5);},'hCckd':_0x92549b(0x1e5),'EGooL':_0x92549b(0x219),'vmgJk':_0x92549b(0x204),'jFIMh':function(_0x18a890,_0x1bb186){return _0x18a890===_0x1bb186;},'ihjkQ':function(_0x2fe31c,_0x51f659){return _0x2fe31c+_0x51f659;}},_0x4b8e97=_0x3407bf[_0x92549b(0x203)](getBrowserstackCLI),_0x40bbc9=_0x3407bf['CqaOA'](nestedKeyValue,_0x4b8e97[_0x92549b(0x1f4)]()[_0x92549b(0x1f0)](),[_0x3407bf[_0x92549b(0x211)],_0x3407bf['EGooL'],_0x3407bf['vmgJk']])||constants[_0x92549b(0x1c3)];if(!_0x2e8977||_0x3407bf[_0x92549b(0x20e)](_0x2e8977,''))return _0x40bbc9;const _0x2971d1=_0x40bbc9['endsWith']('/')?_0x40bbc9:_0x3407bf[_0x92549b(0x218)](_0x40bbc9,'/');return new URL(_0x2e8977,_0x2971d1)[_0x92549b(0x1f1)]()['replace'](/^https?:\/\//,'');}static[a56_0x4ae0c7(0x1db)](_0x40450c){const _0x189020=a56_0x4ae0c7,_0x49b464={'KatBw':function(_0x3bdd5b){return _0x3bdd5b();},'FfDdl':function(_0x318ff6,_0x509781,_0x48889){return _0x318ff6(_0x509781,_0x48889);},'lVpjA':_0x189020(0x1e5),'FmXcX':_0x189020(0x1e0),'EZrxp':_0x189020(0x1c2),'OrqnM':function(_0xaddf4e,_0x49a1bc){return _0xaddf4e===_0x49a1bc;},'TnoHQ':function(_0x1b78eb,_0x670ed3){return _0x1b78eb+_0x670ed3;}},_0x2bd2d3=_0x49b464[_0x189020(0x1e6)](getBrowserstackCLI),_0x73b26a=_0x49b464['FfDdl'](nestedKeyValue,_0x2bd2d3[_0x189020(0x1f4)]()['getConfig'](),[_0x49b464['lVpjA'],_0x49b464[_0x189020(0x1e2)],_0x49b464['EZrxp']])||constants[_0x189020(0x1fc)];if(!_0x40450c||_0x49b464[_0x189020(0x1f9)](_0x40450c,''))return _0x73b26a;const _0x595d86=_0x73b26a[_0x189020(0x1ec)]('/')?_0x73b26a:_0x49b464[_0x189020(0x1f2)](_0x73b26a,'/');return new URL(_0x40450c,_0x595d86)[_0x189020(0x1f1)]();}static[a56_0x4ae0c7(0x21f)](_0x3efc2b){const _0x10cfc0=a56_0x4ae0c7,_0xa84cf4={'rrPna':function(_0x53ad17){return _0x53ad17();},'Xjpzw':function(_0x54e900,_0x149c82,_0x1641d9){return _0x54e900(_0x149c82,_0x1641d9);},'SGmAL':'apis','ZUdsR':_0x10cfc0(0x221),'lorYO':_0x10cfc0(0x20f),'FQGkx':_0x10cfc0(0x223),'gVmvx':function(_0x28b349,_0x4d96cb){return _0x28b349===_0x4d96cb;},'bjEPC':function(_0x36b010,_0xe2a88a){return _0x36b010+_0xe2a88a;},'xSQPZ':_0x10cfc0(0x1ca)},_0x1a167e=_0xa84cf4['rrPna'](getBrowserstackCLI),_0x11ba09=_0xa84cf4[_0x10cfc0(0x1e9)](nestedKeyValue,_0x1a167e[_0x10cfc0(0x1f4)]()[_0x10cfc0(0x1f0)](),[_0xa84cf4['SGmAL'],_0xa84cf4[_0x10cfc0(0x1c8)],_0xa84cf4[_0x10cfc0(0x20a)]]),_0x425306=(_0x11ba09?_0x11ba09[_0x10cfc0(0x1c1)](/^https:/,_0xa84cf4[_0x10cfc0(0x1cf)]):null)||constants[_0x10cfc0(0x1f7)];let _0x2b7b14;if(!_0x3efc2b||_0xa84cf4['gVmvx'](_0x3efc2b,''))_0x2b7b14=_0x425306;else{const _0x54f314=_0x425306[_0x10cfc0(0x1ec)]('/')?_0x425306:_0xa84cf4[_0x10cfc0(0x1f8)](_0x425306,'/');_0x2b7b14=new URL(_0x3efc2b,_0x54f314)[_0x10cfc0(0x1f1)]();}return!_0x2b7b14[_0x10cfc0(0x1ec)](_0xa84cf4[_0x10cfc0(0x1d5)])&&(_0x2b7b14+=_0xa84cf4[_0x10cfc0(0x1d5)]),_0x2b7b14;}static[a56_0x4ae0c7(0x1ed)](_0x21ee00){const _0x48c7c0=a56_0x4ae0c7,_0x5d7f80={'wWFoa':function(_0x4a0635){return _0x4a0635();},'QlIMH':function(_0x10f1a8,_0x5a5722,_0x5b8100){return _0x10f1a8(_0x5a5722,_0x5b8100);},'MiuGy':_0x48c7c0(0x1e5),'guNFJ':_0x48c7c0(0x221),'EWXxN':_0x48c7c0(0x20f),'mbHFY':_0x48c7c0(0x223),'ESKdo':function(_0x514778,_0x5e3957){return _0x514778===_0x5e3957;},'RiMzh':function(_0x207f7e,_0x4daeb0){return _0x207f7e+_0x4daeb0;},'gBnWt':_0x48c7c0(0x1f6)},_0x13808f=_0x5d7f80[_0x48c7c0(0x202)](getBrowserstackCLI),_0x341aec=_0x5d7f80[_0x48c7c0(0x1ea)](nestedKeyValue,_0x13808f[_0x48c7c0(0x1f4)]()['getConfig'](),[_0x5d7f80[_0x48c7c0(0x1eb)],_0x5d7f80[_0x48c7c0(0x1e3)],_0x5d7f80['EWXxN']]),_0x492848=(_0x341aec?_0x341aec[_0x48c7c0(0x1c1)](/^https:/,_0x5d7f80['mbHFY']):null)||constants['PUPPETEER_HUB_URL'];let _0x4e321e;if(!_0x21ee00||_0x5d7f80[_0x48c7c0(0x1d1)](_0x21ee00,''))_0x4e321e=_0x492848;else{const _0x5b7f5b=_0x492848[_0x48c7c0(0x1ec)]('/')?_0x492848:_0x5d7f80['RiMzh'](_0x492848,'/');_0x4e321e=new URL(_0x21ee00,_0x5b7f5b)[_0x48c7c0(0x1f1)]();}return!_0x4e321e[_0x48c7c0(0x1ec)](_0x5d7f80[_0x48c7c0(0x21b)])&&(_0x4e321e+=_0x5d7f80[_0x48c7c0(0x21b)]),_0x4e321e;}}module[a56_0x4ae0c7(0x1fa)]=APIUtilityMethods;
|
|
1
|
+
const a56_0x4a3460=a56_0x33af;(function(_0x31cc1e,_0x255cde){const _0x4514d3=a56_0x33af,_0x32d33b=_0x31cc1e();while(!![]){try{const _0x5d720d=-parseInt(_0x4514d3(0x18e))/0x1+-parseInt(_0x4514d3(0x1df))/0x2*(parseInt(_0x4514d3(0x19f))/0x3)+parseInt(_0x4514d3(0x1db))/0x4+-parseInt(_0x4514d3(0x1a8))/0x5+-parseInt(_0x4514d3(0x1be))/0x6*(-parseInt(_0x4514d3(0x1ed))/0x7)+-parseInt(_0x4514d3(0x1ad))/0x8*(parseInt(_0x4514d3(0x1e5))/0x9)+parseInt(_0x4514d3(0x1c9))/0xa;if(_0x5d720d===_0x255cde)break;else _0x32d33b['push'](_0x32d33b['shift']());}catch(_0x5a4fa9){_0x32d33b['push'](_0x32d33b['shift']());}}}(a56_0x4006,0x90b8c));const constants=require(a56_0x4a3460(0x1bc)),{nestedKeyValue}=require(a56_0x4a3460(0x1b6)),getBrowserstackCLI=()=>{const _0x35a3c4=a56_0x4a3460,_0x58a1e2={'tBOYD':function(_0x1d81ea,_0x345ec4){return _0x1d81ea(_0x345ec4);},'XCgho':_0x35a3c4(0x195)};return _0x58a1e2[_0x35a3c4(0x19b)](require,_0x58a1e2[_0x35a3c4(0x1ba)]);};class APIUtilityMethods{static[a56_0x4a3460(0x1e2)](_0x8396cc){const _0x58d270=a56_0x4a3460,_0x28bb77={'UnJxH':function(_0x46254e){return _0x46254e();},'pxdDs':function(_0x2d1183,_0x561a9b,_0x21b20e){return _0x2d1183(_0x561a9b,_0x21b20e);},'HBsRP':_0x58d270(0x1cb),'zUiMO':_0x58d270(0x1b0),'IWmTM':_0x58d270(0x194),'uNfaR':function(_0x419638,_0x3b1a26){return _0x419638===_0x3b1a26;},'sOIAA':function(_0x336507,_0x1fbd33){return _0x336507+_0x1fbd33;}},_0x3e6f23=_0x28bb77[_0x58d270(0x1d1)](getBrowserstackCLI),_0x316cbf=_0x28bb77[_0x58d270(0x1d7)](nestedKeyValue,_0x3e6f23['getInstance']()[_0x58d270(0x1bf)](),[_0x28bb77['HBsRP'],_0x28bb77[_0x58d270(0x192)],_0x28bb77[_0x58d270(0x1e4)]])||constants[_0x58d270(0x18a)];if(!_0x8396cc||_0x28bb77['uNfaR'](_0x8396cc,''))return _0x316cbf;const _0x1acb37=_0x316cbf['endsWith']('/')?_0x316cbf:_0x28bb77[_0x58d270(0x18f)](_0x316cbf,'/');return new URL(_0x8396cc,_0x1acb37)[_0x58d270(0x18d)]();}static['getEdsInstrumentationAPIUrl'](_0x2c31e0){const _0x5b1bc3=a56_0x4a3460,_0x57a0e2={'cZySf':function(_0x2d92b1){return _0x2d92b1();},'XchgL':function(_0x2a9f1d,_0x40924b,_0x50916c){return _0x2a9f1d(_0x40924b,_0x50916c);},'Ptvec':_0x5b1bc3(0x1cb),'hNesb':_0x5b1bc3(0x1c6),'DoFpl':_0x5b1bc3(0x194),'eUIqt':function(_0x5df111,_0x39320e){return _0x5df111===_0x39320e;},'FSZCh':function(_0x25848c,_0x298e80){return _0x25848c+_0x298e80;}},_0x4cd848=_0x57a0e2[_0x5b1bc3(0x19c)](getBrowserstackCLI),_0x3f2721=_0x57a0e2[_0x5b1bc3(0x1e9)](nestedKeyValue,_0x4cd848['getInstance']()['getConfig'](),[_0x57a0e2['Ptvec'],_0x57a0e2['hNesb'],_0x57a0e2[_0x5b1bc3(0x1a9)]])||constants[_0x5b1bc3(0x19e)];if(!_0x2c31e0||_0x57a0e2[_0x5b1bc3(0x1a2)](_0x2c31e0,''))return _0x3f2721;const _0x381506=_0x3f2721[_0x5b1bc3(0x1d5)]('/')?_0x3f2721:_0x57a0e2['FSZCh'](_0x3f2721,'/');return new URL(_0x2c31e0,_0x381506)[_0x5b1bc3(0x18d)]();}static['getAutomateSessionStatusAPIUrl'](_0x3792db){const _0x5502d5=a56_0x4a3460,_0x2e5717={'XcGFq':function(_0x21e653){return _0x21e653();},'FYyUx':function(_0x22d098,_0x14a696,_0xe31463){return _0x22d098(_0x14a696,_0xe31463);},'IhrDp':_0x5502d5(0x1cb),'BpNeq':_0x5502d5(0x1b0),'GyVNb':_0x5502d5(0x194),'ljXCJ':function(_0xf4f9bd,_0x1ebdc4){return _0xf4f9bd===_0x1ebdc4;},'VbjIz':function(_0x45e42e,_0x192cfa){return _0x45e42e+_0x192cfa;}},_0x315963=_0x2e5717[_0x5502d5(0x1e1)](getBrowserstackCLI),_0x5e9c92=_0x2e5717[_0x5502d5(0x1e7)](nestedKeyValue,_0x315963[_0x5502d5(0x1b2)]()[_0x5502d5(0x1bf)](),[_0x2e5717[_0x5502d5(0x1a3)],_0x2e5717[_0x5502d5(0x1e6)],_0x2e5717[_0x5502d5(0x1b8)]])||constants['BROWSERSTACK_API_URL'];if(!_0x3792db||_0x2e5717[_0x5502d5(0x1e3)](_0x3792db,''))return _0x5e9c92;const _0x2a7db1=_0x5e9c92['endsWith']('/')?_0x5e9c92:_0x2e5717[_0x5502d5(0x1b5)](_0x5e9c92,'/');return new URL(_0x3792db,_0x2a7db1)['toString']();}static[a56_0x4a3460(0x193)](_0x379316){const _0x42cd5e=a56_0x4a3460,_0x5eb50f={'wrQLr':function(_0x1ddc75){return _0x1ddc75();},'oSAhM':function(_0x261eca,_0x18ec66,_0x2f2890){return _0x261eca(_0x18ec66,_0x2f2890);},'CZZfl':'apis','CKhLN':'appAutomate','GZSCm':_0x42cd5e(0x194),'LneRD':function(_0x5de8b7,_0xa8341d){return _0x5de8b7===_0xa8341d;},'jLMXc':function(_0x1244bc,_0x33132a){return _0x1244bc+_0x33132a;}},_0x38435a=_0x5eb50f['wrQLr'](getBrowserstackCLI),_0x18cc1b=_0x5eb50f[_0x42cd5e(0x1a0)](nestedKeyValue,_0x38435a[_0x42cd5e(0x1b2)]()[_0x42cd5e(0x1bf)](),[_0x5eb50f['CZZfl'],_0x5eb50f[_0x42cd5e(0x1eb)],_0x5eb50f[_0x42cd5e(0x1bd)]])||constants[_0x42cd5e(0x18a)];if(!_0x379316||_0x5eb50f[_0x42cd5e(0x1da)](_0x379316,''))return _0x18cc1b;const _0x318a4f=_0x18cc1b[_0x42cd5e(0x1d5)]('/')?_0x18cc1b:_0x5eb50f[_0x42cd5e(0x1c2)](_0x18cc1b,'/');return new URL(_0x379316,_0x318a4f)['toString']();}static['getAutomateSessionNameAPIUrl'](_0x19875f){const _0x31204a=a56_0x4a3460,_0x41f1c5={'zgGkp':function(_0x538666){return _0x538666();},'EELMW':function(_0x1c03b5,_0x45672e,_0x507c24){return _0x1c03b5(_0x45672e,_0x507c24);},'LmMxz':_0x31204a(0x1cb),'ymbfw':_0x31204a(0x1b0),'CcuEd':_0x31204a(0x194),'NRMWV':function(_0x333532,_0x3b5b19){return _0x333532===_0x3b5b19;},'kphBo':function(_0x294806,_0x525002){return _0x294806+_0x525002;}},_0x347458=_0x41f1c5['zgGkp'](getBrowserstackCLI),_0x5b4298=_0x41f1c5['EELMW'](nestedKeyValue,_0x347458[_0x31204a(0x1b2)]()[_0x31204a(0x1bf)](),[_0x41f1c5[_0x31204a(0x197)],_0x41f1c5['ymbfw'],_0x41f1c5['CcuEd']])||constants[_0x31204a(0x18a)];if(!_0x19875f||_0x41f1c5[_0x31204a(0x1bb)](_0x19875f,''))return _0x5b4298;const _0x21acdd=_0x5b4298[_0x31204a(0x1d5)]('/')?_0x5b4298:_0x41f1c5[_0x31204a(0x1b4)](_0x5b4298,'/');return new URL(_0x19875f,_0x21acdd)['toString']();}static[a56_0x4a3460(0x1dc)](_0x546d05){const _0x39a06d=a56_0x4a3460,_0x420956={'zTSsF':function(_0x456276){return _0x456276();},'ygyry':function(_0x5db7b0,_0x127966,_0x30ae60){return _0x5db7b0(_0x127966,_0x30ae60);},'fGDgI':_0x39a06d(0x1cb),'Mvmzf':_0x39a06d(0x1dd),'nigqy':_0x39a06d(0x194),'OtkjB':function(_0x44ae10,_0xc3d330){return _0x44ae10===_0xc3d330;},'tfInn':function(_0x5194e3,_0x491c1f){return _0x5194e3+_0x491c1f;}},_0x21aced=_0x420956[_0x39a06d(0x1ec)](getBrowserstackCLI),_0x1df935=_0x420956[_0x39a06d(0x18c)](nestedKeyValue,_0x21aced[_0x39a06d(0x1b2)]()[_0x39a06d(0x1bf)](),[_0x420956[_0x39a06d(0x1ab)],_0x420956[_0x39a06d(0x19a)],_0x420956[_0x39a06d(0x186)]])||constants[_0x39a06d(0x18a)];if(!_0x546d05||_0x420956[_0x39a06d(0x1d9)](_0x546d05,''))return _0x1df935;const _0x4bb195=_0x1df935['endsWith']('/')?_0x1df935:_0x420956[_0x39a06d(0x189)](_0x1df935,'/');return new URL(_0x546d05,_0x4bb195)[_0x39a06d(0x18d)]();}static[a56_0x4a3460(0x188)](_0xfde463){const _0x28af2b=a56_0x4a3460,_0xa2ef28={'nozJA':function(_0x13360f){return _0x13360f();},'GResU':function(_0xdeae17,_0x453036,_0x12ba5f){return _0xdeae17(_0x453036,_0x12ba5f);},'iGDGa':'apis','xVlHo':_0x28af2b(0x1b0),'XwMtR':'api','IiBHU':function(_0x31b3a2,_0x31849f){return _0x31b3a2===_0x31849f;},'dmScI':function(_0x575906,_0x255e99){return _0x575906+_0x255e99;}},_0x396c74=_0xa2ef28[_0x28af2b(0x1c4)](getBrowserstackCLI),_0x4bb952=_0xa2ef28[_0x28af2b(0x1a1)](nestedKeyValue,_0x396c74['getInstance']()[_0x28af2b(0x1bf)](),[_0xa2ef28['iGDGa'],_0xa2ef28[_0x28af2b(0x187)],_0xa2ef28['XwMtR']])||constants[_0x28af2b(0x18a)];if(!_0xfde463||_0xa2ef28[_0x28af2b(0x1d6)](_0xfde463,''))return _0x4bb952;const _0x10760b=_0x4bb952[_0x28af2b(0x1d5)]('/')?_0x4bb952:_0xa2ef28[_0x28af2b(0x1c7)](_0x4bb952,'/');return new URL(_0xfde463,_0x10760b)['toString']()[_0x28af2b(0x1b3)](/^https?:\/\//,'');}static[a56_0x4a3460(0x18b)](_0x14eb46){const _0x3fdc04=a56_0x4a3460,_0x1c225b={'HPhcv':function(_0x5e21c8){return _0x5e21c8();},'weOin':function(_0x2e073c,_0x147642,_0x1d95cd){return _0x2e073c(_0x147642,_0x1d95cd);},'IJOQl':_0x3fdc04(0x1cb),'yBjaf':_0x3fdc04(0x1dd),'hWKmm':'api','harMR':function(_0x3092b8,_0x111077){return _0x3092b8===_0x111077;},'fVPDT':function(_0x592866,_0x3fd1eb){return _0x592866+_0x3fd1eb;}},_0x406ea5=_0x1c225b[_0x3fdc04(0x1b7)](getBrowserstackCLI),_0x4eb1f6=_0x1c225b[_0x3fdc04(0x1d0)](nestedKeyValue,_0x406ea5[_0x3fdc04(0x1b2)]()[_0x3fdc04(0x1bf)](),[_0x1c225b[_0x3fdc04(0x19d)],_0x1c225b[_0x3fdc04(0x1ea)],_0x1c225b[_0x3fdc04(0x1a4)]])||constants['APP_UPLOAD_URL'];if(!_0x14eb46||_0x1c225b[_0x3fdc04(0x1cc)](_0x14eb46,''))return _0x4eb1f6;const _0x4770a7=_0x4eb1f6['endsWith']('/')?_0x4eb1f6:_0x1c225b[_0x3fdc04(0x1a5)](_0x4eb1f6,'/');return new URL(_0x14eb46,_0x4770a7)['toString']()[_0x3fdc04(0x1b3)](/^https?:\/\//,'');}static['getAutoCaptureLogsAPIUrl'](_0x45cb71){const _0x270a16=a56_0x4a3460,_0x335b22={'lJWAo':function(_0x3eb42d){return _0x3eb42d();},'MlCpi':function(_0x454207,_0x4e051a,_0x4296c7){return _0x454207(_0x4e051a,_0x4296c7);},'LZKiy':_0x270a16(0x1cb),'fiobi':_0x270a16(0x1b1),'SsnCJ':_0x270a16(0x190),'jJtuD':function(_0x132d00,_0x4a16b){return _0x132d00===_0x4a16b;},'ycpQE':function(_0x254125,_0x158ffc){return _0x254125+_0x158ffc;}},_0x44b763=_0x335b22['lJWAo'](getBrowserstackCLI),_0x10dfc5=_0x335b22[_0x270a16(0x1a6)](nestedKeyValue,_0x44b763[_0x270a16(0x1b2)]()[_0x270a16(0x1bf)](),[_0x335b22['LZKiy'],_0x335b22[_0x270a16(0x1d4)],_0x335b22[_0x270a16(0x1ac)]])||constants[_0x270a16(0x199)];if(!_0x45cb71||_0x335b22[_0x270a16(0x1cd)](_0x45cb71,''))return _0x10dfc5;const _0x3b3af4=_0x10dfc5[_0x270a16(0x1d5)]('/')?_0x10dfc5:_0x335b22[_0x270a16(0x196)](_0x10dfc5,'/');return new URL(_0x45cb71,_0x3b3af4)[_0x270a16(0x18d)]();}static[a56_0x4a3460(0x1d8)](_0x44c052){const _0x2b1df8=a56_0x4a3460,_0x4ae86d={'SLoIq':function(_0x4ce5b8){return _0x4ce5b8();},'eyHHa':function(_0x2a9330,_0xded113,_0x27d5fc){return _0x2a9330(_0xded113,_0x27d5fc);},'ANZEd':'apis','zcfOM':_0x2b1df8(0x1b0),'PnjUL':_0x2b1df8(0x1d2),'GRRcC':'wss:','VOYkh':function(_0x302126,_0x32f0b0){return _0x302126===_0x32f0b0;},'KFqqV':function(_0x45369d,_0x2e27a9){return _0x45369d+_0x2e27a9;},'icWHT':_0x2b1df8(0x1d3)},_0x46de29=_0x4ae86d[_0x2b1df8(0x191)](getBrowserstackCLI),_0x229b29=_0x4ae86d[_0x2b1df8(0x1af)](nestedKeyValue,_0x46de29[_0x2b1df8(0x1b2)]()[_0x2b1df8(0x1bf)](),[_0x4ae86d['ANZEd'],_0x4ae86d['zcfOM'],_0x4ae86d[_0x2b1df8(0x1cf)]]),_0x46b80f=(_0x229b29?_0x229b29[_0x2b1df8(0x1b3)](/^https:/,_0x4ae86d[_0x2b1df8(0x1c1)]):null)||constants[_0x2b1df8(0x198)];let _0x5be9ee;if(!_0x44c052||_0x4ae86d[_0x2b1df8(0x1a7)](_0x44c052,''))_0x5be9ee=_0x46b80f;else{const _0x583c6f=_0x46b80f[_0x2b1df8(0x1d5)]('/')?_0x46b80f:_0x4ae86d[_0x2b1df8(0x1c8)](_0x46b80f,'/');_0x5be9ee=new URL(_0x44c052,_0x583c6f)[_0x2b1df8(0x18d)]();}return!_0x5be9ee[_0x2b1df8(0x1d5)](_0x4ae86d['icWHT'])&&(_0x5be9ee+=_0x4ae86d['icWHT']),_0x5be9ee;}static[a56_0x4a3460(0x1b9)](_0x720fcd){const _0x450d75=a56_0x4a3460,_0x20fbc6={'quJLA':function(_0xf1f314){return _0xf1f314();},'aAEwW':function(_0x4d1da7,_0x11adc9,_0xb38d11){return _0x4d1da7(_0x11adc9,_0xb38d11);},'Ajguk':_0x450d75(0x1cb),'mKROT':_0x450d75(0x1b0),'LIqZG':_0x450d75(0x1d2),'TKilz':_0x450d75(0x1ae),'zbEkg':function(_0xf087d1,_0x8a31f9){return _0xf087d1===_0x8a31f9;},'yzHWh':function(_0x14cb0a,_0x1edbe6){return _0x14cb0a+_0x1edbe6;},'bosfW':_0x450d75(0x1c0)},_0x307647=_0x20fbc6[_0x450d75(0x1de)](getBrowserstackCLI),_0x366a49=_0x20fbc6[_0x450d75(0x1e0)](nestedKeyValue,_0x307647[_0x450d75(0x1b2)]()[_0x450d75(0x1bf)](),[_0x20fbc6['Ajguk'],_0x20fbc6[_0x450d75(0x1ce)],_0x20fbc6['LIqZG']]),_0x16bc89=(_0x366a49?_0x366a49[_0x450d75(0x1b3)](/^https:/,_0x20fbc6['TKilz']):null)||constants[_0x450d75(0x1ca)];let _0x3b9f46;if(!_0x720fcd||_0x20fbc6[_0x450d75(0x1aa)](_0x720fcd,''))_0x3b9f46=_0x16bc89;else{const _0x5b5a45=_0x16bc89[_0x450d75(0x1d5)]('/')?_0x16bc89:_0x20fbc6[_0x450d75(0x1e8)](_0x16bc89,'/');_0x3b9f46=new URL(_0x720fcd,_0x5b5a45)[_0x450d75(0x18d)]();}return!_0x3b9f46[_0x450d75(0x1d5)](_0x20fbc6[_0x450d75(0x1c5)])&&(_0x3b9f46+=_0x20fbc6[_0x450d75(0x1c5)]),_0x3b9f46;}}function a56_0x33af(_0x38d5ee,_0x16437c){const _0x400662=a56_0x4006();return a56_0x33af=function(_0x33af68,_0x300c42){_0x33af68=_0x33af68-0x186;let _0x45ff3b=_0x400662[_0x33af68];return _0x45ff3b;},a56_0x33af(_0x38d5ee,_0x16437c);}module[a56_0x4a3460(0x1c3)]=APIUtilityMethods;function a56_0x4006(){const _0xe3022=['36150540yAJQih','PUPPETEER_HUB_URL','apis','harMR','jJtuD','mKROT','PnjUL','weOin','UnJxH','cdp','/playwright?caps=','fiobi','endsWith','IiBHU','pxdDs','getPlaywrightHubUrl','OtkjB','LneRD','989044BCATvA','getAppAutomateSessionNameAPIUrl','appAutomate','quJLA','6LuGwir','aAEwW','XcGFq','getBStackAPIUrl','ljXCJ','IWmTM','729XyiooS','BpNeq','FYyUx','yzHWh','XchgL','yBjaf','CKhLN','zTSsF','28TQKoAX','nigqy','xVlHo','getAutomateSessionsListAPIUrl','tfInn','BROWSERSTACK_API_URL','getAppAutomateSessionsListAPIUrl','ygyry','toString','1107655rzMqMa','sOIAA','upload','SLoIq','zUiMO','getAppAutomateSessionStatusAPIUrl','api','../v2/browserstackCLI','ycpQE','LmMxz','PLAYWRIGHT_HUB_URL','OBSERVABILITY_UPLOAD_URL','Mvmzf','tBOYD','cZySf','IJOQl','EDS_URL','596982WINaYG','oSAhM','GResU','eUIqt','IhrDp','hWKmm','fVPDT','MlCpi','VOYkh','5674965lCbOPO','DoFpl','zbEkg','fGDgI','SsnCJ','85736czamvI','wss:','eyHHa','automate','observability','getInstance','replace','kphBo','VbjIz','./sharedUtils','HPhcv','GyVNb','getPuppeteerHubUrl','XCgho','NRMWV','./constants','GZSCm','657258WWoUtI','getConfig','/puppeteer?caps=','GRRcC','jLMXc','exports','nozJA','bosfW','edsInstrumentation','dmScI','KFqqV'];a56_0x4006=function(){return _0xe3022;};return a56_0x4006();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a57_0x3a333d=a57_0x10bb;(function(_0x17aa5b,_0xcf4871){const _0x47a3be=a57_0x10bb,_0x13d3e6=_0x17aa5b();while(!![]){try{const _0x6342aa=parseInt(_0x47a3be(0xda))/0x1*(parseInt(_0x47a3be(0xb7))/0x2)+-parseInt(_0x47a3be(0xe9))/0x3+parseInt(_0x47a3be(0xa8))/0x4+parseInt(_0x47a3be(0xc0))/0x5+-parseInt(_0x47a3be(0xaa))/0x6*(parseInt(_0x47a3be(0xcb))/0x7)+parseInt(_0x47a3be(0xd6))/0x8*(-parseInt(_0x47a3be(0xd9))/0x9)+-parseInt(_0x47a3be(0xa1))/0xa;if(_0x6342aa===_0xcf4871)break;else _0x13d3e6['push'](_0x13d3e6['shift']());}catch(_0x3ca700){_0x13d3e6['push'](_0x13d3e6['shift']());}}}(a57_0x5875,0xd9c0a));const logger=require(a57_0x3a333d(0x90))[a57_0x3a333d(0xc4)],BrowserstackCLI=require('../v2/browserstackCLI'),GrpcClient=require(a57_0x3a333d(0xe5)),constants=require('./constants');function a57_0x10bb(_0x37b62a,_0x3c1f3e){const _0x587516=a57_0x5875();return a57_0x10bb=function(_0x10bb53,_0x3e1aac){_0x10bb53=_0x10bb53-0x8b;let _0x5d058d=_0x587516[_0x10bb53];return _0x5d058d;},a57_0x10bb(_0x37b62a,_0x3c1f3e);}function a57_0x5875(){const _0x57cf5a=['replace','warn','winstonLogger','getInstance','checkForErrorsOccuredInCLI','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','join','fimZU','cachedErrorCodes','714soVBMB','error','isArray','tvVQl','CLIENT_TROUBLESHOOTING_HASH','ywbOk','HxTTe','reportConnectivityIssue','from','ssl\x20cert\x20issue','RaApx','349352djcwGp','errorCodesOccurredWhenCLINotRunning','WuIFX','27TvxBVe','29IgLCWT','Error\x20in\x20getting\x20error\x20details\x20for\x20','errorCodes','getErrorCode','reportSSLCertIssue','conflicting\x20env\x20var\x20detected','CdJoz','OBObb','exports','getAggregatedClientTroubleshootingErrors','{ERROR_CODES}','../v2/grpcClient','FVaTh','push','sDSGd','2159115pKWfjU','getDocumentationLink','vlpcp','finalErrorMessage','getAggregatedErrorCodes','keys','Process\x20Interruption','length','RBbFP','errorCode','getErrorCodes','myosn','Connectivity\x20Issue\x20details\x20not\x20found','XiBWR','wNWuL','logSituation','parse','object','../../helpers/logger','getFinalErrorMessage','browserstack\x20cloud\x20not\x20reachable','reportProcessInterruptionSituation','getErrorCodesOccurredInCli','pxocU','vsivS','getErrorDetails','stringify','Iosad','bwRpD','Session\x20Linking\x20Issue','pkDpg','{SIGNAL}','bWlta','NHVEV','documentationLink','11074090MMoIQG','Session\x20Linking\x20Issue\x20details\x20not\x20found','base64','toString','eoyVA','logError','reportDotBrowserStackFolderNotAccessibleIssue','3299788ICOCfM','lcnKx','52482mMeDAd','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','RmWiJ','Process\x20Interruption\x20details\x20not\x20found:','sGwJK','reportClientTroubleshootingError','[ClientTroubleShootingService]\x20','qPaDw','AXRaB','.browserstack\x20folder\x20not\x20accessible','vnTLH','loDwk','isRunning','88604ruDElV','KsFap','errorCodesOccurredInCLI','reportConflictingEnvVarIssue','getSuccess','getCachedErrorCodes','pQlBM','errorMessage','reportFinalDetectionState','8162620kIQQHb','ajRSU'];a57_0x5875=function(){return _0x57cf5a;};return a57_0x5875();}class ClientTroubleShootingService{static [a57_0x3a333d(0xca)]=null;static [a57_0x3a333d(0xd7)]=new Set();static async[a57_0x3a333d(0x97)](_0x6a5040){const _0x73983f=a57_0x3a333d,_0x23d343={};_0x23d343[_0x73983f(0x99)]=function(_0x19ad4f,_0xfa13d8){return _0x19ad4f!==_0xfa13d8;};const _0x55a625=_0x23d343;try{if(BrowserstackCLI[_0x73983f(0xc5)]()[_0x73983f(0xb6)]()){const _0x38055a=await GrpcClient['getInstance']()[_0x73983f(0xaf)](_0x6a5040);if(_0x55a625[_0x73983f(0x99)](_0x38055a,null)&&_0x38055a[_0x73983f(0xbb)]())return{'errorCode':_0x38055a[_0x73983f(0xdd)](),'errorMessage':_0x38055a['getErrorMessage']()};return{};}return{};}catch(_0xc40cca){return this[_0x73983f(0xa6)](_0x73983f(0xdb)+_0x6a5040+':',_0xc40cca),{};}}static async[a57_0x3a333d(0xed)](){const _0x180acf=a57_0x3a333d,_0x5003b3={};_0x5003b3[_0x180acf(0xe0)]=function(_0x5e7cdb,_0xc8f0aa){return _0x5e7cdb!==_0xc8f0aa;},_0x5003b3[_0x180acf(0xe1)]=_0x180acf(0xa3),_0x5003b3[_0x180acf(0xe8)]=_0x180acf(0xab);const _0x4fdfb6=_0x5003b3;try{if(BrowserstackCLI[_0x180acf(0xc5)]()['isRunning']()){const _0x1efe87=await GrpcClient[_0x180acf(0xc5)]()[_0x180acf(0xe3)]();if(_0x4fdfb6['CdJoz'](_0x1efe87,null)&&_0x1efe87[_0x180acf(0xbb)]()){const _0x320e80=Buffer['from'](_0x1efe87[_0x180acf(0xf3)](),_0x4fdfb6[_0x180acf(0xe1)])[_0x180acf(0xa4)](),_0x5a1477=_0x320e80?JSON[_0x180acf(0x8e)](_0x320e80):[],_0x4ecb53=_0x1efe87[_0x180acf(0xea)](),_0x534e50=_0x1efe87[_0x180acf(0x91)](),_0x4606ac=Buffer[_0x180acf(0xd3)](_0x1efe87[_0x180acf(0x94)](),_0x4fdfb6[_0x180acf(0xe1)])[_0x180acf(0xa4)](),_0x5838d0=_0x4606ac?JSON[_0x180acf(0x8e)](_0x4606ac):[],_0x94456d={};return _0x94456d[_0x180acf(0xdc)]=_0x5a1477,_0x94456d[_0x180acf(0xa0)]=_0x4ecb53,_0x94456d[_0x180acf(0xec)]=_0x534e50,_0x94456d[_0x180acf(0xb9)]=_0x5838d0,_0x94456d;}const _0x4f12a1={};return _0x4f12a1[_0x180acf(0xdc)]=[],_0x4f12a1['documentationLink']='',_0x4f12a1[_0x180acf(0xec)]='',_0x4f12a1[_0x180acf(0xb9)]=[],_0x4f12a1;}const _0x2b55c7={};return _0x2b55c7['errorCodes']=[],_0x2b55c7[_0x180acf(0xa0)]='',_0x2b55c7[_0x180acf(0xec)]='',_0x2b55c7[_0x180acf(0xb9)]=[],_0x2b55c7;}catch(_0x84890c){this[_0x180acf(0xa6)](_0x4fdfb6[_0x180acf(0xe8)],_0x84890c);const _0x49caf9={};return _0x49caf9['errorCodes']=[],_0x49caf9[_0x180acf(0xa0)]='',_0x49caf9[_0x180acf(0xec)]='',_0x49caf9[_0x180acf(0xb9)]=[],_0x49caf9;}}static[a57_0x3a333d(0x8d)](_0xa7af45,_0x49c954){const _0x3900c6=a57_0x3a333d;logger[_0x3900c6(0xc3)](_0xa7af45+':\x20'+_0x49c954);}static[a57_0x3a333d(0xc6)](_0x8bde93){const _0x542eaf=a57_0x3a333d,_0x582799={};_0x582799[_0x542eaf(0xf4)]=function(_0x1fcc28,_0x113996){return _0x1fcc28!=_0x113996;},_0x582799['qPaDw']=function(_0x54e6cd,_0x2e42fd){return _0x54e6cd!=_0x2e42fd;},_0x582799[_0x542eaf(0x95)]=function(_0x2572b5,_0x3d3093){return _0x2572b5>_0x3d3093;};const _0x3566ce=_0x582799,_0x1e62df=[];if(_0x3566ce[_0x542eaf(0xf4)](_0x8bde93,null)&&_0x3566ce[_0x542eaf(0xb1)](_0x8bde93[_0x542eaf(0xb9)],null)&&_0x3566ce[_0x542eaf(0x95)](_0x8bde93[_0x542eaf(0xb9)][_0x542eaf(0xf0)],0x0))for(const _0xf7a54c of _0x8bde93[_0x542eaf(0xb9)]){_0x3566ce[_0x542eaf(0xb1)](_0xf7a54c[_0x542eaf(0xf2)],null)&&_0x3566ce[_0x542eaf(0xf4)](_0xf7a54c[_0x542eaf(0xbe)],null)&&(_0x1e62df[_0x542eaf(0xe7)](_0xf7a54c[_0x542eaf(0xf2)]),this[_0x542eaf(0x8d)](_0xf7a54c[_0x542eaf(0xf2)],_0xf7a54c[_0x542eaf(0xbe)]));}return _0x1e62df;}static[a57_0x3a333d(0xbc)](){return this['cachedErrorCodes'];}static[a57_0x3a333d(0xa6)](_0x19086f,_0x1538b9){const _0x30bb04=a57_0x3a333d,_0xfa32f2={};_0xfa32f2[_0x30bb04(0xd1)]=function(_0x35a29a,_0x11db88){return _0x35a29a===_0x11db88;},_0xfa32f2['pkDpg']=_0x30bb04(0x8f);const _0x3e773f=_0xfa32f2;if(_0x3e773f[_0x30bb04(0xd1)](typeof _0x1538b9,_0x3e773f[_0x30bb04(0x9c)]))try{logger[_0x30bb04(0xcc)](_0x30bb04(0xb0)+_0x19086f+'\x20'+JSON[_0x30bb04(0x98)](_0x1538b9));}catch(_0x3eb14e){logger[_0x30bb04(0xcc)](_0x30bb04(0xb0)+_0x19086f+'\x20'+_0x1538b9);}else logger['error'](_0x30bb04(0xb0)+_0x19086f+'\x20'+_0x1538b9);}static async[a57_0x3a333d(0x93)](_0x10ab8e){const _0x247b01=a57_0x3a333d,_0x3a4299={};_0x3a4299[_0x247b01(0xd0)]=_0x247b01(0xef),_0x3a4299[_0x247b01(0xac)]=function(_0x220ad9,_0x44bda5){return _0x220ad9===_0x44bda5;},_0x3a4299[_0x247b01(0xb5)]=_0x247b01(0xad),_0x3a4299[_0x247b01(0xeb)]=_0x247b01(0x9d);const _0x1ffb8a=_0x3a4299,_0x7936c0=await this[_0x247b01(0x97)](_0x1ffb8a[_0x247b01(0xd0)]);if(!_0x7936c0||_0x1ffb8a['RmWiJ'](Object['keys'](_0x7936c0)[_0x247b01(0xf0)],0x0)){this[_0x247b01(0xa6)](_0x1ffb8a[_0x247b01(0xb5)],_0x7936c0);return;}this[_0x247b01(0x8d)](_0x7936c0[_0x247b01(0xf2)],_0x7936c0[_0x247b01(0xbe)][_0x247b01(0xc2)](_0x1ffb8a[_0x247b01(0xeb)],_0x10ab8e));}static async['reportSessionLinkingIssue'](){const _0x550617=a57_0x3a333d,_0x52bb60={};_0x52bb60[_0x550617(0xbd)]=_0x550617(0x9b),_0x52bb60['AXRaB']=function(_0x598af5,_0x58a487){return _0x598af5===_0x58a487;},_0x52bb60[_0x550617(0xa5)]=_0x550617(0xa2);const _0xa269b9=_0x52bb60,_0x27e8ac=await this[_0x550617(0x97)](_0xa269b9['pQlBM']);if(!_0x27e8ac||_0xa269b9[_0x550617(0xb2)](Object[_0x550617(0xee)](_0x27e8ac)[_0x550617(0xf0)],0x0)){this[_0x550617(0xa6)](_0xa269b9['eoyVA'],_0x27e8ac);return;}this[_0x550617(0x8d)](_0x27e8ac[_0x550617(0xf2)],_0x27e8ac[_0x550617(0xbe)]);}static async[a57_0x3a333d(0xd2)](){const _0x482f0e=a57_0x3a333d,_0x3616de={};_0x3616de['XiBWR']=_0x482f0e(0x92),_0x3616de[_0x482f0e(0xd5)]=function(_0x3c4d13,_0x343f79){return _0x3c4d13===_0x343f79;},_0x3616de[_0x482f0e(0x8c)]=_0x482f0e(0xf5);const _0x450270=_0x3616de,_0x27ae25=await this[_0x482f0e(0x97)](_0x450270[_0x482f0e(0x8b)]);if(!_0x27ae25||_0x450270[_0x482f0e(0xd5)](Object['keys'](_0x27ae25)[_0x482f0e(0xf0)],0x0)){this['logError'](_0x450270['wNWuL'],_0x27ae25);return;}this[_0x482f0e(0x8d)](_0x27ae25[_0x482f0e(0xf2)],_0x27ae25[_0x482f0e(0xbe)]);}static async[a57_0x3a333d(0xde)](){const _0x58aa6b=a57_0x3a333d,_0x3f9174={};_0x3f9174[_0x58aa6b(0xae)]=_0x58aa6b(0xd4),_0x3f9174[_0x58aa6b(0x9f)]=function(_0x4bafea,_0x196f17){return _0x4bafea===_0x196f17;},_0x3f9174[_0x58aa6b(0xd8)]=_0x58aa6b(0xc7);const _0x34bad2=_0x3f9174,_0x2e2917=await this[_0x58aa6b(0x97)](_0x34bad2[_0x58aa6b(0xae)]);if(!_0x2e2917||_0x34bad2[_0x58aa6b(0x9f)](Object[_0x58aa6b(0xee)](_0x2e2917)['length'],0x0)){this['logError'](_0x34bad2['WuIFX'],_0x2e2917);return;}this[_0x58aa6b(0x8d)](_0x2e2917[_0x58aa6b(0xf2)],_0x2e2917[_0x58aa6b(0xbe)]);}static[a57_0x3a333d(0xa7)](){const _0xe9c489=a57_0x3a333d,_0x4aa33d={};_0x4aa33d[_0xe9c489(0xb4)]=_0xe9c489(0xb3),_0x4aa33d[_0xe9c489(0xce)]=function(_0x535d71,_0x1945e7){return _0x535d71===_0x1945e7;},_0x4aa33d['KsFap']='.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found';const _0x3878ab=_0x4aa33d,_0x1be803=constants[_0xe9c489(0xcf)][_0x3878ab[_0xe9c489(0xb4)]];if(!_0x1be803||_0x3878ab['tvVQl'](Object[_0xe9c489(0xee)](_0x1be803)[_0xe9c489(0xf0)],0x0)){this[_0xe9c489(0xa6)](_0x3878ab[_0xe9c489(0xb8)],_0x1be803);return;}this[_0xe9c489(0xd7)]['add'](_0x1be803[0x0]),this[_0xe9c489(0x8d)](_0x1be803[0x0],_0x1be803[0x1]);}static async[a57_0x3a333d(0xba)](_0x20e40c){const _0x44ae34=a57_0x3a333d,_0x12d3a1={};_0x12d3a1[_0x44ae34(0x9e)]=_0x44ae34(0xdf),_0x12d3a1['FVaTh']=function(_0x17727e,_0x40dc4e){return _0x17727e===_0x40dc4e;},_0x12d3a1['bwRpD']='Conflicting\x20Env\x20Var\x20details\x20not\x20found',_0x12d3a1[_0x44ae34(0xc9)]='{ENV_VAR}';const _0x4a6ca3=_0x12d3a1,_0x4f9424=await this[_0x44ae34(0x97)](_0x4a6ca3[_0x44ae34(0x9e)]);if(!_0x4f9424||_0x4a6ca3[_0x44ae34(0xe6)](Object[_0x44ae34(0xee)](_0x4f9424)[_0x44ae34(0xf0)],0x0)){this[_0x44ae34(0xa6)](_0x4a6ca3[_0x44ae34(0x9a)],_0x4f9424);return;}const _0x4487c0=_0x4f9424[_0x44ae34(0xbe)]['replace'](_0x4a6ca3['fimZU'],_0x20e40c);this[_0x44ae34(0x8d)](_0x4f9424[_0x44ae34(0xf2)],_0x4487c0);}static async[a57_0x3a333d(0xbf)](){const _0x52c246=a57_0x3a333d,_0x3d852c={};_0x3d852c[_0x52c246(0xa9)]=function(_0x55997,_0x445f05){return _0x55997>_0x445f05;},_0x3d852c[_0x52c246(0xc1)]=function(_0x1dc51f,_0x452759){return _0x1dc51f>_0x452759;},_0x3d852c[_0x52c246(0xf1)]=_0x52c246(0xe4),_0x3d852c[_0x52c246(0x96)]='{CLIENT_TROUBLESHOOTING_DOCUMENTATION}';const _0x18f3b7=_0x3d852c,_0x4e9595=await this['getAggregatedErrorCodes'](),_0x3456c5=this[_0x52c246(0xc6)](_0x4e9595),_0x48b336=Array[_0x52c246(0xcd)](_0x4e9595['errorCodes'])?_0x4e9595[_0x52c246(0xdc)]:[],_0x194b81=_0x18f3b7['lcnKx'](this[_0x52c246(0xd7)]['size'],0x0)?Array['from'](this[_0x52c246(0xd7)]):[],_0x47eeca=new Set([..._0x48b336,..._0x3456c5,..._0x194b81]),_0x4a9f9a=Array[_0x52c246(0xd3)](_0x47eeca);if(_0x18f3b7[_0x52c246(0xc1)](_0x4a9f9a[_0x52c246(0xf0)],0x0)){const _0xbd10c6=_0x4e9595[_0x52c246(0xec)]['replace'](_0x18f3b7[_0x52c246(0xf1)],_0x4a9f9a[_0x52c246(0xc8)](',\x20'))[_0x52c246(0xc2)](_0x18f3b7[_0x52c246(0x96)],_0x4e9595[_0x52c246(0xa0)]);logger[_0x52c246(0xc3)](_0xbd10c6),this[_0x52c246(0xca)]=_0x4a9f9a;}}}module[a57_0x3a333d(0xe2)]=ClientTroubleShootingService;
|
|
1
|
+
function a57_0x4a49(_0x3b5ed0,_0x575afa){const _0x5da81a=a57_0x5da8();return a57_0x4a49=function(_0x4a4929,_0x249901){_0x4a4929=_0x4a4929-0x127;let _0xc9af94=_0x5da81a[_0x4a4929];return _0xc9af94;},a57_0x4a49(_0x3b5ed0,_0x575afa);}const a57_0x370e3a=a57_0x4a49;(function(_0x3d64a3,_0x5d6582){const _0x4b1651=a57_0x4a49,_0x243afe=_0x3d64a3();while(!![]){try{const _0x2f44e1=parseInt(_0x4b1651(0x17c))/0x1*(parseInt(_0x4b1651(0x139))/0x2)+-parseInt(_0x4b1651(0x150))/0x3+-parseInt(_0x4b1651(0x131))/0x4+parseInt(_0x4b1651(0x16e))/0x5+parseInt(_0x4b1651(0x142))/0x6+-parseInt(_0x4b1651(0x13e))/0x7+parseInt(_0x4b1651(0x12b))/0x8;if(_0x2f44e1===_0x5d6582)break;else _0x243afe['push'](_0x243afe['shift']());}catch(_0x10db36){_0x243afe['push'](_0x243afe['shift']());}}}(a57_0x5da8,0x815ac));const logger=require(a57_0x370e3a(0x13c))[a57_0x370e3a(0x15f)],BrowserstackCLI=require(a57_0x370e3a(0x180)),GrpcClient=require(a57_0x370e3a(0x181)),constants=require(a57_0x370e3a(0x149));function a57_0x5da8(){const _0x59b5bd=['KBbaK','lVzgr','getErrorCodes','getErrorMessage','checkForErrorsOccuredInCLI','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','mXXNO','184mANphE','OIBAX','toString','../../helpers/logger','reportDotBrowserStackFolderNotAccessibleIssue','5866854ZUbOmy','VxQCo','errorCodesOccurredInCLI','errorCodesOccurredWhenCLINotRunning','5538534GtZJWD','errorCode','oLtgH','uawNy','jerqB','errorCodes','stringify','./constants','HEalX','reportConflictingEnvVarIssue','Error\x20in\x20getting\x20error\x20details\x20for\x20','[ClientTroubleShootingService]\x20','documentationLink','reportClientTroubleshootingError','2687805xYaeZU','IYKvp','lTJEq','reportSessionLinkingIssue','rZEjV','conflicting\x20env\x20var\x20detected','getErrorCode','{ENV_VAR}','zVzof','DlLin','cachedErrorCodes','cHvVr','Session\x20Linking\x20Issue\x20details\x20not\x20found','XBuDC','warn','winstonLogger','rsfPZ','WMdEM','CWQTE','Process\x20Interruption\x20details\x20not\x20found:','FjQDS','getErrorDetails','hhjWT','keys','isArray','exports','getSuccess','EKpog','length','getCachedErrorCodes','286845ruCHzR','replace','logSituation','getFinalErrorMessage','Process\x20Interruption','ssl\x20cert\x20issue','hHIWX','Fdkqa','finalErrorMessage','JMXSg','DBIYO','error','from','logError','8998kLQZVQ','object','StRBw','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','../v2/browserstackCLI','../v2/grpcClient','isRunning','errorMessage','reportFinalDetectionState','HUGux','add','getAggregatedErrorCodes','push','parse','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','Conflicting\x20Env\x20Var\x20details\x20not\x20found','join','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','6255336pXAqNJ','getInstance','UaolP','reportSSLCertIssue','ILbaY','DPyUU','1305192cIHygH'];a57_0x5da8=function(){return _0x59b5bd;};return a57_0x5da8();}class ClientTroubleShootingService{static [a57_0x370e3a(0x15a)]=null;static ['errorCodesOccurredWhenCLINotRunning']=new Set();static async[a57_0x370e3a(0x165)](_0x1a5f30){const _0x1c3ba6=a57_0x370e3a,_0x484bdb={};_0x484bdb['HUGux']=function(_0x3e2ee2,_0x3a1fb5){return _0x3e2ee2!==_0x3a1fb5;};const _0x3a6df7=_0x484bdb;try{if(BrowserstackCLI['getInstance']()[_0x1c3ba6(0x182)]()){const _0x497fd7=await GrpcClient[_0x1c3ba6(0x12c)]()[_0x1c3ba6(0x14f)](_0x1a5f30);if(_0x3a6df7[_0x1c3ba6(0x185)](_0x497fd7,null)&&_0x497fd7[_0x1c3ba6(0x16a)]())return{'errorCode':_0x497fd7[_0x1c3ba6(0x156)](),'errorMessage':_0x497fd7[_0x1c3ba6(0x135)]()};return{};}return{};}catch(_0x3202cf){return this[_0x1c3ba6(0x17b)](_0x1c3ba6(0x14c)+_0x1a5f30+':',_0x3202cf),{};}}static async[a57_0x370e3a(0x187)](){const _0x1bb994=a57_0x370e3a,_0x485d66={};_0x485d66[_0x1bb994(0x174)]=function(_0x54956c,_0x42ff44){return _0x54956c!==_0x42ff44;},_0x485d66[_0x1bb994(0x130)]='base64',_0x485d66[_0x1bb994(0x132)]=_0x1bb994(0x127);const _0x44b9bd=_0x485d66;try{if(BrowserstackCLI[_0x1bb994(0x12c)]()[_0x1bb994(0x182)]()){const _0x5152f0=await GrpcClient[_0x1bb994(0x12c)]()['getAggregatedClientTroubleshootingErrors']();if(_0x44b9bd['hHIWX'](_0x5152f0,null)&&_0x5152f0[_0x1bb994(0x16a)]()){const _0x5f03a3=Buffer[_0x1bb994(0x17a)](_0x5152f0[_0x1bb994(0x134)](),_0x44b9bd['DPyUU'])[_0x1bb994(0x13b)](),_0xbc53d=_0x5f03a3?JSON[_0x1bb994(0x189)](_0x5f03a3):[],_0x43c51a=_0x5152f0['getDocumentationLink'](),_0x31bac3=_0x5152f0[_0x1bb994(0x171)](),_0x2e457f=Buffer['from'](_0x5152f0['getErrorCodesOccurredInCli'](),_0x44b9bd['DPyUU'])[_0x1bb994(0x13b)](),_0xb33af6=_0x2e457f?JSON[_0x1bb994(0x189)](_0x2e457f):[],_0x29468d={};return _0x29468d[_0x1bb994(0x147)]=_0xbc53d,_0x29468d[_0x1bb994(0x14e)]=_0x43c51a,_0x29468d[_0x1bb994(0x176)]=_0x31bac3,_0x29468d[_0x1bb994(0x140)]=_0xb33af6,_0x29468d;}const _0x17817e={};return _0x17817e[_0x1bb994(0x147)]=[],_0x17817e[_0x1bb994(0x14e)]='',_0x17817e[_0x1bb994(0x176)]='',_0x17817e[_0x1bb994(0x140)]=[],_0x17817e;}const _0x531147={};return _0x531147[_0x1bb994(0x147)]=[],_0x531147[_0x1bb994(0x14e)]='',_0x531147['finalErrorMessage']='',_0x531147[_0x1bb994(0x140)]=[],_0x531147;}catch(_0x2e6bf3){this[_0x1bb994(0x17b)](_0x44b9bd['KBbaK'],_0x2e6bf3);const _0x3753f0={};return _0x3753f0['errorCodes']=[],_0x3753f0['documentationLink']='',_0x3753f0[_0x1bb994(0x176)]='',_0x3753f0[_0x1bb994(0x140)]=[],_0x3753f0;}}static[a57_0x370e3a(0x170)](_0x35e592,_0x2b9f8b){const _0x476708=a57_0x370e3a;logger[_0x476708(0x15e)](_0x35e592+':\x20'+_0x2b9f8b);}static[a57_0x370e3a(0x136)](_0x73a62d){const _0x4bded6=a57_0x370e3a,_0xe7678f={};_0xe7678f[_0x4bded6(0x160)]=function(_0x5e8c35,_0x415fbd){return _0x5e8c35!=_0x415fbd;},_0xe7678f[_0x4bded6(0x15d)]=function(_0x2b69cc,_0x4fdbf2){return _0x2b69cc>_0x4fdbf2;},_0xe7678f[_0x4bded6(0x12d)]=function(_0x1b9e06,_0x4ed5bf){return _0x1b9e06!=_0x4ed5bf;};const _0x44f1b9=_0xe7678f,_0x1385c2=[];if(_0x44f1b9[_0x4bded6(0x160)](_0x73a62d,null)&&_0x44f1b9[_0x4bded6(0x160)](_0x73a62d[_0x4bded6(0x140)],null)&&_0x44f1b9[_0x4bded6(0x15d)](_0x73a62d['errorCodesOccurredInCLI'][_0x4bded6(0x16c)],0x0))for(const _0xceb0c0 of _0x73a62d[_0x4bded6(0x140)]){_0x44f1b9[_0x4bded6(0x160)](_0xceb0c0[_0x4bded6(0x143)],null)&&_0x44f1b9[_0x4bded6(0x12d)](_0xceb0c0['errorMessage'],null)&&(_0x1385c2[_0x4bded6(0x188)](_0xceb0c0[_0x4bded6(0x143)]),this[_0x4bded6(0x170)](_0xceb0c0[_0x4bded6(0x143)],_0xceb0c0[_0x4bded6(0x183)]));}return _0x1385c2;}static[a57_0x370e3a(0x16d)](){return this['cachedErrorCodes'];}static[a57_0x370e3a(0x17b)](_0xd1e3c1,_0x5924d2){const _0x1cabca=a57_0x370e3a,_0x295e5a={};_0x295e5a[_0x1cabca(0x15b)]=function(_0x150058,_0x353b93){return _0x150058===_0x353b93;},_0x295e5a[_0x1cabca(0x13f)]=_0x1cabca(0x17d);const _0x48cd55=_0x295e5a;if(_0x48cd55[_0x1cabca(0x15b)](typeof _0x5924d2,_0x48cd55[_0x1cabca(0x13f)]))try{logger[_0x1cabca(0x179)](_0x1cabca(0x14d)+_0xd1e3c1+'\x20'+JSON[_0x1cabca(0x148)](_0x5924d2));}catch(_0x320487){logger[_0x1cabca(0x179)](_0x1cabca(0x14d)+_0xd1e3c1+'\x20'+_0x5924d2);}else logger[_0x1cabca(0x179)]('[ClientTroubleShootingService]\x20'+_0xd1e3c1+'\x20'+_0x5924d2);}static async['reportProcessInterruptionSituation'](_0x1b315d){const _0x2b1078=a57_0x370e3a,_0x3b0f98={};_0x3b0f98[_0x2b1078(0x178)]=_0x2b1078(0x172),_0x3b0f98[_0x2b1078(0x16b)]=function(_0xcc5a1b,_0x35e1e1){return _0xcc5a1b===_0x35e1e1;},_0x3b0f98[_0x2b1078(0x12f)]=_0x2b1078(0x163),_0x3b0f98[_0x2b1078(0x166)]='{SIGNAL}';const _0x3f6284=_0x3b0f98,_0x6da837=await this[_0x2b1078(0x165)](_0x3f6284[_0x2b1078(0x178)]);if(!_0x6da837||_0x3f6284[_0x2b1078(0x16b)](Object[_0x2b1078(0x167)](_0x6da837)['length'],0x0)){this[_0x2b1078(0x17b)](_0x3f6284['ILbaY'],_0x6da837);return;}this['logSituation'](_0x6da837[_0x2b1078(0x143)],_0x6da837['errorMessage'][_0x2b1078(0x16f)](_0x3f6284[_0x2b1078(0x166)],_0x1b315d));}static async[a57_0x370e3a(0x153)](){const _0x4d5286=a57_0x370e3a,_0x59ad65={};_0x59ad65[_0x4d5286(0x145)]='Session\x20Linking\x20Issue',_0x59ad65['uhHPn']=function(_0xf70173,_0x1f5f8a){return _0xf70173===_0x1f5f8a;},_0x59ad65[_0x4d5286(0x162)]=_0x4d5286(0x15c);const _0x3d81a0=_0x59ad65,_0x2027bf=await this[_0x4d5286(0x165)](_0x3d81a0['uawNy']);if(!_0x2027bf||_0x3d81a0['uhHPn'](Object[_0x4d5286(0x167)](_0x2027bf)[_0x4d5286(0x16c)],0x0)){this[_0x4d5286(0x17b)](_0x3d81a0['CWQTE'],_0x2027bf);return;}this[_0x4d5286(0x170)](_0x2027bf[_0x4d5286(0x143)],_0x2027bf['errorMessage']);}static async['reportConnectivityIssue'](){const _0x388f22=a57_0x370e3a,_0x273ffd={};_0x273ffd[_0x388f22(0x17e)]='browserstack\x20cloud\x20not\x20reachable',_0x273ffd[_0x388f22(0x14a)]=function(_0xc7beb0,_0x12c78a){return _0xc7beb0===_0x12c78a;},_0x273ffd[_0x388f22(0x144)]='Connectivity\x20Issue\x20details\x20not\x20found';const _0xb43da9=_0x273ffd,_0x552f91=await this['getErrorDetails'](_0xb43da9[_0x388f22(0x17e)]);if(!_0x552f91||_0xb43da9[_0x388f22(0x14a)](Object[_0x388f22(0x167)](_0x552f91)[_0x388f22(0x16c)],0x0)){this[_0x388f22(0x17b)](_0xb43da9[_0x388f22(0x144)],_0x552f91);return;}this[_0x388f22(0x170)](_0x552f91[_0x388f22(0x143)],_0x552f91[_0x388f22(0x183)]);}static async[a57_0x370e3a(0x12e)](){const _0x22533b=a57_0x370e3a,_0x5acd03={};_0x5acd03[_0x22533b(0x175)]=_0x22533b(0x173),_0x5acd03[_0x22533b(0x154)]=function(_0x2cf038,_0x2884ef){return _0x2cf038===_0x2884ef;},_0x5acd03[_0x22533b(0x13a)]=_0x22533b(0x17f);const _0x577519=_0x5acd03,_0x523b50=await this['getErrorDetails'](_0x577519[_0x22533b(0x175)]);if(!_0x523b50||_0x577519[_0x22533b(0x154)](Object[_0x22533b(0x167)](_0x523b50)[_0x22533b(0x16c)],0x0)){this['logError'](_0x577519[_0x22533b(0x13a)],_0x523b50);return;}this[_0x22533b(0x170)](_0x523b50['errorCode'],_0x523b50[_0x22533b(0x183)]);}static[a57_0x370e3a(0x13d)](){const _0x59c0d3=a57_0x370e3a,_0x32e456={};_0x32e456['DlLin']='.browserstack\x20folder\x20not\x20accessible',_0x32e456['lTJEq']=function(_0x2bec0e,_0x35770f){return _0x2bec0e===_0x35770f;},_0x32e456[_0x59c0d3(0x133)]=_0x59c0d3(0x12a);const _0x28905a=_0x32e456,_0x35e545=constants['CLIENT_TROUBLESHOOTING_HASH'][_0x28905a[_0x59c0d3(0x159)]];if(!_0x35e545||_0x28905a[_0x59c0d3(0x152)](Object[_0x59c0d3(0x167)](_0x35e545)[_0x59c0d3(0x16c)],0x0)){this[_0x59c0d3(0x17b)](_0x28905a[_0x59c0d3(0x133)],_0x35e545);return;}this[_0x59c0d3(0x141)][_0x59c0d3(0x186)](_0x35e545[0x0]),this['logSituation'](_0x35e545[0x0],_0x35e545[0x1]);}static async[a57_0x370e3a(0x14b)](_0x5bf195){const _0x5e1022=a57_0x370e3a,_0x587ffe={};_0x587ffe[_0x5e1022(0x161)]=_0x5e1022(0x155),_0x587ffe[_0x5e1022(0x146)]=function(_0x48ec44,_0x4e5836){return _0x48ec44===_0x4e5836;},_0x587ffe[_0x5e1022(0x151)]=_0x5e1022(0x128),_0x587ffe[_0x5e1022(0x177)]=_0x5e1022(0x157);const _0x1b41f0=_0x587ffe,_0x3faefd=await this['getErrorDetails'](_0x1b41f0[_0x5e1022(0x161)]);if(!_0x3faefd||_0x1b41f0[_0x5e1022(0x146)](Object[_0x5e1022(0x167)](_0x3faefd)[_0x5e1022(0x16c)],0x0)){this[_0x5e1022(0x17b)](_0x1b41f0[_0x5e1022(0x151)],_0x3faefd);return;}const _0xf0362f=_0x3faefd[_0x5e1022(0x183)][_0x5e1022(0x16f)](_0x1b41f0[_0x5e1022(0x177)],_0x5bf195);this[_0x5e1022(0x170)](_0x3faefd['errorCode'],_0xf0362f);}static async[a57_0x370e3a(0x184)](){const _0x439ae2=a57_0x370e3a,_0x8c976d={};_0x8c976d[_0x439ae2(0x138)]=function(_0x55803a,_0x5c2e9f){return _0x55803a>_0x5c2e9f;},_0x8c976d[_0x439ae2(0x164)]='{ERROR_CODES}',_0x8c976d[_0x439ae2(0x158)]=_0x439ae2(0x137);const _0x1fe354=_0x8c976d,_0x6113d4=await this[_0x439ae2(0x187)](),_0x44e008=this[_0x439ae2(0x136)](_0x6113d4),_0x59b364=Array[_0x439ae2(0x168)](_0x6113d4[_0x439ae2(0x147)])?_0x6113d4[_0x439ae2(0x147)]:[],_0x43b6bf=_0x1fe354[_0x439ae2(0x138)](this[_0x439ae2(0x141)]['size'],0x0)?Array['from'](this[_0x439ae2(0x141)]):[],_0x4a4fb8=new Set([..._0x59b364,..._0x44e008,..._0x43b6bf]),_0x3e5417=Array[_0x439ae2(0x17a)](_0x4a4fb8);if(_0x1fe354['mXXNO'](_0x3e5417[_0x439ae2(0x16c)],0x0)){const _0x593a88=_0x6113d4['finalErrorMessage'][_0x439ae2(0x16f)](_0x1fe354[_0x439ae2(0x164)],_0x3e5417[_0x439ae2(0x129)](',\x20'))[_0x439ae2(0x16f)](_0x1fe354[_0x439ae2(0x158)],_0x6113d4[_0x439ae2(0x14e)]);logger[_0x439ae2(0x15e)](_0x593a88),this[_0x439ae2(0x15a)]=_0x3e5417;}}}module[a57_0x370e3a(0x169)]=ClientTroubleShootingService;
|