(window.webpackJsonp=window.webpackJsonp||[]).push([[36],{421:function(e,o,t){var content=t(465);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,t(23).default)("4bc5feba",content,!0,{sourceMap:!1})},464:function(e,o,t){"use strict";t(421)},465:function(e,o,t){var r=t(22)((function(i){return i[1]}));r.push([e.i,'.custom-home-videos__title{font-family:"Zilla Slab",serif;font-size:3.5rem;font-weight:400;letter-spacing:.026em;line-height:1.14}@media screen and (max-width:1100px){.custom-home-videos__title{font-size:3rem}}@media screen and (max-width:1024px){.custom-home-videos__title{font-size:2.375rem}}@media screen and (max-width:480px){.custom-home-videos__title{font-size:2rem;letter-spacing:.0125em;line-height:1.1}}.custom-home-videos__button-link{font-size:1.5rem;font-weight:300;letter-spacing:.25rem;line-height:1.333;text-transform:lowercase}@media screen and (max-width:600px){.custom-home-videos__button-link{font-size:1.0625rem}}.custom-home-videos__mobile-player,.custom-home-videos__player-close:after,.custom-home-videos__player-close:before,.custom-home-videos__video-play{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.custom-home-videos{padding-bottom:4rem;padding-top:6rem}@media screen and (min-width:1440px){.custom-home-videos{padding-bottom:6rem;padding-top:8rem}}@media screen and (max-width:1024px){.custom-home-videos{padding-bottom:2rem;padding-top:3rem}}@keyframes circle-grow{0%{transform:scale(1)}50%{transform:scale(1.035)}to{transform:scale(1)}}@keyframes circle-bounce{0%{transform:translateY(-.9%)}50%{transform:translateY(.9%)}to{transform:translateY(-.9%)}}@keyframes circle-bounce-centered{0%{transform:translate3d(-50%,-49.1%,0)}50%{transform:translate3d(-50%,-50.9%,0)}to{transform:translate3d(-50%,-49.1%,0)}}@keyframes rotate-image{0%{transform:rotate(-4.5deg)}50%{transform:rotate(-7.5deg)}to{transform:rotate(-4.5deg)}}@keyframes rotate-image-flat{0%{transform:rotate(0deg)}50%{transform:rotate(2deg)}to{transform:rotate(0deg)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in-up{0%{opacity:0;transform:translateY(1.5rem)}to{opacity:1;transform:translateY(0)}}@keyframes fade-bounce-in{0%{opacity:0;transform:translateY(12%) scale(.75)}75%{transform:scale(1.05)}85%{opacity:1}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes slide-right-reveal{0%{clip-path:polygon(0 0,20% 0,20% 100%,0 100%);opacity:0;transform:translateX(-2rem)}60%{opacity:1}to{clip-path:polygon(0 0,100% 0,100% 100%,0 100%);opacity:1;transform:translateX(0)}}@keyframes shutters-effect{0%{opacity:0;transform:scaleX(0) scaleY(.005)}25%{opacity:1;transform:scaleX(0) scaleY(.005)}50%{opacity:1;transform:scaleX(1) scaleY(.005)}to{opacity:1;transform:scaleX(1) scaleY(1)}}@keyframes button-right{0%{transform:translate3d(0,-50%,0)}50%{transform:translate3d(16px,-50%,0)}to{transform:translate3d(0,-50%,0)}}@keyframes button-left{0%{transform:translate3d(0,-50%,0)}50%{transform:translate3d(-16px,-50%,0)}to{transform:translate3d(0,-50%,0)}}.custom-home-videos{align-items:center;background:#f7fbfb;display:flex;height:100%;position:relative;width:100%}@media screen and (max-width:1024px){.custom-home-videos{height:auto}}.custom-home-videos__container{align-items:center;display:flex;flex-wrap:wrap;justify-content:center;margin:0 auto;max-width:1192px;padding:0 20px;position:relative;width:100%}@media screen and (min-width:1680px){.custom-home-videos__container{max-width:1440px}}@media screen and (max-width:768px){.custom-home-videos__container{padding:0 2rem}}@media screen and (max-width:480px){.custom-home-videos__container{padding:0 1rem}}.custom-home-videos__title{text-align:center}.custom-home-videos__column{margin-bottom:2.5rem;margin-top:2.5rem;padding:0 12px;width:66.66667%}@media screen and (max-width:768px){.custom-home-videos__column{padding:0;width:100%}}@media screen and (max-width:1024px){.custom-home-videos__column{width:100%}}.custom-home-videos__videos{display:flex;flex-wrap:wrap;justify-content:space-evenly;position:relative;z-index:1}.custom-home-videos__video{cursor:pointer;height:27vh;margin:12px 0;position:relative;width:calc(50% - 24px)}.custom-home-videos__video:focus-visible{outline-color:#8ab153;outline-offset:.1875rem;outline-style:dashed;outline-width:.125rem}@media not all and (pointer:coarse){.custom-home-videos__video:hover .custom-home-videos__video-thumbnail{opacity:1}}@media screen and (max-width:1024px){.custom-home-videos__video{height:15.625rem}}@media screen and (max-width:768px){.custom-home-videos__video{height:12.5rem}}@media screen and (max-width:600px){.custom-home-videos__video{height:15.625rem;width:100%}}.custom-home-videos__video-thumbnail{height:100%;opacity:.6;transition:opacity .2s ease;width:100%}.custom-home-videos__video-play{height:3rem;width:3rem}.custom-home-videos__mobile-player{background:#000;height:100%;transition:opacity .3s ease;width:100%}.custom-home-videos__mobile-player--active{opacity:1;pointer-events:auto}.custom-home-videos__mobile-player-video{height:100%;-o-object-fit:cover;object-fit:cover;position:absolute;width:100%;z-index:1}.custom-home-videos__player{background:#000;height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transition:opacity .3s ease;width:100%}.custom-home-videos__player--active{opacity:1;pointer-events:auto;z-index:2}.custom-home-videos__player-close{background:rgba(0,0,0,.7);height:3.5rem;position:absolute;right:0;top:0;transition:background .2s ease;width:3.5rem;z-index:2}@media not all and (pointer:coarse){.custom-home-videos__player-close:hover{background:#000}}.custom-home-videos__player-close:after,.custom-home-videos__player-close:before{background:#fff;content:"";height:.125rem;width:2.625rem}.custom-home-videos__player-close:before{transform:translate(-50%,-50%) rotate(45deg)}.custom-home-videos__player-close:after{transform:translate(-50%,-50%) rotate(-45deg)}.custom-home-videos__player-video{height:100%;width:100%}.custom-home-videos__button{display:flex;justify-content:center;margin-bottom:2rem;width:100%}@media screen and (max-width:1024px){.custom-home-videos__button{margin-bottom:4rem}}.custom-home-videos__button-link{color:#1376bf;display:block;position:relative;text-align:center;transition:opacity .2s ease}.custom-home-videos__button-link:focus-visible{outline-color:#8ab153;outline-offset:.1875rem;outline-style:dashed;outline-width:.125rem}@media not all and (pointer:coarse){.custom-home-videos__button-link:hover{opacity:.7}.custom-home-videos__button-link:hover:after,.custom-home-videos__button-link:hover:before{width:2.5rem}}.custom-home-videos__button-link:focus{opacity:.7}.custom-home-videos__button-link:focus:after,.custom-home-videos__button-link:focus:before{width:2.5rem}.custom-home-videos__button-link:after,.custom-home-videos__button-link:before{background:#1376bf;content:"";height:1px;position:absolute;width:24px}.custom-home-videos__button-link:before{right:calc(100% + 24px)}.custom-home-videos__button-link:after,.custom-home-videos__button-link:before{-webkit-animation-fill-mode:forwards;top:50%;transform:translate3d(0,-50%,0);transition:width .2s ease}.custom-home-videos__button-link:after{left:calc(100% + 24px)}',""]),r.locals={},e.exports=r},517:function(e,o,t){"use strict";t.r(o);t(250);var r=t(29),n={mixins:[r.a,r.e],props:{props:{type:Object,default:function(){return{}}}},data:function(){return{activeVideo:null,activeVideoSrc:null,activeVideoTitle:"",isMobile:!1}},mounted:function(){this.checkScreenSize(),window.addEventListener("resize",this.debounceFunc)},destroyed:function(){window.removeEventListener("resize",this.debounceFunc)},methods:{debounceFunc:function(){this.debounce(this.checkScreenSize,null,300)},checkScreenSize:function(){window.innerWidth>1024?(this.isMobile=!1,this.activeVideo=null):this.isMobile=!0},closeVideo:function(){this.activeVideo=null,this.activeVideoSrc=null,this.$refs.videosMain.focus()},openVideo:function(e,i){window.innerWidth>1024?this.activeVideo=e:(console.log(e),this.$refs["video-".concat(i)][0].src="".concat(e,"?autoplay=1"))}}},c=(t(464),t(8)),component=Object(c.a)(n,(function(){var e=this,o=e._self._c;return o("section",{ref:"videosMain",staticClass:"custom-home-videos"},[o("div",{staticClass:"custom-home-videos__container"},[o("h2",{staticClass:"custom-home-videos__title",domProps:{innerHTML:e._s(e.props.title)}}),o("div",{staticClass:"custom-home-videos__column"},[o("div",{staticClass:"custom-home-videos__videos"},[e._l(e.props.videos,(function(video,i){return o("div",{key:"video-".concat(i),staticClass:"custom-home-videos__video",attrs:{"aria-label":"open video ".concat(i+1),"aria-controls":"video-player","aria-haspopup":"true",tabindex:"0"},on:{click:function(o){return e.openVideo(video.src,i)},keyup:function(o){return!o.type.indexOf("key")&&e._k(o.keyCode,"enter",13,o.key,"Enter")?null:e.openVideo(video.src,i)}}},[e.isMobile?e._e():o("BaseImage",{staticClass:"custom-home-videos__video-thumbnail",attrs:{imageBackground:"",src:video.thumbnail.src,webp:video.thumbnail.webp}}),e.isMobile?e._e():o("div",{staticClass:"custom-home-videos__video-play"},[o("BaseIcon",{staticClass:"custom-home-videos__video-play-icon",attrs:{name:"play"}})],1),e.isMobile?o("div",{ref:"videoPlayer-".concat(i),refInFor:!0,staticClass:"custom-home-videos__mobile-player",attrs:{id:"video-player-".concat(i+1),role:"dialog","aria-hidden":"true","aria-label":"video-player-".concat(i+1),"aria-modal":"true"}},[o("iframe",{ref:"video-".concat(i),refInFor:!0,staticClass:"custom-home-videos__mobile-player-video",attrs:{loading:"lazy",src:video.src,title:"YouTube video player",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})]):e._e()],1)})),e.isMobile?e._e():o("div",{ref:"videoPlayerContainer",staticClass:"custom-home-videos__player",class:{"custom-home-videos__player--active":e.activeVideo},attrs:{id:"video-player",role:"dialog","aria-hidden":!e.activeVideo,"aria-label":"video player","aria-modal":"true",tabindex:e.activeVideo?0:-1}},[o("div",{staticClass:"custom-home-videos__player-close",attrs:{"aria-label":"close video","aria-controls":"video-player",tabindex:"0"},on:{click:function(o){return e.closeVideo()},keyup:function(o){return!o.type.indexOf("key")&&e._k(o.keyCode,"enter",13,o.key,"Enter")?null:e.closeVideo()}}}),o("transition",{attrs:{name:"fade"}},[e.activeVideo?o("iframe",{staticClass:"custom-home-videos__player-video",attrs:{loading:"lazy",src:"".concat(e.activeVideo,"?autoplay=1"),title:"YouTube video player",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}}):e._e()])],1)],2)]),o("div",{staticClass:"custom-home-videos__button"},[e.props.button?o("a",{staticClass:"custom-home-videos__button-link",attrs:{href:e.props.button.link,"aria-label":e.props.button.text},domProps:{innerHTML:e._s(e.props.button.text)}}):e._e()])])])}),[],!1,null,null,null);o.default=component.exports}}]);