import{a as s}from"./er2hcepb.js";import{k as l,l as i,Q as r,M as p,$ as u,V as c,S as m,W as k,a1 as _}from"./vendor/json-editor-vue-gv8v06ez.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(o){const t=o,n=i(()=>t.href||t.to);return(e,f)=>{const a=s;return r(),p(a,_(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 _};
