const t=(t={})=>{const{content:e="",title:l,attributes:s=[]}=t;let n="";return l&&(n=`<title>${l}</title>`),`<svg ${[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},...s].map((t=>`${t.name}="${t.value}"`)).join(" ")}>${n}${e}</svg>`},e=t=>t.replace(/<(\/?)svg([^>]*)>/g,"").trim();export{t as c,e as g}