@devtron-labs/devtron-fe-common-lib 1.15.2-beta-3 → 1.15.2-beta-5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ var vc = (e) => {
5
5
  var T_ = (e, s, n) => s in e ? b_(e, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[s] = n;
6
6
  var ie = (e, s, n) => T_(e, typeof s != "symbol" ? s + "" : s, n), Ic = (e, s, n) => s.has(e) || vc("Cannot " + n);
7
7
  var Gs = (e, s, n) => (Ic(e, s, "read from private field"), n ? n.call(e) : s.get(e)), Oa = (e, s, n) => s.has(e) ? vc("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), La = (e, s, n, a) => (Ic(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
8
- import { j as t, i as Te, Q as io, k as S_, n as v_, D as ar, t as We, E as Jn, g as I_, a as A_, S as Xd, b as vi, r as Jd, s as R_, o as y_, c as Ac, d as j_, e as O_, y as L_, l as rr, f as w_, h as D_, m as P_, p as M_, q as Rc, u as k_, v as yc, w as U_, x as $_, z as F_, A as B_, T as jc, B as Ii, C as V_, F as Oc, G as Zd, H as G_, I as H_, J as Qd, K as Lc, L as Y_, M as K_, N as wc, O as W_, P as z_, R as q_, V as X_, U as J_, W as Dc, X as Z_, Y as Pc, Z as Q_, _ as co, $ as Mc, a0 as ef, a1 as tf, a2 as sf, a3 as nf, a4 as af, a5 as rf, a6 as of, a7 as cf, a8 as lf, a9 as df, aa as eu, ab as uf, ac as mf, ad as pf, ae as _f, af as ff, ag as kc, ah as Uc, ai as hf, aj as gf, ak as Ef, al as xf, am as Nf, an as Cf, ao as bf, ap as Tf, aq as tu, ar as su, as as Sf, at as vf, au as If, av as Af, aw as Ys } from "./@vendor-DC3JvJ9U.js";
8
+ import { j as t, i as Te, Q as io, k as S_, n as v_, D as ar, t as We, E as Jn, g as I_, a as A_, S as Xd, b as vi, r as Jd, s as R_, o as y_, c as Ac, d as j_, e as O_, y as L_, l as rr, f as w_, h as D_, m as P_, p as M_, q as Rc, u as k_, v as yc, w as U_, x as $_, z as F_, A as B_, T as jc, B as Ii, C as V_, F as Oc, G as Zd, H as G_, I as H_, J as Qd, K as Lc, L as Y_, M as K_, N as wc, O as W_, P as z_, R as q_, V as X_, U as J_, W as Dc, X as Z_, Y as Pc, Z as Q_, _ as co, $ as Mc, a0 as ef, a1 as tf, a2 as sf, a3 as nf, a4 as af, a5 as rf, a6 as of, a7 as cf, a8 as lf, a9 as df, aa as eu, ab as uf, ac as mf, ad as pf, ae as _f, af as ff, ag as kc, ah as Uc, ai as hf, aj as gf, ak as Ef, al as xf, am as Nf, an as Cf, ao as bf, ap as Tf, aq as tu, ar as su, as as Sf, at as vf, au as If, av as Af, aw as Ys } from "./@vendor-STJ9h0oI.js";
9
9
  import Le, { createContext as Kt, useContext as Es, useMemo as X, useState as O, useEffect as P, cloneElement as Zn, useRef as U, createElement as Ai, Children as $c, useCallback as Be, useLayoutEffect as Rf, createRef as or, Fragment as Ms, memo as vt, Component as Ri } from "react";
10
10
  import { ReactComponent as yf } from "./assets/ic-info-filled-override.99e8094a.svg";
11
11
  import * as jf from "yaml";
@@ -25,7 +25,7 @@ import { h as Ve } from "./@moment-C_WeV3Af.js";
25
25
  import { ReactComponent as Uf } from "./assets/ic-visibility-off.d91d3844.svg";
26
26
  import { ReactComponent as $f } from "./assets/ic-visibility-on.7505dd12.svg";
27
27
  import Ff from "./assets/DeployAudio.566e45df.mp3";
28
- import { a as ir, m as ke, A as Dr, u as ko, b as ln, c as Fc } from "./@framer-motion-C5Xvz7Lq.js";
28
+ import { a as ir, m as ke, A as Dr, u as ko, b as ln, c as Fc } from "./@framer-motion-Dchiw-Rb.js";
29
29
  import ji, { components as Ge } from "react-select";
30
30
  import Bf, { ReactComponent as _s } from "./assets/ic-chevron-down.fc70d7a7.svg";
31
31
  import { ReactComponent as Vf } from "./assets/ic-arrow-backward.d951202a.svg";
@@ -95,7 +95,7 @@ import { ReactComponent as Eu } from "./assets/ic-regex.e14a4ea3.svg";
95
95
  import { ReactComponent as xh } from "./assets/ic-replace-all-text.a87fd342.svg";
96
96
  import { ReactComponent as Nh } from "./assets/ic-replace-text.cc5433be.svg";
97
97
  import { ReactComponent as xu } from "./assets/ic-world.1f6a5eaf.svg";
98
- import { r as Nu, C as Ch, a as bh } from "./@react-dates-B6q1sdbJ.js";
98
+ import { r as Nu, C as Ch, a as bh } from "./@react-dates-D5kydtW-.js";
99
99
  import { ReactComponent as Mi } from "./assets/ic-clock.c21a2d14.svg";
100
100
  import Th from "./assets/ic-calender-blank.963e3423.svg";
101
101
  import Sh, { ReactComponent as Cs } from "./assets/ic-cross.01e03666.svg";
@@ -142,14 +142,14 @@ import { ReactComponent as zh } from "./assets/ic-check-square.2a3d3fb9.svg";
142
142
  import { customizeValidator as Ou } from "@rjsf/validator-ajv8";
143
143
  import { ReactComponent as qh } from "./assets/ic-file-text.f9563710.svg";
144
144
  import { ReactComponent as Xh } from "./assets/ic-upload-arrow-animated.3db85855.svg";
145
- import { A as Jh } from "./@react-virtualized-sticky-tree-BpJty95h.js";
145
+ import { A as Jh } from "./@react-virtualized-sticky-tree-DMnFy9PE.js";
146
146
  import Zh from "./assets/change-source.abc9d12f.png";
147
147
  import Qh from "./assets/select-image-source.fb911f42.png";
148
148
  import eg from "./assets/ic-source-build.7d776b10.svg";
149
149
  import tg from "./assets/ic-source-job.a40f06cf.svg";
150
150
  import sg from "./assets/ic-source-linked-build.f24ecbed.svg";
151
151
  import ng from "./assets/ic-source-webhook.ee64a29a.svg";
152
- import { C as ag } from "./@react-select-LSvqtVJj.js";
152
+ import { C as ag } from "./@react-select-Cmser7OI.js";
153
153
  import { ReactComponent as rg } from "./assets/ic-medium-info.b59d7676.svg";
154
154
  import { ReactComponent as og } from "./assets/delete-medium.897114e0.svg";
155
155
  import { deepEquals as Lu } from "@rjsf/utils";
@@ -355,7 +355,7 @@ const Gn = {
355
355
  Security: "SECURITY",
356
356
  Changes: "CHANGES"
357
357
  };
358
- var yt = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(yt || {}), Pu = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(Pu || {}), UN = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(UN || {}), $N = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))($N || {}), zn = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(zn || {}), FN = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(FN || {}), BN = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(BN || {}), Go = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(Go || {}), VN = /* @__PURE__ */ ((e) => (e.PENDING_APPROVAL = "PENDING_APPROVAL", e.PROMOTION_APPROVAL_PENDING_NODE = "PROMOTION_APPROVAL_PENDING_NODE", e.CI = "CI", e.ENVIRONMENT = "ENVIRONMENT", e.WEBHOOK = "WEBHOOK", e.LINKED_CI = "LINKED-CI", e.CI_JOB = "CI-JOB", e.LINKED_CD = "LINKED-CD", e))(VN || {}), Mu = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(Mu || {}), GN = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(GN || {}), Tt = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.GITOPS = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux_cd", e))(Tt || {}), HN = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(HN || {}), Js = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(Js || {}), ys = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(ys || {}), ta = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(ta || {}), Ho = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(Ho || {}), YN = /* @__PURE__ */ ((e) => (e.MANAGER = "manager", e.ADMIN = "admin", e.TRIGGER = "trigger", e.VIEW = "view", e.UPDATE = "update", e.EDIT = "edit", e.APPROVER = "approver", e))(YN || {});
358
+ var yt = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(yt || {}), Pu = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(Pu || {}), UN = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(UN || {}), $N = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))($N || {}), zn = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(zn || {}), FN = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(FN || {}), BN = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(BN || {}), Go = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(Go || {}), VN = /* @__PURE__ */ ((e) => (e.PENDING_APPROVAL = "PENDING_APPROVAL", e.PROMOTION_APPROVAL_PENDING_NODE = "PROMOTION_APPROVAL_PENDING_NODE", e.CI = "CI", e.ENVIRONMENT = "ENVIRONMENT", e.WEBHOOK = "WEBHOOK", e.LINKED_CI = "LINKED-CI", e.CI_JOB = "CI-JOB", e.LINKED_CD = "LINKED-CD", e))(VN || {}), Mu = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(Mu || {}), GN = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(GN || {}), gt = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.GITOPS = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux_cd", e))(gt || {}), HN = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(HN || {}), Js = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(Js || {}), ys = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(ys || {}), ta = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(ta || {}), Ho = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(Ho || {}), YN = /* @__PURE__ */ ((e) => (e.MANAGER = "manager", e.ADMIN = "admin", e.TRIGGER = "trigger", e.VIEW = "view", e.UPDATE = "update", e.EDIT = "edit", e.APPROVER = "approver", e))(YN || {});
359
359
  const KN = ({ tooltipContent: e }) => e ? /* @__PURE__ */ t.jsxs("div", { className: "dc__white-space-pre-wrap", children: [
360
360
  /* @__PURE__ */ t.jsx("p", { className: "m-0 fs-12 fw-6 lh-18", children: "Click to add" }),
361
361
  e
@@ -670,7 +670,7 @@ const Yo = {
670
670
  low: 4,
671
671
  unknown: 5
672
672
  }, dr = window.navigator.userAgent.toUpperCase().includes("MAC");
673
- var Ct = /* @__PURE__ */ ((e) => (e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.AZURE = "azure", e.GITEA = "gitea", e.GIT = "git", e))(Ct || {});
673
+ var bt = /* @__PURE__ */ ((e) => (e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.AZURE = "azure", e.GITEA = "gitea", e.GIT = "git", e))(bt || {});
674
674
  const LU = (e) => JSON.stringify(JSON.parse(e ?? "{}"), null, 2), Bu = Symbol(
675
675
  `The element at this index remains unchanged from the original object.
676
676
  This symbol is used by @buildObjectFromPath & later consumed by @recursivelyRemoveSymbolFromArraysInObject`
@@ -719,7 +719,7 @@ const EC = {
719
719
  Auto: "AUTOMATIC",
720
720
  Manual: "MANUAL"
721
721
  };
722
- var xC = /* @__PURE__ */ ((e) => (e.ABOUT = "about", e.LICENSE = "license", e.UPDATE = "update", e))(xC || {}), NC = /* @__PURE__ */ ((e) => (e.FingerPrintMisMatch = "11001", e.LicenseExpired = "11002", e.TamperedCertificate = "11003", e.NoPublicKey = "11004", e.InstallationModeMismatch = "11005", e.LicKeyMismatch = "11006", e.NoCertFound = "11007", e.LicKeyNotFound = "11008", e))(NC || {}), Yu = /* @__PURE__ */ ((e) => (e.LICENSE_STATUS = "X-License-Status", e))(Yu || {}), CC = /* @__PURE__ */ ((e) => (e.EKS_AUTO_CLUSTER = "eksAutoCluster", e.EKS_MANUAL_CLUSTER = "eksManualCluster", e))(CC || {}), bC = /* @__PURE__ */ ((e) => (e.USERNAME_PASSWORD = "username_password", e.ANONYMOUS = "anonymous", e))(bC || {}), z = /* @__PURE__ */ ((e) => (e.DEPLOYMENT_INITIATED = "DEPLOYMENT_INITIATED", e.GIT_COMMIT = "GIT_COMMIT", e.GIT_COMMIT_FAILED = "GIT_COMMIT_FAILED", e.ARGOCD_SYNC = "ARGOCD_SYNC", e.ARGOCD_SYNC_FAILED = "ARGOCD_SYNC_FAILED", e.KUBECTL_APPLY = "KUBECTL_APPLY", e.KUBECTL_APPLY_STARTED = "KUBECTL_APPLY_STARTED", e.KUBECTL_APPLY_SYNCED = "KUBECTL_APPLY_SYNCED", e.HEALTHY = "HEALTHY", e.APP_HEALTH = "APP_HEALTH", e.DEPLOYMENT_FAILED = "FAILED", e.FETCH_TIMED_OUT = "TIMED_OUT", e.UNABLE_TO_FETCH_STATUS = "UNABLE_TO_FETCH_STATUS", e.DEGRADED = "DEGRADED", e.DEPLOYMENT_SUPERSEDED = "DEPLOYMENT_SUPERSEDED", e.ABORTED = "ABORTED", e.INPROGRESS = "INPROGRESS", e.HELM_PACKAGE_GENERATED = "HELM_PACKAGE_GENERATED", e.HELM_PACKAGE_GENERATION_FAILED = "HELM_PACKAGE_GENERATION_FAILED", e.HELM_MANIFEST_PUSHED_TO_HELM_REPO = "HELM_MANIFEST_PUSHED_TO_HELM_REPO", e.HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED = "HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED", e))(z || {}), un = /* @__PURE__ */ ((e) => (e.PRE_SYNC = "PreSync", e.SYNC = "Sync", e.POST_SYNC = "PostSync", e.SKIP = "Skip", e.SYNC_FAIL = "SyncFail", e))(un || {});
722
+ var xC = /* @__PURE__ */ ((e) => (e.ABOUT = "about", e.LICENSE = "license", e.UPDATE = "update", e))(xC || {}), NC = /* @__PURE__ */ ((e) => (e.FingerPrintMisMatch = "11001", e.LicenseExpired = "11002", e.TamperedCertificate = "11003", e.NoPublicKey = "11004", e.InstallationModeMismatch = "11005", e.LicKeyMismatch = "11006", e.NoCertFound = "11007", e.LicKeyNotFound = "11008", e))(NC || {}), Yu = /* @__PURE__ */ ((e) => (e.LICENSE_STATUS = "X-License-Status", e))(Yu || {}), CC = /* @__PURE__ */ ((e) => (e.EKS_AUTO_CLUSTER = "eksAutoCluster", e.EKS_MANUAL_CLUSTER = "eksManualCluster", e))(CC || {}), bC = /* @__PURE__ */ ((e) => (e.USERNAME_PASSWORD = "username_password", e.ANONYMOUS = "anonymous", e))(bC || {}), Y = /* @__PURE__ */ ((e) => (e.DEPLOYMENT_INITIATED = "DEPLOYMENT_INITIATED", e.GIT_COMMIT = "GIT_COMMIT", e.GIT_COMMIT_FAILED = "GIT_COMMIT_FAILED", e.ARGOCD_SYNC = "ARGOCD_SYNC", e.ARGOCD_SYNC_FAILED = "ARGOCD_SYNC_FAILED", e.KUBECTL_APPLY = "KUBECTL_APPLY", e.KUBECTL_APPLY_STARTED = "KUBECTL_APPLY_STARTED", e.KUBECTL_APPLY_SYNCED = "KUBECTL_APPLY_SYNCED", e.HEALTHY = "HEALTHY", e.APP_HEALTH = "APP_HEALTH", e.DEPLOYMENT_FAILED = "FAILED", e.FETCH_TIMED_OUT = "TIMED_OUT", e.UNABLE_TO_FETCH_STATUS = "UNABLE_TO_FETCH_STATUS", e.DEGRADED = "DEGRADED", e.DEPLOYMENT_SUPERSEDED = "DEPLOYMENT_SUPERSEDED", e.ABORTED = "ABORTED", e.INPROGRESS = "INPROGRESS", e.HELM_PACKAGE_GENERATED = "HELM_PACKAGE_GENERATED", e.HELM_PACKAGE_GENERATION_FAILED = "HELM_PACKAGE_GENERATION_FAILED", e.HELM_MANIFEST_PUSHED_TO_HELM_REPO = "HELM_MANIFEST_PUSHED_TO_HELM_REPO", e.HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED = "HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED", e))(Y || {}), un = /* @__PURE__ */ ((e) => (e.PRE_SYNC = "PreSync", e.SYNC = "Sync", e.POST_SYNC = "PostSync", e.SKIP = "Skip", e.SYNC_FAIL = "SyncFail", e))(un || {});
723
723
  const Ku = (e, s, n, a, r) => {
724
724
  const o = e.lastIndex;
725
725
  Promise.resolve(s[o]()).then((i) => {
@@ -1321,7 +1321,7 @@ const Ls = {
1321
1321
  }
1322
1322
  ) : Zn(r, { ...r.props, onMouseEnter: l });
1323
1323
  };
1324
- var J = /* @__PURE__ */ ((e) => (e.primary = "primary", e.secondary = "secondary", e.borderLess = "border-less", e.text = "text", e))(J || {}), ue = /* @__PURE__ */ ((e) => (e.default = "default", e.negative = "negative", e.negativeGrey = "negative-grey", e.positive = "positive", e.warning = "warning", e.neutral = "neutral", e.neutralN0 = "neutral-n0", e.neutralWhite = "neutral-white", e))(ue || {}), gt = /* @__PURE__ */ ((e) => (e.button = "button", e.link = "link", e.anchor = "anchor", e))(gt || {});
1324
+ var J = /* @__PURE__ */ ((e) => (e.primary = "primary", e.secondary = "secondary", e.borderLess = "border-less", e.text = "text", e))(J || {}), ue = /* @__PURE__ */ ((e) => (e.default = "default", e.negative = "negative", e.negativeGrey = "negative-grey", e.positive = "positive", e.warning = "warning", e.neutral = "neutral", e.neutralN0 = "neutral-n0", e.neutralWhite = "neutral-white", e))(ue || {}), Et = /* @__PURE__ */ ((e) => (e.button = "button", e.link = "link", e.anchor = "anchor", e))(Et || {});
1325
1325
  const eb = {
1326
1326
  [L.xxs_small_icon]: `${ls[L.xxs]} px-9 dc__gap-6 mw-48`,
1327
1327
  [L.xxs]: `${ls[L.xxs]} px-9 dc__gap-6 mw-48`,
@@ -1360,7 +1360,7 @@ const nm = {
1360
1360
  isAutoTriggerActive: o,
1361
1361
  fontWeight: i
1362
1362
  }) => `button button__${s}--${n} ${r ? sb[e] : eb[e]} ${tb[i]} ${o ? "button--auto-click" : ""} ${a ? "button--loading" : ""}`, ob = ({
1363
- component: e = gt.button,
1363
+ component: e = Et.button,
1364
1364
  anchorProps: s,
1365
1365
  linkProps: n,
1366
1366
  buttonProps: a,
@@ -1369,7 +1369,7 @@ const nm = {
1369
1369
  ...i
1370
1370
  }) => {
1371
1371
  const c = `${i.className} button__link ${i.disabled ? "dc__disable-click" : ""}`;
1372
- return e === gt.link ? /* @__PURE__ */ t.jsx(
1372
+ return e === Et.link ? /* @__PURE__ */ t.jsx(
1373
1373
  ss,
1374
1374
  {
1375
1375
  ...n,
@@ -1378,7 +1378,7 @@ const nm = {
1378
1378
  onClick: r,
1379
1379
  ref: o
1380
1380
  }
1381
- ) : e === gt.anchor ? /* @__PURE__ */ t.jsx(
1381
+ ) : e === Et.anchor ? /* @__PURE__ */ t.jsx(
1382
1382
  "a",
1383
1383
  {
1384
1384
  target: "_blank",
@@ -1400,7 +1400,7 @@ const nm = {
1400
1400
  ref: o
1401
1401
  }
1402
1402
  );
1403
- }, K = ({
1403
+ }, W = ({
1404
1404
  dataTestId: e,
1405
1405
  text: s,
1406
1406
  variant: n = J.primary,
@@ -1573,7 +1573,7 @@ const _b = ({ baseUrl: e, kind: s, version: n, suffix: a, queryParams: r }) => $
1573
1573
  id: e.appId
1574
1574
  }
1575
1575
  }) : F.CD_CONFIG;
1576
- return xt(n, e);
1576
+ return Nt(n, e);
1577
1577
  }, s$ = () => le(F.ENVIRONMENT_DATA), Hr = ({ type: e, queryParams: { id: s, ...n } }) => $e(
1578
1578
  `${_b({
1579
1579
  baseUrl: F.RESOURCE_TEMPLATE,
@@ -1593,7 +1593,7 @@ const hb = {
1593
1593
  toastClassName: "custom-toast",
1594
1594
  bodyClassName: "custom-toast__body",
1595
1595
  closeButton: ({ closeToast: e }) => /* @__PURE__ */ t.jsx("div", { className: "custom-toast__close-btn", children: /* @__PURE__ */ t.jsx(
1596
- K,
1596
+ W,
1597
1597
  {
1598
1598
  icon: /* @__PURE__ */ t.jsx(Cs, { className: "fcn-0" }),
1599
1599
  onClick: e,
@@ -1646,7 +1646,7 @@ const hb = {
1646
1646
  /* @__PURE__ */ t.jsx("p", { className: "fs-12 fw-4 lh-18 m-0 dc__truncate--clamp-6", children: s })
1647
1647
  ] }),
1648
1648
  n && /* @__PURE__ */ t.jsx(
1649
- K,
1649
+ W,
1650
1650
  {
1651
1651
  ...n,
1652
1652
  variant: J.text,
@@ -1816,7 +1816,7 @@ const i$ = async (e, s) => {
1816
1816
  ...e,
1817
1817
  valuesAndManifestFlag: Gi.MANIFEST
1818
1818
  };
1819
- return await xt(F.APP_TEMPLATE_DATA, n, {
1819
+ return await Nt(F.APP_TEMPLATE_DATA, n, {
1820
1820
  signal: s
1821
1821
  });
1822
1822
  } catch (n) {
@@ -1827,7 +1827,7 @@ const i$ = async (e, s) => {
1827
1827
  const n = {
1828
1828
  ...e,
1829
1829
  valuesAndManifestFlag: Gi.DEPLOYMENT_TEMPLATE
1830
- }, { result: a } = await xt(F.APP_TEMPLATE_DATA, n, {
1830
+ }, { result: a } = await Nt(F.APP_TEMPLATE_DATA, n, {
1831
1831
  signal: s
1832
1832
  }), r = Object.keys(a.variableSnapshot || {}).length > 0, o = Jt.parse(a.data), i = Jt.parse(a.resolvedData);
1833
1833
  return {
@@ -1879,7 +1879,7 @@ const i$ = async (e, s) => {
1879
1879
  const i = new FormData();
1880
1880
  i.append("file", e[0]);
1881
1881
  try {
1882
- const { result: c } = await xt(
1882
+ const { result: c } = await Nt(
1883
1883
  $e(`${F.CD_CONFIG}/${s}/${n}/${F.FILE_UPLOAD}`, {
1884
1884
  allowedExtensions: a,
1885
1885
  maxUploadSize: r
@@ -1915,7 +1915,7 @@ const i$ = async (e, s) => {
1915
1915
  ...l ? { skipIfHibernated: !0 } : {},
1916
1916
  ...u ? { strategy: u } : {}
1917
1917
  };
1918
- return r && (p.deploymentWithConfig = r === Wa.LAST_SAVED_CONFIG ? r : Wa.SPECIFIC_TRIGGER_CONFIG, r !== Wa.LAST_SAVED_CONFIG && (p.wfrIdForDeploymentWithSpecificTrigger = o)), xt(F.CD_TRIGGER_POST, p, { ...Ab(), abortControllerRef: c });
1918
+ return r && (p.deploymentWithConfig = r === Wa.LAST_SAVED_CONFIG ? r : Wa.SPECIFIC_TRIGGER_CONFIG, r !== Wa.LAST_SAVED_CONFIG && (p.wfrIdForDeploymentWithSpecificTrigger = o)), Nt(F.CD_TRIGGER_POST, p, { ...Ab(), abortControllerRef: c });
1919
1919
  };
1920
1920
  var cm = /* @__PURE__ */ ((e) => (e.NEW_DEPLOYMENT = "create", e.MIGRATE_EXTERNAL_APPS = "link", e))(cm || {});
1921
1921
  const p$ = ({ fileMountDir: e }) => /* @__PURE__ */ t.jsx(
@@ -1991,7 +1991,7 @@ const p$ = ({ fileMountDir: e }) => /* @__PURE__ */ t.jsx(
1991
1991
  const c = new FormData();
1992
1992
  c.append("file", e[0]);
1993
1993
  try {
1994
- const { result: l } = await xt(
1994
+ const { result: l } = await Nt(
1995
1995
  $e(`${F.CI_CONFIG_GET}/${s}/${n}/${F.FILE_UPLOAD}`, {
1996
1996
  envId: a,
1997
1997
  allowedExtensions: r,
@@ -2074,7 +2074,7 @@ const Zc = (e) => ({
2074
2074
  }
2075
2075
  ),
2076
2076
  m && /* @__PURE__ */ t.jsx(
2077
- K,
2077
+ W,
2078
2078
  {
2079
2079
  icon: /* @__PURE__ */ t.jsx(Mf, {}),
2080
2080
  ariaLabel: "Delete",
@@ -2786,7 +2786,7 @@ const rl = (e) => {
2786
2786
  "div",
2787
2787
  {
2788
2788
  className: `select-picker__menu-list-footer-button--${a} ${a === J.borderLess ? "py-4" : "p-8"}`,
2789
- children: /* @__PURE__ */ t.jsx(K, { ...n, size: L.medium, fullWidth: !0 })
2789
+ children: /* @__PURE__ */ t.jsx(W, { ...n, size: L.medium, fullWidth: !0 })
2790
2790
  }
2791
2791
  )
2792
2792
  );
@@ -2904,7 +2904,7 @@ function gT(e) {
2904
2904
  return le(`${F.USER_CHECK_ROLE}${e ? `?appName=${e}` : ""}`);
2905
2905
  }
2906
2906
  function ET(e, s, n) {
2907
- return xt(`${F.IMAGE_TAGGING}/${s}/${n}`, e);
2907
+ return Nt(`${F.IMAGE_TAGGING}/${s}/${n}`, e);
2908
2908
  }
2909
2909
  const gm = (e) => ({
2910
2910
  ...e,
@@ -3159,7 +3159,7 @@ function ll(e) {
3159
3159
  const IT = (e, s) => {
3160
3160
  if (!e) return null;
3161
3161
  const n = e.trim().replace(/\.git$/, "").replace(/\/$/, "");
3162
- return n.includes(Ct.GITLAB) ? `${n}/-/tree/${s}` : n.includes(Ct.GITHUB) ? `${n}/tree/${s}` : n.includes(Ct.BITBUCKET) ? `${n}/branch/${s}` : n.includes(Ct.AZURE) ? `${n}/src/branch/${s}` : null;
3162
+ return n.includes(bt.GITLAB) ? `${n}/-/tree/${s}` : n.includes(bt.GITHUB) ? `${n}/tree/${s}` : n.includes(bt.BITBUCKET) ? `${n}/branch/${s}` : n.includes(bt.AZURE) ? `${n}/src/branch/${s}` : null;
3163
3163
  }, L$ = async ({
3164
3164
  appId: e,
3165
3165
  isCD: s = !1,
@@ -3194,7 +3194,7 @@ const IT = (e, s) => {
3194
3194
  apps: (a.result?.apps ?? []).reduce((r, { appId: o, appName: i, appStatus: c }) => (o && r.push({
3195
3195
  appId: o,
3196
3196
  appName: i || "",
3197
- appStatus: c || bt.UNKNOWN
3197
+ appStatus: c || Tt.UNKNOWN
3198
3198
  }), r), [])
3199
3199
  };
3200
3200
  }, Em = () => {
@@ -3494,7 +3494,7 @@ const fl = () => ({
3494
3494
  );
3495
3495
  return /* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-4", children: [
3496
3496
  /* @__PURE__ */ t.jsxs("div", { className: `flex left ${n ? "dc__required-field" : ""}`, children: [
3497
- /* @__PURE__ */ t.jsx(Et, { condition: l, wrap: d, children: /* @__PURE__ */ t.jsx(
3497
+ /* @__PURE__ */ t.jsx(xt, { condition: l, wrap: d, children: /* @__PURE__ */ t.jsx(
3498
3498
  "label",
3499
3499
  {
3500
3500
  className: `fs-13 lh-20 fw-4 dc__block mb-0 cursor ${c ? `cn-9 ${l ? "dc__underline-dotted" : ""}` : "cn-7"}`,
@@ -3576,7 +3576,7 @@ const fl = () => ({
3576
3576
  ] })
3577
3577
  ] }),
3578
3578
  e && /* @__PURE__ */ t.jsx(
3579
- K,
3579
+ W,
3580
3580
  {
3581
3581
  text: o,
3582
3582
  onClick: e,
@@ -3622,7 +3622,7 @@ const fl = () => ({
3622
3622
  shouldHideMenu: D = !1,
3623
3623
  warningText: B,
3624
3624
  layout: q,
3625
- ariaLabel: W,
3625
+ ariaLabel: z,
3626
3626
  borderConfig: oe,
3627
3627
  borderRadiusConfig: te,
3628
3628
  labelTippyCustomizedConfig: Ee,
@@ -3632,7 +3632,7 @@ const fl = () => ({
3632
3632
  }) => {
3633
3633
  const fe = U(null), he = S ?? fe, [Ne, re] = O(!1), [_e, me] = O(""), {
3634
3634
  inputId: se,
3635
- required: Y,
3635
+ required: K,
3636
3636
  isDisabled: xe,
3637
3637
  controlShouldRenderValue: Ae = !0,
3638
3638
  value: Ke,
@@ -3707,23 +3707,23 @@ const fl = () => ({
3707
3707
  error: e,
3708
3708
  helperText: n,
3709
3709
  warningText: B,
3710
- required: Y,
3710
+ required: K,
3711
3711
  fullWidth: A,
3712
- ariaLabel: W,
3712
+ ariaLabel: z,
3713
3713
  borderConfig: oe,
3714
3714
  borderRadiusConfig: te,
3715
3715
  labelTippyCustomizedConfig: Ee,
3716
3716
  labelTooltipConfig: ve,
3717
3717
  hideFormFieldInfo: V,
3718
- children: /* @__PURE__ */ t.jsx(Et, { condition: xe && !!c, wrap: f_, children: /* @__PURE__ */ t.jsx("div", { className: "w-100", children: /* @__PURE__ */ t.jsx(
3718
+ children: /* @__PURE__ */ t.jsx(xt, { condition: xe && !!c, wrap: f_, children: /* @__PURE__ */ t.jsx("div", { className: "w-100", children: /* @__PURE__ */ t.jsx(
3719
3719
  ag,
3720
3720
  {
3721
3721
  ...Q,
3722
3722
  ...Wi({
3723
3723
  inputId: se,
3724
- required: Y,
3724
+ required: K,
3725
3725
  label: r,
3726
- ariaLabel: W,
3726
+ ariaLabel: z,
3727
3727
  error: e,
3728
3728
  helperText: n
3729
3729
  }),
@@ -4343,7 +4343,7 @@ ${d.slice(C)}`;
4343
4343
  ] }), k$ = ({ disabled: e, handleCancel: s, editProfile: n, loading: a }) => {
4344
4344
  const r = e ? ot.SUBMIT_BUTTON_TIPPY.INVALID_INPUT : ot.SUBMIT_BUTTON_TIPPY.REQUEST_IN_PROGRESS, o = () => n ? ot.EDIT_SUBMIT : ot.SAVE_SUBMIT, i = (c) => /* @__PURE__ */ t.jsx(Te, { content: r, placement: "top", className: "default-tt", arrow: !1, children: c });
4345
4345
  return /* @__PURE__ */ t.jsxs("div", { className: "flex pl pr pb pt h-64 dc__gap-12 dc__border-top dc__content-start", children: [
4346
- /* @__PURE__ */ t.jsx(Et, { condition: e || a, wrap: i, children: /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__align-items-center", children: /* @__PURE__ */ t.jsx(
4346
+ /* @__PURE__ */ t.jsx(xt, { condition: e || a, wrap: i, children: /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__align-items-center", children: /* @__PURE__ */ t.jsx(
4347
4347
  "button",
4348
4348
  {
4349
4349
  type: "submit",
@@ -4384,7 +4384,7 @@ ${d.slice(C)}`;
4384
4384
  } catch (a) {
4385
4385
  throw we(a), a;
4386
4386
  }
4387
- }, VT = async (e) => await xt(Ji(), e), GT = async ({
4387
+ }, VT = async (e) => await Nt(Ji(), e), GT = async ({
4388
4388
  name: e,
4389
4389
  profileInput: s,
4390
4390
  canConfigureUseK8sDriver: n
@@ -5018,7 +5018,7 @@ const V$ = (e, s = !1) => {
5018
5018
  if (A[k.TOLERANCE].key !== k.TOLERANCE)
5019
5019
  break;
5020
5020
  const { id: b, key: v, effect: y, operator: T, value: j } = N, w = A[k.TOLERANCE].value.find(
5021
- (W) => W.id === b
5021
+ (z) => z.id === b
5022
5022
  );
5023
5023
  w ? (w.key = v, w.effect = y, w.operator = T, w.value = j, T === ws.EXISTS && delete w.value) : A[k.TOLERANCE].value.unshift({
5024
5024
  id: b,
@@ -5725,9 +5725,9 @@ const tF = (e, s, n, a) => ({
5725
5725
  ] }),
5726
5726
  n
5727
5727
  ] });
5728
- }, aF = (e, s) => xt(F.K8S_RESOURCE_LIST, e, {
5728
+ }, aF = (e, s) => Nt(F.K8S_RESOURCE_LIST, e, {
5729
5729
  signal: s
5730
- }), rF = (e) => xt(F.K8S_RESOURCE_CREATE, e), oF = (e, s) => xt(F.DELETE_RESOURCE, e, { abortControllerRef: s }), iF = (e, s) => oo(F.NODE_CAPACITY, e, { abortControllerRef: s }), cF = (e, s) => Tc(`${F.NODE_CAPACITY}/cordon`, e, { abortControllerRef: s }), lF = (e, s) => Tc(`${F.NODE_CAPACITY}/drain`, e, { abortControllerRef: s }), dF = (e) => le(F.CLUSTER_LIST_RAW, { abortControllerRef: e });
5730
+ }), rF = (e) => Nt(F.K8S_RESOURCE_CREATE, e), oF = (e, s) => Nt(F.DELETE_RESOURCE, e, { abortControllerRef: s }), iF = (e, s) => oo(F.NODE_CAPACITY, e, { abortControllerRef: s }), cF = (e, s) => Tc(`${F.NODE_CAPACITY}/cordon`, e, { abortControllerRef: s }), lF = (e, s) => Tc(`${F.NODE_CAPACITY}/drain`, e, { abortControllerRef: s }), dF = (e) => le(F.CLUSTER_LIST_RAW, { abortControllerRef: e });
5731
5731
  var pS = /* @__PURE__ */ ((e) => (e.ALL_CLUSTERS = "all", e.HEALTHY = "healthy", e.UNHEALTHY = "unhealthy", e))(pS || {}), _S = /* @__PURE__ */ ((e) => (e.Creating = "Creating", e.Updated = "Updated", e.Updating = "Updating", e.Installed = "Installed", e.Failed = "Failed", e.Deleting = "Deleting", e.Deleted = "Deleted", e))(_S || {}), fS = /* @__PURE__ */ ((e) => (e.HEALTHY = "healthy", e.UNHEALTHY = "unhealthy", e.CONNECTION_FAILED = "connection failed", e))(fS || {});
5732
5732
  const hS = (e) => e.replace(Bt.ESCAPED_CHARACTERS, "\\$&"), uF = ({ searchText: e, text: s, highlightClasses: n }) => {
5733
5733
  if (!e)
@@ -5978,7 +5978,7 @@ const CS = (e, s = !1) => s ? btoa(e) : atob(e), ni = (e, s = !1) => Object.keys
5978
5978
  const l = s[e];
5979
5979
  if (!l)
5980
5980
  throw new Error(`Icon with name "${e}" does not exist.`);
5981
- return /* @__PURE__ */ t.jsx(Et, { condition: !!a?.content, wrap: LS(a), children: /* @__PURE__ */ t.jsx(
5981
+ return /* @__PURE__ */ t.jsx(xt, { condition: !!a?.content, wrap: LS(a), children: /* @__PURE__ */ t.jsx(
5982
5982
  l,
5983
5983
  {
5984
5984
  "data-testid": o,
@@ -6189,13 +6189,13 @@ const CS = (e, s = !1) => s ? btoa(e) : atob(e), ni = (e, s = !1) => Object.keys
6189
6189
  ] }),
6190
6190
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox flex-wrap dc__content-center dc__gap-4", children: [
6191
6191
  /* @__PURE__ */ t.jsx(
6192
- K,
6192
+ W,
6193
6193
  {
6194
6194
  dataTestId: "terms-of-service",
6195
6195
  text: "Terms of service",
6196
6196
  variant: J.text,
6197
6197
  style: ue.neutral,
6198
- component: gt.anchor,
6198
+ component: Et.anchor,
6199
6199
  anchorProps: {
6200
6200
  href: FC
6201
6201
  }
@@ -6203,13 +6203,13 @@ const CS = (e, s = !1) => s ? btoa(e) : atob(e), ni = (e, s = !1) => Object.keys
6203
6203
  ),
6204
6204
  /* @__PURE__ */ t.jsx("span", { children: "•" }),
6205
6205
  /* @__PURE__ */ t.jsx(
6206
- K,
6206
+ W,
6207
6207
  {
6208
6208
  dataTestId: "privacy-policy",
6209
6209
  text: "Privacy policy",
6210
6210
  variant: J.text,
6211
6211
  style: ue.neutral,
6212
- component: gt.anchor,
6212
+ component: Et.anchor,
6213
6213
  anchorProps: {
6214
6214
  href: $C
6215
6215
  }
@@ -6217,14 +6217,14 @@ const CS = (e, s = !1) => s ? btoa(e) : atob(e), ni = (e, s = !1) => Object.keys
6217
6217
  ),
6218
6218
  /* @__PURE__ */ t.jsx("span", { children: "•" }),
6219
6219
  /* @__PURE__ */ t.jsx(
6220
- K,
6220
+ W,
6221
6221
  {
6222
6222
  dataTestId: "license-agreement",
6223
6223
  text: "End-User License agreement",
6224
6224
  variant: J.text,
6225
6225
  style: ue.neutral,
6226
6226
  onClick: o,
6227
- component: gt.anchor,
6227
+ component: Et.anchor,
6228
6228
  anchorProps: {
6229
6229
  href: UC
6230
6230
  }
@@ -6257,7 +6257,7 @@ const CS = (e, s = !1) => s ? btoa(e) : atob(e), ni = (e, s = !1) => Object.keys
6257
6257
  }) => /* @__PURE__ */ t.jsx(ec, { onEscape: e, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col w-400 br-12 bg__primary border__primary dc__m-auto mt-40", children: [
6258
6258
  /* @__PURE__ */ t.jsx("div", { className: "p-24", children: /* @__PURE__ */ t.jsx(PS, { isFELibAvailable: s }) }),
6259
6259
  /* @__PURE__ */ t.jsx("div", { className: "flex px-24 py-20 dc__content-end", children: /* @__PURE__ */ t.jsx(
6260
- K,
6260
+ W,
6261
6261
  {
6262
6262
  dataTestId: "license-info-okay",
6263
6263
  text: "Okay",
@@ -6353,7 +6353,7 @@ const CS = (e, s = !1) => s ? btoa(e) : atob(e), ni = (e, s = !1) => Object.keys
6353
6353
  }
6354
6354
  ),
6355
6355
  g && /* @__PURE__ */ t.jsx("div", { className: `dc__no-shrink dc__position-abs custom-input__icon-button--${u}`, children: /* @__PURE__ */ t.jsx(
6356
- K,
6356
+ W,
6357
6357
  {
6358
6358
  style: ue.neutral,
6359
6359
  ...g,
@@ -6398,7 +6398,7 @@ const CS = (e, s = !1) => s ? btoa(e) : atob(e), ni = (e, s = !1) => Object.keys
6398
6398
  triggerElement: i,
6399
6399
  children: c
6400
6400
  }) => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
6401
- /* @__PURE__ */ t.jsx("div", { ...r, children: i || /* @__PURE__ */ t.jsx(K, { ...o }) }),
6401
+ /* @__PURE__ */ t.jsx("div", { ...r, children: i || /* @__PURE__ */ t.jsx(W, { ...o }) }),
6402
6402
  /* @__PURE__ */ t.jsx(Dr, { children: e && /* @__PURE__ */ t.jsx("div", { ...n, children: /* @__PURE__ */ t.jsxs("div", { className: "dc__position-abs", style: { left: a.left, top: a.top }, children: [
6403
6403
  /* @__PURE__ */ t.jsx("div", { className: "dc__visibility-hidden", style: { width: a.width, height: a.height } }),
6404
6404
  /* @__PURE__ */ t.jsx(ke.div, { ...s, "data-testid": s.id, children: c })
@@ -6777,7 +6777,7 @@ const CS = (e, s = !1) => s ? btoa(e) : atob(e), ni = (e, s = !1) => Object.keys
6777
6777
  );
6778
6778
  case "button":
6779
6779
  return /* @__PURE__ */ t.jsx(
6780
- K,
6780
+ W,
6781
6781
  {
6782
6782
  ...b,
6783
6783
  onClick: N(u),
@@ -7082,7 +7082,7 @@ const CS = (e, s = !1) => s ? btoa(e) : atob(e), ni = (e, s = !1) => Object.keys
7082
7082
  []
7083
7083
  ), /* @__PURE__ */ t.jsxs(ke.div, { whileHover: "hover", className: `${l ? "hide-button-text" : ""}`, children: [
7084
7084
  /* @__PURE__ */ t.jsx(
7085
- K,
7085
+ W,
7086
7086
  {
7087
7087
  dataTestId: "cd-trigger-deploy-button",
7088
7088
  isLoading: e,
@@ -7845,9 +7845,9 @@ const Ov = (e) => ({
7845
7845
  !d && !u && !g.metaKey && h.startsWith(ha) && (g.preventDefault(), f((E) => ({ ...E, open: !0, docLink: h, reinitialize: !0 }))), o?.(g);
7846
7846
  };
7847
7847
  return /* @__PURE__ */ t.jsx(
7848
- K,
7848
+ W,
7849
7849
  {
7850
- component: gt.anchor,
7850
+ component: Et.anchor,
7851
7851
  anchorProps: {
7852
7852
  href: h
7853
7853
  },
@@ -7913,7 +7913,7 @@ const Ov = (e) => ({
7913
7913
  }
7914
7914
  );
7915
7915
  };
7916
- return /* @__PURE__ */ t.jsx(Et, { condition: r, wrap: l, children: c() });
7916
+ return /* @__PURE__ */ t.jsx(xt, { condition: r, wrap: l, children: c() });
7917
7917
  }, DF = (e) => {
7918
7918
  const { selectOption: s, data: n } = e, a = { height: "16px", width: "16px", flex: "0 0 16px" }, r = (o) => s(n);
7919
7919
  return /* @__PURE__ */ t.jsxs("div", { className: "flex left pl-12", style: { background: e.isFocused ? "var(--N100)" : "transparent" }, children: [
@@ -8333,7 +8333,7 @@ const Gv = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
8333
8333
  JOB_VIEW_NOT_DEPLOYED_MESSAGE: "Yet to run",
8334
8334
  NOT_DEPLOYED_MESSAGE: "Not deployed"
8335
8335
  };
8336
- var bt = /* @__PURE__ */ ((e) => (e.QUEUED = "QUEUED", e.FAILED = "FAILED", e.ERROR = "ERROR", e.CANCELLED = "CANCELLED", e.ABORTED = "ABORTED", e.HEALTHY = "HEALTHY", e.SUCCEEDED = "SUCCEEDED", e.DRIFTED = "DRIFTED", e.MISSING = "MISSING", e.UNKNOWN = "UNKNOWN", e.NOT_DEPLOYED = "NOT-DEPLOYED", e.SUSPENDED = "SUSPENDED", e.DEGRADED = "DEGRADED", e.PROGRESSING = "PROGRESSING", e.INPROGRESS = "INPROGRESS", e.HIBERNATING = "HIBERNATING", e.TIMED_OUT = "TIMED_OUT", e.DELETING = "DELETING", e))(bt || {});
8336
+ var Tt = /* @__PURE__ */ ((e) => (e.QUEUED = "QUEUED", e.FAILED = "FAILED", e.ERROR = "ERROR", e.CANCELLED = "CANCELLED", e.ABORTED = "ABORTED", e.HEALTHY = "HEALTHY", e.SUCCEEDED = "SUCCEEDED", e.DRIFTED = "DRIFTED", e.MISSING = "MISSING", e.UNKNOWN = "UNKNOWN", e.NOT_DEPLOYED = "NOT-DEPLOYED", e.SUSPENDED = "SUSPENDED", e.DEGRADED = "DEGRADED", e.PROGRESSING = "PROGRESSING", e.INPROGRESS = "INPROGRESS", e.HIBERNATING = "HIBERNATING", e.TIMED_OUT = "TIMED_OUT", e.DELETING = "DELETING", e))(Tt || {});
8337
8337
  const iI = (e, s) => {
8338
8338
  switch (e) {
8339
8339
  case "queued":
@@ -8420,14 +8420,14 @@ const iI = (e, s) => {
8420
8420
  }
8421
8421
  }, lI = (e) => {
8422
8422
  switch (e?.toUpperCase()) {
8423
- case z.ABORTED:
8424
- return bt.ABORTED;
8425
- case z.DEGRADED:
8426
- return bt.FAILED;
8427
- case z.HEALTHY:
8428
- return bt.SUCCEEDED;
8429
- case z.INPROGRESS:
8430
- return bt.INPROGRESS;
8423
+ case Y.ABORTED:
8424
+ return Tt.ABORTED;
8425
+ case Y.DEGRADED:
8426
+ return Tt.FAILED;
8427
+ case Y.HEALTHY:
8428
+ return Tt.SUCCEEDED;
8429
+ case Y.INPROGRESS:
8430
+ return Tt.INPROGRESS;
8431
8431
  default:
8432
8432
  return e;
8433
8433
  }
@@ -8463,7 +8463,7 @@ const iI = (e, s) => {
8463
8463
  children: l
8464
8464
  }
8465
8465
  ) }) : null;
8466
- return /* @__PURE__ */ t.jsxs(Et, { condition: !s && !n, wrap: uI, children: [
8466
+ return /* @__PURE__ */ t.jsxs(xt, { condition: !s && !n, wrap: uI, children: [
8467
8467
  !s && d(),
8468
8468
  !n && u()
8469
8469
  ] });
@@ -8589,12 +8589,12 @@ const iI = (e, s) => {
8589
8589
  };
8590
8590
  }, Vm = (e) => {
8591
8591
  const s = {
8592
- [je.TIMEOUT]: bt.TIMED_OUT,
8593
- [je.ABORTED]: bt.ABORTED,
8594
- [je.FAILED]: bt.FAILED,
8595
- [je.SUCCEEDED]: bt.SUCCEEDED,
8596
- [je.NOT_STARTED]: bt.INPROGRESS,
8597
- [je.RUNNING]: bt.INPROGRESS
8592
+ [je.TIMEOUT]: Tt.TIMED_OUT,
8593
+ [je.ABORTED]: Tt.ABORTED,
8594
+ [je.FAILED]: Tt.FAILED,
8595
+ [je.SUCCEEDED]: Tt.SUCCEEDED,
8596
+ [je.NOT_STARTED]: Tt.INPROGRESS,
8597
+ [je.RUNNING]: Tt.INPROGRESS
8598
8598
  };
8599
8599
  return s[e] ? /* @__PURE__ */ t.jsx(On, { status: s[e], iconSize: 20, hideMessage: !0, hideIconTooltip: !0 }) : /* @__PURE__ */ t.jsx(H, { name: "ic-help-outline", size: 20, color: "N500" });
8600
8600
  }, gI = (e) => {
@@ -8658,9 +8658,9 @@ const iI = (e, s) => {
8658
8658
  case ye.STARTING:
8659
8659
  case ye.INITIATING:
8660
8660
  case ye.WAITING_TO_START:
8661
- return bt.INPROGRESS;
8661
+ return Tt.INPROGRESS;
8662
8662
  case ye.CANCELLED:
8663
- return bt.ABORTED;
8663
+ return Tt.ABORTED;
8664
8664
  default:
8665
8665
  return e;
8666
8666
  }
@@ -8704,7 +8704,7 @@ const iI = (e, s) => {
8704
8704
  return "bcn-1 cn-9";
8705
8705
  }
8706
8706
  }, TI = (e, s) => [
8707
- ...e.stage === "DEPLOY" && s !== Tt.HELM ? [
8707
+ ...e.stage === "DEPLOY" && s !== gt.HELM ? [
8708
8708
  {
8709
8709
  id: "deployment-history-steps-link",
8710
8710
  label: "Steps",
@@ -9019,7 +9019,7 @@ const AI = (e, s) => {
9019
9019
  e.length && e.length < 4 || (as = { ...as, searchString: e }, Ml());
9020
9020
  }
9021
9021
  };
9022
- var Nt = /* @__PURE__ */ ((e) => (e.PROGRESSING = "Progressing", e.ABORTED = "Aborted", e.FAILED = "Failed", e.SUCCEEDED = "Succeeded", e.TIMED_OUT = "TimedOut", e.UNABLE_TO_FETCH = "UnableToFetch", e.STARTING = "Starting", e.QUEUED = "Queued", e.INITIATING = "Initiating", e.HEALTHY = "Healthy", e.DEGRADED = "Degraded", e.MISSING = "Missing", e.UNKNOWN = "Unknown", e.SUSPENDED = "Suspended", e))(Nt || {});
9022
+ var Ct = /* @__PURE__ */ ((e) => (e.PROGRESSING = "Progressing", e.ABORTED = "Aborted", e.FAILED = "Failed", e.SUCCEEDED = "Succeeded", e.TIMED_OUT = "TimedOut", e.UNABLE_TO_FETCH = "UnableToFetch", e.STARTING = "Starting", e.QUEUED = "Queued", e.INITIATING = "Initiating", e.HEALTHY = "Healthy", e.DEGRADED = "Degraded", e.MISSING = "Missing", e.UNKNOWN = "Unknown", e.SUSPENDED = "Suspended", e))(Ct || {});
9023
9023
  const yI = {
9024
9024
  [ne.SUCCEEDED]: "Succeeded",
9025
9025
  [ne.HEALTHY]: "Healthy",
@@ -9035,21 +9035,21 @@ const yI = {
9035
9035
  [ne.UNKNOWN]: "Unknown",
9036
9036
  [ne.CHECKING]: "Checking Status"
9037
9037
  }, Ym = {
9038
- [Nt.ABORTED]: ne.FAILED,
9039
- [Nt.FAILED]: ne.FAILED,
9040
- [Nt.TIMED_OUT]: ne.TIMED_OUT,
9041
- [Nt.UNABLE_TO_FETCH]: ne.UNABLE_TO_FETCH,
9038
+ [Ct.ABORTED]: ne.FAILED,
9039
+ [Ct.FAILED]: ne.FAILED,
9040
+ [Ct.TIMED_OUT]: ne.TIMED_OUT,
9041
+ [Ct.UNABLE_TO_FETCH]: ne.UNABLE_TO_FETCH,
9042
9042
  // Degraded means successful deployment
9043
- [Nt.DEGRADED]: ne.SUCCEEDED,
9044
- [Nt.HEALTHY]: ne.SUCCEEDED,
9045
- [Nt.SUCCEEDED]: ne.SUCCEEDED,
9046
- [Nt.INITIATING]: ne.INITIATING,
9047
- [Nt.STARTING]: ne.STARTING,
9048
- [Nt.PROGRESSING]: ne.INPROGRESS,
9049
- [Nt.SUSPENDED]: ne.INPROGRESS,
9050
- [Nt.QUEUED]: ne.QUEUED,
9051
- [Nt.UNKNOWN]: ne.UNABLE_TO_FETCH,
9052
- [Nt.MISSING]: ne.UNABLE_TO_FETCH
9043
+ [Ct.DEGRADED]: ne.SUCCEEDED,
9044
+ [Ct.HEALTHY]: ne.SUCCEEDED,
9045
+ [Ct.SUCCEEDED]: ne.SUCCEEDED,
9046
+ [Ct.INITIATING]: ne.INITIATING,
9047
+ [Ct.STARTING]: ne.STARTING,
9048
+ [Ct.PROGRESSING]: ne.INPROGRESS,
9049
+ [Ct.SUSPENDED]: ne.INPROGRESS,
9050
+ [Ct.QUEUED]: ne.QUEUED,
9051
+ [Ct.UNKNOWN]: ne.UNABLE_TO_FETCH,
9052
+ [Ct.MISSING]: ne.UNABLE_TO_FETCH
9053
9053
  }, Qr = [
9054
9054
  ne.INPROGRESS,
9055
9055
  ne.PROGRESSING,
@@ -9064,15 +9064,15 @@ const yI = {
9064
9064
  ne.TIMED_OUT,
9065
9065
  ne.UNABLE_TO_FETCH
9066
9066
  ], jI = [
9067
- z.DEPLOYMENT_INITIATED,
9068
- z.GIT_COMMIT,
9069
- z.ARGOCD_SYNC,
9070
- z.KUBECTL_APPLY,
9071
- z.APP_HEALTH
9067
+ Y.DEPLOYMENT_INITIATED,
9068
+ Y.GIT_COMMIT,
9069
+ Y.ARGOCD_SYNC,
9070
+ Y.KUBECTL_APPLY,
9071
+ Y.APP_HEALTH
9072
9072
  ], OI = [
9073
- z.DEPLOYMENT_INITIATED,
9074
- z.GIT_COMMIT,
9075
- z.APP_HEALTH
9073
+ Y.DEPLOYMENT_INITIATED,
9074
+ Y.GIT_COMMIT,
9075
+ Y.APP_HEALTH
9076
9076
  ], LI = [
9077
9077
  un.PRE_SYNC,
9078
9078
  un.SYNC,
@@ -9086,7 +9086,7 @@ const yI = {
9086
9086
  timelineStatus: "",
9087
9087
  time: "",
9088
9088
  isCollapsed: !0
9089
- }, a = Ym[s?.wfrStatus] || ne.INPROGRESS, r = a === ne.FAILED && s?.timelines?.find((o) => o.status === z.DEPLOYMENT_FAILED)?.statusDetail || "";
9089
+ }, a = Ym[s?.wfrStatus] || ne.INPROGRESS, r = a === ne.FAILED && s?.timelines?.find((o) => o.status === Y.DEPLOYMENT_FAILED)?.statusDetail || "";
9090
9090
  return {
9091
9091
  deploymentStatus: a,
9092
9092
  deploymentAppType: e,
@@ -9094,49 +9094,49 @@ const yI = {
9094
9094
  deploymentEndTime: s?.deploymentFinishedOn || "",
9095
9095
  triggeredBy: s?.triggeredBy || "",
9096
9096
  deploymentStatusBreakdown: {
9097
- [z.DEPLOYMENT_INITIATED]: {
9097
+ [Y.DEPLOYMENT_INITIATED]: {
9098
9098
  ...n,
9099
9099
  icon: "success",
9100
9100
  displayText: `Deployment initiated ${s?.triggeredBy ? `by ${s.triggeredBy}` : ""}`
9101
9101
  },
9102
- [z.GIT_COMMIT]: {
9102
+ [Y.GIT_COMMIT]: {
9103
9103
  ...n,
9104
9104
  displayText: "Push manifest to Git"
9105
9105
  },
9106
- ...e === Tt.GITOPS ? {
9107
- [z.ARGOCD_SYNC]: {
9106
+ ...e === gt.GITOPS ? {
9107
+ [Y.ARGOCD_SYNC]: {
9108
9108
  ...n,
9109
9109
  displayText: "Synced with Argo CD"
9110
9110
  },
9111
- [z.KUBECTL_APPLY]: {
9111
+ [Y.KUBECTL_APPLY]: {
9112
9112
  ...n,
9113
9113
  displayText: "Apply manifest to Kubernetes",
9114
9114
  resourceDetails: [],
9115
9115
  subSteps: []
9116
9116
  }
9117
9117
  } : {},
9118
- [z.APP_HEALTH]: {
9118
+ [Y.APP_HEALTH]: {
9119
9119
  ...n,
9120
- displayText: e === Tt.FLUX ? "Synced with Flux CD" : "Propagate manifest to Kubernetes resources"
9120
+ displayText: e === gt.FLUX ? "Synced with Flux CD" : "Propagate manifest to Kubernetes resources"
9121
9121
  }
9122
9122
  },
9123
9123
  errorBarConfig: r ? {
9124
9124
  deploymentErrorMessage: r,
9125
- nextTimelineToProcess: z.GIT_COMMIT
9125
+ nextTimelineToProcess: Y.GIT_COMMIT
9126
9126
  } : null
9127
9127
  };
9128
9128
  }, DI = (e) => (s) => {
9129
9129
  switch (e) {
9130
- case z.DEPLOYMENT_INITIATED:
9130
+ case Y.DEPLOYMENT_INITIATED:
9131
9131
  return e === s.status;
9132
- case z.GIT_COMMIT:
9133
- return s.status.includes(z.GIT_COMMIT);
9134
- case z.ARGOCD_SYNC:
9135
- return s.status.includes(z.ARGOCD_SYNC);
9136
- case z.KUBECTL_APPLY:
9137
- return s.status.includes(z.KUBECTL_APPLY);
9138
- case z.APP_HEALTH:
9139
- return [z.HEALTHY, z.DEGRADED].includes(s.status);
9132
+ case Y.GIT_COMMIT:
9133
+ return s.status.includes(Y.GIT_COMMIT);
9134
+ case Y.ARGOCD_SYNC:
9135
+ return s.status.includes(Y.ARGOCD_SYNC);
9136
+ case Y.KUBECTL_APPLY:
9137
+ return s.status.includes(Y.KUBECTL_APPLY);
9138
+ case Y.APP_HEALTH:
9139
+ return [Y.HEALTHY, Y.DEGRADED].includes(s.status);
9140
9140
  default:
9141
9141
  return !1;
9142
9142
  }
@@ -9149,7 +9149,7 @@ const yI = {
9149
9149
  }) => {
9150
9150
  e.icon = n === ne.UNABLE_TO_FETCH ? "disconnect" : "timed_out", e.displaySubText = "Unknown", e.isCollapsed = !1;
9151
9151
  const i = `Below resources did not become healthy within 10 mins. Resource status shown below was last fetched ${a ? la(a, !0) : "--"}. ${r || "--"} retries failed.`;
9152
- e.timelineStatus = [z.KUBECTL_APPLY, z.APP_HEALTH].includes(
9152
+ e.timelineStatus = [Y.KUBECTL_APPLY, Y.APP_HEALTH].includes(
9153
9153
  s
9154
9154
  ) ? i : "";
9155
9155
  }, PI = (e, s, n, a) => {
@@ -9157,7 +9157,7 @@ const yI = {
9157
9157
  currentPhase: null,
9158
9158
  currentTableData: [{ icon: "success", message: "Started by Argo CD" }]
9159
9159
  }, o = a.timelines.find(
9160
- (i) => i.status === z.KUBECTL_APPLY_STARTED
9160
+ (i) => i.status === Y.KUBECTL_APPLY_STARTED
9161
9161
  )?.resourceDetails;
9162
9162
  if (o && LI.forEach((i) => {
9163
9163
  o.find((l) => l.resourcePhase === i) && (r.currentPhase = i, r.currentTableData.push({
@@ -9165,7 +9165,7 @@ const yI = {
9165
9165
  phase: i,
9166
9166
  message: `${i}: Create and update resources based on manifest`
9167
9167
  }));
9168
- }), s.status === z.KUBECTL_APPLY_STARTED) {
9168
+ }), s.status === Y.KUBECTL_APPLY_STARTED) {
9169
9169
  if (e.resourceDetails = (s.resourceDetails || []).filter(
9170
9170
  (i) => i.resourcePhase === r.currentPhase
9171
9171
  ), Qr.includes(n)) {
@@ -9182,7 +9182,7 @@ const yI = {
9182
9182
  if (n === ne.TIMED_OUT || n === ne.UNABLE_TO_FETCH) {
9183
9183
  zm({
9184
9184
  timelineData: e,
9185
- timelineStatusType: z.KUBECTL_APPLY,
9185
+ timelineStatusType: Y.KUBECTL_APPLY,
9186
9186
  deploymentStatus: n,
9187
9187
  statusLastFetchedAt: a?.statusLastFetchedAt,
9188
9188
  statusFetchCount: a?.statusFetchCount
@@ -9194,7 +9194,7 @@ const yI = {
9194
9194
  }
9195
9195
  return;
9196
9196
  }
9197
- s.status === z.KUBECTL_APPLY_SYNCED && (e.resourceDetails = [], e.displaySubText = "", e.time = s.statusTime, e.icon = "success", e.subSteps = r.currentTableData);
9197
+ s.status === Y.KUBECTL_APPLY_SYNCED && (e.resourceDetails = [], e.displaySubText = "", e.time = s.statusTime, e.icon = "success", e.subSteps = r.currentTableData);
9198
9198
  }, ii = (e, s) => {
9199
9199
  s && !Ym[s.wfrStatus] && qn(new Error(`New WFR status found: ${s?.wfrStatus}`));
9200
9200
  const n = wI(e, s), { deploymentStatus: a } = n;
@@ -9205,16 +9205,16 @@ const yI = {
9205
9205
  if (!s.timelines.length)
9206
9206
  return n;
9207
9207
  const r = Qr.includes(a), o = a === ne.FAILED, i = s.timelines.some(
9208
- (l) => l.status.includes(z.ARGOCD_SYNC)
9209
- ), c = e === Tt.FLUX ? OI : jI;
9208
+ (l) => l.status.includes(Y.ARGOCD_SYNC)
9209
+ ), c = e === gt.FLUX ? OI : jI;
9210
9210
  c.forEach((l, d) => {
9211
9211
  const u = fL(s.timelines, DI(l)), m = n.deploymentStatusBreakdown[l];
9212
9212
  if (!u) {
9213
- if (r && m.icon !== "inprogress" && (m.icon = "", m.displaySubText = "Waiting"), r && l === z.KUBECTL_APPLY && (m.subSteps = [
9213
+ if (r && m.icon !== "inprogress" && (m.icon = "", m.displaySubText = "Waiting"), r && l === Y.KUBECTL_APPLY && (m.subSteps = [
9214
9214
  { icon: "", message: "Waiting to be started by Argo CD" },
9215
9215
  { icon: "", message: "Create and update resources based on manifest" }
9216
9216
  ], m.isCollapsed = !1), o) {
9217
- const p = l === z.APP_HEALTH && n.deploymentStatusBreakdown.KUBECTL_APPLY.icon === "success";
9217
+ const p = l === Y.APP_HEALTH && n.deploymentStatusBreakdown[e === gt.FLUX ? Y.GIT_COMMIT : Y.KUBECTL_APPLY].icon === "success";
9218
9218
  m.displaySubText = p ? "Failed" : "", m.icon = p ? "failed" : "unreachable";
9219
9219
  }
9220
9220
  (a === ne.UNABLE_TO_FETCH || a === ne.TIMED_OUT) && m.icon === "inprogress" && zm({
@@ -9227,17 +9227,17 @@ const yI = {
9227
9227
  return;
9228
9228
  }
9229
9229
  switch (l) {
9230
- case z.DEPLOYMENT_INITIATED:
9231
- case z.GIT_COMMIT:
9232
- case z.ARGOCD_SYNC:
9233
- m.time = u.statusTime, m.icon = "success", m.displaySubText = "", [z.GIT_COMMIT_FAILED, z.ARGOCD_SYNC_FAILED].includes(u.status) && (m.displaySubText = "Failed", m.icon = "failed", m.isCollapsed = !1, m.timelineStatus = u.statusDetail);
9230
+ case Y.DEPLOYMENT_INITIATED:
9231
+ case Y.GIT_COMMIT:
9232
+ case Y.ARGOCD_SYNC:
9233
+ m.time = u.statusTime, m.icon = "success", m.displaySubText = "", [Y.GIT_COMMIT_FAILED, Y.ARGOCD_SYNC_FAILED].includes(u.status) && (m.displaySubText = "Failed", m.icon = "failed", m.isCollapsed = !1, m.timelineStatus = u.statusDetail);
9234
9234
  break;
9235
- case z.KUBECTL_APPLY: {
9235
+ case Y.KUBECTL_APPLY: {
9236
9236
  i || (n.deploymentStatusBreakdown.ARGOCD_SYNC.icon = "success", n.deploymentStatusBreakdown.ARGOCD_SYNC.displaySubText = "", n.deploymentStatusBreakdown.ARGOCD_SYNC.time = u.statusTime, n.deploymentStatusBreakdown.ARGOCD_SYNC.isCollapsed = !0), PI(m, u, a, s);
9237
9237
  break;
9238
9238
  }
9239
- case z.APP_HEALTH:
9240
- m.time = u.statusTime, m.icon = "success", m.displaySubText = u.status === z.HEALTHY ? "" : "Degraded";
9239
+ case Y.APP_HEALTH:
9240
+ m.time = u.statusTime, m.icon = "success", m.displaySubText = u.status === Y.HEALTHY ? "" : "Degraded";
9241
9241
  break;
9242
9242
  }
9243
9243
  if (m.icon === "success" && d !== c.length - 1) {
@@ -9307,13 +9307,13 @@ const yI = {
9307
9307
  p(),
9308
9308
  x()
9309
9309
  ] }),
9310
- r && /* @__PURE__ */ t.jsx(K, { ...r, size: kl[n] })
9310
+ r && /* @__PURE__ */ t.jsx(W, { ...r, size: kl[n] })
9311
9311
  ] }) : e === "column" ? /* @__PURE__ */ t.jsxs("div", { className: `${d} flexbox-col dc__gap-8`, children: [
9312
9312
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8", children: [
9313
9313
  x(),
9314
9314
  p()
9315
9315
  ] }),
9316
- r && /* @__PURE__ */ t.jsx(K, { ...r, size: kl[n] })
9316
+ r && /* @__PURE__ */ t.jsx(W, { ...r, size: kl[n] })
9317
9317
  ] }) : null;
9318
9318
  }, eo = ({ text: e, textClass: s, containerClass: n = "min-w-385 pr-20", hideShowMore: a }) => {
9319
9319
  const r = U(null), [o, i] = O(!1), [c, l] = O(!1);
@@ -9512,7 +9512,7 @@ const FF = (e, s, n) => le(`app/history/deployed-configuration/${e}/${s}/${n}`),
9512
9512
  }
9513
9513
  }, p = () => {
9514
9514
  u((g) => !g);
9515
- }, f = () => e !== z.KUBECTL_APPLY ? null : /* @__PURE__ */ t.jsxs("div", { className: "px-8 py-12", children: [
9515
+ }, f = () => e !== Y.KUBECTL_APPLY ? null : /* @__PURE__ */ t.jsxs("div", { className: "px-8 py-12", children: [
9516
9516
  l.subSteps?.map((g, E) => (
9517
9517
  // eslint-disable-next-line react/no-array-index-key
9518
9518
  /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsxs("div", { className: "flex left lh-20 mb-8", children: [
@@ -9545,7 +9545,7 @@ const FF = (e, s, n) => le(`app/history/deployed-configuration/${e}/${s}/${n}`),
9545
9545
  `${g.resourceKind}/${g.resourceName}`
9546
9546
  )) })
9547
9547
  ] }) : null
9548
- ] }), h = !!l.subSteps?.length || e === z.APP_HEALTH && aI.includes(l.icon) || (e === z.GIT_COMMIT || e === z.ARGOCD_SYNC) && l.icon === "failed", x = () => d ? null : /* @__PURE__ */ t.jsxs("div", { className: "bg__primary en-2 detail-tab_border bw-1", children: [
9548
+ ] }), h = !!l.subSteps?.length || e === Y.APP_HEALTH && aI.includes(l.icon) || (e === Y.GIT_COMMIT || e === Y.ARGOCD_SYNC) && l.icon === "failed", x = () => d ? null : /* @__PURE__ */ t.jsxs("div", { className: "bg__primary en-2 detail-tab_border bw-1", children: [
9549
9549
  l.timelineStatus && /* @__PURE__ */ t.jsxs(
9550
9550
  "div",
9551
9551
  {
@@ -9553,7 +9553,7 @@ const FF = (e, s, n) => le(`app/history/deployed-configuration/${e}/${s}/${n}`),
9553
9553
  children: [
9554
9554
  l.timelineStatus,
9555
9555
  (n.deploymentStatus === ne.TIMED_OUT || n.deploymentStatus === ne.UNABLE_TO_FETCH) && /* @__PURE__ */ t.jsx(
9556
- K,
9556
+ W,
9557
9557
  {
9558
9558
  dataTestId: "manual-sync-resource-status",
9559
9559
  text: "Try now",
@@ -9566,7 +9566,7 @@ const FF = (e, s, n) => le(`app/history/deployed-configuration/${e}/${s}/${n}`),
9566
9566
  ]
9567
9567
  }
9568
9568
  ),
9569
- e === z.APP_HEALTH ? /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(mp, { appDetails: a, filterHealthyNodes: !0, isCardLayout: !1 }) }) : f()
9569
+ e === Y.APP_HEALTH ? /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(mp, { appDetails: a, filterHealthyNodes: !0, isCardLayout: !1 }) }) : f()
9570
9570
  ] });
9571
9571
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
9572
9572
  /* @__PURE__ */ t.jsx("div", { className: "bw-1 en-2", children: /* @__PURE__ */ t.jsxs(
@@ -9600,7 +9600,7 @@ const FF = (e, s, n) => le(`app/history/deployed-configuration/${e}/${s}/${n}`),
9600
9600
  )
9601
9601
  ] }),
9602
9602
  h && /* @__PURE__ */ t.jsx(
9603
- K,
9603
+ W,
9604
9604
  {
9605
9605
  dataTestId: "steps-deployment-history-dropdown",
9606
9606
  onClick: p,
@@ -9634,7 +9634,7 @@ const FF = (e, s, n) => le(`app/history/deployed-configuration/${e}/${s}/${n}`),
9634
9634
  rootClassName: a = "",
9635
9635
  deploymentAppType: r
9636
9636
  }) => {
9637
- const o = e.deploymentStatusBreakdown[z.HELM_MANIFEST_PUSHED_TO_HELM_REPO]?.showHelmManifest, i = {
9637
+ const o = e.deploymentStatusBreakdown[Y.HELM_MANIFEST_PUSHED_TO_HELM_REPO]?.showHelmManifest, i = {
9638
9638
  appDetails: n,
9639
9639
  deploymentDetailedData: e
9640
9640
  };
@@ -9647,15 +9647,15 @@ const FF = (e, s, n) => le(`app/history/deployed-configuration/${e}/${s}/${n}`),
9647
9647
  /* @__PURE__ */ t.jsx(
9648
9648
  Mn,
9649
9649
  {
9650
- type: z.DEPLOYMENT_INITIATED,
9650
+ type: Y.DEPLOYMENT_INITIATED,
9651
9651
  ...i
9652
9652
  }
9653
9653
  ),
9654
- s && e.deploymentStatusBreakdown[z.HELM_PACKAGE_GENERATED] ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
9654
+ s && e.deploymentStatusBreakdown[Y.HELM_PACKAGE_GENERATED] ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
9655
9655
  /* @__PURE__ */ t.jsx(
9656
9656
  Mn,
9657
9657
  {
9658
- type: z.HELM_PACKAGE_GENERATED,
9658
+ type: Y.HELM_PACKAGE_GENERATED,
9659
9659
  hideVerticalConnector: !o,
9660
9660
  ...i
9661
9661
  }
@@ -9663,15 +9663,15 @@ const FF = (e, s, n) => le(`app/history/deployed-configuration/${e}/${s}/${n}`),
9663
9663
  o && /* @__PURE__ */ t.jsx(
9664
9664
  Mn,
9665
9665
  {
9666
- type: z.HELM_MANIFEST_PUSHED_TO_HELM_REPO,
9666
+ type: Y.HELM_MANIFEST_PUSHED_TO_HELM_REPO,
9667
9667
  hideVerticalConnector: !0,
9668
9668
  ...i
9669
9669
  }
9670
9670
  )
9671
9671
  ] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
9672
9672
  [
9673
- z.GIT_COMMIT,
9674
- ...n.deploymentAppType === Tt.FLUX || r === Tt.FLUX ? [] : [z.ARGOCD_SYNC, z.KUBECTL_APPLY]
9673
+ Y.GIT_COMMIT,
9674
+ ...n.deploymentAppType === gt.GITOPS || r === gt.GITOPS ? [Y.ARGOCD_SYNC, Y.KUBECTL_APPLY] : []
9675
9675
  ].map((c) => /* @__PURE__ */ t.jsxs(Ms, { children: [
9676
9676
  e.errorBarConfig?.nextTimelineToProcess === c && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
9677
9677
  /* @__PURE__ */ t.jsx(
@@ -9688,7 +9688,7 @@ const FF = (e, s, n) => le(`app/history/deployed-configuration/${e}/${s}/${n}`),
9688
9688
  /* @__PURE__ */ t.jsx(
9689
9689
  Mn,
9690
9690
  {
9691
- type: z.APP_HEALTH,
9691
+ type: Y.APP_HEALTH,
9692
9692
  hideVerticalConnector: !0,
9693
9693
  ...i
9694
9694
  }
@@ -9712,7 +9712,7 @@ const XI = ({
9712
9712
  isDeploymentWithoutApproval: d
9713
9713
  }) => {
9714
9714
  const u = Lr(), { url: m } = Ns(), { appId: p, envId: f, triggerId: h } = wt(), [x, g] = O(
9715
- e?.toUpperCase() !== z.ABORTED
9715
+ e?.toUpperCase() !== Y.ABORTED
9716
9716
  ), E = RI.getAppDetails(), _ = U(i), N = U(d), C = _.current && c ? c() : ii(E?.deploymentAppType), [S, I] = O(C), A = () => {
9717
9717
  Ba && clearTimeout(Ba);
9718
9718
  }, R = () => {
@@ -9727,7 +9727,7 @@ const XI = ({
9727
9727
  g(!1);
9728
9728
  });
9729
9729
  };
9730
- P(() => (s === Tt.HELM && u.replace(`${m.replace("deployment-steps", "source-code")}`), r && R(), () => {
9730
+ P(() => (s === gt.HELM && u.replace(`${m.replace("deployment-steps", "source-code")}`), r && R(), () => {
9731
9731
  A();
9732
9732
  }), [a]), P(() => {
9733
9733
  _.current = i;
@@ -9780,7 +9780,7 @@ const XI = ({
9780
9780
  }
9781
9781
  )
9782
9782
  ] });
9783
- return e?.toUpperCase() === z.ABORTED || S.deploymentStatus === ne.SUPERSEDED ? /* @__PURE__ */ t.jsx(
9783
+ return e?.toUpperCase() === Y.ABORTED || S.deploymentStatus === ne.SUPERSEDED ? /* @__PURE__ */ t.jsx(
9784
9784
  "div",
9785
9785
  {
9786
9786
  className: "flexbox flex-grow-1 dc__content-center",
@@ -10494,7 +10494,7 @@ const Ln = ({
10494
10494
  caseSensitive: D = r.caseSensitive,
10495
10495
  regexp: B = r.regexp,
10496
10496
  replace: q = r.replace,
10497
- search: W = r.search,
10497
+ search: z = r.search,
10498
10498
  wholeWord: oe = r.wholeWord
10499
10499
  }) => {
10500
10500
  a();
@@ -10502,7 +10502,7 @@ const Ln = ({
10502
10502
  caseSensitive: D,
10503
10503
  regexp: B,
10504
10504
  replace: q,
10505
- search: W,
10505
+ search: z,
10506
10506
  wholeWord: oe
10507
10507
  });
10508
10508
  te.eq(r) || (o(te), e.dispatch({ effects: Qd.of(te) }), c(kn(te, e)));
@@ -10545,7 +10545,7 @@ const Ln = ({
10545
10545
  }, v = (D) => {
10546
10546
  D.preventDefault(), D.stopPropagation(), z_(e);
10547
10547
  }, y = () => /* @__PURE__ */ t.jsx("div", { className: "code-editor__search__replace-expand-button flexbox dc__align-self-stretch", children: /* @__PURE__ */ t.jsx(
10548
- K,
10548
+ W,
10549
10549
  {
10550
10550
  dataTestId: "find-replace-expand-button",
10551
10551
  ariaLabel: "find-replace-expand-button",
@@ -10613,7 +10613,7 @@ const Ln = ({
10613
10613
  )
10614
10614
  ] }), j = () => /* @__PURE__ */ t.jsxs("div", { className: "flex dc__gap-4", children: [
10615
10615
  /* @__PURE__ */ t.jsx(
10616
- K,
10616
+ W,
10617
10617
  {
10618
10618
  dataTestId: "find-previous-button",
10619
10619
  ariaLabel: "find-previous-button",
@@ -10635,7 +10635,7 @@ const Ln = ({
10635
10635
  }
10636
10636
  ),
10637
10637
  /* @__PURE__ */ t.jsx(
10638
- K,
10638
+ W,
10639
10639
  {
10640
10640
  dataTestId: "find-next-button",
10641
10641
  ariaLabel: "find-next-button",
@@ -10657,7 +10657,7 @@ const Ln = ({
10657
10657
  }
10658
10658
  ),
10659
10659
  /* @__PURE__ */ t.jsx(
10660
- K,
10660
+ W,
10661
10661
  {
10662
10662
  dataTestId: "find-replace-select-all-button",
10663
10663
  ariaLabel: "find-replace-select-all-button",
@@ -10675,7 +10675,7 @@ const Ln = ({
10675
10675
  }
10676
10676
  )
10677
10677
  ] }), w = () => /* @__PURE__ */ t.jsx(
10678
- K,
10678
+ W,
10679
10679
  {
10680
10680
  dataTestId: "find-replace-close-button",
10681
10681
  ariaLabel: "find-replace-close-button",
@@ -10709,7 +10709,7 @@ const Ln = ({
10709
10709
  ) }),
10710
10710
  /* @__PURE__ */ t.jsxs("div", { className: "flex dc__gap-4", children: [
10711
10711
  /* @__PURE__ */ t.jsx(
10712
- K,
10712
+ W,
10713
10713
  {
10714
10714
  dataTestId: "replace-text-button",
10715
10715
  ariaLabel: "replace-text-button",
@@ -10730,7 +10730,7 @@ const Ln = ({
10730
10730
  }
10731
10731
  ),
10732
10732
  /* @__PURE__ */ t.jsx(
10733
- K,
10733
+ W,
10734
10734
  {
10735
10735
  dataTestId: "replace-all-text-button",
10736
10736
  ariaLabel: "replace-all-text-button",
@@ -10928,7 +10928,7 @@ const Ln = ({
10928
10928
  collapseUnchanged: N = !1,
10929
10929
  disableMinimap: C = !1
10930
10930
  }) => {
10931
- const { value: S, lhsValue: I, diffMode: A } = to(), [R, b] = O(0), [v, y] = O(null), [T, j] = O(null), [w, M] = O(1), D = U(), B = U(), q = U(), W = U(), oe = U(), te = Rn(s), Ee = () => {
10931
+ const { value: S, lhsValue: I, diffMode: A } = to(), [R, b] = O(0), [v, y] = O(null), [T, j] = O(null), [w, M] = O(1), D = U(), B = U(), q = U(), z = U(), oe = U(), te = Rn(s), Ee = () => {
10932
10932
  const se = document.querySelector(".cm-gutters");
10933
10933
  se && b(se.getBoundingClientRect().width);
10934
10934
  };
@@ -10940,8 +10940,8 @@ const Ln = ({
10940
10940
  }, 100);
10941
10941
  }, [E]), P(() => {
10942
10942
  let se = !1;
10943
- const Y = document.querySelector("body");
10944
- if (Y) {
10943
+ const K = document.querySelector("body");
10944
+ if (K) {
10945
10945
  if (v) {
10946
10946
  const xe = v.a, Ae = v.b;
10947
10947
  se = (xe.hasFocus || Ae.hasFocus) && (xe.scrollDOM.scrollWidth > xe.scrollDOM.clientWidth || Ae.scrollDOM.scrollWidth > Ae.scrollDOM.clientWidth);
@@ -10949,7 +10949,7 @@ const Ln = ({
10949
10949
  const { scrollWidth: xe, clientWidth: Ae } = D.current.view.scrollDOM;
10950
10950
  se = D.current.view.hasFocus && xe > Ae;
10951
10951
  }
10952
- se ? Y.classList.add("dc__overscroll-none") : Y.classList.remove("dc__overscroll-none");
10952
+ se ? K.classList.add("dc__overscroll-none") : K.classList.remove("dc__overscroll-none");
10953
10953
  }
10954
10954
  }, [
10955
10955
  v?.a?.hasFocus,
@@ -10972,16 +10972,16 @@ const Ln = ({
10972
10972
  Ee();
10973
10973
  }, fe = Jn.updateListener.of((se) => {
10974
10974
  if (se.docChanged) {
10975
- const { doc: Y } = se.state, xe = Y.toString();
10975
+ const { doc: K } = se.state, xe = K.toString();
10976
10976
  c(xe, se);
10977
10977
  }
10978
- C || Fl(W.current, se.transactions, "a");
10978
+ C || Fl(z.current, se.transactions, "a");
10979
10979
  }), he = Jn.updateListener.of((se) => {
10980
10980
  if (se.docChanged) {
10981
- const { doc: Y } = se.state, xe = Y.toString();
10981
+ const { doc: K } = se.state, xe = K.toString();
10982
10982
  d(xe, se);
10983
10983
  }
10984
- C || Fl(W.current, se.transactions, "b");
10984
+ C || Fl(z.current, se.transactions, "b");
10985
10985
  }), Ne = () => {
10986
10986
  v?.destroy(), q.current?.destroy();
10987
10987
  const se = new Pc({
@@ -10999,8 +10999,8 @@ const Ln = ({
10999
10999
  collapseUnchanged: N ? {} : void 0
11000
11000
  });
11001
11001
  if (q.current = se, y(se), !C && se && oe.current) {
11002
- T?.destroy(), W.current?.destroy();
11003
- const Y = new Pc({
11002
+ T?.destroy(), z.current?.destroy();
11003
+ const K = new Pc({
11004
11004
  a: {
11005
11005
  doc: I,
11006
11006
  extensions: _
@@ -11013,15 +11013,15 @@ const Ln = ({
11013
11013
  diffConfig: { scanLimit: Bl(I, S), timeout: 5e3 },
11014
11014
  parent: oe.current
11015
11015
  });
11016
- W.current = Y, j(Y);
11016
+ z.current = K, j(K);
11017
11017
  }
11018
11018
  };
11019
11019
  P(() => (!n && B.current && Ne(), () => {
11020
- y(null), j(null), q.current = null, W.current = null;
11020
+ y(null), j(null), q.current = null, z.current = null;
11021
11021
  }), [n, e, A, N, C]), P(() => {
11022
11022
  if (q.current) {
11023
- const se = q.current.a.state.doc.toString(), Y = q.current.b.state.doc.toString();
11024
- (se !== I || Y !== S) && Ne();
11023
+ const se = q.current.a.state.doc.toString(), K = q.current.b.state.doc.toString();
11024
+ (se !== I || K !== S) && Ne();
11025
11025
  }
11026
11026
  }, [I, S]), P(() => {
11027
11027
  C || setTimeout(() => {
@@ -11135,9 +11135,9 @@ const Ln = ({
11135
11135
  }, [s, a, x, i]), q = X(() => {
11136
11136
  const $ = C ? Hd(n) : n;
11137
11137
  return $ !== D.current.lhsCode ? ![rt.JSON, rt.YAML].includes(o) || i ? $ : $l($, o, l) : D.current.lhsCode;
11138
- }, [n, i]), W = e ?? w, oe = W === St.dark, { codeEditorTheme: te, themeExtension: Ee } = uA(oe), [ve, V] = O(), [Q, fe] = O(!1), [he, Ne] = O(x), re = X(
11139
- () => ({ setDiffMode: Ne, diffMode: he, hasCodeEditorContainer: Q, lhsValue: q, value: B, readOnly: j, theme: W }),
11140
- [he, Q, q, B, j, W]
11138
+ }, [n, i]), z = e ?? w, oe = z === St.dark, { codeEditorTheme: te, themeExtension: Ee } = uA(oe), [ve, V] = O(), [Q, fe] = O(!1), [he, Ne] = O(x), re = X(
11139
+ () => ({ setDiffMode: Ne, diffMode: he, hasCodeEditorContainer: Q, lhsValue: q, value: B, readOnly: j, theme: z }),
11140
+ [he, Q, q, B, j, z]
11141
11141
  );
11142
11142
  P(() => {
11143
11143
  M.current && fe(
@@ -11163,7 +11163,7 @@ const Ln = ({
11163
11163
  drawSelection: !0,
11164
11164
  highlightActiveLineGutter: !0,
11165
11165
  tabSize: l
11166
- }, Y = ($) => {
11166
+ }, K = ($) => {
11167
11167
  _e($);
11168
11168
  }, xe = ($) => {
11169
11169
  me($);
@@ -11223,14 +11223,14 @@ const Ln = ({
11223
11223
  codemirrorMergeKey: ve,
11224
11224
  codeMirrorParentDivRef: M,
11225
11225
  codeEditorTheme: te,
11226
- theme: W,
11226
+ theme: z,
11227
11227
  loading: g,
11228
11228
  customLoader: E,
11229
11229
  height: d,
11230
11230
  shebang: u,
11231
11231
  readOnly: j,
11232
11232
  placeholder: h,
11233
- handleOnChange: Y,
11233
+ handleOnChange: K,
11234
11234
  handleLhsOnChange: xe,
11235
11235
  onBlur: S,
11236
11236
  onFocus: I,
@@ -11403,7 +11403,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
11403
11403
  if (o) {
11404
11404
  const { handleSorting: N, sortBy: C, sortOrder: S } = o;
11405
11405
  return /* @__PURE__ */ t.jsx(
11406
- K,
11406
+ W,
11407
11407
  {
11408
11408
  dataTestId: "config-diff-sort-button",
11409
11409
  text: "Sort keys",
@@ -11530,7 +11530,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
11530
11530
  d && /* @__PURE__ */ t.jsx(Z, { content: d, placement: "right", children: /* @__PURE__ */ t.jsx("span", { className: "dc__truncate fw-4 lh-1-5 cn-7", children: d }) })
11531
11531
  ] }),
11532
11532
  m && /* @__PURE__ */ t.jsx(
11533
- Et,
11533
+ xt,
11534
11534
  {
11535
11535
  condition: !!m.tooltipProps,
11536
11536
  wrap: Yl(m.tooltipProps),
@@ -11595,7 +11595,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
11595
11595
  }
11596
11596
  ),
11597
11597
  d && /* @__PURE__ */ t.jsx(
11598
- Et,
11598
+ xt,
11599
11599
  {
11600
11600
  condition: !!d.tooltipProps,
11601
11601
  wrap: Yl(d.tooltipProps),
@@ -12337,7 +12337,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12337
12337
  R({ ...A, isLoading: !1 });
12338
12338
  }
12339
12339
  }, T = () => y(A.data.size), j = () => A.hasMore ? /* @__PURE__ */ t.jsx("div", { className: "px-4", children: /* @__PURE__ */ t.jsx(
12340
- K,
12340
+ W,
12341
12341
  {
12342
12342
  isLoading: A.isLoading,
12343
12343
  onClick: T,
@@ -12355,7 +12355,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12355
12355
  resourceId: d
12356
12356
  }), D = M.find(({ value: V }) => V === _), B = !!M.length, q = ({ value: V }) => {
12357
12357
  N({ compareWfrId: V });
12358
- }, W = {
12358
+ }, z = {
12359
12359
  primaryConfig: B ? [
12360
12360
  {
12361
12361
  id: "deployment-config-diff-deployment-selector",
@@ -12407,7 +12407,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12407
12407
  navHelpText: oe(),
12408
12408
  isNavHelpTextShowingError: u,
12409
12409
  goBackURL: Xs(p.split("/:resourceType")[0], { ...f }),
12410
- selectorsConfig: W,
12410
+ selectorsConfig: z,
12411
12411
  sortingConfig: Ee,
12412
12412
  scopeVariablesConfig: ve
12413
12413
  }
@@ -12428,7 +12428,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12428
12428
  ), g = !!x, E = Ki({
12429
12429
  parseSearchParams: sR(x)
12430
12430
  }), { compareWfrId: _, sortBy: N, sortOrder: C } = E, [S, I] = O(!1), [A, R, , b] = Lt(async () => {
12431
- const W = [
12431
+ const z = [
12432
12432
  {
12433
12433
  appName: e,
12434
12434
  envName: s,
@@ -12444,30 +12444,30 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12444
12444
  wfrId: _
12445
12445
  } : null
12446
12446
  ], [oe, ...te] = await Promise.allSettled([
12447
- p ? null : ub([...W]),
12448
- ...W.map(
12447
+ p ? null : ub([...z]),
12448
+ ...z.map(
12449
12449
  (Ee) => Ee && db({ params: Ee, appId: null, isTemplateView: !1 })
12450
12450
  )
12451
12451
  ]);
12452
12452
  return oe.status !== "fulfilled" || !oe.value || oe.value.forEach((Ee, ve) => {
12453
12453
  te[ve].status !== "fulfilled" || !te[ve].value || te[ve].value.result.isAppAdmin || (te[ve].value.result.secretsData = Ee.secretsData);
12454
12454
  }), te;
12455
- }, [h, _]), v = (W, oe) => `${Xs(l, { ...d })}/${W}${oe ? `/${oe}` : ""}${m}`, { deploymentConfigList: y, sortedDeploymentConfigList: T } = X(() => {
12455
+ }, [h, _]), v = (z, oe) => `${Xs(l, { ...d })}/${z}${oe ? `/${oe}` : ""}${m}`, { deploymentConfigList: y, sortedDeploymentConfigList: T } = X(() => {
12456
12456
  if (!A && R) {
12457
- const W = g && R[1].status === "fulfilled" ? R[1].value.result : {
12457
+ const z = g && R[1].status === "fulfilled" ? R[1].value.result : {
12458
12458
  configMapData: null,
12459
12459
  deploymentTemplate: null,
12460
12460
  secretsData: null,
12461
12461
  isAppAdmin: !1
12462
12462
  }, oe = R[0].status === "fulfilled" ? R[0].value.result : null, te = sd({
12463
12463
  currentList: oe,
12464
- compareList: W,
12464
+ compareList: z,
12465
12465
  getNavItemHref: v,
12466
12466
  convertVariables: S,
12467
12467
  sortingConfig: { sortBy: N, sortOrder: C }
12468
12468
  }), Ee = sd({
12469
12469
  currentList: oe,
12470
- compareList: W,
12470
+ compareList: z,
12471
12471
  getNavItemHref: v,
12472
12472
  convertVariables: S,
12473
12473
  sortingConfig: { sortBy: Xa, sortOrder: be.ASC }
@@ -12524,9 +12524,9 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12524
12524
  /* @__PURE__ */ t.jsx("h3", { className: "fs-13 lh-20 fw-6 cn-9 m-0", children: D ? "Configurations used for this deployment trigger" : "Showing configuration change with respect to previous deployment" }),
12525
12525
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-16 dc__mxw-800", children: [
12526
12526
  /* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__gap-12", children: Object.keys(w).map(
12527
- (W) => ZA(
12528
- w[W],
12529
- W !== "UNGROUPED" ? W : null,
12527
+ (z) => ZA(
12528
+ w[z],
12529
+ z !== "UNGROUPED" ? z : null,
12530
12530
  u,
12531
12531
  D
12532
12532
  )
@@ -12637,13 +12637,13 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12637
12637
  }, oR = {
12638
12638
  MERGED: "merged",
12639
12639
  NON_MERGED: "non-merged"
12640
- }, iR = (e) => e.includes(Ct.GITHUB) ? "ic-github" : e.includes(Ct.GITLAB) ? "ic-gitlab" : e.includes(Ct.BITBUCKET) ? "ic-bitbucket" : "ic-git", cR = {
12641
- [Ct.GIT]: "ic-git",
12642
- [Ct.GITHUB]: "ic-github",
12643
- [Ct.GITLAB]: "ic-gitlab",
12644
- [Ct.BITBUCKET]: "ic-bitbucket",
12645
- [Ct.GITEA]: "ic-git",
12646
- [Ct.AZURE]: "ic-azure"
12640
+ }, iR = (e) => e.includes(bt.GITHUB) ? "ic-github" : e.includes(bt.GITLAB) ? "ic-gitlab" : e.includes(bt.BITBUCKET) ? "ic-bitbucket" : "ic-git", cR = {
12641
+ [bt.GIT]: "ic-git",
12642
+ [bt.GITHUB]: "ic-github",
12643
+ [bt.GITLAB]: "ic-gitlab",
12644
+ [bt.BITBUCKET]: "ic-bitbucket",
12645
+ [bt.GITEA]: "ic-git",
12646
+ [bt.AZURE]: "ic-azure"
12647
12647
  }, lR = ({ gitProvider: e, size: s = 20, gitRepoUrl: n }) => /* @__PURE__ */ t.jsx(
12648
12648
  H,
12649
12649
  {
@@ -12793,7 +12793,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12793
12793
  ] }), I = () => {
12794
12794
  if (!d) return null;
12795
12795
  const A = u.eventactiontype === oR.MERGED;
12796
- return r.includes(Ct.GITLAB) ? A ? S() : C() : A ? C() : S();
12796
+ return r.includes(bt.GITLAB) ? A ? S() : C() : A ? C() : S();
12797
12797
  };
12798
12798
  return /* @__PURE__ */ t.jsxs("div", { className: "git-commit-info-generic__wrapper cn-9 fs-12", children: [
12799
12799
  o && (d || l.commit) && !!r && /* @__PURE__ */ t.jsx(
@@ -13169,11 +13169,11 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13169
13169
  let re = !1;
13170
13170
  try {
13171
13171
  if (V = V.replace(/\[[.]*m/, (me) => `\x1B[${me}m`), fe && y) {
13172
- const me = V.split(Wc), se = V.match(Wc) || [], Y = new RegExp(`(${hS(fe)})`, "ig");
13172
+ const me = V.split(Wc), se = V.match(Wc) || [], K = new RegExp(`(${hS(fe)})`, "ig");
13173
13173
  V = me.reduce((Ae, Ke, He) => {
13174
13174
  try {
13175
- re = re || Y.test(Ke), Ae.push(
13176
- Ke.replace(Y, (ct) => (Ne && he?.push(Ne), `\x1B[0m\x1B[48;2;${he && Q === he.length - 1 ? "0;102;204" : "197;141;54"}m${ct}\x1B[0m${He > 0 ? se[He - 1] : ""}`))
13175
+ re = re || K.test(Ke), Ae.push(
13176
+ Ke.replace(K, (ct) => (Ne && he?.push(Ne), `\x1B[0m\x1B[48;2;${he && Q === he.length - 1 ? "0;102;204" : "197;141;54"}m${ct}\x1B[0m${He > 0 ? se[He - 1] : ""}`))
13177
13177
  );
13178
13178
  } catch {
13179
13179
  Ae.push(Ke);
@@ -13199,20 +13199,20 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13199
13199
  ), he = {}, Ne = [], re = d.reduce((_e, me, se) => {
13200
13200
  if (me.startsWith(Ll))
13201
13201
  try {
13202
- const { stage: Y, startTime: xe, endTime: Ae, status: Ke, metadata: He } = JSON.parse(
13202
+ const { stage: K, startTime: xe, endTime: Ae, status: Ke, metadata: He } = JSON.parse(
13203
13203
  me.split(Zv)[1]
13204
- ), ct = _e.find((ut) => ut.stage === Y && ut.startTime === xe), Wt = fe[Y]?.[xe] ?? {};
13204
+ ), ct = _e.find((ut) => ut.stage === K && ut.startTime === xe), Wt = fe[K]?.[xe] ?? {};
13205
13205
  if (ct)
13206
13206
  ct.endTime = Ae, ct.status = Ke, ct.isOpen = j(
13207
13207
  Ke,
13208
13208
  Wt.isOpen,
13209
- !!he[Y]?.[xe],
13209
+ !!he[K]?.[xe],
13210
13210
  !!Q
13211
13211
  );
13212
13212
  else {
13213
13213
  const ut = w ? gn.PROGRESSING : gn.FAILURE;
13214
13214
  _e.push({
13215
- stage: Y || `Untitled stage ${se + 1}`,
13215
+ stage: K || `Untitled stage ${se + 1}`,
13216
13216
  startTime: xe || "",
13217
13217
  endTime: Ae || "",
13218
13218
  // Would be defining the state when we receive the end status, otherwise it is loading and would be open
@@ -13220,7 +13220,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13220
13220
  ut,
13221
13221
  Wt.isOpen,
13222
13222
  // Wont be present in case of start stage since no logs are present yet
13223
- !!he[Y]?.[xe],
13223
+ !!he[K]?.[xe],
13224
13224
  !!Q
13225
13225
  ),
13226
13226
  status: ut,
@@ -13233,9 +13233,9 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13233
13233
  return _e;
13234
13234
  }
13235
13235
  if (_e.length > 0) {
13236
- const Y = _e[_e.length - 1], xe = Bm({
13236
+ const K = _e[_e.length - 1], xe = Bm({
13237
13237
  stageIndex: _e.length - 1,
13238
- lineNumberInsideStage: Y.logs.length
13238
+ lineNumberInsideStage: K.logs.length
13239
13239
  }), { __html: Ae, isSearchKeyPresent: Ke } = T({
13240
13240
  log: me,
13241
13241
  currentIndex: V,
@@ -13243,12 +13243,12 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13243
13243
  targetSearchKey: Q,
13244
13244
  searchIndex: xe
13245
13245
  });
13246
- Y.logs.push(Ae), Ke && (Y.isOpen = j(
13247
- Y.status,
13248
- fe[Y.stage]?.[Y.startTime]?.isOpen,
13246
+ K.logs.push(Ae), Ke && (K.isOpen = j(
13247
+ K.status,
13248
+ fe[K.stage]?.[K.startTime]?.isOpen,
13249
13249
  !0,
13250
13250
  !!Q
13251
- ), he[Y.stage] || (he[Y.stage] = {}), he[Y.stage][Y.startTime] = !0);
13251
+ ), he[K.stage] || (he[K.stage] = {}), he[K.stage][K.startTime] = !0);
13252
13252
  }
13253
13253
  return _e;
13254
13254
  }, []);
@@ -13283,7 +13283,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13283
13283
  }
13284
13284
  }, q = () => {
13285
13285
  B("next");
13286
- }, W = () => {
13286
+ }, z = () => {
13287
13287
  B("prev");
13288
13288
  }, oe = (V) => {
13289
13289
  S(V), C === V ? q() : B("reset", V);
@@ -13336,7 +13336,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13336
13336
  {
13337
13337
  type: "button",
13338
13338
  className: `dc__unset-button-styles flex p-6 br-4 dc__bg-n0--opacity-0_2 ${I ? "" : "dc__disabled"}`,
13339
- onClick: W,
13339
+ onClick: z,
13340
13340
  "data-testid": "logs-previous-search-match",
13341
13341
  "aria-label": "Focus the previous search result match",
13342
13342
  disabled: !I,
@@ -14003,7 +14003,7 @@ const oc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14003
14003
  +j == +e && (v.current = D);
14004
14004
  }, M = d !== ms.DEPLOY && Object.keys(g || {}).length > 0;
14005
14005
  return /* @__PURE__ */ t.jsx(
14006
- Et,
14006
+ xt,
14007
14007
  {
14008
14008
  condition: Array.isArray(o),
14009
14009
  wrap: (D) => /* @__PURE__ */ t.jsx(
@@ -14569,7 +14569,7 @@ const LR = (e) => {
14569
14569
  ] }),
14570
14570
  /* @__PURE__ */ t.jsxs("div", { className: "px-20 py-16 dc__gap-12 flexbox dc__content-end", children: [
14571
14571
  _ && /* @__PURE__ */ t.jsx(
14572
- K,
14572
+ W,
14573
14573
  {
14574
14574
  dataTestId: "confirmation-modal-secondary-button",
14575
14575
  size: L.large,
@@ -14583,7 +14583,7 @@ const LR = (e) => {
14583
14583
  }
14584
14584
  ),
14585
14585
  E && /* @__PURE__ */ t.jsx(
14586
- K,
14586
+ W,
14587
14587
  {
14588
14588
  dataTestId: "confirmation-modal-primary-button",
14589
14589
  size: L.large,
@@ -14803,7 +14803,7 @@ const LR = (e) => {
14803
14803
  p && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
14804
14804
  /* @__PURE__ */ t.jsx("span", { className: "cn-5 fs-13 fw-4 lh-20", children: "/" }),
14805
14805
  /* @__PURE__ */ t.jsx(
14806
- K,
14806
+ W,
14807
14807
  {
14808
14808
  dataTestId: "abort-execution-button",
14809
14809
  onClick: h,
@@ -15308,7 +15308,7 @@ const LR = (e) => {
15308
15308
  deploymentStatus: e.status,
15309
15309
  deploymentAppType: a,
15310
15310
  userApprovalMetadata: o,
15311
- isGitops: a === Tt.GITOPS || a === Tt.FLUX || a === Tt.MANIFEST_DOWNLOAD || a === Tt.MANIFEST_PUSH,
15311
+ isGitops: a === gt.GITOPS || a === gt.FLUX || a === gt.MANIFEST_DOWNLOAD || a === gt.MANIFEST_PUSH,
15312
15312
  isHelmApps: !1,
15313
15313
  isVirtualEnvironment: e.IsVirtualEnvironment,
15314
15314
  processVirtualEnvironmentDeploymentData: x,
@@ -15422,7 +15422,7 @@ const LR = (e) => {
15422
15422
  return;
15423
15423
  }
15424
15424
  if (V === Q?.id) {
15425
- const he = s.get(V)?.appliedFilters ?? [], Ne = s.get(V)?.appliedFiltersTimestamp, re = s.get(V)?.promotionApprovalMetadata, _e = s.get(V)?.runSource, me = s.get(V)?.targetConfig, se = s.get(V)?.userApprovalMetadata, Y = {
15425
+ const he = s.get(V)?.appliedFilters ?? [], Ne = s.get(V)?.appliedFiltersTimestamp, re = s.get(V)?.promotionApprovalMetadata, _e = s.get(V)?.runSource, me = s.get(V)?.targetConfig, se = s.get(V)?.userApprovalMetadata, K = {
15426
15426
  ...he.length ? { appliedFilters: he } : {},
15427
15427
  ...Ne ? { appliedFiltersTimestamp: Ne } : {},
15428
15428
  ...re ? { promotionApprovalMetadata: re } : {},
@@ -15430,18 +15430,18 @@ const LR = (e) => {
15430
15430
  ...me ? { targetConfig: me } : {},
15431
15431
  ...se ? { userApprovalMetadata: se } : {}
15432
15432
  };
15433
- n((xe) => (xe.set(V, { ...Q, ...Y }), new Map(xe))), d === js.FETCHING && u(js.SUCCESS);
15433
+ n((xe) => (xe.set(V, { ...Q, ...K }), new Map(xe))), d === js.FETCHING && u(js.SUCCESS);
15434
15434
  }
15435
15435
  };
15436
- let W = !!d && d !== js.SUSPEND;
15437
- (w?.result?.artifactId === 0 || T?.artifactId === 0) && (W = !1);
15436
+ let z = !!d && d !== js.SUSPEND;
15437
+ (w?.result?.artifactId === 0 || T?.artifactId === 0) && (z = !1);
15438
15438
  const [oe, te, Ee] = Lt(
15439
15439
  () => BI({
15440
15440
  pipelineId: y,
15441
15441
  artifactId: w?.result?.artifactId || T?.artifactId
15442
15442
  }),
15443
15443
  [y, b],
15444
- W && !!y && (!!w?.result?.artifactId || !!T?.artifactId)
15444
+ z && !!y && (!!w?.result?.artifactId || !!T?.artifactId)
15445
15445
  );
15446
15446
  P(() => {
15447
15447
  if (j)
@@ -15451,9 +15451,9 @@ const LR = (e) => {
15451
15451
  imageComment: T?.imageComment,
15452
15452
  imageReleaseTags: T?.imageReleaseTags
15453
15453
  };
15454
- W && (V = null), q(+b, V, M);
15454
+ z && (V = null), q(+b, V, M);
15455
15455
  }, [j, w, M]), P(() => {
15456
- if (oe || !w || !W)
15456
+ if (oe || !w || !z)
15457
15457
  return;
15458
15458
  const V = {
15459
15459
  ...w?.result,
@@ -15463,13 +15463,13 @@ const LR = (e) => {
15463
15463
  q(+b, V, Ee);
15464
15464
  }, [oe, te, Ee]);
15465
15465
  const ve = X(() => !T || Gv.has(T.podStatus?.toLowerCase() || T.status?.toLowerCase()) ? null : Hv.has(T.status?.toLowerCase() || T.podStatus?.toLowerCase()) ? 1e4 : 3e4, [T]);
15466
- return Xp(D, ve), !W && j && !T || !b || W && (oe || j) && !T ? /* @__PURE__ */ t.jsx(Ze, { pageLoader: !0 }) : M?.code === 404 ? /* @__PURE__ */ t.jsx(
15466
+ return Xp(D, ve), !z && j && !T || !b || z && (oe || j) && !T ? /* @__PURE__ */ t.jsx(Ze, { pageLoader: !0 }) : M?.code === 404 ? /* @__PURE__ */ t.jsx(
15467
15467
  Je,
15468
15468
  {
15469
15469
  title: tt.TRIGGER_NOT_FOUND.TITLE,
15470
15470
  subTitle: tt.TRIGGER_NOT_FOUND.SUBTITLE
15471
15471
  }
15472
- ) : !W && !j && !T ? /* @__PURE__ */ t.jsx(ia, {}) : W && !(oe || j) && !T ? /* @__PURE__ */ t.jsx(ia, {}) : T?.id !== +b ? null : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
15472
+ ) : !z && !j && !T ? /* @__PURE__ */ t.jsx(ia, {}) : z && !(oe || j) && !T ? /* @__PURE__ */ t.jsx(ia, {}) : T?.id !== +b ? null : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
15473
15473
  !e && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
15474
15474
  /* @__PURE__ */ t.jsx(
15475
15475
  GR,
@@ -15500,7 +15500,7 @@ const LR = (e) => {
15500
15500
  QR,
15501
15501
  {
15502
15502
  triggerDetails: T,
15503
- loading: j && !w || !T || W && !te,
15503
+ loading: j && !w || !T || z && !te,
15504
15504
  userApprovalMetadata: w?.result?.userApprovalMetadata,
15505
15505
  triggeredByEmail: w?.result?.triggeredByEmail,
15506
15506
  setFullScreenView: a,
@@ -15557,7 +15557,7 @@ const LR = (e) => {
15557
15557
  }, dd = (e) => `${e.kind}/${e.name}`, di = ({
15558
15558
  type: e,
15559
15559
  appDetails: s
15560
- }) => !s || e === "stack-manager" || s.appType !== ht.DEVTRON_APP && s.appType !== ht.DEVTRON_HELM_CHART ? !1 : s.appType === ht.DEVTRON_HELM_CHART ? !!s.lastDeployedTime && s.deploymentAppType !== Tt.HELM : s.releaseMode !== cm.MIGRATE_EXTERNAL_APPS || s.isPipelineTriggered, s0 = (e) => Qr.includes(e) ? oh : Km.includes(e) ? rh : Wm.includes(e) ? _n : kr, ud = "px-16 py-8 dc__grid dc__column-gap-16 app-status-content__row", mp = ({
15560
+ }) => !s || e === "stack-manager" || s.appType !== ht.DEVTRON_APP && s.appType !== ht.DEVTRON_HELM_CHART ? !1 : s.appType === ht.DEVTRON_HELM_CHART ? !!s.lastDeployedTime && s.deploymentAppType !== gt.HELM : s.releaseMode !== cm.MIGRATE_EXTERNAL_APPS || s.isPipelineTriggered, s0 = (e) => Qr.includes(e) ? oh : Km.includes(e) ? rh : Wm.includes(e) ? _n : kr, ud = "px-16 py-8 dc__grid dc__column-gap-16 app-status-content__row", mp = ({
15561
15561
  appDetails: e,
15562
15562
  handleShowConfigDriftModal: s,
15563
15563
  filterHealthyNodes: n = !1,
@@ -15593,7 +15593,7 @@ const LR = (e) => {
15593
15593
  s && h.hasDrift && /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-items-center", children: [
15594
15594
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 lh-20 cy-7", children: "Config drift detected" }),
15595
15595
  i && c && /* @__PURE__ */ t.jsx(
15596
- K,
15596
+ W,
15597
15597
  {
15598
15598
  dataTestId: "show-config-drift",
15599
15599
  text: "Compare with desired",
@@ -15697,7 +15697,7 @@ const cc = ({
15697
15697
  ...a
15698
15698
  }) => {
15699
15699
  const r = !!e, o = () => /* @__PURE__ */ t.jsx(
15700
- K,
15700
+ W,
15701
15701
  {
15702
15702
  dataTestId: "clear-filters",
15703
15703
  onClick: e,
@@ -15824,10 +15824,10 @@ const i0 = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
15824
15824
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
15825
15825
  r,
15826
15826
  s === "release" ? /* @__PURE__ */ t.jsx(
15827
- K,
15827
+ W,
15828
15828
  {
15829
15829
  dataTestId: "visit-app-details",
15830
- component: gt.link,
15830
+ component: Et.link,
15831
15831
  variant: J.secondary,
15832
15832
  size: L.xs,
15833
15833
  endIcon: /* @__PURE__ */ t.jsx(H, { name: "ic-arrow-square-out", color: null }),
@@ -15862,7 +15862,7 @@ const i0 = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
15862
15862
  type: s,
15863
15863
  appId: e.appId,
15864
15864
  envId: e.environmentId,
15865
- actionItem: o && i?.toLowerCase() !== bt.HEALTHY.toLowerCase() && (m || d) ? /* @__PURE__ */ t.jsx(
15865
+ actionItem: o && i?.toLowerCase() !== Tt.HEALTHY.toLowerCase() && (m || d) ? /* @__PURE__ */ t.jsx(
15866
15866
  o,
15867
15867
  {
15868
15868
  intelligenceConfig: {
@@ -16069,12 +16069,12 @@ const i0 = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
16069
16069
  I,
16070
16070
  A
16071
16071
  ] = Lt(_, [], n === "release"), R = n === "release" ? C : a, b = di({ type: n, appDetails: R }), v = U(new AbortController()), y = U(null), T = async () => {
16072
- const Y = await jr(
16072
+ const K = await jr(
16073
16073
  () => u0({
16074
16074
  abortControllerRef: v,
16075
16075
  appId: R.appType === ht.DEVTRON_HELM_CHART ? R.installedAppId : R.appId,
16076
16076
  envId: R.environmentId,
16077
- showTimeline: h === ft.DEPLOYMENT_STATUS && R.deploymentAppType !== Tt.HELM && !R.isVirtualEnvironment,
16077
+ showTimeline: h === ft.DEPLOYMENT_STATUS && R.deploymentAppType !== gt.HELM && !R.isVirtualEnvironment,
16078
16078
  virtualEnvironmentConfig: R.isVirtualEnvironment ? {
16079
16079
  processVirtualEnvironmentDeploymentData: r,
16080
16080
  wfrId: R.resourceTree?.wfrId
@@ -16084,7 +16084,7 @@ const i0 = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
16084
16084
  }),
16085
16085
  v
16086
16086
  );
16087
- return o?.(Y), Y;
16087
+ return o?.(K), K;
16088
16088
  }, [
16089
16089
  j,
16090
16090
  w,
@@ -16097,16 +16097,16 @@ const i0 = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
16097
16097
  E.current = setTimeout(
16098
16098
  async () => {
16099
16099
  try {
16100
- const Y = await _();
16101
- A(Y);
16100
+ const K = await _();
16101
+ A(K);
16102
16102
  } catch {
16103
16103
  }
16104
16104
  q();
16105
16105
  },
16106
16106
  Number(window._env_.DEVTRON_APP_DETAILS_POLLING_INTERVAL) || Xc
16107
16107
  );
16108
- }, W = async () => {
16109
- const Y = Qr.includes(
16108
+ }, z = async () => {
16109
+ const K = Qr.includes(
16110
16110
  w?.deploymentStatus
16111
16111
  ), xe = Number(
16112
16112
  R.appType !== ht.DEVTRON_HELM_CHART ? window._env_.DEVTRON_APP_DETAILS_POLLING_INTERVAL : window._env_.HELM_APP_DETAILS_POLLING_INTERVAL
@@ -16118,15 +16118,15 @@ const i0 = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
16118
16118
  B(Ae);
16119
16119
  } catch {
16120
16120
  }
16121
- W();
16121
+ z();
16122
16122
  },
16123
- Y ? YC : xe
16123
+ K ? YC : xe
16124
16124
  );
16125
16125
  }, oe = N || Yt(S), te = j || Yt(M), Ee = h === ft.DEPLOYMENT_STATUS && te;
16126
16126
  P(() => {
16127
16127
  !N && !S && C && !E.current && q();
16128
16128
  }, [N, C, S]), P(() => {
16129
- !j && !M && w && !y.current && W();
16129
+ !j && !M && w && !y.current && z();
16130
16130
  }, [j, w, M]);
16131
16131
  const ve = () => {
16132
16132
  y.current && (clearTimeout(y.current), y.current = null);
@@ -16141,8 +16141,8 @@ const i0 = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
16141
16141
  f(!0);
16142
16142
  } : null, Q = () => {
16143
16143
  s(), f(!1);
16144
- }, fe = async (Y) => {
16145
- ve(), x(Y);
16144
+ }, fe = async (K) => {
16145
+ ve(), x(K);
16146
16146
  };
16147
16147
  if (p)
16148
16148
  return /* @__PURE__ */ t.jsx(
@@ -16153,9 +16153,9 @@ const i0 = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
16153
16153
  handleCloseModal: Q
16154
16154
  }
16155
16155
  );
16156
- const he = (e || []).filter((Y) => !!Y), Ne = () => h ? h === ft.APP_STATUS ? R?.resourceTree ? "" : "Application status is not available" : !w || !di({ type: n, appDetails: R }) ? "Deployment status is not available" : "" : "Status is not available", re = () => {
16157
- const Y = Ne();
16158
- return Y ? /* @__PURE__ */ t.jsx(Je, { image: kr, title: Y }) : h === ft.DEPLOYMENT_STATUS && R.deploymentAppType === Tt.HELM ? /* @__PURE__ */ t.jsx(
16156
+ const he = (e || []).filter((K) => !!K), Ne = () => h ? h === ft.APP_STATUS ? R?.resourceTree ? "" : "Application status is not available" : !w || !di({ type: n, appDetails: R }) ? "Deployment status is not available" : "" : "Status is not available", re = () => {
16157
+ const K = Ne();
16158
+ return K ? /* @__PURE__ */ t.jsx(Je, { image: kr, title: K }) : h === ft.DEPLOYMENT_STATUS && R.deploymentAppType === gt.HELM ? /* @__PURE__ */ t.jsx(
16159
16159
  Je,
16160
16160
  {
16161
16161
  image: s0(
@@ -16183,10 +16183,10 @@ const i0 = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
16183
16183
  n === "stack-manager" && /* @__PURE__ */ t.jsxs("div", { className: "bg__primary flexbox dc__align-items-center dc__content-space dc__border-top py-16 px-20 fs-13 fw-6", children: [
16184
16184
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-6", children: "Facing issues in installing integration?" }),
16185
16185
  /* @__PURE__ */ t.jsx(
16186
- K,
16186
+ W,
16187
16187
  {
16188
16188
  dataTestId: "chat-with-support-button",
16189
- component: gt.anchor,
16189
+ component: Et.anchor,
16190
16190
  anchorProps: {
16191
16191
  href: ga,
16192
16192
  target: "_blank",
@@ -16207,12 +16207,12 @@ const i0 = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
16207
16207
  children: [
16208
16208
  /* @__PURE__ */ t.jsxs("div", { className: "app-status-modal__header pt-12 flexbox-col px-20 dc__gap-12 border__primary--bottom dc__no-shrink", children: [
16209
16209
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__content-space dc__gap-4", children: [
16210
- /* @__PURE__ */ t.jsx("h2", { className: "m-0 dc__truncate fs-16 fw-6 lh-1-5 dc__gap-4 flexbox cn-9", children: he.map((Y, xe) => /* @__PURE__ */ t.jsxs(Ms, { children: [
16211
- Y,
16210
+ /* @__PURE__ */ t.jsx("h2", { className: "m-0 dc__truncate fs-16 fw-6 lh-1-5 dc__gap-4 flexbox cn-9", children: he.map((K, xe) => /* @__PURE__ */ t.jsxs(Ms, { children: [
16211
+ K,
16212
16212
  xe !== e.length - 1 && /* @__PURE__ */ t.jsx("span", { className: "cn-6 fs-16 fw-4", children: "/" })
16213
- ] }, Y)) }),
16213
+ ] }, K)) }),
16214
16214
  /* @__PURE__ */ t.jsx(
16215
- K,
16215
+ W,
16216
16216
  {
16217
16217
  dataTestId: "close-modal-header-icon-button",
16218
16218
  variant: J.borderLess,
@@ -17721,7 +17721,7 @@ const p0 = {
17721
17721
  }, p = (l.detailViewData?.length ?? 0) - 1, f = l.detailViewData?.[p] ?? null, h = () => /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__content-space dc__align-items-center pl-20 pr-20 pt-12 pb-12 dc__border-bottom dc__no-shrink", children: [
17722
17722
  /* @__PURE__ */ t.jsx("span", { className: "fs-16 fw-6 lh-24 cn-9", children: "Security" }),
17723
17723
  /* @__PURE__ */ t.jsx(
17724
- K,
17724
+ W,
17725
17725
  {
17726
17726
  dataTestId: "close-security-modal",
17727
17727
  ariaLabel: "close-security-modal",
@@ -18124,11 +18124,11 @@ const p0 = {
18124
18124
  /* @__PURE__ */ t.jsxs("header", { className: "px-20 py-12 lh-24 flexbox dc__content-space dc__align-items-center dc__border-bottom", children: [
18125
18125
  /* @__PURE__ */ t.jsx("span", { className: "fs-16 fw-6 dc__first-letter-capitalize", children: i.toLowerCase() }),
18126
18126
  /* @__PURE__ */ t.jsx(
18127
- K,
18127
+ W,
18128
18128
  {
18129
18129
  icon: /* @__PURE__ */ t.jsx(Dt, {}),
18130
18130
  dataTestId: "rb-bulk-action__cross",
18131
- component: gt.button,
18131
+ component: Et.button,
18132
18132
  style: ue.negativeGrey,
18133
18133
  size: L.xs,
18134
18134
  variant: J.borderLess,
@@ -18204,7 +18204,7 @@ const p0 = {
18204
18204
  /* @__PURE__ */ t.jsx("footer", { className: "flexbox dc__content-space pt-15 pb-16 px-20 dc__border-top", children: e ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
18205
18205
  /* @__PURE__ */ t.jsx("div", { className: "flex-grow-1" }),
18206
18206
  /* @__PURE__ */ t.jsx(
18207
- K,
18207
+ W,
18208
18208
  {
18209
18209
  dataTestId: "rb-bulk-action__abort",
18210
18210
  size: L.large,
@@ -18218,7 +18218,7 @@ const p0 = {
18218
18218
  )
18219
18219
  ] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
18220
18220
  /* @__PURE__ */ t.jsx(
18221
- K,
18221
+ W,
18222
18222
  {
18223
18223
  dataTestId: "rb-bulk-action__close",
18224
18224
  size: L.large,
@@ -18230,13 +18230,13 @@ const p0 = {
18230
18230
  }
18231
18231
  ),
18232
18232
  a.getRetryOperations().length > 0 && /* @__PURE__ */ t.jsx(
18233
- K,
18233
+ W,
18234
18234
  {
18235
18235
  dataTestId: "rb-bulk-action__retry",
18236
18236
  size: L.large,
18237
18237
  variant: J.primary,
18238
18238
  style: ue.default,
18239
- component: gt.button,
18239
+ component: Et.button,
18240
18240
  isLoading: e,
18241
18241
  onClick: o,
18242
18242
  startIcon: /* @__PURE__ */ t.jsx(_h, {}),
@@ -19670,7 +19670,7 @@ const so = ({
19670
19670
  }
19671
19671
  ),
19672
19672
  I && /* @__PURE__ */ t.jsx(
19673
- K,
19673
+ W,
19674
19674
  {
19675
19675
  dataTestId: "data-table-add-row-button",
19676
19676
  ariaLabel: a,
@@ -19886,7 +19886,7 @@ const _t = ({
19886
19886
  top: B,
19887
19887
  bottom: q
19888
19888
  } = u.current.getBoundingClientRect();
19889
- R + b > I.height && (i({ left: y, bottom: document.documentElement.clientHeight - T }), l(1)), A + v > I.width && (i((W) => ({ ...W, right: "20px", left: "unset" })), l(1));
19889
+ R + b > I.height && (i({ left: y, bottom: document.documentElement.clientHeight - T }), l(1)), A + v > I.width && (i((z) => ({ ...z, right: "20px", left: "unset" })), l(1));
19890
19890
  }
19891
19891
  });
19892
19892
  }
@@ -20192,7 +20192,7 @@ const Yy = ({
20192
20192
  /* @__PURE__ */ t.jsx(Z, { content: n, children: /* @__PURE__ */ t.jsx("span", { className: "fs-12 lh-20 dc__ellipsis-right", children: n }) })
20193
20193
  ] }) }),
20194
20194
  !e && /* @__PURE__ */ t.jsx("div", { className: "file-upload__remove-file", children: /* @__PURE__ */ t.jsx(
20195
- K,
20195
+ W,
20196
20196
  {
20197
20197
  dataTestId: "file-upload-remove-file-button",
20198
20198
  ariaLabel: "Remove File",
@@ -20292,12 +20292,12 @@ const Yy = ({
20292
20292
  }
20293
20293
  ) });
20294
20294
  case et.SELECT_TEXT: {
20295
- const { value: B, props: q } = T.data[j], { isCreatable: W = !0 } = q;
20295
+ const { value: B, props: q } = T.data[j], { isCreatable: z = !0 } = q;
20296
20296
  return /* @__PURE__ */ t.jsx("div", { className: "w-100 h-100 flex top dc__align-self-start", children: /* @__PURE__ */ t.jsx(
20297
20297
  PT,
20298
20298
  {
20299
20299
  autoFocus: D,
20300
- isCreatable: W,
20300
+ isCreatable: z,
20301
20301
  isClearable: !0,
20302
20302
  ...q,
20303
20303
  variant: Qt.COMPACT,
@@ -20308,7 +20308,7 @@ const Yy = ({
20308
20308
  value: bn(
20309
20309
  q?.options,
20310
20310
  B,
20311
- W && B ? { label: B, value: B } : null
20311
+ z && B ? { label: B, value: B } : null
20312
20312
  ),
20313
20313
  onChange: C(T, j),
20314
20314
  isDisabled: M,
@@ -20321,7 +20321,7 @@ const Yy = ({
20321
20321
  }
20322
20322
  case et.BUTTON:
20323
20323
  return /* @__PURE__ */ t.jsx("div", { className: "w-100 h-100 flex top", children: /* @__PURE__ */ t.jsx(
20324
- Et,
20324
+ xt,
20325
20325
  {
20326
20326
  condition: !!u,
20327
20327
  wrap: Ky(u, T),
@@ -20418,11 +20418,11 @@ const Yy = ({
20418
20418
  }
20419
20419
  );
20420
20420
  if (so({ headers: s, actionButtonConfig: o }) === w) {
20421
- const { renderer: W, position: oe = "start" } = o, te = /* @__PURE__ */ t.jsx(
20421
+ const { renderer: z, position: oe = "start" } = o, te = /* @__PURE__ */ t.jsx(
20422
20422
  "div",
20423
20423
  {
20424
20424
  className: `dc__overflow-hidden flex top bg__primary ${oe === "start" && j === s[0].key || a && oe === "end" && j === s[s.length - 1].key ? "dynamic-data-table__cell" : ""}`,
20425
- children: W(T)
20425
+ children: z(T)
20426
20426
  }
20427
20427
  );
20428
20428
  return oe === "start" ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
@@ -20445,7 +20445,7 @@ const Yy = ({
20445
20445
  children: e.map((T) => /* @__PURE__ */ t.jsxs("div", { className: "dynamic-data-table__row", children: [
20446
20446
  s.map(({ key: j }, w) => /* @__PURE__ */ t.jsx(Ms, { children: y(T, j, w) }, j)),
20447
20447
  !a && !n && /* @__PURE__ */ t.jsx("div", { className: "dynamic-data-table__row-delete-btn bg__primary", children: /* @__PURE__ */ t.jsx(
20448
- K,
20448
+ W,
20449
20449
  {
20450
20450
  dataTestId: "dynamic-data-table-row-delete-btn",
20451
20451
  ariaLabel: "Delete Row",
@@ -20605,7 +20605,7 @@ const Yy = ({
20605
20605
  ),
20606
20606
  /* @__PURE__ */ t.jsxs("div", { className: "flex dc__gap-12 ml-auto", children: [
20607
20607
  /* @__PURE__ */ t.jsx(
20608
- K,
20608
+ W,
20609
20609
  {
20610
20610
  size: L.small,
20611
20611
  style: ue.neutral,
@@ -20617,7 +20617,7 @@ const Yy = ({
20617
20617
  }
20618
20618
  ),
20619
20619
  /* @__PURE__ */ t.jsx(
20620
- K,
20620
+ W,
20621
20621
  {
20622
20622
  size: L.small,
20623
20623
  onClick: f,
@@ -20895,7 +20895,7 @@ const bd = (e) => {
20895
20895
  }
20896
20896
  ),
20897
20897
  /* @__PURE__ */ t.jsx(
20898
- K,
20898
+ W,
20899
20899
  {
20900
20900
  text: s,
20901
20901
  dataTestId: "feature-desc__got-it",
@@ -21204,7 +21204,7 @@ const bd = (e) => {
21204
21204
  );
21205
21205
  return (
21206
21206
  // TODO: conditional wrap is not required since handled through alwaysShowTippyOnHover in tooltip
21207
- /* @__PURE__ */ t.jsx(Et, { condition: o, wrap: h, children: /* @__PURE__ */ t.jsxs(
21207
+ /* @__PURE__ */ t.jsx(xt, { condition: o, wrap: h, children: /* @__PURE__ */ t.jsxs(
21208
21208
  "div",
21209
21209
  {
21210
21210
  className: "flexbox-col pt-8 pb-8 pl-12 pr-12 dc__align-self-stretch bg__primary dc__border-bottom-n1 dc__hover-n50",
@@ -21301,7 +21301,7 @@ const bd = (e) => {
21301
21301
  /* @__PURE__ */ t.jsx("p", { className: "dc__align-self-stretch cn-7 fs-12 fw-1 lh-20", children: "Use variable to set dynamic value" })
21302
21302
  ] }),
21303
21303
  /* @__PURE__ */ t.jsx("div", { className: "h-100", children: /* @__PURE__ */ t.jsx(
21304
- K,
21304
+ W,
21305
21305
  {
21306
21306
  icon: /* @__PURE__ */ t.jsx(Cs, {}),
21307
21307
  ariaLabel: "Close suggestions",
@@ -21862,7 +21862,7 @@ const Tj = [
21862
21862
  label: "Give feedback",
21863
21863
  startIcon: { name: "ic-megaphone-right" }
21864
21864
  }
21865
- ], Aj = (e) => xt(F.TELEMETRY_EVENT, e);
21865
+ ], Aj = (e) => Nt(F.TELEMETRY_EVENT, e);
21866
21866
  let yd;
21867
21867
  const Rj = async (e, s) => {
21868
21868
  const n = await le(`${F.SERVER_INFO_API}?showServerStatus=false`);
@@ -21893,7 +21893,7 @@ const Rj = async (e, s) => {
21893
21893
  items: Sj
21894
21894
  }
21895
21895
  ]
21896
- ], Lj = (e) => xt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), wj = ({ className: e, hideGettingStartedCard: s }) => {
21896
+ ], Lj = (e) => Nt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), wj = ({ className: e, hideGettingStartedCard: s }) => {
21897
21897
  const n = async () => {
21898
21898
  Ei("clickedOkay", 1), s(), await gi(Yo.TOOLTIP_OKAY);
21899
21899
  }, a = async () => {
@@ -21911,7 +21911,7 @@ const Rj = async (e, s) => {
21911
21911
  /* @__PURE__ */ t.jsx("div", { className: "cn-7", children: "You can always access the Getting Started guide from here." }),
21912
21912
  /* @__PURE__ */ t.jsxs("div", { className: "mt-12 lh-18 flex left dc__gap-12", children: [
21913
21913
  /* @__PURE__ */ t.jsx(
21914
- K,
21914
+ W,
21915
21915
  {
21916
21916
  text: "Okay",
21917
21917
  size: L.xs,
@@ -21920,7 +21920,7 @@ const Rj = async (e, s) => {
21920
21920
  }
21921
21921
  ),
21922
21922
  /* @__PURE__ */ t.jsx(
21923
- K,
21923
+ W,
21924
21924
  {
21925
21925
  text: "Don't show again",
21926
21926
  size: L.xs,
@@ -21942,10 +21942,10 @@ const Rj = async (e, s) => {
21942
21942
  e?.currentVersion || ""
21943
21943
  ] }),
21944
21944
  /* @__PURE__ */ t.jsx(
21945
- K,
21945
+ W,
21946
21946
  {
21947
21947
  dataTestId: "check-for-updates-link",
21948
- component: gt.link,
21948
+ component: Et.link,
21949
21949
  variant: J.text,
21950
21950
  size: L.medium,
21951
21951
  linkProps: {
@@ -22064,7 +22064,7 @@ const Rj = async (e, s) => {
22064
22064
  /* @__PURE__ */ t.jsxs("div", { className: "trigger-modal__header w-100", children: [
22065
22065
  /* @__PURE__ */ t.jsx("h1", { className: "modal__title flex left fs-16 fw-6-imp", "data-testid": "app-details-url-heading", children: a || n }),
22066
22066
  /* @__PURE__ */ t.jsx(
22067
- K,
22067
+ W,
22068
22068
  {
22069
22069
  ariaLabel: "promo-header-button",
22070
22070
  dataTestId: "iframe-modal-close-button",
@@ -22100,7 +22100,7 @@ const Rj = async (e, s) => {
22100
22100
  ) });
22101
22101
  return /* @__PURE__ */ t.jsxs("div", { children: [
22102
22102
  n && /* @__PURE__ */ t.jsx(
22103
- K,
22103
+ W,
22104
22104
  {
22105
22105
  dataTestId: "iframe-header-button",
22106
22106
  size: L.small,
@@ -22260,7 +22260,7 @@ const Rj = async (e, s) => {
22260
22260
  children: /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(Uj, { user: A, onClick: M }) })
22261
22261
  }
22262
22262
  )
22263
- ] }), W = () => (/* @__PURE__ */ new Date()).valueOf() > v, oe = () => /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-4 lh-18 pt-1 pb-1 pl-6 pr-6 ml-8 cn-9 bcy-5 br-4", children: "Beta" }), te = () => /* @__PURE__ */ t.jsx(Mj, {});
22263
+ ] }), z = () => (/* @__PURE__ */ new Date()).valueOf() > v, oe = () => /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-4 lh-18 pt-1 pb-1 pl-6 pr-6 ml-8 cn-9 bcy-5 br-4", children: "Beta" }), te = () => /* @__PURE__ */ t.jsx(Mj, {});
22264
22264
  return /* @__PURE__ */ t.jsxs(
22265
22265
  "div",
22266
22266
  {
@@ -22327,7 +22327,7 @@ const Rj = async (e, s) => {
22327
22327
  ] })
22328
22328
  ] }),
22329
22329
  n && a(),
22330
- !window._env_.K8S_CLIENT && f && m >= 0 && m < $u && W() && /* @__PURE__ */ t.jsx(
22330
+ !window._env_.K8S_CLIENT && f && m >= 0 && m < $u && z() && /* @__PURE__ */ t.jsx(
22331
22331
  wj,
22332
22332
  {
22333
22333
  className: "w-300",
@@ -22391,10 +22391,10 @@ const Fj = (e) => [
22391
22391
  }
22392
22392
  }
22393
22393
  ) : /* @__PURE__ */ t.jsx(
22394
- K,
22394
+ W,
22395
22395
  {
22396
22396
  text: "Deploy helm charts",
22397
- component: gt.link,
22397
+ component: Et.link,
22398
22398
  linkProps: { to: De.CHARTS_DISCOVER },
22399
22399
  dataTestId: "deploy-helm-chart-on-header",
22400
22400
  size: L.small
@@ -22523,7 +22523,7 @@ const Fj = (e) => [
22523
22523
  /* @__PURE__ */ t.jsx(Z, { content: o, children: /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 dc__truncate dc__mxw-200", children: o }) })
22524
22524
  ] });
22525
22525
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
22526
- /* @__PURE__ */ t.jsx("div", { className: "flex left column", children: c ?? /* @__PURE__ */ t.jsx(Et, { condition: !!e, wrap: u, children: /* @__PURE__ */ t.jsxs(
22526
+ /* @__PURE__ */ t.jsx("div", { className: "flex left column", children: c ?? /* @__PURE__ */ t.jsx(xt, { condition: !!e, wrap: u, children: /* @__PURE__ */ t.jsxs(
22527
22527
  "div",
22528
22528
  {
22529
22529
  className: "commit-hash commit-hash--docker dc__gap-8",
@@ -23047,7 +23047,7 @@ const nO = (e) => {
23047
23047
  },
23048
23048
  []
23049
23049
  ), /* @__PURE__ */ t.jsx(
23050
- K,
23050
+ W,
23051
23051
  {
23052
23052
  dataTestId: "copy-button",
23053
23053
  text: "Copy link",
@@ -23069,7 +23069,7 @@ const nO = (e) => {
23069
23069
  ] }),
23070
23070
  /* @__PURE__ */ t.jsxs("div", { className: "px-24 py-20 flexbox dc__align-items-center dc__content-space", children: [
23071
23071
  /* @__PURE__ */ t.jsx(oO, { copyContent: n }),
23072
- /* @__PURE__ */ t.jsx(K, { dataTestId: "qr-dialog-got-it", text: "Got it", onClick: e })
23072
+ /* @__PURE__ */ t.jsx(W, { dataTestId: "qr-dialog-got-it", text: "Got it", onClick: e })
23073
23073
  ] })
23074
23074
  ] }) });
23075
23075
  }, cO = () => /* @__PURE__ */ t.jsx("div", { className: "flex p-6 border__primary br-8 dc__w-fit-content", children: /* @__PURE__ */ t.jsx(H, { name: "ic-devtron", color: "B500", size: 40 }) }), lO = ({ fingerprint: e, showHelpTooltip: s = !1 }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-6", children: [
@@ -23093,7 +23093,7 @@ const nO = (e) => {
23093
23093
  /* @__PURE__ */ t.jsx(Ht, { content: e })
23094
23094
  ] })
23095
23095
  ] }), dO = async (e) => {
23096
- await xt(F.LICENSE_DATA, { license: e }, { preventLicenseRedirect: !0 });
23096
+ await Nt(F.LICENSE_DATA, { license: e }, { preventLicenseRedirect: !0 });
23097
23097
  }, MB = ({
23098
23098
  fingerprint: e,
23099
23099
  enterpriseName: s,
@@ -23132,7 +23132,7 @@ const nO = (e) => {
23132
23132
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__content-space", children: [
23133
23133
  /* @__PURE__ */ t.jsx(cO, {}),
23134
23134
  n && /* @__PURE__ */ t.jsx(
23135
- K,
23135
+ W,
23136
23136
  {
23137
23137
  dataTestId: "close-dialog",
23138
23138
  variant: J.borderLess,
@@ -23166,7 +23166,7 @@ const nO = (e) => {
23166
23166
  ] }),
23167
23167
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-16", children: [
23168
23168
  /* @__PURE__ */ t.jsx(
23169
- K,
23169
+ W,
23170
23170
  {
23171
23171
  dataTestId: "activate-license",
23172
23172
  text: "Activate",
@@ -23178,7 +23178,7 @@ const nO = (e) => {
23178
23178
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__content-space", children: [
23179
23179
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 cn-9 lh-20 fw-4", children: "Don’t have license key?" }),
23180
23180
  /* @__PURE__ */ t.jsx(
23181
- K,
23181
+ W,
23182
23182
  {
23183
23183
  dataTestId: "get-license",
23184
23184
  text: "Get license",
@@ -23286,13 +23286,13 @@ const nO = (e) => {
23286
23286
  )
23287
23287
  ] }),
23288
23288
  /* @__PURE__ */ t.jsx(
23289
- K,
23289
+ W,
23290
23290
  {
23291
23291
  dataTestId: "contact-support",
23292
23292
  startIcon: /* @__PURE__ */ t.jsx(ju, {}),
23293
23293
  text: "Contact support",
23294
23294
  variant: J.text,
23295
- component: gt.anchor,
23295
+ component: Et.anchor,
23296
23296
  anchorProps: { href: Xu }
23297
23297
  }
23298
23298
  )
@@ -23834,7 +23834,7 @@ const NO = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
23834
23834
  parentPluginIds: s,
23835
23835
  pluginIds: n,
23836
23836
  parentPluginIdentifiers: o
23837
- }, { result: c } = await xt(
23837
+ }, { result: c } = await Nt(
23838
23838
  F.PLUGIN_GLOBAL_LIST_DETAIL_V2,
23839
23839
  i,
23840
23840
  { signal: a }
@@ -24017,21 +24017,21 @@ const NO = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
24017
24017
  // In case of persistFilters with change of searchKey or selectedTags we anyways clear the pluginList so no need to add dependency
24018
24018
  [y, g, T],
24019
24019
  c ? !E.length : !0
24020
- ), [q, W, oe, te] = Lt(
24020
+ ), [q, z, oe, te] = Lt(
24021
24021
  () => bO(g ? +g : null),
24022
24022
  [],
24023
24023
  !e?.length
24024
24024
  );
24025
24025
  P(() => {
24026
- !q && !oe && W && s(W);
24027
- }, [q, W, oe]);
24026
+ !q && !oe && z && s(z);
24027
+ }, [q, z, oe]);
24028
24028
  const Ee = (re, _e = !1) => {
24029
24029
  const {
24030
24030
  pluginStore: { parentPluginStore: me, pluginVersionStore: se },
24031
- totalCount: Y,
24031
+ totalCount: K,
24032
24032
  parentPluginIdList: xe
24033
24033
  } = re;
24034
- a(CO(n, me, se)), b(Y);
24034
+ a(CO(n, me, se)), b(K);
24035
24035
  const Ae = _e ? structuredClone(E) : [], Ke = Ae.reduce(
24036
24036
  (He, ct) => (He[ct.parentPluginId] = !0, He),
24037
24037
  {}
@@ -24397,11 +24397,11 @@ const MO = ({
24397
24397
  ] }),
24398
24398
  /* @__PURE__ */ t.jsx(a, {}),
24399
24399
  /* @__PURE__ */ t.jsx(
24400
- K,
24400
+ W,
24401
24401
  {
24402
24402
  icon: /* @__PURE__ */ t.jsx(Dt, {}),
24403
24403
  dataTestId: "table__action-widget--close",
24404
- component: gt.button,
24404
+ component: Et.button,
24405
24405
  style: ue.negativeGrey,
24406
24406
  variant: J.borderLess,
24407
24407
  ariaLabel: "Clear selection(s)",
@@ -24610,7 +24610,7 @@ const kO = ({
24610
24610
  changePage: D,
24611
24611
  changePageSize: B,
24612
24612
  clearFilters: q,
24613
- isFilterApplied: W,
24613
+ isFilterApplied: z,
24614
24614
  // Destructuring specific filters, grouping the rest with the rest operator
24615
24615
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
24616
24616
  handleSearch: oe,
@@ -24633,7 +24633,7 @@ const kO = ({
24633
24633
  const _e = X(
24634
24634
  () => p.reduce((G, pe, Re) => (G[pe.field] = Re, G), {}),
24635
24635
  [p]
24636
- ), [me, se, Y, xe] = Lt(async () => {
24636
+ ), [me, se, K, xe] = Lt(async () => {
24637
24637
  if (!n && !a)
24638
24638
  throw new Error("Neither rows nor getRows function provided");
24639
24639
  return BO({
@@ -24735,7 +24735,7 @@ const kO = ({
24735
24735
  },
24736
24736
  G.id
24737
24737
  );
24738
- }), ge = () => !me && !se?.length ? e !== yr.NONE && W ? /* @__PURE__ */ t.jsx(lc, { handleClearFilters: q }) : /* @__PURE__ */ t.jsx(Je, { ...c.noRowsConfig }) : Y && !me ? /* @__PURE__ */ t.jsx(Ln, { code: Y.code, reload: xe }) : /* @__PURE__ */ t.jsxs("div", { tabIndex: 0, role: "grid", className: "generic-table flexbox-col dc__overflow-hidden flex-grow-1", children: [
24738
+ }), ge = () => !me && !se?.length ? e !== yr.NONE && z ? /* @__PURE__ */ t.jsx(lc, { handleClearFilters: q }) : /* @__PURE__ */ t.jsx(Je, { ...c.noRowsConfig }) : K && !me ? /* @__PURE__ */ t.jsx(Ln, { code: K.code, reload: xe }) : /* @__PURE__ */ t.jsxs("div", { tabIndex: 0, role: "grid", className: "generic-table flexbox-col dc__overflow-hidden flex-grow-1", children: [
24739
24739
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col flex-grow-1 w-100 dc__overflow-auto", ref: I, children: [
24740
24740
  /* @__PURE__ */ t.jsx("div", { className: "bg__primary dc__min-width-fit-content px-20 border__secondary--bottom", children: h && !p.length ? /* @__PURE__ */ t.jsx("div", { className: "flexbox py-12 dc__gap-16", children: Ha.map((G) => /* @__PURE__ */ t.jsx("div", { className: "shimmer w-180" }, G)) }) : /* @__PURE__ */ t.jsx(
24741
24741
  "div",
@@ -25186,7 +25186,7 @@ const kO = ({
25186
25186
  isDisabled: l = !1
25187
25187
  }) => {
25188
25188
  const d = !!c || l, u = (m) => /* @__PURE__ */ t.jsx(Te, { className: "default-tt w-200", placement: "top", content: c, arrow: !1, children: /* @__PURE__ */ t.jsx("span", { children: m }) });
25189
- return /* @__PURE__ */ t.jsx(Et, { wrap: u, condition: !!c, children: /* @__PURE__ */ t.jsx("div", { className: d ? "cursor-not-allowed dc__position-rel" : "", children: /* @__PURE__ */ t.jsxs(
25189
+ return /* @__PURE__ */ t.jsx(xt, { wrap: u, condition: !!c, children: /* @__PURE__ */ t.jsx("div", { className: d ? "cursor-not-allowed dc__position-rel" : "", children: /* @__PURE__ */ t.jsxs(
25190
25190
  "div",
25191
25191
  {
25192
25192
  className: `flexbox p-12 dc__gap-12 dc__align-self-stretch br-4 border__secondary bg__primary dc__hover-n50 ${d ? "dc__disable-click dc__opacity-0_5" : ""}`,
@@ -25432,7 +25432,7 @@ function we(e, s = !0, n = !1) {
25432
25432
  description: "Some Error Occurred"
25433
25433
  })));
25434
25434
  }
25435
- const Et = ({ condition: e, wrap: s, children: n }) => e ? s(n) : /* @__PURE__ */ t.jsx(t.Fragment, { children: n });
25435
+ const xt = ({ condition: e, wrap: s, children: n }) => e ? s(n) : /* @__PURE__ */ t.jsx(t.Fragment, { children: n });
25436
25436
  function tL(e, s, n, a) {
25437
25437
  let r = s[e], o = n[e];
25438
25438
  return a && (r = r.toLowerCase(), o = o.toLowerCase()), r < o ? -1 : r > o ? 1 : 0;
@@ -26140,7 +26140,7 @@ const xL = new EL({
26140
26140
  handleLogout: hL,
26141
26141
  timeout: window?._env_?.GLOBAL_API_TIMEOUT,
26142
26142
  handleRedirectToLicenseActivation: gL
26143
- }), { post: xt, put: Tc, patch: NL, get: le, trash: oo } = xL, CL = {
26143
+ }), { post: Nt, put: Tc, patch: NL, get: le, trash: oo } = xL, CL = {
26144
26144
  alias: {}
26145
26145
  }, AV = ({ heading: e, isActive: s, shouldTruncate: n = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: `m-0 fs-16 fw-6 lh-32 ${n ? "dc__truncate" : ""} ${s ? "cn-9" : "cb-5"}`, children: e }), RV = ({ children: e }) => {
26146
26146
  const [s, n] = O(CL);
@@ -26201,7 +26201,7 @@ const e_ = ({
26201
26201
  const { url: a } = Ns(), r = e.filter((o) => !!o.name);
26202
26202
  return /* @__PURE__ */ t.jsx(t.Fragment, { children: r.map((o, i) => /* @__PURE__ */ t.jsxs(Le.Fragment, { children: [
26203
26203
  /* @__PURE__ */ t.jsx(
26204
- Et,
26204
+ xt,
26205
26205
  {
26206
26206
  condition: !!o.to,
26207
26207
  wrap: (c) => /* @__PURE__ */ t.jsx(
@@ -26346,7 +26346,7 @@ function vL(e, {
26346
26346
  queryParams: {
26347
26347
  id: e.appId
26348
26348
  }
26349
- }) : Xo.CI_PIPELINE_PATCH, xt(a, e);
26349
+ }) : Xo.CI_PIPELINE_PATCH, Nt(a, e);
26350
26350
  }
26351
26351
  function IL(e, s, n) {
26352
26352
  const a = n ? Hr({
@@ -26405,7 +26405,7 @@ const OV = ({
26405
26405
  };
26406
26406
  await vL(E, { isTemplateView: l }), typeof i == "function" && i(), await f();
26407
26407
  }, x = () => s ? /* @__PURE__ */ t.jsx(
26408
- K,
26408
+ W,
26409
26409
  {
26410
26410
  ariaLabel: "Delete pipeline",
26411
26411
  variant: J.borderLess,
@@ -26424,7 +26424,7 @@ const OV = ({
26424
26424
  fullWidth: !0
26425
26425
  }
26426
26426
  ) : /* @__PURE__ */ t.jsx(
26427
- K,
26427
+ W,
26428
26428
  {
26429
26429
  dataTestId: e,
26430
26430
  disabled: n,
@@ -26956,7 +26956,7 @@ const s_ = ({
26956
26956
  forceReInit: m,
26957
26957
  isSuperAdmin: p
26958
26958
  }) => {
26959
- const [f, h] = O(a || []), [x, g] = O(n ? n.comment : ""), [E, _] = O(o || []), [N, C] = O(n ? n.comment : ""), [S, I] = O(!1), [A, R] = O(!1), [b, v] = O(a || []), [y, T] = O(""), [j, w] = O([]), [M, D] = O([]), [B, q] = O([]), [W, oe] = O(""), [te, Ee] = O(""), [ve, V] = O(!1);
26959
+ const [f, h] = O(a || []), [x, g] = O(n ? n.comment : ""), [E, _] = O(o || []), [N, C] = O(n ? n.comment : ""), [S, I] = O(!1), [A, R] = O(!1), [b, v] = O(a || []), [y, T] = O(""), [j, w] = O([]), [M, D] = O([]), [B, q] = O([]), [z, oe] = O(""), [te, Ee] = O(""), [ve, V] = O(!1);
26960
26960
  P(() => {
26961
26961
  Q();
26962
26962
  }, [a, n, c]), P(() => {
@@ -27012,7 +27012,7 @@ const s_ = ({
27012
27012
  const mt = [...B, ge];
27013
27013
  q(mt);
27014
27014
  }
27015
- }, Y = ($) => {
27015
+ }, K = ($) => {
27016
27016
  $.forEach(({ userMessage: ge }) => {
27017
27017
  const G = j.map((Re) => ge?.appReleaseTags?.includes(Re.tagName) ? {
27018
27018
  ...Re,
@@ -27050,7 +27050,7 @@ const s_ = ({
27050
27050
  G.errors?.[0]?.userMessage?.appReleaseTags?.length ? (Me.showToast({
27051
27051
  variant: Ce.error,
27052
27052
  description: G.errors?.[0]?.internalMessage
27053
- }), Y(G.errors)) : we(G);
27053
+ }), K(G.errors)) : we(G);
27054
27054
  }).finally(() => {
27055
27055
  V(!1);
27056
27056
  });
@@ -27154,7 +27154,7 @@ const s_ = ({
27154
27154
  onChange: he,
27155
27155
  placeholder: "Enter comment",
27156
27156
  name: "add-image-comment-text-area",
27157
- error: W
27157
+ error: z
27158
27158
  }
27159
27159
  ) }),
27160
27160
  /* @__PURE__ */ t.jsxs("div", { className: "w-100 flex right mt-12", children: [
@@ -27350,7 +27350,7 @@ const s_ = ({
27350
27350
  /* @__PURE__ */ t.jsx(Z, { content: E, children: /* @__PURE__ */ t.jsx("p", { className: "dc__truncate--clamp-3 m-0 cn-9 fs-13 fw-4 lh-20", children: E }) })
27351
27351
  ] }),
27352
27352
  _ && /* @__PURE__ */ t.jsx(
27353
- K,
27353
+ W,
27354
27354
  {
27355
27355
  ..._
27356
27356
  }
@@ -27431,7 +27431,7 @@ const da = Le.memo(
27431
27431
  }) => {
27432
27432
  const { name: u, selected: m, select: p, disabled: f, onChange: h } = FL();
27433
27433
  return /* @__PURE__ */ t.jsx(
27434
- Et,
27434
+ xt,
27435
27435
  {
27436
27436
  condition: a,
27437
27437
  wrap: (x) => BL(x, r, o, l),
@@ -27596,7 +27596,7 @@ const UV = ({ value: e, disabled: s, children: n, dataTestId: a }) => /* @__PURE
27596
27596
  }
27597
27597
  ),
27598
27598
  u && /* @__PURE__ */ t.jsx("div", { className: "flex search-bar__clear-button dc__position-abs dc__transparent", children: /* @__PURE__ */ t.jsx(
27599
- K,
27599
+ W,
27600
27600
  {
27601
27601
  icon: /* @__PURE__ */ t.jsx(Cs, {}),
27602
27602
  size: L.xs,
@@ -27623,7 +27623,7 @@ const UV = ({ value: e, disabled: s, children: n, dataTestId: a }) => /* @__PURE
27623
27623
  const c = X(Gt, []), { value: l, icon: d, isError: u, label: m, tooltipProps: p, ariaLabel: f } = e, h = () => {
27624
27624
  a(e);
27625
27625
  };
27626
- return /* @__PURE__ */ t.jsx(Et, { condition: !!p?.content, wrap: KL(p), children: /* @__PURE__ */ t.jsxs("div", { className: `dc__position-rel dc__text-center dc__no-shrink ${r ? "flex-grow-1" : ""}`, children: [
27626
+ return /* @__PURE__ */ t.jsx(xt, { condition: !!p?.content, wrap: KL(p), children: /* @__PURE__ */ t.jsxs("div", { className: `dc__position-rel dc__text-center dc__no-shrink ${r ? "flex-grow-1" : ""}`, children: [
27627
27627
  /* @__PURE__ */ t.jsx(
27628
27628
  "input",
27629
27629
  {
@@ -27985,7 +27985,7 @@ export {
27985
27985
  dV as b,
27986
27986
  gV as b$,
27987
27987
  dr as b0,
27988
- Ct as b1,
27988
+ bt as b1,
27989
27989
  LU as b2,
27990
27990
  Bu as b3,
27991
27991
  As as b4,
@@ -28039,7 +28039,7 @@ export {
28039
28039
  PV as bp,
28040
28040
  pn as bq,
28041
28041
  we as br,
28042
- Et as bs,
28042
+ xt as bs,
28043
28043
  tL as bt,
28044
28044
  Se as bu,
28045
28045
  sL as bv,
@@ -28122,7 +28122,7 @@ export {
28122
28122
  VN as d5,
28123
28123
  Mu as d6,
28124
28124
  GN as d7,
28125
- Tt as d8,
28125
+ gt as d8,
28126
28126
  HN as d9,
28127
28127
  Ab as dA,
28128
28128
  d$ as dB,
@@ -28253,11 +28253,11 @@ export {
28253
28253
  iC as f7,
28254
28254
  Vu as f8,
28255
28255
  TC as f9,
28256
- K as fA,
28256
+ W as fA,
28257
28257
  ib as fB,
28258
28258
  J as fC,
28259
28259
  ue as fD,
28260
- gt as fE,
28260
+ Et as fE,
28261
28261
  gc as fF,
28262
28262
  pB as fG,
28263
28263
  Fm as fH,
@@ -28389,7 +28389,7 @@ export {
28389
28389
  jI as hD,
28390
28390
  OI as hE,
28391
28391
  LI as hF,
28392
- Nt as hG,
28392
+ Ct as hG,
28393
28393
  ii as hH,
28394
28394
  op as hI,
28395
28395
  Pv as hJ,
@@ -28513,7 +28513,7 @@ export {
28513
28513
  Tr as j9,
28514
28514
  On as jA,
28515
28515
  mI as jB,
28516
- bt as jC,
28516
+ Tt as jC,
28517
28517
  iv as jD,
28518
28518
  up as jE,
28519
28519
  zB as jF,
@@ -28725,7 +28725,7 @@ export {
28725
28725
  Yu as mQ,
28726
28726
  CC as mR,
28727
28727
  bC as mS,
28728
- z as mT,
28728
+ Y as mT,
28729
28729
  un as mU,
28730
28730
  lt as mV,
28731
28731
  hl as mW,
@@ -28779,7 +28779,7 @@ export {
28779
28779
  ia as o,
28780
28780
  Dn as p,
28781
28781
  xU as q,
28782
- xt as r,
28782
+ Nt as r,
28783
28783
  Tc as s,
28784
28784
  NL as t,
28785
28785
  yV as u,