@odigos/ui-kit 0.0.166 → 0.0.167

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.
@@ -1,4 +1,4 @@
1
- import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,AddClusterInfoIcon as i,DeleteAttributeIcon as a,RenameAttributeIcon as r,JavaLogo as s,GoLogo as l,NodejsLogo as c,PythonLogo as d,DotnetLogo as p,CSharpLogo as u,CPlusPlusLogo as h,PhpLogo as m,RubyLogo as g,RustLogo as x,SwiftLogo as $,ElixirLogo as f,MysqlLogo as b,NginxLogo as y,PostgresLogo as w,RedisLogo as k,KafkaLogo as C,AlaudaLogo as v,AlibabaCloudLogo as E,AppDynamicsLogo as S,AxiomLogo as A,AzureBlobLogo as D,AzureMonitorLogo as T,BetterStackLogo as z,BonreeLogo as F,CauselyLogo as O,ChecklyLogo as I,ChronosphereLogo as N,ClickhouseLogo as _,AwsCloudwatchLogo as B,CoralogixLogo as R,Dash0Logo as L,DatadogLogo as M,OpenTelemetryLogo as P,DynatraceLogo as j,ElasticApmLogo as U,ElasticSearchLogo as W,GoogleCloudPlatformLogo as V,GrafanaLogo as H,GreptimeLogo as q,GroundcoverLogo as G,HoneycombLogo as K,HyperDxLogo as Y,InstanaLogo as J,JaegerLogo as X,KloudmateLogo as Z,Last9Logo as Q,LightstepLogo as ee,LogzioLogo as te,LokiLogo as oe,LumigoLogo as ne,MiddlewareLogo as ie,NewRelicLogo as ae,ObserveLogo as re,OdigosLogo as se,OneUptimeLogo as le,OpenObserveLogo as ce,OpsVerseLogo as de,OracleLogo as pe,PrometheusLogo as ue,QrynLogo as he,GigapipeLogo as me,QuickwitLogo as ge,AwsS3Logo as xe,SeqLogo as $e,SplunkLogo as fe,SignozLogo as be,SumoLogicLogo as ye,TelemetryHubLogo as we,TempoLogo as ke,TingyunLogo as Ce,TraceloopLogo as ve,UptraceLogo as Ee,VictoriaMetricsLogo as Se,AwsXrayLogo as Ae,NamespacesIcon as De,SourceIcon as Te,DestinationIcon as ze,ActionIcon as Fe,InstrumentationRuleIcon as Oe,CodeAttributesIcon as Ie,CustomInstrumentationIcon as Ne,HeadersCollectionIcon as _e,PayloadCollectionIcon as Be,LogsIcon as Re,MetricsIcon as Le,TracesIcon as Me,VmLogo as Pe,ISquareIcon as je,ExclamationCircleIcon as Ue,ExclamationTriangleIcon as We,VSquareIcon as Ve,XSquareIcon as He,QuestionCircleIcon as qe,VIcon as Ge,CopyIcon as Ke,XIcon as Ye,MinusIcon as Je,ListIcon as Xe,CodeIcon as Ze,ExtendArrowIcon as Qe,PlusIcon as et,EditIcon as tt,NoDataIcon as ot,EyeClosedIcon as nt,EyeOpenIcon as it,SearchIcon as at,TrashIcon as rt,EditedIcon as st,SortArrowsIcon as lt,NotebookIcon as ct,ArrowIcon as dt,YamlIcon as pt,DotsVerticalIcon as ut,ChevronUpIcon as ht,ChevronDownIcon as mt,DotIcon as gt,FilterIcon as xt}from"../icons.js";import{create as $t}from"zustand";import ft,{Fragment as bt,useMemo as yt,useState as wt,useEffect as kt,useRef as Ct,createContext as vt,useContext as Et,useCallback as St,forwardRef as At,memo as Dt}from"react";import Tt from"javascript-time-ago";import{p as zt,c as Ft,s as Ot,u as It,e as Nt}from"./vendor-55cc654c.js";import _t,{css as Bt,useTheme as Rt,ThemeProvider as Lt,keyframes as Mt}from"styled-components";import{Handle as Pt,Position as jt,ReactFlow as Ut,Controls as Wt}from"@xyflow/react";import Vt,{createPortal as Ht}from"react-dom";import{ErrorBoundary as qt}from"react-error-boundary";import Gt from"lottie-react";import{Highlight as Kt,themes as Yt}from"prism-react-renderer";const Jt=e=>e.charAt(0).toUpperCase()+e.slice(1),Xt=e=>{const t=e=>e.filter(e=>"object"==typeof e&&null!==e?""!==e.key&&""!==e.value:""!==e),o=e=>Object.fromEntries(Object.entries(e).filter(([e,t])=>""!==e&&""!==t).map(([e,n])=>Array.isArray(n)?[e,t(n)]:"object"==typeof n&&null!==n?[e,o(n)]:[e,n]));return Object.entries(e).reduce((e,[n,i])=>{try{const a=JSON.parse(i);Array.isArray(a)?e[n]=JSON.stringify(t(a)):e[n]="object"==typeof a&&null!==a?JSON.stringify(o(a)):i}catch(a){"object"==typeof i&&null!==i?Array.isArray(i)?e[n]=JSON.stringify(t(i)):e[n]=JSON.stringify(o(i)):e[n]=i}return e},{})};var Zt;!function(e){e.SIGNALS="SIGNALS"}(Zt||(Zt={}));const Qt=(e,t,o)=>{if(!e||!e.length)return!0;if(1===e.length)return"true"==e[0];const[n,i,a]=e;if(n===Zt.SIGNALS)switch(i){case"INCLUDES":return t?.includes(a);case"EXCLUDES":return!t?.includes(a);default:return!0}const r=o.find(e=>e.name===n);if(!r)return!0;switch(i){case"===":case"==":return r.value===a;case"!==":case"!=":return r.value!==a;case">":return Number(r.value)>Number(a);case"<":return Number(r.value)<Number(a);case">=":return Number(r.value)>=Number(a);case"<=":return Number(r.value)<=Number(a);default:return!0}},eo=e=>JSON.parse(JSON.stringify(e)),to=(e,t)=>{let o=[...e];return t.monitors?.length&&(o=o.filter(e=>!!t.monitors?.find(t=>e.signals?.find(e=>e.toLowerCase()===t.id)))),o},oo=(e,t)=>{let o=[...e];return t.monitors?.length&&(o=o.filter(e=>!!t.monitors?.find(t=>e.exportedSignals[t.id]))),o},no=(e,t)=>t?e.filter(e=>e.dataStreamNames.includes(t)||!e.dataStreamNames.length):[];var io,ao,ro,so,lo,co,po,uo,ho,mo,go,xo,$o,fo,bo,yo,wo,ko,Co,vo,Eo,So,Ao,Do,To,zo,Fo,Oo,Io,No,_o,Bo,Ro,Lo,Mo,Po,jo,Uo,Wo,Vo;!function(e){e.Attributes="attributes",e.Samplers="samplers"}(io||(io={})),function(e){e.K8sAttributes="K8sAttributesResolver",e.AddClusterInfo="AddClusterInfo",e.DeleteAttributes="DeleteAttribute",e.RenameAttributes="RenameAttribute",e.PiiMasking="PiiMasking",e.ErrorSampler="ErrorSampler",e.ProbabilisticSampler="ProbabilisticSampler",e.LatencySampler="LatencySampler",e.ServiceNameSampler="ServiceNameSampler",e.SpanAttributeSampler="SpanAttributeSampler"}(ao||(ao={})),function(e){e.CollectContainerAttributes="collectContainerAttributes",e.CollectReplicaSetAttributes="collectReplicaSetAttributes",e.CollectWorkloadId="collectWorkloadId",e.CollectClusterId="collectClusterId",e.LabelsAttributes="labelsAttributes",e.AnnotationsAttributes="annotationsAttributes",e.ClusterAttributes="clusterAttributes",e.OverwriteExistingValues="overwriteExistingValues",e.AttributeNamesToDelete="attributeNamesToDelete",e.Renames="renames",e.PiiCategories="piiCategories",e.FallbackSamplingRatio="fallbackSamplingRatio",e.SamplingPercentage="samplingPercentage",e.EndpointsFilters="endpointsFilters",e.ServicesNameFilters="servicesNameFilters",e.AttributeFilters="attributeFilters"}(ro||(ro={})),function(e){e.Pod="pod",e.Namespace="namespace",e.Node="node"}(so||(so={})),function(e){e.EXISTS="exists",e.EQUALS="equals",e.NOT_EQUALS="not_equals",e.CONTAINS="contains",e.NOT_CONTAINS="not_contains",e.REGEX="regex"}(lo||(lo={})),function(e){e.EXISTS="exists",e.EQUALS="equals",e.NOT_EQUALS="not_equals",e.GREATER_THAN="greater_than",e.LESS_THAN="less_than",e.GREATER_THAN_OR_EQUAL="greater_than_or_equal",e.LESS_THAN_OR_EQUAL="less_than_or_equal"}(co||(co={})),function(e){e.EXISTS="exists",e.EQUALS="equals"}(po||(po={})),function(e){e.EXISTS="exists",e.EQUALS="equals",e.NOT_EQUALS="not_equals",e.IS_VALID_JSON="is_valid_json",e.IS_INVALID_JSON="is_invalid_json",e.JSONPATH_EXISTS="jsonpath_exists",e.KEY_EQUALS="key_equals",e.KEY_NOT_EQUALS="key_not_equals"}(uo||(uo={})),function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(ho||(ho={})),function(e){e.Ascending="ascending",e.Descending="descending"}(mo||(mo={})),function(e){e.Community="community",e.Cloud="cloud",e.Onprem="onprem"}(go||(go={})),function(e){e.K8s="k8s",e.Vm="vm"}(xo||(xo={})),function(e){e.Cli="odigos-cli",e.Helm="helm",e.Operator="odigos-operator"}($o||($o={})),function(e){e.Go="go",e.JavaScript="javascript",e.Python="python",e.Java="java",e.DotNet="dotnet",e.CSharp="csharp",e.CPlusPlus="cplusplus",e.Php="php",e.Ruby="ruby",e.Rust="rust",e.Swift="swift",e.Elixir="elixir",e.MySql="mysql",e.Nginx="nginx",e.Postgres="postgres",e.Redis="redis",e.Kafka="kafka",e.Ignored="ignored",e.Unknown="unknown",e.Processing="processing",e.NoContainers="no containers",e.NoRunningPods="no running pods"}(fo||(fo={})),function(e){e.Create="Create",e.Read="Read",e.Update="Update",e.Delete="Delete"}(bo||(bo={})),function(e){e.Namespace="Namespace",e.Source="Source",e.Destination="Destination",e.Action="Action",e.InstrumentationRule="InstrumentationRule"}(yo||(yo={})),function(e){e.DataStream="DataStream"}(wo||(wo={})),function(e){e.Input="input",e.MultiInput="multiInput",e.MultiTabledInput="multiTabledInput",e.KeyValuePair="keyValuePairs",e.TextArea="textarea",e.Dropdown="dropdown",e.Checkbox="checkbox",e.Toggle="toggle"}(ko||(ko={})),function(e){e.Text="text",e.Password="password",e.Number="number"}(Co||(Co={})),function(e){e.Warning="warning",e.Error="error",e.Success="success",e.Info="info",e.Default="default"}(vo||(vo={})),function(e){e.INSTRUMENTED="Instrumented",e.INSTRUMENTING="Instrumenting",e.UNINSTRUMENTED="Uninstrumented",e.NOT_INSTRUMENTED="Not Instrumented"}(Eo||(Eo={})),function(e){e.Loading="loading",e.Disabled="disabled"}(So||(So={})),function(e){e.Disabled="disabled",e.Unknown="unknown"}(Ao||(Ao={})),function(e){e.CodeAttributes="code-attributes",e.FullPayloadCollection="full-payload-collection",e.DbPayloadCollection="db-payload-collection",e.QueryOperationDetector="query-operation-detector",e.AllowConcurrentAgents="allow_concurrent_agents",e.JavaEbpfInstrumentations="java-ebpf-instrumentations",e.JavaNativeInstrumentations="java-native-instrumentations",e.SizeS="size_s",e.SizeM="size_m",e.SizeL="size_l"}(Do||(Do={})),function(e){e.Header="header",e.Add="add",e.Base="base",e.Edged="edged",e.Frame="frame",e.Scroll="scroll",e.Skeleton="skeleton",e.MapItem="map-item",e.NoData="no-data",e.OdiLogo="odilogo"}(To||(To={})),function(e){e.Labeled="labeled"}(zo||(zo={})),function(e){e.AddRule="addRule",e.AddSource="addSource",e.AddAction="addAction",e.AddDestination="addDestination"}(Fo||(Fo={})),function(e){e.Alauda="alauda",e.AlibabaCloud="alibabacloud",e.AppDynamics="appdynamics",e.Axiom="axiom",e.AzureBlob="azureblob",e.AzureMonitor="azuremonitor",e.BetterStack="betterstack",e.Bonree="bonree",e.Causely="causely",e.Checkly="checkly",e.Chronosphere="chronosphere",e.ClickHouse="clickhouse",e.CloudWatch="cloudwatch",e.Coralogix="coralogix",e.Dash0="dash0",e.Datadog="datadog",e.Dynamic="dynamic",e.Dynatrace="dynatrace",e.ElasticApm="elasticapm",e.ElasticSearch="elasticsearch",e.GoogleCloud="googlecloud",e.GoogleCloudOTLP="googlecloudotlp",e.GrafanaCloudLoki="grafanacloudloki",e.GrafanaCloudPrometheus="grafanacloudprometheus",e.GrafanaCloudTempo="grafanacloudtempo",e.Greptime="greptime",e.Groundcover="groundcover",e.Honeycomb="honeycomb",e.HyperDX="hyperdx",e.Instana="instana",e.Jaeger="jaeger",e.Kafka="kafka",e.Kloudmate="kloudmate",e.Last9="last9",e.Lightstep="lightstep",e.LogzIo="logzio",e.Loki="loki",e.Lumigo="lumigo",e.Middleware="middleware",e.NewRelic="newrelic",e.Observe="observe",e.Odigos="odigos",e.OneUptime="oneuptime",e.OpenObserve="openobserve",e.Opsverse="opsverse",e.Oracle="oracle",e.OTLP="otlp",e.OTLPHttp="otlphttp",e.Prometheus="prometheus",e.Qryn="qryn",e.QrynOss="qryn-oss",e.Quickwit="quickwit",e.S3="s3",e.Seq="seq",e.Signalfx="signalfx",e.Signoz="signoz",e.Splunk="splunk",e.SplunkSapm="splunksapm",e.SplunkOtlp="splunkotlp",e.SumoLogic="sumologic",e.TelemetryHub="telemetryhub",e.Tempo="tempo",e.Tingyun="tingyun",e.Traceloop="traceloop",e.Uptrace="uptrace",e.VictoriaMetrics="victoriametrics",e.VictoriaMetricsCloud="victoriametricscloud",e.XRay="xray"}(Oo||(Oo={})),function(e){e.Deployment="Deployment",e.DaemonSet="DaemonSet",e.StatefulSet="StatefulSet",e.CronJob="CronJob",e.ConfigMap="ConfigMap",e.Pod="Pod",e.DeploymentConfig="DeploymentConfig"}(Io||(Io={})),function(e){e.Error="Error",e.Failure="Failure",e.Notice="Notice",e.Pending="Pending",e.Waiting="Waiting",e.Unsupported="Unsupported",e.Disabled="Disabled",e.Success="Success",e.Irrelevant="Irrelevant",e.Unknown="Unknown"}(No||(No={})),function(e){e.CodeAttributes="CodeAttributes",e.HeadersCollection="HeadersCollection",e.PayloadCollection="PayloadCollection",e.CustomInstrumentation="CustomInstrumentation",e.UnknownType="UnknownType"}(_o||(_o={})),function(e){e.Column="column",e.FilePath="filePath",e.Function="function",e.LineNumber="lineNumber",e.Namespace="namespace",e.StackTrace="stacktrace"}(Bo||(Bo={})),function(e){e.HeaderKeys="headerKeys"}(Ro||(Ro={})),function(e){e.Java="java",e.Golang="golang"}(Lo||(Lo={}));class Ho{className;methodName;constructor(e,t){this.className=e,this.methodName=t}Verify(){return!!this.className&&!!this.methodName}toString(){return this.Verify()?`${this.className}.${this.methodName}`:"[Faulty Java Probe]"}}class qo{packageName;functionName;receiverName;receiverMethodName;constructor(e,t,o,n){this.packageName=e,this.functionName=t||"",this.receiverName=o||"",this.receiverMethodName=n||""}Verify(){return!(!this.packageName||(this.functionName?this.receiverMethodName||this.receiverName:!this.receiverMethodName||!this.receiverName))}toString(){return this.Verify()?this.functionName?`${this.packageName}.${this.functionName}`:this.receiverName&&this.receiverMethodName?`${this.packageName}.(${this.receiverName}).${this.receiverMethodName}`:"":"[Faulty Golang Probe]"}}!function(e){e.HttpRequest="httpRequest",e.HttpResponse="httpResponse",e.DbQuery="dbQuery",e.Messaging="messaging"}(Mo||(Mo={})),function(e){e.Healthy="Healthy",e.Updating="Updating",e.Degraded="Degraded",e.Failed="Failed",e.Down="Down",e.Unknown="Unknown"}(Po||(Po={})),function(e){e.Pending="Pending",e.Running="Running",e.Succeeded="Succeeded",e.Failed="Failed",e.Unknown="Unknown"}(jo||(jo={})),function(e){e.ContainerCreating="ContainerCreating",e.CrashLoopBackOff="CrashLoopBackOff",e.CreateContainerError="CreateContainerError",e.CreateContainerConfigError="CreateContainerConfigError",e.ErrImagePull="ErrImagePull",e.ErrImageNeverPull="ErrImageNeverPull",e.ImagePullBackOff="ImagePullBackOff",e.InvalidImageName="InvalidImageName",e.RegistryUnavailable="RegistryUnavailable",e.NetworkNotReady="NetworkNotReady",e.Running="Running",e.Completed="Completed",e.Error="Error",e.OOMKilled="OOMKilled",e.ContainerCannotRun="ContainerCannotRun",e.DeadlineExceeded="DeadlineExceeded",e.StartError="StartError"}(Uo||(Uo={})),function(e){e.Running="Running",e.Waiting="Waiting",e.Terminated="Terminated"}(Wo||(Wo={})),function(e){e.Logs="logs",e.Metrics="metrics",e.Traces="traces"}(Vo||(Vo={}));const Go=(e,t)=>{let o=[...e];return t.namespaces?.length&&(o=o.filter(({namespace:e})=>!!t.namespaces?.find(({id:t})=>t===e))),t.kinds?.length&&(o=o.filter(({kind:e})=>!!t.kinds?.find(({id:t})=>t===e))),t.languages?.length&&(o=o.filter(({containers:e})=>!!t.languages?.find(({id:t})=>!!e?.find(({language:e})=>t===e)))),t.conditions?.length&&(o=o.filter(({conditions:e})=>!!t.conditions?.find(({id:t})=>!!e?.find(({type:e,reason:o})=>t===`${e}#${o}`)))),t.podsAgentInjectionStatus?.length&&(o=o.filter(({podsAgentInjectionStatus:e})=>!!t.podsAgentInjectionStatus?.find(({id:t})=>t===e?.message))),t.onlyErrors&&(o=o.filter(e=>!!e.conditions?.find(e=>e.status===vo.Error))),t.errors?.length&&(o=o.filter(e=>!!t.errors?.find(t=>!!e.conditions?.find(e=>e.message===t.id)))),o},Ko="default",Yo={SELECTED_DATA_STREAM:"SELECTED_DATA_STREAM",SELECTED_DATA_STREAM_WITH_PROXY:e=>`SELECTED_DATA_STREAM_${e}`,OVERVIEW_FILTERS:"OVERVIEW_FILTERS",DARK_MODE:"DARK_MODE"},Jo={REQUIRED_FIELDS:"Required fields are missing",FIELD_IS_REQUIRED:"This field is required",FORBIDDEN:"Forbidden",ENTERPRISE_ONLY:(e="This")=>`${e} is an Enterprise feature. Please upgrade your plan.`,DEFINED_FOR_ALL_STREAMS:e=>`${e} are defined for all Data Streams.`,CANNOT_EDIT_RULE:"Cannot edit a system-managed instrumentation rule",CANNOT_DELETE_RULE:"Cannot delete a system-managed instrumentation rule",LATENCY_HTTP_ROUTE:'HTTP route must start with a forward slash "/"',READONLY_WARNING:"You're not allowed to create/update/delete in readonly mode",ILLEGAL_K8S_LABEL:'Must be 63 characters or less, must consist of alphanumeric characters, "-", "_", or ".", and must start & end with an alphanumeric character (e.g., my-name, 123.abc).',INVALID_VERSION:'Invalid version format, must be in the format of "major.minor.patch" (e.g. 1.0.0)'},Xo={NAMESPACE:"Namespace",NAME:"Name",KIND:"Kind",CONNECTION:"Connection",CONNECTIONS:"Connections",DATA_STREAM:"Data Stream",DATA_STREAMS:"Data Streams",STREAM_NAME:"Data Stream Name",NAME_YOUR_STREAM:"Name your Data Stream",NAME_YOUR_STREAM_PLACEHOLDER:"e.g. Highest priority",STREAM_DESCRIPTION:"Provide a clear and descriptive name for your pipeline to ensure its purpose is easily understood by you and your team.",STREAM_CONFIRM:"Confirm your new Data Stream",DATA_STREAM_EXISTS_WARNING:(e,t)=>`A Data Stream with this name already exists, you can still rename the current "${e}", but it will merge into the existing "${t}".`,ACTION:"Action",ACTIONS:"Actions",ADD_ACTION:"Add Action",ACTION_DETAILS:"Action Details",INSTRUMENTATION_RULE:"Instrumentation Rule",INSTRUMENTATION_RULES:"Instrumentation Rules",ADD_INSTRUMENTATION_RULE:"Add Instrumentation Rule",INSTRUMENTATION_RULE_DETAILS:"Instrumentation Rule Details",DESTINATION:"Destination",DESTINATIONS:"Destinations",ADD_DESTINATION:"Add Destination",ADD_DESTINATIONS:"Add Destinations",ADD_DESTINATION_DESCRIPTION:"Add a destination to send your telemetry data to. You can add multiple destinations.",DESTINATION_DETAILS:"Destination Details",SELECTED_DESTINATIONS:"Selected Destinations",SOURCE:"Source",SOURCES:"Sources",ADD_SOURCE:"Add Source",SOURCE_DETAILS:"Source Details",SELECT_SOURCES:"Select Sources",SELECTED_SOURCES:"Selected Sources",SELECT_SOURCES_DESCRIPTION:"Choose which sources to monitor in your pipeline.",NO_SOURCES:"No sources",NO_SOURCES_GO_BACK:"No sources selected. Please go back to select sources.",PLEASE_ADD_SOURCE:"Please add a source",NO_SOURCES_NAMESPACE:"No sources available in this namespace",TRY_SEARCH_OR_OTHER_NAMESPACE:"Try searching again or select another namespace.",PLEASE_MAKE_SURE_UNIGNORED_NAMESPACES:"Please make sure your cluster has unignored namespaces",INSTALLATION:"Installation",SUMMARY:"Summary",TYPE:"Type",NOTES:"Notes",STATUS:"Status",READONLY:"Readonly",LANGUAGE:"Language",VERSION:"Version",RUNTIME_VERSION:"Runtime Version",VERSION_PLACEHOLDER:"1.0.0",MONITORS:"Monitors",SIGNALS_FOR_PROCESSING:"Signals for Processing",MANAGED_BY_PROFILE:"Managed by Profile",TIER:"Tier",ENTERPRISE:"Enterprise",ENTERPRISE_TIER:"Enterprise Tier",COMMUNITY:"Community",COMMUNITY_TIER:"Community Tier",API_TOKEN:"API Token",API_TOKENS:"API Tokens",DESCRIBE_ODIGOS:"Describe Odigos",DESCRIBE_SOURCE:"Describe Source",DETECTED_CONTAINERS:"Detected Containers",DETECTED_CONTAINERS_DESCRIPTION:"The system automatically instruments the containers it detects with a supported programming language.",DETECTED_PROCESSES:"Detected Processes",DETECTED_PROCESSES_DESCRIPTION:"The system automatically instruments the processes it detects with a supported programming language.",CONTAINER_NAME:"Container Name",FILTERED_COUNT_TOOLTIP:"Represents filtered amount, out of total amount",SEARCH_NAMESPACES:"Search Namespaces",SEARCH_SOURCES:"Search Sources",SELECT_ALL:"Select All",ONLY_SELECTED:"Only selected",ONLY_RUNNING_INSTANCES:"Only running instances",TO_COLLECT_OTEL_DATA:"To collect OpenTelemetry data",TO_MONITOR_OTEL_DATA:"To monitor OpenTelemetry data",TO_MODIFY_OTEL_DATA:"To modify OpenTelemetry data",QUICK_BACK_TO_SUMMARY:"When you finish editing you can quickly go back to the summary.",GO_TO_SUMMARY:"Go to summary",FUTURE_APPS_TITLE:"Instrument entire namespace",FUTURE_APPS_DESCRIPTION:"When enabled, all applications in the namespace and new applications will be instrumented automatically and included in the current data stream using a Namespace Source.",OVERIDE:"Override",OVERIDDEN:"Overridden",OVERRIDE_RUNTIME_DETAILS:"Override Runtime Details",OVERRIDE_RUNTIME_WARNING:"This is an advanced configuration. If the selected programming language is incorrect, data collection may be incomplete or may not occur at all.",ACTIVE:"Active",INACTIVE:"Inactive",ENABLED:"Enabled",DISABLED:"Disabled",NO_TRACES_FOUND:"No traces found",ARE_SERVICES_INSTRUMENTED_AND_PRODUCING_TRAFFIC:"Are your services instrumented & producing traffic?",JAVA_CUSTOM_PROBES:"Java Custom Probes",GOLANG_CUSTOM_PROBES:"Golang Custom Probes"},Zo={ADD:"Add",ADD_NEW:"Add New",NEW:"New",SELECT:"Select",CREATE:"Create",UPDATE:"Update",EDIT:"Edit",DELETE:"Delete",CANCEL:"Cancel",DONE:"Done",SAVE:"Save",BACK:"Back",NEXT:"Next",TEST:"Test",TEST_CONNECTION:"Test Connection",INSTRUMENT:"Instrument",UNINSTRUMENT:"Uninstrument"},Qo=(e,t)=>t?e.filter(e=>e.dataStreamNames.includes(t)||t===Ko&&!e.dataStreamNames.length):[],en=(e,t="",o={})=>{for(const n in e)if(e.hasOwnProperty(n)){const i=e[n],a=t?`${t}.${n}`:n;null===i||"object"!=typeof i||Array.isArray(i)?Array.isArray(i)?i.forEach((e,t)=>{const n=`${a}[${t}]`;null!==e&&"object"==typeof e?en(e,n,o):o[n]=e}):o[a]=i:en(i,a,o)}return o},tn=e=>{if(!e)return"0 KB/s";const t=Math.floor(Math.log(e)/Math.log(1024));return`${(e/Math.pow(1024,t)).toFixed(0===t?0:1)} ${["Bytes/s","KB/s","MB/s","GB/s","TB/s"][t]}`},on=e=>{if(!e)return"0 ns";if(e<1e3)return`${e.toFixed(0)} ns`;if(e<1e6){const t=e/1e3;return`${t.toFixed(t<10?2:0)} μs`}if(e<1e9){const t=e/1e6;return`${t.toFixed(t<10?2:0)} ms`}if(e<6e10){const t=e/1e9;return`${t.toFixed(t<10?2:0)} s`}if(e<36e11){const t=e/6e10;return`${t.toFixed(t<10?2:0)} m`}if(e<864e11){const t=e/36e11;return`${t.toFixed(t<10?2:0)} h`}{const t=e/864e11;return`${t.toFixed(t<10?2:0)} d`}},nn=()=>{const e=crypto.getRandomValues(new Uint8Array(16));let t=0;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,o=>{const n=e[t%16];return t++,("1"===o?n:"0"===o?63&n|128:15&n|64).toString(16)})},an=s=>{const l=s?.toLowerCase(),c=l?.includes(io.Samplers),d=l===io.Attributes;return c?e:d?t:{[ao.K8sAttributes]:n,[ao.AddClusterInfo]:i,[ao.DeleteAttributes]:a,[ao.PiiMasking]:t,[ao.RenameAttributes]:r,[ao.ErrorSampler]:e,[ao.ProbabilisticSampler]:e,[ao.LatencySampler]:e,[ao.ServiceNameSampler]:e,[ao.SpanAttributeSampler]:e}[s]||o},rn=e=>{const t=e?.filter(({status:e})=>e===vo.Error),o=e?.filter(({status:e})=>e===vo.Warning),n=e?.filter(({status:e})=>e===So.Disabled),i=e?.filter(({status:e})=>e===So.Loading),a=t.length>0,r=o.length>0,s=n.length>0;return{errors:t,hasErrors:a,warnings:o,hasWarnings:r,disableds:n,hasDisableds:s,loadings:i,hasLoadings:i.length>0,priorotizedStatus:a?vo.Error:r?vo.Warning:s?vo.Info:void 0}},sn=e=>{const t=e?.reduce((e,t)=>t.instrumented?e+1:e,0);return`${t}/${e?.length||0} instrumented`},ln=e=>({[fo.Java]:s,[fo.Go]:l,[fo.JavaScript]:c,[fo.Python]:d,[fo.DotNet]:p,[fo.CSharp]:u,[fo.CPlusPlus]:h,[fo.Php]:m,[fo.Ruby]:g,[fo.Rust]:x,[fo.Swift]:$,[fo.Elixir]:f,[fo.MySql]:b,[fo.Nginx]:y,[fo.Postgres]:w,[fo.Redis]:k,[fo.Kafka]:C,[fo.Ignored]:o,[fo.Unknown]:o,[fo.Processing]:o,[fo.NoContainers]:o,[fo.NoRunningPods]:o}[e]||o),cn=e=>e?.map(({language:e})=>ln(e))||[],dn=(e,t)=>{const o={[Oo.Alauda]:v,[Oo.AlibabaCloud]:E,[Oo.AppDynamics]:S,[Oo.Axiom]:A,[Oo.AzureBlob]:D,[Oo.AzureMonitor]:T,[Oo.BetterStack]:z,[Oo.Bonree]:F,[Oo.Causely]:O,[Oo.Checkly]:I,[Oo.Chronosphere]:N,[Oo.ClickHouse]:_,[Oo.CloudWatch]:B,[Oo.Coralogix]:R,[Oo.Dash0]:L,[Oo.Datadog]:M,[Oo.Dynamic]:P,[Oo.Dynatrace]:j,[Oo.ElasticApm]:U,[Oo.ElasticSearch]:W,[Oo.GoogleCloud]:V,[Oo.GoogleCloudOTLP]:V,[Oo.GrafanaCloudLoki]:H,[Oo.GrafanaCloudPrometheus]:H,[Oo.GrafanaCloudTempo]:H,[Oo.Greptime]:q,[Oo.Groundcover]:G,[Oo.Honeycomb]:K,[Oo.HyperDX]:Y,[Oo.Instana]:J,[Oo.Jaeger]:X,[Oo.Kafka]:C,[Oo.Kloudmate]:Z,[Oo.Last9]:Q,[Oo.Lightstep]:ee,[Oo.LogzIo]:te,[Oo.Loki]:oe,[Oo.Lumigo]:ne,[Oo.Middleware]:ie,[Oo.NewRelic]:ae,[Oo.Observe]:re,[Oo.Odigos]:se,[Oo.OneUptime]:le,[Oo.OpenObserve]:ce,[Oo.Opsverse]:de,[Oo.Oracle]:pe,[Oo.OTLP]:P,[Oo.OTLPHttp]:P,[Oo.Prometheus]:ue,[Oo.Qryn]:he,[Oo.QrynOss]:me,[Oo.Quickwit]:ge,[Oo.S3]:xe,[Oo.Seq]:$e,[Oo.Signalfx]:fe,[Oo.Signoz]:be,[Oo.Splunk]:fe,[Oo.SplunkSapm]:fe,[Oo.SplunkOtlp]:fe,[Oo.SumoLogic]:ye,[Oo.TelemetryHub]:we,[Oo.Tempo]:ke,[Oo.Tingyun]:Ce,[Oo.Traceloop]:ve,[Oo.Uptrace]:Ee,[Oo.VictoriaMetrics]:Se,[Oo.VictoriaMetricsCloud]:Se,[Oo.XRay]:Ae}[e];return o&&!t?{icon:o}:{iconSrc:`https://d15jtxgb40qetw.cloudfront.net/${e}.svg`}},pn=e=>({[yo.Namespace]:De,[yo.Source]:Te,[yo.Destination]:ze,[yo.Action]:Fe,[yo.InstrumentationRule]:Oe}[e]),un=e=>"ruleId"in e&&e.ruleId?e.ruleId:"id"in e&&e.id?e.id:"namespace"in e&&e.namespace&&"kind"in e&&e.kind&&"name"in e&&e.name?{namespace:e.namespace,name:e.name,kind:e.kind}:"name"in e&&e.name?e.name:void 0,hn=(e,t,o)=>{const{extended:n,prioritizeDisplayName:i}=o||{};let a="",r="";switch(t){case yo.InstrumentationRule:const t=e;a=t.type,r=t.ruleName;break;case yo.Source:const o=e;a=o.name,r=o.otelServiceName;break;case yo.Action:const n=e;a=n.type,r=n.name;break;case yo.Destination:const i=e;a=i.destinationType.displayName,r=i.name;break;case yo.Namespace:const s=e;a=s.name,r=s.name}return n?a+(r&&r!==a?` (${r})`:""):i&&r||a},mn=(e,t)=>{if(t===yo.Source){const t={namespace:"",name:"",kind:""};return e.split("&").forEach(e=>{const[o,n]=e.split("=");t[o]=n}),t}return e},gn=e=>({[_o.CodeAttributes]:Ie,[_o.CustomInstrumentation]:Ne,[_o.HeadersCollection]:_e,[_o.PayloadCollection]:Be,[_o.UnknownType]:o}[e]||o),xn=e=>{const{numberOfInstances:t,containers:o}=e;if(!o)return t&&t>0?fo.Processing:fo.NoRunningPods;const n=o?.filter(e=>e.language!==fo.Ignored);if(!n.length)return fo.NoContainers;const i=n.find(e=>e.language!==fo.Unknown);return i?i.language:fo.Unknown},$n=(e,t,o)=>(t===yo.Source?e?.sources.find(e=>e.kind===o.kind&&e.name===o.name&&e.namespace===o.namespace):e?.destinations.find(e=>e.id===o))||{throughput:0},fn=e=>({[Vo.Logs]:Re,[Vo.Metrics]:Le,[Vo.Traces]:Me}[e]),bn=e=>e?{[xo.K8s]:n,[xo.Vm]:Pe}[e]:se,yn=e=>e?{[xo.K8s]:"Kubernetes Cluster",[xo.Vm]:"Virtual Machine"}[e]:"Unknown",wn=(e,t,o)=>{const n=e[t];return n?n.flatMap(e=>{const n=e[o],i=[];return void 0!==n&&(Array.isArray(n)?i.push(...n):i.push(n)),i.push(...wn(e,t,o)),i}):[]},kn=(e,t)=>{if(t===yo.Source){let t="";return Object.entries(e).forEach(([e,o])=>{t+=`${e}=${o}&`}),t.slice(0,-1),t}return e},Cn=(e,t,o)=>{switch(t){case vo.Default:return e.v2.colors.purple[o];case vo.Info:return e.v2.colors.blue[o];case vo.Error:return e.v2.colors.red[o];case vo.Warning:return e.v2.colors.yellow[o];case vo.Success:return e.v2.colors.green[o];case Ao.Disabled:case Ao.Unknown:return e.v2.colors.silver[o];default:return e.v2.colors.white[500]}},vn=e=>{switch(e){case Po.Updating:case jo.Pending:case Uo.ContainerCreating:case Wo.Waiting:return vo.Info;case Po.Healthy:case jo.Succeeded:case jo.Running:case Uo.Running:case Wo.Running:return vo.Success;case Po.Degraded:return vo.Warning;case Po.Failed:case jo.Failed:case Uo.Error:case Uo.CrashLoopBackOff:case Uo.CreateContainerError:case Uo.CreateContainerConfigError:case Uo.ErrImagePull:case Uo.ErrImageNeverPull:case Uo.ImagePullBackOff:case Uo.InvalidImageName:case Uo.RegistryUnavailable:case Uo.NetworkNotReady:case Uo.OOMKilled:case Uo.ContainerCannotRun:case Wo.Terminated:case Uo.DeadlineExceeded:case Uo.StartError:return vo.Error;case Po.Down:case Uo.Completed:return Ao.Disabled;case Po.Unknown:case jo.Unknown:default:return Ao.Unknown}},En=(e,t)=>({[vo.Default]:o=>se({fill:Cn(t,e,"300"),...o}),[vo.Info]:o=>je({fill:Cn(t,e,"400"),...o}),[vo.Error]:o=>Ue({fill:Cn(t,e,"500"),...o}),[vo.Warning]:o=>We({fill:Cn(t,e,"500"),...o}),[vo.Success]:o=>Ve({fill:Cn(t,e,"500"),...o}),[Ao.Disabled]:o=>He({fill:Cn(t,e,"400"),...o}),[Ao.Unknown]:o=>qe({fill:Cn(t,e,"300"),...o})}[e]),Sn=e=>{switch(e){case No.Success:return vo.Success;case No.Error:case No.Failure:return vo.Error;case No.Notice:return vo.Warning;case No.Unsupported:case No.Unknown:return vo.Info;case No.Irrelevant:case No.Disabled:return So.Disabled;case No.Waiting:return So.Loading;case No.Pending:default:return vo.Default}},An=(e,t)=>{const o=t.find(([t,o])=>e>=t&&(null===o||e<=o));return o?.[2]||null},Dn=({namespace:e,name:t,kind:o})=>({namespace:e,name:t,kind:o});function Tn(e,t){if(!e)return t;if("object"==typeof e)return e;try{return JSON.parse(e)}catch(e){return t}}const zn=(e,t)=>{const o=[],n=JSON.parse(JSON.stringify(e));for(const e of n){const n=Tn(t.fields,{}),i=e.items.findIndex(e=>e.type===t.destinationType.type);-1!==i&&o.push(...e.items[i].fields.map(e=>({...e,initialValue:n[e.name]})))}return o},Fn=(e,t)=>{const o=e=>e?.some(({healthy:e})=>e.status!==vo.Success);return e?.length?e.some(({instrumentationInstances:e})=>o(e)):o(t)??!1},On=e=>Array.isArray(e)?!e?.length:"object"==typeof e?!Object.keys(e||{}).length:[void 0,null,""].includes(e),In=e=>!!e&&(!(e.length>63)&&/^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$/.test(e)),Nn=(e,t=0)=>{const o=(new Date).getTime();return new Date(e).getTime()-o<=t},_n=e=>{const t=String(e).trim().toLowerCase();return["true","false","1","0"].includes(t)},Bn=(e,t=0)=>(new Date).getTime()-new Date(e).getTime()>=t,Rn=/^(\d+\.)?(\d+\.)?(\*|\d+)$/,Ln=e=>Rn.test(e),Mn=e=>e?e.replace(/([a-z0-9])([A-Z])/g,"$1 $2"):"",Pn=e=>e?.map(({status:e,type:t,reason:o,message:n,lastTransitionTime:i})=>({status:e,type:Mn(t),reason:o?Mn(o):"",message:n,lastTransitionTime:i}))||[],jn=(e,t)=>{const o=Tn(e.fields,{});return t.length?t.map(e=>({key:e.name,name:e.displayName||e.name,value:o[e.name]??null})).filter(e=>null!==e.value):Object.entries(o).map(([e,t])=>({key:e,name:e,value:t}))},Un=e=>e?Object.keys(e).filter(t=>e[t]):[],Wn=e=>e.replace(/[^\d]/g,""),Vn=e=>{const t=String(e).trim().toLowerCase();return"true"===t||"1"===t},Hn=e=>{let t="";try{const o=JSON.parse(e);t=Array.isArray(o)?o.map(e=>"object"==typeof e&&null!==e?`${e.key}: ${e.value}`:e).join(", "):"object"==typeof o&&null!==o?Object.entries(o).map(([e,t])=>`${e}: ${t}`).join(", "):e}catch(o){t=e}return t},qn=e=>{if("object"!=typeof e)return e;const t=Array.isArray(e)?[]:{};return Object.keys(e).forEach(o=>{const n=e[o];if(Array.isArray(n)){const e=n.filter(e=>null!=e&&""!==e);e.length>0&&(t[o]=e.map(e=>qn(e)))}else if("object"==typeof n&&null!==n){const e=qn(n);Object.keys(e).length>0&&(t[o]=e)}else[void 0,null,""].includes(n)||(t[o]=n)}),t},Gn=(e,t=2)=>JSON.stringify(e||{},null,t),Kn=async(e=1e3)=>new Promise(t=>setTimeout(t,e)),Yn=e=>Object.entries(e).reduce((e,[t,o])=>(e[t]="string"==typeof o?o:JSON.stringify(o),e),{}),Jn=e=>{let t=e.toString().replace("v","").split("-")[0];t=t.match(/[\d.]+/)?.[0]||"";const o=t.split(".");return o.length>2&&(t=o.slice(0,2).join(".")),Number(t)};var Xn,Zn;!function(e){e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.P="p",e.Span="span"}(Xn||(Xn={})),function(e){e.XXXS="xxxs",e.XXS="xxs",e.XS="xs",e.S="s",e.M="m",e.L="l",e.XL="xl",e.XXL="xxl",e.XXXL="xxxl"}(Zn||(Zn={}));const Qn=_t.p`
1
+ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,AddClusterInfoIcon as i,DeleteAttributeIcon as a,RenameAttributeIcon as r,JavaLogo as s,GoLogo as l,NodejsLogo as c,PythonLogo as d,DotnetLogo as p,CSharpLogo as u,CPlusPlusLogo as h,PhpLogo as m,RubyLogo as g,RustLogo as x,SwiftLogo as $,ElixirLogo as f,MysqlLogo as b,NginxLogo as y,PostgresLogo as w,RedisLogo as k,KafkaLogo as C,AlaudaLogo as v,AlibabaCloudLogo as E,AppDynamicsLogo as S,AxiomLogo as A,AzureBlobLogo as D,AzureMonitorLogo as T,BetterStackLogo as z,BonreeLogo as F,CauselyLogo as O,ChecklyLogo as I,ChronosphereLogo as N,ClickhouseLogo as _,AwsCloudwatchLogo as B,CoralogixLogo as R,Dash0Logo as L,DatadogLogo as M,OpenTelemetryLogo as P,DynatraceLogo as j,ElasticApmLogo as U,ElasticSearchLogo as W,GoogleCloudPlatformLogo as V,GrafanaLogo as H,GreptimeLogo as q,GroundcoverLogo as G,HoneycombLogo as K,HyperDxLogo as Y,InstanaLogo as J,JaegerLogo as X,KloudmateLogo as Z,Last9Logo as Q,LightstepLogo as ee,LogzioLogo as te,LokiLogo as oe,LumigoLogo as ne,MiddlewareLogo as ie,NewRelicLogo as ae,ObserveLogo as re,OdigosLogo as se,OneUptimeLogo as le,OpenObserveLogo as ce,OpsVerseLogo as de,OracleLogo as pe,PrometheusLogo as ue,QrynLogo as he,GigapipeLogo as me,QuickwitLogo as ge,AwsS3Logo as xe,SeqLogo as $e,SplunkLogo as fe,SignozLogo as be,SumoLogicLogo as ye,TelemetryHubLogo as we,TempoLogo as ke,TingyunLogo as Ce,TraceloopLogo as ve,UptraceLogo as Ee,VictoriaMetricsLogo as Se,AwsXrayLogo as Ae,NamespacesIcon as De,SourceIcon as Te,DestinationIcon as ze,ActionIcon as Fe,InstrumentationRuleIcon as Oe,CodeAttributesIcon as Ie,CustomInstrumentationIcon as Ne,HeadersCollectionIcon as _e,PayloadCollectionIcon as Be,LogsIcon as Re,MetricsIcon as Le,TracesIcon as Me,VmLogo as Pe,ISquareIcon as je,ExclamationCircleIcon as Ue,ExclamationTriangleIcon as We,VSquareIcon as Ve,XSquareIcon as He,QuestionCircleIcon as qe,VIcon as Ge,CopyIcon as Ke,XIcon as Ye,MinusIcon as Je,ListIcon as Xe,CodeIcon as Ze,ExtendArrowIcon as Qe,PlusIcon as et,EditIcon as tt,NoDataIcon as ot,EyeClosedIcon as nt,EyeOpenIcon as it,SearchIcon as at,TrashIcon as rt,EditedIcon as st,SortArrowsIcon as lt,NotebookIcon as ct,ArrowIcon as dt,ChevronUpIcon as pt,ChevronDownIcon as ut,DotsVerticalIcon as ht,YamlIcon as mt,DotIcon as gt,FilterIcon as xt}from"../icons.js";import{create as $t}from"zustand";import ft,{Fragment as bt,useMemo as yt,useState as wt,useEffect as kt,useRef as Ct,createContext as vt,useContext as Et,useCallback as St,forwardRef as At,memo as Dt}from"react";import Tt from"javascript-time-ago";import{p as zt,c as Ft,s as Ot,u as It,e as Nt}from"./vendor-0965fadc.js";import _t,{css as Bt,useTheme as Rt,ThemeProvider as Lt,keyframes as Mt}from"styled-components";import{Handle as Pt,Position as jt,ReactFlow as Ut,Controls as Wt}from"@xyflow/react";import Vt,{createPortal as Ht}from"react-dom";import{ErrorBoundary as qt}from"react-error-boundary";import Gt from"lottie-react";import{Highlight as Kt,themes as Yt}from"prism-react-renderer";const Jt=e=>e.charAt(0).toUpperCase()+e.slice(1),Xt=e=>{const t=e=>e.filter(e=>"object"==typeof e&&null!==e?""!==e.key&&""!==e.value:""!==e),o=e=>Object.fromEntries(Object.entries(e).filter(([e,t])=>""!==e&&""!==t).map(([e,n])=>Array.isArray(n)?[e,t(n)]:"object"==typeof n&&null!==n?[e,o(n)]:[e,n]));return Object.entries(e).reduce((e,[n,i])=>{try{const a=JSON.parse(i);Array.isArray(a)?e[n]=JSON.stringify(t(a)):e[n]="object"==typeof a&&null!==a?JSON.stringify(o(a)):i}catch(a){"object"==typeof i&&null!==i?Array.isArray(i)?e[n]=JSON.stringify(t(i)):e[n]=JSON.stringify(o(i)):e[n]=i}return e},{})};var Zt;!function(e){e.SIGNALS="SIGNALS"}(Zt||(Zt={}));const Qt=(e,t,o)=>{if(!e||!e.length)return!0;if(1===e.length)return"true"==e[0];const[n,i,a]=e;if(n===Zt.SIGNALS)switch(i){case"INCLUDES":return t?.includes(a);case"EXCLUDES":return!t?.includes(a);default:return!0}const r=o.find(e=>e.name===n);if(!r)return!0;switch(i){case"===":case"==":return r.value===a;case"!==":case"!=":return r.value!==a;case">":return Number(r.value)>Number(a);case"<":return Number(r.value)<Number(a);case">=":return Number(r.value)>=Number(a);case"<=":return Number(r.value)<=Number(a);default:return!0}},eo=e=>JSON.parse(JSON.stringify(e)),to=(e,t)=>{let o=[...e];return t.monitors?.length&&(o=o.filter(e=>!!t.monitors?.find(t=>e.signals?.find(e=>e.toLowerCase()===t.id)))),o},oo=(e,t)=>{let o=[...e];return t.monitors?.length&&(o=o.filter(e=>!!t.monitors?.find(t=>e.exportedSignals[t.id]))),o},no=(e,t)=>t?e.filter(e=>e.dataStreamNames.includes(t)||!e.dataStreamNames.length):[];var io,ao,ro,so,lo,co,po,uo,ho,mo,go,xo,$o,fo,bo,yo,wo,ko,Co,vo,Eo,So,Ao,Do,To,zo,Fo,Oo,Io,No,_o,Bo,Ro,Lo,Mo,Po,jo,Uo,Wo,Vo;!function(e){e.Attributes="attributes",e.Samplers="samplers"}(io||(io={})),function(e){e.K8sAttributes="K8sAttributesResolver",e.AddClusterInfo="AddClusterInfo",e.DeleteAttributes="DeleteAttribute",e.RenameAttributes="RenameAttribute",e.PiiMasking="PiiMasking",e.ErrorSampler="ErrorSampler",e.ProbabilisticSampler="ProbabilisticSampler",e.LatencySampler="LatencySampler",e.ServiceNameSampler="ServiceNameSampler",e.SpanAttributeSampler="SpanAttributeSampler"}(ao||(ao={})),function(e){e.CollectContainerAttributes="collectContainerAttributes",e.CollectReplicaSetAttributes="collectReplicaSetAttributes",e.CollectWorkloadId="collectWorkloadId",e.CollectClusterId="collectClusterId",e.LabelsAttributes="labelsAttributes",e.AnnotationsAttributes="annotationsAttributes",e.ClusterAttributes="clusterAttributes",e.OverwriteExistingValues="overwriteExistingValues",e.AttributeNamesToDelete="attributeNamesToDelete",e.Renames="renames",e.PiiCategories="piiCategories",e.FallbackSamplingRatio="fallbackSamplingRatio",e.SamplingPercentage="samplingPercentage",e.EndpointsFilters="endpointsFilters",e.ServicesNameFilters="servicesNameFilters",e.AttributeFilters="attributeFilters"}(ro||(ro={})),function(e){e.Pod="pod",e.Namespace="namespace",e.Node="node"}(so||(so={})),function(e){e.EXISTS="exists",e.EQUALS="equals",e.NOT_EQUALS="not_equals",e.CONTAINS="contains",e.NOT_CONTAINS="not_contains",e.REGEX="regex"}(lo||(lo={})),function(e){e.EXISTS="exists",e.EQUALS="equals",e.NOT_EQUALS="not_equals",e.GREATER_THAN="greater_than",e.LESS_THAN="less_than",e.GREATER_THAN_OR_EQUAL="greater_than_or_equal",e.LESS_THAN_OR_EQUAL="less_than_or_equal"}(co||(co={})),function(e){e.EXISTS="exists",e.EQUALS="equals"}(po||(po={})),function(e){e.EXISTS="exists",e.EQUALS="equals",e.NOT_EQUALS="not_equals",e.IS_VALID_JSON="is_valid_json",e.IS_INVALID_JSON="is_invalid_json",e.JSONPATH_EXISTS="jsonpath_exists",e.KEY_EQUALS="key_equals",e.KEY_NOT_EQUALS="key_not_equals"}(uo||(uo={})),function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(ho||(ho={})),function(e){e.Ascending="ascending",e.Descending="descending"}(mo||(mo={})),function(e){e.Community="community",e.Cloud="cloud",e.Onprem="onprem"}(go||(go={})),function(e){e.K8s="k8s",e.Vm="vm"}(xo||(xo={})),function(e){e.Cli="odigos-cli",e.Helm="helm",e.Operator="odigos-operator"}($o||($o={})),function(e){e.Go="go",e.JavaScript="javascript",e.Python="python",e.Java="java",e.DotNet="dotnet",e.CSharp="csharp",e.CPlusPlus="cplusplus",e.Php="php",e.Ruby="ruby",e.Rust="rust",e.Swift="swift",e.Elixir="elixir",e.MySql="mysql",e.Nginx="nginx",e.Postgres="postgres",e.Redis="redis",e.Kafka="kafka",e.Ignored="ignored",e.Unknown="unknown",e.Processing="processing",e.NoContainers="no containers",e.NoRunningPods="no running pods"}(fo||(fo={})),function(e){e.Create="Create",e.Read="Read",e.Update="Update",e.Delete="Delete"}(bo||(bo={})),function(e){e.Namespace="Namespace",e.Source="Source",e.Destination="Destination",e.Action="Action",e.InstrumentationRule="InstrumentationRule"}(yo||(yo={})),function(e){e.DataStream="DataStream"}(wo||(wo={})),function(e){e.Input="input",e.MultiInput="multiInput",e.MultiTabledInput="multiTabledInput",e.KeyValuePair="keyValuePairs",e.TextArea="textarea",e.Dropdown="dropdown",e.Checkbox="checkbox",e.Toggle="toggle"}(ko||(ko={})),function(e){e.Text="text",e.Password="password",e.Number="number"}(Co||(Co={})),function(e){e.Warning="warning",e.Error="error",e.Success="success",e.Info="info",e.Default="default"}(vo||(vo={})),function(e){e.INSTRUMENTED="Instrumented",e.INSTRUMENTING="Instrumenting",e.UNINSTRUMENTED="Uninstrumented",e.NOT_INSTRUMENTED="Not Instrumented"}(Eo||(Eo={})),function(e){e.Loading="loading",e.Disabled="disabled"}(So||(So={})),function(e){e.Disabled="disabled",e.Unknown="unknown"}(Ao||(Ao={})),function(e){e.CodeAttributes="code-attributes",e.FullPayloadCollection="full-payload-collection",e.DbPayloadCollection="db-payload-collection",e.QueryOperationDetector="query-operation-detector",e.AllowConcurrentAgents="allow_concurrent_agents",e.JavaEbpfInstrumentations="java-ebpf-instrumentations",e.JavaNativeInstrumentations="java-native-instrumentations",e.SizeS="size_s",e.SizeM="size_m",e.SizeL="size_l"}(Do||(Do={})),function(e){e.Header="header",e.Add="add",e.Base="base",e.Edged="edged",e.Frame="frame",e.Scroll="scroll",e.Skeleton="skeleton",e.MapItem="map-item",e.NoData="no-data",e.OdiLogo="odilogo"}(To||(To={})),function(e){e.Labeled="labeled"}(zo||(zo={})),function(e){e.AddRule="addRule",e.AddSource="addSource",e.AddAction="addAction",e.AddDestination="addDestination"}(Fo||(Fo={})),function(e){e.Alauda="alauda",e.AlibabaCloud="alibabacloud",e.AppDynamics="appdynamics",e.Axiom="axiom",e.AzureBlob="azureblob",e.AzureMonitor="azuremonitor",e.BetterStack="betterstack",e.Bonree="bonree",e.Causely="causely",e.Checkly="checkly",e.Chronosphere="chronosphere",e.ClickHouse="clickhouse",e.CloudWatch="cloudwatch",e.Coralogix="coralogix",e.Dash0="dash0",e.Datadog="datadog",e.Dynamic="dynamic",e.Dynatrace="dynatrace",e.ElasticApm="elasticapm",e.ElasticSearch="elasticsearch",e.GoogleCloud="googlecloud",e.GoogleCloudOTLP="googlecloudotlp",e.GrafanaCloudLoki="grafanacloudloki",e.GrafanaCloudPrometheus="grafanacloudprometheus",e.GrafanaCloudTempo="grafanacloudtempo",e.Greptime="greptime",e.Groundcover="groundcover",e.Honeycomb="honeycomb",e.HyperDX="hyperdx",e.Instana="instana",e.Jaeger="jaeger",e.Kafka="kafka",e.Kloudmate="kloudmate",e.Last9="last9",e.Lightstep="lightstep",e.LogzIo="logzio",e.Loki="loki",e.Lumigo="lumigo",e.Middleware="middleware",e.NewRelic="newrelic",e.Observe="observe",e.Odigos="odigos",e.OneUptime="oneuptime",e.OpenObserve="openobserve",e.Opsverse="opsverse",e.Oracle="oracle",e.OTLP="otlp",e.OTLPHttp="otlphttp",e.Prometheus="prometheus",e.Qryn="qryn",e.QrynOss="qryn-oss",e.Quickwit="quickwit",e.S3="s3",e.Seq="seq",e.Signalfx="signalfx",e.Signoz="signoz",e.Splunk="splunk",e.SplunkSapm="splunksapm",e.SplunkOtlp="splunkotlp",e.SumoLogic="sumologic",e.TelemetryHub="telemetryhub",e.Tempo="tempo",e.Tingyun="tingyun",e.Traceloop="traceloop",e.Uptrace="uptrace",e.VictoriaMetrics="victoriametrics",e.VictoriaMetricsCloud="victoriametricscloud",e.XRay="xray"}(Oo||(Oo={})),function(e){e.Deployment="Deployment",e.DaemonSet="DaemonSet",e.StatefulSet="StatefulSet",e.CronJob="CronJob",e.ConfigMap="ConfigMap",e.Pod="Pod",e.DeploymentConfig="DeploymentConfig"}(Io||(Io={})),function(e){e.Error="Error",e.Failure="Failure",e.Notice="Notice",e.Pending="Pending",e.Waiting="Waiting",e.Unsupported="Unsupported",e.Disabled="Disabled",e.Success="Success",e.Irrelevant="Irrelevant",e.Unknown="Unknown"}(No||(No={})),function(e){e.CodeAttributes="CodeAttributes",e.HeadersCollection="HeadersCollection",e.PayloadCollection="PayloadCollection",e.CustomInstrumentation="CustomInstrumentation",e.UnknownType="UnknownType"}(_o||(_o={})),function(e){e.Column="column",e.FilePath="filePath",e.Function="function",e.LineNumber="lineNumber",e.Namespace="namespace",e.StackTrace="stacktrace"}(Bo||(Bo={})),function(e){e.HeaderKeys="headerKeys"}(Ro||(Ro={})),function(e){e.Java="java",e.Golang="golang"}(Lo||(Lo={}));class Ho{className;methodName;constructor(e,t){this.className=e,this.methodName=t}Verify(){return!!this.className&&!!this.methodName}toString(){return this.Verify()?`${this.className}.${this.methodName}`:"[Faulty Java Probe]"}}class qo{packageName;functionName;receiverName;receiverMethodName;constructor(e,t,o,n){this.packageName=e,this.functionName=t||"",this.receiverName=o||"",this.receiverMethodName=n||""}Verify(){return!(!this.packageName||(this.functionName?this.receiverMethodName||this.receiverName:!this.receiverMethodName||!this.receiverName))}toString(){return this.Verify()?this.functionName?`${this.packageName}.${this.functionName}`:this.receiverName&&this.receiverMethodName?`${this.packageName}.(${this.receiverName}).${this.receiverMethodName}`:"":"[Faulty Golang Probe]"}}!function(e){e.HttpRequest="httpRequest",e.HttpResponse="httpResponse",e.DbQuery="dbQuery",e.Messaging="messaging"}(Mo||(Mo={})),function(e){e.Healthy="Healthy",e.Updating="Updating",e.Degraded="Degraded",e.Failed="Failed",e.Down="Down",e.Unknown="Unknown"}(Po||(Po={})),function(e){e.Pending="Pending",e.Running="Running",e.Succeeded="Succeeded",e.Failed="Failed",e.Unknown="Unknown"}(jo||(jo={})),function(e){e.ContainerCreating="ContainerCreating",e.CrashLoopBackOff="CrashLoopBackOff",e.CreateContainerError="CreateContainerError",e.CreateContainerConfigError="CreateContainerConfigError",e.ErrImagePull="ErrImagePull",e.ErrImageNeverPull="ErrImageNeverPull",e.ImagePullBackOff="ImagePullBackOff",e.InvalidImageName="InvalidImageName",e.RegistryUnavailable="RegistryUnavailable",e.NetworkNotReady="NetworkNotReady",e.Running="Running",e.Completed="Completed",e.Error="Error",e.OOMKilled="OOMKilled",e.ContainerCannotRun="ContainerCannotRun",e.DeadlineExceeded="DeadlineExceeded",e.StartError="StartError"}(Uo||(Uo={})),function(e){e.Running="Running",e.Waiting="Waiting",e.Terminated="Terminated"}(Wo||(Wo={})),function(e){e.Logs="logs",e.Metrics="metrics",e.Traces="traces"}(Vo||(Vo={}));const Go=(e,t)=>{let o=[...e];return t.namespaces?.length&&(o=o.filter(({namespace:e})=>!!t.namespaces?.find(({id:t})=>t===e))),t.kinds?.length&&(o=o.filter(({kind:e})=>!!t.kinds?.find(({id:t})=>t===e))),t.languages?.length&&(o=o.filter(({containers:e})=>!!t.languages?.find(({id:t})=>!!e?.find(({language:e})=>t===e)))),t.conditions?.length&&(o=o.filter(({conditions:e})=>!!t.conditions?.find(({id:t})=>!!e?.find(({type:e,reason:o})=>t===`${e}#${o}`)))),t.podsAgentInjectionStatus?.length&&(o=o.filter(({podsAgentInjectionStatus:e})=>!!t.podsAgentInjectionStatus?.find(({id:t})=>t===e?.message))),t.onlyErrors&&(o=o.filter(e=>!!e.conditions?.find(e=>e.status===vo.Error))),t.errors?.length&&(o=o.filter(e=>!!t.errors?.find(t=>!!e.conditions?.find(e=>e.message===t.id)))),o},Ko="default",Yo={SELECTED_DATA_STREAM:"SELECTED_DATA_STREAM",SELECTED_DATA_STREAM_WITH_PROXY:e=>`SELECTED_DATA_STREAM_${e}`,OVERVIEW_FILTERS:"OVERVIEW_FILTERS",DARK_MODE:"DARK_MODE"},Jo={REQUIRED_FIELDS:"Required fields are missing",FIELD_IS_REQUIRED:"This field is required",FORBIDDEN:"Forbidden",ENTERPRISE_ONLY:(e="This")=>`${e} is an Enterprise feature. Please upgrade your plan.`,DEFINED_FOR_ALL_STREAMS:e=>`${e} are defined for all Data Streams.`,CANNOT_EDIT_RULE:"Cannot edit a system-managed instrumentation rule",CANNOT_DELETE_RULE:"Cannot delete a system-managed instrumentation rule",LATENCY_HTTP_ROUTE:'HTTP route must start with a forward slash "/"',READONLY_WARNING:"You're not allowed to create/update/delete in readonly mode",ILLEGAL_K8S_LABEL:'Must be 63 characters or less, must consist of alphanumeric characters, "-", "_", or ".", and must start & end with an alphanumeric character (e.g., my-name, 123.abc).',INVALID_VERSION:'Invalid version format, must be in the format of "major.minor.patch" (e.g. 1.0.0)'},Xo={NAMESPACE:"Namespace",NAME:"Name",KIND:"Kind",CONNECTION:"Connection",CONNECTIONS:"Connections",DATA_STREAM:"Data Stream",DATA_STREAMS:"Data Streams",STREAM_NAME:"Data Stream Name",NAME_YOUR_STREAM:"Name your Data Stream",NAME_YOUR_STREAM_PLACEHOLDER:"e.g. Highest priority",STREAM_DESCRIPTION:"Provide a clear and descriptive name for your pipeline to ensure its purpose is easily understood by you and your team.",STREAM_CONFIRM:"Confirm your new Data Stream",DATA_STREAM_EXISTS_WARNING:(e,t)=>`A Data Stream with this name already exists, you can still rename the current "${e}", but it will merge into the existing "${t}".`,ACTION:"Action",ACTIONS:"Actions",ADD_ACTION:"Add Action",ACTION_DETAILS:"Action Details",INSTRUMENTATION_RULE:"Instrumentation Rule",INSTRUMENTATION_RULES:"Instrumentation Rules",ADD_INSTRUMENTATION_RULE:"Add Instrumentation Rule",INSTRUMENTATION_RULE_DETAILS:"Instrumentation Rule Details",DESTINATION:"Destination",DESTINATIONS:"Destinations",ADD_DESTINATION:"Add Destination",ADD_DESTINATIONS:"Add Destinations",ADD_DESTINATION_DESCRIPTION:"Add a destination to send your telemetry data to. You can add multiple destinations.",DESTINATION_DETAILS:"Destination Details",SELECTED_DESTINATIONS:"Selected Destinations",SOURCE:"Source",SOURCES:"Sources",ADD_SOURCE:"Add Source",SOURCE_DETAILS:"Source Details",SELECT_SOURCES:"Select Sources",SELECTED_SOURCES:"Selected Sources",SELECT_SOURCES_DESCRIPTION:"Choose which sources to monitor in your pipeline.",NO_SOURCES:"No sources",NO_SOURCES_GO_BACK:"No sources selected. Please go back to select sources.",PLEASE_ADD_SOURCE:"Please add a source",NO_SOURCES_NAMESPACE:"No sources available in this namespace",TRY_SEARCH_OR_OTHER_NAMESPACE:"Try searching again or select another namespace.",PLEASE_MAKE_SURE_UNIGNORED_NAMESPACES:"Please make sure your cluster has unignored namespaces",INSTALLATION:"Installation",SUMMARY:"Summary",TYPE:"Type",NOTES:"Notes",STATUS:"Status",READONLY:"Readonly",LANGUAGE:"Language",VERSION:"Version",RUNTIME_VERSION:"Runtime Version",VERSION_PLACEHOLDER:"1.0.0",MONITORS:"Monitors",SIGNALS_FOR_PROCESSING:"Signals for Processing",MANAGED_BY_PROFILE:"Managed by Profile",TIER:"Tier",ENTERPRISE:"Enterprise",ENTERPRISE_TIER:"Enterprise Tier",COMMUNITY:"Community",COMMUNITY_TIER:"Community Tier",API_TOKEN:"API Token",API_TOKENS:"API Tokens",DESCRIBE_ODIGOS:"Describe Odigos",DESCRIBE_SOURCE:"Describe Source",DETECTED_CONTAINERS:"Detected Containers",DETECTED_CONTAINERS_DESCRIPTION:"The system automatically instruments the containers it detects with a supported programming language.",DETECTED_PROCESSES:"Detected Processes",DETECTED_PROCESSES_DESCRIPTION:"The system automatically instruments the processes it detects with a supported programming language.",CONTAINER_NAME:"Container Name",FILTERED_COUNT_TOOLTIP:"Represents filtered amount, out of total amount",SEARCH_NAMESPACES:"Search Namespaces",SEARCH_SOURCES:"Search Sources",SELECT_ALL:"Select All",ONLY_SELECTED:"Only selected",ONLY_RUNNING_INSTANCES:"Only running instances",TO_COLLECT_OTEL_DATA:"To collect OpenTelemetry data",TO_MONITOR_OTEL_DATA:"To monitor OpenTelemetry data",TO_MODIFY_OTEL_DATA:"To modify OpenTelemetry data",QUICK_BACK_TO_SUMMARY:"When you finish editing you can quickly go back to the summary.",GO_TO_SUMMARY:"Go to summary",FUTURE_APPS_TITLE:"Instrument entire namespace",FUTURE_APPS_DESCRIPTION:"When enabled, all applications in the namespace and new applications will be instrumented automatically and included in the current data stream using a Namespace Source.",OVERIDE:"Override",OVERIDDEN:"Overridden",OVERRIDE_RUNTIME_DETAILS:"Override Runtime Details",OVERRIDE_RUNTIME_WARNING:"This is an advanced configuration. If the selected programming language is incorrect, data collection may be incomplete or may not occur at all.",ACTIVE:"Active",INACTIVE:"Inactive",ENABLED:"Enabled",DISABLED:"Disabled",NO_TRACES_FOUND:"No traces found",ARE_SERVICES_INSTRUMENTED_AND_PRODUCING_TRAFFIC:"Are your services instrumented & producing traffic?",JAVA_CUSTOM_PROBES:"Java Custom Probes",GOLANG_CUSTOM_PROBES:"Golang Custom Probes"},Zo={ADD:"Add",ADD_NEW:"Add New",NEW:"New",SELECT:"Select",CREATE:"Create",UPDATE:"Update",EDIT:"Edit",DELETE:"Delete",CANCEL:"Cancel",DONE:"Done",SAVE:"Save",BACK:"Back",NEXT:"Next",TEST:"Test",TEST_CONNECTION:"Test Connection",INSTRUMENT:"Instrument",UNINSTRUMENT:"Uninstrument"},Qo=(e,t)=>t?e.filter(e=>e.dataStreamNames.includes(t)||t===Ko&&!e.dataStreamNames.length):[],en=(e,t="",o={})=>{for(const n in e)if(e.hasOwnProperty(n)){const i=e[n],a=t?`${t}.${n}`:n;null===i||"object"!=typeof i||Array.isArray(i)?Array.isArray(i)?i.forEach((e,t)=>{const n=`${a}[${t}]`;null!==e&&"object"==typeof e?en(e,n,o):o[n]=e}):o[a]=i:en(i,a,o)}return o},tn=e=>{if(!e)return"0 KB/s";const t=Math.floor(Math.log(e)/Math.log(1024));return`${(e/Math.pow(1024,t)).toFixed(0===t?0:1)} ${["Bytes/s","KB/s","MB/s","GB/s","TB/s"][t]}`},on=e=>{if(!e)return"0 ns";if(e<1e3)return`${e.toFixed(0)} ns`;if(e<1e6){const t=e/1e3;return`${t.toFixed(t<10?2:0)} μs`}if(e<1e9){const t=e/1e6;return`${t.toFixed(t<10?2:0)} ms`}if(e<6e10){const t=e/1e9;return`${t.toFixed(t<10?2:0)} s`}if(e<36e11){const t=e/6e10;return`${t.toFixed(t<10?2:0)} m`}if(e<864e11){const t=e/36e11;return`${t.toFixed(t<10?2:0)} h`}{const t=e/864e11;return`${t.toFixed(t<10?2:0)} d`}},nn=()=>{const e=crypto.getRandomValues(new Uint8Array(16));let t=0;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,o=>{const n=e[t%16];return t++,("1"===o?n:"0"===o?63&n|128:15&n|64).toString(16)})},an=s=>{const l=s?.toLowerCase(),c=l?.includes(io.Samplers),d=l===io.Attributes;return c?e:d?t:{[ao.K8sAttributes]:n,[ao.AddClusterInfo]:i,[ao.DeleteAttributes]:a,[ao.PiiMasking]:t,[ao.RenameAttributes]:r,[ao.ErrorSampler]:e,[ao.ProbabilisticSampler]:e,[ao.LatencySampler]:e,[ao.ServiceNameSampler]:e,[ao.SpanAttributeSampler]:e}[s]||o},rn=e=>{const t=e?.filter(({status:e})=>e===vo.Error),o=e?.filter(({status:e})=>e===vo.Warning),n=e?.filter(({status:e})=>e===So.Disabled),i=e?.filter(({status:e})=>e===So.Loading),a=t.length>0,r=o.length>0,s=n.length>0;return{errors:t,hasErrors:a,warnings:o,hasWarnings:r,disableds:n,hasDisableds:s,loadings:i,hasLoadings:i.length>0,priorotizedStatus:a?vo.Error:r?vo.Warning:s?vo.Info:void 0}},sn=e=>{const t=e?.reduce((e,t)=>t.instrumented?e+1:e,0);return`${t}/${e?.length||0} instrumented`},ln=e=>({[fo.Java]:s,[fo.Go]:l,[fo.JavaScript]:c,[fo.Python]:d,[fo.DotNet]:p,[fo.CSharp]:u,[fo.CPlusPlus]:h,[fo.Php]:m,[fo.Ruby]:g,[fo.Rust]:x,[fo.Swift]:$,[fo.Elixir]:f,[fo.MySql]:b,[fo.Nginx]:y,[fo.Postgres]:w,[fo.Redis]:k,[fo.Kafka]:C,[fo.Ignored]:o,[fo.Unknown]:o,[fo.Processing]:o,[fo.NoContainers]:o,[fo.NoRunningPods]:o}[e]||o),cn=e=>e?.map(({language:e})=>ln(e))||[],dn=(e,t)=>{const o={[Oo.Alauda]:v,[Oo.AlibabaCloud]:E,[Oo.AppDynamics]:S,[Oo.Axiom]:A,[Oo.AzureBlob]:D,[Oo.AzureMonitor]:T,[Oo.BetterStack]:z,[Oo.Bonree]:F,[Oo.Causely]:O,[Oo.Checkly]:I,[Oo.Chronosphere]:N,[Oo.ClickHouse]:_,[Oo.CloudWatch]:B,[Oo.Coralogix]:R,[Oo.Dash0]:L,[Oo.Datadog]:M,[Oo.Dynamic]:P,[Oo.Dynatrace]:j,[Oo.ElasticApm]:U,[Oo.ElasticSearch]:W,[Oo.GoogleCloud]:V,[Oo.GoogleCloudOTLP]:V,[Oo.GrafanaCloudLoki]:H,[Oo.GrafanaCloudPrometheus]:H,[Oo.GrafanaCloudTempo]:H,[Oo.Greptime]:q,[Oo.Groundcover]:G,[Oo.Honeycomb]:K,[Oo.HyperDX]:Y,[Oo.Instana]:J,[Oo.Jaeger]:X,[Oo.Kafka]:C,[Oo.Kloudmate]:Z,[Oo.Last9]:Q,[Oo.Lightstep]:ee,[Oo.LogzIo]:te,[Oo.Loki]:oe,[Oo.Lumigo]:ne,[Oo.Middleware]:ie,[Oo.NewRelic]:ae,[Oo.Observe]:re,[Oo.Odigos]:se,[Oo.OneUptime]:le,[Oo.OpenObserve]:ce,[Oo.Opsverse]:de,[Oo.Oracle]:pe,[Oo.OTLP]:P,[Oo.OTLPHttp]:P,[Oo.Prometheus]:ue,[Oo.Qryn]:he,[Oo.QrynOss]:me,[Oo.Quickwit]:ge,[Oo.S3]:xe,[Oo.Seq]:$e,[Oo.Signalfx]:fe,[Oo.Signoz]:be,[Oo.Splunk]:fe,[Oo.SplunkSapm]:fe,[Oo.SplunkOtlp]:fe,[Oo.SumoLogic]:ye,[Oo.TelemetryHub]:we,[Oo.Tempo]:ke,[Oo.Tingyun]:Ce,[Oo.Traceloop]:ve,[Oo.Uptrace]:Ee,[Oo.VictoriaMetrics]:Se,[Oo.VictoriaMetricsCloud]:Se,[Oo.XRay]:Ae}[e];return o&&!t?{icon:o}:{iconSrc:`https://d15jtxgb40qetw.cloudfront.net/${e}.svg`}},pn=e=>({[yo.Namespace]:De,[yo.Source]:Te,[yo.Destination]:ze,[yo.Action]:Fe,[yo.InstrumentationRule]:Oe}[e]),un=e=>"ruleId"in e&&e.ruleId?e.ruleId:"id"in e&&e.id?e.id:"namespace"in e&&e.namespace&&"kind"in e&&e.kind&&"name"in e&&e.name?{namespace:e.namespace,name:e.name,kind:e.kind}:"name"in e&&e.name?e.name:void 0,hn=(e,t,o)=>{const{extended:n,prioritizeDisplayName:i}=o||{};let a="",r="";switch(t){case yo.InstrumentationRule:const t=e;a=t.type,r=t.ruleName;break;case yo.Source:const o=e;a=o.name,r=o.otelServiceName;break;case yo.Action:const n=e;a=n.type,r=n.name;break;case yo.Destination:const i=e;a=i.destinationType.displayName,r=i.name;break;case yo.Namespace:const s=e;a=s.name,r=s.name}return n?a+(r&&r!==a?` (${r})`:""):i&&r||a},mn=(e,t)=>{if(t===yo.Source){const t={namespace:"",name:"",kind:""};return e.split("&").forEach(e=>{const[o,n]=e.split("=");t[o]=n}),t}return e},gn=e=>({[_o.CodeAttributes]:Ie,[_o.CustomInstrumentation]:Ne,[_o.HeadersCollection]:_e,[_o.PayloadCollection]:Be,[_o.UnknownType]:o}[e]||o),xn=e=>{const{numberOfInstances:t,containers:o}=e;if(!o)return t&&t>0?fo.Processing:fo.NoRunningPods;const n=o?.filter(e=>e.language!==fo.Ignored);if(!n.length)return fo.NoContainers;const i=n.find(e=>e.language!==fo.Unknown);return i?i.language:fo.Unknown},$n=(e,t,o)=>(t===yo.Source?e?.sources.find(e=>e.kind===o.kind&&e.name===o.name&&e.namespace===o.namespace):e?.destinations.find(e=>e.id===o))||{throughput:0},fn=e=>({[Vo.Logs]:Re,[Vo.Metrics]:Le,[Vo.Traces]:Me}[e]),bn=e=>e?{[xo.K8s]:n,[xo.Vm]:Pe}[e]:se,yn=e=>e?{[xo.K8s]:"Kubernetes Cluster",[xo.Vm]:"Virtual Machine"}[e]:"Unknown",wn=(e,t,o)=>{const n=e[t];return n?n.flatMap(e=>{const n=e[o],i=[];return void 0!==n&&(Array.isArray(n)?i.push(...n):i.push(n)),i.push(...wn(e,t,o)),i}):[]},kn=(e,t)=>{if(t===yo.Source){let t="";return Object.entries(e).forEach(([e,o])=>{t+=`${e}=${o}&`}),t.slice(0,-1),t}return e},Cn=(e,t,o)=>{switch(t){case vo.Default:return e.v2.colors.purple[o];case vo.Info:return e.v2.colors.blue[o];case vo.Error:return e.v2.colors.red[o];case vo.Warning:return e.v2.colors.yellow[o];case vo.Success:return e.v2.colors.green[o];case Ao.Disabled:case Ao.Unknown:return e.v2.colors.silver[o];default:return e.v2.colors.white[500]}},vn=e=>{switch(e){case Po.Updating:case jo.Pending:case Uo.ContainerCreating:case Wo.Waiting:return vo.Info;case Po.Healthy:case jo.Succeeded:case jo.Running:case Uo.Running:case Wo.Running:return vo.Success;case Po.Degraded:return vo.Warning;case Po.Failed:case jo.Failed:case Uo.Error:case Uo.CrashLoopBackOff:case Uo.CreateContainerError:case Uo.CreateContainerConfigError:case Uo.ErrImagePull:case Uo.ErrImageNeverPull:case Uo.ImagePullBackOff:case Uo.InvalidImageName:case Uo.RegistryUnavailable:case Uo.NetworkNotReady:case Uo.OOMKilled:case Uo.ContainerCannotRun:case Wo.Terminated:case Uo.DeadlineExceeded:case Uo.StartError:return vo.Error;case Po.Down:case Uo.Completed:return Ao.Disabled;case Po.Unknown:case jo.Unknown:default:return Ao.Unknown}},En=(e,t)=>({[vo.Default]:o=>se({fill:Cn(t,e,"300"),...o}),[vo.Info]:o=>je({fill:Cn(t,e,"400"),...o}),[vo.Error]:o=>Ue({fill:Cn(t,e,"500"),...o}),[vo.Warning]:o=>We({fill:Cn(t,e,"500"),...o}),[vo.Success]:o=>Ve({fill:Cn(t,e,"500"),...o}),[Ao.Disabled]:o=>He({fill:Cn(t,e,"400"),...o}),[Ao.Unknown]:o=>qe({fill:Cn(t,e,"300"),...o})}[e]),Sn=e=>{switch(e){case No.Success:return vo.Success;case No.Error:case No.Failure:return vo.Error;case No.Notice:return vo.Warning;case No.Unsupported:case No.Unknown:return vo.Info;case No.Irrelevant:case No.Disabled:return So.Disabled;case No.Waiting:return So.Loading;case No.Pending:default:return vo.Default}},An=(e,t)=>{const o=t.find(([t,o])=>e>=t&&(null===o||e<=o));return o?.[2]||null},Dn=({namespace:e,name:t,kind:o})=>({namespace:e,name:t,kind:o});function Tn(e,t){if(!e)return t;if("object"==typeof e)return e;try{return JSON.parse(e)}catch(e){return t}}const zn=(e,t)=>{const o=[],n=JSON.parse(JSON.stringify(e));for(const e of n){const n=Tn(t.fields,{}),i=e.items.findIndex(e=>e.type===t.destinationType.type);-1!==i&&o.push(...e.items[i].fields.map(e=>({...e,initialValue:n[e.name]})))}return o},Fn=(e,t)=>{const o=e=>e?.some(({healthy:e})=>e.status!==vo.Success);return e?.length?e.some(({instrumentationInstances:e})=>o(e)):o(t)??!1},On=e=>Array.isArray(e)?!e?.length:"object"==typeof e?!Object.keys(e||{}).length:[void 0,null,""].includes(e),In=e=>!!e&&(!(e.length>63)&&/^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$/.test(e)),Nn=(e,t=0)=>{const o=(new Date).getTime();return new Date(e).getTime()-o<=t},_n=e=>{const t=String(e).trim().toLowerCase();return["true","false","1","0"].includes(t)},Bn=(e,t=0)=>(new Date).getTime()-new Date(e).getTime()>=t,Rn=/^(\d+\.)?(\d+\.)?(\*|\d+)$/,Ln=e=>Rn.test(e),Mn=e=>e?e.replace(/([a-z0-9])([A-Z])/g,"$1 $2"):"",Pn=e=>e?.map(({status:e,type:t,reason:o,message:n,lastTransitionTime:i})=>({status:e,type:Mn(t),reason:o?Mn(o):"",message:n,lastTransitionTime:i}))||[],jn=(e,t)=>{const o=Tn(e.fields,{});return t.length?t.map(e=>({key:e.name,name:e.displayName||e.name,value:o[e.name]??null})).filter(e=>null!==e.value):Object.entries(o).map(([e,t])=>({key:e,name:e,value:t}))},Un=e=>e?Object.keys(e).filter(t=>e[t]):[],Wn=e=>e.replace(/[^\d]/g,""),Vn=e=>{const t=String(e).trim().toLowerCase();return"true"===t||"1"===t},Hn=e=>{let t="";try{const o=JSON.parse(e);t=Array.isArray(o)?o.map(e=>"object"==typeof e&&null!==e?`${e.key}: ${e.value}`:e).join(", "):"object"==typeof o&&null!==o?Object.entries(o).map(([e,t])=>`${e}: ${t}`).join(", "):e}catch(o){t=e}return t},qn=e=>{if("object"!=typeof e)return e;const t=Array.isArray(e)?[]:{};return Object.keys(e).forEach(o=>{const n=e[o];if(Array.isArray(n)){const e=n.filter(e=>null!=e&&""!==e);e.length>0&&(t[o]=e.map(e=>qn(e)))}else if("object"==typeof n&&null!==n){const e=qn(n);Object.keys(e).length>0&&(t[o]=e)}else[void 0,null,""].includes(n)||(t[o]=n)}),t},Gn=(e,t=2)=>JSON.stringify(e||{},null,t),Kn=async(e=1e3)=>new Promise(t=>setTimeout(t,e)),Yn=e=>Object.entries(e).reduce((e,[t,o])=>(e[t]="string"==typeof o?o:JSON.stringify(o),e),{}),Jn=e=>{let t=e.toString().replace("v","").split("-")[0];t=t.match(/[\d.]+/)?.[0]||"";const o=t.split(".");return o.length>2&&(t=o.slice(0,2).join(".")),Number(t)};var Xn,Zn;!function(e){e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.P="p",e.Span="span"}(Xn||(Xn={})),function(e){e.XXXS="xxxs",e.XXS="xxs",e.XS="xs",e.S="s",e.M="m",e.L="l",e.XL="xl",e.XXL="xxl",e.XXXL="xxxl"}(Zn||(Zn={}));const Qn=_t.p`
2
2
  margin: 0;
