import{a as s}from"./howhlbef.js";import{k as l,l as i,R as r,N as p,a0 as u,W as c,U as m,X as k,a2 as _}from"./vendor/json-editor-vue-gplv2x2n.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(a){const t=a,n=i(()=>t.href||t.to);return(e,f)=>{const o=s;return r(),p(o,_(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:u(()=>[c(e.$slots,"default"),n.value&&e.target==="_blank"?(r(),m("div",d)):k("",!0)]),_:3},16,["class"])}}});export{v as _};
