1import{f as b,aP as y,y as f,m as h,c as n,n as t,o as e,e as x,U as B,w as $,a as p,k as a,Q as o,b as m,l as g,x as U}from"./DXPM2tBq.js";const w={class:"link-to__inner"},L={key:0,class:"sr-only"},N={key:0,class:"block text-start mt-2 text-body-14"},T=["type"],v={class:"link-to__inner"},C={key:0,class:"block text-start mt-2 text-body-14"},z=b({__name:"UILinkTo",props:{to:{},variant:{default:"grey"},nativeButtonType:{default:"button"}},setup(l){const r=l,{isExternal:k,linkAttributes:i,href:c}=y(r.to),_=f(()=>["link-to","text-button",`_${r.variant}`]);return(s,E)=>{const u=g,d=x;return t(c)?(e(),h(d,B({key:0,class:["block",t(_)],to:t(c),external:t(k)},{...t(i)}),{default:$(()=>[p("span",w,[o(s.$slots,"default"),t(i).target==="_blank"?(e(),n("span",L,"Â (opens in a new tab)")):a("",!0),m(u,{name:"arrow-up-right",class:"transition size-5.5"})]),s.$slots.subtitle?(e(),n("span",N,[o(s.$slots,"subtitle")])):a("",!0)]),_:3},16,["class","to","external"])):(e(),n("button",{key:1,class:U(t(_)),type:l.nativeButtonType},[p("span",v,[o(s.$slots,"default"),m(u,{name:"arrow-up-right",class:"transition size-5.5"})]),s.$slots.subtitle?(e(),n("span",C,[o(s.$slots,"subtitle")])):a("",!0)],10,T))}}}),S=Object.assign(z,{__name:"UiButtonUILinkTo"});export{S as U};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.