@devtron-labs/devtron-fe-common-lib 1.2.3-beta-4 → 1.2.3-beta-5

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.
@@ -6,7 +6,7 @@ var uc = (e, s, n) => s in e ? dc(e, s, { enumerable: !0, configurable: !0, writ
6
6
  var Ge = (e, s, n) => uc(e, typeof s != "symbol" ? s + "" : s, n), Nr = (e, s, n) => s.has(e) || Er("Cannot " + n);
7
7
  var ca = (e, s, n) => (Nr(e, s, "read from private field"), n ? n.call(e) : s.get(e)), br = (e, s, n) => s.has(e) ? Er("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), Cr = (e, s, n, a) => (Nr(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
8
8
  import { j as t, i as Q, Q as da, k as mc, d as Zo, h as pc, A as fc, R as hc, s as _c, f as gc, c as ei, u as ti, J as xc, a as Ec, b as Nc, m as Sn } from "./@vendor-RU8AW1bK.js";
9
- import J, { useState as A, cloneElement as Ca, createContext as Bt, useContext as Zs, useMemo as te, useEffect as O, Component as Kn, createElement as si, useCallback as ye, useRef as X, Fragment as Hs, useReducer as bc, createRef as ls } from "react";
9
+ import J, { useState as A, cloneElement as Ca, createContext as Bt, useContext as Zs, useMemo as te, useEffect as O, Component as Kn, createElement as si, useCallback as ye, useRef as X, Fragment as Hs, useReducer as bc, createRef as is } from "react";
10
10
  import Cc, { ReactComponent as Mt } from "./assets/ic-chevron-down.fc70d7a7.svg";
11
11
  import { ReactComponent as Tc } from "./assets/ic-check-square.2a3d3fb9.svg";
12
12
  import { ReactComponent as Sc } from "./assets/ic-check-all.0376437d.svg";
@@ -21,7 +21,7 @@ import { ReactComponent as Tt } from "./assets/ic-warning.10bcf8bd.svg";
21
21
  import { ReactComponent as yc } from "./assets/ic-cpu.8be677ee.svg";
22
22
  import { ReactComponent as Lc } from "./assets/ic-memory.c4159f96.svg";
23
23
  import { ReactComponent as ri } from "./assets/ic-timer.b62145ec.svg";
24
- import { Link as ss, useHistory as $t, NavLink as ze, useParams as Ze, useLocation as Ft, useRouteMatch as vt, generatePath as Jt, Switch as oi, Route as zt, Redirect as wc } from "react-router-dom";
24
+ import { Link as ts, useHistory as $t, NavLink as ze, useParams as Ze, useLocation as Ft, useRouteMatch as vt, generatePath as Jt, Switch as oi, Route as zt, Redirect as wc } from "react-router-dom";
25
25
  import { ReactComponent as Rc } from "./assets/ic-delete-interactive.304dd293.svg";
26
26
  import Xt from "yaml";
27
27
  import { ReactComponent as er } from "./assets/ic-info-filled-override.99e8094a.svg";
@@ -32,7 +32,7 @@ import Pc, { ReactComponent as ii } from "./assets/ic-mechanical-operation.08b38
32
32
  import { ReactComponent as Dc } from "./assets/ic-clair.ba79956f.svg";
33
33
  import { ReactComponent as Mc } from "./assets/ic-trivy.d5338454.svg";
34
34
  import { ReactComponent as kc } from "./assets/ic-caret-left-small.fe00c98d.svg";
35
- import { ReactComponent as Es } from "./assets/ic-info-outlined.f4fa3224.svg";
35
+ import { ReactComponent as xs } from "./assets/ic-info-outlined.f4fa3224.svg";
36
36
  import { ReactComponent as vs } from "./assets/ic-error-cross.bf21e563.svg";
37
37
  import { ReactComponent as li } from "./assets/ic-success.8c8fe69d.svg";
38
38
  import { ReactComponent as tr } from "./assets/ic-clock.c21a2d14.svg";
@@ -74,7 +74,7 @@ import { ReactComponent as Qn } from "./assets/ic-help.39c58c34.svg";
74
74
  import { ReactComponent as fi } from "./assets/ic-arrow-out.6aea09d0.svg";
75
75
  import { ReactComponent as hi } from "./assets/ic-arrow-forward.a2b8ab45.svg";
76
76
  import _i from "./assets/app-not-deployed.acdf0271.png";
77
- import { ReactComponent as ns } from "./assets/ic-error-exclamation.c224de09.svg";
77
+ import { ReactComponent as ss } from "./assets/ic-error-exclamation.c224de09.svg";
78
78
  import { BehaviorSubject as Zn } from "rxjs";
79
79
  import { ReactComponent as nd } from "./assets/ic-errorInfo.d8d674b8.svg";
80
80
  import { ReactComponent as ad } from "./assets/ic-fullscreen.b05e5087.svg";
@@ -155,12 +155,12 @@ import uu, { ReactComponent as mu } from "./assets/ic-webhook.d4431b07.svg";
155
155
  import pu from "./assets/ic-branch.8db43d66.svg";
156
156
  import fu from "./assets/ic-regex.e14a4ea3.svg";
157
157
  import { ReactComponent as hu } from "./assets/ic-locked.3b9eff02.svg";
158
- const Ht = (e) => /* @__PURE__ */ t.jsx("div", { className: `dc__registry-icon dc__git-logo ${e}` }), _u = 6e4, On = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", cs = "https://docs.devtron.ai", Ls = "/v/v0.7", ir = "https://discord.devtron.ai/", Ns = {
159
- APP_METRICS: `${cs}${Ls}/usage/applications/app-details/app-metrics`,
160
- APP_TAGS: `${cs}${Ls}/usage/applications/create-application#tags`,
161
- APP_OVERVIEW_TAGS: `${cs}${Ls}/usage/applications/overview#manage-tags`,
162
- BLOB_STORAGE: `${cs}${Ls}/getting-started/install/installation-configuration#configuration-of-blob-storage`,
163
- GLOBAL_CONFIG_BUILD_INFRA: `${cs}${Ls}/global-configurations/build-infra`
158
+ const Ht = (e) => /* @__PURE__ */ t.jsx("div", { className: `dc__registry-icon dc__git-logo ${e}` }), _u = 6e4, On = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", ls = "https://docs.devtron.ai", Ls = "/v/v0.7", ir = "https://discord.devtron.ai/", Es = {
159
+ APP_METRICS: `${ls}${Ls}/usage/applications/app-details/app-metrics`,
160
+ APP_TAGS: `${ls}${Ls}/usage/applications/create-application#tags`,
161
+ APP_OVERVIEW_TAGS: `${ls}${Ls}/usage/applications/overview#manage-tags`,
162
+ BLOB_STORAGE: `${ls}${Ls}/getting-started/install/installation-configuration#configuration-of-blob-storage`,
163
+ GLOBAL_CONFIG_BUILD_INFRA: `${ls}${Ls}/global-configurations/build-infra`
164
164
  }, Pn = {
165
165
  KUBERNETES_KEY_PREFIX: /^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/,
166
166
  KUBERNETES_KEY_NAME: /^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$/,
@@ -460,7 +460,7 @@ const xu = {
460
460
  CHART_PULL: "CHART_PULL",
461
461
  CHART_PUSH: "CHART_PUSH"
462
462
  };
463
- var bs = /* @__PURE__ */ ((e) => (e.YAML = "yaml", e.JSON = "json", e.SHELL = "shell", e.DOCKERFILE = "dockerfile", e.PLAINTEXT = "plaintext", e))(bs || {}), Eu = /* @__PURE__ */ ((e) => (e.CONFIG = "CONFIG", e.DEPLOYMENT = "DEPLOYMENT", e.IMAGE_PROMOTION = "IMAGE-PROMOTION", e))(Eu || {});
463
+ var Ns = /* @__PURE__ */ ((e) => (e.YAML = "yaml", e.JSON = "json", e.SHELL = "shell", e.DOCKERFILE = "dockerfile", e.PLAINTEXT = "plaintext", e))(Ns || {}), Eu = /* @__PURE__ */ ((e) => (e.CONFIG = "CONFIG", e.DEPLOYMENT = "DEPLOYMENT", e.IMAGE_PROMOTION = "IMAGE-PROMOTION", e))(Eu || {});
464
464
  const Nu = 2147483647, hC = {
465
465
  APPROVAL: "approval",
466
466
  PENDING: "pending"
@@ -501,7 +501,6 @@ const Vt = "0001-01-01T00:00:00Z", Ii = [void 0, null, "", NaN], jr = {
501
501
  UNAUTHORIZED: 401,
502
502
  PERMISSION_DENIED: 403,
503
503
  NOT_FOUND: 404,
504
- REQUEST_TIMEOUT: 408,
505
504
  EXPECTATION_FAILED: 417,
506
505
  UNPROCESSABLE_ENTITY: 422,
507
506
  LOCKED: 423
@@ -532,7 +531,7 @@ const La = {
532
531
  low: 4,
533
532
  unknown: 5
534
533
  }, Lr = window.navigator.userAgent.toUpperCase().includes("MAC");
535
- var ps = /* @__PURE__ */ ((e) => (e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.AZURE = "azure", e.GITEA = "gitea", e))(ps || {});
534
+ var ms = /* @__PURE__ */ ((e) => (e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.AZURE = "azure", e.GITEA = "gitea", e))(ms || {});
536
535
  const bC = (e) => JSON.stringify(JSON.parse(e ?? "{}"), null, 2);
537
536
  class Iu {
538
537
  constructor(s) {
@@ -553,12 +552,12 @@ class ht extends Error {
553
552
  this.name = `[${n.code.toString()}]`, this.message = a, this.errors = n.errors.map((r) => new Iu(r)), Object.setPrototypeOf(this, ht.prototype);
554
553
  }
555
554
  }
556
- var ta = /* @__PURE__ */ ((e) => (e.black = "black", e.white = "white", e))(ta || {}), qe = /* @__PURE__ */ ((e) => (e.CHECKED = "CHECKED", e.INTERMEDIATE = "INTERMEDIATE", e.BULK_CHECKED = "BULK_CHECKED", e))(qe || {}), as = /* @__PURE__ */ ((e) => (e.Large = "large", e.Medium = "medium", e.SMALL = "small", e))(as || {});
555
+ var ta = /* @__PURE__ */ ((e) => (e.black = "black", e.white = "white", e))(ta || {}), qe = /* @__PURE__ */ ((e) => (e.CHECKED = "CHECKED", e.INTERMEDIATE = "INTERMEDIATE", e.BULK_CHECKED = "BULK_CHECKED", e))(qe || {}), ns = /* @__PURE__ */ ((e) => (e.Large = "large", e.Medium = "medium", e.SMALL = "small", e))(ns || {});
557
556
  const Ms = {
558
557
  Security: "SECURITY",
559
558
  Changes: "CHANGES"
560
559
  };
561
- var wa = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(wa || {}), sa = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(sa || {}), Fs = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(Fs || {}), Au = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(Au || {}), ju = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(ju || {}), Ra = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(Ra || {}), yu = /* @__PURE__ */ ((e) => (e.PENDING_APPROVAL = "PENDING_APPROVAL", e.PROMOTION_APPROVAL_PENDING_NODE = "PROMOTION_APPROVAL_PENDING_NODE", e.CI = "CI", e.ENVIRONMENT = "ENVIRONMENT", e.WEBHOOK = "WEBHOOK", e.LINKED_CI = "LINKED-CI", e.CI_JOB = "CI-JOB", e.LINKED_CD = "LINKED-CD", e))(yu || {}), Li = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(Li || {}), hs = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.GITOPS = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux", e))(hs || {}), Lu = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(Lu || {}), In = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(In || {}), Oa = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(Oa || {}), Ys = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(Ys || {}), Pa = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(Pa || {});
560
+ var wa = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(wa || {}), sa = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(sa || {}), Fs = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(Fs || {}), Au = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(Au || {}), ju = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(ju || {}), Ra = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(Ra || {}), yu = /* @__PURE__ */ ((e) => (e.PENDING_APPROVAL = "PENDING_APPROVAL", e.PROMOTION_APPROVAL_PENDING_NODE = "PROMOTION_APPROVAL_PENDING_NODE", e.CI = "CI", e.ENVIRONMENT = "ENVIRONMENT", e.WEBHOOK = "WEBHOOK", e.LINKED_CI = "LINKED-CI", e.CI_JOB = "CI-JOB", e.LINKED_CD = "LINKED-CD", e))(yu || {}), Li = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(Li || {}), fs = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.GITOPS = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux", e))(fs || {}), Lu = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(Lu || {}), In = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(In || {}), Oa = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(Oa || {}), Ys = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(Ys || {}), Pa = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(Pa || {});
562
561
  const wr = {
563
562
  100: "Continue",
564
563
  101: "Switching Protocols",
@@ -668,7 +667,11 @@ async function Ou(e, s, n, a, r = !1, o) {
668
667
  { code: 401, internalMessage: "Please login again", userMessage: "Please login again" }
669
668
  ]
670
669
  });
671
- return wu(), { code: 401, status: "Unauthorized", result: [] };
670
+ return wu(), await new Promise((u) => {
671
+ setTimeout(() => {
672
+ u({ code: 401, status: "Unauthorized", result: [] });
673
+ }, 1e3);
674
+ });
672
675
  } else {
673
676
  if (i.status >= 300 && i.status <= 599)
674
677
  return await Ru(c, i);
@@ -726,11 +729,11 @@ function tn(e, s, n, a, r) {
726
729
  });
727
730
  });
728
731
  }
729
- const Gt = (e, s, n, a) => tn(e, "POST", s, n, a), Pu = (e, s, n) => tn(e, "PUT", s, n), CC = (e, s, n) => tn(e, "PATCH", s, n), ne = (e, s) => tn(e, "GET", null, s), wi = (e, s, n) => tn(e, "DELETE", s, n), Ri = (e, s) => (s.current.abort(), s.current = new AbortController(), e()), es = (e) => (
732
+ const Gt = (e, s, n, a) => tn(e, "POST", s, n, a), Pu = (e, s, n) => tn(e, "PUT", s, n), CC = (e, s, n) => tn(e, "PATCH", s, n), ne = (e, s) => tn(e, "GET", null, s), wi = (e, s, n) => tn(e, "DELETE", s, n), Ri = (e, s) => (s.current.abort(), s.current = new AbortController(), e()), bs = (e) => (
730
733
  // The 0 code is common for aborted and blocked requests
731
734
  e && e.code === 0 && e.message.search("abort|aborted") > -1
732
735
  );
733
- var Du = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(Du || {}), q = /* @__PURE__ */ ((e) => (e.Service = "Service", e.Alertmanager = "Alertmanager", e.PodSecurity = "PodSecurityPolicy", e.ConfigMap = "ConfigMap", e.ServiceAccount = "ServiceAccount", e.ClusterRoleBinding = "ClusterRoleBinding", e.RoleBinding = "RoleBinding", e.ClusterRole = "ClusterRole", e.Role = "Role", e.Prometheus = "Prometheus", e.ServiceMonitor = "ServiceMonitor", e.Deployment = "Deployment", e.MutatingWebhookConfiguration = "MutatingWebhookConfiguration", e.DaemonSet = "DaemonSet", e.Secret = "Secret", e.ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration", e.Pod = "Pod", e.Ingress = "Ingress", e.ReplicaSet = "ReplicaSet", e.Endpoints = "Endpoints", e.Cluster = "ClusterRoleBinding", e.PodSecurityPolicy = "PodSecurityPolicy", e.CronJob = "CronJob", e.Job = "Job", e.ReplicationController = "ReplicationController", e.StatefulSet = "StatefulSet", e.Rollout = "Rollout", e.PersistentVolumeClaim = "PersistentVolumeClaim", e.PersistentVolume = "PersistentVolume", e.Containers = "Containers", e.InitContainers = "InitContainers", e.EndpointSlice = "EndpointSlice", e.NetworkPolicy = "NetworkPolicy", e.StorageClass = "StorageClass", e.VolumeSnapshot = "VolumeSnapshot", e.VolumeSnapshotContent = "VolumeSnapshotContent", e.VolumeSnapshotClass = "VolumeSnapshotClass", e.PodDisruptionBudget = "PodDisruptionBudget", e.Event = "Event", e.Namespace = "Namespace", e.Node = "Node", e.Overview = "Overview", e.MonitoringDashboard = "MonitoringDashboard", e.UpgradeCluster = "UpgradeCluster", e))(q || {}), Da = /* @__PURE__ */ ((e) => (e.DEVTRON_APP = "devtron_app", e.DEVTRON_HELM_CHART = "devtron_helm_chart", e.EXTERNAL_HELM_CHART = "external_helm_chart", e.EXTERNAL_ARGO_APP = "external_argo_app", e.EXTERNAL_FLUX_APP = "external_flux_app", e))(Da || {}), Mu = /* @__PURE__ */ ((e) => (e.GIT = "git", e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.DOCKER = "docker", e.DOCKER_HUB = "docker-hub", e.ACR = "acr", e.QUAY = "quay", e.ECR = "ecr", e.ARTIFACT_REGISTRY = "artifact-registry", e.GCR = "gcr", e.OTHER = "other", e))(Mu || {}), Ws = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Ws || {}), ds = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(ds || {}), ku = /* @__PURE__ */ ((e) => (e.REQUEST = "request", e.PENDING = "pending", e))(ku || {}), Uu = /* @__PURE__ */ ((e) => (e.HEALTHY = "healthy", e.NONE = "none", e.UNKNOWN = "unknown", e.UPGRADING = "upgrading", e.UPGRADE_FAILED = "upgradeFailed", e.INSTALLED = "installed", e.INSTALLING = "installing", e.INSTALL_FAILED = "installFailed", e.NOT_INSTALLED = "notInstalled", e.TIMEOUT = "timeout", e))(Uu || {}), Bu = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(Bu || {}), Oi = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(Oi || {}), He = /* @__PURE__ */ ((e) => (e.devtronApplication = "application/devtron-application", e.helmChart = "application/helm-application", e.job = "job", e.cluster = "cluster", e.release = "release", e.releaseTrack = "release-track", e.releaseChannel = "release-channel", e.tenant = "tenant", e.installation = "installation", e.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(He || {}), lr = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(lr || {}), $u = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e))($u || {}), Ks = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(Ks || {}), pt = /* @__PURE__ */ ((e) => (e.Workloads = "Workloads", e.Networking = "Networking", e["Config & Storage"] = "Config & Storage", e.RBAC = "RBAC", e.Administration = "Administration", e["Custom Resource"] = "Custom Resource", e["Other Resources"] = "Other Resources", e.Events = "Events", e.Namespaces = "Namespaces", e.Nodes = "Nodes", e))(pt || {}), Fu = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(Fu || {}), Vu = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(Vu || {}), An = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(An || {}), Gu = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(Gu || {}), Pi = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(Pi || {}), Hu = /* @__PURE__ */ ((e) => (e.KEY = "key", e.VALUE = "value", e))(Hu || {}), Yu = /* @__PURE__ */ ((e) => (e.DEVTRON_APPS = "devtron-app", e.HELM_APPS = "helm-app", e.JOBS = "", e))(Yu || {}), Wu = /* @__PURE__ */ ((e) => (e.CHART_GROUP = "chart-group", e.DIRECT = "apps", e.JOB = "jobs", e.DOCKER = "docker", e.GIT = "git", e.CLUSTER = "cluster", e.NOTIFICATION = "notification", e))(Wu || {});
736
+ var Du = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(Du || {}), q = /* @__PURE__ */ ((e) => (e.Service = "Service", e.Alertmanager = "Alertmanager", e.PodSecurity = "PodSecurityPolicy", e.ConfigMap = "ConfigMap", e.ServiceAccount = "ServiceAccount", e.ClusterRoleBinding = "ClusterRoleBinding", e.RoleBinding = "RoleBinding", e.ClusterRole = "ClusterRole", e.Role = "Role", e.Prometheus = "Prometheus", e.ServiceMonitor = "ServiceMonitor", e.Deployment = "Deployment", e.MutatingWebhookConfiguration = "MutatingWebhookConfiguration", e.DaemonSet = "DaemonSet", e.Secret = "Secret", e.ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration", e.Pod = "Pod", e.Ingress = "Ingress", e.ReplicaSet = "ReplicaSet", e.Endpoints = "Endpoints", e.Cluster = "ClusterRoleBinding", e.PodSecurityPolicy = "PodSecurityPolicy", e.CronJob = "CronJob", e.Job = "Job", e.ReplicationController = "ReplicationController", e.StatefulSet = "StatefulSet", e.Rollout = "Rollout", e.PersistentVolumeClaim = "PersistentVolumeClaim", e.PersistentVolume = "PersistentVolume", e.Containers = "Containers", e.InitContainers = "InitContainers", e.EndpointSlice = "EndpointSlice", e.NetworkPolicy = "NetworkPolicy", e.StorageClass = "StorageClass", e.VolumeSnapshot = "VolumeSnapshot", e.VolumeSnapshotContent = "VolumeSnapshotContent", e.VolumeSnapshotClass = "VolumeSnapshotClass", e.PodDisruptionBudget = "PodDisruptionBudget", e.Event = "Event", e.Namespace = "Namespace", e.Node = "Node", e.Overview = "Overview", e.MonitoringDashboard = "MonitoringDashboard", e.UpgradeCluster = "UpgradeCluster", e))(q || {}), Da = /* @__PURE__ */ ((e) => (e.DEVTRON_APP = "devtron_app", e.DEVTRON_HELM_CHART = "devtron_helm_chart", e.EXTERNAL_HELM_CHART = "external_helm_chart", e.EXTERNAL_ARGO_APP = "external_argo_app", e.EXTERNAL_FLUX_APP = "external_flux_app", e))(Da || {}), Mu = /* @__PURE__ */ ((e) => (e.GIT = "git", e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.DOCKER = "docker", e.DOCKER_HUB = "docker-hub", e.ACR = "acr", e.QUAY = "quay", e.ECR = "ecr", e.ARTIFACT_REGISTRY = "artifact-registry", e.GCR = "gcr", e.OTHER = "other", e))(Mu || {}), Ws = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Ws || {}), cs = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(cs || {}), ku = /* @__PURE__ */ ((e) => (e.REQUEST = "request", e.PENDING = "pending", e))(ku || {}), Uu = /* @__PURE__ */ ((e) => (e.HEALTHY = "healthy", e.NONE = "none", e.UNKNOWN = "unknown", e.UPGRADING = "upgrading", e.UPGRADE_FAILED = "upgradeFailed", e.INSTALLED = "installed", e.INSTALLING = "installing", e.INSTALL_FAILED = "installFailed", e.NOT_INSTALLED = "notInstalled", e.TIMEOUT = "timeout", e))(Uu || {}), Bu = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(Bu || {}), Oi = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(Oi || {}), He = /* @__PURE__ */ ((e) => (e.devtronApplication = "application/devtron-application", e.helmChart = "application/helm-application", e.job = "job", e.cluster = "cluster", e.release = "release", e.releaseTrack = "release-track", e.releaseChannel = "release-channel", e.tenant = "tenant", e.installation = "installation", e.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(He || {}), lr = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(lr || {}), $u = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e))($u || {}), Ks = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(Ks || {}), pt = /* @__PURE__ */ ((e) => (e.Workloads = "Workloads", e.Networking = "Networking", e["Config & Storage"] = "Config & Storage", e.RBAC = "RBAC", e.Administration = "Administration", e["Custom Resource"] = "Custom Resource", e["Other Resources"] = "Other Resources", e.Events = "Events", e.Namespaces = "Namespaces", e.Nodes = "Nodes", e))(pt || {}), Fu = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(Fu || {}), Vu = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(Vu || {}), An = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(An || {}), Gu = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(Gu || {}), Pi = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(Pi || {}), Hu = /* @__PURE__ */ ((e) => (e.KEY = "key", e.VALUE = "value", e))(Hu || {}), Yu = /* @__PURE__ */ ((e) => (e.DEVTRON_APPS = "devtron-app", e.HELM_APPS = "helm-app", e.JOBS = "", e))(Yu || {}), Wu = /* @__PURE__ */ ((e) => (e.CHART_GROUP = "chart-group", e.DIRECT = "apps", e.JOB = "jobs", e.DOCKER = "docker", e.GIT = "git", e.CLUSTER = "cluster", e.NOTIFICATION = "notification", e))(Wu || {});
734
737
  const hn = {
735
738
  PROGRESSING: "Progressing",
736
739
  DEGRADED: "Degraded",
@@ -1183,7 +1186,7 @@ const cm = {
1183
1186
  onClick: a,
1184
1187
  ...r
1185
1188
  }) => e === Ua.link ? /* @__PURE__ */ t.jsx(
1186
- ss,
1189
+ ts,
1187
1190
  {
1188
1191
  ...s,
1189
1192
  ...r,
@@ -1253,7 +1256,7 @@ const cm = {
1253
1256
  ]
1254
1257
  }
1255
1258
  ) }) });
1256
- }, rs = ({
1259
+ }, as = ({
1257
1260
  reload: e,
1258
1261
  withBorder: s = !1,
1259
1262
  title: n = "Failed to load",
@@ -1263,7 +1266,7 @@ const cm = {
1263
1266
  rootClassName: l,
1264
1267
  useInfoIcon: i = !1
1265
1268
  }) => /* @__PURE__ */ t.jsxs("div", { className: `flex column dc__gap-8 p-16 ${s ? "dc__border br-4" : ""} ${l || ""}`, children: [
1266
- i ? /* @__PURE__ */ t.jsx(Zd, { className: "icon-dim-24" }) : /* @__PURE__ */ t.jsx(ns, { className: "icon-dim-24 alert-icon-r5-imp" }),
1269
+ i ? /* @__PURE__ */ t.jsx(Zd, { className: "icon-dim-24" }) : /* @__PURE__ */ t.jsx(ss, { className: "icon-dim-24 alert-icon-r5-imp" }),
1267
1270
  /* @__PURE__ */ t.jsxs("div", { className: "flex column dc__gap-4 dc__align-center", children: [
1268
1271
  /* @__PURE__ */ t.jsx("h3", { className: "fs-13 lh-20 fw-6 cn-9 m-0", children: n }),
1269
1272
  (a || r) && /* @__PURE__ */ t.jsxs("div", { className: "flex column fs-13 lh-20 fw-4 cn-7", children: [
@@ -1295,7 +1298,7 @@ const cm = {
1295
1298
  genericSectionErrorProps: i,
1296
1299
  errorScreenManagerProps: c,
1297
1300
  children: u
1298
- }) => r ? /* @__PURE__ */ t.jsx(Ux, {}) : e ? n ? /* @__PURE__ */ t.jsx(t.Fragment, { children: n }) : /* @__PURE__ */ t.jsx(Ie, { ...s }) : a ? i ? /* @__PURE__ */ t.jsx(rs, { ...i }) : c ? /* @__PURE__ */ t.jsx(oa, { ...c }) : a?.code === 404 ? /* @__PURE__ */ t.jsx(
1301
+ }) => r ? /* @__PURE__ */ t.jsx(Ux, {}) : e ? n ? /* @__PURE__ */ t.jsx(t.Fragment, { children: n }) : /* @__PURE__ */ t.jsx(Ie, { ...s }) : a ? i ? /* @__PURE__ */ t.jsx(as, { ...i }) : c ? /* @__PURE__ */ t.jsx(oa, { ...c }) : a?.code === 404 ? /* @__PURE__ */ t.jsx(
1299
1302
  Ye,
1300
1303
  {
1301
1304
  title: o?.title ?? Mr.title,
@@ -1715,7 +1718,7 @@ const vm = {
1715
1718
  }
1716
1719
  )
1717
1720
  ] });
1718
- var xs;
1721
+ var gs;
1719
1722
  const qt = class qt {
1720
1723
  constructor() {
1721
1724
  /**
@@ -1757,11 +1760,11 @@ const qt = class qt {
1757
1760
  Ge(this, "isToastActive", da.isActive);
1758
1761
  }
1759
1762
  static get instance() {
1760
- return ca(qt, xs) || Cr(qt, xs, new qt()), ca(qt, xs);
1763
+ return ca(qt, gs) || Cr(qt, gs, new qt()), ca(qt, gs);
1761
1764
  }
1762
1765
  };
1763
- xs = new WeakMap(), // eslint-disable-next-line no-use-before-define
1764
- br(qt, xs);
1766
+ gs = new WeakMap(), // eslint-disable-next-line no-use-before-define
1767
+ br(qt, gs);
1765
1768
  let $a = qt;
1766
1769
  const PC = () => /* @__PURE__ */ t.jsx(mc, { ...vm }), Ue = $a.instance;
1767
1770
  var ke = /* @__PURE__ */ ((e) => (e.CLEAR_ALL_SELECTIONS = "CLEAR_ALL_SELECTIONS", e.CLEAR_IDENTIFIERS = "CLEAR_IDENTIFIERS", e.SELECT_ALL_ACROSS_PAGES = "SELECT_ALL_ACROSS_PAGES", e.SELECT_ALL_ON_PAGE = "SELECT_ALL_ON_PAGE", e.SELECT_IDENTIFIER = "SELECT_IDENTIFIER", e.CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION = "CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION", e.CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES = "CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES", e))(ke || {}), Wi = /* @__PURE__ */ ((e) => (e.OPEN = "OPEN", e.CLOSED = "CLOSED", e))(Wi || {});
@@ -1917,7 +1920,7 @@ const jm = "bulk-selection-pop-up-menu", ua = {
1917
1920
  disabled: s,
1918
1921
  children: [
1919
1922
  /* @__PURE__ */ t.jsx(
1920
- os,
1923
+ rs,
1921
1924
  {
1922
1925
  isChecked: a,
1923
1926
  onChange: Qe,
@@ -2326,15 +2329,15 @@ const $m = {
2326
2329
  children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__border-radius-24 bcn-0 pl-16 pr-16 pt-8 pb-8 en-1 bw-1", children: /* @__PURE__ */ t.jsx(aa, { scanToolId: e }) })
2327
2330
  }), Vm = (e, s) => e.toString().localeCompare(s.toString()), qi = (e) => {
2328
2331
  switch (e.toLowerCase()) {
2329
- case ds.HIGH:
2332
+ case cs.HIGH:
2330
2333
  return K.HIGH;
2331
- case ds.UNKNOWN:
2334
+ case cs.UNKNOWN:
2332
2335
  return K.UNKNOWN;
2333
- case ds.MEDIUM:
2336
+ case cs.MEDIUM:
2334
2337
  return K.MEDIUM;
2335
- case ds.LOW:
2338
+ case cs.LOW:
2336
2339
  return K.LOW;
2337
- case ds.CRITICAL:
2340
+ case cs.CRITICAL:
2338
2341
  return K.CRITICAL;
2339
2342
  default:
2340
2343
  return null;
@@ -2586,7 +2589,7 @@ const $m = {
2586
2589
  };
2587
2590
  return /* @__PURE__ */ t.jsx("button", { type: "button", className: "dc__unset-button-styles dc__align-left", onClick: a, children: e });
2588
2591
  }, zm = ({ href: e }) => /* @__PURE__ */ t.jsx("div", { className: "flex flex-grow-1", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-8 dc__align-items-center fs-13 fw-6", children: [
2589
- /* @__PURE__ */ t.jsx(Es, { className: "icon-dim-24 fcn-3" }),
2592
+ /* @__PURE__ */ t.jsx(xs, { className: "icon-dim-24 fcn-3" }),
2590
2593
  /* @__PURE__ */ t.jsx("span", { children: "Code snippet is not available" }),
2591
2594
  e && /* @__PURE__ */ t.jsx("a", { href: e, rel: "noopener noreferrer", target: "_blank", children: "Go to file" })
2592
2595
  ] }) }), Ji = ({ title: e, lines: s, link: n }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__align-self-stretch bcn-0 dc__outline dc__border-radius-4-imp", children: [
@@ -3439,7 +3442,7 @@ const $m = {
3439
3442
  ] }), C = () => {
3440
3443
  const N = Np(p, d.category, d.subCategory, f);
3441
3444
  if (N)
3442
- return /* @__PURE__ */ t.jsx(Ye, { ...N, imageType: as.Large });
3445
+ return /* @__PURE__ */ t.jsx(Ye, { ...N, imageType: ns.Large });
3443
3446
  const { headers: v, rows: I, defaultSortIndex: T, hasExpandableRows: S } = f || xp(p, d.category, d.subCategory, _, u), { entities: j, lastScanTimeString: P, scanToolId: L } = f || Ep(p, d.category, d.subCategory);
3444
3447
  return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col p-20 dc__gap-16", children: [
3445
3448
  j?.length ? /* @__PURE__ */ t.jsx(Km, { entities: j, lastScanTimeString: P, scanToolId: L }) : null,
@@ -3570,7 +3573,7 @@ const $m = {
3570
3573
  )
3571
3574
  ] });
3572
3575
  };
3573
- var R = /* @__PURE__ */ ((e) => (e.CPU_LIMIT = "cpu_limit", e.CPU_REQUEST = "cpu_request", e.MEMORY_LIMIT = "memory_limit", e.MEMORY_REQUEST = "memory_request", e.BUILD_TIMEOUT = "timeout", e))(R || {}), ts = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(ts || {}), jn = /* @__PURE__ */ ((e) => (e.CPU = "cpu", e.MEMORY = "memory", e.BUILD_TIMEOUT = "timeout", e))(jn || {}), Kt = /* @__PURE__ */ ((e) => (e.ACTIVATE_CPU = "activate_cpu", e.DE_ACTIVATE_CPU = "de_activate_cpu", e.ACTIVATE_MEMORY = "activate_memory", e.DE_ACTIVATE_MEMORY = "de_activate_memory", e.ACTIVATE_BUILD_TIMEOUT = "activate_timeout", e.DE_ACTIVATE_BUILD_TIMEOUT = "de_activate_timeout", e))(Kt || {});
3576
+ var R = /* @__PURE__ */ ((e) => (e.CPU_LIMIT = "cpu_limit", e.CPU_REQUEST = "cpu_request", e.MEMORY_LIMIT = "memory_limit", e.MEMORY_REQUEST = "memory_request", e.BUILD_TIMEOUT = "timeout", e))(R || {}), es = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(es || {}), jn = /* @__PURE__ */ ((e) => (e.CPU = "cpu", e.MEMORY = "memory", e.BUILD_TIMEOUT = "timeout", e))(jn || {}), Kt = /* @__PURE__ */ ((e) => (e.ACTIVATE_CPU = "activate_cpu", e.DE_ACTIVATE_CPU = "de_activate_cpu", e.ACTIVATE_MEMORY = "activate_memory", e.DE_ACTIVATE_MEMORY = "de_activate_memory", e.ACTIVATE_BUILD_TIMEOUT = "activate_timeout", e.DE_ACTIVATE_BUILD_TIMEOUT = "de_activate_timeout", e))(Kt || {});
3574
3577
  const GC = {
3575
3578
  timeout: "timeout",
3576
3579
  cpu_limit: "cpu",
@@ -3669,8 +3672,8 @@ const Cs = {
3669
3672
  locator: jn.BUILD_TIMEOUT
3670
3673
  }
3671
3674
  ], Va = Object.fromEntries(
3672
- Object.values({ ...R, ...ts }).map((e) => [e, null])
3673
- ), Sp = [ts.NAME], vp = "default", Ip = {
3675
+ Object.values({ ...R, ...es }).map((e) => [e, null])
3676
+ ), Sp = [es.NAME], vp = "default", Ip = {
3674
3677
  name: "",
3675
3678
  description: "",
3676
3679
  type: tl.NORMAL,
@@ -3696,7 +3699,7 @@ const Cs = {
3696
3699
  infoText: a ?? we.EDIT_DEFAULT_TOOLTIP,
3697
3700
  additionalContent: r,
3698
3701
  heading: we.HEADING,
3699
- documentationLink: Ns.GLOBAL_CONFIG_BUILD_INFRA,
3702
+ documentationLink: Es.GLOBAL_CONFIG_BUILD_INFRA,
3700
3703
  documentationLinkText: "View Documentation",
3701
3704
  iconClassName: "icon-dim-20 fcn-6"
3702
3705
  }
@@ -4006,7 +4009,7 @@ const Vr = {
4006
4009
  }, Ga = (e, s, n = { label: "", value: "" }, a = null) => Array.isArray(e) ? e.flatMap(
4007
4010
  (o) => "options" in o ? o.options : [o]
4008
4011
  ).find((o) => (a ? a(o) : o.value) === s) ?? n : n;
4009
- class os extends Kn {
4012
+ class rs extends Kn {
4010
4013
  render() {
4011
4014
  const s = `${this.props.rootClassName ? this.props.rootClassName : ""}`;
4012
4015
  return /* @__PURE__ */ t.jsxs("label", { className: `dc__position-rel flex left cursor ${s}`, onClick: this.props?.onClick, children: [
@@ -4077,7 +4080,7 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
4077
4080
  };
4078
4081
  return /* @__PURE__ */ t.jsx(ve.Option, { ...s, children: /* @__PURE__ */ t.jsx(Be, { ...Rp(m), children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
4079
4082
  r && !_ && /* @__PURE__ */ t.jsx(
4080
- os,
4083
+ rs,
4081
4084
  {
4082
4085
  onChange: Qe,
4083
4086
  onClick: g,
@@ -4115,7 +4118,7 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
4115
4118
  getIsOptionValid: e,
4116
4119
  ...s
4117
4120
  }) => {
4118
- const { data: n, selectProps: a } = s, o = e(n) ? (n.startIcon || n.endIcon) ?? null : /* @__PURE__ */ t.jsx(ns, {});
4121
+ const { data: n, selectProps: a } = s, o = e(n) ? (n.startIcon || n.endIcon) ?? null : /* @__PURE__ */ t.jsx(ss, {});
4119
4122
  return /* @__PURE__ */ t.jsxs("div", { className: "flex dc__gap-4 mw-0 dc__truncate", children: [
4120
4123
  o && /* @__PURE__ */ t.jsx(
4121
4124
  "div",
@@ -4155,7 +4158,7 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
4155
4158
  };
4156
4159
  return /* @__PURE__ */ t.jsx(ve.GroupHeading, { ...s, onClick: i, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
4157
4160
  e && /* @__PURE__ */ t.jsx(
4158
- os,
4161
+ rs,
4159
4162
  {
4160
4163
  onChange: Qe,
4161
4164
  onClick: c,
@@ -4236,7 +4239,7 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
4236
4239
  ), Pe = (Ke) => /* @__PURE__ */ t.jsx($p, { ...Ke, getIsOptionValid: oe }), Fe = ye(
4237
4240
  (Ke) => /* @__PURE__ */ t.jsx(Vp, { ...Ke, isGroupHeadingSelectable: Y }),
4238
4241
  [Y]
4239
- ), We = () => d ? /* @__PURE__ */ t.jsx(rs, { reload: m }) : G ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: "No options" }) : null, ut = (Ke) => /* @__PURE__ */ t.jsx(Q, { content: i, placement: "top", className: "default-tt", arrow: !1, children: Ke }), pn = (Ke) => {
4242
+ ), We = () => d ? /* @__PURE__ */ t.jsx(as, { reload: m }) : G ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: "No options" }) : null, ut = (Ke) => /* @__PURE__ */ t.jsx(Q, { content: i, placement: "top", className: "default-tt", arrow: !1, children: Ke }), pn = (Ke) => {
4240
4243
  const $ = Ke?.trim();
4241
4244
  $ && V($);
4242
4245
  }, la = te(
@@ -4480,7 +4483,7 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
4480
4483
  const { checked: m } = d.currentTarget, p = m ? `activate_${l}` : `de_activate_${l}`;
4481
4484
  o({ action: p });
4482
4485
  }, u = () => i ? /* @__PURE__ */ t.jsx(s, { className: "icon-dim-20 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(
4483
- os,
4486
+ rs,
4484
4487
  {
4485
4488
  onChange: c,
4486
4489
  isChecked: !a,
@@ -4505,7 +4508,7 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
4505
4508
  }) => {
4506
4509
  const a = (r) => {
4507
4510
  e({
4508
- action: ts.DESCRIPTION,
4511
+ action: es.DESCRIPTION,
4509
4512
  data: { value: r.currentTarget.value }
4510
4513
  });
4511
4514
  };
@@ -4534,7 +4537,7 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
4534
4537
  error: n
4535
4538
  }) => {
4536
4539
  const a = (r) => {
4537
- e({ action: ts.NAME, data: { value: r.currentTarget.value } });
4540
+ e({ action: es.NAME, data: { value: r.currentTarget.value } });
4538
4541
  };
4539
4542
  return /* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__gap-4 w-100 dc__align-start", children: /* @__PURE__ */ t.jsx(
4540
4543
  dn,
@@ -4794,10 +4797,10 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
4794
4797
  handleProfileInputChange: ({ action: f, data: x }) => {
4795
4798
  const E = { ...c }, C = { ...d }, b = o.profile.configurations, N = E.configurations, { value: v, unit: I } = x ?? { value: null, unit: null };
4796
4799
  switch (f) {
4797
- case ts.DESCRIPTION:
4800
+ case es.DESCRIPTION:
4798
4801
  E.description = v, C.description = _x(v).message;
4799
4802
  break;
4800
- case ts.NAME:
4803
+ case es.NAME:
4801
4804
  E.name = v, C.name = hx(v).message;
4802
4805
  break;
4803
4806
  case R.CPU_LIMIT: {
@@ -5076,7 +5079,7 @@ const nf = ({
5076
5079
  children: s[0]
5077
5080
  }
5078
5081
  ),
5079
- /* @__PURE__ */ t.jsx(ss, { to: `${he.PERMISSION_GROUPS}/${e}`, className: "dc__ellipsis-right anchor cursor", children: s }),
5082
+ /* @__PURE__ */ t.jsx(ts, { to: `${he.PERMISSION_GROUPS}/${e}`, className: "dc__ellipsis-right anchor cursor", children: s }),
5080
5083
  /* @__PURE__ */ t.jsx("div", { className: "dc__ellipsis-right", children: n || "-" }),
5081
5084
  d && /* @__PURE__ */ t.jsx(
5082
5085
  u,
@@ -5338,7 +5341,7 @@ const hf = {
5338
5341
  };
5339
5342
  return Gt(W.APP_TEMPLATE_DATA, n, { signal: s });
5340
5343
  } catch (n) {
5341
- throw es(n) || Oe(n), n;
5344
+ throw bs(n) || Oe(n), n;
5342
5345
  }
5343
5346
  }, nT = async (e, s) => {
5344
5347
  try {
@@ -5354,7 +5357,7 @@ const hf = {
5354
5357
  areVariablesPresent: r
5355
5358
  };
5356
5359
  } catch (n) {
5357
- if (!es(n))
5360
+ if (!bs(n))
5358
5361
  throw Oe(n), n;
5359
5362
  return hf;
5360
5363
  }
@@ -5379,7 +5382,7 @@ const hf = {
5379
5382
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 lh-20 dc__no-shrink", children: "Application metrics" })
5380
5383
  ] }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center", children: [
5381
5384
  /* @__PURE__ */ t.jsx(vx, { parsingError: i, restoreLastSavedYAML: c, children: /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(
5382
- os,
5385
+ rs,
5383
5386
  {
5384
5387
  rootClassName: `mb-0 dc__align-items-center ${n.isAppMetricsSupported ? "" : "dc__disabled"}`,
5385
5388
  isChecked: o,
@@ -5404,7 +5407,7 @@ const hf = {
5404
5407
  {
5405
5408
  heading: "Application Metrics",
5406
5409
  infoText: "Capture and show key application metrics over time. (E.g. Status codes 2xx, 3xx, 5xx; throughput and latency).",
5407
- documentationLink: Ns.APP_METRICS,
5410
+ documentationLink: Es.APP_METRICS,
5408
5411
  documentationLinkText: "Learn more",
5409
5412
  dataTestid: "app-metrics-info",
5410
5413
  iconClassName: "dc__no-shrink icon-dim-16 fcn-6"
@@ -5412,10 +5415,10 @@ const hf = {
5412
5415
  )
5413
5416
  ] })
5414
5417
  ] }) : null;
5415
- var us = /* @__PURE__ */ ((e) => (e.VALUES = "values", e.INHERITED = "inherited", e.DRY_RUN = "dryRun", e))(us || {}), _f = /* @__PURE__ */ ((e) => (e.PUBLISHED = "published", e.COMPARE = "compare", e.EDIT_DRAFT = "editDraft", e))(_f || {}), gf = /* @__PURE__ */ ((e) => (e.PATCH = "patch", e.REPLACE = "replace", e))(gf || {}), xf = /* @__PURE__ */ ((e) => (e.DISCARD_DRAFT = "discardDraft", e.EDIT_HISTORY = "editHistory", e))(xf || {});
5418
+ var ds = /* @__PURE__ */ ((e) => (e.VALUES = "values", e.INHERITED = "inherited", e.DRY_RUN = "dryRun", e))(ds || {}), _f = /* @__PURE__ */ ((e) => (e.PUBLISHED = "published", e.COMPARE = "compare", e.EDIT_DRAFT = "editDraft", e))(_f || {}), gf = /* @__PURE__ */ ((e) => (e.PATCH = "patch", e.REPLACE = "replace", e))(gf || {}), xf = /* @__PURE__ */ ((e) => (e.DISCARD_DRAFT = "discardDraft", e.EDIT_HISTORY = "editHistory", e))(xf || {});
5416
5419
  const rT = {
5417
- BASE_DEPLOYMENT_TEMPLATE: [us.VALUES, us.DRY_RUN],
5418
- OVERRIDE: [us.INHERITED, us.VALUES, us.DRY_RUN]
5420
+ BASE_DEPLOYMENT_TEMPLATE: [ds.VALUES, ds.DRY_RUN],
5421
+ OVERRIDE: [ds.INHERITED, ds.VALUES, ds.DRY_RUN]
5419
5422
  }, oT = () => /* @__PURE__ */ t.jsxs("div", { className: "p-12 flexbox-col dc__gap-20", children: [
5420
5423
  /* @__PURE__ */ t.jsx("p", { className: "m-0 fs-13 lh-20 cn-9 fw-4", children: "Merge strategy determines how environment configurations are combined with inherited configurations configurations. Choose the strategy that best suits your needs:" }),
5421
5424
  /* @__PURE__ */ t.jsx("ul", { className: "pl-12 m-0-imp", children: /* @__PURE__ */ t.jsxs("li", { className: "m-0 fs-13 lh-20 cn-9 fw-4", children: [
@@ -6464,7 +6467,7 @@ const Yf = (e) => Gt(`${W.ATTRIBUTES_USER}/${W.UPDATE}`, e), Wf = ({ className:
6464
6467
  const { currentServerInfo: l } = hr(), i = l?.serverInfo?.installationType === $n.ENTERPRISE, c = `UheGN3KJ#source=${window.location.hostname}`, u = [
6465
6468
  {
6466
6469
  name: "View documentation",
6467
- link: cs,
6470
+ link: ls,
6468
6471
  icon: Kc,
6469
6472
  showSeparator: !0
6470
6473
  },
@@ -6982,7 +6985,7 @@ const Yf = (e) => Gt(`${W.ATTRIBUTES_USER}/${W.UPDATE}`, e), Wf = ({ className:
6982
6985
  ), p = te(() => u ? r?.(u) || u : [], [u, r]), _ = te(() => {
6983
6986
  const h = eh(s, p);
6984
6987
  return n ? h : h?.[0] || null;
6985
- }, [s, p, n]), g = () => d ? /* @__PURE__ */ t.jsx(rs, { withBorder: !0, reload: m }) : /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: Ya.NO_ENVIRONMENTS_AVAILABLE });
6988
+ }, [s, p, n]), g = () => d ? /* @__PURE__ */ t.jsx(as, { withBorder: !0, reload: m }) : /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: Ya.NO_ENVIRONMENTS_AVAILABLE });
6986
6989
  return /* @__PURE__ */ t.jsx(
6987
6990
  Jn,
6988
6991
  {
@@ -7053,7 +7056,7 @@ const Yf = (e) => Gt(`${W.ATTRIBUTES_USER}/${W.UPDATE}`, e), Wf = ({ className:
7053
7056
  var Wa = /* @__PURE__ */ ((e) => (e.GOT_IT = "Got it", e.VIEW_DOCUMENTATION = "View Documentation", e))(Wa || {});
7054
7057
  const to = (e) => {
7055
7058
  switch (e) {
7056
- case as.SMALL:
7059
+ case ns.SMALL:
7057
7060
  return { width: "100%", height: "200px" };
7058
7061
  default:
7059
7062
  return { width: "100%", height: "250px" };
@@ -7185,7 +7188,7 @@ const to = (e) => {
7185
7188
  style: { background: e.isFocused ? "var(--N100)" : "transparent" },
7186
7189
  children: [
7187
7190
  /* @__PURE__ */ t.jsx(
7188
- os,
7191
+ rs,
7189
7192
  {
7190
7193
  isChecked: e.isSelected || !1,
7191
7194
  onChange: l,
@@ -7347,7 +7350,7 @@ const ao = {
7347
7350
  progressing: 3,
7348
7351
  healthy: 4
7349
7352
  };
7350
- var _s = /* @__PURE__ */ ((e) => (e.SUCCESS = "Success", e.FAILURE = "Failure", e.PROGRESSING = "Progressing", e))(_s || {});
7353
+ var hs = /* @__PURE__ */ ((e) => (e.SUCCESS = "Success", e.FAILURE = "Failure", e.PROGRESSING = "Progressing", e))(hs || {});
7351
7354
  const _h = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled", "failed", "aborted"]), gh = /* @__PURE__ */ new Set(["starting", "running", "pending"]), ul = ({ callback: e, hasError: s }) => {
7352
7355
  const n = X(null), a = Sf(n, {
7353
7356
  rootMargin: "0px",
@@ -7355,7 +7358,7 @@ const _h = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
7355
7358
  });
7356
7359
  return O(() => {
7357
7360
  a && e();
7358
- }, [a]), s ? /* @__PURE__ */ t.jsx("div", { className: "p-24 flex", children: /* @__PURE__ */ t.jsx(rs, { reload: e }) }) : /* @__PURE__ */ t.jsx("span", { className: "pb-5", ref: n });
7361
+ }, [a]), s ? /* @__PURE__ */ t.jsx("div", { className: "p-24 flex", children: /* @__PURE__ */ t.jsx(as, { reload: e }) }) : /* @__PURE__ */ t.jsx("span", { className: "pb-5", ref: n });
7359
7362
  }, xh = ({
7360
7363
  appId: e,
7361
7364
  envId: s,
@@ -7415,7 +7418,7 @@ const _h = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
7415
7418
  case "success":
7416
7419
  return /* @__PURE__ */ t.jsx(Od, { className: "icon-dim-20 green-tick", "data-testid": "success-green-tick" });
7417
7420
  case "failed":
7418
- return /* @__PURE__ */ t.jsx(ns, { className: "icon-dim-20" });
7421
+ return /* @__PURE__ */ t.jsx(ss, { className: "icon-dim-20" });
7419
7422
  case "unknown":
7420
7423
  return /* @__PURE__ */ t.jsx(Is, { className: "icon-dim-20" });
7421
7424
  case "inprogress":
@@ -7433,9 +7436,9 @@ const _h = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
7433
7436
  }
7434
7437
  }, Nh = (e) => {
7435
7438
  switch (e) {
7436
- case _s.SUCCESS:
7439
+ case hs.SUCCESS:
7437
7440
  return /* @__PURE__ */ t.jsx(ea, { className: "dc__no-shrink icon-dim-16 scg-5" });
7438
- case _s.FAILURE:
7441
+ case hs.FAILURE:
7439
7442
  return /* @__PURE__ */ t.jsx(Je, { className: "dc__no-shrink icon-dim-16 fcr-5" });
7440
7443
  default:
7441
7444
  return /* @__PURE__ */ t.jsx(Si, { className: "dc__no-shrink icon-dim-16 ic-in-progress-orange" });
@@ -7570,7 +7573,7 @@ const _h = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
7570
7573
  children: m
7571
7574
  }
7572
7575
  ),
7573
- s !== lh && /* @__PURE__ */ t.jsx(Es, { className: "icon-dim-12 fcn-5" })
7576
+ s !== lh && /* @__PURE__ */ t.jsx(xs, { className: "icon-dim-12 fcn-5" })
7574
7577
  ] }),
7575
7578
  r && /* @__PURE__ */ t.jsx("span", { className: "dc__border-dashed--n3-bottom fw-6 fs-13 lh-19-imp", children: r })
7576
7579
  ]
@@ -8130,7 +8133,7 @@ function ho(e) {
8130
8133
  const Mh = (e, s) => {
8131
8134
  if (!e) return null;
8132
8135
  const n = e.trim().replace(/\.git$/, "").replace(/\/$/, "");
8133
- return n.includes(ps.GITLAB) ? `${n}/-/tree/${s}` : n.includes(ps.GITHUB) ? `${n}/tree/${s}` : n.includes(ps.BITBUCKET) ? `${n}/branch/${s}` : n.includes(ps.AZURE) ? `${n}/src/branch/${s}` : null;
8136
+ return n.includes(ms.GITLAB) ? `${n}/-/tree/${s}` : n.includes(ms.GITHUB) ? `${n}/tree/${s}` : n.includes(ms.BITBUCKET) ? `${n}/branch/${s}` : n.includes(ms.AZURE) ? `${n}/src/branch/${s}` : null;
8134
8137
  }, kh = async () => {
8135
8138
  const { result: e } = await ne(W.APP_LIST_MIN);
8136
8139
  return e ? e.map((s) => ({
@@ -8519,7 +8522,7 @@ const Mh = (e, s) => {
8519
8522
  "a",
8520
8523
  {
8521
8524
  className: "fs-13 fw-6 cb-5 dc__no-decor",
8522
- href: Ns.BLOB_STORAGE,
8525
+ href: Es.BLOB_STORAGE,
8523
8526
  target: "_blank",
8524
8527
  rel: "noreferrer",
8525
8528
  children: Se.ARTIFACTS_EMPTY_STATE_TEXTS.ConfigureBlobStorage
@@ -8822,7 +8825,7 @@ const KT = (e, s, n) => ne(`app/history/deployed-configuration/${e}/${s}/${n}`),
8822
8825
  "a",
8823
8826
  {
8824
8827
  className: "fs-13 fw-6 cb-5 dc__no-decor",
8825
- href: Ns.BLOB_STORAGE,
8828
+ href: Es.BLOB_STORAGE,
8826
8829
  target: "_blank",
8827
8830
  rel: "noreferrer",
8828
8831
  children: "Configure blob storage"
@@ -8893,7 +8896,7 @@ const KT = (e, s, n) => ne(`app/history/deployed-configuration/${e}/${s}/${n}`),
8893
8896
  }
8894
8897
  const L = (k, Y, oe, ee) => {
8895
8898
  const Ee = m.length === 0, w = Y ?? !0;
8896
- return ee ? oe || w : Ee ? k !== _s.SUCCESS || oe : w;
8899
+ return ee ? oe || w : Ee ? k !== hs.SUCCESS || oe : w;
8897
8900
  }, V = e.podStatus === ha.PENDING || !!(u && u.readyState <= 1), D = (k, Y) => {
8898
8901
  const oe = m.reduce(
8899
8902
  (y, U) => (y[U.stage] || (y[U.stage] = {}), y[U.stage][U.startTime] = U, y),
@@ -8912,7 +8915,7 @@ const KT = (e, s, n) => ne(`app/history/deployed-configuration/${e}/${s}/${n}`),
8912
8915
  !!Y
8913
8916
  );
8914
8917
  else {
8915
- const ut = V ? _s.PROGRESSING : _s.FAILURE;
8918
+ const ut = V ? hs.PROGRESSING : hs.FAILURE;
8916
8919
  y.push({
8917
8920
  stage: z || `Untitled stage ${M + 1}`,
8918
8921
  startTime: de || "",
@@ -9154,7 +9157,7 @@ const KT = (e, s, n) => ne(`app/history/deployed-configuration/${e}/${s}/${n}`),
9154
9157
  title: s || Se.CD_EMPTY_STATE.TITLE,
9155
9158
  subTitle: n || Se.CD_EMPTY_STATE.SUBTITLE,
9156
9159
  isButtonAvailable: !0,
9157
- imageType: as.Large,
9160
+ imageType: ns.Large,
9158
9161
  renderButton: u
9159
9162
  }
9160
9163
  ) });
@@ -9170,7 +9173,7 @@ const KT = (e, s, n) => ne(`app/history/deployed-configuration/${e}/${s}/${n}`),
9170
9173
  {
9171
9174
  className: `bcr-1 ${s === F.HELM_MANIFEST_PUSHED_TO_HELM_REPO ? "fs-13" : "flex left"} ${r ? "" : "er-2 br-4 bw-1"} p-8`,
9172
9175
  children: [
9173
- !r && /* @__PURE__ */ t.jsx(ns, { className: "icon-dim-20 mr-8" }),
9176
+ !r && /* @__PURE__ */ t.jsx(ss, { className: "icon-dim-20 mr-8" }),
9174
9177
  n,
9175
9178
  s === F.HELM_MANIFEST_PUSHED_TO_HELM_REPO && /* @__PURE__ */ t.jsxs("ol", { className: "m-0 pl-20", children: [
9176
9179
  /* @__PURE__ */ t.jsx("li", { children: "Ensure provided repository path is valid" }),
@@ -9890,7 +9893,7 @@ const h_ = ({
9890
9893
  h(!1);
9891
9894
  });
9892
9895
  };
9893
- O(() => (s === hs.HELM && u.replace(`${d.replace("deployment-steps", "source-code")}`), r && N(), () => {
9896
+ O(() => (s === fs.HELM && u.replace(`${d.replace("deployment-steps", "source-code")}`), r && N(), () => {
9894
9897
  b();
9895
9898
  }), [a]), O(() => {
9896
9899
  f.current = l;
@@ -10139,7 +10142,7 @@ const Nl = {
10139
10142
  const { value: N } = b.target;
10140
10143
  i?.activeTab !== N && i?.onClick?.(N);
10141
10144
  }, f = () => /* @__PURE__ */ t.jsxs("div", { className: "p-12 flexbox dc__align-items-center dc__gap-8 dc__border-bottom-n1", children: [
10142
- a && /* @__PURE__ */ t.jsx(ss, { to: a, children: /* @__PURE__ */ t.jsx("span", { className: "dc__border br-4 p-1 flex dc__hover-n50", children: /* @__PURE__ */ t.jsx(Je, { className: "icon-dim-16 fcn-6" }) }) }),
10145
+ a && /* @__PURE__ */ t.jsx(ts, { to: a, children: /* @__PURE__ */ t.jsx("span", { className: "dc__border br-4 p-1 flex dc__hover-n50", children: /* @__PURE__ */ t.jsx(Je, { className: "icon-dim-16 fcn-6" }) }) }),
10143
10146
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 lh-20 fw-6 cn-9 dc__truncate", children: r })
10144
10147
  ] }), x = () => {
10145
10148
  const { tabs: b, activeTab: N } = i;
@@ -10184,11 +10187,11 @@ const Nl = {
10184
10187
  }),
10185
10188
  /* @__PURE__ */ t.jsx(__, { config: _, tabType: "navLink", onCollapseBtnClick: g }),
10186
10189
  o && /* @__PURE__ */ t.jsxs("div", { className: "mt-8 py-6 px-8 flexbox dc__align-items-center dc__gap-8", children: [
10187
- /* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: l ? /* @__PURE__ */ t.jsx(or, { className: "icon-dim-16 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(Es, { className: "icon-dim-16 fcn-7 dc__no-shrink" }) }),
10190
+ /* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: l ? /* @__PURE__ */ t.jsx(or, { className: "icon-dim-16 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(xs, { className: "icon-dim-16 fcn-7 dc__no-shrink" }) }),
10188
10191
  /* @__PURE__ */ t.jsx("p", { className: `m-0 fs-12 lh-1-5 ${l ? "cr-5" : "cn-9"}`, children: o })
10189
10192
  ] })
10190
10193
  ] }), C = () => e ? ["90", "70", "50"].map((b) => /* @__PURE__ */ t.jsx(g_, { width: b }, b)) : c?.error ? /* @__PURE__ */ t.jsxs("div", { className: "mt-8 py-6 px-8 flexbox dc__align-items-center dc__gap-8", children: [
10191
- /* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: /* @__PURE__ */ t.jsx(Es, { className: "icon-dim-16 fcn-7" }) }),
10194
+ /* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: /* @__PURE__ */ t.jsx(xs, { className: "icon-dim-16 fcn-7" }) }),
10192
10195
  /* @__PURE__ */ t.jsx("p", { className: "m-0 fs-12 lh-1-5 cn-9", children: "Failed to load files. Please reload or select a different reference to compare with." })
10193
10196
  ] }) : E();
10194
10197
  return /* @__PURE__ */ t.jsxs("div", { className: "bcn-0 dc__border-right flexbox-col dc__overflow-hidden", children: [
@@ -10216,7 +10219,7 @@ const Nl = {
10216
10219
  }) => {
10217
10220
  const f = _ === "row", x = () => {
10218
10221
  switch (i) {
10219
- case as.Large:
10222
+ case ns.Large:
10220
10223
  return { width: "250px", height: "200px" };
10221
10224
  default:
10222
10225
  return { width: "200px", height: "160px" };
@@ -10321,7 +10324,7 @@ const Nl = {
10321
10324
  reloadClass: a,
10322
10325
  heightToDeduct: r,
10323
10326
  redirectURL: o,
10324
- imageType: l = as.Large
10327
+ imageType: l = ns.Large
10325
10328
  }) => (() => {
10326
10329
  switch (e) {
10327
10330
  case Te.BAD_REQUEST:
@@ -11013,7 +11016,7 @@ const Nl = {
11013
11016
  previousDeployments: []
11014
11017
  }
11015
11018
  ), Sl = (e, s) => e === s ? () => /* @__PURE__ */ t.jsx(
11016
- rs,
11019
+ as,
11017
11020
  {
11018
11021
  useInfoIcon: !0,
11019
11022
  title: "No diff in configurations",
@@ -11275,7 +11278,7 @@ const wo = () => ({
11275
11278
  });
11276
11279
  }
11277
11280
  return O(() => (window.addEventListener("resize", n, !1), () => window.removeEventListener("resize", n, !1)), []), e;
11278
- }, gs = 1, R_ = {
11281
+ }, _s = 1, R_ = {
11279
11282
  PAGE_SIZE: "pageSize",
11280
11283
  PAGE_NUMBER: "pageNumber",
11281
11284
  SEARCH_KEY: "searchKey",
@@ -11312,7 +11315,7 @@ const wo = () => ({
11312
11315
  const T = i.get(Oo), S = i.get(xa), j = i.get(Po), P = i.get(Mo), V = i.get(Do) || e || "", D = Object.values(ce).includes(P) ? P : ce.ASC, G = c(i);
11313
11316
  return {
11314
11317
  pageSize: Number(T) || ja,
11315
- pageNumber: Number(S) || gs,
11318
+ pageNumber: Number(S) || _s,
11316
11319
  searchKey: j || "",
11317
11320
  sortBy: V,
11318
11321
  // sort order should only be applied if the key is available
@@ -11322,8 +11325,8 @@ const wo = () => ({
11322
11325
  }, [i]), h = u * (d - 1), f = (T, S) => {
11323
11326
  i.set(T, String(S)), r.replace({ search: i.toString() });
11324
11327
  }, x = () => {
11325
- if (d !== gs) {
11326
- f(xa, gs);
11328
+ if (d !== _s) {
11329
+ f(xa, _s);
11327
11330
  return;
11328
11331
  }
11329
11332
  r.replace({ search: i.toString() });
@@ -11440,11 +11443,11 @@ const wo = () => ({
11440
11443
  sortBy: e
11441
11444
  }), [a, r] = A(""), { sortBy: o, sortOrder: l } = s, [i, c] = A({
11442
11445
  pageSize: ja,
11443
- pageNumber: gs
11446
+ pageNumber: _s
11444
11447
  }), u = i.pageSize * (i.pageNumber - 1), d = () => {
11445
11448
  c((f) => ({
11446
11449
  ...f,
11447
- pageNumber: gs
11450
+ pageNumber: _s
11448
11451
  }));
11449
11452
  };
11450
11453
  return {
@@ -11467,7 +11470,7 @@ const wo = () => ({
11467
11470
  sortBy: e
11468
11471
  }), c({
11469
11472
  pageSize: ja,
11470
- pageNumber: gs
11473
+ pageNumber: _s
11471
11474
  });
11472
11475
  },
11473
11476
  ...i,
@@ -12235,7 +12238,7 @@ const jt = ({
12235
12238
  }
12236
12239
  ) });
12237
12240
  };
12238
- var fs = /* @__PURE__ */ ((e) => (e.vsDarkDT = "vs-dark--dt", e.deleteDraft = "delete-draft", e.unpublished = "unpublished", e.vs = "vs", e.networkStatusInterface = "network-status-interface", e))(fs || {}), Z_ = /* @__PURE__ */ ((e) => (e.reInit = "reInit", e.submitLoading = "submitLoading", e.overrideLoading = "overrideLoading", e.success = "success", e))(Z_ || {});
12241
+ var ps = /* @__PURE__ */ ((e) => (e.vsDarkDT = "vs-dark--dt", e.deleteDraft = "delete-draft", e.unpublished = "unpublished", e.vs = "vs", e.networkStatusInterface = "network-status-interface", e))(ps || {}), Z_ = /* @__PURE__ */ ((e) => (e.reInit = "reInit", e.submitLoading = "submitLoading", e.overrideLoading = "overrideLoading", e.success = "success", e))(Z_ || {});
12239
12242
  const eg = (e, s) => {
12240
12243
  switch (s.type) {
12241
12244
  case "changeLanguage":
@@ -12259,12 +12262,12 @@ const eg = (e, s) => {
12259
12262
  noParsing: r
12260
12263
  }) => ({
12261
12264
  mode: e,
12262
- theme: s || fs.vs,
12265
+ theme: s || ps.vs,
12263
12266
  code: n,
12264
12267
  diffMode: a,
12265
- noParsing: [bs.JSON, bs.YAML].includes(e) ? r : !0
12268
+ noParsing: [Ns.JSON, Ns.YAML].includes(e) ? r : !0
12266
12269
  }), Ul = J.createContext(null);
12267
- function is() {
12270
+ function os() {
12268
12271
  const e = J.useContext(Ul);
12269
12272
  if (!e)
12270
12273
  throw new Error("cannot be rendered outside the component");
@@ -12273,7 +12276,7 @@ function is() {
12273
12276
  const sg = 100, yt = J.memo(
12274
12277
  ({
12275
12278
  value: e,
12276
- mode: s = bs.JSON,
12279
+ mode: s = Ns.JSON,
12277
12280
  noParsing: n = !1,
12278
12281
  defaultValue: a = "",
12279
12282
  children: r,
@@ -12302,7 +12305,7 @@ const sg = 100, yt = J.memo(
12302
12305
  const S = X(null), j = X(null), { width: P, height: L } = Il(), V = J.useCallback(eg, []), [D, G] = bc(V, tg({ mode: s, theme: _, value: e, diffView: p, noParsing: n })), [, ie, re, H] = Wo(D.code, o, D.mode, !D.noParsing), [, pe, Ce] = Wo(a, o, D.mode, !D.noParsing), [fe, Ae] = A(
12303
12306
  I ? sg : i
12304
12307
  ), k = X(d);
12305
- k.current = d, ys.defineTheme(fs.vsDarkDT, {
12308
+ k.current = d, ys.defineTheme(ps.vsDarkDT, {
12306
12309
  base: "vs-dark",
12307
12310
  inherit: !0,
12308
12311
  rules: [
@@ -12312,7 +12315,7 @@ const sg = 100, yt = J.memo(
12312
12315
  colors: {
12313
12316
  "editor.background": "#0B0F22"
12314
12317
  }
12315
- }), ys.defineTheme(fs.networkStatusInterface, {
12318
+ }), ys.defineTheme(ps.networkStatusInterface, {
12316
12319
  base: "vs-dark",
12317
12320
  inherit: !0,
12318
12321
  rules: [
@@ -12322,7 +12325,7 @@ const sg = 100, yt = J.memo(
12322
12325
  colors: {
12323
12326
  "editor.background": "#1A1A1A"
12324
12327
  }
12325
- }), ys.defineTheme(fs.deleteDraft, {
12328
+ }), ys.defineTheme(ps.deleteDraft, {
12326
12329
  base: "vs",
12327
12330
  inherit: !0,
12328
12331
  rules: [],
@@ -12330,7 +12333,7 @@ const sg = 100, yt = J.memo(
12330
12333
  "diffEditor.insertedTextBackground": "#ffd4d1",
12331
12334
  "diffEditor.removedTextBackground": "#ffffff33"
12332
12335
  }
12333
- }), ys.defineTheme(fs.unpublished, {
12336
+ }), ys.defineTheme(ps.unpublished, {
12334
12337
  base: "vs",
12335
12338
  inherit: !0,
12336
12339
  rules: [],
@@ -12348,7 +12351,7 @@ const sg = 100, yt = J.memo(
12348
12351
  };
12349
12352
  }, [T]);
12350
12353
  const Y = (M, z) => {
12351
- if (s === bs.YAML && M && typeof M.getModel == "function" && typeof M.getModel().updateOptions == "function" && M.getModel().updateOptions({ tabSize: 2 }), M && (typeof M.onDidFocusEditorWidget == "function" && typeof v == "function" && M.onDidFocusEditorWidget(v), typeof M.onDidBlurEditorWidget == "function" && typeof N == "function" && M.onDidBlurEditorWidget(N)), I && M) {
12354
+ if (s === Ns.YAML && M && typeof M.getModel == "function" && typeof M.getModel().updateOptions == "function" && M.getModel().updateOptions({ tabSize: 2 }), M && (typeof M.onDidFocusEditorWidget == "function" && typeof v == "function" && M.onDidFocusEditorWidget(v), typeof M.onDidBlurEditorWidget == "function" && typeof N == "function" && M.onDidBlurEditorWidget(N)), I && M) {
12352
12355
  if (!("getModifiedEditor" in M)) {
12353
12356
  M.onDidContentSizeChange(() => {
12354
12357
  Ae(M.getContentHeight());
@@ -12503,13 +12506,13 @@ const sg = 100, yt = J.memo(
12503
12506
  className: s,
12504
12507
  hideDefaultSplitHeader: n
12505
12508
  }) => {
12506
- const { defaultValue: a } = is();
12509
+ const { defaultValue: a } = os();
12507
12510
  return /* @__PURE__ */ t.jsxs("div", { className: s || "code-editor__header flex right", children: [
12508
12511
  e,
12509
12512
  !n && a && /* @__PURE__ */ t.jsx(ug, {})
12510
12513
  ] });
12511
12514
  }, ag = ({}) => {
12512
- const { readOnly: e, state: s, dispatch: n } = is();
12515
+ const { readOnly: e, state: s, dispatch: n } = os();
12513
12516
  function a(o) {
12514
12517
  n({ type: "setTheme", value: o.target.value });
12515
12518
  }
@@ -12520,7 +12523,7 @@ const sg = 100, yt = J.memo(
12520
12523
  r.map((o) => /* @__PURE__ */ t.jsx(Ct.Option, { name: o, value: o, children: /* @__PURE__ */ t.jsx("span", { className: "dc__ellipsis-right", children: o }) }, o))
12521
12524
  ] });
12522
12525
  }, rg = ({}) => {
12523
- const { readOnly: e, handleLanguageChange: s, state: n } = is();
12526
+ const { readOnly: e, handleLanguageChange: s, state: n } = os();
12524
12527
  return n.noParsing ? null : /* @__PURE__ */ t.jsx("div", { className: "code-editor__toggle flex left", children: /* @__PURE__ */ t.jsxs(
12525
12528
  Dt,
12526
12529
  {
@@ -12541,14 +12544,14 @@ const sg = 100, yt = J.memo(
12541
12544
  }
12542
12545
  ) });
12543
12546
  }, og = () => {
12544
- const { error: e } = is();
12547
+ const { error: e } = os();
12545
12548
  return e ? /* @__PURE__ */ t.jsx("div", { className: "form__error", children: e }) : null;
12546
12549
  }, ig = (e) => /* @__PURE__ */ t.jsxs("div", { className: `code-editor__warning ${e.className || ""}`, children: [
12547
12550
  /* @__PURE__ */ t.jsx(gi, { className: "code-editor__information-info-icon" }),
12548
12551
  e.text,
12549
12552
  e.children
12550
12553
  ] }), lg = (e) => /* @__PURE__ */ t.jsxs("div", { className: `code-editor__error ${e.className || ""}`, children: [
12551
- /* @__PURE__ */ t.jsx(ns, { className: "code-editor__information-info-icon" }),
12554
+ /* @__PURE__ */ t.jsx(ss, { className: "code-editor__information-info-icon" }),
12552
12555
  e.text,
12553
12556
  e.children
12554
12557
  ] }), cg = (e) => /* @__PURE__ */ t.jsxs("div", { className: `code-editor__information ${e.className || ""}`, children: [
@@ -12556,10 +12559,10 @@ const sg = 100, yt = J.memo(
12556
12559
  e.text,
12557
12560
  e.children
12558
12561
  ] }), dg = () => {
12559
- const { state: e } = is();
12562
+ const { state: e } = os();
12560
12563
  return /* @__PURE__ */ t.jsx(jt, { content: e.code, iconSize: 16 });
12561
12564
  }, ug = ({}) => {
12562
- const { state: e, dispatch: s, readOnly: n } = is();
12565
+ const { state: e, dispatch: s, readOnly: n } = os();
12563
12566
  function a(r) {
12564
12567
  n || s({ type: "setDiff", value: !e.diffMode });
12565
12568
  }
@@ -12568,7 +12571,7 @@ const sg = 100, yt = J.memo(
12568
12571
  e.diffMode ? "Hide comparison" : "Compare with default"
12569
12572
  ] });
12570
12573
  }, mg = ({ className: e = "", style: s = {}, customLoader: n }) => {
12571
- const { height: a } = is();
12574
+ const { height: a } = os();
12572
12575
  return n || /* @__PURE__ */ t.jsx("div", { className: `code-editor code-editor--placeholder disabled ${e}`, style: { ...s }, children: /* @__PURE__ */ t.jsx("div", { className: "flex", style: { height: a || "100%" }, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(Ie, { pageLoader: !0 }) }) }) });
12573
12576
  };
12574
12577
  yt.LanguageChanger = rg;
@@ -12619,7 +12622,7 @@ const pg = ({
12619
12622
  disableSearch: !0,
12620
12623
  readOnly: !0,
12621
12624
  noParsing: !0,
12622
- mode: bs.YAML,
12625
+ mode: Ns.YAML,
12623
12626
  theme: g()
12624
12627
  },
12625
12628
  i
@@ -12840,7 +12843,7 @@ const hg = ({
12840
12843
  ] }), v = () => {
12841
12844
  if (!u) return null;
12842
12845
  const I = d.eventactiontype === _g.MERGED;
12843
- return r.includes(ps.GITLAB) ? I ? N() : b() : I ? b() : N();
12846
+ return r.includes(ms.GITLAB) ? I ? N() : b() : I ? b() : N();
12844
12847
  };
12845
12848
  return /* @__PURE__ */ t.jsxs("div", { className: "git-commit-info-generic__wrapper cn-9 fs-12", children: [
12846
12849
  o && (u || c.commit) && /* @__PURE__ */ t.jsx(
@@ -13375,7 +13378,7 @@ const Eg = (e) => {
13375
13378
  )
13376
13379
  ] }, h.id) : null;
13377
13380
  }),
13378
- !g.includes("source-code") && /* @__PURE__ */ t.jsx(ss, { to: `${_}/source-code`, className: "anchor fs-13", "data-testid": "commit-details-link", children: "Commit details" })
13381
+ !g.includes("source-code") && /* @__PURE__ */ t.jsx(ts, { to: `${_}/source-code`, className: "anchor fs-13", "data-testid": "commit-details-link", children: "Commit details" })
13379
13382
  ] }),
13380
13383
  u && d && d(u),
13381
13384
  c && /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 pb-8", children: [
@@ -13529,7 +13532,7 @@ const Eg = (e) => {
13529
13532
  deploymentStatus: e.status,
13530
13533
  deploymentAppType: a,
13531
13534
  userApprovalMetadata: o,
13532
- isGitops: a === hs.GITOPS || a === hs.MANIFEST_DOWNLOAD || a === hs.MANIFEST_PUSH,
13535
+ isGitops: a === fs.GITOPS || a === fs.MANIFEST_DOWNLOAD || a === fs.MANIFEST_PUSH,
13533
13536
  isHelmApps: !1,
13534
13537
  isVirtualEnvironment: e.IsVirtualEnvironment,
13535
13538
  processVirtualEnvironmentDeploymentData: h,
@@ -13709,7 +13712,7 @@ const Eg = (e) => {
13709
13712
  }
13710
13713
  ),
13711
13714
  /* @__PURE__ */ t.jsxs("ul", { className: "pl-50 pr-20 pt-8 tab-list tab-list--nodes dc__border-bottom dc__position-sticky dc__top-0 bcn-0 dc__zi-3", children: [
13712
- L.stage === "DEPLOY" && r !== hs.HELM && /* @__PURE__ */ t.jsx("li", { className: "tab-list__tab", "data-testid": "deployment-history-steps-link", children: /* @__PURE__ */ t.jsx(
13715
+ L.stage === "DEPLOY" && r !== fs.HELM && /* @__PURE__ */ t.jsx("li", { className: "tab-list__tab", "data-testid": "deployment-history-steps-link", children: /* @__PURE__ */ t.jsx(
13713
13716
  ze,
13714
13717
  {
13715
13718
  replace: !0,
@@ -14301,7 +14304,7 @@ const Eg = (e) => {
14301
14304
  }, p = () => {
14302
14305
  u(!0);
14303
14306
  };
14304
- return c ? /* @__PURE__ */ t.jsx(rs, { description: "Please try again later" }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
14307
+ return c ? /* @__PURE__ */ t.jsx(as, { description: "Please try again later" }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
14305
14308
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4", children: [
14306
14309
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__content-space dc__gap-4", children: [
14307
14310
  /* @__PURE__ */ t.jsx("h3", { className: "m-0 fs-12 cn-7 fw-6 dc__truncate", children: a }),
@@ -14480,7 +14483,7 @@ const cS = {
14480
14483
  pluginStore: Vl(i?.parentPlugins)
14481
14484
  };
14482
14485
  } catch (l) {
14483
- throw r && !es(l) && Oe(l), l;
14486
+ throw r && !bs(l) && Oe(l), l;
14484
14487
  }
14485
14488
  }, Gl = async ({
14486
14489
  searchKey: e,
@@ -14505,7 +14508,7 @@ const cS = {
14505
14508
  parentPluginIdList: l?.parentPlugins?.map((c) => c.id) || []
14506
14509
  };
14507
14510
  } catch (o) {
14508
- throw es(o) || Oe(o), o;
14511
+ throw bs(o) || Oe(o), o;
14509
14512
  }
14510
14513
  }, Qg = async (e) => {
14511
14514
  try {
@@ -14546,7 +14549,7 @@ const cS = {
14546
14549
  c(!0);
14547
14550
  }, g = () => {
14548
14551
  c(!1), d(l());
14549
- }, h = () => r ? /* @__PURE__ */ t.jsx(rs, { reload: o }) : /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: "No tags found" }), f = ye(
14552
+ }, h = () => r ? /* @__PURE__ */ t.jsx(as, { reload: o }) : /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: "No tags found" }), f = ye(
14550
14553
  (E) => {
14551
14554
  const C = E.getValue() || [], b = () => {
14552
14555
  g(), s(C.map((N) => N.value));
@@ -14620,7 +14623,7 @@ const cS = {
14620
14623
  onKeyDown: g,
14621
14624
  children: [
14622
14625
  e && /* @__PURE__ */ t.jsx("div", { className: `dc__no-shrink icon-dim-40 p-8 ${r ? "" : "dc__visible-hover--child"}`, children: /* @__PURE__ */ t.jsx(
14623
- os,
14626
+ rs,
14624
14627
  {
14625
14628
  isChecked: r,
14626
14629
  onChange: g,
@@ -14743,7 +14746,7 @@ const cS = {
14743
14746
  )),
14744
14747
  _ && /* @__PURE__ */ t.jsx(Hl, {}),
14745
14748
  n > s.length && !_ && /* @__PURE__ */ t.jsx(ul, { callback: x, hasError: h })
14746
- ] }) : o || r.length ? /* @__PURE__ */ t.jsx(zx, { handleClearFilters: u, imageType: as.Large }) : /* @__PURE__ */ t.jsx(Ye, { title: "No plugins found", subTitle: "We are unable to locate any plugin in our system" });
14749
+ ] }) : o || r.length ? /* @__PURE__ */ t.jsx(zx, { handleClearFilters: u, imageType: ns.Large }) : /* @__PURE__ */ t.jsx(Ye, { title: "No plugins found", subTitle: "We are unable to locate any plugin in our system" });
14747
14750
  }, mS = ({
14748
14751
  availableTags: e,
14749
14752
  handleUpdateAvailableTags: s,
@@ -14812,7 +14815,7 @@ const cS = {
14812
14815
  }), T(Pe);
14813
14816
  };
14814
14817
  O(() => {
14815
- !(D || es(ie)) && !ie && G && Ae(G);
14818
+ !(D || bs(ie)) && !ie && G && Ae(G);
14816
14819
  }, [D, G, ie]);
14817
14820
  const k = () => {
14818
14821
  i && T([]);
@@ -14881,7 +14884,7 @@ const cS = {
14881
14884
  /* @__PURE__ */ t.jsx(
14882
14885
  $i,
14883
14886
  {
14884
- isLoading: D || es(ie),
14887
+ isLoading: D || bs(ie),
14885
14888
  customLoader: /* @__PURE__ */ t.jsx(Hl, {}),
14886
14889
  error: ie,
14887
14890
  errorScreenManagerProps: {
@@ -14938,7 +14941,7 @@ const cS = {
14938
14941
  const { headers: h, rows: f } = e, x = h[0].key, E = h[1].key, [C, b] = A(f), [N, v] = A(!1), I = c || i, T = !c && !i || !!C.length, S = !C[0]?.data[x].value && !C[0]?.data[E].value, j = C.length === 1 && S, { sortBy: P, sortOrder: L, handleSorting: V } = M_({
14939
14942
  initialSortKey: n ? x : null
14940
14943
  }), D = X(), G = X();
14941
- D.current || (D.current = C.reduce((w, y) => ({ ...w, [y.id]: ls() }), {})), G.current || (G.current = C.reduce((w, y) => ({ ...w, [y.id]: ls() }), {}));
14944
+ D.current || (D.current = C.reduce((w, y) => ({ ...w, [y.id]: is() }), {})), G.current || (G.current = C.reduce((w, y) => ({ ...w, [y.id]: is() }), {}));
14942
14945
  const ie = te(
14943
14946
  () => C.reduce(
14944
14947
  (w, y) => {
@@ -14994,10 +14997,10 @@ const cS = {
14994
14997
  const w = pe(), y = [w, ...C], { id: U } = w;
14995
14998
  p?.(!H(y)), v(!0), b(y), D.current = {
14996
14999
  ...D.current || {},
14997
- [U]: ls()
15000
+ [U]: is()
14998
15001
  }, G.current = {
14999
15002
  ...G.current || {},
15000
- [U]: ls()
15003
+ [U]: is()
15001
15004
  };
15002
15005
  };
15003
15006
  O(() => {
@@ -15022,9 +15025,9 @@ const cS = {
15022
15025
  if (y.length === 0 && !i) {
15023
15026
  const U = pe(), { id: M } = U;
15024
15027
  v(!0), p?.(!H([U])), b([U]), D.current = {
15025
- [M]: ls()
15028
+ [M]: is()
15026
15029
  }, G.current = {
15027
- [M]: ls()
15030
+ [M]: is()
15028
15031
  }, o?.(w.id);
15029
15032
  return;
15030
15033
  }
@@ -15196,7 +15199,7 @@ const cS = {
15196
15199
  showError: s,
15197
15200
  showWarning: n,
15198
15201
  className: a
15199
- }) => s ? /* @__PURE__ */ t.jsx(ns, { className: a }) : n ? /* @__PURE__ */ t.jsx(Tt, { className: `${a} warning-icon-y7` }) : e ? /* @__PURE__ */ t.jsx(e, { className: `${a} tab-group__tab__icon` }) : null, ux = (e, s) => e !== null && /* @__PURE__ */ t.jsx("div", { className: `tab-group__tab__badge bcn-1 cn-7 fw-6 flex px-4 ${s}`, children: e }), mx = (e) => e && /* @__PURE__ */ t.jsx("span", { className: "tab-group__tab__indicator bcr-5 mt-4 dc__align-self-start" }), px = (e) => e && /* @__PURE__ */ t.jsx("ul", { className: "tab-group__tab__description m-0 p-0 fs-12 lh-16 fw-4 cn-7 flexbox dc__align-items-center dc__gap-4", children: Array.isArray(e) ? e.map((s, n) => /* @__PURE__ */ t.jsxs("li", { className: "flex dc__gap-4", children: [
15202
+ }) => s ? /* @__PURE__ */ t.jsx(ss, { className: a }) : n ? /* @__PURE__ */ t.jsx(Tt, { className: `${a} warning-icon-y7` }) : e ? /* @__PURE__ */ t.jsx(e, { className: `${a} tab-group__tab__icon` }) : null, ux = (e, s) => e !== null && /* @__PURE__ */ t.jsx("div", { className: `tab-group__tab__badge bcn-1 cn-7 fw-6 flex px-4 ${s}`, children: e }), mx = (e) => e && /* @__PURE__ */ t.jsx("span", { className: "tab-group__tab__indicator bcr-5 mt-4 dc__align-self-start" }), px = (e) => e && /* @__PURE__ */ t.jsx("ul", { className: "tab-group__tab__description m-0 p-0 fs-12 lh-16 fw-4 cn-7 flexbox dc__align-items-center dc__gap-4", children: Array.isArray(e) ? e.map((s, n) => /* @__PURE__ */ t.jsxs("li", { className: "flex dc__gap-4", children: [
15200
15203
  !!n && /* @__PURE__ */ t.jsx("span", { className: "dc__bullet" }),
15201
15204
  s
15202
15205
  ] }, s)) : e }), fx = ({
@@ -15235,7 +15238,7 @@ const cS = {
15235
15238
  switch (n) {
15236
15239
  case "link":
15237
15240
  return /* @__PURE__ */ t.jsx(
15238
- ss,
15241
+ ts,
15239
15242
  {
15240
15243
  className: `${f} dc__no-decor flexbox-col ${p ? "cursor-not-allowed" : ""}`,
15241
15244
  "aria-disabled": p,
@@ -15790,7 +15793,7 @@ function Oe(e, s = !0, n = !1) {
15790
15793
  variant: be.error,
15791
15794
  description: a || r
15792
15795
  });
15793
- }) : (e.code !== 403 && e.code !== 408 && !es(e) && ei(e), s && (e.message ? Ue.showToast({
15796
+ }) : (e.code !== 403 && e.code !== 408 && ei(e), s && (e.message ? Ue.showToast({
15794
15797
  variant: be.error,
15795
15798
  description: e.message
15796
15799
  }) : Ue.showToast({
@@ -16398,7 +16401,7 @@ const sc = ({
16398
16401
  {
16399
16402
  condition: !!o.to,
16400
16403
  wrap: (i) => /* @__PURE__ */ t.jsx(
16401
- ss,
16404
+ ts,
16402
16405
  {
16403
16406
  className: `${a === o.to ? "active" : ""} ${n} ${o.className || ""}`,
16404
16407
  to: o.to,
@@ -16467,7 +16470,7 @@ function Vx({ isCreateApp: e }) {
16467
16470
  showCloseButton: !0,
16468
16471
  trigger: "click",
16469
16472
  interactive: !0,
16470
- documentationLink: e ? Ns.APP_TAGS : Ns.APP_OVERVIEW_TAGS,
16473
+ documentationLink: e ? Es.APP_TAGS : Es.APP_OVERVIEW_TAGS,
16471
16474
  documentationLinkText: "View Documentation",
16472
16475
  children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox cursor", children: [
16473
16476
  /* @__PURE__ */ t.jsx(vn, { className: "icon-dim-16 mt-2 mr-4" }),
@@ -16600,7 +16603,7 @@ const Jo = ({
16600
16603
  /* @__PURE__ */ t.jsx("span", { children: j })
16601
16604
  ] }, j)),
16602
16605
  o === At.KEY && /* @__PURE__ */ t.jsxs("div", { className: "flexbox pr-4 pl-4", children: [
16603
- /* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(Es, { className: "icon-dim-14 mt-3 mr-4" }) }),
16606
+ /* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(xs, { className: "icon-dim-14 mt-3 mr-4" }) }),
16604
16607
  /* @__PURE__ */ t.jsx("span", { className: "dc__italic-font-style", children: "Key format: prefix/name or name" })
16605
16608
  ] })
16606
16609
  ] });
@@ -16938,7 +16941,7 @@ const oc = ({
16938
16941
  hideIcon: p = !1
16939
16942
  }) => {
16940
16943
  const _ = () => l ? i ? d ? /* @__PURE__ */ t.jsx(
16941
- ss,
16944
+ ts,
16942
16945
  {
16943
16946
  to: i,
16944
16947
  onClick: c,
@@ -17449,7 +17452,7 @@ const nv = ({
17449
17452
  {
17450
17453
  className: `br-4 en-2 bw-1 mr-8 bcn-0 pt-2 pr-8 pb-2 pl-8 tag-class dc__word-break-all flex ${n ? "icon-hover" : ""} ${_()}`,
17451
17454
  children: [
17452
- c ? /* @__PURE__ */ t.jsx(ns, { className: "icon-dim-12 mr-4" }) : /* @__PURE__ */ t.jsx(
17455
+ c ? /* @__PURE__ */ t.jsx(ss, { className: "icon-dim-12 mr-4" }) : /* @__PURE__ */ t.jsx(
17453
17456
  Q,
17454
17457
  {
17455
17458
  className: "default-tt",
@@ -18038,7 +18041,7 @@ const Xo = 5, dE = [
18038
18041
  }
18039
18042
  );
18040
18043
  };
18041
- var ms = /* @__PURE__ */ ((e) => (e.WRITE = "write", e.PREVIEW = "preview", e))(ms || {});
18044
+ var us = /* @__PURE__ */ ((e) => (e.WRITE = "write", e.PREVIEW = "preview", e))(us || {});
18042
18045
  const hE = `
18043
18046
  <br>
18044
18047
  Nothing to preview
@@ -18080,7 +18083,7 @@ const mt = {
18080
18083
  title: l,
18081
18084
  minEditorHeight: i = 300
18082
18085
  }) => {
18083
- const [c, u] = A(!1), [d, m] = A(a), [p, _] = A(e), [g, h] = A(ms.WRITE), f = !Yn(e, p), x = X(null);
18086
+ const [c, u] = A(!1), [d, m] = A(a), [p, _] = A(e), [g, h] = A(us.WRITE), f = !Yn(e, p), x = X(null);
18084
18087
  O(() => {
18085
18088
  _(e);
18086
18089
  }, [e]);
@@ -18092,7 +18095,7 @@ const mt = {
18092
18095
  }), S = !1), S;
18093
18096
  }, N = () => {
18094
18097
  let T = !0;
18095
- f && !d && (T = window.confirm(xE)), T && (_(e), m(!d), h(ms.WRITE));
18098
+ f && !d && (T = window.confirm(xE)), T && (_(e), m(!d), h(us.WRITE));
18096
18099
  }, v = async () => {
18097
18100
  const T = p.trim();
18098
18101
  if (b(T))
@@ -18293,10 +18296,10 @@ const mt = {
18293
18296
  ),
18294
18297
  childProps: {
18295
18298
  writeButton: {
18296
- className: `tab-list__tab pointer fs-13 ${g === ms.WRITE && "cb-5 fw-6 active active-tab"}`
18299
+ className: `tab-list__tab pointer fs-13 ${g === us.WRITE && "cb-5 fw-6 active active-tab"}`
18297
18300
  },
18298
18301
  previewButton: {
18299
- className: `tab-list__tab pointer fs-13 ${g === ms.PREVIEW && "cb-5 fw-6 active active-tab"}`
18302
+ className: `tab-list__tab pointer fs-13 ${g === us.PREVIEW && "cb-5 fw-6 active active-tab"}`
18300
18303
  },
18301
18304
  textArea: {
18302
18305
  tabIndex: r
@@ -18304,7 +18307,7 @@ const mt = {
18304
18307
  }
18305
18308
  }
18306
18309
  ),
18307
- g === ms.WRITE && /* @__PURE__ */ t.jsx("div", { className: "form cluster__description-footer pt-12 pb-12", children: /* @__PURE__ */ t.jsxs("div", { className: "form__buttons pl-16 pr-16", children: [
18310
+ g === us.WRITE && /* @__PURE__ */ t.jsx("div", { className: "form cluster__description-footer pt-12 pb-12", children: /* @__PURE__ */ t.jsxs("div", { className: "form__buttons pl-16 pr-16", children: [
18308
18311
  /* @__PURE__ */ t.jsx(
18309
18312
  "button",
18310
18313
  {
@@ -18389,7 +18392,7 @@ function hv({
18389
18392
  arrow: !1,
18390
18393
  placement: "top",
18391
18394
  content: "To fetch app status for GitOps based deployments open the app detail page",
18392
- children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(Es, { className: "icon-dim-16 fcn-6" }) })
18395
+ children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(xs, { className: "icon-dim-16 fcn-6" }) })
18393
18396
  }
18394
18397
  );
18395
18398
  return r ? _ || a ? /* @__PURE__ */ t.jsx(Q, { className: "default-tt", arrow: !1, placement: "top", content: m, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: g() }) }) : g() : /* @__PURE__ */ t.jsxs("div", { className: "flex left", children: [
@@ -18411,7 +18414,7 @@ export {
18411
18414
  pC as J,
18412
18415
  At as K,
18413
18416
  fC as L,
18414
- bs as M,
18417
+ Ns as M,
18415
18418
  Eu as N,
18416
18419
  Nu as O,
18417
18420
  $e as P,
@@ -18447,7 +18450,7 @@ export {
18447
18450
  ne as aG,
18448
18451
  wi as aH,
18449
18452
  Ri as aI,
18450
- es as aJ,
18453
+ bs as aJ,
18451
18454
  Oe as aK,
18452
18455
  dt as aL,
18453
18456
  Ix as aM,
@@ -18472,13 +18475,13 @@ export {
18472
18475
  NC as ae,
18473
18476
  yr as af,
18474
18477
  Lr as ag,
18475
- ps as ah,
18478
+ ms as ah,
18476
18479
  bC as ai,
18477
18480
  Iu as aj,
18478
18481
  ht as ak,
18479
18482
  ta as al,
18480
18483
  qe as am,
18481
- as as an,
18484
+ ns as an,
18482
18485
  Ms as ao,
18483
18486
  wa as ap,
18484
18487
  sa as aq,
@@ -18488,7 +18491,7 @@ export {
18488
18491
  Ra as au,
18489
18492
  yu as av,
18490
18493
  Li as aw,
18491
- hs as ax,
18494
+ fs as ax,
18492
18495
  Lu as ay,
18493
18496
  In as az,
18494
18497
  Ux as b,
@@ -18578,10 +18581,10 @@ export {
18578
18581
  pv as cH,
18579
18582
  Qo as cI,
18580
18583
  fv as cJ,
18581
- ms as cK,
18584
+ us as cK,
18582
18585
  zi as cL,
18583
18586
  yt as cM,
18584
- fs as cN,
18587
+ ps as cN,
18585
18588
  Z_ as cO,
18586
18589
  hv as cP,
18587
18590
  NE as cQ,
@@ -18597,7 +18600,7 @@ export {
18597
18600
  qC as c_,
18598
18601
  ho as ca,
18599
18602
  Mh as cb,
18600
- os as cc,
18603
+ rs as cc,
18601
18604
  ic as cd,
18602
18605
  km as ce,
18603
18606
  UC as cf,
@@ -18624,7 +18627,7 @@ export {
18624
18627
  Yn as d,
18625
18628
  ws as d$,
18626
18629
  R as d0,
18627
- ts as d1,
18630
+ es as d1,
18628
18631
  jn as d2,
18629
18632
  Kt as d3,
18630
18633
  GC as d4,
@@ -18637,7 +18640,7 @@ export {
18637
18640
  ff as dB,
18638
18641
  sT as dC,
18639
18642
  nT as dD,
18640
- us as dE,
18643
+ ds as dE,
18641
18644
  _f as dF,
18642
18645
  gf as dG,
18643
18646
  xf as dH,
@@ -18701,7 +18704,7 @@ export {
18701
18704
  et as eB,
18702
18705
  qs as eC,
18703
18706
  ao as eD,
18704
- _s as eE,
18707
+ hs as eE,
18705
18708
  _h as eF,
18706
18709
  gh as eG,
18707
18710
  Yh as eH,
@@ -18724,7 +18727,7 @@ export {
18724
18727
  xg as eY,
18725
18728
  xh as eZ,
18726
18729
  Eh as e_,
18727
- rs as ea,
18730
+ as as ea,
18728
18731
  ET as eb,
18729
18732
  Gs as ec,
18730
18733
  on as ed,
@@ -18931,7 +18934,7 @@ export {
18931
18934
  Da as hj,
18932
18935
  Mu as hk,
18933
18936
  Ws as hl,
18934
- ds as hm,
18937
+ cs as hm,
18935
18938
  ku as hn,
18936
18939
  Uu as ho,
18937
18940
  Bu as hp,
@@ -18999,10 +19002,10 @@ export {
18999
19002
  ov as k,
19000
19003
  Ct as l,
19001
19004
  lv as m,
19002
- cs as n,
19005
+ ls as n,
19003
19006
  Ls as o,
19004
19007
  ir as p,
19005
- Ns as q,
19008
+ Es as q,
19006
19009
  Pn as r,
19007
19010
  W as s,
19008
19011
  gu as t,