@odigos/ui-kit 0.0.216 → 0.0.218

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/lib/chunks/index-BPGpDZxy.js +3 -0
  3. package/lib/chunks/{ui-components-DvThY8Em.js → ui-components-CzlBPbLD.js} +364 -327
  4. package/lib/components/_v2/button/index.d.ts +1 -0
  5. package/lib/components/_v2/search/index.d.ts +4 -0
  6. package/lib/components/tooltip/index.d.ts +5 -0
  7. package/lib/components/v2.js +1 -1
  8. package/lib/components.js +1 -1
  9. package/lib/constants.js +1 -1
  10. package/lib/containers/_v2/index.d.ts +1 -1
  11. package/lib/containers/_v2/settings/index.d.ts +13 -0
  12. package/lib/containers/source-drawer/index.d.ts +5 -0
  13. package/lib/containers/source-drawer/profiling/flame-graph-canvas.d.ts +10 -0
  14. package/lib/containers/source-drawer/profiling/flamebearer.d.ts +70 -0
  15. package/lib/containers/source-drawer/profiling/index.d.ts +34 -0
  16. package/lib/containers/v2.js +102 -156
  17. package/lib/containers.js +214 -120
  18. package/lib/contexts.js +1 -1
  19. package/lib/functions.js +1 -1
  20. package/lib/hooks/usePopup.d.ts +17 -1
  21. package/lib/hooks.js +1 -1
  22. package/lib/mock-data/config/index.d.ts +3 -0
  23. package/lib/mock-data/index.d.ts +1 -0
  24. package/lib/mock-data/profiling/index.d.ts +10 -0
  25. package/lib/mock-data/service-map/index.d.ts +3 -1
  26. package/lib/snippets/_v2/dynamic-field/index.d.ts +19 -0
  27. package/lib/snippets/_v2/index.d.ts +1 -0
  28. package/lib/snippets/v2.js +55 -0
  29. package/lib/snippets.js +1 -1
  30. package/lib/store.js +1 -1
  31. package/lib/theme.js +1 -1
  32. package/lib/types/config/index.d.ts +78 -0
  33. package/lib/types/destinations/index.d.ts +2 -2
  34. package/lib/types/index.d.ts +1 -0
  35. package/lib/types.js +1 -1
  36. package/lib/visuals.js +1 -1
  37. package/package.json +10 -5
  38. package/lib/chunks/index-3rwrQKyF.js +0 -3
@@ -1,4 +1,4 @@
1
- import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon as r,DeleteAttributeIcon as i,AddClusterInfoIcon as n,K8sLogo as a,ImageErrorIcon as s,KafkaLogo as l,RedisLogo as c,PostgresLogo as d,NginxLogo as p,MysqlLogo as u,ElixirLogo as h,SwiftLogo as m,RustLogo as g,RubyLogo as f,PhpLogo as x,CPlusPlusLogo as y,CSharpLogo as b,DotnetLogo as $,PythonLogo as v,NodejsLogo as w,GoLogo as S,JavaLogo as C,AwsXrayLogo as k,VictoriaMetricsLogo as E,UptraceLogo as A,TraceloopLogo as D,TingyunLogo as T,TempoLogo as N,TelemetryHubLogo as I,SumoLogicLogo as _,SplunkLogo as O,SignozLogo as R,SeqLogo as F,AwsS3Logo as z,QuickwitLogo as L,GigapipeLogo as P,QrynLogo as M,PrometheusLogo as B,OpenTelemetryLogo as U,OracleLogo as j,OpsVerseLogo as W,OpenObserveLogo as G,OneUptimeLogo as X,OdigosLogo as V,ObserveLogo as H,NewRelicLogo as J,MiddlewareLogo as K,LumigoLogo as q,LokiLogo as Y,LogzioLogo as Q,LightstepLogo as Z,Last9Logo as ee,KloudmateLogo as te,JaegerLogo as oe,InstanaLogo as re,HyperDxLogo as ie,HoneycombLogo as ne,GroundcoverLogo as ae,GreptimeLogo as se,GrafanaLogo as le,GoogleCloudPlatformLogo as ce,ElasticSearchLogo as de,ElasticApmLogo as pe,DynatraceLogo as ue,DatadogLogo as he,Dash0Logo as me,CoralogixLogo as ge,AwsCloudwatchLogo as fe,ClickhouseLogo as xe,ChronosphereLogo as ye,ChecklyLogo as be,CauselyLogo as $e,BonreeLogo as ve,BetterStackLogo as we,AzureMonitorLogo as Se,AzureBlobLogo as Ce,AxiomLogo as ke,AppDynamicsLogo as Ee,AlibabaCloudLogo as Ae,AlaudaLogo as De,SamplingIcon as Te,InstrumentationRuleIcon as Ne,DestinationIcon as Ie,SourceIcon as _e,NamespacesIcon as Oe,PayloadCollectionIcon as Re,HeadersCollectionIcon as Fe,CustomInstrumentationIcon as ze,CodeAttributesIcon as Le,TracesIcon as Pe,MetricsIcon as Me,LogsIcon as Be,VmLogo as Ue,QuestionCircleIcon as je,XSquareIcon as We,VSquareIcon as Ge,ExclamationTriangleIcon as Xe,ExclamationCircleIcon as Ve,ISquareIcon as He,AwsLogo as Je,AwsSecretsManagerLogo as Ke,AwsStepFunctionsLogo as qe,AwsEventBridgeLogo as Ye,AwsBedrockLogo as Qe,AwsApiGatewayLogo as Ze,AwsEc2Logo as et,AwsKinesisLogo as tt,AwsLambdaLogo as ot,AwsSnsLogo as rt,AwsSqsLogo as it,AwsDynamoDbLogo as nt,AwsStsLogo as at,VIcon as st,CopyIcon as lt,XIcon as ct,MinusIcon as dt,ListIcon as pt,CodeIcon as ut,ExtendArrowIcon as ht,PlusIcon as mt,EditIcon as gt,NoDataIcon as ft,RefreshIcon as xt,EyeClosedIcon as yt,EyeOpenIcon as bt,SearchIcon as $t,TrashIcon as vt,EditedIcon as wt,SortArrowsIcon as St,NotebookIcon as Ct,DotsHorizontalIcon as kt,ChevronUpIcon as Et,ChevronDownIcon as At,ArrowIcon as Dt,DotsVerticalIcon as Tt,DotIcon as Nt,FilterIcon as It}from"../icons.js";import{create as _t}from"zustand";import{jsx as Ot,jsxs as Rt,Fragment as Ft}from"react/jsx-runtime";import{Fragment as zt,useMemo as Lt,useState as Pt,useEffect as Mt,useRef as Bt,useCallback as Ut,useContext as jt,createContext as Wt,forwardRef as Gt,memo as Xt}from"react";import Vt from"javascript-time-ago";import{p as Ht,c as Jt,s as Kt,l as qt}from"./vendor-C150cdxb.js";import Yt,{css as Qt,useTheme as Zt,ThemeProvider as eo,keyframes as to}from"styled-components";import{Handle as oo,Position as ro,ReactFlowProvider as io,ReactFlow as no,Controls as ao,ControlButton as so,useReactFlow as lo}from"@xyflow/react";import co,{createPortal as po}from"react-dom";import{Highlight as uo,themes as ho}from"prism-react-renderer";import{ErrorBoundary as mo}from"react-error-boundary";import go from"lottie-react";import{VList as fo}from"virtua";const xo=e=>e.charAt(0).toUpperCase()+e.slice(1),yo=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,r])=>Array.isArray(r)?[e,t(r)]:"object"==typeof r&&null!==r?[e,o(r)]:[e,r]));return Object.entries(e).reduce((e,[r,i])=>{try{const n=JSON.parse(i);Array.isArray(n)?e[r]=JSON.stringify(t(n)):e[r]="object"==typeof n&&null!==n?JSON.stringify(o(n)):i}catch(n){"object"==typeof i&&null!==i?Array.isArray(i)?e[r]=JSON.stringify(t(i)):e[r]=JSON.stringify(o(i)):e[r]=i}return e},{})};var bo;!function(e){e.SIGNALS="SIGNALS"}(bo||(bo={}));const $o=(e,t,o)=>{if(!e||!e.length)return!0;if(1===e.length)return"true"==e[0];const[r,i,n]=e;if(r===bo.SIGNALS)switch(i){case"INCLUDES":return t?.includes(n);case"EXCLUDES":return!t?.includes(n);default:return!0}const a=o.find(e=>e.name===r||e.key===r);if(!a)return!1;switch(i){case"===":case"==":return a.value===n;case"!==":case"!=":return a.value!==n;case">":return Number(a.value)>Number(n);case"<":return Number(a.value)<Number(n);case">=":return Number(a.value)>=Number(n);case"<=":return Number(a.value)<=Number(n);default:return!0}},vo=e=>JSON.parse(JSON.stringify(e)),wo=(e,t)=>t.split(".").reduce((e,t)=>e?.[t],e),So=(e,t,o)=>{const r=t.split(".");let i=e;for(let e=0;e<r.length-1;e++)r[e]in i&&"object"==typeof i[r[e]]||(i[r[e]]={}),i=i[r[e]];i[r[r.length-1]]=o},Co=(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},ko=(e,t)=>{let o=[...e];return t.monitors?.length&&(o=o.filter(e=>!!t.monitors?.find(t=>e.exportedSignals[t.id]))),o},Eo=(e,t)=>t?e.filter(e=>e.dataStreamNames.includes(t)||!e.dataStreamNames.length):[];var Ao,Do,To,No,Io,_o,Oo,Ro,Fo,zo,Lo,Po,Mo,Bo,Uo,jo,Wo,Go,Xo,Vo,Ho,Jo,Ko,qo,Yo,Qo,Zo,er,tr,or,rr,ir,nr,ar,sr,lr,cr,dr,pr,ur,hr,mr;!function(e){e.Attributes="attributes",e.Samplers="samplers"}(Ao||(Ao={})),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",e.URLTemplatization="URLTemplatization"}(Do||(Do={})),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",e.UrlTemplatizationRulesGroups="urlTemplatizationRulesGroups"}(To||(To={})),function(e){e.Pod="pod",e.Namespace="namespace",e.Node="node"}(No||(No={})),function(e){e.EXISTS="exists",e.EQUALS="equals",e.NOT_EQUALS="not_equals",e.CONTAINS="contains",e.NOT_CONTAINS="not_contains",e.REGEX="regex"}(Io||(Io={})),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"}(_o||(_o={})),function(e){e.EXISTS="exists",e.EQUALS="equals"}(Oo||(Oo={})),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"}(Ro||(Ro={})),function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(Fo||(Fo={})),function(e){e.Ascending="ascending",e.Descending="descending"}(zo||(zo={})),function(e){e.Community="community",e.Cloud="cloud",e.Onprem="onprem"}(Lo||(Lo={})),function(e){e.K8s="k8s",e.Vm="vm"}(Po||(Po={})),function(e){e.Cli="odigos-cli",e.Helm="helm",e.Operator="odigos-operator"}(Mo||(Mo={})),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"}(Bo||(Bo={})),function(e){e.Create="Create",e.Read="Read",e.Update="Update",e.Delete="Delete"}(Uo||(Uo={})),function(e){e.Namespace="Namespace",e.Source="Source",e.Destination="Destination",e.Action="Action",e.InstrumentationRule="InstrumentationRule",e.SamplingRule="SamplingRule"}(jo||(jo={})),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"}(Go||(Go={})),function(e){e.Text="text",e.Password="password",e.Number="number"}(Xo||(Xo={})),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"}(Ho||(Ho={})),function(e){e.Loading="loading",e.Disabled="disabled"}(Jo||(Jo={})),function(e){e.Disabled="disabled",e.Unknown="unknown"}(Ko||(Ko={})),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"}(qo||(qo={})),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"}(Yo||(Yo={})),function(e){e.Labeled="labeled"}(Qo||(Qo={})),function(e){e.AddRule="addRule",e.AddSource="addSource",e.AddAction="addAction",e.AddDestination="addDestination"}(Zo||(Zo={})),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"}(er||(er={})),function(e){e.Deployment="Deployment",e.DaemonSet="DaemonSet",e.StatefulSet="StatefulSet",e.CronJob="CronJob",e.Pod="Pod",e.StaticPod="StaticPod",e.Rollout="Rollout",e.ConfigMap="ConfigMap",e.DeploymentConfig="DeploymentConfig"}(tr||(tr={})),function(e){e.GolangCommunity="golang-community",e.NodejsCommunity="nodejs-community",e.PythonCommunity="python-community",e.JavaCommunity="java-community",e.DotNetCommunity="dotnet-community",e.RubyCommunity="ruby-community",e.PhpCommunity="php-community",e.GolangEnterprise="golang-enterprise",e.NodejsEnterprise="nodejs-enterprise",e.PythonEnterprise="python-enterprise",e.JavaEnterprise="java-enterprise",e.JavaEbpfInstrumentations="java-ebpf-instrumentations",e.DotNetLegacy="dotnet-legacy",e.DotNetEnterprise="dotnet-enterprise",e.RubyEnterprise="ruby-enterprise",e.CPlusPlusEnterprise="cplusplus-enterprise",e.MySqlEnterprise="mysql-enterprise"}(or||(or={})),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"}(rr||(rr={})),function(e){e.CodeAttributes="CodeAttributes",e.HeadersCollection="HeadersCollection",e.PayloadCollection="PayloadCollection",e.CustomInstrumentation="CustomInstrumentation",e.UnknownType="UnknownType"}(ir||(ir={})),function(e){e.Column="column",e.FilePath="filePath",e.Function="function",e.LineNumber="lineNumber",e.Namespace="namespace",e.StackTrace="stacktrace"}(nr||(nr={})),function(e){e.HeaderKeys="headerKeys"}(ar||(ar={})),function(e){e.Java="java",e.Golang="golang"}(sr||(sr={}));class gr{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 fr{packageName;functionName;receiverName;receiverMethodName;constructor(e,t,o,r){this.packageName=e,this.functionName=t||"",this.receiverName=o||"",this.receiverMethodName=r||""}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"}(lr||(lr={})),function(e){e.Healthy="Healthy",e.Updating="Updating",e.Degraded="Degraded",e.Failed="Failed",e.Down="Down",e.Unknown="Unknown"}(cr||(cr={})),function(e){e.Pending="Pending",e.Running="Running",e.Succeeded="Succeeded",e.Failed="Failed",e.Unknown="Unknown"}(dr||(dr={})),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"}(pr||(pr={})),function(e){e.Running="Running",e.Waiting="Waiting",e.Terminated="Terminated"}(ur||(ur={})),function(e){e.Logs="LOGS",e.Metrics="METRICS",e.Traces="TRACES"}(hr||(hr={})),function(e){e.Logs="logs",e.Metrics="metrics",e.Traces="traces"}(mr||(mr={}));const xr={[hr.Logs]:mr.Logs,[hr.Metrics]:mr.Metrics,[hr.Traces]:mr.Traces},yr={[mr.Logs]:hr.Logs,[mr.Metrics]:hr.Metrics,[mr.Traces]:hr.Traces},br=(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?.reasonEnum||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},$r="https://docs.odigos.io",vr="default",wr="this-cluster",Sr="This Cluster",Cr={SELECTED_DATA_STREAM:"SELECTED_DATA_STREAM",SELECTED_DATA_STREAM_WITH_PROXY:e=>`SELECTED_DATA_STREAM_${e}`,OVERVIEW_FILTERS:"OVERVIEW_FILTERS",DARK_MODE:"DARK_MODE"},kr={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)'},Er={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",SOURCES_SETUP:"Sources setup",DESTINATIONS_SETUP:"Destinations setup",SUMMARY:"Summary",REVIEW_SETUP:"Review your setup and confirm your choices.",NO_SOURCES_SELECTED:"No sources selected",ADD_SOURCE_PROMPT:"Add at least one source to start collecting data",NO_DESTINATIONS_SELECTED:"No destinations selected",ADD_DESTINATION_PROMPT:"Add destination so your data has somewhere to go",GET_STARTED_WITH:"Get started with",GET_STARTED_DESCRIPTION:"First, select the sources you want Odigos to monitor. Next, choose where your data should be sent by configuring destinations.",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",ROLLBACK_OCCURRED_MESSAGE:"Odigos detected a crash and rolled back instrumentation to protect your workload.",ROLLBACK_RECOVER:"Recover",FETCHING_NAMESPACES:"Fetching namespaces",FETCHING_NAMESPACES_SUBTITLE:"Please wait while we fetch the namespaces",ADD_SOURCES_DESCRIPTION:"Choose which sources to monitor in your pipeline.",CREATING_SOURCES:"Creating Sources...",CREATING_SOURCES_SUBTITLE:"This may take a few moments while sources are being created.",SELECT_NAMESPACE:"Select namespace from the list",SELECT_NAMESPACE_SUBTITLE:"Add namespace so you can select workloads from it.",CREATING_ACTION:"Creating action",CREATING_ACTION_SUBTITLE:"Please wait while we create the action",ADD_ACTION_DESCRIPTION:"Select an action to modify telemetry data before it's sent to destinations. Choose an action type and configure its details.",CREATING_INSTRUMENTATION_RULE:"Creating instrumentation rule",CREATING_INSTRUMENTATION_RULE_SUBTITLE:"Please wait while we create the instrumentation rule",ADD_INSTRUMENTATION_RULE_DESCRIPTION:"Define how telemetry is recorded from your application. Choose a rule type and configure the details.",CREATING_DESTINATION:"Creating destination",CREATING_DESTINATION_SUBTITLE:"Please wait while we create the destination",ADD_DESTINATION_DRAWER_DESCRIPTION:"Add backend destination you want to connect with Odigos."},Ar={GET_STARTED:"Get started",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"},Dr=(e,t)=>t?e.filter(e=>e.dataStreamNames.includes(t)||t===vr&&!e.dataStreamNames.length):[],Tr=(e,t="",o={})=>{for(const r in e)if(e.hasOwnProperty(r)){const i=e[r],n=t?`${t}.${r}`:r;null===i||"object"!=typeof i||Array.isArray(i)?Array.isArray(i)?i.forEach((e,t)=>{const r=`${n}[${t}]`;null!==e&&"object"==typeof e?Tr(e,r,o):o[r]=e}):o[n]=i:Tr(i,n,o)}return o},Nr=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]}`},Ir=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`}},_r=()=>{const e=crypto.getRandomValues(new Uint8Array(16));let t=0;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,o=>{const r=e[t%16];t++;return("1"===o?r:"0"===o?63&r|128:15&r|64).toString(16)})},Or=l=>{const c=l?.toLowerCase(),d=c?.includes(Ao.Samplers),p=c===Ao.Attributes;if(d)return e;if(p)return t;return{[Do.K8sAttributes]:a,[Do.AddClusterInfo]:n,[Do.DeleteAttributes]:i,[Do.PiiMasking]:t,[Do.RenameAttributes]:r,[Do.URLTemplatization]:o,[Do.ErrorSampler]:e,[Do.ProbabilisticSampler]:e,[Do.LatencySampler]:e,[Do.ServiceNameSampler]:e,[Do.SpanAttributeSampler]:e}[l]||s},Rr=e=>{const t=e?.filter(({status:e})=>e===Vo.Error),o=e?.filter(({status:e})=>e===Vo.Warning),r=e?.filter(({status:e})=>e===Jo.Disabled),i=e?.filter(({status:e})=>e===Jo.Loading),n=t.length>0,a=o.length>0,s=r.length>0;return{errors:t,hasErrors:n,warnings:o,hasWarnings:a,disableds:r,hasDisableds:s,loadings:i,hasLoadings:i.length>0,priorotizedStatus:n?Vo.Error:a?Vo.Warning:s?Vo.Info:void 0}},Fr=e=>{const t=e?.reduce((e,t)=>t.instrumented?e+1:e,0);return`${t}/${e?.length||0} instrumented`},zr=e=>({[Bo.Java]:C,[Bo.Go]:S,[Bo.JavaScript]:w,[Bo.Python]:v,[Bo.DotNet]:$,[Bo.CSharp]:b,[Bo.CPlusPlus]:y,[Bo.Php]:x,[Bo.Ruby]:f,[Bo.Rust]:g,[Bo.Swift]:m,[Bo.Elixir]:h,[Bo.MySql]:u,[Bo.Nginx]:p,[Bo.Postgres]:d,[Bo.Redis]:c,[Bo.Kafka]:l,[Bo.Ignored]:s,[Bo.Unknown]:s,[Bo.Processing]:s,[Bo.NoContainers]:s,[Bo.NoRunningPods]:s}[e]||s),Lr=e=>e?.map(({language:e})=>zr(e))||[],Pr=e=>e?.map(e=>zr(e))||[],Mr=e=>e.detectedLanguages?.length?Pr(e.detectedLanguages):Lr(e.containers),Br=(e,t)=>{const o={[er.Alauda]:De,[er.AlibabaCloud]:Ae,[er.AppDynamics]:Ee,[er.Axiom]:ke,[er.AzureBlob]:Ce,[er.AzureMonitor]:Se,[er.BetterStack]:we,[er.Bonree]:ve,[er.Causely]:$e,[er.Checkly]:be,[er.Chronosphere]:ye,[er.ClickHouse]:xe,[er.CloudWatch]:fe,[er.Coralogix]:ge,[er.Dash0]:me,[er.Datadog]:he,[er.Dynamic]:U,[er.Dynatrace]:ue,[er.ElasticApm]:pe,[er.ElasticSearch]:de,[er.GoogleCloud]:ce,[er.GoogleCloudOTLP]:ce,[er.GrafanaCloudLoki]:le,[er.GrafanaCloudPrometheus]:le,[er.GrafanaCloudTempo]:le,[er.Greptime]:se,[er.Groundcover]:ae,[er.Honeycomb]:ne,[er.HyperDX]:ie,[er.Instana]:re,[er.Jaeger]:oe,[er.Kafka]:l,[er.Kloudmate]:te,[er.Last9]:ee,[er.Lightstep]:Z,[er.LogzIo]:Q,[er.Loki]:Y,[er.Lumigo]:q,[er.Middleware]:K,[er.NewRelic]:J,[er.Observe]:H,[er.Odigos]:V,[er.OneUptime]:X,[er.OpenObserve]:G,[er.Opsverse]:W,[er.Oracle]:j,[er.OTLP]:U,[er.OTLPHttp]:U,[er.Prometheus]:B,[er.Qryn]:M,[er.QrynOss]:P,[er.Quickwit]:L,[er.S3]:z,[er.Seq]:F,[er.Signalfx]:O,[er.Signoz]:R,[er.Splunk]:O,[er.SplunkSapm]:O,[er.SplunkOtlp]:O,[er.SumoLogic]:_,[er.TelemetryHub]:I,[er.Tempo]:N,[er.Tingyun]:T,[er.Traceloop]:D,[er.Uptrace]:A,[er.VictoriaMetrics]:E,[er.VictoriaMetricsCloud]:E,[er.XRay]:k}[e];return o&&!t?{icon:o}:{iconSrc:`https://d15jtxgb40qetw.cloudfront.net/${e}.svg`}},Ur=e=>({[jo.Namespace]:Oe,[jo.Source]:_e,[jo.Destination]:Ie,[jo.Action]:o,[jo.InstrumentationRule]:Ne,[jo.SamplingRule]:Te}[e]),jr=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,Wr=(e,t,o)=>{const{extended:r,prioritizeDisplayName:i}=o||{};let n="",a="";switch(t){case jo.InstrumentationRule:const t=e;n=t.type,a=t.ruleName;break;case jo.Source:const o=e;n=o.name,a=o.otelServiceName;break;case jo.Action:const r=e;n=r.type,a=r.name;break;case jo.Destination:const i=e;n=i.destinationType.displayName,a=i.name;break;case jo.Namespace:const s=e;n=s.name,a=s.name}return r?n+(a&&a!==n?` (${a})`:""):i&&a||n},Gr=(e,t)=>{if(t===jo.Source){const t={namespace:"",name:"",kind:""};return e.split("&").forEach(e=>{const[o,r]=e.split("=");t[o]=r}),t}return e},Xr=e=>({[ir.CodeAttributes]:Le,[ir.CustomInstrumentation]:ze,[ir.HeadersCollection]:Fe,[ir.PayloadCollection]:Re,[ir.UnknownType]:s}[e]||s),Vr=e=>{const{numberOfInstances:t,containers:o}=e;if(!o)return t&&t>0?Bo.Processing:Bo.NoRunningPods;const r=o?.filter(e=>e.language!==Bo.Ignored);if(!r.length)return Bo.NoContainers;const i=r.find(e=>e.language!==Bo.Unknown);return i?i.language:Bo.Unknown},Hr=(e,t,o)=>(t===jo.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},Jr=e=>({[hr.Logs]:Be,[hr.Metrics]:Me,[hr.Traces]:Pe}[e]),Kr=e=>{if(!e)return V;return{[Po.K8s]:a,[Po.Vm]:Ue}[e]},qr=e=>{if(!e)return"Unknown";return{[Po.K8s]:"Kubernetes Cluster",[Po.Vm]:"Virtual Machine"}[e]},Yr=(e,t,o)=>{const r=e[t];return r?r.flatMap(e=>{const r=e[o],i=[];return void 0!==r&&(Array.isArray(r)?i.push(...r):i.push(r)),i.push(...Yr(e,t,o)),i}):[]},Qr=(e,t)=>{if(t===jo.Source){let t="";return Object.entries(e).forEach(([e,o])=>{t+=`${e}=${o}&`}),t.slice(0,-1),t}return e},Zr=(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 Ko.Disabled:case Ko.Unknown:return e.v2.colors.silver[o];default:return e.v2.colors.white[500]}},ei=e=>{switch(e){case cr.Updating:case dr.Pending:case pr.ContainerCreating:case ur.Waiting:return Vo.Info;case cr.Healthy:case dr.Succeeded:case dr.Running:case pr.Running:case ur.Running:return Vo.Success;case cr.Degraded:return Vo.Warning;case cr.Failed:case dr.Failed:case pr.Error:case pr.CrashLoopBackOff:case pr.CreateContainerError:case pr.CreateContainerConfigError:case pr.ErrImagePull:case pr.ErrImageNeverPull:case pr.ImagePullBackOff:case pr.InvalidImageName:case pr.RegistryUnavailable:case pr.NetworkNotReady:case pr.OOMKilled:case pr.ContainerCannotRun:case ur.Terminated:case pr.DeadlineExceeded:case pr.StartError:return Vo.Error;case cr.Down:case pr.Completed:return Ko.Disabled;case cr.Unknown:case dr.Unknown:default:return Ko.Unknown}},ti=(e,t)=>{const o={[Vo.Default]:o=>V({fill:Zr(t,e,"300"),...o}),[Vo.Info]:o=>He({fill:Zr(t,e,"400"),...o}),[Vo.Error]:o=>Ve({fill:Zr(t,e,"500"),...o}),[Vo.Warning]:o=>Xe({fill:Zr(t,e,"500"),...o}),[Vo.Success]:o=>Ge({fill:Zr(t,e,"500"),...o}),[Ko.Disabled]:o=>We({fill:Zr(t,e,"400"),...o}),[Ko.Unknown]:o=>je({fill:Zr(t,e,"300"),...o})};return o[e]},oi=e=>{switch(e){case rr.Success:return Vo.Success;case rr.Error:case rr.Failure:return Vo.Error;case rr.Notice:return Vo.Warning;case rr.Unsupported:case rr.Unknown:return Vo.Info;case rr.Irrelevant:case rr.Disabled:return Jo.Disabled;case rr.Waiting:return Jo.Loading;case rr.Pending:default:return Vo.Default}},ri=(e,t)=>{const o=t.find(([t,o])=>e>=t&&(null===o||e<=o));return o?.[2]||null},ii={redis:c,mysql:u,postgresql:d,postgres:d,kafka:l,elasticsearch:de,clickhouse:xe,oracle:j,aws:Je},ni={sts:at,dynamodb:nt,s3:z,sqs:it,sns:rt,lambda:ot,kinesis:tt,ec2:et,apigateway:Ze,apigatewayv2:Ze,bedrock:Qe,bedrockruntime:Qe,eventbridge:Ye,sfn:qe,stepfunctions:qe,secretsmanager:Ke,cloudwatch:fe},ai=e=>{const t=e.attributes,o=t["db.system"];if(o){const e=ii[o.toLowerCase()];if(e)return e}const r=t["messaging.system"];if(r){const e=ii[r.toLowerCase()];if(e)return e}const i=t["rpc.system"];if(i?.toLowerCase().includes("aws")){const e=t["rpc.service"]?.toLowerCase();if(e){const t=ni[e];if(t)return t}return Je}const n=e.serviceName.toLowerCase();for(const[e,t]of Object.entries(ii))if(n.includes(e))return t;return Ie},si=({namespace:e,name:t,kind:o})=>({namespace:e,name:t,kind:o});function li(e,t){if(!e)return t;if("object"==typeof e)return e;try{return JSON.parse(e)}catch(e){return t}}const ci=(e,t)=>{const o=[],r=JSON.parse(JSON.stringify(e));for(const e of r){const r=li(t.fields,{}),i=e.items.findIndex(e=>e.type===t.destinationType.type);-1!==i&&o.push(...e.items[i].fields.map(e=>({...e,initialValue:r[e.name]})))}return o},di=(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},pi=e=>Array.isArray(e)?!e?.length:"object"==typeof e?!Object.keys(e||{}).length:[void 0,null,""].includes(e),ui=e=>{if(!e)return!1;if(e.length>63)return!1;return/^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$/.test(e)},hi=(e,t=0)=>{const o=(new Date).getTime();return new Date(e).getTime()-o<=t},mi=e=>{const t=String(e).trim().toLowerCase();return["true","false","1","0"].includes(t)},gi=(e,t=0)=>(new Date).getTime()-new Date(e).getTime()>=t,fi=/^(\d+\.)?(\d+\.)?(\*|\d+)$/,xi=e=>fi.test(e),yi=e=>e?e.replace(/([a-z0-9])([A-Z])/g,"$1 $2"):"",bi=e=>e?.map(({status:e,type:t,reason:o,message:r})=>({status:e,type:yi(t),reason:o?yi(o):"",message:r}))||[],$i=(e,t)=>{const o=li(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}))},vi=e=>e?Object.keys(e).filter(t=>e[t]).map(e=>yr[e]):[],wi=e=>e?Object.keys(e).filter(t=>e[t].supported).map(e=>yr[e]):[],Si=e=>e.replace(/[^\d]/g,""),Ci=e=>{const t=String(e).trim().toLowerCase();return"true"===t||"1"===t},ki=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},Ei=e=>{if("object"!=typeof e)return e;const t=Array.isArray(e)?[]:{};return Object.keys(e).forEach(o=>{const r=e[o];if(Array.isArray(r)){const e=r.filter(e=>null!=e&&""!==e);e.length>0&&(t[o]=e.map(e=>Ei(e)))}else if("object"==typeof r&&null!==r){const e=Ei(r);Object.keys(e).length>0&&(t[o]=e)}else[void 0,null,""].includes(r)||(t[o]=r)}),t},Ai=(e,t=2)=>JSON.stringify(e||{},null,t),Di=async(e=1e3)=>new Promise(t=>setTimeout(t,e)),Ti=e=>Object.entries(e).reduce((e,[t,o])=>(e[t]="string"==typeof o?o:JSON.stringify(o),e),{}),Ni=e=>{let t=e.toString().replace("v","").split("-")[0];t=t.match(/[\d.]+/)?.[0]||"";const o=t.split(".");return 1e4*parseInt(o[0]||"0",10)+parseInt(o[1]||"0",10)},Ii=Yt.div`
1
+ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon as i,DeleteAttributeIcon as r,AddClusterInfoIcon as n,K8sLogo as a,ImageErrorIcon as s,KafkaLogo as l,RedisLogo as c,PostgresLogo as d,NginxLogo as p,MysqlLogo as u,ElixirLogo as h,SwiftLogo as m,RustLogo as g,RubyLogo as f,PhpLogo as x,CPlusPlusLogo as y,CSharpLogo as b,DotnetLogo as $,PythonLogo as v,NodejsLogo as w,GoLogo as S,JavaLogo as C,AwsXrayLogo as k,VictoriaMetricsLogo as E,UptraceLogo as A,TraceloopLogo as D,TingyunLogo as T,TempoLogo as N,TelemetryHubLogo as I,SumoLogicLogo as _,SplunkLogo as O,SignozLogo as R,SeqLogo as F,AwsS3Logo as z,QuickwitLogo as L,GigapipeLogo as P,QrynLogo as M,PrometheusLogo as B,OpenTelemetryLogo as U,OracleLogo as j,OpsVerseLogo as W,OpenObserveLogo as G,OneUptimeLogo as H,OdigosLogo as X,ObserveLogo as V,NewRelicLogo as J,MiddlewareLogo as K,LumigoLogo as q,LokiLogo as Y,LogzioLogo as Q,LightstepLogo as Z,Last9Logo as ee,KloudmateLogo as te,JaegerLogo as oe,InstanaLogo as ie,HyperDxLogo as re,HoneycombLogo as ne,GroundcoverLogo as ae,GreptimeLogo as se,GrafanaLogo as le,GoogleCloudPlatformLogo as ce,ElasticSearchLogo as de,ElasticApmLogo as pe,DynatraceLogo as ue,DatadogLogo as he,Dash0Logo as me,CoralogixLogo as ge,AwsCloudwatchLogo as fe,ClickhouseLogo as xe,ChronosphereLogo as ye,ChecklyLogo as be,CauselyLogo as $e,BonreeLogo as ve,BetterStackLogo as we,AzureMonitorLogo as Se,AzureBlobLogo as Ce,AxiomLogo as ke,AppDynamicsLogo as Ee,AlibabaCloudLogo as Ae,AlaudaLogo as De,SamplingIcon as Te,InstrumentationRuleIcon as Ne,DestinationIcon as Ie,SourceIcon as _e,NamespacesIcon as Oe,PayloadCollectionIcon as Re,HeadersCollectionIcon as Fe,CustomInstrumentationIcon as ze,CodeAttributesIcon as Le,TracesIcon as Pe,MetricsIcon as Me,LogsIcon as Be,VmLogo as Ue,QuestionCircleIcon as je,XSquareIcon as We,VSquareIcon as Ge,ExclamationTriangleIcon as He,ExclamationCircleIcon as Xe,ISquareIcon as Ve,AwsLogo as Je,AwsSecretsManagerLogo as Ke,AwsStepFunctionsLogo as qe,AwsEventBridgeLogo as Ye,AwsBedrockLogo as Qe,AwsApiGatewayLogo as Ze,AwsEc2Logo as et,AwsKinesisLogo as tt,AwsLambdaLogo as ot,AwsSnsLogo as it,AwsSqsLogo as rt,AwsDynamoDbLogo as nt,AwsStsLogo as at,VIcon as st,CopyIcon as lt,XIcon as ct,MinusIcon as dt,ListIcon as pt,CodeIcon as ut,ExtendArrowIcon as ht,PlusIcon as mt,EditIcon as gt,NoDataIcon as ft,RefreshIcon as xt,EyeClosedIcon as yt,EyeOpenIcon as bt,SearchIcon as $t,TrashIcon as vt,EditedIcon as wt,SortArrowsIcon as St,NotebookIcon as Ct,DotsHorizontalIcon as kt,ChevronUpIcon as Et,ChevronDownIcon as At,ArrowIcon as Dt,DotsVerticalIcon as Tt,DotIcon as Nt,FilterIcon as It}from"../icons.js";import{create as _t}from"zustand";import{jsx as Ot,jsxs as Rt,Fragment as Ft}from"react/jsx-runtime";import{Fragment as zt,useMemo as Lt,useState as Pt,useEffect as Mt,useRef as Bt,useCallback as Ut,useContext as jt,createContext as Wt,forwardRef as Gt,memo as Ht}from"react";import Xt from"javascript-time-ago";import{p as Vt,c as Jt,s as Kt,l as qt}from"./vendor-C150cdxb.js";import Yt,{css as Qt,useTheme as Zt,ThemeProvider as eo,keyframes as to}from"styled-components";import{Handle as oo,Position as io,ReactFlowProvider as ro,ReactFlow as no,Controls as ao,ControlButton as so,useReactFlow as lo}from"@xyflow/react";import co,{createPortal as po}from"react-dom";import{Highlight as uo,themes as ho}from"prism-react-renderer";import{ErrorBoundary as mo}from"react-error-boundary";import go from"lottie-react";import{VList as fo}from"virtua";const xo=e=>e.charAt(0).toUpperCase()+e.slice(1),yo=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,i])=>Array.isArray(i)?[e,t(i)]:"object"==typeof i&&null!==i?[e,o(i)]:[e,i]));return Object.entries(e).reduce((e,[i,r])=>{try{const n=JSON.parse(r);Array.isArray(n)?e[i]=JSON.stringify(t(n)):e[i]="object"==typeof n&&null!==n?JSON.stringify(o(n)):r}catch(n){"object"==typeof r&&null!==r?Array.isArray(r)?e[i]=JSON.stringify(t(r)):e[i]=JSON.stringify(o(r)):e[i]=r}return e},{})};var bo;!function(e){e.SIGNALS="SIGNALS"}(bo||(bo={}));const $o=(e,t,o)=>{if(!e||!e.length)return!0;if(1===e.length)return"true"==e[0];const[i,r,n]=e;if(i===bo.SIGNALS)switch(r){case"INCLUDES":return t?.includes(n);case"EXCLUDES":return!t?.includes(n);default:return!0}const a=o.find(e=>e.name===i||e.key===i);if(!a)return!1;switch(r){case"===":case"==":return a.value===n;case"!==":case"!=":return a.value!==n;case">":return Number(a.value)>Number(n);case"<":return Number(a.value)<Number(n);case">=":return Number(a.value)>=Number(n);case"<=":return Number(a.value)<=Number(n);default:return!0}},vo=e=>JSON.parse(JSON.stringify(e)),wo=(e,t)=>t.split(".").reduce((e,t)=>e?.[t],e),So=(e,t,o)=>{const i=t.split(".");let r=e;for(let e=0;e<i.length-1;e++)i[e]in r&&"object"==typeof r[i[e]]||(r[i[e]]={}),r=r[i[e]];r[i[i.length-1]]=o},Co=(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},ko=(e,t)=>{let o=[...e];return t.monitors?.length&&(o=o.filter(e=>!!t.monitors?.find(t=>e.exportedSignals[t.id]))),o},Eo=(e,t)=>t?e.filter(e=>e.dataStreamNames.includes(t)||!e.dataStreamNames.length):[];var Ao,Do,To,No,Io,_o,Oo,Ro,Fo,zo,Lo,Po,Mo,Bo,Uo,jo,Wo,Go,Ho,Xo,Vo,Jo,Ko,qo,Yo,Qo,Zo,ei,ti,oi,ii,ri,ni,ai,si,li,ci,di,pi,ui,hi,mi;!function(e){e.Attributes="attributes",e.Samplers="samplers"}(Ao||(Ao={})),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",e.URLTemplatization="URLTemplatization"}(Do||(Do={})),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",e.UrlTemplatizationRulesGroups="urlTemplatizationRulesGroups"}(To||(To={})),function(e){e.Pod="pod",e.Namespace="namespace",e.Node="node"}(No||(No={})),function(e){e.EXISTS="exists",e.EQUALS="equals",e.NOT_EQUALS="not_equals",e.CONTAINS="contains",e.NOT_CONTAINS="not_contains",e.REGEX="regex"}(Io||(Io={})),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"}(_o||(_o={})),function(e){e.EXISTS="exists",e.EQUALS="equals"}(Oo||(Oo={})),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"}(Ro||(Ro={})),function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(Fo||(Fo={})),function(e){e.Ascending="ascending",e.Descending="descending"}(zo||(zo={})),function(e){e.Community="community",e.Cloud="cloud",e.Onprem="onprem"}(Lo||(Lo={})),function(e){e.K8s="k8s",e.Vm="vm"}(Po||(Po={})),function(e){e.Cli="odigos-cli",e.Helm="helm",e.Operator="odigos-operator"}(Mo||(Mo={})),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"}(Bo||(Bo={})),function(e){e.Create="Create",e.Read="Read",e.Update="Update",e.Delete="Delete"}(Uo||(Uo={})),function(e){e.Namespace="Namespace",e.Source="Source",e.Destination="Destination",e.Action="Action",e.InstrumentationRule="InstrumentationRule",e.SamplingRule="SamplingRule"}(jo||(jo={})),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"}(Go||(Go={})),function(e){e.Text="text",e.Password="password",e.Number="number"}(Ho||(Ho={})),function(e){e.Warning="warning",e.Error="error",e.Success="success",e.Info="info",e.Default="default"}(Xo||(Xo={})),function(e){e.INSTRUMENTED="Instrumented",e.INSTRUMENTING="Instrumenting",e.UNINSTRUMENTED="Uninstrumented",e.NOT_INSTRUMENTED="Not Instrumented"}(Vo||(Vo={})),function(e){e.Loading="loading",e.Disabled="disabled"}(Jo||(Jo={})),function(e){e.Disabled="disabled",e.Unknown="unknown"}(Ko||(Ko={})),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"}(qo||(qo={})),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"}(Yo||(Yo={})),function(e){e.Labeled="labeled"}(Qo||(Qo={})),function(e){e.AddRule="addRule",e.AddSource="addSource",e.AddAction="addAction",e.AddDestination="addDestination"}(Zo||(Zo={})),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"}(ei||(ei={})),function(e){e.Deployment="Deployment",e.DaemonSet="DaemonSet",e.StatefulSet="StatefulSet",e.CronJob="CronJob",e.Pod="Pod",e.StaticPod="StaticPod",e.Rollout="Rollout",e.ConfigMap="ConfigMap",e.DeploymentConfig="DeploymentConfig"}(ti||(ti={})),function(e){e.GolangCommunity="golang-community",e.NodejsCommunity="nodejs-community",e.PythonCommunity="python-community",e.JavaCommunity="java-community",e.DotNetCommunity="dotnet-community",e.RubyCommunity="ruby-community",e.PhpCommunity="php-community",e.GolangEnterprise="golang-enterprise",e.NodejsEnterprise="nodejs-enterprise",e.PythonEnterprise="python-enterprise",e.JavaEnterprise="java-enterprise",e.JavaEbpfInstrumentations="java-ebpf-instrumentations",e.DotNetLegacy="dotnet-legacy",e.DotNetEnterprise="dotnet-enterprise",e.RubyEnterprise="ruby-enterprise",e.CPlusPlusEnterprise="cplusplus-enterprise",e.MySqlEnterprise="mysql-enterprise"}(oi||(oi={})),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"}(ii||(ii={})),function(e){e.CodeAttributes="CodeAttributes",e.HeadersCollection="HeadersCollection",e.PayloadCollection="PayloadCollection",e.CustomInstrumentation="CustomInstrumentation",e.UnknownType="UnknownType"}(ri||(ri={})),function(e){e.Column="column",e.FilePath="filePath",e.Function="function",e.LineNumber="lineNumber",e.Namespace="namespace",e.StackTrace="stacktrace"}(ni||(ni={})),function(e){e.HeaderKeys="headerKeys"}(ai||(ai={})),function(e){e.Java="java",e.Golang="golang"}(si||(si={}));class gi{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 fi{packageName;functionName;receiverName;receiverMethodName;constructor(e,t,o,i){this.packageName=e,this.functionName=t||"",this.receiverName=o||"",this.receiverMethodName=i||""}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"}(li||(li={})),function(e){e.Healthy="Healthy",e.Updating="Updating",e.Degraded="Degraded",e.Failed="Failed",e.Down="Down",e.Unknown="Unknown"}(ci||(ci={})),function(e){e.Pending="Pending",e.Running="Running",e.Succeeded="Succeeded",e.Failed="Failed",e.Unknown="Unknown"}(di||(di={})),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"}(pi||(pi={})),function(e){e.Running="Running",e.Waiting="Waiting",e.Terminated="Terminated"}(ui||(ui={})),function(e){e.Logs="LOGS",e.Metrics="METRICS",e.Traces="TRACES"}(hi||(hi={})),function(e){e.Logs="logs",e.Metrics="metrics",e.Traces="traces"}(mi||(mi={}));const xi={[hi.Logs]:mi.Logs,[hi.Metrics]:mi.Metrics,[hi.Traces]:mi.Traces},yi={[mi.Logs]:hi.Logs,[mi.Metrics]:hi.Metrics,[mi.Traces]:hi.Traces},bi=(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?.reasonEnum||t===e?.message))),t.onlyErrors&&(o=o.filter(e=>!!e.conditions?.find(e=>e.status===Xo.Error))),t.errors?.length&&(o=o.filter(e=>!!t.errors?.find(t=>!!e.conditions?.find(e=>e.message===t.id)))),o},$i="https://docs.odigos.io",vi="default",wi="this-cluster",Si="This Cluster",Ci={SELECTED_DATA_STREAM:"SELECTED_DATA_STREAM",SELECTED_DATA_STREAM_WITH_PROXY:e=>`SELECTED_DATA_STREAM_${e}`,OVERVIEW_FILTERS:"OVERVIEW_FILTERS",DARK_MODE:"DARK_MODE"},ki={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)'},Ei={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",SOURCES_SETUP:"Sources setup",DESTINATIONS_SETUP:"Destinations setup",SUMMARY:"Summary",REVIEW_SETUP:"Review your setup and confirm your choices.",NO_SOURCES_SELECTED:"No sources selected",ADD_SOURCE_PROMPT:"Add at least one source to start collecting data",NO_DESTINATIONS_SELECTED:"No destinations selected",ADD_DESTINATION_PROMPT:"Add destination so your data has somewhere to go",GET_STARTED_WITH:"Get started with",GET_STARTED_DESCRIPTION:"First, select the sources you want Odigos to monitor. Next, choose where your data should be sent by configuring destinations.",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",ROLLBACK_OCCURRED_MESSAGE:"Odigos detected a crash and rolled back instrumentation to protect your workload.",ROLLBACK_RECOVER:"Recover",FETCHING_NAMESPACES:"Fetching namespaces",FETCHING_NAMESPACES_SUBTITLE:"Please wait while we fetch the namespaces",ADD_SOURCES_DESCRIPTION:"Choose which sources to monitor in your pipeline.",CREATING_SOURCES:"Creating Sources...",CREATING_SOURCES_SUBTITLE:"This may take a few moments while sources are being created.",SELECT_NAMESPACE:"Select namespace from the list",SELECT_NAMESPACE_SUBTITLE:"Add namespace so you can select workloads from it.",CREATING_ACTION:"Creating action",CREATING_ACTION_SUBTITLE:"Please wait while we create the action",ADD_ACTION_DESCRIPTION:"Select an action to modify telemetry data before it's sent to destinations. Choose an action type and configure its details.",CREATING_INSTRUMENTATION_RULE:"Creating instrumentation rule",CREATING_INSTRUMENTATION_RULE_SUBTITLE:"Please wait while we create the instrumentation rule",ADD_INSTRUMENTATION_RULE_DESCRIPTION:"Define how telemetry is recorded from your application. Choose a rule type and configure the details.",CREATING_DESTINATION:"Creating destination",CREATING_DESTINATION_SUBTITLE:"Please wait while we create the destination",ADD_DESTINATION_DRAWER_DESCRIPTION:"Add backend destination you want to connect with Odigos."},Ai={GET_STARTED:"Get started",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"},Di=(e,t)=>t?e.filter(e=>e.dataStreamNames.includes(t)||t===vi&&!e.dataStreamNames.length):[],Ti=(e,t="",o={})=>{for(const i in e)if(e.hasOwnProperty(i)){const r=e[i],n=t?`${t}.${i}`:i;null===r||"object"!=typeof r||Array.isArray(r)?Array.isArray(r)?r.forEach((e,t)=>{const i=`${n}[${t}]`;null!==e&&"object"==typeof e?Ti(e,i,o):o[i]=e}):o[n]=r:Ti(r,n,o)}return o},Ni=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]}`},Ii=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`}},_i=()=>{const e=crypto.getRandomValues(new Uint8Array(16));let t=0;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,o=>{const i=e[t%16];t++;return("1"===o?i:"0"===o?63&i|128:15&i|64).toString(16)})},Oi=l=>{const c=l?.toLowerCase(),d=c?.includes(Ao.Samplers),p=c===Ao.Attributes;if(d)return e;if(p)return t;return{[Do.K8sAttributes]:a,[Do.AddClusterInfo]:n,[Do.DeleteAttributes]:r,[Do.PiiMasking]:t,[Do.RenameAttributes]:i,[Do.URLTemplatization]:o,[Do.ErrorSampler]:e,[Do.ProbabilisticSampler]:e,[Do.LatencySampler]:e,[Do.ServiceNameSampler]:e,[Do.SpanAttributeSampler]:e}[l]||s},Ri=e=>{const t=e?.filter(({status:e})=>e===Xo.Error),o=e?.filter(({status:e})=>e===Xo.Warning),i=e?.filter(({status:e})=>e===Jo.Disabled),r=e?.filter(({status:e})=>e===Jo.Loading),n=t.length>0,a=o.length>0,s=i.length>0;return{errors:t,hasErrors:n,warnings:o,hasWarnings:a,disableds:i,hasDisableds:s,loadings:r,hasLoadings:r.length>0,priorotizedStatus:n?Xo.Error:a?Xo.Warning:s?Xo.Info:void 0}},Fi=e=>{const t=e?.reduce((e,t)=>t.instrumented?e+1:e,0);return`${t}/${e?.length||0} instrumented`},zi=e=>({[Bo.Java]:C,[Bo.Go]:S,[Bo.JavaScript]:w,[Bo.Python]:v,[Bo.DotNet]:$,[Bo.CSharp]:b,[Bo.CPlusPlus]:y,[Bo.Php]:x,[Bo.Ruby]:f,[Bo.Rust]:g,[Bo.Swift]:m,[Bo.Elixir]:h,[Bo.MySql]:u,[Bo.Nginx]:p,[Bo.Postgres]:d,[Bo.Redis]:c,[Bo.Kafka]:l,[Bo.Ignored]:s,[Bo.Unknown]:s,[Bo.Processing]:s,[Bo.NoContainers]:s,[Bo.NoRunningPods]:s}[e]||s),Li=e=>e?.map(({language:e})=>zi(e))||[],Pi=e=>e?.map(e=>zi(e))||[],Mi=e=>e.detectedLanguages?.length?Pi(e.detectedLanguages):Li(e.containers),Bi=(e,t)=>{const o={[ei.Alauda]:De,[ei.AlibabaCloud]:Ae,[ei.AppDynamics]:Ee,[ei.Axiom]:ke,[ei.AzureBlob]:Ce,[ei.AzureMonitor]:Se,[ei.BetterStack]:we,[ei.Bonree]:ve,[ei.Causely]:$e,[ei.Checkly]:be,[ei.Chronosphere]:ye,[ei.ClickHouse]:xe,[ei.CloudWatch]:fe,[ei.Coralogix]:ge,[ei.Dash0]:me,[ei.Datadog]:he,[ei.Dynamic]:U,[ei.Dynatrace]:ue,[ei.ElasticApm]:pe,[ei.ElasticSearch]:de,[ei.GoogleCloud]:ce,[ei.GoogleCloudOTLP]:ce,[ei.GrafanaCloudLoki]:le,[ei.GrafanaCloudPrometheus]:le,[ei.GrafanaCloudTempo]:le,[ei.Greptime]:se,[ei.Groundcover]:ae,[ei.Honeycomb]:ne,[ei.HyperDX]:re,[ei.Instana]:ie,[ei.Jaeger]:oe,[ei.Kafka]:l,[ei.Kloudmate]:te,[ei.Last9]:ee,[ei.Lightstep]:Z,[ei.LogzIo]:Q,[ei.Loki]:Y,[ei.Lumigo]:q,[ei.Middleware]:K,[ei.NewRelic]:J,[ei.Observe]:V,[ei.Odigos]:X,[ei.OneUptime]:H,[ei.OpenObserve]:G,[ei.Opsverse]:W,[ei.Oracle]:j,[ei.OTLP]:U,[ei.OTLPHttp]:U,[ei.Prometheus]:B,[ei.Qryn]:M,[ei.QrynOss]:P,[ei.Quickwit]:L,[ei.S3]:z,[ei.Seq]:F,[ei.Signalfx]:O,[ei.Signoz]:R,[ei.Splunk]:O,[ei.SplunkSapm]:O,[ei.SplunkOtlp]:O,[ei.SumoLogic]:_,[ei.TelemetryHub]:I,[ei.Tempo]:N,[ei.Tingyun]:T,[ei.Traceloop]:D,[ei.Uptrace]:A,[ei.VictoriaMetrics]:E,[ei.VictoriaMetricsCloud]:E,[ei.XRay]:k}[e];return o&&!t?{icon:o}:{iconSrc:`https://d15jtxgb40qetw.cloudfront.net/${e}.svg`}},Ui=e=>({[jo.Namespace]:Oe,[jo.Source]:_e,[jo.Destination]:Ie,[jo.Action]:o,[jo.InstrumentationRule]:Ne,[jo.SamplingRule]:Te}[e]),ji=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,Wi=(e,t,o)=>{const{extended:i,prioritizeDisplayName:r}=o||{};let n="",a="";switch(t){case jo.InstrumentationRule:const t=e;n=t.type,a=t.ruleName;break;case jo.Source:const o=e;n=o.name,a=o.otelServiceName;break;case jo.Action:const i=e;n=i.type,a=i.name;break;case jo.Destination:const r=e;n=r.destinationType.displayName,a=r.name;break;case jo.Namespace:const s=e;n=s.name,a=s.name}return i?n+(a&&a!==n?` (${a})`:""):r&&a||n},Gi=(e,t)=>{if(t===jo.Source){const t={namespace:"",name:"",kind:""};return e.split("&").forEach(e=>{const[o,i]=e.split("=");t[o]=i}),t}return e},Hi=e=>({[ri.CodeAttributes]:Le,[ri.CustomInstrumentation]:ze,[ri.HeadersCollection]:Fe,[ri.PayloadCollection]:Re,[ri.UnknownType]:s}[e]||s),Xi=e=>{const{numberOfInstances:t,containers:o}=e;if(!o)return t&&t>0?Bo.Processing:Bo.NoRunningPods;const i=o?.filter(e=>e.language!==Bo.Ignored);if(!i.length)return Bo.NoContainers;const r=i.find(e=>e.language!==Bo.Unknown);return r?r.language:Bo.Unknown},Vi=(e,t,o)=>(t===jo.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},Ji=e=>({[hi.Logs]:Be,[hi.Metrics]:Me,[hi.Traces]:Pe}[e]),Ki=e=>{if(!e)return X;return{[Po.K8s]:a,[Po.Vm]:Ue}[e]},qi=e=>{if(!e)return"Unknown";return{[Po.K8s]:"Kubernetes Cluster",[Po.Vm]:"Virtual Machine"}[e]},Yi=(e,t,o)=>{const i=e[t];return i?i.flatMap(e=>{const i=e[o],r=[];return void 0!==i&&(Array.isArray(i)?r.push(...i):r.push(i)),r.push(...Yi(e,t,o)),r}):[]},Qi=(e,t)=>{if(t===jo.Source){let t="";return Object.entries(e).forEach(([e,o])=>{t+=`${e}=${o}&`}),t.slice(0,-1),t}return e},Zi=(e,t,o)=>{switch(t){case Xo.Default:return e.v2.colors.purple[o];case Xo.Info:return e.v2.colors.blue[o];case Xo.Error:return e.v2.colors.red[o];case Xo.Warning:return e.v2.colors.yellow[o];case Xo.Success:return e.v2.colors.green[o];case Ko.Disabled:case Ko.Unknown:return e.v2.colors.silver[o];default:return e.v2.colors.white[500]}},er=e=>{switch(e){case ci.Updating:case di.Pending:case pi.ContainerCreating:case ui.Waiting:return Xo.Info;case ci.Healthy:case di.Succeeded:case di.Running:case pi.Running:case ui.Running:return Xo.Success;case ci.Degraded:return Xo.Warning;case ci.Failed:case di.Failed:case pi.Error:case pi.CrashLoopBackOff:case pi.CreateContainerError:case pi.CreateContainerConfigError:case pi.ErrImagePull:case pi.ErrImageNeverPull:case pi.ImagePullBackOff:case pi.InvalidImageName:case pi.RegistryUnavailable:case pi.NetworkNotReady:case pi.OOMKilled:case pi.ContainerCannotRun:case ui.Terminated:case pi.DeadlineExceeded:case pi.StartError:return Xo.Error;case ci.Down:case pi.Completed:return Ko.Disabled;case ci.Unknown:case di.Unknown:default:return Ko.Unknown}},tr=(e,t)=>{const o={[Xo.Default]:o=>X({fill:Zi(t,e,"300"),...o}),[Xo.Info]:o=>Ve({fill:Zi(t,e,"400"),...o}),[Xo.Error]:o=>Xe({fill:Zi(t,e,"500"),...o}),[Xo.Warning]:o=>He({fill:Zi(t,e,"500"),...o}),[Xo.Success]:o=>Ge({fill:Zi(t,e,"500"),...o}),[Ko.Disabled]:o=>We({fill:Zi(t,e,"400"),...o}),[Ko.Unknown]:o=>je({fill:Zi(t,e,"300"),...o})};return o[e]},or=e=>{switch(e){case ii.Success:return Xo.Success;case ii.Error:case ii.Failure:return Xo.Error;case ii.Notice:return Xo.Warning;case ii.Unsupported:case ii.Unknown:return Xo.Info;case ii.Irrelevant:case ii.Disabled:return Jo.Disabled;case ii.Waiting:return Jo.Loading;case ii.Pending:default:return Xo.Default}},ir=(e,t)=>{const o=t.find(([t,o])=>e>=t&&(null===o||e<=o));return o?.[2]||null},rr={redis:c,mysql:u,postgresql:d,postgres:d,kafka:l,elasticsearch:de,clickhouse:xe,oracle:j,aws:Je},nr={sts:at,dynamodb:nt,s3:z,sqs:rt,sns:it,lambda:ot,kinesis:tt,ec2:et,apigateway:Ze,apigatewayv2:Ze,bedrock:Qe,bedrockruntime:Qe,eventbridge:Ye,sfn:qe,stepfunctions:qe,secretsmanager:Ke,cloudwatch:fe},ar=e=>{const t=e.attributes,o=t["db.system"];if(o){const e=rr[o.toLowerCase()];if(e)return e}const i=t["messaging.system"];if(i){const e=rr[i.toLowerCase()];if(e)return e}const r=t["rpc.system"];if(r?.toLowerCase().includes("aws")){const e=t["rpc.service"]?.toLowerCase();if(e){const t=nr[e];if(t)return t}return Je}const n=e.serviceName.toLowerCase();for(const[e,t]of Object.entries(rr))if(n.includes(e))return t;return Ie},sr=({namespace:e,name:t,kind:o})=>({namespace:e,name:t,kind:o});function lr(e,t){if(!e)return t;if("object"==typeof e)return e;try{return JSON.parse(e)}catch(e){return t}}const cr=(e,t)=>{const o=[],i=JSON.parse(JSON.stringify(e));for(const e of i){const i=lr(t.fields,{}),r=e.items.findIndex(e=>e.type===t.destinationType.type);-1!==r&&o.push(...e.items[r].fields.map(e=>({...e,initialValue:i[e.name]})))}return o},dr=(e,t)=>{const o=e=>e?.some(({healthy:e})=>e.status!==Xo.Success);return e?.length?e.some(({instrumentationInstances:e})=>o(e)):o(t)??!1},pr=e=>Array.isArray(e)?!e?.length:"object"==typeof e?!Object.keys(e||{}).length:[void 0,null,""].includes(e),ur=e=>{if(!e)return!1;if(e.length>63)return!1;return/^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$/.test(e)},hr=(e,t=0)=>{const o=(new Date).getTime();return new Date(e).getTime()-o<=t},mr=e=>{const t=String(e).trim().toLowerCase();return["true","false","1","0"].includes(t)},gr=(e,t=0)=>(new Date).getTime()-new Date(e).getTime()>=t,fr=/^(\d+\.)?(\d+\.)?(\*|\d+)$/,xr=e=>fr.test(e),yr=e=>e?e.replace(/([a-z0-9])([A-Z])/g,"$1 $2"):"",br=e=>e?.map(({status:e,type:t,reason:o,message:i})=>({status:e,type:yr(t),reason:o?yr(o):"",message:i}))||[],$r=(e,t)=>{const o=lr(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}))},vr=e=>e?Object.keys(e).filter(t=>e[t]).map(e=>yi[e]):[],wr=e=>e?Object.keys(e).filter(t=>e[t].supported).map(e=>yi[e]):[],Sr=e=>e.replace(/[^\d]/g,""),Cr=e=>{const t=String(e).trim().toLowerCase();return"true"===t||"1"===t},kr=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},Er=e=>{if("object"!=typeof e)return e;const t=Array.isArray(e)?[]:{};return Object.keys(e).forEach(o=>{const i=e[o];if(Array.isArray(i)){const e=i.filter(e=>null!=e&&""!==e);e.length>0&&(t[o]=e.map(e=>Er(e)))}else if("object"==typeof i&&null!==i){const e=Er(i);Object.keys(e).length>0&&(t[o]=e)}else[void 0,null,""].includes(i)||(t[o]=i)}),t},Ar=(e,t=2)=>JSON.stringify(e||{},null,t),Dr=async(e=1e3)=>new Promise(t=>setTimeout(t,e)),Tr=e=>Object.entries(e).reduce((e,[t,o])=>(e[t]="string"==typeof o?o:JSON.stringify(o),e),{}),Nr=e=>{let t=e.toString().replace("v","").split("-")[0];t=t.match(/[\d.]+/)?.[0]||"";const o=t.split(".");return 1e4*parseInt(o[0]||"0",10)+parseInt(o[1]||"0",10)},Ir=Yt.div`
2
2
  flex: 1;
3
3
  align-self: stretch;
4
4
  display: flex;
@@ -8,7 +8,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
8
8
 
9
9
  max-height: calc(100vh - 24px - ${({$heightOffset:e})=>e||0}px);
10
10
  padding: 24px 24px 0 24px;
11
- `,_i=Yt.div`
11
+ `,_r=Yt.div`
12
12
  position: relative;
13
13
 
14
14
  // inherit all the properties of the parent (PageContent)
@@ -18,7 +18,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
18
18
  flex-direction: inherit;
19
19
  gap: inherit;
20
20
  overflow-x: inherit;
21
- `,Oi=Yt.div`
21
+ `,Or=Yt.div`
22
22
  display: flex;
23
23
  flex-direction: row;
24
24
  flex-wrap: ${({$wrap:e="unset"})=>e};
@@ -29,7 +29,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
29
29
  height: ${({$height:e})=>e||"unset"};
30
30
  margin: ${({$margin:e="unset"})=>e};
31
31
  padding: ${({$padding:e="unset"})=>e};
32
- `,Ri=Yt.div`
32
+ `,Rr=Yt.div`
33
33
  display: flex;
34
34
  flex-direction: column;
35
35
  flex-wrap: ${({$wrap:e="unset"})=>e};
@@ -40,18 +40,18 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
40
40
  height: ${({$height:e})=>e||"unset"};
41
41
  margin: ${({$margin:e="unset"})=>e};
42
42
  padding: ${({$padding:e="unset"})=>e};
43
- `,Fi=Yt(Ri)`
43
+ `,Fr=Yt(Rr)`
44
44
  width: ${({$width:e})=>e||"100%"};
45
45
  height: ${({$height:e})=>e||"unset"};
46
46
  padding: ${({$padding:e})=>e||"unset"};
47
47
  align-items: center;
48
48
  justify-content: center;
49
- `,zi=Yt.div`
49
+ `,zr=Yt.div`
50
50
  display: flex;
51
51
  flex-direction: column;
52
52
  padding: 12px;
53
53
  overflow-y: scroll;
54
- `,Li=Yt.div`
54
+ `,Lr=Yt.div`
55
55
  position: ${({$relativeToParent:e})=>e?"absolute":"fixed"};
56
56
  top: 0;
57
57
  left: 0;
@@ -60,24 +60,24 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
60
60
  z-index: 1000;
61
61
  background: rgba(0, 0, 0, 0.6);
62
62
  backdrop-filter: blur(2px);
63
- `,Pi=Yt.div`
63
+ `,Pr=Yt.div`
64
64
  width: 800px;
65
65
  min-height: ${({$minHeight:e})=>e||"unset"};
66
66
  height: ${({$isNotModal:e})=>e?"fit-content":"calc(100vh - 350px)"};
67
67
  margin: ${({$isNotModal:e})=>e?"64px 0 0 0":"64px 7vw 32px 7vw"};
68
68
  padding: 0 2px;
69
69
  overflow-y: scroll;
70
- `,Mi=Yt(Ri)`
70
+ `,Mr=Yt(Rr)`
71
71
  max-width: ${({$maxWidth:e})=>e||"unset"};
72
72
  width: 100%;
73
- `,Bi=Yt(Oi)`
73
+ `,Br=Yt(Or)`
74
74
  gap: 16px;
75
75
  padding: 16px;
76
- `,Ui=Yt.div`
76
+ `,Ur=Yt.div`
77
77
  width: 100%;
78
78
  max-height: ${({$maxHeight:e})=>e||"unset"};
79
79
  overflow-y: auto;
80
- `;var ji,Wi;!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"}(ji||(ji={})),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"}(Wi||(Wi={}));const Gi=Yt.p`
80
+ `;var jr,Wr;!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"}(jr||(jr={})),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"}(Wr||(Wr={}));const Gr=Yt.p`
81
81
  margin: 0;
82
82
  color: ${({$color:e,theme:t})=>e||t.v2.colors.grey[50]};
83
83
  font-family: ${({theme:e})=>e.font_family.primary};
@@ -105,7 +105,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
105
105
  text-decoration: underline;
106
106
  }
107
107
  `}
108
- `,Xi=({children:e,variant:t=ji.P,color:o,size:r=Wi.S,weight:i=400,opacity:n=1,align:a="left",lineHeight:s,transform:l,nowrap:c,underline:d,onClick:p,disabled:u,...h})=>{const m=e?.toString().split("\n")||[];return Ot(Gi,{as:t,$color:o,$size:r,$weight:i,$opacity:n,$align:a,$lineHeight:s,$transform:l,$nowrap:c,$underline:d,$withClick:!!p&&!u,onClick:u?void 0:p,...h,children:m.map((e,t)=>Rt(zt,{children:[e,t!==m.length-1&&Ot("br",{})]},`typography-${t}-${e}`))})},Vi=Yt.div`
108
+ `,Hr=({children:e,variant:t=jr.P,color:o,size:i=Wr.S,weight:r=400,opacity:n=1,align:a="left",lineHeight:s,transform:l,nowrap:c,underline:d,onClick:p,disabled:u,...h})=>{const m=e?.toString().split("\n")||[];return Ot(Gr,{as:t,$color:o,$size:i,$weight:r,$opacity:n,$align:a,$lineHeight:s,$transform:l,$nowrap:c,$underline:d,$withClick:!!p&&!u,onClick:u?void 0:p,...h,children:m.map((e,t)=>Rt(zt,{children:[e,t!==m.length-1&&Ot("br",{})]},`typography-${t}-${e}`))})},Xr=Yt.div`
109
109
  color: ${({$color:e,theme:t})=>e||t.text.secondary};
110
110
  font-size: ${({$size:e})=>void 0!==e?e:16}px;
111
111
  font-weight: ${({$weight:e})=>void 0!==e?e:300};
@@ -116,12 +116,12 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
116
116
  font-family: ${({theme:e,$family:t="primary"})=>e.font_family[t]};
117
117
  white-space: ${({$nowrap:e})=>e?"nowrap":"unset"};
118
118
  text-wrap: ${({$nowrap:e})=>e?"nowrap":"unset"};
119
- `,Hi=e=>{const t=e.match(/<a[^>]*href="([^"]*)"[^>]*>(.*?)<\/a>/g);return t?.map(e=>{const[t,o,r]=e.split('"');return{original:e,href:o,label:r.replace("</a>","").replace(">","")}})},Ji=e=>{const t=e.match(/<strong[^>]*>(.*?)<\/strong>/g);return t?.map(e=>{const t=e.replace(/<strong[^>]*>/,"").replace(/<\/strong>/,"");return{original:e,label:t}})},Ki=(e,t)=>{const o=Hi(e);o?.forEach((t,o)=>{e=e.replace(t.original,`LINK-${o}###`)});const r=Ji(e);r?.forEach((t,o)=>{e=e.replace(t.original,`STRONG-${o}###`)});return e.split(" ").map(e=>{if(e.includes("LINK-")){const[r,i]=e.split("###"),n=o?.[parseInt(r.replace("LINK-",""))];return Rt(zt,{children:[Ot("a",{href:n?.href,target:"_blank",rel:"noreferrer",style:{color:t.colors.majestic_blue_soft},children:n?.label}),i?`${i} `:" "]},e)}if(e.includes("STRONG-")){const[t,o]=e.split("###"),i=r?.[parseInt(t.replace("STRONG-",""))];return Rt(zt,{children:[Ot("strong",{style:{fontWeight:600},children:i?.label}),o?`${o} `:" "]},e)}return e+" "})},qi=({children:e,color:t,size:o,weight:r,align:i,family:n,opacity:a,decoration:s,transform:l,nowrap:c,...d})=>{const p=Zt(),u=Lt(()=>(e?["string","number"].includes(typeof e)?e.toString():Array.isArray(e)?e.map(e=>"object"==typeof e&&Object.hasOwn(e,"props")?e.props.children:e).filter(e=>e&&["string","number"].includes(typeof e)).join(" "):"":"").split("\n"),[e]);return Ot(Vi,{$color:t,$size:o,$weight:r,$align:i,$family:n,$opacity:a,$decoration:s,$transform:l,$nowrap:c,...d,children:u.length?u.map((e,t)=>Rt(zt,{children:[Ki(e,p),t!==u.length-1?Ot("br",{}):null]},`text-${t}-${e}`)):e})},Yi=Yt.div`
119
+ `,Vr=e=>{const t=e.match(/<a[^>]*href="([^"]*)"[^>]*>(.*?)<\/a>/g);return t?.map(e=>{const[t,o,i]=e.split('"');return{original:e,href:o,label:i.replace("</a>","").replace(">","")}})},Jr=e=>{const t=e.match(/<strong[^>]*>(.*?)<\/strong>/g);return t?.map(e=>{const t=e.replace(/<strong[^>]*>/,"").replace(/<\/strong>/,"");return{original:e,label:t}})},Kr=(e,t)=>{const o=Vr(e);o?.forEach((t,o)=>{e=e.replace(t.original,`LINK-${o}###`)});const i=Jr(e);i?.forEach((t,o)=>{e=e.replace(t.original,`STRONG-${o}###`)});return e.split(" ").map(e=>{if(e.includes("LINK-")){const[i,r]=e.split("###"),n=o?.[parseInt(i.replace("LINK-",""))];return Rt(zt,{children:[Ot("a",{href:n?.href,target:"_blank",rel:"noreferrer",style:{color:t.colors.majestic_blue_soft},children:n?.label}),r?`${r} `:" "]},e)}if(e.includes("STRONG-")){const[t,o]=e.split("###"),r=i?.[parseInt(t.replace("STRONG-",""))];return Rt(zt,{children:[Ot("strong",{style:{fontWeight:600},children:r?.label}),o?`${o} `:" "]},e)}return e+" "})},qr=({children:e,color:t,size:o,weight:i,align:r,family:n,opacity:a,decoration:s,transform:l,nowrap:c,...d})=>{const p=Zt(),u=Lt(()=>(e?["string","number"].includes(typeof e)?e.toString():Array.isArray(e)?e.map(e=>"object"==typeof e&&Object.hasOwn(e,"props")?e.props.children:e).filter(e=>e&&["string","number"].includes(typeof e)).join(" "):"":"").split("\n"),[e]);return Ot(Xr,{$color:t,$size:o,$weight:i,$align:r,$family:n,$opacity:a,$decoration:s,$transform:l,$nowrap:c,...d,children:u.length?u.map((e,t)=>Rt(zt,{children:[Kr(e,p),t!==u.length-1?Ot("br",{}):null]},`text-${t}-${e}`)):e})},Yr=Yt.div`
120
120
  padding: 4px 0 0 0;
121
- `,Qi=Yt(qi)`
121
+ `,Qr=Yt(qr)`
122
122
  font-size: 12px;
123
123
  color: ${({theme:e})=>e.text.error};
124
- `,Zi=({children:e})=>Ot(Yi,{children:Ot(Qi,{children:e})}),en=Yt.div`
124
+ `,Zr=({children:e})=>Ot(Yr,{children:Ot(Qr,{children:e})}),en=Yt.div`
125
125
  position: relative;
126
126
  width: 100%;
127
127
  `,tn=Yt.div`
@@ -200,10 +200,10 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
200
200
  display: flex;
201
201
  flex-direction: column;
202
202
  gap: 4px;
203
- `,dn=Yt(qi)`
203
+ `,dn=Yt(qr)`
204
204
  flex: 1;
205
205
  font-size: 14px;
206
- `,pn=Yt(qi)`
206
+ `,pn=Yt(qr)`
207
207
  color: ${({theme:e})=>e.text.grey};
208
208
  font-size: 10px;
209
209
  line-height: 150%;
@@ -212,7 +212,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
212
212
  margin: 4px 0 0 0;
213
213
  list-style: none;
214
214
  width: 100%;
215
- `,hn=(e,t)=>t?e.reduce((e,o)=>{if(o.items){const r=hn(o.items,t);r.length&&e.push({...o,items:r})}else o.label.toLowerCase().includes(t.toLowerCase())&&e.push(o);return e},[]):e,mn=({placeholder:e="Type to search...",options:t,selectedOption:o,onOptionSelect:r,defaultText:i,onTextChange:n,style:a,disabled:s,errorMessage:l,...c})=>{const[d,p]=Pt(o?.label||i||""),[u,h]=Pt(hn(t,d)),[m,g]=Pt(!1);Pt(-1),Mt(()=>h(hn(t,d)),[t]);const f=o?.icon,x=e=>{e&&(p(e.label),n?.(e.label)),g(!e),r?.(e)};return Rt(en,{style:a,children:[Rt(tn,{$hasError:!!l,children:[f&&Ot(f,{}),Ot(on,{type:"text",value:d,placeholder:e,onChange:e=>{e.stopPropagation();const o=e.target.value,r=hn(t,o),i=1===r.length&&r[0].label===o?r[0]:void 0;p(o),n?.(o),h(r),x(i)},onKeyDown:e=>{["Enter"].includes(e.key)||e.stopPropagation()},disabled:s,onBlur:()=>!s&&g(!1),onFocus:()=>!s&&g(!0),...c})]}),m&&u.length?Ot(rn,{children:u.map(e=>Ot(gn,{option:e,onClick:x},e.type||e.label))}):null,l&&Ot(Zi,{children:l})]})},gn=({option:e,renderIcon:t=!0,onClick:o})=>{const r=!!e.items&&e.items.length>0,i=e.icon;return Rt(nn,{"data-id":`option-${e.type||e.label}`,$isList:r,onMouseDown:()=>r?null:o(e),children:[i&&t&&Ot(i,{}),Rt(an,{children:[Rt(cn,{children:[Ot(dn,{children:e.label}),Ot(pn,{children:e.description})]}),r&&Ot(un,{children:e.items?.map(e=>Rt(sn,{children:[Ot(ln,{}),Ot(gn,{option:e,renderIcon:!1,onClick:o})]},e.type||e.label))})]})]})},fn=_t(e=>({activeNodeType:null,activeNodeId:null,setActiveNodeType:t=>e({activeNodeType:t}),setActiveNodeId:t=>e({activeNodeId:t})})),xn=[{type:Do.K8sAttributes,icon:Or(Do.K8sAttributes),label:"Kubernetes Attributes",description:"Add dynamic k8s resource attributes to your data.",allowedSignals:[hr.Traces,hr.Metrics,hr.Logs],docsEndpoint:"/pipeline/actions/attributes/k8sattributes",docsDescription:"This action adds kubernetes related resource attributes to spans, metrics data points and log records."},{type:Do.AddClusterInfo,icon:Or(Do.AddClusterInfo),label:"Add Cluster Info",description:"Add static cluster-scoped attributes to your data.",allowedSignals:[hr.Traces,hr.Metrics,hr.Logs],docsEndpoint:"/pipeline/actions/attributes/addclusterinfo",docsDescription:"This action adds static resource attributes to spans, metrics data points and log records. It is useful to add cluster-wide attributes to all telemetry signals."},{type:Do.DeleteAttributes,icon:Or(Do.DeleteAttributes),label:"Delete Attribute",description:"Delete attributes from logs, metrics, and traces.",allowedSignals:[hr.Traces,hr.Metrics,hr.Logs],docsEndpoint:"/pipeline/actions/attributes/deleteattribute",docsDescription:"This action will delete the specified attributes from all telemetry signals that are specified in the signals field, regardless of the source, or any other condition."},{type:Do.RenameAttributes,icon:Or(Do.RenameAttributes),label:"Rename Attribute",description:"Rename attributes in logs, metrics, and traces.",allowedSignals:[hr.Traces,hr.Metrics,hr.Logs],docsEndpoint:"/pipeline/actions/attributes/renameattribute",docsDescription:"This action will rename the specified attributes from all telemetry signals that are specified in the signals field, regardless of the source, or any other condition."},{type:Do.PiiMasking,icon:Or(Do.PiiMasking),label:"PII Masking",description:"Mask PII data in your traces.",allowedSignals:[hr.Traces],docsEndpoint:"/pipeline/actions/attributes/piimasking",docsDescription:"This action processes a list of PII categories to be masked from the traces."},{type:Do.URLTemplatization,icon:Or(Do.URLTemplatization),label:"URL Templatization",description:"Replace dynamic URL path segments with named placeholders to reduce span cardinality.",allowedSignals:[hr.Traces],docsEndpoint:"/pipeline/actions/attributes/urltemplatization",docsDescription:"Normalizes HTTP URL paths by replacing dynamic segments (IDs, UUIDs, dates) with named placeholders (e.g. /user/1234 → /user/{id}). Reduces cardinality of http.route and span names, improving usability in telemetry backends.",minVersion:Ni("v1.21.0")}],yn=[{type:Do.ErrorSampler,icon:Or(Ao.Samplers),label:"Error Sampler",description:"Sample errors based on percentage.",allowedSignals:[hr.Traces],docsEndpoint:"/pipeline/actions/sampling/errorsampler",docsDescription:"This action is a Global Action that supports error sampling by filtering out non-error traces."},{type:Do.LatencySampler,icon:Or(Ao.Samplers),label:"Latency Sampler",description:"Add latency to your traces.",allowedSignals:[hr.Traces],docsEndpoint:"/pipeline/actions/sampling/latencysampler",docsDescription:"This action is an Endpoint Action that samples traces based on their duration for a specific service and endpoint (HTTP route) filter."},{type:Do.ProbabilisticSampler,icon:Or(Ao.Samplers),label:"Probabilistic Sampler",description:"Sample traces based on percentage.",allowedSignals:[hr.Traces],docsEndpoint:"/pipeline/actions/sampling/probabilisticsampler",docsDescription:"This action supports probabilistic sampling based on a configured sampling percentage applied to the TraceID."},{type:Do.ServiceNameSampler,icon:Or(Ao.Samplers),label:"Service Name Sampler",description:"Sample traces based on the presence of specified services within a trace.",allowedSignals:[hr.Traces],docsEndpoint:"/pipeline/actions/sampling/servicenamesampler",docsDescription:"This action supports service name sampling based on the presence of specified services within a trace."},{type:Do.SpanAttributeSampler,icon:Or(Ao.Samplers),label:"Span Attributes Sampler",description:"Sample traces based on the presence or value of specific attributes within a trace.",allowedSignals:[hr.Traces],docsEndpoint:"/pipeline/actions/sampling/spanattributesampler",docsDescription:"This action supports service name sampling based on the presence or value of specific attributes within a trace."}],bn=[{label:"Attributes",icon:Or(Ao.Attributes),items:xn},{label:"Samplers",icon:Or(Ao.Samplers),items:yn}];var $n;!function(e){e.ALL="all",e.UNSAVED="unsaved",e.EXISTS="exists",e.DETECTED="detected",e.SELF_HOSTED="self-hosted",e.MANAGED="managed"}($n||($n={}));const vn={[$n.ALL]:{TITLE:"All",DESCRIPTION:"All destinations"},[$n.UNSAVED]:{TITLE:"Selected",DESCRIPTION:"These are destinations that you have not yet saved."},[$n.EXISTS]:{TITLE:"Already configured",DESCRIPTION:"These are destinations that you have already configured in other data-streams and can reuse them."},[$n.DETECTED]:{TITLE:"Detected by system",DESCRIPTION:"Odigos found these destinations in your cluster and pre-filled their details. Review and enable them to start sending data."},[$n.SELF_HOSTED]:{TITLE:"Self hosted",DESCRIPTION:"Full control and customization for advanced application monitoring."},[$n.MANAGED]:{TITLE:"Managed",DESCRIPTION:"Effortless monitoring with scalable performance management."}},wn=[{type:ir.CodeAttributes,icon:Xr(ir.CodeAttributes),label:"Code Attributes",description:"Collect code attributes containing payload data to traces.",docsEndpoint:"/pipeline/rules/codeattributes",docsDescription:'The "Code Attributes" rule can be used to add code attributes containing payload data to traces.',supportedLanguages:[Bo.Go,Bo.Python]},{type:ir.CustomInstrumentation,icon:Xr(ir.CustomInstrumentation),label:"Custom Instrumentation",description:"Define custom instrumentation for specific class and methods (i.e. for Java) or explicit symbol (i.e. for Golang).",docsEndpoint:"/pipeline/rules/custominstrumentation",docsDescription:'The "Custom Instrumentation" rule can be used to instrument a specific symbol (i.e. for Golang), or a class and method combination (i.e. for Java) for detailed tracing.',supportedLanguages:[Bo.Go,Bo.Java]},{type:ir.HeadersCollection,icon:Xr(ir.HeadersCollection),label:"Headers Collection",description:"Collect span attributes containing HTTP Headers data to traces.",docsEndpoint:"/pipeline/rules/headerscollection",docsDescription:'The "Headers Collection" rule can be used to add span attributes containing HTTP Headers data to traces.',supportedLanguages:[Bo.Go,Bo.Java,Bo.JavaScript]},{type:ir.PayloadCollection,icon:Xr(ir.PayloadCollection),label:"Payload Collection",description:"Collect span attributes containing payload data to traces.",docsEndpoint:"/pipeline/rules/payloadcollection",docsDescription:'The "Payload Collection" rule can be used to add span attributes containing payload data to traces.',supportedLanguages:[Bo.Go]}],Sn=[{id:hr.Logs,value:"Logs"},{id:hr.Metrics,value:"Metrics"},{id:hr.Traces,value:"Traces"}],Cn={[Bo.Go]:"Go",[Bo.Java]:"Java",[Bo.JavaScript]:"Node.js",[Bo.Python]:"Python",[Bo.DotNet]:".NET",[Bo.CSharp]:"C#",[Bo.CPlusPlus]:"C++",[Bo.Php]:"PHP",[Bo.Ruby]:"Ruby",[Bo.Rust]:"Rust",[Bo.Swift]:"Swift",[Bo.Elixir]:"Elixir",[Bo.MySql]:"MySQL",[Bo.Nginx]:"Nginx",[Bo.Postgres]:"PostgreSQL",[Bo.Redis]:"Redis",[Bo.Kafka]:"Kafka",[Bo.Ignored]:"Ignored",[Bo.Unknown]:"Unknown",[Bo.Processing]:"Processing",[Bo.NoContainers]:"No Containers",[Bo.NoRunningPods]:"No Running Pods"},kn=[{id:Bo.Go,value:Cn[Bo.Go],icon:zr(Bo.Go)},{id:Bo.Java,value:Cn[Bo.Java],icon:zr(Bo.Java)},{id:Bo.JavaScript,value:Cn[Bo.JavaScript],icon:zr(Bo.JavaScript)},{id:Bo.Python,value:Cn[Bo.Python],icon:zr(Bo.Python)},{id:Bo.Php,value:Cn[Bo.Php],icon:zr(Bo.Php)},{id:Bo.Ruby,value:Cn[Bo.Ruby],icon:zr(Bo.Ruby)},{id:Bo.Rust,value:Cn[Bo.Rust],icon:zr(Bo.Rust)},{id:Bo.DotNet,value:Cn[Bo.DotNet],icon:zr(Bo.DotNet)},{id:Bo.CSharp,value:Cn[Bo.CSharp],icon:zr(Bo.CSharp)},{id:Bo.CPlusPlus,value:Cn[Bo.CPlusPlus],icon:zr(Bo.CPlusPlus)},{id:Bo.Swift,value:Cn[Bo.Swift],icon:zr(Bo.Swift)},{id:Bo.Elixir,value:Cn[Bo.Elixir],icon:zr(Bo.Elixir)}],En={[Bo.Go]:{community:[{id:or.GolangCommunity,value:or.GolangCommunity,icon:zr(Bo.Go)}],enterprise:[{id:or.GolangEnterprise,value:or.GolangEnterprise,icon:zr(Bo.Go)}]},[Bo.JavaScript]:{community:[{id:or.NodejsCommunity,value:or.NodejsCommunity,icon:zr(Bo.JavaScript)}],enterprise:[{id:or.NodejsEnterprise,value:or.NodejsEnterprise,icon:zr(Bo.JavaScript)}]},[Bo.Python]:{community:[{id:or.PythonCommunity,value:or.PythonCommunity,icon:zr(Bo.Python)}],enterprise:[{id:or.PythonEnterprise,value:or.PythonEnterprise,icon:zr(Bo.Python)}]},[Bo.Java]:{community:[{id:or.JavaCommunity,value:or.JavaCommunity,icon:zr(Bo.Java)}],enterprise:[{id:or.JavaEnterprise,value:or.JavaEnterprise,icon:zr(Bo.Java)},{id:or.JavaEbpfInstrumentations,value:or.JavaEbpfInstrumentations,icon:zr(Bo.Java)}]},[Bo.DotNet]:{community:[{id:or.DotNetCommunity,value:or.DotNetCommunity,icon:zr(Bo.DotNet)}],enterprise:[{id:or.DotNetEnterprise,value:or.DotNetEnterprise,icon:zr(Bo.DotNet)}]},[Bo.Ruby]:{community:[{id:or.RubyCommunity,value:or.RubyCommunity,icon:zr(Bo.Ruby)}],enterprise:[{id:or.RubyEnterprise,value:or.RubyEnterprise,icon:zr(Bo.Ruby)}]},[Bo.Php]:{community:[{id:or.PhpCommunity,value:or.PhpCommunity,icon:zr(Bo.Php)}],enterprise:[]},[Bo.CSharp]:{community:[],enterprise:[{id:or.CPlusPlusEnterprise,value:or.CPlusPlusEnterprise,icon:zr(Bo.CSharp)}]},[Bo.MySql]:{community:[],enterprise:[{id:or.MySqlEnterprise,value:or.MySqlEnterprise,icon:zr(Bo.MySql)}]},[Bo.CPlusPlus]:{community:[],enterprise:[]},[Bo.Rust]:{community:[],enterprise:[]},[Bo.Swift]:{community:[],enterprise:[]},[Bo.Elixir]:{community:[],enterprise:[]},[Bo.Nginx]:{community:[],enterprise:[]},[Bo.Postgres]:{community:[],enterprise:[]},[Bo.Redis]:{community:[],enterprise:[]},[Bo.Kafka]:{community:[],enterprise:[]},[Bo.Ignored]:{community:[],enterprise:[]},[Bo.Unknown]:{community:[],enterprise:[]},[Bo.Processing]:{community:[],enterprise:[]},[Bo.NoContainers]:{community:[],enterprise:[]},[Bo.NoRunningPods]:{community:[],enterprise:[]}},An=6048e5,Dn=_t()(Ht(e=>({darkMode:!0,setDarkMode:t=>e({darkMode:t})}),{name:Cr.DARK_MODE,storage:"undefined"!=typeof window?Jt(()=>localStorage):void 0})),Tn={dataStreamsLoading:!1,dataStreams:[],selectedStreamName:vr},Nn=_t(e=>({...Tn,setDataStreamsLoading:t=>e({dataStreamsLoading:t}),setDataStreams:t=>e({dataStreams:t}),addDataStreams:t=>e(e=>{const o=[...e.dataStreams,...t].map(e=>[e.name,e]);return{dataStreams:Array.from(new Map(o).values())}}),removeDataStreams:t=>e(e=>({dataStreams:e.dataStreams.filter(e=>!t.find(t=>t.name===e.name))})),setSelectedStreamName:t=>e({selectedStreamName:t}),resetDataStreamStore:()=>e(Tn)})),In=_t(e=>({drawerType:null,drawerEntityId:null,setDrawerType:t=>e({drawerType:t}),setDrawerEntityId:t=>e({drawerEntityId:t})})),_n=_t(e=>({namespacesLoading:!1,namespaces:[],sourcesLoading:!1,sources:[],destinationsLoading:!1,destinations:[],actionsLoading:!1,actions:[],instrumentationRulesLoading:!1,instrumentationRules:[],setEntitiesLoading:(t,o)=>{const r=t===jo.Namespace?"namespacesLoading":t===jo.Source?"sourcesLoading":t===jo.Destination?"destinationsLoading":t===jo.Action?"actionsLoading":t===jo.InstrumentationRule?"instrumentationRulesLoading":"NONE";"NONE"!==r&&e({[r]:o})},setEntities:(t,o)=>{const r=t===jo.Namespace?"namespaces":t===jo.Source?"sources":t===jo.Destination?"destinations":t===jo.Action?"actions":t===jo.InstrumentationRule?"instrumentationRules":"NONE";"NONE"!==r&&e({[r]:o})},addEntities:(t,o)=>{const r=t===jo.Namespace?"namespaces":t===jo.Source?"sources":t===jo.Destination?"destinations":t===jo.Action?"actions":t===jo.InstrumentationRule?"instrumentationRules":"NONE";"NONE"!==r&&e(e=>{const t=[...e[r]],i=new Map;return t.forEach((e,t)=>{i.set(JSON.stringify(jr(e)),t)}),o.forEach(e=>{const o=JSON.stringify(jr(e)),r=i.get(o);void 0!==r?t[r]={...t[r],...e}:(i.set(o,t.length),t.push(e))}),{[r]:t}})},removeEntities:(t,o)=>{const r=t===jo.Namespace?"namespaces":t===jo.Source?"sources":t===jo.Destination?"destinations":t===jo.Action?"actions":t===jo.InstrumentationRule?"instrumentationRules":"NONE";"NONE"!==r&&e(e=>{const i=new Set;o.forEach(e=>{const o=t===jo.Source?JSON.stringify(jr(e)):String(e);i.add(o)});const n=e[r].filter(e=>{const o=t===jo.Source?JSON.stringify(jr(e)):String(jr(e));return!i.has(o)});return{[r]:n}})},resetEntityStore:()=>{e({namespacesLoading:!1,namespaces:[],sourcesLoading:!1,sources:[],destinationsLoading:!1,destinations:[],actionsLoading:!1,actions:[],instrumentationRulesLoading:!1,instrumentationRules:[]})}})),On=()=>({searchText:"",statuses:[],platformTypes:[],namespaces:[],kinds:[],monitors:[],languages:[],conditions:[],podsAgentInjectionStatus:[],errors:[],onlyErrors:!1}),Rn=_t(e=>({searchText:"",setSearchText:t=>e({searchText:t}),statuses:[],setStatuses:t=>e({statuses:t}),platformTypes:[],setPlatformTypes:t=>e({platformTypes:t}),namespaces:[],setNamespaces:t=>e({namespaces:t}),kinds:[],setKinds:t=>e({kinds:t}),monitors:[],setMonitors:t=>e({monitors:t}),languages:[],setLanguages:t=>e({languages:t}),conditions:[],setConditions:t=>e({conditions:t}),podsAgentInjectionStatus:[],setPodsAgentInjectionStatus:t=>e({podsAgentInjectionStatus:t}),errors:[],setErrors:t=>e({errors:t}),onlyErrors:!1,setOnlyErrors:t=>e({onlyErrors:t}),setAll:t=>e(t),clearAll:()=>e({searchText:"",statuses:[],platformTypes:[],namespaces:[],kinds:[],monitors:[],languages:[],conditions:[],podsAgentInjectionStatus:[],errors:[],onlyErrors:!1}),getEmptyState:On})),Fn=_t(e=>({currentModal:"",setCurrentModal:t=>e({currentModal:t})})),zn=_t((e,t)=>({notifications:[],addNotification:o=>{const r=new Date,i=`${r.getTime().toString()}${o.target?`#${o.target}`:""}`,{notifications:n}=t();n.some(e=>e.type===o.type&&e.title===o.title&&e.message===o.message&&!e.dismissed)||e(e=>({notifications:[{...o,id:i,time:r.toISOString(),dismissed:!1,seen:!1},...e.notifications]}))},markAsDismissed:t=>{e(e=>{const o=e.notifications.findIndex(e=>e.id===t);return-1!==o&&(e.notifications[o].dismissed=!0),{notifications:e.notifications}})},markAsSeen:t=>{e(e=>{const o=e.notifications.findIndex(e=>e.id===t);return-1!==o&&(e.notifications[o].seen=!0),{notifications:e.notifications}})},removeNotification:t=>{e(e=>{const o=e.notifications.findIndex(e=>e.id===t);return-1!==o&&e.notifications.splice(o,1),{notifications:e.notifications}})},removeNotifications:t=>{t&&e(e=>({notifications:e.notifications.filter(e=>e.id.split("#")[1]!==t)}))}}));var Ln;!function(e){e.Instrumenting="instrumenting",e.Uninstrumenting="uninstrumenting",e.BulkInstrumenting="bulk-instrumenting",e.BulkUninstrumenting="bulk-uninstrumenting",e.DownloadingDiagnose="downloading-diagnose"}(Ln||(Ln={}));const Pn=(e,t)=>({...t?.[e]||{total:0,current:0,percentage:0}}),Mn=e=>(e.total<e.current&&(e.total=e.current+1),e.percentage=Math.round(e.current/e.total*100),e),Bn=_t((e,t)=>({progress:{},setProgress:(o,r)=>{const i=t(),n=Pn();return"number"==typeof r.total&&(n.total=r.total),"number"==typeof r.current&&(n.current=r.current),Array.isArray(r.list)&&(n.list=r.list),e({progress:{...i.progress,[o]:Mn(n)}})},addProgress:(o,r,i)=>{const n=t(),a=Pn(o,n.progress);return a.current+=r,i&&(a.list=a.list?.map(e=>e.label===i.label?{...e,status:i.status}:e)),e({progress:{...n.progress,[o]:Mn(a)}})},resetProgress:t=>e({progress:{[t]:void 0}})})),Un=_t(e=>({selectedSources:{},setSelectedSources:t=>e({selectedSources:t}),resetSelectedState:()=>e(()=>({selectedSources:{},selectedConnection:null}))})),jn={configuredSources:{},configuredFutureApps:{},configuredDestinations:[],configuredDestinationsUpdateOnly:[]},Wn=(e,t)=>e.destinationType.type!==t.destinationType.type,Gn=_t(e=>({...jn,setConfiguredSources:t=>e({configuredSources:t}),setConfiguredFutureApps:t=>e({configuredFutureApps:t}),setConfiguredDestinations:t=>e({configuredDestinations:t}),addConfiguredDestination:t=>e(e=>({configuredDestinations:[...e.configuredDestinations,t]})),removeConfiguredDestination:t=>e(e=>({configuredDestinations:e.configuredDestinations.filter(e=>Wn(e,t))})),setConfiguredDestinationsUpdateOnly:t=>e({configuredDestinationsUpdateOnly:t}),addConfiguredDestinationUpdateOnly:t=>e(e=>{const o=[...e.configuredDestinationsUpdateOnly,t].map(e=>[e.id,e]);return{configuredDestinationsUpdateOnly:Array.from(new Map(o).values())}}),removeConfiguredDestinationUpdateOnly:t=>e(e=>({configuredDestinationsUpdateOnly:e.configuredDestinationsUpdateOnly.filter(e=>Wn(e,t))})),clearStore:()=>e(()=>({...jn}))})),Xn={v2:{text:{size:{xxxs:10,xxs:12,xs:14,s:16,m:20,l:24,xl:32,xxl:40,xxxl:48}},colors:{black:{500:"#151618"},white:{500:"#FFFFFF"},purple:{100:"#E1D4FF",200:"#C3AAFF",300:"#A57FFF",400:"#8854FF",500:"#6A2AFF",600:"#5925D0",700:"#4822A2",800:"#371E73",900:"#271A45"},green:{100:"#DCFDFA",200:"#B9FBF6",300:"#96FAF1",400:"#73F8ED",500:"#50F6E8",600:"#44C9BE",700:"#399D94",800:"#2D6F6A",900:"#224340"},grey:{25:"#F6F6F6",50:"#ECECED",100:"#DADADB",150:"#B8B8B8",200:"#B4B5B7",300:"#8F9093",400:"#696B6F",500:"#44464B",600:"#3A3C40",700:"#313236",800:"#282A2E",900:"#1B1B1C"},silver:{25:"#F6F6F7",50:"#EDEDEE",100:"#DADCDE",200:"#B6B8BD",300:"#91959C",400:"#6D717B",500:"#484E5A",600:"#3E424C",700:"#34383F",750:"#2C2F36",800:"#26292F",900:"#1F2125",1e3:"#1B1C1D"},red:{100:"#FFE5E7",200:"#FFCBD0",300:"#FFB0B8",400:"#FF96A1",500:"#FF7C89",600:"#D06772",700:"#A2535B",800:"#733F44",900:"#452B2D",1e3:"#2E2022"},blue:{100:"#EBF0FA",200:"#D6E1F4",300:"#ADC3EA",400:"#84A4DF",500:"#5C86D5",600:"#3368CA",700:"#2D57A6",800:"#274782",900:"#21375E",1e3:"#1C273A"},yellow:{100:"#FFFBF1",200:"#FFF7E2",300:"#FFEFC6",400:"#FFE7A9",500:"#FFDF8D",600:"#FFD770",700:"#D0B05E",800:"#A28A4C",900:"#73633A",1e3:"#453D28"},beige:{600:"#EEC990"},pink:{600:"#F576A2"},orange:{600:"#F29142"}}},colors:{majestic_blue:"#444AD9",majestic_blue_soft:"#6C7AE8",orange_og:"#FE9239",orange_soft:"#FFB160",dark_red:"#802828",darker_red:"#611F1F",darkest_red:"#281515",darkest_red_hover:"#351515",dark_green:"#2D4323"},text:{},font_family:{primary:"Inter, sans-serif",secondary:"Kode Mono, sans-serif",code:"IBM Plex Mono, monospace"}},Vn={v2:Xn.v2,darkMode:!0,colors:{...Xn.colors,primary:"#111111",secondary:"#F9F9F9",border:"#525252",dark_grey:"#151515",translucent_bg:"#1A1A1A",dropdown_bg:"#242424",dropdown_bg_2:"#333333",warning:"#472300",error:"#431919",success:"#172013",info:"#242424",default:"#181944"},text:{white:"#FFFFFF",primary:"#111111",secondary:"#F9F9F9",grey:"#B8B8B8",dark_grey:"#8F8F8F",darker_grey:"#7A7A7A",light_grey:"#CCD0D2",dark_button:"#0A1824",warning:"#E9CF35",warning_secondary:"#FFA349",error:"#EF7676",error_secondary:"#DB5151",success:"#81AF65",success_secondary:"#51DB51",info:"#B8B8B8",info_secondary:"#CCDDDD",default:"#AABEF7",default_secondary:"#8CBEFF"},font_family:Xn.font_family},Hn={v2:Xn.v2,darkMode:!1,colors:{...Xn.colors,primary:"#EEEEEE",secondary:"#060606",border:"#ADADAD",dark_grey:"#EAEAEA",translucent_bg:"#E5E5E5",dropdown_bg:"#DBDBDB",dropdown_bg_2:"#CCCCCC",warning:"#F6F092",error:"#FACECE",success:"#C8DEB8",info:"#E0E0E0",default:"#CAD9FB"},text:{white:"#FFFFFF",primary:"#EEEEEE",secondary:"#060606",grey:"#474747",dark_grey:"#707070",darker_grey:"#858585",light_grey:"#332F2D",dark_button:"#F5E7DB",warning:"#A56F12",warning_secondary:"#CA9416",error:"#B63A3A",error_secondary:"#DB5151",success:"#4E763A",success_secondary:"#67964C",info:"#525252",info_secondary:"#7A7A7A",default:"#444AD9",default_secondary:"#6C7AE8"},font_family:Xn.font_family},Jn=e=>e?Vn:Hn;var Kn=Object.freeze({__proto__:null,baseTheme:Xn,darkModeTheme:Vn,getTheme:Jn,lightModeTheme:Hn});Kt('@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");@import url("https://fonts.googleapis.com/css2?family=Kode+Mono:wght@100;200;300;400;500;600;700&display=swap");@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;700&display=swap");@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");*{-ms-overflow-style:none;scrollbar-width:none}::-webkit-scrollbar{display:none}*{animation-duration:.3s;animation-fill-mode:forwards;transition:all .3s}input{all:unset}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:focus,input:-webkit-autofill:hover{-webkit-transition:all 50000s ease-in-out 0s;transition:all 50000s ease-in-out 0s}');const qn=({children:e})=>{const{darkMode:t}=Dn();return Ot(eo,{theme:Jn(t),children:e})},Yn={100:"FF","099":"FC","098":"FA","097":"F7","096":"F5","095":"F2","094":"F0","093":"ED","092":"EB","091":"E8","090":"E6","089":"E3","088":"E0","087":"DE","086":"DB","085":"D9","084":"D6","083":"D4","082":"D1","081":"CF","080":"CC","079":"C9","078":"C7","077":"C4","076":"C2","075":"BF","074":"BD","073":"BA","072":"B8","071":"B5","070":"B3","069":"B0","068":"AD","067":"AB","066":"A8","065":"A6","064":"A3","063":"A1","062":"9E","061":"9C","060":"99","059":"96","058":"94","057":"91","056":"8F","055":"8C","054":"8A","053":"87","052":"85","051":"82","050":"80","049":"7D","048":"7A","047":"78","046":"75","045":"73","044":"70","043":"6E","042":"6B","041":"69","040":"66","039":"63","038":"61","037":"5E","036":"5C","035":"59","034":"57","033":"54","032":"52","031":"4F","030":"4D","029":"4A","028":"47","027":"45","026":"42","025":"40","024":"3D","023":"3B","022":"38","021":"36","020":"33","019":"30","018":"2E","017":"2B","016":"29","015":"26","014":"24","013":"21","012":"1F","011":"1C","010":"1A","009":"17","008":"14","007":"12","006":"0F","005":"0D","004":"0A","003":"08","002":"05","001":"03","000":"00"};var Qn=Object.freeze({__proto__:null,hex:Yn});const Zn={in:{left:to`
215
+ `,hn=(e,t)=>t?e.reduce((e,o)=>{if(o.items){const i=hn(o.items,t);i.length&&e.push({...o,items:i})}else o.label.toLowerCase().includes(t.toLowerCase())&&e.push(o);return e},[]):e,mn=({placeholder:e="Type to search...",options:t,selectedOption:o,onOptionSelect:i,defaultText:r,onTextChange:n,style:a,disabled:s,errorMessage:l,...c})=>{const[d,p]=Pt(o?.label||r||""),[u,h]=Pt(hn(t,d)),[m,g]=Pt(!1);Pt(-1),Mt(()=>h(hn(t,d)),[t]);const f=o?.icon,x=e=>{e&&(p(e.label),n?.(e.label)),g(!e),i?.(e)};return Rt(en,{style:a,children:[Rt(tn,{$hasError:!!l,children:[f&&Ot(f,{}),Ot(on,{type:"text",value:d,placeholder:e,onChange:e=>{e.stopPropagation();const o=e.target.value,i=hn(t,o),r=1===i.length&&i[0].label===o?i[0]:void 0;p(o),n?.(o),h(i),x(r)},onKeyDown:e=>{["Enter"].includes(e.key)||e.stopPropagation()},disabled:s,onBlur:()=>!s&&g(!1),onFocus:()=>!s&&g(!0),...c})]}),m&&u.length?Ot(rn,{children:u.map(e=>Ot(gn,{option:e,onClick:x},e.type||e.label))}):null,l&&Ot(Zr,{children:l})]})},gn=({option:e,renderIcon:t=!0,onClick:o})=>{const i=!!e.items&&e.items.length>0,r=e.icon;return Rt(nn,{"data-id":`option-${e.type||e.label}`,$isList:i,onMouseDown:()=>i?null:o(e),children:[r&&t&&Ot(r,{}),Rt(an,{children:[Rt(cn,{children:[Ot(dn,{children:e.label}),Ot(pn,{children:e.description})]}),i&&Ot(un,{children:e.items?.map(e=>Rt(sn,{children:[Ot(ln,{}),Ot(gn,{option:e,renderIcon:!1,onClick:o})]},e.type||e.label))})]})]})},fn=_t(e=>({activeNodeType:null,activeNodeId:null,setActiveNodeType:t=>e({activeNodeType:t}),setActiveNodeId:t=>e({activeNodeId:t})})),xn=[{type:Do.K8sAttributes,icon:Oi(Do.K8sAttributes),label:"Kubernetes Attributes",description:"Add dynamic k8s resource attributes to your data.",allowedSignals:[hi.Traces,hi.Metrics,hi.Logs],docsEndpoint:"/pipeline/actions/attributes/k8sattributes",docsDescription:"This action adds kubernetes related resource attributes to spans, metrics data points and log records."},{type:Do.AddClusterInfo,icon:Oi(Do.AddClusterInfo),label:"Add Cluster Info",description:"Add static cluster-scoped attributes to your data.",allowedSignals:[hi.Traces,hi.Metrics,hi.Logs],docsEndpoint:"/pipeline/actions/attributes/addclusterinfo",docsDescription:"This action adds static resource attributes to spans, metrics data points and log records. It is useful to add cluster-wide attributes to all telemetry signals."},{type:Do.DeleteAttributes,icon:Oi(Do.DeleteAttributes),label:"Delete Attribute",description:"Delete attributes from logs, metrics, and traces.",allowedSignals:[hi.Traces,hi.Metrics,hi.Logs],docsEndpoint:"/pipeline/actions/attributes/deleteattribute",docsDescription:"This action will delete the specified attributes from all telemetry signals that are specified in the signals field, regardless of the source, or any other condition."},{type:Do.RenameAttributes,icon:Oi(Do.RenameAttributes),label:"Rename Attribute",description:"Rename attributes in logs, metrics, and traces.",allowedSignals:[hi.Traces,hi.Metrics,hi.Logs],docsEndpoint:"/pipeline/actions/attributes/renameattribute",docsDescription:"This action will rename the specified attributes from all telemetry signals that are specified in the signals field, regardless of the source, or any other condition."},{type:Do.PiiMasking,icon:Oi(Do.PiiMasking),label:"PII Masking",description:"Mask PII data in your traces.",allowedSignals:[hi.Traces],docsEndpoint:"/pipeline/actions/attributes/piimasking",docsDescription:"This action processes a list of PII categories to be masked from the traces."},{type:Do.URLTemplatization,icon:Oi(Do.URLTemplatization),label:"URL Templatization",description:"Replace dynamic URL path segments with named placeholders to reduce span cardinality.",allowedSignals:[hi.Traces],docsEndpoint:"/pipeline/actions/attributes/urltemplatization",docsDescription:"Normalizes HTTP URL paths by replacing dynamic segments (IDs, UUIDs, dates) with named placeholders (e.g. /user/1234 → /user/{id}). Reduces cardinality of http.route and span names, improving usability in telemetry backends.",minVersion:Nr("v1.21.0")}],yn=[{type:Do.ErrorSampler,icon:Oi(Ao.Samplers),label:"Error Sampler",description:"Sample errors based on percentage.",allowedSignals:[hi.Traces],docsEndpoint:"/pipeline/actions/sampling/errorsampler",docsDescription:"This action is a Global Action that supports error sampling by filtering out non-error traces."},{type:Do.LatencySampler,icon:Oi(Ao.Samplers),label:"Latency Sampler",description:"Add latency to your traces.",allowedSignals:[hi.Traces],docsEndpoint:"/pipeline/actions/sampling/latencysampler",docsDescription:"This action is an Endpoint Action that samples traces based on their duration for a specific service and endpoint (HTTP route) filter."},{type:Do.ProbabilisticSampler,icon:Oi(Ao.Samplers),label:"Probabilistic Sampler",description:"Sample traces based on percentage.",allowedSignals:[hi.Traces],docsEndpoint:"/pipeline/actions/sampling/probabilisticsampler",docsDescription:"This action supports probabilistic sampling based on a configured sampling percentage applied to the TraceID."},{type:Do.ServiceNameSampler,icon:Oi(Ao.Samplers),label:"Service Name Sampler",description:"Sample traces based on the presence of specified services within a trace.",allowedSignals:[hi.Traces],docsEndpoint:"/pipeline/actions/sampling/servicenamesampler",docsDescription:"This action supports service name sampling based on the presence of specified services within a trace."},{type:Do.SpanAttributeSampler,icon:Oi(Ao.Samplers),label:"Span Attributes Sampler",description:"Sample traces based on the presence or value of specific attributes within a trace.",allowedSignals:[hi.Traces],docsEndpoint:"/pipeline/actions/sampling/spanattributesampler",docsDescription:"This action supports service name sampling based on the presence or value of specific attributes within a trace."}],bn=[{label:"Attributes",icon:Oi(Ao.Attributes),items:xn},{label:"Samplers",icon:Oi(Ao.Samplers),items:yn}];var $n;!function(e){e.ALL="all",e.UNSAVED="unsaved",e.EXISTS="exists",e.DETECTED="detected",e.SELF_HOSTED="self-hosted",e.MANAGED="managed"}($n||($n={}));const vn={[$n.ALL]:{TITLE:"All",DESCRIPTION:"All destinations"},[$n.UNSAVED]:{TITLE:"Selected",DESCRIPTION:"These are destinations that you have not yet saved."},[$n.EXISTS]:{TITLE:"Already configured",DESCRIPTION:"These are destinations that you have already configured in other data-streams and can reuse them."},[$n.DETECTED]:{TITLE:"Detected by system",DESCRIPTION:"Odigos found these destinations in your cluster and pre-filled their details. Review and enable them to start sending data."},[$n.SELF_HOSTED]:{TITLE:"Self hosted",DESCRIPTION:"Full control and customization for advanced application monitoring."},[$n.MANAGED]:{TITLE:"Managed",DESCRIPTION:"Effortless monitoring with scalable performance management."}},wn=[{type:ri.CodeAttributes,icon:Hi(ri.CodeAttributes),label:"Code Attributes",description:"Collect code attributes containing payload data to traces.",docsEndpoint:"/pipeline/rules/codeattributes",docsDescription:'The "Code Attributes" rule can be used to add code attributes containing payload data to traces.',supportedLanguages:[Bo.Go,Bo.Python]},{type:ri.CustomInstrumentation,icon:Hi(ri.CustomInstrumentation),label:"Custom Instrumentation",description:"Define custom instrumentation for specific class and methods (i.e. for Java) or explicit symbol (i.e. for Golang).",docsEndpoint:"/pipeline/rules/custominstrumentation",docsDescription:'The "Custom Instrumentation" rule can be used to instrument a specific symbol (i.e. for Golang), or a class and method combination (i.e. for Java) for detailed tracing.',supportedLanguages:[Bo.Go,Bo.Java]},{type:ri.HeadersCollection,icon:Hi(ri.HeadersCollection),label:"Headers Collection",description:"Collect span attributes containing HTTP Headers data to traces.",docsEndpoint:"/pipeline/rules/headerscollection",docsDescription:'The "Headers Collection" rule can be used to add span attributes containing HTTP Headers data to traces.',supportedLanguages:[Bo.Go,Bo.Java,Bo.JavaScript]},{type:ri.PayloadCollection,icon:Hi(ri.PayloadCollection),label:"Payload Collection",description:"Collect span attributes containing payload data to traces.",docsEndpoint:"/pipeline/rules/payloadcollection",docsDescription:'The "Payload Collection" rule can be used to add span attributes containing payload data to traces.',supportedLanguages:[Bo.Go]}],Sn=[{id:hi.Logs,value:"Logs"},{id:hi.Metrics,value:"Metrics"},{id:hi.Traces,value:"Traces"}],Cn={[Bo.Go]:"Go",[Bo.Java]:"Java",[Bo.JavaScript]:"Node.js",[Bo.Python]:"Python",[Bo.DotNet]:".NET",[Bo.CSharp]:"C#",[Bo.CPlusPlus]:"C++",[Bo.Php]:"PHP",[Bo.Ruby]:"Ruby",[Bo.Rust]:"Rust",[Bo.Swift]:"Swift",[Bo.Elixir]:"Elixir",[Bo.MySql]:"MySQL",[Bo.Nginx]:"Nginx",[Bo.Postgres]:"PostgreSQL",[Bo.Redis]:"Redis",[Bo.Kafka]:"Kafka",[Bo.Ignored]:"Ignored",[Bo.Unknown]:"Unknown",[Bo.Processing]:"Processing",[Bo.NoContainers]:"No Containers",[Bo.NoRunningPods]:"No Running Pods"},kn=[{id:Bo.Go,value:Cn[Bo.Go],icon:zi(Bo.Go)},{id:Bo.Java,value:Cn[Bo.Java],icon:zi(Bo.Java)},{id:Bo.JavaScript,value:Cn[Bo.JavaScript],icon:zi(Bo.JavaScript)},{id:Bo.Python,value:Cn[Bo.Python],icon:zi(Bo.Python)},{id:Bo.Php,value:Cn[Bo.Php],icon:zi(Bo.Php)},{id:Bo.Ruby,value:Cn[Bo.Ruby],icon:zi(Bo.Ruby)},{id:Bo.Rust,value:Cn[Bo.Rust],icon:zi(Bo.Rust)},{id:Bo.DotNet,value:Cn[Bo.DotNet],icon:zi(Bo.DotNet)},{id:Bo.CSharp,value:Cn[Bo.CSharp],icon:zi(Bo.CSharp)},{id:Bo.CPlusPlus,value:Cn[Bo.CPlusPlus],icon:zi(Bo.CPlusPlus)},{id:Bo.Swift,value:Cn[Bo.Swift],icon:zi(Bo.Swift)},{id:Bo.Elixir,value:Cn[Bo.Elixir],icon:zi(Bo.Elixir)}],En={[Bo.Go]:{community:[{id:oi.GolangCommunity,value:oi.GolangCommunity,icon:zi(Bo.Go)}],enterprise:[{id:oi.GolangEnterprise,value:oi.GolangEnterprise,icon:zi(Bo.Go)}]},[Bo.JavaScript]:{community:[{id:oi.NodejsCommunity,value:oi.NodejsCommunity,icon:zi(Bo.JavaScript)}],enterprise:[{id:oi.NodejsEnterprise,value:oi.NodejsEnterprise,icon:zi(Bo.JavaScript)}]},[Bo.Python]:{community:[{id:oi.PythonCommunity,value:oi.PythonCommunity,icon:zi(Bo.Python)}],enterprise:[{id:oi.PythonEnterprise,value:oi.PythonEnterprise,icon:zi(Bo.Python)}]},[Bo.Java]:{community:[{id:oi.JavaCommunity,value:oi.JavaCommunity,icon:zi(Bo.Java)}],enterprise:[{id:oi.JavaEnterprise,value:oi.JavaEnterprise,icon:zi(Bo.Java)},{id:oi.JavaEbpfInstrumentations,value:oi.JavaEbpfInstrumentations,icon:zi(Bo.Java)}]},[Bo.DotNet]:{community:[{id:oi.DotNetCommunity,value:oi.DotNetCommunity,icon:zi(Bo.DotNet)}],enterprise:[{id:oi.DotNetEnterprise,value:oi.DotNetEnterprise,icon:zi(Bo.DotNet)}]},[Bo.Ruby]:{community:[{id:oi.RubyCommunity,value:oi.RubyCommunity,icon:zi(Bo.Ruby)}],enterprise:[{id:oi.RubyEnterprise,value:oi.RubyEnterprise,icon:zi(Bo.Ruby)}]},[Bo.Php]:{community:[{id:oi.PhpCommunity,value:oi.PhpCommunity,icon:zi(Bo.Php)}],enterprise:[]},[Bo.CSharp]:{community:[],enterprise:[{id:oi.CPlusPlusEnterprise,value:oi.CPlusPlusEnterprise,icon:zi(Bo.CSharp)}]},[Bo.MySql]:{community:[],enterprise:[{id:oi.MySqlEnterprise,value:oi.MySqlEnterprise,icon:zi(Bo.MySql)}]},[Bo.CPlusPlus]:{community:[],enterprise:[]},[Bo.Rust]:{community:[],enterprise:[]},[Bo.Swift]:{community:[],enterprise:[]},[Bo.Elixir]:{community:[],enterprise:[]},[Bo.Nginx]:{community:[],enterprise:[]},[Bo.Postgres]:{community:[],enterprise:[]},[Bo.Redis]:{community:[],enterprise:[]},[Bo.Kafka]:{community:[],enterprise:[]},[Bo.Ignored]:{community:[],enterprise:[]},[Bo.Unknown]:{community:[],enterprise:[]},[Bo.Processing]:{community:[],enterprise:[]},[Bo.NoContainers]:{community:[],enterprise:[]},[Bo.NoRunningPods]:{community:[],enterprise:[]}},An=6048e5,Dn=_t()(Vt(e=>({darkMode:!0,setDarkMode:t=>e({darkMode:t})}),{name:Ci.DARK_MODE,storage:"undefined"!=typeof window?Jt(()=>localStorage):void 0})),Tn={dataStreamsLoading:!1,dataStreams:[],selectedStreamName:vi},Nn=_t(e=>({...Tn,setDataStreamsLoading:t=>e({dataStreamsLoading:t}),setDataStreams:t=>e({dataStreams:t}),addDataStreams:t=>e(e=>{const o=[...e.dataStreams,...t].map(e=>[e.name,e]);return{dataStreams:Array.from(new Map(o).values())}}),removeDataStreams:t=>e(e=>({dataStreams:e.dataStreams.filter(e=>!t.find(t=>t.name===e.name))})),setSelectedStreamName:t=>e({selectedStreamName:t}),resetDataStreamStore:()=>e(Tn)})),In=_t(e=>({drawerType:null,drawerEntityId:null,setDrawerType:t=>e({drawerType:t}),setDrawerEntityId:t=>e({drawerEntityId:t})})),_n=_t(e=>({namespacesLoading:!1,namespaces:[],sourcesLoading:!1,sources:[],destinationsLoading:!1,destinations:[],actionsLoading:!1,actions:[],instrumentationRulesLoading:!1,instrumentationRules:[],setEntitiesLoading:(t,o)=>{const i=t===jo.Namespace?"namespacesLoading":t===jo.Source?"sourcesLoading":t===jo.Destination?"destinationsLoading":t===jo.Action?"actionsLoading":t===jo.InstrumentationRule?"instrumentationRulesLoading":"NONE";"NONE"!==i&&e({[i]:o})},setEntities:(t,o)=>{const i=t===jo.Namespace?"namespaces":t===jo.Source?"sources":t===jo.Destination?"destinations":t===jo.Action?"actions":t===jo.InstrumentationRule?"instrumentationRules":"NONE";"NONE"!==i&&e({[i]:o})},addEntities:(t,o)=>{const i=t===jo.Namespace?"namespaces":t===jo.Source?"sources":t===jo.Destination?"destinations":t===jo.Action?"actions":t===jo.InstrumentationRule?"instrumentationRules":"NONE";"NONE"!==i&&e(e=>{const t=[...e[i]],r=new Map;return t.forEach((e,t)=>{r.set(JSON.stringify(ji(e)),t)}),o.forEach(e=>{const o=JSON.stringify(ji(e)),i=r.get(o);void 0!==i?t[i]={...t[i],...e}:(r.set(o,t.length),t.push(e))}),{[i]:t}})},removeEntities:(t,o)=>{const i=t===jo.Namespace?"namespaces":t===jo.Source?"sources":t===jo.Destination?"destinations":t===jo.Action?"actions":t===jo.InstrumentationRule?"instrumentationRules":"NONE";"NONE"!==i&&e(e=>{const r=new Set;o.forEach(e=>{const o=t===jo.Source?JSON.stringify(ji(e)):String(e);r.add(o)});const n=e[i].filter(e=>{const o=t===jo.Source?JSON.stringify(ji(e)):String(ji(e));return!r.has(o)});return{[i]:n}})},resetEntityStore:()=>{e({namespacesLoading:!1,namespaces:[],sourcesLoading:!1,sources:[],destinationsLoading:!1,destinations:[],actionsLoading:!1,actions:[],instrumentationRulesLoading:!1,instrumentationRules:[]})}})),On=()=>({searchText:"",statuses:[],platformTypes:[],namespaces:[],kinds:[],monitors:[],languages:[],conditions:[],podsAgentInjectionStatus:[],errors:[],onlyErrors:!1}),Rn=_t(e=>({searchText:"",setSearchText:t=>e({searchText:t}),statuses:[],setStatuses:t=>e({statuses:t}),platformTypes:[],setPlatformTypes:t=>e({platformTypes:t}),namespaces:[],setNamespaces:t=>e({namespaces:t}),kinds:[],setKinds:t=>e({kinds:t}),monitors:[],setMonitors:t=>e({monitors:t}),languages:[],setLanguages:t=>e({languages:t}),conditions:[],setConditions:t=>e({conditions:t}),podsAgentInjectionStatus:[],setPodsAgentInjectionStatus:t=>e({podsAgentInjectionStatus:t}),errors:[],setErrors:t=>e({errors:t}),onlyErrors:!1,setOnlyErrors:t=>e({onlyErrors:t}),setAll:t=>e(t),clearAll:()=>e({searchText:"",statuses:[],platformTypes:[],namespaces:[],kinds:[],monitors:[],languages:[],conditions:[],podsAgentInjectionStatus:[],errors:[],onlyErrors:!1}),getEmptyState:On})),Fn=_t(e=>({currentModal:"",setCurrentModal:t=>e({currentModal:t})})),zn=_t((e,t)=>({notifications:[],addNotification:o=>{const i=new Date,r=`${i.getTime().toString()}${o.target?`#${o.target}`:""}`,{notifications:n}=t();n.some(e=>e.type===o.type&&e.title===o.title&&e.message===o.message&&!e.dismissed)||e(e=>({notifications:[{...o,id:r,time:i.toISOString(),dismissed:!1,seen:!1},...e.notifications]}))},markAsDismissed:t=>{e(e=>{const o=e.notifications.findIndex(e=>e.id===t);return-1!==o&&(e.notifications[o].dismissed=!0),{notifications:e.notifications}})},markAsSeen:t=>{e(e=>{const o=e.notifications.findIndex(e=>e.id===t);return-1!==o&&(e.notifications[o].seen=!0),{notifications:e.notifications}})},removeNotification:t=>{e(e=>{const o=e.notifications.findIndex(e=>e.id===t);return-1!==o&&e.notifications.splice(o,1),{notifications:e.notifications}})},removeNotifications:t=>{t&&e(e=>({notifications:e.notifications.filter(e=>e.id.split("#")[1]!==t)}))}}));var Ln;!function(e){e.Instrumenting="instrumenting",e.Uninstrumenting="uninstrumenting",e.BulkInstrumenting="bulk-instrumenting",e.BulkUninstrumenting="bulk-uninstrumenting",e.DownloadingDiagnose="downloading-diagnose"}(Ln||(Ln={}));const Pn=(e,t)=>({...t?.[e]||{total:0,current:0,percentage:0}}),Mn=e=>(e.total<e.current&&(e.total=e.current+1),e.percentage=Math.round(e.current/e.total*100),e),Bn=_t((e,t)=>({progress:{},setProgress:(o,i)=>{const r=t(),n=Pn();return"number"==typeof i.total&&(n.total=i.total),"number"==typeof i.current&&(n.current=i.current),Array.isArray(i.list)&&(n.list=i.list),e({progress:{...r.progress,[o]:Mn(n)}})},addProgress:(o,i,r)=>{const n=t(),a=Pn(o,n.progress);return a.current+=i,r&&(a.list=a.list?.map(e=>e.label===r.label?{...e,status:r.status}:e)),e({progress:{...n.progress,[o]:Mn(a)}})},resetProgress:t=>e({progress:{[t]:void 0}})})),Un=_t(e=>({selectedSources:{},setSelectedSources:t=>e({selectedSources:t}),resetSelectedState:()=>e(()=>({selectedSources:{},selectedConnection:null}))})),jn={configuredSources:{},configuredFutureApps:{},configuredDestinations:[],configuredDestinationsUpdateOnly:[]},Wn=(e,t)=>e.destinationType.type!==t.destinationType.type,Gn=_t(e=>({...jn,setConfiguredSources:t=>e({configuredSources:t}),setConfiguredFutureApps:t=>e({configuredFutureApps:t}),setConfiguredDestinations:t=>e({configuredDestinations:t}),addConfiguredDestination:t=>e(e=>({configuredDestinations:[...e.configuredDestinations,t]})),removeConfiguredDestination:t=>e(e=>({configuredDestinations:e.configuredDestinations.filter(e=>Wn(e,t))})),setConfiguredDestinationsUpdateOnly:t=>e({configuredDestinationsUpdateOnly:t}),addConfiguredDestinationUpdateOnly:t=>e(e=>{const o=[...e.configuredDestinationsUpdateOnly,t].map(e=>[e.id,e]);return{configuredDestinationsUpdateOnly:Array.from(new Map(o).values())}}),removeConfiguredDestinationUpdateOnly:t=>e(e=>({configuredDestinationsUpdateOnly:e.configuredDestinationsUpdateOnly.filter(e=>Wn(e,t))})),clearStore:()=>e(()=>({...jn}))})),Hn={v2:{text:{size:{xxxs:10,xxs:12,xs:14,s:16,m:20,l:24,xl:32,xxl:40,xxxl:48}},colors:{black:{500:"#151618"},white:{500:"#FFFFFF"},purple:{100:"#E1D4FF",200:"#C3AAFF",300:"#A57FFF",400:"#8854FF",500:"#6A2AFF",600:"#5925D0",700:"#4822A2",800:"#371E73",900:"#271A45"},green:{100:"#DCFDFA",200:"#B9FBF6",300:"#96FAF1",400:"#73F8ED",500:"#50F6E8",600:"#44C9BE",700:"#399D94",800:"#2D6F6A",900:"#224340"},grey:{25:"#F6F6F6",50:"#ECECED",100:"#DADADB",150:"#B8B8B8",200:"#B4B5B7",300:"#8F9093",400:"#696B6F",500:"#44464B",600:"#3A3C40",700:"#313236",800:"#282A2E",900:"#1B1B1C"},silver:{25:"#F6F6F7",50:"#EDEDEE",100:"#DADCDE",200:"#B6B8BD",300:"#91959C",400:"#6D717B",500:"#484E5A",600:"#3E424C",700:"#34383F",750:"#2C2F36",800:"#26292F",900:"#1F2125",1e3:"#1B1C1D"},red:{100:"#FFE5E7",200:"#FFCBD0",300:"#FFB0B8",400:"#FF96A1",500:"#FF7C89",600:"#D06772",700:"#A2535B",800:"#733F44",900:"#452B2D",1e3:"#2E2022"},blue:{100:"#EBF0FA",200:"#D6E1F4",300:"#ADC3EA",400:"#84A4DF",500:"#5C86D5",600:"#3368CA",700:"#2D57A6",800:"#274782",900:"#21375E",1e3:"#1C273A"},yellow:{100:"#FFFBF1",200:"#FFF7E2",300:"#FFEFC6",400:"#FFE7A9",500:"#FFDF8D",600:"#FFD770",700:"#D0B05E",800:"#A28A4C",900:"#73633A",1e3:"#453D28"},beige:{600:"#EEC990"},pink:{600:"#F576A2"},orange:{600:"#F29142"}}},colors:{majestic_blue:"#444AD9",majestic_blue_soft:"#6C7AE8",orange_og:"#FE9239",orange_soft:"#FFB160",dark_red:"#802828",darker_red:"#611F1F",darkest_red:"#281515",darkest_red_hover:"#351515",dark_green:"#2D4323"},text:{},font_family:{primary:"Inter, sans-serif",secondary:"Kode Mono, sans-serif",code:"IBM Plex Mono, monospace"}},Xn={v2:Hn.v2,darkMode:!0,colors:{...Hn.colors,primary:"#111111",secondary:"#F9F9F9",border:"#525252",dark_grey:"#151515",translucent_bg:"#1A1A1A",dropdown_bg:"#242424",dropdown_bg_2:"#333333",warning:"#472300",error:"#431919",success:"#172013",info:"#242424",default:"#181944"},text:{white:"#FFFFFF",primary:"#111111",secondary:"#F9F9F9",grey:"#B8B8B8",dark_grey:"#8F8F8F",darker_grey:"#7A7A7A",light_grey:"#CCD0D2",dark_button:"#0A1824",warning:"#E9CF35",warning_secondary:"#FFA349",error:"#EF7676",error_secondary:"#DB5151",success:"#81AF65",success_secondary:"#51DB51",info:"#B8B8B8",info_secondary:"#CCDDDD",default:"#AABEF7",default_secondary:"#8CBEFF"},font_family:Hn.font_family},Vn={v2:Hn.v2,darkMode:!1,colors:{...Hn.colors,primary:"#EEEEEE",secondary:"#060606",border:"#ADADAD",dark_grey:"#EAEAEA",translucent_bg:"#E5E5E5",dropdown_bg:"#DBDBDB",dropdown_bg_2:"#CCCCCC",warning:"#F6F092",error:"#FACECE",success:"#C8DEB8",info:"#E0E0E0",default:"#CAD9FB"},text:{white:"#FFFFFF",primary:"#EEEEEE",secondary:"#060606",grey:"#474747",dark_grey:"#707070",darker_grey:"#858585",light_grey:"#332F2D",dark_button:"#F5E7DB",warning:"#A56F12",warning_secondary:"#CA9416",error:"#B63A3A",error_secondary:"#DB5151",success:"#4E763A",success_secondary:"#67964C",info:"#525252",info_secondary:"#7A7A7A",default:"#444AD9",default_secondary:"#6C7AE8"},font_family:Hn.font_family},Jn=e=>e?Xn:Vn;var Kn=Object.freeze({__proto__:null,baseTheme:Hn,darkModeTheme:Xn,getTheme:Jn,lightModeTheme:Vn});Kt('@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");@import url("https://fonts.googleapis.com/css2?family=Kode+Mono:wght@100;200;300;400;500;600;700&display=swap");@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;700&display=swap");@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");*{-ms-overflow-style:none;scrollbar-width:none}::-webkit-scrollbar{display:none}*{animation-duration:.3s;animation-fill-mode:forwards;transition:all .3s}input{all:unset}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:focus,input:-webkit-autofill:hover{-webkit-transition:all 50000s ease-in-out 0s;transition:all 50000s ease-in-out 0s}');const qn=({children:e})=>{const{darkMode:t}=Dn();return Ot(eo,{theme:Jn(t),children:e})},Yn={100:"FF","099":"FC","098":"FA","097":"F7","096":"F5","095":"F2","094":"F0","093":"ED","092":"EB","091":"E8","090":"E6","089":"E3","088":"E0","087":"DE","086":"DB","085":"D9","084":"D6","083":"D4","082":"D1","081":"CF","080":"CC","079":"C9","078":"C7","077":"C4","076":"C2","075":"BF","074":"BD","073":"BA","072":"B8","071":"B5","070":"B3","069":"B0","068":"AD","067":"AB","066":"A8","065":"A6","064":"A3","063":"A1","062":"9E","061":"9C","060":"99","059":"96","058":"94","057":"91","056":"8F","055":"8C","054":"8A","053":"87","052":"85","051":"82","050":"80","049":"7D","048":"7A","047":"78","046":"75","045":"73","044":"70","043":"6E","042":"6B","041":"69","040":"66","039":"63","038":"61","037":"5E","036":"5C","035":"59","034":"57","033":"54","032":"52","031":"4F","030":"4D","029":"4A","028":"47","027":"45","026":"42","025":"40","024":"3D","023":"3B","022":"38","021":"36","020":"33","019":"30","018":"2E","017":"2B","016":"29","015":"26","014":"24","013":"21","012":"1F","011":"1C","010":"1A","009":"17","008":"14","007":"12","006":"0F","005":"0D","004":"0A","003":"08","002":"05","001":"03","000":"00"};var Qn=Object.freeze({__proto__:null,hex:Yn});const Zn={in:{left:to`
216
216
  from { transform: translateX(-100%); }
217
217
  to { transform: translateX(0); }
218
218
  `,right:to`
@@ -272,7 +272,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
272
272
  100% {
273
273
  background-position: 500px 0;
274
274
  }
275
- `,ra={in:to`
275
+ `,ia={in:to`
276
276
  from {
277
277
  opacity: 0;
278
278
  }
@@ -286,7 +286,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
286
286
  to {
287
287
  opacity: 0;
288
288
  }
289
- `};var ia=Object.freeze({__proto__:null,fade:ra,ping:ta,progress:ea,shimmer:oa,slide:Zn});const na=Yt.span`
289
+ `};var ra=Object.freeze({__proto__:null,fade:ia,ping:ta,progress:ea,shimmer:oa,slide:Zn});const na=Yt.span`
290
290
  display: flex;
291
291
  align-items: center;
292
292
  justify-content: center;
@@ -305,8 +305,8 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
305
305
  font-size: 12px;
306
306
  white-space: nowrap;
307
307
 
308
- ${({theme:e,$filled:t,$status:o,$clickable:r})=>r&&`&:hover {\n cursor: pointer;\n background-color: ${o?e.colors[o]+Yn["020"]:t?e.colors.majestic_blue_soft:e.colors.secondary+Yn["020"]};\n }`}
309
- `,aa=({label:e,filled:t,status:o,withIcon:r,onClick:i})=>{const n=Zt(),a=o&&r?ti(o,n):null;return Rt(na,{$filled:t,$status:o,$clickable:!!i,onClick:i,children:[!!a&&Ot(a,{}),e]})},sa=Yt.div`
308
+ ${({theme:e,$filled:t,$status:o,$clickable:i})=>i&&`&:hover {\n cursor: pointer;\n background-color: ${o?e.colors[o]+Yn["020"]:t?e.colors.majestic_blue_soft:e.colors.secondary+Yn["020"]};\n }`}
309
+ `,aa=({label:e,filled:t,status:o,withIcon:i,onClick:r})=>{const n=Zt(),a=o&&i?tr(o,n):null;return Rt(na,{$filled:t,$status:o,$clickable:!!r,onClick:r,children:[!!a&&Ot(a,{}),e]})},sa=Yt.div`
310
310
  height: fit-content;
311
311
  border: 2px solid transparent;
312
312
  padding: 2px;
@@ -392,7 +392,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
392
392
  }
393
393
  `:""}
394
394
  `}
395
- `,da=({children:e,variant:t="primary",onClick:o,...r})=>{const i=Bt(null);return Ot(sa,{$variant:t,children:Ot(ca,{ref:i,$variant:t,onClick:e=>{o&&o(e),i.current?.blur()},...r,children:e})})},pa=e=>{function t(){return void 0===e?{}:vo(e)}const[o,r]=Pt(t()),[i,n]=Pt({}),a=Ut((e,t)=>{const o={};if(!t||"object"!=typeof t)return e?{...e}:o;for(const[r,i]of Object.entries(e)){const e=r;if(Array.isArray(i)){const r=t[e];Array.isArray(r)&&i.length===r.length&&i.every((e,t)=>"object"==typeof e&&null!==e?0===Object.keys(a(e,r[t])).length:e===r[t])||(o[e]=t[e])}else if("object"==typeof i&&null!==i)if(null==t[e]||"object"!=typeof t[e])o[e]=t[e];else{const r=a(i,t[e]);Object.keys(r).length>0&&(o[e]=r)}else i!==t[e]&&(o[e]=t[e])}return o},[]),s=(e,t)=>0===Object.keys(a(e,t)).length,l=Lt(()=>void 0!==e&&!s(e,o),[e,o]);Mt(()=>{const i=t();void 0!==e&&"{}"===JSON.stringify(o)&&"{}"!==JSON.stringify(i)&&r(i)},[e,o]);const c=Ut((e,t)=>wo("formData"===e?o:i,t.toString()),[o,i]);return{formData:o,formErrors:i,getFormDiff:a,areFormValuesEqual:s,isFormDirty:l,handleFormChange:(e,t,o)=>{if(e){const o=e.toString().split(".");1===o.length?r(o=>({...o,[e]:t})):r(e=>{const r=vo(e);let i=r;for(let e=0;e<o.length-1;e++){const t=o[e];i[t]&&"object"==typeof i[t]||(i[t]={}),i=i[t]}return i[o[o.length-1]]=t,r})}else o&&r({...o})},handleErrorChange:(e,t,o)=>{if(e){const o=e.toString().split(".");1===o.length?n(o=>({...o,[e]:t})):n(e=>{const r=vo(e);let i=r;for(let e=0;e<o.length-1;e++){const t=o[e];i[t]&&"object"==typeof i[t]||(i[t]={}),i=i[t]}return i[o[o.length-1]]=t,r})}else o&&n({...o})},resetFormData:e=>{r(e||t()),n({})},getNestedValue:c}},ua={type:"",name:"",notes:"",signals:[],disabled:!1,fields:{clusterAttributes:null,overwriteExistingValues:null,renames:null,attributeNamesToDelete:null,piiCategories:null,fallbackSamplingRatio:null,samplingPercentage:null,endpointsFilters:null,servicesNameFilters:null,attributeFilters:null,urlTemplatizationRulesGroups:null}},ha=()=>{const{addNotification:e}=zn(),{formData:t,formErrors:o,handleFormChange:r,handleErrorChange:i,resetFormData:n}=pa(ua),a=e=>e&&Array.isArray(e)?e.map(e=>!e.fromSources?.length&&e.from?{...e,fromSources:[e.from]}:e):e;return{formData:t,formErrors:o,handleFormChange:r,resetFormData:n,validateForm:o=>{const r={};let n=!0;if(Object.entries(t).forEach(([e,t])=>{switch(e){case"type":case"signals":pi(t)&&(r[e]=kr.FIELD_IS_REQUIRED)}}),t.type===Do.URLTemplatization){const e=t.fields?.urlTemplatizationRulesGroups;if(e)for(const t of e)if(t.templatizationRules?.some(e=>!e.template?.trim())){r.fields=kr.FIELD_IS_REQUIRED;break}}return n=!Object.values(r).length,!n&&o?.withAlert&&e({type:Vo.Warning,title:o.alertTitle,message:kr.REQUIRED_FIELDS,hideFromHistory:!0}),i(void 0,void 0,r),n},loadFormWithDrawerItem:({type:e,signals:t,name:o,notes:i,disabled:n,fields:s})=>{const l={...vo(ua),type:e,signals:t,name:o,notes:i,disabled:n};Object.entries(s).forEach(([e,t])=>{if(t)switch(e){case To.LabelsAttributes:case To.AnnotationsAttributes:l.fields||(l.fields={}),l.fields[e]=a(t);break;case To.CollectContainerAttributes:case To.CollectReplicaSetAttributes:case To.CollectWorkloadId:case To.CollectClusterId:case To.ClusterAttributes:case To.OverwriteExistingValues:case To.AttributeNamesToDelete:case To.Renames:case To.PiiCategories:case To.FallbackSamplingRatio:case To.SamplingPercentage:case To.EndpointsFilters:case To.ServicesNameFilters:case To.AttributeFilters:case To.UrlTemplatizationRulesGroups:l.fields||(l.fields={}),l.fields[e]=t}}),r(void 0,void 0,l)}}},ma=e=>{Mt(()=>{if(e){const e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}},[e])},ga=()=>{const{setCurrentModal:e}=Fn(),{setDrawerType:t,setDrawerEntityId:o}=In(),{setActiveNodeType:r,setActiveNodeId:i,activeNodeId:n}=fn();return{onClickNode:(a,s)=>{const{id:l,type:c,data:{id:d,type:p}}=s;switch(n===l?(r(null),i(null)):(r(c),i(l)),p){case jo.Source:case jo.Destination:case jo.Action:case jo.InstrumentationRule:t(p),o(d);break;case Zo.AddSource:e(jo.Source);break;case Zo.AddDestination:e(jo.Destination);break;case Zo.AddAction:e(jo.Action);break;case Zo.AddRule:e(jo.InstrumentationRule)}}}},fa=()=>{const{setDrawerType:e,setDrawerEntityId:t}=In(),{markAsDismissed:o,markAsSeen:r}=zn();return{onClickNotification:(i,n)=>{const{id:a,crdType:s,target:l}=i,{dismissToast:c}=n||{};if(s&&l)switch(s){case jo.InstrumentationRule:e(jo.InstrumentationRule),t(Gr(l,jo.InstrumentationRule));break;case jo.Source:case"InstrumentationConfig":case"InstrumentationInstance":e(jo.Source),t(Gr(l,jo.Source));break;case jo.Action:e(jo.Action),t(Gr(l,jo.Action));break;case jo.Destination:case"Destination":e(jo.Destination),t(Gr(l,jo.Destination))}r(a),c&&o(a)}}},xa=()=>{const e=Bt(null),[t,o]=Pt(0),[r,i]=Pt(0);return Mt(()=>{const t=()=>{if(e.current){const{width:t,height:r}=e.current.getBoundingClientRect();o(t),i(r)}};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]),{containerRef:e,containerWidth:t,containerHeight:r}};var ya;!function(e){e[e.XS=16]="XS",e[e.S=18]="S",e[e.M=24]="M",e[e.L=32]="L"}(ya||(ya={}));const ba=Yt.div`
395
+ `,da=({children:e,variant:t="primary",onClick:o,...i})=>{const r=Bt(null);return Ot(sa,{$variant:t,children:Ot(ca,{ref:r,$variant:t,onClick:e=>{o&&o(e),r.current?.blur()},...i,children:e})})},pa=e=>{function t(){return void 0===e?{}:vo(e)}const[o,i]=Pt(t()),[r,n]=Pt({}),a=Ut((e,t)=>{const o={};if(!t||"object"!=typeof t)return e?{...e}:o;for(const[i,r]of Object.entries(e)){const e=i;if(Array.isArray(r)){const i=t[e];Array.isArray(i)&&r.length===i.length&&r.every((e,t)=>"object"==typeof e&&null!==e?0===Object.keys(a(e,i[t])).length:e===i[t])||(o[e]=t[e])}else if("object"==typeof r&&null!==r)if(null==t[e]||"object"!=typeof t[e])o[e]=t[e];else{const i=a(r,t[e]);Object.keys(i).length>0&&(o[e]=i)}else r!==t[e]&&(o[e]=t[e])}return o},[]),s=(e,t)=>0===Object.keys(a(e,t)).length,l=Lt(()=>void 0!==e&&!s(e,o),[e,o]);Mt(()=>{const r=t();void 0!==e&&"{}"===JSON.stringify(o)&&"{}"!==JSON.stringify(r)&&i(r)},[e,o]);const c=Ut((e,t)=>wo("formData"===e?o:r,t.toString()),[o,r]);return{formData:o,formErrors:r,getFormDiff:a,areFormValuesEqual:s,isFormDirty:l,handleFormChange:(e,t,o)=>{if(e){const o=e.toString().split(".");1===o.length?i(o=>({...o,[e]:t})):i(e=>{const i=vo(e);let r=i;for(let e=0;e<o.length-1;e++){const t=o[e];r[t]&&"object"==typeof r[t]||(r[t]={}),r=r[t]}return r[o[o.length-1]]=t,i})}else o&&i({...o})},handleErrorChange:(e,t,o)=>{if(e){const o=e.toString().split(".");1===o.length?n(o=>({...o,[e]:t})):n(e=>{const i=vo(e);let r=i;for(let e=0;e<o.length-1;e++){const t=o[e];r[t]&&"object"==typeof r[t]||(r[t]={}),r=r[t]}return r[o[o.length-1]]=t,i})}else o&&n({...o})},resetFormData:e=>{i(e||t()),n({})},getNestedValue:c}},ua={type:"",name:"",notes:"",signals:[],disabled:!1,fields:{clusterAttributes:null,overwriteExistingValues:null,renames:null,attributeNamesToDelete:null,piiCategories:null,fallbackSamplingRatio:null,samplingPercentage:null,endpointsFilters:null,servicesNameFilters:null,attributeFilters:null,urlTemplatizationRulesGroups:null}},ha=()=>{const{addNotification:e}=zn(),{formData:t,formErrors:o,handleFormChange:i,handleErrorChange:r,resetFormData:n}=pa(ua),a=e=>e&&Array.isArray(e)?e.map(e=>!e.fromSources?.length&&e.from?{...e,fromSources:[e.from]}:e):e;return{formData:t,formErrors:o,handleFormChange:i,resetFormData:n,validateForm:o=>{const i={};let n=!0;if(Object.entries(t).forEach(([e,t])=>{switch(e){case"type":case"signals":pr(t)&&(i[e]=ki.FIELD_IS_REQUIRED)}}),t.type===Do.URLTemplatization){const e=t.fields?.urlTemplatizationRulesGroups;if(e)for(const t of e)if(t.templatizationRules?.some(e=>!e.template?.trim())){i.fields=ki.FIELD_IS_REQUIRED;break}}return n=!Object.values(i).length,!n&&o?.withAlert&&e({type:Xo.Warning,title:o.alertTitle,message:ki.REQUIRED_FIELDS,hideFromHistory:!0}),r(void 0,void 0,i),n},loadFormWithDrawerItem:({type:e,signals:t,name:o,notes:r,disabled:n,fields:s})=>{const l={...vo(ua),type:e,signals:t,name:o,notes:r,disabled:n};Object.entries(s).forEach(([e,t])=>{if(t)switch(e){case To.LabelsAttributes:case To.AnnotationsAttributes:l.fields||(l.fields={}),l.fields[e]=a(t);break;case To.CollectContainerAttributes:case To.CollectReplicaSetAttributes:case To.CollectWorkloadId:case To.CollectClusterId:case To.ClusterAttributes:case To.OverwriteExistingValues:case To.AttributeNamesToDelete:case To.Renames:case To.PiiCategories:case To.FallbackSamplingRatio:case To.SamplingPercentage:case To.EndpointsFilters:case To.ServicesNameFilters:case To.AttributeFilters:case To.UrlTemplatizationRulesGroups:l.fields||(l.fields={}),l.fields[e]=t}}),i(void 0,void 0,l)}}},ma=e=>{Mt(()=>{if(e){const e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}},[e])},ga=()=>{const{setCurrentModal:e}=Fn(),{setDrawerType:t,setDrawerEntityId:o}=In(),{setActiveNodeType:i,setActiveNodeId:r,activeNodeId:n}=fn();return{onClickNode:(a,s)=>{const{id:l,type:c,data:{id:d,type:p}}=s;switch(n===l?(i(null),r(null)):(i(c),r(l)),p){case jo.Source:case jo.Destination:case jo.Action:case jo.InstrumentationRule:t(p),o(d);break;case Zo.AddSource:e(jo.Source);break;case Zo.AddDestination:e(jo.Destination);break;case Zo.AddAction:e(jo.Action);break;case Zo.AddRule:e(jo.InstrumentationRule)}}}},fa=()=>{const{setDrawerType:e,setDrawerEntityId:t}=In(),{markAsDismissed:o,markAsSeen:i}=zn();return{onClickNotification:(r,n)=>{const{id:a,crdType:s,target:l}=r,{dismissToast:c}=n||{};if(s&&l)switch(s){case jo.InstrumentationRule:e(jo.InstrumentationRule),t(Gi(l,jo.InstrumentationRule));break;case jo.Source:case"InstrumentationConfig":case"InstrumentationInstance":e(jo.Source),t(Gi(l,jo.Source));break;case jo.Action:e(jo.Action),t(Gi(l,jo.Action));break;case jo.Destination:case"Destination":e(jo.Destination),t(Gi(l,jo.Destination))}i(a),c&&o(a)}}},xa=()=>{const e=Bt(null),[t,o]=Pt(0),[i,r]=Pt(0);return Mt(()=>{const t=()=>{if(e.current){const{width:t,height:i}=e.current.getBoundingClientRect();o(t),r(i)}};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]),{containerRef:e,containerWidth:t,containerHeight:i}};var ya;!function(e){e[e.XS=16]="XS",e[e.S=18]="S",e[e.M=24]="M",e[e.L=32]="L"}(ya||(ya={}));const ba=Yt.div`
396
396
  width: ${({$size:e})=>1.5*e}px;
397
397
  height: ${({$size:e})=>1.5*e}px;
398
398
  display: flex;
@@ -403,7 +403,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
403
403
  &:hover {
404
404
  background: ${({theme:e})=>e.v2.colors.silver[900]};
405
405
  }
406
- `,$a=({icon:e,size:t=ya.S,onClick:o,disabled:r})=>Ot(ba,{$size:t,$disabled:r,onClick:e=>{o&&!r&&(e.stopPropagation(),o(e))},children:Ot(e,{size:t})}),va=({onDone:e}={})=>{const[t,o]=Pt(!1),[r,i]=Pt(-1),n=Ut(async(r,n)=>{if(!t){if(o(!0),void 0!==n&&i(n),navigator?.clipboard&&navigator.clipboard.writeText)try{await navigator.clipboard.writeText(r)}catch(e){}else{const e=document.createElement("textarea");e.value=r,document.body.appendChild(e),e.select();try{document.execCommand("copy")}catch(e){}document.body.removeChild(e)}e?.(),setTimeout(()=>{o(!1),i(-1)},1e3)}},[t,e]);return{CopyButton:Ut(({value:e,size:o})=>Ot($a,{icon:t?st:lt,size:o,onClick:()=>n(e)}),[t]),isCopied:t,copiedIndex:r,clickCopy:n}},wa=e=>{const{addNotification:t}=zn(),{formData:o,handleFormChange:r,formErrors:i,handleErrorChange:n,resetFormData:a}=pa(e);return{formData:o,formErrors:i,handleFormChange:r,resetFormData:a,validateForm:e=>{const r={};let i=!0;return o.name?ui(o.name)?r.name=void 0:(i=!1,r.name=kr.ILLEGAL_K8S_LABEL):(i=!1,r.name=kr.FIELD_IS_REQUIRED),!i&&e?.withAlert&&t({type:Vo.Warning,title:e.alertTitle,message:kr.REQUIRED_FIELDS,hideFromHistory:!0}),n(void 0,void 0,r),i},loadFormWithDrawerItem:({name:t})=>{const o={...vo(e),name:t};r(void 0,void 0,o)}}},Sa={type:"",name:"",exportedSignals:{logs:!1,metrics:!1,traces:!1},fields:[],disabled:!1},Ca=e=>{const{supportedSignals:t,preLoadedFields:o}=e||{},{addNotification:r}=zn(),{formData:i,formErrors:n,handleFormChange:a,handleErrorChange:s,resetFormData:l}=pa(Sa),[c,d]=Pt([]),[p,u]=Pt([]);Mt(()=>{var e;u(c?(e=c,e.filter(e=>!!e).map(e=>{const{name:t,componentType:o,componentProperties:r,displayName:i,initialValue:n,renderCondition:a}=e;if(o===Go.Dropdown){const e=li(r,{}),s=Array.isArray(e.values)?e.values.map(e=>({id:e,value:e})):Object.entries(e.values).map(([e,t])=>({id:e,value:t}));return{name:t,componentType:o,title:i,value:n,placeholder:e.placeholder||"Select an option",options:s,renderCondition:a,...e}}return{name:t,componentType:o,title:i,value:n,renderCondition:a,...li(r,{})}})).map(e=>{if(o){const t="string"==typeof o?li(o,{}):o;if(e.name in t)return{...e,value:t[e.name]}}return e}):[])},[c,o]),Mt(()=>{if(p){const e=p.map(e=>({key:e.name,value:e.value}));a("fields",e)}},[p]),Mt(()=>{if(t&&0===vi(i.exportedSignals).length){const{logs:e,metrics:o,traces:r}=t;a("exportedSignals",{logs:e.supported,metrics:o.supported,traces:r.supported})}},[t,i.exportedSignals]);return{formData:i,formErrors:n,handleFormChange:a,resetFormData:l,validateForm:e=>{const t={};let o=!0;return p.forEach(({name:e,value:r,required:i})=>{i&&!r&&(o=!1,t[e]=kr.FIELD_IS_REQUIRED)}),!o&&e?.withAlert&&r({type:Vo.Warning,title:e.alertTitle,message:kr.REQUIRED_FIELDS,hideFromHistory:!0}),s(void 0,void 0,t),o},loadFormWithDrawerItem:({destinationType:{type:e},name:t,disabled:o,exportedSignals:r,fields:i})=>{const n={...vo(Sa),type:e,name:t,disabled:o,exportedSignals:r,fields:Object.entries(li(i,{})).map(([e,t])=>({key:e,value:t}))};return a(void 0,void 0,n),n},yamlFields:c,setYamlFields:d,dynamicFields:p,setDynamicFields:u}},ka={ruleName:"",notes:"",disabled:!1,workloads:null,instrumentationLibraries:null,payloadCollection:{[lr.HttpRequest]:null,[lr.HttpResponse]:null,[lr.DbQuery]:null,[lr.Messaging]:null},codeAttributes:{[nr.Column]:null,[nr.FilePath]:null,[nr.Function]:null,[nr.LineNumber]:null,[nr.Namespace]:null,[nr.StackTrace]:null},headersCollection:null,customInstrumentations:{[sr.Java]:null,[sr.Golang]:null}},Ea=()=>{const{formData:e,formErrors:t,handleFormChange:o,handleErrorChange:r,resetFormData:i}=pa(ka);return{formData:e,formErrors:t,handleFormChange:o,resetFormData:i,validateForm:()=>(r(void 0,void 0,{}),!0),loadFormWithDrawerItem:({ruleName:e,notes:t,disabled:r,payloadCollection:i,codeAttributes:n,headersCollection:a,customInstrumentations:s})=>{const l={...vo(ka),ruleName:e,notes:t,disabled:r};i&&(l.payloadCollection={[lr.HttpRequest]:i[lr.HttpRequest]?{}:null,[lr.HttpResponse]:i[lr.HttpResponse]?{}:null,[lr.DbQuery]:i[lr.DbQuery]?{}:null,[lr.Messaging]:i[lr.Messaging]?{}:null}),n&&(l.codeAttributes={[nr.Column]:n[nr.Column]||null,[nr.FilePath]:n[nr.FilePath]||null,[nr.Function]:n[nr.Function]||null,[nr.LineNumber]:n[nr.LineNumber]||null,[nr.Namespace]:n[nr.Namespace]||null,[nr.StackTrace]:n[nr.StackTrace]||null}),a&&(l.headersCollection=a),s&&(l.customInstrumentations={[sr.Java]:s[sr.Java]||null,[sr.Golang]:s[sr.Golang]||null}),o(void 0,void 0,l)}}},Aa=({active:e,key:t,withAltKey:o,withCtrlKey:r,withShiftKey:i,withMetaKey:n},a)=>(Mt(()=>{const s=s=>{e&&t===s.key&&(!o||o&&s.altKey)&&(!r||r&&s.ctrlKey)&&(!i||i&&s.shiftKey)&&(!n||n&&s.metaKey)&&(s.preventDefault(),s.stopPropagation(),a(s))};return window.addEventListener("keydown",s),()=>{window.removeEventListener("keydown",s)}},[t,e,o,r,i,n,a]),null),Da=(e,t)=>{Mt(()=>{const o=o=>{e.current&&!e.current.contains(o.target)&&t()};return document.addEventListener("mousedown",o),document.addEventListener("touchstart",o),()=>{document.removeEventListener("mousedown",o),document.removeEventListener("touchstart",o)}},[e,t])},Ta=({defaultClientHeight:e=0,defaultClientwidth:t=0,onClickOutside:o}={})=>{const r=Bt(null),[i,n]=Pt(!1),[a,s]=Pt({top:0,left:0});Da(r,()=>{i&&(n(!1),o?.())});return{popupRef:r,popupOpen:i,setPopupOpen:n,popupPosition:a,handlePosition:(o,i)=>{const{innerWidth:n,innerHeight:a}=window;let l=i,c=o;l>=a/2&&(l+=-(r.current?.clientHeight||e)),c>=n/2&&(c+=-(r.current?.clientWidth||t)),s({top:l,left:c})}}},Na=()=>({getItemSS:(e,t)=>{const o=sessionStorage.getItem(e);return o?li(o,t):t},setItemSS:(e,t)=>{sessionStorage.setItem(e,JSON.stringify(t))},removeItemSS:e=>{sessionStorage.removeItem(e)}}),Ia={otelServiceName:"",currentStreamName:""},_a=()=>{const{formData:e,formErrors:t,handleFormChange:o,handleErrorChange:r,resetFormData:i}=pa(Ia);return{formData:e,formErrors:t,handleFormChange:o,resetFormData:i,validateForm:()=>(r(void 0,void 0,{}),!0),loadFormWithDrawerItem:({otelServiceName:e,name:t})=>{const r={...vo(Ia),otelServiceName:e||t||""};o(void 0,void 0,r)}}},Oa=Wt({platformType:Po.K8s,tier:Lo.Community,version:"v0.0.0"}),Ra=({children:e,platformType:t,tier:o,version:r})=>{const i=Lt(()=>({platformType:t,tier:o,version:r}),[t,o,r]);return Ot(Oa.Provider,{value:i,children:e})},Fa=(e,t)=>!t||Ni(e)>=Ni(t),za=e=>{const t=jt(Oa),o=Fa(t.version,e),r=t.platformType===Po.Vm;return{...t,isVersionSupported:o,isVm:r}},La=Wt({formType:void 0}),Pa=({children:e,formType:t})=>{const o=Lt(()=>({formType:t}),[t]);return Ot(La.Provider,{value:o,children:e})},Ma=()=>jt(La),Ba=new Set([tr.StaticPod]),Ua=e=>{const t=e.workloads.filter(({selected:e})=>e).length,o=e.workloads.length;return{selectedCount:t,isAllSourced:t>0&&t===o,isSomeSourced:t>0&&t<o,isFutureApps:e.selected||!1}},ja=(e,t,o)=>{if(t&&!e.name.toLowerCase().includes(t.toLowerCase()))return!1;if(o.showOnlySelected){const{isAllSourced:t,isSomeSourced:o,isFutureApps:r}=Ua(e);return t||o||r}return!0},Wa=(e,t,o)=>!(t&&!e.name.toLowerCase().includes(t.toLowerCase()))&&(!o.showOnlySelected||e.selected),Ga=(e,t,o)=>{const r=!!e.dataStreamNames?.length||!!e.currentStreamName?.length,i=r&&e.dataStreamNames?.includes(t)||e.currentStreamName===t,n=e.selected&&(!r||i)||!1;return{namespace:e.namespace,name:e.name,kind:e.kind,selected:n,numberOfInstances:e.numberOfInstances}},Xa=(e,t,o)=>({...Ga(e,t),currentStreamName:t}),Va=(e,t,o)=>{const r="boolean"==typeof o,i=e.dataStreamNames?.includes(t),n=(r?o:e.selected)||!1;return{namespace:e.name,selected:!(!i&&!r)&&n,currentStreamName:t}},Ha=e=>{const{fetchNamespacesWithWorkloads:t}=e,{tier:o}=za(),r=e=>o!==Lo.Onprem&&Ba.has(e),{selectedStreamName:i}=Nn(),{namespaces:n,addEntities:a}=_n(),[s,l]=Pt(!1),[c,d]=Pt({}),[p,u]=Pt(!1),[h,m]=Pt(""),[g,f]=Pt({}),[x,y]=Pt({}),[b,$]=Pt(""),[v,w]=Pt(jo.Source),[S,C]=Pt(!1),[k,E]=Pt(!1),A=Lt(()=>{const e=(e,t)=>!b||v!==t||v===t&&e.toLowerCase().includes(b),t={};return Object.entries(x).filter(([t])=>e(t,jo.Namespace)).forEach(([o,r])=>{const i=r.filter(t=>{return e(t.name,jo.Source)&&(o=t,!S||o.selected)&&(e=>!k||(e.numberOfInstances||0)>0)(t);var o});(!b||b&&(v===jo.Namespace||v===jo.Source&&i.length))&&(t[o]=i)}),t},[x,b,v,S,k]);return Mt(()=>{(async()=>{l(!0);const e=await t();l(!1);const o=e.data;if(!o?.length)return;const r=[...o].sort((e,t)=>e.name.localeCompare(t.name)),n={},s={},c={};for(const e of r){const t=[...e.sources||[]].sort((e,t)=>e.name.localeCompare(t.name));n[e.name]=t.map(e=>Ga(e,i)),s[e.name]=t.map(e=>Xa(e,i)),c[e.name]=Va(e,i)}a(jo.Namespace,o.map(({sources:e,...t})=>t));const{configuredSources:p,configuredFutureApps:u}=Gn.getState();Object.entries(p).forEach(([e,t])=>{s[e]&&t.forEach(t=>{const o=s[e].findIndex(e=>e.name===t.name&&e.kind===t.kind);-1!==o&&(s[e][o]={...s[e][o],selected:t.selected,currentStreamName:t.currentStreamName})})}),Object.entries(u).forEach(([e,t])=>{c[e]&&(c[e]=t)}),d(n),y(s),f(c)})()},[i]),{loading:s,availableSources:c,filteredNamespacesAndSources:A,getApiSourcesPayload:()=>{const e={};return Object.entries(x).forEach(([t,o])=>{o.forEach(o=>{const r=c[t]?.find(e=>e.name===o.name&&e.kind===o.kind);r?.selected!==o.selected&&(e[t]||(e[t]=[]),e[t].push(o))})}),e},getApiFutureAppsPayload:()=>{const e={};return Object.entries(g).forEach(([t,o])=>{const r=n?.find(e=>e.name===t);(o.selected&&!r?.dataStreamNames?.includes(i)||!o.selected&&r?.dataStreamNames?.includes(i))&&(e[t]=o)}),e},selectedNamespace:h,onSelectNamespace:(e,t)=>{if(n.find(t=>t.name===e)){const o="boolean"==typeof t;m(t=>t!==e||o?e:""),o&&(y(o=>({...o,[e]:(o[e]||[]).map(e=>t&&r(e.kind)?e:{...e,selected:t,currentStreamName:i})})),u(!1))}},selectedAllNamespaces:p,onSelectAllNamespaces:e=>{u(e),y(t=>{const o={};for(const[n,a]of Object.entries(t))o[n]=a.map(t=>e&&r(t.kind)?t:{...t,selected:e,currentStreamName:i});return o})},selectedSources:x,onSelectSource:(e,t)=>{const o=t||h;if(!o)return;if(r(e.kind))return;const n=[...x[o]||[]],a=n.findIndex(({name:t,kind:o})=>t===e.name&&o===e.kind);if(-1!==a){const e={...n[a],selected:!n[a].selected,currentStreamName:i};n[a]=e}else n.push({...e,selected:!0,currentStreamName:i});y(e=>({...e,[o]:n})),u(!1)},selectedFutureApps:g,onSelectFutureApps:(e,t)=>{const o=t||h;if(!o)return;const r=n.find(e=>e.name===t);r&&f(t=>({...t,[o]:Va(r,i,e)}))},searchText:b,setSearchText:$,searchBy:v,setSearchBy:w,showSelectedOnly:S,setShowSelectedOnly:C,showRunningOnly:k,setShowRunningOnly:E}};try{Vt.addDefaultLocale(qt)}catch(e){}const Ja=()=>{const e=Bt(new Vt(qt.locale));return{formatTimeAgo:Ut(t=>{try{return"string"==typeof t&&(t=t.replace("t","T").replace("z","Z")),e.current.format(new Date(t))}catch(e){return"-"}},[])}},Ka=Yt.div`
406
+ `,$a=({icon:e,size:t=ya.S,onClick:o,disabled:i})=>Ot(ba,{$size:t,$disabled:i,onClick:e=>{o&&!i&&(e.stopPropagation(),o(e))},children:Ot(e,{size:t})}),va=({onDone:e}={})=>{const[t,o]=Pt(!1),[i,r]=Pt(-1),n=Ut(async(i,n)=>{if(!t){if(o(!0),void 0!==n&&r(n),navigator?.clipboard&&navigator.clipboard.writeText)try{await navigator.clipboard.writeText(i)}catch(e){}else{const e=document.createElement("textarea");e.value=i,document.body.appendChild(e),e.select();try{document.execCommand("copy")}catch(e){}document.body.removeChild(e)}e?.(),setTimeout(()=>{o(!1),r(-1)},1e3)}},[t,e]);return{CopyButton:Ut(({value:e,size:o})=>Ot($a,{icon:t?st:lt,size:o,onClick:()=>n(e)}),[t]),isCopied:t,copiedIndex:i,clickCopy:n}},wa=e=>{const{addNotification:t}=zn(),{formData:o,handleFormChange:i,formErrors:r,handleErrorChange:n,resetFormData:a}=pa(e);return{formData:o,formErrors:r,handleFormChange:i,resetFormData:a,validateForm:e=>{const i={};let r=!0;return o.name?ur(o.name)?i.name=void 0:(r=!1,i.name=ki.ILLEGAL_K8S_LABEL):(r=!1,i.name=ki.FIELD_IS_REQUIRED),!r&&e?.withAlert&&t({type:Xo.Warning,title:e.alertTitle,message:ki.REQUIRED_FIELDS,hideFromHistory:!0}),n(void 0,void 0,i),r},loadFormWithDrawerItem:({name:t})=>{const o={...vo(e),name:t};i(void 0,void 0,o)}}},Sa={type:"",name:"",exportedSignals:{logs:!1,metrics:!1,traces:!1},fields:[],disabled:!1},Ca=e=>{const{supportedSignals:t,preLoadedFields:o}=e||{},{addNotification:i}=zn(),{formData:r,formErrors:n,handleFormChange:a,handleErrorChange:s,resetFormData:l}=pa(Sa),[c,d]=Pt([]),[p,u]=Pt([]);Mt(()=>{var e;u(c?(e=c,e.filter(e=>!!e).map(e=>{const{name:t,componentType:o,componentProperties:i,displayName:r,initialValue:n,renderCondition:a}=e;if(o===Go.Dropdown){const e=lr(i,{}),s=Array.isArray(e.values)?e.values.map(e=>({id:e,value:e})):Object.entries(e.values).map(([e,t])=>({id:e,value:t}));return{name:t,componentType:o,title:r,value:n,placeholder:e.placeholder||"Select an option",options:s,renderCondition:a,...e}}return{name:t,componentType:o,title:r,value:n,renderCondition:a,...lr(i,{})}})).map(e=>{if(o){const t="string"==typeof o?lr(o,{}):o;if(e.name in t)return{...e,value:t[e.name]}}return e}):[])},[c,o]),Mt(()=>{if(p){const e=p.map(e=>({key:e.name,value:e.value}));a("fields",e)}},[p]),Mt(()=>{if(t&&0===vr(r.exportedSignals).length){const{logs:e,metrics:o,traces:i}=t;a("exportedSignals",{logs:e.supported,metrics:o.supported,traces:i.supported})}},[t,r.exportedSignals]);return{formData:r,formErrors:n,handleFormChange:a,resetFormData:l,validateForm:e=>{const t={};let o=!0;return p.forEach(({name:e,value:i,required:r})=>{r&&!i&&(o=!1,t[e]=ki.FIELD_IS_REQUIRED)}),!o&&e?.withAlert&&i({type:Xo.Warning,title:e.alertTitle,message:ki.REQUIRED_FIELDS,hideFromHistory:!0}),s(void 0,void 0,t),o},loadFormWithDrawerItem:({destinationType:{type:e},name:t,disabled:o,exportedSignals:i,fields:r})=>{const n={...vo(Sa),type:e,name:t,disabled:o,exportedSignals:i,fields:Object.entries(lr(r,{})).map(([e,t])=>({key:e,value:t}))};return a(void 0,void 0,n),n},yamlFields:c,setYamlFields:d,dynamicFields:p,setDynamicFields:u}},ka={ruleName:"",notes:"",disabled:!1,workloads:null,instrumentationLibraries:null,payloadCollection:{[li.HttpRequest]:null,[li.HttpResponse]:null,[li.DbQuery]:null,[li.Messaging]:null},codeAttributes:{[ni.Column]:null,[ni.FilePath]:null,[ni.Function]:null,[ni.LineNumber]:null,[ni.Namespace]:null,[ni.StackTrace]:null},headersCollection:null,customInstrumentations:{[si.Java]:null,[si.Golang]:null}},Ea=()=>{const{formData:e,formErrors:t,handleFormChange:o,handleErrorChange:i,resetFormData:r}=pa(ka);return{formData:e,formErrors:t,handleFormChange:o,resetFormData:r,validateForm:()=>(i(void 0,void 0,{}),!0),loadFormWithDrawerItem:({ruleName:e,notes:t,disabled:i,payloadCollection:r,codeAttributes:n,headersCollection:a,customInstrumentations:s})=>{const l={...vo(ka),ruleName:e,notes:t,disabled:i};r&&(l.payloadCollection={[li.HttpRequest]:r[li.HttpRequest]?{}:null,[li.HttpResponse]:r[li.HttpResponse]?{}:null,[li.DbQuery]:r[li.DbQuery]?{}:null,[li.Messaging]:r[li.Messaging]?{}:null}),n&&(l.codeAttributes={[ni.Column]:n[ni.Column]||null,[ni.FilePath]:n[ni.FilePath]||null,[ni.Function]:n[ni.Function]||null,[ni.LineNumber]:n[ni.LineNumber]||null,[ni.Namespace]:n[ni.Namespace]||null,[ni.StackTrace]:n[ni.StackTrace]||null}),a&&(l.headersCollection=a),s&&(l.customInstrumentations={[si.Java]:s[si.Java]||null,[si.Golang]:s[si.Golang]||null}),o(void 0,void 0,l)}}},Aa=({active:e,key:t,withAltKey:o,withCtrlKey:i,withShiftKey:r,withMetaKey:n},a)=>(Mt(()=>{const s=s=>{e&&t===s.key&&(!o||o&&s.altKey)&&(!i||i&&s.ctrlKey)&&(!r||r&&s.shiftKey)&&(!n||n&&s.metaKey)&&(s.preventDefault(),s.stopPropagation(),a(s))};return window.addEventListener("keydown",s),()=>{window.removeEventListener("keydown",s)}},[t,e,o,i,r,n,a]),null),Da=(e,t)=>{Mt(()=>{const o=o=>{e.current&&!e.current.contains(o.target)&&t()};return document.addEventListener("mousedown",o),document.addEventListener("touchstart",o),()=>{document.removeEventListener("mousedown",o),document.removeEventListener("touchstart",o)}},[e,t])},Ta=({defaultClientHeight:e=0,defaultClientwidth:t=0,onClickOutside:o,positionMode:i="local"}={})=>{const r=Bt(null),[n,a]=Pt(!1),[s,l]=Pt({top:0,left:0}),[c,d]=Pt({edge:"top",align:"left"});Da(r,()=>{n&&(a(!1),o?.())});return{popupRef:r,popupOpen:n,setPopupOpen:a,popupPosition:s,arrowPlacement:c,handlePosition:(o,n)=>{if("local"===i)return void l({top:n,left:o});const{innerWidth:a,innerHeight:s}=window,c=r.current?.clientWidth||t,p=r.current?.clientHeight||e,u=o/a,h=u<1/3?"left":u>2/3?"right":"center";d({edge:n<s/2?"top":"bottom",align:h});let m=n,g=o;if(m>=s/2&&(m+=-p),"center"===h){g=o-c/2;const e=8;g=Math.max(e,Math.min(g,a-c-e))}else g>=a/2&&(g=o-c);l({top:m,left:g})}}},Na=()=>({getItemSS:(e,t)=>{const o=sessionStorage.getItem(e);return o?lr(o,t):t},setItemSS:(e,t)=>{sessionStorage.setItem(e,JSON.stringify(t))},removeItemSS:e=>{sessionStorage.removeItem(e)}}),Ia={otelServiceName:"",currentStreamName:""},_a=()=>{const{formData:e,formErrors:t,handleFormChange:o,handleErrorChange:i,resetFormData:r}=pa(Ia);return{formData:e,formErrors:t,handleFormChange:o,resetFormData:r,validateForm:()=>(i(void 0,void 0,{}),!0),loadFormWithDrawerItem:({otelServiceName:e,name:t})=>{const i={...vo(Ia),otelServiceName:e||t||""};o(void 0,void 0,i)}}},Oa=Wt({platformType:Po.K8s,tier:Lo.Community,version:"v0.0.0"}),Ra=({children:e,platformType:t,tier:o,version:i})=>{const r=Lt(()=>({platformType:t,tier:o,version:i}),[t,o,i]);return Ot(Oa.Provider,{value:r,children:e})},Fa=(e,t)=>!t||Nr(e)>=Nr(t),za=e=>{const t=jt(Oa),o=Fa(t.version,e),i=t.platformType===Po.Vm;return{...t,isVersionSupported:o,isVm:i}},La=Wt({formType:void 0}),Pa=({children:e,formType:t})=>{const o=Lt(()=>({formType:t}),[t]);return Ot(La.Provider,{value:o,children:e})},Ma=()=>jt(La),Ba=new Set([ti.StaticPod]),Ua=e=>{const t=e.workloads.filter(({selected:e})=>e).length,o=e.workloads.length;return{selectedCount:t,isAllSourced:t>0&&t===o,isSomeSourced:t>0&&t<o,isFutureApps:e.selected||!1}},ja=(e,t,o)=>{if(t&&!e.name.toLowerCase().includes(t.toLowerCase()))return!1;if(o.showOnlySelected){const{isAllSourced:t,isSomeSourced:o,isFutureApps:i}=Ua(e);return t||o||i}return!0},Wa=(e,t,o)=>!(t&&!e.name.toLowerCase().includes(t.toLowerCase()))&&(!o.showOnlySelected||e.selected),Ga=(e,t,o)=>{const i=!!e.dataStreamNames?.length||!!e.currentStreamName?.length,r=i&&e.dataStreamNames?.includes(t)||e.currentStreamName===t,n=e.selected&&(!i||r)||!1;return{namespace:e.namespace,name:e.name,kind:e.kind,selected:n,numberOfInstances:e.numberOfInstances}},Ha=(e,t,o)=>({...Ga(e,t),currentStreamName:t}),Xa=(e,t,o)=>{const i="boolean"==typeof o,r=e.dataStreamNames?.includes(t),n=(i?o:e.selected)||!1;return{namespace:e.name,selected:!(!r&&!i)&&n,currentStreamName:t}},Va=e=>{const{fetchNamespacesWithWorkloads:t}=e,{tier:o}=za(),i=e=>o!==Lo.Onprem&&Ba.has(e),{selectedStreamName:r}=Nn(),{namespaces:n,addEntities:a}=_n(),[s,l]=Pt(!1),[c,d]=Pt({}),[p,u]=Pt(!1),[h,m]=Pt(""),[g,f]=Pt({}),[x,y]=Pt({}),[b,$]=Pt(""),[v,w]=Pt(jo.Source),[S,C]=Pt(!1),[k,E]=Pt(!1),A=Lt(()=>{const e=(e,t)=>!b||v!==t||v===t&&e.toLowerCase().includes(b),t={};return Object.entries(x).filter(([t])=>e(t,jo.Namespace)).forEach(([o,i])=>{const r=i.filter(t=>{return e(t.name,jo.Source)&&(o=t,!S||o.selected)&&(e=>!k||(e.numberOfInstances||0)>0)(t);var o});(!b||b&&(v===jo.Namespace||v===jo.Source&&r.length))&&(t[o]=r)}),t},[x,b,v,S,k]);return Mt(()=>{(async()=>{l(!0);const e=await t();l(!1);const o=e.data;if(!o?.length)return;const i=[...o].sort((e,t)=>e.name.localeCompare(t.name)),n={},s={},c={};for(const e of i){const t=[...e.sources||[]].sort((e,t)=>e.name.localeCompare(t.name));n[e.name]=t.map(e=>Ga(e,r)),s[e.name]=t.map(e=>Ha(e,r)),c[e.name]=Xa(e,r)}a(jo.Namespace,o.map(({sources:e,...t})=>t));const{configuredSources:p,configuredFutureApps:u}=Gn.getState();Object.entries(p).forEach(([e,t])=>{s[e]&&t.forEach(t=>{const o=s[e].findIndex(e=>e.name===t.name&&e.kind===t.kind);-1!==o&&(s[e][o]={...s[e][o],selected:t.selected,currentStreamName:t.currentStreamName})})}),Object.entries(u).forEach(([e,t])=>{c[e]&&(c[e]=t)}),d(n),y(s),f(c)})()},[r]),{loading:s,availableSources:c,filteredNamespacesAndSources:A,getApiSourcesPayload:()=>{const e={};return Object.entries(x).forEach(([t,o])=>{o.forEach(o=>{const i=c[t]?.find(e=>e.name===o.name&&e.kind===o.kind);i?.selected!==o.selected&&(e[t]||(e[t]=[]),e[t].push(o))})}),e},getApiFutureAppsPayload:()=>{const e={};return Object.entries(g).forEach(([t,o])=>{const i=n?.find(e=>e.name===t);(o.selected&&!i?.dataStreamNames?.includes(r)||!o.selected&&i?.dataStreamNames?.includes(r))&&(e[t]=o)}),e},selectedNamespace:h,onSelectNamespace:(e,t)=>{if(n.find(t=>t.name===e)){const o="boolean"==typeof t;m(t=>t!==e||o?e:""),o&&(y(o=>({...o,[e]:(o[e]||[]).map(e=>t&&i(e.kind)?e:{...e,selected:t,currentStreamName:r})})),u(!1))}},selectedAllNamespaces:p,onSelectAllNamespaces:e=>{u(e),y(t=>{const o={};for(const[n,a]of Object.entries(t))o[n]=a.map(t=>e&&i(t.kind)?t:{...t,selected:e,currentStreamName:r});return o})},selectedSources:x,onSelectSource:(e,t)=>{const o=t||h;if(!o)return;if(i(e.kind))return;const n=[...x[o]||[]],a=n.findIndex(({name:t,kind:o})=>t===e.name&&o===e.kind);if(-1!==a){const e={...n[a],selected:!n[a].selected,currentStreamName:r};n[a]=e}else n.push({...e,selected:!0,currentStreamName:r});y(e=>({...e,[o]:n})),u(!1)},selectedFutureApps:g,onSelectFutureApps:(e,t)=>{const o=t||h;if(!o)return;const i=n.find(e=>e.name===t);i&&f(t=>({...t,[o]:Xa(i,r,e)}))},searchText:b,setSearchText:$,searchBy:v,setSearchBy:w,showSelectedOnly:S,setShowSelectedOnly:C,showRunningOnly:k,setShowRunningOnly:E}};try{Xt.addDefaultLocale(qt)}catch(e){}const Ja=()=>{const e=Bt(new Xt(qt.locale));return{formatTimeAgo:Ut(t=>{try{return"string"==typeof t&&(t=t.replace("t","T").replace("z","Z")),e.current.format(new Date(t))}catch(e){return"-"}},[])}},Ka=Yt.div`
407
407
  position: fixed;
408
408
  top: 50%;
409
409
  left: 50%;
@@ -431,7 +431,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
431
431
  display: flex;
432
432
  align-items: center;
433
433
  gap: 8px;
434
- `,Za=Yt(Fi)`
434
+ `,Za=Yt(Fr)`
435
435
  min-width: 350px;
436
436
  min-height: 150px;
437
437
  `,es=Yt.div`
@@ -443,25 +443,26 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
443
443
  justify-content: center;
444
444
  width: 100%;
445
445
  pointer-events: none;
446
- `,ts=Yt(qi)`
446
+ `,ts=Yt(qr)`
447
447
  text-transform: uppercase;
448
448
  font-family: ${({theme:e})=>e.font_family.secondary};
449
449
  pointer-events: auto;
450
- `,os=Yt(qi)`
450
+ `,os=Yt(qr)`
451
451
  text-transform: uppercase;
452
452
  font-weight: 500;
453
453
  font-size: 14px;
454
454
  font-family: ${({theme:e})=>e.font_family.secondary};
455
455
  text-decoration: underline;
456
456
  cursor: pointer;
457
- `,rs=({isOpen:e,noOverlay:t,header:o,actionComponent:r,onClose:i,children:n,closeOnEscape:a=!0})=>(Aa({key:"Escape",active:e&&a},()=>i()),ma(e),e?co.createPortal(Rt(Ft,{children:[Ot(Li,{hidden:!e,onClick:i,style:{opacity:t?0:1}}),Rt(Ka,{"data-id":"modal"+(o?`-${o.title.replaceAll(" ","-")}`:""),children:[o&&Rt(qa,{children:[Rt(Ya,{onClick:i,children:[Ot(ct,{}),Ot(os,{children:"Cancel"})]}),Ot(es,{children:Ot(ts,{children:o.title})}),Ot(Qa,{children:r})]}),Ot(Za,{children:n})]})]}),document.body):null),is=Yt.div`
457
+ `,is=({isOpen:e,noOverlay:t,header:o,actionComponent:i,onClose:r,children:n,closeOnEscape:a=!0})=>(Aa({key:"Escape",active:e&&a},()=>r()),ma(e),e?co.createPortal(Rt(Ft,{children:[Ot(Lr,{hidden:!e,onClick:r,style:{opacity:t?0:1}}),Rt(Ka,{"data-id":"modal"+(o?`-${o.title.replaceAll(" ","-")}`:""),children:[o&&Rt(qa,{children:[Rt(Ya,{onClick:r,children:[Ot(ct,{}),Ot(os,{children:"Cancel"})]}),Ot(es,{children:Ot(ts,{children:o.title})}),Ot(Qa,{children:i})]}),Ot(Za,{children:n})]})]}),document.body):null),rs=Yt.div`
458
458
  width: ${({$orientation:e,$thickness:t,$length:o})=>"vertical"===e?`${t}px`:o||"100%"};
459
459
  height: ${({$orientation:e,$thickness:t,$length:o})=>"horizontal"===e?`${t}px`:o||"100%"};
460
460
  margin: ${({$orientation:e,$margin:t})=>t||("horizontal"===e?"8px 0":"0 8px")};
461
461
  background-color: ${({$type:e,theme:t})=>(e?t.text[e]:t.colors.border)+Yn["050"]};
462
462
  opacity: ${({$opacity:e})=>e||1};
463
- `,ns=({orientation:e="horizontal",type:t,thickness:o=1,length:r,margin:i,opacity:n})=>Ot(is,{$orientation:e,$type:t,$thickness:o,$length:r,$margin:i,$opacity:n}),as=Yt.div`
464
- position: absolute;
463
+ `,ns=({orientation:e="horizontal",type:t,thickness:o=1,length:i,margin:r,opacity:n})=>Ot(rs,{$orientation:e,$type:t,$thickness:o,$length:i,$margin:r,$opacity:n}),as=Yt.div`
464
+ /* Portal: viewport coords (usePopup positionMode viewport). Non-portal: offset-parent coords, absolute. */
465
+ position: ${({$asPortal:e})=>e?"fixed":"absolute"};
465
466
  ${({$top:e})=>void 0!==e&&`top: ${e}px;`}
466
467
  ${({$bottom:e})=>void 0!==e&&`bottom: ${e}px;`}
467
468
  ${({$left:e})=>void 0!==e&&`left: ${e}px;`}
@@ -483,17 +484,53 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
483
484
  `,cs=Yt.div`
484
485
  padding: ${({$padding:e})=>void 0!==e?e:"12px"};
485
486
  border-top: 1px solid ${({theme:e})=>e.colors.border};
486
- `,ds=Gt(({isOpen:e,asPortal:t,...o},r)=>{const i=Lt(()=>{const{children:e,top:i,bottom:n,left:a,right:s,borderRadius:l,padding:c,maxWidth:d,width:p,header:u,footer:h,withPointerEvents:m,...g}=o;return Rt(as,{ref:r,$top:i,$bottom:n,$left:a,$right:s,$borderRadius:l,$padding:c,$maxWidth:d,$width:p,$asPortal:t,$withPointerEvents:m,...g,children:[u&&Ot(ss,{$padding:c,children:u}),Ot(ls,{$padding:c,children:e}),h&&Ot(cs,{$padding:c,children:h})]})},[r,o,t]);return e?t?co.createPortal(i,document.body):i:null});ds.displayName=ds.name;const ps=Yt.div`
487
+ `,ds=Gt(({isOpen:e,asPortal:t,...o},i)=>{const r=Lt(()=>{const{children:e,top:r,bottom:n,left:a,right:s,borderRadius:l,padding:c,maxWidth:d,width:p,header:u,footer:h,withPointerEvents:m,...g}=o;return Rt(as,{ref:i,$top:r,$bottom:n,$left:a,$right:s,$borderRadius:l,$padding:c,$maxWidth:d,$width:p,$asPortal:t,$withPointerEvents:m,...g,children:[u&&Ot(ss,{$padding:c,children:u}),Ot(ls,{$padding:c,children:e}),h&&Ot(cs,{$padding:c,children:h})]})},[i,o,t]);return e?t?co.createPortal(r,document.body):r:null});ds.displayName=ds.name;const ps=Yt.div`
487
488
  width: ${({$fullWidth:e})=>e?"100%":"fit-content"};
488
489
  position: relative;
489
490
  display: flex;
490
491
  align-items: center;
491
492
  gap: 4px;
492
493
  cursor: help;
493
- `,us=Yt(qi)`
494
+ `,us=Yt(qr)`
494
495
  word-break: break-word;
495
496
  white-space: pre-wrap;
496
- `,hs=({withIcon:e,titleIcon:t,title:o,text:r,timestamp:i,children:n,fullWidth:a=!1})=>{const s=Zt(),{popupRef:l,popupOpen:c,setPopupOpen:d,popupPosition:p,handlePosition:u}=Ta({defaultClientHeight:40,defaultClientwidth:Math.min(7.5*(r?.length||0),300)}),h=Lt(()=>!!Hi(r||"")?.length,[r]),m=e=>{const{type:t,clientX:o,clientY:r}=e;h?u(p.left||o,p.top||r):u(o,r),d("mouseleave"!==t)};return r?Rt(ps,{$fullWidth:a,onMouseEnter:m,onMouseMove:m,onMouseLeave:m,children:[n,e&&Ot(je,{fill:s.v2.colors.silver[200]}),Rt(ds,{ref:l,isOpen:c,top:p.top,left:p.left,asPortal:!0,withPointerEvents:h,onMouseEnter:h?m:void 0,maxWidth:"270px",borderRadius:"16px",padding:"8px 12px",children:[(!!t||!!o)&&Rt(Oi,{style:{marginBottom:"4px"},$gap:4,children:[t&&Ot(t,{size:12,fill:s.text.secondary},"icon"),o&&Ot(qi,{size:12,color:s.text.secondary,children:o},"title")]}),Ot(us,{size:12,color:s.text.info,children:r}),!!i&&Ot(qi,{size:10,color:s.text.darker_grey,family:"secondary",style:{marginTop:"8px"},children:new Date(i).toLocaleString()})]})]}):Ot(Ft,{children:n})},ms=Yt.button`
497
+ `,hs=Yt.div`
498
+ display: flex;
499
+ flex-direction: column;
500
+ align-items: flex-start;
501
+ gap: 8px;
502
+ width: 100%;
503
+ `,ms=Yt.div`
504
+ display: flex;
505
+ width: 100%;
506
+ flex-shrink: 0;
507
+ box-sizing: border-box;
508
+ line-height: 0;
509
+
510
+ ${({$align:e})=>"left"===e&&"\n justify-content: flex-start;\n padding-left: 20px;\n padding-right: 10px;\n "}
511
+ ${({$align:e})=>"right"===e&&"\n justify-content: flex-end;\n padding-left: 10px;\n padding-right: 20px;\n "}
512
+ ${({$align:e})=>"center"===e&&"\n justify-content: center;\n align-items: center;\n min-height: 8px;\n "}
513
+ `,gs=Yt.div`
514
+ width: 0;
515
+ height: 0;
516
+ border-style: solid;
517
+ border-left: 6.5px solid transparent;
518
+ border-right: 6.5px solid transparent;
519
+ flex-shrink: 0;
520
+
521
+ ${({$pointsUp:e,theme:t})=>e?`\n border-bottom: 8px solid ${t.v2.colors.black[500]};\n border-top-width: 0;\n `:`\n border-top: 8px solid ${t.v2.colors.black[500]};\n border-bottom-width: 0;\n `}
522
+ `,fs=Yt.div`
523
+ display: flex;
524
+ flex-direction: column;
525
+ align-items: stretch;
526
+ min-width: 0;
527
+ `,xs=Yt.div`
528
+ background-color: ${({theme:e})=>e.v2.colors.black[500]};
529
+ border-radius: 4px;
530
+ padding: 8px;
531
+ box-sizing: border-box;
532
+ min-width: 0;
533
+ `,ys=({withIcon:e,titleIcon:t,title:o,text:i,timestamp:r,children:n,fullWidth:a=!1,keepAlive:s=!1})=>{const l=Zt(),{popupRef:c,popupOpen:d,setPopupOpen:p,popupPosition:u,arrowPlacement:h,handlePosition:m}=Ta({positionMode:"viewport",defaultClientHeight:48,defaultClientwidth:Math.min(7.5*(i?.length||0),300)}),g=Lt(()=>!!Vr(i||"")?.length,[i]),f=e=>{const{type:t,clientX:o,clientY:i}=e;g?m(u.left||o,u.top||i):m(o,i),p("mouseleave"!==t)};return i||s?Rt(ps,{$fullWidth:a,onMouseEnter:f,onMouseMove:f,onMouseLeave:f,children:[n,e&&Ot(je,{fill:l.v2.colors.white[500]}),Ot(ds,{ref:c,isOpen:d&&!!i,top:u.top,left:u.left,asPortal:!0,withPointerEvents:g,onMouseEnter:g?f:void 0,style:{backgroundColor:"transparent",border:"none"},maxWidth:"270px",borderRadius:"0",padding:"0",children:Rt(fs,{children:["top"===h.edge&&Ot(ms,{$align:h.align,children:Ot(gs,{$pointsUp:!0})}),Ot(xs,{children:Rt(hs,{children:[(!!t||!!o)&&Rt(Or,{$gap:4,style:{alignItems:"center"},children:[t&&Ot(t,{size:16,fill:l.v2.colors.white[500]},"icon"),o&&Ot(qr,{size:12,weight:400,color:l.v2.colors.white[500],style:{lineHeight:"20px"},children:o},"title")]}),!!i&&Ot(us,{size:10,weight:400,color:l.v2.colors.white[500],style:{lineHeight:"normal"},children:i}),!!r&&Ot(qr,{size:10,weight:400,color:l.v2.colors.silver[200],family:"primary",style:{lineHeight:"normal"},children:new Date(r).toLocaleString()})]})}),"bottom"===h.edge&&Ot(ms,{$align:h.align,children:Ot(gs,{$pointsUp:!1})})]})})]}):Ot(Ft,{children:n})},bs=Yt.button`
497
534
  position: relative;
498
535
  width: ${({$size:e})=>e}px;
499
536
  height: ${({$size:e})=>e}px;
@@ -507,7 +544,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
507
544
  &:hover {
508
545
  background-color: ${({theme:e,$backgroundColor:t})=>t?t+Yn["070"]:e.colors.dropdown_bg_2};
509
546
  }
510
- `,gs=Yt.div`
547
+ `,$s=Yt.div`
511
548
  position: absolute;
512
549
  top: ${({$size:e})=>e/5}px;
513
550
  right: ${({$size:e})=>e/5}px;
@@ -524,7 +561,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
524
561
  background-color: ${({theme:e,$color:t})=>t||e.colors.secondary};
525
562
  animation: ${ta} 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
526
563
  }
527
- `,fs=({children:e,onClick:t,tooltip:o,size:r=36,withPing:i,pingColor:n,withBorder:a,backgroundColor:s,...l})=>Ot(hs,{text:o,children:Rt(ms,{$size:r,$withBorder:a,$backgroundColor:s,onClick:t,...l,children:[i&&Ot(gs,{$size:r,$color:n}),e]})}),xs=Yt.div`
564
+ `,vs=({children:e,onClick:t,tooltip:o,size:i=36,withPing:r,pingColor:n,withBorder:a,backgroundColor:s,...l})=>Ot(ys,{text:o,children:Rt(bs,{$size:i,$withBorder:a,$backgroundColor:s,onClick:t,...l,children:[r&&Ot($s,{$size:i,$color:n}),e]})}),ws=Yt.div`
528
565
  position: relative;
529
566
  &.animated {
530
567
  overflow: hidden;
@@ -532,7 +569,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
532
569
  border-radius: 32px;
533
570
  animation: ${({$isLeaving:e})=>e?Zn.out.bottom:Zn.in.bottom} ${({$duration:e})=>e/10}ms forwards;
534
571
  }
535
- `,ys=Yt.div`
572
+ `,Ss=Yt.div`
536
573
  position: absolute;
537
574
  bottom: -1px;
538
575
  left: 0;
@@ -542,7 +579,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
542
579
  border-radius: 32px;
543
580
  background-color: ${({$type:e,theme:t})=>t.text[e]};
544
581
  animation: ${ea.out} ${({$duration:e})=>""+(e-e/10)}ms forwards;
545
- `,bs=Yt.div`
582
+ `,Cs=Yt.div`
546
583
  display: flex;
547
584
  align-items: center;
548
585
  flex: 1;
@@ -550,20 +587,20 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
550
587
  padding: 0 12px;
551
588
  border-radius: 32px;
552
589
  background-color: ${({$type:e,theme:t})=>t.colors[e]};
553
- `,$s=Yt.div`
590
+ `,ks=Yt.div`
554
591
  display: flex;
555
592
  align-items: center;
556
593
  margin: 0 auto 0 0;
557
594
  padding: 8px 0;
558
595
  max-width: ${({$withAction:e,$overrideMaxWidth:t})=>t||(e?"400px":"500px")};
559
596
  min-height: 12px;
560
- `,vs=Yt(qi)`
597
+ `,Es=Yt(qr)`
561
598
  font-size: 14px;
562
599
  color: ${({$type:e,theme:t})=>t.text[e]};
563
- `,ws=Yt(qi)`
600
+ `,As=Yt(qr)`
564
601
  color: ${({$type:e,theme:t})=>t.text[e]};
565
602
  font-size: 12px;
566
- `,Ss=Yt(Oi)``,Cs=Yt(qi)`
603
+ `,Ds=Yt(Or)``,Ts=Yt(qr)`
567
604
  text-transform: uppercase;
568
605
  text-decoration: underline;
569
606
  font-size: 12px;
@@ -574,34 +611,34 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
574
611
  transform: scale(1.1);
575
612
  transition: transform 0.3s;
576
613
  }
577
- `,ks=({type:e,icon:t,title:o,message:r,action:i,onClose:n,duration:a=5e3,overrideMaxWidth:s,style:l})=>{const c=Zt(),[d,p]=Pt(!1),u=Bt(null),h=Bt(null),m=e=>{n&&(p(!0),n({asSeen:e?.asSeen}))};Mt(()=>(u.current=setTimeout(()=>m({asSeen:!1}),a),()=>{u.current&&clearTimeout(u.current)}),[a]);const g=t||ti(e,c);return Rt(xs,{className:n?"animated":"",$duration:a,$isLeaving:d,onMouseEnter:()=>{u.current&&clearTimeout(u.current),h.current&&(h.current.style.animationPlayState="paused")},onMouseLeave:()=>{if(h.current){const e=h.current.offsetWidth/h.current.parentElement.offsetWidth*a;u.current=setTimeout(()=>m({asSeen:!1}),e),h.current.style.animationPlayState="running"}},children:[Rt(bs,{"data-id":"toast",$type:e,style:l,children:[Ot(g,{fill:c.text[e]}),Rt($s,{$withAction:!!i,$overrideMaxWidth:s,children:[o&&Ot(vs,{$type:e,children:o}),o&&r&&Ot(ns,{orientation:"vertical",type:e}),r&&Ot(ws,{$type:e,children:r})]}),(!!i||!!n)&&Rt(Ss,{children:[i&&Ot(Cs,{"data-id":"toast-action",onClick:i.onClick,children:i.label}),n&&Ot(fs,{"data-id":"toast-close",onClick:()=>m({asSeen:!0}),children:Ot(ct,{size:12})})]})]}),n&&Ot(ys,{ref:h,$duration:a,$type:e})]})},Es=Yt.div`
614
+ `,Ns=({type:e,icon:t,title:o,message:i,action:r,onClose:n,duration:a=5e3,overrideMaxWidth:s,style:l})=>{const c=Zt(),[d,p]=Pt(!1),u=Bt(null),h=Bt(null),m=e=>{n&&(p(!0),n({asSeen:e?.asSeen}))};Mt(()=>(u.current=setTimeout(()=>m({asSeen:!1}),a),()=>{u.current&&clearTimeout(u.current)}),[a]);const g=t||tr(e,c);return Rt(ws,{className:n?"animated":"",$duration:a,$isLeaving:d,onMouseEnter:()=>{u.current&&clearTimeout(u.current),h.current&&(h.current.style.animationPlayState="paused")},onMouseLeave:()=>{if(h.current){const e=h.current.offsetWidth/h.current.parentElement.offsetWidth*a;u.current=setTimeout(()=>m({asSeen:!1}),e),h.current.style.animationPlayState="running"}},children:[Rt(Cs,{"data-id":"toast",$type:e,style:l,children:[Ot(g,{fill:c.text[e]}),Rt(ks,{$withAction:!!r,$overrideMaxWidth:s,children:[o&&Ot(Es,{$type:e,children:o}),o&&i&&Ot(ns,{orientation:"vertical",type:e}),i&&Ot(As,{$type:e,children:i})]}),(!!r||!!n)&&Rt(Ds,{children:[r&&Ot(Ts,{"data-id":"toast-action",onClick:r.onClick,children:r.label}),n&&Ot(vs,{"data-id":"toast-close",onClick:()=>m({asSeen:!0}),children:Ot(ct,{size:12})})]})]}),n&&Ot(Ss,{ref:h,$duration:a,$type:e})]})},Is=Yt.div`
578
615
  padding: 24px 32px;
579
- `,As=Yt.div`
616
+ `,_s=Yt.div`
580
617
  padding: ${({$withNote:e})=>e?"12px 0px":"12px 0px 32px 0"};
581
- `,Ds=Yt(qi)`
618
+ `,Os=Yt(qr)`
582
619
  font-size: 20px;
583
620
  line-height: 28px;
584
- `,Ts=Yt(qi)`
621
+ `,Rs=Yt(qr)`
585
622
  color: ${({theme:e})=>e.text.grey};
586
623
  width: 416px;
587
624
  font-style: normal;
588
625
  font-weight: 300;
589
626
  line-height: 24px;
590
- `,Ns=Yt.div`
627
+ `,Fs=Yt.div`
591
628
  display: flex;
592
629
  justify-content: space-between;
593
630
  gap: 12px;
594
- `,Is=Yt(da)`
631
+ `,zs=Yt(da)`
595
632
  width: 250px;
596
- `,_s=Yt.div`
633
+ `,Ls=Yt.div`
597
634
  margin-bottom: 12px;
598
- `,Os=({isOpen:e,noOverlay:t,title:o="",description:r="",note:i,approveButton:n,denyButton:a,closeOnEscape:s=!0})=>{Aa({key:"Enter",active:e&&s},()=>n.onClick());const l=()=>a.onClick();return Ot(rs,{isOpen:e,noOverlay:t,onClose:l,children:Rt(Es,{children:[Ot(Ds,{children:o}),Ot(As,{$withNote:!!i,children:Ot(Ts,{children:r})}),!!i&&Ot(_s,{children:Ot(ks,{type:i.type,title:i.title,message:i.message})}),Rt(Ns,{children:[Ot(Is,{"data-id":"approve",variant:n.variant||"primary",onClick:()=>n.onClick(),children:n.text}),Ot(Is,{"data-id":"deny",variant:a.variant||"secondary",onClick:l,children:a.text})]})]})})},Rs=({isOpen:e,noOverlay:t,name:o,onApprove:r,onDeny:i})=>Ot(Os,{isOpen:e,noOverlay:t,title:"Cancel"+(o?` ${o}`:""),description:"Are you sure you want to cancel?",approveButton:{text:"Confirm",variant:Vo.Warning,onClick:r},denyButton:{text:"Go Back",onClick:i}}),Fs=Yt.div`
635
+ `,Ps=({isOpen:e,noOverlay:t,title:o="",description:i="",note:r,approveButton:n,denyButton:a,closeOnEscape:s=!0})=>{Aa({key:"Enter",active:e&&s},()=>n.onClick());const l=()=>a.onClick();return Ot(is,{isOpen:e,noOverlay:t,onClose:l,children:Rt(Is,{children:[Ot(Os,{children:o}),Ot(_s,{$withNote:!!r,children:Ot(Rs,{children:i})}),!!r&&Ot(Ls,{children:Ot(Ns,{type:r.type,title:r.title,message:r.message})}),Rt(Fs,{children:[Ot(zs,{"data-id":"approve",variant:n.variant||"primary",onClick:()=>n.onClick(),children:n.text}),Ot(zs,{"data-id":"deny",variant:a.variant||"secondary",onClick:l,children:a.text})]})]})})},Ms=({isOpen:e,noOverlay:t,name:o,onApprove:i,onDeny:r})=>Ot(Ps,{isOpen:e,noOverlay:t,title:"Cancel"+(o?` ${o}`:""),description:"Are you sure you want to cancel?",approveButton:{text:"Confirm",variant:Xo.Warning,onClick:i},denyButton:{text:"Go Back",onClick:r}}),Bs=Yt.div`
599
636
  display: flex;
600
637
  align-items: center;
601
638
  gap: 8px;
602
639
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
603
640
  opacity: ${({$disabled:e})=>e?.6:1};
604
- `,zs=Yt.div`
641
+ `,Us=Yt.div`
605
642
  width: 18px;
606
643
  height: 18px;
607
644
  border-radius: 6px;
@@ -615,9 +652,9 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
615
652
  &:hover {
616
653
  border: 1px solid ${({theme:e})=>e.colors.secondary};
617
654
  }
618
- `,Ls=({title:e,titleColor:t,tooltip:o,value:r=!1,partiallyChecked:i=!1,onChange:n,disabled:a,style:s,errorMessage:l,allowPropagation:c=!1})=>{const d=Zt(),[p,u]=Pt(r);Mt(()=>u(r),[r]);return Rt(Ri,{children:[Rt(Fs,{"data-id":"checkbox"+(e?`-${e}`:""),$disabled:a,onClick:e=>{a||(c||e.stopPropagation(),n?n(!!i||!p):u(e=>!!i||!e))},style:s,children:[Ot(zs,{$isChecked:p,$isPartiallyChecked:i,$disabled:a,children:i?Ot(dt,{fill:d.text.white}):p?Ot(st,{fill:d.text.white}):null}),e&&Ot(hs,{text:o,withIcon:!0,children:Ot(qi,{size:12,color:t||d.text.grey,style:{maxWidth:"90%"},children:e})})]}),!!l&&Ot(Zi,{children:l})]})},Ps=Yt(Oi)`
655
+ `,js=({title:e,titleColor:t,tooltip:o,value:i=!1,partiallyChecked:r=!1,onChange:n,disabled:a,style:s,errorMessage:l,allowPropagation:c=!1})=>{const d=Zt(),[p,u]=Pt(i);Mt(()=>u(i),[i]);return Rt(Rr,{children:[Rt(Bs,{"data-id":"checkbox"+(e?`-${e}`:""),$disabled:a,onClick:e=>{a||(c||e.stopPropagation(),n?n(!!r||!p):u(e=>!!r||!e))},style:s,children:[Ot(Us,{$isChecked:p,$isPartiallyChecked:r,$disabled:a,children:r?Ot(dt,{fill:d.text.white}):p?Ot(st,{fill:d.text.white}):null}),e&&Ot(ys,{text:o,withIcon:!0,children:Ot(qr,{size:12,color:t||d.text.grey,style:{maxWidth:"90%"},children:e})})]}),!!l&&Ot(Zr,{children:l})]})},Ws=Yt(Or)`
619
656
  gap: 0;
620
- `,Ms=Yt.button`
657
+ `,Gs=Yt.button`
621
658
  padding: 4px 8px;
622
659
  background-color: ${({theme:e,$selected:t})=>t?e.colors.dropdown_bg_2:"transparent"};
623
660
  border-radius: ${({$position:e})=>"left"===e?"32px 0px 0px 32px":"right"===e?"0px 32px 32px 0px":"0"};
@@ -629,22 +666,22 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
629
666
  &:hover {
630
667
  border: 1px solid ${({theme:e})=>e.colors.secondary};
631
668
  }
632
- `,Bs=({isPrettyMode:e,setIsPrettyMode:t})=>Rt(Ps,{children:[Ot(Ms,{$position:"left",$selected:e,onClick:()=>t(!0),children:Ot(pt,{})}),Ot(Ms,{$position:"right",$selected:!e,onClick:()=>t(!1),children:Ot(ut,{})})]}),Us=Yt.table`
669
+ `,Hs=({isPrettyMode:e,setIsPrettyMode:t})=>Rt(Ws,{children:[Ot(Gs,{$position:"left",$selected:e,onClick:()=>t(!0),children:Ot(pt,{})}),Ot(Gs,{$position:"right",$selected:!e,onClick:()=>t(!1),children:Ot(ut,{})})]}),Xs=Yt.table`
633
670
  border-collapse: collapse;
634
671
  font-family: ${({theme:e})=>e.font_family.primary};
635
- `,js=Yt.tbody``,Ws=Yt.tr`
672
+ `,Vs=Yt.tbody``,Js=Yt.tr`
636
673
  td:first-child {
637
674
  padding-left: 0 !important;
638
675
  }
639
676
  td:last-child {
640
677
  padding-right: 0 !important;
641
678
  }
642
- `,Gs=Yt.td`
679
+ `,Ks=Yt.td`
643
680
  vertical-align: top;
644
681
  padding: 4px 6px;
645
- `,Xs=Yt(qi)`
682
+ `,qs=Yt(qr)`
646
683
  white-space: nowrap;
647
- `,Vs=Yt.span`
684
+ `,Ys=Yt.span`
648
685
  white-space: ${({$noWrap:e})=>e?"nowrap":"pre-wrap"};
649
686
  overflow-wrap: break-word;
650
687
  word-break: break-word;
@@ -652,38 +689,38 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
652
689
  /* Fallback for older browsers */
653
690
  -ms-word-break: break-all;
654
691
  font-size: 12px;
655
- `,Hs=({language:e,code:t,theme:o,flatten:r,pretty:i})=>{const{darkMode:n}=Zt(),a=o?ho[o]:n?ho.palenight:ho.vsLight;let s="";if("json"===e){const e=li(t,{}),o=Ei(e);s=Ai(r?Tr(o):o)}else s=t;return i&&"json"===e?Ot(Js,{darkMode:n,str:s}):Ot(uo,{theme:a||(n?ho.palenight:ho.vsLight),language:e,code:s,children:({getLineProps:e,getTokenProps:t,tokens:o})=>Ot("pre",{children:o.map((o,r)=>Ot("div",{...e({line:o}),children:o.map((e,o)=>Ot(Vs,{...t({token:e})},`line-${r}-token-${o}`))},`line-${r}`))})})},Js=({darkMode:e,str:t})=>{const o=Zt(),r=(e,t)=>{const r=new Array(e).fill(e=>Rt(Ws,{...e,children:[Ot(Gs,{}),Ot(Gs,{})]}));return Ot(zt,{children:r.map((e,r)=>Ot(e,{style:0===r?{borderBottom:`1px solid ${o.colors.border}`}:{}},`empty-row-${t}-${r}`))})};return Ot(uo,{theme:e?ho.palenight:ho.vsLight,language:"json",code:t,children:({getLineProps:e,getTokenProps:t,tokens:i})=>Ot(Us,{children:Ot(js,{children:i.map((i,n)=>{const a=(e=>{const t=["punctuation","plain","operator"];return e.filter(e=>!t.includes(e.types[0])).map(({types:e,content:t})=>{const o=[...e],r=["property","string"].includes(o[0])?t.replace(/"/g,""):t;return"string"===o[0]&&(["true","false"].includes(r.split("@")[0])&&(o[0]="boolean"),r.split("@")[0].match(/^[0-9]+$/)&&(o[0]="number")),{types:o,content:r}})})(i),s=e({line:a});return 1===a.length&&"property"===a[0].types[0]?Rt(zt,{children:[r(2,n),Rt(Ws,{...s,children:[Ot(Gs,{children:Ot(Xs,{children:a[0].content})}),Ot(Gs,{})]})]},`line-${n}`):2===a.length?Ot(Ws,{...s,children:a.map((e,r)=>{const{text:i,components:a}=((e,t)=>{const[o,...r]=e.split("@");return{text:o,components:r?.map((e,o)=>{if(!e.includes("="))return null;const[r,i]=e.split("=");switch(r){case"tooltip":return Ot(hs,{withIcon:!0,text:i},`${r}-${i}-${o}`);case"status":if("none"===i)return Ot("div",{style:{width:16,height:16}},`${r}-${i}-${o}`);let e=ti(i,t);return e||(e=ti(Vo.Warning,t)),Ot(e,{},`${r}-${i}-${o}`);default:return null}})?.filter(e=>!!e)||[]}})(e.content,o),s=0===r;return Ot(Gs,{children:Rt(Oi,{children:[Ot(Oi,{children:a}),Ot(Vs,{$noWrap:s,...t({token:e}),children:i})]})},`line-${n}-token-${r}`)})},`line-${n}`):(a.length,null)})})})})},Ks={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function qs(e){if("number"==typeof e)return{value:e,unit:"px"};let t;const o=(e.match(/^[0-9.]*/)||"").toString();t=o.includes(".")?parseFloat(o):parseInt(o,10);const r=(e.match(/[^0-9]*$/)||"").toString();return Ks[r]?{value:t,unit:r}:{value:t,unit:"px"}}function Ys(e){const t=qs(e);return`${t.value}${t.unit}`}const Qs=((e,t,o)=>{const r=`react-spinners-${e}-${o}`;if("undefined"==typeof window||!window.document)return r;const i=document.createElement("style");document.head.appendChild(i);const n=i.sheet,a=`\n @keyframes ${r} {\n ${t}\n }\n `;return n&&n.insertRule(a,0),r})("FadeLoader","50% {opacity: 0.3} 100% {opacity: 1}","fade"),Zs=({loading:e=!0,color:t,scale:o=1,speedMultiplier:r=1,cssOverride:i={},style:n={},...a})=>{const s=Zt(),l=t||s.text.secondary;if(!e)return null;const{value:c}=qs(2),d=c+4.2,p=d/2+d/5.5,u=4*d*o,h={position:"relative",width:`${u}px`,height:`${u}px`,scale:o,...n,...i},m=(e,t)=>({position:"absolute",width:Ys(1.5),height:Ys(4),borderRadius:Ys(2),backgroundColor:l,transition:"2s",animationFillMode:"both",animation:`${Qs} ${1.2/r}s ${.12*e}s infinite ease-in-out`,transform:`translate(-50%, -50%) rotate(${t}deg)`});return Rt("span",{style:h,...a,children:[Ot("span",{style:{...m(1,0),top:`calc(50% + ${d}px)`,left:"50%"}}),Ot("span",{style:{...m(2,-45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${p}px)`}}),Ot("span",{style:{...m(3,90),top:"50%",left:`calc(50% + ${d}px)`}}),Ot("span",{style:{...m(4,45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${p}px)`}}),Ot("span",{style:{...m(5,0),top:`calc(50% + ${-1*d}px)`,left:"50%"}}),Ot("span",{style:{...m(6,-45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${-1*p}px)`}}),Ot("span",{style:{...m(7,90),top:"50%",left:`calc(50% + ${-1*d}px)`}}),Ot("span",{style:{...m(8,45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${-1*p}px)`}})]})},el=Yt.div`
692
+ `,Qs=({language:e,code:t,theme:o,flatten:i,pretty:r})=>{const{darkMode:n}=Zt(),a=o?ho[o]:n?ho.palenight:ho.vsLight;let s="";if("json"===e){const e=lr(t,{}),o=Er(e);s=Ar(i?Ti(o):o)}else s=t;return r&&"json"===e?Ot(Zs,{darkMode:n,str:s}):Ot(uo,{theme:a||(n?ho.palenight:ho.vsLight),language:e,code:s,children:({getLineProps:e,getTokenProps:t,tokens:o})=>Ot("pre",{children:o.map((o,i)=>Ot("div",{...e({line:o}),children:o.map((e,o)=>Ot(Ys,{...t({token:e})},`line-${i}-token-${o}`))},`line-${i}`))})})},Zs=({darkMode:e,str:t})=>{const o=Zt(),i=(e,t)=>{const i=new Array(e).fill(e=>Rt(Js,{...e,children:[Ot(Ks,{}),Ot(Ks,{})]}));return Ot(zt,{children:i.map((e,i)=>Ot(e,{style:0===i?{borderBottom:`1px solid ${o.colors.border}`}:{}},`empty-row-${t}-${i}`))})};return Ot(uo,{theme:e?ho.palenight:ho.vsLight,language:"json",code:t,children:({getLineProps:e,getTokenProps:t,tokens:r})=>Ot(Xs,{children:Ot(Vs,{children:r.map((r,n)=>{const a=(e=>{const t=["punctuation","plain","operator"];return e.filter(e=>!t.includes(e.types[0])).map(({types:e,content:t})=>{const o=[...e],i=["property","string"].includes(o[0])?t.replace(/"/g,""):t;return"string"===o[0]&&(["true","false"].includes(i.split("@")[0])&&(o[0]="boolean"),i.split("@")[0].match(/^[0-9]+$/)&&(o[0]="number")),{types:o,content:i}})})(r),s=e({line:a});return 1===a.length&&"property"===a[0].types[0]?Rt(zt,{children:[i(2,n),Rt(Js,{...s,children:[Ot(Ks,{children:Ot(qs,{children:a[0].content})}),Ot(Ks,{})]})]},`line-${n}`):2===a.length?Ot(Js,{...s,children:a.map((e,i)=>{const{text:r,components:a}=((e,t)=>{const[o,...i]=e.split("@");return{text:o,components:i?.map((e,o)=>{if(!e.includes("="))return null;const[i,r]=e.split("=");switch(i){case"tooltip":return Ot(ys,{withIcon:!0,text:r},`${i}-${r}-${o}`);case"status":if("none"===r)return Ot("div",{style:{width:16,height:16}},`${i}-${r}-${o}`);let e=tr(r,t);return e||(e=tr(Xo.Warning,t)),Ot(e,{},`${i}-${r}-${o}`);default:return null}})?.filter(e=>!!e)||[]}})(e.content,o),s=0===i;return Ot(Ks,{children:Rt(Or,{children:[Ot(Or,{children:a}),Ot(Ys,{$noWrap:s,...t({token:e}),children:r})]})},`line-${n}-token-${i}`)})},`line-${n}`):(a.length,null)})})})})},el={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function tl(e){if("number"==typeof e)return{value:e,unit:"px"};let t;const o=(e.match(/^[0-9.]*/)||"").toString();t=o.includes(".")?parseFloat(o):parseInt(o,10);const i=(e.match(/[^0-9]*$/)||"").toString();return el[i]?{value:t,unit:i}:{value:t,unit:"px"}}function ol(e){const t=tl(e);return`${t.value}${t.unit}`}const il=((e,t,o)=>{const i=`react-spinners-${e}-${o}`;if("undefined"==typeof window||!window.document)return i;const r=document.createElement("style");document.head.appendChild(r);const n=r.sheet,a=`\n @keyframes ${i} {\n ${t}\n }\n `;return n&&n.insertRule(a,0),i})("FadeLoader","50% {opacity: 0.3} 100% {opacity: 1}","fade"),rl=({loading:e=!0,color:t,scale:o=1,speedMultiplier:i=1,cssOverride:r={},style:n={},...a})=>{const s=Zt(),l=t||s.text.secondary;if(!e)return null;const{value:c}=tl(2),d=c+4.2,p=d/2+d/5.5,u=4*d*o,h={position:"relative",width:`${u}px`,height:`${u}px`,scale:o,...n,...r},m=(e,t)=>({position:"absolute",width:ol(1.5),height:ol(4),borderRadius:ol(2),backgroundColor:l,transition:"2s",animationFillMode:"both",animation:`${il} ${1.2/i}s ${.12*e}s infinite ease-in-out`,transform:`translate(-50%, -50%) rotate(${t}deg)`});return Rt("span",{style:h,...a,children:[Ot("span",{style:{...m(1,0),top:`calc(50% + ${d}px)`,left:"50%"}}),Ot("span",{style:{...m(2,-45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${p}px)`}}),Ot("span",{style:{...m(3,90),top:"50%",left:`calc(50% + ${d}px)`}}),Ot("span",{style:{...m(4,45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${p}px)`}}),Ot("span",{style:{...m(5,0),top:`calc(50% + ${-1*d}px)`,left:"50%"}}),Ot("span",{style:{...m(6,-45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${-1*p}px)`}}),Ot("span",{style:{...m(7,90),top:"50%",left:`calc(50% + ${-1*d}px)`}}),Ot("span",{style:{...m(8,45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${-1*p}px)`}})]})},nl=Yt.div`
656
693
  margin: ${({$align:e})=>"right"===e?"auto 6px auto auto":"left"===e?"auto auto auto 6px":"auto"};
657
694
  display: flex;
658
695
  align-items: center;
659
696
  justify-content: center;
660
- `,tl=({extend:e,size:t=14,align:o="center"})=>Ot(el,{$align:o,children:Ot(ht,{size:t,rotate:e?180:0})}),ol=Yt.div`
697
+ `,al=({extend:e,size:t=14,align:o="center"})=>Ot(nl,{$align:o,children:Ot(ht,{size:t,rotate:e?180:0})}),sl=Yt.div`
661
698
  border-radius: 24px;
662
- background-color: ${({theme:e,$status:t})=>t===Vo.Error?e.text.error+Yn["010"]:t===Vo.Warning?e.text.warning+Yn["010"]:e.colors.secondary+Yn["005"]};
699
+ background-color: ${({theme:e,$status:t})=>t===Xo.Error?e.text.error+Yn["010"]:t===Xo.Warning?e.text.warning+Yn["010"]:e.colors.secondary+Yn["005"]};
663
700
  &:hover {
664
- background-color: ${({theme:e,$status:t})=>t===Vo.Error?e.text.error+Yn["020"]:t===Vo.Warning?e.text.warning+Yn["020"]:e.colors.secondary+Yn["010"]};
701
+ background-color: ${({theme:e,$status:t})=>t===Xo.Error?e.text.error+Yn["020"]:t===Xo.Warning?e.text.warning+Yn["020"]:e.colors.secondary+Yn["010"]};
665
702
  }
666
703
  cursor: pointer;
667
704
  transition: background 0.3s;
668
- `,rl=Yt.div`
705
+ `,ll=Yt.div`
669
706
  display: flex;
670
707
  align-items: center;
671
708
  gap: 12px;
672
709
  padding: 12px 18px;
673
- `,il=Yt.div`
710
+ `,cl=Yt.div`
674
711
  display: flex;
675
712
  flex-direction: column;
676
713
  gap: 8px;
677
714
  padding: 6px 18px 12px 18px;
678
- `,nl=Yt.div`
715
+ `,dl=Yt.div`
679
716
  display: flex;
680
717
  align-items: center;
681
718
  gap: 12px;
682
- `,al=Yt(qi)`
719
+ `,pl=Yt(qr)`
683
720
  white-space: nowrap;
684
- `,sl=Yt(Ri)`
721
+ `,ul=Yt(Rr)`
685
722
  width: 16px;
686
- `,ll=({conditions:e,headerLabelError:t="Something Failed",headerLabelWarning:o="Something isn't right",headerLabelSuccess:r="Everything Successful"})=>{const i=Zt(),[n,a]=Pt(!1),s=Lt(()=>bi(e),[e]),{errors:l,hasErrors:c,warnings:d,hasWarnings:p,hasDisableds:u,hasLoadings:h}=Lt(()=>Rr(s),[s]);Mt(()=>{a(c||p||u)},[c,p,u]);const m=(!s.length||h)&&!c&&!p&&!u,g=c?Vo.Error:p?Vo.Warning:u?Vo.Info:Vo.Success,f=ti(g,i),x=c?t:p||u?o:m?"Loading...":r,y=c?i.text.error:p?i.text.warning:i.text.info,b=`(${c?l.length:p?d.length:s.length}/${s.length})`,$=c?i.text.error_secondary:p?i.text.warning_secondary:i.text.info_secondary,v=Ut(()=>a(e=>!e),[]);return Rt(ol,{onClick:v,$status:g,children:[Rt(rl,{children:[Ot(m?Zs:f,{}),Ot(qi,{color:y,size:14,children:x}),Ot(qi,{color:$,size:12,family:"secondary",children:b}),Ot(tl,{extend:n,align:"right"})]}),n&&Ot(il,{children:s.map(({status:e,type:t,reason:o,message:r},n)=>{const a=e===Jo.Loading?()=>Ot(Zs,{scale:.8}):e===Jo.Disabled?ti(Vo.Info,i):ti(e,i),s=e===Jo.Disabled?i.text.info:e===Vo.Error?i.text.error:e===Vo.Warning?i.text.warning:i.text.info,l=e===Jo.Disabled?i.text.info_secondary:e===Vo.Error?i.text.error_secondary:e===Vo.Warning?i.text.warning_secondary:i.text.info_secondary;return Rt(nl,{children:[Ot(sl,{children:Ot(a,{})}),Rt(qi,{color:s,size:12,children:[Ot(al,{color:l,size:12,weight:700,children:t}),r||o]})]},`condition-${n}`)})})]})},cl=Yt.div`
723
+ `,hl=({conditions:e,headerLabelError:t="Something Failed",headerLabelWarning:o="Something isn't right",headerLabelSuccess:i="Everything Successful"})=>{const r=Zt(),[n,a]=Pt(!1),s=Lt(()=>br(e),[e]),{errors:l,hasErrors:c,warnings:d,hasWarnings:p,hasDisableds:u,hasLoadings:h}=Lt(()=>Ri(s),[s]);Mt(()=>{a(c||p||u)},[c,p,u]);const m=(!s.length||h)&&!c&&!p&&!u,g=c?Xo.Error:p?Xo.Warning:u?Xo.Info:Xo.Success,f=tr(g,r),x=c?t:p||u?o:m?"Loading...":i,y=c?r.text.error:p?r.text.warning:r.text.info,b=`(${c?l.length:p?d.length:s.length}/${s.length})`,$=c?r.text.error_secondary:p?r.text.warning_secondary:r.text.info_secondary,v=Ut(()=>a(e=>!e),[]);return Rt(sl,{onClick:v,$status:g,children:[Rt(ll,{children:[Ot(m?rl:f,{}),Ot(qr,{color:y,size:14,children:x}),Ot(qr,{color:$,size:12,family:"secondary",children:b}),Ot(al,{extend:n,align:"right"})]}),n&&Ot(cl,{children:s.map(({status:e,type:t,reason:o,message:i},n)=>{const a=e===Jo.Loading?()=>Ot(rl,{scale:.8}):e===Jo.Disabled?tr(Xo.Info,r):tr(e,r),s=e===Jo.Disabled?r.text.info:e===Xo.Error?r.text.error:e===Xo.Warning?r.text.warning:r.text.info,l=e===Jo.Disabled?r.text.info_secondary:e===Xo.Error?r.text.error_secondary:e===Xo.Warning?r.text.warning_secondary:r.text.info_secondary;return Rt(dl,{children:[Ot(ul,{children:Ot(a,{})}),Rt(qr,{color:s,size:12,children:[Ot(pl,{color:l,size:12,weight:700,children:t}),i||o]})]},`condition-${n}`)})})]})},ml=Yt.div`
687
724
  display: flex;
688
725
  align-items: center;
689
726
  gap: ${({$size:e})=>e/3}px;
@@ -692,13 +729,13 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
692
729
  border-radius: 360px;
693
730
  border: ${({$withBorder:e,$status:t,theme:o})=>e?`1px solid ${o.text[t]+Yn["050"]}`:"none"};
694
731
  background: ${({$withBackground:e,$status:t,theme:o})=>e?`linear-gradient(90deg, transparent 0%, ${o.text[t]+Yn["030"]} 100%)`:"transparent"};
695
- `,dl=Yt.div`
732
+ `,gl=Yt.div`
696
733
  display: flex;
697
734
  align-items: center;
698
- `,pl=Yt.div`
735
+ `,fl=Yt.div`
699
736
  display: flex;
700
737
  align-items: center;
701
- `,ul=({title:e,subtitle:t,status:o=Vo.Default,forceIcon:r,withIcon:i,withBorder:n,withBackground:a,width:s,size:l=12,family:c="secondary",nowrap:d=!1})=>{const p=Zt(),u=[Jo.Loading,Jo.Disabled].includes(o)?Vo.Info:o,h=r?()=>Ot(r,{size:l+2,fill:p.text[u]}):o===Jo.Loading?()=>Ot(Zs,{scale:.8}):()=>ti(u,p)?.({size:l+2});return Rt(cl,{$status:u,$width:s,$size:l,$withIcon:i,$withBorder:n,$withBackground:a,children:[i&&Ot(dl,{children:Ot(h,{})}),(!!e||!!t)&&Rt(pl,{children:[!!e&&Ot(qi,{size:l,family:c,color:p.text[u],nowrap:d,children:e}),!!e&&!!t&&Ot(ns,{orientation:"vertical",length:l-2+"px",type:u}),!!t&&Ot(qi,{size:l-2,family:c,color:p.text[`${u}_secondary`],nowrap:d,children:t})]})]})},hl=({label:e,onClick:t,variant:o="tertiary",textProps:r,...i})=>{const n=Zt();return Rt(da,{onClick:t,variant:o,...i,children:[Ot(mt,{fill:"primary"===o?n.text.primary:n.text.info}),Ot(qi,{size:14,family:"secondary",decoration:"underline",color:"primary"===o?n.text.primary:void 0,...r,children:e||Ar.ADD})]})},ml=Yt(Oi)`
738
+ `,xl=({title:e,subtitle:t,status:o=Xo.Default,forceIcon:i,withIcon:r,withBorder:n,withBackground:a,width:s,size:l=12,family:c="secondary",nowrap:d=!1})=>{const p=Zt(),u=[Jo.Loading,Jo.Disabled].includes(o)?Xo.Info:o,h=i?()=>Ot(i,{size:l+2,fill:p.text[u]}):o===Jo.Loading?()=>Ot(rl,{scale:.8}):()=>tr(u,p)?.({size:l+2});return Rt(ml,{$status:u,$width:s,$size:l,$withIcon:r,$withBorder:n,$withBackground:a,children:[r&&Ot(gl,{children:Ot(h,{})}),(!!e||!!t)&&Rt(fl,{children:[!!e&&Ot(qr,{size:l,family:c,color:p.text[u],nowrap:d,children:e}),!!e&&!!t&&Ot(ns,{orientation:"vertical",length:l-2+"px",type:u}),!!t&&Ot(qr,{size:l-2,family:c,color:p.text[`${u}_secondary`],nowrap:d,children:t})]})]})},yl=({label:e,onClick:t,variant:o="tertiary",textProps:i,...r})=>{const n=Zt();return Rt(da,{onClick:t,variant:o,...r,children:[Ot(mt,{fill:"primary"===o?n.text.primary:n.text.info}),Ot(qr,{size:14,family:"secondary",decoration:"underline",color:"primary"===o?n.text.primary:void 0,...i,children:e||Ai.ADD})]})},bl=Yt(Or)`
702
739
  width: 100%;
703
740
  border-radius: 8px;
704
741
  background-color: ${({theme:e})=>e.colors.secondary+Yn["010"]};
@@ -709,7 +746,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
709
746
  width: 100%;
710
747
  padding-left: 12px;
711
748
  }
712
- `,gl=({value:e,callbackCopyDone:t})=>{const{clickCopy:o,isCopied:r}=va();return Rt(ml,{children:[Ot("pre",{children:e}),Ot(fs,{onClick:r=>{r.stopPropagation(),o(e),t?.()},tooltip:r?"Copied!":"Copy",children:Ot(r?st:lt,{})})]})},fl=({label:e,onClick:t,variant:o="tertiary",...r})=>{const i=Zt();return Rt(da,{onClick:t,variant:o,...r,children:[Ot(gt,{fill:"primary"===o?i.text.primary:i.text.info}),Ot(qi,{size:14,family:"secondary",decoration:"underline",color:"primary"===o?i.text.primary:void 0,children:e||Ar.EDIT})]})},xl=({onClick:e})=>Ot(ks,{type:Vo.Default,icon:He,message:Er.QUICK_BACK_TO_SUMMARY,action:{label:Er.GO_TO_SUMMARY,onClick:e}}),yl=Yt(qi)`
749
+ `,$l=({value:e,callbackCopyDone:t})=>{const{clickCopy:o,isCopied:i}=va();return Rt(bl,{children:[Ot("pre",{children:e}),Ot(vs,{onClick:i=>{i.stopPropagation(),o(e),t?.()},tooltip:i?"Copied!":"Copy",children:Ot(i?st:lt,{})})]})},vl=({label:e,onClick:t,variant:o="tertiary",...i})=>{const r=Zt();return Rt(da,{onClick:t,variant:o,...i,children:[Ot(gt,{fill:"primary"===o?r.text.primary:r.text.info}),Ot(qr,{size:14,family:"secondary",decoration:"underline",color:"primary"===o?r.text.primary:void 0,children:e||Ai.EDIT})]})},wl=({onClick:e})=>Ot(Ns,{type:Xo.Default,icon:Ve,message:Ei.QUICK_BACK_TO_SUMMARY,action:{label:Ei.GO_TO_SUMMARY,onClick:e}}),Sl=Yt(qr)`
713
750
  max-width: ${({$maxWidth:e})=>e?`${e}px`:"unset"};
714
751
  white-space: nowrap;
715
752
  overflow-x: auto;
@@ -719,7 +756,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
719
756
  content: '';
720
757
  display: block;
721
758
  }
722
- `,bl=({maxWidth:e,text:t,textSize:o=16,textColor:r})=>{const[i,n]=Pt(!1),a=Bt(null);return Mt(()=>{if(a.current){const{clientWidth:t}=a.current;n(t<1.05*(e-o)&&t>.95*(e-o))}},[e,o,t]),Rt(Oi,{$gap:0,children:[t&&Ot(hs,{text:i?t:void 0,children:Ot(yl,{ref:a,$maxWidth:e-o,size:o,color:r,children:t})}),i&&Ot(yl,{$maxWidth:o,size:o,color:r,children:"..."})]})},$l=({src:e="",alt:t="",size:o=16})=>{const[r,i]=Pt(!1);return e&&!r?Ot("img",{src:e,alt:t,width:o,height:o,onError:()=>i(!0)}):Ot(s,{size:o})},vl=Yt.div`
759
+ `,Cl=({maxWidth:e,text:t,textSize:o=16,textColor:i})=>{const[r,n]=Pt(!1),a=Bt(null);return Mt(()=>{if(a.current){const{clientWidth:t}=a.current;n(t<1.05*(e-o)&&t>.95*(e-o))}},[e,o,t]),Rt(Or,{$gap:0,children:[t&&Ot(ys,{text:r?t:void 0,children:Ot(Sl,{ref:a,$maxWidth:e-o,size:o,color:i,children:t})}),r&&Ot(Sl,{$maxWidth:o,size:o,color:i,children:"..."})]})},kl=({src:e="",alt:t="",size:o=16})=>{const[i,r]=Pt(!1);return e&&!i?Ot("img",{src:e,alt:t,width:o,height:o,onError:()=>r(!0)}):Ot(s,{size:o})},El=Yt.div`
723
760
  display: flex;
724
761
  align-items: center;
725
762
  justify-content: center;
@@ -727,7 +764,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
727
764
  height: ${({$size:e})=>e}px;
728
765
  border-radius: 8px;
729
766
  background: ${({$status:e,theme:t})=>{const o=t.colors[e||"dropdown_bg_2"];return`linear-gradient(180deg, ${o} 0%, ${o+Yn["030"]} 100%)`}};
730
- `,wl=({icon:e,src:t="",alt:o="",status:r,size:i=36})=>Ot(vl,{$status:r,$size:i,children:t?Ot($l,{src:t,alt:o,size:i-12}):Ot(e||s,{size:i-12})}),Sl=Yt.div`
767
+ `,Al=({icon:e,src:t="",alt:o="",status:i,size:r=36})=>Ot(El,{$status:i,$size:r,children:t?Ot(kl,{src:t,alt:o,size:r-12}):Ot(e||s,{size:r-12})}),Dl=Yt.div`
731
768
  position: relative;
732
769
  display: flex;
733
770
  flex-wrap: wrap;
@@ -735,7 +772,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
735
772
  justify-content: center;
736
773
  width: ${({$size:e})=>e}px;
737
774
  height: ${({$size:e})=>e}px;
738
- `,Cl=Yt.div`
775
+ `,Tl=Yt.div`
739
776
  position: absolute;
740
777
  top: ${({$top:e})=>e}px;
741
778
  left: ${({$left:e})=>e}px;
@@ -748,9 +785,9 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
748
785
  border-radius: 100%;
749
786
  border: 1px solid ${({theme:e,$status:t})=>(t?e.text[t]:e.colors.border)+Yn["030"]};
750
787
  background: ${({$status:e,theme:t})=>{const o=t.colors[e||"dropdown_bg_2"];return`linear-gradient(180deg, ${o} 0%, ${o+Yn["030"]} 100%)`}};
751
- `,kl=({icons:e=[],iconSrcs:t=[],status:o,size:r=36,id:i})=>{const n=Zt(),a=1===e.length||1===t.length?r-12:r/2.7;if(t.length>0)return Ot(kl,{icons:t.map(e=>()=>Ot($l,{src:e,size:a})),status:o,size:r,id:i});if(1===e.length)return Ot(wl,{icon:e[0],status:o,size:r});const s=t=>e.length<=2?.5*a:0===t||1===t?0:1.15*a,l=e=>0===e?0:1===e?1.15*a:1.15*a*.5;return Ot(Sl,{$status:o,$size:r,children:e.map((t,r)=>r>2?null:Ot(Cl,{$status:o,$size:1.5*a,$top:s(r),$left:l(r),$zIndex:r+1,children:2===r&&e.length>3?Rt(qi,{family:"secondary",color:n.text.dark_grey,size:.8*a,children:["+",e.length-2]}):Ot(t,{size:a})},`icon-${i}-${r}`))})},El=Sn.map(({id:e})=>e),Al=({monitors:e=El,withTooltips:t,withLabels:o,size:r=12,color:i})=>{const n=Zt(),a=i||n.text.grey;return Ot(Oi,{$gap:o?r:r/2,children:e.map(e=>{const i=xo(e.toLowerCase()),n=Jr(e);return n?Ot(hs,{text:t?i:"",children:Rt(Oi,{$gap:r/3,children:[Ot(n,{size:o?r+2:r,fill:a}),o&&Ot(qi,{size:r,color:a,children:i})]})},e):null})})},Dl=Yt.div`
788
+ `,Nl=({icons:e=[],iconSrcs:t=[],status:o,size:i=36,id:r})=>{const n=Zt(),a=1===e.length||1===t.length?i-12:i/2.7;if(t.length>0)return Ot(Nl,{icons:t.map(e=>()=>Ot(kl,{src:e,size:a})),status:o,size:i,id:r});if(1===e.length)return Ot(Al,{icon:e[0],status:o,size:i});const s=t=>e.length<=2?.5*a:0===t||1===t?0:1.15*a,l=e=>0===e?0:1===e?1.15*a:1.15*a*.5;return Ot(Dl,{$status:o,$size:i,children:e.map((t,i)=>i>2?null:Ot(Tl,{$status:o,$size:1.5*a,$top:s(i),$left:l(i),$zIndex:i+1,children:2===i&&e.length>3?Rt(qr,{family:"secondary",color:n.text.dark_grey,size:.8*a,children:["+",e.length-2]}):Ot(t,{size:a})},`icon-${r}-${i}`))})},Il=Sn.map(({id:e})=>e),_l=({monitors:e=Il,withTooltips:t,withLabels:o,size:i=12,color:r})=>{const n=Zt(),a=r||n.text.grey;return Ot(Or,{$gap:o?i:i/2,children:e.map(e=>{const r=xo(e.toLowerCase()),n=Ji(e);return n?Ot(ys,{text:t?r:"",children:Rt(Or,{$gap:i/3,children:[Ot(n,{size:o?i+2:i,fill:a}),o&&Ot(qr,{size:i,color:a,children:r})]})},e):null})})},Ol=Yt.div`
752
789
  visibility: hidden;
753
- `,Tl=Yt.div`
790
+ `,Rl=Yt.div`
754
791
  display: flex;
755
792
  flex-direction: column;
756
793
  align-self: stretch;
@@ -760,59 +797,59 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
760
797
  background-color: ${({theme:e,$status:t,$bgColor:o})=>o||(t?e.text[t]+Yn["010"]:e.colors.secondary+Yn["005"])};
761
798
  opacity: ${({$faded:e})=>e?.5:1};
762
799
 
763
- ${({theme:e,$status:t,$bgColorHover:o,$withClick:r})=>r?Qt`
800
+ ${({theme:e,$status:t,$bgColorHover:o,$withClick:i})=>i?Qt`
764
801
  &:hover {
765
802
  cursor: pointer;
766
803
  background-color: ${o||(t?e.text[t]+Yn["020"]:e.colors.secondary+Yn["010"])};
767
- ${Dl} {
804
+ ${Ol} {
768
805
  visibility: visible;
769
806
  }
770
807
  }
771
- `:`\n &:hover {\n ${Dl} {\n visibility: visible;\n }\n }\n `}
772
- `,Nl=Yt.div`
808
+ `:`\n &:hover {\n ${Ol} {\n visibility: visible;\n }\n }\n `}
809
+ `,Fl=Yt.div`
773
810
  display: flex;
774
811
  align-items: center;
775
812
  gap: 8px;
776
813
  margin-left: auto;
777
- `,Il=Yt(qi)`
814
+ `,zl=Yt(qr)`
778
815
  margin-right: 16px;
779
- `,_l=Yt(qi)`
816
+ `,Ll=Yt(qr)`
780
817
  font-size: 10px;
781
818
  color: ${({theme:e})=>e.text.grey};
782
- `,Ol=({title:e,subTitle:t,hoverText:o,onClick:r,renderActions:i,iconProps:{icon:n,icons:a,iconSrc:s,iconSrcs:l}={},visualProps:{status:c,faded:d,bgColor:p,bgColorHover:u,monitors:h,monitorsWithLabels:m,componentsUnderTitles:g}={},checkboxProps:{withCheckbox:f,isCheckboxDisabled:x,isChecked:y,isLoading:b,onCheckboxChange:$}={},extendableProps:{withExtend:v,isExtended:w,renderExtended:S}={},...C})=>{const k=Zt(),[E,A]=Pt(w||!1),[D,T]=Pt(0),N=Bt(null),I=Bt(null),_=Bt(null);return Mt(()=>{if(N.current){const e=N.current.clientWidth,t=I.current?.clientWidth||0;T(e-((f?125:85)+t))}},[f]),Rt(Tl,{ref:N,$status:c,$faded:d,$bgColor:p,$bgColorHover:u,$withClick:!!r,onClick:r,...C,children:[Rt(Oi,{$gap:8,children:[Rt(Oi,{$gap:16,children:[b?Ot(Zs,{}):f?Ot(Ls,{value:y,onChange:$,disabled:x}):null,a?.length||l?.length?Ot(kl,{icons:a,iconSrcs:l,status:c,id:`${e}-${t}`}):n||s?Ot(wl,{icon:n,src:s,status:c}):null]}),Rt(Ri,{$gap:4,children:[e&&Ot(bl,{maxWidth:D,text:e,textSize:14}),Rt(Oi,{$gap:4,children:[t&&Ot(bl,{maxWidth:D-(_.current?.clientWidth||0),text:t,textSize:10,textColor:k.text.grey}),h&&h.length>0&&Rt(Oi,{$gap:4,ref:_,children:[t&&Ot(_l,{children:"•"}),Ot(Al,{monitors:h,withLabels:m,size:10})]})]}),g&&g.length>0?Ot(Oi,{$gap:4,children:g?.map((e,t)=>Ot(zt,{children:e},`componentsUnderTitles-${t}`))}):null]}),Rt(Nl,{ref:I,children:[!!o&&Ot(Dl,{children:Ot(Il,{size:14,family:"secondary",children:o})}),i&&i(),v&&Rt(zt,{children:[Ot(ns,{orientation:"vertical",length:"16px",margin:"0 2px"}),Ot(fs,{onClick:()=>A(e=>!e),children:Ot(tl,{extend:E})})]})]})]}),E&&S&&Rt(Ri,{children:[Ot(ns,{margin:"16px 0"}),S()]})]})},Rl=Yt(Oi)`
819
+ `,Pl=({title:e,subTitle:t,hoverText:o,onClick:i,renderActions:r,iconProps:{icon:n,icons:a,iconSrc:s,iconSrcs:l}={},visualProps:{status:c,faded:d,bgColor:p,bgColorHover:u,monitors:h,monitorsWithLabels:m,componentsUnderTitles:g}={},checkboxProps:{withCheckbox:f,isCheckboxDisabled:x,isChecked:y,isLoading:b,onCheckboxChange:$}={},extendableProps:{withExtend:v,isExtended:w,renderExtended:S}={},...C})=>{const k=Zt(),[E,A]=Pt(w||!1),[D,T]=Pt(0),N=Bt(null),I=Bt(null),_=Bt(null);return Mt(()=>{if(N.current){const e=N.current.clientWidth,t=I.current?.clientWidth||0;T(e-((f?125:85)+t))}},[f]),Rt(Rl,{ref:N,$status:c,$faded:d,$bgColor:p,$bgColorHover:u,$withClick:!!i,onClick:i,...C,children:[Rt(Or,{$gap:8,children:[Rt(Or,{$gap:16,children:[b?Ot(rl,{}):f?Ot(js,{value:y,onChange:$,disabled:x}):null,a?.length||l?.length?Ot(Nl,{icons:a,iconSrcs:l,status:c,id:`${e}-${t}`}):n||s?Ot(Al,{icon:n,src:s,status:c}):null]}),Rt(Rr,{$gap:4,children:[e&&Ot(Cl,{maxWidth:D,text:e,textSize:14}),Rt(Or,{$gap:4,children:[t&&Ot(Cl,{maxWidth:D-(_.current?.clientWidth||0),text:t,textSize:10,textColor:k.text.grey}),h&&h.length>0&&Rt(Or,{$gap:4,ref:_,children:[t&&Ot(Ll,{children:"•"}),Ot(_l,{monitors:h,withLabels:m,size:10})]})]}),g&&g.length>0?Ot(Or,{$gap:4,children:g?.map((e,t)=>Ot(zt,{children:e},`componentsUnderTitles-${t}`))}):null]}),Rt(Fl,{ref:I,children:[!!o&&Ot(Ol,{children:Ot(zl,{size:14,family:"secondary",children:o})}),r&&r(),v&&Rt(zt,{children:[Ot(ns,{orientation:"vertical",length:"16px",margin:"0 2px"}),Ot(vs,{onClick:()=>A(e=>!e),children:Ot(al,{extend:E})})]})]})]}),E&&S&&Rt(Rr,{children:[Ot(ns,{margin:"16px 0"}),S()]})]})},Ml=Yt(Or)`
783
820
  width: 100%;
784
821
  justify-content: space-between;
785
- `,Fl=Yt(qi)`
822
+ `,Bl=Yt(qr)`
786
823
  font-size: 12px;
787
824
  color: ${({theme:e})=>e.text.grey};
788
- `,zl=Yt(qi)`
825
+ `,Ul=Yt(qr)`
789
826
  font-size: 10px;
790
827
  color: ${({theme:e})=>e.text.darker_grey};
791
- `,Ll=Yt.div`
828
+ `,jl=Yt.div`
792
829
  display: flex;
793
830
  align-items: center;
794
831
  gap: 8px;
795
832
  margin-left: auto;
796
- `,Pl=Yt(qi)`
833
+ `,Wl=Yt(qr)`
797
834
  font-size: 12px;
798
835
  text-align: right;
799
- `,Ml=({title:e,subTitle:t,tooltip:o,value:r})=>Rt(Rl,{children:[Ot(Ri,{$gap:4,children:Rt(hs,{text:o||"",children:[e&&Ot(Fl,{children:e},"title"),t&&Ot(zl,{children:t},"subtitle")]})}),Ot(Ll,{children:r?.status?Ot(ul,{status:"transitioning"===r.status?Jo.Loading:r.status,title:r.text||r.status,withBorder:!0,withIcon:!0}):Ot(Pl,{children:r?.text||"-"})})]}),Bl=Yt(Ri)`
836
+ `,Gl=({title:e,subTitle:t,tooltip:o,value:i})=>Rt(Ml,{children:[Ot(Rr,{$gap:4,children:Rt(ys,{text:o||"",children:[e&&Ot(Bl,{children:e},"title"),t&&Ot(Ul,{children:t},"subtitle")]})}),Ot(jl,{children:i?.status?Ot(xl,{status:"transitioning"===i.status?Jo.Loading:i.status,title:i.text||i.status,withBorder:!0,withIcon:!0}):Ot(Wl,{children:i?.text||"-"})})]}),Hl=Yt(Rr)`
800
837
  width: 100%;
801
- `,Ul=({containerName:e,actualDevices:t,started:o,ready:r,instrumentationInstances:i})=>{const n=Lt(()=>{const e=[];return o?.name&&e.push(Ot(ul,{status:mi(o.value)?Ci(o.value)?Vo.Success:Vo.Error:Vo.Default,title:o.name,withIcon:!0,withBorder:!0,size:8},"started")),r?.name&&e.push(Ot(ul,{status:mi(r.value)?Ci(r.value)?Vo.Success:Vo.Error:Vo.Default,title:r.name,withIcon:!0,withBorder:!0,size:8},"ready")),e},[o?.name,o?.value,r?.name,r?.value]);return Ot(Ol,{title:e.value,subTitle:i.length?`${i.length} Instrumented Processes`:void 0,visualProps:{componentsUnderTitles:n},renderActions:()=>Ot(ul,{status:Vo.Info,title:"Instrumentation Device",subtitle:t.value&&"[]"!==t.value?t.value:"none",withBorder:!0}),extendableProps:{isExtended:!!i.length,renderExtended:()=>Ot(Bl,{$gap:24,children:i.map((e,t)=>Rt(Bl,{$gap:8,children:[Ot(Ml,{title:`Instrumented Process #${t+1}`,subTitle:e.message?.value||"",value:{status:e.healthy.status,text:e.healthy.status===Vo.Success?"healthy":"unhealthy"}}),e.identifyingAttributes?.map(({name:e,value:t})=>Ot(Ml,{title:e,subTitle:"",value:{text:t,status:void 0}},`describe-${e}-${t}`))]},`process-${t}`))})}})},jl=({title:e="Data not found",subTitle:t})=>{const o=Zt().v2.colors.grey[400];return Rt(Fi,{children:[Rt(Oi,{$gap:8,children:[Ot(ft,{fill:o}),Ot(Xi,{size:Wi.XS,color:o,align:"center",children:e})]}),t&&Ot(Xi,{size:Wi.XXS,color:o,align:"center",children:t})]})},Wl=Yt(Ri)`
838
+ `,Xl=({containerName:e,actualDevices:t,started:o,ready:i,instrumentationInstances:r})=>{const n=Lt(()=>{const e=[];return o?.name&&e.push(Ot(xl,{status:mr(o.value)?Cr(o.value)?Xo.Success:Xo.Error:Xo.Default,title:o.name,withIcon:!0,withBorder:!0,size:8},"started")),i?.name&&e.push(Ot(xl,{status:mr(i.value)?Cr(i.value)?Xo.Success:Xo.Error:Xo.Default,title:i.name,withIcon:!0,withBorder:!0,size:8},"ready")),e},[o?.name,o?.value,i?.name,i?.value]);return Ot(Pl,{title:e.value,subTitle:r.length?`${r.length} Instrumented Processes`:void 0,visualProps:{componentsUnderTitles:n},renderActions:()=>Ot(xl,{status:Xo.Info,title:"Instrumentation Device",subtitle:t.value&&"[]"!==t.value?t.value:"none",withBorder:!0}),extendableProps:{isExtended:!!r.length,renderExtended:()=>Ot(Hl,{$gap:24,children:r.map((e,t)=>Rt(Hl,{$gap:8,children:[Ot(Gl,{title:`Instrumented Process #${t+1}`,subTitle:e.message?.value||"",value:{status:e.healthy.status,text:e.healthy.status===Xo.Success?"healthy":"unhealthy"}}),e.identifyingAttributes?.map(({name:e,value:t})=>Ot(Gl,{title:e,subTitle:"",value:{text:t,status:void 0}},`describe-${e}-${t}`))]},`process-${t}`))})}})},Vl=({title:e="Data not found",subTitle:t})=>{const o=Zt().v2.colors.grey[400];return Rt(Fr,{children:[Rt(Or,{$gap:8,children:[Ot(ft,{fill:o}),Ot(Hr,{size:Wr.XS,color:o,align:"center",children:e})]}),t&&Ot(Hr,{size:Wr.XXS,color:o,align:"center",children:t})]})},Jl=Yt(Rr)`
802
839
  max-width: 300px;
803
840
  padding: 12px;
804
841
  border-radius: 12px;
805
842
  background-color: ${({theme:e})=>e.colors.dropdown_bg};
806
843
  justify-content: center;
807
- `,Gl=Xt(({id:e,data:t})=>{const{title:o,subTitle:r}=t;return Ot(Wl,{"data-id":e,children:Ot(jl,{title:o,subTitle:r})})});Gl.displayName=Gl.name;const Xl=Yt.div`
844
+ `,Kl=Ht(({id:e,data:t})=>{const{title:o,subTitle:i}=t;return Ot(Jl,{"data-id":e,children:Ot(Vl,{title:o,subTitle:i})})});Kl.displayName=Kl.name;const ql=Yt.div`
808
845
  padding: 6px;
809
846
  border-radius: 12px;
810
847
  background-color: ${({theme:e})=>e.colors.dropdown_bg};
811
848
  cursor: pointer;
812
849
  ${({$isVirtual:e,theme:t})=>e&&`\n border: 1px dashed ${t.colors.border};\n opacity: 0.8;\n `}
813
- `,Vl=Yt.div`
850
+ `,Yl=Yt.div`
814
851
  position: relative;
815
- `,Hl=Yt.div`
852
+ `,Ql=Yt.div`
816
853
  position: absolute;
817
854
  top: 100%;
818
855
  margin-top: 4px;
@@ -824,12 +861,12 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
824
861
  gap: 2px;
825
862
  width: 140px;
826
863
  text-align: center;
827
- `,Jl=Xt(({id:e,data:t})=>{const{id:o,status:r,title:i,icons:n,isVirtual:a}=t,s=Zt(),l=a||r!==Vo.Error?null:ti(r,s);return Rt(Ft,{children:[Ot(oo,{type:"source",position:ro.Right,style:{visibility:"hidden"}}),Ot(oo,{type:"target",position:ro.Left,style:{visibility:"hidden"}}),Rt(Vl,{"data-id":e,children:[Ot(Xl,{$isVirtual:a,children:Ot(kl,{id:o,icons:n,status:a?void 0:r})}),Rt(Hl,{children:[l&&Ot(l,{}),Ot(qi,{size:12,style:{textAlign:"center",wordBreak:"break-word",lineHeight:"1.3"},children:i})]})]})]})});Jl.displayName=Jl.name;const Kl={duration:300,padding:.1,includeHiddenNodes:!0},ql=Yt.div`
864
+ `,Zl=Ht(({id:e,data:t})=>{const{id:o,status:i,title:r,icons:n,isVirtual:a}=t,s=Zt(),l=a||i!==Xo.Error?null:tr(i,s);return Rt(Ft,{children:[Ot(oo,{type:"source",position:io.Right,style:{visibility:"hidden"}}),Ot(oo,{type:"target",position:io.Left,style:{visibility:"hidden"}}),Rt(Yl,{"data-id":e,children:[Ot(ql,{$isVirtual:a,children:Ot(Nl,{id:o,icons:n,status:a?void 0:i})}),Rt(Ql,{children:[l&&Ot(l,{}),Ot(qr,{size:12,style:{textAlign:"center",wordBreak:"break-word",lineHeight:"1.3"},children:r})]})]})]})});Zl.displayName=Zl.name;const ec={duration:300,padding:.1,includeHiddenNodes:!0},tc=Yt.div`
828
865
  height: 100%;
829
866
  .react-flow__attribution {
830
867
  visibility: hidden;
831
868
  }
832
- `,Yl=Yt.div`
869
+ `,oc=Yt.div`
833
870
  button {
834
871
  padding: 8px;
835
872
  margin: 8px;
@@ -846,13 +883,13 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
846
883
  transform: scale(1.4);
847
884
  }
848
885
  }
849
- `,Ql={[Yo.MapItem]:Jl,[Yo.NoData]:Gl},Zl=({trigger:e})=>{const{fitView:t}=lo(),o=Bt(!0);return Mt(()=>{o.current?o.current=!1:e>0&&requestAnimationFrame(()=>t(Kl))},[e,t]),null},ec=({nodes:e,edges:t,onNodesChange:o,onEdgesChange:r,fitViewTrigger:i=0,zoomOnScroll:n=!1,onEdgeClick:a,onNodeMouseEnter:s,onNodeMouseLeave:l,onRefresh:c})=>{const{onClickNode:d}=ga(),{setActiveNodeType:p,setActiveNodeId:u}=fn();return Rt(no,{zoomOnScroll:n,nodes:e,nodeTypes:Ql,edges:t,onNodeClick:d,onEdgeClick:a,onNodeMouseEnter:s,onNodeMouseLeave:l,onNodesChange:o,onEdgesChange:r,onBlur:()=>{p(null),u(null)},children:[Ot(Zl,{trigger:i}),Ot(Yl,{children:Ot(ao,{position:"bottom-right",orientation:"horizontal",showInteractive:!1,showZoom:!0,showFitView:!0,fitViewOptions:Kl,children:c&&Ot(so,{onClick:c,children:Ot(xt,{size:20})})})})]})},tc=e=>Ot(ql,{children:Ot(io,{children:Ot(ec,{...e})})}),oc=Yt.div`
886
+ `,ic={[Yo.MapItem]:Zl,[Yo.NoData]:Kl},rc=({trigger:e})=>{const{fitView:t}=lo(),o=Bt(!0);return Mt(()=>{o.current?o.current=!1:e>0&&requestAnimationFrame(()=>t(ec))},[e,t]),null},nc=({nodes:e,edges:t,onNodesChange:o,onEdgesChange:i,fitViewTrigger:r=0,zoomOnScroll:n=!1,onEdgeClick:a,onNodeMouseEnter:s,onNodeMouseLeave:l,onRefresh:c})=>{const{onClickNode:d}=ga(),{setActiveNodeType:p,setActiveNodeId:u}=fn();return Rt(no,{zoomOnScroll:n,nodes:e,nodeTypes:ic,edges:t,onNodeClick:d,onEdgeClick:a,onNodeMouseEnter:s,onNodeMouseLeave:l,onNodesChange:o,onEdgesChange:i,onBlur:()=>{p(null),u(null)},children:[Ot(rc,{trigger:r}),Ot(oc,{children:Ot(ao,{position:"bottom-right",orientation:"horizontal",showInteractive:!1,showZoom:!0,showFitView:!0,fitViewOptions:ec,children:c&&Ot(so,{onClick:c,children:Ot(xt,{size:20})})})})]})},ac=e=>Ot(tc,{children:Ot(ro,{children:Ot(nc,{...e})})}),sc=Yt.div`
850
887
  display: flex;
851
888
 
852
889
  align-items: center;
853
890
  gap: 6px;
854
891
  margin-bottom: 4px;
855
- `,rc=Yt(qi)`
892
+ `,lc=Yt(qr)`
856
893
  font-size: 14px;
857
894
  opacity: 0.8;
858
895
  line-height: 22px;
@@ -860,16 +897,16 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
860
897
  white-space: nowrap;
861
898
  text-overflow: ellipsis;
862
899
  color: ${({$status:e,theme:t})=>e?t.text[e]:t.text.secondary};
863
- `,ic=Yt(qi)`
900
+ `,cc=Yt(qr)`
864
901
  font-size: 12px;
865
902
  color: ${({theme:e})=>e.text.darker_grey};
866
903
  opacity: 0.8;
867
- `,nc=({title:e,required:t,tooltip:o,style:r,status:i})=>e?Ot(oc,{style:r,children:Rt(hs,{text:o,withIcon:!0,children:[Ot(rc,{$status:i,children:e}),!t&&Ot(ic,{children:"(optional)"})]})}):null,ac=Yt.div`
904
+ `,dc=({title:e,required:t,tooltip:o,style:i,status:r})=>e?Ot(sc,{style:i,children:Rt(ys,{text:o,withIcon:!0,children:[Ot(lc,{$status:r,children:e}),!t&&Ot(cc,{children:"(optional)"})]})}):null,pc=Yt.div`
868
905
  display: flex;
869
906
  flex-direction: column;
870
907
  position: relative;
871
908
  width: 100%;
872
- `,sc=Yt.div`
909
+ `,uc=Yt.div`
873
910
  width: 100%;
874
911
  display: flex;
875
912
  align-items: center;
@@ -895,7 +932,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
895
932
  &:focus-within {
896
933
  border-color: ${({theme:e})=>e.colors.secondary};
897
934
  }
898
- `,lc=Yt.input`
935
+ `,hc=Yt.input`
899
936
  padding-left: ${({$hasIcon:e})=>e?"0":"16px"};
900
937
  flex: 1;
901
938
  min-width: 150px;
@@ -924,13 +961,13 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
924
961
  -webkit-appearance: none;
925
962
  margin: 0;
926
963
  }
927
- `,cc=Yt.div`
964
+ `,mc=Yt.div`
928
965
  display: flex;
929
966
  align-items: center;
930
967
  margin-left: 12px;
931
- `,dc=Yt(cc)`
968
+ `,gc=Yt(mc)`
932
969
  cursor: pointer;
933
- `,pc=Yt.button`
970
+ `,fc=Yt.button`
934
971
  background-color: ${({theme:e})=>e.colors.primary};
935
972
  border: none;
936
973
  color: ${({theme:e})=>e.text.secondary};
@@ -945,15 +982,15 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
945
982
  background-color: ${({theme:e})=>e.colors.border};
946
983
  cursor: not-allowed;
947
984
  }
948
- `,uc=({icon:e,buttonLabel:t,onButtonClick:o,hasError:r,errorMessage:i,title:n,tooltip:a,required:s,value:l,onChange:c,type:d=Xo.Text,name:p,status:u,...h})=>{const m=Zt(),g=d===Xo.Password,[f,x]=Pt(!1);return Rt(ac,{children:[Ot(nc,{title:n,required:s,tooltip:a,status:u}),Rt(sc,{$disabled:h.disabled,$hasError:r||!!i,$isActive:!!h.autoFocus,$status:u,children:[g?Ot(dc,{onClick:()=>x(e=>!e),children:Ot(f?yt:bt,{size:14,fill:m.text.grey})}):e?Ot(cc,{children:Ot(e,{size:14,fill:m.text.grey})}):null,Ot(lc,{"data-id":p,type:f||d===Xo.Number?Xo.Text:d,$hasIcon:!!e||g,name:p,value:l,onChange:e=>{e.stopPropagation(),d===Xo.Number&&(e.target.value=Si(e.target.value)),c?.(e)},onKeyDown:e=>{["Enter"].includes(e.key)||e.stopPropagation()},...h}),t&&o&&Ot(pc,{onClick:o,disabled:h.disabled,children:t})]}),!!i&&Ot(Zi,{children:i})]})},hc=Yt.div`
985
+ `,xc=({icon:e,buttonLabel:t,onButtonClick:o,hasError:i,errorMessage:r,title:n,tooltip:a,required:s,value:l,onChange:c,type:d=Ho.Text,name:p,status:u,...h})=>{const m=Zt(),g=d===Ho.Password,[f,x]=Pt(!1);return Rt(pc,{children:[Ot(dc,{title:n,required:s,tooltip:a,status:u}),Rt(uc,{$disabled:h.disabled,$hasError:i||!!r,$isActive:!!h.autoFocus,$status:u,children:[g?Ot(gc,{onClick:()=>x(e=>!e),children:Ot(f?yt:bt,{size:14,fill:m.text.grey})}):e?Ot(mc,{children:Ot(e,{size:14,fill:m.text.grey})}):null,Ot(hc,{"data-id":p,type:f||d===Ho.Number?Ho.Text:d,$hasIcon:!!e||g,name:p,value:l,onChange:e=>{e.stopPropagation(),d===Ho.Number&&(e.target.value=Sr(e.target.value)),c?.(e)},onKeyDown:e=>{["Enter"].includes(e.key)||e.stopPropagation()},...h}),t&&o&&Ot(fc,{onClick:o,disabled:h.disabled,children:t})]}),!!r&&Ot(Zr,{children:r})]})},yc=Yt.div`
949
986
  display: flex;
950
987
  flex-direction: column;
951
988
  min-width: 120px;
952
989
  width: 100%;
953
990
  opacity: ${({$disabled:e})=>e?.5:1};
954
- `,mc=Yt.div`
991
+ `,bc=Yt.div`
955
992
  position: relative;
956
- `,gc=Yt.div`
993
+ `,$c=Yt.div`
957
994
  display: flex;
958
995
  align-items: center;
959
996
  justify-content: space-between;
@@ -977,16 +1014,16 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
977
1014
  `:""}
978
1015
 
979
1016
  &:hover {
980
- border-color: ${({$isMulti:e,$hasSelections:t,$disabled:o,theme:r})=>o?"auto":e&&t?r.colors.border:r.colors.secondary};
1017
+ border-color: ${({$isMulti:e,$hasSelections:t,$disabled:o,theme:i})=>o?"auto":e&&t?i.colors.border:i.colors.secondary};
981
1018
  }
982
- `,fc=Yt.div`
1019
+ `,vc=Yt.div`
983
1020
  display: flex;
984
1021
  align-items: center;
985
1022
  gap: 4px;
986
- `,xc=({options:e,value:t,onSelect:o,onDeselect:r,title:i,tooltip:n,placeholder:a,disabled:s=!1,isMulti:l=!1,showSearch:c=!1,required:d=!1,errorMessage:p,hasError:u=!1,status:h})=>{const[m,g]=Pt(!1),[f,x]=Pt(!1),y=Bt(null);Da(y,()=>g(!1));const b=()=>{(()=>{if(y.current){const e=y.current.getBoundingClientRect().bottom+300>window.innerHeight;x(e)}})(),g(e=>!e)},$=Array.isArray(t)?t.length:0;return Rt(hc,{$disabled:s,children:[Ot(nc,{title:i,required:d,tooltip:n,status:h}),Rt(mc,{ref:y,children:[Rt(gc,{$isOpen:m,$isMulti:l,$hasSelections:!!Array.isArray(t)&&!!t.length,$hasError:!!p||u,$status:h,$disabled:s,onClick:()=>!s&&b(),children:[Ot(vc,{value:t,placeholder:a,onDeselect:r}),Rt(fc,{children:[l&&Ot(aa,{label:$,filled:!!$}),Ot(tl,{extend:m})]})]}),m&&Ot(Cc,{openUpwards:f,options:e,value:t,onSelect:e=>{o?.(e),l||b()},onDeselect:e=>{r?.(e),l||b()},isMulti:l,showSearch:c})]}),!!p&&Ot(Zi,{children:p})]})},yc=Yt(fc)`
1023
+ `,wc=({options:e,value:t,onSelect:o,onDeselect:i,title:r,tooltip:n,placeholder:a,disabled:s=!1,isMulti:l=!1,showSearch:c=!1,required:d=!1,errorMessage:p,hasError:u=!1,status:h})=>{const[m,g]=Pt(!1),[f,x]=Pt(!1),y=Bt(null);Da(y,()=>g(!1));const b=()=>{(()=>{if(y.current){const e=y.current.getBoundingClientRect().bottom+300>window.innerHeight;x(e)}})(),g(e=>!e)},$=Array.isArray(t)?t.length:0;return Rt(yc,{$disabled:s,children:[Ot(dc,{title:r,required:d,tooltip:n,status:h}),Rt(bc,{ref:y,children:[Rt($c,{$isOpen:m,$isMulti:l,$hasSelections:!!Array.isArray(t)&&!!t.length,$hasError:!!p||u,$status:h,$disabled:s,onClick:()=>!s&&b(),children:[Ot(Ec,{value:t,placeholder:a,onDeselect:i}),Rt(vc,{children:[l&&Ot(aa,{label:$,filled:!!$}),Ot(al,{extend:m})]})]}),m&&Ot(Tc,{openUpwards:f,options:e,value:t,onSelect:e=>{o?.(e),l||b()},onDeselect:e=>{i?.(e),l||b()},isMulti:l,showSearch:c})]}),!!p&&Ot(Zr,{children:p})]})},Sc=Yt(vc)`
987
1024
  max-width: calc(100% - 50px);
988
1025
  overflow-x: auto;
989
- `,bc=Yt(qi)`
1026
+ `,Cc=Yt(qr)`
990
1027
  display: flex;
991
1028
  align-items: center;
992
1029
  gap: 2px;
@@ -1001,7 +1038,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1001
1038
  transition: transform 0.3s;
1002
1039
  }
1003
1040
  }
1004
- `,$c=Yt(qi)``,vc=({value:e,placeholder:t,onDeselect:o})=>{const r=Zt();return Array.isArray(e)?e.length?Ot(yc,{children:e.map(e=>Rt(bc,{size:14,children:[e.value,Ot(ns,{orientation:"vertical",length:"10px",margin:"0 4px"}),Ot(ct,{size:12,onClick:t=>{t.stopPropagation(),o?.(e)}})]},`multi-label-${e.id}`))}):Ot($c,{size:14,color:r.text.darker_grey,children:t}):Ot($c,{size:14,color:e?.value?void 0:r.text.darker_grey,children:e?.value||t})},wc=Yt.div`
1041
+ `,kc=Yt(qr)``,Ec=({value:e,placeholder:t,onDeselect:o})=>{const i=Zt();return Array.isArray(e)?e.length?Ot(Sc,{children:e.map(e=>Rt(Cc,{size:14,children:[e.value,Ot(ns,{orientation:"vertical",length:"10px",margin:"0 4px"}),Ot(ct,{size:12,onClick:t=>{t.stopPropagation(),o?.(e)}})]},`multi-label-${e.id}`))}):Ot(kc,{size:14,color:i.text.darker_grey,children:t}):Ot(kc,{size:14,color:e?.value?void 0:i.text.darker_grey,children:e?.value||t})},Ac=Yt.div`
1005
1042
  position: absolute;
1006
1043
  ${({$openUpwards:e})=>e?"bottom":"top"}: calc(100% + 8px);
1007
1044
  left: 0;
@@ -1016,11 +1053,11 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1016
1053
  background-color: ${({theme:e})=>e.colors.dropdown_bg_2};
1017
1054
  border: 1px solid ${({theme:e})=>e.colors.border};
1018
1055
  border-radius: 24px;
1019
- `,Sc=Yt.div`
1056
+ `,Dc=Yt.div`
1020
1057
  display: flex;
1021
1058
  flex-direction: column;
1022
1059
  align-items: center;
1023
- `,Cc=({openUpwards:e,options:t,value:o,onSelect:r,onDeselect:i,isMulti:n,showSearch:a})=>{const[s,l]=Pt(""),c=t.filter(e=>e.value?.toLowerCase().includes(s?.toLowerCase()));return Rt(wc,{$openUpwards:e,children:[a&&Rt(Sc,{children:[Ot(uc,{placeholder:"Search...",icon:$t,value:s,onChange:e=>l(e.target.value)}),Ot(ns,{thickness:1,margin:"8px 0 0 0"})]}),0===c.length?Ot(jl,{subTitle:a&&s?void 0:" "}):c.map((e,t)=>Ot(Ec,{option:e,value:o,isMulti:n,onSelect:r,onDeselect:i},`dropdown-option-${e.id||t}`))]})},kc=Yt.div`
1060
+ `,Tc=({openUpwards:e,options:t,value:o,onSelect:i,onDeselect:r,isMulti:n,showSearch:a})=>{const[s,l]=Pt(""),c=t.filter(e=>e.value?.toLowerCase().includes(s?.toLowerCase()));return Rt(Ac,{$openUpwards:e,children:[a&&Rt(Dc,{children:[Ot(xc,{placeholder:"Search...",icon:$t,value:s,onChange:e=>l(e.target.value)}),Ot(ns,{thickness:1,margin:"8px 0 0 0"})]}),0===c.length?Ot(Vl,{subTitle:a&&s?void 0:" "}):c.map((e,t)=>Ot(Ic,{option:e,value:o,isMulti:n,onSelect:i,onDeselect:r},`dropdown-option-${e.id||t}`))]})},Nc=Yt.div`
1024
1061
  padding: 8px 12px;
1025
1062
  cursor: pointer;
1026
1063
  display: flex;
@@ -1031,21 +1068,21 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1031
1068
  &.selected {
1032
1069
  background: ${({theme:e})=>e.colors.majestic_blue+Yn["024"]};
1033
1070
  }
1034
- `,Ec=({option:e,value:t,isMulti:o,onSelect:r,onDeselect:i})=>{const n=Zt(),a=Array.isArray(t)?!!t?.find(t=>t.id===e.id):t?.id===e.id,s=t=>t?r?.(e):i?.(e);return o?Ot(kc,{className:a?"selected":"",onClick:()=>s(!a),children:Ot(Ls,{title:e.value||"",titleColor:n.text.secondary,value:a,onChange:s,style:{width:"100%"}})}):Rt(kc,{className:a?"selected":"",onClick:()=>a?i?.(e):r?.(e),children:[Rt(Oi,{$gap:8,children:[e.icon&&Ot(e.icon,{}),Ot(qi,{size:14,children:e.value})]}),a&&Ot(st,{})]})},Ac=Yt(Ri)`
1071
+ `,Ic=({option:e,value:t,isMulti:o,onSelect:i,onDeselect:r})=>{const n=Zt(),a=Array.isArray(t)?!!t?.find(t=>t.id===e.id):t?.id===e.id,s=t=>t?i?.(e):r?.(e);return o?Ot(Nc,{className:a?"selected":"",onClick:()=>s(!a),children:Ot(js,{title:e.value||"",titleColor:n.text.secondary,value:a,onChange:s,style:{width:"100%"}})}):Rt(Nc,{className:a?"selected":"",onClick:()=>a?r?.(e):i?.(e),children:[Rt(Or,{$gap:8,children:[e.icon&&Ot(e.icon,{}),Ot(qr,{size:14,children:e.value})]}),a&&Ot(st,{})]})},_c=Yt(Rr)`
1035
1072
  gap: 12px;
1036
- `,Dc=Yt(Oi)`
1073
+ `,Oc=Yt(Or)`
1037
1074
  width: 100%;
1038
1075
  gap: 12px;
1039
1076
  align-items: flex-end;
1040
- `,Tc=({clientX:e=0,flipX:t,clientY:o=0,flipY:r,isOpen:i,onClose:n,onSave:a,withDelete:s,onDelete:l,title:c,titleTooltip:d,warning:p,children:u})=>{const h=Zt(),{popupRef:m,popupPosition:g,handlePosition:f}=Ta({onClickOutside:n});return Aa({key:"Enter",active:i},a),Mt(()=>f(e,o),[e,o]),0===g.top&&0!==o||0===g.left&&0!==e?null:Ot(ds,{ref:m,isOpen:i,top:r?void 0:g.top,bottom:r?g.top:void 0,left:t?void 0:g.left,right:t?g.left:void 0,padding:"24px",children:Rt(Ac,{children:[Ot(hs,{text:d,withIcon:!0,children:Ot(qi,{size:14,children:c})}),Rt(Dc,{children:[u,Rt(Oi,{$gap:6,children:[Ot(fs,{withBorder:!0,onClick:n,tooltip:"Cancel",children:Ot(ct,{})}),Ot(fs,{withBorder:!0,backgroundColor:h.colors.secondary,onClick:a,tooltip:"Save",children:Ot(st,{fill:h.text.primary})}),s&&Ot(fs,{onClick:l,tooltip:"Undo",children:Ot(vt,{})})]})]}),p&&Ot(ks,{type:Vo.Warning,message:p})]})})},Nc=Yt.div`
1077
+ `,Rc=({clientX:e=0,flipX:t,clientY:o=0,flipY:i,isOpen:r,onClose:n,onSave:a,withDelete:s,onDelete:l,title:c,titleTooltip:d,warning:p,children:u})=>{const h=Zt(),{popupRef:m,popupPosition:g,handlePosition:f}=Ta({onClickOutside:n});return Aa({key:"Enter",active:r},a),Mt(()=>f(e,o),[e,o]),0===g.top&&0!==o||0===g.left&&0!==e?null:Ot(ds,{ref:m,isOpen:r,top:i?void 0:g.top,bottom:i?g.top:void 0,left:t?void 0:g.left,right:t?g.left:void 0,padding:"24px",children:Rt(_c,{children:[Ot(ys,{text:d,withIcon:!0,children:Ot(qr,{size:14,children:c})}),Rt(Oc,{children:[u,Rt(Or,{$gap:6,children:[Ot(vs,{withBorder:!0,onClick:n,tooltip:"Cancel",children:Ot(ct,{})}),Ot(vs,{withBorder:!0,backgroundColor:h.colors.secondary,onClick:a,tooltip:"Save",children:Ot(st,{fill:h.text.primary})}),s&&Ot(vs,{onClick:l,tooltip:"Undo",children:Ot(vt,{})})]})]}),p&&Ot(Ns,{type:Xo.Warning,message:p})]})})},Fc=Yt.div`
1041
1078
  position: relative;
1042
- `,Ic=({defaultLanguage:e=Bo.Unknown,defaultVersion:t="",defaultOtelDistroName:o=null,handleSave:r})=>{const{tier:i}=za(),{addNotification:n}=zn(),{formData:a,handleFormChange:s,resetFormData:l}=pa({language:e,version:t,otelDistroName:o}),[c,d]=Pt(!1),p=()=>{d(!1),l()},u=Lt(()=>{if(!a.language)return[];const e=En[a.language].community,t=i===Lo.Onprem?En[a.language].enterprise:[];return e.concat(t)},[a.language,i]);return Rt(Nc,{children:[Ot(fs,{tooltip:Er.OVERRIDE_RUNTIME_DETAILS,size:32,onClick:()=>{d(!0)},children:Ot(gt,{})}),Ot(Tc,{flipX:!0,clientX:36,isOpen:c,onClose:p,onSave:async()=>{!a.version||xi(a.version)?(await r({...a}),p()):n({type:Vo.Warning,message:kr.INVALID_VERSION,hideFromHistory:!0})},withDelete:!0,onDelete:async()=>{await r({language:null,version:"",otelDistroName:null}),p()},title:Er.OVERRIDE_RUNTIME_DETAILS,warning:Er.OVERRIDE_RUNTIME_WARNING,children:Rt(Ri,{$gap:12,children:[Rt(Oi,{$gap:12,children:[Ot(xc,{title:Er.LANGUAGE,options:kn,value:kn.find(e=>e.id===a.language),onSelect:e=>{s("language",e.id),s("version",""),s("otelDistroName",null)},required:!0}),Ot(uc,{title:Er.RUNTIME_VERSION,placeholder:Er.VERSION_PLACEHOLDER,value:a.version,onChange:e=>s("version",e.target.value),required:!1})]}),a.language&&Ot(xc,{title:"Otel Distro Name",options:u,value:u.find(e=>e.id===a.otelDistroName),onSelect:e=>s("otelDistroName",e.id),required:!1})]})})]})},_c=Yt(Oi)`
1079
+ `,zc=({defaultLanguage:e=Bo.Unknown,defaultVersion:t="",defaultOtelDistroName:o=null,handleSave:i})=>{const{tier:r}=za(),{addNotification:n}=zn(),{formData:a,handleFormChange:s,resetFormData:l}=pa({language:e,version:t,otelDistroName:o}),[c,d]=Pt(!1),p=()=>{d(!1),l()},u=Lt(()=>{if(!a.language)return[];const e=En[a.language].community,t=r===Lo.Onprem?En[a.language].enterprise:[];return e.concat(t)},[a.language,r]);return Rt(Fc,{children:[Ot(vs,{tooltip:Ei.OVERRIDE_RUNTIME_DETAILS,size:32,onClick:()=>{d(!0)},children:Ot(gt,{})}),Ot(Rc,{flipX:!0,clientX:36,isOpen:c,onClose:p,onSave:async()=>{!a.version||xr(a.version)?(await i({...a}),p()):n({type:Xo.Warning,message:ki.INVALID_VERSION,hideFromHistory:!0})},withDelete:!0,onDelete:async()=>{await i({language:null,version:"",otelDistroName:null}),p()},title:Ei.OVERRIDE_RUNTIME_DETAILS,warning:Ei.OVERRIDE_RUNTIME_WARNING,children:Rt(Rr,{$gap:12,children:[Rt(Or,{$gap:12,children:[Ot(wc,{title:Ei.LANGUAGE,options:kn,value:kn.find(e=>e.id===a.language),onSelect:e=>{s("language",e.id),s("version",""),s("otelDistroName",null)},required:!0}),Ot(xc,{title:Ei.RUNTIME_VERSION,placeholder:Ei.VERSION_PLACEHOLDER,value:a.version,onChange:e=>s("version",e.target.value),required:!1})]}),a.language&&Ot(wc,{title:"Otel Distro Name",options:u,value:u.find(e=>e.id===a.otelDistroName),onSelect:e=>s("otelDistroName",e.id),required:!1})]})})]})},Lc=Yt(Or)`
1043
1080
  width: 100%;
1044
1081
  justify-content: center;
1045
- `,Oc=({containerName:e,language:t,runtimeVersion:o,overriden:r,instrumented:i,instrumentationMessage:n,otelDistroName:a,callbackRuntimeOverride:s})=>{const l=Zt(),c=i?Vo.Success:n?Vo.Info:Vo.Warning,d=i?Ho.INSTRUMENTED:n?Ho.NOT_INSTRUMENTED:Ho.INSTRUMENTING;return Ot(Ol,{title:e,subTitle:`${t?Cn[t]:"no runtime info"}`+(o?` • Runtime Version: ${o}`:""),iconProps:{icon:zr(t)},extendableProps:{isExtended:!!n,renderExtended:()=>Ot(_c,{children:Ot(qi,{size:12,family:"secondary",color:l.text.info,children:yi(n)})})},renderActions:()=>Rt(Ft,{children:[Ot(ul,{status:c,title:d,subtitle:a||void 0,withIcon:!0,withBorder:!0}),r&&Ot(ul,{status:Vo.Default,forceIcon:wt,title:Er.OVERIDDEN,withIcon:!0,withBorder:!0}),s&&Ot(Ic,{defaultLanguage:t,defaultVersion:o,defaultOtelDistroName:a,handleSave:t=>s({...t,containerName:e})})]})})},Rc=Yt.tr`
1082
+ `,Pc=({containerName:e,language:t,runtimeVersion:o,overriden:i,instrumented:r,instrumentationMessage:n,otelDistroName:a,callbackRuntimeOverride:s})=>{const l=Zt(),c=r?Xo.Success:n?Xo.Info:Xo.Warning,d=r?Vo.INSTRUMENTED:n?Vo.NOT_INSTRUMENTED:Vo.INSTRUMENTING;return Ot(Pl,{title:e,subTitle:`${t?Cn[t]:"no runtime info"}`+(o?` • Runtime Version: ${o}`:""),iconProps:{icon:zi(t)},extendableProps:{isExtended:!!n,renderExtended:()=>Ot(Lc,{children:Ot(qr,{size:12,family:"secondary",color:l.text.info,children:yr(n)})})},renderActions:()=>Rt(Ft,{children:[Ot(xl,{status:c,title:d,subtitle:a||void 0,withIcon:!0,withBorder:!0}),i&&Ot(xl,{status:Xo.Default,forceIcon:wt,title:Ei.OVERIDDEN,withIcon:!0,withBorder:!0}),s&&Ot(zc,{defaultLanguage:t,defaultVersion:o,defaultOtelDistroName:a,handleSave:t=>s({...t,containerName:e})})]})})},Mc=Yt.tr`
1046
1083
  cursor: ${({$withHover:e})=>e?"pointer":"default"};
1047
1084
  opacity: ${({$faded:e})=>e?.5:1};
1048
- `,Fc=Yt.td`
1085
+ `,Bc=Yt.td`
1049
1086
  position: relative;
1050
1087
  width: fit-content;
1051
1088
  padding: 16px 8px 16px ${({$isFirst:e})=>e?"16px":"8px"};
@@ -1053,7 +1090,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1053
1090
  font-family: ${({theme:e})=>e.font_family.primary};
1054
1091
  font-size: 14px;
1055
1092
  white-space: nowrap;
1056
- `,zc=Yt(qi)`
1093
+ `,Uc=Yt(qr)`
1057
1094
  font-size: 14px;
1058
1095
  color: ${({$color:e,theme:t})=>e??t.text.secondary};
1059
1096
  line-height: 16px;
@@ -1066,7 +1103,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1066
1103
  display: -webkit-box;
1067
1104
  -webkit-line-clamp: 2;
1068
1105
  -webkit-box-orient: vertical;
1069
- `,Lc=Yt.div`
1106
+ `,jc=Yt.div`
1070
1107
  position: absolute;
1071
1108
  top: 0;
1072
1109
  left: 0;
@@ -1075,56 +1112,56 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1075
1112
  height: ${({$height:e})=>e}px;
1076
1113
  border-radius: 16px;
1077
1114
  background-color: ${({theme:e,$hovered:t,$status:o})=>t?o?e.text[o]+Yn["020"]:e.colors.majestic_blue+Yn["030"]:o?e.text[o]+Yn["010"]:e.colors.secondary+Yn["005"]};
1078
- `,Pc=({index:e,columns:t,cells:o,onClick:r,status:i,faded:n})=>{const{containerRef:a,containerHeight:s,containerWidth:l}=xa(),[c,d]=Pt(!1);return Ot(Rc,{ref:a,onMouseEnter:()=>!!r&&d(!0),onMouseLeave:()=>!!r&&d(!1),onClick:()=>!!r&&r(),$withHover:!!r,$faded:n,children:t.map(({key:t},r)=>{const n=o.find(({columnKey:e})=>e===t);if(!n)return null;const{value:a,textColor:d,withTooltip:p,icon:u,component:h}=n;return Rt(Fc,{$isFirst:0===r,children:[u?Ot(wl,{icon:u}):h?Ot(h,{}):Ot(hs,{text:p&&a?String(a):"",children:Ot(zc,{$color:d,children:pi(a)?"-":a})}),0===r&&Ot(Lc,{$height:s,$width:l,$top:s*e,$hovered:c,$status:i})]},`table-row-${t}-${a}-${e}-${r}`)})})},Mc=Yt.div`
1115
+ `,Wc=({index:e,columns:t,cells:o,onClick:i,status:r,faded:n})=>{const{containerRef:a,containerHeight:s,containerWidth:l}=xa(),[c,d]=Pt(!1);return Ot(Mc,{ref:a,onMouseEnter:()=>!!i&&d(!0),onMouseLeave:()=>!!i&&d(!1),onClick:()=>!!i&&i(),$withHover:!!i,$faded:n,children:t.map(({key:t},i)=>{const n=o.find(({columnKey:e})=>e===t);if(!n)return null;const{value:a,textColor:d,withTooltip:p,icon:u,component:h}=n;return Rt(Bc,{$isFirst:0===i,children:[u?Ot(Al,{icon:u}):h?Ot(h,{}):Ot(ys,{text:p&&a?String(a):"",children:Ot(Uc,{$color:d,children:pr(a)?"-":a})}),0===i&&Ot(jc,{$height:s,$width:l,$top:s*e,$hovered:c,$status:r})]},`table-row-${t}-${a}-${e}-${i}`)})})},Gc=Yt.div`
1079
1116
  width: 100%;
1080
- `,Bc=Yt.table`
1117
+ `,Hc=Yt.table`
1081
1118
  position: relative;
1082
1119
  z-index: 0;
1083
1120
  width: 100%;
1084
1121
  border-collapse: separate;
1085
1122
  border-spacing: 0 12px;
1086
- `,Uc=Yt.thead`
1123
+ `,Xc=Yt.thead`
1087
1124
  // only supported with "border-collapse: collapse;"
1088
1125
  // border-top: 1px solid ${({theme:e})=>e.colors.dropdown_bg_2};
1089
1126
  // border-bottom: 1px solid ${({theme:e})=>e.colors.dropdown_bg_2};
1090
- `,jc=Yt.th`
1127
+ `,Vc=Yt.th`
1091
1128
  // only required with "border-collapse: separate;"
1092
1129
  border-top: 1px solid ${({theme:e})=>e.colors.dropdown_bg_2};
1093
1130
  border-bottom: 1px solid ${({theme:e})=>e.colors.dropdown_bg_2};
1094
1131
 
1095
1132
  padding: 8px;
1096
- `,Wc=Yt(Oi)`
1133
+ `,Jc=Yt(Or)`
1097
1134
  cursor: pointer;
1098
1135
  &:hover {
1099
1136
  * {
1100
1137
  color: ${({theme:e})=>e.text.secondary};
1101
1138
  }
1102
1139
  }
1103
- `,Gc=Yt(qi)`
1140
+ `,Kc=Yt(qr)`
1104
1141
  color: ${({theme:e})=>e.text.darker_grey};
1105
1142
  font-family: ${({theme:e})=>e.font_family.secondary};
1106
1143
  text-transform: uppercase;
1107
1144
  font-size: 12px;
1108
1145
  font-weight: 500;
1109
1146
  text-wrap: nowrap;
1110
- `,Xc=Yt.tbody``,Vc=({columns:e,rows:t})=>{const[o,r]=Pt(zo.Ascending),[i,n]=Pt("name"),a=Ut(e=>{i===e?r(e=>e===zo.Ascending?zo.Descending:zo.Ascending):(n(e),r(zo.Ascending))},[i]),s=Lt(()=>{const r=(e,t)=>e.cells.find(({columnKey:e})=>e===t)?.value??null;return(i?[...t].sort((e,t)=>{const n=r(e,i),a=r(t,i);return(o===zo.Ascending?1:-1)*((e,t)=>"number"==typeof e&&"number"==typeof t?e-t:"string"==typeof e&&"string"==typeof t?e.localeCompare(t):"boolean"==typeof e&&"boolean"==typeof t?e===t?0:e?1:-1:String(e).localeCompare(String(t)))(n,a)}):t).map(({status:t,faded:o,cells:r,onClick:i},n)=>Ot(Pc,{index:n,columns:e,cells:r,onClick:i,status:t,faded:o},`row-${n}`))},[e,t,i,o]);return Ot(Mc,{children:Rt(Bc,{children:[Ot(Uc,{children:Ot("tr",{children:e.map(({key:e,title:t,sortable:o})=>Ot(jc,{children:o?Rt(Wc,{onClick:()=>a(e),children:[Ot(St,{}),Ot(Gc,{children:t})]}):Ot(Gc,{children:t})},`column-${e}`))})}),Ot(Xc,{children:s})]})})};var Hc;!function(e){e.Code="code",e.Table="table",e.Badge="badge",e.Loader="loader",e.Divider="divider",e.Monitors="monitors",e.CopyText="copy-text",e.ActiveStatus="active-status"}(Hc||(Hc={}));const Jc=Yt.div`
1147
+ `,qc=Yt.tbody``,Yc=({columns:e,rows:t})=>{const[o,i]=Pt(zo.Ascending),[r,n]=Pt("name"),a=Ut(e=>{r===e?i(e=>e===zo.Ascending?zo.Descending:zo.Ascending):(n(e),i(zo.Ascending))},[r]),s=Lt(()=>{const i=(e,t)=>e.cells.find(({columnKey:e})=>e===t)?.value??null;return(r?[...t].sort((e,t)=>{const n=i(e,r),a=i(t,r);return(o===zo.Ascending?1:-1)*((e,t)=>"number"==typeof e&&"number"==typeof t?e-t:"string"==typeof e&&"string"==typeof t?e.localeCompare(t):"boolean"==typeof e&&"boolean"==typeof t?e===t?0:e?1:-1:String(e).localeCompare(String(t)))(n,a)}):t).map(({status:t,faded:o,cells:i,onClick:r},n)=>Ot(Wc,{index:n,columns:e,cells:i,onClick:r,status:t,faded:o},`row-${n}`))},[e,t,r,o]);return Ot(Gc,{children:Rt(Hc,{children:[Ot(Xc,{children:Ot("tr",{children:e.map(({key:e,title:t,sortable:o})=>Ot(Vc,{children:o?Rt(Jc,{onClick:()=>a(e),children:[Ot(St,{}),Ot(Kc,{children:t})]}):Ot(Kc,{children:t})},`column-${e}`))})}),Ot(qc,{children:s})]})})};var Qc;!function(e){e.Code="code",e.Table="table",e.Badge="badge",e.Loader="loader",e.Divider="divider",e.Monitors="monitors",e.CopyText="copy-text",e.ActiveStatus="active-status"}(Qc||(Qc={}));const Zc=Yt.div`
1111
1148
  display: flex;
1112
1149
  flex-wrap: wrap;
1113
1150
  gap: 16px 32px;
1114
1151
  width: 100%;
1115
- `,Kc=Yt.div`
1152
+ `,ed=Yt.div`
1116
1153
  display: flex;
1117
1154
  flex-direction: column;
1118
1155
  gap: 2px;
1119
1156
  width: ${({$width:e})=>e};
1120
- `,qc=Yt(qi)`
1157
+ `,td=Yt(qr)`
1121
1158
  color: ${({theme:e})=>e.text.grey};
1122
1159
  font-size: 10px;
1123
1160
  line-height: 16px;
1124
- `,Yc=Yt(qi)`
1161
+ `,od=Yt(qr)`
1125
1162
  font-size: 12px;
1126
1163
  white-space: pre-wrap;
1127
- `,Qc=({data:e})=>Ot(Jc,{children:e?.map(({type:e,title:t,titleIcon:o,tooltip:r,value:i},n)=>Rt(Kc,{$width:e&&[Hc.Code,Hc.Table].includes(e)?"inherit":e&&[Hc.Loader,Hc.Divider,Hc.CopyText].includes(e)?"100%":"unset",children:[Ot(hs,{text:r,withIcon:!0,children:Rt(Oi,{$alignItems:"center",$gap:4,children:[o&&Ot(o,{size:14}),!!t&&Ot(qc,{transform:"capitalize",children:t})]})}),Ot(Zc,{type:e,value:i})]},`data-field-${t||(i?JSON.stringify(i):n)}`))}),Zc=({type:e,value:t})=>{const o=Zt();switch(e){case Hc.Divider:return Ot(ns,{length:"100%",margin:"0"});case Hc.Loader:return Ot(Fi,{children:Ot(Zs,{scale:1.2})});case Hc.Monitors:return Ot(Al,{monitors:t?.split(", ")||[],withLabels:!0,color:o.colors.secondary});case Hc.Badge:{const{label:e,filled:o,...r}=li(t,{label:"-",filled:!1});return Ot(aa,{label:e,filled:o,...r})}case Hc.Code:{const{language:e,code:o,...r}=li(t,{language:"",code:""});return Ot(Hs,{language:e,code:o,...r})}case Hc.Table:{const{columns:e,rows:o,...r}=li(t,{columns:[],rows:[{status:void 0,cells:[]}]});return Ot(Vc,{columns:e,rows:o,...r})}case Hc.ActiveStatus:return Ot(ul,{status:"true"==t?Vo.Success:Vo.Error,title:"true"==t?Er.ENABLED:Er.DISABLED,size:10,withIcon:!0,withBorder:!0});case Hc.CopyText:{const e="string"==typeof t?t:JSON.stringify(t);return Ot(gl,{value:e})}default:return Ot(Yc,{children:ki("string"==typeof t?t||"-":"")})}},ed=Yt.div`
1164
+ `,id=({data:e})=>Ot(Zc,{children:e?.map(({type:e,title:t,titleIcon:o,tooltip:i,value:r},n)=>Rt(ed,{$width:e&&[Qc.Code,Qc.Table].includes(e)?"inherit":e&&[Qc.Loader,Qc.Divider,Qc.CopyText].includes(e)?"100%":"unset",children:[Ot(ys,{text:i,withIcon:!0,children:Rt(Or,{$alignItems:"center",$gap:4,children:[o&&Ot(o,{size:14}),!!t&&Ot(td,{transform:"capitalize",children:t})]})}),Ot(rd,{type:e,value:r})]},`data-field-${t||(r?JSON.stringify(r):n)}`))}),rd=({type:e,value:t})=>{const o=Zt();switch(e){case Qc.Divider:return Ot(ns,{length:"100%",margin:"0"});case Qc.Loader:return Ot(Fr,{children:Ot(rl,{scale:1.2})});case Qc.Monitors:return Ot(_l,{monitors:t?.split(", ")||[],withLabels:!0,color:o.colors.secondary});case Qc.Badge:{const{label:e,filled:o,...i}=lr(t,{label:"-",filled:!1});return Ot(aa,{label:e,filled:o,...i})}case Qc.Code:{const{language:e,code:o,...i}=lr(t,{language:"",code:""});return Ot(Qs,{language:e,code:o,...i})}case Qc.Table:{const{columns:e,rows:o,...i}=lr(t,{columns:[],rows:[{status:void 0,cells:[]}]});return Ot(Yc,{columns:e,rows:o,...i})}case Qc.ActiveStatus:return Ot(xl,{status:"true"==t?Xo.Success:Xo.Error,title:"true"==t?Ei.ENABLED:Ei.DISABLED,size:10,withIcon:!0,withBorder:!0});case Qc.CopyText:{const e="string"==typeof t?t:JSON.stringify(t);return Ot($l,{value:e})}default:return Ot(od,{children:kr("string"==typeof t?t||"-":"")})}},nd=Yt.div`
1128
1165
  display: flex;
1129
1166
  flex-direction: column;
1130
1167
  align-items: flex-start;
@@ -1135,27 +1172,27 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1135
1172
  border: 1px solid ${({theme:e})=>e.colors.border};
1136
1173
  background-color: ${({theme:e,$hovered:t})=>t?e.colors.secondary+Yn["010"]:"transparent"};
1137
1174
  transition: background-color 0.3s;
1138
- `,td=Yt.div`
1175
+ `,ad=Yt.div`
1139
1176
  width: 100%;
1140
1177
  display: flex;
1141
1178
  flex-direction: column;
1142
1179
  gap: 4px;
1143
1180
  cursor: ${({$clickable:e})=>e?"pointer":"default"};
1144
- `,od=Yt(qi)`
1181
+ `,sd=Yt(qr)`
1145
1182
  width: 100%;
1146
1183
  display: flex;
1147
1184
  align-items: center;
1148
1185
  gap: 8px;
1149
1186
  font-size: 16px;
1150
- `,rd=Yt(qi)`
1187
+ `,ld=Yt(qr)`
1151
1188
  font-size: 12px;
1152
1189
  color: ${({theme:e})=>e.text.grey};
1153
- `,id=Yt(Oi)`
1190
+ `,cd=Yt(Or)`
1154
1191
  margin-left: auto;
1155
1192
  gap: 8px;
1156
- `,nd=({title:e="Details",titleBadge:t,titleIcon:o,description:r,action:i,withExtend:n,initialExtended:a=!1,data:s,children:l})=>{const[c,d]=Pt(a),[p,u]=Pt(!1);return Rt(ed,{$hovered:p,children:[e||o||r||i?Rt(td,{$clickable:n||!1,onClick:()=>n&&d(e=>!e),onMouseEnter:()=>n&&u(!0),onMouseLeave:()=>n&&u(!1),children:[Rt(Oi,{children:[Rt(Oi,{$alignItems:"center",$gap:8,children:[o&&Ot(Oi,{$alignItems:"center",children:Ot(o,{size:20})}),!!e&&Ot(od,{transform:"capitalize",children:e}),t===Jo.Loading?Ot(Zs,{}):void 0!==t&&Ot(aa,{label:t})]}),(!!i||n)&&Rt(id,{children:["function"==typeof i?Ot(i,{hovered:p}):i,n&&Ot(tl,{extend:c})]})]}),!!r&&Ot(rd,{children:r})]}):null,(!n||n&&c)&&(l||Ot(Qc,{data:s}))]})},ad=Yt.div`
1193
+ `,dd=({title:e="Details",titleBadge:t,titleIcon:o,description:i,action:r,withExtend:n,initialExtended:a=!1,data:s,children:l})=>{const[c,d]=Pt(a),[p,u]=Pt(!1);return Rt(nd,{$hovered:p,children:[e||o||i||r?Rt(ad,{$clickable:n||!1,onClick:()=>n&&d(e=>!e),onMouseEnter:()=>n&&u(!0),onMouseLeave:()=>n&&u(!1),children:[Rt(Or,{children:[Rt(Or,{$alignItems:"center",$gap:8,children:[o&&Ot(Or,{$alignItems:"center",children:Ot(o,{size:20})}),!!e&&Ot(sd,{transform:"capitalize",children:e}),t===Jo.Loading?Ot(rl,{}):void 0!==t&&Ot(aa,{label:t})]}),(!!r||n)&&Rt(cd,{children:["function"==typeof r?Ot(r,{hovered:p}):r,n&&Ot(al,{extend:c})]})]}),!!i&&Ot(ld,{children:i})]}):null,(!n||n&&c)&&(l||Ot(id,{data:s}))]})},pd=Yt.div`
1157
1194
  visibility: hidden;
1158
- `,sd=Yt(Oi)`
1195
+ `,ud=Yt(Or)`
1159
1196
  align-self: stretch;
1160
1197
  width: calc(100% - 32px);
1161
1198
  padding: 16px;
@@ -1165,58 +1202,58 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1165
1202
  &:hover {
1166
1203
  cursor: pointer;
1167
1204
  background-color: ${e.colors.secondary+Yn["010"]};
1168
- ${ad} {
1205
+ ${pd} {
1169
1206
  visibility: visible;
1170
1207
  }
1171
1208
  }
1172
- `:`\n &:hover {\n ${ad} {\n visibility: visible;\n }\n }\n `}
1173
- `,ld=Yt(Oi)`
1209
+ `:`\n &:hover {\n ${pd} {\n visibility: visible;\n }\n }\n `}
1210
+ `,hd=Yt(Or)`
1174
1211
  margin-left: auto;
1175
1212
  gap: 8px;
1176
- `,cd=Yt(qi)`
1213
+ `,md=Yt(qr)`
1177
1214
  font-size: 10px;
1178
1215
  color: ${({theme:e})=>e.text.grey};
1179
- `,dd=({title:e,subTitle:t,icons:o,iconSrcs:r,onClick:i,renderActions:n})=>{const a=Zt(),[s,l]=Pt(0),c=Bt(null),d=Bt(null);return Mt(()=>{if(c.current){const e=c.current.clientWidth,t=d.current?.clientWidth||0;l(e-(85+t))}},[]),Rt(sd,{ref:c,$gap:8,$withClick:!!i,onClick:i,children:[Ot(kl,{id:`${e}-${t}`,icons:o,iconSrcs:r}),e&&Ot(bl,{maxWidth:s/2,text:e,textSize:14}),e&&t&&Ot(cd,{children:"•"}),t&&Ot(bl,{maxWidth:s/2,text:t,textSize:10,textColor:a.text.grey}),Ot(ld,{ref:d,children:n&&Rt(Ft,{children:[Ot(ns,{orientation:"vertical",length:"24px",margin:"0"}),n()]})})]})},pd=({isOpen:e,noOverlay:t,name:o,type:r,isLastItem:i,onApprove:n,onDeny:a})=>{const s=r===jo.Source?"uninstrument":"delete";return Ot(Os,{isOpen:e,noOverlay:t,title:`${s.charAt(0).toUpperCase()+s.substring(1)}${o?` ${o}`:""}`,description:`Are you sure you want to ${s}?`,note:i?{type:Vo.Warning,title:`You're about to ${s} the last ${r||o}`,message:""}:void 0,approveButton:{text:"Confirm",variant:"danger",onClick:n},denyButton:{text:"Go Back",onClick:a}})},ud=Yt(da)`
1216
+ `,gd=({title:e,subTitle:t,icons:o,iconSrcs:i,onClick:r,renderActions:n})=>{const a=Zt(),[s,l]=Pt(0),c=Bt(null),d=Bt(null);return Mt(()=>{if(c.current){const e=c.current.clientWidth,t=d.current?.clientWidth||0;l(e-(85+t))}},[]),Rt(ud,{ref:c,$gap:8,$withClick:!!r,onClick:r,children:[Ot(Nl,{id:`${e}-${t}`,icons:o,iconSrcs:i}),e&&Ot(Cl,{maxWidth:s/2,text:e,textSize:14}),e&&t&&Ot(md,{children:"•"}),t&&Ot(Cl,{maxWidth:s/2,text:t,textSize:10,textColor:a.text.grey}),Ot(hd,{ref:d,children:n&&Rt(Ft,{children:[Ot(ns,{orientation:"vertical",length:"24px",margin:"0"}),n()]})})]})},fd=({isOpen:e,noOverlay:t,name:o,type:i,isLastItem:r,onApprove:n,onDeny:a})=>{const s=i===jo.Source?"uninstrument":"delete";return Ot(Ps,{isOpen:e,noOverlay:t,title:`${s.charAt(0).toUpperCase()+s.substring(1)}${o?` ${o}`:""}`,description:`Are you sure you want to ${s}?`,note:r?{type:Xo.Warning,title:`You're about to ${s} the last ${i||o}`,message:""}:void 0,approveButton:{text:"Confirm",variant:"danger",onClick:n},denyButton:{text:"Go Back",onClick:a}})},xd=Yt(da)`
1180
1217
  display: flex;
1181
1218
  align-items: center;
1182
1219
  justify-content: center;
1183
1220
  font-size: 14px;
1184
1221
  gap: 6px;
1185
1222
  min-width: 100px;
1186
- `,hd=({endpoint:e="/",variant:t="secondary"})=>Rt(ud,{variant:t,onClick:()=>window.open(`https://docs.odigos.io${e}`,"_blank","noopener noreferrer"),children:[Ot(Ct,{size:18}),"Docs"]}),md=Yt(Oi)`
1223
+ `,yd=({endpoint:e="/",variant:t="secondary"})=>Rt(xd,{variant:t,onClick:()=>window.open(`https://docs.odigos.io${e}`,"_blank","noopener noreferrer"),children:[Ot(Ct,{size:18}),"Docs"]}),bd=Yt(Or)`
1187
1224
  border-bottom: ${({$hideBorder:e,theme:t})=>e?"none":`1px solid ${t.colors.border}`};
1188
- `,gd=Yt.div`
1225
+ `,$d=Yt.div`
1189
1226
  display: flex;
1190
1227
  align-items: center;
1191
1228
  border-bottom: 2px solid ${({theme:e,$selected:t})=>t?e.colors.majestic_blue:"transparent"};
1192
1229
  cursor: pointer;
1193
- `,fd=Yt(qi)`
1230
+ `,vd=Yt(qr)`
1194
1231
  padding: 12px;
1195
1232
  font-size: 14px;
1196
1233
  color: ${({theme:e,$selected:t})=>t?e.text.secondary:e.text.grey};
1197
- `,xd=({tabs:e,hideBorder:t=!1})=>e?.length?Ot(md,{$hideBorder:t,children:e.map(({label:e,icon:t,onClick:o,selected:r})=>Rt(gd,{onClick:o,$selected:r,children:[Ot(fd,{$selected:r,children:e}),t&&Ot(t,{})]},`tab-${e}`))}):null,yd=Yt.section`
1234
+ `,wd=({tabs:e,hideBorder:t=!1})=>e?.length?Ot(bd,{$hideBorder:t,children:e.map(({label:e,icon:t,onClick:o,selected:i})=>Rt($d,{onClick:o,$selected:i,children:[Ot(vd,{$selected:i,children:e}),t&&Ot(t,{})]},`tab-${e}`))}):null,Sd=Yt.section`
1198
1235
  padding: 0px 32px;
1199
1236
  border-bottom: 1px solid ${({theme:e})=>e.colors.border};
1200
- `,bd=Yt.div`
1237
+ `,Cd=Yt.div`
1201
1238
  height: 76px;
1202
1239
  display: flex;
1203
1240
  justify-content: space-between;
1204
1241
  flex-shrink: 0;
1205
1242
  align-self: stretch;
1206
- `,$d=Yt.div`
1243
+ `,kd=Yt.div`
1207
1244
  display: flex;
1208
1245
  align-items: center;
1209
1246
  gap: ${({$gap:e})=>e||16}px;
1210
- `,vd=Yt(qi)`
1247
+ `,Ed=Yt(qr)`
1211
1248
  font-size: 18px;
1212
1249
  line-height: 26px;
1213
1250
  max-width: ${({$maxWidth:e})=>e};
1214
1251
  overflow: hidden;
1215
1252
  white-space: nowrap;
1216
1253
  text-overflow: ellipsis;
1217
- `,wd=Yt(da)`
1254
+ `,Ad=Yt(da)`
1218
1255
  gap: 8px;
1219
- `,Sd=Yt(da)``,Cd=({onClose:e,width:t,icons:o,iconSrcs:r,title:i,titleTooltip:n,replaceTitleWith:a,actions:s,actionButtons:l=[],tabs:c})=>Rt(yd,{children:[Rt(bd,{children:[Rt($d,{children:[o?.length||r?.length?Ot(kl,{icons:o,iconSrcs:r,id:`drawer-header-${i}`}):null,("function"==typeof a?Ot(a,{}):a||null)||Ot(hs,{text:n||i,withIcon:!!n,children:i&&Ot(vd,{$maxWidth:`calc(${t} ${s||l.length?"/ 5":"- 192px"})`,children:i})})]}),Rt($d,{$gap:2,children:[s,l.map((e,t)=>Ot(wd,{...e},`header-action-button-${t}`)),Ot(Sd,{"data-id":"drawer-close",variant:"secondary",onClick:e,children:Ot(ct,{size:12})})]})]}),Ot(xd,{tabs:c,hideBorder:!0})]}),kd=Yt.div`
1256
+ `,Dd=Yt(da)``,Td=({onClose:e,width:t,icons:o,iconSrcs:i,title:r,titleTooltip:n,replaceTitleWith:a,actions:s,actionButtons:l=[],tabs:c})=>Rt(Sd,{children:[Rt(Cd,{children:[Rt(kd,{children:[o?.length||i?.length?Ot(Nl,{icons:o,iconSrcs:i,id:`drawer-header-${r}`}):null,("function"==typeof a?Ot(a,{}):a||null)||Ot(ys,{text:n||r,withIcon:!!n,children:r&&Ot(Ed,{$maxWidth:`calc(${t} ${s||l.length?"/ 5":"- 192px"})`,children:r})})]}),Rt(kd,{$gap:2,children:[s,l.map((e,t)=>Ot(Ad,{...e},`header-action-button-${t}`)),Ot(Dd,{"data-id":"drawer-close",variant:"secondary",onClick:e,children:Ot(ct,{size:12})})]})]}),Ot(wd,{tabs:c,hideBorder:!0})]}),Nd=Yt.div`
1220
1257
  display: flex;
1221
1258
  justify-content: space-between;
1222
1259
  gap: 8px;
@@ -1225,16 +1262,16 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1225
1262
  background-color: ${({theme:e})=>e.colors.translucent_bg};
1226
1263
  transform: translateY(100%);
1227
1264
  animation-name: ${Zn.in.bottom};
1228
- `,Ed=Yt(Oi)`
1265
+ `,Id=Yt(Or)`
1229
1266
  margin-right: auto;
1230
- `,Ad=Yt(Oi)`
1267
+ `,_d=Yt(Or)`
1231
1268
  margin: 0 auto;
1232
- `,Dd=Yt(Oi)`
1269
+ `,Od=Yt(Or)`
1233
1270
  margin-left: auto;
1234
- `,Td=Yt(da)`
1271
+ `,Rd=Yt(da)`
1235
1272
  min-width: 140px;
1236
1273
  font-size: 14px;
1237
- `,Nd=({isOpen:e,leftButtons:t=[],centerButtons:o=[],rightButtons:r=[]})=>e?Rt(kd,{children:[Ot(Ed,{children:t.map((e,t)=>Ot(Td,{...e},`footer-left-button-${t}`))}),Ot(Ad,{children:o.map((e,t)=>Ot(Td,{...e},`footer-center-button-${t}`))}),Ot(Dd,{children:r.map((e,t)=>Ot(Td,{...e},`footer-right-button-${t}`))})]}):null,Id=Yt.div`
1274
+ `,Fd=({isOpen:e,leftButtons:t=[],centerButtons:o=[],rightButtons:i=[]})=>e?Rt(Nd,{children:[Ot(Id,{children:t.map((e,t)=>Ot(Rd,{...e},`footer-left-button-${t}`))}),Ot(_d,{children:o.map((e,t)=>Ot(Rd,{...e},`footer-center-button-${t}`))}),Ot(Od,{children:i.map((e,t)=>Ot(Rd,{...e},`footer-right-button-${t}`))})]}):null,zd=Yt.div`
1238
1275
  position: fixed;
1239
1276
  top: 0;
1240
1277
  bottom: 0;
@@ -1245,36 +1282,36 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1245
1282
  box-shadow: 0 2px 10px ${({theme:e})=>e.colors.primary+Yn["010"]};
1246
1283
  overflow-y: auto;
1247
1284
  animation-name: ${({$position:e})=>Zn.in[e]};
1248
- `,_d=Yt.div`
1285
+ `,Ld=Yt.div`
1249
1286
  display: flex;
1250
1287
  flex-direction: column;
1251
1288
  height: 100%;
1252
- `,Od=Yt.div`
1289
+ `,Pd=Yt.div`
1253
1290
  flex-grow: 1;
1254
1291
  padding: 24px 32px;
1255
1292
  overflow-y: auto;
1256
- `,Rd=({isOpen:e,onClose:t,closeOnEscape:o=!0,position:r="right",width:i="300px",children:n,header:a,footer:s})=>(Aa({key:"Escape",active:e&&o},()=>t()),ma(e),e?co.createPortal(Rt(Ft,{children:[Ot(Li,{hidden:!e,onClick:t}),Ot(Id,{"data-id":"drawer",$position:r,$width:i,children:Rt(_d,{children:[Ot(Cd,{onClose:t,width:i,...a}),Ot(Od,{children:n}),Ot(Nd,{...s})]})})]}),document.body):null),Fd=({error:e})=>{const t=Zt(),o={container:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",color:t.text.error,fontFamily:t.font_family.primary},errorMessage:{padding:10,borderRadius:5,whiteSpace:"pre-wrap",background:t.colors.error},errorStack:{whiteSpace:"pre-wrap",fontSize:"12px"},errorStackWrapper:{textAlign:"left",marginTop:10},infoText:{marginTop:100,color:t.text.secondary,fontSize:"14px"}};return Rt("div",{style:o.container,children:[Ot("h2",{children:"Something went wrong!"}),Ot("pre",{style:o.errorMessage,children:e?.message||"Unknown Error"}),Rt("details",{style:o.errorStackWrapper,children:[Ot("summary",{children:"Stack Trace"}),Ot("pre",{style:o.errorStack,children:e?.stack||"Unknown Stack"})]}),Ot("p",{style:o.infoText,children:"Try refreshing the page or contact support"}),Ot(da,{variant:"secondary",onClick:()=>window.location.reload(),style:{fontSize:"1rem"},children:"Reload"})]})},zd=({children:e})=>Ot(mo,{FallbackComponent:({error:e,...t})=>Ot(qn,{children:Ot(Fd,{...t,error:e})}),children:e}),Ld=Yt(Oi)`
1293
+ `,Md=({isOpen:e,onClose:t,closeOnEscape:o=!0,position:i="right",width:r="300px",children:n,header:a,footer:s})=>(Aa({key:"Escape",active:e&&o},()=>t()),ma(e),e?co.createPortal(Rt(Ft,{children:[Ot(Lr,{hidden:!e,onClick:t}),Ot(zd,{"data-id":"drawer",$position:i,$width:r,children:Rt(Ld,{children:[Ot(Td,{onClose:t,width:r,...a}),Ot(Pd,{children:n}),Ot(Fd,{...s})]})})]}),document.body):null),Bd=({error:e})=>{const t=Zt(),o={container:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",color:t.text.error,fontFamily:t.font_family.primary},errorMessage:{padding:10,borderRadius:5,whiteSpace:"pre-wrap",background:t.colors.error},errorStack:{whiteSpace:"pre-wrap",fontSize:"12px"},errorStackWrapper:{textAlign:"left",marginTop:10},infoText:{marginTop:100,color:t.text.secondary,fontSize:"14px"}};return Rt("div",{style:o.container,children:[Ot("h2",{children:"Something went wrong!"}),Ot("pre",{style:o.errorMessage,children:e?.message||"Unknown Error"}),Rt("details",{style:o.errorStackWrapper,children:[Ot("summary",{children:"Stack Trace"}),Ot("pre",{style:o.errorStack,children:e?.stack||"Unknown Stack"})]}),Ot("p",{style:o.infoText,children:"Try refreshing the page or contact support"}),Ot(da,{variant:"secondary",onClick:()=>window.location.reload(),style:{fontSize:"1rem"},children:"Reload"})]})},Ud=({children:e})=>Ot(mo,{FallbackComponent:({error:e,...t})=>Ot(qn,{children:Ot(Bd,{...t,error:e})}),children:e}),jd=Yt(Or)`
1257
1294
  position: relative;
1258
1295
  width: calc(100% - 24px);
1259
1296
  padding: 12px;
1260
1297
  background-color: ${({theme:e})=>e.colors.dark_grey};
1261
1298
  border-bottom: 1px solid ${({theme:e})=>e.colors.border+Yn["050"]};
1262
- `,Pd=Yt(Oi)`
1299
+ `,Wd=Yt(Or)`
1263
1300
  margin-right: auto;
1264
1301
  margin-left: 32px;
1265
1302
  gap: 12px;
1266
- `,Md=Yt(Oi)`
1303
+ `,Gd=Yt(Or)`
1267
1304
  margin-left: auto;
1268
1305
  margin-right: 32px;
1269
1306
  gap: 12px;
1270
- `,Bd=Yt(Oi)`
1307
+ `,Hd=Yt(Or)`
1271
1308
  position: absolute;
1272
1309
  left: 50%;
1273
1310
  transform: translateX(-50%);
1274
1311
  gap: 12px;
1275
- `,Ud=({left:e=[],center:t=[],right:o=[]})=>Rt(Ld,{children:[Ot(Pd,{children:e.map((e,t)=>e&&Ot(zt,{children:e},t))}),Ot(Bd,{children:t.map((e,t)=>e&&Ot(zt,{children:e},t))}),Ot(Md,{children:o.map((e,t)=>e&&Ot(zt,{children:e},t))})]}),jd=Yt(qi)`
1312
+ `,Xd=({left:e=[],center:t=[],right:o=[]})=>Rt(jd,{children:[Ot(Wd,{children:e.map((e,t)=>e&&Ot(zt,{children:e},t))}),Ot(Hd,{children:t.map((e,t)=>e&&Ot(zt,{children:e},t))}),Ot(Gd,{children:o.map((e,t)=>e&&Ot(zt,{children:e},t))})]}),Vd=Yt(qr)`
1276
1313
  color: ${({theme:e})=>e.text.grey};
1277
- `,Wd=({icon:e,title:t,badge:o,badgeTooltip:r,loading:i})=>Rt(Oi,{$gap:6,children:[e&&Ot(e,{}),Ot(jd,{size:14,children:t}),void 0!==o&&Ot(hs,{text:r,children:Ot(aa,{label:o})}),i&&Ot(Zs,{})]}),Gd=Yt.div`
1314
+ `,Jd=({icon:e,title:t,badge:o,badgeTooltip:i,loading:r})=>Rt(Or,{$gap:6,children:[e&&Ot(e,{}),Ot(Vd,{size:14,children:t}),void 0!==o&&Ot(ys,{text:i,children:Ot(aa,{label:o})}),r&&Ot(rl,{})]}),Kd=Yt.div`
1278
1315
  width: fit-content;
1279
1316
  height: fit-content;
1280
1317
  padding: 4px;
@@ -1286,7 +1323,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1286
1323
  flex-direction: ${({$orientation:e,$flip:t})=>("horizontal"===e?"row":"column")+(t?"-reverse":"")};
1287
1324
  align-items: center;
1288
1325
  justify-content: center;
1289
- `,Xd=Yt.div`
1326
+ `,qd=Yt.div`
1290
1327
  width: 32px;
1291
1328
  height: 32px;
1292
1329
 
@@ -1299,63 +1336,63 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1299
1336
  justify-content: center;
1300
1337
 
1301
1338
  cursor: pointer;
1302
- `,Vd=({orientation:e="vertical",flip:t,mainIcons:o,subIcons:r})=>Rt(Gd,{$orientation:e,$flip:t,children:[o.map(({icon:e,selected:t,onClick:o,tooltip:r},i)=>Ot(hs,{text:r,children:Ot(Xd,{$selected:t,onClick:o,children:Ot(e,{size:20})})},`main-nav-icon-${i}`)),!!o.length&&!!r.length&&Ot(ns,{orientation:"vertical"===e?"horizontal":"vertical",margin:"0",length:"20px"}),r.map(({icon:e,selected:t,onClick:o,tooltip:r},i)=>Ot(hs,{text:r,children:Ot(Xd,{$selected:t,onClick:o,children:Ot(e,{size:20})})},`sub-nav-icon-${i}`))]}),Hd=Yt.div`
1339
+ `,Yd=({orientation:e="vertical",flip:t,mainIcons:o,subIcons:i})=>Rt(Kd,{$orientation:e,$flip:t,children:[o.map(({icon:e,selected:t,onClick:o,tooltip:i},r)=>Ot(ys,{text:i,children:Ot(qd,{$selected:t,onClick:o,children:Ot(e,{size:20})})},`main-nav-icon-${r}`)),!!o.length&&!!i.length&&Ot(ns,{orientation:"vertical"===e?"horizontal":"vertical",margin:"0",length:"20px"}),i.map(({icon:e,selected:t,onClick:o,tooltip:i},r)=>Ot(ys,{text:i,children:Ot(qd,{$selected:t,onClick:o,children:Ot(e,{size:20})})},`sub-nav-icon-${r}`))]}),Qd=Yt.div`
1303
1340
  display: flex;
1304
1341
  flex-direction: column;
1305
1342
  width: 100%;
1306
- `,Jd=Yt.div`
1343
+ `,Zd=Yt.div`
1307
1344
  display: flex;
1308
1345
  flex-direction: column;
1309
1346
  gap: 8px;
1310
- `,Kd=Yt.div`
1347
+ `,ep=Yt.div`
1311
1348
  display: flex;
1312
1349
  align-items: center;
1313
1350
  gap: 16px;
1314
- `,qd=Yt(fs)`
1351
+ `,tp=Yt(vs)`
1315
1352
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
1316
1353
  opacity: ${({$disabled:e})=>e?.5:1};
1317
- `,Yd=({initialValues:e=[],value:t,onChange:o,title:r,tooltip:i,required:n,errorMessage:a})=>{const[s,l]=Pt(t||e);Mt(()=>{s.length||l([""])},[]);const c=s.filter(e=>!!e.trim()),d=Bt(JSON.stringify(c));Mt(()=>{const e=JSON.stringify(c);d.current!==e&&(d.current=e,o&&o(c))},[c]);const p=(e,t)=>{l(o=>{const r=[...o];return r[t]=e,r})},u=s.length<=1,h=s.some(e=>""===e.trim()),m=u&&h;return Rt(Hd,{children:[Ot(nc,{title:r,required:n,tooltip:i}),Ot(Jd,{children:s.map((e,t)=>{const o=t===s.length-1;return Rt(Kd,{children:[Ot(uc,{value:e,onChange:e=>p(e.target.value,t),hasError:!!a,autoFocus:pi(e)&&!u&&o}),t===s.length-1&&Ot(qd,{withBorder:!0,size:30,$disabled:h,onClick:h?void 0:()=>{l(e=>{const t=[...e];return t.push(""),t})},children:Ot(mt,{})}),Ot(qd,{size:30,$disabled:m,onClick:m?void 0:()=>(e=>{u?p("",e):l(t=>t.filter((t,o)=>o!==e))})(t),children:Ot(vt,{})})]},`input-list-${t}`)})}),!!a&&Ot(Zi,{children:a})]})},Qd=({col:e,colIdx:t,row:o,rowIdx:r,rowsLength:i,maxWidth:n,handleChange:a,errorMessage:s,limitFieldsPerRow:l})=>{const{keyName:c,title:d,tooltip:p,placeholder:u,required:h,type:m,componentType:g,options:f,renderCondition:x}=e,y=o[c];if(x&&!x(o))return null;return Ot("td",{style:{maxWidth:n,padding:"4px 6px 4px 0"},children:(()=>{switch(g){case Go.Dropdown:const e=f?.find(e=>e.id===y);return Ot(xc,{title:l?d:void 0,tooltip:l?p:void 0,placeholder:u,required:h,options:f||[],value:e,onSelect:e=>a(c,e.id,r),onDeselect:()=>a(c,"",r),hasError:!!s&&(!h||h&&pi(y))});case"multi-dropdown":const o=Array.isArray(y)&&f?.filter(e=>y.includes(e.id))||[];return Ot(xc,{title:l?d:void 0,tooltip:l?p:void 0,placeholder:u,required:h,options:f||[],value:o,isMulti:!0,onSelect:e=>{const t=[...Array.isArray(y)?y:[],e.id];a(c,t,r)},onDeselect:e=>{const t=(Array.isArray(y)?y:[]).filter(t=>t!==e.id);a(c,t,r)},hasError:!!s&&(!h||h&&pi(y))});default:const g=i>1&&r===i-1&&0===t&&pi(y);return Ot(uc,{title:l?d:void 0,tooltip:l?p:void 0,placeholder:u,type:m,required:h,autoFocus:g,value:y,onChange:({target:{value:e}})=>a(c,e,r),style:{maxWidth:n,paddingLeft:10},hasError:!!s&&(!h||h&&pi(y))})}})()},`input-table-${r}-${c}`)},Zd=Yt.div`
1354
+ `,op=({initialValues:e=[],value:t,onChange:o,title:i,tooltip:r,required:n,errorMessage:a})=>{const[s,l]=Pt(t||e);Mt(()=>{s.length||l([""])},[]);const c=s.filter(e=>!!e.trim()),d=Bt(JSON.stringify(c));Mt(()=>{const e=JSON.stringify(c);d.current!==e&&(d.current=e,o&&o(c))},[c]);const p=(e,t)=>{l(o=>{const i=[...o];return i[t]=e,i})},u=s.length<=1,h=s.some(e=>""===e.trim()),m=u&&h;return Rt(Qd,{children:[Ot(dc,{title:i,required:n,tooltip:r}),Ot(Zd,{children:s.map((e,t)=>{const o=t===s.length-1;return Rt(ep,{children:[Ot(xc,{value:e,onChange:e=>p(e.target.value,t),hasError:!!a,autoFocus:pr(e)&&!u&&o}),t===s.length-1&&Ot(tp,{withBorder:!0,size:30,$disabled:h,onClick:h?void 0:()=>{l(e=>{const t=[...e];return t.push(""),t})},children:Ot(mt,{})}),Ot(tp,{size:30,$disabled:m,onClick:m?void 0:()=>(e=>{u?p("",e):l(t=>t.filter((t,o)=>o!==e))})(t),children:Ot(vt,{})})]},`input-list-${t}`)})}),!!a&&Ot(Zr,{children:a})]})},ip=({col:e,colIdx:t,row:o,rowIdx:i,rowsLength:r,maxWidth:n,handleChange:a,errorMessage:s,limitFieldsPerRow:l})=>{const{keyName:c,title:d,tooltip:p,placeholder:u,required:h,type:m,componentType:g,options:f,renderCondition:x}=e,y=o[c];if(x&&!x(o))return null;return Ot("td",{style:{maxWidth:n,padding:"4px 6px 4px 0"},children:(()=>{switch(g){case Go.Dropdown:const e=f?.find(e=>e.id===y);return Ot(wc,{title:l?d:void 0,tooltip:l?p:void 0,placeholder:u,required:h,options:f||[],value:e,onSelect:e=>a(c,e.id,i),onDeselect:()=>a(c,"",i),hasError:!!s&&(!h||h&&pr(y))});case"multi-dropdown":const o=Array.isArray(y)&&f?.filter(e=>y.includes(e.id))||[];return Ot(wc,{title:l?d:void 0,tooltip:l?p:void 0,placeholder:u,required:h,options:f||[],value:o,isMulti:!0,onSelect:e=>{const t=[...Array.isArray(y)?y:[],e.id];a(c,t,i)},onDeselect:e=>{const t=(Array.isArray(y)?y:[]).filter(t=>t!==e.id);a(c,t,i)},hasError:!!s&&(!h||h&&pr(y))});default:const g=r>1&&i===r-1&&0===t&&pr(y);return Ot(xc,{title:l?d:void 0,tooltip:l?p:void 0,placeholder:u,type:m,required:h,autoFocus:g,value:y,onChange:({target:{value:e}})=>a(c,e,i),style:{maxWidth:n,paddingLeft:10},hasError:!!s&&(!h||h&&pr(y))})}})()},`input-table-${i}-${c}`)},rp=Yt.div`
1318
1355
  display: flex;
1319
1356
  flex-direction: column;
1320
1357
  width: 100%;
1321
- `,ep=Yt.button`
1358
+ `,np=Yt.button`
1322
1359
  margin-top: ${({$marginTop:e})=>e};
1323
1360
  background: none;
1324
1361
  border: none;
1325
1362
  cursor: ${({disabled:e})=>e?"not-allowed":"pointer"};
1326
1363
  opacity: ${({disabled:e})=>e?.5:1};
1327
- `,tp=({columns:e,initialValues:t=[],value:o,onChange:r,errorMessage:i,limitFieldsPerRow:n,title:a=""})=>{const[s,l]=Pt({}),[c,d]=Pt(o||t),p=Lt(()=>new Map(e.map(e=>[e.keyName,e])),[e]);Mt(()=>{if(!c.length){const t={};e.forEach(({keyName:e})=>t[e]=""),l(t),d([t])}},[]);const u=c.filter(e=>{for(const[t,o]of Object.entries(e)){const r=p.get(t);if((!r?.renderCondition||r.renderCondition(e))&&(r?.required&&pi(o)))return!1}return!0}),h=Bt(JSON.stringify(u)),m=u.length!==c.length,g=`${Math.floor(640/((n||e.length)+.4))}px`;Mt(()=>{const e=JSON.stringify(u);h.current!==e&&(h.current=e,r&&r(u))},[u]);const f=(e,t,o)=>{d(r=>{const i=vo(r);return i[o][e]=t,i})},x=Lt(()=>{if(n){const t=[];for(let o=0;;o+=n){const r=e.slice(o,o+n);if(!r.length)break;t.push(r)}return t}return[e]},[n,e]);return Rt(Zd,{children:[Ot(nc,{title:a}),Rt("table",{style:{borderCollapse:"collapse"},children:[!n&&Ot("thead",{children:Rt("tr",{children:[e.map(({title:e,tooltip:t,required:o})=>Ot("th",{style:{maxWidth:g},children:Ot(nc,{title:e,required:o,tooltip:t})},`input-table-head-${e}`)),Ot("th",{})]})}),Ot("tbody",{children:c.map((t,o)=>Rt(zt,{children:[n&&o>0?Ot("tr",{children:Ot("td",{colSpan:x.length,children:Ot(ns,{})})}):null,x.map((r,a)=>Rt("tr",{children:[r.map((e,r)=>Ot(Qd,{col:e,colIdx:r,row:t,rowIdx:o,rowsLength:c.length,maxWidth:g,limitFieldsPerRow:n,errorMessage:i,handleChange:f},`input-table-row-${o}-col-${r}`)),0===a&&Ot("td",{children:Ot(ep,{$marginTop:n?"24px":"0",onClick:()=>{return t=o,void(c.length>1?d(e=>e.filter((e,o)=>o!==t)):e.forEach(({keyName:e,type:o})=>f(e,o===Xo.Number?"0":"",t)));var t},children:Ot(vt,{})})})]},`input-table-matrix-${o}-${a}`))]},`input-table-row-${o}`))})]}),!!i&&Ot(Zi,{children:i}),Ot(hl,{onClick:()=>{d(e=>{const t=vo(e);return t.push(vo(s)),t})},disabled:m})]})},op=Yt.div`
1364
+ `,ap=({columns:e,initialValues:t=[],value:o,onChange:i,errorMessage:r,limitFieldsPerRow:n,title:a=""})=>{const[s,l]=Pt({}),[c,d]=Pt(o||t),p=Lt(()=>new Map(e.map(e=>[e.keyName,e])),[e]);Mt(()=>{if(!c.length){const t={};e.forEach(({keyName:e})=>t[e]=""),l(t),d([t])}},[]);const u=c.filter(e=>{for(const[t,o]of Object.entries(e)){const i=p.get(t);if((!i?.renderCondition||i.renderCondition(e))&&(i?.required&&pr(o)))return!1}return!0}),h=Bt(JSON.stringify(u)),m=u.length!==c.length,g=`${Math.floor(640/((n||e.length)+.4))}px`;Mt(()=>{const e=JSON.stringify(u);h.current!==e&&(h.current=e,i&&i(u))},[u]);const f=(e,t,o)=>{d(i=>{const r=vo(i);return r[o][e]=t,r})},x=Lt(()=>{if(n){const t=[];for(let o=0;;o+=n){const i=e.slice(o,o+n);if(!i.length)break;t.push(i)}return t}return[e]},[n,e]);return Rt(rp,{children:[Ot(dc,{title:a}),Rt("table",{style:{borderCollapse:"collapse"},children:[!n&&Ot("thead",{children:Rt("tr",{children:[e.map(({title:e,tooltip:t,required:o})=>Ot("th",{style:{maxWidth:g},children:Ot(dc,{title:e,required:o,tooltip:t})},`input-table-head-${e}`)),Ot("th",{})]})}),Ot("tbody",{children:c.map((t,o)=>Rt(zt,{children:[n&&o>0?Ot("tr",{children:Ot("td",{colSpan:x.length,children:Ot(ns,{})})}):null,x.map((i,a)=>Rt("tr",{children:[i.map((e,i)=>Ot(ip,{col:e,colIdx:i,row:t,rowIdx:o,rowsLength:c.length,maxWidth:g,limitFieldsPerRow:n,errorMessage:r,handleChange:f},`input-table-row-${o}-col-${i}`)),0===a&&Ot("td",{children:Ot(np,{$marginTop:n?"24px":"0",onClick:()=>{return t=o,void(c.length>1?d(e=>e.filter((e,o)=>o!==t)):e.forEach(({keyName:e,type:o})=>f(e,o===Ho.Number?"0":"",t)));var t},children:Ot(vt,{})})})]},`input-table-matrix-${o}-${a}`))]},`input-table-row-${o}`))})]}),!!r&&Ot(Zr,{children:r}),Ot(yl,{onClick:()=>{d(e=>{const t=vo(e);return t.push(vo(s)),t})},disabled:m})]})},sp=Yt.div`
1328
1365
  display: flex;
1329
1366
  flex-direction: column;
1330
1367
  width: 100%;
1331
- `,rp=Yt.div`
1368
+ `,lp=Yt.div`
1332
1369
  display: flex;
1333
1370
  flex-direction: column;
1334
1371
  gap: 8px;
1335
- `,ip=Yt.div`
1372
+ `,cp=Yt.div`
1336
1373
  display: flex;
1337
1374
  align-items: center;
1338
1375
  gap: 8px;
1339
- `,np=Yt.div`
1376
+ `,dp=Yt.div`
1340
1377
  width: 100%;
1341
1378
  max-width: ${({$maxWidth:e})=>e?`${e}px`:"unset"};
1342
- `,ap=Yt(fs)`
1379
+ `,pp=Yt(vs)`
1343
1380
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
1344
1381
  opacity: ${({$disabled:e})=>e?.5:1};
1345
- `,sp={key:"",value:""},lp=({initialKeyValuePairs:e=[],value:t,onChange:o,title:r,tooltip:i,disabled:n,required:a,errorMessage:s,keyPlaceholder:l="Key",valuePlaceholder:c="Value",inputMaxWidth:d=300})=>{const[p,u]=Pt(t||e);Mt(()=>{p.length||u([{...sp}])},[]);const h=p.filter(({key:e,value:t})=>!pi(e.trim())&&!pi(t.trim())),m=Bt(JSON.stringify(h));Mt(()=>{const e=JSON.stringify(h);m.current!==e&&(m.current=e,o&&o(h))},[h]);const g=(e,t,o)=>{u(r=>{const i=[...r];return i[o][e]=t,i})},f=p.length<=1,x=n||p.some(({key:e,value:t})=>""===e.trim()||""===t.trim()),y=n||f&&x;return Rt(op,{children:[Ot(nc,{title:r,required:a,tooltip:i}),Ot(rp,{children:p.map(({key:e,value:t},o)=>Rt(ip,{children:[Ot(np,{$maxWidth:d,children:Ot(uc,{placeholder:l,disabled:n,value:e,onChange:e=>g("key",e.target.value,o),hasError:!!s&&(!a||a&&!e),autoFocus:pi(t)&&!f&&o===p.length-1})}),Ot(np,{$maxWidth:o===p.length-1?d-38:d,children:Ot(uc,{placeholder:c,disabled:n,value:t,onChange:e=>g("value",e.target.value,o),hasError:!!s&&(!a||a&&pi(t)),autoFocus:!1})}),o===p.length-1&&Ot(ap,{withBorder:!0,size:30,$disabled:x,onClick:x?void 0:()=>{u(e=>{const t=[...e];return t.push({...sp}),t})},children:Ot(mt,{})}),Ot(ap,{size:30,$disabled:y,onClick:y?void 0:()=>(e=>{f?(g("key","",e),g("value","",e)):u(t=>t.filter((t,o)=>o!==e))})(o),children:Ot(vt,{})})]},`key-value-input-list-${o}`))}),!!s&&Ot(Zi,{children:s})]})},cp=to`
1382
+ `,up={key:"",value:""},hp=({initialKeyValuePairs:e=[],value:t,onChange:o,title:i,tooltip:r,disabled:n,required:a,errorMessage:s,keyPlaceholder:l="Key",valuePlaceholder:c="Value",inputMaxWidth:d=300})=>{const[p,u]=Pt(t||e);Mt(()=>{p.length||u([{...up}])},[]);const h=p.filter(({key:e,value:t})=>!pr(e.trim())&&!pr(t.trim())),m=Bt(JSON.stringify(h));Mt(()=>{const e=JSON.stringify(h);m.current!==e&&(m.current=e,o&&o(h))},[h]);const g=(e,t,o)=>{u(i=>{const r=[...i];return r[o][e]=t,r})},f=p.length<=1,x=n||p.some(({key:e,value:t})=>""===e.trim()||""===t.trim()),y=n||f&&x;return Rt(sp,{children:[Ot(dc,{title:i,required:a,tooltip:r}),Ot(lp,{children:p.map(({key:e,value:t},o)=>Rt(cp,{children:[Ot(dp,{$maxWidth:d,children:Ot(xc,{placeholder:l,disabled:n,value:e,onChange:e=>g("key",e.target.value,o),hasError:!!s&&(!a||a&&!e),autoFocus:pr(t)&&!f&&o===p.length-1})}),Ot(dp,{$maxWidth:o===p.length-1?d-38:d,children:Ot(xc,{placeholder:c,disabled:n,value:t,onChange:e=>g("value",e.target.value,o),hasError:!!s&&(!a||a&&pr(t)),autoFocus:!1})}),o===p.length-1&&Ot(pp,{withBorder:!0,size:30,$disabled:x,onClick:x?void 0:()=>{u(e=>{const t=[...e];return t.push({...up}),t})},children:Ot(mt,{})}),Ot(pp,{size:30,$disabled:y,onClick:y?void 0:()=>(e=>{f?(g("key","",e),g("value","",e)):u(t=>t.filter((t,o)=>o!==e))})(o),children:Ot(vt,{})})]},`key-value-input-list-${o}`))}),!!s&&Ot(Zr,{children:s})]})},mp=to`
1346
1383
  0% {
1347
1384
  background-position: 0% 50%;
1348
1385
  }
1349
1386
  100% {
1350
1387
  background-position: 100% 50%;
1351
1388
  }
1352
- `,dp=Yt(qi)`
1389
+ `,gp=Yt(qr)`
1353
1390
  background: ${({$textColor:e,$stripColor:t})=>`linear-gradient(45deg, ${e} 0%, ${e} 40%, ${t} 50%, ${e} 60%, ${e} 100%)`};
1354
1391
  background-size: 250% 100%; /* Expand background to allow movement */
1355
1392
  background-clip: text;
1356
1393
  color: transparent;
1357
- animation: ${cp} 1s reverse linear infinite;
1358
- `,pp=({children:e="Loading...",textColor:t,stripColor:o,...r})=>{const i=Zt(),n=t||i.v2.colors.white[500],a=o||i.v2.colors.black[500];return Ot(dp,{$textColor:n,$stripColor:a,...r,children:e})},up=Yt.div`
1394
+ animation: ${mp} 1s reverse linear infinite;
1395
+ `,fp=({children:e="Loading...",textColor:t,stripColor:o,...i})=>{const r=Zt(),n=t||r.v2.colors.white[500],a=o||r.v2.colors.black[500];return Ot(gp,{$textColor:n,$stripColor:a,...i,children:e})},xp=Yt.div`
1359
1396
  display: flex;
1360
1397
  flex-direction: ${({$isVertical:e})=>e?"column":"row"};
1361
1398
  gap: ${({$isVertical:e})=>e?"12px":"24px"};
@@ -1364,17 +1401,17 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1364
1401
  border-radius: 32px;
1365
1402
  padding: 8px;
1366
1403
  `}
1367
- `,hp=(e,t)=>!t?.length||!!t?.find(t=>t===e),mp=({isVertical:e,title:t="Monitors",required:o,errorMessage:r,allowedSignals:i,selectedSignals:n,setSelectedSignals:a})=>{const[s,l]=Pt(1===n.length),c=Bt(JSON.stringify(n));Mt(()=>{const e=n;e.length||Sn.forEach(({id:t})=>{hp(t,i)&&e.push(t)});const t=JSON.stringify(e);return c.current!==t&&(c.current=t,a(e),l(1===e.length)),()=>{c.current=""}},[i]);return Rt("div",{children:[t&&Ot(nc,{title:t,required:o}),Ot(up,{$isVertical:e,$hasError:!!r,children:Sn.map(e=>{const t=hp(e.id,i),o=((e,t)=>!!t?.find(t=>t===e))(e.id,n);return t?Ot(Ls,{title:e.value,disabled:!t||s&&o,value:o,onChange:t=>((e,t)=>{const o=e,r=t?[...n,o]:n.filter(e=>e!==o);a(r),l(1===r.length)})(e.id,t)},e.id):null})}),!!r&&Ot(Zi,{children:r})]})},gp=Yt.div`
1404
+ `,yp=(e,t)=>!t?.length||!!t?.find(t=>t===e),bp=({isVertical:e,title:t="Monitors",required:o,errorMessage:i,allowedSignals:r,selectedSignals:n,setSelectedSignals:a})=>{const[s,l]=Pt(1===n.length),c=Bt(JSON.stringify(n));Mt(()=>{const e=n;e.length||Sn.forEach(({id:t})=>{yp(t,r)&&e.push(t)});const t=JSON.stringify(e);return c.current!==t&&(c.current=t,a(e),l(1===e.length)),()=>{c.current=""}},[r]);return Rt("div",{children:[t&&Ot(dc,{title:t,required:o}),Ot(xp,{$isVertical:e,$hasError:!!i,children:Sn.map(e=>{const t=yp(e.id,r),o=((e,t)=>!!t?.find(t=>t===e))(e.id,n);return t?Ot(js,{title:e.value,disabled:!t||s&&o,value:o,onChange:t=>((e,t)=>{const o=e,i=t?[...n,o]:n.filter(e=>e!==o);a(i),l(1===i.length)})(e.id,t)},e.id):null})}),!!i&&Ot(Zr,{children:i})]})},$p=Yt.div`
1368
1405
  display: flex;
1369
1406
  gap: 8px;
1370
1407
  align-items: center;
1371
- `,fp=Yt(da)`
1408
+ `,vp=Yt(da)`
1372
1409
  display: flex;
1373
1410
  align-items: center;
1374
1411
  justify-content: center;
1375
1412
  gap: 8px;
1376
1413
  min-width: 90px;
1377
- `,xp=({buttons:e})=>{const t=Zt(),o=({button:t,index:o})=>e.length>1&&0===o&&(t.icon||t.iconSrc),r=({button:e,rotate:o})=>e.icon?Ot(e.icon,{size:14,rotate:o,fill:t.text[e.variant||"secondary"]}):e.iconSrc?Ot("img",{src:e.iconSrc,alt:e.label,width:8,height:12}):null;return Ot(gp,{children:e.map((e,t)=>Ot(hs,{text:e.tooltip||"",children:Rt(fp,{variant:e.variant||"secondary",onClick:e.onClick,disabled:e.disabled,children:[o({button:e,index:t})&&r({button:e,rotate:0}),e.label,!o({button:e,index:t})&&r({button:e,rotate:180})]},t)},t))})},yp=Yt.div`
1414
+ `,wp=({buttons:e})=>{const t=Zt(),o=({button:t,index:o})=>e.length>1&&0===o&&(t.icon||t.iconSrc),i=({button:e,rotate:o})=>e.icon?Ot(e.icon,{size:14,rotate:o,fill:t.text[e.variant||"secondary"]}):e.iconSrc?Ot("img",{src:e.iconSrc,alt:e.label,width:8,height:12}):null;return Ot($p,{children:e.map((e,t)=>Ot(ys,{text:e.tooltip||"",children:Rt(vp,{variant:e.variant||"secondary",onClick:e.onClick,disabled:e.disabled,children:[o({button:e,index:t})&&i({button:e,rotate:0}),e.label,!o({button:e,index:t})&&i({button:e,rotate:180})]},t)},t))})},Sp=Yt.div`
1378
1415
  width: 100%;
1379
1416
  height: 100%;
1380
1417
 
@@ -1382,26 +1419,26 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1382
1419
  animation: none !important;
1383
1420
  transition: none !important;
1384
1421
  }
1385
- `,bp=({width:e="100%",height:t="100%",gap:o=0,elements:r,noAnimation:i=!1,onTopIndexChange:n})=>{const a=Bt(null),s=Lt(()=>o?r.map((e,t)=>Ot("div",{style:{paddingBottom:o},children:e},`scroll-y-item-${t}`)):r,[r,o]),l=Ut(e=>{if(!n||!a.current)return;const t=a.current.findItemIndex(e);n(t)},[n]),c=Ot(fo,{ref:a,style:{width:e,height:t},onScroll:n?l:void 0,children:s});return i?Ot(yp,{children:c}):c},$p=Yt.div`
1422
+ `,Cp=({width:e="100%",height:t="100%",gap:o=0,elements:i,noAnimation:r=!1,onTopIndexChange:n})=>{const a=Bt(null),s=Lt(()=>o?i.map((e,t)=>Ot("div",{style:{paddingBottom:o},children:e},`scroll-y-item-${t}`)):i,[i,o]),l=Ut(e=>{if(!n||!a.current)return;const t=a.current.findItemIndex(e);n(t)},[n]),c=Ot(fo,{ref:a,style:{width:e,height:t},onScroll:n?l:void 0,children:s});return r?Ot(Sp,{children:c}):c},kp=Yt.div`
1386
1423
  display: flex;
1387
1424
  justify-content: space-between;
1388
1425
  align-items: center;
1389
1426
  gap: 16px;
1390
- `,vp=Yt.div`
1427
+ `,Ep=Yt.div`
1391
1428
  display: flex;
1392
1429
  flex-direction: column;
1393
1430
  gap: 4px;
1394
- `,wp=Yt.div`
1431
+ `,Ap=Yt.div`
1395
1432
  display: flex;
1396
1433
  align-items: center;
1397
1434
  gap: 8px;
1398
- `,Sp=Yt(qi)``,Cp=Yt(qi)``,kp=({title:e,description:t,badgeLabel:o,icon:r,actionButton:i,size:n="medium"})=>{const a="small"===n?16:"medium"===n?20:24,s="small"===n?12:"medium"===n?14:16;return Rt($p,{children:[Rt(vp,{children:[Rt(wp,{children:[r&&Ot(r,{size:a}),Ot(Sp,{weight:300,size:a,children:e}),void 0!==o&&Ot(aa,{label:o,filled:!!o})]}),Ot(Cp,{weight:200,opacity:.8,size:s,children:t})]}),i&&Ot("div",{children:i})]})},Ep=Yt.div`
1435
+ `,Dp=Yt(qr)``,Tp=Yt(qr)``,Np=({title:e,description:t,badgeLabel:o,icon:i,actionButton:r,size:n="medium"})=>{const a="small"===n?16:"medium"===n?20:24,s="small"===n?12:"medium"===n?14:16;return Rt(kp,{children:[Rt(Ep,{children:[Rt(Ap,{children:[i&&Ot(i,{size:a}),Ot(Dp,{weight:300,size:a,children:e}),void 0!==o&&Ot(aa,{label:o,filled:!!o})]}),Ot(Tp,{weight:200,opacity:.8,size:s,children:t})]}),r&&Ot("div",{children:r})]})},Ip=Yt.div`
1399
1436
  position: relative;
1400
1437
  gap: 0;
1401
1438
  z-index: 0;
1402
1439
  display: grid;
1403
1440
  grid-template-columns: repeat(${({$count:e})=>e}, 1fr);
1404
- `,Ap=Yt.button`
1441
+ `,_p=Yt.button`
1405
1442
  flex: 1;
1406
1443
  display: flex;
1407
1444
  align-items: center;
@@ -1415,7 +1452,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1415
1452
  &:hover {
1416
1453
  border: 1px solid ${({theme:e})=>e.colors.secondary};
1417
1454
  }
1418
- `,Dp=Yt.div`
1455
+ `,Op=Yt.div`
1419
1456
  position: absolute;
1420
1457
  top: ${({$y:e})=>e}px;
1421
1458
  left: ${({$x:e})=>e}px;
@@ -1425,7 +1462,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1425
1462
  background-color: ${({theme:e,$bgColor:t})=>t||e.colors.dropdown_bg_2};
1426
1463
  border-radius: ${({$isFirstItem:e,$isLastItem:t})=>e?"32px 0px 0px 32px":t?"0px 32px 32px 0px":"0"};
1427
1464
  transition: all 0.3s;
1428
- `,Tp=({options:e=[],selected:t,setSelected:o})=>{const r=e.findIndex(e=>e.value===t),[i,n]=Pt(e[r]?.selectedBgColor||""),[a,s]=Pt({width:0,height:0}),[l,c]=Pt({x:0,y:0}),d=Bt(null);return Mt(()=>{d.current&&(s({width:d.current.offsetWidth,height:d.current.offsetHeight}),c({x:d.current.offsetWidth*r,y:0}))},[t,r]),Rt(Ep,{$count:e.length,children:[e.map(({icon:r,label:i,value:a,selectedBgColor:s,selectedTextColor:l},c)=>{const p=t===a;return Rt(Ap,{ref:p?d:void 0,$isFirstItem:0===c,$isLastItem:c===e.length-1,onClick:()=>{o(a),n(s||"")},children:[r&&Ot(r,{}),i&&Ot(qi,{size:12,family:"secondary",decoration:"underline",color:p?l:void 0,children:i})]},`segment-${i||c}-${a}`)}),Ot(Dp,{$bgColor:i,$width:a.width,$height:a.height,$x:l.x,$y:l.y,$isFirstItem:0===r,$isLastItem:r===e.length-1})]})},Np=Yt(da)`
1465
+ `,Rp=({options:e=[],selected:t,setSelected:o})=>{const i=e.findIndex(e=>e.value===t),[r,n]=Pt(e[i]?.selectedBgColor||""),[a,s]=Pt({width:0,height:0}),[l,c]=Pt({x:0,y:0}),d=Bt(null);return Mt(()=>{d.current&&(s({width:d.current.offsetWidth,height:d.current.offsetHeight}),c({x:d.current.offsetWidth*i,y:0}))},[t,i]),Rt(Ip,{$count:e.length,children:[e.map(({icon:i,label:r,value:a,selectedBgColor:s,selectedTextColor:l},c)=>{const p=t===a;return Rt(_p,{ref:p?d:void 0,$isFirstItem:0===c,$isLastItem:c===e.length-1,onClick:()=>{o(a),n(s||"")},children:[i&&Ot(i,{}),r&&Ot(qr,{size:12,family:"secondary",decoration:"underline",color:p?l:void 0,children:r})]},`segment-${r||c}-${a}`)}),Ot(Op,{$bgColor:r,$width:a.width,$height:a.height,$x:l.x,$y:l.y,$isFirstItem:0===i,$isLastItem:i===e.length-1})]})},Fp=Yt(da)`
1429
1466
  gap: 8px;
1430
1467
  text-transform: none;
1431
1468
  text-decoration: none;
@@ -1439,71 +1476,71 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1439
1476
  &.selected {
1440
1477
  background-color: ${({theme:e})=>e.colors.majestic_blue+Yn["030"]};
1441
1478
  }
1442
- `,Ip=Yt(qi)`
1479
+ `,zp=Yt(qr)`
1443
1480
  white-space: nowrap;
1444
1481
  overflow: hidden;
1445
1482
  text-overflow: ellipsis;
1446
1483
  font-size: 14px;
1447
- `,_p=({label:e,onClick:t,icon:o,iconSrc:r,badgeLabel:i,badgeFilled:n,isSelected:a,withBorder:s,color:l,hoverColor:c,style:d})=>{const p=Zt();return Rt(Np,{onClick:t,className:a?"selected":"not-selected",$withBorder:s,$color:l,$hoverColor:c,style:d,children:[o&&Ot("div",{children:Ot(o,{fill:p.text.info})}),r&&Ot("div",{children:Ot("img",{src:r,alt:"",width:16,height:16})}),Ot(Ip,{children:e}),a&&Ot("div",{children:Ot(st,{fill:p.colors.majestic_blue_soft})}),void 0!==i&&Ot(aa,{label:i,filled:n||a})]})},Op=Yt.div`
1484
+ `,Lp=({label:e,onClick:t,icon:o,iconSrc:i,badgeLabel:r,badgeFilled:n,isSelected:a,withBorder:s,color:l,hoverColor:c,style:d})=>{const p=Zt();return Rt(Fp,{onClick:t,className:a?"selected":"not-selected",$withBorder:s,$color:l,$hoverColor:c,style:d,children:[o&&Ot("div",{children:Ot(o,{fill:p.text.info})}),i&&Ot("div",{children:Ot("img",{src:i,alt:"",width:16,height:16})}),Ot(zp,{children:e}),a&&Ot("div",{children:Ot(st,{fill:p.colors.majestic_blue_soft})}),void 0!==r&&Ot(aa,{label:r,filled:n||a})]})},Pp=Yt.div`
1448
1485
  display: flex;
1449
1486
  flex-direction: column;
1450
1487
  gap: 16px;
1451
1488
  ${({$maxWidth:e})=>e&&`max-width: ${e};`}
1452
- `,Rp=Yt.div`
1489
+ `,Mp=Yt.div`
1453
1490
  display: flex;
1454
1491
  align-items: center;
1455
1492
  gap: 16px;
1456
- `,Fp=Yt.div`
1493
+ `,Bp=Yt.div`
1457
1494
  width: 50px;
1458
1495
  height: 50px;
1459
1496
  border-radius: 8px;
1460
1497
  background: ${({theme:e})=>`linear-gradient(90deg, ${e.colors.dropdown_bg_2} 25%, ${e.colors.dropdown_bg_2} 50%, ${e.colors.border} 75%)`};
1461
1498
  background-size: 200% 100%;
1462
1499
  animation: ${oa} 10s infinite linear;
1463
- `,zp=Yt(Ri)`
1500
+ `,Up=Yt(Rr)`
1464
1501
  flex: 1;
1465
1502
  gap: 12px;
1466
- `,Lp=Yt.div`
1503
+ `,jp=Yt.div`
1467
1504
  width: ${({$width:e})=>e};
1468
1505
  height: 16px;
1469
1506
  background: ${({theme:e})=>`linear-gradient(90deg, ${e.colors.dropdown_bg_2} 25%, ${e.colors.dropdown_bg_2} 50%, ${e.colors.border} 75%)`};
1470
1507
  background-size: 200% 100%;
1471
1508
  animation: ${oa} 1.5s infinite linear;
1472
1509
  border-radius: 4px;
1473
- `,Pp=({size:e=5,maxWidth:t})=>Ot(Op,{$maxWidth:t,children:[...Array(e)].map((e,t)=>Rt(Rp,{children:[Ot(Fp,{}),Rt(zp,{children:[Ot(Lp,{$width:"80%"}),Ot(Lp,{$width:"100%"})]})]},t))});var Mp;!function(e){e.Active="active",e.Disabled="disabled",e.Finished="finish"}(Mp||(Mp={}));const Bp=Yt.div`
1510
+ `,Wp=({size:e=5,maxWidth:t})=>Ot(Pp,{$maxWidth:t,children:[...Array(e)].map((e,t)=>Rt(Mp,{children:[Ot(Bp,{}),Rt(Up,{children:[Ot(jp,{$width:"80%"}),Ot(jp,{$width:"100%"})]})]},t))});var Gp;!function(e){e.Active="active",e.Disabled="disabled",e.Finished="finish"}(Gp||(Gp={}));const Hp=Yt.div`
1474
1511
  display: flex;
1475
1512
  flex-direction: column;
1476
1513
  gap: 32px;
1477
- `,Up=Yt.div`
1514
+ `,Xp=Yt.div`
1478
1515
  display: flex;
1479
1516
  gap: 16px;
1480
1517
  padding: 8px;
1481
- opacity: ${({$state:e})=>e===Mp.Active?1:e===Mp.Disabled?.5:.8};
1518
+ opacity: ${({$state:e})=>e===Gp.Active?1:e===Gp.Disabled?.5:.8};
1482
1519
  transition: all 0.3s;
1483
- `,jp=Yt(Oi)`
1520
+ `,Vp=Yt(Or)`
1484
1521
  justify-content: center;
1485
1522
  width: 24px;
1486
1523
  height: 24px;
1487
1524
  border-radius: 32px;
1488
- border: ${({theme:e,$state:t})=>t===Mp.Disabled?`1px dashed ${e.text.dark_grey}`:`1px solid ${e.colors.secondary}`};
1489
- opacity: ${({$state:e})=>e===Mp.Finished?.8:1};
1490
- `,Wp=Yt(Ri)`
1525
+ border: ${({theme:e,$state:t})=>t===Gp.Disabled?`1px dashed ${e.text.dark_grey}`:`1px solid ${e.colors.secondary}`};
1526
+ opacity: ${({$state:e})=>e===Gp.Finished?.8:1};
1527
+ `,Jp=Yt(Rr)`
1491
1528
  justify-content: center;
1492
1529
  gap: 8px;
1493
- `,Gp=Yt(qi)``,Xp=Yt(qi)``,Vp=({data:e,currentStep:t=0})=>{const[o,r]=Pt([]);return Mt(()=>{r(e.map((e,o)=>o<t-1?{...e,state:Mp.Finished,subtitle:e.subtitle||Vo.Success}:o===t-1?{...e,state:Mp.Active,subtitle:""}:{...e,state:Mp.Disabled,subtitle:""}))},[t,e]),Ot(Bp,{children:o.map((e,t)=>Rt(Up,{$state:e.state,children:[Ot(jp,{$state:e.state,children:[Mp.Active,Mp.Disabled].includes(e.state)?Ot(qi,{size:12,children:e.stepNumber}):e.state===Mp.Finished?Ot(st,{size:20}):null}),Rt(Wp,{children:[Ot(Gp,{family:"secondary",children:e.title}),e.subtitle&&Ot(Xp,{size:10,weight:300,children:e.subtitle})]})]},t))})},Hp=Yt(Oi)`
1530
+ `,Kp=Yt(qr)``,qp=Yt(qr)``,Yp=({data:e,currentStep:t=0})=>{const[o,i]=Pt([]);return Mt(()=>{i(e.map((e,o)=>o<t-1?{...e,state:Gp.Finished,subtitle:e.subtitle||Xo.Success}:o===t-1?{...e,state:Gp.Active,subtitle:""}:{...e,state:Gp.Disabled,subtitle:""}))},[t,e]),Ot(Hp,{children:o.map((e,t)=>Rt(Xp,{$state:e.state,children:[Ot(Vp,{$state:e.state,children:[Gp.Active,Gp.Disabled].includes(e.state)?Ot(qr,{size:12,children:e.stepNumber}):e.state===Gp.Finished?Ot(st,{size:20}):null}),Rt(Jp,{children:[Ot(Kp,{family:"secondary",children:e.title}),e.subtitle&&Ot(qp,{size:10,weight:300,children:e.subtitle})]})]},t))})},Qp=Yt(Or)`
1494
1531
  width: fit-content;
1495
1532
  gap: 6px;
1496
1533
  padding: 6px 12px;
1497
1534
  border-radius: 360px;
1498
1535
  background-color: ${({$type:e,theme:t})=>t.colors[e]};
1499
- `,Jp=Yt(qi)`
1536
+ `,Zp=Yt(qr)`
1500
1537
  color: ${({$type:e,theme:t})=>t.text[e]};
1501
- `,Kp=({type:e=Vo.Info,icon:t,title:o,size:r,family:i,children:n,...a})=>Rt(Hp,{$type:e,children:[t&&Ot(t,{}),Ot(Jp,{$type:e,size:r||12,family:i||"secondary",...a,children:n||o})]}),qp=Yt.div`
1538
+ `,eu=({type:e=Xo.Info,icon:t,title:o,size:i,family:r,children:n,...a})=>Rt(Qp,{$type:e,children:[t&&Ot(t,{}),Ot(Zp,{$type:e,size:i||12,family:r||"secondary",...a,children:n||o})]}),tu=Yt.div`
1502
1539
  display: flex;
1503
1540
  flex-direction: column;
1504
1541
  position: relative;
1505
1542
  width: 100%;
1506
- `,Yp=Yt.div`
1543
+ `,ou=Yt.div`
1507
1544
  width: 100%;
1508
1545
  display: flex;
1509
1546
  align-items: center;
@@ -1531,7 +1568,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1531
1568
  &:focus-within {
1532
1569
  border-color: ${({theme:e})=>e.colors.secondary};
1533
1570
  }
1534
- `,Qp=Yt.textarea`
1571
+ `,iu=Yt.textarea`
1535
1572
  flex: 1;
1536
1573
  border: none;
1537
1574
  outline: none;
@@ -1555,13 +1592,13 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1555
1592
  background-color: ${({theme:e})=>e.colors.border};
1556
1593
  cursor: not-allowed;
1557
1594
  }
1558
- `,Zp=({errorMessage:e,title:t,tooltip:o,required:r,onChange:i,name:n,...a})=>{const s=Bt(null),l=e=>{s.current&&(s.current.style.height="auto",e&&(s.current.style.height=`${s.current.scrollHeight}px`))};return Rt(qp,{children:[Ot(nc,{title:t,required:r,tooltip:o}),Ot(Yp,{$disabled:a.disabled,$hasError:!!e,$isActive:!!a.autoFocus,children:Ot(Qp,{ref:s,"data-id":n,name:n,onFocus:()=>l(!0),onBlur:()=>l(!1),onChange:e=>{e.stopPropagation(),l(!0),i?.(e)},onKeyDown:e=>{e.stopPropagation()},...a})}),!!e&&Ot(Zi,{children:e})]})},eu=Yt.div`
1595
+ `,ru=({errorMessage:e,title:t,tooltip:o,required:i,onChange:r,name:n,...a})=>{const s=Bt(null),l=e=>{s.current&&(s.current.style.height="auto",e&&(s.current.style.height=`${s.current.scrollHeight}px`))};return Rt(tu,{children:[Ot(dc,{title:t,required:i,tooltip:o}),Ot(ou,{$disabled:a.disabled,$hasError:!!e,$isActive:!!a.autoFocus,children:Ot(iu,{ref:s,"data-id":n,name:n,onFocus:()=>l(!0),onBlur:()=>l(!1),onChange:e=>{e.stopPropagation(),l(!0),r?.(e)},onKeyDown:e=>{e.stopPropagation()},...a})}),!!e&&Ot(Zr,{children:e})]})},nu=Yt.div`
1559
1596
  display: flex;
1560
1597
  align-items: center;
1561
1598
  gap: 12px;
1562
1599
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
1563
1600
  opacity: ${({$disabled:e})=>e?.6:1};
1564
- `,tu=Yt.div`
1601
+ `,au=Yt.div`
1565
1602
  width: 24px;
1566
1603
  height: 12px;
1567
1604
  border: 1px ${({$isActive:e,theme:t})=>e?`solid ${t.colors.majestic_blue}`:`dashed ${t.text.grey}`};
@@ -1583,11 +1620,11 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1583
1620
  transform: ${({$isActive:e})=>e?"translateX(12px)":"translateX(0)"};
1584
1621
  transition: background-color 0.3s, transform 0.3s;
1585
1622
  }
1586
- `,ou=({title:e,tooltip:t,initialValue:o=!1,onChange:r,disabled:i,allowPropagation:n=!1,flipHorizontally:a})=>{const[s,l]=Pt(o);Mt(()=>l(o),[o]);return Rt(eu,{$disabled:i,onClick:e=>{i||(n||e.stopPropagation(),r?r(!s):l(e=>!e))},children:[!a&&Ot(tu,{$disabled:i,$isActive:s}),(e||t)&&Ot(hs,{text:t,withIcon:!0,children:e&&Ot(qi,{size:14,children:e})}),a&&Ot(tu,{$disabled:i,$isActive:s})]})};var ru={v:"5.12.1",fr:60,ip:0,op:80,w:220,h:620,nm:"Odigos - Trace Loader",ddd:0,assets:[{id:"comp_0",nm:"moving lines-5",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"moving lines-5",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[6.097,.571,0],ix:2,l:2},a:{a:0,k:[-.046,-149.04,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-.055,-173.88],[.095,546.629]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.976470588235,.976470588235,.976470588235,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:6,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[85.714,85.714],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.757],y:[.459]},o:{x:[.441],y:[0]},t:2.4,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:18.172,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:36.174,s:[85.889]},{t:51,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.757],y:[.582]},o:{x:[.441],y:[0]},t:0,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:12.174,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:30.174,s:[85.889]},{t:45,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:51,st:-26,ct:1,bm:0}]},{id:"comp_1",nm:"moving lines-4",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"moving lines-4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[5.475,.571,0],ix:2,l:2},a:{a:0,k:[.144,-156.04,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[.167,-182.047],[.314,547.797]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.976470588235,.976470588235,.976470588235,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:6,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[85.714,85.714],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.757],y:[.459]},o:{x:[.441],y:[0]},t:17.9,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:38.055,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:61.053,s:[85.889]},{t:80,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.757],y:[.582]},o:{x:[.441],y:[0]},t:0,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:15.553,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:38.555,s:[85.889]},{t:57.5,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:80,st:-26,ct:1,bm:0}]},{id:"comp_2",nm:"moving lines-3",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"moving lines-3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[5.841,.571,0],ix:2,l:2},a:{a:0,k:[.324,-150.04,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[.382,-175.047],[-.051,538.464]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.976470588235,.976470588235,.976470588235,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:6,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[85.714,85.714],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.757],y:[.459]},o:{x:[.441],y:[0]},t:6,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:23.525,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:43.525,s:[85.889]},{t:60,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.757],y:[.582]},o:{x:[.441],y:[0]},t:0,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:13.525,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:33.525,s:[85.889]},{t:50,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:60,st:-26,ct:1,bm:0}]}],layers:[{ddd:0,ind:1,ty:0,nm:"moving lines-5",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[213,1,0],ix:2,l:2},a:{a:0,k:[6,0,0],ix:1,l:2},s:{a:0,k:[100,99.4,100],ix:6,l:2}},ao:0,w:12,h:619,ip:-22,op:29,st:-22,ct:1,bm:0},{ddd:0,ind:2,ty:0,nm:"moving lines-5",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[213,1,0],ix:2,l:2},a:{a:0,k:[6,0,0],ix:1,l:2},s:{a:0,k:[100,99.4,100],ix:6,l:2}},ao:0,w:12,h:619,ip:56,op:107,st:56,ct:1,bm:0},{ddd:0,ind:3,ty:0,nm:"moving lines-5",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[213,1,0],ix:2,l:2},a:{a:0,k:[6,0,0],ix:1,l:2},s:{a:0,k:[100,99.4,100],ix:6,l:2}},ao:0,w:12,h:619,ip:22,op:73,st:22,ct:1,bm:0},{ddd:0,ind:4,ty:0,nm:"moving lines-4",refId:"comp_1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[110.5,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,98.2,100],ix:6,l:2}},ao:0,w:11,h:627,ip:-65,op:15,st:-65,ct:1,bm:0},{ddd:0,ind:5,ty:0,nm:"moving lines-4",refId:"comp_1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[110.5,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,98.2,100],ix:6,l:2}},ao:0,w:11,h:627,ip:14,op:94,st:14,ct:1,bm:0},{ddd:0,ind:6,ty:0,nm:"moving lines-3",refId:"comp_2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[7,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,100.4,100],ix:6,l:2}},ao:0,w:11,h:613,ip:2,op:62,st:2,ct:1,bm:0},{ddd:0,ind:7,ty:0,nm:"moving lines-3",refId:"comp_2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[7,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,100.4,100],ix:6,l:2}},ao:0,w:11,h:613,ip:-36,op:20,st:-40,ct:1,bm:0},{ddd:0,ind:8,ty:0,nm:"moving lines-3",refId:"comp_2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[7,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,100.4,100],ix:6,l:2}},ao:0,w:11,h:613,ip:39,op:99,st:39,ct:1,bm:0},{ddd:0,ind:9,ty:4,nm:"Vector :M",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[110,309.736,0],ix:2,l:2},a:{a:0,k:[308.5,313.236,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[205.677,618.844],[205.677,4.807]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[411.428,618.822],[411.333,4.99]],c:!1},ix:2},nm:"Path 6",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[308.5,618.796],[308.5,5.145]],c:!1},ix:2},nm:"Path 7",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.975244164467,.975244164467,.975244164467,.639999985695],ix:3},o:{a:0,k:64,ix:4},w:{a:0,k:1,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 7",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:0,op:684,st:0,ct:1,bm:0}],markers:[],props:{}};const iu=Yt.div`
1623
+ `,su=({title:e,tooltip:t,initialValue:o=!1,onChange:i,disabled:r,allowPropagation:n=!1,flipHorizontally:a})=>{const[s,l]=Pt(o);Mt(()=>l(o),[o]);return Rt(nu,{$disabled:r,onClick:e=>{r||(n||e.stopPropagation(),i?i(!s):l(e=>!e))},children:[!a&&Ot(au,{$disabled:r,$isActive:s}),(e||t)&&Ot(ys,{text:t,withIcon:!0,children:e&&Ot(qr,{size:14,children:e})}),a&&Ot(au,{$disabled:r,$isActive:s})]})};var lu={v:"5.12.1",fr:60,ip:0,op:80,w:220,h:620,nm:"Odigos - Trace Loader",ddd:0,assets:[{id:"comp_0",nm:"moving lines-5",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"moving lines-5",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[6.097,.571,0],ix:2,l:2},a:{a:0,k:[-.046,-149.04,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-.055,-173.88],[.095,546.629]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.976470588235,.976470588235,.976470588235,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:6,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[85.714,85.714],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.757],y:[.459]},o:{x:[.441],y:[0]},t:2.4,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:18.172,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:36.174,s:[85.889]},{t:51,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.757],y:[.582]},o:{x:[.441],y:[0]},t:0,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:12.174,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:30.174,s:[85.889]},{t:45,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:51,st:-26,ct:1,bm:0}]},{id:"comp_1",nm:"moving lines-4",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"moving lines-4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[5.475,.571,0],ix:2,l:2},a:{a:0,k:[.144,-156.04,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[.167,-182.047],[.314,547.797]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.976470588235,.976470588235,.976470588235,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:6,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[85.714,85.714],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.757],y:[.459]},o:{x:[.441],y:[0]},t:17.9,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:38.055,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:61.053,s:[85.889]},{t:80,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.757],y:[.582]},o:{x:[.441],y:[0]},t:0,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:15.553,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:38.555,s:[85.889]},{t:57.5,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:80,st:-26,ct:1,bm:0}]},{id:"comp_2",nm:"moving lines-3",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"moving lines-3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[5.841,.571,0],ix:2,l:2},a:{a:0,k:[.324,-150.04,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[.382,-175.047],[-.051,538.464]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.976470588235,.976470588235,.976470588235,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:6,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[85.714,85.714],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.757],y:[.459]},o:{x:[.441],y:[0]},t:6,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:23.525,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:43.525,s:[85.889]},{t:60,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.757],y:[.582]},o:{x:[.441],y:[0]},t:0,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:13.525,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:33.525,s:[85.889]},{t:50,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:60,st:-26,ct:1,bm:0}]}],layers:[{ddd:0,ind:1,ty:0,nm:"moving lines-5",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[213,1,0],ix:2,l:2},a:{a:0,k:[6,0,0],ix:1,l:2},s:{a:0,k:[100,99.4,100],ix:6,l:2}},ao:0,w:12,h:619,ip:-22,op:29,st:-22,ct:1,bm:0},{ddd:0,ind:2,ty:0,nm:"moving lines-5",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[213,1,0],ix:2,l:2},a:{a:0,k:[6,0,0],ix:1,l:2},s:{a:0,k:[100,99.4,100],ix:6,l:2}},ao:0,w:12,h:619,ip:56,op:107,st:56,ct:1,bm:0},{ddd:0,ind:3,ty:0,nm:"moving lines-5",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[213,1,0],ix:2,l:2},a:{a:0,k:[6,0,0],ix:1,l:2},s:{a:0,k:[100,99.4,100],ix:6,l:2}},ao:0,w:12,h:619,ip:22,op:73,st:22,ct:1,bm:0},{ddd:0,ind:4,ty:0,nm:"moving lines-4",refId:"comp_1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[110.5,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,98.2,100],ix:6,l:2}},ao:0,w:11,h:627,ip:-65,op:15,st:-65,ct:1,bm:0},{ddd:0,ind:5,ty:0,nm:"moving lines-4",refId:"comp_1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[110.5,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,98.2,100],ix:6,l:2}},ao:0,w:11,h:627,ip:14,op:94,st:14,ct:1,bm:0},{ddd:0,ind:6,ty:0,nm:"moving lines-3",refId:"comp_2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[7,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,100.4,100],ix:6,l:2}},ao:0,w:11,h:613,ip:2,op:62,st:2,ct:1,bm:0},{ddd:0,ind:7,ty:0,nm:"moving lines-3",refId:"comp_2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[7,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,100.4,100],ix:6,l:2}},ao:0,w:11,h:613,ip:-36,op:20,st:-40,ct:1,bm:0},{ddd:0,ind:8,ty:0,nm:"moving lines-3",refId:"comp_2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[7,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,100.4,100],ix:6,l:2}},ao:0,w:11,h:613,ip:39,op:99,st:39,ct:1,bm:0},{ddd:0,ind:9,ty:4,nm:"Vector :M",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[110,309.736,0],ix:2,l:2},a:{a:0,k:[308.5,313.236,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[205.677,618.844],[205.677,4.807]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[411.428,618.822],[411.333,4.99]],c:!1},ix:2},nm:"Path 6",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[308.5,618.796],[308.5,5.145]],c:!1},ix:2},nm:"Path 7",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.975244164467,.975244164467,.975244164467,.639999985695],ix:3},o:{a:0,k:64,ix:4},w:{a:0,k:1,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 7",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:0,op:684,st:0,ct:1,bm:0}],markers:[],props:{}};const cu=Yt.div`
1587
1624
  width: ${({$width:e})=>e}px;
1588
1625
  height: ${({$height:e})=>e}px;
1589
1626
  position: relative;
1590
- `,nu=({width:e=620})=>{const{darkMode:t}=Zt(),o=e/(620/220);return Ot(iu,{$width:e,$height:o,children:Ot(go,{autoplay:!0,loop:!0,animationData:ru,style:{width:o,height:e,transform:"rotate(-90deg)",position:"absolute",top:-(o-o/10),left:o-o/10,filter:t?"invert(0)":"invert(1)"}})})},au=Yt.div`
1627
+ `,du=({width:e=620})=>{const{darkMode:t}=Zt(),o=e/(620/220);return Ot(cu,{$width:e,$height:o,children:Ot(go,{autoplay:!0,loop:!0,animationData:lu,style:{width:o,height:e,transform:"rotate(-90deg)",position:"absolute",top:-(o-o/10),left:o-o/10,filter:t?"invert(0)":"invert(1)"}})})},pu=Yt.div`
1591
1628
  display: flex;
1592
1629
  align-items: center;
1593
1630
  justify-content: center;
@@ -1597,17 +1634,17 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1597
1634
  padding: ${({$hasLabel:e})=>e?"4px 8px":"4px"};
1598
1635
  border-radius: 100px;
1599
1636
  background-color: ${({$backgroundColor:e})=>e};
1600
- `,su=({label:e,leftIcon:t,rightIcon:o,tooltip:r,status:i=Ko.Unknown,useSecondaryTone:n=!1,invertColors:a=!1,textSize:s,textColor:l,backgroundColor:c,minWidth:d="unset",fullWidth:p=!1})=>{const u=Zt(),h=e?.toString(),m=i?[Ko.Disabled].includes(i)?Zr(u,i,a?"400":"700"):[Ko.Unknown].includes(i)?Zr(u,i,"600"):Zr(u,i,a?n?"400":"300":n?"700":"500"):u.v2.colors.grey[200],g=l||(a&&![Ko.Unknown].includes(i)?m:[Ko.Disabled].includes(i)?u.v2.colors.grey[400]:[Vo.Error,Vo.Warning,Vo.Success].includes(i)?u.v2.colors.black[500]:u.v2.colors.white[500]),f=c||(a&&![Ko.Unknown].includes(i)?[Ko.Disabled].includes(i)?u.v2.colors.grey[700]:u.v2.colors.silver[600]:m);return Ot(hs,{text:r,fullWidth:p,children:Rt(au,{$backgroundColor:f,$minWidth:d,$fullWidth:p,$hasLabel:!!h,children:[t&&Ot(t,{fill:g,size:14}),h&&Ot(Xi,{color:g,size:s||Wi.XXS,nowrap:!0,children:h}),o&&Ot(o,{fill:g,size:14})]})})},lu=Yt.span`
1637
+ `,uu=({label:e,leftIcon:t,rightIcon:o,tooltip:i,status:r=Ko.Unknown,useSecondaryTone:n=!1,invertColors:a=!1,textSize:s,textColor:l,backgroundColor:c,minWidth:d="unset",fullWidth:p=!1})=>{const u=Zt(),h=e?.toString(),m=r?[Ko.Disabled].includes(r)?Zi(u,r,a?"400":"700"):[Ko.Unknown].includes(r)?Zi(u,r,"600"):Zi(u,r,a?n?"400":"300":n?"700":"500"):u.v2.colors.grey[200],g=l||(a&&![Ko.Unknown].includes(r)?m:[Ko.Disabled].includes(r)?u.v2.colors.grey[400]:[Xo.Error,Xo.Warning,Xo.Success].includes(r)?u.v2.colors.black[500]:u.v2.colors.white[500]),f=c||(a&&![Ko.Unknown].includes(r)?[Ko.Disabled].includes(r)?u.v2.colors.grey[700]:u.v2.colors.silver[600]:m);return Ot(ys,{text:i,fullWidth:p,children:Rt(pu,{$backgroundColor:f,$minWidth:d,$fullWidth:p,$hasLabel:!!h,children:[t&&Ot(t,{fill:g,size:14}),h&&Ot(Hr,{color:g,size:s||Wr.XXS,nowrap:!0,children:h}),o&&Ot(o,{fill:g,size:14})]})})},hu=Yt.span`
1601
1638
  font-family: ${({theme:e})=>e.font_family.primary};
1602
1639
  font-size: ${({$smallAndDark:e})=>e?"12px":"14px"};
1603
1640
  font-weight: 400;
1604
1641
  color: ${({theme:e,$smallAndDark:t})=>t?e.v2.colors.grey[400]:e.v2.colors.silver[200]};
1605
- `,cu=Yt.span`
1642
+ `,mu=Yt.span`
1606
1643
  font-family: ${({theme:e})=>e.font_family.primary};
1607
1644
  font-size: 14px;
1608
1645
  font-weight: 400;
1609
1646
  color: ${({theme:e})=>e.v2.colors.red[500]};
1610
- `,du=({label:e,tooltip:t,required:o,badge:r,width:i,smallAndDark:n})=>e||t||o?Rt(Oi,{$width:i,$justifyContent:"space-between",children:[e&&Ot(lu,{$smallAndDark:n,children:e}),Rt(Oi,{$gap:4,children:[r&&Ot(su,{...r,textSize:Wi.XXXS}),o&&Ot(cu,{children:"*"}),t&&Ot(hs,{text:t,withIcon:!0})]})]}):null,pu=({errorMessage:e,warnMessage:t,helpMessage:o})=>{const r=Zt(),i=e?r.v2.colors.red[500]:t?r.v2.colors.yellow[500]:r.v2.colors.silver[200],n=Ot(He,{size:12,fill:i});return e||t||o?Rt(Oi,{$alignItems:"center",children:[n&&Ot(Ri,{children:n}),Ot(Xi,{size:Wi.XXS,weight:400,color:i,children:e||t||o})]}):null},uu=Yt.div`
1647
+ `,gu=({label:e,tooltip:t,required:o,badge:i,width:r,smallAndDark:n})=>e||t||o?Rt(Or,{$width:r,$justifyContent:"space-between",children:[e&&Ot(hu,{$smallAndDark:n,children:e}),Rt(Or,{$gap:4,children:[i&&Ot(uu,{...i,textSize:Wr.XXXS}),o&&Ot(mu,{children:"*"}),t&&Ot(ys,{text:t,withIcon:!0})]})]}):null,fu=({errorMessage:e,warnMessage:t,helpMessage:o})=>{const i=Zt(),r=e?i.v2.colors.red[500]:t?i.v2.colors.yellow[500]:i.v2.colors.silver[200],n=Ot(Ve,{size:12,fill:r});return e||t||o?Rt(Or,{$alignItems:"center",children:[n&&Ot(Rr,{children:n}),Ot(Hr,{size:Wr.XXS,weight:400,color:r,children:e||t||o})]}):null},xu=Yt.div`
1611
1648
  padding: ${({$small:e})=>e?"4px":"6px 12px"};
1612
1649
 
1613
1650
  display: flex;
@@ -1625,7 +1662,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1625
1662
  border: 1px solid ${({theme:e})=>e.v2.colors.silver[300]};
1626
1663
  }
1627
1664
  `}
1628
- `,hu=Yt.input`
1665
+ `,yu=Yt.input`
1629
1666
  max-width: ${({$maxWidth:e})=>e||"unset"};
1630
1667
  width: ${({$width:e})=>e||"unset"};
1631
1668
 
@@ -1651,12 +1688,12 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1651
1688
  overflow: hidden;
1652
1689
  text-overflow: ellipsis;
1653
1690
  white-space: nowrap;
1654
- `,mu=Yt.div`
1691
+ `,bu=Yt.div`
1655
1692
  display: flex;
1656
1693
  align-items: center;
1657
1694
  justify-content: center;
1658
1695
  cursor: pointer;
1659
- `,gu=({label:e,required:t,tooltip:o,badge:r,leftIcon:i,rightIcon:n,hasError:a,errorMessage:s,warnMessage:l,helpMessage:c,type:d=Xo.Text,name:p,value:u,onChange:h,disabled:m,maxWidth:g,width:f,small:x=!1,...y})=>{const b=Zt(),$=d===Xo.Password,[v,w]=Pt(!1),[S,C]=Pt(null),k=a||!!s||!!S,E=u?b.v2.colors.white[500]:m?b.v2.colors.grey[400]:b.v2.colors.silver[200],A=x?14:18;return Rt(Ri,{$width:f,$gap:6,children:[Ot(du,{label:e,tooltip:o,required:t,badge:r}),Rt(uu,{$small:x,$disabled:m,$error:k,children:[i?Ot(i,{size:A,fill:E}):null,Ot(hu,{"data-id":p,type:v||d===Xo.Number?Xo.Text:d,name:p,value:u,onChange:e=>{e.stopPropagation();const t=e.target.value;d===Xo.Number&&(e.target.value=Si(t),t&&t!==e.target.value?C("Please enter a valid number"):C(null)),h?.(e)},onKeyDown:e=>{["Enter"].includes(e.key)||e.stopPropagation()},disabled:m,$maxWidth:g,$width:f,$small:x,...y}),$?Ot(mu,{onClick:()=>w(e=>!e),children:Ot(v?yt:bt,{size:A,fill:E})}):n?Ot(n,{size:A,fill:E}):null]}),Ot(pu,{errorMessage:S||s,warnMessage:l,helpMessage:c})]})};var fu,xu;!function(e){e.S="s",e.L="l"}(fu||(fu={})),function(e){e.Filled="filled",e.Underline="underline"}(xu||(xu={}));const yu=Yt.div`
1696
+ `,$u=({label:e,required:t,tooltip:o,badge:i,leftIcon:r,rightIcon:n,hasError:a,errorMessage:s,warnMessage:l,helpMessage:c,type:d=Ho.Text,name:p,value:u,onChange:h,disabled:m,maxWidth:g,width:f,small:x=!1,...y})=>{const b=Zt(),$=d===Ho.Password,[v,w]=Pt(!1),[S,C]=Pt(null),k=a||!!s||!!S,E=u?b.v2.colors.white[500]:m?b.v2.colors.grey[400]:b.v2.colors.silver[200],A=x?14:18;return Rt(Rr,{$width:f,$gap:6,children:[Ot(gu,{label:e,tooltip:o,required:t,badge:i}),Rt(xu,{$small:x,$disabled:m,$error:k,children:[r?Ot(r,{size:A,fill:E}):null,Ot(yu,{"data-id":p,type:v||d===Ho.Number?Ho.Text:d,name:p,value:u,onChange:e=>{e.stopPropagation();const t=e.target.value;d===Ho.Number&&(e.target.value=Sr(t),t&&t!==e.target.value?C("Please enter a valid number"):C(null)),h?.(e)},onKeyDown:e=>{["Enter"].includes(e.key)||e.stopPropagation()},disabled:m,$maxWidth:g,$width:f,$small:x,...y}),$?Ot(bu,{onClick:()=>w(e=>!e),children:Ot(v?yt:bt,{size:A,fill:E})}):n?Ot(n,{size:A,fill:E}):null]}),Ot(fu,{errorMessage:S||s,warnMessage:l,helpMessage:c})]})};var vu,wu;!function(e){e.S="s",e.L="l"}(vu||(vu={})),function(e){e.Filled="filled",e.Underline="underline"}(wu||(wu={}));const Su=Yt.div`
1660
1697
  display: flex;
1661
1698
  align-items: center;
1662
1699
  gap: 2px;
@@ -1664,31 +1701,31 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1664
1701
  border-radius: 8px;
1665
1702
  border: 1px solid ${({theme:e})=>e.v2.colors.grey[500]};
1666
1703
  background-color: ${({theme:e})=>e.v2.colors.silver[700]};
1667
- `,bu=Yt.button`
1704
+ `,Cu=Yt.button`
1668
1705
  flex: 1;
1669
1706
  display: flex;
1670
1707
  align-items: center;
1671
1708
  justify-content: center;
1672
1709
  gap: 8px;
1673
- padding: ${({$size:e})=>e===fu.S?"4px 8px":"8px 16px"};
1710
+ padding: ${({$size:e})=>e===vu.S?"4px 8px":"8px 16px"};
1674
1711
  border-radius: 6px;
1675
1712
  border: none;
1676
1713
  box-shadow: ${({$isSelected:e})=>e?"0 0 11px 0 rgba(0, 0, 0, 0.32)":"none"};
1677
1714
 
1678
- ${({$disabled:e,$isSelected:t,$selectedBgColor:o,theme:r})=>e?Qt`
1715
+ ${({$disabled:e,$isSelected:t,$selectedBgColor:o,theme:i})=>e?Qt`
1679
1716
  cursor: not-allowed;
1680
- background-color: ${t?(o||r.v2.colors.black[500])+Yn["040"]:"transparent"};
1717
+ background-color: ${t?(o||i.v2.colors.black[500])+Yn["040"]:"transparent"};
1681
1718
  `:Qt`
1682
1719
  cursor: pointer;
1683
- background-color: ${t?o||r.v2.colors.black[500]:"transparent"};
1720
+ background-color: ${t?o||i.v2.colors.black[500]:"transparent"};
1684
1721
  &:hover {
1685
- background-color: ${t?o||r.v2.colors.black[500]:r.v2.colors.silver[800]};
1722
+ background-color: ${t?o||i.v2.colors.black[500]:i.v2.colors.silver[800]};
1686
1723
  }
1687
1724
  `}
1688
- `,$u=Yt.div`
1725
+ `,ku=Yt.div`
1689
1726
  display: flex;
1690
1727
  align-items: stretch;
1691
- `,vu=Yt.button`
1728
+ `,Eu=Yt.button`
1692
1729
  display: flex;
1693
1730
  height: 34px;
1694
1731
  padding: 8px 12px 8px 16px;
@@ -1707,7 +1744,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1707
1744
  &:hover {
1708
1745
  border-bottom-color: ${({theme:e,$isSelected:t})=>t?e.v2.colors.white[500]:e.v2.colors.grey[500]};
1709
1746
  }
1710
- `,wu=({size:e=fu.L,variant:t=xu.Filled,options:o=[],selected:r,setSelected:i,disabled:n})=>{const a=Zt(),s=t===xu.Underline,l=s?vu:bu;return Ot(s?$u:yu,{children:o.map(({value:t,label:o,icon:c,tooltip:d,selectedBgColor:p,disabled:u},h)=>{const m=r===t,g=u||n,f=g?a.v2.colors.grey[400]:s||m?a.v2.colors.white[500]:a.v2.colors.grey[300],x=e===fu.S?Wi.XXS:Wi.XS,y=m?500:400,b=Rt(Ft,{children:[c&&Ot(c,{fill:f}),o&&Ot(Xi,{size:x,weight:y,color:f,nowrap:!0,children:o})]});return Ot(l,{onClick:()=>!g&&i(t),$disabled:g,$isSelected:m,$size:e,...!s&&{$selectedBgColor:p},children:d?Ot(hs,{text:d,withIcon:!0,children:b}):b},`segment-${o||h}-${t}`)})})},Su=Yt.div`
1747
+ `,Au=({size:e=vu.L,variant:t=wu.Filled,options:o=[],selected:i,setSelected:r,disabled:n})=>{const a=Zt(),s=t===wu.Underline,l=s?Eu:Cu;return Ot(s?ku:Su,{children:o.map(({value:t,label:o,icon:c,tooltip:d,selectedBgColor:p,disabled:u},h)=>{const m=i===t,g=u||n,f=g?a.v2.colors.grey[400]:s||m?a.v2.colors.white[500]:a.v2.colors.grey[300],x=e===vu.S?Wr.XXS:Wr.XS,y=m?500:400,b=Rt(Ft,{children:[c&&Ot(c,{fill:f}),o&&Ot(Hr,{size:x,weight:y,color:f,nowrap:!0,children:o})]});return Ot(l,{onClick:()=>!g&&r(t),$disabled:g,$isSelected:m,$size:e,...!s&&{$selectedBgColor:p},children:d?Ot(ys,{text:d,withIcon:!0,children:b}):b},`segment-${o||h}-${t}`)})})},Du=Yt.div`
1711
1748
  box-sizing: border-box !important;
1712
1749
  width: ${({$width:e})=>e??"fit-content"};
1713
1750
  padding: ${({$withSegment:e})=>e?"2px 2px 2px 12px":"6px 12px"};
@@ -1720,8 +1757,8 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1720
1757
 
1721
1758
  border: none;
1722
1759
  border-radius: 6px;
1723
- background: ${({$isHovered:e,$isActive:t,theme:o})=>e||t?o.v2.colors.silver[700]:o.v2.colors.silver[800]};
1724
- `,Cu=Yt.input`
1760
+ background: ${({$isHovered:e,$isActive:t,$idleBackgroundColor:o,$emphasizeBackgroundColor:i,theme:r})=>{const n=o??r.v2.colors.silver[800],a=i??r.v2.colors.silver[700];return e||t?a:n}};
1761
+ `,Tu=Yt.input`
1725
1762
  min-width: 0;
1726
1763
  flex: 1;
1727
1764
  font-family: ${({theme:e})=>e.font_family.primary};
@@ -1738,11 +1775,11 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1738
1775
  overflow: hidden;
1739
1776
  text-overflow: ellipsis;
1740
1777
  white-space: nowrap;
1741
- `,ku=({value:e,onChange:t,placeholder:o,width:r,segment:i})=>{const n=Zt(),[a,s]=Pt(!1),[l,c]=Pt(!1),[d,p]=Pt(!1),u=a?n.v2.colors.white[500]:n.v2.colors.silver[200],h=!!i?.options?.length,m=Lt(()=>{if(h)return i?.options.find(e=>e.value===i.selected)?.label},[h,i?.options,i?.selected]),g=Lt(()=>o||(h&&m?`Search by ${m.toLowerCase()}`:"Search..."),[o,h,m]);return Rt(Su,{$width:r,$withSegment:h,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),$isHovered:l&&!d,$isActive:a,children:[Ot($t,{size:18,fill:u}),Ot(Cu,{"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&&Ot("div",{style:{flexShrink:0},onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),children:Ot(wu,{options:i.options,selected:i.selected,setSelected:i.setSelected,size:fu.S})})]})},Eu=Yt.div`
1778
+ `,Nu=({value:e,onChange:t,placeholder:o,width:i,segment:r,idleBackgroundColor:n,emphasizeBackgroundColor:a})=>{const s=Zt(),[l,c]=Pt(!1),[d,p]=Pt(!1),[u,h]=Pt(!1),m=l?s.v2.colors.white[500]:s.v2.colors.silver[200],g=!!r?.options?.length,f=Lt(()=>{if(g)return r?.options.find(e=>e.value===r.selected)?.label},[g,r?.options,r?.selected]),x=Lt(()=>o||(g&&f?`Search by ${f.toLowerCase()}`:"Search..."),[o,g,f]);return Rt(Du,{$width:i,$withSegment:g,onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),$isHovered:d&&!u,$isActive:l,$idleBackgroundColor:n,$emphasizeBackgroundColor:a,children:[Ot($t,{size:18,fill:m}),Ot(Tu,{"data-id":"search",name:"search",type:"text",placeholder:x,value:e,onChange:e=>{e.stopPropagation(),t(e.target.value)},onFocus:()=>c(!0),onBlur:()=>c(!1),$textColor:m}),g&&Ot("div",{style:{flexShrink:0},onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),children:Ot(Au,{options:r.options,selected:r.selected,setSelected:r.setSelected,size:vu.S})})]})},Iu=Yt.div`
1742
1779
  border-radius: 100%;
1743
1780
  background-color: ${({theme:e})=>e.v2.colors.silver[700]};
1744
1781
  position: relative;
1745
- `,Au=Yt.div`
1782
+ `,_u=Yt.div`
1746
1783
  width: 80px;
1747
1784
  height: 80px;
1748
1785
  border-radius: 100%;
@@ -1756,12 +1793,12 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1756
1793
  transform: rotate(360deg);
1757
1794
  }
1758
1795
  }
1759
- `,Du=Yt(Xi)`
1796
+ `,Ou=Yt(Hr)`
1760
1797
  position: absolute;
1761
1798
  top: 50%;
1762
1799
  left: 50%;
1763
1800
  transform: translate(-50%, -50%);
1764
- `,Tu=({percentage:e})=>Rt(Eu,{children:[Ot(Au,{}),"number"==typeof e?Ot(Du,{size:Wi.M,weight:500,children:`${e}%`}):null]}),Nu={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function Iu(e){if("number"==typeof e)return{value:e,unit:"px"};let t;const o=(e.match(/^[0-9.]*/)||"").toString();t=o.includes(".")?parseFloat(o):parseInt(o,10);const r=(e.match(/[^0-9]*$/)||"").toString();return Nu[r]?{value:t,unit:r}:{value:t,unit:"px"}}function _u(e){const t=Iu(e);return`${t.value}${t.unit}`}const Ou=((e,t,o)=>{const r=`react-spinners-${e}-${o}`;if("undefined"==typeof window||!window.document)return r;const i=document.createElement("style");document.head.appendChild(i);const n=i.sheet,a=`\n @keyframes ${r} {\n ${t}\n }\n `;return n&&n.insertRule(a,0),r})("SpinnerOld","50% {opacity: 0.3} 100% {opacity: 1}","fade"),Ru=({loading:e=!0,color:t,scale:o=1,speedMultiplier:r=1,cssOverride:i={},style:n={},...a})=>{const s=Zt(),l=t||s.text.secondary;if(!e)return null;const{value:c}=Iu(2),d=c+4.2,p=d/2+d/5.5,u=4*d*o,h={position:"relative",width:`${u}px`,height:`${u}px`,scale:o,...n,...i},m=(e,t)=>({position:"absolute",width:_u(1.5),height:_u(4),borderRadius:_u(2),backgroundColor:l,transition:"2s",animationFillMode:"both",animation:`${Ou} ${1.2/r}s ${.12*e}s infinite ease-in-out`,transform:`translate(-50%, -50%) rotate(${t}deg)`});return Rt("span",{style:h,...a,children:[Ot("span",{style:{...m(1,0),top:`calc(50% + ${d}px)`,left:"50%"}}),Ot("span",{style:{...m(2,-45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${p}px)`}}),Ot("span",{style:{...m(3,90),top:"50%",left:`calc(50% + ${d}px)`}}),Ot("span",{style:{...m(4,45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${p}px)`}}),Ot("span",{style:{...m(5,0),top:`calc(50% + ${-1*d}px)`,left:"50%"}}),Ot("span",{style:{...m(6,-45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${-1*p}px)`}}),Ot("span",{style:{...m(7,90),top:"50%",left:`calc(50% + ${-1*d}px)`}}),Ot("span",{style:{...m(8,45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${-1*p}px)`}})]})},Fu=Yt.div`
1801
+ `,Ru=({percentage:e})=>Rt(Iu,{children:[Ot(_u,{}),"number"==typeof e?Ot(Ou,{size:Wr.M,weight:500,children:`${e}%`}):null]}),Fu={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function zu(e){if("number"==typeof e)return{value:e,unit:"px"};let t;const o=(e.match(/^[0-9.]*/)||"").toString();t=o.includes(".")?parseFloat(o):parseInt(o,10);const i=(e.match(/[^0-9]*$/)||"").toString();return Fu[i]?{value:t,unit:i}:{value:t,unit:"px"}}function Lu(e){const t=zu(e);return`${t.value}${t.unit}`}const Pu=((e,t,o)=>{const i=`react-spinners-${e}-${o}`;if("undefined"==typeof window||!window.document)return i;const r=document.createElement("style");document.head.appendChild(r);const n=r.sheet,a=`\n @keyframes ${i} {\n ${t}\n }\n `;return n&&n.insertRule(a,0),i})("SpinnerOld","50% {opacity: 0.3} 100% {opacity: 1}","fade"),Mu=({loading:e=!0,color:t,scale:o=1,speedMultiplier:i=1,cssOverride:r={},style:n={},...a})=>{const s=Zt(),l=t||s.text.secondary;if(!e)return null;const{value:c}=zu(2),d=c+4.2,p=d/2+d/5.5,u=4*d*o,h={position:"relative",width:`${u}px`,height:`${u}px`,scale:o,...n,...r},m=(e,t)=>({position:"absolute",width:Lu(1.5),height:Lu(4),borderRadius:Lu(2),backgroundColor:l,transition:"2s",animationFillMode:"both",animation:`${Pu} ${1.2/i}s ${.12*e}s infinite ease-in-out`,transform:`translate(-50%, -50%) rotate(${t}deg)`});return Rt("span",{style:h,...a,children:[Ot("span",{style:{...m(1,0),top:`calc(50% + ${d}px)`,left:"50%"}}),Ot("span",{style:{...m(2,-45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${p}px)`}}),Ot("span",{style:{...m(3,90),top:"50%",left:`calc(50% + ${d}px)`}}),Ot("span",{style:{...m(4,45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${p}px)`}}),Ot("span",{style:{...m(5,0),top:`calc(50% + ${-1*d}px)`,left:"50%"}}),Ot("span",{style:{...m(6,-45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${-1*p}px)`}}),Ot("span",{style:{...m(7,90),top:"50%",left:`calc(50% + ${-1*d}px)`}}),Ot("span",{style:{...m(8,45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${-1*p}px)`}})]})},Bu=Yt.div`
1765
1802
  width: ${({$size:e})=>e}px;
1766
1803
  height: ${({$size:e})=>e}px;
1767
1804
  border-radius: 100%;
@@ -1769,7 +1806,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1769
1806
  display: flex;
1770
1807
  align-items: center;
1771
1808
  justify-content: center;
1772
- `,zu=({scale:e,icon:t})=>{const o=Zt();return Ot(Fu,{$size:45*e,$color:"rgba(80, 246, 232, 0.10)",children:Ot(Fu,{$size:43*e,$color:"rgba(80, 246, 232, 0.20)",children:Ot(Fu,{$size:39*e,$color:"rgba(80, 246, 232, 0.40)",children:Ot(Fu,{$size:33*e,$color:"rgba(80, 246, 232, 0.60)",children:Ot(Fu,{$size:23*e,$color:"#50F6E8",children:Ot(t,{size:16*e,fill:o.v2.colors.black[500]})})})})})})},Lu=434,Pu=635,Mu=Yt.div`
1809
+ `,Uu=({scale:e,icon:t})=>{const o=Zt();return Ot(Bu,{$size:45*e,$color:"rgba(80, 246, 232, 0.10)",children:Ot(Bu,{$size:43*e,$color:"rgba(80, 246, 232, 0.20)",children:Ot(Bu,{$size:39*e,$color:"rgba(80, 246, 232, 0.40)",children:Ot(Bu,{$size:33*e,$color:"rgba(80, 246, 232, 0.60)",children:Ot(Bu,{$size:23*e,$color:"#50F6E8",children:Ot(t,{size:16*e,fill:o.v2.colors.black[500]})})})})})})},ju=434,Wu=635,Gu=Yt.div`
1773
1810
  width: ${434}px;
1774
1811
  height: ${635}px;
1775
1812
  display: flex;
@@ -1779,25 +1816,25 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1779
1816
  padding: 16px;
1780
1817
  background: linear-gradient(180deg, #0b0517 2.82%, #190d31 100%);
1781
1818
  position: relative;
1782
- `,Bu=Yt.div`
1819
+ `,Hu=Yt.div`
1783
1820
  position: absolute;
1784
1821
  top: 50%;
1785
1822
  left: 50%;
1786
1823
  transform: translate(-50%, -50%);
1787
- `,Uu=()=>Rt(Mu,{children:[Ot(Bu,{children:Rt("svg",{xmlns:"http://www.w3.org/2000/svg",width:"464",height:"464",viewBox:"0 0 464 464",fill:"none",children:[Ot("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)"}),Ot("defs",{children:Rt("radialGradient",{id:"paint0_radial_164_65835",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(201.232 229.641) scale(231.217)",children:[Ot("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),Ot("stop",{offset:"0.41",stopColor:"#7C3BFF",stopOpacity:"0.11"}),Ot("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.13"}),Ot("stop",{offset:"0.67",stopColor:"#7C3BFF",stopOpacity:"0.18"}),Ot("stop",{offset:"0.75",stopColor:"#7C3BFF",stopOpacity:"0.25"}),Ot("stop",{offset:"0.83",stopColor:"#7C3BFF",stopOpacity:"0.33"}),Ot("stop",{offset:"0.89",stopColor:"#7C3BFF",stopOpacity:"0.44"}),Ot("stop",{offset:"0.95",stopColor:"#7C3BFF",stopOpacity:"0.56"}),Ot("stop",{offset:"1",stopColor:"#7C3BFF",stopOpacity:"0.7"})]})})]})}),Ot(Bu,{children:Rt("svg",{xmlns:"http://www.w3.org/2000/svg",width:"432",height:"432",viewBox:"0 0 432 432",fill:"none",children:[Ot("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)"}),Ot("defs",{children:Rt("radialGradient",{id:"paint0_radial_164_65836",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(204.229 214.376) scale(216.276)",children:[Ot("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),Ot("stop",{offset:"0.38",stopColor:"#7C3BFF",stopOpacity:"0.11"}),Ot("stop",{offset:"0.52",stopColor:"#7C3BFF",stopOpacity:"0.13"}),Ot("stop",{offset:"0.62",stopColor:"#7C3BFF",stopOpacity:"0.18"}),Ot("stop",{offset:"0.69",stopColor:"#7C3BFF",stopOpacity:"0.25"}),Ot("stop",{offset:"0.76",stopColor:"#7C3BFF",stopOpacity:"0.33"}),Ot("stop",{offset:"0.82",stopColor:"#7C3BFF",stopOpacity:"0.44"}),Ot("stop",{offset:"0.88",stopColor:"#7C3BFF",stopOpacity:"0.57"}),Ot("stop",{offset:"0.93",stopColor:"#7C3BFF",stopOpacity:"0.72"}),Ot("stop",{offset:"0.97",stopColor:"#7C3BFF",stopOpacity:"0.88"}),Ot("stop",{offset:"1",stopColor:"#7C3BFF"})]})})]})}),Ot(Bu,{children:Rt("svg",{xmlns:"http://www.w3.org/2000/svg",width:"374",height:"374",viewBox:"0 0 374 374",fill:"none",children:[Ot("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)"}),Ot("defs",{children:Rt("radialGradient",{id:"paint0_radial_164_65837",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(166.792 184.246) scale(186.963)",children:[Ot("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),Ot("stop",{offset:"0.31",stopColor:"#7C3BFF",stopOpacity:"0.11"}),Ot("stop",{offset:"0.45",stopColor:"#7C3BFF",stopOpacity:"0.14"}),Ot("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.19"}),Ot("stop",{offset:"0.65",stopColor:"#7C3BFF",stopOpacity:"0.26"}),Ot("stop",{offset:"0.73",stopColor:"#7C3BFF",stopOpacity:"0.35"}),Ot("stop",{offset:"0.8",stopColor:"#7C3BFF",stopOpacity:"0.46"}),Ot("stop",{offset:"0.86",stopColor:"#7C3BFF",stopOpacity:"0.6"}),Ot("stop",{offset:"0.92",stopColor:"#7C3BFF",stopOpacity:"0.76"}),Ot("stop",{offset:"0.98",stopColor:"#7C3BFF",stopOpacity:"0.93"}),Ot("stop",{offset:"1",stopColor:"#7C3BFF"})]})})]})}),Ot(Bu,{children:Rt("svg",{xmlns:"http://www.w3.org/2000/svg",width:"257",height:"257",viewBox:"0 0 257 257",fill:"none",children:[Ot("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)"}),Ot("defs",{children:Rt("radialGradient",{id:"paint0_radial_164_65838",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(113.263 126.219) scale(128.08)",children:[Ot("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),Ot("stop",{offset:"0.31",stopColor:"#7C3BFF",stopOpacity:"0.11"}),Ot("stop",{offset:"0.45",stopColor:"#7C3BFF",stopOpacity:"0.14"}),Ot("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.19"}),Ot("stop",{offset:"0.65",stopColor:"#7C3BFF",stopOpacity:"0.26"}),Ot("stop",{offset:"0.73",stopColor:"#7C3BFF",stopOpacity:"0.35"}),Ot("stop",{offset:"0.8",stopColor:"#7C3BFF",stopOpacity:"0.46"}),Ot("stop",{offset:"0.86",stopColor:"#7C3BFF",stopOpacity:"0.6"}),Ot("stop",{offset:"0.92",stopColor:"#7C3BFF",stopOpacity:"0.76"}),Ot("stop",{offset:"0.98",stopColor:"#7C3BFF",stopOpacity:"0.93"}),Ot("stop",{offset:"1",stopColor:"#7C3BFF"})]})})]})}),Ot(Bu,{children:Ot(V,{size:112})})]}),ju=to`
1824
+ `,Xu=()=>Rt(Gu,{children:[Ot(Hu,{children:Rt("svg",{xmlns:"http://www.w3.org/2000/svg",width:"464",height:"464",viewBox:"0 0 464 464",fill:"none",children:[Ot("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)"}),Ot("defs",{children:Rt("radialGradient",{id:"paint0_radial_164_65835",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(201.232 229.641) scale(231.217)",children:[Ot("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),Ot("stop",{offset:"0.41",stopColor:"#7C3BFF",stopOpacity:"0.11"}),Ot("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.13"}),Ot("stop",{offset:"0.67",stopColor:"#7C3BFF",stopOpacity:"0.18"}),Ot("stop",{offset:"0.75",stopColor:"#7C3BFF",stopOpacity:"0.25"}),Ot("stop",{offset:"0.83",stopColor:"#7C3BFF",stopOpacity:"0.33"}),Ot("stop",{offset:"0.89",stopColor:"#7C3BFF",stopOpacity:"0.44"}),Ot("stop",{offset:"0.95",stopColor:"#7C3BFF",stopOpacity:"0.56"}),Ot("stop",{offset:"1",stopColor:"#7C3BFF",stopOpacity:"0.7"})]})})]})}),Ot(Hu,{children:Rt("svg",{xmlns:"http://www.w3.org/2000/svg",width:"432",height:"432",viewBox:"0 0 432 432",fill:"none",children:[Ot("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)"}),Ot("defs",{children:Rt("radialGradient",{id:"paint0_radial_164_65836",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(204.229 214.376) scale(216.276)",children:[Ot("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),Ot("stop",{offset:"0.38",stopColor:"#7C3BFF",stopOpacity:"0.11"}),Ot("stop",{offset:"0.52",stopColor:"#7C3BFF",stopOpacity:"0.13"}),Ot("stop",{offset:"0.62",stopColor:"#7C3BFF",stopOpacity:"0.18"}),Ot("stop",{offset:"0.69",stopColor:"#7C3BFF",stopOpacity:"0.25"}),Ot("stop",{offset:"0.76",stopColor:"#7C3BFF",stopOpacity:"0.33"}),Ot("stop",{offset:"0.82",stopColor:"#7C3BFF",stopOpacity:"0.44"}),Ot("stop",{offset:"0.88",stopColor:"#7C3BFF",stopOpacity:"0.57"}),Ot("stop",{offset:"0.93",stopColor:"#7C3BFF",stopOpacity:"0.72"}),Ot("stop",{offset:"0.97",stopColor:"#7C3BFF",stopOpacity:"0.88"}),Ot("stop",{offset:"1",stopColor:"#7C3BFF"})]})})]})}),Ot(Hu,{children:Rt("svg",{xmlns:"http://www.w3.org/2000/svg",width:"374",height:"374",viewBox:"0 0 374 374",fill:"none",children:[Ot("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)"}),Ot("defs",{children:Rt("radialGradient",{id:"paint0_radial_164_65837",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(166.792 184.246) scale(186.963)",children:[Ot("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),Ot("stop",{offset:"0.31",stopColor:"#7C3BFF",stopOpacity:"0.11"}),Ot("stop",{offset:"0.45",stopColor:"#7C3BFF",stopOpacity:"0.14"}),Ot("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.19"}),Ot("stop",{offset:"0.65",stopColor:"#7C3BFF",stopOpacity:"0.26"}),Ot("stop",{offset:"0.73",stopColor:"#7C3BFF",stopOpacity:"0.35"}),Ot("stop",{offset:"0.8",stopColor:"#7C3BFF",stopOpacity:"0.46"}),Ot("stop",{offset:"0.86",stopColor:"#7C3BFF",stopOpacity:"0.6"}),Ot("stop",{offset:"0.92",stopColor:"#7C3BFF",stopOpacity:"0.76"}),Ot("stop",{offset:"0.98",stopColor:"#7C3BFF",stopOpacity:"0.93"}),Ot("stop",{offset:"1",stopColor:"#7C3BFF"})]})})]})}),Ot(Hu,{children:Rt("svg",{xmlns:"http://www.w3.org/2000/svg",width:"257",height:"257",viewBox:"0 0 257 257",fill:"none",children:[Ot("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)"}),Ot("defs",{children:Rt("radialGradient",{id:"paint0_radial_164_65838",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(113.263 126.219) scale(128.08)",children:[Ot("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),Ot("stop",{offset:"0.31",stopColor:"#7C3BFF",stopOpacity:"0.11"}),Ot("stop",{offset:"0.45",stopColor:"#7C3BFF",stopOpacity:"0.14"}),Ot("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.19"}),Ot("stop",{offset:"0.65",stopColor:"#7C3BFF",stopOpacity:"0.26"}),Ot("stop",{offset:"0.73",stopColor:"#7C3BFF",stopOpacity:"0.35"}),Ot("stop",{offset:"0.8",stopColor:"#7C3BFF",stopOpacity:"0.46"}),Ot("stop",{offset:"0.86",stopColor:"#7C3BFF",stopOpacity:"0.6"}),Ot("stop",{offset:"0.92",stopColor:"#7C3BFF",stopOpacity:"0.76"}),Ot("stop",{offset:"0.98",stopColor:"#7C3BFF",stopOpacity:"0.93"}),Ot("stop",{offset:"1",stopColor:"#7C3BFF"})]})})]})}),Ot(Hu,{children:Ot(X,{size:112})})]}),Vu=to`
1788
1825
  0% {
1789
1826
  background-position: 0% 50%;
1790
1827
  }
1791
1828
  100% {
1792
1829
  background-position: 100% 50%;
1793
1830
  }
1794
- `,Wu=Yt(Xi)`
1831
+ `,Ju=Yt(Hr)`
1795
1832
  background: ${({$titleColor:e,$gradientColor:t})=>`linear-gradient(45deg, ${e} 0%, ${e} 40%, ${t} 50%, ${e} 60%, ${e} 100%)`};
1796
1833
  background-size: 250% 100%; /* Expand background to allow movement */
1797
1834
  background-clip: text;
1798
1835
  color: transparent;
1799
- animation: ${ju} 1s reverse linear infinite;
1800
- `,Gu=e=>{const t=Math.max(0,Date.now()-e),o=Math.floor(t/1e3),r=Math.floor(o/60),i=o%60;return`${String(r).padStart(2,"0")}:${String(i).padStart(2,"0")}`},Xu=({icon:e,title:t,titleColor:o,titleSize:r=Wi.S,subTitle:i,subTitleColor:n,subTitleSize:a=Wi.XXXS,startedAt:s,withGradient:l,gradientColor:c,withSpinner:d,withSpinnerOld:p,scaleSpinnerOld:u=1,percentage:h,withVisual:m,visualIcon:g=kt})=>{const f=Zt(),[x,y]=Pt(()=>s?Gu(s):"");Mt(()=>{if(!s)return;y(Gu(s));const e=setInterval(()=>y(Gu(s)),1e3);return()=>clearInterval(e)},[s]);const b=o||f.v2.colors.white[500],$=n||f.v2.colors.silver[200],v=c||f.v2.colors.black[500];return Rt(Ri,{$gap:16,$alignItems:"center",children:[m?Ot(zu,{scale:1.7,icon:g}):d?Ot(Tu,{percentage:h}):p?Ot(Ru,{scale:u}):null,(t||i||s||e)&&Rt(Ri,{$gap:8,$alignItems:"center",children:[Rt(Oi,{$gap:4,children:[e&&Ot(e,{}),l?Ot(Wu,{align:"center",size:r,$titleColor:b,$gradientColor:v,children:t}):Ot(Xi,{align:"center",size:r,color:b,children:t})]}),i?Ot(Xi,{align:"center",size:a,color:$,children:i}):null,x?Ot(Xi,{align:"center",size:a,color:b,children:x}):null]})]})};var Vu,Hu;!function(e){e.Primary="primary",e.Secondary="secondary",e.Text="text"}(Vu||(Vu={})),function(e){e.S="small",e.M="medium",e.L="large"}(Hu||(Hu={}));const Ju=Yt.button`
1836
+ animation: ${Vu} 1s reverse linear infinite;
1837
+ `,Ku=e=>{const t=Math.max(0,Date.now()-e),o=Math.floor(t/1e3),i=Math.floor(o/60),r=o%60;return`${String(i).padStart(2,"0")}:${String(r).padStart(2,"0")}`},qu=({icon:e,title:t,titleColor:o,titleSize:i=Wr.S,subTitle:r,subTitleColor:n,subTitleSize:a=Wr.XXXS,startedAt:s,withGradient:l,gradientColor:c,withSpinner:d,withSpinnerOld:p,scaleSpinnerOld:u=1,percentage:h,withVisual:m,visualIcon:g=kt})=>{const f=Zt(),[x,y]=Pt(()=>s?Ku(s):"");Mt(()=>{if(!s)return;y(Ku(s));const e=setInterval(()=>y(Ku(s)),1e3);return()=>clearInterval(e)},[s]);const b=o||f.v2.colors.white[500],$=n||f.v2.colors.silver[200],v=c||f.v2.colors.black[500];return Rt(Rr,{$gap:16,$alignItems:"center",children:[m?Ot(Uu,{scale:1.7,icon:g}):d?Ot(Ru,{percentage:h}):p?Ot(Mu,{scale:u}):null,(t||r||s||e)&&Rt(Rr,{$gap:8,$alignItems:"center",children:[Rt(Or,{$gap:4,children:[e&&Ot(e,{}),l?Ot(Ju,{align:"center",size:i,$titleColor:b,$gradientColor:v,children:t}):Ot(Hr,{align:"center",size:i,color:b,children:t})]}),r?Ot(Hr,{align:"center",size:a,color:$,children:r}):null,x?Ot(Hr,{align:"center",size:a,color:b,children:x}):null]})]})};var Yu,Qu;!function(e){e.Primary="primary",e.Secondary="secondary",e.Text="text"}(Yu||(Yu={})),function(e){e.S="small",e.M="medium",e.L="large"}(Qu||(Qu={}));const Zu=Yt.button`
1801
1838
  display: flex;
1802
1839
  align-items: center;
1803
1840
  justify-content: center;
@@ -1807,14 +1844,14 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1807
1844
  `}
1808
1845
  border: none;
1809
1846
  border-radius: 6px;
1810
- ${({$size:e,$hasLabel:t})=>e===Hu.S?Qt`
1847
+ ${({$size:e,$hasLabel:t})=>e===Qu.S?Qt`
1811
1848
  height: 32px;
1812
1849
  ${t?Qt`
1813
1850
  padding: 8px 16px;
1814
1851
  `:Qt`
1815
1852
  width: 32px;
1816
1853
  `}
1817
- `:e===Hu.M?Qt`
1854
+ `:e===Qu.M?Qt`
1818
1855
  height: 38px;
1819
1856
  ${t?Qt`
1820
1857
  padding: 8px 18px;
@@ -1839,7 +1876,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1839
1876
  ${({$withShadow:e})=>e?Qt`
1840
1877
  box-shadow: 0 0 11px 0 rgba(0, 0, 0, 0.32);
1841
1878
  `:""}
1842
- ${({$variant:e})=>e===Vu.Primary?Qt`
1879
+ ${({$variant:e})=>e===Yu.Primary?Qt`
1843
1880
  background-color: ${({theme:e})=>e.v2.colors.purple[500]};
1844
1881
  &:hover {
1845
1882
  background-color: ${({theme:e})=>e.v2.colors.purple[600]};
@@ -1847,7 +1884,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1847
1884
  &:active {
1848
1885
  background-color: ${({theme:e})=>e.v2.colors.purple[700]};
1849
1886
  }
1850
- `:e===Vu.Secondary?Qt`
1887
+ `:e===Yu.Secondary?Qt`
1851
1888
  background-color: ${({theme:e})=>e.v2.colors.silver[750]};
1852
1889
  &:hover {
1853
1890
  background-color: ${({theme:e})=>e.v2.colors.silver[600]};
@@ -1855,7 +1892,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1855
1892
  &:active {
1856
1893
  background-color: ${({theme:e})=>e.v2.colors.silver[500]};
1857
1894
  }
1858
- `:e===Vu.Text?Qt`
1895
+ `:e===Yu.Text?Qt`
1859
1896
  background-color: transparent;
1860
1897
  &:hover {
1861
1898
  background-color: ${({theme:e})=>e.v2.colors.silver[800]};
@@ -1865,7 +1902,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1865
1902
  }
1866
1903
  `:""}
1867
1904
  }
1868
- `,Ku=Gt(({label:e,leftIcon:t,rightIcon:o,variant:r=Vu.Primary,size:i=Hu.M,iconSize:n,loading:a,fullWidth:s,withShadow:l,textColor:c,disabled:d,onClick:p,...u},h)=>{const m=Zt(),g=n||(i===Hu.L?18:16),f=i===Hu.L?Wi.S:Wi.XS,x=c||(d?m.v2.colors.grey[400]:m.v2.colors.white[500]),[y,b]=Pt(!1),$=Ut(async e=>{e.stopPropagation(),b(!0),await(p?.(e)),b(!1)},[p]);return Ot(Ju,{ref:h,$variant:r,$size:i,$fullWidth:s,$withShadow:l,$hasLabel:!!e,disabled:d,onClick:a||y?void 0:$,...u,children:a||y?e?Ot(pp,{size:m.v2.text.size[f],textColor:x}):Ot(Zs,{}):Rt(Ft,{children:[t&&Ot(t,{size:g,fill:x}),e?Ot(Xi,{size:f,weight:500,color:x,nowrap:!0,children:e}):null,o&&Ot(o,{size:g,fill:x})]})})});Ku.displayName=Ku.name;const qu=Yt.div`
1905
+ `,eh=Gt(({label:e,tooltip:t,leftIcon:o,rightIcon:i,variant:r=Yu.Primary,size:n=Qu.M,iconSize:a,loading:s,fullWidth:l,withShadow:c,textColor:d,disabled:p,onClick:u,...h},m)=>{const g=Zt(),f=a||(n===Qu.L?18:16),x=n===Qu.L?Wr.S:Wr.XS,y=d||(p?g.v2.colors.grey[400]:g.v2.colors.white[500]),[b,$]=Pt(!1),v=Ut(async e=>{e.stopPropagation(),$(!0),await(u?.(e)),$(!1)},[u]);return Ot(Zu,{ref:m,$variant:r,$size:n,$fullWidth:l,$withShadow:c,$hasLabel:!!e,disabled:p,onClick:s||b?void 0:v,...h,children:Ot(ys,{text:t,withIcon:!0,children:s||b?e?Ot(fp,{size:g.v2.text.size[x],textColor:y}):Ot(rl,{}):Rt(Ft,{children:[o&&Ot(o,{size:f,fill:y}),e?Ot(Hr,{size:x,weight:500,color:y,nowrap:!0,children:e}):null,i&&Ot(i,{size:f,fill:y})]})})})});eh.displayName=eh.name;const th=Yt.div`
1869
1906
  display: flex;
1870
1907
  align-items: center;
1871
1908
  justify-content: center;
@@ -1874,28 +1911,28 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1874
1911
  padding: 8px;
1875
1912
  border-radius: 100%;
1876
1913
  background-color: ${({theme:e})=>e.v2.colors.silver[700]};
1877
- `,Yu=({icon:e=ct,title:t="No data",subTitle:o,button:r})=>{const i=Zt().v2.colors.silver[200];return Rt(Ri,{$gap:12,$alignItems:"center",children:[Ot(qu,{children:Ot(e,{size:32,fill:i})}),Rt(Ri,{$gap:4,$alignItems:"center",children:[Ot(Xi,{size:Wi.S,align:"center",children:t}),o&&Ot(Xi,{size:Wi.XXS,align:"center",color:i,children:o})]}),r&&Ot(Ku,{variant:Vu.Secondary,...r})]})};var Qu;!function(e){e.S="small",e.L="large"}(Qu||(Qu={}));const Zu=Yt.div`
1914
+ `,oh=({icon:e=ct,title:t="No data",subTitle:o,button:i})=>{const r=Zt().v2.colors.silver[200];return Rt(Rr,{$gap:12,$alignItems:"center",children:[Ot(th,{children:Ot(e,{size:32,fill:r})}),Rt(Rr,{$gap:4,$alignItems:"center",children:[Ot(Hr,{size:Wr.S,align:"center",children:t}),o&&Ot(Hr,{size:Wr.XXS,align:"center",color:r,children:o})]}),i&&Ot(eh,{variant:Yu.Secondary,...i})]})};var ih;!function(e){e.S="small",e.L="large"}(ih||(ih={}));const rh=Yt.div`
1878
1915
  width: fit-content;
1879
1916
  display: flex;
1880
1917
  align-items: center;
1881
1918
  gap: 8px;
1882
1919
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
1883
- `,eh=Yt.div`
1884
- width: ${({$size:e})=>e===Qu.S?"16px":"20px"};
1885
- height: ${({$size:e})=>e===Qu.S?"16px":"20px"};
1920
+ `,nh=Yt.div`
1921
+ width: ${({$size:e})=>e===ih.S?"16px":"20px"};
1922
+ height: ${({$size:e})=>e===ih.S?"16px":"20px"};
1886
1923
  display: flex;
1887
1924
  align-items: center;
1888
1925
  justify-content: center;
1889
1926
  border-radius: 4px;
1890
1927
  border: 1px solid ${({$borderColor:e})=>e};
1891
1928
  background-color: ${({$backgroundColor:e})=>e};
1892
- `,th=({name:e,label:t,tooltip:o,badge:r,size:i=Qu.L,disabled:n,partiallyChecked:a,value:s,onChange:l,errorMessage:c,warnMessage:d,helpMessage:p})=>{const u=Zt(),[h,m]=Pt(!1),g=a||s,f=i===Qu.S?12:16,x=n?u.v2.colors.grey[400]:u.v2.colors.white[500],y=g?"transparent":n?u.v2.colors.grey[700]:h?u.v2.colors.silver[400]:u.v2.colors.silver[600],b=n?u.v2.colors.grey[600]:g?u.v2.colors.purple[500]:u.v2.colors.silver[900];return Rt(Ri,{$gap:4,children:[Rt(Oi,{$justifyContent:"space-between",children:[Rt(Zu,{"data-id":e||"checkbox"+(t?`-${t}`:""),onClick:e=>{e.stopPropagation(),n||l(!!a||!s)},$disabled:n,onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),children:[Ot(eh,{$size:i,$borderColor:y,$backgroundColor:b,children:a?Ot(dt,{size:f,fill:x}):s?Ot(st,{size:f,fill:x}):null}),t&&Ot(Xi,{size:i===Qu.S?Wi.XXS:Wi.XS,nowrap:!0,children:t})]}),Ot(du,{tooltip:o,badge:r})]}),Ot(pu,{errorMessage:c,warnMessage:d,helpMessage:p})]})},oh=Yt.div`
1929
+ `,ah=({name:e,label:t,tooltip:o,badge:i,size:r=ih.L,disabled:n,partiallyChecked:a,value:s,onChange:l,errorMessage:c,warnMessage:d,helpMessage:p})=>{const u=Zt(),[h,m]=Pt(!1),g=a||s,f=r===ih.S?12:16,x=n?u.v2.colors.grey[400]:u.v2.colors.white[500],y=g?"transparent":n?u.v2.colors.grey[700]:h?u.v2.colors.silver[400]:u.v2.colors.silver[600],b=n?u.v2.colors.grey[600]:g?u.v2.colors.purple[500]:u.v2.colors.silver[900];return Rt(Rr,{$gap:4,children:[Rt(Or,{$justifyContent:"space-between",children:[Rt(rh,{"data-id":e||"checkbox"+(t?`-${t}`:""),onClick:e=>{e.stopPropagation(),n||l(!!a||!s)},$disabled:n,onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),children:[Ot(nh,{$size:r,$borderColor:y,$backgroundColor:b,children:a?Ot(dt,{size:f,fill:x}):s?Ot(st,{size:f,fill:x}):null}),t&&Ot(Hr,{size:r===ih.S?Wr.XXS:Wr.XS,nowrap:!0,children:t})]}),Ot(gu,{tooltip:o,badge:i})]}),Ot(fu,{errorMessage:c,warnMessage:d,helpMessage:p})]})},sh=Yt.div`
1893
1930
  display: flex;
1894
1931
  flex-direction: ${({$direction:e})=>e===Fo.Horizontal?"row":"column"};
1895
1932
  gap: ${({$direction:e})=>e===Fo.Horizontal?16:8}px;
1896
- `,rh=({direction:e=Fo.Vertical,title:t,size:o,disabled:r,withSelectAll:i,options:n,values:a,setValues:s})=>{const l=o===Qu.S?Wi.XXS:Wi.XS,c=Lt(()=>n.every(e=>a[e.id]),[n,a]),d=Lt(()=>n.some(e=>a[e.id])&&n.some(e=>!a[e.id]),[n,a]),p=(e,t)=>{s(o=>{const r={...o};return e?r[e]=t:n.forEach(e=>r[e.id]=t),r})};return Rt(oh,{$direction:e,children:[t&&i?Ot(th,{label:t,partiallyChecked:d,value:c,onChange:e=>p("",e),size:o}):t&&!i?Ot(Xi,{size:l,children:t}):null,n.map(e=>Ot(th,{...e,value:a[e.id],onChange:t=>p(e.id,t),disabled:r,size:o},`${t}-checkbox-${e.id}`))]})};var ih,nh;!function(e){e.Left="left",e.Right="right"}(ih||(ih={})),function(e){e.Top="top",e.Bottom="bottom"}(nh||(nh={}));const ah=Yt.div`
1933
+ `,lh=({direction:e=Fo.Vertical,title:t,size:o,disabled:i,withSelectAll:r,options:n,values:a,setValues:s})=>{const l=o===ih.S?Wr.XXS:Wr.XS,c=Lt(()=>n.every(e=>a[e.id]),[n,a]),d=Lt(()=>n.some(e=>a[e.id])&&n.some(e=>!a[e.id]),[n,a]),p=(e,t)=>{s(o=>{const i={...o};return e?i[e]=t:n.forEach(e=>i[e.id]=t),i})};return Rt(sh,{$direction:e,children:[t&&r?Ot(ah,{label:t,partiallyChecked:d,value:c,onChange:e=>p("",e),size:o}):t&&!r?Ot(Hr,{size:l,children:t}):null,n.map(e=>Ot(ah,{...e,value:a[e.id],onChange:t=>p(e.id,t),disabled:i,size:o},`${t}-checkbox-${e.id}`))]})};var ch,dh;!function(e){e.Left="left",e.Right="right"}(ch||(ch={})),function(e){e.Top="top",e.Bottom="bottom"}(dh||(dh={}));const ph=Yt.div`
1897
1934
  position: relative;
1898
- `,sh=Yt.div`
1935
+ `,uh=Yt.div`
1899
1936
  display: flex;
1900
1937
  flex-direction: column;
1901
1938
  gap: 0;
@@ -1909,9 +1946,9 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1909
1946
 
1910
1947
  position: absolute;
1911
1948
  ${({$alignX:e})=>`${e}: 0;`}
1912
- ${({$alignY:e,$withOffsetY:t})=>`${e===nh.Bottom?"top":"bottom"}: ${t?"calc(100% + 8px)":"0"};`}
1949
+ ${({$alignY:e,$withOffsetY:t})=>`${e===dh.Bottom?"top":"bottom"}: ${t?"calc(100% + 8px)":"0"};`}
1913
1950
  z-index: 1;
1914
- `,lh=Yt.div`
1951
+ `,hh=Yt.div`
1915
1952
  display: flex;
1916
1953
  flex-direction: column;
1917
1954
  gap: 0;
@@ -1919,7 +1956,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1919
1956
  width: 100%;
1920
1957
  max-height: ${({$maxHeight:e})=>e||"230px"};
1921
1958
  overflow-y: auto;
1922
- `,ch=Yt.div`
1959
+ `,mh=Yt.div`
1923
1960
  display: flex;
1924
1961
  align-items: center;
1925
1962
  gap: 8px;
@@ -1935,7 +1972,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1935
1972
  background-color: ${({theme:e})=>e.v2.colors.grey[700]};
1936
1973
  }
1937
1974
  `}
1938
- `,dh=({defaultOpen:e,open:t,onOpenChange:o,alignX:r,alignY:i,items:n,selectedIds:a,setSelectedIds:s,withMultiSelect:l,withSearch:c,fullWidth:d,maxHeight:p,buttonProps:u,iconButtonProps:h,isLoading:m,emptyMessage:g,children:f})=>{const x=Zt(),y=void 0!==t,b=!!u||!!h||!!f,[$,v]=Pt(e??!b),w=y?t:$,S=Ut(e=>{y||v(e),o?.(e)},[y,o]),[C,k]=Pt({x:r||ih.Left,y:i||nh.Bottom}),E=e=>{S(!w),k({x:r||(e.clientX>window.innerWidth/2?ih.Right:ih.Left),y:i||(e.clientY>window.innerHeight/2?nh.Top:nh.Bottom)})},A=e=>{s(l?a.includes(e)?a.filter(t=>t!==e):[...a,e]:[e]),b&&!l&&S(!1)},D=Bt(null);Da(D,()=>S(!1));const[T,N]=Pt(""),I=Lt(()=>T?n.filter(e=>e?.label?.toLowerCase().includes(T.toLowerCase())):n,[n.length,T]);return Rt(ah,{ref:D,children:[u&&Ot(Ku,{...u,fullWidth:d,rightIcon:w?Et:At,onClick:E}),h&&Ot($a,{...h,onClick:E}),"function"==typeof f?f({ChevronIcon:w?Et:At,handleClick:E}):f,w&&Rt(sh,{$alignX:C.x,$alignY:C.y,$fullWidth:d,$withOffsetY:b,children:[c&&Ot(ku,{value:T,onChange:N,width:"100%"}),m?Ot(Xu,{withSpinner:!0,title:"Loading...",titleSize:Wi.XS}):0===I.length&&g?Ot(Yu,{subTitle:g}):Ot(lh,{$maxHeight:p,children:I.map(e=>{if(!e)return null;const{id:t,label:o,icon:r,withCheckbox:i}=e,n=a.includes(t);return Rt(ch,{"data-id":`option-${t}`,$selected:n&&!i,onClick:()=>A(t),children:[i&&Ot(th,{value:n,onChange:()=>A(t)}),r&&Ot(r,{size:14,fill:x.v2.colors.white[500]}),Ot(Xi,{size:Wi.XS,nowrap:!0,children:o})]},t)})}),l&&Ot(Ku,{label:"Done",onClick:()=>S(!1)})]})]})},ph=({options:e,value:t,onSelect:o,placeholder:r="Search...",isLoading:i})=>{const[n,a]=Pt(""),[s,l]=Pt(!1),c=Lt(()=>t?e.find(e=>e.id===t)?.label??"":"",[t,e]),d=s?n:c,p=Lt(()=>{if(!n)return e;const t=n.toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(t))},[e,n]),u=Ut(()=>{a(""),l(!0)},[]),h=Ut(e=>{a(e.target.value),s||l(!0),!e.target.value&&t&&o(null)},[s,t,o]),m=Ut(e=>{l(e),e||a("")},[]),g=Ut(t=>{const r=e.find(e=>e.id===t[0]);r&&(o(r),a(""),l(!1))},[e,o]),f=s&&(i||p.length>0||n.length>0);return Ot(dh,{open:f,onOpenChange:m,items:p,selectedIds:t?[t]:[],setSelectedIds:g,isLoading:i,emptyMessage:"No results found",fullWidth:!0,alignY:nh.Bottom,children:Ot(gu,{leftIcon:$t,placeholder:r,value:d,onChange:h,onFocus:u})})},uh=Yt.button`
1975
+ `,gh=({defaultOpen:e,open:t,onOpenChange:o,alignX:i,alignY:r,items:n,selectedIds:a,setSelectedIds:s,withMultiSelect:l,withSearch:c,fullWidth:d,maxHeight:p,buttonProps:u,iconButtonProps:h,isLoading:m,emptyMessage:g,children:f})=>{const x=Zt(),y=void 0!==t,b=!!u||!!h||!!f,[$,v]=Pt(e??!b),w=y?t:$,S=Ut(e=>{y||v(e),o?.(e)},[y,o]),[C,k]=Pt({x:i||ch.Left,y:r||dh.Bottom}),E=e=>{S(!w),k({x:i||(e.clientX>window.innerWidth/2?ch.Right:ch.Left),y:r||(e.clientY>window.innerHeight/2?dh.Top:dh.Bottom)})},A=e=>{s(l?a.includes(e)?a.filter(t=>t!==e):[...a,e]:[e]),b&&!l&&S(!1)},D=Bt(null);Da(D,()=>S(!1));const[T,N]=Pt(""),I=Lt(()=>T?n.filter(e=>e?.label?.toLowerCase().includes(T.toLowerCase())):n,[n.length,T]);return Rt(ph,{ref:D,children:[u&&Ot(eh,{...u,fullWidth:d,rightIcon:w?Et:At,onClick:E}),h&&Ot($a,{...h,onClick:E}),"function"==typeof f?f({ChevronIcon:w?Et:At,handleClick:E}):f,w&&Rt(uh,{$alignX:C.x,$alignY:C.y,$fullWidth:d,$withOffsetY:b,children:[c&&Ot(Nu,{value:T,onChange:N,width:"100%"}),m?Ot(qu,{withSpinner:!0,title:"Loading...",titleSize:Wr.XS}):0===I.length&&g?Ot(oh,{subTitle:g}):Ot(hh,{$maxHeight:p,children:I.map(e=>{if(!e)return null;const{id:t,label:o,icon:i,withCheckbox:r}=e,n=a.includes(t);return Rt(mh,{"data-id":`option-${t}`,$selected:n&&!r,onClick:()=>A(t),children:[r&&Ot(ah,{value:n,onChange:()=>A(t)}),i&&Ot(i,{size:14,fill:x.v2.colors.white[500]}),Ot(Hr,{size:Wr.XS,nowrap:!0,children:o})]},t)})}),l&&Ot(eh,{label:"Done",onClick:()=>S(!1)})]})]})},fh=({options:e,value:t,onSelect:o,placeholder:i="Search...",isLoading:r})=>{const[n,a]=Pt(""),[s,l]=Pt(!1),c=Lt(()=>t?e.find(e=>e.id===t)?.label??"":"",[t,e]),d=s?n:c,p=Lt(()=>{if(!n)return e;const t=n.toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(t))},[e,n]),u=Ut(()=>{a(""),l(!0)},[]),h=Ut(e=>{a(e.target.value),s||l(!0),!e.target.value&&t&&o(null)},[s,t,o]),m=Ut(e=>{l(e),e||a("")},[]),g=Ut(t=>{const i=e.find(e=>e.id===t[0]);i&&(o(i),a(""),l(!1))},[e,o]),f=s&&(r||p.length>0||n.length>0);return Ot(gh,{open:f,onOpenChange:m,items:p,selectedIds:t?[t]:[],setSelectedIds:g,isLoading:r,emptyMessage:"No results found",fullWidth:!0,alignY:dh.Bottom,children:Ot($u,{leftIcon:$t,placeholder:i,value:d,onChange:h,onFocus:u})})},xh=Yt.button`
1939
1976
  width: 100%;
1940
1977
  padding: 0;
1941
1978
  padding-right: 12px;
@@ -1956,7 +1993,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1956
1993
  cursor: not-allowed;
1957
1994
  opacity: 0.5;
1958
1995
  }
1959
- `,hh=Yt.div`
1996
+ `,yh=Yt.div`
1960
1997
  width: ${({$hasIcon:e})=>e?"56px":"0"};
1961
1998
  height: 56px;
1962
1999
  display: flex;
@@ -1967,13 +2004,13 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1967
2004
  `:Qt`
1968
2005
  background-color: ${({theme:e})=>e.v2.colors.silver[700]};
1969
2006
  `}
1970
- `,mh=Yt.div`
2007
+ `,bh=Yt.div`
1971
2008
  width: ${({$hasIcon:e})=>e?"calc(100% - 56px)":"100%"};
1972
2009
  display: flex;
1973
2010
  justify-content: space-between;
1974
2011
  align-items: center;
1975
2012
  gap: 8px;
1976
- `,gh=({label:e,icon:t,loading:o,disabled:r,onClick:i})=>{const[n,a]=Pt(!1);return Rt(uh,{$hovered:n,type:"button",disabled:r||o,onClick:i,onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[Ot(hh,{$hovered:n,$hasIcon:!!t,children:t&&Ot(t,{size:36})}),Rt(mh,{$hasIcon:!!t,children:[o?Ot(pp,{size:16}):Ot(Xi,{variant:ji.Span,align:"center",children:e}),Ot(Dt,{rotate:90,size:24})]})]})},fh=({buttons:e})=>Ot(Ri,{$gap:12,children:e.map(e=>Ot(gh,{...e},e.label))}),xh=Yt.div`
2013
+ `,$h=({label:e,icon:t,loading:o,disabled:i,onClick:r})=>{const[n,a]=Pt(!1);return Rt(xh,{$hovered:n,type:"button",disabled:i||o,onClick:r,onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[Ot(yh,{$hovered:n,$hasIcon:!!t,children:t&&Ot(t,{size:36})}),Rt(bh,{$hasIcon:!!t,children:[o?Ot(fp,{size:16}):Ot(Hr,{variant:jr.Span,align:"center",children:e}),Ot(Dt,{rotate:90,size:24})]})]})},vh=({buttons:e})=>Ot(Rr,{$gap:12,children:e.map(e=>Ot($h,{...e},e.label))}),wh=Yt.div`
1977
2014
  display: flex;
1978
2015
  align-items: center;
1979
2016
  flex-wrap: wrap;
@@ -1981,20 +2018,20 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
1981
2018
  padding: 4px 12px;
1982
2019
  border-radius: 12px;
1983
2020
  background-color: ${({theme:e})=>e.v2.colors.silver[800]};
1984
- `,yh=Yt.div`
2021
+ `,Sh=Yt.div`
1985
2022
  width: calc(${({$cellsPerRow:e})=>100/e+"%"} - 16px);
1986
2023
  margin: 8px;
1987
2024
  display: flex;
1988
2025
  flex-direction: column;
1989
2026
  gap: 4px;
1990
- `,bh=({cellsPerRow:e,items:t})=>{const o=Zt(),{CopyButton:r}=va();return Ot(xh,{children:t.map(({id:i,title:n,label:a,withCopy:s,badge:l})=>Rt(yh,{$cellsPerRow:e||t.length,children:[Ot(Xi,{size:Wi.XXXS,color:o.v2.colors.silver[200],nowrap:!0,children:n}),Rt(Oi,{$gap:4,children:[l&&Ot(su,{...l}),a&&Ot(Xi,{size:Wi.XS,nowrap:!0,children:a}),s&&Ot(r,{value:a||l?.label?.toString()||"",size:ya.XS})]})]},i))})};var $h;!function(e){e.Button="button",e.ButtonDropData="button-drop-data"}($h||($h={}));const vh=({onAnyClick:e,actions:t})=>Ot(Oi,{$gap:8,$alignItems:"center",children:t?.map(t=>{if(!t)return null;switch(t.type){case $h.Button:return Ot(Ku,{...t.buttonProps,onClick:o=>{t.buttonProps?.onClick?.(o),e?.()}},t.id);case $h.ButtonDropData:return Ot(dh,{...t.dropDataProps,items:t.dropDataProps?.items??[],withMultiSelect:!1,selectedIds:[],setSelectedIds:o=>{t.buttonProps?.onClick?.(o[0]),e?.()},buttonProps:t.buttonProps},t.id);default:return null}})}),wh=Yt.div`
2027
+ `,Ch=({cellsPerRow:e,items:t})=>{const o=Zt(),{CopyButton:i}=va();return Ot(wh,{children:t.map(({id:r,title:n,label:a,withCopy:s,badge:l})=>Rt(Sh,{$cellsPerRow:e||t.length,children:[Ot(Hr,{size:Wr.XXXS,color:o.v2.colors.silver[200],nowrap:!0,children:n}),Rt(Or,{$gap:4,children:[l&&Ot(uu,{...l}),a&&Ot(Hr,{size:Wr.XS,nowrap:!0,children:a}),s&&Ot(i,{value:a||l?.label?.toString()||"",size:ya.XS})]})]},r))})};var kh;!function(e){e.Button="button",e.ButtonDropData="button-drop-data"}(kh||(kh={}));const Eh=({onAnyClick:e,actions:t})=>Ot(Or,{$gap:8,$alignItems:"center",children:t?.map(t=>{if(!t)return null;switch(t.type){case kh.Button:return Ot(eh,{...t.buttonProps,onClick:o=>{t.buttonProps?.onClick?.(o),e?.()}},t.id);case kh.ButtonDropData:return Ot(gh,{...t.dropDataProps,items:t.dropDataProps?.items??[],withMultiSelect:!1,selectedIds:[],setSelectedIds:o=>{t.buttonProps?.onClick?.(o[0]),e?.()},buttonProps:t.buttonProps},t.id);default:return null}})}),Ah=Yt.div`
1991
2028
  display: flex;
1992
2029
  align-items: center;
1993
2030
  justify-content: center;
1994
2031
  padding: 8px;
1995
2032
  border-radius: 8px;
1996
2033
  background-color: ${({theme:e})=>e.v2.colors.silver[900]};
1997
- `,Sh=({icon:e,title:t,subTitle:o,withCopy:r,badge:i,children:n})=>{const a=Zt(),{CopyButton:s}=va();return Rt(Oi,{$gap:o?8:6,$alignItems:"center",children:[o?Ot(wh,{children:Ot(e,{size:24})}):Ot(e,{size:24}),Rt(Ri,{children:[Rt(Oi,{$gap:6,$alignItems:"center",children:[Ot(Xi,{nowrap:!0,children:t}),r&&Ot(s,{value:t,size:ya.XS}),i&&Ot(su,{...i})]}),o&&Ot(Xi,{size:Wi.XXS,color:a.v2.colors.silver[200],nowrap:!0,children:o})]}),n]})};var Ch;!function(e){e.S="small",e.M="medium"}(Ch||(Ch={}));const kh=Yt.div`
2034
+ `,Dh=({icon:e,title:t,subTitle:o,withCopy:i,badge:r,children:n})=>{const a=Zt(),{CopyButton:s}=va();return Rt(Or,{$gap:o?8:6,$alignItems:"center",children:[o?Ot(Ah,{children:Ot(e,{size:24})}):Ot(e,{size:24}),Rt(Rr,{children:[Rt(Or,{$gap:6,$alignItems:"center",children:[Ot(Hr,{nowrap:!0,children:t}),i&&Ot(s,{value:t,size:ya.XS}),r&&Ot(uu,{...r})]}),o&&Ot(Hr,{size:Wr.XXS,color:a.v2.colors.silver[200],nowrap:!0,children:o})]}),n]})};var Th;!function(e){e.S="small",e.M="medium"}(Th||(Th={}));const Nh=Yt.div`
1998
2035
  display: flex;
1999
2036
  flex-direction: column;
2000
2037
  gap: ${({$gap:e})=>e}px;
@@ -2003,7 +2040,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2003
2040
  padding: ${({$padding:e})=>e}px;
2004
2041
  border-radius: 16px;
2005
2042
  background-color: ${({theme:e})=>e.v2.colors.silver[1e3]};
2006
- `,Eh=({size:e=Ch.M,fullHeight:t=!1,richTitle:o,search:r,actions:i,children:n})=>{const a=e===Ch.S?4:16,s=e===Ch.S?12:16;return Rt(kh,{$padding:s,$gap:a,$fullHeight:t,children:[Rt(Oi,{$gap:a,$justifyContent:"space-between",children:[Ot(Sh,{...o,children:r&&Ot(ku,{...r})}),Ot(vh,{actions:i??[]})]}),n]})},Ah=Yt.div`
2043
+ `,Ih=({size:e=Th.M,fullHeight:t=!1,richTitle:o,search:i,actions:r,children:n})=>{const a=e===Th.S?4:16,s=e===Th.S?12:16;return Rt(Nh,{$padding:s,$gap:a,$fullHeight:t,children:[Rt(Or,{$gap:a,$justifyContent:"space-between",children:[Ot(Dh,{...o,children:i&&Ot(Nu,{...i})}),Ot(Eh,{actions:r??[]})]}),n]})},_h=Yt.div`
2007
2044
  flex: 1;
2008
2045
  align-self: stretch;
2009
2046
  display: flex;
@@ -2011,8 +2048,8 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2011
2048
  gap: 8px;
2012
2049
  padding: 16px;
2013
2050
  border-radius: 12px;
2014
- background-color: ${({theme:e,$status:t})=>Zr(e,t,t===Ko.Unknown?"750":"500")};
2015
- `,Dh=Yt.div`
2051
+ background-color: ${({theme:e,$status:t})=>Zi(e,t,t===Ko.Unknown?"750":"500")};
2052
+ `,Oh=Yt.div`
2016
2053
  display: flex;
2017
2054
  align-items: center;
2018
2055
  justify-content: center;
@@ -2020,8 +2057,8 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2020
2057
  height: fit-content;
2021
2058
  padding: 8px;
2022
2059
  border-radius: 12px;
2023
- background-color: ${({theme:e,$status:t})=>t===Ko.Unknown?Zr(e,t,"800"):Zr(e,t,"900")+Yn["015"]};
2024
- `,Th=({status:e,icon:t,title:o,description:r})=>{const i=Zt(),n=t??ti(e,i),a=[Vo.Default,Vo.Info,Ko.Disabled,Ko.Unknown].includes(e)?i.v2.colors.white[500]:i.v2.colors.black[500];return Rt(Ah,{$status:e,children:[Ot(Dh,{$status:e,children:Ot(n,{size:32,fill:a})}),Rt(Ri,{$gap:2,$justifyContent:"center",children:[Ot(Xi,{size:Wi.M,weight:500,color:a,nowrap:!0,children:o}),Ot(Xi,{size:Wi.XXS,weight:300,color:a,nowrap:!0,children:r})]})]})},Nh=Yt.div`
2060
+ background-color: ${({theme:e,$status:t})=>t===Ko.Unknown?Zi(e,t,"800"):Zi(e,t,"900")+Yn["015"]};
2061
+ `,Rh=({status:e,icon:t,title:o,description:i})=>{const r=Zt(),n=t??tr(e,r),a=[Xo.Default,Xo.Info,Ko.Disabled,Ko.Unknown].includes(e)?r.v2.colors.white[500]:r.v2.colors.black[500];return Rt(_h,{$status:e,children:[Ot(Oh,{$status:e,children:Ot(n,{size:32,fill:a})}),Rt(Rr,{$gap:2,$justifyContent:"center",children:[Ot(Hr,{size:Wr.M,weight:500,color:a,nowrap:!0,children:o}),Ot(Hr,{size:Wr.XXS,weight:300,color:a,nowrap:!0,children:i})]})]})},Fh=Yt.div`
2025
2062
  flex: 1;
2026
2063
  align-self: stretch;
2027
2064
  display: flex;
@@ -2030,7 +2067,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2030
2067
  padding: 12px;
2031
2068
  border-radius: 12px;
2032
2069
  background-color: ${({theme:e})=>e.v2.colors.silver[800]};
2033
- `,Ih=["-","N/A"],_h=({title:e,cells:t})=>{const o=Zt();return Rt(Nh,{children:[Ot(Xi,{size:Wi.XXS,color:o.v2.colors.grey[150],children:e}),Ot(Oi,{$gap:32,children:t.map(t=>Rt(Ri,{$gap:2,children:[!t.isLoading||t.value&&!Ih.includes(t.value)?Ot(Xi,{size:t.label?Wi.M:Wi.L,children:t.value}):Ot(Zs,{scale:.9}),t.label&&Ot(Xi,{size:Wi.XXS,children:t.label})]},`${e}-${t.label}-${t.value}`))})]})},Oh=Yt(Oi)`
2070
+ `,zh=["-","N/A"],Lh=({title:e,cells:t})=>{const o=Zt();return Rt(Fh,{children:[Ot(Hr,{size:Wr.XXS,color:o.v2.colors.grey[150],children:e}),Ot(Or,{$gap:32,children:t.map(t=>Rt(Rr,{$gap:2,children:[!t.isLoading||t.value&&!zh.includes(t.value)?Ot(Hr,{size:t.label?Wr.M:Wr.L,children:t.value}):Ot(rl,{scale:.9}),t.label&&Ot(Hr,{size:Wr.XXS,children:t.label})]},`${e}-${t.label}-${t.value}`))})]})},Ph=Yt(Or)`
2034
2071
  width: calc(100% - 20px);
2035
2072
  padding: 10px;
2036
2073
  border-radius: 6px;
@@ -2039,30 +2076,30 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2039
2076
  align-items: center;
2040
2077
  justify-content: space-between;
2041
2078
  gap: 12px;
2042
- `,Rh=Yt.div`
2079
+ `,Mh=Yt.div`
2043
2080
  position: relative;
2044
2081
  width: ${({$hideCopy:e})=>e?"100%":"calc(100% - 24px - 12px)"};
2045
2082
  display: flex;
2046
2083
  align-items: center;
2047
2084
  gap: 4px;
2048
- `,Fh=Yt.pre`
2085
+ `,Bh=Yt.pre`
2049
2086
  flex: 1;
2050
2087
  margin: 0;
2051
2088
  padding: 0;
2052
2089
  font-size: 14px;
2053
2090
  color: #5ffb98; // TODO: add to theme
2054
2091
  overflow-x: auto;
2055
- `,zh=Yt.span`
2092
+ `,Uh=Yt.span`
2056
2093
  flex-shrink: 0;
2057
2094
  font-size: 14px;
2058
2095
  color: #5ffb98; // TODO: add to theme
2059
- `,Lh=({value:e,hideCopy:t=!1,onDone:o})=>{const{CopyButton:r}=va({onDone:o}),i=Bt(null),[n,a]=Pt(!1);return Mt(()=>{const e=()=>{if(i.current){const{scrollWidth:e,clientWidth:t}=i.current;a(e>t)}};e();const t=new ResizeObserver(e);return i.current&&t.observe(i.current),()=>{t.disconnect()}},[e]),Rt(Oh,{children:[Rt(Rh,{$hideCopy:t,children:[Ot(Fh,{ref:i,children:e}),n&&Ot(zh,{children:"..."})]}),!t&&Ot(r,{value:e,size:ya.XS})]})},Ph=Yt.div`
2096
+ `,jh=({value:e,hideCopy:t=!1,onDone:o})=>{const{CopyButton:i}=va({onDone:o}),r=Bt(null),[n,a]=Pt(!1);return Mt(()=>{const e=()=>{if(r.current){const{scrollWidth:e,clientWidth:t}=r.current;a(e>t)}};e();const t=new ResizeObserver(e);return r.current&&t.observe(r.current),()=>{t.disconnect()}},[e]),Rt(Ph,{children:[Rt(Mh,{$hideCopy:t,children:[Ot(Bh,{ref:r,children:e}),n&&Ot(Uh,{children:"..."})]}),!t&&Ot(i,{value:e,size:ya.XS})]})},Wh=Yt.div`
2060
2097
  display: flex;
2061
2098
  align-items: center;
2062
2099
  justify-content: space-between;
2063
2100
  width: 100%;
2064
2101
  overflow: hidden;
2065
- `,Mh=Yt.div`
2102
+ `,Gh=Yt.div`
2066
2103
  display: flex;
2067
2104
  align-items: center;
2068
2105
  gap: 16px;
@@ -2070,7 +2107,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2070
2107
  min-width: 0;
2071
2108
  flex: 1;
2072
2109
  overflow: hidden;
2073
- `,Bh=Yt.div`
2110
+ `,Hh=Yt.div`
2074
2111
  display: flex;
2075
2112
  align-items: center;
2076
2113
  justify-content: center;
@@ -2079,12 +2116,12 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2079
2116
  height: 36px;
2080
2117
  border-radius: 8px;
2081
2118
  background: ${({theme:e})=>e.v2.colors.silver[800]};
2082
- `,Uh=Yt.div`
2119
+ `,Xh=Yt.div`
2083
2120
  display: flex;
2084
2121
  align-items: center;
2085
2122
  gap: 12px;
2086
2123
  flex-shrink: 0;
2087
- `,jh=({icon:e,title:t,subTitle:o,actions:r,onClose:i,onCloseDisabled:n})=>Rt(Ph,{children:[Rt(Mh,{children:[e&&Ot(Bh,{children:Ot(e,{size:24})}),(t||o)&&Rt(Ri,{$gap:6,children:[t&&Ot(Xi,{size:Wi.S,weight:500,children:t}),o&&Ot(Xi,{size:Wi.XXS,children:o})]})]}),Rt(Uh,{children:[r?.length?Ot($a,{icon:Tt,size:ya.M,onClick:()=>alert("todo")}):null,i&&Ot($a,{icon:ct,size:ya.M,onClick:i,disabled:n})]})]}),Wh=Yt.div`
2124
+ `,Vh=({icon:e,title:t,subTitle:o,actions:i,onClose:r,onCloseDisabled:n})=>Rt(Wh,{children:[Rt(Gh,{children:[e&&Ot(Hh,{children:Ot(e,{size:24})}),(t||o)&&Rt(Rr,{$gap:6,children:[t&&Ot(Hr,{size:Wr.S,weight:500,children:t}),o&&Ot(Hr,{size:Wr.XXS,children:o})]})]}),Rt(Xh,{children:[i?.length?Ot($a,{icon:Tt,size:ya.M,onClick:()=>alert("todo")}):null,r&&Ot($a,{icon:ct,size:ya.M,onClick:r,disabled:n})]})]}),Jh=Yt.div`
2088
2125
  position: fixed;
2089
2126
  top: 0;
2090
2127
  bottom: 0;
@@ -2105,14 +2142,14 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2105
2142
  ${({$disableAnimation:e,$position:t})=>!e&&Qt`
2106
2143
  animation-name: ${Zn.in[t]};
2107
2144
  `}
2108
- `,Gh=Yt.div`
2145
+ `,Kh=Yt.div`
2109
2146
  display: flex;
2110
2147
  flex-direction: column;
2111
2148
  gap: 12px;
2112
2149
 
2113
2150
  height: calc(100% - ${56}px);
2114
2151
  overflow-y: auto;
2115
- `,Xh=({isOpen:e,hideOverlay:t=!1,disableAnimation:o=!1,position:r="right",width:i="600px",header:n,children:a})=>(ma(e),e?po(Rt(Ft,{children:[!t&&Ot(Li,{onClick:n?.onCloseDisabled?void 0:n?.onClose}),Rt(Wh,{$position:r,$width:i,$disableAnimation:o,children:[n&&Ot(jh,{...n}),Ot(Gh,{children:a})]})]}),document.body):null),Vh=({options:e,values:t,setValues:o,withMultiSelect:r,withSearch:i,...n})=>{const a=Lt(()=>e.map(e=>({...e,withCheckbox:!0})),[e]),s=Lt(()=>t?.length?`Selected: ${e.filter(e=>t.includes(e.id)).map(e=>e.label).join(", ")}`:"",[e,t]);return Ot(dh,{withMultiSelect:r,withSearch:i,alignX:ih.Left,items:a,selectedIds:t,setSelectedIds:o,children:({ChevronIcon:e,handleClick:t})=>Ot(gu,{placeholder:"Select options...",...n,rightIcon:e,value:s,onChange:()=>{},onClick:t})})},Hh=Yt.header`
2152
+ `,qh=({isOpen:e,hideOverlay:t=!1,disableAnimation:o=!1,position:i="right",width:r="600px",header:n,children:a})=>(ma(e),e?po(Rt(Ft,{children:[!t&&Ot(Lr,{onClick:n?.onCloseDisabled?void 0:n?.onClose}),Rt(Jh,{$position:i,$width:r,$disableAnimation:o,children:[n&&Ot(Vh,{...n}),Ot(Kh,{children:a})]})]}),document.body):null),Yh=({options:e,values:t,setValues:o,withMultiSelect:i,withSearch:r,...n})=>{const a=Lt(()=>e.map(e=>({...e,withCheckbox:!0})),[e]),s=Lt(()=>t?.length?`Selected: ${e.filter(e=>t.includes(e.id)).map(e=>e.label).join(", ")}`:"",[e,t]);return Ot(gh,{withMultiSelect:i,withSearch:r,alignX:ch.Left,items:a,selectedIds:t,setSelectedIds:o,children:({ChevronIcon:e,handleClick:t})=>Ot($u,{placeholder:"Select options...",...n,rightIcon:e,value:s,onChange:()=>{},onClick:t})})},Qh=Yt.header`
2116
2153
  position: relative;
2117
2154
  width: calc(100% - 36px);
2118
2155
  padding: 12px 18px;
@@ -2120,12 +2157,12 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2120
2157
  display: flex;
2121
2158
  align-items: center;
2122
2159
  justify-content: space-between;
2123
- `,Jh=Yt(Oi)`
2160
+ `,Zh=Yt(Or)`
2124
2161
  position: absolute;
2125
2162
  left: 50%;
2126
2163
  transform: translateX(-50%);
2127
2164
  gap: 16px;
2128
- `,Kh=({left:e=[],center:t=[],right:o=[]})=>Rt(Hh,{children:[Ot(Oi,{$gap:16,children:e}),Ot(Jh,{children:t}),Ot(Oi,{$gap:16,children:o})]}),qh=Yt.div`
2165
+ `,em=({left:e=[],center:t=[],right:o=[]})=>Rt(Qh,{children:[Ot(Or,{$gap:16,children:e}),Ot(Zh,{children:t}),Ot(Or,{$gap:16,children:o})]}),tm=Yt.div`
2129
2166
  display: flex;
2130
2167
  align-items: center;
2131
2168
  gap: 2px;
@@ -2139,17 +2176,17 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2139
2176
  right: ${({$right:e})=>e||"12px"};
2140
2177
  top: 50%;
2141
2178
  transform: translateY(-50%);
2142
- `,Yh=({isOpen:e,actions:t,positionRight:o})=>e?Ot(qh,{$right:o,children:t.map(e=>e?Ot(hs,{text:e.tooltip||"",children:Ot(Ku,{...e,variant:Vu.Secondary,size:Hu.S,label:e.label})},e.id):null)}):null,Qh=({values:e,setValues:t,name:o,label:r,tooltip:i,badge:n,required:a,errorMessage:s,warnMessage:l,helpMessage:c,placeholder:d,disabled:p})=>{const u=Zt(),h=e.length<=1,m=p,g=p||h&&m;return Rt(Ri,{"data-id":o,$gap:6,children:[Ot(du,{label:r,tooltip:i,required:a,badge:n}),Ot(Ri,{$gap:8,children:(e.length?e:[""]).map((o,r)=>{const i=r===e.length-1;return Rt(Oi,{$gap:8,$alignItems:"center",children:[Ot(gu,{width:"100%",autoFocus:pi(o)&&!h&&i,value:o,onChange:o=>((o,r)=>{const i=[...e||[]];i[r]=o,t(i)})(o.target.value,r),disabled:p,placeholder:d,hasError:!!s}),Ot(Ku,{leftIcon:mt,variant:Vu.Secondary,size:Hu.S,disabled:m,onClick:()=>(()=>{const o=[...e||[]];o.push(""),t(o)})()}),Ot(Ku,{leftIcon:g?vt:()=>Ot(vt,{fill:u.v2.colors.red[500]}),variant:Vu.Secondary,size:Hu.S,disabled:g,onClick:()=>(o=>{const r=[...e||[]].filter((e,t)=>t!==o);r.length||r.push(""),t(r)})(r)})]},`input-list-${r}`)})}),Ot(pu,{errorMessage:s,warnMessage:l,helpMessage:c})]})},Zh=({col:e,colIdx:t,row:o,rowIdx:r,rowsLength:i,handleChange:n,errorMessage:a,disabled:s})=>{const{keyName:l,componentType:c,inputType:d,label:p,placeholder:u,options:h,renderCondition:m}=e,g=o[l];if(m&&!m(o))return null;switch(c){case Go.Dropdown:case"multi-dropdown":const e=Array.isArray(g)&&h?.filter(e=>g.includes(e.id)).map(e=>e.id)||[],o="multi-dropdown"===c;return Ot(Vh,{label:u?p:void 0,placeholder:u||p,options:h||[],withMultiSelect:o,withSearch:o,values:e,setValues:e=>n(l,e,r),disabled:s,hasError:!!a},l);default:const m=i>1&&0===r&&0===t&&pi(g);return Ot(gu,{name:l,label:u?p:void 0,placeholder:u||p,autoFocus:m,type:d,value:g,onChange:({target:{value:e}})=>n(l,e,r),disabled:s,hasError:!!a})}},em=Yt.table`
2179
+ `,om=({isOpen:e,actions:t,positionRight:o})=>e?Ot(tm,{$right:o,children:t.map(e=>e?Ot(ys,{text:e.tooltip||"",children:Ot(eh,{...e,variant:Yu.Secondary,size:Qu.S,label:e.label})},e.id):null)}):null,im=({values:e,setValues:t,name:o,label:i,tooltip:r,badge:n,required:a,errorMessage:s,warnMessage:l,helpMessage:c,placeholder:d,disabled:p})=>{const u=Zt(),h=e.length<=1,m=p,g=p||h&&m;return Rt(Rr,{"data-id":o,$gap:6,children:[Ot(gu,{label:i,tooltip:r,required:a,badge:n}),Ot(Rr,{$gap:8,children:(e.length?e:[""]).map((o,i)=>{const r=i===e.length-1;return Rt(Or,{$gap:8,$alignItems:"center",children:[Ot($u,{width:"100%",autoFocus:pr(o)&&!h&&r,value:o,onChange:o=>((o,i)=>{const r=[...e||[]];r[i]=o,t(r)})(o.target.value,i),disabled:p,placeholder:d,hasError:!!s}),Ot(eh,{leftIcon:mt,variant:Yu.Secondary,size:Qu.S,disabled:m,onClick:()=>(()=>{const o=[...e||[]];o.push(""),t(o)})()}),Ot(eh,{leftIcon:g?vt:()=>Ot(vt,{fill:u.v2.colors.red[500]}),variant:Yu.Secondary,size:Qu.S,disabled:g,onClick:()=>(o=>{const i=[...e||[]].filter((e,t)=>t!==o);i.length||i.push(""),t(i)})(i)})]},`input-list-${i}`)})}),Ot(fu,{errorMessage:s,warnMessage:l,helpMessage:c})]})},rm=({col:e,colIdx:t,row:o,rowIdx:i,rowsLength:r,handleChange:n,errorMessage:a,disabled:s})=>{const{keyName:l,componentType:c,inputType:d,label:p,placeholder:u,options:h,renderCondition:m}=e,g=o[l];if(m&&!m(o))return null;switch(c){case Go.Dropdown:case"multi-dropdown":{const e="multi-dropdown"===c,t=Array.isArray(g)?g:null!=g&&""!==g?[String(g)]:[],o=h?.filter(e=>t.includes(e.id)).map(e=>e.id)||[];return Ot(Yh,{name:l,label:u?p:void 0,placeholder:u||p,options:h||[],withMultiSelect:e,withSearch:e,values:o,setValues:t=>n(l,e?t:t[0]??"",i),disabled:s,hasError:!!a},l)}default:const e=r>1&&0===i&&0===t&&pr(g);return Ot($u,{name:l,label:u?p:void 0,placeholder:u||p,autoFocus:e,type:d,value:g,onChange:({target:{value:e}})=>n(l,e,i),disabled:s,hasError:!!a})}},nm=Yt.table`
2143
2180
  width: 100%;
2144
2181
  border-collapse: separate;
2145
2182
  border-spacing: 0 8px;
2146
- `,tm=Yt.td`
2183
+ `,am=Yt.td`
2147
2184
  padding: 0 8px 0 0;
2148
- `,om=Yt.td`
2185
+ `,sm=Yt.td`
2149
2186
  width: 72px;
2150
2187
  padding-bottom: 2px;
2151
2188
  vertical-align: bottom;
2152
- `,rm=({columns:e,values:t,setValues:o,name:r,label:i,tooltip:n,badge:a,required:s,disabled:l,errorMessage:c,warnMessage:d,helpMessage:p,limitFieldsPerRow:u})=>{const h=Zt(),m=Lt(()=>{const t={};return e.forEach(({keyName:e})=>t[e]=""),t},[e]),g=(e,r,i)=>{const n=t.length?vo(t):[vo(m)];n[i][e]=r,o(n)},f=Lt(()=>{if(u){const t=[];for(let o=0;;o+=u){const r=e.slice(o,o+u);if(!r.length)break;t.push(r)}return t}return[e]},[u,e]),x=t.length?t:[m];return Rt(Ri,{"data-id":r,$gap:0,children:[Ot(du,{label:i,tooltip:n,required:s,badge:a}),Ot(em,{children:Ot("tbody",{children:x.map((e,r)=>Rt(zt,{children:[u&&r>0?Ot("tr",{children:Ot(tm,{colSpan:f.length})}):null,f.map((i,n)=>Rt("tr",{children:[i.map((t,o)=>t.renderCondition&&!t.renderCondition(e)?null:Ot(tm,{children:Ot(Zh,{col:t,colIdx:o,row:e,rowIdx:r,rowsLength:x.length,handleChange:g,disabled:l,errorMessage:c})},`input-table-row-${r}-col-${n}-${o}`)),0===n&&Ot(om,{children:Rt(Oi,{$gap:8,$justifyContent:"center",children:[Ot(Ku,{leftIcon:mt,variant:Vu.Secondary,size:Hu.S,disabled:l,onClick:()=>(()=>{const e=vo(t);e.push(vo(m)),o(e)})()}),Ot(Ku,{leftIcon:l?vt:()=>Ot(vt,{fill:h.v2.colors.red[500]}),variant:Vu.Secondary,size:Hu.S,disabled:l,onClick:()=>(e=>{const r=t.filter((t,o)=>o!==e);r.length||r.push(vo(m)),o(r)})(r)})]})})]},`input-table-matrix-${r}-${n}`))]},`input-table-row-${r}`))})}),Ot(pu,{errorMessage:c,warnMessage:d,helpMessage:p})]})},im=Yt.div`
2189
+ `,lm=({columns:e,values:t,setValues:o,name:i,label:r,tooltip:n,badge:a,required:s,disabled:l,errorMessage:c,warnMessage:d,helpMessage:p,limitFieldsPerRow:u})=>{const h=Zt(),m=Lt(()=>{const t={};return e.forEach(({keyName:e})=>t[e]=""),t},[e]),g=(e,i,r)=>{const n=t.length?vo(t):[vo(m)];n[r][e]=i,o(n)},f=Lt(()=>{if(u){const t=[];for(let o=0;;o+=u){const i=e.slice(o,o+u);if(!i.length)break;t.push(i)}return t}return[e]},[u,e]),x=t.length?t:[m];return Rt(Rr,{"data-id":i,$gap:0,children:[Ot(gu,{label:r,tooltip:n,required:s,badge:a}),Ot(nm,{children:Ot("tbody",{children:x.map((e,i)=>Rt(zt,{children:[u&&i>0?Ot("tr",{children:Ot(am,{colSpan:f.length})}):null,f.map((r,n)=>Rt("tr",{children:[r.map((t,o)=>t.renderCondition&&!t.renderCondition(e)?null:Ot(am,{children:Ot(rm,{col:t,colIdx:o,row:e,rowIdx:i,rowsLength:x.length,handleChange:g,disabled:l,errorMessage:c})},`input-table-row-${i}-col-${n}-${o}`)),0===n&&Ot(sm,{children:Rt(Or,{$gap:8,$justifyContent:"center",children:[Ot(eh,{leftIcon:mt,variant:Yu.Secondary,size:Qu.S,disabled:l,onClick:()=>(()=>{const e=vo(t);e.push(vo(m)),o(e)})()}),Ot(eh,{leftIcon:l?vt:()=>Ot(vt,{fill:h.v2.colors.red[500]}),variant:Yu.Secondary,size:Qu.S,disabled:l,onClick:()=>(e=>{const i=t.filter((t,o)=>o!==e);i.length||i.push(vo(m)),o(i)})(i)})]})})]},`input-table-matrix-${i}-${n}`))]},`input-table-row-${i}`))})}),Ot(fu,{errorMessage:c,warnMessage:d,helpMessage:p})]})},cm=Yt.div`
2153
2190
  display: flex;
2154
2191
  align-items: center;
2155
2192
  justify-content: space-between;
@@ -2165,7 +2202,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2165
2202
  left: 50%;
2166
2203
  z-index: 1;
2167
2204
  animation-name: ${Zn.in.center};
2168
- `,nm=({isOpen:e,onClose:t,richTitle:o,actions:r})=>e?Rt(im,{children:[Ot(Sh,{...o}),Ot(vh,{onAnyClick:t,actions:r})]}):null,am=Yt.div`
2205
+ `,dm=({isOpen:e,onClose:t,richTitle:o,actions:i})=>e?Rt(cm,{children:[Ot(Dh,{...o}),Ot(Eh,{onAnyClick:t,actions:i})]}):null,pm=Yt.div`
2169
2206
  position: ${({$relativeToParent:e})=>e?"absolute":"fixed"};
2170
2207
  top: 50%;
2171
2208
  left: 50%;
@@ -2178,13 +2215,13 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2178
2215
  overflow: hidden;
2179
2216
 
2180
2217
  animation-name: ${Zn.in.center};
2181
- `,sm=Yt.div`
2218
+ `,um=Yt.div`
2182
2219
  position: relative;
2183
- `,lm=Yt.div`
2220
+ `,hm=Yt.div`
2184
2221
  position: absolute;
2185
2222
  top: 16px;
2186
2223
  left: 16px;
2187
- `,cm=({isOpen:e,hideOverlay:t=!1,relativeToParent:o=!1,onBack:r,onClose:i,children:n})=>{if(ma(e),!e)return null;const a=Rt(Ft,{children:[!t&&Ot(Li,{$relativeToParent:o,onClick:i}),Ot(am,{$relativeToParent:o,children:Rt(sm,{children:[r&&Ot(lm,{children:Ot($a,{icon:e=>Ot(Dt,{rotate:-90,...e}),size:ya.L,onClick:r})}),n]})})]});return o?a:po(a,document.body)},dm=Yt.aside`
2224
+ `,mm=({isOpen:e,hideOverlay:t=!1,relativeToParent:o=!1,onBack:i,onClose:r,children:n})=>{if(ma(e),!e)return null;const a=Rt(Ft,{children:[!t&&Ot(Lr,{$relativeToParent:o,onClick:r}),Ot(pm,{$relativeToParent:o,children:Rt(um,{children:[i&&Ot(hm,{children:Ot($a,{icon:e=>Ot(Dt,{rotate:-90,...e}),size:ya.L,onClick:i})}),n]})})]});return o?a:po(a,document.body)},gm=Yt.aside`
2188
2225
  display: flex;
2189
2226
  flex-direction: column;
2190
2227
  gap: 8px;
@@ -2193,7 +2230,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2193
2230
  padding: 16px 12px;
2194
2231
  background-color: ${({theme:e})=>e.v2.colors.black[500]};
2195
2232
  overflow-y: auto;
2196
- `,pm=({height:e,icons:t})=>Ot(dm,{$height:e,children:t.map(({id:e,selected:t,icon:o,onClick:r})=>Ot(Ku,{label:"",leftIcon:o,iconSize:24,onClick:r,variant:t?Vu.Primary:Vu.Text},e))}),um=Yt.div`
2233
+ `,fm=({height:e,icons:t})=>Ot(gm,{$height:e,children:t.map(({id:e,selected:t,icon:o,onClick:i})=>Ot(eh,{label:"",leftIcon:o,iconSize:24,onClick:i,variant:t?Yu.Primary:Yu.Text},e))}),xm=Yt.div`
2197
2234
  display: flex;
2198
2235
  align-items: center;
2199
2236
  gap: 10px;
@@ -2202,60 +2239,60 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2202
2239
  `}
2203
2240
  padding: 4px 12px 4px 4px;
2204
2241
  border-radius: 8px;
2205
- background-color: ${({theme:e,$status:t})=>Zr(e,t,[Vo.Info].includes(t)?"1000":"900")};
2206
- `,hm=Yt.div`
2242
+ background-color: ${({theme:e,$status:t})=>Zi(e,t,[Xo.Info].includes(t)?"1000":"900")};
2243
+ `,ym=Yt.div`
2207
2244
  width: ${({$smallIcon:e})=>e?"24px":"32px"};
2208
2245
  height: ${({$smallIcon:e})=>e?"24px":"32px"};
2209
2246
  display: flex;
2210
2247
  align-items: center;
2211
2248
  justify-content: center;
2212
2249
  border-radius: 6px;
2213
- background-color: ${({theme:e,$status:t})=>Zr(e,t,[Vo.Info].includes(t)?"900":"800")};
2214
- `,mm=Yt.div`
2250
+ background-color: ${({theme:e,$status:t})=>Zi(e,t,[Xo.Info].includes(t)?"900":"800")};
2251
+ `,bm=Yt.div`
2215
2252
  margin-left: auto;
2216
2253
  margin-right: 8px;
2217
2254
  cursor: pointer;
2218
2255
  &:hover {
2219
2256
  transform: scale(1.2);
2220
2257
  }
2221
- `,gm=({status:e,message:t,action:o,fullWidth:r,smallIcon:i})=>{const n=Zt(),a=ti(e,n),s=Zr(n,e,e===Vo.Default?"300":e===Vo.Info?"400":"500");return Rt(um,{$status:e,$fullWidth:r,children:[Ot("div",{children:Ot(hm,{$status:e,$smallIcon:i,children:Ot(a,{size:i?18:24})})}),Ot(Xi,{color:s,size:Wi.XXXS,weight:400,children:t}),o&&Ot(mm,{onClick:o.onClick,children:Ot(Xi,{color:s,size:Wi.XXS,weight:500,underline:!0,children:o.label})})]})};var fm;!function(e){e.S="small",e.L="large"}(fm||(fm={}));const xm=Yt.div`
2258
+ `,$m=({status:e,message:t,action:o,fullWidth:i,smallIcon:r})=>{const n=Zt(),a=tr(e,n),s=Zi(n,e,e===Xo.Default?"300":e===Xo.Info?"400":"500");return Rt(xm,{$status:e,$fullWidth:i,children:[Ot("div",{children:Ot(ym,{$status:e,$smallIcon:r,children:Ot(a,{size:r?18:24})})}),Ot(Hr,{color:s,size:Wr.XXXS,weight:400,children:t}),o&&Ot(bm,{onClick:o.onClick,children:Ot(Hr,{color:s,size:Wr.XXS,weight:500,underline:!0,children:o.label})})]})};var vm;!function(e){e.S="small",e.L="large"}(vm||(vm={}));const wm=Yt.div`
2222
2259
  width: fit-content;
2223
2260
  display: flex;
2224
2261
  align-items: center;
2225
2262
  gap: 8px;
2226
2263
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
2227
- `,ym=Yt.div`
2228
- width: ${({$size:e})=>e===fm.S?"16px":"20px"};
2229
- height: ${({$size:e})=>e===fm.S?"16px":"20px"};
2264
+ `,Sm=Yt.div`
2265
+ width: ${({$size:e})=>e===vm.S?"16px":"20px"};
2266
+ height: ${({$size:e})=>e===vm.S?"16px":"20px"};
2230
2267
  display: flex;
2231
2268
  align-items: center;
2232
2269
  justify-content: center;
2233
2270
  border-radius: 100%;
2234
2271
  border: 1px solid ${({$borderColor:e})=>e};
2235
2272
  background-color: ${({$backgroundColor:e})=>e};
2236
- `,bm=({label:e,value:t,onChange:o,disabled:r,size:i=fm.L})=>{const n=Zt(),[a,s]=Pt(!1),l=t,c=i===fm.S?6:8,d=r?n.v2.colors.grey[400]:n.v2.colors.white[500],p=l?"transparent":r?n.v2.colors.grey[700]:a?n.v2.colors.silver[400]:n.v2.colors.silver[600],u=r?n.v2.colors.grey[600]:l?n.v2.colors.purple[500]:n.v2.colors.silver[900];return Rt(xm,{"data-id":"radio"+(e?`-${e}`:""),onClick:e=>{e.stopPropagation(),r||o(!t)},$disabled:r,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),children:[Ot(ym,{$size:i,$borderColor:p,$backgroundColor:u,children:t?Ot(Nt,{size:c,fill:d}):null}),e&&Ot(Xi,{size:i===fm.S?Wi.XXS:Wi.XS,children:e})]})},$m=Yt.div`
2273
+ `,Cm=({label:e,value:t,onChange:o,disabled:i,size:r=vm.L})=>{const n=Zt(),[a,s]=Pt(!1),l=t,c=r===vm.S?6:8,d=i?n.v2.colors.grey[400]:n.v2.colors.white[500],p=l?"transparent":i?n.v2.colors.grey[700]:a?n.v2.colors.silver[400]:n.v2.colors.silver[600],u=i?n.v2.colors.grey[600]:l?n.v2.colors.purple[500]:n.v2.colors.silver[900];return Rt(wm,{"data-id":"radio"+(e?`-${e}`:""),onClick:e=>{e.stopPropagation(),i||o(!t)},$disabled:i,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),children:[Ot(Sm,{$size:r,$borderColor:p,$backgroundColor:u,children:t?Ot(Nt,{size:c,fill:d}):null}),e&&Ot(Hr,{size:r===vm.S?Wr.XXS:Wr.XS,children:e})]})},km=Yt.div`
2237
2274
  display: flex;
2238
2275
  flex-direction: ${({$flexDirection:e})=>e};
2239
2276
  gap: ${({$gap:e})=>e}px;
2240
- `,vm=({label:e,direction:t,disabled:o,size:r,options:i,values:n,setValues:a})=>Rt($m,{$flexDirection:t===Fo.Horizontal?"row":"column",$gap:t===Fo.Horizontal?16:8,children:[e&&Ot(Xi,{children:e}),i.map(t=>Ot(bm,{...t,value:n[t.id],onChange:e=>{return o=t.id,r=e,void a(e=>{const t={...e};return Object.keys(t).forEach(e=>t[e]=!1),t[o]=r,t});var o,r},disabled:o,size:r},`${e}-radio-${t.id}`))]}),wm=({currentStep:e,data:t,gap:o=12})=>Ot(Ri,{$gap:o,children:t.map(t=>{const o=t.step<e,r=t.step===e;return Rt(Oi,{$gap:8,children:[o||t.forceDoneBadge?Ot(su,{status:Vo.Success,label:"",leftIcon:st}):Ot(su,{status:Vo.Default,label:t.step.toString()}),Ot(Xi,{size:r?Wi.M:Wi.XS,weight:r?500:400,opacity:r?1:.7,children:t.label})]},`stepper-item-${t.step}`)})});var Sm;!function(e){e.Data="data",e.Pretty="pretty"}(Sm||(Sm={}));const Cm=Yt.div`
2277
+ `,Em=({label:e,direction:t,disabled:o,size:i,options:r,values:n,setValues:a})=>Rt(km,{$flexDirection:t===Fo.Horizontal?"row":"column",$gap:t===Fo.Horizontal?16:8,children:[e&&Ot(Hr,{children:e}),r.map(t=>Ot(Cm,{...t,value:n[t.id],onChange:e=>{return o=t.id,i=e,void a(e=>{const t={...e};return Object.keys(t).forEach(e=>t[e]=!1),t[o]=i,t});var o,i},disabled:o,size:i},`${e}-radio-${t.id}`))]}),Am=({currentStep:e,data:t,gap:o=12})=>Ot(Rr,{$gap:o,children:t.map(t=>{const o=t.step<e,i=t.step===e;return Rt(Or,{$gap:8,children:[o||t.forceDoneBadge?Ot(uu,{status:Xo.Success,label:"",leftIcon:st}):Ot(uu,{status:Xo.Default,label:t.step.toString()}),Ot(Hr,{size:i?Wr.M:Wr.XS,weight:i?500:400,opacity:i?1:.7,children:t.label})]},`stepper-item-${t.step}`)})});var Dm;!function(e){e.Data="data",e.Pretty="pretty"}(Dm||(Dm={}));const Tm=Yt.div`
2241
2278
  height: ${({$maxHeight:e})=>e};
2242
2279
  width: 100%;
2243
2280
  display: flex;
2244
2281
  flex-direction: column;
2245
2282
  overflow: hidden;
2246
- `,km=Yt.div`
2283
+ `,Nm=Yt.div`
2247
2284
  width: 100%;
2248
2285
  flex: 1;
2249
2286
  display: flex;
2250
2287
  flex-direction: column;
2251
2288
  overflow: hidden;
2252
- `,Em=Yt.div`
2289
+ `,Im=Yt.div`
2253
2290
  flex-shrink: 0;
2254
2291
  z-index: 1;
2255
- `,Am=Yt.div`
2292
+ `,_m=Yt.div`
2256
2293
  display: flex;
2257
2294
  width: 100%;
2258
- `,Dm=Yt.div`
2295
+ `,Om=Yt.div`
2259
2296
  position: relative;
2260
2297
  min-width: ${({$minWidth:e})=>e?`${e}px`:"auto"};
2261
2298
  flex: 1;
@@ -2266,12 +2303,12 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2266
2303
 
2267
2304
  ${({$variant:e,$backgroundColor:t})=>{if(t)return Qt`
2268
2305
  background-color: ${t};
2269
- `;switch(e){case Sm.Data:return Qt`
2306
+ `;switch(e){case Dm.Data:return Qt`
2270
2307
  background-color: ${({theme:e})=>e.v2.colors.silver[750]};
2271
- `;case Sm.Pretty:return Qt`
2308
+ `;case Dm.Pretty:return Qt`
2272
2309
  background-color: transparent;
2273
2310
  `;default:return""}}}
2274
- `,Tm=Yt.div`
2311
+ `,Rm=Yt.div`
2275
2312
  position: absolute;
2276
2313
  top: 50%;
2277
2314
  right: 0;
@@ -2279,7 +2316,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2279
2316
  width: 1px;
2280
2317
  height: 18px;
2281
2318
  background: ${({theme:e})=>e.v2.colors.silver[500]};
2282
- `,Nm=Yt.div`
2319
+ `,Fm=Yt.div`
2283
2320
  position: relative;
2284
2321
 
2285
2322
  min-width: ${({$minWidth:e})=>e?`${e}px`:"auto"};
@@ -2291,23 +2328,23 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2291
2328
  cursor: ${({$withClick:e})=>e?"pointer":"default"};
2292
2329
  box-sizing: border-box;
2293
2330
 
2294
- ${({$variant:e,$selected:t,$hovered:o,$isLastRow:r,$isFirstCell:i,$isLastCell:n})=>{switch(e){case Sm.Data:return Qt`
2295
- border-bottom: ${({theme:e})=>r?"none":`1px solid ${e.v2.colors.silver[500]}`};
2296
- border-radius: ${r?i?"0 0 0 4px":n?"0 0 4px 0":"0":"0"};
2331
+ ${({$variant:e,$selected:t,$hovered:o,$isLastRow:i,$isFirstCell:r,$isLastCell:n})=>{switch(e){case Dm.Data:return Qt`
2332
+ border-bottom: ${({theme:e})=>i?"none":`1px solid ${e.v2.colors.silver[500]}`};
2333
+ border-radius: ${i?r?"0 0 0 4px":n?"0 0 4px 0":"0":"0"};
2297
2334
  background-color: ${({theme:e})=>t?e.v2.colors.blue[1e3]:o?e.v2.colors.silver[700]:e.v2.colors.silver[800]};
2298
- `;case Sm.Pretty:return Qt`
2335
+ `;case Dm.Pretty:return Qt`
2299
2336
  border: none;
2300
- border-radius: ${i?"12px 0 0 12px":n?"0 12px 12px 0":"0"};
2337
+ border-radius: ${r?"12px 0 0 12px":n?"0 12px 12px 0":"0"};
2301
2338
  background-color: ${({theme:e})=>t?e.v2.colors.blue[1e3]:o?e.v2.colors.silver[700]:e.v2.colors.silver[900]};
2302
2339
  `;default:return""}}}
2303
- `,Im=Yt.div`
2340
+ `,zm=Yt.div`
2304
2341
  width: 100%;
2305
2342
  display: flex;
2306
2343
  align-items: center;
2307
2344
  justify-content: ${({$textAlign:e})=>"right"===e?"flex-end":"left"===e?"flex-start":"center"===e?"center":"unset"};
2308
2345
  gap: 4px;
2309
2346
  text-align: ${({$textAlign:e})=>e||"left"};
2310
- `,_m=({variant:e,columns:t,rows:o,getRowActions:r,rowActionsPushRightPosition:i,withCheckboxes:n})=>{const[a,s]=Pt(null),l=Lt(()=>o.map((l,c)=>{const{cells:d,onClick:p,isSelected:u=!1,onSelect:h,onDeselect:m,hideCheckbox:g}=l,f=a===c,x=r(l),y=(e,t)=>({$isLastRow:c===o.length-1,$isFirstCell:e,$isLastCell:t,$selected:u,$withClick:!!p,onClick:()=>p?.(),$hovered:!!p&&f,onMouseEnter:()=>s(c),onMouseLeave:()=>s(null)});return Rt(Am,{children:[n&&Ot(Nm,{$variant:e,style:{flex:"0 0 68px"},...y(!0,!1),children:!g&&Ot(th,{value:u,onChange:()=>u?m?.():h?.()})},"checkbox-column"),t.map(({key:o,textAlign:r,minWidth:a},s)=>{const l=d.find(e=>e.key===o),p=0===s&&!n,u=s===t.length-1,h="right"===r?"flex-end":"center"===r?"center":"flex-start";return Rt(Nm,{$variant:e,$minWidth:a,...y(p,u),children:[Ot(Oi,{$width:"100%",$justifyContent:h,children:l?.component?Ot(l.component,{}):Ot(Xi,{size:Wi.XS,children:l?.rawValue||"-"})}),x.length?Ot(Yh,{isOpen:f&&u,actions:x,positionRight:i}):null]},`row-${c}-cell-${s}`)})]},`row-${c}`)}),[o,a,r,i,n,t]);return Ot(bp,{gap:e===Sm.Pretty?8:0,elements:l})},Om=({columnKey:e,sortDirection:t,sortByKey:o,onSort:r})=>{const i=Zt(),n=o===e?i.v2.colors.white[500]:i.v2.colors.grey[400],a=t===zo.Ascending?0:180;return Ot($a,{icon:e=>Ot(Dt,{fill:n,rotate:a,...e}),onClick:()=>r(e)})},Rm=({columnKey:e,filters:t,onFilter:o,rowsUnfiltered:r})=>{const i=Zt(),n=t[e]?.length?i.v2.colors.white[500]:i.v2.colors.grey[400],a=Lt(()=>Array.from(new Set(r.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})),[r,e]);return Ot(dh,{items:a,withMultiSelect:!0,selectedIds:t[e]?.map(e=>e.toString())??[],setSelectedIds:t=>o(e,t),defaultOpen:!1,iconButtonProps:{icon:e=>Ot(It,{fill:n,...e})}})},Fm=({variant:e,backgroundColor:t,columns:o,rowsUnfiltered:r,sortDirection:i,sortByKey:n,onSort:a,filters:s,onFilter:l,withCheckboxes:c,partiallySelected:d,allSelected:p,onSelectAll:u})=>Rt(Am,{children:[c&&Ot(Dm,{$variant:e,$backgroundColor:t,$isFirst:!0,$isLast:!1,style:{flex:"0 0 68px"},children:Ot(th,{partiallyChecked:d&&!p,value:p||!1,onChange:u})},"checkbox-column"),o.map(({key:d,label:p,noSort:u,noFilter:h,minWidth:m,textAlign:g},f)=>{const x=0===f&&!c,y=f===o.length-1;return Rt(Dm,{$variant:e,$backgroundColor:t,$minWidth:m,$isFirst:x,$isLast:y,children:[Rt(Im,{$textAlign:g,children:[Ot(Xi,{size:Wi.XS,align:g,children:p}),!u&&Ot(Om,{columnKey:d,sortDirection:i,sortByKey:n,onSort:a}),!h&&Ot(Rm,{columnKey:d,filters:s,onFilter:l,rowsUnfiltered:r})]}),!y&&e===Sm.Data&&Ot(Tm,{})]},`column-${d}`)})]}),zm=({variant:e,maxHeight:t="256px",headerBackgroundColor:o,isLoading:r,columns:i,rows:n,getRowActions:a,rowActionsPushRightPosition:s,withCheckboxes:l})=>{const[c,d]=Pt(zo.Ascending),[p,u]=Pt(""),[h,m]=Pt({}),g=Ut(e=>{u(e),d(e=>e===zo.Ascending?zo.Descending:zo.Ascending)},[]),f=Ut((e,t)=>{m(o=>({...o,[e]:t}))},[]),x=Lt(()=>{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?[...n].sort((t,o)=>{const r=e(t,p),i=e(o,p);return(c===zo.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)))(r,i)}):n).filter(t=>{for(const[o,r]of Object.entries(h))if(r.length&&!r.includes(e(t,o)))return!1;return!0})},[n,p,c,h]),{partiallySelected:y,allSelected:b}=Lt(()=>{const e=x.filter(e=>!e.hideCheckbox);return{partiallySelected:e.length>0&&e.some(e=>e.isSelected),allSelected:e.length>0&&e.every(e=>e.isSelected)}},[x]);return Ot(Cm,{$maxHeight:t,children:Rt(km,{$variant:e,children:[Ot(Em,{children:Ot(Fm,{variant:e,backgroundColor:o,columns:i,rowsUnfiltered:n,sortDirection:c,sortByKey:p,onSort:g,filters:h,onFilter:f,withCheckboxes:l,partiallySelected:y,allSelected:b,onSelectAll:e=>{e?x.forEach(e=>!e.hideCheckbox&&e.onSelect?.()):x.forEach(e=>!e.hideCheckbox&&e.onDeselect?.())}})}),x.length?Ot(_m,{variant:e,columns:i,rows:x,getRowActions:a||(()=>[]),rowActionsPushRightPosition:s,withCheckboxes:l}):Ot(Fi,{style:{marginTop:"0.5rem"},children:r?Ot(Xu,{withSpinner:!0}):Ot(Yu,{})})]})})},Lm=Yt.div`
2347
+ `,Lm=({variant:e,columns:t,rows:o,getRowActions:i,rowActionsPushRightPosition:r,withCheckboxes:n})=>{const[a,s]=Pt(null),l=Lt(()=>o.map((l,c)=>{const{cells:d,onClick:p,isSelected:u=!1,onSelect:h,onDeselect:m,hideCheckbox:g}=l,f=a===c,x=i(l),y=(e,t)=>({$isLastRow:c===o.length-1,$isFirstCell:e,$isLastCell:t,$selected:u,$withClick:!!p,onClick:()=>p?.(),$hovered:!!p&&f,onMouseEnter:()=>s(c),onMouseLeave:()=>s(null)});return Rt(_m,{children:[n&&Ot(Fm,{$variant:e,style:{flex:"0 0 68px"},...y(!0,!1),children:!g&&Ot(ah,{value:u,onChange:()=>u?m?.():h?.()})},"checkbox-column"),t.map(({key:o,textAlign:i,minWidth:a},s)=>{const l=d.find(e=>e.key===o),p=0===s&&!n,u=s===t.length-1,h="right"===i?"flex-end":"center"===i?"center":"flex-start";return Rt(Fm,{$variant:e,$minWidth:a,...y(p,u),children:[Ot(Or,{$width:"100%",$justifyContent:h,children:l?.component?Ot(l.component,{}):Ot(Hr,{size:Wr.XS,children:l?.rawValue||"-"})}),x.length?Ot(om,{isOpen:f&&u,actions:x,positionRight:r}):null]},`row-${c}-cell-${s}`)})]},`row-${c}`)}),[o,a,i,r,n,t]);return Ot(Cp,{gap:e===Dm.Pretty?8:0,elements:l})},Pm=({columnKey:e,sortDirection:t,sortByKey:o,onSort:i})=>{const r=Zt(),n=o===e?r.v2.colors.white[500]:r.v2.colors.grey[400],a=t===zo.Ascending?0:180;return Ot($a,{icon:e=>Ot(Dt,{fill:n,rotate:a,...e}),onClick:()=>i(e)})},Mm=({columnKey:e,filters:t,onFilter:o,rowsUnfiltered:i})=>{const r=Zt(),n=t[e]?.length?r.v2.colors.white[500]:r.v2.colors.grey[400],a=Lt(()=>Array.from(new Set(i.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})),[i,e]);return Ot(gh,{items:a,withMultiSelect:!0,selectedIds:t[e]?.map(e=>e.toString())??[],setSelectedIds:t=>o(e,t),defaultOpen:!1,iconButtonProps:{icon:e=>Ot(It,{fill:n,...e})}})},Bm=({variant:e,backgroundColor:t,columns:o,rowsUnfiltered:i,sortDirection:r,sortByKey:n,onSort:a,filters:s,onFilter:l,withCheckboxes:c,partiallySelected:d,allSelected:p,onSelectAll:u})=>Rt(_m,{children:[c&&Ot(Om,{$variant:e,$backgroundColor:t,$isFirst:!0,$isLast:!1,style:{flex:"0 0 68px"},children:Ot(ah,{partiallyChecked:d&&!p,value:p||!1,onChange:u})},"checkbox-column"),o.map(({key:d,label:p,noSort:u,noFilter:h,minWidth:m,textAlign:g},f)=>{const x=0===f&&!c,y=f===o.length-1;return Rt(Om,{$variant:e,$backgroundColor:t,$minWidth:m,$isFirst:x,$isLast:y,children:[Rt(zm,{$textAlign:g,children:[Ot(Hr,{size:Wr.XS,align:g,children:p}),!u&&Ot(Pm,{columnKey:d,sortDirection:r,sortByKey:n,onSort:a}),!h&&Ot(Mm,{columnKey:d,filters:s,onFilter:l,rowsUnfiltered:i})]}),!y&&e===Dm.Data&&Ot(Rm,{})]},`column-${d}`)})]}),Um=({variant:e,maxHeight:t="256px",headerBackgroundColor:o,isLoading:i,columns:r,rows:n,getRowActions:a,rowActionsPushRightPosition:s,withCheckboxes:l})=>{const[c,d]=Pt(zo.Ascending),[p,u]=Pt(""),[h,m]=Pt({}),g=Ut(e=>{u(e),d(e=>e===zo.Ascending?zo.Descending:zo.Ascending)},[]),f=Ut((e,t)=>{m(o=>({...o,[e]:t}))},[]),x=Lt(()=>{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?[...n].sort((t,o)=>{const i=e(t,p),r=e(o,p);return(c===zo.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)))(i,r)}):n).filter(t=>{for(const[o,i]of Object.entries(h))if(i.length&&!i.includes(e(t,o)))return!1;return!0})},[n,p,c,h]),{partiallySelected:y,allSelected:b}=Lt(()=>{const e=x.filter(e=>!e.hideCheckbox);return{partiallySelected:e.length>0&&e.some(e=>e.isSelected),allSelected:e.length>0&&e.every(e=>e.isSelected)}},[x]);return Ot(Tm,{$maxHeight:t,children:Rt(Nm,{$variant:e,children:[Ot(Im,{children:Ot(Bm,{variant:e,backgroundColor:o,columns:r,rowsUnfiltered:n,sortDirection:c,sortByKey:p,onSort:g,filters:h,onFilter:f,withCheckboxes:l,partiallySelected:y,allSelected:b,onSelectAll:e=>{e?x.forEach(e=>!e.hideCheckbox&&e.onSelect?.()):x.forEach(e=>!e.hideCheckbox&&e.onDeselect?.())}})}),x.length?Ot(Lm,{variant:e,columns:r,rows:x,getRowActions:a||(()=>[]),rowActionsPushRightPosition:s,withCheckboxes:l}):Ot(Fr,{style:{marginTop:"0.5rem"},children:i?Ot(qu,{withSpinner:!0}):Ot(oh,{})})]})})},jm=Yt.div`
2311
2348
  display: flex;
2312
2349
  align-items: center;
2313
2350
  justify-content: center;
@@ -2330,7 +2367,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2330
2367
  `:Qt`
2331
2368
  background-color: ${({theme:e})=>e.v2.colors.silver[300]};
2332
2369
  `}
2333
- `,Pm=({label:e,leftIcon:t,rightIcon:o,onClick:r,disabled:i})=>{const n=Zt(),a=i?n.v2.colors.grey[400]:n.v2.colors.white[500];return Rt(Lm,{$disabled:i,$withClick:!!r,onClick:()=>!i&&r?.(),children:[t&&Ot(t,{fill:a,size:16}),Ot(Xi,{color:a,size:Wi.XS,nowrap:!0,children:e}),o&&Ot(o,{fill:a,size:16})]})},Mm=Yt.div`
2370
+ `,Wm=({label:e,leftIcon:t,rightIcon:o,onClick:i,disabled:r})=>{const n=Zt(),a=r?n.v2.colors.grey[400]:n.v2.colors.white[500];return Rt(jm,{$disabled:r,$withClick:!!i,onClick:()=>!r&&i?.(),children:[t&&Ot(t,{fill:a,size:16}),Ot(Hr,{color:a,size:Wr.XS,nowrap:!0,children:e}),o&&Ot(o,{fill:a,size:16})]})},Gm=Yt.div`
2334
2371
  padding: 6px 12px;
2335
2372
 
2336
2373
  display: flex;
@@ -2348,7 +2385,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2348
2385
  border: 1px solid ${({theme:e})=>e.v2.colors.silver[300]};
2349
2386
  }
2350
2387
  `}
2351
- `,Bm=Yt.textarea`
2388
+ `,Hm=Yt.textarea`
2352
2389
  max-width: ${({$maxWidth:e})=>e||"unset"};
2353
2390
  min-height: ${({$minHeight:e})=>e||"50px"};
2354
2391
  flex: 1;
@@ -2373,11 +2410,11 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2373
2410
  color: ${({theme:e})=>e.v2.colors.grey[400]};
2374
2411
  }
2375
2412
  }
2376
- `,Um=({label:e,required:t,tooltip:o,badge:r,errorMessage:i,warnMessage:n,helpMessage:a,name:s,value:l,onChange:c,disabled:d,maxWidth:p,minHeight:u,...h})=>{const m=Bt(null),g=()=>{m.current&&(m.current.style.height="auto",m.current.style.height=`${m.current.scrollHeight}px`)};return Rt(Ri,{$gap:6,children:[Ot(du,{label:e,tooltip:o,required:t,badge:r}),Ot(Mm,{$disabled:d,$error:!!i,children:Ot(Bm,{ref:m,"data-id":s,name:s,value:l,onChange:e=>{e.stopPropagation(),g(),c?.(e)},onKeyDown:e=>{e.stopPropagation()},onFocus:g,onBlur:g,disabled:d,$maxWidth:p,$minHeight:u,...h})}),Ot(pu,{errorMessage:i,warnMessage:n,helpMessage:a})]})};var jm,Wm,Gm;!function(e){e.Default="default",e.SuccessError="successError"}(jm||(jm={})),function(e){e.S="small",e.L="large"}(Wm||(Wm={})),function(e){e.Left="left",e.Right="right"}(Gm||(Gm={}));const Xm=Yt.div`
2413
+ `,Xm=({label:e,required:t,tooltip:o,badge:i,errorMessage:r,warnMessage:n,helpMessage:a,name:s,value:l,onChange:c,disabled:d,maxWidth:p,minHeight:u,...h})=>{const m=Bt(null),g=()=>{m.current&&(m.current.style.height="auto",m.current.style.height=`${m.current.scrollHeight}px`)};return Rt(Rr,{$gap:6,children:[Ot(gu,{label:e,tooltip:o,required:t,badge:i}),Ot(Gm,{$disabled:d,$error:!!r,children:Ot(Hm,{ref:m,"data-id":s,name:s,value:l,onChange:e=>{e.stopPropagation(),g(),c?.(e)},onKeyDown:e=>{e.stopPropagation()},onFocus:g,onBlur:g,disabled:d,$maxWidth:p,$minHeight:u,...h})}),Ot(fu,{errorMessage:r,warnMessage:n,helpMessage:a})]})};var Vm,Jm,Km;!function(e){e.Default="default",e.SuccessError="successError"}(Vm||(Vm={})),function(e){e.S="small",e.L="large"}(Jm||(Jm={})),function(e){e.Left="left",e.Right="right"}(Km||(Km={}));const qm=Yt.div`
2377
2414
  display: flex;
2378
2415
  align-items: center;
2379
2416
  gap: ${({$gap:e})=>e}px;
2380
- `,Vm=Yt.div`
2417
+ `,Ym=Yt.div`
2381
2418
  position: relative;
2382
2419
  display: flex;
2383
2420
  align-items: center;
@@ -2387,11 +2424,11 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2387
2424
  height: ${({$size:e})=>e}px;
2388
2425
  padding: ${4}px;
2389
2426
  border-radius: ${({$size:e})=>2*e}px;
2390
- background-color: ${({$disabled:e,$onBgColor:t,$offBgColor:o,$variant:r,$value:i,theme:n})=>{if(e)return n.v2.colors.grey[800];if(t&&i)return t;if(o&&!i)return o;switch(r){case jm.SuccessError:return i?n.v2.colors.green[500]:n.v2.colors.red[500];case jm.Default:default:return i?n.v2.colors.purple[500]:n.v2.colors.grey[400]}}};
2427
+ background-color: ${({$disabled:e,$onBgColor:t,$offBgColor:o,$variant:i,$value:r,theme:n})=>{if(e)return n.v2.colors.grey[800];if(t&&r)return t;if(o&&!r)return o;switch(i){case Vm.SuccessError:return r?n.v2.colors.green[500]:n.v2.colors.red[500];case Vm.Default:default:return r?n.v2.colors.purple[500]:n.v2.colors.grey[400]}}};
2391
2428
 
2392
2429
  border: 1px solid ${({$disabled:e,theme:t})=>e?t.v2.colors.grey[600]:"transparent"};
2393
2430
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
2394
- `,Hm=Yt.div`
2431
+ `,Qm=Yt.div`
2395
2432
  position: absolute;
2396
2433
  top: 50%;
2397
2434
  left: ${({$value:e,$size:t})=>e?`calc(100% - ${t}px - 4px)`:"4px"};
@@ -2401,22 +2438,22 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as o,RenameAttributeIcon
2401
2438
  border-radius: 100%;
2402
2439
  background-color: ${({$color:e})=>e};
2403
2440
  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)"};
2404
- `,Jm=({variant:e=jm.Default,size:t=Wm.L,name:o,label:r,labelAlign:i=Gm.Right,labelColor:n,tooltip:a,badge:s,value:l,onChange:c,disabled:d,withIcon:p,onIcon:u=st,offIcon:h=ct,onBgColor:m,offBgColor:g,errorMessage:f,warnMessage:x,helpMessage:y})=>{const b=Zt(),$=d?b.v2.colors.grey[400]:b.v2.colors.white[500],v=t===Wm.S?10:16,w=n||b.v2.colors.silver[200],S=t===Wm.S?Wi.XXXS:Wi.XS,C=t===Wm.S?8:12;return Rt(Ri,{$gap:4,children:[Rt(Oi,{$justifyContent:"space-between",children:[Rt(Xm,{"data-id":o||"toggle"+(r?`-${r}`:""),$gap:C,children:[r&&i===Gm.Left&&Ot(Xi,{color:w,size:S,nowrap:!0,children:r}),Rt(Vm,{$onBgColor:m,$offBgColor:g,$variant:e,$size:v,$value:l,$disabled:d,onClick:e=>{e.stopPropagation(),d||c(!l)},children:[Ot(Hm,{$color:$,$size:v,$value:l,$disabled:d}),p&&Rt(Ft,{children:[Ot(u,{size:v,fill:$}),Ot(h,{size:v,fill:$})]})]}),r&&i===Gm.Right&&Ot(Xi,{color:w,size:S,nowrap:!0,children:r})]}),Ot(du,{tooltip:a,badge:s})]}),Ot(pu,{errorMessage:f,warnMessage:x,helpMessage:y})]})},Km=Yt.div`
2441
+ `,Zm=({variant:e=Vm.Default,size:t=Jm.L,name:o,label:i,labelAlign:r=Km.Right,labelColor:n,tooltip:a,badge:s,value:l,onChange:c,disabled:d,withIcon:p,onIcon:u=st,offIcon:h=ct,onBgColor:m,offBgColor:g,errorMessage:f,warnMessage:x,helpMessage:y})=>{const b=Zt(),$=d?b.v2.colors.grey[400]:b.v2.colors.white[500],v=t===Jm.S?10:16,w=n||b.v2.colors.silver[200],S=t===Jm.S?Wr.XXXS:Wr.XS,C=t===Jm.S?8:12;return Rt(Rr,{$gap:4,children:[Rt(Or,{$justifyContent:"space-between",children:[Rt(qm,{"data-id":o||"toggle"+(i?`-${i}`:""),$gap:C,children:[i&&r===Km.Left&&Ot(Hr,{color:w,size:S,nowrap:!0,children:i}),Rt(Ym,{$onBgColor:m,$offBgColor:g,$variant:e,$size:v,$value:l,$disabled:d,onClick:e=>{e.stopPropagation(),d||c(!l)},children:[Ot(Qm,{$color:$,$size:v,$value:l,$disabled:d}),p&&Rt(Ft,{children:[Ot(u,{size:v,fill:$}),Ot(h,{size:v,fill:$})]})]}),i&&r===Km.Right&&Ot(Hr,{color:w,size:S,nowrap:!0,children:i})]}),Ot(gu,{tooltip:a,badge:s})]}),Ot(fu,{errorMessage:f,warnMessage:x,helpMessage:y})]})},eg=Yt.div`
2405
2442
  display: flex;
2406
2443
  flex-direction: ${({$direction:e})=>e===Fo.Horizontal?"row":"column"};
2407
2444
  gap: ${({$direction:e})=>e===Fo.Horizontal?16:8}px;
2408
- `,qm=({direction:e=Fo.Vertical,title:t,size:o,disabled:r,options:i,values:n,setValues:a})=>{const s=o===Wm.S?Wi.XS:Wi.S;return Rt(Km,{$direction:e,children:[t&&Ot(Xi,{size:s,children:t}),i.map(e=>Ot(Jm,{...e,labelAlign:Gm.Right,value:n[e.id],onChange:t=>{return o=e.id,r=t,void a(e=>{const t={...e};return o?t[o]=r:i.forEach(e=>t[e.id]=r),t});var o,r},disabled:r,size:o},`${t}-toggle-${e.id}`))]})},Ym=Yt.div`
2445
+ `,tg=({direction:e=Fo.Vertical,title:t,size:o,disabled:i,options:r,values:n,setValues:a})=>{const s=o===Jm.S?Wr.XS:Wr.S;return Rt(eg,{$direction:e,children:[t&&Ot(Hr,{size:s,children:t}),r.map(e=>Ot(Zm,{...e,labelAlign:Km.Right,value:n[e.id],onChange:t=>{return o=e.id,i=t,void a(e=>{const t={...e};return o?t[o]=i:r.forEach(e=>t[e.id]=i),t});var o,i},disabled:i,size:o},`${t}-toggle-${e.id}`))]})},og=Yt.div`
2409
2446
  min-width: 530px;
2410
- `,Qm=Yt.div`
2447
+ `,ig=Yt.div`
2411
2448
  display: flex;
2412
2449
  flex-direction: column;
2413
2450
  align-items: center;
2414
2451
  gap: 16px;
2415
2452
  padding: 24px;
2416
- `,Zm=Yt.div`
2453
+ `,rg=Yt.div`
2417
2454
  display: flex;
2418
2455
  justify-content: center;
2419
2456
  gap: 16px;
2420
2457
  padding: 16px 24px;
2421
2458
  background-color: ${({theme:e})=>e.v2.colors.silver[1e3]};
2422
- `,eg=({visual:e,title:t,description:o,isOpen:r,onClose:i,onDeny:n,denyLabel:a="Deny",onApprove:s,approveLabel:l="Approve",...c})=>{const d=Zt();return Ot(cm,{isOpen:r,onClose:i,...c,children:Rt(Ym,{children:[Rt(Qm,{children:[e&&Ot(e,{}),Ot(Xi,{size:Wi.M,weight:500,color:d.v2.colors.white[500],children:t}),Ot(Ri,{$alignItems:"center",$gap:4,children:o.split("\n").map(e=>Ot(Xi,{size:Wi.XS,weight:400,color:d.v2.colors.silver[200],children:e},e))})]}),(n||s)&&Rt(Zm,{children:[Ot(Ku,{variant:Vu.Secondary,label:a,onClick:()=>{n?.(),i()}}),s&&Ot(Ku,{variant:Vu.Primary,label:l,onClick:()=>{s(),i()}})]})]})})};export{lr as $,To as A,Ku as B,th as C,Xh as D,Um as E,Ri as F,$o as G,Vh as H,gu as I,li as J,No as K,Xu as L,Sn as M,Yu as N,Nn as O,wi as P,hr as Q,Sh as R,bp as S,Lo as T,vi as U,zu as V,eg as W,kr as X,nr as Y,hs as Z,ar as _,du as a,nc as a$,fr as a0,gr as a1,sr as a2,ir as a3,su as a4,Cn as a5,zr as a6,Sr as a7,wr as a8,Ba as a9,Aa as aA,Ja as aB,hi as aC,Eh as aD,nh as aE,ih as aF,bh as aG,_r as aH,Fa as aI,$h as aJ,Ar as aK,Ii as aL,zm as aM,Sm as aN,nm as aO,wm as aP,ei as aQ,Zs as aR,Lh as aS,ra as aT,vh as aU,Th as aV,_h as aW,cr as aX,_i as aY,Yh as aZ,Hc as a_,Wa as aa,ja as ab,jo as ac,xn as ad,yn as ae,Er as af,$a as ag,ya as ah,$n as ai,vn as aj,Br as ak,fu as al,_n as am,wn as an,Ko as ao,Wm as ap,ji as aq,Ua as ar,Bn as as,Ln as at,ph as au,Qu as av,Bo as aw,bm as ax,dh as ay,va as az,Oi as b,Eo as b$,Ls as b0,Zi as b1,uc as b2,tp as b3,ou as b4,lp as b5,Yd as b6,fs as b7,hl as b8,Tp as b9,bi as bA,ti as bB,Rn as bC,Co as bD,wl as bE,Wr as bF,Al as bG,Mi as bH,Bi as bI,Wd as bJ,Ur as bK,Ui as bL,Vc as bM,jl as bN,nu as bO,aa as bP,Di as bQ,da as bR,Un as bS,Ol as bT,rr as bU,Nr as bV,Xr as bW,Mr as bX,Pp as bY,xa as bZ,Dr as b_,kp as ba,hd as bb,mp as bc,Zp as bd,qi as be,In as bf,Rd as bg,pd as bh,Rs as bi,ha as bj,jr as bk,bn as bl,ll as bm,nd as bn,Or as bo,Uo as bp,Fn as bq,Ni as br,rs as bs,Pi as bt,ks as bu,mn as bv,xp as bw,Rr as bx,ul as by,Jo as bz,pu as c,er as c$,br as c0,ko as c1,ga as c2,Ta as c3,ds as c4,zi as c5,_p as c6,Da as c7,yi as c8,xc as c9,tc as cA,fl as cB,Vd as cC,oi as cD,di as cE,gl as cF,Ml as cG,Ul as cH,mi as cI,Ci as cJ,_a as cK,tr as cL,Oc as cM,Lr as cN,Ha as cO,kl as cP,Fr as cQ,Tc as cR,Dn as cS,Ir as cT,Bs as cU,Yr as cV,bl as cW,Hs as cX,Ao as cY,Zo as cZ,Oo as c_,Cr as ca,Na as cb,wa as cc,Gn as cd,vr as ce,tl as cf,xl as cg,Wo as ch,$i as ci,Ca as cj,ci as ck,xo as cl,xr as cm,Vp as cn,Qc as co,Hr as cp,Kp as cq,zn as cr,Ea as cs,Os as ct,Zn as cu,si as cv,fa as cw,Yo as cx,ai as cy,fn as cz,vo as d,Pu as d$,Qo as d0,Mo as d1,Ho as d2,Ro as d3,Fo as d4,_o as d5,or as d6,Po as d7,ur as d8,pr as d9,So as dA,Ti as dB,kn as dC,En as dD,An as dE,qn as dF,ia as dG,Qn as dH,Kn as dI,Ra as dJ,Pa as dK,Ma as dL,ma as dM,Jl as dN,Gl as dO,dd as dP,Nd as dQ,Cd as dR,zd as dS,Ud as dT,$l as dU,pp as dV,Li as dW,xd as dX,Hi as dY,Ji as dZ,Ki as d_,dr as da,qo as db,yr as dc,mr as dd,zo as de,Io as df,yo as dg,Tr as dh,wo as di,Pr as dj,Gr as dk,Vr as dl,Jr as dm,Kr as dn,qr as dp,Qr as dq,Zr as dr,ri as ds,ui as dt,gi as du,xi as dv,Si as dw,ki as dx,Ei as dy,Ai as dz,Fi as e,Lu as e0,Uu as e1,gh as e2,fh as e3,rh as e4,Kh as e5,cm as e6,pm as e7,vm as e8,fm as e9,Ch as ea,xu as eb,Pm as ec,qm as ed,jm as ee,Wi as f,ku as g,gm as h,Vo as i,Vu as j,Xi as k,Yn as l,Xo as m,pi as n,rm as o,Jm as p,Gm as q,Qh as r,ns as s,Hu as t,za as u,Go as v,Do as w,pa as x,$r as y,wu as z};
2459
+ `,ng=({visual:e,title:t,description:o,isOpen:i,onClose:r,onDeny:n,denyLabel:a="Deny",onApprove:s,approveLabel:l="Approve",...c})=>{const d=Zt();return Ot(mm,{isOpen:i,onClose:r,...c,children:Rt(og,{children:[Rt(ig,{children:[e&&Ot(e,{}),Ot(Hr,{size:Wr.M,weight:500,color:d.v2.colors.white[500],children:t}),Ot(Rr,{$alignItems:"center",$gap:4,children:o.split("\n").map(e=>Ot(Hr,{size:Wr.XS,weight:400,color:d.v2.colors.silver[200],children:e},e))})]}),(n||s)&&Rt(rg,{children:[Ot(eh,{variant:Yu.Secondary,label:a,onClick:()=>{n?.(),r()}}),s&&Ot(eh,{variant:Yu.Primary,label:l,onClick:()=>{s(),r()}})]})]})})};export{uu as $,kh as A,Qu as B,Qs as C,ns as D,Nn as E,Rr as F,$n as G,wr as H,$u as I,hi as J,No as K,vr as L,lr as M,oh as N,ki as O,$m as P,Xo as Q,ni as R,Ih as S,Hr as T,ys as U,ai as V,li as W,fi as X,gi as Y,si as Z,ri as _,Yu as a,xc as a$,Cn as a0,zi as a1,za as a2,Si as a3,wi as a4,Ba as a5,Wa as a6,ja as a7,Lo as a8,jo as a9,hr as aA,dh as aB,ch as aC,Ch as aD,Fa as aE,Ai as aF,Ir as aG,Um as aH,Dm as aI,dm as aJ,Am as aK,er as aL,rl as aM,jh as aN,ia as aO,Dh as aP,Eh as aQ,Rh as aR,Lh as aS,ci as aT,_r as aU,Nu as aV,om as aW,Qc as aX,dc as aY,js as aZ,Zr as a_,xn as aa,yn as ab,Ei as ac,$a as ad,ya as ae,qu as af,vn as ag,Bi as ah,Yh as ai,vu as aj,_n as ak,wn as al,Ko as am,Jm as an,jr as ao,Ua as ap,Bn as aq,Ln as ar,fh as as,ih as at,Bo as au,Cm as av,gh as aw,qh as ax,Aa as ay,Ja as az,Fr as b,ko as b$,ap as b0,su as b1,hp as b2,op as b3,vs as b4,yl as b5,Rp as b6,Np as b7,yd as b8,bp as b9,Co as bA,Al as bB,Wi as bC,_l as bD,Mr as bE,Br as bF,Jd as bG,Ui as bH,Ur as bI,Yc as bJ,Vl as bK,du as bL,aa as bM,Dr as bN,da as bO,Un as bP,Pl as bQ,ii as bR,Cp as bS,Ni as bT,Hi as bU,Mi as bV,Wp as bW,xa as bX,Di as bY,Eo as bZ,bi as b_,ru as ba,qr as bb,In as bc,Md as bd,fd as be,Ms as bf,ha as bg,ji as bh,bn as bi,hl as bj,dd as bk,Oi as bl,Uo as bm,Fn as bn,Nr as bo,is as bp,Pr as bq,Ns as br,mn as bs,wp as bt,Ri as bu,xl as bv,Jo as bw,br as bx,tr as by,Rn as bz,Or as c,Oo as c$,ga as c0,Ta as c1,ds as c2,zr as c3,Lp as c4,Da as c5,yr as c6,wc as c7,Sn as c8,Ci as c9,vl as cA,Yd as cB,wu as cC,or as cD,dr as cE,$l as cF,Gl as cG,Xl as cH,mr as cI,Cr as cJ,_a as cK,ti as cL,Pc as cM,Li as cN,Va as cO,Nl as cP,Fi as cQ,Rc as cR,Dn as cS,Ii as cT,Hs as cU,Yi as cV,Cl as cW,ng as cX,Uu as cY,Ao as cZ,Zo as c_,Na as ca,wa as cb,Gn as cc,vi as cd,al as ce,wl as cf,Wo as cg,$r as ch,Ca as ci,cr as cj,xo as ck,xi as cl,Yp as cm,id as cn,Vi as co,eu as cp,zn as cq,Ea as cr,Ps as cs,Zn as ct,sr as cu,fa as cv,Yo as cw,ar as cx,fn as cy,ac as cz,ah as d,Kr as d$,ei as d0,Qo as d1,Mo as d2,Vo as d3,Ro as d4,Fo as d5,_o as d6,oi as d7,Po as d8,ui as d9,Ar as dA,So as dB,Tr as dC,kn as dD,En as dE,An as dF,qn as dG,ra as dH,Qn as dI,Kn as dJ,Ra as dK,Pa as dL,Ma as dM,ma as dN,Zl as dO,Kl as dP,gd as dQ,Fd as dR,Td as dS,Ud as dT,Xd as dU,kl as dV,fp as dW,Lr as dX,wd as dY,Vr as dZ,Jr as d_,pi as da,di as db,qo as dc,yi as dd,mi as de,zo as df,Io as dg,yo as dh,Ti as di,wo as dj,Pi as dk,Gi as dl,Xi as dm,Ji as dn,Ki as dp,qi as dq,Qi as dr,Zi as ds,ir as dt,ur as du,gr as dv,xr as dw,Sr as dx,kr as dy,Er as dz,Wr as e,Wu as e0,ju as e1,Xu as e2,$h as e3,vh as e4,lh as e5,em as e6,mm as e7,fm as e8,Em as e9,vm as ea,Th as eb,Wm as ec,tg as ed,Vm as ee,To as f,_i as g,Yn as h,gu as i,fu as j,Ho as k,pr as l,lm as m,Zm as n,Km as o,im as p,eh as q,Go as r,Do as s,pa as t,va as u,vo as v,$i as w,Au as x,Xm as y,$o as z};