try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`a4fc8cbf-e4b2-4a90-a47a-e575652822ad`,e._sentryDebugIdIdentifier=`sentry-dbid-a4fc8cbf-e4b2-4a90-a47a-e575652822ad`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{Ag as t,Fr as n,_r as r,hi as i,ng as a,pi as o,yt as s}from"./entry.client-mpghtlrl.js";import{M as c,ft as l}from"./xds-react-components-ihgca01z.js";import{n as u,t as d}from"./DialogShell-ga7ic6wy.js";var f=t(),p=e(o(),1),m=a(),h=r(e=>{let t=(0,f.c)(13),{title:n,tags:r}=e,i;t[0]===n?i=t[1]:(i={title:{text:n,sizeClassName:`type-title4`}},t[0]=n,t[1]=i);let a=i,o;t[2]===a?o=t[3]:(o=(0,m.jsx)(d.NavigationHeader,{showClose:!0,title:a}),t[2]=a,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,p.default)(`!mb-0 flex flex-col items-start self-stretch`),c=(0,p.default)(`flex flex-row flex-wrap gap-2`),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=r?.map(g),t[6]=r,t[7]=l);let u;t[8]===l?u=t[9]:(u=(0,m.jsx)(d.ScrollContainer,{className:s,children:(0,m.jsx)(`div`,{className:c,children:l})}),t[8]=l,t[9]=u);let h;return t[10]!==o||t[11]!==u?(h=(0,m.jsxs)(m.Fragment,{children:[o,u]}),t[10]=o,t[11]=u,t[12]=h):h=t[12],h},e=>({...e}));function g(e,t){return(0,m.jsx)(c,{...e},t)}var _=e=>{let t=(0,f.c)(17),{title:r,tags:a}=e,o=u.useComponent(),c=h.useComponent(),d;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(d={edge:`bottom`,centered:!0},t[0]=d):d=t[0];let p=l(d),g;t[1]===p?g=t[2]:(g=n(p),t[1]=p,t[2]=g);let _=g,v;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(v={default:!0,SM_25:!1},t[3]=v):v=t[3];let{data:y}=i(v),b=y?_:void 0,x=!y,S;t[4]!==x||t[5]!==y?(S=s(`modal-generic modal-floating flex flex-col`,`border-container-backgrounds-elevation-border-level-4`,`shadow-container-backgrounds-elevation-background-level-4`,`bg-container-backgrounds-elevation-background-level-4`,{"modal-floating w-template-overlays-modal-size-medium-width-centered":x,"modal-docked w-template-overlays-modal-size-large-width-slidesheet h-template-overlays-modal-size-large-height-slidesheet":y},`xsl-10:(w-template-overlays-modal-size-medium-width-slidesheet h-[309px])`,`density-low:(sm-25:h-[552px] md-20:h-[498px] lg-10:h-[444px] xl-10:h-[704px] xl-20:h-[624px])`,`density-high:(xl-10:(w-template-overlays-modal-size-medium-width-centered h-[288px]) xl-20:(w-template-overlays-modal-size-medium-width-centered h-[328px]) sm-25:h-[328px] md-20:w-[512px])`),t[4]=x,t[5]=y,t[6]=S):S=t[6];let C;t[7]!==c||t[8]!==r||t[9]!==a?(C=(0,m.jsx)(c,{title:r,tags:a}),t[7]=c,t[8]=r,t[9]=a,t[10]=C):C=t[10];let w;return t[11]!==o||t[12]!==b||t[13]!==S||t[14]!==r||t[15]!==C?(w=(0,m.jsx)(o,{autoHeight:!0,positionStyle:b,className:S,accessibleTitle:r,children:C}),t[11]=o,t[12]=b,t[13]=S,t[14]=r,t[15]=C,t[16]=w):w=t[16],w};export{_ as TagListDialog,_ as default};