3
3
  color: ${({$color:e,theme:t})=>e||t.v2.colors.white[500]};
4
4
  font-family: ${({theme:e})=>e.font_family.primary};
@@ -1757,40 +1757,57 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
1757
1757
  overflow: hidden;
1758
1758
  text-overflow: ellipsis;
1759
1759
  white-space: nowrap;
1760
- `,zp=({value:e,onChange:t,placeholder:o,width:n,segment:i})=>{const a=_i.useTheme(),[r,s]=wt(!1),[l,c]=wt(!1),[d,p]=wt(!1),u=r?a.v2.colors.white[500]:a.v2.colors.silver[200],h=!!i?.options?.length,m=yt(()=>{if(h)return i?.options.find(e=>e.value===i.selected)?.label},[h,i?.options,i?.selected]),g=yt(()=>o||(h&&m?`Search by ${m.toLowerCase()}`:"Search..."),[o,h,m]);return ft.createElement(Dp,{$width:n,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),$isHovered:l&&!d,$isActive:r},ft.createElement(at,{size:18,fill:u}),ft.createElement(Tp,{"data-id":"search",name:"search",type:"text",placeholder:g,value:e,onChange:e=>{e.stopPropagation(),t(e.target.value)},onFocus:()=>s(!0),onBlur:()=>s(!1),$textColor:u}),h&&ft.createElement("div",{onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1)},ft.createElement(Ap,{options:i.options,selected:i.selected,setSelected:i.setSelected,size:vp.S})))};var Fp;!function(e){e.Button="button",e.ButtonDropData="button-drop-data"}(Fp||(Fp={}));const Op=({onAnyClick:e,actions:t})=>ft.createElement(Ha,{$gap:8,$alignItems:"center"},t?.map(t=>{if(!t)return null;switch(t.type){case Fp.Button:return ft.createElement(gp,{key:t.id,...t.buttonProps,onClick:o=>{t.buttonProps?.onClick?.(o),e?.()}});case Fp.ButtonDropData:return ft.createElement(Au,{key:t.id,...t.dropDataProps,items:t.dropDataProps?.items??[],withMultiSelect:!1,selectedIds:[],setSelectedIds:o=>{t.buttonProps?.onClick?.(o[0]),e?.()},buttonProps:t.buttonProps});default:return null}})),Ip=({isOpen:e,onClose:t,onDeny:o,onApprove:n})=>ft.createElement(Nh,{title:"Discard changes?",description:"You have unsaved changes.\nIf you cancel now, your changes won't be saved.",isOpen:e,onClose:t,onDeny:o,denyLabel:"Keep editing",onApprove:n,approveLabel:"Discard changes"}),Np=({isOpen:e,onClose:t,onDeny:o,onApprove:n,action:i="delete",target:a})=>{const r=i.charAt(0).toUpperCase()+i.substring(1),s=a?.endsWith("s")?"these":"this";return ft.createElement(Nh,{title:`${r}${a?` ${a}`:""}?`,description:`Are you sure you want to ${i}${a?` ${s} ${a}`:""}?`,isOpen:e,onClose:t,onDeny:o,denyLabel:"Go back",onApprove:n,approveLabel:r})},_p=({icon:e,title:t,withCopy:o,badge:n,children:i})=>{const{CopyButton:a}=Ea();return ft.createElement(Ha,{$gap:6,$alignItems:"center"},ft.createElement(e,{size:24}),ft.createElement(ei,{nowrap:!0},t),o&&ft.createElement(a,{value:t,size:ka.XS}),n&&ft.createElement(oi,{...n}),i)},Bp=434,Rp=635,Lp=_t.div`
1761
- width: ${434}px;
1762
- height: ${635}px;
1760
+ `,zp=({value:e,onChange:t,placeholder:o,width:n,segment:i})=>{const a=_i.useTheme(),[r,s]=wt(!1),[l,c]=wt(!1),[d,p]=wt(!1),u=r?a.v2.colors.white[500]:a.v2.colors.silver[200],h=!!i?.options?.length,m=yt(()=>{if(h)return i?.options.find(e=>e.value===i.selected)?.label},[h,i?.options,i?.selected]),g=yt(()=>o||(h&&m?`Search by ${m.toLowerCase()}`:"Search..."),[o,h,m]);return ft.createElement(Dp,{$width:n,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),$isHovered:l&&!d,$isActive:r},ft.createElement(at,{size:18,fill:u}),ft.createElement(Tp,{"data-id":"search",name:"search",type:"text",placeholder:g,value:e,onChange:e=>{e.stopPropagation(),t(e.target.value)},onFocus:()=>s(!0),onBlur:()=>s(!1),$textColor:u}),h&&ft.createElement("div",{onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1)},ft.createElement(Ap,{options:i.options,selected:i.selected,setSelected:i.setSelected,size:vp.S})))};var Fp;!function(e){e.S="small",e.L="large"}(Fp||(Fp={}));const Op=_t.div`
1761
+ width: fit-content;
1763
1762
  display: flex;
