PageSourceSearch

https://www.velux.fr/dist/velux-marketing/client/assets/CTALargeBanner-0be2251b.js

js velux.fr collected 2026-10-03 19:19:35 UTC 2,521 bytes, 1 lines download raw bytes

1import{a0 as I,f as t,g as m,D as s,E as p,P as l,F as A,u as e,I as g,J as r,b2 as L,aB as N,K as q,a9 as D}from"./vendor-a0789617.js";import{a as R,f as $,e as j,h as z,i as G}from"./index-a0a0e1a1.js";import"./axios-bb6ee5b8.js";import"./lodash-86ed0c75.js";import"./vee-validate-daa3561c.js";import"./swiper-ade697ba.js";/*! @license Third-party license notices: /dist/velux-marketing/client/THIRD_PARTY_NOTICES.txt */const K=["data-section-name"],P={class:"col-span-full md:max-w-[914px] md:col-start-2 md:col-span-16 flex flex-col md:flex-row items-baseline md:items-center gap-x-16 gap-y-6 md:gap-y-8"},F={class:"grid gap-y-3"},X=I({__name:"CTALargeBanner",props:{rendering:{}},setup(v){const n=v,{renderingIndex:f}=R(),x=t(()=>n.rendering?.uid||""),i={rendering:{uid:"",dataSource:"",datasourceHasLanguageVersion:"",params:{"Background ColorValue":"bg-velux-grey-100","Button ColorValue":"primary"},fields:{title:{value:""},subtitle:{value:""},link:{value:{href:""}},linkText:{value:""},icon:{value:{src:"",alt:""}}}}},o=m({...i.rendering.params,...n.rendering.params}),c=t(()=>
1o["Background ColorValue"]),k=t(()=>o["Button ColorValue"]),y=m({...i.rendering.fields,...n.rendering.fields}),{analyticParameters:_,title:C,subtitle:h,link:a,linkText:b,icon:u}=D(y),{trackEvent:B}=z(),V=G.linkClickEventIds.CTA_CARD,w=()=>{B(_.value,V,"CTA Large Banner")},T=t(()=>!!u?.value?.value?.src),E=t(()=>c.value==="bg-velux-grey-100"?"gap-y-6 md:gap-y-8 lg:gap-y-4":"gap-y-8");return(H,d)=>(s(),p("div",{"data-section-name":e(f)(x.value).id,class:"lg:pb-30 md:pb-25 pb-16 px-6 sm:px-10 lg:px-9"},[l("div",{class:q(["vlx-grid-24 items-center py-8 sm:py-10 md:py-12 px-10 md:px-0",[c.value,E.value]])},[l("div",P,[T.value?(s(),A($,{key:0,class:"w-max min-w-8 h-8 md:min-w-12 md:h-12 lg:min-w-16 lg:h-16",media:e(u),"image-contain":""},null,8,["media"])):g("",!0),l("div",F,[r(e(L),{field:e(C)?.value,size:"m"},null,8,["field"]),r(j,{class:"text-old_velux-initial-black opacity-[64%] text-14 md:text-16 lg:text-20 font-w-45 sm:font-w-60 leading-135",field:e(h)},null,8,["field"])])]),e(a)?(s(),p("div",{key:0,class:"w-fit col-span-full md:justify-self-end md:col-start-21 md:col-span-3 whitespace-nowrap",onClick:d[0]||(d[0]=J=>w())},[r(e(N),{link:e(a).value.href,href:e(a).value.href,variant:k.value,text:e(b)?.value,target:e(a).value.target,"query-string":e(a).value.querystring,anchor:e(a).value.anchor},null,8,["link","href","variant","text","target","query-string","anchor"])])):g("",!0)],2)],8,K))}});export{X 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.