browserstack-node-sdk 1.34.47 → 1.34.48

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.
Files changed (138) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -0
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -0
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/templates/nginx/pods-and-services.yaml +1 -1
  27. package/ats/src/templates/nginx/private-pods-and-services.yaml +1 -1
  28. package/ats/src/utils/AWSUtils.js +1 -1
  29. package/ats/src/utils/createAutoscalerStack.js +1 -1
  30. package/ats/src/utils/createClusterStack.js +1 -1
  31. package/ats/src/utils/createHubHaStack.js +1 -1
  32. package/ats/src/utils/createk8sClient.js +1 -1
  33. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  34. package/ats/src/utils/deleteStack.js +1 -1
  35. package/ats/src/utils/describeStack.js +1 -1
  36. package/ats/src/utils/gridComponents.js +1 -1
  37. package/ats/src/utils/hstUtils.js +1 -1
  38. package/ats/src/utils/instrumentationUtils.js +1 -1
  39. package/ats/src/utils/userInput.js +1 -1
  40. package/ats/src/utils/utilityMethods.js +1 -1
  41. package/ats/src/utils/webSocketUtils.js +1 -1
  42. package/package.json +1 -1
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  62. package/src/bin/jest/jest.setup.js +1 -1
  63. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  64. package/src/bin/jest/test-observability/helper.js +1 -1
  65. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  66. package/src/bin/jest/test-observability/test-details.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  70. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  71. package/src/bin/mocha/command.js +1 -1
  72. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  73. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  74. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  75. package/src/bin/mocha/test.setup.js +1 -1
  76. package/src/bin/nightwatch/command.js +1 -1
  77. package/src/bin/playwright/accessibility-helper.js +1 -1
  78. package/src/bin/playwright/command.js +1 -1
  79. package/src/bin/playwright/globalSetup.js +1 -1
  80. package/src/bin/playwright/mock-process.js +1 -1
  81. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  82. package/src/bin/playwright/patches.js +1 -1
  83. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  84. package/src/bin/playwright/reporter/reporter.js +1 -1
  85. package/src/bin/playwright/reporter/test-details.js +1 -1
  86. package/src/bin/playwright/sessionDetails.js +1 -1
  87. package/src/bin/runner.js +1 -1
  88. package/src/bin/setup.js +1 -1
  89. package/src/bin/test-runner/index.js +1 -1
  90. package/src/bin/test-runner/runTest.js +1 -1
  91. package/src/bin/test-runner/testWorker.js +1 -1
  92. package/src/bin/utils/constants.js +1 -1
  93. package/src/bin/utils/log4jsAppender.js +1 -1
  94. package/src/bin/utils/logPatcher.js +1 -1
  95. package/src/bin/utils/logReportingAPI.js +1 -1
  96. package/src/bin/vanilla-js/command.js +1 -1
  97. package/src/browserStackSdk.js +1 -1
  98. package/src/helpers/BrowserStackSetup.js +1 -1
  99. package/src/helpers/accessibility-automation/constants.js +1 -1
  100. package/src/helpers/accessibility-automation/helper.js +1 -1
  101. package/src/helpers/accessibility-automation/scripts.js +1 -1
  102. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  103. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  104. package/src/helpers/ats/constants.js +1 -1
  105. package/src/helpers/ats/helper.js +1 -1
  106. package/src/helpers/capsMapping.js +1 -1
  107. package/src/helpers/central-scanner/constants.js +1 -1
  108. package/src/helpers/central-scanner/helpers.js +1 -1
  109. package/src/helpers/globals.js +1 -1
  110. package/src/helpers/helper.js +1 -1
  111. package/src/helpers/logger.js +1 -1
  112. package/src/helpers/patchHelper.js +1 -1
  113. package/src/helpers/patchHelpers.js +1 -1
  114. package/src/helpers/percy/Percy.js +1 -1
  115. package/src/helpers/percy/PercyBinary.js +1 -1
  116. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  117. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  118. package/src/helpers/percy/PercySDK.js +1 -1
  119. package/src/helpers/percy/index.js +1 -1
  120. package/src/helpers/percy/utils.js +1 -1
  121. package/src/helpers/performance/constants.js +1 -1
  122. package/src/helpers/performance/performance-tester.js +1 -1
  123. package/src/helpers/processHelper.js +1 -1
  124. package/src/helpers/request-spy.js +1 -1
  125. package/src/helpers/setKeepAlive.js +1 -1
  126. package/src/helpers/test-observability/constants.js +1 -1
  127. package/src/helpers/test-observability/error-handler.js +1 -1
  128. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  129. package/src/helpers/test-observability/sessionHandler.js +1 -1
  130. package/src/helpers/test-observability/utils.js +1 -1
  131. package/src/helpers/testhub/constants.js +1 -1
  132. package/src/helpers/testhub/testhubHandler.js +1 -1
  133. package/src/helpers/testhub/utils.js +1 -1
  134. package/src/helpers/timeoutPromise.js +1 -1
  135. package/src/helpers/utilities.js +1 -1
  136. package/src/helpers/w3cMapping.js +1 -1
  137. package/src/hubAllocationMethods.js +1 -1
  138. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a23_0x3533d5=a23_0x5dca;function a23_0x528b(){const _0x26381e=['105069zWcJgV','sKPwB','THnix','nTeAX','info','YKYxp','warn','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','error','WoKHb','24598WniFPj','catch','Bucket','dIjzG','CGkjj','mhPft','cUMWP','EKS','VFhCm','../config/logger','IZLnn','ITWdO','toLzf','LpjhD','describeCluster','getOidcUrl','nfZZD','fSRqB','2017-11-01','yZbAY','AXadL','QuHfz','bzEAu','Bucket:\x20','nebqB','JTRKf','kzzpQ','zhxez','echBj','getAWSRegions','2453cnOlrK','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','awsObj','VRoIY','describeSubnets','LapeU','EDiaB','hKbFU','EC2','XWLtw','lssbu','lqxMp','Regions','qzudR','WkSHx','SdGXg','PTaXH','sZfjq','describeRegions','iQXTV','tYHMJ','TcowY','Ydqjn','mxkbW','name','YueAw','GlWfm','apiVersion','DwREV','tVPOV','bapzg','WieXh','Zegew','pDxql','VdqFY','QGfSD','nFroy','MlOGp','hjiyH','fetchVPCs','VxdQN','issuer','QbuVy','gJeYu','fetchSubnets','CkJYv','GiWqC','pSNTA','ABtxx','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','bJOrq','oidc','PvNIu','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','GVRRT','FEIio','eWnyf','EaedR','zqOwc','yXJJU','LHQSN','oTuNF','cUUIC','frGuP','Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20','rVOeU','weHtc','WJsOX','headBucket','oyOsb','aws-sdk','olwJn','oSYgj','jTTmA','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','2016-11-15','bPFTK','describeVpcs','ybqiB','1967877GiQzvK','xEEWb','155EMfyIJ','fQUdn','325531FzTfXc','KIuDX','XCptV','elknf','dhgOY','iXhvq','UZzlc','ggriw','zwFlF','jDTby','XHtFg','oXtVz','bfETc','fetchSecurityGroups','OREUQ','swPjr','HEBoo','RTwgp','tOufq','gFeTl','888zapMFU','APTky','iBoTQ','quuhS','oIHMm','CWlOq','iRKgH','describeSecurityGroups','cluster','promise','1072740EjkPsz','KLibY','tThZq','POjYf','kmbSD','10oypOyL','BIuFC','pnqlJ','JfLLg','Srvvh','vBzLF','jbczI','Hqjaq','mfndx','ewfEm','GmDht','then','pCwYI','aiBcW','19998txjLQe','Mfwnb','nUXBl','36010HwozeE','identity','dPTbY','region'];a23_0x528b=function(){return _0x26381e;};return a23_0x528b();}(function(_0x2345c1,_0x51afaf){const _0x505dea=a23_0x5dca,_0x495f5d=_0x2345c1();while(!![]){try{const _0x131346=-parseInt(_0x505dea(0xd6))/0x1+-parseInt(_0x505dea(0xf9))/0x2*(-parseInt(_0x505dea(0x10e))/0x3)+parseInt(_0x505dea(0xf4))/0x4+-parseInt(_0x505dea(0xd4))/0x5*(parseInt(_0x505dea(0x107))/0x6)+-parseInt(_0x505dea(0x119))/0x7*(parseInt(_0x505dea(0xea))/0x8)+-parseInt(_0x505dea(0xd2))/0x9+parseInt(_0x505dea(0x10a))/0xa*(parseInt(_0x505dea(0x137))/0xb);if(_0x131346===_0x51afaf)break;else _0x495f5d['push'](_0x495f5d['shift']());}catch(_0x339efb){_0x495f5d['push'](_0x495f5d['shift']());}}}(a23_0x528b,0x32f7a));function a23_0x5dca(_0x3b777e,_0x59a4cc){const _0x528bf0=a23_0x528b();return a23_0x5dca=function(_0x5dca1d,_0x457da5){_0x5dca1d=_0x5dca1d-0xc7;let _0x4be0b2=_0x528bf0[_0x5dca1d];return _0x4be0b2;},a23_0x5dca(_0x3b777e,_0x59a4cc);}const awsSDK=require(a23_0x3533d5(0xc9)),{logger}=require(a23_0x3533d5(0x122));exports[a23_0x3533d5(0x15e)]=_0x458d25=>{const _0x4fe939=a23_0x3533d5,_0x41cb51={'pCwYI':function(_0x5d2991,_0x5d08d1){return _0x5d2991(_0x5d08d1);},'mxkbW':function(_0x12a8f4,_0x2a14d8){return _0x12a8f4===_0x2a14d8;},'elknf':_0x4fe939(0xd1),'qzudR':_0x4fe939(0x100),'dIjzG':function(_0xa8cd41,_0xef146c){return _0xa8cd41(_0xef146c);},'XHtFg':_0x4fe939(0x158),'nUXBl':_0x4fe939(0xd7),'eWnyf':'HGfTF','VFhCm':'2016-11-15'};return new Promise((_0x123f31,_0x138877)=>{const _0x322e47=_0x4fe939,_0x10053c={'GmDht':function(_0x1224a6,_0x32fc2d){const _0x40f35e=a23_0x5dca;return _0x41cb51[_0x40f35e(0x11c)](_0x1224a6,_0x32fc2d);},'EaedR':function(_0x1b72e6,_0x52a261){return _0x41cb51['mxkbW'](_0x1b72e6,_0x52a261);},'CGkjj':_0x41cb51[_0x322e47(0xe0)]};if(_0x41cb51[_0x322e47(0x14e)](_0x41cb51[_0x322e47(0x109)],_0x41cb51[_0x322e47(0x16f)]))_0x41cb51['pCwYI'](_0x4959bf,_0x477590);else{const _0x386a1b={};_0x386a1b['apiVersion']=_0x41cb51[_0x322e47(0x121)],_0x386a1b[_0x322e47(0x10d)]=_0x458d25;const _0x352f66=new awsSDK['EC2'](_0x386a1b);_0x352f66['describeVpcs']()['promise']()[_0x322e47(0x104)](_0x1332d3=>{const _0x2d9352=_0x322e47,_0x1babdd={'aiBcW':function(_0x6f5a38,_0x489470){const _0x9d7cf2=a23_0x5dca;return _0x41cb51[_0x9d7cf2(0x105)](_0x6f5a38,_0x489470);}};_0x41cb51[_0x2d9352(0x14e)](_0x41cb51[_0x2d9352(0xd9)],_0x41cb51[_0x2d9352(0x144)])?(_0x13f165[_0x2d9352(0x114)](_0x2d9352(0x130)+_0x482547+_0x2d9352(0x168)),_0x1babdd[_0x2d9352(0x106)](_0x6bbb7c,!![])):_0x41cb51[_0x2d9352(0x11c)](_0x123f31,_0x1332d3);})[_0x322e47(0x11a)](_0x3f6092=>{const _0x5b87db=_0x322e47,_0x2f4d58={'EXbRd':function(_0x2d00db,_0x84d0c5){const _0x335325=a23_0x5dca;return _0x10053c[_0x335325(0x103)](_0x2d00db,_0x84d0c5);}};_0x10053c[_0x5b87db(0x170)](_0x10053c[_0x5b87db(0x11d)],_0x10053c[_0x5b87db(0x11d)])?(logger[_0x5b87db(0x117)](_0x5b87db(0xcd)+_0x3f6092),_0x10053c['GmDht'](_0x138877,_0x3f6092)):(_0xf01fe6[_0x5b87db(0x112)](_0x5b87db(0x130)+_0x3c0785+_0x5b87db(0x138)),_0x2f4d58['EXbRd'](_0x1123b0,![]));});}});},exports['isBucketPresent']=_0x428d50=>{const _0x1e0fcd=a23_0x3533d5,_0x111d56={'swPjr':function(_0x3c24b4,_0x44f6b7){return _0x3c24b4(_0x44f6b7);},'fQUdn':function(_0xf3eaaf,_0x195fff){return _0xf3eaaf!==_0x195fff;},'EDiaB':_0x1e0fcd(0x176),'jTTmA':_0x1e0fcd(0x10c),'VRoIY':function(_0x3d4511,_0x4858c6){return _0x3d4511===_0x4858c6;},'tOufq':_0x1e0fcd(0xdc),'cUMWP':'UsRsx','POjYf':'2017-11-01','APTky':_0x1e0fcd(0x12e)},_0x963a9d=new awsSDK['S3']();return new Promise((_0x3270f5,_0x2f77c5)=>{const _0x33e2d7=_0x1e0fcd,_0x3e243b={'KLibY':function(_0x94116d,_0x282285){const _0x3eeae9=a23_0x5dca;return _0x111d56[_0x3eeae9(0xe5)](_0x94116d,_0x282285);},'lqxMp':function(_0x152e3d,_0x1a5cf6){const _0x5bcec2=a23_0x5dca;return _0x111d56[_0x5bcec2(0xd5)](_0x152e3d,_0x1a5cf6);},'BIuFC':_0x111d56[_0x33e2d7(0x13d)],'OREUQ':_0x111d56[_0x33e2d7(0xcc)],'HEBoo':function(_0x175bdb,_0xb699e4){const _0x586dd4=_0x33e2d7;return _0x111d56[_0x586dd4(0xe5)](_0x175bdb,_0xb699e4);},'quuhS':function(_0x56ea82,_0x15fd5d){const _0x1f3514=_0x33e2d7;return _0x111d56[_0x1f3514(0xe5)](_0x56ea82,_0x15fd5d);},'rVOeU':function(_0xf5de85,_0x12dcfd){const _0x58d24d=_0x33e2d7;return _0x111d56[_0x58d24d(0x13a)](_0xf5de85,_0x12dcfd);},'bzMqD':_0x111d56[_0x33e2d7(0xe8)],'Axxoa':_0x111d56[_0x33e2d7(0x11f)],'tThZq':_0x111d56[_0x33e2d7(0xf7)]};if(_0x111d56[_0x33e2d7(0x13a)](_0x111d56[_0x33e2d7(0xeb)],_0x111d56[_0x33e2d7(0xeb)])){const _0x3cb877={};_0x3cb877[_0x33e2d7(0x11b)]=_0x428d50,_0x963a9d[_0x33e2d7(0xc7)](_0x3cb877)[_0x33e2d7(0xf3)]()[_0x33e2d7(0x104)](_0x3e842c=>{const _0x5a4e92=_0x33e2d7,_0x95b54a={'SdGXg':function(_0x4b894c,_0x39a563){const _0x3fd15d=a23_0x5dca;return _0x3e243b[_0x3fd15d(0xf5)](_0x4b894c,_0x39a563);}};_0x3e243b[_0x5a4e92(0x142)](_0x3e243b[_0x5a4e92(0xfa)],_0x3e243b[_0x5a4e92(0xe4)])?(logger[_0x5a4e92(0x114)](_0x5a4e92(0x130)+_0x428d50+_0x5a4e92(0x168)),_0x3e243b[_0x5a4e92(0xe6)](_0x3270f5,!![])):_0x95b54a[_0x5a4e92(0x146)](_0x20a7f7,_0x1d1f44[_0x5a4e92(0x143)]);})[_0x33e2d7(0x11a)](()=>{const _0x21a6c2=_0x33e2d7,_0x2cbcdc={'QbuVy':function(_0x78cd38,_0x36bf6c){const _0x35b38b=a23_0x5dca;return _0x3e243b[_0x35b38b(0xed)](_0x78cd38,_0x36bf6c);}};_0x3e243b[_0x21a6c2(0x178)](_0x3e243b['bzMqD'],_0x3e243b['Axxoa'])?(_0x2bd846[_0x21a6c2(0x117)]('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x569b03+':\x20'+_0xda87a6),_0x2cbcdc[_0x21a6c2(0x161)](_0x3b93c6,_0x34651e)):(logger[_0x21a6c2(0x112)]('Bucket:\x20'+_0x428d50+_0x21a6c2(0x138)),_0x3e243b[_0x21a6c2(0xe6)](_0x3270f5,![]));});}else return new _0x3486b9((_0x2bd5d0,_0x5df7e0)=>{const _0x323ba2=_0x33e2d7,_0x1bae7c={'iBoTQ':function(_0x5c48b4,_0x1929e1){const _0x21ce15=a23_0x5dca;return _0x3e243b[_0x21ce15(0xed)](_0x5c48b4,_0x1929e1);}},_0x2e28d4={};_0x2e28d4['apiVersion']=_0x3e243b[_0x323ba2(0xf6)];const _0x863606=new _0x56ecc6['EKS'](_0x2e28d4),_0x2ad270={};_0x2ad270[_0x323ba2(0x14f)]=_0xf4d26b,_0x863606['describeCluster'](_0x2ad270)[_0x323ba2(0xf3)]()[_0x323ba2(0x104)](_0x4ba546=>{const _0x3d7985=_0x323ba2;_0x1bae7c[_0x3d7985(0xec)](_0x2bd5d0,_0x4ba546[_0x3d7985(0xf2)][_0x3d7985(0x10b)][_0x3d7985(0x16a)][_0x3d7985(0x160)]);})[_0x323ba2(0x11a)](_0x22c7a6=>{const _0x453303=_0x323ba2;_0x23713f['error']('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0xb7db97+':\x20'+_0x22c7a6),_0x1bae7c[_0x453303(0xec)](_0x5df7e0,_0x22c7a6);});});});},exports[a23_0x3533d5(0x163)]=_0x26dd9a=>{const _0x3e4112=a23_0x3533d5,_0x4b55a8={'GVRRT':function(_0x20f6b9,_0x58bf76){return _0x20f6b9!==_0x58bf76;},'LHQSN':function(_0x2be8fd,_0x3e270d){return _0x2be8fd(_0x3e270d);},'GlWfm':function(_0x3772e1,_0x1b2a9b){return _0x3772e1!==_0x1b2a9b;},'oSYgj':_0x3e4112(0x165),'BwKoo':_0x3e4112(0xe7),'mfndx':function(_0x15a985,_0xafca92){return _0x15a985(_0xafca92);},'SYRXv':_0x3e4112(0xdb),'kmbSD':_0x3e4112(0x17a),'fVkfF':function(_0x4979e6,_0x2db4c2){return _0x4979e6(_0x2db4c2);},'zhxez':_0x3e4112(0xce),'ITWdO':'vledW'};return new Promise((_0x341d3f,_0x5e55db)=>{const _0x547ded=_0x3e4112,_0x396012={'toLzf':function(_0x288052,_0x3e10d8){const _0x5dacc5=a23_0x5dca;return _0x4b55a8[_0x5dacc5(0x101)](_0x288052,_0x3e10d8);},'Ydqjn':_0x4b55a8[_0x547ded(0x134)]};if(_0x4b55a8['GVRRT'](_0x4b55a8[_0x547ded(0x124)],_0x4b55a8['ITWdO']))_0x396012[_0x547ded(0x125)](_0x467efe,_0x51a8cf['cluster'][_0x547ded(0x10b)][_0x547ded(0x16a)]['issuer']);else{const _0x3e22a2={};_0x3e22a2[_0x547ded(0x152)]=_0x4b55a8['zhxez'],_0x3e22a2[_0x547ded(0x10d)]=_0x26dd9a;const _0x3759a1=new awsSDK['EC2'](_0x3e22a2);_0x3759a1[_0x547ded(0x13b)]()[_0x547ded(0xf3)]()[_0x547ded(0x104)](_0x16b90d=>{const _0x1d8dd2=_0x547ded,_0x129c33={'weHtc':function(_0x5e6fb5,_0x44055e){const _0xa07917=a23_0x5dca;return _0x4b55a8[_0xa07917(0x16d)](_0x5e6fb5,_0x44055e);},'TuTPL':function(_0x48d2c1,_0x57b012){return _0x4b55a8['LHQSN'](_0x48d2c1,_0x57b012);},'tVPOV':function(_0x4b44c6,_0x90cc5e){const _0x2055da=a23_0x5dca;return _0x4b55a8[_0x2055da(0x173)](_0x4b44c6,_0x90cc5e);}};_0x4b55a8[_0x1d8dd2(0x151)](_0x4b55a8[_0x1d8dd2(0xcb)],_0x4b55a8['BwKoo'])?_0x4b55a8[_0x1d8dd2(0x101)](_0x341d3f,_0x16b90d):_0x129c33[_0x1d8dd2(0x179)](_0x4755bd,_0x36637e)&&_0x129c33[_0x1d8dd2(0x179)](_0x2a1883[_0x1d8dd2(0x143)],_0x233d96)?_0x129c33['TuTPL'](_0x359e4e,_0x53ffc7[_0x1d8dd2(0x143)]):_0x129c33[_0x1d8dd2(0x154)](_0xc518b1,{});})[_0x547ded(0x11a)](_0x4ec824=>{const _0xa943da=_0x547ded;if(_0x4b55a8['GVRRT'](_0x4b55a8['SYRXv'],_0x4b55a8[_0xa943da(0xf8)]))logger['error'](_0xa943da(0x116)+_0x4ec824),_0x4b55a8['fVkfF'](_0x5e55db,_0x4ec824);else{const _0x49f72d={'WkSHx':function(_0x53715b,_0x588602){return _0x396012['toLzf'](_0x53715b,_0x588602);},'oTuNF':function(_0x5557bb,_0x5580e4){const _0x43e304=_0xa943da;return _0x396012[_0x43e304(0x125)](_0x5557bb,_0x5580e4);},'nfZZD':_0x396012[_0xa943da(0x14d)]};return new _0x1354d3((_0x196fda,_0x4b2cff)=>{const _0x1aa041=_0xa943da,_0x347e09={'olwJn':function(_0x16ad8b,_0xc9ee1c){const _0xcf9edb=a23_0x5dca;return _0x49f72d[_0xcf9edb(0x174)](_0x16ad8b,_0xc9ee1c);}},_0x5de8db={};_0x5de8db[_0x1aa041(0x152)]=_0x49f72d[_0x1aa041(0x129)],_0x5de8db['region']=_0x402d37;const _0x19f938=new _0x5375fb[(_0x1aa041(0x13f))](_0x5de8db);_0x19f938[_0x1aa041(0xd0)]()['promise']()[_0x1aa041(0x104)](_0x4fd5ec=>{const _0x1672da=_0x1aa041;_0x347e09[_0x1672da(0xca)](_0x196fda,_0x4fd5ec);})[_0x1aa041(0x11a)](_0x299b05=>{const _0x1fa7a8=_0x1aa041;_0x1cb18f['error'](_0x1fa7a8(0xcd)+_0x299b05),_0x49f72d[_0x1fa7a8(0x145)](_0x4b2cff,_0x299b05);});});}});}});},exports[a23_0x3533d5(0xe3)]=_0xf082f6=>{const _0x46d22f=a23_0x3533d5,_0xa8ae20={'jDTby':function(_0x5268b3,_0x31b009){return _0x5268b3(_0x31b009);},'cUUIC':function(_0x9d7534,_0x4a6f0f){return _0x9d7534(_0x4a6f0f);},'QGfSD':'2016-11-15','xEEWb':function(_0x50c68d,_0x39c3bb){return _0x50c68d===_0x39c3bb;},'doeIl':_0x46d22f(0x167),'yZbAY':_0x46d22f(0x102),'VxdQN':_0x46d22f(0x12b),'bzEAu':function(_0x5b1074,_0x2d03f7){return _0x5b1074!==_0x2d03f7;},'pEuvF':_0x46d22f(0x15b),'hLNCS':_0x46d22f(0x118),'hjiyH':function(_0x2dcf39,_0xb982db){return _0x2dcf39(_0xb982db);},'ggriw':_0x46d22f(0xff)};return new Promise((_0x1a2979,_0x2b2492)=>{const _0x435932=_0x46d22f,_0x4c0049={'JesBM':function(_0x12c550,_0x3e03bf){const _0x23b2ba=a23_0x5dca;return _0xa8ae20[_0x23b2ba(0x175)](_0x12c550,_0x3e03bf);},'gJeYu':_0xa8ae20[_0x435932(0x15f)],'MlOGp':function(_0x2e1a35,_0x2ef206){const _0x101be4=_0x435932;return _0xa8ae20[_0x101be4(0x12f)](_0x2e1a35,_0x2ef206);},'sZfjq':_0xa8ae20['pEuvF'],'uIhZp':_0xa8ae20['hLNCS'],'LapeU':function(_0x1752a3,_0x215df0){const _0x3fccc7=_0x435932;return _0xa8ae20[_0x3fccc7(0x175)](_0x1752a3,_0x215df0);},'bPFTK':function(_0x30cdfd,_0x3d2e47){const _0x142f48=_0x435932;return _0xa8ae20[_0x142f48(0x15d)](_0x30cdfd,_0x3d2e47);}};if(_0xa8ae20[_0x435932(0x12f)](_0xa8ae20[_0x435932(0xdd)],_0xa8ae20[_0x435932(0xdd)])){const _0x101067={'lssbu':function(_0x3dc28b,_0x1dda27){return _0xa8ae20['jDTby'](_0x3dc28b,_0x1dda27);},'bfETc':function(_0x4aa101,_0x291523){const _0x535d26=_0x435932;return _0xa8ae20[_0x535d26(0x175)](_0x4aa101,_0x291523);}},_0x23f42c={};_0x23f42c['apiVersion']=_0xa8ae20[_0x435932(0x15a)],_0x23f42c[_0x435932(0x10d)]=_0x5996f2;const _0x10c90f=new _0x1ce875['EC2'](_0x23f42c);_0x10c90f['describeVpcs']()[_0x435932(0xf3)]()['then'](_0x576f1d=>{const _0x32c57e=_0x435932;_0x101067[_0x32c57e(0x141)](_0x1d4efd,_0x576f1d);})[_0x435932(0x11a)](_0x471742=>{const _0x45e781=_0x435932;_0x1715eb[_0x45e781(0x117)](_0x45e781(0xcd)+_0x471742),_0x101067[_0x45e781(0xe2)](_0x27c7f8,_0x471742);});}else{const _0x58f12b={};_0x58f12b[_0x435932(0x152)]=_0xa8ae20[_0x435932(0x15a)],_0x58f12b['region']=_0xf082f6;const _0x2f8a28=new awsSDK[(_0x435932(0x13f))](_0x58f12b);_0x2f8a28[_0x435932(0xf1)]()['promise']()[_0x435932(0x104)](_0x1722df=>{const _0x1371d3=_0x435932,_0x8dc9e2={'YKYxp':function(_0x1ec52c,_0x5adc11){return _0x4c0049['JesBM'](_0x1ec52c,_0x5adc11);},'QTExS':_0x4c0049[_0x1371d3(0x162)]};if(_0x4c0049[_0x1371d3(0x15c)](_0x4c0049[_0x1371d3(0x148)],_0x4c0049['uIhZp']))_0x4c0049[_0x1371d3(0x13c)](_0x1a2979,_0x1722df);else{const _0x2f584d={'mzQUv':function(_0x22e90a,_0x5172e4){const _0x20a17f=_0x1371d3;return _0x8dc9e2[_0x20a17f(0x113)](_0x22e90a,_0x5172e4);}},_0x512525={};_0x512525[_0x1371d3(0x152)]=_0x8dc9e2['QTExS'];const _0x17dbbf=new _0x2a99a4[(_0x1371d3(0x120))](_0x512525),_0x17e7e6={};_0x17e7e6['name']=_0x179d75,_0x17dbbf[_0x1371d3(0x127)](_0x17e7e6)['promise']()['then'](_0x5972d4=>{const _0x81ca79=_0x1371d3;_0x8dc9e2[_0x81ca79(0x113)](_0x3e16cb,_0x5972d4['cluster']['identity'][_0x81ca79(0x16a)][_0x81ca79(0x160)]);})['catch'](_0x27d2b7=>{const _0x10c95a=_0x1371d3;_0x3496b2[_0x10c95a(0x117)](_0x10c95a(0x177)+_0x32709e+':\x20'+_0x27d2b7),_0x2f584d['mzQUv'](_0x1927d6,_0x27d2b7);});}})[_0x435932(0x11a)](_0x2e0935=>{const _0x12292d=_0x435932;_0xa8ae20[_0x12292d(0xd3)](_0xa8ae20['doeIl'],_0xa8ae20[_0x12292d(0x12c)])?_0x4c0049[_0x12292d(0xcf)](_0x22eae3,_0x37e4d6):(logger[_0x12292d(0x117)](_0x12292d(0x115)+_0x2e0935),_0xa8ae20[_0x12292d(0xdf)](_0x2b2492,_0x2e0935));});}});},exports[a23_0x3533d5(0x136)]=()=>{const _0x379141=a23_0x3533d5,_0x2451ce={'pnqlJ':function(_0x423fd4,_0x39a65e){return _0x423fd4(_0x39a65e);},'PvNIu':_0x379141(0xce),'zqOwc':function(_0x2664a2,_0x220a7b){return _0x2664a2!==_0x220a7b;},'IZLnn':'IEtnh','mhPft':function(_0x2ad7fa,_0x2c51cf){return _0x2ad7fa(_0x2c51cf);},'dnMxU':function(_0x51aa32,_0x3aba78){return _0x51aa32===_0x3aba78;},'JfLLg':'mbQfa','zRdMk':function(_0x46f8a0,_0x44feb1){return _0x46f8a0!==_0x44feb1;},'Srvvh':_0x379141(0xd8),'jEUNA':_0x379141(0x140),'WieXh':'EKIZM','aStyO':function(_0x4b8473,_0x289bc2){return _0x4b8473===_0x289bc2;},'zwFlF':'jvfxs','AXadL':_0x379141(0x132)};return new Promise((_0x4f732b,_0xaf34a2)=>{const _0x29baf6=_0x379141,_0x192e4f={'vBzLF':function(_0x455e41,_0x39694b){return _0x2451ce['pnqlJ'](_0x455e41,_0x39694b);},'mLoAr':_0x2451ce[_0x29baf6(0x16b)],'oIHMm':function(_0x273c05,_0x25fe36){const _0x3b57c9=_0x29baf6;return _0x2451ce[_0x3b57c9(0x11e)](_0x273c05,_0x25fe36);},'TcowY':function(_0x9455e4,_0x2721ca){const _0x17b5cf=_0x29baf6;return _0x2451ce[_0x17b5cf(0xfb)](_0x9455e4,_0x2721ca);},'kWiIS':function(_0x283edb,_0x42d92d){return _0x2451ce['dnMxU'](_0x283edb,_0x42d92d);},'yXJJU':_0x2451ce[_0x29baf6(0xfc)],'sKPwB':function(_0x482986,_0xc990c6){return _0x2451ce['zRdMk'](_0x482986,_0xc990c6);},'hKbFU':_0x2451ce[_0x29baf6(0xfd)],'THnix':_0x2451ce['jEUNA'],'MDSYw':_0x2451ce[_0x29baf6(0x156)],'CkJYv':function(_0x4bf200,_0x3249fe){const _0xf65a6b=_0x29baf6;return _0x2451ce[_0xf65a6b(0x11e)](_0x4bf200,_0x3249fe);}};if(_0x2451ce['aStyO'](_0x2451ce[_0x29baf6(0xde)],_0x2451ce[_0x29baf6(0x12d)]))_0x44eff6[_0x29baf6(0x117)](_0x29baf6(0x115)+_0x177a49),_0x2451ce[_0x29baf6(0xfb)](_0x529a0f,_0x5f3baa);else{const _0x25f2ae={};_0x25f2ae[_0x29baf6(0x152)]=_0x2451ce[_0x29baf6(0x16b)];const _0x4e6a92=new awsSDK[(_0x29baf6(0x13f))](_0x25f2ae);_0x4e6a92[_0x29baf6(0x149)]()['promise']()['then']((_0x2705a1,_0x3c86d4)=>{const _0x517031=_0x29baf6,_0x51b938={'iQXTV':function(_0x106cde,_0x3609c1){const _0x4f9c85=a23_0x5dca;return _0x192e4f[_0x4f9c85(0xfe)](_0x106cde,_0x3609c1);},'tYHMJ':_0x192e4f['mLoAr'],'xEOxF':function(_0x1e494c,_0x51072a){const _0x240695=a23_0x5dca;return _0x192e4f[_0x240695(0xee)](_0x1e494c,_0x51072a);},'nTeAX':function(_0x27055f,_0xa0162d){const _0x483b4f=a23_0x5dca;return _0x192e4f[_0x483b4f(0x14c)](_0x27055f,_0xa0162d);}};if(_0x192e4f['kWiIS'](_0x192e4f[_0x517031(0x172)],_0x192e4f['yXJJU'])){if(_0x192e4f[_0x517031(0x10f)](_0x2705a1,undefined)&&_0x192e4f[_0x517031(0x10f)](_0x2705a1['Regions'],undefined)){if(_0x192e4f['sKPwB'](_0x192e4f[_0x517031(0x13e)],_0x192e4f[_0x517031(0x13e)])){const _0x31f9c4={'oyOsb':function(_0x342a8e,_0x5ce47e){const _0x24abdc=_0x517031;return _0x51b938[_0x24abdc(0x14a)](_0x342a8e,_0x5ce47e);},'AwnHj':_0x51b938[_0x517031(0x14b)]};return new _0x2d8f8e((_0x5ea272,_0x32f36b)=>{const _0x505355=_0x517031,_0x4d6e6e={'LpjhD':function(_0x5ec3ae,_0x3ea58f){const _0x573438=a23_0x5dca;return _0x31f9c4[_0x573438(0xc8)](_0x5ec3ae,_0x3ea58f);}},_0x26fc63={};_0x26fc63[_0x505355(0x152)]=_0x31f9c4['AwnHj'],_0x26fc63[_0x505355(0x10d)]=_0x279e8b;const _0x237742=new _0x277a40[(_0x505355(0x13f))](_0x26fc63);_0x237742[_0x505355(0xf1)]()[_0x505355(0xf3)]()['then'](_0x3cbcda=>{_0x4d6e6e['LpjhD'](_0x5ea272,_0x3cbcda);})[_0x505355(0x11a)](_0x4a49c6=>{const _0xcb0a1d=_0x505355;_0x2b29a4[_0xcb0a1d(0x117)](_0xcb0a1d(0x115)+_0x4a49c6),_0x4d6e6e[_0xcb0a1d(0x126)](_0x32f36b,_0x4a49c6);});});}else _0x192e4f[_0x517031(0xfe)](_0x4f732b,_0x2705a1[_0x517031(0x143)]);}else _0x192e4f[_0x517031(0x10f)](_0x192e4f[_0x517031(0x110)],_0x192e4f['MDSYw'])?_0x192e4f[_0x517031(0x164)](_0x4f732b,{}):_0x51b938['xEOxF'](_0xe6e169,_0x21962b);}else _0x2aa889[_0x517031(0x117)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x5cb453),_0x51b938[_0x517031(0x111)](_0x92912b,_0x5eea35);})[_0x29baf6(0x11a)](_0xfaf4b8=>{const _0xf2008d=_0x29baf6,_0x4dab40={'bapzg':function(_0x5541a3,_0x3cff70){const _0xa151c1=a23_0x5dca;return _0x2451ce[_0xa151c1(0xfb)](_0x5541a3,_0x3cff70);},'Zegew':_0x2451ce[_0xf2008d(0x16b)]};if(_0x2451ce[_0xf2008d(0x171)](_0x2451ce[_0xf2008d(0x123)],_0x2451ce['IZLnn'])){const _0x5c2c59={'bJOrq':function(_0xbca952,_0x33d03f){const _0x72db7b=_0xf2008d;return _0x4dab40[_0x72db7b(0x155)](_0xbca952,_0x33d03f);}},_0x49a9e6={};_0x49a9e6['apiVersion']=_0x4dab40[_0xf2008d(0x157)],_0x49a9e6[_0xf2008d(0x10d)]=_0x188931;const _0x561d48=new _0x465b34[(_0xf2008d(0x13f))](_0x49a9e6);_0x561d48[_0xf2008d(0x13b)]()[_0xf2008d(0xf3)]()[_0xf2008d(0x104)](_0x590b6e=>{_0x5c2c59['bJOrq'](_0x14ccb8,_0x590b6e);})[_0xf2008d(0x11a)](_0x1bb354=>{const _0x5ed8d4=_0xf2008d;_0x2a6251['error'](_0x5ed8d4(0x116)+_0x1bb354),_0x5c2c59[_0x5ed8d4(0x169)](_0x3a1627,_0x1bb354);});}else logger[_0xf2008d(0x117)](_0xf2008d(0x16c)+_0xfaf4b8),_0x2451ce[_0xf2008d(0xfb)](_0xaf34a2,_0xfaf4b8);});}});},exports[a23_0x3533d5(0x128)]=_0x377d55=>{const _0x35483a=a23_0x3533d5,_0x5b8436={'iRKgH':function(_0x3e2b54,_0x24b52d){return _0x3e2b54(_0x24b52d);},'DwREV':function(_0x1c0228,_0x2d48cd){return _0x1c0228(_0x2d48cd);},'pSNTA':function(_0x3ad734,_0x6211f5){return _0x3ad734!==_0x6211f5;},'YueAw':_0x35483a(0x159),'UrHtg':function(_0x140e44,_0x25a9a1){return _0x140e44(_0x25a9a1);},'fSRqB':function(_0x56967a,_0x243d92){return _0x56967a===_0x243d92;},'nebqB':_0x35483a(0xe9),'Mfwnb':_0x35483a(0xda),'FEIio':function(_0x4c7aea,_0x474429){return _0x4c7aea(_0x474429);},'JjuCS':function(_0x555012,_0x168efc){return _0x555012!==_0x168efc;},'CWlOq':_0x35483a(0x147),'echBj':'2017-11-01'};return new Promise((_0x764e8d,_0x5a1838)=>{const _0x73d5a7=_0x35483a,_0x2a12be={'kzzpQ':function(_0xef880f,_0x99dcc0){const _0x462815=a23_0x5dca;return _0x5b8436[_0x462815(0x16e)](_0xef880f,_0x99dcc0);}};if(_0x5b8436['JjuCS'](_0x5b8436[_0x73d5a7(0xef)],_0x5b8436[_0x73d5a7(0xef)])){const _0x1d76cc={'LANFz':function(_0x2df3de,_0x791a5b){const _0x20fc76=_0x73d5a7;return _0x2a12be[_0x20fc76(0x133)](_0x2df3de,_0x791a5b);}},_0x177bbf=new _0x4be045['S3']();return new _0x3f4619((_0x358d40,_0x1a2bc3)=>{const _0x1c04c4=_0x73d5a7,_0x23896c={'ihYnB':function(_0x542dfa,_0x3c4606){return _0x1d76cc['LANFz'](_0x542dfa,_0x3c4606);}},_0xff5f9c={};_0xff5f9c[_0x1c04c4(0x11b)]=_0x43dcb7,_0x177bbf[_0x1c04c4(0xc7)](_0xff5f9c)[_0x1c04c4(0xf3)]()[_0x1c04c4(0x104)](_0x3e55a5=>{const _0x21b147=_0x1c04c4;_0x264b7f[_0x21b147(0x114)](_0x21b147(0x130)+_0x59845b+_0x21b147(0x168)),_0x23896c['ihYnB'](_0x358d40,!![]);})[_0x1c04c4(0x11a)](()=>{const _0x8dccef=_0x1c04c4;_0x2836b4['info'](_0x8dccef(0x130)+_0x3943d2+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x1d76cc['LANFz'](_0x358d40,![]);});});}else{const _0x3e1c52={};_0x3e1c52['apiVersion']=_0x5b8436[_0x73d5a7(0x135)];const _0x266063=new awsSDK[(_0x73d5a7(0x120))](_0x3e1c52),_0xfb734c={};_0xfb734c[_0x73d5a7(0x14f)]=_0x377d55,_0x266063[_0x73d5a7(0x127)](_0xfb734c)['promise']()[_0x73d5a7(0x104)](_0x2fe646=>{const _0x50aed9=_0x73d5a7,_0x29e450={'evjat':function(_0x485382,_0x1b81f6){const _0x40278f=a23_0x5dca;return _0x5b8436[_0x40278f(0xf0)](_0x485382,_0x1b81f6);},'lqdMO':function(_0x2699b6,_0x4e9a65){const _0x3d99bf=a23_0x5dca;return _0x5b8436[_0x3d99bf(0x153)](_0x2699b6,_0x4e9a65);}};if(_0x5b8436[_0x50aed9(0x166)](_0x5b8436[_0x50aed9(0x150)],_0x5b8436[_0x50aed9(0x150)])){const _0x54cbdf={};_0x54cbdf[_0x50aed9(0x11b)]=_0x3e7fa7,_0x491eea[_0x50aed9(0xc7)](_0x54cbdf)[_0x50aed9(0xf3)]()[_0x50aed9(0x104)](_0x1cef79=>{const _0x17cf70=_0x50aed9;_0xf0c2ac['warn'](_0x17cf70(0x130)+_0x3db132+_0x17cf70(0x168)),_0x29e450['evjat'](_0x213c11,!![]);})[_0x50aed9(0x11a)](()=>{const _0x2e9766=_0x50aed9;_0x2e7b79['info'](_0x2e9766(0x130)+_0x4cf47d+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x29e450['lqdMO'](_0x4f16a8,![]);});}else _0x5b8436['UrHtg'](_0x764e8d,_0x2fe646[_0x50aed9(0xf2)][_0x50aed9(0x10b)][_0x50aed9(0x16a)][_0x50aed9(0x160)]);})['catch'](_0x2b5a99=>{const _0x50e4e=_0x73d5a7,_0x3f89bb={'oXtVz':function(_0x4d43c8,_0x5b4d7a){const _0x1c369e=a23_0x5dca;return _0x5b8436[_0x1c369e(0x153)](_0x4d43c8,_0x5b4d7a);}};_0x5b8436[_0x50e4e(0x12a)](_0x5b8436[_0x50e4e(0x131)],_0x5b8436[_0x50e4e(0x108)])?(_0x1a008b[_0x50e4e(0x117)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x412647),_0x3f89bb[_0x50e4e(0xe1)](_0x3ce1a1,_0x105e92)):(logger[_0x50e4e(0x117)](_0x50e4e(0x177)+_0x377d55+':\x20'+_0x2b5a99),_0x5b8436['UrHtg'](_0x5a1838,_0x2b5a99));});}});},exports[a23_0x3533d5(0x139)]=awsSDK;
1
+ const a25_0x158ebc=a25_0x18a8;function a25_0x18a8(_0x12ab98,_0x2f0764){const _0x3eab81=a25_0x3eab();return a25_0x18a8=function(_0x18a815,_0x36a37a){_0x18a815=_0x18a815-0x1c4;let _0x5f060f=_0x3eab81[_0x18a815];return _0x5f060f;},a25_0x18a8(_0x12ab98,_0x2f0764);}(function(_0x314ce7,_0x17a7a3){const _0x466549=a25_0x18a8,_0xbb08a1=_0x314ce7();while(!![]){try{const _0x9c9742=parseInt(_0x466549(0x253))/0x1*(parseInt(_0x466549(0x1db))/0x2)+-parseInt(_0x466549(0x21d))/0x3+parseInt(_0x466549(0x1ed))/0x4+parseInt(_0x466549(0x1de))/0x5*(-parseInt(_0x466549(0x1df))/0x6)+-parseInt(_0x466549(0x1f5))/0x7*(parseInt(_0x466549(0x204))/0x8)+-parseInt(_0x466549(0x218))/0x9+parseInt(_0x466549(0x252))/0xa*(parseInt(_0x466549(0x1e5))/0xb);if(_0x9c9742===_0x17a7a3)break;else _0xbb08a1['push'](_0xbb08a1['shift']());}catch(_0x3e079c){_0xbb08a1['push'](_0xbb08a1['shift']());}}}(a25_0x3eab,0x4d438));const awsSDK=require(a25_0x158ebc(0x237)),{logger}=require(a25_0x158ebc(0x240));function a25_0x3eab(){const _0x2b4e1b=['130809gBnjAN','NIuIT','NeJta','then','QUbJq','EuJAN','fetchSubnets','zzuGs','RUJBX','ppxFE','ueHOT','SrjeC','kized','lPYDY','htDFm','216ncReti','PMCRz','MrSbK','CGdIs','TDGWZ','Vbped','XtfCO','TDVvZ','error','MSXFw','ZHdwR','EC2','DJfBv','MwqMY','IWUYw','KJRKS','promise','describeSecurityGroups','issuer','ZculV','104508BvtHim','apiVersion','identity','AnNYV','udnOw','850647GTpAis','HXOCW','fgKAH','2016-11-15','RqvDZ','qXqmJ','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','cluster','vZVNZ','klAxr','LbxeP','oidc','zDhAg','Regions','zxsLu','owFKl','NhbTP','JSKVp','xipoI','zfGhn','wCeTk','YnmPV','mrWsS','lnHMn','WLMfI','RzkGH','aws-sdk','FjXQM','XXREA','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','bKbZr','AsKvY','nkVhw','smkdu','jiabh','../config/logger','QwBTK','iYmXG','vKPlW','EKS','vjoUu','SQzav','TEfwm','BxtKC','UDOFP','yoepl','Bucket','TToSP','HrJlU','FWNRS','sALnB','describeRegions','aXwOr','130TMzBEE','6100RpGREv','cLtVz','describeSubnets','qucCq','NUZtJ','zEAkE','zZjYC','JPfTb','PHJtc','FCarO','region','ZcWSn','MWmii','uRqlv','2017-11-01','fetchSecurityGroups','GMfwr','mCAzh','BsWLk','pNoVC','kQJuW','CwzQZ','WqCft','ahomx','CobbV','catch','ozCih','dvDcJ','CRAwC','describeCluster','XjlJL','Iyezg','lNnLN','OYQlH','wmGTa','PrDiW','GabaU','EXrrK','RJNyV','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','QHceX','FPdzl','mKCJm','fetchVPCs','eIHLA','oJHhx','ssTvt','name','aMLEQ','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','cndWL','warn','NYTHF','czCTG','qcAdr','xFKwj','headBucket','Bucket:\x20','svwIX','22cUpIIM','TFiHc','RqhKa','399895fcecpX','24eqCNIP','pyhTq','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','emHOQ','getOidcUrl','atsZD','685839KqfAVb','info','describeVpcs','NatVU','MPPGS','fTgLF','BvqAB','ifyBR','2233844pgeibc','cxOSx','uuIQR','LrlIz','DUTit','knsAq','IZoYx','ehdZE'];a25_0x3eab=function(){return _0x2b4e1b;};return a25_0x3eab();}exports[a25_0x158ebc(0x1cb)]=_0x4f6558=>{const _0xcef34d=a25_0x158ebc,_0x35be3f={'nkVhw':function(_0x17a866,_0x57e109){return _0x17a866(_0x57e109);},'GMfwr':'2016-11-15','MwqMY':function(_0x3d3239,_0x22654a){return _0x3d3239!==_0x22654a;},'jiabh':'oWBNu','LQXuX':function(_0x130baa,_0x2942c9){return _0x130baa(_0x2942c9);},'XXREA':function(_0x2cb019,_0x34bc03){return _0x2cb019===_0x34bc03;},'BsWLk':'yRGer','FWNRS':_0xcef34d(0x248),'JPfTb':function(_0x4bc710,_0x3fb34d){return _0x4bc710(_0x3fb34d);},'MPPGS':'JJJuA','ahomx':_0xcef34d(0x231)};return new Promise((_0x1519f4,_0x14b08b)=>{const _0x3d0adc=_0xcef34d,_0x581e42={'czCTG':function(_0x2fd8c6,_0x26c711){return _0x35be3f['LQXuX'](_0x2fd8c6,_0x26c711);},'klAxr':_0x35be3f[_0x3d0adc(0x263)],'TToSP':function(_0x454379,_0x36fa63){const _0x382897=_0x3d0adc;return _0x35be3f[_0x382897(0x239)](_0x454379,_0x36fa63);},'zlRuI':_0x35be3f[_0x3d0adc(0x265)],'IWUYw':_0x35be3f[_0x3d0adc(0x24e)],'CobbV':function(_0x2f2464,_0x2db5b8){const _0x1b6589=_0x3d0adc;return _0x35be3f[_0x1b6589(0x25a)](_0x2f2464,_0x2db5b8);}};if(_0x35be3f[_0x3d0adc(0x211)](_0x35be3f[_0x3d0adc(0x1e9)],_0x35be3f[_0x3d0adc(0x26a)])){const _0x4f21ba={};_0x4f21ba[_0x3d0adc(0x219)]=_0x35be3f[_0x3d0adc(0x263)],_0x4f21ba[_0x3d0adc(0x25d)]=_0x4f6558;const _0x49c4b2=new awsSDK[(_0x3d0adc(0x20f))](_0x4f21ba);_0x49c4b2[_0x3d0adc(0x1e7)]()[_0x3d0adc(0x214)]()[_0x3d0adc(0x1f8)](_0x25fd17=>{const _0x188a15=_0x3d0adc,_0x20da0c={'NeJta':function(_0x72d326,_0x20f18a){const _0x38bc2f=a25_0x18a8;return _0x35be3f[_0x38bc2f(0x23d)](_0x72d326,_0x20f18a);},'kized':_0x35be3f[_0x188a15(0x263)]};if(_0x35be3f[_0x188a15(0x211)](_0x35be3f['jiabh'],_0x35be3f[_0x188a15(0x23f)])){const _0x4657a0={'pyhTq':function(_0x8b3050,_0x1b43c0){return _0x581e42['czCTG'](_0x8b3050,_0x1b43c0);}};return new _0x386653((_0x2fa1f8,_0x5d6d02)=>{const _0x229ee4=_0x188a15,_0x3180a7={'LrlIz':function(_0x5ee7d8,_0x156fa0){const _0x54eb23=a25_0x18a8;return _0x20da0c[_0x54eb23(0x1f7)](_0x5ee7d8,_0x156fa0);}},_0xb00d26={};_0xb00d26[_0x229ee4(0x219)]=_0x20da0c[_0x229ee4(0x201)],_0xb00d26['region']=_0x29d87d;const _0x294d83=new _0x317580['EC2'](_0xb00d26);_0x294d83[_0x229ee4(0x215)]()[_0x229ee4(0x214)]()[_0x229ee4(0x1f8)](_0x557bb5=>{const _0x18e118=_0x229ee4;_0x4657a0[_0x18e118(0x1e0)](_0x2fa1f8,_0x557bb5);})[_0x229ee4(0x26c)](_0x5c01c3=>{const _0x2a5fd4=_0x229ee4;_0x19b245[_0x2a5fd4(0x20c)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x5c01c3),_0x3180a7[_0x2a5fd4(0x1f0)](_0x5d6d02,_0x5c01c3);});});}else _0x35be3f[_0x188a15(0x23d)](_0x1519f4,_0x25fd17);})[_0x3d0adc(0x26c)](_0x45c9b7=>{const _0x1bb8f1=_0x3d0adc,_0xe0819a={'ssTvt':_0x581e42[_0x1bb8f1(0x226)],'zZjYC':function(_0x522b53,_0x43d76d){const _0x39c11f=_0x1bb8f1;return _0x581e42[_0x39c11f(0x1d5)](_0x522b53,_0x43d76d);}};if(_0x581e42[_0x1bb8f1(0x24c)](_0x581e42['zlRuI'],_0x581e42[_0x1bb8f1(0x212)])){const _0x47ceaa={'cLtVz':function(_0x17f799,_0x1a8df8){const _0x34a532=_0x1bb8f1;return _0xe0819a[_0x34a532(0x259)](_0x17f799,_0x1a8df8);}};return new _0x872c03((_0x548b62,_0x5b0522)=>{const _0x44f468=_0x1bb8f1,_0x574a1a={};_0x574a1a[_0x44f468(0x219)]=_0xe0819a[_0x44f468(0x1ce)],_0x574a1a[_0x44f468(0x25d)]=_0x4a709a;const _0x3c7726=new _0x41a946['EC2'](_0x574a1a);_0x3c7726[_0x44f468(0x1e7)]()[_0x44f468(0x214)]()[_0x44f468(0x1f8)](_0xda355d=>{const _0x39de4b=_0x44f468;_0x47ceaa[_0x39de4b(0x254)](_0x548b62,_0xda355d);})[_0x44f468(0x26c)](_0x55a696=>{const _0x22ae9c=_0x44f468;_0x51e084[_0x22ae9c(0x20c)](_0x22ae9c(0x1c7)+_0x55a696),_0x47ceaa[_0x22ae9c(0x254)](_0x5b0522,_0x55a696);});});}else logger[_0x1bb8f1(0x20c)]('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x45c9b7),_0x581e42[_0x1bb8f1(0x26b)](_0x14b08b,_0x45c9b7);});}else _0x22bd54[_0x3d0adc(0x20c)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0xf63d71),_0x35be3f['LQXuX'](_0x4e44cb,_0x5962eb);});},exports['isBucketPresent']=_0x269201=>{const _0x2501f4=a25_0x158ebc,_0x106669={'LtwhL':function(_0x524559,_0x67a344){return _0x524559(_0x67a344);},'SrjeC':function(_0x27ddda,_0x327ac8){return _0x27ddda!==_0x327ac8;},'XDrLK':_0x2501f4(0x245),'QUbJq':_0x2501f4(0x22e),'xFKwj':function(_0x5a65cb,_0xfce85f){return _0x5a65cb(_0xfce85f);},'lNnLN':function(_0x1d63eb,_0x227d85){return _0x1d63eb(_0x227d85);},'qXqmJ':_0x2501f4(0x276),'owFKl':function(_0x1a04f6,_0x4e21ce){return _0x1a04f6(_0x4e21ce);},'RqhKa':_0x2501f4(0x20e),'zvxZl':_0x2501f4(0x208)},_0x5e7e7a=new awsSDK['S3']();return new Promise((_0x5eb0db,_0x128c12)=>{const _0x28b8f2=_0x2501f4,_0x195da8={'yxfrK':function(_0x16f0ed,_0x580aff){return _0x106669['LtwhL'](_0x16f0ed,_0x580aff);},'LbxeP':function(_0x1268f7,_0xe816d3){const _0x2b780d=a25_0x18a8;return _0x106669[_0x2b780d(0x200)](_0x1268f7,_0xe816d3);},'PHJtc':_0x106669['XDrLK'],'RzkGH':_0x106669[_0x28b8f2(0x1f9)],'WEsbt':function(_0x26d3ac,_0x5d9d76){const _0x39a5f9=_0x28b8f2;return _0x106669[_0x39a5f9(0x1d7)](_0x26d3ac,_0x5d9d76);},'aXwOr':function(_0x3b4f0a,_0x3e2b83){const _0x42fa05=_0x28b8f2;return _0x106669[_0x42fa05(0x273)](_0x3b4f0a,_0x3e2b83);},'udnOw':_0x106669[_0x28b8f2(0x222)],'nIsln':function(_0x261d0b,_0x61cf76){const _0xabadee=_0x28b8f2;return _0x106669[_0xabadee(0x22c)](_0x261d0b,_0x61cf76);}};if(_0x106669['SrjeC'](_0x106669[_0x28b8f2(0x1dd)],_0x106669['zvxZl'])){const _0x3a2303={};_0x3a2303[_0x28b8f2(0x24b)]=_0x269201,_0x5e7e7a[_0x28b8f2(0x1d8)](_0x3a2303)[_0x28b8f2(0x214)]()[_0x28b8f2(0x1f8)](_0x1d8d5d=>{const _0x27b029=_0x28b8f2,_0x244736={'Vbped':function(_0x1dca9a,_0x1a69de){return _0x195da8['yxfrK'](_0x1dca9a,_0x1a69de);}};_0x195da8[_0x27b029(0x227)](_0x195da8[_0x27b029(0x25b)],_0x195da8[_0x27b029(0x236)])?(logger['warn'](_0x27b029(0x1d9)+_0x269201+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x195da8['WEsbt'](_0x5eb0db,!![])):_0x244736[_0x27b029(0x209)](_0x1a93d1,_0x3e0299);})[_0x28b8f2(0x26c)](()=>{const _0x14ada0=_0x28b8f2,_0x542681={'mrWsS':function(_0x56b7df,_0x3487b0){const _0x564363=a25_0x18a8;return _0x195da8[_0x564363(0x251)](_0x56b7df,_0x3487b0);}};_0x195da8[_0x14ada0(0x227)](_0x195da8[_0x14ada0(0x21c)],_0x195da8[_0x14ada0(0x21c)])?_0x542681[_0x14ada0(0x233)](_0x4b245b,{}):(logger['info'](_0x14ada0(0x1d9)+_0x269201+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x195da8['nIsln'](_0x5eb0db,![]));});}else _0x2569e5[_0x28b8f2(0x20c)]('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x3e8f2e),_0x106669['LtwhL'](_0x57a9ec,_0x310035);});},exports[a25_0x158ebc(0x1fb)]=_0x3f665f=>{const _0x49040e=a25_0x158ebc,_0x34885e={'QMpbP':function(_0x4c7676,_0x5a9dfe){return _0x4c7676!==_0x5a9dfe;},'zUYqW':_0x49040e(0x23b),'AsKvY':'aQiGk','ueHOT':function(_0x13a926,_0xb84db8){return _0x13a926(_0xb84db8);},'FPdzl':function(_0x579807,_0x1f0e64){return _0x579807===_0x1f0e64;},'yoepl':'Mjqqp','zzuGs':function(_0x25b3b3,_0x4502f8){return _0x25b3b3(_0x4502f8);},'KJRKS':function(_0x24cce0,_0x38f767){return _0x24cce0(_0x38f767);},'emHOQ':function(_0x99c386,_0x4a1e01){return _0x99c386(_0x4a1e01);},'FjXQM':'xmvQj','smkdu':_0x49040e(0x205),'BolnB':_0x49040e(0x220)};return new Promise((_0x502270,_0x58d828)=>{const _0x24533b=_0x49040e,_0x27521b={'XtfCO':function(_0x3e8c88,_0x4b483d){const _0x105096=a25_0x18a8;return _0x34885e[_0x105096(0x213)](_0x3e8c88,_0x4b483d);},'ZcWSn':function(_0xf7c3a1,_0x416139){const _0xf18a88=a25_0x18a8;return _0x34885e[_0xf18a88(0x1e2)](_0xf7c3a1,_0x416139);}};if(_0x34885e[_0x24533b(0x1c9)](_0x34885e[_0x24533b(0x238)],_0x34885e[_0x24533b(0x23e)]))_0x4b9760[_0x24533b(0x1e6)]('Bucket:\x20'+_0x151868+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x27521b[_0x24533b(0x20a)](_0x20f0fc,![]);else{const _0x3bc3c4={};_0x3bc3c4[_0x24533b(0x219)]=_0x34885e['BolnB'],_0x3bc3c4[_0x24533b(0x25d)]=_0x3f665f;const _0x1f5fc3=new awsSDK[(_0x24533b(0x20f))](_0x3bc3c4);_0x1f5fc3[_0x24533b(0x255)]()[_0x24533b(0x214)]()[_0x24533b(0x1f8)](_0x5003a0=>{const _0x43a480=_0x24533b;_0x34885e['QMpbP'](_0x34885e['zUYqW'],_0x34885e[_0x43a480(0x23c)])?_0x34885e[_0x43a480(0x1ff)](_0x502270,_0x5003a0):(_0x54de9a['error'](_0x43a480(0x1d1)+_0x116fed),_0x27521b[_0x43a480(0x25e)](_0xdfa68d,_0x2b2b79));})[_0x24533b(0x26c)](_0x22258f=>{const _0x54a3bc=_0x24533b,_0x1ef622={'iYmXG':function(_0x4c1f5f,_0x11a072){const _0x4b1cfd=a25_0x18a8;return _0x34885e[_0x4b1cfd(0x1ff)](_0x4c1f5f,_0x11a072);}};_0x34885e[_0x54a3bc(0x1c9)](_0x34885e['yoepl'],_0x34885e[_0x54a3bc(0x24a)])?(logger[_0x54a3bc(0x20c)](_0x54a3bc(0x223)+_0x22258f),_0x34885e[_0x54a3bc(0x1fc)](_0x58d828,_0x22258f)):_0x1ef622[_0x54a3bc(0x242)](_0x3042c1,_0x50d2c9[_0x54a3bc(0x224)][_0x54a3bc(0x21a)]['oidc'][_0x54a3bc(0x216)]);});}});},exports[a25_0x158ebc(0x262)]=_0x1c2653=>{const _0x5e58ba=a25_0x158ebc,_0x26fd3f={'fgKAH':function(_0x5272f5,_0x2b3222){return _0x5272f5(_0x2b3222);},'DJfBv':_0x5e58ba(0x220),'WLMfI':function(_0x58533e,_0x495233){return _0x58533e!==_0x495233;},'ZWjuP':_0x5e58ba(0x21e),'dyhxE':function(_0xafe2fc,_0x557b35){return _0xafe2fc(_0x557b35);},'MrSbK':'JUsAW','ozCih':_0x5e58ba(0x256),'RJNyV':'2017-11-01','Iyezg':_0x5e58ba(0x1f2)};return new Promise((_0x5a8fe9,_0xc14ad0)=>{const _0x56850d=_0x5e58ba,_0x51884b={'NYTHF':function(_0x505cf0,_0x524659){const _0x5a7c27=a25_0x18a8;return _0x26fd3f[_0x5a7c27(0x21f)](_0x505cf0,_0x524659);},'MWmii':function(_0x90cdd4,_0x45ade0){return _0x26fd3f['dyhxE'](_0x90cdd4,_0x45ade0);},'RUJBX':function(_0x15ca2b,_0x21fe57){const _0x1a0ad3=a25_0x18a8;return _0x26fd3f[_0x1a0ad3(0x21f)](_0x15ca2b,_0x21fe57);},'wmGTa':_0x26fd3f[_0x56850d(0x210)],'htDFm':function(_0x2e078f,_0x67a8b9){const _0x555ee9=_0x56850d;return _0x26fd3f[_0x555ee9(0x235)](_0x2e078f,_0x67a8b9);},'NatVU':_0x26fd3f[_0x56850d(0x206)],'EuJAN':_0x26fd3f[_0x56850d(0x26d)],'cxOSx':_0x26fd3f[_0x56850d(0x1c6)]};if(_0x26fd3f['WLMfI'](_0x26fd3f[_0x56850d(0x272)],_0x26fd3f[_0x56850d(0x272)])){const _0x1b18ae={'fTgLF':function(_0x1acacb,_0x332a5a){const _0x5b9b46=_0x56850d;return _0x26fd3f[_0x5b9b46(0x21f)](_0x1acacb,_0x332a5a);}},_0x351c73={};_0x351c73[_0x56850d(0x219)]=_0x26fd3f[_0x56850d(0x210)],_0x351c73['region']=_0x4a87f0;const _0x313db7=new _0x32d14['EC2'](_0x351c73);_0x313db7['describeSecurityGroups']()[_0x56850d(0x214)]()[_0x56850d(0x1f8)](_0x17bc13=>{const _0x10579f=_0x56850d;_0x1b18ae[_0x10579f(0x1ea)](_0x5b58b3,_0x17bc13);})[_0x56850d(0x26c)](_0x41e40b=>{const _0x4e7a06=_0x56850d;_0x5267ca[_0x4e7a06(0x20c)](_0x4e7a06(0x1d1)+_0x41e40b),_0x51884b[_0x4e7a06(0x1d4)](_0x4350a8,_0x41e40b);});}else{const _0x513396={};_0x513396['apiVersion']=_0x26fd3f[_0x56850d(0x210)],_0x513396[_0x56850d(0x25d)]=_0x1c2653;const _0x41d75f=new awsSDK['EC2'](_0x513396);_0x41d75f[_0x56850d(0x215)]()[_0x56850d(0x214)]()[_0x56850d(0x1f8)](_0x451e8c=>{const _0x3a2cb5=_0x56850d,_0x1f543c={'adwSs':function(_0x4dcdff,_0x16a624){const _0x1297bf=a25_0x18a8;return _0x51884b[_0x1297bf(0x1fd)](_0x4dcdff,_0x16a624);},'TEfwm':_0x51884b[_0x3a2cb5(0x275)]};if(_0x51884b[_0x3a2cb5(0x203)](_0x51884b[_0x3a2cb5(0x1e8)],_0x51884b[_0x3a2cb5(0x1fa)]))_0x51884b[_0x3a2cb5(0x1d4)](_0x5a8fe9,_0x451e8c);else{const _0x340c4b={'zxsLu':function(_0x5ea9cc,_0x5d076e){const _0x23024c=_0x3a2cb5;return _0x51884b[_0x23024c(0x25f)](_0x5ea9cc,_0x5d076e);}};return new _0x403ad3((_0x368c3e,_0x2b1a3e)=>{const _0x3d1c84=_0x3a2cb5,_0x378909={'kQJuW':function(_0x46b698,_0x33f753){return _0x1f543c['adwSs'](_0x46b698,_0x33f753);}},_0x5a4ec1={};_0x5a4ec1[_0x3d1c84(0x219)]=_0x1f543c[_0x3d1c84(0x247)],_0x5a4ec1[_0x3d1c84(0x25d)]=_0x2dfdaa;const _0x478a60=new _0x2903c2[(_0x3d1c84(0x20f))](_0x5a4ec1);_0x478a60[_0x3d1c84(0x255)]()[_0x3d1c84(0x214)]()[_0x3d1c84(0x1f8)](_0x21a9a5=>{const _0x3b8a28=_0x3d1c84;_0x340c4b[_0x3b8a28(0x22b)](_0x368c3e,_0x21a9a5);})[_0x3d1c84(0x26c)](_0x53c6b0=>{const _0x2b1dae=_0x3d1c84;_0x1d7473[_0x2b1dae(0x20c)](_0x2b1dae(0x223)+_0x53c6b0),_0x378909[_0x2b1dae(0x267)](_0x2b1a3e,_0x53c6b0);});});}})['catch'](_0x40ef8e=>{const _0x4036e0=_0x56850d,_0x921f53={'zEAkE':function(_0x366ac9,_0x92617c){const _0x46e95c=a25_0x18a8;return _0x26fd3f[_0x46e95c(0x21f)](_0x366ac9,_0x92617c);},'dvDcJ':function(_0x256aec,_0xb6544){const _0x36f7fd=a25_0x18a8;return _0x26fd3f[_0x36f7fd(0x21f)](_0x256aec,_0xb6544);}};if(_0x26fd3f[_0x4036e0(0x235)](_0x26fd3f['ZWjuP'],_0x26fd3f['ZWjuP'])){const _0x417ae7={};_0x417ae7['apiVersion']=_0x51884b[_0x4036e0(0x1ee)];const _0x17fc28=new _0x114fde[(_0x4036e0(0x244))](_0x417ae7),_0x5cecf3={};_0x5cecf3[_0x4036e0(0x1cf)]=_0x52a5b7,_0x17fc28[_0x4036e0(0x270)](_0x5cecf3)[_0x4036e0(0x214)]()[_0x4036e0(0x1f8)](_0x1e04d7=>{const _0x3018ee=_0x4036e0;_0x921f53[_0x3018ee(0x258)](_0x3fed1b,_0x1e04d7[_0x3018ee(0x224)][_0x3018ee(0x21a)][_0x3018ee(0x228)][_0x3018ee(0x216)]);})[_0x4036e0(0x26c)](_0x1334de=>{const _0x3a9090=_0x4036e0;_0x592d0b[_0x3a9090(0x20c)]('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x1c2125+':\x20'+_0x1334de),_0x921f53[_0x3a9090(0x26e)](_0x3bdadf,_0x1334de);});}else logger[_0x4036e0(0x20c)](_0x4036e0(0x1d1)+_0x40ef8e),_0x26fd3f[_0x4036e0(0x21f)](_0xc14ad0,_0x40ef8e);});}});},exports['getAWSRegions']=()=>{const _0x387cca=a25_0x158ebc,_0x33d424={'TFiHc':function(_0x418905,_0x4ade05){return _0x418905!==_0x4ade05;},'eoxlJ':_0x387cca(0x1ec),'zDhAg':function(_0x210dde,_0x26dad2){return _0x210dde!==_0x26dad2;},'WqCft':function(_0x4b4152,_0x79ec8b){return _0x4b4152!==_0x79ec8b;},'CGdIs':'kbFQk','aMLEQ':function(_0x32a97f,_0x9cc039){return _0x32a97f(_0x9cc039);},'uuIQR':function(_0x5f2e95,_0x191099){return _0x5f2e95===_0x191099;},'DUTit':'tznTk','GabaU':_0x387cca(0x22d),'NYYcN':_0x387cca(0x261),'lnHMn':_0x387cca(0x1e4),'BvqAB':_0x387cca(0x246),'lPYDY':function(_0xc9a61,_0x20eb02){return _0xc9a61(_0x20eb02);},'KCnuH':_0x387cca(0x220),'mKCJm':function(_0x529277,_0x2c5914){return _0x529277!==_0x2c5914;},'CRAwC':function(_0x4c9fab,_0x27c7a4){return _0x4c9fab(_0x27c7a4);},'CwzQZ':function(_0x12ead9,_0x4cf2cc){return _0x12ead9(_0x4cf2cc);},'yjHcd':_0x387cca(0x21b),'XjlJL':_0x387cca(0x249)};return new Promise((_0x9deec9,_0x492dc8)=>{const _0x285e84=_0x387cca,_0x2562da={'RqvDZ':function(_0x43ae26,_0x1f3f11){const _0x44f7a6=a25_0x18a8;return _0x33d424[_0x44f7a6(0x202)](_0x43ae26,_0x1f3f11);},'CJBfy':_0x33d424['KCnuH'],'OYQlH':function(_0x414d1f,_0x575051){const _0x528090=a25_0x18a8;return _0x33d424[_0x528090(0x1ca)](_0x414d1f,_0x575051);},'NIuIT':function(_0x2b1ea3,_0x532451){const _0x4d097a=a25_0x18a8;return _0x33d424[_0x4d097a(0x26f)](_0x2b1ea3,_0x532451);},'HrJlU':function(_0x5a69b1,_0x13153d){const _0x499f10=a25_0x18a8;return _0x33d424[_0x499f10(0x268)](_0x5a69b1,_0x13153d);}};if(_0x33d424[_0x285e84(0x1dc)](_0x33d424['yjHcd'],_0x33d424[_0x285e84(0x271)])){const _0x533391={};_0x533391[_0x285e84(0x219)]=_0x33d424['KCnuH'];const _0xbe3a99=new awsSDK[(_0x285e84(0x20f))](_0x533391);_0xbe3a99[_0x285e84(0x250)]()[_0x285e84(0x214)]()[_0x285e84(0x1f8)]((_0x29744a,_0x633a7)=>{const _0x47fede=_0x285e84;if(_0x33d424[_0x47fede(0x1dc)](_0x33d424['eoxlJ'],_0x33d424['eoxlJ'])){const _0x2dcdcb={'QwBTK':function(_0x537b5c,_0x47aa20){const _0x17009e=_0x47fede;return _0x2562da[_0x17009e(0x221)](_0x537b5c,_0x47aa20);},'qcAdr':function(_0x17d9ac,_0x500048){const _0x541257=_0x47fede;return _0x2562da[_0x541257(0x221)](_0x17d9ac,_0x500048);}},_0x37d526={};_0x37d526[_0x47fede(0x219)]=_0x2562da['CJBfy'],_0x37d526[_0x47fede(0x25d)]=_0xd50d6;const _0x5512ca=new _0x4df3d9[(_0x47fede(0x20f))](_0x37d526);_0x5512ca['describeSubnets']()[_0x47fede(0x214)]()[_0x47fede(0x1f8)](_0x474c60=>{const _0x4c05c8=_0x47fede;_0x2dcdcb[_0x4c05c8(0x241)](_0x3d4116,_0x474c60);})[_0x47fede(0x26c)](_0x820bbe=>{const _0x34fe6e=_0x47fede;_0x210436[_0x34fe6e(0x20c)](_0x34fe6e(0x223)+_0x820bbe),_0x2dcdcb[_0x34fe6e(0x1d6)](_0xa7e087,_0x820bbe);});}else _0x33d424[_0x47fede(0x229)](_0x29744a,undefined)&&_0x33d424[_0x47fede(0x229)](_0x29744a['Regions'],undefined)?_0x33d424[_0x47fede(0x269)](_0x33d424[_0x47fede(0x207)],_0x33d424[_0x47fede(0x207)])?_0x2562da[_0x47fede(0x274)](_0x579c07,_0xb9a5f3)&&_0x2562da['OYQlH'](_0x352fff['Regions'],_0x326d79)?_0x2562da[_0x47fede(0x221)](_0xa3d49d,_0x5da5ed[_0x47fede(0x22a)]):_0x2562da[_0x47fede(0x221)](_0x418417,{}):_0x33d424[_0x47fede(0x1d0)](_0x9deec9,_0x29744a[_0x47fede(0x22a)]):_0x33d424[_0x47fede(0x1ef)](_0x33d424[_0x47fede(0x1f1)],_0x33d424[_0x47fede(0x1c4)])?(_0x59b774['error'](_0x47fede(0x223)+_0x5a33a6),_0x2562da[_0x47fede(0x1f6)](_0x4918b2,_0x13dad8)):_0x33d424[_0x47fede(0x1d0)](_0x9deec9,{});})[_0x285e84(0x26c)](_0x1f710f=>{const _0xd9ec47=_0x285e84,_0x2e0f0d={};_0x2e0f0d[_0xd9ec47(0x266)]=_0x33d424['NYYcN'];const _0xd96926=_0x2e0f0d;if(_0x33d424[_0xd9ec47(0x1ef)](_0x33d424[_0xd9ec47(0x234)],_0x33d424[_0xd9ec47(0x1eb)])){const _0xc1fa17={'IZoYx':function(_0x192420,_0x1d3a92){const _0x471626=_0xd9ec47;return _0x2562da[_0x471626(0x24d)](_0x192420,_0x1d3a92);},'svwIX':function(_0x542922,_0x148f74){return _0x2562da['HrJlU'](_0x542922,_0x148f74);}};return new _0x2139f2((_0x25aa37,_0xe8ff7)=>{const _0x4bb602=_0xd9ec47,_0x1bbd4d={};_0x1bbd4d[_0x4bb602(0x219)]=_0xd96926[_0x4bb602(0x266)];const _0x2b4442=new _0x563482[(_0x4bb602(0x244))](_0x1bbd4d),_0x29d656={};_0x29d656[_0x4bb602(0x1cf)]=_0x49c113,_0x2b4442[_0x4bb602(0x270)](_0x29d656)[_0x4bb602(0x214)]()[_0x4bb602(0x1f8)](_0x33e3a3=>{const _0x4619ce=_0x4bb602;_0xc1fa17[_0x4619ce(0x1f3)](_0x25aa37,_0x33e3a3[_0x4619ce(0x224)][_0x4619ce(0x21a)][_0x4619ce(0x228)][_0x4619ce(0x216)]);})[_0x4bb602(0x26c)](_0x48464f=>{const _0x5c2108=_0x4bb602;_0x18c8d4[_0x5c2108(0x20c)]('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x5a6dc6+':\x20'+_0x48464f),_0xc1fa17[_0x5c2108(0x1da)](_0xe8ff7,_0x48464f);});});}else logger[_0xd9ec47(0x20c)](_0xd9ec47(0x1e1)+_0x1f710f),_0x33d424[_0xd9ec47(0x1d0)](_0x492dc8,_0x1f710f);});}else _0x33d424[_0x285e84(0x1d0)](_0x25f25b,_0x28a871);});},exports[a25_0x158ebc(0x1e3)]=_0x1e6291=>{const _0x2ea6aa=a25_0x158ebc,_0x494222={'FCarO':function(_0x3ed0e0,_0x1b1974){return _0x3ed0e0(_0x1b1974);},'rgjSD':function(_0x8c949c,_0x5da12b){return _0x8c949c!==_0x5da12b;},'MSXFw':_0x2ea6aa(0x1c8),'vZVNZ':function(_0x2dfbe3,_0xb2427c){return _0x2dfbe3(_0xb2427c);},'IbMRc':function(_0x522aec,_0x3b1073){return _0x522aec(_0x3b1073);},'EXrrK':function(_0x3be932,_0x35796c){return _0x3be932===_0x35796c;},'cndWL':_0x2ea6aa(0x1f4),'uRqlv':_0x2ea6aa(0x217),'NUZtJ':function(_0x460007,_0x1bea18){return _0x460007!==_0x1bea18;},'lEUwO':_0x2ea6aa(0x264),'oJHhx':_0x2ea6aa(0x1fe),'TDVvZ':_0x2ea6aa(0x261)};return new Promise((_0x75a5f8,_0x290e00)=>{const _0x9c1053=_0x2ea6aa,_0x82d017={'vKPlW':function(_0x4299d6,_0xc6c338){return _0x494222['IbMRc'](_0x4299d6,_0xc6c338);},'zfGhn':function(_0x75d445,_0x4837ae){const _0x235516=a25_0x18a8;return _0x494222[_0x235516(0x1c5)](_0x75d445,_0x4837ae);},'YnmPV':_0x494222[_0x9c1053(0x1d2)],'HuMOU':_0x494222[_0x9c1053(0x260)]};if(_0x494222[_0x9c1053(0x257)](_0x494222['lEUwO'],_0x494222[_0x9c1053(0x1cd)])){const _0x1850e5={};_0x1850e5[_0x9c1053(0x219)]=_0x494222[_0x9c1053(0x20b)];const _0x304d7a=new awsSDK[(_0x9c1053(0x244))](_0x1850e5),_0x232522={};_0x232522[_0x9c1053(0x1cf)]=_0x1e6291,_0x304d7a[_0x9c1053(0x270)](_0x232522)[_0x9c1053(0x214)]()[_0x9c1053(0x1f8)](_0x161375=>{const _0x40c6ef=_0x9c1053,_0x20d7c7={'cfFvo':function(_0x37dfc9,_0x47f5ea){return _0x82d017['vKPlW'](_0x37dfc9,_0x47f5ea);},'sALnB':function(_0x3f3185,_0x4c5dac){const _0x10d357=a25_0x18a8;return _0x82d017[_0x10d357(0x243)](_0x3f3185,_0x4c5dac);}};if(_0x82d017[_0x40c6ef(0x230)](_0x82d017[_0x40c6ef(0x232)],_0x82d017['HuMOU'])){const _0x530303=new _0x40322a['S3']();return new _0x183057((_0x2376f9,_0x14c735)=>{const _0x5926eb=_0x40c6ef,_0x230aa9={'xipoI':function(_0x220d64,_0xbf878e){return _0x20d7c7['cfFvo'](_0x220d64,_0xbf878e);},'eIHLA':function(_0x89ebe1,_0x12e197){const _0x39fea7=a25_0x18a8;return _0x20d7c7[_0x39fea7(0x24f)](_0x89ebe1,_0x12e197);}},_0x20cd5a={};_0x20cd5a[_0x5926eb(0x24b)]=_0x5e7858,_0x530303['headBucket'](_0x20cd5a)[_0x5926eb(0x214)]()[_0x5926eb(0x1f8)](_0x2447a5=>{const _0x46ee0c=_0x5926eb;_0x321aef[_0x46ee0c(0x1d3)]('Bucket:\x20'+_0x825dfe+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x230aa9[_0x46ee0c(0x22f)](_0x2376f9,!![]);})['catch'](()=>{const _0x33247e=_0x5926eb;_0x20c10e[_0x33247e(0x1e6)](_0x33247e(0x1d9)+_0x3db91d+_0x33247e(0x23a)),_0x230aa9[_0x33247e(0x1cc)](_0x2376f9,![]);});});}else _0x82d017['vKPlW'](_0x75a5f8,_0x161375['cluster'][_0x40c6ef(0x21a)][_0x40c6ef(0x228)][_0x40c6ef(0x216)]);})['catch'](_0x202fae=>{const _0x28fb9b=_0x9c1053,_0x14f047={'ZXqls':function(_0x39b838,_0x53689f){const _0x344508=a25_0x18a8;return _0x494222[_0x344508(0x25c)](_0x39b838,_0x53689f);}};_0x494222['rgjSD'](_0x494222['MSXFw'],_0x494222[_0x28fb9b(0x20d)])?_0x14f047['ZXqls'](_0x4cb7e0,_0x60d7d6['Regions']):(logger[_0x28fb9b(0x20c)]('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x1e6291+':\x20'+_0x202fae),_0x494222[_0x28fb9b(0x225)](_0x290e00,_0x202fae));});}else _0x1041cd[_0x9c1053(0x20c)]('Error\x20getting\x20OIDC\x20URL\x20for\x20cluster\x20'+_0x2f365f+':\x20'+_0x518735),_0x494222[_0x9c1053(0x225)](_0x15f238,_0x564398);});},exports['awsObj']=awsSDK;
@@ -1 +1 @@
1
- const a24_0x391205=a24_0x206a;function a24_0x22e9(){const _0x1197ca=['Value','pWeEw','join','BmNTt','290996pwllXG','183510ykMGfs','36gFjzae','ClusterName','CloudFormation','672RBmHLP','DELETE','2KGsylS','22KKohec','Key','xrqvU','2010-05-15','OnFailure','773096KZtSTH','push','valueOf','browserstack:creationDate','awsObj','stringify','toString','CAPABILITY_NAMED_IAM','Properties','../config/constants','./AWSUtils','createStack','promise','browserstack:cluster','debug','autoscaler-role-creation.yaml','../config/logger','bluebird','kNfnU','EtTGO','stackCreateComplete','path','2308446tqzfha','apiVersion','6dSYRRo','1740140USTbIu','Resources','createAutoscalerStack','1460080sizcsu','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','promisifyAll','140qzxfsb','286598yQJkWA','StackId','Tags','StackName','TemplateBody','load'];a24_0x22e9=function(){return _0x1197ca;};return a24_0x22e9();}(function(_0x4b731f,_0x40b622){const _0x363c6e=a24_0x206a,_0x59b769=_0x4b731f();while(!![]){try{const _0xa4d594=-parseInt(_0x363c6e(0x16c))/0x1*(-parseInt(_0x363c6e(0x173))/0x2)+parseInt(_0x363c6e(0x15a))/0x3*(-parseInt(_0x363c6e(0x15b))/0x4)+parseInt(_0x363c6e(0x161))/0x5*(parseInt(_0x363c6e(0x16d))/0x6)+-parseInt(_0x363c6e(0x158))/0x7+parseInt(_0x363c6e(0x179))/0x8*(-parseInt(_0x363c6e(0x16e))/0x9)+parseInt(_0x363c6e(0x15e))/0xa*(-parseInt(_0x363c6e(0x174))/0xb)+parseInt(_0x363c6e(0x171))/0xc*(parseInt(_0x363c6e(0x162))/0xd);if(_0xa4d594===_0x40b622)break;else _0x59b769['push'](_0x59b769['shift']());}catch(_0x417234){_0x59b769['push'](_0x59b769['shift']());}}}(a24_0x22e9,0x7aef4));function a24_0x206a(_0x1e53d9,_0x513e07){const _0x22e954=a24_0x22e9();return a24_0x206a=function(_0x206a87,_0x1fe5f1){_0x206a87=_0x206a87-0x151;let _0x1b7151=_0x22e954[_0x206a87];return _0x1b7151;},a24_0x206a(_0x1e53d9,_0x513e07);}const fs=require('fs'),path=require(a24_0x391205(0x157)),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require('js-yaml-cloudformation-schema'),Promise=require(a24_0x391205(0x153)),AWS=require(a24_0x391205(0x183))[a24_0x391205(0x17d)],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a24_0x391205(0x182)),{logger}=require(a24_0x391205(0x152));Promise[a24_0x391205(0x160)](fs);const addAutoscalerTags=async(_0x3a615d,_0x1c9c36,_0x4634b4)=>{const _0x58088b=a24_0x391205;for(const _0x229e1b in _0x3a615d['Resources']){_0x3a615d[_0x58088b(0x15c)][_0x229e1b][_0x58088b(0x181)]&&_0x3a615d['Resources'][_0x229e1b][_0x58088b(0x181)][_0x58088b(0x164)]&&_0x3a615d[_0x58088b(0x15c)][_0x229e1b]['Properties'][_0x58088b(0x164)]['push'](..._0x4634b4);}};exports[a24_0x391205(0x15d)]=async _0x1c1e96=>{const _0x150bb9=a24_0x391205,_0x4a73d6={'XYjkw':_0x150bb9(0x186),'BmNTt':_0x150bb9(0x17c),'QNysH':_0x150bb9(0x177),'EtTGO':'templates','EKRCK':_0x150bb9(0x151),'xrqvU':'utf-8','dVQkK':function(_0x553998,_0x47ab32,_0x17dd1e,_0x17e8f8){return _0x553998(_0x47ab32,_0x17dd1e,_0x17e8f8);},'pWeEw':_0x150bb9(0x172),'TEEXL':_0x150bb9(0x16f),'dLOGB':_0x150bb9(0x180),'RWJiM':_0x150bb9(0x15f),'kNfnU':_0x150bb9(0x156)},_0x2a194=COMMON_HST_TAGS,_0x8cd721={};_0x8cd721[_0x150bb9(0x175)]=_0x4a73d6['XYjkw'],_0x8cd721[_0x150bb9(0x168)]=_0x1c1e96,_0x2a194[_0x150bb9(0x17a)](_0x8cd721),_0x2a194[_0x150bb9(0x17a)]({'Key':_0x4a73d6[_0x150bb9(0x16b)],'Value':new Date()[_0x150bb9(0x17b)]()[_0x150bb9(0x17f)]()});const _0x2776c6={};_0x2776c6[_0x150bb9(0x159)]=_0x4a73d6['QNysH'];const _0xe1f36a=new AWS[(_0x150bb9(0x170))](_0x2776c6),_0x61d7bc=await fs['readFileAsync'](path[_0x150bb9(0x16a)](__dirname,'..',_0x4a73d6[_0x150bb9(0x155)],_0x4a73d6['EKRCK']),_0x4a73d6[_0x150bb9(0x176)]),_0x54272f={};_0x54272f['schema']=CLOUDFORMATION_SCHEMA;const _0x56ec36=yaml[_0x150bb9(0x167)](_0x61d7bc,_0x54272f);_0x4a73d6['dVQkK'](addAutoscalerTags,_0x56ec36,_0x1c1e96,_0x2a194);const _0x40675=JSON[_0x150bb9(0x17e)](_0x56ec36),_0x2f82e4={};_0x2f82e4['StackName']=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x1c1e96,_0x2f82e4[_0x150bb9(0x178)]=_0x4a73d6[_0x150bb9(0x169)],_0x2f82e4[_0x150bb9(0x166)]=_0x40675,_0x2f82e4['Parameters']=[{'ParameterKey':_0x4a73d6['TEEXL'],'ParameterValue':_0x1c1e96}],_0x2f82e4['Capabilities']=[_0x4a73d6['dLOGB']],_0x2f82e4[_0x150bb9(0x164)]=_0x2a194;const _0x2aee5f=_0x2f82e4,_0x476e1f=await _0xe1f36a[_0x150bb9(0x184)](_0x2aee5f)[_0x150bb9(0x185)]();logger[_0x150bb9(0x187)](_0x4a73d6['RWJiM']);const _0x5da820={};return _0x5da820[_0x150bb9(0x165)]=_0x476e1f[_0x150bb9(0x163)],_0xe1f36a['waitFor'](_0x4a73d6[_0x150bb9(0x154)],_0x5da820)['promise']();};
1
+ function a26_0xb3f5(_0x47a77b,_0x5e5507){const _0x56d76f=a26_0x56d7();return a26_0xb3f5=function(_0xb3f5b6,_0x10ebee){_0xb3f5b6=_0xb3f5b6-0xa3;let _0x521dae=_0x56d76f[_0xb3f5b6];return _0x521dae;},a26_0xb3f5(_0x47a77b,_0x5e5507);}const a26_0x1aaf2f=a26_0xb3f5;function a26_0x56d7(){const _0x3666fe=['StackId','createStack','autoscaler-role-creation.yaml','readFileAsync','templates','YNYeH','stringify','join','8412352GLGtQA','./AWSUtils','TemplateBody','waitFor','../config/logger','Key','StackName','3578898bdNkSu','uXsma','4gRbfoM','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','10lyhFHh','2010-05-15','js-yaml-cloudformation-schema','OnFailure','9381590wICiNq','Resources','awsObj','toString','85888yBLXXm','Properties','schema','js-yaml','1367862pCwhXO','2934730ionSWw','../config/constants','AOkiN','Capabilities','EGSLN','14cbzBPM','ydhtp','stackCreateComplete','debug','DxRvt','Tags','utf-8','213984zrFxDW','promise','CAPABILITY_NAMED_IAM','valueOf','KCoHs','push','createAutoscalerStack','LLjTt','path','CloudFormation','Parameters','tkVYf','apiVersion'];a26_0x56d7=function(){return _0x3666fe;};return a26_0x56d7();}(function(_0x3c768c,_0x9aace8){const _0x3216da=a26_0xb3f5,_0x2c2291=_0x3c768c();while(!![]){try{const _0x548b2e=-parseInt(_0x3216da(0xa5))/0x1*(parseInt(_0x3216da(0xad))/0x2)+parseInt(_0x3216da(0xda))/0x3+parseInt(_0x3216da(0xa3))/0x4*(parseInt(_0x3216da(0xb2))/0x5)+parseInt(_0x3216da(0xb1))/0x6*(-parseInt(_0x3216da(0xb7))/0x7)+-parseInt(_0x3216da(0xd3))/0x8+-parseInt(_0x3216da(0xbe))/0x9+parseInt(_0x3216da(0xa9))/0xa;if(_0x548b2e===_0x9aace8)break;else _0x2c2291['push'](_0x2c2291['shift']());}catch(_0x376113){_0x2c2291['push'](_0x2c2291['shift']());}}}(a26_0x56d7,0xb8e6d));const fs=require('fs'),path=require(a26_0x1aaf2f(0xc6)),yaml=require(a26_0x1aaf2f(0xb0)),{CLOUDFORMATION_SCHEMA}=require(a26_0x1aaf2f(0xa7)),Promise=require('bluebird'),AWS=require(a26_0x1aaf2f(0xd4))[a26_0x1aaf2f(0xab)],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a26_0x1aaf2f(0xb3)),{logger}=require(a26_0x1aaf2f(0xd7));Promise['promisifyAll'](fs);const addAutoscalerTags=async(_0x25ecdc,_0x354f5e,_0xac3f2)=>{const _0x23db32=a26_0x1aaf2f;for(const _0x18110d in _0x25ecdc[_0x23db32(0xaa)]){_0x25ecdc['Resources'][_0x18110d]['Properties']&&_0x25ecdc[_0x23db32(0xaa)][_0x18110d][_0x23db32(0xae)][_0x23db32(0xbc)]&&_0x25ecdc[_0x23db32(0xaa)][_0x18110d]['Properties'][_0x23db32(0xbc)]['push'](..._0xac3f2);}};exports[a26_0x1aaf2f(0xc4)]=async _0x520450=>{const _0x5055e3=a26_0x1aaf2f,_0x4a9164={'keZmh':'browserstack:cluster','uIuGx':'browserstack:creationDate','uVeSw':_0x5055e3(0xa6),'KCoHs':_0x5055e3(0xcf),'LLjTt':_0x5055e3(0xcd),'AOkiN':_0x5055e3(0xbd),'uXsma':function(_0x1c94fa,_0x506e94,_0x1aff1b,_0x406fff){return _0x1c94fa(_0x506e94,_0x1aff1b,_0x406fff);},'DxRvt':'DELETE','tkVYf':'ClusterName','YNYeH':_0x5055e3(0xc0),'EGSLN':_0x5055e3(0xa4),'ydhtp':_0x5055e3(0xb9)},_0x15ed52=COMMON_HST_TAGS,_0x33915b={};_0x33915b[_0x5055e3(0xd8)]=_0x4a9164['keZmh'],_0x33915b['Value']=_0x520450,_0x15ed52[_0x5055e3(0xc3)](_0x33915b),_0x15ed52['push']({'Key':_0x4a9164['uIuGx'],'Value':new Date()[_0x5055e3(0xc1)]()[_0x5055e3(0xac)]()});const _0x1480b9={};_0x1480b9[_0x5055e3(0xca)]=_0x4a9164['uVeSw'];const _0x23e399=new AWS[(_0x5055e3(0xc7))](_0x1480b9),_0x334904=await fs[_0x5055e3(0xce)](path[_0x5055e3(0xd2)](__dirname,'..',_0x4a9164[_0x5055e3(0xc2)],_0x4a9164[_0x5055e3(0xc5)]),_0x4a9164[_0x5055e3(0xb4)]),_0x9e062c={};_0x9e062c[_0x5055e3(0xaf)]=CLOUDFORMATION_SCHEMA;const _0x31331b=yaml['load'](_0x334904,_0x9e062c);_0x4a9164[_0x5055e3(0xdb)](addAutoscalerTags,_0x31331b,_0x520450,_0x15ed52);const _0x45d04e=JSON[_0x5055e3(0xd1)](_0x31331b),_0x2192f1={};_0x2192f1[_0x5055e3(0xd9)]=CLUSTER_AUTOSCALER_STACK_NAME+'-'+_0x520450,_0x2192f1[_0x5055e3(0xa8)]=_0x4a9164[_0x5055e3(0xbb)],_0x2192f1[_0x5055e3(0xd5)]=_0x45d04e,_0x2192f1[_0x5055e3(0xc8)]=[{'ParameterKey':_0x4a9164[_0x5055e3(0xc9)],'ParameterValue':_0x520450}],_0x2192f1[_0x5055e3(0xb5)]=[_0x4a9164[_0x5055e3(0xd0)]],_0x2192f1[_0x5055e3(0xbc)]=_0x15ed52;const _0x2b3a3d=_0x2192f1,_0x4c49c7=await _0x23e399[_0x5055e3(0xcc)](_0x2b3a3d)[_0x5055e3(0xbf)]();logger[_0x5055e3(0xba)](_0x4a9164[_0x5055e3(0xb6)]);const _0x4d63f1={};return _0x4d63f1[_0x5055e3(0xd9)]=_0x4c49c7[_0x5055e3(0xcb)],_0x23e399[_0x5055e3(0xd6)](_0x4a9164[_0x5055e3(0xb8)],_0x4d63f1)[_0x5055e3(0xbf)]();};
@@ -1 +1 @@
1
- const a25_0x56bc79=a25_0x545c;(function(_0x9acd4,_0x10e42c){const _0x5262a7=a25_0x545c,_0x37c865=_0x9acd4();while(!![]){try{const _0x31ecc7=-parseInt(_0x5262a7(0x182))/0x1+-parseInt(_0x5262a7(0xff))/0x2*(parseInt(_0x5262a7(0x192))/0x3)+-parseInt(_0x5262a7(0x15e))/0x4+-parseInt(_0x5262a7(0x18a))/0x5*(-parseInt(_0x5262a7(0x13d))/0x6)+parseInt(_0x5262a7(0x16b))/0x7*(parseInt(_0x5262a7(0x179))/0x8)+-parseInt(_0x5262a7(0x160))/0x9*(-parseInt(_0x5262a7(0x119))/0xa)+-parseInt(_0x5262a7(0x167))/0xb*(-parseInt(_0x5262a7(0x17f))/0xc);if(_0x31ecc7===_0x10e42c)break;else _0x37c865['push'](_0x37c865['shift']());}catch(_0xd3d038){_0x37c865['push'](_0x37c865['shift']());}}}(a25_0xf154,0x4d129));function a25_0xf154(){const _0xbf31fe=['FmLXT','2010-05-15','IQXxP','keys','Subnet','NodeAutoScalingGroupMaxSize','./AWSUtils','Value','EwzMP','ResourcesVpcConfig','-NodeGroup','push','uroxt','6GhCozB','yHrwq','GRNBR','Resources','ryLtd','5|4|1|2|3|0','utf-8','qwPdu','AcCqu','CloudFormation','vpvEo','subnet-create.yaml','Ref','qGUVm','OnFailure','LoRGI','cTxIU','SubnetIds','RNAhn','promise','Meiiv','Subnet02Block','raZnl','split','valueOf','gDiOi','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','QLMty','pYZUO','DcxJR','cWmCL','HgnwM','IDkZl','1417092MubeAb','Subnets','8127yPDnFn','ferlL','IXEMx','ZDWjU','KfoVK','hfNPX','RekIr','22hFJlfO','forEach','wwObL','aIopz','2534fykred','StackName','subnet-import.yaml','readFileAsync','vpc-import.yaml','aeaCq','Subnet03','s3Bucket','Subnet03Block','NodeAutoScalingGroupMinSize','pAPxu','uFibk','padStart','iQBPn','12104MJTDnD','PNSOh','ciavs','KEWxT','debug','Subnet01Block','407340KFClTO','stringify','FnPCn','274061yuHjyo','1|2|0|4|3|5','kiSbB','HFEsB','MEzKF','Subnet01','NodeGroupWindows','VPC','935960ameLzc','browserstack:creationDate','wtGqd','GcsHr','FsBTy','dHPJf','pCjgk','pxiQL','6jJuRQF','ParameterValue','schema','NodeGroup','ClusterName','eTbYi','VMyXK','tWIoT','RYwTp','sNDko','AWS::CloudFormation::Interface','awsObj','load','GRAJM','join','NodeAutoScalingGroupDesiredSizeWindows','sVrFH','ZPXeR','Outputs','TXnpw','obxok','Subnet02','ami','OzQZd','VJJQW','aws-eks-cluster-dep.yaml','MRGvH','Capabilities','Properties','../config/logger','NodeImageId','bLtiK','qGZcT','owOyd','instanceType','ahEwH','MDGiW','xayrT','CAPABILITY_NAMED_IAM','379796eZEjxn','../config/constants','zKVTB','waitFor','DependsOn','qpTmX','AObHG','EKSCluster','vGYFh','Metadata','Parameters','evJOS','XvHNh','pvkIU','cetig','browserstack:cluster','s3-create.yaml','CFTemplates','mQNiG','IMoks','bqhEK','OuupN','DELETE','AYKvf','VpcBlock','tUZFI','5770UdbExx','evxqh','NodeGroupName','Key','HvMKj','-Windows-NodeGroup','kARTU','tSSbT','WHVmg','nWYzF','Tags','OaQNz','vakAD','onvXu','createClusterStack','tqfzo','NodeGroupNameWindows','oQowJ','XNmtW','ParameterGroups','EGOTf','value','bqmfA'];a25_0xf154=function(){return _0xbf31fe;};return a25_0xf154();}const fs=require('fs'),path=require('path'),Promise=require('bluebird'),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require('js-yaml-cloudformation-schema'),AWS=require('./AWSUtils')[a25_0x56bc79(0x19d)],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a25_0x56bc79(0x100)),{logger}=require(a25_0x56bc79(0xf5)),{isBucketPresent}=require(a25_0x56bc79(0x136));function a25_0x545c(_0x18efaf,_0x566816){const _0xf1545b=a25_0xf154();return a25_0x545c=function(_0x545c38,_0x21203a){_0x545c38=_0x545c38-0xf5;let _0x46e9a8=_0xf1545b[_0x545c38];return _0x46e9a8;},a25_0x545c(_0x18efaf,_0x566816);}Promise['promisifyAll'](fs);const mergeTemplates=(_0x29c4aa,_0x2db56c)=>{const _0x1aa7c0=a25_0x56bc79,_0x1bdb20={};_0x1bdb20['FmLXT']=function(_0x3c6cfc,_0x475755){return _0x3c6cfc!==_0x475755;},_0x1bdb20[_0x1aa7c0(0x17a)]=_0x1aa7c0(0x153),_0x1bdb20[_0x1aa7c0(0xfc)]='zKWuo',_0x1bdb20[_0x1aa7c0(0x111)]=_0x1aa7c0(0x17c);const _0x172066=_0x1bdb20;Object[_0x1aa7c0(0x133)](_0x2db56c)[_0x1aa7c0(0x168)](_0x3076db=>{const _0x2a14f0=_0x1aa7c0,_0x30e750={'PcFGH':function(_0x5adc1c,_0x555b5f){const _0x1ab996=a25_0x545c;return _0x172066[_0x1ab996(0x130)](_0x5adc1c,_0x555b5f);},'AcCqu':_0x172066['PNSOh'],'ZDWjU':_0x172066['MDGiW']};if(_0x172066[_0x2a14f0(0x130)](_0x172066[_0x2a14f0(0x111)],_0x172066['mQNiG'])){var _0x38cc8e=_0x3b0828[_0x54045f];_0x197b3f[_0x2a14f0(0x133)](_0x38cc8e)[_0x2a14f0(0x168)](_0x3a7225=>{_0x3c0e3a[_0x5c0cc2][_0x3a7225]=_0x38cc8e[_0x3a7225];});}else{var _0x52ae69=_0x2db56c[_0x3076db];Object[_0x2a14f0(0x133)](_0x52ae69)['forEach'](_0x1e32da=>{const _0x4db956=_0x2a14f0;_0x30e750['PcFGH'](_0x30e750[_0x4db956(0x145)],_0x30e750[_0x4db956(0x163)])?_0x29c4aa[_0x3076db][_0x1e32da]=_0x52ae69[_0x1e32da]:_0x4342a7['Resources'][_0xe3111d][_0x4db956(0x1ae)]&&_0x4f4282[_0x4db956(0x140)][_0x80378f][_0x4db956(0x1ae)][_0x4db956(0x123)]&&_0x4211ad[_0x4db956(0x140)][_0x5bc402]['Properties']['Tags'][_0x4db956(0x13b)](..._0x48d50a);});}});},addVPCData=async(_0xa1fe11,_0x45a767)=>{const _0x1b7a04=a25_0x56bc79,_0x3eb54d={'jbTJf':function(_0x2702c3,_0x3e41c6){return _0x2702c3(_0x3e41c6);},'obxok':_0x1b7a04(0x189),'sNDko':function(_0x24ffb7,_0x4a07df){return _0x24ffb7!==_0x4a07df;},'QLMty':_0x1b7a04(0x170),'KfoVK':_0x1b7a04(0x165),'eTbYi':_0x1b7a04(0x110),'OaQNz':_0x1b7a04(0x16f),'tWIoT':'utf-8','qwPdu':function(_0x49e44e,_0x3e5da4,_0x8b7518){return _0x49e44e(_0x3e5da4,_0x8b7518);},'tSSbT':'AWS::CloudFormation::Interface','WHVmg':function(_0x1a2c26,_0x25b138){return _0x1a2c26!==_0x25b138;},'Meiiv':_0x1b7a04(0x132),'fbYVS':'vpc-create.yaml','MdXcQ':_0x1b7a04(0x117)};if(_0x45a767){if(_0x3eb54d[_0x1b7a04(0x19b)](_0x3eb54d[_0x1b7a04(0x158)],_0x3eb54d[_0x1b7a04(0x164)])){const _0x4e263a=await fs[_0x1b7a04(0x16e)](path[_0x1b7a04(0x1a0)](__dirname,'..',_0x3eb54d[_0x1b7a04(0x197)],_0x3eb54d[_0x1b7a04(0x124)]),_0x3eb54d[_0x1b7a04(0x199)]),_0x31f2a6={};_0x31f2a6[_0x1b7a04(0x194)]=CLOUDFORMATION_SCHEMA;const _0x537373=yaml[_0x1b7a04(0x19e)](_0x4e263a,_0x31f2a6);_0x3eb54d[_0x1b7a04(0x144)](mergeTemplates,_0xa1fe11,_0x537373),_0xa1fe11[_0x1b7a04(0x108)][_0x3eb54d[_0x1b7a04(0x120)]][_0x1b7a04(0x12c)][0x0][_0x1b7a04(0x109)]['push'](_0x3eb54d[_0x1b7a04(0x1a6)]);}else{let _0x1380e2=0x1;_0x54c5da[_0x1b7a04(0x168)](_0xbd440a=>{const _0x159105=_0x1b7a04;_0x2061aa[_0x159105(0x109)]['push']({'ParameterKey':_0x159105(0x134)+_0x3eb54d['jbTJf'](_0x5719d6,_0x1380e2)[_0x159105(0x177)](0x2,'0'),'ParameterValue':_0xbd440a[_0x159105(0x12e)]}),_0x1380e2+=0x1;});}}else{if(_0x3eb54d[_0x1b7a04(0x121)](_0x3eb54d[_0x1b7a04(0x151)],_0x3eb54d[_0x1b7a04(0x151)])){const _0x22a83f={};_0x22a83f['ParameterKey']=_0x3eb54d[_0x1b7a04(0x1a6)],_0x22a83f['ParameterValue']=_0x3ab3ab,_0x25dc36[_0x1b7a04(0x109)][_0x1b7a04(0x13b)](_0x22a83f);}else{const _0x3a150b=await fs[_0x1b7a04(0x16e)](path['join'](__dirname,'..',_0x3eb54d[_0x1b7a04(0x197)],_0x3eb54d['fbYVS']),_0x3eb54d[_0x1b7a04(0x199)]),_0x4ec487={};_0x4ec487['schema']=CLOUDFORMATION_SCHEMA;const _0x525307=yaml[_0x1b7a04(0x19e)](_0x3a150b,_0x4ec487);_0x3eb54d[_0x1b7a04(0x144)](mergeTemplates,_0xa1fe11,_0x525307),_0xa1fe11['Metadata'][_0x3eb54d['tSSbT']][_0x1b7a04(0x12c)][0x0][_0x1b7a04(0x109)][_0x1b7a04(0x13b)](_0x3eb54d['MdXcQ']);}}},addS3Data=async _0x16f301=>{const _0x2ec927=a25_0x56bc79,_0x5e2041={'qGZcT':function(_0x6cccad,_0x2293cb){return _0x6cccad(_0x2293cb);},'bqhEK':'CFTemplates','skgar':_0x2ec927(0x10f),'EwzMP':'utf-8','dlTdX':function(_0x4ee452,_0x1d7be2){return _0x4ee452(_0x1d7be2);},'MRGvH':function(_0x411e07,_0x3526a5){return _0x411e07===_0x3526a5;},'IMoks':function(_0xe4d3df,_0x12f495){return _0xe4d3df===_0x12f495;},'vpvEo':'HdVoi','DFivo':function(_0x751b8c,_0xfb6894,_0x51cbb2){return _0x751b8c(_0xfb6894,_0x51cbb2);}},_0x36776f=await fs[_0x2ec927(0x16e)](path['join'](__dirname,'..',_0x5e2041[_0x2ec927(0x113)],_0x5e2041['skgar']),_0x5e2041[_0x2ec927(0x138)]),_0x4c9e52={};_0x4c9e52[_0x2ec927(0x194)]=CLOUDFORMATION_SCHEMA;const _0x3a91db=yaml[_0x2ec927(0x19e)](_0x36776f,_0x4c9e52),_0x2372c4=await _0x5e2041['dlTdX'](isBucketPresent,global_registry[_0x2ec927(0x172)]);_0x5e2041[_0x2ec927(0x1ac)](_0x2372c4,![])&&(_0x5e2041[_0x2ec927(0x112)](_0x5e2041['vpvEo'],_0x5e2041[_0x2ec927(0x147)])?_0x5e2041['DFivo'](mergeTemplates,_0x16f301,_0x3a91db):(_0x1dc93b['Parameters'][_0x2ec927(0x13b)]({'ParameterKey':_0x2ec927(0x134)+_0x5e2041[_0x2ec927(0xf8)](_0x6ff037,_0x32e173)['padStart'](0x2,'0'),'ParameterValue':_0x5448a7[_0x2ec927(0x12e)]}),_0xc8dda9+=0x1));},addSubnetData=async(_0x9bd826,_0x37743c)=>{const _0x372844=a25_0x56bc79,_0x153caf={'TDOpk':function(_0x54d938,_0x3e2e76,_0x49eb70){return _0x54d938(_0x3e2e76,_0x49eb70);},'qpTmX':function(_0x218191,_0x196b24){return _0x218191===_0x196b24;},'OuupN':_0x372844(0x15a),'pxiQL':'LOJEW','gzSlu':_0x372844(0x142),'vakAD':function(_0x147a36,_0x1d89cd){return _0x147a36(_0x1d89cd);},'ZPXeR':function(_0x207730,_0x50b107){return _0x207730(_0x50b107);},'MEzKF':'Fn::Join','tUZFI':function(_0x5b95af,_0x4e3d69){return _0x5b95af(_0x4e3d69);},'qGUVm':_0x372844(0x19c),'xayrT':function(_0x5b05d9,_0x2dbf2e){return _0x5b05d9(_0x2dbf2e);},'tmnGk':_0x372844(0x195),'bufxp':'NodeGroupWindows','xgswO':_0x372844(0x185),'evxqh':'mvaBm','LoRGI':_0x372844(0x110),'onvXu':_0x372844(0x16d),'aIopz':_0x372844(0x143),'owOyd':function(_0x237f8,_0x5d8a03){return _0x237f8===_0x5d8a03;},'JuFwd':_0x372844(0x166),'AObHG':_0x372844(0x148),'pvkIU':function(_0x3777bc,_0x312f52,_0x55b89b){return _0x3777bc(_0x312f52,_0x55b89b);},'RYwTp':_0x372844(0x187),'zKVTB':_0x372844(0x1a7),'TXnpw':_0x372844(0x171),'ryLtd':_0x372844(0x17e),'WalLO':_0x372844(0x152),'kiSbB':_0x372844(0x173)};if(_0x37743c){if(_0x153caf['qpTmX'](_0x153caf['xgswO'],_0x153caf[_0x372844(0x11a)]))_0x4ba066['Resources'][_0x58f46f][_0x372844(0x1ae)]['Tags'][_0x372844(0x13b)](..._0x3ac03d);else{const _0x2725c0=await fs[_0x372844(0x16e)](path[_0x372844(0x1a0)](__dirname,'..',_0x153caf[_0x372844(0x14c)],_0x153caf[_0x372844(0x126)]),_0x153caf[_0x372844(0x16a)]),_0x3fd4d8={};_0x3fd4d8[_0x372844(0x194)]=CLOUDFORMATION_SCHEMA;const _0xbe0686=yaml[_0x372844(0x19e)](_0x2725c0,_0x3fd4d8);_0x153caf['TDOpk'](mergeTemplates,_0x9bd826,_0xbe0686);let _0x5a33de=0x1;_0x37743c['forEach'](_0x15eed5=>{const _0x2bfe22=_0x372844;if(_0x153caf[_0x2bfe22(0x104)](_0x153caf[_0x2bfe22(0x114)],_0x153caf[_0x2bfe22(0x191)]))_0x153caf['TDOpk'](_0x4a2ac3,_0x638b93,_0x121071);else{const _0x1e2f11=_0x153caf['gzSlu'][_0x2bfe22(0x154)]('|');let _0x2be59e=0x0;while(!![]){switch(_0x1e2f11[_0x2be59e++]){case'0':_0x5a33de+=0x1;continue;case'1':_0x9bd826[_0x2bfe22(0x140)][_0x2bfe22(0x195)][_0x2bfe22(0x1ae)][_0x2bfe22(0x15f)]['push']({'Ref':'Subnet'+_0x153caf[_0x2bfe22(0x125)](String,_0x5a33de)['padStart'](0x2,'0')});continue;case'2':_0x9bd826[_0x2bfe22(0x140)][_0x2bfe22(0x188)][_0x2bfe22(0x1ae)][_0x2bfe22(0x15f)]['push']({'Ref':_0x2bfe22(0x134)+_0x153caf[_0x2bfe22(0x1a3)](String,_0x5a33de)[_0x2bfe22(0x177)](0x2,'0')});continue;case'3':_0x9bd826[_0x2bfe22(0x1a4)][_0x2bfe22(0x14e)][_0x2bfe22(0x137)][_0x153caf[_0x2bfe22(0x186)]][0x1][_0x2bfe22(0x13b)]({'Ref':_0x2bfe22(0x134)+_0x153caf[_0x2bfe22(0x118)](String,_0x5a33de)[_0x2bfe22(0x177)](0x2,'0')});continue;case'4':_0x9bd826[_0x2bfe22(0x108)][_0x153caf[_0x2bfe22(0x14a)]][_0x2bfe22(0x12c)][0x0][_0x2bfe22(0x109)][_0x2bfe22(0x13b)]('Subnet'+_0x153caf['ZPXeR'](String,_0x5a33de)[_0x2bfe22(0x177)](0x2,'0'));continue;case'5':_0x9bd826[_0x2bfe22(0x140)]['EKSCluster']['Properties'][_0x2bfe22(0x139)][_0x2bfe22(0x14e)][_0x2bfe22(0x13b)]({'Ref':_0x2bfe22(0x134)+_0x153caf[_0x2bfe22(0xfd)](String,_0x5a33de)[_0x2bfe22(0x177)](0x2,'0')});continue;}break;}}});}}else{if(_0x153caf[_0x372844(0xf9)](_0x153caf['JuFwd'],_0x153caf['JuFwd'])){const _0x2f01df=await fs[_0x372844(0x16e)](path[_0x372844(0x1a0)](__dirname,'..',_0x153caf[_0x372844(0x14c)],_0x153caf[_0x372844(0x105)]),_0x153caf[_0x372844(0x16a)]),_0x5684b4={};_0x5684b4[_0x372844(0x194)]=CLOUDFORMATION_SCHEMA;const _0x1fc654=yaml[_0x372844(0x19e)](_0x2f01df,_0x5684b4);_0x153caf[_0x372844(0x10c)](mergeTemplates,_0x9bd826,_0x1fc654),_0x9bd826[_0x372844(0x140)][_0x372844(0x106)][_0x372844(0x103)]['push'](_0x153caf[_0x372844(0x19a)],_0x153caf['zKVTB'],_0x153caf[_0x372844(0x1a5)]);const _0x37dad1={};_0x37dad1[_0x372844(0x149)]=_0x153caf[_0x372844(0x19a)];const _0x404384={};_0x404384['Ref']=_0x153caf[_0x372844(0x101)];const _0x2c0bb7={};_0x2c0bb7[_0x372844(0x149)]=_0x153caf[_0x372844(0x1a5)],_0x9bd826[_0x372844(0x140)]['EKSCluster'][_0x372844(0x1ae)][_0x372844(0x139)][_0x372844(0x14e)]=[_0x37dad1,_0x404384,_0x2c0bb7],_0x9bd826[_0x372844(0x108)][_0x153caf[_0x372844(0x14a)]][_0x372844(0x12c)][0x0][_0x372844(0x109)][_0x372844(0x13b)](_0x153caf[_0x372844(0x141)],_0x153caf['WalLO'],_0x153caf[_0x372844(0x184)]);const _0x82dc98={};_0x82dc98[_0x372844(0x149)]=_0x153caf[_0x372844(0x19a)];const _0x28559f={};_0x28559f[_0x372844(0x149)]=_0x153caf[_0x372844(0x101)];const _0x134dab={};_0x134dab[_0x372844(0x149)]=_0x153caf[_0x372844(0x1a5)],_0x9bd826[_0x372844(0x140)]['NodeGroup'][_0x372844(0x1ae)][_0x372844(0x15f)]=[_0x82dc98,_0x28559f,_0x134dab];const _0x389fc8={};_0x389fc8[_0x372844(0x149)]=_0x153caf[_0x372844(0x19a)];const _0x4eac35={};_0x4eac35['Ref']=_0x153caf[_0x372844(0x101)];const _0x26ad16={};_0x26ad16['Ref']=_0x153caf[_0x372844(0x1a5)],_0x9bd826[_0x372844(0x140)][_0x372844(0x188)]['Properties'][_0x372844(0x15f)]=[_0x389fc8,_0x4eac35,_0x26ad16],_0x9bd826['Outputs'][_0x372844(0x14e)]['Value'][_0x153caf['MEzKF']][0x1]=[{'Ref':_0x153caf[_0x372844(0x19a)]},{'Ref':_0x153caf[_0x372844(0x101)]},{'Ref':_0x153caf[_0x372844(0x1a5)]}];}else{for(const _0x9cdbe6 in _0x1a060e[_0x372844(0x140)]){_0x1a9e79[_0x372844(0x140)][_0x9cdbe6]['Properties']&&_0x192826[_0x372844(0x140)][_0x9cdbe6][_0x372844(0x1ae)][_0x372844(0x123)]&&_0xecf1d3[_0x372844(0x140)][_0x9cdbe6][_0x372844(0x1ae)][_0x372844(0x123)]['push'](..._0xa4800c);}const _0x57723b={};_0x291135[_0x372844(0x168)](_0x2da74e=>{const _0x24569f=_0x372844;_0x57723b[_0x2da74e[_0x24569f(0x11c)]]=_0x2da74e[_0x24569f(0x137)];}),_0x2badb3[_0x372844(0x140)][_0x153caf['tmnGk']][_0x372844(0x1ae)][_0x372844(0x123)]=_0x57723b,_0x1de667['Resources'][_0x153caf['bufxp']][_0x372844(0x1ae)][_0x372844(0x123)]=_0x57723b;}}},addTags=async(_0x1194d1,_0x1249e4,_0x45fd13)=>{const _0x17121f=a25_0x56bc79,_0x241499={'pCjgk':_0x17121f(0x183),'cetig':function(_0x5ef86d,_0x49b18c){return _0x5ef86d(_0x49b18c);},'kARTU':_0x17121f(0x19c),'vGYFh':'Fn::Join','IXEMx':function(_0x2b3cc5,_0x2ed647){return _0x2b3cc5(_0x2ed647);},'wwObL':function(_0x23fbbe,_0x3ed1ff){return _0x23fbbe!==_0x3ed1ff;},'cTxIU':_0x17121f(0x1aa),'zwlMr':'vGsqG','AYKvf':_0x17121f(0x15d),'ciavs':function(_0x415a08,_0x37bf68){return _0x415a08===_0x37bf68;},'cWmCL':_0x17121f(0x13c),'bqmfA':_0x17121f(0x12d),'bLtiK':_0x17121f(0x195),'GcsHr':_0x17121f(0x188)};for(const _0x50ab29 in _0x1194d1[_0x17121f(0x140)]){_0x241499[_0x17121f(0x169)](_0x241499['zwlMr'],_0x241499[_0x17121f(0x116)])?_0x1194d1[_0x17121f(0x140)][_0x50ab29][_0x17121f(0x1ae)]&&_0x1194d1[_0x17121f(0x140)][_0x50ab29][_0x17121f(0x1ae)][_0x17121f(0x123)]&&(_0x241499[_0x17121f(0x17b)](_0x241499[_0x17121f(0x15b)],_0x241499[_0x17121f(0x12f)])?_0x191713[_0x3476d3][_0x285c02]=_0x67a349[_0x9ac139]:_0x1194d1[_0x17121f(0x140)][_0x50ab29][_0x17121f(0x1ae)][_0x17121f(0x123)]['push'](..._0x45fd13)):_0x5d85c2[_0x17121f(0x133)](_0x2a5304)[_0x17121f(0x168)](_0x11fa15=>{var _0x12d82c=_0x427ffb[_0x11fa15];_0x1a4702['keys'](_0x12d82c)['forEach'](_0x54c08f=>{_0x258553[_0x11fa15][_0x54c08f]=_0x12d82c[_0x54c08f];});});}const _0x4215fc={};_0x45fd13[_0x17121f(0x168)](_0x4edaa2=>{const _0x15accd=_0x17121f;if(_0x241499[_0x15accd(0x169)](_0x241499['cTxIU'],_0x241499[_0x15accd(0x14d)])){const _0x533ea3=_0x241499[_0x15accd(0x190)][_0x15accd(0x154)]('|');let _0x1cdf47=0x0;while(!![]){switch(_0x533ea3[_0x1cdf47++]){case'0':_0x3c04c4[_0x15accd(0x140)][_0x15accd(0x195)]['Properties'][_0x15accd(0x15f)][_0x15accd(0x13b)]({'Ref':_0x15accd(0x134)+_0x241499[_0x15accd(0x10d)](_0x2d83a4,_0x179270)['padStart'](0x2,'0')});continue;case'1':_0x3cff14[_0x15accd(0x140)][_0x15accd(0x106)][_0x15accd(0x1ae)]['ResourcesVpcConfig'][_0x15accd(0x14e)][_0x15accd(0x13b)]({'Ref':_0x15accd(0x134)+_0x241499[_0x15accd(0x10d)](_0x435ddc,_0x33b004)['padStart'](0x2,'0')});continue;case'2':_0xc05e00[_0x15accd(0x108)][_0x241499[_0x15accd(0x11f)]][_0x15accd(0x12c)][0x0]['Parameters'][_0x15accd(0x13b)](_0x15accd(0x134)+_0x241499[_0x15accd(0x10d)](_0x5274df,_0x1ee069)[_0x15accd(0x177)](0x2,'0'));continue;case'3':_0x4e4783[_0x15accd(0x1a4)]['SubnetIds']['Value'][_0x241499[_0x15accd(0x107)]][0x1][_0x15accd(0x13b)]({'Ref':_0x15accd(0x134)+_0x241499[_0x15accd(0x162)](_0xe45e1,_0x248350)['padStart'](0x2,'0')});continue;case'4':_0x5e9a51[_0x15accd(0x140)]['NodeGroupWindows'][_0x15accd(0x1ae)][_0x15accd(0x15f)][_0x15accd(0x13b)]({'Ref':_0x15accd(0x134)+_0x241499['cetig'](_0x1fd115,_0x396224)['padStart'](0x2,'0')});continue;case'5':_0x110061+=0x1;continue;}break;}}else _0x4215fc[_0x4edaa2[_0x15accd(0x11c)]]=_0x4edaa2['Value'];}),_0x1194d1[_0x17121f(0x140)][_0x241499[_0x17121f(0xf7)]][_0x17121f(0x1ae)]['Tags']=_0x4215fc,_0x1194d1['Resources'][_0x241499[_0x17121f(0x18d)]][_0x17121f(0x1ae)]['Tags']=_0x4215fc;};exports[a25_0x56bc79(0x127)]=async(_0x561061,_0x94b8f,_0x28a5f5,_0x328e01=null,_0x3a550c=null)=>{const _0x55a25f=a25_0x56bc79,_0x1b1847={'pYZUO':function(_0x4127f1,_0x3e7476){return _0x4127f1(_0x3e7476);},'xLFlo':_0x55a25f(0x10e),'HgnwM':_0x55a25f(0x18b),'gDiOi':_0x55a25f(0x131),'QFrvk':_0x55a25f(0x110),'RQrbM':_0x55a25f(0x1ab),'sVrFH':'utf-8','uFibk':function(_0x417dfe,_0x2e4b45,_0x2509dc){return _0x417dfe(_0x2e4b45,_0x2509dc);},'OzQZd':function(_0x46195d,_0x2c0f27){return _0x46195d(_0x2c0f27);},'FsBTy':function(_0x555dd5,_0x307ca6,_0x3746b7,_0x1585c5){return _0x555dd5(_0x307ca6,_0x3746b7,_0x1585c5);},'tqfzo':_0x55a25f(0x115),'dHPJf':_0x55a25f(0x196),'nWYzF':_0x55a25f(0x11b),'XNmtW':_0x55a25f(0x174),'XvHNh':'NodeAutoScalingGroupMinSizeWindows','mVEFU':_0x55a25f(0x1a1),'iQBPn':_0x55a25f(0x135),'evJOS':_0x55a25f(0xf6),'ahEwH':'NodeInstanceType','wtGqd':'S3BucketName','RNAhn':_0x55a25f(0x129),'PzZmd':_0x55a25f(0xfe),'pAPxu':function(_0xbd54e,_0x156806){return _0xbd54e!=_0x156806;},'FnPCn':function(_0x54e3f0,_0x1992aa){return _0x54e3f0!==_0x1992aa;},'yHrwq':function(_0xf5b12c,_0x524db5){return _0xf5b12c===_0x524db5;},'VMyXK':_0x55a25f(0x161),'oQowJ':_0x55a25f(0x19f),'voTNK':_0x55a25f(0x189),'QjwKr':function(_0x44ea3c,_0x20d9fd){return _0x44ea3c!=_0x20d9fd;},'HvMKj':_0x55a25f(0x157),'GRNBR':'stackCreateComplete'},_0x22c3f0=COMMON_HST_TAGS,_0x417891={};_0x417891[_0x55a25f(0x11c)]=_0x1b1847['xLFlo'],_0x417891[_0x55a25f(0x137)]=_0x561061,_0x22c3f0[_0x55a25f(0x13b)](_0x417891),_0x22c3f0[_0x55a25f(0x13b)]({'Key':_0x1b1847[_0x55a25f(0x15c)],'Value':new Date()[_0x55a25f(0x155)]()['toString']()});const _0x235232={};_0x235232['apiVersion']=_0x1b1847[_0x55a25f(0x156)];const _0x131f79=new AWS[(_0x55a25f(0x146))](_0x235232),_0x106680=await fs['readFileAsync'](path[_0x55a25f(0x1a0)](__dirname,'..',_0x1b1847['QFrvk'],_0x1b1847['RQrbM']),_0x1b1847[_0x55a25f(0x1a2)]),_0x5aea5a={};_0x5aea5a[_0x55a25f(0x194)]=CLOUDFORMATION_SCHEMA;const _0x28a68e=yaml['load'](_0x106680,_0x5aea5a);await _0x1b1847[_0x55a25f(0x176)](addVPCData,_0x28a68e,_0x328e01),await _0x1b1847[_0x55a25f(0x1a9)](addS3Data,_0x28a68e),await _0x1b1847[_0x55a25f(0x176)](addSubnetData,_0x28a68e,_0x3a550c),await _0x1b1847[_0x55a25f(0x18e)](addTags,_0x28a68e,_0x561061,_0x22c3f0);const _0x202a5e=JSON[_0x55a25f(0x180)](_0x28a68e),_0x40c396={};_0x40c396[_0x55a25f(0x16c)]=CLUSTER_DEP_STACK_NAME+'-'+_0x561061,_0x40c396[_0x55a25f(0x14b)]=_0x1b1847[_0x55a25f(0x128)],_0x40c396['TemplateBody']=_0x202a5e,_0x40c396[_0x55a25f(0x109)]=[{'ParameterKey':_0x1b1847[_0x55a25f(0x18f)],'ParameterValue':_0x561061},{'ParameterKey':_0x1b1847[_0x55a25f(0x122)],'ParameterValue':_0x561061+_0x55a25f(0x13a)},{'ParameterKey':_0x1b1847[_0x55a25f(0x12b)],'ParameterValue':''+_0x94b8f},{'ParameterKey':_0x1b1847[_0x55a25f(0x10b)],'ParameterValue':'0'},{'ParameterKey':_0x1b1847['mVEFU'],'ParameterValue':'1'},{'ParameterKey':_0x1b1847[_0x55a25f(0x178)],'ParameterValue':''+_0x28a5f5},{'ParameterKey':_0x1b1847[_0x55a25f(0x10a)],'ParameterValue':global_registry[_0x55a25f(0x1a8)]},{'ParameterKey':_0x1b1847[_0x55a25f(0xfb)],'ParameterValue':global_registry[_0x55a25f(0xfa)]},{'ParameterKey':_0x1b1847[_0x55a25f(0x18c)],'ParameterValue':global_registry[_0x55a25f(0x172)]},{'ParameterKey':_0x1b1847[_0x55a25f(0x14f)],'ParameterValue':_0x561061+_0x55a25f(0x11e)}],_0x40c396[_0x55a25f(0x1ad)]=[_0x1b1847['PzZmd']],_0x40c396[_0x55a25f(0x123)]=_0x22c3f0;const _0x4e80cf=_0x40c396;if(_0x1b1847[_0x55a25f(0x175)](_0x328e01,null)&&_0x1b1847[_0x55a25f(0x181)](_0x328e01,undefined)){if(_0x1b1847[_0x55a25f(0x13e)](_0x1b1847[_0x55a25f(0x198)],_0x1b1847[_0x55a25f(0x12a)]))_0x2303f6[_0x23c6db[_0x55a25f(0x11c)]]=_0x4e031c[_0x55a25f(0x137)];else{const _0x1fb820={};_0x1fb820['ParameterKey']=_0x1b1847['voTNK'],_0x1fb820[_0x55a25f(0x193)]=_0x328e01,_0x4e80cf[_0x55a25f(0x109)][_0x55a25f(0x13b)](_0x1fb820);}}if(_0x1b1847['QjwKr'](_0x3a550c,null)&&_0x1b1847[_0x55a25f(0x181)](_0x3a550c,undefined)){let _0x35568b=0x1;_0x3a550c[_0x55a25f(0x168)](_0x120c8c=>{const _0x2fcaca=_0x55a25f;_0x4e80cf[_0x2fcaca(0x109)][_0x2fcaca(0x13b)]({'ParameterKey':_0x2fcaca(0x134)+_0x1b1847[_0x2fcaca(0x159)](String,_0x35568b)[_0x2fcaca(0x177)](0x2,'0'),'ParameterValue':_0x120c8c[_0x2fcaca(0x12e)]}),_0x35568b+=0x1;});}const _0x1851b0=await _0x131f79['createStack'](_0x4e80cf)[_0x55a25f(0x150)]();logger[_0x55a25f(0x17d)](_0x1b1847[_0x55a25f(0x11d)]);const _0x8de105={};return _0x8de105[_0x55a25f(0x16c)]=_0x1851b0['StackId'],_0x131f79[_0x55a25f(0x102)](_0x1b1847[_0x55a25f(0x13f)],_0x8de105)[_0x55a25f(0x150)]();};
1
+ const a27_0x46b1c5=a27_0x3105;(function(_0xae3d34,_0x177bcb){const _0x2342d4=a27_0x3105,_0x1ec0b1=_0xae3d34();while(!![]){try{const _0x44f495=-parseInt(_0x2342d4(0xbf))/0x1*(-parseInt(_0x2342d4(0xf7))/0x2)+parseInt(_0x2342d4(0xf4))/0x3+-parseInt(_0x2342d4(0xc7))/0x4*(parseInt(_0x2342d4(0xc1))/0x5)+parseInt(_0x2342d4(0x112))/0x6+parseInt(_0x2342d4(0x127))/0x7+-parseInt(_0x2342d4(0xf1))/0x8+-parseInt(_0x2342d4(0x12f))/0x9;if(_0x44f495===_0x177bcb)break;else _0x1ec0b1['push'](_0x1ec0b1['shift']());}catch(_0x25176f){_0x1ec0b1['push'](_0x1ec0b1['shift']());}}}(a27_0x471b,0x1d494));const fs=require('fs'),path=require(a27_0x46b1c5(0x154)),Promise=require(a27_0x46b1c5(0x125)),yaml=require('js-yaml'),{CLOUDFORMATION_SCHEMA}=require(a27_0x46b1c5(0xc0)),AWS=require(a27_0x46b1c5(0x11a))['awsObj'],{CLUSTER_DEP_STACK_NAME,COMMON_HST_TAGS,global_registry}=require(a27_0x46b1c5(0xd8)),{logger}=require(a27_0x46b1c5(0x15a)),{isBucketPresent}=require(a27_0x46b1c5(0x11a));Promise[a27_0x46b1c5(0xed)](fs);const mergeTemplates=(_0x5c144b,_0x433e78)=>{const _0x23e222=a27_0x46b1c5,_0x25aea7={};_0x25aea7[_0x23e222(0x103)]=function(_0x12f760,_0x2ea1e9){return _0x12f760!==_0x2ea1e9;},_0x25aea7[_0x23e222(0xae)]='WNGJH',_0x25aea7[_0x23e222(0x108)]=_0x23e222(0x102),_0x25aea7[_0x23e222(0xd2)]='VPC',_0x25aea7[_0x23e222(0x10c)]=function(_0x4c77d4,_0x30a195){return _0x4c77d4===_0x30a195;},_0x25aea7[_0x23e222(0xf3)]='xnshx';const _0x3e95c6=_0x25aea7;Object['keys'](_0x433e78)[_0x23e222(0x15c)](_0xd4336f=>{const _0x3587f2=_0x23e222;if(_0x3e95c6[_0x3587f2(0x10c)](_0x3e95c6[_0x3587f2(0xf3)],_0x3e95c6[_0x3587f2(0xf3)])){var _0x33960f=_0x433e78[_0xd4336f];Object[_0x3587f2(0x134)](_0x33960f)[_0x3587f2(0x15c)](_0x1004e3=>{const _0x23f97b=_0x3587f2;_0x3e95c6[_0x23f97b(0x103)](_0x3e95c6[_0x23f97b(0xae)],_0x3e95c6['kcUak'])?_0x5c144b[_0xd4336f][_0x1004e3]=_0x33960f[_0x1004e3]:_0xb4071[_0x23f97b(0x134)](_0x31de2c)['forEach'](_0x418b12=>{const _0x57b7f7=_0x23f97b;var _0x28221f=_0x58bd01[_0x418b12];_0x8def85[_0x57b7f7(0x134)](_0x28221f)['forEach'](_0x500902=>{_0xa4ccc9[_0x418b12][_0x500902]=_0x28221f[_0x500902];});});});}else{const _0x40d279={};_0x40d279[_0x3587f2(0x153)]=_0x3e95c6['mVgKq'],_0x40d279[_0x3587f2(0xfe)]=_0x4c8957,_0x57ee2a['Parameters']['push'](_0x40d279);}});},addVPCData=async(_0x499b4f,_0x2a9ce4)=>{const _0x1a1fab=a27_0x46b1c5,_0x2fb1ac={'ZPRGf':_0x1a1fab(0xfa),'OOzcI':_0x1a1fab(0x150),'DYygn':function(_0x59973a,_0x36cfb5){return _0x59973a===_0x36cfb5;},'OoDUE':_0x1a1fab(0xe3),'wiGJP':_0x1a1fab(0x104),'IpAKp':_0x1a1fab(0x118),'Stoaa':_0x1a1fab(0xbb),'MgZnR':function(_0x32edd3,_0x30b21f,_0x49a30c){return _0x32edd3(_0x30b21f,_0x49a30c);},'oOZtT':'AWS::CloudFormation::Interface','hhVsQ':_0x1a1fab(0xf5),'TRWaC':function(_0x370468,_0x3e4329){return _0x370468===_0x3e4329;},'QJNRj':'fTbOv','ekxFm':_0x1a1fab(0x10a),'TyeAW':_0x1a1fab(0xdb),'UYpmJ':function(_0x1d50e1,_0x5d7162,_0x825881){return _0x1d50e1(_0x5d7162,_0x825881);},'TXAwW':_0x1a1fab(0xc3)};if(_0x2a9ce4){if(_0x2fb1ac[_0x1a1fab(0x14b)](_0x2fb1ac['OoDUE'],_0x2fb1ac[_0x1a1fab(0xe0)])){const _0xbf652e=await fs['readFileAsync'](path[_0x1a1fab(0xfc)](__dirname,'..',_0x2fb1ac[_0x1a1fab(0x138)],_0x2fb1ac['IpAKp']),_0x2fb1ac[_0x1a1fab(0x12b)]),_0x41cdfc={};_0x41cdfc['schema']=CLOUDFORMATION_SCHEMA;const _0x52fcf3=yaml[_0x1a1fab(0x113)](_0xbf652e,_0x41cdfc);_0x2fb1ac[_0x1a1fab(0x139)](mergeTemplates,_0x499b4f,_0x52fcf3),_0x499b4f[_0x1a1fab(0xb8)][_0x2fb1ac[_0x1a1fab(0x135)]][_0x1a1fab(0x137)][0x0][_0x1a1fab(0xb7)][_0x1a1fab(0xcb)](_0x2fb1ac['hhVsQ']);}else{for(const _0x19da45 in _0x28644c[_0x1a1fab(0xb5)]){_0x1703f8[_0x1a1fab(0xb5)][_0x19da45][_0x1a1fab(0xc9)]&&_0x33b1ee['Resources'][_0x19da45][_0x1a1fab(0xc9)][_0x1a1fab(0x15d)]&&_0x516819[_0x1a1fab(0xb5)][_0x19da45][_0x1a1fab(0xc9)]['Tags'][_0x1a1fab(0xcb)](..._0x4bd028);}const _0xbed431={};_0x21ae03[_0x1a1fab(0x15c)](_0x2014db=>{const _0x558c41=_0x1a1fab;_0xbed431[_0x2014db[_0x558c41(0x132)]]=_0x2014db[_0x558c41(0x119)];}),_0x128c15['Resources'][_0x2fb1ac[_0x1a1fab(0xb1)]][_0x1a1fab(0xc9)][_0x1a1fab(0x15d)]=_0xbed431,_0x17f72c[_0x1a1fab(0xb5)][_0x2fb1ac[_0x1a1fab(0xc2)]]['Properties'][_0x1a1fab(0x15d)]=_0xbed431;}}else{if(_0x2fb1ac[_0x1a1fab(0xcf)](_0x2fb1ac['QJNRj'],_0x2fb1ac['ekxFm']))_0x1a9057[_0x1a1fab(0xb5)][_0x2d396d][_0x1a1fab(0xc9)][_0x1a1fab(0x15d)]['push'](..._0x4d520c);else{const _0x1e0682=await fs[_0x1a1fab(0x14d)](path[_0x1a1fab(0xfc)](__dirname,'..',_0x2fb1ac[_0x1a1fab(0x138)],_0x2fb1ac['TyeAW']),_0x2fb1ac['Stoaa']),_0x2ee01d={};_0x2ee01d[_0x1a1fab(0xd9)]=CLOUDFORMATION_SCHEMA;const _0x3326a6=yaml[_0x1a1fab(0x113)](_0x1e0682,_0x2ee01d);_0x2fb1ac[_0x1a1fab(0x11c)](mergeTemplates,_0x499b4f,_0x3326a6),_0x499b4f[_0x1a1fab(0xb8)][_0x2fb1ac['oOZtT']][_0x1a1fab(0x137)][0x0][_0x1a1fab(0xb7)][_0x1a1fab(0xcb)](_0x2fb1ac[_0x1a1fab(0xfb)]);}}},addS3Data=async _0x3ad155=>{const _0x36e5be=a27_0x46b1c5,_0x5dd656={'QBvOy':_0x36e5be(0x104),'zzKnx':'s3-create.yaml','GySYH':_0x36e5be(0xbb),'YkFeG':function(_0x156f08,_0x2c041f){return _0x156f08(_0x2c041f);},'lEsCk':function(_0x1c5da1,_0x451aa4){return _0x1c5da1===_0x451aa4;},'xRbdo':function(_0x14b4db,_0x4cd42a){return _0x14b4db===_0x4cd42a;},'jIwAm':'SRRBp','dlmMY':'kGFIg','rwJUe':function(_0x134f12,_0x39beb6,_0x1a5201){return _0x134f12(_0x39beb6,_0x1a5201);}},_0x5b4f70=await fs[_0x36e5be(0x14d)](path[_0x36e5be(0xfc)](__dirname,'..',_0x5dd656[_0x36e5be(0x12a)],_0x5dd656[_0x36e5be(0xb9)]),_0x5dd656['GySYH']),_0x2334a9={};_0x2334a9['schema']=CLOUDFORMATION_SCHEMA;const _0x468f3b=yaml[_0x36e5be(0x113)](_0x5b4f70,_0x2334a9),_0x2443eb=await _0x5dd656[_0x36e5be(0x143)](isBucketPresent,global_registry[_0x36e5be(0x140)]);if(_0x5dd656[_0x36e5be(0x142)](_0x2443eb,![])){if(_0x5dd656['xRbdo'](_0x5dd656[_0x36e5be(0xba)],_0x5dd656[_0x36e5be(0x109)])){var _0x299eb3=_0x5912de[_0x12bea4];_0xcd16a6['keys'](_0x299eb3)['forEach'](_0x1d041f=>{_0x36071d[_0x472eaf][_0x1d041f]=_0x299eb3[_0x1d041f];});}else _0x5dd656['rwJUe'](mergeTemplates,_0x3ad155,_0x468f3b);}},addSubnetData=async(_0xd264dc,_0xa84f4)=>{const _0x2ba627=a27_0x46b1c5,_0x41a177={'Hemzl':function(_0x42dc0e,_0x500caf,_0x501507){return _0x42dc0e(_0x500caf,_0x501507);},'BRzCX':function(_0x2279c9,_0x2e7d19){return _0x2279c9===_0x2e7d19;},'HqnfN':_0x2ba627(0xfd),'beIyz':_0x2ba627(0xdd),'oqXzP':'Fn::Join','FctbR':function(_0x1091b1,_0x54a6c6){return _0x1091b1(_0x54a6c6);},'ARnGI':'AWS::CloudFormation::Interface','bsNRN':function(_0x53eb85,_0x2dd6fb){return _0x53eb85(_0x2dd6fb);},'YlhSz':function(_0x204bb9,_0x1d7a74){return _0x204bb9(_0x1d7a74);},'cUMHb':function(_0xd30326,_0x23cbd0){return _0xd30326!==_0x23cbd0;},'WMvVA':'QLAgS','ZemJl':_0x2ba627(0x104),'ACdgE':_0x2ba627(0xc5),'ZNznj':_0x2ba627(0xbb),'oPPzz':function(_0x58762a,_0x49b4e9,_0x1091bd){return _0x58762a(_0x49b4e9,_0x1091bd);},'dDgqD':_0x2ba627(0xce),'OIapT':'subnet-create.yaml','Omino':function(_0xaaf19e,_0x35afd9,_0x26d9d4){return _0xaaf19e(_0x35afd9,_0x26d9d4);},'KGNdu':'Subnet01','JffQd':_0x2ba627(0xb3),'acNAF':_0x2ba627(0x15e),'AHBRP':_0x2ba627(0xe5),'yUuZt':'Subnet02Block','vjGgK':'Subnet03Block'};if(_0xa84f4){if(_0x41a177[_0x2ba627(0x111)](_0x41a177[_0x2ba627(0xe6)],_0x41a177['WMvVA']))_0x38af8e[_0x4643a1[_0x2ba627(0x132)]]=_0x50a9e8['Value'];else{const _0x3b0d40=await fs[_0x2ba627(0x14d)](path[_0x2ba627(0xfc)](__dirname,'..',_0x41a177[_0x2ba627(0x121)],_0x41a177[_0x2ba627(0x12c)]),_0x41a177[_0x2ba627(0x15b)]),_0x3bb75d={};_0x3bb75d[_0x2ba627(0xd9)]=CLOUDFORMATION_SCHEMA;const _0x4490d7=yaml['load'](_0x3b0d40,_0x3bb75d);_0x41a177[_0x2ba627(0x12d)](mergeTemplates,_0xd264dc,_0x4490d7);let _0x57200b=0x1;_0xa84f4[_0x2ba627(0x15c)](_0x1240c6=>{const _0xabfb14=_0x2ba627;if(_0x41a177[_0xabfb14(0x151)](_0x41a177[_0xabfb14(0x141)],_0x41a177[_0xabfb14(0x141)])){const _0x5294a7=_0x41a177['beIyz'][_0xabfb14(0x13d)]('|');let _0x579493=0x0;while(!![]){switch(_0x5294a7[_0x579493++]){case'0':_0x57200b+=0x1;continue;case'1':_0xd264dc['Outputs'][_0xabfb14(0xd7)][_0xabfb14(0x119)][_0x41a177[_0xabfb14(0xd1)]][0x1]['push']({'Ref':'Subnet'+_0x41a177[_0xabfb14(0xbc)](String,_0x57200b)[_0xabfb14(0x120)](0x2,'0')});continue;case'2':_0xd264dc[_0xabfb14(0xb8)][_0x41a177['ARnGI']][_0xabfb14(0x137)][0x0][_0xabfb14(0xb7)]['push']('Subnet'+_0x41a177[_0xabfb14(0xbd)](String,_0x57200b)[_0xabfb14(0x120)](0x2,'0'));continue;case'3':_0xd264dc[_0xabfb14(0xb5)][_0xabfb14(0x150)]['Properties'][_0xabfb14(0x11e)][_0xabfb14(0xcb)]({'Ref':_0xabfb14(0x116)+_0x41a177['bsNRN'](String,_0x57200b)['padStart'](0x2,'0')});continue;case'4':_0xd264dc[_0xabfb14(0xb5)]['NodeGroup'][_0xabfb14(0xc9)]['Subnets'][_0xabfb14(0xcb)]({'Ref':'Subnet'+_0x41a177[_0xabfb14(0xbd)](String,_0x57200b)[_0xabfb14(0x120)](0x2,'0')});continue;case'5':_0xd264dc['Resources']['EKSCluster'][_0xabfb14(0xc9)]['ResourcesVpcConfig'][_0xabfb14(0xd7)]['push']({'Ref':_0xabfb14(0x116)+_0x41a177['FctbR'](String,_0x57200b)['padStart'](0x2,'0')});continue;}break;}}else _0x41a177['Hemzl'](_0x34fc02,_0x1bfbe9,_0x568150);});}}else{if(_0x41a177[_0x2ba627(0x111)](_0x41a177[_0x2ba627(0xf0)],_0x41a177[_0x2ba627(0xf0)]))_0x5f589d['Parameters'][_0x2ba627(0xcb)]({'ParameterKey':_0x2ba627(0x116)+_0x41a177[_0x2ba627(0xd3)](_0x7ba393,_0x260f14)[_0x2ba627(0x120)](0x2,'0'),'ParameterValue':_0x3025c9[_0x2ba627(0x131)]}),_0x25cba1+=0x1;else{const _0x3a2021=await fs[_0x2ba627(0x14d)](path[_0x2ba627(0xfc)](__dirname,'..',_0x41a177[_0x2ba627(0x121)],_0x41a177['OIapT']),_0x41a177[_0x2ba627(0x15b)]),_0x3063fb={};_0x3063fb[_0x2ba627(0xd9)]=CLOUDFORMATION_SCHEMA;const _0x4153c8=yaml[_0x2ba627(0x113)](_0x3a2021,_0x3063fb);_0x41a177[_0x2ba627(0x149)](mergeTemplates,_0xd264dc,_0x4153c8),_0xd264dc[_0x2ba627(0xb5)][_0x2ba627(0x152)][_0x2ba627(0xdf)][_0x2ba627(0xcb)](_0x41a177['KGNdu'],_0x41a177['JffQd'],_0x41a177[_0x2ba627(0xea)]);const _0x136777={};_0x136777[_0x2ba627(0xb6)]=_0x41a177[_0x2ba627(0x107)];const _0x96e5a8={};_0x96e5a8[_0x2ba627(0xb6)]=_0x41a177[_0x2ba627(0x11f)];const _0x5718f1={};_0x5718f1[_0x2ba627(0xb6)]=_0x41a177[_0x2ba627(0xea)],_0xd264dc[_0x2ba627(0xb5)][_0x2ba627(0x152)][_0x2ba627(0xc9)]['ResourcesVpcConfig']['SubnetIds']=[_0x136777,_0x96e5a8,_0x5718f1],_0xd264dc[_0x2ba627(0xb8)][_0x41a177[_0x2ba627(0xc8)]][_0x2ba627(0x137)][0x0][_0x2ba627(0xb7)][_0x2ba627(0xcb)](_0x41a177[_0x2ba627(0xdc)],_0x41a177[_0x2ba627(0x106)],_0x41a177['vjGgK']);const _0x48c64e={};_0x48c64e[_0x2ba627(0xb6)]=_0x41a177['KGNdu'];const _0x207da2={};_0x207da2['Ref']=_0x41a177[_0x2ba627(0x11f)];const _0x61e673={};_0x61e673[_0x2ba627(0xb6)]=_0x41a177[_0x2ba627(0xea)],_0xd264dc['Resources'][_0x2ba627(0xfa)]['Properties'][_0x2ba627(0x11e)]=[_0x48c64e,_0x207da2,_0x61e673];const _0x300fa4={};_0x300fa4[_0x2ba627(0xb6)]=_0x41a177['KGNdu'];const _0x1e4aa8={};_0x1e4aa8['Ref']=_0x41a177[_0x2ba627(0x11f)];const _0x2c885f={};_0x2c885f[_0x2ba627(0xb6)]=_0x41a177[_0x2ba627(0xea)],_0xd264dc['Resources'][_0x2ba627(0x150)]['Properties'][_0x2ba627(0x11e)]=[_0x300fa4,_0x1e4aa8,_0x2c885f],_0xd264dc['Outputs'][_0x2ba627(0xd7)][_0x2ba627(0x119)][_0x41a177[_0x2ba627(0xd1)]][0x1]=[{'Ref':_0x41a177['KGNdu']},{'Ref':_0x41a177[_0x2ba627(0x11f)]},{'Ref':_0x41a177[_0x2ba627(0xea)]}];}}},addTags=async(_0x7d1402,_0x2c7084,_0x49c472)=>{const _0x43fdb2=a27_0x46b1c5,_0x240fd4={'FoFbo':function(_0x5206ad,_0x2ea2e0){return _0x5206ad(_0x2ea2e0);},'CTqoc':function(_0x91eb75,_0x4491e5){return _0x91eb75!==_0x4491e5;},'cxCSr':_0x43fdb2(0xcc),'ENfjN':function(_0x20d233,_0xc50b98){return _0x20d233===_0xc50b98;},'fHRPJ':_0x43fdb2(0x14f),'egTZZ':_0x43fdb2(0x136),'BwZsW':_0x43fdb2(0xe7),'eCnXH':_0x43fdb2(0xfa),'KmUKl':'NodeGroupWindows'};for(const _0x52d51a in _0x7d1402[_0x43fdb2(0xb5)]){if(_0x240fd4[_0x43fdb2(0xbe)](_0x240fd4[_0x43fdb2(0x155)],_0x240fd4['fHRPJ'])){if(_0x7d1402[_0x43fdb2(0xb5)][_0x52d51a][_0x43fdb2(0xc9)]&&_0x7d1402[_0x43fdb2(0xb5)][_0x52d51a][_0x43fdb2(0xc9)][_0x43fdb2(0x15d)]){if(_0x240fd4[_0x43fdb2(0xbe)](_0x240fd4[_0x43fdb2(0xd6)],_0x240fd4[_0x43fdb2(0x130)])){const _0xf0a67b={'TJYjt':function(_0x55734e,_0x2d9abb){return _0x240fd4['FoFbo'](_0x55734e,_0x2d9abb);}};let _0xbae24d=0x1;_0x488216[_0x43fdb2(0x15c)](_0x2ca5b4=>{const _0x46cb4b=_0x43fdb2;_0x4d916d[_0x46cb4b(0xb7)][_0x46cb4b(0xcb)]({'ParameterKey':'Subnet'+_0xf0a67b[_0x46cb4b(0xf8)](_0x5f2132,_0xbae24d)['padStart'](0x2,'0'),'ParameterValue':_0x2ca5b4[_0x46cb4b(0x131)]}),_0xbae24d+=0x1;});}else _0x7d1402['Resources'][_0x52d51a][_0x43fdb2(0xc9)]['Tags'][_0x43fdb2(0xcb)](..._0x49c472);}}else _0x29adc9[_0xd89878][_0x29fb37]=_0x3e7329[_0x54a6ad];}const _0x434894={};_0x49c472['forEach'](_0x4e4145=>{const _0x297a7d=_0x43fdb2;_0x240fd4[_0x297a7d(0x14e)](_0x240fd4['cxCSr'],_0x240fd4[_0x297a7d(0x13c)])?_0x34d2cb[_0x297a7d(0xb5)][_0x4cf217][_0x297a7d(0xc9)]&&_0x2e5260[_0x297a7d(0xb5)][_0x2d4a62][_0x297a7d(0xc9)][_0x297a7d(0x15d)]&&_0x4f4dbf['Resources'][_0xd69e06][_0x297a7d(0xc9)][_0x297a7d(0x15d)][_0x297a7d(0xcb)](..._0x1eeae6):_0x434894[_0x4e4145[_0x297a7d(0x132)]]=_0x4e4145['Value'];}),_0x7d1402[_0x43fdb2(0xb5)][_0x240fd4[_0x43fdb2(0xd5)]][_0x43fdb2(0xc9)][_0x43fdb2(0x15d)]=_0x434894,_0x7d1402['Resources'][_0x240fd4[_0x43fdb2(0xec)]][_0x43fdb2(0xc9)]['Tags']=_0x434894;};function a27_0x3105(_0x2c4731,_0x27287a){const _0x471baa=a27_0x471b();return a27_0x3105=function(_0x310539,_0x3dfbea){_0x310539=_0x310539-0xad;let _0x21f37a=_0x471baa[_0x310539];return _0x21f37a;},a27_0x3105(_0x2c4731,_0x27287a);}function a27_0x471b(){const _0x3c181e=['nmywv','Subnet','Outputs','vpc-import.yaml','Value','./AWSUtils','nRccY','UYpmJ','ILMyp','Subnets','JffQd','padStart','ZemJl','YyUMn','AWS::CloudFormation::Interface','NodeAutoScalingGroupMinSize','bluebird','vgOns','1432893dfaXiE','PgnyA','browserstack:cluster','QBvOy','Stoaa','ACdgE','oPPzz','NodeInstanceType','4160970bsZCEj','BwZsW','value','Key','2010-05-15','keys','oOZtT','Zhjid','ParameterGroups','wiGJP','MgZnR','TemplateBody','JOebh','cxCSr','split','MSzzb','yhxqB','s3Bucket','HqnfN','lEsCk','YkFeG','createClusterStack','Tmnod','OnFailure','cqCQl','LAdMN','Omino','BDxfm','DYygn','promise','readFileAsync','CTqoc','cYEdC','NodeGroupWindows','BRzCX','EKSCluster','ParameterKey','path','fHRPJ','-NodeGroup','aws-eks-cluster-dep.yaml','Tnieg','Unncf','../config/logger','ZNznj','forEach','Tags','Subnet03','NodeGroupName','cWrbJ','bjmVz','browserstack:creationDate','ZPRGf','fAmNF','Subnet02','FfeqO','Resources','Ref','Parameters','Metadata','zzKnx','jIwAm','utf-8','FctbR','bsNRN','ENfjN','10207LyfSgq','js-yaml-cloudformation-schema','177395vVGqGl','OOzcI','VpcBlock','2|0|3|1|4|5','subnet-import.yaml','QrjVo','24NFiPPW','ARnGI','Properties','CAPABILITY_NAMED_IAM','push','XsxMs','stringify','uJxYe','TRWaC','createStack','oqXzP','mVgKq','YlhSz','yFIRG','eCnXH','egTZZ','SubnetIds','../config/constants','schema','oVbBS','vpc-create.yaml','AHBRP','5|2|4|3|1|0','kWxdN','DependsOn','OoDUE','GgMcy','YutXq','IoGjy','kfbza','Subnet01Block','WMvVA','YaPSG','yQpqX','DELETE','acNAF','debug','KmUKl','promisifyAll','NteWT','mroiI','dDgqD','108504mYebFo','ErRgw','pFGJs','600552tEadGa','VPC','Fn::Join','44XyuJvc','TJYjt','xJSkO','NodeGroup','TXAwW','join','ZQRvs','ParameterValue','StackId','StackName','valueOf','XONXO','mkBdP','CFTemplates','WXxJp','yUuZt','KGNdu','kcUak','dlmMY','JpCni','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','PVQsU','FaIfM','ResourcesVpcConfig','ami','ClusterName','cUMHb','1075716XNfgip','load','yjqhu'];a27_0x471b=function(){return _0x3c181e;};return a27_0x471b();}exports[a27_0x46b1c5(0x144)]=async(_0x41193d,_0x320e22,_0x4d9465,_0x109620=null,_0x384317=null)=>{const _0x4771d4=a27_0x46b1c5,_0x2ef4a7={'kWxdN':_0x4771d4(0xc4),'zkFpB':_0x4771d4(0x123),'WXxJp':function(_0xc4a699,_0x1c7088){return _0xc4a699(_0x1c7088);},'wRSOB':function(_0x1d6d57,_0x2eb58a){return _0x1d6d57(_0x2eb58a);},'xJSkO':_0x4771d4(0xf6),'fAmNF':function(_0x2e43d0,_0x1679a0){return _0x2e43d0(_0x1679a0);},'yhxqB':_0x4771d4(0x129),'ErRgw':_0x4771d4(0xb0),'FaIfM':_0x4771d4(0x133),'cqCQl':_0x4771d4(0x104),'nmywv':_0x4771d4(0x157),'JOebh':_0x4771d4(0xbb),'FfeqO':function(_0x358845,_0x2af5cb,_0xf4d7b7){return _0x358845(_0x2af5cb,_0xf4d7b7);},'QrjVo':function(_0x3aae78,_0x11771f){return _0x3aae78(_0x11771f);},'LAdMN':function(_0x3828b8,_0x3cd7a8,_0x8f7ebd){return _0x3828b8(_0x3cd7a8,_0x8f7ebd);},'yQpqX':function(_0x49bf93,_0x449d60,_0x2dacb4,_0x287917){return _0x49bf93(_0x449d60,_0x2dacb4,_0x287917);},'YutXq':_0x4771d4(0xe9),'kfbza':_0x4771d4(0x110),'GgMcy':_0x4771d4(0xad),'bjmVz':_0x4771d4(0x124),'PgnyA':'NodeAutoScalingGroupMinSizeWindows','Tmnod':'NodeAutoScalingGroupDesiredSizeWindows','oVbBS':'NodeAutoScalingGroupMaxSize','BXXsh':'NodeImageId','MSzzb':_0x4771d4(0x12e),'nuPWC':'S3BucketName','ILMyp':'NodeGroupNameWindows','nRccY':_0x4771d4(0xca),'Tnieg':function(_0x6314ab,_0x59e543){return _0x6314ab!=_0x59e543;},'yFIRG':function(_0x16984d,_0x4c2964){return _0x16984d!==_0x4c2964;},'kSGUv':function(_0x14c608,_0x122dad){return _0x14c608!==_0x122dad;},'BDxfm':_0x4771d4(0xee),'mroiI':_0x4771d4(0x114),'yKpuj':_0x4771d4(0xf5),'xwdon':function(_0x3eed4e,_0x30d8ea){return _0x3eed4e!=_0x30d8ea;},'YyUMn':function(_0x27b4f4,_0x5ca40c){return _0x27b4f4!==_0x5ca40c;},'Unncf':_0x4771d4(0x10b),'vgOns':'stackCreateComplete'},_0x59eeb2=COMMON_HST_TAGS,_0x314081={};_0x314081[_0x4771d4(0x132)]=_0x2ef4a7[_0x4771d4(0x13f)],_0x314081['Value']=_0x41193d,_0x59eeb2[_0x4771d4(0xcb)](_0x314081),_0x59eeb2[_0x4771d4(0xcb)]({'Key':_0x2ef4a7[_0x4771d4(0xf2)],'Value':new Date()[_0x4771d4(0x101)]()['toString']()});const _0x5c5d1c={};_0x5c5d1c['apiVersion']=_0x2ef4a7[_0x4771d4(0x10d)];const _0x3f3a60=new AWS['CloudFormation'](_0x5c5d1c),_0x597105=await fs[_0x4771d4(0x14d)](path[_0x4771d4(0xfc)](__dirname,'..',_0x2ef4a7[_0x4771d4(0x147)],_0x2ef4a7[_0x4771d4(0x115)]),_0x2ef4a7[_0x4771d4(0x13b)]),_0xf7d395={};_0xf7d395[_0x4771d4(0xd9)]=CLOUDFORMATION_SCHEMA;const _0x177459=yaml[_0x4771d4(0x113)](_0x597105,_0xf7d395);await _0x2ef4a7[_0x4771d4(0xb4)](addVPCData,_0x177459,_0x109620),await _0x2ef4a7[_0x4771d4(0xc6)](addS3Data,_0x177459),await _0x2ef4a7[_0x4771d4(0x148)](addSubnetData,_0x177459,_0x384317),await _0x2ef4a7[_0x4771d4(0xe8)](addTags,_0x177459,_0x41193d,_0x59eeb2);const _0x1f6903=JSON[_0x4771d4(0xcd)](_0x177459),_0x40ed41={};_0x40ed41[_0x4771d4(0x100)]=CLUSTER_DEP_STACK_NAME+'-'+_0x41193d,_0x40ed41[_0x4771d4(0x146)]=_0x2ef4a7[_0x4771d4(0xe2)],_0x40ed41[_0x4771d4(0x13a)]=_0x1f6903,_0x40ed41[_0x4771d4(0xb7)]=[{'ParameterKey':_0x2ef4a7[_0x4771d4(0xe4)],'ParameterValue':_0x41193d},{'ParameterKey':_0x2ef4a7[_0x4771d4(0xe1)],'ParameterValue':_0x41193d+_0x4771d4(0x156)},{'ParameterKey':_0x2ef4a7[_0x4771d4(0xaf)],'ParameterValue':''+_0x320e22},{'ParameterKey':_0x2ef4a7[_0x4771d4(0x128)],'ParameterValue':'0'},{'ParameterKey':_0x2ef4a7[_0x4771d4(0x145)],'ParameterValue':'1'},{'ParameterKey':_0x2ef4a7[_0x4771d4(0xda)],'ParameterValue':''+_0x4d9465},{'ParameterKey':_0x2ef4a7['BXXsh'],'ParameterValue':global_registry[_0x4771d4(0x10f)]},{'ParameterKey':_0x2ef4a7[_0x4771d4(0x13e)],'ParameterValue':global_registry['instanceType']},{'ParameterKey':_0x2ef4a7['nuPWC'],'ParameterValue':global_registry[_0x4771d4(0x140)]},{'ParameterKey':_0x2ef4a7[_0x4771d4(0x11d)],'ParameterValue':_0x41193d+'-Windows-NodeGroup'}],_0x40ed41['Capabilities']=[_0x2ef4a7[_0x4771d4(0x11b)]],_0x40ed41['Tags']=_0x59eeb2;const _0x465554=_0x40ed41;if(_0x2ef4a7[_0x4771d4(0x158)](_0x109620,null)&&_0x2ef4a7[_0x4771d4(0xd4)](_0x109620,undefined)){if(_0x2ef4a7['kSGUv'](_0x2ef4a7[_0x4771d4(0x14a)],_0x2ef4a7[_0x4771d4(0xef)])){const _0xc2eab0={};_0xc2eab0[_0x4771d4(0x153)]=_0x2ef4a7['yKpuj'],_0xc2eab0[_0x4771d4(0xfe)]=_0x109620,_0x465554[_0x4771d4(0xb7)]['push'](_0xc2eab0);}else{const _0x3d6d2c=_0x2ef4a7[_0x4771d4(0xde)]['split']('|');let _0x13e5f2=0x0;while(!![]){switch(_0x3d6d2c[_0x13e5f2++]){case'0':_0x5798b2[_0x4771d4(0xb8)][_0x2ef4a7['zkFpB']]['ParameterGroups'][0x0]['Parameters']['push'](_0x4771d4(0x116)+_0x2ef4a7['WXxJp'](_0x4e84cc,_0x4a02df)[_0x4771d4(0x120)](0x2,'0'));continue;case'1':_0x2448f3[_0x4771d4(0xb5)][_0x4771d4(0x150)]['Properties'][_0x4771d4(0x11e)][_0x4771d4(0xcb)]({'Ref':'Subnet'+_0x2ef4a7[_0x4771d4(0x105)](_0xfde23c,_0x5e4d51)[_0x4771d4(0x120)](0x2,'0')});continue;case'2':_0x58dc9e['Resources'][_0x4771d4(0x152)][_0x4771d4(0xc9)][_0x4771d4(0x10e)]['SubnetIds'][_0x4771d4(0xcb)]({'Ref':_0x4771d4(0x116)+_0x2ef4a7[_0x4771d4(0x105)](_0x3438ef,_0x57cb2c)['padStart'](0x2,'0')});continue;case'3':_0x57a85e['Resources'][_0x4771d4(0xfa)]['Properties'][_0x4771d4(0x11e)]['push']({'Ref':_0x4771d4(0x116)+_0x2ef4a7['wRSOB'](_0x152876,_0x6210ee)[_0x4771d4(0x120)](0x2,'0')});continue;case'4':_0x40e0fd[_0x4771d4(0x117)]['SubnetIds'][_0x4771d4(0x119)][_0x2ef4a7[_0x4771d4(0xf9)]][0x1][_0x4771d4(0xcb)]({'Ref':_0x4771d4(0x116)+_0x2ef4a7[_0x4771d4(0x105)](_0x2e099c,_0x53fc6c)['padStart'](0x2,'0')});continue;case'5':_0x1b573f+=0x1;continue;}break;}}}if(_0x2ef4a7['xwdon'](_0x384317,null)&&_0x2ef4a7[_0x4771d4(0x122)](_0x384317,undefined)){let _0x3405e7=0x1;_0x384317[_0x4771d4(0x15c)](_0x493641=>{const _0x3bbe21=_0x4771d4;_0x465554[_0x3bbe21(0xb7)]['push']({'ParameterKey':'Subnet'+_0x2ef4a7[_0x3bbe21(0xb2)](String,_0x3405e7)[_0x3bbe21(0x120)](0x2,'0'),'ParameterValue':_0x493641[_0x3bbe21(0x131)]}),_0x3405e7+=0x1;});}const _0x406ac4=await _0x3f3a60[_0x4771d4(0xd0)](_0x465554)[_0x4771d4(0x14c)]();logger[_0x4771d4(0xeb)](_0x2ef4a7[_0x4771d4(0x159)]);const _0x34509a={};return _0x34509a[_0x4771d4(0x100)]=_0x406ac4[_0x4771d4(0xff)],_0x3f3a60['waitFor'](_0x2ef4a7[_0x4771d4(0x126)],_0x34509a)[_0x4771d4(0x14c)]();};
@@ -1 +1 @@
1
- const a26_0x35ac08=a26_0x1ba9;(function(_0x682633,_0x2fd003){const _0x2d987e=a26_0x1ba9,_0x147a5e=_0x682633();while(!![]){try{const _0x57df80=parseInt(_0x2d987e(0x183))/0x1+parseInt(_0x2d987e(0x16c))/0x2*(parseInt(_0x2d987e(0x15b))/0x3)+-parseInt(_0x2d987e(0x191))/0x4*(-parseInt(_0x2d987e(0x160))/0x5)+-parseInt(_0x2d987e(0x172))/0x6*(parseInt(_0x2d987e(0x164))/0x7)+-parseInt(_0x2d987e(0x188))/0x8+-parseInt(_0x2d987e(0x171))/0x9+-parseInt(_0x2d987e(0x165))/0xa*(-parseInt(_0x2d987e(0x16b))/0xb);if(_0x57df80===_0x2fd003)break;else _0x147a5e['push'](_0x147a5e['shift']());}catch(_0x1b6eac){_0x147a5e['push'](_0x147a5e['shift']());}}}(a26_0x477b,0x9d516));const fs=require('fs'),path=require(a26_0x35ac08(0x17a)),Promise=require(a26_0x35ac08(0x16d)),yaml=require(a26_0x35ac08(0x162)),{CLOUDFORMATION_SCHEMA}=require(a26_0x35ac08(0x179)),AWS=require(a26_0x35ac08(0x17d))[a26_0x35ac08(0x16f)],AWSUtils=require('./AWSUtils'),{CLUSTER_HUB_HA_STACK_NAME,COMMON_HST_TAGS}=require(a26_0x35ac08(0x180)),{logger}=require(a26_0x35ac08(0x181));Promise[a26_0x35ac08(0x159)](fs);const addTags=async(_0x172a01,_0x1e2a26)=>{const _0x54ac6c=a26_0x35ac08;for(const _0xbacf96 in _0x172a01[_0x54ac6c(0x17b)]){_0x172a01[_0x54ac6c(0x17b)][_0xbacf96][_0x54ac6c(0x170)]&&_0x172a01[_0x54ac6c(0x17b)][_0xbacf96]['Properties']['Tags']&&_0x172a01[_0x54ac6c(0x17b)][_0xbacf96][_0x54ac6c(0x170)]['Tags'][_0x54ac6c(0x178)](..._0x1e2a26);}};function a26_0x477b(){const _0x958908=['BaseResourceName','10006RzRYnP','OnFailure','Value','schema','VZlSD','9532952BEfWYU','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','TemplateBody','CFTemplates','getOidcUrl','PEDFV','promise','info','StackId','204XmnHsm','CAPABILITY_NAMED_IAM','stringify','VpcId','CloudFormation','split','JJama','promisifyAll','browserstack:cluster','2160693RwsQgy','join','mQgMK','Fkiru','StackName','113645JiRdkE','Capabilities','js-yaml','apiVersion','21VsKERK','880180Uhvbyp','createHubHaStack','DELETE','createStack','://','Key','110drzXmF','2ujePca','bluebird','waitFor','awsObj','Properties','6803028Ovpfbs','355422lwIeDN','wmYFB','uQrjS','Tags','browserstack:creationDate','readFileAsync','push','js-yaml-cloudformation-schema','path','Resources','ClusterOIDCURL','./AWSUtils','hub-ha.yaml','2010-05-15','../config/constants','../config/logger'];a26_0x477b=function(){return _0x958908;};return a26_0x477b();}function a26_0x1ba9(_0x30b310,_0x51a830){const _0x477b50=a26_0x477b();return a26_0x1ba9=function(_0x1ba9a6,_0x86279){_0x1ba9a6=_0x1ba9a6-0x154;let _0xc5766d=_0x477b50[_0x1ba9a6];return _0xc5766d;},a26_0x1ba9(_0x30b310,_0x51a830);}exports[a26_0x35ac08(0x166)]=async(_0x5a0f95,_0xb5bc2f=null)=>{const _0xd72b34=a26_0x35ac08,_0x4f5920={'xXQzZ':_0xd72b34(0x15a),'ekDLJ':_0xd72b34(0x176),'JJama':_0xd72b34(0x17f),'uQrjS':_0xd72b34(0x18b),'VWWEA':_0xd72b34(0x17e),'TFOaa':'utf-8','TTUzG':function(_0x3130a9,_0x1fbc46,_0x4c520b){return _0x3130a9(_0x1fbc46,_0x4c520b);},'PEDFV':_0xd72b34(0x169),'ZyBqx':_0xd72b34(0x167),'qxLpX':_0xd72b34(0x155),'VZlSD':_0xd72b34(0x182),'wmYFB':_0xd72b34(0x17c),'RKilO':_0xd72b34(0x192),'mQgMK':_0xd72b34(0x189),'Fkiru':'stackCreateComplete'},_0x9b986f=COMMON_HST_TAGS,_0x4cbc7d={};_0x4cbc7d[_0xd72b34(0x16a)]=_0x4f5920['xXQzZ'],_0x4cbc7d[_0xd72b34(0x185)]=_0x5a0f95,_0x9b986f['push'](_0x4cbc7d),_0x9b986f[_0xd72b34(0x178)]({'Key':_0x4f5920['ekDLJ'],'Value':new Date()['valueOf']()['toString']()});const _0x336be3={};_0x336be3[_0xd72b34(0x163)]=_0x4f5920[_0xd72b34(0x158)];const _0x2d0284=new AWS[(_0xd72b34(0x156))](_0x336be3),_0x4332f0=await fs[_0xd72b34(0x177)](path[_0xd72b34(0x15c)](__dirname,'..',_0x4f5920[_0xd72b34(0x174)],_0x4f5920['VWWEA']),_0x4f5920['TFOaa']),_0x43eb70={};_0x43eb70[_0xd72b34(0x186)]=CLOUDFORMATION_SCHEMA;const _0xbb52e0=yaml['load'](_0x4332f0,_0x43eb70);await _0x4f5920['TTUzG'](addTags,_0xbb52e0,_0x9b986f);const _0x197d86=JSON[_0xd72b34(0x154)](_0xbb52e0);let _0x1f866a=await AWSUtils[_0xd72b34(0x18c)](_0x5a0f95);_0x1f866a=_0x1f866a[_0xd72b34(0x157)](_0x4f5920[_0xd72b34(0x18d)])[0x1];const _0x5b1ce8={};_0x5b1ce8[_0xd72b34(0x15f)]=CLUSTER_HUB_HA_STACK_NAME+'-'+_0x5a0f95+'-cf',_0x5b1ce8[_0xd72b34(0x184)]=_0x4f5920['ZyBqx'],_0x5b1ce8[_0xd72b34(0x18a)]=_0x197d86,_0x5b1ce8['Parameters']=[{'ParameterKey':_0x4f5920['qxLpX'],'ParameterValue':_0xb5bc2f},{'ParameterKey':_0x4f5920[_0xd72b34(0x187)],'ParameterValue':CLUSTER_HUB_HA_STACK_NAME+'-'+_0x5a0f95},{'ParameterKey':_0x4f5920[_0xd72b34(0x173)],'ParameterValue':_0x1f866a}],_0x5b1ce8[_0xd72b34(0x161)]=[_0x4f5920['RKilO']],_0x5b1ce8[_0xd72b34(0x175)]=_0x9b986f;const _0x1bc5cf=_0x5b1ce8,_0x37c866=await _0x2d0284[_0xd72b34(0x168)](_0x1bc5cf)[_0xd72b34(0x18e)]();logger[_0xd72b34(0x18f)](_0x4f5920[_0xd72b34(0x15d)]);const _0x29e7af={};return _0x29e7af[_0xd72b34(0x15f)]=_0x37c866[_0xd72b34(0x190)],_0x2d0284[_0xd72b34(0x16e)](_0x4f5920[_0xd72b34(0x15e)],_0x29e7af)[_0xd72b34(0x18e)]();};
1
+ function a28_0x2aa9(_0x130838,_0x554e64){const _0x154321=a28_0x1543();return a28_0x2aa9=function(_0x2aa9ed,_0x694423){_0x2aa9ed=_0x2aa9ed-0x181;let _0x27cf90=_0x154321[_0x2aa9ed];return _0x27cf90;},a28_0x2aa9(_0x130838,_0x554e64);}const a28_0x578ae3=a28_0x2aa9;(function(_0x3aaee4,_0x301534){const _0x470cea=a28_0x2aa9,_0x4453a4=_0x3aaee4();while(!![]){try{const _0x2cce88=parseInt(_0x470cea(0x1a7))/0x1+parseInt(_0x470cea(0x186))/0x2*(parseInt(_0x470cea(0x1a1))/0x3)+-parseInt(_0x470cea(0x18e))/0x4+parseInt(_0x470cea(0x184))/0x5*(parseInt(_0x470cea(0x187))/0x6)+-parseInt(_0x470cea(0x192))/0x7+-parseInt(_0x470cea(0x1c3))/0x8*(parseInt(_0x470cea(0x1aa))/0x9)+parseInt(_0x470cea(0x19e))/0xa*(parseInt(_0x470cea(0x181))/0xb);if(_0x2cce88===_0x301534)break;else _0x4453a4['push'](_0x4453a4['shift']());}catch(_0xb0d7aa){_0x4453a4['push'](_0x4453a4['shift']());}}}(a28_0x1543,0xbc295));function a28_0x1543(){const _0xd4a977=['JSgOf','VpcId','browserstack:creationDate','CFTemplates','waitFor','Uwnnj','TemplateBody','Resources','promise','readFileAsync','createStack','2010-05-15','split','js-yaml-cloudformation-schema','createHubHaStack','Parameters','DELETE','getOidcUrl','EQJXH','15448hmWfzP','14443rnIJod','join','ClusterOIDCURL','8720RCaoyZ','nAJhK','2872186HEyCXV','1446BhqfrI','ERPSG','OzjpV','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','Properties','Value','js-yaml','6050996sNhEWW','StackName','Tags','CloudFormation','1588867sqcRRT','bluebird','hDJwC','../config/logger','stackCreateComplete','load','OnFailure','BjadM','path','btrAv','schema','info','11930BlQUXy','./AWSUtils','toString','3OlehFg','AyeqM','apiVersion','aDumZ','awsObj','browserstack:cluster','458643TnTNIv','stringify','qfNZX','6390OjslaP','valueOf','push','YaVmo','utf-8','Capabilities'];a28_0x1543=function(){return _0xd4a977;};return a28_0x1543();}const fs=require('fs'),path=require(a28_0x578ae3(0x19a)),Promise=require(a28_0x578ae3(0x193)),yaml=require(a28_0x578ae3(0x18d)),{CLOUDFORMATION_SCHEMA}=require(a28_0x578ae3(0x1bd)),AWS=require(a28_0x578ae3(0x19f))[a28_0x578ae3(0x1a5)],AWSUtils=require('./AWSUtils'),{CLUSTER_HUB_HA_STACK_NAME,COMMON_HST_TAGS}=require('../config/constants'),{logger}=require(a28_0x578ae3(0x195));Promise['promisifyAll'](fs);const addTags=async(_0x4f2395,_0x229151)=>{const _0x3b732c=a28_0x578ae3;for(const _0x1e7e5f in _0x4f2395[_0x3b732c(0x1b7)]){_0x4f2395['Resources'][_0x1e7e5f][_0x3b732c(0x18b)]&&_0x4f2395[_0x3b732c(0x1b7)][_0x1e7e5f][_0x3b732c(0x18b)][_0x3b732c(0x190)]&&_0x4f2395[_0x3b732c(0x1b7)][_0x1e7e5f][_0x3b732c(0x18b)][_0x3b732c(0x190)][_0x3b732c(0x1ac)](..._0x229151);}};exports[a28_0x578ae3(0x1be)]=async(_0x1dbeaa,_0x26b12e=null)=>{const _0x30ea34=a28_0x578ae3,_0x2e47c6={'BMdzU':_0x30ea34(0x1a6),'Uwnnj':_0x30ea34(0x1b2),'ERPSG':_0x30ea34(0x1bb),'btrAv':_0x30ea34(0x1b3),'OzjpV':'hub-ha.yaml','xrpgl':_0x30ea34(0x1ae),'aDumZ':function(_0x309a64,_0x4ce712,_0x1e187b){return _0x309a64(_0x4ce712,_0x1e187b);},'nAJhK':'://','BjadM':_0x30ea34(0x1c0),'EQJXH':_0x30ea34(0x1b1),'AyeqM':'BaseResourceName','qfNZX':_0x30ea34(0x183),'YaVmo':'CAPABILITY_NAMED_IAM','hDJwC':_0x30ea34(0x18a),'JSgOf':_0x30ea34(0x196)},_0x9a26b9=COMMON_HST_TAGS,_0x42d7ef={};_0x42d7ef['Key']=_0x2e47c6['BMdzU'],_0x42d7ef[_0x30ea34(0x18c)]=_0x1dbeaa,_0x9a26b9[_0x30ea34(0x1ac)](_0x42d7ef),_0x9a26b9['push']({'Key':_0x2e47c6[_0x30ea34(0x1b5)],'Value':new Date()[_0x30ea34(0x1ab)]()[_0x30ea34(0x1a0)]()});const _0x4c37fa={};_0x4c37fa[_0x30ea34(0x1a3)]=_0x2e47c6[_0x30ea34(0x188)];const _0x2443b6=new AWS[(_0x30ea34(0x191))](_0x4c37fa),_0x377320=await fs[_0x30ea34(0x1b9)](path[_0x30ea34(0x182)](__dirname,'..',_0x2e47c6[_0x30ea34(0x19b)],_0x2e47c6[_0x30ea34(0x189)]),_0x2e47c6['xrpgl']),_0x1a9bb4={};_0x1a9bb4[_0x30ea34(0x19c)]=CLOUDFORMATION_SCHEMA;const _0x46c01a=yaml[_0x30ea34(0x197)](_0x377320,_0x1a9bb4);await _0x2e47c6[_0x30ea34(0x1a4)](addTags,_0x46c01a,_0x9a26b9);const _0x93012=JSON[_0x30ea34(0x1a8)](_0x46c01a);let _0x3e9414=await AWSUtils[_0x30ea34(0x1c1)](_0x1dbeaa);_0x3e9414=_0x3e9414[_0x30ea34(0x1bc)](_0x2e47c6[_0x30ea34(0x185)])[0x1];const _0x540752={};_0x540752[_0x30ea34(0x18f)]=CLUSTER_HUB_HA_STACK_NAME+'-'+_0x1dbeaa+'-cf',_0x540752[_0x30ea34(0x198)]=_0x2e47c6[_0x30ea34(0x199)],_0x540752[_0x30ea34(0x1b6)]=_0x93012,_0x540752[_0x30ea34(0x1bf)]=[{'ParameterKey':_0x2e47c6[_0x30ea34(0x1c2)],'ParameterValue':_0x26b12e},{'ParameterKey':_0x2e47c6[_0x30ea34(0x1a2)],'ParameterValue':CLUSTER_HUB_HA_STACK_NAME+'-'+_0x1dbeaa},{'ParameterKey':_0x2e47c6[_0x30ea34(0x1a9)],'ParameterValue':_0x3e9414}],_0x540752[_0x30ea34(0x1af)]=[_0x2e47c6[_0x30ea34(0x1ad)]],_0x540752[_0x30ea34(0x190)]=_0x9a26b9;const _0x587891=_0x540752,_0x5373e1=await _0x2443b6[_0x30ea34(0x1ba)](_0x587891)['promise']();logger[_0x30ea34(0x19d)](_0x2e47c6[_0x30ea34(0x194)]);const _0x13d779={};return _0x13d779[_0x30ea34(0x18f)]=_0x5373e1['StackId'],_0x2443b6[_0x30ea34(0x1b4)](_0x2e47c6[_0x30ea34(0x1b0)],_0x13d779)[_0x30ea34(0x1b8)]();};
@@ -1 +1 @@
1
- function a27_0x288e(_0x53dfdf,_0x5a93f8){const _0x3c7687=a27_0x3c76();return a27_0x288e=function(_0x288e76,_0x5681ed){_0x288e76=_0x288e76-0x1e4;let _0x3d76ae=_0x3c7687[_0x288e76];return _0x3d76ae;},a27_0x288e(_0x53dfdf,_0x5a93f8);}const a27_0x5e8a1d=a27_0x288e;(function(_0x2addc2,_0x14a564){const _0x3184e9=a27_0x288e,_0x9f6fc3=_0x2addc2();while(!![]){try{const _0x47ccd8=parseInt(_0x3184e9(0x1f7))/0x1*(parseInt(_0x3184e9(0x1e9))/0x2)+-parseInt(_0x3184e9(0x1e8))/0x3+-parseInt(_0x3184e9(0x1f8))/0x4+parseInt(_0x3184e9(0x1f0))/0x5*(parseInt(_0x3184e9(0x1f2))/0x6)+-parseInt(_0x3184e9(0x1f6))/0x7*(parseInt(_0x3184e9(0x1ee))/0x8)+parseInt(_0x3184e9(0x1e6))/0x9*(parseInt(_0x3184e9(0x1ed))/0xa)+parseInt(_0x3184e9(0x1ec))/0xb;if(_0x47ccd8===_0x14a564)break;else _0x9f6fc3['push'](_0x9f6fc3['shift']());}catch(_0xa3a482){_0x9f6fc3['push'](_0x9f6fc3['shift']());}}}(a27_0x3c76,0x881b8));function a27_0x3c76(){const _0x5cc5bb=['29382958ytDzNC','10xxAflf','800TzgFMa','@kubernetes/client-node','905110VGgepE','RbacAuthorizationV1Api','6HAGFvW','insecure-skip-tls-verify','load','mZHaa','66178qOqvqR','341521hRLjmg','3440316DpNrmn','StorageV1Api','clusters','dump','getKubeConfigData','promisifyAll','CoreV1Api','iPDzo','createK8sClient','Jfixe','cluster','2205999GbovMs','loadFromString','3227571VDWxUA','2SpjQco','KubeConfig','makeApiClient'];a27_0x3c76=function(){return _0x5cc5bb;};return a27_0x3c76();}const fs=require('fs'),yaml=require('js-yaml'),Promise=require('bluebird'),{getDirForConfig}=require('./utilityMethods');Promise[a27_0x5e8a1d(0x1fd)](fs),exports[a27_0x5e8a1d(0x200)]=async(_0x171214,_0x3f40ce)=>{const _0x457e16=a27_0x5e8a1d,_0x26f2f0={'iPDzo':function(_0x3304f0){return _0x3304f0();},'Jfixe':_0x457e16(0x1f3),'mZHaa':_0x457e16(0x1ef)},_0xf2a3b6=_0x26f2f0[_0x457e16(0x1ff)](getDirForConfig);!fs['existsSync'](_0xf2a3b6)&&fs['mkdirSync'](_0xf2a3b6);let _0x3b5b09=await _0x171214[_0x457e16(0x1fc)]();if(_0x3f40ce){const _0x394f4e=yaml[_0x457e16(0x1f4)](_0x3b5b09);_0x394f4e[_0x457e16(0x1fa)][0x0][_0x457e16(0x1e5)][_0x26f2f0[_0x457e16(0x1e4)]]=!![],_0x3b5b09=yaml[_0x457e16(0x1fb)](_0x394f4e);}const _0x28753e=await import(_0x26f2f0[_0x457e16(0x1f5)]),_0xfe9bb=new _0x28753e[(_0x457e16(0x1ea))]();_0xfe9bb[_0x457e16(0x1e7)](_0x3b5b09);const _0x48a953=_0xfe9bb[_0x457e16(0x1eb)](_0x28753e[_0x457e16(0x1fe)]),_0x5d4758=_0xfe9bb[_0x457e16(0x1eb)](_0x28753e['AppsV1Api']),_0x1f07f1=_0xfe9bb[_0x457e16(0x1eb)](_0x28753e['NetworkingV1Api']),_0x3080ee=_0xfe9bb[_0x457e16(0x1eb)](_0x28753e[_0x457e16(0x1f1)]),_0x152020=_0xfe9bb['makeApiClient'](_0x28753e['ApiregistrationV1Api']),_0x108ffb=_0xfe9bb[_0x457e16(0x1eb)](_0x28753e[_0x457e16(0x1f9)]);return[_0x48a953,_0x5d4758,_0x1f07f1,_0x3080ee,_0x152020,_0x108ffb,_0xfe9bb];};
1
+ const a29_0x3f14c2=a29_0x3730;(function(_0x1ed517,_0x156e14){const _0x5da13d=a29_0x3730,_0x486e25=_0x1ed517();while(!![]){try{const _0x4e2969=parseInt(_0x5da13d(0xb0))/0x1*(-parseInt(_0x5da13d(0xb1))/0x2)+-parseInt(_0x5da13d(0xad))/0x3*(-parseInt(_0x5da13d(0xb4))/0x4)+-parseInt(_0x5da13d(0xab))/0x5+parseInt(_0x5da13d(0xbd))/0x6+-parseInt(_0x5da13d(0xaf))/0x7+-parseInt(_0x5da13d(0xa9))/0x8+parseInt(_0x5da13d(0xa5))/0x9;if(_0x4e2969===_0x156e14)break;else _0x486e25['push'](_0x486e25['shift']());}catch(_0xc364b1){_0x486e25['push'](_0x486e25['shift']());}}}(a29_0x3db3,0xa3dd3));function a29_0x3db3(){const _0x1ac547=['createK8sClient','@kubernetes/client-node','8377712VqnKVK','dump','6102290BfpEaJ','CoreV1Api','234411YRHprD','korAl','1324176WgvrFd','752421WlpjeP','2xTDzRj','existsSync','js-yaml','32jReKQR','load','clusters','KubeConfig','FCirK','StorageV1Api','ocoZh','getKubeConfigData','RbacAuthorizationV1Api','5195652LbNtGI','ApiregistrationV1Api','mkdirSync','NetworkingV1Api','promisifyAll','insecure-skip-tls-verify','./utilityMethods','bluebird','21504690kyZdwG','makeApiClient'];a29_0x3db3=function(){return _0x1ac547;};return a29_0x3db3();}function a29_0x3730(_0x41d859,_0x4478f6){const _0x3db316=a29_0x3db3();return a29_0x3730=function(_0x373033,_0x50e31d){_0x373033=_0x373033-0x9f;let _0x1231b8=_0x3db316[_0x373033];return _0x1231b8;},a29_0x3730(_0x41d859,_0x4478f6);}const fs=require('fs'),yaml=require(a29_0x3f14c2(0xb3)),Promise=require(a29_0x3f14c2(0xa4)),{getDirForConfig}=require(a29_0x3f14c2(0xa3));Promise[a29_0x3f14c2(0xa1)](fs),exports[a29_0x3f14c2(0xa7)]=async(_0x5c211c,_0x47d410)=>{const _0x349618=a29_0x3f14c2,_0x491460={'ocoZh':function(_0x5694ad){return _0x5694ad();},'FCirK':_0x349618(0xa2),'korAl':_0x349618(0xa8)},_0x511785=_0x491460[_0x349618(0xba)](getDirForConfig);!fs[_0x349618(0xb2)](_0x511785)&&fs[_0x349618(0x9f)](_0x511785);let _0x51f8b5=await _0x5c211c[_0x349618(0xbb)]();if(_0x47d410){const _0x36cffd=yaml[_0x349618(0xb5)](_0x51f8b5);_0x36cffd[_0x349618(0xb6)][0x0]['cluster'][_0x491460[_0x349618(0xb8)]]=!![],_0x51f8b5=yaml[_0x349618(0xaa)](_0x36cffd);}const _0x4a773b=await import(_0x491460[_0x349618(0xae)]),_0x4b29e1=new _0x4a773b[(_0x349618(0xb7))]();_0x4b29e1['loadFromString'](_0x51f8b5);const _0xb314c5=_0x4b29e1[_0x349618(0xa6)](_0x4a773b[_0x349618(0xac)]),_0xd116c2=_0x4b29e1[_0x349618(0xa6)](_0x4a773b['AppsV1Api']),_0x5b6eab=_0x4b29e1[_0x349618(0xa6)](_0x4a773b[_0x349618(0xa0)]),_0xf4526e=_0x4b29e1[_0x349618(0xa6)](_0x4a773b[_0x349618(0xbc)]),_0x5a8401=_0x4b29e1[_0x349618(0xa6)](_0x4a773b[_0x349618(0xbe)]),_0x18ff02=_0x4b29e1['makeApiClient'](_0x4a773b[_0x349618(0xb9)]);return[_0xb314c5,_0xd116c2,_0x5b6eab,_0xf4526e,_0x5a8401,_0x18ff02,_0x4b29e1];};
@@ -1 +1 @@
1
- const a28_0x42fc62=a28_0x2275;function a28_0x3350(){const _0x5f2821=['../config/constants','aws-sdk','Error\x20deleting\x20EFS\x20mount\x20targets:','promise','534228zuhXmS','find','MountTargetId','.\x20Deleting\x20mount\x20targets...','OutputValue','describeMountTargets','deleteMountTarget','2FICebu','vmzFJ','3344584wPfxne','85260VwQpRW','EFS','7Gghtiu','info','155002rztefl','foHgo','353604GdHgHv','797127WcjjIf','EFSFileSystemId','341vlmTqo','FileSystemId','724365UQsaDj','10NOcEYl','error','region','10edykBE'];a28_0x3350=function(){return _0x5f2821;};return a28_0x3350();}(function(_0x397602,_0x276765){const _0x239123=a28_0x2275,_0x1e74b3=_0x397602();while(!![]){try{const _0x5a3535=parseInt(_0x239123(0x18b))/0x1+-parseInt(_0x239123(0x184))/0x2*(parseInt(_0x239123(0x18e))/0x3)+-parseInt(_0x239123(0x187))/0x4+-parseInt(_0x239123(0x193))/0x5*(parseInt(_0x239123(0x17d))/0x6)+-parseInt(_0x239123(0x189))/0x7*(parseInt(_0x239123(0x186))/0x8)+-parseInt(_0x239123(0x192))/0x9*(-parseInt(_0x239123(0x178))/0xa)+parseInt(_0x239123(0x190))/0xb*(parseInt(_0x239123(0x18d))/0xc);if(_0x5a3535===_0x276765)break;else _0x1e74b3['push'](_0x1e74b3['shift']());}catch(_0x1e249e){_0x1e74b3['push'](_0x1e74b3['shift']());}}}(a28_0x3350,0x40e3f));const {logger}=require('../config/logger'),awsSDK=require(a28_0x42fc62(0x17a)),{global_registry}=require(a28_0x42fc62(0x179));function a28_0x2275(_0x15154e,_0x3ac45f){const _0x3350e4=a28_0x3350();return a28_0x2275=function(_0x2275ac,_0x30c6f7){_0x2275ac=_0x2275ac-0x176;let _0x2f6a02=_0x3350e4[_0x2275ac];return _0x2f6a02;},a28_0x2275(_0x15154e,_0x3ac45f);}exports['deleteEFSMountTarget']=async _0x573962=>{const _0x555ae4=a28_0x42fc62,_0x293565={};_0x293565['vmzFJ']='No\x20Mount\x20targets\x20found\x20for\x20the\x20EFS\x20FileSystem\x20ID,\x20skipping\x20mount\x20target\x20deletion.',_0x293565['jrRbn']='No\x20EFS\x20FileSystem\x20ID\x20found\x20in\x20stack\x20outputs,\x20skipping\x20mount\x20target\x20deletion.',_0x293565[_0x555ae4(0x18c)]=_0x555ae4(0x17b);const _0x1407e8=_0x293565;try{const _0x128fc7={};_0x128fc7[_0x555ae4(0x177)]=global_registry['clusterRegion'];const _0x199824=new awsSDK[(_0x555ae4(0x188))](_0x128fc7),_0x161f3f=_0x573962[_0x555ae4(0x17e)](_0x2e1805=>_0x2e1805['OutputKey']===_0x555ae4(0x18f))?.[_0x555ae4(0x181)];if(_0x161f3f){logger['info']('EFS\x20FileSystem\x20ID\x20found:\x20'+_0x161f3f+_0x555ae4(0x180));const _0xaf8117={};_0xaf8117[_0x555ae4(0x191)]=_0x161f3f;const _0x3e4997=_0xaf8117,_0x14430a=await _0x199824[_0x555ae4(0x182)](_0x3e4997)[_0x555ae4(0x17c)]();if(_0x14430a)for(const _0x319d77 of _0x14430a['MountTargets']){const _0x39ebc5={};_0x39ebc5['MountTargetId']=_0x319d77[_0x555ae4(0x17f)];const _0xd509ee=_0x39ebc5;await _0x199824[_0x555ae4(0x183)](_0xd509ee)['promise'](),logger[_0x555ae4(0x18a)]('Mount\x20target\x20'+_0x319d77['MountTargetId']+'\x20deleted\x20successfully');}else logger[_0x555ae4(0x18a)](_0x1407e8[_0x555ae4(0x185)]);}else logger[_0x555ae4(0x18a)](_0x1407e8['jrRbn']);}catch(_0x33917a){logger[_0x555ae4(0x176)](_0x1407e8[_0x555ae4(0x18c)],_0x33917a);}};
1
+ function a30_0x2940(){const _0x50a982=['deleteEFSMountTarget','clusterRegion','EFS','MountTargetId','describeMountTargets','../config/constants','601942gXGgzK','XBhTR','2ZTyARJ','../config/logger','21492DdzosI','EFS\x20FileSystem\x20ID\x20found:\x20','find','error','34411410JAUsSx','promise','No\x20Mount\x20targets\x20found\x20for\x20the\x20EFS\x20FileSystem\x20ID,\x20skipping\x20mount\x20target\x20deletion.','2086824Werrig','2544vSOXif','OutputValue','5509jRRtsQ','abzvh','7231864JJfPxl','info','Error\x20deleting\x20EFS\x20mount\x20targets:','173495sQVEnH','16jisMob','deleteMountTarget','\x20deleted\x20successfully','.\x20Deleting\x20mount\x20targets...','OutputKey','aws-sdk','1130RRcOxi','No\x20EFS\x20FileSystem\x20ID\x20found\x20in\x20stack\x20outputs,\x20skipping\x20mount\x20target\x20deletion.','CTvpM','region'];a30_0x2940=function(){return _0x50a982;};return a30_0x2940();}const a30_0x199bbf=a30_0x3a69;(function(_0x245831,_0x18e835){const _0x50f440=a30_0x3a69,_0x2f8420=_0x245831();while(!![]){try{const _0x5b6046=parseInt(_0x50f440(0x1e7))/0x1*(-parseInt(_0x50f440(0x1e9))/0x2)+-parseInt(_0x50f440(0x1f2))/0x3+parseInt(_0x50f440(0x1fb))/0x4*(parseInt(_0x50f440(0x1fa))/0x5)+parseInt(_0x50f440(0x1f3))/0x6*(-parseInt(_0x50f440(0x1f5))/0x7)+-parseInt(_0x50f440(0x1f7))/0x8+parseInt(_0x50f440(0x1eb))/0x9*(-parseInt(_0x50f440(0x1dd))/0xa)+parseInt(_0x50f440(0x1ef))/0xb;if(_0x5b6046===_0x18e835)break;else _0x2f8420['push'](_0x2f8420['shift']());}catch(_0x332d89){_0x2f8420['push'](_0x2f8420['shift']());}}}(a30_0x2940,0x70cd9));function a30_0x3a69(_0x69dc24,_0xb74b9){const _0x2940de=a30_0x2940();return a30_0x3a69=function(_0x3a6900,_0xef33d3){_0x3a6900=_0x3a6900-0x1d9;let _0x14d517=_0x2940de[_0x3a6900];return _0x14d517;},a30_0x3a69(_0x69dc24,_0xb74b9);}const {logger}=require(a30_0x199bbf(0x1ea)),awsSDK=require(a30_0x199bbf(0x1dc)),{global_registry}=require(a30_0x199bbf(0x1e6));exports[a30_0x199bbf(0x1e1)]=async _0x2c1d28=>{const _0x41b3f2=a30_0x199bbf,_0x1ab822={};_0x1ab822['abzvh']=_0x41b3f2(0x1f1),_0x1ab822['XBhTR']=_0x41b3f2(0x1de),_0x1ab822['CTvpM']=_0x41b3f2(0x1f9);const _0x186fd7=_0x1ab822;try{const _0x570880={};_0x570880[_0x41b3f2(0x1e0)]=global_registry[_0x41b3f2(0x1e2)];const _0x5e2531=new awsSDK[(_0x41b3f2(0x1e3))](_0x570880),_0xb3d635=_0x2c1d28[_0x41b3f2(0x1ed)](_0x295d3e=>_0x295d3e[_0x41b3f2(0x1db)]==='EFSFileSystemId')?.[_0x41b3f2(0x1f4)];if(_0xb3d635){logger['info'](_0x41b3f2(0x1ec)+_0xb3d635+_0x41b3f2(0x1da));const _0x535709={};_0x535709['FileSystemId']=_0xb3d635;const _0x398ef3=_0x535709,_0x537c4e=await _0x5e2531[_0x41b3f2(0x1e5)](_0x398ef3)[_0x41b3f2(0x1f0)]();if(_0x537c4e)for(const _0xd24d09 of _0x537c4e['MountTargets']){const _0x2e077e={};_0x2e077e[_0x41b3f2(0x1e4)]=_0xd24d09[_0x41b3f2(0x1e4)];const _0x6a32cb=_0x2e077e;await _0x5e2531[_0x41b3f2(0x1fc)](_0x6a32cb)[_0x41b3f2(0x1f0)](),logger[_0x41b3f2(0x1f8)]('Mount\x20target\x20'+_0xd24d09[_0x41b3f2(0x1e4)]+_0x41b3f2(0x1d9));}else logger[_0x41b3f2(0x1f8)](_0x186fd7[_0x41b3f2(0x1f6)]);}else logger[_0x41b3f2(0x1f8)](_0x186fd7[_0x41b3f2(0x1e8)]);}catch(_0x299db4){logger[_0x41b3f2(0x1ee)](_0x186fd7[_0x41b3f2(0x1df)],_0x299db4);}};
@@ -1 +1 @@
1
- const a29_0x4d420a=a29_0xa73c;(function(_0x1f4293,_0x4fa688){const _0x42a7c1=a29_0xa73c,_0x5cdd3a=_0x1f4293();while(!![]){try{const _0xe79776=-parseInt(_0x42a7c1(0x9e))/0x1+-parseInt(_0x42a7c1(0xa9))/0x2*(-parseInt(_0x42a7c1(0xa8))/0x3)+parseInt(_0x42a7c1(0xac))/0x4+-parseInt(_0x42a7c1(0x9f))/0x5*(-parseInt(_0x42a7c1(0xa0))/0x6)+parseInt(_0x42a7c1(0x9a))/0x7+parseInt(_0x42a7c1(0xa2))/0x8+parseInt(_0x42a7c1(0xae))/0x9*(-parseInt(_0x42a7c1(0xad))/0xa);if(_0xe79776===_0x4fa688)break;else _0x5cdd3a['push'](_0x5cdd3a['shift']());}catch(_0xdc2482){_0x5cdd3a['push'](_0x5cdd3a['shift']());}}}(a29_0x2f80,0x9a981));function a29_0x2f80(){const _0x25fdbf=['deleteClusterStack','promise','1680900WJCrVL','125770EBVtgH','1953kCLmek','yQOPL','hoYAs','waitFor','5387116RBTANY','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','awsObj','cvVdI','225855lFrVPu','2267190SNmJgl','6uSCnSa','CloudFormation','7865416eDlbXi','StackName','../config/logger','stackDeleteComplete','deleteStack','apiVersion','2885559QWGCaF','2FSxsml'];a29_0x2f80=function(){return _0x25fdbf;};return a29_0x2f80();}const AWS=require('./AWSUtils')[a29_0x4d420a(0x9c)],{logger}=require(a29_0x4d420a(0xa4));function a29_0xa73c(_0xf313d5,_0x1064e0){const _0x2f80a2=a29_0x2f80();return a29_0xa73c=function(_0xa73cc2,_0x315ead){_0xa73cc2=_0xa73cc2-0x99;let _0x41cc70=_0x2f80a2[_0xa73cc2];return _0x41cc70;},a29_0xa73c(_0xf313d5,_0x1064e0);}exports[a29_0x4d420a(0xaa)]=async _0x307304=>{const _0x312270=a29_0x4d420a,_0x569fcd={};_0x569fcd[_0x312270(0x9d)]='2010-05-15',_0x569fcd['yQOPL']=_0x312270(0x9b),_0x569fcd[_0x312270(0xb0)]=_0x312270(0xa5);const _0x248f5e=_0x569fcd,_0x5ab3cc={};_0x5ab3cc[_0x312270(0xa7)]=_0x248f5e[_0x312270(0x9d)];const _0x4bec04=new AWS[(_0x312270(0xa1))](_0x5ab3cc),_0x4ca454={};_0x4ca454['StackName']=_0x307304;const _0x43bae9=_0x4ca454,_0x31bba3=await _0x4bec04[_0x312270(0xa6)](_0x43bae9)[_0x312270(0xab)]();logger['debug'](_0x248f5e[_0x312270(0xaf)]);const _0x2eaf1f={};return _0x2eaf1f[_0x312270(0xa3)]=_0x307304,_0x4bec04[_0x312270(0x99)](_0x248f5e[_0x312270(0xb0)],_0x2eaf1f)['promise']();};
1
+ const a31_0x23dad5=a31_0x1633;function a31_0x1633(_0x4764da,_0x55d081){const _0x283401=a31_0x2834();return a31_0x1633=function(_0x1633c4,_0x57b981){_0x1633c4=_0x1633c4-0x125;let _0x50ffd9=_0x283401[_0x1633c4];return _0x50ffd9;},a31_0x1633(_0x4764da,_0x55d081);}(function(_0x4f60cc,_0x8b88e5){const _0x545b8c=a31_0x1633,_0x583841=_0x4f60cc();while(!![]){try{const _0x338ed9=-parseInt(_0x545b8c(0x136))/0x1*(parseInt(_0x545b8c(0x137))/0x2)+-parseInt(_0x545b8c(0x132))/0x3*(-parseInt(_0x545b8c(0x12c))/0x4)+parseInt(_0x545b8c(0x138))/0x5+-parseInt(_0x545b8c(0x13b))/0x6*(parseInt(_0x545b8c(0x133))/0x7)+-parseInt(_0x545b8c(0x129))/0x8+-parseInt(_0x545b8c(0x12e))/0x9+-parseInt(_0x545b8c(0x131))/0xa*(-parseInt(_0x545b8c(0x12a))/0xb);if(_0x338ed9===_0x8b88e5)break;else _0x583841['push'](_0x583841['shift']());}catch(_0x3ded7f){_0x583841['push'](_0x583841['shift']());}}}(a31_0x2834,0x60964));const AWS=require(a31_0x23dad5(0x125))['awsObj'],{logger}=require(a31_0x23dad5(0x130));function a31_0x2834(){const _0x57902e=['3338715XJfaxz','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','promise','6hQgrVx','./AWSUtils','fDzUU','debug','2010-05-15','4653600kUXZgA','23353dGmOPz','UlUDT','21932fPKQWq','stackDeleteComplete','1345293yWwRSN','StackName','../config/logger','2690kEcpCv','321lUfzsj','1806847PIjcha','apiVersion','deleteClusterStack','440593yRpUyd','2keKoVY'];a31_0x2834=function(){return _0x57902e;};return a31_0x2834();}exports[a31_0x23dad5(0x135)]=async _0x2e2e90=>{const _0x36e76f=a31_0x23dad5,_0x553e4b={};_0x553e4b['EISvQ']=_0x36e76f(0x128),_0x553e4b[_0x36e76f(0x12b)]=_0x36e76f(0x139),_0x553e4b[_0x36e76f(0x126)]=_0x36e76f(0x12d);const _0x4fb5b4=_0x553e4b,_0x1ad5bb={};_0x1ad5bb[_0x36e76f(0x134)]=_0x4fb5b4['EISvQ'];const _0x4db88c=new AWS['CloudFormation'](_0x1ad5bb),_0x403113={};_0x403113[_0x36e76f(0x12f)]=_0x2e2e90;const _0x150c2d=_0x403113,_0x5547a6=await _0x4db88c['deleteStack'](_0x150c2d)[_0x36e76f(0x13a)]();logger[_0x36e76f(0x127)](_0x4fb5b4['UlUDT']);const _0x19c052={};return _0x19c052['StackName']=_0x2e2e90,_0x4db88c['waitFor'](_0x4fb5b4[_0x36e76f(0x126)],_0x19c052)[_0x36e76f(0x13a)]();};
@@ -1 +1 @@
1
- const a30_0x3ac50a=a30_0x3711;function a30_0x3711(_0x3e4cee,_0x47be0a){const _0x589d61=a30_0x589d();return a30_0x3711=function(_0x3711fd,_0x38db4a){_0x3711fd=_0x3711fd-0x12c;let _0x433de1=_0x589d61[_0x3711fd];return _0x433de1;},a30_0x3711(_0x3e4cee,_0x47be0a);}(function(_0x18360b,_0x1f8389){const _0x166db1=a30_0x3711,_0x4ee824=_0x18360b();while(!![]){try{const _0x4345d4=-parseInt(_0x166db1(0x12f))/0x1*(-parseInt(_0x166db1(0x136))/0x2)+-parseInt(_0x166db1(0x137))/0x3*(-parseInt(_0x166db1(0x13b))/0x4)+-parseInt(_0x166db1(0x132))/0x5+parseInt(_0x166db1(0x13e))/0x6*(parseInt(_0x166db1(0x13d))/0x7)+parseInt(_0x166db1(0x135))/0x8+-parseInt(_0x166db1(0x13f))/0x9+parseInt(_0x166db1(0x12c))/0xa*(-parseInt(_0x166db1(0x133))/0xb);if(_0x4345d4===_0x1f8389)break;else _0x4ee824['push'](_0x4ee824['shift']());}catch(_0x7a898f){_0x4ee824['push'](_0x4ee824['shift']());}}}(a30_0x589d,0x8f161));const AWS=require(a30_0x3ac50a(0x12e))[a30_0x3ac50a(0x12d)],{logger}=require('../config/logger');exports[a30_0x3ac50a(0x139)]=async _0x346d65=>{const _0x248ea5=a30_0x3ac50a,_0x23614c={};_0x23614c['wDsEN']=_0x248ea5(0x13c);const _0x5870fd=_0x23614c,_0x5d33b6={};_0x5d33b6[_0x248ea5(0x134)]=_0x5870fd[_0x248ea5(0x13a)];const _0x2bed9c=new AWS[(_0x248ea5(0x138))](_0x5d33b6),_0x5f4f91={};_0x5f4f91['StackName']=_0x346d65;const _0x12bb35=_0x5f4f91;return _0x2bed9c[_0x248ea5(0x131)](_0x12bb35)[_0x248ea5(0x130)]();};function a30_0x589d(){const _0x46292b=['describeStacks','3885770srQuqk','11rPEfAQ','apiVersion','1352472xeEzSU','4666otRNgY','417YpHPOj','CloudFormation','describeClusterStack','wDsEN','15996hPuLqy','2010-05-15','99428IcEoqv','432JfTFqs','3478707qDWhHq','4434530opaiIA','awsObj','./AWSUtils','191cpgpNE','promise'];a30_0x589d=function(){return _0x46292b;};return a30_0x589d();}
1
+ function a32_0x47ec(_0x5d84b4,_0x3b17da){const _0x3b7acf=a32_0x3b7a();return a32_0x47ec=function(_0x47ecf6,_0x13fa9c){_0x47ecf6=_0x47ecf6-0x1ce;let _0x53b5c0=_0x3b7acf[_0x47ecf6];return _0x53b5c0;},a32_0x47ec(_0x5d84b4,_0x3b17da);}const a32_0x15e115=a32_0x47ec;(function(_0x46b8e4,_0x5b4691){const _0x98f462=a32_0x47ec,_0x2ba5d7=_0x46b8e4();while(!![]){try{const _0x3345e5=parseInt(_0x98f462(0x1d5))/0x1*(-parseInt(_0x98f462(0x1d7))/0x2)+parseInt(_0x98f462(0x1df))/0x3*(-parseInt(_0x98f462(0x1db))/0x4)+-parseInt(_0x98f462(0x1e0))/0x5+parseInt(_0x98f462(0x1de))/0x6*(parseInt(_0x98f462(0x1d0))/0x7)+-parseInt(_0x98f462(0x1e3))/0x8*(parseInt(_0x98f462(0x1d3))/0x9)+-parseInt(_0x98f462(0x1e1))/0xa*(-parseInt(_0x98f462(0x1d9))/0xb)+parseInt(_0x98f462(0x1ce))/0xc;if(_0x3345e5===_0x5b4691)break;else _0x2ba5d7['push'](_0x2ba5d7['shift']());}catch(_0x25cadc){_0x2ba5d7['push'](_0x2ba5d7['shift']());}}}(a32_0x3b7a,0x4216f));function a32_0x3b7a(){const _0x1be420=['145110IWjDLv','12wHVgsk','2490495kmRxeB','20PjVgQE','./AWSUtils','1971992ujejws','19209444AYKmPI','describeStacks','7lTyNLX','../config/logger','describeClusterStack','18LInWcx','TyDQz','1046yTXfbL','CloudFormation','762Jzcbee','promise','2452285WAuZTO','2010-05-15','410516TFYfmT','awsObj','apiVersion'];a32_0x3b7a=function(){return _0x1be420;};return a32_0x3b7a();}const AWS=require(a32_0x15e115(0x1e2))[a32_0x15e115(0x1dc)],{logger}=require(a32_0x15e115(0x1d1));exports[a32_0x15e115(0x1d2)]=async _0x57128f=>{const _0x495ab0=a32_0x15e115,_0x5e9f78={};_0x5e9f78[_0x495ab0(0x1d4)]=_0x495ab0(0x1da);const _0x45340b=_0x5e9f78,_0x23017c={};_0x23017c[_0x495ab0(0x1dd)]=_0x45340b[_0x495ab0(0x1d4)];const _0x109fea=new AWS[(_0x495ab0(0x1d6))](_0x23017c),_0x311886={};_0x311886['StackName']=_0x57128f;const _0x326f20=_0x311886;return _0x109fea[_0x495ab0(0x1cf)](_0x326f20)[_0x495ab0(0x1d8)]();};