var s=/:[a-zA-Z_]+/,n=(e,o)=>o?e.replace(s,t=>o?.[t.substring(1)]||t):e,i=e=>"compositionApiResponse"in e&&!!e.compositionApiResponse&&"composition"in e.compositionApiResponse,r=e=>e?e.type==="email"?`mailto:${e.path}`:e.path:"",p=e=>e?.startsWith("http")??!1;export{n as a,i as b,r as c,p as d};
