import{r as s,h as t}from"./p-890a2f7e.js";import"./p-be8a42cb.js";import{M as r}from"./p-369e3f59.js";import{T as i}from"./p-e5ee2c9c.js";const e=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)}};e.style=".sc-smoothly-trigger-sink-h{display:block}[hidden].sc-smoothly-trigger-sink-h{display:none}";export{e as smoothly_trigger_sink}