Liferay.Loader.define("layout-admin-web@5.0.101/js/SelectCardHandler",["module","exports","require","frontend-js-web"],(function(e,t,a){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({eventName:e,selector:t}){const a=(0,d.delegate)(document.body,"click",t,(t=>{const a=document.querySelectorAll(".card.active");a.length&&a.forEach((e=>{e.classList.remove("active")}));const r=t.delegateTarget;r.classList.add("active"),(0,d.getOpener)().Liferay.fire(e,{data:r.dataset})}));return{dispose(){a.dispose()}}};var d=a("frontend-js-web")}));
//# sourceMappingURL=SelectCardHandler.js.map