Liferay.Loader.define("@liferay/fragment-renderer-collection-filter-impl@1.0.21/js/CollectionFilterRegister",["module","exports","require"],(function(e,t,n){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.getCollectionFilterValue=function getCollectionFilterValue(t,n){let o=new URL(window.location.href).searchParams.getAll("".concat(e).concat(t,"_").concat(n));o.length?1===o.length&&(o=o[0]):o=null;return o},t.setCollectionFilterValue=function setCollectionFilterValue(t,n,o){if(document.body.classList.contains("has-edit-mode-menu"))return;const l="".concat(e).concat(t,"_").concat(n),r=new URL(window.location.href);Array.isArray(o)?(r.searchParams.delete(l),o.forEach((e=>{r.searchParams.append(l,e)}))):r.searchParams.set(l,o);window.location.href=r.toString()},t.default=function CollectionFilterRegister({filterPrefix:t}){e=t};let e=""}}));
//# sourceMappingURL=CollectionFilterRegister.js.map