@devtron-labs/devtron-fe-common-lib 1.19.4-pre-2 → 1.19.4-pre-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,13 +6,13 @@ var gf = (e, s, n) => s in e ? hf(e, s, { enumerable: !0, configurable: !0, writ
6
6
  var ue = (e, s, n) => gf(e, typeof s != "symbol" ? s + "" : s, n), qc = (e, s, n) => s.has(e) || zc("Cannot " + n);
7
7
  var qs = (e, s, n) => (qc(e, s, "read from private field"), n ? n.call(e) : s.get(e)), Va = (e, s, n) => s.has(e) ? zc("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), Ga = (e, s, n, a) => (qc(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
8
8
  import { j as t, i as Re, Q as Ha, k as xf, F as Ef, n as Cf, D as Er, t as qe, g as Nf, a as bf, E as na, S as Yi, b as Au, r as Iu, s as Tf, o as Sf, c as Xc, d as vf, e as Af, y as If, l as Cr, f as Rf, h as yf, m as Jc, p as Zc, q as jf, u as Of, v as wf, w as Lf, x as Df, z as Pf, A as Mf, B as Ru, T as Qc, C as Wi, G as kf, H as el, I as Uf, J as $f, K as yu, L as tl, M as Ff, N as Bf, O as Vf, P as Gf, R as sl, V as Hf, U as Yf, W as Wf, X as nl, Y as Kf, Z as al, _ as rl, $ as zf, a0 as qf, a1 as Xf, a2 as Jf, a3 as Zf, a4 as Qf, a5 as eh, a6 as Ao, a7 as th, a8 as sh, a9 as nh, aa as ah, ab as rh, ac as ju, ad as Nr, ae as oh, af as ih, ag as ch, ah as lh, ai as dh, aj as uh, ak as mh, al as ph, am as _h, an as fh, ao as hh, ap as gh, aq as xh, ar as Eh, as as Ch, at as Nh, au as bh, av as Th, aw as ol, ax as il, ay as Sh, az as vh, aA as Ah, aB as Ih, aC as Rh, aD as yh, aE as jh, aF as Oh, aG as Ou, aH as wu, aI as wh, aJ as Lh, aK as Dh, aL as Ph, aM as Mh, aN as kh, aO as Uh, aP as $h, aQ as Fh, aR as Bh, aS as Vh, aT as Js } from "./@vendor-DMIFbFhR.js";
9
- import Ge, { createContext as Mt, useContext as ss, useMemo as X, useState as w, useEffect as P, forwardRef as Kr, createElement as Ki, Children as Qo, useRef as F, useCallback as Ye, useLayoutEffect as zi, createRef as br, cloneElement as aa, Fragment as hs, memo as It, Component as qi } from "react";
9
+ import He, { createContext as Mt, useContext as ss, useMemo as X, useState as w, useEffect as P, forwardRef as Kr, createElement as Ki, Children as Qo, useRef as F, useCallback as Ge, useLayoutEffect as zi, createRef as br, cloneElement as aa, Fragment as hs, memo as It, Component as qi } from "react";
10
10
  import { ReactComponent as Gh } from "./assets/ic-info-filled-override.99e8094a.svg";
11
11
  import * as Hh from "yaml";
12
12
  import Qt, { parse as Yh, YAMLParseError as Wh } from "yaml";
13
13
  import { ReactComponent as Xi } from "./assets/ic-info-outline.29f1089c.svg";
14
14
  import { ReactComponent as Kh } from "./assets/ic-var-initial.afdaa854.svg";
15
- import { Link as ns, useLocation as as, useHistory as zr, useParams as kt, useRouteMatch as Ns, NavLink as Hs, generatePath as sn, Switch as Lu, Route as en, Redirect as zh, Prompt as qh } from "react-router-dom";
15
+ import { Link as ns, useLocation as as, useHistory as zr, useParams as kt, useRouteMatch as Ns, NavLink as Gs, generatePath as sn, Switch as Lu, Route as en, Redirect as zh, Prompt as qh } from "react-router-dom";
16
16
  import { ReactComponent as Xh } from "./assets/ic-delete-interactive.304dd293.svg";
17
17
  import { ReactComponent as Du } from "./assets/ic-visibility-off.d91d3844.svg";
18
18
  import { ReactComponent as Pu } from "./assets/ic-visibility-on.7505dd12.svg";
@@ -25,7 +25,7 @@ import { ReactComponent as Uu } from "./assets/ic-memory.c3264de1.svg";
25
25
  import gs from "react-ga4";
26
26
  import { h as we } from "./@moment-CGWt8tF2.js";
27
27
  import Zh from "./assets/DeployAudio.566e45df.mp3";
28
- import { m as Fe, A as cn, a as ra, u as oa, b as Ls, c as cl, d as Qh } from "./@framer-motion-D-YaCAW-.js";
28
+ import { m as Fe, A as cn, a as ra, u as oa, b as ws, c as cl, d as Qh } from "./@framer-motion-D-YaCAW-.js";
29
29
  import Ji, { components as Je } from "react-select";
30
30
  import { ReactComponent as eg } from "./assets/ic-arrow-backward.d951202a.svg";
31
31
  import { ReactComponent as $u } from "./assets/ic-docker.48906f4d.svg";
@@ -95,7 +95,7 @@ import { ReactComponent as em } from "./assets/ic-world.1f6a5eaf.svg";
95
95
  import { r as tm, C as yg, a as jg } from "./@react-dates-Bo3yT8LF.js";
96
96
  import { ReactComponent as sc } from "./assets/ic-clock.c21a2d14.svg";
97
97
  import Og from "./assets/ic-calender-blank.963e3423.svg";
98
- import wg, { ReactComponent as Ys } from "./assets/ic-cross.01e03666.svg";
98
+ import wg, { ReactComponent as Hs } from "./assets/ic-cross.01e03666.svg";
99
99
  import { ReactComponent as Qn } from "./assets/inject-tag.28e72db6.svg";
100
100
  import { ReactComponent as eo } from "./assets/ic-pencil.c75a6acc.svg";
101
101
  import { ReactComponent as sm } from "./assets/ic-filter.8f403d6f.svg";
@@ -404,12 +404,12 @@ import { ReactComponent as Wb } from "./assets/ic-medium-clean-brush.f683d4d6.sv
404
404
  import { ReactComponent as Kb } from "./assets/ic-medium-pause.7449078a.svg";
405
405
  import { ReactComponent as zb } from "./assets/ic-medium-play.f7a8ddb7.svg";
406
406
  import { ReactComponent as qb } from "./assets/ic-locked.dab69058.svg";
407
- var va = /* @__PURE__ */ ((e) => (e.black = "black", e.white = "white", e))(va || {}), St = /* @__PURE__ */ ((e) => (e.CHECKED = "CHECKED", e.INTERMEDIATE = "INTERMEDIATE", e.BULK_CHECKED = "BULK_CHECKED", e))(St || {}), Ws = /* @__PURE__ */ ((e) => (e.Large = "large", e.Medium = "medium", e.SMALL = "small", e))(Ws || {});
407
+ var va = /* @__PURE__ */ ((e) => (e.black = "black", e.white = "white", e))(va || {}), St = /* @__PURE__ */ ((e) => (e.CHECKED = "CHECKED", e.INTERMEDIATE = "INTERMEDIATE", e.BULK_CHECKED = "BULK_CHECKED", e))(St || {}), Ys = /* @__PURE__ */ ((e) => (e.Large = "large", e.Medium = "medium", e.SMALL = "small", e))(Ys || {});
408
408
  const zn = {
409
409
  Security: "SECURITY",
410
410
  Changes: "CHANGES"
411
411
  };
412
- var jt = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(jt || {}), hm = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(hm || {}), Xb = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(Xb || {}), gm = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(gm || {}), ea = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(ea || {}), Jb = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(Jb || {}), Zb = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(Zb || {}), oi = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(oi || {}), Qb = /* @__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))(Qb || {}), xm = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(xm || {}), eT = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(eT || {}), vt = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.ARGO = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux_cd", e))(vt || {}), tT = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(tT || {}), Cn = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(Cn || {}), Ms = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(Ms || {}), la = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(la || {}), ii = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(ii || {}), sT = /* @__PURE__ */ ((e) => (e.MANAGER = "manager", e.ADMIN = "admin", e.TRIGGER = "trigger", e.VIEW = "view", e.UPDATE = "update", e.EDIT = "edit", e.APPROVER = "approver", e))(sT || {});
412
+ var jt = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(jt || {}), hm = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(hm || {}), Xb = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(Xb || {}), gm = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(gm || {}), ea = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(ea || {}), Jb = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(Jb || {}), Zb = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(Zb || {}), oi = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(oi || {}), Qb = /* @__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))(Qb || {}), xm = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(xm || {}), eT = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(eT || {}), vt = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.ARGO = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux_cd", e))(vt || {}), tT = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(tT || {}), Cn = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(Cn || {}), Ps = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(Ps || {}), la = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(la || {}), ii = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(ii || {}), sT = /* @__PURE__ */ ((e) => (e.MANAGER = "manager", e.ADMIN = "admin", e.TRIGGER = "trigger", e.VIEW = "view", e.UPDATE = "update", e.EDIT = "edit", e.APPROVER = "approver", e))(sT || {});
413
413
  const nT = ({ tooltipContent: e }) => e ? /* @__PURE__ */ t.jsxs("div", { className: "dc__white-space-pre-wrap", children: [
414
414
  /* @__PURE__ */ t.jsx("p", { className: "m-0 fs-12 fw-6 lh-18", children: "Click to add" }),
415
415
  e
@@ -463,7 +463,7 @@ function wV({
463
463
  }
464
464
  ) : null;
465
465
  }
466
- const aT = ({ startNode: e }) => e.type === Ms.WEBHOOK ? Cn.WEBHOOK : e.type === Ms.CI ? Cn.CI_PIPELINE : Cn.CD_PIPELINE, LV = ({
466
+ const aT = ({ startNode: e }) => e.type === Ps.WEBHOOK ? Cn.WEBHOOK : e.type === Ps.CI ? Cn.CI_PIPELINE : Cn.CD_PIPELINE, LV = ({
467
467
  position: e,
468
468
  handleCDSelect: s,
469
469
  startNode: n,
@@ -500,7 +500,7 @@ const rT = 6e4, Tr = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Aa = "htt
500
500
  ALPHANUMERIC_WITH_SPECIAL_CHAR_AND_SLASH: /^[A-Za-z0-9._/-]+$/,
501
501
  // allow alphanumeric,(.) ,(-),(_),(/)
502
502
  EMAIL: /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
503
- }, Io = "/global-config/templates/devtron-apps", ml = "/application-management", Is = "/cost-visibility", ve = {
503
+ }, Io = "/global-config/templates/devtron-apps", ml = "/application-management", As = "/cost-visibility", ve = {
504
504
  LOGIN: "/login",
505
505
  LOGIN_SSO: "/login/sso",
506
506
  PERMISSION_GROUPS: "/global-config/auth/groups",
@@ -539,15 +539,15 @@ const rT = 6e4, Tr = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Aa = "htt
539
539
  GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: `${Io}/detail/:appId`,
540
540
  LICENSE_AUTH: "/license-auth",
541
541
  GLOBAL_CONFIG_EDIT_CLUSTER: "/global-config/cluster-env/edit/:clusterId",
542
- COST_VISIBILITY: Is,
543
- COST_VISIBILITY_OVERVIEW: `${Is}/overview`,
544
- COST_BREAKDOWN_ROUTE: `${Is}/breakdown/:breakdownViewType`,
545
- COST_BREAKDOWN_CLUSTERS: `${Is}/breakdown/${qn.CLUSTERS}`,
546
- COST_BREAKDOWN_ENVIRONMENTS: `${Is}/breakdown/${qn.ENVIRONMENTS}`,
547
- COST_BREAKDOWN_PROJECTS: `${Is}/breakdown/${qn.PROJECTS}`,
548
- COST_BREAKDOWN_APPLICATIONS: `${Is}/breakdown/${qn.APPLICATIONS}`,
542
+ COST_VISIBILITY: As,
543
+ COST_VISIBILITY_OVERVIEW: `${As}/overview`,
544
+ COST_BREAKDOWN_ROUTE: `${As}/breakdown/:breakdownViewType`,
545
+ COST_BREAKDOWN_CLUSTERS: `${As}/breakdown/${qn.CLUSTERS}`,
546
+ COST_BREAKDOWN_ENVIRONMENTS: `${As}/breakdown/${qn.ENVIRONMENTS}`,
547
+ COST_BREAKDOWN_PROJECTS: `${As}/breakdown/${qn.PROJECTS}`,
548
+ COST_BREAKDOWN_APPLICATIONS: `${As}/breakdown/${qn.APPLICATIONS}`,
549
549
  COST_BREAKDOWN_ITEM_NAME: `:${Em.ITEM_NAME}`,
550
- COST_CONFIGURATIONS: `${Is}/configurations`,
550
+ COST_CONFIGURATIONS: `${As}/configurations`,
551
551
  APPLICATION_MANAGEMENT: ml,
552
552
  APPLICATION_MANAGEMENT_OVERVIEW: `${ml}/overview`
553
553
  }, Y = {
@@ -745,7 +745,7 @@ const WV = (e) => JSON.stringify(JSON.parse(e ?? "{}"), null, 2), Sm = Symbol(
745
745
  `The element at this index remains unchanged from the original object.
746
746
  This symbol is used by @buildObjectFromPath & later consumed by @recursivelyRemoveSymbolFromArraysInObject`
747
747
  );
748
- var Os = /* @__PURE__ */ ((e) => (e.google = "google", e.github = "github", e.gitlab = "gitlab", e.microsoft = "microsoft", e.ldap = "ldap", e.oidc = "oidc", e.openshift = "openshift", e))(Os || {});
748
+ var js = /* @__PURE__ */ ((e) => (e.google = "google", e.github = "github", e.gitlab = "gitlab", e.microsoft = "microsoft", e.ldap = "ldap", e.oidc = "oidc", e.openshift = "openshift", e))(js || {});
749
749
  const _l = {
750
750
  value: "latest",
751
751
  label: "latest"
@@ -783,7 +783,7 @@ const ET = async (e, s) => {
783
783
  action: s
784
784
  });
785
785
  };
786
- var vm = /* @__PURE__ */ ((e) => (e.GET_LICENSE_CLICKED = "getLicenseClicked", e))(vm || {}), ac = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(ac || {}), CT = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(CT || {}), _e = /* @__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.ResourceRecommender = "ResourceRecommender", e))(_e || {}), Et = /* @__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))(Et || {}), He = /* @__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))(He || {}), rc = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(rc || {}), fn = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(fn || {}), NT = /* @__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))(NT || {}), bT = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(bT || {}), Am = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(Am || {}), rt = /* @__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.infrastructureInstallation = "installations", e.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(rt || {}), oc = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(oc || {}), TT = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(TT || {}), ua = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(ua || {}), Xt = /* @__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))(Xt || {}), ST = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(ST || {}), vT = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(vT || {}), rr = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(rr || {}), AT = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(AT || {}), Im = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(Im || {});
786
+ var vm = /* @__PURE__ */ ((e) => (e.GET_LICENSE_CLICKED = "getLicenseClicked", e))(vm || {}), ac = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(ac || {}), CT = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(CT || {}), _e = /* @__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.ResourceRecommender = "ResourceRecommender", e))(_e || {}), Et = /* @__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))(Et || {}), Ye = /* @__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))(Ye || {}), rc = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(rc || {}), fn = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(fn || {}), NT = /* @__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))(NT || {}), bT = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(bT || {}), Am = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(Am || {}), rt = /* @__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.infrastructureInstallation = "installations", e.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(rt || {}), oc = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(oc || {}), TT = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(TT || {}), ua = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(ua || {}), Xt = /* @__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))(Xt || {}), ST = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(ST || {}), vT = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(vT || {}), rr = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(rr || {}), AT = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(AT || {}), Im = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(Im || {});
787
787
  const zV = [
788
788
  {
789
789
  label: "GUI",
@@ -1231,13 +1231,13 @@ const QT = {
1231
1231
  var no = /* @__PURE__ */ ((e) => (e.DOCUMENTATION = "documentation", e.ASK_DEVTRON = "ask-devtron", e))(no || {});
1232
1232
  const cc = "themePreference__v1", km = "(prefers-color-scheme: dark)";
1233
1233
  var Ue = /* @__PURE__ */ ((e) => (e.light = "light", e.dark = "dark", e))(Ue || {});
1234
- const ks = {
1234
+ const Ms = {
1235
1235
  ...Ue,
1236
1236
  auto: "auto"
1237
1237
  }, lc = () => window.matchMedia && window.matchMedia(km).matches ? Ue.dark : Ue.light, aS = (e) => {
1238
1238
  localStorage.setItem(cc, e);
1239
1239
  }, rS = ({ appTheme: e, themePreference: s }) => {
1240
- const n = s === ks.auto ? `system-${e}` : e;
1240
+ const n = s === Ms.auto ? `system-${e}` : e;
1241
1241
  "gtag" in window && window.gtag && typeof window.gtag == "function" && (window.gtag("set", "user_properties", {
1242
1242
  appTheme: e,
1243
1243
  themePreference: s
@@ -1247,9 +1247,9 @@ const ks = {
1247
1247
  });
1248
1248
  }, oS = () => {
1249
1249
  const e = localStorage.getItem(cc);
1250
- return !e || e === ks.auto ? {
1250
+ return !e || e === Ms.auto ? {
1251
1251
  appTheme: lc(),
1252
- themePreference: ks.auto
1252
+ themePreference: Ms.auto
1253
1253
  } : {
1254
1254
  appTheme: e,
1255
1255
  themePreference: e
@@ -1268,19 +1268,19 @@ const ks = {
1268
1268
  }, $m = Mt(null), pG = ({ children: e }) => {
1269
1269
  const [s, n] = w(!1), [a, r] = w(!1), [o, i] = w(oS), c = (p, _ = !1) => {
1270
1270
  const h = {
1271
- appTheme: p === ks.auto ? lc() : p,
1271
+ appTheme: p === Ms.auto ? lc() : p,
1272
1272
  themePreference: p
1273
1273
  };
1274
1274
  i(h), _ || (aS(p), rS(h));
1275
1275
  }, l = () => {
1276
- c(ks.auto, s);
1276
+ c(Ms.auto, s);
1277
1277
  };
1278
1278
  P(() => {
1279
1279
  const p = document.querySelector("html");
1280
1280
  p && p.setAttribute("class", `theme__${o.appTheme}`);
1281
1281
  }, [o.appTheme]), P(() => {
1282
1282
  const p = window.matchMedia(km);
1283
- return o.themePreference === ks.auto && p.addEventListener("change", l), () => {
1283
+ return o.themePreference === Ms.auto && p.addEventListener("change", l), () => {
1284
1284
  p.removeEventListener("change", l);
1285
1285
  };
1286
1286
  }, [o.themePreference, s]);
@@ -1399,7 +1399,7 @@ const ks = {
1399
1399
  n[r.index] = r;
1400
1400
  }), n;
1401
1401
  };
1402
- var pS = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(pS || {}), Xn = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(Xn || {}), _S = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(_S || {}), Be = /* @__PURE__ */ ((e) => (e.Internal = "", e.KubernetesConfigMap = "KubernetesConfigMap", e.KubernetesSecret = "KubernetesSecret", e.AWSSecretsManager = "AWSSecretsManager", e.AWSSystemManager = "AWSSystemManager", e.HashiCorpVault = "HashiCorpVault", e.ESO_GoogleSecretsManager = "ESO_GoogleSecretsManager", e.ESO_AWSSecretsManager = "ESO_AWSSecretsManager", e.ESO_AzureSecretsManager = "ESO_AzureSecretsManager", e.ESO_HashiCorpVault = "ESO_HashiCorpVault", e))(Be || {}), es = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(es || {}), fi = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(fi || {}), _t = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(_t || {}), Bs = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(Bs || {}), ao = /* @__PURE__ */ ((e) => (e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e))(ao || {}), Bm = /* @__PURE__ */ ((e) => (e.DATA = "data", e.SAMPLE = "sample", e))(Bm || {});
1402
+ var pS = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(pS || {}), Xn = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(Xn || {}), _S = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(_S || {}), Be = /* @__PURE__ */ ((e) => (e.Internal = "", e.KubernetesConfigMap = "KubernetesConfigMap", e.KubernetesSecret = "KubernetesSecret", e.AWSSecretsManager = "AWSSecretsManager", e.AWSSystemManager = "AWSSystemManager", e.HashiCorpVault = "HashiCorpVault", e.ESO_GoogleSecretsManager = "ESO_GoogleSecretsManager", e.ESO_AWSSecretsManager = "ESO_AWSSecretsManager", e.ESO_AzureSecretsManager = "ESO_AzureSecretsManager", e.ESO_HashiCorpVault = "ESO_HashiCorpVault", e))(Be || {}), es = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(es || {}), fi = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(fi || {}), _t = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(_t || {}), Fs = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(Fs || {}), ao = /* @__PURE__ */ ((e) => (e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e))(ao || {}), Bm = /* @__PURE__ */ ((e) => (e.DATA = "data", e.SAMPLE = "sample", e))(Bm || {});
1403
1403
  const fS = ({ baseUrl: e, kind: s, version: n, suffix: a, queryParams: r }) => We(`${e}/${s}/${n}${a ? `/${a}` : ""}`, r), xG = ({ kind: e, version: s, queryParams: n, suffix: a }) => We(`global/policy/${e}/${s}${a ? `/${a}` : ""}`, n), hS = (e, { isTemplateView: s }) => {
1404
1404
  const n = s ? ro({
1405
1405
  type: Ia.CD_PIPELINE,
@@ -1429,7 +1429,7 @@ const gS = {
1429
1429
  closeButton: ({ closeToast: e }) => /* @__PURE__ */ t.jsx("div", { className: "custom-toast__close-btn", children: /* @__PURE__ */ t.jsx(
1430
1430
  G,
1431
1431
  {
1432
- icon: /* @__PURE__ */ t.jsx(Ys, { className: `fcn-0 ${Rn}` }),
1432
+ icon: /* @__PURE__ */ t.jsx(Hs, { className: `fcn-0 ${Rn}` }),
1433
1433
  onClick: e,
1434
1434
  dataTestId: "close-toast",
1435
1435
  ariaLabel: "Close toast",
@@ -2022,8 +2022,8 @@ const xl = (e) => ({
2022
2022
  )) })
2023
2023
  ] });
2024
2024
  };
2025
- var US = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(US || {}), U = /* @__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.NODE_SELECTOR = "node_selector", e.TOLERANCE = "tolerations", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(U || {}), Zt = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(Zt || {}), je = /* @__PURE__ */ ((e) => (e.CPU = "cpu", e.MEMORY = "memory", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node selector", e.TOLERANCE = "tolerance", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(je || {}), Ym = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(Ym || {}), Us = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(Us || {}), Wm = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(Wm || {}), Ar = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(Ar || {}), ma = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(ma || {}), gi = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.VALUE = "VALUE", e))(gi || {}), xi = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.OPERATOR = "OPERATOR", e.VALUE = "VALUE", e.EFFECT = "EFFECT", e))(xi || {}), Rt = /* @__PURE__ */ ((e) => (e.ADD_TARGET_PLATFORM = "add_target_platform", e.REMOVE_TARGET_PLATFORM = "remove_target_platform", e.RENAME_TARGET_PLATFORM = "rename_target_platform", e.RESTORE_PROFILE_CONFIG_SNAPSHOT = "restore_profile_config_snapshot", e.DELETE_NODE_SELECTOR_ITEM = "delete_node_selector_item", e.ADD_NODE_SELECTOR_ITEM = "add_node_selector_item", e.EDIT_NODE_SELECTOR_ITEM = "edit_node_selector_item", e.DELETE_TOLERANCE_ITEM = "delete_tolerance_item", e.ADD_TOLERANCE_ITEM = "add_tolerance_item", e.EDIT_TOLERANCE_ITEM = "edit_tolerance_item", e.ADD_CM_CS_ITEM = "add_cm_cs_item", e.SYNC_CM_CS_ITEM = "sync_cm_cs_item", e.DELETE_CM_CS_ITEM = "delete_cm_cs_item", e))(Rt || {}), Km = /* @__PURE__ */ ((e) => (e.ALPHA1 = "alpha1", e))(Km || {});
2026
- const Vs = {
2025
+ var US = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(US || {}), U = /* @__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.NODE_SELECTOR = "node_selector", e.TOLERANCE = "tolerations", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(U || {}), Zt = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(Zt || {}), je = /* @__PURE__ */ ((e) => (e.CPU = "cpu", e.MEMORY = "memory", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node selector", e.TOLERANCE = "tolerance", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(je || {}), Ym = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(Ym || {}), ks = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(ks || {}), Wm = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(Wm || {}), Ar = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(Ar || {}), ma = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(ma || {}), gi = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.VALUE = "VALUE", e))(gi || {}), xi = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.OPERATOR = "OPERATOR", e.VALUE = "VALUE", e.EFFECT = "EFFECT", e))(xi || {}), Rt = /* @__PURE__ */ ((e) => (e.ADD_TARGET_PLATFORM = "add_target_platform", e.REMOVE_TARGET_PLATFORM = "remove_target_platform", e.RENAME_TARGET_PLATFORM = "rename_target_platform", e.RESTORE_PROFILE_CONFIG_SNAPSHOT = "restore_profile_config_snapshot", e.DELETE_NODE_SELECTOR_ITEM = "delete_node_selector_item", e.ADD_NODE_SELECTOR_ITEM = "add_node_selector_item", e.EDIT_NODE_SELECTOR_ITEM = "edit_node_selector_item", e.DELETE_TOLERANCE_ITEM = "delete_tolerance_item", e.ADD_TOLERANCE_ITEM = "add_tolerance_item", e.EDIT_TOLERANCE_ITEM = "edit_tolerance_item", e.ADD_CM_CS_ITEM = "add_cm_cs_item", e.SYNC_CM_CS_ITEM = "sync_cm_cs_item", e.DELETE_CM_CS_ITEM = "delete_cm_cs_item", e))(Rt || {}), Km = /* @__PURE__ */ ((e) => (e.ALPHA1 = "alpha1", e))(Km || {});
2026
+ const Bs = {
2027
2027
  // Will not enforce any decimal specification on input field
2028
2028
  STEP: "any",
2029
2029
  MIN: 0,
@@ -2047,8 +2047,8 @@ const Vs = {
2047
2047
  VALIDATE_REQUEST_LIMIT: {
2048
2048
  REQUEST_LESS_THAN_LIMIT: "Request should be less than or equal to limit.",
2049
2049
  CAN_NOT_COMPUTE: "Request and limit value diff are too high to validate.",
2050
- REQUEST_DECIMAL_PLACES: `Request should be upto ${Vs.DECIMAL_PLACES} decimal places.`,
2051
- LIMIT_DECIMAL_PLACES: `Limit should be upto ${Vs.DECIMAL_PLACES} decimal places.`
2050
+ REQUEST_DECIMAL_PLACES: `Request should be upto ${Bs.DECIMAL_PLACES} decimal places.`,
2051
+ LIMIT_DECIMAL_PLACES: `Limit should be upto ${Bs.DECIMAL_PLACES} decimal places.`
2052
2052
  },
2053
2053
  getInvalidActionMessage: (e) => `Invalid action type: ${e}`,
2054
2054
  getSubmitSuccessMessage: (e, s) => `${e} profile is ${s ? "updated" : "created"}`,
@@ -2179,7 +2179,7 @@ const Vs = {
2179
2179
  keyToPersist: "limit",
2180
2180
  keyToPersistConfigType: U.MEMORY_LIMIT
2181
2181
  }
2182
- }, VS = Wm.NO_SCHEDULE, GS = Us.EQUALS, HS = {
2182
+ }, VS = Wm.NO_SCHEDULE, GS = ks.EQUALS, HS = {
2183
2183
  [U.BUILD_TIMEOUT]: !0,
2184
2184
  [U.CONFIG_MAP]: !0,
2185
2185
  [U.SECRET]: !0
@@ -2187,14 +2187,14 @@ const Vs = {
2187
2187
  [U.CONFIG_MAP]: !0,
2188
2188
  [U.SECRET]: !0
2189
2189
  }, qm = {
2190
- [U.CONFIG_MAP]: Bs.ConfigMap,
2191
- [U.SECRET]: Bs.Secret
2190
+ [U.CONFIG_MAP]: Fs.ConfigMap,
2191
+ [U.SECRET]: Fs.Secret
2192
2192
  }, at = {
2193
- [Bs.ConfigMap]: U.CONFIG_MAP,
2194
- [Bs.Secret]: U.SECRET
2193
+ [Fs.ConfigMap]: U.CONFIG_MAP,
2194
+ [Fs.Secret]: U.SECRET
2195
2195
  }, BG = {
2196
- [Bs.ConfigMap]: je.CONFIG_MAP,
2197
- [Bs.Secret]: je.SECRET
2196
+ [Fs.ConfigMap]: je.CONFIG_MAP,
2197
+ [Fs.Secret]: je.SECRET
2198
2198
  }, YS = !0, VG = {
2199
2199
  activate_cm: !0,
2200
2200
  activate_cs: !0,
@@ -3359,7 +3359,7 @@ const vl = (e) => {
3359
3359
  isGroupHeadingSelectable: Z = !1,
3360
3360
  getIsOptionValid: ae = () => !0,
3361
3361
  customDisplayText: Ie = null
3362
- } = x, Me = lt && !Ie, Ke = !g && i, vs = !N && v, $n = O ?? !g, Fn = X(
3362
+ } = x, Me = lt && !Ie, Ke = !g && i, Ss = !N && v, $n = O ?? !g, Fn = X(
3363
3363
  () => rv({
3364
3364
  error: e,
3365
3365
  size: c,
@@ -3371,14 +3371,14 @@ const vl = (e) => {
3371
3371
  }),
3372
3372
  [e, c, u, h, Z, I]
3373
3373
  ), zs = (Oe) => {
3374
- const As = Oe?.trim();
3375
- return y && !!As && !yn(
3374
+ const vs = Oe?.trim();
3375
+ return y && !!vs && !yn(
3376
3376
  ft,
3377
- As,
3377
+ vs,
3378
3378
  null,
3379
3379
  pe
3380
- ) && !yn(ht, As, null, pe);
3381
- }, mn = Ye(
3380
+ ) && !yn(ht, vs, null, pe);
3381
+ }, mn = Ge(
3382
3382
  (Oe) => /* @__PURE__ */ t.jsx(
3383
3383
  uv,
3384
3384
  {
@@ -3388,20 +3388,20 @@ const vl = (e) => {
3388
3388
  }
3389
3389
  ),
3390
3390
  [d, b]
3391
- ), Fa = Ye(
3391
+ ), Fa = Ge(
3392
3392
  (Oe) => /* @__PURE__ */ t.jsx(mv, { ...Oe, disableDescriptionEllipsis: E }),
3393
3393
  [E]
3394
- ), Ba = (Oe) => /* @__PURE__ */ t.jsx(_v, { ...Oe, getIsOptionValid: ae }), of = Ye(
3394
+ ), Ba = (Oe) => /* @__PURE__ */ t.jsx(_v, { ...Oe, getIsOptionValid: ae }), of = Ge(
3395
3395
  (Oe) => /* @__PURE__ */ t.jsx(fv, { ...Oe, isGroupHeadingSelectable: Z }),
3396
3396
  [Z]
3397
3397
  ), cf = () => m ? /* @__PURE__ */ t.jsx(wn, { reload: p }) : D ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: $?.({
3398
3398
  inputValue: z
3399
3399
  }) || "No options" }) : null, lf = (Oe) => /* @__PURE__ */ t.jsx(Re, { content: l, placement: "top", className: "default-tt", arrow: !1, children: Oe }), df = (Oe) => {
3400
- const As = Oe?.trim();
3401
- As && S?.(As);
3402
- }, uf = (Oe, As) => {
3400
+ const vs = Oe?.trim();
3401
+ vs && S?.(vs);
3402
+ }, uf = (Oe, vs) => {
3403
3403
  if (le.onInputChange) {
3404
- le.onInputChange(Oe, As);
3404
+ le.onInputChange(Oe, vs);
3405
3405
  return;
3406
3406
  }
3407
3407
  Ce(Oe);
@@ -3457,7 +3457,7 @@ const vl = (e) => {
3457
3457
  },
3458
3458
  name: f || be,
3459
3459
  classNamePrefix: C || be,
3460
- isSearchable: vs,
3460
+ isSearchable: Ss,
3461
3461
  placeholder: r,
3462
3462
  styles: Fn,
3463
3463
  menuPlacement: "auto",
@@ -3522,7 +3522,7 @@ const vl = (e) => {
3522
3522
  }) => {
3523
3523
  const i = F(), [c, l] = w(a), { triggerAutoClickTimestamp: d, setTriggerAutoClickTimestampToNow: u, resetTriggerAutoClickTimestamp: m } = kI(), [p, _] = w(
3524
3524
  structuredClone(e ?? [])
3525
- ), { registerShortcut: h, unregisterShortcut: E } = Ss(), x = e?.length ?? 0;
3525
+ ), { registerShortcut: h, unregisterShortcut: E } = Ks(), x = e?.length ?? 0;
3526
3526
  P(() => {
3527
3527
  _(e ?? []);
3528
3528
  }, [e]);
@@ -3711,36 +3711,44 @@ const vl = (e) => {
3711
3711
  disableFocusTrap: he,
3712
3712
  resumeFocusTrap: he
3713
3713
  };
3714
- }, bv = ({ deactivateFocusOnEscape: e = !0, children: s, initialFocus: n = void 0 }) => {
3715
- const [a, r] = w(!0);
3714
+ }, bv = ({
3715
+ onEscape: e,
3716
+ deactivateFocusOnEscape: s = !0,
3717
+ children: n,
3718
+ initialFocus: a = void 0
3719
+ }) => {
3720
+ const [r, o] = w(!0), i = Ge(
3721
+ (l) => (e(l), s),
3722
+ [e, s]
3723
+ );
3716
3724
  P(() => (Pl(!0), () => {
3717
3725
  Pl(!1);
3718
3726
  }), []);
3719
- const o = X(
3727
+ const c = X(
3720
3728
  () => ({
3721
- disableFocusTrap: () => r(!1),
3722
- resumeFocusTrap: () => r(!0)
3729
+ disableFocusTrap: () => o(!1),
3730
+ resumeFocusTrap: () => o(!0)
3723
3731
  }),
3724
3732
  []
3725
3733
  );
3726
- return /* @__PURE__ */ t.jsx(np.Provider, { value: o, children: /* @__PURE__ */ t.jsx(
3734
+ return /* @__PURE__ */ t.jsx(np.Provider, { value: c, children: /* @__PURE__ */ t.jsx(
3727
3735
  Ef,
3728
3736
  {
3729
- active: a,
3737
+ active: r,
3730
3738
  focusTrapOptions: {
3731
- escapeDeactivates: e,
3732
- initialFocus: n,
3733
- allowOutsideClick: (i) => {
3734
- let c = i.target, l = 0;
3735
- for (; c && l < 4; ) {
3736
- if (c.classList && c.classList.contains(Rn))
3739
+ escapeDeactivates: i,
3740
+ initialFocus: a,
3741
+ allowOutsideClick: (l) => {
3742
+ let d = l.target, u = 0;
3743
+ for (; d && u < 4; ) {
3744
+ if (d.classList && d.classList.contains(Rn))
3737
3745
  return !0;
3738
- c = c.parentElement, l += 1;
3746
+ d = d.parentElement, u += 1;
3739
3747
  }
3740
3748
  return !1;
3741
3749
  }
3742
3750
  },
3743
- children: s
3751
+ children: n
3744
3752
  }
3745
3753
  ) });
3746
3754
  }, Tv = (e) => {
@@ -3749,7 +3757,7 @@ const vl = (e) => {
3749
3757
  return null;
3750
3758
  const n = document.createElement("div");
3751
3759
  return n.setAttribute("id", e), s.parentElement.appendChild(n), n;
3752
- }, Ks = ({
3760
+ }, Ws = ({
3753
3761
  children: e,
3754
3762
  onEscape: s,
3755
3763
  onClick: n,
@@ -3758,32 +3766,35 @@ const vl = (e) => {
3758
3766
  deactivateFocusOnEscape: o = !0,
3759
3767
  initialFocus: i
3760
3768
  }) => {
3761
- const { registerShortcut: c, unregisterShortcut: l } = Ss(), [d, u] = w(null), m = F(`backdrop-${Dt()}`);
3769
+ const [c, l] = w(null), d = F(`backdrop-${Dt()}`);
3762
3770
  return P(() => {
3763
- r?.(!!d);
3764
- }, [d]), zi(() => {
3765
- let p = document.getElementById(m.current), _ = !1;
3766
- return p || (_ = !0, p = Tv(m.current)), u(p), () => {
3767
- _ && p?.parentNode && p.parentNode.removeChild(p);
3771
+ r?.(!!c);
3772
+ }, [c]), zi(() => {
3773
+ let u = document.getElementById(d.current), m = !1;
3774
+ return u || (m = !0, u = Tv(d.current)), l(u), () => {
3775
+ m && u?.parentNode && u.parentNode.removeChild(u);
3768
3776
  };
3769
- }, []), P(() => (c({
3770
- keys: ["Escape"],
3771
- callback: s
3772
- }), () => {
3773
- l(["Escape"]);
3774
- }), [s]), d === null ? null : Ju(
3775
- /* @__PURE__ */ t.jsx(bv, { deactivateFocusOnEscape: o, initialFocus: i ?? void 0, children: /* @__PURE__ */ t.jsx(
3776
- Fe.div,
3777
+ }, []), c === null ? null : Ju(
3778
+ /* @__PURE__ */ t.jsx(
3779
+ bv,
3777
3780
  {
3778
- initial: { opacity: 0 },
3779
- animate: { opacity: 1 },
3780
- exit: { opacity: 0, transition: { duration: 0.35 } },
3781
- className: `backdrop ${a ? "backdrop--transparent" : ""} dc__position-fixed dc__top-0 dc__left-0 full-height-width flexbox dc__content-center dc__align-items-center dc__overflow-hidden`,
3782
- onClick: n,
3783
- children: e
3781
+ onEscape: s,
3782
+ deactivateFocusOnEscape: o,
3783
+ initialFocus: i ?? void 0,
3784
+ children: /* @__PURE__ */ t.jsx(
3785
+ Fe.div,
3786
+ {
3787
+ initial: { opacity: 0 },
3788
+ animate: { opacity: 1 },
3789
+ exit: { opacity: 0, transition: { duration: 0.35 } },
3790
+ className: `backdrop ${a ? "backdrop--transparent" : ""} dc__position-fixed dc__top-0 dc__left-0 full-height-width flexbox dc__content-center dc__align-items-center dc__overflow-hidden`,
3791
+ onClick: n,
3792
+ children: e
3793
+ }
3794
+ )
3784
3795
  }
3785
- ) }),
3786
- d
3796
+ ),
3797
+ c
3787
3798
  );
3788
3799
  }, fc = ({
3789
3800
  open: e,
@@ -3795,7 +3806,7 @@ const vl = (e) => {
3795
3806
  children: c
3796
3807
  }) => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
3797
3808
  /* @__PURE__ */ t.jsx("div", { ...r, children: i || /* @__PURE__ */ t.jsx(G, { ...o }) }),
3798
- /* @__PURE__ */ t.jsx(cn, { children: e && /* @__PURE__ */ t.jsx(Ks, { ...n, children: /* @__PURE__ */ t.jsxs(
3809
+ /* @__PURE__ */ t.jsx(cn, { children: e && /* @__PURE__ */ t.jsx(Ws, { ...n, children: /* @__PURE__ */ t.jsxs(
3799
3810
  "div",
3800
3811
  {
3801
3812
  className: "dc__position-abs",
@@ -4575,7 +4586,7 @@ const vl = (e) => {
4575
4586
  isFilterApplied: n,
4576
4587
  ...a
4577
4588
  }) => {
4578
- const [r, o] = w(null), i = F(!1), c = F(null), { registerShortcut: l, unregisterShortcut: d } = Ss();
4589
+ const [r, o] = w(null), i = F(!1), c = F(null), { registerShortcut: l, unregisterShortcut: d } = Ks();
4579
4590
  P(() => (l({ keys: ["F"], callback: () => {
4580
4591
  c.current?.click();
4581
4592
  } }), () => {
@@ -4747,8 +4758,8 @@ ${d.slice(N)}`;
4747
4758
  "data-testid": `${e}-input-field`,
4748
4759
  name: e,
4749
4760
  type: "number",
4750
- step: Vs.STEP,
4751
- min: Vs.MIN,
4761
+ step: Bs.STEP,
4762
+ min: Bs.MIN,
4752
4763
  className: `form__input dc__no-right-border dc__no-right-radius ${u ? "dc__disabled" : ""}`,
4753
4764
  placeholder: n,
4754
4765
  value: is(l) ? "" : l,
@@ -4957,7 +4968,7 @@ ${d.slice(N)}`;
4957
4968
  R && /* @__PURE__ */ t.jsx("span", { className: `fs-14 fw-6 lh-20 ${O ? "mr-12" : ""}`, children: R }),
4958
4969
  b && /* @__PURE__ */ t.jsx("div", { className: "icon-dim-20 cursor", onClick: l, children: /* @__PURE__ */ t.jsx(to, { className: "icon-dim-20" }) }),
4959
4970
  O && /* @__PURE__ */ t.jsx("div", { className: "icon-dim-16 ml-auto", children: /* @__PURE__ */ t.jsx(
4960
- Ys,
4971
+ Hs,
4961
4972
  {
4962
4973
  className: `icon-dim-16 cursor ${r ? "fcn-9" : "icon-fill__white"}`,
4963
4974
  onClick: c
@@ -5429,7 +5440,7 @@ const e4 = (e, s = !1) => {
5429
5440
  messages: ["Value is required"]
5430
5441
  };
5431
5442
  const s = [];
5432
- return e.length >= Vs.MAX_LABEL_VALUE_LENGTH && s.push(`Value should be less than ${Vs.MAX_LABEL_VALUE_LENGTH} characters`), Yt.START_END_ALPHANUMERIC.test(e) || s.push("Value should start and end with alphanumeric characters"), Yt.ALPHANUMERIC_WITH_SPECIAL_CHAR.test(e) || s.push("Value should contain only alphanumeric characters and special characters"), s.length > 0 ? {
5443
+ return e.length >= Bs.MAX_LABEL_VALUE_LENGTH && s.push(`Value should be less than ${Bs.MAX_LABEL_VALUE_LENGTH} characters`), Yt.START_END_ALPHANUMERIC.test(e) || s.push("Value should start and end with alphanumeric characters"), Yt.ALPHANUMERIC_WITH_SPECIAL_CHAR.test(e) || s.push("Value should contain only alphanumeric characters and special characters"), s.length > 0 ? {
5433
5444
  isValid: !1,
5434
5445
  messages: s
5435
5446
  } : {
@@ -5467,12 +5478,12 @@ const e4 = (e, s = !1) => {
5467
5478
  }), d || l)
5468
5479
  return c;
5469
5480
  const u = String(e.value).split(".")[1]?.length ?? 0, m = String(s.value).split(".")[1]?.length ?? 0;
5470
- if (u > Vs.DECIMAL_PLACES)
5481
+ if (u > Bs.DECIMAL_PLACES)
5471
5482
  return c.request = {
5472
5483
  message: it.VALIDATE_REQUEST_LIMIT.REQUEST_DECIMAL_PLACES,
5473
5484
  isValid: !1
5474
5485
  }, c;
5475
- if (m > Vs.DECIMAL_PLACES)
5486
+ if (m > Bs.DECIMAL_PLACES)
5476
5487
  return c.limit = {
5477
5488
  message: it.VALIDATE_REQUEST_LIMIT.LIMIT_DECIMAL_PLACES,
5478
5489
  isValid: !1
@@ -5789,14 +5800,14 @@ const e4 = (e, s = !1) => {
5789
5800
  const { id: b, key: A, effect: y, operator: S, value: O } = C, D = I[U.TOLERANCE].value.find(
5790
5801
  (H) => H.id === b
5791
5802
  );
5792
- D ? (D.key = A, D.effect = y, D.operator = S, D.value = O, S === Us.EXISTS && delete D.value) : I[U.TOLERANCE].value.unshift({
5803
+ D ? (D.key = A, D.effect = y, D.operator = S, D.value = O, S === ks.EXISTS && delete D.value) : I[U.TOLERANCE].value.unshift({
5793
5804
  id: b,
5794
5805
  key: A,
5795
5806
  effect: y,
5796
5807
  operator: S,
5797
5808
  value: O
5798
5809
  });
5799
- const k = xc(A).messages, j = S !== Us.EXISTS ? dp(O).messages : [], B = !(S === Us.EXISTS ? !A : !A && !O) && (k.length > 0 || j.length > 0);
5810
+ const k = xc(A).messages, j = S !== ks.EXISTS ? dp(O).messages : [], B = !(S === ks.EXISTS ? !A : !A && !O) && (k.length > 0 || j.length > 0);
5800
5811
  v[U.TOLERANCE]?.[b] || (v[U.TOLERANCE] || (v[U.TOLERANCE] = {}), v[U.TOLERANCE][b] = {}), v[U.TOLERANCE][b] = {
5801
5812
  ...k.length > 0 && { [xi.KEY]: k },
5802
5813
  ...j.length > 0 && { [xi.VALUE]: j }
@@ -5890,13 +5901,13 @@ const e4 = (e, s = !1) => {
5890
5901
  effect: r,
5891
5902
  id: s ? Dt() : null
5892
5903
  };
5893
- return o === Us.EQUALS ? {
5904
+ return o === ks.EQUALS ? {
5894
5905
  ...c,
5895
- operator: Us.EQUALS,
5906
+ operator: ks.EQUALS,
5896
5907
  value: i
5897
5908
  } : {
5898
5909
  ...c,
5899
- operator: Us.EXISTS
5910
+ operator: ks.EXISTS
5900
5911
  };
5901
5912
  }).filter((n) => n.key)
5902
5913
  };
@@ -6687,12 +6698,12 @@ function mp(e, s) {
6687
6698
  { nodes: {}, aggregation: {}, statusCount: {}, nodeStatusCount: {}, aggregatorStatusCount: {} }
6688
6699
  );
6689
6700
  }
6690
- const KA = (e, s = !1) => s ? btoa(e) : atob(e), bi = (e, s = !1) => Object.keys(e).map((n) => ({ key: n, value: e[n] ? KA(e[n], s) : e[n] })).reduce((n, a) => (n[a.key] = a.value, n), {}), $s = (e) => !!e && e !== On, zA = ({
6701
+ const KA = (e, s = !1) => s ? btoa(e) : atob(e), bi = (e, s = !1) => Object.keys(e).map((n) => ({ key: n, value: e[n] ? KA(e[n], s) : e[n] })).reduce((n, a) => (n[a.key] = a.value, n), {}), Us = (e) => !!e && e !== On, zA = ({
6691
6702
  startTime: e,
6692
6703
  endTime: s,
6693
6704
  fallbackString: n = "-"
6694
6705
  }) => {
6695
- if (!$s(e) || !$s(s))
6706
+ if (!Us(e) || !Us(s))
6696
6707
  return n;
6697
6708
  const a = we(e), r = we(s);
6698
6709
  if (!a.isValid() || !r.isValid())
@@ -7171,7 +7182,7 @@ const SI = (e, s) => {
7171
7182
  o && !e ? s(!0) : !o && e && s(!1);
7172
7183
  }
7173
7184
  };
7174
- }, xp = Mt(null), Ss = () => ss(xp), Xa = (e) => {
7185
+ }, xp = Mt(null), Ks = () => ss(xp), Xa = (e) => {
7175
7186
  if (!e)
7176
7187
  throw new Error("keys undefined");
7177
7188
  const s = e.map((n) => `${n}`.toUpperCase()).sort();
@@ -7189,7 +7200,7 @@ const SI = (e, s) => {
7189
7200
  shortcutTimeout: a,
7190
7201
  children: r
7191
7202
  }) => {
7192
- const o = F(!1), i = F({}), c = F(/* @__PURE__ */ new Set()), l = F(-1), d = s ?? vI, u = Ye(
7203
+ const o = F(!1), i = F({}), c = F(/* @__PURE__ */ new Set()), l = F(-1), d = s ?? vI, u = Ge(
7193
7204
  ({ keys: f, callback: C, description: N = "" }) => {
7194
7205
  const { keys: v, id: T } = Xa(f);
7195
7206
  if (typeof C != "function")
@@ -7202,21 +7213,21 @@ const SI = (e, s) => {
7202
7213
  i.current[T] = { keys: v, callbackStack: [C], description: N };
7203
7214
  },
7204
7215
  []
7205
- ), m = Ye((f) => {
7216
+ ), m = Ge((f) => {
7206
7217
  const { id: C } = Xa(f);
7207
7218
  if (!i.current[C])
7208
7219
  return;
7209
7220
  const { callbackStack: N } = i.current[C];
7210
7221
  Ja(N), N.pop(), N.length || delete i.current[C];
7211
- }, []), p = Ye((f) => {
7222
+ }, []), p = Ge((f) => {
7212
7223
  o.current = f;
7213
- }, []), _ = Ye((f) => {
7224
+ }, []), _ = Ge((f) => {
7214
7225
  const { id: C } = Xa(f);
7215
7226
  if (!i.current[C])
7216
7227
  return;
7217
7228
  const { callbackStack: N } = i.current[C];
7218
7229
  Ja(N), N[N.length - 1]();
7219
- }, []), h = Ye(() => {
7230
+ }, []), h = Ge(() => {
7220
7231
  if (!c.current.size)
7221
7232
  return;
7222
7233
  const { id: f } = Xa(Array.from(c.current.values()));
@@ -7225,12 +7236,12 @@ const SI = (e, s) => {
7225
7236
  Ja(C), C[C.length - 1]();
7226
7237
  }
7227
7238
  c.current.clear(), l.current > -1 && (clearTimeout(l.current), l.current = -1);
7228
- }, []), E = Ye((f) => {
7239
+ }, []), E = Ge((f) => {
7229
7240
  // NOTE: in case of custom events generated by password managers autofill, the event.key is not set
7230
7241
  !f.key || d.map((C) => C.toUpperCase()).indexOf(f.target.tagName?.toUpperCase()) > -1 || f.target?.role === "textbox" || o.current || (n && f.preventDefault(), c.current.add(f.key.toUpperCase()), f.ctrlKey && c.current.add("CONTROL"), f.metaKey && c.current.add("META"), f.altKey && c.current.add("ALT"), f.shiftKey && c.current.add("SHIFT"), l.current === -1 && (l.current = setTimeout(() => {
7231
7242
  h();
7232
7243
  }, a ?? AI)));
7233
- }, []), x = Ye(() => {
7244
+ }, []), x = Ge(() => {
7234
7245
  c.current.clear();
7235
7246
  }, []);
7236
7247
  P(() => e ? (window.addEventListener("keydown", E), window.addEventListener("keyup", h), window.addEventListener("blur", x), () => {
@@ -7515,7 +7526,7 @@ const Np = {
7515
7526
  fontWeight: i
7516
7527
  }) => `button button__${s}--${n} ${r ? wI[e] : jI[e]} ${OI[i]} ${o ? "button--auto-click" : ""} ${a ? "button--loading" : ""}`, MI = Kr(
7517
7528
  ({ component: e = ct.button, anchorProps: s, linkProps: n, buttonProps: a, onClick: r, elementRef: o, ...i }, c) => {
7518
- const l = `${i.className} button__link ${i.disabled ? "dc__disable-click" : ""}`, d = Ye((u) => {
7529
+ const l = `${i.className} button__link ${i.disabled ? "dc__disable-click" : ""}`, d = Ge((u) => {
7519
7530
  u && (o.current = u, c && typeof c == "object" && Object.hasOwn(c, "current") ? c.current = u : typeof c == "function" && c(u));
7520
7531
  }, []);
7521
7532
  return e === ct.link ? /* @__PURE__ */ t.jsx(
@@ -7694,7 +7705,7 @@ const Np = {
7694
7705
  )
7695
7706
  ] })
7696
7707
  ] });
7697
- }, q4 = ({ handleCloseLicenseInfoDialog: e }) => /* @__PURE__ */ t.jsx(Ks, { onEscape: e, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col w-400 br-12 bg__primary border__primary dc__m-auto mt-40", children: [
7708
+ }, q4 = ({ handleCloseLicenseInfoDialog: e }) => /* @__PURE__ */ t.jsx(Ws, { onEscape: e, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col w-400 br-12 bg__primary border__primary dc__m-auto mt-40", children: [
7698
7709
  /* @__PURE__ */ t.jsx("div", { className: "p-24", children: /* @__PURE__ */ t.jsx(UI, {}) }),
7699
7710
  /* @__PURE__ */ t.jsx("div", { className: "flex px-24 py-20 dc__content-end", children: /* @__PURE__ */ t.jsx(
7700
7711
  G,
@@ -7797,7 +7808,7 @@ const Np = {
7797
7808
  Z
7798
7809
  `;
7799
7810
  }, Z4 = ({ duration: e, onComplete: s, size: n = 24, tooltipContent: a }) => {
7800
- const r = oa(FI), o = Ls(r, (i) => VI(Mo, ko, $I, i));
7811
+ const r = oa(FI), o = ws(r, (i) => VI(Mo, ko, $I, i));
7801
7812
  return P(() => ra(r, BI, {
7802
7813
  duration: e,
7803
7814
  ease: "easeInOut",
@@ -8213,7 +8224,7 @@ const Np = {
8213
8224
  handleDoNotShowAgainClose: o
8214
8225
  };
8215
8226
  }, QI = ({ shouldPrompt: e }) => {
8216
- const s = Ye(
8227
+ const s = Ge(
8217
8228
  (n) => {
8218
8229
  e && n.preventDefault();
8219
8230
  },
@@ -8309,7 +8320,7 @@ const a0 = ({
8309
8320
  const a = JSON.parse(n.value);
8310
8321
  return {
8311
8322
  pipelineRBACViewSelectedTab: a.viewPermittedEnvOnly ? yr.ACCESS_ONLY : yr.ALL_ENVIRONMENTS,
8312
- themePreference: a.computedAppTheme === "system-dark" || a.computedAppTheme === "system-light" ? ks.auto : a.computedAppTheme,
8323
+ themePreference: a.computedAppTheme === "system-dark" || a.computedAppTheme === "system-light" ? Ms.auto : a.computedAppTheme,
8313
8324
  resources: r0(a.resources),
8314
8325
  commandBar: {
8315
8326
  recentNavigationActions: a.commandBar?.recentNavigationActions?.length ? a.commandBar.recentNavigationActions : []
@@ -8333,7 +8344,7 @@ const a0 = ({
8333
8344
  switch (e) {
8334
8345
  case "themePreference":
8335
8346
  return {
8336
- computedAppTheme: s.themePreference === ks.auto ? `system-${s.appTheme}` : s.appTheme
8347
+ computedAppTheme: s.themePreference === Ms.auto ? `system-${s.appTheme}` : s.appTheme
8337
8348
  };
8338
8349
  case "pipelineRBACViewSelectedTab":
8339
8350
  return {
@@ -8520,24 +8531,24 @@ const a0 = ({
8520
8531
  }
8521
8532
  );
8522
8533
  }, cr = {
8523
- [He.GIT]: "ic-git",
8524
- [He.GITHUB]: "ic-github",
8525
- [He.GITLAB]: "ic-gitlab",
8526
- [He.BITBUCKET]: "ic-bitbucket",
8527
- [He.DOCKER]: "ic-dockerhub",
8528
- [He.DOCKER_HUB]: "ic-dockerhub",
8529
- [He.ACR]: "ic-azure",
8530
- [He.QUAY]: "ic-quay",
8531
- [He.ECR]: "ic-ecr",
8532
- [He.ARTIFACT_REGISTRY]: "ic-google-artifact-registry",
8533
- [He.GCR]: "ic-google-container-registry",
8534
- [He.OTHER]: "ic-container-registry"
8534
+ [Ye.GIT]: "ic-git",
8535
+ [Ye.GITHUB]: "ic-github",
8536
+ [Ye.GITLAB]: "ic-gitlab",
8537
+ [Ye.BITBUCKET]: "ic-bitbucket",
8538
+ [Ye.DOCKER]: "ic-dockerhub",
8539
+ [Ye.DOCKER_HUB]: "ic-dockerhub",
8540
+ [Ye.ACR]: "ic-azure",
8541
+ [Ye.QUAY]: "ic-quay",
8542
+ [Ye.ECR]: "ic-ecr",
8543
+ [Ye.ARTIFACT_REGISTRY]: "ic-google-artifact-registry",
8544
+ [Ye.GCR]: "ic-google-container-registry",
8545
+ [Ye.OTHER]: "ic-container-registry"
8535
8546
  }, l0 = (e) => {
8536
- if (!e) return cr[He.OTHER];
8537
- const s = Object.values(He).find(
8538
- (n) => n !== He.OTHER && e.includes(n)
8547
+ if (!e) return cr[Ye.OTHER];
8548
+ const s = Object.values(Ye).find(
8549
+ (n) => n !== Ye.OTHER && e.includes(n)
8539
8550
  );
8540
- return s ? cr[s] : cr[He.OTHER];
8551
+ return s ? cr[s] : cr[Ye.OTHER];
8541
8552
  }, Jt = ({ registryType: e, size: s = 20, registryUrl: n }) => /* @__PURE__ */ t.jsx(
8542
8553
  V,
8543
8554
  {
@@ -8568,7 +8579,7 @@ const a0 = ({
8568
8579
  defaultValue: "",
8569
8580
  placeholder: ""
8570
8581
  },
8571
- startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: He.ECR })
8582
+ startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: Ye.ECR })
8572
8583
  },
8573
8584
  "docker-hub": {
8574
8585
  value: "docker-hub",
@@ -8592,7 +8603,7 @@ const a0 = ({
8592
8603
  defaultValue: "",
8593
8604
  placeholder: ""
8594
8605
  },
8595
- startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: He.DOCKER_HUB })
8606
+ startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: Ye.DOCKER_HUB })
8596
8607
  },
8597
8608
  gitlab: {
8598
8609
  value: "gitlab",
@@ -8616,7 +8627,7 @@ const a0 = ({
8616
8627
  defaultValue: "",
8617
8628
  placeholder: ""
8618
8629
  },
8619
- startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: He.GITLAB })
8630
+ startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: Ye.GITLAB })
8620
8631
  },
8621
8632
  acr: {
8622
8633
  value: "acr",
@@ -8640,7 +8651,7 @@ const a0 = ({
8640
8651
  defaultValue: "",
8641
8652
  placeholder: ""
8642
8653
  },
8643
- startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: He.ACR })
8654
+ startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: Ye.ACR })
8644
8655
  },
8645
8656
  "artifact-registry": {
8646
8657
  value: "artifact-registry",
@@ -8664,7 +8675,7 @@ const a0 = ({
8664
8675
  defaultValue: "",
8665
8676
  placeholder: "Paste json file content here"
8666
8677
  },
8667
- startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: He.ARTIFACT_REGISTRY })
8678
+ startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: Ye.ARTIFACT_REGISTRY })
8668
8679
  },
8669
8680
  gcr: {
8670
8681
  value: "gcr",
@@ -8688,7 +8699,7 @@ const a0 = ({
8688
8699
  defaultValue: "",
8689
8700
  placeholder: "Paste json file content here"
8690
8701
  },
8691
- startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: He.GCR })
8702
+ startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: Ye.GCR })
8692
8703
  },
8693
8704
  quay: {
8694
8705
  value: "quay",
@@ -8712,7 +8723,7 @@ const a0 = ({
8712
8723
  defaultValue: "",
8713
8724
  placeholder: ""
8714
8725
  },
8715
- startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: He.QUAY })
8726
+ startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: Ye.QUAY })
8716
8727
  },
8717
8728
  other: {
8718
8729
  value: "other",
@@ -8736,7 +8747,7 @@ const a0 = ({
8736
8747
  defaultValue: "",
8737
8748
  placeholder: ""
8738
8749
  },
8739
- startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: He.OTHER })
8750
+ startIcon: /* @__PURE__ */ t.jsx(Jt, { registryType: Ye.OTHER })
8740
8751
  }
8741
8752
  }, d0 = ({ name: e }) => /* @__PURE__ */ t.jsx("div", { className: "bg__secondary py-2 px-6 dc__mxw-200 br-4", children: /* @__PURE__ */ t.jsx(Q, { content: e, children: /* @__PURE__ */ t.jsx("span", { className: "dc__truncate cn-7 fs-12 fw-5 lh-16", children: e }) }) }), u0 = ({ targetPlatforms: e }) => e?.length ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-start", children: [
8742
8753
  /* @__PURE__ */ t.jsx(Zi, { className: "icon-dim-20 dc__no-shrink scn-7 p-2" }),
@@ -8877,7 +8888,7 @@ const a0 = ({
8877
8888
  color: "var(--N900)"
8878
8889
  })
8879
8890
  }, uH = (e) => /* @__PURE__ */ t.jsx(Ji, { ...e });
8880
- var ze = /* @__PURE__ */ ((e) => (e.CI = "CI", e.CD = "CD", e.GROUP_CI = "GROUP_CI", e.GROUP_CD = "GROUP_CD", e))(ze || {}), Ds = /* @__PURE__ */ ((e) => (e.SUCCESS = "SUCCESS", e.FETCHING = "FETCHING", e.SUSPEND = "SUSPEND", e))(Ds || {}), Ic = /* @__PURE__ */ ((e) => (e.WORKFLOW = "workflow", e.POD = "pod", e))(Ic || {}), Pe = /* @__PURE__ */ ((e) => (e.NOT_STARTED = "NOT_STARTED", e.RUNNING = "RUNNING", e.SUCCEEDED = "SUCCEEDED", e.FAILED = "FAILED", e.ABORTED = "ABORTED", e.TIMEOUT = "TIMEOUT", e.UNKNOWN = "UNKNOWN", e))(Pe || {}), vi = /* @__PURE__ */ ((e) => (e.PREPARATION = "Preparation", e.EXECUTION = "Execution", e))(vi || {}), f0 = /* @__PURE__ */ ((e) => (e.Healthy = "Healthy", e.Progressing = "Progressing", e.Unknown = "Unknown", e.Suspended = "Suspended", e.Degraded = "Degraded", e.Missing = "Missing", e))(f0 || {}), ps = /* @__PURE__ */ ((e) => (e.Degraded = "degraded", e.Healthy = "healthy", e.Progressing = "progressing", e.Missing = "missing", e.Suspended = "suspended", e.Unknown = "unknown", e))(ps || {}), mo = /* @__PURE__ */ ((e) => (e.drifted = "drifted", e))(mo || {});
8891
+ var ze = /* @__PURE__ */ ((e) => (e.CI = "CI", e.CD = "CD", e.GROUP_CI = "GROUP_CI", e.GROUP_CD = "GROUP_CD", e))(ze || {}), Ls = /* @__PURE__ */ ((e) => (e.SUCCESS = "SUCCESS", e.FETCHING = "FETCHING", e.SUSPEND = "SUSPEND", e))(Ls || {}), Ic = /* @__PURE__ */ ((e) => (e.WORKFLOW = "workflow", e.POD = "pod", e))(Ic || {}), Pe = /* @__PURE__ */ ((e) => (e.NOT_STARTED = "NOT_STARTED", e.RUNNING = "RUNNING", e.SUCCEEDED = "SUCCEEDED", e.FAILED = "FAILED", e.ABORTED = "ABORTED", e.TIMEOUT = "TIMEOUT", e.UNKNOWN = "UNKNOWN", e))(Pe || {}), vi = /* @__PURE__ */ ((e) => (e.PREPARATION = "Preparation", e.EXECUTION = "Execution", e))(vi || {}), f0 = /* @__PURE__ */ ((e) => (e.Healthy = "Healthy", e.Progressing = "Progressing", e.Unknown = "Unknown", e.Suspended = "Suspended", e.Degraded = "Degraded", e.Missing = "Missing", e))(f0 || {}), ps = /* @__PURE__ */ ((e) => (e.Degraded = "degraded", e.Healthy = "healthy", e.Progressing = "progressing", e.Missing = "missing", e.Suspended = "suspended", e.Unknown = "unknown", e))(ps || {}), mo = /* @__PURE__ */ ((e) => (e.drifted = "drifted", e))(mo || {});
8881
8892
  const Jl = {
8882
8893
  missing: 1,
8883
8894
  degraded: 2,
@@ -9199,7 +9210,7 @@ const h0 = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
9199
9210
  title: s || st.CD_EMPTY_STATE.TITLE,
9200
9211
  subTitle: n || st.CD_EMPTY_STATE.SUBTITLE,
9201
9212
  isButtonAvailable: !0,
9202
- imageType: Ws.Large,
9213
+ imageType: Ys.Large,
9203
9214
  renderButton: d
9204
9215
  }
9205
9216
  ) });
@@ -9440,7 +9451,7 @@ const D0 = (e, s) => {
9440
9451
  status: n || Pe.UNKNOWN,
9441
9452
  message: a || "",
9442
9453
  clusterId: o?.clusterId || po,
9443
- endTime: $s(r) ? r : ""
9454
+ endTime: Us(r) ? r : ""
9444
9455
  };
9445
9456
  }, Rc = (e) => {
9446
9457
  if (!Object.keys(e || {}).length)
@@ -9458,9 +9469,9 @@ const D0 = (e, s) => {
9458
9469
  return s.forEach(({ status: c, endTime: l }, d) => {
9459
9470
  (Or[c] || d === s.length - 1 && c === Pe.SUCCEEDED) && (i = l);
9460
9471
  }), {
9461
- triggeredOn: $s(r) ? r : "",
9462
- executionStartedOn: $s(a?.startTime) ? a?.startTime : "",
9463
- finishedOn: $s(i) ? i : "",
9472
+ triggeredOn: Us(r) ? r : "",
9473
+ executionStartedOn: Us(a?.startTime) ? a?.startTime : "",
9474
+ finishedOn: Us(i) ? i : "",
9464
9475
  currentStatus: o,
9465
9476
  workerDetails: G0(e)
9466
9477
  };
@@ -9477,7 +9488,7 @@ const D0 = (e, s) => {
9477
9488
  }, H0 = (e) => {
9478
9489
  const s = Rc(e);
9479
9490
  return s ? s.finishedOn ? !Or[s.currentStatus] && Or[s.workerDetails.status] ? /* @__PURE__ */ t.jsx(V, { name: "ic-warning", size: 20, color: null }) : jp(s.workerDetails.status) : /* @__PURE__ */ t.jsx(V, { name: "ic-in-progress", size: 20, color: null }) : /* @__PURE__ */ t.jsx(V, { name: "ic-help-outline", size: 20, color: "N500" });
9480
- }, Y0 = (e = po, s = b0) => `${ve.RESOURCE_BROWSER}/${e}/${s}/pod/${DA}`, Op = (e) => e ? e.toLowerCase() === "cancelled" ? "Aborted" : e === on.WAITING_TO_START ? "Waiting to start" : e : null, fo = (e) => $s(e) ? we(e, "YYYY-MM-DDTHH:mm:ssZ").format(Lt.TWELVE_HOURS_FORMAT) : "", W0 = (e) => (e || []).reduce(
9491
+ }, Y0 = (e = po, s = b0) => `${ve.RESOURCE_BROWSER}/${e}/${s}/pod/${DA}`, Op = (e) => e ? e.toLowerCase() === "cancelled" ? "Aborted" : e === on.WAITING_TO_START ? "Waiting to start" : e : null, fo = (e) => Us(e) ? we(e, "YYYY-MM-DDTHH:mm:ssZ").format(Lt.TWELVE_HOURS_FORMAT) : "", W0 = (e) => (e || []).reduce(
9481
9492
  (s, n) => {
9482
9493
  const a = n.health?.status?.toLowerCase() ?? "";
9483
9494
  switch (n.hasDrift && (s.driftedNodeCount += 1), a) {
@@ -10230,7 +10241,7 @@ const sR = {
10230
10241
  }
10231
10242
  )
10232
10243
  ] });
10233
- }, ad = (e) => e && e === Ds.FETCHING ? "?SHOW_APPLIED_FILTERS=true" : "";
10244
+ }, ad = (e) => e && e === Ls.FETCHING ? "?SHOW_APPLIED_FILTERS=true" : "";
10234
10245
  async function _R({
10235
10246
  appId: e,
10236
10247
  envId: s,
@@ -10691,7 +10702,7 @@ const SR = ({
10691
10702
  }) => {
10692
10703
  const x = p === "row", g = () => {
10693
10704
  switch (i) {
10694
- case Ws.Large:
10705
+ case Ys.Large:
10695
10706
  return { width: "250px", height: "200px" };
10696
10707
  default:
10697
10708
  return { width: "200px", height: "160px" };
@@ -10826,7 +10837,7 @@ const kn = ({
10826
10837
  reloadClass: a,
10827
10838
  redirectURL: r,
10828
10839
  on404Redirect: o,
10829
- imageType: i = Ws.Large
10840
+ imageType: i = Ys.Large
10830
10841
  }) => (() => {
10831
10842
  switch (e) {
10832
10843
  case Xe.BAD_REQUEST:
@@ -12556,7 +12567,7 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12556
12567
  }, i = (c) => {
12557
12568
  const { title: l, href: d, onClick: u, isActive: m, clearQueryParamsOnNavigation: p = !1 } = c;
12558
12569
  return /* @__PURE__ */ t.jsx(
12559
- Hs,
12570
+ Gs,
12560
12571
  {
12561
12572
  to: p ? { pathname: d, search: "" } : d,
12562
12573
  className: "collapsible__item flexbox dc__align-items-center dc__gap-8 dc__no-decor br-4 py-6 px-8 cursor",
@@ -12677,7 +12688,7 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12677
12688
  n.map(({ title: N, href: v, onClick: T, diffState: I, Icon: R }) => {
12678
12689
  const b = d ? Zn[I] : Zn.hasDiff;
12679
12690
  return /* @__PURE__ */ t.jsxs(
12680
- Hs,
12691
+ Gs,
12681
12692
  {
12682
12693
  "data-testid": "env-deployment-template",
12683
12694
  className: "dc__nav-item cursor dc__gap-8 fs-13 lh-32 cn-7 w-100 br-4 px-8 flexbox dc__align-items-center dc__no-decor",
@@ -12808,7 +12819,7 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12808
12819
  compareToObfuscatedData: Object.keys(i).length ? i : void 0,
12809
12820
  compareWithObfuscatedData: Object.keys(c).length ? c : void 0
12810
12821
  };
12811
- }, ws = (e, s) => {
12822
+ }, Os = (e, s) => {
12812
12823
  const { sortBy: n, sortOrder: a } = s ?? { sortBy: "", sortOrder: null };
12813
12824
  try {
12814
12825
  return JSON.stringify(
@@ -12835,26 +12846,26 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12835
12846
  displayName: "data",
12836
12847
  ...pd(e) ? {
12837
12848
  value: null,
12838
- resolvedValue: ws(u, o)
12849
+ resolvedValue: Os(u, o)
12839
12850
  } : {
12840
- value: ws(u, o)
12851
+ value: Os(u, o)
12841
12852
  }
12842
12853
  }, d = {
12843
12854
  displayName: "data",
12844
12855
  ...pd(s) ? {
12845
12856
  value: null,
12846
- resolvedValue: ws(m, o)
12857
+ resolvedValue: Os(m, o)
12847
12858
  } : {
12848
- value: ws(m, o)
12859
+ value: Os(m, o)
12849
12860
  }
12850
12861
  };
12851
12862
  } else
12852
12863
  l = {
12853
12864
  displayName: "data",
12854
- value: ws(i, o)
12865
+ value: Os(i, o)
12855
12866
  }, d = {
12856
12867
  displayName: "data",
12857
- value: ws(c, o)
12868
+ value: Os(c, o)
12858
12869
  };
12859
12870
  return { compareToCodeEditorData: l, compareWithCodeEditorData: d };
12860
12871
  }, ur = (e, s) => {
@@ -12894,7 +12905,7 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12894
12905
  }, hd = (e, s, n) => {
12895
12906
  const a = Cy(e), r = {
12896
12907
  displayName: "data",
12897
- value: a ? ws(a, n) : ""
12908
+ value: a ? Os(a, n) : ""
12898
12909
  };
12899
12910
  return fa(
12900
12911
  {
@@ -12915,7 +12926,7 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12915
12926
  }, xd = (e, s) => {
12916
12927
  const n = {
12917
12928
  displayName: "data",
12918
- value: e?.data ? ws(e.data, s) : ""
12929
+ value: e?.data ? Os(e.data, s) : ""
12919
12930
  };
12920
12931
  return fa(
12921
12932
  { ...e || {}, strategy: e?.Strategy, codeEditorValue: n },
@@ -13233,7 +13244,7 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13233
13244
  e.map(({ id: r, title: o, name: i, diffState: c, pathType: l }, d) => {
13234
13245
  const u = `${n}/${i ? `${l}/${i}` : l}`;
13235
13246
  return /* @__PURE__ */ t.jsxs(
13236
- Hs,
13247
+ Gs,
13237
13248
  {
13238
13249
  className: `cursor dc__no-decor px-16 py-12 flex dc__content-space dc__hover-n50 ${d !== e.length - 1 ? "dc__border-bottom-n1" : ""}`,
13239
13250
  to: u,
@@ -13896,7 +13907,7 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13896
13907
  fullScreenView: n,
13897
13908
  setFullScreenView: a
13898
13909
  }) => {
13899
- const { pathname: r } = as(), { registerShortcut: o, unregisterShortcut: i } = Ss(), c = Ye(() => {
13910
+ const { pathname: r } = as(), { registerShortcut: o, unregisterShortcut: i } = Ks(), c = Ge(() => {
13900
13911
  a(!n);
13901
13912
  }, [n]), l = !s || r.includes("/logs");
13902
13913
  return P(() => (l && e.length && o({ callback: c, keys: e }), () => {
@@ -14182,7 +14193,7 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14182
14193
  }, zy = ({ triggerDetails: e, isBlobStorageConfigured: s, parentType: n, fullScreenView: a }) => {
14183
14194
  const { pipelineId: r, envId: o, appId: i } = kt(), c = F(null), l = n === ze.CI ? `${Tr}/${Y.CI_CONFIG_GET}/${r}/workflow/${e.id}/logs` : `${Tr}/${Y.CD_MATERIAL_GET}/workflow/logs/${i}/${o}/${r}/${e.id}`, [d, u, m] = Ky(
14184
14195
  e.podStatus && e.podStatus !== $o.PENDING && l
14185
- ), [p, _] = w([]), [h, E] = w([]), [x, g] = w(0), [f, C] = w([]), { searchKey: N, handleSearch: v } = vc(), T = h.length > 0, I = X(() => p.every((W) => W.isOpen), [p]), R = I ? "Collapse all stages" : "Expand all stages", { registerShortcut: b, unregisterShortcut: A } = Ss(), y = d[0]?.startsWith(Ql) || !1;
14196
+ ), [p, _] = w([]), [h, E] = w([]), [x, g] = w(0), [f, C] = w([]), { searchKey: N, handleSearch: v } = vc(), T = h.length > 0, I = X(() => p.every((W) => W.isOpen), [p]), R = I ? "Collapse all stages" : "Expand all stages", { registerShortcut: b, unregisterShortcut: A } = Ks(), y = d[0]?.startsWith(Ql) || !1;
14186
14197
  function S({
14187
14198
  log: W,
14188
14199
  currentIndex: ce = -1,
@@ -14289,7 +14300,7 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14289
14300
  const W = k(x);
14290
14301
  _(W);
14291
14302
  }, [d, D]);
14292
- const j = Ye(() => {
14303
+ const j = Ge(() => {
14293
14304
  _(
14294
14305
  (W) => W.map((ce) => ({
14295
14306
  ...ce,
@@ -14880,8 +14891,8 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14880
14891
  }) => {
14881
14892
  if (!e && !s)
14882
14893
  return null;
14883
- const m = a && (!$s(r) || !we(r).isBefore(we().subtract(N0, "hours"))), p = () => m ? /* @__PURE__ */ t.jsx(
14884
- Hs,
14894
+ const m = a && (!Us(r) || !we(r).isBefore(we().subtract(N0, "hours"))), p = () => m ? /* @__PURE__ */ t.jsx(
14895
+ Gs,
14885
14896
  {
14886
14897
  to: `${Y0(o, i)}/${a}/logs`,
14887
14898
  target: "_blank",
@@ -15064,7 +15075,7 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15064
15075
  }
15065
15076
  ),
15066
15077
  children: /* @__PURE__ */ t.jsx(
15067
- Hs,
15078
+ Gs,
15068
15079
  {
15069
15080
  to: y,
15070
15081
  className: "w-100 deployment-history-card-container p-8 br-4",
@@ -15105,7 +15116,7 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15105
15116
  }
15106
15117
  );
15107
15118
  }
15108
- ), NH = Ge.memo(
15119
+ ), NH = He.memo(
15109
15120
  ({
15110
15121
  type: e,
15111
15122
  filterOptions: s,
@@ -15173,7 +15184,7 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15173
15184
  )
15174
15185
  ] }),
15175
15186
  /* @__PURE__ */ t.jsxs("div", { className: "flex column top left flex-grow-1 dc__overflow-auto p-8", children: [
15176
- o === Ds.SUCCESS && /* @__PURE__ */ t.jsx(nj, { handleViewAllHistory: i }),
15187
+ o === Ls.SUCCESS && /* @__PURE__ */ t.jsx(nj, { handleViewAllHistory: i }),
15177
15188
  Array.from(n).sort(([T], [I]) => I - T).map(([T, I], R) => /* @__PURE__ */ t.jsx(
15178
15189
  aj,
15179
15190
  {
@@ -15197,7 +15208,7 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15197
15208
  },
15198
15209
  T
15199
15210
  )),
15200
- a && (o === Ds.SUSPEND || !o) && /* @__PURE__ */ t.jsx(Xp, { callback: x })
15211
+ a && (o === Ls.SUSPEND || !o) && /* @__PURE__ */ t.jsx(Xp, { callback: x })
15201
15212
  ] })
15202
15213
  ] });
15203
15214
  }
@@ -15292,7 +15303,7 @@ const Oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15292
15303
  className: `display-grid dc__align-items-center dc__select-text image-chip-cell__container ${l ? "image-chip-cell__container--expanded" : ""} bcn-1 br-6 dc__transparent py-0 px-6 cursor max-w-100`,
15293
15304
  onClick: n || c,
15294
15305
  children: [
15295
- /* @__PURE__ */ t.jsx(Jt, { registryType: s || He.DOCKER, size: 14 }),
15306
+ /* @__PURE__ */ t.jsx(Jt, { registryType: s || Ye.DOCKER, size: 14 }),
15296
15307
  l ? /* @__PURE__ */ t.jsx("div", { className: "mono dc__ellipsis-left direction-left", children: e }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
15297
15308
  /* @__PURE__ */ t.jsx("div", { children: "…" }),
15298
15309
  /* @__PURE__ */ t.jsx("div", { className: "mono dc__ellipsis-left direction-left text-overflow-clip", children: e.split(":").slice(-1)[0] ?? "" })
@@ -15341,9 +15352,9 @@ const ij = (e) => {
15341
15352
  isLandscapeView: d = !1,
15342
15353
  showConfetti: u = !1
15343
15354
  }) => {
15344
- const { registerShortcut: m, unregisterShortcut: p } = Ss(), [_, h] = w(""), E = o?.identifier, x = o?.confirmationKeyword, { primaryButtonConfig: g, secondaryButtonConfig: f } = r, C = n ?? ij(a), N = a === zt.custom && !n, v = !!g?.disabled || x && _.trim() !== x, T = () => {
15355
+ const { registerShortcut: m, unregisterShortcut: p } = Ks(), [_, h] = w(""), E = o?.identifier, x = o?.confirmationKeyword, { primaryButtonConfig: g, secondaryButtonConfig: f } = r, C = n ?? ij(a), N = a === zt.custom && !n, v = !!g?.disabled || x && _.trim() !== x, T = () => {
15345
15356
  g && !v && g.onClick();
15346
- }, I = Ye(() => {
15357
+ }, I = Ge(() => {
15347
15358
  !g?.isLoading && !f?.disabled && c();
15348
15359
  }, [g, f]);
15349
15360
  P(() => (m({ keys: ["Enter"], callback: T }), () => {
@@ -15353,7 +15364,7 @@ const ij = (e) => {
15353
15364
  h(b.target.value);
15354
15365
  };
15355
15366
  return /* @__PURE__ */ t.jsxs(
15356
- Ks,
15367
+ Ws,
15357
15368
  {
15358
15369
  onEscape: l ? I : he,
15359
15370
  deactivateFocusOnEscape: l,
@@ -15437,7 +15448,7 @@ const ij = (e) => {
15437
15448
  setProps: a
15438
15449
  };
15439
15450
  }, []), /* @__PURE__ */ t.jsx(Tc, { ignoreTags: ["button"], children: /* @__PURE__ */ t.jsx(cn, { children: !!e && /* @__PURE__ */ t.jsx(dj, { ...n }) }) });
15440
- }, Gs = (e) => {
15451
+ }, Vs = (e) => {
15441
15452
  const { setModalKey: s, settersRef: n } = t_();
15442
15453
  return P(() => {
15443
15454
  const a = Dt();
@@ -15448,7 +15459,7 @@ const ij = (e) => {
15448
15459
  n.current.setProps(e);
15449
15460
  }, [e]), null;
15450
15461
  }, uj = ({ title: e, component: s, subtitle: n, closeConfirmationModal: a }) => /* @__PURE__ */ t.jsx(
15451
- Gs,
15462
+ Vs,
15452
15463
  {
15453
15464
  variant: zt.info,
15454
15465
  title: `Cannot delete ${s} '${e}'`,
@@ -15475,7 +15486,7 @@ const ij = (e) => {
15475
15486
  /* @__PURE__ */ t.jsx("p", { className: "m-0", children: "Do you want to force delete?" })
15476
15487
  ] });
15477
15488
  return /* @__PURE__ */ t.jsx(
15478
- Gs,
15489
+ Vs,
15479
15490
  {
15480
15491
  variant: zt.delete,
15481
15492
  title: e,
@@ -15539,7 +15550,7 @@ const ij = (e) => {
15539
15550
  closeConfirmationModal: R
15540
15551
  }
15541
15552
  ), y = () => /* @__PURE__ */ t.jsx(
15542
- Gs,
15553
+ Vs,
15543
15554
  {
15544
15555
  variant: zt.delete,
15545
15556
  title: `Delete ${n} '${e}'`,
@@ -15644,7 +15655,7 @@ const ij = (e) => {
15644
15655
  ] })
15645
15656
  ] }),
15646
15657
  o && /* @__PURE__ */ t.jsx(
15647
- Gs,
15658
+ Vs,
15648
15659
  {
15649
15660
  variant: zt.warning,
15650
15661
  title: s === ze.CD ? `Abort ${e.toLowerCase()}-deployment?` : "Abort build?",
@@ -15665,7 +15676,7 @@ const ij = (e) => {
15665
15676
  }
15666
15677
  ),
15667
15678
  c.status && /* @__PURE__ */ t.jsxs(
15668
- Gs,
15679
+ Vs,
15669
15680
  {
15670
15681
  variant: zt.warning,
15671
15682
  title: "Could not abort build!",
@@ -16012,7 +16023,7 @@ const ij = (e) => {
16012
16023
  );
16013
16024
  case "navLink":
16014
16025
  return /* @__PURE__ */ t.jsx(
16015
- Hs,
16026
+ Gs,
16016
16027
  {
16017
16028
  ref: C,
16018
16029
  className: `${T} dc__no-decor flexbox-col tab-group__tab__nav-link ${m ? "cursor-not-allowed" : ""}`,
@@ -16245,7 +16256,7 @@ const ij = (e) => {
16245
16256
  !!b && !!y
16246
16257
  ), M = co(S?.targetPlatforms), B = (W, ce, fe) => {
16247
16258
  if (fe) {
16248
- p?.result?.cdWorkflows?.length && n(z_(p.result.cdWorkflows, "id")), u(Ds.SUSPEND);
16259
+ p?.result?.cdWorkflows?.length && n(z_(p.result.cdWorkflows, "id")), u(Ls.SUSPEND);
16249
16260
  return;
16250
16261
  }
16251
16262
  if (W === ce?.id) {
@@ -16257,10 +16268,10 @@ const ij = (e) => {
16257
16268
  ...Ee ? { targetConfig: Ee } : {},
16258
16269
  ...ie ? { userApprovalMetadata: ie } : {}
16259
16270
  };
16260
- n((Ce) => (Ce.set(W, { ...ce, ...z }), new Map(Ce))), d === Ds.FETCHING && u(Ds.SUCCESS);
16271
+ n((Ce) => (Ce.set(W, { ...ce, ...z }), new Map(Ce))), d === Ls.FETCHING && u(Ls.SUCCESS);
16261
16272
  }
16262
16273
  };
16263
- let H = !!d && d !== Ds.SUSPEND;
16274
+ let H = !!d && d !== Ls.SUSPEND;
16264
16275
  (D?.result?.artifactId === 0 || S?.artifactId === 0) && (H = !1);
16265
16276
  const [J, ee, xe] = At(
16266
16277
  () => fR({
@@ -16466,7 +16477,7 @@ const ij = (e) => {
16466
16477
  _()
16467
16478
  ] });
16468
16479
  };
16469
- class La extends Ge.Component {
16480
+ class La extends He.Component {
16470
16481
  constructor(n) {
16471
16482
  super(n);
16472
16483
  ue(this, "handleBodyClick", (n) => {
@@ -16479,7 +16490,7 @@ class La extends Ge.Component {
16479
16490
  }
16480
16491
  render() {
16481
16492
  return /* @__PURE__ */ t.jsx(
16482
- Ks,
16493
+ Ws,
16483
16494
  {
16484
16495
  onEscape: this.escFunction,
16485
16496
  onClick: this.handleBodyClick,
@@ -16581,7 +16592,7 @@ const Oj = (e) => e?.appType === Et.DEVTRON_APP && e.resourceTree?.nodes?.length
16581
16592
  "’"
16582
16593
  ] }),
16583
16594
  /* @__PURE__ */ t.jsxs(
16584
- Hs,
16595
+ Gs,
16585
16596
  {
16586
16597
  to: `${ve.GLOBAL_CONFIG_DOCKER}/${e.dockerRegistryId}`,
16587
16598
  className: "cb-5 fs-13 anchor w-auto dc__no-decor flex ml-8",
@@ -16969,7 +16980,7 @@ const Dj = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
16969
16980
  /* @__PURE__ */ t.jsx(Mn, { status: D.deploymentStatus, hideIcon: !0 })
16970
16981
  ] }),
16971
16982
  subTitle: `Triggered at ${Ca(D.deploymentTriggerTime)} by ${D.triggeredBy}`,
16972
- imageType: Ws.Large
16983
+ imageType: Ys.Large
16973
16984
  }
16974
16985
  ) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
16975
16986
  /* @__PURE__ */ t.jsx(
@@ -17397,7 +17408,7 @@ const Vj = {
17397
17408
  IMAGE_SCAN: "Image Scan",
17398
17409
  CODE_SCAN: "Code Scan",
17399
17410
  KUBERNETES_MANIFEST: "Kubernetes Manifest"
17400
- }, Rs = {
17411
+ }, Is = {
17401
17412
  VULNERABILITIES: "Vulnerability",
17402
17413
  LICENSE: "License Risks",
17403
17414
  MISCONFIGURATIONS: "Misconfigurations",
@@ -18407,7 +18418,7 @@ const Vj = {
18407
18418
  default:
18408
18419
  return null;
18409
18420
  }
18410
- }, ys = ({ category: e, subCategory: s }) => JSON.stringify({ category: e, subCategory: s }), TO = (e) => {
18421
+ }, Rs = ({ category: e, subCategory: s }) => JSON.stringify({ category: e, subCategory: s }), TO = (e) => {
18411
18422
  const s = JSON.parse(e);
18412
18423
  return {
18413
18424
  category: s.category,
@@ -18429,8 +18440,8 @@ const Vj = {
18429
18440
  items: [
18430
18441
  {
18431
18442
  type: "item",
18432
- title: Rs.VULNERABILITIES,
18433
- id: ys({
18443
+ title: Is.VULNERABILITIES,
18444
+ id: Rs({
18434
18445
  category: me.IMAGE_SCAN,
18435
18446
  subCategory: ne.VULNERABILITIES
18436
18447
  })
@@ -18438,8 +18449,8 @@ const Vj = {
18438
18449
  ...a ? [
18439
18450
  {
18440
18451
  type: "item",
18441
- title: Rs.LICENSE,
18442
- id: ys({
18452
+ title: Is.LICENSE,
18453
+ id: Rs({
18443
18454
  category: me.IMAGE_SCAN,
18444
18455
  subCategory: ne.LICENSE
18445
18456
  })
@@ -18456,32 +18467,32 @@ const Vj = {
18456
18467
  items: [
18457
18468
  {
18458
18469
  type: "item",
18459
- title: Rs.VULNERABILITIES,
18460
- id: ys({
18470
+ title: Is.VULNERABILITIES,
18471
+ id: Rs({
18461
18472
  category: me.CODE_SCAN,
18462
18473
  subCategory: ne.VULNERABILITIES
18463
18474
  })
18464
18475
  },
18465
18476
  {
18466
18477
  type: "item",
18467
- title: Rs.LICENSE,
18468
- id: ys({
18478
+ title: Is.LICENSE,
18479
+ id: Rs({
18469
18480
  category: me.CODE_SCAN,
18470
18481
  subCategory: ne.LICENSE
18471
18482
  })
18472
18483
  },
18473
18484
  {
18474
18485
  type: "item",
18475
- title: Rs.MISCONFIGURATIONS,
18476
- id: ys({
18486
+ title: Is.MISCONFIGURATIONS,
18487
+ id: Rs({
18477
18488
  category: me.CODE_SCAN,
18478
18489
  subCategory: ne.MISCONFIGURATIONS
18479
18490
  })
18480
18491
  },
18481
18492
  {
18482
18493
  type: "item",
18483
- title: Rs.EXPOSED_SECRETS,
18484
- id: ys({
18494
+ title: Is.EXPOSED_SECRETS,
18495
+ id: Rs({
18485
18496
  category: me.CODE_SCAN,
18486
18497
  subCategory: ne.EXPOSED_SECRETS
18487
18498
  })
@@ -18497,16 +18508,16 @@ const Vj = {
18497
18508
  items: [
18498
18509
  {
18499
18510
  type: "item",
18500
- title: Rs.MISCONFIGURATIONS,
18501
- id: ys({
18511
+ title: Is.MISCONFIGURATIONS,
18512
+ id: Rs({
18502
18513
  category: me.KUBERNETES_MANIFEST,
18503
18514
  subCategory: ne.MISCONFIGURATIONS
18504
18515
  })
18505
18516
  },
18506
18517
  {
18507
18518
  type: "item",
18508
- title: Rs.EXPOSED_SECRETS,
18509
- id: ys({
18519
+ title: Is.EXPOSED_SECRETS,
18520
+ id: Rs({
18510
18521
  category: me.KUBERNETES_MANIFEST,
18511
18522
  subCategory: ne.EXPOSED_SECRETS
18512
18523
  })
@@ -18621,7 +18632,7 @@ const Vj = {
18621
18632
  ] }), x = () => {
18622
18633
  const f = vO(c, l.category, l.subCategory, _);
18623
18634
  if (f)
18624
- return /* @__PURE__ */ t.jsx(Ze, { ...f, imageType: Ws.Large });
18635
+ return /* @__PURE__ */ t.jsx(Ze, { ...f, imageType: Ys.Large });
18625
18636
  const { headers: C, rows: N, defaultSortIndex: v, hasExpandableRows: T } = _ || SO(c, l.category, l.subCategory, u, o), { entities: I, lastScanTimeString: R, scanToolName: b, scanToolUrl: A } = _ || bO(c, l.category, l.subCategory);
18626
18637
  return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col p-20 dc__gap-16", children: [
18627
18638
  I?.length ? /* @__PURE__ */ t.jsx(
@@ -18946,7 +18957,7 @@ const Vj = {
18946
18957
  );
18947
18958
  const _ = (f) => () => {
18948
18959
  d(f);
18949
- }, h = Ye(
18960
+ }, h = Ge(
18950
18961
  (f, C) => {
18951
18962
  const N = Ho.some((T) => T.label === u), v = yO[u] ?? ((T) => T);
18952
18963
  if (!N) {
@@ -19239,7 +19250,7 @@ const PH = ({
19239
19250
  }, v = () => {
19240
19251
  E.current.abort();
19241
19252
  }, T = () => /* @__PURE__ */ t.jsx(
19242
- Gs,
19253
+ Vs,
19243
19254
  {
19244
19255
  ...c,
19245
19256
  handleClose: g,
@@ -19987,7 +19998,7 @@ const kH = (e) => {
19987
19998
  skipValidation: r = !1,
19988
19999
  fallbackMergeStrategy: o
19989
20000
  }) => {
19990
- const i = a === Bs.Secret, {
20001
+ const i = a === Fs.Secret, {
19991
20002
  name: c,
19992
20003
  external: l,
19993
20004
  externalType: d,
@@ -20465,7 +20476,7 @@ const kH = (e) => {
20465
20476
  const _ = F(null), h = F(!0), E = s?.map((N) => ({
20466
20477
  ...N,
20467
20478
  options: N?.label === "Recently Visited" ? N.options?.slice(1) : N.options
20468
- })), { registerShortcut: x, unregisterShortcut: g } = Ss(), f = () => {
20479
+ })), { registerShortcut: x, unregisterShortcut: g } = Ks(), f = () => {
20469
20480
  h.current && ke.showToast({
20470
20481
  variant: Te.shortcut,
20471
20482
  text: "to switch Applications",
@@ -21077,7 +21088,7 @@ const E_ = ({
21077
21088
  preventWheelDisable: o = !1,
21078
21089
  noBackDrop: i
21079
21090
  }) => {
21080
- const c = Ge.useRef(null);
21091
+ const c = He.useRef(null);
21081
21092
  function l(u) {
21082
21093
  u.stopPropagation(), typeof a == "function" && (c && c.current?.contains(u.target) ? a(u, "in") : a(u, "out"));
21083
21094
  }
@@ -21086,7 +21097,7 @@ const E_ = ({
21086
21097
  }
21087
21098
  return P(() => (o || document.body.addEventListener("wheel", d, { passive: !1 }), () => {
21088
21099
  o || document.body.removeEventListener("wheel", d);
21089
- }), []), /* @__PURE__ */ t.jsx(Ks, { onEscape: he, onClick: l, hasClearBackground: i, children: /* @__PURE__ */ t.jsx(
21100
+ }), []), /* @__PURE__ */ t.jsx(Ws, { onEscape: he, onClick: l, hasClearBackground: i, children: /* @__PURE__ */ t.jsx(
21090
21101
  "div",
21091
21102
  {
21092
21103
  tabIndex: 0,
@@ -21101,9 +21112,9 @@ const E_ = ({
21101
21112
  children: s
21102
21113
  }
21103
21114
  ) });
21104
- }, C_ = Ge.createContext(null);
21115
+ }, C_ = He.createContext(null);
21105
21116
  function N_() {
21106
- const e = Ge.useContext(C_);
21117
+ const e = He.useContext(C_);
21107
21118
  if (!e)
21108
21119
  throw new Error("Select compound components cannot be rendered outside popupmenup");
21109
21120
  return e;
@@ -21115,8 +21126,8 @@ const Ot = ({
21115
21126
  autoPosition: a = !1,
21116
21127
  shouldPreventDefault: r = !1
21117
21128
  }) => {
21118
- const [o, i] = Ge.useState(null), [c, l] = Ge.useState(0), d = Ge.useRef(null), u = Ge.useRef(null), m = Ge.useRef(null);
21119
- Ge.useEffect(() => (d.current = window.IntersectionObserver ? new IntersectionObserver(_, p) : null, () => {
21129
+ const [o, i] = He.useState(null), [c, l] = He.useState(0), d = He.useRef(null), u = He.useRef(null), m = He.useRef(null);
21130
+ He.useEffect(() => (d.current = window.IntersectionObserver ? new IntersectionObserver(_, p) : null, () => {
21120
21131
  d && d.current && d.current.disconnect && d.current.disconnect();
21121
21132
  }), []), P(() => {
21122
21133
  typeof s == "function" && s(!!o);
@@ -21286,7 +21297,7 @@ const Bd = ({
21286
21297
  let b = { isValid: !0, messages: [] };
21287
21298
  return o === us.KEY ? (m || s.value) && (b = E.propagateTagKey(m)) : (r || m || s.propagate) && (b = E.propagateTagValue(m, s.key)), b.isValid ? null : /* @__PURE__ */ t.jsxs("div", { className: "p-4", onClick: ye, "data-testid": "tag-label-cross-stop-propagation", children: [
21288
21299
  b.messages.map((A) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox pr-4 pl-4", children: [
21289
- /* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(Ys, { className: "icon-dim-14 scr-5 mt-3 mr-4" }) }),
21300
+ /* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(Hs, { className: "icon-dim-14 scr-5 mt-3 mr-4" }) }),
21290
21301
  /* @__PURE__ */ t.jsx("span", { children: A })
21291
21302
  ] }, A)),
21292
21303
  o === us.KEY && /* @__PURE__ */ t.jsxs("div", { className: "flexbox pr-4 pl-4", children: [
@@ -21414,7 +21425,7 @@ const Bd = ({
21414
21425
  className: "dc__border pl-4 pr-4 dc__right-radius-4 pointer flex top",
21415
21426
  onClick: u,
21416
21427
  "data-testid": `delete-tag-${e}`,
21417
- children: /* @__PURE__ */ t.jsx(Ys, { className: "icon-dim-20 mt-4" })
21428
+ children: /* @__PURE__ */ t.jsx(Hs, { className: "icon-dim-20 mt-4" })
21418
21429
  }
21419
21430
  )
21420
21431
  ] });
@@ -21458,7 +21469,7 @@ const yw = ({
21458
21469
  dataTestId: "file-upload-remove-file-button",
21459
21470
  ariaLabel: "Remove File",
21460
21471
  showAriaLabelInTippy: !1,
21461
- icon: /* @__PURE__ */ t.jsx(Ys, {}),
21472
+ icon: /* @__PURE__ */ t.jsx(Hs, {}),
21462
21473
  onClick: l,
21463
21474
  variant: K.borderLess,
21464
21475
  style: oe.negativeGrey,
@@ -21764,7 +21775,7 @@ const yw = ({
21764
21775
  const T = F(null), [I, R] = w(""), { MIN_HEIGHT: b, AUTO_EXPANSION_MAX_HEIGHT: A } = Lw(m), y = (M) => {
21765
21776
  const B = T.current;
21766
21777
  B && (B.style.height = `${M}px`);
21767
- }, S = Ye((M) => {
21778
+ }, S = Ge((M) => {
21768
21779
  n && (typeof n == "function" ? n(M) : n.current = M), T.current = M;
21769
21780
  }, []), O = () => {
21770
21781
  const M = parseInt(T.current.style.height, 10);
@@ -22123,7 +22134,7 @@ const yw = ({
22123
22134
  var Vr = /* @__PURE__ */ ((e) => (e.GOT_IT = "Got it", e.VIEW_DOCUMENTATION = "View Documentation", e))(Vr || {});
22124
22135
  const Hd = (e) => {
22125
22136
  switch (e) {
22126
- case Ws.SMALL:
22137
+ case Ys.SMALL:
22127
22138
  return { width: "100%", height: "200px" };
22128
22139
  default:
22129
22140
  return { width: "100%", height: "250px" };
@@ -22388,7 +22399,7 @@ const Hd = (e) => {
22388
22399
  }
22389
22400
  ) })
22390
22401
  ] });
22391
- }, js = {
22402
+ }, ys = {
22392
22403
  width: 356,
22393
22404
  height: 504
22394
22405
  }, S_ = "No Defined Description", Bw = "No Defined Value", Vw = "What is scoped variable?", qo = (e, s) => e && s ? `"${e}":${s},` : "", Gw = ({
@@ -22566,7 +22577,7 @@ const Hd = (e) => {
22566
22577
  /* @__PURE__ */ t.jsx("div", { className: "h-100", children: /* @__PURE__ */ t.jsx(
22567
22578
  G,
22568
22579
  {
22569
- icon: /* @__PURE__ */ t.jsx(Ys, { className: Rn }),
22580
+ icon: /* @__PURE__ */ t.jsx(Hs, { className: Rn }),
22570
22581
  ariaLabel: "Close suggestions",
22571
22582
  showAriaLabelInTippy: !1,
22572
22583
  dataTestId: "deactivate-suggestions",
@@ -22671,17 +22682,17 @@ const Hd = (e) => {
22671
22682
  _({
22672
22683
  x: u.x,
22673
22684
  y: u.y
22674
- }), b.y > f.height - js.height && _({
22685
+ }), b.y > f.height - ys.height && _({
22675
22686
  x: u.x,
22676
- y: f.height - js.height - N.y
22677
- }), b.x > f.width - js.width && _({
22678
- x: f.width - js.width - N.x,
22687
+ y: f.height - ys.height - N.y
22688
+ }), b.x > f.width - ys.width && _({
22689
+ x: f.width - ys.width - N.x,
22679
22690
  y: u.y
22680
- }), b.x > f.width - js.width && b.y > f.height - js.height && _({
22681
- x: f.width - js.width - N.x,
22682
- y: f.height - js.height - N.y
22691
+ }), b.x > f.width - ys.width && b.y > f.height - ys.height && _({
22692
+ x: f.width - ys.width - N.x,
22693
+ y: f.height - ys.height - N.y
22683
22694
  }), d(!0);
22684
- }, T = Ye((b) => {
22695
+ }, T = Ge((b) => {
22685
22696
  b.stopPropagation(), d(!1);
22686
22697
  }, []), I = (b, A) => {
22687
22698
  const y = {
@@ -22913,7 +22924,7 @@ const Xw = (e) => e === v_.NONE ? "" : "dc__border-n1", _r = ({
22913
22924
  onEscape: o = he,
22914
22925
  closeOnBackdropClick: i = !1,
22915
22926
  children: c
22916
- }) => /* @__PURE__ */ t.jsx(cn, { children: s && /* @__PURE__ */ t.jsx(Qw, { value: { name: e, onClose: r }, children: /* @__PURE__ */ t.jsx(Ks, { onEscape: o, onClick: i ? r : he, children: /* @__PURE__ */ t.jsx(
22927
+ }) => /* @__PURE__ */ t.jsx(cn, { children: s && /* @__PURE__ */ t.jsx(Qw, { value: { name: e, onClose: r }, children: /* @__PURE__ */ t.jsx(Ws, { onEscape: o, onClick: i ? r : he, children: /* @__PURE__ */ t.jsx(
22917
22928
  Fe.div,
22918
22929
  {
22919
22930
  className: `shadow__modal flexbox-col bg__primary border__secondary br-${a} dc__m-auto mt-40 dc__overflow-hidden ${Zw[n]}`,
@@ -23409,12 +23420,12 @@ const EL = async (e, s) => {
23409
23420
  FEATURE_PROMO_EMBEDDED_BUTTON_TEXT: n,
23410
23421
  FEATURE_PROMO_EMBEDDED_MODAL_TITLE: a,
23411
23422
  FEATURE_PROMO_EMBEDDED_IFRAME_URL: r
23412
- } = window._env_, o = Ye(() => {
23423
+ } = window._env_, o = Ge(() => {
23413
23424
  s(!0), gs.event({
23414
23425
  category: "PRIMARY_HEADER",
23415
23426
  action: "HEADER_IFRAME_BUTTON_CLICKED"
23416
23427
  });
23417
- }, []), i = Ye(() => s(!1), []), c = () => /* @__PURE__ */ t.jsx(La, { close: i, children: /* @__PURE__ */ t.jsxs(
23428
+ }, []), i = Ge(() => s(!1), []), c = () => /* @__PURE__ */ t.jsx(La, { close: i, children: /* @__PURE__ */ t.jsxs(
23418
23429
  "div",
23419
23430
  {
23420
23431
  className: "modal-body--ci-material h-100 dc__overflow-hidden dc__border-left flex column dc__content-space w-100",
@@ -23939,19 +23950,19 @@ const jL = (e) => [
23939
23950
  p(),
23940
23951
  l ?? m()
23941
23952
  ] });
23942
- }, Ps = {
23953
+ }, Ds = {
23943
23954
  ACTIVE: "Active on",
23944
23955
  VIRTUAL_ENV: "Last deployed on",
23945
23956
  FAILED: "Last deployment failed on",
23946
23957
  DEPLOYING: "Deploying on"
23947
23958
  }, kL = (e) => {
23948
23959
  switch (e) {
23949
- case Ps.VIRTUAL_ENV:
23950
- case Ps.ACTIVE:
23960
+ case Ds.VIRTUAL_ENV:
23961
+ case Ds.ACTIVE:
23951
23962
  return { Icon: /* @__PURE__ */ t.jsx(em, { className: "icon-dim-16 scg-5" }), stateClassName: "bcg-1 eg-2" };
23952
- case Ps.FAILED:
23963
+ case Ds.FAILED:
23953
23964
  return { Icon: /* @__PURE__ */ t.jsx($g, { className: "icon-dim-16" }), stateClassName: "bcr-1 er-2" };
23954
- case Ps.DEPLOYING:
23965
+ case Ds.DEPLOYING:
23955
23966
  return {
23956
23967
  Icon: /* @__PURE__ */ t.jsx(V, { name: "ic-circle-loader", color: "O500" }),
23957
23968
  stateClassName: "bcy-1 ey-2"
@@ -23992,7 +24003,7 @@ const jL = (e) => [
23992
24003
  additionalInfo: d,
23993
24004
  targetPlatforms: u
23994
24005
  }) => {
23995
- const m = () => c ? Ps.VIRTUAL_ENV : Ps.ACTIVE, p = () => {
24006
+ const m = () => c ? Ds.VIRTUAL_ENV : Ds.ACTIVE, p = () => {
23996
24007
  if (l?.length) {
23997
24008
  const g = l.length === 1 ? l[0] : `${l.length} environments`;
23998
24009
  return /* @__PURE__ */ t.jsx(
@@ -24016,8 +24027,8 @@ const jL = (e) => [
24016
24027
  d
24017
24028
  ] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
24018
24029
  p(),
24019
- n === Ka.PROGRESSING && /* @__PURE__ */ t.jsx(Wn, { envStateText: Ps.DEPLOYING, title: a }),
24020
- (n === Ka.DEGRADED || n === Ka.FAILED) && /* @__PURE__ */ t.jsx(Wn, { envStateText: Ps.FAILED, title: a }),
24030
+ n === Ka.PROGRESSING && /* @__PURE__ */ t.jsx(Wn, { envStateText: Ds.DEPLOYING, title: a }),
24031
+ (n === Ka.DEGRADED || n === Ka.FAILED) && /* @__PURE__ */ t.jsx(Wn, { envStateText: Ds.FAILED, title: a }),
24021
24032
  i && /* @__PURE__ */ t.jsx(
24022
24033
  Wr,
24023
24034
  {
@@ -24404,7 +24415,7 @@ const FL = ({
24404
24415
  }
24405
24416
  );
24406
24417
  }, XL = 2;
24407
- var Fs = /* @__PURE__ */ ((e) => (e.ACTIVE = "ACTIVE", e.EXPIRED = "EXPIRED", e.REMINDER_THRESHOLD_REACHED = "REMINDER_THRESHOLD_REACHED", e))(Fs || {});
24418
+ var $s = /* @__PURE__ */ ((e) => (e.ACTIVE = "ACTIVE", e.EXPIRED = "EXPIRED", e.REMINDER_THRESHOLD_REACHED = "REMINDER_THRESHOLD_REACHED", e))($s || {});
24408
24419
  const JL = ({
24409
24420
  isFreemium: e,
24410
24421
  licenseStatus: s,
@@ -24413,9 +24424,9 @@ const JL = ({
24413
24424
  if (e)
24414
24425
  return n?.code === ic.ClusterLimitExceeded ? { bgColor: "var(--R100)", textColor: "var(--R500)" } : { bgColor: "var(--G100)", textColor: "var(--G500)" };
24415
24426
  switch (s) {
24416
- case Fs.ACTIVE:
24427
+ case $s.ACTIVE:
24417
24428
  return { bgColor: "var(--G100)", textColor: "var(--G500)" };
24418
- case Fs.REMINDER_THRESHOLD_REACHED:
24429
+ case $s.REMINDER_THRESHOLD_REACHED:
24419
24430
  return { bgColor: "var(--Y100)", textColor: "var(--Y700)" };
24420
24431
  default:
24421
24432
  return { bgColor: "var(--R100)", textColor: "var(--R500)" };
@@ -24423,7 +24434,7 @@ const JL = ({
24423
24434
  }, ZL = ({
24424
24435
  ttl: e,
24425
24436
  reminderThreshold: s
24426
- }) => e <= 0 ? Fs.EXPIRED : e < s * 24 * 60 * 60 ? Fs.REMINDER_THRESHOLD_REACHED : Fs.ACTIVE, QL = (e, s) => {
24437
+ }) => e <= 0 ? $s.EXPIRED : e < s * 24 * 60 * 60 ? $s.REMINDER_THRESHOLD_REACHED : $s.ACTIVE, QL = (e, s) => {
24427
24438
  const {
24428
24439
  isTrial: n,
24429
24440
  expiry: a,
@@ -24482,7 +24493,7 @@ const JL = ({
24482
24493
  );
24483
24494
  }, tD = ({ handleClose: e, fingerprint: s }) => {
24484
24495
  const n = w_(s);
24485
- return /* @__PURE__ */ t.jsx(Ks, { onEscape: e, children: /* @__PURE__ */ t.jsxs("div", { className: "dc__m-auto bg__menu--primary br-12 w-400 border__primary mt-40", children: [
24496
+ return /* @__PURE__ */ t.jsx(Ws, { onEscape: e, children: /* @__PURE__ */ t.jsxs("div", { className: "dc__m-auto bg__menu--primary br-12 w-400 border__primary mt-40", children: [
24486
24497
  /* @__PURE__ */ t.jsxs("div", { className: "p-24 flexbox-col dc__gap-20", children: [
24487
24498
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col cn-9 lh-1-5 dc__gap-4", children: [
24488
24499
  /* @__PURE__ */ t.jsx("div", { className: "fs-16 fw-6", children: "Get Devtron Enterprise License" }),
@@ -24562,7 +24573,7 @@ const JL = ({
24562
24573
  ariaLabel: "close activate license dialog",
24563
24574
  onClick: n,
24564
24575
  style: oe.negativeGrey,
24565
- icon: /* @__PURE__ */ t.jsx(Ys, {}),
24576
+ icon: /* @__PURE__ */ t.jsx(Hs, {}),
24566
24577
  showAriaLabelInTippy: !1
24567
24578
  }
24568
24579
  )
@@ -24661,9 +24672,9 @@ const JL = ({
24661
24672
  ] })
24662
24673
  ] });
24663
24674
  }
24664
- if (s === Fs.ACTIVE)
24675
+ if (s === $s.ACTIVE)
24665
24676
  return null;
24666
- const a = s === Fs.EXPIRED;
24677
+ const a = s === $s.EXPIRED;
24667
24678
  return /* @__PURE__ */ t.jsxs("div", { className: "p-16 fs-13 lh-1-5 flexbox-col dc__gap-8", children: [
24668
24679
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__content-space", children: [
24669
24680
  /* @__PURE__ */ t.jsxs("span", { children: [
@@ -24695,11 +24706,11 @@ const JL = ({
24695
24706
  handleCopySuccess: d,
24696
24707
  licenseStatusError: u
24697
24708
  }) => {
24698
- const { bgColor: m, textColor: p } = JL({ isFreemium: i, licenseStatus: r, licenseStatusError: u }), _ = RP(c), h = c < 0 ? `Expired ${_} ago` : `${_} remaining`, E = l === Ue.dark, x = F(null), g = oa(window.innerWidth), f = oa(window.innerHeight), C = Ls(f, (b) => {
24709
+ const { bgColor: m, textColor: p } = JL({ isFreemium: i, licenseStatus: r, licenseStatusError: u }), _ = RP(c), h = c < 0 ? `Expired ${_} ago` : `${_} remaining`, E = l === Ue.dark, x = F(null), g = oa(window.innerWidth), f = oa(window.innerHeight), C = ws(f, (b) => {
24699
24710
  if (!x.current) return 0;
24700
24711
  const A = x.current.getBoundingClientRect();
24701
24712
  return -(b - A.top - A.height / 2) / tu;
24702
- }), N = Ls(g, (b) => {
24713
+ }), N = ws(g, (b) => {
24703
24714
  if (!x.current) return 0;
24704
24715
  const A = x.current.getBoundingClientRect();
24705
24716
  return (b - A.left - A.width / 2) / tu;
@@ -24712,10 +24723,10 @@ const JL = ({
24712
24723
  window.removeEventListener("mousemove", b);
24713
24724
  };
24714
24725
  }, []);
24715
- const v = Ls(
24726
+ const v = ws(
24716
24727
  [C, N],
24717
24728
  ([b, A]) => b + A
24718
- ), T = Ls(v, [-5, 5], [-100, 200]), I = Ls(T, [-100, 50, 200], [0, E ? 0.25 : 0.1, 0]), R = E ? cl`linear-gradient(55deg, transparent, rgba(122, 127, 131, ${I}) ${T}%, transparent)` : cl`linear-gradient(55deg, transparent, rgba(255, 255, 255, ${I}) ${T}%, transparent)`;
24729
+ ), T = ws(v, [-5, 5], [-100, 200]), I = ws(T, [-100, 50, 200], [0, E ? 0.25 : 0.1, 0]), R = E ? cl`linear-gradient(55deg, transparent, rgba(122, 127, 131, ${I}) ${T}%, transparent)` : cl`linear-gradient(55deg, transparent, rgba(255, 255, 255, ${I}) ${T}%, transparent)`;
24719
24730
  return /* @__PURE__ */ t.jsxs("div", { className: "license-card-wrapper flexbox-col p-8 br-16", style: { backgroundColor: m }, children: [
24720
24731
  /* @__PURE__ */ t.jsx("div", { style: { perspective: "1000px" }, children: /* @__PURE__ */ t.jsxs(
24721
24732
  Fe.div,
@@ -25409,7 +25420,7 @@ const fD = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
25409
25420
  )),
25410
25421
  _ && /* @__PURE__ */ t.jsx(L_, {}),
25411
25422
  n > s.length && !_ && /* @__PURE__ */ t.jsx(Xp, { callback: g, hasError: E })
25412
- ] }) : o || r.length ? /* @__PURE__ */ t.jsx(Dc, { handleClearFilters: d, imageType: Ws.Large }) : /* @__PURE__ */ t.jsx(Ze, { title: "No plugins found", subTitle: "We are unable to locate any plugin in our system" });
25423
+ ] }) : o || r.length ? /* @__PURE__ */ t.jsx(Dc, { handleClearFilters: d, imageType: Ys.Large }) : /* @__PURE__ */ t.jsx(Ze, { title: "No plugins found", subTitle: "We are unable to locate any plugin in our system" });
25413
25424
  }, ED = ({
25414
25425
  availableTags: e,
25415
25426
  handleUpdateSelectedTags: s,
@@ -25633,7 +25644,7 @@ const fD = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
25633
25644
  };
25634
25645
  }, [e, s]), a ? Ju(n, a) : null;
25635
25646
  }, N6 = ({ isLoading: e, intervalTime: s = 50 }) => {
25636
- const n = oa(0), a = Qh(n, { stiffness: 50, damping: 20 }), r = Ls(a, (o) => `${o}%`);
25647
+ const n = oa(0), a = Qh(n, { stiffness: 50, damping: 20 }), r = ws(a, (o) => `${o}%`);
25637
25648
  return P(() => {
25638
25649
  let o = null;
25639
25650
  return e && (o = setInterval(() => {
@@ -25659,13 +25670,13 @@ const fD = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
25659
25670
  }
25660
25671
  ) });
25661
25672
  }, CD = ({ title: e, value: s, size: n, bgColor: a, fgColor: r }) => /* @__PURE__ */ t.jsx(Oh, { title: e, value: s, size: n, bgColor: `var(--${a})`, fgColor: `var(--${r})` }), ND = {
25662
- [Os.google]: "ic-google",
25663
- [Os.github]: "ic-github",
25664
- [Os.gitlab]: "ic-gitlab",
25665
- [Os.ldap]: "ic-ldap",
25666
- [Os.microsoft]: "ic-microsoft",
25667
- [Os.oidc]: "ic-oidc",
25668
- [Os.openshift]: "ic-openshift"
25673
+ [js.google]: "ic-google",
25674
+ [js.github]: "ic-github",
25675
+ [js.gitlab]: "ic-gitlab",
25676
+ [js.ldap]: "ic-ldap",
25677
+ [js.microsoft]: "ic-microsoft",
25678
+ [js.oidc]: "ic-oidc",
25679
+ [js.openshift]: "ic-openshift"
25669
25680
  }, b6 = ({ provider: e, size: s = 20 }) => /* @__PURE__ */ t.jsx(V, { name: ND[e], size: s, color: null }), bD = {
25670
25681
  [Ue.light]: null,
25671
25682
  [Ue.dark]: null,
@@ -25757,7 +25768,7 @@ const fD = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
25757
25768
  o(e, !0), s();
25758
25769
  };
25759
25770
  return /* @__PURE__ */ t.jsx(
25760
- Gs,
25771
+ Vs,
25761
25772
  {
25762
25773
  title: "Customize your theme",
25763
25774
  subtitle: "Select a theme that suits your preference",
@@ -26160,14 +26171,14 @@ const $D = ({
26160
26171
  handleToggleBulkSelectionOnRow: s,
26161
26172
  bulkSelectionReturnValue: n
26162
26173
  }, a, r, o) => {
26163
- const i = !!e, { registerShortcut: c, unregisterShortcut: l, targetProps: d } = Ss(), { handleBulkSelection: u } = n ?? {}, [m, p] = w(0), _ = F({ count: 0, type: "" }), h = Ye(
26174
+ const i = !!e, { registerShortcut: c, unregisterShortcut: l, targetProps: d } = Ks(), { handleBulkSelection: u } = n ?? {}, [m, p] = w(0), _ = F({ count: 0, type: "" }), h = Ge(
26164
26175
  (g) => {
26165
26176
  U_.dispatchEvent(
26166
26177
  new CustomEvent(g, { detail: { activeRowData: a[m] } })
26167
26178
  );
26168
26179
  },
26169
26180
  [m, a]
26170
- ), E = Ye(
26181
+ ), E = Ge(
26171
26182
  (g) => {
26172
26183
  _.current = g === _.current.type ? { count: _.current.count + 1, type: g } : { count: 1, type: g };
26173
26184
  const f = Math.min(m + 1, a.length - 1);
@@ -26177,7 +26188,7 @@ const $D = ({
26177
26188
  };
26178
26189
  },
26179
26190
  [m, a]
26180
- ), x = Ye(
26191
+ ), x = Ge(
26181
26192
  (g) => {
26182
26193
  _.current = g === _.current.type ? { count: _.current.count + 1, type: g } : { count: 1, type: g };
26183
26194
  const f = Math.max(m - 1, 0);
@@ -26456,8 +26467,8 @@ const $D = ({
26456
26467
  "data-active": Z,
26457
26468
  tabIndex: -1,
26458
26469
  children: [
26459
- r.map(({ field: Ke, horizontallySticky: vs, CellComponent: $n }, Fn) => {
26460
- const zs = Ke === gr, mn = vs || zs, { className: Fa = "", left: Ba = "" } = mn ? du(le, Fn) : {};
26470
+ r.map(({ field: Ke, horizontallySticky: Ss, CellComponent: $n }, Fn) => {
26471
+ const zs = Ke === gr, mn = Ss || zs, { className: Fa = "", left: Ba = "" } = mn ? du(le, Fn) : {};
26461
26472
  return zs ? /* @__PURE__ */ t.jsx(
26462
26473
  "div",
26463
26474
  {
@@ -26540,7 +26551,7 @@ const $D = ({
26540
26551
  showTippyOnTruncate: Ie,
26541
26552
  horizontallySticky: Me
26542
26553
  }, Ke) => {
26543
- const vs = !!ae?.range, Fn = Me || $ === gr, { className: zs = "", left: mn = "" } = Fn ? du(le, Ke) : {};
26554
+ const Ss = !!ae?.range, Fn = Me || $ === gr, { className: zs = "", left: mn = "" } = Fn ? du(le, Ke) : {};
26544
26555
  return $ === gr ? /* @__PURE__ */ t.jsx(
26545
26556
  "div",
26546
26557
  {
@@ -26573,7 +26584,7 @@ const $D = ({
26573
26584
  triggerSorting: et($),
26574
26585
  showTippyOnTruncate: Ie,
26575
26586
  disabled: E,
26576
- ...vs ? { isResizable: vs, handleResize: Ne, id: pe } : { isResizable: !1 }
26587
+ ...Ss ? { isResizable: Ss, handleResize: Ne, id: pe } : { isResizable: !1 }
26577
26588
  },
26578
26589
  $
26579
26590
  )
@@ -26811,7 +26822,7 @@ const $D = ({
26811
26822
  a({
26812
26823
  action: Ve.CLEAR_ALL_SELECTIONS
26813
26824
  });
26814
- }, i = Ye(
26825
+ }, i = Ge(
26815
26826
  (c) => {
26816
26827
  if (!n[c.id] && !r) {
26817
26828
  a({
@@ -27291,7 +27302,7 @@ const $D = ({
27291
27302
  ]
27292
27303
  }
27293
27304
  ) : j.as === "link" ? /* @__PURE__ */ t.jsxs(
27294
- Hs,
27305
+ Gs,
27295
27306
  {
27296
27307
  to: j.clearQueryParamsOnNavigation ? { pathname: j.href, search: "" } : j.href,
27297
27308
  className: `${J} ${j.isDisabled ? "dc__disabled" : ""}`,
@@ -27498,7 +27509,7 @@ const $D = ({
27498
27509
  className: "w-8 h-20 bcn-9 ml-2 dc__inline-block br-2"
27499
27510
  }
27500
27511
  ), y6 = (e) => {
27501
- const s = oa(0), n = Ls(s, (a) => e.slice(0, Math.floor(a)));
27512
+ const s = oa(0), n = ws(s, (a) => e.slice(0, Math.floor(a)));
27502
27513
  return P(() => ra(s, e.length, {
27503
27514
  type: "tween",
27504
27515
  duration: 4,
@@ -27508,7 +27519,7 @@ const $D = ({
27508
27519
  /* @__PURE__ */ t.jsx(tc, { className: "icon-dim-20 dc__no-shrink" }),
27509
27520
  /* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-13 fw-4 lh-20", children: "Unsaved changes" })
27510
27521
  ] }), O6 = ({ handleClose: e, handleProceed: s }) => /* @__PURE__ */ t.jsx(
27511
- Gs,
27522
+ Vs,
27512
27523
  {
27513
27524
  handleClose: e,
27514
27525
  variant: zt.warning,
@@ -27632,7 +27643,7 @@ const $D = ({
27632
27643
  title: "Deploy Image from External Service",
27633
27644
  subtitle: "Receive images from an external service (eg. jenkins) & deploy to an environment.",
27634
27645
  dataTestId: "deploy-image-external-service-link",
27635
- type: Ms.WEBHOOK,
27646
+ type: Ps.WEBHOOK,
27636
27647
  icons: [
27637
27648
  { name: "ic-webhook", color: null },
27638
27649
  { name: "ic-deploy-color", color: null }
@@ -27713,9 +27724,9 @@ const $D = ({
27713
27724
  }) => {
27714
27725
  if (!e || !s)
27715
27726
  return null;
27716
- const n = e.find((o) => +o.id === s.appWorkflowId), a = n.nodes.find((o) => o.type === Ms.CI);
27717
- if (n.nodes.some((o) => o.type === Ms.WEBHOOK))
27718
- return Ms.WEBHOOK;
27727
+ const n = e.find((o) => +o.id === s.appWorkflowId), a = n.nodes.find((o) => o.type === Ps.CI);
27728
+ if (n.nodes.some((o) => o.type === Ps.WEBHOOK))
27729
+ return Ps.WEBHOOK;
27719
27730
  if (a) {
27720
27731
  if (a.isJobCI)
27721
27732
  return dt.JOB_CI;
@@ -27789,7 +27800,7 @@ const $D = ({
27789
27800
  ), C = () => {
27790
27801
  p(), l();
27791
27802
  }, N = () => {
27792
- if (o && i.find((y) => +y.id === o.appWorkflowId).nodes.some((y) => y.type === Ms.CD)) {
27803
+ if (o && i.find((y) => +y.id === o.appWorkflowId).nodes.some((y) => y.type === Ps.CD)) {
27793
27804
  h(!0), hS(pP(o), {
27794
27805
  isTemplateView: m
27795
27806
  }).then((y) => {
@@ -27959,8 +27970,8 @@ const G_ = () => {
27959
27970
  window.open(so);
27960
27971
  };
27961
27972
  function Yr(e, s) {
27962
- const n = Ge.useRef(!0);
27963
- Ge.useEffect(() => {
27973
+ const n = He.useRef(!0);
27974
+ He.useEffect(() => {
27964
27975
  if (!n.current)
27965
27976
  return e();
27966
27977
  n.current = !1;
@@ -28249,7 +28260,7 @@ function K_(e, s) {
28249
28260
  }, [s]);
28250
28261
  }
28251
28262
  function Z6(e) {
28252
- const s = F(null), n = F(0), a = F(null), [r, o] = w(0), [i, c] = w(0), [l, d] = w(!1), u = Ye((g) => {
28263
+ const s = F(null), n = F(0), a = F(null), [r, o] = w(0), [i, c] = w(0), [l, d] = w(!1), u = Ge((g) => {
28253
28264
  if (g !== null)
28254
28265
  return s.current = g, a.current = g.addEventListener("wheel", m), n.current = requestAnimationFrame(x), () => {
28255
28266
  g.removeEventListener("wheel", m), cancelAnimationFrame(n.current);
@@ -28581,12 +28592,12 @@ const wP = new kh({
28581
28592
  setState: null
28582
28593
  });
28583
28594
  function kP() {
28584
- const e = Ge.useContext(X_);
28595
+ const e = He.useContext(X_);
28585
28596
  if (!e)
28586
28597
  throw new Error("breadcrumb components cannot be used outside Breadcrumb context");
28587
28598
  return e;
28588
28599
  }
28589
- Ge.createContext(null);
28600
+ He.createContext(null);
28590
28601
  function u3(e, s) {
28591
28602
  const n = e?.sep || "/";
28592
28603
  s = s || [];
@@ -28630,7 +28641,7 @@ const J_ = ({
28630
28641
  className: n = "dc__devtron-breadcrumb__item"
28631
28642
  }) => {
28632
28643
  const { url: a } = Ns(), r = e.filter((o) => !!o.name);
28633
- return /* @__PURE__ */ t.jsx(t.Fragment, { children: r.map((o, i) => /* @__PURE__ */ t.jsxs(Ge.Fragment, { children: [
28644
+ return /* @__PURE__ */ t.jsx(t.Fragment, { children: r.map((o, i) => /* @__PURE__ */ t.jsxs(He.Fragment, { children: [
28634
28645
  /* @__PURE__ */ t.jsx(
28635
28646
  pt,
28636
28647
  {
@@ -29437,7 +29448,7 @@ const Z_ = ({
29437
29448
  } : Me);
29438
29449
  D(ae);
29439
29450
  const Ie = b.map((Me) => {
29440
- const Ke = ae.find((vs) => vs.tagName === Me.tagName);
29451
+ const Ke = ae.find((Ss) => Ss.tagName === Me.tagName);
29441
29452
  return Ke ? { ...Me, duplicateTag: Ke.duplicateTag } : Me;
29442
29453
  });
29443
29454
  A(Ie);
@@ -29688,7 +29699,7 @@ const Z_ = ({
29688
29699
  ),
29689
29700
  e,
29690
29701
  /* @__PURE__ */ t.jsx(Re, { className: "default-tt", arrow: !0, placement: "top", content: "Remove tag", children: /* @__PURE__ */ t.jsx("div", { className: `action-icon ml-4 lh-16 pt-3 ${_ ? "show-icon" : ""}`, children: /* @__PURE__ */ t.jsx(
29691
- Ys,
29702
+ Hs,
29692
29703
  {
29693
29704
  className: "icon-dim-12 fcn-6 cursor",
29694
29705
  "data-testid": `${e}-tag-hard-delete`,
@@ -29748,7 +29759,7 @@ const Z_ = ({
29748
29759
  )
29749
29760
  }
29750
29761
  );
29751
- class XP extends Ge.Component {
29762
+ class XP extends He.Component {
29752
29763
  constructor(n) {
29753
29764
  super(n);
29754
29765
  ue(this, "handleBodyClick", (n) => {
@@ -29757,7 +29768,7 @@ class XP extends Ge.Component {
29757
29768
  }
29758
29769
  render() {
29759
29770
  return /* @__PURE__ */ t.jsx(
29760
- Ks,
29771
+ Ws,
29761
29772
  {
29762
29773
  onEscape: this.props.close,
29763
29774
  onClick: this.handleBodyClick,
@@ -29768,14 +29779,14 @@ class XP extends Ge.Component {
29768
29779
  }
29769
29780
  }
29770
29781
  var JP = /* @__PURE__ */ ((e) => (e.PRE_CI = "PRE_CI", e.POST_CI = "POST_CI", e.PRE_OR_POST_CI = "PRE_OR_POST_CI", e.PRE_CD = "PRE_CD", e.POST_CD = "POST_CD", e))(JP || {}), ZP = /* @__PURE__ */ ((e) => (e.PRE_STAGE = "preBuildStage", e.POST_STAGE = "postBuildStage", e.PRE_OR_POST_STAGE = "PRE_OR_POST_CI", e))(ZP || {}), QP = /* @__PURE__ */ ((e) => (e.BLOCK = "BLOCK", e.ALLOW_UNTIL_TIME = "ALLOW_UNTIL_TIME", e.ALLOW_FOREVER = "ALLOW_FOREVER", e))(QP || {});
29771
- const Q_ = Ge.createContext(null);
29782
+ const Q_ = He.createContext(null);
29772
29783
  function e1() {
29773
- const e = Ge.useContext(Q_);
29784
+ const e = He.useContext(Q_);
29774
29785
  if (!e)
29775
29786
  throw new Error("Radio compound components cannot be rendered outside the Toggle component");
29776
29787
  return e;
29777
29788
  }
29778
- const Na = Ge.memo(
29789
+ const Na = He.memo(
29779
29790
  ({ name: e, onChange: s, children: n, className: a = "", initialTab: r, disabled: o = !1 }) => {
29780
29791
  const [i, c] = w(null);
29781
29792
  P(() => {
@@ -29858,10 +29869,10 @@ const n1 = (e) => {
29858
29869
  keyboardShortcut: u,
29859
29870
  variant: m = "default"
29860
29871
  }) => {
29861
- const [p, _] = w(!!e), h = F(), E = Ye(W_(s, i), [
29872
+ const [p, _] = w(!!e), h = F(), E = Ge(W_(s, i), [
29862
29873
  s,
29863
29874
  i
29864
- ]), { registerShortcut: x, unregisterShortcut: g } = Ss();
29875
+ ]), { registerShortcut: x, unregisterShortcut: g } = Ks();
29865
29876
  P(() => {
29866
29877
  h.current.value = e, _(!!e);
29867
29878
  }, [e]), P(() => u ? (x({
@@ -30036,9 +30047,9 @@ const n1 = (e) => {
30036
30047
  }) })
30037
30048
  }
30038
30049
  );
30039
- }, tf = Ge.createContext(null);
30050
+ }, tf = He.createContext(null);
30040
30051
  function $a() {
30041
- const e = Ge.useContext(tf);
30052
+ const e = He.useContext(tf);
30042
30053
  if (!e)
30043
30054
  throw new Error("Select compound components cannot be rendered outside the Toggle component");
30044
30055
  return e;
@@ -30056,7 +30067,7 @@ const Un = ({
30056
30067
  isKebab: d = !1,
30057
30068
  dataTestId: u = ""
30058
30069
  }) => {
30059
- const [m, p] = Ge.useState(n), [_, h] = Ge.useState(!1), [E, x] = Ge.useState(""), [g, f] = Ge.useState(!1);
30070
+ const [m, p] = He.useState(n), [_, h] = He.useState(!1), [E, x] = He.useState(""), [g, f] = He.useState(!1);
30060
30071
  useEffectAfterMount(() => {
30061
30072
  m !== n && h(!1);
30062
30073
  }, [m]), useEffectAfterMount(() => {
@@ -30066,7 +30077,7 @@ const Un = ({
30066
30077
  p(b), R.target.name = c, R.target.value = b, s(R);
30067
30078
  }
30068
30079
  if (!e) return null;
30069
- const { button: N, body: v, optionLength: T, AsyncComponent: I } = Ge.Children.toArray(e).reduce(
30080
+ const { button: N, body: v, optionLength: T, AsyncComponent: I } = He.Children.toArray(e).reduce(
30070
30081
  (R, b) => (b.type === af ? R.button = b : b.type === rf ? R.AsyncComponent = b : ((b.type === sf || b.type === nf) && (R.optionLength += 1), R.body.push(b)), R),
30071
30082
  { button: null, body: [], optionLength: 0, AsyncComponent: null }
30072
30083
  );
@@ -30323,7 +30334,7 @@ export {
30323
30334
  xt as b5,
30324
30335
  WV as b6,
30325
30336
  Sm as b7,
30326
- Os as b8,
30337
+ js as b8,
30327
30338
  _l as b9,
30328
30339
  EP as bA,
30329
30340
  So as bB,
@@ -30436,7 +30447,7 @@ export {
30436
30447
  gp as cq,
30437
30448
  Ti as cr,
30438
30449
  Ep as cs,
30439
- Ss as ct,
30450
+ Ks as ct,
30440
30451
  Tc as cu,
30441
30452
  Sc as cv,
30442
30453
  II as cw,
@@ -30449,7 +30460,7 @@ export {
30449
30460
  gG as d1,
30450
30461
  va as d2,
30451
30462
  St as d3,
30452
- Ws as d4,
30463
+ Ys as d4,
30453
30464
  zn as d5,
30454
30465
  jt as d6,
30455
30466
  hm as d7,
@@ -30492,7 +30503,7 @@ export {
30492
30503
  vt as dh,
30493
30504
  tT as di,
30494
30505
  Cn as dj,
30495
- Ms as dk,
30506
+ Ps as dk,
30496
30507
  la as dl,
30497
30508
  ii as dm,
30498
30509
  sT as dn,
@@ -30518,14 +30529,14 @@ export {
30518
30529
  r4 as e6,
30519
30530
  oA as e7,
30520
30531
  KG as e8,
30521
- Vs as e9,
30532
+ Bs as e9,
30522
30533
  cA as eA,
30523
30534
  lA as eB,
30524
30535
  U as eC,
30525
30536
  Zt as eD,
30526
30537
  je as eE,
30527
30538
  Ym as eF,
30528
- Us as eG,
30539
+ ks as eG,
30529
30540
  Wm as eH,
30530
30541
  Ar as eI,
30531
30542
  ma as eJ,
@@ -30593,7 +30604,7 @@ export {
30593
30604
  AH as fG,
30594
30605
  gt as fH,
30595
30606
  IH as fI,
30596
- Ks as fJ,
30607
+ Ws as fJ,
30597
30608
  _n as fK,
30598
30609
  PH as fL,
30599
30610
  PO as fM,
@@ -30696,7 +30707,7 @@ export {
30696
30707
  mH as gr,
30697
30708
  rj as gs,
30698
30709
  ze as gt,
30699
- Ds as gu,
30710
+ Ls as gu,
30700
30711
  Ic as gv,
30701
30712
  Pe as gw,
30702
30713
  vi as gx,
@@ -30748,7 +30759,7 @@ export {
30748
30759
  oj as he,
30749
30760
  uj as hf,
30750
30761
  TH as hg,
30751
- Gs as hh,
30762
+ Vs as hh,
30752
30763
  bH as hi,
30753
30764
  pj as hj,
30754
30765
  mj as hk,
@@ -30804,7 +30815,7 @@ export {
30804
30815
  nD as iW,
30805
30816
  c6 as iX,
30806
30817
  QL as iY,
30807
- Fs as iZ,
30818
+ $s as iZ,
30808
30819
  nu as i_,
30809
30820
  XH as ia,
30810
30821
  wj as ib,
@@ -30848,7 +30859,7 @@ export {
30848
30859
  LH as jD,
30849
30860
  Ur as jE,
30850
30861
  TO as jF,
30851
- ys as jG,
30862
+ Rs as jG,
30852
30863
  wH as jH,
30853
30864
  ms as jI,
30854
30865
  d_ as jJ,
@@ -30985,7 +30996,7 @@ export {
30985
30996
  D4 as lK,
30986
30997
  mp as lL,
30987
30998
  bi as lM,
30988
- $s as lN,
30999
+ Us as lN,
30989
31000
  zA as lO,
30990
31001
  qA as lP,
30991
31002
  ir as lQ,
@@ -31050,7 +31061,7 @@ export {
31050
31061
  es as mK,
31051
31062
  fi as mL,
31052
31063
  _t as mM,
31053
- Bs as mN,
31064
+ Fs as mN,
31054
31065
  ao as mO,
31055
31066
  Bm as mP,
31056
31067
  fS as mQ,
@@ -31098,7 +31109,7 @@ export {
31098
31109
  CT as n4,
31099
31110
  _e as n5,
31100
31111
  Et as n6,
31101
- He as n7,
31112
+ Ye as n7,
31102
31113
  rc as n8,
31103
31114
  fn as n9,
31104
31115
  hn as nA,