browserstack-node-sdk 1.23.4 → 1.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 -0
  42. package/src/bin/mocha/accessibility-automation/helper.js +1 -0
  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
- function a8_0x5bac(){const _0x57b03c=['list_commands','desc','help','1490694ZrbtjF','1291880FEHzbg','69qPcMSK','recommendCommands','23359250ihyiSz','handler','32KDusRG','command','List\x20down\x20the\x20Grid\x20resources.','FULdh','1550124cpZasu','epilogue','7oUUnEG','1390482Xzkeud','115348isBmTT','commandDir','demandCommand','list','ufxGO','usage','655170OxBOfG','strict','../config/constants','root'];a8_0x5bac=function(){return _0x57b03c;};return a8_0x5bac();}const a8_0x2978bd=a8_0x3232;function a8_0x3232(_0x484055,_0x24f1c9){const _0x5bac1f=a8_0x5bac();return a8_0x3232=function(_0x323212,_0x43d3f8){_0x323212=_0x323212-0x129;let _0x3e859c=_0x5bac1f[_0x323212];return _0x3e859c;},a8_0x3232(_0x484055,_0x24f1c9);}(function(_0x368864,_0x447b3c){const _0x446bff=a8_0x3232,_0x5a729d=_0x368864();while(!![]){try{const _0x452e39=parseInt(_0x446bff(0x142))/0x1+-parseInt(_0x446bff(0x138))/0x2+parseInt(_0x446bff(0x130))/0x3*(-parseInt(_0x446bff(0x13c))/0x4)+parseInt(_0x446bff(0x12f))/0x5+-parseInt(_0x446bff(0x12e))/0x6*(parseInt(_0x446bff(0x13a))/0x7)+-parseInt(_0x446bff(0x134))/0x8*(parseInt(_0x446bff(0x13b))/0x9)+parseInt(_0x446bff(0x132))/0xa;if(_0x452e39===_0x447b3c)break;else _0x5a729d['push'](_0x5a729d['shift']());}catch(_0x110f66){_0x5a729d['push'](_0x5a729d['shift']());}}}(a8_0x5bac,0xe6a4d));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a8_0x2978bd(0x129));exports[a8_0x2978bd(0x135)]=a8_0x2978bd(0x13f),exports[a8_0x2978bd(0x12c)]=a8_0x2978bd(0x136),exports['builder']=function(_0x349818){const _0x36ccf5=a8_0x2978bd,_0x212519={};_0x212519['FULdh']=_0x36ccf5(0x12b),_0x212519[_0x36ccf5(0x140)]=_0x36ccf5(0x12d);const _0x3ce14f=_0x212519;return _0x349818[_0x36ccf5(0x13d)](_0x3ce14f[_0x36ccf5(0x137)])[_0x36ccf5(0x13e)]()[_0x36ccf5(0x141)](HELP_HEADER_MESSAGE['list'][_0x36ccf5(0x12a)])[_0x36ccf5(0x139)](HELP_FOOTER_MESSAGE)[_0x36ccf5(0x131)]()[_0x36ccf5(0x143)]()['help'](_0x3ce14f[_0x36ccf5(0x140)]);},exports[a8_0x2978bd(0x133)]=function(_0x837550){};
1
+ function a8_0x19e1(_0x27ffb2,_0x2ca15a){const _0x15cbb0=a8_0x15cb();return a8_0x19e1=function(_0x19e1b3,_0x2be063){_0x19e1b3=_0x19e1b3-0x150;let _0x63b1c5=_0x15cbb0[_0x19e1b3];return _0x63b1c5;},a8_0x19e1(_0x27ffb2,_0x2ca15a);}const a8_0x447f57=a8_0x19e1;(function(_0x1b2c5f,_0x17e4f){const _0x5f0792=a8_0x19e1,_0x4b62b6=_0x1b2c5f();while(!![]){try{const _0xb5420c=-parseInt(_0x5f0792(0x156))/0x1+parseInt(_0x5f0792(0x160))/0x2+-parseInt(_0x5f0792(0x164))/0x3*(parseInt(_0x5f0792(0x169))/0x4)+-parseInt(_0x5f0792(0x165))/0x5+parseInt(_0x5f0792(0x15b))/0x6*(-parseInt(_0x5f0792(0x159))/0x7)+parseInt(_0x5f0792(0x168))/0x8*(parseInt(_0x5f0792(0x161))/0x9)+parseInt(_0x5f0792(0x15a))/0xa*(parseInt(_0x5f0792(0x152))/0xb);if(_0xb5420c===_0x17e4f)break;else _0x4b62b6['push'](_0x4b62b6['shift']());}catch(_0x3c2366){_0x4b62b6['push'](_0x4b62b6['shift']());}}}(a8_0x15cb,0x93465));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a8_0x447f57(0x167));function a8_0x15cb(){const _0x282a46=['whUSX','commandDir','epilogue','643268iOILJf','handler','list_commands','392XkKrFA','50OKMVKd','9480xZKeen','demandCommand','list','help','usage','1163164ZIfjjU','187533TMJKzJ','strict','UkQVg','195DklFVJ','997195arYcox','builder','../config/constants','368tKkydi','54028UJKqzQ','recommendCommands','command','1919049IJIsrz'];a8_0x15cb=function(){return _0x282a46;};return a8_0x15cb();}exports[a8_0x447f57(0x151)]='list',exports['desc']='List\x20down\x20the\x20Grid\x20resources.',exports[a8_0x447f57(0x166)]=function(_0x274646){const _0x4685d0=a8_0x447f57,_0x3eb735={};_0x3eb735['UkQVg']=_0x4685d0(0x158),_0x3eb735[_0x4685d0(0x153)]=_0x4685d0(0x15e);const _0x268b4c=_0x3eb735;return _0x274646[_0x4685d0(0x154)](_0x268b4c[_0x4685d0(0x163)])[_0x4685d0(0x15c)]()[_0x4685d0(0x15f)](HELP_HEADER_MESSAGE[_0x4685d0(0x15d)]['root'])[_0x4685d0(0x155)](HELP_FOOTER_MESSAGE)[_0x4685d0(0x150)]()[_0x4685d0(0x162)]()[_0x4685d0(0x15e)](_0x268b4c[_0x4685d0(0x153)]);},exports[a8_0x447f57(0x157)]=function(_0xba4b1c){};
@@ -1 +1 @@
1
- function a9_0x5401(){const _0x42f32f=['JaCUy','stringify','UHXZr','method','vsGoV','dvICV','stack','concurrency','username','requestId','url','BlXDB','../../config/constants','server-error','ElEvk','bstackAccesskey','cloud-provider','133861KcoTOl','command','kpliZ','log','CEKGb','builder','argv','existsSync','cloudProvider','vMqmg','epilogue','table','rSMWl','704707dihFub','qgHpX','../../utils/instrumentationUtils','WNUJX','gridProfile','hrHyv','HwbJE','init-not-called','util','eVuOw','LnWXB','push','uuid','description','boolean','Browserstack','ERROR','\x0aFound\x20the\x20following\x20Grid\x20Profiles:\x0a','exit','Svjgk','region','1408hClOCF','usage','statusCode','handler','Wljli','tOqeu','List\x20down\x20grid-profiles\x20configured\x20by\x20a\x20particular\x20user','all-grid-profiles','22815bQcdJM','type','TfqYm','781550iSPqlG','188dCUTRa','13668otFBih','/packages/cli/get-grid-profiles','parse','desc','5243400MgIKWJ','Failed\x20to\x20list\x20resources!\x20Error:\x20','fHODs','feQMm','unauthorised','auth','help','xoTNd','list-grid-profiles-called','list','promisify','SiKun','270qLetNo','5644345HtttFL','bstackUsername','password','grid-profile-name','grid-profiles','https://','gfesG','body','jrUqx','error','name'];a9_0x5401=function(){return _0x42f32f;};return a9_0x5401();}const a9_0x52e52b=a9_0x4cbb;(function(_0x3d90b9,_0x508e4b){const _0x1b1844=a9_0x4cbb,_0x5550cd=_0x3d90b9();while(!![]){try{const _0x23e94a=-parseInt(_0x1b1844(0x1f2))/0x1+-parseInt(_0x1b1844(0x1b6))/0x2+parseInt(_0x1b1844(0x1b8))/0x3*(-parseInt(_0x1b1844(0x1b7))/0x4)+parseInt(_0x1b1844(0x1c9))/0x5+-parseInt(_0x1b1844(0x1c8))/0x6*(-parseInt(_0x1b1844(0x1e5))/0x7)+-parseInt(_0x1b1844(0x207))/0x8*(parseInt(_0x1b1844(0x1b3))/0x9)+parseInt(_0x1b1844(0x1bc))/0xa;if(_0x23e94a===_0x508e4b)break;else _0x5550cd['push'](_0x5550cd['shift']());}catch(_0x1691f6){_0x5550cd['push'](_0x5550cd['shift']());}}}(a9_0x5401,0xb90d2));const fs=require('fs'),util=require(a9_0x52e52b(0x1fa)),request=require('request'),{table}=require(a9_0x52e52b(0x1f0)),{v4:uuidv4}=require(a9_0x52e52b(0x1fe)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require(a9_0x52e52b(0x1e0)),{getCredentialsPath}=require('../../utils/utilityMethods'),{sendInstrumentationEvent}=require(a9_0x52e52b(0x1f4)),promisifiedRequest=util[a9_0x52e52b(0x1c6)](request);function a9_0x4cbb(_0x3bc652,_0x38468a){const _0x54015a=a9_0x5401();return a9_0x4cbb=function(_0x4cbb1c,_0x6c9b2c){_0x4cbb1c=_0x4cbb1c-0x1b1;let _0x26e3fe=_0x54015a[_0x4cbb1c];return _0x26e3fe;},a9_0x4cbb(_0x3bc652,_0x38468a);}exports[a9_0x52e52b(0x1e6)]=a9_0x52e52b(0x1cd),exports[a9_0x52e52b(0x1bb)]=a9_0x52e52b(0x1b1),exports[a9_0x52e52b(0x1ea)]=function(_0x4cfaea){const _0x54396a=a9_0x52e52b,_0xa17267={};_0xa17267[_0x54396a(0x20c)]='Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grid\x20profiles\x20for\x20your\x20group.',_0xa17267[_0x54396a(0x1f5)]=_0x54396a(0x200),_0xa17267[_0x54396a(0x1bf)]=_0x54396a(0x1c2);const _0x285cca=_0xa17267,_0x2c70bc={};_0x2c70bc[_0x54396a(0x1ff)]=_0x285cca['tOqeu'],_0x2c70bc[_0x54396a(0x1b4)]=_0x285cca[_0x54396a(0x1f5)];const _0x5ee683={};return _0x5ee683[_0x54396a(0x1b2)]=_0x2c70bc,_0x4cfaea[_0x54396a(0x208)](HELP_HEADER_MESSAGE[_0x54396a(0x1c5)][_0x54396a(0x1f6)])[_0x54396a(0x1ef)](HELP_FOOTER_MESSAGE)['options'](_0x5ee683)[_0x54396a(0x1c2)](_0x285cca[_0x54396a(0x1bf)])[_0x54396a(0x1eb)];},exports[a9_0x52e52b(0x20a)]=async function(_0x52fcff){const _0x5e3a2c=a9_0x52e52b,_0x3caa86={'LnWXB':function(_0x84590e){return _0x84590e();},'xoTNd':'Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','CEKGb':function(_0x10bcae,_0x28d9fe,_0x460d1a,_0x15d01c,_0x30752d,_0xcf90b0,_0x40420e){return _0x10bcae(_0x28d9fe,_0x460d1a,_0x15d01c,_0x30752d,_0xcf90b0,_0x40420e);},'gfesG':_0x5e3a2c(0x1c4),'eVuOw':_0x5e3a2c(0x1f9),'kpliZ':function(_0x3d7bbb,_0x3f7946,_0x320979,_0x3b73b0,_0x7b9e53,_0x323b8e,_0xb226ec){return _0x3d7bbb(_0x3f7946,_0x320979,_0x3b73b0,_0x7b9e53,_0x323b8e,_0xb226ec);},'pExby':function(_0x566663){return _0x566663();},'qgHpX':'GET','vsGoV':function(_0x2523e6,_0x51df8a){return _0x2523e6(_0x51df8a);},'TfqYm':function(_0x14368d,_0x7d2c66){return _0x14368d!==_0x7d2c66;},'rSMWl':function(_0x51fd40,_0x2fa231){return _0x51fd40!==_0x2fa231;},'UHXZr':function(_0x541b04,_0x173dab){return _0x541b04===_0x173dab;},'ElEvk':_0x5e3a2c(0x203),'BlXDB':_0x5e3a2c(0x1cc),'Wljli':_0x5e3a2c(0x1e4),'hrHyv':_0x5e3a2c(0x206),'vMqmg':_0x5e3a2c(0x1db),'HwbJE':function(_0x49e8b5,_0x4c55d7){return _0x49e8b5(_0x4c55d7);},'uGBRa':function(_0x281ffd,_0x4b0485){return _0x281ffd===_0x4b0485;},'fHODs':function(_0x282a6a,_0x1ea2b1,_0x2918c8,_0x216664,_0x2563a9,_0xf2c58c,_0x5c98ef){return _0x282a6a(_0x1ea2b1,_0x2918c8,_0x216664,_0x2563a9,_0xf2c58c,_0x5c98ef);},'Svjgk':_0x5e3a2c(0x1c0),'dvICV':function(_0x5936df,_0x1fdd50,_0x545e57,_0x24d2c5,_0x303055,_0x3c051f,_0x5371bc){return _0x5936df(_0x1fdd50,_0x545e57,_0x24d2c5,_0x303055,_0x3c051f,_0x5371bc);},'SiKun':_0x5e3a2c(0x1e1),'jrUqx':function(_0x584e13,_0x39a6e9,_0x2bb377,_0x4d9986,_0x1418fd,_0x3a9411,_0x4a962e){return _0x584e13(_0x39a6e9,_0x2bb377,_0x4d9986,_0x1418fd,_0x3a9411,_0x4a962e);},'JaCUy':'unknown-error'};try{global_registry[_0x5e3a2c(0x1dd)]=_0x3caa86[_0x5e3a2c(0x1fc)](uuidv4);let _0x47ffbc=_0x5e3a2c(0x1ce)+AG_API_URL+_0x5e3a2c(0x1b9);_0x52fcff['allGridProfiles']&&(_0x47ffbc='https://'+AG_API_URL+'/packages/cli/get-all-grid-profiles');!fs[_0x5e3a2c(0x1ec)](_0x3caa86['LnWXB'](getCredentialsPath))&&(console['error'](_0x3caa86[_0x5e3a2c(0x1c3)]),await _0x3caa86[_0x5e3a2c(0x1e9)](sendInstrumentationEvent,_0x52fcff,_0x3caa86[_0x5e3a2c(0x1cf)],messageTypes['ERROR'],_0x3caa86[_0x5e3a2c(0x1fb)],null,_0x52fcff),process['exit'](0x1));_0x3caa86[_0x5e3a2c(0x1e7)](sendInstrumentationEvent,_0x52fcff,_0x3caa86[_0x5e3a2c(0x1cf)],messageTypes['INFO'],null,null,_0x52fcff);const _0x205344=JSON[_0x5e3a2c(0x1ba)](fs['readFileSync'](_0x3caa86['pExby'](getCredentialsPath))),_0x523472={};_0x523472['username']=_0x205344[_0x5e3a2c(0x201)][_0x5e3a2c(0x1dc)],_0x523472['password']=_0x205344[_0x5e3a2c(0x201)][_0x5e3a2c(0x1cb)];const _0x10dcac={};_0x10dcac[_0x5e3a2c(0x1de)]=_0x47ffbc,_0x10dcac[_0x5e3a2c(0x1d7)]=_0x3caa86[_0x5e3a2c(0x1f3)],_0x10dcac[_0x5e3a2c(0x1c1)]=_0x523472;const _0x56c23b=_0x10dcac;global_registry[_0x5e3a2c(0x1ca)]=_0x205344[_0x5e3a2c(0x201)][_0x5e3a2c(0x1dc)],global_registry[_0x5e3a2c(0x1e3)]=_0x205344['Browserstack'][_0x5e3a2c(0x1cb)];const _0x2e38ed=await _0x3caa86[_0x5e3a2c(0x1d8)](promisifiedRequest,_0x56c23b);if(_0x3caa86[_0x5e3a2c(0x1b5)](_0x2e38ed,null)&&_0x3caa86[_0x5e3a2c(0x1f1)](_0x2e38ed,undefined)&&_0x3caa86[_0x5e3a2c(0x1d6)](_0x2e38ed[_0x5e3a2c(0x209)],0xc8)){const _0x56ba2e=JSON[_0x5e3a2c(0x1ba)](_0x2e38ed[_0x5e3a2c(0x1d0)]);console[_0x5e3a2c(0x1e8)](_0x3caa86[_0x5e3a2c(0x1e2)]);const _0x284702=[];_0x284702[_0x5e3a2c(0x1fd)]([_0x3caa86[_0x5e3a2c(0x1df)],_0x3caa86[_0x5e3a2c(0x20b)],_0x3caa86[_0x5e3a2c(0x1f7)],_0x3caa86[_0x5e3a2c(0x1ee)]]),_0x56ba2e['forEach'](_0x2f5e23=>{const _0x220f00=_0x5e3a2c;_0x284702[_0x220f00(0x1fd)]([_0x2f5e23[_0x220f00(0x1d3)],_0x2f5e23[_0x220f00(0x1ed)],_0x2f5e23[_0x220f00(0x206)],_0x2f5e23['concurrency']]);}),console['log'](_0x3caa86[_0x5e3a2c(0x1f8)](table,_0x284702)),process[_0x5e3a2c(0x204)](0x0);}_0x3caa86['uGBRa'](_0x2e38ed[_0x5e3a2c(0x209)],0x191)&&(console['error']('Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!'),await _0x3caa86[_0x5e3a2c(0x1be)](sendInstrumentationEvent,_0x52fcff,_0x3caa86['gfesG'],messageTypes['ERROR'],_0x3caa86[_0x5e3a2c(0x205)],null,_0x52fcff),process[_0x5e3a2c(0x204)](0x1)),console['error']('Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20'+JSON[_0x5e3a2c(0x1d5)](_0x2e38ed)),await _0x3caa86[_0x5e3a2c(0x1d9)](sendInstrumentationEvent,_0x52fcff,_0x3caa86[_0x5e3a2c(0x1cf)],messageTypes[_0x5e3a2c(0x202)],_0x3caa86[_0x5e3a2c(0x1c7)],_0x2e38ed,_0x52fcff),process[_0x5e3a2c(0x204)](0x1);}catch(_0x20f8ed){console[_0x5e3a2c(0x1d2)](_0x5e3a2c(0x1bd)+_0x20f8ed[_0x5e3a2c(0x1da)]),await _0x3caa86[_0x5e3a2c(0x1d1)](sendInstrumentationEvent,_0x52fcff,_0x3caa86['gfesG'],messageTypes[_0x5e3a2c(0x202)],_0x3caa86[_0x5e3a2c(0x1d4)],_0x20f8ed,_0x52fcff),process[_0x5e3a2c(0x204)](0x1);}};
1
+ function a9_0x5bfa(_0x303a46,_0x1e5359){const _0xd570c8=a9_0xd570();return a9_0x5bfa=function(_0x5bfa5f,_0x5655d1){_0x5bfa5f=_0x5bfa5f-0x132;let _0x1ccd84=_0xd570c8[_0x5bfa5f];return _0x1ccd84;},a9_0x5bfa(_0x303a46,_0x1e5359);}const a9_0x47d1ec=a9_0x5bfa;(function(_0x57d1ca,_0x27a1d8){const _0xd8ba6f=a9_0x5bfa,_0x48d892=_0x57d1ca();while(!![]){try{const _0x1a0883=-parseInt(_0xd8ba6f(0x139))/0x1+parseInt(_0xd8ba6f(0x153))/0x2+parseInt(_0xd8ba6f(0x171))/0x3*(parseInt(_0xd8ba6f(0x17c))/0x4)+parseInt(_0xd8ba6f(0x136))/0x5*(parseInt(_0xd8ba6f(0x174))/0x6)+-parseInt(_0xd8ba6f(0x170))/0x7+-parseInt(_0xd8ba6f(0x16a))/0x8*(-parseInt(_0xd8ba6f(0x168))/0x9)+-parseInt(_0xd8ba6f(0x137))/0xa;if(_0x1a0883===_0x27a1d8)break;else _0x48d892['push'](_0x48d892['shift']());}catch(_0x11fdf7){_0x48d892['push'](_0x48d892['shift']());}}}(a9_0xd570,0x79583));const fs=require('fs'),util=require(a9_0x47d1ec(0x163)),request=require('request'),{table}=require(a9_0x47d1ec(0x16c)),{v4:uuidv4}=require(a9_0x47d1ec(0x155)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require(a9_0x47d1ec(0x156)),{getCredentialsPath}=require(a9_0x47d1ec(0x146)),{sendInstrumentationEvent}=require(a9_0x47d1ec(0x169)),promisifiedRequest=util[a9_0x47d1ec(0x14f)](request);function a9_0xd570(){const _0xcb0824=['error','YlabG','stack','qgZQq','CBxoe','../../utils/utilityMethods','exit','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','/packages/cli/get-grid-profiles','https://','desc','INFO','rrKsh','NUdIT','promisify','argv','help','TvBRZ','271522IEVUpR','cloudProvider','uuid','../../config/constants','MzfYK','Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grid\x20profiles\x20for\x20your\x20group.','grid-profiles','method','epilogue','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','handler','options','requestId','push','name','usage','util','PcpDu','GlDFR','auth','ERROR','9SlziQD','../../utils/instrumentationUtils','843152ZcneLL','list-grid-profiles-called','table','gridProfile','List\x20down\x20grid-profiles\x20configured\x20by\x20a\x20particular\x20user','statusCode','1656494EkkuyC','23898cOlGOZ','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','LBhiT','3024fkcqTe','log','hAQjD','allGridProfiles','RWgPc','LuXMq','readFileSync','umiyP','296PUUpov','stringify','list','all-grid-profiles','password','forEach','url','description','username','parse','server-error','Browserstack','xGEcD','unauthorised','5270iOZKsY','5837280AKgWGG','tbYmY','44458IhvBjH','eUvnq','type','grid-profile-name','GET','boolean','/packages/cli/get-all-grid-profiles','concurrency'];a9_0xd570=function(){return _0xcb0824;};return a9_0xd570();}exports['command']=a9_0x47d1ec(0x159),exports[a9_0x47d1ec(0x14b)]=a9_0x47d1ec(0x16e),exports['builder']=function(_0x3f0bc4){const _0x1d2475=a9_0x47d1ec,_0x366bad={};_0x366bad[_0x1d2475(0x144)]=_0x1d2475(0x158),_0x366bad[_0x1d2475(0x178)]=_0x1d2475(0x13e),_0x366bad[_0x1d2475(0x165)]=_0x1d2475(0x151);const _0x19e401=_0x366bad,_0x48f6bf={};_0x48f6bf[_0x1d2475(0x183)]=_0x19e401[_0x1d2475(0x144)],_0x48f6bf[_0x1d2475(0x13b)]=_0x19e401[_0x1d2475(0x178)];const _0x24baa0={};return _0x24baa0[_0x1d2475(0x17f)]=_0x48f6bf,_0x3f0bc4[_0x1d2475(0x162)](HELP_HEADER_MESSAGE[_0x1d2475(0x17e)][_0x1d2475(0x16d)])[_0x1d2475(0x15b)](HELP_FOOTER_MESSAGE)[_0x1d2475(0x15e)](_0x24baa0)[_0x1d2475(0x151)](_0x19e401['GlDFR'])[_0x1d2475(0x150)];},exports[a9_0x47d1ec(0x15d)]=async function(_0x42f029){const _0x46c99e=a9_0x47d1ec,_0x3268b2={'LBhiT':function(_0x4acdef){return _0x4acdef();},'rrKsh':_0x46c99e(0x148),'tbYmY':function(_0xdf7f42,_0x412463,_0x10221e,_0x91d9fb,_0x537241,_0x310a14,_0x25a28f){return _0xdf7f42(_0x412463,_0x10221e,_0x91d9fb,_0x537241,_0x310a14,_0x25a28f);},'LuXMq':_0x46c99e(0x16b),'PdUya':'init-not-called','xGEcD':function(_0x4302b4,_0x6f8d69,_0x26965d,_0x4f4202,_0x7e56,_0x4cb5d2,_0xd0ccb2){return _0x4302b4(_0x6f8d69,_0x26965d,_0x4f4202,_0x7e56,_0x4cb5d2,_0xd0ccb2);},'sKzWh':function(_0x59fe62){return _0x59fe62();},'SAZEk':_0x46c99e(0x13d),'eUvnq':function(_0x593480,_0xb71e66){return _0x593480(_0xb71e66);},'MzfYK':function(_0x19cbb8,_0x5f26d6){return _0x19cbb8!==_0x5f26d6;},'thAvh':function(_0xd80cda,_0x3690e8){return _0xd80cda!==_0x3690e8;},'umiyP':function(_0x524d33,_0x584e07){return _0x524d33===_0x584e07;},'akDjR':'\x0aFound\x20the\x20following\x20Grid\x20Profiles:\x0a','hAQjD':_0x46c99e(0x13c),'CBxoe':'cloud-provider','PcpDu':'region','NUdIT':_0x46c99e(0x140),'YlabG':function(_0x347d24,_0x6b0784){return _0x347d24(_0x6b0784);},'RsyGK':_0x46c99e(0x135),'TvBRZ':_0x46c99e(0x132),'VpwET':'unknown-error'};try{global_registry[_0x46c99e(0x15f)]=_0x3268b2[_0x46c99e(0x173)](uuidv4);let _0x52165f=_0x46c99e(0x14a)+AG_API_URL+_0x46c99e(0x149);_0x42f029[_0x46c99e(0x177)]&&(_0x52165f=_0x46c99e(0x14a)+AG_API_URL+_0x46c99e(0x13f));!fs['existsSync'](_0x3268b2[_0x46c99e(0x173)](getCredentialsPath))&&(console[_0x46c99e(0x141)](_0x3268b2[_0x46c99e(0x14d)]),await _0x3268b2['tbYmY'](sendInstrumentationEvent,_0x42f029,_0x3268b2[_0x46c99e(0x179)],messageTypes[_0x46c99e(0x167)],_0x3268b2['PdUya'],null,_0x42f029),process[_0x46c99e(0x147)](0x1));_0x3268b2['xGEcD'](sendInstrumentationEvent,_0x42f029,_0x3268b2[_0x46c99e(0x179)],messageTypes[_0x46c99e(0x14c)],null,null,_0x42f029);const _0x53bf99=JSON['parse'](fs[_0x46c99e(0x17a)](_0x3268b2['sKzWh'](getCredentialsPath))),_0x33146d={};_0x33146d[_0x46c99e(0x184)]=_0x53bf99[_0x46c99e(0x133)][_0x46c99e(0x184)],_0x33146d[_0x46c99e(0x180)]=_0x53bf99[_0x46c99e(0x133)][_0x46c99e(0x180)];const _0x5f19f3={};_0x5f19f3[_0x46c99e(0x182)]=_0x52165f,_0x5f19f3[_0x46c99e(0x15a)]=_0x3268b2['SAZEk'],_0x5f19f3[_0x46c99e(0x166)]=_0x33146d;const _0x51e8a1=_0x5f19f3;global_registry['bstackUsername']=_0x53bf99['Browserstack'][_0x46c99e(0x184)],global_registry['bstackAccesskey']=_0x53bf99[_0x46c99e(0x133)][_0x46c99e(0x180)];const _0x276795=await _0x3268b2[_0x46c99e(0x13a)](promisifiedRequest,_0x51e8a1);if(_0x3268b2[_0x46c99e(0x157)](_0x276795,null)&&_0x3268b2['thAvh'](_0x276795,undefined)&&_0x3268b2[_0x46c99e(0x17b)](_0x276795[_0x46c99e(0x16f)],0xc8)){const _0x5b7bd3=JSON[_0x46c99e(0x185)](_0x276795['body']);console['log'](_0x3268b2['akDjR']);const _0x211d3d=[];_0x211d3d[_0x46c99e(0x160)]([_0x3268b2[_0x46c99e(0x176)],_0x3268b2[_0x46c99e(0x145)],_0x3268b2[_0x46c99e(0x164)],_0x3268b2[_0x46c99e(0x14e)]]),_0x5b7bd3[_0x46c99e(0x181)](_0x3f9cbf=>{const _0x466cdf=_0x46c99e;_0x211d3d['push']([_0x3f9cbf[_0x466cdf(0x161)],_0x3f9cbf[_0x466cdf(0x154)],_0x3f9cbf['region'],_0x3f9cbf[_0x466cdf(0x140)]]);}),console[_0x46c99e(0x175)](_0x3268b2[_0x46c99e(0x142)](table,_0x211d3d)),process[_0x46c99e(0x147)](0x0);}_0x3268b2[_0x46c99e(0x17b)](_0x276795[_0x46c99e(0x16f)],0x191)&&(console['error'](_0x46c99e(0x15c)),await _0x3268b2[_0x46c99e(0x134)](sendInstrumentationEvent,_0x42f029,_0x3268b2['LuXMq'],messageTypes[_0x46c99e(0x167)],_0x3268b2['RsyGK'],null,_0x42f029),process[_0x46c99e(0x147)](0x1)),console[_0x46c99e(0x141)](_0x46c99e(0x172)+JSON[_0x46c99e(0x17d)](_0x276795)),await _0x3268b2[_0x46c99e(0x138)](sendInstrumentationEvent,_0x42f029,_0x3268b2[_0x46c99e(0x179)],messageTypes['ERROR'],_0x3268b2[_0x46c99e(0x152)],_0x276795,_0x42f029),process[_0x46c99e(0x147)](0x1);}catch(_0x58a710){console[_0x46c99e(0x141)]('Failed\x20to\x20list\x20resources!\x20Error:\x20'+_0x58a710[_0x46c99e(0x143)]),await _0x3268b2[_0x46c99e(0x138)](sendInstrumentationEvent,_0x42f029,_0x3268b2[_0x46c99e(0x179)],messageTypes['ERROR'],_0x3268b2['VpwET'],_0x58a710,_0x42f029),process[_0x46c99e(0x147)](0x1);}};
@@ -1 +1 @@
1
- function a10_0x503d(){const _0xa4252e=['bLVSF','xSScF','yiipK','MZFiC','3240UIzRpS','grid-id','running','KmBti','grid-name','GET','RBQIR','ZvQYO','password','list-grids-called','clusterName','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','FhfuE','server-error','1050meVytw','3544NDDpAF','VThFQ','FCmgl','aGjKt','init-not-called','../../config/constants','\x0aFound\x20the\x20following\x20grids:\x0a','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','epilogue','CNBkR','List\x20down\x20grids\x20configured\x20by\x20a\x20particular\x20user','2032feTpXJ','iCwDA','command','350603mhOjVn','37bejzHC','bstackUsername','forEach','util','975605yDzSri','Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grids\x20for\x20your\x20group.','table','vgqmX','TXrTk','description','grid','https://','exit','request','desc','unauthorised','name','../../utils/instrumentationUtils','options','Browserstack','tGJbF','log','status','cluster-name','queued','ERROR','handler','auth','type','../../utils/utilityMethods','all-grids','push','36nbcRZV','argv','list','5060lrwdkd','ycwbv','PSSPd','promisify','stringify','requestId','pKlNT','1302FVvmDl','kHldH','usage','url','builder','parse','error','uuid','username','statusCode','Hyaic','body','help','603qdNBho','146694EYKOVw'];a10_0x503d=function(){return _0xa4252e;};return a10_0x503d();}const a10_0x1d0a6a=a10_0x3ac5;(function(_0x29e084,_0x14d1f3){const _0x81b7b2=a10_0x3ac5,_0x14a586=_0x29e084();while(!![]){try{const _0x48b26b=-parseInt(_0x81b7b2(0x168))/0x1*(parseInt(_0x81b7b2(0x192))/0x2)+-parseInt(_0x81b7b2(0x19f))/0x3*(-parseInt(_0x81b7b2(0x164))/0x4)+parseInt(_0x81b7b2(0x16c))/0x5+-parseInt(_0x81b7b2(0x1a0))/0x6+-parseInt(_0x81b7b2(0x158))/0x7*(-parseInt(_0x81b7b2(0x159))/0x8)+parseInt(_0x81b7b2(0x14a))/0x9*(-parseInt(_0x81b7b2(0x18b))/0xa)+parseInt(_0x81b7b2(0x167))/0xb*(parseInt(_0x81b7b2(0x188))/0xc);if(_0x48b26b===_0x14d1f3)break;else _0x14a586['push'](_0x14a586['shift']());}catch(_0x236f97){_0x14a586['push'](_0x14a586['shift']());}}}(a10_0x503d,0x37cfa));const fs=require('fs'),util=require(a10_0x1d0a6a(0x16b)),request=require(a10_0x1d0a6a(0x175)),{table}=require(a10_0x1d0a6a(0x16e)),{v4:uuidv4}=require(a10_0x1d0a6a(0x199)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,messageTypes,global_registry}=require(a10_0x1d0a6a(0x15e)),{getCredentialsPath}=require(a10_0x1d0a6a(0x185)),{sendInstrumentationEvent}=require(a10_0x1d0a6a(0x179)),promisifiedRequest=util[a10_0x1d0a6a(0x18e)](request);function a10_0x3ac5(_0x2a7c84,_0x3388b7){const _0x503d23=a10_0x503d();return a10_0x3ac5=function(_0x3ac52c,_0x13d4af){_0x3ac52c=_0x3ac52c-0x14a;let _0x3fa704=_0x503d23[_0x3ac52c];return _0x3fa704;},a10_0x3ac5(_0x2a7c84,_0x3388b7);}exports[a10_0x1d0a6a(0x166)]='grids',exports[a10_0x1d0a6a(0x176)]=a10_0x1d0a6a(0x163),exports[a10_0x1d0a6a(0x196)]=function(_0x56e310){const _0x41c782=a10_0x1d0a6a,_0x2561a9={};_0x2561a9[_0x41c782(0x15b)]=_0x41c782(0x16d),_0x2561a9[_0x41c782(0x1a2)]='boolean',_0x2561a9['KkrlO']=_0x41c782(0x19e);const _0x6f0c04=_0x2561a9,_0x1a7cb1={};_0x1a7cb1[_0x41c782(0x171)]=_0x6f0c04[_0x41c782(0x15b)],_0x1a7cb1[_0x41c782(0x184)]=_0x6f0c04[_0x41c782(0x1a2)];const _0x17a3de={};return _0x17a3de[_0x41c782(0x186)]=_0x1a7cb1,_0x56e310[_0x41c782(0x194)](HELP_HEADER_MESSAGE[_0x41c782(0x18a)][_0x41c782(0x172)])[_0x41c782(0x161)](HELP_FOOTER_MESSAGE)[_0x41c782(0x17a)](_0x17a3de)['help'](_0x6f0c04['KkrlO'])[_0x41c782(0x189)];},exports[a10_0x1d0a6a(0x182)]=async function(_0x5998f4){const _0x1f64ab=a10_0x1d0a6a,_0x2dbf94={'bLVSF':function(_0x1c2b90){return _0x1c2b90();},'ksmDl':function(_0x4cea0e){return _0x4cea0e();},'ZvQYO':_0x1f64ab(0x155),'tGJbF':function(_0x8c7bdc,_0x5c854d,_0x2712b8,_0x3b5b9a,_0x518743,_0x550e69,_0x392864){return _0x8c7bdc(_0x5c854d,_0x2712b8,_0x3b5b9a,_0x518743,_0x550e69,_0x392864);},'aGjKt':_0x1f64ab(0x153),'vgqmX':_0x1f64ab(0x15d),'TXrTk':function(_0xb847c1){return _0xb847c1();},'yiipK':_0x1f64ab(0x14f),'pKlNT':function(_0x3f383e,_0x1b712a,_0x2038e6,_0x58892d,_0x54bb28,_0x2852c2,_0x4ec432){return _0x3f383e(_0x1b712a,_0x2038e6,_0x58892d,_0x54bb28,_0x2852c2,_0x4ec432);},'MZFiC':function(_0x1b7de0,_0x5da946){return _0x1b7de0(_0x5da946);},'PSSPd':function(_0x3d4842,_0x548ebf){return _0x3d4842!==_0x548ebf;},'ssPHP':function(_0x59f02a,_0x3023fc){return _0x59f02a===_0x3023fc;},'iCwDA':_0x1f64ab(0x15f),'KmBti':_0x1f64ab(0x14b),'RBQIR':_0x1f64ab(0x14e),'WrVQF':'status','VThFQ':'running','FhfuE':_0x1f64ab(0x180),'Hyaic':_0x1f64ab(0x17f),'FxeyN':function(_0x395a0f,_0x5f2761){return _0x395a0f===_0x5f2761;},'DIflb':_0x1f64ab(0x177),'CNBkR':_0x1f64ab(0x157),'ycwbv':function(_0x459e0b,_0x301dd7,_0x13e1c8,_0x2f1542,_0x35372c,_0x368d2e,_0x5a582c){return _0x459e0b(_0x301dd7,_0x13e1c8,_0x2f1542,_0x35372c,_0x368d2e,_0x5a582c);},'kHldH':'unknown-error'};try{global_registry[_0x1f64ab(0x190)]=_0x2dbf94[_0x1f64ab(0x1a1)](uuidv4);!fs['existsSync'](_0x2dbf94['ksmDl'](getCredentialsPath))&&(console[_0x1f64ab(0x198)](_0x2dbf94[_0x1f64ab(0x151)]),await _0x2dbf94[_0x1f64ab(0x17c)](sendInstrumentationEvent,_0x5998f4,_0x2dbf94[_0x1f64ab(0x15c)],messageTypes[_0x1f64ab(0x181)],_0x2dbf94[_0x1f64ab(0x16f)],null,_0x5998f4),process[_0x1f64ab(0x174)](0x1));const _0x5a1b9a=JSON[_0x1f64ab(0x197)](fs['readFileSync'](_0x2dbf94[_0x1f64ab(0x170)](getCredentialsPath)));let _0x4174cc=_0x1f64ab(0x173)+AG_API_URL+'/packages/cli/get-grids';_0x5998f4['allGrids']&&(_0x4174cc=_0x1f64ab(0x173)+AG_API_URL+'/packages/cli/get-all-grids');const _0xc38bf4={};_0xc38bf4[_0x1f64ab(0x19a)]=_0x5a1b9a[_0x1f64ab(0x17b)][_0x1f64ab(0x19a)],_0xc38bf4['password']=_0x5a1b9a[_0x1f64ab(0x17b)][_0x1f64ab(0x152)];const _0x47182b={};_0x47182b[_0x1f64ab(0x195)]=_0x4174cc,_0x47182b['method']=_0x2dbf94[_0x1f64ab(0x1a3)],_0x47182b[_0x1f64ab(0x183)]=_0xc38bf4;const _0x2e9429=_0x47182b;global_registry[_0x1f64ab(0x169)]=_0x5a1b9a[_0x1f64ab(0x17b)][_0x1f64ab(0x19a)],global_registry['bstackAccesskey']=_0x5a1b9a[_0x1f64ab(0x17b)]['password'],_0x2dbf94[_0x1f64ab(0x191)](sendInstrumentationEvent,_0x5998f4,_0x2dbf94[_0x1f64ab(0x15c)],messageTypes['INFO'],null,null,_0x5998f4);const _0x275f51=await _0x2dbf94['MZFiC'](promisifiedRequest,_0x2e9429);if(_0x2dbf94['PSSPd'](_0x275f51,null)&&_0x2dbf94[_0x1f64ab(0x18d)](_0x275f51,undefined)&&_0x2dbf94['ssPHP'](_0x275f51[_0x1f64ab(0x19b)],0xc8)){const _0x3f2a2f=JSON['parse'](_0x275f51[_0x1f64ab(0x19d)]);console[_0x1f64ab(0x17d)](_0x2dbf94[_0x1f64ab(0x165)]);const _0xa3844a=[];_0xa3844a[_0x1f64ab(0x187)]([_0x2dbf94[_0x1f64ab(0x14d)],_0x2dbf94[_0x1f64ab(0x150)],_0x2dbf94['WrVQF'],_0x2dbf94[_0x1f64ab(0x15a)],_0x2dbf94[_0x1f64ab(0x156)],_0x2dbf94[_0x1f64ab(0x19c)]]),_0x3f2a2f[_0x1f64ab(0x16a)](_0x476f37=>{const _0xb9eb0c=_0x1f64ab;_0xa3844a[_0xb9eb0c(0x187)]([_0x476f37['id'],_0x476f37[_0xb9eb0c(0x178)],_0x476f37[_0xb9eb0c(0x17e)],_0x476f37[_0xb9eb0c(0x14c)],_0x476f37[_0xb9eb0c(0x180)],_0x476f37[_0xb9eb0c(0x154)]]);}),console[_0x1f64ab(0x17d)](_0x2dbf94[_0x1f64ab(0x1a4)](table,_0xa3844a)),process[_0x1f64ab(0x174)](0x0);}_0x2dbf94['FxeyN'](_0x275f51[_0x1f64ab(0x19b)],0x191)&&(console[_0x1f64ab(0x198)]('Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!'),await _0x2dbf94[_0x1f64ab(0x191)](sendInstrumentationEvent,_0x5998f4,_0x2dbf94[_0x1f64ab(0x15c)],messageTypes[_0x1f64ab(0x181)],_0x2dbf94['DIflb'],null,_0x5998f4),process[_0x1f64ab(0x174)](0x1)),console[_0x1f64ab(0x198)](_0x1f64ab(0x160)+JSON[_0x1f64ab(0x18f)](_0x275f51)),await _0x2dbf94[_0x1f64ab(0x191)](sendInstrumentationEvent,_0x5998f4,_0x2dbf94[_0x1f64ab(0x15c)],messageTypes[_0x1f64ab(0x181)],_0x2dbf94[_0x1f64ab(0x162)],_0x275f51,_0x5998f4),process[_0x1f64ab(0x174)](0x1);}catch(_0x253b36){console[_0x1f64ab(0x198)]('Failed\x20to\x20list\x20resources!\x20Error:\x20'+_0x253b36['stack']),await _0x2dbf94[_0x1f64ab(0x18c)](sendInstrumentationEvent,_0x5998f4,_0x2dbf94[_0x1f64ab(0x15c)],messageTypes[_0x1f64ab(0x181)],_0x2dbf94[_0x1f64ab(0x193)],_0x253b36,_0x5998f4),process[_0x1f64ab(0x174)](0x1);}};
1
+ const a10_0x2c1bd0=a10_0x52f2;function a10_0x52f2(_0x4e8b6e,_0xef834a){const _0x2af30b=a10_0x2af3();return a10_0x52f2=function(_0x52f2ab,_0x3b5c97){_0x52f2ab=_0x52f2ab-0x1cd;let _0x246a3c=_0x2af30b[_0x52f2ab];return _0x246a3c;},a10_0x52f2(_0x4e8b6e,_0xef834a);}function a10_0x2af3(){const _0xf235a7=['queued','/packages/cli/get-all-grids','error','GjuZc','uuid','GET','WsFHA','GFsFj','username','https://','../../utils/utilityMethods','usage','options','body','name','jygrt','/packages/cli/get-grids','5667702NDoRIE','VldwB','../../utils/instrumentationUtils','url','sWmhf','5LFCNGM','bstackAccesskey','running','command','../../config/constants','all-grids','table','requestId','cluster-name','statusCode','status','5106864qEePsW','grids','jEygU','server-error','unknown-error','epilogue','ueMbC','type','yZUcZ','forEach','RgzDl','3qHaRQY','init-not-called','stringify','WJJul','40ZUcqWT','Failed\x20to\x20list\x20resources!\x20Error:\x20','1588532WcvRkn','\x0aFound\x20the\x20following\x20grids:\x0a','util','list-grids-called','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','push','iMNDE','TSCdA','ZWNjh','clusterName','argv','grid','readFileSync','1616040LTtEwH','7993395ONZqwE','password','nGscB','INFO','handler','request','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','ERROR','Browserstack','existsSync','Failed\x20to\x20fetch\x20grid\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','boolean','7MVHeLM','grid-name','log','SDQja','BvXqT','method','bstackUsername','List\x20down\x20grids\x20configured\x20by\x20a\x20particular\x20user','lrFjN','builder','exit','1315156ZAIYKa','2204350pgMVWx','xvbTx'];a10_0x2af3=function(){return _0xf235a7;};return a10_0x2af3();}(function(_0x5aa10f,_0x4de64e){const _0x47cedd=a10_0x52f2,_0x5c2926=_0x5aa10f();while(!![]){try{const _0x5d737b=parseInt(_0x47cedd(0x1ea))/0x1+-parseInt(_0x47cedd(0x203))/0x2*(parseInt(_0x47cedd(0x1d7))/0x3)+parseInt(_0x47cedd(0x202))/0x4+-parseInt(_0x47cedd(0x21b))/0x5*(parseInt(_0x47cedd(0x216))/0x6)+parseInt(_0x47cedd(0x1f7))/0x7*(parseInt(_0x47cedd(0x226))/0x8)+parseInt(_0x47cedd(0x1eb))/0x9+-parseInt(_0x47cedd(0x1db))/0xa*(parseInt(_0x47cedd(0x1dd))/0xb);if(_0x5d737b===_0x4de64e)break;else _0x5c2926['push'](_0x5c2926['shift']());}catch(_0x265a0d){_0x5c2926['push'](_0x5c2926['shift']());}}}(a10_0x2af3,0xcec36));const fs=require('fs'),util=require(a10_0x2c1bd0(0x1df)),request=require(a10_0x2c1bd0(0x1f0)),{table}=require(a10_0x2c1bd0(0x221)),{v4:uuidv4}=require(a10_0x2c1bd0(0x209)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,messageTypes,global_registry}=require(a10_0x2c1bd0(0x21f)),{getCredentialsPath}=require(a10_0x2c1bd0(0x20f)),{sendInstrumentationEvent}=require(a10_0x2c1bd0(0x218)),promisifiedRequest=util['promisify'](request);exports[a10_0x2c1bd0(0x21e)]=a10_0x2c1bd0(0x1cd),exports['desc']=a10_0x2c1bd0(0x1fe),exports[a10_0x2c1bd0(0x200)]=function(_0x5808cf){const _0x2adfda=a10_0x2c1bd0,_0x4aa9b8={};_0x4aa9b8[_0x2adfda(0x1d4)]='Use\x20this\x20option\x20to\x20list\x20all\x20the\x20grids\x20for\x20your\x20group.',_0x4aa9b8['zAgwI']=_0x2adfda(0x1f6),_0x4aa9b8['jygrt']='help';const _0x196a4c=_0x4aa9b8,_0x3e998d={};_0x3e998d['description']=_0x196a4c['yZUcZ'],_0x3e998d[_0x2adfda(0x1d3)]=_0x196a4c['zAgwI'];const _0x41442e={};return _0x41442e[_0x2adfda(0x220)]=_0x3e998d,_0x5808cf[_0x2adfda(0x210)](HELP_HEADER_MESSAGE['list'][_0x2adfda(0x1e8)])[_0x2adfda(0x1d1)](HELP_FOOTER_MESSAGE)[_0x2adfda(0x211)](_0x41442e)['help'](_0x196a4c[_0x2adfda(0x214)])[_0x2adfda(0x1e7)];},exports[a10_0x2c1bd0(0x1ef)]=async function(_0x17255f){const _0x309057=a10_0x2c1bd0,_0x1455fa={'BvXqT':function(_0x2dd45e){return _0x2dd45e();},'WJJul':function(_0xc47f43){return _0xc47f43();},'GSFET':_0x309057(0x1f1),'nGscB':function(_0x1d01fb,_0x233f71,_0x2ea156,_0x23ff67,_0x49c1c3,_0x1dc0b7,_0x303fd5){return _0x1d01fb(_0x233f71,_0x2ea156,_0x23ff67,_0x49c1c3,_0x1dc0b7,_0x303fd5);},'ZWNjh':_0x309057(0x1e0),'GFsFj':_0x309057(0x1d8),'VldwB':function(_0x5ebe9f){return _0x5ebe9f();},'AXpGj':_0x309057(0x20a),'WsFHA':function(_0x449040,_0x23a990,_0x5625c8,_0x3f04b9,_0x1f2a0d,_0x2daa81,_0x16b5ae){return _0x449040(_0x23a990,_0x5625c8,_0x3f04b9,_0x1f2a0d,_0x2daa81,_0x16b5ae);},'ueMbC':function(_0x1a3690,_0x2b1c7d){return _0x1a3690(_0x2b1c7d);},'beRpI':function(_0x45099c,_0x4494f5){return _0x45099c!==_0x4494f5;},'UEJsk':function(_0x957571,_0x4815d8){return _0x957571===_0x4815d8;},'GjuZc':_0x309057(0x1de),'sWmhf':'grid-id','LFfVS':_0x309057(0x1f8),'SDQja':_0x309057(0x225),'jEygU':_0x309057(0x21d),'iMNDE':_0x309057(0x205),'TSCdA':_0x309057(0x223),'zAMsB':function(_0x16ab1a,_0x5b876a){return _0x16ab1a===_0x5b876a;},'xvbTx':'unauthorised','osSIE':_0x309057(0x1cf),'lrFjN':function(_0xb004ee,_0x38a48e,_0xd9c294,_0x16994f,_0x2bdee7,_0x3539c0,_0x67e2b2){return _0xb004ee(_0x38a48e,_0xd9c294,_0x16994f,_0x2bdee7,_0x3539c0,_0x67e2b2);},'RgzDl':_0x309057(0x1d0)};try{global_registry[_0x309057(0x222)]=_0x1455fa[_0x309057(0x1fb)](uuidv4);!fs[_0x309057(0x1f4)](_0x1455fa[_0x309057(0x1da)](getCredentialsPath))&&(console[_0x309057(0x207)](_0x1455fa['GSFET']),await _0x1455fa['nGscB'](sendInstrumentationEvent,_0x17255f,_0x1455fa[_0x309057(0x1e5)],messageTypes[_0x309057(0x1f2)],_0x1455fa[_0x309057(0x20c)],null,_0x17255f),process[_0x309057(0x201)](0x1));const _0x22cc0e=JSON['parse'](fs[_0x309057(0x1e9)](_0x1455fa[_0x309057(0x217)](getCredentialsPath)));let _0x1d8500=_0x309057(0x20e)+AG_API_URL+_0x309057(0x215);_0x17255f['allGrids']&&(_0x1d8500=_0x309057(0x20e)+AG_API_URL+_0x309057(0x206));const _0x52a209={};_0x52a209['username']=_0x22cc0e[_0x309057(0x1f3)][_0x309057(0x20d)],_0x52a209[_0x309057(0x1ec)]=_0x22cc0e[_0x309057(0x1f3)][_0x309057(0x1ec)];const _0x3a438f={};_0x3a438f[_0x309057(0x219)]=_0x1d8500,_0x3a438f[_0x309057(0x1fc)]=_0x1455fa['AXpGj'],_0x3a438f['auth']=_0x52a209;const _0x189715=_0x3a438f;global_registry[_0x309057(0x1fd)]=_0x22cc0e[_0x309057(0x1f3)]['username'],global_registry[_0x309057(0x21c)]=_0x22cc0e[_0x309057(0x1f3)]['password'],_0x1455fa['WsFHA'](sendInstrumentationEvent,_0x17255f,_0x1455fa[_0x309057(0x1e5)],messageTypes[_0x309057(0x1ee)],null,null,_0x17255f);const _0x509dd5=await _0x1455fa[_0x309057(0x1d2)](promisifiedRequest,_0x189715);if(_0x1455fa['beRpI'](_0x509dd5,null)&&_0x1455fa['beRpI'](_0x509dd5,undefined)&&_0x1455fa['UEJsk'](_0x509dd5[_0x309057(0x224)],0xc8)){const _0x5b7c7e=JSON['parse'](_0x509dd5[_0x309057(0x212)]);console[_0x309057(0x1f9)](_0x1455fa[_0x309057(0x208)]);const _0x46d15b=[];_0x46d15b[_0x309057(0x1e2)]([_0x1455fa[_0x309057(0x21a)],_0x1455fa['LFfVS'],_0x1455fa[_0x309057(0x1fa)],_0x1455fa[_0x309057(0x1ce)],_0x1455fa[_0x309057(0x1e3)],_0x1455fa[_0x309057(0x1e4)]]),_0x5b7c7e[_0x309057(0x1d5)](_0x4340b8=>{const _0x1375ec=_0x309057;_0x46d15b[_0x1375ec(0x1e2)]([_0x4340b8['id'],_0x4340b8[_0x1375ec(0x213)],_0x4340b8[_0x1375ec(0x225)],_0x4340b8[_0x1375ec(0x21d)],_0x4340b8[_0x1375ec(0x205)],_0x4340b8[_0x1375ec(0x1e6)]]);}),console[_0x309057(0x1f9)](_0x1455fa[_0x309057(0x1d2)](table,_0x46d15b)),process['exit'](0x0);}_0x1455fa['zAMsB'](_0x509dd5['statusCode'],0x191)&&(console[_0x309057(0x207)](_0x309057(0x1f5)),await _0x1455fa[_0x309057(0x20b)](sendInstrumentationEvent,_0x17255f,_0x1455fa['ZWNjh'],messageTypes['ERROR'],_0x1455fa[_0x309057(0x204)],null,_0x17255f),process[_0x309057(0x201)](0x1)),console[_0x309057(0x207)](_0x309057(0x1e1)+JSON[_0x309057(0x1d9)](_0x509dd5)),await _0x1455fa[_0x309057(0x1ed)](sendInstrumentationEvent,_0x17255f,_0x1455fa['ZWNjh'],messageTypes[_0x309057(0x1f2)],_0x1455fa['osSIE'],_0x509dd5,_0x17255f),process[_0x309057(0x201)](0x1);}catch(_0x4135ac){console[_0x309057(0x207)](_0x309057(0x1dc)+_0x4135ac['stack']),await _0x1455fa[_0x309057(0x1ff)](sendInstrumentationEvent,_0x17255f,_0x1455fa[_0x309057(0x1e5)],messageTypes[_0x309057(0x1f2)],_0x1455fa[_0x309057(0x1d6)],_0x4135ac,_0x17255f),process[_0x309057(0x201)](0x1);}};
@@ -1 +1 @@
1
- var a11_0x162eac=a11_0x3d1b;function a11_0x3d1b(_0x49c559,_0x17fd34){var _0x2bfa77=a11_0x2bfa();return a11_0x3d1b=function(_0x3d1b75,_0x5b92b6){_0x3d1b75=_0x3d1b75-0x7f;var _0x351967=_0x2bfa77[_0x3d1b75];return _0x351967;},a11_0x3d1b(_0x49c559,_0x17fd34);}(function(_0x286cfc,_0x29805f){var _0x426624=a11_0x3d1b,_0x18e18f=_0x286cfc();while(!![]){try{var _0x38730e=parseInt(_0x426624(0xb4))/0x1*(parseInt(_0x426624(0xab))/0x2)+-parseInt(_0x426624(0x9d))/0x3+-parseInt(_0x426624(0xbb))/0x4*(parseInt(_0x426624(0xa3))/0x5)+-parseInt(_0x426624(0xc6))/0x6+-parseInt(_0x426624(0xaf))/0x7*(-parseInt(_0x426624(0xbf))/0x8)+parseInt(_0x426624(0x83))/0x9+parseInt(_0x426624(0x86))/0xa;if(_0x38730e===_0x29805f)break;else _0x18e18f['push'](_0x18e18f['shift']());}catch(_0x5096ec){_0x18e18f['push'](_0x18e18f['shift']());}}}(a11_0x2bfa,0xe60d3),require(a11_0x162eac(0x9a))[a11_0x162eac(0xad)](),exports['DASHBOARD_ENDPOINT']=process[a11_0x162eac(0x8d)][a11_0x162eac(0x97)]||a11_0x162eac(0xb0),exports['BS_API_URL']=process['env']['BS_API_URL']||a11_0x162eac(0xcd),exports[a11_0x162eac(0xcb)]=process[a11_0x162eac(0x8d)][a11_0x162eac(0xcb)]||a11_0x162eac(0xc1),exports[a11_0x162eac(0xc2)]='wss://'+this[a11_0x162eac(0xcb)]+a11_0x162eac(0xa9),exports[a11_0x162eac(0x95)]=a11_0x162eac(0xc3),exports['IAM_USER_NAME']=a11_0x162eac(0x96),exports[a11_0x162eac(0x85)]='high-scale-grid',exports[a11_0x162eac(0xa7)]=a11_0x162eac(0x8a),exports[a11_0x162eac(0xc9)]=a11_0x162eac(0xa2),exports['CLUSTER_AUTOSCALER_STACK_NAME']=a11_0x162eac(0xa5));var a11_0x4dca27={};function a11_0x2bfa(){var _0x42deb8=['list','dotenv','LOG','cliRunFinished','5018577DwwkYe','COMMON_HST_TAGS','BrowserStack','error','HST_CLUSTER_TAGS','BSTACK-ATS-CLUSTER','5tRCQWN','init','BSTACK-ATS-CLUSTER-AUTOSCALER','info','AWS','RESOURCES','/ws?username=<UsernamePlaceholder>&password=<PasswordPlaceholder>','CLI_RUN_STARTED','1341124KpkMds','CLI_RUN_FINISHED','config','messageTypes','14qIlOLN','grid.browserstack.com','SUCCESS','WS_EVENTS','GRID_URL','1uicwed','\x0aThis\x20will\x20help\x20create\x20a\x20new\x20Automation\x20grid.','configure','\x0aThis\x20will\x20help\x20delete\x20the\x20Automation\x20grid.','gridUrl','CLI_ARGS_REGEX','Use\x20\x22browserstack-cli\x20ats\x20<command_group>\x20-h/--help\x22\x20for\x20more\x20options\x20available\x20about\x20Automate\x20{TurboScale}.','1685104IyEjzD','HELP_FOOTER_MESSAGE','\x0aThis\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC.','log','4274008oDSLGO','LINK_MESSAGE','grid-api.browserstack.com','WS_ENDPOINT','credentials','browserstack:service','connect','7497846DnaOza','resourceInfo','[REDACTED]','CLUSTER_DEP_STACK_NAME','HELP_HEADER_MESSAGE','AG_API_URL','BrowserStack-Automate-TurboScale','api.browserstack.com','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20resources\x20created\x20on\x20Automate\x20{TurboScale}.','\x0a\x0aFind\x20more\x20information\x20at:\x20https://browserstack.com/docs/automate-turboscale/references/browserstack-cli','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grids\x20created.','AWS_INSTANCE_TYPE_LIST','6830001rYHfXt','SUPPORTED_CLOUD_PROVIDERS','DEFAULT_GRID_NAME','17881140glPqGc','REDACTED','cliRunStarted','success','aws','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grid\x20profiles\x20created.','INFO','env','Value','Key','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20configuration\x20of\x20BrowserStack\x20CLI.','gridProfile','WARNING','unknown','global_registry','CP_CONFIG_FILE','BrowserStackIAMUser','DASHBOARD_ENDPOINT','browserstack:managedBy'];a11_0x2bfa=function(){return _0x42deb8;};return a11_0x2bfa();}a11_0x4dca27['Key']=a11_0x162eac(0x98),a11_0x4dca27[a11_0x162eac(0x8e)]=a11_0x162eac(0x9f);var a11_0x16c789={};a11_0x16c789[a11_0x162eac(0x8f)]='browserstack:service',a11_0x16c789[a11_0x162eac(0x8e)]=a11_0x162eac(0xcc),exports[a11_0x162eac(0x9e)]=[a11_0x4dca27,a11_0x16c789];var a11_0x2f0e45={};a11_0x2f0e45[a11_0x162eac(0x98)]='BrowserStack',a11_0x2f0e45[a11_0x162eac(0xc4)]=a11_0x162eac(0xcc),exports[a11_0x162eac(0xa1)]=a11_0x2f0e45,exports[a11_0x162eac(0x84)]=[this[a11_0x162eac(0xa7)]];var a11_0x3ad560={};a11_0x3ad560[a11_0x162eac(0x9b)]=a11_0x162eac(0xbe),a11_0x3ad560[a11_0x162eac(0xa8)]=a11_0x162eac(0xc7),a11_0x3ad560[a11_0x162eac(0xb3)]=a11_0x162eac(0xb8),a11_0x3ad560[a11_0x162eac(0xaa)]=a11_0x162eac(0x88),a11_0x3ad560[a11_0x162eac(0xac)]=a11_0x162eac(0x9c),exports[a11_0x162eac(0xb2)]=a11_0x3ad560,exports[a11_0x162eac(0x94)]={},exports['LINK_MESSAGE']=a11_0x162eac(0x80);var a11_0x55fcdf={};a11_0x55fcdf['root']='\x0aCreate\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing.'+this[a11_0x162eac(0xc0)],a11_0x55fcdf[a11_0x162eac(0xa4)]='\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20initialisation\x20of\x20BrowserStack\x20CLI.'+this['LINK_MESSAGE'],a11_0x55fcdf[a11_0x162eac(0xb6)]=a11_0x162eac(0x90)+this['LINK_MESSAGE'],a11_0x55fcdf['create']=a11_0x162eac(0xb5)+this[a11_0x162eac(0xc0)],a11_0x55fcdf[a11_0x162eac(0x99)]={},a11_0x55fcdf['delete']=a11_0x162eac(0xb7)+this['LINK_MESSAGE'],a11_0x55fcdf[a11_0x162eac(0xc5)]=a11_0x162eac(0xbd)+this[a11_0x162eac(0xc0)],a11_0x55fcdf[a11_0x162eac(0x99)]['root']=a11_0x162eac(0x7f)+this[a11_0x162eac(0xc0)],a11_0x55fcdf[a11_0x162eac(0x99)]['grid']=a11_0x162eac(0x81)+this[a11_0x162eac(0xc0)],a11_0x55fcdf[a11_0x162eac(0x99)][a11_0x162eac(0x91)]=a11_0x162eac(0x8b)+this['LINK_MESSAGE'],exports[a11_0x162eac(0xca)]=a11_0x55fcdf,exports[a11_0x162eac(0xbc)]=a11_0x162eac(0xba);var a11_0x124027={};a11_0x124027[a11_0x162eac(0xb1)]=a11_0x162eac(0x89),a11_0x124027['ERROR']=a11_0x162eac(0xa0),a11_0x124027[a11_0x162eac(0x8c)]=a11_0x162eac(0xa6),a11_0x124027[a11_0x162eac(0x92)]='warning',a11_0x124027['UNKNOWN']=a11_0x162eac(0x93),a11_0x124027['NULL']=null,exports[a11_0x162eac(0xae)]=a11_0x124027,exports[a11_0x162eac(0xb9)]=/(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g,exports['RAW_ARGS_REGEX']=/(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g,exports[a11_0x162eac(0x87)]=a11_0x162eac(0xc8),exports[a11_0x162eac(0x82)]=require('./instanceTypes.json');
1
+ var a11_0x50238b=a11_0x5c2c;(function(_0x2c87fa,_0xc5c8a7){var _0x3bb734=a11_0x5c2c,_0x5bd2a8=_0x2c87fa();while(!![]){try{var _0x388eaf=-parseInt(_0x3bb734(0x162))/0x1*(-parseInt(_0x3bb734(0x14a))/0x2)+parseInt(_0x3bb734(0x13c))/0x3+parseInt(_0x3bb734(0x12d))/0x4*(-parseInt(_0x3bb734(0x155))/0x5)+-parseInt(_0x3bb734(0x16c))/0x6+-parseInt(_0x3bb734(0x15a))/0x7+-parseInt(_0x3bb734(0x12b))/0x8+parseInt(_0x3bb734(0x131))/0x9;if(_0x388eaf===_0xc5c8a7)break;else _0x5bd2a8['push'](_0x5bd2a8['shift']());}catch(_0xfa1529){_0x5bd2a8['push'](_0x5bd2a8['shift']());}}}(a11_0x45e3,0x898fb),require(a11_0x50238b(0x139))[a11_0x50238b(0x13e)](),exports[a11_0x50238b(0x12a)]=process[a11_0x50238b(0x15f)][a11_0x50238b(0x12a)]||a11_0x50238b(0x127),exports['BS_API_URL']=process['env']['BS_API_URL']||'api.browserstack.com',exports[a11_0x50238b(0x14e)]=process[a11_0x50238b(0x15f)][a11_0x50238b(0x14e)]||a11_0x50238b(0x157),exports[a11_0x50238b(0x132)]=a11_0x50238b(0x125)+this['AG_API_URL']+a11_0x50238b(0x130),exports[a11_0x50238b(0x13d)]='credentials',exports[a11_0x50238b(0x16e)]='BrowserStackIAMUser',exports[a11_0x50238b(0x169)]=a11_0x50238b(0x15b),exports[a11_0x50238b(0x14c)]='aws',exports[a11_0x50238b(0x141)]=a11_0x50238b(0x129),exports[a11_0x50238b(0x135)]=a11_0x50238b(0x164));var a11_0x4dce72={};a11_0x4dce72['Key']='browserstack:managedBy',a11_0x4dce72[a11_0x50238b(0x160)]='BrowserStack';var a11_0x461b1b={};a11_0x461b1b[a11_0x50238b(0x142)]=a11_0x50238b(0x13b),a11_0x461b1b[a11_0x50238b(0x160)]=a11_0x50238b(0x154),exports[a11_0x50238b(0x165)]=[a11_0x4dce72,a11_0x461b1b];var a11_0x50790a={};function a11_0x45e3(){var _0x4bfd1d=['configure','\x0a\x0aFind\x20more\x20information\x20at:\x20https://browserstack.com/docs/automate-turboscale/references/browserstack-cli','BrowserStack-Automate-TurboScale','65AZOzef','UNKNOWN','grid-api.browserstack.com','messageTypes','ERROR','5258421ufkOuk','high-scale-grid','resourceInfo','\x0aCreate\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing.','[REDACTED]','env','Value','cliRunStarted','491DPteeU','HELP_FOOTER_MESSAGE','BSTACK-ATS-CLUSTER-AUTOSCALER','COMMON_HST_TAGS','SUCCESS','CLI_RUN_STARTED','cliRunFinished','DEFAULT_GRID_NAME','REDACTED','\x0aThis\x20will\x20help\x20create\x20a\x20new\x20Automation\x20grid.','2140368xPqhcd','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20initialisation\x20of\x20BrowserStack\x20CLI.','IAM_USER_NAME','\x0aThis\x20will\x20help\x20delete\x20the\x20Automation\x20grid.','wss://','HELP_HEADER_MESSAGE','grid.browserstack.com','init','BSTACK-ATS-CLUSTER','DASHBOARD_ENDPOINT','4060664trizfd','LINK_MESSAGE','313184zLbtmm','create','success','/ws?username=<UsernamePlaceholder>&password=<PasswordPlaceholder>','19179342aOUGHJ','WS_ENDPOINT','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grid\x20profiles\x20created.','CLI_ARGS_REGEX','CLUSTER_AUTOSCALER_STACK_NAME','HST_CLUSTER_TAGS','WS_EVENTS','gridUrl','dotenv','delete','browserstack:service','1401738KOBbid','CP_CONFIG_FILE','config','./instanceTypes.json','Use\x20\x22browserstack-cli\x20ats\x20<command_group>\x20-h/--help\x22\x20for\x20more\x20options\x20available\x20about\x20Automate\x20{TurboScale}.','CLUSTER_DEP_STACK_NAME','Key','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20configuration\x20of\x20BrowserStack\x20CLI.','\x0aThis\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC.','grid','NULL','RESOURCES','INFO','GRID_URL','2438DpUglX','list','AWS','BrowserStack','AG_API_URL','info','unknown','connect'];a11_0x45e3=function(){return _0x4bfd1d;};return a11_0x45e3();}a11_0x50790a['browserstack:managedBy']=a11_0x50238b(0x14d),a11_0x50790a[a11_0x50238b(0x13b)]='BrowserStack-Automate-TurboScale',exports[a11_0x50238b(0x136)]=a11_0x50790a,exports['SUPPORTED_CLOUD_PROVIDERS']=[this['AWS']];var a11_0x13c00={};a11_0x13c00['LOG']='log',a11_0x13c00[a11_0x50238b(0x147)]=a11_0x50238b(0x15c),a11_0x13c00[a11_0x50238b(0x149)]=a11_0x50238b(0x138),a11_0x13c00[a11_0x50238b(0x167)]=a11_0x50238b(0x161),a11_0x13c00['CLI_RUN_FINISHED']=a11_0x50238b(0x168),exports[a11_0x50238b(0x137)]=a11_0x13c00,exports['global_registry']={},exports[a11_0x50238b(0x12c)]=a11_0x50238b(0x153);var a11_0x250f8b={};function a11_0x5c2c(_0x213325,_0x114021){var _0x45e3ac=a11_0x45e3();return a11_0x5c2c=function(_0x5c2cfd,_0x2b5549){_0x5c2cfd=_0x5c2cfd-0x125;var _0x80c70e=_0x45e3ac[_0x5c2cfd];return _0x80c70e;},a11_0x5c2c(_0x213325,_0x114021);}a11_0x250f8b['root']=a11_0x50238b(0x15d)+this[a11_0x50238b(0x12c)],a11_0x250f8b[a11_0x50238b(0x128)]=a11_0x50238b(0x16d)+this[a11_0x50238b(0x12c)],a11_0x250f8b[a11_0x50238b(0x152)]=a11_0x50238b(0x143)+this[a11_0x50238b(0x12c)],a11_0x250f8b[a11_0x50238b(0x12e)]=a11_0x50238b(0x16b)+this['LINK_MESSAGE'],a11_0x250f8b[a11_0x50238b(0x14b)]={},a11_0x250f8b[a11_0x50238b(0x13a)]=a11_0x50238b(0x16f)+this[a11_0x50238b(0x12c)],a11_0x250f8b[a11_0x50238b(0x151)]=a11_0x50238b(0x144)+this['LINK_MESSAGE'],a11_0x250f8b[a11_0x50238b(0x14b)]['root']='\x0aThis\x20command\x20will\x20list\x20down\x20the\x20resources\x20created\x20on\x20Automate\x20{TurboScale}.'+this['LINK_MESSAGE'],a11_0x250f8b[a11_0x50238b(0x14b)][a11_0x50238b(0x145)]='\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grids\x20created.'+this[a11_0x50238b(0x12c)],a11_0x250f8b[a11_0x50238b(0x14b)]['gridProfile']=a11_0x50238b(0x133)+this[a11_0x50238b(0x12c)],exports[a11_0x50238b(0x126)]=a11_0x250f8b,exports[a11_0x50238b(0x163)]=a11_0x50238b(0x140);var a11_0xd4630e={};a11_0xd4630e[a11_0x50238b(0x166)]=a11_0x50238b(0x12f),a11_0xd4630e[a11_0x50238b(0x159)]='error',a11_0xd4630e[a11_0x50238b(0x148)]=a11_0x50238b(0x14f),a11_0xd4630e['WARNING']='warning',a11_0xd4630e[a11_0x50238b(0x156)]=a11_0x50238b(0x150),a11_0xd4630e[a11_0x50238b(0x146)]=null,exports[a11_0x50238b(0x158)]=a11_0xd4630e,exports[a11_0x50238b(0x134)]=/(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g,exports['RAW_ARGS_REGEX']=/(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g,exports[a11_0x50238b(0x16a)]=a11_0x50238b(0x15e),exports['AWS_INSTANCE_TYPE_LIST']=require(a11_0x50238b(0x13f));
@@ -1 +1 @@
1
- function a12_0x2293(_0x384411,_0x5189a1){const _0x51fa71=a12_0x51fa();return a12_0x2293=function(_0x229363,_0x164136){_0x229363=_0x229363-0xc9;let _0x210ba1=_0x51fa71[_0x229363];return _0x210ba1;},a12_0x2293(_0x384411,_0x5189a1);}const a12_0x3dcf59=a12_0x2293;(function(_0x375b8c,_0x2b76ca){const _0x3cb3d8=a12_0x2293,_0x3c32f9=_0x375b8c();while(!![]){try{const _0x407eb2=parseInt(_0x3cb3d8(0xca))/0x1*(-parseInt(_0x3cb3d8(0xcf))/0x2)+-parseInt(_0x3cb3d8(0xd0))/0x3*(-parseInt(_0x3cb3d8(0xc9))/0x4)+-parseInt(_0x3cb3d8(0xe0))/0x5+parseInt(_0x3cb3d8(0xe4))/0x6*(-parseInt(_0x3cb3d8(0xd5))/0x7)+-parseInt(_0x3cb3d8(0xdd))/0x8*(-parseInt(_0x3cb3d8(0xd8))/0x9)+-parseInt(_0x3cb3d8(0xd6))/0xa+-parseInt(_0x3cb3d8(0xda))/0xb*(-parseInt(_0x3cb3d8(0xdb))/0xc);if(_0x407eb2===_0x2b76ca)break;else _0x3c32f9['push'](_0x3c32f9['shift']());}catch(_0x347d3c){_0x3c32f9['push'](_0x3c32f9['shift']());}}}(a12_0x51fa,0x8de1f));const winston=require(a12_0x3dcf59(0xe3)),fs=require('fs'),path=require(a12_0x3dcf59(0xd7)),logDir=a12_0x3dcf59(0xe7);!fs[a12_0x3dcf59(0xcc)](logDir)&&fs[a12_0x3dcf59(0xe1)](logDir);function a12_0x51fa(){const _0x510ada=['1029ACpaLr','colorize','File','debug','timestamp','1449riOxYQ','1312840rANcGb','path','162873bHtzWO','format','62898MZuBlS','5508RHuTbY','createLogger','200dIHoxh','level','transports','4480380aiCnQI','mkdirSync','console.info','winston','32280nkUmPr','combine','join','log','\x20-\x20','events.log','44xiVMDr','1MnPGbn','fileLogger','existsSync','name','message','717178APKIXt'];a12_0x51fa=function(){return _0x510ada;};return a12_0x51fa();}const a12_0x2e8fed={};a12_0x2e8fed[a12_0x3dcf59(0xd9)]='YYYY-MM-DD\x20HH:mm:ss';const a12_0x986acc={};a12_0x986acc[a12_0x3dcf59(0xde)]=!![];const a12_0x2f5a6f={};a12_0x2f5a6f[a12_0x3dcf59(0xcd)]=a12_0x3dcf59(0xe2),exports['logger']=new winston[(a12_0x3dcf59(0xdc))]({'format':winston[a12_0x3dcf59(0xd9)][a12_0x3dcf59(0xe5)](winston['format'][a12_0x3dcf59(0xd4)](a12_0x2e8fed),winston['format'][a12_0x3dcf59(0xd1)](a12_0x986acc),winston[a12_0x3dcf59(0xd9)]['printf'](_0x39718e=>_0x39718e['timestamp']+a12_0x3dcf59(0xe8)+_0x39718e[a12_0x3dcf59(0xde)]+':\x20'+_0x39718e[a12_0x3dcf59(0xce)])),'transports':[new winston['transports']['Console'](a12_0x2f5a6f),new winston[(a12_0x3dcf59(0xdf))][(a12_0x3dcf59(0xd2))]({'filename':path[a12_0x3dcf59(0xe6)](logDir,a12_0x3dcf59(0xe9)),'level':a12_0x3dcf59(0xd3)})]});const winstonFileLoggerParams={'transports':[new winston[(a12_0x3dcf59(0xdf))][(a12_0x3dcf59(0xd2))]({'filename':path['join'](logDir,'usage.log'),'level':a12_0x3dcf59(0xd3)})]};exports[a12_0x3dcf59(0xcb)]=new winston[(a12_0x3dcf59(0xdc))](winstonFileLoggerParams);
1
+ function a12_0x5bf8(){const _0x1f84c8=['timestamp','6GevCXN','55433092gKBkCs','message','log','45BcGYIA','events.log','6311110DRwuqr','printf','mkdirSync','winston','debug','existsSync','4FvkwcE','912894BTTwaO','Console','2154579bxgBPH','File','path','7113730iLPFdK','usage.log','671122JKoIQn','\x20-\x20','join','format','level','createLogger','9enUbcZ','console.info','fileLogger','transports','combine','203272KjLWgL','name'];a12_0x5bf8=function(){return _0x1f84c8;};return a12_0x5bf8();}const a12_0x3742d0=a12_0xbbe7;(function(_0x2727b3,_0x4a8434){const _0x5c9ed2=a12_0xbbe7,_0x86ab97=_0x2727b3();while(!![]){try{const _0x5d03f1=-parseInt(_0x5c9ed2(0xdd))/0x1+-parseInt(_0x5c9ed2(0xe4))/0x2*(parseInt(_0x5c9ed2(0xea))/0x3)+parseInt(_0x5c9ed2(0xfe))/0x4*(-parseInt(_0x5c9ed2(0xe2))/0x5)+parseInt(_0x5c9ed2(0xf2))/0x6*(-parseInt(_0x5c9ed2(0xdf))/0x7)+parseInt(_0x5c9ed2(0xef))/0x8*(parseInt(_0x5c9ed2(0xf6))/0x9)+-parseInt(_0x5c9ed2(0xf8))/0xa+parseInt(_0x5c9ed2(0xf3))/0xb;if(_0x5d03f1===_0x4a8434)break;else _0x86ab97['push'](_0x86ab97['shift']());}catch(_0x32bf98){_0x86ab97['push'](_0x86ab97['shift']());}}}(a12_0x5bf8,0xd81c2));const winston=require(a12_0x3742d0(0xfb)),fs=require('fs'),path=require(a12_0x3742d0(0xe1)),logDir=a12_0x3742d0(0xf5);!fs[a12_0x3742d0(0xfd)](logDir)&&fs[a12_0x3742d0(0xfa)](logDir);const a12_0x533982={};a12_0x533982[a12_0x3742d0(0xe7)]='YYYY-MM-DD\x20HH:mm:ss';function a12_0xbbe7(_0x5cb567,_0x51b401){const _0x5bf8d6=a12_0x5bf8();return a12_0xbbe7=function(_0xbbe73e,_0x4b514b){_0xbbe73e=_0xbbe73e-0xdd;let _0x4d1aa3=_0x5bf8d6[_0xbbe73e];return _0x4d1aa3;},a12_0xbbe7(_0x5cb567,_0x51b401);}const a12_0x379011={};a12_0x379011[a12_0x3742d0(0xe8)]=!![];const a12_0x7f3d13={};a12_0x7f3d13[a12_0x3742d0(0xf0)]=a12_0x3742d0(0xeb),exports['logger']=new winston[(a12_0x3742d0(0xe9))]({'format':winston['format'][a12_0x3742d0(0xee)](winston[a12_0x3742d0(0xe7)]['timestamp'](a12_0x533982),winston[a12_0x3742d0(0xe7)]['colorize'](a12_0x379011),winston[a12_0x3742d0(0xe7)][a12_0x3742d0(0xf9)](_0x36c1c7=>_0x36c1c7[a12_0x3742d0(0xf1)]+a12_0x3742d0(0xe5)+_0x36c1c7[a12_0x3742d0(0xe8)]+':\x20'+_0x36c1c7[a12_0x3742d0(0xf4)])),'transports':[new winston[(a12_0x3742d0(0xed))][(a12_0x3742d0(0xde))](a12_0x7f3d13),new winston[(a12_0x3742d0(0xed))][(a12_0x3742d0(0xe0))]({'filename':path['join'](logDir,a12_0x3742d0(0xf7)),'level':a12_0x3742d0(0xfc)})]});const winstonFileLoggerParams={'transports':[new winston[(a12_0x3742d0(0xed))][(a12_0x3742d0(0xe0))]({'filename':path[a12_0x3742d0(0xe6)](logDir,a12_0x3742d0(0xe3)),'level':a12_0x3742d0(0xfc)})]};exports[a12_0x3742d0(0xec)]=new winston[(a12_0x3742d0(0xe9))](winstonFileLoggerParams);
package/ats/src/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a13_0x5586f4=a13_0x39b2;(function(_0x364e48,_0x466c88){const _0x2dad0d=a13_0x39b2,_0x10d360=_0x364e48();while(!![]){try{const _0x27d38a=-parseInt(_0x2dad0d(0x1af))/0x1+-parseInt(_0x2dad0d(0x1c0))/0x2*(-parseInt(_0x2dad0d(0x1b5))/0x3)+parseInt(_0x2dad0d(0x1bc))/0x4+-parseInt(_0x2dad0d(0x1b2))/0x5*(parseInt(_0x2dad0d(0x1b6))/0x6)+-parseInt(_0x2dad0d(0x1b7))/0x7+-parseInt(_0x2dad0d(0x1bf))/0x8*(-parseInt(_0x2dad0d(0x1bb))/0x9)+parseInt(_0x2dad0d(0x1bd))/0xa;if(_0x27d38a===_0x466c88)break;else _0x10d360['push'](_0x10d360['shift']());}catch(_0x418698){_0x10d360['push'](_0x10d360['shift']());}}}(a13_0x129b,0x9e770));const {HELP_FOOTER_MESSAGE,HELP_HEADER_MESSAGE}=require('./config/constants');process[a13_0x5586f4(0x1b1)]['AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE']=0x1;function a13_0x39b2(_0x47f0c3,_0x349e73){const _0x129b52=a13_0x129b();return a13_0x39b2=function(_0x39b297,_0x281642){_0x39b297=_0x39b297-0x1ae;let _0x16c7ad=_0x129b52[_0x39b297];return _0x16c7ad;},a13_0x39b2(_0x47f0c3,_0x349e73);}function run(_0x25f127){const _0x68b6d3=a13_0x5586f4,_0x10b201={};_0x10b201[_0x68b6d3(0x1b3)]=_0x68b6d3(0x1ba),_0x10b201[_0x68b6d3(0x1b8)]='help';const _0xd8fd5c=_0x10b201;_0x25f127[_0x68b6d3(0x1ae)](HELP_HEADER_MESSAGE[_0x68b6d3(0x1b4)])['commandDir'](_0xd8fd5c[_0x68b6d3(0x1b3)])['demandCommand']()[_0x68b6d3(0x1b0)](_0xd8fd5c['kKMfk'])[_0x68b6d3(0x1be)](HELP_FOOTER_MESSAGE);}function a13_0x129b(){const _0x965fc4=['usage','72490IjpHIV','help','env','5hcbEYD','txDse','root','57sNvhCa','7190130WuJJaJ','5005077NiplPz','kKMfk','exports','commands','9TWKAjB','574984lNWdsA','20724490aTALQh','epilogue','1367328hqBJcS','26086avdabJ'];a13_0x129b=function(){return _0x965fc4;};return a13_0x129b();}module[a13_0x5586f4(0x1b9)]=run;
2
+ 'use strict';function a13_0x15c4(){const _0x576dfc=['root','1146JHFPVh','5727492yJgHuK','demandCommand','50ZwIWfa','SnpMT','414235qlcprV','1PynILU','1552872blYFFZ','8INLnae','epilogue','15743nvQrxP','commandDir','commands','usage','env','help','492ETLXti','226630IwgwYS','11hYiZKR','281007OUuSKC'];a13_0x15c4=function(){return _0x576dfc;};return a13_0x15c4();}function a13_0x321b(_0x5b92cc,_0x5cfb9f){const _0x15c4d1=a13_0x15c4();return a13_0x321b=function(_0x321b8e,_0xd3997d){_0x321b8e=_0x321b8e-0x1bd;let _0x17cfdd=_0x15c4d1[_0x321b8e];return _0x17cfdd;},a13_0x321b(_0x5b92cc,_0x5cfb9f);}const a13_0x4fed64=a13_0x321b;(function(_0x290823,_0x55e6a2){const _0x8aba87=a13_0x321b,_0x2cd3bb=_0x290823();while(!![]){try{const _0x3317ed=-parseInt(_0x8aba87(0x1cc))/0x1*(-parseInt(_0x8aba87(0x1c2))/0x2)+-parseInt(_0x8aba87(0x1c6))/0x3*(parseInt(_0x8aba87(0x1c1))/0x4)+parseInt(_0x8aba87(0x1cb))/0x5+-parseInt(_0x8aba87(0x1cd))/0x6+parseInt(_0x8aba87(0x1d0))/0x7*(-parseInt(_0x8aba87(0x1ce))/0x8)+parseInt(_0x8aba87(0x1c4))/0x9*(-parseInt(_0x8aba87(0x1c9))/0xa)+-parseInt(_0x8aba87(0x1c3))/0xb*(-parseInt(_0x8aba87(0x1c7))/0xc);if(_0x3317ed===_0x55e6a2)break;else _0x2cd3bb['push'](_0x2cd3bb['shift']());}catch(_0x38a78e){_0x2cd3bb['push'](_0x2cd3bb['shift']());}}}(a13_0x15c4,0x3318b));const {HELP_FOOTER_MESSAGE,HELP_HEADER_MESSAGE}=require('./config/constants');process[a13_0x4fed64(0x1bf)]['AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE']=0x1;function run(_0x2632a5){const _0x582ed4=a13_0x4fed64,_0x31160d={};_0x31160d[_0x582ed4(0x1ca)]=_0x582ed4(0x1bd),_0x31160d['JadXf']=_0x582ed4(0x1c0);const _0x54e31a=_0x31160d;_0x2632a5[_0x582ed4(0x1be)](HELP_HEADER_MESSAGE[_0x582ed4(0x1c5)])[_0x582ed4(0x1d1)](_0x54e31a['SnpMT'])[_0x582ed4(0x1c8)]()[_0x582ed4(0x1c0)](_0x54e31a['JadXf'])[_0x582ed4(0x1cf)](HELP_FOOTER_MESSAGE);}module['exports']=run;
@@ -1 +1 @@
1
- const a14_0x4946d1=a14_0x4ae8;function a14_0x4ae8(_0x21314b,_0xf720a4){const _0x12edd8=a14_0x12ed();return a14_0x4ae8=function(_0x4ae8cb,_0xdc3a7c){_0x4ae8cb=_0x4ae8cb-0x70;let _0x270122=_0x12edd8[_0x4ae8cb];return _0x270122;},a14_0x4ae8(_0x21314b,_0xf720a4);}(function(_0x50e1ad,_0x2ee150){const _0x52bc8a=a14_0x4ae8,_0x1f4aa5=_0x50e1ad();while(!![]){try{const _0x15d6f8=parseInt(_0x52bc8a(0xaf))/0x1*(parseInt(_0x52bc8a(0xe3))/0x2)+-parseInt(_0x52bc8a(0xc8))/0x3*(-parseInt(_0x52bc8a(0xfc))/0x4)+parseInt(_0x52bc8a(0x142))/0x5*(-parseInt(_0x52bc8a(0x16a))/0x6)+-parseInt(_0x52bc8a(0x172))/0x7*(parseInt(_0x52bc8a(0x18a))/0x8)+-parseInt(_0x52bc8a(0x103))/0x9+parseInt(_0x52bc8a(0xf3))/0xa+parseInt(_0x52bc8a(0x121))/0xb;if(_0x15d6f8===_0x2ee150)break;else _0x1f4aa5['push'](_0x1f4aa5['shift']());}catch(_0x16ffd6){_0x1f4aa5['push'](_0x1f4aa5['shift']());}}}(a14_0x12ed,0x9c52d));const fs=require('fs'),yaml=require('js-yaml'),path=require(a14_0x4946d1(0xd7)),awsSDK=require(a14_0x4946d1(0xda)),{AWS,global_registry}=require(a14_0x4946d1(0x7f)),{logger}=require(a14_0x4946d1(0x15c));exports[a14_0x4946d1(0x102)]=()=>{const _0x110420=a14_0x4946d1,_0x1596db={'QxVPz':function(_0x4205c3,_0x4828ae){return _0x4205c3(_0x4828ae);},'Stsdr':function(_0x213c25,_0x10a98f){return _0x213c25===_0x10a98f;},'mNbZI':_0x110420(0x126)};!this['isAWSConfigured']()&&(_0x1596db[_0x110420(0x12f)](_0x1596db[_0x110420(0x181)],_0x1596db[_0x110420(0x181)])?this[_0x110420(0x158)]():_0x1596db[_0x110420(0x159)](_0x1d779c,!![]));},exports[a14_0x4946d1(0xa6)]=async(_0xcd4557,_0x421343)=>{const _0x272746=a14_0x4946d1,_0x4e85bd={'coGfh':function(_0x3f8108,_0xa57964){return _0x3f8108(_0xa57964);},'iFUVA':function(_0x43e77e,_0xb9a234){return _0x43e77e!==_0xb9a234;},'YnOUm':_0x272746(0x147),'JHMfe':_0x272746(0x18b)};if(_0x4e85bd[_0x272746(0x173)](isAWS,_0xcd4557))return _0x4e85bd[_0x272746(0xce)](_0x4e85bd['YnOUm'],_0x4e85bd[_0x272746(0xac)])?(this[_0x272746(0x102)](),_0x4e85bd['coGfh'](checkAWSClusterCreated,_0x421343)):_0x26f6ce[_0x272746(0xb5)](_0x263672)?!![]:(_0x2b939a[_0x272746(0x11c)](_0x2e19d7),![]);},exports['getClusterInfo']=async _0x17f5c4=>{const _0x2bf57a=a14_0x4946d1,_0x37621b={};_0x37621b[_0x2bf57a(0x14e)]='2017-11-01';const _0x372125=_0x37621b,_0x2c463c={};_0x2c463c[_0x2bf57a(0x9b)]=_0x372125[_0x2bf57a(0x14e)];const _0x1dfced=new awsSDK[(_0x2bf57a(0xe8))](_0x2c463c),_0x58e890={};return _0x58e890[_0x2bf57a(0xd8)]=_0x17f5c4,_0x1dfced[_0x2bf57a(0xcd)](_0x58e890)[_0x2bf57a(0x8f)]();},exports['createAuthConfigMap']=async _0x47856d=>{const _0x3334c2=a14_0x4946d1,_0x43a428={};_0x43a428[_0x3334c2(0x104)]=_0x3334c2(0x78),_0x43a428['PJomy']=_0x3334c2(0xdc),_0x43a428[_0x3334c2(0x14c)]=_0x3334c2(0x131),_0x43a428[_0x3334c2(0x85)]=_0x3334c2(0x70);const _0x2af571=_0x43a428,_0x140738=await fs[_0x3334c2(0x10f)](path['join'](__dirname,'..',_0x2af571['vmpXK'],_0x2af571[_0x3334c2(0x169)]),_0x2af571[_0x3334c2(0x14c)]),_0x30293b=yaml[_0x3334c2(0x79)](_0x140738);return _0x30293b[_0x3334c2(0xd5)][_0x3334c2(0x171)]=_0x30293b[_0x3334c2(0xd5)][_0x3334c2(0x171)]['replace'](_0x2af571[_0x3334c2(0x85)],_0x47856d),_0x30293b;},exports[a14_0x4946d1(0x88)]=async(_0x25df2b,_0x37a200)=>{const _0x32ca53=a14_0x4946d1,_0x1ec0a4={};_0x1ec0a4[_0x32ca53(0x176)]='2017-11-01';const _0x6c4f04=_0x1ec0a4,_0x49c4c7={};_0x49c4c7[_0x32ca53(0x9b)]=_0x6c4f04['atuzn'];const _0x28a4e0=new awsSDK[(_0x32ca53(0xe8))](_0x49c4c7),_0x1f1c14={};return _0x1f1c14[_0x32ca53(0xbe)]=_0x25df2b,_0x1f1c14[_0x32ca53(0x163)]=_0x37a200,_0x28a4e0[_0x32ca53(0xd6)](_0x1f1c14)[_0x32ca53(0x8f)]();};function a14_0x12ed(){const _0x13c883=['info','WwdkN','region','ZZNuU','jfDSa','RSXwi','hAMkL','UoBzD','Stsdr','WzLSs','utf-8','zlxua','getAWSRegions','HolOZ','hNsLx','TEJaU','tgllG','JBldN','Jduni','RcBvm','AfRaF','ljmcc','JsqGX','HFJUC','TUbFz','DElZc','listClusters','5bBArEn','kZXvJ','Bucket:\x20','PIpYi','fObJZ','uhTIx','aFKgN','ypjxx','XUFUI','aMxno','JYDCr','NwHQT','sGyvi','mIzMP','DkpoX','FBlbO','hBjGR','RlqHU','isVPCPresent','Name','povkP','jmPce','setAWSConfig','QxVPz','secretAccessKey','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','../config/logger','eUllz','fetchSecurityGroups','WqrZI','QDKxV','RiXfH','BQVZj','nodegroupName','PZqYL','QOqFy','mLcRd','YOpIU','fetchSubnets','PJomy','3520806LHxXGo','nlvml','IbSnm','eKsxU','owgYD','mTxyY','DPrxP','mapRoles','124040dBMgfU','coGfh','jzoIS','XzhQZ','atuzn','VZILq','siYbA','VaaNq','wbBiU','nrIhn','cntcK','fbALQ','gdjzL','update','YhhgC','mNbZI','eaTeQ','OyWrC','Mgijh','kXaTg','cloudProviderAccessKey','zKuZq','YkUXs','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','544oYUrEN','yPbNA','lkXSI','<ARN>','ofHGt','lymOH','headBucket','SYDcW','bPUfY','CiOJp','NKJfG','templates','load','Wqsvq','pDlVN','ETHVP','zHgXw','smnLF','../config/constants','WAINw','GqAjT','zGvea','lZCSO','MFaVR','PFgXM','fgTRD','tQBrJ','getNodeGroupInfo','GaaPt','SWcNu','lfvPz','MlDQa','awsConfigSet','aIUsK','promise','Cannot\x20find\x20subnets\x20','cxaQM','HRAdB','accessKeyId','HPRjb','NseiW','wuVba','hnOKl','LiDPd','mwYlL','aTKQk','apiVersion','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','dpMjJ','hWnzH','pHpes','kViit','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','zWLLK','oVVxd','catch','clusterRegion','isClusterPresent','xGEEj','dKhMf','Lmrpn','\x20in\x20region\x20','Ooqmt','JHMfe','Dmldl','IxiOn','1261642avBXUC','UQuyN','NmYgp','.\x20Error:\x20','dvMeY','cZxUY','includes','describeRegions','KMwFH','HSsYK','fXnyt','qqUEd','mozAM','NpFJC','goUes','clusterName','isAWSConfigured','IbHTM','ziNBw','gXpFo','iKlFE','SSiGs','qzBoa','ypLZo','IPZSj','63xmyheF','hxuMp','sVEcR','qQAeW','KIWbL','describeCluster','iFUVA','TTVuz','JLhmC','ONpQi','YQaIU','ZMNVf','xKXGV','data','describeNodegroup','path','name','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','aws-sdk','ridor','aws-auth-cm.yaml','VpcIds','2016-11-15','hvuav','NyqhU','sQBSm','EC2','2axKFjq','gHhpk','eKwdQ','zkZxZ','config','EKS','KOVlW','sTRWg','vpc-id','jGqTV','2017-11-01','Filters','YvpIS','isBucketPresent','error','DGwEt','666640aubuSx','XGfFD','kiaoZ','WIbKE','YFIHd','zPTDi','Values','AJpKN','fyMAB','173116EDQikK','clusters','then','RYkWb','describeSecurityGroups','ciXJA','configureAWSIfNotConfigured','2420406xhdxSM','vmpXK','LikEi','Ljetc','forEach','describeVpcs','TTwpr','aMbbx','Regions','vJzyP','awsObj','nLDEc','readFileAsync','EEAij','BeUwG','gJlRF','warn','SubnetId','cwweu','fdTGB','cBjaz','YrLHQ','jTXPr','describeSubnets','fPnVI','push','Bucket','Subnets','DAbeP','PUeLU','5102141rmdIwR','RsvWm','wZkXu','EfcaK','cloudProviderSecretKey','hTjQQ'];a14_0x12ed=function(){return _0x13c883;};return a14_0x12ed();}const isAWS=_0x1b6e86=>{const _0x5d8e2d=a14_0x4946d1,_0x5e67ce={'KjfOi':function(_0x841aa,_0x5c11c2){return _0x841aa(_0x5c11c2);},'GREHp':_0x5d8e2d(0xde),'UoBzD':function(_0x459197,_0x5962f2){return _0x459197===_0x5962f2;},'eUllz':function(_0x2b59b7,_0x571b33){return _0x2b59b7!==_0x571b33;},'VaaNq':_0x5d8e2d(0x8a)};if(_0x5e67ce[_0x5d8e2d(0x12e)](_0x1b6e86,AWS)){if(_0x5e67ce[_0x5d8e2d(0x15d)](_0x5e67ce[_0x5d8e2d(0x179)],_0x5e67ce[_0x5d8e2d(0x179)])){const _0x186ea2={'DkpoX':function(_0x148fb1,_0x5c6682){return _0x5e67ce['KjfOi'](_0x148fb1,_0x5c6682);},'XUFUI':_0x5e67ce['GREHp']};return new _0x3c9fed((_0x1099a4,_0x47b273)=>{const _0x4d1bc6=_0x5d8e2d,_0x49f48c={'dKhMf':function(_0x4801b4,_0x5f5cab){const _0x3638c7=a14_0x4ae8;return _0x186ea2[_0x3638c7(0x150)](_0x4801b4,_0x5f5cab);}},_0x1f8d3e={};_0x1f8d3e[_0x4d1bc6(0x9b)]=_0x186ea2[_0x4d1bc6(0x14a)],_0x1f8d3e[_0x4d1bc6(0x129)]=_0x5f17d;const _0x1fefc7=new _0x456ebb['EC2'](_0x1f8d3e);_0x1fefc7[_0x4d1bc6(0x100)]()['promise']()[_0x4d1bc6(0xfe)](_0x54c390=>{const _0x151f0c=_0x4d1bc6;_0x49f48c[_0x151f0c(0xa8)](_0x1099a4,_0x54c390);})[_0x4d1bc6(0xa4)](_0x2ac2d3=>{const _0x44bea7=_0x4d1bc6;_0x3aabef['error']('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x2ac2d3),_0x49f48c[_0x44bea7(0xa8)](_0x47b273,_0x2ac2d3);});});}else return!![];}return![];},checkAWSClusterCreated=_0x65153c=>{const _0x5ca585=a14_0x4946d1,_0x53cccc={'LsFEO':function(_0x42c517,_0x25fd3a){return _0x42c517(_0x25fd3a);},'NmYgp':function(_0x126453,_0x2dad4){return _0x126453===_0x2dad4;},'gXpFo':_0x5ca585(0xe9),'BeUwG':function(_0x326423,_0x452db5){return _0x326423(_0x452db5);},'ciXJA':function(_0xade334,_0x58f637){return _0xade334!==_0x58f637;},'HolOZ':_0x5ca585(0xf2),'HRAdB':_0x5ca585(0x8b),'zkZxZ':_0x5ca585(0xde),'PIpYi':function(_0x3ea8f3,_0x3a8b0b){return _0x3ea8f3===_0x3a8b0b;},'mIzMP':_0x5ca585(0x15f),'qQAeW':_0x5ca585(0xed)};return new Promise((_0x26a552,_0x57e2fb)=>{const _0x215f80=_0x5ca585,_0x3cdf1b={'NVCDf':function(_0x2dd806,_0x40d8ba){const _0x3aedb1=a14_0x4ae8;return _0x53cccc[_0x3aedb1(0xb1)](_0x2dd806,_0x40d8ba);},'fyMAB':function(_0x5a26a0,_0x53594d){const _0x5bcf22=a14_0x4ae8;return _0x53cccc[_0x5bcf22(0x111)](_0x5a26a0,_0x53594d);},'lhpvo':function(_0x456150,_0x549560){const _0x3bbfc1=a14_0x4ae8;return _0x53cccc[_0x3bbfc1(0x101)](_0x456150,_0x549560);},'ypLZo':_0x53cccc[_0x215f80(0x134)],'aTKQk':function(_0x6f3b91,_0x38e84b){const _0x393124=_0x215f80;return _0x53cccc[_0x393124(0x101)](_0x6f3b91,_0x38e84b);},'DElZc':_0x53cccc[_0x215f80(0x92)],'fbALQ':function(_0xce676f,_0xe6488d){return _0x53cccc['LsFEO'](_0xce676f,_0xe6488d);},'EfcaK':_0x53cccc[_0x215f80(0xe6)],'kZXvJ':function(_0x3703cf,_0x5e0f59){return _0x53cccc['BeUwG'](_0x3703cf,_0x5e0f59);}};if(_0x53cccc[_0x215f80(0x145)](_0x53cccc[_0x215f80(0x14f)],_0x53cccc['mIzMP'])){const _0x5b0f32={};_0x5b0f32[_0x215f80(0x9b)]=_0x53cccc[_0x215f80(0xcb)];const _0x1290ca=new awsSDK[(_0x215f80(0xe8))](_0x5b0f32);_0x1290ca[_0x215f80(0x141)]()['promise']()['then'](_0x54e73e=>{const _0x4c3cc4=_0x215f80;if(_0x3cdf1b['lhpvo'](_0x3cdf1b[_0x4c3cc4(0xc6)],_0x3cdf1b['ypLZo'])){if(_0x3cdf1b['NVCDf'](_0x5afd58,_0x340a19))return!![];return![];}else _0x54e73e[_0x4c3cc4(0xfd)]['includes'](_0x65153c)&&(_0x3cdf1b[_0x4c3cc4(0x9a)](_0x3cdf1b[_0x4c3cc4(0x140)],_0x3cdf1b[_0x4c3cc4(0x140)])?_0x3cdf1b[_0x4c3cc4(0xfb)](_0x57bf41,!![]):_0x3cdf1b[_0x4c3cc4(0x17d)](_0x26a552,!![])),_0x3cdf1b[_0x4c3cc4(0xfb)](_0x26a552,![]);})[_0x215f80(0xa4)](_0x346473=>{const _0x15994c=_0x215f80,_0x4655d0={'NYdrA':function(_0x4b89da,_0xdbfcb3){return _0x53cccc['LsFEO'](_0x4b89da,_0xdbfcb3);}};if(_0x53cccc[_0x15994c(0xb1)](_0x53cccc['gXpFo'],_0x53cccc[_0x15994c(0xc2)]))logger[_0x15994c(0xf1)](_0x346473),_0x53cccc['BeUwG'](_0x57e2fb,_0x346473);else{const _0x1ae302={'NpFJC':function(_0x5c1696,_0x4bbca3){const _0x2de4b4=_0x15994c;return _0x3cdf1b[_0x2de4b4(0x17d)](_0x5c1696,_0x4bbca3);}},_0x5794f6={};_0x5794f6[_0x15994c(0x9b)]=_0x3cdf1b[_0x15994c(0x124)],_0x5794f6[_0x15994c(0x129)]=_0x16adc7;const _0x6d463d=new _0x1281e3[(_0x15994c(0xe2))](_0x5794f6);_0x6d463d[_0x15994c(0x108)](_0x15a9de)[_0x15994c(0x8f)]()['then'](_0xb14e57=>{const _0x505eae=_0x15994c;_0x1ae302[_0x505eae(0xbc)](_0x27ef28,!![]);})[_0x15994c(0xa4)](_0x3396ff=>{const _0x4e7326=_0x15994c;_0xc96bd1[_0x4e7326(0xf1)]('Cannot\x20find\x20VPC\x20'+_0x5fed76+'\x20in\x20region\x20'+_0x9a379a+'.\x20Please\x20Check\x20and\x20try\x20again'),_0x4655d0['NYdrA'](_0x493dfe,![]);});}});}else _0x1ffdf8[_0x215f80(0xf1)](_0x215f80(0x90)+_0x397530+'\x20in\x20region\x20'+_0x1ba66b+_0x215f80(0xb2)+_0x3a8cd2),_0x3cdf1b[_0x215f80(0x143)](_0x610d8f,[![],[]]);});};exports['fetchVPCs']=_0x43c1b1=>{const _0x444ba6=a14_0x4946d1,_0x564a2b={'AmEYf':function(_0x1ea9df,_0x3eacad){return _0x1ea9df!==_0x3eacad;},'kViit':_0x444ba6(0x152),'cZxUY':function(_0xac33a3,_0x496dc3){return _0xac33a3(_0x496dc3);},'eaTeQ':function(_0xb1d39,_0xa1ce7e){return _0xb1d39!==_0xa1ce7e;},'qzBoa':'fjjBz','nLDEc':function(_0x2f4c29,_0x5ce31f){return _0x2f4c29(_0x5ce31f);},'tgllG':function(_0x15611e,_0x39f957){return _0x15611e(_0x39f957);},'onMne':function(_0x2ec899,_0xd26014){return _0x2ec899(_0xd26014);},'czgMj':function(_0xa4cccb,_0x1a4fac){return _0xa4cccb===_0x1a4fac;},'Mgijh':_0x444ba6(0xbd),'xjPXM':_0x444ba6(0xb8),'dpMjJ':_0x444ba6(0xde)};return new Promise((_0x5e3857,_0x34f95a)=>{const _0x107cf5=_0x444ba6,_0x5999da={'eKwdQ':function(_0x42e0e8,_0x1eedf5){const _0x34515b=a14_0x4ae8;return _0x564a2b[_0x34515b(0x137)](_0x42e0e8,_0x1eedf5);},'mKQOF':function(_0xb64b26,_0xec83d7){return _0x564a2b['onMne'](_0xb64b26,_0xec83d7);}};if(_0x564a2b['czgMj'](_0x564a2b[_0x107cf5(0x184)],_0x564a2b['xjPXM']))_0x4f6fcf[_0x107cf5(0xf1)](_0x107cf5(0x15b)+_0x5bf492),_0x5999da[_0x107cf5(0xe5)](_0x34f9ea,_0x631ae6);else{const _0x43b258={};_0x43b258['apiVersion']=_0x564a2b[_0x107cf5(0x9d)],_0x43b258[_0x107cf5(0x129)]=_0x43c1b1;const _0x3754e8=new awsSDK['EC2'](_0x43b258);_0x3754e8[_0x107cf5(0x108)]()['promise']()['then'](_0x5c8686=>{const _0x1e8b71=_0x107cf5;if(_0x564a2b['AmEYf'](_0x564a2b[_0x1e8b71(0xa0)],_0x564a2b[_0x1e8b71(0xa0)]))return _0x3f5a1c[_0x1e8b71(0x11c)](_0x28e1e3),![];else _0x564a2b[_0x1e8b71(0xb4)](_0x5e3857,_0x5c8686);})[_0x107cf5(0xa4)](_0x200a6c=>{const _0x3d79a8=_0x107cf5;_0x564a2b[_0x3d79a8(0x182)](_0x564a2b[_0x3d79a8(0xc5)],_0x564a2b[_0x3d79a8(0xc5)])?(_0x1ddc1f['clusters'][_0x3d79a8(0xb5)](_0x1b0a88)&&_0x5999da['eKwdQ'](_0x4a8fb8,!![]),_0x5999da['mKQOF'](_0x216b66,![])):(logger[_0x3d79a8(0xf1)](_0x3d79a8(0xd9)+_0x200a6c),_0x564a2b[_0x3d79a8(0x10e)](_0x34f95a,_0x200a6c));});}});},exports[a14_0x4946d1(0x154)]=(_0xd7359e,_0x5aebaf)=>{const _0x4f8c30=a14_0x4946d1,_0x30ebcf={'bPUfY':function(_0x240484,_0x13932b){return _0x240484(_0x13932b);},'fPnVI':function(_0x282d6a,_0x219478){return _0x282d6a===_0x219478;},'cwweu':'iAQJK','kXaTg':function(_0x38c23e,_0x54819e){return _0x38c23e(_0x54819e);},'NseiW':function(_0x1f4b5c,_0x2f62e1){return _0x1f4b5c===_0x2f62e1;},'ZMNVf':function(_0x1f0ae9,_0x2152bb){return _0x1f0ae9!==_0x2152bb;},'gdjzL':function(_0x4e4740,_0x307a72){return _0x4e4740===_0x307a72;},'ljmcc':'uSgQB','EEAij':_0x4f8c30(0x17b),'mozAM':_0x4f8c30(0x17a),'xEDPt':_0x4f8c30(0x174),'zGvea':_0x4f8c30(0xde)},_0x5bcb92={};_0x5bcb92[_0x4f8c30(0xdd)]=[_0xd7359e];let _0x138569=_0x5bcb92;return new Promise((_0x15fcaa,_0x32f52d)=>{const _0x2b3c88=_0x4f8c30,_0x5de8f5={'TTwpr':function(_0x340dfa,_0x158dc8){const _0x4eb9e2=a14_0x4ae8;return _0x30ebcf[_0x4eb9e2(0xd3)](_0x340dfa,_0x158dc8);},'cxaQM':function(_0x110c02,_0x3e45d7){return _0x30ebcf['ZMNVf'](_0x110c02,_0x3e45d7);},'nlvml':function(_0x56a06c,_0x24d7f2){const _0x3211e1=a14_0x4ae8;return _0x30ebcf[_0x3211e1(0x185)](_0x56a06c,_0x24d7f2);},'nloFu':function(_0x3d955f,_0x218043){const _0x50bedf=a14_0x4ae8;return _0x30ebcf[_0x50bedf(0x75)](_0x3d955f,_0x218043);},'LikEi':function(_0x485b66,_0x45f3f4){const _0x199a1b=a14_0x4ae8;return _0x30ebcf[_0x199a1b(0x17e)](_0x485b66,_0x45f3f4);},'FBlbO':_0x30ebcf[_0x2b3c88(0x13c)],'lEMDb':_0x30ebcf[_0x2b3c88(0x110)]};if(_0x30ebcf[_0x2b3c88(0xd3)](_0x30ebcf[_0x2b3c88(0xbb)],_0x30ebcf['xEDPt'])){const _0x365b1c={};_0x365b1c[_0x2b3c88(0x9b)]=_0x30ebcf[_0x2b3c88(0x82)],_0x365b1c['region']=_0x5aebaf;const _0x40ed83=new awsSDK[(_0x2b3c88(0xe2))](_0x365b1c);_0x40ed83['describeVpcs'](_0x138569)[_0x2b3c88(0x8f)]()[_0x2b3c88(0xfe)](_0x45b9f2=>{const _0x35eaf9=_0x2b3c88;_0x5de8f5[_0x35eaf9(0x105)](_0x5de8f5[_0x35eaf9(0x151)],_0x5de8f5['lEMDb'])?_0x5de8f5[_0x35eaf9(0x109)](_0x2fa724,_0x3d5816)&&_0x5de8f5[_0x35eaf9(0x91)](_0x10d596[_0x35eaf9(0x10b)],_0x5b8971)?_0x5de8f5[_0x35eaf9(0x16b)](_0x4c1da9,_0x4ee27d[_0x35eaf9(0x10b)]):_0x5de8f5['nloFu'](_0x3eba66,{}):_0x5de8f5[_0x35eaf9(0x16b)](_0x15fcaa,!![]);})[_0x2b3c88(0xa4)](_0x1635e8=>{const _0x3779e9=_0x2b3c88,_0x4213f4={'SSiGs':function(_0x29a716,_0xbce83e){const _0x28058f=a14_0x4ae8;return _0x30ebcf[_0x28058f(0x75)](_0x29a716,_0xbce83e);}};if(_0x30ebcf[_0x3779e9(0x11b)](_0x30ebcf[_0x3779e9(0x115)],_0x30ebcf[_0x3779e9(0x115)]))logger[_0x3779e9(0xf1)]('Cannot\x20find\x20VPC\x20'+_0xd7359e+_0x3779e9(0xaa)+_0x5aebaf+'.\x20Please\x20Check\x20and\x20try\x20again'),_0x30ebcf[_0x3779e9(0x185)](_0x15fcaa,![]);else{const _0x2852a3=new _0x40d225['S3']();return new _0x540110((_0x39b027,_0x5c23cd)=>{const _0x48c7fe=_0x3779e9,_0x150593={'OyWrC':function(_0x509b9b,_0x4217cd){const _0x3b1dcf=a14_0x4ae8;return _0x4213f4[_0x3b1dcf(0xc4)](_0x509b9b,_0x4217cd);},'dSMoa':function(_0x539696,_0x149dcd){return _0x4213f4['SSiGs'](_0x539696,_0x149dcd);}},_0x476a7a={};_0x476a7a[_0x48c7fe(0x11d)]=_0x2ccedb,_0x2852a3['headBucket'](_0x476a7a)[_0x48c7fe(0x8f)]()['then'](_0x598727=>{const _0x4d1844=_0x48c7fe;_0x5b1497[_0x4d1844(0x113)](_0x4d1844(0x144)+_0x517498+_0x4d1844(0xa1)),_0x150593[_0x4d1844(0x183)](_0x39b027,!![]);})[_0x48c7fe(0xa4)](()=>{const _0x46b1cc=_0x48c7fe;_0x595a6b[_0x46b1cc(0x127)]('Bucket:\x20'+_0x38da74+_0x46b1cc(0x189)),_0x150593['dSMoa'](_0x39b027,![]);});});}});}else return _0x30ebcf[_0x2b3c88(0x95)](_0x1692a1[_0x2b3c88(0x8d)],!![]);});},exports['isSubnetsValid']=(_0x212a2d,_0x3728be,_0xd5d9ad)=>{const _0x14e26d=a14_0x4946d1,_0x5e1452={'YvpIS':function(_0x5af08f,_0x49532a){return _0x5af08f(_0x49532a);},'lZCSO':function(_0x3d3f53,_0x179c7f){return _0x3d3f53===_0x179c7f;},'tbHvn':_0x14e26d(0x97),'LluVe':_0x14e26d(0x156),'GaaPt':function(_0x36d66e,_0x5a5412){return _0x36d66e(_0x5a5412);},'xEDYN':function(_0x466067,_0x1b94d0){return _0x466067!==_0x1b94d0;},'owgYD':'kwsao','MFaVR':function(_0x295b96,_0x443a48){return _0x295b96!==_0x443a48;},'pHpes':'oyYvJ','DPrxP':_0x14e26d(0x148),'emKRt':'sXOHV','KMwFH':_0x14e26d(0x123),'geIdn':_0x14e26d(0x16d),'zPTDi':_0x14e26d(0x10a),'Lmrpn':function(_0x50c847,_0x34b048){return _0x50c847===_0x34b048;},'XzhQZ':_0x14e26d(0xd4),'WAINw':'qZkIO','RlqHU':_0x14e26d(0xde),'MlDQa':_0x14e26d(0xeb)},_0x1eaa78={};_0x1eaa78[_0x14e26d(0x155)]=_0x5e1452[_0x14e26d(0x8c)],_0x1eaa78[_0x14e26d(0xf9)]=[_0x3728be];const _0x2647b2={};_0x2647b2[_0x14e26d(0xee)]=[_0x1eaa78];let _0x3231a1=_0x2647b2;return new Promise((_0x49e006,_0x1ba745)=>{const _0xd1deae=_0x14e26d,_0x184a44={'dGzqM':function(_0x533284,_0x4cf8d9){return _0x5e1452['YvpIS'](_0x533284,_0x4cf8d9);},'nPIyf':function(_0x326903,_0x2b5144){const _0x5ea5a4=a14_0x4ae8;return _0x5e1452[_0x5ea5a4(0x89)](_0x326903,_0x2b5144);},'HPRjb':function(_0x2eee81,_0x2da526){return _0x5e1452['xEDYN'](_0x2eee81,_0x2da526);},'QOqFy':_0x5e1452[_0xd1deae(0x16e)],'CiOJp':function(_0x235cc1,_0x31ca86){const _0x161416=_0xd1deae;return _0x5e1452[_0x161416(0x84)](_0x235cc1,_0x31ca86);},'SYDcW':_0x5e1452[_0xd1deae(0x9f)],'qIocM':_0x5e1452[_0xd1deae(0x170)],'aIUsK':function(_0x150c5c,_0x1880fb){const _0x255d06=_0xd1deae;return _0x5e1452[_0x255d06(0x83)](_0x150c5c,_0x1880fb);},'TTVuz':_0x5e1452['emKRt'],'YrLHQ':function(_0x4f861a,_0x21cb01){const _0x33d989=_0xd1deae;return _0x5e1452[_0x33d989(0x89)](_0x4f861a,_0x21cb01);},'XGfFD':_0x5e1452[_0xd1deae(0xb7)],'twMOu':_0x5e1452['geIdn'],'kiaoZ':_0x5e1452[_0xd1deae(0xf8)]};if(_0x5e1452[_0xd1deae(0xa9)](_0x5e1452[_0xd1deae(0x175)],_0x5e1452[_0xd1deae(0x80)]))_0x1bb713[_0xd1deae(0xf1)]('Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20'+_0x4a8838),_0x184a44['dGzqM'](_0x49861f,_0x351629);else{const _0x59491a={};_0x59491a[_0xd1deae(0x9b)]=_0x5e1452[_0xd1deae(0x153)],_0x59491a[_0xd1deae(0x129)]=_0xd5d9ad;const _0x392487=new awsSDK[(_0xd1deae(0xe2))](_0x59491a);_0x392487[_0xd1deae(0x11a)](_0x3231a1)[_0xd1deae(0x8f)]()[_0xd1deae(0xfe)](_0x2e9f0b=>{const _0x4734e1=_0xd1deae,_0x176d5b={'GqAjT':function(_0xadc905,_0x474a64){return _0x184a44['YrLHQ'](_0xadc905,_0x474a64);},'fObJZ':function(_0x2c414b,_0x3835ca){const _0x1a24e7=a14_0x4ae8;return _0x184a44[_0x1a24e7(0x8e)](_0x2c414b,_0x3835ca);},'mLcRd':_0x184a44[_0x4734e1(0xf4)]};if(_0x184a44[_0x4734e1(0x76)](_0x184a44['twMOu'],_0x184a44[_0x4734e1(0xf5)])){const _0x597082=[],_0x31fdcd=[];_0x2e9f0b[_0x4734e1(0x11e)][_0x4734e1(0x107)](_0x2452b6=>{const _0x8ba6ef=_0x4734e1;_0x176d5b[_0x8ba6ef(0x146)](_0x176d5b[_0x8ba6ef(0x166)],_0x176d5b[_0x8ba6ef(0x166)])?_0x597082[_0x8ba6ef(0x11c)](_0x2452b6[_0x8ba6ef(0x114)]):(_0x260506[_0x8ba6ef(0xf1)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x389a78),_0x176d5b[_0x8ba6ef(0x81)](_0x3900d8,_0x184bbd));});const _0x31250a=_0x212a2d['every'](_0x16874a=>{const _0x3ce6dc=_0x4734e1,_0x38bbf9={'cBjaz':function(_0x3d3d14,_0x3d497a){return _0x184a44['nPIyf'](_0x3d3d14,_0x3d497a);}};if(_0x184a44[_0x3ce6dc(0x94)](_0x184a44['QOqFy'],_0x184a44[_0x3ce6dc(0x165)])){const _0x856ee4={'zWLLK':function(_0xee834c,_0x3dfaca){const _0x15f092=_0x3ce6dc;return _0x38bbf9[_0x15f092(0x117)](_0xee834c,_0x3dfaca);}},_0x3e6953={};_0x3e6953[_0x3ce6dc(0x11d)]=_0x6c94c3,_0x29ed7f['headBucket'](_0x3e6953)[_0x3ce6dc(0x8f)]()[_0x3ce6dc(0xfe)](_0x4829f9=>{const _0x1eb059=_0x3ce6dc;_0x593a2d[_0x1eb059(0x113)]('Bucket:\x20'+_0xb0863c+'\x20already\x20exists.\x20Skipping\x20Bucket\x20creation'),_0x856ee4[_0x1eb059(0xa2)](_0x68dce9,!![]);})[_0x3ce6dc(0xa4)](()=>{const _0x584a9b=_0x3ce6dc;_0x4182f8[_0x584a9b(0x127)](_0x584a9b(0x144)+_0x5f20f1+_0x584a9b(0x189)),_0x856ee4[_0x584a9b(0xa2)](_0x183fc4,![]);});}else{if(_0x597082[_0x3ce6dc(0xb5)](_0x16874a)){if(_0x184a44[_0x3ce6dc(0x76)](_0x184a44[_0x3ce6dc(0x74)],_0x184a44['qIocM']))return!![];else this[_0x3ce6dc(0x158)]();}else return _0x184a44[_0x3ce6dc(0x8e)](_0x184a44[_0x3ce6dc(0xcf)],_0x184a44['TTVuz'])?(_0x31fdcd[_0x3ce6dc(0x11c)](_0x16874a),![]):!![];}});_0x184a44[_0x4734e1(0x118)](_0x49e006,[_0x31250a,_0x31fdcd]);}else _0x176d5b['GqAjT'](_0x1118d5,_0x4ac1a1);})['catch'](_0x107f9f=>{const _0x308a84=_0xd1deae,_0x382a54={'VZILq':function(_0x28ea2c,_0x4f7bed){const _0x1f7fc3=a14_0x4ae8;return _0x5e1452[_0x1f7fc3(0xef)](_0x28ea2c,_0x4f7bed);}};_0x5e1452[_0x308a84(0x83)](_0x5e1452['tbHvn'],_0x5e1452['LluVe'])?(_0x54948c[_0x308a84(0x113)](_0x308a84(0x144)+_0x4390f2+_0x308a84(0xa1)),_0x382a54[_0x308a84(0x177)](_0x4b642e,!![])):(logger[_0x308a84(0xf1)](_0x308a84(0x90)+_0x3728be+_0x308a84(0xaa)+_0xd5d9ad+_0x308a84(0xb2)+_0x107f9f),_0x5e1452[_0x308a84(0x89)](_0x49e006,[![],[]]));});}});},exports[a14_0x4946d1(0xf0)]=_0x3862b=>{const _0x2716e8=a14_0x4946d1,_0x3cbe55={'Ljetc':_0x2716e8(0xed),'ZZNuU':function(_0x685d87,_0x2ee63d){return _0x685d87===_0x2ee63d;},'ridor':_0x2716e8(0xe4),'dOYYw':_0x2716e8(0xfa),'dDFyA':function(_0x1c1bd8,_0x468a12){return _0x1c1bd8(_0x468a12);},'HFJUC':'HnZuq','IbSnm':_0x2716e8(0xc1),'lymOH':function(_0x878863,_0x4d34ce){return _0x878863!==_0x4d34ce;},'IbHTM':'RwemL'},_0x332444=new awsSDK['S3']();return new Promise((_0x4e28e8,_0x4aa4b4)=>{const _0x5e45e6=_0x2716e8,_0x542ade={'WFeyN':_0x3cbe55[_0x5e45e6(0x106)],'RsvWm':function(_0x1116f5,_0x28ee98){const _0x2b9015=_0x5e45e6;return _0x3cbe55[_0x2b9015(0x12a)](_0x1116f5,_0x28ee98);},'IxiOn':_0x3cbe55[_0x5e45e6(0xdb)],'AfRaF':_0x3cbe55['dOYYw'],'TEJaU':function(_0x368e05,_0x110601){return _0x3cbe55['dDFyA'](_0x368e05,_0x110601);},'WIbKE':_0x3cbe55[_0x5e45e6(0x13e)],'ZXlja':_0x3cbe55[_0x5e45e6(0x16c)]};if(_0x3cbe55[_0x5e45e6(0x72)](_0x3cbe55['IbHTM'],_0x3cbe55[_0x5e45e6(0xc0)]))!this['isAWSConfigured']()&&this[_0x5e45e6(0x158)]();else{const _0x4c62dc={};_0x4c62dc[_0x5e45e6(0x11d)]=_0x3862b,_0x332444[_0x5e45e6(0x73)](_0x4c62dc)['promise']()[_0x5e45e6(0xfe)](_0x2cd6f4=>{const _0x1547ad=_0x5e45e6;if(_0x542ade[_0x1547ad(0x122)](_0x542ade[_0x1547ad(0xae)],_0x542ade[_0x1547ad(0x13b)])){const _0x2bd260={};_0x2bd260[_0x1547ad(0x9b)]=_0x542ade['WFeyN'];const _0x361536=new _0x3168bc[(_0x1547ad(0xe8))](_0x2bd260),_0x3599bd={};return _0x3599bd[_0x1547ad(0xbe)]=_0x553adb,_0x3599bd[_0x1547ad(0x163)]=_0x378f87,_0x361536[_0x1547ad(0xd6)](_0x3599bd)[_0x1547ad(0x8f)]();}else logger[_0x1547ad(0x113)](_0x1547ad(0x144)+_0x3862b+_0x1547ad(0xa1)),_0x542ade[_0x1547ad(0x136)](_0x4e28e8,!![]);})['catch'](()=>{const _0x2d1906=_0x5e45e6;_0x542ade['RsvWm'](_0x542ade[_0x2d1906(0xf6)],_0x542ade['ZXlja'])?_0x542ade['TEJaU'](_0xae2d27,_0x3344bc):(logger[_0x2d1906(0x127)](_0x2d1906(0x144)+_0x3862b+_0x2d1906(0x189)),_0x542ade[_0x2d1906(0x136)](_0x4e28e8,![]));});}});},exports[a14_0x4946d1(0x168)]=_0x5530b2=>{const _0x35d1ca=a14_0x4946d1,_0x37c3a3={'jmPce':function(_0x2e9c40,_0x5c77c1){return _0x2e9c40!==_0x5c77c1;},'fgTRD':'WCBUP','sTRWg':function(_0x2ec0b4,_0x38dcb8){return _0x2ec0b4(_0x38dcb8);},'qqUEd':function(_0x1b943c,_0x253372){return _0x1b943c(_0x253372);},'fXnyt':function(_0x5dfd40,_0x590807){return _0x5dfd40!==_0x590807;},'JsqGX':'hseMt','lkXSI':function(_0x370409,_0x43190f){return _0x370409(_0x43190f);},'Wqsvq':_0x35d1ca(0xde),'JBldN':function(_0x61654c,_0x29a70e){return _0x61654c===_0x29a70e;},'LiDPd':_0x35d1ca(0xa3)};return new Promise((_0x1a7686,_0x78a222)=>{const _0x4821ba=_0x35d1ca,_0x378dcf={'emwfw':function(_0x4eca69,_0x262394){const _0x24f5bd=a14_0x4ae8;return _0x37c3a3[_0x24f5bd(0x18c)](_0x4eca69,_0x262394);},'hWnzH':_0x37c3a3[_0x4821ba(0x7a)],'YhhgC':function(_0x1ad6fd,_0x5dabf1){const _0x2fe366=_0x4821ba;return _0x37c3a3[_0x2fe366(0xea)](_0x1ad6fd,_0x5dabf1);},'zMxKG':function(_0x18f135,_0x125a4a){const _0x1341af=_0x4821ba;return _0x37c3a3[_0x1341af(0x18c)](_0x18f135,_0x125a4a);}};if(_0x37c3a3[_0x4821ba(0x138)](_0x37c3a3[_0x4821ba(0x98)],_0x37c3a3['LiDPd'])){const _0x591362={};_0x591362[_0x4821ba(0x9b)]=_0x37c3a3[_0x4821ba(0x7a)],_0x591362[_0x4821ba(0x129)]=_0x5530b2;const _0x46ec7c=new awsSDK[(_0x4821ba(0xe2))](_0x591362);_0x46ec7c[_0x4821ba(0x11a)]()['promise']()['then'](_0x266e99=>{const _0x5f41da=_0x4821ba;if(_0x37c3a3[_0x5f41da(0x157)](_0x37c3a3[_0x5f41da(0x86)],_0x37c3a3[_0x5f41da(0x86)])){const _0x3e62d1={'Jduni':function(_0x3c5bdc,_0x5ca1bd){return _0x378dcf['emwfw'](_0x3c5bdc,_0x5ca1bd);},'phmTD':function(_0x262a61,_0x48a136){return _0x378dcf['emwfw'](_0x262a61,_0x48a136);}},_0x54d641={};_0x54d641[_0x5f41da(0x9b)]=_0x378dcf[_0x5f41da(0x9e)],_0x54d641['region']=_0x17d07f;const _0x13bf36=new _0x39a097[(_0x5f41da(0xe2))](_0x54d641);_0x13bf36[_0x5f41da(0x108)]()[_0x5f41da(0x8f)]()[_0x5f41da(0xfe)](_0x4cd06f=>{const _0x56c4f9=_0x5f41da;_0x3e62d1[_0x56c4f9(0x139)](_0x1eef06,_0x4cd06f);})[_0x5f41da(0xa4)](_0xb8ae9=>{const _0x11fd03=_0x5f41da;_0x35af2e[_0x11fd03(0xf1)]('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0xb8ae9),_0x3e62d1['phmTD'](_0x25950b,_0xb8ae9);});}else _0x37c3a3[_0x5f41da(0xea)](_0x1a7686,_0x266e99);})[_0x4821ba(0xa4)](_0x583949=>{const _0x120ce9=_0x4821ba,_0x232c20={'oWMuV':function(_0x57a2a1,_0x34b4c4){const _0x1a7a82=a14_0x4ae8;return _0x37c3a3[_0x1a7a82(0xba)](_0x57a2a1,_0x34b4c4);}};if(_0x37c3a3[_0x120ce9(0xb9)](_0x37c3a3[_0x120ce9(0x13d)],_0x37c3a3[_0x120ce9(0x13d)])){const _0x1f3ad5={'RSXwi':function(_0x131008,_0x14b1f2){const _0x4e3b1c=_0x120ce9;return _0x378dcf[_0x4e3b1c(0x180)](_0x131008,_0x14b1f2);}},_0x6accaf={};_0x6accaf[_0x120ce9(0x9b)]=_0x378dcf[_0x120ce9(0x9e)],_0x6accaf['region']=_0x25273d;const _0xecfda6=new _0x2c501c[(_0x120ce9(0xe2))](_0x6accaf);_0xecfda6[_0x120ce9(0x11a)]()[_0x120ce9(0x8f)]()[_0x120ce9(0xfe)](_0x3461f6=>{_0x232c20['oWMuV'](_0x3025b2,_0x3461f6);})[_0x120ce9(0xa4)](_0x54298b=>{const _0x374775=_0x120ce9;_0x188a22[_0x374775(0xf1)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x54298b),_0x1f3ad5[_0x374775(0x12c)](_0x19baa1,_0x54298b);});}else logger[_0x120ce9(0xf1)]('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x583949),_0x37c3a3[_0x120ce9(0xba)](_0x78a222,_0x583949);});}else _0x378dcf['zMxKG'](_0xddbff9,{});});},exports[a14_0x4946d1(0x15e)]=_0x3d6524=>{const _0x45e450=a14_0x4946d1,_0x136661={'jGqTV':function(_0x142c82,_0x417ee3){return _0x142c82===_0x417ee3;},'VsJDd':_0x45e450(0xdf),'gJlRF':_0x45e450(0x77),'fdTGB':function(_0x3af146,_0xae1e34){return _0x3af146(_0xae1e34);},'DAbeP':function(_0x16dddc,_0xbf31f5){return _0x16dddc===_0xbf31f5;},'ofHGt':_0x45e450(0x10c),'kzZZK':_0x45e450(0x135),'xigDW':function(_0x2289f4,_0x1edc13){return _0x2289f4(_0x1edc13);},'NyqhU':function(_0x1dec67,_0x3492c9){return _0x1dec67!==_0x3492c9;},'tQBrJ':_0x45e450(0xc9),'WwdkN':_0x45e450(0xc3),'wuVba':'2016-11-15'};return new Promise((_0x4fa8c3,_0x26d200)=>{const _0x2ede30=_0x45e450,_0x19341f={'bleAC':function(_0x83f258,_0x1d281c){return _0x136661['xigDW'](_0x83f258,_0x1d281c);}};if(_0x136661[_0x2ede30(0xe0)](_0x136661[_0x2ede30(0x87)],_0x136661[_0x2ede30(0x128)])){const _0x2fffd8={};_0x2fffd8[_0x2ede30(0x9b)]=_0x136661[_0x2ede30(0x96)],_0x2fffd8[_0x2ede30(0x129)]=_0x3d6524;const _0x5124cc=new awsSDK[(_0x2ede30(0xe2))](_0x2fffd8);_0x5124cc['describeSecurityGroups']()['promise']()['then'](_0x49f447=>{const _0x28af84=_0x2ede30;if(_0x136661[_0x28af84(0xec)](_0x136661['VsJDd'],_0x136661[_0x28af84(0x112)]))return!![];else _0x136661[_0x28af84(0x116)](_0x4fa8c3,_0x49f447);})[_0x2ede30(0xa4)](_0x141193=>{const _0x51f180=_0x2ede30;_0x136661[_0x51f180(0x11f)](_0x136661[_0x51f180(0x71)],_0x136661['kzZZK'])?_0x394d47[_0x51f180(0x11c)](_0x5efea6[_0x51f180(0x114)]):(logger[_0x51f180(0xf1)](_0x51f180(0x15b)+_0x141193),_0x136661[_0x51f180(0x116)](_0x26d200,_0x141193));});}else _0x5d28d5[_0x2ede30(0x127)]('Bucket:\x20'+_0x4b3db8+_0x2ede30(0x189)),_0x19341f['bleAC'](_0x12be5b,![]);});},exports[a14_0x4946d1(0x133)]=()=>{const _0x2860c8=a14_0x4946d1,_0x34cef4={'sQBSm':function(_0x24aa0b,_0x33f5fc){return _0x24aa0b(_0x33f5fc);},'XeKnj':function(_0x40ea83,_0x411c3e){return _0x40ea83(_0x411c3e);},'RYkWb':function(_0x4c108f,_0xf43054){return _0x4c108f===_0xf43054;},'YFIHd':'TRcXg','aMxno':_0x2860c8(0x187),'hdeJo':function(_0x5e1c26,_0x23f75e){return _0x5e1c26!==_0x23f75e;},'BbMpO':_0x2860c8(0x164),'QDKxV':'jQJpm','RcBvm':function(_0x2c11f8,_0x505373){return _0x2c11f8(_0x505373);},'YQaIU':function(_0x160f9d,_0x3dadf4){return _0x160f9d!==_0x3dadf4;},'Dmldl':_0x2860c8(0xcc),'YkUXs':function(_0x260cf3,_0x158fdc){return _0x260cf3(_0x158fdc);},'Ooqmt':_0x2860c8(0xed),'siYbA':_0x2860c8(0x7d),'ONpQi':'xrsdb','WRMZa':'ZWZOB','RiXfH':_0x2860c8(0x120),'ypjxx':_0x2860c8(0xde)};return new Promise((_0x33cfe7,_0x22dbf8)=>{const _0x403425=_0x2860c8,_0x12bc72={'NwHQT':function(_0x365bc3,_0x29b48d){const _0x4a67ad=a14_0x4ae8;return _0x34cef4[_0x4a67ad(0xe1)](_0x365bc3,_0x29b48d);},'ETHVP':function(_0x55df22,_0xddf546){return _0x34cef4['sQBSm'](_0x55df22,_0xddf546);},'lhpCD':function(_0x237b81,_0x1e3f21){return _0x34cef4['XeKnj'](_0x237b81,_0x1e3f21);},'jfDSa':function(_0x11899a,_0x87b634){const _0x1ba63b=a14_0x4ae8;return _0x34cef4[_0x1ba63b(0xff)](_0x11899a,_0x87b634);},'xGEEj':_0x34cef4[_0x403425(0xf7)],'mwYlL':_0x34cef4[_0x403425(0x14b)],'mTxyY':function(_0x320447,_0x1462c6){return _0x34cef4['hdeJo'](_0x320447,_0x1462c6);},'JLhmC':_0x34cef4['BbMpO'],'sVEcR':_0x34cef4[_0x403425(0x160)],'IPZSj':function(_0x27bea8,_0xea1738){const _0x3a7aff=_0x403425;return _0x34cef4[_0x3a7aff(0x13a)](_0x27bea8,_0xea1738);},'YOpIU':function(_0x1afbcb,_0x2212ef){const _0x4ac097=_0x403425;return _0x34cef4[_0x4ac097(0xd2)](_0x1afbcb,_0x2212ef);},'BQVZj':_0x34cef4[_0x403425(0xad)],'cntcK':function(_0x3b8de4,_0x1ec5ce){return _0x34cef4['XeKnj'](_0x3b8de4,_0x1ec5ce);},'hAMkL':function(_0x135844,_0x228d04){return _0x34cef4['YkUXs'](_0x135844,_0x228d04);},'dvMeY':_0x34cef4[_0x403425(0xab)],'TUbFz':function(_0x49ed40,_0x3b92f){const _0x40a8be=_0x403425;return _0x34cef4[_0x40a8be(0x188)](_0x49ed40,_0x3b92f);},'UQuyN':function(_0xdb04d6,_0x35a4b8){const _0x47922a=_0x403425;return _0x34cef4[_0x47922a(0xff)](_0xdb04d6,_0x35a4b8);},'pDlVN':_0x34cef4[_0x403425(0x178)],'WzLSs':_0x34cef4[_0x403425(0xd1)]};if(_0x34cef4['hdeJo'](_0x34cef4['WRMZa'],_0x34cef4[_0x403425(0x161)])){const _0x17a16d={};_0x17a16d[_0x403425(0x9b)]=_0x34cef4[_0x403425(0x149)];const _0x42e027=new awsSDK['EC2'](_0x17a16d);_0x42e027[_0x403425(0xb6)]()[_0x403425(0x8f)]()[_0x403425(0xfe)]((_0xb49a76,_0x324f76)=>{const _0x24fa7a=_0x403425;if(_0x12bc72[_0x24fa7a(0x12b)](_0x12bc72[_0x24fa7a(0xa7)],_0x12bc72[_0x24fa7a(0x99)]))_0x12bc72[_0x24fa7a(0x14d)](_0x94ea0b,_0x13bd7b[_0x24fa7a(0x10b)]);else{if(_0x12bc72[_0x24fa7a(0x16f)](_0xb49a76,undefined)&&_0x12bc72[_0x24fa7a(0x16f)](_0xb49a76['Regions'],undefined)){if(_0x12bc72[_0x24fa7a(0x12b)](_0x12bc72[_0x24fa7a(0xd0)],_0x12bc72[_0x24fa7a(0xca)])){const _0x223127={};_0x223127['region']=_0x16593e[_0x24fa7a(0xa5)],_0x223127[_0x24fa7a(0x93)]=_0x35d038[_0x24fa7a(0x186)],_0x223127[_0x24fa7a(0x15a)]=_0xc7666e[_0x24fa7a(0x125)],_0x3be44e['config'][_0x24fa7a(0x17f)](_0x223127),_0x30dbbb['awsConfigSet']=!![];}else _0x12bc72['IPZSj'](_0x33cfe7,_0xb49a76['Regions']);}else{if(_0x12bc72[_0x24fa7a(0x167)](_0x12bc72[_0x24fa7a(0x162)],_0x12bc72[_0x24fa7a(0x162)])){if(_0x12bc72[_0x24fa7a(0x7c)](_0x429fba,_0x3436f0))return this['configureAWSIfNotConfigured'](),_0x12bc72['lhpCD'](_0x54e321,_0x3ae239);}else _0x12bc72[_0x24fa7a(0x17c)](_0x33cfe7,{});}}})['catch'](_0x3b26f9=>{const _0x3d44a1=_0x403425,_0x4bb3cb={'smnLF':function(_0x547287,_0x13b85b){return _0x12bc72['TUbFz'](_0x547287,_0x13b85b);}};if(_0x12bc72[_0x3d44a1(0xb0)](_0x12bc72[_0x3d44a1(0x7b)],_0x12bc72[_0x3d44a1(0x130)])){const _0x35cd21={'zlxua':function(_0xfa080d,_0x29c4a7){const _0x209177=_0x3d44a1;return _0x12bc72[_0x209177(0x12d)](_0xfa080d,_0x29c4a7);}},_0x45bac4={};_0x45bac4['apiVersion']=_0x12bc72[_0x3d44a1(0xb3)];const _0x5f25fb=new _0x1e19d1[(_0x3d44a1(0xe8))](_0x45bac4);_0x5f25fb[_0x3d44a1(0x141)]()[_0x3d44a1(0x8f)]()[_0x3d44a1(0xfe)](_0x2b201d=>{const _0x292abc=_0x3d44a1;_0x2b201d[_0x292abc(0xfd)]['includes'](_0x43ccae)&&_0x35cd21[_0x292abc(0x132)](_0x20aa1e,!![]),_0x35cd21[_0x292abc(0x132)](_0xb3dd08,![]);})[_0x3d44a1(0xa4)](_0x35f82a=>{const _0x2fdd40=_0x3d44a1;_0x3b8319[_0x2fdd40(0xf1)](_0x35f82a),_0x4bb3cb[_0x2fdd40(0x7e)](_0x4bd6c4,_0x35f82a);});}else logger[_0x3d44a1(0xf1)](_0x3d44a1(0x9c)+_0x3b26f9),_0x12bc72[_0x3d44a1(0x13f)](_0x22dbf8,_0x3b26f9);});}else _0x23e063[_0x403425(0xf1)](_0x403425(0xd9)+_0x1bc695),_0x12bc72[_0x403425(0xc7)](_0xd3e5db,_0x2a437a);});},exports[a14_0x4946d1(0xbf)]=()=>{const _0x56d050=a14_0x4946d1,_0x5adb19={};_0x5adb19[_0x56d050(0x119)]=function(_0x36cdc7,_0x15d2d0){return _0x36cdc7===_0x15d2d0;};const _0x17a0af=_0x5adb19;return _0x17a0af[_0x56d050(0x119)](global_registry['awsConfigSet'],!![]);},exports[a14_0x4946d1(0x158)]=()=>{const _0x17c44b=a14_0x4946d1,_0x869de0={};_0x869de0[_0x17c44b(0x129)]=global_registry['clusterRegion'],_0x869de0[_0x17c44b(0x93)]=global_registry[_0x17c44b(0x186)],_0x869de0['secretAccessKey']=global_registry[_0x17c44b(0x125)],awsSDK[_0x17c44b(0xe7)][_0x17c44b(0x17f)](_0x869de0),global_registry[_0x17c44b(0x8d)]=!![];},exports[a14_0x4946d1(0x10d)]=awsSDK;
1
+ function a14_0xce47(_0x7686e5,_0x4f54fb){const _0x5ad3fb=a14_0x5ad3();return a14_0xce47=function(_0xce473e,_0x3c2d4d){_0xce473e=_0xce473e-0xb3;let _0x3d2720=_0x5ad3fb[_0xce473e];return _0x3d2720;},a14_0xce47(_0x7686e5,_0x4f54fb);}const a14_0x2983fc=a14_0xce47;(function(_0x5b4c5d,_0x223fa9){const _0x1fc3b4=a14_0xce47,_0x2a27de=_0x5b4c5d();while(!![]){try{const _0x279bf8=-parseInt(_0x1fc3b4(0x19e))/0x1*(parseInt(_0x1fc3b4(0xd5))/0x2)+-parseInt(_0x1fc3b4(0x12f))/0x3+parseInt(_0x1fc3b4(0x104))/0x4+parseInt(_0x1fc3b4(0x16c))/0x5*(parseInt(_0x1fc3b4(0x12a))/0x6)+parseInt(_0x1fc3b4(0x17d))/0x7+parseInt(_0x1fc3b4(0x121))/0x8*(parseInt(_0x1fc3b4(0x1b3))/0x9)+-parseInt(_0x1fc3b4(0xf0))/0xa*(parseInt(_0x1fc3b4(0x122))/0xb);if(_0x279bf8===_0x223fa9)break;else _0x2a27de['push'](_0x2a27de['shift']());}catch(_0x157126){_0x2a27de['push'](_0x2a27de['shift']());}}}(a14_0x5ad3,0x9df97));const fs=require('fs'),yaml=require(a14_0x2983fc(0xcc)),path=require('path'),awsSDK=require(a14_0x2983fc(0xea)),{AWS,global_registry}=require(a14_0x2983fc(0xe9)),{logger}=require('../config/logger');exports[a14_0x2983fc(0x15e)]=()=>{const _0x39e630=a14_0x2983fc,_0x4db86d={'YfZlm':function(_0x2b47fd,_0x3f28dd){return _0x2b47fd(_0x3f28dd);},'yVxME':function(_0x55bd77,_0x1cbc6c){return _0x55bd77!==_0x1cbc6c;},'Xssjk':_0x39e630(0x175),'rShwR':_0x39e630(0x116)};!this['isAWSConfigured']()&&(_0x4db86d[_0x39e630(0x16b)](_0x4db86d['Xssjk'],_0x4db86d[_0x39e630(0x152)])?this[_0x39e630(0x1c6)]():(_0x5c5356[_0x39e630(0xbc)](_0x39e630(0x1c0)+_0x4ced6e+_0x39e630(0xf3)),_0x4db86d[_0x39e630(0x196)](_0x3d11fc,!![])));},exports[a14_0x2983fc(0x1a4)]=async(_0x5abf93,_0x3074a0)=>{const _0x454664=a14_0x2983fc,_0x3d044d={'dXMDA':function(_0xda0440,_0x194589){return _0xda0440(_0x194589);},'VNkCw':function(_0x5a009b,_0x57c7f2){return _0x5a009b(_0x57c7f2);},'NCyNm':function(_0x3b5b2f,_0x557720){return _0x3b5b2f===_0x557720;},'iwyYa':_0x454664(0x1ab)};if(_0x3d044d[_0x454664(0x120)](isAWS,_0x5abf93)){if(_0x3d044d[_0x454664(0x1c7)](_0x3d044d['iwyYa'],_0x3d044d[_0x454664(0x146)]))return this[_0x454664(0x15e)](),_0x3d044d[_0x454664(0x111)](checkAWSClusterCreated,_0x3074a0);else _0x3e6776['error']('Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20'+_0x547086),_0x3d044d['dXMDA'](_0x552a26,_0x23e3b5);}},exports['getClusterInfo']=async _0x4707ef=>{const _0x2ee21e=a14_0x2983fc,_0x563e78={};_0x563e78[_0x2ee21e(0x148)]=_0x2ee21e(0xcf);const _0x52d48b=_0x563e78,_0x263200={};_0x263200[_0x2ee21e(0x174)]=_0x52d48b[_0x2ee21e(0x148)];const _0x1ffa93=new awsSDK[(_0x2ee21e(0x124))](_0x263200),_0x3ec28a={};return _0x3ec28a[_0x2ee21e(0x15f)]=_0x4707ef,_0x1ffa93[_0x2ee21e(0xb7)](_0x3ec28a)[_0x2ee21e(0x126)]();},exports['createAuthConfigMap']=async _0x344bfc=>{const _0x575966=a14_0x2983fc,_0x8de66c={};_0x8de66c[_0x575966(0x106)]=_0x575966(0x189),_0x8de66c[_0x575966(0x1c2)]=_0x575966(0x10a),_0x8de66c[_0x575966(0x167)]=_0x575966(0x17e),_0x8de66c[_0x575966(0x171)]='<ARN>';const _0x53a2aa=_0x8de66c,_0xd9f3c6=await fs[_0x575966(0xfa)](path[_0x575966(0x16a)](__dirname,'..',_0x53a2aa[_0x575966(0x106)],_0x53a2aa[_0x575966(0x1c2)]),_0x53a2aa[_0x575966(0x167)]),_0x29992e=yaml[_0x575966(0x139)](_0xd9f3c6);return _0x29992e[_0x575966(0xc3)][_0x575966(0x130)]=_0x29992e['data'][_0x575966(0x130)][_0x575966(0x16d)](_0x53a2aa['hgzbL'],_0x344bfc),_0x29992e;},exports[a14_0x2983fc(0x14e)]=async(_0x150046,_0xe0d0b9)=>{const _0x4a394f=a14_0x2983fc,_0x9036c0={};_0x9036c0[_0x4a394f(0x12b)]=_0x4a394f(0xcf);const _0x305c87=_0x9036c0,_0x3e2502={};_0x3e2502[_0x4a394f(0x174)]=_0x305c87[_0x4a394f(0x12b)];const _0x5490e0=new awsSDK[(_0x4a394f(0x124))](_0x3e2502),_0xcd5561={};return _0xcd5561[_0x4a394f(0xc9)]=_0x150046,_0xcd5561['nodegroupName']=_0xe0d0b9,_0x5490e0[_0x4a394f(0xd7)](_0xcd5561)['promise']();};const isAWS=_0x458872=>{const _0x3c67fa=a14_0x2983fc,_0x441c7c={'cLmlP':function(_0x580d4,_0x21e6cc){return _0x580d4(_0x21e6cc);},'uxQHe':function(_0x5e105b,_0x2be791){return _0x5e105b===_0x2be791;},'spepZ':'kILeW'};if(_0x441c7c[_0x3c67fa(0x165)](_0x458872,AWS)){if(_0x441c7c[_0x3c67fa(0x165)](_0x441c7c[_0x3c67fa(0x16f)],_0x441c7c[_0x3c67fa(0x16f)]))return!![];else _0x4fc0c8[_0x3c67fa(0x1ac)](_0x3c67fa(0x10c)+_0x10b8c2),_0x441c7c[_0x3c67fa(0x178)](_0x18c19d,_0x5600b9);}return![];},checkAWSClusterCreated=_0x386950=>{const _0x2f6a5a=a14_0x2983fc,_0x24cb72={'axbkC':function(_0x5d23c2,_0x1f1c3d){return _0x5d23c2!==_0x1f1c3d;},'VTRvL':_0x2f6a5a(0x14c),'ZuYkr':'VqAQG','rHJuH':function(_0x538db3,_0x2feba6){return _0x538db3(_0x2feba6);},'FPmjq':function(_0x2e18f,_0x446905){return _0x2e18f(_0x446905);},'dbPcs':function(_0x5d1387,_0x25c2d3){return _0x5d1387(_0x25c2d3);},'PogVZ':_0x2f6a5a(0x12d),'PcVJZ':function(_0x1318f0,_0x45a09f){return _0x1318f0===_0x45a09f;},'YZWea':_0x2f6a5a(0x11c),'mOeDM':_0x2f6a5a(0x195),'gTfju':'wvNbN','JiGde':function(_0x50da9e,_0x1ec94e){return _0x50da9e!==_0x1ec94e;},'PUBVa':_0x2f6a5a(0x1a8),'DhPIn':_0x2f6a5a(0xcf)};return new Promise((_0x4eab1a,_0x136b9e)=>{const _0x2f90fe=_0x2f6a5a,_0x3bae88={'ZetdW':function(_0x563d58,_0x5bc487){return _0x24cb72['FPmjq'](_0x563d58,_0x5bc487);},'WzYcG':function(_0x504630,_0x3b5c37){return _0x24cb72['dbPcs'](_0x504630,_0x3b5c37);},'FLayv':_0x24cb72[_0x2f90fe(0x149)],'OCkUo':function(_0x8371ac,_0x3d9af9){const _0x2df0e4=_0x2f90fe;return _0x24cb72[_0x2df0e4(0x170)](_0x8371ac,_0x3d9af9);},'BElZr':_0x24cb72[_0x2f90fe(0x109)],'wJzWs':_0x24cb72[_0x2f90fe(0xe7)],'qqpMV':function(_0x8c9d40,_0x38b441){const _0x4df2e1=_0x2f90fe;return _0x24cb72[_0x4df2e1(0x170)](_0x8c9d40,_0x38b441);},'feEAG':_0x24cb72[_0x2f90fe(0x17b)],'qpZNC':function(_0x1d5923,_0x2af440){const _0x144aed=_0x2f90fe;return _0x24cb72[_0x144aed(0x13f)](_0x1d5923,_0x2af440);},'VEGWP':function(_0x476b3c,_0x2e9d46){const _0x259d75=_0x2f90fe;return _0x24cb72[_0x259d75(0x125)](_0x476b3c,_0x2e9d46);}};if(_0x24cb72[_0x2f90fe(0xe8)](_0x24cb72[_0x2f90fe(0x164)],_0x24cb72[_0x2f90fe(0x164)]))return new _0x43bdcb((_0x50a322,_0x52c126)=>{const _0x24d8fb=_0x2f90fe,_0x307209={'KzMel':function(_0x8cbe1a,_0x95696){const _0x378801=a14_0xce47;return _0x3bae88[_0x378801(0x182)](_0x8cbe1a,_0x95696);},'DofNG':function(_0x2887f8,_0x3ad16b){const _0xaf0857=a14_0xce47;return _0x3bae88[_0xaf0857(0x105)](_0x2887f8,_0x3ad16b);}},_0x4a3921={};_0x4a3921[_0x24d8fb(0x174)]=_0x3bae88[_0x24d8fb(0x10e)],_0x4a3921[_0x24d8fb(0x136)]=_0x2c0e31;const _0x1ef987=new _0x4abc2f[(_0x24d8fb(0xf9))](_0x4a3921);_0x1ef987[_0x24d8fb(0x10b)]()[_0x24d8fb(0x126)]()[_0x24d8fb(0xc0)](_0x425616=>{const _0x30e030=_0x24d8fb;_0x307209[_0x30e030(0x117)](_0x50a322,_0x425616);})[_0x24d8fb(0x18d)](_0x6ff20b=>{const _0x5915da=_0x24d8fb;_0x594350[_0x5915da(0x1ac)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x6ff20b),_0x307209[_0x5915da(0x181)](_0x52c126,_0x6ff20b);});});else{const _0x36d5a8={};_0x36d5a8[_0x2f90fe(0x174)]=_0x24cb72[_0x2f90fe(0xf7)];const _0x256a33=new awsSDK['EKS'](_0x36d5a8);_0x256a33['listClusters']()[_0x2f90fe(0x126)]()[_0x2f90fe(0xc0)](_0x11c3f2=>{const _0x27429d=_0x2f90fe,_0x2b9659={'RYjUk':function(_0x504be1,_0x72770c){return _0x3bae88['ZetdW'](_0x504be1,_0x72770c);},'ToNhk':_0x3bae88[_0x27429d(0x10e)]};if(_0x3bae88[_0x27429d(0xff)](_0x3bae88[_0x27429d(0xbd)],_0x3bae88[_0x27429d(0x159)])){const _0x264352={'YtLNz':function(_0x1e35f1,_0x45bc84){const _0x1a95b0=_0x27429d;return _0x2b9659[_0x1a95b0(0x198)](_0x1e35f1,_0x45bc84);},'yMUHf':_0x2b9659[_0x27429d(0x138)]};return new _0x59744f((_0x583ac2,_0x54b870)=>{const _0x234611=_0x27429d,_0x4d8545={'xtiON':function(_0x2197a3,_0x451ac8){return _0x264352['YtLNz'](_0x2197a3,_0x451ac8);}},_0xafe2af={};_0xafe2af[_0x234611(0x174)]=_0x264352[_0x234611(0xbe)],_0xafe2af[_0x234611(0x136)]=_0x2f936e;const _0x154d7f=new _0x180f7b[(_0x234611(0xf9))](_0xafe2af);_0x154d7f[_0x234611(0x17f)]()[_0x234611(0x126)]()['then'](_0x287a86=>{const _0x3927a4=_0x234611;_0x4d8545[_0x3927a4(0x1a1)](_0x583ac2,_0x287a86);})['catch'](_0x28e5ff=>{const _0x48698a=_0x234611;_0x5689e0['error']('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x28e5ff),_0x4d8545[_0x48698a(0x1a1)](_0x54b870,_0x28e5ff);});});}else{if(_0x11c3f2[_0x27429d(0x129)][_0x27429d(0x1ae)](_0x386950)){if(_0x3bae88['qqpMV'](_0x3bae88[_0x27429d(0x142)],_0x3bae88['feEAG']))_0x3bae88[_0x27429d(0x194)](_0x4eab1a,!![]);else{const _0x2dfde9={};_0x2dfde9[_0x27429d(0x174)]=_0x2b9659['ToNhk'],_0x2dfde9['region']=_0xd21275;const _0x2b9fe5=new _0x5a3059['EC2'](_0x2dfde9);_0x2b9fe5[_0x27429d(0x10b)]()['promise']()['then'](_0x341790=>{_0x2b9659['RYjUk'](_0x51abaa,_0x341790);})[_0x27429d(0x18d)](_0x59ee44=>{const _0x282db9=_0x27429d;_0x419beb[_0x282db9(0x1ac)]('Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20'+_0x59ee44),_0x2b9659[_0x282db9(0x198)](_0x4f2b84,_0x59ee44);});}}_0x3bae88[_0x27429d(0xd4)](_0x4eab1a,![]);}})['catch'](_0x2fb82a=>{const _0x56ab75=_0x2f90fe;if(_0x24cb72[_0x56ab75(0x144)](_0x24cb72[_0x56ab75(0xfd)],_0x24cb72[_0x56ab75(0x187)]))logger[_0x56ab75(0x1ac)](_0x2fb82a),_0x24cb72[_0x56ab75(0x125)](_0x136b9e,_0x2fb82a);else{if(_0x3bae88[_0x56ab75(0x105)](_0x12b0de,_0x51565c))return this['configureAWSIfNotConfigured'](),_0x3bae88['VEGWP'](_0xeb7e4a,_0x5676b9);}});}});};function a14_0x5ad3(){const _0x25fe06=['klnCQ','dtHOX','mVFPt','VEGWP','167298zSOxNH','fetchSubnets','describeNodegroup','NYPix','AKHDp','tAJYq','xGFey','PhyNJ','xNAxh','kRpmj','fetchVPCs','qPBCw','AUSlm','pIUZw','fetchSecurityGroups','KCcfz','HtTmA','isAWSConfigured','mOeDM','JiGde','../config/constants','aws-sdk','LBMUe','.\x20Error:\x20','IdMBN','LheTr','HcZJw','1090OazOtq','UhzvA','WLUIU','\x20already\x20exists.\x20Skipping\x20Bucket\x20creation','boUsG','WKLlK','pdnpk','DhPIn','jjJBX','EC2','readFileAsync','xTCim','ffCMH','VTRvL','atWLb','OCkUo','getAWSRegions','oVAXY','ySRtV','ObufO','5075368PsKqKT','WzYcG','dbOkv','VbPkn','vmQSe','YZWea','aws-auth-cm.yaml','describeSecurityGroups','Failed\x20to\x20fetch\x20AWS\x20Regions\x20due\x20to\x20error:\x20','Subnets','FLayv','qTpst','ThUAj','dXMDA','Regions','JyiUY','secretAccessKey','acNYu','vaWFP','KzMel','lZXgu','uGDmG','QuaBN','FxfRl','MlUPs','emXbS','Cannot\x20find\x20VPC\x20','HgWHR','VNkCw','16VmxChh','194018PxHlAa','Gjdto','EKS','rHJuH','promise','RUhWH','ELnaK','clusters','22068rhRAcA','WKfWA','Filters','2016-11-15','oIWQY','796869HMrNaC','mapRoles','wxhnK','vzqPy','ICJBN','Failed\x20to\x20fetch\x20Security\x20Groups\x20due\x20to\x20error:\x20','Nzxrk','region','BvWsF','ToNhk','load','McGtR','QspcS','Cannot\x20find\x20subnets\x20','JWJhV','ToWNj','FPmjq','JUuGb','UVxxu','feEAG','ZPsWD','axbkC','CqxFg','iwyYa','wHckS','vSXMj','PogVZ','uzsYD','YINUQ','fKccv','bleea','getNodeGroupInfo','ZHUcV','iDtMU','Failed\x20to\x20fetch\x20subnets\x20due\x20to\x20error:\x20','rShwR','pupMK','EabaQ','PmYrp','info','LeXXE','vNNRB','wJzWs','ZlWvK','tpuyb','AumLw','ppber','configureAWSIfNotConfigured','name','eKTHe','awsObj','gjloc','waYCV','PUBVa','uxQHe','aeMMv','BghQh','WrYpc','sXUxc','join','yVxME','1035sXikfN','replace','Gzpqr','spepZ','PcVJZ','hgzbL','pxVcy','headBucket','apiVersion','mktoX','GfvfW','KcQjH','cLmlP','describeSubnets','describeRegions','gTfju','loApH','7308924VsuDLe','utf-8','describeVpcs','XFZWU','DofNG','ZetdW','DIkYT','Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20','WOkbm','update','ZuYkr','EDWZX','templates','WdcaQ','KrIRk','wxDLc','catch','dmVbm','dUDPX','GhyIm','FSDnz','ndRPH','vOElg','qpZNC','ZkplW','YfZlm','\x20in\x20region\x20','RYjUk','aMDAt','PBqkq','push','fOwhc','NQNBY','10LBTTjM','listClusters','Gtiql','xtiON','gNduP','MRTbT','isClusterPresent','XThIx','euMdP','forEach','sriCA','yJNUm','ppkSH','vqlgI','error','clusterRegion','includes','config','yxEZI','kpmRS','pJGXj','2688291bqDtJr','gdTMN','Mryyp','cqEiT','jEOOT','sIDTD','xiBJC','mdIvu','QDgAd','nrQVz','zxKRB','YIECJ','vUSUE','Bucket:\x20','LPCIt','wFdUr','cloudProviderSecretKey','WxPSi','OKQRz','setAWSConfig','NCyNm','mFDCw','tZQYO','Values','bztug','awsConfigSet','describeCluster','fnuhc','.\x20Please\x20Check\x20and\x20try\x20again','VrZsk','FXOSs','warn','BElZr','yMUHf','accessKeyId','then','kBGlv','lrPEw','data','KjVEf','cloudProviderAccessKey','\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket','ALKzL','TXQIe','clusterName','fPadF','LYblP','js-yaml','hzjHf','muoJw','2017-11-01','YGsYm'];a14_0x5ad3=function(){return _0x25fe06;};return a14_0x5ad3();}exports[a14_0x2983fc(0xdf)]=_0x1c1642=>{const _0x322223=a14_0x2983fc,_0x613e8b={'uzsYD':function(_0x318b87,_0x5c6867){return _0x318b87!==_0x5c6867;},'hzjHf':_0x322223(0x18f),'mVFPt':function(_0x45e018,_0x169213){return _0x45e018(_0x169213);},'FxfRl':function(_0x5cb638,_0x5335ea){return _0x5cb638(_0x5335ea);},'XcCZF':function(_0x25884c,_0x3b6e82){return _0x25884c===_0x3b6e82;},'PhyNJ':_0x322223(0xf5),'dWERB':_0x322223(0x1bd),'atWLb':function(_0x5ac142,_0x32c23b){return _0x5ac142!==_0x32c23b;},'yveVz':_0x322223(0x132),'UhzvA':_0x322223(0x12d)};return new Promise((_0x57a58d,_0x25f63e)=>{const _0x10e648=_0x322223,_0x5393be={'xGFey':function(_0x46e937,_0x4beb12){const _0x2cb40f=a14_0xce47;return _0x613e8b[_0x2cb40f(0x11b)](_0x46e937,_0x4beb12);},'ixvpp':function(_0x5bff75,_0x5bd483){return _0x613e8b['XcCZF'](_0x5bff75,_0x5bd483);},'Gzpqr':_0x613e8b[_0x10e648(0xdc)],'ELnaK':_0x613e8b['dWERB']};if(_0x613e8b[_0x10e648(0xfe)](_0x613e8b['yveVz'],_0x613e8b['yveVz']))return!![];else{const _0x5e94c9={};_0x5e94c9[_0x10e648(0x174)]=_0x613e8b[_0x10e648(0xf1)],_0x5e94c9['region']=_0x1c1642;const _0x1ee1f1=new awsSDK[(_0x10e648(0xf9))](_0x5e94c9);_0x1ee1f1[_0x10e648(0x17f)]()[_0x10e648(0x126)]()[_0x10e648(0xc0)](_0x4330c5=>{const _0x1f314f=_0x10e648;_0x613e8b[_0x1f314f(0x14a)](_0x613e8b[_0x1f314f(0xcd)],_0x613e8b[_0x1f314f(0xcd)])?_0x5393be['xGFey'](_0x2ffc30,!![]):_0x613e8b[_0x1f314f(0xd3)](_0x57a58d,_0x4330c5);})[_0x10e648(0x18d)](_0x313bdd=>{const _0x380928=_0x10e648,_0x185cd0={'lrPEw':function(_0x24a34a,_0x50206c){const _0x3c01a1=a14_0xce47;return _0x5393be[_0x3c01a1(0xdb)](_0x24a34a,_0x50206c);}};_0x5393be['ixvpp'](_0x5393be[_0x380928(0x16e)],_0x5393be[_0x380928(0x128)])?(_0x11910a[_0x380928(0x1ac)](_0x380928(0x13c)+_0x29cbce+_0x380928(0x197)+_0x3bbeb3+_0x380928(0xec)+_0x5b7b41),_0x185cd0[_0x380928(0xc2)](_0x1c4a19,[![],[]])):(logger[_0x380928(0x1ac)](_0x380928(0x184)+_0x313bdd),_0x5393be['xGFey'](_0x25f63e,_0x313bdd));});}});},exports['isVPCPresent']=(_0x21365b,_0x2fb36f)=>{const _0x582125=a14_0x2983fc,_0x2049c3={'WLUIU':function(_0x4efef0,_0x53f963){return _0x4efef0(_0x53f963);},'dtHOX':_0x582125(0x12d),'WrYpc':function(_0x2b21a3,_0x29cf0f){return _0x2b21a3!==_0x29cf0f;},'loApH':_0x582125(0x1b9),'qTpst':_0x582125(0x127),'xNAxh':function(_0x278e6f,_0xf19ec){return _0x278e6f(_0xf19ec);},'ySRtV':function(_0x495b78,_0x3cd167){return _0x495b78!==_0x3cd167;},'KRFRp':_0x582125(0x13b),'wHckS':_0x582125(0x180),'GVFmw':function(_0xd6d9d6,_0x25e9b6){return _0xd6d9d6(_0x25e9b6);},'bztug':function(_0x527b13,_0x2ce022){return _0x527b13!==_0x2ce022;},'ujFGB':'PIFwv'},_0x4dd54d={};_0x4dd54d['VpcIds']=[_0x21365b];let _0x4ca5ca=_0x4dd54d;return new Promise((_0x294253,_0x57d5d9)=>{const _0x3789e1=_0x582125,_0x53b8f4={'ZHUcV':function(_0x12fae3,_0x45b31b){const _0x19ebd0=a14_0xce47;return _0x2049c3[_0x19ebd0(0xdd)](_0x12fae3,_0x45b31b);},'LBMUe':function(_0xaf06ca,_0x147bbe){const _0x596cda=a14_0xce47;return _0x2049c3[_0x596cda(0x102)](_0xaf06ca,_0x147bbe);},'bleea':_0x2049c3['KRFRp'],'ffCMH':_0x2049c3[_0x3789e1(0x147)],'CsxCf':function(_0x4ef21f,_0x307325){return _0x2049c3['GVFmw'](_0x4ef21f,_0x307325);}};if(_0x2049c3[_0x3789e1(0xb5)](_0x2049c3['ujFGB'],_0x2049c3['ujFGB']))return _0x1c05cd[_0x3789e1(0x19b)](_0x5132bb),![];else{const _0x6d6169={};_0x6d6169['apiVersion']=_0x2049c3['dtHOX'],_0x6d6169[_0x3789e1(0x136)]=_0x2fb36f;const _0x2b9700=new awsSDK[(_0x3789e1(0xf9))](_0x6d6169);_0x2b9700[_0x3789e1(0x17f)](_0x4ca5ca)['promise']()[_0x3789e1(0xc0)](_0xb47e4a=>{const _0x42f346=_0x3789e1,_0x109dbd={'kBmIM':function(_0x109b1c,_0x458d39){const _0x130a67=a14_0xce47;return _0x2049c3[_0x130a67(0xf2)](_0x109b1c,_0x458d39);},'HRuiL':function(_0x3e18a3,_0x22e4e0){const _0x52b32d=a14_0xce47;return _0x2049c3[_0x52b32d(0xf2)](_0x3e18a3,_0x22e4e0);},'ThUAj':_0x2049c3[_0x42f346(0xd2)]};if(_0x2049c3[_0x42f346(0x168)](_0x2049c3[_0x42f346(0x17c)],_0x2049c3[_0x42f346(0x10f)]))_0x2049c3['WLUIU'](_0x294253,!![]);else{const _0x50d50e={'oVAXY':function(_0x3db9e6,_0x4f49fa){return _0x109dbd['kBmIM'](_0x3db9e6,_0x4f49fa);},'tpuyb':function(_0x516098,_0x4e541c){return _0x109dbd['HRuiL'](_0x516098,_0x4e541c);}},_0x391deb={};_0x391deb[_0x42f346(0x174)]=_0x109dbd[_0x42f346(0x110)],_0x391deb['region']=_0x298b27;const _0x13b0cb=new _0x340566[(_0x42f346(0xf9))](_0x391deb);_0x13b0cb[_0x42f346(0x17f)]()[_0x42f346(0x126)]()[_0x42f346(0xc0)](_0x186a4e=>{const _0x236574=_0x42f346;_0x50d50e[_0x236574(0x101)](_0x1f9baf,_0x186a4e);})[_0x42f346(0x18d)](_0x2e6e18=>{const _0x4f8b81=_0x42f346;_0x339ab9[_0x4f8b81(0x1ac)]('Failed\x20to\x20fetch\x20VPCs\x20due\x20to\x20error:\x20'+_0x2e6e18),_0x50d50e[_0x4f8b81(0x15b)](_0x5b7ac6,_0x2e6e18);});}})[_0x3789e1(0x18d)](_0x519114=>{const _0x525d19=_0x3789e1;_0x53b8f4[_0x525d19(0xeb)](_0x53b8f4[_0x525d19(0x14d)],_0x53b8f4[_0x525d19(0xfc)])?(logger['error'](_0x525d19(0x11e)+_0x21365b+_0x525d19(0x197)+_0x2fb36f+_0x525d19(0xb9)),_0x53b8f4['CsxCf'](_0x294253,![])):_0x53b8f4[_0x525d19(0x14f)](_0x3e9576,_0x298547);});}});},exports['isSubnetsValid']=(_0x283e9f,_0x1528fa,_0x54e4f7)=>{const _0x4c3269=a14_0x2983fc,_0x2ebf9c={'pupMK':function(_0x3361a6,_0x82a7c){return _0x3361a6!==_0x82a7c;},'QuaBN':_0x4c3269(0xda),'qPBCw':function(_0x36bef5,_0x2d5321){return _0x36bef5(_0x2d5321);},'vOElg':function(_0x365db7,_0x2a6d00){return _0x365db7===_0x2a6d00;},'fPadF':_0x4c3269(0xf6),'KCcfz':_0x4c3269(0xe1),'gNduP':function(_0x2a5206,_0x609e2d){return _0x2a5206!==_0x609e2d;},'cqEiT':_0x4c3269(0x160),'XThIx':_0x4c3269(0x11d),'NQNBY':'cCYvh','NYPix':_0x4c3269(0xe5),'WxPSi':function(_0x56d0c1,_0xbedc0c){return _0x56d0c1(_0xbedc0c);},'ZlWvK':function(_0x189639,_0x1ccafa){return _0x189639(_0x1ccafa);},'ALKzL':function(_0x34862a,_0x1fd6db){return _0x34862a!==_0x1fd6db;},'KjVEf':_0x4c3269(0x1b1),'Nzxrk':function(_0x2a2348,_0x27090e){return _0x2a2348(_0x27090e);},'Gtiql':function(_0x4e8c47,_0x1f870a){return _0x4e8c47!==_0x1f870a;},'ngcvX':function(_0x320100,_0xcd2095){return _0x320100(_0xcd2095);},'sBffr':_0x4c3269(0xcf),'HcZJw':_0x4c3269(0xba),'OKQRz':_0x4c3269(0x15c),'ehthM':_0x4c3269(0x12d),'fOwhc':'vpc-id'},_0x3ebfb={};_0x3ebfb['Name']=_0x2ebf9c[_0x4c3269(0x19c)],_0x3ebfb[_0x4c3269(0xb4)]=[_0x1528fa];const _0x19f97f={};_0x19f97f[_0x4c3269(0x12c)]=[_0x3ebfb];let _0x50d2fe=_0x19f97f;return new Promise((_0x458355,_0x894da5)=>{const _0x5251dc=_0x4c3269,_0x2bce8a={};_0x2bce8a[_0x5251dc(0x155)]=_0x2ebf9c['sBffr'];const _0x242af5=_0x2bce8a;if(_0x2ebf9c['ALKzL'](_0x2ebf9c[_0x5251dc(0xef)],_0x2ebf9c[_0x5251dc(0x1c5)])){const _0x60bd2a={};_0x60bd2a['apiVersion']=_0x2ebf9c['ehthM'],_0x60bd2a[_0x5251dc(0x136)]=_0x54e4f7;const _0x285e9d=new awsSDK['EC2'](_0x60bd2a);_0x285e9d[_0x5251dc(0x179)](_0x50d2fe)[_0x5251dc(0x126)]()[_0x5251dc(0xc0)](_0xe71c44=>{const _0x5ab397=_0x5251dc,_0x3f4b55={'LeXXE':function(_0x17f6d0,_0x175026){const _0x14cd56=a14_0xce47;return _0x2ebf9c[_0x14cd56(0x153)](_0x17f6d0,_0x175026);},'mFDCw':_0x2ebf9c[_0x5ab397(0x11a)],'grgiz':function(_0x20cb7f,_0x6e0a42){const _0x513716=_0x5ab397;return _0x2ebf9c[_0x513716(0xe0)](_0x20cb7f,_0x6e0a42);},'nrQVz':function(_0x1b9e07,_0x4dc535){const _0x157c2e=_0x5ab397;return _0x2ebf9c[_0x157c2e(0x193)](_0x1b9e07,_0x4dc535);},'muoJw':_0x2ebf9c[_0x5ab397(0xca)],'EaTlC':_0x2ebf9c[_0x5ab397(0xe4)],'BdeGm':function(_0x394243,_0x181d21){const _0x4c7f02=_0x5ab397;return _0x2ebf9c[_0x4c7f02(0x1a2)](_0x394243,_0x181d21);},'JyiUY':_0x2ebf9c[_0x5ab397(0x1b6)],'nNQat':_0x2ebf9c[_0x5ab397(0x1a5)],'hJXoe':_0x2ebf9c[_0x5ab397(0x19d)]};if(_0x2ebf9c['pupMK'](_0x2ebf9c[_0x5ab397(0xd8)],_0x2ebf9c['NYPix'])){const _0x310212={};_0x310212['apiVersion']=_0x242af5[_0x5ab397(0x155)];const _0x45c45e=new _0x373fa1[(_0x5ab397(0x124))](_0x310212),_0x351e3e={};return _0x351e3e[_0x5ab397(0xc9)]=_0x4d1fba,_0x351e3e['nodegroupName']=_0x88dfcc,_0x45c45e[_0x5ab397(0xd7)](_0x351e3e)[_0x5ab397(0x126)]();}else{const _0x49579e=[],_0x3585b4=[];_0xe71c44[_0x5ab397(0x10d)][_0x5ab397(0x1a7)](_0x12b6bd=>{const _0x489746=_0x5ab397;_0x3f4b55[_0x489746(0x157)](_0x3f4b55[_0x489746(0x1c8)],_0x3f4b55['mFDCw'])?this[_0x489746(0x1c6)]():_0x49579e[_0x489746(0x19b)](_0x12b6bd['SubnetId']);});const _0x1a8670=_0x283e9f['every'](_0x2a9fe4=>{const _0x5416a1=_0x5ab397,_0xa9b346={'QDgAd':function(_0x1bae49,_0x4f33c4){return _0x3f4b55['grgiz'](_0x1bae49,_0x4f33c4);}};if(_0x3f4b55[_0x5416a1(0x1bc)](_0x3f4b55[_0x5416a1(0xce)],_0x3f4b55['EaTlC']))_0xa9b346[_0x5416a1(0x1bb)](_0x2d836a,{});else{if(_0x49579e[_0x5416a1(0x1ae)](_0x2a9fe4)){if(_0x3f4b55['BdeGm'](_0x3f4b55[_0x5416a1(0x113)],_0x3f4b55[_0x5416a1(0x113)])){const _0x488fb9={};_0x488fb9['region']=_0x3660d7[_0x5416a1(0x1ad)],_0x488fb9[_0x5416a1(0xbf)]=_0x25d376['cloudProviderAccessKey'],_0x488fb9[_0x5416a1(0x114)]=_0x27a411[_0x5416a1(0x1c3)],_0xeffada[_0x5416a1(0x1af)]['update'](_0x488fb9),_0x28f95e[_0x5416a1(0xb6)]=!![];}else return!![];}else return _0x3f4b55[_0x5416a1(0x157)](_0x3f4b55['nNQat'],_0x3f4b55['hJXoe'])?(_0x3585b4['push'](_0x2a9fe4),![]):!![];}});_0x2ebf9c[_0x5ab397(0x1c4)](_0x458355,[_0x1a8670,_0x3585b4]);}})[_0x5251dc(0x18d)](_0x12c359=>{const _0x58cfcc=_0x5251dc,_0x345aba={'FXOSs':function(_0xc75831,_0x434ce0){const _0x23498e=a14_0xce47;return _0x2ebf9c[_0x23498e(0x15a)](_0xc75831,_0x434ce0);}};_0x2ebf9c[_0x58cfcc(0xc7)](_0x2ebf9c[_0x58cfcc(0xc4)],_0x2ebf9c['KjVEf'])?(_0x52c1b1[_0x58cfcc(0x129)]['includes'](_0xdd67e2)&&_0x345aba[_0x58cfcc(0xbb)](_0x68f991,!![]),_0x345aba[_0x58cfcc(0xbb)](_0x2674cf,![])):(logger['error'](_0x58cfcc(0x13c)+_0x1528fa+_0x58cfcc(0x197)+_0x54e4f7+_0x58cfcc(0xec)+_0x12c359),_0x2ebf9c[_0x58cfcc(0x135)](_0x458355,[![],[]]));});}else _0x2ebf9c[_0x5251dc(0x1a0)](_0x4e901d,_0x1e55c3)&&_0x2ebf9c[_0x5251dc(0xc7)](_0x268635[_0x5251dc(0x112)],_0xa8893b)?_0x2ebf9c['ngcvX'](_0x56eb18,_0x42321d[_0x5251dc(0x112)]):_0x2ebf9c['qPBCw'](_0x246de6,{});});},exports['isBucketPresent']=_0x39268c=>{const _0x4dda6e=a14_0x2983fc,_0x45bca9={'klnCQ':function(_0x5d4e38,_0x44c29c){return _0x5d4e38(_0x44c29c);},'waYCV':function(_0x25129c,_0x24634d){return _0x25129c(_0x24634d);},'kRpmj':function(_0x1fdbac,_0xe2463e){return _0x1fdbac!==_0xe2463e;},'ZPsWD':'wFdUw','snzkC':function(_0x316cb1,_0xbb237b){return _0x316cb1(_0xbb237b);},'lZXgu':function(_0x15c341,_0x4ba139){return _0x15c341!==_0x4ba139;},'UnIjG':_0x4dda6e(0x140),'IdMBN':'CRtoo','XlBIq':function(_0x4d99a5,_0x3883e6){return _0x4d99a5(_0x3883e6);},'xTCim':_0x4dda6e(0xcf),'vmQSe':_0x4dda6e(0x162)},_0xde0b97=new awsSDK['S3']();return new Promise((_0x11704c,_0x7430ab)=>{const _0x4f4129=_0x4dda6e,_0x1c1255={};_0x1c1255[_0x4f4129(0x12e)]=_0x45bca9[_0x4f4129(0xfb)];const _0x257ada=_0x1c1255;if(_0x45bca9[_0x4f4129(0xde)](_0x45bca9[_0x4f4129(0x108)],_0x45bca9[_0x4f4129(0x108)]))_0x381f5a['error'](_0x4f4129(0x11e)+_0x465075+_0x4f4129(0x197)+_0x1f76e6+_0x4f4129(0xb9)),_0x45bca9[_0x4f4129(0xd1)](_0x46d17f,![]);else{const _0x1d5153={};_0x1d5153['Bucket']=_0x39268c,_0xde0b97[_0x4f4129(0x173)](_0x1d5153)['promise']()['then'](_0x3e7e32=>{const _0xa1842=_0x4f4129,_0x37a7b5={'McGtR':function(_0x13534a,_0x909897){return _0x45bca9['klnCQ'](_0x13534a,_0x909897);},'iHqFf':function(_0x3284fe,_0x4aef89){const _0x52d0ed=a14_0xce47;return _0x45bca9[_0x52d0ed(0x163)](_0x3284fe,_0x4aef89);}};if(_0x45bca9[_0xa1842(0xde)](_0x45bca9[_0xa1842(0x143)],_0x45bca9[_0xa1842(0x143)])){const _0x3b580b={};_0x3b580b['apiVersion']=_0x257ada[_0xa1842(0x12e)];const _0x3aba68=new _0xdf901a[(_0xa1842(0x124))](_0x3b580b);_0x3aba68[_0xa1842(0x19f)]()[_0xa1842(0x126)]()[_0xa1842(0xc0)](_0xe287ba=>{const _0x40bc5b=_0xa1842;_0xe287ba[_0x40bc5b(0x129)][_0x40bc5b(0x1ae)](_0x11656b)&&_0x37a7b5[_0x40bc5b(0x13a)](_0x5b780b,!![]),_0x37a7b5[_0x40bc5b(0x13a)](_0x320ad3,![]);})[_0xa1842(0x18d)](_0x17b61a=>{const _0x3315e7=_0xa1842;_0x388b84[_0x3315e7(0x1ac)](_0x17b61a),_0x37a7b5['iHqFf'](_0x22dc3c,_0x17b61a);});}else logger['warn']('Bucket:\x20'+_0x39268c+_0xa1842(0xf3)),_0x45bca9['snzkC'](_0x11704c,!![]);})['catch'](()=>{const _0x3dbdee=_0x4f4129,_0x293161={'pJGXj':function(_0xdc7890,_0x144295){return _0x45bca9['klnCQ'](_0xdc7890,_0x144295);}};_0x45bca9[_0x3dbdee(0x118)](_0x45bca9['UnIjG'],_0x45bca9[_0x3dbdee(0xed)])?(logger[_0x3dbdee(0x156)](_0x3dbdee(0x1c0)+_0x39268c+'\x20does\x20not\x20exist.\x20Adding\x20it\x20to\x20CloudFormation\x20to\x20create\x20the\x20bucket'),_0x45bca9['XlBIq'](_0x11704c,![])):_0x293161[_0x3dbdee(0x1b2)](_0x503326,_0x43e23f);});}});},exports[a14_0x2983fc(0xd6)]=_0x34e556=>{const _0x4bfb2e=a14_0x2983fc,_0x2b3fee={'wxDLc':function(_0x52f1ea,_0x572933){return _0x52f1ea(_0x572933);},'WdcaQ':function(_0x19cf1d,_0xfdc45){return _0x19cf1d(_0xfdc45);},'LheTr':'2016-11-15','pxVcy':function(_0x1be706,_0x44692a){return _0x1be706!==_0x44692a;},'YIECJ':'jyedv','LYblP':function(_0x1a27bc,_0x373379){return _0x1a27bc(_0x373379);},'AKHDp':'kWgVQ','PBqkq':function(_0x4d55d7,_0x38e79a){return _0x4d55d7===_0x38e79a;},'qMJoo':_0x4bfb2e(0x154),'yJemb':_0x4bfb2e(0x18b)};return new Promise((_0x40caa8,_0x4261f0)=>{const _0x164e01=_0x4bfb2e,_0x1d503b={'pIUZw':function(_0x468587,_0x3a4ccd){const _0x6cf9e9=a14_0xce47;return _0x2b3fee[_0x6cf9e9(0xcb)](_0x468587,_0x3a4ccd);},'sIDTD':_0x2b3fee['LheTr'],'enxIZ':function(_0x50b812,_0x3248ce){const _0x13eb91=a14_0xce47;return _0x2b3fee[_0x13eb91(0x172)](_0x50b812,_0x3248ce);},'OPTRe':_0x2b3fee[_0x164e01(0xd9)]};if(_0x2b3fee[_0x164e01(0x19a)](_0x2b3fee['qMJoo'],_0x2b3fee['yJemb']))_0x2b3fee[_0x164e01(0x18c)](_0x3c363e,_0x4d0c53[_0x164e01(0x112)]);else{const _0x254711={};_0x254711[_0x164e01(0x174)]=_0x2b3fee[_0x164e01(0xee)],_0x254711[_0x164e01(0x136)]=_0x34e556;const _0x2fc1b3=new awsSDK[(_0x164e01(0xf9))](_0x254711);_0x2fc1b3['describeSubnets']()[_0x164e01(0x126)]()['then'](_0x5d1212=>{const _0x4095be=_0x164e01,_0x4ff07c={'ICJBN':function(_0x8d68a1,_0x9bf57){const _0x24f96d=a14_0xce47;return _0x2b3fee[_0x24f96d(0x18a)](_0x8d68a1,_0x9bf57);},'SPHFI':_0x2b3fee['LheTr']};if(_0x2b3fee[_0x4095be(0x172)](_0x2b3fee[_0x4095be(0x1be)],_0x2b3fee[_0x4095be(0x1be)])){const _0x3bc8b1={'YINUQ':function(_0x29c3da,_0x3a29b2){const _0x531dc8=_0x4095be;return _0x4ff07c[_0x531dc8(0x133)](_0x29c3da,_0x3a29b2);}},_0x456d4e={};_0x456d4e[_0x4095be(0x174)]=_0x4ff07c['SPHFI'],_0x456d4e[_0x4095be(0x136)]=_0x40f3f8;const _0x4d30ca=new _0x28e92c[(_0x4095be(0xf9))](_0x456d4e);_0x4d30ca[_0x4095be(0x17f)](_0x3ad659)[_0x4095be(0x126)]()[_0x4095be(0xc0)](_0x4de850=>{const _0x5c7e09=_0x4095be;_0x4ff07c[_0x5c7e09(0x133)](_0x214657,!![]);})[_0x4095be(0x18d)](_0xe36951=>{const _0x6d71=_0x4095be;_0x2c1bf9[_0x6d71(0x1ac)](_0x6d71(0x11e)+_0xc9b2f0+_0x6d71(0x197)+_0x2e7052+_0x6d71(0xb9)),_0x3bc8b1[_0x6d71(0x14b)](_0x5e0a5f,![]);});}else _0x2b3fee['LYblP'](_0x40caa8,_0x5d1212);})[_0x164e01(0x18d)](_0x372af2=>{const _0x570eb2=_0x164e01,_0x3f32de={'yJNUm':function(_0x29b292,_0x2df738){const _0x2ef859=a14_0xce47;return _0x1d503b[_0x2ef859(0xe2)](_0x29b292,_0x2df738);}};if(_0x1d503b['enxIZ'](_0x1d503b['OPTRe'],_0x1d503b['OPTRe'])){const _0x2737e9={'boUsG':function(_0x1928b4,_0x29cc16){const _0x4fb328=a14_0xce47;return _0x1d503b[_0x4fb328(0xe2)](_0x1928b4,_0x29cc16);}},_0x18961b={};_0x18961b['apiVersion']=_0x1d503b[_0x570eb2(0x1b8)],_0x18961b[_0x570eb2(0x136)]=_0x302400;const _0x16cf57=new _0x7081f1[(_0x570eb2(0xf9))](_0x18961b);_0x16cf57['describeSubnets']()[_0x570eb2(0x126)]()[_0x570eb2(0xc0)](_0x47593c=>{const _0x2b9b63=_0x570eb2;_0x3f32de[_0x2b9b63(0x1a9)](_0x3158d1,_0x47593c);})['catch'](_0x23a75f=>{const _0x3ecafd=_0x570eb2;_0x3d7bd5['error'](_0x3ecafd(0x151)+_0x23a75f),_0x2737e9[_0x3ecafd(0xf4)](_0x4c13a9,_0x23a75f);});}else logger[_0x570eb2(0x1ac)](_0x570eb2(0x151)+_0x372af2),_0x1d503b[_0x570eb2(0xe2)](_0x4261f0,_0x372af2);});}});},exports[a14_0x2983fc(0xe3)]=_0x5da402=>{const _0x33d724=a14_0x2983fc,_0x305ab4={'MRTbT':function(_0x509300,_0x4f51c5){return _0x509300(_0x4f51c5);},'HgWHR':_0x33d724(0x12d),'YGsYm':function(_0x23f39b,_0x16d5cc){return _0x23f39b===_0x16d5cc;},'yxEZI':_0x33d724(0xf8),'VbPkn':function(_0x15923d,_0x2e06a8){return _0x15923d(_0x2e06a8);},'kBGlv':function(_0xf27b4f,_0x54a7e7){return _0xf27b4f!==_0x54a7e7;},'ObufO':_0x33d724(0x169),'ToWNj':_0x33d724(0x145)};return new Promise((_0x4326f0,_0x1fc294)=>{const _0x450773=_0x33d724,_0x11c834={'GfvfW':function(_0x2505fc,_0x2724fd){const _0x2cf9b9=a14_0xce47;return _0x305ab4[_0x2cf9b9(0xd0)](_0x2505fc,_0x2724fd);},'gdTMN':function(_0x34ca64,_0x22d8f3){const _0x562c62=a14_0xce47;return _0x305ab4[_0x562c62(0xc1)](_0x34ca64,_0x22d8f3);},'vNNRB':_0x305ab4[_0x450773(0x103)],'ppber':function(_0xaec8c1,_0x5aba45){const _0x16ffe4=_0x450773;return _0x305ab4[_0x16ffe4(0x1a3)](_0xaec8c1,_0x5aba45);}};if(_0x305ab4[_0x450773(0xc1)](_0x305ab4[_0x450773(0x13e)],_0x305ab4[_0x450773(0x13e)])){const _0x36b5ce={'uGDmG':function(_0x5b277b,_0x22c668){return _0x305ab4['MRTbT'](_0x5b277b,_0x22c668);},'JOxaz':_0x305ab4[_0x450773(0x11f)]},_0x34d73d={};_0x34d73d['VpcIds']=[_0x5c6ec5];let _0x150971=_0x34d73d;return new _0x4bf48f((_0x1a0c6e,_0x2c0b9d)=>{const _0xb1ff2=_0x450773,_0x2f0a56={'KcQjH':function(_0x30cb4d,_0x24cbd1){const _0x12a387=a14_0xce47;return _0x36b5ce[_0x12a387(0x119)](_0x30cb4d,_0x24cbd1);}},_0x378d25={};_0x378d25[_0xb1ff2(0x174)]=_0x36b5ce['JOxaz'],_0x378d25[_0xb1ff2(0x136)]=_0x23c20f;const _0x10a364=new _0x34c2dd[(_0xb1ff2(0xf9))](_0x378d25);_0x10a364[_0xb1ff2(0x17f)](_0x150971)[_0xb1ff2(0x126)]()[_0xb1ff2(0xc0)](_0x4b72f3=>{const _0x3f0205=_0xb1ff2;_0x36b5ce[_0x3f0205(0x119)](_0x1a0c6e,!![]);})['catch'](_0x4276f1=>{const _0x4df40e=_0xb1ff2;_0x5ea8b9['error']('Cannot\x20find\x20VPC\x20'+_0x459cf6+_0x4df40e(0x197)+_0x2e7d12+_0x4df40e(0xb9)),_0x2f0a56[_0x4df40e(0x177)](_0x1a0c6e,![]);});});}else{const _0x45d511={};_0x45d511[_0x450773(0x174)]=_0x305ab4[_0x450773(0x11f)],_0x45d511['region']=_0x5da402;const _0x3db297=new awsSDK[(_0x450773(0xf9))](_0x45d511);_0x3db297[_0x450773(0x10b)]()['promise']()['then'](_0x437511=>{const _0xecf4b8=_0x450773;if(_0x11c834[_0xecf4b8(0x1b4)](_0x11c834[_0xecf4b8(0x158)],_0x11c834[_0xecf4b8(0x158)]))return _0x11c834[_0xecf4b8(0x176)](_0x13580b[_0xecf4b8(0xb6)],!![]);else _0x11c834[_0xecf4b8(0x15d)](_0x4326f0,_0x437511);})[_0x450773(0x18d)](_0x285dc6=>{const _0x487a47=_0x450773,_0x346d7f={'EmAIg':function(_0x492ee5,_0x2cc3ce){const _0x1a2aeb=a14_0xce47;return _0x305ab4[_0x1a2aeb(0x1a3)](_0x492ee5,_0x2cc3ce);}};_0x305ab4[_0x487a47(0xd0)](_0x305ab4['yxEZI'],_0x305ab4[_0x487a47(0x1b0)])?(logger[_0x487a47(0x1ac)](_0x487a47(0x134)+_0x285dc6),_0x305ab4[_0x487a47(0x107)](_0x1fc294,_0x285dc6)):_0x346d7f['EmAIg'](_0x4599d9,!![]);});}});},exports[a14_0x2983fc(0x100)]=()=>{const _0x22d44b=a14_0x2983fc,_0x3e268f={'GmUyh':function(_0x175cd1,_0x4f2672){return _0x175cd1(_0x4f2672);},'phzTS':function(_0x4320f9,_0x1e9028){return _0x4320f9(_0x1e9028);},'URhHU':function(_0x50a4b7,_0x3d1a97){return _0x50a4b7(_0x3d1a97);},'ziaYg':function(_0x13d538,_0x2ed47e){return _0x13d538!==_0x2ed47e;},'qVbGf':_0x22d44b(0x150),'tZQYO':function(_0x1f6c08,_0x85f48d){return _0x1f6c08===_0x85f48d;},'aeMMv':_0x22d44b(0x1aa),'JWJhV':function(_0x15ac3e,_0x5da636){return _0x15ac3e(_0x5da636);},'nzYfc':'tZRNs','EDWZX':'AKueB','UVxxu':function(_0x2d28ec,_0x1eb9bc){return _0x2d28ec(_0x1eb9bc);},'ndRPH':function(_0x4aa056,_0x55295c){return _0x4aa056===_0x55295c;},'aMDAt':_0x22d44b(0xc8),'FSDnz':function(_0x4c8510,_0x380bad){return _0x4c8510!==_0x380bad;},'GhyIm':'rVjmZ','uMccx':_0x22d44b(0x12d)};return new Promise((_0xdaaba4,_0x3bafa4)=>{const _0x467224=_0x22d44b,_0x152d79={'Mryyp':function(_0x3466bc,_0x541c63){return _0x3e268f['phzTS'](_0x3466bc,_0x541c63);},'LPCIt':function(_0x49b9ac,_0x4476a9){return _0x3e268f['URhHU'](_0x49b9ac,_0x4476a9);},'wxhnK':function(_0x69f4fb,_0x236b9e){return _0x3e268f['ziaYg'](_0x69f4fb,_0x236b9e);},'euMdP':_0x3e268f['qVbGf'],'BvWsF':function(_0x22c1f8,_0xd2cd8b){const _0x2daa77=a14_0xce47;return _0x3e268f[_0x2daa77(0xb3)](_0x22c1f8,_0xd2cd8b);},'acNYu':_0x3e268f[_0x467224(0x166)],'pNtPj':function(_0x16419c,_0x24c5b4){const _0x12ca27=_0x467224;return _0x3e268f[_0x12ca27(0x13d)](_0x16419c,_0x24c5b4);},'jEOOT':_0x3e268f['nzYfc'],'fnuhc':_0x3e268f[_0x467224(0x188)],'mdIvu':function(_0x55e751,_0x1a81e6){const _0x536828=_0x467224;return _0x3e268f[_0x536828(0x141)](_0x55e751,_0x1a81e6);},'WOkbm':function(_0x11724d,_0x36c6e9){const _0x392cec=_0x467224;return _0x3e268f[_0x392cec(0x192)](_0x11724d,_0x36c6e9);},'dmVbm':_0x3e268f[_0x467224(0x199)]};if(_0x3e268f[_0x467224(0x191)](_0x3e268f['GhyIm'],_0x3e268f[_0x467224(0x190)]))_0x3e268f['GmUyh'](_0x5a4cb8,_0x2f604e);else{const _0x1001ad={};_0x1001ad[_0x467224(0x174)]=_0x3e268f['uMccx'];const _0xea2e6f=new awsSDK[(_0x467224(0xf9))](_0x1001ad);_0xea2e6f[_0x467224(0x17a)]()['promise']()[_0x467224(0xc0)]((_0x5bd0a4,_0x1d0b6e)=>{const _0x4bfc17=_0x467224,_0x24fd15={'DIkYT':function(_0x19c3c7,_0x3fcbd9){const _0x2883dd=a14_0xce47;return _0x152d79[_0x2883dd(0x1c1)](_0x19c3c7,_0x3fcbd9);}};if(_0x152d79[_0x4bfc17(0x131)](_0x152d79[_0x4bfc17(0x1a6)],_0x152d79[_0x4bfc17(0x1a6)]))return this['configureAWSIfNotConfigured'](),_0x24fd15[_0x4bfc17(0x183)](_0x33523d,_0x2d22b4);else{if(_0x152d79[_0x4bfc17(0x131)](_0x5bd0a4,undefined)&&_0x152d79[_0x4bfc17(0x131)](_0x5bd0a4[_0x4bfc17(0x112)],undefined))_0x152d79[_0x4bfc17(0x137)](_0x152d79['acNYu'],_0x152d79[_0x4bfc17(0x115)])?_0x152d79['pNtPj'](_0xdaaba4,_0x5bd0a4[_0x4bfc17(0x112)]):(_0x16b2cb[_0x4bfc17(0x156)](_0x4bfc17(0x1c0)+_0x18c70f+_0x4bfc17(0xc6)),_0x152d79[_0x4bfc17(0x1b5)](_0x4a39b6,![]));else{if(_0x152d79[_0x4bfc17(0x131)](_0x152d79[_0x4bfc17(0x1b7)],_0x152d79[_0x4bfc17(0xb8)]))_0x152d79[_0x4bfc17(0x1ba)](_0xdaaba4,{});else return _0x371e80[_0x4bfc17(0x1ae)](_0x5c8418)?!![]:(_0x351cd3[_0x4bfc17(0x19b)](_0x14da36),![]);}}})[_0x467224(0x18d)](_0x3211b5=>{const _0x38d470=_0x467224,_0x4cb66d={'vUSUE':function(_0x48a5b8,_0x32140d){const _0x27921f=a14_0xce47;return _0x152d79[_0x27921f(0x137)](_0x48a5b8,_0x32140d);}};if(_0x152d79[_0x38d470(0x185)](_0x152d79[_0x38d470(0x18e)],_0x152d79[_0x38d470(0x18e)]))logger[_0x38d470(0x1ac)](_0x38d470(0x10c)+_0x3211b5),_0x152d79['LPCIt'](_0x3bafa4,_0x3211b5);else{if(_0x4cb66d[_0x38d470(0x1bf)](_0xd6b48f,_0x43ef72))return!![];return![];}});}});},exports[a14_0x2983fc(0xe6)]=()=>{const _0x470310=a14_0x2983fc,_0x3bfccb={};_0x3bfccb[_0x470310(0x123)]=function(_0x4d92af,_0x3fd0dd){return _0x4d92af===_0x3fd0dd;};const _0x4f3e5d=_0x3bfccb;return _0x4f3e5d[_0x470310(0x123)](global_registry[_0x470310(0xb6)],!![]);},exports['setAWSConfig']=()=>{const _0x3eb8be=a14_0x2983fc,_0x54fb0c={};_0x54fb0c[_0x3eb8be(0x136)]=global_registry[_0x3eb8be(0x1ad)],_0x54fb0c[_0x3eb8be(0xbf)]=global_registry[_0x3eb8be(0xc5)],_0x54fb0c[_0x3eb8be(0x114)]=global_registry['cloudProviderSecretKey'],awsSDK[_0x3eb8be(0x1af)][_0x3eb8be(0x186)](_0x54fb0c),global_registry[_0x3eb8be(0xb6)]=!![];},exports[a14_0x2983fc(0x161)]=awsSDK;
@@ -1 +1 @@
1
- const a15_0x2c55ff=a15_0x210d;function a15_0x1eb0(){const _0x54e57c=['1630092UAuZbS','8552710uqWlYw','../config/constants','rQuUu','13223041tuWuIQ','GCWxF','templates','9LHgqtK','14VKPwcC','250271FylkrY','createStack','EUtBx','KvHBH','promise','debug','CAPABILITY_NAMED_IAM','Properties','schema','bluebird','valueOf','Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete','QHCRe','Resources','js-yaml','path','CloudFormation','browserstack:cluster','browserstack:creationDate','WEeVb','17198OfRdES','42IqubNO','Tags','push','TyPXu','join','../config/logger','143bkkkeI','QuhBl','OnFailure','Key','createAutoscalerStack','TemplateBody','./AWSUtils','101CshSvQ','waitFor','2010-05-15','AcOSb','js-yaml-cloudformation-schema','Parameters','promisifyAll','ClusterName','144PSZbGG','292895tWiCFY','3pdJwoc','Capabilities','utf-8','Value','142812vvpBxZ','kVaqP'];a15_0x1eb0=function(){return _0x54e57c;};return a15_0x1eb0();}(function(_0x118ed0,_0x8108c1){const _0x1f6fd3=a15_0x210d,_0x216b02=_0x118ed0();while(!![]){try{const _0x2c849d=-parseInt(_0x1f6fd3(0x16c))/0x1*(parseInt(_0x1f6fd3(0x15e))/0x2)+parseInt(_0x1f6fd3(0x176))/0x3*(-parseInt(_0x1f6fd3(0x17c))/0x4)+parseInt(_0x1f6fd3(0x175))/0x5*(parseInt(_0x1f6fd3(0x15f))/0x6)+parseInt(_0x1f6fd3(0x14a))/0x7*(-parseInt(_0x1f6fd3(0x174))/0x8)+parseInt(_0x1f6fd3(0x148))/0x9*(parseInt(_0x1f6fd3(0x142))/0xa)+parseInt(_0x1f6fd3(0x165))/0xb*(parseInt(_0x1f6fd3(0x17a))/0xc)+-parseInt(_0x1f6fd3(0x145))/0xd*(-parseInt(_0x1f6fd3(0x149))/0xe);if(_0x2c849d===_0x8108c1)break;else _0x216b02['push'](_0x216b02['shift']());}catch(_0x27b01d){_0x216b02['push'](_0x216b02['shift']());}}}(a15_0x1eb0,0x7e5f2));const fs=require('fs'),path=require(a15_0x2c55ff(0x159)),yaml=require(a15_0x2c55ff(0x158)),{CLOUDFORMATION_SCHEMA}=require(a15_0x2c55ff(0x170)),Promise=require(a15_0x2c55ff(0x153)),AWS=require(a15_0x2c55ff(0x16b))['awsObj'],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a15_0x2c55ff(0x143)),{logger}=require(a15_0x2c55ff(0x164));function a15_0x210d(_0x22ef0d,_0x1d60bd){const _0x1eb01d=a15_0x1eb0();return a15_0x210d=function(_0x210d53,_0xe021ac){_0x210d53=_0x210d53-0x142;let _0x37e2fe=_0x1eb01d[_0x210d53];return _0x37e2fe;},a15_0x210d(_0x22ef0d,_0x1d60bd);}Promise[a15_0x2c55ff(0x172)](fs),addAutoscalerTags=async(_0x24c21d,_0x30da6a,_0x1afc5e)=>{const _0x2736ad=a15_0x2c55ff;for(let _0xd2be68 in _0x24c21d[_0x2736ad(0x157)]){_0x24c21d['Resources'][_0xd2be68][_0x2736ad(0x151)]&&_0x24c21d[_0x2736ad(0x157)][_0xd2be68][_0x2736ad(0x151)][_0x2736ad(0x160)]&&_0x24c21d[_0x2736ad(0x157)][_0xd2be68][_0x2736ad(0x151)][_0x2736ad(0x160)]['push'](..._0x1afc5e);}},exports[a15_0x2c55ff(0x169)]=async _0x16b79a=>{const _0xb9491d=a15_0x2c55ff,_0x29837a={'rQuUu':_0xb9491d(0x15b),'GCWxF':_0xb9491d(0x15c),'QHCRe':_0xb9491d(0x16e),'EUtBx':_0xb9491d(0x147),'TyPXu':'autoscaler-role-creation.yaml','QuhBl':_0xb9491d(0x178),'WEeVb':function(_0x31a0d4,_0x58c5bf,_0x4bd16e,_0xb5c1a3){return _0x31a0d4(_0x58c5bf,_0x4bd16e,_0xb5c1a3);},'qaPFx':'DELETE','KvHBH':_0xb9491d(0x173),'AcOSb':_0xb9491d(0x150),'kVaqP':'stackCreateComplete'},_0x19c5d8=COMMON_HST_TAGS,_0x36a519={};_0x36a519[_0xb9491d(0x168)]=_0x29837a[_0xb9491d(0x144)],_0x36a519[_0xb9491d(0x179)]=_0x16b79a,_0x19c5d8[_0xb9491d(0x161)](_0x36a519),_0x19c5d8['push']({'Key':_0x29837a[_0xb9491d(0x146)],'Value':new Date()[_0xb9491d(0x154)]()['toString']()});const _0x48c2cb={};_0x48c2cb['apiVersion']=_0x29837a[_0xb9491d(0x156)];const _0x58c006=new AWS[(_0xb9491d(0x15a))](_0x48c2cb),_0x3abf8b=await fs['readFileAsync'](path[_0xb9491d(0x163)](__dirname,'..',_0x29837a[_0xb9491d(0x14c)],_0x29837a[_0xb9491d(0x162)]),_0x29837a[_0xb9491d(0x166)]),_0x38e94f={};_0x38e94f[_0xb9491d(0x152)]=CLOUDFORMATION_SCHEMA;const _0x50d972=yaml['load'](_0x3abf8b,_0x38e94f);_0x29837a[_0xb9491d(0x15d)](addAutoscalerTags,_0x50d972,_0x16b79a,_0x19c5d8);const _0x1574e3=JSON['stringify'](_0x50d972),_0x3984c6={};_0x3984c6['StackName']=CLUSTER_AUTOSCALER_STACK_NAME,_0x3984c6[_0xb9491d(0x167)]=_0x29837a['qaPFx'],_0x3984c6[_0xb9491d(0x16a)]=_0x1574e3,_0x3984c6[_0xb9491d(0x171)]=[{'ParameterKey':_0x29837a[_0xb9491d(0x14d)],'ParameterValue':_0x16b79a}],_0x3984c6[_0xb9491d(0x177)]=[_0x29837a[_0xb9491d(0x16f)]],_0x3984c6[_0xb9491d(0x160)]=_0x19c5d8;const _0x16846c=_0x3984c6,_0x591d2e=await _0x58c006[_0xb9491d(0x14b)](_0x16846c)['promise']();logger[_0xb9491d(0x14f)](_0xb9491d(0x155));const _0x2472d0={};return _0x2472d0['StackName']=_0x591d2e['StackId'],_0x58c006[_0xb9491d(0x16d)](_0x29837a[_0xb9491d(0x17b)],_0x2472d0)[_0xb9491d(0x14e)]();};
1
+ const a15_0xe9c871=a15_0x277b;(function(_0x24613f,_0x12de6e){const _0x1a7587=a15_0x277b,_0x53a58e=_0x24613f();while(!![]){try{const _0x1eba44=-parseInt(_0x1a7587(0x104))/0x1+parseInt(_0x1a7587(0x11c))/0x2+parseInt(_0x1a7587(0x10e))/0x3+parseInt(_0x1a7587(0x105))/0x4*(parseInt(_0x1a7587(0x125))/0x5)+-parseInt(_0x1a7587(0xfe))/0x6+parseInt(_0x1a7587(0x114))/0x7*(parseInt(_0x1a7587(0x11d))/0x8)+-parseInt(_0x1a7587(0x106))/0x9;if(_0x1eba44===_0x12de6e)break;else _0x53a58e['push'](_0x53a58e['shift']());}catch(_0x514657){_0x53a58e['push'](_0x53a58e['shift']());}}}(a15_0x8712,0x83276));function a15_0x8712(){const _0x503137=['readFileAsync','templates','../config/logger','join','utf-8','TfPbw','1248549cGWTNt','StackName','DELETE','./AWSUtils','schema','apiVersion','119thmBak','Parameters','valueOf','js-yaml','promisifyAll','blErc','awsObj','lyDpM','1403348mAGGVs','445048WfWFFF','browserstack:cluster','HedpK','Key','js-yaml-cloudformation-schema','createAutoscalerStack','Value','load','5xQtjfq','Properties','stringify','bggzn','toString','debug','Resources','eruGd','waitFor','hnBEf','browserstack:creationDate','StackId','CAPABILITY_NAMED_IAM','push','2613294BinONF','createStack','ClusterName','uoJKK','bluebird','../config/constants','113324GTpqrT','2955612guDXhx','15447672lzCuCH','Tags'];a15_0x8712=function(){return _0x503137;};return a15_0x8712();}const fs=require('fs'),path=require('path'),yaml=require(a15_0xe9c871(0x117)),{CLOUDFORMATION_SCHEMA}=require(a15_0xe9c871(0x121)),Promise=require(a15_0xe9c871(0x102)),AWS=require(a15_0xe9c871(0x111))[a15_0xe9c871(0x11a)],{CLUSTER_AUTOSCALER_STACK_NAME,COMMON_HST_TAGS}=require(a15_0xe9c871(0x103)),{logger}=require(a15_0xe9c871(0x10a));function a15_0x277b(_0x365fb6,_0x3f8812){const _0x87122c=a15_0x8712();return a15_0x277b=function(_0x277bbc,_0xfd0697){_0x277bbc=_0x277bbc-0xf5;let _0x79eb76=_0x87122c[_0x277bbc];return _0x79eb76;},a15_0x277b(_0x365fb6,_0x3f8812);}Promise[a15_0xe9c871(0x118)](fs),addAutoscalerTags=async(_0x19d190,_0x3f960a,_0x5dd136)=>{const _0x2f856b=a15_0xe9c871;for(let _0x2df18e in _0x19d190[_0x2f856b(0xf6)]){_0x19d190[_0x2f856b(0xf6)][_0x2df18e][_0x2f856b(0x126)]&&_0x19d190[_0x2f856b(0xf6)][_0x2df18e][_0x2f856b(0x126)][_0x2f856b(0x107)]&&_0x19d190[_0x2f856b(0xf6)][_0x2df18e]['Properties'][_0x2f856b(0x107)][_0x2f856b(0xfd)](..._0x5dd136);}},exports[a15_0xe9c871(0x122)]=async _0x45ce74=>{const _0x4ffdb7=a15_0xe9c871,_0x551cf0={'eruGd':_0x4ffdb7(0x11e),'HedpK':_0x4ffdb7(0xfa),'uhmds':'2010-05-15','blErc':_0x4ffdb7(0x109),'TfPbw':'autoscaler-role-creation.yaml','Agjag':_0x4ffdb7(0x10c),'AsauR':function(_0xadd814,_0x1e0440,_0x15b3a5,_0x3275ed){return _0xadd814(_0x1e0440,_0x15b3a5,_0x3275ed);},'bggzn':_0x4ffdb7(0x110),'uoJKK':_0x4ffdb7(0x100),'hnBEf':_0x4ffdb7(0xfc),'lyDpM':'stackCreateComplete'},_0xffb593=COMMON_HST_TAGS,_0x48a97f={};_0x48a97f[_0x4ffdb7(0x120)]=_0x551cf0[_0x4ffdb7(0xf7)],_0x48a97f[_0x4ffdb7(0x123)]=_0x45ce74,_0xffb593['push'](_0x48a97f),_0xffb593['push']({'Key':_0x551cf0[_0x4ffdb7(0x11f)],'Value':new Date()[_0x4ffdb7(0x116)]()[_0x4ffdb7(0x129)]()});const _0x1e190e={};_0x1e190e[_0x4ffdb7(0x113)]=_0x551cf0['uhmds'];const _0x309def=new AWS['CloudFormation'](_0x1e190e),_0x36972e=await fs[_0x4ffdb7(0x108)](path[_0x4ffdb7(0x10b)](__dirname,'..',_0x551cf0[_0x4ffdb7(0x119)],_0x551cf0[_0x4ffdb7(0x10d)]),_0x551cf0['Agjag']),_0x1966ef={};_0x1966ef[_0x4ffdb7(0x112)]=CLOUDFORMATION_SCHEMA;const _0x53beb6=yaml[_0x4ffdb7(0x124)](_0x36972e,_0x1966ef);_0x551cf0['AsauR'](addAutoscalerTags,_0x53beb6,_0x45ce74,_0xffb593);const _0x17dc3f=JSON[_0x4ffdb7(0x127)](_0x53beb6),_0x504332={};_0x504332[_0x4ffdb7(0x10f)]=CLUSTER_AUTOSCALER_STACK_NAME,_0x504332['OnFailure']=_0x551cf0[_0x4ffdb7(0x128)],_0x504332['TemplateBody']=_0x17dc3f,_0x504332[_0x4ffdb7(0x115)]=[{'ParameterKey':_0x551cf0[_0x4ffdb7(0x101)],'ParameterValue':_0x45ce74}],_0x504332['Capabilities']=[_0x551cf0[_0x4ffdb7(0xf9)]],_0x504332[_0x4ffdb7(0x107)]=_0xffb593;const _0x5805d1=_0x504332,_0x4142ab=await _0x309def[_0x4ffdb7(0xff)](_0x5805d1)['promise']();logger[_0x4ffdb7(0xf5)]('Waiting\x20for\x20CloudFormation\x20stack\x20to\x20complete');const _0x1fb092={};return _0x1fb092[_0x4ffdb7(0x10f)]=_0x4142ab[_0x4ffdb7(0xfb)],_0x309def[_0x4ffdb7(0xf8)](_0x551cf0[_0x4ffdb7(0x11b)],_0x1fb092)['promise']();};