1import{a4 as $,aA as b,e as h,i as A,u as C,a8 as V,x as N,K as q,aI as D,m as e,o,c as r,k as s,b1 as f,bJ as w,aa as m,a1 as F,bE as L,j as P,bb as E,ad as _,a,g as c,bK as H}from"./CnynpXua.js";const K=["src"],J={class:"grid place-items-center gap-[15px] md:gap-[30px] xl:min-w-[884px]"},R=["src"],G={class:"uppercase tracking-[5.2px]"},Q=["innerHTML"],W={class:"w-full pr-[10px] md:ml-auto md:w-3/5 md:pl-5 md:pr-16 xl:ml-0 xl:w-min xl:min-w-full xl:pl-[324px] xl:pr-[38px]"},X=$({__name:"Offre",props:{item:{type:Object,required:!0}},async setup(i){let p,d;const t=i,u=b("forceView",h(!1)),l=b("isFront",h(!0)),y=A(),k=C(),z={item:"dependance",children:[{item:"img",children:[]},{item:"illustration",children:[]}]};[p,d]=V(()=>k.ensureDep([t.item],1,z,l.value)),await p,d();const v=N("transparentMenu",()=>!1);v.value=!1;const M=a(()=>t.item.content?.container??!0),j=a(()=>t.item.content.illustration.length),I=a(()=>t.item.content?.img?.length>1),g=q(D(t,"item")),T=a(()=>t.item.content?.img?.length?c(t.item.content?.img?.at(0),l.value):null),B=a(()=>T.value?y.$getFirstMediaUrlById(t.item.content.img,876,1282,"crop"):"/images/default/blk/Banniere/default.webp?w=876&h=1282&mode=crop&format=webp&webp.lossless=false&webp.quality=80"),x=a(()=>t.item.content?.img?.length>1?c(t.item.content?.img?.at(1)):null),{objectPositionStyle:O}=H(x),S=a(()=>t.item.content.illustration.length?c(t.item.content?.illustration?.at(0),l.value):null);return(n,Y)=>{const U=E;return e(u)||n.$getTrad(e(g))?(o(),r("section",{key:0,class:_(["relative",{"blk-disabled":e(u)&&!n.$getTrad(e(g))}])},[s("div",{class:_([{"cw-container":e(M)},"bg-size-[auto_296px] md:bg-size-[auto_431px] md:bg-top-left lg:bg-size-[auto_541px] xl:bg-size-[auto_641px] relative mb-[30px] flex w-full flex-col items-center bg-top bg-no-repeat pt-[275px] md:mb-[60px] md:mt-[80px] md:min-h-[431px] md:max-w-[780px] md:pt-0 lg:min-h-[541px] lg:max-w-[980px] xl:mt-[120px] xl:min-h-[641px] xl:max-w-[1248px]"]),style:f(`background-image:url('${e(B)}');`)},[e(I)?(o(),r("img",{key:0,loading:"lazy",src:("getMediaUrl"in n?n.getMediaUrl:e(w))(e(x),600),class:"absolute right-0 top-[115px] hidden aspect-square object-scale-down md:block md:w-[135px] xl:w-[205px]",style:f(e(O))},null,12,K)):m("",!0),s("div",J,[e(j)?(o(),r("img",{key:0,loading:"lazy",src:("getMediaUrl"in n?n.getMediaUrl:e(w))(e(S)),class:"max-h-16 max-w-16 object-scale-down object-center"},null,8,R)):m("",!0),s("span",G,F(n.$getTrad(i.item.content.subtitle)),1),s("h1",{class:"t1 text-center",innerHTML:("sanitize"in n?n.sanitize:e(L))(n.$getDisplayText(i.item))},null,8,Q),s("div",W,[P(U,{html:n.$getTrad(i.item.content.introduction)},null,8,["html"])])])],6)],2)):m("",!0)}}}),ee=Object.assign(X,{__name:"TplBlkBanniereOffre"});export{ee 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.