browserstack-node-sdk 1.42.3 → 1.42.5
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/cucumber-sessionDetails.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/playwright-patcher.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_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/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/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/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/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a25_0x4202d2=a25_0x75a8;(function(_0x5b02e5,_0x280179){const _0x48d8d0=a25_0x75a8,_0x31a3cf=_0x5b02e5();while(!![]){try{const _0x58fff1=parseInt(_0x48d8d0(0x1e9))/0x1*(-parseInt(_0x48d8d0(0x187))/0x2)+parseInt(_0x48d8d0(0x1b5))/0x3*(parseInt(_0x48d8d0(0x180))/0x4)+parseInt(_0x48d8d0(0x209))/0x5*(parseInt(_0x48d8d0(0x1c9))/0x6)+parseInt(_0x48d8d0(0x18a))/0x7+-parseInt(_0x48d8d0(0x1e7))/0x8+-parseInt(_0x48d8d0(0x1e3))/0x9*(-parseInt(_0x48d8d0(0x20c))/0xa)+-parseInt(_0x48d8d0(0x1fd))/0xb;if(_0x58fff1===_0x280179)break;else _0x31a3cf['push'](_0x31a3cf['shift']());}catch(_0x18b9df){_0x31a3cf['push'](_0x31a3cf['shift']());}}}(a25_0xb8b5,0xe12fd));const awsSDK=require('aws-sdk'),{logger}=require(a25_0x4202d2(0x1b8));exports[a25_0x4202d2(0x17d)]=_0x8934c9=>{const _0x592fac=a25_0x4202d2,_0xe7a52f={'Labju':function(_0x4d6704,_0x4e8f35){return _0x4d6704!==_0x4e8f35;},'YUzVV':_0x592fac(0x171),'LIcsv':function(_0x55fb1a,_0x6d61e7){return _0x55fb1a(_0x6d61e7);},'qcVZg':function(_0x51dc50,_0x3af0cd){return _0x51dc50!==_0x3af0cd;},'XYFmQ':_0x592fac(0x186),'VNzqH':_0x592fac(0x1ba),'kaomX':function(_0x1b6f10,_0x12f806){return _0x1b6f10(_0x12f806);},'hpezp':function(_0x48cef5,_0xc1c7bd){return _0x48cef5(_0xc1c7bd);},'SeTDf':function(_0x37cfd6,_0x43fa93){return _0x37cfd6===_0x43fa93;},'rdNAC':_0x592fac(0x1a8),'EdOKn':_0x592fac(0x1f0)};return new Promise((_0x27d93f,_0x5eced3)=>{const _0x8742b3=_0x592fac,_0x5db085={'ikrPU':function(_0x16c196,_0x27052b){const _0x5739aa=a25_0x75a8;return _0xe7a52f[_0x5739aa(0x1c0)](_0x16c196,_0x27052b);}};if(_0xe7a52f[_0x8742b3(0x1bc)](_0xe7a52f[_0x8742b3(0x215)],_0xe7a52f['rdNAC'])){const _0x388aa0={};_0x388aa0[_0x8742b3(0x192)]=_0xe7a52f[_0x8742b3(0x1dc)],_0x388aa0['region']=_0x8934c9;const _0x31746e=new awsSDK['EC2'](_0x388aa0);_0x31746e[_0x8742b3(0x1bb)]()['promise']()[_0x8742b3(0x1bd)](_0x194d7a=>{const _0x258e6e=_0x8742b3;_0xe7a52f[_0x258e6e(0x1af)](_0xe7a52f['YUzVV'],_0xe7a52f[_0x258e6e(0x1b3)])?(_0x54483e[_0x258e6e(0x1d7)](_0x258e6e(0x18c)+_0x317f72),_0x5db085[_0x258e6e(0x1f3)](_0x46cc2f,_0x375b14)):_0xe7a52f['LIcsv'](_0x27d93f,_0x194d7a);})[_0x8742b3(0x1e2)](_0x562d51=>{const _0x3b2f9e=_0x8742b3,_0x24c9ca={'ihrBw':function(_0x653ef9,_0x4b4aa0){const _0xd5e663=a25_0x75a8;return _0xe7a52f[_0xd5e663(0x1e5)](_0x653ef9,_0x4b4aa0);}};_0xe7a52f[_0x3b2f9e(0x1cd)](_0xe7a52f['XYFmQ'],_0xe7a52f[_0x3b2f9e(0x1d1)])?(logger[_0x3b2f9e(0x1d7)](_0x3b2f9e(0x217)+_0x562d51),_0xe7a52f['kaomX'](_0x5eced3,_0x562d51)):(_0x245db0[_0x3b2f9e(0x1d7)](_0x3b2f9e(0x217)+_0x386c4f),_0x24c9ca['ihrBw'](_0x34352b,_0x3d8ed2));});}else _0x4acd2b[_0x8742b3(0x1da)](_0x8742b3(0x1e6)+_0x543c99+_0x8742b3(0x1a1)),_0xe7a52f[_0x8742b3(0x1c0)](_0x32d090,![]);});},exports[a25_0x4202d2(0x1dd)]=_0x49cd96=>{const _0xe57e9b=a25_0x4202d2,_0x7d0841={'iZKVH':function(_0x2181bf,_0x2f6cd2){return _0x2181bf(_0x2f6cd2);},'fsEfy':function(_0x216f85,_0x53d5e2){return _0x216f85===_0x53d5e2;},'TxeaX':_0xe57e9b(0x1fb),'RNwjW':'zVFFY','jsGbi':function(_0xa13137,_0x5dcb40){return _0xa13137!==_0x5dcb40;},'UctUZ':'YRxWu','peHWX':'HqzLN','GRVEq':function(_0x3bb69e,_0x9d9b0d){return _0x3bb69e(_0x9d9b0d);},'NfVdy':_0xe57e9b(0x175)},_0x1614a3=new awsSDK['S3']();return new Promise((_0x1bbc46,_0x2bad0f)=>{const _0x5f46b4=_0xe57e9b,_0x507283={'NtgXw':function(_0x357c8a,_0x2bdce7){return _0x7d0841['iZKVH'](_0x357c8a,_0x2bdce7);},'ozlHv':function(_0x3e0014,_0x3bb88e){const _0x27398e=a25_0x75a8;return _0x7d0841[_0x27398e(0x211)](_0x3e0014,_0x3bb88e);},'WnsHi':_0x7d0841[_0x5f46b4(0x17a)],'VJYCR':_0x7d0841[_0x5f46b4(0x20e)],'YPleY':function(_0xd56231,_0x4d8011){return _0x7d0841['iZKVH'](_0xd56231,_0x4d8011);},'aCHCu':function(_0x43511e,_0x563ee5){const _0x3e7996=_0x5f46b4;return _0x7d0841[_0x3e7996(0x1b9)](_0x43511e,_0x563ee5);},'nTSPP':_0x7d0841[_0x5f46b4(0x1f2)],'yawce':_0x7d0841[_0x5f46b4(0x197)],'rQqjB':function(_0x4e66ec,_0x5add9d){const _0x1189d5=_0x5f46b4;return _0x7d0841[_0x1189d5(0x204)](_0x4e66ec,_0x5add9d);}};if(_0x7d0841['fsEfy'](_0x7d0841[_0x5f46b4(0x1ec)],_0x7d0841[_0x5f46b4(0x1ec)])){const _0x4d301e={};_0x4d301e['Bucket']=_0x49cd96,_0x1614a3[_0x5f46b4(0x189)](_0x4d301e)['promise']()[_0x5f46b4(0x1bd)](_0x472e34=>{const _0x3f21ea=_0x5f46b4;_0x507283[_0x3f21ea(0x1b1)](_0x507283['WnsHi'],_0x507283[_0x3f21ea(0x19c)])?_0x507283[_0x3f21ea(0x202)](_0x43fc0e,_0x2e3589[_0x3f21ea(0x20a)][_0x3f21ea(0x17e)]['oidc'][_0x3f21ea(0x210)]):(logger[_0x3f21ea(0x1c4)](_0x3f21ea(0x1e6)+_0x49cd96+_0x3f21ea(0x1cf)),_0x507283[_0x3f21ea(0x182)](_0x1bbc46,!![]));})[_0x5f46b4(0x1e2)](()=>{const _0x4f0f6e=_0x5f46b4,_0x574b56={'xDgoq':function(_0x3e4b98,_0x48305b){const _0x2afe07=a25_0x75a8;return _0x507283[_0x2afe07(0x182)](_0x3e4b98,_0x48305b);}};_0x507283[_0x4f0f6e(0x188)](_0x507283[_0x4f0f6e(0x190)],_0x507283[_0x4f0f6e(0x191)])?(logger[_0x4f0f6e(0x1da)](_0x4f0f6e(0x1e6)+_0x49cd96+_0x4f0f6e(0x1a1)),_0x507283[_0x4f0f6e(0x202)](_0x1bbc46,![])):(_0x3a2e8d[_0x4f0f6e(0x1d7)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x186749),_0x574b56['xDgoq'](_0x5edd73,_0x49f278));});}else _0x13eba9[_0x5f46b4(0x1c4)](_0x5f46b4(0x1e6)+_0x33c259+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x507283[_0x5f46b4(0x1f7)](_0x5a9446,!![]);});},exports['fetchSubnets']=_0x1b51e3=>{const _0x456971=a25_0x4202d2,_0x37aa67={'saZVQ':function(_0xa75700,_0x59ebfb){return _0xa75700(_0x59ebfb);},'NZUBx':_0x456971(0x1f0),'XQMNe':'2017-11-01','VELUK':function(_0x1c5d65,_0x338141){return _0x1c5d65===_0x338141;},'QPIBn':'iGFFQ','fptBu':function(_0x5a8581,_0xf6c532){return _0x5a8581(_0xf6c532);},'RKQUj':function(_0x14e25d,_0x473358){return _0x14e25d===_0x473358;},'LKOCg':'vqFKD','dHPSW':function(_0x4f6d5e,_0x1a9329){return _0x4f6d5e!==_0x1a9329;},'BDioR':'IYeQD'};return new Promise((_0x19a115,_0x2c1cfd)=>{const _0x7c3733=_0x456971,_0x4f8f7c={'YkyhB':function(_0x493182,_0x4ea42c){const _0x2cd71e=a25_0x75a8;return _0x37aa67[_0x2cd71e(0x200)](_0x493182,_0x4ea42c);},'LWJQG':_0x37aa67[_0x7c3733(0x219)],'rTqdU':function(_0x2e67a3,_0x3106eb){const _0x2b5106=_0x7c3733;return _0x37aa67[_0x2b5106(0x1d5)](_0x2e67a3,_0x3106eb);},'qwPkW':_0x37aa67[_0x7c3733(0x1ac)]};if(_0x37aa67[_0x7c3733(0x1fa)](_0x37aa67[_0x7c3733(0x1ee)],_0x37aa67[_0x7c3733(0x1ee)])){const _0x560c5b={'IhgJQ':function(_0x2bf742,_0x511baa){return _0x37aa67['saZVQ'](_0x2bf742,_0x511baa);},'SWICM':function(_0x5f4677,_0x4b61ea){const _0x5d0185=_0x7c3733;return _0x37aa67[_0x5d0185(0x200)](_0x5f4677,_0x4b61ea);},'ojJzn':_0x37aa67[_0x7c3733(0x219)]};return new _0x2516e2((_0x28be39,_0x1cc05c)=>{const _0x49d054=_0x7c3733,_0x1c002d={};_0x1c002d[_0x49d054(0x192)]=_0x560c5b[_0x49d054(0x1cb)],_0x1c002d[_0x49d054(0x1c6)]=_0x37d8f7;const _0x4ceef9=new _0x33fb41[(_0x49d054(0x1b0))](_0x1c002d);_0x4ceef9['describeVpcs']()[_0x49d054(0x1a2)]()[_0x49d054(0x1bd)](_0x5e7b9d=>{const _0x4ca6e9=_0x49d054;_0x560c5b[_0x4ca6e9(0x1df)](_0x28be39,_0x5e7b9d);})['catch'](_0xe7ccfe=>{const _0x1dce26=_0x49d054;_0xcfcf29['error']('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0xe7ccfe),_0x560c5b[_0x1dce26(0x206)](_0x1cc05c,_0xe7ccfe);});});}else{const _0x457990={};_0x457990[_0x7c3733(0x192)]=_0x37aa67[_0x7c3733(0x219)],_0x457990[_0x7c3733(0x1c6)]=_0x1b51e3;const _0x4ecc3c=new awsSDK[(_0x7c3733(0x1b0))](_0x457990);_0x4ecc3c[_0x7c3733(0x1ed)]()[_0x7c3733(0x1a2)]()['then'](_0x1a8d7a=>{const _0x4e5b67=_0x7c3733,_0x434c28={'arxnx':function(_0x1c49ee,_0x4552a5){const _0x490d0b=a25_0x75a8;return _0x37aa67[_0x490d0b(0x200)](_0x1c49ee,_0x4552a5);},'iqKKs':function(_0x45ebb9,_0x1be28a){const _0x138fa7=a25_0x75a8;return _0x37aa67[_0x138fa7(0x200)](_0x45ebb9,_0x1be28a);},'QjSNg':_0x37aa67[_0x4e5b67(0x1b6)]};if(_0x37aa67[_0x4e5b67(0x21b)](_0x37aa67['QPIBn'],_0x37aa67[_0x4e5b67(0x1a5)]))_0x37aa67[_0x4e5b67(0x17b)](_0x19a115,_0x1a8d7a);else{const _0x22ee1e={'RWWUH':function(_0xf99af5,_0x1b722b){const _0x4810ea=_0x4e5b67;return _0x434c28[_0x4810ea(0x174)](_0xf99af5,_0x1b722b);}},_0x5e5178={};_0x5e5178[_0x4e5b67(0x192)]=_0x434c28['QjSNg'];const _0x559ee3=new _0x18a5de[(_0x4e5b67(0x21a))](_0x5e5178),_0x36c7cb={};_0x36c7cb[_0x4e5b67(0x17c)]=_0x21136b,_0x559ee3[_0x4e5b67(0x1ca)](_0x36c7cb)[_0x4e5b67(0x1a2)]()[_0x4e5b67(0x1bd)](_0x3df616=>{const _0x3eef2e=_0x4e5b67;_0x22ee1e[_0x3eef2e(0x1ad)](_0x5e7232,_0x3df616[_0x3eef2e(0x20a)][_0x3eef2e(0x17e)][_0x3eef2e(0x18e)][_0x3eef2e(0x210)]);})[_0x4e5b67(0x1e2)](_0x54a17b=>{const _0x204977=_0x4e5b67;_0x1c7f01[_0x204977(0x1d7)](_0x204977(0x208)+_0x46eef0+':\x20'+_0x54a17b),_0x434c28['arxnx'](_0x1b3862,_0x54a17b);});}})[_0x7c3733(0x1e2)](_0x155908=>{const _0x3791c8=_0x7c3733,_0x473961={'ySIwY':function(_0x4ce509,_0x4eadab){return _0x4f8f7c['YkyhB'](_0x4ce509,_0x4eadab);},'XNbsZ':function(_0x116eb8,_0x2915c5){const _0x5778cc=a25_0x75a8;return _0x4f8f7c[_0x5778cc(0x1f9)](_0x116eb8,_0x2915c5);},'dLeUs':_0x4f8f7c[_0x3791c8(0x21c)]};if(_0x4f8f7c[_0x3791c8(0x1e0)](_0x4f8f7c[_0x3791c8(0x18d)],_0x4f8f7c[_0x3791c8(0x18d)]))logger[_0x3791c8(0x1d7)](_0x3791c8(0x18c)+_0x155908),_0x4f8f7c[_0x3791c8(0x1f9)](_0x2c1cfd,_0x155908);else{const _0x671063={'KiSZc':function(_0x173504,_0x1d3d7d){const _0x380ea0=_0x3791c8;return _0x473961[_0x380ea0(0x1d9)](_0x173504,_0x1d3d7d);},'wQVMw':function(_0x531c82,_0x9449dc){const _0x2b8efd=_0x3791c8;return _0x473961[_0x2b8efd(0x1f5)](_0x531c82,_0x9449dc);},'RATTm':_0x473961[_0x3791c8(0x18f)]};return new _0x808c59((_0x5a2746,_0x4facb4)=>{const _0x5d953f=_0x3791c8,_0x2ed923={};_0x2ed923['apiVersion']=_0x671063['RATTm'],_0x2ed923[_0x5d953f(0x1c6)]=_0x2319cc;const _0x5ef665=new _0x6f4786[(_0x5d953f(0x1b0))](_0x2ed923);_0x5ef665[_0x5d953f(0x1e4)]()[_0x5d953f(0x1a2)]()['then'](_0x246399=>{const _0x46420a=_0x5d953f;_0x671063[_0x46420a(0x1ea)](_0x5a2746,_0x246399);})[_0x5d953f(0x1e2)](_0x152ec8=>{const _0x215b6a=_0x5d953f;_0x250322[_0x215b6a(0x1d7)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x152ec8),_0x671063['wQVMw'](_0x4facb4,_0x152ec8);});});}});}});},exports[a25_0x4202d2(0x198)]=_0x41a914=>{const _0x5f28ac=a25_0x4202d2,_0x46bd0e={'XwpOS':function(_0x10fa37,_0x3e20f3){return _0x10fa37(_0x3e20f3);},'kfiuP':function(_0x1d7223,_0x2ae3ea){return _0x1d7223!==_0x2ae3ea;},'RwIYS':_0x5f28ac(0x1ef),'qTlVW':function(_0x32acdf,_0x40b817){return _0x32acdf(_0x40b817);},'VodIJ':function(_0x475429,_0x59b2dc){return _0x475429!==_0x59b2dc;},'uOnzH':'DOuSf','bMUYD':_0x5f28ac(0x173),'YYUET':function(_0x5958f5,_0xc3e685){return _0x5958f5(_0xc3e685);},'ynPJR':function(_0x49e480,_0x414840){return _0x49e480(_0x414840);},'QQAdd':function(_0x558cbd,_0x4c4fba){return _0x558cbd(_0x4c4fba);},'RgTqY':function(_0x2dabc0,_0x1b678e){return _0x2dabc0===_0x1b678e;},'HJAId':_0x5f28ac(0x1db),'HaDKS':'tWGQH','fvupk':_0x5f28ac(0x1f0)};return new Promise((_0x7b8c87,_0x33e5da)=>{const _0x30b44e=_0x5f28ac,_0x387e64={'mmkPe':function(_0x3301a7,_0x5e4742){return _0x46bd0e['ynPJR'](_0x3301a7,_0x5e4742);},'chQCa':function(_0x3fa1ec,_0x5afdf2){const _0x2529f3=a25_0x75a8;return _0x46bd0e[_0x2529f3(0x1f6)](_0x3fa1ec,_0x5afdf2);}};if(_0x46bd0e[_0x30b44e(0x1bf)](_0x46bd0e['HJAId'],_0x46bd0e[_0x30b44e(0x1aa)]))_0x3ab7d5[_0x30b44e(0x1d7)](_0x30b44e(0x1ae)+_0xbbecfa),_0x387e64[_0x30b44e(0x1a7)](_0x47d505,_0x761867);else{const _0x564c9={};_0x564c9[_0x30b44e(0x192)]=_0x46bd0e[_0x30b44e(0x1cc)],_0x564c9['region']=_0x41a914;const _0x3df006=new awsSDK[(_0x30b44e(0x1b0))](_0x564c9);_0x3df006[_0x30b44e(0x1e4)]()[_0x30b44e(0x1a2)]()['then'](_0x4b62b9=>{const _0x186d15=_0x30b44e,_0x471a7b={'xXRRR':function(_0x423c9d,_0x2879e0){const _0x1ceea3=a25_0x75a8;return _0x46bd0e[_0x1ceea3(0x1a9)](_0x423c9d,_0x2879e0);}};if(_0x46bd0e[_0x186d15(0x195)](_0x46bd0e['RwIYS'],_0x46bd0e[_0x186d15(0x196)])){const _0x372d54={'dejon':function(_0x2a8a88,_0x5026a7){const _0x32c8ab=_0x186d15;return _0x471a7b[_0x32c8ab(0x172)](_0x2a8a88,_0x5026a7);}},_0x5753de=new _0x2eb2d5['S3']();return new _0x26fc5b((_0x5baadf,_0x2bad53)=>{const _0x230ab6=_0x186d15,_0x39d224={'hcTUn':function(_0x7f1507,_0x3a4571){const _0x1d3ae5=a25_0x75a8;return _0x471a7b[_0x1d3ae5(0x172)](_0x7f1507,_0x3a4571);}},_0x5d133d={};_0x5d133d[_0x230ab6(0x216)]=_0x3eb8ac,_0x5753de['headBucket'](_0x5d133d)['promise']()[_0x230ab6(0x1bd)](_0x1c7b24=>{const _0x3c8d53=_0x230ab6;_0x299f79[_0x3c8d53(0x1c4)](_0x3c8d53(0x1e6)+_0x3c992c+_0x3c8d53(0x1cf)),_0x372d54[_0x3c8d53(0x17f)](_0x5baadf,!![]);})['catch'](()=>{const _0x26e883=_0x230ab6;_0x270ed4[_0x26e883(0x1da)]('Bucket:\x20'+_0xa12a64+_0x26e883(0x1a1)),_0x39d224['hcTUn'](_0x5baadf,![]);});});}else _0x46bd0e['qTlVW'](_0x7b8c87,_0x4b62b9);})[_0x30b44e(0x1e2)](_0x3a0888=>{const _0x3a65dc=_0x30b44e;_0x46bd0e['VodIJ'](_0x46bd0e[_0x3a65dc(0x183)],_0x46bd0e['bMUYD'])?(logger[_0x3a65dc(0x1d7)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x3a0888),_0x46bd0e['YYUET'](_0x33e5da,_0x3a0888)):_0x387e64[_0x3a65dc(0x176)](_0x1bc319,_0x212788[_0x3a65dc(0x201)]);});}});},exports[a25_0x4202d2(0x19b)]=()=>{const _0x32ce1c=a25_0x4202d2,_0xa226dc={'jlSIG':function(_0x57b684,_0xd32727){return _0x57b684(_0xd32727);},'dfGGS':function(_0x17ab88,_0x5eeef9){return _0x17ab88(_0x5eeef9);},'UpqLk':function(_0x506a73,_0xcaf23){return _0x506a73===_0xcaf23;},'IUJqo':_0x32ce1c(0x18b),'HJEXZ':function(_0x593077,_0x23756c){return _0x593077!==_0x23756c;},'sVXQX':_0x32ce1c(0x179),'rvUlr':_0x32ce1c(0x1a6),'jYTEc':function(_0x3ecc6c,_0x3ff829){return _0x3ecc6c!==_0x3ff829;},'nUoRz':_0x32ce1c(0x1d6),'gRnPb':function(_0xf5f03a,_0xec38f3){return _0xf5f03a(_0xec38f3);},'ncYpM':function(_0x5ee0a9,_0x28b182){return _0x5ee0a9!==_0x28b182;},'PLMVQ':function(_0x2c7630,_0x361eed){return _0x2c7630(_0x361eed);},'tQLnc':'2016-11-15','chXKv':function(_0x48d17d,_0x4aed5c){return _0x48d17d===_0x4aed5c;},'Lymmi':_0x32ce1c(0x1c5),'UkQYk':_0x32ce1c(0x1d3),'yVsNh':function(_0x3eddb3,_0x57b02d){return _0x3eddb3(_0x57b02d);},'GtXLP':_0x32ce1c(0x1f1)};return new Promise((_0xa038b2,_0x16d76e)=>{const _0x524ed8=_0x32ce1c,_0x245738={'XKTTW':function(_0x1aa49a,_0x54a50c){return _0xa226dc['ncYpM'](_0x1aa49a,_0x54a50c);},'UxtSL':function(_0x164083,_0x247363){const _0x4b270e=a25_0x75a8;return _0xa226dc[_0x4b270e(0x1c2)](_0x164083,_0x247363);},'JxVzP':function(_0xc9f218,_0x1fe83e){const _0x2ba901=a25_0x75a8;return _0xa226dc[_0x2ba901(0x1ce)](_0xc9f218,_0x1fe83e);},'bLkTi':function(_0x4df879,_0x486c29){const _0x575d45=a25_0x75a8;return _0xa226dc[_0x575d45(0x19f)](_0x4df879,_0x486c29);},'xICaw':_0xa226dc[_0x524ed8(0x1d8)],'fBokW':function(_0x17b055,_0x12acc2){return _0xa226dc['gRnPb'](_0x17b055,_0x12acc2);},'aUkyW':function(_0x33bf9f,_0x135f1c){const _0x4d245b=_0x524ed8;return _0xa226dc[_0x4d245b(0x1eb)](_0x33bf9f,_0x135f1c);},'GvVJv':_0xa226dc[_0x524ed8(0x1c7)],'KadML':_0xa226dc[_0x524ed8(0x1d4)],'cEuvk':function(_0x39f1c7,_0x5dbfe6){const _0x1bb8f2=_0x524ed8;return _0xa226dc[_0x1bb8f2(0x1f8)](_0x39f1c7,_0x5dbfe6);}};if(_0xa226dc['HJEXZ'](_0xa226dc['GtXLP'],_0xa226dc['GtXLP']))_0x245738[_0x524ed8(0x1be)](_0x49c449,_0x587c2d)&&_0x245738['XKTTW'](_0x43d8bc[_0x524ed8(0x201)],_0x1aa570)?_0x245738[_0x524ed8(0x203)](_0x45b9b8,_0x197e5b[_0x524ed8(0x201)]):_0x245738[_0x524ed8(0x1f4)](_0x4f7115,{});else{const _0x4d2644={};_0x4d2644[_0x524ed8(0x192)]=_0xa226dc['tQLnc'];const _0x37b9a8=new awsSDK['EC2'](_0x4d2644);_0x37b9a8['describeRegions']()['promise']()[_0x524ed8(0x1bd)]((_0x3a1bbc,_0x10b21f)=>{const _0x8a32e2=_0x524ed8,_0x5da9fd={'yEoOJ':function(_0x52f202,_0x5c4088){const _0x40a8c3=a25_0x75a8;return _0xa226dc[_0x40a8c3(0x1ce)](_0x52f202,_0x5c4088);},'Qctvz':function(_0xdc319,_0x1f0747){const _0x29d5e4=a25_0x75a8;return _0xa226dc[_0x29d5e4(0x1c2)](_0xdc319,_0x1f0747);}};if(_0xa226dc[_0x8a32e2(0x1b4)](_0xa226dc[_0x8a32e2(0x1a3)],_0xa226dc[_0x8a32e2(0x1a3)])){if(_0xa226dc[_0x8a32e2(0x199)](_0x3a1bbc,undefined)&&_0xa226dc[_0x8a32e2(0x199)](_0x3a1bbc[_0x8a32e2(0x201)],undefined)){if(_0xa226dc[_0x8a32e2(0x199)](_0xa226dc[_0x8a32e2(0x205)],_0xa226dc[_0x8a32e2(0x207)]))_0xa226dc[_0x8a32e2(0x1ce)](_0xa038b2,_0x3a1bbc[_0x8a32e2(0x201)]);else{const _0x578430={'XBerZ':function(_0xa3f2ad,_0x12f9fa){return _0x5da9fd['yEoOJ'](_0xa3f2ad,_0x12f9fa);}},_0xae2227={};_0xae2227[_0x8a32e2(0x216)]=_0x56ece4,_0x2e3c61[_0x8a32e2(0x189)](_0xae2227)[_0x8a32e2(0x1a2)]()[_0x8a32e2(0x1bd)](_0x4025c6=>{const _0x5cb7b5=_0x8a32e2;_0x7627c3[_0x5cb7b5(0x1c4)](_0x5cb7b5(0x1e6)+_0x5f21de+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x5da9fd[_0x5cb7b5(0x20d)](_0x127e46,!![]);})[_0x8a32e2(0x1e2)](()=>{const _0x34e780=_0x8a32e2;_0x6cf364['info'](_0x34e780(0x1e6)+_0x22699c+_0x34e780(0x1a1)),_0x578430[_0x34e780(0x1b7)](_0x36eb12,![]);});}}else _0xa226dc['jYTEc'](_0xa226dc[_0x8a32e2(0x185)],_0xa226dc['nUoRz'])?_0x245738[_0x8a32e2(0x1fe)](_0x5f4565,_0x340bb2):_0xa226dc[_0x8a32e2(0x19a)](_0xa038b2,{});}else{const _0x4d4224={};_0x4d4224['apiVersion']=_0x245738[_0x8a32e2(0x1d2)],_0x4d4224[_0x8a32e2(0x1c6)]=_0x268d7e;const _0x2db523=new _0x3a270d[(_0x8a32e2(0x1b0))](_0x4d4224);_0x2db523['describeSecurityGroups']()[_0x8a32e2(0x1a2)]()[_0x8a32e2(0x1bd)](_0x58969d=>{const _0x28b29f=_0x8a32e2;_0x5da9fd[_0x28b29f(0x1fc)](_0x725c4e,_0x58969d);})[_0x8a32e2(0x1e2)](_0x539f69=>{const _0x22ed06=_0x8a32e2;_0x5c53ad[_0x22ed06(0x1d7)](_0x22ed06(0x1ae)+_0x539f69),_0x5da9fd[_0x22ed06(0x1fc)](_0x14fc9a,_0x539f69);});}})['catch'](_0x22f11b=>{const _0x1cbbe0=_0x524ed8;_0x245738['aUkyW'](_0x245738[_0x1cbbe0(0x194)],_0x245738[_0x1cbbe0(0x184)])?_0x245738[_0x1cbbe0(0x19d)](_0x4488b3,_0x36375b):(logger[_0x1cbbe0(0x1d7)](_0x1cbbe0(0x1a0)+_0x22f11b),_0x245738[_0x1cbbe0(0x1ff)](_0x16d76e,_0x22f11b));});}});},exports[a25_0x4202d2(0x177)]=_0x135a57=>{const _0x440a31=a25_0x4202d2,_0x1239b7={'UXSQS':function(_0x122460,_0x188679){return _0x122460(_0x188679);},'pqGFC':function(_0x52a59a,_0x1c7644){return _0x52a59a!==_0x1c7644;},'zVlpn':_0x440a31(0x218),'XIgAe':function(_0x316994,_0x937d6e){return _0x316994(_0x937d6e);},'piGSN':function(_0xe8a0c2,_0x1c8b82){return _0xe8a0c2(_0x1c8b82);},'GWvVH':_0x440a31(0x1f0),'slYSQ':function(_0x625fb,_0x5c88b4){return _0x625fb(_0x5c88b4);},'PTAWm':'eoozf','pXzJq':function(_0x34cfe3,_0x778349){return _0x34cfe3===_0x778349;},'xsbmP':'lzYyw','mCugu':_0x440a31(0x1c3),'dDOHc':'2017-11-01'};return new Promise((_0x58adcc,_0x14453b)=>{const _0x58feea=_0x440a31,_0x3eb64e={'nqtXa':function(_0x4dbb47,_0x641965){const _0x261ad8=a25_0x75a8;return _0x1239b7[_0x261ad8(0x1de)](_0x4dbb47,_0x641965);},'ipUFW':function(_0x57177b,_0x2fd5eb){const _0x57b836=a25_0x75a8;return _0x1239b7[_0x57b836(0x1c1)](_0x57177b,_0x2fd5eb);},'yIHOf':_0x1239b7['GWvVH'],'icuMy':function(_0x57257a,_0xe1b826){const _0x16e3d2=a25_0x75a8;return _0x1239b7[_0x16e3d2(0x1b2)](_0x57257a,_0xe1b826);},'zgdvb':function(_0x4708ea,_0x2c2ad2){return _0x1239b7['pqGFC'](_0x4708ea,_0x2c2ad2);},'yhatI':_0x1239b7[_0x58feea(0x19e)]};if(_0x1239b7['pXzJq'](_0x1239b7[_0x58feea(0x178)],_0x1239b7[_0x58feea(0x1e8)])){const _0x1412b1={};_0x1412b1[_0x58feea(0x192)]=_0x3eb64e['yIHOf'],_0x1412b1[_0x58feea(0x1c6)]=_0x2b4ef3;const _0x1a684e=new _0x27c34f[(_0x58feea(0x1b0))](_0x1412b1);_0x1a684e[_0x58feea(0x1ed)]()['promise']()[_0x58feea(0x1bd)](_0x3884b5=>{const _0x119042=_0x58feea;_0x3eb64e[_0x119042(0x1d0)](_0xebf541,_0x3884b5);})[_0x58feea(0x1e2)](_0x3886a0=>{const _0xb217f5=_0x58feea;_0x572076[_0xb217f5(0x1d7)](_0xb217f5(0x18c)+_0x3886a0),_0x3eb64e[_0xb217f5(0x181)](_0x436f88,_0x3886a0);});}else{const _0x102946={};_0x102946[_0x58feea(0x192)]=_0x1239b7[_0x58feea(0x1c8)];const _0x34655a=new awsSDK[(_0x58feea(0x21a))](_0x102946),_0x29efdc={};_0x29efdc[_0x58feea(0x17c)]=_0x135a57,_0x34655a[_0x58feea(0x1ca)](_0x29efdc)[_0x58feea(0x1a2)]()[_0x58feea(0x1bd)](_0x373277=>{const _0x2c2d6f=_0x58feea,_0x29fc5f={'KDmEF':function(_0x382caa,_0xa2aaca){const _0x1a3ace=a25_0x75a8;return _0x3eb64e[_0x1a3ace(0x213)](_0x382caa,_0xa2aaca);},'yImtr':_0x3eb64e[_0x2c2d6f(0x193)]};if(_0x3eb64e['zgdvb'](_0x3eb64e['yhatI'],_0x3eb64e[_0x2c2d6f(0x212)])){const _0x2cdda4={'PszCk':function(_0x37149d,_0xf221a9){const _0x6bf49c=_0x2c2d6f;return _0x29fc5f[_0x6bf49c(0x1e1)](_0x37149d,_0xf221a9);},'NNWju':_0x29fc5f['yImtr']};return new _0x165966((_0x48c10b,_0x163e73)=>{const _0x505ccb=_0x2c2d6f,_0x5deaa7={'GTadS':function(_0xa50e8b,_0x291435){const _0x29fa95=a25_0x75a8;return _0x2cdda4[_0x29fa95(0x20f)](_0xa50e8b,_0x291435);}},_0x36e8be={};_0x36e8be['apiVersion']=_0x2cdda4[_0x505ccb(0x1a4)],_0x36e8be['region']=_0x26da75;const _0x187435=new _0x4823db[(_0x505ccb(0x1b0))](_0x36e8be);_0x187435[_0x505ccb(0x1ed)]()[_0x505ccb(0x1a2)]()[_0x505ccb(0x1bd)](_0x2a66b1=>{const _0x249f8c=_0x505ccb;_0x2cdda4[_0x249f8c(0x20f)](_0x48c10b,_0x2a66b1);})[_0x505ccb(0x1e2)](_0x233af6=>{const _0x4d4567=_0x505ccb;_0x37fd36['error']('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x233af6),_0x5deaa7[_0x4d4567(0x214)](_0x163e73,_0x233af6);});});}else _0x3eb64e[_0x2c2d6f(0x213)](_0x58adcc,_0x373277[_0x2c2d6f(0x20a)]['identity']['oidc'][_0x2c2d6f(0x210)]);})['catch'](_0x509142=>{const _0x1f572a=_0x58feea,_0x2583dc={'KfFDE':function(_0x12563c,_0x15d8df){return _0x1239b7['UXSQS'](_0x12563c,_0x15d8df);}};_0x1239b7['pqGFC'](_0x1239b7[_0x1f572a(0x1ab)],_0x1239b7['zVlpn'])?(_0x1bf17f[_0x1f572a(0x1d7)](_0x1f572a(0x208)+_0x4f26b7+':\x20'+_0xf5f8dd),_0x2583dc['KfFDE'](_0x17135c,_0x2d086)):(logger[_0x1f572a(0x1d7)](_0x1f572a(0x208)+_0x135a57+':\x20'+_0x509142),_0x1239b7[_0x1f572a(0x1c1)](_0x14453b,_0x509142));});}});},exports[a25_0x4202d2(0x20b)]=awsSDK;function a25_0x75a8(_0x232e76,_0x513bbf){const _0xb8b50d=a25_0xb8b5();return a25_0x75a8=function(_0x75a825,_0x649535){_0x75a825=_0x75a825-0x171;let _0xf22590=_0xb8b50d[_0x75a825];return _0xf22590;},a25_0x75a8(_0x232e76,_0x513bbf);}function a25_0xb8b5(){const _0x1416bc=['isBucketPresent','piGSN','IhgJQ','rTqdU','KDmEF','catch','1575LOwHHo','describeSecurityGroups','LIcsv','Bucket:\x20','13790696EarlDV','mCugu','254JUkSuq','KiSZc','chXKv','NfVdy','describeSubnets','BDioR','LaZNe','2016-11-15','luNlM','UctUZ','ikrPU','JxVzP','XNbsZ','QQAdd','rQqjB','yVsNh','YkyhB','dHPSW','WFocm','Qctvz','10258831FsSBfG','bLkTi','cEuvk','saZVQ','Regions','NtgXw','UxtSL','GRVEq','sVXQX','SWICM','rvUlr','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','3790505XCUpqK','cluster','awsObj','98380iiXNBD','yEoOJ','RNwjW','PszCk','issuer','fsEfy','yhatI','icuMy','GTadS','rdNAC','Bucket','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','JymNy','NZUBx','EKS','VELUK','LWJQG','SbYfF','xXRRR','ggqMy','iqKKs','vkcyA','chQCa','getOidcUrl','xsbmP','mecjG','TxeaX','fptBu','name','fetchVPCs','identity','dejon','5324Zlkgwl','ipUFW','YPleY','uOnzH','KadML','nUoRz','WanUR','4258WDgZHw','aCHCu','headBucket','7798651kRFiKd','aWrxC','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','qwPkW','oidc','dLeUs','nTSPP','yawce','apiVersion','yIHOf','GvVJv','kfiuP','RwIYS','peHWX','fetchSecurityGroups','HJEXZ','gRnPb','getAWSRegions','VJYCR','fBokW','PTAWm','PLMVQ','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','promise','IUJqo','NNWju','QPIBn','suNEw','mmkPe','aXCkJ','XwpOS','HaDKS','zVlpn','LKOCg','RWWUH','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','Labju','EC2','ozlHv','slYSQ','YUzVV','UpqLk','1185eAMXXW','XQMNe','XBerZ','../config/logger','jsGbi','qhGXo','describeVpcs','SeTDf','then','XKTTW','RgTqY','hpezp','XIgAe','dfGGS','ZsZTf','warn','wOmYT','region','Lymmi','dDOHc','6zMbtWW','describeCluster','ojJzn','fvupk','qcVZg','jlSIG','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','nqtXa','VNzqH','xICaw','ctnOf','UkQYk','RKQUj','iAEPA','error','tQLnc','ySIwY','info','OHAks','EdOKn'];a25_0xb8b5=function(){return _0x1416bc;};return a25_0xb8b5();}
|
|
1
|
+
const a25_0x32d451=a25_0x5ebd;(function(_0x28cf0d,_0x17a600){const _0x1927b3=a25_0x5ebd,_0x49557c=_0x28cf0d();while(!![]){try{const _0x534f7e=-parseInt(_0x1927b3(0x1bd))/0x1*(parseInt(_0x1927b3(0x1b0))/0x2)+parseInt(_0x1927b3(0x18e))/0x3+parseInt(_0x1927b3(0x1bb))/0x4+parseInt(_0x1927b3(0x19b))/0x5+parseInt(_0x1927b3(0x1cd))/0x6+parseInt(_0x1927b3(0x16a))/0x7+parseInt(_0x1927b3(0x1f0))/0x8*(-parseInt(_0x1927b3(0x1ba))/0x9);if(_0x534f7e===_0x17a600)break;else _0x49557c['push'](_0x49557c['shift']());}catch(_0x1c4c5a){_0x49557c['push'](_0x49557c['shift']());}}}(a25_0x227e,0xa868f));function a25_0x5ebd(_0x3410bf,_0x5df8b8){const _0x227e07=a25_0x227e();return a25_0x5ebd=function(_0x5ebd0e,_0x23a01e){_0x5ebd0e=_0x5ebd0e-0x155;let _0x5de729=_0x227e07[_0x5ebd0e];return _0x5de729;},a25_0x5ebd(_0x3410bf,_0x5df8b8);}const awsSDK=require(a25_0x32d451(0x16c)),{logger}=require('../config/logger');function a25_0x227e(){const _0x2be6d9=['oidc','Bucket','bXnHj','bnuYi','mRLWg','MqIED','cwDBK','NrXDp','WwULc','UgNXu','oTAMa','QlXyC','2016-11-15','describeRegions','JDqsp','NWpUq','cntQu','KdOCT','promise','catch','161208DwrJhZ','tuxTN','pcmYu','describeSubnets','aJFGL','iHBbN','JIZeJ','FkpGL','fetchVPCs','bgmoc','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','FJBFK','sPRGo','1238315uuHgBi','ZKwyl','yiEtf','tjPzE','kFUvQ','BRZjv','issuer','ZYXGh','gMVlO','getAWSRegions','feDcY','LHivY','EC2','headBucket','Bucket:\x20','pVuVB','jPdju','yrXkH','wqBDs','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','142rLvnlR','LGYjt','vELqU','lTTYU','dBHVo','zbdoy','ecFLN','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','qYThz','gjjuW','153NDRJBR','4231912HdeDeP','ackFS','2029VNwaaH','describeCluster','sPjVb','apiVersion','2017-11-01','TiEIK','ZZCNW','jgfLZ','RYyVo','Ezkvi','IlkdC','sEcyO','VqXKA','yRtje','ujxuI','RTaaU','6703986jGfSKp','EKS','UUErD','ySXhj','IMMXE','info','Tdejk','dAtaz','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','rHwVz','ynZAn','OyYjw','fetchSecurityGroups','ulwnT','fguNW','yXSYY','aoduU','awsObj','GqhlV','mMJCd','lBSpp','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','WXNNz','describeSecurityGroups','WBRDc','dFfkv','fszFq','eNXZQ','vdEQj','name','kzsim','JRmdX','VHtAx','KMGCs','TRCSS','1234888Qfcxsu','region','cSlvs','dsngC','getOidcUrl','CXEKG','JsfWI','describeVpcs','lMlMJ','jogFj','twBSC','zMzke','error','qSYLZ','wVIwm','ixJZs','cluster','sTHKB','MHncI','warn','qpcJS','then','6869065rIiRWh','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','aws-sdk','ETTnb','Regions','NmNhj','LsFZZ','CkyDN','jJugM','isBucketPresent','hgRSD','identity','SsITY','muqRQ','xzynv','sTKRp'];a25_0x227e=function(){return _0x2be6d9;};return a25_0x227e();}exports[a25_0x32d451(0x196)]=_0x5bc2fb=>{const _0x558aea=a25_0x32d451,_0x74d0b1={'iHBbN':function(_0x263b09,_0x16ecc7){return _0x263b09(_0x16ecc7);},'JsfWI':function(_0xde8601,_0x104592){return _0xde8601===_0x104592;},'iQXSk':'GGXgo','oTAMa':'ZhSdm','ackFS':function(_0x25889a,_0x187a73){return _0x25889a===_0x187a73;},'KMqII':_0x558aea(0x1ab),'zMzke':_0x558aea(0x1d7),'NWpUq':function(_0x2cfd7f,_0x42746e){return _0x2cfd7f!==_0x42746e;},'FkpGL':_0x558aea(0x1dc),'cbuKk':'2016-11-15'};return new Promise((_0x3754d3,_0x308dbe)=>{const _0x32d11f=_0x558aea,_0x118442={'MHncI':function(_0x3fc84d,_0x447a1c){const _0x243425=a25_0x5ebd;return _0x74d0b1[_0x243425(0x193)](_0x3fc84d,_0x447a1c);},'SiTtB':function(_0x2aa445,_0x413a02){const _0x334e3a=a25_0x5ebd;return _0x74d0b1[_0x334e3a(0x1bc)](_0x2aa445,_0x413a02);},'EQKoN':_0x74d0b1['KMqII'],'gMVlO':_0x74d0b1[_0x32d11f(0x15f)]};if(_0x74d0b1[_0x32d11f(0x189)](_0x74d0b1[_0x32d11f(0x195)],_0x74d0b1[_0x32d11f(0x195)]))_0x74d0b1[_0x32d11f(0x193)](_0x4f5790,_0x42c2f4);else{const _0x4b6548={};_0x4b6548[_0x32d11f(0x1c0)]=_0x74d0b1['cbuKk'],_0x4b6548[_0x32d11f(0x155)]=_0x5bc2fb;const _0x51a64b=new awsSDK['EC2'](_0x4b6548);_0x51a64b[_0x32d11f(0x15b)]()[_0x32d11f(0x18c)]()[_0x32d11f(0x169)](_0x2c54d1=>{const _0x2a4386=_0x32d11f;_0x74d0b1[_0x2a4386(0x15a)](_0x74d0b1['iQXSk'],_0x74d0b1[_0x2a4386(0x184)])?_0x118442['MHncI'](_0x44019e,_0x42e7c7):_0x74d0b1[_0x2a4386(0x193)](_0x3754d3,_0x2c54d1);})[_0x32d11f(0x18d)](_0x3e98bc=>{const _0x1bc9b0=_0x32d11f,_0xa58c62={'gjjuW':function(_0x30d868,_0x1cf0fd){return _0x118442['MHncI'](_0x30d868,_0x1cf0fd);}};_0x118442['SiTtB'](_0x118442['EQKoN'],_0x118442[_0x1bc9b0(0x1a3)])?(_0x62f37a[_0x1bc9b0(0x160)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x386864),_0xa58c62[_0x1bc9b0(0x1b9)](_0x4bb61a,_0xd8540f)):(logger[_0x1bc9b0(0x160)](_0x1bc9b0(0x1e2)+_0x3e98bc),_0x118442[_0x1bc9b0(0x166)](_0x308dbe,_0x3e98bc));});}});},exports[a25_0x32d451(0x173)]=_0x3ee72c=>{const _0x354961=a25_0x32d451,_0xeab6f6={'KdOCT':function(_0x51f727,_0x4e9681){return _0x51f727(_0x4e9681);},'TRCSS':function(_0x177a49,_0x1e0d4f){return _0x177a49(_0x1e0d4f);},'OyYjw':function(_0x7fa7fb,_0x2789c9){return _0x7fa7fb===_0x2789c9;},'lTTYU':'rWjjP','lBSpp':function(_0x19dac6,_0xf01da9){return _0x19dac6(_0xf01da9);},'fszFq':function(_0x2c0670,_0x4be908){return _0x2c0670===_0x4be908;},'hgRSD':_0x354961(0x1ed),'sPRGo':'MvXjR','dAtaz':function(_0x23f52a,_0x41dbf3){return _0x23f52a(_0x41dbf3);},'dFfkv':function(_0x32ac93,_0xa4d8d8){return _0x32ac93(_0xa4d8d8);},'WXNNz':function(_0x54bb6f,_0x1a58ff){return _0x54bb6f===_0x1a58ff;},'ecFLN':_0x354961(0x1e8)},_0x17d728=new awsSDK['S3']();return new Promise((_0x298957,_0x552f6b)=>{const _0x3b9b2d=_0x354961,_0x1d5047={'sEcyO':function(_0x2a8760,_0xd1ff08){const _0x4a8ebd=a25_0x5ebd;return _0xeab6f6[_0x4a8ebd(0x18b)](_0x2a8760,_0xd1ff08);}};if(_0xeab6f6[_0x3b9b2d(0x1e3)](_0xeab6f6[_0x3b9b2d(0x1b6)],_0xeab6f6[_0x3b9b2d(0x1b6)])){const _0x4aa86f={};_0x4aa86f[_0x3b9b2d(0x17b)]=_0x3ee72c,_0x17d728[_0x3b9b2d(0x1a8)](_0x4aa86f)[_0x3b9b2d(0x18c)]()[_0x3b9b2d(0x169)](_0x64c73e=>{const _0x3c5bc6=_0x3b9b2d,_0x3e8950={'IMMXE':function(_0x2f083d,_0x6b2de9){const _0x50cab3=a25_0x5ebd;return _0xeab6f6[_0x50cab3(0x18b)](_0x2f083d,_0x6b2de9);},'TntIZ':function(_0x14c6fd,_0x5d86ab){const _0x55e555=a25_0x5ebd;return _0xeab6f6[_0x55e555(0x1ef)](_0x14c6fd,_0x5d86ab);}};if(_0xeab6f6[_0x3c5bc6(0x1d8)](_0xeab6f6['lTTYU'],_0xeab6f6[_0x3c5bc6(0x1b3)]))logger[_0x3c5bc6(0x167)]('Bucket:\x20'+_0x3ee72c+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0xeab6f6[_0x3c5bc6(0x1e1)](_0x298957,!![]);else{const _0x31193c={};_0x31193c[_0x3c5bc6(0x17b)]=_0xb20d6a,_0x25edab[_0x3c5bc6(0x1a8)](_0x31193c)[_0x3c5bc6(0x18c)]()[_0x3c5bc6(0x169)](_0x1772e2=>{const _0x2df878=_0x3c5bc6;_0xa131ba[_0x2df878(0x167)](_0x2df878(0x1a9)+_0x3ac484+_0x2df878(0x1ae)),_0x3e8950[_0x2df878(0x1d1)](_0x4fc731,!![]);})[_0x3c5bc6(0x18d)](()=>{_0x3a9f0e['info']('Bucket:\x20'+_0x39ea83+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x3e8950['TntIZ'](_0x233c52,![]);});}})[_0x3b9b2d(0x18d)](()=>{const _0x321025=_0x3b9b2d;_0xeab6f6[_0x321025(0x1e7)](_0xeab6f6[_0x321025(0x174)],_0xeab6f6[_0x321025(0x19a)])?_0x1d5047[_0x321025(0x1c8)](_0x4308a3,_0x27157b['cluster']['identity'][_0x321025(0x17a)][_0x321025(0x1a1)]):(logger[_0x321025(0x1d2)](_0x321025(0x1a9)+_0x3ee72c+_0x321025(0x1d5)),_0xeab6f6[_0x321025(0x1d4)](_0x298957,![]));});}else _0x9aa5cf['warn']('Bucket:\x20'+_0x413610+_0x3b9b2d(0x1ae)),_0xeab6f6[_0x3b9b2d(0x1e6)](_0x43c563,!![]);});},exports['fetchSubnets']=_0x45e372=>{const _0x28579d=a25_0x32d451,_0x37a622={'cwDBK':function(_0x35fec3,_0x1c073e){return _0x35fec3(_0x1c073e);},'lAwjh':function(_0x38efe3,_0x1ea3e2){return _0x38efe3!==_0x1ea3e2;},'sTKRp':function(_0x15c2c1,_0x1c8daf){return _0x15c2c1(_0x1c8daf);},'zbdoy':function(_0x77d582,_0x3c86ea){return _0x77d582!==_0x3c86ea;},'Ezkvi':_0x28579d(0x1e0),'lMlMJ':function(_0x280b99,_0x5453bb){return _0x280b99===_0x5453bb;},'ETTnb':'ZqZUF','Tdejk':function(_0x7fa230,_0x57a1a4){return _0x7fa230!==_0x57a1a4;},'ZKwyl':'GCfiY','cntQu':_0x28579d(0x186)};return new Promise((_0x2bef12,_0x1cbb37)=>{const _0x412a7d=_0x28579d,_0xd98b72={'sPjVb':function(_0x44ee85,_0x3afc35){const _0xfa71c5=a25_0x5ebd;return _0x37a622[_0xfa71c5(0x180)](_0x44ee85,_0x3afc35);},'wqBDs':function(_0xaa6ebe,_0x215c1d){return _0x37a622['lAwjh'](_0xaa6ebe,_0x215c1d);},'fQgIa':function(_0x286b63,_0x49849d){return _0x37a622['sTKRp'](_0x286b63,_0x49849d);},'bXnHj':function(_0x11329a,_0x137e58){const _0x13367c=a25_0x5ebd;return _0x37a622[_0x13367c(0x179)](_0x11329a,_0x137e58);},'vELqU':function(_0x17a418,_0x33dc4d){const _0x3274b9=a25_0x5ebd;return _0x37a622[_0x3274b9(0x1b5)](_0x17a418,_0x33dc4d);},'GqhlV':_0x37a622[_0x412a7d(0x1c6)],'ujxuI':function(_0x2312fd,_0xf6dbc0){return _0x37a622['cwDBK'](_0x2312fd,_0xf6dbc0);},'aoduU':function(_0x5b5cbb,_0x4a38e7){const _0x2dbeb3=_0x412a7d;return _0x37a622[_0x2dbeb3(0x15c)](_0x5b5cbb,_0x4a38e7);},'LGYjt':_0x37a622[_0x412a7d(0x16d)]};if(_0x37a622[_0x412a7d(0x1d3)](_0x37a622['ZKwyl'],_0x37a622[_0x412a7d(0x19c)]))_0xd98b72[_0x412a7d(0x1bf)](_0x13bd82,_0x41fc16[_0x412a7d(0x16e)]);else{const _0xe5ce91={};_0xe5ce91[_0x412a7d(0x1c0)]=_0x37a622[_0x412a7d(0x18a)],_0xe5ce91['region']=_0x45e372;const _0x4ab85b=new awsSDK[(_0x412a7d(0x1a7))](_0xe5ce91);_0x4ab85b[_0x412a7d(0x191)]()[_0x412a7d(0x18c)]()['then'](_0x429fe1=>{const _0x324457=_0x412a7d;_0xd98b72[_0x324457(0x1b2)](_0xd98b72['GqhlV'],_0xd98b72[_0x324457(0x1df)])?_0xd98b72[_0x324457(0x1ad)](_0x18921e,_0xd04ad1)&&_0xd98b72[_0x324457(0x1ad)](_0x2f0d3d[_0x324457(0x16e)],_0xddffec)?_0xd98b72['fQgIa'](_0x4be47c,_0x1acd76[_0x324457(0x16e)]):_0xd98b72[_0x324457(0x17c)](_0x3d8138,{}):_0xd98b72[_0x324457(0x1cb)](_0x2bef12,_0x429fe1);})[_0x412a7d(0x18d)](_0x4ef0a6=>{const _0x25c3f9=_0x412a7d;_0xd98b72[_0x25c3f9(0x1dd)](_0xd98b72[_0x25c3f9(0x1b1)],_0xd98b72['LGYjt'])?(logger['error']('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x4ef0a6),_0xd98b72['fQgIa'](_0x1cbb37,_0x4ef0a6)):(_0x371d6d[_0x25c3f9(0x160)](_0x25c3f9(0x16b)+_0x513d3c+':\x20'+_0x2857b3),_0xd98b72[_0x25c3f9(0x1bf)](_0x208804,_0x544de3));});}});},exports[a25_0x32d451(0x1d9)]=_0x4b3296=>{const _0xac56fa=a25_0x32d451,_0x3f9c4f={'WwULc':function(_0x3a93e2,_0x2cf4b3){return _0x3a93e2(_0x2cf4b3);},'jJugM':function(_0x18f8fb,_0x28cb7a){return _0x18f8fb===_0x28cb7a;},'CkyDN':'PiXKb','pVuVB':function(_0x41767b,_0x57e765){return _0x41767b(_0x57e765);},'UgNXu':_0xac56fa(0x1a6),'ySXhj':function(_0x2cabe5,_0x288247){return _0x2cabe5!==_0x288247;},'yrXkH':_0xac56fa(0x1a2),'CXEKG':_0xac56fa(0x1ca),'yUOzY':_0xac56fa(0x186)};return new Promise((_0x35b0de,_0x4f1164)=>{const _0x32761a=_0xac56fa,_0xe5c4f0={'sTHKB':function(_0x3c104d,_0x1d1765){const _0xdcbc0d=a25_0x5ebd;return _0x3f9c4f[_0xdcbc0d(0x1aa)](_0x3c104d,_0x1d1765);},'muqRQ':function(_0x1da594,_0x58cd8a){const _0x156e21=a25_0x5ebd;return _0x3f9c4f[_0x156e21(0x172)](_0x1da594,_0x58cd8a);},'bgmoc':_0x3f9c4f[_0x32761a(0x183)],'bVHHH':function(_0x3b7029,_0x3ed064){const _0xdd870c=_0x32761a;return _0x3f9c4f[_0xdd870c(0x182)](_0x3b7029,_0x3ed064);}};if(_0x3f9c4f[_0x32761a(0x1d0)](_0x3f9c4f[_0x32761a(0x1ac)],_0x3f9c4f[_0x32761a(0x159)])){const _0x27372b={};_0x27372b[_0x32761a(0x1c0)]=_0x3f9c4f['yUOzY'],_0x27372b[_0x32761a(0x155)]=_0x4b3296;const _0x4cedd1=new awsSDK[(_0x32761a(0x1a7))](_0x27372b);_0x4cedd1[_0x32761a(0x1e4)]()[_0x32761a(0x18c)]()[_0x32761a(0x169)](_0x13c291=>{const _0x15f57b=_0x32761a,_0x28bdd0={'NrXDp':function(_0x145cdc,_0x2aa937){const _0x5df24e=a25_0x5ebd;return _0xe5c4f0[_0x5df24e(0x165)](_0x145cdc,_0x2aa937);}};_0xe5c4f0[_0x15f57b(0x177)](_0xe5c4f0[_0x15f57b(0x197)],_0xe5c4f0[_0x15f57b(0x197)])?_0xe5c4f0[_0x15f57b(0x165)](_0x35b0de,_0x13c291):(_0x53a3d5[_0x15f57b(0x160)](_0x15f57b(0x198)+_0x2c7b8b),_0x28bdd0[_0x15f57b(0x181)](_0x1d1532,_0x3f2607));})['catch'](_0x266a8b=>{const _0x4d7a54=_0x32761a,_0x343648={'QlXyC':function(_0x491dc8,_0x350723){const _0x240bca=a25_0x5ebd;return _0x3f9c4f[_0x240bca(0x182)](_0x491dc8,_0x350723);}};if(_0x3f9c4f[_0x4d7a54(0x172)](_0x3f9c4f[_0x4d7a54(0x171)],_0x3f9c4f['CkyDN']))logger['error']('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x266a8b),_0x3f9c4f[_0x4d7a54(0x182)](_0x4f1164,_0x266a8b);else{const _0x3ed576={'NmNhj':function(_0x485ac7,_0x110b51){return _0xe5c4f0['bVHHH'](_0x485ac7,_0x110b51);}},_0x1ba6a6=new _0x40dffa['S3']();return new _0x34a6d4((_0x462452,_0x20d4f7)=>{const _0x351077=_0x4d7a54,_0x18f01a={'FJBFK':function(_0x2f6033,_0x1e27ec){const _0x373398=a25_0x5ebd;return _0x343648[_0x373398(0x185)](_0x2f6033,_0x1e27ec);}},_0x505b15={};_0x505b15[_0x351077(0x17b)]=_0x169139,_0x1ba6a6[_0x351077(0x1a8)](_0x505b15)[_0x351077(0x18c)]()[_0x351077(0x169)](_0x17beb6=>{const _0x2d0bf9=_0x351077;_0x5342d5[_0x2d0bf9(0x167)](_0x2d0bf9(0x1a9)+_0x408691+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x3ed576[_0x2d0bf9(0x16f)](_0x462452,!![]);})[_0x351077(0x18d)](()=>{const _0x3bc782=_0x351077;_0xd620c2[_0x3bc782(0x1d2)](_0x3bc782(0x1a9)+_0x37b275+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x18f01a[_0x3bc782(0x199)](_0x462452,![]);});});}});}else _0x3f9c4f[_0x32761a(0x1aa)](_0x2f8be3,{});});},exports[a25_0x32d451(0x1a4)]=()=>{const _0x76b55e=a25_0x32d451,_0x38c53a={'bnuYi':function(_0x43a66c,_0x50d505){return _0x43a66c(_0x50d505);},'ixJZs':function(_0x16b822,_0xcd393){return _0x16b822(_0xcd393);},'fguNW':'2016-11-15','wVIwm':'2017-11-01','tuxTN':function(_0x14594e,_0x5894bb){return _0x14594e!==_0x5894bb;},'JIZeJ':'QrRKV','ANUuB':function(_0x472953,_0x159780){return _0x472953===_0x159780;},'qSYLZ':_0x76b55e(0x1c7),'TgPKc':_0x76b55e(0x1eb),'tjPzE':_0x76b55e(0x19f),'feDcY':function(_0x537340,_0x2c851f){return _0x537340(_0x2c851f);},'dBHVo':function(_0x432dfc,_0x13d2aa){return _0x432dfc(_0x13d2aa);},'cSlvs':function(_0x36cdc7,_0x5a721f){return _0x36cdc7!==_0x5a721f;},'qYThz':_0x76b55e(0x1c2),'VqXKA':_0x76b55e(0x1c3),'yPOgL':_0x76b55e(0x1c4)};return new Promise((_0x4012a7,_0x556962)=>{const _0x565cd6=_0x76b55e,_0x1384f7={'mRLWg':function(_0x309511,_0x586285){const _0xe47668=a25_0x5ebd;return _0x38c53a[_0xe47668(0x1b4)](_0x309511,_0x586285);},'BRZjv':_0x38c53a[_0x565cd6(0x1db)],'RTaaU':function(_0x3e502e,_0x502a96){const _0x5b3c23=_0x565cd6;return _0x38c53a[_0x5b3c23(0x156)](_0x3e502e,_0x502a96);},'loGaL':_0x38c53a[_0x565cd6(0x1b8)],'VRPaG':_0x38c53a[_0x565cd6(0x1c9)]};if(_0x38c53a[_0x565cd6(0x18f)](_0x38c53a['yPOgL'],_0x38c53a['yPOgL']))_0x161d90[_0x565cd6(0x1d2)]('Bucket:\x20'+_0x30b83a+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x38c53a[_0x565cd6(0x17d)](_0x4b8d24,![]);else{const _0x5be00a={};_0x5be00a[_0x565cd6(0x1c0)]=_0x38c53a[_0x565cd6(0x1db)];const _0x4f433e=new awsSDK[(_0x565cd6(0x1a7))](_0x5be00a);_0x4f433e[_0x565cd6(0x187)]()[_0x565cd6(0x18c)]()[_0x565cd6(0x169)]((_0x589840,_0xc6a30d)=>{const _0x72bc76=_0x565cd6,_0x3a060c={'vdEQj':function(_0x33e71d,_0x3e3c9d){const _0x6b9ebc=a25_0x5ebd;return _0x38c53a[_0x6b9ebc(0x163)](_0x33e71d,_0x3e3c9d);},'SsITY':_0x38c53a[_0x72bc76(0x1db)],'HdwhE':_0x38c53a[_0x72bc76(0x162)]};if(_0x38c53a[_0x72bc76(0x18f)](_0x38c53a[_0x72bc76(0x194)],_0x38c53a[_0x72bc76(0x194)]))_0x5823b5[_0x72bc76(0x160)](_0x72bc76(0x1e2)+_0x5b0003),_0x3a060c[_0x72bc76(0x1e9)](_0xde1905,_0x31400f);else{if(_0x38c53a[_0x72bc76(0x18f)](_0x589840,undefined)&&_0x38c53a[_0x72bc76(0x18f)](_0x589840[_0x72bc76(0x16e)],undefined)){if(_0x38c53a['ANUuB'](_0x38c53a[_0x72bc76(0x161)],_0x38c53a[_0x72bc76(0x161)]))_0x38c53a[_0x72bc76(0x17d)](_0x4012a7,_0x589840[_0x72bc76(0x16e)]);else{const _0x4e73a9={};_0x4e73a9[_0x72bc76(0x1c0)]=_0x3a060c[_0x72bc76(0x176)],_0x4e73a9[_0x72bc76(0x155)]=_0x41021c;const _0x32e4b0=new _0x722f44['EC2'](_0x4e73a9);_0x32e4b0['describeSubnets']()[_0x72bc76(0x18c)]()[_0x72bc76(0x169)](_0x155630=>{const _0x383210=_0x72bc76;_0x3a060c[_0x383210(0x1e9)](_0xf95b9a,_0x155630);})['catch'](_0x37e6c4=>{const _0x40624c=_0x72bc76;_0x360215[_0x40624c(0x160)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x37e6c4),_0x3a060c[_0x40624c(0x1e9)](_0x503e42,_0x37e6c4);});}}else{if(_0x38c53a[_0x72bc76(0x18f)](_0x38c53a['TgPKc'],_0x38c53a[_0x72bc76(0x19e)]))_0x38c53a[_0x72bc76(0x1a5)](_0x4012a7,{});else return new _0x5cc5b7((_0xa70dda,_0x416246)=>{const _0x335b1d=_0x72bc76,_0x52b36a={'pcmYu':function(_0x1b5d5e,_0x432299){const _0x5066c6=a25_0x5ebd;return _0x3a060c[_0x5066c6(0x1e9)](_0x1b5d5e,_0x432299);}},_0x2499b7={};_0x2499b7[_0x335b1d(0x1c0)]=_0x3a060c['HdwhE'];const _0x38b1e1=new _0x64b78f[(_0x335b1d(0x1ce))](_0x2499b7),_0x497ab2={};_0x497ab2['name']=_0x5a6b59,_0x38b1e1[_0x335b1d(0x1be)](_0x497ab2)[_0x335b1d(0x18c)]()['then'](_0xfc1d1b=>{const _0x1b65a8=_0x335b1d;_0x52b36a[_0x1b65a8(0x190)](_0xa70dda,_0xfc1d1b[_0x1b65a8(0x164)][_0x1b65a8(0x175)]['oidc'][_0x1b65a8(0x1a1)]);})[_0x335b1d(0x18d)](_0x56f28b=>{const _0x4bc0b8=_0x335b1d;_0x24802b[_0x4bc0b8(0x160)]('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x48915b+':\x20'+_0x56f28b),_0x52b36a[_0x4bc0b8(0x190)](_0x416246,_0x56f28b);});});}}})[_0x565cd6(0x18d)](_0x4e4734=>{const _0x8e538a=_0x565cd6;if(_0x1384f7[_0x8e538a(0x1cc)](_0x1384f7['loGaL'],_0x1384f7['VRPaG']))logger[_0x8e538a(0x160)](_0x8e538a(0x1b7)+_0x4e4734),_0x1384f7[_0x8e538a(0x17e)](_0x556962,_0x4e4734);else{const _0x5dc150={'xzynv':function(_0x8af5e1,_0x492b4e){const _0x5cbce8=_0x8e538a;return _0x1384f7[_0x5cbce8(0x17e)](_0x8af5e1,_0x492b4e);}},_0x4f4ed4={};_0x4f4ed4[_0x8e538a(0x1c0)]=_0x1384f7[_0x8e538a(0x1a0)],_0x4f4ed4[_0x8e538a(0x155)]=_0xc2123e;const _0xe11adb=new _0x20f57d[(_0x8e538a(0x1a7))](_0x4f4ed4);_0xe11adb[_0x8e538a(0x15b)]()[_0x8e538a(0x18c)]()[_0x8e538a(0x169)](_0x1287f8=>{const _0x30713c=_0x8e538a;_0x5dc150[_0x30713c(0x178)](_0x153726,_0x1287f8);})[_0x8e538a(0x18d)](_0x5e9ba2=>{const _0x10bbb1=_0x8e538a;_0x52070b[_0x10bbb1(0x160)]('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x5e9ba2),_0x5dc150[_0x10bbb1(0x178)](_0x48d52e,_0x5e9ba2);});}});}});},exports[a25_0x32d451(0x158)]=_0x424152=>{const _0x3a4132=a25_0x32d451,_0xf419c9={'MqIED':function(_0x1e0a62,_0x1cbcb5){return _0x1e0a62(_0x1cbcb5);},'WBRDc':function(_0x4c91d4,_0x407e06){return _0x4c91d4!==_0x407e06;},'jogFj':_0x3a4132(0x168),'aJFGL':_0x3a4132(0x186),'NKYeQ':function(_0x574b4c,_0x4a8c94){return _0x574b4c(_0x4a8c94);},'RiHwA':function(_0x177460,_0x3520f7){return _0x177460===_0x3520f7;},'yiEtf':'DRmCQ','twBSC':function(_0x1a3b42,_0x10be8f){return _0x1a3b42(_0x10be8f);},'bsCnu':function(_0x2dd031,_0x4d978e){return _0x2dd031(_0x4d978e);},'UUErD':_0x3a4132(0x1c1),'RYyVo':_0x3a4132(0x1ec)};return new Promise((_0x11b883,_0x5e5b9b)=>{const _0x2f01ba=_0x3a4132,_0x476067={'KMGCs':function(_0xcce3ae,_0x31c2b6){const _0x376a92=a25_0x5ebd;return _0xf419c9[_0x376a92(0x15e)](_0xcce3ae,_0x31c2b6);},'ulwnT':function(_0x122d0e,_0x377382){return _0xf419c9['bsCnu'](_0x122d0e,_0x377382);},'rHwVz':_0xf419c9[_0x2f01ba(0x1cf)]};if(_0xf419c9[_0x2f01ba(0x1e5)](_0xf419c9[_0x2f01ba(0x1c5)],_0xf419c9[_0x2f01ba(0x1c5)]))_0x116bbe[_0x2f01ba(0x160)](_0x2f01ba(0x1af)+_0x344793),_0xf419c9['MqIED'](_0x345bea,_0x39a7a6);else{const _0x3fe8f9={};_0x3fe8f9['apiVersion']=_0xf419c9['UUErD'];const _0x4e1ac1=new awsSDK[(_0x2f01ba(0x1ce))](_0x3fe8f9),_0x36cf62={};_0x36cf62[_0x2f01ba(0x1ea)]=_0x424152,_0x4e1ac1[_0x2f01ba(0x1be)](_0x36cf62)[_0x2f01ba(0x18c)]()[_0x2f01ba(0x169)](_0x454225=>{const _0x4ccb88=_0x2f01ba;if(_0xf419c9[_0x4ccb88(0x1e5)](_0xf419c9['jogFj'],_0xf419c9[_0x4ccb88(0x15d)])){const _0xa336a8={'JDqsp':function(_0x2b1018,_0x17cff1){const _0x42800a=_0x4ccb88;return _0x476067[_0x42800a(0x1ee)](_0x2b1018,_0x17cff1);},'DIErA':function(_0x3fabe0,_0x35032f){const _0x40d1ce=_0x4ccb88;return _0x476067[_0x40d1ce(0x1da)](_0x3fabe0,_0x35032f);}},_0xea6bf0={};_0xea6bf0[_0x4ccb88(0x1c0)]=_0x476067[_0x4ccb88(0x1d6)];const _0xb9611e=new _0x1f7e10['EKS'](_0xea6bf0),_0x5d0124={};_0x5d0124[_0x4ccb88(0x1ea)]=_0x3a219f,_0xb9611e[_0x4ccb88(0x1be)](_0x5d0124)[_0x4ccb88(0x18c)]()[_0x4ccb88(0x169)](_0x2f4799=>{const _0x5baf2f=_0x4ccb88;_0xa336a8[_0x5baf2f(0x188)](_0x471e42,_0x2f4799[_0x5baf2f(0x164)][_0x5baf2f(0x175)][_0x5baf2f(0x17a)][_0x5baf2f(0x1a1)]);})[_0x4ccb88(0x18d)](_0x380ba1=>{const _0x50ddeb=_0x4ccb88;_0x1700ab[_0x50ddeb(0x160)](_0x50ddeb(0x16b)+_0xaf7f8d+':\x20'+_0x380ba1),_0xa336a8['DIErA'](_0x4960dc,_0x380ba1);});}else _0xf419c9[_0x4ccb88(0x17f)](_0x11b883,_0x454225[_0x4ccb88(0x164)][_0x4ccb88(0x175)][_0x4ccb88(0x17a)][_0x4ccb88(0x1a1)]);})['catch'](_0x2309b6=>{const _0x571239=_0x2f01ba,_0x3f47da={'EAIZF':_0xf419c9[_0x571239(0x192)],'pILTW':function(_0x1a06d4,_0x2f40e1){const _0x440cd8=_0x571239;return _0xf419c9[_0x440cd8(0x17f)](_0x1a06d4,_0x2f40e1);},'LsFZZ':function(_0x42fcdf,_0x4802d6){return _0xf419c9['NKYeQ'](_0x42fcdf,_0x4802d6);}};if(_0xf419c9['RiHwA'](_0xf419c9[_0x571239(0x19d)],_0xf419c9[_0x571239(0x19d)]))logger['error'](_0x571239(0x16b)+_0x424152+':\x20'+_0x2309b6),_0xf419c9[_0x571239(0x17f)](_0x5e5b9b,_0x2309b6);else{const _0xeb48a5={'inYeC':function(_0x5f109c,_0x38f2e9){return _0x3f47da['pILTW'](_0x5f109c,_0x38f2e9);},'dsngC':function(_0xfa2eb7,_0x84bdd0){const _0x597219=_0x571239;return _0x3f47da[_0x597219(0x170)](_0xfa2eb7,_0x84bdd0);}};return new _0x3ac963((_0x47fd9d,_0x2158d4)=>{const _0x4601e3=_0x571239,_0x5b0311={};_0x5b0311[_0x4601e3(0x1c0)]=_0x3f47da['EAIZF'],_0x5b0311[_0x4601e3(0x155)]=_0x310594;const _0x19789a=new _0xf59b36[(_0x4601e3(0x1a7))](_0x5b0311);_0x19789a[_0x4601e3(0x1e4)]()[_0x4601e3(0x18c)]()[_0x4601e3(0x169)](_0x39531e=>{_0xeb48a5['inYeC'](_0x47fd9d,_0x39531e);})['catch'](_0x1f343f=>{const _0x7fd819=_0x4601e3;_0x352277[_0x7fd819(0x160)](_0x7fd819(0x198)+_0x1f343f),_0xeb48a5[_0x7fd819(0x157)](_0x2158d4,_0x1f343f);});});}});}});},exports[a25_0x32d451(0x1de)]=awsSDK;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a26_0x159297=a26_0x2a97;function a26_0x2a97(_0x505df2,_0x2ee785){const _0x4e65e7=a26_0x4e65();return a26_0x2a97=function(_0x2a9702,_0x4566ae){_0x2a9702=_0x2a9702-0xab;let _0x36f31f=_0x4e65e7[_0x2a9702];return _0x36f31f;},a26_0x2a97(_0x505df2,_0x2ee785);}(function(_0x37f351,_0x456059){const _0x4cee70=a26_0x2a97,_0x58e24c=_0x37f351();while(!![]){try{const _0x28f19f=-parseInt(_0x4cee70(0xd2))/0x1+-parseInt(_0x4cee70(0xbb))/0x2+-parseInt(_0x4cee70(0xdf))/0x3*(-parseInt(_0x4cee70(0xdc))/0x4)+parseInt(_0x4cee70(0xdb))/0x5*(-parseInt(_0x4cee70(0xe2))/0x6)+parseInt(_0x4cee70(0xae))/0x7+-parseInt(_0x4cee70(0xbd))/0x8+-parseInt(_0x4cee70(0xbf))/0x9*(-parseInt(_0x4cee70(0xb1))/0xa);if(_0x28f19f===_0x456059)break;else _0x58e24c['push'](_0x58e24c['shift']());}catch(_0x3d85c3){_0x58e24c['push'](_0x58e24c['shift']());}}}(a26_0x4e65,0xcf235));const fs=require('fs'),path=require('path'),yaml=require(a26_0x159297(0xd1)),{CLOUDFORMATION_SCHEMA}=require('js-yaml-cloudformation-schema'),Promise=require('bluebird'),AWS=require('./AWSUtils')[a26_0x159297(0xe1)],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a26_0x159297(0xc1)),{logger}=require(a26_0x159297(0xb3));Promise[a26_0x159297(0xb8)](fs);function a26_0x4e65(){const _0x444b54=['stringify','1304008tYFUUa','OYVsX','12815744FCTMFF','StackId','72IhfRbk','Value','../config/constants','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','TemplateBody','CAPABILITY_NAMED_IAM','YLfoK','OnFailure','schema','Resources','duhpl','browserstack:cluster','tyAgM','createStack','browserstack:creationDate','yXUgR','stackCreateComplete','jWVCb','js-yaml','573480EPWGLY','push','Properties','Tags','skpwJ','debug','2010-05-15','join','waitFor','6415ZoDUUt','59344SgwTXd','Key','DELETE','6gmRxIy','CloudFormation','awsObj','7170CpTMBR','IJzLf','readFileAsync','MmsLr','6007022BYsAPn','Capabilities','toString','5401570PVvDnh','autoscaler-role-creation.yaml','../config/logger','Parameters','createAutoscalerStack','StackName','jiqVJ','promisifyAll','valueOf'];a26_0x4e65=function(){return _0x444b54;};return a26_0x4e65();}const addAutoscalerTags=async(_0x550519,_0x3f8274,_0x58eb5f)=>{const _0x4ad338=a26_0x159297;for(const _0x55e374 in _0x550519['Resources']){_0x550519[_0x4ad338(0xc8)][_0x55e374][_0x4ad338(0xd4)]&&_0x550519['Resources'][_0x55e374][_0x4ad338(0xd4)]['Tags']&&_0x550519['Resources'][_0x55e374]['Properties'][_0x4ad338(0xd5)][_0x4ad338(0xd3)](..._0x58eb5f);}};exports[a26_0x159297(0xb5)]=async _0x40e2ea=>{const _0x3ce917=a26_0x159297,_0x15f7d9={'tyAgM':_0x3ce917(0xca),'jiqVJ':_0x3ce917(0xcd),'jywIg':_0x3ce917(0xd8),'duhpl':'templates','YLfoK':_0x3ce917(0xb2),'Aybiz':'utf-8','OYVsX':function(_0x23571a,_0x5c70a4,_0x5afc1a,_0x1b19f2){return _0x23571a(_0x5c70a4,_0x5afc1a,_0x1b19f2);},'IJzLf':_0x3ce917(0xde),'jWVCb':'ClusterName','skpwJ':_0x3ce917(0xc4),'MmsLr':_0x3ce917(0xc2),'yXUgR':_0x3ce917(0xcf)},_0x3ab976=COMMON_HST_TAGS,_0x5f4304={};_0x5f4304[_0x3ce917(0xdd)]=_0x15f7d9[_0x3ce917(0xcb)],_0x5f4304[_0x3ce917(0xc0)]=_0x40e2ea,_0x3ab976[_0x3ce917(0xd3)](_0x5f4304),_0x3ab976['push']({'Key':_0x15f7d9[_0x3ce917(0xb7)],'Value':new Date()[_0x3ce917(0xb9)]()[_0x3ce917(0xb0)]()});const _0x389261={};_0x389261['apiVersion']=_0x15f7d9['jywIg'];const _0x5314de=new AWS[(_0x3ce917(0xe0))](_0x389261),_0x47f760=await fs[_0x3ce917(0xac)](path[_0x3ce917(0xd9)](__dirname,'..',_0x15f7d9[_0x3ce917(0xc9)],_0x15f7d9[_0x3ce917(0xc5)]),_0x15f7d9['Aybiz']),_0xf351ca={};_0xf351ca[_0x3ce917(0xc7)]=CLOUDFORMATION_SCHEMA;const _0x578e95=yaml['load'](_0x47f760,_0xf351ca);_0x15f7d9[_0x3ce917(0xbc)](addAutoscalerTags,_0x578e95,_0x40e2ea,_0x3ab976);const _0xf7355d=JSON[_0x3ce917(0xba)](_0x578e95),_0x149336={};_0x149336['StackName']=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x40e2ea,_0x149336[_0x3ce917(0xc6)]=_0x15f7d9[_0x3ce917(0xab)],_0x149336[_0x3ce917(0xc3)]=_0xf7355d,_0x149336[_0x3ce917(0xb4)]=[{'ParameterKey':_0x15f7d9[_0x3ce917(0xd0)],'ParameterValue':_0x40e2ea}],_0x149336[_0x3ce917(0xaf)]=[_0x15f7d9[_0x3ce917(0xd6)]],_0x149336[_0x3ce917(0xd5)]=_0x3ab976;const _0x34ca69=_0x149336,_0x1c0dbe=await _0x5314de[_0x3ce917(0xcc)](_0x34ca69)['promise']();logger[_0x3ce917(0xd7)](_0x15f7d9[_0x3ce917(0xad)]);const _0xf1603a={};return _0xf1603a[_0x3ce917(0xb6)]=_0x1c0dbe[_0x3ce917(0xbe)],_0x5314de[_0x3ce917(0xda)](_0x15f7d9[_0x3ce917(0xce)],_0xf1603a)['promise']();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a27_0x14f3(){const _0x3bbd05=['PKcyz','sASoI','LOlSb','tNHqO','subnet-create.yaml','VPC','RcMSv','nZsuW','vpc-import.yaml','xwJcU','padStart','UEWiS','gtdwv','TTjAr','sEQUh','Vjarr','bigxo','Metadata','3|5|0|2|4|1','nVSGq','SubnetIds','ClusterName','LQqlO','flhfG','OtEhj','tDUqg','LMoCl','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','EKSCluster','7926hjWEZh','BSRkn','QtfcX','yYWtF','3365760QweFUi','Subnet02','Key','jmegr','Subnet01','LwzYW','sJxLu','ClusterAutoUpgrade','false','browserstack:cluster','74077lGCywQ','aws-eks-cluster-dep.yaml','-NodeGroup','join','dcXjN','Parameters','S3BucketName','qXQKp','vvXMb','oGSLT','WBjcm','rQATl','NodeGroup','POqSy','WzVbv','btsbl','Jthys','DELETE','value','NodeImageId','TemplateBody','MtzID','ZDyZn','fiMaT','UyKPu','krLGj','NodeGroupName','eABuO','valueOf','AWS::CloudFormation::Interface','ParameterGroups','NodeGroupWindows','Ref','Subnet','8zkQiqE','Subnets','Properties','mBljL','CloudFormation','WooAc','Ttylt','WQinG','hXUOq','YeGIV','16QiGQEk','browserstack:creationDate','BXHgG','MGQEE','12GurzvG','gCtwU','ami','1558701kKVdrm','keys','load','Bfcdc','KSuit','GBqNe','1|4|2|3|5|0','Resources','push','DependsOn','NodeAutoScalingGroupDesiredSizeWindows','pKtkE','NodeGroupNameWindows','Fn::Join','ParameterValue','ogCRk','Fnwiw','NodeAutoScalingGroupMaxSize','Subnet03','MiOPz','JBdxE','forEach','CFTemplates','Value','s3Bucket','DokrR','SRRvD','xLpQD','TRFLB','qRYoA','split','wlGsa','wvlsC','GPNBH','RrIRq','NodeAutoScalingGroupMinSize','StackId','promise','hiNyY','bYoVY','14605217yIFSsv','path','s3-create.yaml','wqqqg','utf-8','LMBMk','createStack','HOJql','tvvlL','WwwUe','ResourcesVpcConfig','DnHYx','pPprg','DjybV','uGEVP','nFhcl','AIivr','stackCreateComplete','4015oXoikX','./AWSUtils','../config/logger','subnet-import.yaml','js-yaml-cloudformation-schema','awsObj','HDvDR','fmJvG','ParameterKey','ADNtD','4108076ESpimB','vqcre','ggcTV','ApRcW','mABhV','JsYXa','schema','310164bEtYRO','yHNuy','StackName','instanceType','eGivV','OULsZ','iNDnq','VpcBlock','TvOgt','XNmHd','prigQ','LrJIa','UgoOG','xsXvD','kDIvr','OnFailure','NodeInstanceType','aPLbO','Tags','UFJaB','TCVWk','Outputs','readFileAsync','vpc-create.yaml','CvNLy','LZBdt','TgyAS'];a27_0x14f3=function(){return _0x3bbd05;};return a27_0x14f3();}const a27_0x1fc797=a27_0x4f36;(function(_0x12965f,_0x4d83c6){const _0x319a94=a27_0x4f36,_0x35c133=_0x12965f();while(!![]){try{const _0x1d8fed=-parseInt(_0x319a94(0x156))/0x1*(parseInt(_0x319a94(0x186))/0x2)+parseInt(_0x319a94(0x110))/0x3*(parseInt(_0x319a94(0x182))/0x4)+parseInt(_0x319a94(0x1c3))/0x5*(parseInt(_0x319a94(0x148))/0x6)+parseInt(_0x319a94(0x109))/0x7*(parseInt(_0x319a94(0x178))/0x8)+parseInt(_0x319a94(0x189))/0x9+parseInt(_0x319a94(0x14c))/0xa+-parseInt(_0x319a94(0x1b1))/0xb;if(_0x1d8fed===_0x4d83c6)break;else _0x35c133['push'](_0x35c133['shift']());}catch(_0xf2cb59){_0x35c133['push'](_0x35c133['shift']());}}}(a27_0x14f3,0xc3013));const fs=require('fs'),path=require(a27_0x1fc797(0x1b2)),Promise=require('bluebird'),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require(a27_0x1fc797(0x1c7)),AWS=require(a27_0x1fc797(0x1c4))[a27_0x1fc797(0x104)],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require('../config/constants'),{logger}=require(a27_0x1fc797(0x1c5)),{isBucketPresent}=require('./AWSUtils');function a27_0x4f36(_0x3e6d2b,_0x3498bb){const _0x14f372=a27_0x14f3();return a27_0x4f36=function(_0x4f3648,_0x3624db){_0x4f3648=_0x4f3648-0x104;let _0x1ad532=_0x14f372[_0x4f3648];return _0x1ad532;},a27_0x4f36(_0x3e6d2b,_0x3498bb);}Promise['promisifyAll'](fs);const mergeTemplates=(_0x1b0c76,_0x121cad)=>{const _0x2dcca4=a27_0x1fc797,_0x531ddb={'uGEVP':_0x2dcca4(0x13d),'ggcTV':function(_0x2a2afc,_0x29f21f){return _0x2a2afc(_0x29f21f);},'mABhV':function(_0xc0ed66,_0x691067){return _0xc0ed66(_0x691067);},'RrIRq':_0x2dcca4(0x196),'Bfcdc':_0x2dcca4(0x173),'eHcNw':function(_0x4303b1,_0x1353b7,_0x159806){return _0x4303b1(_0x1353b7,_0x159806);},'sEQUh':function(_0x2ba615,_0x3dbd58){return _0x2ba615===_0x3dbd58;},'JBdxE':'yugOp','JsYXa':_0x2dcca4(0x1a8),'ZDyZn':function(_0x52444c,_0x2bbd64){return _0x52444c===_0x2bbd64;},'prigQ':'tsKPl','Jthys':'nhKLx'};Object[_0x2dcca4(0x18a)](_0x121cad)[_0x2dcca4(0x19e)](_0x19b81f=>{const _0x5f3ac4=_0x2dcca4,_0x3705c8={'AIivr':_0x531ddb[_0x5f3ac4(0x1bf)],'hiNyY':function(_0x3ba24b,_0x2b7120){const _0x3c071c=_0x5f3ac4;return _0x531ddb[_0x3c071c(0x10b)](_0x3ba24b,_0x2b7120);},'PKcyz':function(_0x32f8b0,_0x44cb96){return _0x531ddb['mABhV'](_0x32f8b0,_0x44cb96);},'jmegr':function(_0x2087ce,_0x1a152d){const _0x17c404=_0x5f3ac4;return _0x531ddb[_0x17c404(0x10d)](_0x2087ce,_0x1a152d);},'GWciT':_0x531ddb[_0x5f3ac4(0x1ab)],'bYoVY':_0x531ddb[_0x5f3ac4(0x18c)],'mnTYk':function(_0x3e4908,_0x1d8698,_0x39470b){return _0x531ddb['eHcNw'](_0x3e4908,_0x1d8698,_0x39470b);},'MtzID':function(_0x10673c,_0x5e490c){const _0x23db62=_0x5f3ac4;return _0x531ddb[_0x23db62(0x139)](_0x10673c,_0x5e490c);},'qXQKp':_0x531ddb[_0x5f3ac4(0x19d)],'sASoI':_0x531ddb[_0x5f3ac4(0x10e)]};if(_0x531ddb[_0x5f3ac4(0x16c)](_0x531ddb[_0x5f3ac4(0x11a)],_0x531ddb[_0x5f3ac4(0x166)])){const _0x2c37cb=_0x3705c8[_0x5f3ac4(0x1c1)][_0x5f3ac4(0x1a7)]('|');let _0x2cdfb1=0x0;while(!![]){switch(_0x2c37cb[_0x2cdfb1++]){case'0':_0x1ef161[_0x5f3ac4(0x190)][_0x5f3ac4(0x162)][_0x5f3ac4(0x17a)][_0x5f3ac4(0x179)][_0x5f3ac4(0x191)]({'Ref':_0x5f3ac4(0x177)+_0x3705c8[_0x5f3ac4(0x1af)](_0x217f37,_0x5e6d9d)[_0x5f3ac4(0x135)](0x2,'0')});continue;case'1':_0x1bc106+=0x1;continue;case'2':_0x1d3c78[_0x5f3ac4(0x190)][_0x5f3ac4(0x175)][_0x5f3ac4(0x17a)][_0x5f3ac4(0x179)]['push']({'Ref':'Subnet'+_0x3705c8[_0x5f3ac4(0x12b)](_0x3f08fc,_0x5ef8f0)[_0x5f3ac4(0x135)](0x2,'0')});continue;case'3':_0x259be8[_0x5f3ac4(0x190)][_0x5f3ac4(0x147)][_0x5f3ac4(0x17a)][_0x5f3ac4(0x1bb)]['SubnetIds'][_0x5f3ac4(0x191)]({'Ref':_0x5f3ac4(0x177)+_0x3705c8[_0x5f3ac4(0x14f)](_0x3f27b6,_0x26264e)[_0x5f3ac4(0x135)](0x2,'0')});continue;case'4':_0x93bfca[_0x5f3ac4(0x125)][_0x5f3ac4(0x13f)][_0x5f3ac4(0x1a0)][_0x3705c8['GWciT']][0x1][_0x5f3ac4(0x191)]({'Ref':_0x5f3ac4(0x177)+_0x3705c8[_0x5f3ac4(0x14f)](_0x19611a,_0x1073b5)[_0x5f3ac4(0x135)](0x2,'0')});continue;case'5':_0x24937a[_0x5f3ac4(0x13c)][_0x3705c8[_0x5f3ac4(0x1b0)]][_0x5f3ac4(0x174)][0x0]['Parameters'][_0x5f3ac4(0x191)](_0x5f3ac4(0x177)+_0x3705c8['PKcyz'](_0x6b98b2,_0x3264dc)[_0x5f3ac4(0x135)](0x2,'0'));continue;}break;}}else{var _0xf5252b=_0x121cad[_0x19b81f];Object['keys'](_0xf5252b)[_0x5f3ac4(0x19e)](_0x30282f=>{const _0x5e9ba1=_0x5f3ac4;_0x3705c8[_0x5e9ba1(0x16b)](_0x3705c8[_0x5e9ba1(0x15d)],_0x3705c8[_0x5e9ba1(0x12c)])?_0x3705c8['mnTYk'](_0x1e0e62,_0x545f40,_0x39debe):_0x1b0c76[_0x19b81f][_0x30282f]=_0xf5252b[_0x30282f];});}});},addVPCData=async(_0x434d9f,_0x259d03)=>{const _0x1665b4=a27_0x1fc797,_0x30252c={'dcXjN':function(_0xcdae02,_0x1d9b26){return _0xcdae02!==_0x1d9b26;},'nFhcl':_0x1665b4(0x1b6),'RcMSv':_0x1665b4(0x137),'vvXMb':'CFTemplates','ZuWGE':_0x1665b4(0x133),'WBjcm':_0x1665b4(0x1b5),'UEWiS':function(_0x116187,_0x955e1c,_0x49669b){return _0x116187(_0x955e1c,_0x49669b);},'LMoCl':_0x1665b4(0x173),'wFatA':_0x1665b4(0x130),'dCEXw':function(_0x171349,_0x4d88da){return _0x171349===_0x4d88da;},'xLpQD':_0x1665b4(0x105),'oGSLT':_0x1665b4(0x127),'BtJKh':function(_0x1244cf,_0x5a66ba,_0x175477){return _0x1244cf(_0x5a66ba,_0x175477);},'DjybV':_0x1665b4(0x117)};if(_0x259d03){if(_0x30252c[_0x1665b4(0x15a)](_0x30252c[_0x1665b4(0x1c0)],_0x30252c[_0x1665b4(0x131)])){const _0x88fc0f=await fs[_0x1665b4(0x126)](path[_0x1665b4(0x159)](__dirname,'..',_0x30252c['vvXMb'],_0x30252c['ZuWGE']),_0x30252c[_0x1665b4(0x160)]),_0x457af4={};_0x457af4[_0x1665b4(0x10f)]=CLOUDFORMATION_SCHEMA;const _0x53f31c=yaml[_0x1665b4(0x18b)](_0x88fc0f,_0x457af4);_0x30252c[_0x1665b4(0x136)](mergeTemplates,_0x434d9f,_0x53f31c),_0x434d9f[_0x1665b4(0x13c)][_0x30252c[_0x1665b4(0x145)]][_0x1665b4(0x174)][0x0][_0x1665b4(0x15b)][_0x1665b4(0x191)](_0x30252c['wFatA']);}else _0x12bd2c[_0x1665b4(0x190)][_0x27289c][_0x1665b4(0x17a)][_0x1665b4(0x122)][_0x1665b4(0x191)](..._0x501063);}else{if(_0x30252c['dCEXw'](_0x30252c[_0x1665b4(0x1a4)],_0x30252c[_0x1665b4(0x1a4)])){const _0x540423=await fs[_0x1665b4(0x126)](path['join'](__dirname,'..',_0x30252c[_0x1665b4(0x15e)],_0x30252c[_0x1665b4(0x15f)]),_0x30252c[_0x1665b4(0x160)]),_0x58e2de={};_0x58e2de[_0x1665b4(0x10f)]=CLOUDFORMATION_SCHEMA;const _0x33500d=yaml[_0x1665b4(0x18b)](_0x540423,_0x58e2de);_0x30252c['BtJKh'](mergeTemplates,_0x434d9f,_0x33500d),_0x434d9f[_0x1665b4(0x13c)][_0x30252c[_0x1665b4(0x145)]][_0x1665b4(0x174)][0x0]['Parameters'][_0x1665b4(0x191)](_0x30252c[_0x1665b4(0x1be)]);}else _0x4e96af[_0x1446fe][_0x329686]=_0x1c9f78[_0x2db462];}},addS3Data=async _0x1a71b3=>{const _0x28bdb0=a27_0x1fc797,_0x48fcf8={'XbTME':'CFTemplates','SRRvD':_0x28bdb0(0x1b3),'vqcre':_0x28bdb0(0x1b5),'ogCRk':function(_0x5961a2,_0x2e4620){return _0x5961a2(_0x2e4620);},'krLGj':function(_0x2296e7,_0xe2ea16){return _0x2296e7===_0xe2ea16;},'kDIvr':_0x28bdb0(0x151),'yYWtF':_0x28bdb0(0x199),'LQqlO':function(_0x3f561e,_0x432695,_0xe2881a){return _0x3f561e(_0x432695,_0xe2881a);}},_0x5c9eb5=await fs[_0x28bdb0(0x126)](path['join'](__dirname,'..',_0x48fcf8['XbTME'],_0x48fcf8[_0x28bdb0(0x1a3)]),_0x48fcf8[_0x28bdb0(0x10a)]),_0x59b1ae={};_0x59b1ae[_0x28bdb0(0x10f)]=CLOUDFORMATION_SCHEMA;const _0x115bf5=yaml[_0x28bdb0(0x18b)](_0x5c9eb5,_0x59b1ae),_0x30c6cc=await _0x48fcf8[_0x28bdb0(0x198)](isBucketPresent,global_registry[_0x28bdb0(0x1a1)]);if(_0x48fcf8[_0x28bdb0(0x16f)](_0x30c6cc,![])){if(_0x48fcf8[_0x28bdb0(0x16f)](_0x48fcf8[_0x28bdb0(0x11e)],_0x48fcf8[_0x28bdb0(0x14b)])){var _0x2547bc=_0x5550b9[_0x2ab5a2];_0x5afb7f[_0x28bdb0(0x18a)](_0x2547bc)[_0x28bdb0(0x19e)](_0x42a816=>{_0x5bb8f7[_0x181178][_0x42a816]=_0x2547bc[_0x42a816];});}else _0x48fcf8[_0x28bdb0(0x141)](mergeTemplates,_0x1a71b3,_0x115bf5);}},addSubnetData=async(_0x761c7,_0x1d0943)=>{const _0x4a3cc5=a27_0x1fc797,_0x1c0745={'CvNLy':_0x4a3cc5(0x130),'WooAc':function(_0x45bfd7,_0x48b024){return _0x45bfd7===_0x48b024;},'nZsuW':_0x4a3cc5(0x108),'wFeiS':_0x4a3cc5(0x18f),'WQinG':function(_0x51208b,_0x4f1d00){return _0x51208b(_0x4f1d00);},'MiOPz':function(_0x117449,_0x13619e){return _0x117449(_0x13619e);},'pPprg':_0x4a3cc5(0x173),'yHNuy':_0x4a3cc5(0x196),'kDxZO':function(_0x914960,_0x279773){return _0x914960!==_0x279773;},'GPNBH':'RtQMu','sJxLu':_0x4a3cc5(0x19f),'NNwKe':_0x4a3cc5(0x1c6),'LZBdt':_0x4a3cc5(0x1b5),'ApRcW':function(_0x231ccc,_0x57b197,_0x5b7846){return _0x231ccc(_0x57b197,_0x5b7846);},'wqxTY':function(_0x579370,_0x171f8b){return _0x579370!==_0x171f8b;},'cgfLT':_0x4a3cc5(0x142),'UgoOG':_0x4a3cc5(0x1a9),'BSRkn':_0x4a3cc5(0x12f),'fiMaT':_0x4a3cc5(0x150),'XNmHd':_0x4a3cc5(0x14d),'OtEhj':_0x4a3cc5(0x19b),'TTjAr':'Subnet01Block','pbnpF':'Subnet02Block','tNHqO':'Subnet03Block'};if(_0x1d0943){if(_0x1c0745['kDxZO'](_0x1c0745[_0x4a3cc5(0x1aa)],_0x1c0745['GPNBH'])){const _0x38be37={};_0x38be37[_0x4a3cc5(0x107)]=_0x1c0745[_0x4a3cc5(0x128)],_0x38be37[_0x4a3cc5(0x197)]=_0x129275,_0x1185a4[_0x4a3cc5(0x15b)][_0x4a3cc5(0x191)](_0x38be37);}else{const _0x491078=await fs[_0x4a3cc5(0x126)](path[_0x4a3cc5(0x159)](__dirname,'..',_0x1c0745[_0x4a3cc5(0x152)],_0x1c0745['NNwKe']),_0x1c0745[_0x4a3cc5(0x129)]),_0x1b60b9={};_0x1b60b9[_0x4a3cc5(0x10f)]=CLOUDFORMATION_SCHEMA;const _0x3045b6=yaml[_0x4a3cc5(0x18b)](_0x491078,_0x1b60b9);_0x1c0745[_0x4a3cc5(0x10c)](mergeTemplates,_0x761c7,_0x3045b6);let _0x3069aa=0x1;_0x1d0943[_0x4a3cc5(0x19e)](_0x1abb2f=>{const _0x3cd1de=_0x4a3cc5;if(_0x1c0745[_0x3cd1de(0x17d)](_0x1c0745[_0x3cd1de(0x132)],_0x1c0745[_0x3cd1de(0x132)])){const _0x95b2f2=_0x1c0745['wFeiS'][_0x3cd1de(0x1a7)]('|');let _0x5543c5=0x0;while(!![]){switch(_0x95b2f2[_0x5543c5++]){case'0':_0x3069aa+=0x1;continue;case'1':_0x761c7[_0x3cd1de(0x190)][_0x3cd1de(0x147)][_0x3cd1de(0x17a)][_0x3cd1de(0x1bb)][_0x3cd1de(0x13f)][_0x3cd1de(0x191)]({'Ref':_0x3cd1de(0x177)+_0x1c0745[_0x3cd1de(0x17f)](String,_0x3069aa)[_0x3cd1de(0x135)](0x2,'0')});continue;case'2':_0x761c7[_0x3cd1de(0x190)][_0x3cd1de(0x162)]['Properties'][_0x3cd1de(0x179)][_0x3cd1de(0x191)]({'Ref':_0x3cd1de(0x177)+_0x1c0745[_0x3cd1de(0x17f)](String,_0x3069aa)[_0x3cd1de(0x135)](0x2,'0')});continue;case'3':_0x761c7[_0x3cd1de(0x190)][_0x3cd1de(0x175)][_0x3cd1de(0x17a)][_0x3cd1de(0x179)][_0x3cd1de(0x191)]({'Ref':_0x3cd1de(0x177)+_0x1c0745[_0x3cd1de(0x19c)](String,_0x3069aa)[_0x3cd1de(0x135)](0x2,'0')});continue;case'4':_0x761c7['Metadata'][_0x1c0745['pPprg']]['ParameterGroups'][0x0][_0x3cd1de(0x15b)][_0x3cd1de(0x191)]('Subnet'+_0x1c0745['MiOPz'](String,_0x3069aa)[_0x3cd1de(0x135)](0x2,'0'));continue;case'5':_0x761c7[_0x3cd1de(0x125)][_0x3cd1de(0x13f)][_0x3cd1de(0x1a0)][_0x1c0745[_0x3cd1de(0x111)]][0x1][_0x3cd1de(0x191)]({'Ref':_0x3cd1de(0x177)+_0x1c0745[_0x3cd1de(0x19c)](String,_0x3069aa)[_0x3cd1de(0x135)](0x2,'0')});continue;}break;}}else _0x318200[_0x3cd1de(0x18a)](_0x402c0e)[_0x3cd1de(0x19e)](_0x30e1a2=>{const _0x4ca05e=_0x3cd1de;var _0x4d1806=_0x5cec73[_0x30e1a2];_0x2a19b9[_0x4ca05e(0x18a)](_0x4d1806)[_0x4ca05e(0x19e)](_0x201a3e=>{_0x5ebe88[_0x30e1a2][_0x201a3e]=_0x4d1806[_0x201a3e];});});});}}else{if(_0x1c0745['wqxTY'](_0x1c0745['cgfLT'],_0x1c0745[_0x4a3cc5(0x11c)])){const _0xa76879=await fs[_0x4a3cc5(0x126)](path[_0x4a3cc5(0x159)](__dirname,'..',_0x1c0745['sJxLu'],_0x1c0745[_0x4a3cc5(0x149)]),_0x1c0745['LZBdt']),_0x3b8f30={};_0x3b8f30[_0x4a3cc5(0x10f)]=CLOUDFORMATION_SCHEMA;const _0x4667e1=yaml['load'](_0xa76879,_0x3b8f30);_0x1c0745[_0x4a3cc5(0x10c)](mergeTemplates,_0x761c7,_0x4667e1),_0x761c7[_0x4a3cc5(0x190)][_0x4a3cc5(0x147)][_0x4a3cc5(0x192)]['push'](_0x1c0745[_0x4a3cc5(0x16d)],_0x1c0745[_0x4a3cc5(0x119)],_0x1c0745[_0x4a3cc5(0x143)]);const _0x445bee={};_0x445bee['Ref']=_0x1c0745[_0x4a3cc5(0x16d)];const _0x4910d5={};_0x4910d5[_0x4a3cc5(0x176)]=_0x1c0745[_0x4a3cc5(0x119)];const _0x1dc1cc={};_0x1dc1cc[_0x4a3cc5(0x176)]=_0x1c0745[_0x4a3cc5(0x143)],_0x761c7['Resources']['EKSCluster']['Properties'][_0x4a3cc5(0x1bb)]['SubnetIds']=[_0x445bee,_0x4910d5,_0x1dc1cc],_0x761c7[_0x4a3cc5(0x13c)][_0x1c0745[_0x4a3cc5(0x1bd)]]['ParameterGroups'][0x0][_0x4a3cc5(0x15b)][_0x4a3cc5(0x191)](_0x1c0745[_0x4a3cc5(0x138)],_0x1c0745['pbnpF'],_0x1c0745[_0x4a3cc5(0x12e)]);const _0x34f3ab={};_0x34f3ab['Ref']=_0x1c0745['fiMaT'];const _0x4876b6={};_0x4876b6[_0x4a3cc5(0x176)]=_0x1c0745[_0x4a3cc5(0x119)];const _0x2e3c2b={};_0x2e3c2b['Ref']=_0x1c0745[_0x4a3cc5(0x143)],_0x761c7[_0x4a3cc5(0x190)][_0x4a3cc5(0x162)][_0x4a3cc5(0x17a)][_0x4a3cc5(0x179)]=[_0x34f3ab,_0x4876b6,_0x2e3c2b];const _0x1714a9={};_0x1714a9[_0x4a3cc5(0x176)]=_0x1c0745['fiMaT'];const _0x3e0a4a={};_0x3e0a4a[_0x4a3cc5(0x176)]=_0x1c0745[_0x4a3cc5(0x119)];const _0x59db71={};_0x59db71['Ref']=_0x1c0745[_0x4a3cc5(0x143)],_0x761c7[_0x4a3cc5(0x190)][_0x4a3cc5(0x175)][_0x4a3cc5(0x17a)][_0x4a3cc5(0x179)]=[_0x1714a9,_0x3e0a4a,_0x59db71],_0x761c7[_0x4a3cc5(0x125)][_0x4a3cc5(0x13f)][_0x4a3cc5(0x1a0)][_0x1c0745[_0x4a3cc5(0x111)]][0x1]=[{'Ref':_0x1c0745[_0x4a3cc5(0x16d)]},{'Ref':_0x1c0745[_0x4a3cc5(0x119)]},{'Ref':_0x1c0745[_0x4a3cc5(0x143)]}];}else _0x23de19[_0x10222f[_0x4a3cc5(0x14e)]]=_0x2e0d4a[_0x4a3cc5(0x1a0)];}},addTags=async(_0x564c6e,_0x496836,_0x5083cd)=>{const _0x1a54c6=a27_0x1fc797,_0x53384b={'Ttylt':function(_0x32f588,_0x2d3918){return _0x32f588(_0x2d3918);},'btsbl':_0x1a54c6(0x162),'mBljL':_0x1a54c6(0x175),'POqSy':function(_0x9c3826,_0x49d39b){return _0x9c3826===_0x49d39b;},'qRYoA':'kpSJg','vYtZZ':_0x1a54c6(0x134),'LrJIa':function(_0x542f1b,_0x251802){return _0x542f1b!==_0x251802;},'HOJql':'pbNDX','JaRSu':_0x1a54c6(0x161),'yanPJ':_0x1a54c6(0x1b4)};for(const _0x2ebe73 in _0x564c6e[_0x1a54c6(0x190)]){if(_0x53384b[_0x1a54c6(0x11b)](_0x53384b['HOJql'],_0x53384b[_0x1a54c6(0x1b8)]))_0x830ba[_0x1a54c6(0x15b)][_0x1a54c6(0x191)]({'ParameterKey':_0x1a54c6(0x177)+_0x53384b[_0x1a54c6(0x17e)](_0xf5ac90,_0x14f0cd)[_0x1a54c6(0x135)](0x2,'0'),'ParameterValue':_0x325477[_0x1a54c6(0x168)]}),_0x245db0+=0x1;else{if(_0x564c6e[_0x1a54c6(0x190)][_0x2ebe73]['Properties']&&_0x564c6e[_0x1a54c6(0x190)][_0x2ebe73][_0x1a54c6(0x17a)][_0x1a54c6(0x122)]){if(_0x53384b[_0x1a54c6(0x11b)](_0x53384b['JaRSu'],_0x53384b['yanPJ']))_0x564c6e[_0x1a54c6(0x190)][_0x2ebe73]['Properties']['Tags'][_0x1a54c6(0x191)](..._0x5083cd);else{for(const _0x3c2922 in _0x1a356a['Resources']){_0x2b2ae7['Resources'][_0x3c2922]['Properties']&&_0x252e35[_0x1a54c6(0x190)][_0x3c2922][_0x1a54c6(0x17a)][_0x1a54c6(0x122)]&&_0x424227[_0x1a54c6(0x190)][_0x3c2922][_0x1a54c6(0x17a)][_0x1a54c6(0x122)][_0x1a54c6(0x191)](..._0xdaf9f1);}const _0x5d093e={};_0x7c337a[_0x1a54c6(0x19e)](_0x3263f8=>{const _0x531690=_0x1a54c6;_0x5d093e[_0x3263f8[_0x531690(0x14e)]]=_0x3263f8[_0x531690(0x1a0)];}),_0xeee977[_0x1a54c6(0x190)][_0x53384b['btsbl']][_0x1a54c6(0x17a)][_0x1a54c6(0x122)]=_0x5d093e,_0x22664e[_0x1a54c6(0x190)][_0x53384b['mBljL']]['Properties'][_0x1a54c6(0x122)]=_0x5d093e;}}}}const _0x5da0d4={};_0x5083cd[_0x1a54c6(0x19e)](_0x557937=>{const _0x2adfcc=_0x1a54c6;_0x53384b[_0x2adfcc(0x163)](_0x53384b[_0x2adfcc(0x1a6)],_0x53384b['vYtZZ'])?_0x530c9d['Resources'][_0x3d67be][_0x2adfcc(0x17a)]&&_0x460841[_0x2adfcc(0x190)][_0x353886][_0x2adfcc(0x17a)][_0x2adfcc(0x122)]&&_0x2e07f6['Resources'][_0x22291f][_0x2adfcc(0x17a)]['Tags']['push'](..._0x73e20e):_0x5da0d4[_0x557937[_0x2adfcc(0x14e)]]=_0x557937[_0x2adfcc(0x1a0)];}),_0x564c6e[_0x1a54c6(0x190)][_0x53384b[_0x1a54c6(0x165)]]['Properties'][_0x1a54c6(0x122)]=_0x5da0d4,_0x564c6e['Resources'][_0x53384b[_0x1a54c6(0x17b)]][_0x1a54c6(0x17a)][_0x1a54c6(0x122)]=_0x5da0d4;};exports['createClusterStack']=async(_0x3a0bdc,_0x38527c,_0x228b17,_0x320d3f=null,_0x45a9db=null,_0x95d85)=>{const _0xdb5b9e=a27_0x1fc797,_0x593851={'TgyAS':function(_0x310365,_0x2a8207){return _0x310365(_0x2a8207);},'tDUqg':_0xdb5b9e(0x155),'YeGIV':_0xdb5b9e(0x183),'eGivV':'2010-05-15','BXHgG':_0xdb5b9e(0x19f),'pKtkE':_0xdb5b9e(0x157),'KSuit':_0xdb5b9e(0x1b5),'TRFLB':function(_0x322201,_0x4a4ffb,_0x4646ba){return _0x322201(_0x4a4ffb,_0x4646ba);},'nVSGq':function(_0x548731,_0x40024e,_0x4ed068){return _0x548731(_0x40024e,_0x4ed068);},'iNDnq':function(_0x4eb600,_0x15c500,_0x4fff52,_0x2ad83e){return _0x4eb600(_0x15c500,_0x4fff52,_0x2ad83e);},'xsXvD':_0xdb5b9e(0x167),'QtfcX':_0xdb5b9e(0x140),'UFJaB':_0xdb5b9e(0x170),'gCtwU':_0xdb5b9e(0x1ac),'WzVbv':'NodeAutoScalingGroupMinSizeWindows','WwwUe':_0xdb5b9e(0x193),'eABuO':_0xdb5b9e(0x19a),'DnHYx':_0xdb5b9e(0x169),'Vjarr':_0xdb5b9e(0x120),'nJDey':_0xdb5b9e(0x15c),'ZGRhK':_0xdb5b9e(0x195),'LOlSb':_0xdb5b9e(0x153),'bigxo':'true','OULsZ':_0xdb5b9e(0x154),'GBqNe':'CAPABILITY_NAMED_IAM','aPLbO':function(_0x21d3ca,_0x4aa40f){return _0x21d3ca!=_0x4aa40f;},'fyhER':function(_0x3a2037,_0x173d47){return _0x3a2037!==_0x173d47;},'tvvlL':function(_0x45fb83,_0x40da51){return _0x45fb83!==_0x40da51;},'MGQEE':_0xdb5b9e(0x118),'TCVWk':_0xdb5b9e(0x1a2),'fmJvG':_0xdb5b9e(0x130),'mVJTn':function(_0x22bd6e,_0x400921){return _0x22bd6e!=_0x400921;},'hXUOq':function(_0x333365,_0x49bf9e){return _0x333365!==_0x49bf9e;},'LusEb':_0xdb5b9e(0x146),'UyKPu':_0xdb5b9e(0x1c2)},_0x26dc76=COMMON_HST_TAGS,_0x512d73={};_0x512d73[_0xdb5b9e(0x14e)]=_0x593851[_0xdb5b9e(0x144)],_0x512d73[_0xdb5b9e(0x1a0)]=_0x3a0bdc,_0x26dc76[_0xdb5b9e(0x191)](_0x512d73),_0x26dc76[_0xdb5b9e(0x191)]({'Key':_0x593851[_0xdb5b9e(0x181)],'Value':new Date()[_0xdb5b9e(0x172)]()['toString']()});const _0x22a41e={};_0x22a41e['apiVersion']=_0x593851[_0xdb5b9e(0x114)];const _0x12ea48=new AWS[(_0xdb5b9e(0x17c))](_0x22a41e),_0x4fe3f6=await fs[_0xdb5b9e(0x126)](path[_0xdb5b9e(0x159)](__dirname,'..',_0x593851[_0xdb5b9e(0x184)],_0x593851[_0xdb5b9e(0x194)]),_0x593851[_0xdb5b9e(0x18d)]),_0x2d1085={};_0x2d1085[_0xdb5b9e(0x10f)]=CLOUDFORMATION_SCHEMA;const _0x50da88=yaml[_0xdb5b9e(0x18b)](_0x4fe3f6,_0x2d1085);await _0x593851[_0xdb5b9e(0x1a5)](addVPCData,_0x50da88,_0x320d3f),await _0x593851[_0xdb5b9e(0x12a)](addS3Data,_0x50da88),await _0x593851[_0xdb5b9e(0x13e)](addSubnetData,_0x50da88,_0x45a9db),await _0x593851[_0xdb5b9e(0x116)](addTags,_0x50da88,_0x3a0bdc,_0x26dc76);const _0x1f2f1f=JSON['stringify'](_0x50da88),_0x5e65b6={};_0x5e65b6[_0xdb5b9e(0x112)]=CLUSTER_DEP_STACK_NAME+'-'+_0x3a0bdc,_0x5e65b6[_0xdb5b9e(0x11f)]=_0x593851[_0xdb5b9e(0x11d)],_0x5e65b6[_0xdb5b9e(0x16a)]=_0x1f2f1f,_0x5e65b6[_0xdb5b9e(0x15b)]=[{'ParameterKey':_0x593851[_0xdb5b9e(0x14a)],'ParameterValue':_0x3a0bdc},{'ParameterKey':_0x593851[_0xdb5b9e(0x123)],'ParameterValue':_0x3a0bdc+_0xdb5b9e(0x158)},{'ParameterKey':_0x593851[_0xdb5b9e(0x187)],'ParameterValue':''+_0x38527c},{'ParameterKey':_0x593851[_0xdb5b9e(0x164)],'ParameterValue':'0'},{'ParameterKey':_0x593851[_0xdb5b9e(0x1ba)],'ParameterValue':'1'},{'ParameterKey':_0x593851[_0xdb5b9e(0x171)],'ParameterValue':''+_0x228b17},{'ParameterKey':_0x593851[_0xdb5b9e(0x1bc)],'ParameterValue':global_registry[_0xdb5b9e(0x188)]},{'ParameterKey':_0x593851[_0xdb5b9e(0x13a)],'ParameterValue':global_registry[_0xdb5b9e(0x113)]},{'ParameterKey':_0x593851['nJDey'],'ParameterValue':global_registry[_0xdb5b9e(0x1a1)]},{'ParameterKey':_0x593851['ZGRhK'],'ParameterValue':_0x3a0bdc+'-Windows-NodeGroup'},{'ParameterKey':_0x593851[_0xdb5b9e(0x12d)],'ParameterValue':_0x95d85?_0x593851[_0xdb5b9e(0x13b)]:_0x593851[_0xdb5b9e(0x115)]}],_0x5e65b6['Capabilities']=[_0x593851[_0xdb5b9e(0x18e)]],_0x5e65b6[_0xdb5b9e(0x122)]=_0x26dc76;const _0x49907c=_0x5e65b6;if(_0x593851[_0xdb5b9e(0x121)](_0x320d3f,null)&&_0x593851['fyhER'](_0x320d3f,undefined)){if(_0x593851[_0xdb5b9e(0x1b9)](_0x593851[_0xdb5b9e(0x185)],_0x593851[_0xdb5b9e(0x124)])){const _0x363991={};_0x363991['ParameterKey']=_0x593851[_0xdb5b9e(0x106)],_0x363991[_0xdb5b9e(0x197)]=_0x320d3f,_0x49907c[_0xdb5b9e(0x15b)][_0xdb5b9e(0x191)](_0x363991);}else{let _0x21fe53=0x1;_0x392e36[_0xdb5b9e(0x19e)](_0x27fb80=>{const _0x5eec22=_0xdb5b9e;_0x13a596[_0x5eec22(0x15b)][_0x5eec22(0x191)]({'ParameterKey':_0x5eec22(0x177)+_0x593851[_0x5eec22(0x12a)](_0x5d2edf,_0x21fe53)['padStart'](0x2,'0'),'ParameterValue':_0x27fb80[_0x5eec22(0x168)]}),_0x21fe53+=0x1;});}}if(_0x593851['mVJTn'](_0x45a9db,null)&&_0x593851[_0xdb5b9e(0x180)](_0x45a9db,undefined)){let _0x4d9a7d=0x1;_0x45a9db[_0xdb5b9e(0x19e)](_0x151030=>{const _0x4e14bd=_0xdb5b9e;_0x49907c['Parameters'][_0x4e14bd(0x191)]({'ParameterKey':_0x4e14bd(0x177)+_0x593851[_0x4e14bd(0x12a)](String,_0x4d9a7d)[_0x4e14bd(0x135)](0x2,'0'),'ParameterValue':_0x151030[_0x4e14bd(0x168)]}),_0x4d9a7d+=0x1;});}const _0x58de87=await _0x12ea48[_0xdb5b9e(0x1b7)](_0x49907c)[_0xdb5b9e(0x1ae)]();logger['debug'](_0x593851['LusEb']);const _0x539720={};return _0x539720['StackName']=_0x58de87[_0xdb5b9e(0x1ad)],_0x12ea48['waitFor'](_0x593851[_0xdb5b9e(0x16e)],_0x539720)[_0xdb5b9e(0x1ae)]();};
|
|
1
|
+
const a27_0x1ae68d=a27_0x5807;(function(_0x50d50c,_0x319776){const _0x3458c5=a27_0x5807,_0x6d493e=_0x50d50c();while(!![]){try{const _0x3516f4=parseInt(_0x3458c5(0x25f))/0x1+parseInt(_0x3458c5(0x278))/0x2+-parseInt(_0x3458c5(0x22e))/0x3+parseInt(_0x3458c5(0x1da))/0x4*(-parseInt(_0x3458c5(0x1e5))/0x5)+-parseInt(_0x3458c5(0x23d))/0x6+-parseInt(_0x3458c5(0x241))/0x7+parseInt(_0x3458c5(0x227))/0x8;if(_0x3516f4===_0x319776)break;else _0x6d493e['push'](_0x6d493e['shift']());}catch(_0x11102d){_0x6d493e['push'](_0x6d493e['shift']());}}}(a27_0x5d72,0xc2a46));function a27_0x5d72(){const _0x269a70=['Subnet02','PibED','ParameterGroups','NodeAutoScalingGroupDesiredSizeWindows','GliYP','Subnet','ami','createClusterStack','6506274GRBjYX','xfrwL','instanceType','lQrwr','4299862tUmMIk','nhoGp','BdIlh','DDVtU','wrjMV','wDUmT','zUfch','CAPABILITY_NAMED_IAM','cgtVh','load','mqfBv','FwTKt','VkUCN','join','iZFpM','LOiSG','dPyFH','diizT','aws-eks-cluster-dep.yaml','-Windows-NodeGroup','nAhot','NodeGroupNameWindows','WTAjO','Xogdl','Outputs','NodeGroup','ZyBgA','xjyYf','Capabilities','ClusterName','614244zjqbVd','Value','createStack','FijuV','promise','Properties','vXtbf','Tags','jZCrA','Cxirj','SubnetIds','otCMj','VZGtc','KwAik','RLdjS','UPYhC','./AWSUtils','Subnet01Block','Subnets','PayDl','JKwLY','ParameterKey','WRbhF','promisifyAll','StackName','2085800pJTsrZ','djExx','NodeGroupWindows','CFTemplates','HKuaE','oYzLL','OnFailure','false','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','XhzfS','NWryW','vZGqY','FfWEK','Subnet03','LvvmQ','HoTZa','NodeAutoScalingGroupMaxSize','TyEfx','qGnmg','-NodeGroup','TdfBg','CloudFormation','yAMfT','awkGv','true','TemplateBody','aIUSC','subnet-import.yaml','4FxfGnd','vwbkV','s3Bucket','ieEzf','JHPaC','CqiFF','EKSCluster','bluebird','schema','NodeInstanceType','WAhwD','776635Bgknoz','keys','readFileAsync','../config/constants','path','NodeGroupName','vpc-create.yaml','OESQe','lvhFp','xWtRe','Ref','Metadata','BYJnV','YniJi','NodeImageId','YUdOx','S3BucketName','WdpqO','BWzjx','ParameterValue','juOSa','RIssA','jdjkS','qvoqO','eeRki','padStart','yUoYE','xJrTX','lnwuY','LysAE','JNTqX','IdFlx','Subnet02Block','HWVTE','OgJXS','forEach','Subnet03Block','ClusterAutoUpgrade','awsObj','apiVersion','vpc-import.yaml','qccTm','value','2010-05-15','REZFD','xcBCm','ResourcesVpcConfig','FlKSI','VPC','Resources','fZRYP','s3-create.yaml','TqrXF','QyGkv','dHCqT','NodeAutoScalingGroupMinSize','IiAxh','MwTiV','split','3|4|1|2|0|5','Qpxpw','gnhaf','valueOf','Key','hGSQw','subnet-create.yaml','8462648nBhAWp','GemWP','eQYQk','EPTvp','Parameters','../config/logger','push','191247CdGfRM','js-yaml-cloudformation-schema','utf-8','waitFor','Fn::Join','toString','QdovO'];a27_0x5d72=function(){return _0x269a70;};return a27_0x5d72();}function a27_0x5807(_0x5b11b4,_0xd22363){const _0x5d723c=a27_0x5d72();return a27_0x5807=function(_0x5807d0,_0x37530c){_0x5807d0=_0x5807d0-0x1d6;let _0x39604d=_0x5d723c[_0x5807d0];return _0x39604d;},a27_0x5807(_0x5b11b4,_0xd22363);}const fs=require('fs'),path=require(a27_0x1ae68d(0x1e9)),Promise=require(a27_0x1ae68d(0x1e1)),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require(a27_0x1ae68d(0x22f)),AWS=require(a27_0x1ae68d(0x26f))[a27_0x1ae68d(0x20b)],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a27_0x1ae68d(0x1e8)),{logger}=require(a27_0x1ae68d(0x22c)),{isBucketPresent}=require(a27_0x1ae68d(0x26f));Promise[a27_0x1ae68d(0x276)](fs);const mergeTemplates=(_0x123e03,_0x25345f)=>{const _0x46fa69=a27_0x1ae68d,_0x46a301={'wDUmT':function(_0x5446c6,_0x7230e2,_0x3ba52d){return _0x5446c6(_0x7230e2,_0x3ba52d);},'FwTKt':function(_0x214307,_0x3bc6ac){return _0x214307!==_0x3bc6ac;},'wrjMV':_0x46fa69(0x1ee),'otCMj':_0x46fa69(0x204)};Object[_0x46fa69(0x1e6)](_0x25345f)[_0x46fa69(0x208)](_0x5a56c5=>{const _0x5376cb=_0x46fa69;if(_0x46a301[_0x5376cb(0x24c)](_0x46a301[_0x5376cb(0x26a)],_0x46a301['otCMj']))_0x1ddd4f[_0x5376cb(0x216)][_0x1c553e]['Properties']&&_0x10d444[_0x5376cb(0x216)][_0x1a1d21][_0x5376cb(0x264)][_0x5376cb(0x266)]&&_0x72026d[_0x5376cb(0x216)][_0x57c983][_0x5376cb(0x264)][_0x5376cb(0x266)][_0x5376cb(0x22d)](..._0x1e22ff);else{var _0x2d61c9=_0x25345f[_0x5a56c5];Object['keys'](_0x2d61c9)[_0x5376cb(0x208)](_0x1928f9=>{const _0x3f3d50=_0x5376cb,_0x555cdb={'vZGqY':function(_0x547a04,_0x544f90,_0x3203f5){const _0x19d8a5=a27_0x5807;return _0x46a301[_0x19d8a5(0x246)](_0x547a04,_0x544f90,_0x3203f5);}};_0x46a301['FwTKt'](_0x46a301[_0x3f3d50(0x245)],_0x46a301[_0x3f3d50(0x245)])?_0x555cdb[_0x3f3d50(0x283)](_0x32bfe9,_0x24cdfa,_0x5e70a3):_0x123e03[_0x5a56c5][_0x1928f9]=_0x2d61c9[_0x1928f9];});}});},addVPCData=async(_0x17c2e3,_0x146762)=>{const _0x2607cb=a27_0x1ae68d,_0x5a53c0={'DDVtU':function(_0xb95cf0,_0x1549c5){return _0xb95cf0(_0x1549c5);},'qvoqO':'4|3|2|1|5|0','YUdOx':function(_0x13d8bf,_0x221ab9){return _0x13d8bf(_0x221ab9);},'yUoYE':'AWS::CloudFormation::Interface','kKGaR':function(_0x32763d,_0x461542){return _0x32763d(_0x461542);},'qccTm':_0x2607cb(0x232),'qperk':function(_0x289ae9,_0x4794dd){return _0x289ae9(_0x4794dd);},'BdIlh':function(_0x1d6cdd,_0x978b92){return _0x1d6cdd!==_0x978b92;},'jdjkS':_0x2607cb(0x24b),'eeRki':_0x2607cb(0x27b),'UrejB':_0x2607cb(0x20d),'GliYP':_0x2607cb(0x230),'VZGtc':function(_0x2cd144,_0x59cafb,_0x45df37){return _0x2cd144(_0x59cafb,_0x45df37);},'WdpqO':_0x2607cb(0x215),'WAhwD':_0x2607cb(0x282),'IICUg':_0x2607cb(0x1eb),'OESQe':function(_0x5db305,_0x29480e,_0x591887){return _0x5db305(_0x29480e,_0x591887);},'yAMfT':'VpcBlock'};if(_0x146762){if(_0x5a53c0[_0x2607cb(0x243)](_0x5a53c0[_0x2607cb(0x1fb)],_0x5a53c0['jdjkS'])){const _0x424e90={'gnhaf':function(_0x134d4a,_0x45686f){const _0x1295a4=_0x2607cb;return _0x5a53c0[_0x1295a4(0x244)](_0x134d4a,_0x45686f);}};let _0x439833=0x1;_0x2a4c26[_0x2607cb(0x208)](_0x30c907=>{const _0x526b1d=_0x2607cb;_0x28b6ec[_0x526b1d(0x22b)]['push']({'ParameterKey':_0x526b1d(0x23a)+_0x424e90[_0x526b1d(0x222)](_0x4b3bc3,_0x439833)[_0x526b1d(0x1fe)](0x2,'0'),'ParameterValue':_0x30c907[_0x526b1d(0x20f)]}),_0x439833+=0x1;});}else{const _0x14a5d7=await fs[_0x2607cb(0x1e7)](path[_0x2607cb(0x24e)](__dirname,'..',_0x5a53c0['eeRki'],_0x5a53c0['UrejB']),_0x5a53c0[_0x2607cb(0x239)]),_0x51de30={};_0x51de30[_0x2607cb(0x1e2)]=CLOUDFORMATION_SCHEMA;const _0x3a49f6=yaml['load'](_0x14a5d7,_0x51de30);_0x5a53c0[_0x2607cb(0x26b)](mergeTemplates,_0x17c2e3,_0x3a49f6),_0x17c2e3[_0x2607cb(0x1f0)][_0x5a53c0[_0x2607cb(0x1ff)]][_0x2607cb(0x237)][0x0][_0x2607cb(0x22b)][_0x2607cb(0x22d)](_0x5a53c0[_0x2607cb(0x1f6)]);}}else{if(_0x5a53c0['BdIlh'](_0x5a53c0['WAhwD'],_0x5a53c0[_0x2607cb(0x1e4)])){const _0x54df13=_0x5a53c0[_0x2607cb(0x1fc)][_0x2607cb(0x21f)]('|');let _0x2fbed3=0x0;while(!![]){switch(_0x54df13[_0x2fbed3++]){case'0':_0x32b72f+=0x1;continue;case'1':_0x1bf67a[_0x2607cb(0x216)][_0x2607cb(0x27a)][_0x2607cb(0x264)][_0x2607cb(0x271)][_0x2607cb(0x22d)]({'Ref':'Subnet'+_0x5a53c0[_0x2607cb(0x1f4)](_0x3f16c4,_0x51bbe5)[_0x2607cb(0x1fe)](0x2,'0')});continue;case'2':_0x50481e[_0x2607cb(0x216)][_0x2607cb(0x25a)][_0x2607cb(0x264)][_0x2607cb(0x271)][_0x2607cb(0x22d)]({'Ref':'Subnet'+_0x5a53c0[_0x2607cb(0x244)](_0x284030,_0x607d03)['padStart'](0x2,'0')});continue;case'3':_0x47eeca[_0x2607cb(0x1f0)][_0x5a53c0[_0x2607cb(0x1ff)]][_0x2607cb(0x237)][0x0][_0x2607cb(0x22b)][_0x2607cb(0x22d)](_0x2607cb(0x23a)+_0x5a53c0[_0x2607cb(0x244)](_0x412661,_0x235f2a)['padStart'](0x2,'0'));continue;case'4':_0x294098[_0x2607cb(0x216)][_0x2607cb(0x1e0)]['Properties'][_0x2607cb(0x213)][_0x2607cb(0x269)][_0x2607cb(0x22d)]({'Ref':_0x2607cb(0x23a)+_0x5a53c0['kKGaR'](_0x2f3467,_0x4846df)[_0x2607cb(0x1fe)](0x2,'0')});continue;case'5':_0x33f7b2[_0x2607cb(0x259)]['SubnetIds'][_0x2607cb(0x260)][_0x5a53c0[_0x2607cb(0x20e)]][0x1]['push']({'Ref':_0x2607cb(0x23a)+_0x5a53c0['qperk'](_0x429774,_0x51ebc3)[_0x2607cb(0x1fe)](0x2,'0')});continue;}break;}}else{const _0x4557bc=await fs['readFileAsync'](path[_0x2607cb(0x24e)](__dirname,'..',_0x5a53c0[_0x2607cb(0x1fd)],_0x5a53c0['IICUg']),_0x5a53c0[_0x2607cb(0x239)]),_0x3f437f={};_0x3f437f[_0x2607cb(0x1e2)]=CLOUDFORMATION_SCHEMA;const _0x5a2953=yaml[_0x2607cb(0x24a)](_0x4557bc,_0x3f437f);_0x5a53c0[_0x2607cb(0x1ec)](mergeTemplates,_0x17c2e3,_0x5a2953),_0x17c2e3[_0x2607cb(0x1f0)][_0x5a53c0[_0x2607cb(0x1ff)]][_0x2607cb(0x237)][0x0][_0x2607cb(0x22b)]['push'](_0x5a53c0[_0x2607cb(0x28e)]);}}},addS3Data=async _0x47d768=>{const _0x114b5e=a27_0x1ae68d,_0x698aba={'BYJnV':_0x114b5e(0x27b),'PJhPq':_0x114b5e(0x218),'vXtbf':'utf-8','zUfch':function(_0x39f1b0,_0x52e3e4){return _0x39f1b0(_0x52e3e4);},'JNTqX':function(_0x26300e,_0x24e858){return _0x26300e===_0x24e858;},'djExx':function(_0x49572b,_0x55fff5){return _0x49572b===_0x55fff5;},'Erbgj':_0x114b5e(0x281),'qCLRa':'uubTg','ZyBgA':function(_0x59b506,_0x279101,_0x1359cc){return _0x59b506(_0x279101,_0x1359cc);}},_0x42f98f=await fs[_0x114b5e(0x1e7)](path['join'](__dirname,'..',_0x698aba[_0x114b5e(0x1f1)],_0x698aba['PJhPq']),_0x698aba[_0x114b5e(0x265)]),_0x540813={};_0x540813['schema']=CLOUDFORMATION_SCHEMA;const _0x51b67c=yaml['load'](_0x42f98f,_0x540813),_0x2d6330=await _0x698aba[_0x114b5e(0x247)](isBucketPresent,global_registry[_0x114b5e(0x1dc)]);_0x698aba[_0x114b5e(0x203)](_0x2d6330,![])&&(_0x698aba[_0x114b5e(0x279)](_0x698aba['Erbgj'],_0x698aba['qCLRa'])?_0x3d12b9['Resources'][_0x4726e1][_0x114b5e(0x264)]['Tags'][_0x114b5e(0x22d)](..._0x5c7620):_0x698aba[_0x114b5e(0x25b)](mergeTemplates,_0x47d768,_0x51b67c));},addSubnetData=async(_0x2d26bd,_0x34dab4)=>{const _0x5b8f6c=a27_0x1ae68d,_0x153a3e={'TdfBg':function(_0x30bbe7,_0x5ad959){return _0x30bbe7!==_0x5ad959;},'QdovO':_0x5b8f6c(0x21b),'REZFD':_0x5b8f6c(0x220),'HoTZa':_0x5b8f6c(0x232),'oCReo':function(_0x57a50f,_0x1eee51){return _0x57a50f(_0x1eee51);},'Lumcz':function(_0x25bdc6,_0xf8df1f){return _0x25bdc6(_0xf8df1f);},'LvvmQ':function(_0x1db89d,_0x2abbe9){return _0x1db89d(_0x2abbe9);},'xfrwL':'AWS::CloudFormation::Interface','DHHMf':_0x5b8f6c(0x25a),'wNHNx':_0x5b8f6c(0x27a),'aIUSC':function(_0x2a7e6a,_0x315103){return _0x2a7e6a===_0x315103;},'FlKSI':_0x5b8f6c(0x229),'CqiFF':_0x5b8f6c(0x27b),'TyEfx':_0x5b8f6c(0x1d9),'RIssA':_0x5b8f6c(0x230),'hGSQw':function(_0x5052a,_0x32d33e,_0x2a5b60){return _0x5052a(_0x32d33e,_0x2a5b60);},'mFMxR':function(_0x4228b6,_0x1f4928){return _0x4228b6!==_0x1f4928;},'lvhFp':_0x5b8f6c(0x24d),'HPIxX':_0x5b8f6c(0x240),'LOiSG':_0x5b8f6c(0x226),'juOSa':function(_0x383413,_0x26e31a,_0x2b2dbc){return _0x383413(_0x26e31a,_0x2b2dbc);},'UPYhC':'Subnet01','KwAik':_0x5b8f6c(0x235),'PayDl':_0x5b8f6c(0x285),'WRbhF':_0x5b8f6c(0x270),'yccrg':_0x5b8f6c(0x205),'VMAYU':_0x5b8f6c(0x209)};if(_0x34dab4){if(_0x153a3e[_0x5b8f6c(0x1d8)](_0x153a3e['FlKSI'],_0x153a3e[_0x5b8f6c(0x214)])){const _0x10e699=await fs['readFileAsync'](path[_0x5b8f6c(0x24e)](__dirname,'..',_0x153a3e['CqiFF'],_0x153a3e[_0x5b8f6c(0x289)]),_0x153a3e[_0x5b8f6c(0x1fa)]),_0x140565={};_0x140565[_0x5b8f6c(0x1e2)]=CLOUDFORMATION_SCHEMA;const _0x224814=yaml[_0x5b8f6c(0x24a)](_0x10e699,_0x140565);_0x153a3e[_0x5b8f6c(0x225)](mergeTemplates,_0x2d26bd,_0x224814);let _0x16659e=0x1;_0x34dab4['forEach'](_0xb46ea=>{const _0x2e98ab=_0x5b8f6c;if(_0x153a3e[_0x2e98ab(0x28c)](_0x153a3e[_0x2e98ab(0x234)],_0x153a3e[_0x2e98ab(0x234)]))_0xfd888a['keys'](_0x2e58df)['forEach'](_0x1da48a=>{const _0x4ac15b=_0x2e98ab;var _0x20ccd5=_0x22c9b4[_0x1da48a];_0x38f7d3[_0x4ac15b(0x1e6)](_0x20ccd5)[_0x4ac15b(0x208)](_0x4680b9=>{_0x4ae4a7[_0x1da48a][_0x4680b9]=_0x20ccd5[_0x4680b9];});});else{const _0x3e4cd0=_0x153a3e[_0x2e98ab(0x211)][_0x2e98ab(0x21f)]('|');let _0x1d2f76=0x0;while(!![]){switch(_0x3e4cd0[_0x1d2f76++]){case'0':_0x2d26bd[_0x2e98ab(0x259)][_0x2e98ab(0x269)]['Value'][_0x153a3e[_0x2e98ab(0x287)]][0x1]['push']({'Ref':_0x2e98ab(0x23a)+_0x153a3e['oCReo'](String,_0x16659e)[_0x2e98ab(0x1fe)](0x2,'0')});continue;case'1':_0x2d26bd[_0x2e98ab(0x216)][_0x2e98ab(0x25a)][_0x2e98ab(0x264)]['Subnets']['push']({'Ref':_0x2e98ab(0x23a)+_0x153a3e['Lumcz'](String,_0x16659e)['padStart'](0x2,'0')});continue;case'2':_0x2d26bd[_0x2e98ab(0x216)][_0x2e98ab(0x27a)][_0x2e98ab(0x264)]['Subnets']['push']({'Ref':_0x2e98ab(0x23a)+_0x153a3e[_0x2e98ab(0x286)](String,_0x16659e)[_0x2e98ab(0x1fe)](0x2,'0')});continue;case'3':_0x2d26bd[_0x2e98ab(0x216)][_0x2e98ab(0x1e0)][_0x2e98ab(0x264)][_0x2e98ab(0x213)][_0x2e98ab(0x269)]['push']({'Ref':_0x2e98ab(0x23a)+_0x153a3e['LvvmQ'](String,_0x16659e)[_0x2e98ab(0x1fe)](0x2,'0')});continue;case'4':_0x2d26bd[_0x2e98ab(0x1f0)][_0x153a3e[_0x2e98ab(0x23e)]][_0x2e98ab(0x237)][0x0][_0x2e98ab(0x22b)][_0x2e98ab(0x22d)](_0x2e98ab(0x23a)+_0x153a3e[_0x2e98ab(0x286)](String,_0x16659e)[_0x2e98ab(0x1fe)](0x2,'0'));continue;case'5':_0x16659e+=0x1;continue;}break;}}});}else{var _0x598c7c=_0x19e6a7[_0xc63b01];_0x1c4466['keys'](_0x598c7c)[_0x5b8f6c(0x208)](_0x584adc=>{_0x1b3e60[_0x28855e][_0x584adc]=_0x598c7c[_0x584adc];});}}else{if(_0x153a3e['mFMxR'](_0x153a3e[_0x5b8f6c(0x1ed)],_0x153a3e['HPIxX'])){const _0x3d4b6d=await fs[_0x5b8f6c(0x1e7)](path[_0x5b8f6c(0x24e)](__dirname,'..',_0x153a3e[_0x5b8f6c(0x1df)],_0x153a3e[_0x5b8f6c(0x250)]),_0x153a3e[_0x5b8f6c(0x1fa)]),_0x3158f9={};_0x3158f9[_0x5b8f6c(0x1e2)]=CLOUDFORMATION_SCHEMA;const _0x50eb46=yaml[_0x5b8f6c(0x24a)](_0x3d4b6d,_0x3158f9);_0x153a3e[_0x5b8f6c(0x1f9)](mergeTemplates,_0x2d26bd,_0x50eb46),_0x2d26bd[_0x5b8f6c(0x216)][_0x5b8f6c(0x1e0)]['DependsOn'][_0x5b8f6c(0x22d)](_0x153a3e[_0x5b8f6c(0x26e)],_0x153a3e['KwAik'],_0x153a3e[_0x5b8f6c(0x272)]);const _0x1fb0c0={};_0x1fb0c0['Ref']=_0x153a3e[_0x5b8f6c(0x26e)];const _0x36758b={};_0x36758b[_0x5b8f6c(0x1ef)]=_0x153a3e['KwAik'];const _0x1bd512={};_0x1bd512[_0x5b8f6c(0x1ef)]=_0x153a3e['PayDl'],_0x2d26bd['Resources'][_0x5b8f6c(0x1e0)][_0x5b8f6c(0x264)][_0x5b8f6c(0x213)][_0x5b8f6c(0x269)]=[_0x1fb0c0,_0x36758b,_0x1bd512],_0x2d26bd[_0x5b8f6c(0x1f0)][_0x153a3e['xfrwL']]['ParameterGroups'][0x0][_0x5b8f6c(0x22b)][_0x5b8f6c(0x22d)](_0x153a3e[_0x5b8f6c(0x275)],_0x153a3e['yccrg'],_0x153a3e['VMAYU']);const _0x227fa9={};_0x227fa9['Ref']=_0x153a3e[_0x5b8f6c(0x26e)];const _0x1968a9={};_0x1968a9[_0x5b8f6c(0x1ef)]=_0x153a3e[_0x5b8f6c(0x26c)];const _0x2db07f={};_0x2db07f[_0x5b8f6c(0x1ef)]=_0x153a3e[_0x5b8f6c(0x272)],_0x2d26bd[_0x5b8f6c(0x216)][_0x5b8f6c(0x25a)]['Properties'][_0x5b8f6c(0x271)]=[_0x227fa9,_0x1968a9,_0x2db07f];const _0xa9db31={};_0xa9db31[_0x5b8f6c(0x1ef)]=_0x153a3e['UPYhC'];const _0x518d3d={};_0x518d3d['Ref']=_0x153a3e['KwAik'];const _0x3b3b7f={};_0x3b3b7f[_0x5b8f6c(0x1ef)]=_0x153a3e[_0x5b8f6c(0x272)],_0x2d26bd['Resources']['NodeGroupWindows'][_0x5b8f6c(0x264)]['Subnets']=[_0xa9db31,_0x518d3d,_0x3b3b7f],_0x2d26bd['Outputs'][_0x5b8f6c(0x269)]['Value'][_0x153a3e['HoTZa']][0x1]=[{'Ref':_0x153a3e[_0x5b8f6c(0x26e)]},{'Ref':_0x153a3e[_0x5b8f6c(0x26c)]},{'Ref':_0x153a3e[_0x5b8f6c(0x272)]}];}else{for(const _0x40d325 in _0x412aee[_0x5b8f6c(0x216)]){_0x26a841['Resources'][_0x40d325][_0x5b8f6c(0x264)]&&_0x277af5[_0x5b8f6c(0x216)][_0x40d325]['Properties'][_0x5b8f6c(0x266)]&&_0x54aed0['Resources'][_0x40d325]['Properties'][_0x5b8f6c(0x266)][_0x5b8f6c(0x22d)](..._0xbfc20a);}const _0x314ba9={};_0x2c4ccb[_0x5b8f6c(0x208)](_0x3a42fe=>{const _0x3f3e75=_0x5b8f6c;_0x314ba9[_0x3a42fe[_0x3f3e75(0x224)]]=_0x3a42fe[_0x3f3e75(0x260)];}),_0x24524a[_0x5b8f6c(0x216)][_0x153a3e['DHHMf']][_0x5b8f6c(0x264)][_0x5b8f6c(0x266)]=_0x314ba9,_0x4341de[_0x5b8f6c(0x216)][_0x153a3e['wNHNx']]['Properties'][_0x5b8f6c(0x266)]=_0x314ba9;}}},addTags=async(_0x4fa51f,_0x2fba62,_0x3a58b0)=>{const _0x3d3102=a27_0x1ae68d,_0xd6a0d8={'lnwuY':function(_0x5e39b3,_0x42623f){return _0x5e39b3(_0x42623f);},'qGnmg':function(_0x31ffea,_0x25a8ae){return _0x31ffea===_0x25a8ae;},'nAhot':_0x3d3102(0x228),'BWzjx':_0x3d3102(0x25c),'xcBCm':'Bigjk','xJrTX':function(_0x5abdc4,_0x3bcf67){return _0x5abdc4!==_0x3bcf67;},'QyGkv':_0x3d3102(0x267),'EPTvp':_0x3d3102(0x25a),'dPyFH':_0x3d3102(0x27a)};for(const _0x557394 in _0x4fa51f[_0x3d3102(0x216)]){_0xd6a0d8[_0x3d3102(0x28a)](_0xd6a0d8[_0x3d3102(0x212)],_0xd6a0d8[_0x3d3102(0x212)])?_0x4fa51f['Resources'][_0x557394][_0x3d3102(0x264)]&&_0x4fa51f['Resources'][_0x557394][_0x3d3102(0x264)][_0x3d3102(0x266)]&&(_0xd6a0d8[_0x3d3102(0x200)](_0xd6a0d8[_0x3d3102(0x21a)],_0xd6a0d8[_0x3d3102(0x21a)])?(_0x439a24[_0x3d3102(0x22b)][_0x3d3102(0x22d)]({'ParameterKey':_0x3d3102(0x23a)+_0xd6a0d8[_0x3d3102(0x201)](_0x423574,_0x2b7ff7)[_0x3d3102(0x1fe)](0x2,'0'),'ParameterValue':_0x1a1576[_0x3d3102(0x20f)]}),_0x2a84be+=0x1):_0x4fa51f['Resources'][_0x557394][_0x3d3102(0x264)][_0x3d3102(0x266)][_0x3d3102(0x22d)](..._0x3a58b0)):_0x4587c0[_0x30cd94][_0x460b54]=_0x116052[_0x13b50a];}const _0x1d13c3={};_0x3a58b0[_0x3d3102(0x208)](_0x544e02=>{const _0x31cfe3=_0x3d3102;_0xd6a0d8['qGnmg'](_0xd6a0d8[_0x31cfe3(0x255)],_0xd6a0d8[_0x31cfe3(0x1f7)])?_0x3f37b6[_0x4cff8d[_0x31cfe3(0x224)]]=_0x180108[_0x31cfe3(0x260)]:_0x1d13c3[_0x544e02['Key']]=_0x544e02[_0x31cfe3(0x260)];}),_0x4fa51f[_0x3d3102(0x216)][_0xd6a0d8[_0x3d3102(0x22a)]][_0x3d3102(0x264)]['Tags']=_0x1d13c3,_0x4fa51f['Resources'][_0xd6a0d8[_0x3d3102(0x251)]]['Properties'][_0x3d3102(0x266)]=_0x1d13c3;};exports[a27_0x1ae68d(0x23c)]=async(_0x12e85a,_0x5a87c9,_0xa87606,_0x23b336=null,_0x274c5d=null,_0x5b0541)=>{const _0x192d2e=a27_0x1ae68d,_0x4f4ff8={'HJAuC':'VPC','MwTiV':function(_0x1691f9,_0x1dba39){return _0x1691f9(_0x1dba39);},'FijuV':'browserstack:cluster','PibED':'browserstack:creationDate','diizT':_0x192d2e(0x210),'IzdgW':_0x192d2e(0x27b),'fZnWD':_0x192d2e(0x253),'nhoGp':'utf-8','FfWEK':function(_0x1d4b74,_0x4dfe33,_0x5f5d33){return _0x1d4b74(_0x4dfe33,_0x5f5d33);},'IiAxh':function(_0x2cfa68,_0x32073e){return _0x2cfa68(_0x32073e);},'Cxirj':function(_0x256454,_0x26e209,_0x5d846e){return _0x256454(_0x26e209,_0x5d846e);},'ieEzf':function(_0x393fa9,_0x4a7b6b,_0x2ee8ec,_0x16aabd){return _0x393fa9(_0x4a7b6b,_0x2ee8ec,_0x16aabd);},'LysAE':'DELETE','tEGSh':_0x192d2e(0x25e),'GEZcQ':_0x192d2e(0x1ea),'TqrXF':_0x192d2e(0x21c),'vwbkV':'NodeAutoScalingGroupMinSizeWindows','Qpxpw':_0x192d2e(0x238),'HKuaE':_0x192d2e(0x288),'JHPaC':_0x192d2e(0x1f3),'oYzLL':_0x192d2e(0x1e3),'YniJi':_0x192d2e(0x1f5),'JKwLY':_0x192d2e(0x256),'OgJXS':_0x192d2e(0x20a),'iZFpM':_0x192d2e(0x1d6),'awkGv':_0x192d2e(0x27f),'RLdjS':_0x192d2e(0x248),'HWVTE':function(_0x3347a9,_0xdfdefc){return _0x3347a9!=_0xdfdefc;},'cgtVh':function(_0xa25ac9,_0x405c88){return _0xa25ac9!==_0x405c88;},'TdIdz':'ktfvC','Xogdl':'YEpGv','fZRYP':function(_0x15176d,_0x17e2f8){return _0x15176d!==_0x17e2f8;},'exGVC':_0x192d2e(0x280),'WTAjO':'stackCreateComplete'},_0x562288=COMMON_HST_TAGS,_0x472394={};_0x472394[_0x192d2e(0x224)]=_0x4f4ff8[_0x192d2e(0x262)],_0x472394[_0x192d2e(0x260)]=_0x12e85a,_0x562288[_0x192d2e(0x22d)](_0x472394),_0x562288[_0x192d2e(0x22d)]({'Key':_0x4f4ff8[_0x192d2e(0x236)],'Value':new Date()[_0x192d2e(0x223)]()[_0x192d2e(0x233)]()});const _0xe858d8={};_0xe858d8[_0x192d2e(0x20c)]=_0x4f4ff8[_0x192d2e(0x252)];const _0x24ed1f=new AWS[(_0x192d2e(0x28d))](_0xe858d8),_0x59a176=await fs[_0x192d2e(0x1e7)](path['join'](__dirname,'..',_0x4f4ff8['IzdgW'],_0x4f4ff8['fZnWD']),_0x4f4ff8[_0x192d2e(0x242)]),_0x104669={};_0x104669[_0x192d2e(0x1e2)]=CLOUDFORMATION_SCHEMA;const _0x28fc29=yaml[_0x192d2e(0x24a)](_0x59a176,_0x104669);await _0x4f4ff8[_0x192d2e(0x284)](addVPCData,_0x28fc29,_0x23b336),await _0x4f4ff8[_0x192d2e(0x21d)](addS3Data,_0x28fc29),await _0x4f4ff8[_0x192d2e(0x268)](addSubnetData,_0x28fc29,_0x274c5d),await _0x4f4ff8[_0x192d2e(0x1dd)](addTags,_0x28fc29,_0x12e85a,_0x562288);const _0x1227b3=JSON['stringify'](_0x28fc29),_0x325e8a={};_0x325e8a['StackName']=CLUSTER_DEP_STACK_NAME+'-'+_0x12e85a,_0x325e8a[_0x192d2e(0x27e)]=_0x4f4ff8[_0x192d2e(0x202)],_0x325e8a[_0x192d2e(0x1d7)]=_0x1227b3,_0x325e8a[_0x192d2e(0x22b)]=[{'ParameterKey':_0x4f4ff8['tEGSh'],'ParameterValue':_0x12e85a},{'ParameterKey':_0x4f4ff8['GEZcQ'],'ParameterValue':_0x12e85a+_0x192d2e(0x28b)},{'ParameterKey':_0x4f4ff8[_0x192d2e(0x219)],'ParameterValue':''+_0x5a87c9},{'ParameterKey':_0x4f4ff8[_0x192d2e(0x1db)],'ParameterValue':'0'},{'ParameterKey':_0x4f4ff8[_0x192d2e(0x221)],'ParameterValue':'1'},{'ParameterKey':_0x4f4ff8[_0x192d2e(0x27c)],'ParameterValue':''+_0xa87606},{'ParameterKey':_0x4f4ff8[_0x192d2e(0x1de)],'ParameterValue':global_registry[_0x192d2e(0x23b)]},{'ParameterKey':_0x4f4ff8[_0x192d2e(0x27d)],'ParameterValue':global_registry[_0x192d2e(0x23f)]},{'ParameterKey':_0x4f4ff8[_0x192d2e(0x1f2)],'ParameterValue':global_registry['s3Bucket']},{'ParameterKey':_0x4f4ff8[_0x192d2e(0x273)],'ParameterValue':_0x12e85a+_0x192d2e(0x254)},{'ParameterKey':_0x4f4ff8[_0x192d2e(0x207)],'ParameterValue':_0x5b0541?_0x4f4ff8[_0x192d2e(0x24f)]:_0x4f4ff8[_0x192d2e(0x28f)]}],_0x325e8a[_0x192d2e(0x25d)]=[_0x4f4ff8[_0x192d2e(0x26d)]],_0x325e8a[_0x192d2e(0x266)]=_0x562288;const _0x47b7ed=_0x325e8a;if(_0x4f4ff8[_0x192d2e(0x206)](_0x23b336,null)&&_0x4f4ff8[_0x192d2e(0x249)](_0x23b336,undefined)){if(_0x4f4ff8['cgtVh'](_0x4f4ff8['TdIdz'],_0x4f4ff8[_0x192d2e(0x258)])){const _0x2a3035={};_0x2a3035[_0x192d2e(0x274)]=_0x4f4ff8['HJAuC'],_0x2a3035['ParameterValue']=_0x23b336,_0x47b7ed[_0x192d2e(0x22b)][_0x192d2e(0x22d)](_0x2a3035);}else{const _0x184de6={};_0x184de6[_0x192d2e(0x274)]=_0x4f4ff8['HJAuC'],_0x184de6[_0x192d2e(0x1f8)]=_0x200436,_0x53ef53[_0x192d2e(0x22b)]['push'](_0x184de6);}}if(_0x4f4ff8[_0x192d2e(0x206)](_0x274c5d,null)&&_0x4f4ff8[_0x192d2e(0x217)](_0x274c5d,undefined)){let _0x15364e=0x1;_0x274c5d[_0x192d2e(0x208)](_0x57d595=>{const _0x3b7883=_0x192d2e;_0x47b7ed[_0x3b7883(0x22b)][_0x3b7883(0x22d)]({'ParameterKey':_0x3b7883(0x23a)+_0x4f4ff8[_0x3b7883(0x21e)](String,_0x15364e)[_0x3b7883(0x1fe)](0x2,'0'),'ParameterValue':_0x57d595['value']}),_0x15364e+=0x1;});}const _0x59e277=await _0x24ed1f[_0x192d2e(0x261)](_0x47b7ed)[_0x192d2e(0x263)]();logger['debug'](_0x4f4ff8['exGVC']);const _0x166782={};return _0x166782[_0x192d2e(0x277)]=_0x59e277['StackId'],_0x24ed1f[_0x192d2e(0x231)](_0x4f4ff8[_0x192d2e(0x257)],_0x166782)['promise']();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a28_0x3eecc8=a28_0x33e6;(function(_0x210b04,_0x1fb52c){const _0x4491e0=a28_0x33e6,_0x3ff6b4=_0x210b04();while(!![]){try{const _0x425591=-parseInt(_0x4491e0(0x13f))/0x1+parseInt(_0x4491e0(0x13a))/0x2+parseInt(_0x4491e0(0x15d))/0x3*(-parseInt(_0x4491e0(0x15f))/0x4)+parseInt(_0x4491e0(0x149))/0x5*(-parseInt(_0x4491e0(0x167))/0x6)+-parseInt(_0x4491e0(0x144))/0x7+-parseInt(_0x4491e0(0x143))/0x8+parseInt(_0x4491e0(0x13e))/0x9*(parseInt(_0x4491e0(0x173))/0xa);if(_0x425591===_0x1fb52c)break;else _0x3ff6b4['push'](_0x3ff6b4['shift']());}catch(_0x52d60d){_0x3ff6b4['push'](_0x3ff6b4['shift']());}}}(a28_0x3ddd,0xb20f3));const fs=require('fs'),path=require('path'),Promise=require(a28_0x3eecc8(0x138)),yaml=require(a28_0x3eecc8(0x172)),{CLOUDFORMATION_SCHEMA}=require(a28_0x3eecc8(0x169)),AWS=require(a28_0x3eecc8(0x14f))[a28_0x3eecc8(0x15c)],AWSUtils=require(a28_0x3eecc8(0x14f)),{CLUSTER_HUB_HA_STACK_NAME,COMMON_HST_TAGS}=require('../config/constants'),{logger}=require(a28_0x3eecc8(0x16c));Promise[a28_0x3eecc8(0x137)](fs);const addTags=async(_0x37f662,_0x45b248)=>{const _0x4bf8f2=a28_0x3eecc8;for(const _0x46567d in _0x37f662[_0x4bf8f2(0x140)]){_0x37f662['Resources'][_0x46567d]['Properties']&&_0x37f662[_0x4bf8f2(0x140)][_0x46567d][_0x4bf8f2(0x16f)][_0x4bf8f2(0x14d)]&&_0x37f662[_0x4bf8f2(0x140)][_0x46567d][_0x4bf8f2(0x16f)]['Tags'][_0x4bf8f2(0x158)](..._0x45b248);}};function a28_0x33e6(_0x14b5b7,_0x3b5e3e){const _0x3dddb4=a28_0x3ddd();return a28_0x33e6=function(_0x33e6e0,_0x10dde8){_0x33e6e0=_0x33e6e0-0x137;let _0xbd699b=_0x3dddb4[_0x33e6e0];return _0xbd699b;},a28_0x33e6(_0x14b5b7,_0x3b5e3e);}function a28_0x3ddd(){const _0x3a1d06=['4113dyCKvA','506019KBHSGb','Resources','MXvFP','stackCreateComplete','8698864bORRNV','7154252cuhxuo','wxXyN','DELETE','CloudFormation','SRgIU','370unIuwh','ClusterOIDCURL','StackName','LhZfc','Tags','cuIub','./AWSUtils','pMcOo','promise','dwcGZ','DMRGb','browserstack:creationDate','SRquf','utf-8','split','push','2010-05-15','load','info','awsObj','15627JmqhxA','toString','56PURivY','IXITm','stringify','valueOf','StackId','CFTemplates','Value','createHubHaStack','15474ZsmKMA','Parameters','js-yaml-cloudformation-schema','CAPABILITY_NAMED_IAM','VpcId','../config/logger','browserstack:cluster','waitFor','Properties','VBrYF','ditoN','js-yaml','50650CYbRBJ','promisifyAll','bluebird','Capabilities','2587622YDdcOA','hub-ha.yaml','BaseResourceName','OnFailure'];a28_0x3ddd=function(){return _0x3a1d06;};return a28_0x3ddd();}exports[a28_0x3eecc8(0x166)]=async(_0x2b5862,_0x4420b1=null)=>{const _0x16cfeb=a28_0x3eecc8,_0xb5ac5={'MXvFP':_0x16cfeb(0x16d),'wxXyN':_0x16cfeb(0x154),'IXITm':_0x16cfeb(0x159),'SRquf':_0x16cfeb(0x164),'pFPsQ':_0x16cfeb(0x13b),'LhZfc':_0x16cfeb(0x156),'pMcOo':function(_0x4fe10e,_0x31a233,_0x557309){return _0x4fe10e(_0x31a233,_0x557309);},'cmZJl':'://','ditoN':_0x16cfeb(0x146),'dwcGZ':_0x16cfeb(0x16b),'VBrYF':_0x16cfeb(0x13c),'IJTKM':_0x16cfeb(0x14a),'cuIub':_0x16cfeb(0x16a),'SRgIU':'Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','DMRGb':_0x16cfeb(0x142)},_0x4d35ad=COMMON_HST_TAGS,_0x50e1cf={};_0x50e1cf['Key']=_0xb5ac5[_0x16cfeb(0x141)],_0x50e1cf[_0x16cfeb(0x165)]=_0x2b5862,_0x4d35ad[_0x16cfeb(0x158)](_0x50e1cf),_0x4d35ad['push']({'Key':_0xb5ac5[_0x16cfeb(0x145)],'Value':new Date()[_0x16cfeb(0x162)]()[_0x16cfeb(0x15e)]()});const _0x1c711f={};_0x1c711f['apiVersion']=_0xb5ac5[_0x16cfeb(0x160)];const _0x4fbf7a=new AWS[(_0x16cfeb(0x147))](_0x1c711f),_0x15e328=await fs['readFileAsync'](path['join'](__dirname,'..',_0xb5ac5[_0x16cfeb(0x155)],_0xb5ac5['pFPsQ']),_0xb5ac5[_0x16cfeb(0x14c)]),_0x279bd6={};_0x279bd6['schema']=CLOUDFORMATION_SCHEMA;const _0x2730b0=yaml[_0x16cfeb(0x15a)](_0x15e328,_0x279bd6);await _0xb5ac5[_0x16cfeb(0x150)](addTags,_0x2730b0,_0x4d35ad);const _0x30aaae=JSON[_0x16cfeb(0x161)](_0x2730b0);let _0x57f323=await AWSUtils['getOidcUrl'](_0x2b5862);_0x57f323=_0x57f323[_0x16cfeb(0x157)](_0xb5ac5['cmZJl'])[0x1];const _0x47a7ca={};_0x47a7ca['StackName']=CLUSTER_HUB_HA_STACK_NAME+'-'+_0x2b5862+'-cf',_0x47a7ca[_0x16cfeb(0x13d)]=_0xb5ac5[_0x16cfeb(0x171)],_0x47a7ca['TemplateBody']=_0x30aaae,_0x47a7ca[_0x16cfeb(0x168)]=[{'ParameterKey':_0xb5ac5[_0x16cfeb(0x152)],'ParameterValue':_0x4420b1},{'ParameterKey':_0xb5ac5[_0x16cfeb(0x170)],'ParameterValue':CLUSTER_HUB_HA_STACK_NAME+'-'+_0x2b5862},{'ParameterKey':_0xb5ac5['IJTKM'],'ParameterValue':_0x57f323}],_0x47a7ca[_0x16cfeb(0x139)]=[_0xb5ac5[_0x16cfeb(0x14e)]],_0x47a7ca[_0x16cfeb(0x14d)]=_0x4d35ad;const _0x2c7df9=_0x47a7ca,_0x42c896=await _0x4fbf7a['createStack'](_0x2c7df9)[_0x16cfeb(0x151)]();logger[_0x16cfeb(0x15b)](_0xb5ac5[_0x16cfeb(0x148)]);const _0x27db70={};return _0x27db70[_0x16cfeb(0x14b)]=_0x42c896[_0x16cfeb(0x163)],_0x4fbf7a[_0x16cfeb(0x16e)](_0xb5ac5[_0x16cfeb(0x153)],_0x27db70)[_0x16cfeb(0x151)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a29_0xdd68e8=a29_0x349c;function a29_0x30fe(){const _0x532757=['CoreV1Api','@kubernetes/client-node','14608PTkcNW','KubeConfig','AppsV1Api','insecure-skip-tls-verify','2190HzgGvs','1798408NXdQEw','qDNoO','317434wRZAug','loadFromString','clusters','715SXTCTl','js-yaml','cluster','StorageV1Api','hmdqG','bluebird','NetworkingV1Api','dump','3882402NuKaSv','load','115794FYigga','mkdirSync','1952286xjjtrH','existsSync','makeApiClient','35cODPQC','531722nhHElg'];a29_0x30fe=function(){return _0x532757;};return a29_0x30fe();}function a29_0x349c(_0x5ca1ef,_0x13944b){const _0x30fe65=a29_0x30fe();return a29_0x349c=function(_0x349cf2,_0x2b4f23){_0x349cf2=_0x349cf2-0x1a0;let _0x3180f4=_0x30fe65[_0x349cf2];return _0x3180f4;},a29_0x349c(_0x5ca1ef,_0x13944b);}(function(_0x36660c,_0x302cd1){const _0x9ec6c2=a29_0x349c,_0xe02794=_0x36660c();while(!![]){try{const _0x298923=parseInt(_0x9ec6c2(0x1b2))/0x1+-parseInt(_0x9ec6c2(0x1a8))/0x2+-parseInt(_0x9ec6c2(0x1a0))/0x3+-parseInt(_0x9ec6c2(0x1ab))/0x4*(-parseInt(_0x9ec6c2(0x1b5))/0x5)+-parseInt(_0x9ec6c2(0x1a4))/0x6+parseInt(_0x9ec6c2(0x1a7))/0x7*(-parseInt(_0x9ec6c2(0x1b0))/0x8)+parseInt(_0x9ec6c2(0x1a2))/0x9*(parseInt(_0x9ec6c2(0x1af))/0xa);if(_0x298923===_0x302cd1)break;else _0xe02794['push'](_0xe02794['shift']());}catch(_0x4afee5){_0xe02794['push'](_0xe02794['shift']());}}}(a29_0x30fe,0x9e307));const fs=require('fs'),yaml=require(a29_0xdd68e8(0x1b6)),Promise=require(a29_0xdd68e8(0x1ba)),{getDirForConfig}=require('./utilityMethods');Promise['promisifyAll'](fs),exports['createK8sClient']=async(_0x338de5,_0x31bbef)=>{const _0x1a761b=a29_0xdd68e8,_0x520cd8={'qDNoO':function(_0x2ee793){return _0x2ee793();},'hmdqG':_0x1a761b(0x1ae),'aUFJf':_0x1a761b(0x1aa)},_0x2471ae=_0x520cd8[_0x1a761b(0x1b1)](getDirForConfig);!fs[_0x1a761b(0x1a5)](_0x2471ae)&&fs[_0x1a761b(0x1a3)](_0x2471ae);let _0x1f5bb5=await _0x338de5['getKubeConfigData']();if(_0x31bbef){const _0x3c4c9a=yaml[_0x1a761b(0x1a1)](_0x1f5bb5);_0x3c4c9a[_0x1a761b(0x1b4)][0x0][_0x1a761b(0x1b7)][_0x520cd8[_0x1a761b(0x1b9)]]=!![],_0x1f5bb5=yaml[_0x1a761b(0x1bc)](_0x3c4c9a);}const _0x3706ea=await import(_0x520cd8['aUFJf']),_0x1468cb=new _0x3706ea[(_0x1a761b(0x1ac))]();_0x1468cb[_0x1a761b(0x1b3)](_0x1f5bb5);const _0xaa3023=_0x1468cb[_0x1a761b(0x1a6)](_0x3706ea[_0x1a761b(0x1a9)]),_0x39f646=_0x1468cb['makeApiClient'](_0x3706ea[_0x1a761b(0x1ad)]),_0x49f631=_0x1468cb[_0x1a761b(0x1a6)](_0x3706ea[_0x1a761b(0x1bb)]),_0x35c05d=_0x1468cb[_0x1a761b(0x1a6)](_0x3706ea['RbacAuthorizationV1Api']),_0x27fbb0=_0x1468cb[_0x1a761b(0x1a6)](_0x3706ea['ApiregistrationV1Api']),_0x514ee8=_0x1468cb['makeApiClient'](_0x3706ea[_0x1a761b(0x1b8)]);return[_0xaa3023,_0x39f646,_0x49f631,_0x35c05d,_0x27fbb0,_0x514ee8,_0x1468cb];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a30_0x4ac5(_0x5f0870,_0x4c3528){const _0x36edb0=a30_0x36ed();return a30_0x4ac5=function(_0x4ac52e,_0x312618){_0x4ac52e=_0x4ac52e-0x97;let _0x4714bd=_0x36edb0[_0x4ac52e];return _0x4714bd;},a30_0x4ac5(_0x5f0870,_0x4c3528);}function a30_0x36ed(){const _0x5d08f0=['No\x20EFS\x20FileSystem\x20ID\x20found\x20in\x20stack\x20outputs,\x20skipping\x20mount\x20target\x20deletion.','No\x20Mount\x20targets\x20found\x20for\x20the\x20EFS\x20FileSystem\x20ID,\x20skipping\x20mount\x20target\x20deletion.','EFSFileSystemId','88282vouAKj','1067945FMNoNE','sjkYP','\x20deleted\x20successfully','MountTargetId','1316pvAyYJ','describeMountTargets','13712248UNwlzU','5958ZoTBAd','4354518uOEEXS','.\x20Deleting\x20mount\x20targets...','EFS','info','error','deleteEFSMountTarget','utmKJ','OutputKey','LiTAY','aws-sdk','MountTargets','EFS\x20FileSystem\x20ID\x20found:\x20','../config/logger','../config/constants','deleteMountTarget','FileSystemId','2265078rQvzOt','605936UJuKoY','promise','clusterRegion','Mount\x20target\x20'];a30_0x36ed=function(){return _0x5d08f0;};return a30_0x36ed();}const a30_0x2cca71=a30_0x4ac5;(function(_0x143ec3,_0x3081d7){const _0x433065=a30_0x4ac5,_0x3f44bd=_0x143ec3();while(!![]){try{const _0x856abb=-parseInt(_0x433065(0x9e))/0x1+parseInt(_0x433065(0x97))/0x2+parseInt(_0x433065(0xa6))/0x3*(parseInt(_0x433065(0xa3))/0x4)+parseInt(_0x433065(0x9f))/0x5+parseInt(_0x433065(0xb7))/0x6+parseInt(_0x433065(0xa7))/0x7+-parseInt(_0x433065(0xa5))/0x8;if(_0x856abb===_0x3081d7)break;else _0x3f44bd['push'](_0x3f44bd['shift']());}catch(_0x3ee1b2){_0x3f44bd['push'](_0x3f44bd['shift']());}}}(a30_0x36ed,0x59a79));const {logger}=require(a30_0x2cca71(0xb3)),awsSDK=require(a30_0x2cca71(0xb0)),{global_registry}=require(a30_0x2cca71(0xb4));exports[a30_0x2cca71(0xac)]=async _0x648fd2=>{const _0x6d6e7c=a30_0x2cca71,_0x1b4929={};_0x1b4929[_0x6d6e7c(0xaf)]=_0x6d6e7c(0x9c),_0x1b4929['sjkYP']=_0x6d6e7c(0x9b),_0x1b4929[_0x6d6e7c(0xad)]='Error\x20deleting\x20EFS\x20mount\x20targets:';const _0x1310a4=_0x1b4929;try{const _0x7f8cd8={};_0x7f8cd8['region']=global_registry[_0x6d6e7c(0x99)];const _0x4b1c04=new awsSDK[(_0x6d6e7c(0xa9))](_0x7f8cd8),_0x2b1cc9=_0x648fd2['find'](_0x58bb68=>_0x58bb68[_0x6d6e7c(0xae)]===_0x6d6e7c(0x9d))?.['OutputValue'];if(_0x2b1cc9){logger[_0x6d6e7c(0xaa)](_0x6d6e7c(0xb2)+_0x2b1cc9+_0x6d6e7c(0xa8));const _0x50b044={};_0x50b044[_0x6d6e7c(0xb6)]=_0x2b1cc9;const _0x1ac207=_0x50b044,_0x149e2a=await _0x4b1c04[_0x6d6e7c(0xa4)](_0x1ac207)[_0x6d6e7c(0x98)]();if(_0x149e2a)for(const _0x1233f9 of _0x149e2a[_0x6d6e7c(0xb1)]){const _0x46a19f={};_0x46a19f[_0x6d6e7c(0xa2)]=_0x1233f9[_0x6d6e7c(0xa2)];const _0x395f36=_0x46a19f;await _0x4b1c04[_0x6d6e7c(0xb5)](_0x395f36)[_0x6d6e7c(0x98)](),logger['info'](_0x6d6e7c(0x9a)+_0x1233f9[_0x6d6e7c(0xa2)]+_0x6d6e7c(0xa1));}else logger[_0x6d6e7c(0xaa)](_0x1310a4[_0x6d6e7c(0xaf)]);}else logger[_0x6d6e7c(0xaa)](_0x1310a4[_0x6d6e7c(0xa0)]);}catch(_0x41318b){logger[_0x6d6e7c(0xab)](_0x1310a4[_0x6d6e7c(0xad)],_0x41318b);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a31_0x4e7374=a31_0x2468;function a31_0x2468(_0x5bf515,_0x24bdf9){const _0x163e8e=a31_0x163e();return a31_0x2468=function(_0x246808,_0x1b3e50){_0x246808=_0x246808-0x6a;let _0x9d860f=_0x163e8e[_0x246808];return _0x9d860f;},a31_0x2468(_0x5bf515,_0x24bdf9);}(function(_0x3025ba,_0x7eac9){const _0x16c10d=a31_0x2468,_0x5153a2=_0x3025ba();while(!![]){try{const _0x2f7a4e=parseInt(_0x16c10d(0x6c))/0x1*(-parseInt(_0x16c10d(0x75))/0x2)+parseInt(_0x16c10d(0x6e))/0x3*(-parseInt(_0x16c10d(0x7e))/0x4)+-parseInt(_0x16c10d(0x6a))/0x5+parseInt(_0x16c10d(0x6f))/0x6*(-parseInt(_0x16c10d(0x79))/0x7)+parseInt(_0x16c10d(0x6d))/0x8*(-parseInt(_0x16c10d(0x83))/0x9)+-parseInt(_0x16c10d(0x76))/0xa*(-parseInt(_0x16c10d(0x77))/0xb)+parseInt(_0x16c10d(0x7f))/0xc*(parseInt(_0x16c10d(0x82))/0xd);if(_0x2f7a4e===_0x7eac9)break;else _0x5153a2['push'](_0x5153a2['shift']());}catch(_0x7fd17b){_0x5153a2['push'](_0x5153a2['shift']());}}}(a31_0x163e,0x2265e));const AWS=require(a31_0x4e7374(0x73))['awsObj'],{logger}=require(a31_0x4e7374(0x7c));function a31_0x163e(){const _0x2dd951=['3615WAmIXZ','18pwlswu','SCHkC','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','deleteClusterStack','./AWSUtils','apiVersion','374002IdIFXH','1850CksBEF','2079vgWHCZ','gKNIn','281757EwsuCq','promise','StackName','../config/logger','deleteStack','756jeGibo','5865108uguijZ','waitFor','stackDeleteComplete','26MuRkwA','1878993cbxLYe','636565DtIGJv','JvgLX','1sglZUx','8frPJWv'];a31_0x163e=function(){return _0x2dd951;};return a31_0x163e();}exports[a31_0x4e7374(0x72)]=async _0x119023=>{const _0x3b8259=a31_0x4e7374,_0x4f57e3={};_0x4f57e3[_0x3b8259(0x70)]='2010-05-15',_0x4f57e3[_0x3b8259(0x78)]=_0x3b8259(0x71),_0x4f57e3[_0x3b8259(0x6b)]=_0x3b8259(0x81);const _0x270d48=_0x4f57e3,_0x394e72={};_0x394e72[_0x3b8259(0x74)]=_0x270d48[_0x3b8259(0x70)];const _0x36387f=new AWS['CloudFormation'](_0x394e72),_0x2554ff={};_0x2554ff[_0x3b8259(0x7b)]=_0x119023;const _0x35f0bd=_0x2554ff,_0x13be86=await _0x36387f[_0x3b8259(0x7d)](_0x35f0bd)[_0x3b8259(0x7a)]();logger['debug'](_0x270d48[_0x3b8259(0x78)]);const _0x4f4a1f={};return _0x4f4a1f[_0x3b8259(0x7b)]=_0x119023,_0x36387f[_0x3b8259(0x80)](_0x270d48[_0x3b8259(0x6b)],_0x4f4a1f)[_0x3b8259(0x7a)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a32_0x2e3192=a32_0xb3fa;(function(_0xaf234a,_0x5582d7){const _0x10ea9d=a32_0xb3fa,_0x25e91b=_0xaf234a();while(!![]){try{const _0x54dbfe=parseInt(_0x10ea9d(0xec))/0x1*(-parseInt(_0x10ea9d(0xe1))/0x2)+-parseInt(_0x10ea9d(0xe2))/0x3+parseInt(_0x10ea9d(0xe3))/0x4+-parseInt(_0x10ea9d(0xe8))/0x5*(-parseInt(_0x10ea9d(0xdd))/0x6)+parseInt(_0x10ea9d(0xe7))/0x7+parseInt(_0x10ea9d(0xe0))/0x8+-parseInt(_0x10ea9d(0xeb))/0x9;if(_0x54dbfe===_0x5582d7)break;else _0x25e91b['push'](_0x25e91b['shift']());}catch(_0x44c1fe){_0x25e91b['push'](_0x25e91b['shift']());}}}(a32_0x3ad9,0x3992c));const AWS=require(a32_0x2e3192(0xe5))[a32_0x2e3192(0xdc)],{logger}=require('../config/logger');exports[a32_0x2e3192(0xe4)]=async _0x2fec22=>{const _0x3d060f=a32_0x2e3192,_0x2bbdb7={};_0x2bbdb7['tMEky']=_0x3d060f(0xe6);const _0xf91e7=_0x2bbdb7,_0x2abd3b={};_0x2abd3b['apiVersion']=_0xf91e7[_0x3d060f(0xea)];const _0x25dca5=new AWS[(_0x3d060f(0xde))](_0x2abd3b),_0x407392={};_0x407392[_0x3d060f(0xdf)]=_0x2fec22;const _0x4ec71c=_0x407392;return _0x25dca5['describeStacks'](_0x4ec71c)[_0x3d060f(0xe9)]();};function a32_0xb3fa(_0x1501e5,_0x19e532){const _0x3ad90f=a32_0x3ad9();return a32_0xb3fa=function(_0xb3fae9,_0x124b0e){_0xb3fae9=_0xb3fae9-0xdc;let _0x4df417=_0x3ad90f[_0xb3fae9];return _0x4df417;},a32_0xb3fa(_0x1501e5,_0x19e532);}function a32_0x3ad9(){const _0x2f151c=['2010-05-15','1089291mrmXlq','13745cdUvSS','promise','tMEky','1669500nsWtJa','58966sQsRsD','awsObj','672EzAoDe','CloudFormation','StackName','1284488eojznV','2FuEbFp','732693sjlHQz','401820fTAiwf','describeClusterStack','./AWSUtils'];a32_0x3ad9=function(){return _0x2f151c;};return a32_0x3ad9();}
|