browserstack-node-sdk 1.25.4 → 1.26.0

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 (81) hide show
  1. package/ats/src/commands/configure.js +1 -1
  2. package/ats/src/commands/connect.js +1 -1
  3. package/ats/src/commands/connect_commands/grid.js +1 -1
  4. package/ats/src/commands/create.js +1 -1
  5. package/ats/src/commands/create_commands/grid.js +1 -1
  6. package/ats/src/commands/delete.js +1 -1
  7. package/ats/src/commands/delete_commands/grid.js +1 -1
  8. package/ats/src/commands/init.js +1 -1
  9. package/ats/src/commands/list.js +1 -1
  10. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  11. package/ats/src/commands/list_commands/grids.js +1 -1
  12. package/ats/src/config/constants.js +1 -1
  13. package/ats/src/config/logger.js +1 -1
  14. package/ats/src/index.js +1 -1
  15. package/ats/src/utils/AWSUtils.js +1 -1
  16. package/ats/src/utils/createAutoscalerStack.js +1 -1
  17. package/ats/src/utils/createClusterStack.js +1 -1
  18. package/ats/src/utils/createk8sClient.js +1 -1
  19. package/ats/src/utils/deleteStack.js +1 -1
  20. package/ats/src/utils/gridComponents.js +1 -1
  21. package/ats/src/utils/hstUtils.js +1 -1
  22. package/ats/src/utils/instrumentationUtils.js +1 -1
  23. package/ats/src/utils/userInput.js +1 -1
  24. package/ats/src/utils/utilityMethods.js +1 -1
  25. package/ats/src/utils/webSocketUtils.js +1 -1
  26. package/package.json +1 -1
  27. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  28. package/src/bin/codeceptjs/command.js +1 -1
  29. package/src/bin/cucumber-js/command.js +1 -1
  30. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  31. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  32. package/src/bin/cucumber-js/test.setup.js +1 -1
  33. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  34. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  35. package/src/bin/jest/command.js +1 -1
  36. package/src/bin/jest/customEnvironment.js +1 -1
  37. package/src/bin/jest/customTestRunnerTemplate.js +1 -1
  38. package/src/bin/jest/jest.setup.js +1 -1
  39. package/src/bin/jest/test_before.setup.js +1 -1
  40. package/src/bin/launcher/launcher.js +1 -1
  41. package/src/bin/mocha/accessibility-automation/constants.js +1 -1
  42. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  43. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  44. package/src/bin/mocha/command.js +1 -1
  45. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  46. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  47. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  48. package/src/bin/mocha/test.setup.js +1 -1
  49. package/src/bin/nightwatch/command.js +1 -1
  50. package/src/bin/playwright/command.js +1 -1
  51. package/src/bin/playwright/globalSetup.js +1 -1
  52. package/src/bin/playwright/mock-process.js +1 -1
  53. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  54. package/src/bin/playwright/reporter/reporter.js +1 -1
  55. package/src/bin/playwright/reporter/test-details.js +1 -1
  56. package/src/bin/runner.js +1 -1
  57. package/src/bin/setup.js +1 -1
  58. package/src/bin/test-runner/index.js +1 -1
  59. package/src/bin/test-runner/runTest.js +1 -1
  60. package/src/bin/test-runner/testWorker.js +1 -1
  61. package/src/bin/utils/constants.js +1 -1
  62. package/src/bin/utils/log4jsAppender.js +1 -1
  63. package/src/bin/utils/logPatcher.js +1 -1
  64. package/src/bin/utils/logReportingAPI.js +1 -1
  65. package/src/bin/vanilla-js/command.js +1 -1
  66. package/src/helpers/BrowserStackSetup.js +1 -1
  67. package/src/helpers/capsMapping.js +1 -1
  68. package/src/helpers/helper.js +1 -1
  69. package/src/helpers/logger.js +1 -1
  70. package/src/helpers/patchHelpers.js +1 -1
  71. package/src/helpers/request-spy.js +1 -1
  72. package/src/helpers/setKeepAlive.js +1 -1
  73. package/src/helpers/test-observability/constants.js +1 -1
  74. package/src/helpers/test-observability/error-handler.js +1 -1
  75. package/src/helpers/test-observability/performance-tester.js +1 -1
  76. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  77. package/src/helpers/test-observability/sessionHandler.js +1 -1
  78. package/src/helpers/test-observability/utils.js +1 -1
  79. package/src/helpers/w3cMapping.js +1 -1
  80. package/src/hubAllocationMethods.js +1 -1
  81. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a8_0x2f7642=a8_0x3372;function a8_0x3372(_0x169df8,_0x43ae23){const _0x13b8fb=a8_0x13b8();return a8_0x3372=function(_0x3372d5,_0x4f0ba9){_0x3372d5=_0x3372d5-0x16a;let _0x152d3a=_0x13b8fb[_0x3372d5];return _0x152d3a;},a8_0x3372(_0x169df8,_0x43ae23);}function a8_0x13b8(){const _0x1588bd=['564mhKCUq','strict','50240zmVXJx','372012exMUep','33TUlRSP','builder','List\x20down\x20the\x20Grid\x20resources.','commandDir','11519950wXiHtM','../config/constants','14YehBIz','usage','demandCommand','list','3232iqebYo','help','handler','qSyqn','3745xdcGKG','29352HmSvvE','uslSD','108kIRXbS','110873srsSsW','command','6090957wdgwAW'];a8_0x13b8=function(){return _0x1588bd;};return a8_0x13b8();}(function(_0x185a4a,_0x2f20b7){const _0x11ce03=a8_0x3372,_0xc12379=_0x185a4a();while(!![]){try{const _0x3793c0=parseInt(_0x11ce03(0x181))/0x1*(-parseInt(_0x11ce03(0x175))/0x2)+-parseInt(_0x11ce03(0x17e))/0x3*(-parseInt(_0x11ce03(0x180))/0x4)+parseInt(_0x11ce03(0x16d))/0x5*(parseInt(_0x11ce03(0x16b))/0x6)+parseInt(_0x11ce03(0x17d))/0x7*(-parseInt(_0x11ce03(0x179))/0x8)+-parseInt(_0x11ce03(0x16a))/0x9+parseInt(_0x11ce03(0x173))/0xa+-parseInt(_0x11ce03(0x16f))/0xb*(parseInt(_0x11ce03(0x16e))/0xc);if(_0x3793c0===_0x2f20b7)break;else _0xc12379['push'](_0xc12379['shift']());}catch(_0x5efed2){_0xc12379['push'](_0xc12379['shift']());}}}(a8_0x13b8,0x92278));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a8_0x2f7642(0x174));exports[a8_0x2f7642(0x182)]='list',exports['desc']=a8_0x2f7642(0x171),exports[a8_0x2f7642(0x170)]=function(_0x284f75){const _0x562fa2=a8_0x2f7642,_0x3d4bf8={};_0x3d4bf8['uslSD']='list_commands',_0x3d4bf8['qSyqn']=_0x562fa2(0x17a);const _0x303d0a=_0x3d4bf8;return _0x284f75[_0x562fa2(0x172)](_0x303d0a[_0x562fa2(0x17f)])[_0x562fa2(0x177)]()[_0x562fa2(0x176)](HELP_HEADER_MESSAGE[_0x562fa2(0x178)]['root'])['epilogue'](HELP_FOOTER_MESSAGE)['recommendCommands']()[_0x562fa2(0x16c)]()[_0x562fa2(0x17a)](_0x303d0a[_0x562fa2(0x17c)]);},exports[a8_0x2f7642(0x17b)]=function(_0xd08e6b){};
