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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,13 +6,13 @@ var th = (e, s, n) => s in e ? eh(e, s, { enumerable: !0, configurable: !0, writ
6
6
  var me = (e, s, n) => th(e, typeof s != "symbol" ? s + "" : s, n), bl = (e, s, n) => s.has(e) || Nl("Cannot " + n);
7
7
  var tn = (e, s, n) => (bl(e, s, "read from private field"), n ? n.call(e) : s.get(e)), nr = (e, s, n) => s.has(e) ? Nl("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), ar = (e, s, n, a) => (bl(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
8
8
  import { j as t, i as ye, Q as rr, k as sh, F as nh, d as nm, n as ah, c as rh, f as am, D as Br, t as qe, g as oh, a as ih, E as Ea, S as fc, b as rm, r as om, s as ch, o as lh, e as Tl, h as dh, l as uh, y as mh, m as Gr, p as ph, q as _h, u as Sl, v as vl, w as fh, x as hh, z as gh, A as xh, B as Eh, C as Ch, G as Nh, H as im, T as Al, I as hc, J as bh, K as Rl, L as Th, M as Sh, N as cm, O as Il, P as vh, R as Ah, U as Rh, V as Ih, W as yl, X as yh, Y as Oh, Z as jh, _ as Ol, $ as wh, a0 as jl, a1 as wl, a2 as Lh, a3 as Dh, a4 as Ph, a5 as Mh, a6 as kh, a7 as $h, a8 as Uh, a9 as zo, aa as Fh, ab as Bh, ac as Gh, ad as Vh, ae as Hh, af as lm, ag as dm, ah as Yh, ai as Wh, aj as Kh, ak as zh, al as qh, am as Xh, an as Jh, ao as Zh, ap as Qh, aq as eg, ar as tg, as as um, at as sg, au as ng, av as ag, aw as rg, ax as og, ay as ig, az as cg, aA as Ll, aB as Dl, aC as lg, aD as dg, aE as ug, aF as mg, aG as pg, aH as _g, aI as fg, aJ as hg, aK as mm, aL as pm, aM as gg, aN as xg, aO as Eg, aP as Cg, aQ as Ng, aR as bg, aS as Tg, aT as Sg, aU as vg, aV as Ag, aW as Rg, aX as Ig, aY as an } from "./@vendor-CtCMPfdc.js";
9
- import Ke, { createContext as Dt, useContext as os, useMemo as X, useState as w, useEffect as M, forwardRef as xo, createElement as gc, Children as Ti, useRef as B, useCallback as Ve, useLayoutEffect as xc, createRef as Vr, cloneElement as Ca, Fragment as ms, memo as At, Component as Ec } from "react";
9
+ import Ke, { createContext as Dt, useContext as is, useMemo as X, useState as w, useEffect as M, forwardRef as xo, createElement as gc, Children as Ti, useRef as B, useCallback as Ve, useLayoutEffect as xc, createRef as Vr, cloneElement as Ca, Fragment as ms, memo as At, Component as Ec } from "react";
10
10
  import { ReactComponent as yg } from "./assets/ic-info-filled-override.99e8094a.svg";
11
11
  import * as Og from "yaml";
12
- import ss, { parse as _m, YAMLParseError as jg } from "yaml";
12
+ import ns, { parse as _m, YAMLParseError as jg } from "yaml";
13
13
  import { ReactComponent as Cc } from "./assets/ic-info-outline.29f1089c.svg";
14
14
  import { ReactComponent as wg } from "./assets/ic-var-initial.afdaa854.svg";
15
- import { Link as qt, useLocation as is, useHistory as Gn, useParams as Rt, generatePath as Us, useRouteMatch as As, NavLink as Rs, Switch as fm, Route as cn, Redirect as Lg, Prompt as Dg } from "react-router-dom";
15
+ import { Link as qt, useLocation as cs, useHistory as Gn, useParams as Rt, generatePath as Us, useRouteMatch as As, NavLink as Rs, Switch as fm, Route as cn, Redirect as Lg, Prompt as Dg } from "react-router-dom";
16
16
  import { ReactComponent as Pg } from "./assets/ic-delete-interactive.304dd293.svg";
17
17
  import { ReactComponent as Eo } from "./assets/ic-warning.ecf7ff97.svg";
18
18
  import { ReactComponent as Mg } from "./assets/ic-spray-can.955302fc.svg";
@@ -622,6 +622,8 @@ const Ul = 6e4, Yr = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Ba = "htt
622
622
  APP_DETAILS: "details",
623
623
  APP_DETAILS_K8: "k8s-resources",
624
624
  // for V2
625
+ EXTERNAL_ARGO_APP: "eaa",
626
+ EXTERNAL_FLUX_APP: "external-flux",
625
627
  DETAILS: "/details",
626
628
  CD_DETAILS: "cd-details",
627
629
  APP_TRIGGER: "trigger",
@@ -941,7 +943,7 @@ const P0 = async (e, s) => {
941
943
  action: s
942
944
  });
943
945
  };
944
- var cp = /* @__PURE__ */ ((e) => (e.GET_LICENSE_CLICKED = "getLicenseClicked", e))(cp || {}), yc = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(yc || {}), M0 = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(M0 || {}), he = /* @__PURE__ */ ((e) => (e.Service = "Service", e.Alertmanager = "Alertmanager", e.PodSecurity = "PodSecurityPolicy", e.ConfigMap = "ConfigMap", e.ServiceAccount = "ServiceAccount", e.ClusterRoleBinding = "ClusterRoleBinding", e.RoleBinding = "RoleBinding", e.ClusterRole = "ClusterRole", e.Role = "Role", e.Prometheus = "Prometheus", e.ServiceMonitor = "ServiceMonitor", e.Deployment = "Deployment", e.MutatingWebhookConfiguration = "MutatingWebhookConfiguration", e.DaemonSet = "DaemonSet", e.Secret = "Secret", e.ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration", e.Pod = "Pod", e.Ingress = "Ingress", e.ReplicaSet = "ReplicaSet", e.Endpoints = "Endpoints", e.Cluster = "ClusterRoleBinding", e.PodSecurityPolicy = "PodSecurityPolicy", e.CronJob = "CronJob", e.Job = "Job", e.ReplicationController = "ReplicationController", e.StatefulSet = "StatefulSet", e.Rollout = "Rollout", e.PersistentVolumeClaim = "PersistentVolumeClaim", e.PersistentVolume = "PersistentVolume", e.Containers = "Containers", e.InitContainers = "InitContainers", e.EndpointSlice = "EndpointSlice", e.NetworkPolicy = "NetworkPolicy", e.StorageClass = "StorageClass", e.VolumeSnapshot = "VolumeSnapshot", e.VolumeSnapshotContent = "VolumeSnapshotContent", e.VolumeSnapshotClass = "VolumeSnapshotClass", e.PodDisruptionBudget = "PodDisruptionBudget", e.Event = "Event", e.Namespace = "Namespace", e.Node = "Node", e.Overview = "Overview", e.MonitoringDashboard = "MonitoringDashboard", e.UpgradeCluster = "UpgradeCluster", e.ResourceRecommender = "ResourceRecommender", e))(he || {}), xt = /* @__PURE__ */ ((e) => (e.DEVTRON_APP = "devtron_app", e.DEVTRON_HELM_CHART = "devtron_helm_chart", e.EXTERNAL_HELM_CHART = "external_helm_chart", e.EXTERNAL_ARGO_APP = "external_argo_app", e.EXTERNAL_FLUX_APP = "external_flux_app", e))(xt || {}), We = /* @__PURE__ */ ((e) => (e.GIT = "git", e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.DOCKER = "docker", e.DOCKER_HUB = "docker-hub", e.ACR = "acr", e.QUAY = "quay", e.ECR = "ecr", e.ARTIFACT_REGISTRY = "artifact-registry", e.GCR = "gcr", e.OTHER = "other", e))(We || {}), Oc = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Oc || {}), es = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(es || {}), k0 = /* @__PURE__ */ ((e) => (e.HEALTHY = "healthy", e.NONE = "none", e.UNKNOWN = "unknown", e.UPGRADING = "upgrading", e.UPGRADE_FAILED = "upgradeFailed", e.INSTALLED = "installed", e.INSTALLING = "installing", e.INSTALL_FAILED = "installFailed", e.NOT_INSTALLED = "notInstalled", e.TIMEOUT = "timeout", e))(k0 || {}), $0 = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))($0 || {}), lp = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(lp || {}), it = /* @__PURE__ */ ((e) => (e.devtronApplication = "application/devtron-application", e.helmChart = "application/helm-application", e.job = "job", e.cluster = "cluster", e.release = "release", e.releaseTrack = "release-track", e.releaseChannel = "release-channel", e.tenant = "tenant", e.installation = "installation", e.infrastructureInstallation = "installations", e.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(it || {}), jc = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(jc || {}), U0 = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(U0 || {}), Ra = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(Ra || {}), Zt = /* @__PURE__ */ ((e) => (e.Workloads = "Workloads", e.Networking = "Networking", e["Config & Storage"] = "Config & Storage", e.RBAC = "RBAC", e.Administration = "Administration", e["Custom Resource"] = "Custom Resource", e["Other Resources"] = "Other Resources", e.Events = "Events", e.Namespaces = "Namespaces", e.Nodes = "Nodes", e))(Zt || {}), F0 = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(F0 || {}), B0 = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(B0 || {}), vr = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(vr || {}), G0 = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(G0 || {}), dp = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(dp || {});
946
+ var cp = /* @__PURE__ */ ((e) => (e.GET_LICENSE_CLICKED = "getLicenseClicked", e))(cp || {}), yc = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(yc || {}), M0 = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(M0 || {}), he = /* @__PURE__ */ ((e) => (e.Service = "Service", e.Alertmanager = "Alertmanager", e.PodSecurity = "PodSecurityPolicy", e.ConfigMap = "ConfigMap", e.ServiceAccount = "ServiceAccount", e.ClusterRoleBinding = "ClusterRoleBinding", e.RoleBinding = "RoleBinding", e.ClusterRole = "ClusterRole", e.Role = "Role", e.Prometheus = "Prometheus", e.ServiceMonitor = "ServiceMonitor", e.Deployment = "Deployment", e.MutatingWebhookConfiguration = "MutatingWebhookConfiguration", e.DaemonSet = "DaemonSet", e.Secret = "Secret", e.ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration", e.Pod = "Pod", e.Ingress = "Ingress", e.ReplicaSet = "ReplicaSet", e.Endpoints = "Endpoints", e.Cluster = "ClusterRoleBinding", e.PodSecurityPolicy = "PodSecurityPolicy", e.CronJob = "CronJob", e.Job = "Job", e.ReplicationController = "ReplicationController", e.StatefulSet = "StatefulSet", e.Rollout = "Rollout", e.PersistentVolumeClaim = "PersistentVolumeClaim", e.PersistentVolume = "PersistentVolume", e.Containers = "Containers", e.InitContainers = "InitContainers", e.EndpointSlice = "EndpointSlice", e.NetworkPolicy = "NetworkPolicy", e.StorageClass = "StorageClass", e.VolumeSnapshot = "VolumeSnapshot", e.VolumeSnapshotContent = "VolumeSnapshotContent", e.VolumeSnapshotClass = "VolumeSnapshotClass", e.PodDisruptionBudget = "PodDisruptionBudget", e.Event = "Event", e.Namespace = "Namespace", e.Node = "Node", e.Overview = "Overview", e.MonitoringDashboard = "MonitoringDashboard", e.UpgradeCluster = "UpgradeCluster", e.ResourceRecommender = "ResourceRecommender", e))(he || {}), xt = /* @__PURE__ */ ((e) => (e.DEVTRON_APP = "devtron_app", e.DEVTRON_HELM_CHART = "devtron_helm_chart", e.EXTERNAL_HELM_CHART = "external_helm_chart", e.EXTERNAL_ARGO_APP = "external_argo_app", e.EXTERNAL_FLUX_APP = "external_flux_app", e))(xt || {}), We = /* @__PURE__ */ ((e) => (e.GIT = "git", e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.DOCKER = "docker", e.DOCKER_HUB = "docker-hub", e.ACR = "acr", e.QUAY = "quay", e.ECR = "ecr", e.ARTIFACT_REGISTRY = "artifact-registry", e.GCR = "gcr", e.OTHER = "other", e))(We || {}), Oc = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Oc || {}), ts = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(ts || {}), k0 = /* @__PURE__ */ ((e) => (e.HEALTHY = "healthy", e.NONE = "none", e.UNKNOWN = "unknown", e.UPGRADING = "upgrading", e.UPGRADE_FAILED = "upgradeFailed", e.INSTALLED = "installed", e.INSTALLING = "installing", e.INSTALL_FAILED = "installFailed", e.NOT_INSTALLED = "notInstalled", e.TIMEOUT = "timeout", e))(k0 || {}), $0 = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))($0 || {}), lp = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(lp || {}), it = /* @__PURE__ */ ((e) => (e.devtronApplication = "application/devtron-application", e.helmChart = "application/helm-application", e.job = "job", e.cluster = "cluster", e.release = "release", e.releaseTrack = "release-track", e.releaseChannel = "release-channel", e.tenant = "tenant", e.installation = "installation", e.infrastructureInstallation = "installations", e.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(it || {}), jc = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(jc || {}), U0 = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(U0 || {}), Ra = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(Ra || {}), Qt = /* @__PURE__ */ ((e) => (e.Workloads = "Workloads", e.Networking = "Networking", e["Config & Storage"] = "Config & Storage", e.RBAC = "RBAC", e.Administration = "Administration", e["Custom Resource"] = "Custom Resource", e["Other Resources"] = "Other Resources", e.Events = "Events", e.Namespaces = "Namespaces", e.Nodes = "Nodes", e))(Qt || {}), F0 = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(F0 || {}), B0 = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(B0 || {}), vr = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(vr || {}), G0 = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(G0 || {}), dp = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(dp || {});
945
947
  const C5 = [
946
948
  {
947
949
  label: "GUI",
@@ -1362,15 +1364,15 @@ const _v = {
1362
1364
  [Ar.Proxy]: "Via Proxy",
1363
1365
  [Ar.SSHTunnel]: "Via SSH Tunnel"
1364
1366
  }, $5 = "targetK8sVersion", Ep = Dt(null), U5 = () => {
1365
- const e = os(Ep);
1367
+ const e = is(Ep);
1366
1368
  if (!e)
1367
1369
  throw new Error("useImageSelectionUtilityContext must be used within ImageSelectionUtilityProvider");
1368
1370
  return e;
1369
1371
  }, F5 = ({ children: e, value: s }) => {
1370
1372
  const n = X(() => s, [s]);
1371
1373
  return /* @__PURE__ */ t.jsx(Ep.Provider, { value: n, children: e });
1372
- }, Cp = Dt(null), cs = () => {
1373
- const e = os(Cp);
1374
+ }, Cp = Dt(null), Xt = () => {
1375
+ const e = is(Cp);
1374
1376
  if (!e)
1375
1377
  throw new Error("Please wrap with MainContextProvider");
1376
1378
  return e;
@@ -1448,11 +1450,11 @@ const Vs = {
1448
1450
  );
1449
1451
  return /* @__PURE__ */ t.jsx(Tp.Provider, { value: m, children: e });
1450
1452
  }, hn = () => {
1451
- const e = os(Tp);
1453
+ const e = is(Tp);
1452
1454
  if (!e)
1453
1455
  throw new Error("useTheme must be used within ThemeProvider");
1454
1456
  return e;
1455
- }, Sp = Dt(null), Pc = () => os(Sp), V5 = ({ children: e }) => {
1457
+ }, Sp = Dt(null), Pc = () => is(Sp), V5 = ({ children: e }) => {
1456
1458
  const [s, n] = w(""), a = X(
1457
1459
  () => ({
1458
1460
  email: s,
@@ -1546,7 +1548,7 @@ const Vs = {
1546
1548
  n[r.index] = r;
1547
1549
  }), n;
1548
1550
  };
1549
- var Ov = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(Ov || {}), ua = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(ua || {}), jv = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(jv || {}), Be = /* @__PURE__ */ ((e) => (e.Internal = "", e.KubernetesConfigMap = "KubernetesConfigMap", e.KubernetesSecret = "KubernetesSecret", e.AWSSecretsManager = "AWSSecretsManager", e.AWSSystemManager = "AWSSystemManager", e.HashiCorpVault = "HashiCorpVault", e.ESO_GoogleSecretsManager = "ESO_GoogleSecretsManager", e.ESO_AWSSecretsManager = "ESO_AWSSecretsManager", e.ESO_AzureSecretsManager = "ESO_AzureSecretsManager", e.ESO_HashiCorpVault = "ESO_HashiCorpVault", e))(Be || {}), ns = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(ns || {}), Ui = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(Ui || {}), pt = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(pt || {}), Ks = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(Ks || {}), Io = /* @__PURE__ */ ((e) => (e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e))(Io || {}), vp = /* @__PURE__ */ ((e) => (e.DATA = "data", e.SAMPLE = "sample", e))(vp || {});
1551
+ var Ov = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(Ov || {}), ua = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(ua || {}), jv = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(jv || {}), Be = /* @__PURE__ */ ((e) => (e.Internal = "", e.KubernetesConfigMap = "KubernetesConfigMap", e.KubernetesSecret = "KubernetesSecret", e.AWSSecretsManager = "AWSSecretsManager", e.AWSSystemManager = "AWSSystemManager", e.HashiCorpVault = "HashiCorpVault", e.ESO_GoogleSecretsManager = "ESO_GoogleSecretsManager", e.ESO_AWSSecretsManager = "ESO_AWSSecretsManager", e.ESO_AzureSecretsManager = "ESO_AzureSecretsManager", e.ESO_HashiCorpVault = "ESO_HashiCorpVault", e))(Be || {}), as = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(as || {}), Ui = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(Ui || {}), pt = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(pt || {}), Ks = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(Ks || {}), Io = /* @__PURE__ */ ((e) => (e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e))(Io || {}), vp = /* @__PURE__ */ ((e) => (e.DATA = "data", e.SAMPLE = "sample", e))(vp || {});
1550
1552
  const wv = ({ baseUrl: e, kind: s, version: n, suffix: a, queryParams: r }) => He(`${e}/${s}/${n}${a ? `/${a}` : ""}`, r), W5 = ({ kind: e, version: s, queryParams: n, suffix: a }) => He(`global/policy/${e}/${s}${a ? `/${a}` : ""}`, n), Lv = (e, { isTemplateView: s }) => {
1551
1553
  const n = s ? yo({
1552
1554
  type: Ga.CD_PIPELINE,
@@ -1872,7 +1874,7 @@ const Q5 = async (e, s) => {
1872
1874
  valuesAndManifestFlag: kc.DEPLOYMENT_TEMPLATE
1873
1875
  }, { result: a } = await ft(Y.APP_TEMPLATE_DATA, n, {
1874
1876
  signal: s
1875
- }), r = Object.keys(a.variableSnapshot || {}).length > 0, o = ss.parse(a.data), i = ss.parse(a.resolvedData);
1877
+ }), r = Object.keys(a.variableSnapshot || {}).length > 0, o = ns.parse(a.data), i = ns.parse(a.resolvedData);
1876
1878
  return {
1877
1879
  data: wt(o),
1878
1880
  resolvedData: wt(i),
@@ -2179,7 +2181,7 @@ const Yl = (e) => ({
2179
2181
  )) })
2180
2182
  ] });
2181
2183
  };
2182
- var sA = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(sA || {}), F = /* @__PURE__ */ ((e) => (e.CPU_LIMIT = "cpu_limit", e.CPU_REQUEST = "cpu_request", e.MEMORY_LIMIT = "memory_limit", e.MEMORY_REQUEST = "memory_request", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node_selector", e.TOLERANCE = "tolerations", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(F || {}), ts = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(ts || {}), we = /* @__PURE__ */ ((e) => (e.CPU = "cpu", e.MEMORY = "memory", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node selector", e.TOLERANCE = "tolerance", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(we || {}), yp = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(yp || {}), Hs = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(Hs || {}), Op = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(Op || {}), Kr = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(Kr || {}), Ia = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(Ia || {}), Bi = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.VALUE = "VALUE", e))(Bi || {}), Gi = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.OPERATOR = "OPERATOR", e.VALUE = "VALUE", e.EFFECT = "EFFECT", e))(Gi || {}), It = /* @__PURE__ */ ((e) => (e.ADD_TARGET_PLATFORM = "add_target_platform", e.REMOVE_TARGET_PLATFORM = "remove_target_platform", e.RENAME_TARGET_PLATFORM = "rename_target_platform", e.RESTORE_PROFILE_CONFIG_SNAPSHOT = "restore_profile_config_snapshot", e.DELETE_NODE_SELECTOR_ITEM = "delete_node_selector_item", e.ADD_NODE_SELECTOR_ITEM = "add_node_selector_item", e.EDIT_NODE_SELECTOR_ITEM = "edit_node_selector_item", e.DELETE_TOLERANCE_ITEM = "delete_tolerance_item", e.ADD_TOLERANCE_ITEM = "add_tolerance_item", e.EDIT_TOLERANCE_ITEM = "edit_tolerance_item", e.ADD_CM_CS_ITEM = "add_cm_cs_item", e.SYNC_CM_CS_ITEM = "sync_cm_cs_item", e.DELETE_CM_CS_ITEM = "delete_cm_cs_item", e))(It || {}), jp = /* @__PURE__ */ ((e) => (e.ALPHA1 = "alpha1", e))(jp || {});
2184
+ var sA = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(sA || {}), F = /* @__PURE__ */ ((e) => (e.CPU_LIMIT = "cpu_limit", e.CPU_REQUEST = "cpu_request", e.MEMORY_LIMIT = "memory_limit", e.MEMORY_REQUEST = "memory_request", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node_selector", e.TOLERANCE = "tolerations", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(F || {}), ss = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(ss || {}), we = /* @__PURE__ */ ((e) => (e.CPU = "cpu", e.MEMORY = "memory", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node selector", e.TOLERANCE = "tolerance", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(we || {}), yp = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(yp || {}), Hs = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(Hs || {}), Op = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(Op || {}), Kr = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(Kr || {}), Ia = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(Ia || {}), Bi = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.VALUE = "VALUE", e))(Bi || {}), Gi = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.OPERATOR = "OPERATOR", e.VALUE = "VALUE", e.EFFECT = "EFFECT", e))(Gi || {}), It = /* @__PURE__ */ ((e) => (e.ADD_TARGET_PLATFORM = "add_target_platform", e.REMOVE_TARGET_PLATFORM = "remove_target_platform", e.RENAME_TARGET_PLATFORM = "rename_target_platform", e.RESTORE_PROFILE_CONFIG_SNAPSHOT = "restore_profile_config_snapshot", e.DELETE_NODE_SELECTOR_ITEM = "delete_node_selector_item", e.ADD_NODE_SELECTOR_ITEM = "add_node_selector_item", e.EDIT_NODE_SELECTOR_ITEM = "edit_node_selector_item", e.DELETE_TOLERANCE_ITEM = "delete_tolerance_item", e.ADD_TOLERANCE_ITEM = "add_tolerance_item", e.EDIT_TOLERANCE_ITEM = "edit_tolerance_item", e.ADD_CM_CS_ITEM = "add_cm_cs_item", e.SYNC_CM_CS_ITEM = "sync_cm_cs_item", e.DELETE_CM_CS_ITEM = "delete_cm_cs_item", e))(It || {}), jp = /* @__PURE__ */ ((e) => (e.ALPHA1 = "alpha1", e))(jp || {});
2183
2185
  const zs = {
2184
2186
  // Will not enforce any decimal specification on input field
2185
2187
  STEP: "any",
@@ -2283,10 +2285,10 @@ const zs = {
2283
2285
  ), wp = Object.fromEntries(
2284
2286
  Object.values({
2285
2287
  ...F,
2286
- ...ts,
2288
+ ...ss,
2287
2289
  ...Ia
2288
2290
  }).map((e) => [e, null])
2289
- ), nA = [ts.NAME], Wl = {
2291
+ ), nA = [ss.NAME], Wl = {
2290
2292
  SUBMIT_BUTTON: "build-infra-submit-button",
2291
2293
  CANCEL_BUTTON: "build-infra-cancel-button"
2292
2294
  }, Cs = "runner", aA = jp.ALPHA1, Kl = {
@@ -2358,7 +2360,7 @@ const zs = {
2358
2360
  const r = (o) => {
2359
2361
  if (e) {
2360
2362
  e({
2361
- action: ts.DESCRIPTION,
2363
+ action: ss.DESCRIPTION,
2362
2364
  data: { value: o.currentTarget.value }
2363
2365
  });
2364
2366
  return;
@@ -2393,7 +2395,7 @@ const zs = {
2393
2395
  const d = s[e];
2394
2396
  if (!d)
2395
2397
  throw new Error(`Icon with name "${e}" does not exist.`);
2396
- const u = () => as(l) ? {
2398
+ const u = () => rs(l) ? {
2397
2399
  "--flip-x": 1,
2398
2400
  "--flip-y": 1
2399
2401
  } : l === "horizontal" ? { "--flip-x": -1, "--flip-y": 1 } : { "--flip-x": 1, "--flip-y": -1 };
@@ -2405,7 +2407,7 @@ const zs = {
2405
2407
  style: {
2406
2408
  ...r ? { "--iconColor": `var(--${r})` } : {},
2407
2409
  ...Qo[n] ? { "--strokeWidth": Qo[n] } : {},
2408
- ...as(i) ? {} : { "--rotateBy": `${i}deg` },
2410
+ ...rs(i) ? {} : { "--rotateBy": `${i}deg` },
2409
2411
  ...u()
2410
2412
  }
2411
2413
  }
@@ -3215,7 +3217,7 @@ const Zl = (e) => {
3215
3217
  } = n;
3216
3218
  if (o)
3217
3219
  return /* @__PURE__ */ t.jsx(Je.ValueContainer, { ...n });
3218
- const l = as(s) ? (a() ?? []).length : s, d = Ti.count(c);
3220
+ const l = rs(s) ? (a() ?? []).length : s, d = Ti.count(c);
3219
3221
  return /* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-8 flex-grow-1", children: [
3220
3222
  /* @__PURE__ */ t.jsx("div", { className: "flex left flex-grow-1", children: /* @__PURE__ */ t.jsx(Je.ValueContainer, { ...n, children: r && l > 0 && !i ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
3221
3223
  /* @__PURE__ */ t.jsx("p", { className: "m-0 fs-13 fw-4 lh-20 cn-9 dc__truncate", children: r }),
@@ -3606,7 +3608,7 @@ const Zl = (e) => {
3606
3608
  isGroupHeadingSelectable: _e = !1,
3607
3609
  getIsOptionValid: ee = () => !0,
3608
3610
  customDisplayText: Ne = null
3609
- } = g, ze = Pt && !Ne, ys = !f && i, Jn = !b && S, Zn = D ?? !f, Xt = X(
3611
+ } = g, ze = Pt && !Ne, ys = !f && i, Jn = !b && S, Zn = D ?? !f, Jt = X(
3610
3612
  () => TA({
3611
3613
  error: e,
3612
3614
  size: c,
@@ -3666,7 +3668,7 @@ const Zl = (e) => {
3666
3668
  }, Zf = (De) => {
3667
3669
  ie(!1), te.onBlur?.(De);
3668
3670
  }, Qf = (...De) => {
3669
- f && as(te.inputValue) && Re(Se), te.onChange?.(...De);
3671
+ f && rs(te.inputValue) && Re(Se), te.onChange?.(...De);
3670
3672
  };
3671
3673
  return M(() => {
3672
3674
  Ee && setTimeout(() => {
@@ -3713,7 +3715,7 @@ const Zl = (e) => {
3713
3715
  classNamePrefix: N || Ye,
3714
3716
  isSearchable: Jn,
3715
3717
  placeholder: r,
3716
- styles: Xt,
3718
+ styles: Jt,
3717
3719
  menuPlacement: "auto",
3718
3720
  menuPosition: _,
3719
3721
  menuShouldScrollIntoView: !0,
@@ -3962,7 +3964,7 @@ const Zl = (e) => {
3962
3964
  }
3963
3965
  );
3964
3966
  }, Bp = Dt(null), FA = () => {
3965
- const e = os(Bp);
3967
+ const e = is(Bp);
3966
3968
  return e || {
3967
3969
  disableFocusTrap: ge,
3968
3970
  resumeFocusTrap: ge
@@ -4589,7 +4591,7 @@ const Zl = (e) => {
4589
4591
  type: p = "neutral",
4590
4592
  isDisabled: _,
4591
4593
  componentType: h = "button"
4592
- } = e, { isEnterprise: E } = cs(), x = (O) => {
4594
+ } = e, { isEnterprise: E } = Xt(), x = (O) => {
4593
4595
  n && O && O.scrollIntoView({ block: "nearest", behavior: "smooth" });
4594
4596
  }, g = p === "negative", f = `w-100 flex left top dc__gap-8 py-6 px-8 ${_ ? "dc__disabled" : "cursor"}`, C = (O) => {
4595
4597
  _ || a(e, O);
@@ -5014,7 +5016,7 @@ ${d.slice(b)}`;
5014
5016
  }, _ = (g) => {
5015
5017
  const f = {
5016
5018
  unit: g.label,
5017
- value: as(l) ? l : +l
5019
+ value: rs(l) ? l : +l
5018
5020
  };
5019
5021
  p(f);
5020
5022
  }, h = (g) => {
@@ -5050,7 +5052,7 @@ ${d.slice(b)}`;
5050
5052
  min: zs.MIN,
5051
5053
  className: `form__input dc__no-right-border dc__no-right-radius ${u ? "dc__disabled" : ""}`,
5052
5054
  placeholder: n,
5053
- value: as(l) ? "" : l,
5055
+ value: rs(l) ? "" : l,
5054
5056
  onChange: h,
5055
5057
  required: r,
5056
5058
  autoComplete: "off",
@@ -5108,7 +5110,7 @@ ${d.slice(b)}`;
5108
5110
  const r = (o) => {
5109
5111
  if (s) {
5110
5112
  s({
5111
- action: ts.NAME,
5113
+ action: ss.NAME,
5112
5114
  data: { value: o.currentTarget.value }
5113
5115
  });
5114
5116
  return;
@@ -5154,7 +5156,7 @@ ${d.slice(b)}`;
5154
5156
  {
5155
5157
  handleProfileInputChange: n,
5156
5158
  currentValue: e.name,
5157
- error: s[ts.NAME]
5159
+ error: s[ss.NAME]
5158
5160
  }
5159
5161
  ),
5160
5162
  /* @__PURE__ */ t.jsx(
@@ -5162,7 +5164,7 @@ ${d.slice(b)}`;
5162
5164
  {
5163
5165
  handleProfileInputChange: n,
5164
5166
  currentValue: e.description,
5165
- error: s[ts.DESCRIPTION]
5167
+ error: s[ss.DESCRIPTION]
5166
5168
  }
5167
5169
  )
5168
5170
  ] }),
@@ -5206,7 +5208,7 @@ ${d.slice(b)}`;
5206
5208
  ] })
5207
5209
  ] }) : /* @__PURE__ */ t.jsx(Qe, { pageLoader: !0 });
5208
5210
  }, SR = Dt(null), N2 = () => {
5209
- const e = os(SR);
5211
+ const e = is(SR);
5210
5212
  if (!e)
5211
5213
  throw new Error("Please wrap parent component with BuildInfraUtilityProvider");
5212
5214
  return e;
@@ -5866,14 +5868,14 @@ const I2 = (e, s = !1) => {
5866
5868
  i.profile.configurations[S] || v
5867
5869
  );
5868
5870
  switch (f) {
5869
- case ts.DESCRIPTION: {
5871
+ case ss.DESCRIPTION: {
5870
5872
  const { value: T } = C;
5871
- N.description = T, b[ts.DESCRIPTION] = yR(T).message;
5873
+ N.description = T, b[ss.DESCRIPTION] = yR(T).message;
5872
5874
  break;
5873
5875
  }
5874
- case ts.NAME: {
5876
+ case ss.NAME: {
5875
5877
  const { value: T } = C;
5876
- N.name = T, b[ts.NAME] = IR(T).message;
5878
+ N.name = T, b[ss.NAME] = IR(T).message;
5877
5879
  break;
5878
5880
  }
5879
5881
  case F.CPU_LIMIT:
@@ -6796,13 +6798,13 @@ function QR(e, s) {
6796
6798
  case he.CronJob:
6797
6799
  case he.ReplicationController:
6798
6800
  case he.StatefulSet:
6799
- return Zt.Workloads;
6801
+ return Qt.Workloads;
6800
6802
  case he.Ingress:
6801
6803
  case he.Service:
6802
6804
  case he.Endpoints:
6803
6805
  case he.EndpointSlice:
6804
6806
  case he.NetworkPolicy:
6805
- return Zt.Networking;
6807
+ return Qt.Networking;
6806
6808
  case he.ConfigMap:
6807
6809
  case he.Secret:
6808
6810
  case he.PersistentVolume:
@@ -6812,27 +6814,27 @@ function QR(e, s) {
6812
6814
  case he.VolumeSnapshotContent:
6813
6815
  case he.VolumeSnapshotClass:
6814
6816
  case he.PodDisruptionBudget:
6815
- return Zt["Config & Storage"];
6817
+ return Qt["Config & Storage"];
6816
6818
  case he.ServiceAccount:
6817
6819
  case he.ClusterRoleBinding:
6818
6820
  case he.RoleBinding:
6819
6821
  case he.ClusterRole:
6820
6822
  case he.Role:
6821
6823
  case he.PodSecurityPolicy:
6822
- return Zt.RBAC;
6824
+ return Qt.RBAC;
6823
6825
  case he.MutatingWebhookConfiguration:
6824
6826
  case he.ValidatingWebhookConfiguration:
6825
- return Zt.Administration;
6827
+ return Qt.Administration;
6826
6828
  case he.Alertmanager:
6827
6829
  case he.Prometheus:
6828
6830
  case he.ServiceMonitor:
6829
- return Zt["Custom Resource"];
6831
+ return Qt["Custom Resource"];
6830
6832
  case he.Event:
6831
- return Zt.Events;
6833
+ return Qt.Events;
6832
6834
  case he.Namespace:
6833
- return Zt.Namespaces;
6835
+ return Qt.Namespaces;
6834
6836
  default:
6835
- return s ? Zt["Other Resources"] : Zt["Custom Resource"];
6837
+ return s ? Qt["Other Resources"] : Qt["Custom Resource"];
6836
6838
  }
6837
6839
  }
6838
6840
  const z2 = (e, s, n, a) => ({
@@ -7001,7 +7003,7 @@ const i3 = (e, s, n = Ae.ASC) => n === Ae.ASC ? ue(s).diff(ue(e)) : ue(e).diff(u
7001
7003
  r && d.current || u != null && m.unobserve(u);
7002
7004
  };
7003
7005
  }, [i.current, e]), c;
7004
- }, as = (e) => e == null, l3 = (e) => {
7006
+ }, rs = (e) => e == null, l3 = (e) => {
7005
7007
  const s = e.target instanceof HTMLTextAreaElement;
7006
7008
  e.key === "Enter" && !s && e.preventDefault();
7007
7009
  }, d3 = (e = []) => e.reduce(
@@ -7130,7 +7132,7 @@ const dI = (e, s = !1) => s ? btoa(e) : atob(e), Ki = (e, s = !1) => Object.keys
7130
7132
  const a = n.toLowerCase(), r = e[n];
7131
7133
  return r && typeof r == "object" ? s[a] = Wc(r) : s[a] = r, s;
7132
7134
  }, {}), Qp = (e, s) => {
7133
- const n = Wc(s), r = e === rs.WEBHOOK || n?.webhookdata?.id !== 0 ? n.webhookdata : {}, o = ue(r.data.date, "YYYY-MM-DDTHH:mm:ssZ");
7135
+ const n = Wc(s), r = e === os.WEBHOOK || n?.webhookdata?.id !== 0 ? n.webhookdata : {}, o = ue(r.data.date, "YYYY-MM-DDTHH:mm:ssZ");
7134
7136
  return o.isValid() ? o.format(St.TWELVE_HOURS_FORMAT) : r.data.date;
7135
7137
  }, vt = (e) => ah(e), _3 = (e, s = "") => ({ pathname: n }) => e === n || s || lv, jo = (e) => {
7136
7138
  if (!e?.length)
@@ -7210,7 +7212,7 @@ const wI = () => {
7210
7212
  result: n
7211
7213
  };
7212
7214
  });
7213
- }, rs = {
7215
+ }, os = {
7214
7216
  BranchFixed: "SOURCE_TYPE_BRANCH_FIXED",
7215
7217
  WEBHOOK: "WEBHOOK",
7216
7218
  BranchRegex: "SOURCE_TYPE_BRANCH_REGEX"
@@ -7288,7 +7290,7 @@ const t_ = (e) => ({
7288
7290
  tag: g.tag || "",
7289
7291
  webhookData: g.webhookData || "",
7290
7292
  url: g.url || "",
7291
- branch: (m.ciConfigureSourceType === rs.WEBHOOK ? m.ciConfigureSourceValue : g.branch) || "",
7293
+ branch: (m.ciConfigureSourceType === os.WEBHOOK ? m.ciConfigureSourceValue : g.branch) || "",
7292
7294
  type: m.ciConfigureSourceType || ""
7293
7295
  })) : [],
7294
7296
  filterState: h,
@@ -7618,7 +7620,7 @@ const GI = (e, s) => {
7618
7620
  o && !e ? s(!0) : !o && e && s(!1);
7619
7621
  }
7620
7622
  };
7621
- }, n_ = Dt(null), Qs = () => os(n_), mr = (e) => {
7623
+ }, n_ = Dt(null), Qs = () => is(n_), mr = (e) => {
7622
7624
  if (!e)
7623
7625
  throw new Error("keys undefined");
7624
7626
  const s = e.map((n) => `${n}`.toUpperCase()).sort();
@@ -7769,14 +7771,14 @@ const GI = (e, s) => {
7769
7771
  };
7770
7772
  }, _d = (e, s) => {
7771
7773
  e && localStorage.setItem(e, s);
7772
- }, zI = (e) => !e || !Object.keys(e).length ? !1 : Object.keys(e).some((s) => as(e[s]) ? !1 : Array.isArray(e[s]) || typeof e[s] == "string" ? e[s].length > 0 : !0), { PAGE_SIZE: fd, PAGE_NUMBER: ni, SEARCH_KEY: hd, SORT_BY: gd, SORT_ORDER: xd } = KI, Xc = ({
7774
+ }, zI = (e) => !e || !Object.keys(e).length ? !1 : Object.keys(e).some((s) => rs(e[s]) ? !1 : Array.isArray(e[s]) || typeof e[s] == "string" ? e[s].length > 0 : !0), { PAGE_SIZE: fd, PAGE_NUMBER: ni, SEARCH_KEY: hd, SORT_BY: gd, SORT_ORDER: xd } = KI, Xc = ({
7773
7775
  initialSortKey: e,
7774
7776
  parseSearchParams: s,
7775
7777
  localStorageKey: n,
7776
7778
  redirectionMethod: a = "replace",
7777
7779
  defaultPageSize: r = On
7778
7780
  } = {}) => {
7779
- const o = is(), i = Gn(), c = B(!1), d = (() => {
7781
+ const o = cs(), i = Gn(), c = B(!1), d = (() => {
7780
7782
  const I = new URLSearchParams(o.search);
7781
7783
  if (!c.current && n)
7782
7784
  if (o.search)
@@ -8083,7 +8085,7 @@ const o_ = {
8083
8085
  }
8084
8086
  };
8085
8087
  }, ay = () => {
8086
- const { currentServerInfo: e, isEnterprise: s, isFELibAvailable: n } = cs(), a = e?.serverInfo?.currentVersion, r = n === s, o = () => {
8088
+ const { currentServerInfo: e, isEnterprise: s, isFELibAvailable: n } = Xt(), a = e?.serverInfo?.currentVersion, r = n === s, o = () => {
8087
8089
  Ns.event({
8088
8090
  category: "about-devtron",
8089
8091
  action: "ABOUT_DEVTRON_LICENSE_AGREEMENT_CLICKED"
@@ -8683,7 +8685,7 @@ const o_ = {
8683
8685
  // the initial render and could be added later based on certain conditions.
8684
8686
  // By using isStickyElementMounted as a dependency, we make sure that the effect
8685
8687
  // re-runs when the element is rendered, allowing the stickyElementRef to be populated.
8686
- as(a) ? [] : [a]
8688
+ rs(a) ? [] : [a]
8687
8689
  ), { stickyElementRef: r, isStuck: o };
8688
8690
  }, l_ = "userPreferences", Cy = {
8689
8691
  [it.devtronApplication]: null,
@@ -8896,7 +8898,7 @@ const Ny = ({
8896
8898
  openInNewTab: u = !1,
8897
8899
  fullWidth: m = !1
8898
8900
  }) => {
8899
- const { isEnterprise: p, setSidePanelConfig: _, isLicenseDashboard: h } = cs(), E = i_(), x = KA({
8901
+ const { isEnterprise: p, setSidePanelConfig: _, isLicenseDashboard: h } = Xt(), E = i_(), x = KA({
8900
8902
  docLinkKey: e,
8901
8903
  isEnterprise: p,
8902
8904
  isExternalLink: d,
@@ -8946,7 +8948,7 @@ const Ny = ({
8946
8948
  (n) => n !== We.OTHER && e.includes(n)
8947
8949
  );
8948
8950
  return s ? Or[s] : Or[We.OTHER];
8949
- }, Qt = ({ registryType: e, size: s = 20, registryUrl: n }) => /* @__PURE__ */ t.jsx(
8951
+ }, es = ({ registryType: e, size: s = 20, registryUrl: n }) => /* @__PURE__ */ t.jsx(
8950
8952
  $,
8951
8953
  {
8952
8954
  name: e ? Or[e] : Ay(n),
@@ -8976,7 +8978,7 @@ const Ny = ({
8976
8978
  defaultValue: "",
8977
8979
  placeholder: ""
8978
8980
  },
8979
- startIcon: /* @__PURE__ */ t.jsx(Qt, { registryType: We.ECR })
8981
+ startIcon: /* @__PURE__ */ t.jsx(es, { registryType: We.ECR })
8980
8982
  },
8981
8983
  "docker-hub": {
8982
8984
  value: "docker-hub",
@@ -9000,7 +9002,7 @@ const Ny = ({
9000
9002
  defaultValue: "",
9001
9003
  placeholder: ""
9002
9004
  },
9003
- startIcon: /* @__PURE__ */ t.jsx(Qt, { registryType: We.DOCKER_HUB })
9005
+ startIcon: /* @__PURE__ */ t.jsx(es, { registryType: We.DOCKER_HUB })
9004
9006
  },
9005
9007
  gitlab: {
9006
9008
  value: "gitlab",
@@ -9024,7 +9026,7 @@ const Ny = ({
9024
9026
  defaultValue: "",
9025
9027
  placeholder: ""
9026
9028
  },
9027
- startIcon: /* @__PURE__ */ t.jsx(Qt, { registryType: We.GITLAB })
9029
+ startIcon: /* @__PURE__ */ t.jsx(es, { registryType: We.GITLAB })
9028
9030
  },
9029
9031
  acr: {
9030
9032
  value: "acr",
@@ -9048,7 +9050,7 @@ const Ny = ({
9048
9050
  defaultValue: "",
9049
9051
  placeholder: ""
9050
9052
  },
9051
- startIcon: /* @__PURE__ */ t.jsx(Qt, { registryType: We.ACR })
9053
+ startIcon: /* @__PURE__ */ t.jsx(es, { registryType: We.ACR })
9052
9054
  },
9053
9055
  "artifact-registry": {
9054
9056
  value: "artifact-registry",
@@ -9072,7 +9074,7 @@ const Ny = ({
9072
9074
  defaultValue: "",
9073
9075
  placeholder: "Paste json file content here"
9074
9076
  },
9075
- startIcon: /* @__PURE__ */ t.jsx(Qt, { registryType: We.ARTIFACT_REGISTRY })
9077
+ startIcon: /* @__PURE__ */ t.jsx(es, { registryType: We.ARTIFACT_REGISTRY })
9076
9078
  },
9077
9079
  gcr: {
9078
9080
  value: "gcr",
@@ -9096,7 +9098,7 @@ const Ny = ({
9096
9098
  defaultValue: "",
9097
9099
  placeholder: "Paste json file content here"
9098
9100
  },
9099
- startIcon: /* @__PURE__ */ t.jsx(Qt, { registryType: We.GCR })
9101
+ startIcon: /* @__PURE__ */ t.jsx(es, { registryType: We.GCR })
9100
9102
  },
9101
9103
  quay: {
9102
9104
  value: "quay",
@@ -9120,7 +9122,7 @@ const Ny = ({
9120
9122
  defaultValue: "",
9121
9123
  placeholder: ""
9122
9124
  },
9123
- startIcon: /* @__PURE__ */ t.jsx(Qt, { registryType: We.QUAY })
9125
+ startIcon: /* @__PURE__ */ t.jsx(es, { registryType: We.QUAY })
9124
9126
  },
9125
9127
  other: {
9126
9128
  value: "other",
@@ -9144,7 +9146,7 @@ const Ny = ({
9144
9146
  defaultValue: "",
9145
9147
  placeholder: ""
9146
9148
  },
9147
- startIcon: /* @__PURE__ */ t.jsx(Qt, { registryType: We.OTHER })
9149
+ startIcon: /* @__PURE__ */ t.jsx(es, { registryType: We.OTHER })
9148
9150
  }
9149
9151
  }, Ry = ({ name: e }) => /* @__PURE__ */ t.jsx("div", { className: "bg__secondary py-2 px-6 dc__mxw-200 br-4", children: /* @__PURE__ */ t.jsx(Q, { content: e, children: /* @__PURE__ */ t.jsx("span", { className: "dc__truncate cn-7 fs-12 fw-5 lh-16", children: e }) }) }), Iy = ({ targetPlatforms: e }) => e?.length ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-start", children: [
9150
9152
  /* @__PURE__ */ t.jsx(bc, { className: "icon-dim-20 dc__no-shrink scn-7 p-2" }),
@@ -9485,7 +9487,7 @@ const Ly = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
9485
9487
  "data-testid": "hover-on-report-artifact",
9486
9488
  children: [
9487
9489
  /* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-12", children: [
9488
- /* @__PURE__ */ t.jsx("div", { className: "bcn-1 flex br-4 icon-dim-40", children: e === "report" ? /* @__PURE__ */ t.jsx($, { name: "ic-folder", size: 20, color: "N500" }) : /* @__PURE__ */ t.jsx(Qt, { registryUrl: C }) }),
9490
+ /* @__PURE__ */ t.jsx("div", { className: "bcn-1 flex br-4 icon-dim-40", children: e === "report" ? /* @__PURE__ */ t.jsx($, { name: "ic-folder", size: 20, color: "N500" }) : /* @__PURE__ */ t.jsx(es, { registryUrl: C }) }),
9489
9491
  a
9490
9492
  ] }),
9491
9493
  e !== "report" && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
@@ -10098,7 +10100,7 @@ const Qy = (e, s) => {
10098
10100
  primaryBranchAfterRegex: c,
10099
10101
  rootClassName: l = ""
10100
10102
  }) => {
10101
- const d = e === rs.WEBHOOK, u = e === rs.BranchRegex || !!o || i, [m, p] = w(""), [_, h] = w(""), [E, x] = w(!!d), [g, f] = w(!1), C = () => {
10103
+ const d = e === os.WEBHOOK, u = e === os.BranchRegex || !!o || i, [m, p] = w(""), [_, h] = w(""), [E, x] = w(!!d), [g, f] = w(!1), C = () => {
10102
10104
  if (d) {
10103
10105
  x(!0), f(!1);
10104
10106
  const v = JSON.parse(s);
@@ -10739,7 +10741,7 @@ const UO = (e) => {
10739
10741
  s.strategy = {
10740
10742
  displayName: "Deployment strategy",
10741
10743
  value: e.strategy,
10742
- ...n && a && !as(r) ? {
10744
+ ...n && a && !rs(r) ? {
10743
10745
  tooltipContent: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col br-4 w-200", children: [
10744
10746
  /* @__PURE__ */ t.jsx("span", { className: "fw-6", children: r ? "Selected at runtime" : "Default Strategy" }),
10745
10747
  /* @__PURE__ */ t.jsx("span", { className: "fw-4", children: `${r ? "" : "Last updated "}by ${n} at ${ue(a).format(pp)}` })
@@ -11469,7 +11471,7 @@ const zn = ({
11469
11471
  }
11470
11472
  ) });
11471
11473
  }, v_ = Dt(null), Bo = () => {
11472
- const e = os(v_);
11474
+ const e = is(v_);
11473
11475
  if (!e)
11474
11476
  throw new Error("cannot be rendered outside the component");
11475
11477
  return e;
@@ -12283,7 +12285,7 @@ const zn = ({
12283
12285
  }), Aj = vj, Rj = () => (e) => {
12284
12286
  const s = [], n = e.state.doc.toString();
12285
12287
  try {
12286
- ss.parseAllDocuments(n).forEach(({ errors: r }) => {
12288
+ ns.parseAllDocuments(n).forEach(({ errors: r }) => {
12287
12289
  r.forEach((o) => {
12288
12290
  if (o instanceof jg) {
12289
12291
  const { linePos: i = [], message: c } = o, { from: l } = e.state.doc.line(i[0]?.line || 0);
@@ -13022,7 +13024,7 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13022
13024
  tabType: s,
13023
13025
  onCollapseBtnClick: n
13024
13026
  }) => {
13025
- const { pathname: a } = is(), r = (c) => {
13027
+ const { pathname: a } = cs(), r = (c) => {
13026
13028
  const { title: l, subtitle: d, strikeThrough: u, iconConfig: m } = c;
13027
13029
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
13028
13030
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col flex-grow-1 mw-none", children: [
@@ -13304,7 +13306,7 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13304
13306
  if (!e)
13305
13307
  return;
13306
13308
  const n = ["secretData", "esoSecretData", "defaultSecretData", "defaultESOSecretData"];
13307
- if (s === ns.Secret) {
13309
+ if (s === as.Secret) {
13308
13310
  const o = n.find((i) => Object.keys(e?.[i] ?? {}).length > 0);
13309
13311
  if (o)
13310
13312
  return e[o];
@@ -13321,7 +13323,7 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13321
13323
  const { sortBy: n, sortOrder: a } = s ?? { sortBy: "", sortOrder: null };
13322
13324
  try {
13323
13325
  return JSON.stringify(
13324
- ss.parse(
13326
+ ns.parse(
13325
13327
  wt(e, {
13326
13328
  sortMapEntries: n ? (r, o) => cI(r, o, a) : null
13327
13329
  })
@@ -13333,7 +13335,7 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13333
13335
  }, Gj = (e, s, n, a, r, o) => {
13334
13336
  const i = Bd(e, n), c = Bd(s, n);
13335
13337
  let l, d;
13336
- if (n === ns.Secret) {
13338
+ if (n === as.Secret) {
13337
13339
  const { compareToObfuscatedData: u, compareWithObfuscatedData: m } = Bj(
13338
13340
  i ?? {},
13339
13341
  c ?? {},
@@ -13383,14 +13385,14 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13383
13385
  a,
13384
13386
  r,
13385
13387
  o
13386
- ), l = n === ns.Secret ? kt.SECRET.VALUE : kt.CONFIGMAP.VALUE, d = ja(
13388
+ ), l = n === as.Secret ? kt.SECRET.VALUE : kt.CONFIGMAP.VALUE, d = ja(
13387
13389
  { ...e || {}, codeEditorValue: i },
13388
13390
  l,
13389
- n === ns.Secret && !a
13391
+ n === as.Secret && !a
13390
13392
  ), u = ja(
13391
13393
  { ...s || {}, codeEditorValue: c },
13392
13394
  l,
13393
- n === ns.Secret && !r
13395
+ n === as.Secret && !r
13394
13396
  );
13395
13397
  return {
13396
13398
  compareToDiff: d,
@@ -13477,11 +13479,11 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13477
13479
  a,
13478
13480
  r,
13479
13481
  i
13480
- ), h = n === ns.ConfigMap ? pt.ConfigMap : pt.Secret;
13482
+ ), h = n === as.ConfigMap ? pt.ConfigMap : pt.Secret;
13481
13483
  return {
13482
13484
  id: `${h}-${d?.name || u?.name}`,
13483
13485
  pathType: h,
13484
- title: `${n === ns.ConfigMap ? "ConfigMap" : "Secret"} / ${d?.name || u?.name}`,
13486
+ title: `${n === as.ConfigMap ? "ConfigMap" : "Secret"} / ${d?.name || u?.name}`,
13485
13487
  name: d?.name || u?.name,
13486
13488
  primaryConfig: {
13487
13489
  heading: Qr(u),
@@ -13492,7 +13494,7 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13492
13494
  list: m
13493
13495
  },
13494
13496
  diffState: _,
13495
- groupHeader: n === ns.ConfigMap ? "CONFIGMAPS" : "SECRETS"
13497
+ groupHeader: n === as.ConfigMap ? "CONFIGMAPS" : "SECRETS"
13496
13498
  };
13497
13499
  }), Hj = (e) => {
13498
13500
  try {
@@ -13615,7 +13617,7 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13615
13617
  const v = Kd(
13616
13618
  E.configMapData,
13617
13619
  x.configMapData,
13618
- ns.ConfigMap,
13620
+ as.ConfigMap,
13619
13621
  E.isAppAdmin,
13620
13622
  x.isAppAdmin,
13621
13623
  r,
@@ -13623,7 +13625,7 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13623
13625
  ), O = Kd(
13624
13626
  E.secretsData,
13625
13627
  x.secretsData,
13626
- ns.Secret,
13628
+ as.Secret,
13627
13629
  E.isAppAdmin,
13628
13630
  x.isAppAdmin,
13629
13631
  r,
@@ -13960,7 +13962,7 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13960
13962
  resourceId: i,
13961
13963
  renderRunSource: c
13962
13964
  }) => {
13963
- const { path: l, params: d } = As(), { pathname: u, search: m } = is(), { isSuperAdmin: p } = cs(), _ = X(() => P_(r), [r]), { currentWfrId: h, previousWfrId: E } = X(
13965
+ const { path: l, params: d } = As(), { pathname: u, search: m } = cs(), { isSuperAdmin: p } = Xt(), _ = X(() => P_(r), [r]), { currentWfrId: h, previousWfrId: E } = X(
13964
13966
  () => zj({ pipelineDeployments: _, wfrId: a }),
13965
13967
  [_, a]
13966
13968
  ), x = !!E, g = Xc({
@@ -14228,7 +14230,7 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14228
14230
  index: i,
14229
14231
  isExcluded: c = !1
14230
14232
  }) => {
14231
- const l = Wc(n), d = e === rs.WEBHOOK || l && l.webhookdata && l.webhookdata.id !== 0, u = d ? l.webhookdata : {}, m = d ? null : l.commiturl ? l.commiturl : Ya(r, l.commit), p = (v) => v ? /* @__PURE__ */ t.jsx(
14233
+ const l = Wc(n), d = e === os.WEBHOOK || l && l.webhookdata && l.webhookdata.id !== 0, u = d ? l.webhookdata : {}, m = d ? null : l.commiturl ? l.commiturl : Ya(r, l.commit), p = (v) => v ? /* @__PURE__ */ t.jsx(
14232
14234
  "a",
14233
14235
  {
14234
14236
  href: GI(r, v),
@@ -14405,7 +14407,7 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14405
14407
  fullScreenView: n,
14406
14408
  setFullScreenView: a
14407
14409
  }) => {
14408
- const { pathname: r } = is(), { registerShortcut: o, unregisterShortcut: i } = Qs(), c = Ve(() => {
14410
+ const { pathname: r } = cs(), { registerShortcut: o, unregisterShortcut: i } = Qs(), c = Ve(() => {
14409
14411
  a(!n);
14410
14412
  }, [n]), l = !s || r.includes("/logs");
14411
14413
  return M(() => (l && e.length && o({ callback: c, keys: e }), () => {
@@ -15344,7 +15346,7 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15344
15346
  // eslint-disable-next-line react/jsx-no-useless-fragment
15345
15347
  /* @__PURE__ */ t.jsx(t.Fragment, { children: Object.keys(s ?? {}).length > 0 && e?.map((a) => {
15346
15348
  const r = s[a.id], o = r?.CiConfigureSourceType || a?.type, i = r?.CiConfigureSourceValue || a?.value, c = r?.GitRepoUrl || a?.url;
15347
- return o !== rs.WEBHOOK && !r ? null : /* @__PURE__ */ t.jsx("div", { className: `${n ? "mt-16" : ""}`, children: o === rs.WEBHOOK ? /* @__PURE__ */ t.jsx("div", { className: "flex left column", children: /* @__PURE__ */ t.jsx(
15349
+ return o !== os.WEBHOOK && !r ? null : /* @__PURE__ */ t.jsx("div", { className: `${n ? "mt-16" : ""}`, children: o === os.WEBHOOK ? /* @__PURE__ */ t.jsx("div", { className: "flex left column", children: /* @__PURE__ */ t.jsx(
15348
15350
  x_,
15349
15351
  {
15350
15352
  sourceType: o,
@@ -15521,7 +15523,7 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15521
15523
  namespace: E,
15522
15524
  workflowExecutionStages: x
15523
15525
  }) => {
15524
- const { path: g, params: f } = As(), { pathname: C } = is(), N = C.split("/").pop(), { envId: b, ...S } = Rt(), v = l === Ue.CD || l === Ue.GROUP_CD, O = v ? "triggerId" : "buildId", T = _ === p?.id, R = B(null), I = () => {
15526
+ const { path: g, params: f } = As(), { pathname: C } = cs(), N = C.split("/").pop(), { envId: b, ...S } = Rt(), v = l === Ue.CD || l === Ue.GROUP_CD, O = v ? "triggerId" : "buildId", T = _ === p?.id, R = B(null), I = () => {
15525
15527
  const P = {
15526
15528
  ...S,
15527
15529
  envId: b,
@@ -15803,7 +15805,7 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15803
15805
  className: `display-grid dc__align-items-center dc__select-text image-chip-cell__container ${l ? "image-chip-cell__container--expanded" : ""} bcn-1 br-6 dc__transparent py-0 px-6 cursor max-w-100`,
15804
15806
  onClick: n || c,
15805
15807
  children: [
15806
- /* @__PURE__ */ t.jsx(Qt, { registryType: s || We.DOCKER, size: 14 }),
15808
+ /* @__PURE__ */ t.jsx(es, { registryType: s || We.DOCKER, size: 14 }),
15807
15809
  l ? /* @__PURE__ */ t.jsx("div", { className: "mono dc__ellipsis-left direction-left", children: e }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
15808
15810
  /* @__PURE__ */ t.jsx("div", { children: "…" }),
15809
15811
  /* @__PURE__ */ t.jsx("div", { className: "mono dc__ellipsis-left direction-left text-overflow-clip", children: e.split(":").slice(-1)[0] ?? "" })
@@ -15820,7 +15822,7 @@ const tl = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15820
15822
  }, G_ = Dt(null), nY = ({ children: e }) => {
15821
15823
  const s = B(null), [n, a] = w(""), r = X(() => ({ modalKey: n, setModalKey: a, settersRef: s }), [n]);
15822
15824
  return /* @__PURE__ */ t.jsx(G_.Provider, { value: r, children: e });
15823
- }, V_ = () => os(G_);
15825
+ }, V_ = () => is(G_);
15824
15826
  var Ft = /* @__PURE__ */ ((e) => (e.info = "info", e.delete = "delete", e.warning = "warning", e.custom = "custom", e))(Ft || {});
15825
15827
  const vw = (e) => {
15826
15828
  switch (e) {
@@ -16191,7 +16193,7 @@ const Lw = "bulk-selection-pop-up-menu", mi = {
16191
16193
  setIdentifiers: ge,
16192
16194
  getSelectedIdentifiersCount: ge
16193
16195
  }), W_ = () => {
16194
- const e = os(Y_);
16196
+ const e = is(Y_);
16195
16197
  if (!e)
16196
16198
  throw new Error(Pw);
16197
16199
  return e;
@@ -16813,7 +16815,7 @@ const qw = ({
16813
16815
  if (!n?.[s])
16814
16816
  throw new Error();
16815
16817
  const a = n[s];
16816
- if (!Array.isArray(a) || a.some((o) => !o || as(o.field)))
16818
+ if (!Array.isArray(a) || a.some((o) => !o || rs(o.field)))
16817
16819
  throw new Error();
16818
16820
  const r = new Set(a.map((o) => o.field));
16819
16821
  return e.filter((o) => r.has(o.field));
@@ -16966,8 +16968,8 @@ const qw = ({
16966
16968
  "data-active": ze,
16967
16969
  tabIndex: -1,
16968
16970
  children: [
16969
- r.map(({ field: Xt, horizontallySticky: En, CellComponent: Qn }, ea) => {
16970
- const en = Xt === Pr, Cn = En || en, { className: tr = "", left: sr = "" } = Cn ? iu(oe, ea) : {};
16971
+ r.map(({ field: Jt, horizontallySticky: En, CellComponent: Qn }, ea) => {
16972
+ const en = Jt === Pr, Cn = En || en, { className: tr = "", left: sr = "" } = Cn ? iu(oe, ea) : {};
16971
16973
  return en ? /* @__PURE__ */ t.jsx(
16972
16974
  "div",
16973
16975
  {
@@ -16983,7 +16985,7 @@ const qw = ({
16983
16985
  }
16984
16986
  )
16985
16987
  },
16986
- Xt
16988
+ Jt
16987
16989
  ) : /* @__PURE__ */ t.jsx(
16988
16990
  "div",
16989
16991
  {
@@ -16992,17 +16994,17 @@ const qw = ({
16992
16994
  children: Qn ? /* @__PURE__ */ t.jsx(
16993
16995
  Qn,
16994
16996
  {
16995
- field: Xt,
16996
- value: ee.data[Xt],
16997
+ field: Jt,
16998
+ value: ee.data[Jt],
16997
16999
  signals: z_,
16998
17000
  row: ee,
16999
17001
  filterData: e,
17000
17002
  isRowActive: ze,
17001
17003
  ...a
17002
17004
  }
17003
- ) : /* @__PURE__ */ t.jsx("div", { className: "flex left", children: /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 cn-9 lh-20 dc__truncate", children: ee.data[Xt] }, Xt) })
17005
+ ) : /* @__PURE__ */ t.jsx("div", { className: "flex left", children: /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 cn-9 lh-20 dc__truncate", children: ee.data[Jt] }, Jt) })
17004
17006
  },
17005
- Xt
17007
+ Jt
17006
17008
  );
17007
17009
  }),
17008
17010
  I && /* @__PURE__ */ t.jsx(
@@ -17055,8 +17057,8 @@ const qw = ({
17055
17057
  size: ys,
17056
17058
  showTippyOnTruncate: Jn,
17057
17059
  horizontallySticky: Zn
17058
- }, Xt) => {
17059
- const En = !!ys?.range, ea = Zn || Ne === Pr, { className: en = "", left: Cn = "" } = ea ? iu(oe, Xt) : {};
17060
+ }, Jt) => {
17061
+ const En = !!ys?.range, ea = Zn || Ne === Pr, { className: en = "", left: Cn = "" } = ea ? iu(oe, Jt) : {};
17060
17062
  return Ne === Pr ? /* @__PURE__ */ t.jsx(
17061
17063
  "div",
17062
17064
  {
@@ -17684,7 +17686,7 @@ const qw = ({
17684
17686
  renderTargetConfigInfo: l,
17685
17687
  stage: d
17686
17688
  }) => {
17687
- const { url: u } = As(), { pathname: m } = is();
17689
+ const { url: u } = As(), { pathname: m } = cs();
17688
17690
  return /* @__PURE__ */ t.jsx("div", { className: "w-100 pr-20 flex column left", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-items-center py-8 flex-wrap", children: [
17689
17691
  /* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-4 cn-9 fs-13 fw-6 lh-20", children: [
17690
17692
  /* @__PURE__ */ t.jsxs("div", { className: "flex left dc__no-shrink dc__gap-4", "data-testid": "deployment-history-start-heading", children: [
@@ -17770,7 +17772,7 @@ const qw = ({
17770
17772
  isLatest: N,
17771
17773
  appName: b
17772
17774
  }) => {
17773
- const { isFELibAvailable: S } = cs(), [v, O] = w(null), T = X(
17775
+ const { isFELibAvailable: S } = Xt(), [v, O] = w(null), T = X(
17774
17776
  () => Zc(f),
17775
17777
  [f]
17776
17778
  ), R = T?.workerDetails.message || c, I = S && N && (d === Ue.CD || d === Ue.GROUP_CD) && u === us.DEPLOY && R?.includes(qy), A = () => {
@@ -17996,7 +17998,7 @@ const qw = ({
17996
17998
  uniqueGroupId: E,
17997
17999
  iconElement: x
17998
18000
  }) => {
17999
- const { pathname: g, search: f } = is(), C = B(null), [N, b] = w(n === "button" && a);
18001
+ const { pathname: g, search: f } = cs(), C = B(null), [N, b] = w(n === "button" && a);
18000
18002
  M(() => {
18001
18003
  if (n === "navLink") {
18002
18004
  b(C.current?.classList.contains("active") || !1);
@@ -18584,12 +18586,32 @@ const wL = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
18584
18586
  handleShowConfigDriftModal: n,
18585
18587
  deploymentStatusDetailsBreakdownData: a,
18586
18588
  selectedTab: r,
18587
- debugWithAIButton: o
18589
+ debugWithAIButton: o,
18590
+ handleClose: i
18588
18591
  }) => {
18589
- const i = e.resourceTree?.status?.toUpperCase() || e.appStatus, c = () => {
18590
- const d = AL(e), u = s === "stack-manager" ? "The installation will complete when status for all the below resources become HEALTHY." : jL[i], m = e.resourceTree?.nodes?.find(
18591
- (_) => _.kind === "Deployment" || _.kind === "Rollout"
18592
- ), p = `${m?.kind}/${m?.name}`;
18592
+ const { aiAgentContext: c } = Xt(), l = e.resourceTree?.status?.toUpperCase() || e.appStatus, d = () => {
18593
+ const m = AL(e), p = s === "stack-manager" ? "The installation will complete when status for all the below resources become HEALTHY." : jL[l], _ = e.resourceTree?.nodes?.find(
18594
+ (g) => g.kind === "Deployment" || g.kind === "Rollout"
18595
+ ), h = `${_?.kind}/${_?.name}`, E = {
18596
+ clusterId: e.clusterId,
18597
+ metadata: {
18598
+ ..._ ? { object: h } : { message: m },
18599
+ namespace: e.namespace,
18600
+ status: _?.health?.status ?? l
18601
+ },
18602
+ prompt: `Debug ${m || "error"} ${_ ? `of ${h}` : ""} in ${e.namespace}`,
18603
+ analyticsCategory: Tk("APP_STATUS", e.appType)
18604
+ }, x = {
18605
+ ...c,
18606
+ prompt: `Why is application '${e.appName}' of '${e.environmentName}' env ${l}?`,
18607
+ data: {
18608
+ ...c.data,
18609
+ ..._ ? { debugNodeKind: _.kind, debugNodeName: _.name } : {},
18610
+ ...m ? { additionalMessage: m } : {},
18611
+ namespace: e.namespace,
18612
+ status: _?.health?.status ?? l
18613
+ }
18614
+ };
18593
18615
  return [
18594
18616
  {
18595
18617
  id: "app-status-row",
@@ -18600,41 +18622,34 @@ const wL = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
18600
18622
  type: s,
18601
18623
  appId: e.appId,
18602
18624
  envId: e.environmentId,
18603
- actionItem: o && i?.toLowerCase() !== Nt.HEALTHY.toLowerCase() && (m || d) ? /* @__PURE__ */ t.jsx(
18625
+ actionItem: o && l?.toLowerCase() !== Nt.HEALTHY.toLowerCase() && (_ || m) ? /* @__PURE__ */ t.jsx(
18604
18626
  o,
18605
18627
  {
18606
- intelligenceConfig: {
18607
- clusterId: e.clusterId,
18608
- metadata: {
18609
- ...m ? { object: p } : { message: d },
18610
- namespace: e.namespace,
18611
- status: m?.health?.status ?? i
18612
- },
18613
- prompt: `Debug ${d || "error"} ${m ? `of ${p}` : ""} in ${e.namespace}`,
18614
- analyticsCategory: Tk("APP_STATUS", e.appType)
18615
- }
18628
+ intelligenceConfig: E,
18629
+ debugAgentContext: x,
18630
+ onClick: i
18616
18631
  }
18617
18632
  ) : null,
18618
- children: i ? /* @__PURE__ */ t.jsx(ko, { status: i, showAnimatedIcon: !0 }) : "--"
18633
+ children: l ? /* @__PURE__ */ t.jsx(ko, { status: l, showAnimatedIcon: !0 }) : "--"
18619
18634
  }
18620
18635
  )
18621
18636
  },
18622
- ...d ? [
18637
+ ...m ? [
18623
18638
  {
18624
18639
  id: "app-status-primary-message",
18625
18640
  heading: "Message",
18626
- value: d
18641
+ value: m
18627
18642
  }
18628
18643
  ] : [],
18629
- ...u ? [
18644
+ ...p ? [
18630
18645
  {
18631
18646
  id: "app-status-secondary-message",
18632
18647
  heading: "Message",
18633
- value: u
18648
+ value: p
18634
18649
  }
18635
18650
  ] : []
18636
18651
  ];
18637
- }, l = r === ht.APP_STATUS ? c() : [
18652
+ }, u = r === ht.APP_STATUS ? d() : [
18638
18653
  {
18639
18654
  id: "deployment-status-row",
18640
18655
  heading: "Deployment Status",
@@ -18649,15 +18664,15 @@ const wL = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
18649
18664
  }
18650
18665
  ];
18651
18666
  return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col px-20 dc__gap-16 dc__overflow-auto", children: [
18652
- /* @__PURE__ */ t.jsx("div", { className: "flexbox-col pt-20", children: /* @__PURE__ */ t.jsx("div", { className: "flexbox-col br-8 border__primary bg__primary shadow__card--20", children: l.map((d, u) => /* @__PURE__ */ t.jsx(
18667
+ /* @__PURE__ */ t.jsx("div", { className: "flexbox-col pt-20", children: /* @__PURE__ */ t.jsx("div", { className: "flexbox-col br-8 border__primary bg__primary shadow__card--20", children: u.map((m, p) => /* @__PURE__ */ t.jsx(
18653
18668
  wL,
18654
18669
  {
18655
- heading: d.heading,
18656
- value: d.value,
18657
- isLast: u === l.length - 1,
18658
- alignCenter: d.heading !== "Message"
18670
+ heading: m.heading,
18671
+ value: m.value,
18672
+ isLast: p === u.length - 1,
18673
+ alignCenter: m.heading !== "Message"
18659
18674
  },
18660
- d.id
18675
+ m.id
18661
18676
  )) }) }),
18662
18677
  /* @__PURE__ */ t.jsx(OL, { appDetails: e, useParentMargin: !1 }),
18663
18678
  r === ht.APP_STATUS ? /* @__PURE__ */ t.jsx(Z_, { appDetails: e, handleShowConfigDriftModal: n }) : /* @__PURE__ */ t.jsx(
@@ -18794,7 +18809,7 @@ const wL = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
18794
18809
  initialTab: u,
18795
18810
  debugWithAIButton: m
18796
18811
  }) => {
18797
- const { setTempAppWindowConfig: p } = cs(), [_, h] = w(u || null), E = B(new AbortController()), x = B(null), g = async () => await fo(
18812
+ const { setTempAppWindowConfig: p } = Xt(), [_, h] = w(u || null), E = B(new AbortController()), x = B(null), g = async () => await fo(
18798
18813
  () => PL({
18799
18814
  appId: l,
18800
18815
  envId: d,
@@ -18908,7 +18923,8 @@ const wL = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
18908
18923
  handleShowConfigDriftModal: de,
18909
18924
  deploymentStatusDetailsBreakdownData: y,
18910
18925
  selectedTab: _,
18911
- debugWithAIButton: m
18926
+ debugWithAIButton: m,
18927
+ handleClose: s
18912
18928
  }
18913
18929
  ),
18914
18930
  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: [
@@ -18990,7 +19006,7 @@ const wL = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
18990
19006
  c.stopPropagation(), n && !d && n(l);
18991
19007
  }, o = X(
18992
19008
  () => e.history.reduce((c, l) => {
18993
- const u = e.type === rs.WEBHOOK ? Qp(e.type, l).substring(0, 16) : l.date.substring(0, 16);
19009
+ const u = e.type === os.WEBHOOK ? Qp(e.type, l).substring(0, 16) : l.date.substring(0, 16);
18994
19010
  return c[u] || (c[u] = []), c[u].push(l), c;
18995
19011
  }, {}),
18996
19012
  [e.history, e.type]
@@ -19006,7 +19022,7 @@ const wL = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
19006
19022
  /* @__PURE__ */ t.jsx("div", { className: "h-1 bcn-2 w-100" })
19007
19023
  ] }),
19008
19024
  l?.map((d, u) => {
19009
- const m = e.type === rs.WEBHOOK && d.webhookData ? d.webhookData.id.toString() : d.commit;
19025
+ const m = e.type === os.WEBHOOK && d.webhookData ? d.webhookData.id.toString() : d.commit;
19010
19026
  return /* @__PURE__ */ t.jsx(
19011
19027
  "div",
19012
19028
  {
@@ -19421,15 +19437,15 @@ const BL = {
19421
19437
  children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__border-radius-24 bg__primary pl-16 pr-16 pt-8 pb-8 en-1 bw-1", children: /* @__PURE__ */ t.jsx(rl, { scanToolName: e, scanToolUrl: s }) })
19422
19438
  }), KL = (e, s) => e.toString().localeCompare(s.toString()), zL = (e) => {
19423
19439
  switch (e.toLowerCase()) {
19424
- case es.HIGH:
19440
+ case ts.HIGH:
19425
19441
  return ne.HIGH;
19426
- case es.UNKNOWN:
19442
+ case ts.UNKNOWN:
19427
19443
  return ne.UNKNOWN;
19428
- case es.MEDIUM:
19444
+ case ts.MEDIUM:
19429
19445
  return ne.MEDIUM;
19430
- case es.LOW:
19446
+ case ts.LOW:
19431
19447
  return ne.LOW;
19432
- case es.CRITICAL:
19448
+ case ts.CRITICAL:
19433
19449
  return ne.CRITICAL;
19434
19450
  default:
19435
19451
  return null;
@@ -20633,11 +20649,11 @@ const BL = {
20633
20649
  subCategories: [ce.MISCONFIGURATIONS, ce.EXPOSED_SECRETS]
20634
20650
  }
20635
20651
  }, fY = {
20636
- [es.CRITICAL]: "Critical",
20637
- [es.HIGH]: "High",
20638
- [es.MEDIUM]: "Medium",
20639
- [es.LOW]: "Low",
20640
- [es.UNKNOWN]: "Unknown"
20652
+ [ts.CRITICAL]: "Critical",
20653
+ [ts.HIGH]: "High",
20654
+ [ts.MEDIUM]: "Medium",
20655
+ [ts.LOW]: "Low",
20656
+ [ts.UNKNOWN]: "Unknown"
20641
20657
  }, of = ({
20642
20658
  category: e,
20643
20659
  subCategory: s,
@@ -22509,7 +22525,7 @@ const bY = (e) => {
22509
22525
  };
22510
22526
  }, o1 = (e) => {
22511
22527
  try {
22512
- const s = e && ss.parse(e);
22528
+ const s = e && ns.parse(e);
22513
22529
  if (typeof s != "object")
22514
22530
  throw new Error();
22515
22531
  return Object.keys(s).reduce((a, r, o) => {
@@ -22523,7 +22539,7 @@ const bY = (e) => {
22523
22539
  }
22524
22540
  }, lf = (e) => {
22525
22541
  try {
22526
- const s = ss.parse(e);
22542
+ const s = ns.parse(e);
22527
22543
  if (typeof s == "object") {
22528
22544
  const n = {
22529
22545
  secretStore: s.secretStore,
@@ -22650,7 +22666,7 @@ const bY = (e) => {
22650
22666
  isValid: () => !1,
22651
22667
  message: "This is a required field"
22652
22668
  };
22653
- const s = ss.parse(e);
22669
+ const s = ns.parse(e);
22654
22670
  if (typeof s == "object") {
22655
22671
  const n = new RegExp(Wt.CONFIG_MAP_AND_SECRET_KEY), a = [], r = [];
22656
22672
  let o = "";
@@ -24756,7 +24772,7 @@ const U1 = ({
24756
24772
  },
24757
24773
  []
24758
24774
  ), M(() => {
24759
- as(i) || f();
24775
+ rs(i) || f();
24760
24776
  }, [i]);
24761
24777
  const C = () => {
24762
24778
  l.current.abort(), l.current = new AbortController(), p(null), h(!1);
@@ -25559,7 +25575,7 @@ const iP = (e) => e === gf.NONE ? "" : "dc__border-n1", Ur = ({
25559
25575
  const n = X(() => e, [e]);
25560
25576
  return /* @__PURE__ */ t.jsx(xf.Provider, { value: n, children: s });
25561
25577
  }, uP = () => {
25562
- const e = os(xf);
25578
+ const e = is(xf);
25563
25579
  if (!e)
25564
25580
  throw new Error("Generic Modal components cannot be rendered outside the GenericModal");
25565
25581
  return e;
@@ -26081,7 +26097,7 @@ const PP = async (e, s) => {
26081
26097
  setSidePanelConfig: _,
26082
26098
  loginCount: h,
26083
26099
  showGettingStartedCard: E
26084
- } = cs(), { appTheme: x } = hn(), g = i_(), f = B(null), C = () => {
26100
+ } = Xt(), { appTheme: x } = hn(), g = i_(), f = B(null), C = () => {
26085
26101
  d();
26086
26102
  }, N = () => {
26087
26103
  f.current?.open();
@@ -26261,7 +26277,7 @@ const PP = async (e, s) => {
26261
26277
  }
26262
26278
  );
26263
26279
  }, YP = ({ user: e, onClick: s }) => {
26264
- const { viewIsPipelineRBACConfiguredNode: n } = cs(), { open: a, overlayProps: r, popoverProps: o, triggerProps: i, scrollableRef: c, closePopover: l } = Bc({
26280
+ const { viewIsPipelineRBACConfiguredNode: n } = Xt(), { open: a, overlayProps: r, popoverProps: o, triggerProps: i, scrollableRef: c, closePopover: l } = Bc({
26265
26281
  id: "profile-menu",
26266
26282
  alignment: "end",
26267
26283
  width: 250
@@ -26329,7 +26345,7 @@ const PP = async (e, s) => {
26329
26345
  sidePanelConfig: E,
26330
26346
  tempAppWindowConfig: x,
26331
26347
  featureAskDevtronExpert: g
26332
- } = cs(), { showSwitchThemeLocationTippy: f, handleShowSwitchThemeLocationTippyChange: C } = hn(), {
26348
+ } = Xt(), { showSwitchThemeLocationTippy: f, handleShowSwitchThemeLocationTippyChange: C } = hn(), {
26333
26349
  isTippyCustomized: N,
26334
26350
  tippyRedirectLink: b,
26335
26351
  TippyIcon: S,
@@ -26541,7 +26557,7 @@ const WP = (e) => [
26541
26557
  ]
26542
26558
  }
26543
26559
  ], YY = ({ viewType: e }) => {
26544
- const s = is(), { serverMode: n } = cs(), a = `${be.APPLICATION_MANAGEMENT_CREATE_DEVTRON_APP}${s.search}`, r = () => n === ap.FULL ? /* @__PURE__ */ t.jsx(
26560
+ const s = cs(), { serverMode: n } = Xt(), a = `${be.APPLICATION_MANAGEMENT_CREATE_DEVTRON_APP}${s.search}`, r = () => n === ap.FULL ? /* @__PURE__ */ t.jsx(
26545
26561
  Ha,
26546
26562
  {
26547
26563
  id: "page-header-create-app-action-menu",
@@ -26756,7 +26772,7 @@ const WP = (e) => [
26756
26772
  className: "commit-hash commit-hash--docker dc__gap-8",
26757
26773
  "data-testid": "cd-trigger-modal-image-value",
26758
26774
  children: [
26759
- /* @__PURE__ */ t.jsx(Qt, { registryType: n }),
26775
+ /* @__PURE__ */ t.jsx(es, { registryType: n }),
26760
26776
  a
26761
26777
  ]
26762
26778
  }
@@ -28893,7 +28909,7 @@ const wM = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
28893
28909
  }
28894
28910
  }
28895
28911
  ) }), f8 = () => {
28896
- const { pathname: e, search: s } = is(), { tempAppWindowConfig: n, setTempAppWindowConfig: a } = cs(), r = B(Bu({ pathname: e, search: s })), o = () => {
28912
+ const { pathname: e, search: s } = cs(), { tempAppWindowConfig: n, setTempAppWindowConfig: a } = Xt(), r = B(Bu({ pathname: e, search: s })), o = () => {
28897
28913
  n.customCloseConfig?.beforeClose(), a({ open: !1, title: null, url: null, component: null, image: null });
28898
28914
  };
28899
28915
  if (M(() => {
@@ -29075,7 +29091,7 @@ const wM = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
29075
29091
  highlightSelectedHeadingOnlyWhenCollapsed: p = !1,
29076
29092
  useOverflowAuto: _ = !0
29077
29093
  }) => {
29078
- const { pathname: h } = is(), E = i === 0, x = () => {
29094
+ const { pathname: h } = cs(), E = i === 0, x = () => {
29079
29095
  const L = m;
29080
29096
  return a && Hu({
29081
29097
  selectedId: a,
@@ -29855,7 +29871,7 @@ function Ma(e, s = !1) {
29855
29871
  }
29856
29872
  const v8 = (e, s = "-") => e ? `${ue(e).utc().format(St.TWELVE_HOURS_EXPORT_FORMAT)} (UTC)` : "-";
29857
29873
  function A8() {
29858
- const e = is(), s = X(() => new URLSearchParams(e.search), [e]), n = Array.from(s.entries()).reduce((a, r, o) => (a[r[0]] = r[1], a), {});
29874
+ const e = cs(), s = X(() => new URLSearchParams(e.search), [e]), n = Array.from(s.entries()).reduce((a, r, o) => (a[r[0]] = r[1], a), {});
29859
29875
  return { queryParams: s, searchParams: n };
29860
29876
  }
29861
29877
  const R8 = (e, s) => {
@@ -29874,14 +29890,14 @@ function I8(e, s = 4, n = "json", a = !1) {
29874
29890
  } catch (x) {
29875
29891
  h = x;
29876
29892
  try {
29877
- _ = ss.parse(e, p), h = null, E = null;
29893
+ _ = ns.parse(e, p), h = null, E = null;
29878
29894
  } catch (g) {
29879
29895
  E = g;
29880
29896
  }
29881
29897
  }
29882
29898
  else
29883
29899
  try {
29884
- _ = ss.parse(e, p), h = null, E = null;
29900
+ _ = ns.parse(e, p), h = null, E = null;
29885
29901
  } catch (x) {
29886
29902
  E = x;
29887
29903
  try {
@@ -29890,7 +29906,7 @@ function I8(e, s = 4, n = "json", a = !1) {
29890
29906
  h = g;
29891
29907
  }
29892
29908
  }
29893
- (h || E) && m(n === "json" ? h.message : E.message), _ && typeof _ == "object" ? (o(JSON.stringify(_, null, s)), c(ss.stringify(_, { indent: 2, lineWidth: 0 })), d(_), m("")) : (d(null), m(h || E ? n === "json" ? h.message : E.message : "cannot parse to valid object"));
29909
+ (h || E) && m(n === "json" ? h.message : E.message), _ && typeof _ == "object" ? (o(JSON.stringify(_, null, s)), c(ns.stringify(_, { indent: 2, lineWidth: 0 })), d(_), m("")) : (d(null), m(h || E ? n === "json" ? h.message : E.message : "cannot parse to valid object"));
29894
29910
  }, [e, s, n, a]), [l, r, i, u];
29895
29911
  }
29896
29912
  const _k = ["name", "namespace", "labels", "annotations"];
@@ -30080,7 +30096,7 @@ const y8 = (e, s) => e ? Ma(e, !0) : s ? "" : "Not deployed", He = (e, s = {}) =
30080
30096
  }, Qu = (e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase(), k8 = (e, s, n) => {
30081
30097
  const a = new Date(e).getTime(), r = new Date(s).getTime();
30082
30098
  return isNaN(a) && isNaN(r) ? 0 : isNaN(a) ? n === Ae.ASC ? 1 : -1 : isNaN(r) ? n === Ae.ASC ? -1 : 1 : n === Ae.ASC ? r - a : a - r;
30083
- }, wt = (e, s) => ss.stringify(e, { indent: 2, lineWidth: 0, ...s }), $8 = (e, s) => {
30099
+ }, wt = (e, s) => ns.stringify(e, { indent: 2, lineWidth: 0, ...s }), $8 = (e, s) => {
30084
30100
  if (e === s)
30085
30101
  return !0;
30086
30102
  const n = Array.isArray(e), a = Array.isArray(s);
@@ -30197,7 +30213,7 @@ const G8 = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, V8 = (e, s = 300) => {
30197
30213
  const r = Date.now();
30198
30214
  r - n >= s && (n = r, e(...a));
30199
30215
  };
30200
- }, Ck = (e, s, n) => e === rs.WEBHOOK ? n === Ra.PULL_REQUEST ? /* @__PURE__ */ t.jsx(Sc, { className: "scn-6" }) : n === Ra.TAG_CREATION ? /* @__PURE__ */ t.jsx(Co, { className: "scn-6" }) : /* @__PURE__ */ t.jsx(Xm, {}) : e === rs.BranchRegex || s ? /* @__PURE__ */ t.jsx(Lm, { className: "fcn-6" }) : /* @__PURE__ */ t.jsx(Cm, { className: "fcn-6" }), kf = (e) => un.sanitize(e, {
30216
+ }, Ck = (e, s, n) => e === os.WEBHOOK ? n === Ra.PULL_REQUEST ? /* @__PURE__ */ t.jsx(Sc, { className: "scn-6" }) : n === Ra.TAG_CREATION ? /* @__PURE__ */ t.jsx(Co, { className: "scn-6" }) : /* @__PURE__ */ t.jsx(Xm, {}) : e === os.BranchRegex || s ? /* @__PURE__ */ t.jsx(Lm, { className: "fcn-6" }) : /* @__PURE__ */ t.jsx(Cm, { className: "fcn-6" }), kf = (e) => un.sanitize(e, {
30201
30217
  ADD_TAGS: ["iframe"],
30202
30218
  ADD_ATTR: ["allow", "allowfullscreen", "frameborder", "scrolling"]
30203
30219
  }), H8 = (e, s) => {
@@ -30953,7 +30969,7 @@ Nothing to preview
30953
30969
  ]
30954
30970
  ];
30955
30971
  var Gt = /* @__PURE__ */ ((e) => (e.HEADER = "header", e.BOLD = "bold", e.ITALIC = "italic", e.STRIKETHROUGH = "strikethrough", e.LINK = "link", e.QUOTE = "quote", e.CODE = "code", e.IMAGE = "image", e.UNORDERED_LIST = "unordered-list", e.ORDERED_LIST = "ordered-list", e.CHECKED_LIST = "checked-list", e))(Gt || {});
30956
- const Jt = {
30972
+ const Zt = {
30957
30973
  header: "Add heading text",
30958
30974
  bold: "Add bold text",
30959
30975
  italic: "Add italic text",
@@ -31042,7 +31058,7 @@ const Vk = (e) => {
31042
31058
  className: "default-tt",
31043
31059
  arrow: !1,
31044
31060
  placement: "bottom",
31045
- content: Jt[e],
31061
+ content: Zt[e],
31046
31062
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(iE, { className: "icon-dim-16 flex" }) })
31047
31063
  }
31048
31064
  );
@@ -31053,7 +31069,7 @@ const Vk = (e) => {
31053
31069
  className: "default-tt",
31054
31070
  arrow: !1,
31055
31071
  placement: "bottom",
31056
- content: Jt[e],
31072
+ content: Zt[e],
31057
31073
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(aE, { className: "icon-dim-16 flex" }) })
31058
31074
  }
31059
31075
  );
@@ -31064,7 +31080,7 @@ const Vk = (e) => {
31064
31080
  className: "default-tt",
31065
31081
  arrow: !1,
31066
31082
  placement: "bottom",
31067
- content: Jt[e],
31083
+ content: Zt[e],
31068
31084
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(lE, { className: "icon-dim-16 flex" }) })
31069
31085
  }
31070
31086
  );
@@ -31075,7 +31091,7 @@ const Vk = (e) => {
31075
31091
  className: "default-tt",
31076
31092
  arrow: !1,
31077
31093
  placement: "bottom",
31078
- content: Jt[e],
31094
+ content: Zt[e],
31079
31095
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(pE, { className: "icon-dim-16 flex" }) })
31080
31096
  }
31081
31097
  );
@@ -31086,7 +31102,7 @@ const Vk = (e) => {
31086
31102
  className: "default-tt",
31087
31103
  arrow: !1,
31088
31104
  placement: "bottom",
31089
- content: Jt[e],
31105
+ content: Zt[e],
31090
31106
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(dE, { className: "icon-dim-16 flex" }) })
31091
31107
  }
31092
31108
  );
@@ -31097,7 +31113,7 @@ const Vk = (e) => {
31097
31113
  className: "default-tt",
31098
31114
  arrow: !1,
31099
31115
  placement: "bottom",
31100
- content: Jt[e],
31116
+ content: Zt[e],
31101
31117
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(mE, { className: "icon-dim-16 flex" }) })
31102
31118
  }
31103
31119
  );
@@ -31108,7 +31124,7 @@ const Vk = (e) => {
31108
31124
  className: "default-tt",
31109
31125
  arrow: !1,
31110
31126
  placement: "bottom",
31111
- content: Jt[e],
31127
+ content: Zt[e],
31112
31128
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(oE, { className: "icon-dim-16 flex" }) })
31113
31129
  }
31114
31130
  );
@@ -31119,7 +31135,7 @@ const Vk = (e) => {
31119
31135
  className: "default-tt",
31120
31136
  arrow: !1,
31121
31137
  placement: "bottom",
31122
- content: Jt[e],
31138
+ content: Zt[e],
31123
31139
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(cE, { className: "icon-dim-16 flex" }) })
31124
31140
  }
31125
31141
  );
@@ -31130,7 +31146,7 @@ const Vk = (e) => {
31130
31146
  className: "default-tt",
31131
31147
  arrow: !1,
31132
31148
  placement: "bottom",
31133
- content: Jt[e],
31149
+ content: Zt[e],
31134
31150
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(zm, { className: "icon-dim-16 flex" }) })
31135
31151
  }
31136
31152
  );
@@ -31141,7 +31157,7 @@ const Vk = (e) => {
31141
31157
  className: "default-tt",
31142
31158
  arrow: !1,
31143
31159
  placement: "bottom",
31144
- content: Jt[e],
31160
+ content: Zt[e],
31145
31161
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(uE, { className: "icon-dim-16 flex" }) })
31146
31162
  }
31147
31163
  );
@@ -31152,7 +31168,7 @@ const Vk = (e) => {
31152
31168
  className: "default-tt",
31153
31169
  arrow: !1,
31154
31170
  placement: "bottom",
31155
- content: Jt[e],
31171
+ content: Zt[e],
31156
31172
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(rE, { className: "icon-dim-16 flex" }) })
31157
31173
  }
31158
31174
  );
@@ -32230,7 +32246,7 @@ export {
32230
32246
  j0 as aZ,
32231
32247
  p5 as a_,
32232
32248
  wI as aa,
32233
- rs as ab,
32249
+ os as ab,
32234
32250
  LI as ac,
32235
32251
  DI as ad,
32236
32252
  t_ as ae,
@@ -32475,7 +32491,7 @@ export {
32475
32491
  AR as eL,
32476
32492
  RR as eM,
32477
32493
  F as eN,
32478
- ts as eO,
32494
+ ss as eO,
32479
32495
  we as eP,
32480
32496
  yp as eQ,
32481
32497
  Hs as eR,
@@ -32709,7 +32725,7 @@ export {
32709
32725
  vY as hx,
32710
32726
  $t as hy,
32711
32727
  tl as hz,
32712
- as as i,
32728
+ rs as i,
32713
32729
  aw as i$,
32714
32730
  E1 as i0,
32715
32731
  df as i1,
@@ -32844,7 +32860,7 @@ export {
32844
32860
  eY as k2,
32845
32861
  tY as k3,
32846
32862
  U3 as k4,
32847
- Qt as k5,
32863
+ es as k5,
32848
32864
  rl as k6,
32849
32865
  fY as k7,
32850
32866
  qa as k8,
@@ -33043,7 +33059,7 @@ export {
33043
33059
  F5 as n6,
33044
33060
  Ev as n7,
33045
33061
  Ro as n8,
33046
- cs as n9,
33062
+ Xt as n9,
33047
33063
  Lv as nA,
33048
33064
  K5 as nB,
33049
33065
  Dv as nC,
@@ -33065,7 +33081,7 @@ export {
33065
33081
  xt as nS,
33066
33082
  We as nT,
33067
33083
  Oc as nU,
33068
- es as nV,
33084
+ ts as nV,
33069
33085
  k0 as nW,
33070
33086
  $0 as nX,
33071
33087
  lp as nY,
@@ -33089,7 +33105,7 @@ export {
33089
33105
  ua as np,
33090
33106
  jv as nq,
33091
33107
  Be as nr,
33092
- ns,
33108
+ as as ns,
33093
33109
  Ui as nt,
33094
33110
  pt as nu,
33095
33111
  Ks as nv,
@@ -33099,7 +33115,7 @@ export {
33099
33115
  W5 as nz,
33100
33116
  ho as o,
33101
33117
  Ra as o0,
33102
- Zt as o1,
33118
+ Qt as o1,
33103
33119
  F0 as o2,
33104
33120
  B0 as o3,
33105
33121
  vr as o4,