1import{_ as f}from"./rfKrGHTJ.js";import{_ as b}from"./Cdyewept.js";import{bv as x,d,o as t,k as n,X as i,B as r,c as g,D as h,Y as p,H as k,e as a,z as l,g as _}from"./DzmMXjjF.js";import{u as w}from"./Bz-qibdS.js";import{u as v}from"./CZDCstAS.js";import{u as y}from"./DijBbv0M.js";import"./DMafrwxq.js";import"./CQb_7WEP.js";const C=x("/img/triangle.svg"),I={key:0,src:C,class:"w-9 absolute -left-4 top-4",alt:""},B=["data-preview-id"],T=d({__name:"Infobox",props:{headline:{default:""},content:{},showIcon:{type:Boolean,default:!0},backgroundColor:{default:"green"}},setup(e){const{editableArea:o}=w();return(s,m)=>{const c=f,u=b;return t(),n("div",{class:i(["relative pt-6 pb-2 sm:px-10 px-8 sm:ml-9 sm:mr-6 ml-5 mr-4 rounded-xl",e.backgroundColor==="green"?"bg-darkgreen text-white":"border-2 border-solid border-darkgreen [&>a]:text-darkgreen-500"])},[e.showIcon?(t(),n("img",I)):r("",!0),e.headline?(t(),g(c,{key:1,type:"h2","data-preview-id":a(o)("headline")},{default:h(()=>[p(k(e.headline),1)]),_:1},8,["data-preview-id"])):r("",!0),e.content?(t(),n("div",{key:2,class:"text-base","data-preview-id":a(o)("richText")},[l(u,{"container-color":e.backgroundColor,element:e.content},null,8,["container-color","element"])],8,B)):r("",!0)],2)}}}),G=d({__name:"Infobox",props:{infoboxHeadline:{default:""},backgroundGray:{type:Boolean},infoboxText:{default:()=>{}},showIcon:{type:Boolean,default:!0}},setup(e){v({headline:"#st_infobox_headline",richText:"#st_infobox_text"});const{isInsideContainer:o}=y(),s=_(()=>e.backgroundGray?"green":"white");return(m,c)=>(t(),n("section",{class:i({"page-grid-small vertical-spacing-enabled":!a(o)}),"data-t-name":"infobox"},[l(T,{"background-color":a(s),content:e.infoboxText,headline:e.infoboxHeadline,"show-icon":e.showIcon,class:i({"grid-inside":!a(o)})},null,8,["background-color","content","headline","show-icon","class"])],2))}});export{G 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.