1764
- flex-direction: column;
1765
1763
  align-items: center;
1766
- justify-content: center;
1767
- padding: 16px;
1768
- background: linear-gradient(180deg, #0b0517 2.82%, #190d31 100%);
1769
- position: relative;
1770
- `,Mp=_t.div`
1771
- position: absolute;
1772
- top: 50%;
1773
- left: 50%;
1774
- transform: translate(-50%, -50%);
1775
- `,Pp=()=>ft.createElement(Lp,null,ft.createElement(Mp,null,ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"464",height:"464",viewBox:"0 0 464 464",fill:"none"},ft.createElement("path",{opacity:"0.1",d:"M231.567 463.134C359.458 463.134 463.134 359.458 463.134 231.567C463.134 103.676 359.458 0 231.567 0C103.676 0 0 103.676 0 231.567C0 359.458 103.676 463.134 231.567 463.134Z",fill:"url(#paint0_radial_164_65835)"}),ft.createElement("defs",null,ft.createElement("radialGradient",{id:"paint0_radial_164_65835",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(201.232 229.641) scale(231.217)"},ft.createElement("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),ft.createElement("stop",{offset:"0.41",stopColor:"#7C3BFF",stopOpacity:"0.11"}),ft.createElement("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.13"}),ft.createElement("stop",{offset:"0.67",stopColor:"#7C3BFF",stopOpacity:"0.18"}),ft.createElement("stop",{offset:"0.75",stopColor:"#7C3BFF",stopOpacity:"0.25"}),ft.createElement("stop",{offset:"0.83",stopColor:"#7C3BFF",stopOpacity:"0.33"}),ft.createElement("stop",{offset:"0.89",stopColor:"#7C3BFF",stopOpacity:"0.44"}),ft.createElement("stop",{offset:"0.95",stopColor:"#7C3BFF",stopOpacity:"0.56"}),ft.createElement("stop",{offset:"1",stopColor:"#7C3BFF",stopOpacity:"0.7"}))))),ft.createElement(Mp,null,ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"432",height:"432",viewBox:"0 0 432 432",fill:"none"},ft.createElement("path",{opacity:"0.3",d:"M215.921 431.841C335.17 431.841 431.841 335.17 431.841 215.921C431.841 96.6709 335.17 0 215.921 0C96.6709 0 0 96.6709 0 215.921C0 335.17 96.6709 431.841 215.921 431.841Z",fill:"url(#paint0_radial_164_65836)"}),ft.createElement("defs",null,ft.createElement("radialGradient",{id:"paint0_radial_164_65836",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(204.229 214.376) scale(216.276)"},ft.createElement("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),ft.createElement("stop",{offset:"0.38",stopColor:"#7C3BFF",stopOpacity:"0.11"}),ft.createElement("stop",{offset:"0.52",stopColor:"#7C3BFF",stopOpacity:"0.13"}),ft.createElement("stop",{offset:"0.62",stopColor:"#7C3BFF",stopOpacity:"0.18"}),ft.createElement("stop",{offset:"0.69",stopColor:"#7C3BFF",stopOpacity:"0.25"}),ft.createElement("stop",{offset:"0.76",stopColor:"#7C3BFF",stopOpacity:"0.33"}),ft.createElement("stop",{offset:"0.82",stopColor:"#7C3BFF",stopOpacity:"0.44"}),ft.createElement("stop",{offset:"0.88",stopColor:"#7C3BFF",stopOpacity:"0.57"}),ft.createElement("stop",{offset:"0.93",stopColor:"#7C3BFF",stopOpacity:"0.72"}),ft.createElement("stop",{offset:"0.97",stopColor:"#7C3BFF",stopOpacity:"0.88"}),ft.createElement("stop",{offset:"1",stopColor:"#7C3BFF"}))))),ft.createElement(Mp,null,ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"374",height:"374",viewBox:"0 0 374 374",fill:"none"},ft.createElement("path",{opacity:"0.5",d:"M186.963 373.927C290.22 373.927 373.927 290.22 373.927 186.963C373.927 83.7063 290.22 0 186.963 0C83.7063 0 0 83.7063 0 186.963C0 290.22 83.7063 373.927 186.963 373.927Z",fill:"url(#paint0_radial_164_65837)"}),ft.createElement("defs",null,ft.createElement("radialGradient",{id:"paint0_radial_164_65837",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(166.792 184.246) scale(186.963)"},ft.createElement("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),ft.createElement("stop",{offset:"0.31",stopColor:"#7C3BFF",stopOpacity:"0.11"}),ft.createElement("stop",{offset:"0.45",stopColor:"#7C3BFF",stopOpacity:"0.14"}),ft.createElement("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.19"}),ft.createElement("stop",{offset:"0.65",stopColor:"#7C3BFF",stopOpacity:"0.26"}),ft.createElement("stop",{offset:"0.73",stopColor:"#7C3BFF",stopOpacity:"0.35"}),ft.createElement("stop",{offset:"0.8",stopColor:"#7C3BFF",stopOpacity:"0.46"}),ft.createElement("stop",{offset:"0.86",stopColor:"#7C3BFF",stopOpacity:"0.6"}),ft.createElement("stop",{offset:"0.92",stopColor:"#7C3BFF",stopOpacity:"0.76"}),ft.createElement("stop",{offset:"0.98",stopColor:"#7C3BFF",stopOpacity:"0.93"}),ft.createElement("stop",{offset:"1",stopColor:"#7C3BFF"}))))),ft.createElement(Mp,null,ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"257",height:"257",viewBox:"0 0 257 257",fill:"none"},ft.createElement("path",{opacity:"0.7",d:"M128.193 256.387C198.992 256.387 256.387 198.992 256.387 128.193C256.387 57.3941 198.992 0 128.193 0C57.3941 0 0 57.3941 0 128.193C0 198.992 57.3941 256.387 128.193 256.387Z",fill:"url(#paint0_radial_164_65838)"}),ft.createElement("defs",null,ft.createElement("radialGradient",{id:"paint0_radial_164_65838",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(113.263 126.219) scale(128.08)"},ft.createElement("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),ft.createElement("stop",{offset:"0.31",stopColor:"#7C3BFF",stopOpacity:"0.11"}),ft.createElement("stop",{offset:"0.45",stopColor:"#7C3BFF",stopOpacity:"0.14"}),ft.createElement("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.19"}),ft.createElement("stop",{offset:"0.65",stopColor:"#7C3BFF",stopOpacity:"0.26"}),ft.createElement("stop",{offset:"0.73",stopColor:"#7C3BFF",stopOpacity:"0.35"}),ft.createElement("stop",{offset:"0.8",stopColor:"#7C3BFF",stopOpacity:"0.46"}),ft.createElement("stop",{offset:"0.86",stopColor:"#7C3BFF",stopOpacity:"0.6"}),ft.createElement("stop",{offset:"0.92",stopColor:"#7C3BFF",stopOpacity:"0.76"}),ft.createElement("stop",{offset:"0.98",stopColor:"#7C3BFF",stopOpacity:"0.93"}),ft.createElement("stop",{offset:"1",stopColor:"#7C3BFF"}))))),ft.createElement(Mp,null,ft.createElement(se,{size:112}))),jp=_t.div`
1776
- width: ${({$size:e})=>e}px;
1777
- height: ${({$size:e})=>e}px;
1778
- border-radius: 100%;
1779
- background: ${({$color:e})=>e};
1764
+ gap: 8px;
1765
+ cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
1766
+ `,Ip=_t.div`
1767
+ width: ${({$size:e})=>e===Fp.S?"16px":"20px"};
1768
+ height: ${({$size:e})=>e===Fp.S?"16px":"20px"};
1780
1769
  display: flex;
1781
1770
  align-items: center;
1782
1771
  justify-content: center;
1783
- `,Up=()=>ft.createElement(jp,{$size:74,$color:"rgba(80, 246, 232, 0.10)"},ft.createElement(jp,{$size:71,$color:"rgba(80, 246, 232, 0.20)"},ft.createElement(jp,{$size:65,$color:"rgba(80, 246, 232, 0.40)"},ft.createElement(jp,{$size:56,$color:"rgba(80, 246, 232, 0.60)"},ft.createElement(jp,{$size:39,$color:"#50F6E8"},ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"21",viewBox:"0 0 22 21",fill:"none"},ft.createElement("path",{fill:"#151618",d:"M9.4844 0.730003C9.99694 -0.243259 11.4076 -0.24341 11.92 0.730003L11.9685 0.831353L14.3039 6.22012L20.153 6.77755C21.3553 6.89211 21.841 8.38683 20.9358 9.18621L16.5314 13.0731L17.8091 18.8079C18.0716 19.9868 16.8005 20.9109 15.7605 20.2969L10.7017 17.3093L5.64282 20.2969C4.60289 20.9104 3.33173 19.9866 3.59427 18.8079L4.87192 13.0741L0.468608 9.18621C-0.43662 8.38693 0.0482932 6.8924 1.25029 6.77755L7.09837 6.22012L9.43588 0.831353L9.4844 0.730003ZM8.55284 7.02876C8.35287 7.48992 7.9179 7.80589 7.41751 7.85357L2.03952 8.36571L6.09027 11.941C6.46691 12.2737 6.63296 12.7852 6.5237 13.2758L5.34956 18.5459L10.0008 15.8009L10.1669 15.7179C10.5087 15.574 10.8945 15.5741 11.2364 15.7179L11.4036 15.8009L16.0538 18.5459L14.8807 13.2758C14.7714 12.7851 14.9374 12.2737 15.3141 11.941L19.3627 8.36571L13.9858 7.85357C13.4855 7.80587 13.0505 7.4899 12.8505 7.02876L10.7017 2.07342L8.55284 7.02876Z"}))))))),Wp=_t.div`
1784
- width: ${({$size:e})=>e}px;
1785
- height: ${({$size:e})=>e}px;
1786
- border-radius: 100%;
1787
- background: ${({$color:e})=>e};
1772
+ border-radius: 4px;
1773
+ border: 1px solid ${({$borderColor:e})=>e};
1774
+ background-color: ${({$backgroundColor:e})=>e};
1775
+ `,Np=({label:e,size:t=Fp.L,disabled:o,partiallyChecked:n,value:i,onChange:a})=>{const r=_i.useTheme(),[s,l]=wt(!1),c=n||i,d=t===Fp.S?12:16,p=o?r.v2.colors.grey[400]:r.v2.colors.white[500],u=c?"transparent":o?r.v2.colors.grey[700]:s?r.v2.colors.silver[400]:r.v2.colors.silver[600],h=o?r.v2.colors.grey[600]:c?r.v2.colors.purple[500]:r.v2.colors.silver[900];return ft.createElement(Op,{"data-id":"checkbox"+(e?`-${e}`:""),onClick:e=>{e.stopPropagation(),o||a(!!n||!i)},$disabled:o,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1)},ft.createElement(Ip,{$size:t,$borderColor:u,$backgroundColor:h},n?ft.createElement(Je,{size:d,fill:p}):i?ft.createElement(Ge,{size:d,fill:p}):null),e&&ft.createElement(ei,{size:t===Fp.S?Zn.XXS:Zn.XS,nowrap:!0},e))},_p=_t.div`
1776
+ display: flex;
1777
+ flex-direction: ${({$direction:e})=>e===ho.Horizontal?"row":"column"};
1778
+ gap: ${({$direction:e})=>e===ho.Horizontal?16:8}px;
1779
+ `,Bp=({direction:e=ho.Vertical,title:t,size:o,disabled:n,withSelectAll:i,options:a,values:r,setValues:s})=>{const l=o===Fp.S?Zn.XXS:Zn.XS,c=yt(()=>a.every(e=>r[e.id]),[a,r]),d=yt(()=>a.some(e=>r[e.id])&&a.some(e=>!r[e.id]),[a,r]),p=(e,t)=>{s(o=>{const n={...o};return e?n[e]=t:a.forEach(e=>n[e.id]=t),n})};return ft.createElement(_p,{$direction:e},t&&i?ft.createElement(Np,{label:t,partiallyChecked:d,value:c,onChange:e=>p("",e),size:o}):t&&!i?ft.createElement(ei,{size:l},t):null,a.map(e=>ft.createElement(Np,{key:`${t}-checkbox-${e.id}`,...e,value:r[e.id],onChange:t=>p(e.id,t),disabled:n,size:o})))};var Rp,Lp;!function(e){e.Left="left",e.Right="right"}(Rp||(Rp={})),function(e){e.Top="top",e.Bottom="bottom"}(Lp||(Lp={}));const Mp=_t.div`
1780
+ position: relative;
1781
+ `,Pp=_t.div`
1782
+ display: flex;
1783
+ flex-direction: column;
1784
+ gap: 0;
1785
+ min-width: 150px;
1786
+ width: fit-content;
1787
+ padding: 8px;
1788
+ border-radius: 6px;
1789
+ background-color: ${({theme:e})=>e.v2.colors.silver[900]};
1790
+ box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.3);
1791
+ position: absolute;
1792
+ ${({$alignX:e})=>`${e}: 0;`}
1793
+ ${({$alignY:e,$withButton:t})=>`${e}: ${t?"calc(100% + 8px)":"0"};`}
1794
+ `,jp=_t.div`
1788
1795
  display: flex;
