import{r as t,c as e,h as s,H as i}from"./p-567d4700.js";import{K as n}from"./p-c55c67b2.js";var a=undefined&&undefined.__classPrivateFieldGet||function(t,e,s,i){if(s==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e==="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return s==="m"?i:s==="a"?i.call(t):i?i.value:e.get(t)};var o,r,c,h;const d=class{constructor(s){t(this,s);this.klevuLastSearchUpdate=e(this,"klevuLastSearchUpdate",7);this.klevuFilterSelectionUpdate=e(this,"klevuFilterSelectionUpdate",7);this.klevuFiltersApplied=e(this,"klevuFiltersApplied",7);this.klevuClickEventSent=e(this,"klevuClickEventSent",7);o.set(this,(t=>{this.klevuClickEventSent.emit(t.detail)}));r.set(this,(t=>{this.klevuFiltersApplied.emit(t.detail)}));c.set(this,(t=>{this.klevuFilterSelectionUpdate.emit(t.detail)}));h.set(this,(t=>{this.klevuLastSearchUpdate.emit(t.detail)}))}connectedCallback(){document.addEventListener(n.ClickEventSent,a(this,o,"f"));document.addEventListener(n.FiltersApplied,a(this,r,"f"));document.addEventListener(n.FilterSelectionUpdate,a(this,c,"f"));document.addEventListener(n.LastSearchUpdate,a(this,h,"f"))}disconnectedCallback(){document.removeEventListener(n.ClickEventSent,a(this,o,"f"));document.removeEventListener(n.FiltersApplied,a(this,r,"f"));document.removeEventListener(n.FilterSelectionUpdate,a(this,c,"f"));document.removeEventListener(n.LastSearchUpdate,a(this,h,"f"))}render(){return s(i,null,s("slot",null))}};o=new WeakMap,r=new WeakMap,c=new WeakMap,h=new WeakMap;export{d as klevu_util_dom_events};
//# sourceMappingURL=p-14273d57.entry.js.map