import{ws as e}from"./config-DY0eCr1t.js";import{t}from"./load-options-BXvm8HVv.js";import{v as n}from"./ir-C-G6XvoR.js";async function r(r,i,a){let o=await n(r,t({maxBytes:i,mediaLocalRoots:a?.localRoots})),s=await e(o.buffer,o.contentType??void 0,`outbound`,i);return{path:s.path,contentType:s.contentType}}export{r as t};
