import{_ as s}from"./DXjXgEo6.js";import{d as l,E as i,c as p,w as c,s as u,o,p as m,e as _,f as k}from"./BvNnk7SS.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,u(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(()=>[m(e.$slots,"default"),n.value&&e.target==="_blank"?(o(),_("div",d)):k("",!0)]),_:3},16,["class"])}}});export{v as _};
