1import{d,a as p,au as f,v as a,h as m,k as h,l,H as y,A as g,a9 as i,I as _,m as b,q as v,Q as w}from"./entry.34849272.js";const B=["tabindex","target","href"],c=["innerHTML"],I=d({__name:"LinkButtonPrimary",props:{blok:{},tabindex:{},dark:{}},setup(C){const{locale:t,locales:D}=p(),k=f(),s=(e,n,o)=>{o||e.ctrlKey||e.metaKey||e.shiftKey||e.button===1?window.open(n,o||"_blank"):k.push(n)};return(e,n)=>{var r;const o=w;return e.blok.button_link.linktype==="story"?(a(),m("a",{key:0,class:g(["reflex-button",{"btn-primary-on-dark":e.dark==="true"}]),tabindex:e.tabindex,target:e.blok.button_link.target||void 0,href:"/"+l(i)({id:e.blok.button_link.id,key:"slug",locale:l(t)})+(e.blok.button_link.anchor?"#"+e.blok.button_link.anchor:""),onClick:n[0]||(n[0]=_(u=>s(u,"/"+l(i)({id:e.blok.button_link.id,key:"slug",locale:l(t)})+(e.blok.button_link.anchor?"#"+e.blok.button_link.anchor:""),e.blok.button_link.target),["prevent"]))},[h("span",{class:"label",innerHTML:l(y)(e.blok.button_label)},null,8,c)],10,B)):e.blok.button_link.linktype==="email"?(a(),b(o,{key:1,rel:"noopener noreferrer",tabindex:e.tabindex,label:e.blok.button_label,link:"",onDark:e.dark==="true"?!0:void 0,href:"mailto:"+e.blok.button_link.url},null,8,["tabindex","label","onDark","href"])):e.blok.button_link.url!==""?(a(),b(o,{key:2,download:((r=e.blok.button_link)==null?void 0:r.linktype)==="asset"?"":void 0,target:e.blok.button_link.target||void 0,tabindex:e.tabindex,rel:"noopener noreferrer",label:e.blok.button_label,link:"",onDark:e.dark==="true"?!0:void 0,href:e.blok.button_link.url},null,8,["download","target","tabindex","label","onDark","href"])):v("",!0)}}});export{I as default};
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.