{"version":3,"sources":["webpack:///./src/components/editorial/textWithIcon.js","webpack:///./src/styling/breakpoints.js","webpack:///./src/components/editorial/portableTextWrap.js","webpack:///./src/components/editorial/section.js","webpack:///./src/styling/typescale.js","webpack:///./node_modules/get-youtube-id/index.js","webpack:///./src/components/editorial/quote.js"],"names":["SectionStyle","breakpoints","mobile","props","i","colors","green03","TextWithIcon","img","image","asset","fixed","src","alt","maybeImage","mainImage","bg","className","index","key","_key","horizonal","style","centered","iconRight","title","_rawRichText","portableTextContent","hasIconBackground","serializers","types","vimeo","url","node","vimeoVideoId","split","length","width","height","frameBorder","allow","allowFullScreen","youtube","id","getYouTubeID","videourl","block","test","level","replace","React","createElement","children","BlockContent","defaultSerializers","link","externalURL","linkText","arrow","bold","underlined","textWithIcon","richText","_ref","code","data-language","language","RichText","textWidth","blocks","projectId","dataset","css","Section","caption","video","isYouTubeVideo","join","indexOf","isVimeoVideo","youtubeVideoId","maybeVideo","links","map","displayTitle","slug","page","current","chevron","typescale","module","exports","opts","undefined","fuzzy","patterns","exec","tokens","quoteStyling","Cite","author","title_1","title_2","QuoteText","cite","quote","story","Quote"],"mappings":"4LAUMA,EAAY,4EAGYC,IAAYC,OAHxB,qDAMM,SAAAC,GAAK,OAAIA,EAAMC,GAAKD,EAAMC,EAAI,EAAI,iBAAmB,WAN3D,oCAWAC,IAAOC,QAXP,mJA0FHC,IAtDf,SAAuBJ,GAErB,IAAMK,EAZW,SAAAC,GACjB,IAAID,EAAM,KAMV,OALIC,GAASA,EAAMC,OAASD,EAAMC,MAAMC,OAASF,EAAMC,MAAMC,MAAMC,MACjEJ,EACE,mBAAKI,IAAKH,EAAMC,MAAMC,MAAMC,IAAKC,IAAKJ,EAAMI,IAAMJ,EAAMI,IAAM,MAG3DL,EAKKM,CAAWX,EAAMY,WAE7B,OACE,YAACf,EAAD,CACEgB,GAAIb,EAAMa,GACVZ,EAAGD,EAAMC,EACTa,UAAU,SACVC,MAAOf,EAAMe,MACbC,IAAKhB,EAAMi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AAY,SAACpG,GAAD,OAChB,mBAAKc,UAAS,2BAEXd,EAAMqG,KAEP,mBAAKvF,UAAU,cAAf,IAA8Bd,EAAMsG,MAApC,KAECtG,EAAMuG,OACL,mBAAKzF,UAAU,uCACZ,YAAC,IAAD,CAAeoE,KAAM,aAAelF,EAAMuG,MAAMrB,KAAKE,QAAS9B,SAAS,UAAU+B,SAAO,OAgElFmB,IAzDf,SAAgBxG,GACd,IAAMK,EArCW,SAAAC,GACjB,IAAID,EAAM,KAMV,OALIC,GAASA,EAAMC,OAASD,EAAMC,MAAMC,OAASF,EAAMC,MAAMC,MAAMC,MACjEJ,EACE,mBAAK6B,MAAM,MAAMC,OAAO,MAAM1B,IAAKH,EAAMC,MAAMC,MAAMC,IAAKC,IAAKJ,EAAMI,IAAMJ,EAAMI,IAAM,MAGpFL,EA8BKM,CAAWX,EAAMM,OAE7B,OACE,uBAASQ,UAAU,eAEjB,mBAAKA,UAAU,cAEb,mBAAKA,UAAU,WAEZd,EAAMC,EAAI,EACP,8BAEE,mBACEa,UAAS,0DAA4DiF,GAErE,mBAAKjF,UAAU,cAEb,YAACsF,EAAD,eAAepG,EAAf,CAAsBqG,KACpB,YAACL,EAAShG,MAGZ,mBAAKc,UAAS,iCAAoCT,MAOxD,8BAEE,mBACES,UAAS,0DAA4DiF,GAEnE,mBAAKjF,UAAU,cAEb,mBAAKA,UAAS,iCAAoCT,GAElD,YAAC+F,EAAD,eAAepG,EAAf,CAAsBqG,KACpB,YAACL,EAAShG","file":"2d73464ec078822a67aad1fa0b165d2c2bdb6464-7ec5de1f50c42443e2c2.js","sourcesContent":["import React from \"react\";\nimport styled from '@emotion/styled';\n\nimport RichText from \"./portableText\";\n\nimport { breakpoints } from \"../../styling/breakpoints\";\n\nimport \"../../styling/libraries.scss\"\nimport { colors } from \"../../styling/colors\";\n\nconst SectionStyle = styled.div`\n\n .columns {\n @media only screen and (${breakpoints.mobile}) {\n display: flex;\n flex-direction: row;\n flex-direction: ${props => props.i && props.i % 2 ? 'column-reverse' : 'column'};\n }\n }\n\n .hasIconBackground {\n background: ${colors.green03};\n border-radius: 100%;\n height: 200px;\n width: 200px;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .buttons {\n display: block;\n text-align: center;\n }\n`\n\nconst maybeImage = image => {\n let img = null;\n if (image && image.asset && image.asset.fixed && image.asset.fixed.src) {\n img = (\n \n );\n }\n return img;\n};\n\nfunction TextWithIcon (props) {\n\n const img = maybeImage(props.mainImage);\n\n return (\n
{props.title}
}\n {props._rawRichText && {props.title}
}\n {props._rawRichText &&
- {props.children}\n }\n \n // Fall back to default handling\n return
\n {props.node.code}
\n
\n )\n }\n}\n\nconst RichText = ({ portableTextContent, textWidth }) => (\n \n\n\n :\n \n\n\n\n\n\n\n\n } />\n\n {img}\n\n
\n\n\n }\n\n\n\n\n\n\n\n\n\n{img}\n\n\n } />\n\n