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]=`c3d54986-7771-451a-ab37-dc50095e8b1b`,e._sentryDebugIdIdentifier=`sentry-dbid-c3d54986-7771-451a-ab37-dc50095e8b1b`)}catch{}import{ng as e}from"./entry.client-mpghtlrl.js";import{r as t}from"./gamepad-nav-virtual-lh6mhh03.js";import{t as n}from"./useDeferRestore-dphp89mz.js";import{i as r,r as i,t as a}from"./VirtualGridCore-jyuwjfh8.js";var o=e(),s=({items:e,renderItem:s,columns:c,maxRows:l,gridRowClassName:u,className:d,gapSize:f,overscan:p=1,virtualizerOptions:m,defaultItemHeightEstimate:h=100,recalculateDependency:g,role:_,...v})=>{"use no memo";let y=i({itemCount:e.length,columns:c,maxRows:l,defaultItemHeightEstimate:h}),b=t({count:y.rowsCount,estimateSize:y.estimateSize,roundElementDimensions:!1,overscan:p,...m}),x=b.virtualizer.getVirtualItems(),S=r({config:y,virtualizerResult:b,itemCount:e.length,columns:c,gridRowClassName:u,gapSize:f,recalculateDependency:g});return n(!S.hasMeasured&&e.length>0),(0,o.jsx)(a,{items:e,renderItem:s,columns:c,className:d,defaultItemHeightEstimate:h,role:_,telemetryLocation:`VirtualGrid`,virtualizerResult:b,virtualRows:x,gridState:S,...v})};export{s as t};