@devtron-labs/devtron-fe-common-lib 1.2.10 → 1.2.11

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,11 +6,11 @@ var gc = (e, s, n) => s in e ? hc(e, s, { enumerable: !0, configurable: !0, writ
6
6
  var Ge = (e, s, n) => gc(e, typeof s != "symbol" ? s + "" : s, n), Ir = (e, s, n) => s.has(e) || vr("Cannot " + n);
7
7
  var ha = (e, s, n) => (Ir(e, s, "read from private field"), n ? n.call(e) : s.get(e)), Ar = (e, s, n) => s.has(e) ? vr("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), jr = (e, s, n, a) => (Ir(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
8
8
  import { j as t, i as ee, Q as ga, k as xc, d as ni, h as Ec, A as Nc, R as bc, s as Cc, c as Tc, f as ai, a as ri, u as oi, J as Sc, b as vc, e as Ic, m as Xt } from "./@vendor-DI8rS9OQ.js";
9
- import Z, { useState as j, cloneElement as La, createContext as Vt, useContext as tn, useMemo as se, useEffect as P, Component as Jn, createElement as ir, useCallback as ye, useRef as q, Fragment as Cs, useReducer as Ac, createRef as Pt } from "react";
10
- import jc, { ReactComponent as Ut } from "./assets/ic-chevron-down.fc70d7a7.svg";
9
+ import Z, { useState as j, cloneElement as La, createContext as Vt, useContext as tn, useMemo as se, useEffect as P, Component as Jn, createElement as ir, useCallback as ye, useRef as q, Fragment as Cs, useReducer as Ac, createRef as Dt } from "react";
10
+ import jc, { ReactComponent as Bt } from "./assets/ic-chevron-down.fc70d7a7.svg";
11
11
  import { ReactComponent as yc } from "./assets/ic-check-square.2a3d3fb9.svg";
12
12
  import { ReactComponent as Lc } from "./assets/ic-check-all.0376437d.svg";
13
- import { ReactComponent as qe } from "./assets/ic-close.43adc42a.svg";
13
+ import { ReactComponent as et } from "./assets/ic-close.43adc42a.svg";
14
14
  import { ReactComponent as Rc } from "./assets/ic-world.1f6a5eaf.svg";
15
15
  import { ReactComponent as wc } from "./assets/ic-rocket-fail.874e54ce.svg";
16
16
  import { ReactComponent as Oc } from "./assets/ic-nav-rocket.9e50bb61.svg";
@@ -21,7 +21,7 @@ import { ReactComponent as vt } from "./assets/ic-warning.10bcf8bd.svg";
21
21
  import { ReactComponent as Dc } from "./assets/ic-cpu.8be677ee.svg";
22
22
  import { ReactComponent as Mc } from "./assets/ic-memory.c4159f96.svg";
23
23
  import { ReactComponent as ci } from "./assets/ic-timer.b62145ec.svg";
24
- import { Link as os, useLocation as Gt, useHistory as Ht, NavLink as Ke, useParams as et, useRouteMatch as At, generatePath as es, Switch as di, Route as Qt, Redirect as kc } from "react-router-dom";
24
+ import { Link as os, useLocation as Gt, useHistory as Ht, NavLink as Ke, useParams as tt, useRouteMatch as At, generatePath as es, Switch as di, Route as Qt, Redirect as kc } from "react-router-dom";
25
25
  import { ReactComponent as Uc } from "./assets/ic-delete-interactive.304dd293.svg";
26
26
  import ts from "yaml";
27
27
  import { ReactComponent as lr } from "./assets/ic-info-filled-override.99e8094a.svg";
@@ -31,7 +31,8 @@ import ks from "./assets/ic-page-not-found.da74a367.svg";
31
31
  import $c, { ReactComponent as ui } from "./assets/ic-mechanical-operation.08b38afd.svg";
32
32
  import { ReactComponent as Fc } from "./assets/ic-clair.ba79956f.svg";
33
33
  import { ReactComponent as Vc } from "./assets/ic-trivy.d5338454.svg";
34
- import { ReactComponent as Gc } from "./assets/ic-caret-left-small.fe00c98d.svg";
34
+ import Gc, { ReactComponent as Lt } from "./assets/ic-cross.01e03666.svg";
35
+ import { ReactComponent as Hc } from "./assets/ic-caret-left-small.fe00c98d.svg";
35
36
  import { ReactComponent as Ts } from "./assets/ic-info-outlined.f4fa3224.svg";
36
37
  import { ReactComponent as js } from "./assets/ic-error-cross.bf21e563.svg";
37
38
  import { ReactComponent as mi } from "./assets/ic-success.8c8fe69d.svg";
@@ -42,81 +43,80 @@ import { ReactComponent as fi } from "./assets/ic-arrow-up-down.945ee496.svg";
42
43
  import { ReactComponent as Qn } from "./assets/ic-sort-arrow-down.5cf54d08.svg";
43
44
  import { ReactComponent as _i } from "./assets/ic-abort.0d2773e9.svg";
44
45
  import { ReactComponent as Zn } from "./assets/ic-pencil.c75a6acc.svg";
45
- import { ReactComponent as Hc } from "./assets/ic-caret-down-small.2cc24039.svg";
46
- import { ReactComponent as Yc } from "./assets/ic-charts.f41e185f.svg";
46
+ import { ReactComponent as Yc } from "./assets/ic-caret-down-small.2cc24039.svg";
47
+ import { ReactComponent as Wc } from "./assets/ic-charts.f41e185f.svg";
47
48
  import { ReactComponent as sn } from "./assets/ic-add.cfaa779b.svg";
48
- import { ReactComponent as Wc } from "./assets/ic-k8s-job.f4414c10.svg";
49
+ import { ReactComponent as Kc } from "./assets/ic-k8s-job.f4414c10.svg";
49
50
  import nn from "react-ga4";
50
- import Kc from "./assets/lifebuoy.7d8fdf27.png";
51
- import { SliderButton as zc } from "@typeform/embed-react";
51
+ import zc from "./assets/lifebuoy.7d8fdf27.png";
52
+ import { SliderButton as qc } from "@typeform/embed-react";
52
53
  import { ReactComponent as hi } from "./assets/ic-chat-circle-dots.e15514f8.svg";
53
54
  import { ReactComponent as dr } from "./assets/ic-edit-file.a782640f.svg";
54
- import { ReactComponent as qc } from "./assets/ic-files.fc290dee.svg";
55
- import { ReactComponent as Xc } from "./assets/ic-onboarding.c98f9ef9.svg";
56
- import { ReactComponent as Jc } from "./assets/ic-feedback.d32fa6b0.svg";
57
- import { ReactComponent as Qc } from "./assets/ic-discord-fill.1a1b291d.svg";
58
- import { ReactComponent as Zc } from "./assets/ic-file-text.f9563710.svg";
55
+ import { ReactComponent as Xc } from "./assets/ic-files.fc290dee.svg";
56
+ import { ReactComponent as Jc } from "./assets/ic-onboarding.c98f9ef9.svg";
57
+ import { ReactComponent as Qc } from "./assets/ic-feedback.d32fa6b0.svg";
58
+ import { ReactComponent as Zc } from "./assets/ic-discord-fill.1a1b291d.svg";
59
+ import { ReactComponent as ed } from "./assets/ic-file-text.f9563710.svg";
59
60
  import { ReactComponent as ys } from "./assets/ic-help-outline.9c012a0c.svg";
60
- import { ReactComponent as ed } from "./assets/ic-megaphone.b9f9a901.svg";
61
+ import { ReactComponent as td } from "./assets/ic-megaphone.b9f9a901.svg";
61
62
  import ea, { components as ve } from "react-select";
62
63
  import { ReactComponent as gi } from "./assets/ic-arrow-square-out.1be837ac.svg";
63
- import { ReactComponent as td } from "./assets/ic-arrow-backward.d951202a.svg";
64
- import sd, { ReactComponent as ur } from "./assets/ic-docker.48906f4d.svg";
65
- import { ReactComponent as nd } from "./assets/ic-lines.395ef3db.svg";
66
- import { ReactComponent as ad } from "./assets/ic-pulsate-status.9264740e.svg";
67
- import { ReactComponent as rd } from "./assets/ic-arrow-right.f942ee03.svg";
64
+ import { ReactComponent as sd } from "./assets/ic-arrow-backward.d951202a.svg";
65
+ import nd, { ReactComponent as ur } from "./assets/ic-docker.48906f4d.svg";
66
+ import { ReactComponent as ad } from "./assets/ic-lines.395ef3db.svg";
67
+ import { ReactComponent as rd } from "./assets/ic-pulsate-status.9264740e.svg";
68
+ import { ReactComponent as od } from "./assets/ic-arrow-right.f942ee03.svg";
68
69
  import ta from "dompurify";
69
- import { ReactComponent as od } from "./assets/ic-expand-all.a0744f9f.svg";
70
- import { ReactComponent as id } from "./assets/ic-collapse-all.fd7b27b1.svg";
70
+ import { ReactComponent as id } from "./assets/ic-expand-all.a0744f9f.svg";
71
+ import { ReactComponent as ld } from "./assets/ic-collapse-all.fd7b27b1.svg";
71
72
  import { ReactComponent as ns } from "./assets/ic-caret-down.1666c029.svg";
72
- import ld, { ReactComponent as Ls } from "./assets/ic-info-filled.4b0b46d1.svg";
73
+ import cd, { ReactComponent as Ls } from "./assets/ic-info-filled.4b0b46d1.svg";
73
74
  import { ReactComponent as sa } from "./assets/ic-help.39c58c34.svg";
74
75
  import { ReactComponent as xi } from "./assets/ic-arrow-out.6aea09d0.svg";
75
76
  import { ReactComponent as Ei } from "./assets/ic-arrow-forward.a2b8ab45.svg";
76
77
  import Ni from "./assets/app-not-deployed.acdf0271.png";
77
78
  import { ReactComponent as is } from "./assets/ic-error-exclamation.c224de09.svg";
78
79
  import { BehaviorSubject as na } from "rxjs";
79
- import { ReactComponent as cd } from "./assets/ic-errorInfo.d8d674b8.svg";
80
- import { ReactComponent as dd } from "./assets/ic-fullscreen.b05e5087.svg";
81
- import { ReactComponent as ud } from "./assets/ic-exit-fullscreen.1ae582d1.svg";
82
- import { ReactComponent as md } from "./assets/ic-medium-info.eee4a07b.svg";
80
+ import { ReactComponent as dd } from "./assets/ic-errorInfo.d8d674b8.svg";
81
+ import { ReactComponent as ud } from "./assets/ic-fullscreen.b05e5087.svg";
82
+ import { ReactComponent as md } from "./assets/ic-exit-fullscreen.1ae582d1.svg";
83
+ import { ReactComponent as pd } from "./assets/ic-medium-info.eee4a07b.svg";
83
84
  import { ReactComponent as bi } from "./assets/ic-warning-y5.2ad9d7f4.svg";
84
- import pd, { ReactComponent as fd } from "./assets/delete-medium.baa284da.svg";
85
+ import fd, { ReactComponent as _d } from "./assets/delete-medium.baa284da.svg";
85
86
  import { deepEquals as Ci } from "@rjsf/utils";
86
- import { m as Ti, A as _d } from "./@framer-motion-B6d1rF48.js";
87
- import mr, { createPortal as hd } from "react-dom";
88
- import { ReactComponent as gd } from "./assets/ic-code-commit.161a6b3c.svg";
87
+ import { m as Ti, A as hd } from "./@framer-motion-B6d1rF48.js";
88
+ import mr, { createPortal as gd } from "react-dom";
89
+ import { ReactComponent as xd } from "./assets/ic-code-commit.161a6b3c.svg";
89
90
  import { ReactComponent as pr } from "./assets/ic-error.a25d2f0d.svg";
90
91
  import { ReactComponent as wa } from "./assets/ic-file-code.21a1f748.svg";
91
- import { ReactComponent as xd } from "./assets/ic-diff-file-updated.c8740f72.svg";
92
- import { ReactComponent as Ed } from "./assets/ic-diff-file-added.0deb6763.svg";
93
- import { ReactComponent as Nd } from "./assets/ic-diff-file-removed.2ed80281.svg";
92
+ import { ReactComponent as Ed } from "./assets/ic-diff-file-updated.c8740f72.svg";
93
+ import { ReactComponent as Nd } from "./assets/ic-diff-file-added.0deb6763.svg";
94
+ import { ReactComponent as bd } from "./assets/ic-diff-file-removed.2ed80281.svg";
94
95
  import { ReactComponent as Si } from "./assets/ic-view-variable-toggle.c335dfa0.svg";
95
96
  import { ReactComponent as aa } from "./assets/ic-check.27c51fa1.svg";
96
- import { ReactComponent as bd } from "./assets/ic-stamp.8689f42d.svg";
97
- import { e as Rs, K as Cd, a as Td, M as Sd, b as vd, m as Id } from "./@monaco-editor-CVagbUeH.js";
98
- import { r as vi, C as Ad, a as jd } from "./@react-dates-DUsXL6Ns.js";
99
- import yd from "./assets/ic-calender-blank.963e3423.svg";
97
+ import { ReactComponent as Cd } from "./assets/ic-stamp.8689f42d.svg";
98
+ import { e as Rs, K as Td, a as Sd, M as vd, b as Id, m as Ad } from "./@monaco-editor-CVagbUeH.js";
99
+ import { r as vi, C as jd, a as yd } from "./@react-dates-DUsXL6Ns.js";
100
+ import Ld from "./assets/ic-calender-blank.963e3423.svg";
100
101
  import { ReactComponent as Oa } from "./assets/ic-calendar.984accc5.svg";
101
- import { ReactComponent as Ld } from "./assets/ic-arrow-down.18e5e332.svg";
102
- import { ReactComponent as Rd } from "./assets/ic-copy.94cee0fb.svg";
102
+ import { ReactComponent as Rd } from "./assets/ic-arrow-down.18e5e332.svg";
103
+ import { ReactComponent as wd } from "./assets/ic-copy.94cee0fb.svg";
103
104
  import { ReactComponent as yr } from "./assets/ic-circle.05f86ff6.svg";
104
- import { ReactComponent as wd } from "./assets/ic-commit.e3113dd9.svg";
105
+ import { ReactComponent as Od } from "./assets/ic-commit.e3113dd9.svg";
105
106
  import { ReactComponent as Lr } from "./assets/ic-person.f78738ac.svg";
106
- import { ReactComponent as Od } from "./assets/ic-message.be6dba43.svg";
107
- import Pd, { ReactComponent as Ii } from "./assets/ic-pull-request.31d0c981.svg";
107
+ import { ReactComponent as Pd } from "./assets/ic-message.be6dba43.svg";
108
+ import Dd, { ReactComponent as Ii } from "./assets/ic-pull-request.31d0c981.svg";
108
109
  import { ReactComponent as Rr } from "./assets/ic-check-circle.ad80d835.svg";
109
- import Dd, { ReactComponent as Ai } from "./assets/ic-tag.1613fc59.svg";
110
- import { ReactComponent as Md } from "./assets/ic-hash.cd11c334.svg";
111
- import { ReactComponent as kd } from "./assets/ic-aborted.e7288a6c.svg";
112
- import { ReactComponent as Ud } from "./assets/ic-check-grey.f556e371.svg";
113
- import { ReactComponent as Bd } from "./assets/ic-disconnected.551d6161.svg";
114
- import { ReactComponent as $d } from "./assets/ic-timeout-red.5eda1010.svg";
110
+ import Md, { ReactComponent as Ai } from "./assets/ic-tag.1613fc59.svg";
111
+ import { ReactComponent as kd } from "./assets/ic-hash.cd11c334.svg";
112
+ import { ReactComponent as Ud } from "./assets/ic-aborted.e7288a6c.svg";
113
+ import { ReactComponent as Bd } from "./assets/ic-check-grey.f556e371.svg";
114
+ import { ReactComponent as $d } from "./assets/ic-disconnected.551d6161.svg";
115
+ import { ReactComponent as Fd } from "./assets/ic-timeout-red.5eda1010.svg";
115
116
  import { ReactComponent as ji } from "./assets/ic-in-progress.0598554b.svg";
116
- import { ReactComponent as Fd } from "./assets/ic-download.c30437cd.svg";
117
- import Vd from "./assets/ic-folder.051cd30d.svg";
118
- import Gd from "./assets/no-artifact@2x.6afc74bc.png";
119
- import Hd, { ReactComponent as Bt } from "./assets/ic-cross.01e03666.svg";
117
+ import { ReactComponent as Vd } from "./assets/ic-download.c30437cd.svg";
118
+ import Gd from "./assets/ic-folder.051cd30d.svg";
119
+ import Hd from "./assets/no-artifact@2x.6afc74bc.png";
120
120
  import { ReactComponent as yi } from "./assets/ic-arrow-counter-clockwise.01cbb0e1.svg";
121
121
  import { ReactComponent as Yd } from "./assets/ic-minus.df865aaf.svg";
122
122
  import { ReactComponent as Wd } from "./assets/ic-enter.cab07082.svg";
@@ -518,7 +518,7 @@ const Ua = {
518
518
  TOOLTIP_DONT_SHOW_AGAIN: "Tooltip Dont show again",
519
519
  HELP: "Clicked Help",
520
520
  SKIP_AND_EXPLORE_DEVTRON: "SkippedOnboarding"
521
- }, wi = 5, Oi = "login-count", DC = "devtron-ci", at = {
521
+ }, wi = 5, Oi = "login-count", DC = "devtron-ci", rt = {
522
522
  TWELVE_HOURS_FORMAT: "ddd, DD MMM YYYY, hh:mm A",
523
523
  TWELVE_HOURS_FORMAT_WITHOUT_WEEKDAY: "DD MMM YYYY, hh:mm A",
524
524
  TWELVE_HOURS_EXPORT_FORMAT: "DD-MMM-YYYY hh.mm A",
@@ -542,14 +542,14 @@ class wu {
542
542
  this.code = s.code || 0, this.userMessage = s.userMessage || "", this.internalMessage = s.internalMessage || "", this.moreInfo = s.moreInfo || "";
543
543
  }
544
544
  }
545
- class ht extends Error {
545
+ class gt extends Error {
546
546
  constructor(n) {
547
547
  super();
548
548
  Ge(this, "code");
549
549
  Ge(this, "errors");
550
550
  this.code = n.code;
551
551
  const a = n.errors.reduce((r, o) => (r += `${o.internalMessage || o.userMessage}`, r), "");
552
- this.name = `[${n.code.toString()}]`, this.message = a, this.errors = n.errors.map((r) => new wu(r)), Object.setPrototypeOf(this, ht.prototype);
552
+ this.name = `[${n.code.toString()}]`, this.message = a, this.errors = n.errors.map((r) => new wu(r)), Object.setPrototypeOf(this, gt.prototype);
553
553
  }
554
554
  }
555
555
  var ra = /* @__PURE__ */ ((e) => (e.black = "black", e.white = "white", e))(ra || {}), ze = /* @__PURE__ */ ((e) => (e.CHECKED = "CHECKED", e.INTERMEDIATE = "INTERMEDIATE", e.BULK_CHECKED = "BULK_CHECKED", e))(ze || {}), ls = /* @__PURE__ */ ((e) => (e.Large = "large", e.Medium = "medium", e.SMALL = "small", e))(ls || {});
@@ -635,7 +635,7 @@ function ku() {
635
635
  async function Uu(e, s) {
636
636
  const n = s.status;
637
637
  let a = s.statusText || Mr[n];
638
- const r = new ht({ code: n, errors: [] });
638
+ const r = new gt({ code: n, errors: [] });
639
639
  if (e !== "application/json")
640
640
  a = `${Mr[n]}. Please try again.`;
641
641
  else {
@@ -661,7 +661,7 @@ async function Bu(e, s, n, a, r = !1, o) {
661
661
  const c = i.headers.get("Content-Type");
662
662
  if (i.status === 401) {
663
663
  if (r)
664
- throw new ht({
664
+ throw new gt({
665
665
  code: 401,
666
666
  errors: [
667
667
  { code: 401, internalMessage: "Please login again", userMessage: "Please login again" }
@@ -678,7 +678,7 @@ async function Bu(e, s, n, a, r = !1, o) {
678
678
  if (c === "application/json")
679
679
  return i.json().then((u) => {
680
680
  if (u.code >= 300 && u.code <= 599)
681
- throw new ht({ code: u.code, errors: u.errors });
681
+ throw new gt({ code: u.code, errors: u.errors });
682
682
  return u;
683
683
  });
684
684
  if (c === "octet-stream" || c === "application/octet-stream")
@@ -692,7 +692,7 @@ async function Bu(e, s, n, a, r = !1, o) {
692
692
  internalMessage: i.message,
693
693
  moreInfo: i.message
694
694
  };
695
- throw new ht({ code: 0, errors: [c] });
695
+ throw new gt({ code: 0, errors: [c] });
696
696
  }
697
697
  );
698
698
  }
@@ -717,7 +717,7 @@ function an(e, s, n, a, r) {
717
717
  ),
718
718
  i
719
719
  ]).catch((c) => {
720
- throw c instanceof ht ? c : new ht({
720
+ throw c instanceof gt ? c : new gt({
721
721
  code: 408,
722
722
  errors: [
723
723
  {
@@ -733,7 +733,7 @@ const Wt = (e, s, n, a) => an(e, "POST", s, n, a), $u = (e, s, n) => an(e, "PUT"
733
733
  // The 0 code is common for aborted and blocked requests
734
734
  e && e.code === 0 && e.message.search("abort|aborted") > -1
735
735
  );
736
- var Fu = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(Fu || {}), Q = /* @__PURE__ */ ((e) => (e.Service = "Service", e.Alertmanager = "Alertmanager", e.PodSecurity = "PodSecurityPolicy", e.ConfigMap = "ConfigMap", e.ServiceAccount = "ServiceAccount", e.ClusterRoleBinding = "ClusterRoleBinding", e.RoleBinding = "RoleBinding", e.ClusterRole = "ClusterRole", e.Role = "Role", e.Prometheus = "Prometheus", e.ServiceMonitor = "ServiceMonitor", e.Deployment = "Deployment", e.MutatingWebhookConfiguration = "MutatingWebhookConfiguration", e.DaemonSet = "DaemonSet", e.Secret = "Secret", e.ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration", e.Pod = "Pod", e.Ingress = "Ingress", e.ReplicaSet = "ReplicaSet", e.Endpoints = "Endpoints", e.Cluster = "ClusterRoleBinding", e.PodSecurityPolicy = "PodSecurityPolicy", e.CronJob = "CronJob", e.Job = "Job", e.ReplicationController = "ReplicationController", e.StatefulSet = "StatefulSet", e.Rollout = "Rollout", e.PersistentVolumeClaim = "PersistentVolumeClaim", e.PersistentVolume = "PersistentVolume", e.Containers = "Containers", e.InitContainers = "InitContainers", e.EndpointSlice = "EndpointSlice", e.NetworkPolicy = "NetworkPolicy", e.StorageClass = "StorageClass", e.VolumeSnapshot = "VolumeSnapshot", e.VolumeSnapshotContent = "VolumeSnapshotContent", e.VolumeSnapshotClass = "VolumeSnapshotClass", e.PodDisruptionBudget = "PodDisruptionBudget", e.Event = "Event", e.Namespace = "Namespace", e.Node = "Node", e.Overview = "Overview", e.MonitoringDashboard = "MonitoringDashboard", e.UpgradeCluster = "UpgradeCluster", e))(Q || {}), Ha = /* @__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))(Ha || {}), Vu = /* @__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))(Vu || {}), Ks = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Ks || {}), ps = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(ps || {}), Gu = /* @__PURE__ */ ((e) => (e.REQUEST = "request", e.PENDING = "pending", e))(Gu || {}), Hu = /* @__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))(Hu || {}), Yu = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(Yu || {}), ki = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(ki || {}), He = /* @__PURE__ */ ((e) => (e.devtronApplication = "application/devtron-application", e.helmChart = "application/helm-application", e.job = "job", e.cluster = "cluster", e.release = "release", e.releaseTrack = "release-track", e.releaseChannel = "release-channel", e.tenant = "tenant", e.installation = "installation", e.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(He || {}), _r = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(_r || {}), Wu = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e))(Wu || {}), zs = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(zs || {}), ft = /* @__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))(ft || {}), Ku = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(Ku || {}), zu = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(zu || {}), Ln = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(Ln || {}), qu = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(qu || {}), Ui = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(Ui || {});
736
+ var Fu = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(Fu || {}), Q = /* @__PURE__ */ ((e) => (e.Service = "Service", e.Alertmanager = "Alertmanager", e.PodSecurity = "PodSecurityPolicy", e.ConfigMap = "ConfigMap", e.ServiceAccount = "ServiceAccount", e.ClusterRoleBinding = "ClusterRoleBinding", e.RoleBinding = "RoleBinding", e.ClusterRole = "ClusterRole", e.Role = "Role", e.Prometheus = "Prometheus", e.ServiceMonitor = "ServiceMonitor", e.Deployment = "Deployment", e.MutatingWebhookConfiguration = "MutatingWebhookConfiguration", e.DaemonSet = "DaemonSet", e.Secret = "Secret", e.ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration", e.Pod = "Pod", e.Ingress = "Ingress", e.ReplicaSet = "ReplicaSet", e.Endpoints = "Endpoints", e.Cluster = "ClusterRoleBinding", e.PodSecurityPolicy = "PodSecurityPolicy", e.CronJob = "CronJob", e.Job = "Job", e.ReplicationController = "ReplicationController", e.StatefulSet = "StatefulSet", e.Rollout = "Rollout", e.PersistentVolumeClaim = "PersistentVolumeClaim", e.PersistentVolume = "PersistentVolume", e.Containers = "Containers", e.InitContainers = "InitContainers", e.EndpointSlice = "EndpointSlice", e.NetworkPolicy = "NetworkPolicy", e.StorageClass = "StorageClass", e.VolumeSnapshot = "VolumeSnapshot", e.VolumeSnapshotContent = "VolumeSnapshotContent", e.VolumeSnapshotClass = "VolumeSnapshotClass", e.PodDisruptionBudget = "PodDisruptionBudget", e.Event = "Event", e.Namespace = "Namespace", e.Node = "Node", e.Overview = "Overview", e.MonitoringDashboard = "MonitoringDashboard", e.UpgradeCluster = "UpgradeCluster", e))(Q || {}), Ha = /* @__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))(Ha || {}), Vu = /* @__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))(Vu || {}), Ks = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Ks || {}), ps = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(ps || {}), Gu = /* @__PURE__ */ ((e) => (e.REQUEST = "request", e.PENDING = "pending", e))(Gu || {}), Hu = /* @__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))(Hu || {}), Yu = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(Yu || {}), ki = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(ki || {}), He = /* @__PURE__ */ ((e) => (e.devtronApplication = "application/devtron-application", e.helmChart = "application/helm-application", e.job = "job", e.cluster = "cluster", e.release = "release", e.releaseTrack = "release-track", e.releaseChannel = "release-channel", e.tenant = "tenant", e.installation = "installation", e.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(He || {}), _r = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(_r || {}), Wu = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e))(Wu || {}), zs = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(zs || {}), _t = /* @__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))(_t || {}), Ku = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(Ku || {}), zu = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(zu || {}), Ln = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(Ln || {}), qu = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(qu || {}), Ui = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(Ui || {});
737
737
  const BC = [
738
738
  {
739
739
  label: "GUI",
@@ -950,7 +950,7 @@ const Se = {
950
950
  APP_DESCRIPTION: "Write a short description for this application",
951
951
  JOB_DESCRIPTION: "Write a short description for this job"
952
952
  }
953
- }, nt = {
953
+ }, at = {
954
954
  DEPLOYMENT_TEMPLATE: {
955
955
  DISPLAY_NAME: "Deployment template",
956
956
  VALUE: "deployment-template"
@@ -968,7 +968,7 @@ const Se = {
968
968
  VALUE: "secret"
969
969
  }
970
970
  }, Nn = {
971
- [nt.SECRET.DISPLAY_NAME]: {
971
+ [at.SECRET.DISPLAY_NAME]: {
972
972
  "": "Kubernetes Secret",
973
973
  KubernetesSecret: "Kubernetes External Secret",
974
974
  AWSSecretsManager: "AWS Secrets Manager",
@@ -979,7 +979,7 @@ const Se = {
979
979
  ESO_GoogleSecretsManager: "Google Secrets Manager",
980
980
  ESO_AzureSecretsManager: "Azure Secrets Manager"
981
981
  },
982
- [nt.CONFIGMAP.DISPLAY_NAME]: {
982
+ [at.CONFIGMAP.DISPLAY_NAME]: {
983
983
  "": "Kubernetes ConfigMap",
984
984
  KubernetesConfigMap: "Kubernetes External ConfigMap"
985
985
  }
@@ -1161,7 +1161,7 @@ const FC = Object.values(
1161
1161
  }, WC = {
1162
1162
  INVALID_INPUT: "Valid input is required for all mandatory fields."
1163
1163
  };
1164
- var rt = /* @__PURE__ */ ((e) => (e.primary = "primary", e.secondary = "secondary", e.borderLess = "border-less", e.text = "text", e))(rt || {}), xt = /* @__PURE__ */ ((e) => (e.default = "default", e.negative = "negative", e.negativeGrey = "negative-grey", e.positive = "positive", e.warning = "warning", e.neutral = "neutral", e))(xt || {}), Ka = /* @__PURE__ */ ((e) => (e.button = "button", e.link = "link", e))(Ka || {});
1164
+ var Ze = /* @__PURE__ */ ((e) => (e.primary = "primary", e.secondary = "secondary", e.borderLess = "border-less", e.text = "text", e))(Ze || {}), mt = /* @__PURE__ */ ((e) => (e.default = "default", e.negative = "negative", e.negativeGrey = "negative-grey", e.positive = "positive", e.warning = "warning", e.neutral = "neutral", e))(mt || {}), Ka = /* @__PURE__ */ ((e) => (e.button = "button", e.link = "link", e))(Ka || {});
1165
1165
  const _m = {
1166
1166
  [B.xs]: "px-9 py-1 fs-12 lh-20 fw-6 dc__gap-6 mw-48",
1167
1167
  [B.small]: "px-9 py-3 fs-12 lh-20 fw-6 dc__gap-8 mw-48",
@@ -1214,12 +1214,12 @@ const _m = {
1214
1214
  type: n?.type || "button",
1215
1215
  onClick: a
1216
1216
  }
1217
- ), Ze = ({
1217
+ ), qe = ({
1218
1218
  dataTestId: e,
1219
1219
  text: s,
1220
- variant: n = rt.primary,
1220
+ variant: n = Ze.primary,
1221
1221
  size: a = B.large,
1222
- style: r = xt.default,
1222
+ style: r = mt.default,
1223
1223
  startIcon: o = null,
1224
1224
  endIcon: l = null,
1225
1225
  disabled: i = !1,
@@ -1288,11 +1288,11 @@ const _m = {
1288
1288
  ] })
1289
1289
  ] }),
1290
1290
  e && /* @__PURE__ */ t.jsx(
1291
- Ze,
1291
+ qe,
1292
1292
  {
1293
1293
  text: o,
1294
1294
  onClick: e,
1295
- variant: rt.text,
1295
+ variant: Ze.text,
1296
1296
  size: B.small,
1297
1297
  dataTestId: "generic-section-reload-button"
1298
1298
  }
@@ -1597,7 +1597,7 @@ const _m = {
1597
1597
  }
1598
1598
  );
1599
1599
  };
1600
- var Im = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(Im || {}), Bs = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(Bs || {}), Am = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(Am || {}), jm = /* @__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))(jm || {}), gt = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(gt || {}), za = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(za || {}), ke = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(ke || {});
1600
+ var Im = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(Im || {}), Bs = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(Bs || {}), Am = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(Am || {}), jm = /* @__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))(jm || {}), xt = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(xt || {}), za = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(za || {}), ke = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(ke || {});
1601
1601
  const qi = (e) => {
1602
1602
  const s = (e?.ciMaterials ?? []).map((n, a) => ({
1603
1603
  id: n.id,
@@ -1682,15 +1682,15 @@ const Om = {
1682
1682
  toastClassName: "custom-toast",
1683
1683
  bodyClassName: "custom-toast__body",
1684
1684
  closeButton: ({ closeToast: e }) => /* @__PURE__ */ t.jsx("div", { className: "custom-toast__close-btn", children: /* @__PURE__ */ t.jsx(
1685
- Ze,
1685
+ qe,
1686
1686
  {
1687
- icon: /* @__PURE__ */ t.jsx(Bt, { className: "fcn-0" }),
1687
+ icon: /* @__PURE__ */ t.jsx(Lt, { className: "fcn-0" }),
1688
1688
  onClick: e,
1689
1689
  dataTestId: "close-toast",
1690
1690
  ariaLabel: "Close toast",
1691
1691
  size: B.xs,
1692
- variant: rt.borderLess,
1693
- style: xt.neutral,
1692
+ variant: Ze.borderLess,
1693
+ style: mt.neutral,
1694
1694
  showAriaLabelInTippy: !1
1695
1695
  }
1696
1696
  ) })
@@ -1735,12 +1735,12 @@ const Om = {
1735
1735
  /* @__PURE__ */ t.jsx("p", { className: "fs-12 fw-4 lh-18 m-0 dc__truncate--clamp-6", children: s })
1736
1736
  ] }),
1737
1737
  n && /* @__PURE__ */ t.jsx(
1738
- Ze,
1738
+ qe,
1739
1739
  {
1740
1740
  ...n,
1741
- variant: rt.text,
1741
+ variant: Ze.text,
1742
1742
  size: B.small,
1743
- style: xt.neutral
1743
+ style: mt.neutral
1744
1744
  }
1745
1745
  )
1746
1746
  ] });
@@ -1931,7 +1931,7 @@ const Mm = "bulk-selection-pop-up-menu", xa = {
1931
1931
  locator: Ue.CLEAR_ALL_SELECTIONS,
1932
1932
  label: xa[Ue.CLEAR_ALL_SELECTIONS],
1933
1933
  isSelected: !1,
1934
- icon: qe,
1934
+ icon: et,
1935
1935
  iconClass: "icon-use-fill-n6"
1936
1936
  }
1937
1937
  ] : []
@@ -1955,7 +1955,7 @@ const Mm = "bulk-selection-pop-up-menu", xa = {
1955
1955
  disabled: s
1956
1956
  }
1957
1957
  ),
1958
- /* @__PURE__ */ t.jsx(Ut, { className: "icon-dim-20 fcn-6 dc__no-shrink" })
1958
+ /* @__PURE__ */ t.jsx(Bt, { className: "icon-dim-20 fcn-6 dc__no-shrink" })
1959
1959
  ]
1960
1960
  }
1961
1961
  ),
@@ -2018,19 +2018,19 @@ const Mm = "bulk-selection-pop-up-menu", xa = {
2018
2018
  p(),
2019
2019
  c ?? m()
2020
2020
  ] });
2021
- }, Dt = {
2021
+ }, Mt = {
2022
2022
  ACTIVE: "Active on",
2023
2023
  VIRTUAL_ENV: "Last deployed on",
2024
2024
  FAILED: "Last deployment failed on",
2025
2025
  DEPLOYING: "Deploying on"
2026
2026
  }, Vm = (e) => {
2027
2027
  switch (e) {
2028
- case Dt.VIRTUAL_ENV:
2029
- case Dt.ACTIVE:
2028
+ case Mt.VIRTUAL_ENV:
2029
+ case Mt.ACTIVE:
2030
2030
  return { Icon: /* @__PURE__ */ t.jsx(Rc, { className: "icon-dim-16 mr-4 scg-5" }), stateClassName: "bcg-1 eg-2" };
2031
- case Dt.FAILED:
2031
+ case Mt.FAILED:
2032
2032
  return { Icon: /* @__PURE__ */ t.jsx(wc, { className: "icon-dim-16 mr-4" }), stateClassName: "bcr-1 er-2" };
2033
- case Dt.DEPLOYING:
2033
+ case Mt.DEPLOYING:
2034
2034
  return {
2035
2035
  Icon: /* @__PURE__ */ t.jsx("div", { className: "dc__app-summary__icon icon-dim-16 mr-6 progressing progressing--node" }),
2036
2036
  stateClassName: "bcy-1 ey-2"
@@ -2060,7 +2060,7 @@ const Mm = "bulk-selection-pop-up-menu", xa = {
2060
2060
  deployedOn: c,
2061
2061
  additionalInfo: u
2062
2062
  }) => {
2063
- const d = () => i ? Dt.VIRTUAL_ENV : Dt.ACTIVE, m = () => {
2063
+ const d = () => i ? Mt.VIRTUAL_ENV : Mt.ACTIVE, m = () => {
2064
2064
  if (c?.length) {
2065
2065
  const p = c.length === 1 ? c[0] : `${c.length} environments`;
2066
2066
  return /* @__PURE__ */ t.jsx(
@@ -2082,8 +2082,8 @@ const Mm = "bulk-selection-pop-up-menu", xa = {
2082
2082
  u
2083
2083
  ] }) : null : e || s || Object.values(En).includes(n) || l || c?.length || u ? /* @__PURE__ */ t.jsxs("div", { className: "bcn-0 pb-8 br-4 flex left", children: [
2084
2084
  m(),
2085
- n === En.PROGRESSING && /* @__PURE__ */ t.jsx(Ps, { envStateText: Dt.DEPLOYING, title: a }),
2086
- (n === En.DEGRADED || n === En.FAILED) && /* @__PURE__ */ t.jsx(Ps, { envStateText: Dt.FAILED, title: a }),
2085
+ n === En.PROGRESSING && /* @__PURE__ */ t.jsx(Ps, { envStateText: Mt.DEPLOYING, title: a }),
2086
+ (n === En.DEGRADED || n === En.FAILED) && /* @__PURE__ */ t.jsx(Ps, { envStateText: Mt.FAILED, title: a }),
2087
2087
  l && /* @__PURE__ */ t.jsx(
2088
2088
  rr,
2089
2089
  {
@@ -2262,12 +2262,12 @@ const zm = {
2262
2262
  IMAGE_SCAN: "Image Scan",
2263
2263
  CODE_SCAN: "Code Scan",
2264
2264
  KUBERNETES_MANIFEST: "Kubernetes Manifest"
2265
- }, wt = {
2265
+ }, Ot = {
2266
2266
  VULNERABILITIES: "Vulnerability",
2267
2267
  LICENSE: "License Risks",
2268
2268
  MISCONFIGURATIONS: "Misconfigurations",
2269
2269
  EXPOSED_SECRETS: "Exposed Secrets"
2270
- }, st = {
2270
+ }, nt = {
2271
2271
  [K.CRITICAL]: {
2272
2272
  label: "Critical",
2273
2273
  color: "#B21212"
@@ -2324,14 +2324,14 @@ const zm = {
2324
2324
  /* for all the SEVERITY keys in @severities create @Entity */
2325
2325
  e && $n.map(
2326
2326
  (s) => e[s] && {
2327
- color: st[s].color,
2328
- label: st[s].label,
2327
+ color: nt[s].color,
2328
+ label: nt[s].label,
2329
2329
  value: e[s]
2330
2330
  }
2331
2331
  ).filter((s) => !!s)
2332
2332
  ), on = (e) => e && Object.keys(e).sort(
2333
2333
  (s, n) => $n.indexOf(s) - $n.indexOf(n)
2334
- ).map((s) => `${e[s]} ${st[s].label}`).join(", "), Gr = (e) => ({
2334
+ ).map((s) => `${e[s]} ${nt[s].label}`).join(", "), Gr = (e) => ({
2335
2335
  [K.UNKNOWN]: 1,
2336
2336
  [K.LOW]: 2,
2337
2337
  [K.MEDIUM]: 3,
@@ -2349,7 +2349,7 @@ const zm = {
2349
2349
  low: (s?.LOW || 0) + (n?.LOW || 0),
2350
2350
  unknown: (s?.UNKNOWN || 0) + (n?.UNKNOWN || 0)
2351
2351
  };
2352
- }, gr = (e, s) => $n.reduce((n, a) => n || e[a] - s[a], 0), Mt = (e) => ({
2352
+ }, gr = (e, s) => $n.reduce((n, a) => n || e[a] - s[a], 0), kt = (e) => ({
2353
2353
  SvgImage: Bc,
2354
2354
  title: "You're secure!",
2355
2355
  children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__border-radius-24 bcn-0 pl-16 pr-16 pt-8 pb-8 en-1 bw-1", children: /* @__PURE__ */ t.jsx(la, { scanToolId: e }) })
@@ -2598,7 +2598,7 @@ const zm = {
2598
2598
  {
2599
2599
  className: "fs-12 lh-20 fw-4 fcn-8",
2600
2600
  "data-testid": "security-info-card-last-scan-time",
2601
- children: `Scanned on ${ni(s).format(at.TWELVE_HOURS_FORMAT)}`
2601
+ children: `Scanned on ${ni(s).format(rt.TWELVE_HOURS_FORMAT)}`
2602
2602
  }
2603
2603
  )
2604
2604
  ] }),
@@ -2621,7 +2621,7 @@ const zm = {
2621
2621
  ] }) }), el = ({ title: e, lines: s, link: n }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__align-self-stretch bcn-0 dc__outline dc__border-radius-4-imp", children: [
2622
2622
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox pt-8 pb-8 pl-12 pr-12 dc__align-items-center dc__align-self-stretch dc__gap-4 dc__border-bottom-n1 bc-n50 dc__ff-monospace", children: [
2623
2623
  n ? /* @__PURE__ */ t.jsx("a", { className: "dc__ff-monospace", href: n, target: "_blank", rel: "noreferrer", children: e }) : /* @__PURE__ */ t.jsx("span", { className: "dc__ff-monospace", children: e }),
2624
- /* @__PURE__ */ t.jsx(Lt, { content: e })
2624
+ /* @__PURE__ */ t.jsx(Rt, { content: e })
2625
2625
  ] }),
2626
2626
  /* @__PURE__ */ t.jsx("pre", { className: "flexbox-col p-6 m-0 mh-150 bcn-0 dc__no-border", children: s?.map((a) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-12 dc__ff-monospace", children: [
2627
2627
  /* @__PURE__ */ t.jsx("span", { className: a.isCause ? "cr-5" : "", children: a.number }),
@@ -2969,22 +2969,22 @@ const zm = {
2969
2969
  switch (s) {
2970
2970
  case te.VULNERABILITIES:
2971
2971
  return {
2972
- ...Mt(o),
2972
+ ...kt(o),
2973
2973
  subTitle: `No security vulnerability found in ${r}`
2974
2974
  };
2975
2975
  case te.LICENSE:
2976
2976
  return {
2977
- ...Mt(o),
2977
+ ...kt(o),
2978
2978
  subTitle: `No license risks found in ${r}`
2979
2979
  };
2980
2980
  case te.MISCONFIGURATIONS:
2981
2981
  return {
2982
- ...Mt(o),
2982
+ ...kt(o),
2983
2983
  subTitle: `No misconfigurations found in ${r}`
2984
2984
  };
2985
2985
  case te.EXPOSED_SECRETS:
2986
2986
  return {
2987
- ...Mt(o),
2987
+ ...kt(o),
2988
2988
  subTitle: `No exposed secrets found in ${r}`
2989
2989
  };
2990
2990
  default:
@@ -3074,7 +3074,7 @@ const zm = {
3074
3074
  default:
3075
3075
  return null;
3076
3076
  }
3077
- }, al = (e, s) => e && e !== Yt && s === "Completed" ? ni(e).format(at.TWELVE_HOURS_FORMAT) : s === "Progressing" ? "Scan in progress" : null, _p = (e, s, n) => ({
3077
+ }, al = (e, s) => e && e !== Yt && s === "Completed" ? ni(e).format(rt.TWELVE_HOURS_FORMAT) : s === "Progressing" ? "Scan in progress" : null, _p = (e, s, n) => ({
3078
3078
  headers: [
3079
3079
  { headerText: "image", isSortable: !1, width: 256 },
3080
3080
  { headerText: "vulnerability", isSortable: !1, width: 256 },
@@ -3213,12 +3213,12 @@ const zm = {
3213
3213
  switch (e) {
3214
3214
  case te.VULNERABILITIES:
3215
3215
  return {
3216
- ...Mt(s.scanToolId),
3216
+ ...kt(s.scanToolId),
3217
3217
  subTitle: `No security vulnerability found in ${n}`
3218
3218
  };
3219
3219
  case te.LICENSE:
3220
3220
  return {
3221
- ...Mt(s.scanToolId),
3221
+ ...kt(s.scanToolId),
3222
3222
  subTitle: `No license risk found in ${n}`
3223
3223
  };
3224
3224
  default:
@@ -3284,12 +3284,12 @@ const zm = {
3284
3284
  switch (s) {
3285
3285
  case te.MISCONFIGURATIONS:
3286
3286
  return {
3287
- ...Mt(o),
3287
+ ...kt(o),
3288
3288
  subTitle: `No misconfigurations found in ${r}`
3289
3289
  };
3290
3290
  case te.EXPOSED_SECRETS:
3291
3291
  return {
3292
- ...Mt(o),
3292
+ ...kt(o),
3293
3293
  subTitle: `No exposed secrets found in ${r}`
3294
3294
  };
3295
3295
  default:
@@ -3334,14 +3334,14 @@ const zm = {
3334
3334
  isExpanded: !0,
3335
3335
  children: [
3336
3336
  {
3337
- label: wt.VULNERABILITIES,
3337
+ label: Ot.VULNERABILITIES,
3338
3338
  value: {
3339
3339
  category: ue.IMAGE_SCAN,
3340
3340
  subCategory: te.VULNERABILITIES
3341
3341
  }
3342
3342
  },
3343
3343
  {
3344
- label: wt.LICENSE,
3344
+ label: Ot.LICENSE,
3345
3345
  value: {
3346
3346
  category: ue.IMAGE_SCAN,
3347
3347
  subCategory: te.LICENSE
@@ -3355,28 +3355,28 @@ const zm = {
3355
3355
  hideInHelmApp: !0,
3356
3356
  children: [
3357
3357
  {
3358
- label: wt.VULNERABILITIES,
3358
+ label: Ot.VULNERABILITIES,
3359
3359
  value: {
3360
3360
  category: ue.CODE_SCAN,
3361
3361
  subCategory: te.VULNERABILITIES
3362
3362
  }
3363
3363
  },
3364
3364
  {
3365
- label: wt.LICENSE,
3365
+ label: Ot.LICENSE,
3366
3366
  value: {
3367
3367
  category: ue.CODE_SCAN,
3368
3368
  subCategory: te.LICENSE
3369
3369
  }
3370
3370
  },
3371
3371
  {
3372
- label: wt.MISCONFIGURATIONS,
3372
+ label: Ot.MISCONFIGURATIONS,
3373
3373
  value: {
3374
3374
  category: ue.CODE_SCAN,
3375
3375
  subCategory: te.MISCONFIGURATIONS
3376
3376
  }
3377
3377
  },
3378
3378
  {
3379
- label: wt.EXPOSED_SECRETS,
3379
+ label: Ot.EXPOSED_SECRETS,
3380
3380
  value: {
3381
3381
  category: ue.CODE_SCAN,
3382
3382
  subCategory: te.EXPOSED_SECRETS
@@ -3389,14 +3389,14 @@ const zm = {
3389
3389
  isExpanded: !0,
3390
3390
  children: [
3391
3391
  {
3392
- label: wt.MISCONFIGURATIONS,
3392
+ label: Ot.MISCONFIGURATIONS,
3393
3393
  value: {
3394
3394
  category: ue.KUBERNETES_MANIFEST,
3395
3395
  subCategory: te.MISCONFIGURATIONS
3396
3396
  }
3397
3397
  },
3398
3398
  {
3399
- label: wt.EXPOSED_SECRETS,
3399
+ label: Ot.EXPOSED_SECRETS,
3400
3400
  value: {
3401
3401
  category: ue.KUBERNETES_MANIFEST,
3402
3402
  subCategory: te.EXPOSED_SECRETS
@@ -3437,13 +3437,16 @@ const zm = {
3437
3437
  }, f = (d.detailViewData?.length ?? 0) - 1, _ = d.detailViewData?.[f] ?? null, x = () => /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__content-space dc__align-items-center pl-20 pr-20 pt-12 pb-12 dc__border-bottom", children: [
3438
3438
  /* @__PURE__ */ t.jsx("span", { className: "fs-16 fw-6 lh-24 cn-9", children: "Security" }),
3439
3439
  /* @__PURE__ */ t.jsx(
3440
- "button",
3440
+ qe,
3441
3441
  {
3442
- type: "button",
3443
- className: "dc__unset-button-styles",
3442
+ dataTestId: "close-security-modal",
3443
+ ariaLabel: "close-security-modal",
3444
+ icon: /* @__PURE__ */ t.jsx(Lt, {}),
3444
3445
  onClick: s,
3445
- "aria-label": "Close Modal",
3446
- children: /* @__PURE__ */ t.jsx("div", { className: "flex p-4", children: /* @__PURE__ */ t.jsx(qe, { className: "icon-dim-16" }) })
3446
+ showAriaLabelInTippy: !1,
3447
+ size: B.xs,
3448
+ style: mt.neutral,
3449
+ variant: Ze.borderLess
3447
3450
  }
3448
3451
  )
3449
3452
  ] }), E = () => /* @__PURE__ */ t.jsxs("div", { className: "pt-10 pb-10 pl-12 pr-12 flexbox dc__align-items-center dc__gap-12 dc__position-sticky dc__border-bottom-n1 dc__top-0 bcn-0 dc__zi-20", children: [
@@ -3454,7 +3457,7 @@ const zm = {
3454
3457
  className: "dc__unset-button-styles",
3455
3458
  "aria-label": "Go back",
3456
3459
  onClick: g,
3457
- children: /* @__PURE__ */ t.jsx("div", { className: "dc__border-radius-4-imp dc__hover-n50 dc__border c-n50 flex", children: /* @__PURE__ */ t.jsx(Gc, { className: "icon-dim-16" }) })
3460
+ children: /* @__PURE__ */ t.jsx("div", { className: "dc__border-radius-4-imp dc__hover-n50 dc__border c-n50 flex", children: /* @__PURE__ */ t.jsx(Hc, { className: "icon-dim-16" }) })
3458
3461
  }
3459
3462
  ),
3460
3463
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-4", "data-testid": "security-detail-view-strip", children: [
@@ -3463,7 +3466,7 @@ const zm = {
3463
3466
  ":"
3464
3467
  ] }),
3465
3468
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 lh-20 cn-900 dc__ff-monospace dc__truncate dc__mxw-600", children: _.title }),
3466
- /* @__PURE__ */ t.jsx(Lt, { content: _.title })
3469
+ /* @__PURE__ */ t.jsx(Rt, { content: _.title })
3467
3470
  ] })
3468
3471
  ] }), S = () => {
3469
3472
  const C = jp(p, d.category, d.subCategory, _);
@@ -3541,11 +3544,11 @@ const zm = {
3541
3544
  hidePolicy: i = !1
3542
3545
  }) => {
3543
3546
  const [c, u] = j(!1), { critical: d = 0, high: m = 0, medium: p = 0, low: h = 0, unknown: g = 0 } = e, f = d + m + p + h + g, _ = [
3544
- { label: st.CRITICAL.label, color: st.CRITICAL.color, value: d },
3545
- { label: st.HIGH.label, color: st.HIGH.color, value: m },
3546
- { label: st.MEDIUM.label, color: st.MEDIUM.color, value: p },
3547
- { label: st.LOW.label, color: st.LOW.color, value: h },
3548
- { label: st.UNKNOWN.label, color: st.UNKNOWN.color, value: g }
3547
+ { label: nt.CRITICAL.label, color: nt.CRITICAL.color, value: d },
3548
+ { label: nt.HIGH.label, color: nt.HIGH.color, value: m },
3549
+ { label: nt.MEDIUM.label, color: nt.MEDIUM.color, value: p },
3550
+ { label: nt.LOW.label, color: nt.LOW.color, value: h },
3551
+ { label: nt.UNKNOWN.label, color: nt.UNKNOWN.color, value: g }
3549
3552
  ], x = () => {
3550
3553
  u(!0);
3551
3554
  }, E = () => {
@@ -4069,7 +4072,7 @@ const $p = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
4069
4072
  }, Fp = (e) => {
4070
4073
  const { isDisabled: s } = e;
4071
4074
  return /* @__PURE__ */ t.jsx(ve.DropdownIndicator, { ...e, children: /* @__PURE__ */ t.jsx(ns, { className: s ? "scn-3" : "scn-6" }) });
4072
- }, Vp = (e) => /* @__PURE__ */ t.jsx(ve.ClearIndicator, { ...e, children: /* @__PURE__ */ t.jsx(qe, { className: "icon-use-fill-n6" }) }), Gp = (e) => {
4075
+ }, Vp = (e) => /* @__PURE__ */ t.jsx(ve.ClearIndicator, { ...e, children: /* @__PURE__ */ t.jsx(et, { className: "icon-use-fill-n6" }) }), Gp = (e) => {
4073
4076
  const {
4074
4077
  children: s,
4075
4078
  getValue: n,
@@ -4155,7 +4158,7 @@ const $p = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
4155
4158
  ),
4156
4159
  /* @__PURE__ */ t.jsx(ve.MultiValueLabel, { ...s })
4157
4160
  ] });
4158
- }, qp = (e) => /* @__PURE__ */ t.jsx(ve.MultiValueLabel, { ...e, children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__no-shrink", children: /* @__PURE__ */ t.jsx(qe, { className: "icon-dim-12 icon-use-fill-n6" }) }) }), Xp = ({
4161
+ }, qp = (e) => /* @__PURE__ */ t.jsx(ve.MultiValueLabel, { ...e, children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__no-shrink", children: /* @__PURE__ */ t.jsx(et, { className: "icon-dim-12 icon-use-fill-n6" }) }) }), Xp = ({
4159
4162
  isGroupHeadingSelectable: e,
4160
4163
  ...s
4161
4164
  }) => {
@@ -4265,7 +4268,7 @@ const $p = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
4265
4268
  ), Pe = (k) => /* @__PURE__ */ t.jsx(zp, { ...k, getIsOptionValid: ce }), Fe = ye(
4266
4269
  (k) => /* @__PURE__ */ t.jsx(Xp, { ...k, isGroupHeadingSelectable: W }),
4267
4270
  [W]
4268
- ), We = () => d ? /* @__PURE__ */ t.jsx(cs, { reload: m }) : $ ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: "No options" }) : null, mt = (k) => /* @__PURE__ */ t.jsx(ee, { content: i, placement: "top", className: "default-tt", arrow: !1, children: k }), gn = (k) => {
4271
+ ), We = () => d ? /* @__PURE__ */ t.jsx(cs, { reload: m }) : $ ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: "No options" }) : null, pt = (k) => /* @__PURE__ */ t.jsx(ee, { content: i, placement: "top", className: "default-tt", arrow: !1, children: k }), gn = (k) => {
4269
4272
  const ae = k?.trim();
4270
4273
  ae && V(ae);
4271
4274
  }, fa = (k) => {
@@ -4317,7 +4320,7 @@ const $p = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
4317
4320
  ] }) : r
4318
4321
  }
4319
4322
  ),
4320
- /* @__PURE__ */ t.jsx(ot, { condition: le && !!i, wrap: mt, children: /* @__PURE__ */ t.jsx("div", { className: "w-100", children: /* @__PURE__ */ t.jsx(
4323
+ /* @__PURE__ */ t.jsx(ot, { condition: le && !!i, wrap: pt, children: /* @__PURE__ */ t.jsx("div", { className: "w-100", children: /* @__PURE__ */ t.jsx(
4321
4324
  au,
4322
4325
  {
4323
4326
  ...X,
@@ -4917,7 +4920,7 @@ const eo = () => ({
4917
4920
  }, E = () => {
4918
4921
  s(c), f();
4919
4922
  }, S = () => /* @__PURE__ */ t.jsx("div", { className: "p-8 dc__border-top-n1", children: /* @__PURE__ */ t.jsx(
4920
- Ze,
4923
+ qe,
4921
4924
  {
4922
4925
  text: "Apply",
4923
4926
  dataTestId: "filter-select-picker-apply",
@@ -5850,13 +5853,13 @@ function Mf(e, s) {
5850
5853
  case Q.CronJob:
5851
5854
  case Q.ReplicationController:
5852
5855
  case Q.StatefulSet:
5853
- return ft.Workloads;
5856
+ return _t.Workloads;
5854
5857
  case Q.Ingress:
5855
5858
  case Q.Service:
5856
5859
  case Q.Endpoints:
5857
5860
  case Q.EndpointSlice:
5858
5861
  case Q.NetworkPolicy:
5859
- return ft.Networking;
5862
+ return _t.Networking;
5860
5863
  case Q.ConfigMap:
5861
5864
  case Q.Secret:
5862
5865
  case Q.PersistentVolume:
@@ -5866,27 +5869,27 @@ function Mf(e, s) {
5866
5869
  case Q.VolumeSnapshotContent:
5867
5870
  case Q.VolumeSnapshotClass:
5868
5871
  case Q.PodDisruptionBudget:
5869
- return ft["Config & Storage"];
5872
+ return _t["Config & Storage"];
5870
5873
  case Q.ServiceAccount:
5871
5874
  case Q.ClusterRoleBinding:
5872
5875
  case Q.RoleBinding:
5873
5876
  case Q.ClusterRole:
5874
5877
  case Q.Role:
5875
5878
  case Q.PodSecurityPolicy:
5876
- return ft.RBAC;
5879
+ return _t.RBAC;
5877
5880
  case Q.MutatingWebhookConfiguration:
5878
5881
  case Q.ValidatingWebhookConfiguration:
5879
- return ft.Administration;
5882
+ return _t.Administration;
5880
5883
  case Q.Alertmanager:
5881
5884
  case Q.Prometheus:
5882
5885
  case Q.ServiceMonitor:
5883
- return ft["Custom Resource"];
5886
+ return _t["Custom Resource"];
5884
5887
  case Q.Event:
5885
- return ft.Events;
5888
+ return _t.Events;
5886
5889
  case Q.Namespace:
5887
- return ft.Namespaces;
5890
+ return _t.Namespaces;
5888
5891
  default:
5889
- return s ? ft["Other Resources"] : ft["Custom Resource"];
5892
+ return s ? _t["Other Resources"] : _t["Custom Resource"];
5890
5893
  }
5891
5894
  }
5892
5895
  var kf = /* @__PURE__ */ ((e) => (e.ALL_CLUSTERS = "all", e.HEALTHY = "healthy", e.UNHEALTHY = "unhealthy", e))(kf || {}), Uf = /* @__PURE__ */ ((e) => (e.HEALTHY = "healthy", e.UNHEALTHY = "unhealthy", e.CONNECTION_FAILED = "connection failed", e))(Uf || {});
@@ -6244,7 +6247,7 @@ const Zf = (e, s = !1) => s ? btoa(e) : atob(e), uo = (e, s = !1) => Object.keys
6244
6247
  return r && typeof r == "object" ? s[a] = Cr(r) : s[a] = r, s;
6245
6248
  }, {}), ml = (e, s) => {
6246
6249
  const n = Cr(s), r = e === Et.WEBHOOK || n?.webhookdata?.id !== 0 ? n.webhookdata : {}, o = Ee(r.data.date, "YYYY-MM-DDTHH:mm:ssZ");
6247
- return o.isValid() ? o.format(at.TWELVE_HOURS_FORMAT) : r.data.date;
6250
+ return o.isValid() ? o.format(rt.TWELVE_HOURS_FORMAT) : r.data.date;
6248
6251
  }, o_ = (e) => e.sort(
6249
6252
  (s, n) => qf(
6250
6253
  Dr[s.severity],
@@ -6292,7 +6295,7 @@ const Zf = (e, s = !1) => s ? btoa(e) : atob(e), uo = (e, s = !1) => Object.keys
6292
6295
  resetOnChange: !1
6293
6296
  }
6294
6297
  ), [m, p, h, g] = Nt(
6295
- () => l({ artifactId: e, appId: s, envId: n }),
6298
+ () => l({ artifactId: e, appId: s }),
6296
6299
  [],
6297
6300
  a && r && o && !!l,
6298
6301
  {
@@ -6426,7 +6429,7 @@ const Zf = (e, s = !1) => s ? btoa(e) : atob(e), uo = (e, s = !1) => Object.keys
6426
6429
  children: [
6427
6430
  u ? "Hide info" : "Show more info",
6428
6431
  /* @__PURE__ */ t.jsx(
6429
- Ut,
6432
+ Bt,
6430
6433
  {
6431
6434
  className: "icon-dim-24 rotate",
6432
6435
  style: { "--rotateBy": u ? "-180deg" : "0deg" }
@@ -6466,7 +6469,7 @@ const Zf = (e, s = !1) => s ? btoa(e) : atob(e), uo = (e, s = !1) => Object.keys
6466
6469
  className: "flex p-0 dc__transparent dc__hover-remove-btn",
6467
6470
  onClick: i,
6468
6471
  "aria-label": "Remove filter",
6469
- children: /* @__PURE__ */ t.jsx(qe, { className: "icon-dim-12 icon-use-fill-n6" })
6472
+ children: /* @__PURE__ */ t.jsx(et, { className: "icon-dim-12 icon-use-fill-n6" })
6470
6473
  }
6471
6474
  )
6472
6475
  ] });
@@ -6602,7 +6605,7 @@ const u_ = ({
6602
6605
  onClick: d,
6603
6606
  type: "button",
6604
6607
  "aria-label": "remove-docker-args",
6605
- children: /* @__PURE__ */ t.jsx(qe, { className: "icon-dim-24 mt-6 ml-6" })
6608
+ children: /* @__PURE__ */ t.jsx(et, { className: "icon-dim-24 mt-6 ml-6" })
6606
6609
  }
6607
6610
  )
6608
6611
  ] });
@@ -6691,7 +6694,7 @@ const u_ = ({
6691
6694
  N && /* @__PURE__ */ t.jsx("span", { className: `fs-14 fw-6 lh-20 ${V ? "mr-12" : ""}`, children: N }),
6692
6695
  b && /* @__PURE__ */ t.jsx("div", { className: "icon-dim-20 cursor", onClick: c, children: /* @__PURE__ */ t.jsx(ys, { className: "icon-dim-20" }) }),
6693
6696
  V && /* @__PURE__ */ t.jsx("div", { className: "icon-dim-16 ml-auto", children: /* @__PURE__ */ t.jsx(
6694
- Bt,
6697
+ Lt,
6695
6698
  {
6696
6699
  className: `icon-dim-16 cursor ${r ? "fcn-9" : "fcn-0"}`,
6697
6700
  onClick: i
@@ -6947,7 +6950,7 @@ const g_ = (e) => Wt(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), x_ = ({ className:
6947
6950
  return /* @__PURE__ */ t.jsxs("div", { className: "getting_tippy__position", children: [
6948
6951
  /* @__PURE__ */ t.jsx("div", { className: "arrow-up" }),
6949
6952
  /* @__PURE__ */ t.jsxs("div", { className: `getting-started-card cn-0 p-20 br-8 fs-13 ${e}`, children: [
6950
- /* @__PURE__ */ t.jsx("img", { className: "mb-12 icon-dim-32", src: Kc, alt: "getting started icon" }),
6953
+ /* @__PURE__ */ t.jsx("img", { className: "mb-12 icon-dim-32", src: zc, alt: "getting started icon" }),
6951
6954
  /* @__PURE__ */ t.jsx("div", { className: "flex column left fw-6", children: "Getting started" }),
6952
6955
  /* @__PURE__ */ t.jsx("div", { children: "You can always access the Getting Started guide from here." }),
6953
6956
  /* @__PURE__ */ t.jsxs("div", { className: "mt-12 lh-18", children: [
@@ -6983,7 +6986,7 @@ const g_ = (e) => Wt(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), x_ = ({ className:
6983
6986
  {
6984
6987
  name: "View all tickets",
6985
6988
  link: um,
6986
- icon: qc
6989
+ icon: Xc
6987
6990
  }
6988
6991
  ], N_ = [
6989
6992
  {
@@ -7034,13 +7037,13 @@ const g_ = (e) => Wt(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), x_ = ({ className:
7034
7037
  {
7035
7038
  name: "View documentation",
7036
7039
  link: ms,
7037
- icon: Zc,
7040
+ icon: ed,
7038
7041
  showSeparator: !0
7039
7042
  },
7040
7043
  {
7041
7044
  name: "Join discord community",
7042
7045
  link: fr,
7043
- icon: Qc,
7046
+ icon: Zc,
7044
7047
  showSeparator: i
7045
7048
  },
7046
7049
  ...i ? E_ : N_
@@ -7054,9 +7057,9 @@ const g_ = (e) => Wt(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), x_ = ({ className:
7054
7057
  }, p = () => {
7055
7058
  s(!o);
7056
7059
  }, h = () => /* @__PURE__ */ t.jsxs("div", { onClick: fe, className: "help-card__option help-card__link flex left cn-9", children: [
7057
- /* @__PURE__ */ t.jsx(Jc, {}),
7060
+ /* @__PURE__ */ t.jsx(Qc, {}),
7058
7061
  /* @__PURE__ */ t.jsx(
7059
- zc,
7062
+ qc,
7060
7063
  {
7061
7064
  className: "dc__transparent help-card__option-name ml-12 cn-9 fs-14",
7062
7065
  id: c,
@@ -7099,7 +7102,7 @@ const g_ = (e) => Wt(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), x_ = ({ className:
7099
7102
  activeClassName: "active",
7100
7103
  onClick: d,
7101
7104
  children: [
7102
- /* @__PURE__ */ t.jsx(Xc, {}),
7105
+ /* @__PURE__ */ t.jsx(Jc, {}),
7103
7106
  /* @__PURE__ */ t.jsx("div", { className: "help-card__option-name ml-12 cn-9 fs-14", "data-testid": "getting-started-link", children: "Getting started" })
7104
7107
  ]
7105
7108
  }
@@ -7129,14 +7132,14 @@ const g_ = (e) => Wt(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), x_ = ({ className:
7129
7132
  o(!1), typeof Storage < "u" && Gn("expiryDateOfHidingAnnouncementBanner", 1);
7130
7133
  }, i = () => /* @__PURE__ */ t.jsxs("div", { className: "flex", children: [
7131
7134
  /* @__PURE__ */ t.jsx("div", { children: n }),
7132
- s ? null : /* @__PURE__ */ t.jsx(qe, { className: "icon-dim-20 ml-8 fcn-9", onClick: l })
7135
+ s ? null : /* @__PURE__ */ t.jsx(et, { className: "icon-dim-20 ml-8 fcn-9", onClick: l })
7133
7136
  ] });
7134
7137
  return r || s ? /* @__PURE__ */ t.jsx("div", { className: `announcement-banner-container ${e}`, children: /* @__PURE__ */ t.jsx(
7135
7138
  uc,
7136
7139
  {
7137
7140
  message: i(),
7138
7141
  classname: "announcement-bar fw-6 lh-20",
7139
- Icon: ed,
7142
+ Icon: td,
7140
7143
  iconSize: 20
7141
7144
  }
7142
7145
  ) }) : null;
@@ -7159,15 +7162,15 @@ const g_ = (e) => Wt(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), x_ = ({ className:
7159
7162
  /* @__PURE__ */ t.jsxs("div", { className: "trigger-modal__header w-100", children: [
7160
7163
  /* @__PURE__ */ t.jsx("h1", { className: "modal__title flex left fs-16 fw-6-imp", "data-testid": "app-details-url-heading", children: a || n }),
7161
7164
  /* @__PURE__ */ t.jsx(
7162
- Ze,
7165
+ qe,
7163
7166
  {
7164
7167
  ariaLabel: "promo-header-button",
7165
7168
  dataTestId: "iframe-modal-close-button",
7166
7169
  size: B.small,
7167
7170
  onClick: l,
7168
- style: xt.negativeGrey,
7169
- variant: rt.borderLess,
7170
- icon: /* @__PURE__ */ t.jsx(qe, {}),
7171
+ style: mt.negativeGrey,
7172
+ variant: Ze.borderLess,
7173
+ icon: /* @__PURE__ */ t.jsx(et, {}),
7171
7174
  showAriaLabelInTippy: !1
7172
7175
  }
7173
7176
  )
@@ -7195,13 +7198,13 @@ const g_ = (e) => Wt(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), x_ = ({ className:
7195
7198
  ) });
7196
7199
  return /* @__PURE__ */ t.jsxs("div", { children: [
7197
7200
  n && /* @__PURE__ */ t.jsx(
7198
- Ze,
7201
+ qe,
7199
7202
  {
7200
7203
  dataTestId: "iframe-header-button",
7201
7204
  size: B.small,
7202
7205
  onClick: o,
7203
7206
  text: n,
7204
- variant: rt.secondary
7207
+ variant: Ze.secondary
7205
7208
  }
7206
7209
  ),
7207
7210
  e && i()
@@ -7256,7 +7259,7 @@ const g_ = (e) => Wt(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), x_ = ({ className:
7256
7259
  /* @__PURE__ */ t.jsx("span", { className: "icon-dim-24 fcn-9", children: /* @__PURE__ */ t.jsx(ys, {}) }),
7257
7260
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 cn-9", "data-testid": "go-to-get-started", children: "Help" }),
7258
7261
  /* @__PURE__ */ t.jsx(
7259
- Ut,
7262
+ Bt,
7260
7263
  {
7261
7264
  style: { "--rotateBy": `${180 * Number(I)}deg` },
7262
7265
  className: "fcn-9 icon-dim-20 rotate pointer"
@@ -7288,7 +7291,7 @@ const g_ = (e) => Wt(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), x_ = ({ className:
7288
7291
  type: "button",
7289
7292
  "aria-label": "close-button",
7290
7293
  onClick: c,
7291
- children: /* @__PURE__ */ t.jsx(qe, { className: "dc__page-header__close-icon icon-dim-24 cursor" })
7294
+ children: /* @__PURE__ */ t.jsx(et, { className: "dc__page-header__close-icon icon-dim-24 cursor" })
7292
7295
  }
7293
7296
  ),
7294
7297
  /* @__PURE__ */ t.jsx("span", { className: "fw-6", "data-testid": "main-header", children: e }),
@@ -7379,7 +7382,7 @@ const g_ = (e) => Wt(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), x_ = ({ className:
7379
7382
  }
7380
7383
  );
7381
7384
  }, qT = ({ headerName: e }) => {
7382
- const s = et(), n = Ht(), a = Gt(), { serverMode: r } = da(), [o, l] = j(!1), i = () => {
7385
+ const s = tt(), n = Ht(), a = Gt(), { serverMode: r } = da(), [o, l] = j(!1), i = () => {
7383
7386
  l((h) => !h);
7384
7387
  }, c = () => {
7385
7388
  n.push(he.CHARTS_DISCOVER);
@@ -7389,16 +7392,16 @@ const g_ = (e) => Wt(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), x_ = ({ className:
7389
7392
  }, d = () => {
7390
7393
  n.push(`${he.JOB}/${he.APP_LIST}/${he.CREATE_JOB}`);
7391
7394
  }, m = () => r === Ri.FULL ? /* @__PURE__ */ t.jsx(
7392
- Ze,
7395
+ qe,
7393
7396
  {
7394
7397
  text: "Create",
7395
7398
  onClick: i,
7396
7399
  dataTestId: "create-app-button-on-header",
7397
- endIcon: /* @__PURE__ */ t.jsx(Hc, { className: "icon-dim-20" }),
7400
+ endIcon: /* @__PURE__ */ t.jsx(Yc, { className: "icon-dim-20" }),
7398
7401
  size: B.small
7399
7402
  }
7400
7403
  ) : /* @__PURE__ */ t.jsx(
7401
- Ze,
7404
+ qe,
7402
7405
  {
7403
7406
  text: "Deploy helm charts",
7404
7407
  onClick: c,
@@ -7438,7 +7441,7 @@ const g_ = (e) => Wt(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), x_ = ({ className:
7438
7441
  onClick: c,
7439
7442
  "data-testid": "create-from-chart-store-button",
7440
7443
  children: [
7441
- /* @__PURE__ */ t.jsx(Yc, { className: "icon-dim-20" }),
7444
+ /* @__PURE__ */ t.jsx(Wc, { className: "icon-dim-20" }),
7442
7445
  /* @__PURE__ */ t.jsxs("div", { className: "ml-8", children: [
7443
7446
  /* @__PURE__ */ t.jsx("strong", { children: "From Chart store" }),
7444
7447
  /* @__PURE__ */ t.jsxs("div", { children: [
@@ -7457,7 +7460,7 @@ const g_ = (e) => Wt(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), x_ = ({ className:
7457
7460
  onClick: d,
7458
7461
  "data-testid": "create-job-button-in-dropdown",
7459
7462
  children: [
7460
- /* @__PURE__ */ t.jsx(Wc, { className: "icon-dim-20 scn-7" }),
7463
+ /* @__PURE__ */ t.jsx(Kc, { className: "icon-dim-20 scn-7" }),
7461
7464
  /* @__PURE__ */ t.jsxs("div", { className: "ml-8", children: [
7462
7465
  /* @__PURE__ */ t.jsx("strong", { children: "Job" }),
7463
7466
  /* @__PURE__ */ t.jsxs("div", { children: [
@@ -7506,7 +7509,7 @@ const g_ = (e) => Wt(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), x_ = ({ className:
7506
7509
  disabled: l,
7507
7510
  rootClassName: "flex dc__transparent p-0 w-28 bcb-5 dc__right-radius-4 dc__no-left-radius dc__no-top-border dc__no-bottom-border dc__no-right-border button-with-selector",
7508
7511
  children: /* @__PURE__ */ t.jsx(
7509
- Ut,
7512
+ Bt,
7510
7513
  {
7511
7514
  className: "icon-dim-16 fcn-0 dc__no-shrink rotate",
7512
7515
  style: { "--rotateBy": c ? "180deg" : "0deg" }
@@ -7902,7 +7905,7 @@ const ho = (e) => {
7902
7905
  }, va = {
7903
7906
  PENDING: "Pending"
7904
7907
  }, D_ = "1", M_ = "/resource-browser/1/devtron-ci/pod/k8sEmptyGroup", k_ = "devtron-ci", vn = 3, go = "deployment-status", U_ = ["KIND", "NAME", "SYNC STATUS", "MESSAGE"], xo = "STAGE_INFO", B_ = "|";
7905
- var be = /* @__PURE__ */ ((e) => (e.CI = "CI", e.CD = "CD", e.GROUP_CI = "GROUP_CI", e.GROUP_CD = "GROUP_CD", e))(be || {}), kt = /* @__PURE__ */ ((e) => (e.SUCCESS = "SUCCESS", e.FETCHING = "FETCHING", e.SUSPEND = "SUSPEND", e))(kt || {});
7908
+ var be = /* @__PURE__ */ ((e) => (e.CI = "CI", e.CD = "CD", e.GROUP_CI = "GROUP_CI", e.GROUP_CD = "GROUP_CD", e))(be || {}), Ut = /* @__PURE__ */ ((e) => (e.SUCCESS = "SUCCESS", e.FETCHING = "FETCHING", e.SUSPEND = "SUSPEND", e))(Ut || {});
7906
7909
  const $_ = {
7907
7910
  [ge.SUCCEEDED]: "cg-5",
7908
7911
  [ge.HEALTHY]: "cg-5",
@@ -7916,7 +7919,7 @@ const $_ = {
7916
7919
  [ge.INITIATING]: "initiating",
7917
7920
  [ge.QUEUED]: "queued"
7918
7921
  };
7919
- var tt = /* @__PURE__ */ ((e) => (e.Degraded = "degraded", e.Healthy = "healthy", e.Progressing = "progressing", e.Missing = "missing", e.Suspended = "suspended", e.Unknown = "unknown", e))(tt || {}), Js = /* @__PURE__ */ ((e) => (e.drifted = "drifted", e))(Js || {});
7922
+ var st = /* @__PURE__ */ ((e) => (e.Degraded = "degraded", e.Healthy = "healthy", e.Progressing = "progressing", e.Missing = "missing", e.Suspended = "suspended", e.Unknown = "unknown", e))(st || {}), Js = /* @__PURE__ */ ((e) => (e.drifted = "drifted", e))(Js || {});
7920
7923
  const Eo = {
7921
7924
  missing: 1,
7922
7925
  degraded: 2,
@@ -7989,7 +7992,7 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
7989
7992
  }, bo = (e) => {
7990
7993
  switch (e) {
7991
7994
  case "success":
7992
- return /* @__PURE__ */ t.jsx(Ud, { className: "icon-dim-20 green-tick", "data-testid": "success-green-tick" });
7995
+ return /* @__PURE__ */ t.jsx(Bd, { className: "icon-dim-20 green-tick", "data-testid": "success-green-tick" });
7993
7996
  case "failed":
7994
7997
  return /* @__PURE__ */ t.jsx(is, { className: "icon-dim-20" });
7995
7998
  case "unknown":
@@ -7997,13 +8000,13 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
7997
8000
  case "inprogress":
7998
8001
  return /* @__PURE__ */ t.jsx("div", { className: "icon-dim-20", children: /* @__PURE__ */ t.jsx("div", { className: "pulse-highlight" }) });
7999
8002
  case "unreachable":
8000
- return /* @__PURE__ */ t.jsx(qe, { className: "icon-dim-20" });
8003
+ return /* @__PURE__ */ t.jsx(et, { className: "icon-dim-20" });
8001
8004
  case "loading":
8002
8005
  return /* @__PURE__ */ t.jsx("div", { className: "dc__app-summary__icon icon-dim-20 mr-6 progressing progressing--node" });
8003
8006
  case "disconnect":
8004
- return /* @__PURE__ */ t.jsx(Bd, { className: "icon-dim-20" });
8005
- case "time_out":
8006
8007
  return /* @__PURE__ */ t.jsx($d, { className: "icon-dim-20" });
8008
+ case "time_out":
8009
+ return /* @__PURE__ */ t.jsx(Fd, { className: "icon-dim-20" });
8007
8010
  default:
8008
8011
  return /* @__PURE__ */ t.jsx(ci, { className: "icon-dim-20 timer-icon" });
8009
8012
  }
@@ -8012,11 +8015,11 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8012
8015
  case Ns.SUCCESS:
8013
8016
  return /* @__PURE__ */ t.jsx(aa, { className: "dc__no-shrink icon-dim-16 scg-5" });
8014
8017
  case Ns.FAILURE:
8015
- return /* @__PURE__ */ t.jsx(qe, { className: "dc__no-shrink icon-dim-16 fcr-5" });
8018
+ return /* @__PURE__ */ t.jsx(et, { className: "dc__no-shrink icon-dim-16 fcr-5" });
8016
8019
  default:
8017
8020
  return /* @__PURE__ */ t.jsx(ji, { className: "dc__no-shrink icon-dim-16 ic-in-progress-orange" });
8018
8021
  }
8019
- }, Co = () => /* @__PURE__ */ t.jsx(kd, { className: "icon-dim-20 dc__no-shrink" }), To = () => /* @__PURE__ */ t.jsx(js, { className: "icon-dim-20 dc__no-shrink ic-error-cross-red" }), So = () => /* @__PURE__ */ t.jsx(ji, { className: "dc__no-shrink icon-dim-20 ic-in-progress-orange" }), vo = () => /* @__PURE__ */ t.jsx("div", { className: "dc__app-summary__icon dc__no-shrink icon-dim-20 succeeded" }), K_ = (e) => {
8022
+ }, Co = () => /* @__PURE__ */ t.jsx(Ud, { className: "icon-dim-20 dc__no-shrink" }), To = () => /* @__PURE__ */ t.jsx(js, { className: "icon-dim-20 dc__no-shrink ic-error-cross-red" }), So = () => /* @__PURE__ */ t.jsx(ji, { className: "dc__no-shrink icon-dim-20 ic-in-progress-orange" }), vo = () => /* @__PURE__ */ t.jsx("div", { className: "dc__app-summary__icon dc__no-shrink icon-dim-20 succeeded" }), K_ = (e) => {
8020
8023
  const s = e?.toUpperCase();
8021
8024
  switch (s) {
8022
8025
  case G.ABORTED:
@@ -8169,7 +8172,7 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8169
8172
  /* @__PURE__ */ t.jsx("span", { className: "fw-6 fs-16 mb-4", style: { color: Wa[e.toLowerCase()] }, children: e.toLowerCase() === "cancelled" ? "Aborted" : e }),
8170
8173
  /* @__PURE__ */ t.jsxs("div", { className: "flex column left", children: [
8171
8174
  /* @__PURE__ */ t.jsxs("div", { className: "flex left fs-12 cn-7", children: [
8172
- /* @__PURE__ */ t.jsx("div", { children: Ee(s).format(at.TWELVE_HOURS_FORMAT) }),
8175
+ /* @__PURE__ */ t.jsx("div", { children: Ee(s).format(rt.TWELVE_HOURS_FORMAT) }),
8173
8176
  /* @__PURE__ */ t.jsx("div", { className: "dc__bullet ml-6 mr-6" }),
8174
8177
  /* @__PURE__ */ t.jsx("div", { children: n === 1 ? "auto trigger" : a })
8175
8178
  ] }),
@@ -8213,7 +8216,7 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8213
8216
  "aria-label": "all-history",
8214
8217
  className: "p-0 dc__no-background dc__no-border h-16",
8215
8218
  onClick: e,
8216
- children: /* @__PURE__ */ t.jsx(td, { width: 16, height: 16 })
8219
+ children: /* @__PURE__ */ t.jsx(sd, { width: 16, height: 16 })
8217
8220
  }
8218
8221
  ),
8219
8222
  /* @__PURE__ */ t.jsx("div", { style: { flex: "1 0 0" }, children: /* @__PURE__ */ t.jsx("p", { className: "ci-cd-details__sidebar-typography", children: "View all items in history" }) })
@@ -8235,7 +8238,7 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8235
8238
  runSource: p,
8236
8239
  resourceId: h
8237
8240
  }) => {
8238
- const { path: g, params: f } = At(), { pathname: _ } = Gt(), x = _.split("/").pop(), { envId: E, ...S } = et(), T = c === be.CD || c === be.GROUP_CD, C = T ? "triggerId" : "buildId", v = h === p?.id, I = q(null), N = () => {
8241
+ const { path: g, params: f } = At(), { pathname: _ } = Gt(), x = _.split("/").pop(), { envId: E, ...S } = tt(), T = c === be.CD || c === be.GROUP_CD, C = T ? "triggerId" : "buildId", v = h === p?.id, I = q(null), N = () => {
8239
8242
  const y = {
8240
8243
  ...S,
8241
8244
  envId: E,
@@ -8286,7 +8289,7 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8286
8289
  K_(s),
8287
8290
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-8", children: [
8288
8291
  /* @__PURE__ */ t.jsxs("div", { className: "flex column left", children: [
8289
- /* @__PURE__ */ t.jsx("div", { className: "cn-9 fs-13 lh-20", children: Ee(n).format(at.TWELVE_HOURS_FORMAT) }),
8292
+ /* @__PURE__ */ t.jsx("div", { className: "cn-9 fs-13 lh-20", children: Ee(n).format(rt.TWELVE_HOURS_FORMAT) }),
8290
8293
  /* @__PURE__ */ t.jsxs("div", { className: "flex left cn-7 fs-12", children: [
8291
8294
  T && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
8292
8295
  /* @__PURE__ */ t.jsx("div", { className: "dc__first-letter-capitalize dc__no-shrink", children: ["pre", "post"].includes(u?.toLowerCase()) ? `${u}-deploy` : u }),
@@ -8321,7 +8324,7 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8321
8324
  renderRunSource: c,
8322
8325
  resourceId: u
8323
8326
  }) => {
8324
- const { pipelineId: d, appId: m, envId: p } = et(), { push: h } = Ht(), { path: g } = At(), f = (v) => {
8327
+ const { pipelineId: d, appId: m, envId: p } = tt(), { push: h } = Ht(), { path: g } = At(), f = (v) => {
8325
8328
  e === be.CI ? (r({ offset: 0, size: 20 }), h(es(g, { appId: m, pipelineId: v.value }))) : e === be.GROUP_CI ? (r({ offset: 0, size: 20 }), h(es(g, { envId: p, pipelineId: v.pipelineId }))) : e === be.GROUP_CD ? (r({ offset: 0, size: 20 }), h(es(g, { envId: p, appId: v.value, pipelineId: v.pipelineId }))) : (r({ offset: 0, size: 20 }), h(es(g, { appId: m, envId: v.value, pipelineId: v.pipelineId })));
8326
8329
  }, _ = () => {
8327
8330
  nn.event({
@@ -8383,7 +8386,7 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8383
8386
  }
8384
8387
  ),
8385
8388
  /* @__PURE__ */ t.jsxs("div", { className: "flex column top left flex-grow-1 dc__hide-hscroll p-8", style: { overflowY: "auto" }, children: [
8386
- o === kt.SUCCESS && /* @__PURE__ */ t.jsx(q_, { handleViewAllHistory: l }),
8389
+ o === Ut.SUCCESS && /* @__PURE__ */ t.jsx(q_, { handleViewAllHistory: l }),
8387
8390
  Array.from(n).sort(([v], [I]) => I - v).map(([v, I], N) => /* @__PURE__ */ t.jsx(
8388
8391
  X_,
8389
8392
  {
@@ -8404,7 +8407,7 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8404
8407
  },
8405
8408
  v
8406
8409
  )),
8407
- a && (o === kt.SUSPEND || !o) && /* @__PURE__ */ t.jsx(El, { callback: _ })
8410
+ a && (o === Ut.SUSPEND || !o) && /* @__PURE__ */ t.jsx(El, { callback: _ })
8408
8411
  ] })
8409
8412
  ] });
8410
8413
  }
@@ -8526,7 +8529,7 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8526
8529
  throw new Error("No content to download");
8527
8530
  {
8528
8531
  const u = await c?.json();
8529
- throw new ht(u);
8532
+ throw new gt(u);
8530
8533
  }
8531
8534
  }
8532
8535
  } catch (c) {
@@ -8682,7 +8685,7 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8682
8685
  "data-testid": "hover-on-report-artifact",
8683
8686
  children: [
8684
8687
  /* @__PURE__ */ t.jsxs("div", { className: "ci-artifacts-grid flex left", children: [
8685
- /* @__PURE__ */ t.jsx("div", { className: "bcn-1 flex br-4 icon-dim-40", children: /* @__PURE__ */ t.jsx("img", { src: e === "report" ? Vd : sd, className: "icon-dim-20", alt: "type" }) }),
8688
+ /* @__PURE__ */ t.jsx("div", { className: "bcn-1 flex br-4 icon-dim-40", children: /* @__PURE__ */ t.jsx("img", { src: e === "report" ? Gd : nd, className: "icon-dim-20", alt: "type" }) }),
8686
8689
  a
8687
8690
  ] }),
8688
8691
  e !== "report" && /* @__PURE__ */ t.jsx(
@@ -8719,7 +8722,7 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8719
8722
  rootClassName: h,
8720
8723
  renderCIListHeader: g
8721
8724
  }) => {
8722
- const { isSuperAdmin: f } = ol(), { handleDownload: _ } = nh(), { triggerId: x, buildId: E } = et();
8725
+ const { isSuperAdmin: f } = ol(), { handleDownload: _ } = nh(), { triggerId: x, buildId: E } = tt();
8723
8726
  async function S() {
8724
8727
  await _({
8725
8728
  downloadUrl: r,
@@ -8743,7 +8746,7 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8743
8746
  {
8744
8747
  title: Se.ARTIFACTS_EMPTY_STATE_TEXTS.NoArtifactsFound,
8745
8748
  subTitle: Se.ARTIFACTS_EMPTY_STATE_TEXTS.NoArtifactsFoundError,
8746
- image: Gd
8749
+ image: Hd
8747
8750
  }
8748
8751
  );
8749
8752
  }
@@ -8765,11 +8768,11 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8765
8768
  children: /* @__PURE__ */ t.jsxs("div", { className: "flex column left hover-trigger", children: [
8766
8769
  /* @__PURE__ */ t.jsxs("div", { className: "cn-9 fs-14 flex left", "data-testid": "artifact-text-visibility", children: [
8767
8770
  Vn(s),
8768
- /* @__PURE__ */ t.jsx("div", { className: "pl-4", children: /* @__PURE__ */ t.jsx(Lt, { content: Vn(s) }) })
8771
+ /* @__PURE__ */ t.jsx("div", { className: "pl-4", children: /* @__PURE__ */ t.jsx(Rt, { content: Vn(s) }) })
8769
8772
  ] }),
8770
8773
  /* @__PURE__ */ t.jsxs("div", { className: "cn-7 fs-12 flex left", "data-testid": "artifact-image-text", children: [
8771
8774
  s,
8772
- /* @__PURE__ */ t.jsx("div", { className: "pl-4", children: /* @__PURE__ */ t.jsx(Lt, { content: s }) })
8775
+ /* @__PURE__ */ t.jsx("div", { className: "pl-4", children: /* @__PURE__ */ t.jsx(Rt, { content: s }) })
8773
8776
  ] })
8774
8777
  ] })
8775
8778
  }
@@ -8791,7 +8794,7 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8791
8794
  className: "anchor p-0 cb-5 fs-12 flex left pointer",
8792
8795
  children: [
8793
8796
  "Download",
8794
- /* @__PURE__ */ t.jsx(Fd, { className: "ml-5 icon-dim-16" })
8797
+ /* @__PURE__ */ t.jsx(Vd, { className: "ml-5 icon-dim-16" })
8795
8798
  ]
8796
8799
  }
8797
8800
  )
@@ -8876,13 +8879,13 @@ const V_ = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8876
8879
  onClick: e,
8877
8880
  children: [
8878
8881
  /* @__PURE__ */ t.jsxs("span", { className: "flex dc__gap-4 br-4 pl-6 pr-6 bcb-1", children: [
8879
- /* @__PURE__ */ t.jsx(gd, { className: "icon-dim-14 dc__no-shrink fcb-5" }),
8882
+ /* @__PURE__ */ t.jsx(xd, { className: "icon-dim-14 dc__no-shrink fcb-5" }),
8880
8883
  /* @__PURE__ */ t.jsx("span", { children: s[0].substring(0, 7) })
8881
8884
  ] }),
8882
8885
  s.length > 1 && /* @__PURE__ */ t.jsx("span", { className: "flex br-4 pl-6 pr-6 bcb-1", children: "…" })
8883
8886
  ]
8884
8887
  }
8885
- ) }) : /* @__PURE__ */ t.jsx("span", {}), Ao = (e) => e && e === kt.FETCHING ? "?SHOW_APPLIED_FILTERS=true" : "";
8888
+ ) }) : /* @__PURE__ */ t.jsx("span", {}), Ao = (e) => e && e === Ut.FETCHING ? "?SHOW_APPLIED_FILTERS=true" : "";
8886
8889
  function rh({
8887
8890
  appId: e,
8888
8891
  envId: s,
@@ -8980,9 +8983,9 @@ const dS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
8980
8983
  }, Qs = (e, s, n) => {
8981
8984
  let a;
8982
8985
  const r = { codeEditorValue: e.codeEditorValue, values: {} };
8983
- return delete e.codeEditorValue, s === nt.DEPLOYMENT_TEMPLATE.VALUE ? a = uh(e) : s === nt.PIPELINE_STRATEGY.VALUE ? a = mh(e) : a = ph(
8986
+ return delete e.codeEditorValue, s === at.DEPLOYMENT_TEMPLATE.VALUE ? a = uh(e) : s === at.PIPELINE_STRATEGY.VALUE ? a = mh(e) : a = ph(
8984
8987
  e,
8985
- s === nt.CONFIGMAP.VALUE ? nt.CONFIGMAP.DISPLAY_NAME : nt.SECRET.DISPLAY_NAME,
8988
+ s === at.CONFIGMAP.VALUE ? at.CONFIGMAP.DISPLAY_NAME : at.SECRET.DISPLAY_NAME,
8986
8989
  r,
8987
8990
  n
8988
8991
  ), r.values = a, r;
@@ -9145,7 +9148,7 @@ const dS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
9145
9148
  }
9146
9149
  return P(() => (e && _(), p), [e, s]), [n, d.current, o];
9147
9150
  }, xh = ({ triggerDetails: e, isBlobStorageConfigured: s, parentType: n, fullScreenView: a }) => {
9148
- const { pipelineId: r, envId: o, appId: l } = et(), i = n === be.CI ? `${Mn}/${Y.CI_CONFIG_GET}/${r}/workflow/${e.id}/logs` : `${Mn}/${Y.CD_MATERIAL_GET}/workflow/logs/${l}/${o}/${r}/${e.id}`, [c, u, d] = gh(
9151
+ const { pipelineId: r, envId: o, appId: l } = tt(), i = n === be.CI ? `${Mn}/${Y.CI_CONFIG_GET}/${r}/workflow/${e.id}/logs` : `${Mn}/${Y.CD_MATERIAL_GET}/workflow/logs/${l}/${o}/${r}/${e.id}`, [c, u, d] = gh(
9149
9152
  e.podStatus && e.podStatus !== va.PENDING && i
9150
9153
  ), [m, p] = j([]), [h, g] = j([]), [f, _] = j(0), [x, E] = j([]), { searchKey: S, handleSearch: T } = Er(), C = h.length > 0, v = se(() => m.every((U) => U.isOpen), [m]), I = v ? "Collapse all stages" : "Expand all stages", { registerShortcut: N, unregisterShortcut: b } = un(), A = window._env_.FEATURE_STEP_WISE_LOGS_ENABLE && c[0]?.startsWith(xo) || !1;
9151
9154
  function R({
@@ -9190,7 +9193,7 @@ const dS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
9190
9193
  try {
9191
9194
  const { stage: z, startTime: me, endTime: pe, status: Pe } = JSON.parse(
9192
9195
  F.split(B_)[1]
9193
- ), Fe = L.find((mt) => mt.stage === z && mt.startTime === me), We = ce[z]?.[me] ?? {};
9196
+ ), Fe = L.find((pt) => pt.stage === z && pt.startTime === me), We = ce[z]?.[me] ?? {};
9194
9197
  if (Fe)
9195
9198
  Fe.endTime = pe, Fe.status = Pe, Fe.isOpen = y(
9196
9199
  Pe,
@@ -9199,20 +9202,20 @@ const dS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
9199
9202
  !!W
9200
9203
  );
9201
9204
  else {
9202
- const mt = V ? Ns.PROGRESSING : Ns.FAILURE;
9205
+ const pt = V ? Ns.PROGRESSING : Ns.FAILURE;
9203
9206
  L.push({
9204
9207
  stage: z || `Untitled stage ${M + 1}`,
9205
9208
  startTime: me || "",
9206
9209
  endTime: pe || "",
9207
9210
  // Would be defining the state when we receive the end status, otherwise it is loading and would be open
9208
9211
  isOpen: y(
9209
- mt,
9212
+ pt,
9210
9213
  We.isOpen,
9211
9214
  // Wont be present in case of start stage since no logs are present yet
9212
9215
  !!ne[z]?.[me],
9213
9216
  !!W
9214
9217
  ),
9215
- status: mt,
9218
+ status: pt,
9216
9219
  logs: []
9217
9220
  });
9218
9221
  }
@@ -9361,7 +9364,7 @@ const dS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
9361
9364
  className: "dc__unset-button-styles px-10 flex dc__bg-n0--opacity-0_2",
9362
9365
  onClick: $,
9363
9366
  "aria-label": I,
9364
- children: v ? /* @__PURE__ */ t.jsx(id, { className: "icon-dim-16 dc__no-shrink dc__transition--transform scn-0" }) : /* @__PURE__ */ t.jsx(od, { className: "icon-dim-16 dc__no-shrink dc__transition--transform scn-0" })
9367
+ children: v ? /* @__PURE__ */ t.jsx(ld, { className: "icon-dim-16 dc__no-shrink dc__transition--transform scn-0" }) : /* @__PURE__ */ t.jsx(id, { className: "icon-dim-16 dc__no-shrink dc__transition--transform scn-0" })
9365
9368
  }
9366
9369
  )
9367
9370
  }
@@ -9471,20 +9474,20 @@ const dS = (e, s, n) => re(`app/history/deployed-configuration/${e}/${s}/${n}`),
9471
9474
  let r = 0, o = 0, l = 0, i = 0, c = 0, u = 0;
9472
9475
  e?.forEach((_) => {
9473
9476
  const x = _.health?.status;
9474
- _.hasDrift && (u += 1), x?.toLowerCase() === tt.Healthy ? o += 1 : x?.toLowerCase() === tt.Degraded ? i += 1 : x?.toLowerCase() === tt.Progressing ? l += 1 : x?.toLowerCase() === tt.Missing && (c += 1), r += 1;
9477
+ _.hasDrift && (u += 1), x?.toLowerCase() === st.Healthy ? o += 1 : x?.toLowerCase() === st.Degraded ? i += 1 : x?.toLowerCase() === st.Progressing ? l += 1 : x?.toLowerCase() === st.Missing && (c += 1), r += 1;
9475
9478
  });
9476
9479
  const d = (_) => {
9477
9480
  n(_.target.value);
9478
9481
  }, p = [
9479
9482
  { status: Un, count: r, isSelected: s == Un },
9480
- { status: tt.Missing, count: c, isSelected: tt.Missing == s },
9481
- { status: tt.Degraded, count: i, isSelected: tt.Degraded == s },
9483
+ { status: st.Missing, count: c, isSelected: st.Missing == s },
9484
+ { status: st.Degraded, count: i, isSelected: st.Degraded == s },
9482
9485
  {
9483
- status: tt.Progressing,
9486
+ status: st.Progressing,
9484
9487
  count: l,
9485
- isSelected: tt.Progressing == s
9488
+ isSelected: st.Progressing == s
9486
9489
  },
9487
- { status: tt.Healthy, count: o, isSelected: tt.Healthy == s },
9490
+ { status: st.Healthy, count: o, isSelected: st.Healthy == s },
9488
9491
  window._env_.FEATURE_CONFIG_DRIFT_ENABLE && {
9489
9492
  status: Js.drifted,
9490
9493
  count: u,
@@ -9796,12 +9799,12 @@ const Sh = (e, s) => {
9796
9799
  n && _.hasDrift && /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-items-center", children: [
9797
9800
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 lh-20 cy-7", children: "Config drift detected" }),
9798
9801
  a && d && m && /* @__PURE__ */ t.jsx(
9799
- Ze,
9802
+ qe,
9800
9803
  {
9801
9804
  dataTestId: "show-config-drift",
9802
9805
  text: "Compare with desired",
9803
- variant: rt.text,
9804
- style: xt.default,
9806
+ variant: Ze.text,
9807
+ style: mt.default,
9805
9808
  onClick: p,
9806
9809
  size: B.small
9807
9810
  }
@@ -9839,7 +9842,7 @@ const Sh = (e, s) => {
9839
9842
  hideVerticalConnector: s,
9840
9843
  deploymentDetailedData: n
9841
9844
  }) => {
9842
- const { appId: a, envId: r } = et(), o = n.deploymentStatusBreakdown[e], [l, i] = j(o.isCollapsed), c = ["inprogress", "failed", "disconnect", "timed_out"], u = e === G.HELM_MANIFEST_PUSHED_TO_HELM_REPO && n.deploymentStatus === am.failed;
9845
+ const { appId: a, envId: r } = tt(), o = n.deploymentStatusBreakdown[e], [l, i] = j(o.isCollapsed), c = ["inprogress", "failed", "disconnect", "timed_out"], u = e === G.HELM_MANIFEST_PUSHED_TO_HELM_REPO && n.deploymentStatus === am.failed;
9843
9846
  P(() => {
9844
9847
  i(o.isCollapsed);
9845
9848
  }, [o.isCollapsed]);
@@ -9937,12 +9940,12 @@ const Sh = (e, s) => {
9937
9940
  "data-testid": "deployment-status-kubernetes-dropdown",
9938
9941
  className: `pl-8 pr-8 pt-4 pb-4 br-12 ${o.icon === "failed" ? "bcr-1 cr-5" : "bcg-1 cg-7"}`,
9939
9942
  children: Ee(o.time, "YYYY-MM-DDTHH:mm:ssZ").format(
9940
- at.TWELVE_HOURS_FORMAT
9943
+ rt.TWELVE_HOURS_FORMAT
9941
9944
  )
9942
9945
  }
9943
9946
  ),
9944
9947
  (e === G.KUBECTL_APPLY && o.kubeList?.length || e === G.APP_HEALTH && c.includes(o.icon) || (e === G.GIT_COMMIT || e === G.ARGOCD_SYNC) && o.icon === "failed") && /* @__PURE__ */ t.jsx(
9945
- Ut,
9948
+ Bt,
9946
9949
  {
9947
9950
  style: { marginLeft: "auto", "--rotateBy": `${180 * +!l}deg` },
9948
9951
  className: "icon-dim-24 rotate pointer",
@@ -9995,7 +9998,7 @@ const Ih = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
9995
9998
  }
9996
9999
  }, [e]), !e || e.appType !== Ha.DEVTRON_APP || !e.resourceTree || !e.resourceTree.nodes || e.externalCi ? null : s && /* @__PURE__ */ t.jsxs("div", { className: "er-2 bw-1 br-4 m-20 fs-13", children: [
9997
10000
  /* @__PURE__ */ t.jsxs("div", { className: "bcr-1 pl-12 pr-12 pt-8 pb-8 dc__border-bottom-r2 flex left", children: [
9998
- /* @__PURE__ */ t.jsx(cd, { className: "icon-dim-24 mr-8" }),
10001
+ /* @__PURE__ */ t.jsx(dd, { className: "icon-dim-24 mr-8" }),
9999
10002
  " ",
10000
10003
  /* @__PURE__ */ t.jsx("span", { className: "mr-8", children: "IMAGEPULLBACKOFF:" }),
10001
10004
  Ih(e, "error-bar")
@@ -10167,7 +10170,7 @@ const yh = ({
10167
10170
  processVirtualEnvironmentDeploymentData: i,
10168
10171
  renderDeploymentApprovalInfo: c
10169
10172
  }) => {
10170
- const u = Ht(), { url: d } = At(), { appId: m, envId: p, triggerId: h } = et(), [g, f] = j(
10173
+ const u = Ht(), { url: d } = At(), { appId: m, envId: p, triggerId: h } = tt(), [g, f] = j(
10171
10174
  e?.toUpperCase() !== G.ABORTED
10172
10175
  ), _ = q(l), x = _.current && i ? i() : co(), [E, S] = j(x), T = () => {
10173
10176
  In && clearTimeout(In);
@@ -10373,9 +10376,9 @@ const jl = {
10373
10376
  deleted: "Deleted",
10374
10377
  noDiff: "No change"
10375
10378
  }, Vs = {
10376
- hasDiff: xd,
10377
- added: Ed,
10378
- deleted: Nd,
10379
+ hasDiff: Ed,
10380
+ added: Nd,
10381
+ deleted: bd,
10379
10382
  noDiff: null
10380
10383
  }, An = {
10381
10384
  hasDiff: "File has difference",
@@ -10429,7 +10432,7 @@ const jl = {
10429
10432
  const { value: C } = T.target;
10430
10433
  i?.activeTab !== C && i?.onClick?.(C);
10431
10434
  }, _ = () => /* @__PURE__ */ t.jsxs("div", { className: "p-12 flexbox dc__align-items-center dc__gap-8 dc__border-bottom-n1", children: [
10432
- a && /* @__PURE__ */ t.jsx(os, { to: a, children: /* @__PURE__ */ t.jsx("span", { className: "dc__border br-4 p-1 flex dc__hover-n50", children: /* @__PURE__ */ t.jsx(qe, { className: "icon-dim-16 fcn-6" }) }) }),
10435
+ a && /* @__PURE__ */ t.jsx(os, { to: a, children: /* @__PURE__ */ t.jsx("span", { className: "dc__border br-4 p-1 flex dc__hover-n50", children: /* @__PURE__ */ t.jsx(et, { className: "icon-dim-16 fcn-6" }) }) }),
10433
10436
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 lh-20 fw-6 cn-9 dc__truncate", children: r })
10434
10437
  ] }), x = () => {
10435
10438
  const { tabs: T, activeTab: C } = i;
@@ -10925,7 +10928,7 @@ const jl = {
10925
10928
  if (!e)
10926
10929
  return;
10927
10930
  const n = ["secretData", "esoSecretData", "defaultSecretData", "defaultESOSecretData"];
10928
- if (s === gt.Secret) {
10931
+ if (s === xt.Secret) {
10929
10932
  const o = n.find((l) => Object.keys(e?.[l] ?? {}).length > 0);
10930
10933
  if (o)
10931
10934
  return e[o];
@@ -10941,7 +10944,7 @@ const jl = {
10941
10944
  }, Bh = (e, s, n, a, r) => {
10942
10945
  const o = Po(e, n), l = Po(s, n);
10943
10946
  let i, c;
10944
- if (n === gt.Secret) {
10947
+ if (n === xt.Secret) {
10945
10948
  const { compareToObfuscatedData: u, compareWithObfuscatedData: d } = Uh(
10946
10949
  o ?? {},
10947
10950
  l ?? {},
@@ -10984,14 +10987,14 @@ const jl = {
10984
10987
  n,
10985
10988
  a,
10986
10989
  r
10987
- ), i = n === gt.Secret ? nt.SECRET.VALUE : nt.CONFIGMAP.VALUE, c = Qs(
10990
+ ), i = n === xt.Secret ? at.SECRET.VALUE : at.CONFIGMAP.VALUE, c = Qs(
10988
10991
  { ...e || {}, codeEditorValue: o },
10989
10992
  i,
10990
- n === gt.Secret && !a
10993
+ n === xt.Secret && !a
10991
10994
  ), u = Qs(
10992
10995
  { ...s || {}, codeEditorValue: l },
10993
10996
  i,
10994
- n === gt.Secret && !r
10997
+ n === xt.Secret && !r
10995
10998
  );
10996
10999
  return {
10997
11000
  compareToDiff: c,
@@ -11008,7 +11011,7 @@ const jl = {
11008
11011
  ...Mh(e, s),
11009
11012
  codeEditorValue: a
11010
11013
  },
11011
- nt.DEPLOYMENT_TEMPLATE.VALUE
11014
+ at.DEPLOYMENT_TEMPLATE.VALUE
11012
11015
  );
11013
11016
  }, Mo = (e) => {
11014
11017
  const s = {
@@ -11017,7 +11020,7 @@ const jl = {
11017
11020
  };
11018
11021
  return Qs(
11019
11022
  { codeEditorValue: s },
11020
- nt.DEPLOYMENT_TEMPLATE.VALUE
11023
+ at.DEPLOYMENT_TEMPLATE.VALUE
11021
11024
  );
11022
11025
  }, ko = (e) => {
11023
11026
  const s = {
@@ -11026,7 +11029,7 @@ const jl = {
11026
11029
  };
11027
11030
  return Qs(
11028
11031
  { ...e || {}, strategy: e?.Strategy, codeEditorValue: s },
11029
- nt.PIPELINE_STRATEGY.VALUE
11032
+ at.PIPELINE_STRATEGY.VALUE
11030
11033
  );
11031
11034
  }, Yn = (e, s) => {
11032
11035
  let n = !1, a = !1, r = !1;
@@ -11043,7 +11046,7 @@ const jl = {
11043
11046
  /* @__PURE__ */ t.jsx(dr, { className: "icon-dim-16 scr-5" }),
11044
11047
  /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cr-5", children: "Draft" })
11045
11048
  ] }) : r ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 ", children: [
11046
- /* @__PURE__ */ t.jsx(bd, { className: "icon-dim-16" }),
11049
+ /* @__PURE__ */ t.jsx(Cd, { className: "icon-dim-16" }),
11047
11050
  /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cv-5", children: "Approval pending" })
11048
11051
  ] }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 ", children: [
11049
11052
  /* @__PURE__ */ t.jsx(aa, { className: "scn-9 icon-dim-16" }),
@@ -11074,11 +11077,11 @@ const jl = {
11074
11077
  n,
11075
11078
  a,
11076
11079
  r
11077
- ), h = n === gt.ConfigMap ? ke.ConfigMap : ke.Secret;
11080
+ ), h = n === xt.ConfigMap ? ke.ConfigMap : ke.Secret;
11078
11081
  return {
11079
11082
  id: `${h}-${c?.name || u?.name}`,
11080
11083
  pathType: h,
11081
- title: `${n === gt.ConfigMap ? "ConfigMap" : "Secret"} / ${c?.name || u?.name}`,
11084
+ title: `${n === xt.ConfigMap ? "ConfigMap" : "Secret"} / ${c?.name || u?.name}`,
11082
11085
  name: c?.name || u?.name,
11083
11086
  primaryConfig: {
11084
11087
  heading: Yn(u),
@@ -11089,7 +11092,7 @@ const jl = {
11089
11092
  list: d
11090
11093
  },
11091
11094
  diffState: p,
11092
- groupHeader: n === gt.ConfigMap ? "CONFIGMAPS" : "SECRETS"
11095
+ groupHeader: n === xt.ConfigMap ? "CONFIGMAPS" : "SECRETS"
11093
11096
  };
11094
11097
  }), Fh = (e) => {
11095
11098
  try {
@@ -11188,14 +11191,14 @@ const jl = {
11188
11191
  const v = Bo(
11189
11192
  g.configMapData,
11190
11193
  f.configMapData,
11191
- gt.ConfigMap,
11194
+ xt.ConfigMap,
11192
11195
  g.isAppAdmin,
11193
11196
  f.isAppAdmin,
11194
11197
  r
11195
11198
  ), I = Bo(
11196
11199
  g.secretsData,
11197
11200
  f.secretsData,
11198
- gt.Secret,
11201
+ xt.Secret,
11199
11202
  g.isAppAdmin,
11200
11203
  f.isAppAdmin,
11201
11204
  r
@@ -11366,12 +11369,12 @@ const jl = {
11366
11369
  if (o) {
11367
11370
  const { handleSorting: T, sortBy: C, sortOrder: v } = o;
11368
11371
  return /* @__PURE__ */ t.jsx(
11369
- Ze,
11372
+ qe,
11370
11373
  {
11371
11374
  dataTestId: "config-diff-sort-button",
11372
11375
  text: "Sort keys",
11373
- variant: rt.borderLess,
11374
- style: xt.neutral,
11376
+ variant: Ze.borderLess,
11377
+ style: mt.neutral,
11375
11378
  size: B.small,
11376
11379
  startIcon: C ? /* @__PURE__ */ t.jsx(
11377
11380
  Qn,
@@ -11610,7 +11613,7 @@ const jl = {
11610
11613
  const o = e.findIndex(({ id: u }) => u === s), i = e.slice(o + 1).map(
11611
11614
  ({ id: u, startedOn: d, stage: m, triggeredBy: p, triggeredByEmail: h, status: g, artifact: f }) => ({
11612
11615
  value: u,
11613
- label: Ee(d).format(at.TWELVE_HOURS_FORMAT),
11616
+ label: Ee(d).format(rt.TWELVE_HOURS_FORMAT),
11614
11617
  description: zh({
11615
11618
  stage: m,
11616
11619
  triggeredByEmail: h,
@@ -11624,7 +11627,7 @@ const jl = {
11624
11627
  })
11625
11628
  );
11626
11629
  return { currentDeployment: Ee(e[o].startedOn).format(
11627
- at.TWELVE_HOURS_FORMAT
11630
+ rt.TWELVE_HOURS_FORMAT
11628
11631
  ), pipelineDeploymentsOptions: i };
11629
11632
  }, Ol = (e) => (s) => ({
11630
11633
  compareWfrId: +(s.get("compareWfrId") || e)
@@ -12246,7 +12249,7 @@ const St = Z.memo(
12246
12249
  );
12247
12250
  };
12248
12251
  St.Radio = og;
12249
- const Lt = ({
12252
+ const Rt = ({
12250
12253
  content: e,
12251
12254
  copiedTippyText: s = "Copied!",
12252
12255
  duration: n = 1e3,
@@ -12281,7 +12284,7 @@ const Lt = ({
12281
12284
  type: "button",
12282
12285
  className: `dc__outline-none-imp p-0 flex dc__transparent--unstyled dc__no-border ${r}`,
12283
12286
  onClick: m,
12284
- children: /* @__PURE__ */ t.jsx(Me, { content: s, alwaysShowTippyOnHover: !0, visible: l, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: l ? /* @__PURE__ */ t.jsx(aa, { className: p }) : /* @__PURE__ */ t.jsx(Rd, { className: p }) }) })
12287
+ children: /* @__PURE__ */ t.jsx(Me, { content: s, alwaysShowTippyOnHover: !0, visible: l, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: l ? /* @__PURE__ */ t.jsx(aa, { className: p }) : /* @__PURE__ */ t.jsx(wd, { className: p }) }) })
12285
12288
  }
12286
12289
  ) });
12287
12290
  };
@@ -12320,7 +12323,7 @@ function us() {
12320
12323
  throw new Error("cannot be rendered outside the component");
12321
12324
  return e;
12322
12325
  }
12323
- const dg = 100, Rt = Z.memo(
12326
+ const dg = 100, wt = Z.memo(
12324
12327
  ({
12325
12328
  value: e,
12326
12329
  mode: s = vs.JSON,
@@ -12391,7 +12394,7 @@ const dg = 100, Rt = Z.memo(
12391
12394
  }), P(() => {
12392
12395
  const M = N ? Rs.addKeybindingRule({
12393
12396
  command: null,
12394
- keybinding: Cd.KeyF | Td.CtrlCmd
12397
+ keybinding: Td.KeyF | Sd.CtrlCmd
12395
12398
  }) : null;
12396
12399
  return () => {
12397
12400
  M?.dispose();
@@ -12427,7 +12430,7 @@ const dg = 100, Rt = Z.memo(
12427
12430
  P(() => {
12428
12431
  if (!x)
12429
12432
  return;
12430
- const M = Tc(Id, {
12433
+ const M = Tc(Ad, {
12431
12434
  enableSchemaRequest: !0,
12432
12435
  isKubernetes: S,
12433
12436
  schemas: [
@@ -12518,7 +12521,7 @@ const dg = 100, Rt = Z.memo(
12518
12521
  g ? /* @__PURE__ */ t.jsx(Ng, { customLoader: f }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
12519
12522
  u && /* @__PURE__ */ t.jsx("div", { className: "code-editor__shebang", children: u }),
12520
12523
  D.diffMode ? /* @__PURE__ */ t.jsx(
12521
- Sd,
12524
+ vd,
12522
12525
  {
12523
12526
  original: n ? a : D.mode === "json" ? le : xe,
12524
12527
  value: D.code,
@@ -12531,7 +12534,7 @@ const dg = 100, Rt = Z.memo(
12531
12534
  width: "100%"
12532
12535
  }
12533
12536
  ) : /* @__PURE__ */ t.jsx(
12534
- vd,
12537
+ Id,
12535
12538
  {
12536
12539
  language: D.mode,
12537
12540
  value: D.code,
@@ -12607,7 +12610,7 @@ const dg = 100, Rt = Z.memo(
12607
12610
  e.children
12608
12611
  ] }), xg = () => {
12609
12612
  const { state: e } = us();
12610
- return /* @__PURE__ */ t.jsx(Lt, { content: e.code, iconSize: 16 });
12613
+ return /* @__PURE__ */ t.jsx(Rt, { content: e.code, iconSize: 16 });
12611
12614
  }, Eg = ({}) => {
12612
12615
  const { state: e, dispatch: s, readOnly: n } = us();
12613
12616
  function a(r) {
@@ -12621,14 +12624,14 @@ const dg = 100, Rt = Z.memo(
12621
12624
  const { height: a } = us();
12622
12625
  return n || /* @__PURE__ */ t.jsx("div", { className: `code-editor code-editor--placeholder disabled ${e}`, style: { ...s }, children: /* @__PURE__ */ t.jsx("div", { className: "flex", style: { height: a || "100%" }, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(Ie, { pageLoader: !0 }) }) }) });
12623
12626
  };
12624
- Rt.LanguageChanger = pg;
12625
- Rt.ThemeChanger = mg;
12626
- Rt.ValidationError = fg;
12627
- Rt.Clipboard = xg;
12628
- Rt.Header = ug;
12629
- Rt.Warning = _g;
12630
- Rt.ErrorBar = hg;
12631
- Rt.Information = gg;
12627
+ wt.LanguageChanger = pg;
12628
+ wt.ThemeChanger = mg;
12629
+ wt.ValidationError = fg;
12630
+ wt.Clipboard = xg;
12631
+ wt.Header = ug;
12632
+ wt.Warning = _g;
12633
+ wt.ErrorBar = hg;
12634
+ wt.Information = gg;
12632
12635
  const bg = ({
12633
12636
  currentConfiguration: e,
12634
12637
  baseTemplateConfiguration: s,
@@ -12639,7 +12642,7 @@ const bg = ({
12639
12642
  sortingConfig: l,
12640
12643
  codeEditorKey: i
12641
12644
  }) => {
12642
- const { historyComponent: c, historyComponentName: u } = et(), { sortBy: d, sortOrder: m } = l ?? { sortBy: "", sortOrder: null }, [p, h] = j(!1), g = () => r ? "delete-draft" : a ? "unpublished" : null, f = Object.keys(s?.codeEditorValue?.variableSnapshot || {}).length !== 0 || Object.keys(e?.codeEditorValue?.variableSnapshot || {}).length !== 0, _ = se(() => {
12645
+ const { historyComponent: c, historyComponentName: u } = tt(), { sortBy: d, sortOrder: m } = l ?? { sortBy: "", sortOrder: null }, [p, h] = j(!1), g = () => r ? "delete-draft" : a ? "unpublished" : null, f = Object.keys(s?.codeEditorValue?.variableSnapshot || {}).length !== 0 || Object.keys(e?.codeEditorValue?.variableSnapshot || {}).length !== 0, _ = se(() => {
12643
12646
  if (!s?.codeEditorValue?.value || r)
12644
12647
  return "";
12645
12648
  const v = p ? s?.codeEditorValue?.resolvedValue : s?.codeEditorValue?.value;
@@ -12661,7 +12664,7 @@ const bg = ({
12661
12664
  codeFoldMessageRenderer: wl(x, _)
12662
12665
  }
12663
12666
  ) : /* @__PURE__ */ t.jsx(
12664
- Rt,
12667
+ wt,
12665
12668
  {
12666
12669
  value: _,
12667
12670
  defaultValue: x,
@@ -12683,7 +12686,7 @@ const bg = ({
12683
12686
  !n && /* @__PURE__ */ t.jsxs("div", { className: "bcb-1 eb-2 pt-8 pb-8 br-4 flexbox pl-4 cn-9 fs-13 mt-16 mb-16 mr-20 ml-20", children: [
12684
12687
  /* @__PURE__ */ t.jsx(Ls, { className: "mr-8 ml-14 icon-dim-20" }),
12685
12688
  /* @__PURE__ */ t.jsxs("span", { className: "lh-20", children: [
12686
- nt[c.replace("-", "_").toUpperCase()]?.DISPLAY_NAME,
12689
+ at[c.replace("-", "_").toUpperCase()]?.DISPLAY_NAME,
12687
12690
  u ? ` “${u}”` : "",
12688
12691
  " was added in this deployment. There is no previous instance to compare with."
12689
12692
  ] })
@@ -12826,7 +12829,7 @@ const Tg = ({
12826
12829
  /* @__PURE__ */ t.jsx("time", { className: "cn-7 fs-12", children: N })
12827
12830
  ] }) : null,
12828
12831
  d.data.message ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8 top material-history-text--padded w-100", children: [
12829
- /* @__PURE__ */ t.jsx(Od, { className: "icon-dim-16 mw-16 mr-8 mt-2" }),
12832
+ /* @__PURE__ */ t.jsx(Pd, { className: "icon-dim-16 mw-16 mr-8 mt-2" }),
12830
12833
  d.data.message
12831
12834
  ] }) : null
12832
12835
  ] });
@@ -12863,13 +12866,13 @@ const Tg = ({
12863
12866
  className: "commit-hash fs-13 px-6 dc__w-fit-content cursor flex left dc__gap-4",
12864
12867
  onClick: fe,
12865
12868
  children: [
12866
- /* @__PURE__ */ t.jsx(Md, {}),
12869
+ /* @__PURE__ */ t.jsx(kd, {}),
12867
12870
  " ",
12868
12871
  /* @__PURE__ */ t.jsx("span", { children: Number.isNaN(N) ? "PR" : N })
12869
12872
  ]
12870
12873
  }
12871
12874
  ),
12872
- /* @__PURE__ */ t.jsx("span", { className: "git-commit-info-generic__copy dc__visibility-hidden p-2", "data-testid": "git-commit-copy", children: /* @__PURE__ */ t.jsx(Lt, { content: I }) })
12875
+ /* @__PURE__ */ t.jsx("span", { className: "git-commit-info-generic__copy dc__visibility-hidden p-2", "data-testid": "git-commit-copy", children: /* @__PURE__ */ t.jsx(Rt, { content: I }) })
12873
12876
  ] });
12874
12877
  }, E = (I) => /* @__PURE__ */ t.jsxs("div", { className: "commit-hash px-6 dc__w-fit-content dc__gap-4 fs-13", children: [
12875
12878
  /* @__PURE__ */ t.jsx(Ai, { className: "icon-dim-14 scb-5" }),
@@ -12921,7 +12924,7 @@ const Tg = ({
12921
12924
  className: "material-history__header flex dc__gap-4",
12922
12925
  "data-testid": `git-commit-credential${l}`,
12923
12926
  children: [
12924
- /* @__PURE__ */ t.jsx(wd, { className: "commit-hash__icon mr-0" }),
12927
+ /* @__PURE__ */ t.jsx(Od, { className: "commit-hash__icon mr-0" }),
12925
12928
  c.commit.slice(0, 7)
12926
12929
  ]
12927
12930
  }
@@ -12933,7 +12936,7 @@ const Tg = ({
12933
12936
  {
12934
12937
  className: "git-commit-info-generic__copy dc__visibility-hidden p-2",
12935
12938
  "data-testid": "git-commit-copy",
12936
- children: /* @__PURE__ */ t.jsx(Lt, { content: c.commit })
12939
+ children: /* @__PURE__ */ t.jsx(Rt, { content: c.commit })
12937
12940
  }
12938
12941
  )
12939
12942
  ] }) : null,
@@ -12957,7 +12960,7 @@ const Tg = ({
12957
12960
  ] }) : null,
12958
12961
  c.date ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8", children: [
12959
12962
  /* @__PURE__ */ t.jsx(Oa, { className: "icon-dim-16" }),
12960
- /* @__PURE__ */ t.jsx("span", { className: "lh-20", children: Ee(c.date).format(at.TWELVE_HOURS_FORMAT) })
12963
+ /* @__PURE__ */ t.jsx("span", { className: "lh-20", children: Ee(c.date).format(rt.TWELVE_HOURS_FORMAT) })
12961
12964
  ] }) : null
12962
12965
  ] })
12963
12966
  ] }),
@@ -12990,7 +12993,7 @@ const Tg = ({
12990
12993
  "aria-label": "Enter/Exit fullscreen view",
12991
12994
  className: "zoom dc__zi-4 flex dc__no-border log-resize-button",
12992
12995
  onClick: i,
12993
- children: n ? /* @__PURE__ */ t.jsx(ud, { className: "icon-dim-16 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(dd, { className: "icon-dim-16 dc__no-shrink" })
12996
+ children: n ? /* @__PURE__ */ t.jsx(md, { className: "icon-dim-16 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(ud, { className: "icon-dim-16 dc__no-shrink" })
12994
12997
  }
12995
12998
  )
12996
12999
  }
@@ -13004,7 +13007,7 @@ const Tg = ({
13004
13007
  type: "button",
13005
13008
  onClick: e,
13006
13009
  "aria-label": "scroll-to-top",
13007
- children: /* @__PURE__ */ t.jsx(Ut, { className: "rotate", style: { "--rotateBy": "180deg" } })
13010
+ children: /* @__PURE__ */ t.jsx(Bt, { className: "rotate", style: { "--rotateBy": "180deg" } })
13008
13011
  }
13009
13012
  ) }),
13010
13013
  /* @__PURE__ */ t.jsx(Me, { alwaysShowTippyOnHover: !0, content: "Scroll to Bottom", placement: "left", children: /* @__PURE__ */ t.jsx(
@@ -13015,7 +13018,7 @@ const Tg = ({
13015
13018
  type: "button",
13016
13019
  onClick: s,
13017
13020
  "aria-label": "scroll-to-button",
13018
- children: /* @__PURE__ */ t.jsx(Ut, { className: "rotate" })
13021
+ children: /* @__PURE__ */ t.jsx(Bt, { className: "rotate" })
13019
13022
  }
13020
13023
  ) })
13021
13024
  ] }), Ig = ({
@@ -13094,11 +13097,11 @@ const Tg = ({
13094
13097
  children: /* @__PURE__ */ t.jsxs("div", { className: "flex column left hover-trigger", children: [
13095
13098
  /* @__PURE__ */ t.jsxs("div", { className: "cn-9 fs-14 flex left", children: [
13096
13099
  E,
13097
- /* @__PURE__ */ t.jsx("div", { className: "pl-4", children: /* @__PURE__ */ t.jsx(Lt, { content: E }) })
13100
+ /* @__PURE__ */ t.jsx("div", { className: "pl-4", children: /* @__PURE__ */ t.jsx(Rt, { content: E }) })
13098
13101
  ] }),
13099
13102
  /* @__PURE__ */ t.jsxs("div", { className: "cn-7 fs-12 flex left", children: [
13100
13103
  n,
13101
- /* @__PURE__ */ t.jsx("div", { className: "pl-4", children: /* @__PURE__ */ t.jsx(Lt, { content: n }) })
13104
+ /* @__PURE__ */ t.jsx("div", { className: "pl-4", children: /* @__PURE__ */ t.jsx(Rt, { content: n }) })
13102
13105
  ] })
13103
13106
  ] })
13104
13107
  }
@@ -13109,11 +13112,11 @@ var As = /* @__PURE__ */ ((e) => (e.info = "info", e.delete = "delete", e.warnin
13109
13112
  const Ag = (e) => {
13110
13113
  switch (e) {
13111
13114
  case As.delete:
13112
- return fd;
13115
+ return _d;
13113
13116
  case As.warning:
13114
13117
  return bi;
13115
13118
  default:
13116
- return md;
13119
+ return pd;
13117
13120
  }
13118
13121
  }, jg = (e) => /* @__PURE__ */ t.jsxs("span", { className: "fs-13 lh-20 dc__word-break-all", children: [
13119
13122
  "Type ",
@@ -13123,13 +13126,13 @@ const Ag = (e) => {
13123
13126
  "’"
13124
13127
  ] }),
13125
13128
  " to confirm"
13126
- ] }), yg = (e) => e === As.delete ? xt.negative : xt.default, Lg = ({ children: e, onEscape: s }) => {
13129
+ ] }), yg = (e) => e === As.delete ? mt.negative : mt.default, Lg = ({ children: e, onEscape: s }) => {
13127
13130
  const { registerShortcut: n, unregisterShortcut: a } = un();
13128
13131
  return P(() => (n({ keys: ["Escape"], callback: s }), () => {
13129
13132
  a(["Escape"]);
13130
13133
  }), [s]), P(() => (Ft(!0), io({ identifier: $r, preventFocus: !0 }), () => {
13131
13134
  Ft(!1), io({ identifier: $r, preventFocus: !1 });
13132
- }), []), hd(
13135
+ }), []), gd(
13133
13136
  /* @__PURE__ */ t.jsx(
13134
13137
  Ti.div,
13135
13138
  {
@@ -13192,12 +13195,12 @@ const Ag = (e) => {
13192
13195
  ] }),
13193
13196
  /* @__PURE__ */ t.jsxs("div", { className: "p-16 dc__gap-12 flexbox dc__content-end", children: [
13194
13197
  f && /* @__PURE__ */ t.jsx(
13195
- Ze,
13198
+ qe,
13196
13199
  {
13197
13200
  dataTestId: "confirmation-modal-secondary-button",
13198
13201
  size: B.large,
13199
- variant: rt.secondary,
13200
- style: "style" in f ? f.style : xt.neutral,
13202
+ variant: Ze.secondary,
13203
+ style: "style" in f ? f.style : mt.neutral,
13201
13204
  disabled: f.disabled,
13202
13205
  text: f.text,
13203
13206
  onClick: f.onClick,
@@ -13206,11 +13209,11 @@ const Ag = (e) => {
13206
13209
  }
13207
13210
  ),
13208
13211
  g && /* @__PURE__ */ t.jsx(
13209
- Ze,
13212
+ qe,
13210
13213
  {
13211
13214
  dataTestId: "confirmation-modal-primary-button",
13212
13215
  size: B.large,
13213
- variant: rt.primary,
13216
+ variant: Ze.primary,
13214
13217
  style: "style" in g ? g.style : yg(a),
13215
13218
  disabled: "disabled" in g && g.disabled || x,
13216
13219
  isLoading: g.isLoading,
@@ -13224,7 +13227,7 @@ const Ag = (e) => {
13224
13227
  ]
13225
13228
  }
13226
13229
  ) });
13227
- }, wg = ({ showConfirmationModal: e, ...s }) => /* @__PURE__ */ t.jsx(_d, { children: e ? /* @__PURE__ */ t.jsx(Rg, { ...s }) : null }), Go = (e) => /* @__PURE__ */ t.jsx(cl, { ignoreTags: ["button"], children: /* @__PURE__ */ t.jsx(wg, { ...e }) }), Og = Z.memo(
13230
+ }, wg = ({ showConfirmationModal: e, ...s }) => /* @__PURE__ */ t.jsx(hd, { children: e ? /* @__PURE__ */ t.jsx(Rg, { ...s }) : null }), Go = (e) => /* @__PURE__ */ t.jsx(cl, { ignoreTags: ["button"], children: /* @__PURE__ */ t.jsx(wg, { ...e }) }), Og = Z.memo(
13228
13231
  ({ status: e, finishedOn: s, artifact: n, type: a }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox pt-12 dc__gap-8 left dc__min-width-fit-content dc__align-items-center", children: [
13229
13232
  /* @__PURE__ */ t.jsx(
13230
13233
  "div",
@@ -13234,7 +13237,7 @@ const Ag = (e) => {
13234
13237
  children: e && e.toLowerCase() === "cancelled" ? "Aborted" : e
13235
13238
  }
13236
13239
  ),
13237
- s && s !== Yt && /* @__PURE__ */ t.jsx("time", { className: "dc__vertical-align-middle fs-13", children: Ee(s, "YYYY-MM-DDTHH:mm:ssZ").format(at.TWELVE_HOURS_FORMAT) }),
13240
+ s && s !== Yt && /* @__PURE__ */ t.jsx("time", { className: "dc__vertical-align-middle fs-13", children: Ee(s, "YYYY-MM-DDTHH:mm:ssZ").format(rt.TWELVE_HOURS_FORMAT) }),
13238
13241
  a === be.CI && n && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
13239
13242
  /* @__PURE__ */ t.jsx("div", { className: "dc__bullet" }),
13240
13243
  /* @__PURE__ */ t.jsx(Sl, { imagePath: n, placement: "top" })
@@ -13246,7 +13249,7 @@ const Ag = (e) => {
13246
13249
  return null;
13247
13250
  const o = Ee(r).isBefore(Ee().subtract(D_, "hours")), l = a && (r === Yt || !o), i = () => l ? /* @__PURE__ */ t.jsx(Ke, { to: `${M_}/${a}/logs`, target: "_blank", className: "anchor", children: /* @__PURE__ */ t.jsx("span", { className: "mr-10 fs-13", children: "View worker pod" }) }) : null;
13248
13251
  return /* @__PURE__ */ t.jsxs("div", { className: "display-grid trigger-details__grid py-4", children: [
13249
- /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: /* @__PURE__ */ t.jsx(nd, { className: "icon-dim-20 dc__no-shrink scn-7" }) }),
13252
+ /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: /* @__PURE__ */ t.jsx(ad, { className: "icon-dim-20 dc__no-shrink scn-7" }) }),
13250
13253
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col", children: [
13251
13254
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8", children: [
13252
13255
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox cn-9 fs-13 fw-4 lh-20", children: [
@@ -13267,7 +13270,7 @@ const Ag = (e) => {
13267
13270
  const [a, r] = j(!1), [o, l] = j(!1), [i, c] = j({
13268
13271
  status: !1,
13269
13272
  message: ""
13270
- }), { buildId: u, triggerId: d, pipelineId: m } = et();
13273
+ }), { buildId: u, triggerId: d, pipelineId: m } = tt();
13271
13274
  let p = null;
13272
13275
  n === be.CI ? p = (_) => ih({ pipelineId: m, workflowId: u }, _) : s !== "DEPLOY" && (p = () => lh(m, d));
13273
13276
  async function h() {
@@ -13392,12 +13395,12 @@ const Ag = (e) => {
13392
13395
  ] })
13393
13396
  ] }),
13394
13397
  i && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
13395
- /* @__PURE__ */ t.jsx(rd, { className: "icon-dim-14 scn-9 dc__no-shrink" }),
13398
+ /* @__PURE__ */ t.jsx(od, { className: "icon-dim-14 scn-9 dc__no-shrink" }),
13396
13399
  /* @__PURE__ */ t.jsx("span", { className: "dc__truncate", children: i })
13397
13400
  ] }),
13398
13401
  m?.()
13399
13402
  ] }),
13400
- /* @__PURE__ */ t.jsx("time", { className: "cn-7 fs-13", children: Ee(e, "YYYY-MM-DDTHH:mm:ssZ").format(at.TWELVE_HOURS_FORMAT) }),
13403
+ /* @__PURE__ */ t.jsx("time", { className: "cn-7 fs-13", children: Ee(e, "YYYY-MM-DDTHH:mm:ssZ").format(rt.TWELVE_HOURS_FORMAT) }),
13401
13404
  /* @__PURE__ */ t.jsx("div", { className: "dc__bullet" }),
13402
13405
  /* @__PURE__ */ t.jsx("div", { className: "trigger-details__trigger-by cn-7 fs-13", children: s === 1 ? "auto trigger" : n }),
13403
13406
  /* @__PURE__ */ t.jsx("div", {}),
@@ -13440,7 +13443,7 @@ const Ag = (e) => {
13440
13443
  /* @__PURE__ */ t.jsx("path", { d: "M10 15L10 20", stroke: "var(--N700)" })
13441
13444
  ] }) }),
13442
13445
  /* @__PURE__ */ t.jsx("div", { className: "flex flex-grow-1", children: /* @__PURE__ */ t.jsx("div", { className: "dc__border-left--n7 h-100" }) }),
13443
- rm[e] ? /* @__PURE__ */ t.jsx(ad, {}) : /* @__PURE__ */ t.jsxs("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
13446
+ rm[e] ? /* @__PURE__ */ t.jsx(rd, {}) : /* @__PURE__ */ t.jsxs("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
13444
13447
  /* @__PURE__ */ t.jsx(
13445
13448
  "circle",
13446
13449
  {
@@ -13547,7 +13550,7 @@ const Ag = (e) => {
13547
13550
  appName: v,
13548
13551
  triggerHistory: I
13549
13552
  }) => {
13550
- const { path: N } = At(), { appId: b, pipelineId: A, triggerId: R, envId: y } = et(), V = {
13553
+ const { path: N } = At(), { appId: b, pipelineId: A, triggerId: R, envId: y } = tt(), V = {
13551
13554
  appId: b,
13552
13555
  envId: y,
13553
13556
  appName: `${e.helmPackageName}.tgz`,
@@ -13677,14 +13680,14 @@ const Ag = (e) => {
13677
13680
  renderTargetConfigInfo: v,
13678
13681
  appName: I
13679
13682
  }) => {
13680
- const { appId: N, triggerId: b, envId: A, pipelineId: R } = et(), y = s.get(+b), [V, D, $, X] = Nt(
13683
+ const { appId: N, triggerId: b, envId: A, pipelineId: R } = tt(), y = s.get(+b), [V, D, $, X] = Nt(
13681
13684
  () => rh({ appId: N, envId: A, pipelineId: R, triggerId: b, fetchIdData: u }),
13682
13685
  // TODO: Ask if fetchIdData is required here as dependency
13683
13686
  [b, N, A],
13684
13687
  !!b && !!R
13685
13688
  ), J = (U, W, ce) => {
13686
13689
  if (ce) {
13687
- p?.result?.cdWorkflows?.length && n(rc(p.result.cdWorkflows, "id")), d(kt.SUSPEND);
13690
+ p?.result?.cdWorkflows?.length && n(rc(p.result.cdWorkflows, "id")), d(Ut.SUSPEND);
13688
13691
  return;
13689
13692
  }
13690
13693
  if (U === W?.id) {
@@ -13695,10 +13698,10 @@ const Ag = (e) => {
13695
13698
  ...L ? { runSource: L } : {},
13696
13699
  ...F ? { targetConfig: F } : {}
13697
13700
  };
13698
- n((z) => (z.set(U, { ...W, ...M }), new Map(z))), u === kt.FETCHING && d(kt.SUCCESS);
13701
+ n((z) => (z.set(U, { ...W, ...M }), new Map(z))), u === Ut.FETCHING && d(Ut.SUCCESS);
13699
13702
  }
13700
13703
  };
13701
- let H = !!u && u !== kt.SUSPEND;
13704
+ let H = !!u && u !== Ut.SUSPEND;
13702
13705
  (D?.result?.artifactId === 0 || y?.artifactId === 0) && (H = !1);
13703
13706
  const [le, xe, _e] = Nt(
13704
13707
  () => oh({
@@ -14019,7 +14022,7 @@ const Ag = (e) => {
14019
14022
  }) => {
14020
14023
  const [l, i] = j(!1), c = (d) => {
14021
14024
  i(d.focused);
14022
- }, u = (d) => /* @__PURE__ */ t.jsx(Ad, { ...d, ...Yl });
14025
+ }, u = (d) => /* @__PURE__ */ t.jsx(jd, { ...d, ...Yl });
14023
14026
  return /* @__PURE__ */ t.jsx(
14024
14027
  vi.SingleDatePicker,
14025
14028
  {
@@ -14037,7 +14040,7 @@ const Ag = (e) => {
14037
14040
  orientation: "horizontal",
14038
14041
  readOnly: n || !1,
14039
14042
  isDayBlocked: a ? Wg : void 0,
14040
- customInputIcon: /* @__PURE__ */ t.jsx(yd, {}),
14043
+ customInputIcon: /* @__PURE__ */ t.jsx(Ld, {}),
14041
14044
  inputIconPosition: "after",
14042
14045
  displayFormat: r,
14043
14046
  "data-testid": o
@@ -14149,14 +14152,14 @@ const Ag = (e) => {
14149
14152
  onFocusChange: E,
14150
14153
  numberOfMonths: 1,
14151
14154
  openDirection: p,
14152
- renderCalendarDay: (I) => /* @__PURE__ */ t.jsx(jd, { ...I, ...Yl }),
14155
+ renderCalendarDay: (I) => /* @__PURE__ */ t.jsx(yd, { ...I, ...Yl }),
14153
14156
  hideKeyboardShortcutsPanel: !0,
14154
14157
  withFullScreenPortal: !1,
14155
14158
  orientation: "horizontal",
14156
14159
  readOnly: c || !1,
14157
14160
  customInputIcon: /* @__PURE__ */ t.jsx(Oa, { className: "icon-dim-20" }),
14158
14161
  inputIconPosition: "after",
14159
- displayFormat: at.DD_MMM_YYYY,
14162
+ displayFormat: rt.DD_MMM_YYYY,
14160
14163
  "data-testid": m,
14161
14164
  isDayBlocked: v,
14162
14165
  disabled: a,
@@ -14283,7 +14286,7 @@ const Ag = (e) => {
14283
14286
  className: "dc__transparent flex",
14284
14287
  onClick: n,
14285
14288
  "aria-label": "Close modal",
14286
- children: /* @__PURE__ */ t.jsx(qe, { className: "icon-dim-24 icon-use-fill-n6" })
14289
+ children: /* @__PURE__ */ t.jsx(et, { className: "icon-dim-24 icon-use-fill-n6" })
14287
14290
  }
14288
14291
  )
14289
14292
  ] }),
@@ -14311,7 +14314,7 @@ const Ag = (e) => {
14311
14314
  )),
14312
14315
  /* @__PURE__ */ t.jsxs("div", { className: "dc__dashed_icon_grid-container", children: [
14313
14316
  /* @__PURE__ */ t.jsx("hr", { className: "dc__dotted-line" }),
14314
- /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(Ld, { className: "scn-6" }) }),
14317
+ /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(Rd, { className: "scn-6" }) }),
14315
14318
  /* @__PURE__ */ t.jsx("hr", { className: "dc__dotted-line" })
14316
14319
  ] }),
14317
14320
  /* @__PURE__ */ t.jsx(
@@ -14393,7 +14396,7 @@ const Ag = (e) => {
14393
14396
  className: "p-0 flex dc__no-border dc__no-background dc__outline-none-imp dc__tab-focus icon-dim-18 dc__tab-focus",
14394
14397
  onClick: m,
14395
14398
  "aria-label": "Close",
14396
- children: /* @__PURE__ */ t.jsx(qe, { className: "dc__no-shrink icon-dim-18 fcn-6" })
14399
+ children: /* @__PURE__ */ t.jsx(et, { className: "dc__no-shrink icon-dim-18 fcn-6" })
14397
14400
  }
14398
14401
  )
14399
14402
  ] }),
@@ -14757,7 +14760,7 @@ const IS = {
14757
14760
  showCardBorder: d,
14758
14761
  getPluginStoreRef: m
14759
14762
  }) => {
14760
- const { appId: p } = et(), [h, g] = j(!1), [f, _] = j(!1), x = async () => {
14763
+ const { appId: p } = tt(), [h, g] = j(!1), [f, _] = j(!1), x = async () => {
14761
14764
  g(!0), _(!1);
14762
14765
  try {
14763
14766
  const E = await Mi(
@@ -14813,7 +14816,7 @@ const IS = {
14813
14816
  rootClassName: g = "",
14814
14817
  showCardBorder: f = !1
14815
14818
  }) => {
14816
- const { appId: _ } = et(), [x, E] = j(c || []), [S, T] = j(d || 0), [C, v] = j(
14819
+ const { appId: _ } = tt(), [x, E] = j(c || []), [S, T] = j(d || 0), [C, v] = j(
14817
14820
  p || structuredClone(tx)
14818
14821
  ), I = q(new AbortController()), N = (L) => {
14819
14822
  E(L), u?.(L);
@@ -14851,7 +14854,7 @@ const IS = {
14851
14854
  } = L;
14852
14855
  a(ox(n, M, z)), b(me);
14853
14856
  const Pe = F ? structuredClone(x) : [], Fe = Pe.reduce(
14854
- (We, mt) => (We[mt.parentPluginId] = !0, We),
14857
+ (We, pt) => (We[pt.parentPluginId] = !0, We),
14855
14858
  {}
14856
14859
  );
14857
14860
  pe.forEach((We) => {
@@ -14987,7 +14990,7 @@ const IS = {
14987
14990
  const { headers: f, rows: _ } = e, x = f[0].key, E = f[1].key, [S, T] = j(_), [C, v] = j(!1), I = c || i, N = !c && !i || !!S.length, b = !S[0]?.data[x].value && !S[0]?.data[E].value, A = S.length === 1 && b, { sortBy: R, sortOrder: y, handleSorting: V } = ff({
14988
14991
  initialSortKey: n ? x : null
14989
14992
  }), D = q(), $ = q();
14990
- D.current || (D.current = S.reduce((w, L) => ({ ...w, [L.id]: Pt() }), {})), $.current || ($.current = S.reduce((w, L) => ({ ...w, [L.id]: Pt() }), {}));
14993
+ D.current || (D.current = S.reduce((w, L) => ({ ...w, [L.id]: Dt() }), {})), $.current || ($.current = S.reduce((w, L) => ({ ...w, [L.id]: Dt() }), {}));
14991
14994
  const X = se(
14992
14995
  () => S.reduce(
14993
14996
  (w, L) => {
@@ -15043,10 +15046,10 @@ const IS = {
15043
15046
  const w = le(), L = [w, ...S], { id: F } = w;
15044
15047
  p?.(!H(L)), v(!0), T(L), D.current = {
15045
15048
  ...D.current || {},
15046
- [F]: Pt()
15049
+ [F]: Dt()
15047
15050
  }, $.current = {
15048
15051
  ...$.current || {},
15049
- [F]: Pt()
15052
+ [F]: Dt()
15050
15053
  };
15051
15054
  };
15052
15055
  P(() => {
@@ -15071,9 +15074,9 @@ const IS = {
15071
15074
  if (L.length === 0 && !i) {
15072
15075
  const F = le(), { id: M } = F;
15073
15076
  v(!0), p?.(!H([F])), T([F]), D.current = {
15074
- [M]: Pt()
15077
+ [M]: Dt()
15075
15078
  }, $.current = {
15076
- [M]: Pt()
15079
+ [M]: Dt()
15077
15080
  }, o?.(w.id);
15078
15081
  return;
15079
15082
  }
@@ -15144,7 +15147,7 @@ const IS = {
15144
15147
  },
15145
15148
  `${w}-header`
15146
15149
  ), ne = (w) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox align-items-center dc__gap-4", children: [
15147
- /* @__PURE__ */ t.jsx(qe, { className: "icon-dim-16 fcr-5 dc__align-self-start dc__no-shrink" }),
15150
+ /* @__PURE__ */ t.jsx(et, { className: "icon-dim-16 fcr-5 dc__align-self-start dc__no-shrink" }),
15148
15151
  /* @__PURE__ */ t.jsx("p", { className: "fs-12 lh-16 cn-7 m-0", children: w })
15149
15152
  ] }, w), Ne = (w, L, F) => u && !J(w, L, F) ? /* @__PURE__ */ t.jsxs("div", { className: "key-value-table__error bcn-0 dc__border br-4 py-7 px-8 flexbox-col dc__gap-4", children: [
15150
15153
  h && ne(fx),
@@ -15205,7 +15208,7 @@ const IS = {
15205
15208
  onClick: Ae(w),
15206
15209
  disabled: A,
15207
15210
  children: /* @__PURE__ */ t.jsx(
15208
- Bt,
15211
+ Lt,
15209
15212
  {
15210
15213
  "aria-label": "delete-row",
15211
15214
  className: "icon-dim-16 fcn-4 dc__align-self-start"
@@ -15872,13 +15875,13 @@ const ma = ({
15872
15875
  }
15873
15876
  ),
15874
15877
  !m && x === u && /* @__PURE__ */ t.jsx(
15875
- Ze,
15878
+ qe,
15876
15879
  {
15877
15880
  dataTestId: "data-table-add-row-button",
15878
15881
  ariaLabel: "Add",
15879
15882
  onClick: a,
15880
15883
  icon: /* @__PURE__ */ t.jsx(sn, {}),
15881
- variant: rt.borderLess,
15884
+ variant: Ze.borderLess,
15882
15885
  size: B.xs,
15883
15886
  showAriaLabelInTippy: !1
15884
15887
  }
@@ -16063,7 +16066,7 @@ const qo = ({
16063
16066
  let b = { isValid: !0, messages: [] };
16064
16067
  return o === yt.KEY ? (m || s.value) && (b = f.propagateTagKey(m)) : (r || m || s.propagate) && (b = f.propagateTagValue(m, s.key)), b.isValid ? null : /* @__PURE__ */ t.jsxs("div", { className: "p-4", onClick: fe, "data-testid": "tag-label-cross-stop-propagation", children: [
16065
16068
  b.messages.map((A) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox pr-4 pl-4", children: [
16066
- /* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(Bt, { className: "icon-dim-14 scr-5 mt-3 mr-4" }) }),
16069
+ /* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(Lt, { className: "icon-dim-14 scr-5 mt-3 mr-4" }) }),
16067
16070
  /* @__PURE__ */ t.jsx("span", { children: A })
16068
16071
  ] }, A)),
16069
16072
  o === yt.KEY && /* @__PURE__ */ t.jsxs("div", { className: "flexbox pr-4 pl-4", children: [
@@ -16191,7 +16194,7 @@ const qo = ({
16191
16194
  className: "dc__border pl-4 pr-4 dc__right-radius-4 pointer flex top",
16192
16195
  onClick: d,
16193
16196
  "data-testid": `delete-tag-${e}`,
16194
- children: /* @__PURE__ */ t.jsx(Bt, { className: "icon-dim-20 mt-4" })
16197
+ children: /* @__PURE__ */ t.jsx(Lt, { className: "icon-dim-20 mt-4" })
16195
16198
  }
16196
16199
  )
16197
16200
  ] });
@@ -16334,11 +16337,11 @@ const qo = ({
16334
16337
  f.current || (f.current = e.reduce(
16335
16338
  (N, b) => ({
16336
16339
  ...N,
16337
- [b.id]: s.reduce((A, { key: R }) => ({ ...A, [R]: Pt() }), {})
16340
+ [b.id]: s.reduce((A, { key: R }) => ({ ...A, [R]: Dt() }), {})
16338
16341
  }),
16339
16342
  {}
16340
16343
  )), P(() => {
16341
- const b = e.map(({ id: A }) => A).reduce((A, R) => (f.current[R] ? A[R] = f.current[R] : A[R] = s.reduce((y, { key: V }) => ({ ...y, [V]: Pt() }), {}), A), {});
16344
+ const b = e.map(({ id: A }) => A).reduce((A, R) => (f.current[R] ? A[R] = f.current[R] : A[R] = s.reduce((y, { key: V }) => ({ ...y, [V]: Dt() }), {}), A), {});
16342
16345
  f.current = b;
16343
16346
  }, [e.length]);
16344
16347
  const _ = (N, b) => (A) => {
@@ -16445,7 +16448,7 @@ const qo = ({
16445
16448
  }
16446
16449
  ) : null;
16447
16450
  }, C = (N) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox align-items-center dc__gap-4", children: [
16448
- /* @__PURE__ */ t.jsx(Bt, { className: "icon-dim-16 fcr-5 dc__align-self-start dc__no-shrink" }),
16451
+ /* @__PURE__ */ t.jsx(Lt, { className: "icon-dim-16 fcr-5 dc__align-self-start dc__no-shrink" }),
16449
16452
  /* @__PURE__ */ t.jsx("p", { className: "fs-12 lh-16 cn-7 m-0", children: N })
16450
16453
  ] }, N), v = (N, b) => {
16451
16454
  const { isValid: A, errorMessages: R } = !N.data[b].disabled && r[N.id]?.[b] ? r[N.id][b] : { isValid: !0, errorMessages: [] };
@@ -16502,16 +16505,16 @@ const qo = ({
16502
16505
  children: e.map((N) => /* @__PURE__ */ t.jsxs("div", { className: "dynamic-data-table__row", children: [
16503
16506
  s.map(({ key: b }, A) => /* @__PURE__ */ t.jsx(Cs, { children: I(N, b, A) }, b)),
16504
16507
  !a && !n && /* @__PURE__ */ t.jsx("div", { className: "dynamic-data-table__row-delete-btn bcn-0", children: /* @__PURE__ */ t.jsx(
16505
- Ze,
16508
+ qe,
16506
16509
  {
16507
16510
  dataTestId: "dynamic-data-table-row-delete-btn",
16508
16511
  ariaLabel: "Delete Row",
16509
16512
  showAriaLabelInTippy: !1,
16510
- icon: /* @__PURE__ */ t.jsx(Bt, {}),
16513
+ icon: /* @__PURE__ */ t.jsx(Lt, {}),
16511
16514
  disabled: h || N.disableDelete,
16512
16515
  onClick: x(N),
16513
- variant: rt.borderLess,
16514
- style: xt.negativeGrey,
16516
+ variant: Ze.borderLess,
16517
+ style: mt.negativeGrey,
16515
16518
  size: B.small
16516
16519
  }
16517
16520
  ) })
@@ -16558,7 +16561,7 @@ const qo = ({
16558
16561
  });
16559
16562
  };
16560
16563
  function Oe(e, s = !0, n = !1) {
16561
- e instanceof ht && Array.isArray(e.errors) ? e.errors.map(({ userMessage: a, internalMessage: r }) => {
16564
+ e instanceof gt && Array.isArray(e.errors) ? e.errors.map(({ userMessage: a, internalMessage: r }) => {
16562
16565
  e.code === 403 && (a === je.UNAUTHORIZED || a === je.FORBIDDEN) ? n || Be.showToast({
16563
16566
  variant: Ce.notAuthorized,
16564
16567
  description: Su.SUBTITLE
@@ -16980,7 +16983,7 @@ function cv() {
16980
16983
  };
16981
16984
  return e;
16982
16985
  }
16983
- const tE = (e) => /* @__PURE__ */ t.jsx(ve.DropdownIndicator, { ...e, children: /* @__PURE__ */ t.jsx(Ut, { className: "icon-dim-20 icon-n6" }) });
16986
+ const tE = (e) => /* @__PURE__ */ t.jsx(ve.DropdownIndicator, { ...e, children: /* @__PURE__ */ t.jsx(Bt, { className: "icon-dim-20 icon-n6" }) });
16984
16987
  function rc(e, s) {
16985
16988
  return Array.isArray(e) ? e.reduce((n, a) => n.set(a[s], a), /* @__PURE__ */ new Map()) : (console.error(e, "is not array"), /* @__PURE__ */ new Map());
16986
16989
  }
@@ -16993,7 +16996,7 @@ const uv = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, sE = (e, s = 300) => {
16993
16996
  const r = Date.now();
16994
16997
  r - n >= s && (n = r, e(...a));
16995
16998
  };
16996
- }, nE = (e, s, n) => e === Et.WEBHOOK ? n === zs.PULL_REQUEST ? Pd : n === zs.TAG_CREATION ? Dd : gu : e === Et.BranchRegex || s ? Nu : Eu, oc = (e) => ta.sanitize(e, {
16999
+ }, nE = (e, s, n) => e === Et.WEBHOOK ? n === zs.PULL_REQUEST ? Dd : n === zs.TAG_CREATION ? Md : gu : e === Et.BranchRegex || s ? Nu : Eu, oc = (e) => ta.sanitize(e, {
16997
17000
  ADD_TAGS: ["iframe"],
16998
17001
  ADD_ATTR: ["allow", "allowfullscreen", "frameborder", "scrolling"]
16999
17002
  }), mv = (e, s) => {
@@ -17128,7 +17131,7 @@ Z.createContext(null);
17128
17131
  function _v(e, s) {
17129
17132
  const n = e?.sep || "/";
17130
17133
  s = s || [];
17131
- const { url: a, path: r } = At(), o = et(), { state: l, setState: i } = iE();
17134
+ const { url: a, path: r } = At(), o = tt(), { state: l, setState: i } = iE();
17132
17135
  P(() => {
17133
17136
  if (!(!e || !e.alias))
17134
17137
  return i((p) => ({ ...p, alias: { ...p.alias, ...e.alias } })), () => u(Object.keys(e.alias));
@@ -17217,14 +17220,14 @@ const cc = ({
17217
17220
  /* @__PURE__ */ t.jsx("span", { className: "radio__title", children: n })
17218
17221
  ] })
17219
17222
  ] })
17220
- ) }), _t = ({ className: e = "", children: s, close: n }) => /* @__PURE__ */ t.jsx(ic, { className: "confirmation-dialog", close: n, children: /* @__PURE__ */ t.jsx("div", { onClick: fe, className: `confirmation-dialog__body ${e}`, children: s }) }), lE = ({ src: e, className: s = "" }) => /* @__PURE__ */ t.jsx("img", { src: e, className: `confirmation-dialog__icon ${s}`, alt: "" }), cE = ({ title: e, subtitle: s = null, children: n = null }) => /* @__PURE__ */ t.jsxs("div", { className: "flex left column ", children: [
17223
+ ) }), ht = ({ className: e = "", children: s, close: n }) => /* @__PURE__ */ t.jsx(ic, { className: "confirmation-dialog", close: n, children: /* @__PURE__ */ t.jsx("div", { onClick: fe, className: `confirmation-dialog__body ${e}`, children: s }) }), lE = ({ src: e, className: s = "" }) => /* @__PURE__ */ t.jsx("img", { src: e, className: `confirmation-dialog__icon ${s}`, alt: "" }), cE = ({ title: e, subtitle: s = null, children: n = null }) => /* @__PURE__ */ t.jsxs("div", { className: "flex left column ", children: [
17221
17224
  /* @__PURE__ */ t.jsx("h3", { className: "confirmation-dialog__title lh-1-5 dc__break-word w-100", children: e }),
17222
17225
  s && /* @__PURE__ */ t.jsx("div", { className: "confirmation-dialog__subtitle", children: s }),
17223
17226
  n
17224
17227
  ] }), dE = ({ children: e }) => /* @__PURE__ */ t.jsx("div", { className: "flex right confirmation-dialog__button-group", children: e });
17225
- _t.Icon = lE;
17226
- _t.Body = cE;
17227
- _t.ButtonGroup = dE;
17228
+ ht.Icon = lE;
17229
+ ht.Body = cE;
17230
+ ht.ButtonGroup = dE;
17228
17231
  const en = ({
17229
17232
  showDeleteConfirmation: e,
17230
17233
  deleteConfirmationText: s = null,
@@ -17247,9 +17250,9 @@ const en = ({
17247
17250
  ] }),
17248
17251
  "to confirm"
17249
17252
  ] });
17250
- return /* @__PURE__ */ t.jsxs(_t, { className: "confirmation-dialog__body--w-400", close: n.closeDelete, children: [
17251
- /* @__PURE__ */ t.jsx(_t.Icon, { src: pd }),
17252
- /* @__PURE__ */ t.jsx(_t.Body, { title: n.title, children: /* @__PURE__ */ t.jsxs("div", { className: "fs-13 cn-7 lh-1-54 w-100", children: [
17253
+ return /* @__PURE__ */ t.jsxs(ht, { className: "confirmation-dialog__body--w-400", close: n.closeDelete, children: [
17254
+ /* @__PURE__ */ t.jsx(ht.Icon, { src: fd }),
17255
+ /* @__PURE__ */ t.jsx(ht.Body, { title: n.title, children: /* @__PURE__ */ t.jsxs("div", { className: "fs-13 cn-7 lh-1-54 w-100", children: [
17253
17256
  n.description ? n.description : null,
17254
17257
  n.children,
17255
17258
  o && /* @__PURE__ */ t.jsx(
@@ -17267,7 +17270,7 @@ const en = ({
17267
17270
  }
17268
17271
  )
17269
17272
  ] }) }),
17270
- /* @__PURE__ */ t.jsx(_t.ButtonGroup, { children: /* @__PURE__ */ t.jsxs("div", { className: "flex right", children: [
17273
+ /* @__PURE__ */ t.jsx(ht.ButtonGroup, { children: /* @__PURE__ */ t.jsxs("div", { className: "flex right", children: [
17271
17274
  /* @__PURE__ */ t.jsx(
17272
17275
  "button",
17273
17276
  {
@@ -17325,7 +17328,7 @@ class xv extends Jn {
17325
17328
  /* @__PURE__ */ t.jsx("h1", { className: "modal__title", children: this.props.title }),
17326
17329
  /* @__PURE__ */ t.jsxs("button", { type: "button", className: "dc__transparent", onClick: this.props.close, children: [
17327
17330
  " ",
17328
- /* @__PURE__ */ t.jsx("img", { src: Hd, alt: "close" })
17331
+ /* @__PURE__ */ t.jsx("img", { src: Gc, alt: "close" })
17329
17332
  ] })
17330
17333
  ] }),
17331
17334
  /* @__PURE__ */ t.jsx(ar.Consumer, { children: (s) => /* @__PURE__ */ t.jsx(
@@ -17553,18 +17556,18 @@ const bv = ({
17553
17556
  description: "Successfully deleted"
17554
17557
  }), s(!1), i ? _(c) : u(), typeof m == "function" && m();
17555
17558
  } catch (C) {
17556
- C instanceof ht && C.code === 500 ? f(!0) : Oe(C);
17559
+ C instanceof gt && C.code === 500 ? f(!0) : Oe(C);
17557
17560
  } finally {
17558
17561
  e?.(!1), h(!1);
17559
17562
  }
17560
17563
  }
17561
17564
  const E = () => {
17562
17565
  f(!1), s(!1), typeof m == "function" && m();
17563
- }, S = () => /* @__PURE__ */ t.jsxs(_t, { className: "confirmation-dialog__body--w-360", children: [
17564
- /* @__PURE__ */ t.jsx(_t.Icon, { src: ld }),
17565
- /* @__PURE__ */ t.jsx(_t.Body, { title: `Cannot delete ${r} '${a}'` }),
17566
+ }, S = () => /* @__PURE__ */ t.jsxs(ht, { className: "confirmation-dialog__body--w-360", children: [
17567
+ /* @__PURE__ */ t.jsx(ht.Icon, { src: cd }),
17568
+ /* @__PURE__ */ t.jsx(ht.Body, { title: `Cannot delete ${r} '${a}'` }),
17566
17569
  /* @__PURE__ */ t.jsx("p", { className: "fs-13 cn-7 ", children: l }),
17567
- /* @__PURE__ */ t.jsx(_t.ButtonGroup, { children: /* @__PURE__ */ t.jsx("button", { type: "button", className: "cta", onClick: E, children: "Okay" }) })
17570
+ /* @__PURE__ */ t.jsx(ht.ButtonGroup, { children: /* @__PURE__ */ t.jsx("button", { type: "button", className: "cta", onClick: E, children: "Okay" }) })
17568
17571
  ] }), T = () => /* @__PURE__ */ t.jsx(
17569
17572
  en,
17570
17573
  {
@@ -17716,7 +17719,7 @@ const bv = ({
17716
17719
  ] }), We = q(null);
17717
17720
  if (S === "" && b.length === 0 && !C)
17718
17721
  return i ? /* @__PURE__ */ t.jsx("div", { className: "bcn-0 mt-8 add-image-button", children: /* @__PURE__ */ t.jsx(SE, { handleEditClick: ne }) }) : /* @__PURE__ */ t.jsx("div", {});
17719
- const mt = (k) => {
17722
+ const pt = (k) => {
17720
17723
  k.key === "Enter" && k.target.value.trim() && F(k.target.value.trim());
17721
17724
  }, gn = (k) => {
17722
17725
  k.target.value && L(k.target.value), Ae(k.target.value);
@@ -17739,7 +17742,7 @@ const bv = ({
17739
17742
  value: _e,
17740
17743
  onChange: gn,
17741
17744
  placeholder: "Type a tag and press enter",
17742
- onKeyDown: mt,
17745
+ onKeyDown: pt,
17743
17746
  onBlur: gn,
17744
17747
  ref: We
17745
17748
  }
@@ -17923,7 +17926,7 @@ const bv = ({
17923
17926
  ),
17924
17927
  e,
17925
17928
  /* @__PURE__ */ t.jsx(ee, { className: "default-tt", arrow: !0, placement: "top", content: "Remove tag", children: /* @__PURE__ */ t.jsx("div", { className: `action-icon ml-4 lh-16 pt-3 ${p ? "show-icon" : ""}`, children: /* @__PURE__ */ t.jsx(
17926
- Bt,
17929
+ Lt,
17927
17930
  {
17928
17931
  className: "icon-dim-12 fcn-6 cursor",
17929
17932
  "data-testid": `${e}-tag-hard-delete`,
@@ -18507,7 +18510,7 @@ Nothing to preview
18507
18510
  ]
18508
18511
  ];
18509
18512
  var it = /* @__PURE__ */ ((e) => (e.HEADER = "header", e.BOLD = "bold", e.ITALIC = "italic", e.STRIKETHROUGH = "strikethrough", e.LINK = "link", e.QUOTE = "quote", e.CODE = "code", e.IMAGE = "image", e.UNORDERED_LIST = "unordered-list", e.ORDERED_LIST = "ordered-list", e.CHECKED_LIST = "checked-list", e))(it || {});
18510
- const pt = {
18513
+ const ft = {
18511
18514
  header: "Add heading text",
18512
18515
  bold: "Add bold text",
18513
18516
  italic: "Add italic text",
@@ -18533,7 +18536,7 @@ const pt = {
18533
18536
  P(() => {
18534
18537
  h(e);
18535
18538
  }, [e]);
18536
- const E = Ee(n), S = E.isValid() ? E.format(at.TWELVE_HOURS_FORMAT) : n, T = (N) => {
18539
+ const E = Ee(n), S = E.isValid() ? E.format(rt.TWELVE_HOURS_FORMAT) : n, T = (N) => {
18537
18540
  let b = !0;
18538
18541
  return N.length === 0 && (Be.showToast({
18539
18542
  variant: Ce.error,
@@ -18561,7 +18564,7 @@ const pt = {
18561
18564
  className: "default-tt",
18562
18565
  arrow: !1,
18563
18566
  placement: "bottom",
18564
- content: pt[N],
18567
+ content: ft[N],
18565
18568
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(iu, { className: "icon-dim-16 flex" }) })
18566
18569
  }
18567
18570
  );
@@ -18572,7 +18575,7 @@ const pt = {
18572
18575
  className: "default-tt",
18573
18576
  arrow: !1,
18574
18577
  placement: "bottom",
18575
- content: pt[N],
18578
+ content: ft[N],
18576
18579
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(lu, { className: "icon-dim-16 flex" }) })
18577
18580
  }
18578
18581
  );
@@ -18583,7 +18586,7 @@ const pt = {
18583
18586
  className: "default-tt",
18584
18587
  arrow: !1,
18585
18588
  placement: "bottom",
18586
- content: pt[N],
18589
+ content: ft[N],
18587
18590
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(cu, { className: "icon-dim-16 flex" }) })
18588
18591
  }
18589
18592
  );
@@ -18594,7 +18597,7 @@ const pt = {
18594
18597
  className: "default-tt",
18595
18598
  arrow: !1,
18596
18599
  placement: "bottom",
18597
- content: pt[N],
18600
+ content: ft[N],
18598
18601
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(uu, { className: "icon-dim-16 flex" }) })
18599
18602
  }
18600
18603
  );
@@ -18605,7 +18608,7 @@ const pt = {
18605
18608
  className: "default-tt",
18606
18609
  arrow: !1,
18607
18610
  placement: "bottom",
18608
- content: pt[N],
18611
+ content: ft[N],
18609
18612
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(du, { className: "icon-dim-16 flex" }) })
18610
18613
  }
18611
18614
  );
@@ -18616,7 +18619,7 @@ const pt = {
18616
18619
  className: "default-tt",
18617
18620
  arrow: !1,
18618
18621
  placement: "bottom",
18619
- content: pt[N],
18622
+ content: ft[N],
18620
18623
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(pu, { className: "icon-dim-16 flex" }) })
18621
18624
  }
18622
18625
  );
@@ -18627,7 +18630,7 @@ const pt = {
18627
18630
  className: "default-tt",
18628
18631
  arrow: !1,
18629
18632
  placement: "bottom",
18630
- content: pt[N],
18633
+ content: ft[N],
18631
18634
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(mu, { className: "icon-dim-16 flex" }) })
18632
18635
  }
18633
18636
  );
@@ -18638,7 +18641,7 @@ const pt = {
18638
18641
  className: "default-tt",
18639
18642
  arrow: !1,
18640
18643
  placement: "bottom",
18641
- content: pt[N],
18644
+ content: ft[N],
18642
18645
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(fu, { className: "icon-dim-16 flex" }) })
18643
18646
  }
18644
18647
  );
@@ -18649,7 +18652,7 @@ const pt = {
18649
18652
  className: "default-tt",
18650
18653
  arrow: !1,
18651
18654
  placement: "bottom",
18652
- content: pt[N],
18655
+ content: ft[N],
18653
18656
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(Or, { className: "icon-dim-16 flex" }) })
18654
18657
  }
18655
18658
  );
@@ -18660,7 +18663,7 @@ const pt = {
18660
18663
  className: "default-tt",
18661
18664
  arrow: !1,
18662
18665
  placement: "bottom",
18663
- content: pt[N],
18666
+ content: ft[N],
18664
18667
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(_u, { className: "icon-dim-16 flex" }) })
18665
18668
  }
18666
18669
  );
@@ -18671,7 +18674,7 @@ const pt = {
18671
18674
  className: "default-tt",
18672
18675
  arrow: !1,
18673
18676
  placement: "bottom",
18674
- content: pt[N],
18677
+ content: ft[N],
18675
18678
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(hu, { className: "icon-dim-16 flex" }) })
18676
18679
  }
18677
18680
  );
@@ -18779,7 +18782,7 @@ const pt = {
18779
18782
  )
18780
18783
  ] }) })
18781
18784
  ] }) }) });
18782
- }, Ot = {
18785
+ }, Pt = {
18783
18786
  NOT_DEPLOYED: {
18784
18787
  noSpaceLower: "notdeployed",
18785
18788
  normalCase: "Not deployed",
@@ -18826,10 +18829,10 @@ function Ov({
18826
18829
  }) {
18827
18830
  let o = e;
18828
18831
  s && (o = UE(e));
18829
- const l = o?.toLowerCase(), i = l === Ot.NOT_DEPLOYED.noSpaceLower, c = e === Ot.NOT_READY.normalCase, u = o || (a ? Ot.NOT_AVILABLE.normalCase : "-"), d = n ? kE : Ot.NOT_DEPLOYED.normalCase, m = i ? d : u, h = i ? Ot.NOT_DEPLOYED.lowerCase : c ? Ot.NOT_READY.lowerCase : l, g = () => h ? h === "failed" || h === "error" ? /* @__PURE__ */ t.jsx(js, { className: "icon-dim-16 dc__no-shrink ic-error-cross-red" }) : /* @__PURE__ */ t.jsx("span", { className: `dc__app-summary__icon icon-dim-16 ${h} ${h}--node` }) : a ? /* @__PURE__ */ t.jsx(
18832
+ const l = o?.toLowerCase(), i = l === Pt.NOT_DEPLOYED.noSpaceLower, c = e === Pt.NOT_READY.normalCase, u = o || (a ? Pt.NOT_AVILABLE.normalCase : "-"), d = n ? kE : Pt.NOT_DEPLOYED.normalCase, m = i ? d : u, h = i ? Pt.NOT_DEPLOYED.lowerCase : c ? Pt.NOT_READY.lowerCase : l, g = () => h ? h === "failed" || h === "error" ? /* @__PURE__ */ t.jsx(js, { className: "icon-dim-16 dc__no-shrink ic-error-cross-red" }) : /* @__PURE__ */ t.jsx("span", { className: `dc__app-summary__icon icon-dim-16 ${h} ${h}--node` }) : a ? /* @__PURE__ */ t.jsx(
18830
18833
  "span",
18831
18834
  {
18832
- className: `dc__app-summary__icon icon-dim-16 ${Ot.NOT_DEPLOYED.lowerCase} ${Ot.NOT_DEPLOYED.lowerCase}--node`
18835
+ className: `dc__app-summary__icon icon-dim-16 ${Pt.NOT_DEPLOYED.lowerCase} ${Pt.NOT_DEPLOYED.lowerCase}--node`
18833
18836
  }
18834
18837
  ) : /* @__PURE__ */ t.jsx(
18835
18838
  ee,
@@ -18882,7 +18885,7 @@ export {
18882
18885
  Lu as $,
18883
18886
  jC as A,
18884
18887
  cc as B,
18885
- Lt as C,
18888
+ Rt as C,
18886
18889
  bv as D,
18887
18890
  ua as E,
18888
18891
  Cu as F,
@@ -18949,14 +18952,14 @@ export {
18949
18952
  wi as aa,
18950
18953
  Oi as ab,
18951
18954
  DC as ac,
18952
- at as ad,
18955
+ rt as ad,
18953
18956
  MC as ae,
18954
18957
  Dr as af,
18955
18958
  Ba as ag,
18956
18959
  hs as ah,
18957
18960
  kC as ai,
18958
18961
  wu as aj,
18959
- ht as ak,
18962
+ gt as ak,
18960
18963
  ra as al,
18961
18964
  ze as am,
18962
18965
  ls as an,
@@ -18993,7 +18996,7 @@ export {
18993
18996
  FS as bG,
18994
18997
  qo as bH,
18995
18998
  pa as bI,
18996
- _t as bJ,
18999
+ ht as bJ,
18997
19000
  Nv as bK,
18998
19001
  en as bL,
18999
19002
  xv as bM,
@@ -19061,7 +19064,7 @@ export {
19061
19064
  wv as cJ,
19062
19065
  _s as cK,
19063
19066
  Qi as cL,
19064
- Rt as cM,
19067
+ wt as cM,
19065
19068
  gs as cN,
19066
19069
  ig as cO,
19067
19070
  Ov as cP,
@@ -19178,10 +19181,10 @@ export {
19178
19181
  BT as e7,
19179
19182
  $T as e8,
19180
19183
  la as e9,
19181
- kt as eA,
19184
+ Ut as eA,
19182
19185
  $_ as eB,
19183
19186
  F_ as eC,
19184
- tt as eD,
19187
+ st as eD,
19185
19188
  Js as eE,
19186
19189
  Eo as eF,
19187
19190
  Ns as eG,
@@ -19353,9 +19356,9 @@ export {
19353
19356
  np as gp,
19354
19357
  ap as gq,
19355
19358
  rp as gr,
19356
- Ze as gs,
19357
- rt as gt,
19358
- xt as gu,
19359
+ qe as gs,
19360
+ Ze as gt,
19361
+ mt as gu,
19359
19362
  Ka as gv,
19360
19363
  Px as gw,
19361
19364
  wx as gx,
@@ -19373,7 +19376,7 @@ export {
19373
19376
  MT as h7,
19374
19377
  co as h8,
19375
19378
  Qf as h9,
19376
- ft as hA,
19379
+ _t as hA,
19377
19380
  Ku as hB,
19378
19381
  zu as hC,
19379
19382
  Ln as hD,
@@ -19433,7 +19436,7 @@ export {
19433
19436
  Ya as i3,
19434
19437
  G as i4,
19435
19438
  Se as i5,
19436
- nt as i6,
19439
+ at as i6,
19437
19440
  Nn as i7,
19438
19441
  oe as i8,
19439
19442
  am as i9,
@@ -19482,7 +19485,7 @@ export {
19482
19485
  Bs as iw,
19483
19486
  Am as ix,
19484
19487
  jm as iy,
19485
- gt as iz,
19488
+ xt as iz,
19486
19489
  Tv as j,
19487
19490
  Sv as k,
19488
19491
  Tt as l,