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]=`dd30fcc5-8129-4e2b-8da0-6ba9c4f455ba`,e._sentryDebugIdIdentifier=`sentry-dbid-dd30fcc5-8129-4e2b-8da0-6ba9c4f455ba`)}catch{}import{o as e}from"./rolldown-runtime-eb2nym32.js";import{$ as t,tt as n}from"./xds-react-components-lks62tbl.js";import{Ag as r,Fg as i,or as a}from"./entry.client-dr7r6s9a.js";import{r as o}from"./classNames-ikl45qo7.js";var s=i(),c=e(a(),1),l=r(),u=e=>{let r=(0,s.c)(17),{title:i,description:a,currentValue:u,options:d,onOptionSelected:f}=e,p;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,c.default)(`flex flex-col gap-internal-gap-tight`,o),r[0]=p):p=r[0];let m;r[1]===i?m=r[2]:(m=(0,l.jsx)(`h3`,{className:`text-noninteractive-content-primary-content type-label`,children:i}),r[1]=i,r[2]=m);let h;r[3]===a?h=r[4]:(h=a&&(0,l.jsx)(`div`,{className:`text-noninteractive-content-primary-content type-caption`,children:a}),r[3]=a,r[4]=h);let g;if(r[5]!==f||r[6]!==d){let e;r[8]===f?e=r[9]:(e=e=>(0,l.jsx)(t,{id:e.id,label:e.label,onPress:()=>f(e.id)},e.id),r[8]=f,r[9]=e),g=d.map(e),r[5]=f,r[6]=d,r[7]=g}else g=r[7];let _;r[10]!==u||r[11]!==g?(_=(0,l.jsx)(n,{placeholder:u,selectedItem:u,className:`w-full`,children:g}),r[10]=u,r[11]=g,r[12]=_):_=r[12];let v;return r[13]!==m||r[14]!==h||r[15]!==_?(v=(0,l.jsxs)(`div`,{className:p,children:[m,h,_]}),r[13]=m,r[14]=h,r[15]=_,r[16]=v):v=r[16],v};export{u as t};