import{_ as V,a0 as T,o as t,c as i,F as y,E as w,a,e as s,r as d,x as _,j as c,b as h,k as b,G as g,C as E,L as N,t as F,a4 as I,Q as M,p as W,f as A}from"./app.2934e07b.js";import{S as j,P as D,N as z,A as G,a as Q,b as q}from"./swiper-slide.b36045cb.js";import J from"./carousel.dc03bcb4.js";import{E as K}from"./effect-fade.d919fe95.js";/* empty css */import"./staff-bio.4958d8aa.js";const O={name:"transcript",props:["items"],components:{Heading:T},methods:{togglePanel(n){const r=n.target,e=r.previousSibling;console.log("e.target",n.target,e),r.classList.toggle("active"),e.style.maxHeight=e.style.maxHeight?null:210+"px"}}},U={class:"accordion"},X={key:0,class:"panel"},Y=["innerHTML"],Z=["innerHTML"];function $(n,r,e,L,v,m){return t(),i("div",U,[(t(!0),i(y,null,w(e.items,u=>(t(),i("div",null,[u.content?(t(),i("div",X,[a("div",{class:"panel-content",innerHTML:u.content},null,8,Y)])):s("",!0),u.heading?(t(),i("h3",{key:1,innerHTML:u.heading,onClick:r[0]||(r[0]=(...p)=>m.togglePanel&&m.togglePanel(...p))},null,8,Z)):s("",!0)]))),256))])}const ee=V(O,[["render",$],["__scopeId","data-v-4cbcde57"]]);j.use([D,z,G]);const f={name:"content-with-media",props:["sectionClasses","contentClasses","containerClasses","heading","content","buttons","componentStyles","video","contentReviews"],components:{Transcript:ee,Carousel:J,Swiper:Q,CustomSvg:E,SwiperSlide:q,Anchor:N,CustomPicture:F,DynamicContent:I,Heading:T},data(){return{styles:{standoutText:{lineHeight:"1.04em",letterSpacing:"-.02em",fontFamily:"var(--font-secondary)",fontWeight:"700"}},transcript:[{heading:"View transcript",content:this.video.transcript}],options:{slider:{slidesPerView:1,centeredSlides:!1,spaceBetween:50,loop:!0,navigation:{nextEl:".review-next",prevEl:".review-prev"},pagination:{clickable:!0,el:".review-pagination"},autoplay:{delay:5e3},breakpoints:{320:{slidesPerView:1,spaceBetween:50},769:{slidesPerView:1,spaceBetween:50},1025:{slidesPerView:1,spaceBetween:50},1281:{slidesPerView:1,spaceBetween:50}}}}}},methods:{onSwiper(n){this.swiper=n},showNavigation(){let n={nextEl:".swiper-button-next",prevEl:".swiper-button-prev"};this.$nextTick(function(){return this.theme_id===3||this.theme_id===5?n:!1})}},setup(){return{modules:[K]}}},S=()=>{M(n=>({"0d95d702":n.styles.standoutText.lineHeight,"678e070e":n.styles.standoutText.letterSpacing,"62176a52":n.styles.standoutText.fontFamily,"27a59c2a":n.styles.standoutText.fontWeight,"8b31b44c":n.componentStyles.container.gridTemplateColumns,"48c2a3fe":n.componentStyles.container.gap.desktop,c2fc6654:n.componentStyles.contentContainer.paddingLeft.desktop,"5ddd76c9":n.componentStyles.contentContainer.paddingRight.desktop,"319c2695":n.componentStyles.videoContainer.marginLeft.desktop,"2e0e54ea":n.componentStyles.videoContainer.marginRight.desktop,"3ac4c709":n.componentStyles.videoContainer.marginLeft.mobile,"00d8fa14":n.componentStyles.videoContainer.marginRight.mobile,"3da2571c":n.componentStyles.videoContainer.img.height.desktop}))},x=f.setup;f.setup=x?(n,r)=>(S(),x(n,r)):S;const te=f,k=n=>(W("data-v-1b731a1e"),n=n(),A(),n),ne={class:"content-container"},se=["src"],ie={key:2,class:"video-container"},oe=["src"],ae={key:2,class:"content"},ce=k(()=>a("h3",null,"Reviews",-1)),re={class:"stars"},le={key:0,class:"review"},de=["textContent"],ue={key:1,class:"author"},pe=["textContent"],_e={key:0,class:"extras-container"},ve=k(()=>a("div",{class:"empty-container"},null,-1)),he={class:"navigation-container"},me={class:"slider-navigation"},ge={class:"review-prev",slot:"button-prev"},ye=k(()=>a("div",{class:"review-pagination",slot:"pagination"},null,-1)),we={class:"review-next",slot:"button-next"},fe={key:3,class:"content"},ke={class:"buttons-container"},Ce=["src"],be={key:2,class:"video-container"},Se=["src"];function xe(n,r,e,L,v,m){const u=d("heading"),p=d("transcript"),l=d("custom-svg"),P=d("swiper-slide"),R=d("swiper"),B=d("dynamic-content"),H=d("anchor");return t(),i("section",{class:_(e.sectionClasses)},[a("div",{class:_(e.contentClasses)},[a("div",{class:_(e.containerClasses)},[a("div",ne,[e.heading&&!e.contentReviews?(t(),c(u,{key:0,class:"heading",config:e.heading},null,8,["config"])):s("",!0),e.video&&e.containerClasses.find(o=>o==="heading-video-content")?(t(),i("div",{key:1,class:_(["video-container",this.video.transcript?"with-transcript":""])},[e.video.type==="youtube"?(t(),i("iframe",{key:0,src:"https://www.youtube.com/embed/"+e.video.value,frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:"",width:"640",height:"360"},null,8,se)):s("",!0),this.video.transcript?(t(),c(p,{key:1,items:this.transcript},null,8,["items"])):s("",!0),e.video.type==="vimeo"?(t(),i("div",ie,[a("iframe",{src:"https://player.vimeo.com/video/"+e.video.value,width:"640",height:"360",allow:"fullscreen",allowfullscreen:""},null,8,oe),this.video.transcript?(t(),c(p,{key:0,items:this.transcript},null,8,["items"])):s("",!0)])):s("",!0)],2)):s("",!0),e.contentReviews?(t(),i("div",ae,[ce,h(R,{class:"",autoplay:v.options.slider.autoplay,breakpoints:v.options.slider.breakpoints,pagination:v.options.slider.pagination,navigation:v.options.slider.navigation,onSwiper:m.onSwiper},{default:b(()=>[(t(!0),i(y,null,w(e.contentReviews.list,o=>(t(),c(P,null,{default:b(()=>[a("div",re,[h(l,{type:"icon",name:"icon-google-short",id:"icon-google-short",title:"",desc:""}),o.rating>0?(t(),c(l,{key:0,type:"icon",name:"icon-star"})):s("",!0),o.rating>1.5?(t(),c(l,{key:1,type:"icon",name:"icon-star"})):s("",!0),o.rating>2.5?(t(),c(l,{key:2,type:"icon",name:"icon-star"})):s("",!0),o.rating>3.5?(t(),c(l,{key:3,type:"icon",name:"icon-star"})):s("",!0),o.rating>4.5?(t(),c(l,{key:4,type:"icon",name:"icon-star"})):s("",!0)]),o.comment?(t(),i("div",le,[a("p",{textContent:g(o.comment),class:"comment"},null,8,de)])):s("",!0),o.author?(t(),i("div",ue,[a("p",{textContent:g(o.author),class:"author"},null,8,pe)])):s("",!0)]),_:2},1024))),256)),e.contentReviews.list&&e.contentReviews.list.length>1?(t(),i("div",_e,[ve,a("div",he,[a("div",me,[a("div",ge,[h(l,{type:"icon",name:"icon-arrow",id:"arrow-prev",title:"",desc:""})]),ye,a("div",we,[h(l,{type:"icon",name:"icon-arrow",id:"arrow-next",title:"",desc:""})])])])])):s("",!0)]),_:1},8,["autoplay","breakpoints","pagination","navigation","onSwiper"])])):s("",!0),e.content&&!e.contentReviews?(t(),i("div",fe,[h(B,{template:e.content},null,8,["template"])])):s("",!0),a("div",ke,[(t(!0),i(y,null,w(e.buttons,o=>{var C;return t(),c(H,{href:o.href,class:_(o.class),target:(C=o.target)!=null?C:"_self",textContent:g(o.text)},null,8,["href","class","target","textContent"])}),256))])]),e.video&&!e.containerClasses.find(o=>o==="heading-video-content")?(t(),i("div",{key:0,class:_(["video-container",this.video.transcript?"with-transcript":""])},[e.video.type==="youtube"?(t(),i("iframe",{key:0,src:"https://www.youtube.com/embed/"+e.video.value,frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:"",width:"640",height:"360"},null,8,Ce)):s("",!0),this.video.transcript?(t(),c(p,{key:1,items:this.transcript},null,8,["items"])):s("",!0),e.video&&e.video.type==="vimeo"?(t(),i("div",be,[a("iframe",{src:"https://player.vimeo.com/video/"+e.video.value,width:"640",height:"360",allow:"fullscreen",allowfullscreen:""},null,8,Se),this.video.transcript?(t(),c(p,{key:0,items:this.transcript},null,8,["items"])):s("",!0)])):s("",!0)],2)):s("",!0)],2)],2)],2)}const He=V(te,[["render",xe],["__scopeId","data-v-1b731a1e"]]);export{He as default};