browserstack-node-sdk 1.42.0 → 1.42.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/playwright-patcher.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a25_0x51971a=a25_0x5c6f;function a25_0x5c6f(_0x4e8969,_0x155b5c){const _0x4f9426=a25_0x4f94();return a25_0x5c6f=function(_0x5c6f28,_0x1d015c){_0x5c6f28=_0x5c6f28-0x162;let _0x51ef55=_0x4f9426[_0x5c6f28];return _0x51ef55;},a25_0x5c6f(_0x4e8969,_0x155b5c);}(function(_0x3a8315,_0x25e74d){const _0x446106=a25_0x5c6f,_0x37a692=_0x3a8315();while(!![]){try{const _0x2ef0bf=-parseInt(_0x446106(0x1b3))/0x1+-parseInt(_0x446106(0x1fd))/0x2+parseInt(_0x446106(0x172))/0x3+parseInt(_0x446106(0x1f3))/0x4*(parseInt(_0x446106(0x1cd))/0x5)+-parseInt(_0x446106(0x1c4))/0x6+-parseInt(_0x446106(0x20c))/0x7+parseInt(_0x446106(0x1cb))/0x8;if(_0x2ef0bf===_0x25e74d)break;else _0x37a692['push'](_0x37a692['shift']());}catch(_0x5547da){_0x37a692['push'](_0x37a692['shift']());}}}(a25_0x4f94,0x5f5f5));const awsSDK=require(a25_0x51971a(0x188)),{logger}=require(a25_0x51971a(0x1fb));exports[a25_0x51971a(0x1a6)]=_0x4be996=>{const _0x48f809=a25_0x51971a,_0x208834={'vRtsK':function(_0xc6d971,_0x3b4a11){return _0xc6d971(_0x3b4a11);},'Fgvuh':function(_0x1ab410,_0x522cab){return _0x1ab410!==_0x522cab;},'vJakA':_0x48f809(0x1a4),'RrqHh':_0x48f809(0x1e3),'eDWjI':function(_0x47ac01,_0x5a91ce){return _0x47ac01(_0x5a91ce);},'OLjXX':function(_0x166f8f,_0xd3bd68){return _0x166f8f(_0xd3bd68);},'yTKvo':function(_0x23b702,_0xb76fac){return _0x23b702===_0xb76fac;},'KUhAN':_0x48f809(0x17e),'iCkoZ':_0x48f809(0x1dd),'arJFj':function(_0x4c3df9,_0x3e5a0b){return _0x4c3df9(_0x3e5a0b);},'sRfKD':_0x48f809(0x212),'CEYyi':_0x48f809(0x189),'ZsTpt':_0x48f809(0x208)};return new Promise((_0x23dba0,_0x55cb15)=>{const _0xed9a50=_0x48f809,_0x1881c1={'arNGm':function(_0x3c4955,_0x59bbd8){const _0xd1f9ca=a25_0x5c6f;return _0x208834[_0xd1f9ca(0x1a2)](_0x3c4955,_0x59bbd8);},'PtLZv':function(_0x27e720,_0x486f50){const _0x2ac3c3=a25_0x5c6f;return _0x208834[_0x2ac3c3(0x16d)](_0x27e720,_0x486f50);},'TwdyN':_0x208834['KUhAN'],'HbloK':_0x208834['iCkoZ'],'EKTbY':function(_0x7993c1,_0x5e6ce1){const _0x55c130=a25_0x5c6f;return _0x208834[_0x55c130(0x1be)](_0x7993c1,_0x5e6ce1);},'tiRBX':_0x208834[_0xed9a50(0x1c0)]};if(_0x208834[_0xed9a50(0x16d)](_0x208834[_0xed9a50(0x164)],_0x208834['ZsTpt']))_0x30d2d4[_0xed9a50(0x183)](_0xed9a50(0x191)+_0x57aa6d),_0x208834[_0xed9a50(0x1fa)](_0x5c60df,_0x3dcc78);else{const _0x32628d={};_0x32628d['apiVersion']=_0x208834['sRfKD'],_0x32628d[_0xed9a50(0x1f0)]=_0x4be996;const _0x4d61c8=new awsSDK[(_0xed9a50(0x1ae))](_0x32628d);_0x4d61c8[_0xed9a50(0x175)]()[_0xed9a50(0x18c)]()[_0xed9a50(0x201)](_0xa532ca=>{const _0x5f1cb7=_0xed9a50,_0x34fd7a={'tvwAx':function(_0x1f437d,_0x4c9e44){const _0x13b883=a25_0x5c6f;return _0x1881c1[_0x13b883(0x1d0)](_0x1f437d,_0x4c9e44);}};_0x1881c1[_0x5f1cb7(0x1f6)](_0x1881c1[_0x5f1cb7(0x17c)],_0x1881c1[_0x5f1cb7(0x19b)])?(_0x49cb71[_0x5f1cb7(0x1ab)](_0x5f1cb7(0x1ec)+_0x4c9c8a+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x34fd7a[_0x5f1cb7(0x181)](_0x152203,!![])):_0x1881c1['arNGm'](_0x23dba0,_0xa532ca);})[_0xed9a50(0x17b)](_0x263a1e=>{const _0x2edeeb=_0xed9a50;if(_0x208834['Fgvuh'](_0x208834[_0x2edeeb(0x209)],_0x208834[_0x2edeeb(0x1ea)]))logger[_0x2edeeb(0x183)](_0x2edeeb(0x191)+_0x263a1e),_0x208834['eDWjI'](_0x55cb15,_0x263a1e);else{const _0x221ce5={'xGMLR':function(_0xac5c05,_0x1d8ee6){const _0x425e27=_0x2edeeb;return _0x1881c1[_0x425e27(0x1d7)](_0xac5c05,_0x1d8ee6);},'XPAJP':_0x1881c1['tiRBX']};return new _0x46ccb0((_0x4d760a,_0xb21abe)=>{const _0x59fadd=_0x2edeeb,_0x39300e={'BsRuo':function(_0x21d9ec,_0xd76418){const _0x3a5993=a25_0x5c6f;return _0x221ce5[_0x3a5993(0x1f9)](_0x21d9ec,_0xd76418);}},_0x5dc914={};_0x5dc914[_0x59fadd(0x199)]=_0x221ce5[_0x59fadd(0x16b)],_0x5dc914[_0x59fadd(0x1f0)]=_0x419908;const _0x29ce0c=new _0x52569e[(_0x59fadd(0x1ae))](_0x5dc914);_0x29ce0c[_0x59fadd(0x193)]()['promise']()[_0x59fadd(0x201)](_0x1908de=>{_0x39300e['BsRuo'](_0x4d760a,_0x1908de);})[_0x59fadd(0x17b)](_0x14e418=>{const _0x4c033c=_0x59fadd;_0x353075['error'](_0x4c033c(0x17f)+_0x14e418),_0x39300e['BsRuo'](_0xb21abe,_0x14e418);});});}});}});},exports['isBucketPresent']=_0x2142c9=>{const _0x4a1a06=a25_0x51971a,_0x7023ed={'qjeoY':function(_0x37d2b7,_0x254f54){return _0x37d2b7!==_0x254f54;},'tWpje':_0x4a1a06(0x169),'juvGA':_0x4a1a06(0x16a),'hqOce':function(_0x385831,_0x2e4ec7){return _0x385831(_0x2e4ec7);},'LvDKz':function(_0xcf158e,_0x3e7322){return _0xcf158e(_0x3e7322);},'pgaGr':_0x4a1a06(0x212),'qXxxi':function(_0x2f1adc,_0x4facab){return _0x2f1adc===_0x4facab;},'pAJPS':_0x4a1a06(0x1a3),'tdeHe':function(_0x136a1e,_0x366fd1){return _0x136a1e===_0x366fd1;},'JkpAf':_0x4a1a06(0x1a0)},_0x459279=new awsSDK['S3']();return new Promise((_0x368c34,_0x475b8f)=>{const _0x32a224=_0x4a1a06,_0x435b2c={'TTvjl':function(_0x143a58,_0x4ff83c){const _0xbed7b4=a25_0x5c6f;return _0x7023ed[_0xbed7b4(0x1df)](_0x143a58,_0x4ff83c);},'ihIZn':_0x7023ed[_0x32a224(0x18a)],'uBRls':function(_0x27d827,_0x1c222d){const _0x3aceae=_0x32a224;return _0x7023ed[_0x3aceae(0x1b7)](_0x27d827,_0x1c222d);},'HoHyH':_0x7023ed[_0x32a224(0x1c9)],'aWaaV':function(_0x4fc677,_0x1a8ea8){const _0x35111b=_0x32a224;return _0x7023ed[_0x35111b(0x202)](_0x4fc677,_0x1a8ea8);}};if(_0x7023ed['tdeHe'](_0x7023ed[_0x32a224(0x185)],_0x7023ed['JkpAf'])){const _0x23ccb7={};_0x23ccb7[_0x32a224(0x211)]=_0x2142c9,_0x459279[_0x32a224(0x198)](_0x23ccb7)[_0x32a224(0x18c)]()[_0x32a224(0x201)](_0xe0e6ea=>{const _0xf5d266=_0x32a224;if(_0x435b2c[_0xf5d266(0x1bb)](_0x435b2c[_0xf5d266(0x1d4)],_0x435b2c[_0xf5d266(0x1d4)]))logger['warn'](_0xf5d266(0x1ec)+_0x2142c9+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x435b2c[_0xf5d266(0x1c3)](_0x368c34,!![]);else{const _0x1b46d3={'puxTJ':function(_0x49f827,_0x5a1765){const _0x152229=_0xf5d266;return _0x435b2c[_0x152229(0x171)](_0x49f827,_0x5a1765);}},_0x574b77={};_0x574b77[_0xf5d266(0x199)]=_0x435b2c[_0xf5d266(0x180)],_0x574b77[_0xf5d266(0x1f0)]=_0x5bdd13;const _0x357b5c=new _0x43c8e3[(_0xf5d266(0x1ae))](_0x574b77);_0x357b5c['describeSecurityGroups']()[_0xf5d266(0x18c)]()['then'](_0x3b300e=>{const _0x515b3f=_0xf5d266;_0x1b46d3[_0x515b3f(0x1b1)](_0x12df49,_0x3b300e);})['catch'](_0x5b4923=>{const _0x3dd203=_0xf5d266;_0x2a67a7[_0x3dd203(0x183)](_0x3dd203(0x17f)+_0x5b4923),_0x1b46d3[_0x3dd203(0x1b1)](_0x42f439,_0x5b4923);});}})[_0x32a224(0x17b)](()=>{const _0x30d2c7=_0x32a224;_0x7023ed[_0x30d2c7(0x1d3)](_0x7023ed[_0x30d2c7(0x1b0)],_0x7023ed[_0x30d2c7(0x1ee)])?(logger[_0x30d2c7(0x162)](_0x30d2c7(0x1ec)+_0x2142c9+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x7023ed[_0x30d2c7(0x202)](_0x368c34,![])):_0x435b2c[_0x30d2c7(0x171)](_0x55257f,{});});}else _0xfd63d4[_0x32a224(0x183)](_0x32a224(0x1c8)+_0x353509+':\x20'+_0x227753),_0x7023ed[_0x32a224(0x202)](_0x5a664c,_0x54c732);});},exports['fetchSubnets']=_0x526455=>{const _0x40a074=a25_0x51971a,_0x2b5207={'ofQIs':function(_0x28d03f,_0x3b7cf7){return _0x28d03f(_0x3b7cf7);},'uOduY':function(_0x54ce0e,_0x360c2f){return _0x54ce0e!==_0x360c2f;},'umPXb':'mjDSr','bCPmW':function(_0x16d9bb,_0x4c882a){return _0x16d9bb(_0x4c882a);},'eMFtQ':function(_0xf0fcb9,_0x2998bc){return _0xf0fcb9!==_0x2998bc;},'PEFUj':_0x40a074(0x19f),'rdFvu':'IOnaX','NbDtv':function(_0x10bac6,_0x491d09){return _0x10bac6(_0x491d09);},'Svoic':function(_0x480d86,_0x5930fc){return _0x480d86(_0x5930fc);},'uExWO':function(_0x42cc83,_0x1af634){return _0x42cc83(_0x1af634);},'Tijql':function(_0x57cce8,_0x5eb9bd){return _0x57cce8===_0x5eb9bd;},'ixTRK':_0x40a074(0x178),'efkDD':_0x40a074(0x212)};return new Promise((_0x4198e9,_0x2b41df)=>{const _0x3202a2=_0x40a074,_0xd84ac={'XLbOp':function(_0x4795f0,_0x5e2d64){const _0x724599=a25_0x5c6f;return _0x2b5207[_0x724599(0x165)](_0x4795f0,_0x5e2d64);},'zmmDB':function(_0x33e4b4,_0x55d852){return _0x2b5207['eMFtQ'](_0x33e4b4,_0x55d852);},'wGtMZ':function(_0x42dad0,_0x281b73){return _0x2b5207['Svoic'](_0x42dad0,_0x281b73);},'MDeCe':function(_0x3015d2,_0x368cbc){const _0x1b42b2=a25_0x5c6f;return _0x2b5207[_0x1b42b2(0x204)](_0x3015d2,_0x368cbc);}};if(_0x2b5207[_0x3202a2(0x205)](_0x2b5207[_0x3202a2(0x197)],_0x2b5207[_0x3202a2(0x197)])){const _0x13083e={};_0x13083e[_0x3202a2(0x199)]=_0x2b5207['efkDD'],_0x13083e['region']=_0x526455;const _0x592c44=new awsSDK[(_0x3202a2(0x1ae))](_0x13083e);_0x592c44[_0x3202a2(0x1d9)]()[_0x3202a2(0x18c)]()[_0x3202a2(0x201)](_0x53bc4f=>{const _0x503623=_0x3202a2,_0x38cf02={'PqjII':function(_0x178e76,_0x24dfc7){const _0x1518e3=a25_0x5c6f;return _0x2b5207[_0x1518e3(0x18e)](_0x178e76,_0x24dfc7);}};_0x2b5207[_0x503623(0x165)](_0x2b5207[_0x503623(0x1d8)],_0x2b5207[_0x503623(0x1d8)])?(_0x11531c[_0x503623(0x183)](_0x503623(0x206)+_0x28f3b6),_0x38cf02[_0x503623(0x192)](_0x411b8c,_0x27954f)):_0x2b5207[_0x503623(0x1f5)](_0x4198e9,_0x53bc4f);})[_0x3202a2(0x17b)](_0x48fa5c=>{const _0x69f1bf=_0x3202a2;_0x2b5207[_0x69f1bf(0x1e6)](_0x2b5207[_0x69f1bf(0x213)],_0x2b5207[_0x69f1bf(0x1f1)])?(logger[_0x69f1bf(0x183)](_0x69f1bf(0x1d6)+_0x48fa5c),_0x2b5207['NbDtv'](_0x2b41df,_0x48fa5c)):_0xd84ac[_0x69f1bf(0x19d)](_0x3d4ee8,_0x5cc45e)&&_0xd84ac[_0x69f1bf(0x1e4)](_0x2f3c1c[_0x69f1bf(0x1f8)],_0x2d41d5)?_0xd84ac['wGtMZ'](_0x303b45,_0x15fdf0[_0x69f1bf(0x1f8)]):_0xd84ac[_0x69f1bf(0x1b4)](_0x1ce1d1,{});});}else _0xd84ac[_0x3202a2(0x184)](_0x3267c7,_0xad3329[_0x3202a2(0x1f8)]);});},exports[a25_0x51971a(0x20f)]=_0x306ecc=>{const _0x46ec84=a25_0x51971a,_0x5a852e={'iydzb':function(_0x3300bf,_0xd38753){return _0x3300bf(_0xd38753);},'QmHxA':_0x46ec84(0x187),'ZbjXI':function(_0x1036d9,_0x5194a3){return _0x1036d9!==_0x5194a3;},'OOuii':_0x46ec84(0x194),'cgkTB':function(_0x20cb52,_0x2950a0){return _0x20cb52(_0x2950a0);},'tznqV':_0x46ec84(0x212),'bqCtV':function(_0x25d6e1,_0x77fe92){return _0x25d6e1===_0x77fe92;},'ezDuA':'intMY','DUjol':'pftTM','OShzL':function(_0x3d93f1,_0x43c2a7){return _0x3d93f1===_0x43c2a7;},'uiPsJ':'KpJLf','IVDns':'rVhQZ'};return new Promise((_0x4c6d94,_0x1e6aeb)=>{const _0xfe53c=_0x46ec84,_0x23dbd8={'YAFgc':function(_0x355027,_0x3593b0){const _0x4f69d4=a25_0x5c6f;return _0x5a852e[_0x4f69d4(0x17a)](_0x355027,_0x3593b0);},'CSaaY':_0x5a852e[_0xfe53c(0x1a7)],'kZGZP':function(_0xa8296b,_0x5a0bb8){const _0x380133=_0xfe53c;return _0x5a852e[_0x380133(0x1fe)](_0xa8296b,_0x5a0bb8);},'LLsSa':_0x5a852e[_0xfe53c(0x1a1)],'resEj':function(_0x1e96e3,_0xfe0a92){return _0x5a852e['cgkTB'](_0x1e96e3,_0xfe0a92);},'UlEgD':_0x5a852e['tznqV'],'TLucM':function(_0x50d4d6,_0x25e304){return _0x5a852e['bqCtV'](_0x50d4d6,_0x25e304);},'glzxF':_0x5a852e['ezDuA'],'mKZzg':_0x5a852e['DUjol']};if(_0x5a852e['OShzL'](_0x5a852e[_0xfe53c(0x1af)],_0x5a852e[_0xfe53c(0x174)]))return new _0x24f73c((_0x5d3658,_0x3a64ad)=>{const _0x214873=_0xfe53c,_0x1846cd={'xHOtP':function(_0x8d1a78,_0x390a2b){return _0x23dbd8['YAFgc'](_0x8d1a78,_0x390a2b);},'xwihU':function(_0x3f9995,_0x2a4a04){const _0x2c570d=a25_0x5c6f;return _0x23dbd8[_0x2c570d(0x190)](_0x3f9995,_0x2a4a04);}},_0x1c4fa5={};_0x1c4fa5['apiVersion']=_0x23dbd8[_0x214873(0x1bc)];const _0x59cc82=new _0x32188e['EKS'](_0x1c4fa5),_0x15bbc7={};_0x15bbc7[_0x214873(0x1eb)]=_0x5507b0,_0x59cc82[_0x214873(0x215)](_0x15bbc7)[_0x214873(0x18c)]()[_0x214873(0x201)](_0x50b2ae=>{const _0xb7732c=_0x214873;_0x1846cd['xHOtP'](_0x5d3658,_0x50b2ae[_0xb7732c(0x1ed)]['identity'][_0xb7732c(0x203)][_0xb7732c(0x1ff)]);})[_0x214873(0x17b)](_0x1b9603=>{const _0x3dbee2=_0x214873;_0x322332[_0x3dbee2(0x183)](_0x3dbee2(0x1c8)+_0x56e462+':\x20'+_0x1b9603),_0x1846cd[_0x3dbee2(0x20d)](_0x3a64ad,_0x1b9603);});});else{const _0x3dbdf3={};_0x3dbdf3[_0xfe53c(0x199)]=_0x5a852e[_0xfe53c(0x182)],_0x3dbdf3[_0xfe53c(0x1f0)]=_0x306ecc;const _0xeb8ac3=new awsSDK[(_0xfe53c(0x1ae))](_0x3dbdf3);_0xeb8ac3[_0xfe53c(0x193)]()[_0xfe53c(0x18c)]()[_0xfe53c(0x201)](_0x3dd0b9=>{const _0x43c7ae=_0xfe53c,_0x4f1436={'cyHce':function(_0xf6a284,_0x3207fe){const _0x486c3b=a25_0x5c6f;return _0x23dbd8[_0x486c3b(0x190)](_0xf6a284,_0x3207fe);}};_0x23dbd8[_0x43c7ae(0x1a8)](_0x23dbd8[_0x43c7ae(0x163)],_0x23dbd8[_0x43c7ae(0x163)])?(_0x515522['error']('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0xbe1bf9),_0x4f1436[_0x43c7ae(0x1ef)](_0x4caf14,_0x4222e2)):_0x23dbd8[_0x43c7ae(0x190)](_0x4c6d94,_0x3dd0b9);})[_0xfe53c(0x17b)](_0x3da93d=>{const _0x124faf=_0xfe53c,_0x238356={'YCXwa':function(_0x4a4b2f,_0x1d4d24){const _0x40dfb8=a25_0x5c6f;return _0x23dbd8[_0x40dfb8(0x20e)](_0x4a4b2f,_0x1d4d24);},'QvipJ':_0x23dbd8[_0x124faf(0x1ce)]};if(_0x23dbd8['TLucM'](_0x23dbd8[_0x124faf(0x1a9)],_0x23dbd8['mKZzg'])){const _0x3b7048={};_0x3b7048[_0x124faf(0x199)]=_0x238356['QvipJ'],_0x3b7048[_0x124faf(0x1f0)]=_0x78b3db;const _0x1cc442=new _0x550492['EC2'](_0x3b7048);_0x1cc442[_0x124faf(0x1d9)]()[_0x124faf(0x18c)]()[_0x124faf(0x201)](_0x2ac38d=>{_0x238356['YCXwa'](_0x40f489,_0x2ac38d);})[_0x124faf(0x17b)](_0x4b463c=>{const _0xf2bfb7=_0x124faf;_0x6f35d7[_0xf2bfb7(0x183)](_0xf2bfb7(0x1d6)+_0x4b463c),_0x238356['YCXwa'](_0x2a7432,_0x4b463c);});}else logger['error'](_0x124faf(0x17f)+_0x3da93d),_0x23dbd8[_0x124faf(0x190)](_0x1e6aeb,_0x3da93d);});}});},exports[a25_0x51971a(0x1e0)]=()=>{const _0x4f6288=a25_0x51971a,_0x3b905d={'BvJie':function(_0x3be8f0,_0x758e5b){return _0x3be8f0(_0x758e5b);},'yJyAB':function(_0x1a6bc1,_0x5b66d5){return _0x1a6bc1(_0x5b66d5);},'BsOJq':_0x4f6288(0x187),'cJzgi':function(_0x557496,_0x31613c){return _0x557496(_0x31613c);},'YVskA':function(_0x21ae4f,_0x32fb4f){return _0x21ae4f===_0x32fb4f;},'jZMaF':_0x4f6288(0x1ca),'ujeWN':_0x4f6288(0x170),'gUtSB':function(_0x22f03b,_0x2d5cf2){return _0x22f03b!==_0x2d5cf2;},'XLTvM':'rLFLN','TTEyE':_0x4f6288(0x16f),'qiyfe':function(_0x27cfd6,_0xe4debb){return _0x27cfd6(_0xe4debb);},'tolvG':'UFyvT','MynXK':function(_0x2452e2,_0x238e07){return _0x2452e2!==_0x238e07;},'aGNvk':'IAevp','Gwdtw':_0x4f6288(0x1e8),'mUbCP':'2016-11-15'};return new Promise((_0x28bd46,_0x310ece)=>{const _0x40ec92=_0x4f6288,_0x3475d6={'lsZoo':function(_0xdd6158,_0x4d6366){return _0x3b905d['yJyAB'](_0xdd6158,_0x4d6366);},'hGqtW':_0x3b905d['BsOJq'],'BoRJK':function(_0x953afc,_0x1ecb50){const _0x9cb567=a25_0x5c6f;return _0x3b905d[_0x9cb567(0x1b2)](_0x953afc,_0x1ecb50);},'nABeK':function(_0x22147b,_0x3cf74a){const _0x235c8f=a25_0x5c6f;return _0x3b905d[_0x235c8f(0x1e2)](_0x22147b,_0x3cf74a);},'BpLnc':function(_0x4c6ec6,_0x4edf35){const _0xd49695=a25_0x5c6f;return _0x3b905d[_0xd49695(0x1f2)](_0x4c6ec6,_0x4edf35);},'sEkgs':_0x3b905d[_0x40ec92(0x1b9)],'aHLXx':_0x3b905d['ujeWN'],'JYYCy':function(_0x586963,_0x5b1076){const _0x1cd236=_0x40ec92;return _0x3b905d[_0x1cd236(0x19c)](_0x586963,_0x5b1076);},'KtzTk':function(_0x3df6e1,_0x1b9212){return _0x3b905d['gUtSB'](_0x3df6e1,_0x1b9212);},'xvoFn':_0x3b905d[_0x40ec92(0x166)],'rsplS':_0x3b905d[_0x40ec92(0x216)],'UtXOH':function(_0x176ce8,_0xf9abfb){const _0x1ee072=_0x40ec92;return _0x3b905d[_0x1ee072(0x1db)](_0x176ce8,_0xf9abfb);},'apLZc':function(_0x19d3f0,_0x3d3a94){const _0x4fb413=_0x40ec92;return _0x3b905d[_0x4fb413(0x19c)](_0x19d3f0,_0x3d3a94);},'qdOPz':_0x3b905d[_0x40ec92(0x16e)],'XxSRF':function(_0x5f2601,_0x235a34){const _0x3b7fc4=_0x40ec92;return _0x3b905d[_0x3b7fc4(0x1b2)](_0x5f2601,_0x235a34);},'rltDw':function(_0x2ad652,_0x52f1d8){return _0x3b905d['BvJie'](_0x2ad652,_0x52f1d8);},'RhsLf':function(_0x3e7406,_0x2b618a){const _0x513a75=_0x40ec92;return _0x3b905d[_0x513a75(0x1c7)](_0x3e7406,_0x2b618a);},'pTJjm':_0x3b905d['aGNvk'],'hpMOh':function(_0x2a6484,_0x3c04f8){return _0x3b905d['yJyAB'](_0x2a6484,_0x3c04f8);}};if(_0x3b905d[_0x40ec92(0x1f2)](_0x3b905d[_0x40ec92(0x1a5)],_0x3b905d['Gwdtw'])){const _0x38d840={};_0x38d840[_0x40ec92(0x199)]=_0x3b905d[_0x40ec92(0x207)];const _0x468216=new awsSDK[(_0x40ec92(0x1ae))](_0x38d840);_0x468216['describeRegions']()[_0x40ec92(0x18c)]()[_0x40ec92(0x201)]((_0x3d0e82,_0x24631c)=>{const _0x28f357=_0x40ec92,_0xc5932c={'Wrqwa':function(_0x18a081,_0x251cb8){const _0x3ff67e=a25_0x5c6f;return _0x3475d6[_0x3ff67e(0x179)](_0x18a081,_0x251cb8);}};if(_0x3475d6[_0x28f357(0x19a)](_0x3475d6[_0x28f357(0x1ac)],_0x3475d6[_0x28f357(0x1bf)])){const _0x14582b={'gGwGF':function(_0x4d7357,_0x4ad2d3){const _0x1901d4=_0x28f357;return _0x3475d6[_0x1901d4(0x177)](_0x4d7357,_0x4ad2d3);}},_0x387d13={};_0x387d13[_0x28f357(0x199)]=_0x3475d6[_0x28f357(0x1d5)];const _0x2551dc=new _0x77e54c[(_0x28f357(0x1de))](_0x387d13),_0x36158a={};_0x36158a[_0x28f357(0x1eb)]=_0x2cd5db,_0x2551dc['describeCluster'](_0x36158a)['promise']()['then'](_0x54c5b0=>{const _0x43f5f4=_0x28f357;_0xc5932c[_0x43f5f4(0x1c2)](_0x4e7361,_0x54c5b0[_0x43f5f4(0x1ed)][_0x43f5f4(0x1cc)][_0x43f5f4(0x203)][_0x43f5f4(0x1ff)]);})['catch'](_0xfcb6d9=>{const _0x4a6fe0=_0x28f357;_0x3c9f16[_0x4a6fe0(0x183)](_0x4a6fe0(0x1c8)+_0x42ef81+':\x20'+_0xfcb6d9),_0x14582b['gGwGF'](_0x48a72f,_0xfcb6d9);});}else{if(_0x3475d6[_0x28f357(0x19e)](_0x3d0e82,undefined)&&_0x3475d6[_0x28f357(0x1b6)](_0x3d0e82['Regions'],undefined))_0x3475d6[_0x28f357(0x19e)](_0x3475d6[_0x28f357(0x1b5)],_0x3475d6[_0x28f357(0x1c5)])?_0x3475d6['UtXOH'](_0x28bd46,_0x3d0e82[_0x28f357(0x1f8)]):(_0x49da7f[_0x28f357(0x162)]('Bucket:\x20'+_0xfc1f52+_0x28f357(0x20b)),_0x3475d6['BoRJK'](_0x1713a4,![]));else{if(_0x3475d6[_0x28f357(0x20a)](_0x3475d6[_0x28f357(0x176)],_0x3475d6[_0x28f357(0x176)])){const _0x1ac684={'Yxhfh':function(_0x5c7b7b,_0x575f78){const _0x2e0775=_0x28f357;return _0x3475d6[_0x2e0775(0x1ba)](_0x5c7b7b,_0x575f78);}},_0x239a70=new _0xc967f0['S3']();return new _0x19b8f4((_0xe6860,_0x3b5b61)=>{const _0x5ced9f=_0x28f357,_0x5c5925={'QXmfg':function(_0x154973,_0x5ac85b){const _0xf68eb4=a25_0x5c6f;return _0xc5932c[_0xf68eb4(0x1c2)](_0x154973,_0x5ac85b);}},_0x57a7b8={};_0x57a7b8['Bucket']=_0x1df148,_0x239a70['headBucket'](_0x57a7b8)[_0x5ced9f(0x18c)]()[_0x5ced9f(0x201)](_0x31a0fa=>{const _0x12579d=_0x5ced9f;_0x3a83d5[_0x12579d(0x1ab)]('Bucket:\x20'+_0x399d0c+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x5c5925['QXmfg'](_0xe6860,!![]);})[_0x5ced9f(0x17b)](()=>{const _0x366240=_0x5ced9f;_0x513812[_0x366240(0x162)](_0x366240(0x1ec)+_0x500cb7+_0x366240(0x20b)),_0x1ac684[_0x366240(0x1c1)](_0xe6860,![]);});});}else _0x3475d6['XxSRF'](_0x28bd46,{});}}})[_0x40ec92(0x17b)](_0x163f60=>{const _0x49c658=_0x40ec92,_0x1cfe7f={'qZDij':function(_0x24a0b8,_0x595711){const _0x146332=a25_0x5c6f;return _0x3475d6[_0x146332(0x1f4)](_0x24a0b8,_0x595711);}};_0x3475d6['RhsLf'](_0x3475d6[_0x49c658(0x195)],_0x3475d6['pTJjm'])?_0x1cfe7f[_0x49c658(0x1f7)](_0x4503b3,_0x3007ee):(logger[_0x49c658(0x183)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x163f60),_0x3475d6[_0x49c658(0x186)](_0x310ece,_0x163f60));});}else _0x3b905d[_0x40ec92(0x1e2)](_0x10309b,_0x4a2c98);});},exports[a25_0x51971a(0x1bd)]=_0x528b63=>{const _0x1c1566=a25_0x51971a,_0x1680c7={'bHVWo':function(_0x4951c8,_0x1e7055){return _0x4951c8===_0x1e7055;},'rEOGA':_0x1c1566(0x1da),'wPHta':_0x1c1566(0x1d2),'nIuXJ':function(_0xe76912,_0x2817f8){return _0xe76912(_0x2817f8);},'YYiMX':'Nbgyd','uchvK':'KVePM','FzbAj':function(_0x4b33b9,_0x38ef69){return _0x4b33b9(_0x38ef69);},'SwGUC':function(_0x33eec0,_0x2b14f3){return _0x33eec0(_0x2b14f3);},'wJhNm':function(_0x52a4c6,_0x42c3d4){return _0x52a4c6(_0x42c3d4);},'MyaKK':_0x1c1566(0x212),'gqbsg':function(_0x5a860c,_0x34fc91){return _0x5a860c!==_0x34fc91;},'Vnopc':_0x1c1566(0x18b),'JxJHZ':_0x1c1566(0x196),'uzPYg':_0x1c1566(0x187)};return new Promise((_0x51a380,_0x1c92af)=>{const _0x533375=_0x1c1566,_0x2d1f39={'bgjCW':function(_0x580e41,_0xdfcaf0){const _0x7ad4fd=a25_0x5c6f;return _0x1680c7[_0x7ad4fd(0x1e7)](_0x580e41,_0xdfcaf0);},'rrNyj':function(_0x586249,_0x2ab9b8){const _0x4e57f8=a25_0x5c6f;return _0x1680c7[_0x4e57f8(0x18d)](_0x586249,_0x2ab9b8);},'MRUvk':_0x1680c7['MyaKK'],'iVHGW':function(_0x51716a,_0x3a0e55){return _0x1680c7['wJhNm'](_0x51716a,_0x3a0e55);}};if(_0x1680c7[_0x533375(0x1dc)](_0x1680c7[_0x533375(0x16c)],_0x1680c7[_0x533375(0x18f)])){const _0x20d52b={};_0x20d52b[_0x533375(0x199)]=_0x1680c7[_0x533375(0x200)];const _0x19231d=new awsSDK[(_0x533375(0x1de))](_0x20d52b),_0x5097d7={};_0x5097d7['name']=_0x528b63,_0x19231d['describeCluster'](_0x5097d7)['promise']()[_0x533375(0x201)](_0xd1607e=>{const _0x2af13f=_0x533375;if(_0x1680c7['bHVWo'](_0x1680c7[_0x2af13f(0x214)],_0x1680c7[_0x2af13f(0x1e5)])){const _0x4d3f68={'yKYRh':function(_0x11e828,_0x5cbd83){const _0xbc60b6=_0x2af13f;return _0x2d1f39[_0xbc60b6(0x1d1)](_0x11e828,_0x5cbd83);},'ttwMP':function(_0x58fb98,_0x2e6dc4){return _0x2d1f39['rrNyj'](_0x58fb98,_0x2e6dc4);},'WEDaY':_0x2d1f39[_0x2af13f(0x173)]};return new _0x461103((_0x8ff4ef,_0x4227bc)=>{const _0x7a3396=_0x2af13f,_0x2f8b44={'totos':function(_0x8092c7,_0x12748c){const _0x5dbd74=a25_0x5c6f;return _0x4d3f68[_0x5dbd74(0x1fc)](_0x8092c7,_0x12748c);}},_0x49e895={};_0x49e895[_0x7a3396(0x199)]=_0x4d3f68[_0x7a3396(0x1aa)],_0x49e895[_0x7a3396(0x1f0)]=_0xdf7ffd;const _0x572d6f=new _0x3e6c1a[(_0x7a3396(0x1ae))](_0x49e895);_0x572d6f[_0x7a3396(0x1d9)]()['promise']()['then'](_0x5316fe=>{_0x4d3f68['yKYRh'](_0x8ff4ef,_0x5316fe);})['catch'](_0x335d48=>{const _0x10471c=_0x7a3396;_0xd01d1d['error'](_0x10471c(0x1d6)+_0x335d48),_0x2f8b44[_0x10471c(0x1cf)](_0x4227bc,_0x335d48);});});}else _0x1680c7['nIuXJ'](_0x51a380,_0xd1607e[_0x2af13f(0x1ed)][_0x2af13f(0x1cc)][_0x2af13f(0x203)][_0x2af13f(0x1ff)]);})[_0x533375(0x17b)](_0x482c74=>{const _0x47c098=_0x533375,_0x3842be={'kldnj':function(_0x1c278d,_0x20c200){const _0x5cd221=a25_0x5c6f;return _0x1680c7[_0x5cd221(0x210)](_0x1c278d,_0x20c200);}};if(_0x1680c7[_0x47c098(0x1ad)](_0x1680c7[_0x47c098(0x168)],_0x1680c7[_0x47c098(0x1c6)])){const _0x1574ea={'tqlhG':function(_0x3efab5,_0x4d8793){const _0x55a9ce=_0x47c098;return _0x2d1f39[_0x55a9ce(0x1e9)](_0x3efab5,_0x4d8793);}},_0x43c16b={};_0x43c16b[_0x47c098(0x211)]=_0x45ae58,_0x4ae191['headBucket'](_0x43c16b)['promise']()[_0x47c098(0x201)](_0x4fa577=>{const _0x7f3445=_0x47c098;_0x3b92be[_0x7f3445(0x1ab)](_0x7f3445(0x1ec)+_0xaa1473+_0x7f3445(0x17d)),_0x1574ea['tqlhG'](_0x33023c,!![]);})['catch'](()=>{const _0x8cf264=_0x47c098;_0x2ca30d['info'](_0x8cf264(0x1ec)+_0x37a672+_0x8cf264(0x20b)),_0x3842be[_0x8cf264(0x1b8)](_0x45e82b,![]);});}else logger[_0x47c098(0x183)]('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x528b63+':\x20'+_0x482c74),_0x1680c7[_0x47c098(0x1e1)](_0x1c92af,_0x482c74);});}else _0x4c6593['error'](_0x533375(0x17f)+_0x2f7220),_0x2d1f39['bgjCW'](_0x42aa4b,_0x5e74d1);});},exports[a25_0x51971a(0x167)]=awsSDK;function a25_0x4f94(){const _0x185699=['describeSubnets','XCXlZ','qiyfe','gqbsg','lquxN','EKS','LvDKz','getAWSRegions','FzbAj','BvJie','GpCSA','zmmDB','wPHta','eMFtQ','SwGUC','HFrFI','iVHGW','RrqHh','name','Bucket:\x20','cluster','juvGA','cyHce','region','rdFvu','YVskA','12xQbSsS','rltDw','bCPmW','PtLZv','qZDij','Regions','xGMLR','vRtsK','../config/logger','ttwMP','515894gMLYoV','ZbjXI','issuer','uzPYg','then','hqOce','oidc','uExWO','Tijql','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','mUbCP','YvfKr','vJakA','apLZc','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','1122310RxxdfL','xwihU','resEj','fetchSecurityGroups','nIuXJ','Bucket','2016-11-15','PEFUj','rEOGA','describeCluster','TTEyE','info','LLsSa','CEYyi','uOduY','XLTvM','awsObj','YYiMX','cKUCj','LjVHQ','XPAJP','Vnopc','yTKvo','tolvG','EUruS','MnYxM','TTvjl','384447GtHgBa','MRUvk','IVDns','describeVpcs','qdOPz','lsZoo','xDfSt','BoRJK','iydzb','catch','TwdyN','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','cUloO','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','ihIZn','tvwAx','tznqV','error','MDeCe','JkpAf','hpMOh','2017-11-01','aws-sdk','HusFA','pgaGr','kbbZQ','promise','wJhNm','ofQIs','JxJHZ','YAFgc','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','PqjII','describeSecurityGroups','RQlib','pTJjm','VxNLk','ixTRK','headBucket','apiVersion','BpLnc','HbloK','gUtSB','XLbOp','JYYCy','vOhGQ','wTuvF','OOuii','OLjXX','HhTaR','priYA','Gwdtw','fetchVPCs','QmHxA','kZGZP','glzxF','WEDaY','warn','sEkgs','bHVWo','EC2','uiPsJ','tWpje','puxTJ','cJzgi','103249LwKagA','wGtMZ','xvoFn','KtzTk','qXxxi','kldnj','jZMaF','nABeK','uBRls','CSaaY','getOidcUrl','arJFj','aHLXx','sRfKD','Yxhfh','Wrqwa','aWaaV','1170312zhWEFA','rsplS','uchvK','MynXK','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','pAJPS','jPtxl','3094080BVyqsO','identity','987190MrcWye','UlEgD','totos','arNGm','bgjCW','dtZpA','qjeoY','HoHyH','hGqtW','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','EKTbY','umPXb'];a25_0x4f94=function(){return _0x185699;};return a25_0x4f94();}
|
|
1
|
+
function a25_0x4c3f(){const _0x53c74b=['info','DeuxC','oidc','rhcgq','Bucket:\x20','JcRue','Bucket','xkGKl','conhH','PGoQU','KfyiD','oqVRk','oUxps','DMEqA','JqYhL','PWUuo','TCTQz','NJexR','then','Eiovm','NWLsa','sTskV','describeSecurityGroups','uraFv','mDYeA','nBgRQ','TcbKw','icjLw','QNUjG','JMpZc','FgmBq','2017-11-01','XxuAX','peaSn','4JJJUNt','LaMuF','xqzao','sHMqr','ZrxIc','LxZrr','ZJsmO','wduAK','FjPLk','Edaqb','VPZBk','TuQgu','PCfGA','promise','20436bHPUtU','887142EeNiwl','BnsQz','ETSWO','oCPzz','describeVpcs','123875gGjmcJ','484752vzzoxs','ahTic','wJuLu','64PvZXrJ','TjDSn','UqdXi','region','ajWir','ETDmv','cvchv','RQlxQ','VsMeq','SNjuf','VUwRX','llYte','nHQoE','Regions','lXXnE','epAHb','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','KLfyH','bKpML','warn','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','dVrZR','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','saXBH','ejgOP','fdJeX','BgkxT','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','catch','GqfkS','EKS','issuer','eFGfb','EsygP','xVczy','VKFcR','CVkDH','xbklG','vYKXb','NgDfL','pCZuL','jMQbz','NpDch','dufqS','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','name','dpNXS','wzXCq','XuZGg','eAfEG','bOEeP','MMuhZ','CYLdJ','XUEUU','iaXhN','LTHCe','eMDlc','Hekbk','wYNea','headBucket','NdeFe','EC2','describeSubnets','getAWSRegions','whcfG','yUcXp','qITZC','GMSyA','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','810iWeKKM','iVRMo','21oJpoAf','gWyiX','dqngt','UuQbU','gKTdG','bstCx','error','aws-sdk','OgOAU','awsObj','2016-11-15','TnvFS','zXvSv','29491hhZtbZ','ZoBgJ','DESFH','vLOuP','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','SHMcg','isBucketPresent','describeRegions','795808otQjfn','describeCluster','3407796uDfYsM','KdGlB','WGCfc','SxAYS','TVeUe','WFALl','SyKgf','POLwH','ytjtF','Rqtki','OftJy','WAjtv','WTNPU','identity','TAXuo','HVmHL','JenkL','NVCTg','oNIwJ','jkzVa','ExmBJ','cluster','apiVersion','21204zdZjeT','dedTs'];a25_0x4c3f=function(){return _0x53c74b;};return a25_0x4c3f();}const a25_0x272dff=a25_0x55b3;(function(_0x58276c,_0x51227a){const _0x1bc2e3=a25_0x55b3,_0x3859f6=_0x58276c();while(!![]){try{const _0x3d8c1a=parseInt(_0x1bc2e3(0x21e))/0x1*(-parseInt(_0x1bc2e3(0x20f))/0x2)+parseInt(_0x1bc2e3(0x224))/0x3+parseInt(_0x1bc2e3(0x227))/0x4*(-parseInt(_0x1bc2e3(0x223))/0x5)+-parseInt(_0x1bc2e3(0x1d4))/0x6*(parseInt(_0x1bc2e3(0x26e))/0x7)+-parseInt(_0x1bc2e3(0x1d2))/0x8+parseInt(_0x1bc2e3(0x1eb))/0x9*(parseInt(_0x1bc2e3(0x26c))/0xa)+-parseInt(_0x1bc2e3(0x1ca))/0xb*(-parseInt(_0x1bc2e3(0x21d))/0xc);if(_0x3d8c1a===_0x51227a)break;else _0x3859f6['push'](_0x3859f6['shift']());}catch(_0x354094){_0x3859f6['push'](_0x3859f6['shift']());}}}(a25_0x4c3f,0xe67e9));function a25_0x55b3(_0x21653c,_0xef3820){const _0x4c3fb5=a25_0x4c3f();return a25_0x55b3=function(_0x55b37b,_0x4d920a){_0x55b37b=_0x55b37b-0x1c9;let _0xf467f8=_0x4c3fb5[_0x55b37b];return _0xf467f8;},a25_0x55b3(_0x21653c,_0xef3820);}const awsSDK=require(a25_0x272dff(0x275)),{logger}=require('../config/logger');exports['fetchVPCs']=_0x294553=>{const _0x261725=a25_0x272dff,_0x1113f0={'bstCx':function(_0x2a3d3e,_0x24ca02){return _0x2a3d3e===_0x24ca02;},'nHQoE':_0x261725(0x202),'XZYMx':_0x261725(0x1cd),'LxZrr':function(_0x24818b,_0x13855a){return _0x24818b(_0x13855a);},'PCfGA':_0x261725(0x278),'GMSyA':_0x261725(0x225),'ZrxIc':_0x261725(0x1e4),'kqKNc':function(_0x214ea6,_0x4402b1){return _0x214ea6(_0x4402b1);},'uvaeC':function(_0x5ca4f3,_0x2164c1){return _0x5ca4f3!==_0x2164c1;},'TuQgu':_0x261725(0x1fd)};return new Promise((_0x4724a9,_0x4a83e8)=>{const _0x541d36=_0x261725,_0x56fcb0={'eFGfb':function(_0x428511,_0x4097c8){const _0x44cddb=a25_0x55b3;return _0x1113f0[_0x44cddb(0x214)](_0x428511,_0x4097c8);},'QNUjG':function(_0x8d4f41,_0x458e09){const _0xc37b0a=a25_0x55b3;return _0x1113f0[_0xc37b0a(0x214)](_0x8d4f41,_0x458e09);},'RQlxQ':_0x1113f0[_0x541d36(0x21b)],'DESFH':function(_0x1fd2a0,_0x4f11cb){return _0x1113f0['bstCx'](_0x1fd2a0,_0x4f11cb);},'GqfkS':_0x1113f0[_0x541d36(0x26a)],'Eiovm':_0x1113f0[_0x541d36(0x213)],'yRfUr':function(_0x55405c,_0x30dd9f){return _0x1113f0['kqKNc'](_0x55405c,_0x30dd9f);}};if(_0x1113f0['uvaeC'](_0x1113f0[_0x541d36(0x21a)],_0x1113f0[_0x541d36(0x21a)]))_0x56fcb0['eFGfb'](_0xd13791,_0x32eed3);else{const _0x5db4af={};_0x5db4af[_0x541d36(0x1ea)]=_0x1113f0[_0x541d36(0x21b)],_0x5db4af[_0x541d36(0x22a)]=_0x294553;const _0x2e04a8=new awsSDK[(_0x541d36(0x264))](_0x5db4af);_0x2e04a8['describeVpcs']()['promise']()[_0x541d36(0x1ff)](_0x1d41d3=>{const _0x2ba113=_0x541d36;_0x1113f0[_0x2ba113(0x273)](_0x1113f0[_0x2ba113(0x233)],_0x1113f0['XZYMx'])?_0x56fcb0[_0x2ba113(0x247)](_0x45072d,{}):_0x1113f0['LxZrr'](_0x4724a9,_0x1d41d3);})[_0x541d36(0x243)](_0x35a584=>{const _0x557b18=_0x541d36,_0x242e6c={'FMpky':function(_0x5b1e9e,_0x116c79){const _0x4213dc=a25_0x55b3;return _0x56fcb0[_0x4213dc(0x247)](_0x5b1e9e,_0x116c79);},'WGCfc':function(_0x386b0c,_0x2092e1){const _0x5702cd=a25_0x55b3;return _0x56fcb0[_0x5702cd(0x209)](_0x386b0c,_0x2092e1);},'peaSn':_0x56fcb0[_0x557b18(0x22e)]};if(_0x56fcb0[_0x557b18(0x1cc)](_0x56fcb0[_0x557b18(0x244)],_0x56fcb0[_0x557b18(0x200)])){const _0x1d0e78={'SHMcg':function(_0x521a14,_0x39bbe1){const _0x55b090=_0x557b18;return _0x242e6c[_0x55b090(0x1d6)](_0x521a14,_0x39bbe1);}},_0x204fda={};_0x204fda[_0x557b18(0x1ea)]=_0x242e6c[_0x557b18(0x20e)],_0x204fda[_0x557b18(0x22a)]=_0x1d1084;const _0x5d60d2=new _0x5e9ecb[(_0x557b18(0x264))](_0x204fda);_0x5d60d2[_0x557b18(0x222)]()[_0x557b18(0x21c)]()[_0x557b18(0x1ff)](_0x130758=>{const _0x3ba028=_0x557b18;_0x1d0e78[_0x3ba028(0x1cf)](_0x3fd821,_0x130758);})[_0x557b18(0x243)](_0x5892e4=>{const _0x330544=_0x557b18;_0x5d7761[_0x330544(0x274)](_0x330544(0x237)+_0x5892e4),_0x242e6c['FMpky'](_0x75b2a8,_0x5892e4);});}else logger[_0x557b18(0x274)](_0x557b18(0x237)+_0x35a584),_0x56fcb0['yRfUr'](_0x4a83e8,_0x35a584);});}});},exports[a25_0x272dff(0x1d0)]=_0x5ac787=>{const _0x175196=a25_0x272dff,_0x1598d3={'dpNXS':function(_0x215e57,_0x30ac0b){return _0x215e57(_0x30ac0b);},'wzXCq':'2016-11-15','fdJeX':function(_0x1ac4f6,_0x5b4ee4){return _0x1ac4f6!==_0x5b4ee4;},'gKTdG':_0x175196(0x231),'NlrIx':_0x175196(0x1fa),'eMDlc':function(_0x82c11b,_0x266bfa){return _0x82c11b===_0x266bfa;},'icjLw':_0x175196(0x22d),'dufqS':function(_0x39e754,_0x3ed014){return _0x39e754(_0x3ed014);},'AuNyS':function(_0x1c05fc,_0xddfc83){return _0x1c05fc(_0xddfc83);},'diDyK':function(_0x2ea1d0,_0x4b1f8a){return _0x2ea1d0===_0x4b1f8a;},'OgOAU':_0x175196(0x1d5),'acAAv':_0x175196(0x24b)},_0x5013ab=new awsSDK['S3']();return new Promise((_0x12d9e5,_0x2f3b5d)=>{const _0x540040=_0x175196,_0x52f351={'LLkif':_0x1598d3[_0x540040(0x256)],'TjDSn':function(_0x133492,_0x554648){return _0x1598d3['dufqS'](_0x133492,_0x554648);},'hvqta':function(_0x154c2b,_0x40bc57){return _0x1598d3['AuNyS'](_0x154c2b,_0x40bc57);}};if(_0x1598d3['diDyK'](_0x1598d3[_0x540040(0x276)],_0x1598d3['acAAv'])){const _0x4aa9bb={'VPZBk':function(_0x4c342e,_0x130f94){const _0x2a0024=_0x540040;return _0x1598d3[_0x2a0024(0x255)](_0x4c342e,_0x130f94);},'BXDBl':function(_0x2a9005,_0x3649b3){const _0x25edbb=_0x540040;return _0x1598d3[_0x25edbb(0x255)](_0x2a9005,_0x3649b3);}};return new _0x42b90b((_0xb4210e,_0x27b1f3)=>{const _0x44b1be=_0x540040,_0x52ad9={};_0x52ad9['apiVersion']=_0x52f351['LLkif'],_0x52ad9[_0x44b1be(0x22a)]=_0xb76afe;const _0x219596=new _0x52a7ba[(_0x44b1be(0x264))](_0x52ad9);_0x219596[_0x44b1be(0x265)]()[_0x44b1be(0x21c)]()[_0x44b1be(0x1ff)](_0x5b9c29=>{const _0x51c0b6=_0x44b1be;_0x4aa9bb[_0x51c0b6(0x219)](_0xb4210e,_0x5b9c29);})[_0x44b1be(0x243)](_0x4862aa=>{const _0x5eb27a=_0x44b1be;_0x10b07b[_0x5eb27a(0x274)](_0x5eb27a(0x253)+_0x4862aa),_0x4aa9bb['BXDBl'](_0x27b1f3,_0x4862aa);});});}else{const _0x460394={};_0x460394['Bucket']=_0x5ac787,_0x5013ab['headBucket'](_0x460394)[_0x540040(0x21c)]()[_0x540040(0x1ff)](_0x3e7ec7=>{const _0x4adaca=_0x540040,_0x1b05ea={'iVRMo':function(_0x5d11ee,_0x28dd0e){const _0x1928a4=a25_0x55b3;return _0x1598d3[_0x1928a4(0x255)](_0x5d11ee,_0x28dd0e);},'XJVlD':_0x1598d3[_0x4adaca(0x256)]};if(_0x1598d3[_0x4adaca(0x240)](_0x1598d3[_0x4adaca(0x272)],_0x1598d3['NlrIx']))logger[_0x4adaca(0x23a)](_0x4adaca(0x1f1)+_0x5ac787+_0x4adaca(0x242)),_0x1598d3[_0x4adaca(0x255)](_0x12d9e5,!![]);else{const _0x279cd5={'TVeUe':function(_0x545ba1,_0x3146aa){const _0x5e105b=_0x4adaca;return _0x52f351[_0x5e105b(0x228)](_0x545ba1,_0x3146aa);}};return new _0x53c434((_0x9ac6a6,_0x23a7d9)=>{const _0x30a83d=_0x4adaca,_0x5c4023={'NgDfL':function(_0x183084,_0x43aa30){const _0x42dbca=a25_0x55b3;return _0x1b05ea[_0x42dbca(0x26d)](_0x183084,_0x43aa30);}},_0x4e062e={};_0x4e062e['apiVersion']=_0x1b05ea['XJVlD'],_0x4e062e['region']=_0x4af4d7;const _0x4f125f=new _0x40fd9e[(_0x30a83d(0x264))](_0x4e062e);_0x4f125f[_0x30a83d(0x203)]()[_0x30a83d(0x21c)]()['then'](_0x4c3ac4=>{const _0x260dc6=_0x30a83d;_0x5c4023[_0x260dc6(0x24e)](_0x9ac6a6,_0x4c3ac4);})['catch'](_0x55656c=>{const _0x3c1a25=_0x30a83d;_0x245e56[_0x3c1a25(0x274)](_0x3c1a25(0x1ce)+_0x55656c),_0x279cd5[_0x3c1a25(0x1d8)](_0x23a7d9,_0x55656c);});});}})['catch'](()=>{const _0x89f2fe=_0x540040;_0x1598d3[_0x89f2fe(0x25f)](_0x1598d3[_0x89f2fe(0x208)],_0x1598d3['icjLw'])?(logger['info'](_0x89f2fe(0x1f1)+_0x5ac787+_0x89f2fe(0x26b)),_0x1598d3[_0x89f2fe(0x252)](_0x12d9e5,![])):_0x52f351['hvqta'](_0x308349,_0x41f0d1);});}});},exports['fetchSubnets']=_0x1f0351=>{const _0x1f9288=a25_0x272dff,_0x64b060={'Rqtki':function(_0x1a44fd,_0x1e9033){return _0x1a44fd(_0x1e9033);},'HVmHL':function(_0x459246,_0x5b1f47){return _0x459246===_0x5b1f47;},'SxAYS':_0x1f9288(0x238),'lIVLU':_0x1f9288(0x268),'sHMqr':function(_0x433416,_0x20ea88){return _0x433416!==_0x20ea88;},'xqzao':_0x1f9288(0x1e2),'ajWir':_0x1f9288(0x20c),'oglWJ':function(_0xf6cfc1,_0x1fd57f){return _0xf6cfc1(_0x1fd57f);},'pCZuL':function(_0x36eb4b,_0x533851){return _0x36eb4b(_0x533851);},'whcfG':'KvwOa','LkuZS':_0x1f9288(0x1df),'ejgOP':_0x1f9288(0x278)};return new Promise((_0x4a32ae,_0x4d3aa2)=>{const _0x24974e=_0x1f9288,_0xcd0a9={'epAHb':function(_0x5cccee,_0x3922f8){const _0x4fab32=a25_0x55b3;return _0x64b060[_0x4fab32(0x1dd)](_0x5cccee,_0x3922f8);},'dqngt':function(_0x570a0f,_0x29d1e8){const _0x3879bc=a25_0x55b3;return _0x64b060[_0x3879bc(0x212)](_0x570a0f,_0x29d1e8);},'NWLsa':_0x64b060[_0x24974e(0x211)],'BnsQz':_0x64b060[_0x24974e(0x22b)],'oUxps':function(_0x54d1cd,_0x57104a){return _0x64b060['oglWJ'](_0x54d1cd,_0x57104a);},'XuZGg':function(_0x1ff00c,_0x38f516){const _0x3e7045=_0x24974e;return _0x64b060[_0x3e7045(0x24f)](_0x1ff00c,_0x38f516);}};if(_0x64b060[_0x24974e(0x212)](_0x64b060[_0x24974e(0x267)],_0x64b060['LkuZS'])){const _0x883c06={};_0x883c06['apiVersion']=_0x64b060[_0x24974e(0x23f)],_0x883c06[_0x24974e(0x22a)]=_0x1f0351;const _0x32cc1f=new awsSDK['EC2'](_0x883c06);_0x32cc1f[_0x24974e(0x265)]()['promise']()[_0x24974e(0x1ff)](_0x108c62=>{const _0x3c1259=_0x24974e,_0x1635cd={'PWUuo':function(_0x5b7135,_0x3ec6b6){const _0x150513=a25_0x55b3;return _0xcd0a9[_0x150513(0x236)](_0x5b7135,_0x3ec6b6);}};_0xcd0a9[_0x3c1259(0x270)](_0xcd0a9[_0x3c1259(0x201)],_0xcd0a9[_0x3c1259(0x201)])?(_0x3525b2['error'](_0x3c1259(0x23d)+_0x15dc73+':\x20'+_0x1ca3d6),_0x1635cd[_0x3c1259(0x1fc)](_0x2d6641,_0xc008c6)):_0xcd0a9[_0x3c1259(0x236)](_0x4a32ae,_0x108c62);})[_0x24974e(0x243)](_0x16f2d6=>{const _0x167475=_0x24974e,_0x11051d={'LTHCe':function(_0x243bd7,_0x24cbe6){const _0x2bc76c=a25_0x55b3;return _0x64b060[_0x2bc76c(0x1dd)](_0x243bd7,_0x24cbe6);}};if(_0x64b060[_0x167475(0x1e3)](_0x64b060[_0x167475(0x1d7)],_0x64b060['lIVLU'])){const _0x17219d={'ZJsmO':function(_0x599300,_0x2a9f17){const _0x4e7999=_0x167475;return _0xcd0a9[_0x4e7999(0x236)](_0x599300,_0x2a9f17);}},_0x7205ae={};_0x7205ae[_0x167475(0x1ea)]=_0xcd0a9[_0x167475(0x21f)];const _0x29cf5c=new _0x4aca58[(_0x167475(0x245))](_0x7205ae),_0x4ed89e={};_0x4ed89e[_0x167475(0x254)]=_0x673779,_0x29cf5c[_0x167475(0x1d3)](_0x4ed89e)['promise']()[_0x167475(0x1ff)](_0x4ae27c=>{const _0x1ed38f=_0x167475;_0x11051d[_0x1ed38f(0x25e)](_0x5819ee,_0x4ae27c[_0x1ed38f(0x1e9)][_0x1ed38f(0x1e1)]['oidc']['issuer']);})[_0x167475(0x243)](_0x19abda=>{const _0x5e4e3e=_0x167475;_0x448fb7[_0x5e4e3e(0x274)](_0x5e4e3e(0x23d)+_0x3d572d+':\x20'+_0x19abda),_0x17219d[_0x5e4e3e(0x215)](_0x4d9c55,_0x19abda);});}else logger['error'](_0x167475(0x253)+_0x16f2d6),_0x64b060[_0x167475(0x1dd)](_0x4d3aa2,_0x16f2d6);});}else{const _0x1b9332={};_0x1b9332[_0x24974e(0x1f3)]=_0x1318a0,_0x51b6b7[_0x24974e(0x262)](_0x1b9332)[_0x24974e(0x21c)]()['then'](_0x5439cc=>{const _0x3af644=_0x24974e;_0x53f1bd[_0x3af644(0x23a)](_0x3af644(0x1f1)+_0x4dcfce+_0x3af644(0x242)),_0xcd0a9[_0x3af644(0x1f9)](_0x5d173d,!![]);})['catch'](()=>{const _0x25b6cf=_0x24974e;_0x4cbdac[_0x25b6cf(0x1ed)](_0x25b6cf(0x1f1)+_0x3a8091+_0x25b6cf(0x26b)),_0xcd0a9[_0x25b6cf(0x257)](_0xeacda0,![]);});}});},exports['fetchSecurityGroups']=_0x5dc877=>{const _0x292028=a25_0x272dff,_0x59c96c={'vYKXb':function(_0xf78108,_0x1f93ce){return _0xf78108(_0x1f93ce);},'oqVRk':function(_0x1ab578,_0x1ac137){return _0x1ab578!==_0x1ac137;},'lXXnE':_0x292028(0x210),'XUEUU':'NMPjc','HEcew':function(_0x5bb446,_0x537bbe){return _0x5bb446(_0x537bbe);},'SthGH':function(_0x530591,_0x43f339){return _0x530591(_0x43f339);},'UqdXi':function(_0x19b2de,_0x3481be){return _0x19b2de!==_0x3481be;},'PHRBv':'HDqrh','ltRhd':function(_0x477037,_0x14edb2){return _0x477037(_0x14edb2);},'NJexR':function(_0x37ee88,_0x2e455b){return _0x37ee88===_0x2e455b;},'KDTGM':'aWbEd','KfyiD':_0x292028(0x248),'eAfEG':_0x292028(0x278)};return new Promise((_0x5c0711,_0x3f6189)=>{const _0x18fa08=_0x292028,_0x161382={'wJuLu':function(_0x51ccbe,_0x521fea){const _0x3a5aeb=a25_0x55b3;return _0x59c96c[_0x3a5aeb(0x24d)](_0x51ccbe,_0x521fea);},'Edaqb':function(_0x1753b9,_0x1276ad){return _0x59c96c['SthGH'](_0x1753b9,_0x1276ad);},'SNjuf':function(_0x12e5d2,_0x26d450){const _0x1cc5c5=a25_0x55b3;return _0x59c96c[_0x1cc5c5(0x229)](_0x12e5d2,_0x26d450);},'NVCTg':_0x59c96c['PHRBv'],'qhZlU':function(_0x26da09,_0xbb393e){return _0x59c96c['ltRhd'](_0x26da09,_0xbb393e);}};if(_0x59c96c[_0x18fa08(0x1fe)](_0x59c96c['KDTGM'],_0x59c96c[_0x18fa08(0x1f7)]))_0x15d46f['info'](_0x18fa08(0x1f1)+_0x4aa610+_0x18fa08(0x26b)),_0x161382[_0x18fa08(0x226)](_0x1753fc,![]);else{const _0x2720f7={};_0x2720f7['apiVersion']=_0x59c96c[_0x18fa08(0x258)],_0x2720f7[_0x18fa08(0x22a)]=_0x5dc877;const _0x434c63=new awsSDK[(_0x18fa08(0x264))](_0x2720f7);_0x434c63[_0x18fa08(0x203)]()[_0x18fa08(0x21c)]()[_0x18fa08(0x1ff)](_0x4ea784=>{const _0x2b29ab=_0x18fa08,_0x58760c={'Hekbk':function(_0x49d4e7,_0x38326f){const _0x1f40e6=a25_0x55b3;return _0x59c96c[_0x1f40e6(0x24d)](_0x49d4e7,_0x38326f);}};_0x59c96c[_0x2b29ab(0x1f8)](_0x59c96c[_0x2b29ab(0x235)],_0x59c96c[_0x2b29ab(0x25c)])?_0x59c96c['HEcew'](_0x5c0711,_0x4ea784):(_0x1e5bd9[_0x2b29ab(0x274)](_0x2b29ab(0x1ce)+_0x9aa18b),_0x58760c[_0x2b29ab(0x260)](_0x1915d1,_0x489352));})[_0x18fa08(0x243)](_0x52bc46=>{const _0x1e30a1=_0x18fa08,_0x4832d7={'NdeFe':function(_0x2b07e5,_0x12037c){const _0x4c445a=a25_0x55b3;return _0x161382[_0x4c445a(0x218)](_0x2b07e5,_0x12037c);}};_0x161382[_0x1e30a1(0x230)](_0x161382['NVCTg'],_0x161382[_0x1e30a1(0x1e5)])?(_0x14e6be['error'](_0x1e30a1(0x23b)+_0x1bf3ef),_0x4832d7[_0x1e30a1(0x263)](_0x410482,_0x57b440)):(logger[_0x1e30a1(0x274)](_0x1e30a1(0x1ce)+_0x52bc46),_0x161382['qhZlU'](_0x3f6189,_0x52bc46));});}});},exports[a25_0x272dff(0x266)]=()=>{const _0x1a3375=a25_0x272dff,_0x4c891d={'WFALl':function(_0x33b19f,_0x3b5b2d){return _0x33b19f(_0x3b5b2d);},'nBgRQ':'2016-11-15','VKFcR':function(_0x156cbc,_0x4520bc){return _0x156cbc===_0x4520bc;},'CYLdJ':_0x1a3375(0x261),'ZoBgJ':function(_0xdbc81d,_0x149a67){return _0xdbc81d!==_0x149a67;},'SREIC':_0x1a3375(0x259),'fzOAi':_0x1a3375(0x221),'rhcgq':_0x1a3375(0x1e6),'JMpZc':_0x1a3375(0x204),'dVWVQ':function(_0xddad02,_0x42defe){return _0xddad02!==_0x42defe;},'ytjtF':_0x1a3375(0x23e)};return new Promise((_0x2cc628,_0x31d0c4)=>{const _0x1b14b1=_0x1a3375,_0x37caad={'TcbKw':function(_0x2901d5,_0x25fcfc){const _0xe37018=a25_0x55b3;return _0x4c891d[_0xe37018(0x1d9)](_0x2901d5,_0x25fcfc);},'xbklG':_0x4c891d['nBgRQ'],'JqYhL':function(_0x38910d,_0x287487){const _0x2892c9=a25_0x55b3;return _0x4c891d[_0x2892c9(0x1d9)](_0x38910d,_0x287487);},'MMuhZ':function(_0x3ecc1c,_0x4917a5){const _0x16691d=a25_0x55b3;return _0x4c891d[_0x16691d(0x24a)](_0x3ecc1c,_0x4917a5);},'TnvFS':_0x4c891d[_0x1b14b1(0x25b)],'PGoQU':function(_0x52baf6,_0x52be99){const _0x53853a=_0x1b14b1;return _0x4c891d[_0x53853a(0x1cb)](_0x52baf6,_0x52be99);},'FgmBq':_0x4c891d['SREIC'],'jMQbz':_0x4c891d['fzOAi'],'ExmBJ':function(_0x48fd56,_0xc51480){return _0x4c891d['WFALl'](_0x48fd56,_0xc51480);},'XxuAX':_0x4c891d[_0x1b14b1(0x1f0)],'OftJy':_0x4c891d[_0x1b14b1(0x20a)],'xkGKl':function(_0x122eeb,_0x17ae3a){return _0x4c891d['WFALl'](_0x122eeb,_0x17ae3a);}};if(_0x4c891d['dVWVQ'](_0x4c891d['ytjtF'],_0x4c891d[_0x1b14b1(0x1dc)]))_0x4c891d[_0x1b14b1(0x1d9)](_0x455985,_0x246f3e);else{const _0x29c72b={};_0x29c72b[_0x1b14b1(0x1ea)]=_0x4c891d[_0x1b14b1(0x206)];const _0x588c7d=new awsSDK[(_0x1b14b1(0x264))](_0x29c72b);_0x588c7d[_0x1b14b1(0x1d1)]()[_0x1b14b1(0x21c)]()[_0x1b14b1(0x1ff)]((_0x1fa4c1,_0x12c875)=>{const _0x42c642=_0x1b14b1,_0x1f2461={'gWyiX':function(_0x3c50b2,_0x69dbcd){const _0x1019c0=a25_0x55b3;return _0x37caad[_0x1019c0(0x1fb)](_0x3c50b2,_0x69dbcd);},'APRRo':_0x37caad[_0x42c642(0x24c)]};if(_0x37caad[_0x42c642(0x25a)](_0x37caad[_0x42c642(0x279)],_0x37caad[_0x42c642(0x279)])){if(_0x37caad[_0x42c642(0x1f6)](_0x1fa4c1,undefined)&&_0x37caad['PGoQU'](_0x1fa4c1['Regions'],undefined)){if(_0x37caad['PGoQU'](_0x37caad[_0x42c642(0x20b)],_0x37caad[_0x42c642(0x20b)])){const _0x1b6fb0={'JcRue':function(_0x2ad016,_0x2c3689){const _0x942314=_0x42c642;return _0x37caad[_0x942314(0x207)](_0x2ad016,_0x2c3689);},'conhH':_0x37caad[_0x42c642(0x24c)]};return new _0x14dd0a((_0x2c19b3,_0x2ace84)=>{const _0x538610=_0x42c642,_0x4c3931={'bKpML':function(_0x549ea4,_0x198e73){const _0x2847f7=a25_0x55b3;return _0x1b6fb0[_0x2847f7(0x1f2)](_0x549ea4,_0x198e73);}},_0x15b49f={};_0x15b49f['apiVersion']=_0x1b6fb0[_0x538610(0x1f5)],_0x15b49f[_0x538610(0x22a)]=_0xe668f0;const _0x206ac6=new _0x4c81d1[(_0x538610(0x264))](_0x15b49f);_0x206ac6[_0x538610(0x222)]()[_0x538610(0x21c)]()[_0x538610(0x1ff)](_0x5b9914=>{const _0x52bf8e=_0x538610;_0x4c3931[_0x52bf8e(0x239)](_0x2c19b3,_0x5b9914);})[_0x538610(0x243)](_0x491768=>{const _0x6c6e3=_0x538610;_0x2d7c0c[_0x6c6e3(0x274)](_0x6c6e3(0x237)+_0x491768),_0x4c3931[_0x6c6e3(0x239)](_0x2ace84,_0x491768);});});}else _0x37caad[_0x42c642(0x207)](_0x2cc628,_0x1fa4c1[_0x42c642(0x234)]);}else _0x37caad['MMuhZ'](_0x37caad[_0x42c642(0x250)],_0x37caad[_0x42c642(0x250)])?_0x37caad['JqYhL'](_0x2cc628,{}):_0x37caad['JqYhL'](_0x53827f,_0x245671[_0x42c642(0x1e9)]['identity'][_0x42c642(0x1ef)][_0x42c642(0x246)]);}else{const _0x54c25d={'NpDch':function(_0x341ea5,_0x5d39a0){const _0x37a27d=_0x42c642;return _0x1f2461[_0x37a27d(0x26f)](_0x341ea5,_0x5d39a0);}},_0x30ef96={};_0x30ef96[_0x42c642(0x1ea)]=_0x1f2461['APRRo'],_0x30ef96[_0x42c642(0x22a)]=_0x2afaec;const _0x223c4c=new _0x41dd02[(_0x42c642(0x264))](_0x30ef96);_0x223c4c[_0x42c642(0x265)]()[_0x42c642(0x21c)]()[_0x42c642(0x1ff)](_0x54aa80=>{const _0x1fab3c=_0x42c642;_0x1f2461[_0x1fab3c(0x26f)](_0x2c77b2,_0x54aa80);})['catch'](_0xbe9559=>{const _0x34c961=_0x42c642;_0x26591d[_0x34c961(0x274)](_0x34c961(0x253)+_0xbe9559),_0x54c25d[_0x34c961(0x251)](_0x1199f6,_0xbe9559);});}})[_0x1b14b1(0x243)](_0x3465d3=>{const _0x405d81=_0x1b14b1,_0x4dd9fe={'POLwH':function(_0x2d5e74,_0x1cacbc){const _0x287773=a25_0x55b3;return _0x37caad[_0x287773(0x1e8)](_0x2d5e74,_0x1cacbc);}};_0x37caad['MMuhZ'](_0x37caad[_0x405d81(0x20d)],_0x37caad[_0x405d81(0x1de)])?(_0x5ec980[_0x405d81(0x274)](_0x405d81(0x253)+_0x53c83d),_0x4dd9fe[_0x405d81(0x1db)](_0x2f34e7,_0x36ec91)):(logger[_0x405d81(0x274)](_0x405d81(0x23b)+_0x3465d3),_0x37caad[_0x405d81(0x1f4)](_0x31d0c4,_0x3465d3));});}});},exports['getOidcUrl']=_0x4518d6=>{const _0x12c89a=a25_0x272dff,_0x3c26ff={'iaXhN':function(_0x1371c0,_0x247ae5){return _0x1371c0!==_0x247ae5;},'ETSWO':_0x12c89a(0x22f),'qITZC':function(_0x353dc9,_0x651bf3){return _0x353dc9(_0x651bf3);},'dVrZR':function(_0x59f592,_0x148ded){return _0x59f592(_0x148ded);},'dedTs':function(_0x40a6f7,_0x48d892){return _0x40a6f7!==_0x48d892;},'TBTsW':_0x12c89a(0x22c),'jkzVa':_0x12c89a(0x1c9),'xVczy':function(_0xbb1d36,_0x3e236e){return _0xbb1d36(_0x3e236e);},'nmKzt':function(_0x5b9bc2,_0x2b6442){return _0x5b9bc2(_0x2b6442);},'FjPLk':_0x12c89a(0x232),'BgkxT':_0x12c89a(0x1e0),'vITqe':_0x12c89a(0x20c)};return new Promise((_0x9fe77f,_0x82f6cc)=>{const _0x2be5b4=_0x12c89a,_0x1177f7={'wduAK':function(_0x306b16,_0x582e28){const _0x4a7f81=a25_0x55b3;return _0x3c26ff[_0x4a7f81(0x249)](_0x306b16,_0x582e28);},'UuQbU':function(_0x5b1cf7,_0x4eece7){return _0x3c26ff['dVrZR'](_0x5b1cf7,_0x4eece7);}};if(_0x3c26ff[_0x2be5b4(0x25d)](_0x3c26ff[_0x2be5b4(0x217)],_0x3c26ff[_0x2be5b4(0x241)])){const _0x2eab84={};_0x2eab84[_0x2be5b4(0x1ea)]=_0x3c26ff['vITqe'];const _0x1c6451=new awsSDK[(_0x2be5b4(0x245))](_0x2eab84),_0x3d809b={};_0x3d809b[_0x2be5b4(0x254)]=_0x4518d6,_0x1c6451[_0x2be5b4(0x1d3)](_0x3d809b)[_0x2be5b4(0x21c)]()[_0x2be5b4(0x1ff)](_0xc128a=>{const _0x50ae11=_0x2be5b4;_0x3c26ff[_0x50ae11(0x25d)](_0x3c26ff[_0x50ae11(0x220)],_0x3c26ff[_0x50ae11(0x220)])?_0x1177f7[_0x50ae11(0x216)](_0x46acdc,_0x59c446[_0x50ae11(0x234)]):_0x3c26ff[_0x50ae11(0x269)](_0x9fe77f,_0xc128a['cluster']['identity']['oidc'][_0x50ae11(0x246)]);})['catch'](_0x6d40a6=>{const _0x1893b4=_0x2be5b4,_0x402eac={'mDYeA':function(_0x4fc393,_0x5ca80c){const _0x342f11=a25_0x55b3;return _0x3c26ff[_0x342f11(0x25d)](_0x4fc393,_0x5ca80c);},'DNisr':function(_0x44cd7b,_0x2c64ea){return _0x3c26ff['qITZC'](_0x44cd7b,_0x2c64ea);},'oLDzt':function(_0x5c2d01,_0x319848){const _0xf22694=a25_0x55b3;return _0x3c26ff[_0xf22694(0x23c)](_0x5c2d01,_0x319848);}};_0x3c26ff[_0x1893b4(0x1ec)](_0x3c26ff['TBTsW'],_0x3c26ff[_0x1893b4(0x1e7)])?(logger[_0x1893b4(0x274)](_0x1893b4(0x23d)+_0x4518d6+':\x20'+_0x6d40a6),_0x3c26ff[_0x1893b4(0x249)](_0x82f6cc,_0x6d40a6)):_0x402eac['mDYeA'](_0x41b70d,_0x2a9f31)&&_0x402eac[_0x1893b4(0x205)](_0x3479ac[_0x1893b4(0x234)],_0x3ca9bb)?_0x402eac['DNisr'](_0x7d3def,_0x403a8b[_0x1893b4(0x234)]):_0x402eac['oLDzt'](_0x40efdd,{});});}else{const _0x39e7f7={'SyKgf':function(_0xe071b8,_0x7ff414){return _0x3c26ff['nmKzt'](_0xe071b8,_0x7ff414);}},_0x5eb378=new _0x42a609['S3']();return new _0x5cb166((_0x2b6f3c,_0x179e8a)=>{const _0x46efdd=_0x2be5b4,_0x345d1f={'DeuxC':function(_0x9e26b5,_0x1ab84a){const _0x4d437e=a25_0x55b3;return _0x1177f7[_0x4d437e(0x271)](_0x9e26b5,_0x1ab84a);}},_0x3411d6={};_0x3411d6[_0x46efdd(0x1f3)]=_0x1fea5b,_0x5eb378[_0x46efdd(0x262)](_0x3411d6)[_0x46efdd(0x21c)]()['then'](_0x1f5024=>{const _0x55c5ee=_0x46efdd;_0xb265a7[_0x55c5ee(0x23a)](_0x55c5ee(0x1f1)+_0x51c012+_0x55c5ee(0x242)),_0x39e7f7[_0x55c5ee(0x1da)](_0x2b6f3c,!![]);})[_0x46efdd(0x243)](()=>{const _0x198da6=_0x46efdd;_0x239f77[_0x198da6(0x1ed)](_0x198da6(0x1f1)+_0x4121ee+_0x198da6(0x26b)),_0x345d1f[_0x198da6(0x1ee)](_0x2b6f3c,![]);});});}});},exports[a25_0x272dff(0x277)]=awsSDK;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a26_0x4c6083=a26_0x148b;(function(_0x1666ef,_0x12775a){const _0x47c2e8=a26_0x148b,_0x426cf5=_0x1666ef();while(!![]){try{const _0x223db1=parseInt(_0x47c2e8(0xf4))/0x1+parseInt(_0x47c2e8(0x122))/0x2+parseInt(_0x47c2e8(0x11d))/0x3*(parseInt(_0x47c2e8(0x120))/0x4)+parseInt(_0x47c2e8(0x117))/0x5*(parseInt(_0x47c2e8(0x105))/0x6)+-parseInt(_0x47c2e8(0xf5))/0x7*(-parseInt(_0x47c2e8(0xf7))/0x8)+parseInt(_0x47c2e8(0x11a))/0x9+-parseInt(_0x47c2e8(0x11b))/0xa;if(_0x223db1===_0x12775a)break;else _0x426cf5['push'](_0x426cf5['shift']());}catch(_0x125ee0){_0x426cf5['push'](_0x426cf5['shift']());}}}(a26_0x35c7,0x573e1));const fs=require('fs'),path=require('path'),yaml=require(a26_0x4c6083(0x123)),{CLOUDFORMATION_SCHEMA}=require(a26_0x4c6083(0xf6)),Promise=require(a26_0x4c6083(0x10e)),AWS=require(a26_0x4c6083(0x11e))[a26_0x4c6083(0x116)],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a26_0x4c6083(0x10f)),{logger}=require(a26_0x4c6083(0x11f));function a26_0x35c7(){const _0x2f8597=['autoscaler-role-creation.yaml','Resources','push','zaPuu','525441ZUClcC','2469733sOlbvZ','js-yaml-cloudformation-schema','8EkZcQO','QEHbo','Parameters','toString','browserstack:cluster','2010-05-15','mLCOQ','join','CloudFormation','createStack','load','utf-8','Capabilities','stackCreateComplete','6RJAnhA','nKNHJ','Key','DELETE','CZHfG','yJiKY','promise','wRwKZ','stringify','bluebird','../config/constants','apiVersion','promisifyAll','tkYna','templates','Value','Tags','awsObj','800460CgvTNz','readFileAsync','StackId','4226787NSLWvZ','20305530ZjKhUR','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','24KSadjR','./AWSUtils','../config/logger','150256PEeIoC','Properties','1158782RpvmbL','js-yaml','CAPABILITY_NAMED_IAM','valueOf'];a26_0x35c7=function(){return _0x2f8597;};return a26_0x35c7();}Promise[a26_0x4c6083(0x111)](fs);const addAutoscalerTags=async(_0x15e832,_0x5d431a,_0x12cb8c)=>{const _0x1e86f7=a26_0x4c6083;for(const _0x45758f in _0x15e832[_0x1e86f7(0xf1)]){_0x15e832[_0x1e86f7(0xf1)][_0x45758f][_0x1e86f7(0x121)]&&_0x15e832[_0x1e86f7(0xf1)][_0x45758f][_0x1e86f7(0x121)][_0x1e86f7(0x115)]&&_0x15e832[_0x1e86f7(0xf1)][_0x45758f][_0x1e86f7(0x121)][_0x1e86f7(0x115)][_0x1e86f7(0xf2)](..._0x12cb8c);}};function a26_0x148b(_0x5321bc,_0x30f2e0){const _0x35c739=a26_0x35c7();return a26_0x148b=function(_0x148bd1,_0x45669b){_0x148bd1=_0x148bd1-0xf0;let _0x10b22c=_0x35c739[_0x148bd1];return _0x10b22c;},a26_0x148b(_0x5321bc,_0x30f2e0);}exports['createAutoscalerStack']=async _0x1836ff=>{const _0x41f286=a26_0x4c6083,_0x2f7785={'vlZSq':_0x41f286(0xfb),'lzhoU':'browserstack:creationDate','nhkAs':_0x41f286(0xfc),'zaPuu':_0x41f286(0x113),'ZNBpg':_0x41f286(0xf0),'yJiKY':_0x41f286(0x102),'CZHfG':function(_0x2d524a,_0x40c771,_0x222e0f,_0x3f4c81){return _0x2d524a(_0x40c771,_0x222e0f,_0x3f4c81);},'wRwKZ':_0x41f286(0x108),'tkYna':'ClusterName','mLCOQ':_0x41f286(0x124),'QEHbo':_0x41f286(0x11c),'nKNHJ':_0x41f286(0x104)},_0x31f0af=COMMON_HST_TAGS,_0x400612={};_0x400612[_0x41f286(0x107)]=_0x2f7785['vlZSq'],_0x400612[_0x41f286(0x114)]=_0x1836ff,_0x31f0af[_0x41f286(0xf2)](_0x400612),_0x31f0af['push']({'Key':_0x2f7785['lzhoU'],'Value':new Date()[_0x41f286(0x125)]()[_0x41f286(0xfa)]()});const _0x5df538={};_0x5df538[_0x41f286(0x110)]=_0x2f7785['nhkAs'];const _0x1c70d0=new AWS[(_0x41f286(0xff))](_0x5df538),_0x49770a=await fs[_0x41f286(0x118)](path[_0x41f286(0xfe)](__dirname,'..',_0x2f7785[_0x41f286(0xf3)],_0x2f7785['ZNBpg']),_0x2f7785[_0x41f286(0x10a)]),_0x28eb35={};_0x28eb35['schema']=CLOUDFORMATION_SCHEMA;const _0x4fdfc3=yaml[_0x41f286(0x101)](_0x49770a,_0x28eb35);_0x2f7785[_0x41f286(0x109)](addAutoscalerTags,_0x4fdfc3,_0x1836ff,_0x31f0af);const _0x1a358d=JSON[_0x41f286(0x10d)](_0x4fdfc3),_0x1d20ed={};_0x1d20ed['StackName']=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x1836ff,_0x1d20ed['OnFailure']=_0x2f7785[_0x41f286(0x10c)],_0x1d20ed['TemplateBody']=_0x1a358d,_0x1d20ed[_0x41f286(0xf9)]=[{'ParameterKey':_0x2f7785[_0x41f286(0x112)],'ParameterValue':_0x1836ff}],_0x1d20ed[_0x41f286(0x103)]=[_0x2f7785[_0x41f286(0xfd)]],_0x1d20ed[_0x41f286(0x115)]=_0x31f0af;const _0x4f6ea2=_0x1d20ed,_0x2c2068=await _0x1c70d0[_0x41f286(0x100)](_0x4f6ea2)[_0x41f286(0x10b)]();logger['debug'](_0x2f7785[_0x41f286(0xf8)]);const _0x2c448b={};return _0x2c448b['StackName']=_0x2c2068[_0x41f286(0x119)],_0x1c70d0['waitFor'](_0x2f7785[_0x41f286(0x106)],_0x2c448b)[_0x41f286(0x10b)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a27_0x406e72=a27_0x28d5;function a27_0x134d(){const _0xf8258f=['browserstack:creationDate','jiEkf','JtJQu','nfnnt','Outputs','instanceType','Subnet03Block','Properties','dDoiK','LZXaj','toString','MGJMx','XaHQV','NRbCV','StackId','iEiFG','aws-eks-cluster-dep.yaml','avYhJ','pXVGK','gtTWr','VdiWP','ozSeT','PWXFS','TpOKw','s3Bucket','ZguVn','NodeAutoScalingGroupMaxSize','2010-05-15','lNoZg','jBgQd','value','Subnet','load','NodeGroupName','vKLJl','Tags','TbfXg','ORQeU','VpcBlock','mOFCu','NsNpW','./AWSUtils','Subnets','DRvsH','1200012VNsPVB','ZoyKW','NodeAutoScalingGroupMinSizeWindows','JhAis','kMdml','yMdmm','CFTemplates','BLCcL','Capabilities','NodeAutoScalingGroupMinSize','5|0|3|4|1|2','dcncp','subnet-import.yaml','WdDpM','YCddU','KBlZR','vKwdi','fiPYs','browserstack:cluster','ParameterGroups','HMiLe','ResourcesVpcConfig','js-yaml-cloudformation-schema','TemplateBody','EKSCluster','1590785dcMfpf','hguUX','NodeInstanceType','Metadata','ThNrQ','forEach','YLnIr','Ref','yjXDP','NodeGroupNameWindows','dfwue','push','407070ovHAYI','0|5|2|4|1|3','hgyLH','SAkTZ','EFpkd','QmhoI','utf-8','KXUBp','34213qPQFKi','JtJRd','stringify','split','stackCreateComplete','waitFor','cxSOC','902752yPlNvy','subnet-create.yaml','Subnet02','YRvHT','UQacH','DELETE','nbUny','NodeImageId','bluebird','HOMIA','ZHLOt','valueOf','rpUOp','-Windows-NodeGroup','Subnet03','xbbLY','DAnko','schema','DZjOY','readFileAsync','gSTts','PxJed','GfXXl','WQOUl','CAPABILITY_NAMED_IAM','ami','keys','zcxvM','117172HBTHFq','YDKAQ','DRdGI','SODCT','awsObj','HNiWM','DNpMU','ovyAq','join','OnFailure','sqXKU','false','StackName','hizHD','dUGJI','oskBI','PatLL','Resources','fDqZs','jxsqR','AobjS','-NodeGroup','IqniP','Parameters','kqgGK','TZKoR','../config/logger','SyuTH','createClusterStack','3BeYoIx','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','../config/constants','EarTc','NodeGroupWindows','Key','hvfVV','vnRHn','VKcqi','padStart','path','MnOag','BHvll','lzboO','AWS::CloudFormation::Interface','Value','kintr','bixwx','cpNuH','RztEJ','apiVersion','obmcH','Subnet01Block','createStack','SubnetIds','aQZdm','ParameterKey','1874442NLItSG','ZmLhx','USpMU','promise','wAQZY','fENYw','promisifyAll','Ljtsp','KRUNL','tHMGp','debug','NodeGroup','VPC','vpc-import.yaml'];a27_0x134d=function(){return _0xf8258f;};return a27_0x134d();}function a27_0x28d5(_0x4f0a60,_0x21924c){const _0x134db3=a27_0x134d();return a27_0x28d5=function(_0x28d5bc,_0x232326){_0x28d5bc=_0x28d5bc-0x19c;let _0x5cd64a=_0x134db3[_0x28d5bc];return _0x5cd64a;},a27_0x28d5(_0x4f0a60,_0x21924c);}(function(_0x4db0b5,_0x4a40fd){const _0x289100=a27_0x28d5,_0x4ede93=_0x4db0b5();while(!![]){try{const _0x5521d5=-parseInt(_0x289100(0x236))/0x1+-parseInt(_0x289100(0x259))/0x2*(parseInt(_0x289100(0x1b4))/0x3)+-parseInt(_0x289100(0x209))/0x4+-parseInt(_0x289100(0x22e))/0x5+parseInt(_0x289100(0x1cf))/0x6+parseInt(_0x289100(0x222))/0x7+parseInt(_0x289100(0x23d))/0x8;if(_0x5521d5===_0x4a40fd)break;else _0x4ede93['push'](_0x4ede93['shift']());}catch(_0x292c5c){_0x4ede93['push'](_0x4ede93['shift']());}}}(a27_0x134d,0x2b872));const fs=require('fs'),path=require(a27_0x406e72(0x1be)),Promise=require(a27_0x406e72(0x245)),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require(a27_0x406e72(0x21f)),AWS=require('./AWSUtils')[a27_0x406e72(0x25d)],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a27_0x406e72(0x1b6)),{logger}=require(a27_0x406e72(0x1b1)),{isBucketPresent}=require(a27_0x406e72(0x206));Promise[a27_0x406e72(0x1d5)](fs);const mergeTemplates=(_0x1825ee,_0x3073de)=>{const _0x8aef1a=a27_0x406e72,_0x5caad6={'jiEkf':function(_0x1adb19,_0x6edaee){return _0x1adb19===_0x6edaee;},'QmhoI':'Sbqix','IqniP':function(_0x4d1c1a,_0x14655b){return _0x4d1c1a(_0x14655b);},'YRvHT':function(_0x596af1,_0x22be58,_0x25082d){return _0x596af1(_0x22be58,_0x25082d);},'VKcqi':function(_0x5e2c16,_0x55b0ee){return _0x5e2c16!==_0x55b0ee;},'ZHLOt':_0x8aef1a(0x1e5)};Object[_0x8aef1a(0x257)](_0x3073de)[_0x8aef1a(0x227)](_0x31ed8a=>{const _0x444af4=_0x8aef1a,_0x414e0b={'DRdGI':function(_0xdc4c25,_0x2a6806){const _0xf532a8=a27_0x28d5;return _0x5caad6[_0xf532a8(0x1ad)](_0xdc4c25,_0x2a6806);},'hizHD':function(_0x1f37e2,_0x392096,_0x200953){const _0x21ce8f=a27_0x28d5;return _0x5caad6[_0x21ce8f(0x240)](_0x1f37e2,_0x392096,_0x200953);}};if(_0x5caad6[_0x444af4(0x1bc)](_0x5caad6['ZHLOt'],_0x5caad6[_0x444af4(0x247)]))_0x2febf6[_0x444af4(0x1ae)]['push']({'ParameterKey':_0x444af4(0x1fc)+_0x414e0b[_0x444af4(0x25b)](_0x3ed726,_0xec45db)[_0x444af4(0x1bd)](0x2,'0'),'ParameterValue':_0x56177b[_0x444af4(0x1fb)]}),_0x4b731e+=0x1;else{var _0x574be7=_0x3073de[_0x31ed8a];Object[_0x444af4(0x257)](_0x574be7)[_0x444af4(0x227)](_0x40765e=>{const _0x42424f=_0x444af4;_0x5caad6[_0x42424f(0x1de)](_0x5caad6[_0x42424f(0x233)],_0x5caad6[_0x42424f(0x233)])?_0x1825ee[_0x31ed8a][_0x40765e]=_0x574be7[_0x40765e]:_0x414e0b[_0x42424f(0x1a4)](_0x5c59de,_0x119990,_0x7c39c7);});}});},addVPCData=async(_0x4e23f8,_0x375aa7)=>{const _0x4d35ac=a27_0x406e72,_0x441d2c={'nfnnt':_0x4d35ac(0x1da),'gSTts':_0x4d35ac(0x1b8),'zcxvM':function(_0x5592f4,_0x19390f){return _0x5592f4!==_0x19390f;},'ThNrQ':_0x4d35ac(0x235),'fENYw':_0x4d35ac(0x20f),'PWXFS':_0x4d35ac(0x1dc),'DAnko':_0x4d35ac(0x234),'xbbLY':function(_0x350791,_0x30ac9c,_0x41e54d){return _0x350791(_0x30ac9c,_0x41e54d);},'dUGJI':_0x4d35ac(0x1c2),'OhrXl':_0x4d35ac(0x1db),'TZKoR':function(_0x1b8c17,_0x4c028b){return _0x1b8c17!==_0x4c028b;},'mOFCu':'rkGwm','tHMGp':'vpc-create.yaml','iEiFG':function(_0x2599d6,_0xbfd643,_0x382686){return _0x2599d6(_0xbfd643,_0x382686);},'uSvMB':_0x4d35ac(0x203)};if(_0x375aa7){if(_0x441d2c[_0x4d35ac(0x258)](_0x441d2c[_0x4d35ac(0x226)],_0x441d2c[_0x4d35ac(0x226)])){for(const _0x3123df in _0x148385[_0x4d35ac(0x1a8)]){_0x2ec795['Resources'][_0x3123df]['Properties']&&_0xeb29b8['Resources'][_0x3123df][_0x4d35ac(0x1e4)][_0x4d35ac(0x200)]&&_0x55172a[_0x4d35ac(0x1a8)][_0x3123df][_0x4d35ac(0x1e4)][_0x4d35ac(0x200)]['push'](..._0x17f65d);}const _0x561dcc={};_0x366b57['forEach'](_0x3ae738=>{const _0x83878=_0x4d35ac;_0x561dcc[_0x3ae738[_0x83878(0x1b9)]]=_0x3ae738['Value'];}),_0x42069c[_0x4d35ac(0x1a8)][_0x441d2c[_0x4d35ac(0x1e0)]]['Properties']['Tags']=_0x561dcc,_0x4e4e7f[_0x4d35ac(0x1a8)][_0x441d2c[_0x4d35ac(0x251)]][_0x4d35ac(0x1e4)][_0x4d35ac(0x200)]=_0x561dcc;}else{const _0x1f76e3=await fs[_0x4d35ac(0x250)](path['join'](__dirname,'..',_0x441d2c[_0x4d35ac(0x1d4)],_0x441d2c[_0x4d35ac(0x1f3)]),_0x441d2c[_0x4d35ac(0x24d)]),_0x507b30={};_0x507b30[_0x4d35ac(0x24e)]=CLOUDFORMATION_SCHEMA;const _0x184fe0=yaml[_0x4d35ac(0x1fd)](_0x1f76e3,_0x507b30);_0x441d2c[_0x4d35ac(0x24c)](mergeTemplates,_0x4e23f8,_0x184fe0),_0x4e23f8[_0x4d35ac(0x225)][_0x441d2c[_0x4d35ac(0x1a5)]][_0x4d35ac(0x21c)][0x0][_0x4d35ac(0x1ae)]['push'](_0x441d2c['OhrXl']);}}else{if(_0x441d2c[_0x4d35ac(0x1b0)](_0x441d2c[_0x4d35ac(0x204)],_0x441d2c['mOFCu']))_0x1967a2[_0x4d5502[_0x4d35ac(0x1b9)]]=_0x1dda0f[_0x4d35ac(0x1c3)];else{const _0x12efd6=await fs['readFileAsync'](path[_0x4d35ac(0x19f)](__dirname,'..',_0x441d2c['fENYw'],_0x441d2c[_0x4d35ac(0x1d8)]),_0x441d2c[_0x4d35ac(0x24d)]),_0xb8d2e4={};_0xb8d2e4[_0x4d35ac(0x24e)]=CLOUDFORMATION_SCHEMA;const _0x5aadea=yaml[_0x4d35ac(0x1fd)](_0x12efd6,_0xb8d2e4);_0x441d2c[_0x4d35ac(0x1ec)](mergeTemplates,_0x4e23f8,_0x5aadea),_0x4e23f8[_0x4d35ac(0x225)][_0x441d2c[_0x4d35ac(0x1a5)]]['ParameterGroups'][0x0][_0x4d35ac(0x1ae)][_0x4d35ac(0x22d)](_0x441d2c['uSvMB']);}}},addS3Data=async _0x272c19=>{const _0x296ed1=a27_0x406e72,_0x171a49={'GfXXl':_0x296ed1(0x20f),'SAkTZ':'s3-create.yaml','YCddU':_0x296ed1(0x234),'WdDpM':function(_0x40ae64,_0x17c7ce){return _0x40ae64(_0x17c7ce);},'Jyoby':function(_0x27945a,_0x2a7ea1){return _0x27945a===_0x2a7ea1;},'yLoTs':function(_0x51c22a,_0xa41d25){return _0x51c22a!==_0xa41d25;},'cHBZR':_0x296ed1(0x210),'bixwx':_0x296ed1(0x1a9),'JccZb':function(_0x1be68b,_0x18663c,_0xd46acf){return _0x1be68b(_0x18663c,_0xd46acf);}},_0x5aea48=await fs[_0x296ed1(0x250)](path['join'](__dirname,'..',_0x171a49[_0x296ed1(0x253)],_0x171a49[_0x296ed1(0x231)]),_0x171a49[_0x296ed1(0x217)]),_0x29fca0={};_0x29fca0[_0x296ed1(0x24e)]=CLOUDFORMATION_SCHEMA;const _0x57d2e2=yaml[_0x296ed1(0x1fd)](_0x5aea48,_0x29fca0),_0x269a3c=await _0x171a49[_0x296ed1(0x216)](isBucketPresent,global_registry[_0x296ed1(0x1f5)]);_0x171a49['Jyoby'](_0x269a3c,![])&&(_0x171a49['yLoTs'](_0x171a49['cHBZR'],_0x171a49[_0x296ed1(0x1c5)])?_0x171a49['JccZb'](mergeTemplates,_0x272c19,_0x57d2e2):_0x33d9f3[_0x296ed1(0x257)](_0x103591)[_0x296ed1(0x227)](_0x2645b1=>{const _0x4efbae=_0x296ed1;var _0x2951b4=_0xe9c17[_0x2645b1];_0x45d950[_0x4efbae(0x257)](_0x2951b4)['forEach'](_0xdd6e8e=>{_0x22804e[_0x2645b1][_0xdd6e8e]=_0x2951b4[_0xdd6e8e];});}));},addSubnetData=async(_0x55b815,_0x359f65)=>{const _0x3a1321=a27_0x406e72,_0x5c74e3={'avYhJ':function(_0x3a8a94,_0x42cd01){return _0x3a8a94===_0x42cd01;},'NRbCV':_0x3a1321(0x20d),'ORQeU':_0x3a1321(0x213),'ZguVn':_0x3a1321(0x1c2),'SyuTH':function(_0x48c8b5,_0x33c44d){return _0x48c8b5(_0x33c44d);},'EarTc':'Fn::Join','vnRHn':function(_0x1bac02,_0x31ca02){return _0x1bac02(_0x31ca02);},'USpMU':function(_0x5b18d5,_0x318e13){return _0x5b18d5(_0x318e13);},'kintr':function(_0x1bfafe,_0x19a97d){return _0x1bfafe(_0x19a97d);},'aQZdm':_0x3a1321(0x22f),'HOMIA':function(_0x335d33,_0x154de4){return _0x335d33(_0x154de4);},'HMiLe':function(_0x199617,_0x272901){return _0x199617(_0x272901);},'dfwue':function(_0x39b435,_0x337fe5){return _0x39b435(_0x337fe5);},'DRvsH':function(_0x41b447,_0x2d41e9){return _0x41b447(_0x2d41e9);},'vKwdi':function(_0x11925d,_0x65be2a){return _0x11925d!==_0x65be2a;},'TshOr':_0x3a1321(0x1ab),'hUdAx':_0x3a1321(0x1d6),'YDKAQ':_0x3a1321(0x20f),'vKLJl':_0x3a1321(0x215),'NvShE':_0x3a1321(0x234),'jxsqR':function(_0x47579d,_0x27594e,_0x529bb1){return _0x47579d(_0x27594e,_0x529bb1);},'LZXaj':_0x3a1321(0x1af),'yjXDP':_0x3a1321(0x23e),'TbfXg':function(_0x27e065,_0x81ac09,_0x8f327a){return _0x27e065(_0x81ac09,_0x8f327a);},'VdiWP':'Subnet01','PatLL':_0x3a1321(0x23f),'ovyAq':_0x3a1321(0x24b),'AUqno':_0x3a1321(0x1ca),'YLULY':'Subnet02Block','DZjOY':_0x3a1321(0x1e3)};if(_0x359f65){if(_0x5c74e3['vKwdi'](_0x5c74e3['TshOr'],_0x5c74e3['hUdAx'])){const _0x48815a=await fs[_0x3a1321(0x250)](path[_0x3a1321(0x19f)](__dirname,'..',_0x5c74e3['YDKAQ'],_0x5c74e3[_0x3a1321(0x1ff)]),_0x5c74e3['NvShE']),_0xa360a2={};_0xa360a2[_0x3a1321(0x24e)]=CLOUDFORMATION_SCHEMA;const _0x2e5046=yaml[_0x3a1321(0x1fd)](_0x48815a,_0xa360a2);_0x5c74e3[_0x3a1321(0x1aa)](mergeTemplates,_0x55b815,_0x2e5046);let _0x4b8c11=0x1;_0x359f65[_0x3a1321(0x227)](_0x31c8ae=>{const _0x1ed9bd=_0x3a1321;if(_0x5c74e3[_0x1ed9bd(0x1ee)](_0x5c74e3[_0x1ed9bd(0x1ea)],_0x5c74e3['NRbCV'])){const _0x5bbcba=_0x5c74e3[_0x1ed9bd(0x202)][_0x1ed9bd(0x239)]('|');let _0xdca569=0x0;while(!![]){switch(_0x5bbcba[_0xdca569++]){case'0':_0x55b815[_0x1ed9bd(0x225)][_0x5c74e3[_0x1ed9bd(0x1f6)]]['ParameterGroups'][0x0][_0x1ed9bd(0x1ae)][_0x1ed9bd(0x22d)]('Subnet'+_0x5c74e3[_0x1ed9bd(0x1b2)](String,_0x4b8c11)[_0x1ed9bd(0x1bd)](0x2,'0'));continue;case'1':_0x55b815[_0x1ed9bd(0x1e1)][_0x1ed9bd(0x1cc)][_0x1ed9bd(0x1c3)][_0x5c74e3[_0x1ed9bd(0x1b7)]][0x1]['push']({'Ref':_0x1ed9bd(0x1fc)+_0x5c74e3[_0x1ed9bd(0x1bb)](String,_0x4b8c11)[_0x1ed9bd(0x1bd)](0x2,'0')});continue;case'2':_0x4b8c11+=0x1;continue;case'3':_0x55b815[_0x1ed9bd(0x1a8)][_0x1ed9bd(0x1da)][_0x1ed9bd(0x1e4)]['Subnets'][_0x1ed9bd(0x22d)]({'Ref':_0x1ed9bd(0x1fc)+_0x5c74e3[_0x1ed9bd(0x1d1)](String,_0x4b8c11)[_0x1ed9bd(0x1bd)](0x2,'0')});continue;case'4':_0x55b815[_0x1ed9bd(0x1a8)][_0x1ed9bd(0x1b8)][_0x1ed9bd(0x1e4)][_0x1ed9bd(0x207)]['push']({'Ref':_0x1ed9bd(0x1fc)+_0x5c74e3[_0x1ed9bd(0x1c4)](String,_0x4b8c11)[_0x1ed9bd(0x1bd)](0x2,'0')});continue;case'5':_0x55b815[_0x1ed9bd(0x1a8)]['EKSCluster'][_0x1ed9bd(0x1e4)][_0x1ed9bd(0x21e)][_0x1ed9bd(0x1cc)][_0x1ed9bd(0x22d)]({'Ref':_0x1ed9bd(0x1fc)+_0x5c74e3[_0x1ed9bd(0x1d1)](String,_0x4b8c11)[_0x1ed9bd(0x1bd)](0x2,'0')});continue;}break;}}else{var _0x1e6ddb=_0x7d2fe6[_0x211c38];_0x379179[_0x1ed9bd(0x257)](_0x1e6ddb)[_0x1ed9bd(0x227)](_0x1e5d01=>{_0xd15c7c[_0x3ea2c8][_0x1e5d01]=_0x1e6ddb[_0x1e5d01];});}});}else _0x11cf3f[_0x49cb05][_0xe15ef7]=_0x3fc6c3[_0x4e5ccd];}else{if(_0x5c74e3[_0x3a1321(0x219)](_0x5c74e3['LZXaj'],_0x5c74e3[_0x3a1321(0x1e6)])){const _0x2f4175=_0x5c74e3[_0x3a1321(0x1cd)][_0x3a1321(0x239)]('|');let _0x1046f0=0x0;while(!![]){switch(_0x2f4175[_0x1046f0++]){case'0':_0x40e5f1[_0x3a1321(0x1a8)][_0x3a1321(0x221)][_0x3a1321(0x1e4)][_0x3a1321(0x21e)][_0x3a1321(0x1cc)][_0x3a1321(0x22d)]({'Ref':_0x3a1321(0x1fc)+_0x5c74e3[_0x3a1321(0x246)](_0x1d3f51,_0x91ca44)['padStart'](0x2,'0')});continue;case'1':_0x15da62[_0x3a1321(0x1e1)][_0x3a1321(0x1cc)][_0x3a1321(0x1c3)][_0x5c74e3[_0x3a1321(0x1b7)]][0x1]['push']({'Ref':_0x3a1321(0x1fc)+_0x5c74e3[_0x3a1321(0x21d)](_0x47ecf3,_0x13d8d2)['padStart'](0x2,'0')});continue;case'2':_0x43abf3[_0x3a1321(0x1a8)]['NodeGroup'][_0x3a1321(0x1e4)]['Subnets'][_0x3a1321(0x22d)]({'Ref':_0x3a1321(0x1fc)+_0x5c74e3[_0x3a1321(0x22c)](_0x5cf36f,_0x4f6802)[_0x3a1321(0x1bd)](0x2,'0')});continue;case'3':_0x3065e9+=0x1;continue;case'4':_0x2779a9['Resources'][_0x3a1321(0x1b8)][_0x3a1321(0x1e4)][_0x3a1321(0x207)]['push']({'Ref':'Subnet'+_0x5c74e3[_0x3a1321(0x1d1)](_0x225c8f,_0xbc96aa)['padStart'](0x2,'0')});continue;case'5':_0x6b19be['Metadata'][_0x5c74e3[_0x3a1321(0x1f6)]][_0x3a1321(0x21c)][0x0][_0x3a1321(0x1ae)]['push'](_0x3a1321(0x1fc)+_0x5c74e3[_0x3a1321(0x208)](_0x31b7b1,_0x576e37)['padStart'](0x2,'0'));continue;}break;}}else{const _0x543ce8=await fs[_0x3a1321(0x250)](path[_0x3a1321(0x19f)](__dirname,'..',_0x5c74e3[_0x3a1321(0x25a)],_0x5c74e3[_0x3a1321(0x22a)]),_0x5c74e3['NvShE']),_0x2dd581={};_0x2dd581[_0x3a1321(0x24e)]=CLOUDFORMATION_SCHEMA;const _0x32f90c=yaml[_0x3a1321(0x1fd)](_0x543ce8,_0x2dd581);_0x5c74e3[_0x3a1321(0x201)](mergeTemplates,_0x55b815,_0x32f90c),_0x55b815[_0x3a1321(0x1a8)]['EKSCluster']['DependsOn'][_0x3a1321(0x22d)](_0x5c74e3[_0x3a1321(0x1f1)],_0x5c74e3[_0x3a1321(0x1a7)],_0x5c74e3[_0x3a1321(0x19e)]);const _0x50dea9={};_0x50dea9[_0x3a1321(0x229)]=_0x5c74e3[_0x3a1321(0x1f1)];const _0x2af5a5={};_0x2af5a5['Ref']=_0x5c74e3['PatLL'];const _0x42ea91={};_0x42ea91['Ref']=_0x5c74e3[_0x3a1321(0x19e)],_0x55b815[_0x3a1321(0x1a8)]['EKSCluster'][_0x3a1321(0x1e4)][_0x3a1321(0x21e)][_0x3a1321(0x1cc)]=[_0x50dea9,_0x2af5a5,_0x42ea91],_0x55b815[_0x3a1321(0x225)][_0x5c74e3[_0x3a1321(0x1f6)]][_0x3a1321(0x21c)][0x0]['Parameters'][_0x3a1321(0x22d)](_0x5c74e3['AUqno'],_0x5c74e3['YLULY'],_0x5c74e3[_0x3a1321(0x24f)]);const _0x1e95c6={};_0x1e95c6[_0x3a1321(0x229)]=_0x5c74e3[_0x3a1321(0x1f1)];const _0x4b9e29={};_0x4b9e29[_0x3a1321(0x229)]=_0x5c74e3[_0x3a1321(0x1a7)];const _0x5aa3a4={};_0x5aa3a4[_0x3a1321(0x229)]=_0x5c74e3[_0x3a1321(0x19e)],_0x55b815[_0x3a1321(0x1a8)][_0x3a1321(0x1da)][_0x3a1321(0x1e4)][_0x3a1321(0x207)]=[_0x1e95c6,_0x4b9e29,_0x5aa3a4];const _0x4655e6={};_0x4655e6[_0x3a1321(0x229)]=_0x5c74e3[_0x3a1321(0x1f1)];const _0x5258fb={};_0x5258fb[_0x3a1321(0x229)]=_0x5c74e3[_0x3a1321(0x1a7)];const _0x1df941={};_0x1df941[_0x3a1321(0x229)]=_0x5c74e3['ovyAq'],_0x55b815['Resources'][_0x3a1321(0x1b8)][_0x3a1321(0x1e4)][_0x3a1321(0x207)]=[_0x4655e6,_0x5258fb,_0x1df941],_0x55b815[_0x3a1321(0x1e1)][_0x3a1321(0x1cc)][_0x3a1321(0x1c3)][_0x5c74e3[_0x3a1321(0x1b7)]][0x1]=[{'Ref':_0x5c74e3[_0x3a1321(0x1f1)]},{'Ref':_0x5c74e3[_0x3a1321(0x1a7)]},{'Ref':_0x5c74e3[_0x3a1321(0x19e)]}];}}},addTags=async(_0x598c92,_0x4bc9b0,_0xe34009)=>{const _0x28d6a9=a27_0x406e72,_0x5d882a={'pXVGK':_0x28d6a9(0x1db),'ozSeT':function(_0x4b6ecd,_0x36ee00){return _0x4b6ecd(_0x36ee00);},'sqXKU':function(_0x34196d,_0x266337){return _0x34196d!==_0x266337;},'EFpkd':_0x28d6a9(0x1c9),'rpUOp':function(_0x3fc213,_0x235db6){return _0x3fc213===_0x235db6;},'jWbHc':'EyzTQ','XZuZR':_0x28d6a9(0x1bf),'hgyLH':function(_0x4181e9,_0x53a113){return _0x4181e9!==_0x53a113;},'XaHQV':_0x28d6a9(0x223),'fiPYs':_0x28d6a9(0x1c0),'yMdmm':_0x28d6a9(0x1da),'dcncp':_0x28d6a9(0x1b8)};for(const _0x41fafc in _0x598c92[_0x28d6a9(0x1a8)]){if(_0x5d882a[_0x28d6a9(0x249)](_0x5d882a['jWbHc'],_0x5d882a['XZuZR'])){const _0x332269={};_0x332269['ParameterKey']=_0x5d882a[_0x28d6a9(0x1ef)],_0x332269['ParameterValue']=_0x39b27e,_0xeb02bd[_0x28d6a9(0x1ae)][_0x28d6a9(0x22d)](_0x332269);}else _0x598c92[_0x28d6a9(0x1a8)][_0x41fafc][_0x28d6a9(0x1e4)]&&_0x598c92[_0x28d6a9(0x1a8)][_0x41fafc]['Properties'][_0x28d6a9(0x200)]&&(_0x5d882a[_0x28d6a9(0x230)](_0x5d882a[_0x28d6a9(0x1e9)],_0x5d882a[_0x28d6a9(0x21a)])?_0x598c92['Resources'][_0x41fafc][_0x28d6a9(0x1e4)][_0x28d6a9(0x200)][_0x28d6a9(0x22d)](..._0xe34009):_0x3bf374[_0x28d6a9(0x1a8)][_0x2acde4][_0x28d6a9(0x1e4)]&&_0x5c529c['Resources'][_0x24b528]['Properties'][_0x28d6a9(0x200)]&&_0x1ff022[_0x28d6a9(0x1a8)][_0x226d93]['Properties'][_0x28d6a9(0x200)][_0x28d6a9(0x22d)](..._0x420c99));}const _0x257752={};_0xe34009['forEach'](_0x5295a8=>{const _0xfd9522=_0x28d6a9,_0x4db33a={'hvfVV':function(_0x26a9f9,_0x1f11d9){const _0x4ce867=a27_0x28d5;return _0x5d882a[_0x4ce867(0x1f2)](_0x26a9f9,_0x1f11d9);}};if(_0x5d882a[_0xfd9522(0x1a1)](_0x5d882a[_0xfd9522(0x232)],_0x5d882a[_0xfd9522(0x232)])){const _0x437d95={'TnsGT':function(_0x51d512,_0x5585c9){const _0x4ce339=_0xfd9522;return _0x4db33a[_0x4ce339(0x1ba)](_0x51d512,_0x5585c9);}};let _0x125e26=0x1;_0x53aa65[_0xfd9522(0x227)](_0x81e3a4=>{const _0x1975ea=_0xfd9522;_0x2db4fa['Parameters']['push']({'ParameterKey':_0x1975ea(0x1fc)+_0x437d95['TnsGT'](_0x2a8dbe,_0x125e26)[_0x1975ea(0x1bd)](0x2,'0'),'ParameterValue':_0x81e3a4[_0x1975ea(0x1fb)]}),_0x125e26+=0x1;});}else _0x257752[_0x5295a8[_0xfd9522(0x1b9)]]=_0x5295a8[_0xfd9522(0x1c3)];}),_0x598c92[_0x28d6a9(0x1a8)][_0x5d882a[_0x28d6a9(0x20e)]]['Properties'][_0x28d6a9(0x200)]=_0x257752,_0x598c92[_0x28d6a9(0x1a8)][_0x5d882a[_0x28d6a9(0x214)]][_0x28d6a9(0x1e4)][_0x28d6a9(0x200)]=_0x257752;};exports[a27_0x406e72(0x1b3)]=async(_0x67eefd,_0x23d01e,_0xd33442,_0x3932a4=null,_0xa15324=null,_0x547a24)=>{const _0x4d8c45=a27_0x406e72,_0x116f97={'DNpMU':function(_0x193966,_0x4d4fe4){return _0x193966(_0x4d4fe4);},'TJXNp':_0x4d8c45(0x21b),'efxlS':_0x4d8c45(0x1dd),'lNoZg':_0x4d8c45(0x1f8),'lzboO':'CFTemplates','cxSOC':_0x4d8c45(0x1ed),'xXDLQ':_0x4d8c45(0x234),'KRUNL':function(_0x134734,_0x533522,_0x57f269){return _0x134734(_0x533522,_0x57f269);},'SODCT':function(_0x255a90,_0x9a772d,_0x57d729){return _0x255a90(_0x9a772d,_0x57d729);},'ZmLhx':function(_0x165ee9,_0x3c40fa,_0x30923f,_0x55505c){return _0x165ee9(_0x3c40fa,_0x30923f,_0x55505c);},'FaHcz':_0x4d8c45(0x242),'TpOKw':'ClusterName','KBlZR':_0x4d8c45(0x1fe),'gtTWr':_0x4d8c45(0x212),'CumXA':_0x4d8c45(0x20b),'PxJed':'NodeAutoScalingGroupDesiredSizeWindows','JtJQu':_0x4d8c45(0x1f7),'nbUny':_0x4d8c45(0x244),'UQacH':_0x4d8c45(0x224),'HNiWM':'S3BucketName','jBgQd':_0x4d8c45(0x22b),'YLnIr':'ClusterAutoUpgrade','NsNpW':'true','JhAis':_0x4d8c45(0x1a2),'WQOUl':_0x4d8c45(0x255),'wAQZY':function(_0x1fb0a7,_0x32304a){return _0x1fb0a7!=_0x32304a;},'JtJRd':function(_0x3aa883,_0x27856e){return _0x3aa883!==_0x27856e;},'RztEJ':function(_0x167d4e,_0x2db656){return _0x167d4e===_0x2db656;},'oskBI':_0x4d8c45(0x1c6),'MGJMx':_0x4d8c45(0x1db),'cXWoT':_0x4d8c45(0x1b5),'ZoyKW':_0x4d8c45(0x23a)},_0x8b5292=COMMON_HST_TAGS,_0x107973={};_0x107973[_0x4d8c45(0x1b9)]=_0x116f97['TJXNp'],_0x107973[_0x4d8c45(0x1c3)]=_0x67eefd,_0x8b5292[_0x4d8c45(0x22d)](_0x107973),_0x8b5292['push']({'Key':_0x116f97['efxlS'],'Value':new Date()[_0x4d8c45(0x248)]()[_0x4d8c45(0x1e7)]()});const _0x4fe7cb={};_0x4fe7cb[_0x4d8c45(0x1c8)]=_0x116f97[_0x4d8c45(0x1f9)];const _0x2694bd=new AWS['CloudFormation'](_0x4fe7cb),_0x296127=await fs['readFileAsync'](path[_0x4d8c45(0x19f)](__dirname,'..',_0x116f97[_0x4d8c45(0x1c1)],_0x116f97[_0x4d8c45(0x23c)]),_0x116f97['xXDLQ']),_0x248dd9={};_0x248dd9[_0x4d8c45(0x24e)]=CLOUDFORMATION_SCHEMA;const _0x4e0528=yaml[_0x4d8c45(0x1fd)](_0x296127,_0x248dd9);await _0x116f97[_0x4d8c45(0x1d7)](addVPCData,_0x4e0528,_0x3932a4),await _0x116f97[_0x4d8c45(0x19d)](addS3Data,_0x4e0528),await _0x116f97[_0x4d8c45(0x25c)](addSubnetData,_0x4e0528,_0xa15324),await _0x116f97[_0x4d8c45(0x1d0)](addTags,_0x4e0528,_0x67eefd,_0x8b5292);const _0x5f45c2=JSON[_0x4d8c45(0x238)](_0x4e0528),_0x5e6cc0={};_0x5e6cc0[_0x4d8c45(0x1a3)]=CLUSTER_DEP_STACK_NAME+'-'+_0x67eefd,_0x5e6cc0[_0x4d8c45(0x1a0)]=_0x116f97['FaHcz'],_0x5e6cc0[_0x4d8c45(0x220)]=_0x5f45c2,_0x5e6cc0[_0x4d8c45(0x1ae)]=[{'ParameterKey':_0x116f97[_0x4d8c45(0x1f4)],'ParameterValue':_0x67eefd},{'ParameterKey':_0x116f97[_0x4d8c45(0x218)],'ParameterValue':_0x67eefd+_0x4d8c45(0x1ac)},{'ParameterKey':_0x116f97[_0x4d8c45(0x1f0)],'ParameterValue':''+_0x23d01e},{'ParameterKey':_0x116f97['CumXA'],'ParameterValue':'0'},{'ParameterKey':_0x116f97[_0x4d8c45(0x252)],'ParameterValue':'1'},{'ParameterKey':_0x116f97[_0x4d8c45(0x1df)],'ParameterValue':''+_0xd33442},{'ParameterKey':_0x116f97[_0x4d8c45(0x243)],'ParameterValue':global_registry[_0x4d8c45(0x256)]},{'ParameterKey':_0x116f97[_0x4d8c45(0x241)],'ParameterValue':global_registry[_0x4d8c45(0x1e2)]},{'ParameterKey':_0x116f97[_0x4d8c45(0x19c)],'ParameterValue':global_registry[_0x4d8c45(0x1f5)]},{'ParameterKey':_0x116f97[_0x4d8c45(0x1fa)],'ParameterValue':_0x67eefd+_0x4d8c45(0x24a)},{'ParameterKey':_0x116f97[_0x4d8c45(0x228)],'ParameterValue':_0x547a24?_0x116f97[_0x4d8c45(0x205)]:_0x116f97[_0x4d8c45(0x20c)]}],_0x5e6cc0[_0x4d8c45(0x211)]=[_0x116f97[_0x4d8c45(0x254)]],_0x5e6cc0[_0x4d8c45(0x200)]=_0x8b5292;const _0x244bce=_0x5e6cc0;if(_0x116f97['wAQZY'](_0x3932a4,null)&&_0x116f97[_0x4d8c45(0x237)](_0x3932a4,undefined)){if(_0x116f97[_0x4d8c45(0x1c7)](_0x116f97[_0x4d8c45(0x1a6)],_0x116f97[_0x4d8c45(0x1a6)])){const _0x29bab6={};_0x29bab6[_0x4d8c45(0x1ce)]=_0x116f97[_0x4d8c45(0x1e8)],_0x29bab6['ParameterValue']=_0x3932a4,_0x244bce[_0x4d8c45(0x1ae)][_0x4d8c45(0x22d)](_0x29bab6);}else _0x44d722['Resources'][_0x6dd815][_0x4d8c45(0x1e4)][_0x4d8c45(0x200)]['push'](..._0x1bf14a);}if(_0x116f97[_0x4d8c45(0x1d3)](_0xa15324,null)&&_0x116f97[_0x4d8c45(0x237)](_0xa15324,undefined)){let _0x50001e=0x1;_0xa15324[_0x4d8c45(0x227)](_0x1eb7e1=>{const _0x3e24b4=_0x4d8c45;_0x244bce[_0x3e24b4(0x1ae)][_0x3e24b4(0x22d)]({'ParameterKey':_0x3e24b4(0x1fc)+_0x116f97['DNpMU'](String,_0x50001e)[_0x3e24b4(0x1bd)](0x2,'0'),'ParameterValue':_0x1eb7e1[_0x3e24b4(0x1fb)]}),_0x50001e+=0x1;});}const _0x3459a4=await _0x2694bd[_0x4d8c45(0x1cb)](_0x244bce)[_0x4d8c45(0x1d2)]();logger[_0x4d8c45(0x1d9)](_0x116f97['cXWoT']);const _0x5c73c6={};return _0x5c73c6[_0x4d8c45(0x1a3)]=_0x3459a4[_0x4d8c45(0x1eb)],_0x2694bd[_0x4d8c45(0x23b)](_0x116f97[_0x4d8c45(0x20a)],_0x5c73c6)[_0x4d8c45(0x1d2)]();};
|
|
1
|
+
function a27_0x3d60(_0x5a9292,_0x59a282){const _0x444ee9=a27_0x444e();return a27_0x3d60=function(_0x3d6097,_0x472084){_0x3d6097=_0x3d6097-0x110;let _0x4dc167=_0x444ee9[_0x3d6097];return _0x4dc167;},a27_0x3d60(_0x5a9292,_0x59a282);}const a27_0x57bdfb=a27_0x3d60;function a27_0x444e(){const _0x4a51e9=['afcqU','browserstack:cluster','puxbH','promisifyAll','ZJFUl','Subnets','CpZfb','xLQkD','LUOmv','vpc-create.yaml','svsQg','gvvLU','Resources','EKSCluster','../config/constants','SubnetIds','JQdkN','readFileAsync','JJLcD','vBVdV','muRpM','Value','subnet-import.yaml','VXEfy','2589665xrbmfZ','DependsOn','split','rJLZz','TemplateBody','fVADD','aws-eks-cluster-dep.yaml','pHkFR','TOWmq','createStack','KWLaS','ARBLK','AWS::CloudFormation::Interface','NodeImageId','WxxFM','ufFAH','qUiFj','hZunO','raYkA','Subnet','ParameterGroups','qUVlo','DPBYC','yLvis','iSjHA','GJuld','5|0|4|1|3|2','djxZn','pBfdM','ppZso','gvzft','CloudFormation','GIbmg','kVbaF','CAPABILITY_NAMED_IAM','deRUA','AiWHT','load','StackName','value','schema','keys','NVHvF','Tags','oWbyd','./AWSUtils','CGePf','ParameterValue','IsIcC','ResourcesVpcConfig','2010-05-15','path','join','hEwTS','ihuua','7vVlPRs','zHPZr','Outputs','3463248YvaEIs','6nezwZa','48131bbjLDI','uhsPQ','4|3|1|0|5|2','EJvCu','OnFailure','Rsaju','EKVIx','qkAAJ','instanceType','apiVersion','ikNaE','padStart','VpcBlock','Subnet02','Subnet01','-NodeGroup','forEach','SNGwM','toString','NodeGroup','LNrSv','cHKjn','../config/logger','uNexk','Drnwi','utf-8','PHxbf','26950320HaUbsQ','awsObj','YhbqT','Properties','twIZV','BhJal','9066798HqJBSN','Fn::Join','SyweJ','nBSgv','XseZI','ParameterKey','stackCreateComplete','ibyHV','YunQp','kByiy','XllzD','qeCUq','VPC','JWQap','FOMPT','Subnet01Block','IRmVG','kBWBy','NodeGroupNameWindows','stringify','UrWUd','CFTemplates','NodeInstanceType','jxhsA','9mHvdnZ','JEhxD','Subnet02Block','NodeAutoScalingGroupMinSizeWindows','xxBUf','DELETE','6648952uQKvDX','bSYLM','PAwTP','HvQsn','NDVHV','nWyVW','vpc-import.yaml','ETRzN','KtTaA','Ref','RjjfF','Parameters','vOEYm','hSIzE','js-yaml','wkHJo','YlAFG','hKnWC','ucKYK','FjZEt','Opwax','kzbKb','VTmtl','NodeAutoScalingGroupDesiredSizeWindows','promise','zEUlp','pGcff','createClusterStack','PpQUi','Metadata','push','92412vYdAai','ClusterName','yWClT','GGSDx','iVCNG','dDYag','NodeGroupWindows','Key','s3Bucket'];a27_0x444e=function(){return _0x4a51e9;};return a27_0x444e();}(function(_0x2b4e99,_0x3cfb80){const _0x5dfea6=a27_0x3d60,_0x390b5c=_0x2b4e99();while(!![]){try{const _0x2a7c70=-parseInt(_0x5dfea6(0x11f))/0x1*(parseInt(_0x5dfea6(0x11e))/0x2)+-parseInt(_0x5dfea6(0x158))/0x3*(parseInt(_0x5dfea6(0x17d))/0x4)+parseInt(_0x5dfea6(0x19e))/0x5+-parseInt(_0x5dfea6(0x11d))/0x6+parseInt(_0x5dfea6(0x11a))/0x7*(-parseInt(_0x5dfea6(0x15e))/0x8)+-parseInt(_0x5dfea6(0x140))/0x9+parseInt(_0x5dfea6(0x13a))/0xa;if(_0x2a7c70===_0x3cfb80)break;else _0x390b5c['push'](_0x390b5c['shift']());}catch(_0x5076a5){_0x390b5c['push'](_0x390b5c['shift']());}}}(a27_0x444e,0x8e75a));const fs=require('fs'),path=require(a27_0x57bdfb(0x116)),Promise=require('bluebird'),yaml=require(a27_0x57bdfb(0x16c)),{CLOUDFORMATION_SCHEMA}=require('js-yaml-cloudformation-schema'),AWS=require('./AWSUtils')[a27_0x57bdfb(0x13b)],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a27_0x57bdfb(0x194)),{logger}=require(a27_0x57bdfb(0x135)),{isBucketPresent}=require(a27_0x57bdfb(0x110));Promise[a27_0x57bdfb(0x189)](fs);const mergeTemplates=(_0x2be1c5,_0x3c2dcf)=>{const _0x2b3d8a=a27_0x57bdfb,_0x674e49={'iVCNG':_0x2b3d8a(0x121),'UrWUd':function(_0x2ead05,_0x1e207f){return _0x2ead05(_0x1e207f);},'NVHvF':_0x2b3d8a(0x1aa),'LUOmv':function(_0x30f1ba,_0xce51df){return _0x30f1ba(_0xce51df);},'EJvCu':_0x2b3d8a(0x141),'fVADD':function(_0x3df3e8,_0x6a0e75){return _0x3df3e8!==_0x6a0e75;},'kzbKb':_0x2b3d8a(0x1a1),'FOMPT':_0x2b3d8a(0x142),'ARBLK':_0x2b3d8a(0x118)};Object['keys'](_0x3c2dcf)[_0x2b3d8a(0x12f)](_0x32f96d=>{const _0x50dc0b=_0x2b3d8a;if(_0x674e49[_0x50dc0b(0x1a3)](_0x674e49[_0x50dc0b(0x1a9)],_0x674e49[_0x50dc0b(0x1a9)]))_0x3a5d21[_0x30c0de[_0x50dc0b(0x184)]]=_0x3eed42[_0x50dc0b(0x19b)];else{var _0x234cb6=_0x3c2dcf[_0x32f96d];Object['keys'](_0x234cb6)['forEach'](_0x2b8958=>{const _0x31e211=_0x50dc0b,_0x3bde92={'YhbqT':_0x674e49[_0x31e211(0x181)],'YunQp':function(_0x82a620,_0x484f43){const _0x321e33=_0x31e211;return _0x674e49[_0x321e33(0x154)](_0x82a620,_0x484f43);},'PHxbf':_0x674e49[_0x31e211(0x1c8)],'ufFAH':function(_0x4a8ada,_0x37e8c1){const _0x51b151=_0x31e211;return _0x674e49[_0x51b151(0x18e)](_0x4a8ada,_0x37e8c1);},'cKuXl':_0x674e49[_0x31e211(0x122)],'puxbH':function(_0x5d1011,_0x66b6fe){const _0x76b14c=_0x31e211;return _0x674e49[_0x76b14c(0x154)](_0x5d1011,_0x66b6fe);}};if(_0x674e49[_0x31e211(0x1a3)](_0x674e49[_0x31e211(0x173)],_0x674e49[_0x31e211(0x14e)]))_0x2be1c5[_0x32f96d][_0x2b8958]=_0x234cb6[_0x2b8958];else{const _0x428817=_0x3bde92[_0x31e211(0x13c)][_0x31e211(0x1a0)]('|');let _0x5b5684=0x0;while(!![]){switch(_0x428817[_0x5b5684++]){case'0':_0x53596a[_0x31e211(0x192)][_0x31e211(0x183)][_0x31e211(0x13d)][_0x31e211(0x18b)][_0x31e211(0x17c)]({'Ref':'Subnet'+_0x3bde92[_0x31e211(0x148)](_0x5cdc0e,_0x10d2d9)[_0x31e211(0x12a)](0x2,'0')});continue;case'1':_0x39fffe[_0x31e211(0x192)][_0x31e211(0x132)][_0x31e211(0x13d)]['Subnets'][_0x31e211(0x17c)]({'Ref':_0x31e211(0x1b1)+_0x3bde92[_0x31e211(0x148)](_0x4d6c26,_0x2cd268)[_0x31e211(0x12a)](0x2,'0')});continue;case'2':_0x273ec0+=0x1;continue;case'3':_0x420f67['Metadata'][_0x3bde92[_0x31e211(0x139)]][_0x31e211(0x1b2)][0x0][_0x31e211(0x169)][_0x31e211(0x17c)]('Subnet'+_0x3bde92[_0x31e211(0x1ad)](_0x46875c,_0xc363e6)[_0x31e211(0x12a)](0x2,'0'));continue;case'4':_0x5bad47['Resources']['EKSCluster'][_0x31e211(0x13d)][_0x31e211(0x114)]['SubnetIds']['push']({'Ref':_0x31e211(0x1b1)+_0x3bde92[_0x31e211(0x1ad)](_0x2fcfc5,_0x276bed)['padStart'](0x2,'0')});continue;case'5':_0x5cb267[_0x31e211(0x11c)]['SubnetIds'][_0x31e211(0x19b)][_0x3bde92['cKuXl']][0x1][_0x31e211(0x17c)]({'Ref':_0x31e211(0x1b1)+_0x3bde92[_0x31e211(0x188)](_0x54b72c,_0x598a5f)[_0x31e211(0x12a)](0x2,'0')});continue;}break;}}});}});},addVPCData=async(_0x4d5206,_0x5ec2a8)=>{const _0x211f90=a27_0x57bdfb,_0x915986={'AiWHT':function(_0x3bc5d7,_0x5678a9){return _0x3bc5d7!==_0x5678a9;},'raYkA':_0x211f90(0x1b5),'ArQLe':_0x211f90(0x1b7),'kBWBy':'CFTemplates','xtjYP':_0x211f90(0x164),'ETRzN':_0x211f90(0x138),'LNrSv':function(_0x294d86,_0x593ab6,_0x417c37){return _0x294d86(_0x593ab6,_0x417c37);},'JWQap':_0x211f90(0x1aa),'hdnHo':'VPC','wkHJo':_0x211f90(0x166),'BhJal':_0x211f90(0x18f),'xLQkD':function(_0x5e2a4e,_0x54cc39,_0x4be2b1){return _0x5e2a4e(_0x54cc39,_0x4be2b1);},'DPBYC':_0x211f90(0x12b)};if(_0x5ec2a8){if(_0x915986[_0x211f90(0x1c2)](_0x915986[_0x211f90(0x1b0)],_0x915986['ArQLe'])){const _0x32d240=await fs['readFileAsync'](path[_0x211f90(0x117)](__dirname,'..',_0x915986['kBWBy'],_0x915986['xtjYP']),_0x915986[_0x211f90(0x165)]),_0x48673e={};_0x48673e[_0x211f90(0x1c6)]=CLOUDFORMATION_SCHEMA;const _0x409a72=yaml['load'](_0x32d240,_0x48673e);_0x915986[_0x211f90(0x133)](mergeTemplates,_0x4d5206,_0x409a72),_0x4d5206[_0x211f90(0x17b)][_0x915986[_0x211f90(0x14d)]][_0x211f90(0x1b2)][0x0][_0x211f90(0x169)][_0x211f90(0x17c)](_0x915986['hdnHo']);}else _0x4a6832[_0x136762][_0x10c0b0]=_0x2ab83d[_0x268957];}else{if(_0x915986[_0x211f90(0x1c2)](_0x915986[_0x211f90(0x16d)],_0x915986[_0x211f90(0x16d)])){var _0x2eaa5f=_0x1384f7[_0x1cb02a];_0x2baf07[_0x211f90(0x1c7)](_0x2eaa5f)[_0x211f90(0x12f)](_0x3e5922=>{_0x42d5f6[_0x40deed][_0x3e5922]=_0x2eaa5f[_0x3e5922];});}else{const _0x5c3d79=await fs[_0x211f90(0x197)](path[_0x211f90(0x117)](__dirname,'..',_0x915986[_0x211f90(0x151)],_0x915986[_0x211f90(0x13f)]),_0x915986[_0x211f90(0x165)]),_0x2e44b5={};_0x2e44b5[_0x211f90(0x1c6)]=CLOUDFORMATION_SCHEMA;const _0x2afbdd=yaml[_0x211f90(0x1c3)](_0x5c3d79,_0x2e44b5);_0x915986[_0x211f90(0x18d)](mergeTemplates,_0x4d5206,_0x2afbdd),_0x4d5206[_0x211f90(0x17b)][_0x915986[_0x211f90(0x14d)]][_0x211f90(0x1b2)][0x0][_0x211f90(0x169)][_0x211f90(0x17c)](_0x915986[_0x211f90(0x1b4)]);}}},addS3Data=async _0x25cb6e=>{const _0x429218=a27_0x57bdfb,_0x569d30={'zEUlp':'CFTemplates','GGSDx':'s3-create.yaml','XllzD':'utf-8','dDYag':function(_0xe15a9a,_0x17b562){return _0xe15a9a(_0x17b562);},'CGePf':function(_0x2a272b,_0x2dcc8f){return _0x2a272b===_0x2dcc8f;},'nBSgv':function(_0x1bde5b,_0x29d7f2){return _0x1bde5b===_0x29d7f2;},'uNexk':_0x429218(0x15c),'xZnuF':function(_0x135517,_0x39e06c,_0x3173f0){return _0x135517(_0x39e06c,_0x3173f0);}},_0x10e55d=await fs[_0x429218(0x197)](path[_0x429218(0x117)](__dirname,'..',_0x569d30[_0x429218(0x177)],_0x569d30[_0x429218(0x180)]),_0x569d30[_0x429218(0x14a)]),_0x36bcf8={};_0x36bcf8['schema']=CLOUDFORMATION_SCHEMA;const _0x4c2b8d=yaml[_0x429218(0x1c3)](_0x10e55d,_0x36bcf8),_0x4db9b5=await _0x569d30[_0x429218(0x182)](isBucketPresent,global_registry[_0x429218(0x185)]);_0x569d30[_0x429218(0x111)](_0x4db9b5,![])&&(_0x569d30[_0x429218(0x143)](_0x569d30[_0x429218(0x136)],_0x569d30['uNexk'])?_0x569d30['xZnuF'](mergeTemplates,_0x25cb6e,_0x4c2b8d):_0x1dcecd[_0x429218(0x1c7)](_0xb53544)[_0x429218(0x12f)](_0x4dfaf3=>{const _0x468b14=_0x429218;var _0x9d37c0=_0x4b27dc[_0x4dfaf3];_0x26c633['keys'](_0x9d37c0)[_0x468b14(0x12f)](_0x4a3bda=>{_0x26985a[_0x4dfaf3][_0x4a3bda]=_0x9d37c0[_0x4a3bda];});}));},addSubnetData=async(_0xfaca78,_0x8195a6)=>{const _0x533583=a27_0x57bdfb,_0x3f5bb5={'IRmVG':function(_0x37b88a,_0x344191){return _0x37b88a(_0x344191);},'WxxFM':function(_0x56a6fb,_0x406bdf){return _0x56a6fb!==_0x406bdf;},'ppZso':_0x533583(0x171),'JJLcD':_0x533583(0x1b8),'hSIzE':_0x533583(0x1aa),'twIZV':function(_0x2d3ebc,_0x53acfe){return _0x2d3ebc(_0x53acfe);},'gvvLU':_0x533583(0x141),'kSpNl':function(_0x19cde8,_0x3f094b){return _0x19cde8(_0x3f094b);},'TOWmq':function(_0x5cd042,_0x20eca6){return _0x5cd042(_0x20eca6);},'RjjfF':function(_0x314b77,_0x39b8aa){return _0x314b77(_0x39b8aa);},'pHkFR':function(_0x331208,_0x62af){return _0x331208!==_0x62af;},'ibyHV':_0x533583(0x1ae),'ucKYK':'CFTemplates','qLPbn':_0x533583(0x19c),'WfNpa':_0x533583(0x138),'kByiy':function(_0x15e1f4,_0x21c807,_0x266322){return _0x15e1f4(_0x21c807,_0x266322);},'VJdbS':function(_0x7a516,_0x45aa98){return _0x7a516!==_0x45aa98;},'EKVIx':'gTeJx','fYgjT':'subnet-create.yaml','PpQUi':_0x533583(0x12d),'GIbmg':_0x533583(0x12c),'Drnwi':'Subnet03','pBfdM':_0x533583(0x14f),'yWClT':_0x533583(0x15a),'qeCUq':'Subnet03Block'};if(_0x8195a6){if(_0x3f5bb5[_0x533583(0x1a5)](_0x3f5bb5[_0x533583(0x147)],_0x3f5bb5['ibyHV'])){let _0x4c5c9e=0x1;_0x31ee65[_0x533583(0x12f)](_0x176fcb=>{const _0x4c6719=_0x533583;_0x2e71f8[_0x4c6719(0x169)][_0x4c6719(0x17c)]({'ParameterKey':_0x4c6719(0x1b1)+_0x3f5bb5[_0x4c6719(0x150)](_0x34524d,_0x4c5c9e)[_0x4c6719(0x12a)](0x2,'0'),'ParameterValue':_0x176fcb['value']}),_0x4c5c9e+=0x1;});}else{const _0x26e589=await fs[_0x533583(0x197)](path['join'](__dirname,'..',_0x3f5bb5[_0x533583(0x170)],_0x3f5bb5['qLPbn']),_0x3f5bb5['WfNpa']),_0x3c1aa9={};_0x3c1aa9[_0x533583(0x1c6)]=CLOUDFORMATION_SCHEMA;const _0x5be991=yaml[_0x533583(0x1c3)](_0x26e589,_0x3c1aa9);_0x3f5bb5[_0x533583(0x149)](mergeTemplates,_0xfaca78,_0x5be991);let _0x415f22=0x1;_0x8195a6[_0x533583(0x12f)](_0x49a780=>{const _0xf21609=_0x533583,_0x53b319={'deRUA':function(_0x2d44ba,_0x3dc612){return _0x3f5bb5['IRmVG'](_0x2d44ba,_0x3dc612);}};if(_0x3f5bb5[_0xf21609(0x1ac)](_0x3f5bb5[_0xf21609(0x1bb)],_0x3f5bb5['ppZso']))_0x5d7595[_0xf21609(0x169)][_0xf21609(0x17c)]({'ParameterKey':_0xf21609(0x1b1)+_0x53b319[_0xf21609(0x1c1)](_0x262140,_0x843e70)[_0xf21609(0x12a)](0x2,'0'),'ParameterValue':_0x466f0c['value']}),_0x5743ab+=0x1;else{const _0x2fc316=_0x3f5bb5[_0xf21609(0x198)][_0xf21609(0x1a0)]('|');let _0x27c03b=0x0;while(!![]){switch(_0x2fc316[_0x27c03b++]){case'0':_0xfaca78[_0xf21609(0x17b)][_0x3f5bb5[_0xf21609(0x16b)]][_0xf21609(0x1b2)][0x0][_0xf21609(0x169)][_0xf21609(0x17c)](_0xf21609(0x1b1)+_0x3f5bb5[_0xf21609(0x13e)](String,_0x415f22)[_0xf21609(0x12a)](0x2,'0'));continue;case'1':_0xfaca78[_0xf21609(0x192)][_0xf21609(0x183)]['Properties'][_0xf21609(0x18b)][_0xf21609(0x17c)]({'Ref':_0xf21609(0x1b1)+_0x3f5bb5[_0xf21609(0x150)](String,_0x415f22)[_0xf21609(0x12a)](0x2,'0')});continue;case'2':_0x415f22+=0x1;continue;case'3':_0xfaca78[_0xf21609(0x11c)][_0xf21609(0x195)][_0xf21609(0x19b)][_0x3f5bb5[_0xf21609(0x191)]][0x1][_0xf21609(0x17c)]({'Ref':_0xf21609(0x1b1)+_0x3f5bb5['kSpNl'](String,_0x415f22)[_0xf21609(0x12a)](0x2,'0')});continue;case'4':_0xfaca78[_0xf21609(0x192)]['NodeGroup']['Properties'][_0xf21609(0x18b)][_0xf21609(0x17c)]({'Ref':'Subnet'+_0x3f5bb5[_0xf21609(0x1a6)](String,_0x415f22)[_0xf21609(0x12a)](0x2,'0')});continue;case'5':_0xfaca78[_0xf21609(0x192)]['EKSCluster'][_0xf21609(0x13d)]['ResourcesVpcConfig']['SubnetIds'][_0xf21609(0x17c)]({'Ref':_0xf21609(0x1b1)+_0x3f5bb5[_0xf21609(0x168)](String,_0x415f22)[_0xf21609(0x12a)](0x2,'0')});continue;}break;}}});}}else{if(_0x3f5bb5['VJdbS'](_0x3f5bb5[_0x533583(0x125)],_0x3f5bb5[_0x533583(0x125)]))_0x23c469[_0x533583(0x192)][_0x53b7e4][_0x533583(0x13d)][_0x533583(0x1c9)][_0x533583(0x17c)](..._0x340aaf);else{const _0x593999=await fs[_0x533583(0x197)](path[_0x533583(0x117)](__dirname,'..',_0x3f5bb5[_0x533583(0x170)],_0x3f5bb5['fYgjT']),_0x3f5bb5['WfNpa']),_0x63385a={};_0x63385a['schema']=CLOUDFORMATION_SCHEMA;const _0x5def39=yaml['load'](_0x593999,_0x63385a);_0x3f5bb5[_0x533583(0x149)](mergeTemplates,_0xfaca78,_0x5def39),_0xfaca78[_0x533583(0x192)][_0x533583(0x193)][_0x533583(0x19f)]['push'](_0x3f5bb5[_0x533583(0x17a)],_0x3f5bb5['GIbmg'],_0x3f5bb5[_0x533583(0x137)]);const _0x4cb026={};_0x4cb026[_0x533583(0x167)]=_0x3f5bb5[_0x533583(0x17a)];const _0x5b7a24={};_0x5b7a24['Ref']=_0x3f5bb5[_0x533583(0x1be)];const _0x4c976b={};_0x4c976b[_0x533583(0x167)]=_0x3f5bb5[_0x533583(0x137)],_0xfaca78[_0x533583(0x192)]['EKSCluster'][_0x533583(0x13d)]['ResourcesVpcConfig'][_0x533583(0x195)]=[_0x4cb026,_0x5b7a24,_0x4c976b],_0xfaca78[_0x533583(0x17b)][_0x3f5bb5[_0x533583(0x16b)]][_0x533583(0x1b2)][0x0][_0x533583(0x169)][_0x533583(0x17c)](_0x3f5bb5[_0x533583(0x1ba)],_0x3f5bb5[_0x533583(0x17f)],_0x3f5bb5[_0x533583(0x14b)]);const _0x3b3322={};_0x3b3322[_0x533583(0x167)]=_0x3f5bb5[_0x533583(0x17a)];const _0x6617c={};_0x6617c[_0x533583(0x167)]=_0x3f5bb5['GIbmg'];const _0x387365={};_0x387365[_0x533583(0x167)]=_0x3f5bb5[_0x533583(0x137)],_0xfaca78['Resources'][_0x533583(0x132)]['Properties'][_0x533583(0x18b)]=[_0x3b3322,_0x6617c,_0x387365];const _0x2b00df={};_0x2b00df[_0x533583(0x167)]=_0x3f5bb5[_0x533583(0x17a)];const _0x2cf562={};_0x2cf562[_0x533583(0x167)]=_0x3f5bb5[_0x533583(0x1be)];const _0x5dec2e={};_0x5dec2e[_0x533583(0x167)]=_0x3f5bb5[_0x533583(0x137)],_0xfaca78[_0x533583(0x192)]['NodeGroupWindows']['Properties'][_0x533583(0x18b)]=[_0x2b00df,_0x2cf562,_0x5dec2e],_0xfaca78[_0x533583(0x11c)]['SubnetIds'][_0x533583(0x19b)][_0x3f5bb5[_0x533583(0x191)]][0x1]=[{'Ref':_0x3f5bb5[_0x533583(0x17a)]},{'Ref':_0x3f5bb5[_0x533583(0x1be)]},{'Ref':_0x3f5bb5['Drnwi']}];}}},addTags=async(_0x4d6c50,_0x41f68c,_0x3997b3)=>{const _0x5dfe61=a27_0x57bdfb,_0x26f24f={'IsIcC':_0x5dfe61(0x14c),'XrTtD':function(_0x241f9f,_0x54f75f,_0x8788d4){return _0x241f9f(_0x54f75f,_0x8788d4);},'CpZfb':'NodeGroup','muRpM':_0x5dfe61(0x183),'DtWPk':function(_0x4bc3ca,_0x52ecc3){return _0x4bc3ca!==_0x52ecc3;},'PAwTP':_0x5dfe61(0x1bf),'qUVlo':function(_0x441685,_0x11bbbc){return _0x441685===_0x11bbbc;},'XseZI':_0x5dfe61(0x16f),'djxZn':function(_0x26be32,_0x350c15){return _0x26be32!==_0x350c15;},'jxhsA':_0x5dfe61(0x186),'nWyVW':'hPACH'};for(const _0xd0d4e2 in _0x4d6c50['Resources']){if(_0x26f24f[_0x5dfe61(0x1b3)](_0x26f24f[_0x5dfe61(0x144)],_0x26f24f['XseZI'])){if(_0x4d6c50[_0x5dfe61(0x192)][_0xd0d4e2][_0x5dfe61(0x13d)]&&_0x4d6c50['Resources'][_0xd0d4e2][_0x5dfe61(0x13d)][_0x5dfe61(0x1c9)]){if(_0x26f24f[_0x5dfe61(0x1b9)](_0x26f24f[_0x5dfe61(0x157)],_0x26f24f[_0x5dfe61(0x163)]))_0x4d6c50[_0x5dfe61(0x192)][_0xd0d4e2]['Properties'][_0x5dfe61(0x1c9)]['push'](..._0x3997b3);else{const _0x567798={};_0x567798[_0x5dfe61(0x145)]=_0x26f24f[_0x5dfe61(0x113)],_0x567798[_0x5dfe61(0x112)]=_0x59454f,_0x568366['Parameters'][_0x5dfe61(0x17c)](_0x567798);}}}else _0x26f24f['XrTtD'](_0x41f3e9,_0x436d3c,_0xe5565a);}const _0x3174a8={};_0x3997b3[_0x5dfe61(0x12f)](_0xe5d8ce=>{const _0x4bdef6=_0x5dfe61,_0xef7c2a={};_0xef7c2a['LKaRG']=_0x26f24f['CpZfb'],_0xef7c2a[_0x4bdef6(0x1bc)]=_0x26f24f[_0x4bdef6(0x19a)];const _0x5bbe6c=_0xef7c2a;if(_0x26f24f['DtWPk'](_0x26f24f[_0x4bdef6(0x160)],_0x26f24f[_0x4bdef6(0x160)])){for(const _0x386964 in _0x5d3562[_0x4bdef6(0x192)]){_0x3d6948[_0x4bdef6(0x192)][_0x386964][_0x4bdef6(0x13d)]&&_0x53c20d[_0x4bdef6(0x192)][_0x386964]['Properties'][_0x4bdef6(0x1c9)]&&_0x1f3089[_0x4bdef6(0x192)][_0x386964][_0x4bdef6(0x13d)][_0x4bdef6(0x1c9)][_0x4bdef6(0x17c)](..._0x3751ef);}const _0x388be1={};_0x1040c5[_0x4bdef6(0x12f)](_0x268d6e=>{const _0x3c0cae=_0x4bdef6;_0x388be1[_0x268d6e[_0x3c0cae(0x184)]]=_0x268d6e[_0x3c0cae(0x19b)];}),_0x580f47[_0x4bdef6(0x192)][_0x5bbe6c['LKaRG']][_0x4bdef6(0x13d)]['Tags']=_0x388be1,_0xa575f2[_0x4bdef6(0x192)][_0x5bbe6c[_0x4bdef6(0x1bc)]][_0x4bdef6(0x13d)]['Tags']=_0x388be1;}else _0x3174a8[_0xe5d8ce[_0x4bdef6(0x184)]]=_0xe5d8ce[_0x4bdef6(0x19b)];}),_0x4d6c50[_0x5dfe61(0x192)][_0x26f24f[_0x5dfe61(0x18c)]][_0x5dfe61(0x13d)][_0x5dfe61(0x1c9)]=_0x3174a8,_0x4d6c50['Resources'][_0x26f24f[_0x5dfe61(0x19a)]][_0x5dfe61(0x13d)][_0x5dfe61(0x1c9)]=_0x3174a8;};exports[a27_0x57bdfb(0x179)]=async(_0x5a53c4,_0x5aa0c6,_0x4561e8,_0x52e1e9=null,_0x375c10=null,_0x3425d0)=>{const _0x37884b=a27_0x57bdfb,_0xa036e1={'cHKjn':function(_0x227851,_0x2d1a39){return _0x227851(_0x2d1a39);},'JQdkN':_0x37884b(0x187),'iSjHA':'browserstack:creationDate','YlAFG':_0x37884b(0x115),'pGcff':_0x37884b(0x155),'bSYLM':_0x37884b(0x1a4),'oWbyd':_0x37884b(0x138),'knnna':function(_0x37d407,_0x3ebb0b,_0x589d9f){return _0x37d407(_0x3ebb0b,_0x589d9f);},'lwBiS':function(_0x56956f,_0x37d01e){return _0x56956f(_0x37d01e);},'vBVdV':function(_0xf084d7,_0x20ebb2,_0x12cf6f){return _0xf084d7(_0x20ebb2,_0x12cf6f);},'ZJFUl':function(_0x3de046,_0x39dfba,_0x11c454,_0x3d2e53){return _0x3de046(_0x39dfba,_0x11c454,_0x3d2e53);},'SNGwM':_0x37884b(0x15d),'hZunO':_0x37884b(0x17e),'KWLaS':'NodeGroupName','dVznc':'NodeAutoScalingGroupMinSize','LTbLo':_0x37884b(0x15b),'ibwdc':_0x37884b(0x175),'svsQg':'NodeAutoScalingGroupMaxSize','JEhxD':_0x37884b(0x1ab),'BkpGC':_0x37884b(0x156),'hxdHX':'S3BucketName','ufhhC':_0x37884b(0x152),'HvQsn':'ClusterAutoUpgrade','ZrIWS':'true','qkAAJ':'false','vOEYm':_0x37884b(0x1c0),'ikNaE':function(_0x3ab294,_0x258515){return _0x3ab294!=_0x258515;},'Opwax':function(_0x384f85,_0x3453fc){return _0x384f85!==_0x3453fc;},'ihuua':function(_0x1efd01,_0x25b721){return _0x1efd01!==_0x25b721;},'uhsPQ':_0x37884b(0x174),'NDVHV':_0x37884b(0x11b),'VXEfy':_0x37884b(0x14c),'QDaVt':'Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','Rsaju':_0x37884b(0x146)},_0x3f79d3=COMMON_HST_TAGS,_0x1a92ea={};_0x1a92ea[_0x37884b(0x184)]=_0xa036e1[_0x37884b(0x196)],_0x1a92ea[_0x37884b(0x19b)]=_0x5a53c4,_0x3f79d3[_0x37884b(0x17c)](_0x1a92ea),_0x3f79d3[_0x37884b(0x17c)]({'Key':_0xa036e1[_0x37884b(0x1b6)],'Value':new Date()['valueOf']()[_0x37884b(0x131)]()});const _0x591837={};_0x591837[_0x37884b(0x128)]=_0xa036e1[_0x37884b(0x16e)];const _0x2e45a8=new AWS[(_0x37884b(0x1bd))](_0x591837),_0x5c99ff=await fs[_0x37884b(0x197)](path[_0x37884b(0x117)](__dirname,'..',_0xa036e1[_0x37884b(0x178)],_0xa036e1[_0x37884b(0x15f)]),_0xa036e1[_0x37884b(0x1ca)]),_0xf25e9b={};_0xf25e9b[_0x37884b(0x1c6)]=CLOUDFORMATION_SCHEMA;const _0x497144=yaml[_0x37884b(0x1c3)](_0x5c99ff,_0xf25e9b);await _0xa036e1['knnna'](addVPCData,_0x497144,_0x52e1e9),await _0xa036e1['lwBiS'](addS3Data,_0x497144),await _0xa036e1[_0x37884b(0x199)](addSubnetData,_0x497144,_0x375c10),await _0xa036e1[_0x37884b(0x18a)](addTags,_0x497144,_0x5a53c4,_0x3f79d3);const _0x1ac39f=JSON[_0x37884b(0x153)](_0x497144),_0x148abb={};_0x148abb[_0x37884b(0x1c4)]=CLUSTER_DEP_STACK_NAME+'-'+_0x5a53c4,_0x148abb[_0x37884b(0x123)]=_0xa036e1[_0x37884b(0x130)],_0x148abb[_0x37884b(0x1a2)]=_0x1ac39f,_0x148abb[_0x37884b(0x169)]=[{'ParameterKey':_0xa036e1[_0x37884b(0x1af)],'ParameterValue':_0x5a53c4},{'ParameterKey':_0xa036e1[_0x37884b(0x1a8)],'ParameterValue':_0x5a53c4+_0x37884b(0x12e)},{'ParameterKey':_0xa036e1['dVznc'],'ParameterValue':''+_0x5aa0c6},{'ParameterKey':_0xa036e1['LTbLo'],'ParameterValue':'0'},{'ParameterKey':_0xa036e1['ibwdc'],'ParameterValue':'1'},{'ParameterKey':_0xa036e1[_0x37884b(0x190)],'ParameterValue':''+_0x4561e8},{'ParameterKey':_0xa036e1[_0x37884b(0x159)],'ParameterValue':global_registry['ami']},{'ParameterKey':_0xa036e1['BkpGC'],'ParameterValue':global_registry[_0x37884b(0x127)]},{'ParameterKey':_0xa036e1['hxdHX'],'ParameterValue':global_registry['s3Bucket']},{'ParameterKey':_0xa036e1['ufhhC'],'ParameterValue':_0x5a53c4+'-Windows-NodeGroup'},{'ParameterKey':_0xa036e1[_0x37884b(0x161)],'ParameterValue':_0x3425d0?_0xa036e1['ZrIWS']:_0xa036e1[_0x37884b(0x126)]}],_0x148abb['Capabilities']=[_0xa036e1[_0x37884b(0x16a)]],_0x148abb[_0x37884b(0x1c9)]=_0x3f79d3;const _0x3e6504=_0x148abb;if(_0xa036e1[_0x37884b(0x129)](_0x52e1e9,null)&&_0xa036e1[_0x37884b(0x172)](_0x52e1e9,undefined)){if(_0xa036e1[_0x37884b(0x119)](_0xa036e1[_0x37884b(0x120)],_0xa036e1[_0x37884b(0x162)])){const _0x6c233={};_0x6c233[_0x37884b(0x145)]=_0xa036e1[_0x37884b(0x19d)],_0x6c233[_0x37884b(0x112)]=_0x52e1e9,_0x3e6504['Parameters'][_0x37884b(0x17c)](_0x6c233);}else _0x3d65e3[_0x37884b(0x192)][_0x141dcd][_0x37884b(0x13d)]&&_0x10a55f['Resources'][_0x47c4ad][_0x37884b(0x13d)][_0x37884b(0x1c9)]&&_0x52c230[_0x37884b(0x192)][_0x250d85][_0x37884b(0x13d)][_0x37884b(0x1c9)]['push'](..._0x876056);}if(_0xa036e1[_0x37884b(0x129)](_0x375c10,null)&&_0xa036e1[_0x37884b(0x172)](_0x375c10,undefined)){let _0x361777=0x1;_0x375c10['forEach'](_0x43939d=>{const _0x1ae0be=_0x37884b;_0x3e6504['Parameters'][_0x1ae0be(0x17c)]({'ParameterKey':_0x1ae0be(0x1b1)+_0xa036e1[_0x1ae0be(0x134)](String,_0x361777)['padStart'](0x2,'0'),'ParameterValue':_0x43939d[_0x1ae0be(0x1c5)]}),_0x361777+=0x1;});}const _0x3d2ff3=await _0x2e45a8[_0x37884b(0x1a7)](_0x3e6504)[_0x37884b(0x176)]();logger['debug'](_0xa036e1['QDaVt']);const _0xd62ac8={};return _0xd62ac8['StackName']=_0x3d2ff3['StackId'],_0x2e45a8['waitFor'](_0xa036e1[_0x37884b(0x124)],_0xd62ac8)[_0x37884b(0x176)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a28_0x25b84e=a28_0x1ddd;(function(_0x599e9c,_0x33b34f){const _0x386bce=a28_0x1ddd,_0x584b30=_0x599e9c();while(!![]){try{const _0x2e27a6=parseInt(_0x386bce(0x143))/0x1*(parseInt(_0x386bce(0x128))/0x2)+parseInt(_0x386bce(0x156))/0x3+-parseInt(_0x386bce(0x12e))/0x4*(parseInt(_0x386bce(0x14e))/0x5)+-parseInt(_0x386bce(0x135))/0x6+-parseInt(_0x386bce(0x12b))/0x7+-parseInt(_0x386bce(0x14a))/0x8*(parseInt(_0x386bce(0x120))/0x9)+parseInt(_0x386bce(0x151))/0xa;if(_0x2e27a6===_0x33b34f)break;else _0x584b30['push'](_0x584b30['shift']());}catch(_0x2a2f6e){_0x584b30['push'](_0x584b30['shift']());}}}(a28_0x295d,0x945a8));const fs=require('fs'),path=require(a28_0x25b84e(0x127)),Promise=require('bluebird'),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require(a28_0x25b84e(0x121)),AWS=require(a28_0x25b84e(0x129))['awsObj'],AWSUtils=require(a28_0x25b84e(0x129)),{CLUSTER_HUB_HA_STACK_NAME,COMMON_HST_TAGS}=require(a28_0x25b84e(0x12d)),{logger}=require(a28_0x25b84e(0x12c));function a28_0x295d(){const _0x465159=['ZoduX','LtuRU','Properties','valueOf','getOidcUrl','1723122hJWYDo','js-yaml-cloudformation-schema','push','://','BaseResourceName','ilcDW','promisifyAll','path','250dNWpZH','./AWSUtils','eyxiR','6028820HzsuoP','../config/logger','../config/constants','4rniOnp','toString','Tags','babxe','apiVersion','vuhBd','CloudFormation','4284414mBybkl','IPczR','Value','promise','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','fwEiq','DELETE','StackName','stringify','2010-05-15','TemplateBody','RqQYU','CAPABILITY_NAMED_IAM','VpcId','7723GpaPbI','browserstack:cluster','browserstack:creationDate','readFileAsync','Parameters','mTSOV','utf-8','8DcFjXA','gjJHY','OnFailure','hub-ha.yaml','1792135lXSsRr','Capabilities','Resources','14001490spDJbo','stackCreateComplete','createHubHaStack','XBNyQ','schema','1102038oCViBP'];a28_0x295d=function(){return _0x465159;};return a28_0x295d();}function a28_0x1ddd(_0x282367,_0xef6c6c){const _0x295d2a=a28_0x295d();return a28_0x1ddd=function(_0x1dddc9,_0x26e852){_0x1dddc9=_0x1dddc9-0x11d;let _0x3a74a2=_0x295d2a[_0x1dddc9];return _0x3a74a2;},a28_0x1ddd(_0x282367,_0xef6c6c);}Promise[a28_0x25b84e(0x126)](fs);const addTags=async(_0x5d1025,_0x35813c)=>{const _0x25e709=a28_0x25b84e;for(const _0x50ed56 in _0x5d1025['Resources']){_0x5d1025[_0x25e709(0x150)][_0x50ed56][_0x25e709(0x11d)]&&_0x5d1025[_0x25e709(0x150)][_0x50ed56]['Properties']['Tags']&&_0x5d1025[_0x25e709(0x150)][_0x50ed56]['Properties'][_0x25e709(0x130)][_0x25e709(0x122)](..._0x35813c);}};exports[a28_0x25b84e(0x153)]=async(_0x4c3422,_0x30beb4=null)=>{const _0xec1020=a28_0x25b84e,_0x26a32e={'RQJxU':_0xec1020(0x144),'XBNyQ':_0xec1020(0x145),'gjJHY':_0xec1020(0x13e),'IPczR':'CFTemplates','ilcDW':_0xec1020(0x14d),'RqQYU':_0xec1020(0x149),'eyxiR':function(_0x12792e,_0x47dca2,_0x76dd41){return _0x12792e(_0x47dca2,_0x76dd41);},'fwEiq':_0xec1020(0x123),'mTSOV':_0xec1020(0x13b),'hBDuo':_0xec1020(0x142),'BFXUs':_0xec1020(0x124),'babxe':'ClusterOIDCURL','ZoduX':_0xec1020(0x141),'LtuRU':_0xec1020(0x139),'vuhBd':_0xec1020(0x152)},_0x5b36f8=COMMON_HST_TAGS,_0x29cb2a={};_0x29cb2a['Key']=_0x26a32e['RQJxU'],_0x29cb2a[_0xec1020(0x137)]=_0x4c3422,_0x5b36f8[_0xec1020(0x122)](_0x29cb2a),_0x5b36f8[_0xec1020(0x122)]({'Key':_0x26a32e[_0xec1020(0x154)],'Value':new Date()[_0xec1020(0x11e)]()[_0xec1020(0x12f)]()});const _0x286166={};_0x286166[_0xec1020(0x132)]=_0x26a32e[_0xec1020(0x14b)];const _0x2dfb4d=new AWS[(_0xec1020(0x134))](_0x286166),_0x3b5a04=await fs[_0xec1020(0x146)](path['join'](__dirname,'..',_0x26a32e[_0xec1020(0x136)],_0x26a32e[_0xec1020(0x125)]),_0x26a32e[_0xec1020(0x140)]),_0x285278={};_0x285278[_0xec1020(0x155)]=CLOUDFORMATION_SCHEMA;const _0x2314c0=yaml['load'](_0x3b5a04,_0x285278);await _0x26a32e[_0xec1020(0x12a)](addTags,_0x2314c0,_0x5b36f8);const _0x5b1cf5=JSON[_0xec1020(0x13d)](_0x2314c0);let _0x4bb9d3=await AWSUtils[_0xec1020(0x11f)](_0x4c3422);_0x4bb9d3=_0x4bb9d3['split'](_0x26a32e[_0xec1020(0x13a)])[0x1];const _0x110a78={};_0x110a78[_0xec1020(0x13c)]=CLUSTER_HUB_HA_STACK_NAME+'-'+_0x4c3422+'-cf',_0x110a78[_0xec1020(0x14c)]=_0x26a32e[_0xec1020(0x148)],_0x110a78[_0xec1020(0x13f)]=_0x5b1cf5,_0x110a78[_0xec1020(0x147)]=[{'ParameterKey':_0x26a32e['hBDuo'],'ParameterValue':_0x30beb4},{'ParameterKey':_0x26a32e['BFXUs'],'ParameterValue':CLUSTER_HUB_HA_STACK_NAME+'-'+_0x4c3422},{'ParameterKey':_0x26a32e[_0xec1020(0x131)],'ParameterValue':_0x4bb9d3}],_0x110a78[_0xec1020(0x14f)]=[_0x26a32e[_0xec1020(0x157)]],_0x110a78[_0xec1020(0x130)]=_0x5b36f8;const _0x1581ae=_0x110a78,_0x5c99ba=await _0x2dfb4d['createStack'](_0x1581ae)[_0xec1020(0x138)]();logger['info'](_0x26a32e[_0xec1020(0x158)]);const _0x1d544a={};return _0x1d544a[_0xec1020(0x13c)]=_0x5c99ba['StackId'],_0x2dfb4d['waitFor'](_0x26a32e[_0xec1020(0x133)],_0x1d544a)[_0xec1020(0x138)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a29_0x3b928c=a29_0x59f4;(function(_0x219cc9,_0x220578){const _0x3a0230=a29_0x59f4,_0x5bbb28=_0x219cc9();while(!![]){try{const _0x44c42b=parseInt(_0x3a0230(0x190))/0x1+-parseInt(_0x3a0230(0x191))/0x2+parseInt(_0x3a0230(0x181))/0x3*(-parseInt(_0x3a0230(0x18b))/0x4)+parseInt(_0x3a0230(0x187))/0x5*(-parseInt(_0x3a0230(0x185))/0x6)+parseInt(_0x3a0230(0x17e))/0x7+parseInt(_0x3a0230(0x195))/0x8*(parseInt(_0x3a0230(0x180))/0x9)+parseInt(_0x3a0230(0x17c))/0xa*(parseInt(_0x3a0230(0x18e))/0xb);if(_0x44c42b===_0x220578)break;else _0x5bbb28['push'](_0x5bbb28['shift']());}catch(_0x4886f2){_0x5bbb28['push'](_0x5bbb28['shift']());}}}(a29_0x13fd,0x7d3c5));function a29_0x59f4(_0x3554d0,_0x220b44){const _0x13fdf6=a29_0x13fd();return a29_0x59f4=function(_0x59f45a,_0x26c335){_0x59f45a=_0x59f45a-0x177;let _0x521535=_0x13fdf6[_0x59f45a];return _0x521535;},a29_0x59f4(_0x3554d0,_0x220b44);}function a29_0x13fd(){const _0x422b7f=['cluster','dump','166120MjVNbV','getKubeConfigData','bluebird','mkdirSync','insecure-skip-tls-verify','qQAyb','CoreV1Api','650qWGAGW','existsSync','3530177IoMdJe','StorageV1Api','18NqaPIj','1101xSZmHx','makeApiClient','KubeConfig','./utilityMethods','5439342nOYBbx','NetworkingV1Api','5jxiQpr','loadFromString','RbacAuthorizationV1Api','WvkID','5012tQvKrH','js-yaml','load','151261NNrCRU','HxTSO','661927miPjJh','444420RIJbPY','clusters'];a29_0x13fd=function(){return _0x422b7f;};return a29_0x13fd();}const fs=require('fs'),yaml=require(a29_0x3b928c(0x18c)),Promise=require(a29_0x3b928c(0x177)),{getDirForConfig}=require(a29_0x3b928c(0x184));Promise['promisifyAll'](fs),exports['createK8sClient']=async(_0x238807,_0x313968)=>{const _0x1d35a7=a29_0x3b928c,_0x5a924a={'WvkID':function(_0x21d435){return _0x21d435();},'qQAyb':_0x1d35a7(0x179),'HxTSO':'@kubernetes/client-node'},_0x12f27e=_0x5a924a[_0x1d35a7(0x18a)](getDirForConfig);!fs[_0x1d35a7(0x17d)](_0x12f27e)&&fs[_0x1d35a7(0x178)](_0x12f27e);let _0x475549=await _0x238807[_0x1d35a7(0x196)]();if(_0x313968){const _0x332d9b=yaml[_0x1d35a7(0x18d)](_0x475549);_0x332d9b[_0x1d35a7(0x192)][0x0][_0x1d35a7(0x193)][_0x5a924a[_0x1d35a7(0x17a)]]=!![],_0x475549=yaml[_0x1d35a7(0x194)](_0x332d9b);}const _0x4d3421=await import(_0x5a924a[_0x1d35a7(0x18f)]),_0xadf694=new _0x4d3421[(_0x1d35a7(0x183))]();_0xadf694[_0x1d35a7(0x188)](_0x475549);const _0x1f774d=_0xadf694[_0x1d35a7(0x182)](_0x4d3421[_0x1d35a7(0x17b)]),_0x816406=_0xadf694[_0x1d35a7(0x182)](_0x4d3421['AppsV1Api']),_0x1a679c=_0xadf694[_0x1d35a7(0x182)](_0x4d3421[_0x1d35a7(0x186)]),_0xdc3d07=_0xadf694[_0x1d35a7(0x182)](_0x4d3421[_0x1d35a7(0x189)]),_0x2709b8=_0xadf694[_0x1d35a7(0x182)](_0x4d3421['ApiregistrationV1Api']),_0x3d958f=_0xadf694['makeApiClient'](_0x4d3421[_0x1d35a7(0x17f)]);return[_0x1f774d,_0x816406,_0x1a679c,_0xdc3d07,_0x2709b8,_0x3d958f,_0xadf694];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a30_0x428c77=a30_0x5c5b;(function(_0x5e48f4,_0x1482b2){const _0x23bb3a=a30_0x5c5b,_0x430a52=_0x5e48f4();while(!![]){try{const _0x4dcefa=parseInt(_0x23bb3a(0xd9))/0x1+parseInt(_0x23bb3a(0xe5))/0x2+-parseInt(_0x23bb3a(0xd7))/0x3*(-parseInt(_0x23bb3a(0xcb))/0x4)+parseInt(_0x23bb3a(0xe3))/0x5+parseInt(_0x23bb3a(0xce))/0x6*(parseInt(_0x23bb3a(0xe1))/0x7)+-parseInt(_0x23bb3a(0xe0))/0x8+-parseInt(_0x23bb3a(0xdd))/0x9;if(_0x4dcefa===_0x1482b2)break;else _0x430a52['push'](_0x430a52['shift']());}catch(_0x581bd6){_0x430a52['push'](_0x430a52['shift']());}}}(a30_0xda00,0xa3cb2));function a30_0x5c5b(_0x2b9888,_0x595225){const _0xda00c2=a30_0xda00();return a30_0x5c5b=function(_0x5c5b6f,_0x4a3754){_0x5c5b6f=_0x5c5b6f-0xc9;let _0x253995=_0xda00c2[_0x5c5b6f];return _0x253995;},a30_0x5c5b(_0x2b9888,_0x595225);}const {logger}=require(a30_0x428c77(0xe4)),awsSDK=require('aws-sdk'),{global_registry}=require(a30_0x428c77(0xe2));function a30_0xda00(){const _0x3f64fa=['4421015AKRVBE','../config/logger','1524988SBqoKc','EFS\x20FileSystem\x20ID\x20found:\x20','clusterRegion','MountTargets','cAckW','error','OutputKey','Mount\x20target\x20','promise','EFS','795184enNUsb','MountTargetId','info','36JWNznW','\x20deleted\x20successfully','EFSFileSystemId','unhBl','find','.\x20Deleting\x20mount\x20targets...','OutputValue','Error\x20deleting\x20EFS\x20mount\x20targets:','OApqj','18sXRXJs','describeMountTargets','1270626BPlyvU','No\x20Mount\x20targets\x20found\x20for\x20the\x20EFS\x20FileSystem\x20ID,\x20skipping\x20mount\x20target\x20deletion.','deleteMountTarget','No\x20EFS\x20FileSystem\x20ID\x20found\x20in\x20stack\x20outputs,\x20skipping\x20mount\x20target\x20deletion.','28133721TMRUSl','FileSystemId','region','4412608UnEnIo','278068BiFWvx','../config/constants'];a30_0xda00=function(){return _0x3f64fa;};return a30_0xda00();}exports['deleteEFSMountTarget']=async _0x184d2e=>{const _0x2954a2=a30_0x428c77,_0x50c4e8={};_0x50c4e8[_0x2954a2(0xd1)]=_0x2954a2(0xda),_0x50c4e8['OApqj']=_0x2954a2(0xdc),_0x50c4e8['cAckW']=_0x2954a2(0xd5);const _0x5cf9e1=_0x50c4e8;try{const _0x56b9bf={};_0x56b9bf[_0x2954a2(0xdf)]=global_registry[_0x2954a2(0xe7)];const _0x201be6=new awsSDK[(_0x2954a2(0xca))](_0x56b9bf),_0x1fe7a2=_0x184d2e[_0x2954a2(0xd2)](_0x369499=>_0x369499[_0x2954a2(0xeb)]===_0x2954a2(0xd0))?.[_0x2954a2(0xd4)];if(_0x1fe7a2){logger[_0x2954a2(0xcd)](_0x2954a2(0xe6)+_0x1fe7a2+_0x2954a2(0xd3));const _0x317c7c={};_0x317c7c[_0x2954a2(0xde)]=_0x1fe7a2;const _0x5d6af3=_0x317c7c,_0x32ce42=await _0x201be6[_0x2954a2(0xd8)](_0x5d6af3)[_0x2954a2(0xc9)]();if(_0x32ce42)for(const _0x464fb1 of _0x32ce42[_0x2954a2(0xe8)]){const _0x11aaff={};_0x11aaff['MountTargetId']=_0x464fb1['MountTargetId'];const _0x109abf=_0x11aaff;await _0x201be6[_0x2954a2(0xdb)](_0x109abf)[_0x2954a2(0xc9)](),logger[_0x2954a2(0xcd)](_0x2954a2(0xec)+_0x464fb1[_0x2954a2(0xcc)]+_0x2954a2(0xcf));}else logger['info'](_0x5cf9e1[_0x2954a2(0xd1)]);}else logger[_0x2954a2(0xcd)](_0x5cf9e1[_0x2954a2(0xd6)]);}catch(_0x1fd5ae){logger[_0x2954a2(0xea)](_0x5cf9e1[_0x2954a2(0xe9)],_0x1fd5ae);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a31_0x2cca63=a31_0x8ee6;(function(_0xd227af,_0x4603e2){const _0x2cc00f=a31_0x8ee6,_0x2d90a1=_0xd227af();while(!![]){try{const _0x403f5b=-parseInt(_0x2cc00f(0x1b8))/0x1*(parseInt(_0x2cc00f(0x1c2))/0x2)+-parseInt(_0x2cc00f(0x1c6))/0x3*(-parseInt(_0x2cc00f(0x1b9))/0x4)+parseInt(_0x2cc00f(0x1bb))/0x5*(-parseInt(_0x2cc00f(0x1be))/0x6)+-parseInt(_0x2cc00f(0x1c3))/0x7+-parseInt(_0x2cc00f(0x1b0))/0x8*(-parseInt(_0x2cc00f(0x1c1))/0x9)+-parseInt(_0x2cc00f(0x1b4))/0xa*(parseInt(_0x2cc00f(0x1b6))/0xb)+-parseInt(_0x2cc00f(0x1c7))/0xc*(-parseInt(_0x2cc00f(0x1c4))/0xd);if(_0x403f5b===_0x4603e2)break;else _0x2d90a1['push'](_0x2d90a1['shift']());}catch(_0x3125b7){_0x2d90a1['push'](_0x2d90a1['shift']());}}}(a31_0x23cc,0x98317));function a31_0x8ee6(_0x4a29c2,_0x59a9fe){const _0x23cc24=a31_0x23cc();return a31_0x8ee6=function(_0x8ee695,_0x50e6c8){_0x8ee695=_0x8ee695-0x1af;let _0xf3390c=_0x23cc24[_0x8ee695];return _0xf3390c;},a31_0x8ee6(_0x4a29c2,_0x59a9fe);}function a31_0x23cc(){const _0x2c0411=['125430sUYClV','promise','913kXqQxP','hvdRi','923939KXocXO','2072372YxeKOD','apiVersion','5soQhHM','stackDeleteComplete','deleteClusterStack','5216226QUsNAN','StackName','awsObj','4131909fSqFlY','2KtwqBG','6035449hanHcq','1738243QjjDCL','Stpwb','3eNhgHt','300sBjiWC','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','8fwxenI','cdOZX','2010-05-15','waitFor'];a31_0x23cc=function(){return _0x2c0411;};return a31_0x23cc();}const AWS=require('./AWSUtils')[a31_0x2cca63(0x1c0)],{logger}=require('../config/logger');exports[a31_0x2cca63(0x1bd)]=async _0x1c5060=>{const _0x1131a3=a31_0x2cca63,_0x3367c0={};_0x3367c0[_0x1131a3(0x1b7)]=_0x1131a3(0x1b2),_0x3367c0[_0x1131a3(0x1b1)]=_0x1131a3(0x1af),_0x3367c0['Stpwb']=_0x1131a3(0x1bc);const _0xaa3f3e=_0x3367c0,_0x4ed7db={};_0x4ed7db[_0x1131a3(0x1ba)]=_0xaa3f3e[_0x1131a3(0x1b7)];const _0x222791=new AWS['CloudFormation'](_0x4ed7db),_0x121f11={};_0x121f11['StackName']=_0x1c5060;const _0x255a2d=_0x121f11,_0x4aa5f5=await _0x222791['deleteStack'](_0x255a2d)[_0x1131a3(0x1b5)]();logger['debug'](_0xaa3f3e['cdOZX']);const _0x3adde6={};return _0x3adde6[_0x1131a3(0x1bf)]=_0x1c5060,_0x222791[_0x1131a3(0x1b3)](_0xaa3f3e[_0x1131a3(0x1c5)],_0x3adde6)['promise']();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a32_0x1997(_0x4b3dde,_0x151e77){const _0x5c76ae=a32_0x5c76();return a32_0x1997=function(_0x199778,_0x537611){_0x199778=_0x199778-0x110;let _0x248cbd=_0x5c76ae[_0x199778];return _0x248cbd;},a32_0x1997(_0x4b3dde,_0x151e77);}const a32_0x18d19f=a32_0x1997;(function(_0x1b9744,_0x29cd4e){const _0x4be781=a32_0x1997,_0x1e70b9=_0x1b9744();while(!![]){try{const _0x5c6320=parseInt(_0x4be781(0x121))/0x1+parseInt(_0x4be781(0x116))/0x2*(-parseInt(_0x4be781(0x114))/0x3)+-parseInt(_0x4be781(0x119))/0x4+-parseInt(_0x4be781(0x115))/0x5*(parseInt(_0x4be781(0x125))/0x6)+-parseInt(_0x4be781(0x112))/0x7*(parseInt(_0x4be781(0x123))/0x8)+-parseInt(_0x4be781(0x11e))/0x9*(parseInt(_0x4be781(0x113))/0xa)+parseInt(_0x4be781(0x124))/0xb*(parseInt(_0x4be781(0x11d))/0xc);if(_0x5c6320===_0x29cd4e)break;else _0x1e70b9['push'](_0x1e70b9['shift']());}catch(_0x510eed){_0x1e70b9['push'](_0x1e70b9['shift']());}}}(a32_0x5c76,0xef00a));const AWS=require('./AWSUtils')[a32_0x18d19f(0x111)],{logger}=require(a32_0x18d19f(0x11c));exports[a32_0x18d19f(0x117)]=async _0x328441=>{const _0xd8570e=a32_0x18d19f,_0x4c33d9={};_0x4c33d9[_0xd8570e(0x11f)]=_0xd8570e(0x122);const _0x1b7ebc=_0x4c33d9,_0x52a3e6={};_0x52a3e6[_0xd8570e(0x118)]=_0x1b7ebc[_0xd8570e(0x11f)];const _0x5a23f8=new AWS[(_0xd8570e(0x11b))](_0x52a3e6),_0x473111={};_0x473111[_0xd8570e(0x11a)]=_0x328441;const _0x54df0a=_0x473111;return _0x5a23f8[_0xd8570e(0x110)](_0x54df0a)[_0xd8570e(0x120)]();};function a32_0x5c76(){const _0x569c07=['describeStacks','awsObj','77xJRIHS','220NhKBbQ','2382HmcQzW','5EwsfGS','4874HsRvgi','describeClusterStack','apiVersion','188752ZMuYvw','StackName','CloudFormation','../config/logger','78564YgZmay','682704XpGIKn','ZoLup','promise','560861mRQvEG','2010-05-15','467176wvsvGe','10263InWktZ','8381358wmwoYS'];a32_0x5c76=function(){return _0x569c07;};return a32_0x5c76();}
|