1789
1796
  align-items: center;
1790
- justify-content: center;
1791
- `,Vp=()=>ft.createElement(Wp,{$size:126,$color:"rgba(80, 246, 232, 0.10)"},ft.createElement(Wp,{$size:121,$color:"rgba(80, 246, 232, 0.20)"},ft.createElement(Wp,{$size:111,$color:"rgba(80, 246, 232, 0.40)"},ft.createElement(Wp,{$size:95,$color:"rgba(80, 246, 232, 0.60)"},ft.createElement(Wp,{$size:67,$color:"#50F6E8"},ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"46",height:"46",viewBox:"0 0 46 46",fill:"none"},ft.createElement("path",{fill:"#151618",d:"M36.0211 22.2763C36.0211 19.9012 36.0207 18.1909 35.9286 16.8405C35.8373 15.5029 35.6613 14.6218 35.3602 13.8949C34.4783 11.766 32.7865 10.0742 30.6576 9.19229C29.9307 8.89119 29.0496 8.71517 27.712 8.6239C26.3615 8.53176 24.6513 8.53133 22.2762 8.53133C19.9011 8.53133 18.1909 8.53176 16.8404 8.6239C15.5028 8.71517 14.6218 8.89119 13.8948 9.19229C11.7659 10.0742 10.0741 11.766 9.19223 13.8949C8.89113 14.6218 8.71512 15.5029 8.62385 16.8405C8.53171 18.1909 8.53128 19.9012 8.53128 22.2763C8.53128 24.6513 8.53171 26.3616 8.62385 27.712C8.71512 29.0496 8.89113 29.9307 9.19223 30.6576C10.0741 32.7865 11.7659 34.4783 13.8948 35.3602C14.6218 35.6613 15.5028 35.8373 16.8404 35.9286C18.1909 36.0207 19.9011 36.0212 22.2762 36.0212C24.6513 36.0212 26.3615 36.0207 27.712 35.9286C29.0496 35.8373 29.9306 35.6613 30.6576 35.3602C32.7865 34.4783 34.4783 32.7865 35.3602 30.6576C35.6613 29.9307 35.8373 29.0496 35.9286 27.712C36.0207 26.3616 36.0211 24.6513 36.0211 22.2763ZM28.8543 16.2147C29.4095 15.66 30.3097 15.66 30.8649 16.2147C31.4201 16.7699 31.4198 17.67 30.8649 18.2254L20.7543 28.3378C20.1992 28.8929 19.299 28.8925 18.7437 28.3378L14.5299 24.124C13.9747 23.5687 13.9746 22.6686 14.5299 22.1133C15.0851 21.5582 15.9852 21.5582 16.5405 22.1133L19.7472 25.32L28.8543 16.2147ZM38.8649 22.2763C38.8649 24.612 38.8651 26.435 38.7649 27.9046C38.6638 29.387 38.4559 30.6151 37.9873 31.7463C36.8168 34.5717 34.5716 36.8169 31.7462 37.9874C30.615 38.4559 29.387 38.6638 27.9045 38.765C26.435 38.8652 24.6119 38.865 22.2762 38.865C19.9405 38.865 18.1174 38.8652 16.6479 38.765C15.1654 38.6638 13.9374 38.4559 12.8062 37.9874C9.98077 36.8169 7.7356 34.5717 6.56507 31.7463C6.09651 30.6151 5.88862 29.387 5.78748 27.9046C5.68726 26.435 5.6875 24.612 5.6875 22.2763C5.6875 19.9405 5.68726 18.1175 5.78748 16.6479C5.88862 15.1655 6.09651 13.9375 6.56507 12.8063C7.7356 9.98082 9.98077 7.73565 12.8062 6.56513C13.9374 6.09656 15.1654 5.88868 16.6479 5.78753C18.1174 5.68731 19.9405 5.68755 22.2762 5.68755C24.6119 5.68755 26.435 5.68731 27.9045 5.78753C29.387 5.88868 30.615 6.09656 31.7462 6.56513C34.5716 7.73565 36.8168 9.98082 37.9873 12.8063C38.4559 13.9375 38.6638 15.1655 38.7649 16.6479C38.8651 18.1175 38.8649 19.9405 38.8649 22.2763Z"}))))))),Hp=({minSupportedVersion:e,currentVersion:t})=>ft.createElement(Nh,{isOpen:!0,onClose:()=>{},relativeToParent:!0,visual:Up,title:"Upgrade Required",description:`To use this feature, please upgrade to Odigos v${e} or later.\nCurrent version: ${t}.`}),qp=_t.div`
1792
- padding: 0 12px;
1793
- `,Gp=({yaml:e})=>{const{clickCopy:t,isCopied:o}=Ea(),n=yt(()=>[{id:nn(),type:Fp.Button,buttonProps:{leftIcon:o?Ge:Ke,onClick:()=>t(e||""),disabled:o,size:hp.S,variant:up.Secondary}}],[e,o]);return ft.createElement(Jp,{richTitle:{icon:pt,title:"YAML"},actions:n},ft.createElement(qp,null,e?ft.createElement(Zr,{code:e,language:"yaml",theme:"duotoneDark"}):ft.createElement(Ga,null,ft.createElement(Gs,{title:"No YAML found",subTitle:"The YAML for this resource is not available"}))))};var Kp;!function(e){e.S="small",e.M="medium"}(Kp||(Kp={}));const Yp=_t.div`
1797
+ gap: 8px;
1798
+ width: calc(100% - 16px);
1799
+ padding: 8px;
1800
+ border-radius: 6px;
1801
+ cursor: pointer;
1802
+ ${({$selected:e})=>e?Bt`
1803
+ background-color: ${({theme:e})=>e.v2.colors.silver[500]};
1804
+ `:Bt`
1805
+ background-color: transparent;
1806
+ &:hover {
1807
+ background-color: ${({theme:e})=>e.v2.colors.grey[700]};
1808
+ }
1809
+ `}
1810
+ `,Up=({items:e,selectedIds:t,setSelectedIds:o,withMultiSelect:n,alignX:i,alignY:a,defaultOpen:r,buttonProps:s,iconButtonProps:l})=>{const c=Rt(),d=!!s||!!l,[p,u]=wt(r??!d),[h,m]=wt({x:i||Rp.Left,y:a||Lp.Top}),g=e=>{u(e=>!e),m({x:i||(e.clientX>window.innerWidth/2?Rp.Right:Rp.Left),y:a||(e.clientY>window.innerHeight/2?Lp.Bottom:Lp.Top)})},x=e=>{o(t.includes(e)?t.filter(t=>t!==e):[...t,e]),d&&!n&&u(!1)},$=Ct(null);return Ia($,()=>u(!1)),ft.createElement(Mp,{ref:$},s&&ft.createElement(gp,{...s,rightIcon:p?pt:ut,onClick:g}),l&&ft.createElement(va,{...l,onClick:g}),p&&ft.createElement(Pp,{$withButton:d,$alignX:h.x,$alignY:h.y},e.map(e=>{if(!e)return null;const{id:o,label:n,icon:i,withCheckbox:a}=e,r=t.includes(o);return ft.createElement(jp,{key:o,$selected:r,onClick:()=>x(o)},a&&ft.createElement(Np,{value:r,onChange:()=>x(o)}),i&&ft.createElement(i,{size:14,fill:c.v2.colors.white[500]}),ft.createElement(ei,{size:Zn.XS,nowrap:!0},n))})))};var Wp;!function(e){e.Button="button",e.ButtonDropData="button-drop-data"}(Wp||(Wp={}));const Vp=({onAnyClick:e,actions:t})=>ft.createElement(Ha,{$gap:8,$alignItems:"center"},t?.map(t=>{if(!t)return null;switch(t.type){case Wp.Button:return ft.createElement(gp,{key:t.id,...t.buttonProps,onClick:o=>{t.buttonProps?.onClick?.(o),e?.()}});case Wp.ButtonDropData:return ft.createElement(Up,{key:t.id,...t.dropDataProps,items:t.dropDataProps?.items??[],withMultiSelect:!1,selectedIds:[],setSelectedIds:o=>{t.buttonProps?.onClick?.(o[0]),e?.()},buttonProps:t.buttonProps});default:return null}})),Hp=({icon:e,title:t,withCopy:o,badge:n,children:i})=>{const{CopyButton:a}=Ea();return ft.createElement(Ha,{$gap:6,$alignItems:"center"},ft.createElement(e,{size:24}),ft.createElement(ei,{nowrap:!0},t),o&&ft.createElement(a,{value:t,size:ka.XS}),n&&ft.createElement(oi,{...n}),i)};var qp;!function(e){e.S="small",e.M="medium"}(qp||(qp={}));const Gp=_t.div`
1794
1811
  display: flex;
