1import{z as o,f as a,y as n,C as c,a2 as r,a4 as u,ac as d}from"./vendor-841ae9e1.js";const f=["xlink:href","fill","width","height","color"],w=o({__name:"SvgIcon",props:{prefix:{default:"icon"},name:{},color:{default:"#333"},width:{default:"100%"},height:{default:"100%"},isAsync:{type:Boolean}},setup(t){const e=t,l=a(),h=n(()=>{var i;return e.isAsync&&((i=l.value)==null||i.setAttribute("xlink:href",`#${e.prefix}-${e.name}`)),`#${e.prefix}-${e.name}`}),s=n(()=>({width:e.width.includes("%")||e.width.includes("auto")||e.width.includes("em")?e.width:e.width+"px",height:e.height.includes("%")||e.height.includes("auto")||e.height.includes("em")?e.height:e.height+"px"}));return(i,g)=>(c(),r("svg",{style:d(s.value)},[u("use",{"xlink:href":h.value,fill:t.color,width:t.width,height:t.height,color:t.color,ref_key:"useSvg",ref:l},null,8,f)],4))}});export{w as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.