import{r as s,h as t}from"./p-bf76c688.js";import"./p-2094943b.js";import"./p-335d4224.js";import{T as i,M as r}from"./p-98233949.js";const o=class{constructor(t){s(this,t)}get filters(){return this.filtersValue||(this.filtersValue=this.filter?this.filter.split(" "):[]),this.filtersValue}TriggerListener(s){i.is(s.detail)&&this.filters.some(t=>t==s.detail.name)&&(r.send(this.destination,s.detail,this.context||window),s.preventDefault(),s.stopPropagation())}render(){return t("slot",null)}};o.style=".sc-smoothly-trigger-sink-h{display:block}[hidden].sc-smoothly-trigger-sink-h{display:none}";export{o as smoothly_trigger_sink}