1795
1812
  flex-direction: column;
1796
1813
  gap: ${({$gap:e})=>e}px;
@@ -1798,7 +1815,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
1798
1815
  padding: ${({$padding:e})=>e}px;
1799
1816
  border-radius: 16px;
1800
1817
  background-color: ${({theme:e})=>e.v2.colors.silver[1e3]};
1801
- `,Jp=({size:e=Kp.M,richTitle:t,search:o,actions:n,children:i})=>{const a=e===Kp.S?4:16,r=e===Kp.S?12:16;return ft.createElement(Yp,{$padding:r,$gap:a},ft.createElement(Ha,{$gap:a,$justifyContent:"space-between"},ft.createElement(_p,{...t},o&&ft.createElement(zp,{...o})),ft.createElement(Op,{actions:n??[]})),i)},Xp=_t.div`
1818
+ `,Kp=({size:e=qp.M,richTitle:t,search:o,actions:n,children:i})=>{const a=e===qp.S?4:16,r=e===qp.S?12:16;return ft.createElement(Gp,{$padding:r,$gap:a},ft.createElement(Ha,{$gap:a,$justifyContent:"space-between"},ft.createElement(Hp,{...t},o&&ft.createElement(zp,{...o})),ft.createElement(Vp,{actions:n??[]})),i)},Yp=_t.div`
1802
1819
  flex: 1;
1803
1820
  align-self: stretch;
1804
1821
  display: flex;
@@ -1807,7 +1824,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
1807
1824
  padding: 16px;
1808
1825
  border-radius: 12px;
1809
1826
  background-color: ${({theme:e,$status:t})=>Cn(e,t,t===Ao.Unknown?"750":"500")};
1810
- `,Zp=_t.div`
1827
+ `,Jp=_t.div`
1811
1828
  display: flex;
1812
1829
  align-items: center;
1813
1830
  justify-content: center;
@@ -1816,7 +1833,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
1816
1833
  padding: 8px;
1817
1834
  border-radius: 12px;
1818
1835
  background-color: ${({theme:e,$status:t})=>t===Ao.Unknown?Cn(e,t,"800"):Cn(e,t,"900")+_i.opacity.hex["015"]};
1819
- `,Qp=({status:e,icon:t,title:o,description:n})=>{const i=Rt(),a=t??En(e,i),r=[vo.Default,vo.Info,Ao.Disabled,Ao.Unknown].includes(e)?i.v2.colors.white[500]:i.v2.colors.black[500];return ft.createElement(Xp,{$status:e},ft.createElement(Zp,{$status:e},ft.createElement(a,{size:32,fill:r})),ft.createElement(qa,{$gap:2,$justifyContent:"center"},ft.createElement(ei,{size:Zn.M,weight:500,color:r,nowrap:!0},o),ft.createElement(ei,{size:Zn.XXS,weight:300,color:r,nowrap:!0},n)))},eu=_t.div`
1836
+ `,Xp=({status:e,icon:t,title:o,description:n})=>{const i=Rt(),a=t??En(e,i),r=[vo.Default,vo.Info,Ao.Disabled,Ao.Unknown].includes(e)?i.v2.colors.white[500]:i.v2.colors.black[500];return ft.createElement(Yp,{$status:e},ft.createElement(Jp,{$status:e},ft.createElement(a,{size:32,fill:r})),ft.createElement(qa,{$gap:2,$justifyContent:"center"},ft.createElement(ei,{size:Zn.M,weight:500,color:r,nowrap:!0},o),ft.createElement(ei,{size:Zn.XXS,weight:300,color:r,nowrap:!0},n)))},Zp=_t.div`
1820
1837
  flex: 1;
1821
1838
  align-self: stretch;
1822
1839
  display: flex;
@@ -1825,26 +1842,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
1825
1842
  padding: 12px;
1826
1843
  border-radius: 12px;
1827
1844
  background-color: ${({theme:e})=>e.v2.colors.silver[800]};
1828
- `,tu=["-","N/A"],ou=({title:e,cells:t})=>{const o=Rt();return ft.createElement(eu,null,ft.createElement(ei,{size:Zn.XXS,color:o.v2.colors.grey[150]},e),ft.createElement(Ha,{$gap:32},t.map(t=>ft.createElement(qa,{key:`${e}-${t.label}-${t.value}`,$gap:2},!t.isLoading||t.value&&!tu.includes(t.value)?ft.createElement(ei,{size:t.label?Zn.M:Zn.L},t.value):ft.createElement(is,{scale:.9}),t.label&&ft.createElement(ei,{size:Zn.XXS},t.label)))))};var nu;!function(e){e.S="small",e.L="large"}(nu||(nu={}));const iu=_t.div`
1829
- width: fit-content;
1830
- display: flex;
1831
- align-items: center;
1832
- gap: 8px;
1833
- cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
1834
- `,au=_t.div`
1835
- width: ${({$size:e})=>e===nu.S?"16px":"20px"};
1836
- height: ${({$size:e})=>e===nu.S?"16px":"20px"};
1837
- display: flex;
1838
- align-items: center;
1839
- justify-content: center;
1840
- border-radius: 4px;
1841
- border: 1px solid ${({$borderColor:e})=>e};
1842
- background-color: ${({$backgroundColor:e})=>e};
1843
- `,ru=({label:e,size:t=nu.L,disabled:o,partiallyChecked:n,value:i,onChange:a})=>{const r=_i.useTheme(),[s,l]=wt(!1),c=n||i,d=t===nu.S?12:16,p=o?r.v2.colors.grey[400]:r.v2.colors.white[500],u=c?"transparent":o?r.v2.colors.grey[700]:s?r.v2.colors.silver[400]:r.v2.colors.silver[600],h=o?r.v2.colors.grey[600]:c?r.v2.colors.purple[500]:r.v2.colors.silver[900];return ft.createElement(iu,{"data-id":"checkbox"+(e?`-${e}`:""),onClick:e=>{e.stopPropagation(),o||a(!!n||!i)},$disabled:o,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1)},ft.createElement(au,{$size:t,$borderColor:u,$backgroundColor:h},n?ft.createElement(Je,{size:d,fill:p}):i?ft.createElement(Ge,{size:d,fill:p}):null),e&&ft.createElement(ei,{size:t===nu.S?Zn.XXS:Zn.XS,nowrap:!0},e))},su=_t.div`
1844
- display: flex;
1845
- flex-direction: ${({$direction:e})=>e===ho.Horizontal?"row":"column"};
1846
- gap: ${({$direction:e})=>e===ho.Horizontal?16:8}px;
1847
- `,lu=({direction:e=ho.Vertical,title:t,size:o,disabled:n,withSelectAll:i,options:a,values:r,setValues:s})=>{const l=o===nu.S?Zn.XXS:Zn.XS,c=yt(()=>a.every(e=>r[e.id]),[a,r]),d=yt(()=>a.some(e=>r[e.id])&&a.some(e=>!r[e.id]),[a,r]),p=(e,t)=>{s(o=>{const n={...o};return e?n[e]=t:a.forEach(e=>n[e.id]=t),n})};return ft.createElement(su,{$direction:e},t&&i?ft.createElement(ru,{label:t,partiallyChecked:d,value:c,onChange:e=>p("",e),size:o}):t&&!i?ft.createElement(ei,{size:l},t):null,a.map(e=>ft.createElement(ru,{key:`${t}-checkbox-${e.id}`,...e,value:r[e.id],onChange:t=>p(e.id,t),disabled:n,size:o})))},cu=_t(Ha)`
1845
+ `,Qp=["-","N/A"],eu=({title:e,cells:t})=>{const o=Rt();return ft.createElement(Zp,null,ft.createElement(ei,{size:Zn.XXS,color:o.v2.colors.grey[150]},e),ft.createElement(Ha,{$gap:32},t.map(t=>ft.createElement(qa,{key:`${e}-${t.label}-${t.value}`,$gap:2},!t.isLoading||t.value&&!Qp.includes(t.value)?ft.createElement(ei,{size:t.label?Zn.M:Zn.L},t.value):ft.createElement(is,{scale:.9}),t.label&&ft.createElement(ei,{size:Zn.XXS},t.label)))))},tu=_t(Ha)`
1848
1846
  width: calc(100% - 20px);
1849
1847
  padding: 10px;
1850
1848
  border-radius: 6px;
@@ -1853,33 +1851,33 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
1853
1851
  align-items: center;
1854
1852
  justify-content: space-between;
1855
1853
  gap: 12px;
1856
- `,du=_t.div`
1854
+ `,ou=_t.div`
1857
1855
  position: relative;
1858
1856
  width: ${({$hideCopy:e})=>e?"100%":"calc(100% - 24px - 12px)"};
1859
1857
  display: flex;
1860
1858
  align-items: center;
1861
1859
  gap: 4px;
1862
- `,pu=_t.pre`
1860
+ `,nu=_t.pre`
1863
1861
  flex: 1;
1864
1862
  margin: 0;
1865
1863
  padding: 0;
1866
1864
  font-size: 14px;
1867
1865
  color: #5ffb98; // TODO: add to theme
1868
1866
  overflow-x: auto;
1869
- `,uu=_t.span`
1867
+ `,iu=_t.span`
1870
1868
  flex-shrink: 0;
1871
1869
  font-size: 14px;
1872
1870
  color: #5ffb98; // TODO: add to theme
1873
- `,hu=({value:e,hideCopy:t=!1,onDone:o})=>{const{CopyButton:n}=Ea({onDone:o}),i=Ct(null),[a,r]=wt(!1);return kt(()=>{const e=()=>{if(i.current){const{scrollWidth:e,clientWidth:t}=i.current;r(e>t)}};e();const t=new ResizeObserver(e);return i.current&&t.observe(i.current),()=>{t.disconnect()}},[e]),ft.createElement(cu,null,ft.createElement(du,{$hideCopy:t},ft.createElement(pu,{ref:i},e),a&&ft.createElement(uu,null,"...")),!t&&ft.createElement(n,{value:e,size:ka.XS}))},mu=_t.div`
1871
+ `,au=({value:e,hideCopy:t=!1,onDone:o})=>{const{CopyButton:n}=Ea({onDone:o}),i=Ct(null),[a,r]=wt(!1);return kt(()=>{const e=()=>{if(i.current){const{scrollWidth:e,clientWidth:t}=i.current;r(e>t)}};e();const t=new ResizeObserver(e);return i.current&&t.observe(i.current),()=>{t.disconnect()}},[e]),ft.createElement(tu,null,ft.createElement(ou,{$hideCopy:t},ft.createElement(nu,{ref:i},e),a&&ft.createElement(iu,null,"...")),!t&&ft.createElement(n,{value:e,size:ka.XS}))},ru=_t.div`
1874
1872
  display: flex;
1875
1873
  align-items: center;
1876
1874
  justify-content: space-between;
1877
1875
  width: calc(100%);
1878
- `,gu=_t.div`
1876
+ `,su=_t.div`
1879
1877
  display: flex;
1880
1878
  align-items: center;
1881
1879
  gap: 16px;
1882
- `,xu=_t.div`
1880
+ `,lu=_t.div`
1883
1881
  display: flex;
1884
1882
  align-items: center;
1885
1883
  justify-content: center;
@@ -1887,11 +1885,11 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
1887
1885
  height: 36px;
1888
1886
  border-radius: 8px;
1889
1887
  background: ${({theme:e})=>e.v2.colors.silver[800]};
1890
- `,$u=_t.div`
1888
+ `,cu=_t.div`
1891
1889
  display: flex;
1892
1890
  align-items: center;
1893
1891
  gap: 12px;
1894
- `,fu=({icon:e,title:t,actions:o,onClose:n})=>ft.createElement(mu,null,ft.createElement(gu,null,ft.createElement(xu,null,ft.createElement(e,{size:24})),ft.createElement(ei,{size:Zn.S},t)),ft.createElement($u,null,o?.length?ft.createElement(va,{icon:ut,size:ka.M,onClick:()=>alert("todo")}):null,ft.createElement(va,{icon:Ye,size:ka.M,onClick:n}))),bu=_t.div`
1892
+ `,du=({icon:e,title:t,actions:o,onClose:n})=>ft.createElement(ru,null,ft.createElement(su,null,ft.createElement(lu,null,ft.createElement(e,{size:24})),ft.createElement(ei,{size:Zn.S},t)),ft.createElement(cu,null,o?.length?ft.createElement(va,{icon:ht,size:ka.M,onClick:()=>alert("todo")}):null,ft.createElement(va,{icon:Ye,size:ka.M,onClick:n}))),pu=_t.div`
1895
1893
  position: fixed;
1896
1894
  top: 0;
1897
1895
  bottom: 0;
@@ -1910,45 +1908,14 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
1910
1908
  overflow: hidden;
1911
1909
 
1912
1910
  animation-name: ${({$position:e})=>_i.animations.slide.in[e]};
1913
- `,yu=_t.div`
1911
+ `,uu=_t.div`
1914
1912
  display: flex;
1915
1913
  flex-direction: column;
1916
1914
  gap: 12px;
1917
1915
 
1918
1916
  height: calc(100% - ${56}px);
1919
1917
  overflow-y: auto;
