browserstack-node-sdk 1.49.6 → 1.49.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a25_0x3d1567=a25_0x4f6a;function a25_0x4f6a(_0xfbbce6,_0x2e8ed7){const _0xcbb21d=a25_0xcbb2();return a25_0x4f6a=function(_0x4f6a70,_0x3d4b64){_0x4f6a70=_0x4f6a70-0x15e;let _0x4f0e37=_0xcbb21d[_0x4f6a70];return _0x4f0e37;},a25_0x4f6a(_0xfbbce6,_0x2e8ed7);}(function(_0x17bd52,_0x1ff6c9){const _0x38303f=a25_0x4f6a,_0x586560=_0x17bd52();while(!![]){try{const _0x5c2b58=parseInt(_0x38303f(0x189))/0x1*(-parseInt(_0x38303f(0x197))/0x2)+parseInt(_0x38303f(0x16a))/0x3*(-parseInt(_0x38303f(0x1a8))/0x4)+parseInt(_0x38303f(0x176))/0x5+-parseInt(_0x38303f(0x1ea))/0x6*(parseInt(_0x38303f(0x163))/0x7)+parseInt(_0x38303f(0x204))/0x8*(parseInt(_0x38303f(0x1b2))/0x9)+parseInt(_0x38303f(0x210))/0xa+parseInt(_0x38303f(0x1e0))/0xb;if(_0x5c2b58===_0x1ff6c9)break;else _0x586560['push'](_0x586560['shift']());}catch(_0x3964c0){_0x586560['push'](_0x586560['shift']());}}}(a25_0xcbb2,0xa2368));const awsSDK=require('aws-sdk'),{logger}=require(a25_0x3d1567(0x1f9));exports['fetchVPCs']=_0x4d92b5=>{const _0x4ebf92=a25_0x3d1567,_0x2865f6={'AuEoZ':function(_0x4aa304,_0x4ea689){return _0x4aa304===_0x4ea689;},'jFeGc':_0x4ebf92(0x1b4),'iYRYB':function(_0x15f077,_0x73fcb4){return _0x15f077(_0x73fcb4);},'Krihw':function(_0x3e0c0a,_0x19094d){return _0x3e0c0a===_0x19094d;},'fwowr':_0x4ebf92(0x1bb),'MDPVw':'mXSpn','DnblW':'2016-11-15','ObaAE':function(_0x7f82b,_0x5a5ce5){return _0x7f82b!==_0x5a5ce5;},'qxJJK':_0x4ebf92(0x16c)};return new Promise((_0x4b6493,_0xb19b98)=>{const _0xf0312b=_0x4ebf92,_0x39e79b={'nHpZt':function(_0x45680a,_0x23ff08){const _0x4552be=a25_0x4f6a;return _0x2865f6[_0x4552be(0x208)](_0x45680a,_0x23ff08);},'laNLY':_0x2865f6[_0xf0312b(0x20f)],'NLWin':function(_0x6c5a97,_0x305cce){const _0x409c41=_0xf0312b;return _0x2865f6[_0x409c41(0x208)](_0x6c5a97,_0x305cce);}};if(_0x2865f6[_0xf0312b(0x1f2)](_0x2865f6['qxJJK'],_0x2865f6[_0xf0312b(0x20a)]))_0x39e79b[_0xf0312b(0x192)](_0x37aa4d,_0x506cab);else{const _0x3b6a6a={};_0x3b6a6a['apiVersion']=_0x2865f6['DnblW'],_0x3b6a6a[_0xf0312b(0x1cf)]=_0x4d92b5;const _0x1078cd=new awsSDK['EC2'](_0x3b6a6a);_0x1078cd[_0xf0312b(0x191)]()['promise']()['then'](_0x298143=>{const _0x5b631d=_0xf0312b;if(_0x2865f6['AuEoZ'](_0x2865f6[_0x5b631d(0x19a)],_0x2865f6[_0x5b631d(0x19a)]))_0x2865f6[_0x5b631d(0x208)](_0x4b6493,_0x298143);else{const _0x693951={'NTkNy':function(_0x59cc41,_0x45be76){return _0x39e79b['nHpZt'](_0x59cc41,_0x45be76);},'MwkHU':_0x39e79b[_0x5b631d(0x200)]};return new _0x4d4c14((_0x5e294d,_0x2ffcab)=>{const _0x5ae72c=_0x5b631d,_0x5af431={'MaHwd':function(_0x45edbb,_0x8f37e9){const _0x6100df=a25_0x4f6a;return _0x693951[_0x6100df(0x1a4)](_0x45edbb,_0x8f37e9);}},_0x370e8c={};_0x370e8c[_0x5ae72c(0x1f8)]=_0x693951[_0x5ae72c(0x169)],_0x370e8c[_0x5ae72c(0x1cf)]=_0x4347cd;const _0x470fc0=new _0x46da66[(_0x5ae72c(0x1bf))](_0x370e8c);_0x470fc0[_0x5ae72c(0x1d0)]()[_0x5ae72c(0x1d9)]()['then'](_0x142d72=>{const _0x5bcf41=_0x5ae72c;_0x5af431[_0x5bcf41(0x1eb)](_0x5e294d,_0x142d72);})[_0x5ae72c(0x1f7)](_0x4ae682=>{const _0x3931fc=_0x5ae72c;_0x42b220[_0x3931fc(0x1b0)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x4ae682),_0x5af431[_0x3931fc(0x1eb)](_0x2ffcab,_0x4ae682);});});}})['catch'](_0x2a4354=>{const _0x773d72=_0xf0312b,_0x5c7f68={'ozegt':function(_0x2807dd,_0x4d5b73){return _0x2865f6['iYRYB'](_0x2807dd,_0x4d5b73);}};if(_0x2865f6[_0x773d72(0x181)](_0x2865f6[_0x773d72(0x1d7)],_0x2865f6[_0x773d72(0x1d1)])){const _0x1b4068={'NHfwh':function(_0x2ffd58,_0x4db1ec){const _0x1b20f5=_0x773d72;return _0x39e79b[_0x1b20f5(0x171)](_0x2ffd58,_0x4db1ec);}},_0x467164={};_0x467164['apiVersion']=_0x39e79b[_0x773d72(0x200)],_0x467164[_0x773d72(0x1cf)]=_0x148a05;const _0x497f40=new _0x16c68f[(_0x773d72(0x1bf))](_0x467164);_0x497f40[_0x773d72(0x17e)]()['promise']()['then'](_0x270036=>{const _0x113f35=_0x773d72;_0x5c7f68[_0x113f35(0x17c)](_0x3ff619,_0x270036);})['catch'](_0x175296=>{const _0x2b34d6=_0x773d72;_0x3d3105['error'](_0x2b34d6(0x1ad)+_0x175296),_0x1b4068[_0x2b34d6(0x17a)](_0x216ec9,_0x175296);});}else logger[_0x773d72(0x1b0)](_0x773d72(0x193)+_0x2a4354),_0x2865f6[_0x773d72(0x208)](_0xb19b98,_0x2a4354);});}});},exports[a25_0x3d1567(0x183)]=_0x4abbf2=>{const _0x287238=a25_0x3d1567,_0x1deca8={'cZqmk':_0x287238(0x206),'ylJGD':function(_0x174b42,_0x284a7d){return _0x174b42(_0x284a7d);},'AOotB':function(_0xaddd26,_0x502147){return _0xaddd26===_0x502147;},'FQArD':_0x287238(0x195),'tNZkG':_0x287238(0x1b5),'DtKub':function(_0x2fef2c,_0x312df0){return _0x2fef2c(_0x312df0);},'fuAjj':_0x287238(0x1f3),'puUyU':function(_0xc98258,_0x4bd3bb){return _0xc98258(_0x4bd3bb);},'OqAfY':function(_0x56a9bc,_0x4c868a){return _0x56a9bc===_0x4c868a;},'MQaIE':_0x287238(0x173),'wCoCt':_0x287238(0x177)},_0x4a1613=new awsSDK['S3']();return new Promise((_0x277b2e,_0x123686)=>{const _0x35b0d3=_0x287238,_0x3a8417={'Qqspl':function(_0x467e78,_0x1ecd40){const _0x47992e=a25_0x4f6a;return _0x1deca8[_0x47992e(0x20d)](_0x467e78,_0x1ecd40);},'qfwGs':function(_0x38f298,_0x98062e){const _0x128b85=a25_0x4f6a;return _0x1deca8[_0x128b85(0x1ee)](_0x38f298,_0x98062e);},'XaRZk':function(_0x330245,_0x526dbb){const _0x1d93e2=a25_0x4f6a;return _0x1deca8[_0x1d93e2(0x180)](_0x330245,_0x526dbb);},'iqWRF':_0x1deca8['fuAjj'],'dqvwn':function(_0x448382,_0xfb2d7d){const _0x3ce05c=a25_0x4f6a;return _0x1deca8[_0x3ce05c(0x1e3)](_0x448382,_0xfb2d7d);}};if(_0x1deca8[_0x35b0d3(0x1da)](_0x1deca8['MQaIE'],_0x1deca8['wCoCt']))_0x3a8417[_0x35b0d3(0x19f)](_0x50314c,_0x40fd7f['Regions']);else{const _0x20880f={};_0x20880f[_0x35b0d3(0x1bc)]=_0x4abbf2,_0x4a1613[_0x35b0d3(0x1ae)](_0x20880f)[_0x35b0d3(0x1d9)]()['then'](_0x4328a3=>{const _0x41b06b=_0x35b0d3,_0x39ee19={'kfUBV':_0x1deca8[_0x41b06b(0x1bd)],'cEQhq':function(_0x9271a0,_0x2d58b9){const _0x80f37e=_0x41b06b;return _0x1deca8[_0x80f37e(0x20d)](_0x9271a0,_0x2d58b9);}};if(_0x1deca8[_0x41b06b(0x180)](_0x1deca8[_0x41b06b(0x1d5)],_0x1deca8[_0x41b06b(0x187)])){const _0x588ee7={'AHaLj':function(_0x3b8cf6,_0x305749){const _0x5e4f3b=_0x41b06b;return _0x39ee19[_0x5e4f3b(0x1c1)](_0x3b8cf6,_0x305749);},'jfSwS':function(_0xa6aa46,_0xdb2bca){return _0x39ee19['cEQhq'](_0xa6aa46,_0xdb2bca);}};return new _0x5461f0((_0x5f4b65,_0x1bf85a)=>{const _0x35f9a8=_0x41b06b,_0x137095={};_0x137095['apiVersion']=_0x39ee19[_0x35f9a8(0x1b1)],_0x137095[_0x35f9a8(0x1cf)]=_0x1e8b2c;const _0x42d74b=new _0x1d08b4[(_0x35f9a8(0x1bf))](_0x137095);_0x42d74b['describeSubnets']()[_0x35f9a8(0x1d9)]()[_0x35f9a8(0x1e7)](_0x31a3a4=>{const _0x48debe=_0x35f9a8;_0x588ee7[_0x48debe(0x1f4)](_0x5f4b65,_0x31a3a4);})['catch'](_0x36f5fa=>{const _0x2500ee=_0x35f9a8;_0x34f3c9[_0x2500ee(0x1b0)](_0x2500ee(0x1ad)+_0x36f5fa),_0x588ee7['jfSwS'](_0x1bf85a,_0x36f5fa);});});}else logger[_0x41b06b(0x1a5)](_0x41b06b(0x1ac)+_0x4abbf2+_0x41b06b(0x1b6)),_0x1deca8[_0x41b06b(0x20d)](_0x277b2e,!![]);})['catch'](()=>{const _0x3c01fd=_0x35b0d3;_0x3a8417[_0x3c01fd(0x1c0)](_0x3a8417['iqWRF'],_0x3a8417[_0x3c01fd(0x16f)])?(logger[_0x3c01fd(0x1a7)](_0x3c01fd(0x1ac)+_0x4abbf2+_0x3c01fd(0x1ca)),_0x3a8417['dqvwn'](_0x277b2e,![])):_0x3a8417[_0x3c01fd(0x18a)](_0xad1699,_0x3c34d1);});}});},exports[a25_0x3d1567(0x1a1)]=_0x4e70ad=>{const _0x2f8a4c=a25_0x3d1567,_0xf05c74={'miotk':function(_0x5ac20f,_0x433410){return _0x5ac20f(_0x433410);},'pKTpd':function(_0x41b945,_0x28d40c){return _0x41b945===_0x28d40c;},'eYioR':'EYKDZ','hEnNm':function(_0x195617,_0x2b36a9){return _0x195617===_0x2b36a9;},'degvn':'Bnscf','JuYOI':_0x2f8a4c(0x201),'ZQCcN':function(_0x1368a6,_0x5e1aac){return _0x1368a6===_0x5e1aac;},'NIVPG':_0x2f8a4c(0x1f1),'zjNUv':_0x2f8a4c(0x174),'QaDYD':_0x2f8a4c(0x206)};return new Promise((_0x164646,_0x1426a3)=>{const _0x4a94c9=_0x2f8a4c,_0x5415c4={'EkGUs':function(_0x13ed31,_0x3dff3a){const _0x47c8aa=a25_0x4f6a;return _0xf05c74[_0x47c8aa(0x1cd)](_0x13ed31,_0x3dff3a);},'DXqiq':function(_0x358861,_0x46fae3){const _0x20c971=a25_0x4f6a;return _0xf05c74[_0x20c971(0x1cd)](_0x358861,_0x46fae3);},'ZjfRY':function(_0x5a1252,_0x224e8a){const _0x14901f=a25_0x4f6a;return _0xf05c74[_0x14901f(0x160)](_0x5a1252,_0x224e8a);},'ERRwv':_0xf05c74[_0x4a94c9(0x1a0)],'Xcpao':function(_0x2bf60e,_0x532b4b){const _0x400bda=_0x4a94c9;return _0xf05c74[_0x400bda(0x1cd)](_0x2bf60e,_0x532b4b);},'YxGaB':function(_0x4d830d,_0x3d9470){const _0x5591b0=_0x4a94c9;return _0xf05c74[_0x5591b0(0x1f5)](_0x4d830d,_0x3d9470);},'xnCvJ':_0xf05c74['degvn'],'JuEjG':_0xf05c74[_0x4a94c9(0x1ba)]};if(_0xf05c74[_0x4a94c9(0x1d8)](_0xf05c74[_0x4a94c9(0x205)],_0xf05c74[_0x4a94c9(0x168)]))_0x581f09[_0x4a94c9(0x1b0)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x27f072),_0x5415c4[_0x4a94c9(0x1cb)](_0x1cbd9a,_0x1f708e);else{const _0x19f726={};_0x19f726[_0x4a94c9(0x1f8)]=_0xf05c74['QaDYD'],_0x19f726[_0x4a94c9(0x1cf)]=_0x4e70ad;const _0x4ee04d=new awsSDK['EC2'](_0x19f726);_0x4ee04d['describeSubnets']()['promise']()[_0x4a94c9(0x1e7)](_0x3863bb=>{const _0x329621=_0x4a94c9;_0x5415c4[_0x329621(0x1d4)](_0x5415c4[_0x329621(0x1de)],_0x5415c4[_0x329621(0x1de)])?_0x5415c4[_0x329621(0x1a9)](_0x164646,_0x3863bb):(_0x1fdf0b[_0x329621(0x1a5)](_0x329621(0x1ac)+_0xcc864d+_0x329621(0x1b6)),_0x5415c4[_0x329621(0x1a9)](_0xadb039,!![]));})[_0x4a94c9(0x1f7)](_0x5ebe0c=>{const _0x26c4ca=_0x4a94c9,_0x4c6599={'wQhmx':function(_0x5840c3,_0xd61c91){const _0x5b1ee9=a25_0x4f6a;return _0x5415c4[_0x5b1ee9(0x17b)](_0x5840c3,_0xd61c91);}};_0x5415c4[_0x26c4ca(0x1df)](_0x5415c4[_0x26c4ca(0x18c)],_0x5415c4[_0x26c4ca(0x17f)])?_0x4c6599[_0x26c4ca(0x18d)](_0x6f8155,{}):(logger['error'](_0x26c4ca(0x1ad)+_0x5ebe0c),_0x5415c4[_0x26c4ca(0x1a9)](_0x1426a3,_0x5ebe0c));});}});},exports[a25_0x3d1567(0x18b)]=_0x1e6e53=>{const _0x37e9d4=a25_0x3d1567,_0x114ed6={'LZsVo':function(_0xfc569d,_0x541db6){return _0xfc569d(_0x541db6);},'LgnYg':function(_0x347711,_0x1e02ef){return _0x347711!==_0x1e02ef;},'JpDdf':function(_0x5809ab,_0x1d846b){return _0x5809ab!==_0x1d846b;},'MJGbn':function(_0x57a70f,_0x1cda06){return _0x57a70f(_0x1cda06);},'UaJcu':_0x37e9d4(0x15f),'AAVkn':function(_0x4af3a0,_0x1c2de4){return _0x4af3a0(_0x1c2de4);},'opgHy':function(_0x261d68,_0xf42513){return _0x261d68===_0xf42513;},'KoDUx':'bNtzj','GUwRv':function(_0x8ef76e,_0xcae6d3){return _0x8ef76e(_0xcae6d3);},'rvBwM':function(_0x1963ba,_0x2c8d0d){return _0x1963ba(_0x2c8d0d);},'Ckhiy':'2016-11-15','iRUgr':'PchqF','FjYGc':_0x37e9d4(0x1b3)};return new Promise((_0x1ef6eb,_0x340153)=>{const _0x3cc796=_0x37e9d4,_0x4eaf14={'olnUh':function(_0x42c7ad,_0x3552f3){const _0x4fe2c2=a25_0x4f6a;return _0x114ed6[_0x4fe2c2(0x1dc)](_0x42c7ad,_0x3552f3);},'FBYiZ':_0x114ed6[_0x3cc796(0x1fd)]};if(_0x114ed6['opgHy'](_0x114ed6['iRUgr'],_0x114ed6[_0x3cc796(0x1ab)])){const _0x468933={'cuSxu':function(_0x733751,_0x1791ee){return _0x114ed6['LZsVo'](_0x733751,_0x1791ee);}};return new _0xc971e1((_0x43d937,_0x102f25)=>{const _0x797206=_0x3cc796,_0x5926a1={'wphPc':function(_0x2be0ba,_0x5d981a){const _0xa43b71=a25_0x4f6a;return _0x4eaf14[_0xa43b71(0x1ec)](_0x2be0ba,_0x5d981a);}},_0x18dbe3={};_0x18dbe3[_0x797206(0x1f8)]=_0x4eaf14['FBYiZ'],_0x18dbe3['region']=_0x1e5284;const _0x1b6842=new _0x2f68ce[(_0x797206(0x1bf))](_0x18dbe3);_0x1b6842[_0x797206(0x191)]()['promise']()['then'](_0x5a56a9=>{_0x468933['cuSxu'](_0x43d937,_0x5a56a9);})['catch'](_0x1a9d43=>{const _0x4a4ae8=_0x797206;_0x39c58b[_0x4a4ae8(0x1b0)](_0x4a4ae8(0x193)+_0x1a9d43),_0x5926a1['wphPc'](_0x102f25,_0x1a9d43);});});}else{const _0xb425c4={};_0xb425c4[_0x3cc796(0x1f8)]=_0x114ed6[_0x3cc796(0x1fd)],_0xb425c4[_0x3cc796(0x1cf)]=_0x1e6e53;const _0x7ee854=new awsSDK[(_0x3cc796(0x1bf))](_0xb425c4);_0x7ee854[_0x3cc796(0x1d0)]()[_0x3cc796(0x1d9)]()['then'](_0x1dda40=>{const _0x2ed28b=_0x3cc796,_0xb8637={'lecqz':function(_0x43f592,_0x584fe6){const _0xec3169=a25_0x4f6a;return _0x114ed6[_0xec3169(0x185)](_0x43f592,_0x584fe6);},'NDDCK':function(_0x2e3453,_0x585df0){const _0x4ac772=a25_0x4f6a;return _0x114ed6[_0x4ac772(0x166)](_0x2e3453,_0x585df0);},'sKUuf':function(_0x285669,_0x30cb7a){return _0x114ed6['MJGbn'](_0x285669,_0x30cb7a);}};_0x114ed6[_0x2ed28b(0x166)](_0x114ed6[_0x2ed28b(0x1f6)],_0x114ed6[_0x2ed28b(0x1f6)])?_0xb8637[_0x2ed28b(0x1d6)](_0x146792,_0x270337)&&_0xb8637[_0x2ed28b(0x1c9)](_0x5e546c[_0x2ed28b(0x1c4)],_0x107f23)?_0xb8637['sKUuf'](_0x18b218,_0x38e3d0['Regions']):_0xb8637[_0x2ed28b(0x202)](_0x3350bf,{}):_0x114ed6['AAVkn'](_0x1ef6eb,_0x1dda40);})['catch'](_0x76b16b=>{const _0x494913=_0x3cc796,_0x5592ad={'vvpSB':function(_0x953704,_0x3b1e91){return _0x114ed6['LZsVo'](_0x953704,_0x3b1e91);}};_0x114ed6[_0x494913(0x19e)](_0x114ed6[_0x494913(0x1c8)],_0x114ed6['KoDUx'])?(logger[_0x494913(0x1b0)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x76b16b),_0x114ed6[_0x494913(0x20c)](_0x340153,_0x76b16b)):(_0x2c15be[_0x494913(0x1b0)]('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x362a9c),_0x5592ad[_0x494913(0x1e4)](_0x4be64e,_0x1133cf));});}});},exports[a25_0x3d1567(0x1aa)]=()=>{const _0x30738c=a25_0x3d1567,_0x4e8817={'mKkNK':function(_0x2986e2,_0x513de){return _0x2986e2(_0x513de);},'SIiHH':function(_0x44e106,_0x240249){return _0x44e106!==_0x240249;},'xfBQL':'msXpb','IlkqK':_0x30738c(0x165),'rFUkM':function(_0x47452a,_0x1b7fe7){return _0x47452a!==_0x1b7fe7;},'mAloI':function(_0xe8c551,_0x201f2b){return _0xe8c551===_0x201f2b;},'rUegg':_0x30738c(0x196),'KXgOx':_0x30738c(0x184),'DosJz':_0x30738c(0x18e),'tsvFT':_0x30738c(0x1f0),'cFtYU':'mgekT','AupGo':function(_0x14c4c3,_0xc59923){return _0x14c4c3(_0xc59923);},'hsIwY':_0x30738c(0x164),'meGNx':function(_0x293c73,_0x4da168){return _0x293c73===_0x4da168;},'MHVgs':_0x30738c(0x1c7),'EOUlx':_0x30738c(0x206)};return new Promise((_0x5d3f62,_0x3e8df4)=>{const _0x3aa9f8=_0x30738c,_0x559664={'cAHCH':function(_0x501410,_0x5c1e9d){const _0xacaaf1=a25_0x4f6a;return _0x4e8817[_0xacaaf1(0x16b)](_0x501410,_0x5c1e9d);},'zBusu':function(_0x48cb7a,_0x6b862d){return _0x4e8817['mKkNK'](_0x48cb7a,_0x6b862d);},'sHUrs':function(_0x2a866c,_0x5f0cd2){const _0x196372=a25_0x4f6a;return _0x4e8817[_0x196372(0x1be)](_0x2a866c,_0x5f0cd2);},'OFOKC':_0x4e8817[_0x3aa9f8(0x1cc)],'NDvBI':_0x4e8817[_0x3aa9f8(0x20b)],'olvVO':function(_0x5ad378,_0x14eb96){return _0x4e8817['rFUkM'](_0x5ad378,_0x14eb96);},'zjdrs':function(_0xf5c98a,_0x373e11){return _0x4e8817['mAloI'](_0xf5c98a,_0x373e11);},'JQkMq':_0x4e8817['rUegg'],'tFrNv':_0x4e8817[_0x3aa9f8(0x1e2)],'yoqPl':function(_0x1474d9,_0x4f72ab){const _0x24f1a2=_0x3aa9f8;return _0x4e8817[_0x24f1a2(0x16b)](_0x1474d9,_0x4f72ab);},'LYyxD':_0x4e8817[_0x3aa9f8(0x1c3)],'FreXU':function(_0x15f273,_0x49c9fc){const _0x2b7409=_0x3aa9f8;return _0x4e8817[_0x2b7409(0x16b)](_0x15f273,_0x49c9fc);},'tMHrh':_0x4e8817['tsvFT'],'GGsNc':_0x4e8817['cFtYU'],'uLvny':function(_0x367f61,_0xf6b6e8){const _0x53e031=_0x3aa9f8;return _0x4e8817[_0x53e031(0x1e8)](_0x367f61,_0xf6b6e8);},'gUuPn':_0x4e8817[_0x3aa9f8(0x186)]};if(_0x4e8817[_0x3aa9f8(0x209)](_0x4e8817[_0x3aa9f8(0x178)],_0x4e8817[_0x3aa9f8(0x178)])){const _0x53bc2b={};_0x53bc2b[_0x3aa9f8(0x1f8)]=_0x4e8817[_0x3aa9f8(0x167)];const _0x436662=new awsSDK[(_0x3aa9f8(0x1bf))](_0x53bc2b);_0x436662[_0x3aa9f8(0x1c6)]()[_0x3aa9f8(0x1d9)]()['then']((_0x41c762,_0x1054f8)=>{const _0x23f129=_0x3aa9f8,_0x37c828={'FgDIz':function(_0x53fded,_0x5d1c60){return _0x559664['zBusu'](_0x53fded,_0x5d1c60);}};if(_0x559664[_0x23f129(0x1e6)](_0x559664[_0x23f129(0x203)],_0x559664[_0x23f129(0x198)])){if(_0x559664['olvVO'](_0x41c762,undefined)&&_0x559664[_0x23f129(0x1e6)](_0x41c762['Regions'],undefined)){if(_0x559664['zjdrs'](_0x559664[_0x23f129(0x172)],_0x559664[_0x23f129(0x1ef)])){const _0x45963f={'SCmwe':function(_0x35bcbe,_0x154750){return _0x37c828['FgDIz'](_0x35bcbe,_0x154750);}},_0x437dc6=new _0x1e5c1f['S3']();return new _0xc5eb57((_0x1e9344,_0x2891ac)=>{const _0x28406f=_0x23f129,_0x437ae5={'CpqgQ':function(_0x1a5272,_0x24ae0a){const _0xc00031=a25_0x4f6a;return _0x45963f[_0xc00031(0x1e5)](_0x1a5272,_0x24ae0a);}},_0xbdc045={};_0xbdc045[_0x28406f(0x1bc)]=_0x5cae6b,_0x437dc6[_0x28406f(0x1ae)](_0xbdc045)[_0x28406f(0x1d9)]()[_0x28406f(0x1e7)](_0x2330c7=>{const _0x21ccbc=_0x28406f;_0x55166b[_0x21ccbc(0x1a5)](_0x21ccbc(0x1ac)+_0xac94ff+_0x21ccbc(0x1b6)),_0x45963f[_0x21ccbc(0x1e5)](_0x1e9344,!![]);})[_0x28406f(0x1f7)](()=>{const _0x419c81=_0x28406f;_0x182c38[_0x419c81(0x1a7)](_0x419c81(0x1ac)+_0x316135+_0x419c81(0x1ca)),_0x437ae5['CpqgQ'](_0x1e9344,![]);});});}else _0x559664[_0x23f129(0x1a2)](_0x5d3f62,_0x41c762['Regions']);}else _0x559664[_0x23f129(0x1ce)](_0x559664['LYyxD'],_0x559664['LYyxD'])?_0x559664[_0x23f129(0x1ed)](_0x5d3f62,{}):(_0x1a5943[_0x23f129(0x1b0)](_0x23f129(0x1fa)+_0x3bdac7),_0x559664[_0x23f129(0x1ed)](_0x4ed6cc,_0x3afe64));}else _0x559664[_0x23f129(0x1ed)](_0x2f9a91,_0x3ed1de);})[_0x3aa9f8(0x1f7)](_0x5a0a79=>{const _0x3af97a=_0x3aa9f8,_0x3c7a3e={'TAYtZ':function(_0x3fae18,_0x5e5988){return _0x559664['FreXU'](_0x3fae18,_0x5e5988);}};_0x559664[_0x3af97a(0x1db)](_0x559664['tMHrh'],_0x559664[_0x3af97a(0x1e1)])?(logger['error'](_0x3af97a(0x1fa)+_0x5a0a79),_0x559664['cAHCH'](_0x3e8df4,_0x5a0a79)):(_0x1a53ef[_0x3af97a(0x1a7)](_0x3af97a(0x1ac)+_0x2b72d2+_0x3af97a(0x1ca)),_0x3c7a3e['TAYtZ'](_0x132ec5,![]));});}else{const _0x4fcb8d={'JVYxb':function(_0x468bbb,_0x5c23b9){const _0x5ce2e6=_0x3aa9f8;return _0x559664[_0x5ce2e6(0x199)](_0x468bbb,_0x5c23b9);}},_0x15e8c0={};_0x15e8c0[_0x3aa9f8(0x1f8)]=_0x559664[_0x3aa9f8(0x1a3)];const _0x395565=new _0x1d0fab['EKS'](_0x15e8c0),_0x3ece6f={};_0x3ece6f[_0x3aa9f8(0x16d)]=_0x5a359e,_0x395565[_0x3aa9f8(0x179)](_0x3ece6f)[_0x3aa9f8(0x1d9)]()[_0x3aa9f8(0x1e7)](_0x310070=>{const _0x4ceea0=_0x3aa9f8;_0x559664[_0x4ceea0(0x194)](_0x5d4d3d,_0x310070[_0x4ceea0(0x188)]['identity']['oidc'][_0x4ceea0(0x170)]);})[_0x3aa9f8(0x1f7)](_0x2ac226=>{const _0x3efba3=_0x3aa9f8;_0x321ab3[_0x3efba3(0x1b0)](_0x3efba3(0x1fb)+_0xb7d693+':\x20'+_0x2ac226),_0x4fcb8d[_0x3efba3(0x175)](_0x1161a1,_0x2ac226);});}});},exports['getOidcUrl']=_0xceb371=>{const _0x33d4e3=a25_0x3d1567,_0x32d226={'ckBpt':function(_0x4ce2f1,_0x55a75c){return _0x4ce2f1(_0x55a75c);},'JPXsq':function(_0x2b4b63,_0x50179f){return _0x2b4b63!==_0x50179f;},'SnZdq':_0x33d4e3(0x1a6),'LxOqu':_0x33d4e3(0x1d2),'xaqMX':function(_0x1c0149,_0x467eb1){return _0x1c0149(_0x467eb1);},'nUmvH':'2017-11-01','iekcg':function(_0x293374,_0x1e675c){return _0x293374===_0x1e675c;},'xgyjd':'ZHdaQ','bbKWx':function(_0x34321e,_0x48be2f){return _0x34321e===_0x48be2f;},'ofwQi':_0x33d4e3(0x162)};return new Promise((_0x389b0b,_0x42e220)=>{const _0x2e09ef=_0x33d4e3,_0x534f99={'JTbEo':function(_0x29bf0a,_0x210065){return _0x32d226['ckBpt'](_0x29bf0a,_0x210065);},'cuxYQ':function(_0x1384de,_0x3a1947){const _0x3f78a2=a25_0x4f6a;return _0x32d226[_0x3f78a2(0x1ff)](_0x1384de,_0x3a1947);},'tcYRY':_0x32d226['SnZdq'],'eWhCT':_0x32d226[_0x2e09ef(0x182)],'PGMQH':function(_0x2496f1,_0x12ea1c){const _0x39f3ff=_0x2e09ef;return _0x32d226[_0x39f3ff(0x1d3)](_0x2496f1,_0x12ea1c);},'fnPHE':_0x32d226['nUmvH'],'fQEpD':function(_0x422c10,_0x943a7e){const _0x53bc89=_0x2e09ef;return _0x32d226[_0x53bc89(0x207)](_0x422c10,_0x943a7e);},'aDkos':_0x32d226['xgyjd']};if(_0x32d226[_0x2e09ef(0x1b9)](_0x32d226[_0x2e09ef(0x19c)],_0x32d226['ofwQi'])){const _0x589ca4={};_0x589ca4[_0x2e09ef(0x1f8)]=_0x32d226['nUmvH'];const _0x23bcbb=new awsSDK['EKS'](_0x589ca4),_0xd14f13={};_0xd14f13[_0x2e09ef(0x16d)]=_0xceb371,_0x23bcbb[_0x2e09ef(0x179)](_0xd14f13)['promise']()[_0x2e09ef(0x1e7)](_0x54df13=>{const _0x5037c4=_0x2e09ef,_0x2cdff0={'qYrjb':function(_0x241f3c,_0x333cfc){const _0x1f0a65=a25_0x4f6a;return _0x534f99[_0x1f0a65(0x1b7)](_0x241f3c,_0x333cfc);}};_0x534f99[_0x5037c4(0x1fe)](_0x534f99[_0x5037c4(0x1c5)],_0x534f99[_0x5037c4(0x1e9)])?_0x534f99[_0x5037c4(0x1b7)](_0x389b0b,_0x54df13[_0x5037c4(0x188)]['identity'][_0x5037c4(0x16e)]['issuer']):(_0xb5dfd1[_0x5037c4(0x1b0)](_0x5037c4(0x1dd)+_0x35fb55),_0x2cdff0['qYrjb'](_0x4dee6d,_0x4a1d72));})['catch'](_0x5a33ff=>{const _0x426d62=_0x2e09ef,_0x37d19d={'exTbK':function(_0x556c3a,_0x5e655d){const _0x3f5a3c=a25_0x4f6a;return _0x534f99[_0x3f5a3c(0x15e)](_0x556c3a,_0x5e655d);},'OwYAx':_0x534f99[_0x426d62(0x17d)]};if(_0x534f99[_0x426d62(0x1fc)](_0x534f99[_0x426d62(0x19b)],_0x534f99[_0x426d62(0x19b)]))logger[_0x426d62(0x1b0)](_0x426d62(0x1fb)+_0xceb371+':\x20'+_0x5a33ff),_0x534f99['JTbEo'](_0x42e220,_0x5a33ff);else{const _0x4aff8d={'utbuz':function(_0x5274ab,_0x128fd6){const _0x4b2c2e=_0x426d62;return _0x37d19d[_0x4b2c2e(0x161)](_0x5274ab,_0x128fd6);},'rRuYD':_0x37d19d[_0x426d62(0x18f)]};return new _0x3e874c((_0x358b78,_0x25f22b)=>{const _0xf607ca=_0x426d62,_0x1271cb={};_0x1271cb[_0xf607ca(0x1f8)]=_0x4aff8d[_0xf607ca(0x1b8)];const _0x109463=new _0x1b783a[(_0xf607ca(0x19d))](_0x1271cb),_0x5ae9d6={};_0x5ae9d6['name']=_0x281c36,_0x109463[_0xf607ca(0x179)](_0x5ae9d6)[_0xf607ca(0x1d9)]()['then'](_0x1614dd=>{const _0x310ead=_0xf607ca;_0x4aff8d[_0x310ead(0x1af)](_0x358b78,_0x1614dd[_0x310ead(0x188)][_0x310ead(0x190)][_0x310ead(0x16e)][_0x310ead(0x170)]);})[_0xf607ca(0x1f7)](_0x1bb859=>{const _0x271672=_0xf607ca;_0x2e2488['error'](_0x271672(0x1fb)+_0x48fef8+':\x20'+_0x1bb859),_0x4aff8d[_0x271672(0x1af)](_0x25f22b,_0x1bb859);});});}});}else _0x32d226[_0x2e09ef(0x20e)](_0x47ee8a,_0x2dcc9e['cluster'][_0x2e09ef(0x190)][_0x2e09ef(0x16e)][_0x2e09ef(0x170)]);});},exports[a25_0x3d1567(0x1c2)]=awsSDK;function a25_0xcbb2(){const _0x4202f5=['fetchSecurityGroups','xnCvJ','wQhmx','uZjEs','OwYAx','identity','describeVpcs','nHpZt','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','zBusu','XiNlr','FmDHK','1282BKWODh','NDvBI','uLvny','jFeGc','aDkos','ofwQi','EKS','opgHy','Qqspl','eYioR','fetchSubnets','yoqPl','gUuPn','NTkNy','warn','ITWeq','info','1566876XXYkxu','DXqiq','getAWSRegions','FjYGc','Bucket:\x20','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','headBucket','utbuz','error','kfUBV','1035189kfwYHB','WmZWH','lYQmU','mCULF','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','JTbEo','rRuYD','bbKWx','JuYOI','DRtoH','Bucket','cZqmk','SIiHH','EC2','XaRZk','cEQhq','awsObj','DosJz','Regions','tcYRY','describeRegions','MXrFi','KoDUx','NDDCK','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','EkGUs','xfBQL','miotk','zjdrs','region','describeSecurityGroups','MDPVw','uWunV','xaqMX','ZjfRY','FQArD','lecqz','fwowr','ZQCcN','promise','OqAfY','olvVO','rvBwM','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','ERRwv','YxGaB','10485002XeHyxf','GGsNc','KXgOx','puUyU','vvpSB','SCmwe','sHUrs','then','AupGo','eWhCT','4426572jrbmLc','MaHwd','olnUh','cAHCH','DtKub','tFrNv','gRnKJ','JTWwC','ObaAE','Rgewm','AHaLj','hEnNm','UaJcu','catch','apiVersion','../config/logger','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','fQEpD','Ckhiy','cuxYQ','JPXsq','laNLY','zsmCQ','sKUuf','OFOKC','88xXPCZY','NIVPG','2016-11-15','iekcg','iYRYB','meGNx','qxJJK','IlkqK','GUwRv','ylJGD','ckBpt','DnblW','4682600rFynqw','PGMQH','TwtkH','pKTpd','exTbK','OtLWb','7lqZfMc','2017-11-01','aTUti','JpDdf','EOUlx','zjNUv','MwkHU','3JKQPuW','mKkNK','XQOYo','name','oidc','iqWRF','issuer','NLWin','JQkMq','McmwK','aRGeI','JVYxb','1721810bwwHNE','ZUAFj','MHVgs','describeCluster','NHfwh','Xcpao','ozegt','fnPHE','describeSubnets','JuEjG','AOotB','Krihw','LxOqu','isBucketPresent','rYqmf','LgnYg','hsIwY','tNZkG','cluster','1930HRCxyV','qfwGs'];a25_0xcbb2=function(){return _0x4202f5;};return a25_0xcbb2();}
|
|
1
|
+
const a25_0x2b0eb3=a25_0x4a2d;function a25_0xbfdf(){const _0x26037a=['imlGi','qrMad','dZZyA','pyhxK','CyYNj','HDgkC','Bucket:\x20','ArAVS','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','EkMUM','wphrO','GEVOs','WtJjg','IgmIt','lzhLQ','jtNUs','qkcKU','describeVpcs','rfzIz','QXcbV','lqEGg','biDSj','1602537ajuBIu','cPVQH','LPYbj','isBucketPresent','WxGmj','XJPYV','czTGC','AVfwe','iCmKV','oidc','ITsvY','NjZbl','WrQKY','TRAkG','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','describeSecurityGroups','RSBBo','nFjNz','CuBFW','14IyXehf','YHHOP','Bucket','OuShQ','lzpFu','jZyzh','headBucket','GlPyn','oVzBt','BpntJ','describeSubnets','NpWKh','lPAwp','EC2','fBXsE','712758CwwUAq','WYbTT','UoaUi','vYMwe','IuhAA','lZgDM','DGGaJ','name','YQDyn','kMbfL','cJOHU','VUYAb','2340486xJFyqn','aNKIe','RrNkC','JIWrB','error','obSpQ','GVjbN','ifXZp','cluster','jNTgY','fetchSecurityGroups','describeRegions','udPfh','xTLLK','region','VcJWj','UwmeS','describeCluster','LcMhC','upcPp','info','LwgzG','EKS','KNtvL','zZmfa','ZUBJm','SCncZ','Ubokp','eSidh','GKQxJ','gUmYb','13385bNyFMt','2016-11-15','fXZEu','vksDN','SxfbX','catch','KHcQP','GnpBd','hkRWO','identity','imJrZ','IwWtG','oWBOO','NJZUs','YBLcY','qqNkN','JVVhj','beZUR','853520psQyUe','hwUNw','IHsSk','gINfl','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','then','ZfAtG','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','xoJqg','qWIEI','isGkA','VsnVW','XiPiH','fetchSubnets','sTqbB','cHqTW','sTuyR','PONrV','QRwCo','nVIMe','EFRbL','apiVersion','Regions','SiDNT','VIyEj','fetchVPCs','XnQpm','obPLf','gmYeh','aws-sdk','lHiFl','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','jaKtN','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','EteuX','FvMVR','txTVW','WYBrO','qVQya','SoFsd','ZOGEh','7264280eDhUMJ','ROOqp','tWpzL','vxSfD','GAbmq','warn','iiTzI','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','zOrHW','promise','eAEas','yHKIR','cNtwV','roLNF','vMxhZ','issuer','qahNW','gpvtA','2195864JTlKtv'];a25_0xbfdf=function(){return _0x26037a;};return a25_0xbfdf();}function a25_0x4a2d(_0x3625f9,_0x1a8d54){const _0xbfdf50=a25_0xbfdf();return a25_0x4a2d=function(_0x4a2d29,_0x5655bc){_0x4a2d29=_0x4a2d29-0x1e7;let _0x4fc19d=_0xbfdf50[_0x4a2d29];return _0x4fc19d;},a25_0x4a2d(_0x3625f9,_0x1a8d54);}(function(_0x1a3f3c,_0x2acc5e){const _0x4b0b9c=a25_0x4a2d,_0x1d1fdb=_0x1a3f3c();while(!![]){try{const _0x51f5d8=parseInt(_0x4b0b9c(0x289))/0x1+-parseInt(_0x4b0b9c(0x215))/0x2+-parseInt(_0x4b0b9c(0x267))/0x3+parseInt(_0x4b0b9c(0x250))/0x4+parseInt(_0x4b0b9c(0x203))/0x5+-parseInt(_0x4b0b9c(0x295))/0x6*(parseInt(_0x4b0b9c(0x27a))/0x7)+parseInt(_0x4b0b9c(0x23e))/0x8;if(_0x51f5d8===_0x2acc5e)break;else _0x1d1fdb['push'](_0x1d1fdb['shift']());}catch(_0x23256e){_0x1d1fdb['push'](_0x1d1fdb['shift']());}}}(a25_0xbfdf,0x694e7));const awsSDK=require(a25_0x2b0eb3(0x232)),{logger}=require('../config/logger');exports[a25_0x2b0eb3(0x22e)]=_0x325aac=>{const _0x9c9076=a25_0x2b0eb3,_0x583a9d={'yHKIR':function(_0xb8ae1a,_0x745b11){return _0xb8ae1a!==_0x745b11;},'GKQxJ':function(_0x3e19b4,_0x940cae){return _0x3e19b4!==_0x940cae;},'GvyOL':function(_0x5edf0f,_0x3dc64e){return _0x5edf0f(_0x3dc64e);},'jZyzh':function(_0x232fbd,_0x51259a){return _0x232fbd(_0x51259a);},'gUmYb':function(_0x12f54d,_0x4734a5){return _0x12f54d===_0x4734a5;},'zOrHW':_0x9c9076(0x269),'lZgDM':function(_0x6a701b,_0xb0cf01){return _0x6a701b(_0xb0cf01);},'obSpQ':'2016-11-15','czTGC':_0x9c9076(0x248),'kUdKR':'jTAhR','qahNW':function(_0xeecf6c,_0x59bfd6){return _0xeecf6c(_0x59bfd6);},'YBLcY':_0x9c9076(0x1f9)};return new Promise((_0x5865db,_0x418f35)=>{const _0x50ca80=_0x9c9076,_0x5c9287={'PONrV':function(_0x49b55a,_0x8c044d){const _0x22950f=a25_0x4a2d;return _0x583a9d[_0x22950f(0x28e)](_0x49b55a,_0x8c044d);},'roLNF':_0x583a9d['obSpQ'],'ITsvY':function(_0x265ff5,_0x20a260){const _0x278532=a25_0x4a2d;return _0x583a9d[_0x278532(0x202)](_0x265ff5,_0x20a260);},'pVEcR':_0x583a9d[_0x50ca80(0x26d)],'eUaUk':_0x583a9d['kUdKR'],'lzhLQ':function(_0xb0c982,_0x5c2115){const _0x1cbc27=_0x50ca80;return _0x583a9d[_0x1cbc27(0x24e)](_0xb0c982,_0x5c2115);}};if(_0x583a9d[_0x50ca80(0x249)](_0x583a9d[_0x50ca80(0x211)],_0x583a9d['YBLcY']))_0x583a9d[_0x50ca80(0x249)](_0x3512f6,_0xffd44b)&&_0x583a9d[_0x50ca80(0x201)](_0x2da946[_0x50ca80(0x22b)],_0x18f126)?_0x583a9d['GvyOL'](_0x3d373c,_0x2dd647['Regions']):_0x583a9d[_0x50ca80(0x27f)](_0x155162,{});else{const _0x4086d2={};_0x4086d2[_0x50ca80(0x22a)]=_0x583a9d[_0x50ca80(0x1e9)],_0x4086d2[_0x50ca80(0x1f2)]=_0x325aac;const _0x525c1f=new awsSDK['EC2'](_0x4086d2);_0x525c1f[_0x50ca80(0x262)]()[_0x50ca80(0x247)]()['then'](_0x414468=>{const _0x58d451=_0x50ca80,_0x11a74b={'qkcKU':function(_0x9b9e4e,_0x41d21c){const _0x1c89ed=a25_0x4a2d;return _0x5c9287[_0x1c89ed(0x226)](_0x9b9e4e,_0x41d21c);},'qqNkN':_0x5c9287[_0x58d451(0x24b)]};if(_0x5c9287[_0x58d451(0x271)](_0x5c9287['pVEcR'],_0x5c9287['eUaUk'])){const _0x5da0af={'kpgfU':function(_0x23a470,_0x29fd36){const _0x45eeef=_0x58d451;return _0x11a74b[_0x45eeef(0x261)](_0x23a470,_0x29fd36);}};return new _0x483089((_0x2d9747,_0x351dc0)=>{const _0xe1571c=_0x58d451,_0x15dff8={'lHiFl':function(_0x52e167,_0x35ece8){return _0x11a74b['qkcKU'](_0x52e167,_0x35ece8);}},_0x5e0c2b={};_0x5e0c2b['apiVersion']=_0x11a74b[_0xe1571c(0x212)],_0x5e0c2b[_0xe1571c(0x1f2)]=_0x33f6fa;const _0xc4c48e=new _0x40f5e6['EC2'](_0x5e0c2b);_0xc4c48e['describeVpcs']()[_0xe1571c(0x247)]()[_0xe1571c(0x21a)](_0x2f9461=>{const _0xf4b07e=_0xe1571c;_0x15dff8[_0xf4b07e(0x233)](_0x2d9747,_0x2f9461);})['catch'](_0x4d578a=>{const _0x33a50e=_0xe1571c;_0x5b586c['error'](_0x33a50e(0x21c)+_0x4d578a),_0x5da0af['kpgfU'](_0x351dc0,_0x4d578a);});});}else _0x5c9287[_0x58d451(0x25f)](_0x5865db,_0x414468);})[_0x50ca80(0x208)](_0x1c23bd=>{const _0x3a7896=_0x50ca80,_0x49fb27={'dZZyA':function(_0x4be817,_0x2cfb64){const _0x10ef8c=a25_0x4a2d;return _0x583a9d[_0x10ef8c(0x27f)](_0x4be817,_0x2cfb64);}};_0x583a9d[_0x3a7896(0x202)](_0x583a9d[_0x3a7896(0x246)],_0x583a9d[_0x3a7896(0x246)])?(logger[_0x3a7896(0x1e8)](_0x3a7896(0x21c)+_0x1c23bd),_0x583a9d['GvyOL'](_0x418f35,_0x1c23bd)):(_0x40b53f[_0x3a7896(0x1f8)](_0x3a7896(0x257)+_0x3ecb32+_0x3a7896(0x245)),_0x49fb27[_0x3a7896(0x253)](_0x93abed,![]));});}});},exports[a25_0x2b0eb3(0x26a)]=_0x57edc8=>{const _0xddf9d6=a25_0x2b0eb3,_0x52c2e2={'jNTgY':function(_0x8d81e,_0x587f59){return _0x8d81e(_0x587f59);},'gINfl':function(_0x5b9488,_0x517ab4){return _0x5b9488(_0x517ab4);},'QbAAz':'2016-11-15','sTqbB':function(_0x5247e6,_0x5253f6){return _0x5247e6===_0x5253f6;},'gXtAW':_0xddf9d6(0x28f),'dXFSG':'jlrfN','CuBFW':function(_0x242a41,_0x112b1e){return _0x242a41!==_0x112b1e;},'EFRbL':_0xddf9d6(0x281),'rKNFH':function(_0x549b4e,_0x5ca75f){return _0x549b4e===_0x5ca75f;},'hwUNw':_0xddf9d6(0x22f),'YHHOP':_0xddf9d6(0x1f4)},_0x3d7de4=new awsSDK['S3']();return new Promise((_0x235485,_0x20172c)=>{const _0x1d0686=_0xddf9d6,_0x21416b={'jtNUs':function(_0x4b4bb3,_0x2f347a){return _0x52c2e2['jNTgY'](_0x4b4bb3,_0x2f347a);},'GnpBd':function(_0x3c15db,_0x5ea6de){const _0x5603f9=a25_0x4a2d;return _0x52c2e2[_0x5603f9(0x218)](_0x3c15db,_0x5ea6de);},'QXcbV':_0x52c2e2['QbAAz'],'WrQKY':function(_0x257b2a,_0x33efa6){const _0x37b332=a25_0x4a2d;return _0x52c2e2[_0x37b332(0x223)](_0x257b2a,_0x33efa6);},'SxfbX':_0x52c2e2['gXtAW'],'jaKtN':_0x52c2e2['dXFSG'],'QRwCo':function(_0x2e25b1,_0x89e373){const _0x2f3579=a25_0x4a2d;return _0x52c2e2[_0x2f3579(0x1ed)](_0x2e25b1,_0x89e373);},'HDgkC':function(_0x40d167,_0x1806b6){const _0x2c05=a25_0x4a2d;return _0x52c2e2[_0x2c05(0x218)](_0x40d167,_0x1806b6);},'eSidh':function(_0x592534,_0x2c491){const _0x56ba85=a25_0x4a2d;return _0x52c2e2[_0x56ba85(0x279)](_0x592534,_0x2c491);},'kMbfL':_0x52c2e2[_0x1d0686(0x229)]};if(_0x52c2e2['rKNFH'](_0x52c2e2[_0x1d0686(0x216)],_0x52c2e2[_0x1d0686(0x27b)]))_0x4d274f['error'](_0x1d0686(0x259)+_0x2e30c2),_0x21416b[_0x1d0686(0x260)](_0x20f327,_0x1e8254);else{const _0x3c5eba={};_0x3c5eba[_0x1d0686(0x27c)]=_0x57edc8,_0x3d7de4[_0x1d0686(0x280)](_0x3c5eba)['promise']()['then'](_0x37f15e=>{const _0x10697a=_0x1d0686,_0x2f3d5d={'qVQya':function(_0x5b007e,_0x39ec4c){const _0x20b763=a25_0x4a2d;return _0x21416b[_0x20b763(0x20a)](_0x5b007e,_0x39ec4c);}};if(_0x21416b[_0x10697a(0x273)](_0x21416b[_0x10697a(0x207)],_0x21416b[_0x10697a(0x235)])){const _0x422763={'IgmIt':function(_0x6dccd6,_0xba6215){return _0x21416b['GnpBd'](_0x6dccd6,_0xba6215);}},_0x3c2f56={};_0x3c2f56['apiVersion']=_0x21416b[_0x10697a(0x264)],_0x3c2f56[_0x10697a(0x1f2)]=_0x226f06;const _0xadb86f=new _0x16b09e['EC2'](_0x3c2f56);_0xadb86f['describeSubnets']()[_0x10697a(0x247)]()['then'](_0x253bb4=>{const _0x3c3bda=_0x10697a;_0x2f3d5d[_0x3c3bda(0x23b)](_0x5e278b,_0x253bb4);})[_0x10697a(0x208)](_0x2a02ab=>{const _0x33e295=_0x10697a;_0x33a0e6['error'](_0x33e295(0x234)+_0x2a02ab),_0x422763[_0x33e295(0x25e)](_0x3dc054,_0x2a02ab);});}else logger[_0x10697a(0x243)](_0x10697a(0x257)+_0x57edc8+_0x10697a(0x275)),_0x21416b[_0x10697a(0x227)](_0x235485,!![]);})[_0x1d0686(0x208)](()=>{const _0x5b1ced=_0x1d0686;_0x21416b[_0x5b1ced(0x200)](_0x21416b['kMbfL'],_0x21416b[_0x5b1ced(0x292)])?_0x21416b[_0x5b1ced(0x256)](_0x126eae,{}):(logger[_0x5b1ced(0x1f8)](_0x5b1ced(0x257)+_0x57edc8+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x21416b['jtNUs'](_0x235485,![]));});}});},exports[a25_0x2b0eb3(0x222)]=_0x5b3433=>{const _0x35d99d=a25_0x2b0eb3,_0x370ccc={'UoaUi':function(_0x4af114,_0x4d7a07){return _0x4af114(_0x4d7a07);},'SoFsd':function(_0x1f42e7,_0x5f4ae2){return _0x1f42e7!==_0x5f4ae2;},'gmYeh':_0x35d99d(0x1f7),'gpvtA':_0x35d99d(0x1f6),'cJOHU':_0x35d99d(0x204),'ifXZp':_0x35d99d(0x20e),'KHcQP':_0x35d99d(0x283)};return new Promise((_0x18226d,_0x566298)=>{const _0xdc8809=_0x35d99d,_0x4651be={'zZmfa':function(_0x476337,_0x53227a){return _0x370ccc['UoaUi'](_0x476337,_0x53227a);},'VUYAb':_0x370ccc[_0xdc8809(0x293)],'OuShQ':function(_0x409e9d,_0x29b663){const _0xbdff16=_0xdc8809;return _0x370ccc[_0xbdff16(0x23c)](_0x409e9d,_0x29b663);},'fqdCD':_0x370ccc[_0xdc8809(0x1eb)]};if(_0x370ccc[_0xdc8809(0x23c)](_0x370ccc[_0xdc8809(0x209)],_0x370ccc[_0xdc8809(0x209)])){const _0x2c1bfb={'KNtvL':function(_0x22e0ac,_0x456928){return _0x4651be['zZmfa'](_0x22e0ac,_0x456928);}},_0x53fd27={};_0x53fd27['apiVersion']=_0x4651be[_0xdc8809(0x294)],_0x53fd27[_0xdc8809(0x1f2)]=_0x194f2f;const _0x53f8fc=new _0xd5529d[(_0xdc8809(0x287))](_0x53fd27);_0x53f8fc[_0xdc8809(0x262)]()['promise']()[_0xdc8809(0x21a)](_0x18083e=>{const _0x9f2d60=_0xdc8809;_0x2c1bfb[_0x9f2d60(0x1fb)](_0xa92eec,_0x18083e);})[_0xdc8809(0x208)](_0xb49f4c=>{const _0x46760c=_0xdc8809;_0x352ccc['error'](_0x46760c(0x21c)+_0xb49f4c),_0x2c1bfb[_0x46760c(0x1fb)](_0x1bd22f,_0xb49f4c);});}else{const _0x4c9eb2={};_0x4c9eb2[_0xdc8809(0x22a)]=_0x370ccc[_0xdc8809(0x293)],_0x4c9eb2['region']=_0x5b3433;const _0x455296=new awsSDK['EC2'](_0x4c9eb2);_0x455296[_0xdc8809(0x284)]()[_0xdc8809(0x247)]()[_0xdc8809(0x21a)](_0x7ccadd=>{const _0x1e6c17=_0xdc8809,_0x184bf6={'NRKOQ':function(_0x506caa,_0x1e6630){const _0xf1a009=a25_0x4a2d;return _0x370ccc[_0xf1a009(0x28b)](_0x506caa,_0x1e6630);}};if(_0x370ccc[_0x1e6c17(0x23c)](_0x370ccc[_0x1e6c17(0x231)],_0x370ccc[_0x1e6c17(0x24f)]))_0x370ccc[_0x1e6c17(0x28b)](_0x18226d,_0x7ccadd);else{const _0x1fee9c={'qzWtN':function(_0x26efc0,_0x34816a){const _0x342551=_0x1e6c17;return _0x4651be[_0x342551(0x1fc)](_0x26efc0,_0x34816a);}},_0x54670d={};_0x54670d['apiVersion']=_0x4651be[_0x1e6c17(0x294)],_0x54670d['region']=_0x5cadfc;const _0x56aa3f=new _0x3d1a85[(_0x1e6c17(0x287))](_0x54670d);_0x56aa3f[_0x1e6c17(0x276)]()[_0x1e6c17(0x247)]()[_0x1e6c17(0x21a)](_0xc1939d=>{_0x1fee9c['qzWtN'](_0x307135,_0xc1939d);})[_0x1e6c17(0x208)](_0x497d41=>{_0x4765a0['error']('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x497d41),_0x184bf6['NRKOQ'](_0x5ea5f4,_0x497d41);});}})[_0xdc8809(0x208)](_0x3383c8=>{const _0x116151=_0xdc8809,_0x4d9b2f={'ZfAtG':function(_0x1e813f,_0x4ea3b4){return _0x4651be['zZmfa'](_0x1e813f,_0x4ea3b4);}};if(_0x4651be[_0x116151(0x27d)](_0x4651be['fqdCD'],_0x4651be['fqdCD'])){const _0x68ff1c={'nVIMe':function(_0x396047,_0x59408c){const _0x21b16d=_0x116151;return _0x4d9b2f[_0x21b16d(0x21b)](_0x396047,_0x59408c);}},_0x2125cb={};_0x2125cb[_0x116151(0x27c)]=_0x3975ff,_0x227db5[_0x116151(0x280)](_0x2125cb)[_0x116151(0x247)]()[_0x116151(0x21a)](_0x211e59=>{const _0x239a70=_0x116151;_0x4ba49c[_0x239a70(0x243)](_0x239a70(0x257)+_0x537634+_0x239a70(0x275)),_0x4d9b2f[_0x239a70(0x21b)](_0x46d96a,!![]);})[_0x116151(0x208)](()=>{const _0x3fe3e6=_0x116151;_0x1fbda2[_0x3fe3e6(0x1f8)](_0x3fe3e6(0x257)+_0x1240af+_0x3fe3e6(0x245)),_0x68ff1c[_0x3fe3e6(0x228)](_0x4f74f9,![]);});}else logger[_0x116151(0x1e8)](_0x116151(0x234)+_0x3383c8),_0x4651be[_0x116151(0x1fc)](_0x566298,_0x3383c8);});}});},exports[a25_0x2b0eb3(0x1ee)]=_0x1932d3=>{const _0x20802c=a25_0x2b0eb3,_0x34a200={'EteuX':function(_0x125312,_0x46f623){return _0x125312===_0x46f623;},'UUbKh':_0x20802c(0x268),'VIyEj':_0x20802c(0x1e7),'tchYO':function(_0xa126b7,_0x47e076){return _0xa126b7(_0x47e076);},'IuhAA':function(_0x216d50,_0x367670){return _0x216d50(_0x367670);},'vxSfD':_0x20802c(0x204),'RrNkC':_0x20802c(0x286),'isGkA':function(_0xe91891,_0x573c06){return _0xe91891(_0x573c06);},'FBGUD':function(_0x9b8750,_0x849c45){return _0x9b8750!==_0x849c45;},'qrMad':_0x20802c(0x254),'wphrO':_0x20802c(0x20f)};return new Promise((_0x295650,_0x5d1557)=>{const _0x27ad10=_0x20802c,_0x507a51={'iiTzI':function(_0x2074a2,_0x1a5bd4){const _0x57cdd4=a25_0x4a2d;return _0x34a200[_0x57cdd4(0x28d)](_0x2074a2,_0x1a5bd4);},'NpWKh':function(_0x8f3b32,_0x42198d){return _0x34a200['tchYO'](_0x8f3b32,_0x42198d);},'ZUBJm':_0x34a200[_0x27ad10(0x241)],'oIkqr':function(_0x487668,_0x2d884c){return _0x34a200['EteuX'](_0x487668,_0x2d884c);},'EkMUM':_0x34a200[_0x27ad10(0x297)],'beZUR':function(_0x516fa7,_0x16242a){const _0x47a126=_0x27ad10;return _0x34a200[_0x47a126(0x21f)](_0x516fa7,_0x16242a);}};if(_0x34a200['FBGUD'](_0x34a200[_0x27ad10(0x252)],_0x34a200[_0x27ad10(0x25b)])){const _0x2107fe={};_0x2107fe[_0x27ad10(0x22a)]=_0x34a200['vxSfD'],_0x2107fe[_0x27ad10(0x1f2)]=_0x1932d3;const _0x3139e5=new awsSDK[(_0x27ad10(0x287))](_0x2107fe);_0x3139e5['describeSecurityGroups']()['promise']()['then'](_0x34ae55=>{const _0x5e7f02=_0x27ad10;_0x34a200[_0x5e7f02(0x237)](_0x34a200['UUbKh'],_0x34a200[_0x5e7f02(0x22d)])?(_0x4f6823[_0x5e7f02(0x1e8)](_0x5e7f02(0x236)+_0x52dc6f+':\x20'+_0xac663b),_0x507a51[_0x5e7f02(0x244)](_0x55fe2d,_0x15ee78)):_0x34a200['tchYO'](_0x295650,_0x34ae55);})[_0x27ad10(0x208)](_0xda1584=>{const _0x596db8=_0x27ad10;if(_0x507a51['oIkqr'](_0x507a51[_0x596db8(0x25a)],_0x507a51['EkMUM']))logger[_0x596db8(0x1e8)](_0x596db8(0x259)+_0xda1584),_0x507a51[_0x596db8(0x285)](_0x5d1557,_0xda1584);else{const _0x5c4c36={'lkSRd':function(_0x509d49,_0x4271){const _0xb3b17=_0x596db8;return _0x507a51[_0xb3b17(0x285)](_0x509d49,_0x4271);},'siUsF':function(_0x42796a,_0x59e208){const _0x5f17e4=_0x596db8;return _0x507a51[_0x5f17e4(0x244)](_0x42796a,_0x59e208);},'YQDyn':_0x507a51[_0x596db8(0x1fd)]};return new _0x24c792((_0x53a5d4,_0x13ba43)=>{const _0x3c66d7=_0x596db8,_0x17ee0f={'lzpFu':function(_0x6a075c,_0x4c20f5){return _0x5c4c36['siUsF'](_0x6a075c,_0x4c20f5);}},_0x14d29f={};_0x14d29f[_0x3c66d7(0x22a)]=_0x5c4c36[_0x3c66d7(0x291)],_0x14d29f[_0x3c66d7(0x1f2)]=_0x3a72d2;const _0x443ee1=new _0x2e22db['EC2'](_0x14d29f);_0x443ee1[_0x3c66d7(0x276)]()[_0x3c66d7(0x247)]()[_0x3c66d7(0x21a)](_0x1beb5b=>{_0x5c4c36['lkSRd'](_0x53a5d4,_0x1beb5b);})[_0x3c66d7(0x208)](_0x2a613a=>{const _0x216063=_0x3c66d7;_0x582abb[_0x216063(0x1e8)](_0x216063(0x259)+_0x2a613a),_0x17ee0f[_0x216063(0x27e)](_0x13ba43,_0x2a613a);});});}});}else _0x507a51[_0x27ad10(0x214)](_0x497898,_0x259d47[_0x27ad10(0x22b)]);});},exports['getAWSRegions']=()=>{const _0x5ac612=a25_0x2b0eb3,_0xca2a36={'qWIEI':function(_0x204f3f,_0x269de3){return _0x204f3f(_0x269de3);},'fBXsE':function(_0x28a339,_0x5c8b8a){return _0x28a339(_0x5c8b8a);},'RSBBo':function(_0x4464e9,_0x45f0e5){return _0x4464e9===_0x45f0e5;},'nFjNz':_0x5ac612(0x26e),'WffCU':_0x5ac612(0x221),'imJrZ':function(_0x4ee132,_0x137bb1){return _0x4ee132!==_0x137bb1;},'UDVNC':function(_0x159fd5,_0x36ad16){return _0x159fd5!==_0x36ad16;},'lqEGg':_0x5ac612(0x28a),'Ubokp':_0x5ac612(0x205),'ROOqp':_0x5ac612(0x238),'iCmKV':function(_0x2d1b6e,_0x38f545){return _0x2d1b6e(_0x38f545);},'WxGmj':'oBHVt','SCncZ':function(_0x57111b,_0x2496ae){return _0x57111b===_0x2496ae;},'rfzIz':_0x5ac612(0x23d),'sLdJJ':_0x5ac612(0x21d),'cHqTW':_0x5ac612(0x204)};return new Promise((_0x1906e3,_0x5a2300)=>{const _0x2d06bc=_0x5ac612,_0xfc83b7={'SiDNT':function(_0x1b5bf4,_0x27bedf){const _0x56afd7=a25_0x4a2d;return _0xca2a36[_0x56afd7(0x288)](_0x1b5bf4,_0x27bedf);},'VcJWj':function(_0x45d194,_0x4c6543){const _0x4ef667=a25_0x4a2d;return _0xca2a36[_0x4ef667(0x277)](_0x45d194,_0x4c6543);},'NjZbl':_0xca2a36[_0x2d06bc(0x278)],'JVVhj':_0xca2a36['WffCU'],'GxyCX':function(_0x45d735,_0x3807f9){const _0x52c7e2=_0x2d06bc;return _0xca2a36[_0x52c7e2(0x20d)](_0x45d735,_0x3807f9);},'vMxhZ':function(_0x3c4b33,_0xddf5a6){return _0xca2a36['UDVNC'](_0x3c4b33,_0xddf5a6);},'sTuyR':_0xca2a36[_0x2d06bc(0x265)],'vksDN':_0xca2a36[_0x2d06bc(0x1ff)],'WtJjg':_0xca2a36[_0x2d06bc(0x23f)],'oVzBt':function(_0x369216,_0x5a6a9d){const _0x259379=_0x2d06bc;return _0xca2a36[_0x259379(0x26f)](_0x369216,_0x5a6a9d);},'XJPYV':function(_0x5570dc,_0x50d7e8){const _0x5b90ce=_0x2d06bc;return _0xca2a36[_0x5b90ce(0x21e)](_0x5570dc,_0x50d7e8);},'udPfh':function(_0x57f4d2,_0x2452ab){return _0xca2a36['UDVNC'](_0x57f4d2,_0x2452ab);},'txTVW':_0xca2a36[_0x2d06bc(0x26b)]};if(_0xca2a36[_0x2d06bc(0x1fe)](_0xca2a36[_0x2d06bc(0x263)],_0xca2a36['sLdJJ']))_0xca2a36[_0x2d06bc(0x21e)](_0x365db9,_0x287782);else{const _0x43c356={};_0x43c356['apiVersion']=_0xca2a36[_0x2d06bc(0x224)];const _0xfa786e=new awsSDK[(_0x2d06bc(0x287))](_0x43c356);_0xfa786e[_0x2d06bc(0x1ef)]()[_0x2d06bc(0x247)]()[_0x2d06bc(0x21a)]((_0x2fb6c2,_0x447446)=>{const _0x532401=_0x2d06bc,_0x5eadbb={'imlGi':function(_0x143791,_0x359738){const _0x24c000=a25_0x4a2d;return _0xfc83b7[_0x24c000(0x22c)](_0x143791,_0x359738);}};_0xfc83b7[_0x532401(0x1f3)](_0xfc83b7[_0x532401(0x272)],_0xfc83b7[_0x532401(0x213)])?_0x5eadbb[_0x532401(0x251)](_0x55b809,_0x5af8e9['cluster']['identity']['oidc'][_0x532401(0x24d)]):_0xfc83b7['GxyCX'](_0x2fb6c2,undefined)&&_0xfc83b7[_0x532401(0x24c)](_0x2fb6c2['Regions'],undefined)?_0xfc83b7[_0x532401(0x24c)](_0xfc83b7[_0x532401(0x225)],_0xfc83b7['sTuyR'])?_0xfc83b7[_0x532401(0x22c)](_0x153766,_0x5a4e5e):_0xfc83b7[_0x532401(0x22c)](_0x1906e3,_0x2fb6c2[_0x532401(0x22b)]):_0xfc83b7[_0x532401(0x1f3)](_0xfc83b7[_0x532401(0x206)],_0xfc83b7[_0x532401(0x25d)])?(_0x3fa69b[_0x532401(0x1e8)](_0x532401(0x234)+_0x355f1a),_0xfc83b7[_0x532401(0x22c)](_0x3a8c74,_0x5c761f)):_0xfc83b7[_0x532401(0x282)](_0x1906e3,{});})['catch'](_0x142804=>{const _0x1a882c=_0x2d06bc;_0xfc83b7[_0x1a882c(0x1f0)](_0xfc83b7[_0x1a882c(0x239)],_0xfc83b7[_0x1a882c(0x239)])?(_0x3deb71[_0x1a882c(0x1e8)](_0x1a882c(0x219)+_0x3743b9),_0xfc83b7[_0x1a882c(0x26c)](_0xd04f61,_0x48a7cf)):(logger[_0x1a882c(0x1e8)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x142804),_0xfc83b7[_0x1a882c(0x282)](_0x5a2300,_0x142804));});}});},exports['getOidcUrl']=_0x2952b1=>{const _0x1370e7=a25_0x2b0eb3,_0xa1f04e={'GVjbN':function(_0x376965,_0x3f15c1){return _0x376965(_0x3f15c1);},'tWpzL':'2017-11-01','ArAVS':function(_0x5cb67c,_0x55da37){return _0x5cb67c===_0x55da37;},'VsnVW':_0x1370e7(0x230),'aNKIe':function(_0x680567,_0x1127b0){return _0x680567(_0x1127b0);},'cNtwV':function(_0x29bb98,_0x44c2dd){return _0x29bb98!==_0x44c2dd;},'IHsSk':_0x1370e7(0x1f1),'GAbmq':_0x1370e7(0x23a)};return new Promise((_0x2d4a48,_0x2caad7)=>{const _0x38593e=_0x1370e7,_0x262f3a={'vYMwe':function(_0x40880d,_0x7da0ce){const _0x471316=a25_0x4a2d;return _0xa1f04e[_0x471316(0x296)](_0x40880d,_0x7da0ce);},'hkRWO':function(_0x495898,_0x20dc1d){const _0x3e9fc2=a25_0x4a2d;return _0xa1f04e[_0x3e9fc2(0x24a)](_0x495898,_0x20dc1d);},'NJZUs':_0xa1f04e[_0x38593e(0x217)],'CyYNj':function(_0x450d87,_0x1c5338){const _0x7e9a13=_0x38593e;return _0xa1f04e[_0x7e9a13(0x296)](_0x450d87,_0x1c5338);},'MdPuN':function(_0x5ae8b0,_0xc83c88){const _0x1e5e5e=_0x38593e;return _0xa1f04e[_0x1e5e5e(0x1ea)](_0x5ae8b0,_0xc83c88);}};if(_0xa1f04e['ArAVS'](_0xa1f04e[_0x38593e(0x242)],_0xa1f04e[_0x38593e(0x242)])){const _0x1202e7={};_0x1202e7[_0x38593e(0x22a)]=_0xa1f04e[_0x38593e(0x240)];const _0x353b0f=new awsSDK[(_0x38593e(0x1fa))](_0x1202e7),_0x48fd82={};_0x48fd82[_0x38593e(0x290)]=_0x2952b1,_0x353b0f['describeCluster'](_0x48fd82)[_0x38593e(0x247)]()[_0x38593e(0x21a)](_0x13476b=>{const _0x597d51=_0x38593e,_0x11f37f={'fzGDz':function(_0x357ea7,_0x597d26){const _0x811f71=a25_0x4a2d;return _0xa1f04e[_0x811f71(0x1ea)](_0x357ea7,_0x597d26);},'ARznv':_0xa1f04e[_0x597d51(0x240)]};if(_0xa1f04e[_0x597d51(0x258)](_0xa1f04e[_0x597d51(0x220)],_0xa1f04e[_0x597d51(0x220)]))_0xa1f04e['GVjbN'](_0x2d4a48,_0x13476b['cluster'][_0x597d51(0x20c)][_0x597d51(0x270)]['issuer']);else{const _0x2f4579={'biDSj':function(_0x345d83,_0xb76bd1){return _0x11f37f['fzGDz'](_0x345d83,_0xb76bd1);},'GEVOs':_0x11f37f['ARznv']};return new _0x2e69ca((_0x4d4b30,_0x5359d5)=>{const _0x40a0ed=_0x597d51,_0x4b0251={};_0x4b0251[_0x40a0ed(0x22a)]=_0x2f4579[_0x40a0ed(0x25c)];const _0x2daf03=new _0x3c2f53['EKS'](_0x4b0251),_0x3eb44f={};_0x3eb44f[_0x40a0ed(0x290)]=_0x4342b5,_0x2daf03[_0x40a0ed(0x1f5)](_0x3eb44f)[_0x40a0ed(0x247)]()[_0x40a0ed(0x21a)](_0x24771e=>{const _0x1f7840=_0x40a0ed;_0x2f4579[_0x1f7840(0x266)](_0x4d4b30,_0x24771e[_0x1f7840(0x1ec)]['identity'][_0x1f7840(0x270)][_0x1f7840(0x24d)]);})['catch'](_0x3b7454=>{const _0x310d25=_0x40a0ed;_0x11cb1e['error'](_0x310d25(0x236)+_0x4d3430+':\x20'+_0x3b7454),_0x2f4579['biDSj'](_0x5359d5,_0x3b7454);});});}})[_0x38593e(0x208)](_0x37a2a8=>{const _0x27c16a=_0x38593e;_0x262f3a[_0x27c16a(0x20b)](_0x262f3a[_0x27c16a(0x210)],_0x262f3a['NJZUs'])?(_0x3a67fb[_0x27c16a(0x1e8)](_0x27c16a(0x21c)+_0x282982),_0x262f3a[_0x27c16a(0x28c)](_0x1973aa,_0x34b7b3)):(logger[_0x27c16a(0x1e8)](_0x27c16a(0x236)+_0x2952b1+':\x20'+_0x37a2a8),_0x262f3a[_0x27c16a(0x255)](_0x2caad7,_0x37a2a8));});}else{const _0x48172a={'TRAkG':function(_0x5b99c3,_0x21edd4){return _0x262f3a['MdPuN'](_0x5b99c3,_0x21edd4);}},_0x5b1552=new _0x501943['S3']();return new _0xb0933((_0x4eddc7,_0x39ef99)=>{const _0x44b1a7=_0x38593e,_0x2bfff4={'aYlSo':function(_0x54ecda,_0x1950da){const _0x4add8e=a25_0x4a2d;return _0x262f3a[_0x4add8e(0x255)](_0x54ecda,_0x1950da);}},_0x37807b={};_0x37807b[_0x44b1a7(0x27c)]=_0x46efa8,_0x5b1552[_0x44b1a7(0x280)](_0x37807b)[_0x44b1a7(0x247)]()['then'](_0x2f9779=>{const _0x24ad4e=_0x44b1a7;_0x597415[_0x24ad4e(0x243)](_0x24ad4e(0x257)+_0x335037+_0x24ad4e(0x275)),_0x48172a[_0x24ad4e(0x274)](_0x4eddc7,!![]);})[_0x44b1a7(0x208)](()=>{const _0x3c2a67=_0x44b1a7;_0x5ad91d[_0x3c2a67(0x1f8)](_0x3c2a67(0x257)+_0x5af267+_0x3c2a67(0x245)),_0x2bfff4['aYlSo'](_0x4eddc7,![]);});});}});},exports['awsObj']=awsSDK;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a26_0x43a468=a26_0xcca8;function a26_0xcca8(_0x346c74,_0x398db2){const _0x34946a=a26_0x3494();return a26_0xcca8=function(_0xcca81b,_0x4f44fc){_0xcca81b=_0xcca81b-0x1eb;let _0x53f5f7=_0x34946a[_0xcca81b];return _0x53f5f7;},a26_0xcca8(_0x346c74,_0x398db2);}(function(_0xc7b17,_0x134973){const _0x4a1d43=a26_0xcca8,_0x5a6daa=_0xc7b17();while(!![]){try{const _0x12c8e2=-parseInt(_0x4a1d43(0x223))/0x1+-parseInt(_0x4a1d43(0x202))/0x2*(parseInt(_0x4a1d43(0x210))/0x3)+parseInt(_0x4a1d43(0x227))/0x4*(parseInt(_0x4a1d43(0x212))/0x5)+-parseInt(_0x4a1d43(0x1fe))/0x6+-parseInt(_0x4a1d43(0x1f1))/0x7*(-parseInt(_0x4a1d43(0x1ee))/0x8)+parseInt(_0x4a1d43(0x201))/0x9+-parseInt(_0x4a1d43(0x206))/0xa;if(_0x12c8e2===_0x134973)break;else _0x5a6daa['push'](_0x5a6daa['shift']());}catch(_0x6c1caa){_0x5a6daa['push'](_0x5a6daa['shift']());}}}(a26_0x3494,0xa8cf6));const fs=require('fs'),path=require(a26_0x43a468(0x1f2)),yaml=require(a26_0x43a468(0x217)),{CLOUDFORMATION_SCHEMA}=require(a26_0x43a468(0x221)),Promise=require('bluebird'),AWS=require(a26_0x43a468(0x21b))[a26_0x43a468(0x1f5)],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require('../config/constants'),{logger}=require(a26_0x43a468(0x209));function a26_0x3494(){const _0x51ff73=['browserstack:creationDate','OnFailure','54492EnRFYV','StackId','35MchBNG','utf-8','IdgJg','iFiic','stringify','js-yaml','schema','valueOf','DELETE','./AWSUtils','createStack','apiVersion','CloudFormation','browserstack:cluster','Value','js-yaml-cloudformation-schema','createAutoscalerStack','246380yOBfaL','Parameters','ClusterName','stackCreateComplete','599556DnlctM','promise','cwESU','join','1128FXuWxd','templates','2010-05-15','47530uzbCts','path','StackName','LzPTc','awsObj','push','ptSAk','Properties','Resources','toString','Key','HRpqd','CAPABILITY_NAMED_IAM','2666256BtYvWq','Tags','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','10592190pjsbMx','76TGHnAS','readFileAsync','autoscaler-role-creation.yaml','SlLVj','11110890JNSBVm','JtHrY','JwpSa','../config/logger','Capabilities','debug','pmqhd','pMSYC'];a26_0x3494=function(){return _0x51ff73;};return a26_0x3494();}Promise['promisifyAll'](fs);const addAutoscalerTags=async(_0x2cd7fa,_0x21f52a,_0x52ae08)=>{const _0x83f9c2=a26_0x43a468;for(const _0x47339a in _0x2cd7fa[_0x83f9c2(0x1f9)]){_0x2cd7fa[_0x83f9c2(0x1f9)][_0x47339a][_0x83f9c2(0x1f8)]&&_0x2cd7fa[_0x83f9c2(0x1f9)][_0x47339a][_0x83f9c2(0x1f8)][_0x83f9c2(0x1ff)]&&_0x2cd7fa[_0x83f9c2(0x1f9)][_0x47339a][_0x83f9c2(0x1f8)][_0x83f9c2(0x1ff)][_0x83f9c2(0x1f6)](..._0x52ae08);}};exports[a26_0x43a468(0x222)]=async _0x4e3a42=>{const _0x403a72=a26_0x43a468,_0x3bdadf={'pMSYC':_0x403a72(0x21f),'HRpqd':_0x403a72(0x20e),'cwESU':_0x403a72(0x1f0),'iFiic':_0x403a72(0x1ef),'JwpSa':_0x403a72(0x204),'SlLVj':_0x403a72(0x213),'JtHrY':function(_0x48cf4f,_0x2f00c8,_0x19b928,_0x568e28){return _0x48cf4f(_0x2f00c8,_0x19b928,_0x568e28);},'pmqhd':_0x403a72(0x21a),'IdgJg':_0x403a72(0x225),'ptSAk':_0x403a72(0x1fd),'BNSJt':_0x403a72(0x200),'LzPTc':_0x403a72(0x226)},_0x2c6394=COMMON_HST_TAGS,_0x2dde14={};_0x2dde14[_0x403a72(0x1fb)]=_0x3bdadf[_0x403a72(0x20d)],_0x2dde14[_0x403a72(0x220)]=_0x4e3a42,_0x2c6394[_0x403a72(0x1f6)](_0x2dde14),_0x2c6394[_0x403a72(0x1f6)]({'Key':_0x3bdadf[_0x403a72(0x1fc)],'Value':new Date()[_0x403a72(0x219)]()[_0x403a72(0x1fa)]()});const _0x1fab87={};_0x1fab87[_0x403a72(0x21d)]=_0x3bdadf[_0x403a72(0x1ec)];const _0x2e1dc2=new AWS[(_0x403a72(0x21e))](_0x1fab87),_0x148a7d=await fs[_0x403a72(0x203)](path[_0x403a72(0x1ed)](__dirname,'..',_0x3bdadf[_0x403a72(0x215)],_0x3bdadf[_0x403a72(0x208)]),_0x3bdadf[_0x403a72(0x205)]),_0x361e22={};_0x361e22[_0x403a72(0x218)]=CLOUDFORMATION_SCHEMA;const _0x5dcf78=yaml['load'](_0x148a7d,_0x361e22);_0x3bdadf[_0x403a72(0x207)](addAutoscalerTags,_0x5dcf78,_0x4e3a42,_0x2c6394);const _0x44fd31=JSON[_0x403a72(0x216)](_0x5dcf78),_0x553065={};_0x553065[_0x403a72(0x1f3)]=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x4e3a42,_0x553065[_0x403a72(0x20f)]=_0x3bdadf[_0x403a72(0x20c)],_0x553065['TemplateBody']=_0x44fd31,_0x553065[_0x403a72(0x224)]=[{'ParameterKey':_0x3bdadf[_0x403a72(0x214)],'ParameterValue':_0x4e3a42}],_0x553065[_0x403a72(0x20a)]=[_0x3bdadf[_0x403a72(0x1f7)]],_0x553065['Tags']=_0x2c6394;const _0x98b9e4=_0x553065,_0x3d3611=await _0x2e1dc2[_0x403a72(0x21c)](_0x98b9e4)['promise']();logger[_0x403a72(0x20b)](_0x3bdadf['BNSJt']);const _0x3c7446={};return _0x3c7446[_0x403a72(0x1f3)]=_0x3d3611[_0x403a72(0x211)],_0x2e1dc2['waitFor'](_0x3bdadf[_0x403a72(0x1f4)],_0x3c7446)[_0x403a72(0x1eb)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a27_0x545e9a=a27_0x4ad2;function a27_0x4ad2(_0x2f1307,_0x2579c4){const _0x2574b0=a27_0x2574();return a27_0x4ad2=function(_0x4ad26a,_0x396dfa){_0x4ad26a=_0x4ad26a-0xba;let _0xc8edce=_0x2574b0[_0x4ad26a];return _0xc8edce;},a27_0x4ad2(_0x2f1307,_0x2579c4);}(function(_0x2ed189,_0x3be8fb){const _0x5e9439=a27_0x4ad2,_0xe4ac=_0x2ed189();while(!![]){try{const _0x3a99b9=parseInt(_0x5e9439(0xe3))/0x1*(parseInt(_0x5e9439(0xd4))/0x2)+parseInt(_0x5e9439(0x16f))/0x3*(-parseInt(_0x5e9439(0x11d))/0x4)+-parseInt(_0x5e9439(0x149))/0x5*(-parseInt(_0x5e9439(0xd5))/0x6)+-parseInt(_0x5e9439(0xcd))/0x7*(parseInt(_0x5e9439(0xff))/0x8)+-parseInt(_0x5e9439(0xe7))/0x9*(-parseInt(_0x5e9439(0x14a))/0xa)+-parseInt(_0x5e9439(0x108))/0xb*(-parseInt(_0x5e9439(0x12d))/0xc)+parseInt(_0x5e9439(0x142))/0xd*(-parseInt(_0x5e9439(0xd7))/0xe);if(_0x3a99b9===_0x3be8fb)break;else _0xe4ac['push'](_0xe4ac['shift']());}catch(_0x199e30){_0xe4ac['push'](_0xe4ac['shift']());}}}(a27_0x2574,0xe2f35));const fs=require('fs'),path=require(a27_0x545e9a(0x166)),Promise=require(a27_0x545e9a(0xc1)),yaml=require(a27_0x545e9a(0xe4)),{CLOUDFORMATION_SCHEMA}=require(a27_0x545e9a(0x132)),AWS=require('./AWSUtils')['awsObj'],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a27_0x545e9a(0xeb)),{logger}=require(a27_0x545e9a(0x121)),{isBucketPresent}=require(a27_0x545e9a(0xf4));Promise['promisifyAll'](fs);const mergeTemplates=(_0x310fbf,_0x1bada5)=>{const _0x57560f=a27_0x545e9a,_0x56bcd2={};_0x56bcd2[_0x57560f(0xd9)]=function(_0x5f04ce,_0x21bba6){return _0x5f04ce===_0x21bba6;},_0x56bcd2[_0x57560f(0x11f)]=_0x57560f(0x10c),_0x56bcd2[_0x57560f(0xf2)]=_0x57560f(0xe1),_0x56bcd2[_0x57560f(0x10b)]=function(_0x1b5eb2,_0x258622){return _0x1b5eb2===_0x258622;},_0x56bcd2['JEyUy']=_0x57560f(0xbe);const _0x2ef3ef=_0x56bcd2;Object[_0x57560f(0xea)](_0x1bada5)[_0x57560f(0x140)](_0x4c811d=>{const _0xd23596=_0x57560f,_0x29b736={'wrmHJ':function(_0x4b7c8b,_0x920aea){const _0x48c7e=a27_0x4ad2;return _0x2ef3ef[_0x48c7e(0xd9)](_0x4b7c8b,_0x920aea);},'qAAWj':_0x2ef3ef[_0xd23596(0x11f)],'VdLnm':_0x2ef3ef[_0xd23596(0xf2)]};if(_0x2ef3ef[_0xd23596(0x10b)](_0x2ef3ef[_0xd23596(0x129)],_0x2ef3ef[_0xd23596(0x129)])){var _0x369093=_0x1bada5[_0x4c811d];Object['keys'](_0x369093)[_0xd23596(0x140)](_0x23e69c=>{const _0x3f424e=_0xd23596;_0x29b736[_0x3f424e(0x181)](_0x29b736[_0x3f424e(0xf1)],_0x29b736[_0x3f424e(0x14e)])?_0x521f34[_0x3f424e(0x172)][_0x4752ad][_0x3f424e(0xe8)][_0x3f424e(0xf8)][_0x3f424e(0x117)](..._0x5b0d63):_0x310fbf[_0x4c811d][_0x23e69c]=_0x369093[_0x23e69c];});}else{var _0x1fcfe7=_0xb37dc1[_0x1a940a];_0x10874b[_0xd23596(0xea)](_0x1fcfe7)[_0xd23596(0x140)](_0x59b43a=>{_0x5936bd[_0x5b08f9][_0x59b43a]=_0x1fcfe7[_0x59b43a];});}});},addVPCData=async(_0x5c118d,_0x1697f0)=>{const _0x3b6440=a27_0x545e9a,_0x4c823c={'aLnIV':function(_0x2fd3b4,_0x32f623,_0x44cdf3){return _0x2fd3b4(_0x32f623,_0x44cdf3);},'ipJrJ':function(_0x3c4bb0,_0x524eaf){return _0x3c4bb0(_0x524eaf);},'MXNzn':function(_0x47d7ba,_0x5a970e){return _0x47d7ba!==_0x5a970e;},'poRuM':'jWxfC','pfDZX':_0x3b6440(0x16b),'rvSty':_0x3b6440(0x119),'aWufo':_0x3b6440(0x134),'qKvGD':_0x3b6440(0xf0),'PYdnO':_0x3b6440(0x13b),'jRDsR':_0x3b6440(0xfd),'xYUjo':function(_0x4608ce,_0x203e1d){return _0x4608ce!==_0x203e1d;},'gUABZ':'rUIMQ','tLjOw':_0x3b6440(0x147),'pTAno':_0x3b6440(0x102),'xLSGE':_0x3b6440(0xbf)};if(_0x1697f0){if(_0x4c823c[_0x3b6440(0xdc)](_0x4c823c[_0x3b6440(0x183)],_0x4c823c[_0x3b6440(0x163)])){const _0x44c498=await fs[_0x3b6440(0x115)](path[_0x3b6440(0x12b)](__dirname,'..',_0x4c823c[_0x3b6440(0x106)],_0x4c823c[_0x3b6440(0x164)]),_0x4c823c[_0x3b6440(0xcf)]),_0x55ebb8={};_0x55ebb8[_0x3b6440(0x153)]=CLOUDFORMATION_SCHEMA;const _0x3da462=yaml[_0x3b6440(0x126)](_0x44c498,_0x55ebb8);_0x4c823c[_0x3b6440(0xfe)](mergeTemplates,_0x5c118d,_0x3da462),_0x5c118d[_0x3b6440(0x176)][_0x4c823c['PYdnO']][_0x3b6440(0xdb)][0x0][_0x3b6440(0xdd)][_0x3b6440(0x117)](_0x4c823c[_0x3b6440(0xbd)]);}else _0x4c823c[_0x3b6440(0xfe)](_0xd73962,_0x24ddc8,_0x2bb6f5);}else{if(_0x4c823c[_0x3b6440(0x11e)](_0x4c823c[_0x3b6440(0xfa)],_0x4c823c[_0x3b6440(0xed)])){const _0x2a6ad3=await fs[_0x3b6440(0x115)](path[_0x3b6440(0x12b)](__dirname,'..',_0x4c823c[_0x3b6440(0x106)],_0x4c823c[_0x3b6440(0xf3)]),_0x4c823c[_0x3b6440(0xcf)]),_0x356ee1={};_0x356ee1['schema']=CLOUDFORMATION_SCHEMA;const _0x16c3b2=yaml[_0x3b6440(0x126)](_0x2a6ad3,_0x356ee1);_0x4c823c[_0x3b6440(0xfe)](mergeTemplates,_0x5c118d,_0x16c3b2),_0x5c118d[_0x3b6440(0x176)][_0x4c823c[_0x3b6440(0xc6)]][_0x3b6440(0xdb)][0x0][_0x3b6440(0xdd)][_0x3b6440(0x117)](_0x4c823c['xLSGE']);}else _0x35c0fc[_0x3b6440(0xdd)][_0x3b6440(0x117)]({'ParameterKey':_0x3b6440(0xc5)+_0x4c823c[_0x3b6440(0xce)](_0x2c4ded,_0x57c14d)[_0x3b6440(0x118)](0x2,'0'),'ParameterValue':_0xce93ee['value']}),_0x5e7b3b+=0x1;}},addS3Data=async _0x41fa9b=>{const _0x2c71fa=a27_0x545e9a,_0x17a86e={'twkbB':'CFTemplates','phobz':_0x2c71fa(0x148),'pLvDY':_0x2c71fa(0xf0),'iwDxs':function(_0x3bab20,_0x23565f){return _0x3bab20(_0x23565f);},'KChou':function(_0x399669,_0x2a7839){return _0x399669===_0x2a7839;},'qacrd':function(_0x6469bb,_0x9d4f3f){return _0x6469bb!==_0x9d4f3f;},'ALOtB':'QkFFo','GpyAe':_0x2c71fa(0x13a),'JouKC':function(_0x52b8bc,_0x21b592,_0x39845a){return _0x52b8bc(_0x21b592,_0x39845a);}},_0x2a8993=await fs['readFileAsync'](path[_0x2c71fa(0x12b)](__dirname,'..',_0x17a86e[_0x2c71fa(0x154)],_0x17a86e[_0x2c71fa(0x17e)]),_0x17a86e[_0x2c71fa(0x127)]),_0x13955c={};_0x13955c[_0x2c71fa(0x153)]=CLOUDFORMATION_SCHEMA;const _0x513b64=yaml[_0x2c71fa(0x126)](_0x2a8993,_0x13955c),_0x311b87=await _0x17a86e[_0x2c71fa(0x13e)](isBucketPresent,global_registry[_0x2c71fa(0x17a)]);_0x17a86e['KChou'](_0x311b87,![])&&(_0x17a86e['qacrd'](_0x17a86e['ALOtB'],_0x17a86e[_0x2c71fa(0x141)])?_0x17a86e[_0x2c71fa(0x14b)](mergeTemplates,_0x41fa9b,_0x513b64):_0x358535[_0x2c71fa(0x172)][_0x392f7f][_0x2c71fa(0xe8)]&&_0x15aa3a[_0x2c71fa(0x172)][_0x470c28][_0x2c71fa(0xe8)]['Tags']&&_0x569c4f[_0x2c71fa(0x172)][_0x14e07f][_0x2c71fa(0xe8)][_0x2c71fa(0xf8)]['push'](..._0xff64fc));},addSubnetData=async(_0x2a32bb,_0x12c03d)=>{const _0x2bbe95=a27_0x545e9a,_0x4a1748={'EJtTl':function(_0x84e818,_0x45bd3d){return _0x84e818(_0x45bd3d);},'QvcWU':_0x2bbe95(0xd2),'khCkK':_0x2bbe95(0x13b),'uGVNq':function(_0x5ed80e,_0x44c80c){return _0x5ed80e(_0x44c80c);},'QbdOu':_0x2bbe95(0xc0),'fNqAB':function(_0x54a304,_0x18412f){return _0x54a304!==_0x18412f;},'NaURo':_0x2bbe95(0x152),'tTKnG':_0x2bbe95(0x145),'WjjFd':_0x2bbe95(0x15e),'vUwcu':function(_0x581cf7,_0x3146d2){return _0x581cf7(_0x3146d2);},'xczdR':function(_0x373d33,_0x494860){return _0x373d33(_0x494860);},'dxwLJ':function(_0x4fd0dc,_0x396488){return _0x4fd0dc===_0x396488;},'HgASz':_0x2bbe95(0x160),'PZKDW':'uApIR','lsknd':'CFTemplates','HAIku':_0x2bbe95(0x14f),'GidgN':'utf-8','FXusq':function(_0x206fd9,_0x49e045,_0x4eaf14){return _0x206fd9(_0x49e045,_0x4eaf14);},'ORqFP':function(_0x54b957,_0x19d1bc){return _0x54b957===_0x19d1bc;},'SIrsa':_0x2bbe95(0x146),'FtLyU':_0x2bbe95(0x17c),'wdPpt':function(_0x14f6ec,_0x50f467,_0x527e20){return _0x14f6ec(_0x50f467,_0x527e20);},'JwWoK':_0x2bbe95(0x128),'htsjh':'Subnet02','oSdcQ':'Subnet03','PhNuy':_0x2bbe95(0x16d),'EVaCb':_0x2bbe95(0x167),'sUaLq':'Subnet03Block'};if(_0x12c03d){if(_0x4a1748['dxwLJ'](_0x4a1748[_0x2bbe95(0xf6)],_0x4a1748[_0x2bbe95(0xee)])){let _0x110e5f=0x1;_0x28baeb[_0x2bbe95(0x140)](_0x36eb30=>{const _0x360abb=_0x2bbe95;_0x48b77e[_0x360abb(0xdd)][_0x360abb(0x117)]({'ParameterKey':'Subnet'+_0x4a1748[_0x360abb(0x100)](_0x40428f,_0x110e5f)[_0x360abb(0x118)](0x2,'0'),'ParameterValue':_0x36eb30[_0x360abb(0x101)]}),_0x110e5f+=0x1;});}else{const _0x4d582c=await fs[_0x2bbe95(0x115)](path[_0x2bbe95(0x12b)](__dirname,'..',_0x4a1748[_0x2bbe95(0x10a)],_0x4a1748[_0x2bbe95(0x10e)]),_0x4a1748[_0x2bbe95(0xbb)]),_0x47758d={};_0x47758d[_0x2bbe95(0x153)]=CLOUDFORMATION_SCHEMA;const _0x39de4b=yaml[_0x2bbe95(0x126)](_0x4d582c,_0x47758d);_0x4a1748[_0x2bbe95(0x136)](mergeTemplates,_0x2a32bb,_0x39de4b);let _0x13e765=0x1;_0x12c03d['forEach'](_0x3d13e2=>{const _0x56aef6=_0x2bbe95,_0x51c269={'MzLJa':_0x4a1748[_0x56aef6(0xc3)],'tHLmZ':_0x4a1748[_0x56aef6(0x174)],'mIzzx':function(_0x5b39f7,_0x54543d){return _0x4a1748['uGVNq'](_0x5b39f7,_0x54543d);},'nKnuR':_0x4a1748[_0x56aef6(0x11c)],'gHuhX':function(_0x426b22,_0x4d0b7a){const _0x509a53=_0x56aef6;return _0x4a1748[_0x509a53(0x161)](_0x426b22,_0x4d0b7a);}};if(_0x4a1748[_0x56aef6(0xde)](_0x4a1748[_0x56aef6(0xfb)],_0x4a1748[_0x56aef6(0xba)])){const _0x42fceb=_0x4a1748[_0x56aef6(0xca)][_0x56aef6(0x16e)]('|');let _0x28bbe0=0x0;while(!![]){switch(_0x42fceb[_0x28bbe0++]){case'0':_0x13e765+=0x1;continue;case'1':_0x2a32bb['Resources']['NodeGroupWindows'][_0x56aef6(0xe8)]['Subnets'][_0x56aef6(0x117)]({'Ref':_0x56aef6(0xc5)+_0x4a1748[_0x56aef6(0x161)](String,_0x13e765)['padStart'](0x2,'0')});continue;case'2':_0x2a32bb[_0x56aef6(0x172)][_0x56aef6(0xc4)][_0x56aef6(0xe8)]['Subnets'][_0x56aef6(0x117)]({'Ref':_0x56aef6(0xc5)+_0x4a1748[_0x56aef6(0xe0)](String,_0x13e765)[_0x56aef6(0x118)](0x2,'0')});continue;case'3':_0x2a32bb[_0x56aef6(0x176)][_0x4a1748[_0x56aef6(0x174)]][_0x56aef6(0xdb)][0x0][_0x56aef6(0xdd)][_0x56aef6(0x117)]('Subnet'+_0x4a1748[_0x56aef6(0x161)](String,_0x13e765)[_0x56aef6(0x118)](0x2,'0'));continue;case'4':_0x2a32bb[_0x56aef6(0x172)]['EKSCluster'][_0x56aef6(0xe8)][_0x56aef6(0x124)][_0x56aef6(0x123)][_0x56aef6(0x117)]({'Ref':_0x56aef6(0xc5)+_0x4a1748[_0x56aef6(0x12f)](String,_0x13e765)[_0x56aef6(0x118)](0x2,'0')});continue;case'5':_0x2a32bb[_0x56aef6(0x13d)]['SubnetIds'][_0x56aef6(0x17b)][_0x4a1748[_0x56aef6(0x11c)]][0x1][_0x56aef6(0x117)]({'Ref':_0x56aef6(0xc5)+_0x4a1748[_0x56aef6(0xe0)](String,_0x13e765)[_0x56aef6(0x118)](0x2,'0')});continue;}break;}}else{const _0x4dec49=_0x51c269['MzLJa'][_0x56aef6(0x16e)]('|');let _0x32e8f6=0x0;while(!![]){switch(_0x4dec49[_0x32e8f6++]){case'0':_0x5d8ccb[_0x56aef6(0x176)][_0x51c269[_0x56aef6(0x137)]][_0x56aef6(0xdb)][0x0][_0x56aef6(0xdd)][_0x56aef6(0x117)](_0x56aef6(0xc5)+_0x51c269[_0x56aef6(0x11a)](_0x762cd7,_0x19264b)['padStart'](0x2,'0'));continue;case'1':_0x2e87ad[_0x56aef6(0x13d)][_0x56aef6(0x123)][_0x56aef6(0x17b)][_0x51c269[_0x56aef6(0x168)]][0x1][_0x56aef6(0x117)]({'Ref':_0x56aef6(0xc5)+_0x51c269['mIzzx'](_0x6a38fc,_0x4c4c9c)[_0x56aef6(0x118)](0x2,'0')});continue;case'2':_0x3ceec5+=0x1;continue;case'3':_0x344cc5[_0x56aef6(0x172)][_0x56aef6(0x15c)]['Properties']['ResourcesVpcConfig'][_0x56aef6(0x123)][_0x56aef6(0x117)]({'Ref':_0x56aef6(0xc5)+_0x51c269[_0x56aef6(0x11a)](_0x31e48d,_0x3ac0b1)[_0x56aef6(0x118)](0x2,'0')});continue;case'4':_0x52b2d4[_0x56aef6(0x172)][_0x56aef6(0x15f)][_0x56aef6(0xe8)]['Subnets'][_0x56aef6(0x117)]({'Ref':_0x56aef6(0xc5)+_0x51c269['gHuhX'](_0x12456b,_0x25fd72)[_0x56aef6(0x118)](0x2,'0')});continue;case'5':_0x466342[_0x56aef6(0x172)][_0x56aef6(0xc4)]['Properties'][_0x56aef6(0x130)][_0x56aef6(0x117)]({'Ref':'Subnet'+_0x51c269['gHuhX'](_0x1f95ba,_0x828d68)[_0x56aef6(0x118)](0x2,'0')});continue;}break;}}});}}else{if(_0x4a1748['ORqFP'](_0x4a1748[_0x2bbe95(0xe9)],_0x4a1748[_0x2bbe95(0xe9)])){const _0x1fd7ed=await fs['readFileAsync'](path[_0x2bbe95(0x12b)](__dirname,'..',_0x4a1748[_0x2bbe95(0x10a)],_0x4a1748[_0x2bbe95(0xc9)]),_0x4a1748['GidgN']),_0x28a363={};_0x28a363['schema']=CLOUDFORMATION_SCHEMA;const _0x45a362=yaml[_0x2bbe95(0x126)](_0x1fd7ed,_0x28a363);_0x4a1748[_0x2bbe95(0x14c)](mergeTemplates,_0x2a32bb,_0x45a362),_0x2a32bb[_0x2bbe95(0x172)][_0x2bbe95(0x15c)][_0x2bbe95(0x104)][_0x2bbe95(0x117)](_0x4a1748[_0x2bbe95(0xd8)],_0x4a1748[_0x2bbe95(0x138)],_0x4a1748[_0x2bbe95(0xfc)]);const _0x3c6b90={};_0x3c6b90[_0x2bbe95(0x170)]=_0x4a1748[_0x2bbe95(0xd8)];const _0x33b1e9={};_0x33b1e9[_0x2bbe95(0x170)]=_0x4a1748[_0x2bbe95(0x138)];const _0x58098c={};_0x58098c['Ref']=_0x4a1748['oSdcQ'],_0x2a32bb[_0x2bbe95(0x172)]['EKSCluster']['Properties'][_0x2bbe95(0x124)][_0x2bbe95(0x123)]=[_0x3c6b90,_0x33b1e9,_0x58098c],_0x2a32bb[_0x2bbe95(0x176)][_0x4a1748[_0x2bbe95(0x174)]][_0x2bbe95(0xdb)][0x0][_0x2bbe95(0xdd)][_0x2bbe95(0x117)](_0x4a1748[_0x2bbe95(0x14d)],_0x4a1748[_0x2bbe95(0xcc)],_0x4a1748[_0x2bbe95(0x155)]);const _0x5ca0ca={};_0x5ca0ca[_0x2bbe95(0x170)]=_0x4a1748[_0x2bbe95(0xd8)];const _0x56d5ec={};_0x56d5ec[_0x2bbe95(0x170)]=_0x4a1748['htsjh'];const _0x21e04b={};_0x21e04b[_0x2bbe95(0x170)]=_0x4a1748[_0x2bbe95(0xfc)],_0x2a32bb['Resources'][_0x2bbe95(0xc4)][_0x2bbe95(0xe8)]['Subnets']=[_0x5ca0ca,_0x56d5ec,_0x21e04b];const _0x3d2f9c={};_0x3d2f9c[_0x2bbe95(0x170)]=_0x4a1748[_0x2bbe95(0xd8)];const _0x2b3d7c={};_0x2b3d7c[_0x2bbe95(0x170)]=_0x4a1748[_0x2bbe95(0x138)];const _0x3497c4={};_0x3497c4[_0x2bbe95(0x170)]=_0x4a1748[_0x2bbe95(0xfc)],_0x2a32bb[_0x2bbe95(0x172)][_0x2bbe95(0x15f)][_0x2bbe95(0xe8)]['Subnets']=[_0x3d2f9c,_0x2b3d7c,_0x3497c4],_0x2a32bb[_0x2bbe95(0x13d)][_0x2bbe95(0x123)][_0x2bbe95(0x17b)][_0x4a1748[_0x2bbe95(0x11c)]][0x1]=[{'Ref':_0x4a1748[_0x2bbe95(0xd8)]},{'Ref':_0x4a1748[_0x2bbe95(0x138)]},{'Ref':_0x4a1748['oSdcQ']}];}else _0x314a12[_0x23c944][_0x3e6792]=_0x3b99c5[_0xbe5e1];}},addTags=async(_0x557eb8,_0x41be94,_0x11df1a)=>{const _0x3ca764=a27_0x545e9a,_0x2451d6={};_0x2451d6['KYGMF']='NodeGroup',_0x2451d6[_0x3ca764(0xe5)]=_0x3ca764(0x15f),_0x2451d6[_0x3ca764(0x17d)]=function(_0x51b2d5,_0x142148){return _0x51b2d5!==_0x142148;},_0x2451d6[_0x3ca764(0x112)]=_0x3ca764(0x16c),_0x2451d6[_0x3ca764(0x173)]=_0x3ca764(0x175),_0x2451d6['znNog']=_0x3ca764(0xbc),_0x2451d6['wcFpf']=_0x3ca764(0x12e),_0x2451d6[_0x3ca764(0xc2)]=function(_0x1658a3,_0x214f6c){return _0x1658a3===_0x214f6c;},_0x2451d6[_0x3ca764(0x122)]=_0x3ca764(0x114);const _0xd8e44d=_0x2451d6;for(const _0x4ca37b in _0x557eb8[_0x3ca764(0x172)]){if(_0xd8e44d[_0x3ca764(0x17d)](_0xd8e44d[_0x3ca764(0x150)],_0xd8e44d['wcFpf']))_0x557eb8['Resources'][_0x4ca37b][_0x3ca764(0xe8)]&&_0x557eb8[_0x3ca764(0x172)][_0x4ca37b][_0x3ca764(0xe8)]['Tags']&&(_0xd8e44d[_0x3ca764(0xc2)](_0xd8e44d[_0x3ca764(0x122)],_0xd8e44d[_0x3ca764(0x122)])?_0x557eb8[_0x3ca764(0x172)][_0x4ca37b][_0x3ca764(0xe8)][_0x3ca764(0xf8)]['push'](..._0x11df1a):_0x54ec13[_0x3ca764(0xea)](_0x43a149)[_0x3ca764(0x140)](_0x26b751=>{const _0x576b87=_0x3ca764;var _0x22bb56=_0x1cd93f[_0x26b751];_0x2b37cc[_0x576b87(0xea)](_0x22bb56)[_0x576b87(0x140)](_0x1625a2=>{_0x2a0426[_0x26b751][_0x1625a2]=_0x22bb56[_0x1625a2];});}));else{for(const _0xef6a19 in _0x50eaa9[_0x3ca764(0x172)]){_0x298485[_0x3ca764(0x172)][_0xef6a19]['Properties']&&_0x1ab30e[_0x3ca764(0x172)][_0xef6a19][_0x3ca764(0xe8)][_0x3ca764(0xf8)]&&_0x5be86b[_0x3ca764(0x172)][_0xef6a19][_0x3ca764(0xe8)][_0x3ca764(0xf8)][_0x3ca764(0x117)](..._0x4e32ed);}const _0x408347={};_0x4fe0b7[_0x3ca764(0x140)](_0x271ecf=>{const _0x13c31f=_0x3ca764;_0x408347[_0x271ecf[_0x13c31f(0x169)]]=_0x271ecf['Value'];}),_0x8e7f22[_0x3ca764(0x172)][_0xd8e44d[_0x3ca764(0x131)]][_0x3ca764(0xe8)]['Tags']=_0x408347,_0x4fbf09['Resources'][_0xd8e44d[_0x3ca764(0xe5)]][_0x3ca764(0xe8)][_0x3ca764(0xf8)]=_0x408347;}}const _0x49b557={};_0x11df1a['forEach'](_0x38267d=>{const _0x1281a4=_0x3ca764;_0xd8e44d[_0x1281a4(0x17d)](_0xd8e44d['RudNN'],_0xd8e44d[_0x1281a4(0x173)])?_0x49b557[_0x38267d[_0x1281a4(0x169)]]=_0x38267d[_0x1281a4(0x17b)]:_0xe0339[_0x4ed078[_0x1281a4(0x169)]]=_0x2307a4[_0x1281a4(0x17b)];}),_0x557eb8['Resources'][_0xd8e44d[_0x3ca764(0x131)]][_0x3ca764(0xe8)][_0x3ca764(0xf8)]=_0x49b557,_0x557eb8['Resources'][_0xd8e44d[_0x3ca764(0xe5)]][_0x3ca764(0xe8)][_0x3ca764(0xf8)]=_0x49b557;};exports['createClusterStack']=async(_0xdfe856,_0x215405,_0x3da1ff,_0x1e9079=null,_0x23ffb7=null,_0x2b5e81)=>{const _0x541317=a27_0x545e9a,_0x2589de={'MZGSY':_0x541317(0xfd),'bBAfk':function(_0x476647,_0x1256a7){return _0x476647(_0x1256a7);},'LqkyW':_0x541317(0x165),'mSNwS':_0x541317(0x15a),'wlTxb':'2010-05-15','OOjzT':_0x541317(0x119),'jrKwi':_0x541317(0x111),'CDCDg':_0x541317(0xf0),'HrPRa':function(_0x18c7eb,_0xccf70b,_0x4bab2c){return _0x18c7eb(_0xccf70b,_0x4bab2c);},'IZPFq':function(_0x4b6700,_0x1efc4d,_0x26d0cd){return _0x4b6700(_0x1efc4d,_0x26d0cd);},'gutCp':function(_0x5659d1,_0x21239d,_0x5c7b3d,_0x52d226){return _0x5659d1(_0x21239d,_0x5c7b3d,_0x52d226);},'UrcwQ':_0x541317(0xdf),'ISPAz':_0x541317(0x109),'cVxwg':_0x541317(0x179),'rNgwA':_0x541317(0x143),'QqQIm':_0x541317(0x113),'owZyo':_0x541317(0x125),'PMJbK':'NodeAutoScalingGroupMaxSize','AqAYM':_0x541317(0x12c),'ipuPZ':_0x541317(0x151),'USQNf':_0x541317(0x159),'RVmao':_0x541317(0xe6),'eboHn':_0x541317(0xf5),'LNqgI':_0x541317(0x12a),'bjBSV':'false','YWvqT':_0x541317(0x105),'wPhMK':function(_0x3c983a,_0x1915a5){return _0x3c983a!=_0x1915a5;},'JDKdN':function(_0x5eda67,_0x2586e3){return _0x5eda67!==_0x2586e3;},'fhKmz':function(_0x262aae,_0x4d3c6c){return _0x262aae===_0x4d3c6c;},'pinhj':_0x541317(0x171),'OdegC':function(_0x3a2b42,_0xf6d7d6){return _0x3a2b42!=_0xf6d7d6;},'oSqhG':_0x541317(0x13f),'QryrV':'stackCreateComplete'},_0x5efba8=COMMON_HST_TAGS,_0x346363={};_0x346363[_0x541317(0x169)]=_0x2589de[_0x541317(0xd1)],_0x346363[_0x541317(0x17b)]=_0xdfe856,_0x5efba8[_0x541317(0x117)](_0x346363),_0x5efba8[_0x541317(0x117)]({'Key':_0x2589de[_0x541317(0x182)],'Value':new Date()[_0x541317(0x103)]()[_0x541317(0x15d)]()});const _0x5136aa={};_0x5136aa[_0x541317(0x133)]=_0x2589de['wlTxb'];const _0x2f2701=new AWS[(_0x541317(0x157))](_0x5136aa),_0x2bb12b=await fs[_0x541317(0x115)](path[_0x541317(0x12b)](__dirname,'..',_0x2589de[_0x541317(0xc7)],_0x2589de[_0x541317(0x116)]),_0x2589de[_0x541317(0x11b)]),_0x2b06c6={};_0x2b06c6[_0x541317(0x153)]=CLOUDFORMATION_SCHEMA;const _0x8db456=yaml['load'](_0x2bb12b,_0x2b06c6);await _0x2589de[_0x541317(0xd3)](addVPCData,_0x8db456,_0x1e9079),await _0x2589de[_0x541317(0x144)](addS3Data,_0x8db456),await _0x2589de[_0x541317(0x16a)](addSubnetData,_0x8db456,_0x23ffb7),await _0x2589de[_0x541317(0x110)](addTags,_0x8db456,_0xdfe856,_0x5efba8);const _0x4aade7=JSON[_0x541317(0x10d)](_0x8db456),_0x182140={};_0x182140[_0x541317(0x15b)]=CLUSTER_DEP_STACK_NAME+'-'+_0xdfe856,_0x182140[_0x541317(0x178)]=_0x2589de[_0x541317(0xc8)],_0x182140[_0x541317(0x120)]=_0x4aade7,_0x182140['Parameters']=[{'ParameterKey':_0x2589de['ISPAz'],'ParameterValue':_0xdfe856},{'ParameterKey':_0x2589de['cVxwg'],'ParameterValue':_0xdfe856+'-NodeGroup'},{'ParameterKey':_0x2589de[_0x541317(0x13c)],'ParameterValue':''+_0x215405},{'ParameterKey':_0x2589de[_0x541317(0xd0)],'ParameterValue':'0'},{'ParameterKey':_0x2589de[_0x541317(0x139)],'ParameterValue':'1'},{'ParameterKey':_0x2589de['PMJbK'],'ParameterValue':''+_0x3da1ff},{'ParameterKey':_0x2589de['AqAYM'],'ParameterValue':global_registry[_0x541317(0xd6)]},{'ParameterKey':_0x2589de[_0x541317(0xec)],'ParameterValue':global_registry[_0x541317(0x158)]},{'ParameterKey':_0x2589de['USQNf'],'ParameterValue':global_registry[_0x541317(0x17a)]},{'ParameterKey':_0x2589de[_0x541317(0x156)],'ParameterValue':_0xdfe856+_0x541317(0x177)},{'ParameterKey':_0x2589de['eboHn'],'ParameterValue':_0x2b5e81?_0x2589de[_0x541317(0x135)]:_0x2589de['bjBSV']}],_0x182140['Capabilities']=[_0x2589de['YWvqT']],_0x182140[_0x541317(0xf8)]=_0x5efba8;const _0x21eb38=_0x182140;if(_0x2589de[_0x541317(0xe2)](_0x1e9079,null)&&_0x2589de[_0x541317(0x107)](_0x1e9079,undefined)){if(_0x2589de[_0x541317(0x17f)](_0x2589de['pinhj'],_0x2589de[_0x541317(0x180)])){const _0x2cb904={};_0x2cb904['ParameterKey']=_0x2589de[_0x541317(0x162)],_0x2cb904[_0x541317(0x10f)]=_0x1e9079,_0x21eb38[_0x541317(0xdd)][_0x541317(0x117)](_0x2cb904);}else{const _0x369bb3={};_0x369bb3[_0x541317(0xef)]=_0x2589de['MZGSY'],_0x369bb3[_0x541317(0x10f)]=_0x4e19db,_0x3ca7a6['Parameters']['push'](_0x369bb3);}}if(_0x2589de[_0x541317(0xf9)](_0x23ffb7,null)&&_0x2589de[_0x541317(0x107)](_0x23ffb7,undefined)){let _0x356379=0x1;_0x23ffb7[_0x541317(0x140)](_0x3e6d0d=>{const _0x4a0840=_0x541317;_0x21eb38[_0x4a0840(0xdd)]['push']({'ParameterKey':_0x4a0840(0xc5)+_0x2589de[_0x4a0840(0x144)](String,_0x356379)[_0x4a0840(0x118)](0x2,'0'),'ParameterValue':_0x3e6d0d[_0x4a0840(0x101)]}),_0x356379+=0x1;});}const _0xcbdf4c=await _0x2f2701['createStack'](_0x21eb38)[_0x541317(0xcb)]();logger[_0x541317(0xf7)](_0x2589de[_0x541317(0xda)]);const _0x21d8ad={};return _0x21d8ad[_0x541317(0x15b)]=_0xcbdf4c['StackId'],_0x2f2701['waitFor'](_0x2589de['QryrV'],_0x21d8ad)[_0x541317(0xcb)]();};function a27_0x2574(){const _0xf2c276=['ParameterValue','gutCp','aws-eks-cluster-dep.yaml','RudNN','NodeAutoScalingGroupMinSizeWindows','UTqvB','readFileAsync','jrKwi','push','padStart','CFTemplates','mIzzx','CDCDg','QbdOu','5420708emasNx','xYUjo','nGwIM','TemplateBody','../config/logger','Kblcc','SubnetIds','ResourcesVpcConfig','NodeAutoScalingGroupDesiredSizeWindows','load','pLvDY','Subnet01','JEyUy','true','join','NodeImageId','1368rPfLWA','wBqkF','xczdR','Subnets','KYGMF','js-yaml-cloudformation-schema','apiVersion','vpc-import.yaml','LNqgI','FXusq','tHLmZ','htsjh','owZyo','ZoKJy','AWS::CloudFormation::Interface','rNgwA','Outputs','iwDxs','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','forEach','GpyAe','145769TQbZbi','NodeAutoScalingGroupMinSize','bBAfk','mfzDE','nDPku','OZbSV','s3-create.yaml','65MpRumb','1075460XllVvN','JouKC','wdPpt','PhNuy','VdLnm','subnet-import.yaml','znNog','NodeInstanceType','rOaeh','schema','twkbB','sUaLq','RVmao','CloudFormation','instanceType','S3BucketName','browserstack:creationDate','StackName','EKSCluster','toString','4|3|2|1|5|0','NodeGroupWindows','jJRPd','uGVNq','MZGSY','pfDZX','aWufo','browserstack:cluster','path','Subnet02Block','nKnuR','Key','IZPFq','rfRnO','dOhVO','Subnet01Block','split','3IkVNJK','Ref','LHsBW','Resources','kTrLD','khCkK','qWjgG','Metadata','-Windows-NodeGroup','OnFailure','NodeGroupName','s3Bucket','Value','subnet-create.yaml','OSMdd','phobz','fhKmz','pinhj','wrmHJ','mSNwS','poRuM','tTKnG','GidgN','FYghI','jRDsR','Yctyl','VpcBlock','Fn::Join','bluebird','GnNWR','QvcWU','NodeGroup','Subnet','PYdnO','OOjzT','UrcwQ','FtLyU','WjjFd','promise','EVaCb','441KmmMiU','ipJrJ','qKvGD','QqQIm','LqkyW','3|0|5|4|1|2','HrPRa','1981674pJZZLc','823710ftWMGN','ami','322ZEUbmy','JwWoK','pPqpN','oSqhG','ParameterGroups','MXNzn','Parameters','fNqAB','DELETE','vUwcu','uILXd','wPhMK','1Cblogw','js-yaml','daHJD','NodeGroupNameWindows','72NmyYdN','Properties','SIrsa','keys','../config/constants','ipuPZ','tLjOw','PZKDW','ParameterKey','utf-8','qAAWj','eHOlH','pTAno','./AWSUtils','ClusterAutoUpgrade','HgASz','debug','Tags','OdegC','gUABZ','NaURo','oSdcQ','VPC','aLnIV','192184pevSRf','EJtTl','value','vpc-create.yaml','valueOf','DependsOn','CAPABILITY_NAMED_IAM','rvSty','JDKdN','40546FcgcvK','ClusterName','lsknd','vIXbw','ECxva','stringify','HAIku'];a27_0x2574=function(){return _0xf2c276;};return a27_0x2574();}
|
|
1
|
+
const a27_0x378ddb=a27_0x7614;(function(_0x54d3b5,_0x4a4a93){const _0x48d67e=a27_0x7614,_0x1a9f2c=_0x54d3b5();while(!![]){try{const _0x5a8cd3=-parseInt(_0x48d67e(0x254))/0x1+-parseInt(_0x48d67e(0x241))/0x2+-parseInt(_0x48d67e(0x28b))/0x3*(parseInt(_0x48d67e(0x215))/0x4)+parseInt(_0x48d67e(0x1e0))/0x5+-parseInt(_0x48d67e(0x24f))/0x6*(-parseInt(_0x48d67e(0x1f3))/0x7)+parseInt(_0x48d67e(0x282))/0x8+-parseInt(_0x48d67e(0x258))/0x9*(-parseInt(_0x48d67e(0x23a))/0xa);if(_0x5a8cd3===_0x4a4a93)break;else _0x1a9f2c['push'](_0x1a9f2c['shift']());}catch(_0x66c624){_0x1a9f2c['push'](_0x1a9f2c['shift']());}}}(a27_0x50c8,0xc8bbe));const fs=require('fs'),path=require(a27_0x378ddb(0x23e)),Promise=require(a27_0x378ddb(0x1ef)),yaml=require(a27_0x378ddb(0x1db)),{CLOUDFORMATION_SCHEMA}=require(a27_0x378ddb(0x1f9)),AWS=require(a27_0x378ddb(0x253))[a27_0x378ddb(0x20e)],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a27_0x378ddb(0x1e9)),{logger}=require(a27_0x378ddb(0x22c)),{isBucketPresent}=require(a27_0x378ddb(0x253));function a27_0x50c8(){const _0x3b2b8a=['287562QbCKKl','VPC','ParameterKey','ResourcesVpcConfig','GNQuO','subnet-create.yaml','kXlSf','cHcju','TemplateBody','Mxbta','CloudFormation','ABILm','ZouKY','ZXNak','22170YqFAjQ','qnSgY','AWS::CloudFormation::Interface','fcCvj','./AWSUtils','345048BkWGKy','uLCkU','SPplb','HOzIw','26937duImSF','azaHz','meQiZ','OdGDi','2010-05-15','Subnet02Block','StackName','KgoQA','Subnet01','promisifyAll','join','SubnetIds','yorJH','IpGMc','stringify','NodeGroupWindows','rJhTw','vJHDN','gbNQg','Tags','Value','LnuIa','Ajoet','wkdBX','OnFailure','gahiC','Subnet03','createStack','QlVik','YbPJG','NodeGroupName','load','Key','Parameters','browserstack:cluster','readFileAsync','WdGmR','IqnLD','oSfVO','ItVHm','padStart','Onmzl','9732840wXwCRV','WloIc','ZOPhf','EKSCluster','false','pdZAb','forEach','fSGpT','sUDFd','21oHbPrh','BNmAt','Pqfaw','promise','bMpyT','waitFor','BHUCk','ParameterGroups','NodeAutoScalingGroupMinSizeWindows','TNiOh','NodeInstanceType','LSdha','PZuuF','js-yaml','LZqhZ','XLlOC','emvAK','ParameterValue','5377925MmkmiT','DYfeY','vQPYD','sgzgu','NodeGroup','QqxFB','IoJLa','Subnet','fcvfR','../config/constants','JlvtY','split','ETaKm','LNpBD','hOgnK','bluebird','Subnets','push','CTTzd','455moVGYp','cdIBz','CBhXL','createClusterStack','subnet-import.yaml','DependsOn','js-yaml-cloudformation-schema','S3BucketName','wHRRH','YCyex','DAIoM','Yqdmj','Properties','njbtO','Metadata','Vphib','toString','XUkYi','s3Bucket','nGtBb','Ref','RtrnE','value','2|1|4|5|0|3','QUnoU','KsiqU','utf-8','awsObj','pIcDi','valueOf','rhuZn','pgnIR','NodeAutoScalingGroupMinSize','NodeAutoScalingGroupDesiredSizeWindows','932212UxLACa','WqyZC','CFTemplates','kRlkr','DELETE','nTrCo','schema','5|3|0|4|1|2','jTcYx','pUrFG','EUeRY','ruyeQ','xGcFZ','browserstack:creationDate','QyxUP','pvaMB','WkAvX','VpcBlock','Subnet03Block','RdPUp','yUwAa','debug','NodeImageId','../config/logger','DMsbO','ryMAh','nTyWc','SVHNr','instanceType','gijGC','kVIYi','xDqkd','oBeyH','Resources','Fn::Join','XCgQH','yozib','1370ZwdVle','ClusterAutoUpgrade','TzneB','keys','path','Outputs','s3-create.yaml'];a27_0x50c8=function(){return _0x3b2b8a;};return a27_0x50c8();}Promise[a27_0x378ddb(0x261)](fs);const mergeTemplates=(_0x7dcf1a,_0x269d15)=>{const _0x1170c7=a27_0x378ddb,_0x59e385={};_0x59e385[_0x1170c7(0x24c)]=function(_0x512b74,_0x2f61b2){return _0x512b74!==_0x2f61b2;},_0x59e385[_0x1170c7(0x252)]='Xpsga',_0x59e385[_0x1170c7(0x20c)]=function(_0x5ad64a,_0x32ba10){return _0x5ad64a===_0x32ba10;},_0x59e385[_0x1170c7(0x24d)]=_0x1170c7(0x257),_0x59e385[_0x1170c7(0x22f)]=_0x1170c7(0x289);const _0x5dcc4a=_0x59e385;Object['keys'](_0x269d15)[_0x1170c7(0x288)](_0x1126db=>{const _0x15ed06=_0x1170c7;if(_0x5dcc4a[_0x15ed06(0x20c)](_0x5dcc4a['ZouKY'],_0x5dcc4a[_0x15ed06(0x22f)]))_0x22edac[_0x15ed06(0x236)][_0x49a703]['Properties'][_0x15ed06(0x26b)]['push'](..._0x1f0b42);else{var _0x566e07=_0x269d15[_0x1126db];Object[_0x15ed06(0x23d)](_0x566e07)[_0x15ed06(0x288)](_0x27ca73=>{const _0x58cc45=_0x15ed06;if(_0x5dcc4a['ABILm'](_0x5dcc4a[_0x58cc45(0x252)],_0x5dcc4a['fcCvj'])){var _0x43c3ea=_0x4e37ee[_0x52ace5];_0xa0444d[_0x58cc45(0x23d)](_0x43c3ea)[_0x58cc45(0x288)](_0x340776=>{_0x4a0e42[_0x2104f6][_0x340776]=_0x43c3ea[_0x340776];});}else _0x7dcf1a[_0x1126db][_0x27ca73]=_0x566e07[_0x27ca73];});}});},addVPCData=async(_0x5c0c6b,_0x29e952)=>{const _0x389cec=a27_0x378ddb,_0x4fe06e={'pUrFG':_0x389cec(0x21c),'LSdha':function(_0x13940c,_0xeefc14){return _0x13940c(_0xeefc14);},'DMsbO':_0x389cec(0x237),'ruyeQ':_0x389cec(0x251),'rhuZn':function(_0x2904a8,_0x363ac3){return _0x2904a8(_0x363ac3);},'jnERB':function(_0x51ddd6,_0x52fe43){return _0x51ddd6(_0x52fe43);},'ryMAh':'NodeGroup','KgoQA':_0x389cec(0x267),'ZOPhf':function(_0x114563,_0x2b4c2d){return _0x114563===_0x2b4c2d;},'oSfVO':_0x389cec(0x1e8),'kRlkr':_0x389cec(0x283),'cHcju':_0x389cec(0x217),'yozib':'vpc-import.yaml','jTcYx':_0x389cec(0x20d),'meQiZ':function(_0x22d0c8,_0x5d6f0f,_0x5eeaa1){return _0x22d0c8(_0x5d6f0f,_0x5eeaa1);},'nGtBb':_0x389cec(0x242),'DYfeY':function(_0x4bf8c1,_0x4487be){return _0x4bf8c1===_0x4487be;},'ETaKm':_0x389cec(0x21f),'DAIoM':'vpc-create.yaml','YUICR':_0x389cec(0x226)};if(_0x29e952){if(_0x4fe06e[_0x389cec(0x284)](_0x4fe06e[_0x389cec(0x27e)],_0x4fe06e[_0x389cec(0x218)])){const _0x291ab6=_0x4fe06e[_0x389cec(0x21e)][_0x389cec(0x1eb)]('|');let _0x3abffd=0x0;while(!![]){switch(_0x291ab6[_0x3abffd++]){case'0':_0x282209[_0x389cec(0x236)][_0x389cec(0x1e4)][_0x389cec(0x1ff)][_0x389cec(0x1f0)][_0x389cec(0x1f1)]({'Ref':'Subnet'+_0x4fe06e[_0x389cec(0x1d9)](_0x5aa166,_0x1cda26)[_0x389cec(0x280)](0x2,'0')});continue;case'1':_0x31fa[_0x389cec(0x23f)][_0x389cec(0x263)][_0x389cec(0x26c)][_0x4fe06e[_0x389cec(0x22d)]][0x1]['push']({'Ref':_0x389cec(0x1e7)+_0x4fe06e[_0x389cec(0x1d9)](_0x286f50,_0x3c7647)[_0x389cec(0x280)](0x2,'0')});continue;case'2':_0x428dc1+=0x1;continue;case'3':_0x5a9717[_0x389cec(0x201)][_0x4fe06e[_0x389cec(0x220)]][_0x389cec(0x292)][0x0]['Parameters'][_0x389cec(0x1f1)]('Subnet'+_0x4fe06e['rhuZn'](_0x789c2a,_0x3b49f0)[_0x389cec(0x280)](0x2,'0'));continue;case'4':_0x2bfe6a[_0x389cec(0x236)][_0x389cec(0x267)]['Properties'][_0x389cec(0x1f0)][_0x389cec(0x1f1)]({'Ref':_0x389cec(0x1e7)+_0x4fe06e[_0x389cec(0x211)](_0x2fa53a,_0x2bb91f)[_0x389cec(0x280)](0x2,'0')});continue;case'5':_0x189e15[_0x389cec(0x236)][_0x389cec(0x285)][_0x389cec(0x1ff)][_0x389cec(0x244)][_0x389cec(0x263)]['push']({'Ref':_0x389cec(0x1e7)+_0x4fe06e['jnERB'](_0xe384ee,_0x138f77)[_0x389cec(0x280)](0x2,'0')});continue;}break;}}else{const _0x41fbf8=await fs[_0x389cec(0x27b)](path['join'](__dirname,'..',_0x4fe06e[_0x389cec(0x248)],_0x4fe06e[_0x389cec(0x239)]),_0x4fe06e[_0x389cec(0x21d)]),_0x2b7775={};_0x2b7775[_0x389cec(0x21b)]=CLOUDFORMATION_SCHEMA;const _0x4b0656=yaml['load'](_0x41fbf8,_0x2b7775);_0x4fe06e[_0x389cec(0x25a)](mergeTemplates,_0x5c0c6b,_0x4b0656),_0x5c0c6b[_0x389cec(0x201)][_0x4fe06e[_0x389cec(0x220)]][_0x389cec(0x292)][0x0]['Parameters'][_0x389cec(0x1f1)](_0x4fe06e[_0x389cec(0x206)]);}}else{if(_0x4fe06e[_0x389cec(0x1e1)](_0x4fe06e[_0x389cec(0x1ec)],_0x4fe06e[_0x389cec(0x1ec)])){const _0x13e951=await fs['readFileAsync'](path[_0x389cec(0x262)](__dirname,'..',_0x4fe06e['cHcju'],_0x4fe06e[_0x389cec(0x1fd)]),_0x4fe06e['jTcYx']),_0x287888={};_0x287888[_0x389cec(0x21b)]=CLOUDFORMATION_SCHEMA;const _0x4938fc=yaml[_0x389cec(0x277)](_0x13e951,_0x287888);_0x4fe06e[_0x389cec(0x25a)](mergeTemplates,_0x5c0c6b,_0x4938fc),_0x5c0c6b[_0x389cec(0x201)][_0x4fe06e[_0x389cec(0x220)]][_0x389cec(0x292)][0x0][_0x389cec(0x279)][_0x389cec(0x1f1)](_0x4fe06e['YUICR']);}else{for(const _0x37d81b in _0x19d1b2[_0x389cec(0x236)]){_0x5bd6e7[_0x389cec(0x236)][_0x37d81b]['Properties']&&_0x424f73[_0x389cec(0x236)][_0x37d81b][_0x389cec(0x1ff)][_0x389cec(0x26b)]&&_0x3d69b8['Resources'][_0x37d81b][_0x389cec(0x1ff)][_0x389cec(0x26b)][_0x389cec(0x1f1)](..._0x46e6a1);}const _0x5b244b={};_0x2e6bbf[_0x389cec(0x288)](_0x2d97fc=>{const _0x2ebe5d=_0x389cec;_0x5b244b[_0x2d97fc[_0x2ebe5d(0x278)]]=_0x2d97fc[_0x2ebe5d(0x26c)];}),_0x3ff948[_0x389cec(0x236)][_0x4fe06e[_0x389cec(0x22e)]][_0x389cec(0x1ff)][_0x389cec(0x26b)]=_0x5b244b,_0x2875c0['Resources'][_0x4fe06e[_0x389cec(0x25f)]][_0x389cec(0x1ff)][_0x389cec(0x26b)]=_0x5b244b;}}},addS3Data=async _0x4e0bd2=>{const _0x8bc0c5=a27_0x378ddb,_0x51d142={'cTlba':_0x8bc0c5(0x242),'mMEYh':_0x8bc0c5(0x217),'HesEx':_0x8bc0c5(0x240),'uLCkU':'utf-8','nTrCo':function(_0xb86e83,_0x16b9d4){return _0xb86e83(_0x16b9d4);},'gbNQg':function(_0x1362d8,_0x1ae943){return _0x1362d8===_0x1ae943;},'YbPJG':function(_0x5f5710,_0x4b8d0c){return _0x5f5710!==_0x4b8d0c;},'QUnoU':'CFgPw','fbhTV':function(_0x2ccbf5,_0x4ac064,_0x6c998d){return _0x2ccbf5(_0x4ac064,_0x6c998d);}},_0x1e20f6=await fs[_0x8bc0c5(0x27b)](path[_0x8bc0c5(0x262)](__dirname,'..',_0x51d142['mMEYh'],_0x51d142['HesEx']),_0x51d142[_0x8bc0c5(0x255)]),_0x4ec6aa={};_0x4ec6aa[_0x8bc0c5(0x21b)]=CLOUDFORMATION_SCHEMA;const _0xa1f01a=yaml[_0x8bc0c5(0x277)](_0x1e20f6,_0x4ec6aa),_0x26b4eb=await _0x51d142[_0x8bc0c5(0x21a)](isBucketPresent,global_registry['s3Bucket']);if(_0x51d142[_0x8bc0c5(0x26a)](_0x26b4eb,![])){if(_0x51d142[_0x8bc0c5(0x275)](_0x51d142[_0x8bc0c5(0x20b)],_0x51d142['QUnoU'])){const _0x120b2c={};_0x120b2c[_0x8bc0c5(0x243)]=_0x51d142['cTlba'],_0x120b2c[_0x8bc0c5(0x1df)]=_0x4ace54,_0xc6f8a7[_0x8bc0c5(0x279)][_0x8bc0c5(0x1f1)](_0x120b2c);}else _0x51d142['fbhTV'](mergeTemplates,_0x4e0bd2,_0xa1f01a);}},addSubnetData=async(_0x26d7bc,_0x522165)=>{const _0x45c35a=a27_0x378ddb,_0x2949be={'sUDFd':function(_0x434b6d,_0x25182a){return _0x434b6d===_0x25182a;},'ZXNak':'AXzuy','PZuuF':'avwmi','rJhTw':_0x45c35a(0x20a),'RdPUp':'Fn::Join','Onmzl':function(_0x3ad18b,_0x7479ed){return _0x3ad18b(_0x7479ed);},'XUkYi':_0x45c35a(0x251),'pvaMB':function(_0x2e574e,_0x326e40){return _0x2e574e(_0x326e40);},'xDqkd':function(_0x14ee25,_0x2aebec){return _0x14ee25(_0x2aebec);},'zhlUU':_0x45c35a(0x1f5),'mYhBM':'UvaDV','Yqdmj':_0x45c35a(0x217),'wHRRH':_0x45c35a(0x1f7),'XLlOC':'utf-8','QlVik':function(_0x41f3c2,_0x5c5b43,_0x50f99c){return _0x41f3c2(_0x5c5b43,_0x50f99c);},'WdGmR':function(_0xf9ed15,_0x3ea54d){return _0xf9ed15!==_0x3ea54d;},'gahiC':_0x45c35a(0x27d),'LnuIa':'VQdZr','JlvtY':_0x45c35a(0x246),'GNQuO':_0x45c35a(0x260),'cdIBz':'Subnet02','SVHNr':_0x45c35a(0x272),'wkdBX':'Subnet01Block','IpGMc':_0x45c35a(0x25d),'vJHDN':_0x45c35a(0x227)};if(_0x522165){if(_0x2949be['sUDFd'](_0x2949be['zhlUU'],_0x2949be['mYhBM']))_0x9dba3e[_0x45c35a(0x236)][_0x297cb3][_0x45c35a(0x1ff)]&&_0x563135[_0x45c35a(0x236)][_0x59471f][_0x45c35a(0x1ff)]['Tags']&&_0x293a7b['Resources'][_0x49a8b0][_0x45c35a(0x1ff)][_0x45c35a(0x26b)]['push'](..._0x2d635f);else{const _0x3a812b=await fs[_0x45c35a(0x27b)](path[_0x45c35a(0x262)](__dirname,'..',_0x2949be['Yqdmj'],_0x2949be[_0x45c35a(0x1fb)]),_0x2949be[_0x45c35a(0x1dd)]),_0x4bcd94={};_0x4bcd94[_0x45c35a(0x21b)]=CLOUDFORMATION_SCHEMA;const _0x4ccab7=yaml[_0x45c35a(0x277)](_0x3a812b,_0x4bcd94);_0x2949be[_0x45c35a(0x274)](mergeTemplates,_0x26d7bc,_0x4ccab7);let _0x51c4cc=0x1;_0x522165[_0x45c35a(0x288)](_0x103826=>{const _0x4d4f0e=_0x45c35a;if(_0x2949be[_0x4d4f0e(0x28a)](_0x2949be[_0x4d4f0e(0x24e)],_0x2949be[_0x4d4f0e(0x1da)]))_0x535b54[_0x4d4f0e(0x23d)](_0x28b8c5)[_0x4d4f0e(0x288)](_0x36e8be=>{const _0x17a1f0=_0x4d4f0e;var _0x2ad900=_0x15376b[_0x36e8be];_0x553ed0[_0x17a1f0(0x23d)](_0x2ad900)[_0x17a1f0(0x288)](_0xa29823=>{_0x26f53a[_0x36e8be][_0xa29823]=_0x2ad900[_0xa29823];});});else{const _0x13a12e=_0x2949be[_0x4d4f0e(0x268)]['split']('|');let _0x372314=0x0;while(!![]){switch(_0x13a12e[_0x372314++]){case'0':_0x26d7bc[_0x4d4f0e(0x23f)][_0x4d4f0e(0x263)][_0x4d4f0e(0x26c)][_0x2949be[_0x4d4f0e(0x228)]][0x1][_0x4d4f0e(0x1f1)]({'Ref':_0x4d4f0e(0x1e7)+_0x2949be['Onmzl'](String,_0x51c4cc)[_0x4d4f0e(0x280)](0x2,'0')});continue;case'1':_0x26d7bc[_0x4d4f0e(0x201)][_0x2949be[_0x4d4f0e(0x204)]]['ParameterGroups'][0x0][_0x4d4f0e(0x279)][_0x4d4f0e(0x1f1)]('Subnet'+_0x2949be['Onmzl'](String,_0x51c4cc)[_0x4d4f0e(0x280)](0x2,'0'));continue;case'2':_0x26d7bc['Resources'][_0x4d4f0e(0x285)]['Properties'][_0x4d4f0e(0x244)][_0x4d4f0e(0x263)][_0x4d4f0e(0x1f1)]({'Ref':'Subnet'+_0x2949be[_0x4d4f0e(0x281)](String,_0x51c4cc)[_0x4d4f0e(0x280)](0x2,'0')});continue;case'3':_0x51c4cc+=0x1;continue;case'4':_0x26d7bc[_0x4d4f0e(0x236)][_0x4d4f0e(0x1e4)][_0x4d4f0e(0x1ff)][_0x4d4f0e(0x1f0)][_0x4d4f0e(0x1f1)]({'Ref':_0x4d4f0e(0x1e7)+_0x2949be[_0x4d4f0e(0x281)](String,_0x51c4cc)['padStart'](0x2,'0')});continue;case'5':_0x26d7bc['Resources'][_0x4d4f0e(0x267)][_0x4d4f0e(0x1ff)][_0x4d4f0e(0x1f0)][_0x4d4f0e(0x1f1)]({'Ref':_0x4d4f0e(0x1e7)+_0x2949be[_0x4d4f0e(0x224)](String,_0x51c4cc)['padStart'](0x2,'0')});continue;}break;}}});}}else{if(_0x2949be[_0x45c35a(0x27c)](_0x2949be[_0x45c35a(0x271)],_0x2949be[_0x45c35a(0x26d)])){const _0x23ebbb=await fs[_0x45c35a(0x27b)](path[_0x45c35a(0x262)](__dirname,'..',_0x2949be[_0x45c35a(0x1fe)],_0x2949be[_0x45c35a(0x1ea)]),_0x2949be[_0x45c35a(0x1dd)]),_0x4fa847={};_0x4fa847[_0x45c35a(0x21b)]=CLOUDFORMATION_SCHEMA;const _0x45741b=yaml['load'](_0x23ebbb,_0x4fa847);_0x2949be[_0x45c35a(0x274)](mergeTemplates,_0x26d7bc,_0x45741b),_0x26d7bc[_0x45c35a(0x236)][_0x45c35a(0x285)][_0x45c35a(0x1f8)]['push'](_0x2949be[_0x45c35a(0x245)],_0x2949be[_0x45c35a(0x1f4)],_0x2949be[_0x45c35a(0x230)]);const _0x2aeec7={};_0x2aeec7[_0x45c35a(0x207)]=_0x2949be[_0x45c35a(0x245)];const _0x58a802={};_0x58a802[_0x45c35a(0x207)]=_0x2949be[_0x45c35a(0x1f4)];const _0x1286ae={};_0x1286ae['Ref']=_0x2949be['SVHNr'],_0x26d7bc[_0x45c35a(0x236)]['EKSCluster'][_0x45c35a(0x1ff)][_0x45c35a(0x244)][_0x45c35a(0x263)]=[_0x2aeec7,_0x58a802,_0x1286ae],_0x26d7bc[_0x45c35a(0x201)][_0x2949be[_0x45c35a(0x204)]][_0x45c35a(0x292)][0x0][_0x45c35a(0x279)][_0x45c35a(0x1f1)](_0x2949be[_0x45c35a(0x26f)],_0x2949be[_0x45c35a(0x265)],_0x2949be[_0x45c35a(0x269)]);const _0x1a4aaf={};_0x1a4aaf[_0x45c35a(0x207)]=_0x2949be[_0x45c35a(0x245)];const _0x2ff858={};_0x2ff858[_0x45c35a(0x207)]=_0x2949be[_0x45c35a(0x1f4)];const _0x200244={};_0x200244[_0x45c35a(0x207)]=_0x2949be['SVHNr'],_0x26d7bc['Resources'][_0x45c35a(0x1e4)][_0x45c35a(0x1ff)][_0x45c35a(0x1f0)]=[_0x1a4aaf,_0x2ff858,_0x200244];const _0xd9e20={};_0xd9e20['Ref']=_0x2949be[_0x45c35a(0x245)];const _0x7d6376={};_0x7d6376[_0x45c35a(0x207)]=_0x2949be[_0x45c35a(0x1f4)];const _0x44d183={};_0x44d183[_0x45c35a(0x207)]=_0x2949be[_0x45c35a(0x230)],_0x26d7bc[_0x45c35a(0x236)][_0x45c35a(0x267)][_0x45c35a(0x1ff)][_0x45c35a(0x1f0)]=[_0xd9e20,_0x7d6376,_0x44d183],_0x26d7bc[_0x45c35a(0x23f)][_0x45c35a(0x263)][_0x45c35a(0x26c)][_0x2949be['RdPUp']][0x1]=[{'Ref':_0x2949be['GNQuO']},{'Ref':_0x2949be[_0x45c35a(0x1f4)]},{'Ref':_0x2949be[_0x45c35a(0x230)]}];}else _0x3a1e6e[_0x45c35a(0x279)][_0x45c35a(0x1f1)]({'ParameterKey':_0x45c35a(0x1e7)+_0x2949be[_0x45c35a(0x234)](_0x446b20,_0x323b20)[_0x45c35a(0x280)](0x2,'0'),'ParameterValue':_0x370347[_0x45c35a(0x209)]}),_0x2e88b0+=0x1;}},addTags=async(_0x2aa9fc,_0x28cdc9,_0x20e69c)=>{const _0x323b77=a27_0x378ddb,_0x5aba04={'GmJEo':function(_0x4ba5c2,_0x792448,_0x5b8bab){return _0x4ba5c2(_0x792448,_0x5b8bab);},'NQPoJ':function(_0x25a530,_0x4be4f4){return _0x25a530(_0x4be4f4);},'pdZAb':function(_0x5162ec,_0x361265){return _0x5162ec!==_0x361265;},'BNmAt':'HmLOh','CTTzd':_0x323b77(0x1ed),'pgnIR':function(_0x20d9a6,_0xea15c4){return _0x20d9a6!==_0xea15c4;},'svfIE':'DQoFd','njbtO':_0x323b77(0x250),'QqxFB':function(_0x30af04,_0x2dc2b4){return _0x30af04!==_0x2dc2b4;},'IoJLa':'TeADN','TNiOh':_0x323b77(0x1e4),'gijGC':'NodeGroupWindows'};for(const _0x331ed4 in _0x2aa9fc[_0x323b77(0x236)]){_0x5aba04[_0x323b77(0x212)](_0x5aba04['svfIE'],_0x5aba04[_0x323b77(0x200)])?_0x2aa9fc[_0x323b77(0x236)][_0x331ed4]['Properties']&&_0x2aa9fc[_0x323b77(0x236)][_0x331ed4]['Properties'][_0x323b77(0x26b)]&&(_0x5aba04[_0x323b77(0x1e5)](_0x5aba04[_0x323b77(0x1e6)],_0x5aba04[_0x323b77(0x1e6)])?_0x5aba04['GmJEo'](_0x105f9f,_0x105e79,_0x5920eb):_0x2aa9fc[_0x323b77(0x236)][_0x331ed4][_0x323b77(0x1ff)][_0x323b77(0x26b)][_0x323b77(0x1f1)](..._0x20e69c)):_0x90f481[_0x846946[_0x323b77(0x278)]]=_0x4120d6[_0x323b77(0x26c)];}const _0x423dfe={};_0x20e69c[_0x323b77(0x288)](_0x51c2fd=>{const _0x26639e=_0x323b77,_0x38ddd0={'WqyZC':function(_0x222c36,_0x11d731){return _0x5aba04['NQPoJ'](_0x222c36,_0x11d731);}};if(_0x5aba04[_0x26639e(0x287)](_0x5aba04[_0x26639e(0x28c)],_0x5aba04[_0x26639e(0x1f2)]))_0x423dfe[_0x51c2fd[_0x26639e(0x278)]]=_0x51c2fd[_0x26639e(0x26c)];else{const _0x9ec8f1={'XCgQH':function(_0x1d91cc,_0x1cf980){const _0x43957a=_0x26639e;return _0x38ddd0[_0x43957a(0x216)](_0x1d91cc,_0x1cf980);}};let _0x33f8d1=0x1;_0xb098ea[_0x26639e(0x288)](_0x27e911=>{const _0x4f7497=_0x26639e;_0x20608e['Parameters'][_0x4f7497(0x1f1)]({'ParameterKey':'Subnet'+_0x9ec8f1[_0x4f7497(0x238)](_0x52480d,_0x33f8d1)[_0x4f7497(0x280)](0x2,'0'),'ParameterValue':_0x27e911[_0x4f7497(0x209)]}),_0x33f8d1+=0x1;});}}),_0x2aa9fc['Resources'][_0x5aba04[_0x323b77(0x1d7)]][_0x323b77(0x1ff)][_0x323b77(0x26b)]=_0x423dfe,_0x2aa9fc['Resources'][_0x5aba04[_0x323b77(0x232)]]['Properties'][_0x323b77(0x26b)]=_0x423dfe;};function a27_0x7614(_0x3838b3,_0x11b386){const _0x50c840=a27_0x50c8();return a27_0x7614=function(_0x76148b,_0x1710a1){_0x76148b=_0x76148b-0x1d7;let _0xa9fddb=_0x50c840[_0x76148b];return _0xa9fddb;},a27_0x7614(_0x3838b3,_0x11b386);}exports[a27_0x378ddb(0x1f6)]=async(_0x5876ed,_0x37a1a8,_0x3ee2ba,_0xf35004=null,_0x2ef650=null,_0x2dccf1)=>{const _0xf3fd4f=a27_0x378ddb,_0x16d2a3={'kXlSf':function(_0x5df06e,_0x1168f3){return _0x5df06e(_0x1168f3);},'Tdaoq':_0xf3fd4f(0x27a),'XyQXO':_0xf3fd4f(0x222),'Vphib':_0xf3fd4f(0x25c),'oBeyH':_0xf3fd4f(0x217),'Uqdcg':'aws-eks-cluster-dep.yaml','hOgnK':_0xf3fd4f(0x20d),'SPplb':function(_0xeb93d7,_0x7de979,_0xb86982){return _0xeb93d7(_0x7de979,_0xb86982);},'LZqhZ':function(_0x5ea6ae,_0x534825){return _0x5ea6ae(_0x534825);},'WkAvX':function(_0x508d1b,_0x3bb286,_0x4467fc){return _0x508d1b(_0x3bb286,_0x4467fc);},'bMpyT':function(_0x58ac53,_0x29a95a,_0x5454cb,_0x345aa1){return _0x58ac53(_0x29a95a,_0x5454cb,_0x345aa1);},'ikIqB':_0xf3fd4f(0x219),'kVIYi':'ClusterName','ItVHm':_0xf3fd4f(0x276),'sgzgu':_0xf3fd4f(0x213),'Ajoet':_0xf3fd4f(0x293),'SDzUb':_0xf3fd4f(0x214),'XQaWq':'NodeAutoScalingGroupMaxSize','QyxUP':_0xf3fd4f(0x22b),'ihZom':_0xf3fd4f(0x1d8),'Pqfaw':_0xf3fd4f(0x1fa),'vQPYD':'NodeGroupNameWindows','yUwAa':_0xf3fd4f(0x23b),'OdGDi':'true','xBQfh':_0xf3fd4f(0x286),'yorJH':'CAPABILITY_NAMED_IAM','xGcFZ':function(_0x2118fc,_0x5da6ba){return _0x2118fc!=_0x5da6ba;},'emvAK':function(_0x526849,_0x5bf48a){return _0x526849!==_0x5bf48a;},'BHUCk':function(_0x5af28f,_0x496c1d){return _0x5af28f===_0x496c1d;},'TzneB':_0xf3fd4f(0x20f),'Mxbta':_0xf3fd4f(0x242),'YCyex':function(_0x576926,_0x497db8){return _0x576926!=_0x497db8;},'RtrnE':function(_0x491423,_0x4e1518){return _0x491423!==_0x4e1518;},'azaHz':'Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','mHpNM':'stackCreateComplete'},_0x1143d5=COMMON_HST_TAGS,_0xcac88c={};_0xcac88c[_0xf3fd4f(0x278)]=_0x16d2a3['Tdaoq'],_0xcac88c[_0xf3fd4f(0x26c)]=_0x5876ed,_0x1143d5['push'](_0xcac88c),_0x1143d5[_0xf3fd4f(0x1f1)]({'Key':_0x16d2a3['XyQXO'],'Value':new Date()[_0xf3fd4f(0x210)]()[_0xf3fd4f(0x203)]()});const _0x160704={};_0x160704['apiVersion']=_0x16d2a3[_0xf3fd4f(0x202)];const _0x8e92aa=new AWS[(_0xf3fd4f(0x24b))](_0x160704),_0xbadeb=await fs[_0xf3fd4f(0x27b)](path[_0xf3fd4f(0x262)](__dirname,'..',_0x16d2a3[_0xf3fd4f(0x235)],_0x16d2a3['Uqdcg']),_0x16d2a3[_0xf3fd4f(0x1ee)]),_0x225d6f={};_0x225d6f[_0xf3fd4f(0x21b)]=CLOUDFORMATION_SCHEMA;const _0x51f9c9=yaml[_0xf3fd4f(0x277)](_0xbadeb,_0x225d6f);await _0x16d2a3[_0xf3fd4f(0x256)](addVPCData,_0x51f9c9,_0xf35004),await _0x16d2a3[_0xf3fd4f(0x1dc)](addS3Data,_0x51f9c9),await _0x16d2a3[_0xf3fd4f(0x225)](addSubnetData,_0x51f9c9,_0x2ef650),await _0x16d2a3[_0xf3fd4f(0x28f)](addTags,_0x51f9c9,_0x5876ed,_0x1143d5);const _0x308fc7=JSON[_0xf3fd4f(0x266)](_0x51f9c9),_0x201e53={};_0x201e53[_0xf3fd4f(0x25e)]=CLUSTER_DEP_STACK_NAME+'-'+_0x5876ed,_0x201e53[_0xf3fd4f(0x270)]=_0x16d2a3['ikIqB'],_0x201e53[_0xf3fd4f(0x249)]=_0x308fc7,_0x201e53[_0xf3fd4f(0x279)]=[{'ParameterKey':_0x16d2a3[_0xf3fd4f(0x233)],'ParameterValue':_0x5876ed},{'ParameterKey':_0x16d2a3[_0xf3fd4f(0x27f)],'ParameterValue':_0x5876ed+'-NodeGroup'},{'ParameterKey':_0x16d2a3[_0xf3fd4f(0x1e3)],'ParameterValue':''+_0x37a1a8},{'ParameterKey':_0x16d2a3[_0xf3fd4f(0x26e)],'ParameterValue':'0'},{'ParameterKey':_0x16d2a3['SDzUb'],'ParameterValue':'1'},{'ParameterKey':_0x16d2a3['XQaWq'],'ParameterValue':''+_0x3ee2ba},{'ParameterKey':_0x16d2a3[_0xf3fd4f(0x223)],'ParameterValue':global_registry['ami']},{'ParameterKey':_0x16d2a3['ihZom'],'ParameterValue':global_registry[_0xf3fd4f(0x231)]},{'ParameterKey':_0x16d2a3[_0xf3fd4f(0x28d)],'ParameterValue':global_registry[_0xf3fd4f(0x205)]},{'ParameterKey':_0x16d2a3[_0xf3fd4f(0x1e2)],'ParameterValue':_0x5876ed+'-Windows-NodeGroup'},{'ParameterKey':_0x16d2a3[_0xf3fd4f(0x229)],'ParameterValue':_0x2dccf1?_0x16d2a3[_0xf3fd4f(0x25b)]:_0x16d2a3['xBQfh']}],_0x201e53['Capabilities']=[_0x16d2a3[_0xf3fd4f(0x264)]],_0x201e53[_0xf3fd4f(0x26b)]=_0x1143d5;const _0x195ad5=_0x201e53;if(_0x16d2a3[_0xf3fd4f(0x221)](_0xf35004,null)&&_0x16d2a3[_0xf3fd4f(0x1de)](_0xf35004,undefined)){if(_0x16d2a3[_0xf3fd4f(0x291)](_0x16d2a3[_0xf3fd4f(0x23c)],_0x16d2a3[_0xf3fd4f(0x23c)])){const _0x2e26a2={};_0x2e26a2[_0xf3fd4f(0x243)]=_0x16d2a3[_0xf3fd4f(0x24a)],_0x2e26a2[_0xf3fd4f(0x1df)]=_0xf35004,_0x195ad5[_0xf3fd4f(0x279)][_0xf3fd4f(0x1f1)](_0x2e26a2);}else _0x1c064e[_0xe6e67c][_0x4a77c7]=_0x12c9fa[_0x31d6a7];}if(_0x16d2a3[_0xf3fd4f(0x1fc)](_0x2ef650,null)&&_0x16d2a3[_0xf3fd4f(0x208)](_0x2ef650,undefined)){let _0x5139c2=0x1;_0x2ef650[_0xf3fd4f(0x288)](_0x5eb28a=>{const _0x299b7d=_0xf3fd4f;_0x195ad5[_0x299b7d(0x279)][_0x299b7d(0x1f1)]({'ParameterKey':'Subnet'+_0x16d2a3[_0x299b7d(0x247)](String,_0x5139c2)[_0x299b7d(0x280)](0x2,'0'),'ParameterValue':_0x5eb28a[_0x299b7d(0x209)]}),_0x5139c2+=0x1;});}const _0x30fce2=await _0x8e92aa[_0xf3fd4f(0x273)](_0x195ad5)[_0xf3fd4f(0x28e)]();logger[_0xf3fd4f(0x22a)](_0x16d2a3[_0xf3fd4f(0x259)]);const _0x4bba98={};return _0x4bba98[_0xf3fd4f(0x25e)]=_0x30fce2['StackId'],_0x8e92aa[_0xf3fd4f(0x290)](_0x16d2a3['mHpNM'],_0x4bba98)[_0xf3fd4f(0x28e)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a28_0x501ab6=a28_0x5529;function a28_0x5529(_0x22f462,_0x421506){const _0x184827=a28_0x1848();return a28_0x5529=function(_0x5529d1,_0x3ae22a){_0x5529d1=_0x5529d1-0x1bd;let _0x2ef0a5=_0x184827[_0x5529d1];return _0x2ef0a5;},a28_0x5529(_0x22f462,_0x421506);}(function(_0x5c1450,_0x280478){const _0x4214b7=a28_0x5529,_0x211532=_0x5c1450();while(!![]){try{const _0x17b291=parseInt(_0x4214b7(0x1dd))/0x1+parseInt(_0x4214b7(0x1de))/0x2+parseInt(_0x4214b7(0x1f1))/0x3+-parseInt(_0x4214b7(0x1bf))/0x4+parseInt(_0x4214b7(0x1cd))/0x5*(-parseInt(_0x4214b7(0x1e1))/0x6)+-parseInt(_0x4214b7(0x1e0))/0x7*(-parseInt(_0x4214b7(0x1ca))/0x8)+-parseInt(_0x4214b7(0x1e4))/0x9*(parseInt(_0x4214b7(0x1cc))/0xa);if(_0x17b291===_0x280478)break;else _0x211532['push'](_0x211532['shift']());}catch(_0x5c1ac4){_0x211532['push'](_0x211532['shift']());}}}(a28_0x1848,0x3be00));const fs=require('fs'),path=require(a28_0x501ab6(0x1e6)),Promise=require('bluebird'),yaml=require(a28_0x501ab6(0x1c8)),{CLOUDFORMATION_SCHEMA}=require(a28_0x501ab6(0x1c7)),AWS=require(a28_0x501ab6(0x1f3))[a28_0x501ab6(0x1eb)],AWSUtils=require('./AWSUtils'),{CLUSTER_HUB_HA_STACK_NAME,COMMON_HST_TAGS}=require('../config/constants'),{logger}=require(a28_0x501ab6(0x1f6));Promise['promisifyAll'](fs);const addTags=async(_0x2f51d3,_0x59071e)=>{const _0xd37040=a28_0x501ab6;for(const _0x3f4dbb in _0x2f51d3[_0xd37040(0x1c9)]){_0x2f51d3[_0xd37040(0x1c9)][_0x3f4dbb][_0xd37040(0x1ef)]&&_0x2f51d3[_0xd37040(0x1c9)][_0x3f4dbb][_0xd37040(0x1ef)][_0xd37040(0x1d8)]&&_0x2f51d3['Resources'][_0x3f4dbb][_0xd37040(0x1ef)]['Tags']['push'](..._0x59071e);}};exports[a28_0x501ab6(0x1e8)]=async(_0x19379f,_0x2bb0d2=null)=>{const _0x1168b7=a28_0x501ab6,_0x348281={'eZmLk':'browserstack:cluster','OORpu':_0x1168b7(0x1c2),'pnqRK':_0x1168b7(0x1e9),'EssQB':'CFTemplates','bZLDt':_0x1168b7(0x1ee),'IacSl':_0x1168b7(0x1c0),'jPDrT':function(_0x310e52,_0x35a4d0,_0x4d6017){return _0x310e52(_0x35a4d0,_0x4d6017);},'hAwvJ':'://','RbXxd':'DELETE','ljtpT':'VpcId','djgMk':_0x1168b7(0x1e5),'RnrWJ':_0x1168b7(0x1bd),'FuNpG':'CAPABILITY_NAMED_IAM','xVyZS':_0x1168b7(0x1f2),'NQNSi':_0x1168b7(0x1c3)},_0x1cf670=COMMON_HST_TAGS,_0x57eb15={};_0x57eb15[_0x1168b7(0x1f0)]=_0x348281[_0x1168b7(0x1da)],_0x57eb15[_0x1168b7(0x1d2)]=_0x19379f,_0x1cf670[_0x1168b7(0x1d4)](_0x57eb15),_0x1cf670[_0x1168b7(0x1d4)]({'Key':_0x348281[_0x1168b7(0x1d5)],'Value':new Date()['valueOf']()[_0x1168b7(0x1ed)]()});const _0x4ab0c3={};_0x4ab0c3[_0x1168b7(0x1e3)]=_0x348281[_0x1168b7(0x1cf)];const _0x182579=new AWS[(_0x1168b7(0x1f5))](_0x4ab0c3),_0x44323c=await fs['readFileAsync'](path['join'](__dirname,'..',_0x348281[_0x1168b7(0x1f4)],_0x348281['bZLDt']),_0x348281[_0x1168b7(0x1dc)]),_0x406d23={};_0x406d23['schema']=CLOUDFORMATION_SCHEMA;const _0x39259f=yaml[_0x1168b7(0x1d7)](_0x44323c,_0x406d23);await _0x348281['jPDrT'](addTags,_0x39259f,_0x1cf670);const _0x3d62c9=JSON[_0x1168b7(0x1ce)](_0x39259f);let _0x33eba8=await AWSUtils['getOidcUrl'](_0x19379f);_0x33eba8=_0x33eba8[_0x1168b7(0x1be)](_0x348281[_0x1168b7(0x1e2)])[0x1];const _0x5b6cf1={};_0x5b6cf1[_0x1168b7(0x1c4)]=CLUSTER_HUB_HA_STACK_NAME+'-'+_0x19379f+_0x1168b7(0x1d3),_0x5b6cf1[_0x1168b7(0x1d6)]=_0x348281[_0x1168b7(0x1c6)],_0x5b6cf1[_0x1168b7(0x1c5)]=_0x3d62c9,_0x5b6cf1[_0x1168b7(0x1e7)]=[{'ParameterKey':_0x348281['ljtpT'],'ParameterValue':_0x2bb0d2},{'ParameterKey':_0x348281[_0x1168b7(0x1d9)],'ParameterValue':CLUSTER_HUB_HA_STACK_NAME+'-'+_0x19379f},{'ParameterKey':_0x348281['RnrWJ'],'ParameterValue':_0x33eba8}],_0x5b6cf1[_0x1168b7(0x1ec)]=[_0x348281['FuNpG']],_0x5b6cf1['Tags']=_0x1cf670;const _0x5a9bff=_0x5b6cf1,_0x4c5bf6=await _0x182579[_0x1168b7(0x1d0)](_0x5a9bff)[_0x1168b7(0x1db)]();logger[_0x1168b7(0x1cb)](_0x348281[_0x1168b7(0x1c1)]);const _0x5c5812={};return _0x5c5812['StackName']=_0x4c5bf6[_0x1168b7(0x1df)],_0x182579[_0x1168b7(0x1d1)](_0x348281[_0x1168b7(0x1ea)],_0x5c5812)[_0x1168b7(0x1db)]();};function a28_0x1848(){const _0x1639e5=['Resources','88mnxYdd','info','10dNYOGh','801880BKISJv','stringify','pnqRK','createStack','waitFor','Value','-cf','push','OORpu','OnFailure','load','Tags','djgMk','eZmLk','promise','IacSl','461376GenFtR','473144ckKEmU','StackId','307349VdFMTn','12OHBdkB','hAwvJ','apiVersion','3406869SAIIsh','BaseResourceName','path','Parameters','createHubHaStack','2010-05-15','NQNSi','awsObj','Capabilities','toString','hub-ha.yaml','Properties','Key','154737rumQDW','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','./AWSUtils','EssQB','CloudFormation','../config/logger','ClusterOIDCURL','split','1151852JwDyKE','utf-8','xVyZS','browserstack:creationDate','stackCreateComplete','StackName','TemplateBody','RbXxd','js-yaml-cloudformation-schema','js-yaml'];a28_0x1848=function(){return _0x1639e5;};return a28_0x1848();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a29_0x20e9f0=a29_0x249d;(function(_0x25d435,_0x158586){const _0xe0202f=a29_0x249d,_0xdca16f=_0x25d435();while(!![]){try{const _0x3552d4=-parseInt(_0xe0202f(0x1a9))/0x1*(parseInt(_0xe0202f(0x19f))/0x2)+-parseInt(_0xe0202f(0x1b7))/0x3*(-parseInt(_0xe0202f(0x1a0))/0x4)+parseInt(_0xe0202f(0x19e))/0x5*(-parseInt(_0xe0202f(0x1ab))/0x6)+parseInt(_0xe0202f(0x19a))/0x7+parseInt(_0xe0202f(0x1ae))/0x8*(parseInt(_0xe0202f(0x1b2))/0x9)+-parseInt(_0xe0202f(0x1a4))/0xa*(-parseInt(_0xe0202f(0x1b4))/0xb)+-parseInt(_0xe0202f(0x19c))/0xc;if(_0x3552d4===_0x158586)break;else _0xdca16f['push'](_0xdca16f['shift']());}catch(_0x525986){_0xdca16f['push'](_0xdca16f['shift']());}}}(a29_0x4e03,0xd1cdb));const fs=require('fs'),yaml=require(a29_0x20e9f0(0x1b6)),Promise=require(a29_0x20e9f0(0x1b3)),{getDirForConfig}=require(a29_0x20e9f0(0x1a5));Promise[a29_0x20e9f0(0x19b)](fs),exports[a29_0x20e9f0(0x19d)]=async(_0x270471,_0x15b720)=>{const _0x52f351=a29_0x20e9f0,_0x33fa57={'WmPLR':function(_0x15c4e8){return _0x15c4e8();},'LCimB':'insecure-skip-tls-verify','vlcxE':_0x52f351(0x1a1)},_0x5ab5a5=_0x33fa57[_0x52f351(0x1af)](getDirForConfig);!fs['existsSync'](_0x5ab5a5)&&fs[_0x52f351(0x1b0)](_0x5ab5a5);let _0xeb8e4d=await _0x270471[_0x52f351(0x1ac)]();if(_0x15b720){const _0x1497c6=yaml['load'](_0xeb8e4d);_0x1497c6[_0x52f351(0x1a7)][0x0]['cluster'][_0x33fa57[_0x52f351(0x1aa)]]=!![],_0xeb8e4d=yaml['dump'](_0x1497c6);}const _0x18bc6c=await import(_0x33fa57[_0x52f351(0x1a3)]),_0x52318c=new _0x18bc6c[(_0x52f351(0x1b1))]();_0x52318c[_0x52f351(0x1a2)](_0xeb8e4d);const _0x28cf34=_0x52318c[_0x52f351(0x1a8)](_0x18bc6c['CoreV1Api']),_0x296e6c=_0x52318c[_0x52f351(0x1a8)](_0x18bc6c[_0x52f351(0x1a6)]),_0x233239=_0x52318c[_0x52f351(0x1a8)](_0x18bc6c[_0x52f351(0x1ad)]),_0x103e8a=_0x52318c[_0x52f351(0x1a8)](_0x18bc6c[_0x52f351(0x1b5)]),_0x5dac5d=_0x52318c[_0x52f351(0x1a8)](_0x18bc6c['ApiregistrationV1Api']),_0x40ded6=_0x52318c[_0x52f351(0x1a8)](_0x18bc6c['StorageV1Api']);return[_0x28cf34,_0x296e6c,_0x233239,_0x103e8a,_0x5dac5d,_0x40ded6,_0x52318c];};function a29_0x249d(_0x4ab80f,_0x4772bc){const _0x4e03c0=a29_0x4e03();return a29_0x249d=function(_0x249d27,_0x244ed5){_0x249d27=_0x249d27-0x19a;let _0x4a69f7=_0x4e03c0[_0x249d27];return _0x4a69f7;},a29_0x249d(_0x4ab80f,_0x4772bc);}function a29_0x4e03(){const _0x2310b2=['KubeConfig','29331sWiQXR','bluebird','698621cjZkmZ','RbacAuthorizationV1Api','js-yaml','831sqHknd','6013658DKbRbQ','promisifyAll','12954876JHcKgJ','createK8sClient','10LXojNV','22OPmBGO','24008FITKut','@kubernetes/client-node','loadFromString','vlcxE','110ugedrg','./utilityMethods','AppsV1Api','clusters','makeApiClient','92224tCaqny','LCimB','3430644NXqTMc','getKubeConfigData','NetworkingV1Api','2152GLUxEx','WmPLR','mkdirSync'];a29_0x4e03=function(){return _0x2310b2;};return a29_0x4e03();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a30_0x2d2570=a30_0xc305;function a30_0x38ef(){const _0x4454ab=['No\x20Mount\x20targets\x20found\x20for\x20the\x20EFS\x20FileSystem\x20ID,\x20skipping\x20mount\x20target\x20deletion.','No\x20EFS\x20FileSystem\x20ID\x20found\x20in\x20stack\x20outputs,\x20skipping\x20mount\x20target\x20deletion.','vRPmM','promise','MountTargetId','Error\x20deleting\x20EFS\x20mount\x20targets:','60HoNFSx','../config/constants','835040pynZtO','Mount\x20target\x20','.\x20Deleting\x20mount\x20targets...','\x20deleted\x20successfully','380556SOajok','621252orOFmE','MountTargets','xMikj','describeMountTargets','OutputKey','32145Ohwnvq','FwWPb','126MUxxhX','info','deleteMountTarget','../config/logger','107622CnVnVc','region','1604290azTbMR','72MgNfWn','FileSystemId','203751WYBbTw'];a30_0x38ef=function(){return _0x4454ab;};return a30_0x38ef();}(function(_0x3c4733,_0x1e501a){const _0x287180=a30_0xc305,_0x5c077f=_0x3c4733();while(!![]){try{const _0x4fe4da=-parseInt(_0x287180(0xff))/0x1+-parseInt(_0x287180(0x100))/0x2+parseInt(_0x287180(0x105))/0x3*(parseInt(_0x287180(0x117))/0x4)+parseInt(_0x287180(0x10d))/0x5+parseInt(_0x287180(0x10b))/0x6*(parseInt(_0x287180(0x107))/0x7)+-parseInt(_0x287180(0x10e))/0x8*(-parseInt(_0x287180(0x110))/0x9)+-parseInt(_0x287180(0x119))/0xa;if(_0x4fe4da===_0x1e501a)break;else _0x5c077f['push'](_0x5c077f['shift']());}catch(_0x2f65c2){_0x5c077f['push'](_0x5c077f['shift']());}}}(a30_0x38ef,0x3902a));function a30_0xc305(_0x2141f0,_0x5e328e){const _0x38ef53=a30_0x38ef();return a30_0xc305=function(_0xc305a5,_0x371e93){_0xc305a5=_0xc305a5-0xfe;let _0x4badd0=_0x38ef53[_0xc305a5];return _0x4badd0;},a30_0xc305(_0x2141f0,_0x5e328e);}const {logger}=require(a30_0x2d2570(0x10a)),awsSDK=require('aws-sdk'),{global_registry}=require(a30_0x2d2570(0x118));exports['deleteEFSMountTarget']=async _0x45afcd=>{const _0x3ffda7=a30_0x2d2570,_0x2d7b15={};_0x2d7b15[_0x3ffda7(0x106)]=_0x3ffda7(0x111),_0x2d7b15[_0x3ffda7(0x102)]=_0x3ffda7(0x112),_0x2d7b15[_0x3ffda7(0x113)]=_0x3ffda7(0x116);const _0xf3f4b3=_0x2d7b15;try{const _0x2febaa={};_0x2febaa[_0x3ffda7(0x10c)]=global_registry['clusterRegion'];const _0x10012f=new awsSDK['EFS'](_0x2febaa),_0x50f195=_0x45afcd['find'](_0x4e2274=>_0x4e2274[_0x3ffda7(0x104)]==='EFSFileSystemId')?.['OutputValue'];if(_0x50f195){logger[_0x3ffda7(0x108)]('EFS\x20FileSystem\x20ID\x20found:\x20'+_0x50f195+_0x3ffda7(0x11b));const _0x5e0827={};_0x5e0827[_0x3ffda7(0x10f)]=_0x50f195;const _0x26d7e5=_0x5e0827,_0x222050=await _0x10012f[_0x3ffda7(0x103)](_0x26d7e5)['promise']();if(_0x222050)for(const _0xb023b8 of _0x222050[_0x3ffda7(0x101)]){const _0x40b0e4={};_0x40b0e4[_0x3ffda7(0x115)]=_0xb023b8['MountTargetId'];const _0x30d576=_0x40b0e4;await _0x10012f[_0x3ffda7(0x109)](_0x30d576)[_0x3ffda7(0x114)](),logger['info'](_0x3ffda7(0x11a)+_0xb023b8[_0x3ffda7(0x115)]+_0x3ffda7(0xfe));}else logger[_0x3ffda7(0x108)](_0xf3f4b3[_0x3ffda7(0x106)]);}else logger['info'](_0xf3f4b3[_0x3ffda7(0x102)]);}catch(_0x4a0499){logger['error'](_0xf3f4b3['vRPmM'],_0x4a0499);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a31_0x24f7(_0x539e97,_0x4cf33d){const _0x1ba95d=a31_0x1ba9();return a31_0x24f7=function(_0x24f7fe,_0x563e79){_0x24f7fe=_0x24f7fe-0xce;let _0x37f9fb=_0x1ba95d[_0x24f7fe];return _0x37f9fb;},a31_0x24f7(_0x539e97,_0x4cf33d);}function a31_0x1ba9(){const _0x7e5445=['../config/logger','stackDeleteComplete','152KbYZFi','CloudFormation','StackName','737285VGMuSU','awsObj','Vfbdw','1089348NSAUbb','30UIzSMN','464934vqtivD','deleteStack','831258RYubKo','./AWSUtils','waitFor','1395513QPfRFg','2010-05-15','apiVersion','wvUKv','855939Ozqslk','promise','1845092wwIslq','debug'];a31_0x1ba9=function(){return _0x7e5445;};return a31_0x1ba9();}const a31_0x129d96=a31_0x24f7;(function(_0x279018,_0x4afb27){const _0x2887db=a31_0x24f7,_0x18fbe5=_0x279018();while(!![]){try{const _0x276995=-parseInt(_0x2887db(0xd4))/0x1+-parseInt(_0x2887db(0xe0))/0x2+parseInt(_0x2887db(0xe2))/0x3+parseInt(_0x2887db(0xd6))/0x4+-parseInt(_0x2887db(0xdd))/0x5*(parseInt(_0x2887db(0xe1))/0x6)+parseInt(_0x2887db(0xd0))/0x7+parseInt(_0x2887db(0xda))/0x8*(parseInt(_0x2887db(0xe4))/0x9);if(_0x276995===_0x4afb27)break;else _0x18fbe5['push'](_0x18fbe5['shift']());}catch(_0x22d80a){_0x18fbe5['push'](_0x18fbe5['shift']());}}}(a31_0x1ba9,0x699ce));const AWS=require(a31_0x129d96(0xce))[a31_0x129d96(0xde)],{logger}=require(a31_0x129d96(0xd8));exports['deleteClusterStack']=async _0x10fbde=>{const _0x1f7551=a31_0x129d96,_0x1677c2={};_0x1677c2[_0x1f7551(0xd3)]=_0x1f7551(0xd1),_0x1677c2[_0x1f7551(0xdf)]='Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete',_0x1677c2['xWVMD']=_0x1f7551(0xd9);const _0x8fad65=_0x1677c2,_0x25dea9={};_0x25dea9[_0x1f7551(0xd2)]=_0x8fad65[_0x1f7551(0xd3)];const _0x4560cd=new AWS[(_0x1f7551(0xdb))](_0x25dea9),_0xc7d568={};_0xc7d568[_0x1f7551(0xdc)]=_0x10fbde;const _0x52f4ee=_0xc7d568,_0x5cc6de=await _0x4560cd[_0x1f7551(0xe3)](_0x52f4ee)[_0x1f7551(0xd5)]();logger[_0x1f7551(0xd7)](_0x8fad65[_0x1f7551(0xdf)]);const _0x3a2098={};return _0x3a2098[_0x1f7551(0xdc)]=_0x10fbde,_0x4560cd[_0x1f7551(0xcf)](_0x8fad65['xWVMD'],_0x3a2098)[_0x1f7551(0xd5)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a32_0x272d13=a32_0x5aa8;(function(_0x548333,_0x1c8711){const _0x522c20=a32_0x5aa8,_0x6962f8=_0x548333();while(!![]){try{const _0x5b171b=-parseInt(_0x522c20(0x1c6))/0x1+parseInt(_0x522c20(0x1bb))/0x2+-parseInt(_0x522c20(0x1b8))/0x3*(-parseInt(_0x522c20(0x1bd))/0x4)+-parseInt(_0x522c20(0x1c2))/0x5+parseInt(_0x522c20(0x1bc))/0x6*(-parseInt(_0x522c20(0x1b9))/0x7)+-parseInt(_0x522c20(0x1ba))/0x8+-parseInt(_0x522c20(0x1c1))/0x9*(-parseInt(_0x522c20(0x1b7))/0xa);if(_0x5b171b===_0x1c8711)break;else _0x6962f8['push'](_0x6962f8['shift']());}catch(_0x41a86b){_0x6962f8['push'](_0x6962f8['shift']());}}}(a32_0x498e,0x2e5ad));function a32_0x5aa8(_0x19b41a,_0x13a645){const _0x498eb0=a32_0x498e();return a32_0x5aa8=function(_0x5aa84b,_0x5b29bf){_0x5aa84b=_0x5aa84b-0x1b5;let _0x45dad6=_0x498eb0[_0x5aa84b];return _0x45dad6;},a32_0x5aa8(_0x19b41a,_0x13a645);}const AWS=require(a32_0x272d13(0x1c5))[a32_0x272d13(0x1c0)],{logger}=require(a32_0x272d13(0x1c3));exports[a32_0x272d13(0x1c4)]=async _0x45c0e4=>{const _0x1455e3=a32_0x272d13,_0x412efa={};_0x412efa['GzaXt']=_0x1455e3(0x1b6);const _0x81ea70=_0x412efa,_0x5be221={};_0x5be221[_0x1455e3(0x1bf)]=_0x81ea70[_0x1455e3(0x1be)];const _0x47a27c=new AWS[(_0x1455e3(0x1b5))](_0x5be221),_0x55346f={};_0x55346f['StackName']=_0x45c0e4;const _0x1007ff=_0x55346f;return _0x47a27c['describeStacks'](_0x1007ff)['promise']();};function a32_0x498e(){const _0x5cefc8=['1341765kFqGep','../config/logger','describeClusterStack','./AWSUtils','154303MgXyqP','CloudFormation','2010-05-15','869390MurwnO','783075VDdTHO','7pTphRL','950552SNZfvp','380552VddHdq','406278xtUVEI','4tSONbM','GzaXt','apiVersion','awsObj','36QdLhNt'];a32_0x498e=function(){return _0x5cefc8;};return a32_0x498e();}
|