import{S as e,T as t,Y as n,cn as r,j as i,nn as a,w as o,x as s}from"./vue.runtime.esm-bundler-DpGzKKN4.js";import{t as c}from"./_plugin-vue_export-helper-CnS4QQza.js";var l=i({props:{iconClass:{type:String,required:!0},className:{type:String,default:``},color:{type:String,default:``},iconText:{type:String,default:``},viewBox:{type:String,default:`0 0 48 48`},iconPosition:{type:Object,default:()=>({width:32,height:32,x:8,y:0})},textPosition:{type:Object,default:()=>({x:`50%`,y:`100%`})}},setup(e){return{iconName:s(()=>`#${e.iconClass}`),svgClass:s(()=>e.className?`svg-icon ${e.className}`:`svg-icon`)}}}),u=[`view-box`],d=[`xlink:href`,`fill`,`x`,`y`,`width`,`height`],f=[`x`,`y`];function p(i,s,c,l,p,m){return n(),t(`svg`,{class:a(i.svgClass),"aria-hidden":`true`,"view-box":i.viewBox},[e(`use`,{"xlink:href":i.iconName,fill:i.color,x:i.iconPosition.x,y:i.iconPosition.y,width:i.iconPosition.width,height:i.iconPosition.height},null,8,d),i.iconText?(n(),t(`text`,{key:0,"text-anchor":`middle`,x:i.textPosition.x,y:i.textPosition.y,"font-size":`12`,fill:`currentColor`},r(i.iconText),9,f)):o(``,!0)],10,u)}var m=c(l,[[`render`,p],[`__scopeId`,`data-v-9aa551bd`]]);export{m as t};