import{r as e}from"./chunk-BPLyUllO.js";import{i as t}from"./src-B2tb5xWf.js";import{n,t as r}from"./chunk-VCGWCGR7-BsHMpZ7V.js";import{t as i}from"./chunk-ODNERRIQ-DcvFHfdA.js";var a=e({onMessage:()=>l,onOpenStreamChannel:()=>d,openStream:()=>u,sendMessage:()=>c}),o=i(`popup`),s=r(`popup`,e=>o.postMessage(e));o.onMessage(s.handleMessage);var{sendMessage:c,onMessage:l}=s,{openStream:u,onOpenStreamChannel:d}=n(s);t(a);