1920
- `,wu=({isOpen:e,hideOverlay:t=!1,position:o="right",width:n="40vw",header:i,children:a})=>(ma(e),e?Ht(ft.createElement(ft.Fragment,null,!t&&ft.createElement(Ya,{onClick:i.onClose}),ft.createElement(bu,{$position:o,$width:n},ft.createElement(fu,{...i}),ft.createElement(yu,null,a))),document.body):null);var ku,Cu;!function(e){e.Left="left",e.Right="right"}(ku||(ku={})),function(e){e.Top="top",e.Bottom="bottom"}(Cu||(Cu={}));const vu=_t.div`
1921
- position: relative;
1922
- `,Eu=_t.div`
1923
- display: flex;
1924
- flex-direction: column;
1925
- gap: 0;
1926
- min-width: 150px;
1927
- width: fit-content;
1928
- padding: 8px;
1929
- border-radius: 6px;
1930
- background-color: ${({theme:e})=>e.v2.colors.silver[900]};
1931
- box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.3);
1932
- position: absolute;
1933
- ${({$alignX:e})=>`${e}: 0;`}
1934
- ${({$alignY:e,$withButton:t})=>`${e}: ${t?"calc(100% + 8px)":"0"};`}
1935
- `,Su=_t.div`
1936
- display: flex;
1937
- align-items: center;
1938
- gap: 8px;
1939
- width: calc(100% - 16px);
1940
- padding: 8px;
1941
- border-radius: 6px;
1942
- cursor: pointer;
1943
- ${({$selected:e})=>e?Bt`
1944
- background-color: ${({theme:e})=>e.v2.colors.silver[500]};
1945
- `:Bt`
1946
- background-color: transparent;
1947
- &:hover {
1948
- background-color: ${({theme:e})=>e.v2.colors.grey[700]};
1949
- }
1950
- `}
1951
- `,Au=({items:e,selectedIds:t,setSelectedIds:o,withMultiSelect:n,alignX:i,alignY:a,defaultOpen:r,buttonProps:s,iconButtonProps:l})=>{const c=Rt(),d=!!s||!!l,[p,u]=wt(r??!d),[h,m]=wt({x:i||ku.Left,y:a||Cu.Top}),g=e=>{u(e=>!e),m({x:i||(e.clientX>window.innerWidth/2?ku.Right:ku.Left),y:a||(e.clientY>window.innerHeight/2?Cu.Bottom:Cu.Top)})},x=e=>{o(t.includes(e)?t.filter(t=>t!==e):[...t,e]),d&&!n&&u(!1)},$=Ct(null);return Ia($,()=>u(!1)),ft.createElement(vu,{ref:$},s&&ft.createElement(gp,{...s,rightIcon:p?ht:mt,onClick:g}),l&&ft.createElement(va,{...l,onClick:g}),p&&ft.createElement(Eu,{$withButton:d,$alignX:h.x,$alignY:h.y},e.map(e=>{if(!e)return null;const{id:o,label:n,icon:i,withCheckbox:a}=e,r=t.includes(o);return ft.createElement(Su,{key:o,$selected:r,onClick:()=>x(o)},a&&ft.createElement(ru,{value:r,onChange:()=>x(o)}),i&&ft.createElement(i,{size:14,fill:c.v2.colors.white[500]}),ft.createElement(ei,{size:Zn.XS,nowrap:!0},n))})))},Du=_t.header`
1918
+ `,hu=({isOpen:e,hideOverlay:t=!1,position:o="right",width:n="40vw",header:i,children:a})=>(ma(e),e?Ht(ft.createElement(ft.Fragment,null,!t&&ft.createElement(Ya,{onClick:i.onClose}),ft.createElement(pu,{$position:o,$width:n},ft.createElement(du,{...i}),ft.createElement(uu,null,a))),document.body):null),mu=_t.header`
1952
1919
  position: relative;
1953
1920
  width: calc(100% - 36px);
1954
1921
  padding: 12px 18px;
@@ -1956,12 +1923,12 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
1956
1923
  display: flex;
1957
1924
  align-items: center;
1958
1925
  justify-content: space-between;
1959
- `,Tu=_t(Ha)`
1926
+ `,gu=_t(Ha)`
1960
1927
  position: absolute;
1961
1928
  left: 50%;
1962
1929
  transform: translateX(-50%);
1963
1930
  gap: 16px;
1964
- `,zu=({left:e=[],center:t=[],right:o=[]})=>ft.createElement(Du,null,ft.createElement(Ha,{$gap:16},e),ft.createElement(Tu,null,t),ft.createElement(Ha,{$gap:16},o)),Fu=_t.div`
1931
+ `,xu=({left:e=[],center:t=[],right:o=[]})=>ft.createElement(mu,null,ft.createElement(Ha,{$gap:16},e),ft.createElement(gu,null,t),ft.createElement(Ha,{$gap:16},o)),$u=_t.div`
1965
1932
  display: flex;
1966
1933
  align-items: center;
1967
1934
  gap: 2px;
@@ -1975,17 +1942,17 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
1975
1942
  right: ${({$right:e})=>e||"12px"};
1976
1943
  top: 50%;
1977
1944
  transform: translateY(-50%);
1978
- `,Ou=({isOpen:e,actions:t,positionRight:o})=>{const[n,i]=wt("");return e?ft.createElement(Fu,{$right:o},t.map(e=>e?ft.createElement(gp,{key:e.id,...e,variant:up.Secondary,size:hp.S,label:n===e.id?e.label:void 0,onMouseEnter:()=>i(e.id),onMouseLeave:()=>i("")}):null)):null},Iu=_t.span`
1945
+ `,fu=({isOpen:e,actions:t,positionRight:o})=>{const[n,i]=wt("");return e?ft.createElement($u,{$right:o},t.map(e=>e?ft.createElement(gp,{key:e.id,...e,variant:up.Secondary,size:hp.S,label:n===e.id?e.label:void 0,onMouseEnter:()=>i(e.id),onMouseLeave:()=>i("")}):null)):null},bu=_t.span`
1979
1946
  font-family: ${({theme:e})=>e.font_family.primary};
1980
1947
  font-size: 14px;
1981
1948
  font-weight: 400;
1982
1949
  color: ${({theme:e})=>e.text.error};
1983
- `,Nu=_t.span`
1950
+ `,yu=_t.span`
1984
1951
  font-family: ${({theme:e})=>e.font_family.primary};
1985
1952
  font-size: 14px;
1986
1953
  font-weight: 400;
1987
1954
  color: ${({theme:e})=>e.v2.colors.silver[200]};
1988
- `,_u=_t.div`
1955
+ `,wu=_t.div`
1989
1956
  padding: 12px;
1990
1957
  display: flex;
1991
1958
  align-self: stretch;
@@ -2002,7 +1969,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
2002
1969
  border: 1px solid ${({theme:e})=>e.v2.colors.silver[300]};
2003
1970
  }
2004
1971
  `}
2005
- `,Bu=_t.input`
1972
+ `,ku=_t.input`
2006
1973
  flex: 1;
2007
1974
  font-family: ${({theme:e})=>e.font_family.primary};
2008
1975
  font-size: 14px;
@@ -2026,9 +1993,75 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
2026
1993
  overflow: hidden;
2027
1994
  text-overflow: ellipsis;
2028
1995
  white-space: nowrap;
2029
- `,Ru=_t.div`
1996
+ `,Cu=_t.div`
2030
1997
  cursor: pointer;
2031
- `,Lu=({label:e,required:t,tooltip:o,leftIcon:n,rightIcon:i,errorMessage:a,helpMessage:r,type:s=Co.Text,name:l,value:c,onChange:d,disabled:p,...u})=>{const h=_i.useTheme(),m=s===Co.Password,[g,x]=wt(!1),$=c?h.v2.colors.white[500]:p?h.v2.colors.grey[400]:h.v2.colors.silver[200];return ft.createElement(qa,{$gap:6},ft.createElement(Ha,{$justifyContent:"space-between"},e&&ft.createElement(Nu,null,e),ft.createElement(Ha,{$gap:10},o&&ft.createElement(fr,{text:o,withIcon:!0}),t&&ft.createElement(Iu,null,"*"))),ft.createElement(_u,{$disabled:p,$error:!!a},n?ft.createElement(n,{size:18,fill:$}):null,ft.createElement(Bu,{"data-id":l,type:g||s===Co.Number?Co.Text:s,name:l,value:c,onChange:e=>{e.stopPropagation(),s===Co.Number&&(e.target.value=Wn(e.target.value)),d?.(e)},onKeyDown:e=>{["Enter"].includes(e.key)||e.stopPropagation()},disabled:p,...u}),m?ft.createElement(Ru,{onClick:()=>x(e=>!e)},g?ft.createElement(nt,{size:18,strokeWidth:2,fill:$}):ft.createElement(it,{size:18,strokeWidth:2,fill:$})):i?ft.createElement(i,{size:18,fill:$}):null),a?ft.createElement(Ha,{$gap:4},ft.createElement(je,{size:12,fill:h.v2.colors.red[500]}),ft.createElement(ei,{size:Zn.XXS,weight:400,color:h.v2.colors.red[500]},a)):r?ft.createElement(Ha,{$gap:4},ft.createElement(je,{size:12,fill:h.v2.colors.silver[200]}),ft.createElement(ei,{size:Zn.XXS,weight:400,color:h.v2.colors.silver[200]},r)):null)},Mu=_t.div`
1998
+ `,vu=({label:e,required:t,tooltip:o,leftIcon:n,rightIcon:i,errorMessage:a,helpMessage:r,type:s=Co.Text,name:l,value:c,onChange:d,disabled:p,...u})=>{const h=_i.useTheme(),m=s===Co.Password,[g,x]=wt(!1),$=c?h.v2.colors.white[500]:p?h.v2.colors.grey[400]:h.v2.colors.silver[200];return ft.createElement(qa,{$gap:6},ft.createElement(Ha,{$justifyContent:"space-between"},e&&ft.createElement(yu,null,e),ft.createElement(Ha,{$gap:10},o&&ft.createElement(fr,{text:o,withIcon:!0}),t&&ft.createElement(bu,null,"*"))),ft.createElement(wu,{$disabled:p,$error:!!a},n?ft.createElement(n,{size:18,fill:$}):null,ft.createElement(ku,{"data-id":l,type:g||s===Co.Number?Co.Text:s,name:l,value:c,onChange:e=>{e.stopPropagation(),s===Co.Number&&(e.target.value=Wn(e.target.value)),d?.(e)},onKeyDown:e=>{["Enter"].includes(e.key)||e.stopPropagation()},disabled:p,...u}),m?ft.createElement(Cu,{onClick:()=>x(e=>!e)},g?ft.createElement(nt,{size:18,strokeWidth:2,fill:$}):ft.createElement(it,{size:18,strokeWidth:2,fill:$})):i?ft.createElement(i,{size:18,fill:$}):null),a?ft.createElement(Ha,{$gap:4},ft.createElement(je,{size:12,fill:h.v2.colors.red[500]}),ft.createElement(ei,{size:Zn.XXS,weight:400,color:h.v2.colors.red[500]},a)):r?ft.createElement(Ha,{$gap:4},ft.createElement(je,{size:12,fill:h.v2.colors.silver[200]}),ft.createElement(ei,{size:Zn.XXS,weight:400,color:h.v2.colors.silver[200]},r)):null)},Eu=_t.div`
1999
+ position: ${({$relativeToParent:e})=>e?"absolute":"fixed"};
2000
+ top: 50%;
2001
+ left: 50%;
2002
+ transform: translate(-50%, -50%);
2003
+ z-index: 1000;
2004
+ width: fit-content;
2005
+ border-radius: 20px;
2006
+ background: ${({theme:e})=>e.v2.colors.black[500]};
2007
+ box-shadow: 0 0 34px 0 rgba(0, 0, 0, 0.7);
2008
+ overflow: hidden;
2009
+
2010
+ animation-name: ${_i.animations.slide.in.center};
2011
+ `,Su=_t.div`
2012
+ position: relative;
2013
+ `,Au=_t.div`
2014
+ position: absolute;
2015
+ top: 16px;
2016
+ left: 16px;
2017
+ `,Du=({isOpen:e,hideOverlay:t=!1,relativeToParent:o=!1,onBack:n,onClose:i,children:a})=>{if(ma(e),!e)return null;const r=ft.createElement(ft.Fragment,null,!t&&ft.createElement(Ya,{$relativeToParent:o,onClick:i}),ft.createElement(Eu,{$relativeToParent:o},ft.createElement(Su,null,n&&ft.createElement(Au,null,ft.createElement(va,{icon:e=>ft.createElement(dt,{rotate:-90,...e}),size:ka.L,onClick:n})),a)));return o?r:Ht(r,document.body)},Tu=_t.div`
2018
+ min-width: 530px;
2019
+ `,zu=_t.div`
2020
+ display: flex;
2021
+ flex-direction: column;
2022
+ align-items: center;
2023
+ gap: 16px;
2024
+ padding: 24px;
2025
+ `,Fu=_t.div`
2026
+ display: flex;
2027
+ justify-content: center;
2028
+ gap: 16px;
2029
+ padding: 16px 24px;
2030
+ background-color: ${({theme:e})=>e.v2.colors.silver[1e3]};
2031
+ `,Ou=({visual:e,title:t,description:o,isOpen:n,onClose:i,onDeny:a,denyLabel:r="Deny",onApprove:s,approveLabel:l="Approve",...c})=>{const d=Rt();return ft.createElement(Du,{isOpen:n,onClose:i,...c},ft.createElement(Tu,null,ft.createElement(zu,null,e&&ft.createElement(e,null),ft.createElement(ei,{size:Zn.M,weight:500,color:d.v2.colors.white[500]},t),ft.createElement(qa,{$alignItems:"center",$gap:4},o.split("\n").map(e=>ft.createElement(ei,{key:e,size:Zn.XS,weight:400,color:d.v2.colors.silver[200]},e)))),(a||s)&&ft.createElement(Fu,null,ft.createElement(gp,{variant:up.Secondary,label:r,onClick:()=>{a?.(),i()}}),s&&ft.createElement(gp,{variant:up.Primary,label:l,onClick:()=>{s(),i()}}))))},Iu=({isOpen:e,onClose:t,onDeny:o,onApprove:n})=>ft.createElement(Ou,{title:"Discard changes?",description:"You have unsaved changes.\nIf you cancel now, your changes won't be saved.",isOpen:e,onClose:t,onDeny:o,denyLabel:"Keep editing",onApprove:n,approveLabel:"Discard changes"}),Nu=({isOpen:e,onClose:t,onDeny:o,onApprove:n,action:i="delete",target:a})=>{const r=i.charAt(0).toUpperCase()+i.substring(1),s=a?.endsWith("s")?"these":"this";return ft.createElement(Ou,{title:`${r}${a?` ${a}`:""}?`,description:`Are you sure you want to ${i}${a?` ${s} ${a}`:""}?`,isOpen:e,onClose:t,onDeny:o,denyLabel:"Go back",onApprove:n,approveLabel:r})},_u=434,Bu=635,Ru=_t.div`
2032
+ width: ${434}px;
2033
+ height: ${635}px;
2034
+ display: flex;
2035
+ flex-direction: column;
2036
+ align-items: center;
2037
+ justify-content: center;
2038
+ padding: 16px;
2039
+ background: linear-gradient(180deg, #0b0517 2.82%, #190d31 100%);
2040
+ position: relative;
2041
+ `,Lu=_t.div`
2042
+ position: absolute;
2043
+ top: 50%;
2044
+ left: 50%;
2045
+ transform: translate(-50%, -50%);
2046
+ `,Mu=()=>ft.createElement(Ru,null,ft.createElement(Lu,null,ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"464",height:"464",viewBox:"0 0 464 464",fill:"none"},ft.createElement("path",{opacity:"0.1",d:"M231.567 463.134C359.458 463.134 463.134 359.458 463.134 231.567C463.134 103.676 359.458 0 231.567 0C103.676 0 0 103.676 0 231.567C0 359.458 103.676 463.134 231.567 463.134Z",fill:"url(#paint0_radial_164_65835)"}),ft.createElement("defs",null,ft.createElement("radialGradient",{id:"paint0_radial_164_65835",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(201.232 229.641) scale(231.217)"},ft.createElement("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),ft.createElement("stop",{offset:"0.41",stopColor:"#7C3BFF",stopOpacity:"0.11"}),ft.createElement("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.13"}),ft.createElement("stop",{offset:"0.67",stopColor:"#7C3BFF",stopOpacity:"0.18"}),ft.createElement("stop",{offset:"0.75",stopColor:"#7C3BFF",stopOpacity:"0.25"}),ft.createElement("stop",{offset:"0.83",stopColor:"#7C3BFF",stopOpacity:"0.33"}),ft.createElement("stop",{offset:"0.89",stopColor:"#7C3BFF",stopOpacity:"0.44"}),ft.createElement("stop",{offset:"0.95",stopColor:"#7C3BFF",stopOpacity:"0.56"}),ft.createElement("stop",{offset:"1",stopColor:"#7C3BFF",stopOpacity:"0.7"}))))),ft.createElement(Lu,null,ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"432",height:"432",viewBox:"0 0 432 432",fill:"none"},ft.createElement("path",{opacity:"0.3",d:"M215.921 431.841C335.17 431.841 431.841 335.17 431.841 215.921C431.841 96.6709 335.17 0 215.921 0C96.6709 0 0 96.6709 0 215.921C0 335.17 96.6709 431.841 215.921 431.841Z",fill:"url(#paint0_radial_164_65836)"}),ft.createElement("defs",null,ft.createElement("radialGradient",{id:"paint0_radial_164_65836",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(204.229 214.376) scale(216.276)"},ft.createElement("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),ft.createElement("stop",{offset:"0.38",stopColor:"#7C3BFF",stopOpacity:"0.11"}),ft.createElement("stop",{offset:"0.52",stopColor:"#7C3BFF",stopOpacity:"0.13"}),ft.createElement("stop",{offset:"0.62",stopColor:"#7C3BFF",stopOpacity:"0.18"}),ft.createElement("stop",{offset:"0.69",stopColor:"#7C3BFF",stopOpacity:"0.25"}),ft.createElement("stop",{offset:"0.76",stopColor:"#7C3BFF",stopOpacity:"0.33"}),ft.createElement("stop",{offset:"0.82",stopColor:"#7C3BFF",stopOpacity:"0.44"}),ft.createElement("stop",{offset:"0.88",stopColor:"#7C3BFF",stopOpacity:"0.57"}),ft.createElement("stop",{offset:"0.93",stopColor:"#7C3BFF",stopOpacity:"0.72"}),ft.createElement("stop",{offset:"0.97",stopColor:"#7C3BFF",stopOpacity:"0.88"}),ft.createElement("stop",{offset:"1",stopColor:"#7C3BFF"}))))),ft.createElement(Lu,null,ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"374",height:"374",viewBox:"0 0 374 374",fill:"none"},ft.createElement("path",{opacity:"0.5",d:"M186.963 373.927C290.22 373.927 373.927 290.22 373.927 186.963C373.927 83.7063 290.22 0 186.963 0C83.7063 0 0 83.7063 0 186.963C0 290.22 83.7063 373.927 186.963 373.927Z",fill:"url(#paint0_radial_164_65837)"}),ft.createElement("defs",null,ft.createElement("radialGradient",{id:"paint0_radial_164_65837",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(166.792 184.246) scale(186.963)"},ft.createElement("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),ft.createElement("stop",{offset:"0.31",stopColor:"#7C3BFF",stopOpacity:"0.11"}),ft.createElement("stop",{offset:"0.45",stopColor:"#7C3BFF",stopOpacity:"0.14"}),ft.createElement("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.19"}),ft.createElement("stop",{offset:"0.65",stopColor:"#7C3BFF",stopOpacity:"0.26"}),ft.createElement("stop",{offset:"0.73",stopColor:"#7C3BFF",stopOpacity:"0.35"}),ft.createElement("stop",{offset:"0.8",stopColor:"#7C3BFF",stopOpacity:"0.46"}),ft.createElement("stop",{offset:"0.86",stopColor:"#7C3BFF",stopOpacity:"0.6"}),ft.createElement("stop",{offset:"0.92",stopColor:"#7C3BFF",stopOpacity:"0.76"}),ft.createElement("stop",{offset:"0.98",stopColor:"#7C3BFF",stopOpacity:"0.93"}),ft.createElement("stop",{offset:"1",stopColor:"#7C3BFF"}))))),ft.createElement(Lu,null,ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"257",height:"257",viewBox:"0 0 257 257",fill:"none"},ft.createElement("path",{opacity:"0.7",d:"M128.193 256.387C198.992 256.387 256.387 198.992 256.387 128.193C256.387 57.3941 198.992 0 128.193 0C57.3941 0 0 57.3941 0 128.193C0 198.992 57.3941 256.387 128.193 256.387Z",fill:"url(#paint0_radial_164_65838)"}),ft.createElement("defs",null,ft.createElement("radialGradient",{id:"paint0_radial_164_65838",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(113.263 126.219) scale(128.08)"},ft.createElement("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),ft.createElement("stop",{offset:"0.31",stopColor:"#7C3BFF",stopOpacity:"0.11"}),ft.createElement("stop",{offset:"0.45",stopColor:"#7C3BFF",stopOpacity:"0.14"}),ft.createElement("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.19"}),ft.createElement("stop",{offset:"0.65",stopColor:"#7C3BFF",stopOpacity:"0.26"}),ft.createElement("stop",{offset:"0.73",stopColor:"#7C3BFF",stopOpacity:"0.35"}),ft.createElement("stop",{offset:"0.8",stopColor:"#7C3BFF",stopOpacity:"0.46"}),ft.createElement("stop",{offset:"0.86",stopColor:"#7C3BFF",stopOpacity:"0.6"}),ft.createElement("stop",{offset:"0.92",stopColor:"#7C3BFF",stopOpacity:"0.76"}),ft.createElement("stop",{offset:"0.98",stopColor:"#7C3BFF",stopOpacity:"0.93"}),ft.createElement("stop",{offset:"1",stopColor:"#7C3BFF"}))))),ft.createElement(Lu,null,ft.createElement(se,{size:112}))),Pu=_t.div`
2047
+ width: ${({$size:e})=>e}px;
2048
+ height: ${({$size:e})=>e}px;
2049
+ border-radius: 100%;
2050
+ background: ${({$color:e})=>e};
2051
+ display: flex;
2052
+ align-items: center;
2053
+ justify-content: center;
2054
+ `,ju=()=>ft.createElement(Pu,{$size:74,$color:"rgba(80, 246, 232, 0.10)"},ft.createElement(Pu,{$size:71,$color:"rgba(80, 246, 232, 0.20)"},ft.createElement(Pu,{$size:65,$color:"rgba(80, 246, 232, 0.40)"},ft.createElement(Pu,{$size:56,$color:"rgba(80, 246, 232, 0.60)"},ft.createElement(Pu,{$size:39,$color:"#50F6E8"},ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"21",viewBox:"0 0 22 21",fill:"none"},ft.createElement("path",{fill:"#151618",d:"M9.4844 0.730003C9.99694 -0.243259 11.4076 -0.24341 11.92 0.730003L11.9685 0.831353L14.3039 6.22012L20.153 6.77755C21.3553 6.89211 21.841 8.38683 20.9358 9.18621L16.5314 13.0731L17.8091 18.8079C18.0716 19.9868 16.8005 20.9109 15.7605 20.2969L10.7017 17.3093L5.64282 20.2969C4.60289 20.9104 3.33173 19.9866 3.59427 18.8079L4.87192 13.0741L0.468608 9.18621C-0.43662 8.38693 0.0482932 6.8924 1.25029 6.77755L7.09837 6.22012L9.43588 0.831353L9.4844 0.730003ZM8.55284 7.02876C8.35287 7.48992 7.9179 7.80589 7.41751 7.85357L2.03952 8.36571L6.09027 11.941C6.46691 12.2737 6.63296 12.7852 6.5237 13.2758L5.34956 18.5459L10.0008 15.8009L10.1669 15.7179C10.5087 15.574 10.8945 15.5741 11.2364 15.7179L11.4036 15.8009L16.0538 18.5459L14.8807 13.2758C14.7714 12.7851 14.9374 12.2737 15.3141 11.941L19.3627 8.36571L13.9858 7.85357C13.4855 7.80587 13.0505 7.4899 12.8505 7.02876L10.7017 2.07342L8.55284 7.02876Z"}))))))),Uu=_t.div`
2055
+ width: ${({$size:e})=>e}px;
2056
+ height: ${({$size:e})=>e}px;
2057
+ border-radius: 100%;
2058
+ background: ${({$color:e})=>e};
2059
+ display: flex;
2060
+ align-items: center;
2061
+ justify-content: center;
2062
+ `,Wu=()=>ft.createElement(Uu,{$size:126,$color:"rgba(80, 246, 232, 0.10)"},ft.createElement(Uu,{$size:121,$color:"rgba(80, 246, 232, 0.20)"},ft.createElement(Uu,{$size:111,$color:"rgba(80, 246, 232, 0.40)"},ft.createElement(Uu,{$size:95,$color:"rgba(80, 246, 232, 0.60)"},ft.createElement(Uu,{$size:67,$color:"#50F6E8"},ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"46",height:"46",viewBox:"0 0 46 46",fill:"none"},ft.createElement("path",{fill:"#151618",d:"M36.0211 22.2763C36.0211 19.9012 36.0207 18.1909 35.9286 16.8405C35.8373 15.5029 35.6613 14.6218 35.3602 13.8949C34.4783 11.766 32.7865 10.0742 30.6576 9.19229C29.9307 8.89119 29.0496 8.71517 27.712 8.6239C26.3615 8.53176 24.6513 8.53133 22.2762 8.53133C19.9011 8.53133 18.1909 8.53176 16.8404 8.6239C15.5028 8.71517 14.6218 8.89119 13.8948 9.19229C11.7659 10.0742 10.0741 11.766 9.19223 13.8949C8.89113 14.6218 8.71512 15.5029 8.62385 16.8405C8.53171 18.1909 8.53128 19.9012 8.53128 22.2763C8.53128 24.6513 8.53171 26.3616 8.62385 27.712C8.71512 29.0496 8.89113 29.9307 9.19223 30.6576C10.0741 32.7865 11.7659 34.4783 13.8948 35.3602C14.6218 35.6613 15.5028 35.8373 16.8404 35.9286C18.1909 36.0207 19.9011 36.0212 22.2762 36.0212C24.6513 36.0212 26.3615 36.0207 27.712 35.9286C29.0496 35.8373 29.9306 35.6613 30.6576 35.3602C32.7865 34.4783 34.4783 32.7865 35.3602 30.6576C35.6613 29.9307 35.8373 29.0496 35.9286 27.712C36.0207 26.3616 36.0211 24.6513 36.0211 22.2763ZM28.8543 16.2147C29.4095 15.66 30.3097 15.66 30.8649 16.2147C31.4201 16.7699 31.4198 17.67 30.8649 18.2254L20.7543 28.3378C20.1992 28.8929 19.299 28.8925 18.7437 28.3378L14.5299 24.124C13.9747 23.5687 13.9746 22.6686 14.5299 22.1133C15.0851 21.5582 15.9852 21.5582 16.5405 22.1133L19.7472 25.32L28.8543 16.2147ZM38.8649 22.2763C38.8649 24.612 38.8651 26.435 38.7649 27.9046C38.6638 29.387 38.4559 30.6151 37.9873 31.7463C36.8168 34.5717 34.5716 36.8169 31.7462 37.9874C30.615 38.4559 29.387 38.6638 27.9045 38.765C26.435 38.8652 24.6119 38.865 22.2762 38.865C19.9405 38.865 18.1174 38.8652 16.6479 38.765C15.1654 38.6638 13.9374 38.4559 12.8062 37.9874C9.98077 36.8169 7.7356 34.5717 6.56507 31.7463C6.09651 30.6151 5.88862 29.387 5.78748 27.9046C5.68726 26.435 5.6875 24.612 5.6875 22.2763C5.6875 19.9405 5.68726 18.1175 5.78748 16.6479C5.88862 15.1655 6.09651 13.9375 6.56507 12.8063C7.7356 9.98082 9.98077 7.73565 12.8062 6.56513C13.9374 6.09656 15.1654 5.88868 16.6479 5.78753C18.1174 5.68731 19.9405 5.68755 22.2762 5.68755C24.6119 5.68755 26.435 5.68731 27.9045 5.78753C29.387 5.88868 30.615 6.09656 31.7462 6.56513C34.5716 7.73565 36.8168 9.98082 37.9873 12.8063C38.4559 13.9375 38.6638 15.1655 38.7649 16.6479C38.8651 18.1175 38.8649 19.9405 38.8649 22.2763Z"}))))))),Vu=({minSupportedVersion:e,currentVersion:t})=>ft.createElement(Ou,{isOpen:!0,onClose:()=>{},relativeToParent:!0,visual:ju,title:"Upgrade Required",description:`To use this feature, please upgrade to Odigos v${e} or later.\nCurrent version: ${t}.`}),Hu=_t.div`
2063
+ padding: 0 12px;
2064
+ `,qu=({yaml:e})=>{const{clickCopy:t,isCopied:o}=Ea(),n=yt(()=>[{id:nn(),type:Wp.Button,buttonProps:{leftIcon:o?Ge:Ke,onClick:()=>t(e||""),disabled:o,size:hp.S,variant:up.Secondary}}],[e,o]);return ft.createElement(Kp,{richTitle:{icon:mt,title:"YAML"},actions:n},ft.createElement(Hu,null,e?ft.createElement(Zr,{code:e,language:"yaml",theme:"duotoneDark"}):ft.createElement(Ga,null,ft.createElement(Gs,{title:"No YAML found",subTitle:"The YAML for this resource is not available"}))))},Gu=_t.div`
2032
2065
  display: flex;
2033
2066
  align-items: center;
2034
2067
  justify-content: space-between;
@@ -2043,14 +2076,14 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
2043
2076
  bottom: 0;
2044
2077
  left: 50%;
2045
2078
  animation-name: ${_i.animations.slide.in.center};
2046
- `,Pu=({isOpen:e,onClose:t,richTitle:o,actions:n})=>e?ft.createElement(Mu,null,ft.createElement(_p,{...o}),ft.createElement(Op,{onAnyClick:t,actions:n})):null,ju=Mt`
2079
+ `,Ku=({isOpen:e,onClose:t,richTitle:o,actions:n})=>e?ft.createElement(Gu,null,ft.createElement(Hp,{...o}),ft.createElement(Vp,{onAnyClick:t,actions:n})):null,Yu=Mt`
2047
2080
  0% {
2048
2081
  background-position: 0% 50%;
2049
2082
  }
2050
2083
  100% {
2051
2084
  background-position: 100% 50%;
2052
2085
  }
2053
- `,Uu=_t(ei)`
2086
+ `,Ju=_t(ei)`
2054
2087
  display: flex;
2055
2088
  align-items: center;
2056
2089
  gap: 4px;
@@ -2059,27 +2092,8 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
2059
2092
  background-size: 250% 100%; /* Expand background to allow movement */
2060
2093
  background-clip: text;
2061
2094
  color: transparent;
2062
- animation: ${ju} 1s reverse linear infinite;
2063
- `,Wu=({label:e,icon:t,withGradient:o,textColor:n,stripColor:i,typographyProps:a})=>{const r=_i.useTheme(),s=n||r.v2.colors.white[500],l=i||r.v2.colors.black[500];return ft.createElement(ft.Fragment,null,e?ft.createElement(Ha,{$gap:4},t&&ft.createElement(t,null),o?ft.createElement(Uu,{$textColor:s,$stripColor:l,...a},e):ft.createElement(ei,{color:s,...a},e)):null)},Vu=_t.div`
2064
- position: ${({$relativeToParent:e})=>e?"absolute":"fixed"};
2065
- top: 50%;
2066
- left: 50%;
2067
- transform: translate(-50%, -50%);
2068
- z-index: 1000;
2069
- width: fit-content;
2070
- border-radius: 20px;
2071
- background: ${({theme:e})=>e.v2.colors.black[500]};
2072
- box-shadow: 0 0 34px 0 rgba(0, 0, 0, 0.7);
2073
- overflow: hidden;
2074
-
2075
- animation-name: ${_i.animations.slide.in.center};
2076
- `,Hu=_t.div`
2077
- position: relative;
2078
- `,qu=_t.div`
2079
- position: absolute;
2080
- top: 16px;
2081
- left: 16px;
2082
- `,Gu=({isOpen:e,hideOverlay:t=!1,relativeToParent:o=!1,onBack:n,onClose:i,children:a})=>{if(ma(e),!e)return null;const r=ft.createElement(ft.Fragment,null,!t&&ft.createElement(Ya,{$relativeToParent:o,onClick:i}),ft.createElement(Vu,{$relativeToParent:o},ft.createElement(Hu,null,n&&ft.createElement(qu,null,ft.createElement(va,{icon:e=>ft.createElement(dt,{rotate:-90,...e}),size:ka.L,onClick:n})),a)));return o?r:Ht(r,document.body)},Ku=_t.aside`
2095
+ animation: ${Yu} 1s reverse linear infinite;
2096
+ `,Xu=({label:e,icon:t,withGradient:o,textColor:n,stripColor:i,typographyProps:a})=>{const r=_i.useTheme(),s=n||r.v2.colors.white[500],l=i||r.v2.colors.black[500];return ft.createElement(ft.Fragment,null,e?ft.createElement(Ha,{$gap:4},t&&ft.createElement(t,null),o?ft.createElement(Ju,{$textColor:s,$stripColor:l,...a},e):ft.createElement(ei,{color:s,...a},e)):null)},Zu=_t.aside`
2083
2097
  display: flex;
2084
2098
  flex-direction: column;
2085
2099
  gap: 8px;
@@ -2088,7 +2102,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
2088
2102
  padding: 16px 12px;
2089
2103
  background-color: ${({theme:e})=>e.v2.colors.black[500]};
2090
2104
  overflow-y: auto;
2091
- `,Yu=({height:e,icons:t})=>ft.createElement(Ku,{$height:e},t.map(({id:e,selected:t,icon:o,onClick:n})=>ft.createElement(gp,{key:e,label:"",leftIcon:o,iconSize:24,onClick:n,variant:t?up.Primary:up.Text}))),Ju=_t.div`
2105
+ `,Qu=({height:e,icons:t})=>ft.createElement(Zu,{$height:e},t.map(({id:e,selected:t,icon:o,onClick:n})=>ft.createElement(gp,{key:e,label:"",leftIcon:o,iconSize:24,onClick:n,variant:t?up.Primary:up.Text}))),eh=_t.div`
2092
2106
  display: flex;
2093
2107
  align-items: center;
2094
2108
  gap: 10px;
@@ -2098,7 +2112,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
2098
2112
  padding: 4px 12px 4px 4px;
2099
2113
  border-radius: 8px;
2100
2114
  background-color: ${({theme:e,$status:t})=>Cn(e,t,[vo.Info].includes(t)?"1000":"900")};
2101
- `,Xu=_t.div`
2115
+ `,th=_t.div`
2102
2116
  width: 32px;
2103
2117
  height: 32px;
2104
2118
  display: flex;
@@ -2106,51 +2120,51 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
2106
2120
  justify-content: center;
2107
2121
  border-radius: 6px;
2108
2122
  background-color: ${({theme:e,$status:t})=>Cn(e,t,[vo.Info].includes(t)?"900":"800")};
2109
- `,Zu=_t.div`
2123
+ `,oh=_t.div`
2110
2124
  margin-left: auto;
2111
2125
  margin-right: 8px;
2112
2126
  cursor: pointer;
2113
2127
  &:hover {
2114
2128
  transform: scale(1.2);
2115
2129
  }
2116
- `,Qu=({status:e,message:t,action:o,fullWidth:n})=>{const i=_i.useTheme(),a=En(e,i),r=Cn(i,e,e===vo.Default?"300":e===vo.Info?"400":"500");return ft.createElement(Ju,{$status:e,$fullWidth:n},ft.createElement("div",null,ft.createElement(Xu,{$status:e},ft.createElement(a,{size:24}))),ft.createElement(ei,{color:r,size:Zn.XXXS,weight:400},t),o&&ft.createElement(Zu,{onClick:o.onClick},ft.createElement(ei,{color:r,size:Zn.XXS,weight:500,underline:!0},o.label)))};var eh;!function(e){e.S="small",e.L="large"}(eh||(eh={}));const th=_t.div`
2130
+ `,nh=({status:e,message:t,action:o,fullWidth:n})=>{const i=_i.useTheme(),a=En(e,i),r=Cn(i,e,e===vo.Default?"300":e===vo.Info?"400":"500");return ft.createElement(eh,{$status:e,$fullWidth:n},ft.createElement("div",null,ft.createElement(th,{$status:e},ft.createElement(a,{size:24}))),ft.createElement(ei,{color:r,size:Zn.XXXS,weight:400},t),o&&ft.createElement(oh,{onClick:o.onClick},ft.createElement(ei,{color:r,size:Zn.XXS,weight:500,underline:!0},o.label)))};var ih;!function(e){e.S="small",e.L="large"}(ih||(ih={}));const ah=_t.div`
2117
2131
  width: fit-content;
2118
2132
  display: flex;
2119
2133
  align-items: center;
2120
2134
  gap: 8px;
2121
2135
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
2122
- `,oh=_t.div`
2123
- width: ${({$size:e})=>e===eh.S?"16px":"20px"};
2124
- height: ${({$size:e})=>e===eh.S?"16px":"20px"};
2136
+ `,rh=_t.div`
2137
+ width: ${({$size:e})=>e===ih.S?"16px":"20px"};
2138
+ height: ${({$size:e})=>e===ih.S?"16px":"20px"};
2125
2139
  display: flex;
2126
2140
  align-items: center;
2127
2141
  justify-content: center;
2128
2142
  border-radius: 100%;
2129
2143
  border: 1px solid ${({$borderColor:e})=>e};
2130
2144
  background-color: ${({$backgroundColor:e})=>e};
2131
- `,nh=({label:e,value:t,onChange:o,disabled:n,size:i=eh.L})=>{const a=_i.useTheme(),[r,s]=wt(!1),l=t,c=i===eh.S?6:8,d=n?a.v2.colors.grey[400]:a.v2.colors.white[500],p=l?"transparent":n?a.v2.colors.grey[700]:r?a.v2.colors.silver[400]:a.v2.colors.silver[600],u=n?a.v2.colors.grey[600]:l?a.v2.colors.purple[500]:a.v2.colors.silver[900];return ft.createElement(th,{"data-id":"radio"+(e?`-${e}`:""),onClick:e=>{e.stopPropagation(),n||o(!t)},$disabled:n,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1)},ft.createElement(oh,{$size:i,$borderColor:p,$backgroundColor:u},t?ft.createElement(gt,{size:c,fill:d}):null),e&&ft.createElement(ei,{size:i===eh.S?Zn.XXS:Zn.XS},e))},ih=_t.div`
2145
+ `,sh=({label:e,value:t,onChange:o,disabled:n,size:i=ih.L})=>{const a=_i.useTheme(),[r,s]=wt(!1),l=t,c=i===ih.S?6:8,d=n?a.v2.colors.grey[400]:a.v2.colors.white[500],p=l?"transparent":n?a.v2.colors.grey[700]:r?a.v2.colors.silver[400]:a.v2.colors.silver[600],u=n?a.v2.colors.grey[600]:l?a.v2.colors.purple[500]:a.v2.colors.silver[900];return ft.createElement(ah,{"data-id":"radio"+(e?`-${e}`:""),onClick:e=>{e.stopPropagation(),n||o(!t)},$disabled:n,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1)},ft.createElement(rh,{$size:i,$borderColor:p,$backgroundColor:u},t?ft.createElement(gt,{size:c,fill:d}):null),e&&ft.createElement(ei,{size:i===ih.S?Zn.XXS:Zn.XS},e))},lh=_t.div`
2132
2146
  display: flex;
2133
2147
  flex-direction: ${({$flexDirection:e})=>e};
2134
2148
  gap: ${({$gap:e})=>e}px;
2135
- `,ah=({label:e,direction:t,disabled:o,size:n,options:i,values:a,setValues:r})=>ft.createElement(ih,{$flexDirection:t===ho.Horizontal?"row":"column",$gap:t===ho.Horizontal?16:8},e&&ft.createElement(ei,null,e),i.map(t=>ft.createElement(nh,{key:`${e}-radio-${t.id}`,...t,value:a[t.id],onChange:e=>{return o=t.id,n=e,void r(e=>{const t={...e};return Object.keys(t).forEach(e=>t[e]=!1),t[o]=n,t});var o,n},disabled:o,size:n})));var rh;!function(e){e.Data="data",e.Pretty="pretty"}(rh||(rh={}));const sh=_t.div`
2149
+ `,ch=({label:e,direction:t,disabled:o,size:n,options:i,values:a,setValues:r})=>ft.createElement(lh,{$flexDirection:t===ho.Horizontal?"row":"column",$gap:t===ho.Horizontal?16:8},e&&ft.createElement(ei,null,e),i.map(t=>ft.createElement(sh,{key:`${e}-radio-${t.id}`,...t,value:a[t.id],onChange:e=>{return o=t.id,n=e,void r(e=>{const t={...e};return Object.keys(t).forEach(e=>t[e]=!1),t[o]=n,t});var o,n},disabled:o,size:n})));var dh;!function(e){e.Data="data",e.Pretty="pretty"}(dh||(dh={}));const ph=_t.div`
2136
2150
  // max-height: ${({$maxHeight:e})=>e};
2137
2151
  height: ${({$maxHeight:e})=>e};
2138
2152
  width: 100%;
2139
2153
  overflow: auto;
2140
- `,lh=_t.table`
2154
+ `,uh=_t.table`
2141
2155
  width: 100%;
2142
2156
 
2143
- ${({$variant:e})=>{switch(e){case rh.Data:return Bt`
2157
+ ${({$variant:e})=>{switch(e){case dh.Data:return Bt`
2144
2158
  border-collapse: collapse;
2145
- `;case rh.Pretty:return Bt`
2159
+ `;case dh.Pretty:return Bt`
2146
2160
  border-collapse: separate;
2147
2161
  border-spacing: 0 8px;
2148
2162
  `;default:return""}}}
