1import{_ as m}from"./C5R8YNXo.js";import{U as c}from"#entry";import{y as h,ai as g,$ as y,ar as _,a0 as n,ak as B,ag as u,D as o,aq as w,_ as k,a1 as d,A as x,a5 as C}from"./D0rPpKiU.js";import"./D_gTWDL9.js";const D={key:0},z=h({__name:"Button",props:{blok:{}},setup(e){const t=e,r=o(()=>t.blok?.label||t.blok?.text||""),a=o(()=>t.blok?.icon?.[0]??null),i=o(()=>t.blok?.icon_position||"left"),b=o(()=>{const{blok:l}=t;if(l)return l?.link?.url||l?.link?.cached_url||l?.href||l?.url}),s=o(()=>{const{blok:l}=t;return l&&(l?.target||l?.link?.target)||"_self"}),v=o(()=>s.value==="_blank"?"noopener noreferrer":void 0);return(l,S)=>{const f=w("editable");return e.blok?g((k(),y(m,{key:0,href:b.value,variant:e.blok.variant,color:e.blok.color,size:e.blok.size,"full-width":e.blok.full_width,disabled:e.blok.disabled,type:"link",target:s.value,rel:v.value,class:B(e.blok.styling),id:e.blok.id},_({default:n(()=>[r.value?(k(),x("span",D,C(r.value),1)):u("",!0)]),_:2},[a.value&&i.value==="left"?{name:"icon-left",fn:n(()=>[d(c,{blok:a.value},null,8,["blok"])]),key:"0"}:void 0,a.value&&i.value==="right"?{name:"icon-right",fn:n(()=>[d(c,{blok:a.value},null,8,["blok"])]),key:"1"}:void 0]),1032,["href","variant","color","size","full-width","disabled","target","rel","class","id"])),[[f,e.blok]]):u("",!0)}}}),q=Object.assign(z,{__name:"Button"});export{q 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.