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,CAAAA,CAAAA,EAAAA,CACFA,EAAAA,CAAAA,EAAAA,EAAAA,CAAAA,EAAAA,CAAAA,EAAAA,EAAAA,QAAAA,EAAS,SAAlC2H,EAAyB3H,CAAAA,CAAAA,EAAAA,CAAf4H,EAAe5H,CAAAA,CAAAA,EAAAA,CA0ChC,MAxCA2F,CAAAA,EAAAA,EAAAA,SAAAA,EAAU,WACR,IAAIkC,EAAUtL,EAAI8G,OAAO,CAuBnByE,EAAW,IAAIC,qBArBV,SAACC,CAAAA,EACV,IAAOC,EAASD,CAAAA,EAAAA,EAAAA,CAAAA,EAAAA,EAAAA,EAAAA,CAAAA,EAAAA,CAEZC,EAAMC,kBAAkB,CAACC,GAAG,CAAG,GACjCP,EAAYR,EAAaG,KAAK,EAC9BG,EAAa,KACHO,EAAMG,cAAc,GAC9BR,EAAYR,EAAaI,IAAI,EAC7BE,EAAa,KAGXO,EAAMG,cAAc,GACtBV,EAAa,IACbE,EAAYR,EAAaK,MAAM,EAE3BP,GACFY,EAASO,SAAS,CAACR,GAGzB,EAE8C,CAC5Cb,UAAAA,EACAC,WAAAA,CACF,GAMA,OAJIY,GACFC,EAASQ,OAAO,CAACT,GAGZ,WACDA,GACFC,EAASO,SAAS,CAACR,EAEvB,CACF,EAAG,CAACtL,EAAKyK,EAAWC,EAAW,EAExB,CAAC1K,EAAKJ,EAAWwL,EAAS,qBC1DnCY,EAAAC,OAAA,EAAkB,2TCAlBD,EAAAC,OAAA,EAAkB,qhBCAlBD,EAAAC,OAAA,EAAkB,ysCCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./components/PhotoCred/PhotoCred.js","webpack://_N_E/./components/PhotoCred/index.js","webpack://_N_E/./components/SlideShowNav/SlideShowNav.js","webpack://_N_E/./components/Testemonial/Testemonial.js","webpack://_N_E/./components/Testemonial/index.js","webpack://_N_E/./components/VideoIcon/VideoIcon.js","webpack://_N_E/./components/VideoIcon/index.js","webpack://_N_E/./hooks/useIntersectionObserver.js","webpack://_N_E/./components/PhotoCred/PhotoCred.module.scss","webpack://_N_E/./components/SlideShowNav/SlideShowNav.module.scss","webpack://_N_E/./components/Testemonial/Testemonial.module.scss","webpack://_N_E/./components/VideoIcon/VideoIcon.module.scss","webpack://_N_E/"],"sourcesContent":["import React from 'react';\n\n// import { useTranslation } from 'next-i18next';\n// import PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport s from './PhotoCred.module.scss';\n\nconst PhotoCred = ({ credit, modifiers = [] }) => {\n if (!credit) return null;\n const classes = classNames(\n s.Root,\n modifiers.map((m) => s[m])\n );\n return Photo: {credit};\n};\n\nPhotoCred.propTypes = {};\n\nPhotoCred.defaultProps = {};\n\nexport default PhotoCred;\n","import PhotoCred from './PhotoCred';\n\nexport default PhotoCred;\n","import React, { useContext, useEffect, useState } from 'react';\n\nimport classNames from 'classnames';\nimport ButtonSecondaryEllipse from '../ButtonSecondaryEllipse';\nimport useIntersectionObserver from '../../hooks/useIntersectionObserver';\nimport { GradientContext } from '../../containers/BasePage';\nimport { motion } from 'framer-motion';\nimport { trackCarouselNextArrow } from '../../utils/dataLayer';\nimport s from './SlideShowNav.module.scss';\nimport { useSwiper } from 'swiper/react';\n\nconst SlideShowNav = ({\n indicators = [],\n indicatorIndex,\n setIndicatorIndex,\n color,\n isVisible,\n ...props\n}) => {\n const [ref, _isVisible] = useIntersectionObserver(0, undefined, true);\n const gradient = useContext(GradientContext);\n const swiper = useSwiper();\n\n const variants = {\n active: {\n transition: {\n duration: 1,\n type: 'spring',\n stiffness: 200,\n },\n },\n };\n\n const handleNext = () => {\n if (indicatorIndex === indicators.length - 1) {\n return;\n }\n\n trackCarouselNextArrow();\n const newIndex = indicatorIndex + 1;\n setIndicatorIndex(newIndex);\n swiper.slideNext();\n };\n\n const handlePrev = () => {\n if (indicatorIndex === 0) {\n return;\n }\n\n const newIndex = indicatorIndex - 1;\n setIndicatorIndex(newIndex);\n swiper.slidePrev();\n };\n\n const rootClasses = classNames(s.Root, s[gradient], {\n [s.Visible]: isVisible,\n [s.White]: color !== 'black',\n });\n\n return (\n
\n
\n {indicators.map((indicator, i) => {\n return (\n \n {i === indicatorIndex && (\n \n )}\n
\n );\n })}\n
\n
\n \n Previous Item\n \n \n Next Item\n \n
\n \n );\n};\n\nSlideShowNav.propTypes = {};\n\nSlideShowNav.defaultProps = {};\n\nexport default SlideShowNav;\n","import React, { useRef, useState, useContext } from 'react';\n\nimport { useTranslation } from 'next-i18next';\nimport Image from 'next/image';\nimport classNames from 'classnames';\nimport { motion, useMotionValue } from 'framer-motion';\n\nimport ButtonSecondaryEllipse from '../ButtonSecondaryEllipse';\nimport SlideShowNav from '../SlideShowNav/SlideShowNav';\nimport VideoIcon from '../VideoIcon';\nimport PhotoCred from '../PhotoCred';\nimport {\n GradientContext,\n BackgroundContext,\n ZoomLevelContext,\n} from '../../containers/BasePage';\nimport { SwiperSlide } from 'swiper/react';\nimport useIntersectionObserver from '../../hooks/useIntersectionObserver';\nimport dynamic from 'next/dynamic';\n\nconst SlideShow = dynamic(() => import('../SlideShow'), { ssr: false });\n\nimport s from './Testemonial.module.scss';\n\nconst THEME_PINK_BLUE = 'PinkBlue';\nconst THEME_PINK_PURPLE = 'PinkPurple';\nconst THEME_PINK_ORANGE = 'PinkOrange';\nconst THEME_PURPLE_BLUE = 'PurpleBlue';\nconst THEME_BLUE_GREEN = 'BlueGreen';\n\nconst iconMap = {\n [THEME_PINK_BLUE]: [\n {\n src: '/video/quote-reveal-hevc/quote--pink-blue--350p--hevc.mp4',\n type: 'video/mp4; codecs=\"hvc1\"',\n },\n {\n src: '/video/quote-reveal-vp9/quote--pink-blue--350p--vp9.webm',\n type: 'video/webm',\n },\n ],\n [THEME_PINK_PURPLE]: [\n {\n src: '/video/quote-reveal-hevc/quote--pink-purple--350p--hevc.mp4',\n type: 'video/mp4; codecs=\"hvc1\"',\n },\n {\n src: '/video/quote-reveal-vp9/quote--pink-purple--350p--vp9.webm',\n type: 'video/webm',\n },\n ],\n [THEME_PINK_ORANGE]: [\n {\n src: '/video/quote-reveal-hevc/quote--pink-orange--350p--hevc.mp4',\n type: 'video/mp4; codecs=\"hvc1\"',\n },\n {\n src: '/video/quote-reveal-vp9/quote--pink-orange--350p--vp9.webm',\n type: 'video/webm',\n },\n ],\n [THEME_PURPLE_BLUE]: [\n {\n src: '/video/quote-reveal-hevc/quote--purple-blue--350p--hevc.mp4',\n type: 'video/mp4; codecs=\"hvc1\"',\n },\n {\n src: '/video/quote-reveal-vp9/quote--purple-blue--350p--vp9.webm',\n type: 'video/webm',\n },\n ],\n [THEME_BLUE_GREEN]: [\n {\n src: '/video/quote-reveal-hevc/quote--blue-green--350p--hevc.mp4',\n type: 'video/mp4; codecs=\"hvc1\"',\n },\n {\n src: '/video/quote-reveal-vp9/quote--blue-green--350p--vp9.webm',\n type: 'video/webm',\n },\n ],\n};\n\nconst Testemonial = ({\n tagline,\n titleTop,\n titleBottom,\n anchorLink,\n items = [],\n modifiers = [],\n backgroundColor = '',\n}) => {\n const [index, setIndex] = useState(0);\n const [\n shownVideoTransitionPerItemIndex,\n setShownVideoTransitionPerItemIndex,\n ] = useState([0]);\n const itemRefs = useRef([]);\n const gradient = useContext(GradientContext);\n const browserZoomPercentage = useContext(ZoomLevelContext);\n\n const background = useContext(BackgroundContext) || false;\n const { whiteBackground } = background;\n const [ref, isVisible] = useIntersectionObserver(0, undefined, true);\n const { t } = useTranslation();\n\n const rootClasses = classNames(s.Root, s[gradient], {\n [s.White]: backgroundColor !== 'black' && whiteBackground,\n [s.VeryZoomed]: browserZoomPercentage >= 250,\n });\n\n const taglineClasses = classNames(s.Tagline, 'grid', {\n [s.Visible]: isVisible,\n [s.White]: backgroundColor !== 'black' && whiteBackground,\n });\n\n const titleClasses = classNames(s.TitleContainer, 'grid', {\n [s.Visible]: isVisible,\n [s.White]: backgroundColor !== 'black' && whiteBackground,\n });\n\n const itemClasses = classNames();\n\n let iconSrcs = iconMap?.[gradient];\n\n const handleSlideChange = (swiper) => {\n setIndex(swiper.activeIndex);\n const slideIndex = swiper.activeIndex;\n const slideLength = swiper.slides.length;\n\n const firstSlide = slideIndex === 0;\n const lastSlide = slideIndex === slideLength - 1;\n const lastSlideElement = swiper.slides[slideLength - 1];\n\n const swiperContainer = document.querySelector('.swiper');\n const swiperWrapper = document.querySelector('.swiper-wrapper');\n\n if (firstSlide) {\n swiperWrapper.style.transform = `translate3d(0px, 0, 0)`;\n } else if (lastSlide) {\n const lastSlideWidth = lastSlideElement.offsetWidth;\n const lastSlideMargin = parseInt(\n window.getComputedStyle(lastSlideElement).marginRight\n );\n const containerWidth = swiperContainer.offsetWidth;\n // set the translate value so that the last slide is aligned with the right edge of the container\n const translateValue = -(\n lastSlideElement.offsetLeft +\n lastSlideWidth +\n lastSlideMargin -\n containerWidth\n );\n\n swiperWrapper.style.transform = `translate3d(${translateValue}px, 0, 0)`;\n } else {\n const activeSlide = swiper.slides[slideIndex];\n const activeSlideWidth = activeSlide.offsetWidth;\n const wrapperWidth = swiperWrapper.offsetWidth;\n // set the translate value so that all the slides that arent first or last is aligned with the center of the container\n const translateValue = -(\n activeSlide.offsetLeft +\n activeSlideWidth / 2 -\n wrapperWidth / 2\n );\n\n swiperWrapper.style.transform = `translate3d(${translateValue}px, 0, 0)`;\n }\n };\n\n return (\n
\n
\n
{tagline}
\n
\n

\n \n {titleTop}\n {titleBottom}\n \n

\n = 320px\n 100: {\n slidesPerView: 'auto',\n spaceBetween: 15,\n },\n // when window width is >= 480px\n 495: {\n slidesPerView: 'auto',\n spaceBetween: 40,\n },\n // when window width is >= 640px\n 1024: {\n slidesPerView: 'auto',\n spaceBetween: 72,\n },\n }}\n autoHeight={false}\n modifiers={!(items.length > 1) ? ['Testimonial'] : []}\n onSlideChange={(e) => {\n handleSlideChange(e);\n }}>\n {items.length > 0 &&\n items.map((item, i) => {\n const handleTrackReadMore = (e) => {\n e.preventDefault();\n\n trackReadMore(item?.title, 'Testemonial');\n\n setTimeout(() => {\n window.location.href = item?.page?.url;\n }, 200);\n };\n\n return (\n (itemRefs.current[i] = el)}>\n
\n \n \n
\n {\n if (shownVideoTransitionPerItemIndex.indexOf(i) === -1) {\n setShownVideoTransitionPerItemIndex([\n ...shownVideoTransitionPerItemIndex,\n i,\n ]);\n }\n }}\n className={`${s.ItemContent} ${\n backgroundColor !== 'black' && whiteBackground\n ? 'white-glass'\n : 'black-glass'\n }`}>\n -1}\n srcs={iconSrcs}\n transitionDelay={i === 0 ? 500 : 200}\n ignoreAnimationsDisabled\n />\n
{item?.quote}
\n
\n
{item?.name}
\n
{item?.title}
\n {item?.page?.url && (\n
\n \n \n {t('Testimonial.readMore', {}) + ' ' + item?.name}\n \n
\n )}\n
\n
\n {item?.page?.url && (\n \n \n {t('Testimonial.readMore', {})}\n \n {item?.name}\n \n )}\n
\n \n \n );\n })}\n\n {items.length > 1 && (\n \n )}\n \n
\n );\n};\n\nTestemonial.propTypes = {};\n\nTestemonial.defaultProps = {};\n\nexport default Testemonial;\n","import Testemonial from './Testemonial';\n\nexport default Testemonial;\n","import React, { useState, useEffect, useCallback, useContext } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { AnimationsActiveContext } from '../../containers/BasePage';\n\nimport s from './VideoIcon.module.scss';\n\n// For transparent videos to work in all browsers, video files in hevc (mp4) and vp9 (webm)\n// are needed, and need to be supplied as follows in the srcs prop for this component:\n//\n// const srcs = [\n// {\n// src: '/video/video-with-alpha-hevc.mp4',\n// type: 'video/mp4; codecs=\"hvc1\"',\n// },\n// {\n// src: '/video/video-with-alpha-vp9.webm',\n// type: 'video/webm',\n// },\n// ];\n//\n// Given a hevc (or prores 4444) master in high resolution, the following steps\n// can be used for conversion:\n//\n// 1. If master is in 1080p hevc, convert this to prores4444 first, using avconvert (or right click and \"Encode video\" in mac os):\n// avconvert -s master.mov -o master-prores.mov -p PresetAppleProRes4444LPCM\n//\n// 2. Convert prores4444 master to prores4444 with correct down scaled resolution for use case, for example 350p:\n// ffmpeg -i master-prores.mov -vcodec prores_ks -pix_fmt yuva444p10le -profile:v 4444 -vf scale=\"350:-1\" master-prores-350p.mov\n//\n// 3. Convert prores 350p to final hevc 350p and vp9 350p:\n// Use rotato converter: https://rotato.app/tools/converter\n//\n// 4. ....or do it manually since Rotato is buggy as hell:\n// 4.a - prores downscaled to hevc:\n// avconvert -prog --preset PresetHEVC1920x1080WithAlpha --source master-prores-350p.mov --output master-hevc-350p.mp4\n// 4.b - prores downscaled to vp9:\n// ffmpeg -i master-prores-350p.mov -stats_period 0.1 -c:v libvpx-vp9 -progress pipe:1 -nostdin master-vp9-350p.webm\n//\n\nconst VideoIcon = ({\n className,\n src,\n srcs,\n active,\n loop,\n transitionDelay = 0,\n onVideoLoaded,\n animationsDisabledFreezeVideoTime,\n ignoreAnimationsDisabled,\n}) => {\n const [videoNode, setVideoNode] = useState(null);\n const videoRefFn = useCallback((_videoNode) => {\n setVideoNode(_videoNode);\n }, []);\n const [isLoaded, setIsLoaded] = useState(false);\n\n const { animationsActive } = useContext(AnimationsActiveContext) || {};\n\n useEffect(() => {\n if (videoNode && !animationsActive && !ignoreAnimationsDisabled) {\n videoNode.pause();\n videoNode.currentTime = animationsDisabledFreezeVideoTime;\n } else if (videoNode) {\n videoNode.play();\n }\n }, [animationsActive]);\n\n useEffect(() => {\n if (active && videoNode && isLoaded) {\n if (transitionDelay > 0) {\n setTimeout(() => {\n if (onVideoLoaded) {\n // timeout is used to give the video a few ms to load/activate after download\n // before calling callback\n setTimeout(() => {\n onVideoLoaded();\n }, 100);\n }\n\n if (animationsActive || ignoreAnimationsDisabled) {\n videoNode.play();\n } else {\n videoNode.pause();\n videoNode.currentTime = animationsDisabledFreezeVideoTime;\n }\n }, transitionDelay);\n } else {\n if (onVideoLoaded) {\n // timeout is used to give the video a few ms to load/activate after download\n // before calling callback\n setTimeout(() => {\n onVideoLoaded();\n }, 100);\n }\n\n if (animationsActive || ignoreAnimationsDisabled) {\n videoNode.play();\n } else {\n videoNode.pause();\n videoNode.currentTime = animationsDisabledFreezeVideoTime;\n }\n }\n }\n }, [active, videoNode, isLoaded]);\n\n useEffect(() => {\n if (!videoNode) {\n return;\n }\n\n const activateVideo = () => {\n videoNode.play();\n if (!loop) {\n setTimeout(() => videoNode.pause(), 50);\n }\n\n document.removeEventListener('touchstart', activateVideo);\n };\n\n // ios\n document.addEventListener('touchstart', activateVideo);\n return () => {\n document.removeEventListener('touchstart', activateVideo);\n };\n }, [videoNode]);\n\n // handle video loaded event\n\n useEffect(() => {\n if (!videoNode) {\n return;\n }\n\n const videoHasLoaded = () => setIsLoaded(true);\n\n // if the video is in the cache of the browser,\n // the 'canplaythrough' event might have been triggered\n // before we registered the event handler.\n if (videoNode.readyState > 3) {\n videoHasLoaded();\n return;\n }\n\n videoNode.addEventListener('canplaythrough', videoHasLoaded);\n return () => {\n videoNode.removeEventListener('canplaythrough', videoHasLoaded);\n };\n }, [videoNode]);\n\n if (!src && !srcs.length) {\n return null;\n }\n\n return (\n \n {srcs.map((s) => (\n \n ))}\n \n \n );\n};\n\nVideoIcon.propTypes = {\n src: PropTypes.string,\n srcs: PropTypes.array,\n active: PropTypes.bool,\n loop: PropTypes.bool,\n transitionDelay: PropTypes.number,\n onVideoLoaded: PropTypes.func,\n animationsDisabledFreezeVideoTime: PropTypes.number,\n ignoreAnimationsDisabled: PropTypes.bool,\n};\n\nVideoIcon.defaultProps = {\n className: null,\n src: null,\n srcs: [],\n active: false,\n loop: false,\n transitionDelay: null,\n onVideoLoaded: null,\n animationsDisabledFreezeVideoTime: 0.5,\n ignoreAnimationsDisabled: false,\n};\n\nexport default VideoIcon;\n","import VideoIcon from './VideoIcon';\n\nexport default VideoIcon;\n","import { CONSOLE_LEVELS } from '@sentry/utils';\nimport { useEffect, useRef, useState } from 'react';\n\nexport default function useIntersectionObserver(\n threshold = 0,\n rootMargin = '',\n triggerOnce = true,\n initialVisibleValue = false\n) {\n const positionEnum = Object.freeze({\n below: 'BELOW',\n over: 'OVER',\n center: 'CENTER',\n });\n\n const ref = useRef(null);\n const [isVisible, setIsVisible] = useState(initialVisibleValue);\n const [position, setPosition] = useState(null);\n\n useEffect(() => {\n let element = ref.current;\n\n const cb = (entries) => {\n const [entry] = entries;\n\n if (entry.boundingClientRect.top > 0) {\n setPosition(positionEnum.below);\n setIsVisible(false);\n } else if (!entry.isIntersecting) {\n setPosition(positionEnum.over);\n setIsVisible(false);\n }\n\n if (entry.isIntersecting) {\n setIsVisible(true);\n setPosition(positionEnum.center);\n\n if (triggerOnce) {\n observer.unobserve(element);\n }\n }\n };\n\n const observer = new IntersectionObserver(cb, {\n threshold,\n rootMargin,\n });\n\n if (element) {\n observer.observe(element);\n }\n\n return () => {\n if (element) {\n observer.unobserve(element);\n }\n };\n }, [ref, threshold, rootMargin]);\n\n return [ref, isVisible, position];\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Root\":\"PhotoCred_Root__Ae9LO\",\"CardGlass\":\"PhotoCred_CardGlass__T4iKx\",\"Reverse\":\"PhotoCred_Reverse__jHtbm\",\"Testimonial\":\"PhotoCred_Testimonial__5Ij_5\",\"Stories\":\"PhotoCred_Stories__8xhwO\",\"VideoStory\":\"PhotoCred_VideoStory__BHzve\",\"BottomMargin\":\"PhotoCred_BottomMargin__bWGeB\",\"Dark\":\"PhotoCred_Dark__tZIAz\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Root\":\"SlideShowNav_Root__QMLR4\",\"PinkOrange\":\"SlideShowNav_PinkOrange__wpMtY\",\"PinkBlue\":\"SlideShowNav_PinkBlue__uwGlQ\",\"PinkPurple\":\"SlideShowNav_PinkPurple__W9s06\",\"BlueGreen\":\"SlideShowNav_BlueGreen___qseI\",\"Visible\":\"SlideShowNav_Visible__1QRY_\",\"SlideShowIndicatorContainer\":\"SlideShowNav_SlideShowIndicatorContainer__kN0K3\",\"SlideShowIndicator\":\"SlideShowNav_SlideShowIndicator__QFJDt\",\"White\":\"SlideShowNav_White__nbjlJ\",\"Highlighted\":\"SlideShowNav_Highlighted__ZhbYE\",\"SlideShowButtons\":\"SlideShowNav_SlideShowButtons__H6OfT\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Root\":\"Testemonial_Root__zLGOj\",\"PinkOrange\":\"Testemonial_PinkOrange__G7VbA\",\"PinkBlue\":\"Testemonial_PinkBlue__6K86O\",\"PinkPurple\":\"Testemonial_PinkPurple__vaaAY\",\"BlueGreen\":\"Testemonial_BlueGreen__lsb4b\",\"White\":\"Testemonial_White__auXZe\",\"Tagline\":\"Testemonial_Tagline__N_JeI\",\"TaglineText\":\"Testemonial_TaglineText__xE0EN\",\"Visible\":\"Testemonial_Visible__YXLAx\",\"TitleContainer\":\"Testemonial_TitleContainer__k4t7Z\",\"VeryZoomed\":\"Testemonial_VeryZoomed__w0JIS\",\"TitleTop\":\"Testemonial_TitleTop__BJHQW\",\"TitleBottom\":\"Testemonial_TitleBottom__kjd_0\",\"Item\":\"Testemonial_Item__PBe1c\",\"OneItem\":\"Testemonial_OneItem__JRqED\",\"Active\":\"Testemonial_Active__ad61U\",\"VideoIcon\":\"Testemonial_VideoIcon__p3oHg\",\"ItemImageContainer\":\"Testemonial_ItemImageContainer__f_Dxn\",\"ItemImage\":\"Testemonial_ItemImage__QSMnv\",\"ItemContent\":\"Testemonial_ItemContent__hTLA8\",\"ItemQuote\":\"Testemonial_ItemQuote__Rili7\",\"ItemName\":\"Testemonial_ItemName__ps6Cm\",\"ItemTitle\":\"Testemonial_ItemTitle__daQBY\",\"ItemLink\":\"Testemonial_ItemLink__0fsLM\",\"ItemLinkContainerDesktop\":\"Testemonial_ItemLinkContainerDesktop__7PyLr\",\"ItemInfo\":\"Testemonial_ItemInfo__d_N5_\",\"ItemLinkContainerMobile\":\"Testemonial_ItemLinkContainerMobile___6gi6\",\"InnerSlideShow\":\"Testemonial_InnerSlideShow__8SWqQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Root\":\"VideoIcon_Root__B9EFJ\"};"],"names":["PhotoCred","param","credit","modifiers","classes","classNames","s","_param_modifiers","map","m","jsx_runtime","jsxs","span","className","propTypes","defaultProps","components_PhotoCred","SlideShowNav","_param","_obj","indicators","_param_indicators","indicatorIndex","setIndicatorIndex","color","isVisible","props","useIntersectionObserver","undefined","ref","gradient","useContext","GradientContext","swiper","useSwiper","variants","active","transition","duration","type","stiffness","rootClasses","_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_11__","_","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","div","jsx","indicator","i","data-index","data-indicator-index","motion","animate","layoutId","ButtonSecondaryEllipse","icon","concat","onClick","slidePrev","disabled","length","trackCarouselNextArrow","slideNext","__webpack_exports__","Z","SlideShow","dynamic","__webpack_require__","e","then","bind","ssr","iconMap","_define_property","src","Testemonial","_obj1","_obj2","tagline","titleTop","titleBottom","anchorLink","items","_param_items","_param_backgroundColor","backgroundColor","useState","index","setIndex","shownVideoTransitionPerItemIndex","setShownVideoTransitionPerItemIndex","itemRefs","useRef","browserZoomPercentage","ZoomLevelContext","whiteBackground","background","BackgroundContext","t","useTranslation","taglineClasses","titleClasses","iconSrcs","handleSlideChange","activeIndex","slideIndex","slideLength","slides","lastSlideElement","swiperContainer","document","querySelector","swiperWrapper","style","transform","lastSlideWidth","offsetWidth","lastSlideMargin","parseInt","window","getComputedStyle","marginRight","containerWidth","translateValue","offsetLeft","activeSlide","activeSlideWidth","wrapperWidth","section","id","h2","breakpoints","slidesPerView","spaceBetween","autoHeight","onSlideChange","item","SwiperSlide","el","current","Image","image","url","alt","title","fill","draggable","onViewportEnter","indexOf","_to_consumable_array","VideoIcon","srcs","transitionDelay","ignoreAnimationsDisabled","quote","name","page","asLink","href","preventDefault","trackReadMore","setTimeout","location","components_Testemonial","loop","_param_transitionDelay","onVideoLoaded","animationsDisabledFreezeVideoTime","videoNode","setVideoNode","videoRefFn","useCallback","_videoNode","isLoaded","setIsLoaded","animationsActive","AnimationsActiveContext","useEffect","play","pause","currentTime","activateVideo","removeEventListener","addEventListener","videoHasLoaded","readyState","video","data-matomo-ignore","autoPlay","preload","playsInline","muted","source","track","kind","srcLang","PropTypes","components_VideoIcon","threshold","rootMargin","triggerOnce","initialVisibleValue","positionEnum","Object","freeze","below","over","center","setIsVisible","position","setPosition","element","observer","IntersectionObserver","entries","entry","boundingClientRect","top","isIntersecting","unobserve","observe","module","exports"],"sourceRoot":""}