{"version":3,"sources":["webpack:///./src/pages/index.en.js","webpack:///./src/components/TitleAndMetaTags/index.js","webpack:///./src/components/TitleAndMetaTags/TitleAndMetaTags.js","webpack:///./src/utils/createOgUrl.js","webpack:///./src/components/ButtonLink/index.js","webpack:///./src/components/ButtonLink/ButtonLink.js","webpack:///./src/utils/loadScript.js","webpack:///./src/icons/logo-white.svg"],"names":["Home","state","babelLoaded","componentDidMount","_this2","this","loadScript","babelURL","then","setState","error","console","render","_ref","_ref4","_ref5","_this$props","props","data","location","marketing","Glamor","createElement","components_Layout__WEBPACK_IMPORTED_MODULE_6__","react_intl__WEBPACK_IMPORTED_MODULE_12__","id","txt","components_TitleAndMetaTags__WEBPACK_IMPORTED_MODULE_5__","title","ogUrl","createOgUrl","css","width","backgroundColor","colors","dark","color","white","paddingTop","paddingBottom","media","greaterThan","maxWidth","marginLeft","marginRight","position","components_Container__WEBPACK_IMPORTED_MODULE_2__","_ref2","brand","textAlign","margin","fontSize","letterSpacing","size","_ref3","fontWeight","components_Flex__WEBPACK_IMPORTED_MODULE_3__","valign","halign","flexWrap","justifyContent","CtaItem","components_ButtonLink__WEBPACK_IMPORTED_MODULE_1__","to","type","sharedStyles","markdown","sectionStyles","lessThan","marginTop","marginBottom","overflowX","WebkitOverflowScrolling","maskImage","display","flexDirection","whiteSpace","edges","map","_ref6","index","_firstOfType","_ref7","_","column","node","key","flex","&:first-of-type","verticalAlign","headingStyles","&&","subtle","frontmatter","dangerouslySetInnerHTML","__html","html","Component","_ref8","_firstChild","_nthChild","_ref9","children","primary","between","paddingLeft","paddingRight","pageQuery","_sectionStyles","_TitleAndMetaTags__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","TitleAndMetaTags","react_helmet__WEBPACK_IMPORTED_MODULE_0__","react_helmet__WEBPACK_IMPORTED_MODULE_0___default","n","ogDescription","a","property","content","__webpack_exports__","slug","urlRoot","replace","_ButtonLink__WEBPACK_IMPORTED_MODULE_0__","ButtonLink","ArrowSvg","_ref$cssProps","cssProps","height","xmlns","viewBox","d","fill","style","_style","primaryStyle","_primaryStyle","black","padding","transition","secondaryStyle",":hover","typeStyle","rest","_babel_runtime_helpers_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1___default","gatsby__WEBPACK_IMPORTED_MODULE_2__","Object","assign","url","Promise","resolve","reject","document","head","appendChild","async","src","onload","onerror","module","exports"],"mappings":"sRAoBMA,sJACJC,MAAQ,CACNC,aAAa,yCAGfC,kBAAA,WAAoB,IAAAC,EAAAC,KAClBC,YAAWC,KAAUC,KACnB,WACEJ,EAAKK,SAAS,CACZP,aAAa,KAGjB,SAAAQ,GACEC,QAAQD,MAAM,8BAKpBE,OAAA,WACwBP,KAAKJ,MAApBC,YADA,IAAAW,EAAAC,EAAAC,EAAAC,EAEkBX,KAAKY,MAAvBC,EAFAF,EAEAE,KAAMC,EAFNH,EAEMG,SACNC,EAAaF,EAAbE,UAEP,OACEC,EAAAC,cAACC,EAAA,EAAD,CAAQJ,SAAUA,GAChBE,EAAAC,cAACE,EAAA,EAAD,CAAkBC,GAAG,cAClB,SAAAC,GAAG,OACFL,EAAAC,cAACK,EAAA,EAAD,CAAkBC,MAAOF,EAAKG,MAAOC,YAAY,kBAIrDT,EAAAC,cAAA,OAAKS,IAAK,CAACC,MAAO,SAChBX,EAAAC,cAAA,UACES,IAAK,CACHE,gBAAiBC,IAAOC,KACxBC,MAAOF,IAAOG,QAEhBhB,EAAAC,cAAA,OACES,KAAGlB,EAAA,CACDyB,WAAY,GACZC,cAAe,IAFd1B,EAIA2B,IAAMC,YAAY,UAAW,CAC5BH,WAAY,GACZC,cAAe,IANhB1B,EASA2B,IAAMC,YAAY,WAAY,CAC7BH,WAAY,GACZC,cAAe,GACfG,SAAU,KACVC,WAAY,OACZC,YAAa,OACbC,SAAU,YAfXhC,IA+BHQ,EAAAC,cAAA,OACES,IAAK,CAEHc,SAAU,aAEZxB,EAAAC,cAACwB,EAAA,EAAD,KACAzB,EAAAC,cAACE,EAAA,EAAD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C,0OAKDC,KAAK,mBAwBLC,IAAKC,EAAA,CACT5D,QAAS,eACTvB,SAAU,KAETX,IAAMC,YAAY,WAAY,CAC7BU,SAAU,IALHmF,GASLC,IAAYC,EAAA,CAChBvG,gBAAiBC,IAAOc,MACxBZ,MAAOF,IAAOuG,MACdC,QAAS,YACT9D,WAAY,SACZ+D,WAAY,mCAEXnG,IAAMC,YAAY,WAAY,CAC7BH,WAAY,GACZC,cAAe,IATDiG,EAYhB,UAAU,CACRvG,gBAAiBC,IAAOG,OAbVmG,GAiBZI,EAAiB,CACrBxG,MAAOF,IAAOc,MACd2F,WAAY,sBAEZE,SAAU,CACRzG,MAAOF,IAAOG,QAIHuF,IAtDI,SAAA7E,GAA+B,IAC5C+F,EADexC,EAA6BvD,EAA7BuD,SAAUtC,EAAmBjB,EAAnBiB,KAAS+E,EAAUC,IAAAjG,EAAA,qBAEhD,OAAQiB,GACN,IAAK,UACH8E,EAAYP,EACZ,MACF,IAAK,YACHO,EAAYF,EAIhB,OACEvH,EAAAC,cAAC2H,EAAA,KAADC,OAAAC,OAAA,GAAUJ,EAAV,CAAgBhH,IAAK,CAACsG,EAAOS,KAC1BxC,EACS,cAATtC,GAAwB3C,EAAAC,cAACuG,EAAD,CAAUE,SAAU,CAACpF,WAAY,8EChCjD4E,EAAA,WAAA6B,GAAG,OAChB,IAAIC,QAAQ,SAACC,EAASC,GAAV,OACVC,SAASC,KAAKC,YACZR,OAAOC,OAAOK,SAASlI,cAAc,UAAW,CAC9CqI,OAAO,EACPC,IAAKR,EACLS,OAAQP,EACRQ,QAASP,2BChBjBQ,EAAAC,QAAA","file":"component---src-pages-index-en-js-8f04f652ab2942e4e0ea.js","sourcesContent":["/**\r\n * Copyright (c) 2013-present, Facebook, Inc.\r\n *\r\n * @emails react-core\r\n */\r\n\r\nimport ButtonLink from 'components/ButtonLink';\r\nimport Container from 'components/Container';\r\nimport Flex from 'components/Flex';\r\nimport React, {Component} from 'react';\r\nimport {graphql} from 'gatsby';\r\nimport TitleAndMetaTags from 'components/TitleAndMetaTags';\r\nimport Layout from 'components/Layout';\r\nimport {colors, media, sharedStyles} from 'theme';\r\nimport loadScript from 'utils/loadScript';\r\nimport createOgUrl from 'utils/createOgUrl';\r\nimport {babelURL} from 'site-constants';\r\nimport logoWhiteSvg from 'icons/logo-white.svg';\r\nimport {FormattedMessage} from 'react-intl';\r\n\r\nclass Home extends Component {\r\n state = {\r\n babelLoaded: false,\r\n };\r\n\r\n componentDidMount() {\r\n loadScript(babelURL).then(\r\n () => {\r\n this.setState({\r\n babelLoaded: true,\r\n });\r\n },\r\n error => {\r\n console.error('Babel failed to load.');\r\n },\r\n );\r\n }\r\n\r\n render() {\r\n const {babelLoaded} = this.state;\r\n const {data, location} = this.props;\r\n const {marketing} = data;\r\n\r\n return (\r\n \r\n \r\n {txt => (\r\n \r\n )}\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n {txt => (\r\n \r\n {txt}\r\n \r\n )}\r\n \r\n \r\n {txt => (\r\n \r\n {txt}\r\n

\r\n )}\r\n
\r\n\r\n \r\n \r\n \r\n {txt => (\r\n \r\n {txt}\r\n \r\n )}\r\n \r\n \r\n {/* \r\n \r\n {txt => (\r\n \r\n {txt}\r\n \r\n )}\r\n \r\n */}\r\n \r\n
\r\n
\r\n \r\n \r\n\r\n \r\n
\r\n \r\n \r\n {marketing.edges.map(({node: column}, index) => (\r\n \r\n \r\n {column.frontmatter.title}\r\n \r\n
\r\n
\r\n ))}\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nconst CtaItem = ({children, primary = false}) => (\r\n \r\n {children}\r\n \r\n);\r\n\r\nexport const pageQuery = graphql`\r\n query IndexMarkdown {\r\n marketing: allMarkdownRemark(\r\n filter: {fileAbsolutePath: {regex: \"//en/home/marketing/.*(.md)$/\"}}\r\n sort: {fields: [frontmatter___order], order: ASC}\r\n ) {\r\n edges {\r\n node {\r\n frontmatter {\r\n title\r\n }\r\n html\r\n }\r\n }\r\n }\r\n }\r\n`;\r\n\r\nexport default Home;\r\n\r\nconst sectionStyles = {\r\n marginTop: 20,\r\n marginBottom: 15,\r\n\r\n [media.greaterThan('medium')]: {\r\n marginTop: 60,\r\n marginBottom: 65,\r\n },\r\n};\r\n\r\nconst headingStyles = {\r\n '&&': {\r\n marginBottom: 20,\r\n },\r\n};\r\n","/**\r\n * Copyright (c) 2013-present, Facebook, Inc.\r\n *\r\n * @emails react-core\r\n */\r\n\r\nimport TitleAndMetaTags from './TitleAndMetaTags';\r\n\r\nexport default TitleAndMetaTags;\r\n","/**\r\n * Copyright (c) 2013-present, Facebook, Inc.\r\n *\r\n * @emails react-core\r\n * @flow\r\n */\r\n\r\nimport Helmet from 'react-helmet';\r\nimport React from 'react';\r\n\r\n// const defaultDescription = 'A JavaScript library for building user interfaces';\r\n\r\ntype Props = {\r\n title: string,\r\n ogDescription: string,\r\n ogUrl: string,\r\n};\r\n\r\nconst TitleAndMetaTags = ({title, ogDescription, ogUrl}: Props) => {\r\n return (\r\n \r\n \r\n \r\n {ogUrl && }\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default TitleAndMetaTags;\r\n","/**\r\n * Copyright (c) 2013-present, Facebook, Inc.\r\n *\r\n * @emails react-core\r\n * @flow\r\n */\r\n\r\nimport {urlRoot} from 'site-constants';\r\n\r\nexport default (slug: string): string | null =>\r\n slug == null ? null : `${urlRoot}/${slug.replace(/^\\//, '')}`;\r\n","/**\r\n * Copyright (c) 2013-present, Facebook, Inc.\r\n *\r\n * @emails react-core\r\n */\r\n\r\nimport ButtonLink from './ButtonLink';\r\n\r\nexport default ButtonLink;\r\n","/**\r\n * Copyright (c) 2013-present, Facebook, Inc.\r\n *\r\n * @emails react-core\r\n */\r\n\r\nimport {Link} from 'gatsby';\r\nimport React from 'react';\r\nimport {colors, media} from 'theme';\r\n\r\nconst ArrowSvg = ({cssProps = {}}) => (\r\n \r\n \r\n \r\n);\r\n\r\nconst ButtonLink = ({children, type, ...rest}) => {\r\n let typeStyle;\r\n switch (type) {\r\n case 'primary':\r\n typeStyle = primaryStyle;\r\n break;\r\n case 'secondary':\r\n typeStyle = secondaryStyle;\r\n break;\r\n }\r\n\r\n return (\r\n \r\n {children}\r\n {type === 'secondary' && }\r\n \r\n );\r\n};\r\n\r\nconst style = {\r\n display: 'inline-block',\r\n fontSize: 16,\r\n\r\n [media.greaterThan('xlarge')]: {\r\n fontSize: 20,\r\n },\r\n};\r\n\r\nconst primaryStyle = {\r\n backgroundColor: colors.brand,\r\n color: colors.black,\r\n padding: '10px 25px',\r\n whiteSpace: 'nowrap',\r\n transition: 'background-color 0.2s ease-out',\r\n\r\n [media.greaterThan('xlarge')]: {\r\n paddingTop: 15,\r\n paddingBottom: 15,\r\n },\r\n\r\n ':hover': {\r\n backgroundColor: colors.white,\r\n },\r\n};\r\n\r\nconst secondaryStyle = {\r\n color: colors.brand,\r\n transition: 'color 0.2s ease-out',\r\n\r\n ':hover': {\r\n color: colors.white,\r\n },\r\n};\r\n\r\nexport default ButtonLink;\r\n","/**\r\n * Copyright (c) 2013-present, Facebook, Inc.\r\n *\r\n * This source code is licensed under the MIT license found in the\r\n * LICENSE file in the root directory of this source tree.\r\n *\r\n * @emails react-core\r\n */\r\n\r\nexport default url =>\r\n new Promise((resolve, reject) =>\r\n document.head.appendChild(\r\n Object.assign(document.createElement('script'), {\r\n async: true,\r\n src: url,\r\n onload: resolve,\r\n onerror: reject,\r\n }),\r\n ),\r\n );\r\n","module.exports = \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0xMS41IC0xMC4yMzE3NCAyMyAyMC40NjM0OCI+DQogIDx0aXRsZT5SZWFjdCBMb2dvPC90aXRsZT4NCiAgPGNpcmNsZSBjeD0iMCIgY3k9IjAiIHI9IjIuMDUiIGZpbGw9IiNmZmYiLz4NCiAgPGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiPg0KICAgIDxlbGxpcHNlIHJ4PSIxMSIgcnk9IjQuMiIvPg0KICAgIDxlbGxpcHNlIHJ4PSIxMSIgcnk9IjQuMiIgdHJhbnNmb3JtPSJyb3RhdGUoNjApIi8+DQogICAgPGVsbGlwc2Ugcng9IjExIiByeT0iNC4yIiB0cmFuc2Zvcm09InJvdGF0ZSgxMjApIi8+DQogIDwvZz4NCjwvc3ZnPg0K\""],"sourceRoot":""}