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