Liferay.Loader.define("@liferay/commerce-warehouse-web@4.0.41/js/qualifiers",["module","exports","require","commerce-frontend-js/utilities/index","frontend-js-web"],(function(e,r,t){window;Object.defineProperty(r,"__esModule",{value:!0}),r.default=function _default({currentURL:e,namespace:r,searchParam:t,selector:c}){const o=(0,n.createPortletURL)(e),i=document.querySelectorAll("[name=".concat(r).concat(c,"]")),handleSelectChange=e=>{e.target.checked&&(o.searchParams.set("".concat(r).concat(t),e.target.value),(0,a.liferayNavigate)(o.toString()))};return i.forEach((e=>{e.addEventListener("change",handleSelectChange)})),{dispose(){i.forEach((e=>{e.removeEventListener("change",handleSelectChange)}))}}};var a=t("commerce-frontend-js/utilities/index"),n=t("frontend-js-web")}));
//# sourceMappingURL=qualifiers.js.map