import{_ as i,o as s,c as _,w as r,n as a,N as y,v as l,m as o,l as u,k as b,C as g,j as h}from"./entry.4a1e3e7a.js";import{A as v}from"./alchemyElement.5a05415b.js";const H={props:{type:{type:String,default:null},title:{type:String,default:null},description:{type:String,default:null},buttonText:{type:String,default:null},buttonHref:{type:String,default:null},color:{type:String,default:"blue",validator(n){return["blue","navy","onyx","sand"].includes(n)}}}},S={class:"announcement-title"},T=["innerHTML"];function V(n,d,t,p,f,e){const c=b,m=g,x=h;return s(),_(x,{"space-before":"","space-after":""},{default:r(()=>[a("div",{class:y(["announcement","announcement-color-"+t.color])},[a("span",S,l(t.type),1),o(),u(c,{level:2,size:3,"no-margin":""},{default:r(()=>[o(l(t.title),1)]),_:1}),o(),a("div",{class:"announcement-text",innerHTML:t.description},null,8,T),o(),u(m,{to:t.buttonHref},{default:r(()=>[o(l(t.buttonText),1)]),_:1},8,["to"])],2)]),_:1})}const k=i(H,[["render",V],["__scopeId","data-v-9e04e9d5"]]),N={mixins:[v],computed:{type(){return this.getValue("type")},title(){return this.getValue("title")},description(){return this.getRichtext("description")},buttonText(){return this.getValue("button_text")},buttonHref(){var n;return(n=this.getIngredient("button_text"))==null?void 0:n.linkUrl},color(){return this.getValue("color")}}};function C(n,d,t,p,f,e){const c=k;return s(),_(c,{type:e.type,title:e.title,description:e.description,"button-text":e.buttonText,"button-href":e.buttonHref,color:e.color},null,8,["type","title","description","button-text","button-href","color"])}const L=i(N,[["render",C]]);export{L as default};