1import{_ as k}from"./CwM2Z-Cz.js";import{s as S,o as t,F as n,I as s,G as c,H as u,J as M,v as a,N as _,O as p,f as r,ab as T,U as V,L as B,a1 as C,i as f,a6 as N}from"./U0ku_F_l.js";import{_ as I}from"./Csdw5ta4.js";import{_ as O}from"./DgpiK_eC.js";import{g}from"./B9kykQRi.js";import{r as j}from"./eSRpK0C_.js";import"./CT-oBNdc.js";import"./DVyM40Eb.js";import"./BH9KrONm.js";import"./CsjAPir1.js";import"./BccRw34t.js";const A={name:"InfoBanner",props:{title:{type:String,default:""},buttons:{type:Array,default:null},video:{type:[String,Array],default:""},poster:{type:String,default:""},image:{type:String,default:""},description:{type:String,default:""},tag:{type:String,default:"h2"}},data:()=>({isShownModal:!1}),methods:{onClickOpenModal(){this.isShownModal=!0}}},L={class:"wrapper wrapper--lg lg:py-12 py-10"},H={class:"bg-surface rounded-[1.625rem] lg:py-[3.75rem] lg:px-20 py-8 px-8 flex lg:flex-row flex-col lg:justify-between lg:items-center gap-8"},U=["innerHTML"],X={key:0,class:"text-gray-800 text-opacity-80 font-medium text-base mt-4"},F={key:1,class:"lg:mt-10 mt-6 flex gap-3 md:flex-row flex-col"},z={key:1,class:"relative overflow-hidden rounded-[1.625rem] lg:max-w-[464px] lg:min-h-[254px] w-full lg:aspect-auto aspect-[2/1]"},D=["src"],E={class:"bg-white bg-opacity-10 rounded-xl w-12 h-12 flex items-center justify-center absolute top-8 right-8",style:{"backdrop-filter":"blur(60px)"}},G=["poster"],J=["src","type"],P=["src","type"];function q(l,i,e,K,Q,m){const y=k,h=V,w=I,x=B,v=O,b=N;return t(),n("section",L,[s("div",H,[s("div",null,[c(y,{title:e.title,tag:e.tag},{default:u(()=>[j(l.$slots,"title",{mdcUnwrap:"p,div"},()=>[s("span",{innerHTML:e.title},null,8,U)])]),_:3},8,["title","tag"]),e.description?(t(),n("p",X,M(e.description),1)):a("",!0),e.buttons?(t(),n("div",F,[(t(!0),n(_,null,p(e.buttons,(o,d)=>(t(),r(h,T({key:`button_${d}`},{ref_for:!0},o),null,16))),128))])):a("",!0)]),e.image?(t(),r(w,{key:0,src:e.image,alt:e.image,format:"webp,png",width:"900",height:"450",class:"object-cover rounded-[1.625rem] lg:w-auto w-full lg:max-h-[254px]"},null,8,["src","alt"])):e.video?(t(),n("div",z,[s("img",{src:e.poster,alt:"poster",class:"absolute w-full h-full object-cover"},null,8,D),s("div",E,[c(x,{name:"xl:play",class:"fill-white"})]),s("button",{class:"w-full h-full absolute top-0 left-0 z-[2]",onClick:i[0]||(i[0]=(...o)=>m.onClickOpenModal&&m.onClickOpenModal(...o))})])):a("",!0)]),e.video?(t(),r(b,{key:0},{default:u(()=>[(t(),r(C,{to:"body"},[c(v,{shown:l.isShownModal,"onUpdate:shown":i[1]||(i[1]=o=>l.isShownModal=o)},{default:u(()=>[s("video",{poster:e.poster,autoplay:"",muted:"",loop:"",playsinline:"",controls:"",class:"w-full max-h-full"},[Array.isArray(e.video)?(t(!0),n(_,{key:0},p(e.video,(o,d)=>(t(),n("source",{key:`video_${d}`,src:o,type:("getVideoType"in l?l.getVideoType:f(g))(o)},null,8,J))),128)):e.video?(t(),n("source",{key:1,src:e.video,type:("getVideoType"in l?l.getVideoType:f(g))(e.video)},null,8,P)):a("",!0)],8,G)]),_:1},8,["shown"])]))]),_:1})):a("",!0)])}const ae=S(A,[["render",q]]);export{ae 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.