1import{_ as we}from"./20260923_30-Dj7_Ig09.js";import{_ as Ce}from"./20260923_30-C9BGtTLe.js";import{_ as Te}from"./20260923_30-DhvXibJo.js";import{_ as je}from"./20260923_30-DW8gTng7.js";import{_ as Oe}from"./20260923_30-RmZXkAI8.js";import $e from"./20260923_30-CSYGkMoZ.js";import{d as l,g as y,k,e as a,F as x,s as le,i as u,y as Y,q as v,z as L,u as U,f as T,p as d,v as F,n as I,h as ae,b as R,A as ne,j as b,x as E,m as C,a4 as re,a7 as de,ac as ue,_ as s,c as $,a0 as Ie,aj as Me,a5 as De,X as Le,ar as Ee,t as Pe,al as Be,au as Ae,bm as ze,b6 as Ne,w as Re,l as Ve,bn as He,bo as Xe,aS as Ue,r as Fe,ap as Ye}from"./20260923_30-BoOx6aVR.js";import{_ as ce}from"./20260923_30-ZPojt6zx.js";import{u as qe}from"./20260923_30-DgpKfy0h.js";import{_ as he}from"./20260923_30-Cpm_f2Em.js";import{_ as We}from"./20260923_30-UUsF5HPx.js";import Ke from"./20260923_30-t8h4uOYi.js";import{_ as Ge}from"./20260923_30-CfODBUhL.js";import Je from"./20260923_30-DhnvkOQK.js";import{k as oe}from"./20260923_30-BSbKw8hS.js";import{u as Qe}from"./20260923_30-B-61cgzE.js";import{u as Ze}from"./20260923_30-B7U2Li7q.js";import"./20260923_30-DVg5e7cc.js";import"./20260923_30-BXW5YF-n.js";import"./20260923_30-BX4gNfyL.js";import"./20260923_30-pjSx3fLE.js";import"./20260923_30-CdBd5foE.js";import"./20260923_30-zyhc9A_k.js";import"./20260923_30-CAVp16D1.js";import"./20260923_30-Br9Onojv.js";import"./20260923_30-B4MljK53.js";import"./20260923_30-Cxd0vKdX.js";import"./20260923_30-CBodG7K0.js";const et=["src"],tt=["src"],st=["src"],it=["src"],lt=["src"],nt={key:2},ot={class:"vueperslide__content-wrapper"},at=["innerHTML"],rt=["innerHTML"],dt={class:"vueperslide__content-wrapper"},ut=["innerHTML"],ct=["innerHTML"],ht={key:4,class:"vueperslide__loader"};function pt(e,i,n,r,f,t){return l(),y(ae(n.link?"a":"div"),{class:I(["vueperslide",t.slideClasses]),href:n.link&&!t.justDragged?n.link:!1,target:n.link&&n.openInNew?typeof n.openInNew=="boolean"?"_blank":n.openInNew:"_self",face:t.slideFace3d,style:L(t.slideStyles),"aria-hidden":t.slides.activeId===e._.uid||t.isSlideVisible?"false":"true",onMouseenter:i[0]||(i[0]=m=>e.$emit("mouse-enter",{slideIndex:t.slideIndex,title:n.title,content:n.content,image:n.image,link:n.link},e.$el)),onMouseleave:i[1]||(i[1]=m=>e.$emit("mouse-leave"))},{default:k(()=>[t.videoObj?(l(),a(x,{key:0},[t.videoObj.webm||t.videoObj.mp4?(l(),a("video",le({key:0,class:"vueperslide__video",width:"100%",height:"100%"},t.videoObj.props||{}),[t.videoObj.webm?(l(),a("source",{key:0,src:t.videoObj.webm,type:"video/webm"},null,8,et)):u("",!0),t.videoObj.mp4?(l(),a("source",{key:1,src:t.videoObj.mp4,type:"video/mp4"},null,8,tt)):u("",!0),t.videoObj.ogv?(l(),a("source",{key:2,src:t.videoObj.ogv,type:"video/ogg"},null,8,st)):u("",!0),t.videoObj.avi?(l(),a("source",{key:3,src:t.videoObj.avi,type:"video/avi"},null,8,it)):u("",!0),Y(v(t.videoObj.alt||"Sorry, your browser doesn't support embedded videos."),1)],16)):t.videoObj.url?(l(),a("iframe",le({key:1,class:"vueperslide__video",src:t.videoObj.url,type:"text/html",frameborder:"0",width:"100%",height:"100%"},t.videoObj.props||{}),null,16,lt)):u("",!0)],64)):u("",!0),e.imageSrc&&t.conf.slideImageInside?(l(),a("div",{key:1,class:"vueperslide__image",style:L(t.imageStyles)},null,4)):u("",!0),t.conf.slideContentOutside?U((l(),a("div",nt,[T(e.$slots,"content",{},()=>[d("div",ot,[n.title?(l(),a("div",{key:0,class:"vueperslide__title",innerHTML:n.title},null,8,at)):u("",!0),n.content?(l(),a("div",{key:1,class:"vueperslide__content",innerHTML:n.content},null,8,rt)):u("",!0)])])],512)),[[F,!1]]):T(e.$slots,"content",{key:3},()=>[d("div",dt,[n.title?(l(),a("div",{key:0,class:"vueperslide__title",innerHTML:n.title},null,8,ut)):u("",!0),n.content?(l(),a("div",{key:1,class:"vueperslide__content",innerHTML:n.content},null,8,ct)):u("",!0)])]),t.conf.lazy&&!e.loaded?(l(),a("div",ht,[T(e.$slots,"loader")])):u("",!0)]),_:3},40,["href","target","class","face","style","aria-hidden"])}const pe=(e,i)=>{const n=e.__vccOpts||e;for(const[r,f]of i)n[r]=f;return n},ft={inject:["slides","touch","updateSlide","addClone","addSlide","removeSlide"],props:{clone:{type:Boolean},image:{type:String,default:""},video:{type:[String,Object],default:""},title:{type:String,default:""},content:{type:String,default:""},link:{type:String,default:""},duration:{type:Number,default:0},lazyloaded:{type:Boolean},openInNew:{type:[Boolean,String]}},emits:["mouse-enter","mouse-leave"],data:()=>({imageSrc:"",loading:!1,loaded:!1}),computed:{conf(){return this.$parent.conf},slideClasses(){return{"vueperslide--active":this.slides.activeId===this._.uid,"vueperslide--previous-slide":this.isPreviousSlide,"vueperslide--next-slide":this.isNextSlide,"vueperslide--visible":this.isSlideVisible,"vueperslide--loading":this.conf.lazy&&!this.loaded,"vueperslide--has-video":this.videoObj,"vueperslide--has-image-inside":this.conf.slideImageInside,"vueperslide--no-pointer-events":this.videoObj&&this.videoObj.pointerEvents===!1}},slideStyles(){const{visibleSlides:e,fade:i,slideImageInside:n,gap:r,gapPx:f}=this.conf;return{...!n&&this.imageSrc&&{backgroundImage:`url("${this.imageSrc}")`},...e>1&&{width:(100-(r?r*(e-1):0))/e+"%"},...e>1&&i&&{[this.conf.rtl?"right":"left"]:this.slideIndex%e/e*100+"%"},...r&&{[this.conf.rtl?"marginLeft":"marginRight"]:r+(f?"px":"%")}}},videoObj(){if(!this.video)return null;let e={url:"",alt:"",props:{controls:!0}};return typeof this.video=="object"?e=Object.assign(e,this.video):typeof this.video=="string"&&(e.url=this.video),e},youtubeVideo(){return/youtube\.|youtu\.be/.test(this.videoObj.url)},imageStyles(){return{...this.conf.slideImageInside&&this.imageSrc&&{backgroundImage:`url("${this.imageSrc}")`}}},slideFace3d(){if(!this.conf["3d"])return!1;const e=["front","right","back","left"],i=(this.slides.current-1+this.slidesCount)%this.slidesCount,n=(this.slides.current+1)%this.slidesCount;let r="front";return this.slideIndex===i?r=e[(4+this.slides.current-1)%4]:this.slideIndex===n&&(r=e[(this.slides.current+1)%4]),r=e[this.slideIndex%4],this.conf.rtl&&r==="left"?r="right":this.conf.rtl&&r==="right"&&(r="left"),r},isPreviousSlide(){if(!this.conf["3d"])return!1;const e=(this.slides.current-1+this.slidesCount)%this.slidesCount;return this._.uid===this.slides.list[e].id},isNextSlide(){if(!this.conf["3d"])return!1;const e=(this.slides.current+1)%this.slidesCount;return this._.uid===this.slides.list[e].id}
1,isSlideVisible(){return this.slideIndex>=this.slides.firstVisible&&this.slideIndex<this.slides.firstVisible+this.conf.visibleSlides},slidesList(){return this.slides.list.map(e=>e.id)},slidesCount(){return this.slidesList.length},slideIndex(){return this.slidesList.indexOf(this._.uid)},justDragged(){return this.touch.justDragged}},methods:{updateThisSlide(e){this.updateSlide(this._.uid,e)},loadImage(){if(!(this.loading||this.loaded))return this.loading=!0,new Promise((e,i)=>{const n=document.createElement("img");n.onload=()=>{this.imageSrc=this.image,this.loading=!1,this.loaded=!0,this.$nextTick(()=>{e({image:this.imageSrc,style:((this.$el.attributes||{}).style||{}).value})})},n.onerror=(this.loading=!1)||i,n.src=this.image})},playVideo(){this.videoObj&&(this.videoObj.url?this.$el.querySelector("iframe").contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*"):this.$el.querySelector("video").play())},pauseVideo(){this.videoObj&&(this.videoObj.url?this.$el.querySelector("iframe").contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*"):this.$el.querySelector("video").pause())}},created(){if(this.imageSrc=this.conf.lazy?"":this.image,this.clone)return this.addClone();this.addSlide({id:this._.uid,image:this.imageSrc,video:this.videoObj&&{...this.videoObj,play:this.playVideo,pause:this.pauseVideo},title:this.title,content:this.content,contentSlot:this.$slots.content,loaderSlot:this.$slots.loader,link:this.link,style:"",loadImage:this.loadImage,duration:this.duration})},mounted(){this.clone||this.updateThisSlide({contentSlot:this.$slots.content,loaderSlot:this.$slots.loader,style:((this.$el.attributes||{}).style||{}).value})},beforeUnmount(){this.clone||this.removeSlide(this._.uid)},watch:{image(){this.imageSrc=this.conf.lazy&&!this.isSlideVisible?"":this.image,this.clone||this.updateThisSlide({image:this.imageSrc,...!this.conf.slideImageInside&&{style:this.slideStyles}})},title(){this.clone||this.updateThisSlide({title:this.title})},content(){this.clone||this.updateThisSlide({content:this.content})},link(){this.clone||this.updateThisSlide({link:this.link})},lazyloaded(){this.clone&&(this.loaded=this.lazyloaded)}}},fe=pe(ft,[["render",pt]]),mt=["innerHTML"],gt=["innerHTML"],vt={class:"vueperslides__inner"},_t={key:0,class:"vueperslides__paused"},yt={key:1,class:"vueperslides__progress"},bt={key:2,class:"vueperslides__fractions"},St={viewBox:"0 0 9 18"},xt=["d"],kt={viewBox:"0 0 9 18"},wt=["d"],Ct={key:4,class:"vueperslides__bullets",ref:"bullets",role:"tablist","aria-label":"Slideshow navigation"},Tt=["aria-label","onClick"],jt={class:"default"},Ot={key:1,class:"vueperslides__bullets vueperslides__bullets--outside",ref:"bullets",role:"tablist","aria-label":"Slideshow navigation"},$t=["aria-label","onClick"],It={class:"default"},Mt=["innerHTML"],Dt=["innerHTML"];function Lt(e,i,n,r,f,t){const m=R("vnodes"),S=R("vueper-slide");return l(),a("div",{class:I(["vueperslides",t.vueperslidesClasses]),ref:"vueperslides","aria-label":"Slideshow",style:L(t.vueperslidesStyles)},[t.slidesCount&&t.conf.slideContentOutside==="top"?(l(),a("div",{key:0,class:I(["vueperslide__content-wrapper vueperslide__content-wrapper--outside-top",t.conf.slideContentOutsideClass])},[t.currentSlide.contentSlot?(l(),y(m,{key:0,vnodes:t.currentSlide.contentSlot()},null,8,["vnodes"])):(l(),a(x,{key:1},[t.currentSlide.title?(l(),a("div",{key:0,class:"vueperslide__title",innerHTML:t.currentSlide.title},null,8,mt)):u("",!0),t.currentSlide.content?(l(),a("div",{key:1,class:"vueperslide__content",innerHTML:t.currentSlide.content},null,8,gt)):u("",!0)],64))],2)):u("",!0),d("div",vt,[d("div",{class:"vueperslides__parallax-wrapper",style:L(`padding-bottom: ${t.conf.slideRatio*100}%`),"aria-live":"polite"},[d("div",{class:I(["vueperslides__track",{"vueperslides__track--dragging":e.touch.dragging,"vueperslides__track--mousedown":e.mouseDown}]),ref:"track",style:L(t.trackStyles)},[d("div",{class:"vueperslides__track-inner",style:L(t.trackInnerStyles)},[T(e.$slots,"default"),e.isReady&&t.conf.infinite&&t.canSlide&&t.lastSlide?(l(),y(S,{key:0,class:"vueperslide--clone vueperslide--clone-1",clone:"",title:t.lastSlide.title,content:t.lastSlide.content,image:t.lastSlide.image,link:t.lastSlide.link,style:L(t.lastSlide.style),lazyloaded:t.lastSlide.loaded,"aria-hidden":"true"},ne({_:2},[t.lastSlide.contentSlot?{name:"content",fn:k(()=>[b(m,{vnodes:t.lastSlide.contentSlot()},null,8,["vnodes"])]),key:"0"}:void 0,t.conf.lazy&&!t.lastSlide.loaded&&t.lastSlide.loaderSlot?{name:"loader",fn:k(()=>[b(m,{vnodes:t.lastSlide.loaderSlot()},null,8,["vnodes"])]),key:"1"}:void 0]),1032,["title","content","image","link","style","lazyloaded"])):u("",!0),e.isReady&&t.conf.infinite&&t.canSlide&&t.firstSlide?(l(),y(S,{key:1,class:"vueperslide--clone vueperslide--clone-2",clone:"",title:t.firstSlide.title,content:t.firstSlide.content,image:t.firstSlide.image,link:t.firstSlide.link,style:L(t.firstSlide.style),lazyloaded:t.firstSlide.loaded,"aria-hidden":"true"},ne({_:2},[t.firstSlide.contentSlot?{name:"content",fn:k(()=>[b(m,{vnodes:t.firstSlide.contentSlot()},null,8,["vnodes"])]),key:"0"}:void 0,t.conf.lazy&&!t.firstSlide.loaded&&t.firstSlide.loaderSlot?{name:"loader",fn:k(()=>[b(m,{vnodes:t.firstSlide.loaderSlot()},null,8,["vnodes"])]),key:"1"}:void 0]),1032,["title","content","image","link","style","lazyloaded"])):u("",!0)],4)],6)],4),(t.conf.pauseOnHover||t.conf.pauseOnTouch)&&e.$slots.pause?(l(),a("div",_t,[T(e.$slots,"pause")])):u("",!0),t.conf.progress?(l(),a("div",yt,[T(e.$slots,"progress",{current:e.slides.current+1,total:t.slidesCount},()=>[d("div",{style:L(`width: ${(e.slides.current+1)*100/t.slidesCount}%`)},null,4)])])):u("",!0),t.conf.fractions?(l(),a("div",bt,[T(e.$slots,"fraction",{current:e.slides.current+1,total:t.slidesCount},()=>[Y(v(`${e.slides.current+1} / ${t.slidesCount}`),1)])])):u("",!0),t.conf.arrows&&t.canSlide&&!n.disable?(l(),a("div",{key:3,class:I(["vueperslides__arrows",{"vueperslides__arrows--outside":t.conf.arrowsOutside}])},[U(d("button",{class:"vueperslides__arrow vueperslides__arrow--prev",type:"button",onClick:i[0]||(i[0]=p=>t.previous()),"aria-label":"Previous",onKeyup:[i[1]||(i[1]=E(p=>t.conf.rtl?t.next():t.previous(),["left"])),i[2]||(i[2]=E(p=>t.conf.rtl?t.previous():t.next(),["right"]))]},[T(e.$slots,`arrow-${t.conf.rtl?"right":"left"}`,{},()=>[(l(),a("svg",St,[d("path",{"stroke-linecap":"round",d:t.conf.rtl?"m1 1 l7 8 -7 8":"m8 1 l-7 8 7 8"},null,8,xt)]))])],544),[[F,!t.arrowPrevDisabled]]),U(d("button",{class:"vueperslides__arrow vueperslides__arrow--next",type:"button",onClick:i[3]||(i[3]=p=>t.next()),"aria-label":"Next",onKeyup:[i[4]||(i[4]=E(p=>t.conf.rtl?t.next():t.previous(),["left"])),i[5]||(i[5]=E(p=>t.conf.rtl?t.previous():t.next(),["right"]))]},[T(e.$slots,`arrow-${t.conf.rtl?"left":"right"}`,{},()=>[(l(),a("svg",kt,[d("path",{"stroke-linecap":"round",d:t.conf.rtl?"m8 1 l-7 8 7 8":"m1 1 l7 8 -7 8"},null,8,wt)]))])],544),[[F,!t.arrowNextDisabled]])],2)):u("",!0),t.conf.bullets&&t.canSlide&&!n.disable&&!t.conf.bulletsOutside?(l(),a("div",Ct,[T(e.$slots,"bullets",{currentSlide:e.slides.current,bulletIndexes:t.bulletIndexes,goToSlide:t.goToSlide,previous:t.previous,next:t.
1next},()=>[(l(!0),a(x,null,C(t.bulletIndexes,(p,h)=>(l(),a("button",{class:I(["vueperslides__bullet",{"vueperslides__bullet--active":e.slides.current===p}]),type:"button",key:h,role:"tab","aria-label":`Slide ${h+1}`,onClick:_=>t.goToSlide(p),onKeyup:[i[6]||(i[6]=E(_=>t.conf.rtl?t.next():t.previous(),["left"])),i[7]||(i[7]=E(_=>t.conf.rtl?t.previous():t.next(),["right"]))]},[T(e.$slots,"bullet",{active:e.slides.current===p,slideIndex:p,index:h+1},()=>[d("div",jt,[d("span",null,v(h+1),1)])])],42,Tt))),128))])],512)):u("",!0)]),t.conf.bullets&&t.canSlide&&!n.disable&&t.conf.bulletsOutside?(l(),a("div",Ot,[T(e.$slots,"bullets",{currentSlide:e.slides.current,bulletIndexes:t.bulletIndexes,goToSlide:t.goToSlide,previous:t.previous,next:t.next},()=>[(l(!0),a(x,null,C(t.bulletIndexes,(p,h)=>(l(),a("button",{class:I(["vueperslides__bullet",{"vueperslides__bullet--active":e.slides.current===p}]),type:"button",key:h,role:"tab","aria-label":`Slide ${h+1}`,onClick:_=>t.goToSlide(p),onKeyup:[i[8]||(i[8]=E(_=>t.conf.rtl?t.next():t.previous(),["left"])),i[9]||(i[9]=E(_=>t.conf.rtl?t.previous():t.next(),["right"]))]},[T(e.$slots,"bullet",{active:e.slides.current===p,slideIndex:p,index:h+1},()=>[d("div",It,[d("span",null,v(h+1),1)])])],42,$t))),128))])],512)):u("",!0),t.slidesCount&&t.conf.slideContentOutside==="bottom"?(l(),a("div",{key:2,class:I(["vueperslide__content-wrapper vueperslide__content-wrapper--outside-bottom",t.conf.slideContentOutsideClass])},[t.currentSlide.contentSlot?(l(),y(m,{key:0,vnodes:t.currentSlide.contentSlot()},null,8,["vnodes"])):(l(),a(x,{key:1},[t.currentSlide.title?(l(),a("div",{key:0,class:"vueperslide__title",innerHTML:t.currentSlide.title},null,8,Mt)):u("",!0),t.currentSlide.content?(l(),a("div",{key:1,class:"vueperslide__content",innerHTML:t.currentSlide.content},null,8,Dt)):u("",!0)],64))],2)):u("",!0)],6)}const Et={name:"vueper-slides",components:{VueperSlide:fe,vnodes:{render(){return this.$attrs.vnodes}}},provide(){return{conf:this.conf,slides:this.slides,touch:this.touch,updateSlide:this.updateSlide,addClone:this.addClone,addSlide:this.addSlide,removeSlide:this.removeSlide}},props:{alwaysRefreshClones:{type:Boolean,default:!1},arrows:{type:Boolean,default:!0},arrowsOutside:{type:Boolean,default:null},autoplay:{type:Boolean,default:!1},breakpoints:{type:Object,default:()=>({})},bullets:{type:Boolean,default:!0},bulletsOutside:{type:Boolean,default:null},disable:{type:Boolean,default:!1},disableArrowsOnEdges:{type:[Boolean,String],default:!1},draggingDistance:{type:Number,default:null},duration:{type:[Number,String],default:4e3},infinite:{type:Boolean,default:!0},fade:{type:Boolean,default:!1},fixedHeight:{type:[Boolean,String],default:!1},fractions:{type:Boolean,default:!1},gap:{type:Number,default:0},initSlide:{type:Number,default:1},lazy:{type:Boolean,default:!1},lazyLoadOnDrag:{type:Boolean,default:!1},pauseOnHover:{type:Boolean,default:!0},pauseOnTouch:{type:Boolean,default:!0},parallax:{type:[Boolean,Number],default:!1},pageScrollingElement:{type:String,default:""},parallaxFixedContent:{type:Boolean,default:!1},preventYScroll:{type:Boolean,default:!1},progress:{type:Boolean,default:!1},rtl:{type:Boolean,default:!1},slideContentOutside:{type:[Boolean,String],default:!1},slideContentOutsideClass:{type:String,default:""},slideImageInside:{type:Boolean,default:!1},slideMultiple:{type:[Boolean,Number],default:!1},slideRatio:{type:Number,default:1/3},touchable:{type:Boolean,default:!0},transitionSpeed:{type:[Number,String],default:600},visibleSlides:{type:Number,default:1},"3d":{type:Boolean,default:!1}},emits:["ready","next","previous","autoplay-pause","autoplay-resume","before-slide","slide","image-loaded","image-failed"],data:()=>({isReady:!1,isPaused:!1,container:null,slides:{list:[],activeId:null,current:0,focus:0,firstVisible:0},mouseDown:!1,mouseOver:!1,touch:{enabled:!0,dragging:!1,lazyloadTriggered:!1,justDragged:!1,dragStartX:0,dragNowX:0,dragAmount:0},transition:{currentTranslation:0,speed:0,animated:!1},autoplayTimer:null,nextSlideIsClone:!1,breakpointsData:{list:[],current:null},parallaxData:{translation:0,slideshowOffsetTop:null,isVisible:!1}}
1),computed:{conf(){const e={...this.$props,...this.$props.breakpoints&&this.$props.breakpoints[this.breakpointsData.current]||{}};return e.slideMultiple=e.slideMultiple?e.visibleSlides:1,e.gap=this.gap&&parseInt(this.gap)||0,e.visibleSlides>1&&(e["3d"]=!1),(e.fade||e.disableArrowsOnEdges||e.visibleSlides>1||e["3d"])&&(e.infinite=!1),e.visibleSlides>1&&e.arrowsOutside===null&&(e.arrowsOutside=!0),e.visibleSlides>1&&e.bulletsOutside===null&&(e.bulletsOutside=!0),this.touch.enabled!==e.touchable&&this.toggleTouchableOption(e.touchable),e.parallax&&e.parallaxFixedContent&&(e.slideContentOutside="top",e.slideContentOutsideClass="parallax-fixed-content"),e},slidesCount(){return this.slides.list.length},gapsCount(){const{fade:e,"3d":i,slideMultiple:n,gap:r}=this.conf;if(!r||e||i||this.multipleSlides1by1&&this.slides.current<this.preferredPosition)return 0;if(!this.slides.current&&this.nextSlideIsClone)return this.slidesCount;if(this.nextSlideIsClone===0)return-1;let f=this.slides.current/n-this.preferredPosition;return this.multipleSlides1by1&&this.slidePosAfterPreferred>0&&(f-=this.slidePosAfterPreferred),f},slidesAfterCurrent(){return this.slidesCount-(this.slides.current+1)},preferredPosition(){return this.multipleSlides1by1?Math.ceil(this.conf.visibleSlides/2)-1:0},slidePosAfterPreferred(){return this.conf.visibleSlides-this.preferredPosition-this.slidesAfterCurrent-1},multipleSlides1by1(){return this.conf.visibleSlides>1&&this.conf.slideMultiple===1},touchEnabled:{get(){return this.slidesCount>1&&this.touch.enabled},set(e){this.touch.enabled=e}},canSlide(){return this.slidesCount/this.conf.visibleSlides>1},firstSlide(){const e=this.slidesCount?this.slides.list[0]:{};return e.style&&typeof e.style=="string"&&(e.style=e.style.replace(/width: ?\d+.*?;?/,"")),e},lastSlide(){const e=this.slidesCount?this.slides.list[this.slidesCount-1]:{};return e.style&&typeof e.style=="string"&&(e.style=e.style.replace(/width: ?\d+.*?;?/,"")),e},currentSlide(){const e=this.slidesCount&&this.slides.list[this.slides.current]||{};return this.slides.current<this.slidesCount&&e.id!==this.slides.activeId&&this.goToSlide(this.slides.current,{animation:!1,autoPlaying:!0}),e},vueperslidesClasses(){return{"vueperslides--ready":this.isReady,"vueperslides--rtl":this.conf.rtl,"vueperslides--fade":this.conf.fade,"vueperslides--parallax":this.conf.parallax,"vueperslides--slide-image-inside":this.conf.slideImageInside,"vueperslides--touchable":this.touchEnabled&&!this.disable,"vueperslides--fixed-height":this.conf.fixedHeight,"vueperslides--3d":this.conf["3d"],"vueperslides--slide-multiple":this.conf.slideMultiple>1,"vueperslides--bullets-outside":this.conf.bulletsOutside,"vueperslides--animated":this.transition.animated,"vueperslides--no-animation":!this.isReady}},vueperslidesStyles(){return/^-?\d/.test(this.conf.fixedHeight)?`height: ${this.conf.fixedHeight}`:null},trackStyles(){const e={};return this.conf.parallax&&(e.transform=`translate3d(0, ${this.parallaxData.translation}%, 0)`,e.willChange=this.parallaxData.isVisible?"transform":"auto"),e},trackInnerStyles(){const e={},{fade:i,"3d":n}=this.conf;if(e.transitionDuration=`${this.transition.speed}ms`,n){const r=this.transition.currentTranslation*90/100;e.transform=`rotateY(-90deg) translateX(-50%) rotateY(90deg) rotateY(${r}deg)`}else i||(e.transform=`translate3d(${this.transition.currentTranslation}%, 0, 0)`,e.willChange=this.touch.dragging||this.transition.animated?"transform":"auto");return e},bulletIndexes(){return Array(Math.ceil(this.slidesCount/this.conf.slideMultiple)).fill().map((e,i)=>i*this.conf.slideMultiple)},arrowPrevDisabled(){return!this.slides.current&&this.conf.disableArrowsOnEdges},arrowNextDisabled(){const{disableArrowsOnEdges:e,visibleSlides:i,slideMultiple:n}=this.conf;return this.slides.current+(n>1&&i>1?i-1:0)===this.slidesCount-1&&e}},methods:{init(){this.container=this.$refs.vueperslides,this.touchEnabled=this.conf.touchable,this.transition.speed=this.conf.transitionSpeed,Object.keys(this.breakpoints).length&&(this.setBreakpointsList(),this.setBreakpointConfig(this.getCurrentBreakpoint()));const e={animation:!1,autoPlaying:this.conf.autoplay};this.goToSlide(this.conf.initSlide-1,e),this.bindEvents(),this.$nextTick(()=>
1{this.isReady=!0,this.emit("ready")})},emit(e,i=!0,n=!1){let r=null;if((i||typeof n=="number")&&(r={},i&&this.slides.activeId&&this.slidesCount&&(r.currentSlide=this.getSlideData(this.slides.current)),typeof n=="number"&&this.slidesCount)){const{nextSlide:f}=this.getSlideInRange(n);r.nextSlide=this.getSlideData(f)}this.$emit(...r?[e,r]:[e])},getSlideData(e){const i=this.slides.list[e];let n={};return i&&(n={index:e,title:i.title,content:i.content,contentSlot:i.contentSlot,image:i.image,link:i.link}),n},setBreakpointsList(){this.breakpointsData.list=[99999,...Object.keys(this.breakpoints)].map(e=>parseInt(e)).sort((e,i)=>parseInt(i)-parseInt(e))},getCurrentBreakpoint(){const e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,i=[e,...this.breakpointsData.list].sort((n,r)=>parseInt(r)-parseInt(n));return this.breakpointsData.list[i.indexOf(e)-1]},hasBreakpointChanged(e){return this.breakpointsData.current!==parseInt(e)},setBreakpointConfig(e){const i=this.breakpoints&&this.breakpoints[e]||{},n=i.slideMultiple&&i.slideMultiple!==this.conf.slideMultiple,r=i.visibleSlides&&i.visibleSlides!==this.conf.visibleSlides;this.breakpointsData.current=e,this.slides.current=this.getFirstVisibleSlide(this.slides.focus),n||r?this.goToSlide(this.slides.current,{breakpointChange:!0}):this.updateTrackTranslation()},bindEvents(){const e="ontouchstart"in window;this.touchEnabled&&this.toggleTouchableOption(!0),this.conf.autoplay&&(this.conf.pauseOnHover&&!e?(this.container.addEventListener("mouseenter",this.onMouseEnter),this.container.addEventListener("mouseleave",this.onMouseLeave)):this.conf.pauseOnTouch&&e&&document.addEventListener("touchstart",i=>{this[this.$el.contains(i.target)?"onSlideshowTouch":"onOustideTouch"]()})),(this.breakpointsData.list.length||this.conf.parallax)&&window.addEventListener("resize",this.onResize),this.conf.parallax&&this.enableParallax()},getSlideshowOffsetTop(e=!1){if(this.parallaxData.slideshowOffsetTop===null||e){let i=this.container,n=i.offsetTop;for(;i=i.offsetParent;)n+=i.offsetTop;this.parallaxData.slideshowOffsetTop=n}return this.parallaxData.slideshowOffsetTop},enableParallax(){this.refreshParallax(),this.pageScrollingElement?(this.parallaxData.scrollingEl=document.querySelector(this.pageScrollingElement),this.parallaxData.scrollingEl.addEventListener("scroll",this.onScroll)):document.addEventListener("scroll",this.onScroll)},disableParallax(){(this.pageScrollingElement?document.querySelector(this.pageScrollingElement):document).removeEventListener("scroll",this.onScroll),this.parallaxData.scrollingEl=null,this.parallaxData.isVisible=!1,this.parallaxData.translation=0,this.parallaxData.slideshowOffsetTop=null},onScroll(){const{scrollingEl:e}=this.parallaxData,i=document.documentElement;let n=0;e?n=e.scrollTop:n=(window.pageYOffset||i.scrollTop)-(i.clientTop||0);const r=window.innerHeight||i.clientHeight||document.body.clientHeight,f=this.container.clientHeight,t=this.getSlideshowOffsetTop(),m=t+f-n,S=r+n-t;if(this.parallaxData.isVisible=m>0&&S>0,this.parallaxData.isVisible){const p=r+f,h=m*100/p,_=this.conf.parallax===-1?100-h:h;this.parallaxData.translation=-_/2}},onResize(){if(this.breakpointsData.list.length){const e=this.getCurrentBreakpoint();this.hasBreakpointChanged(e)&&this.setBreakpointConfig(e)}this.conf.parallax&&this.getSlideshowOffsetTop(!0)},onMouseEnter(){this.mouseOver=!0,this.conf.pauseOnHover&&this.conf.autoplay&&(this.isPaused=!0)},onMouseLeave(){this.mouseOver=!1,this.conf.pauseOnHover&&this.conf.autoplay&&(this.isPaused=!1)},onMouseDown(e){!this.touchEnabled||this.disable||(!e.touches&&this.preventYScroll&&e.preventDefault(),this.mouseDown=!0,this.touch.dragStartX=this.getCurrentMouseX(e),this.conf.draggingDistance||this.updateTrackTranslation(this.touch.dragStartX))},onMouseMove(e){if(this.mouseDown||this.touch.dragging)if(this.conf.autoplay&&(this.isPaused=!0),this.preventYScroll&&e.preventDefault(),this.mouseDown=!1,this.touch.dragging=!0,this.touch.dragNowX=this.getCurrentMouseX(e),this.conf.draggingDistance){this.touch.dragAmount=this.touch.dragNowX-this.touch.dragStartX;const i=this.touch.dragAmount/this.container.clientWidth;this.updateTrackTranslation(),this.transition.currentTranslation+=100*i}else this.updateTrackTranslation(this.touch.dragNowX)},onMouseUp(e){if(this.mouseDown=!1,this.touch.dragging)this.conf.autoplay&&(!("ontouchstart"in window)&&
1!this.mouseOver?this.isPaused=!1:this.conf.pauseOnTouch||(this.isPaused=!1));else return this.cancelSlideChange();this.touch.dragging=!1;const i=this.conf.draggingDistance?-this.touch.dragAmount:0,n=(this.touch.dragStartX-this.container.offsetLeft)/this.container.clientWidth,r=(this.touch.dragNowX-this.container.offsetLeft)/this.container.clientWidth,f=((n<.5?0:1)-r)*100;let t=(i||f)>0;if(this.conf.rtl&&(t=!t),[Math.abs(i)<this.conf.draggingDistance,!this.conf.draggingDistance&&Math.abs(f)<50,this.arrowPrevDisabled&&!this.slides.current&&!t,this.arrowNextDisabled&&this.slides.current===this.slidesCount-1&&t].includes(!0))this.cancelSlideChange();else{const m=this.slides.current+this.conf.slideMultiple*(t?1:-1);this.emit(t?"next":"previous"),this.goToSlide(m)}this.touch.dragStartX=null,this.touch.dragNowX=null,this.touch.dragAmount=null,this.touch.justDragged=!0,setTimeout(()=>this.touch.justDragged=!1,50),this.touch.lazyloadTriggered=!1},onSlideshowTouch(){this.isPaused=!0},onOustideTouch(){this.isPaused=!1},justDragged(){return this.touch.justDragged},cancelSlideChange(){this.conf.fade||this.updateTrackTranslation()},getCurrentMouseX(e){return"ontouchstart"in window?e.touches[0].clientX:e.clientX},getBasicTranslation(){return this.slides.current/this.conf.visibleSlides},updateTrackTranslation(e=null){let i=this.getBasicTranslation();const{infinite:n,visibleSlides:r,slideMultiple:f,gap:t,"3d":m,lazy:S,lazyLoadOnDrag:p}=this.conf;if(n&&this.nextSlideIsClone!==!1&&(i=(this.nextSlideIsClone?this.slidesCount:-1)/r),t&&(i+=this.gapsCount/(r/f)*t/100),this.touch.dragStartX&&e&&!(n&&this.nextSlideIsClone!==!1)){let h=0;const _=(this.touch.dragStartX-this.container.offsetLeft)/this.container.clientWidth;let j=(e-this.container.offsetLeft)/this.container.clientWidth;if(m){const w=Math.round(_)?[0,2]:[-1,1];j=Math.min(Math.max(j,w[0]),w[1])}if(h=(_<.5?0:1)-j,i+=h*(this.conf.rtl?-1:1),S&&p&&!this.touch.lazyloadTriggered){this.touch.lazyloadTriggered=!0;let w=this.slides.current+(h>0?1:-1)*r;n&&w===-1?w=this.slidesCount-1:n&&w===this.slidesCount&&(w=0);for(let P=0;P<r;P++){const M=this.slides.list[w+P];M&&!M.loaded&&this.loadSlide(M,w+P)}}}if(this.multipleSlides1by1&&!n){const h=this.slidePosAfterPreferred>0;let _=Math.min(this.preferredPosition,this.slides.current);h&&(_+=this.slidePosAfterPreferred),i-=_/r}this.transition.currentTranslation=-i*100*(this.conf.rtl?-1:1)},pauseAutoplay(){this.isPaused=!0,clearTimeout(this.autoplayTimer),this.autoplayTimer=0,this.emit("autoplay-pause")},resumeAutoplay(){this.isPaused=!1,this.doAutoplay(),this.emit("autoplay-resume")},doAutoplay(){clearTimeout(this.autoplayTimer),this.autoplayTimer=setTimeout(()=>{this.goToSlide(this.slides.current+this.conf.slideMultiple,{autoPlaying:!0})},this.currentSlide.duration||this.conf.duration)},previous(e=!0){e&&this.emit("previous"),this.goToSlide(this.slides.current-this.conf.slideMultiple)},next(e=!0){e&&this.emit("next"),this.goToSlide(this.slides.current+this.conf.slideMultiple)},refreshParallax(){setTimeout(()=>{this.onResize(),this.onScroll()},100)},getFirstVisibleSlide(e){const{slideMultiple:i,visibleSlides:n}=this.conf;let r=this.slides.current;return n>1&&i===n?r=Math.floor(e/n)*n:this.multipleSlides1by1&&(r=e-Math.min(e,this.preferredPosition)-Math.max(this.slidePosAfterPreferred,0)),r},getSlideInRange(e,i){let n=!1;this.conf.infinite&&e===-1?n=0:this.conf.infinite&&e===this.slidesCount&&(n=1);let r=(e+this.slidesCount)%this.slidesCount;if(this.conf.slideMultiple>1){const f=this.slidesCount%this.conf.slideMultiple||this.conf.slideMultiple,t=this.conf.slideMultiple-f;r+=e<0?t:0,r=this.getFirstVisibleSlide(r)}return this.conf.disableArrowsOnEdges&&(e<0||e>this.slidesCount-1)&&!i&&(r=this.slides.current),{nextSlide:r,clone:n}},goToSlide(e,{animation:i=!0,autoPlaying:n=!1,jumping:r=!1,breakpointChange:f=!1,emit:t=!0}={}){if(!this.slidesCount||this.disable)return;this.conf.autoplay&&!n&&!this.isPaused&&(this.isPaused=!0,this.$nextTick(()=>this.isPaused=!1)),this.transition.animated=i,setTimeout(()=>this.transition.animated=!1,this.transitionSpeed);const{nextSlide:m,clone:S}=this.getSlideInRange(e,n);
1if(this.nextSlideIsClone=S,!this.slides.list[m])return;if(this.conf.lazy)for(let h=0;h<this.conf.visibleSlides;h++){const _=this.slides.list[m+h];_&&!_.loaded&&this.loadSlide(_,m+h)}this.isReady&&!r&&t&&this.emit("before-slide",!0,m);const p=this.slides.list[m];if(this.isReady&&p.video){const h=this.slides.list[this.slides.current];h.video&&h.video.pause(),p.video.play()}if(S!==!1&&setTimeout(()=>{const h=e===-1&&this.slides.current!==this.slidesCount-1,_=e===this.slidesCount&&this.slides.current!==0;h||_||(this.transition.speed=0,this.goToSlide(S?0:this.slidesCount-1,{animation:!1,jumping:!0}),setTimeout(()=>this.transition.speed=this.conf.transitionSpeed,50))},this.transition.speed-50),this.slides.current=m,this.slides.firstVisible=this.getFirstVisibleSlide(m),f||(this.slides.focus=m),this.conf.fade||this.updateTrackTranslation(),this.slides.activeId=this.slides.list[this.slides.current].id,this.conf.autoplay&&n&&!this.isPaused&&this.doAutoplay(),this.slidesCount&&(this.isReady&&!r&&t&&this.emit("slide"),this.isReady&&this.conf.bullets&&!n&&!r&&this.$refs.bullets)){const h=this.$refs.bullets.children,_=h&&h[this.slides.current/this.conf.slideMultiple];if(_&&_.nodeName.toLowerCase()==="button"){let j=document.documentElement;this.pageScrollingElement&&(j=document.querySelector(this.pageScrollingElement));const w=j.scrollTop;_.focus({preventScroll:!0}),j.scrollTop=w}}},addSlide(e){return this.slides.list.push(e),this.isReady&&this.slidesCount===1&&this.conf.autoplay&&this.isPaused&&(this.isPaused=!1),this.slidesCount},addClone(){return this.updateTrackTranslation(),this.slidesCount},updateSlide(e,i){let n=this.slides.list.find(r=>r.id===e);n&&(n=Object.assign(n,i))},removeSlide(e){const i=this.slides.list.findIndex(n=>n.id===e);i>-1&&(this.slides.list.splice(i,1),this.slidesCount&&e===this.slides.activeId&&this.goToSlide(i-1,{autoPlaying:!0})),this.slides.current>=this.slidesCount&&this.goToSlide(0,{autoPlaying:!0})},loadSlide(e,i){e.loadImage().then(n=>{const{image:r,style:f}=n;e.loaded=!0,e.image=r,e.style=f,this.$emit("image-loaded",this.getSlideData(i))},()=>{e.loaded=!1,this.$emit("image-failed",this.getSlideData(i))})},toggleTouchableOption(e){const{track:i}=this.$refs;if(!i)return;this.touchEnabled=e;const n="ontouchstart"in window;e?(this.$refs.track.addEventListener(n?"touchstart":"mousedown",this.onMouseDown,{passive:!this.preventYScroll}),document.addEventListener(n?"touchmove":"mousemove",this.onMouseMove,{passive:!this.preventYScroll}),document.addEventListener(n?"touchend":"mouseup",this.onMouseUp,{passive:!0})):this.removeEventListeners()},removeEventListeners(){const e="ontouchstart"in window;this.$refs.track.removeEventListener(e?"touchstart":"mousedown",this.onMouseDown,{passive:!this.preventYScroll}),document.removeEventListener(e?"touchmove":"mousemove",this.onMouseMove,{passive:!this.preventYScroll}),document.removeEventListener(e?"touchend":"mouseup",this.onMouseUp,{passive:!0})}},watch:{isPaused(e){this[e?"pauseAutoplay":"resumeAutoplay"]()},parallax(e){this[e?"enableParallax":"disableParallax"]()}},mounted(){this.init()},beforeUnmount(){this.removeEventListeners(),this.conf.parallax&&this.disableParallax(),window.removeEventListener("resize",this.onResize),document.removeEventListener("touchstart",e=>{this[this.$el.contains(e.target)?"onSlideshowTouch":"onOustideTouch"]()}),this.container.removeEventListener("mouseenter",this.onMouseEnter),this.container.removeEventListener("mouseleave",this.onMouseLeave)}},Pt=pe(Et,[["render",Lt]]),Bt={name:"PtGallery",components:{VueperSlides:Pt,VueperSlide:fe},props:{images:{type:Array,required:!0}},setup(e){return{images2:e.images}},data(){const{lg:e}=qe();return{lg:e}}};function At(e,i,n,r,f,t){const m=R("vueper-slide"),S=R("vueper-slides"),p=de;return l(),a("div",null,[b(p,null,{default:k(()=>[b(S,{ref:"vueperslides1",touchable:!1,fade:"",arrows:!1,bullets:!1,"fixed-height":f.lg?"400px":"200px",onSlide:i[0]||(i[0]=h=>e.$refs.vueperslides2.goToSlide(h.currentSlide.index,{emit:!1}))},{default:k(()=>[(l(!0),a(x,null,C(n.images,(h,_)=>(l(),y(m,{key:_,image:h.url},null,8,["image"]))),128))]),_:1},8,["fixed-height"]),b(S,{ref:"vueperslides2",class:"slide-bottom no-shadow","fixed-height":f.lg?"100px":"70px","visible-slides":4,"dragging-distance":50,gap:1.5,arrows:f.lg,bullets:!1,touchable:!1,onSlide:i[1]||(i[1]=h=>e.$refs.vueperslides1.goToSlide(h.currentSlide.index,{emit:!1}))},{default:k(()=>[(l(!0),a(x,null,C(n.images,(h,_)=>(l(),y(m,{key:_,image:h.url,style:{"background-size":"contain","background-repeat":"no-repeat"},onClick:j=>e.$refs.vueperslides2.goToSlide(_)},null,8,["image","onClick"]))),128))]),_:1},8,["fixed-height","arrows"])]),_:1})])}const zt=Object.assign(re(Bt,[["render",At]]),{__name:"Gallery"}),Nt={class:"pt-authors"},Rt={key:0},Vt={class:"grid grid-cols-1 lg:grid-cols-2 gap-6"},Ht={class:"pt-authors__item"}
1,Xt={key:1},Ut={class:"pt-authors__profile"},Ft={key:0,class:"text-gray"},Yt={__name:"AuthorsProjects",props:{list:{type:[Array,Object],default:()=>[]},title:{type:String,default:""},section:{type:String,default:"autor"}},setup(e){const i=e,n=he,r=$(()=>Array.isArray(i.list)?i.list:typeof i.list=="object"&&i.list!==null?[i.list]:[]);return(f,t)=>{const m=ue,S=ce;return l(),a("div",Nt,[e.title?(l(),a("span",Rt,v(e.title),1)):u("",!0),d("ul",Vt,[(l(!0),a(x,null,C(s(r),(p,h)=>(l(),a("li",{key:h},[d("figure",Ht,[p.image&&p.image.url?(l(),y(m,{key:p.image.url,class:"pt-authors__image",title:p.image.alternativeText||p.name,src:p.image.url,alt:p.image.alternativeText?p.image.alternativeText:"autor",loading:"lazy"},null,8,["title","src","alt"])):(l(),a("div",Xt,[b(S,{name:"pt-user",class:"pt-authors__image pt-authors__image--empty"})])),d("figcaption",Ut,[(l(),y(ae(p.vip?s(n):"div"),{to:p.vip?`/${e.section}/`+p.slug:void 0,class:"pt-authors-event__authorLink"},{default:k(()=>[p.name?(l(),a("span",{key:0,class:I(["font-bold",p.vip?"text-blue hover:underline":"text-gray"])},v(p.name),3)):u("",!0)]),_:2},1032,["to"])),p.job?(l(),a("span",Ft,v(p.job),1)):u("",!0)])])]))),128))])])}}},qt={class:"pt-project-objectives rounded bg-white-dark p-6 lg:p-8"},Wt={class:"font-ubuntu font-semibold text-2xl mb-4"},Kt=["textContent"],Gt={__name:"ProjectObjectives",props:{title:{type:String,required:!0},text:{type:String,required:!0}},setup(e){return(i,n)=>(l(),a("section",qt,[d("h2",Wt,v(e.title),1),d("p",{class:"font-sans text-base lg:text-lg leading-7 text-gray-dark whitespace-pre-line",textContent:v(e.text)},null,8,Kt)]))}},Jt=e=>!e?.publish_objectives||e.confidential?"":e.objectives?.trim()??"",Qt=e=>(e?.funders??[]).filter(i=>!!i&&(!!i.logo?.url||!!i.text?.trim())).map(i=>i.text?{...i,text:i.text.trim()}:i),Zt={class:"grid grid-cols-12 gap-4"},es={class:"col-span-12"},ts=["aria-label","textContent"],ss={class:"self-start flex flex-wrap items-center gap-2"},is=["textContent"],ls={class:"flex flex-wrap lg:hidden mt-6 items-center w-full gap-6 mb-6 lg:mb-0"},ns={key:0,class:"hidden lg:block col-start-11 col-span-2 mt-11"},os={class:"block font-ubuntu text-sm font-semibold mb-4"},as={class:"grid grid-cols-10 gap-4"},rs={key:0,class:"col-span-12 lg:col-span-1 hidden lg:flex text-6xl"},ds={key:0},us={class:"col-span-12 lg:col-span-8"},cs={class:"pt-main-wrapper mb-6"},hs={class:"flex flex-col space-y-8 mb-6"},ps={class:"font-ubuntu font-semibold text-2xl"},fs={class:"grid grid-cols-12 gap-6"},ms=["textContent"],gs={key:0},vs={class:"font-ubuntu font-semibold text-sm"},_s={key:1},ys={class:"font-ubuntu font-semibold text-sm"},bs={class:"mt-5 mb-12"},Ss={class:"font-ubuntu font-semibold text-2xl mb-6"},xs={class:"space-y-4"},ks={key:0,class:"flex flex-wrap space-x-3 items-center"},ws={class:"font-semibold"},Cs={key:1,class:"flex flex-wrap space-x-3 items-center"},Ts={class:"font-semibold"},js={key:2,class:"flex flex-wrap space-x-3 items-center"},Os={class:"flex"},$s={key:0},Is={key:2,class:"mt-5 mb-12"},Ms={class:"font-ubuntu font-semibold text-2xl"},Ds={key:4,class:"mb-12"},Ls={class:"font-ubuntu font-semibold text-2xl mb-6"},Es={class:"space-y-8"},Ps=["textContent"],Bs={class:"space-y-16"},As={key:0},zs={class:"font-semibold font-ubuntu mb-6"},Ns={class:"grid grid-cols-1 xs:grid-cols-2 lg:grid-cols-4 gap-8 items-center justify-items-center"},Rs={key:1},Vs={class:"font-semibold font-ubuntu mb-6"},Hs={class:"grid grid-cols-1 xs:grid-cols-2 lg:grid-cols-4 gap-8 items-center justify-items-center"},Xs={key:2},Us={class:"font-semibold font-ubuntu mb-6"},Fs={class:"grid grid-cols-1 xs:grid-cols-2 lg:grid-cols-4 gap-8 items-center justify-items-center"},Ys={key:3},qs={class:"font-semibold font-ubuntu mb-6"},Ws={class:"grid grid-cols-1 xs:grid-cols-2 lg:grid-cols-4 gap-8 items-center justify-items-center"},Ks={key:4},Gs={class:"font-semibold font-ubuntu mb-6"},Js={class:"grid grid-cols-1 xs:grid-cols-2 lg:grid-cols-4 gap-8 items-center justify-items-center"},Qs={class:"hidden lg:block"},Zs={class:"mt-4"}
1,ei={key:1,class:"hidden my-8 lg:block text-gray-very-light"},ti={key:3,class:"hidden my-8 lg:block text-gray-very-light"},si={__name:"[slug]",async setup(e){let i,n;const r=Ue(),{userFavorites:f}=Qe(),{t}=Ie(),m=Me(),S=De(),{createHeadSeo:p}=Ze(),h=Fe(null),_=Le({breadcrumbs:{path:Ee.replace("/",""),section:t("breadcrumbs.centros")},urlShare:r.public.APP_BASE_DOMAIN+S.fullPath}),{breadcrumbs:j,urlShare:w}=Pe(_),{data:P}=([i,n]=Be(async()=>Ae(async()=>({projectData:await m.getProjectsBySlug(S.params.slug)}),"$NuJRbhTpUA")),i=await i,n(),i);if(ze(P?.value?.projectData))throw Ne({statusCode:404});const M=$(()=>m.common.social_sharing),o=$(()=>P.value.projectData),q=$(()=>Jt(o.value)),W=$(()=>Qt(o.value)),K=$(()=>o.value?.organization_coordinators?.filter(g=>g?.image!=null).map(g=>g.image)),G=$(()=>o.value?.organization_participants?.filter(g=>g?.image!=null).map(g=>g.image)),J=$(()=>o.value?.organization_members?.filter(g=>g?.image!=null).map(g=>g.image)),Q=$(()=>o.value?.organization_collaborators?.filter(g=>g?.image!=null).map(g=>g.image)),Z=$(()=>o.value?.organization_sponsors?.filter(g=>g?.image!=null).map(g=>g.image)),ee={agrotech:"bg-innova-agrotech-light text-innova-agrotech-dark",foodtech:"bg-innova-foodtech-light text-innova-foodtech-dark",agua:"bg-innova-agua-light text-innova-agua-dark"},B=$(()=>{const g=o.value?.area;if(!g||!ee[g])return null;const O=t(`experimentalCenters.projects.areaList.${g}`);return{label:O,ariaLabel:`${t("experimentalCenters.projects.area")}: ${O}`,class:ee[g]}}),me=g=>{h.value.openPlayer(g)};return Re(o,g=>{const{meta_title:O,abstract:V,main_image:H,og_image:A}=g,z=A?A?.url:H?.url;p(O,V,z,g,Ye.ARTICLE)},{immediate:!0,deep:!0}),(g,O)=>{const V=we,H=Ce,A=Te,z=je,te=Oe,se=$e,D=ue,N=ce,ge=zt,ve=he,ie=Yt,_e=We,ye=Gt,be=Ke,Se=de,xe=Ge,ke=Je;return l(),a("div",null,[b(xe,{grid:"H","padding-y":"py-6 md:py-10"},{content:k(()=>[d("div",Zt,[d("div",es,[s(j)?(l(),y(V,{key:0,data:s(t)("experimentalCenters.projects.projectID"),path:s(j).path,section:s(j).section},null,8,["data","path","section"])):u("",!0)]),d("div",{class:I(["col-span-12 lg:col-span-8",s(o)?.icons&&s(o)?.icons.pt_icons?"lg:col-start-2 ":""])},[b(A,{class:"flex flex-col mt-11 mb-6 lg:mb-12",title:s(o)?.title?s(o)?.title:s(o)?.meta_title,summary:s(o)?.summary},{eyebrow:k(()=>[s(B)?(l(),a("p",{key:0,class:I(["mb-3 self-stretch rounded-sm px-3 py-1 font-sans text-base font-bold uppercase tracking-wide lg:text-lg",s(B).class]),"aria-label":s(B).ariaLabel,textContent:v(s(B).label)},null,10,ts)):u("",!0)]),labels:k(()=>[d("div",ss,[s(o)?.start_date&&s(o)?.finish_date?(l(),a("span",{key:0,class:"inline px-1 rounded-sm font-semibold font-sans text-sm bg-gray-soft text-gray",textContent:v(`${s(t)("experimentalCenters.projects.date.start")}: ${s(oe)(s(o)?.start_date)} - ${s(o)?.finish_date?`${s(t)("experimentalCenters.projects.date.end")}: ${s(oe)(s(o)?.finish_date)}`:s(t)("experimentalCenters.projects.date.continue")}`)},null,8,is)):u("",!0)]),s(o)?.tags?.length?(l(),y(H,{key:0,class:"mb-6","label-type":"transparent",items:s(o)?.tags,"to-search":"articles"},null,8,["items"])):u("",!0)]),_:1},8,["title","summary"]),d("div",ls,[s(M)&&s(M)?.length?(l(),y(z,{key:0,class:"w-5/12 flex justify-center flex-auto bg-white-dark","share-networks":s(M),url:s(w),title:s(o)?.title?s(o)?.title:s(o)?.meta_title,description:s(o)?.summary},null,8,["share-networks","url","title","description"])):u("",!0),b(te,{button:"block",class:"w-5/12 flex-auto","entity-name":"project","entity-id":s(o)?.id,"favorite-entities":s(f)},null,8,["entity-id","favorite-entities"]),s(o)?.mediateca&&s(o)?.mediateca?.length?(l(),y(se,{key:1,class:"w-full max-w-xs mx-auto",image:s(o)?.mediateca[0].cover_image,text:s(o)?.mediateca[0].title,filename:s(o)?.mediateca[0].path?s(o)?.mediateca[0].path:s(o)?.mediateca[0].filename},null,8,["image","text","filename"])):u("",!0)])],2),s(o)?.logo?(l(),a("div",ns,[d("span",os,v(s(t)("experimentalCenters.projects.logo")),1),(l(),y(D,{key:s(o)?.logo.url,src:s(o)?.logo.url,alt:s(o)?.logo.alternativeText,loading:"lazy"},null,8,["src","alt"]))])):u("",!0)])]),"content-left":k(()=>[d("div",as,[s(o)?.icons?(l(),a("div",rs,[s(o)?.icons&&s(o)?.icons.pt_icons?(l(),a("ul",ds,[(l(!0),a(x,null,C(s(o)?.icons.pt_icons,c=>(l(),a("li",{key:c.id,class:"mb-4"},[b(N,{name:c.slug,title:c.label,class:"stamp"},null,8,["name","title"])]))),128))])):u("",!0)])):u("",!0),d("div",us,[d("div",cs,[s(o)?.gallery&&s(o)?.gallery?.length?(l(),y(ge,{key:0,class:"mb-4",images:s(o)?.gallery},null,8,["images"])):u("",!0),s(o)?.video_relation&&s(o)?.video_relation.video?(l(),a("a",{key:1,href:"#",onClick:O[0]||(O[0]=Ve(c=>me(s(o)?.video_relation.video.url),["stop","prevent"]))},[(l(),y(D,{key:s(o)?.video_relation.video.media.url,alt:s(o)?.video_relation.video.media.alternativeText,src:s(o)?.video_relation.video.media.url,class:"pt-main-image",loading:"lazy"},null,8,["alt","src"]))])):s(o)?.main_image&&s(o)?.main_image.url&&(!s(o)?.gallery||s(o)?.gallery?.length<=0)?(l(),y(D,{key:s(o)?.id,src:s(o)?.main_image.url,alt:s(o)?.main_image.alternativeText?s(o)?.main_image.alternativeText:"proyecto",class:"pt-main-image",loading:"lazy"},null,8,["src","alt"])):u("",!0)]),d("div",hs,[d("h2",ps,v(s(t)("experimentalCenters.projects.centerAndTeam")),1),d("div",fs,[(l(!0),a(x,null,C(s(o)?.organization_centers,c=>(l(),y(ve,{key:c.slug??c.name,class:"pt-center-card col-span-12 lg:col-span-6 flex items-center justify-center gap-3 hover:underline",to:c.slug!=="plataforma-tierra"?`${s(He)}/${c.slug}`:s(Xe)},{default:k(()=>[c.image?.url?(l(),y(D,{key:0,src:c.image.url,alt:"",width:c.image.width,height:c.image.height,class:"pt-center-card__image",loading:"lazy"},null,8,["src","width","height"])):u("",!0),d("span",{class:"pt-center-card__name font-ubuntu text-lg lg:text-xl font-semibold text-blue",textContent:v(c.name)},null,8,ms)]),_:2},1032,["to"]))),128))])]),s(o)?.attorney?(l(),a("div",gs,[d("p",vs,v(s(t)("experimentalCenters.projects.responsible")),1),b(ie,{list:s(o)?.attorney},null,8,["list"]),O[1]||(O[1]=d("hr",{class:"mt-8 mb-6 md:mb-10 text-gray-soft"},null,-1))])):u("",!0),s(o)?.team&&s(o)?.team?.length?(l(),a("div",_s,[d("p",ys,v(s(t)("experimentalCenters.projects.cajamarTeam")),1),b(ie,{list:s(o)?.team},null,8,["list"]),O[2]||(O[2]=d("hr",{class:"mt-8 mb-6 md:mb-10 text-gray-soft"},null,-1))])):u("",!0),d("div",bs,[d("h2",Ss,v(s(t)("experimentalCenters.projects.scopeAndReach")),1),d("ul",xs,[s(o)?.scope?(l(),a("li",ks,[b(N,{name:"pt-university",class:"text-sm"}),d("span",null,v(s(t)("experimentalCenters.projects.scope"))+":",1),d("span",ws,v(s(t)(`experimentalCenters.projects.scopeList.${s(o)?.scope}`)),1)])):u("",!0),s(o)?.work_line?(l(),a("li",Cs,[b(N,{name:"pt-book-open",class:"text-sm"}),d("span",null,v(s(t)("experimentalCenters.projects.workLine"))+":",1),d("span",Ts,v(s(t)(`experimentalCenters.projects.workLineList.${s(o)?.work_line}`)),1)])):u("",!0),s(o)?.taxonomy?.length?(l(),a("li",js,[b(N,{name:"pt-tag-alt",class:"text-sm"}),d("span",null,v(s(t)("experimentalCenters.projects.taxonomy"))+":",1),(l(!0),a(x,null,C(s(o)?.taxonomy,(c,X)=>(l(),a("span",{key:c.value,class:"font-semibold"},[d("span",Os,[Y(v(s(t)(`experimentalCenters.projects.taxonomyList.${c.value}`))+" ",1),X+1!==s(o)?.taxonomy?.length?(l(),a("span",$s,",")):u("",!0)])]))),128))])):u("",!0)])]),s(o)?.content?(l(),a("div",Is,[d("h2",Ms,v(s(t)("experimentalCenters.projects.content")),1),s(o)?.content?(l(),y(_e,{
1key:0,content:s(o)?.content},null,8,["content"])):u("",!0)])):u("",!0),s(q)?(l(),y(ye,{key:3,class:"mb-12",title:s(t)("experimentalCenters.projects.objectives"),text:s(q)},null,8,["title","text"])):u("",!0),s(W).length?(l(),a("section",Ds,[d("h2",Ls,v(s(t)("experimentalCenters.projects.funders")),1),d("ul",Es,[(l(!0),a(x,null,C(s(W),(c,X)=>(l(),a("li",{key:X,class:"flex flex-col sm:flex-row sm:items-center gap-4"},[c.logo?.url?(l(),y(D,{key:0,src:c.logo.url,alt:c.logo.alternativeText||c.name||s(t)("experimentalCenters.projects.funderLogo"),width:c.logo.width,height:c.logo.height,class:"pt-funder__logo",loading:"lazy"},null,8,["src","alt","width","height"])):u("",!0),c.text?.trim()?(l(),a("p",{key:1,class:"font-sans text-sm leading-6 text-gray whitespace-pre-line",textContent:v(c.text)},null,8,Ps)):u("",!0)]))),128))])])):u("",!0),d("div",Bs,[s(K)?.length?(l(),a("div",As,[d("p",zs,v(s(t)("experimentalCenters.projects.coordinator"))+": ",1),d("div",Ns,[(l(!0),a(x,null,C(s(K),c=>(l(),y(D,{key:c.url,src:c.url,alt:c.alternativeText,loading:"lazy",class:"w-full"},null,8,["src","alt"]))),128))])])):u("",!0),s(J)?.length?(l(),a("div",Rs,[d("p",Vs,v(s(t)("experimentalCenters.projects.members"))+": ",1),d("div",Hs,[(l(!0),a(x,null,C(s(J),c=>(l(),y(D,{key:c.url,src:c.url,alt:c.alternativeText,loading:"lazy",class:"w-full"},null,8,["src","alt"]))),128))])])):u("",!0),s(G)?.length?(l(),a("div",Xs,[d("p",Us,v(s(t)("experimentalCenters.projects.participants"))+": ",1),d("div",Fs,[(l(!0),a(x,null,C(s(G),c=>(l(),y(D,{key:c.url,src:c.url,alt:c.alternativeText,loading:"lazy",class:"w-full"},null,8,["src","alt"]))),128))])])):u("",!0),s(Q)?.length?(l(),a("div",Ys,[d("p",qs,v(s(t)("experimentalCenters.projects.collaborators"))+": ",1),d("div",Ws,[(l(!0),a(x,null,C(s(Q),c=>(l(),y(D,{key:c.url,src:c.url,alt:c.alternativeText,loading:"lazy",class:"w-full"},null,8,["src","alt"]))),128))])])):u("",!0),s(Z)?.length?(l(),a("div",Ks,[d("p",Gs,v(s(t)("experimentalCenters.projects.sponsors"))+": ",1),d("div",Js,[(l(!0),a(x,null,C(s(Z),c=>(l(),y(D,{key:c.url,src:c.url,alt:c.alternativeText,loading:"lazy",class:"w-full"},null,8,["src","alt"]))),128))])])):u("",!0)]),b(Se,null,{default:k(()=>[b(be,{id:s(o)?.slug,class:"mt-6"},null,8,["id"])]),_:1})])])]),"content-right":k(()=>[d("div",Qs,[s(M)&&s(M)?.length?(l(),y(z,{key:0,"share-networks":s(M),url:s(w),title:s(o)?.title?s(o)?.title:s(o)?.meta_title,description:s(o)?.summary},null,8,["share-networks","url","title","description"])):u("",!0),d("div",Zs,[b(te,{button:"block","entity-name":"project","entity-id":s(o)?.id,"favorite-entities":s(f)},null,8,["entity-id","favorite-entities"])]),s(o)?.mediateca&&s(o)?.mediateca?.length?(l(),a("hr",ei)):u("",!0),s(o)?.file&&s(o)?.file?.length?(l(),y(se,{key:2,class:"hidden lg:block",image:s(o)?.file[0].cover_image,text:s(o)?.file[0].title,filename:s(o)?.file[0].path?s(o)?.file[0].path:s(o)?.file[0].filename},null,8,["image","text","filename"])):u("",!0),s(o)?.file&&s(o)?.file?.length?(l(),a("hr",ti)):u("",!0)])]),_:1}),b(ke,{ref_key:"videoPlayer",ref:h},null,512)])}}},Mi=re(si,[["__scopeId","data-v-40357bfc"]]);export{Mi 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.