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