1import b from"./B2zEQi5b.js";import k from"./2renrnEd.js";import x from"./O8MheAmW.js";import{d as E,a as N,o as l,e as S,k as U,A as V,U as g,c as d,j as c,b as o,f as v,F as M,x as $,a2 as B,M as O,r as h}from"./DvT-I3VU.js";import{u as T}from"./BYxCBOSa.js";import"./AcwJBwmZ.js";import"./C2G3sP-q.js";import"./Df33lO5l.js";import"./p8Yd9qvo.js";import"./ClU1cxGM.js";const j={class:"tw-grid tw-gap-6 lg:tw-grid-cols-12 lg:tw-gap-4"},z={key:0,class:"tw-overflow-hidden"},D=E({__name:"Video",props:{modelValue:{type:Object,required:!0}},setup(e){const{eventHomeVideo:r}=T(),{getPath:w}=N(),i=h(!1),a=h(null),u=m=>{a.value=m,i.value=!0};return(m,n)=>{const s=b,y=k,p=x;return l(),S(p,{title:e.modelValue.title,description:e.modelValue.description,"menu-code":o(O).VIDEO,"see-more-path":o(w)({componentName:"Video"}),"event-name":"","category-event-name":""},{default:U(()=>[V("div",j,[V("div",{class:g([[e.modelValue.content.length!==2?"lg:tw-col-span-7":"lg:tw-col-span-6",e.modelValue.content.length>2?"main-video":""],"tw-border-light-gray-2"])},[e.modelValue.content.length>=1?(l(),d("div",z,[c(s,{"title-tag":"h3","youtube-url":e.modelValue.content[0].youtubeUrl,title:e.modelValue.content[0].title,description:e.modelValue.content[0].description,"video-category":e.modelValue.content[0].videoCategory,"main-video":!0,onClick:n[0]||(n[0]=t=>o(r)(e.modelValue.content[0].title)),onShowVideo:n[1]||(n[1]=t=>u(e.modelValue.content[0]))},null,8,["youtube-url","title","description","video-category"])])):v("",!0)],2),e.modelValue.content.length>=2?(l(),d("div",{key:0,class:g([e.modelValue.content.length!==2?"lg:tw-col-span-5":"lg:tw-col-span-6","tw-flex tw-flex-col tw-gap-4"])},[(l(!0),d(M,null,$(e.modelValue.content.slice(1,4),(t,f)=>(l(),d("div",{key:`video-card-one-${f}`,class:"tw-overflow-hidden"},[c(s,{"title-tag":"h3","youtube-url":t.youtubeUrl,title:t.title,description:t.description,"video-category":t.videoCategory,horizontal:!0,onClick:C=>o(r)(t.title),onShowVideo:C=>u(t)},null,8,["youtube-url","title","description","video-category","onClick","onShowVideo"])]))),128))],2)):v("",!0)]),c(y,{modelValue:o(i),"onUpdate:modelValue":n[2]||(n[2]=t=>B(i)?i.value=t:null),"youtube-url":o(a)?.youtubeUrl||"",title:o(a)?.title||"",description:o(a)?.description||""},null,8,["modelValue","youtube-url","title","description"])]),_:1},8,["title","description","menu-code","see-more-path"])}}}),K=Object.assign(D,{__name:"ThemeECommerceSectionVideo"});export{K as default}; 2//# sourceMappingURL=BOVPrEAE.js.map
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.