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