import{_ as s}from"./DafvsEAY.js";import{d as l,s as i,c as p,o,w as c,b as u,i as m,e as _,k}from"./Bxv1kRJt.js";const d={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},v=l({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(r){const t=r,n=i(()=>t.href||t.to);return(e,f)=>{const a=s;return o(),p(a,k(n.value?{href:n.value,target:e.target,rel:e.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||e.underline}}),{default:c(()=>[u(e.$slots,"default"),n.value&&e.target==="_blank"?(o(),m("div",d)):_("",!0)]),_:3},16,["class"])}}});export{v as _};