2149
- `,ch=_t.thead`
2163
+ `,hh=_t.thead`
2150
2164
  position: sticky;
2151
2165
  top: 0;
2152
2166
  z-index: 1;
2153
- `,dh=_t.th`
2167
+ `,mh=_t.th`
2154
2168
  position: relative;
2155
2169
  min-width: ${({$minWidth:e})=>e||"auto"};
2156
2170
  padding: 18px 24px;
@@ -2159,12 +2173,12 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
2159
2173
 
2160
2174
  ${({$variant:e,$backgroundColor:t})=>{if(t)return Bt`
2161
2175
  background-color: ${t};
2162
- `;switch(e){case rh.Data:return Bt`
2176
+ `;switch(e){case dh.Data:return Bt`
2163
2177
  background-color: ${({theme:e})=>e.v2.colors.silver[750]};
2164
- `;case rh.Pretty:return Bt`
2178
+ `;case dh.Pretty:return Bt`
2165
2179
  background-color: transparent;
2166
2180
  `;default:return""}}}
2167
- `,ph=_t.div`
2181
+ `,gh=_t.div`
2168
2182
  position: absolute;
2169
2183
  top: 50%;
2170
2184
  right: 0;
@@ -2172,30 +2186,30 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
2172
2186
  width: 1px;
2173
2187
  height: 18px;
2174
2188
  background: ${({theme:e})=>e.v2.colors.silver[500]};
2175
- `,uh=_t.tbody``,hh=_t.td`
2189
+ `,xh=_t.tbody``,$h=_t.td`
2176
2190
  position: relative;
2177
2191
  padding: 18px 24px;
2178
2192
  cursor: ${({$withClick:e})=>e?"pointer":"default"};
2179
2193
 
2180
- ${({$variant:e,$selected:t,$hovered:o,$isLastRow:n,$isFirstCell:i,$isLastCell:a})=>{switch(e){case rh.Data:return Bt`
2194
+ ${({$variant:e,$selected:t,$hovered:o,$isLastRow:n,$isFirstCell:i,$isLastCell:a})=>{switch(e){case dh.Data:return Bt`
2181
2195
  border: ${({theme:e})=>n?"none":`1px solid ${e.v2.colors.silver[500]}`};
2182
2196
  border-left: none;
2183
2197
  border-right: none;
2184
2198
  border-radius: ${n?i?"0 0 0 4px":a?"0 0 4px 0":"0":"0"};
2185
2199
  background-color: ${({theme:e})=>t?e.v2.colors.blue[1e3]:o?e.v2.colors.silver[700]:e.v2.colors.silver[800]};
2186
- `;case rh.Pretty:return Bt`
2200
+ `;case dh.Pretty:return Bt`
2187
2201
  border: none;
2188
2202
  border-radius: ${i?"12px 0 0 12px":a?"0 12px 12px 0":"0"};
2189
2203
  background-color: ${({theme:e})=>t?e.v2.colors.blue[1e3]:o?e.v2.colors.silver[700]:e.v2.colors.silver[900]};
2190
2204
  `;default:return""}}}
2191
- `,mh=_t.div`
2205
+ `,fh=_t.div`
2192
2206
  width: 100%;
2193
2207
  display: flex;
2194
2208
  align-items: center;
2195
2209
  justify-content: ${({$textAlign:e})=>"right"===e?"flex-end":"left"===e?"flex-start":"center"===e?"center":"unset"};
2196
2210
  gap: 4px;
2197
2211
  text-align: ${({$textAlign:e})=>e||"left"};
2198
- `,gh=({variant:e,columns:t,rows:o,getRowActions:n,rowActionsPushRightPosition:i,withCheckboxes:a})=>{const[r,s]=wt(null);return ft.createElement(ft.Fragment,null,o.map((l,c)=>{const{cells:d,onClick:p,isSelected:u=!1,onSelect:h,onDeselect:m,hideCheckbox:g}=l,x=r===c,$=n(l),f=(e,t)=>({$isLastRow:c===o.length-1,$isFirstCell:e,$isLastCell:t,$selected:u,$withClick:!!p,onClick:()=>p?.(),$hovered:!!p&&x,onMouseEnter:()=>s(c),onMouseLeave:()=>s(null)});return ft.createElement("tr",{key:`row-${c}`},a&&ft.createElement(hh,{key:"checkbox-column",$variant:e,...f(!0,!1)},!g&&ft.createElement(ru,{value:u,onChange:()=>u?m?.():h?.()})),t.map(({key:o,textAlign:n},r)=>{const s=d.find(e=>e.key===o),l=0===r&&!a,p=r===t.length-1;return ft.createElement(hh,{key:`row-${c}-cell-${r}`,$variant:e,...f(l,p)},s?.component?ft.createElement(Ha,{$justifyContent:"right"===n?"flex-end":"flex-start"},ft.createElement(s.component,null)):ft.createElement(ei,{size:Zn.XS,align:n},s?.rawValue||"-"),$.length?ft.createElement(Ou,{isOpen:x&&p,actions:$,positionRight:i}):null)}))}))},xh=({columnKey:e,sortDirection:t,sortByKey:o,onSort:n})=>{const i=Rt(),a=o===e?i.v2.colors.white[500]:i.v2.colors.grey[400],r=t===mo.Ascending?0:180;return ft.createElement(va,{icon:e=>ft.createElement(dt,{fill:a,rotate:r,...e}),onClick:()=>n(e)})},$h=({columnKey:e,filters:t,onFilter:o,rowsUnfiltered:n})=>{const i=Rt(),a=t[e]?.length?i.v2.colors.white[500]:i.v2.colors.grey[400],r=yt(()=>Array.from(new Set(n.map(t=>t.cells.find(t=>t.key===e)?.rawValue?.toString()).filter(e=>!!e))).sort((e,t)=>e.localeCompare(t)).map(e=>({id:e,label:e,withCheckbox:!0})),[n,e]);return ft.createElement(Au,{items:r,withMultiSelect:!0,selectedIds:t[e]?.map(e=>e.toString())??[],setSelectedIds:t=>o(e,t),defaultOpen:!1,iconButtonProps:{icon:e=>ft.createElement(xt,{fill:a,...e})}})},fh=({variant:e,backgroundColor:t,columns:o,rowsUnfiltered:n,sortDirection:i,sortByKey:a,onSort:r,filters:s,onFilter:l,withCheckboxes:c,partiallySelected:d,allSelected:p,onSelectAll:u})=>ft.createElement("tr",null,c&&ft.createElement(dh,{key:"checkbox-column",$variant:e,$backgroundColor:t,$minWidth:24,$isFirst:!0,$isLast:!1},ft.createElement(ru,{partiallyChecked:d&&!p,value:p||!1,onChange:u})),o.map(({key:d,label:p,minWidth:u,textAlign:h},m)=>{const g=0===m&&!c,x=m===o.length-1;return ft.createElement(dh,{key:`column-${d}`,$variant:e,$backgroundColor:t,$minWidth:u,$isFirst:g,$isLast:x},ft.createElement(mh,{$textAlign:h},ft.createElement(ei,{size:Zn.XS,align:h},p),ft.createElement(xh,{columnKey:d,sortDirection:i,sortByKey:a,onSort:r}),ft.createElement($h,{columnKey:d,filters:s,onFilter:l,rowsUnfiltered:n})),!x&&e===rh.Data&&ft.createElement(ph,null))})),bh=({variant:e,maxHeight:t="unset",headerBackgroundColor:o,isLoading:n,columns:i,rows:a,getRowActions:r,rowActionsPushRightPosition:s,withCheckboxes:l})=>{const[c,d]=wt(mo.Ascending),[p,u]=wt(""),[h,m]=wt({}),g=St(e=>{u(e),d(e=>e===mo.Ascending?mo.Descending:mo.Ascending)},[]),x=St((e,t)=>{m(o=>({...o,[e]:t}))},[]),$=yt(()=>{const e=(e,t)=>{const o=e.cells.find(e=>e.key===t);return o&&(o.rawValue?.toString()||o.component?.({})?.props?.children?.toString())||""};return(p?[...a].sort((t,o)=>{const n=e(t,p),i=e(o,p);return(c===mo.Ascending?1:-1)*((e,t)=>"string"==typeof e&&"string"==typeof t?e.localeCompare(t):"number"==typeof e&&"number"==typeof t?e-t:"boolean"==typeof e&&"boolean"==typeof t?e===t?0:e?1:-1:String(e).localeCompare(String(t)))(n,i)}):a).filter(t=>{for(const[o,n]of Object.entries(h))if(n.length&&!n.includes(e(t,o)))return!1;return!0})},[a,p,c,h]),{partiallySelected:f,allSelected:b}=yt(()=>({partiallySelected:$.length>0&&$.some(e=>e.isSelected),allSelected:$.length>0&&$.filter(e=>!e.hideCheckbox).every(e=>e.isSelected)}),[$]);return ft.createElement(sh,{$maxHeight:t},ft.createElement(lh,{$variant:e},ft.createElement(ch,null,ft.createElement(fh,{variant:e,backgroundColor:o,columns:i,rowsUnfiltered:a,sortDirection:c,sortByKey:p,onSort:g,filters:h,onFilter:x,withCheckboxes:l,partiallySelected:f,allSelected:b,onSelectAll:e=>{e?$.forEach(e=>!e.hideCheckbox&&e.onSelect?.()):$.forEach(e=>!e.hideCheckbox&&e.onDeselect?.())}})),ft.createElement(uh,null,ft.createElement(gh,{variant:e,columns:i,rows:$,getRowActions:r||(()=>[]),rowActionsPushRightPosition:s,withCheckboxes:l}))),!$.length&&ft.createElement(Ga,{style:{marginTop:"0.5rem"}},n?ft.createElement(is,{scale:1.2}):ft.createElement(Gs,null)))},yh=_t.div`
2212
+ `,bh=({variant:e,columns:t,rows:o,getRowActions:n,rowActionsPushRightPosition:i,withCheckboxes:a})=>{const[r,s]=wt(null);return ft.createElement(ft.Fragment,null,o.map((l,c)=>{const{cells:d,onClick:p,isSelected:u=!1,onSelect:h,onDeselect:m,hideCheckbox:g}=l,x=r===c,$=n(l),f=(e,t)=>({$isLastRow:c===o.length-1,$isFirstCell:e,$isLastCell:t,$selected:u,$withClick:!!p,onClick:()=>p?.(),$hovered:!!p&&x,onMouseEnter:()=>s(c),onMouseLeave:()=>s(null)});return ft.createElement("tr",{key:`row-${c}`},a&&ft.createElement($h,{key:"checkbox-column",$variant:e,...f(!0,!1)},!g&&ft.createElement(Np,{value:u,onChange:()=>u?m?.():h?.()})),t.map(({key:o,textAlign:n},r)=>{const s=d.find(e=>e.key===o),l=0===r&&!a,p=r===t.length-1;return ft.createElement($h,{key:`row-${c}-cell-${r}`,$variant:e,...f(l,p)},s?.component?ft.createElement(Ha,{$justifyContent:"right"===n?"flex-end":"flex-start"},ft.createElement(s.component,null)):ft.createElement(ei,{size:Zn.XS,align:n},s?.rawValue||"-"),$.length?ft.createElement(fu,{isOpen:x&&p,actions:$,positionRight:i}):null)}))}))},yh=({columnKey:e,sortDirection:t,sortByKey:o,onSort:n})=>{const i=Rt(),a=o===e?i.v2.colors.white[500]:i.v2.colors.grey[400],r=t===mo.Ascending?0:180;return ft.createElement(va,{icon:e=>ft.createElement(dt,{fill:a,rotate:r,...e}),onClick:()=>n(e)})},wh=({columnKey:e,filters:t,onFilter:o,rowsUnfiltered:n})=>{const i=Rt(),a=t[e]?.length?i.v2.colors.white[500]:i.v2.colors.grey[400],r=yt(()=>Array.from(new Set(n.map(t=>t.cells.find(t=>t.key===e)?.rawValue?.toString()).filter(e=>!!e))).sort((e,t)=>e.localeCompare(t)).map(e=>({id:e,label:e,withCheckbox:!0})),[n,e]);return ft.createElement(Up,{items:r,withMultiSelect:!0,selectedIds:t[e]?.map(e=>e.toString())??[],setSelectedIds:t=>o(e,t),defaultOpen:!1,iconButtonProps:{icon:e=>ft.createElement(xt,{fill:a,...e})}})},kh=({variant:e,backgroundColor:t,columns:o,rowsUnfiltered:n,sortDirection:i,sortByKey:a,onSort:r,filters:s,onFilter:l,withCheckboxes:c,partiallySelected:d,allSelected:p,onSelectAll:u})=>ft.createElement("tr",null,c&&ft.createElement(mh,{key:"checkbox-column",$variant:e,$backgroundColor:t,$minWidth:24,$isFirst:!0,$isLast:!1},ft.createElement(Np,{partiallyChecked:d&&!p,value:p||!1,onChange:u})),o.map(({key:d,label:p,minWidth:u,textAlign:h},m)=>{const g=0===m&&!c,x=m===o.length-1;return ft.createElement(mh,{key:`column-${d}`,$variant:e,$backgroundColor:t,$minWidth:u,$isFirst:g,$isLast:x},ft.createElement(fh,{$textAlign:h},ft.createElement(ei,{size:Zn.XS,align:h},p),ft.createElement(yh,{columnKey:d,sortDirection:i,sortByKey:a,onSort:r}),ft.createElement(wh,{columnKey:d,filters:s,onFilter:l,rowsUnfiltered:n})),!x&&e===dh.Data&&ft.createElement(gh,null))})),Ch=({variant:e,maxHeight:t="unset",headerBackgroundColor:o,isLoading:n,columns:i,rows:a,getRowActions:r,rowActionsPushRightPosition:s,withCheckboxes:l})=>{const[c,d]=wt(mo.Ascending),[p,u]=wt(""),[h,m]=wt({}),g=St(e=>{u(e),d(e=>e===mo.Ascending?mo.Descending:mo.Ascending)},[]),x=St((e,t)=>{m(o=>({...o,[e]:t}))},[]),$=yt(()=>{const e=(e,t)=>{const o=e.cells.find(e=>e.key===t);return o&&(o.rawValue?.toString()||o.component?.({})?.props?.children?.toString())||""};return(p?[...a].sort((t,o)=>{const n=e(t,p),i=e(o,p);return(c===mo.Ascending?1:-1)*((e,t)=>"string"==typeof e&&"string"==typeof t?e.localeCompare(t):"number"==typeof e&&"number"==typeof t?e-t:"boolean"==typeof e&&"boolean"==typeof t?e===t?0:e?1:-1:String(e).localeCompare(String(t)))(n,i)}):a).filter(t=>{for(const[o,n]of Object.entries(h))if(n.length&&!n.includes(e(t,o)))return!1;return!0})},[a,p,c,h]),{partiallySelected:f,allSelected:b}=yt(()=>{const e=$.filter(e=>!e.hideCheckbox);return{partiallySelected:e.length>0&&e.some(e=>e.isSelected),allSelected:e.length>0&&e.every(e=>e.isSelected)}},[$]);return ft.createElement(ph,{$maxHeight:t},ft.createElement(uh,{$variant:e},ft.createElement(hh,null,ft.createElement(kh,{variant:e,backgroundColor:o,columns:i,rowsUnfiltered:a,sortDirection:c,sortByKey:p,onSort:g,filters:h,onFilter:x,withCheckboxes:l,partiallySelected:f,allSelected:b,onSelectAll:e=>{e?$.forEach(e=>!e.hideCheckbox&&e.onSelect?.()):$.forEach(e=>!e.hideCheckbox&&e.onDeselect?.())}})),ft.createElement(xh,null,ft.createElement(bh,{variant:e,columns:i,rows:$,getRowActions:r||(()=>[]),rowActionsPushRightPosition:s,withCheckboxes:l}))),!$.length&&ft.createElement(Ga,{style:{marginTop:"0.5rem"}},n?ft.createElement(is,{scale:1.2}):ft.createElement(Gs,null)))},vh=_t.div`
2199
2213
  display: flex;
2200
2214
  align-items: center;
2201
2215
  justify-content: center;
@@ -2218,11 +2232,11 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
2218
2232
  `:Bt`
2219
2233
  background-color: ${({theme:e})=>e.v2.colors.silver[300]};
2220
2234
  `}
2221
- `,wh=({label:e,leftIcon:t,rightIcon:o,onClick:n,disabled:i})=>{const a=_i.useTheme(),r=i?a.v2.colors.grey[400]:a.v2.colors.white[500];return ft.createElement(yh,{$disabled:i,$withClick:!!n,onClick:()=>!i&&n?.()},t&&ft.createElement(t,{fill:r,size:16}),ft.createElement(ei,{color:r,size:Zn.XS,nowrap:!0},e),o&&ft.createElement(o,{fill:r,size:16}))};var kh,Ch,vh;!function(e){e.Default="default",e.SuccessError="successError"}(kh||(kh={})),function(e){e.S="small",e.L="large"}(Ch||(Ch={})),function(e){e.Left="left",e.Right="right"}(vh||(vh={}));const Eh=_t.div`
2235
+ `,Eh=({label:e,leftIcon:t,rightIcon:o,onClick:n,disabled:i})=>{const a=_i.useTheme(),r=i?a.v2.colors.grey[400]:a.v2.colors.white[500];return ft.createElement(vh,{$disabled:i,$withClick:!!n,onClick:()=>!i&&n?.()},t&&ft.createElement(t,{fill:r,size:16}),ft.createElement(ei,{color:r,size:Zn.XS,nowrap:!0},e),o&&ft.createElement(o,{fill:r,size:16}))};var Sh,Ah,Dh;!function(e){e.Default="default",e.SuccessError="successError"}(Sh||(Sh={})),function(e){e.S="small",e.L="large"}(Ah||(Ah={})),function(e){e.Left="left",e.Right="right"}(Dh||(Dh={}));const Th=_t.div`
2222
2236
  display: flex;
2223
2237
  align-items: center;
2224
2238
  gap: ${({$gap:e})=>e}px;
2225
- `,Sh=_t.div`
2239
+ `,zh=_t.div`
2226
2240
  position: relative;
2227
2241
  display: flex;
2228
2242
  align-items: center;
@@ -2232,10 +2246,10 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
2232
2246
  height: ${({$size:e})=>e}px;
2233
2247
  padding: ${4}px;
2234
2248
  border-radius: ${({$size:e})=>2*e}px;
2235
- background-color: ${({$disabled:e,$onBgColor:t,$offBgColor:o,$variant:n,$value:i,theme:a})=>{if(e)return a.v2.colors.grey[800];if(t&&i)return t;if(o&&!i)return o;switch(n){case kh.SuccessError:return i?a.v2.colors.green[500]:a.v2.colors.red[500];case kh.Default:default:return i?a.v2.colors.purple[500]:a.v2.colors.grey[400]}}};
2249
+ background-color: ${({$disabled:e,$onBgColor:t,$offBgColor:o,$variant:n,$value:i,theme:a})=>{if(e)return a.v2.colors.grey[800];if(t&&i)return t;if(o&&!i)return o;switch(n){case Sh.SuccessError:return i?a.v2.colors.green[500]:a.v2.colors.red[500];case Sh.Default:default:return i?a.v2.colors.purple[500]:a.v2.colors.grey[400]}}};
2236
2250
 
2237
2251
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
2238
- `,Ah=_t.div`
2252
+ `,Fh=_t.div`
2239
2253
  position: absolute;
2240
2254
  top: 50%;
2241
2255
  left: ${({$value:e,$size:t})=>e?`calc(100% - ${t}px - 4px)`:"4px"};
@@ -2245,22 +2259,8 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ImageErrorIcon as o,K8sLogo as n,Add
2245
2259
  border-radius: 100%;
2246
2260
  background-color: ${({$color:e})=>e};
2247
2261
  box-shadow: ${({$disabled:e})=>e?"0 0 40px 0 rgba(0, 0, 0, 0.07)":"0 0 10px 0 rgba(0, 0, 0, 0.50)"};
2248
- `,Dh=({variant:e=kh.Default,size:t=Ch.L,label:o,labelAlign:n=vh.Left,tooltip:i,value:a,onChange:r,disabled:s,withIcon:l,onIcon:c=Ge,offIcon:d=Ye,onBgColor:p,offBgColor:u})=>{const h=Rt(),m=s?h.v2.colors.grey[400]:h.v2.colors.white[500],g=t===Ch.S?10:16,x=t===Ch.S?Zn.XXXS:Zn.S,$=t===Ch.S?8:12;return ft.createElement(Eh,{$gap:$},o&&n===vh.Left&&ft.createElement(ei,{size:x,nowrap:!0},o),ft.createElement(Sh,{$onBgColor:p,$offBgColor:u,$variant:e,$size:g,$value:a,$disabled:s,onClick:e=>{e.stopPropagation(),s||r(!a)}},ft.createElement(Ah,{$color:m,$size:g,$value:a,$disabled:s}),l&&ft.createElement(ft.Fragment,null,ft.createElement(c,{size:g,fill:m}),ft.createElement(d,{size:g,fill:m}))),o&&n===vh.Right&&ft.createElement(ei,{size:x,nowrap:!0},o),i&&ft.createElement(fr,{text:i,withIcon:!0}))},Th=_t.div`
2262
+ `,Oh=({variant:e=Sh.Default,size:t=Ah.L,label:o,labelAlign:n=Dh.Left,tooltip:i,value:a,onChange:r,disabled:s,withIcon:l,onIcon:c=Ge,offIcon:d=Ye,onBgColor:p,offBgColor:u})=>{const h=Rt(),m=s?h.v2.colors.grey[400]:h.v2.colors.white[500],g=t===Ah.S?10:16,x=t===Ah.S?Zn.XXXS:Zn.S,$=t===Ah.S?8:12;return ft.createElement(Th,{$gap:$},o&&n===Dh.Left&&ft.createElement(ei,{size:x,nowrap:!0},o),ft.createElement(zh,{$onBgColor:p,$offBgColor:u,$variant:e,$size:g,$value:a,$disabled:s,onClick:e=>{e.stopPropagation(),s||r(!a)}},ft.createElement(Fh,{$color:m,$size:g,$value:a,$disabled:s}),l&&ft.createElement(ft.Fragment,null,ft.createElement(c,{size:g,fill:m}),ft.createElement(d,{size:g,fill:m}))),o&&n===Dh.Right&&ft.createElement(ei,{size:x,nowrap:!0},o),i&&ft.createElement(fr,{text:i,withIcon:!0}))},Ih=_t.div`
2249
2263
  display: flex;
2250
2264
  flex-direction: ${({$direction:e})=>e===ho.Horizontal?"row":"column"};
2251
2265
  gap: ${({$direction:e})=>e===ho.Horizontal?16:8}px;
2252
- `,zh=({direction:e=ho.Vertical,title:t,size:o,disabled:n,options:i,values:a,setValues:r})=>{const s=o===Ch.S?Zn.XS:Zn.S;return ft.createElement(Th,{$direction:e},t&&ft.createElement(ei,{size:s},t),i.map(e=>ft.createElement(Dh,{key:`${t}-toggle-${e.id}`,...e,labelAlign:vh.Right,value:a[e.id],onChange:t=>{return o=e.id,n=t,void r(e=>{const t={...e};return o?t[o]=n:i.forEach(e=>t[e.id]=n),t});var o,n},disabled:n,size:o})))},Fh=_t.div`
2253
- min-width: 530px;
2254
- `,Oh=_t.div`
2255
- display: flex;
2256
- flex-direction: column;
2257
- align-items: center;
2258
- gap: 16px;
2259
- padding: 24px;
2260
- `,Ih=_t.div`
2261
- display: flex;
2262
- justify-content: center;
2263
- gap: 16px;
2264
- padding: 16px 24px;
2265
- background-color: ${({theme:e})=>e.v2.colors.silver[1e3]};
2266
- `,Nh=({visual:e,title:t,description:o,isOpen:n,onClose:i,onDeny:a,denyLabel:r="Deny",onApprove:s,approveLabel:l="Approve",...c})=>{const d=Rt();return ft.createElement(Gu,{isOpen:n,onClose:i,...c},ft.createElement(Fh,null,ft.createElement(Oh,null,e&&ft.createElement(e,null),ft.createElement(ei,{size:Zn.M,weight:500,color:d.v2.colors.white[500]},t),ft.createElement(qa,{$alignItems:"center",$gap:4},o.split("\n").map(e=>ft.createElement(ei,{key:e,size:Zn.XS,weight:400,color:d.v2.colors.silver[200]},e)))),(a||s)&&ft.createElement(Ih,null,ft.createElement(gp,{variant:up.Secondary,label:r,onClick:()=>{a?.(),i()}}),s&&ft.createElement(gp,{variant:up.Primary,label:l,onClick:()=>{s(),i()}}))))};export{Xl as $,Fp as A,oi as B,ru as C,Ko as D,yo as E,qa as F,Cp as G,va as H,Pu as I,hu as J,Ap as K,Wu as L,Op as M,Gs as N,Ao as O,Wa as P,Qp as Q,_p as R,vo as S,ei as T,ou as U,ba as V,Po as W,Va as X,Gp as Y,Hp as Z,Xo as _,Ha as a,Ls as a$,ao as a0,so as a1,cl as a2,Ur as a3,Wi as a4,ro as a5,xl as a6,Co as a7,On as a8,ad as a9,wd as aA,Ja as aB,zr as aC,Jo as aD,na as aE,dr as aF,rn as aG,$s as aH,Pn as aI,So as aJ,En as aK,$i as aL,to as aM,As as aN,hn as aO,Os as aP,Xa as aQ,Za as aR,Gc as aS,pn as aT,Qa as aU,Jl as aV,pp as aW,ra as aX,Kn as aY,da as aZ,wi as a_,lp as aa,ud as ab,td as ac,ko as ad,Pi as ae,_d as af,Fd as ag,$c as ah,fd as ai,ap as aj,mi as ak,Oa as al,Zo as am,Lc as an,gc as ao,Mr as ap,gi as aq,ha as ar,un as as,ii as at,an as au,hs as av,cc as aw,bo as ax,bi as ay,lr as az,Zn as b,Jc as b$,Un as b0,tn as b1,Ed as b2,gn as b3,dn as b4,cn as b5,No as b6,fi as b7,Vd as b8,ya as b9,Tn as bA,Vo as bB,Da as bC,zn as bD,Jt as bE,ai as bF,Zd as bG,oc as bH,$n as bI,Ro as bJ,Ho as bK,Lo as bL,qo as bM,Bo as bN,Mo as bO,_o as bP,tp as bQ,ln as bR,yi as bS,Fa as bT,ri as bU,Dn as bV,xa as bW,To as bX,al as bY,gd as bZ,ws as b_,wa as ba,Go as bb,Qo as bc,oo as bd,no as be,ga as bf,Na as bg,gr as bh,Ld as bi,Ka as bj,Ia as bk,Mn as bl,wl as bm,li as bn,si as bo,Yo as bp,_a as bq,Sa as br,vi as bs,wr as bt,rs as bu,fs as bv,ks as bw,wo as bx,jn as by,Qt as bz,fr as c,ni as c$,Sn as c0,Fn as c1,ys as c2,Vs as c3,qs as c4,Ou as c5,_n as c6,Vn as c7,Ra as c8,Rl as c9,zo as cA,Fo as cB,Oo as cC,jo as cD,Uo as cE,Wo as cF,Xt as cG,en as cH,mn as cI,xn as cJ,fn as cK,bn as cL,yn as cM,kn as cN,Cn as cO,An as cP,In as cQ,Bn as cR,Ln as cS,Wn as cT,Hn as cU,qn as cV,Gn as cW,Yn as cX,Jn as cY,ci as cZ,di as c_,Io as ca,fo as cb,ja as cc,zs as cd,sn as ce,Nn as cf,Ea as cg,ka as ch,Il as ci,pi as cj,on as ck,Hr as cl,wn as cm,vs as cn,io as co,lo as cp,co as cq,po as cr,uo as cs,ho as ct,mo as cu,go as cv,xo as cw,$o as cx,Eo as cy,Do as cz,Dh as d,fa as d0,ma as d1,Ta as d2,tl as d3,Ys as d4,Zr as d5,mc as d6,Dc as d7,Nc as d8,Pc as d9,nh as dA,ah as dB,vp as dC,wh as dD,kh as dE,vh as dF,zh as dG,Xn as dH,Nh as dI,Hc as da,Es as db,wc as dc,Ri as dd,Li as de,Mi as df,Lr as dg,Ya as dh,Bp as di,Rp as dj,Pp as dk,Up as dl,Vp as dm,bp as dn,yp as dp,Kp as dq,nu as dr,lu as ds,Cu as dt,Au as du,zu as dv,Lu as dw,Gu as dx,Yu as dy,eh as dz,Ch as e,eo as f,wu as g,zp as h,Qu as i,gp as j,up as k,Ip as l,pa as m,is as n,Ua as o,Jp as p,nn as q,hp as r,bh as s,rh as t,hi as u,Np as v,ku as w,_i as x,vn as y,Ga as z};
2266
+ `,Nh=({direction:e=ho.Vertical,title:t,size:o,disabled:n,options:i,values:a,setValues:r})=>{const s=o===Ah.S?Zn.XS:Zn.S;return ft.createElement(Ih,{$direction:e},t&&ft.createElement(ei,{size:s},t),i.map(e=>ft.createElement(Oh,{key:`${t}-toggle-${e.id}`,...e,labelAlign:Dh.Right,value:a[e.id],onChange:t=>{return o=e.id,n=t,void r(e=>{const t={...e};return o?t[o]=n:i.forEach(e=>t[e.id]=n),t});var o,n},disabled:n,size:o})))};export{Xl as $,Wp as A,oi as B,Np as C,Ko as D,yo as E,qa as F,Cp as G,va as H,Ku as I,au as J,Ap as K,Xu as L,Vp as M,Gs as N,Ao as O,Wa as P,Xp as Q,Hp as R,vo as S,ei as T,eu as U,ba as V,Po as W,Va as X,qu as Y,Vu as Z,Xo as _,Ha as a,Ls as a$,ao as a0,so as a1,cl as a2,Ur as a3,Wi as a4,ro as a5,xl as a6,Co as a7,On as a8,ad as a9,wd as aA,Ja as aB,zr as aC,Jo as aD,na as aE,dr as aF,rn as aG,$s as aH,Pn as aI,So as aJ,En as aK,$i as aL,to as aM,As as aN,hn as aO,Os as aP,Xa as aQ,Za as aR,Gc as aS,pn as aT,Qa as aU,Jl as aV,pp as aW,ra as aX,Kn as aY,da as aZ,wi as a_,lp as aa,ud as ab,td as ac,ko as ad,Pi as ae,_d as af,Fd as ag,$c as ah,fd as ai,ap as aj,mi as ak,Oa as al,Zo as am,Lc as an,gc as ao,Mr as ap,gi as aq,ha as ar,un as as,ii as at,an as au,hs as av,cc as aw,bo as ax,bi as ay,lr as az,Zn as b,Jc as b$,Un as b0,tn as b1,Ed as b2,gn as b3,dn as b4,cn as b5,No as b6,fi as b7,Vd as b8,ya as b9,Tn as bA,Vo as bB,Da as bC,zn as bD,Jt as bE,ai as bF,Zd as bG,oc as bH,$n as bI,Ro as bJ,Ho as bK,Lo as bL,qo as bM,Bo as bN,Mo as bO,_o as bP,tp as bQ,ln as bR,yi as bS,Fa as bT,ri as bU,Dn as bV,xa as bW,To as bX,al as bY,gd as bZ,ws as b_,wa as ba,Go as bb,Qo as bc,oo as bd,no as be,ga as bf,Na as bg,gr as bh,Ld as bi,Ka as bj,Ia as bk,Mn as bl,wl as bm,li as bn,si as bo,Yo as bp,_a as bq,Sa as br,vi as bs,wr as bt,rs as bu,fs as bv,ks as bw,wo as bx,jn as by,Qt as bz,fr as c,ni as c$,Sn as c0,Fn as c1,ys as c2,Vs as c3,qs as c4,fu as c5,_n as c6,Vn as c7,Ra as c8,Rl as c9,zo as cA,Fo as cB,Oo as cC,jo as cD,Uo as cE,Wo as cF,Xt as cG,en as cH,mn as cI,xn as cJ,fn as cK,bn as cL,yn as cM,kn as cN,Cn as cO,An as cP,In as cQ,Bn as cR,Ln as cS,Wn as cT,Hn as cU,qn as cV,Gn as cW,Yn as cX,Jn as cY,ci as cZ,di as c_,Io as ca,fo as cb,ja as cc,zs as cd,sn as ce,Nn as cf,Ea as cg,ka as ch,Il as ci,pi as cj,on as ck,Hr as cl,wn as cm,vs as cn,io as co,lo as cp,co as cq,po as cr,uo as cs,ho as ct,mo as cu,go as cv,xo as cw,$o as cx,Eo as cy,Do as cz,Oh as d,fa as d0,ma as d1,Ta as d2,tl as d3,Ys as d4,Zr as d5,mc as d6,Dc as d7,Nc as d8,Pc as d9,sh as dA,ch as dB,vp as dC,Eh as dD,Sh as dE,Dh as dF,Nh as dG,Xn as dH,Ou as dI,Hc as da,Es as db,wc as dc,Ri as dd,Li as de,Mi as df,Lr as dg,Ya as dh,_u as di,Bu as dj,Mu as dk,ju as dl,Wu as dm,bp as dn,yp as dp,qp as dq,Fp as dr,Bp as ds,Lp as dt,Up as du,xu as dv,vu as dw,Du as dx,Qu as dy,ih as dz,Ah as e,eo as f,hu as g,zp as h,nh as i,gp as j,up as k,Iu as l,pa as m,is as n,Ua as o,Kp as p,nn as q,hp as r,Ch as s,dh as t,hi as u,Nu as v,Rp as w,_i as x,vn as y,Ga as z};