import{r as e}from"./chunk-BPLyUllO.js";import{En as t}from"./_virtual_wxt-plugins-xyJ09udC.js";import{a as n,c as r,i,s as a}from"./src-D8DRHLtD.js";import{n as o,t as s}from"./chunk-VCGWCGR7-BsHMpZ7V.js";import{t as c}from"./chunk-ODNERRIQ-Byy9t2rn.js";var l=e({onMessage:()=>p,onOpenStreamChannel:()=>h,openStream:()=>m,sendMessage:()=>f}),u=c(`popup`),d=s(`popup`,e=>u.postMessage(e));u.onMessage(d.handleMessage);var{sendMessage:f,onMessage:p}=d,{openStream:m,onOpenStreamChannel:h}=o(d);t(i).provide(n,l).use(r(e=>{a.register(e,l)})).mount(`#app`);