browserstack-node-sdk 1.34.34 → 1.34.35

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 (131) 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/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance/constants.js +1 -1
  115. package/src/helpers/performance/performance-tester.js +1 -1
  116. package/src/helpers/processHelper.js +1 -1
  117. package/src/helpers/request-spy.js +1 -1
  118. package/src/helpers/setKeepAlive.js +1 -1
  119. package/src/helpers/test-observability/constants.js +1 -1
  120. package/src/helpers/test-observability/error-handler.js +1 -1
  121. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  122. package/src/helpers/test-observability/sessionHandler.js +1 -1
  123. package/src/helpers/test-observability/utils.js +1 -1
  124. package/src/helpers/testhub/constants.js +1 -1
  125. package/src/helpers/testhub/testhubHandler.js +1 -1
  126. package/src/helpers/testhub/utils.js +1 -1
  127. package/src/helpers/timeoutPromise.js +1 -1
  128. package/src/helpers/utilities.js +1 -1
  129. package/src/helpers/w3cMapping.js +1 -1
  130. package/src/hubAllocationMethods.js +1 -1
  131. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a3_0x4aec(){const _0x558194=['project_id','keyFile','JKoTS','/roles/','FjKDF','ltTQs','tKBNX','DEVYC','gcloud\x20container\x20node-pools\x20update\x20windows-pool\x20--cluster=','createCluster','updateClusterRegion','getClient','HLRZh','accounts','tkvoK','lwlsK','managedby','LmzSz','jIrfW','/regions/','PbdyK','EdwXr','nCtVY','ayagk','Service\x20Account\x20created,\x20proceeding\x20with\x20Cluster\x20creation','YTcpy','XIoXG','location','type','xpxVd','vPLif','webSocketUtils','cloudProvider','Cluster\x20creation\x20failed','WFUEF','concat','\x20--quiet\x20--user-output-enabled=false','uIiqh','boRlY','bCeeL','DDORv','LOG','/clusters/','storage.objects.get','Found\x20cluster\x20with\x20name\x20\x27','replace','MXPKk','username','RESOURCES','iFzTH','cloudProviderName','FIHkw','stack','serviceAccounts','Cannot\x20find\x20subnets\x20','clusterName','WUGrP','PUT','storage.buckets.getObjectInsights','HIWND','child_process','join','kdMKQ','OYzfN','organizations','krZMy','GjWGQ','hPCSi','toLowerCase','storage.objects.create','readFileAsync','dfGEu','1|5|3|6|8|7|4|2|0','maxNodes','sZMLc','updateWindowsNodeGroup','HAioA','customRoleName','utf-8','wBUyA','storage.buckets.setIamPolicy','lowKw','GoogleCloudProvider','execSync','PrbFQ','NjdUn','HHPNw','info','serviceAccount','awKVe','default','szwsG','\x20--windows-os-version=ltsc2022\x20--region\x20','MxeSr','exports','yEPLs','storage.multipartUploads.abort','arIDc','CNvWt','roles','bstackUsername','projectId','dAusk','minNodes','https://','VYWaU','sGqbY','sendResourceDataToHST','turboscale-service-account','fcUit','QOYjp','ruvWS','subnetworks','oJHEs','sendGCPInfoToHST','push','iam.serviceAccounts.signBlob','wGtgD','KqBrB','masterAuth','HvHIW','storage.objects.update','../utils/utilityMethods','Deleting\x20the\x20cluster\x20','projects','kAFml','minNodeCount','role','data','get','setupServiceAccount','wIVle','yFBeZ','SyGqZ','gcpresources','parse','uhipU','1748175nBbgJa','Creating\x20service\x20account','path','hQAIv','storage.objects.delete','dsDvg','rws','gcloud\x20auth\x20login\x20--cred-file=','HrrEj','maxNodeCount','1837088QgjDSL','Mmpgj','message','gqHNm','RTUNA','zwLTv','autoscaling','Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','util','kwjSO','getGridHostname','iam','ZoaHT','title','pKSzK','templates','mLaOB','jhuiS','qxMuF','iamClient','uChtb','Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','.\x20Error:\x20','https://www.googleapis.com/compute/v1/projects/','KLunm','VfYVA','getIamPolicy','iyGln','gke_','3328864hYssTH','bQZzl','xMjME','init','getCluster','gLsYj','loadBalancer','auth','network','instanceType','RcAed','pDHeV','aFHnl','nIjeo','ajPmL','isVPCPresent','Proceeding\x20with\x20the\x20cluster\x20in\x20the\x20location\x20-\x20','uNsEk','storage.multipartUploads.listParts','turboscale_custom_role','YXnoS','kJRoO','toString','gcp_credentials.json','WYGET','hWPot','9TTXTqt','OkqxA','profileId','tGdQL','got','WUamq','setIamPolicy','parent','EbEEz','ZhOqT','\x27\x20in\x20multiple\x20locations,\x20select\x20a\x20location\x20to\x20proceed:','log','/locations/','GKE\x20Cluster\x20deletion\x20failed','nlKSY','Cluster\x20deletion\x20completed','Enter\x20Key\x20file\x20(.json)\x20path\x20for\x20GCP\x20Service\x20Account:\x20','LLgfy','dhhIG','NRsIr','LUZbt','SnyHS','CHiMk','nCPLu','urdCu','AYHWM','vfkdR','writeFileSync','KEmdA','googleapis','@google-cloud/compute','../utils/userInput','serviceAccountName','serviceAccount:','UYFjf','ugEHC','vnchv','hjWkK','@google-cloud/resource-manager','containerClient','deleteCluster','KubeConfigTemplate.yaml','cVGhu','storage.objects.getIamPolicy','nodePools','accessKey','Creating\x20required\x20dependencies\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account','/subnetworks/','resourcemanagerClient','Service\x20account\x20already\x20exists,\x20skipping','name','storage.objects.setIamPolicy','subnetwork','requestBody','ClusterManagerClient','Creating\x20required\x20resources\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account','resourceLabels','sendEventToBackend','browserstack','error','json','storage.multipartUploads.create','DXeZn','storage.buckets.getIamPolicy','zmMav','EBwHr','UBnJn','storage.buckets.listEffectiveTags','https://www.googleapis.com/auth/cloud-platform','OHNHm','setupNewCluster','xniRI','clusters','UwTpa','getClusterInfo','machineType','iWpES','hYFKY','35HXaGWK','mMJUH','dkrMb','projects/','mosBD','isClusterPresent','1395894zmgsUU','AOzff','.iam.gserviceaccount.com','utDvn','regionmap.json','checkServiceAccount','ZfYiD','KrgfA','/packages/cli/update-cluster-region','bstackAccesskey','exit','5230070MkTgKT','wrDrv','networkClient','NetworksClient','fuIJD','status','9646624hklTSH','storage.buckets.update','iMcdO','WRHRl','EcQZe','omZhA','DWBio','zCwlY','mjyOP','isBrowserstackCluster','Amcfx','ENJsm','YSSSV','8TVpHgY','Creating\x20GKE\x20Cluster','pwKbB','qsbKm','xfMzv','hSYaw','Turboscale\x20Custom\x20Role','AgdEY','storage.buckets.list','gQWJQ','CTFGA','WAenX','KCTzD','zlerj','EmhNf','newRegion','ttaGR','yOAHJ','vpcInfo','credentialsPath','kJGCD','storage.buckets.create','VTBQX','DDnCZ','locations','/serviceAccounts/','config','AWhBb','scopes','length','create','1182486jhWrZc','yNvQE','ktaHg','AtDdP','NMtoi','aunZJ','aayXv','clusterRegion','list','delay','syiqJ','njMnk','../config/logger','wKrMU','storage.buckets.deleteTagBinding','UDRJJ','includedPermissions','JGJMr','ljSwZ','storage.buckets.delete','accountId','VKidI','TMwWU','ingress','aJCTO','gYZKO','tjsGV','hKrAK'];a3_0x4aec=function(){return _0x558194;};return a3_0x4aec();}const a3_0x49aabb=a3_0x47c0;(function(_0x122ffc,_0x70146){const _0x56ec61=a3_0x47c0,_0x50d8d0=_0x122ffc();while(!![]){try{const _0x306e0b=-parseInt(_0x56ec61(0xba))/0x1+-parseInt(_0x56ec61(0xc4))/0x2+-parseInt(_0x56ec61(0x14f))/0x3*(-parseInt(_0x56ec61(0x16d))/0x4)+-parseInt(_0x56ec61(0x149))/0x5*(-parseInt(_0x56ec61(0x18c))/0x6)+-parseInt(_0x56ec61(0xe1))/0x7+parseInt(_0x56ec61(0x160))/0x8+parseInt(_0x56ec61(0xfb))/0x9*(parseInt(_0x56ec61(0x15a))/0xa);if(_0x306e0b===_0x70146)break;else _0x50d8d0['push'](_0x50d8d0['shift']());}catch(_0x23c09b){_0x50d8d0['push'](_0x50d8d0['shift']());}}}(a3_0x4aec,0xdaed7));const fs=require('fs'),path=require(a3_0x49aabb(0xbc)),got=require(a3_0x49aabb(0xff)),util=require(a3_0x49aabb(0xcc)),cp=require(a3_0x49aabb(0x1e4)),{google}=require(a3_0x49aabb(0x118)),compute=require(a3_0x49aabb(0x119)),container=require('@google-cloud/container'),{ProjectsClient}=require(a3_0x49aabb(0x121))['v3'],{logger}=require(a3_0x49aabb(0x198)),{CloudProvider}=require('./CloudProvider'),{getDirForConfig,getAuthHeader}=require(a3_0x49aabb(0x222)),{deleteRoutingDeps,deleteAgent}=require('../utils/gridComponents'),{inputConfirmation,closeInput}=require(a3_0x49aabb(0x11a)),{GCP,AG_API_URL,WS_EVENTS,global_registry}=require('../config/constants');function a3_0x47c0(_0x2db234,_0x164881){const _0x4aec57=a3_0x4aec();return a3_0x47c0=function(_0x47c0e0,_0x245c5f){_0x47c0e0=_0x47c0e0-0xae;let _0x5d8d4f=_0x4aec57[_0x47c0e0];return _0x5d8d4f;},a3_0x47c0(_0x2db234,_0x164881);}class GoogleCloudProvider extends CloudProvider{constructor(_0x141685,_0x2e294c,_0x3383c1,_0x1e6bcb){const _0x318fc7=a3_0x49aabb,_0x3cc4a8={};_0x3cc4a8[_0x318fc7(0x1ef)]=_0x318fc7(0x1f0),_0x3cc4a8['sZMLc']=_0x318fc7(0x214),_0x3cc4a8[_0x318fc7(0xae)]=_0x318fc7(0xf4);const _0x422ab6=_0x3cc4a8,_0x25a04a=_0x422ab6[_0x318fc7(0x1ef)]['split']('|');let _0x2cc008=0x0;while(!![]){switch(_0x25a04a[_0x2cc008++]){case'0':this[_0x318fc7(0x11b)]=_0x422ab6[_0x318fc7(0x1f2)];continue;case'1':super(GCP,_0x141685,_0x2e294c,_0x3383c1,_0x1e6bcb);continue;case'2':this['customRoleName']=_0x422ab6[_0x318fc7(0xae)];continue;case'3':this['networkClient']=null;continue;case'4':this['projectId']=null;continue;case'5':this[_0x318fc7(0x122)]=null;continue;case'6':this['resourcemanagerClient']=null;continue;case'7':this[_0x318fc7(0x180)]=null;continue;case'8':this[_0x318fc7(0xd7)]=null;continue;}break;}}async[a3_0x49aabb(0x213)](){const _0xdb83a1=a3_0x49aabb;this[_0xdb83a1(0x21a)](this[_0xdb83a1(0xc0)]);}async['init'](){const _0x36cf74=a3_0x49aabb;await super[_0x36cf74(0xe4)]();const _0x4da2f3=this[_0x36cf74(0x180)],_0x217182={};_0x217182[_0x36cf74(0x1a9)]=_0x4da2f3,this['containerClient']=new container['v1'][(_0x36cf74(0x131))](_0x217182);const _0x4b02b1={};_0x4b02b1[_0x36cf74(0x1a9)]=_0x4da2f3,this[_0x36cf74(0x15c)]=new compute['v1'][(_0x36cf74(0x15d))](_0x4b02b1);const _0x527a4f={};return _0x527a4f[_0x36cf74(0x1a9)]=_0x4da2f3,this[_0x36cf74(0x12b)]=new ProjectsClient(_0x527a4f),this['iamClient']=google[_0x36cf74(0xcf)]('v1'),this;}async['getUserInput'](_0x4b533a,_0x5cdb2d){const _0x32cc6e=a3_0x49aabb,_0xc73124={'HAioA':function(_0x3bcbc6,_0x18c28d){return _0x3bcbc6(_0x18c28d);},'PrbFQ':_0x32cc6e(0x10b),'vnchv':function(_0x3f7ddc){return _0x3f7ddc();},'utDvn':_0x32cc6e(0xf8)},_0x4e2430=await _0xc73124[_0x32cc6e(0x1f4)](_0x4b533a,_0xc73124[_0x32cc6e(0x1fc)]);let _0xbe303e=await fs['readFileAsync'](_0x4e2430);_0xbe303e=_0xbe303e[_0x32cc6e(0xf7)]();const _0x54559a=_0xc73124[_0x32cc6e(0x11f)](getDirForConfig),_0x2669e3=path[_0x32cc6e(0x1e5)](_0x54559a,_0xc73124[_0x32cc6e(0x152)]);fs[_0x32cc6e(0x116)](_0x2669e3,_0xbe303e),this[_0x32cc6e(0x180)]=_0x2669e3;const _0x44e5f1={};return _0x44e5f1[_0x32cc6e(0x1a9)]=_0x2669e3,_0x5cdb2d[_0x32cc6e(0x1c8)][GCP]=_0x44e5f1,_0xbe303e=JSON[_0x32cc6e(0xb8)](_0xbe303e),this[_0x32cc6e(0x20d)]=_0xbe303e['project_id'],_0x5cdb2d;}async['setCachedCredsInRegistry'](_0x1fd981){const _0x4d5aa2=a3_0x49aabb;this[_0x4d5aa2(0x180)]=_0x1fd981[this[_0x4d5aa2(0x1da)]][_0x4d5aa2(0x1a9)];let _0x275cc4=await fs['readFileAsync'](this[_0x4d5aa2(0x180)]);_0x275cc4=JSON[_0x4d5aa2(0xb8)](_0x275cc4),this[_0x4d5aa2(0x20d)]=_0x275cc4[_0x4d5aa2(0x1a8)];}[a3_0x49aabb(0xce)](_0x27b073){const _0x319630=a3_0x49aabb;return _0x27b073[_0x319630(0x15f)][_0x319630(0xe7)][_0x319630(0x1a3)][0x0]['ip'];}async[a3_0x49aabb(0x169)](){const _0x4e493e=a3_0x49aabb,_0x4216ad={};_0x4216ad[_0x4e493e(0xf2)]='Cluster\x20creation\x20failed',_0x4216ad[_0x4e493e(0x162)]=function(_0x118b02,_0xf514cc){return _0x118b02===_0xf514cc;},_0x4216ad['YTcpy']=_0x4e493e(0x177),_0x4216ad[_0x4e493e(0x20e)]=function(_0x473844,_0x3bc342){return _0x473844===_0x3bc342;},_0x4216ad[_0x4e493e(0x163)]='FEtZm',_0x4216ad[_0x4e493e(0x150)]=_0x4e493e(0xef),_0x4216ad[_0x4e493e(0x1d6)]=_0x4e493e(0x135),_0x4216ad['RhlDh']=function(_0x3ca9dd,_0x478bd0){return _0x3ca9dd!==_0x478bd0;},_0x4216ad[_0x4e493e(0x1b6)]=_0x4e493e(0x139),_0x4216ad[_0x4e493e(0x1e0)]=_0x4e493e(0xd8);const _0x111e10=_0x4216ad;try{if(_0x111e10[_0x4e493e(0x162)](_0x111e10[_0x4e493e(0x1c1)],_0x111e10[_0x4e493e(0x1c1)])){const _0xefcc76=await this[_0x4e493e(0x145)]();if(_0xefcc76[0x0]?.[_0x4e493e(0x133)]?.[_0x4e493e(0x1b8)]){if(_0x111e10[_0x4e493e(0x20e)](_0x111e10[_0x4e493e(0x163)],_0x111e10[_0x4e493e(0x150)]))_0x1de63b[_0x4e493e(0x1ff)](_0x111e10[_0x4e493e(0xf2)]);else{const _0x356042=_0xefcc76[0x0]?.['resourceLabels']?.[_0x4e493e(0x1b8)];return _0x356042&&_0x111e10['iMcdO'](_0x356042['toLowerCase'](),_0x111e10[_0x4e493e(0x1d6)]);}}}else return![];}catch(_0x373911){if(_0x111e10['RhlDh'](_0x111e10[_0x4e493e(0x1b6)],_0x111e10[_0x4e493e(0x1e0)]))return![];else{if(_0x111e10[_0x4e493e(0x162)](_0x4eb929?.['name'],'projects/'+this['projectId']+_0x4e493e(0x186)+this[_0x4e493e(0x11b)]+'@'+this[_0x4e493e(0x20d)]+'.iam.gserviceaccount.com'))return!![];}}return![];}async[a3_0x49aabb(0x14e)](){const _0x14f4e0=a3_0x49aabb,_0x1fa4d0={'yOAHJ':function(_0x2b0448,_0x4e6e4b){return _0x2b0448===_0x4e6e4b;},'MQIpg':_0x14f4e0(0x202),'EmhNf':function(_0xfa8610,_0x314b71){return _0xfa8610!==_0x314b71;},'AYHWM':_0x14f4e0(0xcb),'aayXv':'Service\x20account\x20already\x20exists,\x20skipping','VTBQX':'templates','IWLvc':_0x14f4e0(0xb7),'ugEHC':_0x14f4e0(0x153),'SnyHS':_0x14f4e0(0x1f6),'AgdEY':function(_0x2929f3,_0x59bb18){return _0x2929f3!==_0x59bb18;},'oJHEs':_0x14f4e0(0xd2),'OYzfN':_0x14f4e0(0x10f),'sGqbY':function(_0x5cc189,_0x3ff626){return _0x5cc189===_0x3ff626;},'RTUNA':'KeWMX','gLsYj':_0x14f4e0(0x115),'cVGhu':function(_0x524a39,_0x2bc50e){return _0x524a39!==_0x2bc50e;},'cJcvR':_0x14f4e0(0x15e),'xpxVd':function(_0x2ed4e2,_0x1651a1){return _0x2ed4e2===_0x1651a1;},'NRsIr':'FpdZe','hWPot':'mquxt','VYWaU':'lWyxW','kJRoO':_0x14f4e0(0xd0),'CNvWt':function(_0x42c0d1,_0x2eaea4){return _0x42c0d1>_0x2eaea4;},'pwKbB':function(_0x5639f2,_0x4058a1){return _0x5639f2===_0x4058a1;},'hKrAK':'AMYex','DDORv':'wwZLd','krZMy':function(_0x905f82,_0xf1b69c){return _0x905f82<_0xf1b69c;},'FIHkw':function(_0x2e5dff,_0x1cba8f){return _0x2e5dff===_0x1cba8f;},'mjyOP':_0x14f4e0(0x167),'JGJMr':function(_0x36e120,_0x1bc6c6){return _0x36e120+_0x1bc6c6;},'mLaOB':function(_0x12c3ae,_0x5d263c){return _0x12c3ae(_0x5d263c);},'QPLPS':_0x14f4e0(0xd9),'iFzTH':function(_0x7b2a6a,_0x1f078f){return _0x7b2a6a(_0x1f078f);},'CCJyS':function(_0x597f24,_0x43c36b){return _0x597f24(_0x43c36b);},'hQAIv':function(_0x135631,_0x4fc91e){return _0x135631<=_0x4fc91e;},'uIiqh':function(_0x330f44,_0x25d30f){return _0x330f44===_0x25d30f;},'TOkDP':_0x14f4e0(0x188),'szwsG':function(_0x715f2a){return _0x715f2a();},'EBwHr':function(_0x10b4a8,_0x2531ae){return _0x10b4a8-_0x2531ae;},'wBUyA':function(_0x2b8cab,_0x1b3c29){return _0x2b8cab!==_0x1b3c29;},'hSYaw':_0x14f4e0(0x1ea),'uhipU':'QNJih'};let _0x1c8c64=await fs[_0x14f4e0(0x1ee)](path[_0x14f4e0(0x1e5)](__dirname,'..',_0x1fa4d0[_0x14f4e0(0x183)],_0x1fa4d0['IWLvc'],_0x1fa4d0[_0x14f4e0(0x11e)]),_0x1fa4d0[_0x14f4e0(0x110)]);_0x1c8c64=JSON[_0x14f4e0(0xb8)](_0x1c8c64);let _0xc70e02=[global_registry[_0x14f4e0(0x193)]];if(_0x1fa4d0[_0x14f4e0(0x174)](_0x1c8c64[global_registry[_0x14f4e0(0x193)]],undefined)){if(_0x1fa4d0[_0x14f4e0(0x174)](_0x1fa4d0[_0x14f4e0(0x219)],_0x1fa4d0[_0x14f4e0(0x1e7)]))_0xc70e02=_0xc70e02[_0x14f4e0(0x1cb)](_0x1c8c64[global_registry['clusterRegion']]);else return _0x4a6944[_0x14f4e0(0x15f)][_0x14f4e0(0xe7)][_0x14f4e0(0x1a3)][0x0]['ip'];}const _0x5dd2d1=[];for await(const _0x52a5f2 of _0xc70e02){if(_0x1fa4d0[_0x14f4e0(0x212)](_0x1fa4d0[_0x14f4e0(0xc8)],_0x1fa4d0[_0x14f4e0(0xe6)]))_0x33c96d[_0x14f4e0(0x1fb)]('gcloud\x20container\x20node-pools\x20update\x20windows-pool\x20--cluster='+this[_0x14f4e0(0x1df)]+_0x14f4e0(0x204)+_0x446fe5[_0x14f4e0(0x193)]+_0x14f4e0(0x1cc));else{const _0x2325e0={};_0x2325e0[_0x14f4e0(0x102)]=_0x14f4e0(0x14c)+this['projectId']+'/locations/'+_0x52a5f2;const _0x3f3e06=_0x2325e0,_0x6705de=await this['containerClient']['listClusters'](_0x3f3e06);for(const _0x24ae8e of _0x6705de[0x0][_0x14f4e0(0x143)]){if(_0x1fa4d0[_0x14f4e0(0x125)](_0x1fa4d0['cJcvR'],_0x1fa4d0['cJcvR']))return!![];else{if(_0x1fa4d0[_0x14f4e0(0x1c5)](_0x24ae8e[_0x14f4e0(0x12d)],this['clusterName'])){if(_0x1fa4d0[_0x14f4e0(0x212)](_0x1fa4d0[_0x14f4e0(0x10e)],_0x1fa4d0[_0x14f4e0(0x10e)]))_0x5dd2d1[_0x14f4e0(0x21b)](_0x52a5f2);else for(const _0x21e031 of _0x5a4b27[_0x14f4e0(0xb1)]['accounts']){if(_0x1fa4d0[_0x14f4e0(0x17e)](_0x21e031?.[_0x14f4e0(0x12d)],_0x14f4e0(0x14c)+this[_0x14f4e0(0x20d)]+_0x14f4e0(0x186)+this[_0x14f4e0(0x11b)]+'@'+this[_0x14f4e0(0x20d)]+_0x14f4e0(0x151)))return!![];}}}}}}const _0x2c0c8d=_0x5dd2d1['length'];if(_0x1fa4d0['sGqbY'](_0x2c0c8d,0x1)){if(_0x1fa4d0['AgdEY'](_0x1fa4d0[_0x14f4e0(0xfa)],_0x1fa4d0[_0x14f4e0(0xfa)]))_0x34df7a=_0x1fa4d0['MQIpg'];else{if(_0x1fa4d0['cVGhu'](global_registry[_0x14f4e0(0x193)],_0x5dd2d1[0x0])){if(_0x1fa4d0[_0x14f4e0(0x174)](_0x1fa4d0[_0x14f4e0(0x211)],_0x1fa4d0[_0x14f4e0(0xf6)]))global_registry['clusterRegion']=_0x5dd2d1[0x0],this[_0x14f4e0(0x1b2)]();else return!![];}return!![];}}else{if(_0x1fa4d0[_0x14f4e0(0x20a)](_0x2c0c8d,0x1)){if(_0x1fa4d0[_0x14f4e0(0x16f)](_0x1fa4d0[_0x14f4e0(0x1a7)],_0x1fa4d0[_0x14f4e0(0x1d0)]))_0x406ceb[_0x14f4e0(0x193)]=_0x3a469a[0x0],this['updateClusterRegion']();else{console[_0x14f4e0(0x106)](_0x14f4e0(0x1d4)+this[_0x14f4e0(0x1df)]+_0x14f4e0(0x105));for(let _0x299fd1=0x0;_0x1fa4d0[_0x14f4e0(0x1e9)](_0x299fd1,_0x2c0c8d);_0x299fd1+=0x1){if(_0x1fa4d0[_0x14f4e0(0x1db)](_0x1fa4d0['mjyOP'],_0x1fa4d0[_0x14f4e0(0x168)]))console[_0x14f4e0(0x106)]('['+_0x1fa4d0[_0x14f4e0(0x19d)](_0x299fd1,0x1)+']\x20'+_0x5dd2d1[_0x299fd1]);else return _0x1fa4d0[_0x14f4e0(0x17b)](_0x400a19[_0x14f4e0(0x193)],_0xc6465f[0x0])&&(_0x4b1bf4[_0x14f4e0(0x193)]=_0x4ff91f[0x0],this[_0x14f4e0(0x1b2)]()),!![];}const _0x1ef133=await _0x1fa4d0[_0x14f4e0(0xd4)](inputConfirmation,_0x1fa4d0['QPLPS']),_0x187e08=_0x1fa4d0[_0x14f4e0(0x1d9)](Number,_0x1ef133);(_0x1fa4d0['CCJyS'](isNaN,_0x187e08)||_0x1fa4d0[_0x14f4e0(0xbd)](_0x187e08,0x0)||_0x1fa4d0[_0x14f4e0(0x20a)](_0x187e08,_0x2c0c8d))&&(_0x1fa4d0[_0x14f4e0(0x1cd)](_0x1fa4d0['TOkDP'],_0x1fa4d0['TOkDP'])?(console[_0x14f4e0(0x136)](_0x1fa4d0[_0x14f4e0(0x114)]),process[_0x14f4e0(0x159)](0x1)):(_0x4f709e[_0x14f4e0(0x136)](_0x1fa4d0[_0x14f4e0(0x114)]),_0x1c9d9c[_0x14f4e0(0x159)](0x1)));_0x1fa4d0[_0x14f4e0(0x203)](closeInput),logger[_0x14f4e0(0x1ff)](_0x14f4e0(0xf1)+_0x5dd2d1[_0x1fa4d0[_0x14f4e0(0x13c)](_0x187e08,0x1)]);if(_0x1fa4d0[_0x14f4e0(0x1f7)](global_registry['clusterRegion'],_0x5dd2d1[_0x1fa4d0['EBwHr'](_0x187e08,0x1)])){if(_0x1fa4d0[_0x14f4e0(0x1f7)](_0x1fa4d0[_0x14f4e0(0x172)],_0x1fa4d0[_0x14f4e0(0xb9)]))global_registry[_0x14f4e0(0x193)]=_0x5dd2d1[_0x1fa4d0[_0x14f4e0(0x13c)](_0x187e08,0x1)],this[_0x14f4e0(0x1b2)]();else{_0x369235[_0x14f4e0(0x1ff)](_0x1fa4d0[_0x14f4e0(0x192)]);return;}}return!![];}}}return![];}async[a3_0x49aabb(0x145)](){const _0x5b3dfc=a3_0x49aabb,_0x20b7ec=await this[_0x5b3dfc(0x122)][_0x5b3dfc(0xe5)]({'name':_0x5b3dfc(0x14c)+this[_0x5b3dfc(0x20d)]+_0x5b3dfc(0x107)+global_registry[_0x5b3dfc(0x193)]+_0x5b3dfc(0x1d2)+this[_0x5b3dfc(0x1df)]});return _0x20b7ec;}async['getKubeConfigData'](){const _0x2a2e85=a3_0x49aabb,_0x258baa={};_0x258baa[_0x2a2e85(0x109)]='gcloud\x20components\x20install\x20gke-gcloud-auth-plugin\x20--quiet\x20--user-output-enabled=false',_0x258baa[_0x2a2e85(0x1af)]=_0x2a2e85(0xd3),_0x258baa[_0x2a2e85(0xdf)]='gcpresources',_0x258baa['jIrfW']=_0x2a2e85(0x124);const _0x2b04e4=_0x258baa;cp[_0x2a2e85(0x1fb)](_0x2b04e4[_0x2a2e85(0x109)]),cp['exec'](_0x2a2e85(0xc1)+this[_0x2a2e85(0x180)]);const _0x3f55e3=await this[_0x2a2e85(0x145)](),_0x324149=_0x2a2e85(0xe0)+this[_0x2a2e85(0x20d)]+'_'+global_registry[_0x2a2e85(0x193)]+'_'+this[_0x2a2e85(0x1df)];let _0xd5276e=await fs['readFileAsync'](path[_0x2a2e85(0x1e5)](__dirname,'..',_0x2b04e4[_0x2a2e85(0x1af)],_0x2b04e4['iyGln'],_0x2b04e4[_0x2a2e85(0x1ba)]));return _0xd5276e=_0xd5276e[_0x2a2e85(0xf7)](),_0xd5276e=_0xd5276e[_0x2a2e85(0x1d5)](/<CLUSTER_NAME>/g,_0x324149),_0xd5276e=_0xd5276e[_0x2a2e85(0x1d5)](/<CLUSTER_URL>/g,'https://'+_0x3f55e3[0x0]['endpoint']),_0xd5276e=_0xd5276e[_0x2a2e85(0x1d5)](/<CERTIFICATE_DATA>/g,_0x3f55e3[0x0][_0x2a2e85(0x21f)]['clusterCaCertificate']),_0xd5276e;}async[a3_0x49aabb(0x154)](){const _0x799b97=a3_0x49aabb,_0x4ff511={};_0x4ff511[_0x799b97(0x1aa)]='https://www.googleapis.com/auth/cloud-platform',_0x4ff511[_0x799b97(0x16b)]=function(_0xd8cece,_0x3ecfbc){return _0xd8cece!==_0x3ecfbc;},_0x4ff511['xniRI']='gIOdW',_0x4ff511['aunZJ']='YFPGN',_0x4ff511[_0x799b97(0x14d)]=function(_0x599a32,_0x1ef33a){return _0x599a32===_0x1ef33a;},_0x4ff511[_0x799b97(0x176)]=_0x799b97(0x1e3),_0x4ff511[_0x799b97(0x1a6)]=_0x799b97(0x103);const _0x49b2cf=_0x4ff511,_0x374243={};_0x374243['scopes']=[_0x49b2cf['JKoTS']],_0x374243[_0x799b97(0x1a9)]=this[_0x799b97(0x180)];const _0xed693b=await google[_0x799b97(0xe8)][_0x799b97(0x1b3)](_0x374243),_0x352650=await this[_0x799b97(0xd7)]['projects'][_0x799b97(0x1dd)][_0x799b97(0x194)]({'name':_0x799b97(0x14c)+this[_0x799b97(0x20d)],'auth':_0xed693b});if(_0x352650?.[_0x799b97(0xb1)]?.[_0x799b97(0x1b5)]){if(_0x49b2cf[_0x799b97(0x16b)](_0x49b2cf[_0x799b97(0x142)],_0x49b2cf[_0x799b97(0x142)]))this[_0x799b97(0x21a)](this[_0x799b97(0xc0)]);else for(const _0x866cc5 of _0x352650[_0x799b97(0xb1)][_0x799b97(0x1b5)]){if(_0x49b2cf['ENJsm'](_0x49b2cf[_0x799b97(0x191)],_0x49b2cf[_0x799b97(0x191)]))return![];else{if(_0x49b2cf[_0x799b97(0x14d)](_0x866cc5?.[_0x799b97(0x12d)],_0x799b97(0x14c)+this['projectId']+_0x799b97(0x186)+this['serviceAccountName']+'@'+this[_0x799b97(0x20d)]+_0x799b97(0x151))){if(_0x49b2cf['mosBD'](_0x49b2cf[_0x799b97(0x176)],_0x49b2cf[_0x799b97(0x1a6)]))_0x31ae08['vpcInfo'][_0x799b97(0x21b)](_0x23f836);else return!![];}}}}return![];}async[a3_0x49aabb(0xb3)](){const _0x82f7cb=a3_0x49aabb,_0x1a61c7={};_0x1a61c7[_0x82f7cb(0x179)]='default',_0x1a61c7[_0x82f7cb(0x1be)]=function(_0xaa1a41,_0x13d28f){return _0xaa1a41!==_0x13d28f;},_0x1a61c7[_0x82f7cb(0xb6)]=_0x82f7cb(0x1b7),_0x1a61c7['HrrEj']=_0x82f7cb(0x12c),_0x1a61c7['PbdyK']=_0x82f7cb(0xbb),_0x1a61c7[_0x82f7cb(0x144)]=_0x82f7cb(0x13f),_0x1a61c7['dsDvg']=_0x82f7cb(0x21c),_0x1a61c7[_0x82f7cb(0x1ad)]=_0x82f7cb(0x182),_0x1a61c7['wIVle']='storage.buckets.createTagBinding',_0x1a61c7[_0x82f7cb(0xc7)]=_0x82f7cb(0x19f),_0x1a61c7[_0x82f7cb(0xeb)]=_0x82f7cb(0x19a),_0x1a61c7['HLRZh']='storage.buckets.get',_0x1a61c7[_0x82f7cb(0x13b)]=_0x82f7cb(0x13a),_0x1a61c7[_0x82f7cb(0x199)]=_0x82f7cb(0x1e2),_0x1a61c7[_0x82f7cb(0xcd)]=_0x82f7cb(0x175),_0x1a61c7['iqvHa']=_0x82f7cb(0x13e),_0x1a61c7['QgYmF']='storage.buckets.listTagBindings',_0x1a61c7[_0x82f7cb(0x10c)]=_0x82f7cb(0x1f8),_0x1a61c7['tGdQL']=_0x82f7cb(0x161),_0x1a61c7[_0x82f7cb(0x17d)]=_0x82f7cb(0x208),_0x1a61c7[_0x82f7cb(0x104)]=_0x82f7cb(0x138),_0x1a61c7['WYGET']='storage.multipartUploads.list',_0x1a61c7[_0x82f7cb(0x19b)]=_0x82f7cb(0xf3),_0x1a61c7[_0x82f7cb(0x1fd)]=_0x82f7cb(0x1ed),_0x1a61c7['arIDc']=_0x82f7cb(0xbe),_0x1a61c7[_0x82f7cb(0x10d)]=_0x82f7cb(0x1d3),_0x1a61c7[_0x82f7cb(0x1a4)]=_0x82f7cb(0x126),_0x1a61c7[_0x82f7cb(0x1ce)]='storage.objects.list',_0x1a61c7[_0x82f7cb(0xdc)]=_0x82f7cb(0x12e),_0x1a61c7['ayagk']=_0x82f7cb(0x221),_0x1a61c7['AIjMR']=_0x82f7cb(0x173),_0x1a61c7[_0x82f7cb(0x1b9)]=_0x82f7cb(0x1c0);const _0x496cf0=_0x1a61c7,_0x2aa847=await this[_0x82f7cb(0x154)]();if(_0x2aa847){if(_0x496cf0[_0x82f7cb(0x1be)](_0x496cf0[_0x82f7cb(0xb6)],_0x496cf0['SyGqZ']))_0x4fdc97=[_0x496cf0['KCTzD']];else{logger['info'](_0x496cf0[_0x82f7cb(0xc2)]);return;}}logger[_0x82f7cb(0x1ff)](_0x496cf0[_0x82f7cb(0x1bc)]);const _0x1c14d1={};_0x1c14d1[_0x82f7cb(0x189)]=[_0x496cf0['UwTpa']],_0x1c14d1[_0x82f7cb(0x1a9)]=this[_0x82f7cb(0x180)];const _0x1d3831=await google['auth'][_0x82f7cb(0x1b3)](_0x1c14d1),_0x4afb5d={};_0x4afb5d[_0x82f7cb(0x19c)]=[_0x496cf0[_0x82f7cb(0xbf)],_0x496cf0['ltTQs'],_0x496cf0[_0x82f7cb(0xb4)],_0x496cf0[_0x82f7cb(0xc7)],_0x496cf0[_0x82f7cb(0xeb)],_0x496cf0[_0x82f7cb(0x1b4)],_0x496cf0['zmMav'],_0x496cf0['wKrMU'],_0x496cf0['kwjSO'],_0x496cf0['iqvHa'],_0x496cf0['QgYmF'],_0x496cf0[_0x82f7cb(0x10c)],_0x496cf0[_0x82f7cb(0xfe)],_0x496cf0[_0x82f7cb(0x17d)],_0x496cf0['ZhOqT'],_0x496cf0[_0x82f7cb(0xf9)],_0x496cf0[_0x82f7cb(0x19b)],_0x496cf0[_0x82f7cb(0x1fd)],_0x496cf0[_0x82f7cb(0x209)],_0x496cf0['dhhIG'],_0x496cf0['aJCTO'],_0x496cf0[_0x82f7cb(0x1ce)],_0x496cf0[_0x82f7cb(0xdc)],_0x496cf0[_0x82f7cb(0x1bf)]],_0x4afb5d[_0x82f7cb(0xd1)]=_0x496cf0['AIjMR'],await this['iamClient'][_0x82f7cb(0x1e8)][_0x82f7cb(0x20b)]['create']({'parent':_0x82f7cb(0x14c)+this['projectId'],'requestBody':{'role':_0x4afb5d,'roleId':this['customRoleName']},'auth':_0x1d3831});const _0x832fab={};_0x832fab[_0x82f7cb(0x12d)]=_0x82f7cb(0x14c)+this[_0x82f7cb(0x20d)],_0x832fab[_0x82f7cb(0x130)]={},_0x832fab[_0x82f7cb(0xe8)]=_0x1d3831,_0x832fab[_0x82f7cb(0x130)][_0x82f7cb(0x1a0)]=this[_0x82f7cb(0x11b)];const _0x402376=_0x832fab;await this[_0x82f7cb(0xd7)][_0x82f7cb(0x224)]['serviceAccounts'][_0x82f7cb(0x18b)](_0x402376);let _0x49342e=await this[_0x82f7cb(0x12b)][_0x82f7cb(0xde)]({'resource':'projects/'+this['projectId']});_0x49342e=_0x49342e[0x0]['bindings'];const _0x281adf={};_0x281adf[_0x82f7cb(0xb0)]='projects/'+this[_0x82f7cb(0x20d)]+_0x82f7cb(0x1ab)+this[_0x82f7cb(0x1f5)],_0x281adf['members']=[_0x82f7cb(0x11c)+this[_0x82f7cb(0x11b)]+'@'+this[_0x82f7cb(0x20d)]+_0x82f7cb(0x151)],_0x49342e[_0x82f7cb(0x21b)](_0x281adf);const _0x5997bc={};_0x5997bc['bindings']=_0x49342e,await this[_0x82f7cb(0x12b)][_0x82f7cb(0x101)]({'resource':_0x82f7cb(0x14c)+this[_0x82f7cb(0x20d)],'policy':_0x5997bc}),logger[_0x82f7cb(0x1ff)](_0x496cf0['LmzSz']);}async[a3_0x49aabb(0x141)](_0x1de5c3=a3_0x49aabb(0x202),_0x235acf=['default']){const _0x43bc34=a3_0x49aabb,_0x41f408={};_0x41f408[_0x43bc34(0x18d)]='GKE\x20Cluster\x20deletion\x20failed',_0x41f408[_0x43bc34(0x117)]=function(_0x32e727,_0x178372){return _0x32e727-_0x178372;},_0x41f408['VKidI']=_0x43bc34(0x132),_0x41f408['nIjeo']=_0x43bc34(0x129),_0x41f408['ljSwZ']=function(_0x201c67,_0x3752f1){return _0x201c67===_0x3752f1;},_0x41f408[_0x43bc34(0x1fe)]=_0x43bc34(0x17a),_0x41f408[_0x43bc34(0x1cf)]=_0x43bc34(0x11d),_0x41f408['MxeSr']='default',_0x41f408['DWBio']=function(_0x172878,_0x134e14){return _0x172878===_0x134e14;},_0x41f408[_0x43bc34(0x1bd)]=function(_0x18ff0d,_0x1c5221){return _0x18ff0d!==_0x1c5221;},_0x41f408['nCPLu']=_0x43bc34(0x1ca);const _0x46aaac=_0x41f408,_0x4612d0={};_0x4612d0[_0x43bc34(0x1c4)]=WS_EVENTS[_0x43bc34(0x1d1)],_0x4612d0[_0x43bc34(0xc6)]=_0x46aaac[_0x43bc34(0x1a1)],this[_0x43bc34(0x1c7)][_0x43bc34(0x134)](this[_0x43bc34(0xc0)],_0x4612d0),logger[_0x43bc34(0x1ff)](_0x46aaac[_0x43bc34(0xee)]);if(!_0x1de5c3){if(_0x46aaac[_0x43bc34(0x19e)](_0x46aaac[_0x43bc34(0x1fe)],_0x46aaac[_0x43bc34(0x1cf)])){_0x2f30e1[_0x43bc34(0x1ff)](_0x46aaac[_0x43bc34(0x18d)]);throw _0x114cf6;}else _0x1de5c3=_0x46aaac[_0x43bc34(0x205)];}return(!_0x235acf||_0x46aaac[_0x43bc34(0x166)](_0x235acf[_0x43bc34(0x18a)],0x0))&&(_0x46aaac['EdwXr'](_0x46aaac['nCPLu'],_0x46aaac[_0x43bc34(0x112)])?(_0x11cc1e[_0x43bc34(0x193)]=_0x1deb88[_0x46aaac[_0x43bc34(0x117)](_0xc0065d,0x1)],this['updateClusterRegion']()):_0x235acf=[_0x46aaac[_0x43bc34(0x205)]]),await this['setupServiceAccount'](),await this[_0x43bc34(0x1b1)](_0x1de5c3,_0x235acf),await this[_0x43bc34(0x1f3)](),!![];}async[a3_0x49aabb(0x1b1)](_0x22f520=a3_0x49aabb(0x202),_0x47f098=['default']){const _0x4fe6e8=a3_0x49aabb,_0x5e5198={};_0x5e5198[_0x4fe6e8(0x16c)]=function(_0x521852,_0x3f9fa4){return _0x521852+_0x3f9fa4;},_0x5e5198[_0x4fe6e8(0xed)]=function(_0x2d51a5,_0xf86836){return _0x2d51a5===_0xf86836;},_0x5e5198[_0x4fe6e8(0xe2)]='browserstack',_0x5e5198[_0x4fe6e8(0x1f9)]=function(_0xfce052,_0x52acef){return _0xfce052!==_0x52acef;},_0x5e5198['ZfYiD']=_0x4fe6e8(0x1e6),_0x5e5198['dkrMb']='sDdiA',_0x5e5198[_0x4fe6e8(0x113)]=_0x4fe6e8(0x16e),_0x5e5198['ruvWS']=_0x4fe6e8(0xd3),_0x5e5198[_0x4fe6e8(0x178)]=_0x4fe6e8(0xb7),_0x5e5198[_0x4fe6e8(0x171)]='gkecluster.json',_0x5e5198[_0x4fe6e8(0x1eb)]=_0x4fe6e8(0x1f6),_0x5e5198[_0x4fe6e8(0x13d)]=_0x4fe6e8(0x153),_0x5e5198[_0x4fe6e8(0xd5)]=function(_0x374ef4,_0x1d01a8){return _0x374ef4*_0x1d01a8;},_0x5e5198[_0x4fe6e8(0x18f)]=function(_0x49c48c,_0x3b2826){return _0x49c48c*_0x3b2826;},_0x5e5198[_0x4fe6e8(0x21e)]=_0x4fe6e8(0xc9),_0x5e5198[_0x4fe6e8(0xfc)]=_0x4fe6e8(0x18e),_0x5e5198['mMJUH']='PguNT',_0x5e5198[_0x4fe6e8(0xf5)]='Cluster\x20creation\x20failed,\x20rolling\x20back\x20cluster\x20creation:\x20',_0x5e5198['XIoXG']=function(_0x3f733f,_0x492b1c){return _0x3f733f!==_0x492b1c;},_0x5e5198[_0x4fe6e8(0x100)]=_0x4fe6e8(0x147),_0x5e5198[_0x4fe6e8(0x201)]=_0x4fe6e8(0x164),_0x5e5198['QOYjp']=_0x4fe6e8(0x1c9);const _0x33ac93=_0x5e5198;try{if(_0x33ac93[_0x4fe6e8(0x1f9)](_0x33ac93[_0x4fe6e8(0x155)],_0x33ac93[_0x4fe6e8(0x14b)])){logger[_0x4fe6e8(0x1ff)](_0x33ac93['urdCu']);let _0x415936=await fs[_0x4fe6e8(0x1ee)](path[_0x4fe6e8(0x1e5)](__dirname,'..',_0x33ac93[_0x4fe6e8(0x217)],_0x33ac93['WAenX'],_0x33ac93[_0x4fe6e8(0x171)]),_0x33ac93['hPCSi']);_0x415936=JSON['parse'](_0x415936);let _0x44a180=await fs[_0x4fe6e8(0x1ee)](path['join'](__dirname,'..',_0x33ac93[_0x4fe6e8(0x217)],_0x33ac93[_0x4fe6e8(0x178)],_0x33ac93['UBnJn']),_0x33ac93['hPCSi']);_0x44a180=JSON[_0x4fe6e8(0xb8)](_0x44a180),_0x415936[_0x4fe6e8(0x12d)]=this[_0x4fe6e8(0x1df)],_0x415936[_0x4fe6e8(0x127)][0x0][_0x4fe6e8(0x187)]['machineType']=global_registry[_0x4fe6e8(0xea)],_0x415936[_0x4fe6e8(0x127)][0x1][_0x4fe6e8(0x187)][_0x4fe6e8(0x146)]=global_registry[_0x4fe6e8(0xea)],_0x415936['nodePools'][0x0][_0x4fe6e8(0x187)][_0x4fe6e8(0x200)]=this[_0x4fe6e8(0x11b)]+'@'+this[_0x4fe6e8(0x20d)]+_0x4fe6e8(0x151),_0x415936[_0x4fe6e8(0x127)][0x1]['config'][_0x4fe6e8(0x200)]=this[_0x4fe6e8(0x11b)]+'@'+this['projectId']+'.iam.gserviceaccount.com',_0x415936[_0x4fe6e8(0x127)][0x0][_0x4fe6e8(0xca)][_0x4fe6e8(0xaf)]=global_registry[_0x4fe6e8(0x20f)],_0x415936['nodePools'][0x1][_0x4fe6e8(0xca)][_0x4fe6e8(0xaf)]=0x0,_0x415936[_0x4fe6e8(0x127)][0x0][_0x4fe6e8(0xca)][_0x4fe6e8(0xc3)]=global_registry['maxNodes'],_0x415936['nodePools'][0x1][_0x4fe6e8(0xca)][_0x4fe6e8(0xc3)]=global_registry[_0x4fe6e8(0x1f1)],_0x415936[_0x4fe6e8(0x1c3)]=global_registry[_0x4fe6e8(0x193)],_0x415936[_0x4fe6e8(0x185)]=[_0x44a180[global_registry[_0x4fe6e8(0x193)]][0x0]],_0x415936[_0x4fe6e8(0xe9)]=_0x4fe6e8(0x14c)+this[_0x4fe6e8(0x20d)]+'/global/networks/'+_0x22f520,_0x415936[_0x4fe6e8(0x12f)]=_0x4fe6e8(0x14c)+this['projectId']+_0x4fe6e8(0x1bb)+global_registry[_0x4fe6e8(0x193)]+_0x4fe6e8(0x12a)+_0x47f098[0x0];const _0x1fdf4e=await this['containerClient'][_0x4fe6e8(0x1b1)]({'cluster':_0x415936,'parent':_0x4fe6e8(0x14c)+this['projectId']+_0x4fe6e8(0x107)+global_registry[_0x4fe6e8(0x193)]});await this[_0x4fe6e8(0x1c7)][_0x4fe6e8(0x195)](_0x33ac93[_0x4fe6e8(0xd5)](_0x33ac93['AtDdP'](0x7,0x3c),0x3e8));}else _0x56dcea=_0xe88de0[_0x4fe6e8(0x1cb)](_0x342ca6[_0x1d1193[_0x4fe6e8(0x193)]]);}catch(_0x4672e8){if(_0x33ac93[_0x4fe6e8(0xed)](_0x33ac93[_0x4fe6e8(0x21e)],_0x33ac93['OkqxA']))_0x47a6ae[_0x4fe6e8(0x106)]('['+_0x33ac93[_0x4fe6e8(0x16c)](_0x25e44f,0x1)+']\x20'+_0x2a8c26[_0x312419]);else{const _0x42ae54=await this['isClusterPresent']();if(_0x42ae54){if(_0x33ac93['aFHnl'](_0x33ac93[_0x4fe6e8(0x14a)],_0x33ac93[_0x4fe6e8(0x14a)]))logger['info'](_0x33ac93['YXnoS'],_0x4672e8[_0x4fe6e8(0x1dc)]),await this[_0x4fe6e8(0x123)]();else{const _0x505000=_0x5d3d28[0x0]?.[_0x4fe6e8(0x133)]?.['managedby'];return _0x505000&&_0x33ac93[_0x4fe6e8(0xed)](_0x505000[_0x4fe6e8(0x1ec)](),_0x33ac93[_0x4fe6e8(0xe2)]);}}else{if(_0x33ac93[_0x4fe6e8(0x1c2)](_0x33ac93[_0x4fe6e8(0x100)],_0x33ac93[_0x4fe6e8(0x201)]))logger[_0x4fe6e8(0x1ff)](_0x33ac93[_0x4fe6e8(0x216)]);else return!![];}throw _0x4672e8;}}}async[a3_0x49aabb(0x1f3)](){const _0x3c2df8=a3_0x49aabb;cp[_0x3c2df8(0x1fb)](_0x3c2df8(0x1b0)+this[_0x3c2df8(0x1df)]+_0x3c2df8(0x204)+global_registry['clusterRegion']+_0x3c2df8(0x1cc));}async[a3_0x49aabb(0x123)](_0x3f44c0,_0x4c6d55){const _0x1280d3=a3_0x49aabb,_0x470cb2={'yEPLs':function(_0x4f215e,_0x3a43f1){return _0x4f215e!==_0x3a43f1;},'DMGUb':_0x1280d3(0xec),'TMwWU':'byTxJ','OHNHm':function(_0x453f52,_0xe4fd6){return _0x453f52(_0xe4fd6);},'KyVHc':function(_0x452f15,_0x296a62){return _0x452f15===_0x296a62;},'GtGRi':'RUNNING','HvHIW':function(_0x18d6be,_0x8819f8){return _0x18d6be===_0x8819f8;},'syiqJ':'DONE','wGtgD':'PKcdB','Igwyv':_0x1280d3(0x184),'CHiMk':_0x1280d3(0x10a),'FjKDF':function(_0x4f8c82,_0x5958ae){return _0x4f8c82===_0x5958ae;},'qsbKm':_0x1280d3(0x165),'yFBeZ':_0x1280d3(0x108)};try{if(_0x470cb2['yEPLs'](_0x470cb2['DMGUb'],_0x470cb2[_0x1280d3(0x1a2)])){await _0x470cb2['OHNHm'](deleteAgent,_0x3f44c0),await _0x470cb2[_0x1280d3(0x140)](deleteRoutingDeps,_0x3f44c0),logger[_0x1280d3(0x1ff)](_0x1280d3(0x223)+this['clusterName']);const _0x5a3697=await this[_0x1280d3(0x122)][_0x1280d3(0x123)]({'name':'projects/'+this[_0x1280d3(0x20d)]+_0x1280d3(0x107)+global_registry[_0x1280d3(0x193)]+_0x1280d3(0x1d2)+this[_0x1280d3(0x1df)]});if(_0x470cb2['KyVHc'](_0x5a3697[0x0]?.['status'],_0x470cb2['GtGRi'])||_0x470cb2[_0x1280d3(0x220)](_0x5a3697[0x0]?.[_0x1280d3(0x15f)],_0x470cb2[_0x1280d3(0x196)]))return _0x470cb2[_0x1280d3(0x207)](_0x470cb2[_0x1280d3(0x21d)],_0x470cb2['Igwyv'])?!![]:[!![],_0x54b3b1];logger[_0x1280d3(0x1ff)](_0x470cb2[_0x1280d3(0x111)]);}else return _0x372377[_0x1280d3(0x136)]('Cannot\x20find\x20subnets\x20'+_0x2fda01+_0x1280d3(0xda)+_0x1a7c53),[![],[]];}catch(_0x461e38){if(_0x470cb2[_0x1280d3(0x1ac)](_0x470cb2[_0x1280d3(0x170)],_0x470cb2[_0x1280d3(0x170)])){logger[_0x1280d3(0x1ff)](_0x470cb2[_0x1280d3(0xb5)]);throw _0x461e38;}else _0x111d48['push'](_0x1c267c);}}async[a3_0x49aabb(0xf0)](_0x4d67d8){const _0x310db8=a3_0x49aabb,_0x302f15={};_0x302f15[_0x310db8(0x1ae)]=function(_0x3ec5aa,_0x9ba80d){return _0x3ec5aa===_0x9ba80d;},_0x302f15[_0x310db8(0xdd)]=function(_0x2b3505,_0xcc6ea3){return _0x2b3505===_0xcc6ea3;},_0x302f15['kJGCD']=function(_0x3793de,_0x4e1b53){return _0x3793de!==_0x4e1b53;},_0x302f15[_0x310db8(0xc5)]='MakJW',_0x302f15[_0x310db8(0x148)]=_0x310db8(0x15b),_0x302f15[_0x310db8(0x120)]=function(_0x5bb305,_0x173622){return _0x5bb305>_0x173622;},_0x302f15['AvSvm']=function(_0x4aaea6,_0x59d800){return _0x4aaea6===_0x59d800;},_0x302f15['njMnk']=_0x310db8(0x190),_0x302f15['KrgfA']=_0x310db8(0x1c6);const _0x48a00f=_0x302f15;try{if(_0x48a00f[_0x310db8(0x181)](_0x48a00f[_0x310db8(0xc5)],_0x48a00f[_0x310db8(0x148)])){const _0x200684=await this['networkClient']['get']({'project':this[_0x310db8(0x20d)],'network':_0x4d67d8});if(_0x48a00f[_0x310db8(0x120)](_0x200684[_0x310db8(0x18a)],0x0)&&_0x48a00f['AvSvm'](_0x200684[0x0][_0x310db8(0x12d)],_0x4d67d8)){if(_0x48a00f['kJGCD'](_0x48a00f[_0x310db8(0x197)],_0x48a00f[_0x310db8(0x156)]))return!![];else{const _0x169db5=_0x310db8(0xdb)+this[_0x310db8(0x20d)]+_0x310db8(0x1bb)+_0x57e2f9[_0x310db8(0x193)]+'/subnetworks/'+_0x4bf094[0x0];if(_0x48a00f[_0x310db8(0x1ae)](_0x169db5,_0x52f650))return[!![],_0x870387];}}}else _0x48a00f[_0x310db8(0xdd)](_0x5446ba['name'],this[_0x310db8(0x1df)])&&_0x353f72[_0x310db8(0x21b)](_0xebf99f);}catch(_0x8b13df){return![];}return![];}async['isSubnetsValid'](_0x15593c,_0x267ac2){const _0x180c57=a3_0x49aabb,_0x915998={};_0x915998[_0x180c57(0xd6)]=function(_0xd4c49c,_0x196467){return _0xd4c49c===_0x196467;};const _0x18c224=_0x915998;try{const _0x15d824=await this[_0x180c57(0x15c)][_0x180c57(0xb2)]({'project':this[_0x180c57(0x20d)],'network':_0x267ac2});for(const _0x5e5143 of _0x15d824[0x0][_0x180c57(0x218)]){const _0x3beae5='https://www.googleapis.com/compute/v1/projects/'+this['projectId']+_0x180c57(0x1bb)+global_registry[_0x180c57(0x193)]+_0x180c57(0x12a)+_0x15593c[0x0];if(_0x18c224[_0x180c57(0xd6)](_0x3beae5,_0x5e5143))return[!![],_0x15593c];}}catch(_0x2c2561){return logger[_0x180c57(0x136)](_0x180c57(0x1de)+_0x15593c+_0x180c57(0xda)+_0x2c2561),[![],[]];}return[![],[]];}async[a3_0x49aabb(0x21a)](){const _0x1d5cb8=a3_0x49aabb,_0x170c9e=await this['networkClient']['list']({'project':this[_0x1d5cb8(0x20d)]}),_0x5cbf45={};_0x5cbf45[_0x1d5cb8(0x1d7)]=global_registry[_0x1d5cb8(0x20c)],_0x5cbf45[_0x1d5cb8(0x128)]=global_registry[_0x1d5cb8(0x158)],_0x5cbf45['cloudProvider']=GCP,_0x5cbf45[_0x1d5cb8(0x17f)]=[];const _0x5894b7=_0x5cbf45;for(const _0x3441a4 of _0x170c9e){_0x5894b7[_0x1d5cb8(0x17f)][_0x1d5cb8(0x21b)](_0x3441a4);}const _0x2b963b={};_0x2b963b[_0x1d5cb8(0x1c4)]=WS_EVENTS[_0x1d5cb8(0x1d8)],_0x2b963b[_0x1d5cb8(0xc6)]=_0x5894b7,this[_0x1d5cb8(0x1c7)][_0x1d5cb8(0x134)](this[_0x1d5cb8(0xc0)],_0x2b963b);}async['updateClusterRegion'](){const _0x5f49e6=a3_0x49aabb,_0x18c84e={'fcUit':function(_0x36eeeb,_0x1136da,_0x55553d){return _0x36eeeb(_0x1136da,_0x55553d);},'gYZKO':_0x5f49e6(0x1e1),'Amcfx':_0x5f49e6(0x137),'xMjME':function(_0x34dd8b,_0x2bdcf3,_0x531990){return _0x34dd8b(_0x2bdcf3,_0x531990);}},_0x485c5b=_0x5f49e6(0x210)+AG_API_URL+_0x5f49e6(0x157),_0x5d8e72={};_0x5d8e72[_0x5f49e6(0xfd)]=global_registry['gridProfileId'];const _0xac762a={};_0xac762a[_0x5f49e6(0x17c)]=global_registry[_0x5f49e6(0x193)];const _0x371144={'searchParams':_0x5d8e72,'json':_0xac762a,'headers':_0x18c84e[_0x5f49e6(0x215)](getAuthHeader,global_registry['bstackUsername'],global_registry[_0x5f49e6(0x158)]),'method':_0x18c84e[_0x5f49e6(0x1a5)],'responseType':_0x18c84e[_0x5f49e6(0x16a)],'throwHttpErrors':![]},_0x1ac35a=await _0x18c84e[_0x5f49e6(0xe3)](got,_0x485c5b,_0x371144);}}const a3_0x1d9eb3={};a3_0x1d9eb3[a3_0x49aabb(0x1fa)]=GoogleCloudProvider,module[a3_0x49aabb(0x206)]=a3_0x1d9eb3;
