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]=`88724a10-81ff-4e05-913f-cc317b285260`,e._sentryDebugIdIdentifier=`sentry-dbid-88724a10-81ff-4e05-913f-cc317b285260`)}catch{}import{o as e}from"./rolldown-runtime-eb2nym32.js";import{rt as t}from"./xds-react-components-lks62tbl.js";import{Ag as n,Dn as r,Fg as i,U as a,cr as o,or as s}from"./entry.client-dr7r6s9a.js";import{t as c}from"./DescriptionBody-m0jwtnw4.js";import{n as l,t as u}from"./DialogShell-k2jpaw9r.js";var d=i(),f=e(s(),1),p=n(),m=({descriptionText:e,attributes:t})=>(0,p.jsx)(u.ScrollContainer,{className:(0,f.default)(`!mb-0 flex flex-col items-start self-stretch`),children:(0,p.jsx)(c,{descriptionText:e,attributes:t})}),h=e=>{let n=(0,d.c)(21),{title:i,descriptionText:s,attributes:c}=e,f=l.useComponent(),h;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(h={edge:`bottom`,centered:!0},n[0]=h):h=n[0];let g=t(h),_;n[1]===g?_=n[2]:(_=r(g),n[1]=g,n[2]=_);let v=_,y;n[3]===Symbol.for(`react.memo_cache_sentinel`)?(y={default:!0,SM_25:!1},n[3]=y):y=n[3];let{data:b}=o(y),x=b?v:void 0,S;n[4]===i?S=n[5]:(S={title:{text:i,sizeClassName:`type-title2`}},n[4]=i,n[5]=S);let C=S,w=!b,T;n[6]!==w||n[7]!==b?(T=a(`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-large-width-slidesheet h-template-overlays-modal-size-large-height-centered":w,"modal-docked w-template-overlays-modal-size-large-width-slidesheet h-template-overlays-modal-size-large-height-slidesheet":b},`xsl-10:(w-template-overlays-modal-size-medium-width-slidesheet h-[309px])`),n[6]=w,n[7]=b,n[8]=T):T=n[8];let E;n[9]===C?E=n[10]:(E=(0,p.jsx)(u.NavigationHeader,{showClose:!0,title:C}),n[9]=C,n[10]=E);let D;n[11]!==s||n[12]!==c?(D=(0,p.jsx)(m,{descriptionText:s,attributes:c}),n[11]=s,n[12]=c,n[13]=D):D=n[13];let O;return n[14]!==f||n[15]!==x||n[16]!==T||n[17]!==i||n[18]!==E||n[19]!==D?(O=(0,p.jsxs)(f,{autoHeight:!0,positionStyle:x,className:T,accessibleTitle:i,children:[E,D]}),n[14]=f,n[15]=x,n[16]=T,n[17]=i,n[18]=E,n[19]=D,n[20]=O):O=n[20],O};export{h as GameDescriptionDialog,h as default};