import{At as e,bt as t}from"./dom-CdSnbvZ6.js";import{t as n}from"./settings-BF7JcItU.js";function r(r,i={}){let a=n(),o=a.getTableRowsPerPage(r,Number.isInteger(i.rowsPerPage)&&i.rowsPerPage>=0?i.rowsPerPage:15),s=e({...i,rowsPerPage:o});return t(()=>s.value.rowsPerPage,e=>{a.setTableRowsPerPage(r,e)},{immediate:!0}),s}export{r as t};