import{r as s,c as t,h as o,g as r}from"./p-bf76c688.js";import"./p-2094943b.js";import"./p-335d4224.js";import{M as i,T as e}from"./p-98233949.js";const n=class{constructor(o){s(this,o),this.trigger=t(this,"trigger",7),this.message=t(this,"message",7)}componentDidLoad(){i.listen(this.listen,(s,t)=>{e.is(t)?this.trigger.emit(t):this.message.emit({destination:s,content:t})},window)}render(){return o("slot",null)}get element(){return r(this)}};n.style=".sc-smoothly-trigger-source-h{display:block}[hidden].sc-smoothly-trigger-source-h{display:none}";export{n as smoothly_trigger_source}