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MAAgB,CAC1BwD,cAAexD,IAAAA,KAAe,CAC9ByD,YAAazD,IAAAA,MAAgB,EAGjCqD,EAAgBpD,YAAY,CAAG,CAC3BqD,KAAM,CAAC,EACPC,SAAU,CAAC,EACXE,YAAa,CAAC,EACdD,cAAe,EAAE,ECxCrB,IAAAK,ED2CeC,CAAAA,EAAAA,EAAAA,YAAAA,EAAaT,qBE5C5BU,EAAAC,OAAA,EAAkB,2XCAlBD,EAAAC,OAAA,EAAkB,qYCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./components/Breadcrumbs/Breadcrumbs.js","webpack://_N_E/./components/Breadcrumbs/index.js","webpack://_N_E/./components/Hero/Hero.js","webpack://_N_E/./components/Hero/index.js","webpack://_N_E/./containers/ArticleListPage/ArticleListPage.js","webpack://_N_E/./containers/ArticleListPage/index.js","webpack://_N_E/./components/Breadcrumbs/Breadcrumbs.module.scss","webpack://_N_E/./components/Hero/Hero.module.scss","webpack://_N_E/./containers/ArticleListPage/ArticleListPage.module.scss"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport styles from './Breadcrumbs.module.scss';\n\nconst Breadcrumbs = ({ items }) => {\n if (items.length === 0) {\n return null;\n }\n\n return (\n <div className={styles['Breadcrumbs']}>\n <div className={styles['Breadcrumbs__Container']}>\n <div className={styles['Breadcrumbs__ListWrap']}>\n <ul className={styles['Breadcrumbs__List']}>\n {items.map((item, idx) => {\n return (\n <li\n key={idx}\n className={styles['Breadcrumbs__Item']}\n >\n {idx < items.length - 1 ? (\n <a\n href={item.href}\n className={\n styles['Breadcrumbs__Link']\n }\n >\n {item.breadcrumbTitle}\n </a>\n ) : (\n <span\n className={\n styles['Breadcrumbs__Last']\n }\n >\n {item.breadcrumbTitle}\n </span>\n )}\n </li>\n );\n })}\n </ul>\n </div>\n </div>\n </div>\n );\n};\n\nBreadcrumbs.propTypes = {\n items: PropTypes.array,\n};\n\nBreadcrumbs.defaultProps = {\n items: [],\n};\n\nexport default Breadcrumbs;\n","import Breadcrumbs from './Breadcrumbs';\n\nexport default Breadcrumbs;\n","import React, { useState, useEffect, useContext } from 'react';\n\nimport PropTypes from 'prop-types';\nimport Vimeo from '@u-wave/react-vimeo';\nimport classNames from 'classnames';\n\nimport { breakpoints } from '../../constants';\nimport useMediaQuery from '../../utils/useMediaQuery';\n\nimport { CookieStateContext } from '../../containers/BasePage/state';\nimport ImageBlock from '../ImageBlock';\n\nimport styles from './Hero.module.scss';\n\nconst Hero = ({ title, tagLine, image, videoUrl }) => {\n const isMobile = useMediaQuery({\n query: `(max-width: ${breakpoints.m}px)`,\n });\n\n const [videoStarted, setVideoStarted] = useState(false);\n\n const { state } = useContext(CookieStateContext) || {};\n const cookieConsent = state?.categories?.includes('targeting');\n\n if (!image) {\n return null;\n }\n\n useEffect(() => {\n if (typeof document !== 'undefined') {\n document\n .querySelectorAll('iframe')\n .forEach((i) => (i.tabIndex = -1));\n }\n }, []);\n\n const classes = classNames(styles['Hero'], {\n [styles['Hero--Text']]: title,\n [styles['Hero--Video']]: videoUrl && videoStarted && !isMobile,\n });\n\n const videoClasses = classNames(styles['Hero__Video'], {\n [styles['Hero__Video--Playing']]: videoStarted,\n });\n\n const sizes = '(max-width: 750px) 100vw, 1980px';\n\n return (\n <header className={classes}>\n {videoUrl && !isMobile && cookieConsent !== undefined && (\n <div className={videoClasses}>\n <Vimeo\n className={styles['Hero__VideoPlayer']}\n video={videoUrl}\n muted={true}\n controls={false}\n tabIndex={-1}\n volume={0}\n autoplay={true}\n height={'100%'}\n width={'100%'}\n title={''}\n background={true}\n onPlay={() => setVideoStarted(true)}\n onEnd={() => setVideoStarted(false)}\n dnt={!cookieConsent}\n />\n </div>\n )}\n {image && (\n <ImageBlock\n {...image}\n sizes={sizes}\n creditsRight={true}\n shouldLazyLoad={false}\n showDownload={!videoStarted}\n />\n )}\n {title && (\n <div className={styles['Hero__Content']}>\n <h1 className={styles['Hero__Title']}>\n <div className={styles['Hero__TagLine']}>{tagLine}</div>\n {title}\n </h1>\n </div>\n )}\n </header>\n );\n};\n\nHero.propTypes = {\n title: PropTypes.string,\n tagLine: PropTypes.string,\n image: PropTypes.object,\n videoUrl: PropTypes.string,\n};\n\nHero.defaultProps = {\n title: '',\n videoUrl: '',\n image: null,\n};\n\nexport default Hero;\n","import Hero from './Hero';\n\nexport default Hero;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { basePageWrap } from '../BasePage';\nimport styles from './ArticleListPage.module.scss';\n\nimport Hero from '../../components/Hero';\nimport Wysiwyg from '../../components/Wysiwyg';\nimport StreamField from '../../components/StreamField';\nimport Breadcrumbs from '../../components/Breadcrumbs';\n\nconst ArticleListPage = ({ hero, richText, contentBlocks, breadcrumbs }) => {\n return (\n <div className={styles['ArticleListPage']}>\n <Breadcrumbs {...breadcrumbs} />\n <Hero {...hero} />\n <div className={styles['ArticleListPage__Container']}>\n {richText && (\n <Wysiwyg\n {...richText}\n modifiers={['Center', 'ArticleListPage']}\n />\n )}\n {contentBlocks.length > 0 && (\n <StreamField items={contentBlocks} />\n )}\n </div>\n </div>\n );\n};\n\nArticleListPage.propTypes = {\n hero: PropTypes.object,\n richText: PropTypes.object,\n contentBlocks: PropTypes.array,\n breadcrumbs: PropTypes.object,\n};\n\nArticleListPage.defaultProps = {\n hero: {},\n richText: {},\n breadcrumbs: {},\n contentBlocks: [],\n};\n\nexport default basePageWrap(ArticleListPage);\n","import ArticleListPage from './ArticleListPage';\n\nexport default ArticleListPage;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Breadcrumbs__Container\":\"Breadcrumbs_Breadcrumbs__Container__yoRZv\",\"Breadcrumbs__Link\":\"Breadcrumbs_Breadcrumbs__Link__bkD3T\",\"Breadcrumbs__Last\":\"Breadcrumbs_Breadcrumbs__Last__92qft\",\"Breadcrumbs__Item\":\"Breadcrumbs_Breadcrumbs__Item__Bgn8p\",\"Breadcrumbs__ListWrap\":\"Breadcrumbs_Breadcrumbs__ListWrap__x07_b\",\"Breadcrumbs__List\":\"Breadcrumbs_Breadcrumbs__List__OH1Yy\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Hero__Content\":\"Hero_Hero__Content__1sG9z\",\"Hero__Title\":\"Hero_Hero__Title__e7mNc\",\"Hero__TagLine\":\"Hero_Hero__TagLine__uC96J\",\"Hero\":\"Hero_Hero__p2BfX\",\"Hero--Text\":\"Hero_Hero--Text__M_9QI\",\"Hero--Video\":\"Hero_Hero--Video__heEwj\",\"Hero__Video\":\"Hero_Hero__Video__as6d9\",\"Hero__Video--Playing\":\"Hero_Hero__Video--Playing__Y3_8c\",\"Hero__VideoPlayer\":\"Hero_Hero__VideoPlayer___xmuy\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"ArticleListPage__Container\":\"ArticleListPage_ArticleListPage__Container__ZUfIS\"};"],"names":["Breadcrumbs","items","param","length","jsx_runtime","jsx","div","className","styles","ul","map","item","idx","li","a","href","breadcrumbTitle","span","propTypes","PropTypes","defaultProps","components_Breadcrumbs","Hero","title","tagLine","image","videoUrl","isMobile","useMediaQuery","query","breakpoints","m","videoStarted","setVideoStarted","useState","state","useContext","CookieStateContext","cookieConsent","categories","includes","useEffect","document","querySelectorAll","forEach","i","tabIndex","classes","classNames","videoClasses","jsxs","header","undefined","Vimeo","video","muted","controls","volume","autoplay","height","width","background","onPlay","onEnd","dnt","ImageBlock","sizes","creditsRight","shouldLazyLoad","showDownload","h1","components_Hero","ArticleListPage","hero","richText","contentBlocks","breadcrumbs","Wysiwyg","modifiers","StreamField","containers_ArticleListPage","basePageWrap","module","exports"],"sourceRoot":""}