browserstack-node-sdk 1.46.7 → 1.46.8
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/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/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/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
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a49_0x362f6e=a49_0x4b3d;(function(_0x1b69be,_0x5a87ab){const _0x1f2014=a49_0x4b3d,_0x54860e=_0x1b69be();while(!![]){try{const _0x23d958=-parseInt(_0x1f2014(0xa9))/0x1+parseInt(_0x1f2014(0x6e))/0x2*(-parseInt(_0x1f2014(0x67))/0x3)+-parseInt(_0x1f2014(0x87))/0x4*(-parseInt(_0x1f2014(0x8b))/0x5)+parseInt(_0x1f2014(0x7d))/0x6*(-parseInt(_0x1f2014(0x6d))/0x7)+parseInt(_0x1f2014(0x92))/0x8*(parseInt(_0x1f2014(0x81))/0x9)+-parseInt(_0x1f2014(0x6b))/0xa*(parseInt(_0x1f2014(0xa1))/0xb)+parseInt(_0x1f2014(0xa7))/0xc;if(_0x23d958===_0x5a87ab)break;else _0x54860e['push'](_0x54860e['shift']());}catch(_0x112f48){_0x54860e['push'](_0x54860e['shift']());}}}(a49_0x206d,0x82d36));const fs=require('fs'),helper=require(a49_0x362f6e(0x97)),utilities=require(a49_0x362f6e(0x69)),yaml=require(a49_0x362f6e(0x72)),yargs=require(a49_0x362f6e(0xb5)),logger=require(a49_0x362f6e(0x83))[a49_0x362f6e(0x73)],configFileTemplate=__dirname+a49_0x362f6e(0xb0),configFileTemplatePW=__dirname+a49_0x362f6e(0x8f),configFile=process[a49_0x362f6e(0x9a)]()+a49_0x362f6e(0x91),packageFile=process[a49_0x362f6e(0x9a)]()+a49_0x362f6e(0xa6),frameworks=['mocha',a49_0x362f6e(0x8a),a49_0x362f6e(0x90),a49_0x362f6e(0x8e),a49_0x362f6e(0x76),a49_0x362f6e(0x7b),a49_0x362f6e(0x74)];let config;logger[a49_0x362f6e(0x71)](a49_0x362f6e(0x99)),createConfigurationFile(yargs['argv'][a49_0x362f6e(0x66)],yargs[a49_0x362f6e(0x8d)]['key'],yargs[a49_0x362f6e(0x8d)][a49_0x362f6e(0x74)]);try{sdkSetup();}catch(a49_0x4f57ca){logger['debug'](a49_0x362f6e(0x82)+a49_0x4f57ca);}addScriptInPackageJson();function createConfigurationFile(_0x13271f,_0x53c5fc,_0xd7425d=![]){const _0x46aa9e=a49_0x362f6e,_0x31246c={};_0x31246c['HrzcJ']=_0x46aa9e(0x9d),_0x31246c[_0x46aa9e(0xa0)]=_0x46aa9e(0xb3),_0x31246c[_0x46aa9e(0xa4)]=_0x46aa9e(0x85);const _0x3263e2=_0x31246c;try{let _0x2ec063=fs['readFileSync'](_0xd7425d?configFileTemplatePW:configFileTemplate,_0x3263e2[_0x46aa9e(0x9c)]);_0x13271f&&(_0x2ec063=_0x2ec063[_0x46aa9e(0xa3)](_0x3263e2[_0x46aa9e(0xa0)],_0x13271f)),_0x53c5fc&&(_0x2ec063=_0x2ec063[_0x46aa9e(0xa3)](_0x3263e2[_0x46aa9e(0xa4)],_0x53c5fc)),config=yaml[_0x46aa9e(0x88)](_0x2ec063),fs[_0x46aa9e(0xab)](configFile,_0x2ec063,_0xa487be=>{const _0x1b1974=_0x46aa9e;_0xa487be&&logger[_0x1b1974(0x95)](_0xa487be);});}catch(_0x2492b9){logger[_0x46aa9e(0x95)](_0x2492b9);}}function addPostInstallScript(_0x51f030,_0x1d032e){const _0x4d8aaa=a49_0x362f6e,_0x244705={};_0x244705['zHeoT']=_0x4d8aaa(0xb4),_0x244705[_0x4d8aaa(0xac)]='npm\x20update\x20browserstack-node-sdk',_0x244705[_0x4d8aaa(0xaf)]=_0x4d8aaa(0x9e);const _0x3cfada=_0x244705;let _0xc5b58b=_0x51f030[_0x3cfada[_0x4d8aaa(0x86)]];if(_0xc5b58b&&_0xc5b58b[_0x4d8aaa(0x98)](_0x3cfada[_0x4d8aaa(0xac)]))return;!_0xc5b58b?_0xc5b58b=_0x3cfada[_0x4d8aaa(0xac)]:_0xc5b58b+=_0x3cfada[_0x4d8aaa(0xaf)],_0x1d032e[_0x4d8aaa(0x6c)]([_0x3cfada[_0x4d8aaa(0x86)],_0xc5b58b]);}function addScriptInPackageJson(){const _0x57e487=a49_0x362f6e,_0x58f76d={'eejYl':_0x57e487(0x9d),'tLgzz':function(_0x3f3a38,_0x81a1a8){return _0x3f3a38<_0x81a1a8;},'NYffp':function(_0x41b95a,_0x299343,_0x3635af){return _0x41b95a(_0x299343,_0x3635af);},'AIRDN':function(_0x220ed4,_0xb3516,_0x52257f){return _0x220ed4(_0xb3516,_0x52257f);},'JrLDX':function(_0x4405ab,_0x5c0208){return _0x4405ab<_0x5c0208;},'qEgIU':function(_0x475f9b,_0x264f6b){return _0x475f9b!==_0x264f6b;},'TjGBN':_0x57e487(0xb2)},_0x395ad7=JSON[_0x57e487(0x89)](fs['readFileSync'](packageFile,_0x58f76d[_0x57e487(0x80)])),_0xd5c04c=[];for(let _0x110224=0x0;_0x58f76d['tLgzz'](_0x110224,frameworks['length']);_0x110224+=0x1){const _0x2cc20d=_0x58f76d[_0x57e487(0x77)](findScriptsWithFramework,_0x395ad7['scripts'],frameworks[_0x110224]);for(let _0x49e3a3=0x0;_0x58f76d[_0x57e487(0x93)](_0x49e3a3,_0x2cc20d['length']);_0x49e3a3+=0x1){_0xd5c04c['push'](_0x58f76d[_0x57e487(0x77)](getUpdatedCommand,_0x395ad7[_0x57e487(0x84)],_0x2cc20d[_0x49e3a3]));}_0x58f76d[_0x57e487(0x7f)](addPostInstallScript,_0x395ad7[_0x57e487(0x84)],_0xd5c04c);}const _0x1c25cf={..._0x395ad7[_0x57e487(0x84)]},_0x1c7bb8=_0x1c25cf;for(let _0x1b01c2=0x0;_0x58f76d[_0x57e487(0x7e)](_0x1b01c2,_0xd5c04c[_0x57e487(0x7c)]);_0x1b01c2+=0x1){_0x1c7bb8[_0xd5c04c[_0x1b01c2][0x0]]=_0xd5c04c[_0x1b01c2][0x1];}_0x58f76d['qEgIU'](JSON[_0x57e487(0xa2)](_0x395ad7['scripts']),JSON[_0x57e487(0xa2)](_0x1c7bb8))&&(logger[_0x57e487(0x71)](_0x58f76d[_0x57e487(0x6a)]),_0x395ad7[_0x57e487(0x84)]=_0x1c7bb8,fs[_0x57e487(0xab)](packageFile,JSON[_0x57e487(0xa2)](_0x395ad7,null,0x2),_0x498f42=>{const _0x383808=_0x57e487;_0x498f42&&logger[_0x383808(0x95)](_0x498f42);}));};function a49_0x4b3d(_0x3728e4,_0x15783f){const _0x206de7=a49_0x206d();return a49_0x4b3d=function(_0x4b3d8a,_0xfb67bc){_0x4b3d8a=_0x4b3d8a-0x66;let _0x287e34=_0x206de7[_0x4b3d8a];return _0x287e34;},a49_0x4b3d(_0x3728e4,_0x15783f);}function findScriptsWithFramework(_0x4a605d,_0x31bc95){const _0x2efff4=a49_0x362f6e,_0x33eed9={};_0x33eed9[_0x2efff4(0x75)]=function(_0x571ae8,_0x12f5ae){return _0x571ae8<_0x12f5ae;},_0x33eed9['XhCKu']=_0x2efff4(0x8c);const _0xd15dc9=_0x33eed9,_0x4ba1cb=[],_0xda78ca=Object[_0x2efff4(0xa8)](_0x4a605d);for(let _0x32afa0=0x0;_0xd15dc9[_0x2efff4(0x75)](_0x32afa0,_0xda78ca[_0x2efff4(0x7c)]);_0x32afa0+=0x1){_0xda78ca[_0x32afa0][0x1][_0x2efff4(0x98)](_0x31bc95)&&!_0xda78ca[_0x32afa0][0x1][_0x2efff4(0x98)](_0xd15dc9[_0x2efff4(0xad)])&&_0x4ba1cb[_0x2efff4(0x6c)](_0xda78ca[_0x32afa0][0x0]);}return _0x4ba1cb;}function getUpdatedCommand(_0x8551fc,_0x5d5e01){const _0x2e67b9=a49_0x362f6e,_0x55a761={};_0x55a761['iQnJE']=function(_0x59a450,_0x4009c0){return _0x59a450!==_0x4009c0;},_0x55a761[_0x2e67b9(0xaa)]=_0x2e67b9(0x8c),_0x55a761[_0x2e67b9(0x68)]=function(_0x305d92,_0x2eba37){return _0x305d92===_0x2eba37;};const _0x1dfbeb=_0x55a761,_0x19ae93=_0x5d5e01+'-browserstack',_0x28e57d=_0x8551fc[_0x5d5e01],_0x5edbb2=_0x28e57d[_0x2e67b9(0x78)]('\x20');for(const _0x516f14 of frameworks){if(_0x1dfbeb[_0x2e67b9(0x9b)](_0x5edbb2[_0x2e67b9(0x70)](_0x516f14),-0x1)){_0x5edbb2[_0x2e67b9(0x9f)](_0x5edbb2[_0x2e67b9(0x70)](_0x516f14),0x0,_0x1dfbeb[_0x2e67b9(0xaa)]);break;}}let _0x8a3b77=_0x5edbb2['join']('\x20');return _0x1dfbeb[_0x2e67b9(0x68)](_0x8a3b77,_0x28e57d)&&(_0x8a3b77=_0x2e67b9(0x6f)+_0x28e57d),[_0x19ae93,_0x8a3b77];}function a49_0x206d(){const _0x282ddc=['/browserstack.yml','3664orlMqZ','tLgzz','node-setup','error','Setup\x20completed','../helpers/helper','includes','Creating\x20configuration\x20file...','cwd','iQnJE','HrzcJ','utf8','\x20&&\x20npm\x20update\x20browserstack-node-sdk','splice','iwekr','1007479kzSXlz','stringify','replace','DsfwJ','FyaFi','/package.json','23997576XjoTHq','entries','420386NzlEFe','pRriZ','writeFileSync','KeQKx','XhCKu','UHyeX','uGJpU','/../../browserstack.yml.sample','fireFunnelTestEvent','Adding\x20new\x20script(s)\x20in\x20package.json...','YOUR_USERNAME','postinstall','yargs','username','581379XOIuir','DfiTp','../helpers/utilities','TjGBN','50lotRCo','push','14763Hswxkg','6ujGLPj','browserstack-node-sdk\x20','indexOf','info','js-yaml','winstonLogger','playwright','bbLRy','nightwatch','NYffp','split','debug','SDKSetup','codeceptjs','length','1704YZQuiM','JrLDX','AIRDN','eejYl','6039TmgrNt','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','../helpers/logger','scripts','YOUR_ACCESS_KEY','zHeoT','688rRKnUF','load','parse','jest','8355JcwyIf','browserstack-node-sdk','argv','node','/../../browserstack.pw.yml.sample','cucumber-js'];a49_0x206d=function(){return _0x282ddc;};return a49_0x206d();}function sdkSetup(){const _0x1b5c91=a49_0x362f6e,_0x497d74={};_0x497d74[_0x1b5c91(0xa5)]=_0x1b5c91(0x94),_0x497d74[_0x1b5c91(0xae)]=_0x1b5c91(0x7a);const _0x16f0c8=_0x497d74;if(helper['isUndefined'](config))return;config['source']=_0x16f0c8['FyaFi'];try{utilities[_0x1b5c91(0xb1)](_0x16f0c8[_0x1b5c91(0xae)],{},config,'');}catch(_0x1d09d2){logger[_0x1b5c91(0x79)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x1d09d2);}}logger[a49_0x362f6e(0x71)](a49_0x362f6e(0x96));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a50_0x8ec6(_0x34b247,_0x244cee){const _0xe52418=a50_0xe524();return a50_0x8ec6=function(_0x8ec67b,_0x1cb0de){_0x8ec67b=_0x8ec67b-0x85;let _0x31a342=_0xe52418[_0x8ec67b];return _0x31a342;},a50_0x8ec6(_0x34b247,_0x244cee);}const a50_0x4c4203=a50_0x8ec6;(function(_0x528a1d,_0x34ce28){const _0x453972=a50_0x8ec6,_0x2c94ba=_0x528a1d();while(!![]){try{const _0x12007a=-parseInt(_0x453972(0xb5))/0x1*(parseInt(_0x453972(0xea))/0x2)+parseInt(_0x453972(0xd0))/0x3*(parseInt(_0x453972(0xbc))/0x4)+parseInt(_0x453972(0xe3))/0x5+-parseInt(_0x453972(0xda))/0x6+parseInt(_0x453972(0xd4))/0x7*(parseInt(_0x453972(0xb9))/0x8)+-parseInt(_0x453972(0xde))/0x9+parseInt(_0x453972(0xa5))/0xa*(parseInt(_0x453972(0xdd))/0xb);if(_0x12007a===_0x34ce28)break;else _0x2c94ba['push'](_0x2c94ba['shift']());}catch(_0x7a3bb8){_0x2c94ba['push'](_0x2c94ba['shift']());}}}(a50_0xe524,0xc1e48));const Worker=require('jest-worker')['Worker'],Emittery=require(a50_0x4c4203(0xb3)),pLimit=require(a50_0x4c4203(0xe1)),{parentPort}=require(a50_0x4c4203(0xc7)),util=require(a50_0x4c4203(0xa9)),logger=require(a50_0x4c4203(0xb2))[a50_0x4c4203(0xc6)],PerformanceTester=require(a50_0x4c4203(0xba)),PerformanceEvents=require('../../helpers/performance/constants')[a50_0x4c4203(0xb0)],{debug}=require(a50_0x4c4203(0xaf)),TestHubHandler=require(a50_0x4c4203(0xe8));exports[a50_0x4c4203(0xca)]=(_0x58d1af,_0x2c88a8,_0x2a3994)=>new Promise(async _0x529164=>{const _0x1ec170=a50_0x4c4203,_0x347eb0={'ghNdp':'failureCount','vHnbw':function(_0x4a5a97,_0x1c67f9){return _0x4a5a97+_0x1c67f9;},'pjBIU':_0x1ec170(0xe4),'qbjfy':_0x1ec170(0xdb),'xuEmd':function(_0x4b48af,_0x553a92){return _0x4b48af(_0x553a92);},'aSgZv':function(_0x282d11,_0x6fc1e7){return _0x282d11(_0x6fc1e7);},'xZpaG':_0x1ec170(0x91),'Xwsyj':_0x1ec170(0xa7),'pCmSM':_0x1ec170(0x87),'MpUCE':_0x1ec170(0xcd),'iLgjt':_0x1ec170(0x92),'SWdAH':function(_0x49cfe4,_0x27770d){return _0x49cfe4*_0x27770d;},'ZMggW':_0x1ec170(0xb7),'gwBxX':'test-file-failure'},_0x542735=_0x2a3994['config'],_0x195eda={},_0x325f30=new Worker(require['resolve'](_0x347eb0['Xwsyj']),{'exposedMethods':[_0x347eb0[_0x1ec170(0xe6)]],'forkOptions':{'serialization':_0x347eb0['MpUCE'],'stdio':_0x347eb0['iLgjt']},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x347eb0[_0x1ec170(0xdc)](_0x2c88a8,0x1),'enableWorkerThreads':!![]}),_0x1d7278=new Emittery();_0x1d7278['on'](_0x347eb0[_0x1ec170(0xc0)],_0xa46fc2=>{const _0x41a9e1=_0x1ec170;_0x195eda[_0xa46fc2[0x0]]?(_0x195eda[_0xa46fc2[0x0]][_0x347eb0[_0x41a9e1(0xe7)]]=_0x347eb0['vHnbw'](_0x195eda[_0xa46fc2[0x0]][_0x347eb0[_0x41a9e1(0xe7)]],_0xa46fc2[0x1][_0x347eb0[_0x41a9e1(0xe7)]]),_0x195eda[_0xa46fc2[0x0]][_0x347eb0[_0x41a9e1(0xaa)]]=[..._0x195eda[_0xa46fc2[0x0]][_0x347eb0[_0x41a9e1(0xaa)]],..._0xa46fc2[0x1][_0x347eb0[_0x41a9e1(0xaa)]]]):_0x195eda[_0xa46fc2[0x0]]={'failureCount':_0xa46fc2[0x1][_0x347eb0[_0x41a9e1(0xe7)]],'results':[..._0xa46fc2[0x1][_0x347eb0[_0x41a9e1(0xaa)]]]};}),_0x1d7278['on'](_0x347eb0['gwBxX'],_0x35a46c=>console[_0x1ec170(0xc5)](_0x35a46c[0x1]));_0x325f30[_0x1ec170(0xc9)]()&&_0x325f30[_0x1ec170(0xc9)]()[_0x1ec170(0x92)](process[_0x1ec170(0xe9)]);_0x325f30[_0x1ec170(0x8a)]()&&_0x325f30[_0x1ec170(0x8a)]()[_0x1ec170(0x92)](process[_0x1ec170(0x97)]);const _0xd6bae9=async()=>{const _0x840b45=_0x1ec170,{forceExited:_0x3df3ff}=await _0x325f30[_0x840b45(0xa1)]();_0x3df3ff&&console[_0x840b45(0xe2)](_0x347eb0[_0x840b45(0xab)]);try{await TestHubHandler[_0x840b45(0x94)]();}catch(_0xa26342){_0x347eb0[_0x840b45(0x86)](debug,_0x840b45(0xc3)+_0xa26342);}_0x347eb0['aSgZv'](_0x529164,_0x195eda);},_0x30a2d4=_0x347eb0[_0x1ec170(0x8d)](pLimit,_0x347eb0[_0x1ec170(0xdc)](_0x2c88a8,0x1)),_0x2c8f3b=_0x446966=>_0x30a2d4(async()=>{const _0x2bb0ee=_0x1ec170;await _0x1d7278[_0x2bb0ee(0x8e)](_0x347eb0[_0x2bb0ee(0xae)],_0x446966);const _0x3986d7=_0x325f30[_0x2bb0ee(0x87)](_0x446966,_0x542735);try{parentPort&&_0x3986d7[_0x2bb0ee(0x85)](_0x1f8dc6=>{const _0x3cd5b6=_0x2bb0ee;try{parentPort[_0x3cd5b6(0x9e)](_0x1f8dc6);}catch(_0x3dcbba){logger[_0x3cd5b6(0x9f)](_0x3cd5b6(0xe5)+util[_0x3cd5b6(0xb6)](_0x3dcbba));}});}catch(_0x5af94e){logger[_0x2bb0ee(0x9f)](_0x2bb0ee(0xd1)+util[_0x2bb0ee(0xb6)](_0x5af94e));}return _0x3986d7;});PerformanceTester[_0x1ec170(0xa1)](PerformanceEvents[_0x1ec170(0xa8)]),Promise['all'](_0x58d1af[_0x1ec170(0x88)](_0x181901=>_0x2c8f3b(_0x181901)['then'](_0x48d9f3=>_0x1d7278['emit'](_0x1ec170(0xb7),[_0x181901[_0x1ec170(0xbd)][_0x1ec170(0xa6)],_0x48d9f3]),_0x2e4ea4=>_0x1d7278[_0x1ec170(0x8e)](_0x1ec170(0x93),[_0x181901,_0x2e4ea4]))))['then'](_0xd6bae9,_0xd6bae9);}),exports[a50_0x4c4203(0xd5)]=(_0x2dd573,_0xa30a94,_0x2e8835,_0x45737b,_0x168212)=>{const _0x13e668=a50_0x4c4203,_0x4f868d={'WpOkO':_0x13e668(0xdb),'wKqgi':function(_0x9cd7cc,_0x3846aa){return _0x9cd7cc(_0x3846aa);},'JUAdS':_0x13e668(0xc8),'TCMDx':_0x13e668(0xa7),'MkEXE':'cucumberWorker','tImsJ':_0x13e668(0xcd),'cdbeb':_0x13e668(0x92),'XygCU':'platform-run-success','ufyBr':_0x13e668(0xcc),'tIMgW':function(_0x39d2d3,_0x321a16){return _0x39d2d3(_0x321a16);}};return new Promise(_0x62488b=>{const _0x55e49a=_0x13e668,_0x231757={'PsYPr':_0x4f868d[_0x55e49a(0x8c)],'DnytY':function(_0x146776,_0x209331){const _0x42a9bd=_0x55e49a;return _0x4f868d[_0x42a9bd(0x8b)](_0x146776,_0x209331);},'DJVxW':_0x4f868d[_0x55e49a(0x96)]},_0x16e3bc=[],_0x1cb45d=new Worker(require[_0x55e49a(0xa0)](_0x4f868d[_0x55e49a(0xad)]),{'exposedMethods':[_0x4f868d[_0x55e49a(0x9c)]],'forkOptions':{'serialization':_0x4f868d[_0x55e49a(0xbb)],'stdio':_0x4f868d[_0x55e49a(0xe0)]},'numWorkers':_0x2dd573[_0x55e49a(0xa3)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x3a79d9=new Emittery();_0x3a79d9['on'](_0x4f868d[_0x55e49a(0x89)],_0x42efa0=>{const _0x22aa02=_0x55e49a;_0x16e3bc[_0x22aa02(0xb8)]([_0x42efa0[0x0],_0x42efa0[0x1]]);}),_0x3a79d9['on'](_0x4f868d[_0x55e49a(0xa4)],_0x4e245f=>console[_0x55e49a(0xc5)](_0x4e245f[0x1]));_0x1cb45d['getStdout']()&&_0x1cb45d['getStdout']()['pipe'](process[_0x55e49a(0xe9)]);_0x1cb45d['getStderr']()&&_0x1cb45d[_0x55e49a(0x8a)]()[_0x55e49a(0x92)](process[_0x55e49a(0x97)]);const _0x45c0ab=async()=>{const _0x1871e7=_0x55e49a,{forceExited:_0x39c056}=await _0x1cb45d[_0x1871e7(0xa1)]();_0x39c056&&console[_0x1871e7(0xe2)](_0x231757[_0x1871e7(0xac)]),_0x231757['DnytY'](_0x62488b,_0x16e3bc);},_0x1079b1=_0x4f868d[_0x55e49a(0xc1)](pLimit,_0x2dd573[_0x55e49a(0xa3)]||0x1),_0x10a76b=(_0xcdc4ab,_0x7b13d7)=>_0x1079b1(async()=>{const _0x2d3e07=_0x55e49a;return await _0x3a79d9[_0x2d3e07(0x8e)](_0x231757[_0x2d3e07(0x90)],_0xcdc4ab),_0xa30a94[_0x2d3e07(0xbf)]=_0x2e8835[_0x2d3e07(0x9b)][_0x7b13d7],_0x1cb45d[_0x2d3e07(0x9d)](_0xcdc4ab,_0xa30a94,_0x2e8835,_0x45737b,_0x168212);});Promise[_0x55e49a(0xa2)](_0x2dd573[_0x55e49a(0x88)]((_0x34785a,_0x538771)=>_0x10a76b(_0x34785a,_0x538771)['then'](_0x208b8e=>_0x3a79d9['emit'](_0x55e49a(0xb1),[_0x34785a,_0x208b8e]),_0x2fb10f=>_0x3a79d9['emit'](_0x55e49a(0xcc),[_0x34785a,_0x2fb10f]))))[_0x55e49a(0xc4)](_0x45c0ab,_0x45c0ab);});},exports['parallelVanillaRun']=(_0x3e482,_0x8e0c68)=>new Promise(_0x31806e=>{const _0x51ea76=a50_0x4c4203,_0x31715f={'TSxkY':function(_0x27564d,_0x5d98d5){return _0x27564d===_0x5d98d5;},'qKEcD':function(_0x335988,_0x257e7c){return _0x335988!==_0x257e7c;},'bwsdo':_0x51ea76(0xeb),'cqFZx':'Workers\x20failed\x20to\x20exit\x20gracefully','UzMsz':function(_0x2bfff0,_0x1b3de7){return _0x2bfff0(_0x1b3de7);},'KsIRl':_0x51ea76(0xa7),'yvTQB':_0x51ea76(0xc2),'nucEk':_0x51ea76(0xcd),'WdhDq':_0x51ea76(0x92),'eIQRL':_0x51ea76(0xb7),'wKtVF':_0x51ea76(0x93)},_0x411ae4={},_0x3634da=new Worker(require[_0x51ea76(0xa0)](_0x31715f[_0x51ea76(0xd7)]),{'exposedMethods':[_0x31715f[_0x51ea76(0x98)]],'forkOptions':{'serialization':_0x31715f[_0x51ea76(0xd3)],'stdio':_0x31715f['WdhDq']},'numWorkers':_0x8e0c68,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x4fb196=new Emittery();_0x4fb196['on'](_0x31715f[_0x51ea76(0x9a)],_0x2728aa=>{const _0x2b579f=_0x51ea76;_0x2728aa[0x0]&&logger[_0x2b579f(0x8f)](_0x2b579f(0xd2)+_0x2728aa[0x1]+'\x20for',_0x2728aa[0x0]);}),_0x4fb196['on'](_0x31715f['wKtVF'],_0xee8a16=>{const _0x23686e=_0x51ea76;process[_0x23686e(0xb4)]=0x1;});_0x3634da['getStdout']()&&_0x3634da[_0x51ea76(0xc9)]()['pipe'](process['stdout']);_0x3634da['getStderr']()&&_0x3634da[_0x51ea76(0x8a)]()[_0x51ea76(0x92)](process[_0x51ea76(0x97)]);const _0x53b803=async()=>{const _0x400702=_0x51ea76,_0x197d02={'NbNcC':function(_0x493d60,_0x481f77){const _0x331a30=a50_0x8ec6;return _0x31715f[_0x331a30(0x99)](_0x493d60,_0x481f77);},'vWrvQ':function(_0x29ce31,_0x5a183f){const _0x4ebd38=a50_0x8ec6;return _0x31715f[_0x4ebd38(0xdf)](_0x29ce31,_0x5a183f);},'NeFsK':_0x31715f['bwsdo']};let _0x39f7ee=0x0;const _0x22e5db=_0x3634da['_workerPool'][_0x400702(0x95)](),_0x30e335=()=>{},_0x3ec858=_0x22e5db[_0x400702(0x88)](async _0x5db4c9=>{const _0x723422=_0x400702,_0x4fcafc={'lzFth':function(_0x3f6530,_0x37caae){return _0x197d02['NbNcC'](_0x3f6530,_0x37caae);},'Hcucl':function(_0x699578,_0x1fcb90){const _0x3f10b9=a50_0x8ec6;return _0x197d02[_0x3f10b9(0xcb)](_0x699578,_0x1fcb90);}};_0x5db4c9[_0x723422(0xd8)]([0x2,![]],_0x30e335,_0x30e335,_0x30e335),_0x5db4c9['_child']['on'](_0x197d02[_0x723422(0xd9)],_0x41c3fe=>{const _0x321360=_0x723422;_0x4fcafc['lzFth'](_0x39f7ee,0x0)&&_0x4fcafc[_0x321360(0xbe)](_0x41c3fe,0x0)&&(_0x39f7ee=_0x41c3fe);}),await _0x5db4c9['waitForExit']();});await Promise['all'](_0x3ec858),process[_0x400702(0xb4)]=_0x39f7ee;const {forceExited:_0x51e4fa}=await _0x3634da[_0x400702(0xa1)]();_0x51e4fa&&console[_0x400702(0xe2)](_0x31715f[_0x400702(0xce)]),_0x31715f[_0x400702(0xd6)](_0x31806e,_0x411ae4);},_0x22c1c3=_0x31715f[_0x51ea76(0xd6)](pLimit,_0x8e0c68),_0x3ff6a7=_0x390012=>_0x22c1c3(async()=>{const _0x434a51=_0x51ea76;return _0x3634da[_0x434a51(0xc2)](_0x390012);});Promise['all'](_0x3e482[_0x51ea76(0x88)](_0x5c2299=>_0x3ff6a7(_0x5c2299)[_0x51ea76(0xc4)](_0xf7e2e9=>_0x4fb196[_0x51ea76(0x8e)](_0x51ea76(0xb7),[_0x5c2299[_0x51ea76(0xbd)][_0x51ea76(0xa6)],_0x5c2299[_0x51ea76(0xbd)][_0x51ea76(0xcf)]]),_0x21c4f5=>_0x4fb196['emit'](_0x51ea76(0x93),[_0x5c2299,_0x21c4f5]))))[_0x51ea76(0xc4)](_0x53b803,_0x53b803);});function a50_0xe524(){const _0x541d24=['228142TGqGub','format','test-file-success','push','171576zhgnWA','../../helpers/performance/performance-tester','tImsJ','801968BENAeI','configuration','Hcucl','platformCaps','ZMggW','tIMgW','vanillaWorker','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','then','log','winstonLogger','worker_threads','platform-run-start','getStdout','parallelTestRun','vWrvQ','platform-run-failure','json','cqFZx','file','21zyTJlM','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','Running\x20','nucEk','21BRyKrM','parallelCucumberRun','UzMsz','KsIRl','send','NeFsK','1196352SGswNi','Workers\x20failed\x20to\x20exit\x20gracefully','SWdAH','3147111vXbWrg','11813031MzEVRJ','qKEcD','cdbeb','p-limit','error','2181655eRzDPE','results','Exception\x20in\x20sending\x20worker\x20message\x20','pCmSM','ghNdp','../../helpers/testhub/testhubHandler','stdout','4SwqyEQ','exit','UNSTABLE_onCustomMessage','xuEmd','worker','map','XygCU','getStderr','wKqgi','WpOkO','aSgZv','emit','info','DJVxW','test-file-start','pipe','test-file-failure','stop','getWorkers','JUAdS','stderr','yvTQB','TSxkY','eIQRL','platforms','MkEXE','cucumberWorker','postMessage','debug','resolve','end','all','length','ufyBr','30bZfsRy','platform','./testWorker.js','SDK_SETUP','util','pjBIU','qbjfy','PsYPr','TCMDx','xZpaG','../../helpers/test-observability/utils','EVENTS','platform-run-success','../../helpers/logger','emittery','exitCode'];a50_0xe524=function(){return _0x541d24;};return a50_0xe524();}
|
|
1
|
+
const a50_0x1c7e17=a50_0x148b;(function(_0x4ef882,_0x589537){const _0x3f111c=a50_0x148b,_0x125266=_0x4ef882();while(!![]){try{const _0x374772=-parseInt(_0x3f111c(0xff))/0x1*(parseInt(_0x3f111c(0xfe))/0x2)+-parseInt(_0x3f111c(0x10e))/0x3*(-parseInt(_0x3f111c(0x115))/0x4)+parseInt(_0x3f111c(0xe7))/0x5*(-parseInt(_0x3f111c(0x12e))/0x6)+parseInt(_0x3f111c(0x143))/0x7*(parseInt(_0x3f111c(0xf0))/0x8)+-parseInt(_0x3f111c(0x112))/0x9*(parseInt(_0x3f111c(0xe1))/0xa)+-parseInt(_0x3f111c(0x11c))/0xb+parseInt(_0x3f111c(0x116))/0xc*(parseInt(_0x3f111c(0x130))/0xd);if(_0x374772===_0x589537)break;else _0x125266['push'](_0x125266['shift']());}catch(_0x3b2baa){_0x125266['push'](_0x125266['shift']());}}}(a50_0x1a60,0xcd178));function a50_0x1a60(){const _0x27de88=['AFUcH','1968YCtVmD','epqma','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','./testWorker.js','resolve','emit','platformCaps','map','getWorkers','xjfsU','pipe','ghIOu','end','xwZOe','2570vEWfCd','996tWNQfi','NSmGn','stdout','keHkq','platforms','cggzl','pvggP','stop','Workers\x20failed\x20to\x20exit\x20gracefully','lLkzw','vanillaWorker','p-limit','SDK_SETUP','../../helpers/performance/performance-tester','failureCount','357831UrMDXU','tcMDM','LoDRT','length','124614uvgPbp','format','Running\x20','40quQVWI','951732mgUYJy','exit','lFUze','jGMOt','parallelTestRun','platform-run-start','11053482ctSkSi','log','PzVxd','worker_threads','getStderr','parallelCucumberRun','KJHla','uMQIj','platform-run-success','then','rbOyN','send','\x20for','jest-worker','getStdout','../../helpers/performance/constants','error','info','31116XGivOW','stderr','260plyXkD','all','Exception\x20in\x20sending\x20worker\x20message\x20','exitCode','OdKes','configuration','platform-run-failure','cGCEF','platform','rTGuV','cucumberWorker','file','worker','JENgR','postMessage','EVENTS','test-file-failure','util','test-file-success','42336hVRogu','CkGxs','debug','660HpdvFX','UifTo','../../helpers/test-observability/utils','UNSTABLE_onCustomMessage','config','results','220WFOWYU','tIfVu','winstonLogger','bsNsN','json','_workerPool','zXfdw','emittery'];a50_0x1a60=function(){return _0x27de88;};return a50_0x1a60();}function a50_0x148b(_0xe6d78c,_0x2e73b){const _0x1a60fd=a50_0x1a60();return a50_0x148b=function(_0x148bae,_0x1f3ef3){_0x148bae=_0x148bae-0xe1;let _0x4e9b4a=_0x1a60fd[_0x148bae];return _0x4e9b4a;},a50_0x148b(_0xe6d78c,_0x2e73b);}const Worker=require(a50_0x1c7e17(0x129))['Worker'],Emittery=require(a50_0x1c7e17(0xee)),pLimit=require(a50_0x1c7e17(0x10a)),{parentPort}=require(a50_0x1c7e17(0x11f)),util=require(a50_0x1c7e17(0x141)),logger=require('../../helpers/logger')[a50_0x1c7e17(0xe9)],PerformanceTester=require(a50_0x1c7e17(0x10c)),PerformanceEvents=require(a50_0x1c7e17(0x12b))[a50_0x1c7e17(0x13f)],{debug}=require(a50_0x1c7e17(0xe3)),TestHubHandler=require('../../helpers/testhub/testhubHandler');exports[a50_0x1c7e17(0x11a)]=(_0x462e68,_0x2281bc,_0x2060a4)=>new Promise(async _0x4088b=>{const _0xf23253=a50_0x1c7e17,_0x17cfd8={'xjfsU':_0xf23253(0x10d),'PzVxd':function(_0x21d893,_0x7a37fc){return _0x21d893+_0x7a37fc;},'keHkq':_0xf23253(0xe6),'uMQIj':'Workers\x20failed\x20to\x20exit\x20gracefully','LoDRT':function(_0x3ccb4b,_0x59652e){return _0x3ccb4b(_0x59652e);},'VjDSY':'test-file-start','kXFdD':_0xf23253(0xf3),'pvggP':_0xf23253(0x13c),'jscWr':_0xf23253(0xeb),'zednU':_0xf23253(0xfa),'tIfVu':function(_0x2afdcf,_0x430bd9){return _0x2afdcf*_0x430bd9;},'rTGuV':_0xf23253(0x142),'slOTe':_0xf23253(0x140)},_0x5b5080=_0x2060a4[_0xf23253(0xe5)],_0x13584c={},_0x2d1a42=new Worker(require[_0xf23253(0xf4)](_0x17cfd8['kXFdD']),{'exposedMethods':[_0x17cfd8[_0xf23253(0x105)]],'forkOptions':{'serialization':_0x17cfd8['jscWr'],'stdio':_0x17cfd8['zednU']},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x17cfd8[_0xf23253(0xe8)](_0x2281bc,0x1),'enableWorkerThreads':!![]}),_0xb0b33b=new Emittery();_0xb0b33b['on'](_0x17cfd8[_0xf23253(0x139)],_0x53c86a=>{const _0x306acc=_0xf23253;_0x13584c[_0x53c86a[0x0]]?(_0x13584c[_0x53c86a[0x0]][_0x17cfd8[_0x306acc(0xf9)]]=_0x17cfd8[_0x306acc(0x11e)](_0x13584c[_0x53c86a[0x0]][_0x17cfd8[_0x306acc(0xf9)]],_0x53c86a[0x1][_0x17cfd8[_0x306acc(0xf9)]]),_0x13584c[_0x53c86a[0x0]][_0x17cfd8[_0x306acc(0x102)]]=[..._0x13584c[_0x53c86a[0x0]][_0x17cfd8[_0x306acc(0x102)]],..._0x53c86a[0x1][_0x17cfd8[_0x306acc(0x102)]]]):_0x13584c[_0x53c86a[0x0]]={'failureCount':_0x53c86a[0x1][_0x17cfd8[_0x306acc(0xf9)]],'results':[..._0x53c86a[0x1][_0x17cfd8[_0x306acc(0x102)]]]};}),_0xb0b33b['on'](_0x17cfd8['slOTe'],_0x4db125=>console[_0xf23253(0x11d)](_0x4db125[0x1]));_0x2d1a42[_0xf23253(0x12a)]()&&_0x2d1a42[_0xf23253(0x12a)]()[_0xf23253(0xfa)](process['stdout']);_0x2d1a42[_0xf23253(0x120)]()&&_0x2d1a42[_0xf23253(0x120)]()[_0xf23253(0xfa)](process[_0xf23253(0x12f)]);const _0x20cbd3=async()=>{const _0x5964f6=_0xf23253,{forceExited:_0x1b9002}=await _0x2d1a42[_0x5964f6(0xfc)]();_0x1b9002&&console['error'](_0x17cfd8[_0x5964f6(0x123)]);try{await TestHubHandler[_0x5964f6(0x106)]();}catch(_0x193c27){_0x17cfd8[_0x5964f6(0x110)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x193c27);}_0x17cfd8[_0x5964f6(0x110)](_0x4088b,_0x13584c);},_0x5163b4=_0x17cfd8[_0xf23253(0x110)](pLimit,_0x17cfd8['tIfVu'](_0x2281bc,0x1)),_0xca4af0=_0x6af69d=>_0x5163b4(async()=>{const _0x247094=_0xf23253;await _0xb0b33b['emit'](_0x17cfd8['VjDSY'],_0x6af69d);const _0x333bd0=_0x2d1a42['worker'](_0x6af69d,_0x5b5080);try{parentPort&&_0x333bd0[_0x247094(0xe4)](_0x3db3a4=>{const _0x376f9c=_0x247094;try{parentPort[_0x376f9c(0x13e)](_0x3db3a4);}catch(_0xb987db){logger[_0x376f9c(0x145)](_0x376f9c(0x132)+util[_0x376f9c(0x113)](_0xb987db));}});}catch(_0x1cda08){logger[_0x247094(0x145)](_0x247094(0xf2)+util[_0x247094(0x113)](_0x1cda08));}return _0x333bd0;});PerformanceTester[_0xf23253(0xfc)](PerformanceEvents[_0xf23253(0x10b)]),Promise[_0xf23253(0x131)](_0x462e68[_0xf23253(0xf7)](_0x1b301c=>_0xca4af0(_0x1b301c)[_0xf23253(0x125)](_0x1642c1=>_0xb0b33b[_0xf23253(0xf5)](_0xf23253(0x142),[_0x1b301c[_0xf23253(0x135)][_0xf23253(0x138)],_0x1642c1]),_0x2cdc3e=>_0xb0b33b['emit'](_0xf23253(0x140),[_0x1b301c,_0x2cdc3e]))))[_0xf23253(0x125)](_0x20cbd3,_0x20cbd3);}),exports[a50_0x1c7e17(0x121)]=(_0x1770f5,_0x459bc6,_0x43f324,_0x458deb,_0x4588ac)=>{const _0x495703=a50_0x1c7e17,_0x593b83={'gyIhu':_0x495703(0x11b),'OdKes':_0x495703(0x107),'iWNyR':function(_0x5b3466,_0x223d5d){return _0x5b3466(_0x223d5d);},'AFUcH':_0x495703(0xf3),'NSmGn':_0x495703(0x13a),'lFUze':'json','KJHla':_0x495703(0xfa),'KmwtK':_0x495703(0x124),'JPJwc':_0x495703(0x136),'ghIOu':function(_0x141055,_0x3f2631){return _0x141055(_0x3f2631);}};return new Promise(_0x13cb22=>{const _0x5bd0bb=_0x495703,_0x5c0748={'MIzWF':_0x593b83[_0x5bd0bb(0x134)],'cggzl':function(_0x49b370,_0x4832d8){return _0x593b83['iWNyR'](_0x49b370,_0x4832d8);}},_0x51b9df=[],_0x48ec13=new Worker(require[_0x5bd0bb(0xf4)](_0x593b83[_0x5bd0bb(0xef)]),{'exposedMethods':[_0x593b83[_0x5bd0bb(0x100)]],'forkOptions':{'serialization':_0x593b83[_0x5bd0bb(0x118)],'stdio':_0x593b83[_0x5bd0bb(0x122)]},'numWorkers':_0x1770f5[_0x5bd0bb(0x111)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x1c825c=new Emittery();_0x1c825c['on'](_0x593b83['KmwtK'],_0x10dcfc=>{_0x51b9df['push']([_0x10dcfc[0x0],_0x10dcfc[0x1]]);}),_0x1c825c['on'](_0x593b83['JPJwc'],_0x1d2b2b=>console[_0x5bd0bb(0x11d)](_0x1d2b2b[0x1]));_0x48ec13['getStdout']()&&_0x48ec13[_0x5bd0bb(0x12a)]()['pipe'](process['stdout']);_0x48ec13[_0x5bd0bb(0x120)]()&&_0x48ec13[_0x5bd0bb(0x120)]()['pipe'](process[_0x5bd0bb(0x12f)]);const _0x3f45fb=async()=>{const _0x5f296e=_0x5bd0bb,{forceExited:_0x3322ea}=await _0x48ec13[_0x5f296e(0xfc)]();_0x3322ea&&console[_0x5f296e(0x12c)](_0x5c0748['MIzWF']),_0x5c0748[_0x5f296e(0x104)](_0x13cb22,_0x51b9df);},_0x7801a1=_0x593b83[_0x5bd0bb(0xfb)](pLimit,_0x1770f5[_0x5bd0bb(0x111)]||0x1),_0xb2bbc1=(_0xc56d1,_0x2c30db)=>_0x7801a1(async()=>{const _0x260380=_0x5bd0bb;return await _0x1c825c[_0x260380(0xf5)](_0x593b83['gyIhu'],_0xc56d1),_0x459bc6[_0x260380(0xf6)]=_0x43f324[_0x260380(0x103)][_0x2c30db],_0x48ec13[_0x260380(0x13a)](_0xc56d1,_0x459bc6,_0x43f324,_0x458deb,_0x4588ac);});Promise[_0x5bd0bb(0x131)](_0x1770f5[_0x5bd0bb(0xf7)]((_0x8b585d,_0x5da6ee)=>_0xb2bbc1(_0x8b585d,_0x5da6ee)[_0x5bd0bb(0x125)](_0x159cb4=>_0x1c825c['emit'](_0x5bd0bb(0x124),[_0x8b585d,_0x159cb4]),_0xf6eeab=>_0x1c825c[_0x5bd0bb(0xf5)](_0x5bd0bb(0x136),[_0x8b585d,_0xf6eeab]))))[_0x5bd0bb(0x125)](_0x3f45fb,_0x3f45fb);});},exports['parallelVanillaRun']=(_0x486463,_0x32c809)=>new Promise(_0x49a7ac=>{const _0x5cc5b0=a50_0x1c7e17,_0x4c5228={'CkGxs':_0x5cc5b0(0x117),'UifTo':function(_0x4cf8d2,_0x5b41c3){return _0x4cf8d2===_0x5b41c3;},'xwZOe':function(_0x57b65c,_0x42d1ca){return _0x57b65c!==_0x42d1ca;},'epqma':_0x5cc5b0(0x107),'JENgR':function(_0x4f25c2,_0x463c5c){return _0x4f25c2(_0x463c5c);},'eydCz':_0x5cc5b0(0xf3),'rbOyN':_0x5cc5b0(0x109),'jGMOt':_0x5cc5b0(0xeb),'tcMDM':'pipe','zXfdw':_0x5cc5b0(0x142),'cGCEF':_0x5cc5b0(0x140)},_0x5baf7e={},_0xb22187=new Worker(require['resolve'](_0x4c5228['eydCz']),{'exposedMethods':[_0x4c5228[_0x5cc5b0(0x126)]],'forkOptions':{'serialization':_0x4c5228[_0x5cc5b0(0x119)],'stdio':_0x4c5228[_0x5cc5b0(0x10f)]},'numWorkers':_0x32c809,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x3dda80=new Emittery();_0x3dda80['on'](_0x4c5228[_0x5cc5b0(0xed)],_0x1dd043=>{const _0x13e152=_0x5cc5b0;_0x1dd043[0x0]&&logger[_0x13e152(0x12d)](_0x13e152(0x114)+_0x1dd043[0x1]+_0x13e152(0x128),_0x1dd043[0x0]);}),_0x3dda80['on'](_0x4c5228[_0x5cc5b0(0x137)],_0x1e2411=>{const _0x3e8274=_0x5cc5b0;process[_0x3e8274(0x133)]=0x1;});_0xb22187['getStdout']()&&_0xb22187[_0x5cc5b0(0x12a)]()[_0x5cc5b0(0xfa)](process[_0x5cc5b0(0x101)]);_0xb22187['getStderr']()&&_0xb22187['getStderr']()[_0x5cc5b0(0xfa)](process[_0x5cc5b0(0x12f)]);const _0x429a3a=async()=>{const _0x5ed675=_0x5cc5b0,_0x3ab5a6={'bsNsN':function(_0xc3f0eb,_0x5f42eb){const _0x506f9c=a50_0x148b;return _0x4c5228[_0x506f9c(0xe2)](_0xc3f0eb,_0x5f42eb);},'lLkzw':function(_0x4809c4,_0x556786){const _0x4dfa51=a50_0x148b;return _0x4c5228[_0x4dfa51(0xfd)](_0x4809c4,_0x556786);}};let _0x2194e6=0x0;const _0x1c6e3e=_0xb22187[_0x5ed675(0xec)][_0x5ed675(0xf8)](),_0x4ee0b3=()=>{},_0x528567=_0x1c6e3e[_0x5ed675(0xf7)](async _0x36c0c4=>{const _0x2f4ff7=_0x5ed675;_0x36c0c4[_0x2f4ff7(0x127)]([0x2,![]],_0x4ee0b3,_0x4ee0b3,_0x4ee0b3),_0x36c0c4['_child']['on'](_0x4c5228[_0x2f4ff7(0x144)],_0x738a79=>{const _0x1fd612=_0x2f4ff7;_0x3ab5a6[_0x1fd612(0xea)](_0x2194e6,0x0)&&_0x3ab5a6[_0x1fd612(0x108)](_0x738a79,0x0)&&(_0x2194e6=_0x738a79);}),await _0x36c0c4['waitForExit']();});await Promise[_0x5ed675(0x131)](_0x528567),process[_0x5ed675(0x133)]=_0x2194e6;const {forceExited:_0x56560f}=await _0xb22187['end']();_0x56560f&&console[_0x5ed675(0x12c)](_0x4c5228[_0x5ed675(0xf1)]),_0x4c5228[_0x5ed675(0x13d)](_0x49a7ac,_0x5baf7e);},_0x51726b=_0x4c5228[_0x5cc5b0(0x13d)](pLimit,_0x32c809),_0x89a27d=_0x13dee6=>_0x51726b(async()=>{const _0x1ac4de=_0x5cc5b0;return _0xb22187[_0x1ac4de(0x109)](_0x13dee6);});Promise[_0x5cc5b0(0x131)](_0x486463['map'](_0x3468c0=>_0x89a27d(_0x3468c0)[_0x5cc5b0(0x125)](_0x2cc539=>_0x3dda80[_0x5cc5b0(0xf5)]('test-file-success',[_0x3468c0[_0x5cc5b0(0x135)][_0x5cc5b0(0x138)],_0x3468c0[_0x5cc5b0(0x135)][_0x5cc5b0(0x13b)]]),_0x4aa75a=>_0x3dda80[_0x5cc5b0(0xf5)](_0x5cc5b0(0x140),[_0x3468c0,_0x4aa75a]))))[_0x5cc5b0(0x125)](_0x429a3a,_0x429a3a);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a51_0x598a26=a51_0x557b;function a51_0x557b(_0x1aaa8e,_0x1e978a){const _0x84ec9d=a51_0x84ec();return a51_0x557b=function(_0x557bc3,_0x445934){_0x557bc3=_0x557bc3-0x1dd;let _0x392eca=_0x84ec9d[_0x557bc3];return _0x392eca;},a51_0x557b(_0x1aaa8e,_0x1e978a);}(function(_0x1ee47f,_0x104dfb){const _0x32d398=a51_0x557b,_0x400f7a=_0x1ee47f();while(!![]){try{const _0x1f8e88=-parseInt(_0x32d398(0x1ea))/0x1+-parseInt(_0x32d398(0x1ef))/0x2+parseInt(_0x32d398(0x1e2))/0x3*(parseInt(_0x32d398(0x1f4))/0x4)+-parseInt(_0x32d398(0x1eb))/0x5*(parseInt(_0x32d398(0x1e1))/0x6)+-parseInt(_0x32d398(0x1e4))/0x7+-parseInt(_0x32d398(0x1f2))/0x8*(-parseInt(_0x32d398(0x1e0))/0x9)+parseInt(_0x32d398(0x1f6))/0xa;if(_0x1f8e88===_0x104dfb)break;else _0x400f7a['push'](_0x400f7a['shift']());}catch(_0x139d0f){_0x400f7a['push'](_0x400f7a['shift']());}}}(a51_0x84ec,0x63a36));const PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],PerformanceTester=require(a51_0x598a26(0x1df)),{sleep}=require('../../helpers/test-observability/utils');function a51_0x84ec(){const _0x232e90=['4689WUesIO','6ubhSVs','3CmiclM','run','4030866bwstEu','runCucumberTest','startMonitoring','mcEKN','mocha','SDK_POST_TEST','62469PJBJSX','598545OoGUgR','UwCcJ','stopMonitoring','cucumber-js','229644Alrpix','nUMIj','SUbUw','6056AEmgKX','rnjzM','214208fXkuLY','configuration','8330070FikZKL','end','dBdVT','formatter','xDoYx','dPokX','uVdPU','runTest','runVanillaTest','../launcher/launcher','../../helpers/performance/performance-tester'];a51_0x84ec=function(){return _0x232e90;};return a51_0x84ec();}exports[a51_0x598a26(0x1fd)]=async(_0x437fa9,_0x528c8e)=>{const _0x5dc9c4=a51_0x598a26,_0x5dcb2f={'rnjzM':function(_0x156f70,_0x3ebb38){return _0x156f70(_0x3ebb38);},'uVdPU':_0x5dc9c4(0x1de),'dBdVT':_0x5dc9c4(0x1e8)};PerformanceTester[_0x5dc9c4(0x1e6)]();const _0x41c61a=_0x5dcb2f['rnjzM'](require,_0x5dcb2f[_0x5dc9c4(0x1fc)]),_0x18b0fb=new _0x41c61a(_0x5dcb2f[_0x5dc9c4(0x1f8)],_0x437fa9,_0x528c8e),_0x4f5391=await _0x18b0fb[_0x5dc9c4(0x1e3)]();return PerformanceTester[_0x5dc9c4(0x1f7)](PerformanceEvents[_0x5dc9c4(0x1e9)]),await _0x5dcb2f[_0x5dc9c4(0x1f3)](sleep,0x3e8),PerformanceTester[_0x5dc9c4(0x1ed)](),_0x4f5391;},exports[a51_0x598a26(0x1e5)]=async(_0x438b5c,_0x183785,_0x4289a8,_0x4eeec1,_0x31685f)=>{const _0x2416a2=a51_0x598a26,_0x57c7cb={'nUMIj':function(_0x38a6bb,_0x3d6e9b){return _0x38a6bb(_0x3d6e9b);},'UwCcJ':'../launcher/launcher','SUbUw':_0x2416a2(0x1ee)},_0x3bd6d6={'capability':_0x438b5c,..._0x183785},_0x596fd8={};_0x596fd8[_0x2416a2(0x1f5)]=_0x3bd6d6,_0x596fd8[_0x2416a2(0x1f9)]=_0x31685f;const _0x9b2052=_0x596fd8,_0x45802d=_0x57c7cb[_0x2416a2(0x1f0)](require,_0x57c7cb[_0x2416a2(0x1ec)]),_0x5ca2da=new _0x45802d(_0x57c7cb[_0x2416a2(0x1f1)],_0x9b2052,_0x4289a8,_0x4eeec1);return await _0x5ca2da['run']();},exports[a51_0x598a26(0x1dd)]=async _0x4b1c89=>{const _0x3b5bde=a51_0x598a26,_0x56df11={'mcEKN':function(_0xc4fd8b,_0x8455d6){return _0xc4fd8b(_0x8455d6);},'xDoYx':'../launcher/launcher','dPokX':'vanilla'},_0x5f37c0=_0x56df11[_0x3b5bde(0x1e7)](require,_0x56df11[_0x3b5bde(0x1fa)]),_0xca0955=new _0x5f37c0(_0x56df11[_0x3b5bde(0x1fb)],_0x4b1c89);return await _0xca0955[_0x3b5bde(0x1e3)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a52_0x67f0f9=a52_0x15cd;(function(_0x4fe046,_0x5a96c9){const _0x550801=a52_0x15cd,_0x50afde=_0x4fe046();while(!![]){try{const _0x210f75=-parseInt(_0x550801(0x115))/0x1*(parseInt(_0x550801(0x10d))/0x2)+-parseInt(_0x550801(0x10b))/0x3*(-parseInt(_0x550801(0x114))/0x4)+-parseInt(_0x550801(0x113))/0x5+parseInt(_0x550801(0x117))/0x6*(-parseInt(_0x550801(0x11a))/0x7)+-parseInt(_0x550801(0x111))/0x8*(-parseInt(_0x550801(0x116))/0x9)+parseInt(_0x550801(0x110))/0xa*(parseInt(_0x550801(0x10c))/0xb)+-parseInt(_0x550801(0x119))/0xc*(-parseInt(_0x550801(0x112))/0xd);if(_0x210f75===_0x5a96c9)break;else _0x50afde['push'](_0x50afde['shift']());}catch(_0x9e35f6){_0x50afde['push'](_0x50afde['shift']());}}}(a52_0x4920,0xc9e4c));const {runTest,runCucumberTest,runVanillaTest}=require(a52_0x67f0f9(0x10f));function a52_0x15cd(_0x555e94,_0x339992){const _0x4920c0=a52_0x4920();return a52_0x15cd=function(_0x15cd16,_0x14f5a3){_0x15cd16=_0x15cd16-0x10b;let _0x4743a6=_0x4920c0[_0x15cd16];return _0x4743a6;},a52_0x15cd(_0x555e94,_0x339992);}exports['worker']=async(_0x9336d8,_0xb7292)=>{const _0x331db6=a52_0x67f0f9,_0x5ab363={'ucYiu':function(_0x5cef84,_0x6250aa,_0x57666e){return _0x5cef84(_0x6250aa,_0x57666e);}};return await _0x5ab363[_0x331db6(0x118)](runTest,_0x9336d8,_0xb7292);},exports[a52_0x67f0f9(0x10e)]=async(_0x4012c0,_0x327402,_0x5c46f7,_0x29efd4,_0x26b612)=>{const _0x140038={'sGknI':function(_0x54a99d,_0xe1002b,_0x268ac8,_0x3b0452,_0x253b11,_0x46eec2){return _0x54a99d(_0xe1002b,_0x268ac8,_0x3b0452,_0x253b11,_0x46eec2);}};return await _0x140038['sGknI'](runCucumberTest,_0x4012c0,_0x327402,_0x5c46f7,_0x29efd4,_0x26b612);},exports['vanillaWorker']=async _0x5ee57d=>{const _0x457f01={'ZkAVH':function(_0x470eed,_0x137235){return _0x470eed(_0x137235);}};return await _0x457f01['ZkAVH'](runVanillaTest,_0x5ee57d);};function a52_0x4920(){const _0xeeaff8=['105164NaRqzk','638701eCXKVB','2089755MHauKp','288VOtGXq','ucYiu','60iCptXB','40166YfYKQs','18ozkcGl','11NFFQqF','4ZLDrqw','cucumberWorker','./runTest','6746780dbssaz','24AlxQHd','2538939mBOVlP','628710CfpkLq'];a52_0x4920=function(){return _0xeeaff8;};return a52_0x4920();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a53_0x19e602=a53_0x56f4;(function(_0x3042dd,_0x5df4c9){const _0x39ee61=a53_0x56f4,_0x110257=_0x3042dd();while(!![]){try{const _0x3de2cd=parseInt(_0x39ee61(0x14b))/0x1*(parseInt(_0x39ee61(0x13f))/0x2)+parseInt(_0x39ee61(0x11f))/0x3+-parseInt(_0x39ee61(0x121))/0x4+parseInt(_0x39ee61(0x16f))/0x5+-parseInt(_0x39ee61(0x131))/0x6*(-parseInt(_0x39ee61(0x142))/0x7)+parseInt(_0x39ee61(0x138))/0x8+-parseInt(_0x39ee61(0x14d))/0x9;if(_0x3de2cd===_0x5df4c9)break;else _0x110257['push'](_0x110257['shift']());}catch(_0x2fdf23){_0x110257['push'](_0x110257['shift']());}}}(a53_0x20c9,0xe7fe8));const constants=require(a53_0x19e602(0x14a)),{nestedKeyValue}=require(a53_0x19e602(0x13b)),getBrowserstackCLI=()=>{const _0x39a9b4=a53_0x19e602,_0x447b69={'fbIHA':function(_0x1f85c9,_0x16afdb){return _0x1f85c9(_0x16afdb);},'qBHVg':'../v2/browserstackCLI'};return _0x447b69[_0x39a9b4(0x12b)](require,_0x447b69['qBHVg']);};function a53_0x56f4(_0x5ba76a,_0x459baa){const _0x20c9e5=a53_0x20c9();return a53_0x56f4=function(_0x56f4e4,_0x2a50b4){_0x56f4e4=_0x56f4e4-0x117;let _0xae02c2=_0x20c9e5[_0x56f4e4];return _0xae02c2;},a53_0x56f4(_0x5ba76a,_0x459baa);}function a53_0x20c9(){const _0x495b2a=['ZgmjV','10542030PbReEk','getEdsInstrumentationAPIUrl','ydUEJ','ELbcc','ZLrRm','APP_UPLOAD_URL','kLXgb','6975008AJkHzm','eEHqM','btIjk','./sharedUtils','CRGPj','xUXGN','JtWkU','1148878MQambp','fjShs','kbvTl','7XNaggZ','AQCUv','ScJyb','FjKYL','replace','getAutomateSessionsListAPIUrl','appAutomate','getAppAutomateSessionStatusAPIUrl','./constants','2akhAlF','uXUBB','24647373pbMiPe','getConfig','suhUX','COjIc','getAppAutomateSessionsListAPIUrl','YOZqt','BVdFz','getAppAutomateSessionNameAPIUrl','PLAYWRIGHT_HUB_URL','observability','upload','zyGAC','PmahZ','ZVNtn','vwjPH','apis','qbgva','MlhCG','HiGVx','Lyahu','endsWith','VZPmZ','OfBac','HnNsu','getAutomateSessionStatusAPIUrl','BBQXv','getPlaywrightHubUrl','getInstance','WWDMS','PXJBR','IyHhq','cDZZo','PkNcZ','YMTsP','1845060ttRKBn','/playwright?caps=','FRaDi','mccHU','getAutomateSessionNameAPIUrl','TARSU','BROWSERSTACK_API_URL','mWAwU','zikwO','ObVQw','automate','xgatW','oQHRs','3815760KdGULZ','cdp','6919384eryjyn','feErV','HwvCw','CihVb','getBStackAPIUrl','biHAD','TJdzi','OBSERVABILITY_UPLOAD_URL','YPSfr','wss:','fbIHA','api','toString','bHzQm','uOdcc'];a53_0x20c9=function(){return _0x495b2a;};return a53_0x20c9();}class APIUtilityMethods{static[a53_0x19e602(0x125)](_0x547c0e){const _0x1297cf=a53_0x19e602,_0x313fba={'AQCUv':function(_0x33bf7c){return _0x33bf7c();},'CRGPj':function(_0x3a25a1,_0x3b5bb2,_0x199834){return _0x3a25a1(_0x3b5bb2,_0x199834);},'FjKYL':'apis','xUXGN':_0x1297cf(0x11c),'YPSfr':_0x1297cf(0x12c),'suhUX':function(_0x4eb6d7,_0x41af73){return _0x4eb6d7===_0x41af73;},'SzfFI':function(_0x19fffc,_0x1bf96d){return _0x19fffc+_0x1bf96d;}},_0x51daf5=_0x313fba[_0x1297cf(0x143)](getBrowserstackCLI),_0x3fac6a=_0x313fba[_0x1297cf(0x13c)](nestedKeyValue,_0x51daf5[_0x1297cf(0x168)]()[_0x1297cf(0x14e)](),[_0x313fba[_0x1297cf(0x145)],_0x313fba[_0x1297cf(0x13d)],_0x313fba[_0x1297cf(0x129)]])||constants[_0x1297cf(0x118)];if(!_0x547c0e||_0x313fba[_0x1297cf(0x14f)](_0x547c0e,''))return _0x3fac6a;const _0x46c88d=_0x3fac6a[_0x1297cf(0x161)]('/')?_0x3fac6a:_0x313fba['SzfFI'](_0x3fac6a,'/');return new URL(_0x547c0e,_0x46c88d)[_0x1297cf(0x12d)]();}static[a53_0x19e602(0x132)](_0xedbe10){const _0x4d1852=a53_0x19e602,_0x26aa47={'YMTsP':function(_0xa4f5e3){return _0xa4f5e3();},'HiGVx':function(_0x1d2ba5,_0x4e193a,_0x132cc9){return _0x1d2ba5(_0x4e193a,_0x132cc9);},'PkNcZ':'apis','COjIc':'edsInstrumentation','oQHRs':_0x4d1852(0x12c),'OfBac':function(_0x4cd094,_0x983bce){return _0x4cd094===_0x983bce;},'KHZJj':function(_0xd92032,_0x5e1bb7){return _0xd92032+_0x5e1bb7;}},_0x358d33=_0x26aa47[_0x4d1852(0x16e)](getBrowserstackCLI),_0x5acab3=_0x26aa47[_0x4d1852(0x15f)](nestedKeyValue,_0x358d33['getInstance']()[_0x4d1852(0x14e)](),[_0x26aa47[_0x4d1852(0x16d)],_0x26aa47[_0x4d1852(0x150)],_0x26aa47[_0x4d1852(0x11e)]])||constants['EDS_URL'];if(!_0xedbe10||_0x26aa47[_0x4d1852(0x163)](_0xedbe10,''))return _0x5acab3;const _0x3e137b=_0x5acab3[_0x4d1852(0x161)]('/')?_0x5acab3:_0x26aa47['KHZJj'](_0x5acab3,'/');return new URL(_0xedbe10,_0x3e137b)[_0x4d1852(0x12d)]();}static[a53_0x19e602(0x165)](_0xe13925){const _0x5a7984=a53_0x19e602,_0x4816ef={'zyGAC':function(_0x23bc24){return _0x23bc24();},'eEHqM':function(_0x5e4ae6,_0x5ccc2,_0x42aba5){return _0x5e4ae6(_0x5ccc2,_0x42aba5);},'IyHhq':_0x5a7984(0x15c),'ZLrRm':_0x5a7984(0x11c),'hsTWv':_0x5a7984(0x12c),'ZqQUT':function(_0x1bfb3b,_0x42b8b7){return _0x1bfb3b===_0x42b8b7;},'TJdzi':function(_0xb95c54,_0x1cf052){return _0xb95c54+_0x1cf052;}},_0x58a53b=_0x4816ef[_0x5a7984(0x158)](getBrowserstackCLI),_0x450ed3=_0x4816ef[_0x5a7984(0x139)](nestedKeyValue,_0x58a53b[_0x5a7984(0x168)]()[_0x5a7984(0x14e)](),[_0x4816ef[_0x5a7984(0x16b)],_0x4816ef[_0x5a7984(0x135)],_0x4816ef['hsTWv']])||constants['BROWSERSTACK_API_URL'];if(!_0xe13925||_0x4816ef['ZqQUT'](_0xe13925,''))return _0x450ed3;const _0x5c82b8=_0x450ed3['endsWith']('/')?_0x450ed3:_0x4816ef[_0x5a7984(0x127)](_0x450ed3,'/');return new URL(_0xe13925,_0x5c82b8)['toString']();}static[a53_0x19e602(0x149)](_0x1db3b8){const _0x1feeba=a53_0x19e602,_0x62e22d={'QQndp':function(_0x5d48a9){return _0x5d48a9();},'kLXgb':function(_0x2736af,_0x49fdc1,_0xbb9467){return _0x2736af(_0x49fdc1,_0xbb9467);},'PmahZ':_0x1feeba(0x15c),'ydUEJ':_0x1feeba(0x148),'YdQby':_0x1feeba(0x12c),'MnucI':function(_0x290fb1,_0x1e284e){return _0x290fb1===_0x1e284e;},'BBQXv':function(_0x5378a9,_0x588473){return _0x5378a9+_0x588473;}},_0x13f907=_0x62e22d['QQndp'](getBrowserstackCLI),_0x3024fc=_0x62e22d[_0x1feeba(0x137)](nestedKeyValue,_0x13f907['getInstance']()[_0x1feeba(0x14e)](),[_0x62e22d[_0x1feeba(0x159)],_0x62e22d[_0x1feeba(0x133)],_0x62e22d['YdQby']])||constants[_0x1feeba(0x118)];if(!_0x1db3b8||_0x62e22d['MnucI'](_0x1db3b8,''))return _0x3024fc;const _0x5068f8=_0x3024fc[_0x1feeba(0x161)]('/')?_0x3024fc:_0x62e22d[_0x1feeba(0x166)](_0x3024fc,'/');return new URL(_0x1db3b8,_0x5068f8)['toString']();}static[a53_0x19e602(0x173)](_0x42c508){const _0x20fb15=a53_0x19e602,_0x1b83d7={'YpdAe':function(_0x1abc07){return _0x1abc07();},'HnNsu':function(_0x7e8de1,_0x4d2449,_0x196937){return _0x7e8de1(_0x4d2449,_0x196937);},'CihVb':_0x20fb15(0x15c),'bHzQm':_0x20fb15(0x11c),'sshVo':_0x20fb15(0x12c),'cDZZo':function(_0x4486ad,_0x136885){return _0x4486ad===_0x136885;},'JtWkU':function(_0x433ba7,_0x38ad06){return _0x433ba7+_0x38ad06;}},_0x4c8b78=_0x1b83d7['YpdAe'](getBrowserstackCLI),_0x525850=_0x1b83d7[_0x20fb15(0x164)](nestedKeyValue,_0x4c8b78[_0x20fb15(0x168)]()[_0x20fb15(0x14e)](),[_0x1b83d7[_0x20fb15(0x124)],_0x1b83d7[_0x20fb15(0x12e)],_0x1b83d7['sshVo']])||constants[_0x20fb15(0x118)];if(!_0x42c508||_0x1b83d7[_0x20fb15(0x16c)](_0x42c508,''))return _0x525850;const _0x159f22=_0x525850['endsWith']('/')?_0x525850:_0x1b83d7[_0x20fb15(0x13e)](_0x525850,'/');return new URL(_0x42c508,_0x159f22)[_0x20fb15(0x12d)]();}static[a53_0x19e602(0x154)](_0x19ca47){const _0x1e23df=a53_0x19e602,_0x388940={'ScJyb':function(_0x45bc06){return _0x45bc06();},'ZVNtn':function(_0x51112a,_0x45ec4a,_0x3017c2){return _0x51112a(_0x45ec4a,_0x3017c2);},'MlhCG':_0x1e23df(0x15c),'fjShs':_0x1e23df(0x148),'mWAwU':_0x1e23df(0x12c),'VZPmZ':function(_0x5141b1,_0x457f38){return _0x5141b1===_0x457f38;},'Lyahu':function(_0x3c03fb,_0x50ab87){return _0x3c03fb+_0x50ab87;}},_0x46617a=_0x388940[_0x1e23df(0x144)](getBrowserstackCLI),_0x3c7908=_0x388940[_0x1e23df(0x15a)](nestedKeyValue,_0x46617a[_0x1e23df(0x168)]()[_0x1e23df(0x14e)](),[_0x388940[_0x1e23df(0x15e)],_0x388940[_0x1e23df(0x140)],_0x388940[_0x1e23df(0x119)]])||constants[_0x1e23df(0x118)];if(!_0x19ca47||_0x388940[_0x1e23df(0x162)](_0x19ca47,''))return _0x3c7908;const _0x3166cd=_0x3c7908[_0x1e23df(0x161)]('/')?_0x3c7908:_0x388940[_0x1e23df(0x160)](_0x3c7908,'/');return new URL(_0x19ca47,_0x3166cd)['toString']();}static[a53_0x19e602(0x147)](_0x1bfb8d){const _0x3552f8=a53_0x19e602,_0x1440fb={'ELbcc':function(_0x2060b6){return _0x2060b6();},'YOZqt':function(_0x518a97,_0x2f2d7d,_0x4cc409){return _0x518a97(_0x2f2d7d,_0x4cc409);},'feErV':_0x3552f8(0x15c),'uXUBB':'automate','btIjk':'api','TARSU':function(_0x5d5db3,_0x26e7af){return _0x5d5db3===_0x26e7af;},'pHxfR':function(_0x174fa4,_0x2ad2ea){return _0x174fa4+_0x2ad2ea;}},_0x2da022=_0x1440fb[_0x3552f8(0x134)](getBrowserstackCLI),_0x3168b8=_0x1440fb[_0x3552f8(0x152)](nestedKeyValue,_0x2da022[_0x3552f8(0x168)]()['getConfig'](),[_0x1440fb[_0x3552f8(0x122)],_0x1440fb[_0x3552f8(0x14c)],_0x1440fb[_0x3552f8(0x13a)]])||constants[_0x3552f8(0x118)];if(!_0x1bfb8d||_0x1440fb[_0x3552f8(0x117)](_0x1bfb8d,''))return _0x3168b8;const _0x1a7c99=_0x3168b8[_0x3552f8(0x161)]('/')?_0x3168b8:_0x1440fb['pHxfR'](_0x3168b8,'/');return new URL(_0x1bfb8d,_0x1a7c99)[_0x3552f8(0x12d)]()[_0x3552f8(0x146)](/^https?:\/\//,'');}static[a53_0x19e602(0x151)](_0x5a4eff){const _0x28be2f=a53_0x19e602,_0x5e455c={'uJYZK':function(_0x2b51f9){return _0x2b51f9();},'eLROt':function(_0x1472c8,_0xfcab29,_0x5ed5cc){return _0x1472c8(_0xfcab29,_0x5ed5cc);},'vwjPH':'apis','wQgpO':_0x28be2f(0x148),'ohATi':_0x28be2f(0x12c),'mccHU':function(_0x4e131d,_0x4fea7d){return _0x4e131d===_0x4fea7d;},'FRaDi':function(_0x3b2029,_0x4dac3d){return _0x3b2029+_0x4dac3d;}},_0x4d625f=_0x5e455c['uJYZK'](getBrowserstackCLI),_0x3c1ff4=_0x5e455c['eLROt'](nestedKeyValue,_0x4d625f['getInstance']()['getConfig'](),[_0x5e455c[_0x28be2f(0x15b)],_0x5e455c['wQgpO'],_0x5e455c['ohATi']])||constants[_0x28be2f(0x136)];if(!_0x5a4eff||_0x5e455c[_0x28be2f(0x172)](_0x5a4eff,''))return _0x3c1ff4;const _0x24a1a3=_0x3c1ff4[_0x28be2f(0x161)]('/')?_0x3c1ff4:_0x5e455c[_0x28be2f(0x171)](_0x3c1ff4,'/');return new URL(_0x5a4eff,_0x24a1a3)[_0x28be2f(0x12d)]()[_0x28be2f(0x146)](/^https?:\/\//,'');}static['getAutoCaptureLogsAPIUrl'](_0x25469c){const _0x9d527c=a53_0x19e602,_0xf13bb7={'vrqXn':function(_0x3d94d5){return _0x3d94d5();},'ZgmjV':function(_0x221b4e,_0x3ae2f6,_0x2588d3){return _0x221b4e(_0x3ae2f6,_0x2588d3);},'ObVQw':'apis','uOdcc':_0x9d527c(0x156),'biHAD':_0x9d527c(0x157),'WKbCV':function(_0x2aad60,_0x296fba){return _0x2aad60===_0x296fba;},'WWDMS':function(_0x29f560,_0x5801cd){return _0x29f560+_0x5801cd;}},_0x4b2146=_0xf13bb7['vrqXn'](getBrowserstackCLI),_0x103779=_0xf13bb7[_0x9d527c(0x130)](nestedKeyValue,_0x4b2146[_0x9d527c(0x168)]()[_0x9d527c(0x14e)](),[_0xf13bb7[_0x9d527c(0x11b)],_0xf13bb7[_0x9d527c(0x12f)],_0xf13bb7[_0x9d527c(0x126)]])||constants[_0x9d527c(0x128)];if(!_0x25469c||_0xf13bb7['WKbCV'](_0x25469c,''))return _0x103779;const _0x32280b=_0x103779['endsWith']('/')?_0x103779:_0xf13bb7[_0x9d527c(0x169)](_0x103779,'/');return new URL(_0x25469c,_0x32280b)['toString']();}static[a53_0x19e602(0x167)](_0x128fc1){const _0x3a8f11=a53_0x19e602,_0x45ac9a={'xgatW':function(_0x547adf){return _0x547adf();},'qbgva':function(_0x3fdb06,_0x3aba68,_0x5e47cc){return _0x3fdb06(_0x3aba68,_0x5e47cc);},'GzaMX':'apis','kbvTl':_0x3a8f11(0x11c),'HwvCw':_0x3a8f11(0x120),'mkgQw':_0x3a8f11(0x12a),'PXJBR':function(_0x2a86ba,_0x29fedf){return _0x2a86ba===_0x29fedf;},'BVdFz':function(_0x547183,_0x2ad911){return _0x547183+_0x2ad911;},'zikwO':_0x3a8f11(0x170)},_0xb9534=_0x45ac9a[_0x3a8f11(0x11d)](getBrowserstackCLI),_0x1175ac=_0x45ac9a[_0x3a8f11(0x15d)](nestedKeyValue,_0xb9534[_0x3a8f11(0x168)]()[_0x3a8f11(0x14e)](),[_0x45ac9a['GzaMX'],_0x45ac9a[_0x3a8f11(0x141)],_0x45ac9a[_0x3a8f11(0x123)]]),_0x180baa=(_0x1175ac?_0x1175ac[_0x3a8f11(0x146)](/^https:/,_0x45ac9a['mkgQw']):null)||constants[_0x3a8f11(0x155)];let _0x448c87;if(!_0x128fc1||_0x45ac9a[_0x3a8f11(0x16a)](_0x128fc1,''))_0x448c87=_0x180baa;else{const _0x2d029f=_0x180baa[_0x3a8f11(0x161)]('/')?_0x180baa:_0x45ac9a[_0x3a8f11(0x153)](_0x180baa,'/');_0x448c87=new URL(_0x128fc1,_0x2d029f)['toString']();}return!_0x448c87[_0x3a8f11(0x161)](_0x45ac9a[_0x3a8f11(0x11a)])&&(_0x448c87+=_0x45ac9a[_0x3a8f11(0x11a)]),_0x448c87;}}module['exports']=APIUtilityMethods;
|
|
1
|
+
const a53_0xcbda9c=a53_0x167e;(function(_0x578c42,_0x54d45d){const _0x44870f=a53_0x167e,_0x3997de=_0x578c42();while(!![]){try{const _0x450665=-parseInt(_0x44870f(0x20c))/0x1*(-parseInt(_0x44870f(0x202))/0x2)+-parseInt(_0x44870f(0x1cd))/0x3*(parseInt(_0x44870f(0x1ec))/0x4)+-parseInt(_0x44870f(0x1d8))/0x5+parseInt(_0x44870f(0x1fd))/0x6*(-parseInt(_0x44870f(0x1f7))/0x7)+parseInt(_0x44870f(0x1f1))/0x8+parseInt(_0x44870f(0x1cf))/0x9*(parseInt(_0x44870f(0x1e3))/0xa)+parseInt(_0x44870f(0x20b))/0xb;if(_0x450665===_0x54d45d)break;else _0x3997de['push'](_0x3997de['shift']());}catch(_0x2b6171){_0x3997de['push'](_0x3997de['shift']());}}}(a53_0x55ba,0x835fc));function a53_0x167e(_0x51e055,_0x5e7944){const _0x55bad6=a53_0x55ba();return a53_0x167e=function(_0x167e39,_0x2ec7db){_0x167e39=_0x167e39-0x1cb;let _0x575c1b=_0x55bad6[_0x167e39];return _0x575c1b;},a53_0x167e(_0x51e055,_0x5e7944);}const constants=require(a53_0xcbda9c(0x1e8)),{nestedKeyValue}=require(a53_0xcbda9c(0x221)),getBrowserstackCLI=()=>{const _0x22dff9=a53_0xcbda9c,_0x53e36c={'sCUyx':function(_0x4d7bde,_0x34c90c){return _0x4d7bde(_0x34c90c);},'GGzUS':'../v2/browserstackCLI'};return _0x53e36c[_0x22dff9(0x211)](require,_0x53e36c['GGzUS']);};function a53_0x55ba(){const _0x43d1aa=['GcafK','gDRVC','IqGXG','replace','automate','569720YgeFXG','djgEX','zhimG','nkiSo','wss:','gJfPx','upload','cXmYX','GtfKM','Iuuhe','edsInstrumentation','20pwEiyN','KuYqj','APP_UPLOAD_URL','appAutomate','cLKIv','./constants','TGzfF','getEdsInstrumentationAPIUrl','endsWith','4BtUvKD','POdNC','getAutomateSessionStatusAPIUrl','xHoMo','IPiIU','1955384gTgtXD','LCaEd','BROWSERSTACK_API_URL','bjtNy','tKiBR','zxjRl','1489523MJFoxz','DUyZz','dpCqR','observability','bSqQy','getInstance','6EfLKUv','pWyQE','GFMqu','apis','exports','82674wDHHBy','getAutomateSessionsListAPIUrl','BIuoq','toString','RfRHz','bJgkv','tKYBQ','api','eVEii','5383565fYceKY','9rZKViD','tWdVt','hEbZo','getAutomateSessionNameAPIUrl','JYbau','sCUyx','YiHOW','HeCNS','fWXIo','FMLEl','flSeE','puFOp','getPlaywrightHubUrl','epMgK','WkEtD','jHmaz','lkNrr','VsJlo','getBStackAPIUrl','vhFBx','getConfig','./sharedUtils','/playwright?caps=','QtMNn','NiCUm','StJcN','2105052fAVmcn','PLAYWRIGHT_HUB_URL','2072943zusaPU','getAppAutomateSessionStatusAPIUrl','FdufN','FLqBM'];a53_0x55ba=function(){return _0x43d1aa;};return a53_0x55ba();}class APIUtilityMethods{static[a53_0xcbda9c(0x21e)](_0x465958){const _0x1b474a=a53_0xcbda9c,_0x3508a1={'vhFBx':function(_0x7ffc4c){return _0x7ffc4c();},'MZGxy':function(_0x2a2c19,_0x2d3031,_0x5e9eb9){return _0x2a2c19(_0x2d3031,_0x5e9eb9);},'FdufN':_0x1b474a(0x200),'GGBzp':_0x1b474a(0x1d7),'eVEii':_0x1b474a(0x209),'puFOp':function(_0x1d6b43,_0x504821){return _0x1d6b43===_0x504821;},'COsqG':function(_0x1ea2b5,_0x5385ac){return _0x1ea2b5+_0x5385ac;}},_0x5271c7=_0x3508a1[_0x1b474a(0x21f)](getBrowserstackCLI),_0x4bfc81=_0x3508a1['MZGxy'](nestedKeyValue,_0x5271c7[_0x1b474a(0x1fc)]()[_0x1b474a(0x220)](),[_0x3508a1[_0x1b474a(0x1d1)],_0x3508a1['GGBzp'],_0x3508a1[_0x1b474a(0x20a)]])||constants[_0x1b474a(0x1f3)];if(!_0x465958||_0x3508a1[_0x1b474a(0x217)](_0x465958,''))return _0x4bfc81;const _0x1a3791=_0x4bfc81[_0x1b474a(0x1eb)]('/')?_0x4bfc81:_0x3508a1['COsqG'](_0x4bfc81,'/');return new URL(_0x465958,_0x1a3791)[_0x1b474a(0x205)]();}static[a53_0xcbda9c(0x1ea)](_0x48af62){const _0x13db2b=a53_0xcbda9c,_0x4a5362={'sKvJG':function(_0x599896){return _0x599896();},'tWdVt':function(_0xe1272d,_0x637e49,_0x49b2b5){return _0xe1272d(_0x637e49,_0x49b2b5);},'mBRfx':_0x13db2b(0x200),'ZINcj':_0x13db2b(0x1e2),'yavfp':_0x13db2b(0x209),'flSeE':function(_0x20473a,_0x4a0ea3){return _0x20473a===_0x4a0ea3;},'GFMqu':function(_0x1239dd,_0x1769f8){return _0x1239dd+_0x1769f8;}},_0x1ee3b1=_0x4a5362['sKvJG'](getBrowserstackCLI),_0x4ebf65=_0x4a5362[_0x13db2b(0x20d)](nestedKeyValue,_0x1ee3b1[_0x13db2b(0x1fc)]()['getConfig'](),[_0x4a5362['mBRfx'],_0x4a5362['ZINcj'],_0x4a5362['yavfp']])||constants['EDS_URL'];if(!_0x48af62||_0x4a5362[_0x13db2b(0x216)](_0x48af62,''))return _0x4ebf65;const _0x2535f5=_0x4ebf65[_0x13db2b(0x1eb)]('/')?_0x4ebf65:_0x4a5362[_0x13db2b(0x1ff)](_0x4ebf65,'/');return new URL(_0x48af62,_0x2535f5)[_0x13db2b(0x205)]();}static[a53_0xcbda9c(0x1ee)](_0x452283){const _0x377b0e=a53_0xcbda9c,_0x30a9e3={'WkEtD':function(_0x3186f8){return _0x3186f8();},'LCaEd':function(_0x370a8e,_0x483644,_0x24d4f4){return _0x370a8e(_0x483644,_0x24d4f4);},'HbZNd':_0x377b0e(0x200),'YiHOW':'automate','IqGXG':_0x377b0e(0x209),'MsZya':function(_0x2640fc,_0x45d1be){return _0x2640fc===_0x45d1be;},'NiCUm':function(_0x2f6de9,_0x5122ef){return _0x2f6de9+_0x5122ef;}},_0x59530d=_0x30a9e3[_0x377b0e(0x21a)](getBrowserstackCLI),_0x599815=_0x30a9e3[_0x377b0e(0x1f2)](nestedKeyValue,_0x59530d[_0x377b0e(0x1fc)]()['getConfig'](),[_0x30a9e3['HbZNd'],_0x30a9e3[_0x377b0e(0x212)],_0x30a9e3[_0x377b0e(0x1d5)]])||constants['BROWSERSTACK_API_URL'];if(!_0x452283||_0x30a9e3['MsZya'](_0x452283,''))return _0x599815;const _0x1265a6=_0x599815[_0x377b0e(0x1eb)]('/')?_0x599815:_0x30a9e3[_0x377b0e(0x1cb)](_0x599815,'/');return new URL(_0x452283,_0x1265a6)[_0x377b0e(0x205)]();}static[a53_0xcbda9c(0x1d0)](_0x2c5063){const _0x160a80=a53_0xcbda9c,_0x4fcf71={'FMLEl':function(_0x1a989d){return _0x1a989d();},'zxjRl':function(_0x520c0a,_0x320b89,_0x5c09dd){return _0x520c0a(_0x320b89,_0x5c09dd);},'yjXoR':'apis','lkNrr':_0x160a80(0x1e6),'PWtOL':'api','HeCNS':function(_0x18b139,_0x22b566){return _0x18b139===_0x22b566;},'tKiBR':function(_0xb7f840,_0x134994){return _0xb7f840+_0x134994;}},_0x2fef95=_0x4fcf71[_0x160a80(0x215)](getBrowserstackCLI),_0x3da488=_0x4fcf71[_0x160a80(0x1f6)](nestedKeyValue,_0x2fef95[_0x160a80(0x1fc)]()[_0x160a80(0x220)](),[_0x4fcf71['yjXoR'],_0x4fcf71[_0x160a80(0x21c)],_0x4fcf71['PWtOL']])||constants[_0x160a80(0x1f3)];if(!_0x2c5063||_0x4fcf71[_0x160a80(0x213)](_0x2c5063,''))return _0x3da488;const _0x40da03=_0x3da488[_0x160a80(0x1eb)]('/')?_0x3da488:_0x4fcf71[_0x160a80(0x1f5)](_0x3da488,'/');return new URL(_0x2c5063,_0x40da03)[_0x160a80(0x205)]();}static[a53_0xcbda9c(0x20f)](_0xb9d370){const _0x35754f=a53_0xcbda9c,_0xcde92b={'xHoMo':function(_0x202985){return _0x202985();},'DUyZz':function(_0x933704,_0x4b427e,_0x7e6ff7){return _0x933704(_0x4b427e,_0x7e6ff7);},'Iuuhe':_0x35754f(0x200),'epMgK':_0x35754f(0x1d7),'AnxLG':_0x35754f(0x209),'pWyQE':function(_0xfa4f6b,_0x1938f1){return _0xfa4f6b===_0x1938f1;},'jHmaz':function(_0x26a2cc,_0x2f9f1f){return _0x26a2cc+_0x2f9f1f;}},_0x5d766a=_0xcde92b[_0x35754f(0x1ef)](getBrowserstackCLI),_0x3c55cd=_0xcde92b[_0x35754f(0x1f8)](nestedKeyValue,_0x5d766a[_0x35754f(0x1fc)]()[_0x35754f(0x220)](),[_0xcde92b[_0x35754f(0x1e1)],_0xcde92b[_0x35754f(0x219)],_0xcde92b['AnxLG']])||constants[_0x35754f(0x1f3)];if(!_0xb9d370||_0xcde92b[_0x35754f(0x1fe)](_0xb9d370,''))return _0x3c55cd;const _0x327f01=_0x3c55cd[_0x35754f(0x1eb)]('/')?_0x3c55cd:_0xcde92b[_0x35754f(0x21b)](_0x3c55cd,'/');return new URL(_0xb9d370,_0x327f01)[_0x35754f(0x205)]();}static['getAppAutomateSessionNameAPIUrl'](_0x186ebc){const _0x4299db=a53_0xcbda9c,_0x536909={'dpCqR':function(_0xa37a55){return _0xa37a55();},'nkiSo':function(_0x5ee0df,_0x85db43,_0x1be05a){return _0x5ee0df(_0x85db43,_0x1be05a);},'hurry':_0x4299db(0x200),'POdNC':_0x4299db(0x1e6),'jDuOJ':_0x4299db(0x209),'GcafK':function(_0x5c7ca0,_0x3f4848){return _0x5c7ca0===_0x3f4848;},'djgEX':function(_0x2f60a3,_0xa9b428){return _0x2f60a3+_0xa9b428;}},_0x3a353d=_0x536909[_0x4299db(0x1f9)](getBrowserstackCLI),_0x15f5ba=_0x536909[_0x4299db(0x1db)](nestedKeyValue,_0x3a353d['getInstance']()[_0x4299db(0x220)](),[_0x536909['hurry'],_0x536909[_0x4299db(0x1ed)],_0x536909['jDuOJ']])||constants[_0x4299db(0x1f3)];if(!_0x186ebc||_0x536909[_0x4299db(0x1d3)](_0x186ebc,''))return _0x15f5ba;const _0x5f53e9=_0x15f5ba[_0x4299db(0x1eb)]('/')?_0x15f5ba:_0x536909[_0x4299db(0x1d9)](_0x15f5ba,'/');return new URL(_0x186ebc,_0x5f53e9)[_0x4299db(0x205)]();}static[a53_0xcbda9c(0x203)](_0x3f3c04){const _0x25a35b=a53_0xcbda9c,_0x43cc23={'JYbau':function(_0xc0e022){return _0xc0e022();},'BIuoq':function(_0x38350c,_0xf09277,_0xda1522){return _0x38350c(_0xf09277,_0xda1522);},'QtMNn':'apis','yvqUR':_0x25a35b(0x1d7),'FLqBM':_0x25a35b(0x209),'VsJlo':function(_0x55e1f5,_0xbda1ef){return _0x55e1f5===_0xbda1ef;},'YezBO':function(_0x296c0d,_0x483bdd){return _0x296c0d+_0x483bdd;}},_0x482c5f=_0x43cc23[_0x25a35b(0x210)](getBrowserstackCLI),_0x588268=_0x43cc23[_0x25a35b(0x204)](nestedKeyValue,_0x482c5f[_0x25a35b(0x1fc)]()[_0x25a35b(0x220)](),[_0x43cc23[_0x25a35b(0x223)],_0x43cc23['yvqUR'],_0x43cc23[_0x25a35b(0x1d2)]])||constants['BROWSERSTACK_API_URL'];if(!_0x3f3c04||_0x43cc23[_0x25a35b(0x21d)](_0x3f3c04,''))return _0x588268;const _0x109915=_0x588268['endsWith']('/')?_0x588268:_0x43cc23['YezBO'](_0x588268,'/');return new URL(_0x3f3c04,_0x109915)[_0x25a35b(0x205)]()[_0x25a35b(0x1d6)](/^https?:\/\//,'');}static['getAppAutomateSessionsListAPIUrl'](_0x14b9dc){const _0x479742=a53_0xcbda9c,_0x4db968={'KuYqj':function(_0x379f72){return _0x379f72();},'PwFEr':function(_0xce79d1,_0x238b6b,_0x2ff703){return _0xce79d1(_0x238b6b,_0x2ff703);},'IPiIU':'apis','imEPf':_0x479742(0x1e6),'RfRHz':_0x479742(0x209),'uWIrc':function(_0x54a81a,_0xc6a19){return _0x54a81a===_0xc6a19;},'bjtNy':function(_0x50b964,_0x478f80){return _0x50b964+_0x478f80;}},_0x44320d=_0x4db968[_0x479742(0x1e4)](getBrowserstackCLI),_0x40f033=_0x4db968['PwFEr'](nestedKeyValue,_0x44320d['getInstance']()['getConfig'](),[_0x4db968[_0x479742(0x1f0)],_0x4db968['imEPf'],_0x4db968[_0x479742(0x206)]])||constants[_0x479742(0x1e5)];if(!_0x14b9dc||_0x4db968['uWIrc'](_0x14b9dc,''))return _0x40f033;const _0x971234=_0x40f033[_0x479742(0x1eb)]('/')?_0x40f033:_0x4db968[_0x479742(0x1f4)](_0x40f033,'/');return new URL(_0x14b9dc,_0x971234)[_0x479742(0x205)]()[_0x479742(0x1d6)](/^https?:\/\//,'');}static['getAutoCaptureLogsAPIUrl'](_0x68b0ff){const _0x1c4ebb=a53_0xcbda9c,_0x1a46ad={'TGzfF':function(_0x54cae4){return _0x54cae4();},'bJgkv':function(_0x15a838,_0x391f5b,_0x5d257b){return _0x15a838(_0x391f5b,_0x5d257b);},'zETqy':_0x1c4ebb(0x200),'zhimG':_0x1c4ebb(0x1fa),'gDRVC':_0x1c4ebb(0x1de),'StJcN':function(_0x516f30,_0x40021a){return _0x516f30===_0x40021a;},'mSUZO':function(_0x23df06,_0x1b267c){return _0x23df06+_0x1b267c;}},_0x568425=_0x1a46ad[_0x1c4ebb(0x1e9)](getBrowserstackCLI),_0x51c980=_0x1a46ad[_0x1c4ebb(0x207)](nestedKeyValue,_0x568425[_0x1c4ebb(0x1fc)]()[_0x1c4ebb(0x220)](),[_0x1a46ad['zETqy'],_0x1a46ad[_0x1c4ebb(0x1da)],_0x1a46ad[_0x1c4ebb(0x1d4)]])||constants['OBSERVABILITY_UPLOAD_URL'];if(!_0x68b0ff||_0x1a46ad[_0x1c4ebb(0x1cc)](_0x68b0ff,''))return _0x51c980;const _0x4b92fc=_0x51c980[_0x1c4ebb(0x1eb)]('/')?_0x51c980:_0x1a46ad['mSUZO'](_0x51c980,'/');return new URL(_0x68b0ff,_0x4b92fc)[_0x1c4ebb(0x205)]();}static[a53_0xcbda9c(0x218)](_0x1356fe){const _0x568459=a53_0xcbda9c,_0xd83266={'tKYBQ':function(_0x1b5a5b){return _0x1b5a5b();},'hEbZo':function(_0x3bb19e,_0x18da8c,_0x4456d2){return _0x3bb19e(_0x18da8c,_0x4456d2);},'cXmYX':'apis','GtfKM':_0x568459(0x1d7),'gJfPx':'cdp','cLKIv':_0x568459(0x1dc),'VOGRD':function(_0x5eb830,_0x48a532){return _0x5eb830===_0x48a532;},'bSqQy':function(_0x449fb5,_0x46c32b){return _0x449fb5+_0x46c32b;},'fWXIo':_0x568459(0x222)},_0x43854f=_0xd83266[_0x568459(0x208)](getBrowserstackCLI),_0xe0889f=_0xd83266[_0x568459(0x20e)](nestedKeyValue,_0x43854f[_0x568459(0x1fc)]()['getConfig'](),[_0xd83266[_0x568459(0x1df)],_0xd83266[_0x568459(0x1e0)],_0xd83266[_0x568459(0x1dd)]]),_0x551f9b=(_0xe0889f?_0xe0889f[_0x568459(0x1d6)](/^https:/,_0xd83266[_0x568459(0x1e7)]):null)||constants[_0x568459(0x1ce)];let _0x32fa38;if(!_0x1356fe||_0xd83266['VOGRD'](_0x1356fe,''))_0x32fa38=_0x551f9b;else{const _0x2ac2c0=_0x551f9b['endsWith']('/')?_0x551f9b:_0xd83266[_0x568459(0x1fb)](_0x551f9b,'/');_0x32fa38=new URL(_0x1356fe,_0x2ac2c0)[_0x568459(0x205)]();}return!_0x32fa38[_0x568459(0x1eb)](_0xd83266['fWXIo'])&&(_0x32fa38+=_0xd83266[_0x568459(0x214)]),_0x32fa38;}}module[a53_0xcbda9c(0x201)]=APIUtilityMethods;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a54_0x389925=a54_0x1126;function a54_0x1126(_0x52292f,_0x40329b){const _0x38bfbe=a54_0x38bf();return a54_0x1126=function(_0x11269a,_0xc6733f){_0x11269a=_0x11269a-0x1a1;let _0x20266c=_0x38bfbe[_0x11269a];return _0x20266c;},a54_0x1126(_0x52292f,_0x40329b);}(function(_0x5bb676,_0x32442a){const _0x1780a9=a54_0x1126,_0x1299bd=_0x5bb676();while(!![]){try{const _0x4d94a=-parseInt(_0x1780a9(0x1ef))/0x1*(parseInt(_0x1780a9(0x1b5))/0x2)+parseInt(_0x1780a9(0x1a3))/0x3+parseInt(_0x1780a9(0x1ee))/0x4+parseInt(_0x1780a9(0x1d6))/0x5+parseInt(_0x1780a9(0x1b3))/0x6+-parseInt(_0x1780a9(0x1a7))/0x7*(-parseInt(_0x1780a9(0x1c0))/0x8)+-parseInt(_0x1780a9(0x1e5))/0x9;if(_0x4d94a===_0x32442a)break;else _0x1299bd['push'](_0x1299bd['shift']());}catch(_0x1ecb72){_0x1299bd['push'](_0x1299bd['shift']());}}}(a54_0x38bf,0xccb45));const logger=require(a54_0x389925(0x1cf))['winstonLogger'],BrowserstackCLI=require(a54_0x389925(0x1c5)),GrpcClient=require(a54_0x389925(0x1aa)),constants=require('./constants');function a54_0x38bf(){const _0xa7a460=['SSL\x20Certificate\x20Issue\x20details\x20not\x20found','QjwIq','getAggregatedErrorCodes','GPtIL','MzcSW','vUBsm','object','1718151pKFCPV','getFinalErrorMessage','getDocumentationLink','reportSessionLinkingIssue','4897340JgObEk','fXdWF','[ClientTroubleShootingService]\x20','../v2/grpcClient','error','isRunning','mDzMT','udcCp','sSLbc','fFPbF','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','YWwHs','1359804HUXciQ','Process\x20Interruption\x20details\x20not\x20found:','1402vnLLNL','join','.browserstack\x20folder\x20not\x20accessible','reportProcessInterruptionSituation','mMLQa','LvGkf','CHnfx','AcSHr','checkForErrorsOccuredInCLI','getErrorCodes','TDXTm','8zjqBDK','nXiCt','length','getErrorMessage','base64','../v2/browserstackCLI','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','keys','getAggregatedClientTroubleshootingErrors','mXbcR','browserstack\x20cloud\x20not\x20reachable','ptIua','conflicting\x20env\x20var\x20detected','getErrorCode','../../helpers/logger','parse','CLIENT_TROUBLESHOOTING_HASH','Error\x20in\x20getting\x20error\x20details\x20for\x20','errorCodes','jsAXR','PoECS','809570hFlPDA','warn','getSuccess','errorCodesOccurredWhenCLINotRunning','push','reportClientTroubleshootingError','iktqB','size','SwAli','ffYYC','Ddsmh','finalErrorMessage','Connectivity\x20Issue\x20details\x20not\x20found','replace','getErrorDetails','251343ZqcbJS','getInstance','cTABk','from','ssl\x20cert\x20issue','cachedErrorCodes','reportConnectivityIssue','qaRJX','errorCodesOccurredInCLI','1473880SOUWQQ','1659MQTCVT','tFrCb','KvxjR','logError','errorCode','logSituation','Conflicting\x20Env\x20Var\x20details\x20not\x20found','NcKUH','ZcpST','getErrorCodesOccurredInCli','errorMessage','documentationLink'];a54_0x38bf=function(){return _0xa7a460;};return a54_0x38bf();}class ClientTroubleShootingService{static [a54_0x389925(0x1ea)]=null;static [a54_0x389925(0x1d9)]=new Set();static async[a54_0x389925(0x1e4)](_0x5e56bb){const _0x48127e=a54_0x389925,_0x20c059={};_0x20c059[_0x48127e(0x1e0)]=function(_0x393542,_0x22bdb4){return _0x393542!==_0x22bdb4;};const _0x2054f9=_0x20c059;try{if(BrowserstackCLI[_0x48127e(0x1e6)]()[_0x48127e(0x1ac)]()){const _0x297f9f=await GrpcClient[_0x48127e(0x1e6)]()[_0x48127e(0x1db)](_0x5e56bb);if(_0x2054f9['Ddsmh'](_0x297f9f,null)&&_0x297f9f[_0x48127e(0x1d8)]())return{'errorCode':_0x297f9f[_0x48127e(0x1ce)](),'errorMessage':_0x297f9f[_0x48127e(0x1c3)]()};return{};}}catch(_0xe925a){return this[_0x48127e(0x1f2)](_0x48127e(0x1d2)+_0x5e56bb+':',_0xe925a),{};}}static async['getAggregatedErrorCodes'](){const _0x521915=a54_0x389925,_0x33ef7f={};_0x33ef7f[_0x521915(0x1fc)]=function(_0x1b4c0f,_0x3f3fa0){return _0x1b4c0f!==_0x3f3fa0;},_0x33ef7f['LvGkf']=_0x521915(0x1c4),_0x33ef7f[_0x521915(0x1bc)]=_0x521915(0x1c6);const _0x351bed=_0x33ef7f;try{if(BrowserstackCLI[_0x521915(0x1e6)]()[_0x521915(0x1ac)]()){const _0x28bdd0=await GrpcClient[_0x521915(0x1e6)]()[_0x521915(0x1c9)]();if(_0x351bed[_0x521915(0x1fc)](_0x28bdd0,null)&&_0x28bdd0[_0x521915(0x1d8)]()){const _0x290111=Buffer['from'](_0x28bdd0[_0x521915(0x1be)](),_0x351bed[_0x521915(0x1ba)])['toString'](),_0x40b7fb=_0x290111?JSON[_0x521915(0x1d0)](_0x290111):[],_0x528817=_0x28bdd0[_0x521915(0x1a5)](),_0x33a8a3=_0x28bdd0[_0x521915(0x1a4)](),_0x433059=Buffer[_0x521915(0x1e8)](_0x28bdd0[_0x521915(0x1f8)](),_0x351bed[_0x521915(0x1ba)])['toString'](),_0x3a8b8a=_0x433059?JSON['parse'](_0x433059):[],_0x1b122f={};return _0x1b122f[_0x521915(0x1d3)]=_0x40b7fb,_0x1b122f['documentationLink']=_0x528817,_0x1b122f[_0x521915(0x1e1)]=_0x33a8a3,_0x1b122f['errorCodesOccurredInCLI']=_0x3a8b8a,_0x1b122f;}const _0x3b90b9={};return _0x3b90b9['errorCodes']=[],_0x3b90b9[_0x521915(0x1fa)]='',_0x3b90b9['finalErrorMessage']='',_0x3b90b9[_0x521915(0x1ed)]=[],_0x3b90b9;}const _0x1accf8={};return _0x1accf8['errorCodes']=[],_0x1accf8['documentationLink']='',_0x1accf8[_0x521915(0x1e1)]='',_0x1accf8[_0x521915(0x1ed)]=[],_0x1accf8;}catch(_0x3a9a19){this[_0x521915(0x1f2)](_0x351bed[_0x521915(0x1bc)],_0x3a9a19);const _0xe41f63={};return _0xe41f63[_0x521915(0x1d3)]=[],_0xe41f63[_0x521915(0x1fa)]='',_0xe41f63['finalErrorMessage']='',_0xe41f63[_0x521915(0x1ed)]=[],_0xe41f63;}}static[a54_0x389925(0x1f4)](_0x513481,_0x5d3b13){const _0x1524d2=a54_0x389925;logger[_0x1524d2(0x1d7)](_0x513481+':\x20'+_0x5d3b13);}static[a54_0x389925(0x1bd)](_0x117aeb){const _0x1568a9=a54_0x389925,_0x2ccde0={};_0x2ccde0[_0x1568a9(0x1b2)]=function(_0x2659f5,_0x275fc0){return _0x2659f5!=_0x275fc0;},_0x2ccde0['TDXTm']=function(_0x42c93a,_0x1a393b){return _0x42c93a>_0x1a393b;},_0x2ccde0[_0x1568a9(0x1fe)]=function(_0x31c78b,_0x3c8ffd){return _0x31c78b!=_0x3c8ffd;},_0x2ccde0[_0x1568a9(0x1b0)]=function(_0x76567a,_0x2a0348){return _0x76567a!=_0x2a0348;};const _0xc5d7d0=_0x2ccde0,_0x13766f=[];if(_0xc5d7d0['YWwHs'](_0x117aeb,null)&&_0xc5d7d0[_0x1568a9(0x1b2)](_0x117aeb[_0x1568a9(0x1ed)],null)&&_0xc5d7d0[_0x1568a9(0x1bf)](_0x117aeb[_0x1568a9(0x1ed)][_0x1568a9(0x1c2)],0x0))for(const _0x1d0451 of _0x117aeb['errorCodesOccurredInCLI']){_0xc5d7d0[_0x1568a9(0x1fe)](_0x1d0451[_0x1568a9(0x1f3)],null)&&_0xc5d7d0[_0x1568a9(0x1b0)](_0x1d0451[_0x1568a9(0x1f9)],null)&&(_0x13766f[_0x1568a9(0x1da)](_0x1d0451[_0x1568a9(0x1f3)]),this[_0x1568a9(0x1f4)](_0x1d0451[_0x1568a9(0x1f3)],_0x1d0451[_0x1568a9(0x1f9)]));}return _0x13766f;}static['getCachedErrorCodes'](){return this['cachedErrorCodes'];}static[a54_0x389925(0x1f2)](_0x2fc27d,_0x15a36f){const _0x8a87ba=a54_0x389925,_0x468775={};_0x468775[_0x8a87ba(0x1f7)]=function(_0x39af47,_0x2b502d){return _0x39af47===_0x2b502d;},_0x468775[_0x8a87ba(0x1f6)]=_0x8a87ba(0x1a2);const _0xba91ad=_0x468775;if(_0xba91ad[_0x8a87ba(0x1f7)](typeof _0x15a36f,_0xba91ad[_0x8a87ba(0x1f6)]))try{logger[_0x8a87ba(0x1ab)](_0x8a87ba(0x1a9)+_0x2fc27d+'\x20'+JSON['stringify'](_0x15a36f));}catch(_0x3859c7){logger[_0x8a87ba(0x1ab)]('[ClientTroubleShootingService]\x20'+_0x2fc27d+'\x20'+_0x15a36f);}else logger[_0x8a87ba(0x1ab)](_0x8a87ba(0x1a9)+_0x2fc27d+'\x20'+_0x15a36f);}static async[a54_0x389925(0x1b8)](_0x255e1e){const _0x17e7d3=a54_0x389925,_0x518eda={};_0x518eda[_0x17e7d3(0x1ff)]='Process\x20Interruption',_0x518eda[_0x17e7d3(0x1df)]=function(_0x176f1b,_0x4666d6){return _0x176f1b===_0x4666d6;},_0x518eda['kufhV']=_0x17e7d3(0x1b4),_0x518eda[_0x17e7d3(0x1f1)]='{SIGNAL}';const _0x2c2f23=_0x518eda,_0x355fd2=await this[_0x17e7d3(0x1e4)](_0x2c2f23[_0x17e7d3(0x1ff)]);if(_0x2c2f23[_0x17e7d3(0x1df)](Object[_0x17e7d3(0x1c8)](_0x355fd2)[_0x17e7d3(0x1c2)],0x0)){this[_0x17e7d3(0x1f2)](_0x2c2f23['kufhV'],_0x355fd2);return;}this[_0x17e7d3(0x1f4)](_0x355fd2['errorCode'],_0x355fd2['errorMessage']['replace'](_0x2c2f23['KvxjR'],_0x255e1e));}static async[a54_0x389925(0x1a6)](){const _0x3cc79b=a54_0x389925,_0x40d7dd={};_0x40d7dd['rIYoh']='Session\x20Linking\x20Issue',_0x40d7dd[_0x3cc79b(0x1ec)]=function(_0x441219,_0x2fde03){return _0x441219===_0x2fde03;},_0x40d7dd[_0x3cc79b(0x1af)]='Session\x20Linking\x20Issue\x20details\x20not\x20found';const _0x1ddf46=_0x40d7dd,_0x3cf7c5=await this['getErrorDetails'](_0x1ddf46['rIYoh']);if(_0x1ddf46['qaRJX'](Object['keys'](_0x3cf7c5)['length'],0x0)){this[_0x3cc79b(0x1f2)](_0x1ddf46[_0x3cc79b(0x1af)],_0x3cf7c5);return;}this[_0x3cc79b(0x1f4)](_0x3cf7c5[_0x3cc79b(0x1f3)],_0x3cf7c5[_0x3cc79b(0x1f9)]);}static async[a54_0x389925(0x1eb)](){const _0x81b99c=a54_0x389925,_0x489d02={};_0x489d02[_0x81b99c(0x1ca)]=_0x81b99c(0x1cb),_0x489d02[_0x81b99c(0x1ad)]=function(_0x373c6c,_0x53bb27){return _0x373c6c===_0x53bb27;},_0x489d02[_0x81b99c(0x1d4)]=_0x81b99c(0x1e2);const _0x435f25=_0x489d02,_0x3a92aa=await this[_0x81b99c(0x1e4)](_0x435f25['mXbcR']);if(_0x435f25[_0x81b99c(0x1ad)](Object[_0x81b99c(0x1c8)](_0x3a92aa)[_0x81b99c(0x1c2)],0x0)){this[_0x81b99c(0x1f2)](_0x435f25['jsAXR'],_0x3a92aa);return;}this['logSituation'](_0x3a92aa[_0x81b99c(0x1f3)],_0x3a92aa[_0x81b99c(0x1f9)]);}static async['reportSSLCertIssue'](){const _0x4385be=a54_0x389925,_0x282ede={};_0x282ede[_0x4385be(0x1bb)]=_0x4385be(0x1e9),_0x282ede['qsfbD']=function(_0xf025af,_0x4acaf2){return _0xf025af===_0x4acaf2;},_0x282ede[_0x4385be(0x1f0)]=_0x4385be(0x1fb);const _0x3150c6=_0x282ede,_0x57aa78=await this[_0x4385be(0x1e4)](_0x3150c6[_0x4385be(0x1bb)]);if(_0x3150c6['qsfbD'](Object['keys'](_0x57aa78)['length'],0x0)){this[_0x4385be(0x1f2)](_0x3150c6[_0x4385be(0x1f0)],_0x57aa78);return;}this['logSituation'](_0x57aa78[_0x4385be(0x1f3)],_0x57aa78['errorMessage']);}static['reportDotBrowserStackFolderNotAccessibleIssue'](){const _0xd6c943=a54_0x389925,_0x58f532={};_0x58f532[_0xd6c943(0x1de)]=_0xd6c943(0x1b7),_0x58f532[_0xd6c943(0x1b9)]=function(_0x4cf6d6,_0x2bd34a){return _0x4cf6d6===_0x2bd34a;},_0x58f532[_0xd6c943(0x1ae)]=_0xd6c943(0x1b1);const _0x1e0465=_0x58f532,_0x1d54e6=constants[_0xd6c943(0x1d1)][_0x1e0465['SwAli']];if(_0x1e0465[_0xd6c943(0x1b9)](Object[_0xd6c943(0x1c8)](_0x1d54e6)[_0xd6c943(0x1c2)],0x0)){this['logError'](_0x1e0465[_0xd6c943(0x1ae)],_0x1d54e6);return;}this[_0xd6c943(0x1d9)]['add'](_0x1d54e6[_0xd6c943(0x1f3)]),this[_0xd6c943(0x1f4)](_0x1d54e6['errorCode'],_0x1d54e6[_0xd6c943(0x1f9)]);}static async['reportConflictingEnvVarIssue'](_0x44e17d){const _0x25a830=a54_0x389925,_0x2c7165={};_0x2c7165['nXiCt']=_0x25a830(0x1cd),_0x2c7165[_0x25a830(0x1e7)]=function(_0x5984bd,_0xc1246d){return _0x5984bd===_0xc1246d;},_0x2c7165[_0x25a830(0x1a8)]=_0x25a830(0x1f5),_0x2c7165[_0x25a830(0x1cc)]='{ENV_VAR}';const _0x24112f=_0x2c7165,_0x4d9c9c=await this[_0x25a830(0x1e4)](_0x24112f[_0x25a830(0x1c1)]);if(_0x24112f[_0x25a830(0x1e7)](Object[_0x25a830(0x1c8)](_0x4d9c9c)[_0x25a830(0x1c2)],0x0)){this['logError'](_0x24112f['fXdWF'],_0x4d9c9c);return;}const _0x4727b4=_0x4d9c9c[_0x25a830(0x1f9)]['replace'](_0x24112f[_0x25a830(0x1cc)],_0x44e17d);this['logSituation'](_0x4d9c9c[_0x25a830(0x1f3)],_0x4727b4);}static async['reportFinalDetectionState'](){const _0x44b73b=a54_0x389925,_0x1290a1={};_0x1290a1['vUBsm']=function(_0x1399d2,_0x2c8b94){return _0x1399d2>_0x2c8b94;},_0x1290a1[_0x44b73b(0x1d5)]='{ERROR_CODES}',_0x1290a1['iktqB']=_0x44b73b(0x1c7);const _0x2cbd19=_0x1290a1,_0x5c7bb3=await this[_0x44b73b(0x1fd)](),_0x3dfe60=this[_0x44b73b(0x1bd)](_0x5c7bb3),_0x1106bd=Array['isArray'](_0x5c7bb3['errorCodes'])?_0x5c7bb3[_0x44b73b(0x1d3)]:[],_0x704314=_0x2cbd19[_0x44b73b(0x1a1)](this['errorCodesOccurredWhenCLINotRunning'][_0x44b73b(0x1dd)],0x0)?Array[_0x44b73b(0x1e8)](this['errorCodesOccurredWhenCLINotRunning']):[],_0x12438d=new Set([..._0x1106bd,..._0x3dfe60,..._0x704314]),_0x5576ca=Array[_0x44b73b(0x1e8)](_0x12438d);if(_0x2cbd19['vUBsm'](_0x5576ca[_0x44b73b(0x1c2)],0x0)){const _0x167ae7=_0x5c7bb3[_0x44b73b(0x1e1)][_0x44b73b(0x1e3)](_0x2cbd19[_0x44b73b(0x1d5)],_0x5576ca[_0x44b73b(0x1b6)](',\x20'))[_0x44b73b(0x1e3)](_0x2cbd19[_0x44b73b(0x1dc)],_0x5c7bb3[_0x44b73b(0x1fa)]);logger[_0x44b73b(0x1d7)](_0x167ae7),this[_0x44b73b(0x1ea)]=_0x5576ca;}}}module['exports']=ClientTroubleShootingService;
|
|
1
|
+
const a54_0x35f4de=a54_0x22dc;(function(_0x16286c,_0x2c030c){const _0x102650=a54_0x22dc,_0x18a927=_0x16286c();while(!![]){try{const _0x5b8e26=parseInt(_0x102650(0x13a))/0x1+-parseInt(_0x102650(0x17e))/0x2+-parseInt(_0x102650(0x147))/0x3*(parseInt(_0x102650(0x152))/0x4)+-parseInt(_0x102650(0x149))/0x5*(parseInt(_0x102650(0x14c))/0x6)+parseInt(_0x102650(0x151))/0x7*(parseInt(_0x102650(0x12f))/0x8)+parseInt(_0x102650(0x18a))/0x9+parseInt(_0x102650(0x173))/0xa;if(_0x5b8e26===_0x2c030c)break;else _0x18a927['push'](_0x18a927['shift']());}catch(_0x5d8d8b){_0x18a927['push'](_0x18a927['shift']());}}}(a54_0x2b9d,0xe56fa));const logger=require('../../helpers/logger')[a54_0x35f4de(0x165)],BrowserstackCLI=require('../v2/browserstackCLI'),GrpcClient=require('../v2/grpcClient'),constants=require(a54_0x35f4de(0x180));function a54_0x22dc(_0x54d389,_0x2d3668){const _0x2b9d82=a54_0x2b9d();return a54_0x22dc=function(_0x22dcc5,_0x2b092f){_0x22dcc5=_0x22dcc5-0x12b;let _0x409849=_0x2b9d82[_0x22dcc5];return _0x409849;},a54_0x22dc(_0x54d389,_0x2d3668);}function a54_0x2b9d(){const _0x5304ae=['errorCode','Session\x20Linking\x20Issue\x20details\x20not\x20found','reportFinalDetectionState','Process\x20Interruption\x20details\x20not\x20found:','OaGOf','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','reportConnectivityIssue','hjOLs','jdMJe','getErrorCodesOccurredInCli','base64','parse','3MdWTWO','reportProcessInterruptionSituation','5iHdpbj','toString','VIKJr','5290716GVnHuV','XfhbR','BVXWt','getFinalErrorMessage','object','35EqrlYa','4590268LNAzgZ','.browserstack\x20folder\x20not\x20accessible','ssl\x20cert\x20issue','keys','EKaDz','join','fnasT','from','XuClh','Conflicting\x20Env\x20Var\x20details\x20not\x20found','warn','bSjnQ','getCachedErrorCodes','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','{SIGNAL}','BWmpw','reportDotBrowserStackFolderNotAccessibleIssue','Session\x20Linking\x20Issue','kXhjY','winstonLogger','ElZiT','error','finalErrorMessage','push','PjklF','deoPD','isArray','conflicting\x20env\x20var\x20detected','KTCCL','add','getErrorDetails','getDocumentationLink','{ERROR_CODES}','6374780MFIhTf','DmZXy','ahWOc','reportClientTroubleshootingError','errorMessage','phwcz','vQVKO','ggAhD','GmQRW','WKIqm','{ENV_VAR}','1599608xsivEI','exports','./constants','vaUOA','checkForErrorsOccuredInCLI','[ClientTroubleShootingService]\x20','logError','ILCxF','lbWru','errorCodes','LmBCG','ojEWT','5344974jNPayN','getAggregatedErrorCodes','logSituation','getInstance','errorCodesOccurredWhenCLINotRunning','stringify','hZSpP','isRunning','documentationLink','replace','1560752hUukXy','wPHhu','Process\x20Interruption','UrMZV','length','cachedErrorCodes','MoxJO','Jlcvm','errorCodesOccurredInCLI','Error\x20in\x20getting\x20error\x20details\x20for\x20','DjneD','1562093ZCNhGh'];a54_0x2b9d=function(){return _0x5304ae;};return a54_0x2b9d();}class ClientTroubleShootingService{static [a54_0x35f4de(0x134)]=null;static [a54_0x35f4de(0x18e)]=new Set();static async[a54_0x35f4de(0x170)](_0x6f6665){const _0x27b55a=a54_0x35f4de,_0x4d38b7={};_0x4d38b7[_0x27b55a(0x186)]=function(_0x4ee60c,_0x1c9ae9){return _0x4ee60c!==_0x1c9ae9;};const _0x587279=_0x4d38b7;try{if(BrowserstackCLI[_0x27b55a(0x18d)]()[_0x27b55a(0x12c)]()){const _0x194d0f=await GrpcClient[_0x27b55a(0x18d)]()[_0x27b55a(0x176)](_0x6f6665);if(_0x587279['lbWru'](_0x194d0f,null)&&_0x194d0f['getSuccess']())return{'errorCode':_0x194d0f['getErrorCode'](),'errorMessage':_0x194d0f['getErrorMessage']()};return{};}}catch(_0x183593){return this[_0x27b55a(0x184)](_0x27b55a(0x138)+_0x6f6665+':',_0x183593),{};}}static async[a54_0x35f4de(0x18b)](){const _0x127dc3=a54_0x35f4de,_0x17504f={};_0x17504f['vQVKO']=function(_0x2bf830,_0x5240ef){return _0x2bf830!==_0x5240ef;},_0x17504f[_0x127dc3(0x166)]=_0x127dc3(0x145),_0x17504f[_0x127dc3(0x188)]=_0x127dc3(0x15f);const _0x3c729b=_0x17504f;try{if(BrowserstackCLI[_0x127dc3(0x18d)]()['isRunning']()){const _0xbaa92b=await GrpcClient[_0x127dc3(0x18d)]()['getAggregatedClientTroubleshootingErrors']();if(_0x3c729b[_0x127dc3(0x179)](_0xbaa92b,null)&&_0xbaa92b['getSuccess']()){const _0xae0747=Buffer[_0x127dc3(0x159)](_0xbaa92b['getErrorCodes'](),_0x3c729b[_0x127dc3(0x166)])[_0x127dc3(0x14a)](),_0x40a3d6=_0xae0747?JSON[_0x127dc3(0x146)](_0xae0747):[],_0x35a11d=_0xbaa92b[_0x127dc3(0x171)](),_0x17377b=_0xbaa92b[_0x127dc3(0x14f)](),_0x4ab67c=Buffer['from'](_0xbaa92b[_0x127dc3(0x144)](),_0x3c729b['ElZiT'])['toString'](),_0x109f55=_0x4ab67c?JSON[_0x127dc3(0x146)](_0x4ab67c):[],_0x115ed7={};return _0x115ed7[_0x127dc3(0x187)]=_0x40a3d6,_0x115ed7[_0x127dc3(0x12d)]=_0x35a11d,_0x115ed7['finalErrorMessage']=_0x17377b,_0x115ed7[_0x127dc3(0x137)]=_0x109f55,_0x115ed7;}const _0x44f94d={};return _0x44f94d[_0x127dc3(0x187)]=[],_0x44f94d['documentationLink']='',_0x44f94d['finalErrorMessage']='',_0x44f94d[_0x127dc3(0x137)]=[],_0x44f94d;}const _0x2de570={};return _0x2de570[_0x127dc3(0x187)]=[],_0x2de570[_0x127dc3(0x12d)]='',_0x2de570[_0x127dc3(0x168)]='',_0x2de570[_0x127dc3(0x137)]=[],_0x2de570;}catch(_0x46c21f){this[_0x127dc3(0x184)](_0x3c729b[_0x127dc3(0x188)],_0x46c21f);const _0x3eb10a={};return _0x3eb10a['errorCodes']=[],_0x3eb10a[_0x127dc3(0x12d)]='',_0x3eb10a['finalErrorMessage']='',_0x3eb10a[_0x127dc3(0x137)]=[],_0x3eb10a;}}static[a54_0x35f4de(0x18c)](_0x11e06d,_0x362ca1){const _0x11e08b=a54_0x35f4de;logger[_0x11e08b(0x15c)](_0x11e06d+':\x20'+_0x362ca1);}static[a54_0x35f4de(0x182)](_0x4367b3){const _0x195753=a54_0x35f4de,_0x1bdc5e={};_0x1bdc5e[_0x195753(0x17a)]=function(_0x51ca40,_0x699db5){return _0x51ca40!=_0x699db5;},_0x1bdc5e['XuClh']=function(_0x22b082,_0x1d3e64){return _0x22b082!=_0x1d3e64;},_0x1bdc5e[_0x195753(0x139)]=function(_0x3251d1,_0x56bfa5){return _0x3251d1>_0x56bfa5;},_0x1bdc5e['BVXWt']=function(_0x414694,_0xd8104f){return _0x414694!=_0xd8104f;},_0x1bdc5e[_0x195753(0x143)]=function(_0x49a9bd,_0x2fb54b){return _0x49a9bd!=_0x2fb54b;};const _0x3a8608=_0x1bdc5e,_0x1d1110=[];if(_0x3a8608['ggAhD'](_0x4367b3,null)&&_0x3a8608[_0x195753(0x15a)](_0x4367b3[_0x195753(0x137)],null)&&_0x3a8608[_0x195753(0x139)](_0x4367b3[_0x195753(0x137)][_0x195753(0x133)],0x0))for(const _0x56e91f of _0x4367b3[_0x195753(0x137)]){_0x3a8608[_0x195753(0x14e)](_0x56e91f[_0x195753(0x13b)],null)&&_0x3a8608[_0x195753(0x143)](_0x56e91f[_0x195753(0x177)],null)&&(_0x1d1110[_0x195753(0x169)](_0x56e91f[_0x195753(0x13b)]),this[_0x195753(0x18c)](_0x56e91f[_0x195753(0x13b)],_0x56e91f[_0x195753(0x177)]));}return _0x1d1110;}static[a54_0x35f4de(0x15e)](){const _0x1fb700=a54_0x35f4de;return this[_0x1fb700(0x134)];}static[a54_0x35f4de(0x184)](_0x853cc9,_0x2db2d4){const _0x267855=a54_0x35f4de,_0x17cbc={};_0x17cbc[_0x267855(0x130)]=function(_0x3d0497,_0x99d081){return _0x3d0497===_0x99d081;},_0x17cbc[_0x267855(0x178)]=_0x267855(0x150);const _0x4dcd5a=_0x17cbc;if(_0x4dcd5a[_0x267855(0x130)](typeof _0x2db2d4,_0x4dcd5a[_0x267855(0x178)]))try{logger[_0x267855(0x167)]('[ClientTroubleShootingService]\x20'+_0x853cc9+'\x20'+JSON[_0x267855(0x18f)](_0x2db2d4));}catch(_0x3288db){logger['error']('[ClientTroubleShootingService]\x20'+_0x853cc9+'\x20'+_0x2db2d4);}else logger[_0x267855(0x167)](_0x267855(0x183)+_0x853cc9+'\x20'+_0x2db2d4);}static async[a54_0x35f4de(0x148)](_0x20a701){const _0x4ef510=a54_0x35f4de,_0x50c49d={};_0x50c49d['MoxJO']=_0x4ef510(0x131),_0x50c49d[_0x4ef510(0x15d)]=function(_0x121bc0,_0x6a3d6a){return _0x121bc0===_0x6a3d6a;},_0x50c49d['PjklF']=_0x4ef510(0x13e),_0x50c49d[_0x4ef510(0x158)]=_0x4ef510(0x160);const _0x30be15=_0x50c49d,_0x185d24=await this[_0x4ef510(0x170)](_0x30be15[_0x4ef510(0x135)]);if(_0x30be15[_0x4ef510(0x15d)](Object['keys'](_0x185d24)['length'],0x0)){this[_0x4ef510(0x184)](_0x30be15[_0x4ef510(0x16a)],_0x185d24);return;}this[_0x4ef510(0x18c)](_0x185d24[_0x4ef510(0x13b)],_0x185d24[_0x4ef510(0x177)]['replace'](_0x30be15[_0x4ef510(0x158)],_0x20a701));}static async['reportSessionLinkingIssue'](){const _0x1bb118=a54_0x35f4de,_0x18e2a8={};_0x18e2a8[_0x1bb118(0x14d)]=_0x1bb118(0x163),_0x18e2a8[_0x1bb118(0x16b)]=function(_0x27026a,_0x52adb6){return _0x27026a===_0x52adb6;},_0x18e2a8['EKaDz']=_0x1bb118(0x13c);const _0x5bfa98=_0x18e2a8,_0x475928=await this[_0x1bb118(0x170)](_0x5bfa98[_0x1bb118(0x14d)]);if(_0x5bfa98[_0x1bb118(0x16b)](Object[_0x1bb118(0x155)](_0x475928)['length'],0x0)){this[_0x1bb118(0x184)](_0x5bfa98[_0x1bb118(0x156)],_0x475928);return;}this[_0x1bb118(0x18c)](_0x475928[_0x1bb118(0x13b)],_0x475928['errorMessage']);}static async[a54_0x35f4de(0x141)](){const _0x3f1faf=a54_0x35f4de,_0x380f93={};_0x380f93[_0x3f1faf(0x164)]='browserstack\x20cloud\x20not\x20reachable',_0x380f93[_0x3f1faf(0x13f)]=function(_0x42e822,_0x420420){return _0x42e822===_0x420420;},_0x380f93['Jlcvm']='Connectivity\x20Issue\x20details\x20not\x20found';const _0x13e6b5=_0x380f93,_0x545dea=await this[_0x3f1faf(0x170)](_0x13e6b5[_0x3f1faf(0x164)]);if(_0x13e6b5['OaGOf'](Object['keys'](_0x545dea)[_0x3f1faf(0x133)],0x0)){this[_0x3f1faf(0x184)](_0x13e6b5[_0x3f1faf(0x136)],_0x545dea);return;}this[_0x3f1faf(0x18c)](_0x545dea['errorCode'],_0x545dea['errorMessage']);}static async['reportSSLCertIssue'](){const _0x2ba3eb=a54_0x35f4de,_0x2e0f0d={};_0x2e0f0d['DmZXy']=_0x2ba3eb(0x154),_0x2e0f0d[_0x2ba3eb(0x142)]=function(_0x222610,_0x56261b){return _0x222610===_0x56261b;},_0x2e0f0d[_0x2ba3eb(0x17c)]='SSL\x20Certificate\x20Issue\x20details\x20not\x20found';const _0x30f68a=_0x2e0f0d,_0x3a07c1=await this[_0x2ba3eb(0x170)](_0x30f68a[_0x2ba3eb(0x174)]);if(_0x30f68a[_0x2ba3eb(0x142)](Object[_0x2ba3eb(0x155)](_0x3a07c1)[_0x2ba3eb(0x133)],0x0)){this[_0x2ba3eb(0x184)](_0x30f68a['WKIqm'],_0x3a07c1);return;}this['logSituation'](_0x3a07c1[_0x2ba3eb(0x13b)],_0x3a07c1['errorMessage']);}static[a54_0x35f4de(0x162)](){const _0x4a04e5=a54_0x35f4de,_0x397a71={};_0x397a71[_0x4a04e5(0x185)]=_0x4a04e5(0x153),_0x397a71[_0x4a04e5(0x132)]=function(_0x5cc21a,_0x4a45f0){return _0x5cc21a===_0x4a45f0;},_0x397a71[_0x4a04e5(0x175)]='.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found';const _0x528149=_0x397a71,_0x5bfd3a=constants['CLIENT_TROUBLESHOOTING_HASH'][_0x528149[_0x4a04e5(0x185)]];if(_0x528149[_0x4a04e5(0x132)](Object[_0x4a04e5(0x155)](_0x5bfd3a)[_0x4a04e5(0x133)],0x0)){this[_0x4a04e5(0x184)](_0x528149[_0x4a04e5(0x175)],_0x5bfd3a);return;}this['errorCodesOccurredWhenCLINotRunning'][_0x4a04e5(0x16f)](_0x5bfd3a[_0x4a04e5(0x13b)]),this[_0x4a04e5(0x18c)](_0x5bfd3a['errorCode'],_0x5bfd3a[_0x4a04e5(0x177)]);}static async['reportConflictingEnvVarIssue'](_0x28adf6){const _0x3263b9=a54_0x35f4de,_0x30c229={};_0x30c229[_0x3263b9(0x161)]=_0x3263b9(0x16d),_0x30c229[_0x3263b9(0x189)]=function(_0x3f928e,_0x516d59){return _0x3f928e===_0x516d59;},_0x30c229[_0x3263b9(0x12b)]=_0x3263b9(0x15b),_0x30c229[_0x3263b9(0x181)]=_0x3263b9(0x17d);const _0x113718=_0x30c229,_0x332aba=await this[_0x3263b9(0x170)](_0x113718[_0x3263b9(0x161)]);if(_0x113718[_0x3263b9(0x189)](Object[_0x3263b9(0x155)](_0x332aba)[_0x3263b9(0x133)],0x0)){this[_0x3263b9(0x184)](_0x113718[_0x3263b9(0x12b)],_0x332aba);return;}const _0x400f15=_0x332aba[_0x3263b9(0x177)][_0x3263b9(0x12e)](_0x113718[_0x3263b9(0x181)],_0x28adf6);this[_0x3263b9(0x18c)](_0x332aba[_0x3263b9(0x13b)],_0x400f15);}static async[a54_0x35f4de(0x13d)](){const _0x5b7a60=a54_0x35f4de,_0x170f12={};_0x170f12[_0x5b7a60(0x16e)]=function(_0x41c32c,_0x12c88e){return _0x41c32c>_0x12c88e;},_0x170f12[_0x5b7a60(0x17b)]=_0x5b7a60(0x172),_0x170f12[_0x5b7a60(0x14b)]=_0x5b7a60(0x140);const _0x5d8fa9=_0x170f12,_0x46e4cb=await this[_0x5b7a60(0x18b)](),_0xf06e5f=this[_0x5b7a60(0x182)](_0x46e4cb),_0x425094=Array[_0x5b7a60(0x16c)](_0x46e4cb[_0x5b7a60(0x187)])?_0x46e4cb[_0x5b7a60(0x187)]:[],_0x550975=_0x5d8fa9[_0x5b7a60(0x16e)](this[_0x5b7a60(0x18e)]['size'],0x0)?Array[_0x5b7a60(0x159)](this[_0x5b7a60(0x18e)]):[],_0x4109a2=new Set([..._0x425094,..._0xf06e5f,..._0x550975]),_0x5b5e85=Array['from'](_0x4109a2);if(_0x5d8fa9[_0x5b7a60(0x16e)](_0x5b5e85[_0x5b7a60(0x133)],0x0)){const _0x3d5366=_0x46e4cb['finalErrorMessage']['replace'](_0x5d8fa9[_0x5b7a60(0x17b)],_0x5b5e85[_0x5b7a60(0x157)](',\x20'))[_0x5b7a60(0x12e)](_0x5d8fa9[_0x5b7a60(0x14b)],_0x46e4cb[_0x5b7a60(0x12d)]);logger[_0x5b7a60(0x15c)](_0x3d5366),this[_0x5b7a60(0x134)]=_0x5b5e85;}}}module[a54_0x35f4de(0x17f)]=ClientTroubleShootingService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a55_0x594751=a55_0x11dd;(function(_0x2777f8,_0x16751c){const _0x1fdaa3=a55_0x11dd,_0x347e3c=_0x2777f8();while(!![]){try{const _0xbdb891=-parseInt(_0x1fdaa3(0x163))/0x1+parseInt(_0x1fdaa3(0x118))/0x2+-parseInt(_0x1fdaa3(0xa2))/0x3+parseInt(_0x1fdaa3(0xb5))/0x4+-parseInt(_0x1fdaa3(0x132))/0x5*(-parseInt(_0x1fdaa3(0x147))/0x6)+parseInt(_0x1fdaa3(0xe4))/0x7*(parseInt(_0x1fdaa3(0xea))/0x8)+-parseInt(_0x1fdaa3(0x104))/0x9;if(_0xbdb891===_0x16751c)break;else _0x347e3c['push'](_0x347e3c['shift']());}catch(_0x934650){_0x347e3c['push'](_0x347e3c['shift']());}}}(a55_0x18a0,0x28a4e));const a55_0x15cb85={};a55_0x15cb85[a55_0x594751(0xd8)]=a55_0x594751(0xfd),a55_0x15cb85[a55_0x594751(0xd9)]='Specify\x20--help\x20for\x20available\x20options';const a55_0xa194d7={};a55_0xa194d7[a55_0x594751(0xd8)]=a55_0x594751(0x10c);const a55_0x181430={};a55_0x181430[a55_0x594751(0xd8)]=a55_0x594751(0x8f);const a55_0x164a76={};a55_0x164a76[a55_0x594751(0xd8)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';function a55_0x11dd(_0x10c42b,_0xf96855){const _0x18a01c=a55_0x18a0();return a55_0x11dd=function(_0x11dd2d,_0x3b723e){_0x11dd2d=_0x11dd2d-0x8b;let _0x21b93f=_0x18a01c[_0x11dd2d];return _0x21b93f;},a55_0x11dd(_0x10c42b,_0xf96855);}const a55_0x9409df={};a55_0x9409df[a55_0x594751(0xd8)]='Run\x20js\x20tests\x20on\x20browserstack';const a55_0x1dc6ea={};a55_0x1dc6ea[a55_0x594751(0xd8)]='Run\x20nightwatch\x20tests\x20on\x20browserstack';function a55_0x18a0(){const _0x5c4533=['2850vPXYbN','AI_INIT_SUCCESSFUL','APP_UPLOAD_URL','automation','authToken','wss://cdp-preprod.bsstag.com/playwright?caps=','FRAMEWORKS','uniqueDependency','HUB_URL_REGEX','OBSERVABILITY_UPLOAD_URL','https://edsstaging.bsstag.com','exports','VANILLA','https://tcg-preprod.bsstag.com','platforms','APP_AUTOMATE_PRODUCTS','GLOBAL_AGENT_NO_PROXY','CODECEPT_CUCUMBER','DEBUG_LOG_FILE_NAME','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','BROWSERSTACK_AUTOMATE_URL','2094bgyuNr','DEPTH_ZERO_SELF_SIGNED_CERT','proxyUser','customVariables','localProxyPass','AI_INIT_FAILURE','accessKey','ERR_NAME_NOT_RESOLVED','browserstackAutomation','SDKTestTcgAuthFailure','MOCHA','TCG_URL','0|9|4|7|12|3|10|6|1|5|2|8|11','ERR_SOCKET_NOT_CONNECTED','logLevel','rerunTests','ERR_SOCKS_CONNECTION_FAILED','browserVersion','https://upload-observability.browserstack.com','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','JEST','TCG_DOWN','ERR_CONNECTION_ABORTED','GIT_META_DATA_TRUNCATED','ERR_CONNECTION_FAILED','GLOBAL_AGENT_HTTP_PROXY','automate','staging','291269ADdFyK','edgeOptions','SSL_ERROR_MESSAGES','https://hub.browserstack.com/wd/hub','localOptions','Run\x20mocha\x20tests\x20on\x20browserstack','AUTOLOGCAPTURE_NOTIFICATION','Mocha','percyCaptureMode','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','percy','browserstack.com','https://hub-preprod.bsstag.com/wd/hub','https://upload-observability-devtestops-ssi.bsstag.com','USER_CONFIG_DETAILS_PATH','ERR_BLOCKED_BY_CLIENT','SDK_INSTRUMENTATION_CONFIG','certificate\x20has\x20expired','pre-prod','BROWSERSTACK_APP_AUTOMATE_URL','self\x20signed\x20certificate','.ipa','PRIVATE_DOMAIN_OR_IP_REGEX','CLI_SUPPORTED_FRAMEWORKS','768810FfYQEV','vanilla','[ClientTroubleShootingService]\x20The\x20SDK\x20is\x20unable\x20to\x20access\x20the\x20.browserstack\x20folder\x20in\x20your\x20home\x20directory.\x20Please\x20ensure\x20that\x20the\x20folder\x20exists\x20and\x20has\x20the\x20correct\x20permissions.','strictFileInteractability','HST','O11Y_URL','A11Y_GET_RESULTS','PLAYWRIGHT_TRACE_LOGS','browserstack.overridelocalInfo.userAuthToken','cucumber','INVALID_INIT_RESP_WITH_USER_IMPACT','https://automation-preprod.bsstag.com','MODULE','observability','BROWSERSTACK_ENV','AUTOMATION_LOG_COMMANDS','unable\x20to\x20verify\x20the\x20first\x20certificate','AUTOMATE_PRODUCTS','prod','1047360lLipfE','.aab','.browserstack\x20folder\x20not\x20accessible','BSTACK_ATS_URL','./browserstack-artifacts/','accessibilityOptions','CODECEPT','module','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','SDK-GEN-001','turboScale','TEST_FRAMEWORK_HOOK_TIMEOUT','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','hubUrl','TCG_REGION','unable\x20to\x20get\x20local\x20issuer\x20certificate','CI_ARTIFACTS_PATH','bsstag','browserStackLocalOptions','SDKTestTcgtInitSuccessful','wss://cdp-devtestops.bsstag.com/playwright?caps=','NUDGE_LOCAL_ERRORS','POLL_HEALING_RESULT_TIMEOUT','CLIENT_TROUBLESHOOTING_HASH','commonjs','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','https://tcg.bsstag.com','/usage.log','firefoxOptions','testReporting','httpProxy','Playwright','httpsProxy','Jest','COMMONJS','INFO','HELP','mocha','ATS_WSS_URL_REGEX','preprod','SELF_SIGNED_CERT_IN_CHAIN','sdk/v1/update_cli','EDS_URL','https://automate.browserstack.com/dashboard/v2/builds/','INTERNALLY_USED_ENV_VARS','https://eds.browserstack.com','browserstack','1247071BtESrI','testContextOptions','TEST\x20REPORTING\x20AND\x20ANALYTICS','UPDATED_CLI_ENDPOINT','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','testObservability','8KKDxqo','proxyPass','ObservabilitySync','testReportingOptions','AI_PROXY_FAILURE','ERR_NETWORK_CHANGED','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','browserstack-ats.com','browserName','...[TRUNCATED]','CUSTOM_ID_REGEX','ERR_PROXY_CONNECTION_FAILED','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','ROOT_REGEX','unhandledPromptBehavior','split','SDKTestInitFailedResponse','TEST_REPORTING_ANALYTICS','jest','shows\x20version\x20information','turboScaleOptions','testOrchestrationOptions','mandatoryDependency','CONNECTIVITY_ISSUE_ERROR_CODES','ERR_CONNECTION_RESET','https://api-preprod.bsstag.com','1794195drgJyC','ERR_TLS_CERT_ALTNAME_INVALID','proxySettings','app-automate','AI_ENABLED_FRAMEWORK','A11Y_SAVE_RESULTS','accessibility','HEALING_LOG_DATA_TIMEOUT','Run\x20jest\x20tests\x20on\x20browserstack','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','UPGRADE_REQUIRED','https://apidevtestops.bsstag.com','FUNNEL_INSTRUMENTATION_API_URL','ERR_CONNECTION_TIMED_OUT','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','PLAYWRIGHT','REDACTED_KEYS','NIGHTWATCH','CUCUMBER','proxyPassword','548898ynPQzo','ETXTBSY','SDKTestInvalidTcgAuthResponseWithUserImpact','framework','wss://cdp.browserstack.com/playwright?caps=','EBUSY','PERCY_SUPPORTED_FRAMEWORKS','chromeOptions','bsstag.com','proxyUrl','codeceptjs-cucumber','PLAYWRIGHT_HUB_URL','acceptSslCert','HEALING_FAILURE_TIMEOUT','browserstack.userName','https://api-cloud-devtestops.bsstag.com','BSTACK_URL','invalidKeys','parallelsPerPlatform','APP_AUTOMATE','https://automate-preprod.bsstag.com/dashboard/v2/builds/','testObservabilityOptions','SET_TCG_TOKEN_TIMEOUT','BROWSERSTACK','BSTACK_DELTA','ERR_FAILED'];a55_0x18a0=function(){return _0x5c4533;};return a55_0x18a0();}const a55_0x484ccc={};a55_0x484ccc[a55_0x594751(0xd8)]='Run\x20playwright\x20tests\x20on\x20Browserstack';const a55_0x5c81d8={};a55_0x5c81d8[a55_0x594751(0xd8)]='Run\x20codeceptjs\x20tests\x20on\x20browserstack';const a55_0x2507bc={};a55_0x2507bc['INFO']=a55_0x594751(0x145);const a55_0x1af5f8={};a55_0x1af5f8[a55_0x594751(0xd8)]='Connect\x20on\x20prem\x20instances\x20to\x20Browserstack';const a55_0x524f11={};a55_0x524f11['PLAYWRIGHT']='Playwright',a55_0x524f11[a55_0x594751(0x151)]='mocha',a55_0x524f11[a55_0x594751(0x15b)]='jest',a55_0x524f11[a55_0x594751(0xbb)]='codeceptjs',a55_0x524f11[a55_0x594751(0x143)]=a55_0x594751(0x122),a55_0x524f11[a55_0x594751(0x116)]='cucumber',a55_0x524f11[a55_0x594751(0x13e)]=a55_0x594751(0xa3);const a55_0x49c3c5={};a55_0x49c3c5[a55_0x594751(0x129)]=a55_0x594751(0xce),a55_0x49c3c5[a55_0x594751(0x139)]=a55_0x594751(0x93),a55_0x49c3c5[a55_0x594751(0x100)]=a55_0x594751(0x112),a55_0x49c3c5['invalidTestInputType']='Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file';const a55_0x202532={};a55_0x202532[a55_0x594751(0xd7)]=a55_0x594751(0xcd),a55_0x202532[a55_0x594751(0xae)]=a55_0x594751(0xbc);const a55_0x141d70={};a55_0x141d70[a55_0x594751(0x91)]=0xfde8,a55_0x141d70['Cucumber-JS']=0xfde8,a55_0x141d70[a55_0x594751(0xd6)]=0x186a0;const a55_0x578080={};a55_0x578080['root']=['userName',a55_0x594751(0x14d),a55_0x594751(0xd3),a55_0x594751(0xd5),'customVariables',a55_0x594751(0x126),'browserstack.accessKey',a55_0x594751(0x117),a55_0x594751(0x136),a55_0x594751(0x121),a55_0x594751(0xaa)],a55_0x578080['browserStackLocalOptions']=[a55_0x594751(0x149),a55_0x594751(0xeb),'localProxyUser',a55_0x594751(0x14b)];const a55_0x484b90={};a55_0x484b90['browserstackLocal']='browserstackLocal',a55_0x484b90['browserStackLocalOptions']=a55_0x594751(0xc7),a55_0x484b90[a55_0x594751(0x8e)]=a55_0x594751(0xc7),a55_0x484b90[a55_0x594751(0x12a)]=a55_0x594751(0x12a),a55_0x484b90[a55_0x594751(0x140)]=a55_0x594751(0x140),a55_0x484b90[a55_0x594751(0x155)]=a55_0x594751(0x155),a55_0x484b90['httpProxy']=a55_0x594751(0xd3),a55_0x484b90[a55_0x594751(0xd5)]=a55_0x594751(0xd5),a55_0x484b90['framework']=a55_0x594751(0x11b),a55_0x484b90[a55_0x594751(0xe5)]='testContextOptions',a55_0x484b90[a55_0x594751(0xe9)]=a55_0x594751(0xe9),a55_0x484b90['testReporting']=a55_0x594751(0xd2),a55_0x484b90[a55_0x594751(0x12d)]=a55_0x594751(0x12d),a55_0x484b90[a55_0x594751(0xed)]='testReportingOptions',a55_0x484b90[a55_0x594751(0x14a)]='customVariables',a55_0x484b90[a55_0x594751(0x135)]=a55_0x594751(0x14f),a55_0x484b90['browserstackAutomation']=a55_0x594751(0x14f),a55_0x484b90[a55_0x594751(0x156)]='rerunTests',a55_0x484b90['percy']=a55_0x594751(0x94),a55_0x484b90['percyOptions']='percyOptions',a55_0x484b90[a55_0x594751(0x92)]=a55_0x594751(0x92),a55_0x484b90['disableAutoCaptureLogs']='disableAutoCaptureLogs',a55_0x484b90['accessibility']=a55_0x594751(0x10a),a55_0x484b90[a55_0x594751(0xba)]=a55_0x594751(0xba),a55_0x484b90[a55_0x594751(0xbf)]=a55_0x594751(0xbf),a55_0x484b90['turboScaleOptions']=a55_0x594751(0xfe),a55_0x484b90['proxySettings']=a55_0x594751(0x106),a55_0x484b90[a55_0x594751(0xff)]=a55_0x594751(0xff);const a55_0x37f36f={};a55_0x37f36f[a55_0x594751(0xb7)]=[a55_0x594751(0xbe),a55_0x594751(0xa4)];const a55_0x1d97e0={};a55_0x1d97e0['VERSION']=a55_0x15cb85,a55_0x1d97e0['JEST']=a55_0xa194d7,a55_0x1d97e0[a55_0x594751(0x151)]=a55_0x181430,a55_0x1d97e0[a55_0x594751(0x116)]=a55_0x164a76,a55_0x1d97e0[a55_0x594751(0x13e)]=a55_0x9409df,a55_0x1d97e0[a55_0x594751(0x115)]=a55_0x1dc6ea,a55_0x1d97e0[a55_0x594751(0x113)]=a55_0x484ccc,a55_0x1d97e0['CODECEPTJS']=a55_0x5c81d8,a55_0x1d97e0[a55_0x594751(0xa6)]=a55_0x2507bc,a55_0x1d97e0['INTEGRATIONS']=a55_0x1af5f8,a55_0x1d97e0[a55_0x594751(0x130)]=0xf*0x3c*0x3e8,a55_0x1d97e0[a55_0x594751(0xc2)]=a55_0x594751(0x8d),a55_0x1d97e0[a55_0x594751(0x152)]='https://tcg.browserstack.com',a55_0x1d97e0[a55_0x594751(0xc3)]='use',a55_0x1d97e0[a55_0x594751(0x13a)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x1d97e0['ATS_HUB_URL_REGEX']=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x1d97e0[a55_0x594751(0xdb)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x1d97e0['ROOT_CAPS']=['acceptInsecureCerts','pageLoadStrategy',a55_0x594751(0xa5),a55_0x594751(0xf8),'timeouts',a55_0x594751(0xf2),a55_0x594751(0x158),'acceptSslCerts',a55_0x594751(0x124),a55_0x594751(0x11f),a55_0x594751(0xd1),a55_0x594751(0x8b),'ieOptions'],a55_0x1d97e0[a55_0x594751(0xf7)]=/^[\w-]+:.*$/,a55_0x1d97e0[a55_0x594751(0xa0)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x1d97e0[a55_0x594751(0xdf)]=a55_0x594751(0xe2),a55_0x1d97e0['BROWSERSTACK_API_URL']='https://api.browserstack.com',a55_0x1d97e0[a55_0x594751(0x134)]='https://api-cloud.browserstack.com',a55_0x1d97e0[a55_0x594751(0xe7)]=a55_0x594751(0xde),a55_0x1d97e0[a55_0x594751(0x110)]='sdk/v1/event',a55_0x1d97e0[a55_0x594751(0xb3)]=['automate',a55_0x594751(0xaf)],a55_0x1d97e0[a55_0x594751(0x141)]=[a55_0x594751(0x107),a55_0x594751(0xaf)],a55_0x1d97e0[a55_0x594751(0xe8)]=[a55_0x594751(0xaf)],a55_0x1d97e0['OBSERVABILITY_UPLOAD_URL']=a55_0x594751(0x159),a55_0x1d97e0['OBSERVABILITY_SUPPORTED_FWS']=[a55_0x594751(0xda),a55_0x594751(0xd4)],a55_0x1d97e0['AUTOMATE']=[a55_0x594751(0x161)],a55_0x1d97e0[a55_0x594751(0x146)]=a55_0x594751(0xe0),a55_0x1d97e0[a55_0x594751(0x9d)]='https://app-automate.browserstack.com/dashboard/v2/builds/',a55_0x1d97e0[a55_0x594751(0x12b)]=['app-automate'],a55_0x1d97e0[a55_0x594751(0xca)]=[a55_0x594751(0x131),'ERR_TIMED_OUT',a55_0x594751(0x99),a55_0x594751(0xef),a55_0x594751(0x154),'ERR_CONNECTION_CLOSED',a55_0x594751(0x102),'ERR_CONNECTION_REFUSED',a55_0x594751(0x15d),a55_0x594751(0x15f),a55_0x594751(0x14e),'ERR_ADDRESS_INVALID','ERR_ADDRESS_UNREACHABLE','ERR_TUNNEL_CONNECTION_FAILED',a55_0x594751(0x111),a55_0x594751(0x157),a55_0x594751(0xf6),a55_0x594751(0xf5),a55_0x594751(0x14e),'ERR_NAME_RESOLUTION_FAILED',a55_0x594751(0x10d)],a55_0x1d97e0['VALID_APP_EXTENSION']=['.apk',a55_0x594751(0xb6),a55_0x594751(0x9f)],a55_0x1d97e0[a55_0x594751(0xf4)]='^[a-zA-Z0-9_.-]*$',a55_0x1d97e0['SHAREABLE_ID_REGEX']=a55_0x594751(0xf0),a55_0x1d97e0[a55_0x594751(0xc5)]=a55_0x594751(0xb9),a55_0x1d97e0[a55_0x594751(0x123)]=a55_0x594751(0x11c),a55_0x1d97e0[a55_0x594751(0x138)]=a55_0x524f11,a55_0x1d97e0[a55_0x594751(0x11e)]=['jest',a55_0x594751(0xda)],a55_0x1d97e0['PLAYWRIGHT_CONFIG_OPTION_ERRORS']=a55_0x49c3c5,a55_0x1d97e0[a55_0x594751(0x90)]=a55_0x594751(0x15a),a55_0x1d97e0['PACKAGE_TYPE']=a55_0x202532,a55_0x1d97e0['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a55_0x1d97e0[a55_0x594751(0x15e)]=a55_0x594751(0xf3),a55_0x1d97e0[a55_0x594751(0x10e)]='Upgrade\x20required',a55_0x1d97e0[a55_0x594751(0x15c)]='SDKTestTcgDownResponse',a55_0x1d97e0[a55_0x594751(0xac)]=a55_0x594751(0x11a),a55_0x1d97e0['TCG_AUTH_FAILURE']=a55_0x594751(0x150),a55_0x1d97e0[a55_0x594751(0x133)]=a55_0x594751(0xc8),a55_0x1d97e0[a55_0x594751(0x14c)]=a55_0x594751(0xfa),a55_0x1d97e0[a55_0x594751(0xee)]='SDKTestTcgProxyFailure',a55_0x1d97e0['TCG_AUTH_TIMEOUT']=0x1388,a55_0x1d97e0[a55_0x594751(0x12e)]=0x1388,a55_0x1d97e0[a55_0x594751(0x10b)]=0x1388,a55_0x1d97e0[a55_0x594751(0x125)]=0x1388,a55_0x1d97e0[a55_0x594751(0xcb)]=0xc350,a55_0x1d97e0[a55_0x594751(0xc0)]=a55_0x141d70,a55_0x1d97e0[a55_0x594751(0x114)]=a55_0x578080,a55_0x1d97e0[a55_0x594751(0x108)]=[a55_0x594751(0xa3),'codeceptjs'],a55_0x1d97e0[a55_0x594751(0x9a)]=a55_0x484b90,a55_0x1d97e0['LOG_FILE_NAME']=a55_0x594751(0xd0),a55_0x1d97e0[a55_0x594751(0x144)]='/usage-debug.log',a55_0x1d97e0[a55_0x594751(0x128)]=a55_0x594751(0x95),a55_0x1d97e0[a55_0x594751(0xb8)]=a55_0x594751(0xf1),a55_0x1d97e0['O11Y_URL']='https://automation.browserstack.com',a55_0x1d97e0[a55_0x594751(0xfb)]=a55_0x594751(0xe6),a55_0x1d97e0[a55_0x594751(0x12f)]=a55_0x594751(0xe3),a55_0x1d97e0[a55_0x594751(0xa1)]=['playwright',a55_0x594751(0xab),a55_0x594751(0xfc)],a55_0x1d97e0[a55_0x594751(0xb1)]=['A11Y_SCAN','A11Y_GET_RESULTS_SUMMARY',a55_0x594751(0xa8),a55_0x594751(0x109),'percyScreenshot',a55_0x594751(0xec)],a55_0x1d97e0['PLAYWRIGHT_TRACE_LOGS']=a55_0x594751(0xa9),a55_0x1d97e0[a55_0x594751(0x8c)]=[a55_0x594751(0x9e),a55_0x594751(0xb2),a55_0x594751(0x9b),a55_0x594751(0xc4),a55_0x594751(0x105),'DEPTH_ZERO_SELF_SIGNED_CERT'],a55_0x1d97e0['SSL_ERROR_CODES']=[a55_0x594751(0xdd),a55_0x594751(0x148),'UNABLE_TO_VERIFY_LEAF_SIGNATURE','CERT_HAS_EXPIRED',a55_0x594751(0x105),'UNABLE_TO_GET_ISSUER_CERT_LOCALLY'],a55_0x1d97e0[a55_0x594751(0x101)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x1d97e0[a55_0x594751(0xcc)]=a55_0x37f36f,a55_0x1d97e0[a55_0x594751(0xe1)]=[a55_0x594751(0x160),a55_0x594751(0x142),a55_0x594751(0x98)],a55_0x1d97e0['BINARY_BUSY_ERROR_CODES']=[a55_0x594751(0x119),a55_0x594751(0x11d)],module[a55_0x594751(0x13d)]=a55_0x1d97e0;const _env=(process['env'][a55_0x594751(0xb0)]||a55_0x594751(0xb4))['toLowerCase']();if(_env===a55_0x594751(0x162)||_env==='stag'){const KDDVJf=a55_0x594751(0x153)[a55_0x594751(0xf9)]('|');let KvikxE=0x0;while(!![]){switch(KDDVJf[KvikxE++]){case'0':module[a55_0x594751(0x13d)]['hubUrl']='https://hub-devtestops.bsstag.com/wd/hub';continue;case'1':module['exports'][a55_0x594751(0x128)]='bsstag.com';continue;case'2':module[a55_0x594751(0x13d)][a55_0x594751(0x13b)]=a55_0x594751(0x97);continue;case'3':module['exports'][a55_0x594751(0x9d)]=a55_0x594751(0xc1);continue;case'4':module[a55_0x594751(0x13d)][a55_0x594751(0x152)]=a55_0x594751(0xcf);continue;case'5':module['exports']['O11Y_URL']='https://observability-devtestops.bsstag.com';continue;case'6':module[a55_0x594751(0x13d)]['PLAYWRIGHT_HUB_URL']=a55_0x594751(0xc9);continue;case'7':module[a55_0x594751(0x13d)][a55_0x594751(0x13a)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'8':module[a55_0x594751(0x13d)][a55_0x594751(0xdf)]=a55_0x594751(0x13c);continue;case'9':module[a55_0x594751(0x13d)]['BROWSERSTACK_API_URL']=a55_0x594751(0x10f);continue;case'10':module[a55_0x594751(0x13d)][a55_0x594751(0x134)]=a55_0x594751(0x127);continue;case'11':module[a55_0x594751(0x13d)]['BROWSERSTACK']=a55_0x594751(0xc6);continue;case'12':module['exports']['BROWSERSTACK_AUTOMATE_URL']='https://automate-devtestops.bsstag.com/dashboard/v2/builds/';continue;}break;}}else{if(_env===a55_0x594751(0xdc)||_env===a55_0x594751(0x9c)){const huODVc='3|10|9|8|7|1|5|0|11|6|2|4|12'[a55_0x594751(0xf9)]('|');let DKsYNw=0x0;while(!![]){switch(huODVc[DKsYNw++]){case'0':module[a55_0x594751(0x13d)][a55_0x594751(0x123)]=a55_0x594751(0x137);continue;case'1':module[a55_0x594751(0x13d)][a55_0x594751(0x9d)]=a55_0x594751(0xbd);continue;case'2':module[a55_0x594751(0x13d)][a55_0x594751(0x13b)]='https://upload-observability-preprod.bsstag.com';continue;case'3':module[a55_0x594751(0x13d)][a55_0x594751(0xc2)]=a55_0x594751(0x96);continue;case'4':module[a55_0x594751(0x13d)][a55_0x594751(0xdf)]=a55_0x594751(0x13c);continue;case'5':module['exports'][a55_0x594751(0x134)]=a55_0x594751(0x103);continue;case'6':module['exports'][a55_0x594751(0xa7)]=a55_0x594751(0xad);continue;case'7':module[a55_0x594751(0x13d)][a55_0x594751(0x146)]=a55_0x594751(0x12c);continue;case'8':module['exports'][a55_0x594751(0x13a)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'9':module[a55_0x594751(0x13d)][a55_0x594751(0x152)]=a55_0x594751(0x13f);continue;case'10':module[a55_0x594751(0x13d)]['BROWSERSTACK_API_URL']=a55_0x594751(0x103);continue;case'11':module['exports'][a55_0x594751(0x128)]=a55_0x594751(0x120);continue;case'12':module['exports'][a55_0x594751(0x12f)]='bsstag';continue;}break;}}}
|
|
1
|
+
const a55_0x18e2c7=a55_0x17c5;(function(_0x4c17db,_0x1fb688){const _0x3e4104=a55_0x17c5,_0x35ec36=_0x4c17db();while(!![]){try{const _0x3511cc=parseInt(_0x3e4104(0x1b8))/0x1+parseInt(_0x3e4104(0x188))/0x2+parseInt(_0x3e4104(0x1da))/0x3+-parseInt(_0x3e4104(0x1af))/0x4*(-parseInt(_0x3e4104(0x1d1))/0x5)+-parseInt(_0x3e4104(0x152))/0x6*(parseInt(_0x3e4104(0x137))/0x7)+parseInt(_0x3e4104(0x160))/0x8+-parseInt(_0x3e4104(0x14a))/0x9;if(_0x3511cc===_0x1fb688)break;else _0x35ec36['push'](_0x35ec36['shift']());}catch(_0x38a24a){_0x35ec36['push'](_0x35ec36['shift']());}}}(a55_0xaee2,0x834bc));const a55_0x4b61d1={};a55_0x4b61d1['INFO']=a55_0x18e2c7(0x1b7),a55_0x4b61d1[a55_0x18e2c7(0x170)]=a55_0x18e2c7(0x154);const a55_0x5c270c={};a55_0x5c270c[a55_0x18e2c7(0x1a1)]=a55_0x18e2c7(0x1bf);const a55_0x208bb3={};a55_0x208bb3[a55_0x18e2c7(0x1a1)]=a55_0x18e2c7(0x132);const a55_0x4740be={};a55_0x4740be[a55_0x18e2c7(0x1a1)]=a55_0x18e2c7(0x1b5);function a55_0x17c5(_0x337f25,_0x5b42e5){const _0xaee2a5=a55_0xaee2();return a55_0x17c5=function(_0x17c552,_0x3b1b01){_0x17c552=_0x17c552-0x11a;let _0x520eab=_0xaee2a5[_0x17c552];return _0x520eab;},a55_0x17c5(_0x337f25,_0x5b42e5);}const a55_0x588eb1={};a55_0x588eb1[a55_0x18e2c7(0x1a1)]=a55_0x18e2c7(0x1c1);const a55_0xb634d6={};a55_0xb634d6['INFO']=a55_0x18e2c7(0x120);const a55_0x59430d={};a55_0x59430d[a55_0x18e2c7(0x1a1)]='Run\x20playwright\x20tests\x20on\x20Browserstack';const a55_0x2eab17={};a55_0x2eab17[a55_0x18e2c7(0x1a1)]=a55_0x18e2c7(0x139);const a55_0x43ca19={};a55_0x43ca19[a55_0x18e2c7(0x1a1)]='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';const a55_0x357f20={};a55_0x357f20[a55_0x18e2c7(0x1a1)]='Connect\x20on\x20prem\x20instances\x20to\x20Browserstack';const a55_0x16f888={};function a55_0xaee2(){const _0x4a6439=['accessibility','bsstag','browserstack.com','BROWSERSTACK_APP_AUTOMATE_URL','toLowerCase','AUTOLOGCAPTURE_NOTIFICATION','UNABLE_TO_VERIFY_LEAF_SIGNATURE','^[a-zA-Z0-9_.-]*$','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','INTEGRATIONS','SDK_INSTRUMENTATION_CONFIG','codeceptjs-cucumber','turboScale','MODULE','1405UcANMc','ROOT_REGEX','ERR_TUNNEL_CONNECTION_FAILED','platforms','BROWSERSTACK_AUTOMATE_URL','observability','wss://cdp.browserstack.com/playwright?caps=','hubUrl','bsstag.com','2995041pXyaAg','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','root','timeouts','SDKTestTcgAuthFailure','unable\x20to\x20verify\x20the\x20first\x20certificate','.apk','browserstack','httpProxy','JEST','HST','CUSTOM_ID_REGEX','DEPTH_ZERO_SELF_SIGNED_CERT','MOCHA','customVariables','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','A11Y_GET_RESULTS','TCG_AUTH_TIMEOUT','percyOptions','https://automation.browserstack.com','CODECEPT_CUCUMBER','module','SDKTestTcgProxyFailure','SSL_ERROR_MESSAGES','TEST\x20REPORTING\x20AND\x20ANALYTICS','strictFileInteractability','GLOBAL_AGENT_NO_PROXY','proxyPassword','disableAutoCaptureLogs','OBSERVABILITY_SUPPORTED_FWS','ERR_CONNECTION_TIMED_OUT','https://api-preprod.bsstag.com','ERR_SOCKS_CONNECTION_FAILED','VALID_APP_EXTENSION','proxyPass','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','ERR_FAILED','APP_AUTOMATE','2|12|10|3|0|11|5|8|9|1|4|7|6','https://app-automate.browserstack.com/dashboard/v2/builds/','CODECEPTJS','localProxyUser','CONNECTIVITY_ISSUE_ERROR_CODES','jest','Upgrade\x20required','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','FRAMEWORKS','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','BROWSERSTACK','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','browserstack.userName','Run\x20nightwatch\x20tests\x20on\x20browserstack','browserstack-ats.com','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','codeceptjs','https://api.browserstack.com','ERR_TIMED_OUT','automate','testOrchestrationOptions','framework','https://upload-observability-devtestops-ssi.bsstag.com','exports','https://tcg.browserstack.com','unable\x20to\x20get\x20local\x20issuer\x20certificate','PLAYWRIGHT_CONFIG_OPTION_ERRORS','.ipa','browserstackLocal','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','turboScaleOptions','Run\x20mocha\x20tests\x20on\x20browserstack','ERR_CONNECTION_FAILED','ERR_BLOCKED_BY_CLIENT','PRIVATE_DOMAIN_OR_IP_REGEX','percyCaptureMode','11543jTAIqQ','ERR_TLS_CERT_ALTNAME_INVALID','Run\x20codeceptjs\x20tests\x20on\x20browserstack','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','VANILLA','...[TRUNCATED]','testReportingOptions','acceptInsecureCerts','CUCUMBER','ETXTBSY','ATS_WSS_URL_REGEX','testContextOptions','VERSION','A11Y_GET_RESULTS_SUMMARY','https://automation-preprod.bsstag.com','SHAREABLE_ID_REGEX','Jest','A11Y_SAVE_RESULTS','mocha','26826300ZzKzOz','localProxyPass','httpsProxy','O11Y_URL','proxySettings','accessibilityOptions','sdk/v1/update_cli','.browserstack\x20folder\x20not\x20accessible','6tZbszB','SDKTestInvalidTcgAuthResponseWithUserImpact','Specify\x20--help\x20for\x20available\x20options','HUB_URL_REGEX','FUNNEL_INSTRUMENTATION_API_URL','TCG_AUTH_FAILURE','AI_PROXY_FAILURE','OBSERVABILITY_UPLOAD_URL','wss://cdp-preprod.bsstag.com/playwright?caps=','cucumber','https://api-cloud-devtestops.bsstag.com','Playwright','env','acceptSslCert','2002760hlJANP','HEALING_LOG_DATA_TIMEOUT','SELF_SIGNED_CERT_IN_CHAIN','CLI_SUPPORTED_FRAMEWORKS','GLOBAL_AGENT_HTTP_PROXY','preprod','https://eds.browserstack.com','TEST_FRAMEWORK_HOOK_TIMEOUT','DEBUG_LOG_FILE_NAME','PLAYWRIGHT_TRACE_LOGS','browserStackLocalOptions','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','ERR_NAME_NOT_RESOLVED','split','acceptSslCerts','self\x20signed\x20certificate','HELP','INTERNALLY_USED_ENV_VARS','userName','/usage.log','https://edsstaging.bsstag.com','commonjs','https://tcg-preprod.bsstag.com','TCG_URL','A11Y_SCAN','sdk/v1/event','https://tcg.bsstag.com','ATS_HUB_URL_REGEX','localOptions','3|6|0|10|2|1|9|5|7|12|4|11|8','automation','parallelsPerPlatform','firefoxOptions','playwright','percyScreenshot','certificate\x20has\x20expired','AI_ENABLED_FRAMEWORK','testObservabilityOptions','https://observability-devtestops.bsstag.com','BSTACK_URL','2022236IkDQFa','CLIENT_TROUBLESHOOTING_HASH','ERR_SOCKET_NOT_CONNECTED','HEALING_FAILURE_TIMEOUT','SET_TCG_TOKEN_TIMEOUT','ERR_NAME_RESOLUTION_FAILED','wss://cdp-devtestops.bsstag.com/playwright?caps=','AI_INIT_SUCCESSFUL','pageLoadStrategy','vanilla','CERT_HAS_EXPIRED','Cucumber-JS','APP_UPLOAD_URL','invalidKeys','TCG_REGION','app-automate','POLL_HEALING_RESULT_TIMEOUT','browserstack.overridelocalInfo.userAuthToken','browserVersion','use','COMMONJS','https://hub-devtestops.bsstag.com/wd/hub','testReporting','testObservability','USER_CONFIG_DETAILS_PATH','INFO','AI_INIT_FAILURE','browserstackAutomation','ERR_CONNECTION_ABORTED','SDKTestTcgtInitSuccessful','BROWSERSTACK_ENV','ERR_PROXY_CONNECTION_FAILED','stag','EDS_URL','https://upload-observability.browserstack.com','LOG_FILE_NAME','PLAYWRIGHT_HUB_URL','BROWSERSTACK_API_URL','PLAYWRIGHT','11444RheyNy','REDACTED_KEYS','BSTACK_ATS_URL','BINARY_BUSY_ERROR_CODES','SSL_ERROR_CODES','INVALID_INIT_RESP_WITH_USER_IMPACT','Run\x20cucumber-js\x20tests\x20on\x20browserstack','Mocha','shows\x20version\x20information','456386mfLFDe','unhandledPromptBehavior','chromeOptions','uniqueDependency','percy','rerunTests','https://automate.browserstack.com/dashboard/v2/builds/','Run\x20jest\x20tests\x20on\x20browserstack','ERR_NETWORK_CHANGED','Run\x20js\x20tests\x20on\x20browserstack','SDKTestInitFailedResponse'];a55_0xaee2=function(){return _0x4a6439;};return a55_0xaee2();}a55_0x16f888[a55_0x18e2c7(0x1ae)]=a55_0x18e2c7(0x15d),a55_0x16f888[a55_0x18e2c7(0x1e7)]=a55_0x18e2c7(0x149),a55_0x16f888[a55_0x18e2c7(0x1e3)]=a55_0x18e2c7(0x205),a55_0x16f888['CODECEPT']=a55_0x18e2c7(0x123),a55_0x16f888[a55_0x18e2c7(0x1ee)]=a55_0x18e2c7(0x1ce),a55_0x16f888['CUCUMBER']=a55_0x18e2c7(0x15b),a55_0x16f888[a55_0x18e2c7(0x13b)]=a55_0x18e2c7(0x191);const a55_0x35b9a8={};a55_0x35b9a8[a55_0x18e2c7(0x195)]=a55_0x18e2c7(0x207),a55_0x35b9a8[a55_0x18e2c7(0x1bb)]=a55_0x18e2c7(0x130),a55_0x35b9a8['mandatoryDependency']=a55_0x18e2c7(0x11e),a55_0x35b9a8['invalidTestInputType']=a55_0x18e2c7(0x13a);const a55_0x4b3237={};a55_0x4b3237[a55_0x18e2c7(0x19c)]=a55_0x18e2c7(0x175),a55_0x4b3237[a55_0x18e2c7(0x1d0)]=a55_0x18e2c7(0x1ef);const a55_0x2eb310={};a55_0x2eb310[a55_0x18e2c7(0x1b6)]=0xfde8,a55_0x2eb310[a55_0x18e2c7(0x193)]=0xfde8,a55_0x2eb310[a55_0x18e2c7(0x147)]=0x186a0;const a55_0x371cdc={};a55_0x371cdc[a55_0x18e2c7(0x1dc)]=[a55_0x18e2c7(0x172),'accessKey',a55_0x18e2c7(0x1e2),a55_0x18e2c7(0x14c),a55_0x18e2c7(0x1e8),a55_0x18e2c7(0x11f),'browserstack.accessKey',a55_0x18e2c7(0x1f5),'authToken','proxyUrl',a55_0x18e2c7(0x199)],a55_0x371cdc[a55_0x18e2c7(0x16a)]=['proxyUser',a55_0x18e2c7(0x1fc),a55_0x18e2c7(0x203),a55_0x18e2c7(0x14b)];const a55_0x220341={};a55_0x220341[a55_0x18e2c7(0x12f)]=a55_0x18e2c7(0x12f),a55_0x220341[a55_0x18e2c7(0x16a)]='browserStackLocalOptions',a55_0x220341[a55_0x18e2c7(0x17c)]=a55_0x18e2c7(0x16a),a55_0x220341[a55_0x18e2c7(0x17f)]=a55_0x18e2c7(0x17f),a55_0x220341[a55_0x18e2c7(0x1d4)]='platforms',a55_0x220341['logLevel']='logLevel',a55_0x220341[a55_0x18e2c7(0x1e2)]='httpProxy',a55_0x220341['httpsProxy']=a55_0x18e2c7(0x14c),a55_0x220341[a55_0x18e2c7(0x128)]=a55_0x18e2c7(0x128),a55_0x220341[a55_0x18e2c7(0x142)]='testContextOptions',a55_0x220341[a55_0x18e2c7(0x19f)]=a55_0x18e2c7(0x19f),a55_0x220341[a55_0x18e2c7(0x19e)]='testReporting',a55_0x220341['testObservabilityOptions']=a55_0x18e2c7(0x185),a55_0x220341[a55_0x18e2c7(0x13d)]='testReportingOptions',a55_0x220341['customVariables']='customVariables',a55_0x220341[a55_0x18e2c7(0x17e)]=a55_0x18e2c7(0x1a3),a55_0x220341[a55_0x18e2c7(0x1a3)]='browserstackAutomation',a55_0x220341[a55_0x18e2c7(0x1bd)]=a55_0x18e2c7(0x1bd),a55_0x220341[a55_0x18e2c7(0x1bc)]=a55_0x18e2c7(0x1bc),a55_0x220341[a55_0x18e2c7(0x1ec)]=a55_0x18e2c7(0x1ec),a55_0x220341[a55_0x18e2c7(0x136)]='percyCaptureMode',a55_0x220341[a55_0x18e2c7(0x1f6)]='disableAutoCaptureLogs',a55_0x220341[a55_0x18e2c7(0x1c3)]=a55_0x18e2c7(0x1c3),a55_0x220341['accessibilityOptions']=a55_0x18e2c7(0x14f),a55_0x220341[a55_0x18e2c7(0x1cf)]=a55_0x18e2c7(0x1cf),a55_0x220341['turboScaleOptions']=a55_0x18e2c7(0x131),a55_0x220341[a55_0x18e2c7(0x14e)]=a55_0x18e2c7(0x14e),a55_0x220341[a55_0x18e2c7(0x127)]=a55_0x18e2c7(0x127);const a55_0x329303={};a55_0x329303[a55_0x18e2c7(0x151)]=['SDK-GEN-001','[ClientTroubleShootingService]\x20The\x20SDK\x20is\x20unable\x20to\x20access\x20the\x20.browserstack\x20folder\x20in\x20your\x20home\x20directory.\x20Please\x20ensure\x20that\x20the\x20folder\x20exists\x20and\x20has\x20the\x20correct\x20permissions.'];const a55_0x142851={};a55_0x142851[a55_0x18e2c7(0x143)]=a55_0x4b61d1,a55_0x142851[a55_0x18e2c7(0x1e3)]=a55_0x5c270c,a55_0x142851[a55_0x18e2c7(0x1e7)]=a55_0x208bb3,a55_0x142851[a55_0x18e2c7(0x13f)]=a55_0x4740be,a55_0x142851[a55_0x18e2c7(0x13b)]=a55_0x588eb1,a55_0x142851['NIGHTWATCH']=a55_0xb634d6,a55_0x142851['PLAYWRIGHT']=a55_0x59430d,a55_0x142851[a55_0x18e2c7(0x202)]=a55_0x2eab17,a55_0x142851[a55_0x18e2c7(0x1e4)]=a55_0x43ca19,a55_0x142851[a55_0x18e2c7(0x1cc)]=a55_0x357f20,a55_0x142851['BSTACK_DELTA']=0xf*0x3c*0x3e8,a55_0x142851[a55_0x18e2c7(0x1d8)]='https://hub.browserstack.com/wd/hub',a55_0x142851[a55_0x18e2c7(0x177)]=a55_0x18e2c7(0x12b),a55_0x142851[a55_0x18e2c7(0x196)]=a55_0x18e2c7(0x19b),a55_0x142851[a55_0x18e2c7(0x155)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x142851[a55_0x18e2c7(0x17b)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x142851[a55_0x18e2c7(0x141)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x142851['ROOT_CAPS']=[a55_0x18e2c7(0x13e),a55_0x18e2c7(0x190),a55_0x18e2c7(0x1f3),a55_0x18e2c7(0x1b9),a55_0x18e2c7(0x1dd),'browserName',a55_0x18e2c7(0x19a),a55_0x18e2c7(0x16e),a55_0x18e2c7(0x15f),a55_0x18e2c7(0x1ba),a55_0x18e2c7(0x180),'edgeOptions','ieOptions'],a55_0x142851[a55_0x18e2c7(0x1d2)]=/^[\w-]+:.*$/,a55_0x142851[a55_0x18e2c7(0x135)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x142851['EDS_URL']=a55_0x18e2c7(0x166),a55_0x142851[a55_0x18e2c7(0x1ad)]=a55_0x18e2c7(0x124),a55_0x142851['APP_UPLOAD_URL']='https://api-cloud.browserstack.com',a55_0x142851['UPDATED_CLI_ENDPOINT']=a55_0x18e2c7(0x150),a55_0x142851[a55_0x18e2c7(0x156)]=a55_0x18e2c7(0x179),a55_0x142851['AUTOMATE_PRODUCTS']=[a55_0x18e2c7(0x126),a55_0x18e2c7(0x1d6)],a55_0x142851['APP_AUTOMATE_PRODUCTS']=['app-automate',a55_0x18e2c7(0x1d6)],a55_0x142851[a55_0x18e2c7(0x1db)]=['observability'],a55_0x142851[a55_0x18e2c7(0x159)]=a55_0x18e2c7(0x1aa),a55_0x142851[a55_0x18e2c7(0x1f7)]=[a55_0x18e2c7(0x149),a55_0x18e2c7(0x15d)],a55_0x142851['AUTOMATE']=[a55_0x18e2c7(0x126)],a55_0x142851[a55_0x18e2c7(0x1d5)]=a55_0x18e2c7(0x1be),a55_0x142851[a55_0x18e2c7(0x1c6)]=a55_0x18e2c7(0x201),a55_0x142851[a55_0x18e2c7(0x1ff)]=[a55_0x18e2c7(0x197)],a55_0x142851['NUDGE_LOCAL_ERRORS']=[a55_0x18e2c7(0x1fe),a55_0x18e2c7(0x125),a55_0x18e2c7(0x134),a55_0x18e2c7(0x1c0),a55_0x18e2c7(0x18a),'ERR_CONNECTION_CLOSED','ERR_CONNECTION_RESET','ERR_CONNECTION_REFUSED',a55_0x18e2c7(0x1a4),a55_0x18e2c7(0x133),a55_0x18e2c7(0x16c),'ERR_ADDRESS_INVALID','ERR_ADDRESS_UNREACHABLE',a55_0x18e2c7(0x1d3),a55_0x18e2c7(0x1f8),a55_0x18e2c7(0x1fa),a55_0x18e2c7(0x1e9),a55_0x18e2c7(0x1a7),'ERR_NAME_NOT_RESOLVED',a55_0x18e2c7(0x18d),a55_0x18e2c7(0x11b)],a55_0x142851[a55_0x18e2c7(0x1fb)]=[a55_0x18e2c7(0x1e0),'.aab',a55_0x18e2c7(0x12e)],a55_0x142851[a55_0x18e2c7(0x1e5)]=a55_0x18e2c7(0x1ca),a55_0x142851[a55_0x18e2c7(0x146)]=a55_0x18e2c7(0x16b),a55_0x142851['CI_ARTIFACTS_PATH']='./browserstack-artifacts/',a55_0x142851[a55_0x18e2c7(0x1ac)]=a55_0x18e2c7(0x1d7),a55_0x142851[a55_0x18e2c7(0x11a)]=a55_0x16f888,a55_0x142851['PERCY_SUPPORTED_FRAMEWORKS']=['jest',a55_0x18e2c7(0x149)],a55_0x142851[a55_0x18e2c7(0x12d)]=a55_0x35b9a8,a55_0x142851[a55_0x18e2c7(0x1c8)]=a55_0x18e2c7(0x1cb),a55_0x142851['PACKAGE_TYPE']=a55_0x4b3237,a55_0x142851['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a55_0x142851['GIT_META_DATA_TRUNCATED']=a55_0x18e2c7(0x13c),a55_0x142851['UPGRADE_REQUIRED']=a55_0x18e2c7(0x206),a55_0x142851['TCG_DOWN']='SDKTestTcgDownResponse',a55_0x142851[a55_0x18e2c7(0x1b4)]=a55_0x18e2c7(0x153),a55_0x142851[a55_0x18e2c7(0x157)]=a55_0x18e2c7(0x1de),a55_0x142851[a55_0x18e2c7(0x18f)]=a55_0x18e2c7(0x1a5),a55_0x142851[a55_0x18e2c7(0x1a2)]=a55_0x18e2c7(0x1c2),a55_0x142851[a55_0x18e2c7(0x158)]=a55_0x18e2c7(0x1f0),a55_0x142851[a55_0x18e2c7(0x1eb)]=0x1388,a55_0x142851[a55_0x18e2c7(0x18c)]=0x1388,a55_0x142851[a55_0x18e2c7(0x161)]=0x1388,a55_0x142851[a55_0x18e2c7(0x18b)]=0x1388,a55_0x142851[a55_0x18e2c7(0x198)]=0xc350,a55_0x142851[a55_0x18e2c7(0x167)]=a55_0x2eb310,a55_0x142851[a55_0x18e2c7(0x1b0)]=a55_0x371cdc,a55_0x142851[a55_0x18e2c7(0x184)]=[a55_0x18e2c7(0x191),'codeceptjs'],a55_0x142851[a55_0x18e2c7(0x1cd)]=a55_0x220341,a55_0x142851[a55_0x18e2c7(0x1ab)]=a55_0x18e2c7(0x173),a55_0x142851[a55_0x18e2c7(0x168)]='/usage-debug.log',a55_0x142851[a55_0x18e2c7(0x187)]=a55_0x18e2c7(0x1c5),a55_0x142851[a55_0x18e2c7(0x1b1)]=a55_0x18e2c7(0x121),a55_0x142851['O11Y_URL']=a55_0x18e2c7(0x1ed),a55_0x142851['TEST_REPORTING_ANALYTICS']=a55_0x18e2c7(0x1f2),a55_0x142851[a55_0x18e2c7(0x11c)]=a55_0x18e2c7(0x1e1),a55_0x142851[a55_0x18e2c7(0x163)]=[a55_0x18e2c7(0x181),a55_0x18e2c7(0x15b),'jest'],a55_0x142851['AUTOMATION_LOG_COMMANDS']=[a55_0x18e2c7(0x178),a55_0x18e2c7(0x144),a55_0x18e2c7(0x1ea),a55_0x18e2c7(0x148),a55_0x18e2c7(0x182),'ObservabilitySync'],a55_0x142851['PLAYWRIGHT_TRACE_LOGS']=a55_0x18e2c7(0x169),a55_0x142851[a55_0x18e2c7(0x1f1)]=[a55_0x18e2c7(0x16f),a55_0x18e2c7(0x1df),a55_0x18e2c7(0x183),a55_0x18e2c7(0x12c),a55_0x18e2c7(0x138),a55_0x18e2c7(0x1e6)],a55_0x142851[a55_0x18e2c7(0x1b3)]=[a55_0x18e2c7(0x162),a55_0x18e2c7(0x1e6),a55_0x18e2c7(0x1c9),a55_0x18e2c7(0x192),a55_0x18e2c7(0x138),a55_0x18e2c7(0x122)],a55_0x142851[a55_0x18e2c7(0x204)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x142851[a55_0x18e2c7(0x189)]=a55_0x329303,a55_0x142851[a55_0x18e2c7(0x171)]=[a55_0x18e2c7(0x164),a55_0x18e2c7(0x1f4),a55_0x18e2c7(0x1a0)],a55_0x142851[a55_0x18e2c7(0x1b2)]=[a55_0x18e2c7(0x140),'EBUSY'],module[a55_0x18e2c7(0x12a)]=a55_0x142851;const _env=(process[a55_0x18e2c7(0x15e)][a55_0x18e2c7(0x1a6)]||'prod')[a55_0x18e2c7(0x1c7)]();if(_env==='staging'||_env===a55_0x18e2c7(0x1a8)){const rHlveK=a55_0x18e2c7(0x200)[a55_0x18e2c7(0x16d)]('|');let LVZAiC=0x0;while(!![]){switch(rHlveK[LVZAiC++]){case'0':module[a55_0x18e2c7(0x12a)]['BROWSERSTACK_AUTOMATE_URL']=a55_0x18e2c7(0x1fd);continue;case'1':module[a55_0x18e2c7(0x12a)][a55_0x18e2c7(0x14d)]=a55_0x18e2c7(0x186);continue;case'2':module[a55_0x18e2c7(0x12a)][a55_0x18e2c7(0x1d8)]=a55_0x18e2c7(0x19d);continue;case'3':module[a55_0x18e2c7(0x12a)][a55_0x18e2c7(0x155)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'4':module['exports'][a55_0x18e2c7(0x159)]=a55_0x18e2c7(0x129);continue;case'5':module['exports'][a55_0x18e2c7(0x194)]=a55_0x18e2c7(0x15c);continue;case'6':module[a55_0x18e2c7(0x12a)]['BROWSERSTACK']='bsstag';continue;case'7':module[a55_0x18e2c7(0x12a)]['EDS_URL']=a55_0x18e2c7(0x174);continue;case'8':module[a55_0x18e2c7(0x12a)][a55_0x18e2c7(0x1ac)]=a55_0x18e2c7(0x18e);continue;case'9':module[a55_0x18e2c7(0x12a)][a55_0x18e2c7(0x187)]=a55_0x18e2c7(0x1d9);continue;case'10':module['exports']['TCG_URL']=a55_0x18e2c7(0x17a);continue;case'11':module[a55_0x18e2c7(0x12a)]['BROWSERSTACK_APP_AUTOMATE_URL']='https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/';continue;case'12':module[a55_0x18e2c7(0x12a)][a55_0x18e2c7(0x1ad)]='https://apidevtestops.bsstag.com';continue;}break;}}else{if(_env===a55_0x18e2c7(0x165)||_env==='pre-prod'){const emTjUR=a55_0x18e2c7(0x17d)[a55_0x18e2c7(0x16d)]('|');let OLnbLc=0x0;while(!![]){switch(emTjUR[OLnbLc++]){case'0':module[a55_0x18e2c7(0x12a)][a55_0x18e2c7(0x177)]=a55_0x18e2c7(0x176);continue;case'1':module['exports'][a55_0x18e2c7(0x1c6)]=a55_0x18e2c7(0x11d);continue;case'2':module[a55_0x18e2c7(0x12a)]['BROWSERSTACK_AUTOMATE_URL']='https://automate-preprod.bsstag.com/dashboard/v2/builds/';continue;case'3':module[a55_0x18e2c7(0x12a)]['hubUrl']='https://hub-preprod.bsstag.com/wd/hub';continue;case'4':module[a55_0x18e2c7(0x12a)][a55_0x18e2c7(0x159)]='https://upload-observability-preprod.bsstag.com';continue;case'5':module['exports']['PLAYWRIGHT_HUB_URL']=a55_0x18e2c7(0x15a);continue;case'6':module['exports']['BROWSERSTACK_API_URL']=a55_0x18e2c7(0x1f9);continue;case'7':module[a55_0x18e2c7(0x12a)][a55_0x18e2c7(0x187)]=a55_0x18e2c7(0x1d9);continue;case'8':module[a55_0x18e2c7(0x12a)][a55_0x18e2c7(0x11c)]=a55_0x18e2c7(0x1c4);continue;case'9':module['exports'][a55_0x18e2c7(0x194)]='https://api-preprod.bsstag.com';continue;case'10':module[a55_0x18e2c7(0x12a)][a55_0x18e2c7(0x155)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'11':module['exports'][a55_0x18e2c7(0x1a9)]=a55_0x18e2c7(0x174);continue;case'12':module[a55_0x18e2c7(0x12a)][a55_0x18e2c7(0x14d)]=a55_0x18e2c7(0x145);continue;}break;}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a56_0x1cbc(_0x3cfd87,_0x4875a0){const _0x4f898f=a56_0x4f89();return a56_0x1cbc=function(_0x1cbc12,_0x128db5){_0x1cbc12=_0x1cbc12-0x169;let _0x4e7e5b=_0x4f898f[_0x1cbc12];return _0x4e7e5b;},a56_0x1cbc(_0x3cfd87,_0x4875a0);}const a56_0x1bcbc8=a56_0x1cbc;(function(_0x3850df,_0x39dcdd){const _0x19f291=a56_0x1cbc,_0x4ef3b7=_0x3850df();while(!![]){try{const _0x4ddd5b=-parseInt(_0x19f291(0x176))/0x1+-parseInt(_0x19f291(0x172))/0x2*(parseInt(_0x19f291(0x179))/0x3)+parseInt(_0x19f291(0x16a))/0x4*(-parseInt(_0x19f291(0x169))/0x5)+parseInt(_0x19f291(0x16c))/0x6+parseInt(_0x19f291(0x177))/0x7*(parseInt(_0x19f291(0x170))/0x8)+parseInt(_0x19f291(0x175))/0x9+-parseInt(_0x19f291(0x17a))/0xa*(-parseInt(_0x19f291(0x178))/0xb);if(_0x4ddd5b===_0x39dcdd)break;else _0x4ef3b7['push'](_0x4ef3b7['shift']());}catch(_0x50002b){_0x4ef3b7['push'](_0x4ef3b7['shift']());}}}(a56_0x4f89,0xf11a0));const logReportingAPI=require(a56_0x1bcbc8(0x16e)),BSTestOpsLogger=new logReportingAPI({});function a56_0x4f89(){const _0x241006=['configure','5542MJcSNZ','type','log','326142vUxsbA','367591zaLxhi','744737lDIwjj','121319GGgjNd','1977rhMsqR','1000EQovde','5gyiBMx','3004004jNxBEL','join','11013456KUxBDi','layout','./logReportingAPI','data','72GhcTXI'];a56_0x4f89=function(){return _0x241006;};return a56_0x4f89();}function BSTestOpsLog4JSAppender(_0xbdef42,_0x56b531){return _0x5385e3=>{const _0x1046d9=a56_0x1cbc;BSTestOpsLogger[_0x1046d9(0x174)]({'level':_0x5385e3['level']?_0x5385e3['level']['levelStr']:null,'message':_0x5385e3[_0x1046d9(0x16f)]?_0x5385e3[_0x1046d9(0x16f)][_0x1046d9(0x16b)]('\x20'):null});};}exports[a56_0x1bcbc8(0x171)]=(_0xc7251e,_0x37c252)=>{const _0x5d45b4=a56_0x1bcbc8,_0x525c2e={'IwXZW':function(_0x2a2744,_0x3b71d0,_0x2d9e87){return _0x2a2744(_0x3b71d0,_0x2d9e87);}};let _0x283592=_0x37c252['colouredLayout'];return _0xc7251e[_0x5d45b4(0x16d)]&&(_0x283592=_0x37c252['layout'](_0xc7251e[_0x5d45b4(0x16d)][_0x5d45b4(0x173)],_0xc7251e[_0x5d45b4(0x16d)])),_0x525c2e['IwXZW'](BSTestOpsLog4JSAppender,_0x283592,_0xc7251e['timezoneOffset']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a57_0x5ed078=a57_0x5b95;(function(_0x448e77,_0x52aa5e){const _0x4200d7=a57_0x5b95,_0x26b2a9=_0x448e77();while(!![]){try{const _0x4a83a1=parseInt(_0x4200d7(0x1f9))/0x1+parseInt(_0x4200d7(0x1f3))/0x2+parseInt(_0x4200d7(0x1ef))/0x3+parseInt(_0x4200d7(0x1fa))/0x4*(parseInt(_0x4200d7(0x1f8))/0x5)+-parseInt(_0x4200d7(0x1e6))/0x6*(parseInt(_0x4200d7(0x1e7))/0x7)+parseInt(_0x4200d7(0x1ee))/0x8*(-parseInt(_0x4200d7(0x1f0))/0x9)+parseInt(_0x4200d7(0x1e4))/0xa;if(_0x4a83a1===_0x52aa5e)break;else _0x26b2a9['push'](_0x26b2a9['shift']());}catch(_0x1bbabf){_0x26b2a9['push'](_0x26b2a9['shift']());}}}(a57_0x5227,0xe105f));function a57_0x5b95(_0x29cc38,_0x5ec8c5){const _0x522703=a57_0x5227();return a57_0x5b95=function(_0x5b9542,_0x20fb9e){_0x5b9542=_0x5b9542-0x1e1;let _0x1c8663=_0x522703[_0x5b9542];return _0x1c8663;},a57_0x5b95(_0x29cc38,_0x5ec8c5);}const Transport=require(a57_0x5ed078(0x1fe)),{consoleHolder}=require(a57_0x5ed078(0x1f6)),a57_0x469797={};a57_0x469797[a57_0x5ed078(0x1f4)]=a57_0x5ed078(0x1f4),a57_0x469797['ERROR']=a57_0x5ed078(0x1fb),a57_0x469797['DEBUG']=a57_0x5ed078(0x1ff),a57_0x469797[a57_0x5ed078(0x1e3)]=a57_0x5ed078(0x1e3),a57_0x469797[a57_0x5ed078(0x200)]='WARN';const LOG_LEVELS=a57_0x469797;function a57_0x5227(){const _0x406f1f=['INFO','debug','../../helpers/test-observability/constants','toUpperCase','3280790DnEcLR','1144406OMgvyA','8kKeRVe','ERROR','OpTOZ','pid','winston-transport','DEBUG','WARN','toLowerCase','toISOString','logToTestOps','TRACE','5333870ewMexC','warn','1050bDRBbk','57841TzoYxI','error','exports','bs:addLog:','info','join','TEST_LOG','515232gWFFVX','1554846nBhSgw','189cNWcBY','log','trace','423626HeTNLV'];a57_0x5227=function(){return _0x406f1f;};return a57_0x5227();}class logPatcher extends Transport{constructor(_0x1007f3){super(_0x1007f3);}[a57_0x5ed078(0x1e2)]=(_0x563ec9=LOG_LEVELS[a57_0x5ed078(0x1f4)],_0x220198=[''])=>{const _0x23dd7a=a57_0x5ed078,_0x2a935e={};_0x2a935e[_0x23dd7a(0x1fc)]=_0x23dd7a(0x1ed);const _0x440b28=_0x2a935e;consoleHolder[_0x563ec9[_0x23dd7a(0x201)]()](..._0x220198),process['emit'](_0x23dd7a(0x1ea)+process[_0x23dd7a(0x1fd)],{'timestamp':new Date()[_0x23dd7a(0x1e1)](),'level':_0x563ec9[_0x23dd7a(0x1f7)](),'message':'\x22'+_0x220198[_0x23dd7a(0x1ec)](',\x20')+'\x22','kind':_0x440b28['OpTOZ'],'http_response':{}});};[a57_0x5ed078(0x1f2)]=(..._0x43620e)=>{const _0x333de7=a57_0x5ed078;this[_0x333de7(0x1e2)](LOG_LEVELS[_0x333de7(0x1e3)],_0x43620e);};[a57_0x5ed078(0x1f5)]=(..._0x592655)=>{const _0x329281=a57_0x5ed078;this['logToTestOps'](LOG_LEVELS[_0x329281(0x1ff)],_0x592655);};[a57_0x5ed078(0x1eb)]=(..._0x5945d7)=>{const _0x1e3634=a57_0x5ed078;this[_0x1e3634(0x1e2)](LOG_LEVELS[_0x1e3634(0x1f4)],_0x5945d7);};[a57_0x5ed078(0x1e5)]=(..._0x1b8df8)=>{const _0x30372d=a57_0x5ed078;this['logToTestOps'](LOG_LEVELS[_0x30372d(0x200)],_0x1b8df8);};[a57_0x5ed078(0x1e8)]=(..._0x338c17)=>{const _0x39e933=a57_0x5ed078;this[_0x39e933(0x1e2)](LOG_LEVELS[_0x39e933(0x1fb)],_0x338c17);};[a57_0x5ed078(0x1f1)]=(..._0x1ac2d1)=>{const _0x255f72=a57_0x5ed078;this[_0x255f72(0x1e2)](LOG_LEVELS[_0x255f72(0x1f4)],_0x1ac2d1);};};module[a57_0x5ed078(0x1e9)]=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a58_0x204e(_0x2996be,_0x593f13){const _0x17f233=a58_0x17f2();return a58_0x204e=function(_0x204e74,_0xd3196e){_0x204e74=_0x204e74-0x13f;let _0x3139c7=_0x17f233[_0x204e74];return _0x3139c7;},a58_0x204e(_0x2996be,_0x593f13);}const a58_0xfb50b2=a58_0x204e;(function(_0x50f705,_0x1fd1ca){const _0x287bce=a58_0x204e,_0x298e32=_0x50f705();while(!![]){try{const _0x27fdad=parseInt(_0x287bce(0x15c))/0x1*(-parseInt(_0x287bce(0x158))/0x2)+parseInt(_0x287bce(0x157))/0x3+-parseInt(_0x287bce(0x160))/0x4+-parseInt(_0x287bce(0x141))/0x5+-parseInt(_0x287bce(0x142))/0x6*(parseInt(_0x287bce(0x15f))/0x7)+-parseInt(_0x287bce(0x153))/0x8*(-parseInt(_0x287bce(0x144))/0x9)+parseInt(_0x287bce(0x147))/0xa*(parseInt(_0x287bce(0x14c))/0xb);if(_0x27fdad===_0x1fd1ca)break;else _0x298e32['push'](_0x298e32['shift']());}catch(_0x4c329b){_0x298e32['push'](_0x298e32['shift']());}}}(a58_0x17f2,0x48094));const Transport=require(a58_0xfb50b2(0x143)),{consoleHolder}=require(a58_0xfb50b2(0x161)),a58_0x1da85f={};a58_0x1da85f[a58_0xfb50b2(0x159)]=a58_0xfb50b2(0x159),a58_0x1da85f['ERROR']=a58_0xfb50b2(0x148),a58_0x1da85f[a58_0xfb50b2(0x14b)]=a58_0xfb50b2(0x14b),a58_0x1da85f[a58_0xfb50b2(0x15d)]='TRACE',a58_0x1da85f[a58_0xfb50b2(0x146)]=a58_0xfb50b2(0x146);const LOG_LEVELS=a58_0x1da85f;class logReportingAPI extends Transport{constructor(_0x4755fb){super(_0x4755fb);}['log'](_0x4cd340,_0x30bb0c){const _0x4e0f70=a58_0xfb50b2,_0x4367d1={'OCDHV':_0x4e0f70(0x14f),'Jlewv':function(_0x43f573,_0x39a433){return _0x43f573(_0x39a433);},'UVETr':function(_0x38eb04,_0x5b856f){return _0x38eb04===_0x5b856f;},'MhLmG':_0x4e0f70(0x154),'sehSa':function(_0x30a3a5){return _0x30a3a5();}};_0x4367d1['Jlewv'](setImmediate,()=>{const _0xb9771a=_0x4e0f70;this[_0xb9771a(0x14e)](_0x4367d1[_0xb9771a(0x15b)],_0x4cd340);}),_0x4367d1[_0x4e0f70(0x150)](typeof _0x4cd340,_0x4367d1['MhLmG'])?this['logToTestOps'](_0x4cd340[_0x4e0f70(0x14a)]||LOG_LEVELS['INFO'],_0x4cd340[_0x4e0f70(0x13f)],![]):this[_0x4e0f70(0x15e)](LOG_LEVELS['INFO'],_0x4cd340),_0x30bb0c&&_0x4367d1[_0x4e0f70(0x145)](_0x30bb0c);}['logToTestOps']=(_0x23f950=LOG_LEVELS[a58_0xfb50b2(0x159)],_0x4b7fca='',_0x581d28=!![])=>{const _0x4304db=a58_0xfb50b2,_0x4f0bc8={};_0x4f0bc8['CiXNY']=_0x4304db(0x149);const _0x10b002=_0x4f0bc8;_0x581d28&&consoleHolder[_0x23f950['toLowerCase']()](_0x4b7fca),process[_0x4304db(0x14e)](_0x4304db(0x155)+process[_0x4304db(0x15a)],{'timestamp':new Date()[_0x4304db(0x14d)](),'level':_0x23f950[_0x4304db(0x152)](),'message':_0x4b7fca,'kind':_0x10b002['CiXNY'],'http_response':{}});};['trace']=(_0x847238,_0x3c201b)=>{const _0x10c116=a58_0xfb50b2;this[_0x10c116(0x15e)](LOG_LEVELS['TRACE'],_0x847238);};['debug']=(_0xaf28a5,_0x48f90c)=>{const _0xfc3740=a58_0xfb50b2;this[_0xfc3740(0x15e)](LOG_LEVELS[_0xfc3740(0x14b)],_0xaf28a5);};['info']=(_0x25f7ba,_0x55ba10)=>{const _0x49fd1b=a58_0xfb50b2;this[_0x49fd1b(0x15e)](LOG_LEVELS['INFO'],_0x25f7ba);};[a58_0xfb50b2(0x140)]=(_0x32c0a4,_0x3f586f)=>{const _0x3030fe=a58_0xfb50b2;this[_0x3030fe(0x15e)](LOG_LEVELS[_0x3030fe(0x146)],_0x32c0a4);};[a58_0xfb50b2(0x156)]=(_0x3b7b6e,_0x26baf4)=>{const _0x2f1901=a58_0xfb50b2;this[_0x2f1901(0x15e)](LOG_LEVELS['ERROR'],_0x3b7b6e);};};module[a58_0xfb50b2(0x151)]=logReportingAPI;function a58_0x17f2(){const _0x48795b=['level','DEBUG','11DmHNyz','toISOString','emit','logged','UVETr','exports','toUpperCase','112XSaZKf','object','bs:addLog:','error','690042SPieap','2eMXZrY','INFO','pid','OCDHV','432662TOyxoZ','TRACE','logToTestOps','31703eATnZQ','1239508BkuogK','../../helpers/test-observability/constants','message','warn','903405vEaYId','42WIvmzV','winston-transport','370503pkhycC','sehSa','WARN','4436310vDvGzJ','ERROR','TEST_LOG'];a58_0x17f2=function(){return _0x48795b;};return a58_0x17f2();}
|