1
+ function a8_0x364b(){const _0x47d2d1=['strict','epilogue','195227PBnGWd','4944216lggkRC','handler','demandCommand','help','CrdZQ','List\x20down\x20the\x20Grid\x20resources.','../config/constants','2EzDsKs','2657562GIuwNb','builder','recommendCommands','root','5563845czjrbS','commandDir','iAbzI','6SqmgMh','9vlhAHQ','desc','3936704PtLzVK','3080245pCkvaT','command','list','32196690ZOkeio'];a8_0x364b=function(){return _0x47d2d1;};return a8_0x364b();}const a8_0x4a41b7=a8_0x23dd;(function(_0x6a0d94,_0x562cff){const _0x1d67a8=a8_0x23dd,_0x58ad55=_0x6a0d94();while(!![]){try{const _0x20005e=parseInt(_0x1d67a8(0x1be))/0x1*(parseInt(_0x1d67a8(0x1c6))/0x2)+-parseInt(_0x1d67a8(0x1c7))/0x3+-parseInt(_0x1d67a8(0x1bf))/0x4+-parseInt(_0x1d67a8(0x1d2))/0x5*(-parseInt(_0x1d67a8(0x1ce))/0x6)+-parseInt(_0x1d67a8(0x1cb))/0x7+-parseInt(_0x1d67a8(0x1d1))/0x8+parseInt(_0x1d67a8(0x1cf))/0x9*(parseInt(_0x1d67a8(0x1d5))/0xa);if(_0x20005e===_0x562cff)break;else _0x58ad55['push'](_0x58ad55['shift']());}catch(_0x54a80c){_0x58ad55['push'](_0x58ad55['shift']());}}}(a8_0x364b,0x97e22));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a8_0x4a41b7(0x1c5));function a8_0x23dd(_0x3bb92b,_0x581e9b){const _0x364b50=a8_0x364b();return a8_0x23dd=function(_0x23dd49,_0x1f2225){_0x23dd49=_0x23dd49-0x1be;let _0x51938f=_0x364b50[_0x23dd49];return _0x51938f;},a8_0x23dd(_0x3bb92b,_0x581e9b);}exports[a8_0x4a41b7(0x1d3)]=a8_0x4a41b7(0x1d4),exports[a8_0x4a41b7(0x1d0)]=a8_0x4a41b7(0x1c4),exports[a8_0x4a41b7(0x1c8)]=function(_0x47e9ee){const _0x115723=a8_0x4a41b7,_0x335558={};_0x335558[_0x115723(0x1cd)]='list_commands',_0x335558[_0x115723(0x1c3)]=_0x115723(0x1c2);const _0x2270da=_0x335558;return _0x47e9ee[_0x115723(0x1cc)](_0x2270da[_0x115723(0x1cd)])[_0x115723(0x1c1)]()['usage'](HELP_HEADER_MESSAGE[_0x115723(0x1d4)][_0x115723(0x1ca)])[_0x115723(0x1d7)](HELP_FOOTER_MESSAGE)[_0x115723(0x1c9)]()[_0x115723(0x1d6)]()[_0x115723(0x1c2)](_0x2270da[_0x115723(0x1c3)]);},exports[a8_0x4a41b7(0x1c0)]=function(_0x5445a3){};
@@ -1 +1 @@
1
- const a9_0x9976c9=a9_0x27f3;function a9_0x2041(){const _0x24d30b=['table','log','List\x20down\x20grid-profiles\x20configured\x20by\x20a\x20particular\x20user','233247AmfZiU','init-not-called','1973596oHVphe','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','jpBcW','requestId','Gelgx','util','error','Failed\x20to\x20list\x20resources!\x20Error:\x20','gridProfile','YYsWT','ZikhY','argv','3eyPeUO','VLpTp','desc','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','auth','all-grid-profiles','grid-profile-name','pTfrV','UDSVB','usage','readFileSync','/packages/cli/get-grid-profiles','unauthorised','GET','cloud-provider','description','esQFd','options','Browserstack','dQaxK','name','8VTpSMP','hwTeM','allGridProfiles','xGtMl','1188NsIKLQ','srmKU','help','../../utils/instrumentationUtils','url','252WLGnST','username','list-grid-profiles-called','concurrency','grid-profiles','uuid','request','INFO','zcyLn','handler','537894oyjHGt','unknown-error','ERROR','epilogue','push','ngMfv','EhdXQ','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','\x0aFound\x20the\x20following\x20Grid\x20Profiles:\x0a','4996229iIeUAl','18260yiikLs','promisify','statusCode','qdQYc','1492497ApWuXD','/packages/cli/get-all-grid-profiles','exit','type','existsSync','password','../../config/constants','cloudProvider','parse','Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grid\x20profiles\x20for\x20your\x20group.','37680TiRxQU','method','ysTPQ','https://','uGXdS'];a9_0x2041=function(){return _0x24d30b;};return a9_0x2041();}(function(_0x35221f,_0x51f747){const _0x36add3=a9_0x27f3,_0x13039d=_0x35221f();while(!![]){try{const _0x4f50ce=-parseInt(_0x36add3(0x14b))/0x1+parseInt(_0x36add3(0x181))/0x2*(parseInt(_0x36add3(0x159))/0x3)+-parseInt(_0x36add3(0x14d))/0x4+parseInt(_0x36add3(0x18b))/0x5*(parseInt(_0x36add3(0x177))/0x6)+-parseInt(_0x36add3(0x18a))/0x7*(-parseInt(_0x36add3(0x16e))/0x8)+-parseInt(_0x36add3(0x18f))/0x9+-parseInt(_0x36add3(0x199))/0xa*(-parseInt(_0x36add3(0x172))/0xb);if(_0x4f50ce===_0x51f747)break;else _0x13039d['push'](_0x13039d['shift']());}catch(_0x5414b7){_0x13039d['push'](_0x13039d['shift']());}}}(a9_0x2041,0x9ed2f));const fs=require('fs'),util=require(a9_0x9976c9(0x152)),request=require(a9_0x9976c9(0x17d)),{table}=require(a9_0x9976c9(0x148)),{v4:uuidv4}=require(a9_0x9976c9(0x17c)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require(a9_0x9976c9(0x195)),{getCredentialsPath}=require('../../utils/utilityMethods'),{sendInstrumentationEvent}=require(a9_0x9976c9(0x175)),promisifiedRequest=util[a9_0x9976c9(0x18c)](request);function a9_0x27f3(_0x2ee4f5,_0x39e0fe){const _0x2041d1=a9_0x2041();return a9_0x27f3=function(_0x27f35e,_0x334a74){_0x27f35e=_0x27f35e-0x144;let _0x30b29d=_0x2041d1[_0x27f35e];return _0x30b29d;},a9_0x27f3(_0x2ee4f5,_0x39e0fe);}exports['command']=a9_0x9976c9(0x17b),exports[a9_0x9976c9(0x15b)]=a9_0x9976c9(0x14a),exports['builder']=function(_0x267501){const _0x2b6dbf=a9_0x9976c9,_0x337de6={};_0x337de6['zcyLn']=_0x2b6dbf(0x198),_0x337de6[_0x2b6dbf(0x151)]='boolean',_0x337de6[_0x2b6dbf(0x145)]=_0x2b6dbf(0x174);const _0xd231af=_0x337de6,_0x2c0b85={};_0x2c0b85[_0x2b6dbf(0x168)]=_0xd231af[_0x2b6dbf(0x17f)],_0x2c0b85[_0x2b6dbf(0x192)]=_0xd231af[_0x2b6dbf(0x151)];const _0x50af38={};return _0x50af38[_0x2b6dbf(0x15e)]=_0x2c0b85,_0x267501[_0x2b6dbf(0x162)](HELP_HEADER_MESSAGE['list'][_0x2b6dbf(0x155)])[_0x2b6dbf(0x184)](HELP_FOOTER_MESSAGE)[_0x2b6dbf(0x16a)](_0x50af38)[_0x2b6dbf(0x174)](_0xd231af[_0x2b6dbf(0x145)])[_0x2b6dbf(0x158)];},exports[a9_0x9976c9(0x180)]=async function(_0x12101f){const _0x585d28=a9_0x9976c9,_0x52faf1={'UDSVB':function(_0x77a8f3){return _0x77a8f3();},'EHDaF':_0x585d28(0x14e),'srmKU':function(_0x5dc70e,_0x1157ab,_0x31f0ab,_0x52ef40,_0x3ec5a0,_0x3038b6,_0x1532ba){return _0x5dc70e(_0x1157ab,_0x31f0ab,_0x52ef40,_0x3ec5a0,_0x3038b6,_0x1532ba);},'EhdXQ':_0x585d28(0x179),'uGXdS':_0x585d28(0x14c),'xGtMl':function(_0x57beff,_0x107a80,_0x40aae7,_0x5a95d1,_0x5db2d3,_0x65714,_0xfa0495){return _0x57beff(_0x107a80,_0x40aae7,_0x5a95d1,_0x5db2d3,_0x65714,_0xfa0495);},'ZSePy':_0x585d28(0x166),'qdQYc':function(_0x111c09,_0x40ca59){return _0x111c09(_0x40ca59);},'pTfrV':function(_0x2e9bc0,_0x260324){return _0x2e9bc0!==_0x260324;},'jpBcW':function(_0x366c3d,_0x280024){return _0x366c3d!==_0x280024;},'ZikhY':function(_0x24589d,_0x49d1f1){return _0x24589d===_0x49d1f1;},'dQaxK':_0x585d28(0x189),'hwTeM':_0x585d28(0x15f),'VLpTp':_0x585d28(0x167),'YYsWT':'region','ngMfv':_0x585d28(0x17a),'eIoNd':function(_0x2b373f,_0x2f4d22,_0xfe4f86,_0x288530,_0x4ee9d1,_0x18495e,_0x3cb783){return _0x2b373f(_0x2f4d22,_0xfe4f86,_0x288530,_0x4ee9d1,_0x18495e,_0x3cb783);},'esQFd':_0x585d28(0x165),'WLmCx':'server-error','EnmOT':_0x585d28(0x182)};try{global_registry[_0x585d28(0x150)]=_0x52faf1[_0x585d28(0x161)](uuidv4);let _0x197f84=_0x585d28(0x146)+AG_API_URL+_0x585d28(0x164);_0x12101f[_0x585d28(0x170)]&&(_0x197f84=_0x585d28(0x146)+AG_API_URL+_0x585d28(0x190));!fs[_0x585d28(0x193)](_0x52faf1['UDSVB'](getCredentialsPath))&&(console[_0x585d28(0x153)](_0x52faf1['EHDaF']),await _0x52faf1[_0x585d28(0x173)](sendInstrumentationEvent,_0x12101f,_0x52faf1['EhdXQ'],messageTypes[_0x585d28(0x183)],_0x52faf1[_0x585d28(0x147)],null,_0x12101f),process[_0x585d28(0x191)](0x1));_0x52faf1[_0x585d28(0x171)](sendInstrumentationEvent,_0x12101f,_0x52faf1[_0x585d28(0x187)],messageTypes[_0x585d28(0x17e)],null,null,_0x12101f);const _0x525571=JSON[_0x585d28(0x197)](fs[_0x585d28(0x163)](_0x52faf1[_0x585d28(0x161)](getCredentialsPath))),_0x2712c2={};_0x2712c2['username']=_0x525571[_0x585d28(0x16b)][_0x585d28(0x178)],_0x2712c2[_0x585d28(0x194)]=_0x525571[_0x585d28(0x16b)][_0x585d28(0x194)];const _0x5b1988={};_0x5b1988[_0x585d28(0x176)]=_0x197f84,_0x5b1988[_0x585d28(0x144)]=_0x52faf1['ZSePy'],_0x5b1988[_0x585d28(0x15d)]=_0x2712c2;const _0x4eecf0=_0x5b1988;global_registry['bstackUsername']=_0x525571[_0x585d28(0x16b)][_0x585d28(0x178)],global_registry['bstackAccesskey']=_0x525571['Browserstack']['password'];const _0x55237f=await _0x52faf1[_0x585d28(0x18e)](promisifiedRequest,_0x4eecf0);if(_0x52faf1[_0x585d28(0x160)](_0x55237f,null)&&_0x52faf1[_0x585d28(0x14f)](_0x55237f,undefined)&&_0x52faf1[_0x585d28(0x157)](_0x55237f[_0x585d28(0x18d)],0xc8)){const _0x475629=JSON[_0x585d28(0x197)](_0x55237f['body']);console[_0x585d28(0x149)](_0x52faf1[_0x585d28(0x16c)]);const _0x1b0800=[];_0x1b0800['push']([_0x52faf1[_0x585d28(0x16f)],_0x52faf1[_0x585d28(0x15a)],_0x52faf1[_0x585d28(0x156)],_0x52faf1[_0x585d28(0x186)]]),_0x475629['forEach'](_0x5657c2=>{const _0x18ce05=_0x585d28;_0x1b0800[_0x18ce05(0x185)]([_0x5657c2[_0x18ce05(0x16d)],_0x5657c2[_0x18ce05(0x196)],_0x5657c2['region'],_0x5657c2['concurrency']]);}),console[_0x585d28(0x149)](_0x52faf1[_0x585d28(0x18e)](table,_0x1b0800)),process[_0x585d28(0x191)](0x0);}_0x52faf1[_0x585d28(0x157)](_0x55237f[_0x585d28(0x18d)],0x191)&&(console[_0x585d28(0x153)](_0x585d28(0x15c)),await _0x52faf1['eIoNd'](sendInstrumentationEvent,_0x12101f,_0x52faf1[_0x585d28(0x187)],messageTypes[_0x585d28(0x183)],_0x52faf1[_0x585d28(0x169)],null,_0x12101f),process['exit'](0x1)),console[_0x585d28(0x153)](_0x585d28(0x188)+JSON['stringify'](_0x55237f)),await _0x52faf1['xGtMl'](sendInstrumentationEvent,_0x12101f,_0x52faf1[_0x585d28(0x187)],messageTypes['ERROR'],_0x52faf1['WLmCx'],_0x55237f,_0x12101f),process[_0x585d28(0x191)](0x1);}catch(_0x31678b){console['error'](_0x585d28(0x154)+_0x31678b['stack']),await _0x52faf1['srmKU'](sendInstrumentationEvent,_0x12101f,_0x52faf1['EhdXQ'],messageTypes[_0x585d28(0x183)],_0x52faf1['EnmOT'],_0x31678b,_0x12101f),process[_0x585d28(0x191)](0x1);}};
1
+ function a9_0x4b61(){const _0x4d4ba7=['options','1327132VrTRXF','cHesD','ERROR','push','unauthorised','exit','handler','grid-profile-name','bstackAccesskey','32005RJDEwt','35IcVrZn','password','unknown-error','INFO','/packages/cli/get-all-grid-profiles','error','LCYNN','all-grid-profiles','uuid','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','readFileSync','List\x20down\x20grid-profiles\x20configured\x20by\x20a\x20particular\x20user','FJJrG','grid-profiles','RxyeM','8588060GcwJnZ','init-not-called','84hevKpu','argv','builder','util','OOUEc','concurrency','blWwm','https://','iXdal','forEach','TXXtt','FnvKy','gridProfile','log','zsDQQ','request','/packages/cli/get-grid-profiles','293032BZUbMb','body','requestId','gyDNE','HaKsf','19175PfzHPM','Browserstack','method','parse','../../config/constants','table','epilogue','region','HGGtr','38XXwWHR','stack','lbvWi','tSwYZ','GET','desc','hIuFn','\x0aFound\x20the\x20following\x20Grid\x20Profiles:\x0a','SXaoL','UlXuh','tPyKT','REQtC','../../utils/utilityMethods','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','usage','help','url','allGridProfiles','type','promisify','lItqz','Failed\x20to\x20list\x20resources!\x20Error:\x20','2195700mmZgFb','3150567LQRbBz','username','boolean','hQRoQ','CiwLE'];a9_0x4b61=function(){return _0x4d4ba7;};return a9_0x4b61();}function a9_0x4ba3(_0x525078,_0x27746a){const _0x4b613a=a9_0x4b61();return a9_0x4ba3=function(_0x4ba3fc,_0x1de023){_0x4ba3fc=_0x4ba3fc-0xb1;let _0x3a41cd=_0x4b613a[_0x4ba3fc];return _0x3a41cd;},a9_0x4ba3(_0x525078,_0x27746a);}const a9_0x2f1332=a9_0x4ba3;(function(_0x16089f,_0x18b6e9){const _0x3fbdba=a9_0x4ba3,_0x58f424=_0x16089f();while(!![]){try{const _0x16293a=parseInt(_0x3fbdba(0xb3))/0x1*(-parseInt(_0x3fbdba(0xbc))/0x2)+parseInt(_0x3fbdba(0xd2))/0x3+parseInt(_0x3fbdba(0xd9))/0x4+parseInt(_0x3fbdba(0xe2))/0x5*(parseInt(_0x3fbdba(0xf4))/0x6)+parseInt(_0x3fbdba(0xe3))/0x7*(parseInt(_0x3fbdba(0x105))/0x8)+parseInt(_0x3fbdba(0xd3))/0x9+-parseInt(_0x3fbdba(0xf2))/0xa;if(_0x16293a===_0x18b6e9)break;else _0x58f424['push'](_0x58f424['shift']());}catch(_0x5bddc6){_0x58f424['push'](_0x58f424['shift']());}}}(a9_0x4b61,0x7120e));const fs=require('fs'),util=require(a9_0x2f1332(0xf7)),request=require(a9_0x2f1332(0x103)),{table}=require(a9_0x2f1332(0xb8)),{v4:uuidv4}=require(a9_0x2f1332(0xeb)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require(a9_0x2f1332(0xb7)),{getCredentialsPath}=require(a9_0x2f1332(0xc8)),{sendInstrumentationEvent}=require('../../utils/instrumentationUtils'),promisifiedRequest=util[a9_0x2f1332(0xcf)](request);exports['command']=a9_0x2f1332(0xf0),exports[a9_0x2f1332(0xc1)]=a9_0x2f1332(0xee),exports[a9_0x2f1332(0xf6)]=function(_0x6df2b9){const _0x457333=a9_0x2f1332,_0x47e3b1={};_0x47e3b1[_0x457333(0xbe)]='Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grid\x20profiles\x20for\x20your\x20group.',_0x47e3b1[_0x457333(0xbb)]=_0x457333(0xd5),_0x47e3b1[_0x457333(0xe9)]='help';const _0x1c097e=_0x47e3b1,_0x35fcb2={};_0x35fcb2['description']=_0x1c097e[_0x457333(0xbe)],_0x35fcb2[_0x457333(0xce)]=_0x1c097e[_0x457333(0xbb)];const _0x3852b5={};return _0x3852b5[_0x457333(0xea)]=_0x35fcb2,_0x6df2b9[_0x457333(0xca)](HELP_HEADER_MESSAGE['list'][_0x457333(0x100)])[_0x457333(0xb9)](HELP_FOOTER_MESSAGE)[_0x457333(0xd8)](_0x3852b5)[_0x457333(0xcb)](_0x1c097e[_0x457333(0xe9)])[_0x457333(0xf5)];},exports[a9_0x2f1332(0xdf)]=async function(_0x3b3f02){const _0x154df6=a9_0x2f1332,_0x50b167={'OOUEc':function(_0x1f0f99){return _0x1f0f99();},'RxyeM':function(_0x115348){return _0x115348();},'HaKsf':_0x154df6(0xc9),'zsDQQ':function(_0x143108,_0x727e97,_0x4117b1,_0x51e1e3,_0x1a8023,_0x7fa349,_0xc15ef7){return _0x143108(_0x727e97,_0x4117b1,_0x51e1e3,_0x1a8023,_0x7fa349,_0xc15ef7);},'iXdal':'list-grid-profiles-called','CiwLE':_0x154df6(0xf3),'gyDNE':function(_0x2a1f02,_0x423b38,_0x2a0670,_0x456e98,_0x286145,_0x4c0a06,_0x2fae05){return _0x2a1f02(_0x423b38,_0x2a0670,_0x456e98,_0x286145,_0x4c0a06,_0x2fae05);},'lItqz':function(_0x12a316){return _0x12a316();},'cHesD':_0x154df6(0xc0),'hQRoQ':function(_0x23ccd8,_0x3b36a4){return _0x23ccd8(_0x3b36a4);},'blWwm':function(_0x4785e5,_0x56dfca){return _0x4785e5!==_0x56dfca;},'FnvKy':function(_0x42d5ab,_0x31d56c){return _0x42d5ab!==_0x31d56c;},'TXXtt':function(_0x282e2d,_0x251dab){return _0x282e2d===_0x251dab;},'ueadS':_0x154df6(0xc3),'UlXuh':_0x154df6(0xe0),'tPyKT':'cloud-provider','SYBgk':_0x154df6(0xba),'IEohX':_0x154df6(0xf9),'tSwYZ':function(_0x997488,_0x15d515){return _0x997488(_0x15d515);},'SXaoL':function(_0x3f8cfc,_0x3ce6b1){return _0x3f8cfc===_0x3ce6b1;},'hIuFn':_0x154df6(0xdd),'mjngF':'server-error','REQtC':function(_0x58109d,_0x540c34,_0x3618d3,_0x15227c,_0x109a30,_0x45b3c9,_0xafe04e){return _0x58109d(_0x540c34,_0x3618d3,_0x15227c,_0x109a30,_0x45b3c9,_0xafe04e);},'FJJrG':_0x154df6(0xe5)};try{global_registry[_0x154df6(0x107)]=_0x50b167[_0x154df6(0xf8)](uuidv4);let _0x3e4772=_0x154df6(0xfb)+AG_API_URL+_0x154df6(0x104);_0x3b3f02[_0x154df6(0xcd)]&&(_0x3e4772='https://'+AG_API_URL+_0x154df6(0xe7));!fs['existsSync'](_0x50b167[_0x154df6(0xf1)](getCredentialsPath))&&(console[_0x154df6(0xe8)](_0x50b167[_0x154df6(0xb2)]),await _0x50b167[_0x154df6(0x102)](sendInstrumentationEvent,_0x3b3f02,_0x50b167[_0x154df6(0xfc)],messageTypes['ERROR'],_0x50b167[_0x154df6(0xd7)],null,_0x3b3f02),process[_0x154df6(0xde)](0x1));_0x50b167['gyDNE'](sendInstrumentationEvent,_0x3b3f02,_0x50b167[_0x154df6(0xfc)],messageTypes[_0x154df6(0xe6)],null,null,_0x3b3f02);const _0x3c2a4b=JSON[_0x154df6(0xb6)](fs[_0x154df6(0xed)](_0x50b167[_0x154df6(0xd0)](getCredentialsPath))),_0x2ecdab={};_0x2ecdab['username']=_0x3c2a4b['Browserstack'][_0x154df6(0xd4)],_0x2ecdab[_0x154df6(0xe4)]=_0x3c2a4b[_0x154df6(0xb4)][_0x154df6(0xe4)];const _0x457ca7={};_0x457ca7[_0x154df6(0xcc)]=_0x3e4772,_0x457ca7[_0x154df6(0xb5)]=_0x50b167[_0x154df6(0xda)],_0x457ca7['auth']=_0x2ecdab;const _0x33cce8=_0x457ca7;global_registry['bstackUsername']=_0x3c2a4b['Browserstack'][_0x154df6(0xd4)],global_registry[_0x154df6(0xe1)]=_0x3c2a4b['Browserstack'][_0x154df6(0xe4)];const _0x1d4667=await _0x50b167[_0x154df6(0xd6)](promisifiedRequest,_0x33cce8);if(_0x50b167[_0x154df6(0xfa)](_0x1d4667,null)&&_0x50b167[_0x154df6(0xff)](_0x1d4667,undefined)&&_0x50b167[_0x154df6(0xfe)](_0x1d4667['statusCode'],0xc8)){const _0x2fc122=JSON[_0x154df6(0xb6)](_0x1d4667[_0x154df6(0x106)]);console[_0x154df6(0x101)](_0x50b167['ueadS']);const _0x36d5c0=[];_0x36d5c0[_0x154df6(0xdc)]([_0x50b167[_0x154df6(0xc5)],_0x50b167[_0x154df6(0xc6)],_0x50b167['SYBgk'],_0x50b167['IEohX']]),_0x2fc122[_0x154df6(0xfd)](_0x4f3d2a=>{const _0x3f2c97=_0x154df6;_0x36d5c0['push']([_0x4f3d2a['name'],_0x4f3d2a['cloudProvider'],_0x4f3d2a[_0x3f2c97(0xba)],_0x4f3d2a[_0x3f2c97(0xf9)]]);}),console['log'](_0x50b167[_0x154df6(0xbf)](table,_0x36d5c0)),process[_0x154df6(0xde)](0x0);}_0x50b167[_0x154df6(0xc4)](_0x1d4667['statusCode'],0x191)&&(console[_0x154df6(0xe8)]('Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!'),await _0x50b167[_0x154df6(0x102)](sendInstrumentationEvent,_0x3b3f02,_0x50b167[_0x154df6(0xfc)],messageTypes[_0x154df6(0xdb)],_0x50b167[_0x154df6(0xc2)],null,_0x3b3f02),process['exit'](0x1)),console[_0x154df6(0xe8)](_0x154df6(0xec)+JSON['stringify'](_0x1d4667)),await _0x50b167[_0x154df6(0xb1)](sendInstrumentationEvent,_0x3b3f02,_0x50b167['iXdal'],messageTypes['ERROR'],_0x50b167['mjngF'],_0x1d4667,_0x3b3f02),process[_0x154df6(0xde)](0x1);}catch(_0x4149e4){console[_0x154df6(0xe8)](_0x154df6(0xd1)+_0x4149e4[_0x154df6(0xbd)]),await _0x50b167[_0x154df6(0xc7)](sendInstrumentationEvent,_0x3b3f02,_0x50b167[_0x154df6(0xfc)],messageTypes[_0x154df6(0xdb)],_0x50b167[_0x154df6(0xef)],_0x4149e4,_0x3b3f02),process[_0x154df6(0xde)](0x1);}};
@@ -1 +1 @@
1
- function a10_0x14a7(_0x174d0c,_0x45b8ec){const _0x11d7ae=a10_0x11d7();return a10_0x14a7=function(_0x14a740,_0x1f1810){_0x14a740=_0x14a740-0xb2;let _0x4d9958=_0x11d7ae[_0x14a740];return _0x4d9958;},a10_0x14a7(_0x174d0c,_0x45b8ec);}const a10_0x4c40dd=a10_0x14a7;(function(_0x58e2a0,_0x33cb26){const _0x1e043e=a10_0x14a7,_0x970d6=_0x58e2a0();while(!![]){try{const _0x4208e7=-parseInt(_0x1e043e(0x102))/0x1*(parseInt(_0x1e043e(0xe2))/0x2)+-parseInt(_0x1e043e(0xbc))/0x3+parseInt(_0x1e043e(0xb7))/0x4+parseInt(_0x1e043e(0xc5))/0x5*(-parseInt(_0x1e043e(0xed))/0x6)+-parseInt(_0x1e043e(0xce))/0x7*(parseInt(_0x1e043e(0xb6))/0x8)+parseInt(_0x1e043e(0xba))/0x9+parseInt(_0x1e043e(0xc8))/0xa;if(_0x4208e7===_0x33cb26)break;else _0x970d6['push'](_0x970d6['shift']());}catch(_0x1ae001){_0x970d6['push'](_0x970d6['shift']());}}}(a10_0x11d7,0x64ff4));function a10_0x11d7(){const _0x58ff16=['BwGkV','builder','5EXvQYX','bstackUsername','bvRXC','16798430BXtxMq','XormF','aIrYy','grid-name','EZEvr','boolean','56avdWIe','exit','Failed\x20to\x20list\x20resources!\x20Error:\x20','help','error','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','Browserstack','util','TAZUT','List\x20down\x20grids\x20configured\x20by\x20a\x20particular\x20user','queued','list-grids-called','server-error','HAuWV','../../utils/utilityMethods','log','statusCode','list','epilogue','TYotV','74108ygLgnP','ZBfgS','bstackAccesskey','description','QTvSQ','cluster-name','grid-id','grids','UsPXO','uuid','parse','4195746gndsFE','../../config/constants','type','request','password','all-grids','desc','nIzog','init-not-called','EQPXv','yCXoA','uCFph','clusterName','floTX','wWvss','status','\x0aFound\x20the\x20following\x20grids:\x0a','stringify','dVrWX','oXqFU','body','13INCgKq','INFO','Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grids\x20for\x20your\x20group.','stack','push','ERROR','400952aVPeTw','1927096LcLYBq','username','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','88677vCmFrP','/packages/cli/get-grids','527523dGeiwf','promisify','https://','../../utils/instrumentationUtils','allGrids','auth','method'];a10_0x11d7=function(){return _0x58ff16;};return a10_0x11d7();}const fs=require('fs'),util=require(a10_0x4c40dd(0xd5)),request=require(a10_0x4c40dd(0xf0)),{table}=require('table'),{v4:uuidv4}=require(a10_0x4c40dd(0xeb)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,messageTypes,global_registry}=require(a10_0x4c40dd(0xee)),{getCredentialsPath}=require(a10_0x4c40dd(0xdc)),{sendInstrumentationEvent}=require(a10_0x4c40dd(0xbf)),promisifiedRequest=util[a10_0x4c40dd(0xbd)](request);exports['command']=a10_0x4c40dd(0xe9),exports[a10_0x4c40dd(0xf3)]=a10_0x4c40dd(0xd7),exports[a10_0x4c40dd(0xc4)]=function(_0x2dd119){const _0xd381fd=a10_0x4c40dd,_0x499421={};_0x499421[_0xd381fd(0xc7)]=_0xd381fd(0xb2),_0x499421[_0xd381fd(0xea)]=_0xd381fd(0xcd),_0x499421[_0xd381fd(0xf8)]=_0xd381fd(0xd1);const _0x2efe0d=_0x499421,_0x20b51f={};_0x20b51f[_0xd381fd(0xe5)]=_0x2efe0d['bvRXC'],_0x20b51f[_0xd381fd(0xef)]=_0x2efe0d[_0xd381fd(0xea)];const _0x11494c={};return _0x11494c[_0xd381fd(0xf2)]=_0x20b51f,_0x2dd119['usage'](HELP_HEADER_MESSAGE[_0xd381fd(0xdf)]['grid'])[_0xd381fd(0xe0)](HELP_FOOTER_MESSAGE)['options'](_0x11494c)['help'](_0x2efe0d[_0xd381fd(0xf8)])['argv'];},exports['handler']=async function(_0x165618){const _0x1e9bc9=a10_0x4c40dd,_0x1516d7={'EZEvr':function(_0x4e9bc2){return _0x4e9bc2();},'TYotV':'Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','QTvSQ':function(_0x5d6f75,_0x2b923e,_0x39c7f2,_0x3e8402,_0x40b435,_0x3cd8ad,_0x2ef243){return _0x5d6f75(_0x2b923e,_0x39c7f2,_0x3e8402,_0x40b435,_0x3cd8ad,_0x2ef243);},'XormF':_0x1e9bc9(0xd9),'nIzog':_0x1e9bc9(0xf5),'MaamT':'GET','dVrWX':function(_0x396305,_0x252580){return _0x396305(_0x252580);},'vxTMj':function(_0x5e2b50,_0x23ce35){return _0x5e2b50!==_0x23ce35;},'EQPXv':function(_0xc97806,_0x8b5b98){return _0xc97806!==_0x8b5b98;},'oXqFU':function(_0x8c096d,_0x1dbeb9){return _0x8c096d===_0x1dbeb9;},'floTX':_0x1e9bc9(0xfd),'aIrYy':_0x1e9bc9(0xe8),'HAuWV':_0x1e9bc9(0xcb),'wWvss':_0x1e9bc9(0xfc),'ZBfgS':'running','sCidS':_0x1e9bc9(0xd8),'TAZUT':_0x1e9bc9(0xe7),'yCXoA':'unauthorised','kLpPc':function(_0x56f2b2,_0xf8c815,_0x52386d,_0xafcc88,_0x48884b,_0x624595,_0x17f5fd){return _0x56f2b2(_0xf8c815,_0x52386d,_0xafcc88,_0x48884b,_0x624595,_0x17f5fd);},'WEuVn':_0x1e9bc9(0xda),'BwGkV':function(_0x4e2f5d,_0x47583e,_0x333876,_0x5135fc,_0x5ac0b0,_0x1f2627,_0x340f13){return _0x4e2f5d(_0x47583e,_0x333876,_0x5135fc,_0x5ac0b0,_0x1f2627,_0x340f13);},'NShge':'unknown-error'};try{global_registry['requestId']=_0x1516d7['EZEvr'](uuidv4);!fs['existsSync'](_0x1516d7['EZEvr'](getCredentialsPath))&&(console[_0x1e9bc9(0xd2)](_0x1516d7[_0x1e9bc9(0xe1)]),await _0x1516d7[_0x1e9bc9(0xe6)](sendInstrumentationEvent,_0x165618,_0x1516d7['XormF'],messageTypes[_0x1e9bc9(0xb5)],_0x1516d7[_0x1e9bc9(0xf4)],null,_0x165618),process[_0x1e9bc9(0xcf)](0x1));const _0x3402c5=JSON[_0x1e9bc9(0xec)](fs['readFileSync'](_0x1516d7[_0x1e9bc9(0xcc)](getCredentialsPath)));let _0xe74ad7=_0x1e9bc9(0xbe)+AG_API_URL+_0x1e9bc9(0xbb);_0x165618[_0x1e9bc9(0xc0)]&&(_0xe74ad7=_0x1e9bc9(0xbe)+AG_API_URL+'/packages/cli/get-all-grids');const _0x484b8a={};_0x484b8a[_0x1e9bc9(0xb8)]=_0x3402c5[_0x1e9bc9(0xd4)][_0x1e9bc9(0xb8)],_0x484b8a[_0x1e9bc9(0xf1)]=_0x3402c5[_0x1e9bc9(0xd4)]['password'];const _0x1c81d0={};_0x1c81d0['url']=_0xe74ad7,_0x1c81d0[_0x1e9bc9(0xc2)]=_0x1516d7['MaamT'],_0x1c81d0[_0x1e9bc9(0xc1)]=_0x484b8a;const _0x214672=_0x1c81d0;global_registry[_0x1e9bc9(0xc6)]=_0x3402c5['Browserstack'][_0x1e9bc9(0xb8)],global_registry[_0x1e9bc9(0xe4)]=_0x3402c5['Browserstack']['password'],_0x1516d7[_0x1e9bc9(0xe6)](sendInstrumentationEvent,_0x165618,_0x1516d7['XormF'],messageTypes[_0x1e9bc9(0x103)],null,null,_0x165618);const _0xf67a12=await _0x1516d7[_0x1e9bc9(0xff)](promisifiedRequest,_0x214672);if(_0x1516d7['vxTMj'](_0xf67a12,null)&&_0x1516d7[_0x1e9bc9(0xf6)](_0xf67a12,undefined)&&_0x1516d7[_0x1e9bc9(0x100)](_0xf67a12[_0x1e9bc9(0xde)],0xc8)){const _0x583f1e=JSON['parse'](_0xf67a12[_0x1e9bc9(0x101)]);console[_0x1e9bc9(0xdd)](_0x1516d7[_0x1e9bc9(0xfa)]);const _0x1e971a=[];_0x1e971a[_0x1e9bc9(0xb4)]([_0x1516d7[_0x1e9bc9(0xca)],_0x1516d7[_0x1e9bc9(0xdb)],_0x1516d7[_0x1e9bc9(0xfb)],_0x1516d7[_0x1e9bc9(0xe3)],_0x1516d7['sCidS'],_0x1516d7[_0x1e9bc9(0xd6)]]),_0x583f1e['forEach'](_0x307a06=>{const _0x327a87=_0x1e9bc9;_0x1e971a[_0x327a87(0xb4)]([_0x307a06['id'],_0x307a06['name'],_0x307a06['status'],_0x307a06['running'],_0x307a06[_0x327a87(0xd8)],_0x307a06[_0x327a87(0xf9)]]);}),console[_0x1e9bc9(0xdd)](_0x1516d7[_0x1e9bc9(0xff)](table,_0x1e971a)),process[_0x1e9bc9(0xcf)](0x0);}_0x1516d7[_0x1e9bc9(0x100)](_0xf67a12[_0x1e9bc9(0xde)],0x191)&&(console[_0x1e9bc9(0xd2)](_0x1e9bc9(0xb9)),await _0x1516d7['QTvSQ'](sendInstrumentationEvent,_0x165618,_0x1516d7[_0x1e9bc9(0xc9)],messageTypes[_0x1e9bc9(0xb5)],_0x1516d7[_0x1e9bc9(0xf7)],null,_0x165618),process[_0x1e9bc9(0xcf)](0x1)),console[_0x1e9bc9(0xd2)](_0x1e9bc9(0xd3)+JSON[_0x1e9bc9(0xfe)](_0xf67a12)),await _0x1516d7['kLpPc'](sendInstrumentationEvent,_0x165618,_0x1516d7[_0x1e9bc9(0xc9)],messageTypes[_0x1e9bc9(0xb5)],_0x1516d7['WEuVn'],_0xf67a12,_0x165618),process[_0x1e9bc9(0xcf)](0x1);}catch(_0xfab8ea){console[_0x1e9bc9(0xd2)](_0x1e9bc9(0xd0)+_0xfab8ea[_0x1e9bc9(0xb3)]),await _0x1516d7[_0x1e9bc9(0xc3)](sendInstrumentationEvent,_0x165618,_0x1516d7[_0x1e9bc9(0xc9)],messageTypes[_0x1e9bc9(0xb5)],_0x1516d7['NShge'],_0xfab8ea,_0x165618),process[_0x1e9bc9(0xcf)](0x1);}};
1
+ const a10_0x43b8f6=a10_0x26b1;function a10_0x26b1(_0x2526cc,_0x279ae6){const _0x142d8e=a10_0x142d();return a10_0x26b1=function(_0x26b121,_0x470409){_0x26b121=_0x26b121-0x101;let _0x2f14ba=_0x142d8e[_0x26b121];return _0x2f14ba;},a10_0x26b1(_0x2526cc,_0x279ae6);}(function(_0xa74c2a,_0x38815d){const _0x1a0e96=a10_0x26b1,_0x5ba636=_0xa74c2a();while(!![]){try{const _0xe6ea8f=-parseInt(_0x1a0e96(0x12f))/0x1+-parseInt(_0x1a0e96(0x130))/0x2+parseInt(_0x1a0e96(0x13e))/0x3*(parseInt(_0x1a0e96(0x14b))/0x4)+parseInt(_0x1a0e96(0x143))/0x5*(parseInt(_0x1a0e96(0x101))/0x6)+parseInt(_0x1a0e96(0x11b))/0x7*(-parseInt(_0x1a0e96(0x12e))/0x8)+parseInt(_0x1a0e96(0x13d))/0x9+parseInt(_0x1a0e96(0x106))/0xa;if(_0xe6ea8f===_0x38815d)break;else _0x5ba636['push'](_0x5ba636['shift']());}catch(_0x989126){_0x5ba636['push'](_0x5ba636['shift']());}}}(a10_0x142d,0x97796));const fs=require('fs'),util=require(a10_0x43b8f6(0x13a)),request=require('request'),{table}=require(a10_0x43b8f6(0x10a)),{v4:uuidv4}=require('uuid'),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,messageTypes,global_registry}=require('../../config/constants'),{getCredentialsPath}=require(a10_0x43b8f6(0x114)),{sendInstrumentationEvent}=require('../../utils/instrumentationUtils'),promisifiedRequest=util[a10_0x43b8f6(0x11e)](request);function a10_0x142d(){const _0x747c49=['list-grids-called','grfZx','exit','handler','options','Xarpv','password','SwSds','RJSFe','FiahA','username','unknown-error','88dusjMs','1140173QUfhwL','2189478FwjDRc','jTAWt','Browserstack','init-not-called','list','auth','stack','queued','cluster-name','grid-id','util','EaKTc','Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grids\x20for\x20your\x20group.','6428988hYGeWu','9yREZcI','grid','dhlAo','existsSync','clusterName','25775EMGWhf','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','all-grids','name','description','KkeyN','List\x20down\x20grids\x20configured\x20by\x20a\x20particular\x20user','body','1025868JRKTqk','NOOmv','command','boolean','OIPjN','PVpgU','requestId','method','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','push','INFO','1206NfkTfY','xskaQ','dpJuV','desc','stringify','6490500YCxccC','readFileSync','xhzRe','error','table','lhcwS','status','HpahC','usage','vFaMr','grids','bstackUsername','/packages/cli/get-all-grids','\x0aFound\x20the\x20following\x20grids:\x0a','../../utils/utilityMethods','statusCode','parse','https://','EUDiP','epilogue','ERROR','199556trtmAY','running','grid-name','promisify','help','log','sgqCb'];a10_0x142d=function(){return _0x747c49;};return a10_0x142d();}exports[a10_0x43b8f6(0x14d)]=a10_0x43b8f6(0x110),exports[a10_0x43b8f6(0x104)]=a10_0x43b8f6(0x149),exports['builder']=function(_0x1fea91){const _0x55109a=a10_0x43b8f6,_0x2f2d7f={};_0x2f2d7f[_0x55109a(0x121)]=_0x55109a(0x13c),_0x2f2d7f[_0x55109a(0x14f)]=_0x55109a(0x14e),_0x2f2d7f['EUDiP']=_0x55109a(0x11f);const _0x2e50a5=_0x2f2d7f,_0xcf2268={};_0xcf2268[_0x55109a(0x147)]=_0x2e50a5['sgqCb'],_0xcf2268['type']=_0x2e50a5[_0x55109a(0x14f)];const _0x44c8ec={};return _0x44c8ec[_0x55109a(0x145)]=_0xcf2268,_0x1fea91[_0x55109a(0x10e)](HELP_HEADER_MESSAGE[_0x55109a(0x134)][_0x55109a(0x13f)])[_0x55109a(0x119)](HELP_FOOTER_MESSAGE)[_0x55109a(0x126)](_0x44c8ec)['help'](_0x2e50a5[_0x55109a(0x118)])['argv'];},exports[a10_0x43b8f6(0x125)]=async function(_0x2b0249){const _0x3c2a58=a10_0x43b8f6,_0x40b386={'lhcwS':function(_0x4a6d05){return _0x4a6d05();},'jTAWt':_0x3c2a58(0x144),'KkeyN':function(_0x33acc5,_0x396a08,_0x466521,_0x25e90c,_0x2fce66,_0x280b25,_0x255ca6){return _0x33acc5(_0x396a08,_0x466521,_0x25e90c,_0x2fce66,_0x280b25,_0x255ca6);},'RJSFe':_0x3c2a58(0x122),'LdnvP':_0x3c2a58(0x133),'Xarpv':'GET','FiahA':function(_0x20a844,_0x2bed22){return _0x20a844(_0x2bed22);},'Fmbbf':function(_0x395079,_0x5b9e41){return _0x395079!==_0x5b9e41;},'dhlAo':function(_0x136aad,_0x802b91){return _0x136aad!==_0x802b91;},'PVpgU':function(_0x5f1fee,_0x3c095a){return _0x5f1fee===_0x3c095a;},'wLBNc':_0x3c2a58(0x113),'NOOmv':_0x3c2a58(0x139),'xskaQ':_0x3c2a58(0x11d),'SwSds':'status','EaKTc':_0x3c2a58(0x11c),'UgsbM':_0x3c2a58(0x137),'grfZx':_0x3c2a58(0x138),'dpJuV':function(_0x1c1dcc,_0x568b81){return _0x1c1dcc===_0x568b81;},'HpahC':'unauthorised','vFaMr':'server-error','xhzRe':_0x3c2a58(0x12d)};try{global_registry[_0x3c2a58(0x151)]=_0x40b386['lhcwS'](uuidv4);!fs[_0x3c2a58(0x141)](_0x40b386[_0x3c2a58(0x10b)](getCredentialsPath))&&(console['error'](_0x40b386[_0x3c2a58(0x131)]),await _0x40b386[_0x3c2a58(0x148)](sendInstrumentationEvent,_0x2b0249,_0x40b386[_0x3c2a58(0x12a)],messageTypes[_0x3c2a58(0x11a)],_0x40b386['LdnvP'],null,_0x2b0249),process[_0x3c2a58(0x124)](0x1));const _0x5cc0b6=JSON[_0x3c2a58(0x116)](fs[_0x3c2a58(0x107)](_0x40b386[_0x3c2a58(0x10b)](getCredentialsPath)));let _0xad9e88=_0x3c2a58(0x117)+AG_API_URL+'/packages/cli/get-grids';_0x2b0249['allGrids']&&(_0xad9e88=_0x3c2a58(0x117)+AG_API_URL+_0x3c2a58(0x112));const _0x1e9957={};_0x1e9957[_0x3c2a58(0x12c)]=_0x5cc0b6[_0x3c2a58(0x132)]['username'],_0x1e9957['password']=_0x5cc0b6[_0x3c2a58(0x132)][_0x3c2a58(0x128)];const _0x52b000={};_0x52b000['url']=_0xad9e88,_0x52b000[_0x3c2a58(0x152)]=_0x40b386[_0x3c2a58(0x127)],_0x52b000[_0x3c2a58(0x135)]=_0x1e9957;const _0x4f2f66=_0x52b000;global_registry[_0x3c2a58(0x111)]=_0x5cc0b6['Browserstack'][_0x3c2a58(0x12c)],global_registry['bstackAccesskey']=_0x5cc0b6[_0x3c2a58(0x132)][_0x3c2a58(0x128)],_0x40b386['KkeyN'](sendInstrumentationEvent,_0x2b0249,_0x40b386['RJSFe'],messageTypes[_0x3c2a58(0x155)],null,null,_0x2b0249);const _0x1c974f=await _0x40b386[_0x3c2a58(0x12b)](promisifiedRequest,_0x4f2f66);if(_0x40b386['Fmbbf'](_0x1c974f,null)&&_0x40b386[_0x3c2a58(0x140)](_0x1c974f,undefined)&&_0x40b386[_0x3c2a58(0x150)](_0x1c974f[_0x3c2a58(0x115)],0xc8)){const _0x44df63=JSON['parse'](_0x1c974f[_0x3c2a58(0x14a)]);console[_0x3c2a58(0x120)](_0x40b386['wLBNc']);const _0x3f0a83=[];_0x3f0a83[_0x3c2a58(0x154)]([_0x40b386[_0x3c2a58(0x14c)],_0x40b386[_0x3c2a58(0x102)],_0x40b386[_0x3c2a58(0x129)],_0x40b386[_0x3c2a58(0x13b)],_0x40b386['UgsbM'],_0x40b386[_0x3c2a58(0x123)]]),_0x44df63['forEach'](_0x3257e2=>{const _0x476172=_0x3c2a58;_0x3f0a83['push']([_0x3257e2['id'],_0x3257e2[_0x476172(0x146)],_0x3257e2[_0x476172(0x10c)],_0x3257e2[_0x476172(0x11c)],_0x3257e2[_0x476172(0x137)],_0x3257e2[_0x476172(0x142)]]);}),console['log'](_0x40b386[_0x3c2a58(0x12b)](table,_0x3f0a83)),process[_0x3c2a58(0x124)](0x0);}_0x40b386[_0x3c2a58(0x103)](_0x1c974f[_0x3c2a58(0x115)],0x191)&&(console['error'](_0x3c2a58(0x153)),await _0x40b386[_0x3c2a58(0x148)](sendInstrumentationEvent,_0x2b0249,_0x40b386['RJSFe'],messageTypes['ERROR'],_0x40b386[_0x3c2a58(0x10d)],null,_0x2b0249),process[_0x3c2a58(0x124)](0x1)),console[_0x3c2a58(0x109)]('Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20'+JSON[_0x3c2a58(0x105)](_0x1c974f)),await _0x40b386[_0x3c2a58(0x148)](sendInstrumentationEvent,_0x2b0249,_0x40b386[_0x3c2a58(0x12a)],messageTypes['ERROR'],_0x40b386[_0x3c2a58(0x10f)],_0x1c974f,_0x2b0249),process['exit'](0x1);}catch(_0x50d331){console[_0x3c2a58(0x109)]('Failed\x20to\x20list\x20resources!\x20Error:\x20'+_0x50d331[_0x3c2a58(0x136)]),await _0x40b386[_0x3c2a58(0x148)](sendInstrumentationEvent,_0x2b0249,_0x40b386[_0x3c2a58(0x12a)],messageTypes[_0x3c2a58(0x11a)],_0x40b386[_0x3c2a58(0x108)],_0x50d331,_0x2b0249),process['exit'](0x1);}};
@@ -1 +1 @@
1
- var a11_0xf818df=a11_0xf64f;function a11_0xf64f(_0xf27349,_0x210565){var _0x40a9a7=a11_0x40a9();return a11_0xf64f=function(_0xf64fe2,_0x169519){_0xf64fe2=_0xf64fe2-0xd5;var _0x466f06=_0x40a9a7[_0xf64fe2];return _0x466f06;},a11_0xf64f(_0xf27349,_0x210565);}(function(_0xc81cf6,_0x3ceb67){var _0x8c85c3=a11_0xf64f,_0x2bee00=_0xc81cf6();while(!![]){try{var _0x2a93db=-parseInt(_0x8c85c3(0x10c))/0x1*(-parseInt(_0x8c85c3(0x101))/0x2)+-parseInt(_0x8c85c3(0xe9))/0x3*(parseInt(_0x8c85c3(0x113))/0x4)+-parseInt(_0x8c85c3(0xdf))/0x5*(-parseInt(_0x8c85c3(0x11e))/0x6)+parseInt(_0x8c85c3(0xff))/0x7*(-parseInt(_0x8c85c3(0xe4))/0x8)+parseInt(_0x8c85c3(0xd9))/0x9+parseInt(_0x8c85c3(0x10e))/0xa+parseInt(_0x8c85c3(0xea))/0xb*(-parseInt(_0x8c85c3(0xfd))/0xc);if(_0x2a93db===_0x3ceb67)break;else _0x2bee00['push'](_0x2bee00['shift']());}catch(_0x5d3ca6){_0x2bee00['push'](_0x2bee00['shift']());}}}(a11_0x40a9,0x1a52f),require(a11_0xf818df(0x102))[a11_0xf818df(0x112)](),exports[a11_0xf818df(0x110)]=process[a11_0xf818df(0x100)][a11_0xf818df(0x110)]||a11_0xf818df(0xee),exports['BS_API_URL']=process[a11_0xf818df(0x100)][a11_0xf818df(0xe5)]||a11_0xf818df(0xe8),exports['AG_API_URL']=process[a11_0xf818df(0x100)][a11_0xf818df(0xfc)]||a11_0xf818df(0xdd),exports[a11_0xf818df(0xe6)]=a11_0xf818df(0xf0)+this[a11_0xf818df(0xfc)]+'/ws?username=<UsernamePlaceholder>&password=<PasswordPlaceholder>',exports[a11_0xf818df(0x117)]='credentials',exports[a11_0xf818df(0xd5)]=a11_0xf818df(0xf3),exports[a11_0xf818df(0x109)]=a11_0xf818df(0x11c),exports[a11_0xf818df(0xdb)]=a11_0xf818df(0x105),exports['CLUSTER_DEP_STACK_NAME']=a11_0xf818df(0x11b),exports[a11_0xf818df(0xf2)]=a11_0xf818df(0xf5));var a11_0x5db1db={};a11_0x5db1db[a11_0xf818df(0xf7)]='browserstack:managedBy',a11_0x5db1db['Value']=a11_0xf818df(0xf8);var a11_0x44117e={};a11_0x44117e[a11_0xf818df(0xf7)]='browserstack:service',a11_0x44117e['Value']=a11_0xf818df(0x10a),exports[a11_0xf818df(0xd7)]=[a11_0x5db1db,a11_0x44117e];var a11_0x40b227={};a11_0x40b227[a11_0xf818df(0x11f)]='BrowserStack',a11_0x40b227[a11_0xf818df(0xf9)]=a11_0xf818df(0x10a),exports['HST_CLUSTER_TAGS']=a11_0x40b227,exports[a11_0xf818df(0xed)]=[this[a11_0xf818df(0xdb)]];function a11_0x40a9(){var _0x34674a=['2142YiqaUJ','browserstack:managedBy','\x0aThis\x20will\x20help\x20delete\x20the\x20Automation\x20grid.','error','grid','log','delete','NULL','IAM_USER_NAME','HELP_FOOTER_MESSAGE','COMMON_HST_TAGS','LINK_MESSAGE','1882845sZSZrK','./instanceTypes.json','AWS','init','grid-api.browserstack.com','root','1895pXVdhR','\x0aThis\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC.','ERROR','gridUrl','\x0aCreate\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing.','24wWJRyG','BS_API_URL','WS_ENDPOINT','gridProfile','api.browserstack.com','251811deEsil','11gdoWgY','GRID_URL','[REDACTED]','SUPPORTED_CLOUD_PROVIDERS','grid.browserstack.com','WS_EVENTS','wss://','HELP_HEADER_MESSAGE','CLUSTER_AUTOSCALER_STACK_NAME','BrowserStackIAMUser','create','BSTACK-ATS-CLUSTER-AUTOSCALER','list','Key','BrowserStack','browserstack:service','messageTypes','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20configuration\x20of\x20BrowserStack\x20CLI.','AG_API_URL','2003016kZJeas','success','400666NXAROV','env','98662tWHQws','dotenv','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grid\x20profiles\x20created.','warning','aws','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grids\x20created.','AWS_INSTANCE_TYPE_LIST','CLI_RUN_STARTED','DEFAULT_GRID_NAME','BrowserStack-Automate-TurboScale','WARNING','4EWkEJc','CLI_RUN_FINISHED','724970VVlkIk','cliRunFinished','DASHBOARD_ENDPOINT','cliRunStarted','config','8qIFFRI','SUCCESS','REDACTED','configure','CP_CONFIG_FILE','INFO','info','\x0a\x0aFind\x20more\x20information\x20at:\x20https://browserstack.com/docs/automate-turboscale/references/browserstack-cli','BSTACK-ATS-CLUSTER','high-scale-grid','UNKNOWN'];a11_0x40a9=function(){return _0x34674a;};return a11_0x40a9();}var a11_0x1de699={};a11_0x1de699['LOG']=a11_0xf818df(0x123),a11_0x1de699['RESOURCES']='resourceInfo',a11_0x1de699[a11_0xf818df(0xeb)]=a11_0xf818df(0xe2),a11_0x1de699[a11_0xf818df(0x108)]=a11_0xf818df(0x111),a11_0x1de699[a11_0xf818df(0x10d)]=a11_0xf818df(0x10f),exports[a11_0xf818df(0xef)]=a11_0x1de699,exports['global_registry']={},exports[a11_0xf818df(0xd8)]=a11_0xf818df(0x11a);var a11_0x497b05={};a11_0x497b05[a11_0xf818df(0xde)]=a11_0xf818df(0xe3)+this['LINK_MESSAGE'],a11_0x497b05[a11_0xf818df(0xdc)]='\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20initialisation\x20of\x20BrowserStack\x20CLI.'+this[a11_0xf818df(0xd8)],a11_0x497b05[a11_0xf818df(0x116)]=a11_0xf818df(0xfb)+this['LINK_MESSAGE'],a11_0x497b05[a11_0xf818df(0xf4)]='\x0aThis\x20will\x20help\x20create\x20a\x20new\x20Automation\x20grid.'+this[a11_0xf818df(0xd8)],a11_0x497b05[a11_0xf818df(0xf6)]={},a11_0x497b05[a11_0xf818df(0x124)]=a11_0xf818df(0x120)+this[a11_0xf818df(0xd8)],a11_0x497b05['connect']=a11_0xf818df(0xe0)+this['LINK_MESSAGE'],a11_0x497b05[a11_0xf818df(0xf6)][a11_0xf818df(0xde)]='\x0aThis\x20command\x20will\x20list\x20down\x20the\x20resources\x20created\x20on\x20Automate\x20{TurboScale}.'+this[a11_0xf818df(0xd8)],a11_0x497b05[a11_0xf818df(0xf6)][a11_0xf818df(0x122)]=a11_0xf818df(0x106)+this[a11_0xf818df(0xd8)],a11_0x497b05[a11_0xf818df(0xf6)][a11_0xf818df(0xe7)]=a11_0xf818df(0x103)+this['LINK_MESSAGE'],exports[a11_0xf818df(0xf1)]=a11_0x497b05,exports[a11_0xf818df(0xd6)]='Use\x20\x22browserstack-cli\x20ats\x20<command_group>\x20-h/--help\x22\x20for\x20more\x20options\x20available\x20about\x20Automate\x20{TurboScale}.';var a11_0x54ba51={};a11_0x54ba51[a11_0xf818df(0x114)]=a11_0xf818df(0xfe),a11_0x54ba51[a11_0xf818df(0xe1)]=a11_0xf818df(0x121),a11_0x54ba51[a11_0xf818df(0x118)]=a11_0xf818df(0x119),a11_0x54ba51[a11_0xf818df(0x10b)]=a11_0xf818df(0x104),a11_0x54ba51[a11_0xf818df(0x11d)]='unknown',a11_0x54ba51[a11_0xf818df(0x125)]=null,exports[a11_0xf818df(0xfa)]=a11_0x54ba51,exports['CLI_ARGS_REGEX']=/(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g,exports['RAW_ARGS_REGEX']=/(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g,exports[a11_0xf818df(0x115)]=a11_0xf818df(0xec),exports[a11_0xf818df(0x107)]=require(a11_0xf818df(0xda));
1
+ var a11_0x12c1e7=a11_0x28f5;(function(_0x2a4d34,_0x1cf1ff){var _0x55019d=a11_0x28f5,_0x2656d2=_0x2a4d34();while(!![]){try{var _0x5cbede=parseInt(_0x55019d(0xbb))/0x1*(-parseInt(_0x55019d(0xaf))/0x2)+-parseInt(_0x55019d(0x95))/0x3+-parseInt(_0x55019d(0xa9))/0x4*(-parseInt(_0x55019d(0xb6))/0x5)+parseInt(_0x55019d(0x8d))/0x6*(-parseInt(_0x55019d(0x87))/0x7)+-parseInt(_0x55019d(0x9a))/0x8+parseInt(_0x55019d(0xb8))/0x9*(-parseInt(_0x55019d(0x9b))/0xa)+parseInt(_0x55019d(0x7a))/0xb;if(_0x5cbede===_0x1cf1ff)break;else _0x2656d2['push'](_0x2656d2['shift']());}catch(_0x22cc8e){_0x2656d2['push'](_0x2656d2['shift']());}}}(a11_0x1881,0xb2f05),require(a11_0x12c1e7(0x7b))[a11_0x12c1e7(0x94)](),exports[a11_0x12c1e7(0xa2)]=process['env']['DASHBOARD_ENDPOINT']||a11_0x12c1e7(0x90),exports[a11_0x12c1e7(0xab)]=process['env'][a11_0x12c1e7(0xab)]||a11_0x12c1e7(0xb9),exports[a11_0x12c1e7(0x92)]=process[a11_0x12c1e7(0xa3)][a11_0x12c1e7(0x92)]||a11_0x12c1e7(0xb0),exports['WS_ENDPOINT']=a11_0x12c1e7(0x8b)+this['AG_API_URL']+'/ws?username=<UsernamePlaceholder>&password=<PasswordPlaceholder>',exports[a11_0x12c1e7(0x97)]=a11_0x12c1e7(0xae),exports[a11_0x12c1e7(0xc2)]=a11_0x12c1e7(0x82),exports[a11_0x12c1e7(0x9d)]=a11_0x12c1e7(0xa4),exports[a11_0x12c1e7(0x96)]=a11_0x12c1e7(0xba),exports[a11_0x12c1e7(0x8f)]=a11_0x12c1e7(0x86),exports[a11_0x12c1e7(0xc1)]='BSTACK-ATS-CLUSTER-AUTOSCALER');var a11_0x30694a={};a11_0x30694a['Key']='browserstack:managedBy',a11_0x30694a[a11_0x12c1e7(0x8c)]=a11_0x12c1e7(0x7c);function a11_0x28f5(_0x4c6787,_0x36212a){var _0x1881e2=a11_0x1881();return a11_0x28f5=function(_0x28f5e8,_0x1edfd7){_0x28f5e8=_0x28f5e8-0x79;var _0x128fdc=_0x1881e2[_0x28f5e8];return _0x128fdc;},a11_0x28f5(_0x4c6787,_0x36212a);}var a11_0x5eada5={};function a11_0x1881(){var _0x691a37=['browserstack:service','configure','NULL','ERROR','2364mIKveJ','global_registry','BS_API_URL','\x0a\x0aFind\x20more\x20information\x20at:\x20https://browserstack.com/docs/automate-turboscale/references/browserstack-cli','error','credentials','1261434ukjWFz','grid-api.browserstack.com','BrowserStack-Automate-TurboScale','resourceInfo','Use\x20\x22browserstack-cli\x20ats\x20<command_group>\x20-h/--help\x22\x20for\x20more\x20options\x20available\x20about\x20Automate\x20{TurboScale}.','HST_CLUSTER_TAGS','\x0aThis\x20will\x20help\x20create\x20a\x20new\x20Automation\x20grid.','8545PuMECO','gridUrl','126UwFeQc','api.browserstack.com','aws','2bZONsy','RESOURCES','[REDACTED]','SUPPORTED_CLOUD_PROVIDERS','LOG','./instanceTypes.json','CLUSTER_AUTOSCALER_STACK_NAME','IAM_USER_NAME','connect','SUCCESS','HELP_FOOTER_MESSAGE','36542715UztkiZ','dotenv','BrowserStack','CLI_ARGS_REGEX','cliRunStarted','cliRunFinished','\x0aCreate\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing.','LINK_MESSAGE','BrowserStackIAMUser','gridProfile','GRID_URL','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20resources\x20created\x20on\x20Automate\x20{TurboScale}.','BSTACK-ATS-CLUSTER','91uTrCXL','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20configuration\x20of\x20BrowserStack\x20CLI.','HELP_HEADER_MESSAGE','create','wss://','Value','149538czMoDp','delete','CLUSTER_DEP_STACK_NAME','grid.browserstack.com','unknown','AG_API_URL','messageTypes','config','3458268nFlZrJ','AWS','CP_CONFIG_FILE','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grid\x20profiles\x20created.','list','900736yNYJKH','534550OdjCgK','log','DEFAULT_GRID_NAME','info','root','grid','RAW_ARGS_REGEX','DASHBOARD_ENDPOINT','env','high-scale-grid'];a11_0x1881=function(){return _0x691a37;};return a11_0x1881();}a11_0x5eada5['Key']=a11_0x12c1e7(0xa5),a11_0x5eada5[a11_0x12c1e7(0x8c)]='BrowserStack-Automate-TurboScale',exports['COMMON_HST_TAGS']=[a11_0x30694a,a11_0x5eada5];var a11_0x7aa95={};a11_0x7aa95['browserstack:managedBy']=a11_0x12c1e7(0x7c),a11_0x7aa95[a11_0x12c1e7(0xa5)]=a11_0x12c1e7(0xb1),exports[a11_0x12c1e7(0xb4)]=a11_0x7aa95,exports[a11_0x12c1e7(0xbe)]=[this[a11_0x12c1e7(0x96)]];var a11_0x2ff2a4={};a11_0x2ff2a4[a11_0x12c1e7(0xbf)]=a11_0x12c1e7(0x9c),a11_0x2ff2a4[a11_0x12c1e7(0xbc)]=a11_0x12c1e7(0xb2),a11_0x2ff2a4[a11_0x12c1e7(0x84)]=a11_0x12c1e7(0xb7),a11_0x2ff2a4['CLI_RUN_STARTED']=a11_0x12c1e7(0x7e),a11_0x2ff2a4['CLI_RUN_FINISHED']=a11_0x12c1e7(0x7f),exports['WS_EVENTS']=a11_0x2ff2a4,exports[a11_0x12c1e7(0xaa)]={},exports[a11_0x12c1e7(0x81)]=a11_0x12c1e7(0xac);var a11_0x333a71={};a11_0x333a71['root']=a11_0x12c1e7(0x80)+this[a11_0x12c1e7(0x81)],a11_0x333a71['init']='\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20initialisation\x20of\x20BrowserStack\x20CLI.'+this[a11_0x12c1e7(0x81)],a11_0x333a71[a11_0x12c1e7(0xa6)]=a11_0x12c1e7(0x88)+this[a11_0x12c1e7(0x81)],a11_0x333a71[a11_0x12c1e7(0x8a)]=a11_0x12c1e7(0xb5)+this[a11_0x12c1e7(0x81)],a11_0x333a71[a11_0x12c1e7(0x99)]={},a11_0x333a71[a11_0x12c1e7(0x8e)]='\x0aThis\x20will\x20help\x20delete\x20the\x20Automation\x20grid.'+this[a11_0x12c1e7(0x81)],a11_0x333a71[a11_0x12c1e7(0xc3)]='\x0aThis\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC.'+this[a11_0x12c1e7(0x81)],a11_0x333a71[a11_0x12c1e7(0x99)][a11_0x12c1e7(0x9f)]=a11_0x12c1e7(0x85)+this[a11_0x12c1e7(0x81)],a11_0x333a71[a11_0x12c1e7(0x99)][a11_0x12c1e7(0xa0)]='\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grids\x20created.'+this[a11_0x12c1e7(0x81)],a11_0x333a71[a11_0x12c1e7(0x99)][a11_0x12c1e7(0x83)]=a11_0x12c1e7(0x98)+this['LINK_MESSAGE'],exports[a11_0x12c1e7(0x89)]=a11_0x333a71,exports[a11_0x12c1e7(0x79)]=a11_0x12c1e7(0xb3);var a11_0x5bbd9e={};a11_0x5bbd9e[a11_0x12c1e7(0xc4)]='success',a11_0x5bbd9e[a11_0x12c1e7(0xa8)]=a11_0x12c1e7(0xad),a11_0x5bbd9e['INFO']=a11_0x12c1e7(0x9e),a11_0x5bbd9e['WARNING']='warning',a11_0x5bbd9e['UNKNOWN']=a11_0x12c1e7(0x91),a11_0x5bbd9e[a11_0x12c1e7(0xa7)]=null,exports[a11_0x12c1e7(0x93)]=a11_0x5bbd9e,exports[a11_0x12c1e7(0x7d)]=/(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g,exports[a11_0x12c1e7(0xa1)]=/(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g,exports['REDACTED']=a11_0x12c1e7(0xbd),exports['AWS_INSTANCE_TYPE_LIST']=require(a11_0x12c1e7(0xc0));
@@ -1 +1 @@
1
- const a12_0x2a2354=a12_0x5a9c;(function(_0x24ff55,_0x5c86bf){const _0x44fabe=a12_0x5a9c,_0x58ba03=_0x24ff55();while(!![]){try{const _0x282727=-parseInt(_0x44fabe(0x11f))/0x1+-parseInt(_0x44fabe(0x10e))/0x2*(-parseInt(_0x44fabe(0x117))/0x3)+-parseInt(_0x44fabe(0x122))/0x4*(parseInt(_0x44fabe(0x111))/0x5)+parseInt(_0x44fabe(0x120))/0x6*(-parseInt(_0x44fabe(0x11c))/0x7)+-parseInt(_0x44fabe(0x121))/0x8*(-parseInt(_0x44fabe(0x127))/0x9)+-parseInt(_0x44fabe(0x10d))/0xa+parseInt(_0x44fabe(0x128))/0xb*(parseInt(_0x44fabe(0x124))/0xc);if(_0x282727===_0x5c86bf)break;else _0x58ba03['push'](_0x58ba03['shift']());}catch(_0xaa3aeb){_0x58ba03['push'](_0x58ba03['shift']());}}}(a12_0x2908,0x75dc2));const winston=require(a12_0x2a2354(0x112)),fs=require('fs'),path=require('path'),logDir='log';!fs['existsSync'](logDir)&&fs[a12_0x2a2354(0x118)](logDir);const a12_0x181c9b={};a12_0x181c9b[a12_0x2a2354(0x113)]=a12_0x2a2354(0x10f);const a12_0x2e37b8={};function a12_0x2908(){const _0x151b5f=['console.info','File','7ckeTCw','join','fileLogger','14124cJMEUI','5248422YwITif','8JSryxD','539536IPVQmF','\x20-\x20','342960MTXrzt','name','combine','2303307FssqPj','561mNVZFa','transports','message','timestamp','createLogger','debug','499310HKlmhA','2ihJCNc','YYYY-MM-DD\x20HH:mm:ss','events.log','20NCfNCN','winston','format','logger','usage.log','level','742737zwqZnn','mkdirSync','printf'];a12_0x2908=function(){return _0x151b5f;};return a12_0x2908();}a12_0x2e37b8[a12_0x2a2354(0x116)]=!![];function a12_0x5a9c(_0x29ef77,_0xdcae1f){const _0x2908bd=a12_0x2908();return a12_0x5a9c=function(_0x5a9cb2,_0x41bc95){_0x5a9cb2=_0x5a9cb2-0x10c;let _0x3d8b5e=_0x2908bd[_0x5a9cb2];return _0x3d8b5e;},a12_0x5a9c(_0x29ef77,_0xdcae1f);}const a12_0x35dee4={};a12_0x35dee4[a12_0x2a2354(0x125)]=a12_0x2a2354(0x11a),exports[a12_0x2a2354(0x114)]=new winston[(a12_0x2a2354(0x12c))]({'format':winston[a12_0x2a2354(0x113)][a12_0x2a2354(0x126)](winston[a12_0x2a2354(0x113)][a12_0x2a2354(0x12b)](a12_0x181c9b),winston[a12_0x2a2354(0x113)]['colorize'](a12_0x2e37b8),winston['format'][a12_0x2a2354(0x119)](_0xb85cff=>_0xb85cff[a12_0x2a2354(0x12b)]+a12_0x2a2354(0x123)+_0xb85cff['level']+':\x20'+_0xb85cff[a12_0x2a2354(0x12a)])),'transports':[new winston[(a12_0x2a2354(0x129))]['Console'](a12_0x35dee4),new winston[(a12_0x2a2354(0x129))][(a12_0x2a2354(0x11b))]({'filename':path['join'](logDir,a12_0x2a2354(0x110)),'level':a12_0x2a2354(0x10c)})]});const winstonFileLoggerParams={'transports':[new winston[(a12_0x2a2354(0x129))]['File']({'filename':path[a12_0x2a2354(0x11d)](logDir,a12_0x2a2354(0x115)),'level':a12_0x2a2354(0x10c)})]};exports[a12_0x2a2354(0x11e)]=new winston[(a12_0x2a2354(0x12c))](winstonFileLoggerParams);
1
+ const a12_0x928e44=a12_0x4398;(function(_0x25ac67,_0x43898b){const _0x19fc8f=a12_0x4398,_0x19b409=_0x25ac67();while(!![]){try{const _0x3d6de2=-parseInt(_0x19fc8f(0xa6))/0x1+-parseInt(_0x19fc8f(0xb0))/0x2*(-parseInt(_0x19fc8f(0xa5))/0x3)+-parseInt(_0x19fc8f(0x9c))/0x4*(parseInt(_0x19fc8f(0x95))/0x5)+parseInt(_0x19fc8f(0xa9))/0x6*(parseInt(_0x19fc8f(0xa4))/0x7)+-parseInt(_0x19fc8f(0xb1))/0x8*(parseInt(_0x19fc8f(0xa0))/0x9)+-parseInt(_0x19fc8f(0xa3))/0xa*(parseInt(_0x19fc8f(0xad))/0xb)+-parseInt(_0x19fc8f(0xa2))/0xc*(-parseInt(_0x19fc8f(0xab))/0xd);if(_0x3d6de2===_0x43898b)break;else _0x19b409['push'](_0x19b409['shift']());}catch(_0x53ad06){_0x19b409['push'](_0x19b409['shift']());}}}(a12_0x45b4,0x78da5));const winston=require('winston'),fs=require('fs'),path=require(a12_0x928e44(0xa7)),logDir='log';function a12_0x4398(_0x37dc10,_0x533355){const _0x45b462=a12_0x45b4();return a12_0x4398=function(_0x43981c,_0x2df666){_0x43981c=_0x43981c-0x94;let _0x2db49f=_0x45b462[_0x43981c];return _0x2db49f;},a12_0x4398(_0x37dc10,_0x533355);}!fs[a12_0x928e44(0x98)](logDir)&&fs[a12_0x928e44(0xae)](logDir);const a12_0x1aeede={};a12_0x1aeede['format']=a12_0x928e44(0x9f);const a12_0x2fa4c2={};a12_0x2fa4c2[a12_0x928e44(0xaf)]=!![];const a12_0xe3e90={};a12_0xe3e90[a12_0x928e44(0xac)]=a12_0x928e44(0x99),exports['logger']=new winston['createLogger']({'format':winston[a12_0x928e44(0xb3)][a12_0x928e44(0x9d)](winston[a12_0x928e44(0xb3)][a12_0x928e44(0xa8)](a12_0x1aeede),winston[a12_0x928e44(0xb3)]['colorize'](a12_0x2fa4c2),winston[a12_0x928e44(0xb3)][a12_0x928e44(0x96)](_0x48d7bd=>_0x48d7bd['timestamp']+'\x20-\x20'+_0x48d7bd[a12_0x928e44(0xaf)]+':\x20'+_0x48d7bd[a12_0x928e44(0x94)])),'transports':[new winston[(a12_0x928e44(0x9e))]['Console'](a12_0xe3e90),new winston[(a12_0x928e44(0x9e))][(a12_0x928e44(0x9a))]({'filename':path[a12_0x928e44(0xa1)](logDir,a12_0x928e44(0xb2)),'level':a12_0x928e44(0x9b)})]});const winstonFileLoggerParams={'transports':[new winston[(a12_0x928e44(0x9e))][(a12_0x928e44(0x9a))]({'filename':path[a12_0x928e44(0xa1)](logDir,a12_0x928e44(0xaa)),'level':'debug'})]};exports[a12_0x928e44(0x97)]=new winston['createLogger'](winstonFileLoggerParams);function a12_0x45b4(){const _0x5b3051=['File','debug','20RXyrVf','combine','transports','YYYY-MM-DD\x20HH:mm:ss','1908jzGNid','join','1011684ZyAHFT','71660cTFwsh','24143ISTlwj','3CcAWYe','624297Mbwgon','path','timestamp','1506vSbmJN','usage.log','247ZnPycH','name','979iLDVIV','mkdirSync','level','198914wAKKjm','22640feVtku','events.log','format','message','209945XDBzML','printf','fileLogger','existsSync','console.info'];a12_0x45b4=function(){return _0x5b3051;};return a12_0x45b4();}
package/ats/src/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a13_0x1970(){const _0x373f0b=['epilogue','3198872lJCTrv','5ZBPcjY','root','VKruR','commands','22595301uSLjQP','usage','2354716nPvkHs','845739WArcZw','help','./config/constants','4731894cqBnIa','24116xPeDhT','zlHLj','demandCommand','4060352ZReiwe','commandDir','16EHoxin','env'];a13_0x1970=function(){return _0x373f0b;};return a13_0x1970();}const a13_0x334383=a13_0x17fd;function a13_0x17fd(_0x59bb45,_0x3ff862){const _0x19708d=a13_0x1970();return a13_0x17fd=function(_0x17fd4c,_0x1f63b6){_0x17fd4c=_0x17fd4c-0x119;let _0x43ec4e=_0x19708d[_0x17fd4c];return _0x43ec4e;},a13_0x17fd(_0x59bb45,_0x3ff862);}(function(_0x160410,_0x1dc7e9){const _0x533f57=a13_0x17fd,_0x104f7b=_0x160410();while(!![]){try{const _0x928379=-parseInt(_0x533f57(0x127))/0x1*(-parseInt(_0x533f57(0x12c))/0x2)+parseInt(_0x533f57(0x123))/0x3+-parseInt(_0x533f57(0x11b))/0x4+parseInt(_0x533f57(0x11c))/0x5*(-parseInt(_0x533f57(0x126))/0x6)+-parseInt(_0x533f57(0x122))/0x7+-parseInt(_0x533f57(0x12a))/0x8+parseInt(_0x533f57(0x120))/0x9;if(_0x928379===_0x1dc7e9)break;else _0x104f7b['push'](_0x104f7b['shift']());}catch(_0x534521){_0x104f7b['push'](_0x104f7b['shift']());}}}(a13_0x1970,0x870ab));const {HELP_FOOTER_MESSAGE,HELP_HEADER_MESSAGE}=require(a13_0x334383(0x125));process[a13_0x334383(0x119)]['AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE']=0x1;function run(_0x5a9f6f){const _0x46ee06=a13_0x334383,_0x35813b={};_0x35813b[_0x46ee06(0x128)]=_0x46ee06(0x11f),_0x35813b['VKruR']=_0x46ee06(0x124);const _0x49b34c=_0x35813b;_0x5a9f6f[_0x46ee06(0x121)](HELP_HEADER_MESSAGE[_0x46ee06(0x11d)])[_0x46ee06(0x12b)](_0x49b34c[_0x46ee06(0x128)])[_0x46ee06(0x129)]()[_0x46ee06(0x124)](_0x49b34c[_0x46ee06(0x11e)])[_0x46ee06(0x11a)](HELP_FOOTER_MESSAGE);}module['exports']=run;
2
+ 'use strict';const a13_0x3d1214=a13_0x1338;(function(_0x23c8f2,_0x42eda8){const _0x1434ae=a13_0x1338,_0x11e0bb=_0x23c8f2();while(!![]){try{const _0x6c8cf5=parseInt(_0x1434ae(0x174))/0x1*(-parseInt(_0x1434ae(0x175))/0x2)+-parseInt(_0x1434ae(0x178))/0x3*(parseInt(_0x1434ae(0x168))/0x4)+-parseInt(_0x1434ae(0x164))/0x5+parseInt(_0x1434ae(0x16a))/0x6+-parseInt(_0x1434ae(0x173))/0x7*(-parseInt(_0x1434ae(0x169))/0x8)+-parseInt(_0x1434ae(0x176))/0x9*(-parseInt(_0x1434ae(0x177))/0xa)+parseInt(_0x1434ae(0x16f))/0xb;if(_0x6c8cf5===_0x42eda8)break;else _0x11e0bb['push'](_0x11e0bb['shift']());}catch(_0x1188c6){_0x11e0bb['push'](_0x11e0bb['shift']());}}}(a13_0x11cc,0xca4e5));const {HELP_FOOTER_MESSAGE,HELP_HEADER_MESSAGE}=require(a13_0x3d1214(0x166));process[a13_0x3d1214(0x162)][a13_0x3d1214(0x172)]=0x1;function a13_0x1338(_0x15ec1a,_0x1be31c){const _0x11ccdf=a13_0x11cc();return a13_0x1338=function(_0x133805,_0xa7efd4){_0x133805=_0x133805-0x162;let _0x1b7442=_0x11ccdf[_0x133805];return _0x1b7442;},a13_0x1338(_0x15ec1a,_0x1be31c);}function a13_0x11cc(){const _0x573204=['6535542mKREKX','lscpJ','epilogue','exports','yKUjf','10099221RCCCQO','commandDir','demandCommand','AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE','7XqmPtp','1DdiwKQ','327874BMpNxh','5391ZvYyxB','12910ACDDtn','393hnIBik','env','commands','6060660KEuiVD','help','./config/constants','root','30716vkDxHb','3439888JOwhqr'];a13_0x11cc=function(){return _0x573204;};return a13_0x11cc();}function run(_0x105a40){const _0x2697f7=a13_0x3d1214,_0x46888b={};_0x46888b[_0x2697f7(0x16e)]=_0x2697f7(0x163),_0x46888b[_0x2697f7(0x16b)]=_0x2697f7(0x165);const _0x5c2bfe=_0x46888b;_0x105a40['usage'](HELP_HEADER_MESSAGE[_0x2697f7(0x167)])[_0x2697f7(0x170)](_0x5c2bfe['yKUjf'])[_0x2697f7(0x171)]()[_0x2697f7(0x165)](_0x5c2bfe[_0x2697f7(0x16b)])[_0x2697f7(0x16c)](HELP_FOOTER_MESSAGE);}module[a13_0x3d1214(0x16d)]=run;
@@ -1 +1 @@
1
- const a14_0x305d03=a14_0x2d1d;function a14_0x2d1d(_0x2acaa6,_0x3e8353){const _0x31fedf=a14_0x31fe();return a14_0x2d1d=function(_0x2d1d6d,_0xd45ff){_0x2d1d6d=_0x2d1d6d-0xdb;let _0x1746a4=_0x31fedf[_0x2d1d6d];return _0x1746a4;},a14_0x2d1d(_0x2acaa6,_0x3e8353);}(function(_0x2e3f76,_0x371c2c){const _0x2564e4=a14_0x2d1d,_0x5bbfde=_0x2e3f76();while(!![]){try{const _0x4e203c=-parseInt(_0x2564e4(0x1af))/0x1*(parseInt(_0x2564e4(0x14a))/0x2)+parseInt(_0x2564e4(0x1aa))/0x3+parseInt(_0x2564e4(0x1e6))/0x4*(parseInt(_0x2564e4(0x11d))/0x5)+-parseInt(_0x2564e4(0xe1))/0x6+parseInt(_0x2564e4(0xe9))/0x7*(parseInt(_0x2564e4(0x15c))/0x8)+parseInt(_0x2564e4(0x1bc))/0x9+-parseInt(_0x2564e4(0x1b1))/0xa;if(_0x4e203c===_0x371c2c)break;else _0x5bbfde['push'](_0x5bbfde['shift']());}catch(_0xbc8048){_0x5bbfde['push'](_0x5bbfde['shift']());}}}(a14_0x31fe,0xef217));const fs=require('fs'),yaml=require(a14_0x305d03(0x19d)),path=require('path'),awsSDK=require('aws-sdk'),{AWS,global_registry}=require('../config/constants'),{logger}=require(a14_0x305d03(0xfa));exports['configureAWSIfNotConfigured']=()=>{const _0x28dca1=a14_0x305d03,_0x52d0f9={'nYWqH':function(_0x2cd881,_0x4d34bc){return _0x2cd881(_0x4d34bc);},'nCdyY':function(_0x3ee4fb,_0x40cd79){return _0x3ee4fb!==_0x40cd79;},'Mfqyt':_0x28dca1(0x140)};!this[_0x28dca1(0x165)]()&&(_0x52d0f9[_0x28dca1(0x135)](_0x52d0f9['Mfqyt'],_0x52d0f9[_0x28dca1(0x1f9)])?(_0x4003b4[_0x28dca1(0x1ba)](_0x28dca1(0x17a)+_0x5f9892+_0x28dca1(0x209)+_0x2b736d+_0x28dca1(0x15e)+_0xfbecfe),_0x52d0f9[_0x28dca1(0x1a1)](_0x570a29,[![],[]])):this[_0x28dca1(0x162)]());},exports['isClusterPresent']=async(_0x202e5a,_0x541ed0)=>{const _0x14d849=a14_0x305d03,_0x7d829f={'nqmYV':function(_0x1208b9,_0x29ecef){return _0x1208b9(_0x29ecef);},'mXlqS':function(_0x1cb8d6,_0x5b94c7){return _0x1cb8d6===_0x5b94c7;},'cdVUa':_0x14d849(0xdb)};if(_0x7d829f[_0x14d849(0x143)](isAWS,_0x202e5a))return _0x7d829f[_0x14d849(0x16a)](_0x7d829f[_0x14d849(0x19a)],_0x7d829f['cdVUa'])?(this[_0x14d849(0x104)](),_0x7d829f[_0x14d849(0x143)](checkAWSClusterCreated,_0x541ed0)):(_0xf5f516['push'](_0x1155c0),![]);},exports[a14_0x305d03(0x163)]=async _0x4115ce=>{const _0x253173=a14_0x305d03,_0x4d49d1={};_0x4d49d1[_0x253173(0x128)]=_0x253173(0x182);const _0x1ba739=_0x4d49d1,_0x55ea51={};_0x55ea51[_0x253173(0x18c)]=_0x1ba739['eqPBR'];const _0x4bcc32=new awsSDK[(_0x253173(0x10b))](_0x55ea51),_0x5cb866={};return _0x5cb866[_0x253173(0x20b)]=_0x4115ce,_0x4bcc32[_0x253173(0x148)](_0x5cb866)[_0x253173(0x1a9)]();},exports['createAuthConfigMap']=async _0x37ae9c=>{const _0x4ec984=a14_0x305d03,_0x1fd40d={};_0x1fd40d[_0x4ec984(0x11a)]=_0x4ec984(0x1fe),_0x1fd40d[_0x4ec984(0x1a7)]=_0x4ec984(0x11c),_0x1fd40d[_0x4ec984(0x137)]=_0x4ec984(0x141),_0x1fd40d[_0x4ec984(0x1db)]=_0x4ec984(0xf9);const _0x50bb6f=_0x1fd40d,_0xf10bd1=await fs[_0x4ec984(0x1cd)](path[_0x4ec984(0x192)](__dirname,'..',_0x50bb6f[_0x4ec984(0x11a)],_0x50bb6f[_0x4ec984(0x1a7)]),_0x50bb6f['mvlKK']),_0x42cd25=yaml['load'](_0xf10bd1);return _0x42cd25[_0x4ec984(0x1f7)][_0x4ec984(0x207)]=_0x42cd25['data'][_0x4ec984(0x207)][_0x4ec984(0x172)](_0x50bb6f[_0x4ec984(0x1db)],_0x37ae9c),_0x42cd25;},exports[a14_0x305d03(0x113)]=async(_0xb449ff,_0x456052)=>{const _0x45069c=a14_0x305d03,_0x582684={};_0x582684[_0x45069c(0x1d9)]=_0x45069c(0x182);const _0x4e30ae=_0x582684,_0x4db8af={};_0x4db8af['apiVersion']=_0x4e30ae[_0x45069c(0x1d9)];const _0x5df473=new awsSDK[(_0x45069c(0x10b))](_0x4db8af),_0x11a928={};return _0x11a928[_0x45069c(0x1a4)]=_0xb449ff,_0x11a928[_0x45069c(0x159)]=_0x456052,_0x5df473['describeNodegroup'](_0x11a928)['promise']();};const isAWS=_0xbd21aa=>{const _0x410b61=a14_0x305d03,_0x3c20ad={'BTnpu':function(_0x28a5a2,_0x5ec5d1){return _0x28a5a2(_0x5ec5d1);},'aMrNf':function(_0x4346b6,_0x5a80f8){return _0x4346b6(_0x5a80f8);},'RybWY':_0x410b61(0x182),'capXy':function(_0x3625f8,_0x17b167){return _0x3625f8===_0x17b167;},'kdtsW':function(_0x49b94d,_0x145f2a){return _0x49b94d===_0x145f2a;},'skrSc':_0x410b61(0x171),'whtIL':'FSdGS'};if(_0x3c20ad[_0x410b61(0x158)](_0xbd21aa,AWS)){if(_0x3c20ad['kdtsW'](_0x3c20ad[_0x410b61(0x185)],_0x3c20ad['whtIL'])){const _0x142d3d={'hGdIn':function(_0x3f479b,_0x46cd44){const _0x2d21ba=_0x410b61;return _0x3c20ad[_0x2d21ba(0x188)](_0x3f479b,_0x46cd44);},'gqXdw':function(_0x2e346f,_0x1cf819){const _0x3da212=_0x410b61;return _0x3c20ad[_0x3da212(0x169)](_0x2e346f,_0x1cf819);}},_0x414ab9={};_0x414ab9[_0x410b61(0x18c)]=_0x3c20ad['RybWY'];const _0x35a592=new _0x591d1d[(_0x410b61(0x10b))](_0x414ab9);_0x35a592[_0x410b61(0x1d8)]()[_0x410b61(0x1a9)]()['then'](_0x3254fa=>{const _0x3dde2b=_0x410b61;_0x3254fa['clusters'][_0x3dde2b(0x1ac)](_0x7cdcb1)&&_0x142d3d[_0x3dde2b(0x1eb)](_0x499d7d,!![]),_0x142d3d[_0x3dde2b(0x1c6)](_0x4ec979,![]);})[_0x410b61(0x110)](_0x43ae0a=>{const _0x2afdbe=_0x410b61;_0x50ce59['error'](_0x43ae0a),_0x142d3d[_0x2afdbe(0x1c6)](_0x590d6c,_0x43ae0a);});}else return!![];}return![];},checkAWSClusterCreated=_0x35999e=>{const _0x4f2e02=a14_0x305d03,_0x11b5bf={'mqlhY':function(_0x1aaf1c,_0x3321e8){return _0x1aaf1c(_0x3321e8);},'bufos':_0x4f2e02(0x116),'QivTK':function(_0x1055b3,_0x3c9723){return _0x1055b3===_0x3c9723;},'lPBpd':_0x4f2e02(0x1c4),'YeSyO':_0x4f2e02(0x16e),'NTXky':function(_0x5e3951,_0x2cf0fc){return _0x5e3951===_0x2cf0fc;},'HckSC':_0x4f2e02(0x20a),'pbuIU':_0x4f2e02(0x1c8),'ZPkLr':function(_0x5ee564,_0x4f4aed){return _0x5ee564(_0x4f4aed);},'sbeAd':function(_0x139fdf,_0x21941d){return _0x139fdf(_0x21941d);},'TVSAw':function(_0x19b582,_0x3bf1a0){return _0x19b582===_0x3bf1a0;},'QdKBP':_0x4f2e02(0x201),'dvtdc':_0x4f2e02(0x1d1),'EniUC':function(_0x167c1a,_0x15994e){return _0x167c1a(_0x15994e);},'KvlQV':function(_0x34aa38,_0x4566f3){return _0x34aa38===_0x4566f3;},'uubkO':_0x4f2e02(0x1b2),'uPIMA':_0x4f2e02(0x154),'haiGE':'2017-11-01'};return new Promise((_0x31192a,_0x36d21e)=>{const _0x2a93a2=_0x4f2e02,_0x2a4675={'eoXOJ':function(_0x3313d1,_0x281aaa){const _0x1c9ef4=a14_0x2d1d;return _0x11b5bf[_0x1c9ef4(0x196)](_0x3313d1,_0x281aaa);},'uNGgJ':_0x11b5bf[_0x2a93a2(0x18b)],'kvnro':function(_0x377efa,_0xa31d20){return _0x11b5bf['QivTK'](_0x377efa,_0xa31d20);},'iewKD':_0x11b5bf['lPBpd'],'ECLSi':_0x11b5bf[_0x2a93a2(0x144)],'rQcIv':function(_0x2b13d9,_0x18c389){const _0x5b2b96=_0x2a93a2;return _0x11b5bf[_0x5b2b96(0x129)](_0x2b13d9,_0x18c389);},'sXLpi':_0x11b5bf['HckSC'],'TKgbA':_0x11b5bf[_0x2a93a2(0x1fc)],'SynLD':function(_0x46868e,_0x450f01){const _0x32f458=_0x2a93a2;return _0x11b5bf[_0x32f458(0x1ef)](_0x46868e,_0x450f01);},'URtpp':function(_0x1a3c0d,_0x386446){const _0x3dd5fc=_0x2a93a2;return _0x11b5bf[_0x3dd5fc(0x19b)](_0x1a3c0d,_0x386446);},'gucke':function(_0xa9fe08,_0x5c7312){return _0x11b5bf['QivTK'](_0xa9fe08,_0x5c7312);},'FEAlG':function(_0x5315e9,_0x336cdc){const _0x304008=_0x2a93a2;return _0x11b5bf[_0x304008(0x1b8)](_0x5315e9,_0x336cdc);},'zigcp':_0x11b5bf[_0x2a93a2(0xe7)],'TwERi':_0x11b5bf[_0x2a93a2(0x205)],'jWxKP':function(_0x443f51,_0x35aa53){const _0x5548b7=_0x2a93a2;return _0x11b5bf[_0x5548b7(0x1c1)](_0x443f51,_0x35aa53);}};if(_0x11b5bf[_0x2a93a2(0xed)](_0x11b5bf[_0x2a93a2(0x1b3)],_0x11b5bf[_0x2a93a2(0x18f)]))return!![];else{const _0x2d5dab={};_0x2d5dab['apiVersion']=_0x11b5bf[_0x2a93a2(0x130)];const _0x266eab=new awsSDK[(_0x2a93a2(0x10b))](_0x2d5dab);_0x266eab[_0x2a93a2(0x1d8)]()['promise']()[_0x2a93a2(0x1ca)](_0xaac6df=>{const _0x5ad8ea=_0x2a93a2,_0x111fbb={'eWkrh':function(_0x3099a8,_0x321c09){const _0x1be880=a14_0x2d1d;return _0x2a4675[_0x1be880(0x1f5)](_0x3099a8,_0x321c09);},'xyIVb':_0x2a4675[_0x5ad8ea(0x14e)]};if(_0x2a4675[_0x5ad8ea(0x16d)](_0x2a4675[_0x5ad8ea(0x1c5)],_0x2a4675[_0x5ad8ea(0xeb)]))_0x111fbb[_0x5ad8ea(0x10a)](_0x4c7b42,{});else{if(_0xaac6df[_0x5ad8ea(0x179)][_0x5ad8ea(0x1ac)](_0x35999e)){if(_0x2a4675[_0x5ad8ea(0x119)](_0x2a4675[_0x5ad8ea(0x123)],_0x2a4675[_0x5ad8ea(0x1dd)])){const _0xd7c3f3={};_0xd7c3f3[_0x5ad8ea(0x18c)]=_0x111fbb[_0x5ad8ea(0xe6)],_0xd7c3f3[_0x5ad8ea(0x10e)]=_0x501caa;const _0xd6db13=new _0x421dcd[(_0x5ad8ea(0x10c))](_0xd7c3f3);_0xd6db13[_0x5ad8ea(0x1de)](_0x404028)[_0x5ad8ea(0x1a9)]()[_0x5ad8ea(0x1ca)](_0x439682=>{const _0x3e71e6=_0x5ad8ea;_0x111fbb[_0x3e71e6(0x10a)](_0x415b46,!![]);})[_0x5ad8ea(0x110)](_0x441b4f=>{const _0x28104a=_0x5ad8ea;_0x1582eb[_0x28104a(0x1ba)]('Cannot\x20find\x20VPC\x20'+_0x14d5e2+_0x28104a(0x209)+_0x4c3a9a+_0x28104a(0x167)),_0x111fbb[_0x28104a(0x10a)](_0x4f77e2,![]);});}else _0x2a4675[_0x5ad8ea(0x17f)](_0x31192a,!![]);}_0x2a4675[_0x5ad8ea(0x106)](_0x31192a,![]);}})[_0x2a93a2(0x110)](_0x255eab=>{const _0x19eedd=_0x2a93a2;if(_0x2a4675[_0x19eedd(0x181)](_0x2a4675[_0x19eedd(0xe3)],_0x2a4675[_0x19eedd(0xdc)]))return _0x2a4675['gucke'](_0x19969a[_0x19eedd(0xee)],!![]);else logger['error'](_0x255eab),_0x2a4675[_0x19eedd(0x18e)](_0x36d21e,_0x255eab);});}});};exports[a14_0x305d03(0x105)]=_0x54178b=>{const _0x4afaf2=a14_0x305d03,_0x39c3cf={'XDiRx':function(_0x1894ed,_0x4f0bc2){return _0x1894ed!==_0x4f0bc2;},'rOxoY':_0x4afaf2(0x120),'pGMxY':function(_0x1e57b1,_0x48a155){return _0x1e57b1(_0x48a155);},'TFiIn':_0x4afaf2(0x195),'Oyuan':_0x4afaf2(0x1a3),'tJrWO':function(_0x50edae,_0x2f76b6){return _0x50edae===_0x2f76b6;},'tLpPI':_0x4afaf2(0x175),'pNYFK':_0x4afaf2(0x116)};return new Promise((_0x26aba8,_0x2d3f98)=>{const _0x5362a6=_0x4afaf2,_0x231acb={'ddzdN':function(_0x4413d6,_0x308a7f){const _0x4dee3b=a14_0x2d1d;return _0x39c3cf[_0x4dee3b(0x13f)](_0x4413d6,_0x308a7f);},'bEqdQ':function(_0x391c14,_0x11cbe6){return _0x39c3cf['XDiRx'](_0x391c14,_0x11cbe6);},'JNvhb':_0x39c3cf[_0x5362a6(0x12f)],'yifYK':_0x39c3cf[_0x5362a6(0x1c9)]};if(_0x39c3cf['tJrWO'](_0x39c3cf[_0x5362a6(0x1ce)],_0x39c3cf['tLpPI'])){const _0x3732a0={};_0x3732a0['apiVersion']=_0x39c3cf[_0x5362a6(0x1d3)],_0x3732a0['region']=_0x54178b;const _0x47de7d=new awsSDK['EC2'](_0x3732a0);_0x47de7d['describeVpcs']()[_0x5362a6(0x1a9)]()[_0x5362a6(0x1ca)](_0x35727f=>{const _0x2a3a11=_0x5362a6,_0x1353db={'TnDfa':function(_0x333450,_0x22d126){const _0xc65ec8=a14_0x2d1d;return _0x231acb[_0xc65ec8(0x17d)](_0x333450,_0x22d126);}};if(_0x231acb[_0x2a3a11(0x1fa)](_0x231acb[_0x2a3a11(0x18d)],_0x231acb['yifYK']))_0x231acb[_0x2a3a11(0x17d)](_0x26aba8,_0x35727f);else{const _0x7908db={'ruQks':function(_0x155823,_0x2c411e){const _0x57da3b=_0x2a3a11;return _0x1353db[_0x57da3b(0x15a)](_0x155823,_0x2c411e);}},_0x52cc78=new _0x2b66f9['S3']();return new _0x1e3965((_0x476020,_0x392cf2)=>{const _0x2fbce0=_0x2a3a11,_0xa4d8ed={};_0xa4d8ed[_0x2fbce0(0x1d0)]=_0x55b227,_0x52cc78['headBucket'](_0xa4d8ed)[_0x2fbce0(0x1a9)]()[_0x2fbce0(0x1ca)](_0x912459=>{const _0xa7eb7=_0x2fbce0;_0x1dfffe[_0xa7eb7(0x1b0)](_0xa7eb7(0x100)+_0x68dce6+_0xa7eb7(0x203)),_0x7908db['ruQks'](_0x476020,!![]);})['catch'](()=>{const _0x28905b=_0x2fbce0;_0x5697aa['info']('Bucket:\x20'+_0x503b15+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x7908db[_0x28905b(0x1ed)](_0x476020,![]);});});}})['catch'](_0x355bbf=>{const _0x2c684e=_0x5362a6;if(_0x39c3cf['XDiRx'](_0x39c3cf[_0x2c684e(0x126)],_0x39c3cf[_0x2c684e(0x126)])){const _0x596db3={};_0x596db3[_0x2c684e(0x10e)]=_0x40a574[_0x2c684e(0x17e)],_0x596db3['accessKeyId']=_0x315560[_0x2c684e(0x1ff)],_0x596db3[_0x2c684e(0x107)]=_0x1da2a7['cloudProviderSecretKey'],_0x3cc182['config'][_0x2c684e(0x19c)](_0x596db3),_0x259835[_0x2c684e(0xee)]=!![];}else logger['error'](_0x2c684e(0x1fd)+_0x355bbf),_0x39c3cf['pGMxY'](_0x2d3f98,_0x355bbf);});}else _0x512fe7[_0x5362a6(0x1ba)](_0x5362a6(0x1fd)+_0xd9ef3c),_0x231acb[_0x5362a6(0x17d)](_0x15b22f,_0x5b1687);});},exports['isVPCPresent']=(_0x22240e,_0x44ea68)=>{const _0x35dce5=a14_0x305d03,_0x3fa4f4={'ZpJLC':function(_0x4dd761,_0x356230){return _0x4dd761(_0x356230);},'ixoHu':function(_0x43ceac,_0x109ad7){return _0x43ceac!==_0x109ad7;},'YrqgG':_0x35dce5(0x15b),'VruFw':_0x35dce5(0x206),'keidX':function(_0x97aad9,_0x33e634){return _0x97aad9===_0x33e634;},'RURgV':_0x35dce5(0x1c0),'ZCNRW':_0x35dce5(0xfc),'sgZfd':function(_0x34ff84,_0x4197d9){return _0x34ff84===_0x4197d9;},'ofQay':_0x35dce5(0xf7),'cYDys':'2016-11-15'},_0x4c0fa5={};_0x4c0fa5['VpcIds']=[_0x22240e];let _0x68c80=_0x4c0fa5;return new Promise((_0xf776ef,_0x561935)=>{const _0x7e19ad=_0x35dce5,_0x351805={'qcmfc':function(_0x27327f,_0x5a72a1){const _0x5478df=a14_0x2d1d;return _0x3fa4f4[_0x5478df(0x145)](_0x27327f,_0x5a72a1);},'LiDRm':function(_0x4056ff,_0x1e54b3){return _0x3fa4f4['ixoHu'](_0x4056ff,_0x1e54b3);},'sDWId':_0x3fa4f4[_0x7e19ad(0x1e0)],'bbwVH':_0x3fa4f4[_0x7e19ad(0x155)],'fbuKh':function(_0x2b205b,_0x2d3e2c){const _0x5d76d7=_0x7e19ad;return _0x3fa4f4[_0x5d76d7(0x1ee)](_0x2b205b,_0x2d3e2c);},'jFOHs':_0x3fa4f4[_0x7e19ad(0x1e4)],'YKExD':_0x3fa4f4[_0x7e19ad(0x164)],'NQegY':function(_0x3e1970,_0x282d17){const _0x3215ab=_0x7e19ad;return _0x3fa4f4[_0x3215ab(0x145)](_0x3e1970,_0x282d17);},'DPCdX':function(_0x975607,_0x2db1a0){const _0x18a648=_0x7e19ad;return _0x3fa4f4[_0x18a648(0x1ee)](_0x975607,_0x2db1a0);}};if(_0x3fa4f4[_0x7e19ad(0xf2)](_0x3fa4f4[_0x7e19ad(0x173)],_0x3fa4f4[_0x7e19ad(0x173)])){const _0x359e49={};_0x359e49[_0x7e19ad(0x18c)]=_0x3fa4f4[_0x7e19ad(0x14b)],_0x359e49['region']=_0x44ea68;const _0x3d0e43=new awsSDK[(_0x7e19ad(0x10c))](_0x359e49);_0x3d0e43[_0x7e19ad(0x1de)](_0x68c80)[_0x7e19ad(0x1a9)]()[_0x7e19ad(0x1ca)](_0xa5ef5a=>{const _0x1ee9fc=_0x7e19ad;_0x351805[_0x1ee9fc(0x12a)](_0x351805['sDWId'],_0x351805['bbwVH'])?_0x351805['qcmfc'](_0xf776ef,!![]):_0x351805[_0x1ee9fc(0x114)](_0x518d9c,_0x75afba);})['catch'](_0xe85a3=>{const _0x23a27a=_0x7e19ad;_0x351805[_0x23a27a(0x178)](_0x351805[_0x23a27a(0x127)],_0x351805[_0x23a27a(0x138)])?this[_0x23a27a(0x162)]():(logger[_0x23a27a(0x1ba)](_0x23a27a(0x1b7)+_0x22240e+_0x23a27a(0x209)+_0x44ea68+_0x23a27a(0x167)),_0x351805['NQegY'](_0xf776ef,![]));});}else{if(_0x351805[_0x7e19ad(0x1d7)](_0xa9ac49,_0x429b93))return!![];return![];}});},exports[a14_0x305d03(0x10d)]=(_0x4d5dcb,_0x4c5a5f,_0x205b11)=>{const _0x437ddb=a14_0x305d03,_0x48aa33={'IUgyX':function(_0x4676eb,_0x479ef1){return _0x4676eb(_0x479ef1);},'WYEMY':_0x437ddb(0x116),'ZHkGy':function(_0x35b49b,_0x1a5e52){return _0x35b49b!==_0x1a5e52;},'JjWnX':_0x437ddb(0x15f),'cPFxB':_0x437ddb(0x117),'hMiwD':_0x437ddb(0x150),'pOYbW':function(_0x29a4a2,_0x1ad168){return _0x29a4a2===_0x1ad168;},'oOSWc':'ZyZkz','PJjwZ':_0x437ddb(0x189),'isNAY':function(_0x1ca382,_0x1cfdb8){return _0x1ca382!==_0x1cfdb8;},'UCZkf':_0x437ddb(0x153),'ubnTZ':_0x437ddb(0x197),'zJQlm':function(_0x38d765,_0x3fc17b){return _0x38d765(_0x3fc17b);},'mWeeX':function(_0x29f0aa,_0x28ffea){return _0x29f0aa===_0x28ffea;},'ejVGD':_0x437ddb(0xfe),'oAyvF':function(_0x3591c9,_0x5c58f8){return _0x3591c9(_0x5c58f8);},'rBzag':_0x437ddb(0xf5),'SdXOg':function(_0x479094,_0x24d8fd){return _0x479094===_0x24d8fd;},'knYiO':'QNvNn','JiGrn':_0x437ddb(0x13d),'XyQtM':_0x437ddb(0x1da)},_0x2e08a9={};_0x2e08a9['Name']=_0x48aa33[_0x437ddb(0x208)],_0x2e08a9[_0x437ddb(0x13c)]=[_0x4c5a5f];const _0x1a5c46={};_0x1a5c46[_0x437ddb(0x1a5)]=[_0x2e08a9];let _0x464dd6=_0x1a5c46;return new Promise((_0x21aaef,_0x3682a4)=>{const _0xe8e2ed=_0x437ddb,_0x3bf15e={'whgSA':function(_0x428b66,_0x401a90){return _0x48aa33['oAyvF'](_0x428b66,_0x401a90);},'YXGup':function(_0xcf088a,_0x3797fa){const _0x1f7797=a14_0x2d1d;return _0x48aa33[_0x1f7797(0xf3)](_0xcf088a,_0x3797fa);},'GNAwt':_0x48aa33[_0xe8e2ed(0x12c)]};if(_0x48aa33[_0xe8e2ed(0x1bd)](_0x48aa33['knYiO'],_0x48aa33['JiGrn']))_0x48aa33[_0xe8e2ed(0x125)](_0x148749,!![]);else{const _0x13550c={};_0x13550c[_0xe8e2ed(0x18c)]=_0x48aa33[_0xe8e2ed(0x1bb)],_0x13550c[_0xe8e2ed(0x10e)]=_0x205b11;const _0x12cc38=new awsSDK['EC2'](_0x13550c);_0x12cc38[_0xe8e2ed(0x191)](_0x464dd6)[_0xe8e2ed(0x1a9)]()[_0xe8e2ed(0x1ca)](_0x36893c=>{const _0x3f9108=_0xe8e2ed,_0x1ee426={'WLRwa':function(_0x40404d,_0x24ce52){const _0x57af21=a14_0x2d1d;return _0x48aa33[_0x57af21(0x125)](_0x40404d,_0x24ce52);},'TJerM':_0x48aa33[_0x3f9108(0x1bb)],'RXPIr':function(_0x215f8b,_0x22a794){const _0x335acf=_0x3f9108;return _0x48aa33[_0x335acf(0x101)](_0x215f8b,_0x22a794);},'WOeJz':_0x48aa33['JjWnX'],'RgGMm':_0x48aa33[_0x3f9108(0x202)],'uEzCK':_0x48aa33[_0x3f9108(0x174)],'JexPf':function(_0x479bd0,_0x55c84d){return _0x48aa33['pOYbW'](_0x479bd0,_0x55c84d);},'TfcXd':_0x48aa33['oOSWc'],'kUZlB':_0x48aa33['PJjwZ']};if(_0x48aa33[_0x3f9108(0xf3)](_0x48aa33[_0x3f9108(0x176)],_0x48aa33[_0x3f9108(0x121)])){const _0x101b31=[],_0x29fdf4=[];_0x36893c[_0x3f9108(0x1ad)]['forEach'](_0x140c83=>{const _0x2455db=_0x3f9108,_0x58e7c3={'DroBA':function(_0x33d1dc,_0x3c2abc){const _0x5d2d23=a14_0x2d1d;return _0x3bf15e[_0x5d2d23(0x193)](_0x33d1dc,_0x3c2abc);}};_0x3bf15e['YXGup'](_0x3bf15e['GNAwt'],_0x3bf15e[_0x2455db(0x10f)])?(_0x3708b4['warn'](_0x2455db(0x100)+_0xf5c02d+_0x2455db(0x203)),_0x58e7c3[_0x2455db(0xe4)](_0x18cf1d,!![])):_0x101b31[_0x2455db(0x166)](_0x140c83[_0x2455db(0x1b5)]);});const _0x131800=_0x4d5dcb['every'](_0x2cfce1=>{const _0x3b0b12=_0x3f9108,_0x517ad4={'UYuoh':function(_0x530e3d,_0x59bed7){const _0x1dc18f=a14_0x2d1d;return _0x1ee426[_0x1dc18f(0x1f6)](_0x530e3d,_0x59bed7);},'GGUls':_0x1ee426[_0x3b0b12(0x139)]};if(_0x1ee426[_0x3b0b12(0x177)](_0x1ee426[_0x3b0b12(0x1f8)],_0x1ee426['WOeJz']))_0x44c167['error'](_0x1f9396),_0x1ee426[_0x3b0b12(0x1f6)](_0x14430,_0x34e9cd);else{if(_0x101b31['includes'](_0x2cfce1)){if(_0x1ee426[_0x3b0b12(0x177)](_0x1ee426['RgGMm'],_0x1ee426[_0x3b0b12(0xfb)]))return!![];else _0x517ad4[_0x3b0b12(0x1a8)](_0x133580,_0x17a357['Regions']);}else{if(_0x1ee426[_0x3b0b12(0x1e1)](_0x1ee426['TfcXd'],_0x1ee426[_0x3b0b12(0xe5)])){const _0x11c9fe={'ryyyv':function(_0x5e1226,_0x30f94a){const _0x3acbef=_0x3b0b12;return _0x517ad4[_0x3acbef(0x1a8)](_0x5e1226,_0x30f94a);}},_0x1ea4f5={};_0x1ea4f5[_0x3b0b12(0x18c)]=_0x517ad4[_0x3b0b12(0x134)],_0x1ea4f5[_0x3b0b12(0x10e)]=_0x1bcf29;const _0x3541bc=new _0x5f0696[(_0x3b0b12(0x10c))](_0x1ea4f5);_0x3541bc[_0x3b0b12(0x1de)]()[_0x3b0b12(0x1a9)]()['then'](_0x3e8e0b=>{const _0xcb7ef6=_0x3b0b12;_0x11c9fe[_0xcb7ef6(0x13e)](_0x5496a5,_0x3e8e0b);})[_0x3b0b12(0x110)](_0x271b3f=>{const _0x35e8a4=_0x3b0b12;_0x22b766[_0x35e8a4(0x1ba)]('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x271b3f),_0x11c9fe[_0x35e8a4(0x13e)](_0x561522,_0x271b3f);});}else return _0x29fdf4[_0x3b0b12(0x166)](_0x2cfce1),![];}}});_0x48aa33[_0x3f9108(0x136)](_0x21aaef,[_0x131800,_0x29fdf4]);}else return _0x2af53c[_0x3f9108(0x1ac)](_0x43c58e)?!![]:(_0x32cc98['push'](_0x15dade),![]);})[_0xe8e2ed(0x110)](_0x13b9db=>{const _0x355e40=_0xe8e2ed,_0x87fe90={'OERHb':function(_0x5ef2b3,_0x3cfb0a){const _0x103517=a14_0x2d1d;return _0x48aa33[_0x103517(0x125)](_0x5ef2b3,_0x3cfb0a);}};_0x48aa33[_0x355e40(0x1fb)](_0x48aa33[_0x355e40(0xff)],_0x48aa33[_0x355e40(0xff)])?(logger['error'](_0x355e40(0x17a)+_0x4c5a5f+_0x355e40(0x209)+_0x205b11+'.\x20Error:\x20'+_0x13b9db),_0x48aa33['IUgyX'](_0x21aaef,[![],[]])):(_0x1fb830[_0x355e40(0x1ba)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x18cd41),_0x87fe90['OERHb'](_0x29a4a8,_0x944add));});}});},exports[a14_0x305d03(0x12b)]=_0x5153bc=>{const _0x5558b6=a14_0x305d03,_0x24e9c8={'LSqPY':function(_0x4a549c,_0x56e390){return _0x4a549c(_0x56e390);},'OYdPU':function(_0x23f181,_0x3f2a2b){return _0x23f181===_0x3f2a2b;},'aHHgN':_0x5558b6(0x16c),'jlGjn':'poeZN','DhTSE':function(_0x2880e7,_0x123620){return _0x2880e7===_0x123620;},'ASkGE':_0x5558b6(0x142),'CZNhg':'eqmvV','zJkPn':function(_0x2e91ac,_0x4ed370){return _0x2e91ac(_0x4ed370);},'EdlEI':function(_0x85588d,_0x28ac42){return _0x85588d!==_0x28ac42;},'GSKLp':_0x5558b6(0xdf)},_0x2e911c=new awsSDK['S3']();return new Promise((_0x4c87c9,_0x1bb9d3)=>{const _0x508805=_0x5558b6,_0x63007d={'zAgWk':function(_0x1e4581,_0x3edbe6){const _0x35ddbe=a14_0x2d1d;return _0x24e9c8[_0x35ddbe(0x187)](_0x1e4581,_0x3edbe6);},'SalVv':function(_0x277486,_0x1a9eb2){return _0x24e9c8['LSqPY'](_0x277486,_0x1a9eb2);},'rCfzp':function(_0x51f2f8,_0x3a0426){const _0x19812f=a14_0x2d1d;return _0x24e9c8[_0x19812f(0x1d4)](_0x51f2f8,_0x3a0426);}};if(_0x24e9c8[_0x508805(0x12d)](_0x24e9c8['GSKLp'],_0x24e9c8['GSKLp']))return this[_0x508805(0x104)](),_0x24e9c8['LSqPY'](_0x2a6e9e,_0x339e93);else{const _0x10b639={};_0x10b639[_0x508805(0x1d0)]=_0x5153bc,_0x2e911c[_0x508805(0x13b)](_0x10b639)[_0x508805(0x1a9)]()[_0x508805(0x1ca)](_0x3f6cb1=>{const _0x31b981=_0x508805;_0x24e9c8[_0x31b981(0x1d2)](_0x24e9c8[_0x31b981(0x18a)],_0x24e9c8['jlGjn'])?_0x63007d[_0x31b981(0x1f3)](_0x48965a,!![]):(logger[_0x31b981(0x1b0)](_0x31b981(0x100)+_0x5153bc+_0x31b981(0x203)),_0x24e9c8[_0x31b981(0x1d4)](_0x4c87c9,!![]));})['catch'](()=>{const _0x18b255=_0x508805;_0x24e9c8[_0x18b255(0x12e)](_0x24e9c8[_0x18b255(0x112)],_0x24e9c8['CZNhg'])?(_0x293ef0['clusters']['includes'](_0x216710)&&_0x63007d['SalVv'](_0x5b340d,!![]),_0x63007d['rCfzp'](_0x394a49,![])):(logger[_0x18b255(0x1bf)](_0x18b255(0x100)+_0x5153bc+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x24e9c8[_0x18b255(0x1d4)](_0x4c87c9,![]));});}});},exports[a14_0x305d03(0x186)]=_0x2c48bc=>{const _0x2d72d7=a14_0x305d03,_0x5d5fba={'Tbcfe':function(_0x26eb34,_0x1018c2){return _0x26eb34===_0x1018c2;},'OhkaG':_0x2d72d7(0xe0),'IaWvM':_0x2d72d7(0x15d),'Nkoqm':function(_0x1b5e4a,_0x3e0242){return _0x1b5e4a(_0x3e0242);},'HCUWB':_0x2d72d7(0x116),'pLFUq':function(_0x565985,_0x49e4e7){return _0x565985!==_0x49e4e7;},'NExWe':_0x2d72d7(0x1e8),'PFWMr':function(_0x3a44bc,_0x180b07){return _0x3a44bc(_0x180b07);},'XbFdf':_0x2d72d7(0x182),'hgBKb':function(_0x5bb454,_0x1ffa84){return _0x5bb454===_0x1ffa84;},'CyOxY':_0x2d72d7(0x1f0)};return new Promise((_0x36c900,_0x3da561)=>{const _0xd803e6=_0x2d72d7,_0x1e666e={};_0x1e666e[_0xd803e6(0x1dc)]=_0x5d5fba[_0xd803e6(0x11e)];const _0x1cfb7c=_0x1e666e;if(_0x5d5fba[_0xd803e6(0x160)](_0x5d5fba[_0xd803e6(0x122)],_0x5d5fba[_0xd803e6(0x122)])){const _0x39d566={};_0x39d566['apiVersion']=_0x5d5fba[_0xd803e6(0x11b)],_0x39d566[_0xd803e6(0x10e)]=_0x2c48bc;const _0x3186a0=new awsSDK[(_0xd803e6(0x10c))](_0x39d566);_0x3186a0[_0xd803e6(0x191)]()[_0xd803e6(0x1a9)]()['then'](_0x213c00=>{const _0x421ff9=_0xd803e6;if(_0x5d5fba[_0x421ff9(0x1a2)](_0x5d5fba[_0x421ff9(0xf1)],_0x5d5fba[_0x421ff9(0x1e3)])){const _0x4fe587={};_0x4fe587[_0x421ff9(0x18c)]=_0x1cfb7c[_0x421ff9(0x1dc)];const _0x278055=new _0x1c9a77[(_0x421ff9(0x10b))](_0x4fe587),_0x1207bc={};return _0x1207bc[_0x421ff9(0x20b)]=_0x39ef48,_0x278055['describeCluster'](_0x1207bc)[_0x421ff9(0x1a9)]();}else _0x5d5fba['Nkoqm'](_0x36c900,_0x213c00);})[_0xd803e6(0x110)](_0x16cc49=>{const _0x476f42=_0xd803e6,_0x3f7e69={'jdolZ':function(_0x592312,_0x72b35e){const _0xeb5d29=a14_0x2d1d;return _0x5d5fba[_0xeb5d29(0x109)](_0x592312,_0x72b35e);},'ejXFi':_0x5d5fba[_0x476f42(0x11b)]};if(_0x5d5fba[_0x476f42(0x198)](_0x5d5fba[_0x476f42(0x1cf)],_0x5d5fba['NExWe'])){const _0x2ec6a9={'typjC':function(_0x4e17da,_0x4f8496){const _0x2bc46c=_0x476f42;return _0x3f7e69[_0x2bc46c(0xf0)](_0x4e17da,_0x4f8496);},'NqSHj':function(_0x295880,_0x47279d){const _0x39da8d=_0x476f42;return _0x3f7e69[_0x39da8d(0xf0)](_0x295880,_0x47279d);},'Ragey':_0x3f7e69[_0x476f42(0x1b4)]};return new _0x1b4e9f((_0x5c99aa,_0xeb8471)=>{const _0x5a1952=_0x476f42,_0x430c2b={'KjnST':function(_0x3aa4e5,_0x38748d){const _0x49025d=a14_0x2d1d;return _0x2ec6a9[_0x49025d(0x19f)](_0x3aa4e5,_0x38748d);}},_0x58a8ca={};_0x58a8ca[_0x5a1952(0x18c)]=_0x2ec6a9[_0x5a1952(0xe8)],_0x58a8ca['region']=_0x50dfca;const _0x18677b=new _0x2882a8[(_0x5a1952(0x10c))](_0x58a8ca);_0x18677b[_0x5a1952(0x1de)]()[_0x5a1952(0x1a9)]()[_0x5a1952(0x1ca)](_0x524fe2=>{const _0x4d5796=_0x5a1952;_0x2ec6a9[_0x4d5796(0xef)](_0x5c99aa,_0x524fe2);})['catch'](_0x2f6878=>{const _0x3e8643=_0x5a1952;_0x410603[_0x3e8643(0x1ba)](_0x3e8643(0x1fd)+_0x2f6878),_0x430c2b[_0x3e8643(0x1ea)](_0xeb8471,_0x2f6878);});});}else logger['error'](_0x476f42(0xde)+_0x16cc49),_0x5d5fba[_0x476f42(0x132)](_0x3da561,_0x16cc49);});}else{const _0x45d8e6={};_0x45d8e6[_0xd803e6(0x18c)]=_0x1cfb7c[_0xd803e6(0x1dc)];const _0x38953a=new _0x226662[(_0xd803e6(0x10b))](_0x45d8e6),_0x5d73e2={};return _0x5d73e2[_0xd803e6(0x1a4)]=_0x28da66,_0x5d73e2[_0xd803e6(0x159)]=_0x25a2d7,_0x38953a[_0xd803e6(0x1c3)](_0x5d73e2)[_0xd803e6(0x1a9)]();}});},exports['fetchSecurityGroups']=_0x47617e=>{const _0x3d9c6b=a14_0x305d03,_0xcc1eb2={'rkmPA':function(_0x4d1a5b,_0x9086ad){return _0x4d1a5b(_0x9086ad);},'rBCMW':_0x3d9c6b(0x116),'JqeyT':function(_0x335b30,_0x5b001c){return _0x335b30!==_0x5b001c;},'DRqeY':_0x3d9c6b(0x1e9),'RzJpX':function(_0x4f7c26,_0x2e2b69){return _0x4f7c26===_0x2e2b69;},'omTch':_0x3d9c6b(0xf4),'syWbI':'Tfgwn','BGjIP':function(_0x25d6d6,_0x3c77ab){return _0x25d6d6(_0x3c77ab);},'KudlJ':function(_0x5dfabb,_0x1e010f){return _0x5dfabb(_0x1e010f);},'xsXeB':function(_0x3c1ca9,_0x3a225f){return _0x3c1ca9===_0x3a225f;},'VcaGG':'tYSTb'};return new Promise((_0x325106,_0x4aca3e)=>{const _0x2c9e94=_0x3d9c6b,_0x538615={'szTwR':function(_0xd65d8,_0x1281db){const _0x50f8b0=a14_0x2d1d;return _0xcc1eb2[_0x50f8b0(0x184)](_0xd65d8,_0x1281db);},'WjRNE':_0xcc1eb2['rBCMW'],'qzWyZ':function(_0x10c977,_0x2bdfc9){const _0x347928=a14_0x2d1d;return _0xcc1eb2[_0x347928(0x16b)](_0x10c977,_0x2bdfc9);},'NUSaB':_0xcc1eb2[_0x2c9e94(0x180)],'HdCPT':function(_0x87e32c,_0x507805){const _0x4bc616=_0x2c9e94;return _0xcc1eb2[_0x4bc616(0x184)](_0x87e32c,_0x507805);},'EXAaC':function(_0x2089f6,_0x401260){const _0x59d188=_0x2c9e94;return _0xcc1eb2[_0x59d188(0x184)](_0x2089f6,_0x401260);},'BhBKS':function(_0x421938,_0xf63412){const _0x388c8b=_0x2c9e94;return _0xcc1eb2[_0x388c8b(0xec)](_0x421938,_0xf63412);},'oTYmb':_0xcc1eb2[_0x2c9e94(0x14d)],'KeHgd':_0xcc1eb2[_0x2c9e94(0x1d6)],'JiOnV':function(_0x489cd5,_0x15c5d4){return _0xcc1eb2['BGjIP'](_0x489cd5,_0x15c5d4);},'ZalsC':function(_0x1d64ef,_0x2c112b){const _0x5497ee=_0x2c9e94;return _0xcc1eb2[_0x5497ee(0xe2)](_0x1d64ef,_0x2c112b);},'gEttp':function(_0x108ead,_0x125d20){return _0xcc1eb2['KudlJ'](_0x108ead,_0x125d20);}};if(_0xcc1eb2[_0x2c9e94(0x124)](_0xcc1eb2[_0x2c9e94(0x17b)],_0xcc1eb2[_0x2c9e94(0x17b)])){const _0x3fdeec={};_0x3fdeec[_0x2c9e94(0x18c)]=_0xcc1eb2['rBCMW'],_0x3fdeec['region']=_0x47617e;const _0x2d0420=new awsSDK[(_0x2c9e94(0x10c))](_0x3fdeec);_0x2d0420[_0x2c9e94(0x14c)]()[_0x2c9e94(0x1a9)]()[_0x2c9e94(0x1ca)](_0x36ec40=>{const _0x27d9fa=_0x2c9e94,_0x3b7fd4={'wjrGr':function(_0x3ccfc7,_0xc61e72){const _0xce384=a14_0x2d1d;return _0x538615[_0xce384(0x19e)](_0x3ccfc7,_0xc61e72);},'FAbvA':_0x538615[_0x27d9fa(0x111)]};if(_0x538615[_0x27d9fa(0xf8)](_0x538615[_0x27d9fa(0x1cb)],_0x538615['NUSaB'])){const _0x44ee8a={'iOMDl':function(_0x2054a2,_0x209978){const _0xfa1a34=_0x27d9fa;return _0x3b7fd4[_0xfa1a34(0x1df)](_0x2054a2,_0x209978);}},_0x4e6054={};_0x4e6054[_0x27d9fa(0xf6)]=[_0x221090];let _0x17a247=_0x4e6054;return new _0x59582a((_0x18400e,_0x4c0cc8)=>{const _0x38bd55=_0x27d9fa,_0x4b4654={'nMYFu':function(_0x19e0b8,_0x31af3f){const _0x226108=a14_0x2d1d;return _0x3b7fd4[_0x226108(0x1df)](_0x19e0b8,_0x31af3f);}},_0x1881e0={};_0x1881e0['apiVersion']=_0x3b7fd4[_0x38bd55(0x1c2)],_0x1881e0[_0x38bd55(0x10e)]=_0x59b94c;const _0x36f49f=new _0x1dad5c[(_0x38bd55(0x10c))](_0x1881e0);_0x36f49f[_0x38bd55(0x1de)](_0x17a247)['promise']()[_0x38bd55(0x1ca)](_0x347a95=>{const _0x6a7e92=_0x38bd55;_0x44ee8a[_0x6a7e92(0xea)](_0x18400e,!![]);})[_0x38bd55(0x110)](_0x1fc9fa=>{const _0xf0d924=_0x38bd55;_0xce536e[_0xf0d924(0x1ba)](_0xf0d924(0x1b7)+_0x4dd093+_0xf0d924(0x209)+_0x5ba0e5+_0xf0d924(0x167)),_0x4b4654[_0xf0d924(0x152)](_0x18400e,![]);});});}else _0x538615[_0x27d9fa(0x149)](_0x325106,_0x36ec40);})['catch'](_0x11c11c=>{const _0x59123d=_0x2c9e94,_0x182298={'gJhsn':function(_0x42102,_0x52e87f){const _0x48b15c=a14_0x2d1d;return _0x538615[_0x48b15c(0x190)](_0x42102,_0x52e87f);},'IXCeS':_0x538615[_0x59123d(0x111)]};if(_0x538615[_0x59123d(0x1f4)](_0x538615['oTYmb'],_0x538615[_0x59123d(0x1ec)]))return new _0x403de2((_0x18d849,_0x35e805)=>{const _0x5a8757=_0x59123d,_0x7924d6={'DBmZw':function(_0xda9412,_0x2c7582){const _0x4cbb5b=a14_0x2d1d;return _0x182298[_0x4cbb5b(0x194)](_0xda9412,_0x2c7582);}},_0x3a9636={};_0x3a9636['apiVersion']=_0x182298[_0x5a8757(0x146)],_0x3a9636[_0x5a8757(0x10e)]=_0x33c019;const _0x46b1a3=new _0x47c351[(_0x5a8757(0x10c))](_0x3a9636);_0x46b1a3['describeSecurityGroups']()[_0x5a8757(0x1a9)]()[_0x5a8757(0x1ca)](_0x4324cb=>{_0x7924d6['DBmZw'](_0x18d849,_0x4324cb);})[_0x5a8757(0x110)](_0x3bb0c4=>{const _0x7fe8a3=_0x5a8757;_0x110fd1['error'](_0x7fe8a3(0x131)+_0x3bb0c4),_0x7924d6[_0x7fe8a3(0x1b9)](_0x35e805,_0x3bb0c4);});});else logger[_0x59123d(0x1ba)](_0x59123d(0x131)+_0x11c11c),_0x538615[_0x59123d(0x102)](_0x4aca3e,_0x11c11c);});}else{const _0x449ebb={};_0x449ebb[_0x2c9e94(0x1d0)]=_0x2b274d,_0x3cb383[_0x2c9e94(0x13b)](_0x449ebb)[_0x2c9e94(0x1a9)]()[_0x2c9e94(0x1ca)](_0x500ce8=>{const _0x54f651=_0x2c9e94;_0x134976[_0x54f651(0x1b0)](_0x54f651(0x100)+_0x1f3f0b+_0x54f651(0x203)),_0x538615[_0x54f651(0xdd)](_0x200554,!![]);})[_0x2c9e94(0x110)](()=>{const _0x4db6af=_0x2c9e94;_0x278b1d[_0x4db6af(0x1bf)](_0x4db6af(0x100)+_0x155746+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x538615[_0x4db6af(0x200)](_0x1ac3bf,![]);});}});},exports[a14_0x305d03(0x103)]=()=>{const _0x447697=a14_0x305d03,_0x46321e={'hRhYu':function(_0x2ebcc4,_0x528546){return _0x2ebcc4(_0x528546);},'PXmZH':function(_0x453369,_0x2646c1){return _0x453369(_0x2646c1);},'lWcjB':function(_0x3ccbd0,_0x2954aa){return _0x3ccbd0===_0x2954aa;},'XUbGp':_0x447697(0xfd),'KFmeb':function(_0x1f4ad5,_0xfad0e0){return _0x1f4ad5!==_0xfad0e0;},'fFhcV':function(_0x1a7826,_0x1ad563){return _0x1a7826===_0x1ad563;},'fGymN':'nhMIS','XqAMV':function(_0x5b7018,_0x155bbd){return _0x5b7018(_0x155bbd);},'pxsDA':function(_0x4bf48a,_0x5be007){return _0x4bf48a===_0x5be007;},'kysFl':_0x447697(0x16f),'MasCM':_0x447697(0x151),'pGiQa':function(_0x1307f5,_0x3d4c48){return _0x1307f5(_0x3d4c48);},'COhJS':function(_0x4813f4,_0x3489f2){return _0x4813f4(_0x3489f2);},'FCYdG':function(_0x234eeb,_0x3b09eb){return _0x234eeb(_0x3b09eb);},'ldSMy':_0x447697(0x156),'vZjBD':_0x447697(0x17c),'pnUon':_0x447697(0x115),'SaYfC':_0x447697(0x116)};return new Promise((_0x4bf377,_0x2c14e1)=>{const _0xd6f991=_0x447697,_0x38e15b={'MRRwP':function(_0x1726be,_0x293d2f){const _0x24b086=a14_0x2d1d;return _0x46321e[_0x24b086(0x183)](_0x1726be,_0x293d2f);},'xDXpX':function(_0x457285,_0x28bfe9){const _0x41cdf5=a14_0x2d1d;return _0x46321e[_0x41cdf5(0x168)](_0x457285,_0x28bfe9);},'ZyiKs':function(_0x464e50,_0x9f55f3){return _0x46321e['PXmZH'](_0x464e50,_0x9f55f3);},'XUfaP':function(_0x19dd31,_0x115469){const _0x1a7c58=a14_0x2d1d;return _0x46321e[_0x1a7c58(0x108)](_0x19dd31,_0x115469);},'wPyqn':_0x46321e[_0xd6f991(0x1be)]};if(_0x46321e[_0xd6f991(0x157)](_0x46321e['vZjBD'],_0x46321e[_0xd6f991(0x199)]))_0x4de971[_0xd6f991(0x1ba)](_0xd6f991(0xde)+_0x1d9976),_0x46321e[_0xd6f991(0x1a0)](_0x4f98c1,_0x255783);else{const _0x6c7cdf={};_0x6c7cdf[_0xd6f991(0x18c)]=_0x46321e[_0xd6f991(0x1e5)];const _0x1df193=new awsSDK[(_0xd6f991(0x10c))](_0x6c7cdf);_0x1df193['describeRegions']()[_0xd6f991(0x1a9)]()[_0xd6f991(0x1ca)]((_0x328698,_0x4dcec9)=>{const _0x96f17e=_0xd6f991,_0x2381d9={'YCDwZ':function(_0x22e912,_0x30644d){const _0x4ce5c3=a14_0x2d1d;return _0x46321e[_0x4ce5c3(0x147)](_0x22e912,_0x30644d);}};if(_0x46321e[_0x96f17e(0x157)](_0x46321e[_0x96f17e(0x1ab)],_0x46321e[_0x96f17e(0x1ab)])){if(_0x46321e[_0x96f17e(0x108)](_0x328698,undefined)&&_0x46321e[_0x96f17e(0x108)](_0x328698[_0x96f17e(0x11f)],undefined))_0x46321e[_0x96f17e(0x14f)](_0x46321e[_0x96f17e(0x161)],_0x46321e[_0x96f17e(0x161)])?_0x46321e[_0x96f17e(0x118)](_0x4bf377,_0x328698[_0x96f17e(0x11f)]):_0x2381d9[_0x96f17e(0x133)](_0x4a3000,_0xe953e9);else{if(_0x46321e[_0x96f17e(0x1ae)](_0x46321e[_0x96f17e(0x170)],_0x46321e[_0x96f17e(0x1f2)])){if(_0x38e15b[_0x96f17e(0x204)](_0x5077f1,_0x53b4b7))return this[_0x96f17e(0x104)](),_0x38e15b['xDXpX'](_0x278ba6,_0x10b9be);}else _0x46321e['pGiQa'](_0x4bf377,{});}}else _0x50f88b['error']('Cannot\x20find\x20VPC\x20'+_0x1e621b+_0x96f17e(0x209)+_0x58c314+_0x96f17e(0x167)),_0x38e15b[_0x96f17e(0x1cc)](_0x1885fc,![]);})[_0xd6f991(0x110)](_0x576151=>{const _0x55cf82=_0xd6f991;_0x38e15b[_0x55cf82(0x1f1)](_0x38e15b[_0x55cf82(0x13a)],_0x38e15b[_0x55cf82(0x13a)])?_0x38e15b[_0x55cf82(0x1e7)](_0xc01bf6,_0x4f9776):(logger['error'](_0x55cf82(0x1c7)+_0x576151),_0x38e15b[_0x55cf82(0x1cc)](_0x2c14e1,_0x576151));});}});},exports[a14_0x305d03(0x165)]=()=>{const _0x47a63b=a14_0x305d03,_0x5aaaa1={};_0x5aaaa1[_0x47a63b(0x1b6)]=function(_0x53687,_0x298b67){return _0x53687===_0x298b67;};const _0x193700=_0x5aaaa1;return _0x193700[_0x47a63b(0x1b6)](global_registry[_0x47a63b(0xee)],!![]);},exports[a14_0x305d03(0x162)]=()=>{const _0x3d00a0=a14_0x305d03,_0x4e84aa={};_0x4e84aa[_0x3d00a0(0x10e)]=global_registry['clusterRegion'],_0x4e84aa['accessKeyId']=global_registry['cloudProviderAccessKey'],_0x4e84aa[_0x3d00a0(0x107)]=global_registry[_0x3d00a0(0x1a6)],awsSDK[_0x3d00a0(0x1d5)][_0x3d00a0(0x19c)](_0x4e84aa),global_registry[_0x3d00a0(0xee)]=!![];},exports[a14_0x305d03(0x1e2)]=awsSDK;function a14_0x31fe(){const _0x501f27=['UCZkf','RXPIr','fbuKh','clusters','Cannot\x20find\x20subnets\x20','VcaGG','McEFU','ddzdN','clusterRegion','SynLD','DRqeY','FEAlG','2017-11-01','COhJS','rkmPA','skrSc','fetchSubnets','zJkPn','BTnpu','SgpGb','aHHgN','bufos','apiVersion','JNvhb','jWxKP','uPIMA','EXAaC','describeSubnets','join','whgSA','gJhsn','JnLss','mqlhY','mrLgA','pLFUq','pnUon','cdVUa','sbeAd','update','js-yaml','szTwR','NqSHj','hRhYu','nYWqH','Tbcfe','YgSVu','clusterName','Filters','cloudProviderSecretKey','WtXCc','UYuoh','promise','5243499aQHhkm','XUbGp','includes','Subnets','pxsDA','1232731YXnXkG','warn','5477980SdzEZS','LbtWS','uubkO','ejXFi','SubnetId','EGkpD','Cannot\x20find\x20VPC\x20','TVSAw','DBmZw','error','WYEMY','12485844eXeevY','SdXOg','ldSMy','info','afYXv','EniUC','FAbvA','describeNodegroup','lvvBF','iewKD','gqXdw','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','TGeOg','Oyuan','then','NUSaB','ZyiKs','readFileAsync','tLpPI','NExWe','Bucket','gUlna','OYdPU','pNYFK','LSqPY','config','syWbI','DPCdX','listClusters','PkCBP','vpc-id','CzvPf','ExAzg','TKgbA','describeVpcs','wjrGr','YrqgG','JexPf','awsObj','IaWvM','RURgV','SaYfC','8ihqKdv','xDXpX','sytIA','KEuWl','KjnST','hGdIn','KeHgd','ruQks','keidX','ZPkLr','hxFbE','XUfaP','MasCM','zAgWk','BhBKS','eoXOJ','WLRwa','data','WOeJz','Mfqyt','bEqdQ','mWeeX','pbuIU','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','templates','cloudProviderAccessKey','gEttp','kDtfP','cPFxB','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','MRRwP','dvtdc','oPwjJ','mapRoles','XyQtM','\x20in\x20region\x20','ATmta','name','cAFsW','TwERi','ZalsC','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','BXsfV','TZCpV','10612764Cjjwii','KudlJ','zigcp','DroBA','kUZlB','xyIVb','QdKBP','Ragey','2732919Lqazze','iOMDl','ECLSi','RzJpX','KvlQV','awsConfigSet','typjC','jdolZ','OhkaG','sgZfd','isNAY','nXhGK','PmlHG','VpcIds','pewFy','qzWyZ','<ARN>','../config/logger','uEzCK','OsxDO','YnrYh','cLvao','ejVGD','Bucket:\x20','ZHkGy','JiOnV','getAWSRegions','configureAWSIfNotConfigured','fetchVPCs','URtpp','secretAccessKey','KFmeb','Nkoqm','eWkrh','EKS','EC2','isSubnetsValid','region','GNAwt','catch','WjRNE','ASkGE','getNodeGroupInfo','qcmfc','ylXlW','2016-11-15','PGAmN','XqAMV','rQcIv','mLDYk','HCUWB','aws-auth-cm.yaml','556005lNvqiu','XbFdf','Regions','jAKoc','ubnTZ','CyOxY','sXLpi','xsXeB','IUgyX','rOxoY','jFOHs','eqPBR','NTXky','LiDRm','isBucketPresent','rBzag','EdlEI','DhTSE','TFiIn','haiGE','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','PFWMr','YCDwZ','GGUls','nCdyY','zJQlm','mvlKK','YKExD','TJerM','wPyqn','headBucket','Values','aUpPq','ryyyv','pGMxY','JSZKs','utf-8','nFMVS','nqmYV','YeSyO','ZpJLC','IXCeS','PXmZH','describeCluster','HdCPT','2uhnEFT','cYDys','describeSecurityGroups','omTch','uNGgJ','fFhcV','dPhBs','nthCV','nMYFu','ztHAD','YROqm','VruFw','czuzV','lWcjB','capXy','nodegroupName','TnDfa','eNmcR','24SSAEtV','MwvoL','.\x20Error:\x20','tAnLn','hgBKb','fGymN','setAWSConfig','getClusterInfo','ZCNRW','isAWSConfigured','push','.\x20Please\x20Check\x20and\x20try\x20again','FCYdG','aMrNf','mXlqS','JqeyT','PbDNc','kvnro','DhSyD','dbKjU','kysFl','BAJtp','replace','ofQay','hMiwD','PFvKa'];a14_0x31fe=function(){return _0x501f27;};return a14_0x31fe();}
1
+ function a14_0x2aec(){const _0x592645=['UcKix','Regions','isBucketPresent','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','219804gbNtME','XwUQT','xzzHv','update','mVrKD','GAlKX','cbssT','secretAccessKey','541898QPXRuN','cMWtB','FhIGj','fetchSecurityGroups','Gcpsh','69FHaUOq','HsBob','wrgCb','ezjKt','FjkGK','zCbID','294650sbsUPG','1551832cOQqAh','PhMCz','ZobaT','EYqmZ','hxyOb','NfXkz','RxhUa','ktoee','apiVersion','UfCNf','Cannot\x20find\x20subnets\x20','GtKJb','KqlcB','VEGrJ','describeVpcs','xcdnq','qWOce','HaUSX','QojJt','iqUnT','KBYAl','LSnoU','Filters','warn','EtuNM','readFileAsync','2016-11-15','BvLhN','aws-auth-cm.yaml','ZeGOE','jQHFv','region','zCpWG','FhTAM','tbqVB','hHBNE','kuYjw','uYEhb','getNodeGroupInfo','SZlEq','clusters','mapRoles','SXtCv','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','KcayP','../config/constants','MKjZq','XMWTG','rDeVo','promise','iZwjE','clusterName','qplbh','\x20in\x20region\x20','GVgAV','oreaF','OlyMr','XGihn','catch','ddvzu','awsConfigSet','ArfYo','xyUdL','OboHH','VZSvK','WgHDn','uMuLA','rYwyi','Iwhie','setAWSConfig','cloudProviderSecretKey','KxrKq','Bucket:\x20','OuKER','yyfWB','kkpla','254KjqSzL','86192IgjQOE','uulOW','lfkvx','fCCix','913eOJIbi','RLrjC','AfmcQ','createAuthConfigMap','Iwumi','oWivi','xqNfX','RRsRg','OCNHX','HzPys','name','dOgaN','zKsGV','describeSubnets','PvXXL','yeIcR','mVKUC','FMTds','bdfaO','Bucket','wBXlk','fiVZF','IgkAY','fyWNF','amBSp','VYUgt','NXQwS','xiJri','IpisO','Subnets','replace','aQJmp','fetchSubnets','.\x20Error:\x20','MaZzp','UJbzK','ttNEl','gHuHq','OQPKH','EC2','nodegroupName','wQfzX','sBhTh','eDhPf','ZjlFR','iHOmo','wOsbK','isSubnetsValid','ZMuIu','jmdUi','then','boEbW','pAvpb','vsvJA','qKtKc','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','cloudProviderAccessKey','PFAoL','SjVrw','BnFFt','join','RxkoM','nPPQE','fzGul','sAcaL','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','hFhOu','PWjMf','3528820hThklM','FKLlP','vpc-id','isVPCPresent','XHmXQ','qdhfH','UsdQL','laSAG','HCSNt','mSqkZ','FjFct','accessKeyId','ipgei','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','UgVVp','gcLpY','pdZyr','UAzqR','AqYzt','MQDPT','hLcNc','PCUGB','WMGRh','DCfHw','yjxwt','TkCHC','VGcxl','.\x20Please\x20Check\x20and\x20try\x20again','qXLSh','oyCsL','Values','Cannot\x20find\x20VPC\x20','isClusterPresent','describeNodegroup','cCoql','push','RJQKP','TeNsO','configureAWSIfNotConfigured','BWWaM','UApSL','error','VlVrB','SubnetId','jciSn','fetchVPCs','../config/logger','30gSqdwi','lGWMy','VpcIds','qEcjB','THTZd','describeSecurityGroups','describeCluster','config','EBczg','dXvmQ','2278rYMLFt','getClusterInfo','mjOoX','fjxVF','vkzBs','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','loDlQ','data','tbcel','info','sBSlj','uIVHL','wsoAA','pUkAV','tKFXQ','iLuKN','cEtzg','PXjsg','lgjrp','zSfbb','EKS','load','kenvY','ejoIt','nMhXW','RljLb','cQgff','includes','lXEkF','<ARN>','isAWSConfigured','JrJmc','vbwfB','headBucket','armox','aordI','ZmptI','hNncD','clusterRegion','frrFf','THunD','fWfou','LkQoc','yljtF','YKRTb','nXlWd','fJsEA','vrJEk','GfPDa','KtrEe','jBzwc','KbQQj','Name','18tXCUkQ','jSZEb','vMnfj','sqZBs','uorcG','describeRegions','BiEZz','GhOxJ','tempU','2017-11-01','listClusters','eiKkf','fJFwd','fbPdJ','XkvnH'];a14_0x2aec=function(){return _0x592645;};return a14_0x2aec();}const a14_0xbbe818=a14_0x57e9;function a14_0x57e9(_0x189ae8,_0x5abafb){const _0x2aec63=a14_0x2aec();return a14_0x57e9=function(_0x57e90d,_0x59d522){_0x57e90d=_0x57e90d-0x75;let _0x119ad0=_0x2aec63[_0x57e90d];return _0x119ad0;},a14_0x57e9(_0x189ae8,_0x5abafb);}(function(_0x5e7a71,_0x5e1588){const _0x38a614=a14_0x57e9,_0x2b9263=_0x5e7a71();while(!![]){try{const _0x178d39=parseInt(_0x38a614(0x151))/0x1*(parseInt(_0x38a614(0xa9))/0x2)+-parseInt(_0x38a614(0xfe))/0x3*(parseInt(_0x38a614(0x152))/0x4)+parseInt(_0x38a614(0x104))/0x5*(-parseInt(_0x38a614(0x9f))/0x6)+parseInt(_0x38a614(0xf9))/0x7+-parseInt(_0x38a614(0x105))/0x8*(parseInt(_0x38a614(0xde))/0x9)+-parseInt(_0x38a614(0x19a))/0xa+parseInt(_0x38a614(0x156))/0xb*(parseInt(_0x38a614(0xf1))/0xc);if(_0x178d39===_0x5e1588)break;else _0x2b9263['push'](_0x2b9263['shift']());}catch(_0x2c10da){_0x2b9263['push'](_0x2b9263['shift']());}}}(a14_0x2aec,0x56e61));const fs=require('fs'),yaml=require('js-yaml'),path=require('path'),awsSDK=require('aws-sdk'),{AWS,global_registry}=require(a14_0xbbe818(0x132)),{logger}=require(a14_0xbbe818(0x9e));exports[a14_0xbbe818(0x96)]=()=>{const _0x1c25d0=a14_0xbbe818,_0x3c9c1b={};_0x3c9c1b[_0x1c25d0(0x162)]=function(_0x23dc0f,_0x79638a){return _0x23dc0f!==_0x79638a;},_0x3c9c1b[_0x1c25d0(0x78)]='jvPfY',_0x3c9c1b[_0x1c25d0(0xd3)]=_0x1c25d0(0x158);const _0x4cde51=_0x3c9c1b;if(!this[_0x1c25d0(0xc7)]()){if(_0x4cde51['zKsGV'](_0x4cde51[_0x1c25d0(0x78)],_0x4cde51['LkQoc']))this[_0x1c25d0(0x14a)]();else{const _0x45c3e8={};_0x45c3e8[_0x1c25d0(0x124)]=_0x685f8b['clusterRegion'],_0x45c3e8[_0x1c25d0(0x7b)]=_0x3bf26c[_0x1c25d0(0x18e)],_0x45c3e8[_0x1c25d0(0xf8)]=_0x3461f9[_0x1c25d0(0x14b)],_0x40a535[_0x1c25d0(0xa6)]['update'](_0x45c3e8),_0x46da57[_0x1c25d0(0x141)]=!![];}}},exports[a14_0xbbe818(0x90)]=async(_0xbf6a31,_0x3459a7)=>{const _0x3eb51a=a14_0xbbe818,_0x209385={'UfCNf':function(_0x2b88ca,_0x467564){return _0x2b88ca===_0x467564;},'xzzHv':function(_0x6b7f5,_0x149235){return _0x6b7f5(_0x149235);},'NfXkz':function(_0x546c8c,_0x554079){return _0x546c8c===_0x554079;},'WCqwm':_0x3eb51a(0xdc),'hxyOb':'bOBJB'};if(_0x209385[_0x3eb51a(0xf3)](isAWS,_0xbf6a31)){if(_0x209385[_0x3eb51a(0x10a)](_0x209385['WCqwm'],_0x209385[_0x3eb51a(0x109)])){if(_0x209385[_0x3eb51a(0x10e)](_0x5a4f72,_0x24b680))return!![];return![];}else return this[_0x3eb51a(0x96)](),_0x209385[_0x3eb51a(0xf3)](checkAWSClusterCreated,_0x3459a7);}},exports[a14_0xbbe818(0xaa)]=async _0x37f2f7=>{const _0x3e4f88=a14_0xbbe818,_0x21dc37={};_0x21dc37['uYEhb']=_0x3e4f88(0xe7);const _0x2299cc=_0x21dc37,_0xc355d4={};_0xc355d4[_0x3e4f88(0x10d)]=_0x2299cc[_0x3e4f88(0x12a)];const _0x13b809=new awsSDK[(_0x3e4f88(0xbd))](_0xc355d4),_0x137740={};return _0x137740[_0x3e4f88(0x160)]=_0x37f2f7,_0x13b809[_0x3e4f88(0xa5)](_0x137740)['promise']();},exports[a14_0xbbe818(0x159)]=async _0x129b43=>{const _0x11bf17=a14_0xbbe818,_0x3bb1f2={};_0x3bb1f2[_0x11bf17(0x8d)]='templates',_0x3bb1f2[_0x11bf17(0x10b)]=_0x11bf17(0x121),_0x3bb1f2[_0x11bf17(0xc0)]='utf-8',_0x3bb1f2[_0x11bf17(0x116)]=_0x11bf17(0xc6);const _0xeae047=_0x3bb1f2,_0x49f0b0=await fs[_0x11bf17(0x11e)](path[_0x11bf17(0x192)](__dirname,'..',_0xeae047[_0x11bf17(0x8d)],_0xeae047[_0x11bf17(0x10b)]),_0xeae047['ejoIt']),_0x3f8b90=yaml[_0x11bf17(0xbe)](_0x49f0b0);return _0x3f8b90['data'][_0x11bf17(0x12e)]=_0x3f8b90[_0x11bf17(0xb0)]['mapRoles'][_0x11bf17(0x174)](_0xeae047[_0x11bf17(0x116)],_0x129b43),_0x3f8b90;},exports[a14_0xbbe818(0x12b)]=async(_0x3ea966,_0x4309d3)=>{const _0x580dbc=a14_0xbbe818,_0x16086b={};_0x16086b[_0x580dbc(0xb1)]=_0x580dbc(0xe7);const _0x1f76d0=_0x16086b,_0x2d3e34={};_0x2d3e34[_0x580dbc(0x10d)]=_0x1f76d0['tbcel'];const _0x4df570=new awsSDK[(_0x580dbc(0xbd))](_0x2d3e34),_0xc8a7bc={};return _0xc8a7bc[_0x580dbc(0x138)]=_0x3ea966,_0xc8a7bc[_0x580dbc(0x17e)]=_0x4309d3,_0x4df570[_0x580dbc(0x91)](_0xc8a7bc)[_0x580dbc(0x136)]();};const isAWS=_0x1a2470=>{const _0x11efa3=a14_0xbbe818,_0x346e11={'qplbh':function(_0x35a4df,_0x4ccf0e){return _0x35a4df(_0x4ccf0e);},'nMhXW':function(_0x1d8357,_0x11bd08){return _0x1d8357===_0x11bd08;},'fiVZF':function(_0x1a5605,_0x294fba){return _0x1a5605===_0x294fba;},'ZMuIu':_0x11efa3(0x182),'wBXlk':_0x11efa3(0xbb)};if(_0x346e11[_0x11efa3(0xc1)](_0x1a2470,AWS)){if(_0x346e11[_0x11efa3(0x16b)](_0x346e11[_0x11efa3(0x186)],_0x346e11[_0x11efa3(0x16a)])){if(_0x346e11[_0x11efa3(0x139)](_0x393eb5,_0x290537))return this[_0x11efa3(0x96)](),_0x346e11['qplbh'](_0x4e2ab3,_0x18a94d);}else return!![];}return![];},checkAWSClusterCreated=_0x2b9e5a=>{const _0x32da71=a14_0xbbe818,_0x3ae5ca={'fyWNF':function(_0x378045,_0x4ffdb4){return _0x378045(_0x4ffdb4);},'ktoee':function(_0x37968c,_0x33bffd){return _0x37968c(_0x33bffd);},'fbPdJ':_0x32da71(0x11f),'zCbID':function(_0x129c42,_0x5e6f4c){return _0x129c42===_0x5e6f4c;},'loDlQ':_0x32da71(0xcd),'XkvnH':_0x32da71(0x178),'BLqym':_0x32da71(0xb6),'YKRTb':function(_0x31a691,_0x3290f2){return _0x31a691(_0x3290f2);},'GtKJb':_0x32da71(0xb5),'CLbba':'AnRRZ','YZkyD':function(_0x5a69ef,_0x1ac283){return _0x5a69ef(_0x1ac283);},'FKLlP':function(_0x3aea38,_0x4bfd85){return _0x3aea38===_0x4bfd85;},'rAUJi':function(_0x272e2d,_0x2324b3){return _0x272e2d!==_0x2324b3;},'zpzhc':'jXHOs','UApSL':_0x32da71(0x114),'jQHFv':_0x32da71(0xe7)};return new Promise((_0x1d3a34,_0x1f6b5a)=>{const _0x44f1ad=_0x32da71,_0x466656={'EBczg':function(_0x456260,_0x4ac6c9){const _0x402282=a14_0x57e9;return _0x3ae5ca[_0x402282(0x19b)](_0x456260,_0x4ac6c9);},'UKUPC':function(_0x3b0cdf,_0x505e40){return _0x3ae5ca['ktoee'](_0x3b0cdf,_0x505e40);},'xqNfX':function(_0x3c5552,_0x35edc7){const _0x28a670=a14_0x57e9;return _0x3ae5ca[_0x28a670(0x10c)](_0x3c5552,_0x35edc7);}};if(_0x3ae5ca['rAUJi'](_0x3ae5ca['zpzhc'],_0x3ae5ca[_0x44f1ad(0x98)])){const _0x3d7871={};_0x3d7871[_0x44f1ad(0x10d)]=_0x3ae5ca[_0x44f1ad(0x123)];const _0x4af31a=new awsSDK['EKS'](_0x3d7871);_0x4af31a[_0x44f1ad(0xe8)]()['promise']()[_0x44f1ad(0x188)](_0x5d1dd6=>{const _0x5c7945=_0x44f1ad,_0x137873={'mSqkZ':function(_0x4416e8,_0x4d33da){const _0x5db846=a14_0x57e9;return _0x3ae5ca[_0x5db846(0x16d)](_0x4416e8,_0x4d33da);},'yeIcR':function(_0x30c75f,_0x4001ae){const _0x45b18f=a14_0x57e9;return _0x3ae5ca[_0x45b18f(0x10c)](_0x30c75f,_0x4001ae);},'KxrKq':_0x3ae5ca[_0x5c7945(0xeb)]};if(_0x3ae5ca[_0x5c7945(0x103)](_0x3ae5ca[_0x5c7945(0xaf)],_0x3ae5ca[_0x5c7945(0xaf)])){if(_0x5d1dd6[_0x5c7945(0x12d)]['includes'](_0x2b9e5a)){if(_0x3ae5ca[_0x5c7945(0x103)](_0x3ae5ca[_0x5c7945(0xec)],_0x3ae5ca['BLqym'])){const _0x20a580={'JiVkD':function(_0x5b57bd,_0x28b1d9){const _0x47e9a9=_0x5c7945;return _0x137873[_0x47e9a9(0x165)](_0x5b57bd,_0x28b1d9);}},_0x25908a={};_0x25908a[_0x5c7945(0x10d)]=_0x137873[_0x5c7945(0x14c)],_0x25908a[_0x5c7945(0x124)]=_0x35f9bc;const _0xed6fc=new _0x36b30a[(_0x5c7945(0x17d))](_0x25908a);_0xed6fc[_0x5c7945(0xa4)]()[_0x5c7945(0x136)]()[_0x5c7945(0x188)](_0x4dc255=>{_0x20a580['JiVkD'](_0x48ae79,_0x4dc255);})['catch'](_0xc2af79=>{const _0x408ffd=_0x5c7945;_0xd60d2b['error'](_0x408ffd(0x130)+_0xc2af79),_0x137873[_0x408ffd(0x79)](_0x56290e,_0xc2af79);});}else _0x3ae5ca[_0x5c7945(0xd5)](_0x1d3a34,!![]);}_0x3ae5ca[_0x5c7945(0xd5)](_0x1d3a34,![]);}else _0x316f27[_0x5c7945(0x99)](_0x5c7945(0x7d)+_0x4297a4),_0x137873[_0x5c7945(0x79)](_0x38f24b,_0x5842eb);})['catch'](_0x95ea91=>{const _0x21f59c=_0x44f1ad;if(_0x3ae5ca[_0x21f59c(0x103)](_0x3ae5ca[_0x21f59c(0x110)],_0x3ae5ca['CLbba']))return _0x466656[_0x21f59c(0xa7)](_0x4d4b71[_0x21f59c(0x141)],!![]);else logger[_0x21f59c(0x99)](_0x95ea91),_0x3ae5ca['YZkyD'](_0x1f6b5a,_0x95ea91);});}else _0x51407c[_0x44f1ad(0x12d)][_0x44f1ad(0xc4)](_0x194bee)&&_0x466656['UKUPC'](_0x5f159f,!![]),_0x466656[_0x44f1ad(0x15c)](_0x4a11b9,![]);});};exports[a14_0xbbe818(0x9d)]=_0x2d1cfb=>{const _0x1588a6=a14_0xbbe818,_0x226fbd={'kenvY':function(_0xa19a9c,_0xaa25ec){return _0xa19a9c(_0xaa25ec);},'fBYDb':function(_0x3b20fa,_0x5f0252){return _0x3b20fa===_0x5f0252;},'RRsRg':_0x1588a6(0xc3),'GAlKX':function(_0x8957bf,_0x59d451){return _0x8957bf(_0x59d451);},'ZobaT':function(_0x31a9d3,_0x4c17f4){return _0x31a9d3!==_0x4c17f4;},'BiEZz':_0x1588a6(0x7f),'laSAG':function(_0x273776,_0x14db57){return _0x273776(_0x14db57);},'LSnoU':function(_0x4819e7,_0x232c75){return _0x4819e7(_0x232c75);},'mjOoX':_0x1588a6(0x11f),'uulOW':_0x1588a6(0x155),'KcayP':_0x1588a6(0x19e)};return new Promise((_0x345f91,_0x1d6097)=>{const _0x4b32f4=_0x1588a6;if(_0x226fbd[_0x4b32f4(0x107)](_0x226fbd[_0x4b32f4(0x153)],_0x226fbd[_0x4b32f4(0x131)])){const _0x3324af={};_0x3324af['apiVersion']=_0x226fbd[_0x4b32f4(0xab)],_0x3324af['region']=_0x2d1cfb;const _0x3e391b=new awsSDK[(_0x4b32f4(0x17d))](_0x3324af);_0x3e391b[_0x4b32f4(0x113)]()[_0x4b32f4(0x136)]()[_0x4b32f4(0x188)](_0x5bafab=>{const _0x2e46d6=_0x4b32f4,_0xfaf314={'hFhOu':function(_0x19fdbf,_0x2d0c32){const _0x3017fb=a14_0x57e9;return _0x226fbd[_0x3017fb(0xbf)](_0x19fdbf,_0x2d0c32);}};_0x226fbd['fBYDb'](_0x226fbd[_0x2e46d6(0x15d)],_0x226fbd[_0x2e46d6(0x15d)])?_0x226fbd['GAlKX'](_0x345f91,_0x5bafab):(_0xd71fb7[_0x2e46d6(0x99)](_0x2e46d6(0x10f)+_0x2f1f0c+'\x20in\x20region\x20'+_0x4bc02f+_0x2e46d6(0x177)+_0x3b4903),_0xfaf314[_0x2e46d6(0x198)](_0x4b4c10,[![],[]]));})['catch'](_0x506238=>{const _0x48754a=_0x4b32f4,_0x33e48b={'ArfYo':function(_0x15092e,_0x340cbd){const _0x47b9ba=a14_0x57e9;return _0x226fbd[_0x47b9ba(0xf6)](_0x15092e,_0x340cbd);}};_0x226fbd['ZobaT'](_0x226fbd[_0x48754a(0xe4)],_0x226fbd[_0x48754a(0xe4)])?_0x33e48b[_0x48754a(0x142)](_0x1f0225,_0x1096aa):(logger['error'](_0x48754a(0xf0)+_0x506238),_0x226fbd[_0x48754a(0x77)](_0x1d6097,_0x506238));});}else{const _0x1677d6={'wrgCb':function(_0x1f8e1c,_0x30a42c){const _0x5b24dd=_0x4b32f4;return _0x226fbd[_0x5b24dd(0x77)](_0x1f8e1c,_0x30a42c);},'vbwfB':function(_0x498c90,_0x54653b){const _0x33a51b=_0x4b32f4;return _0x226fbd[_0x33a51b(0x11a)](_0x498c90,_0x54653b);},'HsBob':_0x226fbd[_0x4b32f4(0xab)]};return new _0x344797((_0x599438,_0x50c696)=>{const _0xf0371e=_0x4b32f4,_0x4e79d7={'armox':function(_0x4efbb4,_0x554dc3){const _0x38f807=a14_0x57e9;return _0x1677d6[_0x38f807(0xc9)](_0x4efbb4,_0x554dc3);}},_0x2aa99a={};_0x2aa99a[_0xf0371e(0x10d)]=_0x1677d6[_0xf0371e(0xff)],_0x2aa99a[_0xf0371e(0x124)]=_0x1451e1;const _0x5ee216=new _0x5ee1ab['EC2'](_0x2aa99a);_0x5ee216[_0xf0371e(0x113)]()[_0xf0371e(0x136)]()[_0xf0371e(0x188)](_0x27ae1b=>{const _0x22e5cb=_0xf0371e;_0x4e79d7[_0x22e5cb(0xcb)](_0x599438,_0x27ae1b);})[_0xf0371e(0x13f)](_0x2453ee=>{const _0x535243=_0xf0371e;_0x4818df[_0x535243(0x99)](_0x535243(0xf0)+_0x2453ee),_0x1677d6[_0x535243(0x100)](_0x50c696,_0x2453ee);});});}});},exports[a14_0xbbe818(0x19d)]=(_0x2f146c,_0x2adb0f)=>{const _0x40fd56=a14_0xbbe818,_0x46a2c5={'qDKyg':_0x40fd56(0xe7),'EtuNM':function(_0x41f47e,_0xd34a28){return _0x41f47e===_0xd34a28;},'kuYjw':_0x40fd56(0x111),'DCfHw':function(_0x258202,_0x5473ab){return _0x258202(_0x5473ab);},'wQfzX':_0x40fd56(0x18a),'fJsea':_0x40fd56(0x146),'qEcjB':function(_0x48bed4,_0x592293){return _0x48bed4!==_0x592293;},'XMWTG':_0x40fd56(0x166),'frrFf':'2016-11-15'},_0x5e7c74={};_0x5e7c74[_0x40fd56(0xa1)]=[_0x2f146c];let _0x1221d3=_0x5e7c74;return new Promise((_0x36f8a8,_0x217366)=>{const _0x3b03a1=_0x40fd56,_0x2280fb={'Iwhie':function(_0x5f1bc8,_0x10f764){const _0x9e1215=a14_0x57e9;return _0x46a2c5[_0x9e1215(0x87)](_0x5f1bc8,_0x10f764);}};if(_0x46a2c5[_0x3b03a1(0xa2)](_0x46a2c5[_0x3b03a1(0x134)],_0x46a2c5['XMWTG']))_0x2280fb[_0x3b03a1(0x149)](_0x111e42,_0x294b82[_0x3b03a1(0xee)]);else{const _0x2aecbf={};_0x2aecbf[_0x3b03a1(0x10d)]=_0x46a2c5[_0x3b03a1(0xd0)],_0x2aecbf[_0x3b03a1(0x124)]=_0x2adb0f;const _0x26fa47=new awsSDK[(_0x3b03a1(0x17d))](_0x2aecbf);_0x26fa47[_0x3b03a1(0x113)](_0x1221d3)[_0x3b03a1(0x136)]()[_0x3b03a1(0x188)](_0x327133=>{const _0x36c662=_0x3b03a1,_0x55e18a={};_0x55e18a[_0x36c662(0x184)]=_0x46a2c5['qDKyg'];const _0x35a9ea=_0x55e18a;if(_0x46a2c5[_0x36c662(0x11d)](_0x46a2c5[_0x36c662(0x129)],_0x46a2c5[_0x36c662(0x129)]))_0x46a2c5['DCfHw'](_0x36f8a8,!![]);else{const _0x404330={};_0x404330[_0x36c662(0x10d)]=_0x35a9ea[_0x36c662(0x184)];const _0x325960=new _0x35bde6[(_0x36c662(0xbd))](_0x404330),_0x5ba43d={};return _0x5ba43d[_0x36c662(0x160)]=_0x2e5c9a,_0x325960['describeCluster'](_0x5ba43d)[_0x36c662(0x136)]();}})[_0x3b03a1(0x13f)](_0x2a5c2e=>{const _0x3f94e1=_0x3b03a1;if(_0x46a2c5[_0x3f94e1(0x11d)](_0x46a2c5[_0x3f94e1(0x17f)],_0x46a2c5['fJsea']))return!![];else logger[_0x3f94e1(0x99)]('Cannot\x20find\x20VPC\x20'+_0x2f146c+_0x3f94e1(0x13a)+_0x2adb0f+_0x3f94e1(0x8b)),_0x46a2c5[_0x3f94e1(0x87)](_0x36f8a8,![]);});}});},exports[a14_0xbbe818(0x185)]=(_0x5c2a01,_0x44f928,_0x1bb64a)=>{const _0x54bda6=a14_0xbbe818,_0x3824d7={'zCpWG':function(_0x3cbf53,_0x1be2d3){return _0x3cbf53(_0x1be2d3);},'rDeVo':function(_0x41e884,_0xd51c26){return _0x41e884(_0xd51c26);},'FjFct':_0x54bda6(0x11f),'PCUGB':function(_0x16c5c6,_0x508bae){return _0x16c5c6!==_0x508bae;},'SXtCv':_0x54bda6(0x167),'NqpAX':_0x54bda6(0x128),'aordI':function(_0x2371a9,_0x3211d6){return _0x2371a9===_0x3211d6;},'sBhTh':_0x54bda6(0x15a),'hNncD':_0x54bda6(0x106),'OQPKH':_0x54bda6(0x120),'xyUdL':_0x54bda6(0x15b),'jciSn':function(_0x46cb5e,_0x2c48c7){return _0x46cb5e!==_0x2c48c7;},'ddvzu':_0x54bda6(0x16f),'WMGRh':function(_0x548a45,_0x5be42f){return _0x548a45(_0x5be42f);},'boEbW':_0x54bda6(0xdb),'uorcG':_0x54bda6(0x13d),'SZlEq':function(_0x29881a,_0x58f0b1){return _0x29881a(_0x58f0b1);},'tKFXQ':_0x54bda6(0x9a),'VGcxl':function(_0x28aa37,_0x22d5dc){return _0x28aa37(_0x22d5dc);},'tbqVB':function(_0x5b282b,_0xa3f2f7){return _0x5b282b!==_0xa3f2f7;},'PWjMf':_0x54bda6(0xd1),'RxkoM':'mVJSr','UJbzK':_0x54bda6(0x19c)},_0x5f1836={};_0x5f1836[_0x54bda6(0xdd)]=_0x3824d7[_0x54bda6(0x179)],_0x5f1836[_0x54bda6(0x8e)]=[_0x44f928];const _0x3ce4df={};_0x3ce4df[_0x54bda6(0x11b)]=[_0x5f1836];let _0x2b6118=_0x3ce4df;return new Promise((_0x115f02,_0x6b37f9)=>{const _0x5e3120=_0x54bda6,_0x191242={'SjVrw':function(_0x3bb086,_0x1d1fcc){const _0x3dd95b=a14_0x57e9;return _0x3824d7[_0x3dd95b(0x85)](_0x3bb086,_0x1d1fcc);},'hLcNc':_0x3824d7[_0x5e3120(0x189)],'THTZd':_0x3824d7[_0x5e3120(0xe2)],'sAcaL':function(_0x3aadad,_0x267997){const _0x7bd30b=_0x5e3120;return _0x3824d7[_0x7bd30b(0x12c)](_0x3aadad,_0x267997);},'nXlWd':function(_0x315146,_0x1a4131){return _0x3824d7['PCUGB'](_0x315146,_0x1a4131);},'ipgei':_0x3824d7[_0x5e3120(0xb7)],'vsvJA':function(_0xed5133,_0x5a26fa){const _0x4f0143=_0x5e3120;return _0x3824d7[_0x4f0143(0x8a)](_0xed5133,_0x5a26fa);},'AqYzt':_0x3824d7[_0x5e3120(0x7a)]};if(_0x3824d7[_0x5e3120(0x127)](_0x3824d7[_0x5e3120(0x199)],_0x3824d7[_0x5e3120(0x193)])){const _0x1bc2a1={};_0x1bc2a1[_0x5e3120(0x10d)]=_0x3824d7[_0x5e3120(0x7a)],_0x1bc2a1[_0x5e3120(0x124)]=_0x1bb64a;const _0x10efb9=new awsSDK[(_0x5e3120(0x17d))](_0x1bc2a1);_0x10efb9['describeSubnets'](_0x2b6118)[_0x5e3120(0x136)]()['then'](_0x1a02ec=>{const _0x407b1e=_0x5e3120,_0x3c9c98={'RljLb':function(_0x494b2d,_0xf8e60f){const _0x5c925b=a14_0x57e9;return _0x3824d7[_0x5c925b(0x125)](_0x494b2d,_0xf8e60f);},'yyfWB':function(_0x5ab438,_0x518719){const _0x2b4dcd=a14_0x57e9;return _0x3824d7[_0x2b4dcd(0x135)](_0x5ab438,_0x518719);},'vrJEk':_0x3824d7[_0x407b1e(0x7a)],'GhOxJ':function(_0x17fcd7,_0x21bbb3){const _0x41abf6=_0x407b1e;return _0x3824d7[_0x41abf6(0x85)](_0x17fcd7,_0x21bbb3);},'MKjZq':_0x3824d7[_0x407b1e(0x12f)],'cMWtB':_0x3824d7['NqpAX'],'SVJEH':function(_0x355c1c,_0x4a24cf){const _0x5ee16d=_0x407b1e;return _0x3824d7[_0x5ee16d(0xcc)](_0x355c1c,_0x4a24cf);},'lGWMy':_0x3824d7[_0x407b1e(0x180)],'kaPLb':_0x3824d7[_0x407b1e(0xce)],'VEGrJ':_0x3824d7[_0x407b1e(0x17c)],'zSfbb':_0x3824d7[_0x407b1e(0x143)]};if(_0x3824d7[_0x407b1e(0x9c)](_0x3824d7[_0x407b1e(0x140)],_0x3824d7[_0x407b1e(0x140)]))_0x3c9c98[_0x407b1e(0xc2)](_0x1618dd,_0x345299);else{const _0x189f76=[],_0x40ca1d=[];_0x1a02ec[_0x407b1e(0x173)]['forEach'](_0x38e83d=>{const _0x30082c=_0x407b1e;_0x191242[_0x30082c(0x190)](_0x191242[_0x30082c(0x84)],_0x191242[_0x30082c(0xa3)])?_0x189f76[_0x30082c(0x93)](_0x38e83d[_0x30082c(0x9b)]):_0x5ed94a[_0x30082c(0x93)](_0x3c2d12[_0x30082c(0x9b)]);});const _0x164244=_0x5c2a01['every'](_0x36214c=>{const _0x158de4=_0x407b1e,_0x321ba2={'MQDPT':function(_0x50877b,_0x48574e){const _0x48f300=a14_0x57e9;return _0x3c9c98[_0x48f300(0xc2)](_0x50877b,_0x48574e);}};if(_0x3c9c98[_0x158de4(0xe5)](_0x3c9c98[_0x158de4(0x133)],_0x3c9c98[_0x158de4(0xfa)])){if(_0x189f76[_0x158de4(0xc4)](_0x36214c))return _0x3c9c98['SVJEH'](_0x3c9c98[_0x158de4(0xa0)],_0x3c9c98['kaPLb'])?_0x5582a7['includes'](_0x196fda)?!![]:(_0x3d9ccb[_0x158de4(0x93)](_0x2b124c),![]):!![];else{if(_0x3c9c98[_0x158de4(0xe5)](_0x3c9c98[_0x158de4(0x112)],_0x3c9c98[_0x158de4(0xbc)]))return _0x40ca1d['push'](_0x36214c),![];else{const _0x30fe5a={'PFAoL':function(_0x2543de,_0x1fb0eb){const _0x151845=_0x158de4;return _0x3c9c98[_0x151845(0x14f)](_0x2543de,_0x1fb0eb);}},_0x4977e1={};_0x4977e1[_0x158de4(0x10d)]=_0x3c9c98[_0x158de4(0xd8)],_0x4977e1[_0x158de4(0x124)]=_0x28fe65;const _0x37eb5c=new _0x122673['EC2'](_0x4977e1);_0x37eb5c[_0x158de4(0x163)]()[_0x158de4(0x136)]()[_0x158de4(0x188)](_0x5c286a=>{const _0x19e59f=_0x158de4;_0x321ba2[_0x19e59f(0x83)](_0x13a0d5,_0x5c286a);})[_0x158de4(0x13f)](_0x2b5254=>{const _0x1ac118=_0x158de4;_0x530839['error'](_0x1ac118(0xae)+_0x2b5254),_0x30fe5a[_0x1ac118(0x18f)](_0x174017,_0x2b5254);});}}}else!this[_0x158de4(0xc7)]()&&this[_0x158de4(0x14a)]();});_0x3824d7[_0x407b1e(0x86)](_0x115f02,[_0x164244,_0x40ca1d]);}})[_0x5e3120(0x13f)](_0x5c3508=>{const _0x25bb4c=_0x5e3120;_0x191242[_0x25bb4c(0xd6)](_0x191242[_0x25bb4c(0x7c)],_0x191242[_0x25bb4c(0x7c)])?(_0x512de6[_0x25bb4c(0x99)](_0x1cab40),_0x191242[_0x25bb4c(0x196)](_0x3f9b4a,_0x40ee44)):(logger[_0x25bb4c(0x99)](_0x25bb4c(0x10f)+_0x44f928+'\x20in\x20region\x20'+_0x1bb64a+_0x25bb4c(0x177)+_0x5c3508),_0x191242[_0x25bb4c(0x18b)](_0x115f02,[![],[]]));});}else{const _0xaa7f3d={'SHpiN':function(_0x367373,_0x45b649){const _0x5bf2f1=_0x5e3120;return _0x191242[_0x5bf2f1(0x18b)](_0x367373,_0x45b649);},'rwegh':function(_0x310a65,_0x37ef9a){const _0x2de0ce=_0x5e3120;return _0x191242[_0x2de0ce(0x196)](_0x310a65,_0x37ef9a);},'gHuHq':_0x191242[_0x5e3120(0x82)]};return new _0x52ec1f((_0x536934,_0x51e5db)=>{const _0x15f238=_0x5e3120,_0x32516d={'aulkB':function(_0x445af5,_0x522a22){return _0xaa7f3d['rwegh'](_0x445af5,_0x522a22);}},_0x1cce74={};_0x1cce74[_0x15f238(0x10d)]=_0xaa7f3d[_0x15f238(0x17b)],_0x1cce74[_0x15f238(0x124)]=_0xe3d06e;const _0x4d3b02=new _0x51c698['EC2'](_0x1cce74);_0x4d3b02[_0x15f238(0x163)]()[_0x15f238(0x136)]()[_0x15f238(0x188)](_0x353b02=>{_0xaa7f3d['SHpiN'](_0x536934,_0x353b02);})['catch'](_0x461e6c=>{_0xd75d3e['error']('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x461e6c),_0x32516d['aulkB'](_0x51e5db,_0x461e6c);});});}});},exports[a14_0xbbe818(0xef)]=_0x1fbef2=>{const _0x4bfcc9=a14_0xbbe818,_0x345b0e={'dOgaN':function(_0x275b6a,_0x51a8d3){return _0x275b6a!==_0x51a8d3;},'amBSp':_0x4bfcc9(0x145),'uJLNb':'ZdHiX','PvXXL':function(_0x1cb061,_0x14b70e){return _0x1cb061(_0x14b70e);},'JjAkR':function(_0x1da5db,_0x31bbea){return _0x1da5db===_0x31bbea;},'OuKER':_0x4bfcc9(0x191),'sBSlj':function(_0x4e9378,_0x259cb3){return _0x4e9378(_0x259cb3);},'siRds':function(_0x3d1924,_0x113352){return _0x3d1924===_0x113352;},'XwUQT':_0x4bfcc9(0x194)},_0x22c986=new awsSDK['S3']();return new Promise((_0x2c2543,_0x5b0e13)=>{const _0x47c14e=_0x4bfcc9,_0x4fa92b={'vMnfj':function(_0x4de9ff,_0x4d539f){const _0x53546b=a14_0x57e9;return _0x345b0e[_0x53546b(0x164)](_0x4de9ff,_0x4d539f);},'iHOmo':function(_0x5dee12,_0x141f23){return _0x345b0e['JjAkR'](_0x5dee12,_0x141f23);},'qKtKc':_0x345b0e[_0x47c14e(0x14e)],'fzGul':function(_0x376e07,_0x5d9494){const _0x1d4ead=_0x47c14e;return _0x345b0e[_0x1d4ead(0xb3)](_0x376e07,_0x5d9494);}};if(_0x345b0e['siRds'](_0x345b0e['XwUQT'],_0x345b0e[_0x47c14e(0xf2)])){const _0x37f35a={};_0x37f35a[_0x47c14e(0x169)]=_0x1fbef2,_0x22c986[_0x47c14e(0xca)](_0x37f35a)[_0x47c14e(0x136)]()[_0x47c14e(0x188)](_0x371dcf=>{const _0x31359f=_0x47c14e,_0x248950={'FjkGK':function(_0x167942,_0x3e8a5f){const _0x1c5011=a14_0x57e9;return _0x4fa92b[_0x1c5011(0xe0)](_0x167942,_0x3e8a5f);}};if(_0x4fa92b[_0x31359f(0x183)](_0x4fa92b[_0x31359f(0x18c)],_0x4fa92b[_0x31359f(0x18c)]))logger[_0x31359f(0x11c)](_0x31359f(0x14d)+_0x1fbef2+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x4fa92b[_0x31359f(0xe0)](_0x2c2543,!![]);else return this[_0x31359f(0x96)](),_0x248950[_0x31359f(0x102)](_0x5ceb99,_0x53331d);})['catch'](()=>{const _0x4376b5=_0x47c14e;_0x345b0e[_0x4376b5(0x161)](_0x345b0e[_0x4376b5(0x16e)],_0x345b0e['uJLNb'])?(logger[_0x4376b5(0xb2)](_0x4376b5(0x14d)+_0x1fbef2+_0x4376b5(0x197)),_0x345b0e[_0x4376b5(0x164)](_0x2c2543,![])):(_0x3263cd[_0x4376b5(0xb2)](_0x4376b5(0x14d)+_0x467172+_0x4376b5(0x197)),_0x4fa92b[_0x4376b5(0x195)](_0x5ee845,![]));});}else _0x4fa92b[_0x47c14e(0x195)](_0x4650a2,_0x295df7);});},exports[a14_0xbbe818(0x176)]=_0xc93010=>{const _0x431d60=a14_0xbbe818,_0x292dd7={'lXEkF':function(_0x44c5fa,_0x1d7013){return _0x44c5fa===_0x1d7013;},'dXvmQ':_0x431d60(0x175),'eiKkf':_0x431d60(0x97),'TFtyd':function(_0x209ffd,_0x2731b9){return _0x209ffd(_0x2731b9);},'Sygmx':_0x431d60(0x7e),'kkpla':function(_0x18cef7,_0x598d96){return _0x18cef7(_0x598d96);},'wgONn':_0x431d60(0x168),'qdhfH':_0x431d60(0x115),'PXjsg':_0x431d60(0x11f)};return new Promise((_0x58f48f,_0x4414db)=>{const _0x59e45d=_0x431d60,_0x5a28c8={'UsdQL':function(_0x2b9142,_0x5537e6){const _0xc3b58f=a14_0x57e9;return _0x292dd7[_0xc3b58f(0x150)](_0x2b9142,_0x5537e6);}};if(_0x292dd7[_0x59e45d(0xc5)](_0x292dd7['wgONn'],_0x292dd7[_0x59e45d(0x75)]))_0x5a28c8[_0x59e45d(0x76)](_0x5b2d41,!![]);else{const _0x82fd5d={};_0x82fd5d['apiVersion']=_0x292dd7[_0x59e45d(0xba)],_0x82fd5d[_0x59e45d(0x124)]=_0xc93010;const _0x3bfca0=new awsSDK[(_0x59e45d(0x17d))](_0x82fd5d);_0x3bfca0[_0x59e45d(0x163)]()[_0x59e45d(0x136)]()['then'](_0x196149=>{const _0x3c7700=_0x59e45d;if(_0x292dd7[_0x3c7700(0xc5)](_0x292dd7[_0x3c7700(0xa8)],_0x292dd7[_0x3c7700(0xe9)])){const _0x203574={'cUROM':function(_0x298c76,_0x830bb2){const _0xf05941=_0x3c7700;return _0x5a28c8[_0xf05941(0x76)](_0x298c76,_0x830bb2);}},_0x122b51=new _0x59c98e['S3']();return new _0x4ef49e((_0xb61f70,_0x573710)=>{const _0x323ff3=_0x3c7700,_0x14e3e1={'fJFwd':function(_0x267bbe,_0x4f7d9a){return _0x203574['cUROM'](_0x267bbe,_0x4f7d9a);}},_0x4d56f2={};_0x4d56f2[_0x323ff3(0x169)]=_0x2b874b,_0x122b51['headBucket'](_0x4d56f2)[_0x323ff3(0x136)]()[_0x323ff3(0x188)](_0x413496=>{const _0x49aeee=_0x323ff3;_0x251192[_0x49aeee(0x11c)](_0x49aeee(0x14d)+_0x37fdb1+_0x49aeee(0x18d)),_0x14e3e1[_0x49aeee(0xea)](_0xb61f70,!![]);})[_0x323ff3(0x13f)](()=>{const _0x360880=_0x323ff3;_0x58b56e[_0x360880(0xb2)](_0x360880(0x14d)+_0x5ee946+_0x360880(0x197)),_0x14e3e1[_0x360880(0xea)](_0xb61f70,![]);});});}else _0x292dd7['TFtyd'](_0x58f48f,_0x196149);})[_0x59e45d(0x13f)](_0x458b38=>{const _0x540bda=_0x59e45d;_0x292dd7['lXEkF'](_0x292dd7['Sygmx'],_0x292dd7['Sygmx'])?(logger[_0x540bda(0x99)](_0x540bda(0xae)+_0x458b38),_0x292dd7['TFtyd'](_0x4414db,_0x458b38)):_0x5a28c8[_0x540bda(0x76)](_0x51df8d,{});});}});},exports[a14_0xbbe818(0xfc)]=_0x5b66ea=>{const _0x142050=a14_0xbbe818,_0x466f99={'Gcpsh':'2017-11-01','iZwjE':function(_0x5c6418,_0x3806ad){return _0x5c6418(_0x3806ad);},'Otpzs':function(_0x82104b,_0x14826c){return _0x82104b(_0x14826c);},'cbssT':function(_0xb497ae,_0x5e560f){return _0xb497ae!==_0x5e560f;},'Eurvy':'ZFXVh','IpisO':'QbbIL','OboHH':_0x142050(0x147),'IgkAY':_0x142050(0xf5),'pdZyr':function(_0x3a06b2,_0x1aa05b){return _0x3a06b2===_0x1aa05b;},'lRyhi':_0x142050(0xe1),'qXLSh':_0x142050(0xc8),'RJQKP':_0x142050(0x11f)};return new Promise((_0x30e1c4,_0x207b7b)=>{const _0x4ba0af=_0x142050,_0x4eb08e={'rYwyi':function(_0x3b4bb8,_0x11d4b1){const _0x1f24db=a14_0x57e9;return _0x466f99[_0x1f24db(0x137)](_0x3b4bb8,_0x11d4b1);},'fJsEA':function(_0x340a89,_0x572014){const _0x2490ca=a14_0x57e9;return _0x466f99[_0x2490ca(0x137)](_0x340a89,_0x572014);},'jmdUi':function(_0x4dd416,_0x43d644){return _0x466f99['Otpzs'](_0x4dd416,_0x43d644);},'cEtzg':function(_0x374fdb,_0x3deaf3){const _0x225a98=a14_0x57e9;return _0x466f99[_0x225a98(0xf7)](_0x374fdb,_0x3deaf3);},'eDhPf':_0x466f99['Eurvy'],'yjxwt':_0x466f99[_0x4ba0af(0x172)],'iqUnT':function(_0x597fba,_0x1c0dbc){const _0x2fe0a1=_0x4ba0af;return _0x466f99[_0x2fe0a1(0xf7)](_0x597fba,_0x1c0dbc);},'ttNEl':_0x466f99[_0x4ba0af(0x144)],'oreaF':_0x466f99[_0x4ba0af(0x16c)],'ezjKt':function(_0x4d1bf,_0x5c3f12){const _0x339107=_0x4ba0af;return _0x466f99[_0x339107(0x137)](_0x4d1bf,_0x5c3f12);}};if(_0x466f99[_0x4ba0af(0x80)](_0x466f99['lRyhi'],_0x466f99[_0x4ba0af(0x8c)])){const _0x27dc8c={};_0x27dc8c[_0x4ba0af(0x10d)]=_0x466f99[_0x4ba0af(0xfd)];const _0x40ebd5=new _0x51a643[(_0x4ba0af(0xbd))](_0x27dc8c);_0x40ebd5['listClusters']()[_0x4ba0af(0x136)]()[_0x4ba0af(0x188)](_0x105882=>{const _0x1155f0=_0x4ba0af;_0x105882[_0x1155f0(0x12d)][_0x1155f0(0xc4)](_0x242bc2)&&_0x4eb08e[_0x1155f0(0x148)](_0x192cc5,!![]),_0x4eb08e['fJsEA'](_0x369ce0,![]);})['catch'](_0x3f6556=>{const _0x31892d=_0x4ba0af;_0x48fd58[_0x31892d(0x99)](_0x3f6556),_0x4eb08e[_0x31892d(0x148)](_0x45a1f6,_0x3f6556);});}else{const _0x2db066={};_0x2db066[_0x4ba0af(0x10d)]=_0x466f99[_0x4ba0af(0x94)],_0x2db066['region']=_0x5b66ea;const _0x5f074f=new awsSDK['EC2'](_0x2db066);_0x5f074f['describeSecurityGroups']()[_0x4ba0af(0x136)]()[_0x4ba0af(0x188)](_0x2176d8=>{const _0x3ba878=_0x4ba0af;_0x4eb08e[_0x3ba878(0xb9)](_0x4eb08e[_0x3ba878(0x181)],_0x4eb08e[_0x3ba878(0x88)])?_0x4eb08e[_0x3ba878(0x187)](_0x30e1c4,_0x2176d8):(_0x33886c['error']('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x418588),_0x4eb08e[_0x3ba878(0x187)](_0x130e7c,_0x2b128a));})['catch'](_0x7f9c22=>{const _0x4a912f=_0x4ba0af,_0x27efc8={'RLrjC':function(_0x1898b4,_0xe58197){const _0x2848f7=a14_0x57e9;return _0x4eb08e[_0x2848f7(0x118)](_0x1898b4,_0xe58197);},'UAzqR':function(_0x3d2386,_0x1c2017){const _0x481aad=a14_0x57e9;return _0x4eb08e[_0x481aad(0xd7)](_0x3d2386,_0x1c2017);}};_0x4eb08e[_0x4a912f(0x118)](_0x4eb08e[_0x4a912f(0x17a)],_0x4eb08e[_0x4a912f(0x13c)])?(logger[_0x4a912f(0x99)](_0x4a912f(0x130)+_0x7f9c22),_0x4eb08e[_0x4a912f(0x101)](_0x207b7b,_0x7f9c22)):_0x27efc8[_0x4a912f(0x157)](_0x30731b,_0x4ae239)&&_0x27efc8['RLrjC'](_0x2089ac[_0x4a912f(0xee)],_0x2a2e78)?_0x27efc8[_0x4a912f(0x81)](_0x37dade,_0x496a6a['Regions']):_0x27efc8[_0x4a912f(0x81)](_0xf6308,{});});}});},exports['getAWSRegions']=()=>{const _0x2e650e=a14_0xbbe818,_0x424b7d={'SVlse':function(_0xb1b3c0,_0x5b693c){return _0xb1b3c0(_0x5b693c);},'OCNHX':function(_0x474000,_0x4609d1){return _0x474000(_0x4609d1);},'uIVHL':function(_0x46da39,_0x308d24){return _0x46da39(_0x308d24);},'fjxVF':function(_0x3a2abc,_0x2099f7){return _0x3a2abc!==_0x2099f7;},'xiJri':_0x2e650e(0x122),'FhIGj':function(_0x41c942,_0x10aa77){return _0x41c942!==_0x10aa77;},'KBYAl':function(_0x1bd665,_0x2ed80f){return _0x1bd665!==_0x2ed80f;},'EYqmZ':function(_0x3d9f09,_0x433615){return _0x3d9f09===_0x433615;},'QojJt':_0x2e650e(0xad),'cCoql':function(_0x554656,_0x29356e){return _0x554656(_0x29356e);},'XGihn':'ZLOMH','RAOSc':_0x2e650e(0x154),'KtrEe':function(_0x196bee,_0x3fb18c){return _0x196bee(_0x3fb18c);},'tempU':function(_0x1bf8c9,_0x2d4bc3){return _0x1bf8c9(_0x2d4bc3);},'GfPDa':_0x2e650e(0x11f),'yljtF':function(_0x201a73,_0x1b48cb){return _0x201a73===_0x1b48cb;},'jSZEb':_0x2e650e(0x89),'FhTAM':_0x2e650e(0x15f)};return new Promise((_0x43fe39,_0x31aace)=>{const _0x60f743=_0x2e650e,_0x45f938={'DqjHv':function(_0x189bcc,_0x256cf7){const _0x2baf45=a14_0x57e9;return _0x424b7d[_0x2baf45(0xe6)](_0x189bcc,_0x256cf7);},'GVgAV':_0x424b7d[_0x60f743(0xd9)],'uMgVR':function(_0x2c525f,_0x435ecd){return _0x424b7d['yljtF'](_0x2c525f,_0x435ecd);},'NXQwS':_0x424b7d[_0x60f743(0xdf)]};if(_0x424b7d[_0x60f743(0xd4)](_0x424b7d[_0x60f743(0x126)],_0x424b7d[_0x60f743(0x126)])){const _0xbb5726={};_0xbb5726[_0x60f743(0x10d)]=_0x424b7d[_0x60f743(0xd9)];const _0x14a2c2=new awsSDK[(_0x60f743(0x17d))](_0xbb5726);_0x14a2c2[_0x60f743(0xe3)]()['promise']()[_0x60f743(0x188)]((_0x361b67,_0x414001)=>{const _0x5c82c9=_0x60f743,_0x4d822f={'fWfou':function(_0x2f7fae,_0x1da35d){return _0x424b7d['SVlse'](_0x2f7fae,_0x1da35d);},'iLuKN':function(_0x54bf2d,_0xe60011){const _0x149633=a14_0x57e9;return _0x424b7d[_0x149633(0x15e)](_0x54bf2d,_0xe60011);},'UcKix':function(_0x3d9a13,_0xa53f22){const _0x4c936f=a14_0x57e9;return _0x424b7d[_0x4c936f(0xb4)](_0x3d9a13,_0xa53f22);}};if(_0x424b7d[_0x5c82c9(0xac)](_0x424b7d[_0x5c82c9(0x171)],_0x424b7d['xiJri'])){const _0x5e681a={};_0x5e681a['Bucket']=_0x4f7b28,_0x273c3d[_0x5c82c9(0xca)](_0x5e681a)[_0x5c82c9(0x136)]()[_0x5c82c9(0x188)](_0x278cf2=>{const _0x421dff=_0x5c82c9;_0x3dbf52['warn'](_0x421dff(0x14d)+_0x3cbe56+_0x421dff(0x18d)),_0x4d822f[_0x421dff(0xd2)](_0x455624,!![]);})[_0x5c82c9(0x13f)](()=>{const _0x36da63=_0x5c82c9;_0x4f1946[_0x36da63(0xb2)](_0x36da63(0x14d)+_0x570174+_0x36da63(0x197)),_0x4d822f[_0x36da63(0xb8)](_0x516109,![]);});}else{if(_0x424b7d[_0x5c82c9(0xfb)](_0x361b67,undefined)&&_0x424b7d[_0x5c82c9(0x119)](_0x361b67[_0x5c82c9(0xee)],undefined))_0x424b7d[_0x5c82c9(0x108)](_0x424b7d[_0x5c82c9(0x117)],_0x424b7d[_0x5c82c9(0x117)])?_0x424b7d[_0x5c82c9(0x92)](_0x43fe39,_0x361b67[_0x5c82c9(0xee)]):(_0x3c7128['error'](_0x5c82c9(0x8f)+_0x476023+'\x20in\x20region\x20'+_0x27af9d+'.\x20Please\x20Check\x20and\x20try\x20again'),_0x4d822f[_0x5c82c9(0xed)](_0x1cc377,![]));else{if(_0x424b7d[_0x5c82c9(0x108)](_0x424b7d[_0x5c82c9(0x13e)],_0x424b7d['RAOSc'])){const _0x2e8adb={'deUXZ':function(_0x57af84,_0x3e68d1){return _0x45f938['DqjHv'](_0x57af84,_0x3e68d1);},'cIBPQ':_0x45f938[_0x5c82c9(0x13b)]},_0x3036d4={};_0x3036d4[_0x5c82c9(0xa1)]=[_0x457cd4];let _0x58c511=_0x3036d4;return new _0x175fdc((_0x1fcaf8,_0x4e18b2)=>{const _0x336b73=_0x5c82c9,_0x48ea1b={'AdoUJ':function(_0x2a9a97,_0x2bfa02){return _0x2e8adb['deUXZ'](_0x2a9a97,_0x2bfa02);}},_0x4b594f={};_0x4b594f['apiVersion']=_0x2e8adb['cIBPQ'],_0x4b594f[_0x336b73(0x124)]=_0x38752d;const _0x3b9de0=new _0xce6c21[(_0x336b73(0x17d))](_0x4b594f);_0x3b9de0[_0x336b73(0x113)](_0x58c511)[_0x336b73(0x136)]()[_0x336b73(0x188)](_0x130787=>{_0x48ea1b['AdoUJ'](_0x1fcaf8,!![]);})[_0x336b73(0x13f)](_0x576228=>{const _0x19c242=_0x336b73;_0x3a506f['error'](_0x19c242(0x8f)+_0x578e85+'\x20in\x20region\x20'+_0x2ed0d5+'.\x20Please\x20Check\x20and\x20try\x20again'),_0x48ea1b['AdoUJ'](_0x1fcaf8,![]);});});}else _0x424b7d[_0x5c82c9(0xda)](_0x43fe39,{});}}})['catch'](_0x8d60e5=>{const _0x36916d=_0x60f743;_0x45f938['uMgVR'](_0x45f938[_0x36916d(0x170)],_0x45f938[_0x36916d(0x170)])?(logger[_0x36916d(0x99)](_0x36916d(0x7d)+_0x8d60e5),_0x45f938['DqjHv'](_0x31aace,_0x8d60e5)):this[_0x36916d(0x14a)]();});}else return!![];});},exports[a14_0xbbe818(0xc7)]=()=>{const _0x400d61=a14_0xbbe818,_0x15a546={};_0x15a546[_0x400d61(0x95)]=function(_0x738dd4,_0x23119f){return _0x738dd4===_0x23119f;};const _0x29ae4b=_0x15a546;return _0x29ae4b[_0x400d61(0x95)](global_registry['awsConfigSet'],!![]);},exports[a14_0xbbe818(0x14a)]=()=>{const _0x5322b0=a14_0xbbe818,_0x75a427={};_0x75a427[_0x5322b0(0x124)]=global_registry[_0x5322b0(0xcf)],_0x75a427[_0x5322b0(0x7b)]=global_registry['cloudProviderAccessKey'],_0x75a427['secretAccessKey']=global_registry[_0x5322b0(0x14b)],awsSDK['config'][_0x5322b0(0xf4)](_0x75a427),global_registry[_0x5322b0(0x141)]=!![];},exports['awsObj']=awsSDK;
@@ -1 +1 @@
1
- function a15_0x379e(_0x985b72,_0x2a7086){const _0x728ec2=a15_0x728e();return a15_0x379e=function(_0x379ee3,_0x28648c){_0x379ee3=_0x379ee3-0x1bd;let _0x180048=_0x728ec2[_0x379ee3];return _0x180048;},a15_0x379e(_0x985b72,_0x2a7086);}const a15_0x1b35bf=a15_0x379e;function a15_0x728e(){const _0x31ea64=['rQcbM','Value','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','schema','debug','34rbWpsz','ZgLKz','path','lWqwr','183oqPTqP','Xrptm','readFileAsync','7wZayrA','Properties','ClusterName','Capabilities','6859280YXnLoS','js-yaml','valueOf','promise','stringify','Parameters','push','browserstack:cluster','20HIOFUo','TemplateBody','stackCreateComplete','39254vJgqNN','browserstack:creationDate','gZqqT','GVAgc','createStack','Tags','3716793QvcnCw','ZIEeo','StackName','../config/constants','waitFor','autoscaler-role-creation.yaml','promisifyAll','toString','Resources','Key','js-yaml-cloudformation-schema','OnFailure','83084rTtmUS','2010-05-15','createAutoscalerStack','46327435TCsRUp','1116108ePcqGA','6988816zgnuYh','StackId','templates','CloudFormation','tkvFg'];a15_0x728e=function(){return _0x31ea64;};return a15_0x728e();}(function(_0x47a9d2,_0x540c84){const _0xe4e8ac=a15_0x379e,_0x2b34fd=_0x47a9d2();while(!![]){try{const _0x27cc58=parseInt(_0xe4e8ac(0x1cc))/0x1*(parseInt(_0xe4e8ac(0x1e2))/0x2)+parseInt(_0xe4e8ac(0x1d0))/0x3*(-parseInt(_0xe4e8ac(0x1bd))/0x4)+-parseInt(_0xe4e8ac(0x1d7))/0x5+parseInt(_0xe4e8ac(0x1c1))/0x6+-parseInt(_0xe4e8ac(0x1d3))/0x7*(parseInt(_0xe4e8ac(0x1c2))/0x8)+parseInt(_0xe4e8ac(0x1e8))/0x9*(-parseInt(_0xe4e8ac(0x1df))/0xa)+parseInt(_0xe4e8ac(0x1c0))/0xb;if(_0x27cc58===_0x540c84)break;else _0x2b34fd['push'](_0x2b34fd['shift']());}catch(_0x1b48bc){_0x2b34fd['push'](_0x2b34fd['shift']());}}}(a15_0x728e,0xb15ce));const fs=require('fs'),path=require(a15_0x1b35bf(0x1ce)),yaml=require(a15_0x1b35bf(0x1d8)),{CLOUDFORMATION_SCHEMA}=require(a15_0x1b35bf(0x1f2)),Promise=require('bluebird'),AWS=require('./AWSUtils')['awsObj'],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a15_0x1b35bf(0x1eb)),{logger}=require('../config/logger');Promise[a15_0x1b35bf(0x1ee)](fs),addAutoscalerTags=async(_0x172734,_0x4bc5a0,_0x10e3b1)=>{const _0xfd89a1=a15_0x1b35bf;for(let _0x5a1f79 in _0x172734['Resources']){_0x172734[_0xfd89a1(0x1f0)][_0x5a1f79][_0xfd89a1(0x1d4)]&&_0x172734[_0xfd89a1(0x1f0)][_0x5a1f79]['Properties'][_0xfd89a1(0x1e7)]&&_0x172734[_0xfd89a1(0x1f0)][_0x5a1f79][_0xfd89a1(0x1d4)]['Tags'][_0xfd89a1(0x1dd)](..._0x10e3b1);}},exports[a15_0x1b35bf(0x1bf)]=async _0x22c4fa=>{const _0x1751b5=a15_0x1b35bf,_0x4b0ca2={'ZIEeo':_0x1751b5(0x1de),'UCMro':_0x1751b5(0x1e3),'JMHQg':_0x1751b5(0x1be),'tkvFg':_0x1751b5(0x1c4),'lWqwr':_0x1751b5(0x1ed),'GVAgc':'utf-8','rQcbM':function(_0x412211,_0x1b5087,_0x1362fc,_0x1ac35e){return _0x412211(_0x1b5087,_0x1362fc,_0x1ac35e);},'hvNnI':'DELETE','ZgLKz':_0x1751b5(0x1d5),'gZqqT':'CAPABILITY_NAMED_IAM','Xrptm':_0x1751b5(0x1e1)},_0x406457=COMMON_HST_TAGS,_0x1606f2={};_0x1606f2[_0x1751b5(0x1f1)]=_0x4b0ca2[_0x1751b5(0x1e9)],_0x1606f2[_0x1751b5(0x1c8)]=_0x22c4fa,_0x406457[_0x1751b5(0x1dd)](_0x1606f2),_0x406457[_0x1751b5(0x1dd)]({'Key':_0x4b0ca2['UCMro'],'Value':new Date()[_0x1751b5(0x1d9)]()[_0x1751b5(0x1ef)]()});const _0x49c1b2={};_0x49c1b2['apiVersion']=_0x4b0ca2['JMHQg'];const _0x4e9af0=new AWS[(_0x1751b5(0x1c5))](_0x49c1b2),_0x315f2a=await fs[_0x1751b5(0x1d2)](path['join'](__dirname,'..',_0x4b0ca2[_0x1751b5(0x1c6)],_0x4b0ca2[_0x1751b5(0x1cf)]),_0x4b0ca2[_0x1751b5(0x1e5)]),_0x51c1d0={};_0x51c1d0[_0x1751b5(0x1ca)]=CLOUDFORMATION_SCHEMA;const _0x60647d=yaml['load'](_0x315f2a,_0x51c1d0);_0x4b0ca2[_0x1751b5(0x1c7)](addAutoscalerTags,_0x60647d,_0x22c4fa,_0x406457);const _0x305f0=JSON[_0x1751b5(0x1db)](_0x60647d),_0x41a3c9={};_0x41a3c9[_0x1751b5(0x1ea)]=CLUSTER_AUTOSCALER_STACK_NAME,_0x41a3c9[_0x1751b5(0x1f3)]=_0x4b0ca2['hvNnI'],_0x41a3c9[_0x1751b5(0x1e0)]=_0x305f0,_0x41a3c9[_0x1751b5(0x1dc)]=[{'ParameterKey':_0x4b0ca2[_0x1751b5(0x1cd)],'ParameterValue':_0x22c4fa}],_0x41a3c9[_0x1751b5(0x1d6)]=[_0x4b0ca2[_0x1751b5(0x1e4)]],_0x41a3c9[_0x1751b5(0x1e7)]=_0x406457;const _0x3e2dad=_0x41a3c9,_0x3c1923=await _0x4e9af0[_0x1751b5(0x1e6)](_0x3e2dad)[_0x1751b5(0x1da)]();logger[_0x1751b5(0x1cb)](_0x1751b5(0x1c9));const _0xd77369={};return _0xd77369[_0x1751b5(0x1ea)]=_0x3c1923[_0x1751b5(0x1c3)],_0x4e9af0[_0x1751b5(0x1ec)](_0x4b0ca2[_0x1751b5(0x1d1)],_0xd77369)[_0x1751b5(0x1da)]();};
1
+ function a15_0x4f38(_0x447899,_0x31f8bc){const _0x23a4cd=a15_0x23a4();return a15_0x4f38=function(_0x4f3811,_0x50e2ed){_0x4f3811=_0x4f3811-0xa3;let _0x58306c=_0x23a4cd[_0x4f3811];return _0x58306c;},a15_0x4f38(_0x447899,_0x31f8bc);}const a15_0x571886=a15_0x4f38;function a15_0x23a4(){const _0x1bcce3=['707634gYDAxJ','iRvtm','stringify','waitFor','Value','OnFailure','valueOf','3ROncOk','createStack','1295704yQRIFM','StackName','browserstack:cluster','DELETE','ClusterName','../config/constants','Tags','TemplateBody','qtAKK','stackCreateComplete','Key','Resources','browserstack:creationDate','30oKGxwU','2010-05-15','path','2939589XmbumF','qIUXO','TCJSe','js-yaml','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','345889eOgQmh','lbnId','fqXMk','StackId','templates','21048BylCGZ','debug','readFileAsync','apiVersion','Properties','./AWSUtils','schema','awsObj','82228khsrWC','load','autoscaler-role-creation.yaml','2039177AzFggs','zZnpa','push','utf-8','10IgkJif','Capabilities'];a15_0x23a4=function(){return _0x1bcce3;};return a15_0x23a4();}(function(_0x411216,_0x422ca7){const _0x3417bb=a15_0x4f38,_0x6e3be0=_0x411216();while(!![]){try{const _0x733700=-parseInt(_0x3417bb(0xcc))/0x1+-parseInt(_0x3417bb(0xd1))/0x2*(parseInt(_0x3417bb(0xb5))/0x3)+parseInt(_0x3417bb(0xa5))/0x4*(-parseInt(_0x3417bb(0xac))/0x5)+parseInt(_0x3417bb(0xae))/0x6+-parseInt(_0x3417bb(0xa8))/0x7+-parseInt(_0x3417bb(0xb7))/0x8+-parseInt(_0x3417bb(0xc7))/0x9*(-parseInt(_0x3417bb(0xc4))/0xa);if(_0x733700===_0x422ca7)break;else _0x6e3be0['push'](_0x6e3be0['shift']());}catch(_0x1e054f){_0x6e3be0['push'](_0x6e3be0['shift']());}}}(a15_0x23a4,0x3c4d9));const fs=require('fs'),path=require(a15_0x571886(0xc6)),yaml=require(a15_0x571886(0xca)),{CLOUDFORMATION_SCHEMA}=require('js-yaml-cloudformation-schema'),Promise=require('bluebird'),AWS=require(a15_0x571886(0xd6))[a15_0x571886(0xa4)],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a15_0x571886(0xbc)),{logger}=require('../config/logger');Promise['promisifyAll'](fs),addAutoscalerTags=async(_0x3b26ef,_0x57498e,_0x40b8f5)=>{const _0x21f81f=a15_0x571886;for(let _0x2abf3a in _0x3b26ef[_0x21f81f(0xc2)]){_0x3b26ef[_0x21f81f(0xc2)][_0x2abf3a][_0x21f81f(0xd5)]&&_0x3b26ef[_0x21f81f(0xc2)][_0x2abf3a]['Properties']['Tags']&&_0x3b26ef[_0x21f81f(0xc2)][_0x2abf3a]['Properties'][_0x21f81f(0xbd)]['push'](..._0x40b8f5);}},exports['createAutoscalerStack']=async _0x4b9fd6=>{const _0x4e395b=a15_0x571886,_0x1be1d4={'lbnId':_0x4e395b(0xb9),'qIUXO':_0x4e395b(0xc3),'CSyIh':_0x4e395b(0xc5),'zZnpa':_0x4e395b(0xd0),'fqXMk':_0x4e395b(0xa7),'TCJSe':_0x4e395b(0xab),'iDDCO':function(_0x17f66d,_0x51d819,_0x3dbf3d,_0x116eea){return _0x17f66d(_0x51d819,_0x3dbf3d,_0x116eea);},'iRvtm':_0x4e395b(0xba),'qtAKK':_0x4e395b(0xbb),'TzGBB':'CAPABILITY_NAMED_IAM','AICRj':_0x4e395b(0xc0)},_0x532271=COMMON_HST_TAGS,_0x306eed={};_0x306eed[_0x4e395b(0xc1)]=_0x1be1d4[_0x4e395b(0xcd)],_0x306eed[_0x4e395b(0xb2)]=_0x4b9fd6,_0x532271[_0x4e395b(0xaa)](_0x306eed),_0x532271[_0x4e395b(0xaa)]({'Key':_0x1be1d4[_0x4e395b(0xc8)],'Value':new Date()[_0x4e395b(0xb4)]()['toString']()});const _0x507d36={};_0x507d36[_0x4e395b(0xd4)]=_0x1be1d4['CSyIh'];const _0x20fe4d=new AWS['CloudFormation'](_0x507d36),_0x336364=await fs[_0x4e395b(0xd3)](path['join'](__dirname,'..',_0x1be1d4[_0x4e395b(0xa9)],_0x1be1d4[_0x4e395b(0xce)]),_0x1be1d4[_0x4e395b(0xc9)]),_0xed67ff={};_0xed67ff[_0x4e395b(0xa3)]=CLOUDFORMATION_SCHEMA;const _0x2a9b5e=yaml[_0x4e395b(0xa6)](_0x336364,_0xed67ff);_0x1be1d4['iDDCO'](addAutoscalerTags,_0x2a9b5e,_0x4b9fd6,_0x532271);const _0x5dab95=JSON[_0x4e395b(0xb0)](_0x2a9b5e),_0x5aae59={};_0x5aae59[_0x4e395b(0xb8)]=CLUSTER_AUTOSCALER_STACK_NAME,_0x5aae59[_0x4e395b(0xb3)]=_0x1be1d4[_0x4e395b(0xaf)],_0x5aae59[_0x4e395b(0xbe)]=_0x5dab95,_0x5aae59['Parameters']=[{'ParameterKey':_0x1be1d4[_0x4e395b(0xbf)],'ParameterValue':_0x4b9fd6}],_0x5aae59[_0x4e395b(0xad)]=[_0x1be1d4['TzGBB']],_0x5aae59['Tags']=_0x532271;const _0x58f9b7=_0x5aae59,_0x408123=await _0x20fe4d[_0x4e395b(0xb6)](_0x58f9b7)['promise']();logger[_0x4e395b(0xd2)](_0x4e395b(0xcb));const _0x55f43a={};return _0x55f43a[_0x4e395b(0xb8)]=_0x408123[_0x4e395b(0xcf)],_0x20fe4d[_0x4e395b(0xb1)](_0x1be1d4['AICRj'],_0x55f43a)['promise']();};