import{C as c,o as a,g as r,j as u,f,d as p,u as s,a as d,n as h}from"./app-SC54XQDl.js";const m=["href","target"],z={__name:"LinkIcon",props:["href","title","target","size"],setup(t){const l=t,{vTitle:i,realSize:n}=function(){let e=l.size;return(e==null||e.length==0)&&(e="small"),{vTitle:l.title==null?"点击打开链接":l.title,realSize:e}}();return(e,g)=>{const o=c("tooltip");return a(),r("span",null,[u(e.$slots,"default"),f(" "),p((a(),r("a",{href:t.href,class:"link grey",target:t.target},[d("i",{class:h(["pi pi-link",s(n)])},null,2)],8,m)),[[o,s(i),void 0,{bottom:!0}]])])}}};export{z as _};
