import{r as t,h as s}from"./p-c87337b7.js";import"./p-74149bb1.js";import{d as r,a as i}from"./p-d3e7a4f4.js";const e=class{constructor(s){t(this,s)}get filters(){return this.filtersValue||(this.filtersValue=this.filter?this.filter.split(" "):[]),this.filtersValue}TriggerListener(t){r.is(t.detail)&&this.filters.some(s=>s==t.detail.name)&&(i.send(this.destination,t.detail,this.context||window),t.preventDefault(),t.stopPropagation())}render(){return s("slot",null)}static get style(){return".sc-smoothly-trigger-sink-h{display:block}[hidden].sc-smoothly-trigger-sink-h{display:none}"}};export{e as smoothly_trigger_sink};