browserstack-node-sdk 1.36.1 → 1.36.3

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 (137) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -1
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a2_0x26668f=a2_0x2d09;(function(_0xd2822a,_0x4be1f3){const _0x382b64=a2_0x2d09,_0x3b5af7=_0xd2822a();while(!![]){try{const _0x5dcce1=-parseInt(_0x382b64(0x17c))/0x1+parseInt(_0x382b64(0x16c))/0x2*(parseInt(_0x382b64(0x17a))/0x3)+-parseInt(_0x382b64(0x16e))/0x4+-parseInt(_0x382b64(0x16b))/0x5*(-parseInt(_0x382b64(0x184))/0x6)+-parseInt(_0x382b64(0x175))/0x7*(-parseInt(_0x382b64(0x183))/0x8)+parseInt(_0x382b64(0x189))/0x9+parseInt(_0x382b64(0x182))/0xa*(-parseInt(_0x382b64(0x16d))/0xb);if(_0x5dcce1===_0x4be1f3)break;else _0x3b5af7['push'](_0x3b5af7['shift']());}catch(_0xe8b977){_0x3b5af7['push'](_0x3b5af7['shift']());}}}(a2_0x454e,0xa5bc9));function a2_0x2d09(_0x221548,_0x38a795){const _0x454e80=a2_0x454e();return a2_0x2d09=function(_0x2d0974,_0x7784fc){_0x2d0974=_0x2d0974-0x165;let _0x395e57=_0x454e80[_0x2d0974];return _0x395e57;},a2_0x2d09(_0x221548,_0x38a795);}const fs=require('fs'),{getCredentialsPath,isUndefined}=require(a2_0x26668f(0x165)),{logger}=require('../config/logger'),{inputCloudProviderKeys}=require(a2_0x26668f(0x177)),{WS_EVENTS}=require(a2_0x26668f(0x185));class CloudProvider{constructor(_0xfbad6a,_0x224325,_0x606ea9,_0xccefc4,_0x5b4d91){const _0x134ae5=a2_0x26668f,_0x170493={};_0x170493[_0x134ae5(0x174)]=_0x134ae5(0x178);const _0x43dacd=_0x170493,_0xc5982b=_0x43dacd['gDaJM'][_0x134ae5(0x169)]('|');let _0x10fb91=0x0;while(!![]){switch(_0xc5982b[_0x10fb91++]){case'0':this[_0x134ae5(0x167)]=_0x5b4d91;continue;case'1':this[_0x134ae5(0x171)]=_0xfbad6a;continue;case'2':this[_0x134ae5(0x187)]=_0x224325;continue;case'3':this['rws']=_0xccefc4;continue;case'4':this['gridName']=_0x606ea9;continue;}break;}}async[a2_0x26668f(0x168)](){const _0x442cd7=a2_0x26668f,_0x5e1066={'pkTzX':function(_0x31331e){return _0x31331e();},'xtfEm':function(_0x4306d6,_0x128616){return _0x4306d6(_0x128616);},'ghRcf':'Unable\x20to\x20fetch\x20credentials\x20for\x20cloud\x20provider\x20locally','RVATJ':function(_0x4d00a5,_0x38a269){return _0x4d00a5(_0x38a269);},'WGDEY':function(_0x1dda87,_0x48b1a9,_0x44b9b5,_0x1f140e){return _0x1dda87(_0x48b1a9,_0x44b9b5,_0x1f140e);},'mIQne':function(_0x50fcbe){return _0x50fcbe();},'MMVwP':_0x442cd7(0x170),'kTGuh':'Found\x20credentials\x20for\x20cloud\x20provider\x20locally.\x20Using\x20them\x20to\x20perform\x20actions'},_0x16d558=JSON['parse'](fs[_0x442cd7(0x166)](_0x5e1066[_0x442cd7(0x17b)](getCredentialsPath))),_0x14e5f5=_0x16d558[_0x442cd7(0x181)]||{};if(_0x5e1066['xtfEm'](isUndefined,_0x14e5f5[this[_0x442cd7(0x171)]])){logger[_0x442cd7(0x17f)](_0x5e1066[_0x442cd7(0x17e)]);_0x5e1066[_0x442cd7(0x188)](isUndefined,_0x16d558[_0x442cd7(0x181)])&&(_0x16d558['cloudProvider']={});_0x16d558['cloudProvider'][this[_0x442cd7(0x171)]]={};const _0x532ff6=await _0x5e1066[_0x442cd7(0x16f)](inputCloudProviderKeys,this[_0x442cd7(0x171)],_0x16d558,this);fs['writeFileSync'](_0x5e1066['mIQne'](getCredentialsPath),JSON[_0x442cd7(0x179)](_0x532ff6)),logger[_0x442cd7(0x172)](_0x5e1066['MMVwP']);}else{const _0x1ca3b5=_0x5e1066['kTGuh'],_0x33c0e2={};_0x33c0e2[_0x442cd7(0x173)]=WS_EVENTS[_0x442cd7(0x176)],_0x33c0e2[_0x442cd7(0x186)]=_0x1ca3b5,this['webSocketUtils']['sendEventToBackend'](this[_0x442cd7(0x17d)],_0x33c0e2),logger[_0x442cd7(0x17f)](_0x1ca3b5),await this['setCachedCredsInRegistry'](_0x14e5f5);}}}const a2_0x4fb0ee={};function a2_0x454e(){const _0x4fe1d3=['message','clusterName','RVATJ','11270277RVqtbb','../utils/utilityMethods','readFileSync','webSocketUtils','init','split','exports','5jtwiMZ','4MTbaZm','363VQnGEB','4376780zkssxa','WGDEY','Saving\x20credentials\x20for\x20cloud\x20provider\x20locally\x20for\x20later\x20runs','cloudProviderName','debug','type','gDaJM','835968AZAXhs','LOG','../utils/userInput','1|2|4|3|0','stringify','327051OKeZto','pkTzX','517942VJORxO','rws','ghRcf','info','CloudProvider','cloudProvider','271210tNVRel','48dWNnJt','5994936vPROsO','../config/constants'];a2_0x454e=function(){return _0x4fe1d3;};return a2_0x454e();}a2_0x4fb0ee[a2_0x26668f(0x180)]=CloudProvider,module[a2_0x26668f(0x16a)]=a2_0x4fb0ee;
1
+ const a2_0xfcaf5b=a2_0x14a1;(function(_0x1755cd,_0x34be96){const _0x2c95ca=a2_0x14a1,_0x459416=_0x1755cd();while(!![]){try{const _0x337174=-parseInt(_0x2c95ca(0x90))/0x1+parseInt(_0x2c95ca(0x9a))/0x2+-parseInt(_0x2c95ca(0xa3))/0x3+parseInt(_0x2c95ca(0x88))/0x4*(parseInt(_0x2c95ca(0x8d))/0x5)+-parseInt(_0x2c95ca(0x95))/0x6+-parseInt(_0x2c95ca(0x89))/0x7*(-parseInt(_0x2c95ca(0x8c))/0x8)+parseInt(_0x2c95ca(0x96))/0x9*(-parseInt(_0x2c95ca(0xaf))/0xa);if(_0x337174===_0x34be96)break;else _0x459416['push'](_0x459416['shift']());}catch(_0xcdf5c1){_0x459416['push'](_0x459416['shift']());}}}(a2_0x31b7,0xc890e));function a2_0x31b7(){const _0x550319=['8AOncHA','4385zTgEJP','biggp','info','211679ZxOSzt','../config/logger','writeFileSync','Unable\x20to\x20fetch\x20credentials\x20for\x20cloud\x20provider\x20locally','split','4635078NzyVcP','122103GMSbSS','CloudProvider','setCachedCredsInRegistry','../config/constants','2633774OKHYUh','clusterName','webSocketUtils','../utils/userInput','HgoFn','Hegki','exports','rzfxg','cloudProvider','3812403yIcxAn','type','rws','Saving\x20credentials\x20for\x20cloud\x20provider\x20locally\x20for\x20later\x20runs','sendEventToBackend','Found\x20credentials\x20for\x20cloud\x20provider\x20locally.\x20Using\x20them\x20to\x20perform\x20actions','GJErS','JEVNE','message','3|0|2|1|4','LOG','BbLDH','370gwovKa','6388DAuExK','6027238poEYRv','cloudProviderName','readFileSync'];a2_0x31b7=function(){return _0x550319;};return a2_0x31b7();}function a2_0x14a1(_0xaf729a,_0x34bc51){const _0x31b7b8=a2_0x31b7();return a2_0x14a1=function(_0x14a11b,_0x634cb3){_0x14a11b=_0x14a11b-0x88;let _0x59dbe3=_0x31b7b8[_0x14a11b];return _0x59dbe3;},a2_0x14a1(_0xaf729a,_0x34bc51);}const fs=require('fs'),{getCredentialsPath,isUndefined}=require('../utils/utilityMethods'),{logger}=require(a2_0xfcaf5b(0x91)),{inputCloudProviderKeys}=require(a2_0xfcaf5b(0x9d)),{WS_EVENTS}=require(a2_0xfcaf5b(0x99));class CloudProvider{constructor(_0x482f26,_0x153e43,_0x49a594,_0x4e4542,_0x2438d6){const _0x282877=a2_0xfcaf5b,_0x4a3090={};_0x4a3090[_0x282877(0xaa)]=_0x282877(0xac);const _0x1e8d67=_0x4a3090,_0x2a6b02=_0x1e8d67[_0x282877(0xaa)][_0x282877(0x94)]('|');let _0x46cc49=0x0;while(!![]){switch(_0x2a6b02[_0x46cc49++]){case'0':this[_0x282877(0x9b)]=_0x153e43;continue;case'1':this[_0x282877(0xa5)]=_0x4e4542;continue;case'2':this['gridName']=_0x49a594;continue;case'3':this[_0x282877(0x8a)]=_0x482f26;continue;case'4':this[_0x282877(0x9c)]=_0x2438d6;continue;}break;}}async['init'](){const _0x21965c=a2_0xfcaf5b,_0x3e8b38={'rzfxg':function(_0x381b3e){return _0x381b3e();},'JeWgF':function(_0x1e37aa,_0x2d36ce){return _0x1e37aa(_0x2d36ce);},'Hegki':_0x21965c(0x93),'HgoFn':function(_0x558d1d,_0x126224){return _0x558d1d(_0x126224);},'biggp':function(_0x410c50,_0x551981,_0x3fa821,_0x27584f){return _0x410c50(_0x551981,_0x3fa821,_0x27584f);},'GJErS':function(_0x3dc419){return _0x3dc419();},'DzNZe':_0x21965c(0xa6),'BbLDH':_0x21965c(0xa8)},_0x52c94f=JSON['parse'](fs[_0x21965c(0x8b)](_0x3e8b38[_0x21965c(0xa1)](getCredentialsPath))),_0x356954=_0x52c94f[_0x21965c(0xa2)]||{};if(_0x3e8b38['JeWgF'](isUndefined,_0x356954[this['cloudProviderName']])){logger['info'](_0x3e8b38[_0x21965c(0x9f)]);_0x3e8b38[_0x21965c(0x9e)](isUndefined,_0x52c94f['cloudProvider'])&&(_0x52c94f['cloudProvider']={});_0x52c94f[_0x21965c(0xa2)][this['cloudProviderName']]={};const _0x20c269=await _0x3e8b38[_0x21965c(0x8e)](inputCloudProviderKeys,this[_0x21965c(0x8a)],_0x52c94f,this);fs[_0x21965c(0x92)](_0x3e8b38[_0x21965c(0xa9)](getCredentialsPath),JSON['stringify'](_0x20c269)),logger['debug'](_0x3e8b38['DzNZe']);}else{const _0x48e57a=_0x3e8b38[_0x21965c(0xae)],_0x4e2f38={};_0x4e2f38[_0x21965c(0xa4)]=WS_EVENTS[_0x21965c(0xad)],_0x4e2f38[_0x21965c(0xab)]=_0x48e57a,this[_0x21965c(0x9c)][_0x21965c(0xa7)](this[_0x21965c(0xa5)],_0x4e2f38),logger[_0x21965c(0x8f)](_0x48e57a),await this[_0x21965c(0x98)](_0x356954);}}}const a2_0x14d5ac={};a2_0x14d5ac[a2_0xfcaf5b(0x97)]=CloudProvider,module[a2_0xfcaf5b(0xa0)]=a2_0x14d5ac;
@@ -1 +1 @@
1
- const a3_0x3efece=a3_0x2cd4;(function(_0x5c1a6d,_0x445425){const _0x21fc00=a3_0x2cd4,_0x138212=_0x5c1a6d();while(!![]){try{const _0x30cd57=-parseInt(_0x21fc00(0x1f8))/0x1+parseInt(_0x21fc00(0x390))/0x2+parseInt(_0x21fc00(0x338))/0x3+parseInt(_0x21fc00(0x2f7))/0x4+-parseInt(_0x21fc00(0x305))/0x5*(-parseInt(_0x21fc00(0x37a))/0x6)+parseInt(_0x21fc00(0x22b))/0x7*(-parseInt(_0x21fc00(0x266))/0x8)+-parseInt(_0x21fc00(0x25b))/0x9;if(_0x30cd57===_0x445425)break;else _0x138212['push'](_0x138212['shift']());}catch(_0xb96d4b){_0x138212['push'](_0x138212['shift']());}}}(a3_0x2c4a,0xa0e55));function a3_0x2cd4(_0x3d52b,_0x5c9c27){const _0x2c4ae7=a3_0x2c4a();return a3_0x2cd4=function(_0x2cd411,_0x4f55aa){_0x2cd411=_0x2cd411-0x1ef;let _0x454c63=_0x2c4ae7[_0x2cd411];return _0x454c63;},a3_0x2cd4(_0x3d52b,_0x5c9c27);}const fs=require('fs'),path=require(a3_0x3efece(0x245)),got=require('got'),util=require(a3_0x3efece(0x36d)),cp=require(a3_0x3efece(0x36f)),{google}=require('googleapis'),compute=require(a3_0x3efece(0x229)),container=require(a3_0x3efece(0x2c3)),{ProjectsClient}=require('@google-cloud/resource-manager')['v3'],{logger}=require(a3_0x3efece(0x1f9)),{CloudProvider}=require(a3_0x3efece(0x2a7)),{getDirForConfig,getAuthHeader,runCommand}=require(a3_0x3efece(0x397)),{deleteRoutingDeps,deleteAgent}=require('../utils/gridComponents'),{inputConfirmation,closeInput}=require('../utils/userInput'),{GCP,AG_API_URL,WS_EVENTS,global_registry}=require(a3_0x3efece(0x296)),PERMISSIONS=require('../permissions/GCP.json');class GoogleCloudProvider extends CloudProvider{constructor(_0x534f27,_0xb32c5f,_0x22af1c,_0x464b83){const _0x51d496=a3_0x3efece,_0x33ddfc={};_0x33ddfc['DZhJC']=_0x51d496(0x251),_0x33ddfc[_0x51d496(0x1ff)]=_0x51d496(0x365),_0x33ddfc[_0x51d496(0x35b)]=_0x51d496(0x361);const _0x4a8dd3=_0x33ddfc,_0x1259c7=_0x4a8dd3[_0x51d496(0x260)][_0x51d496(0x264)]('|');let _0x298069=0x0;while(!![]){switch(_0x1259c7[_0x298069++]){case'0':super(GCP,_0x534f27,_0xb32c5f,_0x22af1c,_0x464b83);continue;case'1':this[_0x51d496(0x2b2)]=null;continue;case'2':this[_0x51d496(0x240)]=null;continue;case'3':this['iamClient']=null;continue;case'4':this[_0x51d496(0x2a0)]=null;continue;case'5':this[_0x51d496(0x24a)]=_0x4a8dd3['mcswt'];continue;case'6':this[_0x51d496(0x209)]=null;continue;case'7':this[_0x51d496(0x2be)]=null;continue;case'8':this['serviceAccountName']=_0x4a8dd3['jroku'];continue;}break;}}async[a3_0x3efece(0x2ab)](){const _0x3158cb=a3_0x3efece;this[_0x3158cb(0x232)](this[_0x3158cb(0x340)]);}async[a3_0x3efece(0x290)](){const _0x46a09d=a3_0x3efece;await super[_0x46a09d(0x290)]();const _0x56d9b7=this[_0x46a09d(0x240)],_0x542f73={};_0x542f73[_0x46a09d(0x274)]=_0x56d9b7,this[_0x46a09d(0x2b2)]=new container['v1'][(_0x46a09d(0x278))](_0x542f73);const _0x1df43c={};_0x1df43c[_0x46a09d(0x274)]=_0x56d9b7,this[_0x46a09d(0x2a0)]=new compute['v1'][(_0x46a09d(0x38b))](_0x1df43c);const _0x14499b={};return _0x14499b[_0x46a09d(0x274)]=_0x56d9b7,this[_0x46a09d(0x209)]=new ProjectsClient(_0x14499b),this[_0x46a09d(0x2d0)]=google[_0x46a09d(0x22a)]('v1'),this;}async['getUserInput'](_0x5e5027,_0x592f82){const _0x478e40=a3_0x3efece,_0x5bbe52={'EYaBY':function(_0x4632cb,_0xc4a9a8){return _0x4632cb(_0xc4a9a8);},'xyLzt':_0x478e40(0x2a1),'VtZbk':function(_0x9da59e){return _0x9da59e();},'hBqOX':'gcp_credentials.json'},_0x3747eb=await _0x5bbe52[_0x478e40(0x367)](_0x5e5027,_0x5bbe52[_0x478e40(0x310)]);let _0x3f7c3d=await fs[_0x478e40(0x325)](_0x3747eb);_0x3f7c3d=_0x3f7c3d[_0x478e40(0x261)]();const _0x2d55b9=_0x5bbe52[_0x478e40(0x2dc)](getDirForConfig),_0x36a79d=path[_0x478e40(0x34b)](_0x2d55b9,_0x5bbe52['hBqOX']);fs[_0x478e40(0x259)](_0x36a79d,_0x3f7c3d),this[_0x478e40(0x240)]=_0x36a79d;const _0x2262c8={};return _0x2262c8[_0x478e40(0x274)]=_0x36a79d,_0x592f82['cloudProvider'][GCP]=_0x2262c8,_0x3f7c3d=JSON[_0x478e40(0x34d)](_0x3f7c3d),this[_0x478e40(0x2be)]=_0x3f7c3d[_0x478e40(0x2a2)],_0x592f82;}async[a3_0x3efece(0x35d)](_0x10bf68){const _0x55d8ea=a3_0x3efece;this['credentialsPath']=_0x10bf68[this[_0x55d8ea(0x323)]][_0x55d8ea(0x274)];let _0x814bc5=await fs['readFileAsync'](this[_0x55d8ea(0x240)]);_0x814bc5=JSON[_0x55d8ea(0x34d)](_0x814bc5),this[_0x55d8ea(0x2be)]=_0x814bc5[_0x55d8ea(0x2a2)];}[a3_0x3efece(0x2d3)](_0x8e54a){const _0x52de24=a3_0x3efece;return _0x8e54a['status'][_0x52de24(0x346)][_0x52de24(0x2b6)][0x0]['ip'];}async[a3_0x3efece(0x393)](){const _0xc74cfa=a3_0x3efece,_0x1996d8={};_0x1996d8[_0xc74cfa(0x33a)]=function(_0x5380c8,_0xe4eb49){return _0x5380c8-_0xe4eb49;},_0x1996d8['QKjCT']=_0xc74cfa(0x234),_0x1996d8[_0xc74cfa(0x20a)]=function(_0x426199,_0x1c0888){return _0x426199!==_0x1c0888;},_0x1996d8[_0xc74cfa(0x326)]=_0xc74cfa(0x24d),_0x1996d8[_0xc74cfa(0x303)]=_0xc74cfa(0x356),_0x1996d8[_0xc74cfa(0x30e)]=function(_0x1c8cc6,_0x48dcae){return _0x1c8cc6===_0x48dcae;},_0x1996d8['aZimN']=_0xc74cfa(0x33f),_0x1996d8[_0xc74cfa(0x383)]=function(_0x5884fc,_0x456da6){return _0x5884fc===_0x456da6;},_0x1996d8[_0xc74cfa(0x314)]=_0xc74cfa(0x279),_0x1996d8[_0xc74cfa(0x26d)]=function(_0x5f46ce,_0x31dc97){return _0x5f46ce!==_0x31dc97;},_0x1996d8[_0xc74cfa(0x27e)]='MrMqA',_0x1996d8['bkXmD']='czbTI';const _0x54ef64=_0x1996d8;try{if(_0x54ef64[_0xc74cfa(0x20a)](_0x54ef64[_0xc74cfa(0x326)],_0x54ef64[_0xc74cfa(0x303)])){const _0x598d75=await this[_0xc74cfa(0x332)]();if(_0x598d75[0x0]?.['resourceLabels']?.[_0xc74cfa(0x316)]){if(_0x54ef64['lWYYY'](_0x54ef64[_0xc74cfa(0x228)],_0x54ef64[_0xc74cfa(0x228)])){const _0x5d0972=_0x598d75[0x0]?.[_0xc74cfa(0x395)]?.[_0xc74cfa(0x316)];return _0x5d0972&&_0x54ef64['bXxIU'](_0x5d0972['toLowerCase'](),_0x54ef64[_0xc74cfa(0x314)]);}else _0x2e4e98[_0xc74cfa(0x271)]=_0x3056c1[_0x54ef64['wjRAC'](_0x564d85,0x1)],this['updateClusterRegion']();}}else _0x2fdb41=[_0x54ef64[_0xc74cfa(0x343)]];}catch(_0x32250c){if(_0x54ef64[_0xc74cfa(0x26d)](_0x54ef64[_0xc74cfa(0x27e)],_0x54ef64[_0xc74cfa(0x255)]))return![];else _0x11239f[_0xc74cfa(0x250)]=_0x717b8e;}return![];}async[a3_0x3efece(0x28f)](){const _0x23f991=a3_0x3efece,_0x569d14={'aRIgK':function(_0x58559d,_0x180828){return _0x58559d===_0x180828;},'eLVZu':function(_0x140423,_0x10a650){return _0x140423===_0x10a650;},'VXxcf':function(_0x3acf09,_0x171007){return _0x3acf09===_0x171007;},'Ruega':function(_0x27d624,_0x18e450){return _0x27d624!==_0x18e450;},'zafdw':'templates','jKLMG':_0x23f991(0x36a),'CHeYh':_0x23f991(0x21c),'Aykaw':_0x23f991(0x215),'wWYZq':_0x23f991(0x330),'XDjpV':'yCcAG','NuKsb':'OIfKd','efVXP':_0x23f991(0x26a),'NYPkm':function(_0x3f4e72,_0x2866d9){return _0x3f4e72===_0x2866d9;},'xzxCw':_0x23f991(0x2f3),'kntmf':_0x23f991(0x242),'aNWna':function(_0x5e2661,_0x21f494){return _0x5e2661!==_0x21f494;},'bhuWt':_0x23f991(0x2df),'NquFj':_0x23f991(0x281),'JzsEG':function(_0x14f721,_0x5b9e73){return _0x14f721!==_0x5b9e73;},'OsZCb':_0x23f991(0x26c),'RfIMu':function(_0x599960,_0x5205ce){return _0x599960>_0x5205ce;},'RsFlx':'ZtxRe','WglVM':'gsZZP','pnSrv':function(_0x2dc735,_0x261cd6){return _0x2dc735<_0x261cd6;},'YvTGg':_0x23f991(0x394),'EUaQQ':_0x23f991(0x371),'GIWzv':function(_0x35d384,_0x524a33){return _0x35d384+_0x524a33;},'IAPvL':function(_0x2a3628,_0x436701){return _0x2a3628(_0x436701);},'juAts':_0x23f991(0x30b),'XPgJO':function(_0x31375f,_0x621c44){return _0x31375f(_0x621c44);},'YzDyX':function(_0x1cc5be,_0x2b4f48){return _0x1cc5be<=_0x2b4f48;},'eAXLV':function(_0x50d0be,_0x351ce0){return _0x50d0be!==_0x351ce0;},'BPpEG':_0x23f991(0x21e),'bYIun':_0x23f991(0x25d),'XwKyz':_0x23f991(0x1ef),'zfDhg':function(_0x4bbae8){return _0x4bbae8();},'bbRcZ':function(_0x16c990,_0x63f672){return _0x16c990-_0x63f672;},'EVVXl':function(_0x486d1a,_0x5a7b3d){return _0x486d1a!==_0x5a7b3d;},'RsAYS':'TsUnn','KDEHv':function(_0x36bb4c,_0x3aee85){return _0x36bb4c-_0x3aee85;}};let _0x5d0e34=await fs[_0x23f991(0x325)](path[_0x23f991(0x34b)](__dirname,'..',_0x569d14['zafdw'],_0x569d14[_0x23f991(0x270)],_0x569d14[_0x23f991(0x322)]),_0x569d14['Aykaw']);_0x5d0e34=JSON[_0x23f991(0x34d)](_0x5d0e34);let _0xf77720=[global_registry['clusterRegion']];if(_0x569d14['Ruega'](_0x5d0e34[global_registry[_0x23f991(0x271)]],undefined)){if(_0x569d14[_0x23f991(0x277)](_0x569d14['wWYZq'],_0x569d14[_0x23f991(0x294)]))_0xf77720=_0xf77720[_0x23f991(0x370)](_0x5d0e34[global_registry[_0x23f991(0x271)]]);else return![];}const _0x127a44=[];for await(const _0x1a7175 of _0xf77720){if(_0x569d14[_0x23f991(0x277)](_0x569d14[_0x23f991(0x2fb)],_0x569d14[_0x23f991(0x2fb)])){if(_0x569d14[_0x23f991(0x2b9)](_0x1171e6?.[_0x23f991(0x391)],'projects/'+this['projectId']+_0x23f991(0x38d)+this[_0x23f991(0x357)]+'@'+this[_0x23f991(0x2be)]+_0x23f991(0x2e7)))return!![];}else{const _0x58937b={};_0x58937b[_0x23f991(0x372)]=_0x23f991(0x248)+this[_0x23f991(0x2be)]+_0x23f991(0x307)+_0x1a7175;const _0x11b051=_0x58937b,_0x452e59=await this['containerClient']['listClusters'](_0x11b051);for(const _0xb22679 of _0x452e59[0x0][_0x23f991(0x20c)]){if(_0x569d14[_0x23f991(0x277)](_0x569d14[_0x23f991(0x29d)],_0x569d14['efVXP']))return!![];else _0x569d14[_0x23f991(0x31a)](_0xb22679[_0x23f991(0x391)],this[_0x23f991(0x360)])&&(_0x569d14[_0x23f991(0x284)](_0x569d14[_0x23f991(0x362)],_0x569d14[_0x23f991(0x30c)])?(_0x45cb5c['error'](_0x23f991(0x268)+_0x199a7a+'\x20:\x20'+_0x4590a6[_0x23f991(0x1f0)]),_0x2f29b8[_0x23f991(0x33c)]=_0x23f991(0x2ff)+_0x1095c2,_0xc48f79[_0x23f991(0x250)]=_0x501209):_0x127a44[_0x23f991(0x38e)](_0x1a7175));}}}const _0x4c8eaa=_0x127a44['length'];if(_0x569d14['NYPkm'](_0x4c8eaa,0x1)){if(_0x569d14[_0x23f991(0x2c5)](_0x569d14[_0x23f991(0x233)],_0x569d14[_0x23f991(0x28b)])){if(_0x569d14[_0x23f991(0x213)](global_registry[_0x23f991(0x271)],_0x127a44[0x0])){if(_0x569d14[_0x23f991(0x32a)](_0x569d14[_0x23f991(0x38c)],_0x569d14['OsZCb']))global_registry[_0x23f991(0x271)]=_0x127a44[0x0],this[_0x23f991(0x2cd)]();else return[!![],_0x375d9f];}return!![];}else _0x231bbf[_0x23f991(0x271)]=_0x1feafc[0x0],this['updateClusterRegion']();}else{if(_0x569d14[_0x23f991(0x2bc)](_0x4c8eaa,0x1)){if(_0x569d14['aNWna'](_0x569d14[_0x23f991(0x300)],_0x569d14[_0x23f991(0x2af)])){console[_0x23f991(0x1fc)](_0x23f991(0x29b)+this[_0x23f991(0x360)]+_0x23f991(0x22d));for(let _0x599b2f=0x0;_0x569d14[_0x23f991(0x2c9)](_0x599b2f,_0x4c8eaa);_0x599b2f+=0x1){if(_0x569d14[_0x23f991(0x32a)](_0x569d14[_0x23f991(0x2d5)],_0x569d14['EUaQQ']))return!![];else console[_0x23f991(0x1fc)]('['+_0x569d14[_0x23f991(0x225)](_0x599b2f,0x1)+']\x20'+_0x127a44[_0x599b2f]);}const _0x1b86b1=await _0x569d14[_0x23f991(0x27a)](inputConfirmation,_0x569d14['juAts']),_0x5b3b88=_0x569d14[_0x23f991(0x31c)](Number,_0x1b86b1);(_0x569d14[_0x23f991(0x31c)](isNaN,_0x5b3b88)||_0x569d14[_0x23f991(0x2fe)](_0x5b3b88,0x0)||_0x569d14['RfIMu'](_0x5b3b88,_0x4c8eaa))&&(_0x569d14[_0x23f991(0x36e)](_0x569d14[_0x23f991(0x34a)],_0x569d14[_0x23f991(0x2b7)])?(console[_0x23f991(0x250)](_0x569d14['XwKyz']),process[_0x23f991(0x202)](0x1)):_0x569d14['eLVZu'](_0x15e90b[_0x23f991(0x391)],this[_0x23f991(0x360)])&&_0x482436[_0x23f991(0x38e)](_0x385ed6));_0x569d14[_0x23f991(0x239)](closeInput),logger[_0x23f991(0x201)](_0x23f991(0x2ae)+_0x127a44[_0x569d14['bbRcZ'](_0x5b3b88,0x1)]);if(_0x569d14[_0x23f991(0x2b5)](global_registry[_0x23f991(0x271)],_0x127a44[_0x569d14['bbRcZ'](_0x5b3b88,0x1)])){if(_0x569d14['JzsEG'](_0x569d14['RsAYS'],_0x569d14[_0x23f991(0x315)])){const _0x1ac745=_0x23f991(0x2cf)+this[_0x23f991(0x2be)]+'/regions/'+_0x5ac912[_0x23f991(0x271)]+'/subnetworks/'+_0x490924[0x0];if(_0x569d14[_0x23f991(0x31a)](_0x1ac745,_0x41a590))return[!![],_0x25f224];}else global_registry[_0x23f991(0x271)]=_0x127a44[_0x569d14[_0x23f991(0x38a)](_0x5b3b88,0x1)],this['updateClusterRegion']();}return!![];}else return _0x569d14[_0x23f991(0x277)](_0x49afdb[_0x23f991(0x271)],_0x596486[0x0])&&(_0x1a6a01[_0x23f991(0x271)]=_0x486491[0x0],this['updateClusterRegion']()),!![];}}return![];}async['getClusterInfo'](){const _0x24ed32=a3_0x3efece,_0x4d3922=await this[_0x24ed32(0x2b2)][_0x24ed32(0x289)]({'name':'projects/'+this[_0x24ed32(0x2be)]+_0x24ed32(0x307)+global_registry['clusterRegion']+'/clusters/'+this[_0x24ed32(0x360)]});return _0x4d3922;}async['getKubeConfigData'](){const _0xb2007=a3_0x3efece,_0x4dcaaf={};_0x4dcaaf[_0xb2007(0x37c)]=_0xb2007(0x32e),_0x4dcaaf[_0xb2007(0x2ac)]='templates',_0x4dcaaf[_0xb2007(0x219)]=_0xb2007(0x36a),_0x4dcaaf[_0xb2007(0x25c)]=_0xb2007(0x272);const _0xa4f216=_0x4dcaaf;cp['execSync'](_0xa4f216[_0xb2007(0x37c)]),cp[_0xb2007(0x2f5)]('gcloud\x20auth\x20login\x20--cred-file='+this['credentialsPath']);const _0x5b27a4=await this[_0xb2007(0x332)](),_0x131e50=_0xb2007(0x364)+this[_0xb2007(0x2be)]+'_'+global_registry[_0xb2007(0x271)]+'_'+this[_0xb2007(0x360)];let _0xc2e7b0=await fs[_0xb2007(0x325)](path['join'](__dirname,'..',_0xa4f216['ePVzu'],_0xa4f216[_0xb2007(0x219)],_0xa4f216[_0xb2007(0x25c)]));return _0xc2e7b0=_0xc2e7b0['toString'](),_0xc2e7b0=_0xc2e7b0['replace'](/<CLUSTER_NAME>/g,_0x131e50),_0xc2e7b0=_0xc2e7b0[_0xb2007(0x384)](/<CLUSTER_URL>/g,_0xb2007(0x292)+_0x5b27a4[0x0]['endpoint']),_0xc2e7b0=_0xc2e7b0['replace'](/<CERTIFICATE_DATA>/g,_0x5b27a4[0x0][_0xb2007(0x398)][_0xb2007(0x257)]),_0xc2e7b0;}async[a3_0x3efece(0x2aa)](){const _0x4c5627=a3_0x3efece,_0x1327f1={};_0x1327f1[_0x4c5627(0x2c6)]=_0x4c5627(0x200),_0x1327f1[_0x4c5627(0x23e)]=function(_0x6dc72,_0x36a59e){return _0x6dc72===_0x36a59e;},_0x1327f1[_0x4c5627(0x2a4)]='sVDge',_0x1327f1[_0x4c5627(0x375)]=function(_0x110866,_0x284f96){return _0x110866!==_0x284f96;},_0x1327f1[_0x4c5627(0x20f)]=_0x4c5627(0x319),_0x1327f1[_0x4c5627(0x35a)]=_0x4c5627(0x2c8),_0x1327f1[_0x4c5627(0x28a)]=function(_0x218c7c,_0x5b3ca5){return _0x218c7c!==_0x5b3ca5;},_0x1327f1['CDfpz']=_0x4c5627(0x30d),_0x1327f1[_0x4c5627(0x313)]=_0x4c5627(0x203);const _0x4682d4=_0x1327f1,_0x50f850={};_0x50f850[_0x4c5627(0x298)]=[_0x4682d4[_0x4c5627(0x2c6)]],_0x50f850[_0x4c5627(0x274)]=this[_0x4c5627(0x240)];const _0x8d79ae=await google['auth'][_0x4c5627(0x1fd)](_0x50f850),_0x55a7ab=await this[_0x4c5627(0x2d0)][_0x4c5627(0x363)][_0x4c5627(0x297)][_0x4c5627(0x25a)]({'name':'projects/'+this['projectId'],'auth':_0x8d79ae});if(_0x55a7ab?.[_0x4c5627(0x33c)]?.[_0x4c5627(0x389)]){if(_0x4682d4[_0x4c5627(0x23e)](_0x4682d4['eMnaM'],_0x4682d4[_0x4c5627(0x2a4)]))for(const _0x305394 of _0x55a7ab[_0x4c5627(0x33c)][_0x4c5627(0x389)]){if(_0x4682d4['oDPbz'](_0x4682d4[_0x4c5627(0x20f)],_0x4682d4[_0x4c5627(0x35a)])){if(_0x4682d4[_0x4c5627(0x23e)](_0x305394?.['name'],_0x4c5627(0x248)+this[_0x4c5627(0x2be)]+_0x4c5627(0x38d)+this[_0x4c5627(0x357)]+'@'+this[_0x4c5627(0x2be)]+'.iam.gserviceaccount.com')){if(_0x4682d4[_0x4c5627(0x28a)](_0x4682d4[_0x4c5627(0x377)],_0x4682d4[_0x4c5627(0x313)]))return!![];else _0x2d6ff2['execSync'](_0x4c5627(0x359)+this[_0x4c5627(0x360)]+_0x4c5627(0x1f5)+_0x602db6['clusterRegion']+_0x4c5627(0x2cb));}}else return _0x15572b[_0x4c5627(0x250)](_0x4c5627(0x373)+_0x1e08f5+_0x4c5627(0x339)+_0x253520),[![],[]];}else _0x38ce47['debug'](_0x3a2ef3);}return![];}async[a3_0x3efece(0x337)](){const _0x4aca0b=a3_0x3efece,_0x3ad875={};_0x3ad875[_0x4aca0b(0x252)]=_0x4aca0b(0x324),_0x3ad875[_0x4aca0b(0x334)]=function(_0x3e78bc,_0x3981a5){return _0x3e78bc!==_0x3981a5;},_0x3ad875[_0x4aca0b(0x2bb)]=_0x4aca0b(0x2f2),_0x3ad875[_0x4aca0b(0x33e)]=_0x4aca0b(0x280),_0x3ad875['gWHrC']=_0x4aca0b(0x230),_0x3ad875[_0x4aca0b(0x211)]=_0x4aca0b(0x2fc),_0x3ad875[_0x4aca0b(0x243)]=_0x4aca0b(0x200),_0x3ad875['XhMIs']=_0x4aca0b(0x2ba),_0x3ad875[_0x4aca0b(0x387)]=_0x4aca0b(0x2f9),_0x3ad875[_0x4aca0b(0x2d8)]=_0x4aca0b(0x355),_0x3ad875['mBjKu']=_0x4aca0b(0x24e),_0x3ad875['IegQS']=_0x4aca0b(0x22c),_0x3ad875[_0x4aca0b(0x328)]=_0x4aca0b(0x301),_0x3ad875[_0x4aca0b(0x341)]=_0x4aca0b(0x30a),_0x3ad875[_0x4aca0b(0x26b)]=_0x4aca0b(0x37d),_0x3ad875['ejxZT']=_0x4aca0b(0x2e9),_0x3ad875[_0x4aca0b(0x381)]=_0x4aca0b(0x1fb),_0x3ad875[_0x4aca0b(0x246)]=_0x4aca0b(0x2ad),_0x3ad875[_0x4aca0b(0x312)]=_0x4aca0b(0x258),_0x3ad875[_0x4aca0b(0x2a6)]=_0x4aca0b(0x235),_0x3ad875['smkfC']=_0x4aca0b(0x206),_0x3ad875[_0x4aca0b(0x399)]='storage.multipartUploads.create',_0x3ad875['msFrx']=_0x4aca0b(0x36c),_0x3ad875[_0x4aca0b(0x382)]=_0x4aca0b(0x249),_0x3ad875['MFpKx']=_0x4aca0b(0x378),_0x3ad875['MoxZF']='storage.objects.delete',_0x3ad875[_0x4aca0b(0x37f)]=_0x4aca0b(0x236),_0x3ad875[_0x4aca0b(0x205)]='storage.objects.getIamPolicy',_0x3ad875[_0x4aca0b(0x23b)]=_0x4aca0b(0x376),_0x3ad875[_0x4aca0b(0x1f6)]='storage.objects.setIamPolicy',_0x3ad875[_0x4aca0b(0x34e)]=_0x4aca0b(0x26f),_0x3ad875[_0x4aca0b(0x265)]=_0x4aca0b(0x2e0),_0x3ad875[_0x4aca0b(0x2ed)]='Service\x20Account\x20created,\x20proceeding\x20with\x20Cluster\x20creation';const _0x38830=_0x3ad875,_0x2fa64f=await this['checkServiceAccount']();if(_0x2fa64f){if(_0x38830[_0x4aca0b(0x334)](_0x38830[_0x4aca0b(0x2bb)],_0x38830[_0x4aca0b(0x33e)])){logger['info'](_0x38830[_0x4aca0b(0x2ec)]);return;}else{const _0x4f6512={};_0x4f6512['channel']=_0x38830[_0x4aca0b(0x252)],_0x18f1d7[_0x4aca0b(0x24c)]=_0x4f6512;}}logger[_0x4aca0b(0x201)](_0x38830[_0x4aca0b(0x211)]);const _0xfe4a92={};_0xfe4a92['scopes']=[_0x38830[_0x4aca0b(0x243)]],_0xfe4a92[_0x4aca0b(0x274)]=this[_0x4aca0b(0x240)];const _0x4af1d9=await google['auth'][_0x4aca0b(0x1fd)](_0xfe4a92),_0x1fbda7={};_0x1fbda7[_0x4aca0b(0x291)]=[_0x38830[_0x4aca0b(0x33d)],_0x38830[_0x4aca0b(0x387)],_0x38830[_0x4aca0b(0x2d8)],_0x38830[_0x4aca0b(0x309)],_0x38830[_0x4aca0b(0x354)],_0x38830[_0x4aca0b(0x328)],_0x38830[_0x4aca0b(0x341)],_0x38830[_0x4aca0b(0x26b)],_0x38830[_0x4aca0b(0x23d)],_0x38830[_0x4aca0b(0x381)],_0x38830[_0x4aca0b(0x246)],_0x38830[_0x4aca0b(0x312)],_0x38830[_0x4aca0b(0x2a6)],_0x38830[_0x4aca0b(0x263)],_0x38830[_0x4aca0b(0x399)],_0x38830['msFrx'],_0x38830[_0x4aca0b(0x382)],_0x38830[_0x4aca0b(0x30f)],_0x38830[_0x4aca0b(0x20d)],_0x38830['LWnOV'],_0x38830[_0x4aca0b(0x205)],_0x38830[_0x4aca0b(0x23b)],_0x38830[_0x4aca0b(0x1f6)],_0x38830[_0x4aca0b(0x34e)]],_0x1fbda7[_0x4aca0b(0x227)]=_0x38830['hMNmW'],await this[_0x4aca0b(0x2d0)][_0x4aca0b(0x27c)][_0x4aca0b(0x2d2)][_0x4aca0b(0x2eb)]({'parent':_0x4aca0b(0x248)+this['projectId'],'requestBody':{'role':_0x1fbda7,'roleId':this[_0x4aca0b(0x24a)]},'auth':_0x4af1d9});const _0x1c022a={};_0x1c022a[_0x4aca0b(0x391)]=_0x4aca0b(0x248)+this[_0x4aca0b(0x2be)],_0x1c022a['requestBody']={},_0x1c022a['auth']=_0x4af1d9,_0x1c022a['requestBody'][_0x4aca0b(0x349)]=this['serviceAccountName'];const _0x1a0d77=_0x1c022a;await this[_0x4aca0b(0x2d0)][_0x4aca0b(0x363)][_0x4aca0b(0x297)][_0x4aca0b(0x2eb)](_0x1a0d77);let _0x3b20f2=await this['resourcemanagerClient']['getIamPolicy']({'resource':'projects/'+this[_0x4aca0b(0x2be)]});_0x3b20f2=_0x3b20f2[0x0][_0x4aca0b(0x2d1)];const _0x4e6e21={};_0x4e6e21[_0x4aca0b(0x299)]='projects/'+this[_0x4aca0b(0x2be)]+_0x4aca0b(0x221)+this[_0x4aca0b(0x24a)],_0x4e6e21['members']=['serviceAccount:'+this[_0x4aca0b(0x357)]+'@'+this[_0x4aca0b(0x2be)]+_0x4aca0b(0x2e7)],_0x3b20f2['push'](_0x4e6e21);const _0x1909b5={};_0x1909b5['bindings']=_0x3b20f2,await this[_0x4aca0b(0x209)][_0x4aca0b(0x267)]({'resource':_0x4aca0b(0x248)+this[_0x4aca0b(0x2be)],'policy':_0x1909b5}),logger[_0x4aca0b(0x201)](_0x38830[_0x4aca0b(0x2ed)]);}async['setupNewCluster'](_0x1002b4=a3_0x3efece(0x234),_0x5a6fcb=[a3_0x3efece(0x234)]){const _0x1438ce=a3_0x3efece,_0x224fed={};_0x224fed['ozeGo']=_0x1438ce(0x234),_0x224fed[_0x1438ce(0x21a)]=_0x1438ce(0x2db),_0x224fed[_0x1438ce(0x342)]=_0x1438ce(0x247),_0x224fed[_0x1438ce(0x276)]=function(_0x1420a9,_0x1675ee){return _0x1420a9!==_0x1675ee;},_0x224fed[_0x1438ce(0x392)]='SKRyI',_0x224fed[_0x1438ce(0x2f8)]=function(_0x5e6cd7,_0x16f576){return _0x5e6cd7===_0x16f576;},_0x224fed[_0x1438ce(0x287)]=_0x1438ce(0x2b3),_0x224fed['wyxZV']='tMNFd';const _0x14783f=_0x224fed,_0x215b18={};_0x215b18[_0x1438ce(0x335)]=WS_EVENTS[_0x1438ce(0x358)],_0x215b18[_0x1438ce(0x2c2)]=_0x14783f[_0x1438ce(0x21a)],this[_0x1438ce(0x347)]['sendEventToBackend'](this['rws'],_0x215b18),logger['info'](_0x14783f['CCMtZ']);if(!_0x1002b4){if(_0x14783f[_0x1438ce(0x276)](_0x14783f[_0x1438ce(0x392)],_0x14783f[_0x1438ce(0x392)]))return!![];else _0x1002b4=_0x14783f['ozeGo'];}return(!_0x5a6fcb||_0x14783f[_0x1438ce(0x2f8)](_0x5a6fcb[_0x1438ce(0x2e5)],0x0))&&(_0x14783f[_0x1438ce(0x276)](_0x14783f['DuKhJ'],_0x14783f[_0x1438ce(0x2e8)])?_0x5a6fcb=[_0x14783f['ozeGo']]:_0x39f30d=_0x14783f[_0x1438ce(0x222)]),await this[_0x1438ce(0x337)](),await this[_0x1438ce(0x1fe)](_0x1002b4,_0x5a6fcb),await this[_0x1438ce(0x32d)](),[_0x1002b4,_0x5a6fcb];}async[a3_0x3efece(0x1fe)](_0x46e41c=a3_0x3efece(0x234),_0x971e47=['default']){const _0x382e15=a3_0x3efece,_0x17f4cb={};_0x17f4cb[_0x382e15(0x2dd)]=_0x382e15(0x2bf),_0x17f4cb[_0x382e15(0x275)]='Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.',_0x17f4cb[_0x382e15(0x379)]=_0x382e15(0x353),_0x17f4cb[_0x382e15(0x295)]='denied',_0x17f4cb[_0x382e15(0x28d)]=function(_0x34a9e7,_0x529031){return _0x34a9e7!==_0x529031;},_0x17f4cb['pmNkj']='UvJDb',_0x17f4cb[_0x382e15(0x216)]=_0x382e15(0x31f),_0x17f4cb[_0x382e15(0x351)]=_0x382e15(0x29e),_0x17f4cb[_0x382e15(0x34f)]=_0x382e15(0x36a),_0x17f4cb['hjifO']=_0x382e15(0x22e),_0x17f4cb['oabnl']=_0x382e15(0x215),_0x17f4cb[_0x382e15(0x29f)]=_0x382e15(0x21c),_0x17f4cb[_0x382e15(0x35c)]=function(_0x311c37,_0x5682b6){return _0x311c37===_0x5682b6;},_0x17f4cb[_0x382e15(0x2e4)]='GKrZX',_0x17f4cb['fzlSq']=_0x382e15(0x324),_0x17f4cb['AiMHK']=function(_0x27b066,_0x1acd18){return _0x27b066*_0x1acd18;},_0x17f4cb[_0x382e15(0x35f)]=function(_0x3c2c30,_0x45b9de){return _0x3c2c30*_0x45b9de;},_0x17f4cb['tbHgl']=function(_0x38dd1c,_0x435fdf){return _0x38dd1c===_0x435fdf;},_0x17f4cb[_0x382e15(0x38f)]='GpECu',_0x17f4cb[_0x382e15(0x27f)]=_0x382e15(0x24f),_0x17f4cb[_0x382e15(0x2e6)]='Cluster\x20creation\x20failed,\x20rolling\x20back\x20cluster\x20creation:\x20',_0x17f4cb[_0x382e15(0x2b1)]=function(_0x3db095,_0x291408){return _0x3db095===_0x291408;},_0x17f4cb[_0x382e15(0x217)]=_0x382e15(0x32c),_0x17f4cb[_0x382e15(0x21d)]='ulKwE';const _0x32b8a7=_0x17f4cb;try{if(_0x32b8a7['pjBcb'](_0x32b8a7[_0x382e15(0x1f1)],_0x32b8a7['pmNkj']))_0x59c0ec[_0x382e15(0x201)](_0x32b8a7[_0x382e15(0x2dd)]);else{logger[_0x382e15(0x201)](_0x32b8a7[_0x382e15(0x216)]);let _0xc1eae8=await fs[_0x382e15(0x325)](path[_0x382e15(0x34b)](__dirname,'..',_0x32b8a7[_0x382e15(0x351)],_0x32b8a7[_0x382e15(0x34f)],_0x32b8a7[_0x382e15(0x317)]),_0x32b8a7[_0x382e15(0x2f1)]);_0xc1eae8=JSON[_0x382e15(0x34d)](_0xc1eae8);let _0x167124=await fs['readFileAsync'](path['join'](__dirname,'..',_0x32b8a7[_0x382e15(0x351)],_0x32b8a7[_0x382e15(0x34f)],_0x32b8a7[_0x382e15(0x29f)]),_0x32b8a7[_0x382e15(0x2f1)]);_0x167124=JSON[_0x382e15(0x34d)](_0x167124);const _0x13fe2d=global_registry['clusterAutoUpgrade'];_0xc1eae8['name']=this[_0x382e15(0x360)],_0xc1eae8[_0x382e15(0x269)][0x0][_0x382e15(0x345)][_0x382e15(0x2a3)]=global_registry[_0x382e15(0x210)],_0xc1eae8[_0x382e15(0x269)][0x1][_0x382e15(0x345)][_0x382e15(0x2a3)]=global_registry[_0x382e15(0x210)],_0xc1eae8['nodePools'][0x0]['config'][_0x382e15(0x1f2)]=this[_0x382e15(0x357)]+'@'+this[_0x382e15(0x2be)]+_0x382e15(0x2e7),_0xc1eae8['nodePools'][0x1]['config'][_0x382e15(0x1f2)]=this[_0x382e15(0x357)]+'@'+this['projectId']+'.iam.gserviceaccount.com',_0xc1eae8[_0x382e15(0x269)][0x0][_0x382e15(0x293)][_0x382e15(0x285)]=global_registry['minNodes'],_0xc1eae8['nodePools'][0x1][_0x382e15(0x293)][_0x382e15(0x285)]=0x0,_0xc1eae8[_0x382e15(0x269)][0x0][_0x382e15(0x2b0)]['autoUpgrade']=_0x13fe2d,_0xc1eae8['nodePools'][0x1][_0x382e15(0x2b0)][_0x382e15(0x204)]=_0x13fe2d,_0xc1eae8[_0x382e15(0x269)][0x0][_0x382e15(0x293)][_0x382e15(0x27b)]=global_registry[_0x382e15(0x396)],_0xc1eae8['nodePools'][0x1][_0x382e15(0x293)]['maxNodeCount']=global_registry[_0x382e15(0x396)],_0xc1eae8[_0x382e15(0x23f)]=global_registry['clusterRegion'],_0xc1eae8[_0x382e15(0x2fd)]=[_0x167124[global_registry['clusterRegion']][0x0]],_0xc1eae8[_0x382e15(0x31b)]=_0x382e15(0x248)+this[_0x382e15(0x2be)]+_0x382e15(0x327)+_0x46e41c,_0xc1eae8['subnetwork']=_0x382e15(0x248)+this[_0x382e15(0x2be)]+_0x382e15(0x2f6)+global_registry[_0x382e15(0x271)]+_0x382e15(0x31d)+_0x971e47[0x0];if(_0x13fe2d){if(_0x32b8a7[_0x382e15(0x35c)](_0x32b8a7[_0x382e15(0x2e4)],_0x32b8a7[_0x382e15(0x2e4)])){const _0x14f037={};_0x14f037[_0x382e15(0x344)]=_0x32b8a7[_0x382e15(0x23c)],_0xc1eae8[_0x382e15(0x24c)]=_0x14f037;}else _0x5f0f75[_0x382e15(0x250)](_0x32b8a7['KtlrG']),_0x26d042[_0x382e15(0x202)](0x1);}const _0x2875b6=await this[_0x382e15(0x2b2)]['createCluster']({'cluster':_0xc1eae8,'parent':_0x382e15(0x248)+this[_0x382e15(0x2be)]+_0x382e15(0x307)+global_registry[_0x382e15(0x271)]});await this['webSocketUtils']['delay'](_0x32b8a7[_0x382e15(0x333)](_0x32b8a7[_0x382e15(0x35f)](0x7,0x3c),0x3e8));}}catch(_0x11248d){if(_0x32b8a7[_0x382e15(0x1fa)](_0x32b8a7[_0x382e15(0x38f)],_0x32b8a7[_0x382e15(0x38f)])){const _0x3b3285=await this[_0x382e15(0x28f)]();if(_0x3b3285)_0x32b8a7[_0x382e15(0x28d)](_0x32b8a7[_0x382e15(0x27f)],_0x32b8a7[_0x382e15(0x27f)])?_0x1ed3cd[_0x382e15(0x37b)](_0x41d09f):(logger[_0x382e15(0x201)](_0x32b8a7[_0x382e15(0x2e6)],_0x11248d[_0x382e15(0x1f0)]),await this[_0x382e15(0x223)]());else{if(_0x32b8a7['tcfEt'](_0x32b8a7[_0x382e15(0x217)],_0x32b8a7[_0x382e15(0x21d)])){const _0x462367=_0x412ab4[_0x382e15(0x237)][_0x382e15(0x207)](_0x147e65);_0x232d6f+='\x0a\x09'+_0x25fd8b+_0x382e15(0x262)+(_0x462367?_0x32b8a7['GBpNk']:_0x32b8a7[_0x382e15(0x295)]),!_0x462367&&(_0x7f5c60[_0x382e15(0x28e)]=![]);}else logger[_0x382e15(0x201)](_0x32b8a7[_0x382e15(0x2dd)]);}throw _0x11248d;}else _0x33b542=_0x3beac5[_0x382e15(0x370)](_0x51bba3[_0x5e1172['clusterRegion']]);}}async[a3_0x3efece(0x388)](_0x5962c0,_0x3c0f71,_0x33bc99,_0x3d5293,_0x3ce97a){}async['updateWindowsNodeGroup'](){const _0x4c67ac=a3_0x3efece;cp[_0x4c67ac(0x21b)](_0x4c67ac(0x359)+this[_0x4c67ac(0x360)]+'\x20--windows-os-version=ltsc2022\x20--region\x20'+global_registry[_0x4c67ac(0x271)]+_0x4c67ac(0x2cb));}async['deleteCluster'](_0x71cd6e,_0x3ac495){const _0x2bf54c=a3_0x3efece,_0x3d8e12={'VuJkk':function(_0x3da9de,_0x245e10){return _0x3da9de===_0x245e10;},'cCKjf':_0x2bf54c(0x2ee),'JQFmK':_0x2bf54c(0x321),'JwvKu':function(_0x593d2c,_0x39ae5e){return _0x593d2c(_0x39ae5e);},'nusXs':function(_0x2630e3,_0x48064b){return _0x2630e3===_0x48064b;},'zIJfc':_0x2bf54c(0x32f),'WQbAc':function(_0x57869f,_0x5de480){return _0x57869f===_0x5de480;},'yUQRa':_0x2bf54c(0x28c),'qYGzH':function(_0x534cb0,_0x59add2){return _0x534cb0!==_0x59add2;},'qxRGA':_0x2bf54c(0x1f7),'rpMoo':_0x2bf54c(0x350),'xxBzj':'Cluster\x20deletion\x20completed','WMsUO':function(_0x273c4f,_0xcb7c12){return _0x273c4f===_0xcb7c12;},'UVRlB':_0x2bf54c(0x318),'hKJrz':'GKE\x20Cluster\x20deletion\x20failed'};try{if(_0x3d8e12[_0x2bf54c(0x2c7)](_0x3d8e12[_0x2bf54c(0x24b)],_0x3d8e12[_0x2bf54c(0x380)]))this[_0x2bf54c(0x232)](this['rws']);else{await _0x3d8e12[_0x2bf54c(0x220)](deleteAgent,_0x71cd6e),await _0x3d8e12[_0x2bf54c(0x220)](deleteRoutingDeps,_0x71cd6e),logger['info'](_0x2bf54c(0x2d7)+this[_0x2bf54c(0x360)]);const _0x500238=await this['containerClient']['deleteCluster']({'name':_0x2bf54c(0x248)+this[_0x2bf54c(0x2be)]+'/locations/'+global_registry[_0x2bf54c(0x271)]+'/clusters/'+this['clusterName']});if(_0x3d8e12[_0x2bf54c(0x2d6)](_0x500238[0x0]?.[_0x2bf54c(0x28e)],_0x3d8e12[_0x2bf54c(0x2c1)])||_0x3d8e12[_0x2bf54c(0x374)](_0x500238[0x0]?.[_0x2bf54c(0x28e)],_0x3d8e12[_0x2bf54c(0x288)]))return _0x3d8e12[_0x2bf54c(0x208)](_0x3d8e12[_0x2bf54c(0x2ef)],_0x3d8e12[_0x2bf54c(0x33b)])?!![]:![];logger[_0x2bf54c(0x201)](_0x3d8e12[_0x2bf54c(0x29c)]);}}catch(_0x55c576){if(_0x3d8e12[_0x2bf54c(0x331)](_0x3d8e12['UVRlB'],_0x3d8e12[_0x2bf54c(0x21f)])){logger[_0x2bf54c(0x201)](_0x3d8e12[_0x2bf54c(0x231)]);throw _0x55c576;}else _0x43b930[_0x2bf54c(0x38e)](_0x4b0e6f);}}async[a3_0x3efece(0x244)](_0x5d4ce8){const _0x5ada1a=a3_0x3efece,_0x4e618a={};_0x4e618a[_0x5ada1a(0x25e)]=_0x5ada1a(0x230),_0x4e618a[_0x5ada1a(0x369)]=function(_0x3b3380,_0xc27ad0){return _0x3b3380!==_0xc27ad0;},_0x4e618a['PNiYP']='kFFkQ',_0x4e618a[_0x5ada1a(0x283)]='EUSEK',_0x4e618a[_0x5ada1a(0x37e)]=function(_0x415296,_0x443f36){return _0x415296>_0x443f36;},_0x4e618a[_0x5ada1a(0x1f3)]=function(_0x9599b9,_0x18dc20){return _0x9599b9===_0x18dc20;},_0x4e618a[_0x5ada1a(0x254)]=function(_0x1b6203,_0x5c910b){return _0x1b6203!==_0x5c910b;},_0x4e618a['XtgPM']=_0x5ada1a(0x214),_0x4e618a[_0x5ada1a(0x2c0)]=function(_0x510e8f,_0x5710a4){return _0x510e8f===_0x5710a4;},_0x4e618a[_0x5ada1a(0x27d)]=_0x5ada1a(0x253),_0x4e618a[_0x5ada1a(0x368)]=_0x5ada1a(0x39b);const _0x40587e=_0x4e618a;try{if(_0x40587e[_0x5ada1a(0x369)](_0x40587e[_0x5ada1a(0x2cc)],_0x40587e[_0x5ada1a(0x283)])){const _0xe97c47=await this[_0x5ada1a(0x2a0)]['get']({'project':this[_0x5ada1a(0x2be)],'network':_0x5d4ce8});if(_0x40587e['zQfpt'](_0xe97c47[_0x5ada1a(0x2e5)],0x0)&&_0x40587e[_0x5ada1a(0x1f3)](_0xe97c47[0x0][_0x5ada1a(0x391)],_0x5d4ce8)){if(_0x40587e['iUpZm'](_0x40587e[_0x5ada1a(0x20b)],_0x40587e[_0x5ada1a(0x20b)]))_0x20e61e['vpcInfo'][_0x5ada1a(0x38e)](_0x2cf5da);else return!![];}}else{_0x14047b[_0x5ada1a(0x201)](_0x40587e[_0x5ada1a(0x25e)]);return;}}catch(_0x1ffc47){if(_0x40587e['tpxxn'](_0x40587e['ePlFh'],_0x40587e[_0x5ada1a(0x368)]))_0x59954c[_0x5ada1a(0x28e)]=![];else return![];}return![];}async[a3_0x3efece(0x2fa)](_0x2a81d6,_0x26533e){const _0xbb6e5e=a3_0x3efece,_0x2a0d3e={};_0x2a0d3e['NUzPO']=function(_0x26d39a,_0x5beb29){return _0x26d39a===_0x5beb29;},_0x2a0d3e['kArjg']=_0xbb6e5e(0x279),_0x2a0d3e[_0xbb6e5e(0x29a)]=function(_0x44a85e,_0xdb9eb5){return _0x44a85e===_0xdb9eb5;},_0x2a0d3e[_0xbb6e5e(0x320)]=function(_0x5e2f76,_0x73de2a){return _0x5e2f76+_0x73de2a;},_0x2a0d3e[_0xbb6e5e(0x304)]=_0xbb6e5e(0x286),_0x2a0d3e[_0xbb6e5e(0x32b)]=_0xbb6e5e(0x2a5),_0x2a0d3e[_0xbb6e5e(0x2a9)]=function(_0x33d982,_0x5c5330){return _0x33d982===_0x5c5330;},_0x2a0d3e[_0xbb6e5e(0x218)]='RwooN',_0x2a0d3e[_0xbb6e5e(0x2f4)]=function(_0x13a860,_0x4f7ce5){return _0x13a860!==_0x4f7ce5;},_0x2a0d3e['rNIAY']=_0xbb6e5e(0x2bd),_0x2a0d3e[_0xbb6e5e(0x34c)]=function(_0x49d750,_0x12c254){return _0x49d750===_0x12c254;},_0x2a0d3e[_0xbb6e5e(0x273)]=_0xbb6e5e(0x26e);const _0x455226=_0x2a0d3e;try{if(_0x455226[_0xbb6e5e(0x29a)](_0x455226[_0xbb6e5e(0x304)],_0x455226[_0xbb6e5e(0x32b)]))return _0x22256a[_0xbb6e5e(0x28e)][_0xbb6e5e(0x346)][_0xbb6e5e(0x2b6)][0x0]['ip'];else{const _0x43da95=await this['networkClient'][_0xbb6e5e(0x385)]({'project':this['projectId'],'network':_0x26533e});for(const _0x4a9c1e of _0x43da95[0x0][_0xbb6e5e(0x302)]){if(_0x455226[_0xbb6e5e(0x2a9)](_0x455226[_0xbb6e5e(0x218)],_0x455226['NizJI'])){const _0x47ec03=_0xbb6e5e(0x2cf)+this['projectId']+_0xbb6e5e(0x2f6)+global_registry['clusterRegion']+_0xbb6e5e(0x31d)+_0x2a81d6[0x0];if(_0x455226[_0xbb6e5e(0x386)](_0x47ec03,_0x4a9c1e)){if(_0x455226['oiIGv'](_0x455226['rNIAY'],_0x455226['rNIAY'])){const _0xeb6be2=_0x5b2426[0x0]?.[_0xbb6e5e(0x395)]?.['managedby'];return _0xeb6be2&&_0x455226[_0xbb6e5e(0x386)](_0xeb6be2[_0xbb6e5e(0x256)](),_0x455226['kArjg']);}else return[!![],_0x2a81d6];}}else for(const _0x2a0604 of _0xe57ba1[_0xbb6e5e(0x33c)][_0xbb6e5e(0x389)]){if(_0x455226[_0xbb6e5e(0x29a)](_0x2a0604?.['name'],_0xbb6e5e(0x248)+this[_0xbb6e5e(0x2be)]+_0xbb6e5e(0x38d)+this[_0xbb6e5e(0x357)]+'@'+this[_0xbb6e5e(0x2be)]+_0xbb6e5e(0x2e7)))return!![];}}}}catch(_0xcc421f){if(_0x455226[_0xbb6e5e(0x34c)](_0x455226[_0xbb6e5e(0x273)],_0x455226[_0xbb6e5e(0x273)]))return logger[_0xbb6e5e(0x250)](_0xbb6e5e(0x373)+_0x2a81d6+_0xbb6e5e(0x339)+_0xcc421f),[![],[]];else _0x100bc9[_0xbb6e5e(0x1fc)]('['+_0x455226['lxpkc'](_0x519c8a,0x1)+']\x20'+_0x19b203[_0x33de22]);}return[![],[]];}async[a3_0x3efece(0x232)](){const _0x38c279=a3_0x3efece,_0x1c8897={};_0x1c8897[_0x38c279(0x20e)]=_0x38c279(0x329),_0x1c8897[_0x38c279(0x39a)]=function(_0x533ae3,_0x51ef8f){return _0x533ae3===_0x51ef8f;},_0x1c8897['WnuzJ']='wyrUV',_0x1c8897['HOcWu']=_0x38c279(0x2de);const _0x59e908=_0x1c8897,_0x5f4d21=await this[_0x38c279(0x2a0)]['list']({'project':this[_0x38c279(0x2be)]}),_0x16eb19={};_0x16eb19[_0x38c279(0x1f4)]=global_registry[_0x38c279(0x31e)],_0x16eb19[_0x38c279(0x2d4)]=global_registry[_0x38c279(0x2da)],_0x16eb19['cloudProvider']=GCP,_0x16eb19[_0x38c279(0x348)]=[];const _0x4a9929=_0x16eb19;for(const _0x29b051 of _0x5f4d21){if(_0x59e908[_0x38c279(0x39a)](_0x59e908[_0x38c279(0x311)],_0x59e908['HOcWu'])){_0x5d9b07['info'](_0x59e908[_0x38c279(0x20e)]);throw _0xefdb1d;}else _0x4a9929[_0x38c279(0x348)][_0x38c279(0x38e)](_0x29b051);}const _0x1fdf33={};_0x1fdf33[_0x38c279(0x335)]=WS_EVENTS[_0x38c279(0x241)],_0x1fdf33[_0x38c279(0x2c2)]=_0x4a9929,this['webSocketUtils'][_0x38c279(0x212)](this[_0x38c279(0x340)],_0x1fdf33);}async[a3_0x3efece(0x2cd)](){const _0x484106=a3_0x3efece,_0x2b3ba3={'aLiCB':function(_0x9173f,_0xc3acc3,_0x2aec81){return _0x9173f(_0xc3acc3,_0x2aec81);},'CzxHC':_0x484106(0x224),'yCMju':'json','eERdE':function(_0x2f32b1,_0x24466d,_0x1f977b){return _0x2f32b1(_0x24466d,_0x1f977b);}},_0x194c3c='https://'+AG_API_URL+'/packages/cli/update-cluster-region',_0x48cf01={};_0x48cf01[_0x484106(0x336)]=global_registry[_0x484106(0x306)];const _0x2995f2={};_0x2995f2[_0x484106(0x226)]=global_registry[_0x484106(0x271)];const _0x1967a9={'searchParams':_0x48cf01,'json':_0x2995f2,'headers':_0x2b3ba3[_0x484106(0x238)](getAuthHeader,global_registry[_0x484106(0x31e)],global_registry[_0x484106(0x2da)]),'method':_0x2b3ba3[_0x484106(0x36b)],'responseType':_0x2b3ba3[_0x484106(0x366)],'throwHttpErrors':![]},_0x1d5a8b=await _0x2b3ba3[_0x484106(0x2ea)](got,_0x194c3c,_0x1967a9);}async[a3_0x3efece(0x2b8)](){const _0xf849a5=a3_0x3efece,_0x5f2ad7={'YENjX':function(_0x383794,_0x20428e){return _0x383794(_0x20428e);},'zuqSw':_0xf849a5(0x25f),'RRHEX':_0xf849a5(0x2e1),'pbjyw':_0xf849a5(0x2a8)},_0x27d37f={};_0x27d37f[_0xf849a5(0x28e)]=![],_0x27d37f['error']=null,_0x27d37f[_0xf849a5(0x33c)]='';const _0x302889=_0x27d37f;try{const _0x523f14=await _0x5f2ad7[_0xf849a5(0x2e3)](runCommand,_0x5f2ad7[_0xf849a5(0x352)]);_0x523f14[_0xf849a5(0x2ca)](_0x5f2ad7['RRHEX'])?logger[_0xf849a5(0x37b)](_0x523f14):logger[_0xf849a5(0x282)](_0x523f14),_0x302889['status']=!![],_0x302889['data']=_0x5f2ad7['pbjyw'];}catch(_0xcd42d4){logger['error']('error\x20:\x20'+_0xcd42d4+'\x20:\x20'+_0xcd42d4[_0xf849a5(0x1f0)]),_0x302889[_0xf849a5(0x33c)]=_0xf849a5(0x2ff)+_0xcd42d4,_0x302889[_0xf849a5(0x250)]=_0xcd42d4;}return _0x302889;}async[a3_0x3efece(0x2c4)](){const _0x1b3521=a3_0x3efece,_0xb5c54d={};_0xb5c54d[_0x1b3521(0x308)]=_0x1b3521(0x353),_0xb5c54d[_0x1b3521(0x23a)]='denied';const _0x11bd93=_0xb5c54d,_0x4d9200={};_0x4d9200[_0x1b3521(0x28e)]=![],_0x4d9200[_0x1b3521(0x250)]=null,_0x4d9200['data']='';const _0x5b1ed5=_0x4d9200;try{let _0x5b7535='';const _0x3c7bf3=_0x1b3521(0x248)+this[_0x1b3521(0x2be)],[_0x238903]=await this[_0x1b3521(0x209)][_0x1b3521(0x2ce)]({'resource':_0x3c7bf3,'permissions':Object[_0x1b3521(0x35e)](PERMISSIONS)});_0x5b1ed5['status']=!![],logger[_0x1b3521(0x282)](_0x1b3521(0x2d9)+_0x3c7bf3+':\x20'+JSON[_0x1b3521(0x2e2)](_0x238903)),Object['entries'](PERMISSIONS)[_0x1b3521(0x22f)](([_0x5e40e3,_0x17d217])=>{const _0x265327=_0x1b3521,_0x387e33=_0x238903[_0x265327(0x237)][_0x265327(0x207)](_0x5e40e3);_0x5b7535+='\x0a\x09'+_0x17d217+_0x265327(0x262)+(_0x387e33?_0x11bd93['RAgpk']:_0x11bd93[_0x265327(0x23a)]),!_0x387e33&&(_0x5b1ed5[_0x265327(0x28e)]=![]);}),_0x5b1ed5[_0x1b3521(0x33c)]=_0x5b7535;}catch(_0x5dce75){_0x5b1ed5['error']=_0x5dce75;}return _0x5b1ed5;}}function a3_0x2c4a(){const _0x104a90=['IAPvL','maxNodeCount','organizations','ePlFh','wDvcC','ebHVq','rsIdH','uTDcH','debug','QgLzz','NYPkm','minNodeCount','LSKEU','DuKhJ','yUQRa','getCluster','DJWNl','NquFj','DONE','pjBcb','status','isClusterPresent','init','includedPermissions','https://','autoscaling','XDjpV','ZzlBR','../config/constants','serviceAccounts','scopes','role','EaAER','Found\x20cluster\x20with\x20name\x20\x27','xxBzj','efVXP','templates','MCyuV','networkClient','Enter\x20Key\x20file\x20(.json)\x20path\x20for\x20GCP\x20Service\x20Account:\x20','project_id','machineType','eMnaM','PFOcp','ijiJB','./CloudProvider','cli\x20tool\x20is\x20installed','oswAg','checkServiceAccount','sendResourceDataToHST','ePVzu','storage.buckets.listTagBindings','Proceeding\x20with\x20the\x20cluster\x20in\x20the\x20location\x20-\x20','WglVM','management','tcfEt','containerClient','LoYHj','GoogleCloudProvider','EVVXl','ingress','bYIun','isCliToolInstalled','aRIgK','iam.serviceAccounts.signBlob','KDDkK','RfIMu','LbigP','projectId','Cluster\x20creation\x20failed','tpxxn','zIJfc','message','@google-cloud/container','checkAccess','aNWna','aBRat','VuJkk','oXwjB','pnSrv','startsWith','\x20--quiet\x20--user-output-enabled=false','PNiYP','updateClusterRegion','testIamPermissions','https://www.googleapis.com/compute/v1/projects/','iamClient','bindings','roles','getGridHostname','accessKey','YvTGg','nusXs','Deleting\x20the\x20cluster\x20','iDNJN','permissions\x20check\x20response\x20for\x20','bstackAccesskey','Creating\x20required\x20resources\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account','VtZbk','TGqrR','zeuXz','moWtv','Turboscale\x20Custom\x20Role','Intercepted','stringify','YENjX','GsAxr','length','ruQcS','.iam.gserviceaccount.com','wyxZV','storage.buckets.list','eERdE','create','gWHrC','ZxTJc','kYmgO','qxRGA','exports','oabnl','Iiqud','cEDsS','oiIGv','exec','/regions/','2593280UEBeDH','CKJoU','storage.buckets.create','isSubnetsValid','NuKsb','Creating\x20service\x20account','locations','YzDyX','Please\x20install\x20gcloud\x20CLI\x20tool.\x20Error\x20:\x20','RsFlx','storage.buckets.get','subnetworks','CvKoE','HDUvS','5027665JLZHrF','gridProfileId','/locations/','RAgpk','mBjKu','storage.buckets.getIamPolicy','Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','kntmf','UBskb','lWYYY','MFpKx','xyLzt','WnuzJ','rEaOY','rOvBP','cMXBy','RsAYS','managedby','hjifO','sqmIy','bGXfl','VXxcf','network','XPgJO','/subnetworks/','bstackUsername','Creating\x20GKE\x20Cluster','lxpkc','EuQfR','CHeYh','cloudProviderName','REGULAR','readFileAsync','caqnA','/global/networks/','POdhC','GKE\x20Cluster\x20deletion\x20failed','eLVZu','xRpxB','ulGWq','updateWindowsNodeGroup','gcloud\x20components\x20install\x20gke-gcloud-auth-plugin\x20--quiet\x20--no-user-output-enabled','RUNNING','lWBMl','WMsUO','getClusterInfo','AiMHK','RgMnP','type','profileId','setupServiceAccount','3693801TLvczB','.\x20Error:\x20','wjRAC','rpMoo','data','XhMIs','sQMAd','KQkvg','rws','aDPsW','CCMtZ','QKjCT','channel','config','loadBalancer','webSocketUtils','vpcInfo','accountId','BPpEG','join','GFUfr','parse','qJhaW','iogHg','fwKEL','jHvGn','zuqSw','allowed','IegQS','storage.buckets.createTagBinding','eqdke','serviceAccountName','LOG','gcloud\x20container\x20node-pools\x20update\x20windows-pool\x20--cluster=','awvZI','jroku','PSGRz','setCachedCredsInRegistry','keys','OueYv','clusterName','turboscale-service-account','xzxCw','projects','gke_','turboscale_custom_role','yCMju','EYaBY','LuSGx','WeezH','gcpresources','CzxHC','storage.multipartUploads.list','util','eAXLV','child_process','concat','hNrVO','parent','Cannot\x20find\x20subnets\x20','WQbAc','oDPbz','storage.objects.list','CDfpz','storage.objects.create','GBpNk','6QqafMD','warn','aHVPZ','storage.buckets.getObjectInsights','zQfpt','LWnOV','JQFmK','lhIMy','KbIpO','bXxIU','replace','get','NUzPO','TaBOI','setupHubHa','accounts','KDEHv','NetworksClient','OsZCb','/serviceAccounts/','push','dXEyV','1529156eoVRKk','name','SgVms','isBrowserstackCluster','KKawj','resourceLabels','maxNodes','../utils/utilityMethods','masterAuth','sNKkB','sZKjH','fmiVW','Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','stack','pmNkj','serviceAccount','melEA','username','\x20--windows-os-version=ltsc2022\x20--region\x20','ufKqr','JbOZp','1115445RMfskg','../config/logger','tbHgl','storage.buckets.listEffectiveTags','log','getClient','createCluster','mcswt','https://www.googleapis.com/auth/cloud-platform','info','exit','YDIzr','autoUpgrade','UKgCv','storage.multipartUploads.abort','includes','qYGzH','resourcemanagerClient','XImZn','XtgPM','clusters','MoxZF','lMwQi','gUxiL','instanceType','HpUum','sendEventToBackend','JzsEG','dEDCu','utf-8','mwZxx','ZnktP','NizJI','cIGYr','moxIK','execSync','regionmap.json','TqcVM','Guebk','UVRlB','JwvKu','/roles/','ozeGo','deleteCluster','PUT','GIWzv','newRegion','title','aZimN','@google-cloud/compute','iam','67697EXyTyk','storage.buckets.deleteTagBinding','\x27\x20in\x20multiple\x20locations,\x20select\x20a\x20location\x20to\x20proceed:','gkecluster.json','forEach','Service\x20account\x20already\x20exists,\x20skipping','hKJrz','sendGCPInfoToHST','bhuWt','default','storage.buckets.update','storage.objects.get','permissions','aLiCB','zfDhg','XLYSQ','AwmfC','fzlSq','ejxZT','dvgib','location','credentialsPath','RESOURCES','pXgvs','hgmew','isVPCPresent','path','kfjTd','Creating\x20required\x20dependencies\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account','projects/','storage.multipartUploads.listParts','customRoleName','cCKjf','releaseChannel','tMMZm','storage.buckets.delete','OlfyC','error','0|1|4|6|3|2|7|5|8','qwonB','JGufI','iUpZm','bkXmD','toLowerCase','clusterCaCertificate','storage.buckets.setIamPolicy','writeFileSync','list','9478701lTvMdD','iAfIx','czUEW','pTjmZ','gcloud\x20--version','DZhJC','toString','\x20:\x20','smkfC','split','hMNmW','680iYHoLi','setIamPolicy','error\x20:\x20','nodePools','rdcUc','vYejk','XNFgP','acJkN','Wcsdm','storage.objects.update','jKLMG','clusterRegion','KubeConfigTemplate.yaml','rAApx','keyFile','KtlrG','GquGz','Ruega','ClusterManagerClient','browserstack'];a3_0x2c4a=function(){return _0x104a90;};return a3_0x2c4a();}const a3_0x2935bd={};a3_0x2935bd[a3_0x3efece(0x2b4)]=GoogleCloudProvider,module[a3_0x3efece(0x2f0)]=a3_0x2935bd;
1
+ const a3_0x539739=a3_0x2ce4;function a3_0x2ce4(_0x411a4c,_0x30d379){const _0x207f73=a3_0x207f();return a3_0x2ce4=function(_0x2ce47b,_0x1034a0){_0x2ce47b=_0x2ce47b-0xdd;let _0x55ccf3=_0x207f73[_0x2ce47b];return _0x55ccf3;},a3_0x2ce4(_0x411a4c,_0x30d379);}(function(_0x2fcf3f,_0x482f29){const _0x38bccb=a3_0x2ce4,_0x25ebad=_0x2fcf3f();while(!![]){try{const _0x428a1a=-parseInt(_0x38bccb(0xfe))/0x1+parseInt(_0x38bccb(0x10d))/0x2+parseInt(_0x38bccb(0xf5))/0x3*(-parseInt(_0x38bccb(0x152))/0x4)+-parseInt(_0x38bccb(0x18f))/0x5*(-parseInt(_0x38bccb(0x143))/0x6)+parseInt(_0x38bccb(0x1b8))/0x7+parseInt(_0x38bccb(0x13e))/0x8+-parseInt(_0x38bccb(0x1d5))/0x9;if(_0x428a1a===_0x482f29)break;else _0x25ebad['push'](_0x25ebad['shift']());}catch(_0x20b77b){_0x25ebad['push'](_0x25ebad['shift']());}}}(a3_0x207f,0x48258));const fs=require('fs'),path=require(a3_0x539739(0x12f)),got=require(a3_0x539739(0x14d)),util=require('util'),cp=require(a3_0x539739(0x1bb)),{google}=require(a3_0x539739(0x17f)),compute=require(a3_0x539739(0x1b7)),container=require(a3_0x539739(0x240)),{ProjectsClient}=require(a3_0x539739(0x16e))['v3'],{logger}=require(a3_0x539739(0x286)),{CloudProvider}=require(a3_0x539739(0x229)),{getDirForConfig,getAuthHeader,runCommand}=require(a3_0x539739(0x26a)),{deleteRoutingDeps,deleteAgent}=require('../utils/gridComponents'),{inputConfirmation,closeInput}=require(a3_0x539739(0x135)),{GCP,AG_API_URL,WS_EVENTS,global_registry}=require(a3_0x539739(0x26c)),PERMISSIONS=require(a3_0x539739(0x162));class GoogleCloudProvider extends CloudProvider{constructor(_0x2fa56d,_0x2514b1,_0x1926a5,_0x4baad7){const _0x2c05e1=a3_0x539739,_0x4ae027={};_0x4ae027['WQBgA']=_0x2c05e1(0x213),_0x4ae027[_0x2c05e1(0x14f)]=_0x2c05e1(0xe0),_0x4ae027[_0x2c05e1(0x12e)]='turboscale-service-account';const _0x29f4bf=_0x4ae027,_0x121906=_0x29f4bf['WQBgA']['split']('|');let _0x3e805e=0x0;while(!![]){switch(_0x121906[_0x3e805e++]){case'0':this[_0x2c05e1(0x17c)]=null;continue;case'1':this['projectId']=null;continue;case'2':super(GCP,_0x2fa56d,_0x2514b1,_0x1926a5,_0x4baad7);continue;case'3':this[_0x2c05e1(0x147)]=_0x29f4bf[_0x2c05e1(0x14f)];continue;case'4':this[_0x2c05e1(0x140)]=_0x29f4bf[_0x2c05e1(0x12e)];continue;case'5':this[_0x2c05e1(0x23e)]=null;continue;case'6':this[_0x2c05e1(0x20d)]=null;continue;case'7':this['resourcemanagerClient']=null;continue;case'8':this[_0x2c05e1(0x13c)]=null;continue;}break;}}async[a3_0x539739(0x1e8)](){const _0x3eaa87=a3_0x539739;this[_0x3eaa87(0x1ec)](this['rws']);}async[a3_0x539739(0x270)](){const _0x34974b=a3_0x539739;await super[_0x34974b(0x270)]();const _0x2b3d51=this['credentialsPath'],_0x483624={};_0x483624[_0x34974b(0x10c)]=_0x2b3d51,this['containerClient']=new container['v1']['ClusterManagerClient'](_0x483624);const _0x2a3b8f={};_0x2a3b8f[_0x34974b(0x10c)]=_0x2b3d51,this[_0x34974b(0x13c)]=new compute['v1'][(_0x34974b(0x231))](_0x2a3b8f);const _0x43706a={};return _0x43706a['keyFile']=_0x2b3d51,this[_0x34974b(0x1d0)]=new ProjectsClient(_0x43706a),this[_0x34974b(0x23e)]=google[_0x34974b(0x11e)]('v1'),this;}async[a3_0x539739(0x257)](_0xe9bd94,_0x42b6ac){const _0x9d3591=a3_0x539739,_0x21170f={'IFSkh':function(_0x3a4c11,_0x2ce860){return _0x3a4c11(_0x2ce860);},'jjRjD':_0x9d3591(0x15e),'Ytfpi':function(_0x1427e6){return _0x1427e6();},'hizLm':_0x9d3591(0xed)},_0x4fd064=await _0x21170f['IFSkh'](_0xe9bd94,_0x21170f[_0x9d3591(0x108)]);let _0x3ad849=await fs[_0x9d3591(0x15a)](_0x4fd064);_0x3ad849=_0x3ad849[_0x9d3591(0xf0)]();const _0x54c94e=_0x21170f[_0x9d3591(0x235)](getDirForConfig),_0x1aaea2=path['join'](_0x54c94e,_0x21170f[_0x9d3591(0x199)]);fs[_0x9d3591(0x106)](_0x1aaea2,_0x3ad849),this[_0x9d3591(0x20d)]=_0x1aaea2;const _0x3d1786={};return _0x3d1786[_0x9d3591(0x10c)]=_0x1aaea2,_0x42b6ac[_0x9d3591(0x1af)][GCP]=_0x3d1786,_0x3ad849=JSON[_0x9d3591(0x1e3)](_0x3ad849),this['projectId']=_0x3ad849[_0x9d3591(0x279)],_0x42b6ac;}async[a3_0x539739(0xf9)](_0x24a248){const _0x765fcc=a3_0x539739;this['credentialsPath']=_0x24a248[this['cloudProviderName']]['keyFile'];let _0x4df46c=await fs[_0x765fcc(0x15a)](this['credentialsPath']);_0x4df46c=JSON[_0x765fcc(0x1e3)](_0x4df46c),this[_0x765fcc(0x261)]=_0x4df46c['project_id'];}[a3_0x539739(0x112)](_0x1ecfca){const _0xf429d6=a3_0x539739;return _0x1ecfca['status'][_0xf429d6(0x20f)][_0xf429d6(0x1a3)][0x0]['ip'];}async['isBrowserstackCluster'](){const _0x35be92=a3_0x539739,_0x2b0b85={};_0x2b0b85[_0x35be92(0x13d)]=function(_0x3721e0,_0x9430aa){return _0x3721e0!==_0x9430aa;},_0x2b0b85[_0x35be92(0x1eb)]='nopWY',_0x2b0b85['OcFWa']=function(_0x146b6e,_0x444029){return _0x146b6e===_0x444029;},_0x2b0b85[_0x35be92(0x23f)]='GMQIj',_0x2b0b85[_0x35be92(0x169)]=_0x35be92(0x1c2),_0x2b0b85[_0x35be92(0x173)]=function(_0x2193bd,_0x279700){return _0x2193bd===_0x279700;},_0x2b0b85[_0x35be92(0x1ef)]=_0x35be92(0x250),_0x2b0b85['AiJwA']=function(_0x48cf4c,_0x13ab90){return _0x48cf4c===_0x13ab90;},_0x2b0b85['BdYIG']=_0x35be92(0x1ac);const _0x3bd214=_0x2b0b85;try{if(_0x3bd214['ydvUH'](_0x3bd214[_0x35be92(0x1eb)],_0x3bd214['WPKhR']))_0x4a567d['error'](_0x35be92(0x18e)+_0xbd2d17+_0x35be92(0x133)+_0x552372['stack']),_0x1d64c5[_0x35be92(0x25b)]=_0x35be92(0x22e)+_0x381a22,_0x957781[_0x35be92(0x194)]=_0x1e0967;else{const _0xd5b72e=await this['getClusterInfo']();if(_0xd5b72e[0x0]?.[_0x35be92(0x1f8)]?.[_0x35be92(0x197)]){if(_0x3bd214['OcFWa'](_0x3bd214[_0x35be92(0x23f)],_0x3bd214[_0x35be92(0x169)]))_0x552572['vpcInfo'][_0x35be92(0x262)](_0x162f1b);else{const _0x27d60b=_0xd5b72e[0x0]?.[_0x35be92(0x1f8)]?.[_0x35be92(0x197)];return _0x27d60b&&_0x3bd214[_0x35be92(0x173)](_0x27d60b[_0x35be92(0x183)](),_0x3bd214['FjVbk']);}}}}catch(_0x3ecc0f){return _0x3bd214[_0x35be92(0x18c)](_0x3bd214['BdYIG'],_0x3bd214[_0x35be92(0x1b5)])?![]:!![];}return![];}async[a3_0x539739(0x1ed)](){const _0x95ab27=a3_0x539739,_0x3b79e0={'sxUvO':_0x95ab27(0xe2),'yiJZL':_0x95ab27(0x209),'fWzyj':function(_0x5d3fb2,_0x8ba189){return _0x5d3fb2===_0x8ba189;},'CmjAH':function(_0x4765fb,_0x5c5fe7){return _0x4765fb-_0x5c5fe7;},'sVzfd':'templates','jSsNz':_0x95ab27(0x1c5),'YiCNO':'regionmap.json','xjDpL':_0x95ab27(0x17d),'fMZRx':function(_0x29f152,_0x44b8d4){return _0x29f152!==_0x44b8d4;},'bnlfe':_0x95ab27(0x1b4),'hxHBL':_0x95ab27(0x24e),'amPUC':_0x95ab27(0x120),'HPZZn':_0x95ab27(0xea),'yVbLi':function(_0xe1b0a9,_0x4bb3c7){return _0xe1b0a9===_0x4bb3c7;},'Heqml':'GGfKA','qosXY':function(_0xbfbb04,_0x1e6391){return _0xbfbb04===_0x1e6391;},'NRHiE':_0x95ab27(0x1fb),'UXstm':function(_0x50282a,_0x34052f){return _0x50282a!==_0x34052f;},'GEeHd':function(_0x55a94d,_0x37458f){return _0x55a94d===_0x37458f;},'SxEgV':'iDOqw','rUAmB':function(_0xb90b2b,_0x15a806){return _0xb90b2b>_0x15a806;},'qMaYO':_0x95ab27(0x165),'fXBpp':function(_0x367d6c,_0x19cc2f){return _0x367d6c<_0x19cc2f;},'zOhzh':_0x95ab27(0x109),'VfdyJ':_0x95ab27(0x1ad),'Gpgxr':function(_0x45ef1a,_0x49e832){return _0x45ef1a+_0x49e832;},'vPSrQ':function(_0x4be95c,_0x2e96af){return _0x4be95c(_0x2e96af);},'UormM':_0x95ab27(0x24c),'FQUJH':function(_0x36666b,_0x2d661e){return _0x36666b(_0x2d661e);},'vaeSb':function(_0x52c9ec,_0x1b8df6){return _0x52c9ec<=_0x1b8df6;},'SeWRE':function(_0x280f0d,_0x3ba33c){return _0x280f0d===_0x3ba33c;},'uFuQr':_0x95ab27(0x195),'wuJsB':_0x95ab27(0x271),'fpZVZ':_0x95ab27(0x1f4),'uhHSv':function(_0x43bce3){return _0x43bce3();},'NMAza':function(_0x5c5e71,_0x3cfe3a){return _0x5c5e71-_0x3cfe3a;},'KaXCj':_0x95ab27(0x1f5),'PpWZn':function(_0x389784,_0x55150f){return _0x389784-_0x55150f;}};let _0x4c50ca=await fs[_0x95ab27(0x15a)](path[_0x95ab27(0x1e7)](__dirname,'..',_0x3b79e0[_0x95ab27(0x22f)],_0x3b79e0[_0x95ab27(0x263)],_0x3b79e0['YiCNO']),_0x3b79e0['xjDpL']);_0x4c50ca=JSON[_0x95ab27(0x1e3)](_0x4c50ca);let _0x16adca=[global_registry[_0x95ab27(0x285)]];if(_0x3b79e0[_0x95ab27(0x1a7)](_0x4c50ca[global_registry[_0x95ab27(0x285)]],undefined)){if(_0x3b79e0[_0x95ab27(0x1a7)](_0x3b79e0['bnlfe'],_0x3b79e0[_0x95ab27(0x187)]))_0x16adca=_0x16adca[_0x95ab27(0x221)](_0x4c50ca[global_registry[_0x95ab27(0x285)]]);else{_0x217788[_0x95ab27(0x26d)](_0x3b79e0[_0x95ab27(0x237)]);return;}}const _0x27d554=[];for await(const _0xd5f8a2 of _0x16adca){if(_0x3b79e0[_0x95ab27(0x278)](_0x3b79e0['amPUC'],_0x3b79e0[_0x95ab27(0x137)])){const _0x5b99d3={};_0x5b99d3[_0x95ab27(0x17a)]=_0x95ab27(0x259)+this[_0x95ab27(0x261)]+_0x95ab27(0x24b)+_0xd5f8a2;const _0x2adfda=_0x5b99d3,_0x4abcd2=await this[_0x95ab27(0x17c)]['listClusters'](_0x2adfda);for(const _0x57016e of _0x4abcd2[0x0][_0x95ab27(0xdd)]){_0x3b79e0[_0x95ab27(0x1a7)](_0x3b79e0['HPZZn'],_0x3b79e0[_0x95ab27(0x260)])?_0x4ffefd[_0x95ab27(0x171)](_0x3610f1):_0x3b79e0[_0x95ab27(0x27c)](_0x57016e[_0x95ab27(0x227)],this['clusterName'])&&(_0x3b79e0[_0x95ab27(0x1a7)](_0x3b79e0['Heqml'],_0x3b79e0[_0x95ab27(0x216)])?(_0x3c4fbc[_0x95ab27(0x285)]=_0x46c6f7[0x0],this[_0x95ab27(0x157)]()):_0x27d554[_0x95ab27(0x262)](_0xd5f8a2));}}else _0x3498db[_0x95ab27(0x194)]=_0x3fa754;}const _0x48ccd3=_0x27d554[_0x95ab27(0x164)];if(_0x3b79e0[_0x95ab27(0xfb)](_0x48ccd3,0x1)){if(_0x3b79e0[_0x95ab27(0x27c)](_0x3b79e0[_0x95ab27(0xf6)],_0x3b79e0[_0x95ab27(0xf6)])){if(_0x3b79e0[_0x95ab27(0x1bf)](global_registry[_0x95ab27(0x285)],_0x27d554[0x0])){if(_0x3b79e0[_0x95ab27(0x136)](_0x3b79e0[_0x95ab27(0x114)],_0x3b79e0['SxEgV']))global_registry[_0x95ab27(0x285)]=_0x27d554[0x0],this[_0x95ab27(0x157)]();else return![];}return!![];}else _0x183a1a=_0x3b79e0['yiJZL'];}else{if(_0x3b79e0[_0x95ab27(0x1d7)](_0x48ccd3,0x1)){if(_0x3b79e0['fMZRx'](_0x3b79e0[_0x95ab27(0x113)],_0x3b79e0[_0x95ab27(0x113)]))_0x3b79e0[_0x95ab27(0x278)](_0x2c0e04['name'],this[_0x95ab27(0x203)])&&_0xf68715[_0x95ab27(0x262)](_0x337fa0);else{console['log'](_0x95ab27(0x15c)+this['clusterName']+'\x27\x20in\x20multiple\x20locations,\x20select\x20a\x20location\x20to\x20proceed:');for(let _0x441939=0x0;_0x3b79e0[_0x95ab27(0x1c9)](_0x441939,_0x48ccd3);_0x441939+=0x1){if(_0x3b79e0[_0x95ab27(0xfb)](_0x3b79e0[_0x95ab27(0x196)],_0x3b79e0[_0x95ab27(0x100)]))for(const _0x399063 of _0x1affd2['data']['accounts']){if(_0x3b79e0[_0x95ab27(0x278)](_0x399063?.[_0x95ab27(0x227)],_0x95ab27(0x259)+this['projectId']+_0x95ab27(0x1de)+this['serviceAccountName']+'@'+this['projectId']+_0x95ab27(0x20c)))return!![];}else console['log']('['+_0x3b79e0['Gpgxr'](_0x441939,0x1)+']\x20'+_0x27d554[_0x441939]);}const _0x2aa806=await _0x3b79e0[_0x95ab27(0x243)](inputConfirmation,_0x3b79e0['UormM']),_0x15f284=_0x3b79e0[_0x95ab27(0x243)](Number,_0x2aa806);return(_0x3b79e0[_0x95ab27(0x208)](isNaN,_0x15f284)||_0x3b79e0[_0x95ab27(0x1a1)](_0x15f284,0x0)||_0x3b79e0[_0x95ab27(0x1d7)](_0x15f284,_0x48ccd3))&&(_0x3b79e0[_0x95ab27(0x1be)](_0x3b79e0['uFuQr'],_0x3b79e0[_0x95ab27(0x185)])?this['sendGCPInfoToHST'](this[_0x95ab27(0x17b)]):(console[_0x95ab27(0x194)](_0x3b79e0[_0x95ab27(0x253)]),process[_0x95ab27(0x1a2)](0x1))),_0x3b79e0[_0x95ab27(0x110)](closeInput),logger[_0x95ab27(0x26d)](_0x95ab27(0x111)+_0x27d554[_0x3b79e0[_0x95ab27(0x116)](_0x15f284,0x1)]),_0x3b79e0[_0x95ab27(0x1bf)](global_registry[_0x95ab27(0x285)],_0x27d554[_0x3b79e0[_0x95ab27(0x11f)](_0x15f284,0x1)])&&(_0x3b79e0[_0x95ab27(0x1a7)](_0x3b79e0[_0x95ab27(0x1c6)],_0x3b79e0[_0x95ab27(0x1c6)])?(_0x4ab801[_0x95ab27(0x285)]=_0x50397f[_0x3b79e0[_0x95ab27(0x11f)](_0x27fe85,0x1)],this['updateClusterRegion']()):(global_registry[_0x95ab27(0x285)]=_0x27d554[_0x3b79e0['PpWZn'](_0x15f284,0x1)],this[_0x95ab27(0x157)]())),!![];}}}return![];}async[a3_0x539739(0x242)](){const _0x14fae6=a3_0x539739,_0x3dd7f3=await this[_0x14fae6(0x17c)][_0x14fae6(0x269)]({'name':_0x14fae6(0x259)+this[_0x14fae6(0x261)]+'/locations/'+global_registry['clusterRegion']+_0x14fae6(0x107)+this[_0x14fae6(0x203)]});return _0x3dd7f3;}async[a3_0x539739(0x219)](){const _0xd97e01=a3_0x539739,_0x1ab067={};_0x1ab067['nDscd']='gcloud\x20components\x20install\x20gke-gcloud-auth-plugin\x20--quiet\x20--no-user-output-enabled',_0x1ab067['ttLYZ']='templates',_0x1ab067[_0xd97e01(0x1dc)]='gcpresources',_0x1ab067[_0xd97e01(0x172)]=_0xd97e01(0x23d);const _0x2d0f00=_0x1ab067;cp[_0xd97e01(0x13a)](_0x2d0f00['nDscd']),cp[_0xd97e01(0xf3)](_0xd97e01(0x1b1)+this[_0xd97e01(0x20d)]);const _0x3992dc=await this[_0xd97e01(0x242)](),_0x3f1907=_0xd97e01(0x11a)+this[_0xd97e01(0x261)]+'_'+global_registry['clusterRegion']+'_'+this[_0xd97e01(0x203)];let _0x5db122=await fs[_0xd97e01(0x15a)](path[_0xd97e01(0x1e7)](__dirname,'..',_0x2d0f00[_0xd97e01(0x1da)],_0x2d0f00[_0xd97e01(0x1dc)],_0x2d0f00['YTrSX']));return _0x5db122=_0x5db122['toString'](),_0x5db122=_0x5db122[_0xd97e01(0x156)](/<CLUSTER_NAME>/g,_0x3f1907),_0x5db122=_0x5db122[_0xd97e01(0x156)](/<CLUSTER_URL>/g,_0xd97e01(0x1a9)+_0x3992dc[0x0]['endpoint']),_0x5db122=_0x5db122[_0xd97e01(0x156)](/<CERTIFICATE_DATA>/g,_0x3992dc[0x0][_0xd97e01(0x1fa)][_0xd97e01(0x14c)]),_0x5db122;}async['checkServiceAccount'](){const _0x1b2267=a3_0x539739,_0x4dc4b1={};_0x4dc4b1[_0x1b2267(0xde)]='Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.',_0x4dc4b1['iAoBR']=_0x1b2267(0x236),_0x4dc4b1['DOAgI']=function(_0x25ba0c,_0x5463c4){return _0x25ba0c!==_0x5463c4;},_0x4dc4b1[_0x1b2267(0x252)]=_0x1b2267(0x210),_0x4dc4b1['xhAGM']=function(_0x1ada35,_0x5d85fd){return _0x1ada35!==_0x5d85fd;},_0x4dc4b1[_0x1b2267(0x1f3)]=_0x1b2267(0x1e1),_0x4dc4b1[_0x1b2267(0x273)]=_0x1b2267(0xe3),_0x4dc4b1[_0x1b2267(0x1d9)]=function(_0x466c8d,_0x4f3c43){return _0x466c8d===_0x4f3c43;},_0x4dc4b1['ktiyn']=_0x1b2267(0x1ff);const _0x19af24=_0x4dc4b1,_0x551344={};_0x551344[_0x1b2267(0x204)]=[_0x19af24[_0x1b2267(0x22b)]],_0x551344['keyFile']=this['credentialsPath'];const _0x42c495=await google[_0x1b2267(0x167)][_0x1b2267(0x19b)](_0x551344),_0x1c8de8=await this['iamClient'][_0x1b2267(0x191)][_0x1b2267(0x21b)][_0x1b2267(0x144)]({'name':_0x1b2267(0x259)+this[_0x1b2267(0x261)],'auth':_0x42c495});if(_0x1c8de8?.['data']?.['accounts']){if(_0x19af24[_0x1b2267(0x1a4)](_0x19af24[_0x1b2267(0x252)],_0x19af24[_0x1b2267(0x252)]))_0x58d7df[_0x1b2267(0x13a)]('gcloud\x20container\x20node-pools\x20update\x20windows-pool\x20--cluster='+this['clusterName']+_0x1b2267(0x1f1)+_0x276a41[_0x1b2267(0x285)]+_0x1b2267(0x186));else for(const _0x758557 of _0x1c8de8[_0x1b2267(0x25b)][_0x1b2267(0xee)]){if(_0x19af24[_0x1b2267(0x265)](_0x19af24[_0x1b2267(0x1f3)],_0x19af24['yqdfW'])){if(_0x19af24[_0x1b2267(0x1d9)](_0x758557?.[_0x1b2267(0x227)],_0x1b2267(0x259)+this[_0x1b2267(0x261)]+'/serviceAccounts/'+this[_0x1b2267(0x140)]+'@'+this[_0x1b2267(0x261)]+'.iam.gserviceaccount.com'))return _0x19af24[_0x1b2267(0x265)](_0x19af24['ktiyn'],_0x19af24[_0x1b2267(0x241)])?_0x300088['status']['loadBalancer'][_0x1b2267(0x1a3)][0x0]['ip']:!![];}else _0x38461f[_0x1b2267(0x194)](_0x19af24[_0x1b2267(0xde)]),_0x335f9d['exit'](0x1);}}return![];}async[a3_0x539739(0x232)](){const _0xc1bb51=a3_0x539739,_0x21d916={};_0x21d916[_0xc1bb51(0x23c)]=_0xc1bb51(0x1c0),_0x21d916[_0xc1bb51(0x1b0)]=function(_0x32a5bb,_0x155a84){return _0x32a5bb!==_0x155a84;},_0x21d916['VToEv']=_0xc1bb51(0x281),_0x21d916[_0xc1bb51(0x258)]=_0xc1bb51(0x214),_0x21d916[_0xc1bb51(0x245)]=_0xc1bb51(0xe2),_0x21d916[_0xc1bb51(0x276)]=_0xc1bb51(0x27b),_0x21d916[_0xc1bb51(0x16d)]=_0xc1bb51(0x236),_0x21d916[_0xc1bb51(0x139)]='iam.serviceAccounts.signBlob',_0x21d916[_0xc1bb51(0x248)]=_0xc1bb51(0x153),_0x21d916['fGZmu']=_0xc1bb51(0x25c),_0x21d916[_0xc1bb51(0x225)]='storage.buckets.delete',_0x21d916[_0xc1bb51(0x1dd)]='storage.buckets.deleteTagBinding',_0x21d916[_0xc1bb51(0x12a)]=_0xc1bb51(0x18a),_0x21d916['wfFjH']=_0xc1bb51(0x128),_0x21d916[_0xc1bb51(0x255)]='storage.buckets.getObjectInsights',_0x21d916[_0xc1bb51(0x1e0)]='storage.buckets.list',_0x21d916[_0xc1bb51(0x118)]=_0xc1bb51(0x1c8),_0x21d916[_0xc1bb51(0x104)]=_0xc1bb51(0xe7),_0x21d916['oPSwE']=_0xc1bb51(0x249),_0x21d916[_0xc1bb51(0x280)]=_0xc1bb51(0x1ce),_0x21d916['ktwjT']=_0xc1bb51(0x25a),_0x21d916[_0xc1bb51(0x15f)]='storage.multipartUploads.create',_0x21d916['YAQiV']=_0xc1bb51(0x238),_0x21d916[_0xc1bb51(0x1e9)]=_0xc1bb51(0x105),_0x21d916[_0xc1bb51(0x264)]=_0xc1bb51(0x20a),_0x21d916[_0xc1bb51(0x180)]=_0xc1bb51(0x1b2),_0x21d916[_0xc1bb51(0x138)]=_0xc1bb51(0x202),_0x21d916[_0xc1bb51(0x25e)]=_0xc1bb51(0x21d),_0x21d916['ygfkD']=_0xc1bb51(0x1ab),_0x21d916[_0xc1bb51(0x16c)]=_0xc1bb51(0x155),_0x21d916[_0xc1bb51(0x217)]=_0xc1bb51(0x130),_0x21d916[_0xc1bb51(0x1ca)]='Turboscale\x20Custom\x20Role',_0x21d916['Apvxq']=_0xc1bb51(0x18b);const _0x2a8a19=_0x21d916,_0xe0205b=await this[_0xc1bb51(0x1f6)]();if(_0xe0205b){if(_0x2a8a19[_0xc1bb51(0x1b0)](_0x2a8a19[_0xc1bb51(0x268)],_0x2a8a19['enLAn'])){logger['info'](_0x2a8a19[_0xc1bb51(0x245)]);return;}else{_0x5c269b[_0xc1bb51(0x26d)](_0x2a8a19[_0xc1bb51(0x23c)]);throw _0x44b6e6;}}logger['info'](_0x2a8a19[_0xc1bb51(0x276)]);const _0x321795={};_0x321795[_0xc1bb51(0x204)]=[_0x2a8a19['JskmU']],_0x321795[_0xc1bb51(0x10c)]=this[_0xc1bb51(0x20d)];const _0x4981dd=await google[_0xc1bb51(0x167)][_0xc1bb51(0x19b)](_0x321795),_0x351a1e={};_0x351a1e[_0xc1bb51(0x15d)]=[_0x2a8a19[_0xc1bb51(0x139)],_0x2a8a19[_0xc1bb51(0x248)],_0x2a8a19[_0xc1bb51(0x123)],_0x2a8a19[_0xc1bb51(0x225)],_0x2a8a19[_0xc1bb51(0x1dd)],_0x2a8a19[_0xc1bb51(0x12a)],_0x2a8a19[_0xc1bb51(0x19f)],_0x2a8a19[_0xc1bb51(0x255)],_0x2a8a19['RQvOn'],_0x2a8a19[_0xc1bb51(0x118)],_0x2a8a19['WbRQP'],_0x2a8a19[_0xc1bb51(0x102)],_0x2a8a19['apCgY'],_0x2a8a19['ktwjT'],_0x2a8a19[_0xc1bb51(0x15f)],_0x2a8a19[_0xc1bb51(0x1f9)],_0x2a8a19[_0xc1bb51(0x1e9)],_0x2a8a19['qxcLO'],_0x2a8a19[_0xc1bb51(0x180)],_0x2a8a19[_0xc1bb51(0x138)],_0x2a8a19['bzYia'],_0x2a8a19[_0xc1bb51(0x22c)],_0x2a8a19[_0xc1bb51(0x16c)],_0x2a8a19[_0xc1bb51(0x217)]],_0x351a1e[_0xc1bb51(0x103)]=_0x2a8a19['yqUPL'],await this['iamClient'][_0xc1bb51(0x13f)][_0xc1bb51(0x1cf)][_0xc1bb51(0x1d8)]({'parent':'projects/'+this[_0xc1bb51(0x261)],'requestBody':{'role':_0x351a1e,'roleId':this[_0xc1bb51(0x147)]},'auth':_0x4981dd});const _0x1c6786={};_0x1c6786[_0xc1bb51(0x227)]=_0xc1bb51(0x259)+this[_0xc1bb51(0x261)],_0x1c6786[_0xc1bb51(0x184)]={},_0x1c6786[_0xc1bb51(0x167)]=_0x4981dd,_0x1c6786[_0xc1bb51(0x184)][_0xc1bb51(0x10b)]=this['serviceAccountName'];const _0xdba39b=_0x1c6786;await this[_0xc1bb51(0x23e)]['projects'][_0xc1bb51(0x21b)]['create'](_0xdba39b);let _0xb51081=await this[_0xc1bb51(0x1d0)][_0xc1bb51(0xe9)]({'resource':_0xc1bb51(0x259)+this[_0xc1bb51(0x261)]});_0xb51081=_0xb51081[0x0][_0xc1bb51(0x11c)];const _0x3ee11c={};_0x3ee11c[_0xc1bb51(0x154)]=_0xc1bb51(0x259)+this['projectId']+_0xc1bb51(0x1ea)+this[_0xc1bb51(0x147)],_0x3ee11c['members']=['serviceAccount:'+this['serviceAccountName']+'@'+this['projectId']+_0xc1bb51(0x20c)],_0xb51081[_0xc1bb51(0x262)](_0x3ee11c);const _0x10e4ca={};_0x10e4ca[_0xc1bb51(0x11c)]=_0xb51081,await this[_0xc1bb51(0x1d0)][_0xc1bb51(0xfc)]({'resource':_0xc1bb51(0x259)+this[_0xc1bb51(0x261)],'policy':_0x10e4ca}),logger[_0xc1bb51(0x26d)](_0x2a8a19[_0xc1bb51(0x161)]);}async['setupNewCluster'](_0x155c6f=a3_0x539739(0x209),_0x20abf7=[a3_0x539739(0x209)]){const _0x9c2071=a3_0x539739,_0x2c28d5={};_0x2c28d5[_0x9c2071(0x15b)]=_0x9c2071(0x1b6),_0x2c28d5['JAodb']=_0x9c2071(0x1f2),_0x2c28d5[_0x9c2071(0xf4)]=_0x9c2071(0x1ee),_0x2c28d5[_0x9c2071(0x239)]=function(_0x267140,_0x3b4b84){return _0x267140!==_0x3b4b84;},_0x2c28d5[_0x9c2071(0xec)]=_0x9c2071(0x22a),_0x2c28d5['LvuKG']=_0x9c2071(0x209),_0x2c28d5['XdNhR']=function(_0x3414e1,_0x132fd8){return _0x3414e1===_0x132fd8;},_0x2c28d5[_0x9c2071(0x151)]=function(_0x4e7190,_0x5f0eff){return _0x4e7190!==_0x5f0eff;},_0x2c28d5[_0x9c2071(0x21a)]=_0x9c2071(0x1e6);const _0x2321e9=_0x2c28d5,_0x158dff={};_0x158dff[_0x9c2071(0x1db)]=WS_EVENTS['LOG'],_0x158dff[_0x9c2071(0x16f)]=_0x2321e9[_0x9c2071(0x266)],this[_0x9c2071(0x27f)][_0x9c2071(0x228)](this[_0x9c2071(0x17b)],_0x158dff),logger['info'](_0x2321e9[_0x9c2071(0xf4)]);if(!_0x155c6f){if(_0x2321e9[_0x9c2071(0x239)](_0x2321e9[_0x9c2071(0xec)],_0x2321e9[_0x9c2071(0xec)])){const _0x176a79={};_0x176a79[_0x9c2071(0x247)]=_0x2321e9['MYtfs'],_0x2857e1[_0x9c2071(0x117)]=_0x176a79;}else _0x155c6f=_0x2321e9[_0x9c2071(0x1df)];}return(!_0x20abf7||_0x2321e9[_0x9c2071(0x230)](_0x20abf7['length'],0x0))&&(_0x2321e9[_0x9c2071(0x151)](_0x2321e9[_0x9c2071(0x21a)],_0x2321e9[_0x9c2071(0x21a)])?_0x19e75a[_0x9c2071(0x262)](_0x10e715):_0x20abf7=[_0x2321e9[_0x9c2071(0x1df)]]),await this[_0x9c2071(0x232)](),await this[_0x9c2071(0x254)](_0x155c6f,_0x20abf7),await this[_0x9c2071(0x1d3)](),[_0x155c6f,_0x20abf7];}async[a3_0x539739(0x254)](_0x3a26e3='default',_0x1cd3df=[a3_0x539739(0x209)]){const _0x5ed9e3=a3_0x539739,_0xbf7371={};_0xbf7371[_0x5ed9e3(0x174)]=function(_0x5eda97,_0x4d416f){return _0x5eda97===_0x4d416f;},_0xbf7371[_0x5ed9e3(0x24a)]=function(_0x5331f7,_0x225667){return _0x5331f7===_0x225667;},_0xbf7371[_0x5ed9e3(0x149)]=_0x5ed9e3(0x168),_0xbf7371[_0x5ed9e3(0x1c1)]=_0x5ed9e3(0x10f),_0xbf7371[_0x5ed9e3(0x1c3)]=_0x5ed9e3(0xdf),_0xbf7371['jYEbv']='templates',_0xbf7371[_0x5ed9e3(0x21c)]=_0x5ed9e3(0x1c5),_0xbf7371[_0x5ed9e3(0x12c)]=_0x5ed9e3(0x1f0),_0xbf7371['IcFvv']=_0x5ed9e3(0x17d),_0xbf7371[_0x5ed9e3(0x207)]=_0x5ed9e3(0xe8),_0xbf7371[_0x5ed9e3(0x272)]=function(_0x5b437e,_0x40d1fb){return _0x5b437e!==_0x40d1fb;},_0xbf7371[_0x5ed9e3(0x1fe)]=_0x5ed9e3(0xeb),_0xbf7371[_0x5ed9e3(0x182)]=_0x5ed9e3(0x1b6),_0xbf7371[_0x5ed9e3(0xe6)]=function(_0x41664a,_0x3c821e){return _0x41664a*_0x3c821e;},_0xbf7371['DNUlY']=function(_0x2d7a67,_0x48aa09){return _0x2d7a67*_0x48aa09;},_0xbf7371[_0x5ed9e3(0x22d)]=function(_0x3433c0,_0xf62b7f){return _0x3433c0!==_0xf62b7f;},_0xbf7371['zzKoG']=_0x5ed9e3(0xe4),_0xbf7371[_0x5ed9e3(0xe1)]=function(_0x11aad1,_0x2f0197){return _0x11aad1===_0x2f0197;},_0xbf7371['yuNQz']=_0x5ed9e3(0x159),_0xbf7371['wkxzl']='bXIsw',_0xbf7371[_0x5ed9e3(0x215)]=_0x5ed9e3(0x1e2),_0xbf7371[_0x5ed9e3(0x222)]=_0x5ed9e3(0x193),_0xbf7371[_0x5ed9e3(0xfd)]='Cluster\x20creation\x20failed';const _0x22e849=_0xbf7371;try{if(_0x22e849[_0x5ed9e3(0x24a)](_0x22e849['otkhj'],_0x22e849[_0x5ed9e3(0x1c1)]))_0x58420c[_0x5ed9e3(0x115)](_0xf73d4);else{logger[_0x5ed9e3(0x26d)](_0x22e849[_0x5ed9e3(0x1c3)]);let _0x4126b2=await fs[_0x5ed9e3(0x15a)](path['join'](__dirname,'..',_0x22e849['jYEbv'],_0x22e849[_0x5ed9e3(0x21c)],_0x22e849[_0x5ed9e3(0x12c)]),_0x22e849[_0x5ed9e3(0x148)]);_0x4126b2=JSON[_0x5ed9e3(0x1e3)](_0x4126b2);let _0x5ccd08=await fs['readFileAsync'](path['join'](__dirname,'..',_0x22e849[_0x5ed9e3(0xe5)],_0x22e849[_0x5ed9e3(0x21c)],_0x22e849[_0x5ed9e3(0x207)]),_0x22e849[_0x5ed9e3(0x148)]);_0x5ccd08=JSON['parse'](_0x5ccd08);const _0x23eaab=global_registry[_0x5ed9e3(0x12b)];_0x4126b2['name']=this[_0x5ed9e3(0x203)],_0x4126b2[_0x5ed9e3(0x26f)][0x0][_0x5ed9e3(0x19e)][_0x5ed9e3(0x277)]=global_registry[_0x5ed9e3(0xff)],_0x4126b2[_0x5ed9e3(0x26f)][0x1]['config']['machineType']=global_registry[_0x5ed9e3(0xff)],_0x4126b2['nodePools'][0x0][_0x5ed9e3(0x19e)][_0x5ed9e3(0x198)]=this[_0x5ed9e3(0x140)]+'@'+this[_0x5ed9e3(0x261)]+_0x5ed9e3(0x20c),_0x4126b2[_0x5ed9e3(0x26f)][0x1][_0x5ed9e3(0x19e)][_0x5ed9e3(0x198)]=this[_0x5ed9e3(0x140)]+'@'+this[_0x5ed9e3(0x261)]+_0x5ed9e3(0x20c),_0x4126b2[_0x5ed9e3(0x26f)][0x0][_0x5ed9e3(0xef)][_0x5ed9e3(0x1d1)]=global_registry['minNodes'],_0x4126b2[_0x5ed9e3(0x26f)][0x1][_0x5ed9e3(0xef)][_0x5ed9e3(0x1d1)]=0x0,_0x4126b2['nodePools'][0x0][_0x5ed9e3(0x1aa)]['autoUpgrade']=_0x23eaab,_0x4126b2['nodePools'][0x1][_0x5ed9e3(0x1aa)][_0x5ed9e3(0x201)]=_0x23eaab,_0x4126b2['nodePools'][0x0][_0x5ed9e3(0xef)]['maxNodeCount']=global_registry[_0x5ed9e3(0x1c7)],_0x4126b2[_0x5ed9e3(0x26f)][0x1][_0x5ed9e3(0xef)][_0x5ed9e3(0x134)]=global_registry['maxNodes'],_0x4126b2['location']=global_registry[_0x5ed9e3(0x285)],_0x4126b2['locations']=[_0x5ccd08[global_registry[_0x5ed9e3(0x285)]][0x0]],_0x4126b2[_0x5ed9e3(0x21f)]=_0x5ed9e3(0x259)+this['projectId']+_0x5ed9e3(0x146)+_0x3a26e3,_0x4126b2[_0x5ed9e3(0x25d)]=_0x5ed9e3(0x259)+this[_0x5ed9e3(0x261)]+_0x5ed9e3(0x19c)+global_registry['clusterRegion']+_0x5ed9e3(0x283)+_0x1cd3df[0x0];if(_0x23eaab){if(_0x22e849[_0x5ed9e3(0x272)](_0x22e849[_0x5ed9e3(0x1fe)],_0x22e849[_0x5ed9e3(0x1fe)]))return![];else{const _0x547a58={};_0x547a58[_0x5ed9e3(0x247)]=_0x22e849[_0x5ed9e3(0x182)],_0x4126b2[_0x5ed9e3(0x117)]=_0x547a58;}}const _0x3a294d=await this[_0x5ed9e3(0x17c)]['createCluster']({'cluster':_0x4126b2,'parent':_0x5ed9e3(0x259)+this[_0x5ed9e3(0x261)]+_0x5ed9e3(0x24b)+global_registry[_0x5ed9e3(0x285)]});await this[_0x5ed9e3(0x27f)][_0x5ed9e3(0xf1)](_0x22e849[_0x5ed9e3(0xe6)](_0x22e849[_0x5ed9e3(0x200)](0x7,0x3c),0x3e8));}}catch(_0x6877c){if(_0x22e849[_0x5ed9e3(0x22d)](_0x22e849[_0x5ed9e3(0x125)],_0x22e849[_0x5ed9e3(0x125)]))_0x328d19=_0x3ccd7a[_0x5ed9e3(0x221)](_0x155be6[_0x3d98aa[_0x5ed9e3(0x285)]]);else{const _0x42a1f5=await this['isClusterPresent']();if(_0x42a1f5)_0x22e849['LOMMR'](_0x22e849[_0x5ed9e3(0x212)],_0x22e849[_0x5ed9e3(0x179)])?_0x445f3e['status']=![]:(logger[_0x5ed9e3(0x26d)](_0x22e849[_0x5ed9e3(0x215)],_0x6877c[_0x5ed9e3(0x275)]),await this[_0x5ed9e3(0x287)]());else{if(_0x22e849[_0x5ed9e3(0x24a)](_0x22e849[_0x5ed9e3(0x222)],_0x22e849['lFfig']))logger[_0x5ed9e3(0x26d)](_0x22e849[_0x5ed9e3(0xfd)]);else{if(_0x22e849[_0x5ed9e3(0x174)](_0x585cc4?.[_0x5ed9e3(0x227)],_0x5ed9e3(0x259)+this['projectId']+'/serviceAccounts/'+this['serviceAccountName']+'@'+this[_0x5ed9e3(0x261)]+_0x5ed9e3(0x20c)))return!![];}}throw _0x6877c;}}}async[a3_0x539739(0x188)](_0xe699a7,_0x22f712,_0x15aefc,_0x529041,_0x3e36a4){}async[a3_0x539739(0x1d3)](){const _0x4aa16c=a3_0x539739;cp['execSync'](_0x4aa16c(0x11b)+this[_0x4aa16c(0x203)]+_0x4aa16c(0x1f1)+global_registry[_0x4aa16c(0x285)]+_0x4aa16c(0x186));}async[a3_0x539739(0x287)](_0x13605d,_0x2f02ed){const _0x4dca08=a3_0x539739,_0x5e016e={'YzjIk':_0x4dca08(0x27a),'QBscN':function(_0x1a7a02,_0x4db1a2){return _0x1a7a02===_0x4db1a2;},'lRUBw':function(_0x4f7058,_0x561a51){return _0x4f7058===_0x561a51;},'NTPPS':'IgKeN','VugOR':_0x4dca08(0x23b),'yuTSs':function(_0x5ae20c,_0x2bbc49){return _0x5ae20c(_0x2bbc49);},'ZcQeT':function(_0x35c07e,_0x2a86a4){return _0x35c07e(_0x2a86a4);},'KRsdJ':'RUNNING','dGxwS':function(_0x44cf6c,_0x5820e3){return _0x44cf6c===_0x5820e3;},'srDlF':'DONE','AlNvy':_0x4dca08(0x141),'CRwVw':'DQqEa','XvMgB':'Cluster\x20deletion\x20completed','pQJRF':function(_0x243859,_0x1cb076){return _0x243859===_0x1cb076;},'mSDzv':_0x4dca08(0x145),'kOhGX':_0x4dca08(0x158),'qQImh':_0x4dca08(0x1c0)};try{if(_0x5e016e[_0x4dca08(0x13b)](_0x5e016e[_0x4dca08(0x176)],_0x5e016e['VugOR']))return!![];else{await _0x5e016e[_0x4dca08(0x129)](deleteAgent,_0x13605d),await _0x5e016e[_0x4dca08(0x25f)](deleteRoutingDeps,_0x13605d),logger[_0x4dca08(0x26d)](_0x4dca08(0x1a8)+this[_0x4dca08(0x203)]);const _0x1e525e=await this['containerClient'][_0x4dca08(0x287)]({'name':'projects/'+this['projectId']+_0x4dca08(0x24b)+global_registry['clusterRegion']+_0x4dca08(0x107)+this['clusterName']});if(_0x5e016e['QBscN'](_0x1e525e[0x0]?.[_0x4dca08(0x127)],_0x5e016e[_0x4dca08(0x1fd)])||_0x5e016e[_0x4dca08(0x122)](_0x1e525e[0x0]?.['status'],_0x5e016e[_0x4dca08(0x160)])){if(_0x5e016e['QBscN'](_0x5e016e[_0x4dca08(0x1fc)],_0x5e016e[_0x4dca08(0x10a)]))_0x1c44fc[_0x4dca08(0x26d)](_0x5e016e[_0x4dca08(0x20b)]);else return!![];}logger[_0x4dca08(0x26d)](_0x5e016e[_0x4dca08(0x244)]);}}catch(_0x2a79ad){if(_0x5e016e[_0x4dca08(0x142)](_0x5e016e[_0x4dca08(0x16b)],_0x5e016e[_0x4dca08(0x1bd)])){const _0x1c95e5=_0x4dca08(0x24d)+this[_0x4dca08(0x261)]+'/regions/'+_0x3c31da[_0x4dca08(0x285)]+'/subnetworks/'+_0x28220c[0x0];if(_0x5e016e[_0x4dca08(0x170)](_0x1c95e5,_0x56dba6))return[!![],_0x16164e];}else{logger['info'](_0x5e016e['qQImh']);throw _0x2a79ad;}}}async[a3_0x539739(0x1d4)](_0x1d3387){const _0x2af044=a3_0x539739,_0x3ee676={};_0x3ee676[_0x2af044(0x163)]=_0x2af044(0x126),_0x3ee676['nxZmB']='denied',_0x3ee676[_0x2af044(0x205)]=function(_0x18a7aa,_0x4d52d5){return _0x18a7aa===_0x4d52d5;},_0x3ee676['Zxrvk']=_0x2af044(0x17e),_0x3ee676[_0x2af044(0x23a)]=_0x2af044(0x12d),_0x3ee676['QdXlL']=function(_0x17c8e2,_0x44516d){return _0x17c8e2>_0x44516d;},_0x3ee676[_0x2af044(0x1a0)]=_0x2af044(0x1d6),_0x3ee676[_0x2af044(0x24f)]=_0x2af044(0x274),_0x3ee676[_0x2af044(0x1cb)]=function(_0x294966,_0x57a6da){return _0x294966===_0x57a6da;},_0x3ee676[_0x2af044(0x10e)]=_0x2af044(0x14e);const _0x5a57df=_0x3ee676;try{if(_0x5a57df[_0x2af044(0x205)](_0x5a57df[_0x2af044(0x21e)],_0x5a57df['zcKXJ'])){const _0x4b3a41=_0x2ed541[_0x2af044(0x284)][_0x2af044(0x1ba)](_0x13fe90);_0x2bbd1c+='\x0a\x09'+_0x35ce32+'\x20:\x20'+(_0x4b3a41?_0x5a57df[_0x2af044(0x163)]:_0x5a57df[_0x2af044(0x14b)]),!_0x4b3a41&&(_0x2b55dd[_0x2af044(0x127)]=![]);}else{const _0x5f0471=await this[_0x2af044(0x13c)][_0x2af044(0x101)]({'project':this[_0x2af044(0x261)],'network':_0x1d3387});if(_0x5a57df['QdXlL'](_0x5f0471[_0x2af044(0x164)],0x0)&&_0x5a57df[_0x2af044(0x205)](_0x5f0471[0x0][_0x2af044(0x227)],_0x1d3387))return _0x5a57df[_0x2af044(0x205)](_0x5a57df[_0x2af044(0x1a0)],_0x5a57df['OCxDP'])?!![]:!![];}}catch(_0x10d425){return _0x5a57df[_0x2af044(0x1cb)](_0x5a57df[_0x2af044(0x10e)],_0x5a57df[_0x2af044(0x10e)])?![]:(_0x5b6ed2[_0x2af044(0x194)](_0x2af044(0x1b3)+_0x4605b9+_0x2af044(0x16a)+_0x3f528a),[![],[]]);}return![];}async['isSubnetsValid'](_0x5f01e9,_0x4e119c){const _0x3f26c2=a3_0x539739,_0x5b2681={};_0x5b2681[_0x3f26c2(0x1c4)]=_0x3f26c2(0x209),_0x5b2681[_0x3f26c2(0x175)]=function(_0x46c52c,_0x9d53f3){return _0x46c52c!==_0x9d53f3;},_0x5b2681['cPwel']=function(_0x431090,_0xe63016){return _0x431090===_0xe63016;},_0x5b2681['oEmxV']=_0x3f26c2(0x250),_0x5b2681['qJvAw']=function(_0x386ced,_0x162f19){return _0x386ced+_0x162f19;},_0x5b2681[_0x3f26c2(0x131)]=_0x3f26c2(0x14a),_0x5b2681[_0x3f26c2(0xf8)]=_0x3f26c2(0x150),_0x5b2681[_0x3f26c2(0x223)]=_0x3f26c2(0x267),_0x5b2681[_0x3f26c2(0x190)]=_0x3f26c2(0xfa),_0x5b2681[_0x3f26c2(0x27d)]=_0x3f26c2(0x178),_0x5b2681['wRFIx']=_0x3f26c2(0x124);const _0x2da45d=_0x5b2681;try{if(_0x2da45d[_0x3f26c2(0x175)](_0x2da45d[_0x3f26c2(0x131)],_0x2da45d[_0x3f26c2(0xf8)])){const _0x28c504=await this[_0x3f26c2(0x13c)]['get']({'project':this[_0x3f26c2(0x261)],'network':_0x4e119c});for(const _0x3ee774 of _0x28c504[0x0][_0x3f26c2(0x1f7)]){if(_0x2da45d[_0x3f26c2(0x181)](_0x2da45d[_0x3f26c2(0x223)],_0x2da45d[_0x3f26c2(0x190)]))_0x1349b5=[_0x2da45d['bySCX']];else{const _0x7d6170='https://www.googleapis.com/compute/v1/projects/'+this[_0x3f26c2(0x261)]+'/regions/'+global_registry['clusterRegion']+_0x3f26c2(0x283)+_0x5f01e9[0x0];if(_0x2da45d['cPwel'](_0x7d6170,_0x3ee774))return _0x2da45d[_0x3f26c2(0x175)](_0x2da45d['vQeQh'],_0x2da45d[_0x3f26c2(0x27d)])?(_0x2da45d['nGCcL'](_0x38c2d0['clusterRegion'],_0xb71f0e[0x0])&&(_0x4df00b[_0x3f26c2(0x285)]=_0x18e984[0x0],this[_0x3f26c2(0x157)]()),!![]):[!![],_0x5f01e9];}}}else{const _0x5ec338=_0x54776a[0x0]?.[_0x3f26c2(0x1f8)]?.[_0x3f26c2(0x197)];return _0x5ec338&&_0x2da45d[_0x3f26c2(0x181)](_0x5ec338[_0x3f26c2(0x183)](),_0x2da45d[_0x3f26c2(0x282)]);}}catch(_0x4b1f20){if(_0x2da45d[_0x3f26c2(0x181)](_0x2da45d['wRFIx'],_0x2da45d[_0x3f26c2(0x224)]))return logger[_0x3f26c2(0x194)](_0x3f26c2(0x1b3)+_0x5f01e9+_0x3f26c2(0x16a)+_0x4b1f20),[![],[]];else _0x196260[_0x3f26c2(0x1a6)]('['+_0x2da45d[_0x3f26c2(0x19a)](_0x4bbdab,0x1)+']\x20'+_0x183b19[_0x552908]);}return[![],[]];}async[a3_0x539739(0x1ec)](){const _0xe510d9=a3_0x539739,_0x474244={};_0x474244[_0xe510d9(0x1d2)]=function(_0x5af94f,_0x44f21a){return _0x5af94f!==_0x44f21a;},_0x474244[_0xe510d9(0x1ae)]=_0xe510d9(0x27e),_0x474244[_0xe510d9(0x177)]='TsokE';const _0x21af84=_0x474244,_0x97f826=await this[_0xe510d9(0x13c)][_0xe510d9(0x144)]({'project':this[_0xe510d9(0x261)]}),_0x2f8595={};_0x2f8595[_0xe510d9(0x1cc)]=global_registry['bstackUsername'],_0x2f8595[_0xe510d9(0x166)]=global_registry[_0xe510d9(0x1bc)],_0x2f8595[_0xe510d9(0x1af)]=GCP,_0x2f8595[_0xe510d9(0x26e)]=[];const _0x36d99c=_0x2f8595;for(const _0x445766 of _0x97f826){if(_0x21af84[_0xe510d9(0x1d2)](_0x21af84['intpo'],_0x21af84['zKsjt']))_0x36d99c[_0xe510d9(0x26e)][_0xe510d9(0x262)](_0x445766);else return[!![],_0x41a5d7];}const _0x425eb1={};_0x425eb1[_0xe510d9(0x1db)]=WS_EVENTS[_0xe510d9(0x132)],_0x425eb1[_0xe510d9(0x16f)]=_0x36d99c,this['webSocketUtils'][_0xe510d9(0x228)](this['rws'],_0x425eb1);}async[a3_0x539739(0x157)](){const _0x50cdfb=a3_0x539739,_0x235396={'ayXyn':function(_0x2367f6,_0x376cec,_0x4064c0){return _0x2367f6(_0x376cec,_0x4064c0);},'qKDFd':_0x50cdfb(0x121),'Ljpwd':'json','Qvxit':function(_0x26cb6d,_0x2a26d3,_0x3c8300){return _0x26cb6d(_0x2a26d3,_0x3c8300);}},_0x2ef687=_0x50cdfb(0x1a9)+AG_API_URL+_0x50cdfb(0x218),_0x3c92b7={};_0x3c92b7[_0x50cdfb(0x246)]=global_registry[_0x50cdfb(0x1cd)];const _0x4ed4ad={};_0x4ed4ad[_0x50cdfb(0x226)]=global_registry[_0x50cdfb(0x285)];const _0x310baf={'searchParams':_0x3c92b7,'json':_0x4ed4ad,'headers':_0x235396[_0x50cdfb(0x192)](getAuthHeader,global_registry['bstackUsername'],global_registry[_0x50cdfb(0x1bc)]),'method':_0x235396[_0x50cdfb(0x211)],'responseType':_0x235396['Ljpwd'],'throwHttpErrors':![]},_0x1642d4=await _0x235396[_0x50cdfb(0x251)](got,_0x2ef687,_0x310baf);}async[a3_0x539739(0x206)](){const _0x125e19=a3_0x539739,_0x1f645b={'wDVAz':function(_0x81074a,_0xdd65ba){return _0x81074a(_0xdd65ba);},'crmOj':_0x125e19(0xf2),'oIWqu':_0x125e19(0x234),'CTPBT':'cli\x20tool\x20is\x20installed'},_0x195dc9={};_0x195dc9['status']=![],_0x195dc9['error']=null,_0x195dc9['data']='';const _0x1dde2d=_0x195dc9;try{const _0x402e18=await _0x1f645b[_0x125e19(0xf7)](runCommand,_0x1f645b[_0x125e19(0x19d)]);_0x402e18[_0x125e19(0x1e5)](_0x1f645b[_0x125e19(0x233)])?logger['warn'](_0x402e18):logger[_0x125e19(0x171)](_0x402e18),_0x1dde2d[_0x125e19(0x127)]=!![],_0x1dde2d[_0x125e19(0x25b)]=_0x1f645b[_0x125e19(0x18d)];}catch(_0x37857f){logger[_0x125e19(0x194)](_0x125e19(0x18e)+_0x37857f+_0x125e19(0x133)+_0x37857f[_0x125e19(0x275)]),_0x1dde2d[_0x125e19(0x25b)]=_0x125e19(0x22e)+_0x37857f,_0x1dde2d[_0x125e19(0x194)]=_0x37857f;}return _0x1dde2d;}async['checkAccess'](){const _0x5a6e50=a3_0x539739,_0x1449b4={};_0x1449b4[_0x5a6e50(0x256)]='allowed',_0x1449b4[_0x5a6e50(0x1a5)]=_0x5a6e50(0x11d);const _0x5d10c8=_0x1449b4,_0x1e9964={};_0x1e9964[_0x5a6e50(0x127)]=![],_0x1e9964[_0x5a6e50(0x194)]=null,_0x1e9964[_0x5a6e50(0x25b)]='';const _0x520344=_0x1e9964;try{let _0x2231f9='';const _0x416295=_0x5a6e50(0x259)+this[_0x5a6e50(0x261)],[_0x18cd40]=await this[_0x5a6e50(0x1d0)][_0x5a6e50(0x1b9)]({'resource':_0x416295,'permissions':Object[_0x5a6e50(0x119)](PERMISSIONS)});_0x520344['status']=!![],logger['debug'](_0x5a6e50(0x20e)+_0x416295+':\x20'+JSON[_0x5a6e50(0x26b)](_0x18cd40)),Object[_0x5a6e50(0x189)](PERMISSIONS)[_0x5a6e50(0x1e4)](([_0x20da47,_0x14266c])=>{const _0x4e0175=_0x5a6e50,_0x5b3dd6=_0x18cd40['permissions'][_0x4e0175(0x1ba)](_0x20da47);_0x2231f9+='\x0a\x09'+_0x14266c+'\x20:\x20'+(_0x5b3dd6?_0x5d10c8['ALfDX']:_0x5d10c8['zpzha']),!_0x5b3dd6&&(_0x520344[_0x4e0175(0x127)]=![]);}),_0x520344[_0x5a6e50(0x25b)]=_0x2231f9;}catch(_0x214191){_0x520344[_0x5a6e50(0x194)]=_0x214191;}return _0x520344;}}const a3_0x3becb8={};function a3_0x207f(){const _0x1de376=['../config/constants','info','vpcInfo','nodePools','init','SjMWz','lVBzB','yqdfW','EWehv','stack','hGtRT','machineType','fWzyj','project_id','Cluster\x20creation\x20failed','Creating\x20service\x20account','yVbLi','vQeQh','tZdXG','webSocketUtils','apCgY','Glvcp','oEmxV','/subnetworks/','permissions','clusterRegion','../config/logger','deleteCluster','clusters','yAvKR','Creating\x20GKE\x20Cluster','turboscale_custom_role','LOMMR','Service\x20account\x20already\x20exists,\x20skipping','dZMsz','XPsve','jYEbv','hEjJZ','storage.buckets.listTagBindings','regionmap.json','getIamPolicy','oCuhk','Vgois','JbAwQ','gcp_credentials.json','accounts','autoscaling','toString','delay','gcloud\x20--version','exec','fIDyc','12IldDhL','NRHiE','wDVAz','JMkjy','setCachedCredsInRegistry','qKFFg','qosXY','setIamPolicy','rqzFj','28898JEgVlu','instanceType','VfdyJ','get','oPSwE','title','WbRQP','storage.multipartUploads.listParts','writeFileSync','/clusters/','jjRjD','SZPoG','CRwVw','accountId','keyFile','64360rbmWVs','aigai','rFqbR','uhHSv','Proceeding\x20with\x20the\x20cluster\x20in\x20the\x20location\x20-\x20','getGridHostname','qMaYO','SxEgV','warn','NMAza','releaseChannel','ajYCx','keys','gke_','gcloud\x20container\x20node-pools\x20update\x20windows-pool\x20--cluster=','bindings','denied','iam','CmjAH','Qexqs','PUT','dGxwS','fGZmu','HYTco','zzKoG','allowed','status','storage.buckets.getIamPolicy','yuTSs','GAyyl','clusterAutoUpgrade','UfqgZ','EisTM','AAXVi','path','storage.objects.update','phDSU','RESOURCES','\x20:\x20','maxNodeCount','../utils/userInput','GEeHd','amPUC','pLooZ','vqYNd','execSync','lRUBw','networkClient','ydvUH','2532184rWqNCI','organizations','serviceAccountName','ozkUF','pQJRF','1153932zgapYo','list','QVFXO','/global/networks/','customRoleName','IcFvv','otkhj','FNDph','nxZmB','clusterCaCertificate','got','kWhpo','stLTc','ixCAO','efdDP','374092JfyjHC','storage.buckets.create','role','storage.objects.setIamPolicy','replace','updateClusterRegion','wDEmW','rgQnA','readFileAsync','MYtfs','Found\x20cluster\x20with\x20name\x20\x27','includedPermissions','Enter\x20Key\x20file\x20(.json)\x20path\x20for\x20GCP\x20Service\x20Account:\x20','ztEBG','srDlF','Apvxq','../permissions/GCP.json','bywwX','length','slXBz','accessKey','auth','tCkTh','JWcLJ','.\x20Error:\x20','mSDzv','tccVi','JskmU','@google-cloud/resource-manager','message','QBscN','debug','YTrSX','YPhBS','dfMua','nGCcL','NTPPS','zKsjt','HDLSB','wkxzl','parent','rws','containerClient','utf-8','VjVrj','googleapis','WaBgy','cPwel','yyGUI','toLowerCase','requestBody','wuJsB','\x20--quiet\x20--user-output-enabled=false','hxHBL','setupHubHa','entries','storage.buckets.get','Service\x20Account\x20created,\x20proceeding\x20with\x20Cluster\x20creation','AiJwA','CTPBT','error\x20:\x20','10YYAKUJ','MYSun','projects','ayXyn','NAdSe','error','NqEIH','zOhzh','managedby','serviceAccount','hizLm','qJvAw','getClient','/regions/','crmOj','config','wfFjH','vzpQm','vaeSb','exit','ingress','DOAgI','zpzha','log','fMZRx','Deleting\x20the\x20cluster\x20','https://','management','storage.objects.list','dgxAO','wnaGV','intpo','cloudProvider','NNzxa','gcloud\x20auth\x20login\x20--cred-file=','storage.objects.delete','Cannot\x20find\x20subnets\x20','VPbtE','BdYIG','REGULAR','@google-cloud/compute','4024027OZmJMt','testIamPermissions','includes','child_process','bstackAccesskey','kOhGX','SeWRE','UXstm','GKE\x20Cluster\x20deletion\x20failed','zhYeq','QvTZj','ozxip','bySCX','gcpresources','KaXCj','maxNodes','storage.buckets.listEffectiveTags','fXBpp','yqUPL','aSRxZ','username','gridProfileId','storage.buckets.update','roles','resourcemanagerClient','minNodeCount','MqjbT','updateWindowsNodeGroup','isVPCPresent','5487354GPBvxH','bvJvL','rUAmB','create','BrXGW','ttLYZ','type','ZFpbD','oylsE','/serviceAccounts/','LvuKG','RQvOn','VsGIY','Cluster\x20creation\x20failed,\x20rolling\x20back\x20cluster\x20creation:\x20','parse','forEach','startsWith','sQJly','join','sendResourceDataToHST','enCmT','/roles/','WPKhR','sendGCPInfoToHST','isClusterPresent','Creating\x20required\x20dependencies\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account','FjVbk','gkecluster.json','\x20--windows-os-version=ltsc2022\x20--region\x20','Creating\x20required\x20resources\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account','sFuoG','Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','qBDVb','checkServiceAccount','subnetworks','resourceLabels','YAQiV','masterAuth','NfRNg','AlNvy','KRsdJ','DqAUI','iroun','DNUlY','autoUpgrade','storage.objects.get','clusterName','scopes','WnmJz','isCliToolInstalled','zVQJe','FQUJH','default','storage.objects.create','YzjIk','.iam.gserviceaccount.com','credentialsPath','permissions\x20check\x20response\x20for\x20','loadBalancer','fGFcS','qKDFd','yuNQz','2|0|8|7|5|6|1|3|4','VHORG','cbtOL','Heqml','iDttR','/packages/cli/update-cluster-region','getKubeConfigData','WHZMd','serviceAccounts','OVuil','storage.objects.getIamPolicy','Zxrvk','network','GoogleCloudProvider','concat','lFfig','GCCWI','wRFIx','YMjIK','newRegion','name','sendEventToBackend','./CloudProvider','HVgQa','iAoBR','ygfkD','wlYgw','Please\x20install\x20gcloud\x20CLI\x20tool.\x20Error\x20:\x20','sVzfd','XdNhR','NetworksClient','setupServiceAccount','oIWqu','Intercepted','Ytfpi','https://www.googleapis.com/auth/cloud-platform','sxUvO','storage.multipartUploads.list','AKZXS','zcKXJ','IWTql','psCBU','KubeConfigTemplate.yaml','iamClient','dugGT','@google-cloud/container','ktiyn','getClusterInfo','vPSrQ','XvMgB','WeIqo','profileId','channel','TRQYy','storage.buckets.setIamPolicy','zxPqY','/locations/','Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','https://www.googleapis.com/compute/v1/projects/','fevrj','OCxDP','browserstack','Qvxit','KyGJQ','fpZVZ','createCluster','VeeoB','ALfDX','getUserInput','enLAn','projects/','storage.multipartUploads.abort','data','storage.buckets.createTagBinding','subnetwork','bzYia','ZcQeT','HPZZn','projectId','push','jSsNz','qxcLO','xhAGM','JAodb','lVbUo','VToEv','getCluster','../utils/utilityMethods','stringify'];a3_0x207f=function(){return _0x1de376;};return a3_0x207f();}a3_0x3becb8[a3_0x539739(0x220)]=GoogleCloudProvider,module['exports']=a3_0x3becb8;
@@ -1 +1 @@
1
- const a4_0x523301=a4_0x2b22;function a4_0x2b22(_0xfe9619,_0x4f92bb){const _0x2c663b=a4_0x2c66();return a4_0x2b22=function(_0x2b227a,_0x555b21){_0x2b227a=_0x2b227a-0x117;let _0x32f6b5=_0x2c663b[_0x2b227a];return _0x32f6b5;},a4_0x2b22(_0xfe9619,_0x4f92bb);}(function(_0x313b64,_0xba70f8){const _0x168c41=a4_0x2b22,_0x18e204=_0x313b64();while(!![]){try{const _0x21788d=parseInt(_0x168c41(0x117))/0x1*(-parseInt(_0x168c41(0x128))/0x2)+parseInt(_0x168c41(0x132))/0x3*(-parseInt(_0x168c41(0x12d))/0x4)+-parseInt(_0x168c41(0x12c))/0x5+-parseInt(_0x168c41(0x123))/0x6+parseInt(_0x168c41(0x125))/0x7*(-parseInt(_0x168c41(0x11d))/0x8)+parseInt(_0x168c41(0x135))/0x9+parseInt(_0x168c41(0x11c))/0xa;if(_0x21788d===_0xba70f8)break;else _0x18e204['push'](_0x18e204['shift']());}catch(_0x9dc7ba){_0x18e204['push'](_0x18e204['shift']());}}}(a4_0x2c66,0xc4a54));const {AWSCloudProvider}=require('./AWS'),{GoogleCloudProvider}=require(a4_0x523301(0x134)),{installAzurePackages,IsNodeCompatibleWithAzure}=require(a4_0x523301(0x130)),{AWS,AZURE,GCP,messageTypes}=require(a4_0x523301(0x13d)),{sendInstrumentationEvent}=require('../utils/instrumentationUtils'),{logger}=require(a4_0x523301(0x136));exports['getCloudProviderObject']=async(_0x352cd7,_0x32232b,_0x47ef6b,_0x3a33bf,_0x21790f,_0xfa0497)=>{const _0x3f8d3e=a4_0x523301,_0x534cd0={'CtTKn':function(_0x5aadcc){return _0x5aadcc();},'WAeUY':function(_0x2e142a,_0x104255){return _0x2e142a(_0x104255);},'FKcEy':_0x3f8d3e(0x121),'qyzMG':function(_0x4d2baf,_0x4f5f31,_0x4e9932,_0x46c6eb,_0xb610c6,_0x4b6690,_0x4567c6){return _0x4d2baf(_0x4f5f31,_0x4e9932,_0x46c6eb,_0xb610c6,_0x4b6690,_0x4567c6);},'jEkhV':_0x3f8d3e(0x119),'BPMQE':_0x3f8d3e(0x133)};switch(_0x352cd7){case AWS:{const _0x4665c9=new AWSCloudProvider(_0x32232b,_0x47ef6b,_0x3a33bf,_0x21790f);return await _0x4665c9[_0x3f8d3e(0x139)]();}case GCP:{const _0x508709=new GoogleCloudProvider(_0x32232b,_0x47ef6b,_0x3a33bf,_0x21790f);return await _0x508709[_0x3f8d3e(0x139)]();}case AZURE:{try{await _0x534cd0[_0x3f8d3e(0x11b)](installAzurePackages);const {AzureCloudProvider:_0xf6f257}=_0x534cd0[_0x3f8d3e(0x12f)](require,_0x534cd0[_0x3f8d3e(0x122)]),_0x3a79e4=new _0xf6f257(_0x32232b,_0x47ef6b,_0x3a33bf,_0x21790f);return await _0x3a79e4['init']();}catch(_0x1ad126){const _0x245fdc='Current\x20Node.js\x20version\x20'+process[_0x3f8d3e(0x131)][_0x3f8d3e(0x13a)]+_0x3f8d3e(0x12a)+_0x1ad126[_0x3f8d3e(0x138)]+_0x3f8d3e(0x12e)+_0x1ad126['stack'];logger['error'](_0x245fdc);const _0x18fb63={};_0x18fb63[_0x3f8d3e(0x118)]=_0x245fdc,await _0x534cd0[_0x3f8d3e(0x137)](sendInstrumentationEvent,_0xfa0497,_0x534cd0[_0x3f8d3e(0x11f)],messageTypes[_0x3f8d3e(0x120)],_0x534cd0[_0x3f8d3e(0x13b)],_0x18fb63,_0xfa0497),process[_0x3f8d3e(0x11a)](0x1);}}default:logger[_0x3f8d3e(0x118)](_0x3f8d3e(0x12b)+_0x352cd7),process['exit'](0x1);}},exports[a4_0x523301(0x129)]=async(_0x10b7b0,_0x29a996,_0x155fb7,_0xc61dc2,_0x4ca539,_0xec915d)=>{const _0x333deb=a4_0x523301,_0x4b0642={'RkDeF':function(_0x2e8a29){return _0x2e8a29();},'aWjxW':function(_0x5c109f){return _0x5c109f();},'qGxgU':function(_0x24ac0c,_0x126ca6){return _0x24ac0c(_0x126ca6);},'Rbxfc':'./Azure'};switch(_0x10b7b0){case AWS:return new AWSCloudProvider(_0x29a996,_0x155fb7,_0xc61dc2,_0x4ca539);case GCP:return new GoogleCloudProvider(_0x29a996,_0x155fb7,_0xc61dc2,_0x4ca539);case AZURE:{!_0x4b0642[_0x333deb(0x127)](IsNodeCompatibleWithAzure)&&(logger[_0x333deb(0x118)](_0x333deb(0x11e)+process[_0x333deb(0x131)][_0x333deb(0x13a)]+_0x333deb(0x126)),process[_0x333deb(0x11a)](0x1));await _0x4b0642[_0x333deb(0x13c)](installAzurePackages);const {AzureCloudProvider:_0x1c64d1}=_0x4b0642[_0x333deb(0x124)](require,_0x4b0642['Rbxfc']);return new _0x1c64d1(_0x29a996,_0x155fb7,_0xc61dc2,_0x4ca539);}default:logger['error'](_0x333deb(0x12b)+_0x10b7b0),process['exit'](0x1);}};function a4_0x2c66(){const _0x43aafa=['2230485qZYBFv','2799068lQvMUh',',\x20stacktrace:\x20','WAeUY','../utils/utilityMethods','versions','3SbitZE','grid-spawning-failed','./GoogleCloudProvider','1061325ZEXntI','../config/logger','qyzMG','message','init','node','BPMQE','aWjxW','../config/constants','27710JPXFvs','error','create-grid-called','exit','CtTKn','36925440rHYihB','8WnfHIA','Current\x20Node.js\x20version\x20','jEkhV','ERROR','./Azure','FKcEy','7951212CcPzRS','qGxgU','3349661SWTPDj','\x20Please\x20use\x20Node.js\x20version\x2018\x20or\x20higher\x20to\x20setup\x20your\x20grid\x20in\x20Azure.','RkDeF','4GHvGWb','getCloudProviderObjectWithOutInit','\x20is\x20not\x20supported.\x20Please\x20use\x20Node.js\x20version\x2018\x20or\x20higher\x20to\x20setup\x20your\x20grid\x20in\x20Azure.\x20Error:\x20','Unknown\x20cloud\x20provider\x20found\x20-\x20'];a4_0x2c66=function(){return _0x43aafa;};return a4_0x2c66();}
1
+ function a4_0x6d4b(){const _0x2ffb83=['node','init','exit','Unknown\x20cloud\x20provider\x20found\x20-\x20','3174648LFihNe','kycbd','UiRgy','MwCaj','7760JEXKXD','Current\x20Node.js\x20version\x20','\x20Please\x20use\x20Node.js\x20version\x2018\x20or\x20higher\x20to\x20setup\x20your\x20grid\x20in\x20Azure.','eOaXB','./GoogleCloudProvider','661938ClSYsx','5450040UCCvlV','2UyXaHc','gaFZE','\x20is\x20not\x20supported.\x20Please\x20use\x20Node.js\x20version\x2018\x20or\x20higher\x20to\x20setup\x20your\x20grid\x20in\x20Azure.\x20Error:\x20','9189GEqSsy','1212479KuymLc','7239040npCWaR','message','versions','zqrIH','pEctP','GikDY','./Azure','error','getCloudProviderObjectWithOutInit','./AWS','21YFfKCt','../utils/instrumentationUtils','1284272mrQbvX','HnuPu','getCloudProviderObject'];a4_0x6d4b=function(){return _0x2ffb83;};return a4_0x6d4b();}const a4_0x1f187b=a4_0x585a;(function(_0x3e5e53,_0x17ddff){const _0x25673d=a4_0x585a,_0x561c07=_0x3e5e53();while(!![]){try{const _0x5be806=parseInt(_0x25673d(0x94))/0x1*(parseInt(_0x25673d(0x90))/0x2)+-parseInt(_0x25673d(0x8e))/0x3+-parseInt(_0x25673d(0x8f))/0x4+parseInt(_0x25673d(0x95))/0x5+-parseInt(_0x25673d(0xa8))/0x6+parseInt(_0x25673d(0x9f))/0x7*(-parseInt(_0x25673d(0xa1))/0x8)+parseInt(_0x25673d(0x93))/0x9*(parseInt(_0x25673d(0xac))/0xa);if(_0x5be806===_0x17ddff)break;else _0x561c07['push'](_0x561c07['shift']());}catch(_0x1d6af9){_0x561c07['push'](_0x561c07['shift']());}}}(a4_0x6d4b,0xd1a5d));function a4_0x585a(_0x39b5d4,_0x3ab774){const _0x6d4b61=a4_0x6d4b();return a4_0x585a=function(_0x585a59,_0xe271d2){_0x585a59=_0x585a59-0x8e;let _0x1f1df1=_0x6d4b61[_0x585a59];return _0x1f1df1;},a4_0x585a(_0x39b5d4,_0x3ab774);}const {AWSCloudProvider}=require(a4_0x1f187b(0x9e)),{GoogleCloudProvider}=require(a4_0x1f187b(0xb0)),{installAzurePackages,IsNodeCompatibleWithAzure}=require('../utils/utilityMethods'),{AWS,AZURE,GCP,messageTypes}=require('../config/constants'),{sendInstrumentationEvent}=require(a4_0x1f187b(0xa0)),{logger}=require('../config/logger');exports[a4_0x1f187b(0xa3)]=async(_0x423d7b,_0x3f2117,_0x3bb36f,_0x3e31ac,_0x5ab020,_0x1a1b39)=>{const _0x54f057=a4_0x1f187b,_0x5484f1={'gaFZE':function(_0x566281){return _0x566281();},'zqrIH':function(_0x36b987,_0x3abf81){return _0x36b987(_0x3abf81);},'MwCaj':_0x54f057(0x9b),'pEctP':function(_0x3d78a5,_0x5f190b,_0x1171aa,_0x54c1bf,_0x22d7bf,_0x552258,_0x48d773){return _0x3d78a5(_0x5f190b,_0x1171aa,_0x54c1bf,_0x22d7bf,_0x552258,_0x48d773);},'UiRgy':'create-grid-called','kycbd':'grid-spawning-failed'};switch(_0x423d7b){case AWS:{const _0x48c5bb=new AWSCloudProvider(_0x3f2117,_0x3bb36f,_0x3e31ac,_0x5ab020);return await _0x48c5bb[_0x54f057(0xa5)]();}case GCP:{const _0x4861c9=new GoogleCloudProvider(_0x3f2117,_0x3bb36f,_0x3e31ac,_0x5ab020);return await _0x4861c9[_0x54f057(0xa5)]();}case AZURE:{try{await _0x5484f1[_0x54f057(0x91)](installAzurePackages);const {AzureCloudProvider:_0x2cb3e6}=_0x5484f1[_0x54f057(0x98)](require,_0x5484f1[_0x54f057(0xab)]),_0x6f3dac=new _0x2cb3e6(_0x3f2117,_0x3bb36f,_0x3e31ac,_0x5ab020);return await _0x6f3dac['init']();}catch(_0x489d73){const _0xc7aa6d=_0x54f057(0xad)+process[_0x54f057(0x97)][_0x54f057(0xa4)]+_0x54f057(0x92)+_0x489d73[_0x54f057(0x96)]+',\x20stacktrace:\x20'+_0x489d73['stack'];logger[_0x54f057(0x9c)](_0xc7aa6d);const _0x3d1d2e={};_0x3d1d2e[_0x54f057(0x9c)]=_0xc7aa6d,await _0x5484f1[_0x54f057(0x99)](sendInstrumentationEvent,_0x1a1b39,_0x5484f1[_0x54f057(0xaa)],messageTypes['ERROR'],_0x5484f1[_0x54f057(0xa9)],_0x3d1d2e,_0x1a1b39),process[_0x54f057(0xa6)](0x1);}}default:logger[_0x54f057(0x9c)](_0x54f057(0xa7)+_0x423d7b),process[_0x54f057(0xa6)](0x1);}},exports[a4_0x1f187b(0x9d)]=async(_0x50b614,_0x505ea4,_0x494032,_0x1d28f9,_0x487c4a,_0x1d6b28)=>{const _0x1a662b=a4_0x1f187b,_0x4831ab={'HnuPu':function(_0x31a243){return _0x31a243();},'GikDY':function(_0x14fe76){return _0x14fe76();},'eOaXB':function(_0x30833e,_0x14c7e7){return _0x30833e(_0x14c7e7);},'gMbtl':'./Azure'};switch(_0x50b614){case AWS:return new AWSCloudProvider(_0x505ea4,_0x494032,_0x1d28f9,_0x487c4a);case GCP:return new GoogleCloudProvider(_0x505ea4,_0x494032,_0x1d28f9,_0x487c4a);case AZURE:{!_0x4831ab[_0x1a662b(0xa2)](IsNodeCompatibleWithAzure)&&(logger[_0x1a662b(0x9c)](_0x1a662b(0xad)+process[_0x1a662b(0x97)]['node']+_0x1a662b(0xae)),process[_0x1a662b(0xa6)](0x1));await _0x4831ab[_0x1a662b(0x9a)](installAzurePackages);const {AzureCloudProvider:_0x44cfd0}=_0x4831ab[_0x1a662b(0xaf)](require,_0x4831ab['gMbtl']);return new _0x44cfd0(_0x505ea4,_0x494032,_0x1d28f9,_0x487c4a);}default:logger['error'](_0x1a662b(0xa7)+_0x50b614),process[_0x1a662b(0xa6)](0x1);}};
@@ -1 +1 @@
1
- const a5_0x4fabf9=a5_0x4472;(function(_0x4ace7f,_0x2dad2f){const _0x25fa73=a5_0x4472,_0xf82dc2=_0x4ace7f();while(!![]){try{const _0x1f80fe=parseInt(_0x25fa73(0x107))/0x1*(parseInt(_0x25fa73(0xee))/0x2)+parseInt(_0x25fa73(0xf2))/0x3*(parseInt(_0x25fa73(0xf5))/0x4)+-parseInt(_0x25fa73(0x13b))/0x5*(parseInt(_0x25fa73(0xf7))/0x6)+parseInt(_0x25fa73(0x122))/0x7+-parseInt(_0x25fa73(0x13d))/0x8*(-parseInt(_0x25fa73(0x10c))/0x9)+-parseInt(_0x25fa73(0x133))/0xa*(parseInt(_0x25fa73(0x121))/0xb)+-parseInt(_0x25fa73(0xf0))/0xc*(-parseInt(_0x25fa73(0xef))/0xd);if(_0x1f80fe===_0x2dad2f)break;else _0xf82dc2['push'](_0xf82dc2['shift']());}catch(_0x317092){_0xf82dc2['push'](_0xf82dc2['shift']());}}}(a5_0x59cd,0x6b83a));function a5_0x4472(_0x410911,_0x14eacf){const _0x59cdbd=a5_0x59cd();return a5_0x4472=function(_0x4472a8,_0x9be5d8){_0x4472a8=_0x4472a8-0xee;let _0x20dacb=_0x59cdbd[_0x4472a8];return _0x20dacb;},a5_0x4472(_0x410911,_0x14eacf);}const fs=require('fs'),got=require('got'),{v4:uuidv4}=require(a5_0x4fabf9(0x132)),{inputConfirmation,closeInput}=require(a5_0x4fabf9(0x11d)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require(a5_0x4fabf9(0x125)),{getCredentialsPath,getAuthHeader}=require('../utils/utilityMethods'),{sendInstrumentationEvent}=require(a5_0x4fabf9(0x115));function a5_0x59cd(){const _0x5689db=['ehTzX','statusCode','telNH','5VxfGUR','YTZTr','248SSBboe','xhCbz','yYdnF','vgzhX','https://','active','vpKlC','KDTbC','stack','YxcKa','list','PUT','oiBTq','CwNnS','parse','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','requestId','SpEPZ','invalid-input','HdOXq','body','DZoZo','Browserstack','cOQZs','163928mvYxml','7787RftQTB','12156zXPwGw','CZfHi','460857AaJhzl','What\x20Grid\x20profile\x20will\x20you\x20make\x20as\x20default?','kawRn','4lRpmyR','/packages/cli/configure','3688494FlixdO','URCnM','Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','uEjJo','ERROR','XnRdl','aBcYA','exit','eizdr','invalid-selection','recommendCommands','help','Failed\x20to\x20update\x20grid\x20profile.\x20Response\x20from\x20server:\x20','vhCkK','wrYgA','4nvIPgm','stringify','Configure\x20the\x20default\x20automation\x20grid\x20profiles\x20on\x20BrowserStack\x20CLI.','argv','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','41598yYPkER','readFileSync','tsHAc','toLowerCase','zPsLZ','Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','desc','\x0aCurrent\x20configured\x20automation\x20grid\x20settings\x20are:','\x20\x20username:\x20','../utils/instrumentationUtils','gyXwV','iaKbv','error','log','Failed\x20to\x20configure\x20resources!\x20Error:\x20','password','ywRAR','../utils/userInput','vnVoJ','username','VUrqo','4147187tnQzWc','1404200bsWFbO','jGtwR','oMcSI','../config/constants','configure','nzBrp','aavRZ','OPJet','INFO','CHRxO','Failed\x20to\x20update\x20grid\x20profile.\x20Unauthorized\x20request!','profileId','uJVDo','name','jcpGf','command','uuid','10cNyZex','core:','unknown-error','ayxsW','configure-called'];a5_0x59cd=function(){return _0x5689db;};return a5_0x59cd();}exports[a5_0x4fabf9(0x131)]=a5_0x4fabf9(0x126),exports[a5_0x4fabf9(0x112)]=a5_0x4fabf9(0x109),exports['builder']=function(_0x61b7f1){const _0x112fff=a5_0x4fabf9,_0x4faba6={};_0x4faba6[_0x112fff(0x10e)]=_0x112fff(0x103);const _0xbe9588=_0x4faba6;return _0x61b7f1['usage'](HELP_HEADER_MESSAGE[_0x112fff(0x126)])['epilogue'](HELP_FOOTER_MESSAGE)[_0x112fff(0x103)](_0xbe9588[_0x112fff(0x10e)])[_0x112fff(0x102)]()['strict']()[_0x112fff(0x10a)];},exports['handler']=async function(_0x37dbeb){const _0x387700=a5_0x4fabf9,_0x1a0c4f={'kawRn':function(_0x33450d){return _0x33450d();},'ehTzX':_0x387700(0x14c),'vnVoJ':function(_0x378372,_0x3d1bb3,_0x20e3a7,_0x401dfd,_0x36c791,_0x297f7f,_0x31e59b){return _0x378372(_0x3d1bb3,_0x20e3a7,_0x401dfd,_0x36c791,_0x297f7f,_0x31e59b);},'yYdnF':_0x387700(0x137),'vgzhX':'init-not-called','CZfHi':'GET','uJVDo':function(_0x1dcf55,_0x1b7150,_0x5c37c5){return _0x1dcf55(_0x1b7150,_0x5c37c5);},'gyXwV':function(_0x3737c6,_0x4fb00b,_0x35af53){return _0x3737c6(_0x4fb00b,_0x35af53);},'jcpGf':function(_0x3892f8,_0x4aae17){return _0x3892f8!==_0x4aae17;},'ywRAR':function(_0x4d7885,_0xa90249){return _0x4d7885===_0xa90249;},'zPsLZ':_0x387700(0x113),'DZoZo':_0x387700(0x134),'uEjJo':function(_0x179349,_0x53df26){return _0x179349(_0x53df26);},'HdOXq':'Do\x20you\x20want\x20to\x20change\x20the\x20default\x20grid-profile\x20(y/n)?','VUrqo':function(_0x535922,_0x4cfd5e){return _0x535922===_0x4cfd5e;},'iaKbv':function(_0x2a3fe7,_0x544c00){return _0x2a3fe7===_0x544c00;},'YTZTr':_0x387700(0x111),'cOQZs':_0x387700(0x14f),'EMoZO':function(_0x48fe2a,_0x24fd3e){return _0x48fe2a===_0x24fd3e;},'aavRZ':_0x387700(0xf3),'oMcSI':function(_0x5a14bc,_0x3e87a6){return _0x5a14bc<_0x3e87a6;},'YxcKa':function(_0x32ea77,_0x48931a){return _0x32ea77+_0x48931a;},'CHRxO':function(_0x3f0a35,_0xd4b864){return _0x3f0a35(_0xd4b864);},'ayxsW':_0x387700(0xf9),'qaqNK':function(_0xf65bd8,_0x2e0f2a){return _0xf65bd8<=_0x2e0f2a;},'QNzzv':function(_0x3737f9,_0x28d512){return _0x3737f9>_0x28d512;},'CwNnS':function(_0x3c9641,_0x1c1e4e,_0x1be068,_0xd817bb,_0x5ea42b,_0xf8267c,_0x3d6567){return _0x3c9641(_0x1c1e4e,_0x1be068,_0xd817bb,_0x5ea42b,_0xf8267c,_0x3d6567);},'KDTbC':_0x387700(0x101),'URCnM':function(_0x4f49cc){return _0x4f49cc();},'XTQze':function(_0xa99fa0,_0x564e58){return _0xa99fa0-_0x564e58;},'vpKlC':_0x387700(0x148),'NOxuA':'json','jGtwR':function(_0x247d10,_0x5eaa10){return _0x247d10!==_0x5eaa10;},'eizdr':function(_0x2fc39a,_0x26eadf){return _0x2fc39a!==_0x26eadf;},'xhCbz':'Updated\x20default\x20Grid\x20Profile\x20successfully','vhCkK':function(_0x3d22c4,_0x44465f){return _0x3d22c4===_0x44465f;},'wrYgA':_0x387700(0x12c),'XnRdl':'unauthorised','OPJet':function(_0xb40eb0,_0x5c5fa1,_0x5e6eef,_0x283b30,_0x40baa5,_0x4b2b59,_0x4548ec){return _0xb40eb0(_0x5c5fa1,_0x5e6eef,_0x283b30,_0x40baa5,_0x4b2b59,_0x4548ec);},'aBcYA':'server-error','SpEPZ':function(_0x41b697,_0x5b5b15){return _0x41b697===_0x5b5b15;},'oFPWz':_0x387700(0x10b),'oiBTq':function(_0x405daf,_0x425cac,_0x782d2b,_0x208f6b,_0x38da4a,_0x5aef03,_0x5c1d26){return _0x405daf(_0x425cac,_0x782d2b,_0x208f6b,_0x38da4a,_0x5aef03,_0x5c1d26);},'telNH':function(_0x41eb1e,_0x4f98e2,_0x2d521f,_0x316ef3,_0x3dec21,_0x15373a,_0x3bdd90){return _0x41eb1e(_0x4f98e2,_0x2d521f,_0x316ef3,_0x3dec21,_0x15373a,_0x3bdd90);},'nzBrp':_0x387700(0x135)};try{global_registry[_0x387700(0x14d)]=_0x1a0c4f[_0x387700(0xf4)](uuidv4);const _0x190243=_0x387700(0x141)+AG_API_URL+_0x387700(0xf6);!fs['existsSync'](_0x1a0c4f['kawRn'](getCredentialsPath))&&(console[_0x387700(0x118)](_0x1a0c4f[_0x387700(0x138)]),await _0x1a0c4f[_0x387700(0x11e)](sendInstrumentationEvent,_0x37dbeb,_0x1a0c4f[_0x387700(0x13f)],messageTypes[_0x387700(0xfc)],_0x1a0c4f[_0x387700(0x140)],null,_0x37dbeb),process[_0x387700(0xff)](0x1));await _0x1a0c4f[_0x387700(0x11e)](sendInstrumentationEvent,_0x37dbeb,_0x1a0c4f[_0x387700(0x13f)],messageTypes[_0x387700(0x12a)],null,null,_0x37dbeb);const _0x2acb97=JSON[_0x387700(0x14b)](fs[_0x387700(0x10d)](_0x1a0c4f[_0x387700(0xf4)](getCredentialsPath))),_0x1f7bd8={'method':_0x1a0c4f[_0x387700(0xf1)],'headers':_0x1a0c4f[_0x387700(0x12e)](getAuthHeader,_0x2acb97[_0x387700(0x153)][_0x387700(0x11f)],_0x2acb97['Browserstack']['password']),'throwHttpErrors':![]},_0x518bb4=await _0x1a0c4f[_0x387700(0x116)](got,_0x190243,_0x1f7bd8);if(_0x1a0c4f['jcpGf'](_0x518bb4,null)&&_0x1a0c4f[_0x387700(0x130)](_0x518bb4,undefined)&&_0x1a0c4f[_0x387700(0x11c)](_0x518bb4[_0x387700(0x139)],0xc8)){const _0x1455ee=JSON[_0x387700(0x14b)](_0x518bb4[_0x387700(0x151)]);console[_0x387700(0x119)](_0x1a0c4f[_0x387700(0x110)]),console[_0x387700(0x119)](_0x1a0c4f[_0x387700(0x152)]),console[_0x387700(0x119)](_0x387700(0x114)+_0x2acb97[_0x387700(0x153)][_0x387700(0x11f)]),console['log']('\x20\x20grid-profile:\x20'+_0x1455ee[_0x387700(0x142)][_0x387700(0x12f)]);const _0x56e7d0=await _0x1a0c4f[_0x387700(0xfb)](inputConfirmation,_0x1a0c4f[_0x387700(0x150)]);(_0x1a0c4f[_0x387700(0x120)](_0x56e7d0,undefined)||_0x1a0c4f[_0x387700(0x117)](_0x56e7d0,null)||!(_0x1a0c4f[_0x387700(0x120)](_0x56e7d0[_0x387700(0x10f)](),'y')||_0x1a0c4f[_0x387700(0x11c)](_0x56e7d0[_0x387700(0x10f)](),'n')))&&(console[_0x387700(0x118)](_0x1a0c4f[_0x387700(0x13c)]),await _0x1a0c4f[_0x387700(0x11e)](sendInstrumentationEvent,_0x37dbeb,_0x1a0c4f[_0x387700(0x13f)],messageTypes['ERROR'],_0x1a0c4f[_0x387700(0x154)],null,_0x37dbeb),process['exit'](0x1));_0x1a0c4f['EMoZO'](_0x56e7d0[_0x387700(0x10f)](),'n')&&process[_0x387700(0xff)](0x0);console[_0x387700(0x119)](_0x1a0c4f[_0x387700(0x128)]);const _0x459e26=_0x1455ee[_0x387700(0x147)]['length'];for(let _0x1af61b=0x0;_0x1a0c4f[_0x387700(0x124)](_0x1af61b,_0x459e26);_0x1af61b+=0x1){console[_0x387700(0x119)]('['+_0x1a0c4f[_0x387700(0x146)](_0x1af61b,0x1)+']\x20'+_0x1455ee[_0x387700(0x147)][_0x1af61b][_0x387700(0x12f)]);}const _0x2439c8=await _0x1a0c4f['CHRxO'](inputConfirmation,_0x1a0c4f[_0x387700(0x136)]),_0x5e0f90=_0x1a0c4f[_0x387700(0x12b)](Number,_0x2439c8);(_0x1a0c4f[_0x387700(0x12b)](isNaN,_0x5e0f90)||_0x1a0c4f['qaqNK'](_0x5e0f90,0x0)||_0x1a0c4f['QNzzv'](_0x5e0f90,_0x459e26))&&(console[_0x387700(0x118)](_0x1a0c4f[_0x387700(0x13c)]),await _0x1a0c4f[_0x387700(0x14a)](sendInstrumentationEvent,_0x37dbeb,_0x1a0c4f[_0x387700(0x13f)],messageTypes['ERROR'],_0x1a0c4f[_0x387700(0x144)],null,_0x37dbeb),process['exit'](0x1));_0x1a0c4f[_0x387700(0xf8)](closeInput);const _0x2ed97f=_0x1455ee[_0x387700(0x147)][_0x1a0c4f['XTQze'](_0x5e0f90,0x1)]['id'],_0xd99979={};_0xd99979[_0x387700(0x12d)]=_0x2ed97f;const _0xe0c0a5={'method':_0x1a0c4f[_0x387700(0x143)],'headers':_0x1a0c4f[_0x387700(0x116)](getAuthHeader,_0x2acb97[_0x387700(0x153)][_0x387700(0x11f)],_0x2acb97[_0x387700(0x153)][_0x387700(0x11b)]),'json':_0xd99979,'responseType':_0x1a0c4f['NOxuA'],'throwHttpErrors':![]},_0x452394=await _0x1a0c4f['gyXwV'](got,_0x190243,_0xe0c0a5);_0x1a0c4f[_0x387700(0x123)](_0x452394,null)&&_0x1a0c4f[_0x387700(0x100)](_0x452394,undefined)&&_0x1a0c4f['iaKbv'](_0x452394[_0x387700(0x139)],0xc8)&&(console[_0x387700(0x119)](_0x1a0c4f[_0x387700(0x13e)]),process['exit'](0x0)),_0x1a0c4f[_0x387700(0x105)](_0x452394[_0x387700(0x139)],0x191)&&(console[_0x387700(0x118)](_0x1a0c4f[_0x387700(0x106)]),await _0x1a0c4f[_0x387700(0x14a)](sendInstrumentationEvent,_0x37dbeb,_0x1a0c4f['yYdnF'],messageTypes['ERROR'],_0x1a0c4f[_0x387700(0xfd)],null,_0x37dbeb),process[_0x387700(0xff)](0x1)),console[_0x387700(0x118)](_0x387700(0x104)+JSON[_0x387700(0x108)](_0x452394)),await _0x1a0c4f[_0x387700(0x129)](sendInstrumentationEvent,_0x37dbeb,_0x1a0c4f[_0x387700(0x13f)],messageTypes[_0x387700(0xfc)],_0x1a0c4f[_0x387700(0xfe)],_0x452394,_0x37dbeb),process[_0x387700(0xff)](0x1);}_0x1a0c4f[_0x387700(0x14e)](_0x518bb4[_0x387700(0x139)],0x191)&&(console[_0x387700(0x118)](_0x1a0c4f['oFPWz']),await _0x1a0c4f[_0x387700(0x149)](sendInstrumentationEvent,_0x37dbeb,_0x1a0c4f['yYdnF'],messageTypes[_0x387700(0xfc)],_0x1a0c4f[_0x387700(0xfd)],null,_0x37dbeb),process['exit'](0x1)),console[_0x387700(0x118)](_0x387700(0xfa)+JSON[_0x387700(0x108)](_0x518bb4)),await _0x1a0c4f[_0x387700(0x13a)](sendInstrumentationEvent,_0x37dbeb,_0x1a0c4f[_0x387700(0x13f)],messageTypes[_0x387700(0xfc)],_0x1a0c4f[_0x387700(0xfe)],_0x518bb4,_0x37dbeb),process[_0x387700(0xff)](0x1);}catch(_0x57f39e){console['error'](_0x387700(0x11a)+_0x57f39e[_0x387700(0x145)]),await _0x1a0c4f['vnVoJ'](sendInstrumentationEvent,_0x37dbeb,_0x1a0c4f[_0x387700(0x13f)],messageTypes['ERROR'],_0x1a0c4f[_0x387700(0x127)],_0x57f39e,_0x37dbeb),process['exit'](0x1);}};
1
+ const a5_0x391bc9=a5_0x4e6e;function a5_0x4d09(){const _0x55a716=['json','\x20\x20username:\x20','stack','statusCode','ylEkI','LqyYS','existsSync','xFmhe','readFileSync','15050eoOSfW','Updated\x20default\x20Grid\x20Profile\x20successfully','Failed\x20to\x20update\x20grid\x20profile.\x20Unauthorized\x20request!','QTAsx','HySYx','error','argv','../utils/userInput','requestId','33351fifvxv','https://','name','configure-called','tGvWg','configure','nMhQW','qWhow','YegqL','KrrWA','qYYQR','\x0aCurrent\x20configured\x20automation\x20grid\x20settings\x20are:','unauthorised','297410aINesQ','init-not-called','command','../utils/utilityMethods','36oVJGsO','49AFWsnU','Failed\x20to\x20update\x20grid\x20profile.\x20Response\x20from\x20server:\x20','MtpDc','IdSGy','gEbwe','3938032qmDsnS','\x20\x20grid-profile:\x20','uuid','CudQe','strict','Configure\x20the\x20default\x20automation\x20grid\x20profiles\x20on\x20BrowserStack\x20CLI.','nMcgt','pKNYQ','log','ejMBV','Failed\x20to\x20configure\x20resources!\x20Error:\x20','desc','iyEru','Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','543778pYqEoA','list','active','vURfI','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','profileId','UwPdy','help','epilogue','100llhhlb','../config/constants','Browserstack','exit','toLowerCase','loKtC','seusp','ERROR','length','handler','usage','qZDoD','eFUAX','EgfQk','msJaY','builder','INFO','password','../utils/instrumentationUtils','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','cIioe','lXDGk','parse','erviI','xRMfT','username','core:','NIBME','5188095eVRMSu','NeTYS','/packages/cli/configure','uZwDo','22165zKWZUF','recommendCommands','25950qcmayb','got'];a5_0x4d09=function(){return _0x55a716;};return a5_0x4d09();}(function(_0x48afc5,_0x251245){const _0x1b870a=a5_0x4e6e,_0x1372ca=_0x48afc5();while(!![]){try{const _0x321694=-parseInt(_0x1b870a(0x1b6))/0x1+-parseInt(_0x1b870a(0x1bf))/0x2*(parseInt(_0x1b870a(0x191))/0x3)+parseInt(_0x1b870a(0x1a2))/0x4*(-parseInt(_0x1b870a(0x19e))/0x5)+-parseInt(_0x1b870a(0x17d))/0x6*(parseInt(_0x1b870a(0x1a3))/0x7)+-parseInt(_0x1b870a(0x1a8))/0x8+-parseInt(_0x1b870a(0x177))/0x9+-parseInt(_0x1b870a(0x188))/0xa*(-parseInt(_0x1b870a(0x17b))/0xb);if(_0x321694===_0x251245)break;else _0x1372ca['push'](_0x1372ca['shift']());}catch(_0x2e88f3){_0x1372ca['push'](_0x1372ca['shift']());}}}(a5_0x4d09,0x48e81));const fs=require('fs'),got=require(a5_0x391bc9(0x17e)),{v4:uuidv4}=require(a5_0x391bc9(0x1aa)),{inputConfirmation,closeInput}=require(a5_0x391bc9(0x18f)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require(a5_0x391bc9(0x1c0)),{getCredentialsPath,getAuthHeader}=require(a5_0x391bc9(0x1a1)),{sendInstrumentationEvent}=require(a5_0x391bc9(0x1d1));function a5_0x4e6e(_0x59b622,_0x3c3206){const _0x4d09ff=a5_0x4d09();return a5_0x4e6e=function(_0x4e6e67,_0x58f71e){_0x4e6e67=_0x4e6e67-0x175;let _0x2af0b6=_0x4d09ff[_0x4e6e67];return _0x2af0b6;},a5_0x4e6e(_0x59b622,_0x3c3206);}exports[a5_0x391bc9(0x1a0)]=a5_0x391bc9(0x196),exports[a5_0x391bc9(0x1b3)]=a5_0x391bc9(0x1ad),exports[a5_0x391bc9(0x1ce)]=function(_0x38a47d){const _0x2dcf6c=a5_0x391bc9,_0x5c0e2c={};_0x5c0e2c['sJZzy']=_0x2dcf6c(0x1bd);const _0x33a37e=_0x5c0e2c;return _0x38a47d[_0x2dcf6c(0x1c9)](HELP_HEADER_MESSAGE['configure'])[_0x2dcf6c(0x1be)](HELP_FOOTER_MESSAGE)[_0x2dcf6c(0x1bd)](_0x33a37e['sJZzy'])[_0x2dcf6c(0x17c)]()[_0x2dcf6c(0x1ac)]()[_0x2dcf6c(0x18e)];},exports[a5_0x391bc9(0x1c8)]=async function(_0x574477){const _0x48e26c=a5_0x391bc9,_0x163171={'loKtC':function(_0x2101ab){return _0x2101ab();},'nMcgt':_0x48e26c(0x1ba),'msJaY':function(_0x41451e,_0x53f179,_0x438f71,_0x6a08e6,_0x52cde1,_0x5f3ccc,_0x43f28f){return _0x41451e(_0x53f179,_0x438f71,_0x6a08e6,_0x52cde1,_0x5f3ccc,_0x43f28f);},'seusp':_0x48e26c(0x194),'IGnJx':_0x48e26c(0x19f),'LqyYS':'GET','KrrWA':function(_0x516438,_0x40bddd,_0x179847){return _0x516438(_0x40bddd,_0x179847);},'OpuiM':function(_0x551844,_0x3b1016,_0x301c79){return _0x551844(_0x3b1016,_0x301c79);},'eFUAX':function(_0x812021,_0x3a81fe){return _0x812021!==_0x3a81fe;},'gEbwe':function(_0x23f975,_0x5ed9f4){return _0x23f975===_0x5ed9f4;},'SEzfh':_0x48e26c(0x19c),'ejMBV':_0x48e26c(0x175),'tGvWg':function(_0x272582,_0x39df95){return _0x272582(_0x39df95);},'iyEru':'Do\x20you\x20want\x20to\x20change\x20the\x20default\x20grid-profile\x20(y/n)?','uZwDo':function(_0x2002ea,_0x46490b){return _0x2002ea===_0x46490b;},'iidBU':function(_0x4f6076,_0x60522e){return _0x4f6076===_0x60522e;},'IdSGy':function(_0x1ba1cd,_0x3b2075){return _0x1ba1cd===_0x3b2075;},'xFmhe':'Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','pKNYQ':'invalid-input','HySYx':'What\x20Grid\x20profile\x20will\x20you\x20make\x20as\x20default?','CudQe':function(_0x4a9555,_0x2ccb9a){return _0x4a9555<_0x2ccb9a;},'qWhow':function(_0x4d5c3e,_0x1c218a){return _0x4d5c3e+_0x1c218a;},'vURfI':_0x48e26c(0x1b5),'YegqL':function(_0x5af73e,_0x14b129){return _0x5af73e<=_0x14b129;},'MtpDc':function(_0x10f4a5,_0x45a9a3){return _0x10f4a5>_0x45a9a3;},'HVjjZ':function(_0x9ed3b5,_0x33a06f,_0x39c05f,_0x2b6a0a,_0x58bd05,_0x34611c,_0x312525){return _0x9ed3b5(_0x33a06f,_0x39c05f,_0x2b6a0a,_0x58bd05,_0x34611c,_0x312525);},'QTAsx':'invalid-selection','nMhQW':function(_0x125455){return _0x125455();},'cIioe':function(_0x67f11a,_0xf6ed60){return _0x67f11a-_0xf6ed60;},'UwPdy':'PUT','qYYQR':function(_0x3882f4,_0x140f3a,_0x385abe){return _0x3882f4(_0x140f3a,_0x385abe);},'CTIKW':_0x48e26c(0x17f),'rIdMy':function(_0x594505,_0x1c89c8){return _0x594505!==_0x1c89c8;},'bsmkV':function(_0x518a82,_0x484037){return _0x518a82===_0x484037;},'xRMfT':_0x48e26c(0x189),'ylEkI':_0x48e26c(0x18a),'erviI':_0x48e26c(0x19d),'EgfQk':function(_0x55799f,_0x144d3c,_0x4ccc7b,_0x1a60ad,_0x2c2046,_0xbd2d65,_0x10f7c1){return _0x55799f(_0x144d3c,_0x4ccc7b,_0x1a60ad,_0x2c2046,_0xbd2d65,_0x10f7c1);},'lXDGk':'server-error','NIBME':_0x48e26c(0x1d2),'qZDoD':function(_0x5cdd71,_0x4e1266,_0x8886e6,_0x481e62,_0x14c5eb,_0x1950f1,_0x400801){return _0x5cdd71(_0x4e1266,_0x8886e6,_0x481e62,_0x14c5eb,_0x1950f1,_0x400801);},'jubKL':function(_0x92a1b8,_0x2fe9f9,_0xc9b272,_0x26e0ef,_0x6d1748,_0x2cb922,_0xe3f48d){return _0x92a1b8(_0x2fe9f9,_0xc9b272,_0x26e0ef,_0x6d1748,_0x2cb922,_0xe3f48d);},'NeTYS':'unknown-error'};try{global_registry[_0x48e26c(0x190)]=_0x163171[_0x48e26c(0x1c4)](uuidv4);const _0x4ce503=_0x48e26c(0x192)+AG_API_URL+_0x48e26c(0x179);!fs[_0x48e26c(0x185)](_0x163171[_0x48e26c(0x1c4)](getCredentialsPath))&&(console['error'](_0x163171[_0x48e26c(0x1ae)]),await _0x163171[_0x48e26c(0x1cd)](sendInstrumentationEvent,_0x574477,_0x163171[_0x48e26c(0x1c5)],messageTypes[_0x48e26c(0x1c6)],_0x163171['IGnJx'],null,_0x574477),process[_0x48e26c(0x1c2)](0x1));await _0x163171['msJaY'](sendInstrumentationEvent,_0x574477,_0x163171[_0x48e26c(0x1c5)],messageTypes[_0x48e26c(0x1cf)],null,null,_0x574477);const _0x5c6e4b=JSON[_0x48e26c(0x1d5)](fs[_0x48e26c(0x187)](_0x163171[_0x48e26c(0x1c4)](getCredentialsPath))),_0x2c2052={'method':_0x163171[_0x48e26c(0x184)],'headers':_0x163171[_0x48e26c(0x19a)](getAuthHeader,_0x5c6e4b[_0x48e26c(0x1c1)]['username'],_0x5c6e4b[_0x48e26c(0x1c1)][_0x48e26c(0x1d0)]),'throwHttpErrors':![]},_0x4c7dc6=await _0x163171['OpuiM'](got,_0x4ce503,_0x2c2052);if(_0x163171['eFUAX'](_0x4c7dc6,null)&&_0x163171[_0x48e26c(0x1cb)](_0x4c7dc6,undefined)&&_0x163171[_0x48e26c(0x1a7)](_0x4c7dc6[_0x48e26c(0x182)],0xc8)){const _0xde4ca7=JSON['parse'](_0x4c7dc6['body']);console['log'](_0x163171['SEzfh']),console[_0x48e26c(0x1b0)](_0x163171[_0x48e26c(0x1b1)]),console[_0x48e26c(0x1b0)](_0x48e26c(0x180)+_0x5c6e4b[_0x48e26c(0x1c1)][_0x48e26c(0x1d8)]),console[_0x48e26c(0x1b0)](_0x48e26c(0x1a9)+_0xde4ca7[_0x48e26c(0x1b8)][_0x48e26c(0x193)]);const _0x5a47bb=await _0x163171[_0x48e26c(0x195)](inputConfirmation,_0x163171[_0x48e26c(0x1b4)]);(_0x163171[_0x48e26c(0x17a)](_0x5a47bb,undefined)||_0x163171['iidBU'](_0x5a47bb,null)||!(_0x163171['IdSGy'](_0x5a47bb[_0x48e26c(0x1c3)](),'y')||_0x163171[_0x48e26c(0x1a6)](_0x5a47bb[_0x48e26c(0x1c3)](),'n')))&&(console[_0x48e26c(0x18d)](_0x163171[_0x48e26c(0x186)]),await _0x163171[_0x48e26c(0x1cd)](sendInstrumentationEvent,_0x574477,_0x163171[_0x48e26c(0x1c5)],messageTypes[_0x48e26c(0x1c6)],_0x163171[_0x48e26c(0x1af)],null,_0x574477),process[_0x48e26c(0x1c2)](0x1));_0x163171[_0x48e26c(0x17a)](_0x5a47bb[_0x48e26c(0x1c3)](),'n')&&process[_0x48e26c(0x1c2)](0x0);console[_0x48e26c(0x1b0)](_0x163171[_0x48e26c(0x18c)]);const _0x40f2d9=_0xde4ca7[_0x48e26c(0x1b7)][_0x48e26c(0x1c7)];for(let _0x4cdbd2=0x0;_0x163171[_0x48e26c(0x1ab)](_0x4cdbd2,_0x40f2d9);_0x4cdbd2+=0x1){console[_0x48e26c(0x1b0)]('['+_0x163171[_0x48e26c(0x198)](_0x4cdbd2,0x1)+']\x20'+_0xde4ca7[_0x48e26c(0x1b7)][_0x4cdbd2][_0x48e26c(0x193)]);}const _0x29ca7e=await _0x163171[_0x48e26c(0x195)](inputConfirmation,_0x163171[_0x48e26c(0x1b9)]),_0x418c82=_0x163171['tGvWg'](Number,_0x29ca7e);(_0x163171[_0x48e26c(0x195)](isNaN,_0x418c82)||_0x163171[_0x48e26c(0x199)](_0x418c82,0x0)||_0x163171[_0x48e26c(0x1a5)](_0x418c82,_0x40f2d9))&&(console[_0x48e26c(0x18d)](_0x163171[_0x48e26c(0x186)]),await _0x163171['HVjjZ'](sendInstrumentationEvent,_0x574477,_0x163171[_0x48e26c(0x1c5)],messageTypes[_0x48e26c(0x1c6)],_0x163171[_0x48e26c(0x18b)],null,_0x574477),process[_0x48e26c(0x1c2)](0x1));_0x163171[_0x48e26c(0x197)](closeInput);const _0x1ce3aa=_0xde4ca7[_0x48e26c(0x1b7)][_0x163171[_0x48e26c(0x1d3)](_0x418c82,0x1)]['id'],_0xd348f4={};_0xd348f4[_0x48e26c(0x1bb)]=_0x1ce3aa;const _0x1a6614={'method':_0x163171[_0x48e26c(0x1bc)],'headers':_0x163171['qYYQR'](getAuthHeader,_0x5c6e4b[_0x48e26c(0x1c1)][_0x48e26c(0x1d8)],_0x5c6e4b[_0x48e26c(0x1c1)]['password']),'json':_0xd348f4,'responseType':_0x163171['CTIKW'],'throwHttpErrors':![]},_0x344762=await _0x163171[_0x48e26c(0x19b)](got,_0x4ce503,_0x1a6614);_0x163171[_0x48e26c(0x1cb)](_0x344762,null)&&_0x163171['rIdMy'](_0x344762,undefined)&&_0x163171['bsmkV'](_0x344762[_0x48e26c(0x182)],0xc8)&&(console[_0x48e26c(0x1b0)](_0x163171[_0x48e26c(0x1d7)]),process[_0x48e26c(0x1c2)](0x0)),_0x163171['IdSGy'](_0x344762[_0x48e26c(0x182)],0x191)&&(console[_0x48e26c(0x18d)](_0x163171[_0x48e26c(0x183)]),await _0x163171[_0x48e26c(0x1cd)](sendInstrumentationEvent,_0x574477,_0x163171[_0x48e26c(0x1c5)],messageTypes[_0x48e26c(0x1c6)],_0x163171['erviI'],null,_0x574477),process[_0x48e26c(0x1c2)](0x1)),console[_0x48e26c(0x18d)](_0x48e26c(0x1a4)+JSON['stringify'](_0x344762)),await _0x163171[_0x48e26c(0x1cc)](sendInstrumentationEvent,_0x574477,_0x163171[_0x48e26c(0x1c5)],messageTypes[_0x48e26c(0x1c6)],_0x163171[_0x48e26c(0x1d4)],_0x344762,_0x574477),process['exit'](0x1);}_0x163171[_0x48e26c(0x1a7)](_0x4c7dc6['statusCode'],0x191)&&(console[_0x48e26c(0x18d)](_0x163171[_0x48e26c(0x176)]),await _0x163171[_0x48e26c(0x1cc)](sendInstrumentationEvent,_0x574477,_0x163171[_0x48e26c(0x1c5)],messageTypes['ERROR'],_0x163171[_0x48e26c(0x1d6)],null,_0x574477),process['exit'](0x1)),console['error']('Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20'+JSON['stringify'](_0x4c7dc6)),await _0x163171[_0x48e26c(0x1ca)](sendInstrumentationEvent,_0x574477,_0x163171[_0x48e26c(0x1c5)],messageTypes[_0x48e26c(0x1c6)],_0x163171[_0x48e26c(0x1d4)],_0x4c7dc6,_0x574477),process['exit'](0x1);}catch(_0x5a93f2){console[_0x48e26c(0x18d)](_0x48e26c(0x1b2)+_0x5a93f2[_0x48e26c(0x181)]),await _0x163171['jubKL'](sendInstrumentationEvent,_0x574477,_0x163171[_0x48e26c(0x1c5)],messageTypes[_0x48e26c(0x1c6)],_0x163171[_0x48e26c(0x178)],_0x5a93f2,_0x574477),process[_0x48e26c(0x1c2)](0x1);}};
@@ -1 +1 @@
1
- const a6_0xfdb7ec=a6_0x36e1;(function(_0x35f44f,_0x49982b){const _0x507925=a6_0x36e1,_0x7734a2=_0x35f44f();while(!![]){try{const _0x3f9fd8=parseInt(_0x507925(0x1b1))/0x1+-parseInt(_0x507925(0x1b8))/0x2*(parseInt(_0x507925(0x1ad))/0x3)+-parseInt(_0x507925(0x1ab))/0x4+-parseInt(_0x507925(0x1b2))/0x5+parseInt(_0x507925(0x1bd))/0x6*(parseInt(_0x507925(0x1b4))/0x7)+parseInt(_0x507925(0x1ae))/0x8*(-parseInt(_0x507925(0x1b0))/0x9)+parseInt(_0x507925(0x1aa))/0xa;if(_0x3f9fd8===_0x49982b)break;else _0x7734a2['push'](_0x7734a2['shift']());}catch(_0x4e0945){_0x7734a2['push'](_0x7734a2['shift']());}}}(a6_0x2e52,0x27496));function a6_0x36e1(_0x1726dc,_0x321786){const _0x2e5231=a6_0x2e52();return a6_0x36e1=function(_0x36e151,_0x2a366b){_0x36e151=_0x36e151-0x1aa;let _0x51bd28=_0x2e5231[_0x36e151];return _0x51bd28;},a6_0x36e1(_0x1726dc,_0x321786);}function a6_0x2e52(){const _0x4cfd60=['503200AdUEgy','4804CIhDSm','help','45984jGBIXk','105536zfihnm','epilogue','45drjSye','193588zSxJWw','570990IKQaFc','connect','7wiTBVw','handler','HdQgE','vehQP','2ICrAXt','connect_commands','builder','recommendCommands','usage','682182lTcLXX','desc','../config/constants','command','Create\x20a\x20private\x20connection\x20between\x20grid\x20and\x20your\x20staging\x20environment','demandCommand'];a6_0x2e52=function(){return _0x4cfd60;};return a6_0x2e52();}const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a6_0xfdb7ec(0x1bf));exports[a6_0xfdb7ec(0x1c0)]=a6_0xfdb7ec(0x1b3),exports[a6_0xfdb7ec(0x1be)]=a6_0xfdb7ec(0x1c1),exports[a6_0xfdb7ec(0x1ba)]=function(_0x265ef7){const _0x4bd59d=a6_0xfdb7ec,_0x4de60e={};_0x4de60e[_0x4bd59d(0x1b7)]=_0x4bd59d(0x1b9),_0x4de60e[_0x4bd59d(0x1b6)]=_0x4bd59d(0x1ac);const _0x2461ce=_0x4de60e;return _0x265ef7[_0x4bd59d(0x1bc)](HELP_HEADER_MESSAGE[_0x4bd59d(0x1b3)])[_0x4bd59d(0x1af)](HELP_FOOTER_MESSAGE)['commandDir'](_0x2461ce[_0x4bd59d(0x1b7)])[_0x4bd59d(0x1c2)]()[_0x4bd59d(0x1bb)]()['strict']()[_0x4bd59d(0x1ac)](_0x2461ce[_0x4bd59d(0x1b6)]);},exports[a6_0xfdb7ec(0x1b5)]=function(_0x11a235){};
1
+ function a6_0xb801(){const _0x45e129=['help','4396828ibUUeN','command','1485366JiypcS','2287278zufzHO','235XLBxGe','WiAbN','13168328rpcmXg','handler','commandDir','../config/constants','Create\x20a\x20private\x20connection\x20between\x20grid\x20and\x20your\x20staging\x20environment','connect','connect_commands','strict','demandCommand','12596157hcQCOW','56346cAOoVf','2640000ysnrZf','builder','desc'];a6_0xb801=function(){return _0x45e129;};return a6_0xb801();}const a6_0x34a89f=a6_0x131d;(function(_0x183c3a,_0x5f069b){const _0x543fe6=a6_0x131d,_0x2b40ad=_0x183c3a();while(!![]){try{const _0x248e62=-parseInt(_0x543fe6(0x147))/0x1+parseInt(_0x543fe6(0x141))/0x2+-parseInt(_0x543fe6(0x148))/0x3+-parseInt(_0x543fe6(0x145))/0x4+-parseInt(_0x543fe6(0x134))/0x5*(parseInt(_0x543fe6(0x140))/0x6)+parseInt(_0x543fe6(0x13f))/0x7+parseInt(_0x543fe6(0x136))/0x8;if(_0x248e62===_0x5f069b)break;else _0x2b40ad['push'](_0x2b40ad['shift']());}catch(_0x558d3a){_0x2b40ad['push'](_0x2b40ad['shift']());}}}(a6_0xb801,0xee8dc));function a6_0x131d(_0x479dba,_0x2314cc){const _0xb80100=a6_0xb801();return a6_0x131d=function(_0x131d49,_0xa38f25){_0x131d49=_0x131d49-0x134;let _0x25e18a=_0xb80100[_0x131d49];return _0x25e18a;},a6_0x131d(_0x479dba,_0x2314cc);}const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a6_0x34a89f(0x139));exports[a6_0x34a89f(0x146)]=a6_0x34a89f(0x13b),exports[a6_0x34a89f(0x143)]=a6_0x34a89f(0x13a),exports[a6_0x34a89f(0x142)]=function(_0x1132c0){const _0x181c10=a6_0x34a89f,_0x40fdd6={};_0x40fdd6['jwhQF']=_0x181c10(0x13c),_0x40fdd6[_0x181c10(0x135)]='help';const _0x46b043=_0x40fdd6;return _0x1132c0['usage'](HELP_HEADER_MESSAGE[_0x181c10(0x13b)])['epilogue'](HELP_FOOTER_MESSAGE)[_0x181c10(0x138)](_0x46b043['jwhQF'])[_0x181c10(0x13e)]()['recommendCommands']()[_0x181c10(0x13d)]()[_0x181c10(0x144)](_0x46b043[_0x181c10(0x135)]);},exports[a6_0x34a89f(0x137)]=function(_0x2c71e7){};
@@ -1 +1 @@
1
- function a7_0x309d(_0x22cf90,_0x50d029){const _0x1d45af=a7_0x1d45();return a7_0x309d=function(_0x309d2d,_0x421314){_0x309d2d=_0x309d2d-0x10a;let _0x27ae0f=_0x1d45af[_0x309d2d];return _0x27ae0f;},a7_0x309d(_0x22cf90,_0x50d029);}const a7_0x4ac792=a7_0x309d;(function(_0x539115,_0x19c98b){const _0x3c7ef2=a7_0x309d,_0x206466=_0x539115();while(!![]){try{const _0x4cb203=parseInt(_0x3c7ef2(0x14f))/0x1*(-parseInt(_0x3c7ef2(0x13a))/0x2)+-parseInt(_0x3c7ef2(0x119))/0x3+parseInt(_0x3c7ef2(0x158))/0x4*(parseInt(_0x3c7ef2(0x135))/0x5)+parseInt(_0x3c7ef2(0x118))/0x6*(-parseInt(_0x3c7ef2(0x129))/0x7)+parseInt(_0x3c7ef2(0x120))/0x8+parseInt(_0x3c7ef2(0x11d))/0x9*(parseInt(_0x3c7ef2(0x13b))/0xa)+parseInt(_0x3c7ef2(0x15f))/0xb*(parseInt(_0x3c7ef2(0x128))/0xc);if(_0x4cb203===_0x19c98b)break;else _0x206466['push'](_0x206466['shift']());}catch(_0x20f9f5){_0x206466['push'](_0x206466['shift']());}}}(a7_0x1d45,0x7be20));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a7_0x4ac792(0x14b)),{logger}=require(a7_0x4ac792(0x132)),{fetchOrUpdateUserConfig,getGridDetails,startLocalBinarySync,stopLocalBinary}=require(a7_0x4ac792(0x160));exports['command']=a7_0x4ac792(0x10f),exports[a7_0x4ac792(0x170)]='This\x20command\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC',exports[a7_0x4ac792(0x173)]=_0x443661=>{const _0x40661d=a7_0x4ac792,_0x363759={};_0x363759[_0x40661d(0x176)]='Use\x20username\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.',_0x363759[_0x40661d(0x12b)]=_0x40661d(0x16b),_0x363759[_0x40661d(0x122)]=_0x40661d(0x14e),_0x363759[_0x40661d(0x14c)]=_0x40661d(0x157),_0x363759[_0x40661d(0x172)]='Optional\x20boolean\x20argument\x20to\x20create\x20private\x20connection\x20between\x20grid\x20and\x20your\x20existing\x20staging\x20or\x20local\x20development\x20environment.',_0x363759[_0x40661d(0x16a)]=_0x40661d(0x141),_0x363759[_0x40661d(0x111)]=_0x40661d(0x171);const _0x2fbaf2=_0x363759,_0x4f90d3={};_0x4f90d3[_0x40661d(0x123)]=_0x2fbaf2[_0x40661d(0x176)],_0x4f90d3[_0x40661d(0x10d)]=_0x2fbaf2[_0x40661d(0x12b)];const _0x2ef947={};_0x2ef947[_0x40661d(0x123)]=_0x2fbaf2[_0x40661d(0x122)],_0x2ef947['type']=_0x2fbaf2[_0x40661d(0x12b)];const _0x9b5601={};_0x9b5601[_0x40661d(0x12e)]=!![],_0x9b5601[_0x40661d(0x123)]=_0x2fbaf2[_0x40661d(0x14c)],_0x9b5601[_0x40661d(0x10d)]=_0x2fbaf2['pGRBX'];const _0x1ed509={};_0x1ed509[_0x40661d(0x123)]=_0x2fbaf2[_0x40661d(0x172)],_0x1ed509[_0x40661d(0x10d)]=_0x2fbaf2[_0x40661d(0x12b)];const _0x3368c6={};_0x3368c6['description']=_0x2fbaf2[_0x40661d(0x16a)],_0x3368c6['type']=_0x2fbaf2[_0x40661d(0x12b)];const _0x40529c={};return _0x40529c['bstack-username']=_0x4f90d3,_0x40529c[_0x40661d(0x165)]=_0x2ef947,_0x40529c['grid-id']=_0x9b5601,_0x40529c['use-staging']=_0x1ed509,_0x40529c[_0x40661d(0x138)]=_0x3368c6,_0x443661[_0x40661d(0x140)](HELP_HEADER_MESSAGE[_0x40661d(0x12d)])[_0x40661d(0x155)](HELP_FOOTER_MESSAGE)[_0x40661d(0x134)](_0x40529c)['help'](_0x2fbaf2['wulbw'])['argv'];},exports[a7_0x4ac792(0x152)]=async _0x42bb28=>{const _0x4489df=a7_0x4ac792,_0x47a1ae={'MszVe':function(_0x325b10,_0x3f9375){return _0x325b10(_0x3f9375);},'hyIhr':_0x4489df(0x12a),'ihnXa':function(_0x4f9096,_0x19624a){return _0x4f9096===_0x19624a;},'aYXYr':_0x4489df(0x126),'DZMzL':_0x4489df(0x12f),'uSeOu':_0x4489df(0x163),'nzBNI':_0x4489df(0x139),'aitFn':_0x4489df(0x147),'fReKv':_0x4489df(0x130),'xWVlI':_0x4489df(0x148),'cgYTh':function(_0x724904,_0x1372cb){return _0x724904(_0x1372cb);},'qkOdf':function(_0x33829e,_0x5a30ff){return _0x33829e===_0x5a30ff;},'WdSEp':_0x4489df(0x11f),'UUbJX':'udJYl','TTTUm':function(_0x38f5be,_0x461713){return _0x38f5be===_0x461713;},'tKKrt':function(_0x18b9b8,_0xa02a6c){return _0x18b9b8(_0xa02a6c);},'gLtQj':function(_0x227a3d,_0x375403){return _0x227a3d(_0x375403);},'ptAdM':_0x4489df(0x121),'vJuyp':function(_0x58e479,_0x4bd34a){return _0x58e479(_0x4bd34a);},'Rfuco':_0x4489df(0x10e),'NYdvf':function(_0x3c8aaa,_0x4b178e){return _0x3c8aaa(_0x4b178e);},'ipfGF':function(_0x261ef3,_0x2e3e40){return _0x261ef3(_0x2e3e40);},'rYKHA':function(_0x581236,_0x315fd9,_0x587517){return _0x581236(_0x315fd9,_0x587517);},'MxMeY':function(_0x13ea7a,_0x10f443){return _0x13ea7a&&_0x10f443;},'EECbC':function(_0xb3a72b,_0xa15018){return _0xb3a72b===_0xa15018;},'qzlNs':_0x4489df(0x164),'EihBT':function(_0x235a55,_0x36cd82){return _0x235a55(_0x36cd82);},'LhWsp':function(_0x495892,_0x14ad85,_0x28b12d,_0x4094da){return _0x495892(_0x14ad85,_0x28b12d,_0x4094da);},'tSNdS':function(_0x1d7f9d,_0x43dcdf){return _0x1d7f9d!==_0x43dcdf;},'HpUWj':_0x4489df(0x11a),'KNMCA':_0x4489df(0x142),'FTFsB':function(_0x18d10a,_0x267a6a){return _0x18d10a(_0x267a6a);},'PkpqA':function(_0x371b49,_0x45ac7b){return _0x371b49===_0x45ac7b;},'pTLAM':_0x4489df(0x12c),'Uenav':function(_0x126691,_0x180f03){return _0x126691!==_0x180f03;},'aZrhg':'oZTOc','VjDJP':_0x4489df(0x143),'SzfhM':function(_0x37a2c6,_0x190e3d){return _0x37a2c6!==_0x190e3d;},'audxm':_0x4489df(0x16c),'eSiMb':_0x4489df(0x145),'ZSDpP':_0x4489df(0x115),'MBZwz':function(_0x116ad1,_0x5631e9){return _0x116ad1(_0x5631e9);}};let _0x4492c0=_0x42bb28[_0x4489df(0x14a)],_0x815ca0=_0x42bb28['bstackAccesskey'];const _0x27e5f5=_0x42bb28[_0x4489df(0x13c)],_0x1e8ba5=_0x4cefcc=>{const _0x4692ca=_0x4489df,_0x1fb6dd={'DjWBH':function(_0x3df07,_0xcd9ed2){return _0x47a1ae['MszVe'](_0x3df07,_0xcd9ed2);},'DCwem':_0x47a1ae[_0x4692ca(0x168)]};_0x47a1ae[_0x4692ca(0x124)](_0x47a1ae[_0x4692ca(0x11b)],_0x47a1ae[_0x4692ca(0x136)])?_0x1fb6dd['DjWBH'](_0x245c13,_0x1fb6dd[_0x4692ca(0x161)]):(logger[_0x4692ca(0x137)](_0x4cefcc),process['exit'](0x1));};[_0x4492c0,_0x815ca0]=_0x47a1ae[_0x4489df(0x114)](fetchOrUpdateUserConfig,_0x4492c0,_0x815ca0);!_0x47a1ae['MxMeY'](_0x4492c0,_0x815ca0)&&(_0x47a1ae['EECbC'](_0x47a1ae['qzlNs'],_0x47a1ae[_0x4489df(0x112)])?_0x47a1ae[_0x4489df(0x125)](_0x1e8ba5,_0x47a1ae[_0x4489df(0x162)]):(_0x3cc5ec['error'](_0x6dc0e9),_0x252cd7['exit'](0x1)));const _0x2d9754=_0x42bb28[_0x4489df(0x146)],[_0x507525,_0x1bc337]=await _0x47a1ae[_0x4489df(0x14d)](getGridDetails,_0x4492c0,_0x815ca0,_0x2d9754);!_0x1bc337&&(_0x47a1ae[_0x4489df(0x110)](_0x47a1ae[_0x4489df(0x16e)],_0x47a1ae[_0x4489df(0x13d)])?_0x47a1ae[_0x4489df(0x15d)](_0x1e8ba5,_0x47a1ae['ptAdM']):_0x47a1ae[_0x4489df(0x16d)](_0x11616f,_0x47a1ae[_0x4489df(0x162)]));const _0x2a6f06=_0x47a1ae[_0x4489df(0x117)](_0x42bb28['useStaging'],_0x47a1ae[_0x4489df(0x10b)])?!![]:![];if(_0x1bc337&&_0x1bc337[_0x4489df(0x15b)]&&_0x2a6f06){if(_0x47a1ae['Uenav'](_0x47a1ae[_0x4489df(0x144)],_0x47a1ae['VjDJP'])){let _0x5c410e=_0x47a1ae[_0x4489df(0x11c)];logger[_0x4489df(0x153)](_0x5c410e);try{if(_0x47a1ae[_0x4489df(0x116)](_0x47a1ae[_0x4489df(0x16f)],_0x47a1ae[_0x4489df(0x154)])){const _0xae71a1={};_0xae71a1[_0x4489df(0x10c)]=_0x815ca0,_0xae71a1[_0x4489df(0x177)]=_0x1bc337[_0x4489df(0x177)],_0xae71a1[_0x4489df(0x133)]=_0x27e5f5;const _0x3a5f62=_0xae71a1,_0x21b2db=_0x47a1ae[_0x4489df(0x127)](startLocalBinarySync,_0x3a5f62);let _0xb29d34=0x0;const _0x2bcb73=async()=>{const _0x240a9b=_0x4489df,_0x57b54b={'aLgPk':function(_0x364498,_0x11e601){return _0x47a1ae['ihnXa'](_0x364498,_0x11e601);},'bhwwy':function(_0x4c51f3,_0x3c4265){const _0x4df306=a7_0x309d;return _0x47a1ae[_0x4df306(0x131)](_0x4c51f3,_0x3c4265);}};if(_0x47a1ae[_0x240a9b(0x167)](_0x47a1ae[_0x240a9b(0x15e)],_0x47a1ae[_0x240a9b(0x174)])){const _0x184ac7={};_0x184ac7[_0x240a9b(0x10c)]=_0x42a739,_0x184ac7[_0x240a9b(0x177)]=_0x105360[_0x240a9b(0x177)],_0x184ac7['browserStackLocalOptions']=_0x1585fd;const _0x4eb101=_0x184ac7,_0x444ba1=_0x47a1ae[_0x240a9b(0x16d)](_0x256134,_0x4eb101);let _0x45efc8=0x0;const _0x35a12e=async()=>{const _0x2ea535=_0x240a9b;_0x45efc8++,_0x57b54b['aLgPk'](_0x45efc8,0x1)&&_0x444ba1&&_0x444ba1['isRunning']()&&_0x57b54b[_0x2ea535(0x159)](_0x5187c9,_0x444ba1);};_0x26c367['on'](_0x47a1ae[_0x240a9b(0x150)],_0x35a12e),_0x34f80e['on'](_0x47a1ae['aitFn'],_0x35a12e),_0x298a2a['on'](_0x47a1ae['fReKv'],_0x35a12e),_0x3e9a3c=_0x47a1ae[_0x240a9b(0x11e)],_0x59d9a3[_0x240a9b(0x153)](_0x53040d);}else _0xb29d34++,_0x47a1ae[_0x240a9b(0x15c)](_0xb29d34,0x1)&&_0x21b2db&&_0x21b2db[_0x240a9b(0x13e)]()&&_0x47a1ae[_0x240a9b(0x10a)](stopLocalBinary,_0x21b2db);};process['on'](_0x47a1ae['nzBNI'],_0x2bcb73),process['on'](_0x47a1ae['aitFn'],_0x2bcb73),process['on'](_0x47a1ae[_0x4489df(0x15a)],_0x2bcb73),_0x5c410e=_0x47a1ae['xWVlI'],logger['info'](_0x5c410e);}else _0x47a1ae[_0x4489df(0x127)](_0x1143a7,_0x47a1ae[_0x4489df(0x13f)]);}catch(_0x3febb7){if(_0x47a1ae[_0x4489df(0x124)](_0x47a1ae[_0x4489df(0x151)],_0x47a1ae['ZSDpP']))_0x47a1ae[_0x4489df(0x169)](_0x1e8ba5,_0x47a1ae[_0x4489df(0x168)]);else{const _0x392e70={'TMGZY':function(_0x3f0167,_0x2b50aa){return _0x47a1ae['TTTUm'](_0x3f0167,_0x2b50aa);},'lCRKm':function(_0x14c35a,_0x288090){const _0x4e36be=_0x4489df;return _0x47a1ae[_0x4e36be(0x156)](_0x14c35a,_0x288090);}};let _0x54d24c=_0x47a1ae[_0x4489df(0x11c)];_0xbfc267[_0x4489df(0x153)](_0x54d24c);try{const _0x235247={};_0x235247['accessKey']=_0x4201f5,_0x235247['customRepeaters']=_0x4a60d1[_0x4489df(0x177)],_0x235247[_0x4489df(0x133)]=_0x4ae769;const _0x2d23a8=_0x235247,_0x42f1d3=_0x47a1ae[_0x4489df(0x10a)](_0x3871c6,_0x2d23a8);let _0x3a81fe=0x0;const _0x4a660a=async()=>{const _0x323132=_0x4489df;_0x3a81fe++,_0x392e70[_0x323132(0x149)](_0x3a81fe,0x1)&&_0x42f1d3&&_0x42f1d3[_0x323132(0x13e)]()&&_0x392e70['lCRKm'](_0x36cad8,_0x42f1d3);};_0x4e61d8['on'](_0x47a1ae['nzBNI'],_0x4a660a),_0x5dc6de['on'](_0x47a1ae[_0x4489df(0x113)],_0x4a660a),_0xafa2da['on'](_0x47a1ae['fReKv'],_0x4a660a),_0x54d24c=_0x47a1ae[_0x4489df(0x11e)],_0x50fc6e[_0x4489df(0x153)](_0x54d24c);}catch(_0x688161){_0x47a1ae[_0x4489df(0x175)](_0x5514c1,_0x47a1ae['hyIhr']);}}}}else _0x2b5dcc++,_0x47a1ae[_0x4489df(0x124)](_0x3e4432,0x1)&&_0x5d24a9&&_0x47447c['isRunning']()&&_0x47a1ae[_0x4489df(0x166)](_0x311708,_0x199eb7);}process['exit'](0x0);};function a7_0x1d45(){const _0x179f12=['advance-options','beforeExit','14hGvvQm','130nDjOjt','advanceOptions','KNMCA','isRunning','ptAdM','usage','Advance\x20options\x20for\x20Browserstack\x20Local','XXqNG','tIeQj','aZrhg','kNaEw','gridId','SIGINT','We\x20have\x20successfully\x20established\x20a\x20connection\x20between\x20trial\x20grid\x20and\x20your\x20setup.\x20You\x20should\x20be\x20able\x20to\x20start\x20testing\x20your\x20internal\x20development\x20or\x20staging\x20websites.','TMGZY','bstackUsername','../../config/constants','RBFND','LhWsp','Use\x20corresponding\x20access-key\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','3561ZQynNH','nzBNI','ZSDpP','handler','info','eSiMb','epilogue','vJuyp','Pass\x20the\x20ID\x20of\x20the\x20Grid','407516hHtWwo','bhwwy','fReKv','isTrialGrid','TTTUm','FTFsB','WdSEp','22iJiRPb','../../utils/utilityMethods','DCwem','uSeOu','Couldn\x27t\x20find\x20username\x20/\x20accesskey,\x20please\x20use\x20--username\x20and\x20--accesskey','XJMPK','bstack-accesskey','ipfGF','qkOdf','hyIhr','MBZwz','BcmOF','string','pMhGh','MszVe','HpUWj','audxm','desc','help','Ucsvt','builder','UUbJX','NYdvf','TEZtn','customRepeaters','tKKrt','pTLAM','accessKey','type','Grid\x20type:\x20Trial','grid','tSNdS','wulbw','qzlNs','aitFn','rYKHA','eAmQN','SzfhM','PkpqA','2723214KJdNDK','1380261Qngkhk','iuqPr','aYXYr','Rfuco','512991Fsyyji','xWVlI','qUMPJ','2126208cJEDmh','Please\x20provide\x20a\x20valid\x20Grid\x20Identifier','NStcz','description','ihnXa','EihBT','sQJUR','gLtQj','4749204Rsgkme','14RzbPfs','Couldn\x27t\x20establish\x20a\x20private\x20connection\x20with\x20the\x20grid','pGRBX','true','create','demandOption','nCVYk','SIGTERM','cgYTh','../../config/logger','browserStackLocalOptions','options','5IvgZej','DZMzL','error'];a7_0x1d45=function(){return _0x179f12;};return a7_0x1d45();}
1
+ const a7_0x57b4e8=a7_0x5a29;(function(_0x922a98,_0xf890c5){const _0x44fc04=a7_0x5a29,_0x3c0368=_0x922a98();while(!![]){try{const _0x2aa244=-parseInt(_0x44fc04(0x177))/0x1+parseInt(_0x44fc04(0x164))/0x2+parseInt(_0x44fc04(0x1b3))/0x3*(-parseInt(_0x44fc04(0x179))/0x4)+-parseInt(_0x44fc04(0x18c))/0x5*(-parseInt(_0x44fc04(0x168))/0x6)+parseInt(_0x44fc04(0x1cd))/0x7+-parseInt(_0x44fc04(0x1a0))/0x8+-parseInt(_0x44fc04(0x1c4))/0x9*(parseInt(_0x44fc04(0x163))/0xa);if(_0x2aa244===_0xf890c5)break;else _0x3c0368['push'](_0x3c0368['shift']());}catch(_0x4ff0ec){_0x3c0368['push'](_0x3c0368['shift']());}}}(a7_0xaedb,0x2aeed));function a7_0xaedb(){const _0x4eeb2b=['../../utils/utilityMethods','YOkxs','bstackUsername','TsemT','172940qonnut','qMvOo','800NtrSqg','vmhDi','vvOaM','customRepeaters','hpUxC','LHemR','OTecz','usage','bstack-accesskey','JDjMJ','KBFTA','JALfP','kpGmE','zFOLd','AAKLR','demandOption','NycJO','LSWOE','NxjaN','34540qlQjNx','SIGTERM','CRDHa','PcMAb','WPXHd','exit','SXyGU','builder','PccQT','description','use-staging','bstack-username','EIFOW','argv','options','accessKey','iuqRc','YIGis','Use\x20username\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','tySlF','755208rgFzst','tHFXx','grid','iOEwl','Advance\x20options\x20for\x20Browserstack\x20Local','grid-id','browserStackLocalOptions','IyMSR','ggPvP','nSmLT','kSwtG','KWXcO','Pass\x20the\x20ID\x20of\x20the\x20Grid','MfBXw','IcXXD','XEDjw','Dujwm','kHHVd','Couldn\x27t\x20establish\x20a\x20private\x20connection\x20with\x20the\x20grid','4848bmCOCf','ckfLr','advance-options','TEsVi','true','ZrXMZ','PbirW','oSVuX','handler','HAWOs','qfbPv','LvWuB','epilogue','QFMFv','bstackAccesskey','This\x20command\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC','IjbBY','8739ipQGdO','Optional\x20boolean\x20argument\x20to\x20create\x20private\x20connection\x20between\x20grid\x20and\x20your\x20existing\x20staging\x20or\x20local\x20development\x20environment.','oGyQM','wKrQP','create','PLknG','help','type','error','2187724WHWDxW','bbcKK','FwyWB','LYxyt','UzxXU','Couldn\x27t\x20find\x20username\x20/\x20accesskey,\x20please\x20use\x20--username\x20and\x20--accesskey','beforeExit','TVXcw','AtKYH','LIIbD','useStaging','../../config/constants','110RmyFpt','486974AWZXkb','eXpXo','Use\x20corresponding\x20access-key\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','DPDQR','192ivtqnn','string','eqrnC','desc','isRunning','../../config/logger','info','JxeHx','FEhVo','zxsfT','Please\x20provide\x20a\x20valid\x20Grid\x20Identifier'];a7_0xaedb=function(){return _0x4eeb2b;};return a7_0xaedb();}function a7_0x5a29(_0xc7480d,_0x353cbe){const _0xaedb25=a7_0xaedb();return a7_0x5a29=function(_0x5a29d0,_0x10ebe0){_0x5a29d0=_0x5a29d0-0x161;let _0x37cf80=_0xaedb25[_0x5a29d0];return _0x37cf80;},a7_0x5a29(_0xc7480d,_0x353cbe);}const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a7_0x57b4e8(0x162)),{logger}=require(a7_0x57b4e8(0x16d)),{fetchOrUpdateUserConfig,getGridDetails,startLocalBinarySync,stopLocalBinary}=require(a7_0x57b4e8(0x173));exports['command']=a7_0x57b4e8(0x1a2),exports[a7_0x57b4e8(0x16b)]=a7_0x57b4e8(0x1c2),exports[a7_0x57b4e8(0x193)]=_0x340a7a=>{const _0x1d4ec8=a7_0x57b4e8,_0x2aa6e5={};_0x2aa6e5[_0x1d4ec8(0x174)]=_0x1d4ec8(0x19e),_0x2aa6e5[_0x1d4ec8(0x1bd)]=_0x1d4ec8(0x169),_0x2aa6e5[_0x1d4ec8(0x171)]='Use\x20corresponding\x20access-key\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.',_0x2aa6e5[_0x1d4ec8(0x17e)]=_0x1d4ec8(0x1ac),_0x2aa6e5[_0x1d4ec8(0x170)]=_0x1d4ec8(0x1c5),_0x2aa6e5['AtKYH']=_0x1d4ec8(0x1a4),_0x2aa6e5[_0x1d4ec8(0x186)]='help';const _0x3a0c85=_0x2aa6e5,_0xdcce8f={};_0xdcce8f['description']=_0x3a0c85['YOkxs'],_0xdcce8f[_0x1d4ec8(0x1cb)]=_0x3a0c85[_0x1d4ec8(0x1bd)];const _0x56416d={};_0x56416d[_0x1d4ec8(0x195)]=_0x3a0c85[_0x1d4ec8(0x171)],_0x56416d['type']=_0x3a0c85[_0x1d4ec8(0x1bd)];const _0x148a7c={};_0x148a7c[_0x1d4ec8(0x188)]=!![],_0x148a7c[_0x1d4ec8(0x195)]=_0x3a0c85[_0x1d4ec8(0x17e)],_0x148a7c[_0x1d4ec8(0x1cb)]=_0x3a0c85[_0x1d4ec8(0x1bd)];const _0x10d207={};_0x10d207[_0x1d4ec8(0x195)]=_0x3a0c85[_0x1d4ec8(0x170)],_0x10d207[_0x1d4ec8(0x1cb)]=_0x3a0c85[_0x1d4ec8(0x1bd)];const _0x286cd6={};_0x286cd6[_0x1d4ec8(0x195)]=_0x3a0c85[_0x1d4ec8(0x1d5)],_0x286cd6['type']=_0x3a0c85[_0x1d4ec8(0x1bd)];const _0x4758ce={};return _0x4758ce[_0x1d4ec8(0x197)]=_0xdcce8f,_0x4758ce['bstack-accesskey']=_0x56416d,_0x4758ce[_0x1d4ec8(0x1a5)]=_0x148a7c,_0x4758ce[_0x1d4ec8(0x196)]=_0x10d207,_0x4758ce[_0x1d4ec8(0x1b5)]=_0x286cd6,_0x340a7a[_0x1d4ec8(0x180)](HELP_HEADER_MESSAGE[_0x1d4ec8(0x1c8)])[_0x1d4ec8(0x1bf)](HELP_FOOTER_MESSAGE)[_0x1d4ec8(0x19a)](_0x4758ce)['help'](_0x3a0c85[_0x1d4ec8(0x186)])[_0x1d4ec8(0x199)];},exports[a7_0x57b4e8(0x1bb)]=async _0x382196=>{const _0x48da26=a7_0x57b4e8,_0x37afc2={'LSWOE':_0x48da26(0x19e),'SXyGU':_0x48da26(0x169),'NycJO':_0x48da26(0x166),'kqvCx':_0x48da26(0x1ac),'TsemT':_0x48da26(0x1c5),'WPXHd':_0x48da26(0x1a4),'IjbBY':'help','OTecz':function(_0x391511,_0x4d3fe0){return _0x391511!==_0x4d3fe0;},'iOEwl':_0x48da26(0x1d0),'XEDjw':function(_0x51529e,_0x2fb8ce){return _0x51529e(_0x2fb8ce);},'HAWOs':_0x48da26(0x1d2),'kHHVd':function(_0x3c9337,_0x24232e){return _0x3c9337===_0x24232e;},'kSwtG':function(_0xa81024,_0x56029c){return _0xa81024(_0x56029c);},'nSmLT':'Grid\x20type:\x20Trial','PccQT':function(_0x4b9e97,_0x3d66a9){return _0x4b9e97(_0x3d66a9);},'tySlF':_0x48da26(0x1d3),'Dujwm':'SIGINT','oGyQM':_0x48da26(0x18d),'QFMFv':'We\x20have\x20successfully\x20established\x20a\x20connection\x20between\x20trial\x20grid\x20and\x20your\x20setup.\x20You\x20should\x20be\x20able\x20to\x20start\x20testing\x20your\x20internal\x20development\x20or\x20staging\x20websites.','kpGmE':_0x48da26(0x1b2),'JDjMJ':_0x48da26(0x172),'tHFXx':_0x48da26(0x1c9),'UzxXU':function(_0x5bbb72,_0x689633){return _0x5bbb72===_0x689633;},'CRDHa':function(_0x3e77a7,_0x2e3f80){return _0x3e77a7===_0x2e3f80;},'ZrXMZ':function(_0x2c126c,_0x479558){return _0x2c126c(_0x479558);},'PbirW':function(_0x28529a,_0x153533,_0x25ca93){return _0x28529a(_0x153533,_0x25ca93);},'AAKLR':function(_0x76441e,_0x11233b){return _0x76441e&&_0x11233b;},'IyMSR':function(_0x256ccb,_0x409d68){return _0x256ccb!==_0x409d68;},'KWXcO':_0x48da26(0x178),'NxjaN':function(_0x1217da,_0x4f57ea,_0x18c8c6,_0x3c90eb){return _0x1217da(_0x4f57ea,_0x18c8c6,_0x3c90eb);},'eXpXo':_0x48da26(0x1d4),'hJgJx':_0x48da26(0x1a8),'bbcKK':function(_0x295200,_0x15a3ff){return _0x295200(_0x15a3ff);},'JALfP':_0x48da26(0x1b7),'AINVh':function(_0x5441d0,_0x1943f2){return _0x5441d0===_0x1943f2;},'nWLBY':_0x48da26(0x167),'hpUxC':_0x48da26(0x19d),'LvWuB':function(_0x2d1e86,_0x4c7ec4){return _0x2d1e86===_0x4c7ec4;},'iuqRc':_0x48da26(0x198),'hVUqr':_0x48da26(0x1c7),'TEsVi':function(_0x48e7c4,_0x5b80d9){return _0x48e7c4(_0x5b80d9);},'iIzgY':function(_0x6ed492,_0x3b3697){return _0x6ed492===_0x3b3697;},'ckfLr':_0x48da26(0x17a),'LIIbD':_0x48da26(0x16f),'oSVuX':function(_0x3b7e49,_0x369676){return _0x3b7e49(_0x369676);}};let _0x18a14a=_0x382196[_0x48da26(0x175)],_0x494596=_0x382196[_0x48da26(0x1c1)];const _0x44fd62=_0x382196['advanceOptions'],_0xc8f5f=_0x4a6962=>{const _0xd35a6e=_0x48da26,_0x18a357={};_0x18a357['FwyWB']=_0x37afc2[_0xd35a6e(0x18a)],_0x18a357[_0xd35a6e(0x17b)]=_0x37afc2[_0xd35a6e(0x192)],_0x18a357[_0xd35a6e(0x1ad)]=_0x37afc2[_0xd35a6e(0x189)],_0x18a357[_0xd35a6e(0x1ae)]=_0x37afc2['kqvCx'],_0x18a357[_0xd35a6e(0x183)]=_0x37afc2[_0xd35a6e(0x176)],_0x18a357[_0xd35a6e(0x18f)]=_0x37afc2[_0xd35a6e(0x190)],_0x18a357[_0xd35a6e(0x16a)]=_0x37afc2[_0xd35a6e(0x1c3)];const _0x4be2b6=_0x18a357;if(_0x37afc2[_0xd35a6e(0x17f)](_0x37afc2[_0xd35a6e(0x1a3)],_0x37afc2[_0xd35a6e(0x1a3)])){const _0x240c7d={};_0x240c7d[_0xd35a6e(0x195)]=_0x4be2b6[_0xd35a6e(0x1cf)],_0x240c7d[_0xd35a6e(0x1cb)]=_0x4be2b6[_0xd35a6e(0x17b)];const _0x446143={};_0x446143[_0xd35a6e(0x195)]=_0x4be2b6['MfBXw'],_0x446143[_0xd35a6e(0x1cb)]=_0x4be2b6[_0xd35a6e(0x17b)];const _0x43d59b={};_0x43d59b[_0xd35a6e(0x188)]=!![],_0x43d59b['description']=_0x4be2b6[_0xd35a6e(0x1ae)],_0x43d59b[_0xd35a6e(0x1cb)]=_0x4be2b6[_0xd35a6e(0x17b)];const _0x341bdc={};_0x341bdc[_0xd35a6e(0x195)]=_0x4be2b6[_0xd35a6e(0x183)],_0x341bdc['type']=_0x4be2b6[_0xd35a6e(0x17b)];const _0x1ecc9c={};_0x1ecc9c[_0xd35a6e(0x195)]=_0x4be2b6['PcMAb'],_0x1ecc9c['type']=_0x4be2b6[_0xd35a6e(0x17b)];const _0x53319a={};return _0x53319a[_0xd35a6e(0x197)]=_0x240c7d,_0x53319a[_0xd35a6e(0x181)]=_0x446143,_0x53319a[_0xd35a6e(0x1a5)]=_0x43d59b,_0x53319a[_0xd35a6e(0x196)]=_0x341bdc,_0x53319a[_0xd35a6e(0x1b5)]=_0x1ecc9c,_0x462769[_0xd35a6e(0x180)](_0x30fa6b[_0xd35a6e(0x1c8)])[_0xd35a6e(0x1bf)](_0x31fde5)[_0xd35a6e(0x19a)](_0x53319a)[_0xd35a6e(0x1ca)](_0x4be2b6[_0xd35a6e(0x16a)])['argv'];}else logger['error'](_0x4a6962),process[_0xd35a6e(0x191)](0x1);};[_0x18a14a,_0x494596]=_0x37afc2[_0x48da26(0x1b9)](fetchOrUpdateUserConfig,_0x18a14a,_0x494596);!_0x37afc2[_0x48da26(0x187)](_0x18a14a,_0x494596)&&(_0x37afc2[_0x48da26(0x1a7)](_0x37afc2['KWXcO'],_0x37afc2[_0x48da26(0x1ab)])?_0x37afc2[_0x48da26(0x1af)](_0x24e8ed,_0x37afc2['HAWOs']):_0x37afc2[_0x48da26(0x1b8)](_0xc8f5f,_0x37afc2[_0x48da26(0x1bc)]));const _0x223b00=_0x382196['gridId'],[_0x581aff,_0x11aa17]=await _0x37afc2[_0x48da26(0x18b)](getGridDetails,_0x18a14a,_0x494596,_0x223b00);!_0x11aa17&&(_0x37afc2[_0x48da26(0x1b1)](_0x37afc2[_0x48da26(0x165)],_0x37afc2['hJgJx'])?(_0xab1c4f[_0x48da26(0x1cc)](_0x595f86),_0x15296e[_0x48da26(0x191)](0x1)):_0x37afc2[_0x48da26(0x1ce)](_0xc8f5f,_0x37afc2[_0x48da26(0x182)]));const _0x582139=_0x37afc2[_0x48da26(0x18e)](_0x382196[_0x48da26(0x161)],_0x37afc2[_0x48da26(0x184)])?!![]:![];if(_0x11aa17&&_0x11aa17['isTrialGrid']&&_0x582139){if(_0x37afc2['AINVh'](_0x37afc2['nWLBY'],_0x37afc2[_0x48da26(0x17d)])){const _0x1a3223={'RhxgS':function(_0xdad4e6,_0x5c515c){const _0x5360b9=_0x48da26;return _0x37afc2[_0x5360b9(0x1b1)](_0xdad4e6,_0x5c515c);},'bjJEL':function(_0x3340f2,_0x2673a2){const _0x478bc5=_0x48da26;return _0x37afc2[_0x478bc5(0x1aa)](_0x3340f2,_0x2673a2);}};let _0x5d9f18=_0x37afc2[_0x48da26(0x1a9)];_0x5324ab['info'](_0x5d9f18);try{const _0x235c66={};_0x235c66['accessKey']=_0x1f090d,_0x235c66[_0x48da26(0x17c)]=_0x1e7ad9[_0x48da26(0x17c)],_0x235c66[_0x48da26(0x1a6)]=_0x441b66;const _0xe79225=_0x235c66,_0x32cfce=_0x37afc2[_0x48da26(0x194)](_0x30fb9a,_0xe79225);let _0x1e32cc=0x0;const _0x32ecc3=async()=>{const _0x168c87=_0x48da26;_0x1e32cc++,_0x1a3223['RhxgS'](_0x1e32cc,0x1)&&_0x32cfce&&_0x32cfce[_0x168c87(0x16c)]()&&_0x1a3223['bjJEL'](_0x3a6b79,_0x32cfce);};_0x33fb46['on'](_0x37afc2[_0x48da26(0x19f)],_0x32ecc3),_0x5ca3a9['on'](_0x37afc2['Dujwm'],_0x32ecc3),_0x3f2e58['on'](_0x37afc2['oGyQM'],_0x32ecc3),_0x5d9f18=_0x37afc2[_0x48da26(0x1c0)],_0x4acae2['info'](_0x5d9f18);}catch(_0x3133c2){_0x37afc2['PccQT'](_0x128bad,_0x37afc2[_0x48da26(0x185)]);}}else{let _0x5b5be7=_0x37afc2['nSmLT'];logger[_0x48da26(0x16e)](_0x5b5be7);try{if(_0x37afc2[_0x48da26(0x1be)](_0x37afc2[_0x48da26(0x19c)],_0x37afc2['hVUqr']))_0xf4fbfb++,_0x37afc2[_0x48da26(0x1b1)](_0x384c70,0x1)&&_0x5d1ca4&&_0x3a636a[_0x48da26(0x16c)]()&&_0x37afc2[_0x48da26(0x194)](_0x2daefd,_0xd474d4);else{const _0xc145a4={};_0xc145a4['accessKey']=_0x494596,_0xc145a4[_0x48da26(0x17c)]=_0x11aa17[_0x48da26(0x17c)],_0xc145a4[_0x48da26(0x1a6)]=_0x44fd62;const _0x4c7193=_0xc145a4,_0x483dd3=_0x37afc2[_0x48da26(0x1b6)](startLocalBinarySync,_0x4c7193);let _0x3dac99=0x0;const _0x33fce4=async()=>{const _0x6fdb68=_0x48da26;_0x37afc2[_0x6fdb68(0x17f)](_0x37afc2[_0x6fdb68(0x1a1)],_0x37afc2[_0x6fdb68(0x1a1)])?_0x37afc2[_0x6fdb68(0x1aa)](_0x4c77e6,_0x37afc2[_0x6fdb68(0x182)]):(_0x3dac99++,_0x37afc2[_0x6fdb68(0x1d1)](_0x3dac99,0x1)&&_0x483dd3&&_0x483dd3[_0x6fdb68(0x16c)]()&&_0x37afc2[_0x6fdb68(0x194)](stopLocalBinary,_0x483dd3));};process['on'](_0x37afc2['tySlF'],_0x33fce4),process['on'](_0x37afc2['Dujwm'],_0x33fce4),process['on'](_0x37afc2[_0x48da26(0x1c6)],_0x33fce4),_0x5b5be7=_0x37afc2['QFMFv'],logger[_0x48da26(0x16e)](_0x5b5be7);}}catch(_0x56d901){if(_0x37afc2['iIzgY'](_0x37afc2[_0x48da26(0x1b4)],_0x37afc2[_0x48da26(0x1d6)])){const _0x4310ed={};_0x4310ed[_0x48da26(0x19b)]=_0x2484e2,_0x4310ed['customRepeaters']=_0x716b94[_0x48da26(0x17c)],_0x4310ed['browserStackLocalOptions']=_0x3d026c;const _0x75d1c0=_0x4310ed,_0x34fb37=_0x37afc2[_0x48da26(0x1af)](_0x26b6da,_0x75d1c0);let _0x3d3878=0x0;const _0x414741=async()=>{const _0x488186=_0x48da26;_0x3d3878++,_0x37afc2[_0x488186(0x18e)](_0x3d3878,0x1)&&_0x34fb37&&_0x34fb37[_0x488186(0x16c)]()&&_0x37afc2[_0x488186(0x1b8)](_0x2e5814,_0x34fb37);};_0x244ff7['on'](_0x37afc2['tySlF'],_0x414741),_0x3c6f8c['on'](_0x37afc2[_0x48da26(0x1b0)],_0x414741),_0x4f1e5a['on'](_0x37afc2['oGyQM'],_0x414741),_0x695377=_0x37afc2['QFMFv'],_0x331676[_0x48da26(0x16e)](_0x2d9bb0);}else _0x37afc2[_0x48da26(0x1ba)](_0xc8f5f,_0x37afc2['kpGmE']);}}}process['exit'](0x0);};
@@ -1 +1 @@
1
- const a8_0xd0fb77=a8_0x5550;function a8_0x1493(){const _0x3c075d=['8DZQBKK','../config/constants','606UUdytI','strict','545672igYxVq','epilogue','create','MbwEa','Create\x20a\x20new\x20Automation\x20grid.','commandDir','1464782rKwFnc','5918087cxMotp','help','2347374KioZog','1846092zHgctW','desc','50fCmUjG','9SCwKtx','create_commands','5108785TRepsJ','2747tFliPq','avbsC'];a8_0x1493=function(){return _0x3c075d;};return a8_0x1493();}function a8_0x5550(_0x36fbea,_0x916a47){const _0x149354=a8_0x1493();return a8_0x5550=function(_0x555034,_0x3468aa){_0x555034=_0x555034-0x107;let _0x524d9d=_0x149354[_0x555034];return _0x524d9d;},a8_0x5550(_0x36fbea,_0x916a47);}(function(_0x5b8abe,_0x4939ba){const _0x486b91=a8_0x5550,_0x1b3555=_0x5b8abe();while(!![]){try{const _0xc92f5e=parseInt(_0x486b91(0x11a))/0x1*(parseInt(_0x486b91(0x108))/0x2)+-parseInt(_0x486b91(0x114))/0x3*(-parseInt(_0x486b91(0x11c))/0x4)+-parseInt(_0x486b91(0x119))/0x5+-parseInt(_0x486b91(0x113))/0x6+parseInt(_0x486b91(0x111))/0x7+-parseInt(_0x486b91(0x10a))/0x8*(parseInt(_0x486b91(0x117))/0x9)+parseInt(_0x486b91(0x116))/0xa*(-parseInt(_0x486b91(0x110))/0xb);if(_0xc92f5e===_0x4939ba)break;else _0x1b3555['push'](_0x1b3555['shift']());}catch(_0x3cdf19){_0x1b3555['push'](_0x1b3555['shift']());}}}(a8_0x1493,0xb9ea1));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a8_0xd0fb77(0x107));exports['command']='create',exports[a8_0xd0fb77(0x115)]=a8_0xd0fb77(0x10e),exports['builder']=function(_0x2202d0){const _0x443447=a8_0xd0fb77,_0x4e50b5={};_0x4e50b5[_0x443447(0x10d)]=_0x443447(0x118),_0x4e50b5[_0x443447(0x11b)]=_0x443447(0x112);const _0x1056c5=_0x4e50b5;return _0x2202d0['usage'](HELP_HEADER_MESSAGE[_0x443447(0x10c)])[_0x443447(0x10b)](HELP_FOOTER_MESSAGE)[_0x443447(0x10f)](_0x1056c5[_0x443447(0x10d)])['demandCommand']()['recommendCommands']()[_0x443447(0x109)]()['help'](_0x1056c5[_0x443447(0x11b)]);},exports['handler']=function(_0x4d5a46){};
1
+ function a8_0x4de4(_0x125fae,_0x569cad){const _0x1fb2f9=a8_0x1fb2();return a8_0x4de4=function(_0x4de4b4,_0x5b1cec){_0x4de4b4=_0x4de4b4-0x141;let _0x149909=_0x1fb2f9[_0x4de4b4];return _0x149909;},a8_0x4de4(_0x125fae,_0x569cad);}const a8_0x4d5c4b=a8_0x4de4;(function(_0x4118ba,_0x131dca){const _0x4adb70=a8_0x4de4,_0x45112e=_0x4118ba();while(!![]){try{const _0x43a793=parseInt(_0x4adb70(0x15c))/0x1*(-parseInt(_0x4adb70(0x151))/0x2)+parseInt(_0x4adb70(0x144))/0x3*(-parseInt(_0x4adb70(0x157))/0x4)+parseInt(_0x4adb70(0x14d))/0x5*(-parseInt(_0x4adb70(0x159))/0x6)+parseInt(_0x4adb70(0x15a))/0x7*(-parseInt(_0x4adb70(0x146))/0x8)+parseInt(_0x4adb70(0x14e))/0x9*(parseInt(_0x4adb70(0x148))/0xa)+-parseInt(_0x4adb70(0x142))/0xb+parseInt(_0x4adb70(0x149))/0xc;if(_0x43a793===_0x131dca)break;else _0x45112e['push'](_0x45112e['shift']());}catch(_0x30e15f){_0x45112e['push'](_0x45112e['shift']());}}}(a8_0x1fb2,0xbbfae));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a8_0x4d5c4b(0x155));exports[a8_0x4d5c4b(0x158)]='create',exports[a8_0x4d5c4b(0x143)]=a8_0x4d5c4b(0x152),exports[a8_0x4d5c4b(0x15b)]=function(_0x2d713f){const _0x4bbbbf=a8_0x4d5c4b,_0x5146ad={};_0x5146ad[_0x4bbbbf(0x153)]=_0x4bbbbf(0x141),_0x5146ad['tRvZW']=_0x4bbbbf(0x145);const _0x40cef8=_0x5146ad;return _0x2d713f['usage'](HELP_HEADER_MESSAGE[_0x4bbbbf(0x14f)])[_0x4bbbbf(0x154)](HELP_FOOTER_MESSAGE)[_0x4bbbbf(0x156)](_0x40cef8['IYCek'])[_0x4bbbbf(0x14c)]()[_0x4bbbbf(0x14a)]()[_0x4bbbbf(0x150)]()[_0x4bbbbf(0x145)](_0x40cef8[_0x4bbbbf(0x14b)]);},exports[a8_0x4d5c4b(0x147)]=function(_0xce57c3){};function a8_0x1fb2(){const _0x19e0d6=['create_commands','15251016INKWiS','desc','127311mxPaIk','help','80tbeBfZ','handler','50NWAfNO','37501752RwbWKa','recommendCommands','tRvZW','demandCommand','42415WedqBi','2174823ZKSsqk','create','strict','318ZLHeNF','Create\x20a\x20new\x20Automation\x20grid.','IYCek','epilogue','../config/constants','commandDir','24HzOxdF','command','42xsFHgx','890701gNFEuS','builder','3714luBtOe'];a8_0x1fb2=function(){return _0x19e0d6;};return a8_0x1fb2();}