1
+ const a3_0x5af401=a3_0x2fbd;function a3_0x1ef3(){const _0x44b4ea=['serviceAccounts','veeTK','zQWtY','exports','storage.objects.delete','bWnDz','bstackAccesskey','tCaXs','endpoint','FVmlP','UlFGe','network','gke_','uPnUL','RIZaC','jweuV','gcloud\x20auth\x20login\x20--cred-file=','XSZRu','Rqyoe','customRoleName','PuLHX','4528nSzDZv','getCluster','AHNLP','kQCqr','exec','nkKIA','FFUHl','iam.serviceAccounts.signBlob','resourceLabels','DONE','LoIzg','jTxyU','DbxFN','edGJQ','gcp_credentials.json','stack','RCAUq','eDXBo','LOG','Cannot\x20find\x20subnets\x20','.\x20Error:\x20','ukohD','tqGBf','storage.objects.setIamPolicy','deleteCluster','EvoYt','keyFile','yJOgl','getIamPolicy','epqUq','role','/packages/cli/update-cluster-region','DUeWh','IIzcE','VnwAt','kqVOk','ZuvpQ','members','serviceAccount','/subnetworks/','location','OVDDM','Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','YDiOo','storage.multipartUploads.listParts','700035ufrhCR','Cluster\x20creation\x20failed','WxYvm','SMTUu','GNRSk','dAYZu','leFim','ApFjt','./CloudProvider','PUipJ','74011CWmmJH','bstackUsername','isjIj','138PtdbFR','ylABe','tRrmV','managedby','YrSbM','accessKey','OBEzR','turboscale_custom_role','resourcemanagerClient','storage.objects.get','3156XeerXV','bmTRY','QBSoU','iam','JLkYI','@google-cloud/compute','/global/networks/','storage.buckets.getIamPolicy','child_process','hdNbL','minNodeCount','\x20--quiet\x20--user-output-enabled=false','uPxvh','UxdWQ','pFtfr','Deleting\x20the\x20cluster\x20','projects/','HBHzQ','iWfHd','Creating\x20GKE\x20Cluster','clusters','FtmPY','parse','containerClient','push','CDbeu','https://','maxNodes','MbgRq','lrYHX','path','PFMsq','json','HwBRo','templates','title','GKE\x20Cluster\x20deletion\x20failed','IODQD','ktgtv','getUserInput','PqnNU','pqEUI','86482gvcyyh','auth','https://www.googleapis.com/compute/v1/projects/','getKubeConfigData','@google-cloud/container','RESOURCES','storage.objects.create','dbqlG','GtEmT','PUT','WqvZU','subnetwork','NQPxt','eikml','storage.buckets.setIamPolicy','vLqzB','setupNewCluster','nktgR','422764PdSuSf','usODL','gJOSh','iamClient','LrqXw','status','error','blCpC','serviceAccountName','Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','got','storage.multipartUploads.abort','ROqOP','concat','rqWso','iuzBH','gcpresources','PBlOq','execSync','sQSoL','VFZAm','gkecluster.json','autoscaling','../config/logger','loadBalancer','storage.buckets.getObjectInsights','createCluster','\x20--windows-os-version=ltsc2022\x20--region\x20','FDouA','IPLQe','storage.buckets.update','networkClient','updateClusterRegion','toString','bAyDg','exit','listClusters','htPak','Jvlzg','IYXEQ','vGHXe','ingress','DzIla','CFdue','accounts','LFDdZ','Cluster\x20deletion\x20completed','regionmap.json','WhmTZ','uUQmt','sendEventToBackend','pMfkH','projectId','turboscale-service-account','GoogleCloudProvider','TBMHx','gcloud\x20components\x20install\x20gke-gcloud-auth-plugin\x20--quiet\x20--user-output-enabled=false','accountId','gMSIT','rqMnN','readFileAsync','zjPmf','XoVuS','bPydm','newRegion','jjsFK','nzOCx','clusterCaCertificate','JjAEV','Pbpvc','parent','.iam.gserviceaccount.com','OVDTe','mXonM','name','SJTXM','storage.multipartUploads.list','PTWQv','hBndE','storage.objects.getIamPolicy','updateWindowsNodeGroup','vpcInfo','jLrBr','toLowerCase','replace','isSubnetsValid','default','storage.objects.list','webSocketUtils','RhHAj','phdJZ','YGNxu','locations','join','bindings','vfyzu','85825reVIXO','SYtvz','FXFHS','Xzwzo','qDYVg','cyJDx','scopes','EiTSX','djSpT','ecfKc','RBuQP','Service\x20Account\x20created,\x20proceeding\x20with\x20Cluster\x20creation','6Rpylmi','GGqkZ','dgdCD','rws','PyePI','projects','roles','getClient','data','@google-cloud/resource-manager','rheVj','IMmed','UjIhU','setIamPolicy','gtNtH','/serviceAccounts/','hGULx','isBrowserstackCluster','Creating\x20required\x20resources\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account','nodePools','qqnwM','/roles/','XFNEE','HTgrE','KubeConfigTemplate.yaml','clusterRegion','xIrbg','writeFileSync','storage.buckets.deleteTagBinding','GDAzK','Cqsgv','gcloud\x20container\x20node-pools\x20update\x20windows-pool\x20--cluster=','instanceType','Ppjsx','uHNQG','iIZIx','dNBeF','https://www.googleapis.com/auth/cloud-platform','util','4014LhtxuP','storage.buckets.create','get','Creating\x20required\x20dependencies\x20-\x20GKE\x20Cluster\x20and\x20Service\x20Account','ThbSP','dYETT','udADX','6178530Ilnfmq','WgvPv','SHFoD','ClusterManagerClient','log','GKDeJ','sendGCPInfoToHST','config','requestBody','aAbIS','nowPt','tNolX','../utils/userInput','hNYDB','xubRf','username','storage.buckets.list','cloudProvider','info','maxNodeCount','zvYtq','organizations','create','storage.multipartUploads.create','masterAuth','setupServiceAccount','Proceeding\x20with\x20the\x20cluster\x20in\x20the\x20location\x20-\x20','zrdpH','cloudProviderName','wnMZk','gVAuj','checkServiceAccount','exhFv','WyJkl','\x27\x20in\x20multiple\x20locations,\x20select\x20a\x20location\x20to\x20proceed:','message','tSJJK','credentialsPath','/locations/','164FaQAvR','machineType','Creating\x20service\x20account','CoTYy','wJCgW','init','length','clusterName','storage.buckets.get','/regions/','getClusterInfo','browserstack','type','RiIdp','KzHGF','Enter\x20Key\x20file\x20(.json)\x20path\x20for\x20GCP\x20Service\x20Account:\x20','list','dNZLI','rvBEz','storage.buckets.listTagBindings','gridProfileId','XGfGp'];a3_0x1ef3=function(){return _0x44b4ea;};return a3_0x1ef3();}(function(_0x1e123f,_0x49dd0a){const _0x5884f3=a3_0x2fbd,_0xfc7838=_0x1e123f();while(!![]){try{const _0x54016d=-parseInt(_0x5884f3(0x25a))/0x1+-parseInt(_0x5884f3(0x2ad))/0x2*(parseInt(_0x5884f3(0x1ad))/0x3)+parseInt(_0x5884f3(0x202))/0x4*(-parseInt(_0x5884f3(0x30d))/0x5)+-parseInt(_0x5884f3(0x267))/0x6*(parseInt(_0x5884f3(0x264))/0x7)+-parseInt(_0x5884f3(0x22d))/0x8*(parseInt(_0x5884f3(0x1d4))/0x9)+parseInt(_0x5884f3(0x1db))/0xa+parseInt(_0x5884f3(0x29b))/0xb*(parseInt(_0x5884f3(0x271))/0xc);if(_0x54016d===_0x49dd0a)break;else _0xfc7838['push'](_0xfc7838['shift']());}catch(_0x14f93b){_0xfc7838['push'](_0xfc7838['shift']());}}}(a3_0x1ef3,0x58b74));const fs=require('fs'),path=require(a3_0x5af401(0x28f)),got=require(a3_0x5af401(0x2b7)),util=require(a3_0x5af401(0x1d3)),cp=require(a3_0x5af401(0x279)),{google}=require('googleapis'),compute=require(a3_0x5af401(0x276)),container=require(a3_0x5af401(0x29f)),{ProjectsClient}=require(a3_0x5af401(0x1b6))['v3'],{logger}=require(a3_0x5af401(0x2c4)),{CloudProvider}=require(a3_0x5af401(0x262)),{getDirForConfig,getAuthHeader}=require('../utils/utilityMethods'),{deleteRoutingDeps,deleteAgent}=require('../utils/gridComponents'),{inputConfirmation,closeInput}=require(a3_0x5af401(0x1e7)),{GCP,AG_API_URL,WS_EVENTS,global_registry}=require('../config/constants');class GoogleCloudProvider extends CloudProvider{constructor(_0x132821,_0x45c7a5,_0x22db92,_0x486647){const _0x380b59=a3_0x5af401,_0x2c9457={};_0x2c9457['jTxyU']='2|4|6|8|1|3|0|7|5',_0x2c9457['EiTSX']=_0x380b59(0x2e2),_0x2c9457[_0x380b59(0x2ff)]=_0x380b59(0x26e);const _0x1ae0f5=_0x2c9457,_0x283da0=_0x1ae0f5[_0x380b59(0x238)]['split']('|');let _0x30a579=0x0;while(!![]){switch(_0x283da0[_0x30a579++]){case'0':this[_0x380b59(0x2e1)]=null;continue;case'1':this[_0x380b59(0x2b0)]=null;continue;case'2':super(GCP,_0x132821,_0x45c7a5,_0x22db92,_0x486647);continue;case'3':this[_0x380b59(0x200)]=null;continue;case'4':this[_0x380b59(0x288)]=null;continue;case'5':this[_0x380b59(0x2b5)]=_0x1ae0f5[_0x380b59(0x1a8)];continue;case'6':this[_0x380b59(0x2cc)]=null;continue;case'7':this['customRoleName']=_0x1ae0f5[_0x380b59(0x2ff)];continue;case'8':this[_0x380b59(0x26f)]=null;continue;}break;}}async['sendResourceDataToHST'](){const _0x5587d7=a3_0x5af401;this[_0x5587d7(0x1e1)](this[_0x5587d7(0x1b0)]);}async[a3_0x5af401(0x207)](){const _0x59a031=a3_0x5af401;await super[_0x59a031(0x207)]();const _0x242aeb=this[_0x59a031(0x200)],_0x5a619b={};_0x5a619b[_0x59a031(0x247)]=_0x242aeb,this[_0x59a031(0x288)]=new container['v1'][(_0x59a031(0x1de))](_0x5a619b);const _0x3a9c56={};_0x3a9c56[_0x59a031(0x247)]=_0x242aeb,this[_0x59a031(0x2cc)]=new compute['v1']['NetworksClient'](_0x3a9c56);const _0xb9a3d4={};return _0xb9a3d4['keyFile']=_0x242aeb,this['resourcemanagerClient']=new ProjectsClient(_0xb9a3d4),this[_0x59a031(0x2b0)]=google[_0x59a031(0x274)]('v1'),this;}async[a3_0x5af401(0x298)](_0x3fa288,_0x10f652){const _0x23c997=a3_0x5af401,_0x3b58cc={'CoTYy':function(_0x4323aa,_0x4ce2a5){return _0x4323aa(_0x4ce2a5);},'IODQD':_0x23c997(0x211),'RuIui':function(_0x9e50ac){return _0x9e50ac();},'XGfGp':_0x23c997(0x23b)},_0xfa2952=await _0x3b58cc[_0x23c997(0x205)](_0x3fa288,_0x3b58cc[_0x23c997(0x296)]);let _0x19c860=await fs[_0x23c997(0x2e9)](_0xfa2952);_0x19c860=_0x19c860[_0x23c997(0x2ce)]();const _0x21980a=_0x3b58cc['RuIui'](getDirForConfig),_0x4a84da=path[_0x23c997(0x30a)](_0x21980a,_0x3b58cc[_0x23c997(0x217)]);fs[_0x23c997(0x1c8)](_0x4a84da,_0x19c860),this[_0x23c997(0x200)]=_0x4a84da;const _0x2b6cf3={};return _0x2b6cf3[_0x23c997(0x247)]=_0x4a84da,_0x10f652[_0x23c997(0x1ec)][GCP]=_0x2b6cf3,_0x19c860=JSON[_0x23c997(0x287)](_0x19c860),this[_0x23c997(0x2e1)]=_0x19c860['project_id'],_0x10f652;}async['setCachedCredsInRegistry'](_0x214ad9){const _0x468b5b=a3_0x5af401;this[_0x468b5b(0x200)]=_0x214ad9[this[_0x468b5b(0x1f7)]]['keyFile'];let _0x3c41d9=await fs[_0x468b5b(0x2e9)](this['credentialsPath']);_0x3c41d9=JSON[_0x468b5b(0x287)](_0x3c41d9),this[_0x468b5b(0x2e1)]=_0x3c41d9['project_id'];}['getGridHostname'](_0x38bcee){const _0x4d0d43=a3_0x5af401;return _0x38bcee[_0x4d0d43(0x2b2)]['loadBalancer'][_0x4d0d43(0x2d6)][0x0]['ip'];}async[a3_0x5af401(0x1be)](){const _0x19184a=a3_0x5af401,_0x2b38a0={};_0x2b38a0[_0x19184a(0x22f)]=function(_0xa4b65d,_0x42dedc){return _0xa4b65d!==_0x42dedc;},_0x2b38a0[_0x19184a(0x1a5)]=function(_0x13abb3,_0x30953a){return _0x13abb3!==_0x30953a;},_0x2b38a0[_0x19184a(0x286)]=_0x19184a(0x246),_0x2b38a0['ukohD']=function(_0x38d068,_0x347c57){return _0x38d068===_0x347c57;},_0x2b38a0['WqvZU']=_0x19184a(0x2d3),_0x2b38a0['ZZYpB']='mgKJB',_0x2b38a0[_0x19184a(0x1a3)]=_0x19184a(0x20d),_0x2b38a0[_0x19184a(0x1b1)]=function(_0x4e3004,_0x2b694c){return _0x4e3004===_0x2b694c;},_0x2b38a0[_0x19184a(0x266)]=_0x19184a(0x213);const _0x51201b=_0x2b38a0;try{if(_0x51201b['qDYVg'](_0x51201b[_0x19184a(0x286)],_0x51201b[_0x19184a(0x286)]))return[!![],_0x28bffa];else{const _0x52851f=await this['getClusterInfo']();if(_0x52851f[0x0]?.[_0x19184a(0x235)]?.[_0x19184a(0x26a)]){if(_0x51201b[_0x19184a(0x242)](_0x51201b[_0x19184a(0x2a5)],_0x51201b['ZZYpB']))_0x3636df['vpcInfo'][_0x19184a(0x289)](_0x48c2a0);else{const _0x8a7178=_0x52851f[0x0]?.[_0x19184a(0x235)]?.[_0x19184a(0x26a)];return _0x8a7178&&_0x51201b['ukohD'](_0x8a7178['toLowerCase'](),_0x51201b[_0x19184a(0x1a3)]);}}}}catch(_0x3d0912){return _0x51201b['PyePI'](_0x51201b[_0x19184a(0x266)],_0x51201b[_0x19184a(0x266)])?![]:(_0x51201b[_0x19184a(0x22f)](_0x5964b4[_0x19184a(0x1c6)],_0x5dc367[0x0])&&(_0x5c3890['clusterRegion']=_0x6872a5[0x0],this[_0x19184a(0x2cd)]()),!![]);}return![];}async['isClusterPresent'](){const _0x3f70aa=a3_0x5af401,_0x14706d={'hBndE':_0x3f70aa(0x2b6),'EyTBj':'default','wJCgW':function(_0x58b906,_0x4544ed){return _0x58b906===_0x4544ed;},'uHNQG':'Service\x20account\x20already\x20exists,\x20skipping','BbztM':_0x3f70aa(0x20d),'jjsFK':_0x3f70aa(0x293),'hNYDB':_0x3f70aa(0x2bd),'bWnDz':_0x3f70aa(0x2dc),'pMfkH':'utf-8','rqWso':function(_0x5062f8,_0xfa4741){return _0x5062f8!==_0xfa4741;},'IPLQe':function(_0xd12bdd,_0x200ff9){return _0xd12bdd===_0x200ff9;},'YrSbM':_0x3f70aa(0x30e),'VFZAm':_0x3f70aa(0x2af),'Cqsgv':'EPXIQ','Ppjsx':_0x3f70aa(0x2dd),'hdNbL':function(_0x4cdb4d,_0x5a5565){return _0x4cdb4d!==_0x5a5565;},'WegyU':_0x3f70aa(0x230),'gtNtH':_0x3f70aa(0x282),'RCAUq':'LvZmq','ylABe':'KkMoN','Pbpvc':function(_0x25b73c,_0x88c1b7){return _0x25b73c>_0x88c1b7;},'lrYHX':_0x3f70aa(0x275),'IfFWM':_0x3f70aa(0x233),'MbgRq':function(_0x481b62,_0x21c9fc){return _0x481b62<_0x21c9fc;},'Xzwzo':function(_0xb24ae0,_0x36e2ff){return _0xb24ae0===_0x36e2ff;},'TUsnV':_0x3f70aa(0x2d5),'zrdpH':function(_0x135aca,_0x37f9ef){return _0x135aca+_0x37f9ef;},'ZuvpQ':function(_0xde9cf1,_0x237e33){return _0xde9cf1(_0x237e33);},'XekJN':_0x3f70aa(0x257),'DbxFN':function(_0x3d6298,_0x438684){return _0x3d6298(_0x438684);},'udADX':function(_0xed1a75,_0x287847){return _0xed1a75(_0x287847);},'OVDDM':function(_0x274776,_0x199003){return _0x274776<=_0x199003;},'PqnNU':function(_0x393f5d,_0x4db7f5){return _0x393f5d>_0x4db7f5;},'djSpT':function(_0x5452e2,_0x3d8fe4){return _0x5452e2===_0x3d8fe4;},'tNolX':_0x3f70aa(0x2d2),'uPnUL':function(_0x28bd54){return _0x28bd54();},'exhFv':function(_0x46661,_0x266e62){return _0x46661-_0x266e62;},'jweuV':function(_0x291c04,_0x39f54d){return _0x291c04!==_0x39f54d;},'eikml':function(_0x4d09c6,_0x5c6696){return _0x4d09c6-_0x5c6696;},'FpWpT':function(_0x5056cb,_0x5ee8d9){return _0x5056cb!==_0x5ee8d9;},'OBEzR':_0x3f70aa(0x1dd)};let _0x23358a=await fs[_0x3f70aa(0x2e9)](path['join'](__dirname,'..',_0x14706d[_0x3f70aa(0x2ee)],_0x14706d[_0x3f70aa(0x1e8)],_0x14706d[_0x3f70aa(0x21d)]),_0x14706d[_0x3f70aa(0x2e0)]);_0x23358a=JSON['parse'](_0x23358a);let _0x134f3f=[global_registry[_0x3f70aa(0x1c6)]];if(_0x14706d[_0x3f70aa(0x2bb)](_0x23358a[global_registry[_0x3f70aa(0x1c6)]],undefined)){if(_0x14706d[_0x3f70aa(0x2ca)](_0x14706d[_0x3f70aa(0x26b)],_0x14706d[_0x3f70aa(0x26b)]))_0x134f3f=_0x134f3f[_0x3f70aa(0x2ba)](_0x23358a[global_registry[_0x3f70aa(0x1c6)]]);else return!![];}const _0x5b835d=[];for await(const _0x429b3b of _0x134f3f){if(_0x14706d[_0x3f70aa(0x2bb)](_0x14706d[_0x3f70aa(0x2c1)],_0x14706d['VFZAm']))this['sendGCPInfoToHST'](this[_0x3f70aa(0x1b0)]);else{const _0x4e4ace={};_0x4e4ace[_0x3f70aa(0x2f3)]=_0x3f70aa(0x281)+this['projectId']+_0x3f70aa(0x201)+_0x429b3b;const _0x97382=_0x4e4ace,_0x5060bb=await this[_0x3f70aa(0x288)][_0x3f70aa(0x2d1)](_0x97382);for(const _0x266ee8 of _0x5060bb[0x0][_0x3f70aa(0x285)]){_0x14706d[_0x3f70aa(0x2ca)](_0x14706d[_0x3f70aa(0x1cb)],_0x14706d[_0x3f70aa(0x1cb)])?_0x14706d[_0x3f70aa(0x206)](_0x266ee8['name'],this[_0x3f70aa(0x209)])&&(_0x14706d[_0x3f70aa(0x2ca)](_0x14706d['Ppjsx'],_0x14706d[_0x3f70aa(0x1ce)])?_0x5b835d[_0x3f70aa(0x289)](_0x429b3b):(_0x33e1b4[_0x3f70aa(0x2b3)](_0x14706d[_0x3f70aa(0x2fb)]),_0x42ff0d[_0x3f70aa(0x2d0)](0x1))):_0xc3b2f0=_0x14706d['EyTBj'];}}}const _0x495f34=_0x5b835d[_0x3f70aa(0x208)];if(_0x14706d[_0x3f70aa(0x2ca)](_0x495f34,0x1)){if(_0x14706d['hdNbL'](_0x14706d['WegyU'],_0x14706d[_0x3f70aa(0x1bb)])){if(_0x14706d[_0x3f70aa(0x2bb)](global_registry[_0x3f70aa(0x1c6)],_0x5b835d[0x0])){if(_0x14706d[_0x3f70aa(0x27a)](_0x14706d[_0x3f70aa(0x23d)],_0x14706d[_0x3f70aa(0x268)]))global_registry[_0x3f70aa(0x1c6)]=_0x5b835d[0x0],this[_0x3f70aa(0x2cd)]();else{const _0x5ae931='https://www.googleapis.com/compute/v1/projects/'+this['projectId']+_0x3f70aa(0x20b)+_0x34daf0[_0x3f70aa(0x1c6)]+_0x3f70aa(0x254)+_0x31dd55[0x0];if(_0x14706d[_0x3f70aa(0x206)](_0x5ae931,_0x5529c3))return[!![],_0x37b459];}}return!![];}else return _0x43fdc9['error'](_0x3f70aa(0x240)+_0x2d8d2f+_0x3f70aa(0x241)+_0xf80bca),[![],[]];}else{if(_0x14706d[_0x3f70aa(0x2f2)](_0x495f34,0x1)){if(_0x14706d[_0x3f70aa(0x2ca)](_0x14706d[_0x3f70aa(0x28e)],_0x14706d['IfFWM'])){_0x4e3fc0[_0x3f70aa(0x1ed)](_0x14706d[_0x3f70aa(0x1cf)]);return;}else{console['log']('Found\x20cluster\x20with\x20name\x20\x27'+this[_0x3f70aa(0x209)]+_0x3f70aa(0x1fd));for(let _0x5805b9=0x0;_0x14706d[_0x3f70aa(0x28d)](_0x5805b9,_0x495f34);_0x5805b9+=0x1){if(_0x14706d[_0x3f70aa(0x1a4)](_0x14706d['TUsnV'],_0x14706d['TUsnV']))console[_0x3f70aa(0x1df)]('['+_0x14706d[_0x3f70aa(0x1f6)](_0x5805b9,0x1)+']\x20'+_0x5b835d[_0x5805b9]);else{const _0x29ad7d=_0x2ee82c[0x0]?.[_0x3f70aa(0x235)]?.[_0x3f70aa(0x26a)];return _0x29ad7d&&_0x14706d[_0x3f70aa(0x206)](_0x29ad7d[_0x3f70aa(0x300)](),_0x14706d['BbztM']);}}const _0x166433=await _0x14706d[_0x3f70aa(0x251)](inputConfirmation,_0x14706d['XekJN']),_0x4cb60a=_0x14706d[_0x3f70aa(0x239)](Number,_0x166433);if(_0x14706d[_0x3f70aa(0x1da)](isNaN,_0x4cb60a)||_0x14706d[_0x3f70aa(0x256)](_0x4cb60a,0x0)||_0x14706d[_0x3f70aa(0x299)](_0x4cb60a,_0x495f34)){if(_0x14706d[_0x3f70aa(0x1a9)](_0x14706d[_0x3f70aa(0x1e6)],_0x14706d['tNolX']))console['error'](_0x14706d[_0x3f70aa(0x2fb)]),process[_0x3f70aa(0x2d0)](0x1);else return![];}_0x14706d[_0x3f70aa(0x225)](closeInput),logger[_0x3f70aa(0x1ed)](_0x3f70aa(0x1f5)+_0x5b835d[_0x14706d[_0x3f70aa(0x1fb)](_0x4cb60a,0x1)]);if(_0x14706d[_0x3f70aa(0x227)](global_registry[_0x3f70aa(0x1c6)],_0x5b835d[_0x14706d[_0x3f70aa(0x2a8)](_0x4cb60a,0x1)])){if(_0x14706d['FpWpT'](_0x14706d['OBEzR'],_0x14706d[_0x3f70aa(0x26d)]))for(const _0x39f737 of _0x1e113d[_0x3f70aa(0x1b5)]['accounts']){if(_0x14706d[_0x3f70aa(0x206)](_0x39f737?.['name'],_0x3f70aa(0x281)+this[_0x3f70aa(0x2e1)]+_0x3f70aa(0x1bc)+this[_0x3f70aa(0x2b5)]+'@'+this['projectId']+_0x3f70aa(0x2f4)))return!![];}else global_registry[_0x3f70aa(0x1c6)]=_0x5b835d[_0x14706d['eikml'](_0x4cb60a,0x1)],this[_0x3f70aa(0x2cd)]();}return!![];}}}return![];}async['getClusterInfo'](){const _0x375367=a3_0x5af401,_0x516c90=await this[_0x375367(0x288)][_0x375367(0x22e)]({'name':_0x375367(0x281)+this['projectId']+_0x375367(0x201)+global_registry[_0x375367(0x1c6)]+'/clusters/'+this['clusterName']});return _0x516c90;}async[a3_0x5af401(0x29e)](){const _0x523f37=a3_0x5af401,_0xae9013={};_0xae9013['PDbGW']=_0x523f37(0x2e5),_0xae9013[_0x523f37(0x258)]=_0x523f37(0x293),_0xae9013['cyJDx']=_0x523f37(0x2bd),_0xae9013[_0x523f37(0x273)]=_0x523f37(0x1c5);const _0x1e94e3=_0xae9013;cp[_0x523f37(0x2bf)](_0x1e94e3['PDbGW']),cp[_0x523f37(0x231)](_0x523f37(0x228)+this[_0x523f37(0x200)]);const _0x563939=await this[_0x523f37(0x20c)](),_0x222333=_0x523f37(0x224)+this[_0x523f37(0x2e1)]+'_'+global_registry[_0x523f37(0x1c6)]+'_'+this[_0x523f37(0x209)];let _0x4797a4=await fs['readFileAsync'](path['join'](__dirname,'..',_0x1e94e3['YDiOo'],_0x1e94e3[_0x523f37(0x1a6)],_0x1e94e3[_0x523f37(0x273)]));return _0x4797a4=_0x4797a4[_0x523f37(0x2ce)](),_0x4797a4=_0x4797a4[_0x523f37(0x301)](/<CLUSTER_NAME>/g,_0x222333),_0x4797a4=_0x4797a4[_0x523f37(0x301)](/<CLUSTER_URL>/g,_0x523f37(0x28b)+_0x563939[0x0][_0x523f37(0x220)]),_0x4797a4=_0x4797a4[_0x523f37(0x301)](/<CERTIFICATE_DATA>/g,_0x563939[0x0][_0x523f37(0x1f3)][_0x523f37(0x2f0)]),_0x4797a4;}async[a3_0x5af401(0x1fa)](){const _0x55b443=a3_0x5af401,_0x6c8843={};_0x6c8843[_0x55b443(0x24d)]=function(_0x59b148,_0x1ace5b){return _0x59b148===_0x1ace5b;},_0x6c8843[_0x55b443(0x2ea)]='https://www.googleapis.com/auth/cloud-platform',_0x6c8843[_0x55b443(0x20f)]=_0x55b443(0x222),_0x6c8843['Rqyoe']=function(_0x4a4c89,_0x5174b3){return _0x4a4c89!==_0x5174b3;},_0x6c8843[_0x55b443(0x25d)]=_0x55b443(0x2c0),_0x6c8843[_0x55b443(0x2eb)]=_0x55b443(0x263),_0x6c8843[_0x55b443(0x283)]='lPCOq';const _0x33ff30=_0x6c8843,_0x437511={};_0x437511[_0x55b443(0x1a7)]=[_0x33ff30[_0x55b443(0x2ea)]],_0x437511[_0x55b443(0x247)]=this[_0x55b443(0x200)];const _0x45fad6=await google[_0x55b443(0x29c)][_0x55b443(0x1b4)](_0x437511),_0x384c8e=await this['iamClient'][_0x55b443(0x1b2)][_0x55b443(0x218)][_0x55b443(0x212)]({'name':_0x55b443(0x281)+this['projectId'],'auth':_0x45fad6});if(_0x384c8e?.[_0x55b443(0x1b5)]?.['accounts']){if(_0x33ff30[_0x55b443(0x24d)](_0x33ff30[_0x55b443(0x20f)],_0x33ff30[_0x55b443(0x20f)]))for(const _0x79c9dd of _0x384c8e['data'][_0x55b443(0x2d9)]){if(_0x33ff30[_0x55b443(0x22a)](_0x33ff30[_0x55b443(0x25d)],_0x33ff30[_0x55b443(0x25d)]))return!![];else{if(_0x33ff30[_0x55b443(0x24d)](_0x79c9dd?.[_0x55b443(0x2f7)],_0x55b443(0x281)+this[_0x55b443(0x2e1)]+'/serviceAccounts/'+this['serviceAccountName']+'@'+this[_0x55b443(0x2e1)]+_0x55b443(0x2f4))){if(_0x33ff30[_0x55b443(0x24d)](_0x33ff30[_0x55b443(0x2eb)],_0x33ff30[_0x55b443(0x283)]))_0x57fc5a[_0x55b443(0x289)](_0x55faed);else return!![];}}}else{if(_0x33ff30[_0x55b443(0x24d)](_0x2c799d?.[_0x55b443(0x2f7)],_0x55b443(0x281)+this[_0x55b443(0x2e1)]+_0x55b443(0x1bc)+this['serviceAccountName']+'@'+this[_0x55b443(0x2e1)]+_0x55b443(0x2f4)))return!![];}}return![];}async['setupServiceAccount'](){const _0x3f4882=a3_0x5af401,_0x34fb22={};_0x34fb22['uPxvh']=_0x3f4882(0x295),_0x34fb22[_0x3f4882(0x243)]=function(_0x4b0b16,_0x2502b1){return _0x4b0b16!==_0x2502b1;},_0x34fb22[_0x3f4882(0x2b4)]=_0x3f4882(0x22c),_0x34fb22[_0x3f4882(0x219)]=_0x3f4882(0x1c4),_0x34fb22[_0x3f4882(0x308)]='Service\x20account\x20already\x20exists,\x20skipping',_0x34fb22[_0x3f4882(0x1ca)]=_0x3f4882(0x204),_0x34fb22[_0x3f4882(0x2c9)]=_0x3f4882(0x1d2),_0x34fb22['tCaXs']=_0x3f4882(0x234),_0x34fb22['vLqzB']=_0x3f4882(0x1d5),_0x34fb22[_0x3f4882(0x24a)]='storage.buckets.createTagBinding',_0x34fb22['WxYvm']='storage.buckets.delete',_0x34fb22['RBuQP']=_0x3f4882(0x1c9),_0x34fb22[_0x3f4882(0x229)]=_0x3f4882(0x20a),_0x34fb22[_0x3f4882(0x2ac)]=_0x3f4882(0x278),_0x34fb22['LrqXw']=_0x3f4882(0x2c6),_0x34fb22['dbqlG']=_0x3f4882(0x1eb),_0x34fb22['usODL']='storage.buckets.listEffectiveTags',_0x34fb22[_0x3f4882(0x2b9)]=_0x3f4882(0x215),_0x34fb22[_0x3f4882(0x24f)]=_0x3f4882(0x2a9),_0x34fb22[_0x3f4882(0x292)]=_0x3f4882(0x2cb),_0x34fb22['leFim']=_0x3f4882(0x2b8),_0x34fb22[_0x3f4882(0x248)]=_0x3f4882(0x1f2),_0x34fb22['dAYZu']=_0x3f4882(0x2f9),_0x34fb22[_0x3f4882(0x1e0)]=_0x3f4882(0x259),_0x34fb22['GQZKK']=_0x3f4882(0x2a1),_0x34fb22['DzIla']=_0x3f4882(0x21c),_0x34fb22[_0x3f4882(0x221)]=_0x3f4882(0x270),_0x34fb22[_0x3f4882(0x1dc)]=_0x3f4882(0x2fc),_0x34fb22['zvYtq']=_0x3f4882(0x304),_0x34fb22[_0x3f4882(0x1ff)]=_0x3f4882(0x244),_0x34fb22[_0x3f4882(0x2e4)]='storage.objects.update',_0x34fb22['JjAEV']='Turboscale\x20Custom\x20Role',_0x34fb22['eDXBo']=_0x3f4882(0x1ac);const _0x4dec69=_0x34fb22,_0xbdb8a7=await this[_0x3f4882(0x1fa)]();if(_0xbdb8a7){if(_0x4dec69['tqGBf'](_0x4dec69['blCpC'],_0x4dec69[_0x3f4882(0x219)])){logger[_0x3f4882(0x1ed)](_0x4dec69[_0x3f4882(0x308)]);return;}else{_0x35a52f[_0x3f4882(0x1ed)](_0x4dec69[_0x3f4882(0x27d)]);throw _0x293d08;}}logger[_0x3f4882(0x1ed)](_0x4dec69[_0x3f4882(0x1ca)]);const _0x1828df={};_0x1828df[_0x3f4882(0x1a7)]=[_0x4dec69['FDouA']],_0x1828df[_0x3f4882(0x247)]=this['credentialsPath'];const _0xbf670f=await google['auth'][_0x3f4882(0x1b4)](_0x1828df),_0xb1965d={};_0xb1965d['includedPermissions']=[_0x4dec69[_0x3f4882(0x21f)],_0x4dec69[_0x3f4882(0x2aa)],_0x4dec69[_0x3f4882(0x24a)],_0x4dec69[_0x3f4882(0x25c)],_0x4dec69[_0x3f4882(0x1ab)],_0x4dec69['XSZRu'],_0x4dec69['nktgR'],_0x4dec69[_0x3f4882(0x2b1)],_0x4dec69[_0x3f4882(0x2a2)],_0x4dec69[_0x3f4882(0x2ae)],_0x4dec69['ROqOP'],_0x4dec69[_0x3f4882(0x24f)],_0x4dec69[_0x3f4882(0x292)],_0x4dec69[_0x3f4882(0x260)],_0x4dec69[_0x3f4882(0x248)],_0x4dec69[_0x3f4882(0x25f)],_0x4dec69[_0x3f4882(0x1e0)],_0x4dec69['GQZKK'],_0x4dec69[_0x3f4882(0x2d7)],_0x4dec69[_0x3f4882(0x221)],_0x4dec69['WgvPv'],_0x4dec69[_0x3f4882(0x1ef)],_0x4dec69[_0x3f4882(0x1ff)],_0x4dec69['TBMHx']],_0xb1965d[_0x3f4882(0x294)]=_0x4dec69[_0x3f4882(0x2f1)],await this[_0x3f4882(0x2b0)][_0x3f4882(0x1f0)][_0x3f4882(0x1b3)][_0x3f4882(0x1f1)]({'parent':_0x3f4882(0x281)+this[_0x3f4882(0x2e1)],'requestBody':{'role':_0xb1965d,'roleId':this['customRoleName']},'auth':_0xbf670f});const _0x40ccf6={};_0x40ccf6[_0x3f4882(0x2f7)]=_0x3f4882(0x281)+this[_0x3f4882(0x2e1)],_0x40ccf6[_0x3f4882(0x1e3)]={},_0x40ccf6[_0x3f4882(0x29c)]=_0xbf670f,_0x40ccf6[_0x3f4882(0x1e3)][_0x3f4882(0x2e6)]=this[_0x3f4882(0x2b5)];const _0x43530f=_0x40ccf6;await this['iamClient'][_0x3f4882(0x1b2)][_0x3f4882(0x218)][_0x3f4882(0x1f1)](_0x43530f);let _0x13e044=await this['resourcemanagerClient'][_0x3f4882(0x249)]({'resource':_0x3f4882(0x281)+this[_0x3f4882(0x2e1)]});_0x13e044=_0x13e044[0x0][_0x3f4882(0x30b)];const _0x16326f={};_0x16326f[_0x3f4882(0x24b)]=_0x3f4882(0x281)+this[_0x3f4882(0x2e1)]+_0x3f4882(0x1c2)+this[_0x3f4882(0x22b)],_0x16326f[_0x3f4882(0x252)]=['serviceAccount:'+this[_0x3f4882(0x2b5)]+'@'+this[_0x3f4882(0x2e1)]+'.iam.gserviceaccount.com'],_0x13e044['push'](_0x16326f);const _0x43daa4={};_0x43daa4['bindings']=_0x13e044,await this['resourcemanagerClient'][_0x3f4882(0x1ba)]({'resource':_0x3f4882(0x281)+this[_0x3f4882(0x2e1)],'policy':_0x43daa4}),logger[_0x3f4882(0x1ed)](_0x4dec69[_0x3f4882(0x23e)]);}async[a3_0x5af401(0x2ab)](_0x381e9f=a3_0x5af401(0x303),_0x4e25ec=[a3_0x5af401(0x303)]){const _0x13c0e4=a3_0x5af401,_0x46b1d4={};_0x46b1d4['xDKfi']=function(_0x2c74c4,_0xe3b158){return _0x2c74c4-_0xe3b158;},_0x46b1d4['ApFjt']=_0x13c0e4(0x1bf),_0x46b1d4[_0x13c0e4(0x1c1)]=_0x13c0e4(0x1d7),_0x46b1d4[_0x13c0e4(0x1b7)]=function(_0x33db3a,_0x178be8){return _0x33db3a!==_0x178be8;},_0x46b1d4[_0x13c0e4(0x2f6)]=_0x13c0e4(0x1aa),_0x46b1d4[_0x13c0e4(0x1d8)]=_0x13c0e4(0x303),_0x46b1d4[_0x13c0e4(0x1e4)]=function(_0x86f7c9,_0x39ea08){return _0x86f7c9===_0x39ea08;},_0x46b1d4[_0x13c0e4(0x1e9)]=function(_0x3369b4,_0x281534){return _0x3369b4===_0x281534;},_0x46b1d4[_0x13c0e4(0x1ae)]='FNMam';const _0x100f27=_0x46b1d4,_0x2f95a9={};_0x2f95a9[_0x13c0e4(0x20e)]=WS_EVENTS[_0x13c0e4(0x23f)],_0x2f95a9[_0x13c0e4(0x1fe)]=_0x100f27[_0x13c0e4(0x261)],this[_0x13c0e4(0x305)][_0x13c0e4(0x2df)](this['rws'],_0x2f95a9),logger[_0x13c0e4(0x1ed)](_0x100f27['qqnwM']);if(!_0x381e9f){if(_0x100f27['rheVj'](_0x100f27[_0x13c0e4(0x2f6)],_0x100f27['mXonM']))return!![];else _0x381e9f=_0x100f27['ThbSP'];}return(!_0x4e25ec||_0x100f27[_0x13c0e4(0x1e4)](_0x4e25ec[_0x13c0e4(0x208)],0x0))&&(_0x100f27['xubRf'](_0x100f27[_0x13c0e4(0x1ae)],_0x100f27['GGqkZ'])?_0x4e25ec=[_0x100f27[_0x13c0e4(0x1d8)]]:(_0x4f622c[_0x13c0e4(0x1c6)]=_0x41f97f[_0x100f27['xDKfi'](_0x340e78,0x1)],this[_0x13c0e4(0x2cd)]())),await this[_0x13c0e4(0x1f4)](),await this[_0x13c0e4(0x2c7)](_0x381e9f,_0x4e25ec),await this[_0x13c0e4(0x2fd)](),!![];}async[a3_0x5af401(0x2c7)](_0x5b3108=a3_0x5af401(0x303),_0x1e55a4=['default']){const _0x7b2f50=a3_0x5af401,_0x4c52ea={};_0x4c52ea['iuzBH']=_0x7b2f50(0x303),_0x4c52ea[_0x7b2f50(0x2f8)]=function(_0x2faa03,_0x1ed2e8){return _0x2faa03===_0x1ed2e8;},_0x4c52ea[_0x7b2f50(0x306)]=_0x7b2f50(0x25b),_0x4c52ea['gMSIT']=function(_0x3e7822,_0x555833){return _0x3e7822===_0x555833;},_0x4c52ea['dNBeF']=_0x7b2f50(0x1af),_0x4c52ea[_0x7b2f50(0x21a)]=_0x7b2f50(0x1fc),_0x4c52ea['iBGGn']=_0x7b2f50(0x284),_0x4c52ea[_0x7b2f50(0x226)]='templates',_0x4c52ea['GNRSk']=_0x7b2f50(0x2bd),_0x4c52ea[_0x7b2f50(0x2d4)]=_0x7b2f50(0x2c2),_0x4c52ea['PFMsq']='utf-8',_0x4c52ea[_0x7b2f50(0x250)]='regionmap.json',_0x4c52ea[_0x7b2f50(0x297)]=function(_0x16f014,_0x3ffd3c){return _0x16f014*_0x3ffd3c;},_0x4c52ea[_0x7b2f50(0x1b8)]=function(_0x2b7ee7,_0x25c944){return _0x2b7ee7!==_0x25c944;},_0x4c52ea[_0x7b2f50(0x210)]=_0x7b2f50(0x2fa),_0x4c52ea[_0x7b2f50(0x2e8)]=_0x7b2f50(0x269),_0x4c52ea[_0x7b2f50(0x1f8)]=_0x7b2f50(0x307),_0x4c52ea[_0x7b2f50(0x272)]='Cluster\x20creation\x20failed,\x20rolling\x20back\x20cluster\x20creation:\x20',_0x4c52ea['bSBjX']=_0x7b2f50(0x1e5),_0x4c52ea[_0x7b2f50(0x2d8)]=_0x7b2f50(0x1b9);const _0x1a9515=_0x4c52ea;try{if(_0x1a9515[_0x7b2f50(0x2e7)](_0x1a9515[_0x7b2f50(0x1d1)],_0x1a9515['zQWtY']))_0x611633=[_0x1a9515[_0x7b2f50(0x2bc)]];else{logger[_0x7b2f50(0x1ed)](_0x1a9515['iBGGn']);let _0x1974ec=await fs[_0x7b2f50(0x2e9)](path[_0x7b2f50(0x30a)](__dirname,'..',_0x1a9515[_0x7b2f50(0x226)],_0x1a9515[_0x7b2f50(0x25e)],_0x1a9515[_0x7b2f50(0x2d4)]),_0x1a9515[_0x7b2f50(0x290)]);_0x1974ec=JSON[_0x7b2f50(0x287)](_0x1974ec);let _0xa91917=await fs['readFileAsync'](path['join'](__dirname,'..',_0x1a9515[_0x7b2f50(0x226)],_0x1a9515['GNRSk'],_0x1a9515[_0x7b2f50(0x250)]),_0x1a9515[_0x7b2f50(0x290)]);_0xa91917=JSON[_0x7b2f50(0x287)](_0xa91917),_0x1974ec[_0x7b2f50(0x2f7)]=this[_0x7b2f50(0x209)],_0x1974ec[_0x7b2f50(0x1c0)][0x0][_0x7b2f50(0x1e2)][_0x7b2f50(0x203)]=global_registry[_0x7b2f50(0x1cd)],_0x1974ec[_0x7b2f50(0x1c0)][0x1][_0x7b2f50(0x1e2)]['machineType']=global_registry['instanceType'],_0x1974ec[_0x7b2f50(0x1c0)][0x0][_0x7b2f50(0x1e2)]['serviceAccount']=this[_0x7b2f50(0x2b5)]+'@'+this[_0x7b2f50(0x2e1)]+_0x7b2f50(0x2f4),_0x1974ec['nodePools'][0x1]['config'][_0x7b2f50(0x253)]=this['serviceAccountName']+'@'+this['projectId']+_0x7b2f50(0x2f4),_0x1974ec[_0x7b2f50(0x1c0)][0x0][_0x7b2f50(0x2c3)][_0x7b2f50(0x27b)]=global_registry['minNodes'],_0x1974ec[_0x7b2f50(0x1c0)][0x1]['autoscaling'][_0x7b2f50(0x27b)]=0x0,_0x1974ec[_0x7b2f50(0x1c0)][0x0][_0x7b2f50(0x2c3)][_0x7b2f50(0x1ee)]=global_registry[_0x7b2f50(0x28c)],_0x1974ec[_0x7b2f50(0x1c0)][0x1][_0x7b2f50(0x2c3)][_0x7b2f50(0x1ee)]=global_registry['maxNodes'],_0x1974ec[_0x7b2f50(0x255)]=global_registry[_0x7b2f50(0x1c6)],_0x1974ec[_0x7b2f50(0x309)]=[_0xa91917[global_registry[_0x7b2f50(0x1c6)]][0x0]],_0x1974ec[_0x7b2f50(0x223)]=_0x7b2f50(0x281)+this['projectId']+_0x7b2f50(0x277)+_0x5b3108,_0x1974ec[_0x7b2f50(0x2a6)]=_0x7b2f50(0x281)+this[_0x7b2f50(0x2e1)]+_0x7b2f50(0x20b)+global_registry[_0x7b2f50(0x1c6)]+_0x7b2f50(0x254)+_0x1e55a4[0x0];const _0x51b73c=await this[_0x7b2f50(0x288)][_0x7b2f50(0x2c7)]({'cluster':_0x1974ec,'parent':_0x7b2f50(0x281)+this['projectId']+'/locations/'+global_registry[_0x7b2f50(0x1c6)]});await this['webSocketUtils']['delay'](_0x1a9515[_0x7b2f50(0x297)](_0x1a9515['ktgtv'](0x7,0x3c),0x3e8));}}catch(_0x10d910){if(_0x1a9515[_0x7b2f50(0x1b8)](_0x1a9515[_0x7b2f50(0x210)],_0x1a9515[_0x7b2f50(0x2e8)])){const _0x1d4fc1=await this['isClusterPresent']();if(_0x1d4fc1)_0x1a9515['IMmed'](_0x1a9515['wnMZk'],_0x1a9515[_0x7b2f50(0x1f8)])?_0x1a9515[_0x7b2f50(0x2f8)](_0x49227a[_0x7b2f50(0x2f7)],this[_0x7b2f50(0x209)])&&_0x1693b4[_0x7b2f50(0x289)](_0x2f3225):(logger[_0x7b2f50(0x1ed)](_0x1a9515[_0x7b2f50(0x272)],_0x10d910[_0x7b2f50(0x23c)]),await this[_0x7b2f50(0x245)]());else{if(_0x1a9515['IMmed'](_0x1a9515['bSBjX'],_0x1a9515[_0x7b2f50(0x2d8)]))logger[_0x7b2f50(0x1ed)](_0x1a9515[_0x7b2f50(0x306)]);else return![];}throw _0x10d910;}else _0x20c3aa[_0x7b2f50(0x1ed)](_0x1a9515[_0x7b2f50(0x306)]);}}async[a3_0x5af401(0x2fd)](){const _0x25114c=a3_0x5af401;cp['execSync'](_0x25114c(0x1cc)+this[_0x25114c(0x209)]+_0x25114c(0x2c8)+global_registry[_0x25114c(0x1c6)]+_0x25114c(0x27c));}async[a3_0x5af401(0x245)](_0x574b82,_0x9fae54){const _0x472dff=a3_0x5af401,_0x4a08c6={'PBlOq':function(_0x18adda,_0x1fd915){return _0x18adda+_0x1fd915;},'edGJQ':function(_0xce3df8,_0x3a26f3){return _0xce3df8===_0x3a26f3;},'LoIzg':_0x472dff(0x232),'ohDUd':function(_0x583d21,_0x3873f3){return _0x583d21(_0x3873f3);},'pFtfr':function(_0x4ede55,_0x4166f1){return _0x4ede55===_0x4166f1;},'rvBEz':'RUNNING','hGULx':_0x472dff(0x236),'qosWV':function(_0x2b8cc1,_0x20d660){return _0x2b8cc1!==_0x20d660;},'LFDdZ':'BzYSE','xIrbg':_0x472dff(0x2db),'UxdWQ':function(_0x38eb5e,_0x1f32f7){return _0x38eb5e===_0x1f32f7;},'IIzcE':_0x472dff(0x1d0),'uUQmt':_0x472dff(0x2ef),'NQPxt':_0x472dff(0x295)};try{if(_0x4a08c6[_0x472dff(0x23a)](_0x4a08c6['LoIzg'],_0x4a08c6[_0x472dff(0x237)])){await _0x4a08c6['ohDUd'](deleteAgent,_0x574b82),await _0x4a08c6['ohDUd'](deleteRoutingDeps,_0x574b82),logger[_0x472dff(0x1ed)](_0x472dff(0x280)+this[_0x472dff(0x209)]);const _0x141e97=await this['containerClient'][_0x472dff(0x245)]({'name':_0x472dff(0x281)+this[_0x472dff(0x2e1)]+_0x472dff(0x201)+global_registry[_0x472dff(0x1c6)]+'/clusters/'+this['clusterName']});if(_0x4a08c6[_0x472dff(0x27f)](_0x141e97[0x0]?.['status'],_0x4a08c6[_0x472dff(0x214)])||_0x4a08c6['edGJQ'](_0x141e97[0x0]?.[_0x472dff(0x2b2)],_0x4a08c6[_0x472dff(0x1bd)])){if(_0x4a08c6['qosWV'](_0x4a08c6['LFDdZ'],_0x4a08c6[_0x472dff(0x2da)]))_0x3f9d43[_0x472dff(0x1c6)]=_0x1760ed[0x0],this[_0x472dff(0x2cd)]();else return!![];}logger[_0x472dff(0x1ed)](_0x4a08c6[_0x472dff(0x1c7)]);}else _0x591f61['log']('['+_0x4a08c6[_0x472dff(0x2be)](_0x572ef6,0x1)+']\x20'+_0x29b658[_0xc8e3e8]);}catch(_0x3059da){if(_0x4a08c6[_0x472dff(0x27e)](_0x4a08c6[_0x472dff(0x24e)],_0x4a08c6[_0x472dff(0x2de)]))_0x1fa6ae=_0x5264ea[_0x472dff(0x2ba)](_0x275602[_0x4e9b02[_0x472dff(0x1c6)]]);else{logger[_0x472dff(0x1ed)](_0x4a08c6[_0x472dff(0x2a7)]);throw _0x3059da;}}}async['isVPCPresent'](_0x5e6d61){const _0x2cb78f=a3_0x5af401,_0x46e37e={};_0x46e37e['bAyDg']=function(_0xaef2cb,_0x15e559){return _0xaef2cb===_0x15e559;},_0x46e37e[_0x2cb78f(0x2ec)]='mIKNS',_0x46e37e[_0x2cb78f(0x29a)]=function(_0x363048,_0x31f989){return _0x363048>_0x31f989;},_0x46e37e[_0x2cb78f(0x1c3)]=_0x2cb78f(0x1f9),_0x46e37e[_0x2cb78f(0x30c)]=_0x2cb78f(0x1d9);const _0x230078=_0x46e37e;try{if(_0x230078[_0x2cb78f(0x2cf)](_0x230078[_0x2cb78f(0x2ec)],_0x230078[_0x2cb78f(0x2ec)])){const _0x1a8678=await this['networkClient'][_0x2cb78f(0x1d6)]({'project':this[_0x2cb78f(0x2e1)],'network':_0x5e6d61});if(_0x230078[_0x2cb78f(0x29a)](_0x1a8678[_0x2cb78f(0x208)],0x0)&&_0x230078[_0x2cb78f(0x2cf)](_0x1a8678[0x0][_0x2cb78f(0x2f7)],_0x5e6d61)){if(_0x230078[_0x2cb78f(0x2cf)](_0x230078[_0x2cb78f(0x1c3)],_0x230078[_0x2cb78f(0x30c)]))_0x775924['execSync'](_0x2cb78f(0x1cc)+this[_0x2cb78f(0x209)]+_0x2cb78f(0x2c8)+_0x1dc7ed[_0x2cb78f(0x1c6)]+_0x2cb78f(0x27c));else return!![];}}else return _0x12e318[_0x2cb78f(0x2b2)][_0x2cb78f(0x2c5)][_0x2cb78f(0x2d6)][0x0]['ip'];}catch(_0x275cdf){return![];}return![];}async[a3_0x5af401(0x302)](_0x13e0c6,_0x583835){const _0x293eb3=a3_0x5af401,_0xae5f44={};_0xae5f44[_0x293eb3(0x28a)]=function(_0x33aa14,_0x45f2b9){return _0x33aa14===_0x45f2b9;};const _0x4a015b=_0xae5f44;try{const _0x56d125=await this[_0x293eb3(0x2cc)]['get']({'project':this[_0x293eb3(0x2e1)],'network':_0x583835});for(const _0x45d8cf of _0x56d125[0x0]['subnetworks']){const _0x296deb=_0x293eb3(0x29d)+this[_0x293eb3(0x2e1)]+_0x293eb3(0x20b)+global_registry[_0x293eb3(0x1c6)]+_0x293eb3(0x254)+_0x13e0c6[0x0];if(_0x4a015b[_0x293eb3(0x28a)](_0x296deb,_0x45d8cf))return[!![],_0x13e0c6];}}catch(_0x5dedf2){return logger[_0x293eb3(0x2b3)](_0x293eb3(0x240)+_0x13e0c6+_0x293eb3(0x241)+_0x5dedf2),[![],[]];}return[![],[]];}async[a3_0x5af401(0x1e1)](){const _0x226992=a3_0x5af401,_0x309f2a=await this[_0x226992(0x2cc)][_0x226992(0x212)]({'project':this[_0x226992(0x2e1)]}),_0x11759b={};_0x11759b[_0x226992(0x1ea)]=global_registry[_0x226992(0x265)],_0x11759b[_0x226992(0x26c)]=global_registry['bstackAccesskey'],_0x11759b[_0x226992(0x1ec)]=GCP,_0x11759b[_0x226992(0x2fe)]=[];const _0x517b91=_0x11759b;for(const _0x3067d2 of _0x309f2a){_0x517b91[_0x226992(0x2fe)]['push'](_0x3067d2);}const _0x23a703={};_0x23a703['type']=WS_EVENTS[_0x226992(0x2a0)],_0x23a703[_0x226992(0x1fe)]=_0x517b91,this[_0x226992(0x305)][_0x226992(0x2df)](this[_0x226992(0x1b0)],_0x23a703);}async[a3_0x5af401(0x2cd)](){const _0x2b7672=a3_0x5af401,_0x566104={'GtEmT':function(_0x24edb6,_0x2b150b,_0x1de96d){return _0x24edb6(_0x2b150b,_0x1de96d);},'OVDTe':_0x2b7672(0x2a4),'aIytd':_0x2b7672(0x291)},_0x477fba=_0x2b7672(0x28b)+AG_API_URL+_0x2b7672(0x24c),_0x2f9f3e={};_0x2f9f3e['profileId']=global_registry[_0x2b7672(0x216)];const _0x46fc77={};_0x46fc77[_0x2b7672(0x2ed)]=global_registry[_0x2b7672(0x1c6)];const _0x49af39={'searchParams':_0x2f9f3e,'json':_0x46fc77,'headers':_0x566104[_0x2b7672(0x2a3)](getAuthHeader,global_registry[_0x2b7672(0x265)],global_registry[_0x2b7672(0x21e)]),'method':_0x566104[_0x2b7672(0x2f5)],'responseType':_0x566104['aIytd'],'throwHttpErrors':![]},_0x2402e8=await _0x566104['GtEmT'](got,_0x477fba,_0x49af39);}}function a3_0x2fbd(_0x2faaef,_0x4196a8){const _0x1ef395=a3_0x1ef3();return a3_0x2fbd=function(_0x2fbd82,_0x2bb220){_0x2fbd82=_0x2fbd82-0x1a3;let _0x2fbf5b=_0x1ef395[_0x2fbd82];return _0x2fbf5b;},a3_0x2fbd(_0x2faaef,_0x4196a8);}const a3_0x5908df={};a3_0x5908df[a3_0x5af401(0x2e3)]=GoogleCloudProvider,module[a3_0x5af401(0x21b)]=a3_0x5908df;
@@ -1 +1 @@
1
- function a4_0x7303(){const _0x51b501=['create-grid-called','../utils/instrumentationUtils','UzQOI','getCloudProviderObject','LRqKf','./Azure','\x20is\x20not\x20supported.\x20Please\x20use\x20Node.js\x20version\x2018\x20or\x20higher\x20to\x20setup\x20your\x20grid\x20in\x20Azure.\x20Error:\x20','qPmNe','error','325530UHJzBL','../config/logger','332934IfbCnG','versions','8386DyLUza','16SNTPQp','message',',\x20stacktrace:\x20','223745djwdQF','Unknown\x20cloud\x20provider\x20found\x20-\x20','exit','./AWS','701870DBnSav','init','aKghg','618NXDwQP','162fOLNmE','54856wXxLoK','1201vDzbHc'];a4_0x7303=function(){return _0x51b501;};return a4_0x7303();}function a4_0x4d90(_0x2bec4a,_0x127e8d){const _0x7303f7=a4_0x7303();return a4_0x4d90=function(_0x4d90ed,_0x17a8b3){_0x4d90ed=_0x4d90ed-0x127;let _0x560cb4=_0x7303f7[_0x4d90ed];return _0x560cb4;},a4_0x4d90(_0x2bec4a,_0x127e8d);}const a4_0xe62655=a4_0x4d90;(function(_0x528ff3,_0x1c75b6){const _0x98c664=a4_0x4d90,_0x28e21a=_0x528ff3();while(!![]){try{const _0x49d8df=parseInt(_0x98c664(0x140))/0x1*(parseInt(_0x98c664(0x13d))/0x2)+parseInt(_0x98c664(0x130))/0x3+parseInt(_0x98c664(0x13f))/0x4+-parseInt(_0x98c664(0x136))/0x5+-parseInt(_0x98c664(0x13e))/0x6*(parseInt(_0x98c664(0x132))/0x7)+-parseInt(_0x98c664(0x133))/0x8*(parseInt(_0x98c664(0x12e))/0x9)+parseInt(_0x98c664(0x13a))/0xa;if(_0x49d8df===_0x1c75b6)break;else _0x28e21a['push'](_0x28e21a['shift']());}catch(_0xf84d33){_0x28e21a['push'](_0x28e21a['shift']());}}}(a4_0x7303,0x65b29));const {AWSCloudProvider}=require(a4_0xe62655(0x139)),{GoogleCloudProvider}=require('./GoogleCloudProvider'),{installAzurePackages}=require('../utils/utilityMethods'),{AWS,AZURE,GCP,messageTypes}=require('../config/constants'),{sendInstrumentationEvent}=require(a4_0xe62655(0x142)),{logger}=require(a4_0xe62655(0x12f));exports[a4_0xe62655(0x128)]=async(_0x15ba5c,_0x40568d,_0x29e05b,_0x207296,_0x500ab8,_0x7e105b)=>{const _0x4de91c=a4_0xe62655,_0x545bc={'qPmNe':function(_0x1ab594){return _0x1ab594();},'LRqKf':function(_0x59cffe,_0x59edd0){return _0x59cffe(_0x59edd0);},'esmhf':_0x4de91c(0x12a),'aKghg':function(_0x2ee352,_0x3bb1af,_0x4dcad7,_0x5067bb,_0x4ea3fb,_0x36cc75,_0x3911f5){return _0x2ee352(_0x3bb1af,_0x4dcad7,_0x5067bb,_0x4ea3fb,_0x36cc75,_0x3911f5);},'UzQOI':_0x4de91c(0x141),'JjToI':'grid-spawning-failed'};switch(_0x15ba5c){case AWS:{const _0x5edbcb=new AWSCloudProvider(_0x40568d,_0x29e05b,_0x207296,_0x500ab8);return await _0x5edbcb['init']();}case GCP:{const _0x4ef897=new GoogleCloudProvider(_0x40568d,_0x29e05b,_0x207296,_0x500ab8);return await _0x4ef897[_0x4de91c(0x13b)]();}case AZURE:{try{await _0x545bc[_0x4de91c(0x12c)](installAzurePackages);const {AzureCloudProvider:_0x1d99da}=_0x545bc[_0x4de91c(0x129)](require,_0x545bc['esmhf']),_0x13c4d3=new _0x1d99da(_0x40568d,_0x29e05b,_0x207296,_0x500ab8);return await _0x13c4d3[_0x4de91c(0x13b)]();}catch(_0x32b3eb){const _0x310a6e='Current\x20Node.js\x20version\x20'+process[_0x4de91c(0x131)]['node']+_0x4de91c(0x12b)+_0x32b3eb[_0x4de91c(0x134)]+_0x4de91c(0x135)+_0x32b3eb['stack'];logger['error'](_0x310a6e);const _0x3b41ec={};_0x3b41ec[_0x4de91c(0x12d)]=_0x310a6e,await _0x545bc[_0x4de91c(0x13c)](sendInstrumentationEvent,_0x7e105b,_0x545bc[_0x4de91c(0x127)],messageTypes['ERROR'],_0x545bc['JjToI'],_0x3b41ec,_0x7e105b),process[_0x4de91c(0x138)](0x1);}}default:logger[_0x4de91c(0x12d)](_0x4de91c(0x137)+_0x15ba5c),process[_0x4de91c(0x138)](0x1);}};
1
+ const a4_0x1f2457=a4_0x399f;(function(_0x199822,_0x865536){const _0x3161d6=a4_0x399f,_0x4d0fb0=_0x199822();while(!![]){try{const _0x11a1a4=-parseInt(_0x3161d6(0x1e4))/0x1+parseInt(_0x3161d6(0x1e9))/0x2*(-parseInt(_0x3161d6(0x1e7))/0x3)+-parseInt(_0x3161d6(0x1ed))/0x4*(-parseInt(_0x3161d6(0x1e0))/0x5)+-parseInt(_0x3161d6(0x1dc))/0x6*(-parseInt(_0x3161d6(0x1f3))/0x7)+-parseInt(_0x3161d6(0x1ef))/0x8+-parseInt(_0x3161d6(0x1d6))/0x9+parseInt(_0x3161d6(0x1dd))/0xa;if(_0x11a1a4===_0x865536)break;else _0x4d0fb0['push'](_0x4d0fb0['shift']());}catch(_0x3bc657){_0x4d0fb0['push'](_0x4d0fb0['shift']());}}}(a4_0x507b,0x65788));const {AWSCloudProvider}=require('./AWS'),{GoogleCloudProvider}=require(a4_0x1f2457(0x1d7)),{installAzurePackages}=require(a4_0x1f2457(0x1f1)),{AWS,AZURE,GCP,messageTypes}=require(a4_0x1f2457(0x1d9)),{sendInstrumentationEvent}=require(a4_0x1f2457(0x1db)),{logger}=require(a4_0x1f2457(0x1de));function a4_0x507b(){const _0x1a7302=['10467520gEpqfZ','../config/logger','Current\x20Node.js\x20version\x20','11115XvXyVK','versions','ERROR','init','136822kLlabQ',',\x20stacktrace:\x20','stack','21549cQAoli','./Azure','146vDJwGk','iKbGZ','Zixws','create-grid-called','1156WkFiBR','grid-spawning-failed','3434224RCeuxw','FzsBE','../utils/utilityMethods','ElkdX','238qNXhCI','exit','\x20is\x20not\x20supported.\x20Please\x20use\x20Node.js\x20version\x2018\x20or\x20higher\x20to\x20setup\x20your\x20grid\x20in\x20Azure.\x20Error:\x20','node','DTZvY','getCloudProviderObject','4994766XXJzQL','./GoogleCloudProvider','error','../config/constants','message','../utils/instrumentationUtils','65622WQWdxg'];a4_0x507b=function(){return _0x1a7302;};return a4_0x507b();}function a4_0x399f(_0x1a98b1,_0x1991ac){const _0x507bd5=a4_0x507b();return a4_0x399f=function(_0x399f57,_0x3f4509){_0x399f57=_0x399f57-0x1d1;let _0x29d3b6=_0x507bd5[_0x399f57];return _0x29d3b6;},a4_0x399f(_0x1a98b1,_0x1991ac);}exports[a4_0x1f2457(0x1d5)]=async(_0x4a1a95,_0x8e64b7,_0x55a1e2,_0x22b79e,_0x1b6740,_0x5affff)=>{const _0x5b72d2=a4_0x1f2457,_0x23930e={'FzsBE':function(_0x456f6b){return _0x456f6b();},'iKbGZ':function(_0x5bbf37,_0x4a4321){return _0x5bbf37(_0x4a4321);},'DTZvY':_0x5b72d2(0x1e8),'Zixws':function(_0x29406f,_0x59bfe3,_0x111117,_0x4ee328,_0x33be43,_0x2a4663,_0x27af3d){return _0x29406f(_0x59bfe3,_0x111117,_0x4ee328,_0x33be43,_0x2a4663,_0x27af3d);},'ElkdX':_0x5b72d2(0x1ec),'RlPsT':_0x5b72d2(0x1ee)};switch(_0x4a1a95){case AWS:{const _0x470535=new AWSCloudProvider(_0x8e64b7,_0x55a1e2,_0x22b79e,_0x1b6740);return await _0x470535[_0x5b72d2(0x1e3)]();}case GCP:{const _0x5db6a9=new GoogleCloudProvider(_0x8e64b7,_0x55a1e2,_0x22b79e,_0x1b6740);return await _0x5db6a9['init']();}case AZURE:{try{await _0x23930e[_0x5b72d2(0x1f0)](installAzurePackages);const {AzureCloudProvider:_0x56e682}=_0x23930e[_0x5b72d2(0x1ea)](require,_0x23930e[_0x5b72d2(0x1d4)]),_0x1e7a59=new _0x56e682(_0x8e64b7,_0x55a1e2,_0x22b79e,_0x1b6740);return await _0x1e7a59[_0x5b72d2(0x1e3)]();}catch(_0x3d3c7b){const _0x2243f1=_0x5b72d2(0x1df)+process[_0x5b72d2(0x1e1)][_0x5b72d2(0x1d3)]+_0x5b72d2(0x1d2)+_0x3d3c7b[_0x5b72d2(0x1da)]+_0x5b72d2(0x1e5)+_0x3d3c7b[_0x5b72d2(0x1e6)];logger[_0x5b72d2(0x1d8)](_0x2243f1);const _0x5dd22a={};_0x5dd22a[_0x5b72d2(0x1d8)]=_0x2243f1,await _0x23930e[_0x5b72d2(0x1eb)](sendInstrumentationEvent,_0x5affff,_0x23930e[_0x5b72d2(0x1f2)],messageTypes[_0x5b72d2(0x1e2)],_0x23930e['RlPsT'],_0x5dd22a,_0x5affff),process[_0x5b72d2(0x1d1)](0x1);}}default:logger[_0x5b72d2(0x1d8)]('Unknown\x20cloud\x20provider\x20found\x20-\x20'+_0x4a1a95),process['exit'](0x1);}};
@@ -1 +1 @@
1
- const a5_0xe7f805=a5_0xfbcf;function a5_0x3336(){const _0x4772b7=['vBjXr','statusCode','kFdEl','52xdEVrJ','\x0aCurrent\x20configured\x20automation\x20grid\x20settings\x20are:','epilogue','bwxYy','DExlN','name','72554772kRASMu','Failed\x20to\x20update\x20grid\x20profile.\x20Response\x20from\x20server:\x20','stack','6IipxQO','cvdpg','active','got','recommendCommands','argv','wvoro','Browserstack','toLowerCase','PtSUO','nwHbw','body','mvblP','LhKWl','784935UfSMRg','/packages/cli/configure','../utils/instrumentationUtils','PUT','usage','MCdvv','configure','XWNEd','unknown-error','Pbebo','length','rsgLh','help','Do\x20you\x20want\x20to\x20change\x20the\x20default\x20grid-profile\x20(y/n)?','uuid','1748060ClhKYA','log','WaNVu','stringify','INFO','AXgTX','GNxZj','WBnpM','XJoKD','parse','iuqnI','11618055BStEmk','dTdXI','AblYO','qVtRo','init-not-called','password','ERROR','\x20\x20username:\x20','../utils/userInput','qvMih','88EpWJus','../config/constants','username','xSCbJ','JRuVl','server-error','qnezX','cstjr','dxdsE','mwISi','hETuq','1BLaYcQ','\x20\x20grid-profile:\x20','2268818FulpJP','XUhej','desc','416715zxdMwZ','12977174LiWAgy','unauthorised','error','bxUWE','exit','command','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','GoIhQ','aLgtc','nFkLU','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','aHWSe','https://','xHtXY','profileId','../utils/utilityMethods','eQAwk','8TpBlwh'];a5_0x3336=function(){return _0x4772b7;};return a5_0x3336();}(function(_0x5a5d2a,_0x593de1){const _0x3aabf4=a5_0xfbcf,_0x4b22cf=_0x5a5d2a();while(!![]){try{const _0x2860bd=parseInt(_0x3aabf4(0xd8))/0x1*(-parseInt(_0x3aabf4(0x79))/0x2)+-parseInt(_0x3aabf4(0x7c))/0x3*(parseInt(_0x3aabf4(0x92))/0x4)+-parseInt(_0x3aabf4(0xa9))/0x5+-parseInt(_0x3aabf4(0x9b))/0x6*(parseInt(_0x3aabf4(0x7d))/0x7)+parseInt(_0x3aabf4(0x8e))/0x8*(parseInt(_0x3aabf4(0xc3))/0x9)+parseInt(_0x3aabf4(0xb8))/0xa*(-parseInt(_0x3aabf4(0xcd))/0xb)+parseInt(_0x3aabf4(0x98))/0xc;if(_0x2860bd===_0x593de1)break;else _0x4b22cf['push'](_0x4b22cf['shift']());}catch(_0x5ea837){_0x4b22cf['push'](_0x4b22cf['shift']());}}}(a5_0x3336,0xf11f3));const fs=require('fs'),got=require(a5_0xe7f805(0x9e)),{v4:uuidv4}=require(a5_0xe7f805(0xb7)),{inputConfirmation,closeInput}=require(a5_0xe7f805(0xcb)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require(a5_0xe7f805(0xce)),{getCredentialsPath,getAuthHeader}=require(a5_0xe7f805(0x8c)),{sendInstrumentationEvent}=require(a5_0xe7f805(0xab));function a5_0xfbcf(_0x28ce60,_0x115fb4){const _0x3336b0=a5_0x3336();return a5_0xfbcf=function(_0xfbcfb4,_0x184ab2){_0xfbcfb4=_0xfbcfb4-0x79;let _0x441211=_0x3336b0[_0xfbcfb4];return _0x441211;},a5_0xfbcf(_0x28ce60,_0x115fb4);}exports[a5_0xe7f805(0x82)]='configure',exports[a5_0xe7f805(0x7b)]='Configure\x20the\x20default\x20automation\x20grid\x20profiles\x20on\x20BrowserStack\x20CLI.',exports['builder']=function(_0x5d7c66){const _0x32854f=a5_0xe7f805,_0x4c4964={};_0x4c4964[_0x32854f(0xa4)]=_0x32854f(0xb5);const _0x4e6d87=_0x4c4964;return _0x5d7c66[_0x32854f(0xad)](HELP_HEADER_MESSAGE[_0x32854f(0xaf)])[_0x32854f(0x94)](HELP_FOOTER_MESSAGE)[_0x32854f(0xb5)](_0x4e6d87[_0x32854f(0xa4)])[_0x32854f(0x9f)]()['strict']()[_0x32854f(0xa0)];},exports['handler']=async function(_0x23930d){const _0xcdedf6=a5_0xe7f805,_0x5c20cf={'mvblP':function(_0x1f6efb){return _0x1f6efb();},'DExlN':_0xcdedf6(0x87),'bwxYy':function(_0x25ae37,_0x206fa0,_0x6eb989,_0x269dcc,_0x232dd4,_0x5801e4,_0x3b04b5){return _0x25ae37(_0x206fa0,_0x6eb989,_0x269dcc,_0x232dd4,_0x5801e4,_0x3b04b5);},'qnezX':'configure-called','xSCbJ':_0xcdedf6(0xc7),'Pbebo':function(_0x259304,_0x250f28,_0x18e22d,_0x419cbf,_0x18e70c,_0x36c86b,_0x3a5364){return _0x259304(_0x250f28,_0x18e22d,_0x419cbf,_0x18e70c,_0x36c86b,_0x3a5364);},'aLgtc':function(_0x3004b0){return _0x3004b0();},'xHtXY':'GET','GNxZj':function(_0x470fce,_0x5e8d35,_0x13e793){return _0x470fce(_0x5e8d35,_0x13e793);},'qVtRo':function(_0x5e2f79,_0x29ee84,_0x17f6fe){return _0x5e2f79(_0x29ee84,_0x17f6fe);},'KkOcf':function(_0x2d13ea,_0x56e791){return _0x2d13ea!==_0x56e791;},'AblYO':function(_0x4e5b56,_0x565925){return _0x4e5b56!==_0x565925;},'hETuq':function(_0x472c84,_0x3d3365){return _0x472c84===_0x3d3365;},'cstjr':_0xcdedf6(0x93),'rcNgl':'core:','XUhej':function(_0x5ce221,_0x271c35){return _0x5ce221(_0x271c35);},'kFdEl':_0xcdedf6(0xb6),'WaNVu':function(_0x191952,_0x46724b){return _0x191952===_0x46724b;},'LhKWl':function(_0x163ff1,_0x305852){return _0x163ff1===_0x305852;},'aHWSe':'Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','nFkLU':'invalid-input','qvzlw':'What\x20Grid\x20profile\x20will\x20you\x20make\x20as\x20default?','hdOiM':function(_0xfa9d8a,_0x432e44){return _0xfa9d8a<_0x432e44;},'KpJiN':function(_0x1a257b,_0x3751a7){return _0x1a257b+_0x3751a7;},'eQAwk':'Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','iuqnI':function(_0x3bbbac,_0x1d0f8e){return _0x3bbbac(_0x1d0f8e);},'XWNEd':function(_0x1f1683,_0x532fa2){return _0x1f1683<=_0x532fa2;},'XJoKD':function(_0x27bfbf,_0x45772a){return _0x27bfbf>_0x45772a;},'mwISi':function(_0x5231e9,_0x1bb438,_0x711e6e,_0x3d1191,_0x406827,_0x1d7385,_0x71bbc9){return _0x5231e9(_0x1bb438,_0x711e6e,_0x3d1191,_0x406827,_0x1d7385,_0x71bbc9);},'nwHbw':'invalid-selection','cvdpg':function(_0x53aca4,_0x3d6c4e){return _0x53aca4-_0x3d6c4e;},'MCdvv':_0xcdedf6(0xac),'qvMih':'json','vBjXr':function(_0x53b35a,_0x275bee){return _0x53b35a!==_0x275bee;},'JRuVl':function(_0x26bce6,_0x16bb5d){return _0x26bce6!==_0x16bb5d;},'rsgLh':'Updated\x20default\x20Grid\x20Profile\x20successfully','bxUWE':'Failed\x20to\x20update\x20grid\x20profile.\x20Unauthorized\x20request!','AXgTX':_0xcdedf6(0x7e),'WBnpM':_0xcdedf6(0xd2),'dxdsE':_0xcdedf6(0x83),'wvoro':function(_0x15e33c,_0x4e5a1b,_0x467647,_0x315083,_0x3e22f0,_0x2418cf,_0x347c00){return _0x15e33c(_0x4e5a1b,_0x467647,_0x315083,_0x3e22f0,_0x2418cf,_0x347c00);},'GoIhQ':function(_0x53fe5e,_0x68c31e,_0x241678,_0x5a9949,_0x1cdf9a,_0x5ded79,_0x44fbeb){return _0x53fe5e(_0x68c31e,_0x241678,_0x5a9949,_0x1cdf9a,_0x5ded79,_0x44fbeb);},'dTdXI':_0xcdedf6(0xb1)};try{global_registry['requestId']=_0x5c20cf[_0xcdedf6(0xa7)](uuidv4);const _0x14bef7=_0xcdedf6(0x89)+AG_API_URL+_0xcdedf6(0xaa);!fs['existsSync'](_0x5c20cf[_0xcdedf6(0xa7)](getCredentialsPath))&&(console[_0xcdedf6(0x7f)](_0x5c20cf[_0xcdedf6(0x96)]),await _0x5c20cf[_0xcdedf6(0x95)](sendInstrumentationEvent,_0x23930d,_0x5c20cf[_0xcdedf6(0xd3)],messageTypes[_0xcdedf6(0xc9)],_0x5c20cf[_0xcdedf6(0xd0)],null,_0x23930d),process[_0xcdedf6(0x81)](0x1));await _0x5c20cf['Pbebo'](sendInstrumentationEvent,_0x23930d,_0x5c20cf[_0xcdedf6(0xd3)],messageTypes[_0xcdedf6(0xbc)],null,null,_0x23930d);const _0x48982f=JSON[_0xcdedf6(0xc1)](fs['readFileSync'](_0x5c20cf[_0xcdedf6(0x85)](getCredentialsPath))),_0x5b15e0={'method':_0x5c20cf[_0xcdedf6(0x8a)],'headers':_0x5c20cf[_0xcdedf6(0xbe)](getAuthHeader,_0x48982f['Browserstack'][_0xcdedf6(0xcf)],_0x48982f[_0xcdedf6(0xa2)][_0xcdedf6(0xc8)]),'throwHttpErrors':![]},_0xb598b5=await _0x5c20cf[_0xcdedf6(0xc6)](got,_0x14bef7,_0x5b15e0);if(_0x5c20cf['KkOcf'](_0xb598b5,null)&&_0x5c20cf[_0xcdedf6(0xc5)](_0xb598b5,undefined)&&_0x5c20cf['hETuq'](_0xb598b5['statusCode'],0xc8)){const _0x4f62cf=JSON[_0xcdedf6(0xc1)](_0xb598b5[_0xcdedf6(0xa6)]);console[_0xcdedf6(0xb9)](_0x5c20cf[_0xcdedf6(0xd4)]),console['log'](_0x5c20cf['rcNgl']),console[_0xcdedf6(0xb9)](_0xcdedf6(0xca)+_0x48982f['Browserstack'][_0xcdedf6(0xcf)]),console[_0xcdedf6(0xb9)](_0xcdedf6(0xd9)+_0x4f62cf[_0xcdedf6(0x9d)][_0xcdedf6(0x97)]);const _0x10af5c=await _0x5c20cf[_0xcdedf6(0x7a)](inputConfirmation,_0x5c20cf[_0xcdedf6(0x91)]);(_0x5c20cf[_0xcdedf6(0xd7)](_0x10af5c,undefined)||_0x5c20cf[_0xcdedf6(0xba)](_0x10af5c,null)||!(_0x5c20cf[_0xcdedf6(0xba)](_0x10af5c[_0xcdedf6(0xa3)](),'y')||_0x5c20cf[_0xcdedf6(0xa8)](_0x10af5c[_0xcdedf6(0xa3)](),'n')))&&(console[_0xcdedf6(0x7f)](_0x5c20cf['aHWSe']),await _0x5c20cf[_0xcdedf6(0xb2)](sendInstrumentationEvent,_0x23930d,_0x5c20cf[_0xcdedf6(0xd3)],messageTypes[_0xcdedf6(0xc9)],_0x5c20cf[_0xcdedf6(0x86)],null,_0x23930d),process[_0xcdedf6(0x81)](0x1));_0x5c20cf[_0xcdedf6(0xba)](_0x10af5c[_0xcdedf6(0xa3)](),'n')&&process[_0xcdedf6(0x81)](0x0);console[_0xcdedf6(0xb9)](_0x5c20cf['qvzlw']);const _0x14be90=_0x4f62cf['list'][_0xcdedf6(0xb3)];for(let _0x53bda0=0x0;_0x5c20cf['hdOiM'](_0x53bda0,_0x14be90);_0x53bda0+=0x1){console[_0xcdedf6(0xb9)]('['+_0x5c20cf['KpJiN'](_0x53bda0,0x1)+']\x20'+_0x4f62cf['list'][_0x53bda0][_0xcdedf6(0x97)]);}const _0x1bbe69=await _0x5c20cf['XUhej'](inputConfirmation,_0x5c20cf[_0xcdedf6(0x8d)]),_0x5315bf=_0x5c20cf[_0xcdedf6(0xc2)](Number,_0x1bbe69);(_0x5c20cf[_0xcdedf6(0x7a)](isNaN,_0x5315bf)||_0x5c20cf[_0xcdedf6(0xb0)](_0x5315bf,0x0)||_0x5c20cf[_0xcdedf6(0xc0)](_0x5315bf,_0x14be90))&&(console[_0xcdedf6(0x7f)](_0x5c20cf[_0xcdedf6(0x88)]),await _0x5c20cf['mwISi'](sendInstrumentationEvent,_0x23930d,_0x5c20cf[_0xcdedf6(0xd3)],messageTypes['ERROR'],_0x5c20cf[_0xcdedf6(0xa5)],null,_0x23930d),process['exit'](0x1));_0x5c20cf[_0xcdedf6(0xa7)](closeInput);const _0x300baf=_0x4f62cf['list'][_0x5c20cf[_0xcdedf6(0x9c)](_0x5315bf,0x1)]['id'],_0x16e17f={};_0x16e17f[_0xcdedf6(0x8b)]=_0x300baf;const _0x323d88={'method':_0x5c20cf[_0xcdedf6(0xae)],'headers':_0x5c20cf[_0xcdedf6(0xbe)](getAuthHeader,_0x48982f[_0xcdedf6(0xa2)][_0xcdedf6(0xcf)],_0x48982f[_0xcdedf6(0xa2)]['password']),'json':_0x16e17f,'responseType':_0x5c20cf[_0xcdedf6(0xcc)],'throwHttpErrors':![]},_0xed370e=await _0x5c20cf[_0xcdedf6(0xc6)](got,_0x14bef7,_0x323d88);_0x5c20cf[_0xcdedf6(0x8f)](_0xed370e,null)&&_0x5c20cf[_0xcdedf6(0xd1)](_0xed370e,undefined)&&_0x5c20cf[_0xcdedf6(0xd7)](_0xed370e['statusCode'],0xc8)&&(console['log'](_0x5c20cf[_0xcdedf6(0xb4)]),process['exit'](0x0)),_0x5c20cf[_0xcdedf6(0xd7)](_0xed370e[_0xcdedf6(0x90)],0x191)&&(console['error'](_0x5c20cf[_0xcdedf6(0x80)]),await _0x5c20cf['mwISi'](sendInstrumentationEvent,_0x23930d,_0x5c20cf['qnezX'],messageTypes[_0xcdedf6(0xc9)],_0x5c20cf['AXgTX'],null,_0x23930d),process['exit'](0x1)),console['error'](_0xcdedf6(0x99)+JSON['stringify'](_0xed370e)),await _0x5c20cf[_0xcdedf6(0xd6)](sendInstrumentationEvent,_0x23930d,_0x5c20cf[_0xcdedf6(0xd3)],messageTypes[_0xcdedf6(0xc9)],_0x5c20cf[_0xcdedf6(0xbf)],_0xed370e,_0x23930d),process[_0xcdedf6(0x81)](0x1);}_0x5c20cf[_0xcdedf6(0xd7)](_0xb598b5[_0xcdedf6(0x90)],0x191)&&(console['error'](_0x5c20cf[_0xcdedf6(0xd5)]),await _0x5c20cf[_0xcdedf6(0xa1)](sendInstrumentationEvent,_0x23930d,_0x5c20cf[_0xcdedf6(0xd3)],messageTypes[_0xcdedf6(0xc9)],_0x5c20cf[_0xcdedf6(0xbd)],null,_0x23930d),process[_0xcdedf6(0x81)](0x1)),console[_0xcdedf6(0x7f)]('Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20'+JSON[_0xcdedf6(0xbb)](_0xb598b5)),await _0x5c20cf[_0xcdedf6(0x84)](sendInstrumentationEvent,_0x23930d,_0x5c20cf[_0xcdedf6(0xd3)],messageTypes[_0xcdedf6(0xc9)],_0x5c20cf[_0xcdedf6(0xbf)],_0xb598b5,_0x23930d),process[_0xcdedf6(0x81)](0x1);}catch(_0x5cb53f){console[_0xcdedf6(0x7f)]('Failed\x20to\x20configure\x20resources!\x20Error:\x20'+_0x5cb53f[_0xcdedf6(0x9a)]),await _0x5c20cf['wvoro'](sendInstrumentationEvent,_0x23930d,_0x5c20cf[_0xcdedf6(0xd3)],messageTypes[_0xcdedf6(0xc9)],_0x5c20cf[_0xcdedf6(0xc4)],_0x5cb53f,_0x23930d),process['exit'](0x1);}};
1
+ const a5_0x10337a=a5_0x330c;(function(_0x55b8dc,_0x2fbb52){const _0xc6087a=a5_0x330c,_0x50bb78=_0x55b8dc();while(!![]){try{const _0x401910=parseInt(_0xc6087a(0x114))/0x1*(parseInt(_0xc6087a(0x14e))/0x2)+parseInt(_0xc6087a(0x10f))/0x3*(parseInt(_0xc6087a(0x137))/0x4)+parseInt(_0xc6087a(0x11f))/0x5+-parseInt(_0xc6087a(0x139))/0x6+parseInt(_0xc6087a(0x11c))/0x7*(parseInt(_0xc6087a(0x15c))/0x8)+parseInt(_0xc6087a(0x128))/0x9*(-parseInt(_0xc6087a(0x152))/0xa)+-parseInt(_0xc6087a(0x115))/0xb;if(_0x401910===_0x2fbb52)break;else _0x50bb78['push'](_0x50bb78['shift']());}catch(_0x2e2dd7){_0x50bb78['push'](_0x50bb78['shift']());}}}(a5_0x308d,0x600fc));function a5_0x308d(){const _0x27a077=['active','log','GgnKR','EjyUS','25672rQQLEZ','name','help','existsSync','password','PUT','configure','VjPdM','Browserstack','strict','epilogue','../utils/utilityMethods','xrXpf','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Response\x20from\x20server:\x20','statusCode','../utils/userInput','stack','Do\x20you\x20want\x20to\x20change\x20the\x20default\x20grid-profile\x20(y/n)?','unknown-error','myRfx','invalid-selection','mInAO','IcyRR','ovnhH','toLowerCase','OfnGO','2265olsqRG','SrClB','username','Ednuf','list','151363NYWlko','4291980PkWJrc','What\x20Grid\x20profile\x20will\x20you\x20make\x20as\x20default?','error','aHjDe','server-error','RdBSI','\x20\x20username:\x20','693SyOYNc','handler','iRRJc','2966260SlxhGD','DlEgb','TXYWs','fuIsW','length','bpjUt','UyvvI','Credentials\x20not\x20found!\x20Ensure\x20init\x20command\x20is\x20run\x20before\x20running\x20this\x20command.','CjWSA','1090305YKUFDQ','Usioi','init-not-called','desc','body','mOjIi','profileId','Configure\x20the\x20default\x20automation\x20grid\x20profiles\x20on\x20BrowserStack\x20CLI.','NGrpL','NLHoQ','configure-called','stringify','lscpI','AcEHH','oCSUR','444PfWtCF','json','902346Ndywvo','../utils/instrumentationUtils','command','exit','AcnxT','https://','Wrong\x20input!\x20Please\x20try\x20again\x20with\x20a\x20valid\x20input.','got','SIRJI','unauthorised','uuid','JGEbF','argv','ERROR','OZPvT','invalid-input','eZLgx','tBEFu','Failed\x20to\x20fetch\x20grid\x20profile\x20details\x20from\x20the\x20server.\x20Unauthorized\x20request!','\x0aCurrent\x20configured\x20automation\x20grid\x20settings\x20are:','usage','4lzRGCq','Failed\x20to\x20update\x20grid\x20profile.\x20Unauthorized\x20request!','hkmPc','Failed\x20to\x20configure\x20resources!\x20Error:\x20','30UslJNC','gkkVI','vRwvX','Failed\x20to\x20update\x20grid\x20profile.\x20Response\x20from\x20server:\x20','Please\x20enter\x20numeric\x20choice\x20(must\x20exactly\x20match\x20list\x20item)','/packages/cli/configure'];a5_0x308d=function(){return _0x27a077;};return a5_0x308d();}const fs=require('fs'),got=require(a5_0x10337a(0x140)),{v4:uuidv4}=require(a5_0x10337a(0x143)),{inputConfirmation,closeInput}=require(a5_0x10337a(0x104)),{AG_API_URL,HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE,global_registry,messageTypes}=require('../config/constants'),{getCredentialsPath,getAuthHeader}=require(a5_0x10337a(0x100)),{sendInstrumentationEvent}=require(a5_0x10337a(0x13a));function a5_0x330c(_0x2768c3,_0x530853){const _0x308da8=a5_0x308d();return a5_0x330c=function(_0x330c6b,_0xf687a0){_0x330c6b=_0x330c6b-0xfd;let _0x236335=_0x308da8[_0x330c6b];return _0x236335;},a5_0x330c(_0x2768c3,_0x530853);}exports[a5_0x10337a(0x13b)]=a5_0x10337a(0x162),exports[a5_0x10337a(0x12b)]=a5_0x10337a(0x12f),exports['builder']=function(_0x3b0cb8){const _0xeb0ae7=a5_0x10337a,_0x558a29={};_0x558a29['IcyRR']=_0xeb0ae7(0x15e);const _0x483350=_0x558a29;return _0x3b0cb8[_0xeb0ae7(0x14d)](HELP_HEADER_MESSAGE[_0xeb0ae7(0x162)])[_0xeb0ae7(0xff)](HELP_FOOTER_MESSAGE)[_0xeb0ae7(0x15e)](_0x483350[_0xeb0ae7(0x10b)])['recommendCommands']()[_0xeb0ae7(0xfe)]()[_0xeb0ae7(0x145)];},exports[a5_0x10337a(0x11d)]=async function(_0x239c4c){const _0x5a1be3=a5_0x10337a,_0x2f6b73={'ZDzYw':function(_0x40e049){return _0x40e049();},'bpjUt':function(_0x449319){return _0x449319();},'Ednuf':_0x5a1be3(0x126),'tBEFu':function(_0x5b9ed4,_0x31936d,_0x332ebd,_0x35a5d5,_0x3b19fc,_0x6bca2,_0x38dc7a){return _0x5b9ed4(_0x31936d,_0x332ebd,_0x35a5d5,_0x3b19fc,_0x6bca2,_0x38dc7a);},'RdBSI':_0x5a1be3(0x132),'fuIsW':_0x5a1be3(0x12a),'AcnxT':function(_0x126917){return _0x126917();},'hkmPc':'GET','OZPvT':function(_0x31baec,_0x419a14,_0x379be9){return _0x31baec(_0x419a14,_0x379be9);},'SIRJI':function(_0x3485b1,_0xd503b7,_0x40311b){return _0x3485b1(_0xd503b7,_0x40311b);},'CjWSA':function(_0x1c5371,_0x1d55a6){return _0x1c5371!==_0x1d55a6;},'myRfx':function(_0x1145c9,_0x653551){return _0x1145c9===_0x653551;},'kMWSE':_0x5a1be3(0x14c),'VjPdM':'core:','mOjIi':function(_0xa4a058,_0x27946e){return _0xa4a058(_0x27946e);},'Usioi':_0x5a1be3(0x106),'KQyHR':function(_0x2908e7,_0x2c73fd){return _0x2908e7===_0x2c73fd;},'SrClB':_0x5a1be3(0x13f),'JGEbF':function(_0x111354,_0x5bcd6e,_0x4d81d4,_0x204eb4,_0x56717d,_0x5e609e,_0x3f6289){return _0x111354(_0x5bcd6e,_0x4d81d4,_0x204eb4,_0x56717d,_0x5e609e,_0x3f6289);},'CdFao':_0x5a1be3(0x148),'mInAO':function(_0x1d571e,_0x419d72){return _0x1d571e===_0x419d72;},'eZLgx':_0x5a1be3(0x116),'xrXpf':function(_0x1fc35b,_0x3d5478){return _0x1fc35b<_0x3d5478;},'lscpI':function(_0x2a7db8,_0x12415d){return _0x2a7db8+_0x12415d;},'aHjDe':_0x5a1be3(0x156),'GgnKR':function(_0x17c13f,_0x1f87c7){return _0x17c13f(_0x1f87c7);},'DlEgb':function(_0x546038,_0x47d679){return _0x546038(_0x47d679);},'nxFAw':function(_0x3d599d,_0x4b7ea2){return _0x3d599d<=_0x4b7ea2;},'BirGR':function(_0x33d5bc,_0x508104){return _0x33d5bc>_0x508104;},'Fzazm':_0x5a1be3(0x109),'VCGnF':function(_0x157251){return _0x157251();},'fivAp':function(_0x3c7fa8,_0x37c034){return _0x3c7fa8-_0x37c034;},'CENyL':_0x5a1be3(0x161),'UyvvI':function(_0x2b6dd6,_0x31b7b2,_0x214d14){return _0x2b6dd6(_0x31b7b2,_0x214d14);},'gkkVI':_0x5a1be3(0x138),'iRRJc':function(_0x4f2112,_0x1c8124){return _0x4f2112===_0x1c8124;},'OfnGO':'Updated\x20default\x20Grid\x20Profile\x20successfully','MKPct':function(_0x21e86a,_0x24e51f){return _0x21e86a===_0x24e51f;},'ovnhH':_0x5a1be3(0x14f),'TXYWs':function(_0xe1f05a,_0x449387,_0x2051b2,_0x347335,_0x7e8131,_0x2a4837,_0x420c51){return _0xe1f05a(_0x449387,_0x2051b2,_0x347335,_0x7e8131,_0x2a4837,_0x420c51);},'NGrpL':_0x5a1be3(0x142),'AcEHH':function(_0x85f2e0,_0x416cdd,_0x355be5,_0x28e479,_0x23c92a,_0x3c0638,_0x2c4404){return _0x85f2e0(_0x416cdd,_0x355be5,_0x28e479,_0x23c92a,_0x3c0638,_0x2c4404);},'NLHoQ':_0x5a1be3(0x119),'vRwvX':function(_0x3ebf20,_0x3236d4){return _0x3ebf20===_0x3236d4;},'EjyUS':_0x5a1be3(0x14b),'oCSUR':_0x5a1be3(0x107)};try{global_registry['requestId']=_0x2f6b73['ZDzYw'](uuidv4);const _0x2940b2=_0x5a1be3(0x13e)+AG_API_URL+_0x5a1be3(0x157);!fs[_0x5a1be3(0x15f)](_0x2f6b73[_0x5a1be3(0x124)](getCredentialsPath))&&(console[_0x5a1be3(0x117)](_0x2f6b73[_0x5a1be3(0x112)]),await _0x2f6b73[_0x5a1be3(0x14a)](sendInstrumentationEvent,_0x239c4c,_0x2f6b73['RdBSI'],messageTypes[_0x5a1be3(0x146)],_0x2f6b73[_0x5a1be3(0x122)],null,_0x239c4c),process[_0x5a1be3(0x13c)](0x1));await _0x2f6b73[_0x5a1be3(0x14a)](sendInstrumentationEvent,_0x239c4c,_0x2f6b73[_0x5a1be3(0x11a)],messageTypes['INFO'],null,null,_0x239c4c);const _0x5f2dfa=JSON['parse'](fs['readFileSync'](_0x2f6b73[_0x5a1be3(0x13d)](getCredentialsPath))),_0xe4029e={'method':_0x2f6b73[_0x5a1be3(0x150)],'headers':_0x2f6b73[_0x5a1be3(0x147)](getAuthHeader,_0x5f2dfa[_0x5a1be3(0xfd)][_0x5a1be3(0x111)],_0x5f2dfa[_0x5a1be3(0xfd)]['password']),'throwHttpErrors':![]},_0x4467f6=await _0x2f6b73[_0x5a1be3(0x141)](got,_0x2940b2,_0xe4029e);if(_0x2f6b73[_0x5a1be3(0x127)](_0x4467f6,null)&&_0x2f6b73[_0x5a1be3(0x127)](_0x4467f6,undefined)&&_0x2f6b73[_0x5a1be3(0x108)](_0x4467f6['statusCode'],0xc8)){const _0x562c4d=JSON['parse'](_0x4467f6[_0x5a1be3(0x12c)]);console[_0x5a1be3(0x159)](_0x2f6b73['kMWSE']),console[_0x5a1be3(0x159)](_0x2f6b73[_0x5a1be3(0x163)]),console[_0x5a1be3(0x159)](_0x5a1be3(0x11b)+_0x5f2dfa['Browserstack'][_0x5a1be3(0x111)]),console[_0x5a1be3(0x159)]('\x20\x20grid-profile:\x20'+_0x562c4d[_0x5a1be3(0x158)][_0x5a1be3(0x15d)]);const _0x411158=await _0x2f6b73[_0x5a1be3(0x12d)](inputConfirmation,_0x2f6b73[_0x5a1be3(0x129)]);(_0x2f6b73[_0x5a1be3(0x108)](_0x411158,undefined)||_0x2f6b73[_0x5a1be3(0x108)](_0x411158,null)||!(_0x2f6b73[_0x5a1be3(0x108)](_0x411158['toLowerCase'](),'y')||_0x2f6b73['KQyHR'](_0x411158['toLowerCase'](),'n')))&&(console[_0x5a1be3(0x117)](_0x2f6b73[_0x5a1be3(0x110)]),await _0x2f6b73[_0x5a1be3(0x144)](sendInstrumentationEvent,_0x239c4c,_0x2f6b73['RdBSI'],messageTypes[_0x5a1be3(0x146)],_0x2f6b73['CdFao'],null,_0x239c4c),process['exit'](0x1));_0x2f6b73[_0x5a1be3(0x10a)](_0x411158[_0x5a1be3(0x10d)](),'n')&&process[_0x5a1be3(0x13c)](0x0);console[_0x5a1be3(0x159)](_0x2f6b73[_0x5a1be3(0x149)]);const _0x139a26=_0x562c4d[_0x5a1be3(0x113)][_0x5a1be3(0x123)];for(let _0x3525c1=0x0;_0x2f6b73[_0x5a1be3(0x101)](_0x3525c1,_0x139a26);_0x3525c1+=0x1){console[_0x5a1be3(0x159)]('['+_0x2f6b73[_0x5a1be3(0x134)](_0x3525c1,0x1)+']\x20'+_0x562c4d['list'][_0x3525c1][_0x5a1be3(0x15d)]);}const _0x32947f=await _0x2f6b73[_0x5a1be3(0x12d)](inputConfirmation,_0x2f6b73[_0x5a1be3(0x118)]),_0x4e7fcf=_0x2f6b73[_0x5a1be3(0x15a)](Number,_0x32947f);(_0x2f6b73[_0x5a1be3(0x120)](isNaN,_0x4e7fcf)||_0x2f6b73['nxFAw'](_0x4e7fcf,0x0)||_0x2f6b73['BirGR'](_0x4e7fcf,_0x139a26))&&(console[_0x5a1be3(0x117)](_0x2f6b73[_0x5a1be3(0x110)]),await _0x2f6b73[_0x5a1be3(0x144)](sendInstrumentationEvent,_0x239c4c,_0x2f6b73[_0x5a1be3(0x11a)],messageTypes[_0x5a1be3(0x146)],_0x2f6b73['Fzazm'],null,_0x239c4c),process[_0x5a1be3(0x13c)](0x1));_0x2f6b73['VCGnF'](closeInput);const _0x26744d=_0x562c4d[_0x5a1be3(0x113)][_0x2f6b73['fivAp'](_0x4e7fcf,0x1)]['id'],_0x590217={};_0x590217[_0x5a1be3(0x12e)]=_0x26744d;const _0x320b53={'method':_0x2f6b73['CENyL'],'headers':_0x2f6b73['UyvvI'](getAuthHeader,_0x5f2dfa[_0x5a1be3(0xfd)]['username'],_0x5f2dfa[_0x5a1be3(0xfd)][_0x5a1be3(0x160)]),'json':_0x590217,'responseType':_0x2f6b73[_0x5a1be3(0x153)],'throwHttpErrors':![]},_0x3a6fc7=await _0x2f6b73[_0x5a1be3(0x125)](got,_0x2940b2,_0x320b53);_0x2f6b73['CjWSA'](_0x3a6fc7,null)&&_0x2f6b73['CjWSA'](_0x3a6fc7,undefined)&&_0x2f6b73[_0x5a1be3(0x11e)](_0x3a6fc7[_0x5a1be3(0x103)],0xc8)&&(console['log'](_0x2f6b73[_0x5a1be3(0x10e)]),process[_0x5a1be3(0x13c)](0x0)),_0x2f6b73['MKPct'](_0x3a6fc7[_0x5a1be3(0x103)],0x191)&&(console['error'](_0x2f6b73[_0x5a1be3(0x10c)]),await _0x2f6b73[_0x5a1be3(0x121)](sendInstrumentationEvent,_0x239c4c,_0x2f6b73[_0x5a1be3(0x11a)],messageTypes[_0x5a1be3(0x146)],_0x2f6b73[_0x5a1be3(0x130)],null,_0x239c4c),process[_0x5a1be3(0x13c)](0x1)),console[_0x5a1be3(0x117)](_0x5a1be3(0x155)+JSON[_0x5a1be3(0x133)](_0x3a6fc7)),await _0x2f6b73[_0x5a1be3(0x135)](sendInstrumentationEvent,_0x239c4c,_0x2f6b73[_0x5a1be3(0x11a)],messageTypes[_0x5a1be3(0x146)],_0x2f6b73[_0x5a1be3(0x131)],_0x3a6fc7,_0x239c4c),process[_0x5a1be3(0x13c)](0x1);}_0x2f6b73[_0x5a1be3(0x154)](_0x4467f6[_0x5a1be3(0x103)],0x191)&&(console[_0x5a1be3(0x117)](_0x2f6b73[_0x5a1be3(0x15b)]),await _0x2f6b73[_0x5a1be3(0x121)](sendInstrumentationEvent,_0x239c4c,_0x2f6b73[_0x5a1be3(0x11a)],messageTypes['ERROR'],_0x2f6b73[_0x5a1be3(0x130)],null,_0x239c4c),process[_0x5a1be3(0x13c)](0x1)),console[_0x5a1be3(0x117)](_0x5a1be3(0x102)+JSON[_0x5a1be3(0x133)](_0x4467f6)),await _0x2f6b73[_0x5a1be3(0x144)](sendInstrumentationEvent,_0x239c4c,_0x2f6b73[_0x5a1be3(0x11a)],messageTypes['ERROR'],_0x2f6b73[_0x5a1be3(0x131)],_0x4467f6,_0x239c4c),process['exit'](0x1);}catch(_0x47663c){console['error'](_0x5a1be3(0x151)+_0x47663c[_0x5a1be3(0x105)]),await _0x2f6b73[_0x5a1be3(0x121)](sendInstrumentationEvent,_0x239c4c,_0x2f6b73['RdBSI'],messageTypes[_0x5a1be3(0x146)],_0x2f6b73[_0x5a1be3(0x136)],_0x47663c,_0x239c4c),process[_0x5a1be3(0x13c)](0x1);}};
@@ -1 +1 @@
1
- const a6_0x4358a4=a6_0x38a5;function a6_0x38a5(_0x46f7a3,_0xa2b30d){const _0x507dda=a6_0x507d();return a6_0x38a5=function(_0x38a58c,_0x3eba73){_0x38a58c=_0x38a58c-0x8d;let _0xf4bd58=_0x507dda[_0x38a58c];return _0xf4bd58;},a6_0x38a5(_0x46f7a3,_0xa2b30d);}(function(_0x715536,_0x391bc1){const _0x2b5da9=a6_0x38a5,_0x37c416=_0x715536();while(!![]){try{const _0x1134e7=-parseInt(_0x2b5da9(0x9f))/0x1+parseInt(_0x2b5da9(0x94))/0x2*(-parseInt(_0x2b5da9(0x8f))/0x3)+parseInt(_0x2b5da9(0x99))/0x4*(parseInt(_0x2b5da9(0x8d))/0x5)+-parseInt(_0x2b5da9(0x98))/0x6+parseInt(_0x2b5da9(0x93))/0x7+-parseInt(_0x2b5da9(0x9c))/0x8*(-parseInt(_0x2b5da9(0x91))/0x9)+-parseInt(_0x2b5da9(0xa1))/0xa;if(_0x1134e7===_0x391bc1)break;else _0x37c416['push'](_0x37c416['shift']());}catch(_0x130dbd){_0x37c416['push'](_0x37c416['shift']());}}}(a6_0x507d,0x93fa0));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a6_0x4358a4(0x95));function a6_0x507d(){const _0x116319=['27GBeKxa','command','2768465LTOMQe','6iiqkRD','../config/constants','IPhBg','recommendCommands','937722qDRkzT','211340RqSMoD','IJygq','connect','1846336tfNTAK','Create\x20a\x20private\x20connection\x20between\x20grid\x20and\x20your\x20staging\x20environment','desc','599236tHOEPl','help','4806080scxqaX','handler','commandDir','85XEwGhQ','usage','143823VDXNvb','epilogue'];a6_0x507d=function(){return _0x116319;};return a6_0x507d();}exports[a6_0x4358a4(0x92)]='connect',exports[a6_0x4358a4(0x9e)]=a6_0x4358a4(0x9d),exports['builder']=function(_0x4a2d95){const _0x4c6503=a6_0x4358a4,_0x4cd7fe={};_0x4cd7fe[_0x4c6503(0x9a)]='connect_commands',_0x4cd7fe['IPhBg']='help';const _0x3f4e77=_0x4cd7fe;return _0x4a2d95[_0x4c6503(0x8e)](HELP_HEADER_MESSAGE[_0x4c6503(0x9b)])[_0x4c6503(0x90)](HELP_FOOTER_MESSAGE)[_0x4c6503(0xa3)](_0x3f4e77[_0x4c6503(0x9a)])['demandCommand']()[_0x4c6503(0x97)]()['strict']()[_0x4c6503(0xa0)](_0x3f4e77[_0x4c6503(0x96)]);},exports[a6_0x4358a4(0xa2)]=function(_0x32f6de){};
1
+ function a6_0x1bb3(){const _0x4fb0b8=['demandCommand','23149VZNzjN','usage','epilogue','Create\x20a\x20private\x20connection\x20between\x20grid\x20and\x20your\x20staging\x20environment','23529kTdIxP','desc','8145dpxCJa','251089YTEOMM','commandDir','strict','help','505684OyfKBJ','builder','efBJr','connect','vJQmH','729000YTtbXj','248GSavps','496865ludkPE','4850DgpbLe','command','recommendCommands','6vCXTaw','178UZeZgm'];a6_0x1bb3=function(){return _0x4fb0b8;};return a6_0x1bb3();}const a6_0x1a0855=a6_0x5ac0;function a6_0x5ac0(_0x2c5012,_0x56dc24){const _0x1bb394=a6_0x1bb3();return a6_0x5ac0=function(_0x5ac0b3,_0x5195f2){_0x5ac0b3=_0x5ac0b3-0x1e1;let _0x20ef00=_0x1bb394[_0x5ac0b3];return _0x20ef00;},a6_0x5ac0(_0x2c5012,_0x56dc24);}(function(_0xb4111,_0x21df4c){const _0x404390=a6_0x5ac0,_0x29afc1=_0xb4111();while(!![]){try{const _0x5eabdb=-parseInt(_0x404390(0x1e9))/0x1+parseInt(_0x404390(0x1f9))/0x2*(-parseInt(_0x404390(0x1e8))/0x3)+-parseInt(_0x404390(0x1ed))/0x4+-parseInt(_0x404390(0x1f4))/0x5*(parseInt(_0x404390(0x1f8))/0x6)+parseInt(_0x404390(0x1e2))/0x7*(-parseInt(_0x404390(0x1f3))/0x8)+-parseInt(_0x404390(0x1f2))/0x9+-parseInt(_0x404390(0x1f5))/0xa*(-parseInt(_0x404390(0x1e6))/0xb);if(_0x5eabdb===_0x21df4c)break;else _0x29afc1['push'](_0x29afc1['shift']());}catch(_0x3cb65c){_0x29afc1['push'](_0x29afc1['shift']());}}}(a6_0x1bb3,0x210d4));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require('../config/constants');exports[a6_0x1a0855(0x1f6)]=a6_0x1a0855(0x1f0),exports[a6_0x1a0855(0x1e7)]=a6_0x1a0855(0x1e5),exports[a6_0x1a0855(0x1ee)]=function(_0x18e273){const _0x5638d0=a6_0x1a0855,_0x2977db={};_0x2977db['efBJr']='connect_commands',_0x2977db[_0x5638d0(0x1f1)]='help';const _0x382485=_0x2977db;return _0x18e273[_0x5638d0(0x1e3)](HELP_HEADER_MESSAGE[_0x5638d0(0x1f0)])[_0x5638d0(0x1e4)](HELP_FOOTER_MESSAGE)[_0x5638d0(0x1ea)](_0x382485[_0x5638d0(0x1ef)])[_0x5638d0(0x1e1)]()[_0x5638d0(0x1f7)]()[_0x5638d0(0x1eb)]()[_0x5638d0(0x1ec)](_0x382485[_0x5638d0(0x1f1)]);},exports['handler']=function(_0x39a7d9){};
@@ -1 +1 @@
1
- function a7_0x1773(_0x417120,_0x7e9a2d){const _0x30144f=a7_0x3014();return a7_0x1773=function(_0x1773e1,_0xeb1d4){_0x1773e1=_0x1773e1-0xe1;let _0x223c47=_0x30144f[_0x1773e1];return _0x223c47;},a7_0x1773(_0x417120,_0x7e9a2d);}const a7_0x464e3f=a7_0x1773;function a7_0x3014(){const _0x53dcdf=['Pass\x20the\x20ID\x20of\x20the\x20Grid','1399719fqhuxI','accessKey','140408dbTeLS','WUaQm','yGSlW','JrDxZ','yMHgU','handler','cazIw','customRepeaters','Please\x20provide\x20a\x20valid\x20Grid\x20Identifier','bstackAccesskey','DozTs','KObsk','fNGTc','gridId','meUfI','vnkLF','exit','9903770WfYltn','hdnrM','../../config/constants','fAzZX','TnyXf','isTrialGrid','UkHSr','useStaging','KrnFd','cdiIk','qXogg','Advance\x20options\x20for\x20Browserstack\x20Local','VzCVx','czcIs','Couldn\x27t\x20find\x20username\x20/\x20accesskey,\x20please\x20use\x20--username\x20and\x20--accesskey','299804bfziir','create','VGJpN','use-staging','SkRxE','pxxmG','browserStackLocalOptions','eQKsn','MuZfO','Couldn\x27t\x20establish\x20a\x20private\x20connection\x20with\x20the\x20grid','../../config/logger','demandOption','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.','zyehh','ZTeat','1594663AGkuYb','Use\x20username\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','kaurH','6EWVnyB','GMVgw','usage','XTLxq','desc','saivQ','45VRTiai','lobTS','This\x20command\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC','IuEDI','qtHQG','lJQAV','UwECA','FDgLf','error','TLnTl','CtSwj','grid','DuRQl','32zAbLRH','description','Kenxo','isRunning','NyKqa','command','kYSrO','eDfVJ','../../utils/utilityMethods','advance-options','builder','mPkdk','advanceOptions','grid-id','Use\x20corresponding\x20access-key\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','nVGcY','WWcoh','info','epilogue','help','mxhLI','string','vByOe','SIGINT','54108UtibHx','PCvdU','yFKfY','FvIkF','CPsyf','lLabU','eNRZG','beforeExit','ajoNy','MfmgO','bstack-accesskey','bstack-username','CskvD','type','cYzDp','XKaVb','858537GPhqeo','LCpdQ','UGDrs','Bzzsw','UkMvb','argv','NeuTb','Optional\x20boolean\x20argument\x20to\x20create\x20private\x20connection\x20between\x20grid\x20and\x20your\x20existing\x20staging\x20or\x20local\x20development\x20environment.','VCLUx'];a7_0x3014=function(){return _0x53dcdf;};return a7_0x3014();}(function(_0x46ee1d,_0xd0d624){const _0x577e19=a7_0x1773,_0x4f8942=_0x46ee1d();while(!![]){try{const _0x1a0732=parseInt(_0x577e19(0x146))/0x1+parseInt(_0x577e19(0x12a))/0x2+parseInt(_0x577e19(0x144))/0x3+-parseInt(_0x577e19(0xed))/0x4*(parseInt(_0x577e19(0x105))/0x5)+-parseInt(_0x577e19(0xff))/0x6*(parseInt(_0x577e19(0xfc))/0x7)+parseInt(_0x577e19(0x112))/0x8*(-parseInt(_0x577e19(0x13a))/0x9)+parseInt(_0x577e19(0x157))/0xa;if(_0x1a0732===_0xd0d624)break;else _0x4f8942['push'](_0x4f8942['shift']());}catch(_0x57f92f){_0x4f8942['push'](_0x4f8942['shift']());}}}(a7_0x3014,0x531f8));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a7_0x464e3f(0x159)),{logger}=require(a7_0x464e3f(0xf7)),{fetchOrUpdateUserConfig,getGridDetails,startLocalBinarySync,stopLocalBinary}=require(a7_0x464e3f(0x11a));exports[a7_0x464e3f(0x117)]=a7_0x464e3f(0x110),exports[a7_0x464e3f(0x103)]=a7_0x464e3f(0x107),exports[a7_0x464e3f(0x11c)]=_0x5252ca=>{const _0x17b621=a7_0x464e3f,_0x39d2d6={};_0x39d2d6[_0x17b621(0xf4)]='Use\x20username\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.',_0x39d2d6[_0x17b621(0x10f)]=_0x17b621(0x127),_0x39d2d6[_0x17b621(0xea)]=_0x17b621(0x120),_0x39d2d6[_0x17b621(0x12e)]='Pass\x20the\x20ID\x20of\x20the\x20Grid',_0x39d2d6[_0x17b621(0x12c)]=_0x17b621(0x141),_0x39d2d6['VlSRj']=_0x17b621(0xe9),_0x39d2d6[_0x17b621(0x126)]=_0x17b621(0x125);const _0x27aead=_0x39d2d6,_0x399822={};_0x399822['description']=_0x27aead[_0x17b621(0xf4)],_0x399822[_0x17b621(0x137)]=_0x27aead[_0x17b621(0x10f)];const _0x9f8fff={};_0x9f8fff[_0x17b621(0x113)]=_0x27aead[_0x17b621(0xea)],_0x9f8fff[_0x17b621(0x137)]=_0x27aead[_0x17b621(0x10f)];const _0x195d82={};_0x195d82[_0x17b621(0xf8)]=!![],_0x195d82[_0x17b621(0x113)]=_0x27aead['CPsyf'],_0x195d82[_0x17b621(0x137)]=_0x27aead[_0x17b621(0x10f)];const _0x36517d={};_0x36517d[_0x17b621(0x113)]=_0x27aead[_0x17b621(0x12c)],_0x36517d['type']=_0x27aead[_0x17b621(0x10f)];const _0x453baf={};_0x453baf[_0x17b621(0x113)]=_0x27aead['VlSRj'],_0x453baf[_0x17b621(0x137)]=_0x27aead[_0x17b621(0x10f)];const _0x10180f={};return _0x10180f[_0x17b621(0x135)]=_0x399822,_0x10180f[_0x17b621(0x134)]=_0x9f8fff,_0x10180f[_0x17b621(0x11f)]=_0x195d82,_0x10180f[_0x17b621(0xf0)]=_0x36517d,_0x10180f[_0x17b621(0x11b)]=_0x453baf,_0x5252ca[_0x17b621(0x101)](HELP_HEADER_MESSAGE[_0x17b621(0xee)])[_0x17b621(0x124)](HELP_FOOTER_MESSAGE)['options'](_0x10180f)['help'](_0x27aead[_0x17b621(0x126)])['argv'];},exports[a7_0x464e3f(0x14b)]=async _0x221c43=>{const _0x20c2f0=a7_0x464e3f,_0x3eb120={'mDZxi':function(_0x426e5a,_0x16874c){return _0x426e5a===_0x16874c;},'eNRZG':function(_0x1bd4b4,_0x463473){return _0x1bd4b4(_0x463473);},'NeuTb':function(_0x3ce074,_0x119af1){return _0x3ce074===_0x119af1;},'RRQde':_0x20c2f0(0x114),'UGDrs':_0x20c2f0(0x136),'ajoNy':function(_0x5bc232,_0x311d87){return _0x5bc232(_0x311d87);},'lJQAV':_0x20c2f0(0xf6),'lobTS':function(_0x52d35a,_0x21fc13){return _0x52d35a===_0x21fc13;},'mPkdk':_0x20c2f0(0x131),'yGSlW':_0x20c2f0(0x129),'fNGTc':'SIGTERM','FDgLf':_0x20c2f0(0xf9),'fAzZX':function(_0x3db85a,_0x4998ae){return _0x3db85a===_0x4998ae;},'VCLUx':function(_0x1d38f2,_0x14665c){return _0x1d38f2(_0x14665c);},'yMHgU':'Grid\x20type:\x20Trial','AMqWv':function(_0x58851b,_0x1cdfff){return _0x58851b(_0x1cdfff);},'dsENp':_0x20c2f0(0xfd),'UwECA':_0x20c2f0(0x127),'JrDxZ':'Use\x20corresponding\x20access-key\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','lLabU':_0x20c2f0(0x143),'WUaQm':'Optional\x20boolean\x20argument\x20to\x20create\x20private\x20connection\x20between\x20grid\x20and\x20your\x20existing\x20staging\x20or\x20local\x20development\x20environment.','UkMvb':'Advance\x20options\x20for\x20Browserstack\x20Local','nQSAX':'help','Bzzsw':function(_0x2e4fb5,_0x51d0b7){return _0x2e4fb5!==_0x51d0b7;},'LCpdQ':_0x20c2f0(0xe7),'kYSrO':function(_0x53be5f,_0x157160){return _0x53be5f===_0x157160;},'GMVgw':_0x20c2f0(0x14e),'MfmgO':function(_0x573b17,_0x5b508d,_0x267b56){return _0x573b17(_0x5b508d,_0x267b56);},'KObsk':function(_0xbccffa,_0x5eafc5){return _0xbccffa&&_0x5eafc5;},'UkHSr':_0x20c2f0(0x14c),'WBKEn':_0x20c2f0(0x104),'MuZfO':function(_0x24aa9e,_0x18cd49){return _0x24aa9e(_0x18cd49);},'zCZus':_0x20c2f0(0xec),'FvIkF':function(_0x22cd04,_0x7326c7,_0x26ab01,_0x238004){return _0x22cd04(_0x7326c7,_0x26ab01,_0x238004);},'VRMzE':function(_0x4d489a,_0x452e29){return _0x4d489a!==_0x452e29;},'meUfI':'ZvllC','sHePj':_0x20c2f0(0x150),'NyKqa':function(_0x5f5b5b,_0x3eb1da){return _0x5f5b5b(_0x3eb1da);},'hdnrM':function(_0x16ac33,_0x571ca1){return _0x16ac33===_0x571ca1;},'ZTeat':'true','qtHQG':function(_0x5c526b,_0x142135){return _0x5c526b===_0x142135;},'WWcoh':_0x20c2f0(0xe2),'SkRxE':_0x20c2f0(0x12b),'cYzDp':_0x20c2f0(0x108),'nVGcY':_0x20c2f0(0xeb),'VGJpN':function(_0x339950,_0x5f5a3c){return _0x339950(_0x5f5a3c);},'zyehh':_0x20c2f0(0x10e),'RcpEe':_0x20c2f0(0x128)};let _0xd04f2c=_0x221c43['bstackUsername'],_0x4d1ecb=_0x221c43[_0x20c2f0(0x14f)];const _0x5f047f=_0x221c43[_0x20c2f0(0x11e)],_0x32f223=_0x44e67c=>{const _0x5a6287=_0x20c2f0;_0x3eb120[_0x5a6287(0x140)](_0x3eb120['RRQde'],_0x3eb120[_0x5a6287(0x13c)])?(_0x40a82b++,_0x3eb120['mDZxi'](_0x5f5ca1,0x1)&&_0x22ab30&&_0x3ea103['isRunning']()&&_0x3eb120['eNRZG'](_0x5a2196,_0x915c8)):(logger[_0x5a6287(0x10d)](_0x44e67c),process[_0x5a6287(0x156)](0x1));};[_0xd04f2c,_0x4d1ecb]=_0x3eb120[_0x20c2f0(0x133)](fetchOrUpdateUserConfig,_0xd04f2c,_0x4d1ecb);!_0x3eb120[_0x20c2f0(0x151)](_0xd04f2c,_0x4d1ecb)&&(_0x3eb120['Bzzsw'](_0x3eb120[_0x20c2f0(0xe4)],_0x3eb120['WBKEn'])?_0x3eb120[_0x20c2f0(0xf5)](_0x32f223,_0x3eb120['zCZus']):_0x3eb120['ajoNy'](_0x315200,_0x3eb120['lJQAV']));const _0x15f970=_0x221c43[_0x20c2f0(0x153)],[_0x777366,_0x88e92c]=await _0x3eb120[_0x20c2f0(0x12d)](getGridDetails,_0xd04f2c,_0x4d1ecb,_0x15f970);if(!_0x88e92c){if(_0x3eb120['VRMzE'](_0x3eb120[_0x20c2f0(0x154)],_0x3eb120['sHePj']))_0x3eb120[_0x20c2f0(0x116)](_0x32f223,_0x3eb120[_0x20c2f0(0x100)]);else{const _0x40bf97={};_0x40bf97[_0x20c2f0(0x145)]=_0x34ff16,_0x40bf97[_0x20c2f0(0x14d)]=_0x4e25bf['customRepeaters'],_0x40bf97['browserStackLocalOptions']=_0x1e8806;const _0x243719=_0x40bf97,_0x1378f4=_0x3eb120[_0x20c2f0(0x130)](_0x58acc2,_0x243719);let _0x53660d=0x0;const _0xf26daf=async()=>{const _0xa9109e=_0x20c2f0;_0x53660d++,_0x3eb120[_0xa9109e(0x106)](_0x53660d,0x1)&&_0x1378f4&&_0x1378f4[_0xa9109e(0x115)]()&&_0x3eb120[_0xa9109e(0x132)](_0x590888,_0x1378f4);};_0x1845f1['on'](_0x3eb120['mPkdk'],_0xf26daf),_0x3aa578['on'](_0x3eb120['yGSlW'],_0xf26daf),_0x3a1c31['on'](_0x3eb120[_0x20c2f0(0x152)],_0xf26daf),_0x5ae9be=_0x3eb120[_0x20c2f0(0x10c)],_0x17063c['info'](_0x37dffa);}}const _0x31a5e6=_0x3eb120[_0x20c2f0(0x158)](_0x221c43[_0x20c2f0(0xe5)],_0x3eb120[_0x20c2f0(0xfb)])?!![]:![];if(_0x88e92c&&_0x88e92c[_0x20c2f0(0xe3)]&&_0x31a5e6){if(_0x3eb120['qtHQG'](_0x3eb120[_0x20c2f0(0x122)],_0x3eb120[_0x20c2f0(0xf1)]))_0x39a6ed[_0x20c2f0(0x10d)](_0x8d22ae),_0x18e6db[_0x20c2f0(0x156)](0x1);else{let _0x3d13ea=_0x3eb120[_0x20c2f0(0x14a)];logger[_0x20c2f0(0x123)](_0x3d13ea);try{if(_0x3eb120[_0x20c2f0(0x109)](_0x3eb120[_0x20c2f0(0x138)],_0x3eb120[_0x20c2f0(0x121)])){const _0x390de0={'eDfVJ':function(_0x5bc393,_0x5cbf38){return _0x3eb120['fAzZX'](_0x5bc393,_0x5cbf38);},'KrnFd':function(_0x346cb2,_0x6dd99a){return _0x3eb120['VCLUx'](_0x346cb2,_0x6dd99a);}};let _0x110830=_0x3eb120[_0x20c2f0(0x14a)];_0x3af5f7['info'](_0x110830);try{const _0x2756b3={};_0x2756b3[_0x20c2f0(0x145)]=_0x32d930,_0x2756b3[_0x20c2f0(0x14d)]=_0x41fef9[_0x20c2f0(0x14d)],_0x2756b3[_0x20c2f0(0xf3)]=_0x438b42;const _0x56483d=_0x2756b3,_0xc1f61f=_0x3eb120['AMqWv'](_0x434fda,_0x56483d);let _0xb1a24c=0x0;const _0x248e71=async()=>{const _0x2f78b2=_0x20c2f0;_0xb1a24c++,_0x390de0[_0x2f78b2(0x119)](_0xb1a24c,0x1)&&_0xc1f61f&&_0xc1f61f[_0x2f78b2(0x115)]()&&_0x390de0[_0x2f78b2(0xe6)](_0x485a22,_0xc1f61f);};_0x1d9e7f['on'](_0x3eb120[_0x20c2f0(0x11d)],_0x248e71),_0xdd7b08['on'](_0x3eb120[_0x20c2f0(0x148)],_0x248e71),_0x3b7c47['on'](_0x3eb120[_0x20c2f0(0x152)],_0x248e71),_0x110830=_0x3eb120['FDgLf'],_0x2b4b66[_0x20c2f0(0x123)](_0x110830);}catch(_0x224926){_0x3eb120[_0x20c2f0(0x142)](_0x3d3ef5,_0x3eb120[_0x20c2f0(0x10a)]);}}else{const _0xd2beca={};_0xd2beca[_0x20c2f0(0x145)]=_0x4d1ecb,_0xd2beca['customRepeaters']=_0x88e92c['customRepeaters'],_0xd2beca[_0x20c2f0(0xf3)]=_0x5f047f;const _0x39ee17=_0xd2beca,_0x3c39ca=_0x3eb120[_0x20c2f0(0xef)](startLocalBinarySync,_0x39ee17);let _0x3ed3f4=0x0;const _0x47d8d0=async()=>{const _0x33d901=_0x20c2f0,_0x47e090={};_0x47e090['XTLxq']=_0x3eb120['dsENp'],_0x47e090['kaurH']=_0x3eb120[_0x33d901(0x10b)],_0x47e090[_0x33d901(0x111)]=_0x3eb120[_0x33d901(0x149)],_0x47e090[_0x33d901(0x155)]=_0x3eb120[_0x33d901(0x12f)],_0x47e090[_0x33d901(0xe8)]=_0x3eb120[_0x33d901(0x147)],_0x47e090[_0x33d901(0x139)]=_0x3eb120[_0x33d901(0x13e)],_0x47e090[_0x33d901(0xf2)]=_0x3eb120['nQSAX'];const _0x3752fa=_0x47e090;if(_0x3eb120[_0x33d901(0x13d)](_0x3eb120[_0x33d901(0x13b)],_0x3eb120[_0x33d901(0x13b)])){const _0x21f19d={};_0x21f19d[_0x33d901(0x113)]=_0x3752fa[_0x33d901(0x102)],_0x21f19d[_0x33d901(0x137)]=_0x3752fa[_0x33d901(0xfe)];const _0x5f27bf={};_0x5f27bf[_0x33d901(0x113)]=_0x3752fa[_0x33d901(0x111)],_0x5f27bf['type']=_0x3752fa[_0x33d901(0xfe)];const _0x43eee6={};_0x43eee6['demandOption']=!![],_0x43eee6['description']=_0x3752fa['vnkLF'],_0x43eee6[_0x33d901(0x137)]=_0x3752fa[_0x33d901(0xfe)];const _0x220abf={};_0x220abf[_0x33d901(0x113)]=_0x3752fa[_0x33d901(0xe8)],_0x220abf[_0x33d901(0x137)]=_0x3752fa[_0x33d901(0xfe)];const _0x3a8a53={};_0x3a8a53[_0x33d901(0x113)]=_0x3752fa['XKaVb'],_0x3a8a53[_0x33d901(0x137)]=_0x3752fa[_0x33d901(0xfe)];const _0x4c15ab={};return _0x4c15ab[_0x33d901(0x135)]=_0x21f19d,_0x4c15ab[_0x33d901(0x134)]=_0x5f27bf,_0x4c15ab[_0x33d901(0x11f)]=_0x43eee6,_0x4c15ab['use-staging']=_0x220abf,_0x4c15ab[_0x33d901(0x11b)]=_0x3a8a53,_0x134829['usage'](_0x1316f9['create'])['epilogue'](_0x538015)['options'](_0x4c15ab)[_0x33d901(0x125)](_0x3752fa[_0x33d901(0xf2)])[_0x33d901(0x13f)];}else _0x3ed3f4++,_0x3eb120[_0x33d901(0x118)](_0x3ed3f4,0x1)&&_0x3c39ca&&_0x3c39ca[_0x33d901(0x115)]()&&_0x3eb120[_0x33d901(0x132)](stopLocalBinary,_0x3c39ca);};process['on'](_0x3eb120[_0x20c2f0(0x11d)],_0x47d8d0),process['on'](_0x3eb120['yGSlW'],_0x47d8d0),process['on'](_0x3eb120['fNGTc'],_0x47d8d0),_0x3d13ea=_0x3eb120[_0x20c2f0(0x10c)],logger[_0x20c2f0(0x123)](_0x3d13ea);}}catch(_0x4ee8e7){_0x3eb120[_0x20c2f0(0xe1)](_0x3eb120[_0x20c2f0(0xfa)],_0x3eb120['RcpEe'])?_0x3eb120[_0x20c2f0(0x142)](_0x4565ae,_0x3eb120['GMVgw']):_0x3eb120['MuZfO'](_0x32f223,_0x3eb120[_0x20c2f0(0x10a)]);}}}process[_0x20c2f0(0x156)](0x0);};
1
+ const a7_0x5781c3=a7_0x2f8c;(function(_0x170ec2,_0x2be30a){const _0x58e6f5=a7_0x2f8c,_0x4b5941=_0x170ec2();while(!![]){try{const _0x216366=parseInt(_0x58e6f5(0x1b8))/0x1*(-parseInt(_0x58e6f5(0x1de))/0x2)+parseInt(_0x58e6f5(0x1e6))/0x3*(-parseInt(_0x58e6f5(0x1e9))/0x4)+-parseInt(_0x58e6f5(0x1c6))/0x5*(-parseInt(_0x58e6f5(0x1e2))/0x6)+-parseInt(_0x58e6f5(0x1af))/0x7*(-parseInt(_0x58e6f5(0x1b6))/0x8)+-parseInt(_0x58e6f5(0x1c2))/0x9*(parseInt(_0x58e6f5(0x195))/0xa)+parseInt(_0x58e6f5(0x1a1))/0xb*(-parseInt(_0x58e6f5(0x1e3))/0xc)+parseInt(_0x58e6f5(0x196))/0xd;if(_0x216366===_0x2be30a)break;else _0x4b5941['push'](_0x4b5941['shift']());}catch(_0x326a3d){_0x4b5941['push'](_0x4b5941['shift']());}}}(a7_0x45d4,0x67be5));function a7_0x45d4(){const _0x38a6c1=['TpwKi','demandOption','usage','VCQPO','xqqvN','epilogue','xQFQx','bstack-username','type','info','useStaging','SIGINT','../../utils/utilityMethods','kGcnI','HPHtS','../../config/constants','pUmSw','iNbzk','oKJOw','20CuhMvX','23805730GNlLbR','mMjQQ','isRunning','../../config/logger','PcsSC','accessKey','PQGkd','Optional\x20boolean\x20argument\x20to\x20create\x20private\x20connection\x20between\x20grid\x20and\x20your\x20existing\x20staging\x20or\x20local\x20development\x20environment.','DUMZV','browserStackLocalOptions','use-staging','4389njvWjx','jqWqu','TQPzj','kQRrH','EldMj','FXULG','description','lmUOO','advance-options','qmBwq','error','Pass\x20the\x20ID\x20of\x20the\x20Grid','exit','qPpoV','45220Syhjyi','ZCvct','SEkOk','yStTC','nKbHR','argv','RWGDa','72ghtqGr','bstack-accesskey','6CvSLBR','beforeExit','hpyhb','Lrhbt','options','Please\x20provide\x20a\x20valid\x20Grid\x20Identifier','hXUth','Use\x20username\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','AnfTC','isTrialGrid','3484413jAnOCo','Huxnw','SeDAr','handler','62615JjSKzN','VnBhB','KdKfN','Advance\x20options\x20for\x20Browserstack\x20Local','xUeou','GcABa','fbuDk','true','dHztH','command','subTi','HpqTk','oxIRP','bOetD','customRepeaters','JfHPJ','NcaJK','Grid\x20type:\x20Trial','grid-id','hspLy','bstackAccesskey','desc','grid','Use\x20corresponding\x20access-key\x20to\x20configure\x20the\x20CLI\x20for\x20future\x20actions.','40028rzamyE','Couldn\x27t\x20find\x20username\x20/\x20accesskey,\x20please\x20use\x20--username\x20and\x20--accesskey','Couldn\x27t\x20establish\x20a\x20private\x20connection\x20with\x20the\x20grid','FeBrP','18QAvUmf','408kIaFfV','UcoVf','gridId','186CLLEfj','dnkjy','bkpfl','38324RAxZWl','HyKZS','SYFOj','rFPcP','create','yuBbr','ieLSO','SIGTERM','help'];a7_0x45d4=function(){return _0x38a6c1;};return a7_0x45d4();}function a7_0x2f8c(_0x372ea9,_0x5e771f){const _0x45d447=a7_0x45d4();return a7_0x2f8c=function(_0x2f8cd3,_0x188a23){_0x2f8cd3=_0x2f8cd3-0x17d;let _0x463ca5=_0x45d447[_0x2f8cd3];return _0x463ca5;},a7_0x2f8c(_0x372ea9,_0x5e771f);}const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a7_0x5781c3(0x191)),{logger}=require(a7_0x5781c3(0x199)),{fetchOrUpdateUserConfig,getGridDetails,startLocalBinarySync,stopLocalBinary}=require(a7_0x5781c3(0x18e));exports[a7_0x5781c3(0x1cf)]=a7_0x5781c3(0x1dc),exports[a7_0x5781c3(0x1db)]='This\x20command\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC',exports['builder']=_0x3b6ad7=>{const _0x1a224c=a7_0x5781c3,_0x3c285d={};_0x3c285d[_0x1a224c(0x1ba)]=_0x1a224c(0x1bf),_0x3c285d[_0x1a224c(0x1c0)]='string',_0x3c285d[_0x1a224c(0x1e1)]=_0x1a224c(0x1dd),_0x3c285d[_0x1a224c(0x1d9)]=_0x1a224c(0x1ac),_0x3c285d[_0x1a224c(0x1be)]=_0x1a224c(0x19d),_0x3c285d[_0x1a224c(0x1d2)]=_0x1a224c(0x1c9),_0x3c285d[_0x1a224c(0x1b5)]='help';const _0x13b56f=_0x3c285d,_0x17afbc={};_0x17afbc[_0x1a224c(0x1a7)]=_0x13b56f[_0x1a224c(0x1ba)],_0x17afbc[_0x1a224c(0x18a)]=_0x13b56f['AnfTC'];const _0x5eb23c={};_0x5eb23c['description']=_0x13b56f[_0x1a224c(0x1e1)],_0x5eb23c[_0x1a224c(0x18a)]=_0x13b56f['AnfTC'];const _0x524736={};_0x524736[_0x1a224c(0x183)]=!![],_0x524736[_0x1a224c(0x1a7)]=_0x13b56f[_0x1a224c(0x1d9)],_0x524736['type']=_0x13b56f[_0x1a224c(0x1c0)];const _0x3e41ba={};_0x3e41ba['description']=_0x13b56f[_0x1a224c(0x1be)],_0x3e41ba[_0x1a224c(0x18a)]=_0x13b56f[_0x1a224c(0x1c0)];const _0xb7eef0={};_0xb7eef0[_0x1a224c(0x1a7)]=_0x13b56f[_0x1a224c(0x1d2)],_0xb7eef0[_0x1a224c(0x18a)]=_0x13b56f[_0x1a224c(0x1c0)];const _0x417aa6={};return _0x417aa6[_0x1a224c(0x189)]=_0x17afbc,_0x417aa6[_0x1a224c(0x1b7)]=_0x5eb23c,_0x417aa6['grid-id']=_0x524736,_0x417aa6['use-staging']=_0x3e41ba,_0x417aa6['advance-options']=_0xb7eef0,_0x3b6ad7['usage'](HELP_HEADER_MESSAGE[_0x1a224c(0x17d)])['epilogue'](HELP_FOOTER_MESSAGE)[_0x1a224c(0x1bc)](_0x417aa6)[_0x1a224c(0x181)](_0x13b56f['RWGDa'])[_0x1a224c(0x1b4)];},exports[a7_0x5781c3(0x1c5)]=async _0x54f63f=>{const _0x4acdb6=a7_0x5781c3,_0x47f567={'jqWqu':function(_0x70edcf,_0x48d8ad){return _0x70edcf(_0x48d8ad);},'VCQPO':_0x4acdb6(0x1bd),'iNbzk':function(_0x3ad9f4,_0x3e1d4e){return _0x3ad9f4!==_0x3e1d4e;},'dHztH':'jFnwH','KdLYm':_0x4acdb6(0x1a3),'ZCvct':function(_0x2d465e,_0x48e796){return _0x2d465e===_0x48e796;},'yuBbr':_0x4acdb6(0x1d7),'PcsSC':_0x4acdb6(0x1b9),'KdKfN':_0x4acdb6(0x18d),'mMjQQ':_0x4acdb6(0x180),'HpqTk':'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.','GcABa':function(_0x481de1,_0x1d0865){return _0x481de1(_0x1d0865);},'lmUOO':_0x4acdb6(0x1e0),'rFPcP':function(_0x42fce0,_0xbf2d52){return _0x42fce0===_0xbf2d52;},'PQGkd':function(_0x13d07b,_0x3ef89a){return _0x13d07b(_0x3ef89a);},'tSnfl':_0x4acdb6(0x1bf),'xUeou':'string','DxcPV':_0x4acdb6(0x1dd),'JfHPJ':_0x4acdb6(0x1ac),'VnBhB':_0x4acdb6(0x19d),'xqqvN':_0x4acdb6(0x1c9),'iOKIG':_0x4acdb6(0x181),'DUMZV':function(_0x3de3ff,_0x58ded8){return _0x3de3ff===_0x58ded8;},'dnkjy':function(_0x2bbc10,_0xe48b9e){return _0x2bbc10===_0xe48b9e;},'fbuDk':_0x4acdb6(0x1eb),'oKJOw':'tpuje','ieLSO':function(_0x1a96dc,_0x374984,_0x2b2c33){return _0x1a96dc(_0x374984,_0x2b2c33);},'bOetD':function(_0x4b6bd9,_0x228fe8){return _0x4b6bd9&&_0x228fe8;},'TpwKi':_0x4acdb6(0x1d0),'dNIAR':_0x4acdb6(0x1bb),'Huxnw':_0x4acdb6(0x1df),'qmBwq':function(_0x1858b2,_0x532cd4,_0x48de18,_0x4d2be4){return _0x1858b2(_0x532cd4,_0x48de18,_0x4d2be4);},'xQFQx':function(_0xad15ac,_0x3a46ef){return _0xad15ac===_0x3a46ef;},'pUmSw':_0x4acdb6(0x1d6),'bkpfl':_0x4acdb6(0x1cd),'nKbHR':_0x4acdb6(0x1e4),'PpLKO':_0x4acdb6(0x18f),'VMgdp':function(_0xa35fb1,_0x2ad628){return _0xa35fb1!==_0x2ad628;},'oPemd':_0x4acdb6(0x1b1),'uSkji':function(_0x28df54,_0x44fab0){return _0x28df54!==_0x44fab0;},'FXULG':_0x4acdb6(0x1b2),'EXmNB':_0x4acdb6(0x1ea),'HPHtS':function(_0x11f974,_0x2f60ba){return _0x11f974(_0x2f60ba);}};let _0x5b56fb=_0x54f63f['bstackUsername'],_0x5b2eb2=_0x54f63f[_0x4acdb6(0x1da)];const _0x113427=_0x54f63f['advanceOptions'],_0x2a634a=_0x119e3a=>{const _0x1eedfb=_0x4acdb6,_0x2e41e2={'kQRrH':function(_0x581889,_0x2f8a54){const _0x7213b7=a7_0x2f8c;return _0x47f567[_0x7213b7(0x1a2)](_0x581889,_0x2f8a54);},'EldMj':_0x47f567[_0x1eedfb(0x185)]};_0x47f567[_0x1eedfb(0x193)](_0x47f567[_0x1eedfb(0x1ce)],_0x47f567['KdLYm'])?(logger[_0x1eedfb(0x1ab)](_0x119e3a),process[_0x1eedfb(0x1ad)](0x1)):_0x2e41e2[_0x1eedfb(0x1a4)](_0x2a78c2,_0x2e41e2[_0x1eedfb(0x1a5)]);};[_0x5b56fb,_0x5b2eb2]=_0x47f567[_0x4acdb6(0x17f)](fetchOrUpdateUserConfig,_0x5b56fb,_0x5b2eb2);if(!_0x47f567[_0x4acdb6(0x1d3)](_0x5b56fb,_0x5b2eb2)){if(_0x47f567[_0x4acdb6(0x1b0)](_0x47f567[_0x4acdb6(0x182)],_0x47f567['dNIAR'])){const _0x2f0de7={'SeDAr':function(_0xbdbf4a,_0x3fb170){const _0x3272a5=_0x4acdb6;return _0x47f567[_0x3272a5(0x1b0)](_0xbdbf4a,_0x3fb170);},'RaHpz':function(_0x6e686,_0x1fcf88){const _0x289639=_0x4acdb6;return _0x47f567[_0x289639(0x1a2)](_0x6e686,_0x1fcf88);}};let _0x57ed9b=_0x47f567[_0x4acdb6(0x17e)];_0x15383e['info'](_0x57ed9b);try{const _0x449963={};_0x449963['accessKey']=_0x179eb8,_0x449963[_0x4acdb6(0x1d4)]=_0x55a3bb[_0x4acdb6(0x1d4)],_0x449963[_0x4acdb6(0x19f)]=_0x12fd7d;const _0x238857=_0x449963,_0x21bafc=_0x47f567[_0x4acdb6(0x1a2)](_0x492f9f,_0x238857);let _0xa905a8=0x0;const _0x4e44ad=async()=>{const _0x58e5fb=_0x4acdb6;_0xa905a8++,_0x2f0de7[_0x58e5fb(0x1c4)](_0xa905a8,0x1)&&_0x21bafc&&_0x21bafc[_0x58e5fb(0x198)]()&&_0x2f0de7['RaHpz'](_0x30cd15,_0x21bafc);};_0xea297d['on'](_0x47f567['PcsSC'],_0x4e44ad),_0x454a21['on'](_0x47f567['KdKfN'],_0x4e44ad),_0x2111ef['on'](_0x47f567[_0x4acdb6(0x197)],_0x4e44ad),_0x57ed9b=_0x47f567[_0x4acdb6(0x1d1)],_0x7164d1[_0x4acdb6(0x18b)](_0x57ed9b);}catch(_0x242d65){_0x47f567[_0x4acdb6(0x1cb)](_0x4bbdbd,_0x47f567[_0x4acdb6(0x1a8)]);}}else _0x47f567['GcABa'](_0x2a634a,_0x47f567[_0x4acdb6(0x1c3)]);}const _0x25260b=_0x54f63f[_0x4acdb6(0x1e5)],[_0x1f1e4d,_0x55d35c]=await _0x47f567[_0x4acdb6(0x1aa)](getGridDetails,_0x5b56fb,_0x5b2eb2,_0x25260b);if(!_0x55d35c){if(_0x47f567[_0x4acdb6(0x188)](_0x47f567[_0x4acdb6(0x192)],_0x47f567['pUmSw']))_0x47f567['PQGkd'](_0x2a634a,_0x47f567[_0x4acdb6(0x185)]);else{const _0x5980cf={'qPpoV':function(_0x506b11,_0xaab634){return _0x47f567['rFPcP'](_0x506b11,_0xaab634);},'zvldb':function(_0x7160de,_0x5b2a4e){const _0x5b82e1=_0x4acdb6;return _0x47f567[_0x5b82e1(0x1cb)](_0x7160de,_0x5b2a4e);}},_0x30ba98={};_0x30ba98[_0x4acdb6(0x19b)]=_0xce6e79,_0x30ba98[_0x4acdb6(0x1d4)]=_0x4b504e[_0x4acdb6(0x1d4)],_0x30ba98[_0x4acdb6(0x19f)]=_0x259486;const _0x3b48cb=_0x30ba98,_0x47ef37=_0x47f567[_0x4acdb6(0x19c)](_0x384b60,_0x3b48cb);let _0xb72580=0x0;const _0x14d869=async()=>{const _0x3b1253=_0x4acdb6;_0xb72580++,_0x5980cf[_0x3b1253(0x1ae)](_0xb72580,0x1)&&_0x47ef37&&_0x47ef37[_0x3b1253(0x198)]()&&_0x5980cf['zvldb'](_0x264620,_0x47ef37);};_0x3e0bb2['on'](_0x47f567[_0x4acdb6(0x19a)],_0x14d869),_0x4790f0['on'](_0x47f567[_0x4acdb6(0x1c8)],_0x14d869),_0x351dd6['on'](_0x47f567['mMjQQ'],_0x14d869),_0x5c8cbe=_0x47f567['HpqTk'],_0x112f6d[_0x4acdb6(0x18b)](_0x154474);}}const _0xc7373f=_0x47f567['dnkjy'](_0x54f63f[_0x4acdb6(0x18c)],_0x47f567[_0x4acdb6(0x1e8)])?!![]:![];if(_0x55d35c&&_0x55d35c[_0x4acdb6(0x1c1)]&&_0xc7373f){if(_0x47f567[_0x4acdb6(0x1ec)](_0x47f567[_0x4acdb6(0x1b3)],_0x47f567['PpLKO']))_0xb41ad5[_0x4acdb6(0x1ab)](_0x3d873b),_0x128dd1[_0x4acdb6(0x1ad)](0x1);else{let _0x54d0f6=_0x47f567[_0x4acdb6(0x17e)];logger[_0x4acdb6(0x18b)](_0x54d0f6);try{if(_0x47f567['VMgdp'](_0x47f567['oPemd'],_0x47f567['oPemd'])){const _0x5187ea={};_0x5187ea[_0x4acdb6(0x1a7)]=_0x47f567['tSnfl'],_0x5187ea[_0x4acdb6(0x18a)]=_0x47f567[_0x4acdb6(0x1ca)];const _0x6c2d4d={};_0x6c2d4d[_0x4acdb6(0x1a7)]=_0x47f567['DxcPV'],_0x6c2d4d['type']=_0x47f567[_0x4acdb6(0x1ca)];const _0x1239ad={};_0x1239ad['demandOption']=!![],_0x1239ad['description']=_0x47f567[_0x4acdb6(0x1d5)],_0x1239ad[_0x4acdb6(0x18a)]=_0x47f567[_0x4acdb6(0x1ca)];const _0x28b4b4={};_0x28b4b4[_0x4acdb6(0x1a7)]=_0x47f567[_0x4acdb6(0x1c7)],_0x28b4b4[_0x4acdb6(0x18a)]=_0x47f567[_0x4acdb6(0x1ca)];const _0x3da5ec={};_0x3da5ec[_0x4acdb6(0x1a7)]=_0x47f567[_0x4acdb6(0x186)],_0x3da5ec[_0x4acdb6(0x18a)]=_0x47f567[_0x4acdb6(0x1ca)];const _0x303501={};return _0x303501['bstack-username']=_0x5187ea,_0x303501[_0x4acdb6(0x1b7)]=_0x6c2d4d,_0x303501[_0x4acdb6(0x1d8)]=_0x1239ad,_0x303501[_0x4acdb6(0x1a0)]=_0x28b4b4,_0x303501[_0x4acdb6(0x1a9)]=_0x3da5ec,_0x569a86[_0x4acdb6(0x184)](_0x1b557e[_0x4acdb6(0x17d)])[_0x4acdb6(0x187)](_0x47f653)[_0x4acdb6(0x1bc)](_0x303501)[_0x4acdb6(0x181)](_0x47f567['iOKIG'])[_0x4acdb6(0x1b4)];}else{const _0x547619={};_0x547619['accessKey']=_0x5b2eb2,_0x547619[_0x4acdb6(0x1d4)]=_0x55d35c['customRepeaters'],_0x547619[_0x4acdb6(0x19f)]=_0x113427;const _0x22ea76=_0x547619,_0x333d9c=_0x47f567[_0x4acdb6(0x19c)](startLocalBinarySync,_0x22ea76);let _0x407e58=0x0;const _0x342172=async()=>{const _0x4f5ea6=_0x4acdb6;_0x47f567[_0x4f5ea6(0x1e7)](_0x47f567[_0x4f5ea6(0x1cc)],_0x47f567[_0x4f5ea6(0x194)])?(_0x15e323++,_0x47f567[_0x4f5ea6(0x19e)](_0x52bccd,0x1)&&_0x58d7bf&&_0x3c7ed3[_0x4f5ea6(0x198)]()&&_0x47f567[_0x4f5ea6(0x19c)](_0xe95d95,_0x5f45df)):(_0x407e58++,_0x47f567['rFPcP'](_0x407e58,0x1)&&_0x333d9c&&_0x333d9c['isRunning']()&&_0x47f567[_0x4f5ea6(0x1a2)](stopLocalBinary,_0x333d9c));};process['on'](_0x47f567[_0x4acdb6(0x19a)],_0x342172),process['on'](_0x47f567[_0x4acdb6(0x1c8)],_0x342172),process['on'](_0x47f567[_0x4acdb6(0x197)],_0x342172),_0x54d0f6=_0x47f567[_0x4acdb6(0x1d1)],logger[_0x4acdb6(0x18b)](_0x54d0f6);}}catch(_0x1721dc){_0x47f567['uSkji'](_0x47f567[_0x4acdb6(0x1a6)],_0x47f567['EXmNB'])?_0x47f567[_0x4acdb6(0x190)](_0x2a634a,_0x47f567[_0x4acdb6(0x1a8)]):_0x47f567[_0x4acdb6(0x19c)](_0x959764,_0x47f567['lmUOO']);}}}process[_0x4acdb6(0x1ad)](0x0);};
@@ -1 +1 @@
1
- function a8_0x442b(_0x51397a,_0x552557){const _0x2b5467=a8_0x2b54();return a8_0x442b=function(_0x442be9,_0x1b7bdd){_0x442be9=_0x442be9-0x103;let _0x182c35=_0x2b5467[_0x442be9];return _0x182c35;},a8_0x442b(_0x51397a,_0x552557);}const a8_0x4c899d=a8_0x442b;(function(_0x158892,_0x2363f6){const _0x26f76c=a8_0x442b,_0x2e8126=_0x158892();while(!![]){try{const _0x924541=-parseInt(_0x26f76c(0x118))/0x1+-parseInt(_0x26f76c(0x106))/0x2+-parseInt(_0x26f76c(0x113))/0x3+-parseInt(_0x26f76c(0x10a))/0x4*(parseInt(_0x26f76c(0x115))/0x5)+parseInt(_0x26f76c(0x103))/0x6*(parseInt(_0x26f76c(0x108))/0x7)+parseInt(_0x26f76c(0x110))/0x8+parseInt(_0x26f76c(0x10d))/0x9*(parseInt(_0x26f76c(0x111))/0xa);if(_0x924541===_0x2363f6)break;else _0x2e8126['push'](_0x2e8126['shift']());}catch(_0x3c1a1b){_0x2e8126['push'](_0x2e8126['shift']());}}}(a8_0x2b54,0x91408));const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require(a8_0x4c899d(0x11a));function a8_0x2b54(){const _0x468ed8=['387826OPpjKm','usage','../config/constants','4470Uhpxfh','recommendCommands','HMnwI','2163210cwuKCF','Create\x20a\x20new\x20Automation\x20grid.','9527rsHCYy','builder','1444UmGIvn','strict','handler','2853AufwhM','commandDir','command','186440aBApXH','59950reKezX','create_commands','582723ZwPbGq','ZYqQr','9405ymgglz','help','demandCommand'];a8_0x2b54=function(){return _0x468ed8;};return a8_0x2b54();}exports[a8_0x4c899d(0x10f)]='create',exports['desc']=a8_0x4c899d(0x107),exports[a8_0x4c899d(0x109)]=function(_0x247492){const _0x520bd6=a8_0x4c899d,_0x3e68be={};_0x3e68be[_0x520bd6(0x114)]=_0x520bd6(0x112),_0x3e68be[_0x520bd6(0x105)]=_0x520bd6(0x116);const _0x5cc244=_0x3e68be;return _0x247492[_0x520bd6(0x119)](HELP_HEADER_MESSAGE['create'])['epilogue'](HELP_FOOTER_MESSAGE)[_0x520bd6(0x10e)](_0x5cc244[_0x520bd6(0x114)])[_0x520bd6(0x117)]()[_0x520bd6(0x104)]()[_0x520bd6(0x10b)]()[_0x520bd6(0x116)](_0x5cc244['HMnwI']);},exports[a8_0x4c899d(0x10c)]=function(_0x33a1ec){};
1
+ const a8_0x2e8b75=a8_0x4110;function a8_0x189b(){const _0x296606=['42FapILB','epilogue','recommendCommands','nLRoS','17027560LAFwFm','3058128QNXHej','1677165iHZgFd','Create\x20a\x20new\x20Automation\x20grid.','1236805CabhSD','vdCPb','1hbkMQN','desc','111YfuvNz','8161722ssnsWb','2571782rXwvNw','handler','create_commands','help','usage','create','strict','101776DOWaNm'];a8_0x189b=function(){return _0x296606;};return a8_0x189b();}(function(_0x32dfd1,_0x931f25){const _0x1de200=a8_0x4110,_0x26af68=_0x32dfd1();while(!![]){try{const _0xb9b50e=-parseInt(_0x1de200(0xf7))/0x1*(parseInt(_0x1de200(0xfb))/0x2)+-parseInt(_0x1de200(0xf9))/0x3*(parseInt(_0x1de200(0xec))/0x4)+-parseInt(_0x1de200(0xf5))/0x5*(-parseInt(_0x1de200(0xed))/0x6)+parseInt(_0x1de200(0xf3))/0x7+parseInt(_0x1de200(0xf2))/0x8+-parseInt(_0x1de200(0xfa))/0x9+parseInt(_0x1de200(0xf1))/0xa;if(_0xb9b50e===_0x931f25)break;else _0x26af68['push'](_0x26af68['shift']());}catch(_0x14512b){_0x26af68['push'](_0x26af68['shift']());}}}(a8_0x189b,0xe116f));function a8_0x4110(_0x55aee3,_0x54c33e){const _0x189bcc=a8_0x189b();return a8_0x4110=function(_0x4110d5,_0x284169){_0x4110d5=_0x4110d5-0xec;let _0x5c54f1=_0x189bcc[_0x4110d5];return _0x5c54f1;},a8_0x4110(_0x55aee3,_0x54c33e);}const {HELP_HEADER_MESSAGE,HELP_FOOTER_MESSAGE}=require('../config/constants');exports['command']=a8_0x2e8b75(0x100),exports[a8_0x2e8b75(0xf8)]=a8_0x2e8b75(0xf4),exports['builder']=function(_0x18b70e){const _0x29d49e=a8_0x2e8b75,_0x4c5ef9={};_0x4c5ef9['vdCPb']=_0x29d49e(0xfd),_0x4c5ef9[_0x29d49e(0xf0)]='help';const _0x4aa82a=_0x4c5ef9;return _0x18b70e[_0x29d49e(0xff)](HELP_HEADER_MESSAGE[_0x29d49e(0x100)])[_0x29d49e(0xee)](HELP_FOOTER_MESSAGE)['commandDir'](_0x4aa82a[_0x29d49e(0xf6)])['demandCommand']()[_0x29d49e(0xef)]()[_0x29d49e(0x101)]()[_0x29d49e(0xfe)](_0x4aa82a[_0x29d49e(0xf0)]);},exports[a8_0x2e8b75(0xfc)]=function(_0x44005e){};