browserstack-node-sdk 1.49.10 → 1.49.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/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/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/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/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/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/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 a47_0x1a4e3c=a47_0x29ba;(function(_0x4866c1,_0x51c91c){const _0x824874=a47_0x29ba,_0x44b401=_0x4866c1();while(!![]){try{const _0x3d20f2=parseInt(_0x824874(0x1a1))/0x1*(-parseInt(_0x824874(0x132))/0x2)+parseInt(_0x824874(0x1dd))/0x3+parseInt(_0x824874(0x12f))/0x4*(-parseInt(_0x824874(0x198))/0x5)+parseInt(_0x824874(0x1c4))/0x6*(parseInt(_0x824874(0x168))/0x7)+-parseInt(_0x824874(0x18c))/0x8+parseInt(_0x824874(0x1ae))/0x9*(parseInt(_0x824874(0x166))/0xa)+-parseInt(_0x824874(0x1c6))/0xb;if(_0x3d20f2===_0x51c91c)break;else _0x44b401['push'](_0x44b401['shift']());}catch(_0x89967){_0x44b401['push'](_0x44b401['shift']());}}}(a47_0x4de5,0x2eb59));const path=require(a47_0x1a4e3c(0x1cb)),url=require(a47_0x1a4e3c(0x1b9)),util=require(a47_0x1a4e3c(0x16d)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x1a4e3c(0x175)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a47_0x1a4e3c(0x1ca)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a47_0x1a4e3c(0x18a)),logger=require(a47_0x1a4e3c(0x1c0))['winstonLogger'],scripts=require(a47_0x1a4e3c(0x15c)),{browserStackExecuteDriver}=require(a47_0x1a4e3c(0x186)),AccessibilityHelper=require(a47_0x1a4e3c(0x1de)),constants=require(a47_0x1a4e3c(0x15a)),BrowserstackCLI=require(a47_0x1a4e3c(0x1c8)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a47_0x1a4e3c(0x17a)),{performScanWithRetry}=require(a47_0x1a4e3c(0x137)),ClientTroubleShootingService=require(a47_0x1a4e3c(0x161)),getBrowserNameFromChannel=_0x373b89=>{const _0x276927=a47_0x1a4e3c,_0x5537b3={};_0x5537b3[_0x276927(0x162)]=_0x276927(0x1b7),_0x5537b3['izOrc']=_0x276927(0x14c),_0x5537b3['rADDM']=_0x276927(0x1cc),_0x5537b3[_0x276927(0x182)]=_0x276927(0x167);const _0x22fe4e=_0x5537b3;if(_0x373b89[_0x276927(0x19b)](_0x22fe4e[_0x276927(0x162)]))return _0x22fe4e[_0x276927(0x162)];if(_0x373b89[_0x276927(0x19b)](_0x22fe4e[_0x276927(0x18e)]))return _0x22fe4e[_0x276927(0x18e)];if(_0x373b89['includes'](_0x22fe4e[_0x276927(0x1c5)]))return _0x22fe4e['rADDM'];if(_0x373b89[_0x276927(0x19b)](_0x22fe4e[_0x276927(0x182)]))return _0x22fe4e[_0x276927(0x182)];},getBrowserFromWSEndpoint=_0x5e34ff=>{const _0x573d82=a47_0x1a4e3c,_0xa93509={'QviRm':_0x573d82(0x1b7),'glBCJ':function(_0x2184ad,_0x698c96){return _0x2184ad(_0x698c96);}};try{const _0x3aa622=url['parse'](_0x5e34ff),_0x339ffb=new URLSearchParams(_0x3aa622[_0x573d82(0x16b)]),_0x576356=Object[_0x573d82(0x15d)](_0x339ffb[_0x573d82(0x19a)]()),_0x19c2d8=JSON[_0x573d82(0x131)](_0x576356[_0x573d82(0x1b5)]);if(_0x19c2d8&&(_0x19c2d8[_0x573d82(0x124)]||_0x19c2d8['browserName']))return _0x19c2d8[_0x573d82(0x124)]||_0x19c2d8[_0x573d82(0x196)];return _0xa93509[_0x573d82(0x174)];}catch(_0x4baeac){_0xa93509[_0x573d82(0x1bc)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x4baeac[_0x573d82(0x14e)]());}},getCloudProviderFromWsEndpoint=_0x3b0e44=>{const _0xa94ae3=a47_0x1a4e3c,_0x56e94a={};_0x56e94a['eqfiv']=_0xa94ae3(0x1bf),_0x56e94a['taohJ']=_0xa94ae3(0x127);const _0xd18205=_0x56e94a;if(_0x3b0e44['includes'](constants[_0xa94ae3(0x17d)])||_0x3b0e44[_0xa94ae3(0x19b)](constants[_0xa94ae3(0x1be)]))return _0xd18205[_0xa94ae3(0x1ce)];return _0xd18205[_0xa94ae3(0x151)];},a47_0x5c9e4c={};a47_0x5c9e4c['cloudProvider']=undefined,a47_0x5c9e4c['bsSessionId']=undefined,a47_0x5c9e4c[a47_0x1a4e3c(0x124)]=undefined,a47_0x5c9e4c['browser_version']=undefined,a47_0x5c9e4c[a47_0x1a4e3c(0x140)]=undefined,a47_0x5c9e4c[a47_0x1a4e3c(0x1d3)]=undefined,a47_0x5c9e4c[a47_0x1a4e3c(0x1da)]=undefined,a47_0x5c9e4c['capabilities']={};class PlaywrightSessionDetails{static [a47_0x1a4e3c(0x1d1)]=a47_0x5c9e4c;constructor(){const _0x353fdf=a47_0x1a4e3c,_0x339ed8={};_0x339ed8[_0x353fdf(0x123)]=_0x353fdf(0x1db);const _0x30922b=_0x339ed8;throw new Error(_0x30922b['kJIcC']);}static [a47_0x1a4e3c(0x1a9)]=null;static[a47_0x1a4e3c(0x155)](_0x52c251,_0x573a07,_0x5ca1f1=null){const _0x1386fa=a47_0x1a4e3c,_0x143136={'JQcsG':function(_0x1f8a2f,_0x4017f2){return _0x1f8a2f===_0x4017f2;},'cggQW':_0x1386fa(0x13e),'jhYhh':_0x1386fa(0x1a0),'WOBSs':_0x1386fa(0x1b8),'tsdhU':_0x1386fa(0x1b2),'YOBBc':function(_0x1348a5,_0x388653,_0x16db5c){return _0x1348a5(_0x388653,_0x16db5c);},'HorRh':_0x1386fa(0x1c2),'EPMwY':_0x1386fa(0x133),'pDHxI':_0x1386fa(0x153),'BInRt':_0x1386fa(0x12d),'UOoWA':'connectOptions','ZBPgE':function(_0x41749e,_0x33e5e2){return _0x41749e(_0x33e5e2);},'jzbgF':_0x1386fa(0x1bf),'uzpjl':_0x1386fa(0x165),'fXzkf':'automate','PTNln':function(_0x13d30d,_0x1dd709){return _0x13d30d(_0x1dd709);},'Gjlam':function(_0x3425a8,_0x2f6004){return _0x3425a8(_0x2f6004);},'eFAXD':function(_0x269375,_0x137bae){return _0x269375+_0x137bae;},'PgRAi':_0x1386fa(0x192),'edRDv':function(_0x80760){return _0x80760();},'QbDro':_0x1386fa(0x155)},_0x349b92=this;return _0x143136[_0x1386fa(0x17e)](o11yErrorHandler,async function _0xfd28cf(_0x28e90b,_0x1665c1,_0x1e483a=null){const _0x17b264=_0x1386fa;let _0x2ee88c=_0x28e90b[_0x17b264(0x135)],_0x20e7bb=null;_0x28e90b&&_0x143136[_0x17b264(0x1a4)](typeof _0x28e90b['version'],_0x143136['cggQW'])?_0x20e7bb=_0x28e90b[_0x17b264(0x1b6)]():logger[_0x17b264(0x16f)](_0x143136[_0x17b264(0x1a6)]);let _0x11ef5b=null;_0x28e90b&&_0x143136['JQcsG'](typeof _0x28e90b[_0x17b264(0x179)],_0x143136[_0x17b264(0x17c)])?_0x11ef5b=_0x28e90b['model']():logger[_0x17b264(0x16f)](_0x143136[_0x17b264(0x19d)]);let _0x30633e=null,_0x569c8b=null,_0x38644e=null,_0x345daf=_0x143136[_0x17b264(0x1cf)];if(_0x28e90b[_0x17b264(0x17b)][_0x17b264(0x164)]()||global[_0x17b264(0x156)]){let _0x100e68=null;_0x143136[_0x17b264(0x17e)](nestedKeyValue,_0x28e90b,[_0x143136[_0x17b264(0x143)],_0x143136['EPMwY']])?_0x100e68=_0x28e90b[_0x17b264(0x1c2)][_0x17b264(0x133)]:_0x100e68=_0x143136[_0x17b264(0x17e)](nestedKeyValue,_0x1665c1,[_0x143136[_0x17b264(0x1b3)],_0x143136['BInRt'],_0x143136[_0x17b264(0x1d5)]]);const _0x30a3e9=_0x1e483a||_0x100e68&&_0x100e68[_0x17b264(0x141)];_0x30a3e9&&(_0x345daf=_0x143136[_0x17b264(0x145)](getCloudProviderFromWsEndpoint,_0x30a3e9),_0x143136[_0x17b264(0x1a4)](_0x345daf,_0x143136['jzbgF'])&&(_0x38644e=constants['ATS_WSS_URL_REGEX']['test'](_0x30a3e9)?_0x143136[_0x17b264(0x172)]:_0x143136[_0x17b264(0x180)],_0x2ee88c=_0x143136['PTNln'](getBrowserFromWSEndpoint,_0x30a3e9)||_0x2ee88c,_0x30633e=_0x349b92[_0x17b264(0x1d1)][_0x17b264(0x140)],_0x569c8b=_0x349b92[_0x17b264(0x1d1)]['platform_version']));}else{_0x1665c1&&_0x1665c1['project'][_0x17b264(0x12d)]['channel']?_0x2ee88c=_0x143136['Gjlam'](getBrowserNameFromChannel,_0x1665c1['project'][_0x17b264(0x12d)]['channel']):_0x2ee88c=_0x143136['eFAXD'](_0x143136['PgRAi'],_0x2ee88c[_0x17b264(0x125)]());const _0x415ba1=await _0x143136[_0x17b264(0x139)](getPlatformDetails);_0x30633e=_0x415ba1['platformName'],_0x569c8b=_0x415ba1[_0x17b264(0x1ab)];}const _0x1c7e90={};_0x1c7e90[_0x17b264(0x124)]=_0x2ee88c,_0x1c7e90[_0x17b264(0x171)]=_0x20e7bb,_0x1c7e90[_0x17b264(0x1d6)]={},_0x1c7e90[_0x17b264(0x140)]=_0x30633e,_0x1c7e90[_0x17b264(0x1d3)]=_0x569c8b,_0x1c7e90[_0x17b264(0x1da)]=_0x38644e;const _0x4bb48f=_0x1c7e90;_0x11ef5b&&(_0x4bb48f[_0x17b264(0x1d6)]['deviceModel']=_0x11ef5b);const _0x247422={};_0x247422[_0x17b264(0x193)]=_0x345daf,_0x349b92[_0x17b264(0x1d1)]=Object[_0x17b264(0x14a)]({},_0x349b92[_0x17b264(0x1d1)],_0x247422,_0x4bb48f);},_0x143136[_0x1386fa(0x160)])(_0x52c251,_0x573a07,_0x5ca1f1);}static[a47_0x1a4e3c(0x185)](){const _0x4e0ca5=a47_0x1a4e3c;this[_0x4e0ca5(0x12b)](),this['patchCRConnection']();}static['patchConnection'](){const _0x1648e1=a47_0x1a4e3c,_0xc56ec9={'ISOkr':function(_0x12126e,_0x11d2a5,_0x20cd44){return _0x12126e(_0x11d2a5,_0x20cd44);},'RroTO':_0x1648e1(0x1bd),'cJwSq':_0x1648e1(0x134),'fbPYy':_0x1648e1(0x154),'zLvbD':'__workerDetails','xzVfA':'pwPage','MHirs':function(_0x351ca6,_0x5c7853){return _0x351ca6===_0x5c7853;},'byYJn':_0x1648e1(0x1b4),'VYbhr':function(_0x11187c,_0x13d69a,_0x5b583c,_0x3e4a37){return _0x11187c(_0x13d69a,_0x5b583c,_0x3e4a37);},'uHpTX':function(_0x502c0f,_0x5cc1a9){return _0x502c0f||_0x5cc1a9;},'FETmr':function(_0x2f824f,_0x414b25){return _0x2f824f(_0x414b25);},'QPvxF':function(_0xfb3090,_0x1c718b){return _0xfb3090(_0x1c718b);},'iZytt':_0x1648e1(0x1bb),'lTtnw':_0x1648e1(0x159),'Vtdro':_0x1648e1(0x15e),'NWOsH':_0x1648e1(0x199),'dPBml':function(_0x4134f9,_0x3efd05){return _0x4134f9!=_0x3efd05;},'piSFj':function(_0xe2e5a){return _0xe2e5a();},'zquGB':'sendMessageToServer','tiorn':function(_0x58a01d,_0x2e28e0){return _0x58a01d(_0x2e28e0);},'VLxEP':_0x1648e1(0x178)},_0x5633c5=this;if(!this['Connection'])try{const _0x27e341=path[_0x1648e1(0x181)](_0xc56ec9[_0x1648e1(0x152)],_0xc56ec9[_0x1648e1(0x163)],_0xc56ec9[_0x1648e1(0x122)]),_0x5786b3=_0xc56ec9[_0x1648e1(0x1c3)](importFileFromPWCore,_0x27e341);!_0x5786b3?_0xc56ec9[_0x1648e1(0x1c3)](debug,_0xc56ec9[_0x1648e1(0x1dc)]):this[_0x1648e1(0x1a5)]=_0x5786b3[_0x1648e1(0x1a5)];}catch(_0x29801b){_0xc56ec9[_0x1648e1(0x14b)](debug,_0x1648e1(0x1b1)+_0x29801b[_0x1648e1(0x14e)]());}const _0x2a1e0f=this['Connection'];try{if(_0xc56ec9[_0x1648e1(0x1a3)](_0x2a1e0f,null)){const _0x2ef6a2=_0x2a1e0f[_0x1648e1(0x170)][_0x1648e1(0x178)],_0x31a443=_0x2a1e0f['prototype'][_0x1648e1(0x1a7)];_0xc56ec9[_0x1648e1(0x1d7)](isAccessibilityAutomationSession)&&Object[_0x1648e1(0x126)](_0x2a1e0f['prototype'],_0xc56ec9[_0x1648e1(0x157)],{'get':function(){const _0x27fe99=_0x1648e1,_0x3a9249={'pWMBo':function(_0x474306,_0x31ae30,_0x57a60b){const _0x3e8b33=a47_0x29ba;return _0xc56ec9[_0x3e8b33(0x16a)](_0x474306,_0x31ae30,_0x57a60b);},'QZPJo':_0xc56ec9[_0x27fe99(0x1b0)],'AgsAh':_0xc56ec9['cJwSq'],'Yuwkj':_0xc56ec9[_0x27fe99(0x184)],'QzEDS':function(_0x16ad2d,_0x318246,_0x5c2bd2){const _0xf186db=_0x27fe99;return _0xc56ec9[_0xf186db(0x16a)](_0x16ad2d,_0x318246,_0x5c2bd2);},'fonem':_0xc56ec9['zLvbD'],'pMUBm':_0xc56ec9['xzVfA'],'OzRNx':function(_0xe4e850,_0x4f4b69,_0x57a08f){const _0x40d876=_0x27fe99;return _0xc56ec9[_0x40d876(0x16a)](_0xe4e850,_0x4f4b69,_0x57a08f);},'BkNcU':function(_0x55401e,_0x220922){const _0x13a405=_0x27fe99;return _0xc56ec9[_0x13a405(0x146)](_0x55401e,_0x220922);},'uLDOe':_0xc56ec9['byYJn'],'AelIR':function(_0x214f20,_0x146c49,_0xd278c7,_0x3a1e40){const _0x25b7dd=_0x27fe99;return _0xc56ec9[_0x25b7dd(0x128)](_0x214f20,_0x146c49,_0xd278c7,_0x3a1e40);}};return async function(){const _0x8d21dd=_0x27fe99;try{if(!global[_0x8d21dd(0x173)]&&global[_0x8d21dd(0x156)]&&_0x3a9249[_0x8d21dd(0x1c1)](nestedKeyValue,global[_0x8d21dd(0x149)],[_0x3a9249[_0x8d21dd(0x1ad)],_0x3a9249[_0x8d21dd(0x1c7)],_0x3a9249['Yuwkj']])&&_0x3a9249[_0x8d21dd(0x195)](shouldScanTestForAccessibility,global['__workerDetails'][_0x8d21dd(0x1bd)][_0x8d21dd(0x134)]['titlePath'],!![])&&scripts[_0x8d21dd(0x177)](arguments[0x1])){logger[_0x8d21dd(0x16f)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x8d21dd(0x173)]=!![];const _0x271bef=_0x3a9249[_0x8d21dd(0x1c1)](nestedKeyValue,global,[_0x3a9249[_0x8d21dd(0x1e0)],_0x3a9249[_0x8d21dd(0x144)]]);_0x271bef&&logger[_0x8d21dd(0x158)](_0x8d21dd(0x1ac)+util[_0x8d21dd(0x14d)](await _0x3a9249[_0x8d21dd(0x1df)](performScanWithRetry,_0x271bef,arguments[0x1]))),_0x3a9249['BkNcU'](arguments[0x0][_0x8d21dd(0x138)],_0x3a9249[_0x8d21dd(0x18f)])&&global[_0x8d21dd(0x194)]&&logger[_0x8d21dd(0x158)](_0x8d21dd(0x1aa)+util[_0x8d21dd(0x14d)](await _0x3a9249['AelIR'](performScanWithRetry,global['__driver'],arguments[0x1],scripts[_0x8d21dd(0x15b)])));}}catch(_0x3f7bd4){logger['debug'](_0x8d21dd(0x187)+util['format'](_0x3f7bd4));}return global[_0x8d21dd(0x173)]=![],_0x31a443[_0x8d21dd(0x1a8)](this,arguments);};}}),!_0xc56ec9[_0x1648e1(0x130)](isFalse,process[_0x1648e1(0x142)][_0x1648e1(0x19f)])&&Object[_0x1648e1(0x126)](_0x2a1e0f[_0x1648e1(0x170)],_0xc56ec9[_0x1648e1(0x191)],{'get':function(){return async function _0x38f526(_0x1d295a){const _0x31df0b=a47_0x29ba;if(BrowserstackCLI[_0x31df0b(0x176)]()[_0x31df0b(0x1d0)]()){const _0x5da7a9={};_0x5da7a9[_0x31df0b(0x13c)]=_0x1d295a,await BrowserstackCLI[_0x31df0b(0x176)]()[_0x31df0b(0x19c)]()[_0x31df0b(0x189)](AutomationFrameworkState[_0x31df0b(0x13d)],HookState[_0x31df0b(0x1cd)],_0x5da7a9);}else{const _0x235d0f=_0x1d295a&&_0x1d295a[_0x31df0b(0x1d4)]&&_0x1d295a[_0x31df0b(0x1d4)][_0x31df0b(0x190)];if(_0x235d0f){const _0x1326b6=_0x235d0f[_0x31df0b(0x12e)],_0x52e0fd=_0x235d0f[_0x31df0b(0x16c)];_0xc56ec9['uHpTX'](!_0x1326b6,!_0x52e0fd)&&await ClientTroubleShootingService[_0x31df0b(0x188)](),_0x52e0fd&&(_0xc56ec9['FETmr'](debug,_0x31df0b(0x1d2)+_0x52e0fd['toString']()),_0x5633c5[_0x31df0b(0x1d1)][_0x31df0b(0x140)]=_0x52e0fd['platformName'],_0x5633c5[_0x31df0b(0x1d1)][_0x31df0b(0x1d3)]=_0x52e0fd[_0x31df0b(0x1ab)]),_0x1326b6&&(_0xc56ec9[_0x31df0b(0x1c3)](debug,_0x31df0b(0x147)+_0x1326b6),_0x5633c5[_0x31df0b(0x1d1)][_0x31df0b(0x129)]=_0x1326b6);}}return _0x2ef6a2['apply'](this,arguments);};}});}}catch(_0x2feab9){_0xc56ec9[_0x1648e1(0x14b)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x2feab9),_0x5633c5[_0x1648e1(0x1a9)]=_0x2feab9[_0x1648e1(0x14e)]();}}static[a47_0x1a4e3c(0x1ba)](){const _0x465edc=a47_0x1a4e3c,_0x53ff21={'qohhT':function(_0x10aa74,_0x378ec5){return _0x10aa74(_0x378ec5);},'NwgBI':function(_0x271f71){return _0x271f71();},'JRevT':_0x465edc(0x1bb),'wrOJM':'server','YzIzo':_0x465edc(0x19e),'tubem':'crConnection.js','xqQWs':function(_0x433095,_0x2499e5){return _0x433095(_0x2499e5);},'JVdYO':_0x465edc(0x1d8),'LelVx':function(_0x53592a,_0x1ccca8){return _0x53592a(_0x1ccca8);},'YOovW':_0x465edc(0x12a),'VhKmR':function(_0x10e972,_0x123017){return _0x10e972!=_0x123017;},'JRdYj':'_onMessage'},_0x509789=this;if(_0x53ff21[_0x465edc(0x136)](isAccessibilityAutomationSession)){let _0x619d15=null;try{const _0x1f12c3=path['join'](_0x53ff21[_0x465edc(0x15f)],_0x53ff21[_0x465edc(0x150)],_0x53ff21[_0x465edc(0x1c9)],_0x53ff21[_0x465edc(0x12c)]),_0x379b0c=_0x53ff21['qohhT'](importFileFromPWCore,_0x1f12c3);!_0x379b0c?_0x53ff21[_0x465edc(0x13a)](debug,_0x53ff21[_0x465edc(0x13b)]):_0x619d15=_0x379b0c[_0x465edc(0x16e)];}catch(_0x52d54e){_0x53ff21[_0x465edc(0x1af)](debug,_0x53ff21['YOovW']);}try{if(_0x53ff21[_0x465edc(0x169)](_0x619d15,null)){const _0x2e7cf0=_0x619d15[_0x465edc(0x170)][_0x465edc(0x1a2)];Object[_0x465edc(0x126)](_0x619d15['prototype'],_0x53ff21['JRdYj'],{'get':function(){return async function _0x2a00b4(_0x6dc1de){const _0x275f7=a47_0x29ba;try{if(BrowserstackCLI['getInstance']()[_0x275f7(0x1d0)]()){const _0x406807={};_0x406807[_0x275f7(0x13c)]=_0x6dc1de,await BrowserstackCLI[_0x275f7(0x176)]()[_0x275f7(0x19c)]()[_0x275f7(0x189)](AutomationFrameworkState[_0x275f7(0x13d)],HookState[_0x275f7(0x1cd)],_0x406807),delete _0x6dc1de[_0x275f7(0x14f)];}else{const _0x64ff53=_0x6dc1de[_0x275f7(0x14f)];if(_0x64ff53){delete _0x6dc1de[_0x275f7(0x14f)];const _0x340d93=_0x64ff53[_0x275f7(0x12e)],_0x50eac4=_0x64ff53[_0x275f7(0x16c)];_0x50eac4&&(_0x53ff21[_0x275f7(0x18d)](debug,_0x275f7(0x197)+_0x50eac4['toString']()),_0x509789[_0x275f7(0x1d1)]['platform']=_0x50eac4[_0x275f7(0x18b)],_0x509789['currentSessionDetails'][_0x275f7(0x1d3)]=_0x50eac4['platformVersion']),_0x340d93&&(_0x53ff21['qohhT'](debug,_0x275f7(0x183)+_0x340d93),_0x509789['currentSessionDetails'][_0x275f7(0x129)]=_0x340d93);}}}catch(_0x2d7cea){_0x53ff21[_0x275f7(0x18d)](debug,_0x275f7(0x148)+_0x2d7cea['toString']());}return _0x2e7cf0[_0x275f7(0x1a8)](this,arguments);};}});}}catch(_0x89a8fd){_0x53ff21[_0x465edc(0x1af)](debug,_0x465edc(0x1d9)+_0x89a8fd),_0x509789[_0x465edc(0x1a9)]=_0x89a8fd[_0x465edc(0x14e)]();}}}static[a47_0x1a4e3c(0x17f)](){const _0x2d3bf4=a47_0x1a4e3c;return this[_0x2d3bf4(0x1d1)];}}function a47_0x29ba(_0x88b1ad,_0x5d5ac5){const _0x4de597=a47_0x4de5();return a47_0x29ba=function(_0x29ba1e,_0xb8ee9c){_0x29ba1e=_0x29ba1e-0x122;let _0x5dffe5=_0x4de597[_0x29ba1e];return _0x5dffe5;},a47_0x29ba(_0x88b1ad,_0x5d5ac5);}function a47_0x4de5(){const _0x12ae66=['chromium','BROWSERSTACK_TEST_OBSERVABILITY','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','2ymMoYY','_onMessage','dPBml','JQcsG','Connection','jhYhh','sendMessageToServer','apply','sessionError','Driver\x20Scan\x20result=','platformVersion','Page\x20Scan\x20result=','QZPJo','54hmrdCp','LelVx','RroTO','Error\x20in\x20importing\x20connection\x20','local_grid','pDHxI','Page','caps','version','chrome','Device\x20Model\x20is\x20not\x20available','url','patchCRConnection','lib','glBCJ','currentTest','BSTACK_ATS_URL','browserstack','../../helpers/logger','pWMBo','_browserType','QPvxF','1992282GGzJIx','rADDM','295207HmdQgx','AgsAh','../v2/browserstackCLI','YzIzo','../../helpers/test-observability/utils','path','firefox','POST','eqfiv','tsdhU','isRunning','currentSessionDetails','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','platform_version','params','UOoWA','capabilities','piSFj','Not\x20able\x20to\x20import\x20crConnection','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','product','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','NWOsH','636954EhMjVW','./accessibility-helper','OzRNx','fonem','Vtdro','kJIcC','browser','toLowerCase','defineProperty','unknown_grid','VYbhr','bsSessionId','Error\x20in\x20importing\x20crConnection','patchConnection','tubem','use','sessionId','4xPXzEb','tiorn','parse','334114wSGJtD','_defaultConnectOptions','testInfo','_name','NwgBI','../../helpers/accessibility-automation/accessibilityRetryHelper.js','_type','edRDv','xqQWs','JVdYO','message','PLAYWRIGHT_DISPATCH','function','exports','platform','wsEndpoint','env','HorRh','pMUBm','ZBPgE','MHirs','Setting\x20session\x20id\x20received\x20from\x20BS\x20','Error\x20in\x20finding\x20platform\x20details\x20','__workerDetails','assign','FETmr','edge','format','toString','bStackParams','wrOJM','taohJ','iZytt','project','titlePath','setupBrowserDetails','accessibilityPlatform','zquGB','info','client','../utils/constants','performScan','../../helpers/accessibility-automation/scripts','fromEntries','connection.js','JRevT','QbDro','../utils/clientTroubleshootingService.js','ABlWU','lTtnw','isRemote','turboscale','262070lujbrS','safari','7AGfmEp','VhKmR','ISOkr','query','platformDetails','util','CRConnection','debug','prototype','browser_version','uzpjl','bstackPerformA11yScan','QviRm','../../helpers/helper','getInstance','shouldWrapCommand','dispatch','model','../v2/state/hookState.js','_connection','cggQW','BSTACK_URL','YOBBc','getDetails','fXzkf','join','kfDKZ','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','fbPYy','patch','../../bin/playwright/accessibility-helper','Failed\x20to\x20perform\x20scan\x20','reportSessionLinkingIssue','trackEvent','../../helpers/accessibility-automation/helper','platformName','1186688KLLMkT','qohhT','izOrc','uLDOe','bsParams','VLxEP','playwright-','cloudProvider','__driver','QzEDS','browserName','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','4995OyYIbD','Not\x20able\x20to\x20import\x20Connection','entries','includes','getAutomationFramework','WOBSs'];a47_0x4de5=function(){return _0x12ae66;};return a47_0x4de5();}module[a47_0x1a4e3c(0x13f)]=PlaywrightSessionDetails;
|
|
1
|
+
const a47_0x41408a=a47_0xf987;(function(_0x269ad9,_0x138f34){const _0x44c75f=a47_0xf987,_0x3b7366=_0x269ad9();while(!![]){try{const _0x4fc7bd=parseInt(_0x44c75f(0x154))/0x1+-parseInt(_0x44c75f(0x111))/0x2+-parseInt(_0x44c75f(0x105))/0x3*(parseInt(_0x44c75f(0x101))/0x4)+-parseInt(_0x44c75f(0x197))/0x5*(parseInt(_0x44c75f(0x119))/0x6)+parseInt(_0x44c75f(0x1a1))/0x7+parseInt(_0x44c75f(0xff))/0x8+-parseInt(_0x44c75f(0x102))/0x9;if(_0x4fc7bd===_0x138f34)break;else _0x3b7366['push'](_0x3b7366['shift']());}catch(_0xb6d8a){_0x3b7366['push'](_0x3b7366['shift']());}}}(a47_0x763b,0x7a3dd));const path=require(a47_0x41408a(0x199)),url=require('url'),util=require(a47_0x41408a(0x198)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a47_0x41408a(0x16c)),{o11yErrorHandler}=require(a47_0x41408a(0x19c)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require(a47_0x41408a(0x13b))[a47_0x41408a(0x156)],scripts=require(a47_0x41408a(0x110)),{browserStackExecuteDriver}=require(a47_0x41408a(0x1a7)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a47_0x41408a(0x145)),BrowserstackCLI=require(a47_0x41408a(0x132)),AutomationFrameworkState=require(a47_0x41408a(0x15e)),HookState=require(a47_0x41408a(0x160)),{performScanWithRetry}=require(a47_0x41408a(0x185)),ClientTroubleShootingService=require(a47_0x41408a(0x14c)),getBrowserNameFromChannel=_0x5dd1aa=>{const _0x3bd0e0=a47_0x41408a,_0x409689={};_0x409689[_0x3bd0e0(0x181)]=_0x3bd0e0(0x109),_0x409689[_0x3bd0e0(0x137)]=_0x3bd0e0(0x1a3),_0x409689['npiRh']=_0x3bd0e0(0xea),_0x409689[_0x3bd0e0(0x179)]='safari';const _0x47759a=_0x409689;if(_0x5dd1aa[_0x3bd0e0(0x182)](_0x47759a[_0x3bd0e0(0x181)]))return _0x47759a[_0x3bd0e0(0x181)];if(_0x5dd1aa[_0x3bd0e0(0x182)](_0x47759a[_0x3bd0e0(0x137)]))return _0x47759a[_0x3bd0e0(0x137)];if(_0x5dd1aa[_0x3bd0e0(0x182)](_0x47759a[_0x3bd0e0(0x166)]))return _0x47759a['npiRh'];if(_0x5dd1aa[_0x3bd0e0(0x182)](_0x47759a[_0x3bd0e0(0x179)]))return _0x47759a['PYYJd'];},getBrowserFromWSEndpoint=_0x3ca479=>{const _0x15f3b3=a47_0x41408a,_0x38e0a0={'mkHwt':'chrome','FyXym':function(_0x3d113d,_0x11588e){return _0x3d113d(_0x11588e);}};try{const _0x31b3b4=url[_0x15f3b3(0x18a)](_0x3ca479),_0xdbc35c=new URLSearchParams(_0x31b3b4[_0x15f3b3(0x140)]),_0x11fdf6=Object[_0x15f3b3(0x112)](_0xdbc35c['entries']()),_0x3c5bd8=JSON[_0x15f3b3(0x18a)](_0x11fdf6['caps']);if(_0x3c5bd8&&(_0x3c5bd8['browser']||_0x3c5bd8[_0x15f3b3(0x158)]))return _0x3c5bd8[_0x15f3b3(0x165)]||_0x3c5bd8['browserName'];return _0x38e0a0[_0x15f3b3(0x14e)];}catch(_0x20aad6){_0x38e0a0[_0x15f3b3(0xf3)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x20aad6[_0x15f3b3(0x169)]());}},getCloudProviderFromWsEndpoint=_0x5abf20=>{const _0x4899ac=a47_0x41408a,_0x4b28f9={};_0x4b28f9[_0x4899ac(0x149)]=_0x4899ac(0x159),_0x4b28f9['giVMr']=_0x4899ac(0x108);const _0x43296c=_0x4b28f9;if(_0x5abf20[_0x4899ac(0x182)](constants[_0x4899ac(0x18b)])||_0x5abf20[_0x4899ac(0x182)](constants[_0x4899ac(0x155)]))return _0x43296c['cvFRU'];return _0x43296c[_0x4899ac(0x139)];},a47_0x4345f7={};function a47_0x763b(){const _0x19ea9e=['../v2/state/automationFrameworkState.js','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','../v2/state/hookState.js','version','PLAYWRIGHT_DISPATCH','message','_connection','browser','npiRh','dispatch','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','toString','bvPUQ','capabilities','../../helpers/helper','RbvQx','CduFp','VKqCd','defineProperty','local_grid','TIUxK','Page','pVkza','jhUqo','bsSessionId','connection.js','UITWk','PYYJd','getAutomationFramework','patchCRConnection','currentTest','POST','ULuuj','Page\x20Scan\x20result=','testInfo','Vivic','includes','bStackParams','pgHxH','../../helpers/accessibility-automation/accessibilityRetryHelper.js','DugLz','browser_version','KZSrr','exports','parse','BSTACK_URL','FcUel','yBbaH','crConnection.js','zHPNg','LQNdW','params','patch','wGLqV','sendMessageToServer','fAeQj','xQYBt','350465tyEYvz','util','path','OLpgC','platform','../../helpers/test-observability/error-handler','bstackPerformA11yScan','aCXPx','GylNX','setupBrowserDetails','4151938EfcgeP','_type','edge','debug','titlePath','Error\x20in\x20importing\x20crConnection','../../bin/playwright/accessibility-helper','dsoGt','isRunning','firefox','bsParams','BADkK','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','_onMessage','format','playwright-','toKhy','CsENL','FyXym','WclJK','lib','platformDetails','getInstance','tkZJh','product','platform_version','Device\x20Model\x20is\x20not\x20available','bCUTN','join','wrvnn','6211200uadMGj','fHJrN','1660zWCOym','9797139IorlpB','chromium','sessionError','471ACvoNk','getDetails','XcGXt','unknown_grid','chrome','isRemote','Pcjub','SnTAL','Connection','project','BFGqq','../../helpers/accessibility-automation/scripts','37688eFuCTt','fromEntries','_defaultConnectOptions','assign','Performing\x20scan\x20for\x20','cmTIp','njcFJ','prototype','6YkopOY','UHdWC','automate','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','HhsIN','trackEvent','info','rgcam','wPuno','nVcqD','_browserType','platformVersion','Not\x20able\x20to\x20import\x20Connection','turboscale','function','bBhQu','use','apply','test','BfqTz','sessionId','wsEndpoint','patchConnection','Error\x20in\x20finding\x20platform\x20details\x20','model','../v2/browserstackCLI','__workerDetails','Not\x20able\x20to\x20import\x20crConnection','THkKC','server','cuPVc','currentSessionDetails','giVMr','BveeP','../../helpers/logger','sYFtP','kuSro','CRConnection','mnvYZ','query','platformName','deviceModel','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','jcNVC','../utils/constants','__driver','gHkQL','MWhWu','cvFRU','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','wSZNc','../utils/clientTroubleshootingService.js','MQRfP','mkHwt','KOdIk','BROWSERSTACK_TEST_OBSERVABILITY','channel','qeukd','lZnUu','373830kHuZNb','BSTACK_ATS_URL','winstonLogger','eGWHi','browserName','browserstack','Gmibh','TyfeH','ATS_WSS_URL_REGEX','OvQpg'];a47_0x763b=function(){return _0x19ea9e;};return a47_0x763b();}function a47_0xf987(_0x1384a5,_0x575164){const _0x763bb1=a47_0x763b();return a47_0xf987=function(_0xf9877d,_0x1f0006){_0xf9877d=_0xf9877d-0xe8;let _0x105f51=_0x763bb1[_0xf9877d];return _0x105f51;},a47_0xf987(_0x1384a5,_0x575164);}a47_0x4345f7['cloudProvider']=undefined,a47_0x4345f7['bsSessionId']=undefined,a47_0x4345f7[a47_0x41408a(0x165)]=undefined,a47_0x4345f7[a47_0x41408a(0x187)]=undefined,a47_0x4345f7[a47_0x41408a(0x19b)]=undefined,a47_0x4345f7[a47_0x41408a(0xfa)]=undefined,a47_0x4345f7[a47_0x41408a(0xf9)]=undefined,a47_0x4345f7[a47_0x41408a(0x16b)]={};class PlaywrightSessionDetails{static [a47_0x41408a(0x138)]=a47_0x4345f7;constructor(){const _0x405776=a47_0x41408a,_0x5f5088={};_0x5f5088[_0x405776(0x15d)]=_0x405776(0xed);const _0x229c56=_0x5f5088;throw new Error(_0x229c56[_0x405776(0x15d)]);}static [a47_0x41408a(0x104)]=null;static[a47_0x41408a(0x1a0)](_0x2e8438,_0x7c026c,_0x460779=null){const _0x188d25=a47_0x41408a,_0x2a3263={'sYFtP':function(_0x2774b8,_0x2df79c){return _0x2774b8===_0x2df79c;},'fAeQj':_0x188d25(0x127),'mpDTA':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','MQRfP':_0x188d25(0xfb),'nQyWt':_0x188d25(0x171),'iqIkW':function(_0x56d971,_0x44c1a1,_0x4ff4d7){return _0x56d971(_0x44c1a1,_0x4ff4d7);},'xQYBt':_0x188d25(0x123),'MWhWu':_0x188d25(0x113),'mnvYZ':function(_0x250763,_0x4b03ac,_0x1a8e47){return _0x250763(_0x4b03ac,_0x1a8e47);},'lZnUu':_0x188d25(0x10e),'bCUTN':_0x188d25(0x129),'BfqTz':'connectOptions','HhsIN':function(_0x8fbf66,_0x5a1da8){return _0x8fbf66(_0x5a1da8);},'OYQcz':function(_0x573711,_0x1bc852){return _0x573711===_0x1bc852;},'wGLqV':_0x188d25(0x159),'bBhQu':_0x188d25(0x126),'rgcam':_0x188d25(0x11b),'CduFp':function(_0x5bb1fd,_0x3f3758){return _0x5bb1fd(_0x3f3758);},'pVkza':function(_0x3de946,_0xa9e431){return _0x3de946+_0xa9e431;},'Gmibh':_0x188d25(0xf0),'toKhy':function(_0x52f913){return _0x52f913();},'DOUap':function(_0x1afe21,_0x2eebae,_0xee3c48){return _0x1afe21(_0x2eebae,_0xee3c48);},'KZSrr':_0x188d25(0x1a0)},_0x134e66=this;return _0x2a3263['DOUap'](o11yErrorHandler,async function _0x242101(_0x49beef,_0x65874c,_0x29e9c2=null){const _0x45f0b5=_0x188d25;let _0x4be19a=_0x49beef['_name'],_0x2e2dc9=null;_0x49beef&&_0x2a3263[_0x45f0b5(0x13c)](typeof _0x49beef[_0x45f0b5(0x161)],_0x2a3263[_0x45f0b5(0x195)])?_0x2e2dc9=_0x49beef[_0x45f0b5(0x161)]():logger['debug'](_0x2a3263['mpDTA']);let _0xf37f9f=null;_0x49beef&&_0x2a3263[_0x45f0b5(0x13c)](typeof _0x49beef[_0x45f0b5(0x131)],_0x2a3263[_0x45f0b5(0x195)])?_0xf37f9f=_0x49beef[_0x45f0b5(0x131)]():logger[_0x45f0b5(0x1a4)](_0x2a3263[_0x45f0b5(0x14d)]);let _0x31885c=null,_0x2e5a69=null,_0x22333c=null,_0x16553c=_0x2a3263['nQyWt'];if(_0x49beef[_0x45f0b5(0x164)][_0x45f0b5(0x10a)]()||global['accessibilityPlatform']){let _0x4f7707=null;_0x2a3263['iqIkW'](nestedKeyValue,_0x49beef,[_0x2a3263[_0x45f0b5(0x196)],_0x2a3263[_0x45f0b5(0x148)]])?_0x4f7707=_0x49beef[_0x45f0b5(0x123)][_0x45f0b5(0x113)]:_0x4f7707=_0x2a3263[_0x45f0b5(0x13f)](nestedKeyValue,_0x65874c,[_0x2a3263[_0x45f0b5(0x153)],_0x2a3263[_0x45f0b5(0xfc)],_0x2a3263[_0x45f0b5(0x12c)]]);const _0x3b0e7=_0x29e9c2||_0x4f7707&&_0x4f7707[_0x45f0b5(0x12e)];_0x3b0e7&&(_0x16553c=_0x2a3263['HhsIN'](getCloudProviderFromWsEndpoint,_0x3b0e7),_0x2a3263['OYQcz'](_0x16553c,_0x2a3263[_0x45f0b5(0x193)])&&(_0x22333c=constants[_0x45f0b5(0x15c)][_0x45f0b5(0x12b)](_0x3b0e7)?_0x2a3263[_0x45f0b5(0x128)]:_0x2a3263[_0x45f0b5(0x120)],_0x4be19a=_0x2a3263[_0x45f0b5(0x11d)](getBrowserFromWSEndpoint,_0x3b0e7)||_0x4be19a,_0x31885c=_0x134e66[_0x45f0b5(0x138)][_0x45f0b5(0x19b)],_0x2e5a69=_0x134e66[_0x45f0b5(0x138)][_0x45f0b5(0xfa)]));}else{_0x65874c&&_0x65874c[_0x45f0b5(0x10e)][_0x45f0b5(0x129)][_0x45f0b5(0x151)]?_0x4be19a=_0x2a3263[_0x45f0b5(0x16e)](getBrowserNameFromChannel,_0x65874c[_0x45f0b5(0x10e)][_0x45f0b5(0x129)][_0x45f0b5(0x151)]):_0x4be19a=_0x2a3263[_0x45f0b5(0x174)](_0x2a3263[_0x45f0b5(0x15a)],_0x4be19a['toLowerCase']());const _0x22c743=await _0x2a3263[_0x45f0b5(0xf1)](getPlatformDetails);_0x31885c=_0x22c743['platformName'],_0x2e5a69=_0x22c743[_0x45f0b5(0x124)];}const _0x305446={};_0x305446[_0x45f0b5(0x165)]=_0x4be19a,_0x305446[_0x45f0b5(0x187)]=_0x2e2dc9,_0x305446[_0x45f0b5(0x16b)]={},_0x305446[_0x45f0b5(0x19b)]=_0x31885c,_0x305446[_0x45f0b5(0xfa)]=_0x2e5a69,_0x305446[_0x45f0b5(0xf9)]=_0x22333c;const _0x3934b1=_0x305446;_0xf37f9f&&(_0x3934b1[_0x45f0b5(0x16b)][_0x45f0b5(0x142)]=_0xf37f9f);const _0x223984={};_0x223984['cloudProvider']=_0x16553c,_0x134e66[_0x45f0b5(0x138)]=Object[_0x45f0b5(0x114)]({},_0x134e66[_0x45f0b5(0x138)],_0x223984,_0x3934b1);},_0x2a3263[_0x188d25(0x188)])(_0x2e8438,_0x7c026c,_0x460779);}static[a47_0x41408a(0x192)](){const _0x2425d2=a47_0x41408a;this[_0x2425d2(0x12f)](),this[_0x2425d2(0x17b)]();}static['patchConnection'](){const _0x19ede5=a47_0x41408a,_0x22adf8={'pgHxH':function(_0x24e0eb,_0x34fb93,_0x4ac260){return _0x24e0eb(_0x34fb93,_0x4ac260);},'fHJrN':_0x19ede5(0x17c),'SnTAL':_0x19ede5(0x180),'bvPUQ':_0x19ede5(0x1a5),'kuSro':_0x19ede5(0x133),'KDHGk':'pwPage','cKSGH':function(_0x133c7b,_0x160d3b,_0x2b7c7b){return _0x133c7b(_0x160d3b,_0x2b7c7b);},'XcGXt':function(_0x333017,_0x41abc9){return _0x333017===_0x41abc9;},'VKqCd':_0x19ede5(0x173),'WclJK':function(_0x5952f9,_0x2f5b6b,_0x502cd5,_0x3a69ef){return _0x5952f9(_0x2f5b6b,_0x502cd5,_0x3a69ef);},'BFGqq':function(_0x916404,_0x28ebba){return _0x916404||_0x28ebba;},'cmTIp':function(_0x46a1d5,_0x231f4e){return _0x46a1d5(_0x231f4e);},'RbvQx':function(_0x317f92,_0x2b45bd){return _0x317f92(_0x2b45bd);},'CsENL':_0x19ede5(0xf5),'UITWk':'client','eGWHi':_0x19ede5(0x177),'TyfeH':function(_0x2d7a59,_0x420e23){return _0x2d7a59(_0x420e23);},'njcFJ':function(_0x2b9e9d,_0x4626d2){return _0x2b9e9d(_0x4626d2);},'BADkK':_0x19ede5(0x125),'SlBDs':function(_0x22416c,_0x1a6c49){return _0x22416c!=_0x1a6c49;},'zEqAe':function(_0x18c582){return _0x18c582();},'TIUxK':_0x19ede5(0x194),'tkZJh':_0x19ede5(0x167)},_0x55983e=this;if(!this[_0x19ede5(0x10d)])try{const _0x379ade=path[_0x19ede5(0xfd)](_0x22adf8[_0x19ede5(0xf2)],_0x22adf8[_0x19ede5(0x178)],_0x22adf8[_0x19ede5(0x157)]),_0x3847e4=_0x22adf8[_0x19ede5(0x15b)](importFileFromPWCore,_0x379ade);!_0x3847e4?_0x22adf8[_0x19ede5(0x117)](debug,_0x22adf8[_0x19ede5(0xec)]):this['Connection']=_0x3847e4[_0x19ede5(0x10d)];}catch(_0x32f821){_0x22adf8[_0x19ede5(0x116)](debug,'Error\x20in\x20importing\x20connection\x20'+_0x32f821[_0x19ede5(0x169)]());}const _0x499445=this[_0x19ede5(0x10d)];try{if(_0x22adf8['SlBDs'](_0x499445,null)){const _0x12ca09=_0x499445[_0x19ede5(0x118)]['dispatch'],_0xe44da4=_0x499445[_0x19ede5(0x118)]['sendMessageToServer'];_0x22adf8['zEqAe'](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x499445['prototype'],_0x22adf8[_0x19ede5(0x172)],{'get':function(){const _0x37ced3=_0x19ede5,_0xe02683={'gHkQL':function(_0x1f5ecf,_0x2f839e,_0x1ad3d3){const _0x47cfaa=a47_0xf987;return _0x22adf8[_0x47cfaa(0x184)](_0x1f5ecf,_0x2f839e,_0x1ad3d3);},'jhUqo':_0x22adf8[_0x37ced3(0x100)],'OLpgC':_0x22adf8[_0x37ced3(0x10c)],'nVcqD':_0x22adf8[_0x37ced3(0x16a)],'LQNdW':_0x22adf8[_0x37ced3(0x13d)],'Smlbs':_0x22adf8['KDHGk'],'GylNX':function(_0x200db7,_0x29b638,_0x40e214){return _0x22adf8['cKSGH'](_0x200db7,_0x29b638,_0x40e214);},'qeukd':function(_0x488e03,_0xcbeb26){const _0x2443a9=_0x37ced3;return _0x22adf8[_0x2443a9(0x107)](_0x488e03,_0xcbeb26);},'JkRHG':_0x22adf8[_0x37ced3(0x16f)],'UHdWC':function(_0x59af39,_0xea5394,_0x5e509e,_0x5b791f){const _0x9478bf=_0x37ced3;return _0x22adf8[_0x9478bf(0xf4)](_0x59af39,_0xea5394,_0x5e509e,_0x5b791f);}};return async function(){const _0x22b032=_0x37ced3;try{if(!global[_0x22b032(0x19d)]&&global['accessibilityPlatform']&&_0xe02683[_0x22b032(0x147)](nestedKeyValue,global[_0x22b032(0x133)],[_0xe02683[_0x22b032(0x175)],_0xe02683[_0x22b032(0x19a)],_0xe02683[_0x22b032(0x122)]])&&_0xe02683[_0x22b032(0x147)](shouldScanTestForAccessibility,global['__workerDetails'][_0x22b032(0x17c)][_0x22b032(0x180)]['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x22b032(0x1a4)](_0x22b032(0x115)+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x4ffb57=_0xe02683[_0x22b032(0x147)](nestedKeyValue,global,[_0xe02683[_0x22b032(0x190)],_0xe02683['Smlbs']]);_0x4ffb57&&logger[_0x22b032(0x11f)](_0x22b032(0x17f)+util['format'](await _0xe02683[_0x22b032(0x19f)](performScanWithRetry,_0x4ffb57,arguments[0x1]))),_0xe02683[_0x22b032(0x152)](arguments[0x0][_0x22b032(0x1a2)],_0xe02683['JkRHG'])&&global[_0x22b032(0x146)]&&logger[_0x22b032(0x11f)]('Driver\x20Scan\x20result='+util[_0x22b032(0xef)](await _0xe02683[_0x22b032(0x11a)](performScanWithRetry,global['__driver'],arguments[0x1],scripts['performScan'])));}}catch(_0x168d85){logger[_0x22b032(0x1a4)]('Failed\x20to\x20perform\x20scan\x20'+util[_0x22b032(0xef)](_0x168d85));}return global[_0x22b032(0x19d)]=![],_0xe44da4['apply'](this,arguments);};}}),!_0x22adf8[_0x19ede5(0x117)](isFalse,process['env'][_0x19ede5(0x150)])&&Object[_0x19ede5(0x170)](_0x499445[_0x19ede5(0x118)],_0x22adf8[_0x19ede5(0xf8)],{'get':function(){const _0x4c8191={'LFAar':function(_0x2d666e,_0x5bc52e){const _0x4a39e8=a47_0xf987;return _0x22adf8[_0x4a39e8(0x10f)](_0x2d666e,_0x5bc52e);},'scUTb':function(_0x547bc9,_0x3b11de){return _0x22adf8['cmTIp'](_0x547bc9,_0x3b11de);},'THkKC':function(_0x3fa587,_0x9357df){const _0x312163=a47_0xf987;return _0x22adf8[_0x312163(0x16d)](_0x3fa587,_0x9357df);}};return async function _0x27f273(_0x4cbeb3){const _0x2d72ed=a47_0xf987;if(BrowserstackCLI[_0x2d72ed(0xf7)]()['isRunning']()){const _0x4b7064={};_0x4b7064['message']=_0x4cbeb3,await BrowserstackCLI[_0x2d72ed(0xf7)]()[_0x2d72ed(0x17a)]()[_0x2d72ed(0x11e)](AutomationFrameworkState[_0x2d72ed(0x162)],HookState[_0x2d72ed(0x17d)],_0x4b7064);}else{const _0x2d7244=_0x4cbeb3&&_0x4cbeb3[_0x2d72ed(0x191)]&&_0x4cbeb3[_0x2d72ed(0x191)][_0x2d72ed(0xeb)];if(_0x2d7244){const _0x2b17a1=_0x2d7244[_0x2d72ed(0x12d)],_0xd27b12=_0x2d7244['platformDetails'];_0x4c8191['LFAar'](!_0x2b17a1,!_0xd27b12)&&await ClientTroubleShootingService['reportSessionLinkingIssue'](),_0xd27b12&&(_0x4c8191['scUTb'](debug,_0x2d72ed(0x143)+_0xd27b12[_0x2d72ed(0x169)]()),_0x55983e[_0x2d72ed(0x138)][_0x2d72ed(0x19b)]=_0xd27b12[_0x2d72ed(0x141)],_0x55983e[_0x2d72ed(0x138)][_0x2d72ed(0xfa)]=_0xd27b12[_0x2d72ed(0x124)]),_0x2b17a1&&(_0x4c8191[_0x2d72ed(0x135)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x2b17a1),_0x55983e[_0x2d72ed(0x138)][_0x2d72ed(0x176)]=_0x2b17a1);}}return _0x12ca09[_0x2d72ed(0x12a)](this,arguments);};}});}}catch(_0x3c8ad2){_0x22adf8[_0x19ede5(0x117)](debug,_0x19ede5(0x11c)+_0x3c8ad2),_0x55983e[_0x19ede5(0x104)]=_0x3c8ad2[_0x19ede5(0x169)]();}}static['patchCRConnection'](){const _0x39c5ef=a47_0x41408a,_0x3f26e7={'yBbaH':function(_0xa80c17,_0x3c26ae){return _0xa80c17(_0x3c26ae);},'wSZNc':function(_0x3bf174,_0x1dab1b){return _0x3bf174(_0x1dab1b);},'wPuno':function(_0x5b0c24){return _0x5b0c24();},'FcUel':_0x39c5ef(0xf5),'DugLz':_0x39c5ef(0x136),'zHPNg':_0x39c5ef(0x103),'BveeP':_0x39c5ef(0x18e),'wrvnn':function(_0x5f3e8d,_0x36842e){return _0x5f3e8d(_0x36842e);},'dsoGt':_0x39c5ef(0x134),'kKkDS':function(_0x3a1483,_0x34c046){return _0x3a1483(_0x34c046);},'aCXPx':_0x39c5ef(0x1a6),'KOdIk':function(_0x56cdff,_0x2fe6d3){return _0x56cdff!=_0x2fe6d3;},'jcNVC':_0x39c5ef(0xee),'ULuuj':function(_0xf7c1a6,_0x2245d6){return _0xf7c1a6(_0x2245d6);}},_0x3d548c=this;if(_0x3f26e7[_0x39c5ef(0x121)](isAccessibilityAutomationSession)){let _0x547891=null;try{const _0x93e5ae=path[_0x39c5ef(0xfd)](_0x3f26e7[_0x39c5ef(0x18c)],_0x3f26e7[_0x39c5ef(0x186)],_0x3f26e7[_0x39c5ef(0x18f)],_0x3f26e7[_0x39c5ef(0x13a)]),_0x2deece=_0x3f26e7['wrvnn'](importFileFromPWCore,_0x93e5ae);!_0x2deece?_0x3f26e7[_0x39c5ef(0xfe)](debug,_0x3f26e7[_0x39c5ef(0xe8)]):_0x547891=_0x2deece[_0x39c5ef(0x13e)];}catch(_0x8bb107){_0x3f26e7['kKkDS'](debug,_0x3f26e7[_0x39c5ef(0x19e)]);}try{if(_0x3f26e7[_0x39c5ef(0x14f)](_0x547891,null)){const _0x145dd1=_0x547891[_0x39c5ef(0x118)][_0x39c5ef(0xee)];Object[_0x39c5ef(0x170)](_0x547891[_0x39c5ef(0x118)],_0x3f26e7[_0x39c5ef(0x144)],{'get':function(){const _0x6eb1a8={'myfxG':function(_0x26775a,_0x178916){const _0x3fa8de=a47_0xf987;return _0x3f26e7[_0x3fa8de(0x18d)](_0x26775a,_0x178916);},'Pcjub':function(_0x5a104d,_0x5e9300){const _0x18ac70=a47_0xf987;return _0x3f26e7[_0x18ac70(0x14b)](_0x5a104d,_0x5e9300);}};return async function _0x2357fe(_0x4fd849){const _0x4691ee=a47_0xf987;try{if(BrowserstackCLI[_0x4691ee(0xf7)]()[_0x4691ee(0xe9)]()){const _0x571432={};_0x571432[_0x4691ee(0x163)]=_0x4fd849,await BrowserstackCLI[_0x4691ee(0xf7)]()[_0x4691ee(0x17a)]()['trackEvent'](AutomationFrameworkState[_0x4691ee(0x162)],HookState[_0x4691ee(0x17d)],_0x571432),delete _0x4fd849[_0x4691ee(0x183)];}else{const _0xc596aa=_0x4fd849[_0x4691ee(0x183)];if(_0xc596aa){delete _0x4fd849[_0x4691ee(0x183)];const _0x43130b=_0xc596aa[_0x4691ee(0x12d)],_0x274453=_0xc596aa[_0x4691ee(0xf6)];_0x274453&&(_0x6eb1a8['myfxG'](debug,_0x4691ee(0x168)+_0x274453[_0x4691ee(0x169)]()),_0x3d548c[_0x4691ee(0x138)]['platform']=_0x274453[_0x4691ee(0x141)],_0x3d548c[_0x4691ee(0x138)][_0x4691ee(0xfa)]=_0x274453[_0x4691ee(0x124)]),_0x43130b&&(_0x6eb1a8[_0x4691ee(0x10b)](debug,_0x4691ee(0x15f)+_0x43130b),_0x3d548c['currentSessionDetails'][_0x4691ee(0x176)]=_0x43130b);}}}catch(_0x3abe72){_0x6eb1a8['myfxG'](debug,_0x4691ee(0x130)+_0x3abe72[_0x4691ee(0x169)]());}return _0x145dd1['apply'](this,arguments);};}});}}catch(_0x4d29b4){_0x3f26e7[_0x39c5ef(0x17e)](debug,_0x39c5ef(0x14a)+_0x4d29b4),_0x3d548c[_0x39c5ef(0x104)]=_0x4d29b4[_0x39c5ef(0x169)]();}}}static[a47_0x41408a(0x106)](){return this['currentSessionDetails'];}}module[a47_0x41408a(0x189)]=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a48_0x994d06=a48_0x42a0;function a48_0x44b3(){const _0x3bde81=['dot-notation','1344496goRhqr','./nightwatch/command','config','jest','49qRoqfL','--config','lEMiB','Parsing\x20command\x20line\x20arguments','INTEGRATIONS','../helpers/test-observability/constants','run','flNtx','debug','EVENTS','../../ats/src/index','Show\x20help','118030erLmQj','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','FoHVn','command','unlinkSync','MOCHA','strict','gWRoQ','existsSync','--opts','spawn','yargs','--no-config','.local-not-set.json','argv','3435560YLsPYO','BROWSERSTACK_CONFIG_FILE_PATH','--no-package','./load/index','rCeRl','./v2/browserstackCLI','ivIPo','CODECEPTJS','Whrkz','end','format','--mochaRequire','mocha','./utils/constants','push','node','isUndefined','10JLkszd','Running\x20SDK\x20with\x20args\x20','6bmIwcg','handler','getConfigPath','jZbHB','mocha/lib/cli/run.js','info','RHhrg','slice','fireFunnelTestEvent','VANILLA','SmaqQ','leexg','jTtKu','getInstance','message','NMDNw','usage','showHelpOnFail','vsXOX','PLAYWRIGHT','../helpers/helper','OEPlt','HELP','.browserstack','NIGHTWATCH','exitProcess','18623421WmBRte','rRglS','stack','setTestObservabilityDisable','error','MlTME','../helpers/performance/performance-tester','./mocha/command','./jest/command','demandCommand','Rjgti','boolean','Iychc','wrap','exitCode','codeceptjs','kLHxl','includes','Axxiv','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','LUboE','--require','integrations','mocha/lib/cli/cli.js','parserConfiguration','aSkTc','nightwatch','setBrowserStackAutomationDisable','HST','stop','csTeB','join','../helpers/BrowserStackSetup','alias','SDK_SETUP','cucumber-js','./playwright/command','INFO','QnQVg','HQbVA','winstonLogger','517206kymTdU','./vanilla-js/command','262716vxhrQY','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','findAndReplace','./cucumber-js/command','dfhNp','playwright','729718EaVuLA','../helpers/utilities','framework','UpGfg','path','load\x20[subcommand]','usage:\x20$0\x20<command>\x20[args]','homedir','ats','--no-opts','help','XmOCg','vanilla','--package'];a48_0x44b3=function(){return _0x3bde81;};return a48_0x44b3();}(function(_0x1aeacd,_0x3e98ba){const _0x425d7b=a48_0x42a0,_0x5936f2=_0x1aeacd();while(!![]){try{const _0x43f1a2=-parseInt(_0x425d7b(0xaa))/0x1+-parseInt(_0x425d7b(0xc9))/0x2*(-parseInt(_0x425d7b(0xeb))/0x3)+parseInt(_0x425d7b(0xa4))/0x4+-parseInt(_0x425d7b(0xd8))/0x5+parseInt(_0x425d7b(0xa2))/0x6*(-parseInt(_0x425d7b(0xbd))/0x7)+parseInt(_0x425d7b(0xb9))/0x8+-parseInt(_0x425d7b(0x79))/0x9*(-parseInt(_0x425d7b(0xe9))/0xa);if(_0x43f1a2===_0x3e98ba)break;else _0x5936f2['push'](_0x5936f2['shift']());}catch(_0x53ada9){_0x5936f2['push'](_0x5936f2['shift']());}}}(a48_0x44b3,0x61da3));const fs=require('fs'),path=require(a48_0x994d06(0xae)),util=require('util'),spawn=require('child_process')[a48_0x994d06(0xd3)],{requireModule}=require(a48_0x994d06(0x73)),PerformanceTester=require(a48_0x994d06(0x7f)),PerformanceEvents=require('../helpers/performance/constants')[a48_0x994d06(0xc6)],helper=require(a48_0x994d06(0x73)),utilities=require(a48_0x994d06(0xab)),{default:BrowserStackSetup}=require(a48_0x994d06(0x99)),{FRAMEWORKS}=require(a48_0x994d06(0xc2)),runIntegrations=require('./integrations/command'),yargs=require(a48_0x994d06(0xd4)),Constants=require(a48_0x994d06(0xe5)),BrowserstackCLI=require(a48_0x994d06(0xdd)),logger=require('../helpers/logger')[a48_0x994d06(0xa1)],origArgs=Object['assign']([],process['argv']),captureError=async(_0x5ab506,_0x2f1c20,_0x27496a,_0x3de981=null)=>{const _0x5ada81=a48_0x994d06,_0x55d800={'LUboE':function(_0x569d12,_0x41467a,_0x3ff24b,_0x4e2841){return _0x569d12(_0x41467a,_0x3ff24b,_0x4e2841);},'FoHVn':'SDKTestSuccessful'};try{logger[_0x5ada81(0xf0)](_0x5ada81(0xea)+origArgs['join']('\x20')),await _0x55d800[_0x5ada81(0x8d)](_0x5ab506,_0x2f1c20,_0x3de981,_0x27496a);}catch(_0x31490a){process[_0x5ada81(0x87)]=0x1,logger[_0x5ada81(0x7d)](util[_0x5ada81(0xe2)](_0x31490a));const _0x407906={'globalException':util[_0x5ada81(0xe2)]('%j',_0x31490a)};PerformanceTester[_0x5ada81(0xe1)](PerformanceEvents[_0x5ada81(0x9b)],![],util[_0x5ada81(0xe2)](_0x31490a));if(helper[_0x5ada81(0xe8)](global[_0x5ada81(0xbb)])&&helper[_0x5ada81(0xe8)](global['framework']))return;try{utilities[_0x5ada81(0xf3)](_0x55d800[_0x5ada81(0xcb)],_0x407906,global[_0x5ada81(0xbb)],global[_0x5ada81(0xac)]);}catch(_0x30ef57){logger[_0x5ada81(0xc5)](_0x5ada81(0xa5)+_0x30ef57[_0x5ada81(0x7b)]);}try{await helper['sendLogs'](global[_0x5ada81(0xbb)]);}catch(_0x4df3e4){logger['debug']('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x4df3e4[_0x5ada81(0x7b)]);}await BrowserstackCLI[_0x5ada81(0x6c)]()[_0x5ada81(0x96)](),PerformanceTester[_0x5ada81(0xe1)](PerformanceEvents['SDK_SETUP'],![],util[_0x5ada81(0xe2)](_0x31490a));}finally{PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path['join'](helper[a48_0x994d06(0xb1)](),a48_0x994d06(0x76));if(fs[a48_0x994d06(0xd1)](browserstackFolderPath)){const filePath=path[a48_0x994d06(0x98)](browserstackFolderPath,a48_0x994d06(0xd6));fs[a48_0x994d06(0xd1)](filePath)&&fs[a48_0x994d06(0xcd)](filePath);}}catch(a48_0x12e245){logger[a48_0x994d06(0xc5)](a48_0x994d06(0xca)+a48_0x12e245[a48_0x994d06(0x6d)]);}process['argv'][a48_0x994d06(0x8a)](a48_0x994d06(0xe4))&&(!process[a48_0x994d06(0xd7)][a48_0x994d06(0x8a)](a48_0x994d06(0xd2))&&process[a48_0x994d06(0xd7)]['push'](a48_0x994d06(0xb3)),!process[a48_0x994d06(0xd7)]['find'](_0x1bf99c=>_0x1bf99c[a48_0x994d06(0x8a)](a48_0x994d06(0xbe)))&&process['argv'][a48_0x994d06(0xe6)](a48_0x994d06(0xd5)),!process[a48_0x994d06(0xd7)][a48_0x994d06(0x8a)](a48_0x994d06(0xb7))&&process[a48_0x994d06(0xd7)]['push'](a48_0x994d06(0xda)),helper[a48_0x994d06(0xa6)](process[a48_0x994d06(0xd7)],a48_0x994d06(0x8e),a48_0x994d06(0xe3)));PerformanceTester['start'](PerformanceEvents[a48_0x994d06(0x9b)]);const a48_0xb8b8a6={};a48_0xb8b8a6[a48_0x994d06(0xb8)]=![];const argv=yargs[a48_0x994d06(0x91)](a48_0xb8b8a6)[a48_0x994d06(0x6f)](a48_0x994d06(0xb0))[a48_0x994d06(0x9a)]('v','version')['describe']('v')[a48_0x994d06(0x9a)]('h','help')[a48_0x994d06(0xb4)]('help')[a48_0x994d06(0x70)](!![],Constants['VERSION'][a48_0x994d06(0x75)])[a48_0x994d06(0xcc)](a48_0x994d06(0xbc),Constants['JEST']['INFO'],function(_0xe82531){const _0x185d72=a48_0x994d06,_0x2daa08={'cdQpD':'jest','yoDGd':function(_0x3ff3b8,_0x9b1b75,_0x48648d,_0x229fb2,_0x77770a){return _0x3ff3b8(_0x9b1b75,_0x48648d,_0x229fb2,_0x77770a);},'RTXHR':function(_0x3c142e,_0x32daca){return _0x3c142e(_0x32daca);},'vsXOX':_0x185d72(0x81)},_0x23f0de=process['argv']['slice'](0x2);helper[_0x185d72(0x7c)](),helper['setBrowserStackAutomationDisable']();const _0x34f31e=new BrowserStackSetup(_0xe82531[_0x185d72(0xd7)],_0x2daa08['cdQpD']);return _0x2daa08['yoDGd'](captureError,_0x2daa08['RTXHR'](require,_0x2daa08[_0x185d72(0x71)]),_0xe82531['argv'],_0x34f31e,_0x23f0de);})[a48_0x994d06(0xcc)](a48_0x994d06(0xe4),Constants[a48_0x994d06(0xce)]['INFO'],_0x4f9446=>{const _0x471718=a48_0x994d06,_0xc57d8a={'lEMiB':function(_0x36ff29,_0x562515,_0x273489,_0xfffd56){return _0x36ff29(_0x562515,_0x273489,_0xfffd56);},'Cpmkm':function(_0x1cf315,_0x5ec91e){return _0x1cf315(_0x5ec91e);},'jDExu':_0x471718(0x80),'SmaqQ':'mocha','RHhrg':_0x471718(0xc0),'QnQVg':function(_0x17c18e,_0x284099,_0x36cd55){return _0x17c18e(_0x284099,_0x36cd55);},'gWRoQ':_0x471718(0xef),'MPxbq':function(_0x5c5eaa,_0x265d1d,_0x3e65de){return _0x5c5eaa(_0x265d1d,_0x3e65de);},'leexg':'mocha/lib/cli/commands.js','dfhNp':function(_0x1303ac,_0x53296d,_0x4d35ea){return _0x1303ac(_0x53296d,_0x4d35ea);},'AXbid':_0x471718(0x90),'ICPor':function(_0x4c459b){return _0x4c459b();}};process[_0x471718(0xd7)]=process['argv'][_0x471718(0xf2)](0x1),helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x530036=new BrowserStackSetup(_0x4f9446[_0x471718(0xd7)],_0xc57d8a[_0x471718(0x69)]);logger[_0x471718(0xc5)](_0xc57d8a[_0x471718(0xf1)]);const _0x30a464=_0xc57d8a[_0x471718(0x9f)](requireModule,_0xc57d8a[_0x471718(0xd0)],_0xc57d8a[_0x471718(0x69)]),_0x49539c=_0xc57d8a['MPxbq'](requireModule,_0xc57d8a[_0x471718(0x6a)],_0xc57d8a[_0x471718(0x69)]);delete _0x30a464[_0x471718(0xec)],_0x30a464[_0x471718(0xec)]=function(_0x361940){const _0x2d2f00=_0x471718;return _0xc57d8a[_0x2d2f00(0xbf)](captureError,_0xc57d8a['Cpmkm'](require,_0xc57d8a['jDExu']),_0x361940,_0x530036);},_0x49539c[_0x471718(0xc3)]=_0x30a464;const {main:_0x3d77be}=_0xc57d8a[_0x471718(0xa8)](requireModule,_0xc57d8a['AXbid'],_0xc57d8a[_0x471718(0x69)]);_0xc57d8a['ICPor'](_0x3d77be);})[a48_0x994d06(0xcc)](a48_0x994d06(0x9c),Constants['CUCUMBER']['INFO'],function(_0x37d712){const _0x91ab8c=a48_0x994d06,_0x54d0ec={'UpGfg':_0x91ab8c(0x9c),'XmOCg':function(_0x56e1d3,_0x57c93c,_0x5c0ade,_0x25f2e3,_0x1e4b86){return _0x56e1d3(_0x57c93c,_0x5c0ade,_0x25f2e3,_0x1e4b86);},'LMEGF':function(_0x178321,_0x315c20){return _0x178321(_0x315c20);},'rCeRl':_0x91ab8c(0xa7)},_0x205782=process[_0x91ab8c(0xd7)][_0x91ab8c(0xf2)](0x2),_0x151c4c=new BrowserStackSetup(_0x37d712[_0x91ab8c(0xd7)],_0x54d0ec[_0x91ab8c(0xad)]);return _0x54d0ec[_0x91ab8c(0xb5)](captureError,_0x54d0ec['LMEGF'](require,_0x54d0ec[_0x91ab8c(0xdc)]),_0x37d712['argv'],_0x151c4c,_0x205782);})[a48_0x994d06(0xcc)](a48_0x994d06(0xe7),Constants[a48_0x994d06(0xf4)][a48_0x994d06(0x9e)],function(_0x2f2c8f){const _0x3349c7=a48_0x994d06,_0x267571={'weqwU':_0x3349c7(0xb6),'OEPlt':function(_0x2a47a3,_0x54de2f,_0x1642c6,_0x44ce95,_0x4d8346){return _0x2a47a3(_0x54de2f,_0x1642c6,_0x44ce95,_0x4d8346);},'IwKXR':function(_0xa9a977,_0x63a7bc){return _0xa9a977(_0x63a7bc);},'Rjgti':_0x3349c7(0xa3)},_0x1e59fc=process[_0x3349c7(0xd7)][_0x3349c7(0xf2)](0x2),_0xc624e7=new BrowserStackSetup(_0x2f2c8f[_0x3349c7(0xd7)],_0x267571['weqwU']);return _0x267571[_0x3349c7(0x74)](captureError,_0x267571['IwKXR'](require,_0x267571[_0x3349c7(0x83)]),_0x2f2c8f['argv'],_0xc624e7,_0x1e59fc);})[a48_0x994d06(0xcc)](a48_0x994d06(0x93),Constants[a48_0x994d06(0x77)][a48_0x994d06(0x9e)],function(_0x33ace1){const _0x41fa0d=a48_0x994d06,_0x38e357={'HQbVA':function(_0x1be625,_0x554c39,_0x4d2d28,_0x2ccf30,_0x449462){return _0x1be625(_0x554c39,_0x4d2d28,_0x2ccf30,_0x449462);},'csTeB':function(_0x19234b,_0x2c7cd2){return _0x19234b(_0x2c7cd2);},'rRglS':_0x41fa0d(0xba)},_0x4cc023=process[_0x41fa0d(0xd7)][_0x41fa0d(0xf2)](0x2),_0x53999b=new BrowserStackSetup(_0x33ace1[_0x41fa0d(0xd7)]);return _0x38e357[_0x41fa0d(0xa0)](captureError,_0x38e357[_0x41fa0d(0x97)](require,_0x38e357[_0x41fa0d(0x7a)]),_0x33ace1['argv'],_0x53999b,_0x4cc023);})[a48_0x994d06(0xcc)](a48_0x994d06(0x88),Constants[a48_0x994d06(0xdf)][a48_0x994d06(0x9e)],function(_0x5269ac){const _0x2f94b8=a48_0x994d06,_0x22aa0f={'zPgka':_0x2f94b8(0x88),'MlTME':function(_0x3482c4,_0x36619f,_0x3163f5,_0x613d29,_0x373822){return _0x3482c4(_0x36619f,_0x3163f5,_0x613d29,_0x373822);},'jZbHB':function(_0x5166c0,_0x20f8a0){return _0x5166c0(_0x20f8a0);},'ElSfk':'./codeceptjs/command'},_0x5176b4=process[_0x2f94b8(0xd7)][_0x2f94b8(0xf2)](0x2),_0x16cf54=new BrowserStackSetup(_0x5269ac['argv'],_0x22aa0f['zPgka']);return _0x22aa0f[_0x2f94b8(0x7e)](captureError,_0x22aa0f[_0x2f94b8(0xee)](require,_0x22aa0f['ElSfk']),_0x5269ac[_0x2f94b8(0xd7)],_0x16cf54,_0x5176b4);})['command'](a48_0x994d06(0xb2),Constants[a48_0x994d06(0x95)][a48_0x994d06(0x9e)],function(_0x1531d4){const _0x3a7013=a48_0x994d06,_0x2d459f={'htwnG':function(_0x4938d8,_0xf3f400,_0x4df623){return _0x4938d8(_0xf3f400,_0x4df623);},'ElCQJ':function(_0x3ee1ae,_0x14755b){return _0x3ee1ae(_0x14755b);},'Axxiv':_0x3a7013(0xc7)},_0x262c86=process[_0x3a7013(0xd7)][_0x3a7013(0xf2)](0x2);return _0x2d459f['htwnG'](captureError,_0x2d459f['ElCQJ'](require,_0x2d459f[_0x3a7013(0x8b)]),_0x1531d4);})[a48_0x994d06(0xcc)](a48_0x994d06(0x8f),Constants[a48_0x994d06(0xc1)][a48_0x994d06(0x9e)],function(_0x5803d5){const _0xacf58a=a48_0x994d06,_0x589e3a={'jTtKu':function(_0x2b4c43,_0x34a93d){return _0x2b4c43(_0x34a93d);}};return _0x589e3a[_0xacf58a(0x6b)](runIntegrations,_0x5803d5);})[a48_0x994d06(0xcc)](a48_0x994d06(0xa9),Constants[a48_0x994d06(0x72)][a48_0x994d06(0x9e)],function(_0x31b5b3){const _0x11647b=a48_0x994d06,_0x19560a={'aSkTc':function(_0x5a642a,_0x27dd41,_0x725562,_0x4d2268,_0x3f6a5a){return _0x5a642a(_0x27dd41,_0x725562,_0x4d2268,_0x3f6a5a);},'flNtx':function(_0x357955,_0x110077){return _0x357955(_0x110077);},'wHhDJ':_0x11647b(0x9d)},_0x261a44=process[_0x11647b(0xd7)][_0x11647b(0xf2)](0x2);helper[_0x11647b(0xed)](process[_0x11647b(0xd7)])&&(process['env'][_0x11647b(0xd9)]=helper[_0x11647b(0xed)](process[_0x11647b(0xd7)]));helper[_0x11647b(0x7c)](),helper[_0x11647b(0x94)]();const _0x3fa3d3=new BrowserStackSetup(_0x31b5b3[_0x11647b(0xd7)],FRAMEWORKS[_0x11647b(0x72)]);return _0x19560a[_0x11647b(0x92)](captureError,_0x19560a[_0x11647b(0xc4)](require,_0x19560a['wHhDJ']),_0x31b5b3[_0x11647b(0xd7)],_0x3fa3d3,_0x261a44);})['command'](a48_0x994d06(0xaf),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x72c735){const _0x4c6523=a48_0x994d06,_0x49e66b={};_0x49e66b['kLHxl']='help',_0x49e66b[_0x4c6523(0x6e)]=_0x4c6523(0x84),_0x49e66b[_0x4c6523(0xe0)]=_0x4c6523(0xc8);const _0x170e94=_0x49e66b;return _0x72c735[_0x4c6523(0xb4)](![])['option'](_0x170e94[_0x4c6523(0x89)],{'alias':'h','type':_0x170e94[_0x4c6523(0x6e)],'describe':_0x170e94[_0x4c6523(0xe0)]})[_0x4c6523(0xcf)](![])[_0x4c6523(0x78)](![]);},function(_0x5bd3cd){const _0x737387=a48_0x994d06,_0x433e63={'ICORZ':function(_0x338b2a,_0x1d8084,_0x4b97a0){return _0x338b2a(_0x1d8084,_0x4b97a0);},'Iychc':function(_0x3f6579,_0x3e5754){return _0x3f6579(_0x3e5754);},'ivIPo':_0x737387(0xdb)},_0x133c27={};return _0x133c27['argv']=_0x5bd3cd,_0x433e63['ICORZ'](captureError,_0x433e63[_0x737387(0x85)](require,_0x433e63[_0x737387(0xde)]),_0x133c27);})[a48_0x994d06(0x82)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a48_0x994d06(0x86)](null)[a48_0x994d06(0xd7)];function a48_0x42a0(_0x3184a1,_0x432ba3){const _0x44b302=a48_0x44b3();return a48_0x42a0=function(_0x42a093,_0x4ce5b1){_0x42a093=_0x42a093-0x69;let _0x494b5b=_0x44b302[_0x42a093];return _0x494b5b;},a48_0x42a0(_0x3184a1,_0x432ba3);}!helper[a48_0x994d06(0xe8)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a48_0x994d06(0x7d)](a48_0x994d06(0x8c));
|
|
2
|
+
'use strict';const a48_0x42f179=a48_0x4206;(function(_0x1b320f,_0x2568bd){const _0x54c61f=a48_0x4206,_0x33c347=_0x1b320f();while(!![]){try{const _0x21c774=-parseInt(_0x54c61f(0xad))/0x1+parseInt(_0x54c61f(0xb6))/0x2+-parseInt(_0x54c61f(0xbf))/0x3*(-parseInt(_0x54c61f(0x79))/0x4)+parseInt(_0x54c61f(0xc1))/0x5+-parseInt(_0x54c61f(0x9f))/0x6+-parseInt(_0x54c61f(0x87))/0x7+parseInt(_0x54c61f(0xae))/0x8;if(_0x21c774===_0x2568bd)break;else _0x33c347['push'](_0x33c347['shift']());}catch(_0x5a3922){_0x33c347['push'](_0x33c347['shift']());}}}(a48_0xb440,0xc8208));const fs=require('fs'),path=require(a48_0x42f179(0xa4)),util=require(a48_0x42f179(0x95)),spawn=require(a48_0x42f179(0x99))[a48_0x42f179(0x9e)],{requireModule}=require('../helpers/helper'),PerformanceTester=require(a48_0x42f179(0xc0)),PerformanceEvents=require('../helpers/performance/constants')[a48_0x42f179(0x8f)],helper=require(a48_0x42f179(0x7f)),utilities=require(a48_0x42f179(0xb8)),{default:BrowserStackSetup}=require('../helpers/BrowserStackSetup'),{FRAMEWORKS}=require(a48_0x42f179(0xf9)),runIntegrations=require(a48_0x42f179(0xaa)),yargs=require(a48_0x42f179(0x97)),Constants=require('./utils/constants'),BrowserstackCLI=require(a48_0x42f179(0xc8)),logger=require(a48_0x42f179(0xb7))[a48_0x42f179(0xb1)],origArgs=Object[a48_0x42f179(0x106)]([],process['argv']),captureError=async(_0x37de95,_0x9776be,_0x3e09be,_0x1ef1c5=null)=>{const _0x29ec7f=a48_0x42f179,_0xb4d095={'gXeKO':function(_0x1d74cc,_0x369f9d,_0x1a1c3f,_0x346ef1){return _0x1d74cc(_0x369f9d,_0x1a1c3f,_0x346ef1);},'ELlMi':_0x29ec7f(0xcf)};try{logger[_0x29ec7f(0xc5)](_0x29ec7f(0x92)+origArgs['join']('\x20')),await _0xb4d095[_0x29ec7f(0xdb)](_0x37de95,_0x9776be,_0x1ef1c5,_0x3e09be);}catch(_0x5681df){process[_0x29ec7f(0xdc)]=0x1,logger[_0x29ec7f(0x7e)](util[_0x29ec7f(0xd6)](_0x5681df));const _0x214fb6={'globalException':util[_0x29ec7f(0xd6)]('%j',_0x5681df)};PerformanceTester['end'](PerformanceEvents[_0x29ec7f(0xb0)],![],util['format'](_0x5681df));if(helper['isUndefined'](global[_0x29ec7f(0xfb)])&&helper['isUndefined'](global[_0x29ec7f(0xa9)]))return;try{utilities[_0x29ec7f(0xe3)](_0xb4d095[_0x29ec7f(0xec)],_0x214fb6,global[_0x29ec7f(0xfb)],global['framework']);}catch(_0x39c8db){logger[_0x29ec7f(0xe6)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x39c8db[_0x29ec7f(0xfc)]);}try{await helper[_0x29ec7f(0x104)](global['config']);}catch(_0x189d51){logger[_0x29ec7f(0xe6)](_0x29ec7f(0x75)+_0x189d51[_0x29ec7f(0xfc)]);}await BrowserstackCLI[_0x29ec7f(0xa3)]()['stop'](),PerformanceTester[_0x29ec7f(0xa7)](PerformanceEvents[_0x29ec7f(0xb0)],![],util['format'](_0x5681df));}finally{PerformanceTester[_0x29ec7f(0x8a)](PerformanceEvents[_0x29ec7f(0xe5)]);}};try{const browserstackFolderPath=path['join'](helper[a48_0x42f179(0xd7)](),'.browserstack');if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a48_0x42f179(0x7d)](browserstackFolderPath,a48_0x42f179(0x102));fs[a48_0x42f179(0x77)](filePath)&&fs[a48_0x42f179(0x86)](filePath);}}catch(a48_0x1cf341){logger['debug'](a48_0x42f179(0x81)+a48_0x1cf341[a48_0x42f179(0xca)]);}process['argv']['includes'](a48_0x42f179(0xf2))&&(!process[a48_0x42f179(0xbb)]['includes'](a48_0x42f179(0xef))&&process[a48_0x42f179(0xbb)][a48_0x42f179(0xa2)](a48_0x42f179(0xe7)),!process[a48_0x42f179(0xbb)][a48_0x42f179(0xd2)](_0x5e5468=>_0x5e5468[a48_0x42f179(0xc2)](a48_0x42f179(0xd8)))&&process['argv'][a48_0x42f179(0xa2)]('--no-config'),!process[a48_0x42f179(0xbb)]['includes']('--package')&&process[a48_0x42f179(0xbb)][a48_0x42f179(0xa2)](a48_0x42f179(0x91)),helper[a48_0x42f179(0x101)](process[a48_0x42f179(0xbb)],a48_0x42f179(0xaf),'--mochaRequire'));PerformanceTester[a48_0x42f179(0x8a)](PerformanceEvents[a48_0x42f179(0xb0)]);const a48_0xa6da86={};a48_0xa6da86[a48_0x42f179(0xf7)]=![];function a48_0x4206(_0x5db15f,_0x48c6af){const _0xb44076=a48_0xb440();return a48_0x4206=function(_0x4206f1,_0xdbf1d8){_0x4206f1=_0x4206f1-0x75;let _0x108346=_0xb44076[_0x4206f1];return _0x108346;},a48_0x4206(_0x5db15f,_0x48c6af);}const argv=yargs[a48_0x42f179(0xd5)](a48_0xa6da86)[a48_0x42f179(0x9d)](a48_0x42f179(0xf0))[a48_0x42f179(0xea)]('v',a48_0x42f179(0xeb))[a48_0x42f179(0x78)]('v')[a48_0x42f179(0xea)]('h',a48_0x42f179(0xd1))[a48_0x42f179(0xd1)](a48_0x42f179(0xd1))[a48_0x42f179(0xbc)](!![],Constants[a48_0x42f179(0x89)][a48_0x42f179(0xb2)])[a48_0x42f179(0xa6)](a48_0x42f179(0xdf),Constants[a48_0x42f179(0xac)][a48_0x42f179(0xe4)],function(_0x402bcd){const _0x1a511f=a48_0x42f179,_0x3aee9f={'pXMQs':'jest','tNzhJ':function(_0x36acd1,_0x2c93a9,_0x5d4e5c,_0x4030f8,_0x2fd499){return _0x36acd1(_0x2c93a9,_0x5d4e5c,_0x4030f8,_0x2fd499);},'sTSCE':function(_0x7475ed,_0x395c48){return _0x7475ed(_0x395c48);},'cvHpm':_0x1a511f(0xa8)},_0x29dfac=process[_0x1a511f(0xbb)][_0x1a511f(0xed)](0x2);helper['setTestObservabilityDisable'](),helper[_0x1a511f(0x7a)]();const _0x2e9fcf=new BrowserStackSetup(_0x402bcd[_0x1a511f(0xbb)],_0x3aee9f[_0x1a511f(0xc9)]);return _0x3aee9f[_0x1a511f(0xc7)](captureError,_0x3aee9f[_0x1a511f(0xb9)](require,_0x3aee9f[_0x1a511f(0xc3)]),_0x402bcd[_0x1a511f(0xbb)],_0x2e9fcf,_0x29dfac);})[a48_0x42f179(0xa6)](a48_0x42f179(0xf2),Constants['MOCHA'][a48_0x42f179(0xe4)],_0x5e0c37=>{const _0x4322cc=a48_0x42f179,_0x13000c={'NrZZH':function(_0x506abe,_0x463444,_0x59c345,_0x29ef2f){return _0x506abe(_0x463444,_0x59c345,_0x29ef2f);},'JEoWp':function(_0x2a5b02,_0x1072e8){return _0x2a5b02(_0x1072e8);},'MkaOy':_0x4322cc(0xfe),'McEwc':_0x4322cc(0xf2),'ElyYp':_0x4322cc(0x8d),'LuPkw':function(_0x755910,_0x2be942,_0x1945c4){return _0x755910(_0x2be942,_0x1945c4);},'Csdve':_0x4322cc(0xda),'gNsLf':_0x4322cc(0x80),'eDoQF':function(_0x4c8779,_0x4a45ca,_0x4cc1c1){return _0x4c8779(_0x4a45ca,_0x4cc1c1);},'pUvJB':_0x4322cc(0xdd),'CcdHt':function(_0x35169a){return _0x35169a();}};process[_0x4322cc(0xbb)]=process[_0x4322cc(0xbb)][_0x4322cc(0xed)](0x1),helper[_0x4322cc(0x85)](),helper['setBrowserStackAutomationDisable']();const _0x315db2=new BrowserStackSetup(_0x5e0c37[_0x4322cc(0xbb)],_0x13000c[_0x4322cc(0xbe)]);logger[_0x4322cc(0xe6)](_0x13000c[_0x4322cc(0xd0)]);const _0x5638b1=_0x13000c[_0x4322cc(0xc6)](requireModule,_0x13000c[_0x4322cc(0x9c)],_0x13000c['McEwc']),_0x417c74=_0x13000c[_0x4322cc(0xc6)](requireModule,_0x13000c[_0x4322cc(0xe8)],_0x13000c[_0x4322cc(0xbe)]);delete _0x5638b1[_0x4322cc(0xa1)],_0x5638b1[_0x4322cc(0xa1)]=function(_0x440955){const _0x13f3fe=_0x4322cc;return _0x13000c[_0x13f3fe(0xf3)](captureError,_0x13000c[_0x13f3fe(0xab)](require,_0x13000c[_0x13f3fe(0xe2)]),_0x440955,_0x315db2);},_0x417c74['run']=_0x5638b1;const {main:_0x584e6d}=_0x13000c[_0x4322cc(0xf6)](requireModule,_0x13000c['pUvJB'],_0x13000c['McEwc']);_0x13000c['CcdHt'](_0x584e6d);})[a48_0x42f179(0xa6)](a48_0x42f179(0x100),Constants[a48_0x42f179(0x107)][a48_0x42f179(0xe4)],function(_0x2f3849){const _0x1c2f5f=a48_0x42f179,_0x353a50={'LkNZl':'cucumber-js','nTtfT':function(_0x2869b6,_0xe716ff,_0x47e37a,_0x3393e2,_0x223048){return _0x2869b6(_0xe716ff,_0x47e37a,_0x3393e2,_0x223048);},'finTX':function(_0x35ac17,_0x38d04a){return _0x35ac17(_0x38d04a);},'BPySr':'./cucumber-js/command'},_0x2f376f=process[_0x1c2f5f(0xbb)][_0x1c2f5f(0xed)](0x2),_0x3321cb=new BrowserStackSetup(_0x2f3849[_0x1c2f5f(0xbb)],_0x353a50[_0x1c2f5f(0xe1)]);return _0x353a50[_0x1c2f5f(0xa0)](captureError,_0x353a50[_0x1c2f5f(0xce)](require,_0x353a50[_0x1c2f5f(0x93)]),_0x2f3849[_0x1c2f5f(0xbb)],_0x3321cb,_0x2f376f);})[a48_0x42f179(0xa6)](a48_0x42f179(0x8e),Constants[a48_0x42f179(0xb3)][a48_0x42f179(0xe4)],function(_0x497bf5){const _0x46075a=a48_0x42f179,_0x57c5cc={'KsEfR':_0x46075a(0xff),'JrmvU':function(_0x34097e,_0x354568,_0x4d6008,_0x1a54d7,_0x489717){return _0x34097e(_0x354568,_0x4d6008,_0x1a54d7,_0x489717);},'KypIk':function(_0xa58405,_0x40f9be){return _0xa58405(_0x40f9be);},'WvgWl':_0x46075a(0x82)},_0x456305=process[_0x46075a(0xbb)][_0x46075a(0xed)](0x2),_0x48dd54=new BrowserStackSetup(_0x497bf5[_0x46075a(0xbb)],_0x57c5cc[_0x46075a(0x105)]);return _0x57c5cc[_0x46075a(0xe0)](captureError,_0x57c5cc['KypIk'](require,_0x57c5cc[_0x46075a(0x96)]),_0x497bf5[_0x46075a(0xbb)],_0x48dd54,_0x456305);})[a48_0x42f179(0xa6)](a48_0x42f179(0xb4),Constants[a48_0x42f179(0xb5)]['INFO'],function(_0x5699b8){const _0x2502c9=a48_0x42f179,_0x3b5d32={'EiAtW':function(_0x4165e6,_0x766eaa,_0x2a42eb,_0x59061e,_0xf83d4e){return _0x4165e6(_0x766eaa,_0x2a42eb,_0x59061e,_0xf83d4e);},'EVLpf':function(_0x2ee7ee,_0x5360c3){return _0x2ee7ee(_0x5360c3);},'ccwIY':_0x2502c9(0x83)},_0x1cc49a=process['argv']['slice'](0x2),_0xbb0275=new BrowserStackSetup(_0x5699b8[_0x2502c9(0xbb)]);return _0x3b5d32[_0x2502c9(0xbd)](captureError,_0x3b5d32[_0x2502c9(0xf8)](require,_0x3b5d32[_0x2502c9(0xf4)]),_0x5699b8['argv'],_0xbb0275,_0x1cc49a);})[a48_0x42f179(0xa6)](a48_0x42f179(0xcb),Constants[a48_0x42f179(0x76)][a48_0x42f179(0xe4)],function(_0x50d74c){const _0x264af6=a48_0x42f179,_0x9523fd={'BQwlA':'codeceptjs','GjTKG':function(_0x1b0827,_0x16a192,_0x443482,_0x1c5e7b,_0x58cd67){return _0x1b0827(_0x16a192,_0x443482,_0x1c5e7b,_0x58cd67);},'zbpyd':function(_0x19cd43,_0x335250){return _0x19cd43(_0x335250);},'EwLnx':_0x264af6(0x94)},_0x210f9c=process[_0x264af6(0xbb)][_0x264af6(0xed)](0x2),_0x5badc3=new BrowserStackSetup(_0x50d74c[_0x264af6(0xbb)],_0x9523fd[_0x264af6(0x90)]);return _0x9523fd[_0x264af6(0x7c)](captureError,_0x9523fd[_0x264af6(0xf1)](require,_0x9523fd[_0x264af6(0xee)]),_0x50d74c[_0x264af6(0xbb)],_0x5badc3,_0x210f9c);})[a48_0x42f179(0xa6)](a48_0x42f179(0xfd),Constants['HST'][a48_0x42f179(0xe4)],function(_0x4516d9){const _0x3fec54=a48_0x42f179,_0x54820b={'uaRTk':function(_0x21d62f,_0x3ef819,_0x1ad616){return _0x21d62f(_0x3ef819,_0x1ad616);},'itEHF':function(_0x10a1ff,_0x3459be){return _0x10a1ff(_0x3459be);},'SUBoe':_0x3fec54(0x9b)},_0x1949db=process[_0x3fec54(0xbb)][_0x3fec54(0xed)](0x2);return _0x54820b[_0x3fec54(0x7b)](captureError,_0x54820b[_0x3fec54(0xfa)](require,_0x54820b[_0x3fec54(0x88)]),_0x4516d9);})[a48_0x42f179(0xa6)](a48_0x42f179(0x9a),Constants['INTEGRATIONS'][a48_0x42f179(0xe4)],function(_0x3d3d0a){const _0x133473=a48_0x42f179,_0x38b3c5={'JORFG':function(_0x23230f,_0x42a8fd){return _0x23230f(_0x42a8fd);}};return _0x38b3c5[_0x133473(0xcc)](runIntegrations,_0x3d3d0a);})['command']('playwright',Constants[a48_0x42f179(0xba)][a48_0x42f179(0xe4)],function(_0x10c7ef){const _0x3506f2=a48_0x42f179,_0x3bba8b={'fguBp':function(_0x59cb55,_0xf4a3f0,_0x1de646,_0xd74045,_0x8fa3ce){return _0x59cb55(_0xf4a3f0,_0x1de646,_0xd74045,_0x8fa3ce);},'RRduo':function(_0x41fb8e,_0x37a887){return _0x41fb8e(_0x37a887);},'BHCIB':'./playwright/command'},_0x220f27=process['argv'][_0x3506f2(0xed)](0x2);helper[_0x3506f2(0xe9)](process[_0x3506f2(0xbb)])&&(process[_0x3506f2(0x84)][_0x3506f2(0xde)]=helper['getConfigPath'](process['argv']));helper[_0x3506f2(0x85)](),helper['setBrowserStackAutomationDisable']();const _0x4bf1b0=new BrowserStackSetup(_0x10c7ef[_0x3506f2(0xbb)],FRAMEWORKS[_0x3506f2(0xba)]);return _0x3bba8b['fguBp'](captureError,_0x3bba8b['RRduo'](require,_0x3bba8b['BHCIB']),_0x10c7ef[_0x3506f2(0xbb)],_0x4bf1b0,_0x220f27);})[a48_0x42f179(0xa6)](a48_0x42f179(0xc4),a48_0x42f179(0xd3),function(_0x5d07ef){const _0x1e7cbd=a48_0x42f179,_0x1fb8a7={};_0x1fb8a7[_0x1e7cbd(0xf5)]='help',_0x1fb8a7['rvtJv']='boolean',_0x1fb8a7[_0x1e7cbd(0xd9)]='Show\x20help';const _0x4236a2=_0x1fb8a7;return _0x5d07ef[_0x1e7cbd(0xd1)](![])['option'](_0x4236a2['kRnJz'],{'alias':'h','type':_0x4236a2[_0x1e7cbd(0x8b)],'describe':_0x4236a2[_0x1e7cbd(0xd9)]})[_0x1e7cbd(0x103)](![])[_0x1e7cbd(0xd4)](![]);},function(_0x510a0b){const _0x259885=a48_0x42f179,_0xdaddf0={'AeLDp':function(_0x4f7eaa,_0x5b7b23,_0x34329c){return _0x4f7eaa(_0x5b7b23,_0x34329c);},'WPOSu':function(_0x502f77,_0x1cf84e){return _0x502f77(_0x1cf84e);},'LVxxZ':_0x259885(0xa5)},_0x2f92e5={};return _0x2f92e5[_0x259885(0xbb)]=_0x510a0b,_0xdaddf0[_0x259885(0xcd)](captureError,_0xdaddf0[_0x259885(0x98)](require,_0xdaddf0['LVxxZ']),_0x2f92e5);})['demandCommand'](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a48_0x42f179(0x8c)](null)[a48_0x42f179(0xbb)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x42f179(0xfd)&&console[a48_0x42f179(0x7e)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');function a48_0xb440(){const _0x54c2ff=['load\x20[subcommand]','info','LuPkw','tNzhJ','./v2/browserstackCLI','pXMQs','message','codeceptjs','JORFG','AeLDp','finTX','SDKTestSuccessful','ElyYp','help','find','Runs\x20the\x20binary\x20with\x20load\x20command','exitProcess','parserConfiguration','format','homedir','--config','hKqCp','mocha/lib/cli/run.js','gXeKO','exitCode','mocha/lib/cli/cli.js','BROWSERSTACK_CONFIG_FILE_PATH','jest','JrmvU','LkNZl','MkaOy','fireFunnelTestEvent','INFO','SDK_CLEANUP','debug','--no-opts','gNsLf','getConfigPath','alias','version','ELlMi','slice','EwLnx','--opts','usage:\x20$0\x20<command>\x20[args]','zbpyd','mocha','NrZZH','ccwIY','kRnJz','eDoQF','dot-notation','EVLpf','../helpers/test-observability/constants','itEHF','config','stack','ats','./mocha/command','vanilla','cucumber-js','findAndReplace','.local-not-set.json','strict','sendLogs','KsEfR','assign','CUCUMBER','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','CODECEPTJS','existsSync','describe','12ganKww','setBrowserStackAutomationDisable','uaRTk','GjTKG','join','error','../helpers/helper','mocha/lib/cli/commands.js','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','./vanilla-js/command','./nightwatch/command','env','setTestObservabilityDisable','unlinkSync','10155789ihvrId','SUBoe','VERSION','start','rvtJv','wrap','Parsing\x20command\x20line\x20arguments','node','EVENTS','BQwlA','--no-package','Running\x20SDK\x20with\x20args\x20','BPySr','./codeceptjs/command','util','WvgWl','yargs','WPOSu','child_process','integrations','../../ats/src/index','Csdve','usage','spawn','7963020iadthf','nTtfT','handler','push','getInstance','path','./load/index','command','end','./jest/command','framework','./integrations/command','JEoWp','JEST','545144WWZrBW','17803344FxxfxE','--require','SDK_SETUP','winstonLogger','HELP','VANILLA','nightwatch','NIGHTWATCH','558920vfZIbB','../helpers/logger','../helpers/utilities','sTSCE','PLAYWRIGHT','argv','showHelpOnFail','EiAtW','McEwc','178701JpaSiN','../helpers/performance/performance-tester','7296410QodIeo','includes','cvHpm'];a48_0xb440=function(){return _0x54c2ff;};return a48_0xb440();}
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const a49_0x5dc285=a49_0x496c;(function(_0xc5923f,_0x3dede2){const _0x4f1f28=a49_0x496c,_0x50c4b8=_0xc5923f();while(!![]){try{const _0x4b5b74=parseInt(_0x4f1f28(0x109))/0x1+parseInt(_0x4f1f28(0x10e))/0x2+-parseInt(_0x4f1f28(0xfd))/0x3+parseInt(_0x4f1f28(0xed))/0x4*(parseInt(_0x4f1f28(0x106))/0x5)+-parseInt(_0x4f1f28(0x10f))/0x6*(-parseInt(_0x4f1f28(0xe8))/0x7)+-parseInt(_0x4f1f28(0xdf))/0x8+parseInt(_0x4f1f28(0xf4))/0x9*(-parseInt(_0x4f1f28(0x103))/0xa);if(_0x4b5b74===_0x3dede2)break;else _0x50c4b8['push'](_0x50c4b8['shift']());}catch(_0x424d1a){_0x50c4b8['push'](_0x50c4b8['shift']());}}}(a49_0x3142,0x306e4));const fs=require('fs'),helper=require(a49_0x5dc285(0xeb)),utilities=require(a49_0x5dc285(0xe4)),yaml=require('js-yaml'),yargs=require(a49_0x5dc285(0xea)),logger=require(a49_0x5dc285(0x11f))[a49_0x5dc285(0x108)],configFileTemplate=__dirname+a49_0x5dc285(0xf2),configFileTemplatePW=__dirname+a49_0x5dc285(0x104),configFile=process[a49_0x5dc285(0x11a)]()+a49_0x5dc285(0x116),packageFile=process[a49_0x5dc285(0x11a)]()+a49_0x5dc285(0xf1),frameworks=['mocha',a49_0x5dc285(0x11e),a49_0x5dc285(0x100),a49_0x5dc285(0x115),a49_0x5dc285(0x11b),a49_0x5dc285(0xff),a49_0x5dc285(0xdc)];let config;logger[a49_0x5dc285(0x110)]('Creating\x20configuration\x20file...'),createConfigurationFile(yargs[a49_0x5dc285(0xfa)][a49_0x5dc285(0x119)],yargs[a49_0x5dc285(0xfa)][a49_0x5dc285(0xe0)],yargs[a49_0x5dc285(0xfa)][a49_0x5dc285(0xdc)]);try{sdkSetup();}catch(a49_0x586878){logger['debug'](a49_0x5dc285(0xf3)+a49_0x586878);}addScriptInPackageJson();function createConfigurationFile(_0xe6c5ab,_0x4775d9,_0x50a615=![]){const _0x890523=a49_0x5dc285,_0x1923b3={};_0x1923b3[_0x890523(0xe2)]='utf8',_0x1923b3[_0x890523(0x120)]=_0x890523(0x10b),_0x1923b3['OQTaq']=_0x890523(0xe1);const _0x1e0ccb=_0x1923b3;try{let _0x5b3e5d=fs[_0x890523(0xe3)](_0x50a615?configFileTemplatePW:configFileTemplate,_0x1e0ccb[_0x890523(0xe2)]);_0xe6c5ab&&(_0x5b3e5d=_0x5b3e5d[_0x890523(0xdb)](_0x1e0ccb[_0x890523(0x120)],_0xe6c5ab)),_0x4775d9&&(_0x5b3e5d=_0x5b3e5d[_0x890523(0xdb)](_0x1e0ccb['OQTaq'],_0x4775d9)),config=yaml[_0x890523(0xee)](_0x5b3e5d),fs[_0x890523(0xda)](configFile,_0x5b3e5d,_0x4d12ff=>{const _0x3f2585=_0x890523;_0x4d12ff&&logger[_0x3f2585(0xf5)](_0x4d12ff);});}catch(_0x4a8c28){logger[_0x890523(0xf5)](_0x4a8c28);}}function addPostInstallScript(_0x273150,_0x29242b){const _0x41c233=a49_0x5dc285,_0x1ddb10={};_0x1ddb10['ACTld']=_0x41c233(0xe9),_0x1ddb10[_0x41c233(0xf7)]=_0x41c233(0x105),_0x1ddb10[_0x41c233(0xf6)]='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x453d02=_0x1ddb10;let _0xdef381=_0x273150[_0x453d02[_0x41c233(0x111)]];if(_0xdef381&&_0xdef381[_0x41c233(0xd8)](_0x453d02[_0x41c233(0xf7)]))return;!_0xdef381?_0xdef381=_0x453d02['QVlng']:_0xdef381+=_0x453d02[_0x41c233(0xf6)],_0x29242b[_0x41c233(0x121)]([_0x453d02['ACTld'],_0xdef381]);}function a49_0x3142(){const _0x4d249a=['indexOf','SDKSetup','1169259qVzmpd','CiqLS','codeceptjs','cucumber-js','EsAKu','utf8','170BCgaxS','/../../browserstack.pw.yml.sample','npm\x20update\x20browserstack-node-sdk','70jxwOBV','Adding\x20new\x20script(s)\x20in\x20package.json...','winstonLogger','307571PqEPXE','parse','YOUR_USERNAME','split','JPvsr','21680wBFrNI','6eQGQTs','info','ACTld','debug','isUndefined','stringify','node','/browserstack.yml','source','PiwNv','username','cwd','nightwatch','fireFunnelTestEvent','tdhAj','jest','../helpers/logger','pibIT','push','uConv','Setup\x20completed','BPEQX','includes','node-setup','writeFileSync','replace','playwright','scripts','browserstack-node-sdk','70520bDhMKq','key','YOUR_ACCESS_KEY','XAUpo','readFileSync','../helpers/utilities','GzABA','gxggg','LfmhW','433769hAvYbb','postinstall','yargs','../helpers/helper','join','88084VmoyRX','load','xKjaH','length','/package.json','/../../browserstack.yml.sample','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','48564VJurmb','error','GGtrP','QVlng','RkSKD','-browserstack','argv'];a49_0x3142=function(){return _0x4d249a;};return a49_0x3142();}function addScriptInPackageJson(){const _0x2d1d20=a49_0x5dc285,_0xea66d0={'EsAKu':_0x2d1d20(0x102),'PiwNv':function(_0x509f08,_0x381b76){return _0x509f08<_0x381b76;},'JPvsr':function(_0x2aca04,_0x1a243d,_0x542f57){return _0x2aca04(_0x1a243d,_0x542f57);},'jhPHK':function(_0x4b39f8,_0x53a872){return _0x4b39f8<_0x53a872;},'xdGav':function(_0x117b5b,_0x5f0fcf,_0x39f4c2){return _0x117b5b(_0x5f0fcf,_0x39f4c2);},'GzABA':function(_0x3c6069,_0x546d53){return _0x3c6069<_0x546d53;},'tsNCH':function(_0x52a1a0,_0x4a67e3){return _0x52a1a0!==_0x4a67e3;},'gxggg':_0x2d1d20(0x107)},_0x13a67f=JSON[_0x2d1d20(0x10a)](fs[_0x2d1d20(0xe3)](packageFile,_0xea66d0[_0x2d1d20(0x101)])),_0x2364df=[];for(let _0x21a6f9=0x0;_0xea66d0[_0x2d1d20(0x118)](_0x21a6f9,frameworks['length']);_0x21a6f9+=0x1){const _0x2197b9=_0xea66d0[_0x2d1d20(0x10d)](findScriptsWithFramework,_0x13a67f[_0x2d1d20(0xdd)],frameworks[_0x21a6f9]);for(let _0x41bd3c=0x0;_0xea66d0['jhPHK'](_0x41bd3c,_0x2197b9['length']);_0x41bd3c+=0x1){_0x2364df[_0x2d1d20(0x121)](_0xea66d0['JPvsr'](getUpdatedCommand,_0x13a67f['scripts'],_0x2197b9[_0x41bd3c]));}_0xea66d0['xdGav'](addPostInstallScript,_0x13a67f[_0x2d1d20(0xdd)],_0x2364df);}const _0x115053={..._0x13a67f['scripts']},_0x38dc4c=_0x115053;for(let _0x36ff49=0x0;_0xea66d0[_0x2d1d20(0xe5)](_0x36ff49,_0x2364df[_0x2d1d20(0xf0)]);_0x36ff49+=0x1){_0x38dc4c[_0x2364df[_0x36ff49][0x0]]=_0x2364df[_0x36ff49][0x1];}_0xea66d0['tsNCH'](JSON['stringify'](_0x13a67f['scripts']),JSON[_0x2d1d20(0x114)](_0x38dc4c))&&(logger[_0x2d1d20(0x110)](_0xea66d0[_0x2d1d20(0xe6)]),_0x13a67f[_0x2d1d20(0xdd)]=_0x38dc4c,fs['writeFileSync'](packageFile,JSON[_0x2d1d20(0x114)](_0x13a67f,null,0x2),_0x5a290e=>{const _0x508876=_0x2d1d20;_0x5a290e&&logger[_0x508876(0xf5)](_0x5a290e);}));};function findScriptsWithFramework(_0x51072d,_0xefd884){const _0x4ca491=a49_0x5dc285,_0x481408={};_0x481408[_0x4ca491(0xef)]=function(_0x40d374,_0x1ba81f){return _0x40d374<_0x1ba81f;},_0x481408[_0x4ca491(0xd7)]=_0x4ca491(0xde);const _0x5f0f64=_0x481408,_0x467eeb=[],_0x35cc90=Object['entries'](_0x51072d);for(let _0x287484=0x0;_0x5f0f64[_0x4ca491(0xef)](_0x287484,_0x35cc90[_0x4ca491(0xf0)]);_0x287484+=0x1){_0x35cc90[_0x287484][0x1][_0x4ca491(0xd8)](_0xefd884)&&!_0x35cc90[_0x287484][0x1]['includes'](_0x5f0f64[_0x4ca491(0xd7)])&&_0x467eeb[_0x4ca491(0x121)](_0x35cc90[_0x287484][0x0]);}return _0x467eeb;}function getUpdatedCommand(_0x16eebd,_0x40eb5a){const _0x4b6fd9=a49_0x5dc285,_0xd270e0={};_0xd270e0[_0x4b6fd9(0xfe)]=function(_0x580378,_0x274a3a){return _0x580378!==_0x274a3a;},_0xd270e0[_0x4b6fd9(0xf8)]=_0x4b6fd9(0xde),_0xd270e0[_0x4b6fd9(0x11d)]=function(_0x477000,_0x20083f){return _0x477000===_0x20083f;};const _0x54c84c=_0xd270e0,_0x30950a=_0x40eb5a+_0x4b6fd9(0xf9),_0x477b9d=_0x16eebd[_0x40eb5a],_0x17e8e4=_0x477b9d[_0x4b6fd9(0x10c)]('\x20');for(const _0x42acfe of frameworks){if(_0x54c84c[_0x4b6fd9(0xfe)](_0x17e8e4[_0x4b6fd9(0xfb)](_0x42acfe),-0x1)){_0x17e8e4['splice'](_0x17e8e4[_0x4b6fd9(0xfb)](_0x42acfe),0x0,_0x54c84c['RkSKD']);break;}}let _0x134624=_0x17e8e4[_0x4b6fd9(0xec)]('\x20');return _0x54c84c[_0x4b6fd9(0x11d)](_0x134624,_0x477b9d)&&(_0x134624='browserstack-node-sdk\x20'+_0x477b9d),[_0x30950a,_0x134624];}function sdkSetup(){const _0x27d8eb=a49_0x5dc285,_0x54c04b={};_0x54c04b[_0x27d8eb(0x122)]=_0x27d8eb(0xd9),_0x54c04b['LfmhW']=_0x27d8eb(0xfc);const _0x2372c8=_0x54c04b;if(helper[_0x27d8eb(0x113)](config))return;config[_0x27d8eb(0x117)]=_0x2372c8[_0x27d8eb(0x122)];try{utilities[_0x27d8eb(0x11c)](_0x2372c8[_0x27d8eb(0xe7)],{},config,'');}catch(_0x1f0b06){logger[_0x27d8eb(0x112)](_0x27d8eb(0xf3)+_0x1f0b06);}}function a49_0x496c(_0x5b07be,_0x558494){const _0x31424d=a49_0x3142();return a49_0x496c=function(_0x496cd6,_0x40383e){_0x496cd6=_0x496cd6-0xd6;let _0x3fb6b0=_0x31424d[_0x496cd6];return _0x3fb6b0;},a49_0x496c(_0x5b07be,_0x558494);}logger[a49_0x5dc285(0x110)](a49_0x5dc285(0xd6));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a50_0x43c048=a50_0x49e1;(function(_0x99dbeb,_0x41eaa1){const _0x10646b=a50_0x49e1,_0x11ad93=_0x99dbeb();while(!![]){try{const _0x4831a5=parseInt(_0x10646b(0x19a))/0x1+parseInt(_0x10646b(0x1a3))/0x2+parseInt(_0x10646b(0x19d))/0x3+-parseInt(_0x10646b(0x1c5))/0x4*(parseInt(_0x10646b(0x180))/0x5)+-parseInt(_0x10646b(0x17c))/0x6+parseInt(_0x10646b(0x175))/0x7+-parseInt(_0x10646b(0x171))/0x8;if(_0x4831a5===_0x41eaa1)break;else _0x11ad93['push'](_0x11ad93['shift']());}catch(_0xa205fc){_0x11ad93['push'](_0x11ad93['shift']());}}}(a50_0x7c16,0x8e845));function a50_0x7c16(){const _0x26fc17=['ZwaAP','knUJZ','_workerPool','then','fKbZX','\x20for','ZOyhQ','test-file-success','ltbyX','ApuZB','../../helpers/logger','platformCaps','stop','emittery','bwsuj','all','992sGtaiq','getStderr','oQnZY','2922135izynmb','Hdvcc','MyyPj','yBcPi','parallelCucumberRun','niVuY','1807580LejvEL','worker','hgQtq','platform','tdRdC','end','map','resolve','flhcf','parallelVanillaRun','IEnPR','exit','info','SDK_SETUP','AHfFF','./testWorker.js','gDLGa','platform-run-start','error','vlnzE','stdout','Exception\x20in\x20sending\x20worker\x20message\x20','length','pipe','rBSyK','send','vMJFB','config','test-file-start','postMessage','Qarzz','getWorkers','file','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','8920bnZDJz','log','debug','Worker','royXO','../../helpers/performance/constants','util','HijyD','cucumberWorker','Workers\x20failed\x20to\x20exit\x20gracefully','eXwNp','exitCode','waitForExit','json','parallelTestRun','UeIkO','1068800iOzGyZ','UNSTABLE_onCustomMessage','test-file-failure','format','199080pqIZUl','platforms','olUis','../../helpers/testhub/testhubHandler','failureCount','stderr','platform-run-failure','4316328oDcmTz','emit','configuration','xZiWT','1055pXUPRZ','vanillaWorker','p-limit','nifuP','jutUg','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','getStdout','CmAKB','platform-run-success','Running\x20'];a50_0x7c16=function(){return _0x26fc17;};return a50_0x7c16();}const Worker=require('jest-worker')[a50_0x43c048(0x1c8)],Emittery=require(a50_0x43c048(0x197)),pLimit=require(a50_0x43c048(0x182)),{parentPort}=require('worker_threads'),util=require(a50_0x43c048(0x1cb)),logger=require(a50_0x43c048(0x194))['winstonLogger'],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a50_0x43c048(0x1ca))['EVENTS'],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a50_0x43c048(0x178));function a50_0x49e1(_0x479bba,_0x1a37a1){const _0x7c1625=a50_0x7c16();return a50_0x49e1=function(_0x49e16d,_0x5b17b3){_0x49e16d=_0x49e16d-0x16a;let _0x4f5ab6=_0x7c1625[_0x49e16d];return _0x4f5ab6;},a50_0x49e1(_0x479bba,_0x1a37a1);}exports[a50_0x43c048(0x16f)]=(_0x355090,_0x5a32d3,_0x5921b7)=>new Promise(async _0x1db3a1=>{const _0x5e6245=a50_0x43c048,_0x4798c8={'olUis':_0x5e6245(0x179),'ApuZB':function(_0x354375,_0x2f8d89){return _0x354375+_0x2f8d89;},'ltbyX':'results','royXO':'Workers\x20failed\x20to\x20exit\x20gracefully','flhcf':function(_0x4e3fcf,_0x30c89a){return _0x4e3fcf(_0x30c89a);},'rBSyK':function(_0x48b4eb,_0x5ec56c){return _0x48b4eb(_0x5ec56c);},'yBcPi':_0x5e6245(0x1bf),'jutUg':'./testWorker.js','ZwaAP':_0x5e6245(0x1a4),'vlnzE':_0x5e6245(0x16e),'vMJFB':_0x5e6245(0x1ba),'ZOyhQ':function(_0x39342d,_0x145ba2){return _0x39342d*_0x145ba2;},'xWTGE':_0x5e6245(0x191),'nYibk':_0x5e6245(0x173),'MyyPj':function(_0x4f8409,_0x919ff9){return _0x4f8409*_0x919ff9;}},_0x21a6cb=_0x5921b7[_0x5e6245(0x1be)],_0x57a31e={},_0x440113=new Worker(require['resolve'](_0x4798c8[_0x5e6245(0x184)]),{'exposedMethods':[_0x4798c8[_0x5e6245(0x18a)]],'forkOptions':{'serialization':_0x4798c8[_0x5e6245(0x1b6)],'stdio':_0x4798c8[_0x5e6245(0x1bd)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x4798c8[_0x5e6245(0x190)](_0x5a32d3,0x1),'enableWorkerThreads':!![]}),_0x1e3124=new Emittery();_0x1e3124['on'](_0x4798c8['xWTGE'],_0x174c09=>{const _0x5d6627=_0x5e6245;_0x57a31e[_0x174c09[0x0]]?(_0x57a31e[_0x174c09[0x0]][_0x4798c8[_0x5d6627(0x177)]]=_0x4798c8[_0x5d6627(0x193)](_0x57a31e[_0x174c09[0x0]][_0x4798c8['olUis']],_0x174c09[0x1][_0x4798c8[_0x5d6627(0x177)]]),_0x57a31e[_0x174c09[0x0]][_0x4798c8[_0x5d6627(0x192)]]=[..._0x57a31e[_0x174c09[0x0]][_0x4798c8[_0x5d6627(0x192)]],..._0x174c09[0x1][_0x4798c8[_0x5d6627(0x192)]]]):_0x57a31e[_0x174c09[0x0]]={'failureCount':_0x174c09[0x1][_0x4798c8[_0x5d6627(0x177)]],'results':[..._0x174c09[0x1][_0x4798c8[_0x5d6627(0x192)]]]};}),_0x1e3124['on'](_0x4798c8['nYibk'],_0x444942=>console[_0x5e6245(0x1c6)](_0x444942[0x1]));_0x440113[_0x5e6245(0x186)]()&&_0x440113[_0x5e6245(0x186)]()[_0x5e6245(0x1ba)](process[_0x5e6245(0x1b7)]);_0x440113[_0x5e6245(0x19b)]()&&_0x440113[_0x5e6245(0x19b)]()[_0x5e6245(0x1ba)](process[_0x5e6245(0x17a)]);const _0x15363f=async()=>{const _0x204125=_0x5e6245,{forceExited:_0xf167b6}=await _0x440113[_0x204125(0x1a8)]();_0xf167b6&&console[_0x204125(0x1b5)](_0x4798c8[_0x204125(0x1c9)]);try{await TestHubHandler[_0x204125(0x196)]();}catch(_0x3353cf){_0x4798c8['flhcf'](debug,_0x204125(0x185)+_0x3353cf);}_0x4798c8[_0x204125(0x1bb)](_0x1db3a1,_0x57a31e);},_0x347439=_0x4798c8[_0x5e6245(0x1ab)](pLimit,_0x4798c8[_0x5e6245(0x19f)](_0x5a32d3,0x1)),_0x4014ed=_0x3fb8b4=>_0x347439(async()=>{const _0x1e3c4b=_0x5e6245;await _0x1e3124['emit'](_0x4798c8[_0x1e3c4b(0x1a0)],_0x3fb8b4);const _0x1cb2fc=_0x440113[_0x1e3c4b(0x1a4)](_0x3fb8b4,_0x21a6cb);try{parentPort&&_0x1cb2fc[_0x1e3c4b(0x172)](_0x14001e=>{const _0xba2db1=_0x1e3c4b;try{parentPort[_0xba2db1(0x1c0)](_0x14001e);}catch(_0x416e80){logger['debug'](_0xba2db1(0x1b8)+util[_0xba2db1(0x174)](_0x416e80));}});}catch(_0x25696a){logger[_0x1e3c4b(0x1c7)](_0x1e3c4b(0x1c4)+util[_0x1e3c4b(0x174)](_0x25696a));}return _0x1cb2fc;});PerformanceTester[_0x5e6245(0x1a8)](PerformanceEvents[_0x5e6245(0x1b0)]),Promise[_0x5e6245(0x199)](_0x355090[_0x5e6245(0x1a9)](_0x254efb=>_0x4014ed(_0x254efb)[_0x5e6245(0x18d)](_0x272562=>_0x1e3124[_0x5e6245(0x17d)](_0x5e6245(0x191),[_0x254efb[_0x5e6245(0x17e)][_0x5e6245(0x1a6)],_0x272562]),_0x4deb10=>_0x1e3124[_0x5e6245(0x17d)]('test-file-failure',[_0x254efb,_0x4deb10]))))[_0x5e6245(0x18d)](_0x15363f,_0x15363f);}),exports[a50_0x43c048(0x1a1)]=(_0x50efbb,_0x3a1121,_0x4043b6,_0x20e0a2,_0x52cb13)=>{const _0x1327ae=a50_0x43c048,_0x397e3e={'knUJZ':_0x1327ae(0x16a),'niVuY':function(_0x3f51c5,_0x3195ac){return _0x3f51c5(_0x3195ac);},'CmAKB':_0x1327ae(0x1b4),'gDLGa':_0x1327ae(0x1b2),'tdRdC':_0x1327ae(0x1cd),'Qarzz':'json','fKbZX':'pipe','eJDcd':_0x1327ae(0x188),'XsdCP':'platform-run-failure','nifuP':function(_0x27e99c,_0x28fbab){return _0x27e99c(_0x28fbab);}};return new Promise(_0xceb0fc=>{const _0x387904=_0x1327ae,_0x4f7c81={};_0x4f7c81[_0x387904(0x1cc)]=_0x397e3e[_0x387904(0x187)];const _0x52a5f3=_0x4f7c81,_0x27d89c=[],_0x217e14=new Worker(require[_0x387904(0x1aa)](_0x397e3e[_0x387904(0x1b3)]),{'exposedMethods':[_0x397e3e[_0x387904(0x1a7)]],'forkOptions':{'serialization':_0x397e3e[_0x387904(0x1c1)],'stdio':_0x397e3e[_0x387904(0x18e)]},'numWorkers':_0x50efbb[_0x387904(0x1b9)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x39567c=new Emittery();_0x39567c['on'](_0x397e3e['eJDcd'],_0xd36664=>{_0x27d89c['push']([_0xd36664[0x0],_0xd36664[0x1]]);}),_0x39567c['on'](_0x397e3e['XsdCP'],_0x2ac918=>console['log'](_0x2ac918[0x1]));_0x217e14[_0x387904(0x186)]()&&_0x217e14['getStdout']()[_0x387904(0x1ba)](process['stdout']);_0x217e14[_0x387904(0x19b)]()&&_0x217e14[_0x387904(0x19b)]()['pipe'](process[_0x387904(0x17a)]);const _0x7e8174=async()=>{const _0x42483a=_0x387904,{forceExited:_0x45fb66}=await _0x217e14[_0x42483a(0x1a8)]();_0x45fb66&&console[_0x42483a(0x1b5)](_0x397e3e[_0x42483a(0x18b)]),_0x397e3e[_0x42483a(0x1a2)](_0xceb0fc,_0x27d89c);},_0x25c1ca=_0x397e3e[_0x387904(0x183)](pLimit,_0x50efbb[_0x387904(0x1b9)]||0x1),_0x53b013=(_0x29c56c,_0xb574ab)=>_0x25c1ca(async()=>{const _0x51cce5=_0x387904;return await _0x39567c[_0x51cce5(0x17d)](_0x52a5f3[_0x51cce5(0x1cc)],_0x29c56c),_0x3a1121[_0x51cce5(0x195)]=_0x4043b6[_0x51cce5(0x176)][_0xb574ab],_0x217e14['cucumberWorker'](_0x29c56c,_0x3a1121,_0x4043b6,_0x20e0a2,_0x52cb13);});Promise[_0x387904(0x199)](_0x50efbb['map']((_0x3d1d2a,_0x13ead3)=>_0x53b013(_0x3d1d2a,_0x13ead3)[_0x387904(0x18d)](_0x5d25a5=>_0x39567c[_0x387904(0x17d)](_0x387904(0x188),[_0x3d1d2a,_0x5d25a5]),_0xc63ead=>_0x39567c['emit'](_0x387904(0x17b),[_0x3d1d2a,_0xc63ead]))))[_0x387904(0x18d)](_0x7e8174,_0x7e8174);});},exports[a50_0x43c048(0x1ac)]=(_0x8e35a8,_0x4c4dec)=>new Promise(_0x162529=>{const _0x2db852=a50_0x43c048,_0x5222c9={'AHfFF':_0x2db852(0x1ae),'TDkqt':function(_0x55fabc,_0x34eff4){return _0x55fabc===_0x34eff4;},'mTpiB':function(_0x8cdef3,_0x2f957e){return _0x8cdef3!==_0x2f957e;},'IEnPR':_0x2db852(0x16a),'bwsuj':function(_0xe979d7,_0x45bb17){return _0xe979d7(_0x45bb17);},'oQnZY':'./testWorker.js','KenCl':_0x2db852(0x181),'Hdvcc':'json','ABCPy':'pipe','hgQtq':_0x2db852(0x191),'eXwNp':_0x2db852(0x173)},_0x593861={},_0x123b5e=new Worker(require['resolve'](_0x5222c9[_0x2db852(0x19c)]),{'exposedMethods':[_0x5222c9['KenCl']],'forkOptions':{'serialization':_0x5222c9[_0x2db852(0x19e)],'stdio':_0x5222c9['ABCPy']},'numWorkers':_0x4c4dec,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x3e8988=new Emittery();_0x3e8988['on'](_0x5222c9[_0x2db852(0x1a5)],_0x134eca=>{const _0x194375=_0x2db852;_0x134eca[0x0]&&logger[_0x194375(0x1af)](_0x194375(0x189)+_0x134eca[0x1]+_0x194375(0x18f),_0x134eca[0x0]);}),_0x3e8988['on'](_0x5222c9[_0x2db852(0x16b)],_0xda58fe=>{const _0x195c05=_0x2db852;process[_0x195c05(0x16c)]=0x1;});_0x123b5e[_0x2db852(0x186)]()&&_0x123b5e[_0x2db852(0x186)]()[_0x2db852(0x1ba)](process[_0x2db852(0x1b7)]);_0x123b5e[_0x2db852(0x19b)]()&&_0x123b5e['getStderr']()[_0x2db852(0x1ba)](process[_0x2db852(0x17a)]);const _0x2ffcdf=async()=>{const _0x12ad2d=_0x2db852,_0x5e4f82={'UeIkO':function(_0x30872e,_0x38deac){return _0x5222c9['TDkqt'](_0x30872e,_0x38deac);},'xZiWT':function(_0xa4a6fa,_0x500258){return _0x5222c9['mTpiB'](_0xa4a6fa,_0x500258);}};let _0x5a0af9=0x0;const _0xf3602f=_0x123b5e[_0x12ad2d(0x18c)][_0x12ad2d(0x1c2)](),_0x3563c3=()=>{},_0x3d122e=_0xf3602f[_0x12ad2d(0x1a9)](async _0x2fa0d7=>{const _0x5893be=_0x12ad2d;_0x2fa0d7[_0x5893be(0x1bc)]([0x2,![]],_0x3563c3,_0x3563c3,_0x3563c3),_0x2fa0d7['_child']['on'](_0x5222c9[_0x5893be(0x1b1)],_0x20b7ef=>{const _0x1c408a=_0x5893be;_0x5e4f82[_0x1c408a(0x170)](_0x5a0af9,0x0)&&_0x5e4f82[_0x1c408a(0x17f)](_0x20b7ef,0x0)&&(_0x5a0af9=_0x20b7ef);}),await _0x2fa0d7[_0x5893be(0x16d)]();});await Promise[_0x12ad2d(0x199)](_0x3d122e),process['exitCode']=_0x5a0af9;const {forceExited:_0x2e006a}=await _0x123b5e['end']();_0x2e006a&&console[_0x12ad2d(0x1b5)](_0x5222c9[_0x12ad2d(0x1ad)]),_0x5222c9[_0x12ad2d(0x198)](_0x162529,_0x593861);},_0x17ed54=_0x5222c9[_0x2db852(0x198)](pLimit,_0x4c4dec),_0x30f46c=_0x1f211d=>_0x17ed54(async()=>{const _0x25b94d=_0x2db852;return _0x123b5e[_0x25b94d(0x181)](_0x1f211d);});Promise[_0x2db852(0x199)](_0x8e35a8[_0x2db852(0x1a9)](_0x44f582=>_0x30f46c(_0x44f582)['then'](_0x4ce13e=>_0x3e8988[_0x2db852(0x17d)](_0x2db852(0x191),[_0x44f582[_0x2db852(0x17e)]['platform'],_0x44f582[_0x2db852(0x17e)][_0x2db852(0x1c3)]]),_0x15fb82=>_0x3e8988[_0x2db852(0x17d)]('test-file-failure',[_0x44f582,_0x15fb82]))))['then'](_0x2ffcdf,_0x2ffcdf);});
|
|
1
|
+
function a50_0x46c9(){const _0x2b300a=['EXDTN','MaNxU','configuration','2882gXEgsv','zXUkk','../../helpers/performance/constants','platform','pGDdX','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','\x20for','winstonLogger','exit','1667133lGZHoM','ZfvjI','qiPVt','getWorkers','LSPpd','log','Gylvj','802596eVvlbP','WvWFz','704310vWUCJu','../../helpers/testhub/testhubHandler','results','stop','yvNbZ','resolve','480000BxxfHi','platforms','Msvet','MLvJw','test-file-success','format','kvqyz','json','worker','rGysC','platform-run-start','_workerPool','PVeDe','6OmQDam','88gHWoia','platform-run-failure','then','qIWlW','XqAIQ','stderr','send','worker_threads','../../helpers/logger','emit','NjBMj','parallelVanillaRun','lWMnf','config','sblsd','RuGBU','Running\x20','postMessage','push','2902330hsrLFE','yPVvA','UNSTABLE_onCustomMessage','1497UOjpEq','SDK_SETUP','jOEkr','5qHtkcm','util','failureCount','QLngU','_child','waitForExit','test-file-failure','AGPeV','Workers\x20failed\x20to\x20exit\x20gracefully','mrVFT','7746578gcWEDJ','cucumberWorker','length','debug','jest-worker','map','emittery','platform-run-success','error','exitCode','pipe','./testWorker.js','../../helpers/performance/performance-tester','BZcxf','all','getStderr','wMjoe','platformCaps','stdout','vbglu','file','getStdout','Worker','vanillaWorker','DIAhl','end'];a50_0x46c9=function(){return _0x2b300a;};return a50_0x46c9();}function a50_0x277f(_0x267d38,_0x1e3c83){const _0x46c979=a50_0x46c9();return a50_0x277f=function(_0x277f18,_0x11ece8){_0x277f18=_0x277f18-0xe4;let _0x5a2df2=_0x46c979[_0x277f18];return _0x5a2df2;},a50_0x277f(_0x267d38,_0x1e3c83);}const a50_0x2bcaef=a50_0x277f;(function(_0x1c63fb,_0x32dbf6){const _0x42793e=a50_0x277f,_0x477eda=_0x1c63fb();while(!![]){try{const _0x2f7cde=-parseInt(_0x42793e(0x146))/0x1+parseInt(_0x42793e(0x134))/0x2*(parseInt(_0x42793e(0x10a))/0x3)+parseInt(_0x42793e(0x144))/0x4*(-parseInt(_0x42793e(0x10d))/0x5)+-parseInt(_0x42793e(0xf3))/0x6*(parseInt(_0x42793e(0x117))/0x7)+-parseInt(_0x42793e(0xe6))/0x8+-parseInt(_0x42793e(0x13d))/0x9+parseInt(_0x42793e(0x107))/0xa*(parseInt(_0x42793e(0xf4))/0xb);if(_0x2f7cde===_0x32dbf6)break;else _0x477eda['push'](_0x477eda['shift']());}catch(_0x4669fa){_0x477eda['push'](_0x477eda['shift']());}}}(a50_0x46c9,0xbf6c9));const Worker=require(a50_0x2bcaef(0x11b))[a50_0x2bcaef(0x12d)],Emittery=require(a50_0x2bcaef(0x11d)),pLimit=require('p-limit'),{parentPort}=require(a50_0x2bcaef(0xfb)),util=require(a50_0x2bcaef(0x10e)),logger=require(a50_0x2bcaef(0xfc))[a50_0x2bcaef(0x13b)],PerformanceTester=require(a50_0x2bcaef(0x123)),PerformanceEvents=require(a50_0x2bcaef(0x136))['EVENTS'],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a50_0x2bcaef(0x147));exports['parallelTestRun']=(_0x11929d,_0x30612f,_0x42d14b)=>new Promise(async _0xc145ca=>{const _0x21372a=a50_0x2bcaef,_0x1df6aa={'sblsd':_0x21372a(0x10f),'Gylvj':function(_0x24f292,_0x4f5447){return _0x24f292+_0x4f5447;},'pGDdX':_0x21372a(0x148),'Msvet':_0x21372a(0x115),'kvqyz':function(_0x54d434,_0xfc9a98){return _0x54d434(_0xfc9a98);},'PVeDe':'test-file-start','RuGBU':_0x21372a(0x122),'YcCsy':_0x21372a(0xee),'lWMnf':_0x21372a(0xed),'ZfvjI':'pipe','LSPpd':function(_0x5366aa,_0x19a6d2){return _0x5366aa*_0x19a6d2;},'HcYRA':'test-file-success','zXUkk':_0x21372a(0x113),'MLvJw':function(_0x57f383,_0x4575b3){return _0x57f383(_0x4575b3);},'wMjoe':function(_0x2684fd,_0x1924a7){return _0x2684fd*_0x1924a7;}},_0x116bab=_0x42d14b[_0x21372a(0x101)],_0x1c5779={},_0x2341da=new Worker(require[_0x21372a(0xe5)](_0x1df6aa[_0x21372a(0x103)]),{'exposedMethods':[_0x1df6aa['YcCsy']],'forkOptions':{'serialization':_0x1df6aa[_0x21372a(0x100)],'stdio':_0x1df6aa[_0x21372a(0x13e)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x1df6aa[_0x21372a(0x141)](_0x30612f,0x1),'enableWorkerThreads':!![]}),_0x417d78=new Emittery();_0x417d78['on'](_0x1df6aa['HcYRA'],_0x247ff3=>{const _0x4af03e=_0x21372a;_0x1c5779[_0x247ff3[0x0]]?(_0x1c5779[_0x247ff3[0x0]][_0x1df6aa[_0x4af03e(0x102)]]=_0x1df6aa[_0x4af03e(0x143)](_0x1c5779[_0x247ff3[0x0]][_0x1df6aa[_0x4af03e(0x102)]],_0x247ff3[0x1][_0x1df6aa['sblsd']]),_0x1c5779[_0x247ff3[0x0]][_0x1df6aa['pGDdX']]=[..._0x1c5779[_0x247ff3[0x0]][_0x1df6aa['pGDdX']],..._0x247ff3[0x1][_0x1df6aa[_0x4af03e(0x138)]]]):_0x1c5779[_0x247ff3[0x0]]={'failureCount':_0x247ff3[0x1][_0x1df6aa[_0x4af03e(0x102)]],'results':[..._0x247ff3[0x1][_0x1df6aa[_0x4af03e(0x138)]]]};}),_0x417d78['on'](_0x1df6aa[_0x21372a(0x135)],_0x45423a=>console[_0x21372a(0x142)](_0x45423a[0x1]));_0x2341da[_0x21372a(0x12c)]()&&_0x2341da[_0x21372a(0x12c)]()[_0x21372a(0x121)](process[_0x21372a(0x129)]);_0x2341da[_0x21372a(0x126)]()&&_0x2341da['getStderr']()['pipe'](process[_0x21372a(0xf9)]);const _0x19da11=async()=>{const _0x17c16b=_0x21372a,{forceExited:_0x4e14e0}=await _0x2341da[_0x17c16b(0x130)]();_0x4e14e0&&console[_0x17c16b(0x11f)](_0x1df6aa[_0x17c16b(0xe8)]);try{await TestHubHandler[_0x17c16b(0x149)]();}catch(_0x34ca74){_0x1df6aa[_0x17c16b(0xec)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x34ca74);}_0x1df6aa['kvqyz'](_0xc145ca,_0x1c5779);},_0x1d7e0b=_0x1df6aa[_0x21372a(0xe9)](pLimit,_0x1df6aa[_0x21372a(0x127)](_0x30612f,0x1)),_0x1e9485=_0x1a10a6=>_0x1d7e0b(async()=>{const _0x153a13=_0x21372a;await _0x417d78[_0x153a13(0xfd)](_0x1df6aa[_0x153a13(0xf2)],_0x1a10a6);const _0x19bd58=_0x2341da['worker'](_0x1a10a6,_0x116bab);try{parentPort&&_0x19bd58[_0x153a13(0x109)](_0x208e2e=>{const _0x210747=_0x153a13;try{parentPort[_0x210747(0x105)](_0x208e2e);}catch(_0x3b7d9f){logger['debug']('Exception\x20in\x20sending\x20worker\x20message\x20'+util[_0x210747(0xeb)](_0x3b7d9f));}});}catch(_0xd041){logger[_0x153a13(0x11a)](_0x153a13(0x139)+util[_0x153a13(0xeb)](_0xd041));}return _0x19bd58;});PerformanceTester[_0x21372a(0x130)](PerformanceEvents[_0x21372a(0x10b)]),Promise[_0x21372a(0x125)](_0x11929d[_0x21372a(0x11c)](_0x2db574=>_0x1e9485(_0x2db574)['then'](_0x343cfd=>_0x417d78[_0x21372a(0xfd)](_0x21372a(0xea),[_0x2db574[_0x21372a(0x133)][_0x21372a(0x137)],_0x343cfd]),_0x1a0acf=>_0x417d78[_0x21372a(0xfd)](_0x21372a(0x113),[_0x2db574,_0x1a0acf]))))[_0x21372a(0xf6)](_0x19da11,_0x19da11);}),exports['parallelCucumberRun']=(_0x53efe1,_0xf2d872,_0x5e60a3,_0x574255,_0x556bd6)=>{const _0xa6ab7d=a50_0x2bcaef,_0x34e5d0={'TuJEu':'Workers\x20failed\x20to\x20exit\x20gracefully','AGPeV':function(_0x2ceb77,_0x52ddf2){return _0x2ceb77(_0x52ddf2);},'qiPVt':_0xa6ab7d(0xf0),'OGmmF':_0xa6ab7d(0x122),'yviNe':_0xa6ab7d(0x118),'jOEkr':_0xa6ab7d(0xed),'PMNwi':_0xa6ab7d(0x121),'yvNbZ':_0xa6ab7d(0x11e),'qIWlW':_0xa6ab7d(0xf5)};return new Promise(_0x33309b=>{const _0x35e425=_0xa6ab7d,_0x3fa5e8=[],_0x1f8da5=new Worker(require['resolve'](_0x34e5d0['OGmmF']),{'exposedMethods':[_0x34e5d0['yviNe']],'forkOptions':{'serialization':_0x34e5d0[_0x35e425(0x10c)],'stdio':_0x34e5d0['PMNwi']},'numWorkers':_0x53efe1['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x1fd590=new Emittery();_0x1fd590['on'](_0x34e5d0[_0x35e425(0xe4)],_0x2cdd24=>{const _0x5c37ab=_0x35e425;_0x3fa5e8[_0x5c37ab(0x106)]([_0x2cdd24[0x0],_0x2cdd24[0x1]]);}),_0x1fd590['on'](_0x34e5d0[_0x35e425(0xf7)],_0x339f22=>console[_0x35e425(0x142)](_0x339f22[0x1]));_0x1f8da5['getStdout']()&&_0x1f8da5[_0x35e425(0x12c)]()[_0x35e425(0x121)](process[_0x35e425(0x129)]);_0x1f8da5[_0x35e425(0x126)]()&&_0x1f8da5[_0x35e425(0x126)]()[_0x35e425(0x121)](process[_0x35e425(0xf9)]);const _0x3930ad=async()=>{const _0x32acd2=_0x35e425,{forceExited:_0xf6661}=await _0x1f8da5['end']();_0xf6661&&console[_0x32acd2(0x11f)](_0x34e5d0['TuJEu']),_0x34e5d0[_0x32acd2(0x114)](_0x33309b,_0x3fa5e8);},_0x3c3b62=_0x34e5d0[_0x35e425(0x114)](pLimit,_0x53efe1[_0x35e425(0x119)]||0x1),_0x222692=(_0x27bdf7,_0x2be977)=>_0x3c3b62(async()=>{const _0x31aa58=_0x35e425;return await _0x1fd590[_0x31aa58(0xfd)](_0x34e5d0[_0x31aa58(0x13f)],_0x27bdf7),_0xf2d872[_0x31aa58(0x128)]=_0x5e60a3[_0x31aa58(0xe7)][_0x2be977],_0x1f8da5[_0x31aa58(0x118)](_0x27bdf7,_0xf2d872,_0x5e60a3,_0x574255,_0x556bd6);});Promise[_0x35e425(0x125)](_0x53efe1['map']((_0xa384e6,_0x47b935)=>_0x222692(_0xa384e6,_0x47b935)[_0x35e425(0xf6)](_0x11384a=>_0x1fd590[_0x35e425(0xfd)](_0x35e425(0x11e),[_0xa384e6,_0x11384a]),_0x31a6f2=>_0x1fd590[_0x35e425(0xfd)]('platform-run-failure',[_0xa384e6,_0x31a6f2]))))[_0x35e425(0xf6)](_0x3930ad,_0x3930ad);});},exports[a50_0x2bcaef(0xff)]=(_0xf6915e,_0x5a66cb)=>new Promise(_0x59bf75=>{const _0x550261=a50_0x2bcaef,_0x4f1a41={'DIAhl':function(_0xd2f5b1,_0x5c96c5){return _0xd2f5b1===_0x5c96c5;},'MaNxU':function(_0xcfac3d,_0x1a1ef3){return _0xcfac3d!==_0x1a1ef3;},'LyHUb':_0x550261(0x13c),'XqAIQ':'Workers\x20failed\x20to\x20exit\x20gracefully','vbglu':function(_0x499558,_0xfe575e){return _0x499558(_0xfe575e);},'NjBMj':'./testWorker.js','EXDTN':_0x550261(0x12e),'WvWFz':_0x550261(0xed),'mrVFT':_0x550261(0x121),'rGysC':_0x550261(0xea),'yPVvA':_0x550261(0x113)},_0x26f58e={},_0x3ff472=new Worker(require[_0x550261(0xe5)](_0x4f1a41[_0x550261(0xfe)]),{'exposedMethods':[_0x4f1a41[_0x550261(0x131)]],'forkOptions':{'serialization':_0x4f1a41[_0x550261(0x145)],'stdio':_0x4f1a41[_0x550261(0x116)]},'numWorkers':_0x5a66cb,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x4847a9=new Emittery();_0x4847a9['on'](_0x4f1a41[_0x550261(0xef)],_0x56be10=>{const _0x293179=_0x550261;_0x56be10[0x0]&&logger['info'](_0x293179(0x104)+_0x56be10[0x1]+_0x293179(0x13a),_0x56be10[0x0]);}),_0x4847a9['on'](_0x4f1a41[_0x550261(0x108)],_0x10a14c=>{const _0x316083=_0x550261;process[_0x316083(0x120)]=0x1;});_0x3ff472[_0x550261(0x12c)]()&&_0x3ff472[_0x550261(0x12c)]()[_0x550261(0x121)](process[_0x550261(0x129)]);_0x3ff472[_0x550261(0x126)]()&&_0x3ff472['getStderr']()[_0x550261(0x121)](process[_0x550261(0xf9)]);const _0x30feda=async()=>{const _0x108880=_0x550261;let _0x2b6816=0x0;const _0x5c40dd=_0x3ff472[_0x108880(0xf1)][_0x108880(0x140)](),_0x4b632b=()=>{},_0x72b798=_0x5c40dd[_0x108880(0x11c)](async _0x5367e7=>{const _0x369a77=_0x108880,_0x1e7f85={'BZcxf':function(_0x322f92,_0x2b8127){const _0x2872df=a50_0x277f;return _0x4f1a41[_0x2872df(0x12f)](_0x322f92,_0x2b8127);},'QLngU':function(_0x1953fe,_0x354c9a){const _0x54afc7=a50_0x277f;return _0x4f1a41[_0x54afc7(0x132)](_0x1953fe,_0x354c9a);}};_0x5367e7[_0x369a77(0xfa)]([0x2,![]],_0x4b632b,_0x4b632b,_0x4b632b),_0x5367e7[_0x369a77(0x111)]['on'](_0x4f1a41['LyHUb'],_0x1d9b7b=>{const _0x5b562c=_0x369a77;_0x1e7f85[_0x5b562c(0x124)](_0x2b6816,0x0)&&_0x1e7f85[_0x5b562c(0x110)](_0x1d9b7b,0x0)&&(_0x2b6816=_0x1d9b7b);}),await _0x5367e7[_0x369a77(0x112)]();});await Promise['all'](_0x72b798),process[_0x108880(0x120)]=_0x2b6816;const {forceExited:_0x303602}=await _0x3ff472[_0x108880(0x130)]();_0x303602&&console[_0x108880(0x11f)](_0x4f1a41[_0x108880(0xf8)]),_0x4f1a41[_0x108880(0x12a)](_0x59bf75,_0x26f58e);},_0x1fbd44=_0x4f1a41['vbglu'](pLimit,_0x5a66cb),_0x1c72ab=_0x42d49a=>_0x1fbd44(async()=>{const _0x14a773=_0x550261;return _0x3ff472[_0x14a773(0x12e)](_0x42d49a);});Promise[_0x550261(0x125)](_0xf6915e['map'](_0x269c6f=>_0x1c72ab(_0x269c6f)[_0x550261(0xf6)](_0x3eb284=>_0x4847a9['emit']('test-file-success',[_0x269c6f[_0x550261(0x133)]['platform'],_0x269c6f[_0x550261(0x133)][_0x550261(0x12b)]]),_0x2d1143=>_0x4847a9[_0x550261(0xfd)]('test-file-failure',[_0x269c6f,_0x2d1143]))))[_0x550261(0xf6)](_0x30feda,_0x30feda);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a51_0x3d73e2=a51_0x4432;function a51_0x5a4a(){const _0x320ae8=['SDK_POST_TEST','viQzu','qRiDk','8OUmyAh','../../helpers/test-observability/utils','LgGmc','../../helpers/performance/performance-tester','formatter','68318UJTfEe','12GblFYn','run','2116324gnoFwf','SOqjN','../launcher/launcher','tWwIb','startMonitoring','stopMonitoring','runCucumberTest','2727225RHuTFN','runVanillaTest','runTest','../../helpers/performance/constants','942816DpENYa','336623FVrlmU','21016310UxiqxF','3QRDKYX','vanilla','ZWnNb','3621975rGMbGa','ugrPE'];a51_0x5a4a=function(){return _0x320ae8;};return a51_0x5a4a();}function a51_0x4432(_0x31362a,_0x3113ea){const _0x5a4a36=a51_0x5a4a();return a51_0x4432=function(_0x443221,_0x1ba092){_0x443221=_0x443221-0x123;let _0x3fb5b4=_0x5a4a36[_0x443221];return _0x3fb5b4;},a51_0x4432(_0x31362a,_0x3113ea);}(function(_0x3a94f0,_0x2fa733){const _0x69ebc0=a51_0x4432,_0x346c3c=_0x3a94f0();while(!![]){try{const _0x764e5c=parseInt(_0x69ebc0(0x129))/0x1*(parseInt(_0x69ebc0(0x124))/0x2)+parseInt(_0x69ebc0(0x13a))/0x3*(-parseInt(_0x69ebc0(0x12c))/0x4)+-parseInt(_0x69ebc0(0x13d))/0x5+parseInt(_0x69ebc0(0x12a))/0x6*(-parseInt(_0x69ebc0(0x138))/0x7)+parseInt(_0x69ebc0(0x137))/0x8+-parseInt(_0x69ebc0(0x133))/0x9+parseInt(_0x69ebc0(0x139))/0xa;if(_0x764e5c===_0x2fa733)break;else _0x346c3c['push'](_0x346c3c['shift']());}catch(_0x59544a){_0x346c3c['push'](_0x346c3c['shift']());}}}(a51_0x5a4a,0xcd18c));const PerformanceEvents=require(a51_0x3d73e2(0x136))['EVENTS'],PerformanceTester=require(a51_0x3d73e2(0x127)),{sleep}=require(a51_0x3d73e2(0x125));exports[a51_0x3d73e2(0x135)]=async(_0xd34a7d,_0x34ee61)=>{const _0x15600e=a51_0x3d73e2,_0x34a2ae={'LgGmc':function(_0x60db30,_0x1e829c){return _0x60db30(_0x1e829c);},'ugrPE':_0x15600e(0x12e),'tWwIb':'mocha'};PerformanceTester[_0x15600e(0x130)]();const _0x5510df=_0x34a2ae['LgGmc'](require,_0x34a2ae[_0x15600e(0x13e)]),_0xff7fb9=new _0x5510df(_0x34a2ae[_0x15600e(0x12f)],_0xd34a7d,_0x34ee61),_0x8ec15c=await _0xff7fb9[_0x15600e(0x12b)]();return PerformanceTester['end'](PerformanceEvents[_0x15600e(0x13f)]),await _0x34a2ae[_0x15600e(0x126)](sleep,0x3e8),PerformanceTester[_0x15600e(0x131)](),_0x8ec15c;},exports[a51_0x3d73e2(0x132)]=async(_0x30fb7e,_0xc78fe6,_0x627627,_0x1d03c7,_0x387a4d)=>{const _0x15a3ff=a51_0x3d73e2,_0x5bd3c2={'ZWnNb':function(_0x4352c2,_0x54c590){return _0x4352c2(_0x54c590);},'viQzu':_0x15a3ff(0x12e),'SOqjN':'cucumber-js'},_0x3d3027={'capability':_0x30fb7e,..._0xc78fe6},_0x4abd5e={};_0x4abd5e['configuration']=_0x3d3027,_0x4abd5e[_0x15a3ff(0x128)]=_0x387a4d;const _0x4d2c72=_0x4abd5e,_0x5b626b=_0x5bd3c2[_0x15a3ff(0x13c)](require,_0x5bd3c2[_0x15a3ff(0x140)]),_0x2fccff=new _0x5b626b(_0x5bd3c2[_0x15a3ff(0x12d)],_0x4d2c72,_0x627627,_0x1d03c7);return await _0x2fccff[_0x15a3ff(0x12b)]();},exports[a51_0x3d73e2(0x134)]=async _0x59d8ed=>{const _0x540feb=a51_0x3d73e2,_0xb87089={'fgzOA':function(_0x53af5f,_0x3c61eb){return _0x53af5f(_0x3c61eb);},'gatvx':_0x540feb(0x12e),'qRiDk':_0x540feb(0x13b)},_0x367c6f=_0xb87089['fgzOA'](require,_0xb87089['gatvx']),_0x50446d=new _0x367c6f(_0xb87089[_0x540feb(0x123)],_0x59d8ed);return await _0x50446d[_0x540feb(0x12b)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a52_0x49658c=a52_0x4bed;function a52_0x4bed(_0x288725,_0x59ca74){const _0x4a6b97=a52_0x4a6b();return a52_0x4bed=function(_0x4bed3f,_0x38e0b0){_0x4bed3f=_0x4bed3f-0x174;let _0x2e73b7=_0x4a6b97[_0x4bed3f];return _0x2e73b7;},a52_0x4bed(_0x288725,_0x59ca74);}function a52_0x4a6b(){const _0x2ea796=['gppYP','18637zracaO','7489494vkDpXN','66815UHlcpj','19068867MIeXFF','cucumberWorker','120GxkQYV','iyEYm','ynTEr','2034460ZFPtot','1478208yEUeZp','worker','./runTest','vanillaWorker','10omteOr','5wTYQNI','12851272jFdFCI'];a52_0x4a6b=function(){return _0x2ea796;};return a52_0x4a6b();}(function(_0x38519a,_0x20b02e){const _0xd7d905=a52_0x4bed,_0x4797b6=_0x38519a();while(!![]){try{const _0x42a090=-parseInt(_0xd7d905(0x181))/0x1*(-parseInt(_0xd7d905(0x175))/0x2)+-parseInt(_0xd7d905(0x179))/0x3+-parseInt(_0xd7d905(0x178))/0x4+parseInt(_0xd7d905(0x17e))/0x5*(parseInt(_0xd7d905(0x182))/0x6)+-parseInt(_0xd7d905(0x183))/0x7+parseInt(_0xd7d905(0x17f))/0x8+-parseInt(_0xd7d905(0x184))/0x9*(parseInt(_0xd7d905(0x17d))/0xa);if(_0x42a090===_0x20b02e)break;else _0x4797b6['push'](_0x4797b6['shift']());}catch(_0x24f987){_0x4797b6['push'](_0x4797b6['shift']());}}}(a52_0x4a6b,0xcddd3));const {runTest,runCucumberTest,runVanillaTest}=require(a52_0x49658c(0x17b));exports[a52_0x49658c(0x17a)]=async(_0x4816c2,_0x34b800)=>{const _0x130392=a52_0x49658c,_0x2b2b2c={'ynTEr':function(_0x5a7c36,_0x54a3f6,_0x3838e0){return _0x5a7c36(_0x54a3f6,_0x3838e0);}};return await _0x2b2b2c[_0x130392(0x177)](runTest,_0x4816c2,_0x34b800);},exports[a52_0x49658c(0x174)]=async(_0x1fce20,_0x1058df,_0x2bd15f,_0x4bb340,_0x457c32)=>{const _0x1cef6e=a52_0x49658c,_0x4bbb7f={'iyEYm':function(_0x5c37e7,_0x324e16,_0x2a863d,_0x5e02aa,_0x2da182,_0x27fd53){return _0x5c37e7(_0x324e16,_0x2a863d,_0x5e02aa,_0x2da182,_0x27fd53);}};return await _0x4bbb7f[_0x1cef6e(0x176)](runCucumberTest,_0x1fce20,_0x1058df,_0x2bd15f,_0x4bb340,_0x457c32);},exports[a52_0x49658c(0x17c)]=async _0x12e892=>{const _0x4d7ee1=a52_0x49658c,_0x27fecc={'gppYP':function(_0x37dc87,_0x23265d){return _0x37dc87(_0x23265d);}};return await _0x27fecc[_0x4d7ee1(0x180)](runVanillaTest,_0x12e892);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a53_0x172c(_0x3a85da,_0x2b8c0a){const _0x3f7865=a53_0x3f78();return a53_0x172c=function(_0x172c5e,_0x364f44){_0x172c5e=_0x172c5e-0x118;let _0x24be95=_0x3f7865[_0x172c5e];return _0x24be95;},a53_0x172c(_0x3a85da,_0x2b8c0a);}const a53_0x291553=a53_0x172c;function a53_0x3f78(){const _0x4332b1=['jXROO','30izEjfn','appAutomate','BROWSERSTACK_API_URL','jRiuD','APP_UPLOAD_URL','getInstance','XVeyW','whgJi','5005957vJjyuu','wIntO','tVfMU','PLAYWRIGHT_HUB_URL','replace','getAutomateSessionNameAPIUrl','FhpIv','82649rRAfSy','eFPVn','Trzmq','rBIIL','edsInstrumentation','tSset','RwfNB','648474vLxUci','zXSSn','oYhHS','getAppAutomateSessionStatusAPIUrl','VNymq','kmcwn','ofnma','endsWith','getAppAutomateSessionNameAPIUrl','/playwright?caps=','rgfYQ','Twgpl','1057740dEMzhF','1082438QObQGe','NnIuX','QVvGT','NtWGN','exports','getAutomateSessionStatusAPIUrl','EDS_URL','inXmD','OBSERVABILITY_UPLOAD_URL','ZzIeB','hFCPh','FqHiS','YTPaD','Fadyu','25KjWZPI','FuyNc','xVLPU','NRwtX','KVgHG','772vfmjaA','wPWpl','mcHJW','xUFpq','apis','PQoTa','IOyEJ','ZydYB','./constants','kSwQq','./sharedUtils','getConfig','VdFKn','HrIrB','observability','FtDLG','getPlaywrightHubUrl','SQOkx','LNTFu','GRlrp','dkzCx','8006985rtdvaS','Bwvyt','sPloL','ZHfAj','hbPCO','automate','NjVGO','getAutomateSessionsListAPIUrl','getBStackAPIUrl','NVufY','RMDqz','hYDAU','22710CHWpOu','KKjkJ','lnpej','HWxZX','rVDCn','api','AOcvg','toString','YTPwh','cdp','8DdNPpR'];a53_0x3f78=function(){return _0x4332b1;};return a53_0x3f78();}(function(_0xad8806,_0x483e9d){const _0x512579=a53_0x172c,_0x160403=_0xad8806();while(!![]){try{const _0x282432=-parseInt(_0x512579(0x129))/0x1+parseInt(_0x512579(0x128))/0x2+-parseInt(_0x512579(0x15d))/0x3*(-parseInt(_0x512579(0x13c))/0x4)+parseInt(_0x512579(0x137))/0x5*(-parseInt(_0x512579(0x11c))/0x6)+-parseInt(_0x512579(0x178))/0x7*(-parseInt(_0x512579(0x167))/0x8)+-parseInt(_0x512579(0x151))/0x9+parseInt(_0x512579(0x169))/0xa*(parseInt(_0x512579(0x171))/0xb);if(_0x282432===_0x483e9d)break;else _0x160403['push'](_0x160403['shift']());}catch(_0x377be3){_0x160403['push'](_0x160403['shift']());}}}(a53_0x3f78,0xd09b2));const constants=require(a53_0x291553(0x144)),{nestedKeyValue}=require(a53_0x291553(0x146)),getBrowserstackCLI=()=>{const _0x2ab4c7=a53_0x291553,_0x141c6f={'FuyNc':function(_0x1dbcaf,_0x26c186){return _0x1dbcaf(_0x26c186);},'inXmD':'../v2/browserstackCLI'};return _0x141c6f[_0x2ab4c7(0x138)](require,_0x141c6f[_0x2ab4c7(0x130)]);};class APIUtilityMethods{static[a53_0x291553(0x159)](_0x334909){const _0x5a4e14=a53_0x291553,_0xa9b363={'kmcwn':function(_0x1701b5){return _0x1701b5();},'xVLPU':function(_0x1ad2f8,_0x174392,_0x239b52){return _0x1ad2f8(_0x174392,_0x239b52);},'ZzIeB':_0x5a4e14(0x140),'mcHJW':'automate','OfDks':_0x5a4e14(0x162),'tVfMU':function(_0x58b1f5,_0x2f7fa4){return _0x58b1f5===_0x2f7fa4;},'yxERN':function(_0x1589bb,_0x5e0bc1){return _0x1589bb+_0x5e0bc1;}},_0x31aae9=_0xa9b363[_0x5a4e14(0x121)](getBrowserstackCLI),_0x43e555=_0xa9b363[_0x5a4e14(0x139)](nestedKeyValue,_0x31aae9[_0x5a4e14(0x16e)]()[_0x5a4e14(0x147)](),[_0xa9b363[_0x5a4e14(0x132)],_0xa9b363[_0x5a4e14(0x13e)],_0xa9b363['OfDks']])||constants[_0x5a4e14(0x16b)];if(!_0x334909||_0xa9b363[_0x5a4e14(0x173)](_0x334909,''))return _0x43e555;const _0x5aaa56=_0x43e555['endsWith']('/')?_0x43e555:_0xa9b363['yxERN'](_0x43e555,'/');return new URL(_0x334909,_0x5aaa56)[_0x5a4e14(0x164)]();}static['getEdsInstrumentationAPIUrl'](_0x19931a){const _0x2fd29d=a53_0x291553,_0x39dbac={'ZydYB':function(_0x5b75f8){return _0x5b75f8();},'autLc':function(_0x4e02f9,_0x1c3102,_0x2ae909){return _0x4e02f9(_0x1c3102,_0x2ae909);},'IOyEJ':_0x2fd29d(0x140),'NRwtX':_0x2fd29d(0x119),'wIntO':_0x2fd29d(0x162),'NjVGO':function(_0x5b4cd0,_0x573b84){return _0x5b4cd0===_0x573b84;},'rBIIL':function(_0x21feb5,_0x5234f9){return _0x21feb5+_0x5234f9;}},_0x2a3f3e=_0x39dbac[_0x2fd29d(0x143)](getBrowserstackCLI),_0x5ce71e=_0x39dbac['autLc'](nestedKeyValue,_0x2a3f3e[_0x2fd29d(0x16e)]()[_0x2fd29d(0x147)](),[_0x39dbac[_0x2fd29d(0x142)],_0x39dbac[_0x2fd29d(0x13a)],_0x39dbac[_0x2fd29d(0x172)]])||constants[_0x2fd29d(0x12f)];if(!_0x19931a||_0x39dbac[_0x2fd29d(0x157)](_0x19931a,''))return _0x5ce71e;const _0x52cdfd=_0x5ce71e[_0x2fd29d(0x123)]('/')?_0x5ce71e:_0x39dbac[_0x2fd29d(0x118)](_0x5ce71e,'/');return new URL(_0x19931a,_0x52cdfd)[_0x2fd29d(0x164)]();}static[a53_0x291553(0x12e)](_0x541566){const _0x305682=a53_0x291553,_0x24aba1={'YTPaD':function(_0x42f57e){return _0x42f57e();},'sPloL':function(_0x21eb37,_0x59795b,_0x4ccaeb){return _0x21eb37(_0x59795b,_0x4ccaeb);},'PQoTa':_0x305682(0x140),'wPWpl':_0x305682(0x156),'dkzCx':'api','UgoAP':function(_0x564e06,_0x248ba5){return _0x564e06===_0x248ba5;},'KKjkJ':function(_0xf8d83b,_0x47e124){return _0xf8d83b+_0x47e124;}},_0x5e249e=_0x24aba1[_0x305682(0x135)](getBrowserstackCLI),_0x1dadd8=_0x24aba1[_0x305682(0x153)](nestedKeyValue,_0x5e249e[_0x305682(0x16e)]()[_0x305682(0x147)](),[_0x24aba1[_0x305682(0x141)],_0x24aba1[_0x305682(0x13d)],_0x24aba1[_0x305682(0x150)]])||constants[_0x305682(0x16b)];if(!_0x541566||_0x24aba1['UgoAP'](_0x541566,''))return _0x1dadd8;const _0x14092a=_0x1dadd8[_0x305682(0x123)]('/')?_0x1dadd8:_0x24aba1[_0x305682(0x15e)](_0x1dadd8,'/');return new URL(_0x541566,_0x14092a)['toString']();}static[a53_0x291553(0x11f)](_0x48dced){const _0x5bca0b=a53_0x291553,_0x211bc6={'UPGIk':function(_0x251b3f){return _0x251b3f();},'DfTBd':function(_0x2df7d2,_0x53b9c0,_0x483f2b){return _0x2df7d2(_0x53b9c0,_0x483f2b);},'AOcvg':'apis','hYDAU':_0x5bca0b(0x16a),'umZKP':_0x5bca0b(0x162),'RMDqz':function(_0x390fce,_0x1ed72d){return _0x390fce===_0x1ed72d;},'ZHfAj':function(_0x33db39,_0x3a2e60){return _0x33db39+_0x3a2e60;}},_0x514d9b=_0x211bc6['UPGIk'](getBrowserstackCLI),_0x31abfa=_0x211bc6['DfTBd'](nestedKeyValue,_0x514d9b['getInstance']()['getConfig'](),[_0x211bc6[_0x5bca0b(0x163)],_0x211bc6[_0x5bca0b(0x15c)],_0x211bc6['umZKP']])||constants[_0x5bca0b(0x16b)];if(!_0x48dced||_0x211bc6[_0x5bca0b(0x15b)](_0x48dced,''))return _0x31abfa;const _0x582ba2=_0x31abfa[_0x5bca0b(0x123)]('/')?_0x31abfa:_0x211bc6[_0x5bca0b(0x154)](_0x31abfa,'/');return new URL(_0x48dced,_0x582ba2)['toString']();}static[a53_0x291553(0x176)](_0x2a9ac0){const _0x432fa6=a53_0x291553,_0x329f5e={'zXSSn':function(_0x26c39e){return _0x26c39e();},'jXROO':function(_0x44ea80,_0x2495d1,_0x59e43e){return _0x44ea80(_0x2495d1,_0x59e43e);},'VdFKn':_0x432fa6(0x140),'PsVux':_0x432fa6(0x156),'yZQUM':_0x432fa6(0x162),'EjhyX':function(_0x4c656c,_0x4b26d5){return _0x4c656c===_0x4b26d5;},'HrIrB':function(_0x5a8d1a,_0x1af96a){return _0x5a8d1a+_0x1af96a;}},_0x1209ef=_0x329f5e[_0x432fa6(0x11d)](getBrowserstackCLI),_0x528063=_0x329f5e[_0x432fa6(0x168)](nestedKeyValue,_0x1209ef[_0x432fa6(0x16e)]()[_0x432fa6(0x147)](),[_0x329f5e[_0x432fa6(0x148)],_0x329f5e['PsVux'],_0x329f5e['yZQUM']])||constants['BROWSERSTACK_API_URL'];if(!_0x2a9ac0||_0x329f5e['EjhyX'](_0x2a9ac0,''))return _0x528063;const _0x47573f=_0x528063[_0x432fa6(0x123)]('/')?_0x528063:_0x329f5e[_0x432fa6(0x149)](_0x528063,'/');return new URL(_0x2a9ac0,_0x47573f)[_0x432fa6(0x164)]();}static[a53_0x291553(0x124)](_0x580ed7){const _0x15610e=a53_0x291553,_0x47ff95={'RwfNB':function(_0x39c593){return _0x39c593();},'jRiuD':function(_0x54ca69,_0x4ea2a8,_0x494abf){return _0x54ca69(_0x4ea2a8,_0x494abf);},'rgfYQ':_0x15610e(0x140),'Twgpl':_0x15610e(0x16a),'FqHiS':_0x15610e(0x162),'LNTFu':function(_0x29a741,_0x43a879){return _0x29a741===_0x43a879;},'bytll':function(_0x3d85a2,_0x1ca514){return _0x3d85a2+_0x1ca514;}},_0x167124=_0x47ff95[_0x15610e(0x11b)](getBrowserstackCLI),_0x176c56=_0x47ff95[_0x15610e(0x16c)](nestedKeyValue,_0x167124['getInstance']()['getConfig'](),[_0x47ff95[_0x15610e(0x126)],_0x47ff95[_0x15610e(0x127)],_0x47ff95[_0x15610e(0x134)]])||constants[_0x15610e(0x16b)];if(!_0x580ed7||_0x47ff95[_0x15610e(0x14e)](_0x580ed7,''))return _0x176c56;const _0x5262a2=_0x176c56['endsWith']('/')?_0x176c56:_0x47ff95['bytll'](_0x176c56,'/');return new URL(_0x580ed7,_0x5262a2)[_0x15610e(0x164)]();}static[a53_0x291553(0x158)](_0x425395){const _0x5378f1=a53_0x291553,_0x1093bc={'SQOkx':function(_0x186b36){return _0x186b36();},'YTPwh':function(_0x1ac088,_0x4fea79,_0x4ce5e1){return _0x1ac088(_0x4fea79,_0x4ce5e1);},'VNymq':_0x5378f1(0x140),'HWxZX':'automate','NnIuX':_0x5378f1(0x162),'oYhHS':function(_0x5130f3,_0x2d897b){return _0x5130f3===_0x2d897b;},'xUFpq':function(_0x323f16,_0x49bbdc){return _0x323f16+_0x49bbdc;}},_0x505094=_0x1093bc[_0x5378f1(0x14d)](getBrowserstackCLI),_0x5cb0de=_0x1093bc[_0x5378f1(0x165)](nestedKeyValue,_0x505094['getInstance']()[_0x5378f1(0x147)](),[_0x1093bc[_0x5378f1(0x120)],_0x1093bc[_0x5378f1(0x160)],_0x1093bc[_0x5378f1(0x12a)]])||constants[_0x5378f1(0x16b)];if(!_0x425395||_0x1093bc[_0x5378f1(0x11e)](_0x425395,''))return _0x5cb0de;const _0x4969bc=_0x5cb0de[_0x5378f1(0x123)]('/')?_0x5cb0de:_0x1093bc[_0x5378f1(0x13f)](_0x5cb0de,'/');return new URL(_0x425395,_0x4969bc)[_0x5378f1(0x164)]()[_0x5378f1(0x175)](/^https?:\/\//,'');}static['getAppAutomateSessionsListAPIUrl'](_0xd29a4f){const _0x18177b=a53_0x291553,_0x492cd5={'DTSCI':function(_0x2bfe87){return _0x2bfe87();},'eFPVn':function(_0x4773bf,_0x1a3a00,_0x22a053){return _0x4773bf(_0x1a3a00,_0x22a053);},'Trzmq':_0x18177b(0x140),'NtWGN':_0x18177b(0x16a),'whgJi':'api','lnpej':function(_0x5f20c5,_0x1a2c8b){return _0x5f20c5===_0x1a2c8b;},'QVvGT':function(_0x3a6f73,_0x53d603){return _0x3a6f73+_0x53d603;}},_0x2fe348=_0x492cd5['DTSCI'](getBrowserstackCLI),_0x2ae29c=_0x492cd5[_0x18177b(0x179)](nestedKeyValue,_0x2fe348[_0x18177b(0x16e)]()[_0x18177b(0x147)](),[_0x492cd5[_0x18177b(0x17a)],_0x492cd5[_0x18177b(0x12c)],_0x492cd5[_0x18177b(0x170)]])||constants[_0x18177b(0x16d)];if(!_0xd29a4f||_0x492cd5[_0x18177b(0x15f)](_0xd29a4f,''))return _0x2ae29c;const _0x417c4a=_0x2ae29c['endsWith']('/')?_0x2ae29c:_0x492cd5[_0x18177b(0x12b)](_0x2ae29c,'/');return new URL(_0xd29a4f,_0x417c4a)['toString']()[_0x18177b(0x175)](/^https?:\/\//,'');}static['getAutoCaptureLogsAPIUrl'](_0x8bb779){const _0x5971c6=a53_0x291553,_0x3e5631={'ofnma':function(_0x5f5464){return _0x5f5464();},'XVeyW':function(_0x11c7bb,_0x593ebe,_0x444aa2){return _0x11c7bb(_0x593ebe,_0x444aa2);},'hbPCO':_0x5971c6(0x140),'FtDLG':_0x5971c6(0x14a),'ZyETZ':'upload','Fadyu':function(_0x5bac1f,_0x4c7348){return _0x5bac1f===_0x4c7348;},'Bwvyt':function(_0x38ec88,_0x1b85ac){return _0x38ec88+_0x1b85ac;}},_0x441e22=_0x3e5631[_0x5971c6(0x122)](getBrowserstackCLI),_0x34fc2a=_0x3e5631[_0x5971c6(0x16f)](nestedKeyValue,_0x441e22[_0x5971c6(0x16e)]()[_0x5971c6(0x147)](),[_0x3e5631[_0x5971c6(0x155)],_0x3e5631[_0x5971c6(0x14b)],_0x3e5631['ZyETZ']])||constants[_0x5971c6(0x131)];if(!_0x8bb779||_0x3e5631[_0x5971c6(0x136)](_0x8bb779,''))return _0x34fc2a;const _0x263f4c=_0x34fc2a[_0x5971c6(0x123)]('/')?_0x34fc2a:_0x3e5631[_0x5971c6(0x152)](_0x34fc2a,'/');return new URL(_0x8bb779,_0x263f4c)['toString']();}static[a53_0x291553(0x14c)](_0x4012fe){const _0x247804=a53_0x291553,_0x5b3737={'kSwQq':function(_0x37ecf2){return _0x37ecf2();},'FhpIv':function(_0x2ac96d,_0x5794de,_0x449719){return _0x2ac96d(_0x5794de,_0x449719);},'KVgHG':_0x247804(0x140),'NVufY':'automate','tSset':_0x247804(0x166),'rVDCn':'wss:','HvblB':function(_0x40c5a5,_0x5cbf44){return _0x40c5a5===_0x5cbf44;},'GRlrp':function(_0x369a32,_0x8ba045){return _0x369a32+_0x8ba045;},'hFCPh':_0x247804(0x125)},_0x2baead=_0x5b3737[_0x247804(0x145)](getBrowserstackCLI),_0x345271=_0x5b3737[_0x247804(0x177)](nestedKeyValue,_0x2baead[_0x247804(0x16e)]()[_0x247804(0x147)](),[_0x5b3737[_0x247804(0x13b)],_0x5b3737[_0x247804(0x15a)],_0x5b3737[_0x247804(0x11a)]]),_0x1ca5d9=(_0x345271?_0x345271[_0x247804(0x175)](/^https:/,_0x5b3737[_0x247804(0x161)]):null)||constants[_0x247804(0x174)];let _0x1f0723;if(!_0x4012fe||_0x5b3737['HvblB'](_0x4012fe,''))_0x1f0723=_0x1ca5d9;else{const _0x5cd0f4=_0x1ca5d9[_0x247804(0x123)]('/')?_0x1ca5d9:_0x5b3737[_0x247804(0x14f)](_0x1ca5d9,'/');_0x1f0723=new URL(_0x4012fe,_0x5cd0f4)[_0x247804(0x164)]();}return!_0x1f0723['endsWith'](_0x5b3737['hFCPh'])&&(_0x1f0723+=_0x5b3737[_0x247804(0x133)]),_0x1f0723;}}module[a53_0x291553(0x12d)]=APIUtilityMethods;
|
|
1
|
+
const a53_0x58911c=a53_0x4405;function a53_0xbbf7(){const _0x4f9a32=['HJFVn','exports','hdRDr','getBStackAPIUrl','APP_UPLOAD_URL','/playwright?caps=','EDS_URL','wss:','TZqLa','156853tlYaLC','toString','getAppAutomateSessionsListAPIUrl','OqahL','fxktb','mXQrh','replace','piYQZ','NKHHn','lokwz','XoXuS','../v2/browserstackCLI','endsWith','eUbko','getEdsInstrumentationAPIUrl','VgBkS','getAppAutomateSessionNameAPIUrl','1980420DuyoDP','wutwy','IOPrv','getAutoCaptureLogsAPIUrl','11krBdln','appAutomate','bPicL','mjThN','getAutomateSessionStatusAPIUrl','Hzfzj','133RalRNk','getAutomateSessionsListAPIUrl','xvwhm','lwnrY','nLmnt','YWYYe','dfzzl','api','HntzG','XodTe','10gJSLIN','SsfSB','sIvpj','PLAYWRIGHT_HUB_URL','TqjYT','VYeWm','EQgTs','CUjqw','1630wbKogk','63384hrSBFx','getInstance','kXzTn','qMBSi','OkmsI','upload','kKlHa','zrmRP','FfVbh','getAppAutomateSessionStatusAPIUrl','rXjPX','cARXo','VXAAA','GtPXc','CBhSs','dLmiJ','./constants','BROWSERSTACK_API_URL','hwRLw','970txSEvF','observability','1086jreyyA','bzNyo','apis','OncPC','edsInstrumentation','859984vatbEL','cPOty','iPiYD','Ifumz','RnZPK','XtoCQ','16398xCCUcW','automate','getConfig','zmmdV','./sharedUtils','fFKTz','YVhIE','1461666joEoox','CiStd'];a53_0xbbf7=function(){return _0x4f9a32;};return a53_0xbbf7();}(function(_0x41f9cc,_0x1deb89){const _0x127b84=a53_0x4405,_0x514722=_0x41f9cc();while(!![]){try{const _0x2b8060=-parseInt(_0x127b84(0x19a))/0x1+parseInt(_0x127b84(0x17b))/0x2*(parseInt(_0x127b84(0x17d))/0x3)+-parseInt(_0x127b84(0x182))/0x4*(-parseInt(_0x127b84(0x1bf))/0x5)+-parseInt(_0x127b84(0x18f))/0x6+parseInt(_0x127b84(0x1b5))/0x7*(parseInt(_0x127b84(0x168))/0x8)+-parseInt(_0x127b84(0x188))/0x9*(parseInt(_0x127b84(0x167))/0xa)+-parseInt(_0x127b84(0x1af))/0xb*(-parseInt(_0x127b84(0x1ab))/0xc);if(_0x2b8060===_0x1deb89)break;else _0x514722['push'](_0x514722['shift']());}catch(_0x47922e){_0x514722['push'](_0x514722['shift']());}}}(a53_0xbbf7,0x369c4));const constants=require(a53_0x58911c(0x178)),{nestedKeyValue}=require(a53_0x58911c(0x18c)),getBrowserstackCLI=()=>{const _0x317584=a53_0x58911c,_0x5b37d2={'hdRDr':function(_0x1ea62e,_0x42341c){return _0x1ea62e(_0x42341c);},'lwnrY':_0x317584(0x1a5)};return _0x5b37d2[_0x317584(0x193)](require,_0x5b37d2[_0x317584(0x1b8)]);};function a53_0x4405(_0x445003,_0x43a982){const _0xbbf7ae=a53_0xbbf7();return a53_0x4405=function(_0x4405c4,_0x387620){_0x4405c4=_0x4405c4-0x164;let _0x4b9793=_0xbbf7ae[_0x4405c4];return _0x4b9793;},a53_0x4405(_0x445003,_0x43a982);}class APIUtilityMethods{static[a53_0x58911c(0x194)](_0xbd7d6){const _0x15e61f=a53_0x58911c,_0x108889={'YVhIE':function(_0x2a29c5){return _0x2a29c5();},'SMxnY':function(_0x303dbe,_0x4d5ca9,_0x2729d8){return _0x303dbe(_0x4d5ca9,_0x2729d8);},'hwRLw':_0x15e61f(0x17f),'FfVbh':'automate','XtoCQ':_0x15e61f(0x1bc),'GtPXc':function(_0x4ea59c,_0x478137){return _0x4ea59c===_0x478137;},'lokwz':function(_0x2582bd,_0x4693d6){return _0x2582bd+_0x4693d6;}},_0x2dd3b3=_0x108889[_0x15e61f(0x18e)](getBrowserstackCLI),_0x3eab79=_0x108889['SMxnY'](nestedKeyValue,_0x2dd3b3[_0x15e61f(0x169)]()[_0x15e61f(0x18a)](),[_0x108889[_0x15e61f(0x17a)],_0x108889[_0x15e61f(0x170)],_0x108889[_0x15e61f(0x187)]])||constants['BROWSERSTACK_API_URL'];if(!_0xbd7d6||_0x108889[_0x15e61f(0x175)](_0xbd7d6,''))return _0x3eab79;const _0x630602=_0x3eab79[_0x15e61f(0x1a6)]('/')?_0x3eab79:_0x108889[_0x15e61f(0x1a3)](_0x3eab79,'/');return new URL(_0xbd7d6,_0x630602)['toString']();}static[a53_0x58911c(0x1a8)](_0x50cfaa){const _0x53c3a7=a53_0x58911c,_0x355cf4={'kKlHa':function(_0x5eac65){return _0x5eac65();},'ECTBY':function(_0x58b975,_0x43126e,_0x2311a4){return _0x58b975(_0x43126e,_0x2311a4);},'RnZPK':'apis','TqjYT':_0x53c3a7(0x181),'xvwhm':_0x53c3a7(0x1bc),'cPOty':function(_0x2f5a3a,_0x55653c){return _0x2f5a3a===_0x55653c;},'kXzTn':function(_0x359b65,_0xd34213){return _0x359b65+_0xd34213;}},_0x579d05=_0x355cf4[_0x53c3a7(0x16e)](getBrowserstackCLI),_0x494255=_0x355cf4['ECTBY'](nestedKeyValue,_0x579d05[_0x53c3a7(0x169)]()[_0x53c3a7(0x18a)](),[_0x355cf4[_0x53c3a7(0x186)],_0x355cf4[_0x53c3a7(0x1c3)],_0x355cf4[_0x53c3a7(0x1b7)]])||constants[_0x53c3a7(0x197)];if(!_0x50cfaa||_0x355cf4[_0x53c3a7(0x183)](_0x50cfaa,''))return _0x494255;const _0x38486e=_0x494255['endsWith']('/')?_0x494255:_0x355cf4[_0x53c3a7(0x16a)](_0x494255,'/');return new URL(_0x50cfaa,_0x38486e)[_0x53c3a7(0x19b)]();}static[a53_0x58911c(0x1b3)](_0x52b2c7){const _0x4c477b=a53_0x58911c,_0x191697={'dPjgk':function(_0x15550c){return _0x15550c();},'bzNyo':function(_0x40a4f8,_0x40c5ed,_0x261ad2){return _0x40a4f8(_0x40c5ed,_0x261ad2);},'zrmRP':_0x4c477b(0x17f),'wutwy':_0x4c477b(0x189),'Hzfzj':_0x4c477b(0x1bc),'qMBSi':function(_0x3c8481,_0x34fa09){return _0x3c8481===_0x34fa09;},'JEWsl':function(_0x204989,_0x25d055){return _0x204989+_0x25d055;}},_0x3f470b=_0x191697['dPjgk'](getBrowserstackCLI),_0x1bfe86=_0x191697[_0x4c477b(0x17e)](nestedKeyValue,_0x3f470b[_0x4c477b(0x169)]()[_0x4c477b(0x18a)](),[_0x191697[_0x4c477b(0x16f)],_0x191697[_0x4c477b(0x1ac)],_0x191697[_0x4c477b(0x1b4)]])||constants[_0x4c477b(0x179)];if(!_0x52b2c7||_0x191697[_0x4c477b(0x16b)](_0x52b2c7,''))return _0x1bfe86;const _0x3a2605=_0x1bfe86['endsWith']('/')?_0x1bfe86:_0x191697['JEWsl'](_0x1bfe86,'/');return new URL(_0x52b2c7,_0x3a2605)[_0x4c477b(0x19b)]();}static[a53_0x58911c(0x171)](_0x1d6216){const _0x52e48f=a53_0x58911c,_0x126c5a={'eUbko':function(_0x15b37d){return _0x15b37d();},'OhLKa':function(_0x4569c4,_0x1d367e,_0x6321a7){return _0x4569c4(_0x1d367e,_0x6321a7);},'fxktb':_0x52e48f(0x17f),'fFKTz':_0x52e48f(0x1b0),'WcDyD':_0x52e48f(0x1bc),'piYQZ':function(_0x27f587,_0x4ef59f){return _0x27f587===_0x4ef59f;},'cARXo':function(_0x5f3a17,_0x5764fc){return _0x5f3a17+_0x5764fc;}},_0xbaeed4=_0x126c5a[_0x52e48f(0x1a7)](getBrowserstackCLI),_0x2532b2=_0x126c5a['OhLKa'](nestedKeyValue,_0xbaeed4[_0x52e48f(0x169)]()['getConfig'](),[_0x126c5a[_0x52e48f(0x19e)],_0x126c5a[_0x52e48f(0x18d)],_0x126c5a['WcDyD']])||constants['BROWSERSTACK_API_URL'];if(!_0x1d6216||_0x126c5a[_0x52e48f(0x1a1)](_0x1d6216,''))return _0x2532b2;const _0x336836=_0x2532b2['endsWith']('/')?_0x2532b2:_0x126c5a[_0x52e48f(0x173)](_0x2532b2,'/');return new URL(_0x1d6216,_0x336836)[_0x52e48f(0x19b)]();}static['getAutomateSessionNameAPIUrl'](_0x497bc5){const _0x4a20bf=a53_0x58911c,_0x1714ec={'VXAAA':function(_0x3be306){return _0x3be306();},'IOPrv':function(_0x422ff0,_0x3b96a5,_0x464284){return _0x422ff0(_0x3b96a5,_0x464284);},'XNwOo':_0x4a20bf(0x17f),'merUV':_0x4a20bf(0x189),'DXhfG':_0x4a20bf(0x1bc),'QazEq':function(_0xc4a190,_0x44e66b){return _0xc4a190===_0x44e66b;},'bPicL':function(_0xf388f2,_0x448842){return _0xf388f2+_0x448842;}},_0x50f331=_0x1714ec[_0x4a20bf(0x174)](getBrowserstackCLI),_0x1600eb=_0x1714ec[_0x4a20bf(0x1ad)](nestedKeyValue,_0x50f331[_0x4a20bf(0x169)]()['getConfig'](),[_0x1714ec['XNwOo'],_0x1714ec['merUV'],_0x1714ec['DXhfG']])||constants['BROWSERSTACK_API_URL'];if(!_0x497bc5||_0x1714ec['QazEq'](_0x497bc5,''))return _0x1600eb;const _0x589ca7=_0x1600eb[_0x4a20bf(0x1a6)]('/')?_0x1600eb:_0x1714ec[_0x4a20bf(0x1b1)](_0x1600eb,'/');return new URL(_0x497bc5,_0x589ca7)[_0x4a20bf(0x19b)]();}static[a53_0x58911c(0x1aa)](_0x3a5579){const _0x4ea160=a53_0x58911c,_0x267748={'iPiYD':function(_0x57da85){return _0x57da85();},'XodTe':function(_0x4063c5,_0x500b74,_0x288be9){return _0x4063c5(_0x500b74,_0x288be9);},'HJFVn':_0x4ea160(0x17f),'sIvpj':_0x4ea160(0x1b0),'Ifumz':_0x4ea160(0x1bc),'mjThN':function(_0x4d80c1,_0x110430){return _0x4d80c1===_0x110430;},'OkmsI':function(_0x28cc83,_0x1bc08c){return _0x28cc83+_0x1bc08c;}},_0x1054d8=_0x267748[_0x4ea160(0x184)](getBrowserstackCLI),_0x4d42a2=_0x267748[_0x4ea160(0x1be)](nestedKeyValue,_0x1054d8[_0x4ea160(0x169)]()['getConfig'](),[_0x267748[_0x4ea160(0x191)],_0x267748[_0x4ea160(0x1c1)],_0x267748[_0x4ea160(0x185)]])||constants['BROWSERSTACK_API_URL'];if(!_0x3a5579||_0x267748[_0x4ea160(0x1b2)](_0x3a5579,''))return _0x4d42a2;const _0x369e46=_0x4d42a2['endsWith']('/')?_0x4d42a2:_0x267748[_0x4ea160(0x16c)](_0x4d42a2,'/');return new URL(_0x3a5579,_0x369e46)[_0x4ea160(0x19b)]();}static[a53_0x58911c(0x1b6)](_0x9ca4b3){const _0x45427c=a53_0x58911c,_0x322975={'CUBrh':function(_0x223133){return _0x223133();},'YWYYe':function(_0x30eb4a,_0x46ec70,_0x192152){return _0x30eb4a(_0x46ec70,_0x192152);},'XoXuS':_0x45427c(0x17f),'VYeWm':_0x45427c(0x189),'mXQrh':_0x45427c(0x1bc),'OqahL':function(_0x38662e,_0x596f4a){return _0x38662e===_0x596f4a;},'TZqLa':function(_0x57f2de,_0x1eb53a){return _0x57f2de+_0x1eb53a;}},_0x592a0c=_0x322975['CUBrh'](getBrowserstackCLI),_0x233383=_0x322975[_0x45427c(0x1ba)](nestedKeyValue,_0x592a0c['getInstance']()[_0x45427c(0x18a)](),[_0x322975[_0x45427c(0x1a4)],_0x322975[_0x45427c(0x164)],_0x322975[_0x45427c(0x19f)]])||constants[_0x45427c(0x179)];if(!_0x9ca4b3||_0x322975[_0x45427c(0x19d)](_0x9ca4b3,''))return _0x233383;const _0x4413c8=_0x233383[_0x45427c(0x1a6)]('/')?_0x233383:_0x322975[_0x45427c(0x199)](_0x233383,'/');return new URL(_0x9ca4b3,_0x4413c8)[_0x45427c(0x19b)]()[_0x45427c(0x1a0)](/^https?:\/\//,'');}static[a53_0x58911c(0x19c)](_0x4fe2f2){const _0x473011=a53_0x58911c,_0x933618={'dLmiJ':function(_0x3fc774){return _0x3fc774();},'VgBkS':function(_0x47d6a4,_0x4c8ea2,_0xfe1eb){return _0x47d6a4(_0x4c8ea2,_0xfe1eb);},'CiStd':_0x473011(0x17f),'CBhSs':'appAutomate','Knamy':_0x473011(0x1bc),'zmmdV':function(_0x47a5f0,_0x585fce){return _0x47a5f0===_0x585fce;},'OncPC':function(_0x4324fb,_0x12ec49){return _0x4324fb+_0x12ec49;}},_0x5419df=_0x933618[_0x473011(0x177)](getBrowserstackCLI),_0x170082=_0x933618[_0x473011(0x1a9)](nestedKeyValue,_0x5419df[_0x473011(0x169)]()[_0x473011(0x18a)](),[_0x933618[_0x473011(0x190)],_0x933618[_0x473011(0x176)],_0x933618['Knamy']])||constants[_0x473011(0x195)];if(!_0x4fe2f2||_0x933618[_0x473011(0x18b)](_0x4fe2f2,''))return _0x170082;const _0x104d23=_0x170082['endsWith']('/')?_0x170082:_0x933618[_0x473011(0x180)](_0x170082,'/');return new URL(_0x4fe2f2,_0x104d23)['toString']()[_0x473011(0x1a0)](/^https?:\/\//,'');}static[a53_0x58911c(0x1ae)](_0x2d794c){const _0x154c9a=a53_0x58911c,_0x32edc0={'NKHHn':function(_0x2f6bce){return _0x2f6bce();},'rXjPX':function(_0x25ad6c,_0x4db19d,_0x461805){return _0x25ad6c(_0x4db19d,_0x461805);},'jrjsW':_0x154c9a(0x17f),'vKAgT':_0x154c9a(0x17c),'hmlDG':_0x154c9a(0x16d),'xidPI':function(_0x466cd2,_0xd6e012){return _0x466cd2===_0xd6e012;},'EQgTs':function(_0x523954,_0x65e1f9){return _0x523954+_0x65e1f9;}},_0x271530=_0x32edc0[_0x154c9a(0x1a2)](getBrowserstackCLI),_0x2238f7=_0x32edc0[_0x154c9a(0x172)](nestedKeyValue,_0x271530[_0x154c9a(0x169)]()[_0x154c9a(0x18a)](),[_0x32edc0['jrjsW'],_0x32edc0['vKAgT'],_0x32edc0['hmlDG']])||constants['OBSERVABILITY_UPLOAD_URL'];if(!_0x2d794c||_0x32edc0['xidPI'](_0x2d794c,''))return _0x2238f7;const _0x340fa2=_0x2238f7[_0x154c9a(0x1a6)]('/')?_0x2238f7:_0x32edc0[_0x154c9a(0x165)](_0x2238f7,'/');return new URL(_0x2d794c,_0x340fa2)[_0x154c9a(0x19b)]();}static['getPlaywrightHubUrl'](_0x2ec542){const _0x27a136=a53_0x58911c,_0x337c62={'nLmnt':function(_0x1646a8){return _0x1646a8();},'CUjqw':function(_0x4fa7cb,_0x1d3336,_0x51fa6e){return _0x4fa7cb(_0x1d3336,_0x51fa6e);},'HntzG':_0x27a136(0x17f),'HvySV':_0x27a136(0x189),'OHmuQ':'cdp','sEaAB':_0x27a136(0x198),'MCOXx':function(_0x563369,_0x20763c){return _0x563369===_0x20763c;},'dfzzl':function(_0x1a9925,_0x16e8bd){return _0x1a9925+_0x16e8bd;},'SsfSB':_0x27a136(0x196)},_0x54c21c=_0x337c62[_0x27a136(0x1b9)](getBrowserstackCLI),_0x57814e=_0x337c62[_0x27a136(0x166)](nestedKeyValue,_0x54c21c[_0x27a136(0x169)]()[_0x27a136(0x18a)](),[_0x337c62[_0x27a136(0x1bd)],_0x337c62['HvySV'],_0x337c62['OHmuQ']]),_0x37fe4c=(_0x57814e?_0x57814e[_0x27a136(0x1a0)](/^https:/,_0x337c62['sEaAB']):null)||constants[_0x27a136(0x1c2)];let _0x597edf;if(!_0x2ec542||_0x337c62['MCOXx'](_0x2ec542,''))_0x597edf=_0x37fe4c;else{const _0x14b038=_0x37fe4c[_0x27a136(0x1a6)]('/')?_0x37fe4c:_0x337c62[_0x27a136(0x1bb)](_0x37fe4c,'/');_0x597edf=new URL(_0x2ec542,_0x14b038)[_0x27a136(0x19b)]();}return!_0x597edf['endsWith'](_0x337c62[_0x27a136(0x1c0)])&&(_0x597edf+=_0x337c62['SsfSB']),_0x597edf;}}module[a53_0x58911c(0x192)]=APIUtilityMethods;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a54_0x48ced1=a54_0x5655;(function(_0xbdb5cf,_0x5b069f){const _0x3b8681=a54_0x5655,_0x1b712d=_0xbdb5cf();while(!![]){try{const _0x550bdd=-parseInt(_0x3b8681(0x1a6))/0x1+-parseInt(_0x3b8681(0x194))/0x2*(-parseInt(_0x3b8681(0x1af))/0x3)+parseInt(_0x3b8681(0x15a))/0x4*(-parseInt(_0x3b8681(0x15f))/0x5)+parseInt(_0x3b8681(0x18d))/0x6*(parseInt(_0x3b8681(0x1a2))/0x7)+parseInt(_0x3b8681(0x1bc))/0x8+parseInt(_0x3b8681(0x191))/0x9+-parseInt(_0x3b8681(0x157))/0xa*(parseInt(_0x3b8681(0x15d))/0xb);if(_0x550bdd===_0x5b069f)break;else _0x1b712d['push'](_0x1b712d['shift']());}catch(_0x130903){_0x1b712d['push'](_0x1b712d['shift']());}}}(a54_0x9c69,0x5fa8d));const logger=require(a54_0x48ced1(0x190))[a54_0x48ced1(0x17c)],BrowserstackCLI=require(a54_0x48ced1(0x183)),GrpcClient=require(a54_0x48ced1(0x19d)),constants=require(a54_0x48ced1(0x19f));function a54_0x9c69(){const _0x4f391d=['winstonLogger','reportSSLCertIssue','Error\x20in\x20getting\x20error\x20details\x20for\x20','XczFb','push','sfOrQ','uIWDL','../v2/browserstackCLI','gVgjP','logError','size','zmzyK','toString','reportSessionLinkingIssue','FRHoy','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','getErrorMessage','24054LDdpWn','from','hLzlb','../../helpers/logger','5203017iLdxbA','errorCode','SfduM','2HtEHGz','getFinalErrorMessage','KhVUe','lqTuz','gFtgy','replace','Process\x20Interruption\x20details\x20not\x20found:','YdEbL','xoDXV','../v2/grpcClient','vSpzx','./constants','error','MElxd','35HzoEyu','reportFinalDetectionState','[ClientTroubleShootingService]\x20','getAggregatedErrorCodes','534108DvugVj','KLaCz','Akzte','base64','checkForErrorsOccuredInCLI','getAggregatedClientTroubleshootingErrors','finalErrorMessage','documentationLink','WkYNU','1462080riUKKY','SgENm','keys','gpSqL','errorCodesOccurredInCLI','warn','ssl\x20cert\x20issue','GmSoB','Session\x20Linking\x20Issue','getErrorCodesOccurredInCli','Connectivity\x20Issue\x20details\x20not\x20found','KRNij','Conflicting\x20Env\x20Var\x20details\x20not\x20found','5174904mdvaik','WznrG','qWJTA','7605150aArDHu','exports','getInstance','284xXbOvn','eVqRm','EegOm','11nGzazl','getErrorCode','3235UPNJvV','errorCodes','length','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','logSituation','dXNKa','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','Session\x20Linking\x20Issue\x20details\x20not\x20found','mHWMG','RTJRc','getCachedErrorCodes','conflicting\x20env\x20var\x20detected','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','lqFYt','isRunning','reportProcessInterruptionSituation','vpufZ','getErrorDetails','{ENV_VAR}','isArray','getSuccess','FrdgH','parse','{ERROR_CODES}','errorCodesOccurredWhenCLINotRunning','errorMessage','cachedErrorCodes','ourMC','Process\x20Interruption'];a54_0x9c69=function(){return _0x4f391d;};return a54_0x9c69();}class ClientTroubleShootingService{static [a54_0x48ced1(0x179)]=null;static [a54_0x48ced1(0x177)]=new Set();static async[a54_0x48ced1(0x170)](_0xd5235d){const _0x341ba8=a54_0x48ced1,_0x1ee198={};_0x1ee198[_0x341ba8(0x16f)]=function(_0x4d0356,_0x539100){return _0x4d0356!==_0x539100;};const _0x127d91=_0x1ee198;try{if(BrowserstackCLI[_0x341ba8(0x159)]()[_0x341ba8(0x16d)]()){const _0x520986=await GrpcClient['getInstance']()['reportClientTroubleshootingError'](_0xd5235d);if(_0x127d91['vpufZ'](_0x520986,null)&&_0x520986['getSuccess']())return{'errorCode':_0x520986[_0x341ba8(0x15e)](),'errorMessage':_0x520986[_0x341ba8(0x18c)]()};return{};}return{};}catch(_0xa81b30){return this[_0x341ba8(0x185)](_0x341ba8(0x17e)+_0xd5235d+':',_0xa81b30),{};}}static async['getAggregatedErrorCodes'](){const _0x214c28=a54_0x48ced1,_0x4a354d={};_0x4a354d[_0x214c28(0x187)]=function(_0x442378,_0x4ae911){return _0x442378!==_0x4ae911;},_0x4a354d[_0x214c28(0x19b)]=_0x214c28(0x1a9),_0x4a354d[_0x214c28(0x15c)]=_0x214c28(0x162);const _0x449303=_0x4a354d;try{if(BrowserstackCLI[_0x214c28(0x159)]()[_0x214c28(0x16d)]()){const _0x22a659=await GrpcClient['getInstance']()[_0x214c28(0x1ab)]();if(_0x449303['zmzyK'](_0x22a659,null)&&_0x22a659[_0x214c28(0x173)]()){const _0x302a1a=Buffer[_0x214c28(0x18e)](_0x22a659['getErrorCodes'](),_0x449303[_0x214c28(0x19b)])[_0x214c28(0x188)](),_0x5d211e=_0x302a1a?JSON[_0x214c28(0x175)](_0x302a1a):[],_0x2ae03d=_0x22a659['getDocumentationLink'](),_0xe1b20e=_0x22a659[_0x214c28(0x195)](),_0x20ece4=Buffer[_0x214c28(0x18e)](_0x22a659[_0x214c28(0x1b8)](),_0x449303['YdEbL'])[_0x214c28(0x188)](),_0x4ff970=_0x20ece4?JSON['parse'](_0x20ece4):[],_0x228135={};return _0x228135[_0x214c28(0x160)]=_0x5d211e,_0x228135[_0x214c28(0x1ad)]=_0x2ae03d,_0x228135[_0x214c28(0x1ac)]=_0xe1b20e,_0x228135[_0x214c28(0x1b3)]=_0x4ff970,_0x228135;}const _0x2b15ab={};return _0x2b15ab[_0x214c28(0x160)]=[],_0x2b15ab['documentationLink']='',_0x2b15ab[_0x214c28(0x1ac)]='',_0x2b15ab[_0x214c28(0x1b3)]=[],_0x2b15ab;}const _0x396d9a={};return _0x396d9a[_0x214c28(0x160)]=[],_0x396d9a[_0x214c28(0x1ad)]='',_0x396d9a['finalErrorMessage']='',_0x396d9a['errorCodesOccurredInCLI']=[],_0x396d9a;}catch(_0x2787a4){this[_0x214c28(0x185)](_0x449303[_0x214c28(0x15c)],_0x2787a4);const _0x1579a1={};return _0x1579a1[_0x214c28(0x160)]=[],_0x1579a1[_0x214c28(0x1ad)]='',_0x1579a1[_0x214c28(0x1ac)]='',_0x1579a1[_0x214c28(0x1b3)]=[],_0x1579a1;}}static[a54_0x48ced1(0x163)](_0x3bc1d7,_0x23dc74){const _0x45576b=a54_0x48ced1;logger[_0x45576b(0x1b4)](_0x3bc1d7+':\x20'+_0x23dc74);}static[a54_0x48ced1(0x1aa)](_0x4a1a67){const _0xbe93bc=a54_0x48ced1,_0xff6025={};_0xff6025[_0xbe93bc(0x155)]=function(_0x1f4f68,_0x1f682a){return _0x1f4f68!=_0x1f682a;},_0xff6025[_0xbe93bc(0x184)]=function(_0x11490c,_0x40a958){return _0x11490c!=_0x40a958;},_0xff6025[_0xbe93bc(0x19c)]=function(_0xccd6ff,_0xbcd47d){return _0xccd6ff>_0xbcd47d;},_0xff6025['RTJRc']=function(_0x26043f,_0x2228af){return _0x26043f!=_0x2228af;},_0xff6025[_0xbe93bc(0x18f)]=function(_0x317e9f,_0xf4a8a3){return _0x317e9f!=_0xf4a8a3;};const _0x4db5be=_0xff6025,_0x3f5500=[];if(_0x4db5be['WznrG'](_0x4a1a67,null)&&_0x4db5be[_0xbe93bc(0x184)](_0x4a1a67['errorCodesOccurredInCLI'],null)&&_0x4db5be[_0xbe93bc(0x19c)](_0x4a1a67[_0xbe93bc(0x1b3)][_0xbe93bc(0x161)],0x0))for(const _0xedcff of _0x4a1a67[_0xbe93bc(0x1b3)]){_0x4db5be[_0xbe93bc(0x168)](_0xedcff[_0xbe93bc(0x192)],null)&&_0x4db5be[_0xbe93bc(0x18f)](_0xedcff[_0xbe93bc(0x178)],null)&&(_0x3f5500[_0xbe93bc(0x180)](_0xedcff[_0xbe93bc(0x192)]),this[_0xbe93bc(0x163)](_0xedcff[_0xbe93bc(0x192)],_0xedcff[_0xbe93bc(0x178)]));}return _0x3f5500;}static[a54_0x48ced1(0x169)](){const _0x14c445=a54_0x48ced1;return this[_0x14c445(0x179)];}static[a54_0x48ced1(0x185)](_0x9b6a0f,_0x4a53bb){const _0x30b74c=a54_0x48ced1,_0x2eab60={};_0x2eab60[_0x30b74c(0x1b2)]=function(_0x575b92,_0x19e6d0){return _0x575b92===_0x19e6d0;},_0x2eab60[_0x30b74c(0x17f)]='object';const _0x2e339e=_0x2eab60;if(_0x2e339e[_0x30b74c(0x1b2)](typeof _0x4a53bb,_0x2e339e[_0x30b74c(0x17f)]))try{logger[_0x30b74c(0x1a0)](_0x30b74c(0x1a4)+_0x9b6a0f+'\x20'+JSON['stringify'](_0x4a53bb));}catch(_0x53c4a6){logger[_0x30b74c(0x1a0)]('[ClientTroubleShootingService]\x20'+_0x9b6a0f+'\x20'+_0x4a53bb);}else logger[_0x30b74c(0x1a0)](_0x30b74c(0x1a4)+_0x9b6a0f+'\x20'+_0x4a53bb);}static async[a54_0x48ced1(0x16e)](_0x4ae6c8){const _0x3d49ff=a54_0x48ced1,_0x34eb1d={};_0x34eb1d[_0x3d49ff(0x156)]=_0x3d49ff(0x17b),_0x34eb1d[_0x3d49ff(0x1a1)]=function(_0x5bdfe1,_0x13b486){return _0x5bdfe1===_0x13b486;},_0x34eb1d['BdLyh']=_0x3d49ff(0x19a),_0x34eb1d[_0x3d49ff(0x1b6)]='{SIGNAL}';const _0x31aa91=_0x34eb1d,_0x1d53ef=await this[_0x3d49ff(0x170)](_0x31aa91[_0x3d49ff(0x156)]);if(_0x31aa91[_0x3d49ff(0x1a1)](Object[_0x3d49ff(0x1b1)](_0x1d53ef)[_0x3d49ff(0x161)],0x0)){this[_0x3d49ff(0x185)](_0x31aa91['BdLyh'],_0x1d53ef);return;}this[_0x3d49ff(0x163)](_0x1d53ef['errorCode'],_0x1d53ef[_0x3d49ff(0x178)][_0x3d49ff(0x199)](_0x31aa91[_0x3d49ff(0x1b6)],_0x4ae6c8));}static async[a54_0x48ced1(0x189)](){const _0x14cf88=a54_0x48ced1,_0x598182={};_0x598182[_0x14cf88(0x17a)]=_0x14cf88(0x1b7),_0x598182[_0x14cf88(0x1b0)]=function(_0x4e6a46,_0x96e33b){return _0x4e6a46===_0x96e33b;},_0x598182[_0x14cf88(0x182)]=_0x14cf88(0x166);const _0x42a7d1=_0x598182,_0x6bcc2d=await this[_0x14cf88(0x170)](_0x42a7d1[_0x14cf88(0x17a)]);if(_0x42a7d1[_0x14cf88(0x1b0)](Object['keys'](_0x6bcc2d)[_0x14cf88(0x161)],0x0)){this[_0x14cf88(0x185)](_0x42a7d1[_0x14cf88(0x182)],_0x6bcc2d);return;}this['logSituation'](_0x6bcc2d['errorCode'],_0x6bcc2d[_0x14cf88(0x178)]);}static async['reportConnectivityIssue'](){const _0x3af3ee=a54_0x48ced1,_0x50f854={};_0x50f854[_0x3af3ee(0x193)]='browserstack\x20cloud\x20not\x20reachable',_0x50f854['sfOrQ']=function(_0x48b523,_0x500186){return _0x48b523===_0x500186;},_0x50f854[_0x3af3ee(0x174)]=_0x3af3ee(0x1b9);const _0x573234=_0x50f854,_0x30e18a=await this[_0x3af3ee(0x170)](_0x573234[_0x3af3ee(0x193)]);if(_0x573234[_0x3af3ee(0x181)](Object[_0x3af3ee(0x1b1)](_0x30e18a)[_0x3af3ee(0x161)],0x0)){this[_0x3af3ee(0x185)](_0x573234[_0x3af3ee(0x174)],_0x30e18a);return;}this[_0x3af3ee(0x163)](_0x30e18a[_0x3af3ee(0x192)],_0x30e18a['errorMessage']);}static async[a54_0x48ced1(0x17d)](){const _0x3d1160=a54_0x48ced1,_0xd2288e={};_0xd2288e[_0x3d1160(0x1ae)]=_0x3d1160(0x1b5),_0xd2288e[_0x3d1160(0x18a)]=function(_0x346ef8,_0x344221){return _0x346ef8===_0x344221;},_0xd2288e['lqFYt']=_0x3d1160(0x18b);const _0x2c0389=_0xd2288e,_0x2b34ea=await this[_0x3d1160(0x170)](_0x2c0389[_0x3d1160(0x1ae)]);if(_0x2c0389['FRHoy'](Object[_0x3d1160(0x1b1)](_0x2b34ea)[_0x3d1160(0x161)],0x0)){this[_0x3d1160(0x185)](_0x2c0389[_0x3d1160(0x16c)],_0x2b34ea);return;}this[_0x3d1160(0x163)](_0x2b34ea[_0x3d1160(0x192)],_0x2b34ea[_0x3d1160(0x178)]);}static['reportDotBrowserStackFolderNotAccessibleIssue'](){const _0x2ae772=a54_0x48ced1,_0x3433c7={};_0x3433c7['XyLzv']='.browserstack\x20folder\x20not\x20accessible',_0x3433c7[_0x2ae772(0x198)]=function(_0x10f952,_0x1e1571){return _0x10f952===_0x1e1571;},_0x3433c7[_0x2ae772(0x197)]=_0x2ae772(0x16b);const _0x458578=_0x3433c7,_0x5d7d6a=constants['CLIENT_TROUBLESHOOTING_HASH'][_0x458578['XyLzv']];if(_0x458578['gFtgy'](Object[_0x2ae772(0x1b1)](_0x5d7d6a)[_0x2ae772(0x161)],0x0)){this[_0x2ae772(0x185)](_0x458578['lqTuz'],_0x5d7d6a);return;}this[_0x2ae772(0x177)]['add'](_0x5d7d6a[0x0]),this[_0x2ae772(0x163)](_0x5d7d6a[0x0],_0x5d7d6a[0x1]);}static async['reportConflictingEnvVarIssue'](_0x318121){const _0x4daebe=a54_0x48ced1,_0x273f32={};_0x273f32[_0x4daebe(0x164)]=_0x4daebe(0x16a),_0x273f32[_0x4daebe(0x167)]=function(_0x24ed09,_0x5f1c84){return _0x24ed09===_0x5f1c84;},_0x273f32[_0x4daebe(0x19e)]=_0x4daebe(0x1bb),_0x273f32[_0x4daebe(0x1a8)]=_0x4daebe(0x171);const _0x32a7ec=_0x273f32,_0x578ef0=await this['getErrorDetails'](_0x32a7ec['dXNKa']);if(_0x32a7ec[_0x4daebe(0x167)](Object['keys'](_0x578ef0)['length'],0x0)){this[_0x4daebe(0x185)](_0x32a7ec[_0x4daebe(0x19e)],_0x578ef0);return;}const _0x5313be=_0x578ef0[_0x4daebe(0x178)]['replace'](_0x32a7ec[_0x4daebe(0x1a8)],_0x318121);this[_0x4daebe(0x163)](_0x578ef0[_0x4daebe(0x192)],_0x5313be);}static async[a54_0x48ced1(0x1a3)](){const _0x548798=a54_0x48ced1,_0x4148cd={};_0x4148cd[_0x548798(0x1ba)]=function(_0x4a7624,_0x566bc6){return _0x4a7624>_0x566bc6;},_0x4148cd[_0x548798(0x15b)]=function(_0x107574,_0xbcbb01){return _0x107574>_0xbcbb01;},_0x4148cd[_0x548798(0x196)]=_0x548798(0x176),_0x4148cd[_0x548798(0x1a7)]=_0x548798(0x165);const _0x48e668=_0x4148cd,_0x4f3452=await this[_0x548798(0x1a5)](),_0x5d235f=this[_0x548798(0x1aa)](_0x4f3452),_0x30cd82=Array[_0x548798(0x172)](_0x4f3452[_0x548798(0x160)])?_0x4f3452[_0x548798(0x160)]:[],_0x3bbf76=_0x48e668['KRNij'](this[_0x548798(0x177)][_0x548798(0x186)],0x0)?Array['from'](this[_0x548798(0x177)]):[],_0x48a3ed=new Set([..._0x30cd82,..._0x5d235f,..._0x3bbf76]),_0x3a72ee=Array['from'](_0x48a3ed);if(_0x48e668[_0x548798(0x15b)](_0x3a72ee['length'],0x0)){const _0x2241d4=_0x4f3452[_0x548798(0x1ac)][_0x548798(0x199)](_0x48e668[_0x548798(0x196)],_0x3a72ee['join'](',\x20'))['replace'](_0x48e668[_0x548798(0x1a7)],_0x4f3452[_0x548798(0x1ad)]);logger[_0x548798(0x1b4)](_0x2241d4),this[_0x548798(0x179)]=_0x3a72ee;}}}function a54_0x5655(_0x208dee,_0x360dc3){const _0x9c691a=a54_0x9c69();return a54_0x5655=function(_0x5655b4,_0x38e25c){_0x5655b4=_0x5655b4-0x155;let _0x11802c=_0x9c691a[_0x5655b4];return _0x11802c;},a54_0x5655(_0x208dee,_0x360dc3);}module[a54_0x48ced1(0x158)]=ClientTroubleShootingService;
|
|
1
|
+
const a54_0x3ad931=a54_0xac96;(function(_0x7b2728,_0x539c13){const _0xeeac1d=a54_0xac96,_0x2df0bd=_0x7b2728();while(!![]){try{const _0x1fe34e=-parseInt(_0xeeac1d(0x127))/0x1*(-parseInt(_0xeeac1d(0x11a))/0x2)+parseInt(_0xeeac1d(0x158))/0x3+parseInt(_0xeeac1d(0x10c))/0x4*(-parseInt(_0xeeac1d(0x11d))/0x5)+-parseInt(_0xeeac1d(0x148))/0x6*(-parseInt(_0xeeac1d(0x119))/0x7)+-parseInt(_0xeeac1d(0x117))/0x8*(-parseInt(_0xeeac1d(0x166))/0x9)+-parseInt(_0xeeac1d(0x152))/0xa*(parseInt(_0xeeac1d(0x167))/0xb)+parseInt(_0xeeac1d(0x101))/0xc*(-parseInt(_0xeeac1d(0x14e))/0xd);if(_0x1fe34e===_0x539c13)break;else _0x2df0bd['push'](_0x2df0bd['shift']());}catch(_0x4b31f0){_0x2df0bd['push'](_0x2df0bd['shift']());}}}(a54_0x2695,0xeb1a7));function a54_0x2695(){const _0x46be95=['2585304vlWToI','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','dkqLn','nGmzx','Idpsw','SSkjX','AfbZU','object','getErrorCodes','[ClientTroubleShootingService]\x20','parse','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','getErrorMessage','size','773073hHngGD','11fUYkdr','IobLo','getFinalErrorMessage','MnKcY','getSuccess','replace','errorCodesOccurredInCLI','180JSUJEH','reportConnectivityIssue','getErrorCodesOccurredInCli','checkForErrorsOccuredInCLI','cachedErrorCodes','push','TyZhc','tOJhv','isRunning','qrEfG','XZEhH','35184YMQxff','Process\x20Interruption','Session\x20Linking\x20Issue\x20details\x20not\x20found','errorCodesOccurredWhenCLINotRunning','Connectivity\x20Issue\x20details\x20not\x20found','{ERROR_CODES}','logSituation','JTHWS','pAGPm','exports','toString','168wAfGHZ','aywtw','662459bcSJoL','16kDmnMw','Error\x20in\x20getting\x20error\x20details\x20for\x20','kNbnv','710bxYxJT','reportConflictingEnvVarIssue','../v2/browserstackCLI','aOroB','{ENV_VAR}','JdZKi','documentationLink','.browserstack\x20folder\x20not\x20accessible','reportClientTroubleshootingError','from','11551obefOE','../../helpers/logger','errorCodes','getInstance','errorCode','FNjjz','uLFNK','getErrorDetails','mfKni','length','reportSessionLinkingIssue','logError','join','stringify','nGVRT','LOOAd','Process\x20Interruption\x20details\x20not\x20found:','Imjgm','keys','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','conflicting\x20env\x20var\x20detected','error','../v2/grpcClient','nkaWv','winstonLogger','browserstack\x20cloud\x20not\x20reachable','getDocumentationLink','getCachedErrorCodes','VrdJu','warn','hSujn','getAggregatedErrorCodes','add','108KmGoMD','rMehb','reportSSLCertIssue','./constants','pLKwu','UjNkh','327379nsgrfY','finalErrorMessage','ivrnc','Session\x20Linking\x20Issue','18717190goBgdh','zSlzS','errorMessage','reportProcessInterruptionSituation','{SIGNAL}','reportFinalDetectionState'];a54_0x2695=function(){return _0x46be95;};return a54_0x2695();}function a54_0xac96(_0x428a9f,_0x5b3806){const _0x269578=a54_0x2695();return a54_0xac96=function(_0xac9665,_0x49c977){_0xac9665=_0xac9665-0xff;let _0x12a4a6=_0x269578[_0xac9665];return _0x12a4a6;},a54_0xac96(_0x428a9f,_0x5b3806);}const logger=require(a54_0x3ad931(0x128))[a54_0x3ad931(0x13f)],BrowserstackCLI=require(a54_0x3ad931(0x11f)),GrpcClient=require(a54_0x3ad931(0x13d)),constants=require(a54_0x3ad931(0x14b));class ClientTroubleShootingService{static [a54_0x3ad931(0x105)]=null;static [a54_0x3ad931(0x10f)]=new Set();static async[a54_0x3ad931(0x12e)](_0x1c96ca){const _0x292e04=a54_0x3ad931,_0x23239e={};_0x23239e[_0x292e04(0x145)]=function(_0x40ffd9,_0xeac8ca){return _0x40ffd9!==_0xeac8ca;};const _0x3e1b44=_0x23239e;try{if(BrowserstackCLI[_0x292e04(0x12a)]()[_0x292e04(0x109)]()){const _0x3a4892=await GrpcClient['getInstance']()[_0x292e04(0x125)](_0x1c96ca);if(_0x3e1b44[_0x292e04(0x145)](_0x3a4892,null)&&_0x3a4892[_0x292e04(0x16b)]())return{'errorCode':_0x3a4892['getErrorCode'](),'errorMessage':_0x3a4892[_0x292e04(0x164)]()};return{};}return{};}catch(_0x1501ed){return this[_0x292e04(0x132)](_0x292e04(0x11b)+_0x1c96ca+':',_0x1501ed),{};}}static async[a54_0x3ad931(0x146)](){const _0xcab02b=a54_0x3ad931,_0x48fff2={};_0x48fff2[_0xcab02b(0x15e)]=function(_0x1446ac,_0x501170){return _0x1446ac!==_0x501170;},_0x48fff2[_0xcab02b(0x13e)]='base64',_0x48fff2[_0xcab02b(0x10a)]=_0xcab02b(0x13a);const _0x26aec7=_0x48fff2;try{if(BrowserstackCLI[_0xcab02b(0x12a)]()[_0xcab02b(0x109)]()){const _0x2d84fd=await GrpcClient['getInstance']()['getAggregatedClientTroubleshootingErrors']();if(_0x26aec7[_0xcab02b(0x15e)](_0x2d84fd,null)&&_0x2d84fd[_0xcab02b(0x16b)]()){const _0x4a7e0d=Buffer[_0xcab02b(0x126)](_0x2d84fd[_0xcab02b(0x160)](),_0x26aec7['nkaWv'])['toString'](),_0x2ee8ac=_0x4a7e0d?JSON[_0xcab02b(0x162)](_0x4a7e0d):[],_0x167d6c=_0x2d84fd[_0xcab02b(0x141)](),_0x613989=_0x2d84fd[_0xcab02b(0x169)](),_0x16f893=Buffer[_0xcab02b(0x126)](_0x2d84fd[_0xcab02b(0x103)](),_0x26aec7[_0xcab02b(0x13e)])[_0xcab02b(0x116)](),_0x3e1726=_0x16f893?JSON['parse'](_0x16f893):[],_0x49cbd3={};return _0x49cbd3[_0xcab02b(0x129)]=_0x2ee8ac,_0x49cbd3[_0xcab02b(0x123)]=_0x167d6c,_0x49cbd3[_0xcab02b(0x14f)]=_0x613989,_0x49cbd3[_0xcab02b(0x100)]=_0x3e1726,_0x49cbd3;}const _0x14375f={};return _0x14375f[_0xcab02b(0x129)]=[],_0x14375f[_0xcab02b(0x123)]='',_0x14375f[_0xcab02b(0x14f)]='',_0x14375f[_0xcab02b(0x100)]=[],_0x14375f;}const _0x35f25e={};return _0x35f25e['errorCodes']=[],_0x35f25e['documentationLink']='',_0x35f25e[_0xcab02b(0x14f)]='',_0x35f25e[_0xcab02b(0x100)]=[],_0x35f25e;}catch(_0x53cf1f){this[_0xcab02b(0x132)](_0x26aec7['qrEfG'],_0x53cf1f);const _0x1defab={};return _0x1defab[_0xcab02b(0x129)]=[],_0x1defab[_0xcab02b(0x123)]='',_0x1defab[_0xcab02b(0x14f)]='',_0x1defab[_0xcab02b(0x100)]=[],_0x1defab;}}static[a54_0x3ad931(0x112)](_0x51e876,_0x15d9fe){const _0x3acb67=a54_0x3ad931;logger[_0x3acb67(0x144)](_0x51e876+':\x20'+_0x15d9fe);}static[a54_0x3ad931(0x104)](_0x55525d){const _0x449e5b=a54_0x3ad931,_0x343d92={};_0x343d92[_0x449e5b(0x14c)]=function(_0x42144a,_0x47bfb2){return _0x42144a!=_0x47bfb2;},_0x343d92[_0x449e5b(0x168)]=function(_0x1d13f4,_0x59a575){return _0x1d13f4!=_0x59a575;},_0x343d92[_0x449e5b(0x107)]=function(_0x1ea79f,_0x34db3e){return _0x1ea79f>_0x34db3e;},_0x343d92[_0x449e5b(0x12f)]=function(_0x445a23,_0x175fe1){return _0x445a23!=_0x175fe1;};const _0x375bed=_0x343d92,_0x224aa7=[];if(_0x375bed[_0x449e5b(0x14c)](_0x55525d,null)&&_0x375bed[_0x449e5b(0x168)](_0x55525d[_0x449e5b(0x100)],null)&&_0x375bed[_0x449e5b(0x107)](_0x55525d['errorCodesOccurredInCLI'][_0x449e5b(0x130)],0x0))for(const _0x530db5 of _0x55525d[_0x449e5b(0x100)]){_0x375bed[_0x449e5b(0x14c)](_0x530db5['errorCode'],null)&&_0x375bed[_0x449e5b(0x12f)](_0x530db5['errorMessage'],null)&&(_0x224aa7[_0x449e5b(0x106)](_0x530db5[_0x449e5b(0x12b)]),this[_0x449e5b(0x112)](_0x530db5[_0x449e5b(0x12b)],_0x530db5[_0x449e5b(0x154)]));}return _0x224aa7;}static[a54_0x3ad931(0x142)](){const _0x4420ba=a54_0x3ad931;return this[_0x4420ba(0x105)];}static['logError'](_0x176148,_0xb53afe){const _0x8e3fbb=a54_0x3ad931,_0x295ac3={};_0x295ac3['SSkjX']=function(_0x35243a,_0x5be775){return _0x35243a===_0x5be775;},_0x295ac3[_0x8e3fbb(0x150)]=_0x8e3fbb(0x15f);const _0xaae7ae=_0x295ac3;if(_0xaae7ae[_0x8e3fbb(0x15d)](typeof _0xb53afe,_0xaae7ae[_0x8e3fbb(0x150)]))try{logger[_0x8e3fbb(0x13c)](_0x8e3fbb(0x161)+_0x176148+'\x20'+JSON[_0x8e3fbb(0x134)](_0xb53afe));}catch(_0x231076){logger[_0x8e3fbb(0x13c)]('[ClientTroubleShootingService]\x20'+_0x176148+'\x20'+_0xb53afe);}else logger[_0x8e3fbb(0x13c)]('[ClientTroubleShootingService]\x20'+_0x176148+'\x20'+_0xb53afe);}static async[a54_0x3ad931(0x155)](_0x1ab7cd){const _0x35d40a=a54_0x3ad931,_0x409439={};_0x409439[_0x35d40a(0x14d)]=_0x35d40a(0x10d),_0x409439[_0x35d40a(0x108)]=function(_0x400600,_0x11aaf9){return _0x400600===_0x11aaf9;},_0x409439[_0x35d40a(0x143)]=_0x35d40a(0x137),_0x409439[_0x35d40a(0x122)]=_0x35d40a(0x156);const _0x4eb818=_0x409439,_0x1b6c8b=await this[_0x35d40a(0x12e)](_0x4eb818[_0x35d40a(0x14d)]);if(_0x4eb818[_0x35d40a(0x108)](Object[_0x35d40a(0x139)](_0x1b6c8b)[_0x35d40a(0x130)],0x0)){this[_0x35d40a(0x132)](_0x4eb818[_0x35d40a(0x143)],_0x1b6c8b);return;}this[_0x35d40a(0x112)](_0x1b6c8b[_0x35d40a(0x12b)],_0x1b6c8b[_0x35d40a(0x154)][_0x35d40a(0xff)](_0x4eb818[_0x35d40a(0x122)],_0x1ab7cd));}static async[a54_0x3ad931(0x131)](){const _0x16f921=a54_0x3ad931,_0x5679e3={};_0x5679e3[_0x16f921(0x15c)]=_0x16f921(0x151),_0x5679e3[_0x16f921(0x15b)]=function(_0x4019ad,_0x567f61){return _0x4019ad===_0x567f61;},_0x5679e3[_0x16f921(0x12d)]=_0x16f921(0x10e);const _0x3eeb2f=_0x5679e3,_0x2b4032=await this[_0x16f921(0x12e)](_0x3eeb2f['Idpsw']);if(_0x3eeb2f['nGmzx'](Object[_0x16f921(0x139)](_0x2b4032)[_0x16f921(0x130)],0x0)){this['logError'](_0x3eeb2f[_0x16f921(0x12d)],_0x2b4032);return;}this[_0x16f921(0x112)](_0x2b4032['errorCode'],_0x2b4032[_0x16f921(0x154)]);}static async[a54_0x3ad931(0x102)](){const _0x380015=a54_0x3ad931,_0x581324={};_0x581324[_0x380015(0x149)]=_0x380015(0x140),_0x581324[_0x380015(0x11c)]=function(_0x23711e,_0x4909d3){return _0x23711e===_0x4909d3;},_0x581324[_0x380015(0x12c)]=_0x380015(0x110);const _0x5b8568=_0x581324,_0x491302=await this['getErrorDetails'](_0x5b8568[_0x380015(0x149)]);if(_0x5b8568[_0x380015(0x11c)](Object[_0x380015(0x139)](_0x491302)[_0x380015(0x130)],0x0)){this[_0x380015(0x132)](_0x5b8568[_0x380015(0x12c)],_0x491302);return;}this['logSituation'](_0x491302[_0x380015(0x12b)],_0x491302[_0x380015(0x154)]);}static async[a54_0x3ad931(0x14a)](){const _0x20a52c=a54_0x3ad931,_0x125fe2={};_0x125fe2['Imjgm']='ssl\x20cert\x20issue',_0x125fe2[_0x20a52c(0x153)]=function(_0x5cd1d2,_0x409691){return _0x5cd1d2===_0x409691;},_0x125fe2['JTHWS']=_0x20a52c(0x163);const _0x298b9b=_0x125fe2,_0x36270c=await this[_0x20a52c(0x12e)](_0x298b9b[_0x20a52c(0x138)]);if(_0x298b9b[_0x20a52c(0x153)](Object[_0x20a52c(0x139)](_0x36270c)[_0x20a52c(0x130)],0x0)){this[_0x20a52c(0x132)](_0x298b9b[_0x20a52c(0x113)],_0x36270c);return;}this['logSituation'](_0x36270c[_0x20a52c(0x12b)],_0x36270c[_0x20a52c(0x154)]);}static['reportDotBrowserStackFolderNotAccessibleIssue'](){const _0x15aa04=a54_0x3ad931,_0x526acc={};_0x526acc['blMFZ']=_0x15aa04(0x124),_0x526acc[_0x15aa04(0x16a)]=function(_0x59f029,_0x3b788a){return _0x59f029===_0x3b788a;},_0x526acc['fUfDT']='.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found';const _0x5eb054=_0x526acc,_0x1abc35=constants['CLIENT_TROUBLESHOOTING_HASH'][_0x5eb054['blMFZ']];if(_0x5eb054['MnKcY'](Object['keys'](_0x1abc35)[_0x15aa04(0x130)],0x0)){this[_0x15aa04(0x132)](_0x5eb054['fUfDT'],_0x1abc35);return;}this[_0x15aa04(0x10f)][_0x15aa04(0x147)](_0x1abc35[0x0]),this[_0x15aa04(0x112)](_0x1abc35[0x0],_0x1abc35[0x1]);}static async[a54_0x3ad931(0x11e)](_0x4db50e){const _0x4c6c5f=a54_0x3ad931,_0x389dfa={};_0x389dfa[_0x4c6c5f(0x118)]=_0x4c6c5f(0x13b),_0x389dfa[_0x4c6c5f(0x135)]=function(_0xf0218b,_0x26d5ec){return _0xf0218b===_0x26d5ec;},_0x389dfa[_0x4c6c5f(0x136)]='Conflicting\x20Env\x20Var\x20details\x20not\x20found',_0x389dfa[_0x4c6c5f(0x10b)]=_0x4c6c5f(0x121);const _0x1c5eae=_0x389dfa,_0x242d18=await this[_0x4c6c5f(0x12e)](_0x1c5eae[_0x4c6c5f(0x118)]);if(_0x1c5eae[_0x4c6c5f(0x135)](Object['keys'](_0x242d18)[_0x4c6c5f(0x130)],0x0)){this[_0x4c6c5f(0x132)](_0x1c5eae['LOOAd'],_0x242d18);return;}const _0x2e19e7=_0x242d18[_0x4c6c5f(0x154)][_0x4c6c5f(0xff)](_0x1c5eae[_0x4c6c5f(0x10b)],_0x4db50e);this['logSituation'](_0x242d18[_0x4c6c5f(0x12b)],_0x2e19e7);}static async[a54_0x3ad931(0x157)](){const _0x471ad7=a54_0x3ad931,_0x2ec32d={};_0x2ec32d[_0x471ad7(0x120)]=function(_0x447236,_0x1152a3){return _0x447236>_0x1152a3;},_0x2ec32d[_0x471ad7(0x114)]=_0x471ad7(0x111),_0x2ec32d[_0x471ad7(0x15a)]=_0x471ad7(0x159);const _0x23bb89=_0x2ec32d,_0x7c0ff0=await this[_0x471ad7(0x146)](),_0x477479=this[_0x471ad7(0x104)](_0x7c0ff0),_0x55c262=Array['isArray'](_0x7c0ff0[_0x471ad7(0x129)])?_0x7c0ff0[_0x471ad7(0x129)]:[],_0x24f79b=_0x23bb89[_0x471ad7(0x120)](this[_0x471ad7(0x10f)][_0x471ad7(0x165)],0x0)?Array['from'](this[_0x471ad7(0x10f)]):[],_0x16978d=new Set([..._0x55c262,..._0x477479,..._0x24f79b]),_0x5f2a7f=Array[_0x471ad7(0x126)](_0x16978d);if(_0x23bb89['aOroB'](_0x5f2a7f['length'],0x0)){const _0x28fa4a=_0x7c0ff0['finalErrorMessage'][_0x471ad7(0xff)](_0x23bb89[_0x471ad7(0x114)],_0x5f2a7f[_0x471ad7(0x133)](',\x20'))['replace'](_0x23bb89[_0x471ad7(0x15a)],_0x7c0ff0[_0x471ad7(0x123)]);logger[_0x471ad7(0x144)](_0x28fa4a),this[_0x471ad7(0x105)]=_0x5f2a7f;}}}module[a54_0x3ad931(0x115)]=ClientTroubleShootingService;
|