1import{m as S}from"./lodash-de8cc594.js";import{a0 as D,D as l,E as L,P as p,F as m,u as e,aD as N,I as g,J as j,b2 as A,K as r,aC as E,r as J}from"./vendor-0404560d.js";import{u as P,a as F}from"./index-afea52c0.js";import"./axios-c3c6769d.js";import"./vee-validate-378e8b8c.js";import"./swiper-0a0ef14b.js";/*! @license Third-party license notices: /dist/velux-marketing/client/THIRD_PARTY_NOTICES.txt */const K={Horizontal:"horizontal",Vertical:"vertical"},M=["id","data-section-name"],R={class:"new_vlx-grid gap-10 col-span-full","data-test":"heading-and-body-container"},W=D({__name:"HeaderBlockVDS",props:{rendering:{},fields:{},params:{}},setup(f){const c=f,v={rendering:{uid:"",datasourceHasLanguageVersion:""},fields:{title:{value:""},description:{value:""}},params:{layoutValue:"vertical",tagValue:"h2",backgroundColorValue:""}},{uid:a}=c.rendering,{fields:_,params:V}=S(v,c),{title:C,description:i}=_,{layoutValue:x,showLine:h,tagValue:k,backgroundColorValue:d,removeBottomSpacing:b}=V,B=P(),{renderingIndex:z}=F(),u=J(d),H=x===K.Horizontal,w=h==="1",y=b==="1"?"px-10 pt-10 pb-0":"p-10",I=H?"vds_l:col-start-13 vds_l:col-span-12":"vds_l:col-start-1 vds_l:col-span-10",s=B.getAllMainPlaceholders,o=s.findIndex(n=>n.uid===a);if(!d&&o!==-1&&o+1<s.length){const t=s[o+1].params?.backgroundColorValue;t&&(u.value=t)}return(n,t)=>(l(),L("section",{id:e(a),"data-section-name":e(z)(e(a)).id,class:r([u.value])},[p("div",{class:r(["new_vlx-container new_vlx-grid gap-6",e(y)])},[w?(l(),m(e(N),{key:0,class:"col-span-full"})):g("",!0),p("div",R,[j(e(A),{field:e(C)?.value,class:"col-span-full vds_l:col-span-10",tag:e(k)},null,8,["field","tag"]),e(i)?.value?(l(),m(e(E),{key:0,field:e(i).value,size:"m",class:r(["col-span-full",[e(I)]])},null,8,["field","class"])):g("",!0)])],2)],10,M))}});export{W 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.