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]=`eba022f5-8fa0-4c70-a655-5ac338c3bed7`,e._sentryDebugIdIdentifier=`sentry-dbid-eba022f5-8fa0-4c70-a655-5ac338c3bed7`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{Ag as t,Fr as n,hi as r,ng as i,pi as a,yt as o}from"./entry.client-mpghtlrl.js";import{ft as s}from"./xds-react-components-ihgca01z.js";import{t as c}from"./Description-gn7yegek.js";import{n as l,t as u}from"./DialogShell-ga7ic6wy.js";var d=t(),f=e(a(),1),p=i(),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 t=(0,d.c)(21),{title:i,descriptionText:a,attributes:c}=e,f=l.useComponent(),h;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(h={edge:`bottom`,centered:!0},t[0]=h):h=t[0];let g=s(h),_;t[1]===g?_=t[2]:(_=n(g),t[1]=g,t[2]=_);let v=_,y;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(y={default:!0,SM_25:!1},t[3]=y):y=t[3];let{data:b}=r(y),x=b?v:void 0,S;t[4]===i?S=t[5]:(S={title:{text:i,sizeClassName:`type-title2`}},t[4]=i,t[5]=S);let C=S,w=!b,T;t[6]!==w||t[7]!==b?(T=o(`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])`),t[6]=w,t[7]=b,t[8]=T):T=t[8];let E;t[9]===C?E=t[10]:(E=(0,p.jsx)(u.NavigationHeader,{showClose:!0,title:C}),t[9]=C,t[10]=E);let D;t[11]!==a||t[12]!==c?(D=(0,p.jsx)(m,{descriptionText:a,attributes:c}),t[11]=a,t[12]=c,t[13]=D):D=t[13];let O;return t[14]!==f||t[15]!==x||t[16]!==T||t[17]!==i||t[18]!==E||t[19]!==D?(O=(0,p.jsxs)(f,{autoHeight:!0,positionStyle:x,className:T,accessibleTitle:i,children:[E,D]}),t[14]=f,t[15]=x,t[16]=T,t[17]=i,t[18]=E,t[19]=D,t[20]=O):O=t[20],O};export{h as GameDescriptionDialog,h as default};