Liferay.Loader.define("layout-taglib@11.0.7/render_layout_structure/js/SimpleCollectionPagination",["module","exports","require","frontend-js-web"],(function(e,o,t){window;Object.defineProperty(o,"__esModule",{value:!0}),o.default=function({activePage:e,collectionId:o}){const t=document.getElementById("paginationButtons_".concat(o)),a=new URLSearchParams(window.location.search),i=e=>{a.set("page_number_".concat(o),e),window.location.search=a},c=(0,n.delegate)(t,"click",".next",(()=>i(e+1))),r=(0,n.delegate)(t,"click",".previous",(()=>i(e-1)));return{dispose(){c.dispose(),r.dispose()}}};var n=t("frontend-js-web")}));
//# sourceMappingURL=SimpleCollectionPagination.js.map