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]=`0863ad26-016f-4ca3-8657-434a2c4c6049`,e._sentryDebugIdIdentifier=`sentry-dbid-0863ad26-016f-4ca3-8657-434a2c4c6049`)}catch{}import"./rolldown-runtime-nx40z1zs.js";import{Ag as e,Fr as t,Hm as n,_r as r,hi as i,ng 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"./PlatformCapabilitiesBody-niw9bzyg.js";import{n as l,t as u}from"./DialogShell-ga7ic6wy.js";var d=e(),f=a(),p=r(({playableOn:e,playableWith:t,capabilities:n})=>(0,f.jsxs)(u.ScrollContainer,{className:`!mb-0 !mt-0 flex flex-col items-start self-stretch !pt-0 [--scrollbar-track-margin-top:var(--modal-spacing)]`,children:[(0,f.jsx)(u.NavigationHeader,{showClose:!0,className:`!px-0 !pb-0`}),(0,f.jsx)(c,{playableOn:e,playableWith:t,capabilities:n})]}),e=>e),m=e=>{let r=(0,d.c)(16),a=l.useComponent(),c=p.useComponent(),u;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(u={edge:`bottom`,centered:!0},r[0]=u):u=r[0];let m=s(u),h;r[1]===m?h=r[2]:(h=t(m),r[1]=m,r[2]=h);let g=h,_;r[3]===Symbol.for(`react.memo_cache_sentinel`)?(_={default:!0,SM_25:!1},r[3]=_):_=r[3];let{data:v}=i(_),y=v?g:void 0,{locPlayableOn:b,locCapabilities:x}=n(),S=`${b()} - ${x()}`,C=!v,w;r[4]!==C||r[5]!==v?(w=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-medium-width-centered h-template-overlays-modal-size-large-height-centered":C,"modal-docked w-template-overlays-modal-size-large-width-slidesheet h-template-overlays-modal-size-large-height-slidesheet":v},`xsl-10:(w-template-overlays-modal-size-medium-width-slidesheet h-[317px])`,`density-low:(sm-25:h-[532px] md-20:h-[478px] lg-10:h-[440px] xl-10:h-[648px] xl-20:h-[600px])`,`density-high:(sm-25:h-[320px] md-20:h-[360px] lg-10:h-[376px] xl-10:h-[336px])`),r[4]=C,r[5]=v,r[6]=w):w=r[6];let T;r[7]!==c||r[8]!==e?(T=(0,f.jsx)(c,{...e}),r[7]=c,r[8]=e,r[9]=T):T=r[9];let E;return r[10]!==a||r[11]!==y||r[12]!==w||r[13]!==S||r[14]!==T?(E=(0,f.jsx)(a,{autoHeight:!0,positionStyle:y,className:w,accessibleTitle:S,children:T}),r[10]=a,r[11]=y,r[12]=w,r[13]=S,r[14]=T,r[15]=E):E=r[15],E};export{m as PlayableOnCapabilitiesDialog,m as default};