browserstack-node-sdk 1.36.6 → 1.36.7
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/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/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/fail-fast/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/fail-fast/jest.js +1 -1
- package/src/helpers/test-orchestration/fail-fast/requestUtils.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_0x3551de=a25_0x179d;function a25_0x39f3(){const _0x5c09d2=['VHQBj','issuer','SuFeD','160JlxihJ','NxmeS','qSmri','12790vjxWNo','KhENf','XdJGB','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','HrKJg','aQGsq','gGwAz','ESgPs','describeRegions','tdeSl','YSsBI','Flnpd','uNrRC','OwOLI','BccwY','EbNCm','XuEpZ','6457pXhnZQ','BJFUL','wGHNl','FjgWa','bSPbH','oidc','YjnXw','catch','105Ubpwgd','jUfaY','sCnJY','1551285mtuYsD','aZvwP','GNltG','region','lHrPe','uQUnF','DQvCO','VudDI','qoOVu','EC2','BrBSP','147100YkHHjG','aws-sdk','identity','IJObg','FkafO','fetchSecurityGroups','MtLtC','describeVpcs','hgRAB','89765raoVzT','wnWob','hJmWB','zVHpq','WsKtU','XTYWx','CFtVh','QcVsI','rLSBQ','vmJdC','eRlst','2PwsuDP','pboBp','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','ZEWIs','clvnU','WMlQM','TBAOP','xKnPu','TUeAt','BlsCW','kKRHl','RCveJ','EsWiM','Bucket:\x20','Regions','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','GHafU','VYydL','name','BtRHt','awsObj','vHFuG','OtyBZ','ftwip','1908yWbEiQ','JghAT','error','ORXxs','info','ynNbi','aNecC','KFCQq','warn','uqOsN','headBucket','VLSJN','ewvaH','HlDIa','qQDfR','fDtuG','WJZCF','7ZDvppS','dqPZU','jvhHI','BbVmT','xpAgr','IEVCQ','GEqqr','mDBMW','emnQM','oCEoD','Oqowi','195474qDsMcb','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','sFotT','qRlrZ','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','fetchVPCs','2016-11-15','Bucket','describeSubnets','QfbFE','JUimz','DqRRI','wwDMr','xftjC','gOWMM','bIapW','CfYEL','MefVr','286029SZzBov','../config/logger','MzNXN','BOaQs','Icshl','QDYxG','juorE','getOidcUrl','mTaqg','pcwCz','dJdEV','557543QLkLig','ffnFW','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','OxnWq','ibAXq','PStbT','vSEld','2017-11-01','nnUGY','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','EKS','DxDCz','AyQXf','ibJsP','describeCluster','KlnLR','apiVersion','HUZeb','fYWyb','gAnZy','bARyV','getAWSRegions','cluster','DKicN','fIwwF','idTZg','promise','fEOlx','xKMyq','ArNrc','describeSecurityGroups','zehFr','aKmeK','HXZeM','kGWwv','then','wskmV'];a25_0x39f3=function(){return _0x5c09d2;};return a25_0x39f3();}(function(_0x31eede,_0x2904a1){const _0x36ee4f=a25_0x179d,_0x3ccd1f=_0x31eede();while(!![]){try{const _0x1259ba=-parseInt(_0x36ee4f(0x105))/0x1+parseInt(_0x36ee4f(0xb4))/0x2*(parseInt(_0x36ee4f(0x95))/0x3)+parseInt(_0x36ee4f(0xa0))/0x4*(-parseInt(_0x36ee4f(0x92))/0x5)+parseInt(_0x36ee4f(0xe8))/0x6*(parseInt(_0x36ee4f(0xdd))/0x7)+parseInt(_0x36ee4f(0x76))/0x8*(-parseInt(_0x36ee4f(0xfa))/0x9)+parseInt(_0x36ee4f(0x79))/0xa*(parseInt(_0x36ee4f(0x8a))/0xb)+-parseInt(_0x36ee4f(0xcc))/0xc*(-parseInt(_0x36ee4f(0xa9))/0xd);if(_0x1259ba===_0x2904a1)break;else _0x3ccd1f['push'](_0x3ccd1f['shift']());}catch(_0x1739fb){_0x3ccd1f['push'](_0x3ccd1f['shift']());}}}(a25_0x39f3,0x69b08));function a25_0x179d(_0x365b2c,_0x50c0da){const _0x39f376=a25_0x39f3();return a25_0x179d=function(_0x179d78,_0x127b01){_0x179d78=_0x179d78-0x64;let _0x529dc2=_0x39f376[_0x179d78];return _0x529dc2;},a25_0x179d(_0x365b2c,_0x50c0da);}const awsSDK=require(a25_0x3551de(0xa1)),{logger}=require(a25_0x3551de(0xfb));exports[a25_0x3551de(0xed)]=_0x59f615=>{const _0xdb71cc=a25_0x3551de,_0x104915={'ojXos':function(_0x5c5c73,_0x9ae110){return _0x5c5c73===_0x9ae110;},'kcbyH':_0xdb71cc(0x119),'OHfYT':_0xdb71cc(0x106),'sFotT':function(_0x122104,_0x59428f){return _0x122104(_0x59428f);},'VudDI':function(_0x44fd92,_0x3139ca){return _0x44fd92(_0x3139ca);},'kGWwv':function(_0x520800,_0x439238){return _0x520800(_0x439238);},'pcwCz':_0xdb71cc(0xee),'CFtVh':function(_0x2f8603,_0x2f88c7){return _0x2f8603!==_0x2f88c7;},'ibAXq':'AeaDK','FjgWa':_0xdb71cc(0xd8),'WsKtU':function(_0x167adb,_0x11d74e){return _0x167adb===_0x11d74e;},'YSsBI':_0xdb71cc(0xc0),'VLSJN':'MSwJL'};return new Promise((_0x44dbca,_0x46f3a7)=>{const _0x47bbf9=_0xdb71cc,_0x49beab={'dqPZU':function(_0x11e796,_0x582bea){const _0x590874=a25_0x179d;return _0x104915[_0x590874(0x9c)](_0x11e796,_0x582bea);},'HlDIa':function(_0x5749d4,_0x2eabe8){const _0x3fb5bc=a25_0x179d;return _0x104915[_0x3fb5bc(0x70)](_0x5749d4,_0x2eabe8);},'LXIsf':_0x104915[_0x47bbf9(0x103)],'mTaqg':function(_0xd9e009,_0x29832c){const _0x203153=_0x47bbf9;return _0x104915[_0x203153(0xaf)](_0xd9e009,_0x29832c);},'eRlst':_0x104915[_0x47bbf9(0x109)],'pLwVd':_0x104915[_0x47bbf9(0x8d)],'ArNrc':function(_0x5eb14d,_0x58494f){return _0x104915['kGWwv'](_0x5eb14d,_0x58494f);}};if(_0x104915[_0x47bbf9(0xad)](_0x104915[_0x47bbf9(0x83)],_0x104915[_0x47bbf9(0xd7)]))_0x571788['error'](_0x47bbf9(0xb6)+_0x349047),_0x49beab[_0x47bbf9(0xde)](_0x352090,_0x22769e);else{const _0x5f192f={};_0x5f192f[_0x47bbf9(0x115)]=_0x104915['pcwCz'],_0x5f192f[_0x47bbf9(0x98)]=_0x59f615;const _0x17b2bc=new awsSDK['EC2'](_0x5f192f);_0x17b2bc['describeVpcs']()[_0x47bbf9(0x68)]()[_0x47bbf9(0x71)](_0x2e4c6d=>{const _0x2eb42d=_0x47bbf9;_0x104915['ojXos'](_0x104915['kcbyH'],_0x104915['OHfYT'])?_0x49beab['dqPZU'](_0x428863,_0x37e0d7):_0x104915[_0x2eb42d(0xea)](_0x44dbca,_0x2e4c6d);})[_0x47bbf9(0x91)](_0x19e69f=>{const _0x5309da=_0x47bbf9,_0xb27de8={'JUimz':function(_0x2e4b50,_0x18e979){const _0x3d47ce=a25_0x179d;return _0x49beab[_0x3d47ce(0xd9)](_0x2e4b50,_0x18e979);},'BOaQs':_0x49beab['LXIsf']};if(_0x49beab[_0x5309da(0x102)](_0x49beab[_0x5309da(0xb3)],_0x49beab['pLwVd']))logger[_0x5309da(0xce)](_0x5309da(0x107)+_0x19e69f),_0x49beab[_0x5309da(0x6b)](_0x46f3a7,_0x19e69f);else{const _0x39c4a0={};_0x39c4a0['apiVersion']=_0xb27de8[_0x5309da(0xfd)],_0x39c4a0['region']=_0x3506b4;const _0x4c4ff8=new _0x1342b9[(_0x5309da(0x9e))](_0x39c4a0);_0x4c4ff8[_0x5309da(0xa7)]()['promise']()[_0x5309da(0x71)](_0x47aa4e=>{const _0x5d2767=_0x5309da;_0xb27de8[_0x5d2767(0xf2)](_0x548e06,_0x47aa4e);})['catch'](_0xe915e8=>{const _0x4f5818=_0x5309da;_0x1db769[_0x4f5818(0xce)](_0x4f5818(0x107)+_0xe915e8),_0xb27de8[_0x4f5818(0xf2)](_0x4898eb,_0xe915e8);});}});}});},exports['isBucketPresent']=_0x1ec283=>{const _0xa4167d=a25_0x3551de,_0x226a3e={'aZvwP':function(_0x59abeb,_0x2409b4){return _0x59abeb(_0x2409b4);},'grShX':_0xa4167d(0x10c),'fIwwF':function(_0x3ced3a,_0x37f7f3){return _0x3ced3a===_0x37f7f3;},'PStbT':'rzRwZ','OxnWq':function(_0x385979,_0x2050ff){return _0x385979(_0x2050ff);},'OyKyl':_0xa4167d(0xee),'dSOLo':function(_0x345d7b,_0x1afd00){return _0x345d7b===_0x1afd00;},'DIwSz':'lSAEC','HXZeM':_0xa4167d(0x116),'clvnU':function(_0x1e1e38,_0x3bfbe9){return _0x1e1e38!==_0x3bfbe9;},'TBAOP':function(_0xd3cc87,_0x2e830d){return _0xd3cc87(_0x2e830d);},'BlsCW':function(_0x46746a,_0x193a06){return _0x46746a(_0x193a06);},'UVOnc':function(_0x13d6e1,_0x423519){return _0x13d6e1(_0x423519);},'KFCQq':_0xa4167d(0xdc)},_0x2f5d80=new awsSDK['S3']();return new Promise((_0x138020,_0x15b27c)=>{const _0x170736=_0xa4167d,_0x186b3f={'hgRAB':function(_0x3d186f,_0x191eb6){const _0x13f948=a25_0x179d;return _0x226a3e[_0x13f948(0xb8)](_0x3d186f,_0x191eb6);},'qoOVu':function(_0x54ea18,_0x170b15){const _0x2b5bba=a25_0x179d;return _0x226a3e[_0x2b5bba(0xba)](_0x54ea18,_0x170b15);},'jUfaY':function(_0x4fbd48,_0xcf08c7){const _0x1a8631=a25_0x179d;return _0x226a3e[_0x1a8631(0xbd)](_0x4fbd48,_0xcf08c7);},'nhhBf':function(_0x2b5842,_0x3dbdf7){return _0x226a3e['UVOnc'](_0x2b5842,_0x3dbdf7);}};if(_0x226a3e[_0x170736(0xb8)](_0x226a3e[_0x170736(0xd3)],_0x226a3e[_0x170736(0xd3)]))_0x186b3f['hgRAB'](_0x1bad67,_0x3f11c2)&&_0x186b3f[_0x170736(0xa8)](_0x1b8fbe[_0x170736(0xc2)],_0x49e18c)?_0x186b3f[_0x170736(0x9d)](_0x5575b0,_0x43a6c4[_0x170736(0xc2)]):_0x186b3f[_0x170736(0x93)](_0x3a85e3,{});else{const _0x34f05c={};_0x34f05c[_0x170736(0xef)]=_0x1ec283,_0x2f5d80[_0x170736(0xd6)](_0x34f05c)['promise']()[_0x170736(0x71)](_0x3a9cc2=>{const _0x105d9b=_0x170736,_0x11a1f1={'QcVsI':function(_0x439cf0,_0x5d8d23){const _0x4886f8=a25_0x179d;return _0x226a3e[_0x4886f8(0x96)](_0x439cf0,_0x5d8d23);},'IJObg':_0x226a3e['grShX']};if(_0x226a3e[_0x105d9b(0x66)](_0x226a3e['PStbT'],_0x226a3e[_0x105d9b(0x10a)]))logger[_0x105d9b(0xd4)]('Bucket:\x20'+_0x1ec283+_0x105d9b(0x10e)),_0x226a3e[_0x105d9b(0x108)](_0x138020,!![]);else{const _0x5a505c={'rLSBQ':function(_0x4eac30,_0x1da199){const _0x1bdc8f=_0x105d9b;return _0x11a1f1[_0x1bdc8f(0xb0)](_0x4eac30,_0x1da199);}};return new _0x39b8e8((_0x17a61,_0x2f6ebf)=>{const _0x44d366=_0x105d9b,_0x287f36={'IEVCQ':function(_0x32f078,_0x4516c5){const _0x3507b3=a25_0x179d;return _0x11a1f1[_0x3507b3(0xb0)](_0x32f078,_0x4516c5);}},_0x1aaa59={};_0x1aaa59[_0x44d366(0x115)]=_0x11a1f1[_0x44d366(0xa3)];const _0x5b91b8=new _0x5b48e3[(_0x44d366(0x10f))](_0x1aaa59),_0xcfadcf={};_0xcfadcf[_0x44d366(0xc6)]=_0x239322,_0x5b91b8[_0x44d366(0x113)](_0xcfadcf)[_0x44d366(0x68)]()['then'](_0x2a7b62=>{const _0x520e5b=_0x44d366;_0x287f36[_0x520e5b(0xe2)](_0x17a61,_0x2a7b62[_0x520e5b(0x64)][_0x520e5b(0xa2)][_0x520e5b(0x8f)][_0x520e5b(0x74)]);})[_0x44d366(0x91)](_0x1c958b=>{const _0x5a4034=_0x44d366;_0x3fc27b['error'](_0x5a4034(0xc3)+_0x230663+':\x20'+_0x1c958b),_0x5a505c[_0x5a4034(0xb1)](_0x2f6ebf,_0x1c958b);});});}})['catch'](()=>{const _0x29feab=_0x170736,_0x14dc8b={'zehFr':function(_0x114602,_0x4c6ecb){const _0x43ea86=a25_0x179d;return _0x226a3e[_0x43ea86(0x108)](_0x114602,_0x4c6ecb);},'WMlQM':_0x226a3e['OyKyl']};if(_0x226a3e['dSOLo'](_0x226a3e['DIwSz'],_0x226a3e[_0x29feab(0x6f)])){const _0x446e8c={'NxmeS':function(_0x47e8a8,_0x3cfb88){return _0x186b3f['nhhBf'](_0x47e8a8,_0x3cfb88);}};return new _0x44f379((_0x1c6661,_0xb1198e)=>{const _0x3bd4b3=_0x29feab,_0x3469b3={'ynNbi':function(_0x3bb6b4,_0x88831a){const _0x4c6eda=a25_0x179d;return _0x14dc8b[_0x4c6eda(0x6d)](_0x3bb6b4,_0x88831a);}},_0x460f6d={};_0x460f6d['apiVersion']=_0x14dc8b[_0x3bd4b3(0xb9)],_0x460f6d['region']=_0x2103b0;const _0x13ab3c=new _0x47a5b7['EC2'](_0x460f6d);_0x13ab3c[_0x3bd4b3(0xf0)]()['promise']()[_0x3bd4b3(0x71)](_0x5a612b=>{const _0x21b19c=_0x3bd4b3;_0x3469b3[_0x21b19c(0xd1)](_0x1c6661,_0x5a612b);})['catch'](_0x324523=>{const _0x37e74b=_0x3bd4b3;_0x1bb315['error'](_0x37e74b(0xb6)+_0x324523),_0x446e8c[_0x37e74b(0x77)](_0xb1198e,_0x324523);});});}else logger[_0x29feab(0xd0)](_0x29feab(0xc1)+_0x1ec283+_0x29feab(0x7c)),_0x226a3e[_0x29feab(0x108)](_0x138020,![]);});}});},exports['fetchSubnets']=_0x367e69=>{const _0x5bbed5=a25_0x3551de,_0x246c91={'SuFeD':'2016-11-15','XuEpZ':function(_0x127ed3,_0x31f547){return _0x127ed3(_0x31f547);},'kKRHl':function(_0x3669c3,_0x257ec9){return _0x3669c3!==_0x257ec9;},'aNecC':'rYjdU','JqWNY':'OkwVh','FumPN':_0x5bbed5(0xb2),'HrKJg':function(_0x4e3cb1,_0x47f839){return _0x4e3cb1(_0x47f839);},'TdkkR':function(_0x2289cc,_0x208f29){return _0x2289cc!==_0x208f29;},'hJmWB':_0x5bbed5(0xf7),'BJFUL':_0x5bbed5(0xf1)};return new Promise((_0x5f1b83,_0x3e9467)=>{const _0x237039=_0x5bbed5,_0x1f2bda={'aKmeK':function(_0x5db104,_0x1e4bb3){const _0x2fdba5=a25_0x179d;return _0x246c91[_0x2fdba5(0x89)](_0x5db104,_0x1e4bb3);},'pboBp':function(_0x4f014c,_0x56db0b){const _0x150ae8=a25_0x179d;return _0x246c91[_0x150ae8(0xbe)](_0x4f014c,_0x56db0b);},'gOWMM':_0x246c91[_0x237039(0xd2)],'xKnPu':_0x246c91['JqWNY'],'ZEWIs':_0x246c91['FumPN'],'MzNXN':function(_0x1f92d2,_0xf9607b){const _0x4c5265=_0x237039;return _0x246c91[_0x4c5265(0x7d)](_0x1f92d2,_0xf9607b);}};if(_0x246c91['TdkkR'](_0x246c91[_0x237039(0xab)],_0x246c91[_0x237039(0x8b)])){const _0x41cc23={};_0x41cc23[_0x237039(0x115)]=_0x246c91[_0x237039(0x75)],_0x41cc23[_0x237039(0x98)]=_0x367e69;const _0x4e4f27=new awsSDK[(_0x237039(0x9e))](_0x41cc23);_0x4e4f27[_0x237039(0xf0)]()[_0x237039(0x68)]()['then'](_0x3cbfae=>{const _0x41ccca=_0x237039;_0x1f2bda[_0x41ccca(0xb5)](_0x1f2bda[_0x41ccca(0xf6)],_0x1f2bda[_0x41ccca(0xf6)])?(_0xdcb738[_0x41ccca(0xce)](_0x41ccca(0xe9)+_0x29ae59),_0x1f2bda[_0x41ccca(0x6e)](_0x437bcb,_0x375b4e)):_0x1f2bda[_0x41ccca(0x6e)](_0x5f1b83,_0x3cbfae);})[_0x237039(0x91)](_0x14b06b=>{const _0x347871=_0x237039;_0x1f2bda[_0x347871(0xb5)](_0x1f2bda[_0x347871(0xbb)],_0x1f2bda[_0x347871(0xb7)])?(logger['error'](_0x347871(0xb6)+_0x14b06b),_0x1f2bda[_0x347871(0xfc)](_0x3e9467,_0x14b06b)):(_0x19c5d2[_0x347871(0xd4)](_0x347871(0xc1)+_0x203823+_0x347871(0x10e)),_0x1f2bda[_0x347871(0x6e)](_0x4f10f9,!![]));});}else{const _0x1ee07f={};_0x1ee07f[_0x237039(0x115)]=_0x246c91[_0x237039(0x75)],_0x1ee07f[_0x237039(0x98)]=_0x27c164;const _0x10cb54=new _0x293b98[(_0x237039(0x9e))](_0x1ee07f);_0x10cb54['describeSubnets']()[_0x237039(0x68)]()[_0x237039(0x71)](_0xa37b67=>{_0x1f2bda['aKmeK'](_0x164a33,_0xa37b67);})[_0x237039(0x91)](_0x5b5704=>{const _0x4b3f12=_0x237039;_0x4c9057[_0x4b3f12(0xce)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x5b5704),_0x1f2bda['aKmeK'](_0xb696f0,_0x5b5704);});}});},exports[a25_0x3551de(0xa5)]=_0x1a108d=>{const _0x1f64a9=a25_0x3551de,_0x4ac8f6={'GEqqr':function(_0x424912,_0x1b0438){return _0x424912(_0x1b0438);},'idTZg':function(_0x33764c,_0x558f94){return _0x33764c===_0x558f94;},'emnQM':_0x1f64a9(0x112),'GSmpD':_0x1f64a9(0x90),'fDtuG':function(_0x58d924,_0x51312f){return _0x58d924(_0x51312f);},'juorE':function(_0x58857f,_0x1eacac){return _0x58857f(_0x1eacac);},'wskmV':_0x1f64a9(0xe4),'Flnpd':function(_0x58bc2d,_0x434327){return _0x58bc2d(_0x434327);},'lHrPe':function(_0x58045d,_0x52b264){return _0x58045d!==_0x52b264;},'MefVr':_0x1f64a9(0xaa),'BtRHt':_0x1f64a9(0xee)};return new Promise((_0x5f3b06,_0x2f2d13)=>{const _0x1e84ea=_0x1f64a9,_0x528955={'XdJGB':function(_0x565a37,_0x196002){const _0x3aa4ee=a25_0x179d;return _0x4ac8f6[_0x3aa4ee(0x100)](_0x565a37,_0x196002);},'KlnLR':function(_0x114dcb,_0x2f5ca4){return _0x4ac8f6['idTZg'](_0x114dcb,_0x2f5ca4);},'jvhHI':_0x4ac8f6[_0x1e84ea(0x72)],'wioDy':function(_0x5b48f7,_0x326250){const _0x4538c=_0x1e84ea;return _0x4ac8f6[_0x4538c(0x84)](_0x5b48f7,_0x326250);}};if(_0x4ac8f6[_0x1e84ea(0x99)](_0x4ac8f6[_0x1e84ea(0xf9)],_0x4ac8f6[_0x1e84ea(0xf9)]))_0x4ac8f6[_0x1e84ea(0xe3)](_0x5c6548,_0x463a98[_0x1e84ea(0x64)][_0x1e84ea(0xa2)][_0x1e84ea(0x8f)][_0x1e84ea(0x74)]);else{const _0x3b9173={};_0x3b9173[_0x1e84ea(0x115)]=_0x4ac8f6[_0x1e84ea(0xc7)],_0x3b9173[_0x1e84ea(0x98)]=_0x1a108d;const _0x36e7d4=new awsSDK[(_0x1e84ea(0x9e))](_0x3b9173);_0x36e7d4[_0x1e84ea(0x6c)]()[_0x1e84ea(0x68)]()[_0x1e84ea(0x71)](_0xcd5e7a=>{const _0x536f66=_0x1e84ea;_0x4ac8f6[_0x536f66(0x67)](_0x4ac8f6[_0x536f66(0xe5)],_0x4ac8f6['GSmpD'])?_0x528955['XdJGB'](_0x19208b,{}):_0x4ac8f6[_0x536f66(0xdb)](_0x5f3b06,_0xcd5e7a);})[_0x1e84ea(0x91)](_0x415740=>{const _0x2a824e=_0x1e84ea;_0x528955[_0x2a824e(0x114)](_0x528955[_0x2a824e(0xdf)],_0x528955['jvhHI'])?(logger[_0x2a824e(0xce)](_0x2a824e(0xec)+_0x415740),_0x528955['wioDy'](_0x2f2d13,_0x415740)):(_0x58d38e[_0x2a824e(0xce)](_0x2a824e(0x107)+_0x257a82),_0x528955[_0x2a824e(0x7b)](_0x2af517,_0x118f65));});}});},exports[a25_0x3551de(0x11a)]=()=>{const _0x1d722f=a25_0x3551de,_0x5ae408={'DKicN':function(_0xac1586,_0x1a30e5){return _0xac1586(_0x1a30e5);},'QDYxG':function(_0x3d2d65,_0x834dfa){return _0x3d2d65===_0x834dfa;},'TUeAt':_0x1d722f(0x8c),'fYWyb':_0x1d722f(0x97),'ZgWAR':function(_0x3bf942,_0x2d6a2a){return _0x3bf942!==_0x2d6a2a;},'OwOLI':function(_0xb4266c,_0x37e420){return _0xb4266c!==_0x37e420;},'Oqowi':_0x1d722f(0xe6),'wwDMr':function(_0x4e656d,_0x61b492){return _0x4e656d!==_0x61b492;},'gGwAz':_0x1d722f(0x82),'fjTCM':'ifEHY','AyQXf':function(_0x367567,_0x46ec10){return _0x367567(_0x46ec10);},'DqjcP':'2016-11-15','Icshl':_0x1d722f(0x118),'sCnJY':function(_0x18b970,_0x47e7e8){return _0x18b970!==_0x47e7e8;},'mBRGe':_0x1d722f(0xca),'BccwY':'OqbWO'};return new Promise((_0x5ef2e0,_0x39b88f)=>{const _0x59ae02=_0x1d722f,_0x415c7a={'qQDfR':function(_0x40de5d,_0x2fe830){const _0x4f7fda=a25_0x179d;return _0x5ae408[_0x4f7fda(0x65)](_0x40de5d,_0x2fe830);},'BrBSP':function(_0x290d46,_0xdeb1e8){return _0x5ae408['AyQXf'](_0x290d46,_0xdeb1e8);},'vSEld':_0x5ae408['DqjcP'],'uNrRC':function(_0x51670f,_0x278ee2){const _0x39f436=a25_0x179d;return _0x5ae408[_0x39f436(0xff)](_0x51670f,_0x278ee2);},'mZFVK':_0x5ae408[_0x59ae02(0xfe)]};if(_0x5ae408[_0x59ae02(0x94)](_0x5ae408['mBRGe'],_0x5ae408[_0x59ae02(0x87)])){const _0x53033d={};_0x53033d[_0x59ae02(0x115)]=_0x5ae408['DqjcP'];const _0x272c97=new awsSDK[(_0x59ae02(0x9e))](_0x53033d);_0x272c97[_0x59ae02(0x81)]()[_0x59ae02(0x68)]()[_0x59ae02(0x71)]((_0x4d4c5b,_0x26290f)=>{const _0x4df001=_0x59ae02,_0xd3478d={'fEOlx':function(_0x88d0c6,_0x568678){const _0x5a85a0=a25_0x179d;return _0x5ae408[_0x5a85a0(0x65)](_0x88d0c6,_0x568678);}};if(_0x5ae408[_0x4df001(0xff)](_0x5ae408[_0x4df001(0xbc)],_0x5ae408[_0x4df001(0x117)]))_0xd3478d[_0x4df001(0x69)](_0x35ce52,_0x25a1b8[_0x4df001(0xc2)]);else{if(_0x5ae408['ZgWAR'](_0x4d4c5b,undefined)&&_0x5ae408[_0x4df001(0x86)](_0x4d4c5b[_0x4df001(0xc2)],undefined))_0x5ae408[_0x4df001(0xff)](_0x5ae408[_0x4df001(0xe7)],_0x5ae408[_0x4df001(0xe7)])?_0x5ae408[_0x4df001(0x65)](_0x5ef2e0,_0x4d4c5b[_0x4df001(0xc2)]):(_0x4b080c[_0x4df001(0xd0)]('Bucket:\x20'+_0x7a7c6c+_0x4df001(0x7c)),_0x415c7a[_0x4df001(0xda)](_0x3d349b,![]));else{if(_0x5ae408[_0x4df001(0xf4)](_0x5ae408[_0x4df001(0x7f)],_0x5ae408['fjTCM']))_0x5ae408[_0x4df001(0x111)](_0x5ef2e0,{});else{const _0x29c95d={'RCveJ':function(_0x3f4bae,_0x342cb6){const _0x4a5411=_0x4df001;return _0x415c7a[_0x4a5411(0xda)](_0x3f4bae,_0x342cb6);},'VYydL':function(_0x147c10,_0x296464){const _0x449ab5=_0x4df001;return _0x415c7a[_0x449ab5(0x9f)](_0x147c10,_0x296464);},'xpAgr':_0x415c7a[_0x4df001(0x10b)]};return new _0x5b79ef((_0x3bcec3,_0x44fc9d)=>{const _0x41800e=_0x4df001,_0x99a73b={};_0x99a73b[_0x41800e(0x115)]=_0x29c95d[_0x41800e(0xe1)],_0x99a73b[_0x41800e(0x98)]=_0x4759dd;const _0x5e5ffe=new _0x1216c2[(_0x41800e(0x9e))](_0x99a73b);_0x5e5ffe[_0x41800e(0x6c)]()['promise']()[_0x41800e(0x71)](_0xc6fe99=>{const _0x13135a=_0x41800e;_0x29c95d[_0x13135a(0xbf)](_0x3bcec3,_0xc6fe99);})[_0x41800e(0x91)](_0x424e84=>{const _0x112899=_0x41800e;_0x3c6563['error'](_0x112899(0xec)+_0x424e84),_0x29c95d[_0x112899(0xc5)](_0x44fc9d,_0x424e84);});});}}}})['catch'](_0x1de728=>{const _0x3c2f6f=_0x59ae02;_0x415c7a[_0x3c2f6f(0x85)](_0x415c7a['mZFVK'],_0x415c7a['mZFVK'])?(logger[_0x3c2f6f(0xce)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x1de728),_0x415c7a[_0x3c2f6f(0x9f)](_0x39b88f,_0x1de728)):(_0x3394e3[_0x3c2f6f(0xce)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x57a321),_0x415c7a['BrBSP'](_0x160017,_0x21bd17));});}else{const _0x5e0716={'ftwip':function(_0x6a7ae1,_0x410b1e){return _0x5ae408['AyQXf'](_0x6a7ae1,_0x410b1e);},'CfYEL':function(_0x2130af,_0x2ec8aa){const _0x416905=_0x59ae02;return _0x5ae408[_0x416905(0x65)](_0x2130af,_0x2ec8aa);}},_0x18cab5={};_0x18cab5[_0x59ae02(0xef)]=_0x320c17,_0x3c65d0[_0x59ae02(0xd6)](_0x18cab5)[_0x59ae02(0x68)]()[_0x59ae02(0x71)](_0x40a7ab=>{const _0xed700e=_0x59ae02;_0x2f6649['warn'](_0xed700e(0xc1)+_0x52a4b9+_0xed700e(0x10e)),_0x5e0716[_0xed700e(0xcb)](_0x36d37c,!![]);})['catch'](()=>{const _0x1088d0=_0x59ae02;_0x42f9dd['info']('Bucket:\x20'+_0x47e47f+_0x1088d0(0x7c)),_0x5e0716[_0x1088d0(0xf8)](_0x36dc69,![]);});}});},exports[a25_0x3551de(0x101)]=_0x3eaa2b=>{const _0x5c84e0=a25_0x3551de,_0x5d6b00={'uqOsN':function(_0x490347,_0x46e78b){return _0x490347(_0x46e78b);},'GHafU':_0x5c84e0(0xee),'FbjCW':function(_0x5be994,_0x251cde){return _0x5be994===_0x251cde;},'jyJXa':_0x5c84e0(0x6a),'aQGsq':_0x5c84e0(0x80),'zVHpq':function(_0x4c4878,_0x5394e1){return _0x4c4878(_0x5394e1);},'ORXxs':_0x5c84e0(0x10c),'BbVmT':function(_0x2e611a,_0x2abfe9){return _0x2e611a(_0x2abfe9);},'qRlrZ':function(_0x5e7e5f,_0x14d197){return _0x5e7e5f(_0x14d197);},'JghAT':function(_0x5c4c27,_0x291277){return _0x5c4c27!==_0x291277;},'bSPbH':'zkDXP','DqRRI':'cOEQQ','nnUGY':function(_0x53f53d,_0x433604){return _0x53f53d===_0x433604;},'VHQBj':_0x5c84e0(0x104)};return new Promise((_0x55e426,_0xd43ce8)=>{const _0x441515=_0x5c84e0,_0x5353fe={'FkafO':function(_0x2e64e0,_0x195c01){const _0x4826ef=a25_0x179d;return _0x5d6b00[_0x4826ef(0xe0)](_0x2e64e0,_0x195c01);},'DQvCO':function(_0x52ae39,_0x376c9c){const _0x4c1cb1=a25_0x179d;return _0x5d6b00[_0x4c1cb1(0xeb)](_0x52ae39,_0x376c9c);},'vHFuG':function(_0x44eb2,_0x2add4a){const _0x431b1a=a25_0x179d;return _0x5d6b00[_0x431b1a(0xcd)](_0x44eb2,_0x2add4a);},'qSmri':_0x5d6b00[_0x441515(0x8e)],'MtLtC':_0x5d6b00[_0x441515(0xf3)]};if(_0x5d6b00[_0x441515(0x10d)](_0x5d6b00['VHQBj'],_0x5d6b00[_0x441515(0x73)])){const _0x984a03={};_0x984a03['apiVersion']=_0x5d6b00[_0x441515(0xcf)];const _0x35a1a6=new awsSDK[(_0x441515(0x10f))](_0x984a03),_0xd767a={};_0xd767a[_0x441515(0xc6)]=_0x3eaa2b,_0x35a1a6['describeCluster'](_0xd767a)[_0x441515(0x68)]()['then'](_0x1c82d2=>{const _0x4993e2=_0x441515,_0x3314e5={'KhENf':function(_0x201910,_0x57619c){const _0xacc25d=a25_0x179d;return _0x5d6b00[_0xacc25d(0xd5)](_0x201910,_0x57619c);},'npVvI':_0x5d6b00[_0x4993e2(0xc4)]};if(_0x5d6b00['FbjCW'](_0x5d6b00['jyJXa'],_0x5d6b00[_0x4993e2(0x7e)])){const _0x15c3a9={'EbNCm':function(_0x193c1a,_0x4b59bb){const _0x113cf5=_0x4993e2;return _0x5353fe[_0x113cf5(0xa4)](_0x193c1a,_0x4b59bb);}};return new _0x5e2466((_0x4183e1,_0x2aeb7e)=>{const _0x513e34=_0x4993e2,_0x1f586b={'uQUnF':function(_0x497159,_0x599c01){const _0x31a874=a25_0x179d;return _0x3314e5[_0x31a874(0x7a)](_0x497159,_0x599c01);}},_0x3c5b14={};_0x3c5b14['apiVersion']=_0x3314e5['npVvI'],_0x3c5b14[_0x513e34(0x98)]=_0x4870ac;const _0x37ca6c=new _0x73bc4[(_0x513e34(0x9e))](_0x3c5b14);_0x37ca6c['describeVpcs']()[_0x513e34(0x68)]()[_0x513e34(0x71)](_0x4c1e24=>{const _0x1d7884=_0x513e34;_0x1f586b[_0x1d7884(0x9a)](_0x4183e1,_0x4c1e24);})[_0x513e34(0x91)](_0x5e6d96=>{const _0x920e29=_0x513e34;_0x2b74fb[_0x920e29(0xce)](_0x920e29(0x107)+_0x5e6d96),_0x15c3a9[_0x920e29(0x88)](_0x2aeb7e,_0x5e6d96);});});}else _0x5d6b00['zVHpq'](_0x55e426,_0x1c82d2['cluster'][_0x4993e2(0xa2)][_0x4993e2(0x8f)][_0x4993e2(0x74)]);})[_0x441515(0x91)](_0x1b9241=>{const _0x394783=_0x441515,_0x528561={'xftjC':function(_0x3c0b60,_0x24b041){const _0x1260ff=a25_0x179d;return _0x5353fe[_0x1260ff(0x9b)](_0x3c0b60,_0x24b041);}};if(_0x5353fe[_0x394783(0xc9)](_0x5353fe[_0x394783(0x78)],_0x5353fe[_0x394783(0xa6)]))logger['error']('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x3eaa2b+':\x20'+_0x1b9241),_0x5353fe[_0x394783(0x9b)](_0xd43ce8,_0x1b9241);else{const _0x354324={'DxDCz':function(_0x38b42f,_0x43e36e){return _0x528561['xftjC'](_0x38b42f,_0x43e36e);}},_0x5330db=new _0x2d4f21['S3']();return new _0xdf1bcb((_0x25cb27,_0x33c106)=>{const _0x1a272f=_0x394783,_0x317e3e={'XTYWx':function(_0x2fe0ea,_0x6d76e5){const _0x5610dd=a25_0x179d;return _0x528561[_0x5610dd(0xf5)](_0x2fe0ea,_0x6d76e5);}},_0x48a01e={};_0x48a01e[_0x1a272f(0xef)]=_0x1e9e9e,_0x5330db[_0x1a272f(0xd6)](_0x48a01e)[_0x1a272f(0x68)]()['then'](_0x15256e=>{const _0x2d8c1a=_0x1a272f;_0x458472[_0x2d8c1a(0xd4)](_0x2d8c1a(0xc1)+_0x327421+_0x2d8c1a(0x10e)),_0x317e3e[_0x2d8c1a(0xae)](_0x25cb27,!![]);})[_0x1a272f(0x91)](()=>{const _0x58cb38=_0x1a272f;_0x3b2163[_0x58cb38(0xd0)](_0x58cb38(0xc1)+_0x7a526e+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x354324[_0x58cb38(0x110)](_0x25cb27,![]);});});}});}else{const _0x124bb3={'QnTWI':function(_0xd7fac6,_0x34cc94){const _0x44f0b1=_0x441515;return _0x5d6b00[_0x44f0b1(0xac)](_0xd7fac6,_0x34cc94);}},_0x398b6c={};_0x398b6c[_0x441515(0x115)]=_0x5d6b00[_0x441515(0xcf)];const _0x558b34=new _0x3fe4e6['EKS'](_0x398b6c),_0x2a7b2f={};_0x2a7b2f[_0x441515(0xc6)]=_0x5d5317,_0x558b34['describeCluster'](_0x2a7b2f)[_0x441515(0x68)]()[_0x441515(0x71)](_0x439b20=>{const _0x4663=_0x441515;_0x5353fe['DQvCO'](_0x3ac85b,_0x439b20[_0x4663(0x64)][_0x4663(0xa2)][_0x4663(0x8f)]['issuer']);})[_0x441515(0x91)](_0x142750=>{const _0x116fe=_0x441515;_0x3d4001['error'](_0x116fe(0xc3)+_0x1d8399+':\x20'+_0x142750),_0x124bb3['QnTWI'](_0x5e6162,_0x142750);});}});},exports[a25_0x3551de(0xc8)]=awsSDK;
|
|
1
|
+
function a25_0x5ef3(){const _0x42bbfd=['HcVhf','zscpW','headBucket','LAsLP','OJdHn','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','oidc','tdBHp','info','365382gzDfel','eeCGa','Bucket:\x20','OzLQT','QccWw','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','error','aDzTy','AHQGk','tWNhl','khzcx','9XZUVuT','NobdV','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','VLiSd','TBCcc','NdeWZ','QzUSl','fetchSubnets','chPlT','LWEtb','ZNKOb','gCrNq','1343130WjonvB','lOezb','getOidcUrl','RAHIY','sOald','lzsVJ','iWCpL','pVnWb','then','GQtZm','cTBcF','UMfbm','yZTSQ','oVabV','OYzbb','MWsZW','AuzTr','qqULK','guKfU','YmWoa','lsvSt','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','qjtQy','IYbTX','kKsaS','describeVpcs','tTnOJ','DwAlf','vHDQq','soAlv','issuer','7608880WqMXJT','oRSoh','VoIPp','QAHtT','identity','EC2','ymlcM','tMbmG','LGsSt','nEDEu','describeRegions','aws-sdk','21810TAFruq','getAWSRegions','name','fOnSB','tJSJR','xKEiV','EKS','RMipg','cwKja','Oruxv','ILbkT','hEPAG','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','zNBGj','26440OXkwfk','FKiEy','MOidb','PJeMx','7lNAQxP','VUHRX','esxUg','fuEbx','cHZjG','sdQqM','isRZr','yikmj','knFMY','2017-11-01','328068pYaJSt','jrenf','warn','SxAku','fetchSecurityGroups','region','lmbbP','XIENC','describeCluster','hlHtl','apiVersion','oaCqC','TpQIa','nuruy','MpdSE','Regions','UnBIn','pcKpn','gZyVo','../config/logger','yHbSj','2016-11-15','describeSubnets','BwCOm','describeSecurityGroups','kSmaD','ZLnkg','CcqGb','RKbCB','ubPrk','gqARd','656mOmCyp','KBHGv','lQlvf','oKHoI','VcymT','7873900ugrAxk','NoQvP','LRMvx','isBucketPresent','HpDKX','zsKsH','RdEng','awsObj','ZiXPi','LZvsL','qfsEL','HbqGN','ebhWo','dhHnX','tRPYb','NAavm','cluster','DbAEM','TknWi','xAzdi','TBbnC','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','yskEa','FzpML','NSEuY','mDabu','FUrSY','RAXGm','FiXJf','dQEJF','YHdFL','szgss','qcxOz','promise','iXrfE','JGWOv','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','Bucket','lqZZA','cULlX','catch','tsUqa','XsAkW','HsSpy','kQTMY','oZYno','fetchVPCs','CsVen','ckWbd'];a25_0x5ef3=function(){return _0x42bbfd;};return a25_0x5ef3();}function a25_0x32bf(_0x40769b,_0x51745c){const _0x5ef387=a25_0x5ef3();return a25_0x32bf=function(_0x32bfe8,_0x2383b){_0x32bfe8=_0x32bfe8-0xe8;let _0x36844d=_0x5ef387[_0x32bfe8];return _0x36844d;},a25_0x32bf(_0x40769b,_0x51745c);}const a25_0x193479=a25_0x32bf;(function(_0x4f8f2e,_0x33115e){const _0x4663e0=a25_0x32bf,_0x311ec1=_0x4f8f2e();while(!![]){try{const _0x44861f=parseInt(_0x4663e0(0x133))/0x1+-parseInt(_0x4663e0(0x14a))/0x2+parseInt(_0x4663e0(0x191))/0x3+parseInt(_0x4663e0(0xf4))/0x4*(parseInt(_0x4663e0(0x183))/0x5)+parseInt(_0x4663e0(0x175))/0x6+-parseInt(_0x4663e0(0x187))/0x7*(parseInt(_0x4663e0(0x169))/0x8)+parseInt(_0x4663e0(0x13e))/0x9*(parseInt(_0x4663e0(0xf9))/0xa);if(_0x44861f===_0x33115e)break;else _0x311ec1['push'](_0x311ec1['shift']());}catch(_0x43f536){_0x311ec1['push'](_0x311ec1['shift']());}}}(a25_0x5ef3,0x7c970));const awsSDK=require(a25_0x193479(0x174)),{logger}=require(a25_0x193479(0xe8));exports[a25_0x193479(0x127)]=_0x21fcd8=>{const _0x399d16=a25_0x193479,_0x6814ee={'TpQIa':function(_0x328188,_0x197ccc){return _0x328188(_0x197ccc);},'MWsZW':function(_0x6cf928,_0xd1e69){return _0x6cf928!==_0xd1e69;},'pcKpn':_0x399d16(0x1a3),'aDzTy':function(_0x214001,_0x29c3de){return _0x214001(_0x29c3de);},'QzUSl':_0x399d16(0x114),'RMipg':_0x399d16(0x15c),'IeSNi':function(_0x2a1ac2,_0x398e2d){return _0x2a1ac2(_0x398e2d);},'VLiSd':'2016-11-15','cwKja':function(_0xf2ba0f,_0xeed650){return _0xf2ba0f===_0xeed650;},'ILbkT':_0x399d16(0x19f),'IbcXa':'lKaGi'};return new Promise((_0x446484,_0x46b7ff)=>{const _0x3169d9=_0x399d16,_0x797f65={'GQtZm':function(_0x21530b,_0x3492c){return _0x6814ee['aDzTy'](_0x21530b,_0x3492c);},'dRgjI':function(_0x1865d3,_0x2cee16){const _0x7791e4=a25_0x32bf;return _0x6814ee[_0x7791e4(0x13a)](_0x1865d3,_0x2cee16);},'iccUE':function(_0x2ab385,_0x43283e){const _0x9eff2e=a25_0x32bf;return _0x6814ee[_0x9eff2e(0x159)](_0x2ab385,_0x43283e);},'NFJvD':_0x6814ee[_0x3169d9(0x144)],'oVabV':_0x6814ee[_0x3169d9(0x17c)],'rGeqM':function(_0x4aa319,_0x331685){return _0x6814ee['IeSNi'](_0x4aa319,_0x331685);},'yikmj':_0x6814ee[_0x3169d9(0x141)]};if(_0x6814ee[_0x3169d9(0x17d)](_0x6814ee[_0x3169d9(0x17f)],_0x6814ee['IbcXa']))_0x3c1950[_0x3169d9(0x139)](_0x3169d9(0x138)+_0x5aa705),_0x797f65[_0x3169d9(0x153)](_0x429813,_0x234881);else{const _0xce09db={};_0xce09db[_0x3169d9(0x19b)]=_0x6814ee[_0x3169d9(0x141)],_0xce09db[_0x3169d9(0x196)]=_0x21fcd8;const _0x4e8062=new awsSDK[(_0x3169d9(0x16e))](_0xce09db);_0x4e8062[_0x3169d9(0x163)]()[_0x3169d9(0x11a)]()[_0x3169d9(0x152)](_0x115c33=>{const _0xc89ecf=_0x3169d9,_0x1243cd={'CsVen':function(_0x371e83,_0x254bfa){return _0x797f65['dRgjI'](_0x371e83,_0x254bfa);},'cHZjG':function(_0x18bd92,_0x38ef06){const _0x205127=a25_0x32bf;return _0x797f65[_0x205127(0x153)](_0x18bd92,_0x38ef06);}};if(_0x797f65['iccUE'](_0x797f65['NFJvD'],_0x797f65[_0xc89ecf(0x157)]))_0x797f65['rGeqM'](_0x446484,_0x115c33);else{const _0x232c6e={'NobdV':function(_0x101798,_0x1a5292){const _0x320ad0=_0xc89ecf;return _0x1243cd[_0x320ad0(0x18b)](_0x101798,_0x1a5292);}},_0x461402=new _0x55042f['S3']();return new _0x3f4efb((_0x5a0485,_0x5f32da)=>{const _0x423694=_0xc89ecf,_0x16ec21={'sOald':function(_0x14736b,_0x4347b2){const _0x2a4f38=a25_0x32bf;return _0x1243cd[_0x2a4f38(0x128)](_0x14736b,_0x4347b2);}},_0x40be80={};_0x40be80['Bucket']=_0x220ea5,_0x461402[_0x423694(0x12c)](_0x40be80)[_0x423694(0x11a)]()[_0x423694(0x152)](_0x916a00=>{const _0x2a5da1=_0x423694;_0x2cdcd7[_0x2a5da1(0x193)](_0x2a5da1(0x135)+_0x368900+_0x2a5da1(0x10e)),_0x232c6e[_0x2a5da1(0x13f)](_0x5a0485,!![]);})[_0x423694(0x121)](()=>{const _0x57f771=_0x423694;_0x2cbc10[_0x57f771(0x132)](_0x57f771(0x135)+_0x3b2fb6+_0x57f771(0x15f)),_0x16ec21[_0x57f771(0x14e)](_0x5a0485,![]);});});}})[_0x3169d9(0x121)](_0x546760=>{const _0x1619a8=_0x3169d9,_0x17c73a={'aACHw':function(_0xa1b699,_0x3c117e){const _0x56074d=a25_0x32bf;return _0x6814ee[_0x56074d(0x19d)](_0xa1b699,_0x3c117e);}};if(_0x6814ee['MWsZW'](_0x6814ee[_0x1619a8(0x1a2)],_0x6814ee[_0x1619a8(0x1a2)])){const _0x338e90={'vcZsH':function(_0x5d7a87,_0x5ed965){const _0x1505bb=_0x1619a8;return _0x797f65[_0x1505bb(0x153)](_0x5d7a87,_0x5ed965);}},_0x3d0d15={};_0x3d0d15[_0x1619a8(0x19b)]=_0x797f65[_0x1619a8(0x18e)],_0x3d0d15[_0x1619a8(0x196)]=_0x413314;const _0x2a3458=new _0x590b6c[(_0x1619a8(0x16e))](_0x3d0d15);_0x2a3458[_0x1619a8(0xeb)]()[_0x1619a8(0x11a)]()['then'](_0x4ebf84=>{_0x338e90['vcZsH'](_0x4771cf,_0x4ebf84);})[_0x1619a8(0x121)](_0x3ab57a=>{const _0x261285=_0x1619a8;_0x5cf66b[_0x261285(0x139)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x3ab57a),_0x17c73a['aACHw'](_0x41108a,_0x3ab57a);});}else logger['error'](_0x1619a8(0x140)+_0x546760),_0x6814ee['aDzTy'](_0x46b7ff,_0x546760);});}});},exports[a25_0x193479(0xfc)]=_0xe84648=>{const _0x191e3a=a25_0x193479,_0x1d0119={'NAavm':function(_0x2ca299,_0x52eea9){return _0x2ca299(_0x52eea9);},'HpDKX':function(_0x9dd079,_0x13f0ab){return _0x9dd079===_0x13f0ab;},'cTBcF':_0x191e3a(0xf5),'yZTSQ':'raPnh','qjtQy':_0x191e3a(0xea),'ZNKOb':function(_0x49bff2,_0x40749b){return _0x49bff2!==_0x40749b;},'tRPYb':_0x191e3a(0x105),'XIENC':function(_0x2139d4,_0x5a4b32){return _0x2139d4===_0x5a4b32;},'nEDEu':'ZAMWm','JGWOv':_0x191e3a(0x18d)},_0x42dc47=new awsSDK['S3']();return new Promise((_0x3afac6,_0x4c900c)=>{const _0x3f4d72=_0x191e3a,_0x38fd73={'ZiXPi':function(_0x366473,_0x4ad2f9){const _0x3d3008=a25_0x32bf;return _0x1d0119[_0x3d3008(0x108)](_0x366473,_0x4ad2f9);},'OYzbb':function(_0xc24b57,_0x414c34){const _0x4a8cb5=a25_0x32bf;return _0x1d0119[_0x4a8cb5(0xfd)](_0xc24b57,_0x414c34);},'aJWXA':_0x1d0119[_0x3f4d72(0x154)],'zsKsH':_0x1d0119[_0x3f4d72(0x156)],'zscpW':function(_0x56b146,_0x424b1e){const _0x218298=_0x3f4d72;return _0x1d0119[_0x218298(0x108)](_0x56b146,_0x424b1e);},'tJSJR':function(_0x1fb540,_0x56eca0){const _0x34f255=_0x3f4d72;return _0x1d0119[_0x34f255(0x108)](_0x1fb540,_0x56eca0);},'aEieE':_0x1d0119[_0x3f4d72(0x160)],'MAKOF':function(_0x12a5d6,_0x2af4a9){const _0x85e329=_0x3f4d72;return _0x1d0119[_0x85e329(0x148)](_0x12a5d6,_0x2af4a9);},'ymlcM':_0x1d0119[_0x3f4d72(0x107)],'OEPwN':function(_0x4ecc09,_0x27d247){const _0x529f54=_0x3f4d72;return _0x1d0119[_0x529f54(0x108)](_0x4ecc09,_0x27d247);}};if(_0x1d0119[_0x3f4d72(0x198)](_0x1d0119[_0x3f4d72(0x172)],_0x1d0119[_0x3f4d72(0x11c)]))_0x19bec6[_0x3f4d72(0x139)]('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x417bd5),_0x1d0119['NAavm'](_0x219a85,_0x286ed2);else{const _0x5d8743={};_0x5d8743[_0x3f4d72(0x11e)]=_0xe84648,_0x42dc47[_0x3f4d72(0x12c)](_0x5d8743)[_0x3f4d72(0x11a)]()['then'](_0x8418a4=>{const _0x1b75a9=_0x3f4d72;_0x38fd73[_0x1b75a9(0x158)](_0x38fd73['aJWXA'],_0x38fd73[_0x1b75a9(0xfe)])?_0x38fd73[_0x1b75a9(0x101)](_0x2ef94d,_0x17a75c):(logger[_0x1b75a9(0x193)](_0x1b75a9(0x135)+_0xe84648+_0x1b75a9(0x10e)),_0x38fd73[_0x1b75a9(0x12b)](_0x3afac6,!![]));})['catch'](()=>{const _0x34597e=_0x3f4d72,_0x11cced={'MOidb':function(_0x1ae3f8,_0x25775d){const _0x2a1267=a25_0x32bf;return _0x38fd73[_0x2a1267(0x179)](_0x1ae3f8,_0x25775d);},'kQTMY':_0x38fd73['aEieE']};if(_0x38fd73['MAKOF'](_0x38fd73['ymlcM'],_0x38fd73[_0x34597e(0x16f)])){const _0x3b9899={};_0x3b9899[_0x34597e(0x19b)]=_0x11cced[_0x34597e(0x125)],_0x3b9899['region']=_0x45e255;const _0x4997d6=new _0x5cde4f[(_0x34597e(0x16e))](_0x3b9899);_0x4997d6[_0x34597e(0x163)]()[_0x34597e(0x11a)]()[_0x34597e(0x152)](_0x373d7f=>{const _0x19395c=_0x34597e;_0x11cced[_0x19395c(0x185)](_0x2fd972,_0x373d7f);})[_0x34597e(0x121)](_0x63a776=>{const _0x4391b5=_0x34597e;_0x499f66['error']('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x63a776),_0x11cced[_0x4391b5(0x185)](_0x5e258b,_0x63a776);});}else logger['info']('Bucket:\x20'+_0xe84648+_0x34597e(0x15f)),_0x38fd73['OEPwN'](_0x3afac6,![]);});}});},exports[a25_0x193479(0x145)]=_0x2d8a1b=>{const _0x5dfde6=a25_0x193479,_0x5809a6={'DwAlf':function(_0x2f366a,_0xb09c2d){return _0x2f366a(_0xb09c2d);},'lqZZA':function(_0x30486b,_0x5a1005){return _0x30486b===_0x5a1005;},'yskEa':_0x5dfde6(0x147),'nuruy':_0x5dfde6(0xf0),'XsAkW':function(_0x53e4b5,_0xc44740){return _0x53e4b5(_0xc44740);},'ubPrk':'2016-11-15','HsSpy':function(_0xf1ad7f,_0x4a9c50){return _0xf1ad7f!==_0x4a9c50;},'hEPAG':'jWzto','oZYno':function(_0x383e35,_0x22cce5){return _0x383e35(_0x22cce5);},'oKHoI':function(_0x30a664,_0x438813){return _0x30a664!==_0x438813;},'eeCGa':_0x5dfde6(0x120)};return new Promise((_0x4a1d5d,_0x1ae448)=>{const _0x320a2b=_0x5dfde6,_0x26a010={'LZvsL':function(_0x270075,_0x21081e){const _0x147aa9=a25_0x32bf;return _0x5809a6[_0x147aa9(0x165)](_0x270075,_0x21081e);},'LAsLP':function(_0x59a69b,_0x8286e6){return _0x5809a6['DwAlf'](_0x59a69b,_0x8286e6);},'NoQvP':function(_0x1f127b,_0x4fd9d5){const _0x4be8a0=a25_0x32bf;return _0x5809a6[_0x4be8a0(0x11f)](_0x1f127b,_0x4fd9d5);},'lOezb':_0x5809a6[_0x320a2b(0x10f)],'TCabE':_0x5809a6[_0x320a2b(0x19e)],'BwCOm':function(_0xac6e30,_0x401dcc){const _0x2d30bd=_0x320a2b;return _0x5809a6[_0x2d30bd(0x123)](_0xac6e30,_0x401dcc);},'oRSoh':function(_0x40d1c6,_0x43f188){return _0x5809a6['DwAlf'](_0x40d1c6,_0x43f188);},'fOnSB':_0x5809a6[_0x320a2b(0xf2)],'QccWw':function(_0x5666ef,_0x1835df){const _0x333755=_0x320a2b;return _0x5809a6[_0x333755(0x124)](_0x5666ef,_0x1835df);},'gqARd':_0x5809a6[_0x320a2b(0x180)],'iXrfE':function(_0x252825,_0x2dbe5e){const _0x942441=_0x320a2b;return _0x5809a6[_0x942441(0x126)](_0x252825,_0x2dbe5e);}};if(_0x5809a6[_0x320a2b(0xf7)](_0x5809a6[_0x320a2b(0x134)],_0x5809a6[_0x320a2b(0x134)]))_0x1305f7[_0x320a2b(0x132)](_0x320a2b(0x135)+_0x47d0b6+_0x320a2b(0x15f)),_0x26a010[_0x320a2b(0x102)](_0x586b2b,![]);else{const _0x23e9be={};_0x23e9be[_0x320a2b(0x19b)]=_0x5809a6[_0x320a2b(0xf2)],_0x23e9be[_0x320a2b(0x196)]=_0x2d8a1b;const _0x419611=new awsSDK[(_0x320a2b(0x16e))](_0x23e9be);_0x419611[_0x320a2b(0xeb)]()[_0x320a2b(0x11a)]()['then'](_0x41ecd7=>{const _0x2a91ac=_0x320a2b,_0xcfe9f7={'qcxOz':function(_0x12bdea,_0x52e5bd){const _0xdbab3f=a25_0x32bf;return _0x26a010[_0xdbab3f(0x12d)](_0x12bdea,_0x52e5bd);}};_0x26a010[_0x2a91ac(0xfa)](_0x26a010[_0x2a91ac(0x14b)],_0x26a010['TCabE'])?(_0x4b3d45[_0x2a91ac(0x139)](_0x2a91ac(0x11d)+_0x2fe5e5+':\x20'+_0x569e60),_0xcfe9f7[_0x2a91ac(0x119)](_0x250b95,_0x4ed6ce)):_0x26a010[_0x2a91ac(0x12d)](_0x4a1d5d,_0x41ecd7);})['catch'](_0x1fe466=>{const _0x53a86d=_0x320a2b,_0x5d9282={'vupnN':function(_0x123d65,_0x246c81){const _0x4fe40b=a25_0x32bf;return _0x26a010[_0x4fe40b(0xec)](_0x123d65,_0x246c81);},'DbAEM':function(_0x21b754,_0x58a723){const _0x3d5ead=a25_0x32bf;return _0x26a010[_0x3d5ead(0x16a)](_0x21b754,_0x58a723);},'YHdFL':_0x26a010[_0x53a86d(0x178)]};if(_0x26a010[_0x53a86d(0x137)](_0x26a010[_0x53a86d(0xf3)],_0x26a010[_0x53a86d(0xf3)])){const _0x2d5a3b={'TBCcc':function(_0x2822ba,_0x5856c3){return _0x5d9282['vupnN'](_0x2822ba,_0x5856c3);},'khzcx':function(_0x3c44b4,_0x1d54e2){const _0x230f77=_0x53a86d;return _0x5d9282[_0x230f77(0x10a)](_0x3c44b4,_0x1d54e2);}},_0x376264={};_0x376264[_0x53a86d(0x19b)]=_0x5d9282[_0x53a86d(0x117)],_0x376264[_0x53a86d(0x196)]=_0x371fc8;const _0x13b427=new _0x3a3763[(_0x53a86d(0x16e))](_0x376264);_0x13b427[_0x53a86d(0xed)]()[_0x53a86d(0x11a)]()[_0x53a86d(0x152)](_0x509ad0=>{const _0x415a9f=_0x53a86d;_0x2d5a3b[_0x415a9f(0x142)](_0x50c820,_0x509ad0);})[_0x53a86d(0x121)](_0x2c09aa=>{const _0x249da9=_0x53a86d;_0x2b9bdc[_0x249da9(0x139)](_0x249da9(0x12f)+_0x2c09aa),_0x2d5a3b[_0x249da9(0x13d)](_0x3b61ed,_0x2c09aa);});}else logger[_0x53a86d(0x139)](_0x53a86d(0x181)+_0x1fe466),_0x26a010[_0x53a86d(0x11b)](_0x1ae448,_0x1fe466);});}});},exports[a25_0x193479(0x195)]=_0x46a553=>{const _0x319c24=a25_0x193479,_0x2e4274={'ZLnkg':'2016-11-15','zNBGj':function(_0x51a967,_0x50ca3a){return _0x51a967===_0x50ca3a;},'UnBIn':_0x319c24(0x13b),'OJdHn':function(_0x2d7268,_0x246269){return _0x2d7268(_0x246269);},'Dqrqj':function(_0x5e50f0,_0x311dbb){return _0x5e50f0!==_0x311dbb;},'SxAku':_0x319c24(0x170),'xAzdi':function(_0x3c0933,_0x5e47f7){return _0x3c0933(_0x5e47f7);},'qfsEL':'2017-11-01','IYbTX':_0x319c24(0x104)};return new Promise((_0x2c9bdd,_0x540b36)=>{const _0x4a8bde=_0x319c24,_0x473c6={'tdBHp':function(_0x303633,_0x19ba33){const _0x197b40=a25_0x32bf;return _0x2e4274[_0x197b40(0x10c)](_0x303633,_0x19ba33);},'VcymT':function(_0x403f21,_0x5d1922){const _0x438884=a25_0x32bf;return _0x2e4274[_0x438884(0x12e)](_0x403f21,_0x5d1922);},'qqULK':function(_0x50c9b3,_0x7b6549){return _0x2e4274['xAzdi'](_0x50c9b3,_0x7b6549);},'lzsVJ':_0x2e4274[_0x4a8bde(0x103)]};if(_0x2e4274['zNBGj'](_0x2e4274[_0x4a8bde(0x161)],_0x2e4274['IYbTX'])){const _0xecf242={};_0xecf242[_0x4a8bde(0x19b)]=_0x2e4274[_0x4a8bde(0xef)],_0xecf242[_0x4a8bde(0x196)]=_0x46a553;const _0x5be58f=new awsSDK[(_0x4a8bde(0x16e))](_0xecf242);_0x5be58f[_0x4a8bde(0xed)]()[_0x4a8bde(0x11a)]()[_0x4a8bde(0x152)](_0x5cc90b=>{const _0x5e945e=_0x4a8bde,_0xd46608={};_0xd46608[_0x5e945e(0x115)]=_0x2e4274[_0x5e945e(0xef)];const _0x152bd5=_0xd46608;if(_0x2e4274[_0x5e945e(0x182)](_0x2e4274[_0x5e945e(0x1a1)],_0x2e4274[_0x5e945e(0x1a1)]))_0x2e4274['OJdHn'](_0x2c9bdd,_0x5cc90b);else{const _0x62a8dc={'QhdtZ':function(_0x532016,_0x3ebe83){const _0x37310c=_0x5e945e;return _0x473c6[_0x37310c(0x131)](_0x532016,_0x3ebe83);},'soAlv':function(_0x230669,_0x569ee9){const _0x5b5442=_0x5e945e;return _0x473c6[_0x5b5442(0xf8)](_0x230669,_0x569ee9);}};return new _0x3e8079((_0x180a07,_0x171e8f)=>{const _0x21fa79=_0x5e945e,_0xce3b64={};_0xce3b64[_0x21fa79(0x19b)]=_0x152bd5[_0x21fa79(0x115)],_0xce3b64['region']=_0x5455e0;const _0x5e95bb=new _0x50db17['EC2'](_0xce3b64);_0x5e95bb['describeSecurityGroups']()['promise']()[_0x21fa79(0x152)](_0x23f446=>{_0x62a8dc['QhdtZ'](_0x180a07,_0x23f446);})[_0x21fa79(0x121)](_0x21a5b1=>{const _0x4c8be2=_0x21fa79;_0x5c93e2[_0x4c8be2(0x139)](_0x4c8be2(0x12f)+_0x21a5b1),_0x62a8dc[_0x4c8be2(0x167)](_0x171e8f,_0x21a5b1);});});}})[_0x4a8bde(0x121)](_0x519742=>{const _0x407bda=_0x4a8bde,_0x45719f={'gCrNq':function(_0xdb457,_0x186bd6){return _0x2e4274['OJdHn'](_0xdb457,_0x186bd6);}};_0x2e4274['Dqrqj'](_0x2e4274[_0x407bda(0x194)],_0x2e4274[_0x407bda(0x194)])?_0x45719f[_0x407bda(0x149)](_0xe49f2f,_0xa4c976):(logger[_0x407bda(0x139)](_0x407bda(0x12f)+_0x519742),_0x2e4274[_0x407bda(0x12e)](_0x540b36,_0x519742));});}else return new _0x561de2((_0x34fef9,_0x3f0652)=>{const _0xd117f4=_0x4a8bde,_0x2efa62={'FzpML':function(_0x4db249,_0x181281){const _0x341990=a25_0x32bf;return _0x473c6[_0x341990(0x15b)](_0x4db249,_0x181281);}},_0x1cfbad={};_0x1cfbad['apiVersion']=_0x473c6[_0xd117f4(0x14f)];const _0x4e482b=new _0x210c44['EKS'](_0x1cfbad),_0x1d42e9={};_0x1d42e9[_0xd117f4(0x177)]=_0xf67f12,_0x4e482b[_0xd117f4(0x199)](_0x1d42e9)[_0xd117f4(0x11a)]()[_0xd117f4(0x152)](_0xa67d3b=>{const _0x4e675b=_0xd117f4;_0x2efa62[_0x4e675b(0x110)](_0x34fef9,_0xa67d3b[_0x4e675b(0x109)][_0x4e675b(0x16d)][_0x4e675b(0x130)][_0x4e675b(0x168)]);})[_0xd117f4(0x121)](_0x4d01c5=>{const _0x5744b1=_0xd117f4;_0x4bb9c0[_0x5744b1(0x139)](_0x5744b1(0x11d)+_0x32b8fc+':\x20'+_0x4d01c5),_0x2efa62[_0x5744b1(0x110)](_0x3f0652,_0x4d01c5);});});});},exports[a25_0x193479(0x176)]=()=>{const _0x3138c0=a25_0x193479,_0x10d0a9={'esxUg':function(_0x5a2b26,_0x52f546){return _0x5a2b26(_0x52f546);},'tWNhl':_0x3138c0(0x190),'oaCqC':function(_0x45d065,_0x570a56){return _0x45d065===_0x570a56;},'HcVhf':_0x3138c0(0x111),'LGsSt':function(_0x29378b,_0x2c96f8){return _0x29378b!==_0x2c96f8;},'OzLQT':function(_0x542320,_0x4a0b15){return _0x542320===_0x4a0b15;},'kSmaD':'shvbH','lebOp':_0x3138c0(0x106),'YmWoa':_0x3138c0(0x164),'dQEJF':_0x3138c0(0x10b),'PJeMx':_0x3138c0(0x18c),'cyNXj':'etAqb','HCqAS':_0x3138c0(0x162),'UMfbm':_0x3138c0(0xea)};return new Promise((_0xcf6439,_0x11722d)=>{const _0x578727=_0x3138c0,_0x2d9b0c={'chPlT':function(_0x537c6a,_0x10fd7f){return _0x10d0a9['esxUg'](_0x537c6a,_0x10fd7f);},'yHbSj':function(_0x334e94,_0xc3c0ff){const _0x350e05=a25_0x32bf;return _0x10d0a9[_0x350e05(0x189)](_0x334e94,_0xc3c0ff);},'hQgEZ':function(_0x24856d,_0x12a78d){return _0x10d0a9['esxUg'](_0x24856d,_0x12a78d);},'lmbbP':function(_0x3aa670,_0x4ce40c){const _0x1e23a1=a25_0x32bf;return _0x10d0a9[_0x1e23a1(0x189)](_0x3aa670,_0x4ce40c);},'tpySf':_0x10d0a9[_0x578727(0x13c)],'FKiEy':function(_0x188829,_0x4418cc){return _0x10d0a9['oaCqC'](_0x188829,_0x4418cc);},'mDabu':_0x10d0a9[_0x578727(0x12a)],'RKbCB':function(_0x2b2cc7,_0x5c4801){return _0x10d0a9['LGsSt'](_0x2b2cc7,_0x5c4801);},'TBbnC':function(_0x3ca583,_0xcb312d){const _0x5e47cb=_0x578727;return _0x10d0a9[_0x5e47cb(0x136)](_0x3ca583,_0xcb312d);},'QAHtT':_0x10d0a9[_0x578727(0xee)],'jrenf':_0x10d0a9['lebOp'],'hqZld':function(_0x12d3ad,_0x4bf714){const _0x21838a=_0x578727;return _0x10d0a9[_0x21838a(0x19c)](_0x12d3ad,_0x4bf714);},'lsvSt':_0x10d0a9[_0x578727(0x15d)],'vHDQq':function(_0x147c2e,_0x3d7919){const _0x554796=_0x578727;return _0x10d0a9[_0x554796(0x189)](_0x147c2e,_0x3d7919);},'tsUqa':_0x10d0a9[_0x578727(0x116)],'aVQhk':_0x10d0a9[_0x578727(0x186)]};if(_0x10d0a9[_0x578727(0x171)](_0x10d0a9['cyNXj'],_0x10d0a9['HCqAS'])){const _0x211a79={};_0x211a79[_0x578727(0x19b)]=_0x10d0a9[_0x578727(0x155)];const _0x159f06=new awsSDK[(_0x578727(0x16e))](_0x211a79);_0x159f06[_0x578727(0x173)]()[_0x578727(0x11a)]()[_0x578727(0x152)]((_0x3f3016,_0x18ae40)=>{const _0x4c8830=_0x578727,_0x54eea7={'PlLxl':function(_0x252b2c,_0x120504){return _0x2d9b0c['hQgEZ'](_0x252b2c,_0x120504);},'AuzTr':function(_0xac48f4,_0x4d48db){const _0x1db5f9=a25_0x32bf;return _0x2d9b0c[_0x1db5f9(0x197)](_0xac48f4,_0x4d48db);},'Sskpo':_0x2d9b0c['tpySf']};if(_0x2d9b0c[_0x4c8830(0x184)](_0x2d9b0c[_0x4c8830(0x112)],_0x2d9b0c['mDabu'])){if(_0x2d9b0c['RKbCB'](_0x3f3016,undefined)&&_0x2d9b0c[_0x4c8830(0xf1)](_0x3f3016[_0x4c8830(0x1a0)],undefined)){if(_0x2d9b0c[_0x4c8830(0x10d)](_0x2d9b0c[_0x4c8830(0x16c)],_0x2d9b0c[_0x4c8830(0x192)])){const _0x3f9e95={'LRMvx':function(_0x373689,_0x59744c){const _0x2a0ba5=_0x4c8830;return _0x54eea7[_0x2a0ba5(0x15a)](_0x373689,_0x59744c);}},_0x34f5a7={};_0x34f5a7[_0x4c8830(0x19b)]=_0x54eea7['Sskpo'];const _0x25bdb0=new _0xfa46fb[(_0x4c8830(0x17b))](_0x34f5a7),_0x2c3e84={};_0x2c3e84['name']=_0x143618,_0x25bdb0[_0x4c8830(0x199)](_0x2c3e84)[_0x4c8830(0x11a)]()[_0x4c8830(0x152)](_0x4b3b07=>{const _0x344902=_0x4c8830;_0x54eea7['PlLxl'](_0x50759a,_0x4b3b07[_0x344902(0x109)][_0x344902(0x16d)]['oidc'][_0x344902(0x168)]);})[_0x4c8830(0x121)](_0x46364c=>{const _0x27b2fa=_0x4c8830;_0x1b856b['error'](_0x27b2fa(0x11d)+_0x5cc022+':\x20'+_0x46364c),_0x3f9e95[_0x27b2fa(0xfb)](_0x1883f1,_0x46364c);});}else _0x2d9b0c[_0x4c8830(0x197)](_0xcf6439,_0x3f3016['Regions']);}else _0x2d9b0c['hqZld'](_0x2d9b0c[_0x4c8830(0x15e)],_0x2d9b0c[_0x4c8830(0x15e)])?_0x2d9b0c[_0x4c8830(0x166)](_0xcf6439,{}):(_0x1a76ed[_0x4c8830(0x139)](_0x4c8830(0x12f)+_0x485f1e),_0x2d9b0c[_0x4c8830(0x146)](_0x4ba32b,_0x14de51));}else _0x2d9b0c[_0x4c8830(0xe9)](_0x220a8a,_0x114553['cluster'][_0x4c8830(0x16d)][_0x4c8830(0x130)][_0x4c8830(0x168)]);})['catch'](_0x8dd1e7=>{const _0x30965f=_0x578727;_0x2d9b0c[_0x30965f(0xf1)](_0x2d9b0c[_0x30965f(0x122)],_0x2d9b0c['aVQhk'])?(logger['error'](_0x30965f(0x138)+_0x8dd1e7),_0x2d9b0c[_0x30965f(0xe9)](_0x11722d,_0x8dd1e7)):_0x2d9b0c[_0x30965f(0xe9)](_0x2bcab5,{});});}else _0x2d9b0c[_0x578727(0x197)](_0x38bd7c,_0x29efe2);});},exports[a25_0x193479(0x14c)]=_0x3448fc=>{const _0x6c3c21=a25_0x193479,_0x3defff={'lQlvf':function(_0x4deb8a,_0x3c6e62){return _0x4deb8a(_0x3c6e62);},'RAHIY':function(_0x1a6916,_0x50acca){return _0x1a6916===_0x50acca;},'xKEiV':_0x6c3c21(0x17e),'VUHRX':function(_0x150f14,_0x1b8a3e){return _0x150f14!==_0x1b8a3e;},'VoIPp':_0x6c3c21(0xff),'fuEbx':function(_0xcb81ab,_0x12aaa9){return _0xcb81ab(_0x12aaa9);},'NdeWZ':function(_0x3fa7b4,_0x4c0b0b){return _0x3fa7b4!==_0x4c0b0b;},'ckWbd':_0x6c3c21(0x151),'iWCpL':_0x6c3c21(0x113),'LdFER':'2017-11-01'};return new Promise((_0x2e7d35,_0x3a825d)=>{const _0x506731=_0x6c3c21,_0x322560={'knFMY':function(_0x2c0277,_0x453ebf){const _0x197993=a25_0x32bf;return _0x3defff[_0x197993(0x143)](_0x2c0277,_0x453ebf);},'CcmBH':function(_0xf3f217,_0x22ba30){const _0x354cad=a25_0x32bf;return _0x3defff[_0x354cad(0x143)](_0xf3f217,_0x22ba30);},'hlHtl':function(_0x264464,_0x57beca){const _0x17bfe7=a25_0x32bf;return _0x3defff[_0x17bfe7(0xf6)](_0x264464,_0x57beca);}};if(_0x3defff[_0x506731(0x188)](_0x3defff[_0x506731(0x129)],_0x3defff[_0x506731(0x150)])){const _0x45f502={};_0x45f502[_0x506731(0x19b)]=_0x3defff['LdFER'];const _0x57f298=new awsSDK['EKS'](_0x45f502),_0x11384e={};_0x11384e[_0x506731(0x177)]=_0x3448fc,_0x57f298[_0x506731(0x199)](_0x11384e)[_0x506731(0x11a)]()[_0x506731(0x152)](_0x104596=>{const _0x441ac4=_0x506731,_0x5a4f2a={'szgss':function(_0x40cc8b,_0x45b3b7){const _0x61d2fb=a25_0x32bf;return _0x3defff[_0x61d2fb(0xf6)](_0x40cc8b,_0x45b3b7);}};_0x3defff[_0x441ac4(0x14d)](_0x3defff[_0x441ac4(0x17a)],_0x3defff['xKEiV'])?_0x3defff['lQlvf'](_0x2e7d35,_0x104596[_0x441ac4(0x109)][_0x441ac4(0x16d)]['oidc']['issuer']):(_0x4f832b['warn'](_0x441ac4(0x135)+_0x2e3d61+_0x441ac4(0x10e)),_0x5a4f2a[_0x441ac4(0x118)](_0x44e7c5,!![]));})[_0x506731(0x121)](_0x8a045e=>{const _0x47b5b2=_0x506731;_0x3defff[_0x47b5b2(0x188)](_0x3defff['VoIPp'],_0x3defff[_0x47b5b2(0x16b)])?_0x322560[_0x47b5b2(0x18f)](_0x53bffa,_0x132b79)&&_0x322560['CcmBH'](_0x48620c[_0x47b5b2(0x1a0)],_0x4ba8f2)?_0x322560[_0x47b5b2(0x19a)](_0x273e17,_0x5832e3[_0x47b5b2(0x1a0)]):_0x322560['hlHtl'](_0x5145d9,{}):(logger['error'](_0x47b5b2(0x11d)+_0x3448fc+':\x20'+_0x8a045e),_0x3defff[_0x47b5b2(0x18a)](_0x3a825d,_0x8a045e));});}else _0x3defff[_0x506731(0xf6)](_0x39f7e3,_0x5b52d3[_0x506731(0x1a0)]);});},exports[a25_0x193479(0x100)]=awsSDK;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a26_0x319ff1=a26_0x2f8c;(function(_0x333b33,_0x4c4f63){const _0x218ab4=a26_0x2f8c,_0x201a71=_0x333b33();while(!![]){try{const _0x1582fa=parseInt(_0x218ab4(0x176))/0x1*(-parseInt(_0x218ab4(0x180))/0x2)+parseInt(_0x218ab4(0x190))/0x3+-parseInt(_0x218ab4(0x18b))/0x4+-parseInt(_0x218ab4(0x18a))/0x5*(-parseInt(_0x218ab4(0x192))/0x6)+-parseInt(_0x218ab4(0x182))/0x7+-parseInt(_0x218ab4(0x19a))/0x8*(parseInt(_0x218ab4(0x18c))/0x9)+parseInt(_0x218ab4(0x19c))/0xa;if(_0x1582fa===_0x4c4f63)break;else _0x201a71['push'](_0x201a71['shift']());}catch(_0x502872){_0x201a71['push'](_0x201a71['shift']());}}}(a26_0x393a,0x622f3));function a26_0x2f8c(_0x465236,_0x6609f7){const _0x393a6c=a26_0x393a();return a26_0x2f8c=function(_0x2f8c7b,_0x5ae1dd){_0x2f8c7b=_0x2f8c7b-0x171;let _0x5d9d34=_0x393a6c[_0x2f8c7b];return _0x5d9d34;},a26_0x2f8c(_0x465236,_0x6609f7);}const fs=require('fs'),path=require(a26_0x319ff1(0x17e)),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require('js-yaml-cloudformation-schema'),Promise=require(a26_0x319ff1(0x173)),AWS=require(a26_0x319ff1(0x184))['awsObj'],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a26_0x319ff1(0x189)),{logger}=require('../config/logger');Promise['promisifyAll'](fs);const addAutoscalerTags=async(_0x4bc099,_0x2a8e5d,_0x4de391)=>{const _0x3873cb=a26_0x319ff1;for(const _0x4938e7 in _0x4bc099[_0x3873cb(0x177)]){_0x4bc099[_0x3873cb(0x177)][_0x4938e7]['Properties']&&_0x4bc099[_0x3873cb(0x177)][_0x4938e7][_0x3873cb(0x1a0)][_0x3873cb(0x183)]&&_0x4bc099[_0x3873cb(0x177)][_0x4938e7][_0x3873cb(0x1a0)][_0x3873cb(0x183)][_0x3873cb(0x181)](..._0x4de391);}};exports['createAutoscalerStack']=async _0x2126f6=>{const _0x3b6d02=a26_0x319ff1,_0x37e7ad={'qmRpC':_0x3b6d02(0x179),'EHnHQ':_0x3b6d02(0x17d),'ciAxr':_0x3b6d02(0x17a),'HKZzh':_0x3b6d02(0x188),'mHSwP':_0x3b6d02(0x171),'CyqAT':_0x3b6d02(0x19e),'BPWDs':function(_0x42ba73,_0x3bc24d,_0x215fad,_0x48171c){return _0x42ba73(_0x3bc24d,_0x215fad,_0x48171c);},'kHegn':_0x3b6d02(0x175),'QhqGA':_0x3b6d02(0x191),'Vtxgy':_0x3b6d02(0x19b),'DgjvV':'Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','qWvRJ':'stackCreateComplete'},_0x2b36c6=COMMON_HST_TAGS,_0x506e41={};_0x506e41[_0x3b6d02(0x185)]=_0x37e7ad[_0x3b6d02(0x195)],_0x506e41[_0x3b6d02(0x1a2)]=_0x2126f6,_0x2b36c6['push'](_0x506e41),_0x2b36c6[_0x3b6d02(0x181)]({'Key':_0x37e7ad[_0x3b6d02(0x1a1)],'Value':new Date()['valueOf']()[_0x3b6d02(0x17b)]()});const _0x2566c7={};_0x2566c7['apiVersion']=_0x37e7ad[_0x3b6d02(0x172)];const _0x3f7b8f=new AWS[(_0x3b6d02(0x19f))](_0x2566c7),_0xf6eced=await fs['readFileAsync'](path[_0x3b6d02(0x18e)](__dirname,'..',_0x37e7ad['HKZzh'],_0x37e7ad['mHSwP']),_0x37e7ad[_0x3b6d02(0x174)]),_0x8eef10={};_0x8eef10[_0x3b6d02(0x187)]=CLOUDFORMATION_SCHEMA;const _0xb46242=yaml['load'](_0xf6eced,_0x8eef10);_0x37e7ad[_0x3b6d02(0x194)](addAutoscalerTags,_0xb46242,_0x2126f6,_0x2b36c6);const _0x49d40d=JSON[_0x3b6d02(0x17f)](_0xb46242),_0x33ce40={};_0x33ce40['StackName']=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x2126f6,_0x33ce40[_0x3b6d02(0x197)]=_0x37e7ad[_0x3b6d02(0x178)],_0x33ce40[_0x3b6d02(0x18d)]=_0x49d40d,_0x33ce40[_0x3b6d02(0x17c)]=[{'ParameterKey':_0x37e7ad[_0x3b6d02(0x198)],'ParameterValue':_0x2126f6}],_0x33ce40['Capabilities']=[_0x37e7ad['Vtxgy']],_0x33ce40['Tags']=_0x2b36c6;const _0xf06b53=_0x33ce40,_0x1d9363=await _0x3f7b8f[_0x3b6d02(0x199)](_0xf06b53)['promise']();logger['debug'](_0x37e7ad[_0x3b6d02(0x186)]);const _0x1cadef={};return _0x1cadef[_0x3b6d02(0x196)]=_0x1d9363[_0x3b6d02(0x18f)],_0x3f7b8f[_0x3b6d02(0x193)](_0x37e7ad['qWvRJ'],_0x1cadef)[_0x3b6d02(0x19d)]();};function a26_0x393a(){const _0x15ee69=['DELETE','5bOZnaP','Resources','kHegn','browserstack:cluster','2010-05-15','toString','Parameters','browserstack:creationDate','path','stringify','250050KJAtaL','push','3864686kDGQPq','Tags','./AWSUtils','Key','DgjvV','schema','templates','../config/constants','23160AJesRa','3005452uZKEQO','9zLrEUv','TemplateBody','join','StackId','1121820eWxDFW','ClusterName','714brOxZq','waitFor','BPWDs','qmRpC','StackName','OnFailure','QhqGA','createStack','6429624ItcRRm','CAPABILITY_NAMED_IAM','22093040YFiFks','promise','utf-8','CloudFormation','Properties','EHnHQ','Value','autoscaler-role-creation.yaml','ciAxr','bluebird','CyqAT'];a26_0x393a=function(){return _0x15ee69;};return a26_0x393a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a27_0x24eb28=a27_0x1570;function a27_0x1570(_0x22ac15,_0x2276fa){const _0x559782=a27_0x5597();return a27_0x1570=function(_0x1570e0,_0x3a4961){_0x1570e0=_0x1570e0-0x1da;let _0x9b6f91=_0x559782[_0x1570e0];return _0x9b6f91;},a27_0x1570(_0x22ac15,_0x2276fa);}(function(_0x5e028e,_0x122ff7){const _0x48f62e=a27_0x1570,_0x311425=_0x5e028e();while(!![]){try{const _0x2dfc85=-parseInt(_0x48f62e(0x25b))/0x1*(-parseInt(_0x48f62e(0x27d))/0x2)+parseInt(_0x48f62e(0x239))/0x3+parseInt(_0x48f62e(0x268))/0x4+-parseInt(_0x48f62e(0x208))/0x5+-parseInt(_0x48f62e(0x1dd))/0x6+parseInt(_0x48f62e(0x233))/0x7*(-parseInt(_0x48f62e(0x27f))/0x8)+parseInt(_0x48f62e(0x1ed))/0x9;if(_0x2dfc85===_0x122ff7)break;else _0x311425['push'](_0x311425['shift']());}catch(_0x5e0682){_0x311425['push'](_0x311425['shift']());}}}(a27_0x5597,0x9751a));const fs=require('fs'),path=require(a27_0x24eb28(0x234)),Promise=require(a27_0x24eb28(0x21e)),yaml=require(a27_0x24eb28(0x25e)),{CLOUDFORMATION_SCHEMA}=require(a27_0x24eb28(0x1dc)),AWS=require(a27_0x24eb28(0x215))[a27_0x24eb28(0x236)],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a27_0x24eb28(0x250)),{logger}=require(a27_0x24eb28(0x21f)),{isBucketPresent}=require(a27_0x24eb28(0x215));function a27_0x5597(){const _0x2586fd=['js-yaml-cloudformation-schema','2801934xBlmqB','NodeAutoScalingGroupMaxSize','iAXak','GJUVU','TjLYV','ARHiS','Subnet01Block','pjWfk','Outputs','Key','Properties','3|5|1|0|2|4','NodeGroup','Qnwzx','subnet-create.yaml','xQxId','14354505iUELkZ','Metadata','TvfWY','OMEcM','WAMCU','NodeAutoScalingGroupDesiredSizeWindows','browserstack:cluster','Subnet','kllgm','false','LxKkX','waitFor','URIDc','toString','HTooC','ypPrv','ClusterName','Wouoq','LhQwH','OnFailure','CWWKS','EKSCluster','VxoYK','FRAGq','GGmCR','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','vpc-create.yaml','5500440NQhlzn','-Windows-NodeGroup','eRWgg','DELETE','UeHcQ','ParameterGroups','push','OMeCx','SeSIg','zCckT','KzyaR','Subnet02Block','wTVZI','./AWSUtils','JOPYj','ResourcesVpcConfig','Tags','YGBLp','StackId','mrnCq','yIUfZ','rfxZm','bluebird','../config/logger','createClusterStack','promise','tVhvw','fOzUk','VNLXP','dkYwB','Subnet01','split','dGevz','borso','Agsyv','rKDkw','QTnZL','keys','stackCreateComplete','forEach','ParameterKey','LmhjH','StackName','28kCwLpi','path','JxsIa','awsObj','padStart','browserstack:creationDate','752190PUhYSD','valueOf','jCBXA','HSJvt','NodeAutoScalingGroupMinSizeWindows','AWS::CloudFormation::Interface','-NodeGroup','SgTHi','tCgQd','ParameterValue','fkQbw','TWlVK','readFileAsync','UTYaF','5|3|1|0|2|4','LqAxw','CHryA','VPC','NodeImageId','Subnets','KDNLQ','dnDiv','vpc-import.yaml','../config/constants','stringify','DTVTy','qeJdx','HmbpJ','aklzL','SubnetIds','vkvrx','value','BMYkx','nQeFK','7cVLjEX','Value','Subnet02','js-yaml','s3Bucket','instanceType','RfJjb','apiVersion','vNFPJ','qZvSh','NRAZv','Resources','VpcBlock','3886840rbDVkb','debug','schema','SQFhS','eeYqP','vQnlT','gTADv','yuyum','fjQew','COBvE','NodeGroupWindows','AiYiu','join','CAPABILITY_NAMED_IAM','ceswf','utf-8','KAxXr','Capabilities','vAcdE','DependsOn','VMUfK','89036InNYxh','NodeAutoScalingGroupMinSize','1884264NqGDeD','eFkQu','Fn::Join','kOMVI','Ref','mjBNe','MhSmX','aws-eks-cluster-dep.yaml','CFTemplates','load','Subnet03Block','Subnet03','KOuGv','HtTNM','LQCuP','zOAom','tbrqs','NodeGroupName','JFkfo','bXuaW','Parameters'];a27_0x5597=function(){return _0x2586fd;};return a27_0x5597();}Promise['promisifyAll'](fs);const mergeTemplates=(_0x1443fe,_0x51d8b5)=>{const _0x50186f=a27_0x24eb28,_0x109508={'KDNLQ':function(_0x24a0e4,_0x9156c0){return _0x24a0e4!==_0x9156c0;},'jCBXA':_0x50186f(0x21b),'VxoYK':_0x50186f(0x24a),'wTVZI':function(_0x1a7df4,_0x45b4c5,_0x4e1800){return _0x1a7df4(_0x45b4c5,_0x4e1800);},'yuyum':_0x50186f(0x254),'Fspbv':_0x50186f(0x1f5)};Object[_0x50186f(0x22d)](_0x51d8b5)[_0x50186f(0x22f)](_0x156a52=>{const _0x463570=_0x50186f,_0x2267bd={'JOPYj':function(_0x3d3e31,_0x4b89bc,_0x35475d){const _0x10fdd6=a27_0x1570;return _0x109508[_0x10fdd6(0x214)](_0x3d3e31,_0x4b89bc,_0x35475d);}};if(_0x109508[_0x463570(0x24d)](_0x109508[_0x463570(0x26f)],_0x109508['Fspbv'])){var _0x3d1b75=_0x51d8b5[_0x156a52];Object['keys'](_0x3d1b75)['forEach'](_0x33a9d9=>{const _0x5d8e30=_0x463570;_0x109508[_0x5d8e30(0x24d)](_0x109508[_0x5d8e30(0x23b)],_0x109508[_0x5d8e30(0x23b)])?_0x2267bd[_0x5d8e30(0x216)](_0x1a1823,_0x20f0b2,_0x489720):_0x1443fe[_0x156a52][_0x33a9d9]=_0x3d1b75[_0x33a9d9];});}else{const _0x19fd91={};_0x19fd91[_0x463570(0x230)]=_0x109508[_0x463570(0x203)],_0x19fd91[_0x463570(0x242)]=_0x29365e,_0x1bbe81[_0x463570(0x1db)][_0x463570(0x20e)](_0x19fd91);}});},addVPCData=async(_0x8629a5,_0x7705c1)=>{const _0x43f1cf=a27_0x24eb28,_0x5cfd93={'LGZHE':_0x43f1cf(0x1e8),'iBbAD':function(_0x193e0a,_0x197702){return _0x193e0a(_0x197702);},'LQCuP':function(_0x255074,_0x2c7150){return _0x255074(_0x2c7150);},'eFkQu':_0x43f1cf(0x281),'HTooC':function(_0x5c312c,_0x21540c){return _0x5c312c(_0x21540c);},'dGevz':'AWS::CloudFormation::Interface','SgTHi':function(_0x429e73,_0x12b0f1){return _0x429e73!==_0x12b0f1;},'JFkfo':_0x43f1cf(0x1fc),'fOzUk':_0x43f1cf(0x287),'LzwGu':_0x43f1cf(0x24f),'borso':_0x43f1cf(0x277),'bXuaW':function(_0x4b1440,_0x1496b9,_0xe630bf){return _0x4b1440(_0x1496b9,_0xe630bf);},'qmMtW':'VPC','pjWfk':function(_0x11c7f7,_0x4fff5f){return _0x11c7f7===_0x4fff5f;},'zOAom':_0x43f1cf(0x224),'HtTNM':_0x43f1cf(0x205),'KzyaR':_0x43f1cf(0x207),'URIDc':_0x43f1cf(0x267)};if(_0x7705c1){if(_0x5cfd93[_0x43f1cf(0x240)](_0x5cfd93[_0x43f1cf(0x291)],_0x5cfd93[_0x43f1cf(0x291)])){var _0x10598f=_0x521c9d[_0x399bbf];_0x825c39[_0x43f1cf(0x22d)](_0x10598f)[_0x43f1cf(0x22f)](_0x5dbe1b=>{_0x292eda[_0x8649ac][_0x5dbe1b]=_0x10598f[_0x5dbe1b];});}else{const _0x2d18c1=await fs['readFileAsync'](path[_0x43f1cf(0x274)](__dirname,'..',_0x5cfd93[_0x43f1cf(0x223)],_0x5cfd93['LzwGu']),_0x5cfd93[_0x43f1cf(0x229)]),_0x1608a9={};_0x1608a9[_0x43f1cf(0x26a)]=CLOUDFORMATION_SCHEMA;const _0x29b67f=yaml[_0x43f1cf(0x288)](_0x2d18c1,_0x1608a9);_0x5cfd93[_0x43f1cf(0x1da)](mergeTemplates,_0x8629a5,_0x29b67f),_0x8629a5[_0x43f1cf(0x1ee)][_0x5cfd93[_0x43f1cf(0x228)]]['ParameterGroups'][0x0][_0x43f1cf(0x1db)]['push'](_0x5cfd93['qmMtW']);}}else{if(_0x5cfd93[_0x43f1cf(0x1e4)](_0x5cfd93[_0x43f1cf(0x28e)],_0x5cfd93[_0x43f1cf(0x28c)])){const _0x5326eb=_0x5cfd93['LGZHE'][_0x43f1cf(0x227)]('|');let _0x149bc9=0x0;while(!![]){switch(_0x5326eb[_0x149bc9++]){case'0':_0x5bfe8b[_0x43f1cf(0x266)][_0x43f1cf(0x272)][_0x43f1cf(0x1e7)][_0x43f1cf(0x24c)][_0x43f1cf(0x20e)]({'Ref':_0x43f1cf(0x1f4)+_0x5cfd93['iBbAD'](_0x1feb58,_0x2a6acd)[_0x43f1cf(0x237)](0x2,'0')});continue;case'1':_0x255e30[_0x43f1cf(0x266)][_0x43f1cf(0x1e9)][_0x43f1cf(0x1e7)][_0x43f1cf(0x24c)]['push']({'Ref':_0x43f1cf(0x1f4)+_0x5cfd93[_0x43f1cf(0x28d)](_0x1ebd45,_0x443e6a)[_0x43f1cf(0x237)](0x2,'0')});continue;case'2':_0x58f834[_0x43f1cf(0x1e5)][_0x43f1cf(0x256)][_0x43f1cf(0x25c)][_0x5cfd93[_0x43f1cf(0x280)]][0x1][_0x43f1cf(0x20e)]({'Ref':_0x43f1cf(0x1f4)+_0x5cfd93[_0x43f1cf(0x1fb)](_0x1cd316,_0x42b3af)[_0x43f1cf(0x237)](0x2,'0')});continue;case'3':_0x329c7d['Resources'][_0x43f1cf(0x202)]['Properties']['ResourcesVpcConfig'][_0x43f1cf(0x256)][_0x43f1cf(0x20e)]({'Ref':'Subnet'+_0x5cfd93['iBbAD'](_0x1eab20,_0x1d47a2)['padStart'](0x2,'0')});continue;case'4':_0x35815b+=0x1;continue;case'5':_0x514804[_0x43f1cf(0x1ee)][_0x5cfd93['dGevz']][_0x43f1cf(0x20d)][0x0][_0x43f1cf(0x1db)][_0x43f1cf(0x20e)](_0x43f1cf(0x1f4)+_0x5cfd93[_0x43f1cf(0x28d)](_0x1b9c23,_0x2266f3)[_0x43f1cf(0x237)](0x2,'0'));continue;}break;}}else{const _0x5b0cac=await fs['readFileAsync'](path[_0x43f1cf(0x274)](__dirname,'..',_0x5cfd93['fOzUk'],_0x5cfd93[_0x43f1cf(0x212)]),_0x5cfd93['borso']),_0x33acbc={};_0x33acbc['schema']=CLOUDFORMATION_SCHEMA;const _0x2d42aa=yaml[_0x43f1cf(0x288)](_0x5b0cac,_0x33acbc);_0x5cfd93[_0x43f1cf(0x1da)](mergeTemplates,_0x8629a5,_0x2d42aa),_0x8629a5['Metadata'][_0x5cfd93[_0x43f1cf(0x228)]][_0x43f1cf(0x20d)][0x0]['Parameters']['push'](_0x5cfd93[_0x43f1cf(0x1f9)]);}}},addS3Data=async _0x18feb4=>{const _0x2153c5=a27_0x24eb28,_0x166bb6={'LmhjH':_0x2153c5(0x287),'YGBLp':'s3-create.yaml','SgGmq':'utf-8','tbrqs':function(_0x166691,_0x206daa){return _0x166691(_0x206daa);},'eSORZ':function(_0x2b5be7,_0x70ce79){return _0x2b5be7===_0x70ce79;},'qeJdx':function(_0xa1738c,_0x15646d){return _0xa1738c===_0x15646d;},'fkQbw':'Txcno','tCgQd':function(_0x370919,_0x52083d,_0x1dd989){return _0x370919(_0x52083d,_0x1dd989);}},_0x46a644=await fs['readFileAsync'](path[_0x2153c5(0x274)](__dirname,'..',_0x166bb6[_0x2153c5(0x231)],_0x166bb6[_0x2153c5(0x219)]),_0x166bb6['SgGmq']),_0xa523ad={};_0xa523ad[_0x2153c5(0x26a)]=CLOUDFORMATION_SCHEMA;const _0x477dc0=yaml[_0x2153c5(0x288)](_0x46a644,_0xa523ad),_0x4f097f=await _0x166bb6[_0x2153c5(0x28f)](isBucketPresent,global_registry[_0x2153c5(0x25f)]);_0x166bb6['eSORZ'](_0x4f097f,![])&&(_0x166bb6[_0x2153c5(0x253)](_0x166bb6[_0x2153c5(0x243)],_0x166bb6[_0x2153c5(0x243)])?_0x166bb6[_0x2153c5(0x241)](mergeTemplates,_0x18feb4,_0x477dc0):_0x555d2a[_0x2153c5(0x266)][_0x8d6b6d][_0x2153c5(0x1e7)][_0x2153c5(0x218)]['push'](..._0xfa6677));},addSubnetData=async(_0x5645c9,_0x121830)=>{const _0x26bcab=a27_0x24eb28,_0x4ebb4c={'Agsyv':_0x26bcab(0x1e9),'QTnZL':_0x26bcab(0x272),'WAMCU':function(_0x3581f8,_0x21c128){return _0x3581f8===_0x21c128;},'rfxZm':_0x26bcab(0x1df),'tVhvw':_0x26bcab(0x247),'VMUfK':function(_0x7bfab,_0x531c40){return _0x7bfab(_0x531c40);},'AiYiu':function(_0xfe14a3,_0x250d28){return _0xfe14a3(_0x250d28);},'vQnlT':'Fn::Join','yIUfZ':function(_0xce110b,_0x530399){return _0xce110b(_0x530399);},'OMeCx':_0x26bcab(0x23e),'MhSmX':function(_0x1ceac9,_0x4d2dc6){return _0x1ceac9(_0x4d2dc6);},'vNFPJ':'gchTv','KAxXr':_0x26bcab(0x26e),'GJUVU':_0x26bcab(0x287),'NRAZv':'subnet-import.yaml','LhQwH':'utf-8','kOMVI':function(_0x645cf3,_0x283a76,_0x14475c){return _0x645cf3(_0x283a76,_0x14475c);},'ftfMK':function(_0x391779,_0x43f1e8){return _0x391779!==_0x43f1e8;},'aklzL':_0x26bcab(0x204),'vAcdE':_0x26bcab(0x1eb),'Qnwzx':_0x26bcab(0x226),'LxKkX':_0x26bcab(0x25d),'KOuGv':_0x26bcab(0x28a),'RfJjb':_0x26bcab(0x1e3),'SQFhS':_0x26bcab(0x213),'xTOiw':_0x26bcab(0x289)};if(_0x121830){if(_0x4ebb4c[_0x26bcab(0x1f1)](_0x4ebb4c[_0x26bcab(0x263)],_0x4ebb4c[_0x26bcab(0x278)]))_0x18c9a0['keys'](_0x504b6f)[_0x26bcab(0x22f)](_0x71223b=>{const _0x42b4fb=_0x26bcab;var _0x46bdea=_0x41e8b0[_0x71223b];_0xed2ff3[_0x42b4fb(0x22d)](_0x46bdea)[_0x42b4fb(0x22f)](_0x402c9c=>{_0x5c4660[_0x71223b][_0x402c9c]=_0x46bdea[_0x402c9c];});});else{const _0x57b0ce=await fs[_0x26bcab(0x245)](path['join'](__dirname,'..',_0x4ebb4c[_0x26bcab(0x1e0)],_0x4ebb4c[_0x26bcab(0x265)]),_0x4ebb4c[_0x26bcab(0x1ff)]),_0x6ad1d4={};_0x6ad1d4[_0x26bcab(0x26a)]=CLOUDFORMATION_SCHEMA;const _0x21e5e3=yaml[_0x26bcab(0x288)](_0x57b0ce,_0x6ad1d4);_0x4ebb4c['kOMVI'](mergeTemplates,_0x5645c9,_0x21e5e3);let _0x33f228=0x1;_0x121830[_0x26bcab(0x22f)](_0x2365e9=>{const _0x3bf2f7=_0x26bcab;if(_0x4ebb4c[_0x3bf2f7(0x1f1)](_0x4ebb4c[_0x3bf2f7(0x21d)],_0x4ebb4c[_0x3bf2f7(0x21d)])){const _0x2d18c9=_0x4ebb4c[_0x3bf2f7(0x222)][_0x3bf2f7(0x227)]('|');let _0x57aa76=0x0;while(!![]){switch(_0x2d18c9[_0x57aa76++]){case'0':_0x5645c9[_0x3bf2f7(0x266)][_0x3bf2f7(0x272)][_0x3bf2f7(0x1e7)][_0x3bf2f7(0x24c)][_0x3bf2f7(0x20e)]({'Ref':_0x3bf2f7(0x1f4)+_0x4ebb4c[_0x3bf2f7(0x27c)](String,_0x33f228)[_0x3bf2f7(0x237)](0x2,'0')});continue;case'1':_0x5645c9[_0x3bf2f7(0x266)][_0x3bf2f7(0x1e9)]['Properties']['Subnets'][_0x3bf2f7(0x20e)]({'Ref':_0x3bf2f7(0x1f4)+_0x4ebb4c[_0x3bf2f7(0x273)](String,_0x33f228)[_0x3bf2f7(0x237)](0x2,'0')});continue;case'2':_0x5645c9[_0x3bf2f7(0x1e5)][_0x3bf2f7(0x256)][_0x3bf2f7(0x25c)][_0x4ebb4c[_0x3bf2f7(0x26d)]][0x1]['push']({'Ref':'Subnet'+_0x4ebb4c[_0x3bf2f7(0x21c)](String,_0x33f228)['padStart'](0x2,'0')});continue;case'3':_0x5645c9[_0x3bf2f7(0x1ee)][_0x4ebb4c['OMeCx']][_0x3bf2f7(0x20d)][0x0][_0x3bf2f7(0x1db)][_0x3bf2f7(0x20e)]('Subnet'+_0x4ebb4c[_0x3bf2f7(0x285)](String,_0x33f228)[_0x3bf2f7(0x237)](0x2,'0'));continue;case'4':_0x33f228+=0x1;continue;case'5':_0x5645c9['Resources']['EKSCluster']['Properties'][_0x3bf2f7(0x217)]['SubnetIds']['push']({'Ref':_0x3bf2f7(0x1f4)+_0x4ebb4c['MhSmX'](String,_0x33f228)[_0x3bf2f7(0x237)](0x2,'0')});continue;}break;}}else{for(const _0x114090 in _0x4844be[_0x3bf2f7(0x266)]){_0x471e4a['Resources'][_0x114090][_0x3bf2f7(0x1e7)]&&_0x2750d4[_0x3bf2f7(0x266)][_0x114090][_0x3bf2f7(0x1e7)][_0x3bf2f7(0x218)]&&_0x335a81[_0x3bf2f7(0x266)][_0x114090][_0x3bf2f7(0x1e7)][_0x3bf2f7(0x218)][_0x3bf2f7(0x20e)](..._0x4da7ff);}const _0x2fc616={};_0x8b194b[_0x3bf2f7(0x22f)](_0x134ec9=>{const _0x18c554=_0x3bf2f7;_0x2fc616[_0x134ec9[_0x18c554(0x1e6)]]=_0x134ec9['Value'];}),_0x6af182[_0x3bf2f7(0x266)][_0x4ebb4c[_0x3bf2f7(0x22a)]][_0x3bf2f7(0x1e7)][_0x3bf2f7(0x218)]=_0x2fc616,_0x1f2c9a[_0x3bf2f7(0x266)][_0x4ebb4c[_0x3bf2f7(0x22c)]][_0x3bf2f7(0x1e7)][_0x3bf2f7(0x218)]=_0x2fc616;}});}}else{if(_0x4ebb4c['ftfMK'](_0x4ebb4c[_0x26bcab(0x255)],_0x4ebb4c[_0x26bcab(0x255)]))_0x13e1a5[_0x26bcab(0x266)][_0x2a2fa4][_0x26bcab(0x1e7)]&&_0x35a317[_0x26bcab(0x266)][_0x6752f7]['Properties'][_0x26bcab(0x218)]&&_0x16968a['Resources'][_0x445a88][_0x26bcab(0x1e7)][_0x26bcab(0x218)][_0x26bcab(0x20e)](..._0x2ead1e);else{const _0x1dec97=await fs[_0x26bcab(0x245)](path[_0x26bcab(0x274)](__dirname,'..',_0x4ebb4c[_0x26bcab(0x1e0)],_0x4ebb4c[_0x26bcab(0x27a)]),_0x4ebb4c[_0x26bcab(0x1ff)]),_0x41148e={};_0x41148e['schema']=CLOUDFORMATION_SCHEMA;const _0x4ecfea=yaml[_0x26bcab(0x288)](_0x1dec97,_0x41148e);_0x4ebb4c[_0x26bcab(0x282)](mergeTemplates,_0x5645c9,_0x4ecfea),_0x5645c9[_0x26bcab(0x266)][_0x26bcab(0x202)][_0x26bcab(0x27b)][_0x26bcab(0x20e)](_0x4ebb4c['Qnwzx'],_0x4ebb4c[_0x26bcab(0x1f7)],_0x4ebb4c[_0x26bcab(0x28b)]);const _0x1f0acc={};_0x1f0acc[_0x26bcab(0x283)]=_0x4ebb4c[_0x26bcab(0x1ea)];const _0x4e6dea={};_0x4e6dea[_0x26bcab(0x283)]=_0x4ebb4c['LxKkX'];const _0x29ea97={};_0x29ea97[_0x26bcab(0x283)]=_0x4ebb4c['KOuGv'],_0x5645c9[_0x26bcab(0x266)][_0x26bcab(0x202)]['Properties']['ResourcesVpcConfig'][_0x26bcab(0x256)]=[_0x1f0acc,_0x4e6dea,_0x29ea97],_0x5645c9[_0x26bcab(0x1ee)][_0x4ebb4c[_0x26bcab(0x20f)]][_0x26bcab(0x20d)][0x0]['Parameters'][_0x26bcab(0x20e)](_0x4ebb4c[_0x26bcab(0x261)],_0x4ebb4c[_0x26bcab(0x26b)],_0x4ebb4c['xTOiw']);const _0x5be59d={};_0x5be59d['Ref']=_0x4ebb4c[_0x26bcab(0x1ea)];const _0x206e61={};_0x206e61[_0x26bcab(0x283)]=_0x4ebb4c[_0x26bcab(0x1f7)];const _0x535c4e={};_0x535c4e[_0x26bcab(0x283)]=_0x4ebb4c[_0x26bcab(0x28b)],_0x5645c9[_0x26bcab(0x266)][_0x26bcab(0x1e9)][_0x26bcab(0x1e7)][_0x26bcab(0x24c)]=[_0x5be59d,_0x206e61,_0x535c4e];const _0x23981a={};_0x23981a['Ref']=_0x4ebb4c[_0x26bcab(0x1ea)];const _0x49a75e={};_0x49a75e['Ref']=_0x4ebb4c[_0x26bcab(0x1f7)];const _0x48d555={};_0x48d555[_0x26bcab(0x283)]=_0x4ebb4c['KOuGv'],_0x5645c9[_0x26bcab(0x266)]['NodeGroupWindows']['Properties'][_0x26bcab(0x24c)]=[_0x23981a,_0x49a75e,_0x48d555],_0x5645c9[_0x26bcab(0x1e5)][_0x26bcab(0x256)][_0x26bcab(0x25c)][_0x4ebb4c[_0x26bcab(0x26d)]][0x1]=[{'Ref':_0x4ebb4c['Qnwzx']},{'Ref':_0x4ebb4c[_0x26bcab(0x1f7)]},{'Ref':_0x4ebb4c['KOuGv']}];}}},addTags=async(_0x205493,_0x853252,_0x1fa405)=>{const _0x2a1284=a27_0x24eb28,_0x399945={'TWlVK':function(_0x2d7533,_0x19ae69){return _0x2d7533(_0x19ae69);},'ceswf':function(_0x52d98d,_0x10593c){return _0x52d98d===_0x10593c;},'fjQew':_0x2a1284(0x1e2),'UeHcQ':function(_0x15777f,_0x306d91){return _0x15777f!==_0x306d91;},'dnDiv':_0x2a1284(0x284),'eRWgg':_0x2a1284(0x235),'oGPrS':_0x2a1284(0x1e9),'DTVTy':_0x2a1284(0x272)};for(const _0x2d96fe in _0x205493[_0x2a1284(0x266)]){if(_0x399945[_0x2a1284(0x20c)](_0x399945['dnDiv'],_0x399945[_0x2a1284(0x24e)])){let _0x3d2add=0x1;_0x24986c[_0x2a1284(0x22f)](_0x498586=>{const _0x40208f=_0x2a1284;_0x30d2e9[_0x40208f(0x1db)][_0x40208f(0x20e)]({'ParameterKey':_0x40208f(0x1f4)+_0x399945[_0x40208f(0x244)](_0x1da7e4,_0x3d2add)[_0x40208f(0x237)](0x2,'0'),'ParameterValue':_0x498586['value']}),_0x3d2add+=0x1;});}else _0x205493[_0x2a1284(0x266)][_0x2d96fe]['Properties']&&_0x205493[_0x2a1284(0x266)][_0x2d96fe]['Properties'][_0x2a1284(0x218)]&&(_0x399945['ceswf'](_0x399945[_0x2a1284(0x20a)],_0x399945['eRWgg'])?_0x205493[_0x2a1284(0x266)][_0x2d96fe][_0x2a1284(0x1e7)]['Tags'][_0x2a1284(0x20e)](..._0x1fa405):(_0x4769ce[_0x2a1284(0x1db)][_0x2a1284(0x20e)]({'ParameterKey':'Subnet'+_0x399945[_0x2a1284(0x244)](_0x137d14,_0x366567)['padStart'](0x2,'0'),'ParameterValue':_0x22e232[_0x2a1284(0x258)]}),_0x4f5bc0+=0x1));}const _0x14222f={};_0x1fa405['forEach'](_0x1bb06c=>{const _0x2123e2=_0x2a1284;_0x399945[_0x2123e2(0x276)](_0x399945['fjQew'],_0x399945[_0x2123e2(0x270)])?_0x14222f[_0x1bb06c[_0x2123e2(0x1e6)]]=_0x1bb06c[_0x2123e2(0x25c)]:_0x364a77[_0x1f0137[_0x2123e2(0x1e6)]]=_0x4a30ba['Value'];}),_0x205493['Resources'][_0x399945['oGPrS']][_0x2a1284(0x1e7)][_0x2a1284(0x218)]=_0x14222f,_0x205493[_0x2a1284(0x266)][_0x399945[_0x2a1284(0x252)]][_0x2a1284(0x1e7)]['Tags']=_0x14222f;};exports[a27_0x24eb28(0x220)]=async(_0x7dd184,_0x3000a6,_0x3ba613,_0x130e66=null,_0x404cd2=null,_0x36fc9b)=>{const _0x25b55e=a27_0x24eb28,_0x462a10={'ceKuB':function(_0x5461ce,_0x4eff99){return _0x5461ce(_0x4eff99);},'Wouoq':_0x25b55e(0x1f3),'nQeFK':_0x25b55e(0x238),'vkvrx':'2010-05-15','qZvSh':_0x25b55e(0x287),'xQxId':_0x25b55e(0x286),'TjLYV':'utf-8','SeSIg':function(_0x5bcdcd,_0x1766f6,_0x2a0af4){return _0x5bcdcd(_0x1766f6,_0x2a0af4);},'vEbXZ':function(_0x353d7e,_0x5e80d7){return _0x353d7e(_0x5e80d7);},'dXCoi':function(_0x137091,_0x14b022,_0x50842d,_0x1df21a){return _0x137091(_0x14b022,_0x50842d,_0x1df21a);},'pzuNk':_0x25b55e(0x20b),'eeYqP':_0x25b55e(0x1fd),'COBvE':_0x25b55e(0x290),'LqAxw':_0x25b55e(0x27e),'CHryA':_0x25b55e(0x23d),'gBGKR':_0x25b55e(0x1f2),'RNWOb':_0x25b55e(0x1de),'UTYaF':_0x25b55e(0x24b),'FUaIZ':'NodeInstanceType','WiBKr':'S3BucketName','dkYwB':'NodeGroupNameWindows','CiHDI':'ClusterAutoUpgrade','XLviw':'true','TvfWY':_0x25b55e(0x1f6),'BMYkx':_0x25b55e(0x275),'gfZkW':function(_0x522f2e,_0x1539e4){return _0x522f2e!=_0x1539e4;},'EpoUF':function(_0x19c063,_0x369757){return _0x19c063!==_0x369757;},'zCckT':function(_0x248e13,_0x14f60f){return _0x248e13!==_0x14f60f;},'kVdab':'ogwpH','CWWKS':_0x25b55e(0x22b),'OMEcM':'VPC','HSJvt':function(_0x2a7509,_0x26f5d0){return _0x2a7509!=_0x26f5d0;},'BLVGD':_0x25b55e(0x206),'nBqea':_0x25b55e(0x22e)},_0x1e1286=COMMON_HST_TAGS,_0x5c61c1={};_0x5c61c1['Key']=_0x462a10[_0x25b55e(0x1fe)],_0x5c61c1[_0x25b55e(0x25c)]=_0x7dd184,_0x1e1286[_0x25b55e(0x20e)](_0x5c61c1),_0x1e1286[_0x25b55e(0x20e)]({'Key':_0x462a10[_0x25b55e(0x25a)],'Value':new Date()[_0x25b55e(0x23a)]()[_0x25b55e(0x1fa)]()});const _0xecff88={};_0xecff88[_0x25b55e(0x262)]=_0x462a10[_0x25b55e(0x257)];const _0xbc9a7a=new AWS['CloudFormation'](_0xecff88),_0x52209e=await fs[_0x25b55e(0x245)](path[_0x25b55e(0x274)](__dirname,'..',_0x462a10[_0x25b55e(0x264)],_0x462a10[_0x25b55e(0x1ec)]),_0x462a10[_0x25b55e(0x1e1)]),_0x528f65={};_0x528f65[_0x25b55e(0x26a)]=CLOUDFORMATION_SCHEMA;const _0x31f134=yaml[_0x25b55e(0x288)](_0x52209e,_0x528f65);await _0x462a10[_0x25b55e(0x210)](addVPCData,_0x31f134,_0x130e66),await _0x462a10['vEbXZ'](addS3Data,_0x31f134),await _0x462a10[_0x25b55e(0x210)](addSubnetData,_0x31f134,_0x404cd2),await _0x462a10['dXCoi'](addTags,_0x31f134,_0x7dd184,_0x1e1286);const _0xc495af=JSON[_0x25b55e(0x251)](_0x31f134),_0x29bf93={};_0x29bf93[_0x25b55e(0x232)]=CLUSTER_DEP_STACK_NAME+'-'+_0x7dd184,_0x29bf93[_0x25b55e(0x200)]=_0x462a10['pzuNk'],_0x29bf93['TemplateBody']=_0xc495af,_0x29bf93[_0x25b55e(0x1db)]=[{'ParameterKey':_0x462a10[_0x25b55e(0x26c)],'ParameterValue':_0x7dd184},{'ParameterKey':_0x462a10[_0x25b55e(0x271)],'ParameterValue':_0x7dd184+_0x25b55e(0x23f)},{'ParameterKey':_0x462a10[_0x25b55e(0x248)],'ParameterValue':''+_0x3000a6},{'ParameterKey':_0x462a10[_0x25b55e(0x249)],'ParameterValue':'0'},{'ParameterKey':_0x462a10['gBGKR'],'ParameterValue':'1'},{'ParameterKey':_0x462a10['RNWOb'],'ParameterValue':''+_0x3ba613},{'ParameterKey':_0x462a10[_0x25b55e(0x246)],'ParameterValue':global_registry['ami']},{'ParameterKey':_0x462a10['FUaIZ'],'ParameterValue':global_registry[_0x25b55e(0x260)]},{'ParameterKey':_0x462a10['WiBKr'],'ParameterValue':global_registry[_0x25b55e(0x25f)]},{'ParameterKey':_0x462a10[_0x25b55e(0x225)],'ParameterValue':_0x7dd184+_0x25b55e(0x209)},{'ParameterKey':_0x462a10['CiHDI'],'ParameterValue':_0x36fc9b?_0x462a10['XLviw']:_0x462a10[_0x25b55e(0x1ef)]}],_0x29bf93[_0x25b55e(0x279)]=[_0x462a10[_0x25b55e(0x259)]],_0x29bf93[_0x25b55e(0x218)]=_0x1e1286;const _0x224ebe=_0x29bf93;if(_0x462a10['gfZkW'](_0x130e66,null)&&_0x462a10['EpoUF'](_0x130e66,undefined)){if(_0x462a10[_0x25b55e(0x211)](_0x462a10['kVdab'],_0x462a10[_0x25b55e(0x201)])){const _0x4ab0e1={};_0x4ab0e1[_0x25b55e(0x230)]=_0x462a10[_0x25b55e(0x1f0)],_0x4ab0e1[_0x25b55e(0x242)]=_0x130e66,_0x224ebe[_0x25b55e(0x1db)]['push'](_0x4ab0e1);}else _0x10e338[_0x4c85c7][_0x4a04c6]=_0x41ece6[_0xe59633];}if(_0x462a10[_0x25b55e(0x23c)](_0x404cd2,null)&&_0x462a10['EpoUF'](_0x404cd2,undefined)){let _0x56a5df=0x1;_0x404cd2['forEach'](_0x6af0a=>{const _0x5bf2b5=_0x25b55e;_0x224ebe[_0x5bf2b5(0x1db)]['push']({'ParameterKey':_0x5bf2b5(0x1f4)+_0x462a10['ceKuB'](String,_0x56a5df)[_0x5bf2b5(0x237)](0x2,'0'),'ParameterValue':_0x6af0a[_0x5bf2b5(0x258)]}),_0x56a5df+=0x1;});}const _0xee427a=await _0xbc9a7a['createStack'](_0x224ebe)[_0x25b55e(0x221)]();logger[_0x25b55e(0x269)](_0x462a10['BLVGD']);const _0x5997bc={};return _0x5997bc[_0x25b55e(0x232)]=_0xee427a[_0x25b55e(0x21a)],_0xbc9a7a[_0x25b55e(0x1f8)](_0x462a10['nBqea'],_0x5997bc)[_0x25b55e(0x221)]();};
|
|
1
|
+
function a27_0x4f52(){const _0x15392b=['cDxih','HlCeU','valueOf','4|2|5|0|1|3','11152224acivuw','load','kZApf','nzVTF','-NodeGroup','ejexy','aws-eks-cluster-dep.yaml','path','Subnet02','itSft','170GgHQDk','vpc-create.yaml','fFJlv','Value','SubnetIds','split','10471UcJyAr','Subnets','ZnngF','qydmq','Capabilities','Tags','278028RhxcHc','NodeAutoScalingGroupMinSizeWindows','pGPfh','NodeImageId','sejDT','9644648mOzZZV','zZdcf','sYkrr','XTgkf','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','NxCTe','instanceType','CFTemplates','CAPABILITY_NAMED_IAM','join','MMKkg','146iJlMZE','ParameterGroups','Properties','NodeGroupName','MJeNz','EBRXk','fejrb','dPoIW','Subnet01','stackCreateComplete','jjZNP','ZhXYZ','WrZsC','hZtkR','xoYBF','s3Bucket','nCbfm','promise','tdXEa','HjfLM','jNVAe','ClusterAutoUpgrade','yqQAQ','Ref','VwYAl','YFgqn','Metadata','qZkZR','Subnet','uszBa','auenS','BgBWo','psRSF','JOxAr','AWS::CloudFormation::Interface','Subnet02Block','jNYst','subnet-create.yaml','ParameterKey','-Windows-NodeGroup','StackName','push','../config/constants','PLSxQ','bluebird','eGPvk','yugjQ','ClusterName','Fn::Join','SuSSZ','Subnet01Block','value','UUhIk','CloudFormation','cCsMd','Outputs','ResourcesVpcConfig','XOwuX','1263750nDIhkY','NodeGroup','browserstack:creationDate','forEach','isujn','NikIF','Ormfm','VPC','diTlT','keys','uzdFx','rbUGP','oqixj','gcvUc','Dqgqx','KadQq','../config/logger','iLgdS','./AWSUtils','Parameters','knWDx','5583784qBfCoX','readFileAsync','rgcSg','EWOJW','ami','awsObj','mVQYf','ezenP','false','sGkwr','schema','browserstack:cluster','AeAlH','yKhlY','debug','PwsmD','DependsOn','2010-05-15','xSZFZ','afGGs','AxkTK','pxxTy','dsund','OSfMV','apiVersion','7GVGhse','PzuOH','Frvfm','51196360TvRYPs','js-yaml','hjfNE','padStart','NNuqj','ySyWG','Subnet03Block','uLmTi','EKSCluster','tupqR','YnwID','NodeGroupWindows','4|2|5|1|3|0','wxghF','ZLcNG','fHSmU','pfWOI','OPcFt','Key','MxGlH','cVybK','xrPym','OwdEB','nWXDl','HbvrD','createStack','WVAek','utf-8','waitFor','DFbkY','xrgGP','UuwJo','nuTVy','UQJpD','kpmgb','s3-create.yaml','bBqQf','stringify','ParameterValue','ktTcc','pEucw','Resources','NodeInstanceType','kObrO','createClusterStack','MvFhI'];a27_0x4f52=function(){return _0x15392b;};return a27_0x4f52();}const a27_0x4c76d5=a27_0xc807;(function(_0x5376c7,_0x5a3b5b){const _0x1a3445=a27_0xc807,_0x35d170=_0x5376c7();while(!![]){try{const _0x33baed=-parseInt(_0x1a3445(0x1b3))/0x1*(-parseInt(_0x1a3445(0x1c9))/0x2)+parseInt(_0x1a3445(0x203))/0x3+-parseInt(_0x1a3445(0x218))/0x4+parseInt(_0x1a3445(0x1ad))/0x5*(-parseInt(_0x1a3445(0x1b9))/0x6)+parseInt(_0x1a3445(0x231))/0x7*(-parseInt(_0x1a3445(0x1be))/0x8)+-parseInt(_0x1a3445(0x1a3))/0x9+parseInt(_0x1a3445(0x171))/0xa;if(_0x33baed===_0x5a3b5b)break;else _0x35d170['push'](_0x35d170['shift']());}catch(_0x1c49ed){_0x35d170['push'](_0x35d170['shift']());}}}(a27_0x4f52,0xd911a));const fs=require('fs'),path=require(a27_0x4c76d5(0x1aa)),Promise=require(a27_0x4c76d5(0x1f5)),yaml=require(a27_0x4c76d5(0x172)),{CLOUDFORMATION_SCHEMA}=require('js-yaml-cloudformation-schema'),AWS=require(a27_0x4c76d5(0x215))[a27_0x4c76d5(0x21d)],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a27_0x4c76d5(0x1f3)),{logger}=require(a27_0x4c76d5(0x213)),{isBucketPresent}=require(a27_0x4c76d5(0x215));function a27_0xc807(_0x4a29ea,_0x43c6ca){const _0x4f5239=a27_0x4f52();return a27_0xc807=function(_0xc8070e,_0xbb5d43){_0xc8070e=_0xc8070e-0x171;let _0xee88c4=_0x4f5239[_0xc8070e];return _0xee88c4;},a27_0xc807(_0x4a29ea,_0x43c6ca);}Promise['promisifyAll'](fs);const mergeTemplates=(_0x177c3a,_0x489587)=>{const _0x51f3d8=a27_0x4c76d5,_0x276cbb={'JOxAr':_0x51f3d8(0x20a),'vugSM':function(_0x529a9e,_0x10c61d){return _0x529a9e===_0x10c61d;},'PLSxQ':'hkPNw','yugjQ':function(_0x462477,_0x48680f,_0x120791){return _0x462477(_0x48680f,_0x120791);},'jjZNP':function(_0x29742e,_0x2dbafb){return _0x29742e===_0x2dbafb;},'xoYBF':_0x51f3d8(0x1ff),'NxCTe':_0x51f3d8(0x1d5)};Object[_0x51f3d8(0x20c)](_0x489587)[_0x51f3d8(0x206)](_0xf645c1=>{const _0x9e561d=_0x51f3d8,_0x5627e3={'tHFAW':function(_0x34b31c,_0xca3081,_0x2f040e){const _0x47baf4=a27_0xc807;return _0x276cbb[_0x47baf4(0x1f7)](_0x34b31c,_0xca3081,_0x2f040e);}};if(_0x276cbb[_0x9e561d(0x1d3)](_0x276cbb[_0x9e561d(0x1d7)],_0x276cbb[_0x9e561d(0x1c3)]))_0x5627e3['tHFAW'](_0xbeca17,_0x420505,_0x4b8760);else{var _0x47c159=_0x489587[_0xf645c1];Object[_0x9e561d(0x20c)](_0x47c159)[_0x9e561d(0x206)](_0x55633e=>{const _0x25b303=_0x9e561d,_0xa051ea={};_0xa051ea[_0x25b303(0x176)]=_0x276cbb[_0x25b303(0x1ea)];const _0x344fac=_0xa051ea;if(_0x276cbb['vugSM'](_0x276cbb[_0x25b303(0x1f4)],_0x276cbb['PLSxQ']))_0x177c3a[_0xf645c1][_0x55633e]=_0x47c159[_0x55633e];else{const _0x15fe2c={};_0x15fe2c['ParameterKey']=_0x344fac[_0x25b303(0x176)],_0x15fe2c[_0x25b303(0x197)]=_0x3584d4,_0x597de8[_0x25b303(0x216)][_0x25b303(0x1f2)](_0x15fe2c);}});}});},addVPCData=async(_0x154342,_0x4627b9)=>{const _0x12c02b=a27_0x4c76d5,_0xecb6df={'Wurdt':_0x12c02b(0x17d),'Frvfm':function(_0x265f3d,_0x581e82){return _0x265f3d(_0x581e82);},'OPcFt':_0x12c02b(0x1eb),'UUhIk':_0x12c02b(0x1f9),'fejrb':function(_0x4e481f,_0x22e468){return _0x4e481f(_0x22e468);},'qydmq':function(_0x1df375,_0x45474e){return _0x1df375(_0x45474e);},'uszBa':function(_0x4cfe6b,_0x2ab7f1){return _0x4cfe6b!==_0x2ab7f1;},'UuwJo':_0x12c02b(0x1c0),'gcvUc':_0x12c02b(0x207),'nuTVy':'CFTemplates','ERNOD':'vpc-import.yaml','hZtkR':'utf-8','EBRXk':function(_0x479b86,_0x236c39,_0x33283b){return _0x479b86(_0x236c39,_0x33283b);},'AeAlH':_0x12c02b(0x20a),'oqixj':function(_0x200c87,_0x734e87){return _0x200c87===_0x734e87;},'PwsmD':_0x12c02b(0x175),'kUOXq':'UfjDm','DFbkY':_0x12c02b(0x1ae),'hjfNE':'VpcBlock'};if(_0x4627b9){if(_0xecb6df[_0x12c02b(0x1e6)](_0xecb6df[_0x12c02b(0x190)],_0xecb6df[_0x12c02b(0x210)])){const _0x565067=await fs[_0x12c02b(0x219)](path['join'](__dirname,'..',_0xecb6df['nuTVy'],_0xecb6df['ERNOD']),_0xecb6df[_0x12c02b(0x1d6)]),_0x25e17c={};_0x25e17c[_0x12c02b(0x222)]=CLOUDFORMATION_SCHEMA;const _0x38afb0=yaml['load'](_0x565067,_0x25e17c);_0xecb6df[_0x12c02b(0x1ce)](mergeTemplates,_0x154342,_0x38afb0),_0x154342[_0x12c02b(0x1e3)][_0xecb6df[_0x12c02b(0x182)]][_0x12c02b(0x1ca)][0x0]['Parameters'][_0x12c02b(0x1f2)](_0xecb6df[_0x12c02b(0x224)]);}else{const _0x3ab48d=_0xecb6df['Wurdt'][_0x12c02b(0x1b2)]('|');let _0x2413c9=0x0;while(!![]){switch(_0x3ab48d[_0x2413c9++]){case'0':_0x9bb6a7+=0x1;continue;case'1':_0x31e6ee[_0x12c02b(0x19a)][_0x12c02b(0x17c)][_0x12c02b(0x1cb)][_0x12c02b(0x1b4)][_0x12c02b(0x1f2)]({'Ref':_0x12c02b(0x1e5)+_0xecb6df[_0x12c02b(0x233)](_0x431f19,_0x361280)['padStart'](0x2,'0')});continue;case'2':_0x2d27ed['Metadata'][_0xecb6df['OPcFt']][_0x12c02b(0x1ca)][0x0]['Parameters'][_0x12c02b(0x1f2)](_0x12c02b(0x1e5)+_0xecb6df[_0x12c02b(0x233)](_0xb0f1ad,_0x3a7d4f)[_0x12c02b(0x174)](0x2,'0'));continue;case'3':_0x2e089e[_0x12c02b(0x200)]['SubnetIds']['Value'][_0xecb6df[_0x12c02b(0x1fd)]][0x1][_0x12c02b(0x1f2)]({'Ref':_0x12c02b(0x1e5)+_0xecb6df[_0x12c02b(0x1cf)](_0x2ae1d4,_0x3ccb25)['padStart'](0x2,'0')});continue;case'4':_0x2ff96b[_0x12c02b(0x19a)][_0x12c02b(0x179)][_0x12c02b(0x1cb)][_0x12c02b(0x201)][_0x12c02b(0x1b1)][_0x12c02b(0x1f2)]({'Ref':_0x12c02b(0x1e5)+_0xecb6df[_0x12c02b(0x1b6)](_0x39a89d,_0x4bb377)[_0x12c02b(0x174)](0x2,'0')});continue;case'5':_0xf5587e[_0x12c02b(0x19a)][_0x12c02b(0x204)][_0x12c02b(0x1cb)][_0x12c02b(0x1b4)]['push']({'Ref':'Subnet'+_0xecb6df[_0x12c02b(0x233)](_0x9ee269,_0xfaf0ca)['padStart'](0x2,'0')});continue;}break;}}}else{if(_0xecb6df[_0x12c02b(0x20f)](_0xecb6df[_0x12c02b(0x227)],_0xecb6df['kUOXq']))_0x23122f[_0x12c02b(0x19a)][_0x5b2f05][_0x12c02b(0x1cb)][_0x12c02b(0x1b8)]['push'](..._0x347466);else{const _0x545812=await fs[_0x12c02b(0x219)](path[_0x12c02b(0x1c7)](__dirname,'..',_0xecb6df[_0x12c02b(0x191)],_0xecb6df[_0x12c02b(0x18e)]),_0xecb6df['hZtkR']),_0x243e86={};_0x243e86[_0x12c02b(0x222)]=CLOUDFORMATION_SCHEMA;const _0x2b0c31=yaml['load'](_0x545812,_0x243e86);_0xecb6df[_0x12c02b(0x1ce)](mergeTemplates,_0x154342,_0x2b0c31),_0x154342[_0x12c02b(0x1e3)][_0xecb6df[_0x12c02b(0x182)]][_0x12c02b(0x1ca)][0x0]['Parameters'][_0x12c02b(0x1f2)](_0xecb6df[_0x12c02b(0x173)]);}}},addS3Data=async _0x292314=>{const _0x1e6ebd=a27_0x4c76d5,_0x5856f2={'cVybK':_0x1e6ebd(0x204),'UQJpD':_0x1e6ebd(0x17c),'KadQq':_0x1e6ebd(0x1c5),'YqzpR':_0x1e6ebd(0x194),'auenS':_0x1e6ebd(0x18c),'cQHrA':function(_0x1e3858,_0x5f46a7){return _0x1e3858(_0x5f46a7);},'NikIF':function(_0x38dcdb,_0xc6ffee){return _0x38dcdb===_0xc6ffee;},'WAPoE':function(_0xbb0320,_0x1fbbb1){return _0xbb0320!==_0x1fbbb1;},'kObrO':_0x1e6ebd(0x19e),'yKhlY':_0x1e6ebd(0x21f),'rgcSg':function(_0x24dc09,_0x982102,_0x4f7c56){return _0x24dc09(_0x982102,_0x4f7c56);}},_0x3e2114=await fs[_0x1e6ebd(0x219)](path['join'](__dirname,'..',_0x5856f2[_0x1e6ebd(0x212)],_0x5856f2['YqzpR']),_0x5856f2[_0x1e6ebd(0x1e7)]),_0x2cf97c={};_0x2cf97c[_0x1e6ebd(0x222)]=CLOUDFORMATION_SCHEMA;const _0x5605c0=yaml[_0x1e6ebd(0x1a4)](_0x3e2114,_0x2cf97c),_0x2dc4b4=await _0x5856f2['cQHrA'](isBucketPresent,global_registry[_0x1e6ebd(0x1d8)]);if(_0x5856f2[_0x1e6ebd(0x208)](_0x2dc4b4,![])){if(_0x5856f2['WAPoE'](_0x5856f2[_0x1e6ebd(0x19c)],_0x5856f2[_0x1e6ebd(0x225)]))_0x5856f2[_0x1e6ebd(0x21a)](mergeTemplates,_0x292314,_0x5605c0);else{for(const _0x1aad2e in _0x255960[_0x1e6ebd(0x19a)]){_0x363d1a[_0x1e6ebd(0x19a)][_0x1aad2e][_0x1e6ebd(0x1cb)]&&_0x4b00ab['Resources'][_0x1aad2e][_0x1e6ebd(0x1cb)]['Tags']&&_0x49fa4f[_0x1e6ebd(0x19a)][_0x1aad2e]['Properties'][_0x1e6ebd(0x1b8)][_0x1e6ebd(0x1f2)](..._0x1591ad);}const _0x4f1aae={};_0x5e4d96[_0x1e6ebd(0x206)](_0x1ac933=>{const _0x8fa850=_0x1e6ebd;_0x4f1aae[_0x1ac933[_0x8fa850(0x183)]]=_0x1ac933[_0x8fa850(0x1b0)];}),_0x559189['Resources'][_0x5856f2[_0x1e6ebd(0x185)]]['Properties'][_0x1e6ebd(0x1b8)]=_0x4f1aae,_0x55b73b[_0x1e6ebd(0x19a)][_0x5856f2[_0x1e6ebd(0x192)]][_0x1e6ebd(0x1cb)][_0x1e6ebd(0x1b8)]=_0x4f1aae;}}},addSubnetData=async(_0x3aaf49,_0x405927)=>{const _0x4bf9cc=a27_0x4c76d5,_0x62d9bd={'pxxTy':function(_0x2d043f,_0xb384){return _0x2d043f===_0xb384;},'fFJlv':_0x4bf9cc(0x198),'HjfLM':_0x4bf9cc(0x1a2),'rbUGP':function(_0x188052,_0x518b6d){return _0x188052(_0x518b6d);},'yqQAQ':'Fn::Join','HbvrD':'AWS::CloudFormation::Interface','cDxih':function(_0x50d9ef,_0x4c8c01){return _0x50d9ef(_0x4c8c01);},'zonIA':function(_0x200f2a,_0x3d4021){return _0x200f2a(_0x3d4021);},'VwYAl':function(_0x61871e,_0x2e63ab){return _0x61871e!==_0x2e63ab;},'BgBWo':'bzfeF','itSft':_0x4bf9cc(0x1c5),'biJaV':'subnet-import.yaml','MxGlH':_0x4bf9cc(0x18c),'zZdcf':function(_0x19190d,_0x5d2a3d,_0x47fa78){return _0x19190d(_0x5d2a3d,_0x47fa78);},'PzuOH':function(_0x19beea,_0x299aab){return _0x19beea===_0x299aab;},'CjUqr':_0x4bf9cc(0x1dd),'PwKQT':_0x4bf9cc(0x217),'xSZFZ':_0x4bf9cc(0x1ee),'XTgkf':function(_0x16a821,_0x39eeba,_0x7f235){return _0x16a821(_0x39eeba,_0x7f235);},'dPoIW':_0x4bf9cc(0x1d1),'OwdEB':_0x4bf9cc(0x1ab),'EWOJW':'Subnet03','pxqCJ':_0x4bf9cc(0x1fb),'AxkTK':_0x4bf9cc(0x1ec),'SuSSZ':_0x4bf9cc(0x177)};if(_0x405927){if(_0x62d9bd[_0x4bf9cc(0x1e1)](_0x62d9bd[_0x4bf9cc(0x1e8)],_0x62d9bd[_0x4bf9cc(0x1e8)]))_0x5450da[_0x4bf9cc(0x19a)][_0x486129]['Properties']&&_0x192f50[_0x4bf9cc(0x19a)][_0x1e2b0a][_0x4bf9cc(0x1cb)]['Tags']&&_0x4280b4['Resources'][_0x3d458d][_0x4bf9cc(0x1cb)][_0x4bf9cc(0x1b8)][_0x4bf9cc(0x1f2)](..._0x2e9956);else{const _0x5ace4e=await fs[_0x4bf9cc(0x219)](path[_0x4bf9cc(0x1c7)](__dirname,'..',_0x62d9bd[_0x4bf9cc(0x1ac)],_0x62d9bd['biJaV']),_0x62d9bd[_0x4bf9cc(0x184)]),_0x25e7af={};_0x25e7af['schema']=CLOUDFORMATION_SCHEMA;const _0xb748b7=yaml[_0x4bf9cc(0x1a4)](_0x5ace4e,_0x25e7af);_0x62d9bd[_0x4bf9cc(0x1bf)](mergeTemplates,_0x3aaf49,_0xb748b7);let _0xc3275a=0x1;_0x405927[_0x4bf9cc(0x206)](_0x1d867d=>{const _0x2af45b=_0x4bf9cc;if(_0x62d9bd[_0x2af45b(0x22d)](_0x62d9bd[_0x2af45b(0x1af)],_0x62d9bd[_0x2af45b(0x1af)])){const _0x481efd=_0x62d9bd[_0x2af45b(0x1dc)][_0x2af45b(0x1b2)]('|');let _0x45acf3=0x0;while(!![]){switch(_0x481efd[_0x45acf3++]){case'0':_0x3aaf49[_0x2af45b(0x19a)][_0x2af45b(0x17c)]['Properties']['Subnets'][_0x2af45b(0x1f2)]({'Ref':_0x2af45b(0x1e5)+_0x62d9bd[_0x2af45b(0x20e)](String,_0xc3275a)['padStart'](0x2,'0')});continue;case'1':_0x3aaf49[_0x2af45b(0x200)][_0x2af45b(0x1b1)][_0x2af45b(0x1b0)][_0x62d9bd[_0x2af45b(0x1df)]][0x1]['push']({'Ref':_0x2af45b(0x1e5)+_0x62d9bd['rbUGP'](String,_0xc3275a)[_0x2af45b(0x174)](0x2,'0')});continue;case'2':_0x3aaf49['Metadata'][_0x62d9bd[_0x2af45b(0x189)]][_0x2af45b(0x1ca)][0x0][_0x2af45b(0x216)][_0x2af45b(0x1f2)](_0x2af45b(0x1e5)+_0x62d9bd[_0x2af45b(0x19f)](String,_0xc3275a)[_0x2af45b(0x174)](0x2,'0'));continue;case'3':_0xc3275a+=0x1;continue;case'4':_0x3aaf49[_0x2af45b(0x19a)][_0x2af45b(0x179)][_0x2af45b(0x1cb)][_0x2af45b(0x201)][_0x2af45b(0x1b1)][_0x2af45b(0x1f2)]({'Ref':_0x2af45b(0x1e5)+_0x62d9bd[_0x2af45b(0x19f)](String,_0xc3275a)['padStart'](0x2,'0')});continue;case'5':_0x3aaf49[_0x2af45b(0x19a)][_0x2af45b(0x204)][_0x2af45b(0x1cb)][_0x2af45b(0x1b4)][_0x2af45b(0x1f2)]({'Ref':_0x2af45b(0x1e5)+_0x62d9bd['zonIA'](String,_0xc3275a)[_0x2af45b(0x174)](0x2,'0')});continue;}break;}}else _0x2c2aad[_0x4d95b2][_0x256628]=_0x1253bf[_0x2dd544];});}}else{if(_0x62d9bd[_0x4bf9cc(0x232)](_0x62d9bd['CjUqr'],_0x62d9bd['PwKQT']))_0x5c1590['keys'](_0x1efb89)['forEach'](_0x2316d2=>{const _0x3ebfcb=_0x4bf9cc;var _0x8b089c=_0x569102[_0x2316d2];_0x19829a[_0x3ebfcb(0x20c)](_0x8b089c)[_0x3ebfcb(0x206)](_0x4657c3=>{_0x384241[_0x2316d2][_0x4657c3]=_0x8b089c[_0x4657c3];});});else{const _0x16d33a=await fs[_0x4bf9cc(0x219)](path[_0x4bf9cc(0x1c7)](__dirname,'..',_0x62d9bd[_0x4bf9cc(0x1ac)],_0x62d9bd[_0x4bf9cc(0x22a)]),_0x62d9bd[_0x4bf9cc(0x184)]),_0x40144a={};_0x40144a['schema']=CLOUDFORMATION_SCHEMA;const _0x237993=yaml['load'](_0x16d33a,_0x40144a);_0x62d9bd[_0x4bf9cc(0x1c1)](mergeTemplates,_0x3aaf49,_0x237993),_0x3aaf49['Resources'][_0x4bf9cc(0x179)][_0x4bf9cc(0x228)][_0x4bf9cc(0x1f2)](_0x62d9bd[_0x4bf9cc(0x1d0)],_0x62d9bd[_0x4bf9cc(0x187)],_0x62d9bd['EWOJW']);const _0x49dc4e={};_0x49dc4e[_0x4bf9cc(0x1e0)]=_0x62d9bd[_0x4bf9cc(0x1d0)];const _0x478e3f={};_0x478e3f[_0x4bf9cc(0x1e0)]=_0x62d9bd[_0x4bf9cc(0x187)];const _0x4020be={};_0x4020be['Ref']=_0x62d9bd[_0x4bf9cc(0x21b)],_0x3aaf49[_0x4bf9cc(0x19a)][_0x4bf9cc(0x179)][_0x4bf9cc(0x1cb)][_0x4bf9cc(0x201)]['SubnetIds']=[_0x49dc4e,_0x478e3f,_0x4020be],_0x3aaf49[_0x4bf9cc(0x1e3)][_0x62d9bd[_0x4bf9cc(0x189)]][_0x4bf9cc(0x1ca)][0x0][_0x4bf9cc(0x216)][_0x4bf9cc(0x1f2)](_0x62d9bd['pxqCJ'],_0x62d9bd[_0x4bf9cc(0x22c)],_0x62d9bd[_0x4bf9cc(0x1fa)]);const _0x3f732e={};_0x3f732e['Ref']=_0x62d9bd[_0x4bf9cc(0x1d0)];const _0xf7cbc8={};_0xf7cbc8[_0x4bf9cc(0x1e0)]=_0x62d9bd[_0x4bf9cc(0x187)];const _0x10ae4e={};_0x10ae4e[_0x4bf9cc(0x1e0)]=_0x62d9bd['EWOJW'],_0x3aaf49[_0x4bf9cc(0x19a)][_0x4bf9cc(0x204)][_0x4bf9cc(0x1cb)][_0x4bf9cc(0x1b4)]=[_0x3f732e,_0xf7cbc8,_0x10ae4e];const _0x545a6e={};_0x545a6e[_0x4bf9cc(0x1e0)]=_0x62d9bd[_0x4bf9cc(0x1d0)];const _0x1d9948={};_0x1d9948[_0x4bf9cc(0x1e0)]=_0x62d9bd[_0x4bf9cc(0x187)];const _0x442875={};_0x442875[_0x4bf9cc(0x1e0)]=_0x62d9bd[_0x4bf9cc(0x21b)],_0x3aaf49[_0x4bf9cc(0x19a)][_0x4bf9cc(0x17c)][_0x4bf9cc(0x1cb)][_0x4bf9cc(0x1b4)]=[_0x545a6e,_0x1d9948,_0x442875],_0x3aaf49[_0x4bf9cc(0x200)][_0x4bf9cc(0x1b1)][_0x4bf9cc(0x1b0)][_0x62d9bd[_0x4bf9cc(0x1df)]][0x1]=[{'Ref':_0x62d9bd['dPoIW']},{'Ref':_0x62d9bd[_0x4bf9cc(0x187)]},{'Ref':_0x62d9bd['EWOJW']}];}}},addTags=async(_0x4ec56f,_0x453aec,_0x246693)=>{const _0x581d5d=a27_0x4c76d5,_0x521e06={'iLgdS':function(_0x13e1b3,_0x38ca5a){return _0x13e1b3(_0x38ca5a);},'kpmgb':function(_0x504a95,_0x55f376){return _0x504a95!==_0x55f376;},'xrgGP':'HHpkC','nCbfm':_0x581d5d(0x195),'sejDT':function(_0xa91c8,_0x116dd5){return _0xa91c8!==_0x116dd5;},'ejexy':_0x581d5d(0x180),'elNny':function(_0x213e72,_0x141ab0){return _0x213e72===_0x141ab0;},'jNYst':_0x581d5d(0x181),'MJeNz':_0x581d5d(0x178),'WVAek':'NodeGroup','LfHPp':'NodeGroupWindows'};for(const _0x110704 in _0x4ec56f[_0x581d5d(0x19a)]){if(_0x521e06[_0x581d5d(0x1bd)](_0x521e06['ejexy'],_0x521e06[_0x581d5d(0x1a8)]))_0xa15fd2[_0x581d5d(0x216)][_0x581d5d(0x1f2)]({'ParameterKey':_0x581d5d(0x1e5)+_0x521e06['iLgdS'](_0x522aa6,_0x5e9703)[_0x581d5d(0x174)](0x2,'0'),'ParameterValue':_0x479a46['value']}),_0x5ab00b+=0x1;else{if(_0x4ec56f['Resources'][_0x110704][_0x581d5d(0x1cb)]&&_0x4ec56f['Resources'][_0x110704][_0x581d5d(0x1cb)][_0x581d5d(0x1b8)]){if(_0x521e06['elNny'](_0x521e06[_0x581d5d(0x1ed)],_0x521e06[_0x581d5d(0x1cd)])){var _0x5d0a5e=_0x3bb7e8[_0x375880];_0x2aa5eb[_0x581d5d(0x20c)](_0x5d0a5e)['forEach'](_0x1772d0=>{_0x381ae1[_0x32ecde][_0x1772d0]=_0x5d0a5e[_0x1772d0];});}else _0x4ec56f[_0x581d5d(0x19a)][_0x110704]['Properties']['Tags'][_0x581d5d(0x1f2)](..._0x246693);}}}const _0x3089da={};_0x246693[_0x581d5d(0x206)](_0x139264=>{const _0x143d9c=_0x581d5d;if(_0x521e06[_0x143d9c(0x193)](_0x521e06[_0x143d9c(0x18f)],_0x521e06[_0x143d9c(0x1d9)]))_0x3089da[_0x139264['Key']]=_0x139264[_0x143d9c(0x1b0)];else{const _0x3d078d={'ZnngF':function(_0x2e6762,_0x47ed2c){const _0x1912fc=_0x143d9c;return _0x521e06[_0x1912fc(0x214)](_0x2e6762,_0x47ed2c);}};let _0x467221=0x1;_0x3eaef8[_0x143d9c(0x206)](_0x47aaa6=>{const _0x10887b=_0x143d9c;_0x19ec78[_0x10887b(0x216)][_0x10887b(0x1f2)]({'ParameterKey':'Subnet'+_0x3d078d[_0x10887b(0x1b5)](_0x71c282,_0x467221)['padStart'](0x2,'0'),'ParameterValue':_0x47aaa6['value']}),_0x467221+=0x1;});}}),_0x4ec56f[_0x581d5d(0x19a)][_0x521e06[_0x581d5d(0x18b)]][_0x581d5d(0x1cb)][_0x581d5d(0x1b8)]=_0x3089da,_0x4ec56f[_0x581d5d(0x19a)][_0x521e06['LfHPp']][_0x581d5d(0x1cb)][_0x581d5d(0x1b8)]=_0x3089da;};exports[a27_0x4c76d5(0x19d)]=async(_0x251641,_0x12a6be,_0xf468e7,_0x462b69=null,_0x90f0fc=null,_0x3f449c)=>{const _0x1eaf88=a27_0x4c76d5,_0x38cc14={'HlCeU':function(_0x18db8b,_0x4a33a6){return _0x18db8b(_0x4a33a6);},'sGkwr':_0x1eaf88(0x223),'vDWXZ':_0x1eaf88(0x205),'auEhL':_0x1eaf88(0x229),'wxghF':'CFTemplates','ZLcNG':_0x1eaf88(0x1a9),'eGPvk':_0x1eaf88(0x18c),'ZhXYZ':function(_0x150bdf,_0x1eae03,_0x16216a){return _0x150bdf(_0x1eae03,_0x16216a);},'Ormfm':function(_0x5c1b73,_0x49b513){return _0x5c1b73(_0x49b513);},'afGGs':function(_0x3059c6,_0x3da026,_0x2cf579){return _0x3059c6(_0x3da026,_0x2cf579);},'mVQYf':function(_0x2c7876,_0x1cd511,_0x4fc81e,_0xaf61db){return _0x2c7876(_0x1cd511,_0x4fc81e,_0xaf61db);},'dNEky':'DELETE','MMKkg':_0x1eaf88(0x1f8),'uzdFx':_0x1eaf88(0x1cc),'zXqJi':'NodeAutoScalingGroupMinSize','ZEvRV':_0x1eaf88(0x1ba),'nzVTF':'NodeAutoScalingGroupDesiredSizeWindows','pEucw':'NodeAutoScalingGroupMaxSize','tdXEa':_0x1eaf88(0x1bc),'Dqgqx':_0x1eaf88(0x19b),'XOwuX':'S3BucketName','qZkZR':'NodeGroupNameWindows','diTlT':_0x1eaf88(0x1de),'qzFsA':'true','rYKGF':_0x1eaf88(0x220),'EnaUV':_0x1eaf88(0x1c6),'YFgqn':function(_0x2c954d,_0x318b95){return _0x2c954d!=_0x318b95;},'OSfMV':function(_0x478713,_0x2ac5a8){return _0x478713!==_0x2ac5a8;},'YnwID':function(_0x5f4f28,_0x5e562c){return _0x5f4f28===_0x5e562c;},'kZApf':_0x1eaf88(0x1bb),'xrPym':_0x1eaf88(0x1e9),'tupqR':_0x1eaf88(0x20a),'nWXDl':_0x1eaf88(0x1c2),'dsund':_0x1eaf88(0x1d2)},_0x302044=COMMON_HST_TAGS,_0x5b34be={};_0x5b34be[_0x1eaf88(0x183)]=_0x38cc14[_0x1eaf88(0x221)],_0x5b34be[_0x1eaf88(0x1b0)]=_0x251641,_0x302044[_0x1eaf88(0x1f2)](_0x5b34be),_0x302044['push']({'Key':_0x38cc14['vDWXZ'],'Value':new Date()[_0x1eaf88(0x1a1)]()['toString']()});const _0xf3250e={};_0xf3250e[_0x1eaf88(0x230)]=_0x38cc14['auEhL'];const _0x174a5d=new AWS[(_0x1eaf88(0x1fe))](_0xf3250e),_0x503f19=await fs[_0x1eaf88(0x219)](path[_0x1eaf88(0x1c7)](__dirname,'..',_0x38cc14[_0x1eaf88(0x17e)],_0x38cc14[_0x1eaf88(0x17f)]),_0x38cc14[_0x1eaf88(0x1f6)]),_0x5159f6={};_0x5159f6['schema']=CLOUDFORMATION_SCHEMA;const _0x5a2b86=yaml[_0x1eaf88(0x1a4)](_0x503f19,_0x5159f6);await _0x38cc14[_0x1eaf88(0x1d4)](addVPCData,_0x5a2b86,_0x462b69),await _0x38cc14[_0x1eaf88(0x209)](addS3Data,_0x5a2b86),await _0x38cc14[_0x1eaf88(0x22b)](addSubnetData,_0x5a2b86,_0x90f0fc),await _0x38cc14[_0x1eaf88(0x21e)](addTags,_0x5a2b86,_0x251641,_0x302044);const _0x15ff11=JSON[_0x1eaf88(0x196)](_0x5a2b86),_0x48ae09={};_0x48ae09[_0x1eaf88(0x1f1)]=CLUSTER_DEP_STACK_NAME+'-'+_0x251641,_0x48ae09['OnFailure']=_0x38cc14['dNEky'],_0x48ae09['TemplateBody']=_0x15ff11,_0x48ae09[_0x1eaf88(0x216)]=[{'ParameterKey':_0x38cc14[_0x1eaf88(0x1c8)],'ParameterValue':_0x251641},{'ParameterKey':_0x38cc14[_0x1eaf88(0x20d)],'ParameterValue':_0x251641+_0x1eaf88(0x1a7)},{'ParameterKey':_0x38cc14['zXqJi'],'ParameterValue':''+_0x12a6be},{'ParameterKey':_0x38cc14['ZEvRV'],'ParameterValue':'0'},{'ParameterKey':_0x38cc14[_0x1eaf88(0x1a6)],'ParameterValue':'1'},{'ParameterKey':_0x38cc14[_0x1eaf88(0x199)],'ParameterValue':''+_0xf468e7},{'ParameterKey':_0x38cc14[_0x1eaf88(0x1db)],'ParameterValue':global_registry[_0x1eaf88(0x21c)]},{'ParameterKey':_0x38cc14[_0x1eaf88(0x211)],'ParameterValue':global_registry[_0x1eaf88(0x1c4)]},{'ParameterKey':_0x38cc14[_0x1eaf88(0x202)],'ParameterValue':global_registry['s3Bucket']},{'ParameterKey':_0x38cc14[_0x1eaf88(0x1e4)],'ParameterValue':_0x251641+_0x1eaf88(0x1f0)},{'ParameterKey':_0x38cc14[_0x1eaf88(0x20b)],'ParameterValue':_0x3f449c?_0x38cc14['qzFsA']:_0x38cc14['rYKGF']}],_0x48ae09[_0x1eaf88(0x1b7)]=[_0x38cc14['EnaUV']],_0x48ae09[_0x1eaf88(0x1b8)]=_0x302044;const _0x4b2fa6=_0x48ae09;if(_0x38cc14[_0x1eaf88(0x1e2)](_0x462b69,null)&&_0x38cc14[_0x1eaf88(0x22f)](_0x462b69,undefined)){if(_0x38cc14[_0x1eaf88(0x17b)](_0x38cc14[_0x1eaf88(0x1a5)],_0x38cc14[_0x1eaf88(0x186)]))_0xb4bbd1[_0x5e74d5['Key']]=_0x55b287['Value'];else{const _0x35eeed={};_0x35eeed[_0x1eaf88(0x1ef)]=_0x38cc14[_0x1eaf88(0x17a)],_0x35eeed[_0x1eaf88(0x197)]=_0x462b69,_0x4b2fa6[_0x1eaf88(0x216)]['push'](_0x35eeed);}}if(_0x38cc14['YFgqn'](_0x90f0fc,null)&&_0x38cc14[_0x1eaf88(0x22f)](_0x90f0fc,undefined)){let _0x233bc7=0x1;_0x90f0fc['forEach'](_0x2d1327=>{const _0x58ca1a=_0x1eaf88;_0x4b2fa6['Parameters'][_0x58ca1a(0x1f2)]({'ParameterKey':_0x58ca1a(0x1e5)+_0x38cc14[_0x58ca1a(0x1a0)](String,_0x233bc7)['padStart'](0x2,'0'),'ParameterValue':_0x2d1327[_0x58ca1a(0x1fc)]}),_0x233bc7+=0x1;});}const _0x139a36=await _0x174a5d[_0x1eaf88(0x18a)](_0x4b2fa6)['promise']();logger[_0x1eaf88(0x226)](_0x38cc14[_0x1eaf88(0x188)]);const _0xd168ed={};return _0xd168ed[_0x1eaf88(0x1f1)]=_0x139a36['StackId'],_0x174a5d[_0x1eaf88(0x18d)](_0x38cc14[_0x1eaf88(0x22e)],_0xd168ed)[_0x1eaf88(0x1da)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a28_0x1c5554=a28_0x31a1;(function(_0x14a1b7,_0x3d3a15){const _0x41ed9f=a28_0x31a1,_0x3481ae=_0x14a1b7();while(!![]){try{const _0x2722b3=-parseInt(_0x41ed9f(0x18a))/0x1+-parseInt(_0x41ed9f(0x19e))/0x2+parseInt(_0x41ed9f(0x196))/0x3*(parseInt(_0x41ed9f(0x183))/0x4)+parseInt(_0x41ed9f(0x191))/0x5*(-parseInt(_0x41ed9f(0x199))/0x6)+parseInt(_0x41ed9f(0x1b8))/0x7*(parseInt(_0x41ed9f(0x187))/0x8)+parseInt(_0x41ed9f(0x1b4))/0x9+parseInt(_0x41ed9f(0x1b0))/0xa;if(_0x2722b3===_0x3d3a15)break;else _0x3481ae['push'](_0x3481ae['shift']());}catch(_0x1626a5){_0x3481ae['push'](_0x3481ae['shift']());}}}(a28_0x4388,0xda6f2));const fs=require('fs'),path=require(a28_0x1c5554(0x180)),Promise=require(a28_0x1c5554(0x1b1)),yaml=require(a28_0x1c5554(0x1a7)),{CLOUDFORMATION_SCHEMA}=require(a28_0x1c5554(0x193)),AWS=require('./AWSUtils')['awsObj'],AWSUtils=require('./AWSUtils'),{CLUSTER_HUB_HA_STACK_NAME,COMMON_HST_TAGS}=require(a28_0x1c5554(0x189)),{logger}=require('../config/logger');Promise['promisifyAll'](fs);function a28_0x4388(){const _0x3c3539=['bluebird','wwZLq','CFTemplates','3178854tvklAU','LEpIB','IsLMr','OnFailure','2814vbIuZr','JTyRE','ZeIVj','Gezgc','Bwryl','://','path','StackName','Properties','2725756dHFbAq','Tags','DELETE','BaseResourceName','26024wfEzdN','NHFek','../config/constants','1240640CBDkYh','Value','createStack','Key','browserstack:creationDate','stackCreateComplete','CiecW','127340gUjTUN','waitFor','js-yaml-cloudformation-schema','valueOf','utf-8','3oOZQiE','readFileAsync','TuTJJ','156wLEUQr','Capabilities','dVcgS','apiVersion','Resources','1999988AKkEpv','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','jMdzg','info','push','createHubHaStack','promise','ClusterOIDCURL','LFDKd','js-yaml','VpcId','schema','browserstack:cluster','toString','StackId','join','getOidcUrl','-cf','14551570NBMwWy'];a28_0x4388=function(){return _0x3c3539;};return a28_0x4388();}const addTags=async(_0x54be25,_0x38dcef)=>{const _0x580a24=a28_0x1c5554;for(const _0x3b568e in _0x54be25[_0x580a24(0x19d)]){_0x54be25[_0x580a24(0x19d)][_0x3b568e][_0x580a24(0x182)]&&_0x54be25[_0x580a24(0x19d)][_0x3b568e]['Properties'][_0x580a24(0x184)]&&_0x54be25[_0x580a24(0x19d)][_0x3b568e]['Properties'][_0x580a24(0x184)][_0x580a24(0x1a2)](..._0x38dcef);}};function a28_0x31a1(_0x53085a,_0xf730bb){const _0x43883e=a28_0x4388();return a28_0x31a1=function(_0x31a177,_0x748745){_0x31a177=_0x31a177-0x180;let _0x2406d2=_0x43883e[_0x31a177];return _0x2406d2;},a28_0x31a1(_0x53085a,_0xf730bb);}exports[a28_0x1c5554(0x1a3)]=async(_0x3b26f5,_0x1c8270=null)=>{const _0x33c299=a28_0x1c5554,_0x2afada={'qMdGF':_0x33c299(0x1aa),'CiecW':_0x33c299(0x18e),'TuTJJ':'2010-05-15','LEpIB':_0x33c299(0x1b3),'Gezgc':'hub-ha.yaml','NHFek':_0x33c299(0x195),'JTyRE':function(_0x29b356,_0xce0eda,_0x4dd047){return _0x29b356(_0xce0eda,_0x4dd047);},'Bwryl':_0x33c299(0x1bd),'LFDKd':_0x33c299(0x185),'ZeIVj':_0x33c299(0x1a8),'dVcgS':_0x33c299(0x186),'loFjZ':_0x33c299(0x1a5),'jMdzg':'CAPABILITY_NAMED_IAM','IsLMr':_0x33c299(0x19f),'wwZLq':_0x33c299(0x18f)},_0x3952b6=COMMON_HST_TAGS,_0x5cc398={};_0x5cc398[_0x33c299(0x18d)]=_0x2afada['qMdGF'],_0x5cc398[_0x33c299(0x18b)]=_0x3b26f5,_0x3952b6[_0x33c299(0x1a2)](_0x5cc398),_0x3952b6[_0x33c299(0x1a2)]({'Key':_0x2afada[_0x33c299(0x190)],'Value':new Date()[_0x33c299(0x194)]()[_0x33c299(0x1ab)]()});const _0x469066={};_0x469066[_0x33c299(0x19c)]=_0x2afada[_0x33c299(0x198)];const _0x1ed10b=new AWS['CloudFormation'](_0x469066),_0x4b711d=await fs[_0x33c299(0x197)](path[_0x33c299(0x1ad)](__dirname,'..',_0x2afada[_0x33c299(0x1b5)],_0x2afada[_0x33c299(0x1bb)]),_0x2afada[_0x33c299(0x188)]),_0x57ee7f={};_0x57ee7f[_0x33c299(0x1a9)]=CLOUDFORMATION_SCHEMA;const _0x4f4e15=yaml['load'](_0x4b711d,_0x57ee7f);await _0x2afada[_0x33c299(0x1b9)](addTags,_0x4f4e15,_0x3952b6);const _0x3aecff=JSON['stringify'](_0x4f4e15);let _0x4e801c=await AWSUtils[_0x33c299(0x1ae)](_0x3b26f5);_0x4e801c=_0x4e801c['split'](_0x2afada[_0x33c299(0x1bc)])[0x1];const _0x970834={};_0x970834[_0x33c299(0x181)]=CLUSTER_HUB_HA_STACK_NAME+'-'+_0x3b26f5+_0x33c299(0x1af),_0x970834[_0x33c299(0x1b7)]=_0x2afada[_0x33c299(0x1a6)],_0x970834['TemplateBody']=_0x3aecff,_0x970834['Parameters']=[{'ParameterKey':_0x2afada[_0x33c299(0x1ba)],'ParameterValue':_0x1c8270},{'ParameterKey':_0x2afada[_0x33c299(0x19b)],'ParameterValue':CLUSTER_HUB_HA_STACK_NAME+'-'+_0x3b26f5},{'ParameterKey':_0x2afada['loFjZ'],'ParameterValue':_0x4e801c}],_0x970834[_0x33c299(0x19a)]=[_0x2afada[_0x33c299(0x1a0)]],_0x970834[_0x33c299(0x184)]=_0x3952b6;const _0x3471ee=_0x970834,_0x4a4cdc=await _0x1ed10b[_0x33c299(0x18c)](_0x3471ee)[_0x33c299(0x1a4)]();logger[_0x33c299(0x1a1)](_0x2afada[_0x33c299(0x1b6)]);const _0x59bfa9={};return _0x59bfa9[_0x33c299(0x181)]=_0x4a4cdc[_0x33c299(0x1ac)],_0x1ed10b[_0x33c299(0x192)](_0x2afada[_0x33c299(0x1b2)],_0x59bfa9)[_0x33c299(0x1a4)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a29_0x29becf=a29_0x1714;function a29_0x9444(){const _0x29f976=['3096505uMDDdK','existsSync','makeApiClient','7ZqxZYm','insecure-skip-tls-verify','KubeConfig','fbont','js-yaml','770893OerBWU','CoreV1Api','clusters','createK8sClient','getKubeConfigData','loadFromString','60lHScNl','load','promisifyAll','@kubernetes/client-node','StorageV1Api','1687602iCTPIf','dump','8631495ZGIJVy','2622656rxvPwE','NetworkingV1Api','885436TBYKHW','mkdirSync','ApiregistrationV1Api','56226nLHiOe','dpqeJ'];a29_0x9444=function(){return _0x29f976;};return a29_0x9444();}(function(_0x2fd061,_0x5edbc0){const _0x34a061=a29_0x1714,_0x2a071c=_0x2fd061();while(!![]){try{const _0x469e5e=-parseInt(_0x34a061(0x1ee))/0x1+parseInt(_0x34a061(0x1f4))/0x2*(parseInt(_0x34a061(0x1e4))/0x3)+parseInt(_0x34a061(0x1fe))/0x4+-parseInt(_0x34a061(0x1e6))/0x5+-parseInt(_0x34a061(0x1f9))/0x6*(parseInt(_0x34a061(0x1e9))/0x7)+parseInt(_0x34a061(0x1fc))/0x8+parseInt(_0x34a061(0x1fb))/0x9;if(_0x469e5e===_0x5edbc0)break;else _0x2a071c['push'](_0x2a071c['shift']());}catch(_0x21c51f){_0x2a071c['push'](_0x2a071c['shift']());}}}(a29_0x9444,0x616c5));function a29_0x1714(_0x2adee8,_0x42bdc8){const _0x944429=a29_0x9444();return a29_0x1714=function(_0x171482,_0x5d2d15){_0x171482=_0x171482-0x1e2;let _0x37c0ed=_0x944429[_0x171482];return _0x37c0ed;},a29_0x1714(_0x2adee8,_0x42bdc8);}const fs=require('fs'),yaml=require(a29_0x29becf(0x1ed)),Promise=require('bluebird'),{getDirForConfig}=require('./utilityMethods');Promise[a29_0x29becf(0x1f6)](fs),exports[a29_0x29becf(0x1f1)]=async(_0x279de3,_0x369c81)=>{const _0x3d8395=a29_0x29becf,_0x40438a={'WHnBj':function(_0x6ce749){return _0x6ce749();},'dpqeJ':_0x3d8395(0x1ea),'fbont':_0x3d8395(0x1f7)},_0x5ee2b3=_0x40438a['WHnBj'](getDirForConfig);!fs[_0x3d8395(0x1e7)](_0x5ee2b3)&&fs[_0x3d8395(0x1e2)](_0x5ee2b3);let _0x3427ca=await _0x279de3[_0x3d8395(0x1f2)]();if(_0x369c81){const _0x258621=yaml[_0x3d8395(0x1f5)](_0x3427ca);_0x258621[_0x3d8395(0x1f0)][0x0]['cluster'][_0x40438a[_0x3d8395(0x1e5)]]=!![],_0x3427ca=yaml[_0x3d8395(0x1fa)](_0x258621);}const _0x45fb56=await import(_0x40438a[_0x3d8395(0x1ec)]),_0x1d2700=new _0x45fb56[(_0x3d8395(0x1eb))]();_0x1d2700[_0x3d8395(0x1f3)](_0x3427ca);const _0xcacd94=_0x1d2700['makeApiClient'](_0x45fb56[_0x3d8395(0x1ef)]),_0x152d48=_0x1d2700['makeApiClient'](_0x45fb56['AppsV1Api']),_0x420203=_0x1d2700[_0x3d8395(0x1e8)](_0x45fb56[_0x3d8395(0x1fd)]),_0x173d05=_0x1d2700['makeApiClient'](_0x45fb56['RbacAuthorizationV1Api']),_0x20694c=_0x1d2700[_0x3d8395(0x1e8)](_0x45fb56[_0x3d8395(0x1e3)]),_0x3cff61=_0x1d2700['makeApiClient'](_0x45fb56[_0x3d8395(0x1f8)]);return[_0xcacd94,_0x152d48,_0x420203,_0x173d05,_0x20694c,_0x3cff61,_0x1d2700];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a30_0x22f482=a30_0x154d;(function(_0x4cc38b,_0x53900d){const _0x1c8da0=a30_0x154d,_0x4eddb0=_0x4cc38b();while(!![]){try{const _0x3fb887=parseInt(_0x1c8da0(0x1c9))/0x1*(parseInt(_0x1c8da0(0x1c6))/0x2)+-parseInt(_0x1c8da0(0x1de))/0x3*(-parseInt(_0x1c8da0(0x1cb))/0x4)+-parseInt(_0x1c8da0(0x1dc))/0x5+-parseInt(_0x1c8da0(0x1ca))/0x6+-parseInt(_0x1c8da0(0x1c8))/0x7+-parseInt(_0x1c8da0(0x1d3))/0x8*(-parseInt(_0x1c8da0(0x1db))/0x9)+-parseInt(_0x1c8da0(0x1df))/0xa;if(_0x3fb887===_0x53900d)break;else _0x4eddb0['push'](_0x4eddb0['shift']());}catch(_0x277e60){_0x4eddb0['push'](_0x4eddb0['shift']());}}}(a30_0x418e,0x3fd14));function a30_0x418e(){const _0xe2bbc7=['deleteMountTarget','VXnUm','OutputKey','MountTargetId','describeMountTargets','EFS','info','273942sYpEDd','82015eVMXpe','promise','644169VPrFFb','2629580DLtDCg','../config/constants','No\x20EFS\x20FileSystem\x20ID\x20found\x20in\x20stack\x20outputs,\x20skipping\x20mount\x20target\x20deletion.','\x20deleted\x20successfully','deleteEFSMountTarget','Error\x20deleting\x20EFS\x20mount\x20targets:','No\x20Mount\x20targets\x20found\x20for\x20the\x20EFS\x20FileSystem\x20ID,\x20skipping\x20mount\x20target\x20deletion.','DGEwP','error','6OaSxpi','../config/logger','2247154taGKEK','119627zgTLBb','1010370yRomoY','4NUBgHf','find','Mount\x20target\x20','aws-sdk','region','MountTargets','EFSFileSystemId','clusterRegion','120bwrVPN'];a30_0x418e=function(){return _0xe2bbc7;};return a30_0x418e();}const {logger}=require(a30_0x22f482(0x1c7)),awsSDK=require(a30_0x22f482(0x1ce)),{global_registry}=require(a30_0x22f482(0x1e0));function a30_0x154d(_0x490824,_0x53251a){const _0x418eac=a30_0x418e();return a30_0x154d=function(_0x154d79,_0x17335d){_0x154d79=_0x154d79-0x1c1;let _0x4c7744=_0x418eac[_0x154d79];return _0x4c7744;},a30_0x154d(_0x490824,_0x53251a);}exports[a30_0x22f482(0x1c1)]=async _0xb7c02b=>{const _0x1e0420=a30_0x22f482,_0xab50d3={};_0xab50d3['VXnUm']=_0x1e0420(0x1c3),_0xab50d3['tGJYR']=_0x1e0420(0x1e1),_0xab50d3[_0x1e0420(0x1c4)]=_0x1e0420(0x1c2);const _0x3acd0b=_0xab50d3;try{const _0x4a3183={};_0x4a3183[_0x1e0420(0x1cf)]=global_registry[_0x1e0420(0x1d2)];const _0x4aaf94=new awsSDK[(_0x1e0420(0x1d9))](_0x4a3183),_0x895b1e=_0xb7c02b[_0x1e0420(0x1cc)](_0x5760ba=>_0x5760ba[_0x1e0420(0x1d6)]===_0x1e0420(0x1d1))?.['OutputValue'];if(_0x895b1e){logger[_0x1e0420(0x1da)]('EFS\x20FileSystem\x20ID\x20found:\x20'+_0x895b1e+'.\x20Deleting\x20mount\x20targets...');const _0x510a55={};_0x510a55['FileSystemId']=_0x895b1e;const _0x35bfaf=_0x510a55,_0x1c6eff=await _0x4aaf94[_0x1e0420(0x1d8)](_0x35bfaf)[_0x1e0420(0x1dd)]();if(_0x1c6eff)for(const _0x3ffc52 of _0x1c6eff[_0x1e0420(0x1d0)]){const _0x5d032e={};_0x5d032e[_0x1e0420(0x1d7)]=_0x3ffc52[_0x1e0420(0x1d7)];const _0x49abc0=_0x5d032e;await _0x4aaf94[_0x1e0420(0x1d4)](_0x49abc0)[_0x1e0420(0x1dd)](),logger[_0x1e0420(0x1da)](_0x1e0420(0x1cd)+_0x3ffc52[_0x1e0420(0x1d7)]+_0x1e0420(0x1e2));}else logger['info'](_0x3acd0b[_0x1e0420(0x1d5)]);}else logger[_0x1e0420(0x1da)](_0x3acd0b['tGJYR']);}catch(_0x675699){logger[_0x1e0420(0x1c5)](_0x3acd0b[_0x1e0420(0x1c4)],_0x675699);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a31_0x1e77(){const _0x257994=['ZtGcc','10morZcS','512910NpUcCH','tykNa','1084996ykscTi','stackDeleteComplete','6847170DpooQk','4LAPBfS','CloudFormation','debug','1118985PTniPu','12uPNYji','FGzGT','StackName','697300SSbxiY','17768mQepXd','./AWSUtils','deleteClusterStack','apiVersion','deleteStack','144072EJlbbo','1746vgWAkt','waitFor'];a31_0x1e77=function(){return _0x257994;};return a31_0x1e77();}const a31_0x3c5296=a31_0x4ec7;function a31_0x4ec7(_0x394206,_0x229b43){const _0x1e77c0=a31_0x1e77();return a31_0x4ec7=function(_0x4ec779,_0x7c3852){_0x4ec779=_0x4ec779-0x151;let _0x301ded=_0x1e77c0[_0x4ec779];return _0x301ded;},a31_0x4ec7(_0x394206,_0x229b43);}(function(_0x20c588,_0xbd4118){const _0x494465=a31_0x4ec7,_0x2c1d74=_0x20c588();while(!![]){try{const _0x3e41f=-parseInt(_0x494465(0x158))/0x1*(parseInt(_0x494465(0x162))/0x2)+parseInt(_0x494465(0x15d))/0x3+-parseInt(_0x494465(0x15f))/0x4+parseInt(_0x494465(0x152))/0x5*(parseInt(_0x494465(0x166))/0x6)+parseInt(_0x494465(0x165))/0x7+parseInt(_0x494465(0x153))/0x8*(-parseInt(_0x494465(0x159))/0x9)+-parseInt(_0x494465(0x15c))/0xa*(-parseInt(_0x494465(0x161))/0xb);if(_0x3e41f===_0xbd4118)break;else _0x2c1d74['push'](_0x2c1d74['shift']());}catch(_0x3bcdd6){_0x2c1d74['push'](_0x2c1d74['shift']());}}}(a31_0x1e77,0x3b11c));const AWS=require(a31_0x3c5296(0x154))['awsObj'],{logger}=require('../config/logger');exports[a31_0x3c5296(0x155)]=async _0x41918d=>{const _0x6987f2=a31_0x3c5296,_0x4641ac={};_0x4641ac['tykNa']='2010-05-15',_0x4641ac[_0x6987f2(0x167)]='Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete',_0x4641ac[_0x6987f2(0x15b)]=_0x6987f2(0x160);const _0x4e3f59=_0x4641ac,_0xf455ee={};_0xf455ee[_0x6987f2(0x156)]=_0x4e3f59[_0x6987f2(0x15e)];const _0x5c823c=new AWS[(_0x6987f2(0x163))](_0xf455ee),_0x28dfcc={};_0x28dfcc[_0x6987f2(0x151)]=_0x41918d;const _0x1669b8=_0x28dfcc,_0x3629f6=await _0x5c823c[_0x6987f2(0x157)](_0x1669b8)['promise']();logger[_0x6987f2(0x164)](_0x4e3f59[_0x6987f2(0x167)]);const _0x606b3e={};return _0x606b3e[_0x6987f2(0x151)]=_0x41918d,_0x5c823c[_0x6987f2(0x15a)](_0x4e3f59[_0x6987f2(0x15b)],_0x606b3e)['promise']();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a32_0x122c(){const _0x348c35=['./AWSUtils','2335627zUeGLY','2442267lSrkPQ','11067730oxUcQC','describeClusterStack','295251MqrXrn','3370LNbOIZ','CloudFormation','zjFXn','8gmFQJD','382KRKRZK','describeStacks','promise','StackName','2010-05-15','apiVersion','16BvOzEo','8735177uPIQIU','5808UCafzP','6152EdopKa'];a32_0x122c=function(){return _0x348c35;};return a32_0x122c();}const a32_0x3de452=a32_0x26de;function a32_0x26de(_0x541a20,_0x3e5ade){const _0x122cc9=a32_0x122c();return a32_0x26de=function(_0x26de3c,_0x39034){_0x26de3c=_0x26de3c-0x14b;let _0x28a7ad=_0x122cc9[_0x26de3c];return _0x28a7ad;},a32_0x26de(_0x541a20,_0x3e5ade);}(function(_0x2f0b2b,_0x690a0){const _0x25cc4e=a32_0x26de,_0x1500e8=_0x2f0b2b();while(!![]){try{const _0x33039c=parseInt(_0x25cc4e(0x150))/0x1*(parseInt(_0x25cc4e(0x159))/0x2)+-parseInt(_0x25cc4e(0x14b))/0x3*(parseInt(_0x25cc4e(0x14f))/0x4)+parseInt(_0x25cc4e(0x14c))/0x5*(parseInt(_0x25cc4e(0x158))/0x6)+parseInt(_0x25cc4e(0x15b))/0x7+-parseInt(_0x25cc4e(0x156))/0x8*(-parseInt(_0x25cc4e(0x15c))/0x9)+-parseInt(_0x25cc4e(0x15d))/0xa+-parseInt(_0x25cc4e(0x157))/0xb;if(_0x33039c===_0x690a0)break;else _0x1500e8['push'](_0x1500e8['shift']());}catch(_0xde9088){_0x1500e8['push'](_0x1500e8['shift']());}}}(a32_0x122c,0x93fb9));const AWS=require(a32_0x3de452(0x15a))['awsObj'],{logger}=require('../config/logger');exports[a32_0x3de452(0x15e)]=async _0x1b4d13=>{const _0x5203f9=a32_0x3de452,_0x2fc57b={};_0x2fc57b['zjFXn']=_0x5203f9(0x154);const _0x49f13b=_0x2fc57b,_0x25b8a8={};_0x25b8a8[_0x5203f9(0x155)]=_0x49f13b[_0x5203f9(0x14e)];const _0x48d5d5=new AWS[(_0x5203f9(0x14d))](_0x25b8a8),_0x3498f7={};_0x3498f7[_0x5203f9(0x153)]=_0x1b4d13;const _0x255469=_0x3498f7;return _0x48d5d5[_0x5203f9(0x151)](_0x255469)[_0x5203f9(0x152)]();};
|