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KlC,YAAY,CAAG,CAChBf,KAAM,GACNoD,MAAO,CACHoB,IAAK,GACLjD,QAAS,EACb,EACAnC,MAAO,GACPkB,WAAY,GACZ+C,KAAM,GACNkB,OAAQ,GACRpB,SAAU,EACd,EClLA,IAAAsB,EDoLe7D,qIGpLf8D,EDEiB,OAAC,CAAEL,KAAAA,EAAO,EAAE,CAAE7D,OAAAA,EAAS,IAAI,CAAE,CAAAjB,EACpCI,EAAUC,IAAWe,IAAAA,QAAkB,CAAE,CAC3C,CAACA,GAAM,CAAC,aAAoBb,MAAA,CAAPU,GAAS,CAAC,CAAEA,CACrC,GAEA,MACI,GAAAhB,EAAAC,GAAA,EAACsC,MAAAA,CAAI4C,wBAAyB,CAAEC,OAAQP,CAAK,EAAG/E,UAAWK,GAEnE,oBEXAkF,EAAAC,OAAA,EAAkB,mEEAlBD,EAAAC,OAAA,EAAkB,0kBCAlBD,EAAAC,OAAA,EAAkB,2fCAlBD,EAAAC,OAAA,EAAkB,+4CCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./components/AnchorLink/AnchorLink.js","webpack://_N_E/./components/AnchorLink/index.js","webpack://_N_E/./components/CampaignPostSegment/CampaignPostSegment.js","webpack://_N_E/./components/CampaignPostSegment/index.js","webpack://_N_E/./components/CampaignSection/CampaignSection.js","webpack://_N_E/./components/CampaignSection/index.js","webpack://_N_E/./components/ImageCaption/ImageCaption.js","webpack://_N_E/./components/ImageCaption/index.js","webpack://_N_E/./components/PostSegment/PostSegment.js","webpack://_N_E/./components/PostSegment/index.js","webpack://_N_E/./components/RichText/RichText.js","webpack://_N_E/./components/RichText/index.js","webpack://_N_E/./components/AnchorLink/AnchorLink.module.scss","webpack://_N_E/./components/CampaignPostSegment/CampaignPostSegment.module.scss","webpack://_N_E/./components/CampaignSection/CampaignSection.module.scss","webpack://_N_E/./components/ImageCaption/ImageCaption.module.scss","webpack://_N_E/./components/PostSegment/PostSegment.module.scss","webpack://_N_E/./components/RichText/RichText.module.scss"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport s from './AnchorLink.module.scss';\n\nconst AnchorLink = ({ children, title, id, className = '' }) => {\n    if (!id) {\n        return <span>{title || children}</span>;\n    }\n\n    const classes = classNames(s['Root'], 'Anchor', {\n        [`${className}`]: className,\n    });\n    return (\n        <a className={classes} href={`#${id}`} id={id}>\n            <span>{title || children}</span>\n        </a>\n    );\n};\n\nAnchorLink.propTypes = {\n    title: PropTypes.string,\n    id: PropTypes.string,\n    className: PropTypes.string,\n};\n\nexport default AnchorLink;\n","import AnchorLink from './AnchorLink';\n\nexport default AnchorLink;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport CampaignSection from '../CampaignSection';\nimport PostSegment from '../PostSegment';\n\nimport styles from './CampaignPostSegment.module.scss';\nimport classNames from 'classnames';\n\nconst CampaignPostSegment = ({\n    heading,\n    anchorLink,\n    altLayout,\n    colors,\n    items,\n}) => (\n    <CampaignSection\n        heading={heading}\n        anchorLink={anchorLink}\n        colors={colors}\n        classes={styles['CampaignPostSegment']}>\n        <PostSegment\n            items={items}\n            altLayout={altLayout}\n            withTypeStyle={'Campaign'}\n            untranslatedModifiers={[`PostSegment--${colors}`]}\n        />\n    </CampaignSection>\n);\n\nCampaignPostSegment.propTypes = {\n    heading: PropTypes.string,\n    anchorLink: PropTypes.string,\n    altLayout: PropTypes.string,\n    colors: PropTypes.string,\n    items: PropTypes.array,\n};\n\nCampaignPostSegment.defaultProps = {};\n\nexport default CampaignPostSegment;\n","import CampaignPostSegment from './CampaignPostSegment';\n\nexport default CampaignPostSegment;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport AnchorLink from '../AnchorLink';\n\nimport styles from './CampaignSection.module.scss';\n\nconst CampaignSection = ({\n    colors = null,\n    heading = '',\n    anchorLink = '',\n    classes = '',\n    children = null,\n}) => (\n    <section\n        className={classNames(styles['CampaignSection'], classes, {\n            [styles[`CampaignSection--${colors}`]]: !!colors,\n        })}>\n        {heading && (\n            <h2 className={styles['CampaignSection__Heading']}>\n                {anchorLink ? (\n                    <AnchorLink title={heading} id={anchorLink} />\n                ) : (\n                    heading\n                )}\n            </h2>\n        )}\n        {children}\n    </section>\n);\n\nCampaignSection.propTypes = {\n    colors: PropTypes.string,\n    heading: PropTypes.string,\n    anchorLink: PropTypes.string,\n    classes: PropTypes.string,\n    children: PropTypes.node.isRequired,\n};\n\nexport default CampaignSection;\n","import CampaignSection from './CampaignSection';\n\nexport default CampaignSection;\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { useTranslation } from 'next-i18next';\nimport styles from './ImageCaption.module.scss';\n\nconst ImageCaption = ({\n    id = 'image-0',\n    caption = '',\n    title = '',\n    credits = '',\n    modifiers = [],\n}) => {\n    const { t } = useTranslation('common');\n    const [isOpen, setIsOpen] = useState(false);\n    const toggleOpen = (e) => {\n        e.stopPropagation();\n        setIsOpen(!isOpen);\n    };\n\n    // Prevent unintentional image focus on Safari\n    // on button click\n    const onMouseDown = (e) => {\n        e.preventDefault();\n    };\n\n    const classes = classNames(\n        styles['ImageCaption'],\n        { [styles['ImageCaption--Open']]: isOpen },\n        modifiers\n    );\n\n    return (\n        <div className={classes}>\n            <div id={id} className={styles['ImageCaption__Wrap']}>\n                {title && (\n                    <div className={styles['ImageCaption__Title']}>{title}</div>\n                )}\n                {caption && (\n                    <div className={styles['ImageCaption__Caption']}>\n                        {caption}\n                    </div>\n                )}\n                {credits && (\n                    <div className={styles['ImageCaption__Credits']}>\n                        {t('imageCaption.photo')} {credits}\n                    </div>\n                )}\n            </div>\n            <button\n                aria-controls={id}\n                aria-expanded={isOpen}\n                className={styles['ImageCaption__Button']}\n                onClick={toggleOpen}\n                onMouseDown={onMouseDown}>\n                <span className=\"sr-only\">\n                    {isOpen ? t('imageCaption.close') : t('imageCaption.open')}\n                </span>\n                {!isOpen && (\n                    <span\n                        className={styles['ImageCaption__Icon']}\n                        aria-hidden={true}>\n                        i\n                    </span>\n                )}\n            </button>\n        </div>\n    );\n};\n\nImageCaption.propTypes = {\n    title: PropTypes.string,\n    caption: PropTypes.node,\n    credits: PropTypes.node,\n    modifiers: PropTypes.array,\n    id: PropTypes.string,\n};\n\nexport default ImageCaption;\n","import ImageCaption from './ImageCaption';\n\nexport default ImageCaption;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { useTranslation } from 'next-i18next';\n\nimport { isExternalUrl } from '../../utils/url';\nimport { serializeImage } from '../../utils/SerializeImage';\nimport BackgroundImage from '../BackgroundImage';\nimport ImageCaption from '../ImageCaption';\nimport AnchorLink from '../AnchorLink';\nimport RichText from '../RichText';\n\nimport styles from './PostSegment.module.scss';\n\nconst PostSegment = ({\n    items,\n    isNumberedList,\n    altLayout,\n    withTypeStyle,\n    untranslatedModifiers = [],\n}) => {\n    const classes = classNames(\n        styles['PostSegment'],\n        {\n            [styles['PostSegment--Numbered']]: isNumberedList,\n            [styles[`PostSegment--${withTypeStyle}`]]: withTypeStyle,\n        },\n        untranslatedModifiers.map((x) => styles[x])\n    );\n\n    return (\n        <div className={classes}>\n            {items.map((item, index) => (\n                <Card\n                    {...item}\n                    key={index}\n                    index={index}\n                    numbered={isNumberedList}\n                    withTypeStyle={withTypeStyle}\n                    altLayout={altLayout}\n                />\n            ))}\n        </div>\n    );\n};\n\nconst Card = ({\n    href,\n    image,\n    title,\n    anchorLink,\n    text,\n    numbered,\n    buttonText,\n    index,\n    altLayout,\n    withTypeStyle,\n    colors,\n}) => {\n    const { t } = useTranslation('common');\n    const serializedImage = serializeImage(image, true);\n    const hasLink = href.length > 0;\n    const isExternal = hasLink && isExternalUrl(href);\n    const classes = classNames(styles['PostSegment__Card'], {\n        [styles[`PostSegment__Card--${colors}`]]: colors,\n    });\n\n    const sizes = '(max-width: 768px) 100vw, 642px';\n\n    let useLeftAlign = false;\n\n    if (altLayout === 'ImageLeftStart') {\n        useLeftAlign = Boolean(index % 2);\n    } else if (altLayout === 'ImageRightStart') {\n        useLeftAlign = !Boolean(index % 2);\n    }\n\n    const containerClasses = classNames(styles['PostSegment__Container'], {\n        [styles['PostSegment__Container--Link']]: hasLink,\n        [styles['PostSegment__Container--Numbered']]: numbered,\n        [styles['PostSegment__Container--External']]: isExternal,\n        [styles['PostSegment__Container--LeftAlign']]: useLeftAlign,\n        [styles['PostSegment__Container--RightAlign']]: !useLeftAlign,\n        [styles[`PostSegment__Container--${withTypeStyle}`]]: withTypeStyle,\n    });\n    const showCaption = image.title || image.credits;\n\n    return (\n        <div className={classes}>\n            <div className={containerClasses}>\n                <div className={styles['PostSegment__Image']}>\n                    {serializedImage && (\n                        <BackgroundImage\n                            {...serializedImage}\n                            quality={70}\n                            sizes={sizes}\n                        />\n                    )}\n                    {showCaption && (\n                        <ImageCaption\n                            id={`image-${image.id}`}\n                            credits={image.credits}\n                            caption={image.caption}\n                            title={image.title}\n                        />\n                    )}\n                </div>\n\n                <div className={styles['PostSegment__Wrapper']}>\n                    <div className={styles['PostSegment__Content']}>\n                        <h2 className={styles['PostSegment__Title']}>\n                            {numbered && (\n                                <span\n                                    aria-hidden={true}\n                                    className={styles['PostSegment__Number']}>\n                                    {index + 1}\n                                </span>\n                            )}\n                            <AnchorLink title={title} id={anchorLink} />\n                        </h2>\n                        <div className={styles['PostSegment__Text']}>\n                            <RichText html={text} colors={colors} />\n                            {hasLink && (\n                                <a\n                                    href={href}\n                                    className={styles['PostSegment__ReadMore']}>\n                                    <span className=\"sr-only\">{title}</span>\n                                    <span aria-hidden={true}>\n                                        {buttonText || t('postsegment.more')}\n                                    </span>\n                                </a>\n                            )}\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    );\n};\n\nPostSegment.propTypes = {\n    items: PropTypes.array,\n    isNumberedList: PropTypes.bool,\n    altLayout: PropTypes.string,\n    withTypeStyle: PropTypes.string,\n};\n\nPostSegment.defaultProps = {\n    items: [\n        {\n            value: {},\n        },\n    ],\n    isNumberedList: false,\n    altLayout: '',\n};\n\nCard.propTypes = {\n    href: PropTypes.string,\n    image: PropTypes.object,\n    title: PropTypes.string,\n    anchorLink: PropTypes.string,\n    text: PropTypes.string,\n    single: PropTypes.bool,\n    numbered: PropTypes.bool,\n    buttonText: PropTypes.string,\n    index: PropTypes.number,\n};\n\nCard.defaultProps = {\n    href: '',\n    image: {\n        src: '',\n        caption: '',\n    },\n    title: '',\n    anchorLink: '',\n    text: '',\n    single: false,\n    numbered: false,\n};\n\nexport default PostSegment;\n","import PostSegment from './PostSegment';\n\nexport default PostSegment;\n","import React from 'react';\nimport classNames from 'classnames';\nimport styles from './RichText.module.scss';\n\nconst RichText = ({ html = '', colors = null }) => {\n    const classes = classNames(styles['RichText'], {\n        [styles[`RichText--${colors}`]]: colors,\n    });\n\n    return (\n        <div dangerouslySetInnerHTML={{ __html: html }} className={classes} />\n    );\n};\n\nexport default RichText;\n","import RichText from './RichText';\n\nexport default RichText;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Root\":\"AnchorLink_Root__gIFSV\"};","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin\nmodule.exports = {\"CampaignSection__Heading\":\"CampaignSection_CampaignSection__Heading__qWfXv\",\"CampaignSection\":\"CampaignSection_CampaignSection__d6O_t\",\"CampaignSection--BlackOnWhite\":\"CampaignSection_CampaignSection--BlackOnWhite__7G85o\",\"CampaignSection--BlackOnYellow\":\"CampaignSection_CampaignSection--BlackOnYellow__zRUYZ\",\"CampaignSection--WhiteOnBlue\":\"CampaignSection_CampaignSection--WhiteOnBlue__hHoZ5\",\"CampaignSection--YellowOnBlue\":\"CampaignSection_CampaignSection--YellowOnBlue__hCyMA\",\"CampaignSection--BlueOnYellow\":\"CampaignSection_CampaignSection--BlueOnYellow__AC3dm\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"ImageCaption__Button\":\"ImageCaption_ImageCaption__Button__UWAW7\",\"ImageCaption__Title\":\"ImageCaption_ImageCaption__Title__2aFHN\",\"ImageCaption__Credits\":\"ImageCaption_ImageCaption__Credits__L_uFL\",\"ImageCaption__Caption\":\"ImageCaption_ImageCaption__Caption__3XnAB\",\"ImageCaption\":\"ImageCaption_ImageCaption__ROmCo\",\"ImageCaption--Open\":\"ImageCaption_ImageCaption--Open__IZHgb\",\"ImageCaption__Wrap\":\"ImageCaption_ImageCaption__Wrap__Lf_FH\",\"ImageCaption__Icon\":\"ImageCaption_ImageCaption__Icon__upX00\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"PostSegment__Container\":\"PostSegment_PostSegment__Container__lF38e\",\"PostSegment__Title\":\"PostSegment_PostSegment__Title__Jz0NM\",\"PostSegment__Text\":\"PostSegment_PostSegment__Text__opMjA\",\"PostSegment__ReadMore\":\"PostSegment_PostSegment__ReadMore__MxR5k\",\"PostSegment__Number\":\"PostSegment_PostSegment__Number__xjA7i\",\"PostSegment__Container--LeftAlign\":\"PostSegment_PostSegment__Container--LeftAlign__2gvj3\",\"PostSegment__Container--RightAlign\":\"PostSegment_PostSegment__Container--RightAlign___EOKa\",\"PostSegment__Link\":\"PostSegment_PostSegment__Link__Au7KL\",\"PostSegment__Wrapper\":\"PostSegment_PostSegment__Wrapper__cdywb\",\"PostSegment__Image\":\"PostSegment_PostSegment__Image__hWfdz\",\"PostSegment__Content\":\"PostSegment_PostSegment__Content__hygPY\",\"PostSegment--Numbered\":\"PostSegment_PostSegment--Numbered__GMD5z\",\"PostSegment__TitleText\":\"PostSegment_PostSegment__TitleText__kqTYy\",\"PostSegment__Card--Link\":\"PostSegment_PostSegment__Card--Link__nE19b\",\"PostSegment__Card--External\":\"PostSegment_PostSegment__Card--External__EPa6_\",\"PostSegment--Campaign\":\"PostSegment_PostSegment--Campaign__ybCYk\",\"PostSegment__Card\":\"PostSegment_PostSegment__Card__qVdpv\",\"PostSegment__Card--WhiteOnBlue\":\"PostSegment_PostSegment__Card--WhiteOnBlue__d5qgJ\",\"PostSegment__Card--BlackOnYellow\":\"PostSegment_PostSegment__Card--BlackOnYellow__6B9vi\",\"PostSegment__Card--BlackOnWhite\":\"PostSegment_PostSegment__Card--BlackOnWhite__Pa9VX\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"RichText\":\"RichText_RichText___2Oh_\",\"RichText--WhiteOnBlue\":\"RichText_RichText--WhiteOnBlue__eeBFJ\"};"],"names":["AnchorLink","children","title","id","className","param","jsx_runtime","jsx","span","classes","classNames","s","concat","a","href","propTypes","PropTypes","components_AnchorLink","CampaignPostSegment","heading","anchorLink","altLayout","colors","items","CampaignSection","styles","PostSegment","withTypeStyle","untranslatedModifiers","defaultProps","components_CampaignPostSegment","jsxs","section","h2","isRequired","components_CampaignSection","ImageCaption","caption","credits","modifiers","t","useTranslation","isOpen","setIsOpen","useState","div","button","aria-controls","aria-expanded","onClick","e","stopPropagation","onMouseDown","preventDefault","aria-hidden","components_ImageCaption","isNumberedList","map","x","item","index","react","createElement","Card","key","numbered","image","text","buttonText","serializedImage","serializeImage","hasLink","length","isExternal","isExternalUrl","useLeftAlign","Boolean","containerClasses","showCaption","BackgroundImage","quality","sizes","RichText","html","value","single","src","components_PostSegment","components_RichText","dangerouslySetInnerHTML","__html","module","exports"],"sourceRoot":""}