pte(e,n,t),getStopIndexForStartIndex:(e,t,n,a)=>{const{height:o,total:r,layout:l,width:i}=e,u=Rs(l)?i:o,c=cl(e,t,a),d=n+u;let f=c.offset+c.size,p=t;for(;p {const a=bo(e,t,n,"column");return[a.size,a.offset]},getRowPosition:(e,t,n)=>{const a=bo(e,t,n,"row");return[a.size,a.offset]},getColumnOffset:(e,t,n,a,o,r)=>H1(e,t,n,a,o,"column",r),getRowOffset:(e,t,n,a,o,r)=>H1(e,t,n,a,o,"row",r),getColumnStartIndexForOffset:(e,t,n)=>z1(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,a)=>{const o=bo(e,t,a,"column"),r=n+e.width;let l=o.offset+o.size,i=t;for(;i 0&&(p.value=0))},S=R=>{const P=R.code,{up:N,down:V,left:B,right:W}=Le;if(![N,V,B,W].includes(P))return;const Y=Array.from(R.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),D=Y.indexOf(R.target);let L;P===B||P===N?D===0?L=Y.length-1:L=D-1:D