browserstack-node-sdk 1.34.56 → 1.34.57

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_0x4479c1=a2_0x4c36;function a2_0x4c36(_0x3909cd,_0x12f5df){const _0x1b3816=a2_0x1b38();return a2_0x4c36=function(_0x4c36db,_0x3c46d1){_0x4c36db=_0x4c36db-0x1a9;let _0x372e16=_0x1b3816[_0x4c36db];return _0x372e16;},a2_0x4c36(_0x3909cd,_0x12f5df);}(function(_0x425128,_0x295b13){const _0x1c1863=a2_0x4c36,_0x550474=_0x425128();while(!![]){try{const _0x27dee7=-parseInt(_0x1c1863(0x1cc))/0x1*(-parseInt(_0x1c1863(0x1ba))/0x2)+-parseInt(_0x1c1863(0x1d3))/0x3+parseInt(_0x1c1863(0x1d2))/0x4+-parseInt(_0x1c1863(0x1ae))/0x5*(-parseInt(_0x1c1863(0x1c9))/0x6)+parseInt(_0x1c1863(0x1c8))/0x7*(-parseInt(_0x1c1863(0x1c7))/0x8)+-parseInt(_0x1c1863(0x1b6))/0x9*(-parseInt(_0x1c1863(0x1b8))/0xa)+parseInt(_0x1c1863(0x1bb))/0xb*(-parseInt(_0x1c1863(0x1ab))/0xc);if(_0x27dee7===_0x295b13)break;else _0x550474['push'](_0x550474['shift']());}catch(_0x26820){_0x550474['push'](_0x550474['shift']());}}}(a2_0x1b38,0xdce01));const fs=require('fs'),{getCredentialsPath,isUndefined}=require('../utils/utilityMethods'),{logger}=require(a2_0x4479c1(0x1ca)),{inputCloudProviderKeys}=require(a2_0x4479c1(0x1cf)),{WS_EVENTS}=require('../config/constants');class CloudProvider{constructor(_0x131f5e,_0x175a37,_0x31077a,_0x11e17c,_0x4f7a62){const _0x580d8c=a2_0x4479c1,_0x2a6813={};_0x2a6813[_0x580d8c(0x1c1)]=_0x580d8c(0x1aa);const _0x594907=_0x2a6813,_0x1174b4=_0x594907[_0x580d8c(0x1c1)][_0x580d8c(0x1c5)]('|');let _0x2532fc=0x0;while(!![]){switch(_0x1174b4[_0x2532fc++]){case'0':this[_0x580d8c(0x1b9)]=_0x11e17c;continue;case'1':this[_0x580d8c(0x1cd)]=_0x31077a;continue;case'2':this[_0x580d8c(0x1d0)]=_0x131f5e;continue;case'3':this[_0x580d8c(0x1b2)]=_0x4f7a62;continue;case'4':this[_0x580d8c(0x1c3)]=_0x175a37;continue;}break;}}async[a2_0x4479c1(0x1c4)](){const _0x4f0b30=a2_0x4479c1,_0x530b68={'dcxSF':function(_0x3bbae4){return _0x3bbae4();},'MqHih':function(_0x455311,_0x92f675){return _0x455311(_0x92f675);},'DFVqF':'Unable\x20to\x20fetch\x20credentials\x20for\x20cloud\x20provider\x20locally','BgPPf':function(_0xe87649,_0x30ad68,_0x5844e5,_0x3bd1fb){return _0xe87649(_0x30ad68,_0x5844e5,_0x3bd1fb);},'IyhhQ':function(_0x167c61){return _0x167c61();},'YaZXS':_0x4f0b30(0x1bd),'nClvY':_0x4f0b30(0x1b1)},_0x4a3e0b=JSON[_0x4f0b30(0x1d1)](fs[_0x4f0b30(0x1c2)](_0x530b68[_0x4f0b30(0x1ad)](getCredentialsPath))),_0x595f7e=_0x4a3e0b[_0x4f0b30(0x1b7)]||{};if(_0x530b68[_0x4f0b30(0x1a9)](isUndefined,_0x595f7e[this[_0x4f0b30(0x1d0)]])){logger[_0x4f0b30(0x1b0)](_0x530b68[_0x4f0b30(0x1c0)]);_0x530b68[_0x4f0b30(0x1a9)](isUndefined,_0x4a3e0b['cloudProvider'])&&(_0x4a3e0b[_0x4f0b30(0x1b7)]={});_0x4a3e0b[_0x4f0b30(0x1b7)][this[_0x4f0b30(0x1d0)]]={};const _0x34eafa=await _0x530b68[_0x4f0b30(0x1be)](inputCloudProviderKeys,this[_0x4f0b30(0x1d0)],_0x4a3e0b,this);fs['writeFileSync'](_0x530b68[_0x4f0b30(0x1b4)](getCredentialsPath),JSON[_0x4f0b30(0x1af)](_0x34eafa)),logger[_0x4f0b30(0x1b3)](_0x530b68[_0x4f0b30(0x1ac)]);}else{const _0x1f3409=_0x530b68[_0x4f0b30(0x1c6)],_0x5eb5d3={};_0x5eb5d3[_0x4f0b30(0x1b5)]=WS_EVENTS[_0x4f0b30(0x1bc)],_0x5eb5d3[_0x4f0b30(0x1bf)]=_0x1f3409,this['webSocketUtils']['sendEventToBackend'](this[_0x4f0b30(0x1b9)],_0x5eb5d3),logger[_0x4f0b30(0x1b0)](_0x1f3409),await this[_0x4f0b30(0x1cb)](_0x595f7e);}}}function a2_0x1b38(){const _0x53b5de=['293ROxLgy','gridName','exports','../utils/userInput','cloudProviderName','parse','810332qszSYq','1853310PgIkyB','CloudProvider','MqHih','2|4|1|0|3','12fdhxrP','YaZXS','dcxSF','5hNWETc','stringify','info','Found\x20credentials\x20for\x20cloud\x20provider\x20locally.\x20Using\x20them\x20to\x20perform\x20actions','webSocketUtils','debug','IyhhQ','type','18geAnIB','cloudProvider','6707860BBVoGK','rws','10808aJKezE','30688845qrMGyW','LOG','Saving\x20credentials\x20for\x20cloud\x20provider\x20locally\x20for\x20later\x20runs','BgPPf','message','DFVqF','dGIMU','readFileSync','clusterName','init','split','nClvY','2801848XnCEim','7BWlXpt','9210444XLhcQa','../config/logger','setCachedCredsInRegistry'];a2_0x1b38=function(){return _0x53b5de;};return a2_0x1b38();}const a2_0x9896aa={};a2_0x9896aa[a2_0x4479c1(0x1d4)]=CloudProvider,module[a2_0x4479c1(0x1ce)]=a2_0x9896aa;
1
+ const a2_0x2580e2=a2_0x12ea;(function(_0x2be3ef,_0x41499e){const _0x10f169=a2_0x12ea,_0x533012=_0x2be3ef();while(!![]){try{const _0x19c5b4=parseInt(_0x10f169(0xef))/0x1+parseInt(_0x10f169(0xff))/0x2*(parseInt(_0x10f169(0x111))/0x3)+parseInt(_0x10f169(0x10b))/0x4+parseInt(_0x10f169(0x100))/0x5*(-parseInt(_0x10f169(0xf5))/0x6)+-parseInt(_0x10f169(0x10e))/0x7*(-parseInt(_0x10f169(0x105))/0x8)+parseInt(_0x10f169(0x115))/0x9+parseInt(_0x10f169(0x104))/0xa*(-parseInt(_0x10f169(0xf7))/0xb);if(_0x19c5b4===_0x41499e)break;else _0x533012['push'](_0x533012['shift']());}catch(_0x1cdb64){_0x533012['push'](_0x533012['shift']());}}}(a2_0x467d,0x37434));const fs=require('fs'),{getCredentialsPath,isUndefined}=require(a2_0x2580e2(0xfe)),{logger}=require(a2_0x2580e2(0xf2)),{inputCloudProviderKeys}=require('../utils/userInput'),{WS_EVENTS}=require(a2_0x2580e2(0x112));class CloudProvider{constructor(_0x358078,_0x505e47,_0x41294a,_0x5bbd02,_0xe9ec3a){const _0xe52da3=a2_0x2580e2,_0x1de0c1={};_0x1de0c1[_0xe52da3(0xed)]=_0xe52da3(0x10c);const _0x4678d4=_0x1de0c1,_0x2d2ac7=_0x4678d4[_0xe52da3(0xed)][_0xe52da3(0xfc)]('|');let _0x37668a=0x0;while(!![]){switch(_0x2d2ac7[_0x37668a++]){case'0':this[_0xe52da3(0x106)]=_0xe9ec3a;continue;case'1':this['clusterName']=_0x505e47;continue;case'2':this[_0xe52da3(0x10a)]=_0x5bbd02;continue;case'3':this[_0xe52da3(0x101)]=_0x358078;continue;case'4':this[_0xe52da3(0x103)]=_0x41294a;continue;}break;}}async[a2_0x2580e2(0xfa)](){const _0x72bf93=a2_0x2580e2,_0x1c0dea={'XTOyY':function(_0x3af98a){return _0x3af98a();},'mhrSZ':function(_0x4c98dc,_0x4bb52b){return _0x4c98dc(_0x4bb52b);},'ncDEK':'Unable\x20to\x20fetch\x20credentials\x20for\x20cloud\x20provider\x20locally','XFznE':function(_0x306951,_0x3285e1){return _0x306951(_0x3285e1);},'puqiA':function(_0x2c535d,_0x482c12,_0x4d2f22,_0x8aca5f){return _0x2c535d(_0x482c12,_0x4d2f22,_0x8aca5f);},'BnMaN':_0x72bf93(0xf1),'ShIGd':_0x72bf93(0x113)},_0x11ea6a=JSON[_0x72bf93(0x110)](fs[_0x72bf93(0x108)](_0x1c0dea[_0x72bf93(0xf6)](getCredentialsPath))),_0x38b68d=_0x11ea6a[_0x72bf93(0xee)]||{};if(_0x1c0dea[_0x72bf93(0xf0)](isUndefined,_0x38b68d[this[_0x72bf93(0x101)]])){logger['info'](_0x1c0dea[_0x72bf93(0xf9)]);_0x1c0dea[_0x72bf93(0x107)](isUndefined,_0x11ea6a[_0x72bf93(0xee)])&&(_0x11ea6a[_0x72bf93(0xee)]={});_0x11ea6a['cloudProvider'][this[_0x72bf93(0x101)]]={};const _0x292bdf=await _0x1c0dea[_0x72bf93(0xec)](inputCloudProviderKeys,this[_0x72bf93(0x101)],_0x11ea6a,this);fs[_0x72bf93(0xfd)](_0x1c0dea[_0x72bf93(0xf6)](getCredentialsPath),JSON[_0x72bf93(0x109)](_0x292bdf)),logger[_0x72bf93(0x114)](_0x1c0dea[_0x72bf93(0xfb)]);}else{const _0x191037=_0x1c0dea[_0x72bf93(0xf3)],_0x23b83c={};_0x23b83c['type']=WS_EVENTS[_0x72bf93(0x10d)],_0x23b83c[_0x72bf93(0xf8)]=_0x191037,this['webSocketUtils'][_0x72bf93(0x10f)](this['rws'],_0x23b83c),logger[_0x72bf93(0xf4)](_0x191037),await this[_0x72bf93(0x102)](_0x38b68d);}}}const a2_0x49df3b={};a2_0x49df3b['CloudProvider']=CloudProvider,module[a2_0x2580e2(0x116)]=a2_0x49df3b;function a2_0x12ea(_0x169d41,_0x33edd6){const _0x467d2e=a2_0x467d();return a2_0x12ea=function(_0x12ea04,_0x29c93f){_0x12ea04=_0x12ea04-0xec;let _0x3db329=_0x467d2e[_0x12ea04];return _0x3db329;},a2_0x12ea(_0x169d41,_0x33edd6);}function a2_0x467d(){const _0x1cf4fc=['setCachedCredsInRegistry','gridName','8893410WsryHW','2056YUCmbD','webSocketUtils','XFznE','readFileSync','stringify','rws','1477700DEhquo','3|1|4|2|0','LOG','6517QhxhRA','sendEventToBackend','parse','3aCRpSB','../config/constants','Found\x20credentials\x20for\x20cloud\x20provider\x20locally.\x20Using\x20them\x20to\x20perform\x20actions','debug','3819807Mcuqvl','exports','puqiA','fisFN','cloudProvider','308909xOGgPA','mhrSZ','Saving\x20credentials\x20for\x20cloud\x20provider\x20locally\x20for\x20later\x20runs','../config/logger','ShIGd','info','60uDnHcq','XTOyY','11KpKPIy','message','ncDEK','init','BnMaN','split','writeFileSync','../utils/utilityMethods','147806fKtAAW','150115TMMQTI','cloudProviderName'];a2_0x467d=function(){return _0x1cf4fc;};return a2_0x467d();}
@@ -1 +1 @@
1
- const a3_0x2dcfc2=a3_0x482e;(function(_0x5b88bf,_0x3502a6){const _0x5199e8=a3_0x482e,_0x3e2655=_0x5b88bf();while(!![]){try{const _0x4312d4=-parseInt(_0x5199e8(0x218))/0x1+-parseInt(_0x5199e8(0x178))/0x2+parseInt(_0x5199e8(0x10c))/0x3+parseInt(_0x5199e8(0x127))/0x4+parseInt(_0x5199e8(0x145))/0x5*(-parseInt(_0x5199e8(0x123))/0x6)+parseInt(_0x5199e8(0xc9))/0x7+parseInt(_0x5199e8(0x173))/0x8;if(_0x4312d4===_0x3502a6)break;else _0x3e2655['push'](_0x3e2655['shift']());}catch(_0x183008){_0x3e2655['push'](_0x3e2655['shift']());}}}(a3_0x1161,0x56038));const fs=require('fs'),path=require(a3_0x2dcfc2(0xb0)),got=require('got'),util=require(a3_0x2dcfc2(0x111)),cp=require(a3_0x2dcfc2(0x148)),{google}=require(a3_0x2dcfc2(0x219)),compute=require(a3_0x2dcfc2(0x206)),container=require(a3_0x2dcfc2(0x121)),{ProjectsClient}=require(a3_0x2dcfc2(0xb8))['v3'],{logger}=require('../config/logger'),{CloudProvider}=require('./CloudProvider'),{getDirForConfig,getAuthHeader,runCommand}=require(a3_0x2dcfc2(0xde)),{deleteRoutingDeps,deleteAgent}=require('../utils/gridComponents'),{inputConfirmation,closeInput}=require(a3_0x2dcfc2(0x1a1)),{GCP,AG_API_URL,WS_EVENTS,global_registry}=require(a3_0x2dcfc2(0x19a)),PERMISSIONS=require(a3_0x2dcfc2(0xfe));function a3_0x482e(_0x53df6f,_0x1708e9){const _0x1161e1=a3_0x1161();return a3_0x482e=function(_0x482e64,_0x98f255){_0x482e64=_0x482e64-0x9b;let _0x4f9d51=_0x1161e1[_0x482e64];return _0x4f9d51;},a3_0x482e(_0x53df6f,_0x1708e9);}class GoogleCloudProvider extends CloudProvider{constructor(_0x514c55,_0x3817e9,_0x82e144,_0xa338b7){const _0x1585b6=a3_0x2dcfc2,_0x4a4cae={};_0x4a4cae[_0x1585b6(0x16f)]=_0x1585b6(0x1d8),_0x4a4cae['WXVvR']=_0x1585b6(0x129),_0x4a4cae[_0x1585b6(0x203)]=_0x1585b6(0x1ad);const _0x3f9ea8=_0x4a4cae,_0xfa3138=_0x3f9ea8[_0x1585b6(0x16f)][_0x1585b6(0xc6)]('|');let _0x4c420e=0x0;while(!![]){switch(_0xfa3138[_0x4c420e++]){case'0':this[_0x1585b6(0x149)]=null;continue;case'1':this[_0x1585b6(0x102)]=_0x3f9ea8[_0x1585b6(0x1e2)];continue;case'2':this[_0x1585b6(0x17f)]=null;continue;case'3':this[_0x1585b6(0x182)]=null;continue;case'4':this[_0x1585b6(0xee)]=null;continue;case'5':this[_0x1585b6(0x1e0)]=null;continue;case'6':super(GCP,_0x514c55,_0x3817e9,_0x82e144,_0xa338b7);continue;case'7':this[_0x1585b6(0x126)]=null;continue;case'8':this[_0x1585b6(0x168)]=_0x3f9ea8[_0x1585b6(0x203)];continue;}break;}}async[a3_0x2dcfc2(0xa4)](){const _0x1e77a4=a3_0x2dcfc2;this[_0x1e77a4(0xc5)](this['rws']);}async['init'](){const _0x446756=a3_0x2dcfc2;await super[_0x446756(0xb6)]();const _0xe36967=this[_0x446756(0x126)],_0x494591={};_0x494591[_0x446756(0x1b1)]=_0xe36967,this[_0x446756(0x1e0)]=new container['v1'][(_0x446756(0xc4))](_0x494591);const _0x5f1ba7={};_0x5f1ba7[_0x446756(0x1b1)]=_0xe36967,this['networkClient']=new compute['v1'][(_0x446756(0x1a9))](_0x5f1ba7);const _0x113cc5={};return _0x113cc5[_0x446756(0x1b1)]=_0xe36967,this[_0x446756(0xee)]=new ProjectsClient(_0x113cc5),this[_0x446756(0x182)]=google[_0x446756(0x202)]('v1'),this;}async[a3_0x2dcfc2(0x1de)](_0x2521a6,_0x3143e0){const _0x12f80f=a3_0x2dcfc2,_0x4ed3e8={'azTkv':function(_0x3d2c53,_0x10944e){return _0x3d2c53(_0x10944e);},'terlh':'Enter\x20Key\x20file\x20(.json)\x20path\x20for\x20GCP\x20Service\x20Account:\x20','fdoTr':function(_0x250fc6){return _0x250fc6();},'ftnwO':_0x12f80f(0x16b)},_0x43319a=await _0x4ed3e8[_0x12f80f(0x115)](_0x2521a6,_0x4ed3e8[_0x12f80f(0xd3)]);let _0xae9d58=await fs[_0x12f80f(0x141)](_0x43319a);_0xae9d58=_0xae9d58['toString']();const _0x27e66a=_0x4ed3e8[_0x12f80f(0xbb)](getDirForConfig),_0xe4b725=path[_0x12f80f(0x1fb)](_0x27e66a,_0x4ed3e8['ftnwO']);fs['writeFileSync'](_0xe4b725,_0xae9d58),this[_0x12f80f(0x126)]=_0xe4b725;const _0x37dffe={};return _0x37dffe[_0x12f80f(0x1b1)]=_0xe4b725,_0x3143e0['cloudProvider'][GCP]=_0x37dffe,_0xae9d58=JSON[_0x12f80f(0x12a)](_0xae9d58),this[_0x12f80f(0x17f)]=_0xae9d58[_0x12f80f(0x171)],_0x3143e0;}async['setCachedCredsInRegistry'](_0x38a4fa){const _0xd59c6e=a3_0x2dcfc2;this[_0xd59c6e(0x126)]=_0x38a4fa[this[_0xd59c6e(0x194)]]['keyFile'];let _0x3515fc=await fs[_0xd59c6e(0x141)](this[_0xd59c6e(0x126)]);_0x3515fc=JSON[_0xd59c6e(0x12a)](_0x3515fc),this['projectId']=_0x3515fc[_0xd59c6e(0x171)];}[a3_0x2dcfc2(0x105)](_0x1c7430){const _0x3c0dae=a3_0x2dcfc2;return _0x1c7430['status'][_0x3c0dae(0x19d)][_0x3c0dae(0x1c7)][0x0]['ip'];}async['isBrowserstackCluster'](){const _0x47404b=a3_0x2dcfc2,_0x54901a={};_0x54901a[_0x47404b(0x1a0)]=_0x47404b(0x214),_0x54901a[_0x47404b(0x1d1)]=function(_0x4c7a38,_0x2095b3){return _0x4c7a38+_0x2095b3;},_0x54901a['yhgpA']=function(_0x3738d7,_0x2eb9a0){return _0x3738d7!==_0x2eb9a0;},_0x54901a['OzFwq']=_0x47404b(0x213),_0x54901a[_0x47404b(0x1a7)]=_0x47404b(0xf6),_0x54901a[_0x47404b(0x1ee)]=function(_0x510aac,_0x46522b){return _0x510aac===_0x46522b;},_0x54901a[_0x47404b(0x1a5)]='AEXzI',_0x54901a['eNqoi']=function(_0x282528,_0x51a667){return _0x282528===_0x51a667;},_0x54901a['TfaRY']=_0x47404b(0xf1),_0x54901a[_0x47404b(0xce)]='RiiUY';const _0x9eb3ec=_0x54901a;try{if(_0x9eb3ec[_0x47404b(0x18c)](_0x9eb3ec[_0x47404b(0xa1)],_0x9eb3ec[_0x47404b(0x1a7)])){const _0x108a24=await this[_0x47404b(0x217)]();if(_0x108a24[0x0]?.['resourceLabels']?.[_0x47404b(0xa5)]){if(_0x9eb3ec[_0x47404b(0x1ee)](_0x9eb3ec[_0x47404b(0x1a5)],_0x9eb3ec[_0x47404b(0x1a5)])){const _0x389bd4=_0x108a24[0x0]?.[_0x47404b(0xff)]?.[_0x47404b(0xa5)];return _0x389bd4&&_0x9eb3ec[_0x47404b(0x1aa)](_0x389bd4[_0x47404b(0x19e)](),_0x9eb3ec[_0x47404b(0xaf)]);}else _0x1c7a79['error'](_0x9eb3ec[_0x47404b(0x1a0)]),_0x2e3bde[_0x47404b(0x1eb)](0x1);}}else _0x5266f7[_0x47404b(0xa8)]('['+_0x9eb3ec[_0x47404b(0x1d1)](_0x565b76,0x1)+']\x20'+_0xea4b50[_0x895730]);}catch(_0x5e0905){if(_0x9eb3ec[_0x47404b(0x18c)](_0x9eb3ec['wTEzp'],_0x9eb3ec['wTEzp']))this[_0x47404b(0xc5)](this['rws']);else return![];}return![];}async[a3_0x2dcfc2(0xb5)](){const _0x5cb9f4=a3_0x2dcfc2,_0x59081e={'TgqKa':'default','Rivbd':function(_0x8ee188,_0x150e3f){return _0x8ee188===_0x150e3f;},'yDLxa':function(_0x4ff9e1,_0x2cfcef){return _0x4ff9e1-_0x2cfcef;},'YhDwi':function(_0x46f83d,_0x582ef2){return _0x46f83d===_0x582ef2;},'pWgjt':_0x5cb9f4(0xd6),'hcGEZ':_0x5cb9f4(0x1c0),'Byqra':_0x5cb9f4(0x144),'tdHnJ':_0x5cb9f4(0x21c),'AaRMh':function(_0x546d7c,_0x129968){return _0x546d7c!==_0x129968;},'FzBdI':function(_0x36fcb8,_0x540e4a){return _0x36fcb8!==_0x540e4a;},'ARPSU':_0x5cb9f4(0xbc),'MGWeO':function(_0x37c3a4,_0x26fe78){return _0x37c3a4===_0x26fe78;},'mGDTy':_0x5cb9f4(0x12b),'fOYGr':'XalRD','lAHZS':function(_0x602b2a,_0x44ba3d){return _0x602b2a!==_0x44ba3d;},'bwsNw':_0x5cb9f4(0x1c1),'UFqit':function(_0x32e7c7,_0x364449){return _0x32e7c7===_0x364449;},'GhELX':function(_0x95bdf2,_0x3089b6){return _0x95bdf2===_0x3089b6;},'OUzjF':_0x5cb9f4(0x179),'PrAWe':function(_0x1c9601,_0xd9685f){return _0x1c9601!==_0xd9685f;},'wZrXc':'akbrV','yEUCj':_0x5cb9f4(0xf5),'ZpLnp':function(_0x1590f3,_0x289878){return _0x1590f3>_0x289878;},'Xuhkb':_0x5cb9f4(0x134),'ROXgs':function(_0x38f23e,_0x5bf0e3){return _0x38f23e<_0x5bf0e3;},'volHL':_0x5cb9f4(0x13d),'nzaYh':_0x5cb9f4(0xa9),'xYIHD':function(_0x5c7922,_0x13948b){return _0x5c7922+_0x13948b;},'fIMpV':function(_0x3634fb,_0x40772b){return _0x3634fb(_0x40772b);},'VSiBd':_0x5cb9f4(0x1f1),'yZuYB':function(_0x2db5e0,_0x3c3673){return _0x2db5e0(_0x3c3673);},'SmeTS':function(_0x2ac05a,_0x4a7043){return _0x2ac05a<=_0x4a7043;},'xvnYa':function(_0xb62762,_0x44e7ce){return _0xb62762>_0x44e7ce;},'qKCFp':_0x5cb9f4(0x1c6),'MpIMp':'Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','DAFAB':function(_0x1da614){return _0x1da614();},'XuCJN':function(_0x16c0cd,_0x2c8d4a){return _0x16c0cd!==_0x2c8d4a;},'PjdQn':function(_0x1e2f3c,_0x5acf67){return _0x1e2f3c-_0x5acf67;},'RJcNK':function(_0x1e2cd8,_0x20a1e6){return _0x1e2cd8===_0x20a1e6;},'tmVpi':'rvWvr','ZRaxA':_0x5cb9f4(0xbf),'iyLTH':function(_0x148c03,_0x5dae42){return _0x148c03-_0x5dae42;}};let _0x5819a6=await fs[_0x5cb9f4(0x141)](path[_0x5cb9f4(0x1fb)](__dirname,'..',_0x59081e[_0x5cb9f4(0x18e)],_0x59081e[_0x5cb9f4(0x108)],_0x59081e[_0x5cb9f4(0xf7)]),_0x59081e[_0x5cb9f4(0x161)]);_0x5819a6=JSON[_0x5cb9f4(0x12a)](_0x5819a6);let _0x14116c=[global_registry['clusterRegion']];if(_0x59081e[_0x5cb9f4(0x1d3)](_0x5819a6[global_registry[_0x5cb9f4(0x209)]],undefined)){if(_0x59081e[_0x5cb9f4(0x147)](_0x59081e[_0x5cb9f4(0x21e)],_0x59081e['ARPSU']))return[!![],_0x5a3a51];else _0x14116c=_0x14116c['concat'](_0x5819a6[global_registry[_0x5cb9f4(0x209)]]);}const _0x1fe4f6=[];for await(const _0x35e946 of _0x14116c){if(_0x59081e[_0x5cb9f4(0xa2)](_0x59081e[_0x5cb9f4(0x113)],_0x59081e[_0x5cb9f4(0x113)])){const _0x3f6736={};_0x3f6736[_0x5cb9f4(0x17d)]=_0x5cb9f4(0x21f)+this[_0x5cb9f4(0x17f)]+_0x5cb9f4(0x216)+_0x35e946;const _0x10518a=_0x3f6736,_0x3ff98e=await this[_0x5cb9f4(0x1e0)][_0x5cb9f4(0x210)](_0x10518a);for(const _0x3ead52 of _0x3ff98e[0x0][_0x5cb9f4(0xb2)]){if(_0x59081e[_0x5cb9f4(0x13a)](_0x59081e[_0x5cb9f4(0x167)],_0x59081e[_0x5cb9f4(0x167)])){if(_0x59081e[_0x5cb9f4(0x1c4)](_0x3ead52[_0x5cb9f4(0xfc)],this[_0x5cb9f4(0x21b)])){if(_0x59081e['lAHZS'](_0x59081e[_0x5cb9f4(0xd2)],_0x59081e['bwsNw']))return!![];else _0x1fe4f6[_0x5cb9f4(0x1b0)](_0x35e946);}}else _0x3603c9[_0x5cb9f4(0x11c)](_0x3d88fe);}}else _0x395f2b=_0x5de757[_0x5cb9f4(0x14c)](_0x212d25[_0x4c8503['clusterRegion']]);}const _0x395e13=_0x1fe4f6[_0x5cb9f4(0xf9)];if(_0x59081e[_0x5cb9f4(0x1ea)](_0x395e13,0x1)){if(_0x59081e['GhELX'](_0x59081e[_0x5cb9f4(0xfb)],_0x59081e[_0x5cb9f4(0xfb)]))return _0x59081e[_0x5cb9f4(0x1d3)](global_registry['clusterRegion'],_0x1fe4f6[0x0])&&(_0x59081e[_0x5cb9f4(0x192)](_0x59081e[_0x5cb9f4(0x15b)],_0x59081e[_0x5cb9f4(0x1e1)])?(global_registry['clusterRegion']=_0x1fe4f6[0x0],this[_0x5cb9f4(0xcf)]()):_0x1e5163[_0x5cb9f4(0xca)]=_0x30b5df),!![];else _0x1f82e7=_0x59081e[_0x5cb9f4(0x1ed)];}else{if(_0x59081e[_0x5cb9f4(0x162)](_0x395e13,0x1)){if(_0x59081e[_0x5cb9f4(0xbd)](_0x59081e[_0x5cb9f4(0xb9)],_0x59081e[_0x5cb9f4(0xb9)]))for(const _0x1b1e9d of _0x8ef257[_0x5cb9f4(0x1ef)][_0x5cb9f4(0xd8)]){if(_0x59081e['Rivbd'](_0x1b1e9d?.[_0x5cb9f4(0xfc)],'projects/'+this[_0x5cb9f4(0x17f)]+_0x5cb9f4(0xc3)+this[_0x5cb9f4(0x168)]+'@'+this['projectId']+_0x5cb9f4(0x1c9)))return!![];}else{console['log'](_0x5cb9f4(0x128)+this[_0x5cb9f4(0x21b)]+_0x5cb9f4(0xb7));for(let _0x2f801c=0x0;_0x59081e['ROXgs'](_0x2f801c,_0x395e13);_0x2f801c+=0x1){_0x59081e['AaRMh'](_0x59081e['volHL'],_0x59081e[_0x5cb9f4(0x11d)])?console[_0x5cb9f4(0xa8)]('['+_0x59081e[_0x5cb9f4(0x166)](_0x2f801c,0x1)+']\x20'+_0x1fe4f6[_0x2f801c]):(_0x40621d[_0x5cb9f4(0x209)]=_0x5711e6[_0x59081e[_0x5cb9f4(0x160)](_0x3327ee,0x1)],this[_0x5cb9f4(0xcf)]());}const _0x36118f=await _0x59081e[_0x5cb9f4(0x1f8)](inputConfirmation,_0x59081e[_0x5cb9f4(0x14d)]),_0x50f533=_0x59081e['fIMpV'](Number,_0x36118f);return(_0x59081e['yZuYB'](isNaN,_0x50f533)||_0x59081e[_0x5cb9f4(0x1f6)](_0x50f533,0x0)||_0x59081e[_0x5cb9f4(0x1fd)](_0x50f533,_0x395e13))&&(_0x59081e['YhDwi'](_0x59081e[_0x5cb9f4(0x12c)],_0x59081e['qKCFp'])?(console[_0x5cb9f4(0xca)](_0x59081e[_0x5cb9f4(0xdd)]),process[_0x5cb9f4(0x1eb)](0x1)):_0x23341b=[_0x59081e[_0x5cb9f4(0x1ed)]]),_0x59081e[_0x5cb9f4(0x1f5)](closeInput),logger['info'](_0x5cb9f4(0xd4)+_0x1fe4f6[_0x59081e[_0x5cb9f4(0x160)](_0x50f533,0x1)]),_0x59081e[_0x5cb9f4(0x1d5)](global_registry[_0x5cb9f4(0x209)],_0x1fe4f6[_0x59081e['PjdQn'](_0x50f533,0x1)])&&(_0x59081e[_0x5cb9f4(0x183)](_0x59081e[_0x5cb9f4(0xd5)],_0x59081e[_0x5cb9f4(0x1b4)])?_0x59081e[_0x5cb9f4(0x13a)](_0x34ed8d[_0x5cb9f4(0xfc)],this[_0x5cb9f4(0x21b)])&&_0x4fb3cd[_0x5cb9f4(0x1b0)](_0xf620f8):(global_registry[_0x5cb9f4(0x209)]=_0x1fe4f6[_0x59081e[_0x5cb9f4(0xd1)](_0x50f533,0x1)],this[_0x5cb9f4(0xcf)]())),!![];}}}return![];}async[a3_0x2dcfc2(0x217)](){const _0x1aca6e=a3_0x2dcfc2,_0x29a917=await this[_0x1aca6e(0x1e0)]['getCluster']({'name':'projects/'+this[_0x1aca6e(0x17f)]+_0x1aca6e(0x216)+global_registry[_0x1aca6e(0x209)]+'/clusters/'+this['clusterName']});return _0x29a917;}async[a3_0x2dcfc2(0x103)](){const _0x22180c=a3_0x2dcfc2,_0x383059={};_0x383059[_0x22180c(0x20c)]=_0x22180c(0x215),_0x383059['ojCkd']=_0x22180c(0xd6),_0x383059[_0x22180c(0xf4)]='gcpresources',_0x383059[_0x22180c(0x186)]='KubeConfigTemplate.yaml';const _0x2d45b1=_0x383059;cp[_0x22180c(0x1b5)](_0x2d45b1[_0x22180c(0x20c)]),cp[_0x22180c(0x1b7)](_0x22180c(0x21a)+this[_0x22180c(0x126)]);const _0x2a0958=await this[_0x22180c(0x217)](),_0x410360='gke_'+this[_0x22180c(0x17f)]+'_'+global_registry[_0x22180c(0x209)]+'_'+this['clusterName'];let _0x38c1ab=await fs['readFileAsync'](path['join'](__dirname,'..',_0x2d45b1['ojCkd'],_0x2d45b1[_0x22180c(0xf4)],_0x2d45b1[_0x22180c(0x186)]));return _0x38c1ab=_0x38c1ab[_0x22180c(0x18b)](),_0x38c1ab=_0x38c1ab['replace'](/<CLUSTER_NAME>/g,_0x410360),_0x38c1ab=_0x38c1ab[_0x22180c(0x135)](/<CLUSTER_URL>/g,'https://'+_0x2a0958[0x0][_0x22180c(0x16d)]),_0x38c1ab=_0x38c1ab[_0x22180c(0x135)](/<CERTIFICATE_DATA>/g,_0x2a0958[0x0][_0x22180c(0xef)][_0x22180c(0xc0)]),_0x38c1ab;}async[a3_0x2dcfc2(0x15d)](){const _0x5e99ba=a3_0x2dcfc2,_0x4b938d={};_0x4b938d['HPVbe']='Cluster\x20creation\x20failed',_0x4b938d[_0x5e99ba(0x15f)]='https://www.googleapis.com/auth/cloud-platform',_0x4b938d[_0x5e99ba(0x131)]=function(_0x6f38bf,_0x5d1978){return _0x6f38bf!==_0x5d1978;},_0x4b938d['FWthW']=_0x5e99ba(0x190),_0x4b938d['ZMSma']=_0x5e99ba(0x153),_0x4b938d[_0x5e99ba(0x120)]=function(_0x3a26bd,_0x37dd6e){return _0x3a26bd===_0x37dd6e;},_0x4b938d[_0x5e99ba(0xe7)]=_0x5e99ba(0x132),_0x4b938d[_0x5e99ba(0x9d)]='nxJNX';const _0x581ca9=_0x4b938d,_0x48ec1e={};_0x48ec1e[_0x5e99ba(0xe8)]=[_0x581ca9[_0x5e99ba(0x15f)]],_0x48ec1e[_0x5e99ba(0x1b1)]=this[_0x5e99ba(0x126)];const _0x693b7e=await google[_0x5e99ba(0x1cf)][_0x5e99ba(0xf3)](_0x48ec1e),_0x43aacf=await this[_0x5e99ba(0x182)]['projects']['serviceAccounts'][_0x5e99ba(0x1cc)]({'name':'projects/'+this[_0x5e99ba(0x17f)],'auth':_0x693b7e});if(_0x43aacf?.[_0x5e99ba(0x1ef)]?.['accounts']){if(_0x581ca9[_0x5e99ba(0x131)](_0x581ca9[_0x5e99ba(0x1d2)],_0x581ca9[_0x5e99ba(0x207)]))for(const _0x4ceaea of _0x43aacf[_0x5e99ba(0x1ef)]['accounts']){if(_0x581ca9[_0x5e99ba(0x120)](_0x581ca9['QDyxW'],_0x581ca9['QDyxW'])){if(_0x581ca9[_0x5e99ba(0x120)](_0x4ceaea?.[_0x5e99ba(0xfc)],_0x5e99ba(0x21f)+this[_0x5e99ba(0x17f)]+'/serviceAccounts/'+this[_0x5e99ba(0x168)]+'@'+this[_0x5e99ba(0x17f)]+'.iam.gserviceaccount.com'))return _0x581ca9[_0x5e99ba(0x131)](_0x581ca9[_0x5e99ba(0x9d)],_0x581ca9[_0x5e99ba(0x9d)])?![]:!![];}else _0xe789b[_0x5e99ba(0x1f9)](_0x581ca9[_0x5e99ba(0xab)]);}else _0x31036d[_0x5e99ba(0xca)](_0x5e99ba(0x174)+_0x53140c+_0x5e99ba(0x176)+_0x41c392[_0x5e99ba(0x204)]),_0x3fb7e3[_0x5e99ba(0x1ef)]=_0x5e99ba(0x205)+_0x666bc,_0x53d5dc['error']=_0x48c710;}return![];}async[a3_0x2dcfc2(0x1f0)](){const _0x1de8e7=a3_0x2dcfc2,_0x2daa10={};_0x2daa10[_0x1de8e7(0x101)]=function(_0x29a4d2,_0x4c6464){return _0x29a4d2===_0x4c6464;},_0x2daa10['lWeQa']=_0x1de8e7(0xf1),_0x2daa10[_0x1de8e7(0x220)]=function(_0x1ba582,_0x1f78c4){return _0x1ba582!==_0x1f78c4;},_0x2daa10[_0x1de8e7(0x189)]=_0x1de8e7(0xec),_0x2daa10['VRtId']=_0x1de8e7(0x19f),_0x2daa10[_0x1de8e7(0x9b)]=_0x1de8e7(0xc2),_0x2daa10[_0x1de8e7(0x1e6)]=_0x1de8e7(0x154),_0x2daa10[_0x1de8e7(0x1d0)]=_0x1de8e7(0x172),_0x2daa10[_0x1de8e7(0x1df)]='storage.buckets.create',_0x2daa10['RysoC']=_0x1de8e7(0x1a4),_0x2daa10[_0x1de8e7(0x1ba)]='storage.buckets.delete',_0x2daa10['Gsufy']=_0x1de8e7(0x195),_0x2daa10[_0x1de8e7(0x1fa)]=_0x1de8e7(0x10b),_0x2daa10[_0x1de8e7(0x1ca)]=_0x1de8e7(0x20e),_0x2daa10['YjNzB']=_0x1de8e7(0x125),_0x2daa10[_0x1de8e7(0x13e)]=_0x1de8e7(0x1e4),_0x2daa10[_0x1de8e7(0x152)]=_0x1de8e7(0xdc),_0x2daa10['uyNxA']='storage.buckets.listTagBindings',_0x2daa10[_0x1de8e7(0x11e)]=_0x1de8e7(0xe0),_0x2daa10[_0x1de8e7(0x1ff)]='storage.buckets.update',_0x2daa10[_0x1de8e7(0x109)]='storage.multipartUploads.abort',_0x2daa10[_0x1de8e7(0x14f)]=_0x1de8e7(0x17c),_0x2daa10[_0x1de8e7(0x13b)]=_0x1de8e7(0x18a),_0x2daa10[_0x1de8e7(0x157)]=_0x1de8e7(0xae),_0x2daa10['dTZCc']='storage.objects.create',_0x2daa10[_0x1de8e7(0x1be)]=_0x1de8e7(0x9c),_0x2daa10[_0x1de8e7(0x18f)]=_0x1de8e7(0x1d9),_0x2daa10['RuyxS']='storage.objects.getIamPolicy',_0x2daa10[_0x1de8e7(0x12f)]=_0x1de8e7(0x117),_0x2daa10[_0x1de8e7(0xd7)]=_0x1de8e7(0x187),_0x2daa10[_0x1de8e7(0x1db)]='storage.objects.update',_0x2daa10[_0x1de8e7(0x191)]=_0x1de8e7(0x1fc),_0x2daa10[_0x1de8e7(0x1a6)]=_0x1de8e7(0x17e);const _0x2478c4=_0x2daa10,_0xc0462c=await this[_0x1de8e7(0x15d)]();if(_0xc0462c){if(_0x2478c4[_0x1de8e7(0x220)](_0x2478c4[_0x1de8e7(0x189)],_0x2478c4['dkLnG'])){const _0x318c75=_0x115a40[0x0]?.['resourceLabels']?.[_0x1de8e7(0xa5)];return _0x318c75&&_0x2478c4['fsTgp'](_0x318c75[_0x1de8e7(0x19e)](),_0x2478c4['lWeQa']);}else{logger[_0x1de8e7(0x1f9)](_0x2478c4[_0x1de8e7(0x21d)]);return;}}logger[_0x1de8e7(0x1f9)](_0x2478c4[_0x1de8e7(0x9b)]);const _0x33a2f3={};_0x33a2f3[_0x1de8e7(0xe8)]=[_0x2478c4['qbxKR']],_0x33a2f3[_0x1de8e7(0x1b1)]=this['credentialsPath'];const _0x373aa1=await google['auth']['getClient'](_0x33a2f3),_0x4912aa={};_0x4912aa['includedPermissions']=[_0x2478c4['enVIb'],_0x2478c4[_0x1de8e7(0x1df)],_0x2478c4['RysoC'],_0x2478c4[_0x1de8e7(0x1ba)],_0x2478c4[_0x1de8e7(0x12d)],_0x2478c4[_0x1de8e7(0x1fa)],_0x2478c4['KByAe'],_0x2478c4[_0x1de8e7(0x10d)],_0x2478c4[_0x1de8e7(0x13e)],_0x2478c4[_0x1de8e7(0x152)],_0x2478c4[_0x1de8e7(0xed)],_0x2478c4[_0x1de8e7(0x11e)],_0x2478c4[_0x1de8e7(0x1ff)],_0x2478c4[_0x1de8e7(0x109)],_0x2478c4['ApIMp'],_0x2478c4[_0x1de8e7(0x13b)],_0x2478c4['DAtpr'],_0x2478c4['dTZCc'],_0x2478c4['wCkNX'],_0x2478c4[_0x1de8e7(0x18f)],_0x2478c4[_0x1de8e7(0xad)],_0x2478c4[_0x1de8e7(0x12f)],_0x2478c4['ZNLlm'],_0x2478c4[_0x1de8e7(0x1db)]],_0x4912aa[_0x1de8e7(0x1b8)]=_0x2478c4[_0x1de8e7(0x191)],await this[_0x1de8e7(0x182)]['organizations']['roles'][_0x1de8e7(0x1bf)]({'parent':'projects/'+this['projectId'],'requestBody':{'role':_0x4912aa,'roleId':this['customRoleName']},'auth':_0x373aa1});const _0x5daf50={};_0x5daf50['name']='projects/'+this['projectId'],_0x5daf50['requestBody']={},_0x5daf50[_0x1de8e7(0x1cf)]=_0x373aa1,_0x5daf50['requestBody'][_0x1de8e7(0xfd)]=this['serviceAccountName'];const _0xaf7f97=_0x5daf50;await this[_0x1de8e7(0x182)][_0x1de8e7(0x146)][_0x1de8e7(0x12e)]['create'](_0xaf7f97);let _0x31af42=await this[_0x1de8e7(0xee)][_0x1de8e7(0xa3)]({'resource':_0x1de8e7(0x21f)+this[_0x1de8e7(0x17f)]});_0x31af42=_0x31af42[0x0][_0x1de8e7(0x1a8)];const _0x487136={};_0x487136['role']=_0x1de8e7(0x21f)+this['projectId']+_0x1de8e7(0x139)+this[_0x1de8e7(0x102)],_0x487136['members']=[_0x1de8e7(0x1d6)+this[_0x1de8e7(0x168)]+'@'+this[_0x1de8e7(0x17f)]+'.iam.gserviceaccount.com'],_0x31af42[_0x1de8e7(0x1b0)](_0x487136);const _0x927814={};_0x927814[_0x1de8e7(0x1a8)]=_0x31af42,await this[_0x1de8e7(0xee)][_0x1de8e7(0xea)]({'resource':_0x1de8e7(0x21f)+this[_0x1de8e7(0x17f)],'policy':_0x927814}),logger[_0x1de8e7(0x1f9)](_0x2478c4[_0x1de8e7(0x1a6)]);}async[a3_0x2dcfc2(0x1d7)](_0x183cea=a3_0x2dcfc2(0x1c5),_0x1f21bb=[a3_0x2dcfc2(0x1c5)]){const _0x44e2ab=a3_0x2dcfc2,_0x4be08b={};_0x4be08b['oXEIp']=_0x44e2ab(0x1bb),_0x4be08b['GAjQX']=_0x44e2ab(0xc7),_0x4be08b[_0x44e2ab(0x200)]=function(_0x19025b,_0x414c6d){return _0x19025b!==_0x414c6d;},_0x4be08b[_0x44e2ab(0x1ae)]=_0x44e2ab(0x11b),_0x4be08b[_0x44e2ab(0x1b3)]=_0x44e2ab(0x1c5),_0x4be08b[_0x44e2ab(0x106)]=function(_0x19a282,_0x5aa3c5){return _0x19a282===_0x5aa3c5;},_0x4be08b[_0x44e2ab(0x175)]=function(_0x50acc9,_0x2df838){return _0x50acc9!==_0x2df838;},_0x4be08b[_0x44e2ab(0x9f)]='XnAFf';const _0x36a773=_0x4be08b,_0x5d173e={};return _0x5d173e[_0x44e2ab(0x1b9)]=WS_EVENTS['LOG'],_0x5d173e[_0x44e2ab(0x142)]=_0x36a773[_0x44e2ab(0xe1)],this[_0x44e2ab(0x1ce)][_0x44e2ab(0xac)](this[_0x44e2ab(0x20f)],_0x5d173e),logger['info'](_0x36a773['GAjQX']),!_0x183cea&&(_0x36a773[_0x44e2ab(0x200)](_0x36a773[_0x44e2ab(0x1ae)],_0x36a773[_0x44e2ab(0x1ae)])?_0x45d4ef['status']=![]:_0x183cea=_0x36a773[_0x44e2ab(0x1b3)]),(!_0x1f21bb||_0x36a773[_0x44e2ab(0x106)](_0x1f21bb['length'],0x0))&&(_0x36a773['nlrNW'](_0x36a773['sTBWD'],_0x36a773[_0x44e2ab(0x9f)])?_0x27d19f['execSync']('gcloud\x20container\x20node-pools\x20update\x20windows-pool\x20--cluster='+this['clusterName']+'\x20--windows-os-version=ltsc2022\x20--region\x20'+_0x1f53f1[_0x44e2ab(0x209)]+'\x20--quiet\x20--user-output-enabled=false'):_0x1f21bb=[_0x36a773[_0x44e2ab(0x1b3)]]),await this['setupServiceAccount'](),await this[_0x44e2ab(0xd0)](_0x183cea,_0x1f21bb),await this[_0x44e2ab(0xeb)](),[_0x183cea,_0x1f21bb];}async['createCluster'](_0x5a58ac='default',_0x22d64d=[a3_0x2dcfc2(0x1c5)]){const _0x3d4f4c=a3_0x2dcfc2,_0x4db0c0={};_0x4db0c0[_0x3d4f4c(0xc8)]=_0x3d4f4c(0x19f),_0x4db0c0[_0x3d4f4c(0xf2)]=_0x3d4f4c(0x10f),_0x4db0c0['cdcZw']='denied',_0x4db0c0[_0x3d4f4c(0x155)]=_0x3d4f4c(0x1cd),_0x4db0c0[_0x3d4f4c(0xe5)]=function(_0x722ba5,_0x4f0967){return _0x722ba5!==_0x4f0967;},_0x4db0c0['tODoC']=_0x3d4f4c(0x110),_0x4db0c0[_0x3d4f4c(0x185)]='Creating\x20GKE\x20Cluster',_0x4db0c0[_0x3d4f4c(0x159)]=_0x3d4f4c(0xd6),_0x4db0c0[_0x3d4f4c(0x107)]=_0x3d4f4c(0x1c0),_0x4db0c0['bYbNJ']=_0x3d4f4c(0x1a3),_0x4db0c0[_0x3d4f4c(0x100)]=_0x3d4f4c(0x21c),_0x4db0c0['NKwfz']=_0x3d4f4c(0x144),_0x4db0c0[_0x3d4f4c(0x170)]=function(_0x23dea8,_0x5da279){return _0x23dea8*_0x5da279;},_0x4db0c0[_0x3d4f4c(0x112)]=function(_0x145dfa,_0xafe3fa){return _0x145dfa*_0xafe3fa;},_0x4db0c0[_0x3d4f4c(0x133)]=function(_0x440e80,_0x3dd149){return _0x440e80!==_0x3dd149;},_0x4db0c0[_0x3d4f4c(0xbe)]='HcWhO',_0x4db0c0[_0x3d4f4c(0x199)]='LwrXY',_0x4db0c0[_0x3d4f4c(0x156)]='QjLly',_0x4db0c0[_0x3d4f4c(0x10a)]=_0x3d4f4c(0x114),_0x4db0c0[_0x3d4f4c(0x17a)]=function(_0x4e03b5,_0x4e3f13){return _0x4e03b5===_0x4e3f13;},_0x4db0c0[_0x3d4f4c(0x15a)]=_0x3d4f4c(0x1cb),_0x4db0c0[_0x3d4f4c(0x18d)]=_0x3d4f4c(0x16c);const _0x1638de=_0x4db0c0;try{if(_0x1638de['UIYom'](_0x1638de[_0x3d4f4c(0x116)],_0x1638de[_0x3d4f4c(0x116)])){_0x46e460[_0x3d4f4c(0x1f9)](_0x1638de['FSBEa']);return;}else{logger[_0x3d4f4c(0x1f9)](_0x1638de[_0x3d4f4c(0x185)]);let _0x51359a=await fs[_0x3d4f4c(0x141)](path[_0x3d4f4c(0x1fb)](__dirname,'..',_0x1638de[_0x3d4f4c(0x159)],_0x1638de['KdwXt'],_0x1638de[_0x3d4f4c(0xfa)]),_0x1638de['doJah']);_0x51359a=JSON['parse'](_0x51359a);let _0xcc42ce=await fs['readFileAsync'](path[_0x3d4f4c(0x1fb)](__dirname,'..',_0x1638de['zRGnf'],_0x1638de[_0x3d4f4c(0x107)],_0x1638de[_0x3d4f4c(0x19c)]),_0x1638de['doJah']);_0xcc42ce=JSON[_0x3d4f4c(0x12a)](_0xcc42ce),_0x51359a[_0x3d4f4c(0xfc)]=this[_0x3d4f4c(0x21b)],_0x51359a[_0x3d4f4c(0x140)][0x0][_0x3d4f4c(0x1e9)][_0x3d4f4c(0x1af)]=global_registry[_0x3d4f4c(0x124)],_0x51359a[_0x3d4f4c(0x140)][0x1][_0x3d4f4c(0x1e9)][_0x3d4f4c(0x1af)]=global_registry[_0x3d4f4c(0x124)],_0x51359a['nodePools'][0x0][_0x3d4f4c(0x1e9)][_0x3d4f4c(0x20b)]=this['serviceAccountName']+'@'+this[_0x3d4f4c(0x17f)]+_0x3d4f4c(0x1c9),_0x51359a[_0x3d4f4c(0x140)][0x1][_0x3d4f4c(0x1e9)][_0x3d4f4c(0x20b)]=this[_0x3d4f4c(0x168)]+'@'+this[_0x3d4f4c(0x17f)]+_0x3d4f4c(0x1c9),_0x51359a[_0x3d4f4c(0x140)][0x0][_0x3d4f4c(0x196)][_0x3d4f4c(0xb3)]=global_registry['minNodes'],_0x51359a[_0x3d4f4c(0x140)][0x1][_0x3d4f4c(0x196)][_0x3d4f4c(0xb3)]=0x0,_0x51359a[_0x3d4f4c(0x140)][0x0][_0x3d4f4c(0x196)][_0x3d4f4c(0x143)]=global_registry[_0x3d4f4c(0x1ac)],_0x51359a['nodePools'][0x1][_0x3d4f4c(0x196)][_0x3d4f4c(0x143)]=global_registry[_0x3d4f4c(0x1ac)],_0x51359a['location']=global_registry[_0x3d4f4c(0x209)],_0x51359a['locations']=[_0xcc42ce[global_registry[_0x3d4f4c(0x209)]][0x0]],_0x51359a[_0x3d4f4c(0x164)]='projects/'+this[_0x3d4f4c(0x17f)]+_0x3d4f4c(0x198)+_0x5a58ac,_0x51359a[_0x3d4f4c(0xe3)]=_0x3d4f4c(0x21f)+this[_0x3d4f4c(0x17f)]+_0x3d4f4c(0x1f3)+global_registry[_0x3d4f4c(0x209)]+_0x3d4f4c(0x13f)+_0x22d64d[0x0];const _0x3657b1=await this[_0x3d4f4c(0x1e0)][_0x3d4f4c(0xd0)]({'cluster':_0x51359a,'parent':_0x3d4f4c(0x21f)+this[_0x3d4f4c(0x17f)]+_0x3d4f4c(0x216)+global_registry[_0x3d4f4c(0x209)]});await this[_0x3d4f4c(0x1ce)][_0x3d4f4c(0x15e)](_0x1638de[_0x3d4f4c(0x170)](_0x1638de[_0x3d4f4c(0x112)](0x7,0x3c),0x3e8));}}catch(_0x274ca8){if(_0x1638de[_0x3d4f4c(0x133)](_0x1638de[_0x3d4f4c(0xbe)],_0x1638de[_0x3d4f4c(0xbe)])){const _0x283e00=_0x2b381e['permissions'][_0x3d4f4c(0x10e)](_0x2accfb);_0x3b219d+='\x0a\x09'+_0x27b0ef+_0x3d4f4c(0x176)+(_0x283e00?_0x1638de[_0x3d4f4c(0xf2)]:_0x1638de[_0x3d4f4c(0x151)]),!_0x283e00&&(_0x1a0836[_0x3d4f4c(0x1f7)]=![]);}else{const _0x48cc93=await this[_0x3d4f4c(0xb5)]();if(_0x48cc93)_0x1638de['GobVz'](_0x1638de[_0x3d4f4c(0x199)],_0x1638de[_0x3d4f4c(0x156)])?(logger[_0x3d4f4c(0x1f9)](_0x1638de[_0x3d4f4c(0x10a)],_0x274ca8[_0x3d4f4c(0x204)]),await this[_0x3d4f4c(0xcc)]()):_0x269cd4[_0x3d4f4c(0x1e7)](_0x4a5093);else{if(_0x1638de[_0x3d4f4c(0x17a)](_0x1638de['AongB'],_0x1638de[_0x3d4f4c(0x15a)]))logger[_0x3d4f4c(0x1f9)](_0x1638de['fkKTM']);else{_0x1729a3['info'](_0x1638de[_0x3d4f4c(0x155)]);throw _0x357f2b;}}throw _0x274ca8;}}}async['setupHubHa'](_0x27950a,_0x108b0d,_0x42b552,_0x21c707,_0x4b8ae4){}async[a3_0x2dcfc2(0xeb)](){const _0x27ade8=a3_0x2dcfc2;cp[_0x27ade8(0x1b5)](_0x27ade8(0xf8)+this[_0x27ade8(0x21b)]+'\x20--windows-os-version=ltsc2022\x20--region\x20'+global_registry[_0x27ade8(0x209)]+_0x27ade8(0xda));}async[a3_0x2dcfc2(0xcc)](_0x12189e,_0x424303){const _0x3c00ce=a3_0x2dcfc2,_0x35acc0={'MgMch':function(_0x59bc44,_0x45155b){return _0x59bc44!==_0x45155b;},'KSlDq':function(_0x50ff90,_0x39527b){return _0x50ff90===_0x39527b;},'yjyZD':function(_0x268eb0,_0x3d8494){return _0x268eb0===_0x3d8494;},'bDSwP':_0x3c00ce(0x180),'jAEpv':_0x3c00ce(0xb4),'LYWrZ':function(_0x4f8bda,_0x35b0a6){return _0x4f8bda(_0x35b0a6);},'jiJlL':_0x3c00ce(0x9e),'eYMCa':_0x3c00ce(0x1f4),'sohvf':_0x3c00ce(0x136),'wsOJE':'kevfa','SaNns':_0x3c00ce(0x158),'FibcQ':function(_0x86dade,_0x26987b){return _0x86dade===_0x26987b;},'JIgcm':_0x3c00ce(0x1a2),'ptfcu':_0x3c00ce(0x1cd)};try{if(_0x35acc0[_0x3c00ce(0x14a)](_0x35acc0['bDSwP'],_0x35acc0['jAEpv']))return _0x35acc0['MgMch'](_0x847cf[_0x3c00ce(0x209)],_0x460b29[0x0])&&(_0xeaf38d[_0x3c00ce(0x209)]=_0x39bd62[0x0],this[_0x3c00ce(0xcf)]()),!![];else{await _0x35acc0[_0x3c00ce(0x197)](deleteAgent,_0x12189e),await _0x35acc0[_0x3c00ce(0x197)](deleteRoutingDeps,_0x12189e),logger['info'](_0x3c00ce(0x1e5)+this[_0x3c00ce(0x21b)]);const _0x617f53=await this[_0x3c00ce(0x1e0)][_0x3c00ce(0xcc)]({'name':_0x3c00ce(0x21f)+this['projectId']+_0x3c00ce(0x216)+global_registry[_0x3c00ce(0x209)]+'/clusters/'+this['clusterName']});if(_0x35acc0[_0x3c00ce(0x14a)](_0x617f53[0x0]?.[_0x3c00ce(0x1f7)],_0x35acc0['jiJlL'])||_0x35acc0[_0x3c00ce(0x14a)](_0x617f53[0x0]?.['status'],_0x35acc0[_0x3c00ce(0x1e3)])){if(_0x35acc0[_0x3c00ce(0x15c)](_0x35acc0[_0x3c00ce(0xdf)],_0x35acc0[_0x3c00ce(0xd9)]))return!![];else _0x2c9c81['vpcInfo']['push'](_0x227f06);}logger[_0x3c00ce(0x1f9)](_0x35acc0[_0x3c00ce(0x1e8)]);}}catch(_0x2858d0){if(_0x35acc0[_0x3c00ce(0xa0)](_0x35acc0[_0x3c00ce(0x1f2)],_0x35acc0[_0x3c00ce(0x1f2)])){logger[_0x3c00ce(0x1f9)](_0x35acc0['ptfcu']);throw _0x2858d0;}else{if(_0x35acc0[_0x3c00ce(0x1dc)](_0x43683e?.['name'],'projects/'+this[_0x3c00ce(0x17f)]+_0x3c00ce(0xc3)+this[_0x3c00ce(0x168)]+'@'+this[_0x3c00ce(0x17f)]+_0x3c00ce(0x1c9)))return!![];}}}async[a3_0x2dcfc2(0x1ec)](_0x15f38c){const _0x404692=a3_0x2dcfc2,_0x5b63c1={};_0x5b63c1[_0x404692(0x1c8)]=function(_0x551272,_0xc40c09){return _0x551272!==_0xc40c09;},_0x5b63c1[_0x404692(0x1b6)]='YgNgH',_0x5b63c1['lRqOG']=function(_0x3d1f77,_0x39fe7a){return _0x3d1f77>_0x39fe7a;},_0x5b63c1[_0x404692(0x181)]=function(_0x5c653b,_0x14d28d){return _0x5c653b===_0x14d28d;},_0x5b63c1[_0x404692(0x1b2)]=function(_0x1177d7,_0x25a566){return _0x1177d7===_0x25a566;},_0x5b63c1[_0x404692(0xdb)]=_0x404692(0xb1),_0x5b63c1[_0x404692(0x13c)]='uCBwS',_0x5b63c1['VdMnp']=_0x404692(0x118);const _0x2bb802=_0x5b63c1;try{if(_0x2bb802['uZjCR'](_0x2bb802[_0x404692(0x1b6)],_0x2bb802[_0x404692(0x1b6)]))_0x337464[_0x404692(0x1b0)](_0x19eae0);else{const _0xe6fc55=await this['networkClient'][_0x404692(0x1c2)]({'project':this[_0x404692(0x17f)],'network':_0x15f38c});if(_0x2bb802[_0x404692(0x211)](_0xe6fc55['length'],0x0)&&_0x2bb802[_0x404692(0x181)](_0xe6fc55[0x0]['name'],_0x15f38c))return _0x2bb802['KAewm'](_0x2bb802[_0x404692(0xdb)],_0x2bb802[_0x404692(0xdb)])?!![]:!![];}}catch(_0x567fa1){return _0x2bb802[_0x404692(0x1c8)](_0x2bb802[_0x404692(0x13c)],_0x2bb802[_0x404692(0x130)])?![]:!![];}return![];}async[a3_0x2dcfc2(0xaa)](_0x1c9fa0,_0x2edb48){const _0x581665=a3_0x2dcfc2,_0x31d5a3={};_0x31d5a3[_0x581665(0xa6)]=function(_0x5d869a,_0x530743){return _0x5d869a===_0x530743;},_0x31d5a3[_0x581665(0x20d)]=function(_0x38f8f1,_0x442565){return _0x38f8f1!==_0x442565;},_0x31d5a3[_0x581665(0x1dd)]='HbMQd',_0x31d5a3[_0x581665(0x1fe)]=_0x581665(0x17b),_0x31d5a3['UbzQY']=_0x581665(0x150),_0x31d5a3['XHUvW']=_0x581665(0x163),_0x31d5a3[_0x581665(0x11f)]=_0x581665(0xe2);const _0x34d1ae=_0x31d5a3;try{if(_0x34d1ae[_0x581665(0x20d)](_0x34d1ae['jrtuu'],_0x34d1ae[_0x581665(0x1dd)]))return _0x13e149[_0x581665(0xca)](_0x581665(0x138)+_0x434e4e+_0x581665(0x119)+_0x22f66b),[![],[]];else{const _0x2de712=await this['networkClient'][_0x581665(0x1c2)]({'project':this[_0x581665(0x17f)],'network':_0x2edb48});for(const _0x1f2b7e of _0x2de712[0x0][_0x581665(0xf0)]){if(_0x34d1ae[_0x581665(0x20d)](_0x34d1ae[_0x581665(0x1fe)],_0x34d1ae[_0x581665(0x1fe)])){const _0x1dd2e4=_0x581665(0x1c3)+this['projectId']+_0x581665(0x1f3)+_0x1aa857[_0x581665(0x209)]+_0x581665(0x13f)+_0x47bc2b[0x0];if(_0x34d1ae[_0x581665(0xa6)](_0x1dd2e4,_0x2d13d2))return[!![],_0x72b79e];}else{const _0xaead7a=_0x581665(0x1c3)+this['projectId']+_0x581665(0x1f3)+global_registry[_0x581665(0x209)]+_0x581665(0x13f)+_0x1c9fa0[0x0];if(_0x34d1ae[_0x581665(0xa6)](_0xaead7a,_0x1f2b7e))return _0x34d1ae['yqMEx'](_0x34d1ae[_0x581665(0x104)],_0x34d1ae[_0x581665(0xba)])?[!![],_0x1c9fa0]:_0x583d00[_0x581665(0x1f7)][_0x581665(0x19d)]['ingress'][0x0]['ip'];}}}}catch(_0x53d373){if(_0x34d1ae['NNtKA'](_0x34d1ae[_0x581665(0x11f)],_0x34d1ae[_0x581665(0x11f)]))return logger[_0x581665(0xca)](_0x581665(0x138)+_0x1c9fa0+_0x581665(0x119)+_0x53d373),[![],[]];else _0x23823f[_0x581665(0x209)]=_0x14790b[0x0],this['updateClusterRegion']();}return[![],[]];}async[a3_0x2dcfc2(0xc5)](){const _0x1a39ff=a3_0x2dcfc2,_0x160ba8={};_0x160ba8[_0x1a39ff(0xc1)]=function(_0x4391e0,_0x592124){return _0x4391e0!==_0x592124;},_0x160ba8[_0x1a39ff(0xe6)]=_0x1a39ff(0x122),_0x160ba8[_0x1a39ff(0x188)]=_0x1a39ff(0x1da);const _0xc88ad6=_0x160ba8,_0xf5d0db=await this[_0x1a39ff(0x149)][_0x1a39ff(0x1cc)]({'project':this[_0x1a39ff(0x17f)]}),_0x6c19a1={};_0x6c19a1[_0x1a39ff(0x11a)]=global_registry['bstackUsername'],_0x6c19a1[_0x1a39ff(0x137)]=global_registry[_0x1a39ff(0xa7)],_0x6c19a1[_0x1a39ff(0xe9)]=GCP,_0x6c19a1[_0x1a39ff(0x169)]=[];const _0x1fe23a=_0x6c19a1;for(const _0x40a26a of _0xf5d0db){if(_0xc88ad6[_0x1a39ff(0xc1)](_0xc88ad6[_0x1a39ff(0xe6)],_0xc88ad6[_0x1a39ff(0x188)]))_0x1fe23a[_0x1a39ff(0x169)]['push'](_0x40a26a);else return![];}const _0x1422d2={};_0x1422d2[_0x1a39ff(0x1b9)]=WS_EVENTS[_0x1a39ff(0x1d4)],_0x1422d2[_0x1a39ff(0x142)]=_0x1fe23a,this['webSocketUtils'][_0x1a39ff(0xac)](this['rws'],_0x1422d2);}async['updateClusterRegion'](){const _0x483aab=a3_0x2dcfc2,_0x3445ef={'tYplU':function(_0x17f0dd,_0x2b9b25,_0x4d1947){return _0x17f0dd(_0x2b9b25,_0x4d1947);},'SaOWk':_0x483aab(0x208),'IZwdG':_0x483aab(0xcd)},_0x7be09=_0x483aab(0x14e)+AG_API_URL+'/packages/cli/update-cluster-region',_0x5546f4={};_0x5546f4[_0x483aab(0x193)]=global_registry[_0x483aab(0x14b)];const _0x289340={};_0x289340['newRegion']=global_registry['clusterRegion'];const _0x51ea76={'searchParams':_0x5546f4,'json':_0x289340,'headers':_0x3445ef[_0x483aab(0xcb)](getAuthHeader,global_registry[_0x483aab(0x165)],global_registry[_0x483aab(0xa7)]),'method':_0x3445ef[_0x483aab(0x16a)],'responseType':_0x3445ef[_0x483aab(0x19b)],'throwHttpErrors':![]},_0x35db8a=await _0x3445ef[_0x483aab(0xcb)](got,_0x7be09,_0x51ea76);}async['isCliToolInstalled'](){const _0x1ffe1a=a3_0x2dcfc2,_0x3a4d7f={'YanZm':function(_0x217205,_0x317365){return _0x217205(_0x317365);},'GddKL':_0x1ffe1a(0x177),'WyqgC':'Intercepted','CemYg':_0x1ffe1a(0x20a)},_0x285850={};_0x285850[_0x1ffe1a(0x1f7)]=![],_0x285850['error']=null,_0x285850[_0x1ffe1a(0x1ef)]='';const _0x4ac585=_0x285850;try{const _0x1c44e8=await _0x3a4d7f[_0x1ffe1a(0x1bc)](runCommand,_0x3a4d7f['GddKL']);_0x1c44e8['startsWith'](_0x3a4d7f[_0x1ffe1a(0x16e)])?logger[_0x1ffe1a(0x11c)](_0x1c44e8):logger[_0x1ffe1a(0x1e7)](_0x1c44e8),_0x4ac585['status']=!![],_0x4ac585['data']=_0x3a4d7f['CemYg'];}catch(_0x1f7682){logger[_0x1ffe1a(0xca)](_0x1ffe1a(0x174)+_0x1f7682+'\x20:\x20'+_0x1f7682['stack']),_0x4ac585[_0x1ffe1a(0x1ef)]=_0x1ffe1a(0x205)+_0x1f7682,_0x4ac585[_0x1ffe1a(0xca)]=_0x1f7682;}return _0x4ac585;}async['checkAccess'](){const _0x1de5e9=a3_0x2dcfc2,_0x38c07d={};_0x38c07d[_0x1de5e9(0x201)]=_0x1de5e9(0x10f),_0x38c07d[_0x1de5e9(0x221)]='denied';const _0x55e889=_0x38c07d,_0x521cf3={};_0x521cf3['status']=![],_0x521cf3[_0x1de5e9(0xca)]=null,_0x521cf3[_0x1de5e9(0x1ef)]='';const _0x4c594b=_0x521cf3;try{let _0x102870='';const _0x21d7c8=_0x1de5e9(0x21f)+this[_0x1de5e9(0x17f)],[_0x1403cc]=await this[_0x1de5e9(0xee)]['testIamPermissions']({'resource':_0x21d7c8,'permissions':Object[_0x1de5e9(0xe4)](PERMISSIONS)});_0x4c594b[_0x1de5e9(0x1f7)]=!![],logger[_0x1de5e9(0x1e7)](_0x1de5e9(0x1bd)+_0x21d7c8+':\x20'+JSON['stringify'](_0x1403cc)),Object[_0x1de5e9(0x184)](PERMISSIONS)[_0x1de5e9(0x212)](([_0x512471,_0x4bcb4c])=>{const _0x3e8ea0=_0x1de5e9,_0x329594=_0x1403cc[_0x3e8ea0(0x1ab)][_0x3e8ea0(0x10e)](_0x512471);_0x102870+='\x0a\x09'+_0x4bcb4c+_0x3e8ea0(0x176)+(_0x329594?_0x55e889[_0x3e8ea0(0x201)]:_0x55e889[_0x3e8ea0(0x221)]),!_0x329594&&(_0x4c594b[_0x3e8ea0(0x1f7)]=![]);}),_0x4c594b['data']=_0x102870;}catch(_0x3009aa){_0x4c594b[_0x1de5e9(0xca)]=_0x3009aa;}return _0x4c594b;}}function a3_0x1161(){const _0x2466d7=['tKOPC','iamClient','RJcNK','entries','kceuM','xMcJo','storage.objects.setIamPolicy','gAseG','dkLnG','storage.multipartUploads.list','toString','yhgpA','fkKTM','pWgjt','akZgx','WZxEd','ZbpQO','PrAWe','profileId','cloudProviderName','storage.buckets.deleteTagBinding','autoscaling','LYWrZ','/global/networks/','PdcLw','../config/constants','IZwdG','NKwfz','loadBalancer','toLowerCase','Service\x20account\x20already\x20exists,\x20skipping','ikQnZ','../utils/userInput','OMdSP','gkecluster.json','storage.buckets.createTagBinding','udtjx','IzMgT','VYrHI','bindings','NetworksClient','eNqoi','permissions','maxNodes','turboscale-service-account','JdDdp','machineType','push','keyFile','KAewm','PuvBO','ZRaxA','execSync','uPeZx','exec','title','type','NWEmN','Creating\x20required\x20resources\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account','YanZm','permissions\x20check\x20response\x20for\x20','wCkNX','create','gcpresources','pklbr','get','https://www.googleapis.com/compute/v1/projects/','Rivbd','default','alCsD','ingress','uZjCR','.iam.gserviceaccount.com','KByAe','GPNWi','list','GKE\x20Cluster\x20deletion\x20failed','webSocketUtils','auth','enVIb','LUqJQ','FWthW','AaRMh','RESOURCES','XuCJN','serviceAccount:','setupNewCluster','6|5|0|4|3|7|2|1|8','storage.objects.get','VkZMU','yLmBa','KSlDq','jrtuu','getUserInput','VyZuN','containerClient','yEUCj','WXVvR','eYMCa','storage.buckets.list','Deleting\x20the\x20cluster\x20','qbxKR','debug','SaNns','config','UFqit','exit','isVPCPresent','TgqKa','XtogR','data','setupServiceAccount','Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','JIgcm','/regions/','DONE','DAFAB','SmeTS','status','fIMpV','info','QSPDk','join','Turboscale\x20Custom\x20Role','xvnYa','mnRuW','xYuhC','tjsOy','jxhyR','iam','tmZtj','stack','Please\x20install\x20gcloud\x20CLI\x20tool.\x20Error\x20:\x20','@google-cloud/compute','ZMSma','PUT','clusterRegion','cli\x20tool\x20is\x20installed','serviceAccount','jhtmy','yqMEx','storage.buckets.getIamPolicy','rws','listClusters','lRqOG','forEach','gqsiR','Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','gcloud\x20components\x20install\x20gke-gcloud-auth-plugin\x20--quiet\x20--user-output-enabled=false','/locations/','getClusterInfo','370149ivHAdF','googleapis','gcloud\x20auth\x20login\x20--cred-file=','clusterName','utf-8','VRtId','ARPSU','projects/','dbKTe','MOuGt','ePKNz','storage.objects.delete','febHZ','RUNNING','sTBWD','FibcQ','OzFwq','MGWeO','getIamPolicy','sendResourceDataToHST','managedby','NNtKA','bstackAccesskey','log','KYjqP','isSubnetsValid','HPVbe','sendEventToBackend','RuyxS','storage.multipartUploads.listParts','TfaRY','path','XXPiQ','clusters','minNodeCount','jFWyW','isClusterPresent','init','\x27\x20in\x20multiple\x20locations,\x20select\x20a\x20location\x20to\x20proceed:','@google-cloud/resource-manager','Xuhkb','XHUvW','fdoTr','zjGQG','lAHZS','tqhGR','eRufT','clusterCaCertificate','SmwBY','Creating\x20service\x20account','/serviceAccounts/','ClusterManagerClient','sendGCPInfoToHST','split','Creating\x20required\x20dependencies\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account','FSBEa','3686816gRYkoU','error','tYplU','deleteCluster','json','wTEzp','updateClusterRegion','createCluster','iyLTH','bwsNw','terlh','Proceeding\x20with\x20the\x20cluster\x20in\x20the\x20location\x20-\x20','tmVpi','templates','ZNLlm','accounts','wsOJE','\x20--quiet\x20--user-output-enabled=false','fJzGy','storage.buckets.listEffectiveTags','MpIMp','../utils/utilityMethods','sohvf','storage.buckets.setIamPolicy','oXEIp','HLmfz','subnetwork','keys','UIYom','GGHkn','QDyxW','scopes','cloudProvider','setIamPolicy','updateWindowsNodeGroup','oxhSn','uyNxA','resourcemanagerClient','masterAuth','subnetworks','browserstack','UrVuV','getClient','tYfJt','FTywA','VxljH','Byqra','gcloud\x20container\x20node-pools\x20update\x20windows-pool\x20--cluster=','length','bYbNJ','OUzjF','name','accountId','../permissions/GCP.json','resourceLabels','doJah','fsTgp','customRoleName','getKubeConfigData','UbzQY','getGridHostname','FRcJQ','KdwXt','hcGEZ','GDady','FREal','storage.buckets.get','1529340bQigFM','YjNzB','includes','allowed','qSQAH','util','aFVbt','mGDTy','Cluster\x20creation\x20failed,\x20rolling\x20back\x20cluster\x20creation:\x20','azTkv','tODoC','storage.objects.list','BwCgw','.\x20Error:\x20','username','CQfAi','warn','nzaYh','ijRqC','cRYAL','jeGTT','@google-cloud/container','bGUpv','12luCwqk','instanceType','storage.buckets.getObjectInsights','credentialsPath','479176pddNtO','Found\x20cluster\x20with\x20name\x20\x27','turboscale_custom_role','parse','Vqbee','qKCFp','Gsufy','serviceAccounts','wtJhb','VdMnp','Dhzto','Sgxop','GobVz','gRgKb','replace','SIFrk','accessKey','Cannot\x20find\x20subnets\x20','/roles/','YhDwi','ftusB','nnDSD','MRxhn','hBmqX','/subnetworks/','nodePools','readFileAsync','message','maxNodeCount','regionmap.json','1506595WqhNIW','projects','FzBdI','child_process','networkClient','yjyZD','gridProfileId','concat','VSiBd','https://','ApIMp','TjAdR','cdcZw','pwHcd','dYccH','https://www.googleapis.com/auth/cloud-platform','boQqh','IKTaF','DAtpr','Cluster\x20deletion\x20completed','zRGnf','AongB','wZrXc','MgMch','checkServiceAccount','delay','BbOxW','yDLxa','tdHnJ','ZpLnp','dpxWl','network','bstackUsername','xYIHD','fOYGr','serviceAccountName','vpcInfo','SaOWk','gcp_credentials.json','Cluster\x20creation\x20failed','endpoint','WyqgC','djaqw','AijVB','project_id','iam.serviceAccounts.signBlob','3714192ITfdPB','error\x20:\x20','nlrNW','\x20:\x20','gcloud\x20--version','590874LVRcRN','wRnrE','oMZyw','KBGsx','storage.multipartUploads.create','parent','Service\x20Account\x20created,\x20proceeding\x20with\x20Cluster\x20creation','projectId','Xawxv'];a3_0x1161=function(){return _0x2466d7;};return a3_0x1161();}const a3_0x269a57={};a3_0x269a57['GoogleCloudProvider']=GoogleCloudProvider,module['exports']=a3_0x269a57;
1
+ function a3_0x4612(_0x438323,_0x215ec1){const _0x406e75=a3_0x406e();return a3_0x4612=function(_0x46123e,_0x1bb846){_0x46123e=_0x46123e-0x130;let _0x15233c=_0x406e75[_0x46123e];return _0x15233c;},a3_0x4612(_0x438323,_0x215ec1);}const a3_0x34a2da=a3_0x4612;(function(_0xb0d8e3,_0x490139){const _0x1428ec=a3_0x4612,_0x75b243=_0xb0d8e3();while(!![]){try{const _0x4fcdbd=parseInt(_0x1428ec(0x1c9))/0x1*(parseInt(_0x1428ec(0x2a9))/0x2)+-parseInt(_0x1428ec(0x239))/0x3*(parseInt(_0x1428ec(0x208))/0x4)+-parseInt(_0x1428ec(0x209))/0x5*(parseInt(_0x1428ec(0x198))/0x6)+-parseInt(_0x1428ec(0x21f))/0x7*(-parseInt(_0x1428ec(0x292))/0x8)+-parseInt(_0x1428ec(0x287))/0x9*(-parseInt(_0x1428ec(0x233))/0xa)+-parseInt(_0x1428ec(0x2c9))/0xb+parseInt(_0x1428ec(0x2c4))/0xc;if(_0x4fcdbd===_0x490139)break;else _0x75b243['push'](_0x75b243['shift']());}catch(_0x1c2359){_0x75b243['push'](_0x75b243['shift']());}}}(a3_0x406e,0xb9f31));const fs=require('fs'),path=require(a3_0x34a2da(0x1bd)),got=require(a3_0x34a2da(0x1ed)),util=require(a3_0x34a2da(0x25a)),cp=require(a3_0x34a2da(0x266)),{google}=require('googleapis'),compute=require('@google-cloud/compute'),container=require(a3_0x34a2da(0x207)),{ProjectsClient}=require(a3_0x34a2da(0x236))['v3'],{logger}=require('../config/logger'),{CloudProvider}=require(a3_0x34a2da(0x14a)),{getDirForConfig,getAuthHeader,runCommand}=require(a3_0x34a2da(0x1ab)),{deleteRoutingDeps,deleteAgent}=require(a3_0x34a2da(0x14d)),{inputConfirmation,closeInput}=require(a3_0x34a2da(0x25f)),{GCP,AG_API_URL,WS_EVENTS,global_registry}=require(a3_0x34a2da(0x189)),PERMISSIONS=require('../permissions/GCP.json');class GoogleCloudProvider extends CloudProvider{constructor(_0xf724c0,_0x50daea,_0x4c5979,_0x464248){const _0x239508=a3_0x34a2da,_0x4c0a06={};_0x4c0a06[_0x239508(0x231)]=_0x239508(0x227),_0x4c0a06[_0x239508(0x182)]=_0x239508(0x28a),_0x4c0a06[_0x239508(0x222)]='turboscale_custom_role';const _0x4088fb=_0x4c0a06,_0x570f44=_0x4088fb[_0x239508(0x231)][_0x239508(0x2a8)]('|');let _0x54295d=0x0;while(!![]){switch(_0x570f44[_0x54295d++]){case'0':this['networkClient']=null;continue;case'1':super(GCP,_0xf724c0,_0x50daea,_0x4c5979,_0x464248);continue;case'2':this['serviceAccountName']=_0x4088fb[_0x239508(0x182)];continue;case'3':this[_0x239508(0x1ca)]=null;continue;case'4':this[_0x239508(0x240)]=null;continue;case'5':this['containerClient']=null;continue;case'6':this[_0x239508(0x142)]=null;continue;case'7':this[_0x239508(0x216)]=_0x4088fb['jyXOo'];continue;case'8':this[_0x239508(0x133)]=null;continue;}break;}}async[a3_0x34a2da(0x26d)](){const _0x1f8702=a3_0x34a2da;this[_0x1f8702(0x180)](this[_0x1f8702(0x26c)]);}async['init'](){const _0x278d82=a3_0x34a2da;await super[_0x278d82(0x1fa)]();const _0xffe3c7=this[_0x278d82(0x142)],_0x274830={};_0x274830[_0x278d82(0x17e)]=_0xffe3c7,this[_0x278d82(0x2ce)]=new container['v1'][(_0x278d82(0x24b))](_0x274830);const _0x4fb94c={};_0x4fb94c[_0x278d82(0x17e)]=_0xffe3c7,this['networkClient']=new compute['v1'][(_0x278d82(0x295))](_0x4fb94c);const _0x1b64ad={};return _0x1b64ad['keyFile']=_0xffe3c7,this[_0x278d82(0x1ca)]=new ProjectsClient(_0x1b64ad),this[_0x278d82(0x133)]=google[_0x278d82(0x28e)]('v1'),this;}async[a3_0x34a2da(0x197)](_0xb82056,_0x3686c2){const _0xdd58b0=a3_0x34a2da,_0x320672={'HXmyu':function(_0x1209b6,_0x16f5c6){return _0x1209b6(_0x16f5c6);},'ZwDpT':_0xdd58b0(0x156),'meEFH':function(_0x57072e){return _0x57072e();},'HWDJE':_0xdd58b0(0x2d2)},_0x553b98=await _0x320672[_0xdd58b0(0x23a)](_0xb82056,_0x320672['ZwDpT']);let _0x5cebdc=await fs['readFileAsync'](_0x553b98);_0x5cebdc=_0x5cebdc[_0xdd58b0(0x241)]();const _0x100d8b=_0x320672[_0xdd58b0(0x1eb)](getDirForConfig),_0x2a53c1=path[_0xdd58b0(0x2bc)](_0x100d8b,_0x320672[_0xdd58b0(0x286)]);fs['writeFileSync'](_0x2a53c1,_0x5cebdc),this[_0xdd58b0(0x142)]=_0x2a53c1;const _0x46e719={};return _0x46e719['keyFile']=_0x2a53c1,_0x3686c2[_0xdd58b0(0x137)][GCP]=_0x46e719,_0x5cebdc=JSON[_0xdd58b0(0x161)](_0x5cebdc),this[_0xdd58b0(0x240)]=_0x5cebdc['project_id'],_0x3686c2;}async[a3_0x34a2da(0x26a)](_0x591bf2){const _0x4dbd1f=a3_0x34a2da;this[_0x4dbd1f(0x142)]=_0x591bf2[this['cloudProviderName']]['keyFile'];let _0x536ced=await fs[_0x4dbd1f(0x16a)](this[_0x4dbd1f(0x142)]);_0x536ced=JSON['parse'](_0x536ced),this[_0x4dbd1f(0x240)]=_0x536ced[_0x4dbd1f(0x214)];}['getGridHostname'](_0x358649){const _0x320141=a3_0x34a2da;return _0x358649['status']['loadBalancer'][_0x320141(0x2b3)][0x0]['ip'];}async[a3_0x34a2da(0x281)](){const _0x47795f=a3_0x34a2da,_0x550f40={};_0x550f40[_0x47795f(0x18b)]=function(_0x3bccd3,_0x230e0e){return _0x3bccd3===_0x230e0e;},_0x550f40[_0x47795f(0x155)]=function(_0xeaeee0,_0xd1d678){return _0xeaeee0!==_0xd1d678;},_0x550f40[_0x47795f(0x1de)]=_0x47795f(0x219),_0x550f40['cnkjQ']=_0x47795f(0x159),_0x550f40[_0x47795f(0x139)]=function(_0x4073ed,_0x1466b5){return _0x4073ed===_0x1466b5;},_0x550f40[_0x47795f(0x285)]=_0x47795f(0x195),_0x550f40[_0x47795f(0x2c8)]=function(_0x34708d,_0x477892){return _0x34708d===_0x477892;},_0x550f40[_0x47795f(0x23d)]=_0x47795f(0x235),_0x550f40[_0x47795f(0x131)]=function(_0x5a14ee,_0x1698a1){return _0x5a14ee===_0x1698a1;},_0x550f40[_0x47795f(0x186)]='aYUwf';const _0x59e1f9=_0x550f40;try{if(_0x59e1f9[_0x47795f(0x18b)](_0x59e1f9[_0x47795f(0x1de)],_0x59e1f9[_0x47795f(0x267)]))_0x4c27aa[_0x47795f(0x218)](_0x144dc3);else{const _0x48f60c=await this[_0x47795f(0x27f)]();if(_0x48f60c[0x0]?.[_0x47795f(0x19a)]?.[_0x47795f(0x1a1)]){if(_0x59e1f9[_0x47795f(0x139)](_0x59e1f9[_0x47795f(0x285)],_0x59e1f9[_0x47795f(0x285)])){const _0x1af4de=_0x48f60c[0x0]?.[_0x47795f(0x19a)]?.[_0x47795f(0x1a1)];return _0x1af4de&&_0x59e1f9[_0x47795f(0x2c8)](_0x1af4de[_0x47795f(0x2b0)](),_0x59e1f9['LVDPw']);}else{if(_0x59e1f9[_0x47795f(0x18b)](_0x1cd704?.['name'],'projects/'+this[_0x47795f(0x240)]+'/serviceAccounts/'+this['serviceAccountName']+'@'+this[_0x47795f(0x240)]+_0x47795f(0x22a)))return!![];}}}}catch(_0x59e5d7){return _0x59e1f9['aDnUG'](_0x59e1f9[_0x47795f(0x186)],_0x59e1f9[_0x47795f(0x186)])?![]:(_0x59e1f9['aEZnG'](_0x307a81['clusterRegion'],_0x2342bb[0x0])&&(_0x21439b[_0x47795f(0x20a)]=_0x5148a3[0x0],this[_0x47795f(0x176)]()),!![]);}return![];}async[a3_0x34a2da(0x271)](){const _0x4c3eff=a3_0x34a2da,_0x338802={'gBrrJ':_0x4c3eff(0x1bb),'WZJha':_0x4c3eff(0x187),'jdHpe':_0x4c3eff(0x276),'eZMuL':_0x4c3eff(0x1a2),'HWnEb':_0x4c3eff(0x232),'QUBjF':_0x4c3eff(0x26b),'shqFA':_0x4c3eff(0x13a),'GQVlY':function(_0x16f483,_0x43af1e){return _0x16f483!==_0x43af1e;},'ceWWs':function(_0x1ded29,_0x29a2bb){return _0x1ded29===_0x29a2bb;},'xxAHn':_0x4c3eff(0x2ab),'OOayx':_0x4c3eff(0x2cc),'EmlVJ':function(_0x59f1f4,_0x2cef5c){return _0x59f1f4!==_0x2cef5c;},'osMQA':_0x4c3eff(0x242),'SXORz':function(_0x544060,_0xf9c92a){return _0x544060!==_0xf9c92a;},'cDvZX':'LryLz','Ikwyc':function(_0x16b808,_0x463600){return _0x16b808===_0x463600;},'kIPJc':function(_0x263b3d,_0x18ec1a){return _0x263b3d===_0x18ec1a;},'HQjex':_0x4c3eff(0x16f),'qBKHS':_0x4c3eff(0x1e2),'HiKAx':function(_0x31a1bc,_0x3baaea){return _0x31a1bc===_0x3baaea;},'PetCU':function(_0x2b423e,_0x451b02){return _0x2b423e===_0x451b02;},'sBmth':'eVybO','XAmKS':'UdFod','tDfiB':_0x4c3eff(0x143),'OyhQk':_0x4c3eff(0x26e),'DDwue':function(_0x3528a1,_0x4c4c01){return _0x3528a1>_0x4c4c01;},'ILdnh':function(_0x1a969e,_0x15ce9c){return _0x1a969e!==_0x15ce9c;},'jKvaW':'NfHzp','UGpnm':function(_0x3c4957,_0x38c945){return _0x3c4957<_0x38c945;},'QIGDU':_0x4c3eff(0x234),'VcNch':'jfpHI','UmrJH':function(_0x32099b,_0x45a23a){return _0x32099b+_0x45a23a;},'imZwC':function(_0x21cf3c,_0x1d82ae){return _0x21cf3c(_0x1d82ae);},'LlCJr':_0x4c3eff(0x2b7),'xTwyX':function(_0x2d3951,_0x1cd90c){return _0x2d3951(_0x1cd90c);},'ctffP':function(_0x54ffac,_0x49e8b5){return _0x54ffac<=_0x49e8b5;},'bMxhR':function(_0x541906,_0x46f385){return _0x541906===_0x46f385;},'rRSsP':_0x4c3eff(0x2af),'LqbNH':'kwKne','lNuNs':function(_0x377959){return _0x377959();},'NiHeF':function(_0xad7ead,_0x1f033d){return _0xad7ead-_0x1f033d;},'qFbGc':function(_0x66ede2,_0x2e04f4){return _0x66ede2!==_0x2e04f4;},'Akvfb':function(_0x2ca2a0,_0x232c0c){return _0x2ca2a0-_0x232c0c;},'IvSPD':_0x4c3eff(0x168),'cgzAe':_0x4c3eff(0x157)};let _0x404b8f=await fs['readFileAsync'](path['join'](__dirname,'..',_0x338802[_0x4c3eff(0x178)],_0x338802[_0x4c3eff(0x263)],_0x338802['QUBjF']),_0x338802[_0x4c3eff(0x294)]);_0x404b8f=JSON[_0x4c3eff(0x161)](_0x404b8f);let _0x15843f=[global_registry[_0x4c3eff(0x20a)]];if(_0x338802[_0x4c3eff(0x277)](_0x404b8f[global_registry[_0x4c3eff(0x20a)]],undefined)){if(_0x338802['ceWWs'](_0x338802['xxAHn'],_0x338802['OOayx']))return[!![],_0x124e0f];else _0x15843f=_0x15843f['concat'](_0x404b8f[global_registry[_0x4c3eff(0x20a)]]);}const _0x5093f3=[];for await(const _0x39b067 of _0x15843f){if(_0x338802[_0x4c3eff(0x1cc)](_0x338802[_0x4c3eff(0x2bf)],_0x338802['osMQA']))return!![];else{const _0x55bc42={};_0x55bc42[_0x4c3eff(0x2c2)]=_0x4c3eff(0x172)+this['projectId']+_0x4c3eff(0x1f5)+_0x39b067;const _0x3abf75=_0x55bc42,_0x1a1edb=await this['containerClient'][_0x4c3eff(0x173)](_0x3abf75);for(const _0x3e33e9 of _0x1a1edb[0x0][_0x4c3eff(0x185)]){_0x338802[_0x4c3eff(0x1d6)](_0x338802[_0x4c3eff(0x20c)],_0x338802[_0x4c3eff(0x20c)])?(_0x353664[_0x4c3eff(0x24f)](_0x4c3eff(0x212)+_0x2e9b8a+'\x20:\x20'+_0xe1f4d2['stack']),_0xc2042e[_0x4c3eff(0x265)]=_0x4c3eff(0x25b)+_0x4bc299,_0x53946d[_0x4c3eff(0x24f)]=_0x2390f8):_0x338802['Ikwyc'](_0x3e33e9['name'],this['clusterName'])&&(_0x338802[_0x4c3eff(0x205)](_0x338802[_0x4c3eff(0x199)],_0x338802[_0x4c3eff(0x15e)])?(_0x4d850d[_0x4c3eff(0x20a)]=_0x59a80e[0x0],this[_0x4c3eff(0x176)]()):_0x5093f3['push'](_0x39b067));}}}const _0x172575=_0x5093f3['length'];if(_0x338802[_0x4c3eff(0x1c1)](_0x172575,0x1)){if(_0x338802[_0x4c3eff(0x29c)](_0x338802['sBmth'],_0x338802['XAmKS']))_0x320955[_0x4c3eff(0x16d)](_0x4c3eff(0x191)+this[_0x4c3eff(0x1d4)]+_0x4c3eff(0x167)+_0x1384ae[_0x4c3eff(0x20a)]+'\x20--quiet\x20--user-output-enabled=false');else return _0x338802['SXORz'](global_registry['clusterRegion'],_0x5093f3[0x0])&&(_0x338802[_0x4c3eff(0x205)](_0x338802['tDfiB'],_0x338802[_0x4c3eff(0x1cf)])?(_0x1a2663[_0x4c3eff(0x24f)](_0x338802['gBrrJ']),_0x4f4715['exit'](0x1)):(global_registry[_0x4c3eff(0x20a)]=_0x5093f3[0x0],this[_0x4c3eff(0x176)]())),!![];}else{if(_0x338802[_0x4c3eff(0x297)](_0x172575,0x1)){if(_0x338802[_0x4c3eff(0x1c2)](_0x338802[_0x4c3eff(0x140)],_0x338802['jKvaW']))_0x18d853=_0x338802['WZJha'];else{console['log'](_0x4c3eff(0x2b9)+this[_0x4c3eff(0x1d4)]+_0x4c3eff(0x246));for(let _0x49d9f6=0x0;_0x338802['UGpnm'](_0x49d9f6,_0x172575);_0x49d9f6+=0x1){_0x338802[_0x4c3eff(0x1cc)](_0x338802[_0x4c3eff(0x2a4)],_0x338802['VcNch'])?console[_0x4c3eff(0x193)]('['+_0x338802[_0x4c3eff(0x284)](_0x49d9f6,0x1)+']\x20'+_0x5093f3[_0x49d9f6]):_0x2eaa49=_0x4d6df4[_0x4c3eff(0x202)](_0x52633b[_0x9feb2d[_0x4c3eff(0x20a)]]);}const _0x2a925b=await _0x338802[_0x4c3eff(0x283)](inputConfirmation,_0x338802[_0x4c3eff(0x15c)]),_0x312716=_0x338802[_0x4c3eff(0x283)](Number,_0x2a925b);if(_0x338802[_0x4c3eff(0x181)](isNaN,_0x312716)||_0x338802[_0x4c3eff(0x24d)](_0x312716,0x0)||_0x338802[_0x4c3eff(0x297)](_0x312716,_0x172575)){if(_0x338802['bMxhR'](_0x338802['rRSsP'],_0x338802['LqbNH']))return![];else console[_0x4c3eff(0x24f)](_0x338802[_0x4c3eff(0x2a2)]),process[_0x4c3eff(0x29b)](0x1);}_0x338802['lNuNs'](closeInput),logger[_0x4c3eff(0x1be)](_0x4c3eff(0x2b6)+_0x5093f3[_0x338802[_0x4c3eff(0x1c6)](_0x312716,0x1)]);if(_0x338802[_0x4c3eff(0x153)](global_registry[_0x4c3eff(0x20a)],_0x5093f3[_0x338802[_0x4c3eff(0x1fd)](_0x312716,0x1)])){if(_0x338802['EmlVJ'](_0x338802[_0x4c3eff(0x19d)],_0x338802['cgzAe']))global_registry['clusterRegion']=_0x5093f3[_0x338802[_0x4c3eff(0x1c6)](_0x312716,0x1)],this[_0x4c3eff(0x176)]();else{_0x294375[_0x4c3eff(0x1be)](_0x338802[_0x4c3eff(0x25d)]);return;}}return!![];}}}return![];}async[a3_0x34a2da(0x27f)](){const _0x1e80d1=a3_0x34a2da,_0x33cc41=await this[_0x1e80d1(0x2ce)][_0x1e80d1(0x1ea)]({'name':_0x1e80d1(0x172)+this['projectId']+_0x1e80d1(0x1f5)+global_registry[_0x1e80d1(0x20a)]+_0x1e80d1(0x15d)+this[_0x1e80d1(0x1d4)]});return _0x33cc41;}async[a3_0x34a2da(0x175)](){const _0x591866=a3_0x34a2da,_0x15e69c={};_0x15e69c['WIgrw']=_0x591866(0x203),_0x15e69c[_0x591866(0x1ef)]='templates',_0x15e69c[_0x591866(0x24e)]=_0x591866(0x232),_0x15e69c[_0x591866(0x2b4)]=_0x591866(0x2a7);const _0x3c2c87=_0x15e69c;cp['execSync'](_0x3c2c87[_0x591866(0x252)]),cp['exec']('gcloud\x20auth\x20login\x20--cred-file='+this[_0x591866(0x142)]);const _0x50eb6e=await this['getClusterInfo'](),_0x19ec91='gke_'+this[_0x591866(0x240)]+'_'+global_registry[_0x591866(0x20a)]+'_'+this[_0x591866(0x1d4)];let _0x6ec74b=await fs[_0x591866(0x16a)](path[_0x591866(0x2bc)](__dirname,'..',_0x3c2c87[_0x591866(0x1ef)],_0x3c2c87[_0x591866(0x24e)],_0x3c2c87[_0x591866(0x2b4)]));return _0x6ec74b=_0x6ec74b[_0x591866(0x241)](),_0x6ec74b=_0x6ec74b['replace'](/<CLUSTER_NAME>/g,_0x19ec91),_0x6ec74b=_0x6ec74b[_0x591866(0x278)](/<CLUSTER_URL>/g,_0x591866(0x1c8)+_0x50eb6e[0x0][_0x591866(0x13d)]),_0x6ec74b=_0x6ec74b[_0x591866(0x278)](/<CERTIFICATE_DATA>/g,_0x50eb6e[0x0][_0x591866(0x272)]['clusterCaCertificate']),_0x6ec74b;}async[a3_0x34a2da(0x15f)](){const _0xd4dbc2=a3_0x34a2da,_0x5b218d={};_0x5b218d[_0xd4dbc2(0x148)]=function(_0x2b7c76,_0xeeb837){return _0x2b7c76===_0xeeb837;},_0x5b218d[_0xd4dbc2(0x138)]=_0xd4dbc2(0x21b),_0x5b218d['ySFgf']=function(_0x110cd0,_0x317489){return _0x110cd0!==_0x317489;},_0x5b218d[_0xd4dbc2(0x154)]='lDzpT',_0x5b218d[_0xd4dbc2(0x226)]=_0xd4dbc2(0x29a),_0x5b218d[_0xd4dbc2(0x262)]=function(_0x356552,_0x19b742){return _0x356552!==_0x19b742;},_0x5b218d[_0xd4dbc2(0x1a8)]=_0xd4dbc2(0x17c),_0x5b218d['rtGnJ']=_0xd4dbc2(0x2d0),_0x5b218d[_0xd4dbc2(0x13c)]=_0xd4dbc2(0x14f),_0x5b218d[_0xd4dbc2(0x1bf)]=_0xd4dbc2(0x282);const _0x383466=_0x5b218d,_0x47d5a5={};_0x47d5a5[_0xd4dbc2(0x2b5)]=[_0x383466['aMBVW']],_0x47d5a5['keyFile']=this[_0xd4dbc2(0x142)];const _0x57a1b9=await google[_0xd4dbc2(0x247)][_0xd4dbc2(0x1ae)](_0x47d5a5),_0x111cb6=await this[_0xd4dbc2(0x133)]['projects']['serviceAccounts']['list']({'name':'projects/'+this['projectId'],'auth':_0x57a1b9});if(_0x111cb6?.[_0xd4dbc2(0x265)]?.[_0xd4dbc2(0x2c1)]){if(_0x383466['ySFgf'](_0x383466['qWDDb'],_0x383466[_0xd4dbc2(0x226)]))for(const _0x1afaf1 of _0x111cb6['data'][_0xd4dbc2(0x2c1)]){if(_0x383466[_0xd4dbc2(0x262)](_0x383466[_0xd4dbc2(0x1a8)],_0x383466['rtGnJ'])){if(_0x383466[_0xd4dbc2(0x148)](_0x1afaf1?.['name'],_0xd4dbc2(0x172)+this['projectId']+_0xd4dbc2(0x150)+this[_0xd4dbc2(0x16c)]+'@'+this[_0xd4dbc2(0x240)]+_0xd4dbc2(0x22a))){if(_0x383466[_0xd4dbc2(0x262)](_0x383466['EFIuj'],_0x383466[_0xd4dbc2(0x1bf)]))return!![];else _0x383466[_0xd4dbc2(0x148)](_0x5ed08c[_0xd4dbc2(0x244)],this[_0xd4dbc2(0x1d4)])&&_0x669992[_0xd4dbc2(0x298)](_0xce766f);}}else return![];}else _0x27e0ac['error']=_0xbbd35a;}return![];}async['setupServiceAccount'](){const _0x235905=a3_0x34a2da,_0x113f77={};_0x113f77[_0x235905(0x160)]=function(_0x385a93,_0x28c302){return _0x385a93===_0x28c302;},_0x113f77[_0x235905(0x243)]=_0x235905(0x2ca),_0x113f77[_0x235905(0x254)]=_0x235905(0x16b),_0x113f77['vmkYV']=_0x235905(0x276),_0x113f77[_0x235905(0x1ce)]=_0x235905(0x1a7),_0x113f77[_0x235905(0x220)]=_0x235905(0x21b),_0x113f77[_0x235905(0x145)]='iam.serviceAccounts.signBlob',_0x113f77[_0x235905(0x136)]=_0x235905(0x2cb),_0x113f77[_0x235905(0x2ba)]=_0x235905(0x256),_0x113f77[_0x235905(0x259)]=_0x235905(0x22e),_0x113f77['tflff']='storage.buckets.deleteTagBinding',_0x113f77['GNOur']='storage.buckets.get',_0x113f77[_0x235905(0x162)]=_0x235905(0x1d3),_0x113f77[_0x235905(0x13e)]='storage.buckets.getObjectInsights',_0x113f77[_0x235905(0x23e)]=_0x235905(0x253),_0x113f77['mVWsA']=_0x235905(0x134),_0x113f77[_0x235905(0x28b)]=_0x235905(0x166),_0x113f77[_0x235905(0x213)]=_0x235905(0x1af),_0x113f77[_0x235905(0x249)]=_0x235905(0x2b8),_0x113f77['mIpIN']=_0x235905(0x1b1),_0x113f77['xcxiu']='storage.multipartUploads.create',_0x113f77[_0x235905(0x152)]=_0x235905(0x158),_0x113f77[_0x235905(0x28d)]=_0x235905(0x21c),_0x113f77[_0x235905(0x130)]=_0x235905(0x22b),_0x113f77[_0x235905(0x1a3)]=_0x235905(0x17a),_0x113f77[_0x235905(0x27c)]=_0x235905(0x25c),_0x113f77['VPOrf']=_0x235905(0x1cb),_0x113f77[_0x235905(0x165)]='storage.objects.list',_0x113f77[_0x235905(0x1f0)]=_0x235905(0x2aa),_0x113f77[_0x235905(0x221)]=_0x235905(0x190),_0x113f77[_0x235905(0x2ac)]=_0x235905(0x1d2),_0x113f77[_0x235905(0x2c6)]=_0x235905(0x28f);const _0x35c6f9=_0x113f77,_0x5393a9=await this[_0x235905(0x15f)]();if(_0x5393a9){if(_0x35c6f9['LqfFk'](_0x35c6f9[_0x235905(0x243)],_0x35c6f9['yZGOw']))return!![];else{logger[_0x235905(0x1be)](_0x35c6f9[_0x235905(0x183)]);return;}}logger['info'](_0x35c6f9[_0x235905(0x1ce)]);const _0x43ca94={};_0x43ca94[_0x235905(0x2b5)]=[_0x35c6f9['vXKpy']],_0x43ca94[_0x235905(0x17e)]=this[_0x235905(0x142)];const _0x54b558=await google[_0x235905(0x247)][_0x235905(0x1ae)](_0x43ca94),_0x4555e6={};_0x4555e6[_0x235905(0x245)]=[_0x35c6f9[_0x235905(0x145)],_0x35c6f9[_0x235905(0x136)],_0x35c6f9[_0x235905(0x2ba)],_0x35c6f9[_0x235905(0x259)],_0x35c6f9[_0x235905(0x1cd)],_0x35c6f9[_0x235905(0x1a9)],_0x35c6f9[_0x235905(0x162)],_0x35c6f9[_0x235905(0x13e)],_0x35c6f9[_0x235905(0x23e)],_0x35c6f9['mVWsA'],_0x35c6f9[_0x235905(0x28b)],_0x35c6f9[_0x235905(0x213)],_0x35c6f9[_0x235905(0x249)],_0x35c6f9[_0x235905(0x206)],_0x35c6f9[_0x235905(0x1e0)],_0x35c6f9[_0x235905(0x152)],_0x35c6f9['BTGpX'],_0x35c6f9[_0x235905(0x130)],_0x35c6f9['edxYf'],_0x35c6f9[_0x235905(0x27c)],_0x35c6f9[_0x235905(0x1e4)],_0x35c6f9[_0x235905(0x165)],_0x35c6f9[_0x235905(0x1f0)],_0x35c6f9[_0x235905(0x221)]],_0x4555e6[_0x235905(0x18d)]=_0x35c6f9[_0x235905(0x2ac)],await this[_0x235905(0x133)][_0x235905(0x1a5)][_0x235905(0x169)][_0x235905(0x22c)]({'parent':'projects/'+this[_0x235905(0x240)],'requestBody':{'role':_0x4555e6,'roleId':this[_0x235905(0x216)]},'auth':_0x54b558});const _0x554071={};_0x554071['name']=_0x235905(0x172)+this['projectId'],_0x554071[_0x235905(0x1e1)]={},_0x554071['auth']=_0x54b558,_0x554071[_0x235905(0x1e1)][_0x235905(0x20f)]=this[_0x235905(0x16c)];const _0x442f42=_0x554071;await this[_0x235905(0x133)][_0x235905(0x18c)][_0x235905(0x1b6)][_0x235905(0x22c)](_0x442f42);let _0x2b0014=await this[_0x235905(0x1ca)]['getIamPolicy']({'resource':_0x235905(0x172)+this[_0x235905(0x240)]});_0x2b0014=_0x2b0014[0x0]['bindings'];const _0x2af35b={};_0x2af35b[_0x235905(0x1b7)]=_0x235905(0x172)+this[_0x235905(0x240)]+_0x235905(0x215)+this[_0x235905(0x216)],_0x2af35b[_0x235905(0x238)]=['serviceAccount:'+this['serviceAccountName']+'@'+this[_0x235905(0x240)]+'.iam.gserviceaccount.com'],_0x2b0014[_0x235905(0x298)](_0x2af35b);const _0x147173={};_0x147173[_0x235905(0x279)]=_0x2b0014,await this['resourcemanagerClient'][_0x235905(0x29d)]({'resource':'projects/'+this['projectId'],'policy':_0x147173}),logger['info'](_0x35c6f9[_0x235905(0x2c6)]);}async[a3_0x34a2da(0x257)](_0x271aa0='default',_0x300afb=[a3_0x34a2da(0x187)]){const _0x5191a9=a3_0x34a2da,_0x283c8e={};_0x283c8e[_0x5191a9(0x1c0)]=function(_0x4c41eb,_0x358be5){return _0x4c41eb+_0x358be5;},_0x283c8e[_0x5191a9(0x258)]=_0x5191a9(0x2bd),_0x283c8e[_0x5191a9(0x29e)]=_0x5191a9(0x144),_0x283c8e[_0x5191a9(0x1b4)]=function(_0x30c292,_0x199564){return _0x30c292===_0x199564;},_0x283c8e[_0x5191a9(0x260)]=_0x5191a9(0x135),_0x283c8e['bzFqZ']=_0x5191a9(0x187),_0x283c8e[_0x5191a9(0x274)]=function(_0x51a2c3,_0x4fe51e){return _0x51a2c3===_0x4fe51e;},_0x283c8e[_0x5191a9(0x2b2)]=function(_0x1cb6c0,_0x32a86f){return _0x1cb6c0!==_0x32a86f;},_0x283c8e['YPuAm']=_0x5191a9(0x230);const _0x26c3ef=_0x283c8e,_0x349bba={};_0x349bba[_0x5191a9(0x1d0)]=WS_EVENTS[_0x5191a9(0x1ee)],_0x349bba[_0x5191a9(0x1dc)]=_0x26c3ef[_0x5191a9(0x258)],this['webSocketUtils'][_0x5191a9(0x17f)](this['rws'],_0x349bba),logger[_0x5191a9(0x1be)](_0x26c3ef[_0x5191a9(0x29e)]);if(!_0x271aa0){if(_0x26c3ef[_0x5191a9(0x1b4)](_0x26c3ef[_0x5191a9(0x260)],_0x26c3ef[_0x5191a9(0x260)]))_0x271aa0=_0x26c3ef['bzFqZ'];else return _0x46942e[_0x5191a9(0x196)][_0x5191a9(0x28c)]['ingress'][0x0]['ip'];}return(!_0x300afb||_0x26c3ef['cxHHM'](_0x300afb[_0x5191a9(0x1a6)],0x0))&&(_0x26c3ef[_0x5191a9(0x2b2)](_0x26c3ef[_0x5191a9(0x1c4)],_0x26c3ef[_0x5191a9(0x1c4)])?_0x853950['log']('['+_0x26c3ef[_0x5191a9(0x1c0)](_0x37e400,0x1)+']\x20'+_0x362aaf[_0x243ef4]):_0x300afb=[_0x26c3ef[_0x5191a9(0x1d8)]]),await this[_0x5191a9(0x1db)](),await this[_0x5191a9(0x13f)](_0x271aa0,_0x300afb),await this[_0x5191a9(0x2a6)](),[_0x271aa0,_0x300afb];}async[a3_0x34a2da(0x13f)](_0x2f80ef=a3_0x34a2da(0x187),_0xc9a925=[a3_0x34a2da(0x187)]){const _0x279adc=a3_0x34a2da,_0x586a64={};_0x586a64['vybDy']=function(_0x23d1ba,_0x1882dc){return _0x23d1ba===_0x1882dc;},_0x586a64[_0x279adc(0x29f)]=_0x279adc(0x235),_0x586a64['bWKWZ']=function(_0x2297c0,_0x5dc029){return _0x2297c0===_0x5dc029;},_0x586a64['UpSsX']=function(_0x2c1c74,_0x369d62){return _0x2c1c74!==_0x369d62;},_0x586a64[_0x279adc(0x264)]='VbVQw',_0x586a64[_0x279adc(0x2b1)]=_0x279adc(0x15a),_0x586a64[_0x279adc(0x179)]=_0x279adc(0x1a2),_0x586a64[_0x279adc(0x250)]='gcpresources',_0x586a64[_0x279adc(0x1d5)]=_0x279adc(0x194),_0x586a64['JhDuK']=_0x279adc(0x13a),_0x586a64[_0x279adc(0x1d7)]=_0x279adc(0x26b),_0x586a64[_0x279adc(0x1bc)]=function(_0x45ca22,_0x8a6567){return _0x45ca22*_0x8a6567;},_0x586a64['USGCA']=function(_0x1c437a,_0x414815){return _0x1c437a*_0x414815;},_0x586a64[_0x279adc(0x15b)]=function(_0x1640a1,_0x5d49f7){return _0x1640a1===_0x5d49f7;},_0x586a64[_0x279adc(0x273)]=_0x279adc(0x24a),_0x586a64[_0x279adc(0x275)]=function(_0xd661cc,_0x135d0c){return _0xd661cc===_0x135d0c;},_0x586a64[_0x279adc(0x21a)]='cBcbR',_0x586a64['auLGn']=_0x279adc(0x1b2),_0x586a64['cnyaW']=_0x279adc(0x23f),_0x586a64[_0x279adc(0x1b8)]=_0x279adc(0x200),_0x586a64[_0x279adc(0x1b9)]='Cluster\x20creation\x20failed';const _0x1e5f88=_0x586a64;try{if(_0x1e5f88[_0x279adc(0x13b)](_0x1e5f88[_0x279adc(0x264)],_0x1e5f88[_0x279adc(0x264)])){const _0x27297c=_0x58efe9[0x0]?.[_0x279adc(0x19a)]?.[_0x279adc(0x1a1)];return _0x27297c&&_0x1e5f88[_0x279adc(0x27a)](_0x27297c[_0x279adc(0x2b0)](),_0x1e5f88['HrJCy']);}else{logger['info'](_0x1e5f88['QhVbh']);let _0x22ec19=await fs[_0x279adc(0x16a)](path['join'](__dirname,'..',_0x1e5f88['SpxEr'],_0x1e5f88[_0x279adc(0x250)],_0x1e5f88[_0x279adc(0x1d5)]),_0x1e5f88[_0x279adc(0x141)]);_0x22ec19=JSON[_0x279adc(0x161)](_0x22ec19);let _0x47fb43=await fs[_0x279adc(0x16a)](path['join'](__dirname,'..',_0x1e5f88[_0x279adc(0x179)],_0x1e5f88[_0x279adc(0x250)],_0x1e5f88[_0x279adc(0x1d7)]),_0x1e5f88[_0x279adc(0x141)]);_0x47fb43=JSON['parse'](_0x47fb43),_0x22ec19[_0x279adc(0x244)]=this[_0x279adc(0x1d4)],_0x22ec19[_0x279adc(0x261)][0x0]['config'][_0x279adc(0x21e)]=global_registry[_0x279adc(0x19c)],_0x22ec19['nodePools'][0x1][_0x279adc(0x210)][_0x279adc(0x21e)]=global_registry[_0x279adc(0x19c)],_0x22ec19[_0x279adc(0x261)][0x0][_0x279adc(0x210)][_0x279adc(0x223)]=this[_0x279adc(0x16c)]+'@'+this[_0x279adc(0x240)]+_0x279adc(0x22a),_0x22ec19[_0x279adc(0x261)][0x1][_0x279adc(0x210)]['serviceAccount']=this[_0x279adc(0x16c)]+'@'+this['projectId']+_0x279adc(0x22a),_0x22ec19['nodePools'][0x0]['autoscaling'][_0x279adc(0x151)]=global_registry['minNodes'],_0x22ec19[_0x279adc(0x261)][0x1][_0x279adc(0x2a0)]['minNodeCount']=0x0,_0x22ec19[_0x279adc(0x261)][0x0]['autoscaling'][_0x279adc(0x23c)]=global_registry[_0x279adc(0x1da)],_0x22ec19[_0x279adc(0x261)][0x1]['autoscaling'][_0x279adc(0x23c)]=global_registry[_0x279adc(0x1da)],_0x22ec19[_0x279adc(0x2c7)]=global_registry[_0x279adc(0x20a)],_0x22ec19[_0x279adc(0x17b)]=[_0x47fb43[global_registry[_0x279adc(0x20a)]][0x0]],_0x22ec19[_0x279adc(0x270)]='projects/'+this[_0x279adc(0x240)]+_0x279adc(0x132)+_0x2f80ef,_0x22ec19[_0x279adc(0x14c)]=_0x279adc(0x172)+this[_0x279adc(0x240)]+_0x279adc(0x1fb)+global_registry[_0x279adc(0x20a)]+_0x279adc(0x2d1)+_0xc9a925[0x0];const _0x75d0ee=await this[_0x279adc(0x2ce)][_0x279adc(0x13f)]({'cluster':_0x22ec19,'parent':_0x279adc(0x172)+this[_0x279adc(0x240)]+'/locations/'+global_registry[_0x279adc(0x20a)]});await this[_0x279adc(0x26f)]['delay'](_0x1e5f88[_0x279adc(0x1bc)](_0x1e5f88[_0x279adc(0x14e)](0x7,0x3c),0x3e8));}}catch(_0x4727b2){if(_0x1e5f88[_0x279adc(0x15b)](_0x1e5f88['HxzVV'],_0x1e5f88[_0x279adc(0x273)])){const _0x147515=await this[_0x279adc(0x271)]();if(_0x147515)_0x1e5f88[_0x279adc(0x275)](_0x1e5f88[_0x279adc(0x21a)],_0x1e5f88[_0x279adc(0x21a)])?(logger[_0x279adc(0x1be)](_0x1e5f88[_0x279adc(0x1e7)],_0x4727b2[_0x279adc(0x1ad)]),await this['deleteCluster']()):_0x17729a['status']=![];else{if(_0x1e5f88[_0x279adc(0x15b)](_0x1e5f88[_0x279adc(0x24c)],_0x1e5f88[_0x279adc(0x1b8)]))return _0x2fa287[_0x279adc(0x24f)](_0x279adc(0x20b)+_0x35cf83+'.\x20Error:\x20'+_0x54afb0),[![],[]];else logger[_0x279adc(0x1be)](_0x1e5f88[_0x279adc(0x1b9)]);}throw _0x4727b2;}else for(const _0x502500 of _0xfefec[_0x279adc(0x265)][_0x279adc(0x2c1)]){if(_0x1e5f88[_0x279adc(0x229)](_0x502500?.[_0x279adc(0x244)],_0x279adc(0x172)+this[_0x279adc(0x240)]+_0x279adc(0x150)+this['serviceAccountName']+'@'+this[_0x279adc(0x240)]+'.iam.gserviceaccount.com'))return!![];}}}async['setupHubHa'](_0x5ee553,_0x5a4609,_0x4dd269,_0x1afd4c,_0x38ef8f){}async[a3_0x34a2da(0x2a6)](){const _0x49eefc=a3_0x34a2da;cp[_0x49eefc(0x16d)](_0x49eefc(0x191)+this[_0x49eefc(0x1d4)]+_0x49eefc(0x167)+global_registry[_0x49eefc(0x20a)]+_0x49eefc(0x147));}async[a3_0x34a2da(0x225)](_0x4149a9,_0x349c3a){const _0xa01229=a3_0x34a2da,_0x1f2107={'qHmdg':_0xa01229(0x1a0),'ETDJs':function(_0xd0732e,_0x1b4839){return _0xd0732e===_0x1b4839;},'KoWqP':_0xa01229(0x163),'kzgnP':function(_0xdeb4ea,_0x59258f){return _0xdeb4ea(_0x59258f);},'crjLZ':function(_0xba025a,_0x4408a1){return _0xba025a(_0x4408a1);},'mKbdQ':_0xa01229(0x296),'SunDA':'DONE','VzqaB':function(_0x209fa7,_0x385e83){return _0x209fa7!==_0x385e83;},'svGfh':_0xa01229(0x1aa),'xYJjp':_0xa01229(0x18a),'UBKpz':'Cluster\x20deletion\x20completed','XHVfK':function(_0x25a93d,_0x5ad2f8){return _0x25a93d===_0x5ad2f8;},'tPJTY':_0xa01229(0x19b),'duBqe':_0xa01229(0x19e)};try{if(_0x1f2107[_0xa01229(0x1df)](_0x1f2107[_0xa01229(0x289)],_0x1f2107[_0xa01229(0x289)])){await _0x1f2107[_0xa01229(0x177)](deleteAgent,_0x4149a9),await _0x1f2107[_0xa01229(0x1d1)](deleteRoutingDeps,_0x4149a9),logger['info'](_0xa01229(0x1f2)+this['clusterName']);const _0x2400a4=await this[_0xa01229(0x2ce)][_0xa01229(0x225)]({'name':_0xa01229(0x172)+this['projectId']+_0xa01229(0x1f5)+global_registry[_0xa01229(0x20a)]+_0xa01229(0x15d)+this[_0xa01229(0x1d4)]});if(_0x1f2107[_0xa01229(0x1df)](_0x2400a4[0x0]?.[_0xa01229(0x196)],_0x1f2107[_0xa01229(0x288)])||_0x1f2107[_0xa01229(0x1df)](_0x2400a4[0x0]?.[_0xa01229(0x196)],_0x1f2107['SunDA'])){if(_0x1f2107[_0xa01229(0x18e)](_0x1f2107[_0xa01229(0x1ac)],_0x1f2107[_0xa01229(0x20e)]))return!![];else _0x309e91[_0xa01229(0x298)](_0x15cdab);}logger[_0xa01229(0x1be)](_0x1f2107[_0xa01229(0x1dd)]);}else return!![];}catch(_0x292ce1){if(_0x1f2107[_0xa01229(0x217)](_0x1f2107[_0xa01229(0x17d)],_0x1f2107[_0xa01229(0x170)])){_0x321bf6[_0xa01229(0x1be)](_0x1f2107[_0xa01229(0x2c3)]);throw _0x1b81b4;}else{logger[_0xa01229(0x1be)](_0x1f2107['qHmdg']);throw _0x292ce1;}}}async[a3_0x34a2da(0x251)](_0xa48fde){const _0x29e8f6=a3_0x34a2da,_0x4f9d8d={};_0x4f9d8d[_0x29e8f6(0x2cd)]=_0x29e8f6(0x2a5),_0x4f9d8d['QwDdt']=_0x29e8f6(0x1c3),_0x4f9d8d[_0x29e8f6(0x201)]=function(_0x389926,_0x326e8e){return _0x389926===_0x326e8e;},_0x4f9d8d['Bihbo']=function(_0x4ce5dd,_0x3cdcc5){return _0x4ce5dd!==_0x3cdcc5;},_0x4f9d8d[_0x29e8f6(0x211)]='xfiLE',_0x4f9d8d[_0x29e8f6(0x2be)]=_0x29e8f6(0x1ff),_0x4f9d8d[_0x29e8f6(0x2c5)]=function(_0x588bc9,_0x4fbf81){return _0x588bc9>_0x4fbf81;},_0x4f9d8d[_0x29e8f6(0x1f9)]=_0x29e8f6(0x171),_0x4f9d8d[_0x29e8f6(0x1f4)]=_0x29e8f6(0x27d),_0x4f9d8d['EdjJK']=_0x29e8f6(0x146),_0x4f9d8d[_0x29e8f6(0x21d)]='sOxCs';const _0x1c6c13=_0x4f9d8d;try{if(_0x1c6c13[_0x29e8f6(0x1c5)](_0x1c6c13['hdKdO'],_0x1c6c13[_0x29e8f6(0x2be)])){const _0x4e7a28=await this[_0x29e8f6(0x25e)][_0x29e8f6(0x22f)]({'project':this[_0x29e8f6(0x240)],'network':_0xa48fde});if(_0x1c6c13['jvACA'](_0x4e7a28[_0x29e8f6(0x1a6)],0x0)&&_0x1c6c13[_0x29e8f6(0x201)](_0x4e7a28[0x0][_0x29e8f6(0x244)],_0xa48fde)){if(_0x1c6c13[_0x29e8f6(0x201)](_0x1c6c13[_0x29e8f6(0x1f9)],_0x1c6c13[_0x29e8f6(0x1f4)]))this['sendGCPInfoToHST'](this[_0x29e8f6(0x26c)]);else return!![];}}else{const _0x4111f7=_0x194dad['permissions'][_0x29e8f6(0x224)](_0x18a165);_0x156e1a+='\x0a\x09'+_0x496bed+_0x29e8f6(0x1b5)+(_0x4111f7?_0x1c6c13['FQhLp']:_0x1c6c13['QwDdt']),!_0x4111f7&&(_0xcb557d['status']=![]);}}catch(_0x24e888){if(_0x1c6c13[_0x29e8f6(0x201)](_0x1c6c13['EdjJK'],_0x1c6c13[_0x29e8f6(0x21d)])){const _0x1734b1='https://www.googleapis.com/compute/v1/projects/'+this[_0x29e8f6(0x240)]+_0x29e8f6(0x1fb)+_0x2d6521[_0x29e8f6(0x20a)]+_0x29e8f6(0x2d1)+_0x564399[0x0];if(_0x1c6c13[_0x29e8f6(0x201)](_0x1734b1,_0x53023f))return[!![],_0xd21b30];}else return![];}return![];}async[a3_0x34a2da(0x1ba)](_0x4751bb,_0x145d99){const _0x56dd80=a3_0x34a2da,_0x2b8535={};_0x2b8535['KqbPw']='Cluster\x20creation\x20failed',_0x2b8535[_0x56dd80(0x27b)]=_0x56dd80(0x187),_0x2b8535[_0x56dd80(0x2cf)]=function(_0x200271,_0x13f769){return _0x200271-_0x13f769;},_0x2b8535[_0x56dd80(0x248)]=function(_0x53b550,_0x3e5a0e){return _0x53b550===_0x3e5a0e;},_0x2b8535[_0x56dd80(0x1b0)]=_0x56dd80(0x2c0),_0x2b8535['VRsUu']=_0x56dd80(0x2a3),_0x2b8535[_0x56dd80(0x19f)]=_0x56dd80(0x1f8),_0x2b8535[_0x56dd80(0x1d9)]=function(_0x5c2a37,_0x2b9a7b){return _0x5c2a37!==_0x2b9a7b;},_0x2b8535[_0x56dd80(0x1ec)]='sYMRV',_0x2b8535[_0x56dd80(0x1fc)]=_0x56dd80(0x1f3),_0x2b8535[_0x56dd80(0x2ad)]=function(_0x1b04c0,_0x3a979c){return _0x1b04c0===_0x3a979c;},_0x2b8535['oIqaA']=_0x56dd80(0x1e8),_0x2b8535[_0x56dd80(0x18f)]='JoZJa';const _0x4d6c0e=_0x2b8535;try{if(_0x4d6c0e['RJOoW'](_0x4d6c0e['IwmVO'],_0x4d6c0e['IwmVO'])){const _0x2b7ebe=await this[_0x56dd80(0x25e)][_0x56dd80(0x22f)]({'project':this[_0x56dd80(0x240)],'network':_0x145d99});for(const _0x29acc5 of _0x2b7ebe[0x0][_0x56dd80(0x291)]){if(_0x4d6c0e[_0x56dd80(0x248)](_0x4d6c0e['VRsUu'],_0x4d6c0e[_0x56dd80(0x19f)]))_0x4bb76d['debug'](_0x2e7d32);else{const _0x4a7c14=_0x56dd80(0x188)+this['projectId']+_0x56dd80(0x1fb)+global_registry[_0x56dd80(0x20a)]+_0x56dd80(0x2d1)+_0x4751bb[0x0];if(_0x4d6c0e['RJOoW'](_0x4a7c14,_0x29acc5)){if(_0x4d6c0e[_0x56dd80(0x1d9)](_0x4d6c0e[_0x56dd80(0x1ec)],_0x4d6c0e[_0x56dd80(0x1fc)]))return[!![],_0x4751bb];else _0x39c4ae['info'](_0x4d6c0e[_0x56dd80(0x1f6)]);}}}}else _0x4ab0cc=[_0x4d6c0e[_0x56dd80(0x27b)]];}catch(_0x5765d3){if(_0x4d6c0e[_0x56dd80(0x2ad)](_0x4d6c0e[_0x56dd80(0x1fe)],_0x4d6c0e[_0x56dd80(0x18f)]))_0x309a9a[_0x56dd80(0x20a)]=_0x482aaf[_0x4d6c0e[_0x56dd80(0x2cf)](_0x392a90,0x1)],this[_0x56dd80(0x176)]();else return logger['error'](_0x56dd80(0x20b)+_0x4751bb+'.\x20Error:\x20'+_0x5765d3),[![],[]];}return[![],[]];}async[a3_0x34a2da(0x180)](){const _0x540765=a3_0x34a2da,_0x47e10b={};_0x47e10b[_0x540765(0x293)]=function(_0x4e75d3,_0x100d50){return _0x4e75d3===_0x100d50;},_0x47e10b[_0x540765(0x2ae)]=_0x540765(0x1f1),_0x47e10b[_0x540765(0x1e5)]=_0x540765(0x268);const _0x1ae6d9=_0x47e10b,_0xba34cb=await this[_0x540765(0x25e)][_0x540765(0x2a1)]({'project':this[_0x540765(0x240)]}),_0xcf3a2={};_0xcf3a2[_0x540765(0x149)]=global_registry[_0x540765(0x1b3)],_0xcf3a2['accessKey']=global_registry[_0x540765(0x1e6)],_0xcf3a2[_0x540765(0x137)]=GCP,_0xcf3a2[_0x540765(0x184)]=[];const _0x21891d=_0xcf3a2;for(const _0x10bce4 of _0xba34cb){_0x1ae6d9[_0x540765(0x293)](_0x1ae6d9[_0x540765(0x2ae)],_0x1ae6d9[_0x540765(0x1e5)])?_0x184b6c['vpcInfo']['push'](_0x3402e2):_0x21891d[_0x540765(0x184)][_0x540765(0x298)](_0x10bce4);}const _0x2fed5b={};_0x2fed5b[_0x540765(0x1d0)]=WS_EVENTS['RESOURCES'],_0x2fed5b[_0x540765(0x1dc)]=_0x21891d,this[_0x540765(0x26f)][_0x540765(0x17f)](this['rws'],_0x2fed5b);}async[a3_0x34a2da(0x176)](){const _0x153540=a3_0x34a2da,_0x652e4c={'HaUKB':function(_0x4bcaf0,_0x546e24,_0x582f85){return _0x4bcaf0(_0x546e24,_0x582f85);},'ugCYQ':_0x153540(0x1c7),'zFLTc':_0x153540(0x164)},_0x252388=_0x153540(0x1c8)+AG_API_URL+'/packages/cli/update-cluster-region',_0x58d94d={};_0x58d94d['profileId']=global_registry[_0x153540(0x204)];const _0x374bc0={};_0x374bc0[_0x153540(0x27e)]=global_registry[_0x153540(0x20a)];const _0xec79a8={'searchParams':_0x58d94d,'json':_0x374bc0,'headers':_0x652e4c[_0x153540(0x1f7)](getAuthHeader,global_registry['bstackUsername'],global_registry[_0x153540(0x1e6)]),'method':_0x652e4c[_0x153540(0x237)],'responseType':_0x652e4c[_0x153540(0x20d)],'throwHttpErrors':![]},_0x55cf61=await _0x652e4c[_0x153540(0x1f7)](got,_0x252388,_0xec79a8);}async['isCliToolInstalled'](){const _0x13fd0e=a3_0x34a2da,_0x46cfdc={'WwOXB':function(_0x4ca131,_0xb7ebe0){return _0x4ca131(_0xb7ebe0);},'TbDNg':_0x13fd0e(0x23b),'hwsMO':_0x13fd0e(0x269),'MQcps':_0x13fd0e(0x22d)},_0x346827={};_0x346827[_0x13fd0e(0x196)]=![],_0x346827[_0x13fd0e(0x24f)]=null,_0x346827[_0x13fd0e(0x265)]='';const _0x5edd2d=_0x346827;try{const _0x329ecf=await _0x46cfdc['WwOXB'](runCommand,_0x46cfdc['TbDNg']);_0x329ecf['startsWith'](_0x46cfdc['hwsMO'])?logger[_0x13fd0e(0x218)](_0x329ecf):logger['debug'](_0x329ecf),_0x5edd2d['status']=!![],_0x5edd2d['data']=_0x46cfdc[_0x13fd0e(0x174)];}catch(_0x4fda46){logger[_0x13fd0e(0x24f)]('error\x20:\x20'+_0x4fda46+'\x20:\x20'+_0x4fda46[_0x13fd0e(0x1ad)]),_0x5edd2d[_0x13fd0e(0x265)]=_0x13fd0e(0x25b)+_0x4fda46,_0x5edd2d[_0x13fd0e(0x24f)]=_0x4fda46;}return _0x5edd2d;}async[a3_0x34a2da(0x299)](){const _0x29e9f3=a3_0x34a2da,_0x30c35c={};_0x30c35c['Yrilx']=_0x29e9f3(0x2a5),_0x30c35c['maFgR']=_0x29e9f3(0x1c3);const _0x40673c=_0x30c35c,_0x5499de={};_0x5499de['status']=![],_0x5499de[_0x29e9f3(0x24f)]=null,_0x5499de['data']='';const _0x391743=_0x5499de;try{let _0x3210c7='';const _0x239f9f='projects/'+this['projectId'],[_0x319b7c]=await this['resourcemanagerClient'][_0x29e9f3(0x16e)]({'resource':_0x239f9f,'permissions':Object[_0x29e9f3(0x280)](PERMISSIONS)});_0x391743[_0x29e9f3(0x196)]=!![],logger['debug'](_0x29e9f3(0x1e9)+_0x239f9f+':\x20'+JSON[_0x29e9f3(0x255)](_0x319b7c)),Object[_0x29e9f3(0x192)](PERMISSIONS)[_0x29e9f3(0x1e3)](([_0x36d19d,_0x3367c0])=>{const _0x299c14=_0x29e9f3,_0x942a2e=_0x319b7c[_0x299c14(0x2bb)]['includes'](_0x36d19d);_0x3210c7+='\x0a\x09'+_0x3367c0+_0x299c14(0x1b5)+(_0x942a2e?_0x40673c[_0x299c14(0x14b)]:_0x40673c[_0x299c14(0x1a4)]),!_0x942a2e&&(_0x391743[_0x299c14(0x196)]=![]);}),_0x391743[_0x29e9f3(0x265)]=_0x3210c7;}catch(_0x1c3fb0){_0x391743[_0x29e9f3(0x24f)]=_0x1c3fb0;}return _0x391743;}}function a3_0x406e(){const _0x31ecf3=['vORAV','HWDJE','545535uWMfJU','mKbdQ','KoWqP','turboscale-service-account','mWZwn','loadBalancer','BTGpX','iam','Service\x20Account\x20created,\x20proceeding\x20with\x20Cluster\x20creation','exports','subnetworks','400xQkaRh','zGfJH','shqFA','NetworksClient','RUNNING','DDwue','push','checkAccess','JjCtA','exit','PetCU','setIamPolicy','ElgZX','HrJCy','autoscaling','list','gBrrJ','omRVM','QIGDU','allowed','updateWindowsNodeGroup','KubeConfigTemplate.yaml','split','2STcoZA','storage.objects.setIamPolicy','XcKaJ','yAyUi','gbHLQ','DaGMx','EkACL','toLowerCase','QhVbh','AqvPr','ingress','tobrf','scopes','Proceeding\x20with\x20the\x20cluster\x20in\x20the\x20location\x20-\x20','Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','storage.buckets.update','Found\x20cluster\x20with\x20name\x20\x27','Pthti','permissions','join','Creating\x20required\x20resources\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account','oIdIp','osMQA','DeVDT','accounts','parent','qHmdg','16116468HbMExK','jvACA','FftBa','location','STkpI','16395907ZkpFhp','iwMYN','storage.buckets.create','cKqGe','FQhLp','containerClient','voJzx','SbXJt','/subnetworks/','gcp_credentials.json','AvtzQ','aDnUG','/global/networks/','iamClient','storage.buckets.listEffectiveTags','XXvsD','MTOAv','cloudProvider','aMBVW','nsiKf','utf-8','UpSsX','EFIuj','endpoint','OdkUg','createCluster','jKvaW','JhDuK','credentialsPath','kPrgd','Creating\x20required\x20dependencies\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account','hXTXm','QnzVd','\x20--quiet\x20--user-output-enabled=false','VHggM','username','./CloudProvider','Yrilx','subnetwork','../utils/gridComponents','USGCA','VCahk','/serviceAccounts/','minNodeCount','mxfcL','qFbGc','qWDDb','aEZnG','Enter\x20Key\x20file\x20(.json)\x20path\x20for\x20GCP\x20Service\x20Account:\x20','lEHRT','storage.multipartUploads.list','OcCPF','Creating\x20GKE\x20Cluster','XIBNY','LlCJr','/clusters/','qBKHS','checkServiceAccount','LqfFk','parse','BAEsQ','NQTjE','json','gcbBU','storage.buckets.listTagBindings','\x20--windows-os-version=ltsc2022\x20--region\x20','KCiPO','roles','readFileAsync','dYTFG','serviceAccountName','execSync','testIamPermissions','axGdg','duBqe','ggbMb','projects/','listClusters','MQcps','getKubeConfigData','updateClusterRegion','kzgnP','eZMuL','SpxEr','storage.objects.delete','locations','xxaes','tPJTY','keyFile','sendEventToBackend','sendGCPInfoToHST','xTwyX','Gvvck','vmkYV','vpcInfo','clusters','QPJcM','default','https://www.googleapis.com/compute/v1/projects/','../config/constants','KEvir','xhUtZ','projects','title','VzqaB','HyBQF','storage.objects.update','gcloud\x20container\x20node-pools\x20update\x20windows-pool\x20--cluster=','entries','log','gkecluster.json','zxhCY','status','getUserInput','66AggMFR','HQjex','resourceLabels','krsRa','instanceType','IvSPD','nnPWk','AQjBm','GKE\x20Cluster\x20deletion\x20failed','managedby','templates','edxYf','maFgR','organizations','length','Creating\x20service\x20account','VzimQ','GNOur','wuetl','../utils/utilityMethods','svGfh','stack','getClient','storage.buckets.setIamPolicy','IwmVO','storage.multipartUploads.abort','Cluster\x20creation\x20failed,\x20rolling\x20back\x20cluster\x20creation:\x20','bstackUsername','ZQEko','\x20:\x20','serviceAccounts','role','ItcZy','DYLEG','isSubnetsValid','Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','JIxah','path','info','iQxec','lhDKc','HiKAx','ILdnh','denied','YPuAm','Bihbo','NiHeF','PUT','https://','198886Baffjf','resourcemanagerClient','storage.objects.getIamPolicy','EmlVJ','tflff','fiURL','OyhQk','type','crjLZ','Turboscale\x20Custom\x20Role','storage.buckets.getIamPolicy','clusterName','kwfjo','SXORz','oxraR','bzFqZ','LIazz','maxNodes','setupServiceAccount','message','UBKpz','thChO','ETDJs','xcxiu','requestBody','lNOOC','forEach','VPOrf','MPzOP','bstackAccesskey','auLGn','OEIBs','permissions\x20check\x20response\x20for\x20','getCluster','meEFH','WEAky','got','LOG','LuDgd','KkMOF','fcHAA','Deleting\x20the\x20cluster\x20','JZcQE','rZsal','/locations/','KqbPw','HaUKB','HyRtw','ZmArO','init','/regions/','VfEDB','Akvfb','oIqaA','YeBZF','PgYIS','gLERe','concat','gcloud\x20components\x20install\x20gke-gcloud-auth-plugin\x20--quiet\x20--user-output-enabled=false','gridProfileId','kIPJc','mIpIN','@google-cloud/container','975396hrrwGa','96405kiZSJg','clusterRegion','Cannot\x20find\x20subnets\x20','cDvZX','zFLTc','xYJjp','accountId','config','hdKdO','error\x20:\x20','dnOeZ','project_id','/roles/','customRoleName','XHVfK','warn','TtuDx','vPfjb','https://www.googleapis.com/auth/cloud-platform','storage.multipartUploads.listParts','jNzAn','machineType','27685Dlyhsu','vXKpy','gmwjS','jyXOo','serviceAccount','includes','deleteCluster','oQcag','1|5|0|3|8|6|4|7|2','GoogleCloudProvider','bWKWZ','.iam.gserviceaccount.com','storage.objects.create','create','cli\x20tool\x20is\x20installed','storage.buckets.delete','get','PjZtr','sIzoW','gcpresources','200MWiyWa','ObHhb','browserstack','@google-cloud/resource-manager','ugCYQ','members','6dexbyE','HXmyu','gcloud\x20--version','maxNodeCount','LVDPw','dpsOv','WzOYB','projectId','toString','keJsm','NRCtA','name','includedPermissions','\x27\x20in\x20multiple\x20locations,\x20select\x20a\x20location\x20to\x20proceed:','auth','RJOoW','xhYyl','nenkP','ClusterManagerClient','cnyaW','ctffP','BYBNW','error','AqIhg','isVPCPresent','WIgrw','storage.buckets.list','yZGOw','stringify','storage.buckets.createTagBinding','setupNewCluster','pmcQP','APayv','util','Please\x20install\x20gcloud\x20CLI\x20tool.\x20Error\x20:\x20','storage.objects.get','jdHpe','networkClient','../utils/userInput','LIvra','nodePools','wnKhT','HWnEb','vWhcG','data','child_process','cnkjQ','dtxTK','Intercepted','setCachedCredsInRegistry','regionmap.json','rws','sendResourceDataToHST','uWltU','webSocketUtils','network','isClusterPresent','masterAuth','HxzVV','cxHHM','Hkisc','Service\x20account\x20already\x20exists,\x20skipping','GQVlY','replace','bindings','vybDy','rFQhI','cJGAr','WNNsJ','newRegion','getClusterInfo','keys','isBrowserstackCluster','QnGCD','imZwC','UmrJH'];a3_0x406e=function(){return _0x31ecf3;};return a3_0x406e();}const a3_0x56ba54={};a3_0x56ba54[a3_0x34a2da(0x228)]=GoogleCloudProvider,module[a3_0x34a2da(0x290)]=a3_0x56ba54;
@@ -1 +1 @@
1
- function a4_0x478b(_0xe4a008,_0x24ab6a){const _0x5755e6=a4_0x5755();return a4_0x478b=function(_0x478be1,_0x183420){_0x478be1=_0x478be1-0x136;let _0xd2cad0=_0x5755e6[_0x478be1];return _0xd2cad0;},a4_0x478b(_0xe4a008,_0x24ab6a);}function a4_0x5755(){const _0x2538cf=['mWaxF','20721590BzavkK','11334uzZJSb','../config/logger','error','./GoogleCloudProvider','getCloudProviderObject','exit','stack','DDMdQ','yQSQO','BokOX','3895209XVzYhL','Current\x20Node.js\x20version\x20','./AWS','onybH','init','nrLTT','node','create-grid-called','\x20is\x20not\x20supported.\x20Please\x20use\x20Node.js\x20version\x2018\x20or\x20higher\x20to\x20setup\x20your\x20grid\x20in\x20Azure.\x20Error:\x20','versions','Unknown\x20cloud\x20provider\x20found\x20-\x20','getCloudProviderObjectWithOutInit','4665348mpiQZt','4365KXjhYe','bpvNE','7zmAWWw','13395780OZVRAJ','EZfuF','12560792fwIxWm','grid-spawning-failed','../utils/utilityMethods','44696NRQTEB',',\x20stacktrace:\x20','../config/constants','7ZSLGrs'];a4_0x5755=function(){return _0x2538cf;};return a4_0x5755();}const a4_0x2c4346=a4_0x478b;(function(_0x13d734,_0x3c23c1){const _0x304b77=a4_0x478b,_0x41209a=_0x13d734();while(!![]){try{const _0x1cce88=-parseInt(_0x304b77(0x147))/0x1*(parseInt(_0x304b77(0x144))/0x2)+-parseInt(_0x304b77(0x154))/0x3+-parseInt(_0x304b77(0x13b))/0x4+-parseInt(_0x304b77(0x13c))/0x5*(parseInt(_0x304b77(0x14a))/0x6)+parseInt(_0x304b77(0x13e))/0x7*(parseInt(_0x304b77(0x141))/0x8)+parseInt(_0x304b77(0x13f))/0x9+parseInt(_0x304b77(0x149))/0xa;if(_0x1cce88===_0x3c23c1)break;else _0x41209a['push'](_0x41209a['shift']());}catch(_0x2b9ebc){_0x41209a['push'](_0x41209a['shift']());}}}(a4_0x5755,0xd20f5));const {AWSCloudProvider}=require(a4_0x2c4346(0x156)),{GoogleCloudProvider}=require(a4_0x2c4346(0x14d)),{installAzurePackages,IsNodeCompatibleWithAzure}=require(a4_0x2c4346(0x143)),{AWS,AZURE,GCP,messageTypes}=require(a4_0x2c4346(0x146)),{sendInstrumentationEvent}=require('../utils/instrumentationUtils'),{logger}=require(a4_0x2c4346(0x14b));exports[a4_0x2c4346(0x14e)]=async(_0x5d552c,_0x3f6fab,_0x8e2aff,_0x44f942,_0x5ad597,_0x3f52b3)=>{const _0x524087=a4_0x2c4346,_0x261315={'mWaxF':function(_0x3d9498){return _0x3d9498();},'BokOX':function(_0x544a72,_0x39e966){return _0x544a72(_0x39e966);},'sRvzm':'./Azure','bpvNE':function(_0x1e1091,_0x5d8b71,_0x434257,_0x3b2123,_0x118774,_0x7f55ce,_0x366dbc){return _0x1e1091(_0x5d8b71,_0x434257,_0x3b2123,_0x118774,_0x7f55ce,_0x366dbc);},'onybH':_0x524087(0x136),'DDMdQ':_0x524087(0x142)};switch(_0x5d552c){case AWS:{const _0x224b27=new AWSCloudProvider(_0x3f6fab,_0x8e2aff,_0x44f942,_0x5ad597);return await _0x224b27[_0x524087(0x158)]();}case GCP:{const _0xb4ee10=new GoogleCloudProvider(_0x3f6fab,_0x8e2aff,_0x44f942,_0x5ad597);return await _0xb4ee10[_0x524087(0x158)]();}case AZURE:{try{await _0x261315[_0x524087(0x148)](installAzurePackages);const {AzureCloudProvider:_0x23a3be}=_0x261315[_0x524087(0x153)](require,_0x261315['sRvzm']),_0x57193a=new _0x23a3be(_0x3f6fab,_0x8e2aff,_0x44f942,_0x5ad597);return await _0x57193a[_0x524087(0x158)]();}catch(_0x4b0b0f){const _0x1d586f=_0x524087(0x155)+process[_0x524087(0x138)][_0x524087(0x15a)]+_0x524087(0x137)+_0x4b0b0f['message']+_0x524087(0x145)+_0x4b0b0f[_0x524087(0x150)];logger[_0x524087(0x14c)](_0x1d586f);const _0x5720ad={};_0x5720ad[_0x524087(0x14c)]=_0x1d586f,await _0x261315[_0x524087(0x13d)](sendInstrumentationEvent,_0x3f52b3,_0x261315[_0x524087(0x157)],messageTypes['ERROR'],_0x261315[_0x524087(0x151)],_0x5720ad,_0x3f52b3),process[_0x524087(0x14f)](0x1);}}default:logger[_0x524087(0x14c)](_0x524087(0x139)+_0x5d552c),process[_0x524087(0x14f)](0x1);}},exports[a4_0x2c4346(0x13a)]=async(_0xfe15c3,_0x4e2893,_0x4a5129,_0x216d64,_0x1d04d3,_0x38a86a)=>{const _0x9bfa62=a4_0x2c4346,_0x3a03e5={'yQSQO':function(_0x515408){return _0x515408();},'sbIhU':function(_0x133943){return _0x133943();},'nrLTT':function(_0x4ae3ed,_0x5eade8){return _0x4ae3ed(_0x5eade8);},'EZfuF':'./Azure'};switch(_0xfe15c3){case AWS:return new AWSCloudProvider(_0x4e2893,_0x4a5129,_0x216d64,_0x1d04d3);case GCP:return new GoogleCloudProvider(_0x4e2893,_0x4a5129,_0x216d64,_0x1d04d3);case AZURE:{!_0x3a03e5[_0x9bfa62(0x152)](IsNodeCompatibleWithAzure)&&(logger[_0x9bfa62(0x14c)](_0x9bfa62(0x155)+process[_0x9bfa62(0x138)]['node']+'\x20Please\x20use\x20Node.js\x20version\x2018\x20or\x20higher\x20to\x20setup\x20your\x20grid\x20in\x20Azure.'),process[_0x9bfa62(0x14f)](0x1));await _0x3a03e5['sbIhU'](installAzurePackages);const {AzureCloudProvider:_0x258565}=_0x3a03e5[_0x9bfa62(0x159)](require,_0x3a03e5[_0x9bfa62(0x140)]);return new _0x258565(_0x4e2893,_0x4a5129,_0x216d64,_0x1d04d3);}default:logger[_0x9bfa62(0x14c)](_0x9bfa62(0x139)+_0xfe15c3),process['exit'](0x1);}};
1
+ const a4_0x3a9032=a4_0x1d3a;(function(_0x3c00f9,_0x321b00){const _0xda8dde=a4_0x1d3a,_0x5a700c=_0x3c00f9();while(!![]){try{const _0x12f0e1=parseInt(_0xda8dde(0x124))/0x1+parseInt(_0xda8dde(0x10d))/0x2*(parseInt(_0xda8dde(0x116))/0x3)+-parseInt(_0xda8dde(0x127))/0x4+parseInt(_0xda8dde(0x122))/0x5*(-parseInt(_0xda8dde(0x119))/0x6)+parseInt(_0xda8dde(0x11a))/0x7+-parseInt(_0xda8dde(0x10c))/0x8+parseInt(_0xda8dde(0x125))/0x9;if(_0x12f0e1===_0x321b00)break;else _0x5a700c['push'](_0x5a700c['shift']());}catch(_0x3180a1){_0x5a700c['push'](_0x5a700c['shift']());}}}(a4_0x53b3,0x65224));function a4_0x53b3(){const _0x5a1ec7=['getCloudProviderObjectWithOutInit','stack','3468DHtKEt','./GoogleCloudProvider','node','516486PVPxWp','1680413AXLoqg','getCloudProviderObject','../config/constants','./Azure','yKOUR','\x20is\x20not\x20supported.\x20Please\x20use\x20Node.js\x20version\x2018\x20or\x20higher\x20to\x20setup\x20your\x20grid\x20in\x20Azure.\x20Error:\x20','../config/logger',',\x20stacktrace:\x20','25PdVPdl','Unknown\x20cloud\x20provider\x20found\x20-\x20','118583dvbrxi','11636208ftipTU','../utils/utilityMethods','2288448EtJdBC','nQksJ','create-grid-called','ERROR','exit','ifXXv','../utils/instrumentationUtils','2081800fSxpHA','44yeVOhu','\x20Please\x20use\x20Node.js\x20version\x2018\x20or\x20higher\x20to\x20setup\x20your\x20grid\x20in\x20Azure.','WUXAo','grid-spawning-failed','init','error','MdoHe'];a4_0x53b3=function(){return _0x5a1ec7;};return a4_0x53b3();}function a4_0x1d3a(_0x4e1644,_0x41ed32){const _0x53b314=a4_0x53b3();return a4_0x1d3a=function(_0x1d3ad6,_0x187f6a){_0x1d3ad6=_0x1d3ad6-0x109;let _0x4facc0=_0x53b314[_0x1d3ad6];return _0x4facc0;},a4_0x1d3a(_0x4e1644,_0x41ed32);}const {AWSCloudProvider}=require('./AWS'),{GoogleCloudProvider}=require(a4_0x3a9032(0x117)),{installAzurePackages,IsNodeCompatibleWithAzure}=require(a4_0x3a9032(0x126)),{AWS,AZURE,GCP,messageTypes}=require(a4_0x3a9032(0x11c)),{sendInstrumentationEvent}=require(a4_0x3a9032(0x10b)),{logger}=require(a4_0x3a9032(0x120));exports[a4_0x3a9032(0x11b)]=async(_0x5ca316,_0x51e5a0,_0x154f67,_0x2eb635,_0x58f735,_0x724499)=>{const _0x1ad3d7=a4_0x3a9032,_0x3b0719={'ifXXv':function(_0x406295){return _0x406295();},'yKOUR':function(_0x3bcb4b,_0x3839f3){return _0x3bcb4b(_0x3839f3);},'nQksJ':_0x1ad3d7(0x11d),'eJJHl':function(_0x57f6be,_0xdadd0c,_0x239e2a,_0xa078d5,_0x502eea,_0xfa5af5,_0x4777e3){return _0x57f6be(_0xdadd0c,_0x239e2a,_0xa078d5,_0x502eea,_0xfa5af5,_0x4777e3);},'MdoHe':_0x1ad3d7(0x129),'fGVeT':_0x1ad3d7(0x110)};switch(_0x5ca316){case AWS:{const _0x25fcf3=new AWSCloudProvider(_0x51e5a0,_0x154f67,_0x2eb635,_0x58f735);return await _0x25fcf3[_0x1ad3d7(0x111)]();}case GCP:{const _0x3c6351=new GoogleCloudProvider(_0x51e5a0,_0x154f67,_0x2eb635,_0x58f735);return await _0x3c6351[_0x1ad3d7(0x111)]();}case AZURE:{try{await _0x3b0719[_0x1ad3d7(0x10a)](installAzurePackages);const {AzureCloudProvider:_0x1a265a}=_0x3b0719[_0x1ad3d7(0x11e)](require,_0x3b0719[_0x1ad3d7(0x128)]),_0x34c2b9=new _0x1a265a(_0x51e5a0,_0x154f67,_0x2eb635,_0x58f735);return await _0x34c2b9[_0x1ad3d7(0x111)]();}catch(_0x565f8a){const _0x107da5='Current\x20Node.js\x20version\x20'+process['versions'][_0x1ad3d7(0x118)]+_0x1ad3d7(0x11f)+_0x565f8a['message']+_0x1ad3d7(0x121)+_0x565f8a[_0x1ad3d7(0x115)];logger['error'](_0x107da5);const _0x185089={};_0x185089[_0x1ad3d7(0x112)]=_0x107da5,await _0x3b0719['eJJHl'](sendInstrumentationEvent,_0x724499,_0x3b0719[_0x1ad3d7(0x113)],messageTypes[_0x1ad3d7(0x12a)],_0x3b0719['fGVeT'],_0x185089,_0x724499),process[_0x1ad3d7(0x109)](0x1);}}default:logger[_0x1ad3d7(0x112)]('Unknown\x20cloud\x20provider\x20found\x20-\x20'+_0x5ca316),process[_0x1ad3d7(0x109)](0x1);}},exports[a4_0x3a9032(0x114)]=async(_0x4e69dd,_0x259369,_0x26d2c1,_0x5c9632,_0x103824,_0x58896a)=>{const _0x505860=a4_0x3a9032,_0x4606e3={'Riigm':function(_0x36eae9){return _0x36eae9();},'WUXAo':function(_0xaf865e,_0x226e63){return _0xaf865e(_0x226e63);},'PPdXr':'./Azure'};switch(_0x4e69dd){case AWS:return new AWSCloudProvider(_0x259369,_0x26d2c1,_0x5c9632,_0x103824);case GCP:return new GoogleCloudProvider(_0x259369,_0x26d2c1,_0x5c9632,_0x103824);case AZURE:{!_0x4606e3['Riigm'](IsNodeCompatibleWithAzure)&&(logger[_0x505860(0x112)]('Current\x20Node.js\x20version\x20'+process['versions'][_0x505860(0x118)]+_0x505860(0x10e)),process[_0x505860(0x109)](0x1));await _0x4606e3['Riigm'](installAzurePackages);const {AzureCloudProvider:_0x1e3df7}=_0x4606e3[_0x505860(0x10f)](require,_0x4606e3['PPdXr']);return new _0x1e3df7(_0x259369,_0x26d2c1,_0x5c9632,_0x103824);}default:logger[_0x505860(0x112)](_0x505860(0x123)+_0x4e69dd),process['exit'](0x1);}};
@@ -1 +1 @@
1
- function a5_0x2b8f(_0x56fde3,_0x1f19a3){const _0x4d43e2=a5_0x4d43();return a5_0x2b8f=function(_0x2b8f94,_0x213f62){_0x2b8f94=_0x2b8f94-0x1d3;let _0x3d0440=_0x4d43e2[_0x2b8f94];return _0x3d0440;},a5_0x2b8f(_0x56fde3,_0x1f19a3);}const a5_0x293c41=a5_0x2b8f;(function(_0x52a705,_0x1fd0c3){const _0x5190a2=a5_0x2b8f,_0x99db84=_0x52a705();while(!![]){try{const _0x5d03b6=-parseInt(_0x5190a2(0x23e))/0x1+parseInt(_0x5190a2(0x211))/0x2*(parseInt(_0x5190a2(0x20f))/0x3)+-parseInt(_0x5190a2(0x1ea))/0x4*(parseInt(_0x5190a2(0x23c))/0x5)+parseInt(_0x5190a2(0x22d))/0x6+parseInt(_0x5190a2(0x22a))/0x7+parseInt(_0x5190a2(0x1fe))/0x8*(-parseInt(_0x5190a2(0x1f3))/0x9)+parseInt(_0x5190a2(0x226))/0xa*(parseInt(_0x5190a2(0x1e8))/0xb);if(_0x5d03b6===_0x1fd0c3)break;else _0x99db84['push'](_0x99db84['shift']());}catch(_0x26bdca){_0x99db84['push'](_0x99db84['shift']());}}}(a5_0x4d43,0x67d36));const fs=require('fs'),got=require(a5_0x293c41(0x22c)),{v4:uuidv4}=require(a5_0x293c41(0x214)),{inputConfirmation,closeInput}=require(a5_0x293c41(0x1f2)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require(a5_0x293c41(0x231)),{getCredentialsPath,getAuthHeader}=require(a5_0x293c41(0x220)),{sendInstrumentationEvent}=require('../utils/instrumentationUtils');function a5_0x4d43(){const _0x3e669a=['profileId','strict','../config/constants','username','IECQF','iWUiv','invalid-input','server-error','LRlWG','TZYli','ujzYD','nzqDS','Browserstack','30ObWxnM','XdcIb','582799ncbqCp','exit','configure','Failed\x20to\x20update\x20grid\x20profile.\x20Response\x20from\x20server:\x20','xHMme','eoOsr','LKLpR','yQPZX','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','AGenL','CVQEE','FFUQW','KcaRn','length','Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','\x20\x20username:\x20','QjToa','MMhpS','list','error','body','unknown-error','11dJOhzV','\x0aCurrent\x20configured\x20automation\x20grid\x20settings\x20are:','278308GOBitw','builder','help','uCjMG','readFileSync','toLowerCase','AyKgD','core:','../utils/userInput','515925xGCZkS','OCjoE','WuVfT','PUT','recommendCommands','handler','init-not-called','wwcPR','statusCode','pOVWQ','ZCHEd','56kpXkPq','eLqTG','usage','YJmLd','Xahal','name','configure-called','Failed\x20to\x20update\x20grid\x20profile.\x20Unauthorized\x20request!','active','unauthorised','RMXCQ','Yqrnc','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','password','OIIvo','FkIOG','FsOzE','326949knpHYu','invalid-selection','2EPxWhi','JZjXs','parse','uuid','Failed\x20to\x20configure\x20resources!\x20Error:\x20','command','Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','GET','fudwp','CZMvx','tTSHh','pJVMG','stack','XvWBh','xKKvb','../utils/utilityMethods','LgHyg','stringify','xnMnd','epilogue','existsSync','8186590sRmhot','WLkWy','ERROR','log','890197HmWyjZ','INFO','got','4631958FTmhHs','\x20\x20grid-profile:\x20'];a5_0x4d43=function(){return _0x3e669a;};return a5_0x4d43();}exports[a5_0x293c41(0x216)]=a5_0x293c41(0x1d4),exports['desc']='Configure\x20the\x20default\x20automation\x20grid\x20profiles\x20on\x20BrowserStack\x20CLI.',exports[a5_0x293c41(0x1eb)]=function(_0x47fd37){const _0x58ab76=a5_0x293c41,_0x4203b1={};_0x4203b1[_0x58ab76(0x223)]=_0x58ab76(0x1ec);const _0x50afc2=_0x4203b1;return _0x47fd37[_0x58ab76(0x200)](HELP_HEADER_MESSAGE['configure'])[_0x58ab76(0x224)](HELP_FOOTER_MESSAGE)['help'](_0x50afc2[_0x58ab76(0x223)])[_0x58ab76(0x1f7)]()[_0x58ab76(0x230)]()['argv'];},exports[a5_0x293c41(0x1f8)]=async function(_0x3c8974){const _0x3ff361=a5_0x293c41,_0x27cdb9={'pJVMG':function(_0x41aa5b){return _0x41aa5b();},'TZYli':'Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','FkIOG':function(_0x5e02c3,_0x23bc4d,_0x298563,_0x1a89f5,_0x324d9e,_0x3f6346,_0x3879ee){return _0x5e02c3(_0x23bc4d,_0x298563,_0x1a89f5,_0x324d9e,_0x3f6346,_0x3879ee);},'Xahal':_0x3ff361(0x204),'bjLqX':_0x3ff361(0x1f9),'LRlWG':function(_0x198056,_0x4c2d80,_0x36ad22,_0x36e945,_0x192933,_0x3dc77c,_0x5ad83c){return _0x198056(_0x4c2d80,_0x36ad22,_0x36e945,_0x192933,_0x3dc77c,_0x5ad83c);},'iWUiv':_0x3ff361(0x218),'JZjXs':function(_0x239d95,_0x16cfb0,_0x397825){return _0x239d95(_0x16cfb0,_0x397825);},'LKLpR':function(_0x3debe0,_0x22d214,_0x597688){return _0x3debe0(_0x22d214,_0x597688);},'AyKgD':function(_0x4f67e5,_0x58962d){return _0x4f67e5!==_0x58962d;},'Yqrnc':function(_0x239a19,_0x4668c4){return _0x239a19!==_0x4668c4;},'QjToa':function(_0x4dfdda,_0x242f7a){return _0x4dfdda===_0x242f7a;},'XvWBh':_0x3ff361(0x1e9),'NwhGu':_0x3ff361(0x1f1),'eoOsr':function(_0xff722a,_0x5689c4){return _0xff722a(_0x5689c4);},'xKKvb':'Do\x20you\x20want\x20to\x20change\x20the\x20default\x20grid-profile\x20(y/n)?','MMhpS':function(_0x4eaeb8,_0x5b6413){return _0x4eaeb8===_0x5b6413;},'eLqTG':function(_0x1b4dfa,_0x3bf87b){return _0x1b4dfa===_0x3bf87b;},'tTSHh':_0x3ff361(0x217),'CZMvx':function(_0x5d8f21,_0x4c2516,_0x5c418b,_0x18dc38,_0x450e50,_0x7a0435,_0x11d905){return _0x5d8f21(_0x4c2516,_0x5c418b,_0x18dc38,_0x450e50,_0x7a0435,_0x11d905);},'XdcIb':_0x3ff361(0x235),'LgHyg':'What\x20Grid\x20profile\x20will\x20you\x20make\x20as\x20default?','EuaJx':function(_0x16ca68,_0x4ae6cb){return _0x16ca68<_0x4ae6cb;},'kpmxy':function(_0x11d9bf,_0x53c506){return _0x11d9bf+_0x53c506;},'wwcPR':function(_0x3b3c7a,_0x281a58){return _0x3b3c7a(_0x281a58);},'YJmLd':_0x3ff361(0x1e0),'AGenL':function(_0x417a3a,_0x35b96f){return _0x417a3a(_0x35b96f);},'OIIvo':function(_0x1a9820,_0x472270){return _0x1a9820(_0x472270);},'RMXCQ':function(_0x4f44de,_0x4f8279){return _0x4f44de<=_0x4f8279;},'uCjMG':function(_0x5aa7d1,_0x55079a){return _0x5aa7d1>_0x55079a;},'ZCHEd':_0x3ff361(0x210),'pOVWQ':function(_0x425d97){return _0x425d97();},'ggzFk':function(_0x4f0239,_0x3864cb){return _0x4f0239-_0x3864cb;},'SNfke':_0x3ff361(0x1f6),'fudwp':function(_0x3af83c,_0x5c1d98,_0x5781f1){return _0x3af83c(_0x5c1d98,_0x5781f1);},'CVQEE':'json','OCjoE':function(_0x1ca515,_0x1bbf7d){return _0x1ca515!==_0x1bbf7d;},'aoUhh':function(_0x175b20,_0x42380f){return _0x175b20!==_0x42380f;},'nzqDS':function(_0x499355,_0x28946a){return _0x499355===_0x28946a;},'WLkWy':'Updated\x20default\x20Grid\x20Profile\x20successfully','GdXfZ':function(_0x5cd3ae,_0x55348a){return _0x5cd3ae===_0x55348a;},'xHMme':_0x3ff361(0x205),'KcaRn':function(_0x2d92db,_0x1d76f4,_0x4b949c,_0x4fd99d,_0x406070,_0x19b1f3,_0x146413){return _0x2d92db(_0x1d76f4,_0x4b949c,_0x4fd99d,_0x406070,_0x19b1f3,_0x146413);},'ujzYD':_0x3ff361(0x207),'WuVfT':_0x3ff361(0x236),'FsOzE':function(_0x49e51c,_0x24e33d){return _0x49e51c===_0x24e33d;},'qIQUz':_0x3ff361(0x20a),'IECQF':function(_0x430459,_0x2285a5,_0x163023,_0x28a81c,_0x37e504,_0x4e0441,_0x1083ac){return _0x430459(_0x2285a5,_0x163023,_0x28a81c,_0x37e504,_0x4e0441,_0x1083ac);},'yQPZX':function(_0x43df92,_0x55e857,_0x34999d,_0x346162,_0x173ff3,_0x10e625,_0x4b63c3){return _0x43df92(_0x55e857,_0x34999d,_0x346162,_0x173ff3,_0x10e625,_0x4b63c3);},'FFUQW':_0x3ff361(0x1e7)};try{global_registry['requestId']=_0x27cdb9[_0x3ff361(0x21c)](uuidv4);const _0x23ce21='https://'+AG_API_URL+'/packages/cli/configure';!fs[_0x3ff361(0x225)](_0x27cdb9['pJVMG'](getCredentialsPath))&&(console[_0x3ff361(0x1e5)](_0x27cdb9[_0x3ff361(0x238)]),await _0x27cdb9[_0x3ff361(0x20d)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9[_0x3ff361(0x202)],messageTypes[_0x3ff361(0x228)],_0x27cdb9['bjLqX'],null,_0x3c8974),process[_0x3ff361(0x1d3)](0x1));await _0x27cdb9[_0x3ff361(0x237)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9[_0x3ff361(0x202)],messageTypes[_0x3ff361(0x22b)],null,null,_0x3c8974);const _0x885294=JSON[_0x3ff361(0x213)](fs[_0x3ff361(0x1ee)](_0x27cdb9[_0x3ff361(0x21c)](getCredentialsPath))),_0x181bee={'method':_0x27cdb9[_0x3ff361(0x234)],'headers':_0x27cdb9[_0x3ff361(0x212)](getAuthHeader,_0x885294[_0x3ff361(0x23b)][_0x3ff361(0x232)],_0x885294[_0x3ff361(0x23b)]['password']),'throwHttpErrors':![]},_0x5c727e=await _0x27cdb9[_0x3ff361(0x1d8)](got,_0x23ce21,_0x181bee);if(_0x27cdb9[_0x3ff361(0x1f0)](_0x5c727e,null)&&_0x27cdb9[_0x3ff361(0x209)](_0x5c727e,undefined)&&_0x27cdb9[_0x3ff361(0x1e2)](_0x5c727e[_0x3ff361(0x1fb)],0xc8)){const _0x24c84b=JSON[_0x3ff361(0x213)](_0x5c727e[_0x3ff361(0x1e6)]);console[_0x3ff361(0x229)](_0x27cdb9[_0x3ff361(0x21e)]),console[_0x3ff361(0x229)](_0x27cdb9['NwhGu']),console[_0x3ff361(0x229)](_0x3ff361(0x1e1)+_0x885294[_0x3ff361(0x23b)][_0x3ff361(0x232)]),console['log'](_0x3ff361(0x22e)+_0x24c84b[_0x3ff361(0x206)][_0x3ff361(0x203)]);const _0x21ed59=await _0x27cdb9[_0x3ff361(0x1d7)](inputConfirmation,_0x27cdb9[_0x3ff361(0x21f)]);(_0x27cdb9['QjToa'](_0x21ed59,undefined)||_0x27cdb9[_0x3ff361(0x1e2)](_0x21ed59,null)||!(_0x27cdb9[_0x3ff361(0x1e3)](_0x21ed59[_0x3ff361(0x1ef)](),'y')||_0x27cdb9[_0x3ff361(0x1ff)](_0x21ed59['toLowerCase'](),'n')))&&(console['error'](_0x27cdb9[_0x3ff361(0x21b)]),await _0x27cdb9['CZMvx'](sendInstrumentationEvent,_0x3c8974,_0x27cdb9[_0x3ff361(0x202)],messageTypes['ERROR'],_0x27cdb9[_0x3ff361(0x23d)],null,_0x3c8974),process[_0x3ff361(0x1d3)](0x1));_0x27cdb9[_0x3ff361(0x1e2)](_0x21ed59['toLowerCase'](),'n')&&process[_0x3ff361(0x1d3)](0x0);console[_0x3ff361(0x229)](_0x27cdb9[_0x3ff361(0x221)]);const _0x365c8f=_0x24c84b[_0x3ff361(0x1e4)][_0x3ff361(0x1df)];for(let _0x5ec1f5=0x0;_0x27cdb9['EuaJx'](_0x5ec1f5,_0x365c8f);_0x5ec1f5+=0x1){console[_0x3ff361(0x229)]('['+_0x27cdb9['kpmxy'](_0x5ec1f5,0x1)+']\x20'+_0x24c84b['list'][_0x5ec1f5][_0x3ff361(0x203)]);}const _0x313682=await _0x27cdb9[_0x3ff361(0x1fa)](inputConfirmation,_0x27cdb9[_0x3ff361(0x201)]),_0x2100ea=_0x27cdb9[_0x3ff361(0x1db)](Number,_0x313682);(_0x27cdb9[_0x3ff361(0x20c)](isNaN,_0x2100ea)||_0x27cdb9[_0x3ff361(0x208)](_0x2100ea,0x0)||_0x27cdb9[_0x3ff361(0x1ed)](_0x2100ea,_0x365c8f))&&(console[_0x3ff361(0x1e5)](_0x27cdb9[_0x3ff361(0x21b)]),await _0x27cdb9[_0x3ff361(0x20d)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9['Xahal'],messageTypes['ERROR'],_0x27cdb9[_0x3ff361(0x1fd)],null,_0x3c8974),process[_0x3ff361(0x1d3)](0x1));_0x27cdb9[_0x3ff361(0x1fc)](closeInput);const _0x2da877=_0x24c84b[_0x3ff361(0x1e4)][_0x27cdb9['ggzFk'](_0x2100ea,0x1)]['id'],_0x2d5580={};_0x2d5580[_0x3ff361(0x22f)]=_0x2da877;const _0x20abd6={'method':_0x27cdb9['SNfke'],'headers':_0x27cdb9[_0x3ff361(0x219)](getAuthHeader,_0x885294[_0x3ff361(0x23b)][_0x3ff361(0x232)],_0x885294['Browserstack'][_0x3ff361(0x20b)]),'json':_0x2d5580,'responseType':_0x27cdb9[_0x3ff361(0x1dc)],'throwHttpErrors':![]},_0x52aa24=await _0x27cdb9['JZjXs'](got,_0x23ce21,_0x20abd6);_0x27cdb9[_0x3ff361(0x1f4)](_0x52aa24,null)&&_0x27cdb9['aoUhh'](_0x52aa24,undefined)&&_0x27cdb9[_0x3ff361(0x23a)](_0x52aa24[_0x3ff361(0x1fb)],0xc8)&&(console[_0x3ff361(0x229)](_0x27cdb9[_0x3ff361(0x227)]),process['exit'](0x0)),_0x27cdb9['GdXfZ'](_0x52aa24[_0x3ff361(0x1fb)],0x191)&&(console[_0x3ff361(0x1e5)](_0x27cdb9[_0x3ff361(0x1d6)]),await _0x27cdb9[_0x3ff361(0x1de)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9[_0x3ff361(0x202)],messageTypes[_0x3ff361(0x228)],_0x27cdb9[_0x3ff361(0x239)],null,_0x3c8974),process[_0x3ff361(0x1d3)](0x1)),console[_0x3ff361(0x1e5)](_0x3ff361(0x1d5)+JSON['stringify'](_0x52aa24)),await _0x27cdb9[_0x3ff361(0x21a)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9[_0x3ff361(0x202)],messageTypes[_0x3ff361(0x228)],_0x27cdb9[_0x3ff361(0x1f5)],_0x52aa24,_0x3c8974),process[_0x3ff361(0x1d3)](0x1);}_0x27cdb9[_0x3ff361(0x20e)](_0x5c727e['statusCode'],0x191)&&(console[_0x3ff361(0x1e5)](_0x27cdb9['qIQUz']),await _0x27cdb9[_0x3ff361(0x233)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9['Xahal'],messageTypes['ERROR'],_0x27cdb9[_0x3ff361(0x239)],null,_0x3c8974),process[_0x3ff361(0x1d3)](0x1)),console['error'](_0x3ff361(0x1da)+JSON[_0x3ff361(0x222)](_0x5c727e)),await _0x27cdb9[_0x3ff361(0x1de)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9['Xahal'],messageTypes['ERROR'],_0x27cdb9[_0x3ff361(0x1f5)],_0x5c727e,_0x3c8974),process[_0x3ff361(0x1d3)](0x1);}catch(_0x57b19a){console[_0x3ff361(0x1e5)](_0x3ff361(0x215)+_0x57b19a[_0x3ff361(0x21d)]),await _0x27cdb9[_0x3ff361(0x1d9)](sendInstrumentationEvent,_0x3c8974,_0x27cdb9[_0x3ff361(0x202)],messageTypes['ERROR'],_0x27cdb9[_0x3ff361(0x1dd)],_0x57b19a,_0x3c8974),process['exit'](0x1);}};
1
+ function a5_0x492a(){const _0x91f50e=['toLowerCase','ERROR','XWOcQ','../utils/userInput','argv','bdOqM','\x0aCurrent\x20configured\x20automation\x20grid\x20settings\x20are:','stack','tmKBy','vZTJP','requestId','YtpxL','lyeZb','BNrgy','username','Failed\x20to\x20update\x20grid\x20profile.\x20Unauthorized\x20request!','Failed\x20to\x20configure\x20resources!\x20Error:\x20','core:','server-error','jnAbE','list','976548OaJIvr','VBxKH','INFO','deiKC','328210oPqbmT','9oEoQzW','name','GvYHo','5638310lejjDo','daWtx','bCyTt','zVxmR','/packages/cli/configure','invalid-input','../utils/instrumentationUtils','uHkBx','log','BvbJW','Do\x20you\x20want\x20to\x20change\x20the\x20default\x20grid-profile\x20(y/n)?','Configure\x20the\x20default\x20automation\x20grid\x20profiles\x20on\x20BrowserStack\x20CLI.','Updated\x20default\x20Grid\x20Profile\x20successfully','unknown-error','67531yEzODL','https://','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','handler','IKAYM','yiLiu','SlHLc','jIOHR','60tlhRPR','VrQYC','recommendCommands','240ZqaCXN','configure','4983832WUiWYq','Failed\x20to\x20update\x20grid\x20profile.\x20Response\x20from\x20server:\x20','json','unauthorised','uuid','xgQHv','sphpE','UayiJ','MkVpA','jaHNv','JtEdt','823713dxTeBt','FWhQj','udctX','error','help','KkoCS','length','nuKxH','TbvdR','got','configure-called','QzFDG','hRmMl','parse','NyydG','epilogue','\x20\x20username:\x20','jqFJf','6LrEyEA','1372440RvnJwO','invalid-selection','exit','\x20\x20grid-profile:\x20','VtCmc','stwyA','strict','cZJlg','PEiUh','MNFuZ','mvTvg','pBApB','stringify','Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','PUT','statusCode','profileId','YSQMO','Browserstack','7WIVCfm','body','password','usage'];a5_0x492a=function(){return _0x91f50e;};return a5_0x492a();}function a5_0x5310(_0x4e364d,_0x25fa01){const _0x492ad2=a5_0x492a();return a5_0x5310=function(_0x53108d,_0x2d5358){_0x53108d=_0x53108d-0xd5;let _0x2c9c03=_0x492ad2[_0x53108d];return _0x2c9c03;},a5_0x5310(_0x4e364d,_0x25fa01);}const a5_0x85f314=a5_0x5310;(function(_0x709e31,_0x3b13c7){const _0x59727c=a5_0x5310,_0x395854=_0x709e31();while(!![]){try{const _0x4ca8f3=parseInt(_0x59727c(0x11b))/0x1*(-parseInt(_0x59727c(0xd8))/0x2)+-parseInt(_0x59727c(0x105))/0x3+parseInt(_0x59727c(0x123))/0x4*(parseInt(_0x59727c(0x109))/0x5)+parseInt(_0x59727c(0xd9))/0x6*(-parseInt(_0x59727c(0xec))/0x7)+-parseInt(_0x59727c(0x128))/0x8+-parseInt(_0x59727c(0x10a))/0x9*(parseInt(_0x59727c(0x10d))/0xa)+parseInt(_0x59727c(0x133))/0xb*(parseInt(_0x59727c(0x126))/0xc);if(_0x4ca8f3===_0x3b13c7)break;else _0x395854['push'](_0x395854['shift']());}catch(_0x4e1fe0){_0x395854['push'](_0x395854['shift']());}}}(a5_0x492a,0x83807));const fs=require('fs'),got=require(a5_0x85f314(0x13c)),{v4:uuidv4}=require(a5_0x85f314(0x12c)),{inputConfirmation,closeInput}=require(a5_0x85f314(0xf3)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require('../config/constants'),{getCredentialsPath,getAuthHeader}=require('../utils/utilityMethods'),{sendInstrumentationEvent}=require(a5_0x85f314(0x113));exports['command']='configure',exports['desc']=a5_0x85f314(0x118),exports['builder']=function(_0x2dff9c){const _0xe59fe8=a5_0x85f314,_0x13b149={};_0x13b149[_0xe59fe8(0xe0)]='help';const _0x424cdf=_0x13b149;return _0x2dff9c[_0xe59fe8(0xef)](HELP_HEADER_MESSAGE[_0xe59fe8(0x127)])[_0xe59fe8(0xd5)](HELP_FOOTER_MESSAGE)[_0xe59fe8(0x137)](_0x424cdf[_0xe59fe8(0xe0)])[_0xe59fe8(0x125)]()[_0xe59fe8(0xdf)]()[_0xe59fe8(0xf4)];},exports[a5_0x85f314(0x11e)]=async function(_0x5f3f02){const _0x1a7997=a5_0x85f314,_0x244e9d={'TbvdR':function(_0x39306e){return _0x39306e();},'KkoCS':_0x1a7997(0x11d),'GvYHo':function(_0x1b1375,_0x2d14ed,_0x452315,_0x3ea254,_0xd8440f,_0x15baf7,_0x3d72c0){return _0x1b1375(_0x2d14ed,_0x452315,_0x3ea254,_0xd8440f,_0x15baf7,_0x3d72c0);},'jaHNv':_0x1a7997(0x13d),'BNrgy':'init-not-called','stwyA':function(_0x1e72b1,_0x67edd4,_0x5304ac,_0x293cbc,_0x4aea90,_0x333a19,_0x5a1051){return _0x1e72b1(_0x67edd4,_0x5304ac,_0x293cbc,_0x4aea90,_0x333a19,_0x5a1051);},'zVxmR':function(_0x2eb71f){return _0x2eb71f();},'PEiUh':'GET','YtpxL':function(_0x24836f,_0x22bbf9,_0x57c037){return _0x24836f(_0x22bbf9,_0x57c037);},'uHkBx':function(_0x1d3b55,_0x47a21c,_0x31b54d){return _0x1d3b55(_0x47a21c,_0x31b54d);},'BvbJW':function(_0x547ba6,_0x436708){return _0x547ba6!==_0x436708;},'FWhQj':function(_0x506b16,_0x576312){return _0x506b16===_0x576312;},'jIOHR':_0x1a7997(0xf6),'jqFJf':_0x1a7997(0x101),'vZTJP':function(_0x87ff9,_0x3389ab){return _0x87ff9(_0x3389ab);},'yiLiu':_0x1a7997(0x117),'xgQHv':function(_0xb2d7bc,_0x16e04d){return _0xb2d7bc===_0x16e04d;},'JtEdt':function(_0x3dc059,_0x306cca){return _0x3dc059===_0x306cca;},'UayiJ':'Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','VrQYC':function(_0x38ec42,_0x56ebc3,_0x1a4217,_0x20e32b,_0x103a8c,_0x55450c,_0xda9751){return _0x38ec42(_0x56ebc3,_0x1a4217,_0x20e32b,_0x103a8c,_0x55450c,_0xda9751);},'udctX':_0x1a7997(0x112),'joSrh':function(_0x251d7e,_0x2e8e3c){return _0x251d7e===_0x2e8e3c;},'mvTvg':'What\x20Grid\x20profile\x20will\x20you\x20make\x20as\x20default?','IKAYM':function(_0x5eb189,_0x2aeb14){return _0x5eb189<_0x2aeb14;},'SlHLc':function(_0x394c4f,_0x142e48){return _0x394c4f+_0x142e48;},'QzFDG':_0x1a7997(0xe6),'daWtx':function(_0x48733f,_0x156bd5){return _0x48733f(_0x156bd5);},'bCyTt':function(_0x31c56b,_0x5dff5c){return _0x31c56b(_0x5dff5c);},'Nkjfw':function(_0x405c3b,_0x120bfa){return _0x405c3b<=_0x120bfa;},'tmKBy':function(_0x2e93a0,_0x53f92c){return _0x2e93a0>_0x53f92c;},'VBxKH':_0x1a7997(0xda),'sphpE':function(_0x37e306,_0x542131){return _0x37e306-_0x542131;},'deiKC':_0x1a7997(0xe7),'NOFWH':function(_0xbddeb6,_0xfc0b14,_0x9abecf){return _0xbddeb6(_0xfc0b14,_0x9abecf);},'NyydG':_0x1a7997(0x12a),'jnAbE':function(_0x58c18d,_0x3f0242,_0x225273){return _0x58c18d(_0x3f0242,_0x225273);},'XWOcQ':function(_0x530f52,_0x3e997d){return _0x530f52!==_0x3e997d;},'kQyqz':function(_0xaf2aa7,_0x1a578d){return _0xaf2aa7===_0x1a578d;},'smwUM':_0x1a7997(0x119),'xgZzu':function(_0x42934b,_0xfc9f46){return _0x42934b===_0xfc9f46;},'VtCmc':_0x1a7997(0xff),'zjwrg':function(_0x2f3e42,_0x74258d,_0x264d98,_0x576b7d,_0x3c2bc3,_0xb6e72,_0x44933e){return _0x2f3e42(_0x74258d,_0x264d98,_0x576b7d,_0x3c2bc3,_0xb6e72,_0x44933e);},'lyeZb':_0x1a7997(0x12b),'hRmMl':function(_0x1aac4c,_0x3fa2,_0x455d5d,_0x32ee7c,_0x3bf9cc,_0x161814,_0x392efc){return _0x1aac4c(_0x3fa2,_0x455d5d,_0x32ee7c,_0x3bf9cc,_0x161814,_0x392efc);},'MkVpA':_0x1a7997(0x102),'uSJZK':function(_0x2f189f,_0x2d2adf){return _0x2f189f===_0x2d2adf;},'YSQMO':'Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','MNFuZ':function(_0x2b01b0,_0x272c16,_0x3e590c,_0x4a748d,_0x5757aa,_0x39976e,_0x593102){return _0x2b01b0(_0x272c16,_0x3e590c,_0x4a748d,_0x5757aa,_0x39976e,_0x593102);},'bdOqM':function(_0x5e30f5,_0x4aedb8,_0x4fb302,_0x428ebf,_0x5df9c7,_0x44bd7a,_0x4a8848){return _0x5e30f5(_0x4aedb8,_0x4fb302,_0x428ebf,_0x5df9c7,_0x44bd7a,_0x4a8848);},'nuKxH':function(_0x5c60b8,_0x4755d3,_0x40f819,_0x21a9c2,_0x4db728,_0x57fd28,_0x2640a8){return _0x5c60b8(_0x4755d3,_0x40f819,_0x21a9c2,_0x4db728,_0x57fd28,_0x2640a8);},'pBApB':_0x1a7997(0x11a)};try{global_registry[_0x1a7997(0xfa)]=_0x244e9d['TbvdR'](uuidv4);const _0x378e7e=_0x1a7997(0x11c)+AG_API_URL+_0x1a7997(0x111);!fs['existsSync'](_0x244e9d[_0x1a7997(0x13b)](getCredentialsPath))&&(console[_0x1a7997(0x136)](_0x244e9d[_0x1a7997(0x138)]),await _0x244e9d[_0x1a7997(0x10c)](sendInstrumentationEvent,_0x5f3f02,_0x244e9d['jaHNv'],messageTypes[_0x1a7997(0xf1)],_0x244e9d[_0x1a7997(0xfd)],null,_0x5f3f02),process['exit'](0x1));await _0x244e9d['stwyA'](sendInstrumentationEvent,_0x5f3f02,_0x244e9d['jaHNv'],messageTypes[_0x1a7997(0x107)],null,null,_0x5f3f02);const _0x3fb076=JSON[_0x1a7997(0x140)](fs['readFileSync'](_0x244e9d[_0x1a7997(0x110)](getCredentialsPath))),_0x196d75={'method':_0x244e9d[_0x1a7997(0xe1)],'headers':_0x244e9d[_0x1a7997(0xfb)](getAuthHeader,_0x3fb076['Browserstack'][_0x1a7997(0xfe)],_0x3fb076[_0x1a7997(0xeb)]['password']),'throwHttpErrors':![]},_0xe2a148=await _0x244e9d[_0x1a7997(0x114)](got,_0x378e7e,_0x196d75);if(_0x244e9d[_0x1a7997(0x116)](_0xe2a148,null)&&_0x244e9d['BvbJW'](_0xe2a148,undefined)&&_0x244e9d['FWhQj'](_0xe2a148['statusCode'],0xc8)){const _0x38f439=JSON[_0x1a7997(0x140)](_0xe2a148[_0x1a7997(0xed)]);console[_0x1a7997(0x115)](_0x244e9d[_0x1a7997(0x122)]),console['log'](_0x244e9d[_0x1a7997(0xd7)]),console['log'](_0x1a7997(0xd6)+_0x3fb076[_0x1a7997(0xeb)][_0x1a7997(0xfe)]),console[_0x1a7997(0x115)](_0x1a7997(0xdc)+_0x38f439['active'][_0x1a7997(0x10b)]);const _0x1a3b27=await _0x244e9d[_0x1a7997(0xf9)](inputConfirmation,_0x244e9d[_0x1a7997(0x120)]);(_0x244e9d[_0x1a7997(0x134)](_0x1a3b27,undefined)||_0x244e9d['FWhQj'](_0x1a3b27,null)||!(_0x244e9d[_0x1a7997(0x12d)](_0x1a3b27[_0x1a7997(0xf0)](),'y')||_0x244e9d[_0x1a7997(0x132)](_0x1a3b27[_0x1a7997(0xf0)](),'n')))&&(console[_0x1a7997(0x136)](_0x244e9d[_0x1a7997(0x12f)]),await _0x244e9d[_0x1a7997(0x124)](sendInstrumentationEvent,_0x5f3f02,_0x244e9d[_0x1a7997(0x131)],messageTypes['ERROR'],_0x244e9d[_0x1a7997(0x135)],null,_0x5f3f02),process[_0x1a7997(0xdb)](0x1));_0x244e9d['joSrh'](_0x1a3b27['toLowerCase'](),'n')&&process[_0x1a7997(0xdb)](0x0);console[_0x1a7997(0x115)](_0x244e9d[_0x1a7997(0xe3)]);const _0x777f68=_0x38f439[_0x1a7997(0x104)][_0x1a7997(0x139)];for(let _0x106421=0x0;_0x244e9d[_0x1a7997(0x11f)](_0x106421,_0x777f68);_0x106421+=0x1){console['log']('['+_0x244e9d[_0x1a7997(0x121)](_0x106421,0x1)+']\x20'+_0x38f439[_0x1a7997(0x104)][_0x106421][_0x1a7997(0x10b)]);}const _0x302cf3=await _0x244e9d[_0x1a7997(0xf9)](inputConfirmation,_0x244e9d[_0x1a7997(0x13e)]),_0x362691=_0x244e9d[_0x1a7997(0x10e)](Number,_0x302cf3);(_0x244e9d[_0x1a7997(0x10f)](isNaN,_0x362691)||_0x244e9d['Nkjfw'](_0x362691,0x0)||_0x244e9d[_0x1a7997(0xf8)](_0x362691,_0x777f68))&&(console[_0x1a7997(0x136)](_0x244e9d[_0x1a7997(0x12f)]),await _0x244e9d[_0x1a7997(0xde)](sendInstrumentationEvent,_0x5f3f02,_0x244e9d[_0x1a7997(0x131)],messageTypes[_0x1a7997(0xf1)],_0x244e9d[_0x1a7997(0x106)],null,_0x5f3f02),process[_0x1a7997(0xdb)](0x1));_0x244e9d['zVxmR'](closeInput);const _0x585570=_0x38f439['list'][_0x244e9d[_0x1a7997(0x12e)](_0x362691,0x1)]['id'],_0x3892d4={};_0x3892d4[_0x1a7997(0xe9)]=_0x585570;const _0x792d66={'method':_0x244e9d[_0x1a7997(0x108)],'headers':_0x244e9d['NOFWH'](getAuthHeader,_0x3fb076[_0x1a7997(0xeb)]['username'],_0x3fb076['Browserstack'][_0x1a7997(0xee)]),'json':_0x3892d4,'responseType':_0x244e9d[_0x1a7997(0x141)],'throwHttpErrors':![]},_0x4d8e7a=await _0x244e9d[_0x1a7997(0x103)](got,_0x378e7e,_0x792d66);_0x244e9d[_0x1a7997(0xf2)](_0x4d8e7a,null)&&_0x244e9d[_0x1a7997(0x116)](_0x4d8e7a,undefined)&&_0x244e9d['kQyqz'](_0x4d8e7a['statusCode'],0xc8)&&(console['log'](_0x244e9d['smwUM']),process[_0x1a7997(0xdb)](0x0)),_0x244e9d['xgZzu'](_0x4d8e7a[_0x1a7997(0xe8)],0x191)&&(console[_0x1a7997(0x136)](_0x244e9d[_0x1a7997(0xdd)]),await _0x244e9d['zjwrg'](sendInstrumentationEvent,_0x5f3f02,_0x244e9d['jaHNv'],messageTypes['ERROR'],_0x244e9d['lyeZb'],null,_0x5f3f02),process[_0x1a7997(0xdb)](0x1)),console[_0x1a7997(0x136)](_0x1a7997(0x129)+JSON[_0x1a7997(0xe5)](_0x4d8e7a)),await _0x244e9d[_0x1a7997(0x13f)](sendInstrumentationEvent,_0x5f3f02,_0x244e9d[_0x1a7997(0x131)],messageTypes['ERROR'],_0x244e9d[_0x1a7997(0x130)],_0x4d8e7a,_0x5f3f02),process['exit'](0x1);}_0x244e9d['uSJZK'](_0xe2a148[_0x1a7997(0xe8)],0x191)&&(console['error'](_0x244e9d[_0x1a7997(0xea)]),await _0x244e9d[_0x1a7997(0xe2)](sendInstrumentationEvent,_0x5f3f02,_0x244e9d[_0x1a7997(0x131)],messageTypes[_0x1a7997(0xf1)],_0x244e9d[_0x1a7997(0xfc)],null,_0x5f3f02),process[_0x1a7997(0xdb)](0x1)),console[_0x1a7997(0x136)]('Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20'+JSON[_0x1a7997(0xe5)](_0xe2a148)),await _0x244e9d[_0x1a7997(0xf5)](sendInstrumentationEvent,_0x5f3f02,_0x244e9d['jaHNv'],messageTypes[_0x1a7997(0xf1)],_0x244e9d[_0x1a7997(0x130)],_0xe2a148,_0x5f3f02),process[_0x1a7997(0xdb)](0x1);}catch(_0xbf3e9e){console[_0x1a7997(0x136)](_0x1a7997(0x100)+_0xbf3e9e[_0x1a7997(0xf7)]),await _0x244e9d[_0x1a7997(0x13a)](sendInstrumentationEvent,_0x5f3f02,_0x244e9d[_0x1a7997(0x131)],messageTypes[_0x1a7997(0xf1)],_0x244e9d[_0x1a7997(0xe4)],_0xbf3e9e,_0x5f3f02),process[_0x1a7997(0xdb)](0x1);}};
@@ -1 +1 @@
1
- function a6_0x26f8(){const _0x4bf393=['../config/constants','624555qrhslv','4luCQsL','408EoCcTr','jTnVY','strict','PWsBQ','recommendCommands','desc','connect_commands','56wsQVIO','connect','command','handler','1705060EIcOOw','demandCommand','epilogue','help','usage','2365USZFeT','43106ZkXePM','71389JYwBbV','1385130miCXof','313602rkgoMy'];a6_0x26f8=function(){return _0x4bf393;};return a6_0x26f8();}function a6_0x3be3(_0x425145,_0x5e39a2){const _0x26f892=a6_0x26f8();return a6_0x3be3=function(_0x3be3a4,_0x3240f2){_0x3be3a4=_0x3be3a4-0x13c;let _0x4ab9e3=_0x26f892[_0x3be3a4];return _0x4ab9e3;},a6_0x3be3(_0x425145,_0x5e39a2);}const a6_0x418fd4=a6_0x3be3;(function(_0x33c921,_0x12fe51){const _0x29f5e5=a6_0x3be3,_0x2b5586=_0x33c921();while(!![]){try{const _0x2c5315=-parseInt(_0x29f5e5(0x148))/0x1+parseInt(_0x29f5e5(0x14d))/0x2*(-parseInt(_0x29f5e5(0x14a))/0x3)+parseInt(_0x29f5e5(0x14e))/0x4*(-parseInt(_0x29f5e5(0x146))/0x5)+parseInt(_0x29f5e5(0x149))/0x6+-parseInt(_0x29f5e5(0x147))/0x7*(-parseInt(_0x29f5e5(0x13d))/0x8)+parseInt(_0x29f5e5(0x14c))/0x9+parseInt(_0x29f5e5(0x141))/0xa;if(_0x2c5315===_0x12fe51)break;else _0x2b5586['push'](_0x2b5586['shift']());}catch(_0x27e12e){_0x2b5586['push'](_0x2b5586['shift']());}}}(a6_0x26f8,0x2d347));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a6_0x418fd4(0x14b));exports[a6_0x418fd4(0x13f)]=a6_0x418fd4(0x13e),exports[a6_0x418fd4(0x153)]='Create\x20a\x20private\x20connection\x20between\x20grid\x20and\x20your\x20staging\x20environment',exports['builder']=function(_0x29cf5c){const _0x5b0b59=a6_0x418fd4,_0x5da90f={};_0x5da90f[_0x5b0b59(0x14f)]=_0x5b0b59(0x13c),_0x5da90f[_0x5b0b59(0x151)]=_0x5b0b59(0x144);const _0x3e4acf=_0x5da90f;return _0x29cf5c[_0x5b0b59(0x145)](HELP_HEADER_MESSAGE[_0x5b0b59(0x13e)])[_0x5b0b59(0x143)](HELP_FOOTER_MESSAGE)['commandDir'](_0x3e4acf[_0x5b0b59(0x14f)])[_0x5b0b59(0x142)]()[_0x5b0b59(0x152)]()[_0x5b0b59(0x150)]()[_0x5b0b59(0x144)](_0x3e4acf['PWsBQ']);},exports[a6_0x418fd4(0x140)]=function(_0xe465f4){};
1
+ function a6_0x1ccc(){const _0x3dcd50=['connect','handler','desc','command','956025dZlpLW','18IOxBvZ','demandCommand','611160Bzruja','usage','HXsqT','8reTCgH','recommendCommands','connect_commands','help','160EHzetm','Create\x20a\x20private\x20connection\x20between\x20grid\x20and\x20your\x20staging\x20environment','19196GZJWym','38812yrWxPT','270354RlSIYI','340kzMQdN','1485WddXGF','pdyOV','110077nFFuRs','epilogue'];a6_0x1ccc=function(){return _0x3dcd50;};return a6_0x1ccc();}const a6_0x171571=a6_0x3465;(function(_0x5e0675,_0x5bc6f2){const _0x4445fd=a6_0x3465,_0xd1df2e=_0x5e0675();while(!![]){try{const _0xeefcd4=parseInt(_0x4445fd(0x93))/0x1*(-parseInt(_0x4445fd(0x81))/0x2)+-parseInt(_0x4445fd(0x8e))/0x3*(parseInt(_0x4445fd(0x82))/0x4)+parseInt(_0x4445fd(0x90))/0x5+-parseInt(_0x4445fd(0x83))/0x6+-parseInt(_0x4445fd(0x8d))/0x7+parseInt(_0x4445fd(0x97))/0x8*(-parseInt(_0x4445fd(0x85))/0x9)+-parseInt(_0x4445fd(0x84))/0xa*(-parseInt(_0x4445fd(0x87))/0xb);if(_0xeefcd4===_0x5bc6f2)break;else _0xd1df2e['push'](_0xd1df2e['shift']());}catch(_0x2f983e){_0xd1df2e['push'](_0xd1df2e['shift']());}}}(a6_0x1ccc,0x22cc6));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require('../config/constants');function a6_0x3465(_0x59c25d,_0xedd81f){const _0x1cccdc=a6_0x1ccc();return a6_0x3465=function(_0x346586,_0x1e6dad){_0x346586=_0x346586-0x80;let _0x4ef049=_0x1cccdc[_0x346586];return _0x4ef049;},a6_0x3465(_0x59c25d,_0xedd81f);}exports[a6_0x171571(0x8c)]=a6_0x171571(0x89),exports[a6_0x171571(0x8b)]=a6_0x171571(0x80),exports['builder']=function(_0x42a063){const _0x4ff263=a6_0x171571,_0x31dd73={};_0x31dd73[_0x4ff263(0x86)]=_0x4ff263(0x95),_0x31dd73[_0x4ff263(0x92)]=_0x4ff263(0x96);const _0x501471=_0x31dd73;return _0x42a063[_0x4ff263(0x91)](HELP_HEADER_MESSAGE['connect'])[_0x4ff263(0x88)](HELP_FOOTER_MESSAGE)['commandDir'](_0x501471['pdyOV'])[_0x4ff263(0x8f)]()[_0x4ff263(0x94)]()['strict']()[_0x4ff263(0x96)](_0x501471[_0x4ff263(0x92)]);},exports[a6_0x171571(0x8a)]=function(_0x555d77){};
@@ -1 +1 @@
1
- const a7_0x485a52=a7_0x3e60;function a7_0x4c1f(){const _0x3cbbc6=['GSUNm','UVsHo','370jLnItc','oRtrH','VkqTa','DfyYb','HTjRK','Rtrcg','yILXa','WQnOP','error','browserStackLocalOptions','info','bstack-username','bstack-accesskey','353298fVnchY','ZReVw','type','Cedkc','PHGsI','demandOption','SPJiK','imcHl','exit','1105456bLlnVA','WJcOq','12jUGjZs','feJxZ','advance-options','true','QnxxG','aLJwx','options','IfYpR','description','../../utils/utilityMethods','Pass\x20the\x20ID\x20of\x20the\x20Grid','builder','SIGINT','This\x20command\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC','WvKXc','accessKey','SIGTERM','Optional\x20boolean\x20argument\x20to\x20create\x20private\x20connection\x20between\x20grid\x20and\x20your\x20existing\x20staging\x20or\x20local\x20development\x20environment.','epilogue','Grid\x20type:\x20Trial','608KJUTMm','IrCyN','plVVX','gridId','ywTsv','ndNhN','grid','command','NUNXN','dUioH','sTCct','HjFng','SBCBL','xYqZG','Couldn\x27t\x20find\x20username\x20/\x20accesskey,\x20please\x20use\x20--username\x20and\x20--accesskey','Please\x20provide\x20a\x20valid\x20Grid\x20Identifier','LxxBC','aaIXR','cZwoy','1464vpSvxy','bstackUsername','DtQHM','help','13013ZaJNMa','Couldn\x27t\x20establish\x20a\x20private\x20connection\x20with\x20the\x20grid','UtdPl','yVYdi','useStaging','../../config/constants','jqPhJ','isRunning','psOPy','customRepeaters','oxmfT','isTrialGrid','17349NHOqKn','DgCUt','nEluh','create','vEeoW','use-staging','advanceOptions','tEqVF','15sFmmgp','NPryL','Use\x20corresponding\x20access-key\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','jdJYu','DSCKE','65997wCAeQe','Tywcj','4485552fWKWZf','WjaCX','RcTWc','desc','usage','536oVMXmx','handler','beforeExit'];a7_0x4c1f=function(){return _0x3cbbc6;};return a7_0x4c1f();}(function(_0x5c5959,_0x13b9a5){const _0x5c8dfa=a7_0x3e60,_0x1fa4dd=_0x5c5959();while(!![]){try{const _0x618c44=parseInt(_0x5c8dfa(0xc1))/0x1*(-parseInt(_0x5c8dfa(0xf2))/0x2)+parseInt(_0x5c8dfa(0x115))/0x3*(-parseInt(_0x5c8dfa(0xde))/0x4)+-parseInt(_0x5c8dfa(0xb5))/0x5*(parseInt(_0x5c8dfa(0xd3))/0x6)+-parseInt(_0x5c8dfa(0x109))/0x7*(-parseInt(_0x5c8dfa(0x105))/0x8)+parseInt(_0x5c8dfa(0xba))/0x9*(-parseInt(_0x5c8dfa(0xc6))/0xa)+parseInt(_0x5c8dfa(0xdc))/0xb+parseInt(_0x5c8dfa(0xbc))/0xc;if(_0x618c44===_0x13b9a5)break;else _0x1fa4dd['push'](_0x1fa4dd['shift']());}catch(_0x50202d){_0x1fa4dd['push'](_0x1fa4dd['shift']());}}}(a7_0x4c1f,0x2d772));function a7_0x3e60(_0x50c1cc,_0x15bc4b){const _0x4c1f80=a7_0x4c1f();return a7_0x3e60=function(_0x3e60e8,_0x19d2c4){_0x3e60e8=_0x3e60e8-0xae;let _0x4aab6e=_0x4c1f80[_0x3e60e8];return _0x4aab6e;},a7_0x3e60(_0x50c1cc,_0x15bc4b);}const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a7_0x485a52(0x10e)),{logger}=require('../../config/logger'),{fetchOrUpdateUserConfig,getGridDetails,startLocalBinarySync,stopLocalBinary}=require(a7_0x485a52(0xe7));exports[a7_0x485a52(0xf9)]=a7_0x485a52(0xf8),exports[a7_0x485a52(0xbf)]=a7_0x485a52(0xeb),exports[a7_0x485a52(0xe9)]=_0x15abc4=>{const _0x1874e1=a7_0x485a52,_0x580ec7={};_0x580ec7['cZwoy']='Use\x20username\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.',_0x580ec7[_0x1874e1(0xd4)]='string',_0x580ec7['NmNwk']=_0x1874e1(0xb7),_0x580ec7[_0x1874e1(0x10b)]=_0x1874e1(0xe8),_0x580ec7['oxmfT']=_0x1874e1(0xef),_0x580ec7[_0x1874e1(0xc7)]='Advance\x20options\x20for\x20Browserstack\x20Local',_0x580ec7[_0x1874e1(0x103)]='help';const _0x5d3b86=_0x580ec7,_0x158adc={};_0x158adc[_0x1874e1(0xe6)]=_0x5d3b86[_0x1874e1(0x104)],_0x158adc['type']=_0x5d3b86[_0x1874e1(0xd4)];const _0x537500={};_0x537500[_0x1874e1(0xe6)]=_0x5d3b86['NmNwk'],_0x537500[_0x1874e1(0xd5)]=_0x5d3b86[_0x1874e1(0xd4)];const _0x5b367b={};_0x5b367b[_0x1874e1(0xd8)]=!![],_0x5b367b['description']=_0x5d3b86[_0x1874e1(0x10b)],_0x5b367b[_0x1874e1(0xd5)]=_0x5d3b86[_0x1874e1(0xd4)];const _0x3b65fe={};_0x3b65fe['description']=_0x5d3b86[_0x1874e1(0x113)],_0x3b65fe[_0x1874e1(0xd5)]=_0x5d3b86['ZReVw'];const _0x18bdef={};_0x18bdef[_0x1874e1(0xe6)]=_0x5d3b86[_0x1874e1(0xc7)],_0x18bdef[_0x1874e1(0xd5)]=_0x5d3b86[_0x1874e1(0xd4)];const _0x4fc8d5={};return _0x4fc8d5[_0x1874e1(0xd1)]=_0x158adc,_0x4fc8d5[_0x1874e1(0xd2)]=_0x537500,_0x4fc8d5['grid-id']=_0x5b367b,_0x4fc8d5[_0x1874e1(0xb2)]=_0x3b65fe,_0x4fc8d5[_0x1874e1(0xe0)]=_0x18bdef,_0x15abc4[_0x1874e1(0xc0)](HELP_HEADER_MESSAGE[_0x1874e1(0xb0)])[_0x1874e1(0xf0)](HELP_FOOTER_MESSAGE)[_0x1874e1(0xe4)](_0x4fc8d5)[_0x1874e1(0x108)](_0x5d3b86['aaIXR'])['argv'];},exports[a7_0x485a52(0xc2)]=async _0x44a815=>{const _0x49a3c=a7_0x485a52,_0x415aea={'DtQHM':function(_0x14ea1e,_0x4b9bb0){return _0x14ea1e(_0x4b9bb0);},'Cbhcv':_0x49a3c(0x101),'HjFng':function(_0x1affed,_0xc560b5){return _0x1affed===_0xc560b5;},'jqPhJ':_0x49a3c(0xc5),'yILXa':_0x49a3c(0x100),'IfYpR':function(_0x269bdb,_0x3be651){return _0x269bdb===_0x3be651;},'LxxBC':function(_0x32157a,_0x54da06){return _0x32157a(_0x54da06);},'yVYdi':function(_0x20cfa7,_0x47680f){return _0x20cfa7(_0x47680f);},'sTCct':_0x49a3c(0xc3),'RcTWc':_0x49a3c(0xea),'nEluh':_0x49a3c(0xee),'Tywcj':'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.','vEeoW':function(_0x4b337d,_0xec23f7){return _0x4b337d===_0xec23f7;},'dUioH':_0x49a3c(0xf1),'ywTsv':function(_0x3d9698,_0x1770dc){return _0x3d9698(_0x1770dc);},'tEqVF':_0x49a3c(0x10a),'QnxxG':function(_0x2135a4,_0x40e9b5){return _0x2135a4!==_0x40e9b5;},'azQvT':'wEobR','sSAOi':function(_0x46de3e,_0x59e220){return _0x46de3e===_0x59e220;},'Rtrcg':function(_0x38f252,_0x472e23,_0x3df09f){return _0x38f252(_0x472e23,_0x3df09f);},'DSCKE':function(_0x4b954d,_0x1f1d95){return _0x4b954d&&_0x1f1d95;},'NUNXN':_0x49a3c(0xda),'ThIgl':function(_0x2508f4,_0x3d0bda,_0x417052,_0x177968){return _0x2508f4(_0x3d0bda,_0x417052,_0x177968);},'psOPy':function(_0x24ca7d,_0x4d1860){return _0x24ca7d!==_0x4d1860;},'aLJwx':_0x49a3c(0xf7),'xYqZG':'aTJal','VkqTa':_0x49a3c(0xe1),'feJxZ':function(_0x263ac9,_0x3ddc92){return _0x263ac9!==_0x3ddc92;},'plVVX':_0x49a3c(0xd7),'WQnOP':_0x49a3c(0xf3),'Cedkc':_0x49a3c(0xdd),'OXICD':function(_0x328167,_0x46f5e7){return _0x328167===_0x46f5e7;},'NPryL':_0x49a3c(0xfe),'HTjRK':_0x49a3c(0xbd),'DfyYb':function(_0x59d6c8,_0x3d19fc){return _0x59d6c8(_0x3d19fc);}};let _0x4972e2=_0x44a815[_0x49a3c(0x106)],_0x5ba920=_0x44a815['bstackAccesskey'];const _0x221c93=_0x44a815[_0x49a3c(0xb3)],_0x580be9=_0x36d692=>{const _0x10e75e=_0x49a3c,_0x605330={'jdJYu':function(_0x18f74d,_0x32cd51){return _0x415aea['DtQHM'](_0x18f74d,_0x32cd51);},'WvKXc':_0x415aea['Cbhcv']};_0x415aea[_0x10e75e(0xfd)](_0x415aea[_0x10e75e(0x10f)],_0x415aea[_0x10e75e(0x10f)])?(logger[_0x10e75e(0xce)](_0x36d692),process[_0x10e75e(0xdb)](0x1)):_0x605330[_0x10e75e(0xb8)](_0x940bdb,_0x605330[_0x10e75e(0xec)]);};[_0x4972e2,_0x5ba920]=_0x415aea[_0x49a3c(0xcb)](fetchOrUpdateUserConfig,_0x4972e2,_0x5ba920);!_0x415aea[_0x49a3c(0xb9)](_0x4972e2,_0x5ba920)&&(_0x415aea[_0x49a3c(0xe2)](_0x415aea[_0x49a3c(0xfa)],_0x415aea[_0x49a3c(0xfa)])?_0x415aea[_0x49a3c(0x107)](_0x3bd1e7,_0x415aea[_0x49a3c(0xcc)]):_0x415aea[_0x49a3c(0x107)](_0x580be9,_0x415aea[_0x49a3c(0xcc)]));const _0x57e5df=_0x44a815[_0x49a3c(0xf5)],[_0x59dbd4,_0x4a4cd1]=await _0x415aea['ThIgl'](getGridDetails,_0x4972e2,_0x5ba920,_0x57e5df);!_0x4a4cd1&&(_0x415aea['psOPy'](_0x415aea[_0x49a3c(0xe3)],_0x415aea[_0x49a3c(0xff)])?_0x415aea[_0x49a3c(0xf6)](_0x580be9,_0x415aea['Cbhcv']):(_0x5c9908++,_0x415aea[_0x49a3c(0xe5)](_0xa82ebe,0x1)&&_0x3e7bfb&&_0x482f42['isRunning']()&&_0x415aea['LxxBC'](_0x14bd60,_0x34b07f)));const _0x14ef9f=_0x415aea['sSAOi'](_0x44a815[_0x49a3c(0x10d)],_0x415aea[_0x49a3c(0xc8)])?!![]:![];if(_0x4a4cd1&&_0x4a4cd1[_0x49a3c(0x114)]&&_0x14ef9f){if(_0x415aea[_0x49a3c(0xdf)](_0x415aea[_0x49a3c(0xf4)],_0x415aea[_0x49a3c(0xcd)])){let _0xc14d1c=_0x415aea[_0x49a3c(0xfb)];logger[_0x49a3c(0xd0)](_0xc14d1c);try{if(_0x415aea[_0x49a3c(0x111)](_0x415aea[_0x49a3c(0xd6)],_0x415aea[_0x49a3c(0xd6)])){const _0x3c0b5b={'zmyrC':function(_0x26133c,_0x2ed1ad){const _0x2d9e5f=_0x49a3c;return _0x415aea[_0x2d9e5f(0xe5)](_0x26133c,_0x2ed1ad);},'DgCUt':function(_0x513f9a,_0x435d1c){const _0x22576d=_0x49a3c;return _0x415aea[_0x22576d(0x10c)](_0x513f9a,_0x435d1c);}},_0x33eda3={};_0x33eda3[_0x49a3c(0xed)]=_0x4db4d4,_0x33eda3[_0x49a3c(0x112)]=_0x55b540['customRepeaters'],_0x33eda3[_0x49a3c(0xcf)]=_0x377bbb;const _0x543071=_0x33eda3,_0x266bcd=_0x415aea[_0x49a3c(0x10c)](_0x5cee86,_0x543071);let _0x39afc6=0x0;const _0x2d23f1=async()=>{const _0x3ca5c3=_0x49a3c;_0x39afc6++,_0x3c0b5b['zmyrC'](_0x39afc6,0x1)&&_0x266bcd&&_0x266bcd[_0x3ca5c3(0x110)]()&&_0x3c0b5b[_0x3ca5c3(0xae)](_0x437ed0,_0x266bcd);};_0x168111['on'](_0x415aea[_0x49a3c(0xfc)],_0x2d23f1),_0x16d06d['on'](_0x415aea[_0x49a3c(0xbe)],_0x2d23f1),_0x343649['on'](_0x415aea[_0x49a3c(0xaf)],_0x2d23f1),_0x367c71=_0x415aea[_0x49a3c(0xbb)],_0x4b370d[_0x49a3c(0xd0)](_0x2b8151);}else{const _0x3f4731={};_0x3f4731[_0x49a3c(0xed)]=_0x5ba920,_0x3f4731[_0x49a3c(0x112)]=_0x4a4cd1[_0x49a3c(0x112)],_0x3f4731[_0x49a3c(0xcf)]=_0x221c93;const _0xf42c92=_0x3f4731,_0x4fb3b6=_0x415aea[_0x49a3c(0x107)](startLocalBinarySync,_0xf42c92);let _0x2d3773=0x0;const _0x518894=async()=>{const _0x10f4ed=_0x49a3c;if(_0x415aea[_0x10f4ed(0xe2)](_0x415aea['azQvT'],_0x415aea['azQvT'])){const _0x287210={'SPJiK':function(_0x116cbd,_0x3aae58){const _0x364779=_0x10f4ed;return _0x415aea[_0x364779(0xb1)](_0x116cbd,_0x3aae58);},'GSUNm':function(_0x4b86a8,_0x5b277e){const _0x40b1a5=_0x10f4ed;return _0x415aea[_0x40b1a5(0x102)](_0x4b86a8,_0x5b277e);}};let _0x47a42c=_0x415aea[_0x10f4ed(0xfb)];_0x4197f2[_0x10f4ed(0xd0)](_0x47a42c);try{const _0x54430b={};_0x54430b[_0x10f4ed(0xed)]=_0x2ecb1b,_0x54430b[_0x10f4ed(0x112)]=_0x56f281[_0x10f4ed(0x112)],_0x54430b['browserStackLocalOptions']=_0x2acc77;const _0xeb3aa=_0x54430b,_0x120937=_0x415aea[_0x10f4ed(0x10c)](_0xe91c2e,_0xeb3aa);let _0x4426df=0x0;const _0x445ac9=async()=>{const _0x1896a9=_0x10f4ed;_0x4426df++,_0x287210[_0x1896a9(0xd9)](_0x4426df,0x1)&&_0x120937&&_0x120937[_0x1896a9(0x110)]()&&_0x287210[_0x1896a9(0xc4)](_0x1dfc87,_0x120937);};_0x427b08['on'](_0x415aea[_0x10f4ed(0xfc)],_0x445ac9),_0x53979a['on'](_0x415aea[_0x10f4ed(0xbe)],_0x445ac9),_0x20819e['on'](_0x415aea[_0x10f4ed(0xaf)],_0x445ac9),_0x47a42c=_0x415aea[_0x10f4ed(0xbb)],_0xf58203['info'](_0x47a42c);}catch(_0x22dd77){_0x415aea[_0x10f4ed(0xf6)](_0x5b3913,_0x415aea[_0x10f4ed(0xb4)]);}}else _0x2d3773++,_0x415aea['sSAOi'](_0x2d3773,0x1)&&_0x4fb3b6&&_0x4fb3b6[_0x10f4ed(0x110)]()&&_0x415aea[_0x10f4ed(0x102)](stopLocalBinary,_0x4fb3b6);};process['on'](_0x415aea[_0x49a3c(0xfc)],_0x518894),process['on'](_0x415aea[_0x49a3c(0xbe)],_0x518894),process['on'](_0x415aea[_0x49a3c(0xaf)],_0x518894),_0xc14d1c=_0x415aea[_0x49a3c(0xbb)],logger['info'](_0xc14d1c);}}catch(_0x16ccfb){_0x415aea['OXICD'](_0x415aea[_0x49a3c(0xb6)],_0x415aea[_0x49a3c(0xca)])?_0x415aea[_0x49a3c(0x102)](_0x3e898d,_0x415aea[_0x49a3c(0xb4)]):_0x415aea[_0x49a3c(0xc9)](_0x580be9,_0x415aea[_0x49a3c(0xb4)]);}}else _0x7e1f9e[_0x49a3c(0xce)](_0x566db1),_0x300c72[_0x49a3c(0xdb)](0x1);}process[_0x49a3c(0xdb)](0x0);};
1
+ const a7_0x1b7ea3=a7_0x4112;function a7_0xc808(){const _0x46b4d9=['Advance\x20options\x20for\x20Browserstack\x20Local','bstack-username','grid-id','gridId','mygha','beforeExit','dDuHV','yRFoO','description','610620rNmQJh','Grid\x20type:\x20Trial','HnveM','oiFce','wQxHf','808zSXmAq','../../utils/utilityMethods','giBpt','zpjQs','ZMiin','string','error','eqcbH','desc','true','bVthY','info','handler','isRunning','EtJCa','SlEbC','xGZGF','FXQYO','475810QoHWRr','THtCw','zxUWk','create','use-staging','Use\x20username\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','bstack-accesskey','KHDpk','nRqCJ','demandOption','2233143kuVhGT','TPuyZ','Mfggs','JBXPy','XVPWY','JjQau','argv','HAdXV','YecAl','Optional\x20boolean\x20argument\x20to\x20create\x20private\x20connection\x20between\x20grid\x20and\x20your\x20existing\x20staging\x20or\x20local\x20development\x20environment.','BJGva','FrmJB','zgbEW','../../config/constants','QCjDt','Use\x20corresponding\x20access-key\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','bhHEF','accessKey','lushT','BvXfz','srWTE','advance-options','TzcCV','customRepeaters','AthCB','gXWWY','SqXCg','bstackUsername','grid','uZbQb','thSGH','SIGTERM','WTWyP','4627BDHtSz','PvKqy','usage','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.','browserStackLocalOptions','YdcEV','fXuUi','Couldn\x27t\x20establish\x20a\x20private\x20connection\x20with\x20the\x20grid','ffBns','HiXeW','Ksslr','kEOiS','exit','WTnXS','bVwyk','vpwUN','588674sWOfbY','tateK','jHUAs','sBbRL','shKFT','advanceOptions','OKpFG','cFejG','useStaging','OYZDA','536600OLPZqZ','wnwuA','epilogue','Please\x20provide\x20a\x20valid\x20Grid\x20Identifier','132758rZwLjW','agnaZ','help','bstackAccesskey','Pass\x20the\x20ID\x20of\x20the\x20Grid','isTrialGrid','Couldn\x27t\x20find\x20username\x20/\x20accesskey,\x20please\x20use\x20--username\x20and\x20--accesskey','3zWeWTh','../../config/logger','type'];a7_0xc808=function(){return _0x46b4d9;};return a7_0xc808();}(function(_0x78ef27,_0x53c017){const _0x5dd5ae=a7_0x4112,_0x36c9e6=_0x78ef27();while(!![]){try{const _0x2ac1d9=-parseInt(_0x5dd5ae(0xfc))/0x1+parseInt(_0x5dd5ae(0xee))/0x2+parseInt(_0x5dd5ae(0x103))/0x3*(-parseInt(_0x5dd5ae(0xf8))/0x4)+parseInt(_0x5dd5ae(0xb3))/0x5+-parseInt(_0x5dd5ae(0x9c))/0x6+-parseInt(_0x5dd5ae(0xde))/0x7*(parseInt(_0x5dd5ae(0xa1))/0x8)+parseInt(_0x5dd5ae(0xbd))/0x9;if(_0x2ac1d9===_0x53c017)break;else _0x36c9e6['push'](_0x36c9e6['shift']());}catch(_0x22199d){_0x36c9e6['push'](_0x36c9e6['shift']());}}}(a7_0xc808,0x315cb));function a7_0x4112(_0x16cb47,_0xcf827f){const _0xc80884=a7_0xc808();return a7_0x4112=function(_0x4112c4,_0x1aab22){_0x4112c4=_0x4112c4-0x93;let _0x4f8b15=_0xc80884[_0x4112c4];return _0x4f8b15;},a7_0x4112(_0x16cb47,_0xcf827f);}const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a7_0x1b7ea3(0xca)),{logger}=require(a7_0x1b7ea3(0x104)),{fetchOrUpdateUserConfig,getGridDetails,startLocalBinarySync,stopLocalBinary}=require(a7_0x1b7ea3(0xa2));exports['command']=a7_0x1b7ea3(0xd9),exports[a7_0x1b7ea3(0xa9)]='This\x20command\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC',exports['builder']=_0x470b49=>{const _0x3a493f=a7_0x1b7ea3,_0x1898bd={};_0x1898bd[_0x3a493f(0xe6)]=_0x3a493f(0xb8),_0x1898bd[_0x3a493f(0xc1)]=_0x3a493f(0xa6),_0x1898bd[_0x3a493f(0xb5)]=_0x3a493f(0xcc),_0x1898bd[_0x3a493f(0xbf)]=_0x3a493f(0x100),_0x1898bd[_0x3a493f(0x9a)]=_0x3a493f(0xc6),_0x1898bd[_0x3a493f(0xec)]='Advance\x20options\x20for\x20Browserstack\x20Local',_0x1898bd[_0x3a493f(0xc7)]=_0x3a493f(0xfe);const _0xedac7d=_0x1898bd,_0x1856e8={};_0x1856e8[_0x3a493f(0x9b)]=_0xedac7d[_0x3a493f(0xe6)],_0x1856e8[_0x3a493f(0x105)]=_0xedac7d[_0x3a493f(0xc1)];const _0x2714cf={};_0x2714cf[_0x3a493f(0x9b)]=_0xedac7d['zxUWk'],_0x2714cf[_0x3a493f(0x105)]=_0xedac7d[_0x3a493f(0xc1)];const _0x37eaf7={};_0x37eaf7[_0x3a493f(0xbc)]=!![],_0x37eaf7[_0x3a493f(0x9b)]=_0xedac7d[_0x3a493f(0xbf)],_0x37eaf7[_0x3a493f(0x105)]=_0xedac7d[_0x3a493f(0xc1)];const _0x54a018={};_0x54a018[_0x3a493f(0x9b)]=_0xedac7d[_0x3a493f(0x9a)],_0x54a018[_0x3a493f(0x105)]=_0xedac7d['XVPWY'];const _0x40aca1={};_0x40aca1[_0x3a493f(0x9b)]=_0xedac7d[_0x3a493f(0xec)],_0x40aca1['type']=_0xedac7d[_0x3a493f(0xc1)];const _0xa49b4b={};return _0xa49b4b['bstack-username']=_0x1856e8,_0xa49b4b[_0x3a493f(0xb9)]=_0x2714cf,_0xa49b4b['grid-id']=_0x37eaf7,_0xa49b4b[_0x3a493f(0xb7)]=_0x54a018,_0xa49b4b[_0x3a493f(0xd2)]=_0x40aca1,_0x470b49[_0x3a493f(0xe0)](HELP_HEADER_MESSAGE[_0x3a493f(0xb6)])[_0x3a493f(0xfa)](HELP_FOOTER_MESSAGE)['options'](_0xa49b4b)[_0x3a493f(0xfe)](_0xedac7d['BJGva'])[_0x3a493f(0xc3)];},exports[a7_0x1b7ea3(0xad)]=async _0x45ffba=>{const _0x3ff488=a7_0x1b7ea3,_0xd3eeb6={'zpjQs':function(_0x478953,_0x232b91){return _0x478953===_0x232b91;},'TPuyZ':function(_0x5c2626,_0x3d218b){return _0x5c2626(_0x3d218b);},'vNQvP':function(_0x1ca9fb,_0x557b50){return _0x1ca9fb(_0x557b50);},'srWTE':_0x3ff488(0x98),'shKFT':'SIGINT','xGZGF':_0x3ff488(0xdc),'lushT':_0x3ff488(0xe1),'HAdXV':function(_0xf94dfc,_0x501740){return _0xf94dfc!==_0x501740;},'QCjDt':'tpkBW','cFejG':_0x3ff488(0xc0),'WTWyP':_0x3ff488(0xfb),'PvKqy':_0x3ff488(0xb8),'wnwuA':_0x3ff488(0xa6),'TzcCV':_0x3ff488(0xcc),'tateK':'Pass\x20the\x20ID\x20of\x20the\x20Grid','oiFce':_0x3ff488(0xc6),'HnveM':_0x3ff488(0x93),'JjQau':'help','kEOiS':function(_0x119262,_0x3d72cd){return _0x119262(_0x3d72cd);},'dDuHV':_0x3ff488(0x102),'YecAl':function(_0xcd8c93,_0x4f5684){return _0xcd8c93!==_0x4f5684;},'WTnXS':'ZQZsD','SlEbC':function(_0x3e047c,_0x2679ed){return _0x3e047c===_0x2679ed;},'jHUAs':function(_0xc49bcb,_0x537ec6){return _0xc49bcb(_0x537ec6);},'fXuUi':_0x3ff488(0x9d),'OYZDA':function(_0x35beb3,_0x4763c9){return _0x35beb3(_0x4763c9);},'eqcbH':_0x3ff488(0xe5),'AgJnF':function(_0x74b37d,_0x460c57,_0x7ca2cd){return _0x74b37d(_0x460c57,_0x7ca2cd);},'weQFd':function(_0x15208c,_0x30e912){return _0x15208c&&_0x30e912;},'YdcEV':function(_0x2d58f7,_0x485386){return _0x2d58f7!==_0x485386;},'zgbEW':'DoSeC','sBbRL':function(_0x32be0a,_0x22266d){return _0x32be0a(_0x22266d);},'gXWWY':function(_0x1dccfc,_0x506887,_0x414db1,_0x44b2e6){return _0x1dccfc(_0x506887,_0x414db1,_0x44b2e6);},'OxEFm':_0x3ff488(0xd7),'CvtUy':'tiIks','mygha':_0x3ff488(0xaa),'Ksslr':_0x3ff488(0xab),'KHDpk':_0x3ff488(0xf4),'ZMiin':_0x3ff488(0xe7),'uZbQb':function(_0x4acb3c,_0x54c007){return _0x4acb3c!==_0x54c007;},'FrmJB':_0x3ff488(0xaf),'THtCw':_0x3ff488(0xed)};let _0x477b67=_0x45ffba[_0x3ff488(0xd8)],_0x501c45=_0x45ffba[_0x3ff488(0xff)];const _0x4d123a=_0x45ffba[_0x3ff488(0xf3)],_0x385594=_0x2a50dd=>{const _0x9bdc5=_0x3ff488,_0x347663={'BvXfz':function(_0x1116c0,_0x43da5c){const _0x44e1e5=a7_0x4112;return _0xd3eeb6[_0x44e1e5(0xa4)](_0x1116c0,_0x43da5c);},'nRqCJ':function(_0x396018,_0x3f9795){return _0xd3eeb6['TPuyZ'](_0x396018,_0x3f9795);},'wQxHf':function(_0x53b7fa,_0x1d4232){return _0xd3eeb6['vNQvP'](_0x53b7fa,_0x1d4232);},'thSGH':_0xd3eeb6[_0x9bdc5(0xd1)],'bhHEF':_0xd3eeb6[_0x9bdc5(0xf2)],'AthCB':_0xd3eeb6['xGZGF'],'giBpt':_0xd3eeb6['lushT']};if(_0xd3eeb6[_0x9bdc5(0xc4)](_0xd3eeb6[_0x9bdc5(0xcb)],_0xd3eeb6[_0x9bdc5(0xf5)]))logger[_0x9bdc5(0xa7)](_0x2a50dd),process[_0x9bdc5(0xea)](0x1);else{const _0xaf0d05={'PfvhQ':function(_0x81c82d,_0x3d3815){const _0x3aad9f=_0x9bdc5;return _0x347663[_0x3aad9f(0xd0)](_0x81c82d,_0x3d3815);},'agnaZ':function(_0x3e5146,_0x4d083c){const _0x2d0817=_0x9bdc5;return _0x347663[_0x2d0817(0xbb)](_0x3e5146,_0x4d083c);}},_0x3c979f={};_0x3c979f[_0x9bdc5(0xce)]=_0x222c7a,_0x3c979f[_0x9bdc5(0xd4)]=_0x361fd8[_0x9bdc5(0xd4)],_0x3c979f[_0x9bdc5(0xe2)]=_0x174b61;const _0x4e80b0=_0x3c979f,_0xcb5ec9=_0x347663[_0x9bdc5(0xa0)](_0x494cdb,_0x4e80b0);let _0x5285c7=0x0;const _0xe69996=async()=>{const _0x1d8b7d=_0x9bdc5;_0x5285c7++,_0xaf0d05['PfvhQ'](_0x5285c7,0x1)&&_0xcb5ec9&&_0xcb5ec9[_0x1d8b7d(0xae)]()&&_0xaf0d05[_0x1d8b7d(0xfd)](_0x32f59e,_0xcb5ec9);};_0x9fb76d['on'](_0x347663[_0x9bdc5(0xdb)],_0xe69996),_0x2f9dc4['on'](_0x347663[_0x9bdc5(0xcd)],_0xe69996),_0x3f5ac0['on'](_0x347663[_0x9bdc5(0xd5)],_0xe69996),_0x302c3e=_0x347663[_0x9bdc5(0xa3)],_0x38d7b0[_0x9bdc5(0xac)](_0xe1bc5);}};[_0x477b67,_0x501c45]=_0xd3eeb6['AgJnF'](fetchOrUpdateUserConfig,_0x477b67,_0x501c45);!_0xd3eeb6['weQFd'](_0x477b67,_0x501c45)&&(_0xd3eeb6[_0x3ff488(0xe3)](_0xd3eeb6[_0x3ff488(0xc9)],_0xd3eeb6[_0x3ff488(0xc9)])?_0xd3eeb6['vNQvP'](_0x19527c,_0xd3eeb6[_0x3ff488(0xdd)]):_0xd3eeb6[_0x3ff488(0xf1)](_0x385594,_0xd3eeb6[_0x3ff488(0x99)]));const _0x1bafaf=_0x45ffba[_0x3ff488(0x96)],[_0x13c32d,_0x139b50]=await _0xd3eeb6[_0x3ff488(0xd6)](getGridDetails,_0x477b67,_0x501c45,_0x1bafaf);if(!_0x139b50){if(_0xd3eeb6[_0x3ff488(0xa4)](_0xd3eeb6['OxEFm'],_0xd3eeb6['CvtUy'])){const _0x2ae88c={};_0x2ae88c[_0x3ff488(0x9b)]=_0xd3eeb6[_0x3ff488(0xdf)],_0x2ae88c[_0x3ff488(0x105)]=_0xd3eeb6[_0x3ff488(0xf9)];const _0x228e85={};_0x228e85[_0x3ff488(0x9b)]=_0xd3eeb6[_0x3ff488(0xd3)],_0x228e85['type']=_0xd3eeb6[_0x3ff488(0xf9)];const _0x4357fc={};_0x4357fc[_0x3ff488(0xbc)]=!![],_0x4357fc['description']=_0xd3eeb6[_0x3ff488(0xef)],_0x4357fc[_0x3ff488(0x105)]=_0xd3eeb6[_0x3ff488(0xf9)];const _0x15f0e4={};_0x15f0e4[_0x3ff488(0x9b)]=_0xd3eeb6[_0x3ff488(0x9f)],_0x15f0e4[_0x3ff488(0x105)]=_0xd3eeb6[_0x3ff488(0xf9)];const _0x1d19f9={};_0x1d19f9[_0x3ff488(0x9b)]=_0xd3eeb6[_0x3ff488(0x9e)],_0x1d19f9[_0x3ff488(0x105)]=_0xd3eeb6[_0x3ff488(0xf9)];const _0x4adbfa={};return _0x4adbfa[_0x3ff488(0x94)]=_0x2ae88c,_0x4adbfa[_0x3ff488(0xb9)]=_0x228e85,_0x4adbfa[_0x3ff488(0x95)]=_0x4357fc,_0x4adbfa[_0x3ff488(0xb7)]=_0x15f0e4,_0x4adbfa[_0x3ff488(0xd2)]=_0x1d19f9,_0x24d688['usage'](_0x5bdcb3['create'])[_0x3ff488(0xfa)](_0x281bef)['options'](_0x4adbfa)[_0x3ff488(0xfe)](_0xd3eeb6[_0x3ff488(0xc2)])['argv'];}else _0xd3eeb6['TPuyZ'](_0x385594,_0xd3eeb6[_0x3ff488(0xdd)]);}const _0x2dd267=_0xd3eeb6[_0x3ff488(0xb0)](_0x45ffba[_0x3ff488(0xf6)],_0xd3eeb6[_0x3ff488(0x97)])?!![]:![];if(_0x139b50&&_0x139b50[_0x3ff488(0x101)]&&_0x2dd267){if(_0xd3eeb6[_0x3ff488(0xc4)](_0xd3eeb6[_0x3ff488(0xe8)],_0xd3eeb6[_0x3ff488(0xba)])){let _0x3183a5=_0xd3eeb6[_0x3ff488(0xe4)];logger['info'](_0x3183a5);try{if(_0xd3eeb6[_0x3ff488(0xb0)](_0xd3eeb6[_0x3ff488(0xa5)],_0xd3eeb6[_0x3ff488(0xa5)])){const _0x340a25={};_0x340a25[_0x3ff488(0xce)]=_0x501c45,_0x340a25[_0x3ff488(0xd4)]=_0x139b50[_0x3ff488(0xd4)],_0x340a25[_0x3ff488(0xe2)]=_0x4d123a;const _0x4de34a=_0x340a25,_0x52dd93=_0xd3eeb6['jHUAs'](startLocalBinarySync,_0x4de34a);let _0x4179e6=0x0;const _0x3f0e78=async()=>{const _0x3f2087=_0x3ff488;_0xd3eeb6[_0x3f2087(0xc5)](_0xd3eeb6[_0x3f2087(0xeb)],_0xd3eeb6[_0x3f2087(0xeb)])?_0xd3eeb6[_0x3f2087(0xe9)](_0x5ba5e7,_0xd3eeb6[_0x3f2087(0x99)]):(_0x4179e6++,_0xd3eeb6[_0x3f2087(0xb0)](_0x4179e6,0x1)&&_0x52dd93&&_0x52dd93[_0x3f2087(0xae)]()&&_0xd3eeb6[_0x3f2087(0xbe)](stopLocalBinary,_0x52dd93));};process['on'](_0xd3eeb6[_0x3ff488(0xd1)],_0x3f0e78),process['on'](_0xd3eeb6[_0x3ff488(0xf2)],_0x3f0e78),process['on'](_0xd3eeb6[_0x3ff488(0xb1)],_0x3f0e78),_0x3183a5=_0xd3eeb6['lushT'],logger['info'](_0x3183a5);}else _0x2867da['error'](_0x509e52),_0x1a772b[_0x3ff488(0xea)](0x1);}catch(_0x21dbcf){if(_0xd3eeb6[_0x3ff488(0xda)](_0xd3eeb6[_0x3ff488(0xc8)],_0xd3eeb6[_0x3ff488(0xb4)]))_0xd3eeb6[_0x3ff488(0xf0)](_0x385594,_0xd3eeb6[_0x3ff488(0xa8)]);else{const _0x29afa7={'EYtQg':function(_0x471de6,_0x564fe7){const _0x59c5de=_0x3ff488;return _0xd3eeb6[_0x59c5de(0xa4)](_0x471de6,_0x564fe7);},'FXQYO':function(_0x5df95e,_0x2da1dd){const _0x611412=_0x3ff488;return _0xd3eeb6[_0x611412(0xf0)](_0x5df95e,_0x2da1dd);}};let _0x1cd99d=_0xd3eeb6['fXuUi'];_0x453f8d[_0x3ff488(0xac)](_0x1cd99d);try{const _0x5f0d56={};_0x5f0d56[_0x3ff488(0xce)]=_0x26ec1f,_0x5f0d56[_0x3ff488(0xd4)]=_0xf895f6['customRepeaters'],_0x5f0d56[_0x3ff488(0xe2)]=_0x3553eb;const _0x4918fe=_0x5f0d56,_0x28fb81=_0xd3eeb6[_0x3ff488(0xf7)](_0x1a98d5,_0x4918fe);let _0x1c70bd=0x0;const _0x44e0ce=async()=>{const _0x2405d7=_0x3ff488;_0x1c70bd++,_0x29afa7['EYtQg'](_0x1c70bd,0x1)&&_0x28fb81&&_0x28fb81[_0x2405d7(0xae)]()&&_0x29afa7[_0x2405d7(0xb2)](_0x3c5869,_0x28fb81);};_0x3542e2['on'](_0xd3eeb6[_0x3ff488(0xd1)],_0x44e0ce),_0x549b27['on'](_0xd3eeb6[_0x3ff488(0xf2)],_0x44e0ce),_0x5028b7['on'](_0xd3eeb6[_0x3ff488(0xb1)],_0x44e0ce),_0x1cd99d=_0xd3eeb6[_0x3ff488(0xcf)],_0x140d0b[_0x3ff488(0xac)](_0x1cd99d);}catch(_0x53090f){_0xd3eeb6['vNQvP'](_0x4dd77e,_0xd3eeb6['eqcbH']);}}}}else _0xd3eeb6[_0x3ff488(0xf7)](_0x29303a,_0xd3eeb6[_0x3ff488(0xa8)]);}process[_0x3ff488(0xea)](0x0);};
@@ -1 +1 @@
1
- function a8_0x2143(){const _0x28a1f3=['strict','53828CGEExk','152496YMPQeh','create','XTGip','9qVSHHa','12074150fmPtkV','desc','1078458qoiVeV','commandDir','2032504XkbtXq','42cnbyhn','../config/constants','312628TZloSN','epilogue','demandCommand','recommendCommands','XWzgH','handler','120oLwxtI','help','15863034xNigER','Create\x20a\x20new\x20Automation\x20grid.','174AtCICY'];a8_0x2143=function(){return _0x28a1f3;};return a8_0x2143();}const a8_0x23e1af=a8_0x1f10;(function(_0x1e8df9,_0x4cf022){const _0x40292e=a8_0x1f10,_0x21349d=_0x1e8df9();while(!![]){try{const _0xd67276=parseInt(_0x40292e(0x176))/0x1+parseInt(_0x40292e(0x187))/0x2*(parseInt(_0x40292e(0x185))/0x3)+parseInt(_0x40292e(0x17b))/0x4+-parseInt(_0x40292e(0x181))/0x5*(parseInt(_0x40292e(0x188))/0x6)+parseInt(_0x40292e(0x179))/0x7*(-parseInt(_0x40292e(0x178))/0x8)+parseInt(_0x40292e(0x18b))/0x9*(-parseInt(_0x40292e(0x174))/0xa)+parseInt(_0x40292e(0x183))/0xb;if(_0xd67276===_0x4cf022)break;else _0x21349d['push'](_0x21349d['shift']());}catch(_0xf593c2){_0x21349d['push'](_0x21349d['shift']());}}}(a8_0x2143,0xc7b18));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a8_0x23e1af(0x17a));function a8_0x1f10(_0x3241e8,_0x11ebe6){const _0x2143c3=a8_0x2143();return a8_0x1f10=function(_0x1f10c4,_0x249985){_0x1f10c4=_0x1f10c4-0x174;let _0x39a64b=_0x2143c3[_0x1f10c4];return _0x39a64b;},a8_0x1f10(_0x3241e8,_0x11ebe6);}exports['command']='create',exports[a8_0x23e1af(0x175)]=a8_0x23e1af(0x184),exports['builder']=function(_0x5045c1){const _0x3221ac=a8_0x23e1af,_0x4545e5={};_0x4545e5[_0x3221ac(0x18a)]='create_commands',_0x4545e5[_0x3221ac(0x17f)]='help';const _0x4446e2=_0x4545e5;return _0x5045c1['usage'](HELP_HEADER_MESSAGE[_0x3221ac(0x189)])[_0x3221ac(0x17c)](HELP_FOOTER_MESSAGE)[_0x3221ac(0x177)](_0x4446e2[_0x3221ac(0x18a)])[_0x3221ac(0x17d)]()[_0x3221ac(0x17e)]()[_0x3221ac(0x186)]()[_0x3221ac(0x182)](_0x4446e2[_0x3221ac(0x17f)]);},exports[a8_0x23e1af(0x180)]=function(_0x39fa49){};
1
+ const a8_0xa9f6d6=a8_0x3296;(function(_0x1981e6,_0x2cdeec){const _0x29d715=a8_0x3296,_0x53b9dc=_0x1981e6();while(!![]){try{const _0x4994f8=-parseInt(_0x29d715(0x1f9))/0x1*(parseInt(_0x29d715(0x1f3))/0x2)+-parseInt(_0x29d715(0x1eb))/0x3*(-parseInt(_0x29d715(0x1fa))/0x4)+-parseInt(_0x29d715(0x1f7))/0x5*(-parseInt(_0x29d715(0x1fc))/0x6)+parseInt(_0x29d715(0x1fe))/0x7*(-parseInt(_0x29d715(0x1f5))/0x8)+parseInt(_0x29d715(0x1e8))/0x9*(-parseInt(_0x29d715(0x1e9))/0xa)+-parseInt(_0x29d715(0x1ec))/0xb*(parseInt(_0x29d715(0x1ea))/0xc)+-parseInt(_0x29d715(0x1f4))/0xd*(-parseInt(_0x29d715(0x1f1))/0xe);if(_0x4994f8===_0x2cdeec)break;else _0x53b9dc['push'](_0x53b9dc['shift']());}catch(_0x2ee754){_0x53b9dc['push'](_0x53b9dc['shift']());}}}(a8_0x2cdf,0x7166c));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a8_0xa9f6d6(0x1f8));exports[a8_0xa9f6d6(0x1ee)]=a8_0xa9f6d6(0x1ff),exports['desc']='Create\x20a\x20new\x20Automation\x20grid.',exports[a8_0xa9f6d6(0x1f0)]=function(_0x149faf){const _0x2b2915=a8_0xa9f6d6,_0x11a2f0={};_0x11a2f0['QlKwk']='create_commands',_0x11a2f0[_0x2b2915(0x1fd)]=_0x2b2915(0x1ed);const _0x415a7a=_0x11a2f0;return _0x149faf['usage'](HELP_HEADER_MESSAGE[_0x2b2915(0x1ff)])['epilogue'](HELP_FOOTER_MESSAGE)['commandDir'](_0x415a7a[_0x2b2915(0x1fb)])[_0x2b2915(0x1f6)]()[_0x2b2915(0x1f2)]()[_0x2b2915(0x1ef)]()[_0x2b2915(0x1ed)](_0x415a7a[_0x2b2915(0x1fd)]);},exports['handler']=function(_0x3a6478){};function a8_0x3296(_0xa4fbe4,_0x11f061){const _0x2cdf6f=a8_0x2cdf();return a8_0x3296=function(_0x329614,_0xd59cf7){_0x329614=_0x329614-0x1e8;let _0x25b930=_0x2cdf6f[_0x329614];return _0x25b930;},a8_0x3296(_0xa4fbe4,_0x11f061);}function a8_0x2cdf(){const _0xdd6db1=['help','command','strict','builder','20860tnUxGC','recommendCommands','496598oKYNcy','6227zXAEZf','8HZzgJb','demandCommand','20stOwSj','../config/constants','1raCjDV','28ZuPaCe','QlKwk','264570qKuBWs','cCPhh','1137395TqUdge','create','159435iZBkck','230NVAjZj','452436KgFPlb','378330OqxApD','143fnboIh'];a8_0x2cdf=function(){return _0xdd6db1;};return a8_0x2cdf();}