{"version":3,"sources":["webpack:///./src/theme.js","webpack:///./src/components/layout.js","webpack:///./src/components/container.js","webpack:///./src/components/header.js","webpack:///./src/components/hero.js","webpack:///./src/components/distorted-mask.js","webpack:///./src/components/intro.js","webpack:///./.cache/gatsby-browser-entry.js","webpack:///./src/components/title.js","webpack:///./src/components/upright-link.js","webpack:///./src/components/preorder-block.js","webpack:///./src/components/video.js","webpack:///./src/components/slider.js","webpack:///./src/components/losing-earth-excerpt.js","webpack:///./src/components/site-button.js","webpack:///./src/components/excerpt.js","webpack:///./src/schema.js","webpack:///./src/components/form-input.js","webpack:///./src/components/error-text.js","webpack:///./src/components/entry-form.js","webpack:///./src/components/footer.js","webpack:///./src/components/tour-dates.js","webpack:///./src/pages/index.js","webpack:///./src/images/mcd-logo.svg","webpack:///./.cache/public-page-renderer.js","webpack:///./src/images/icons/close.svg","webpack:///./src/images/cover.gif","webpack:///./.cache/public-page-renderer-prod.js","webpack:///./src/images/icons/left-arrow.svg","webpack:///./src/images/icons/right-arrow.svg"],"names":["theme","breakpoints","Object","values","tablet","large","fontSizes","space","fonts","sans","heading","serif","mono","colors","black","red","white","green","GlobalStyle","createGlobalStyle","_templateObject","props","Layout","_ref","children","react_default","a","createElement","styled_components_browser_esm","Fragment","Container","styled","Box","withConfig","displayName","componentId","Logo","Image","Header","_StyledBox","as","mt","_css","textAlign","href","src","logo","AspectRatioBox","AspectRatio","LabelText","Text","TextWrap","Hero","hero_StyledBox","dist","fontFamily","fontSize","lineHeight","color","ratio","cover","Wrap","pointLifetime","DecayCanvas","_this","_React$Component","call","this","state","points","handleTick","setState","filter","point","Date","now","time","drawImageCanvas","drawLineCanvas","requestAnimationFrame","_this$props","width","height","canvasContext","overlayCanvas","current","getContext","globalCompositeOperation","save","globalAlpha","fillStyle","fillRect","restore","drawImage","lineCanvas","b","lineCanvasContext","clearRect","lineCap","shadowBlur","shadowColor","i","length","previousPoint","distance","Math","sqrt","pow","x","y","percentageLineWidth","max","min","lineWidth","maximumLineWidth","age","opacity","strokeStyle","beginPath","moveTo","lineTo","stroke","React","createRef","componentDidUpdate","prevProps","position","push","componentDidMount","_this2","_this$props2","setTimeout","render","_this$props3","style","zIndex","ref","Component","DistortedCursor","ReactCursorPosition","left","right","top","bottom","distorted_mask_DecayCanvas","distorted_mask","_StyledWrap","lib_default","_ref2","DistortedText","div","Intro","_StyledText","fontWeight","letterSpacing","StaticQueryContext","createContext","StaticQuery","Consumer","staticQueryData","data","query","propTypes","PropTypes","object","string","isRequired","func","Title","Heading","UprightLink","Link","underline","css","noHover","PreorderBlock","links","preorder_block_StyledBox","title","_StyledBox2","_css2","maxWidth","margin","_StyledFlex","flexDirection","justifyContent","_css3","display","map","link","key","upright_link","url","target","rel","preorder_block","gatsby_browser_entry_StaticQuery","preorder_block_PreorderBlock","site","siteMetadata","purchaseLinks","_564907802","Video","es_default","react_lazyload_lib_default","once","frameBorder","allow","allowFullScreen","MobilePagination","Flex","DesktopPagination","PaginationButton","Button","Quote","CitationAuthor","CitationSecondary","Slider","_React$PureComponent","slider","handlePrevious","previous","handleNext","next","sliderRef","require","autoPlay","fade","pageDots","prevNextButtons","wrapAround","resize","slider_StyledBox","onClick","left_arrow_default","textTransform","right_arrow_default","PureComponent","Paragraph","LosingEarthExcerpt","losing_earth_excerpt_Wrap","SiteButton","ReactModal","setAppElement","CloseButton","Excerpt","_useState","useState","modalOpen","setModalOpen","excerpt_Wrap","py","excerpt_StyledBox","excerpt_StyledText","site_button","react_modal_lib_default","onRequestClose","shouldCloseOnOverlayClick","overlay","background","content","maxHeight","isOpen","excerpt_StyledBox2","padding","close_default","losing_earth_excerpt","schema","Yup","shape","firstName","required","lastName","email","streetAddress","streetAddress2","city","zip","FormInput","input","error","ErrorText","formFields","type","placeholder","initialValues","keys","reduce","acc","EntryForm","handleSubmit","asyncToGenerator_default","regenerator_default","mark","_callee","body","actions","wrap","_context","prev","setSubmitting","axios","post","resetForm","t0","alert","response","finish","stop","_x","_x2","apply","arguments","entry_form_StyledBox","mb","formik_esm","validationSchema","validateOnBlur","validateOnChange","onSubmit","errors","handleChange","touched","handleBlur","isSubmitting","setFieldValue","setFieldError","setFieldTouched","flexWrap","ml","mr","field","px","form_input","name","disabled","onChange","onBlur","value","component","entry_form_StyledBox2","alignItems","border","_StyledBox3","entry_form_CloseButton","Footer","footer_StyledFlex","_StyledImage","mx","footer_StyledText","Description","Location","TourDates","dates","tour_dates_StyledBox","tour_dates_StyledBox2","date","index","location","dangerouslySetInnerHTML","markup","description","__html","tour_dates","tour_dates_TourDates","tourDates","_2191946517","IndexPage","layout","header","id","container","hero","intro","video","pages_StyledBox","excerpt","entry_form","footer","module","exports","m","default","__webpack_require__","Close","className","d","transform","defaultProps","data-name","viewBox","p","ProdPageRenderer","pageResources","loader","getResourcesForPathnameSync","pathname","InternalPageRenderer","assign","json","LeftArrow","strokeWidth","fill","fillRule","version","RightArrow"],"mappings":"yJAKMA,sBAAQ,CACZC,YAAaC,OAAOC,OANA,CACpBC,OAAQ,QACRC,MAAO,WAKPC,UAAW,CAAC,GAAI,GAAI,GAAI,GAAI,GAAI,GAAI,GAAI,IACxCC,MAAO,CAAC,EAAG,EAAG,EAAG,GAAI,GAAI,GAAI,GAAI,GAAI,GAAI,GAAI,GAAI,GAAI,GAAI,GAAI,IAAK,KAClEC,MAAO,CACLC,KAAM,uCACNC,QAAS,sBACTC,MAAO,uBACPC,KAAM,oBAERC,OAAQ,CACNC,MAAO,QACPC,IAAK,MACLC,MAAO,UACPC,MAAO,kQCVX,IAAMC,EAAcC,4BAAHC,IAKE,SAAAC,GAAK,OAAIA,EAAMrB,MAAMQ,MAAMC,OAa/Ba,EATA,SAAAC,GAAA,IAAGC,EAAHD,EAAGC,SAAH,OACbC,EAAAC,EAAAC,cAACC,EAAA,cAAD,CAAe5B,MAAOA,GACpByB,EAAAC,EAAAC,cAAAF,EAAAC,EAAAG,SAAA,KACEJ,EAAAC,EAAAC,cAACT,EAAD,MACCM,KCbQM,EANGC,kBAAOC,OAAVC,WAA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",\n large: \"1024px\",\n}\n\nconst theme = {\n breakpoints: Object.values(breakpointMap),\n fontSizes: [12, 14, 16, 20, 24, 32, 48, 64],\n space: [0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 64, 128, 256],\n fonts: {\n sans: \"Larsseit-Bold, system-ui, sans-serif\",\n heading: \"egyptienne, georgia\",\n serif: \"AdrianeText, georgia\",\n mono: \"Menlo, monospace\",\n },\n colors: {\n black: \"black\",\n red: \"red\",\n white: \"#FFFCEF\",\n green: \"#5DB438\",\n },\n}\n\nexport { theme, breakpointMap }\n","import React from \"react\"\nimport { ThemeProvider, createGlobalStyle } from \"styled-components\"\n\nimport { theme } from \"../theme\"\nimport \"../style/reset.css\"\nimport \"../style/typography.css\"\nimport \"../style/site.css\"\nimport \"react-aspect-ratio/aspect-ratio.css\"\n\nconst GlobalStyle = createGlobalStyle`\n body {\n background: black;\n -webkit-font-smoothing: subpixel-antialiased;\n text-rendering: geometricPrecision;\n font-family: ${props => props.theme.fonts.sans};\n }\n`\n\nconst Layout = ({ children }) => (\n \n <>\n \n {children}\n \n \n)\n\nexport default Layout\n","import { Box } from \"rebass\"\nimport styled from \"styled-components\"\n\nconst Container = styled(Box)`\n max-width: 1140px;\n margin: 0 auto;\n padding: 0 18px;\n`\n\nexport default Container\n","import React from \"react\"\nimport { Box, Image } from \"rebass\"\nimport styled from \"styled-components\"\nimport logo from \"../images/mcd-logo.svg\"\n\nconst Logo = styled(Image)`\n width: 60px;\n`\n\nconst Header = () => (\n \n \n \n \n \n)\n\nexport default Header\n","import React from \"react\"\nimport AspectRatio from \"react-aspect-ratio\"\nimport { Box, Heading, Text, Image } from \"rebass\"\nimport cover from \"../images/cover.gif\"\nimport styled from \"styled-components\"\nconst AspectRatioBox = styled(AspectRatio)`\n width: 75%;\n max-width: 530px;\n margin: 0 auto;\n box-shadow: 0 0 50px 0 ${props => props.theme.colors.green};\n\n @media (min-width: ${props => props.theme.breakpoints[1]}) {\n width: 100%;\n }\n`\n\nconst LabelText = styled(Text)`\n letter-spacing: 1.43px;\n font-size: 18px;\n color: ${props => props.theme.colors.white};\n text-transform: uppercase;\n`\n\nconst TextWrap = styled(Box)`\n max-width: 164px;\n margin-left: auto;\n margin-right: auto;\n @media (min-width: ${props => props.theme.breakpoints[1]}) {\n max-width: 100%;\n }\n`\n\nconst Hero = () => (\n \n \n \n Losing Earth\n A Recent History\n \n \n \n \n \n \n \n Hardcover, MCD × FSG, 2019\n $25.00\n \n \n \n)\n\nexport default Hero\n","import React from \"react\"\nimport ReactCursorPosition from \"react-cursor-position\"\nimport ContainerDimensions from \"react-container-dimensions\"\nimport { Box } from \"rebass\"\nimport styled from \"styled-components\"\nconst Wrap = styled(Box)`\n visibility: hidden;\n\n @media (min-width: ${props => props.theme.breakpoints[1]}) {\n visibility: visible;\n }\n`\nconst pointLifetime = 500\n\nfunction getDistanceBetween(a, b) {\n return Math.sqrt(Math.pow(a.x - b.x, 2) + Math.pow(a.y - b.y, 2))\n}\n\nclass DecayCanvas extends React.Component {\n constructor() {\n super()\n this.lineCanvas = React.createRef()\n this.overlayCanvas = React.createRef()\n }\n\n state = {\n points: [],\n }\n\n componentDidUpdate(prevProps) {\n const { position } = this.props\n const { x, y } = position\n if (position !== prevProps.position) {\n this.state.points.push({\n time: Date.now(),\n x,\n y,\n })\n }\n }\n\n componentDidMount() {\n const { width, height } = this.props\n setTimeout(() => {\n let canvasContext = this.overlayCanvas.current.getContext(\"2d\")\n canvasContext.globalAlpha = 0.25\n canvasContext.fillStyle = \"rgb(0, 0, 0)\"\n canvasContext.fillRect(0, 0, width, height)\n this.handleTick()\n })\n }\n\n handleTick = () => {\n this.setState({\n points: this.state.points.filter(function(point) {\n var age = Date.now() - point.time\n return age < pointLifetime\n }),\n })\n this.drawImageCanvas()\n this.drawLineCanvas()\n requestAnimationFrame(this.handleTick)\n }\n\n drawImageCanvas = () => {\n const { width, height } = this.props\n let canvasContext = this.overlayCanvas.current.getContext(\"2d\")\n canvasContext.globalCompositeOperation = \"source-over\"\n canvasContext.save()\n canvasContext.globalAlpha = 0.0125\n canvasContext.fillStyle = \"rgb(0, 0, 0)\"\n canvasContext.fillRect(0, 0, width, height)\n canvasContext.restore()\n canvasContext.globalCompositeOperation = \"destination-out\"\n canvasContext.drawImage(this.lineCanvas.current, 0, 0)\n }\n\n drawLineCanvas = () => {\n const lineCanvasContext = this.lineCanvas.current.getContext(\"2d\")\n var minimumLineWidth = 70\n var maximumLineWidth = 140\n var lineWidthRange = maximumLineWidth - minimumLineWidth\n var maximumSpeed = 70\n\n lineCanvasContext.clearRect(0, 0, this.props.width, this.props.height)\n lineCanvasContext.lineCap = \"round\"\n lineCanvasContext.shadowBlur = 70\n lineCanvasContext.shadowColor = \"red\"\n\n for (var i = 1; i < this.state.points.length; i++) {\n var point = this.state.points[i]\n var previousPoint = this.state.points[i - 1]\n\n // Change line width based on speed\n var distance = getDistanceBetween(point, previousPoint)\n var speed = Math.max(0, Math.min(maximumSpeed, distance))\n var percentageLineWidth = (maximumSpeed - speed) / maximumSpeed\n lineCanvasContext.lineWidth =\n minimumLineWidth + percentageLineWidth * lineWidthRange\n\n // Fade points as they age\n var age = Date.now() - point.time\n var opacity = (pointLifetime - age) / pointLifetime\n lineCanvasContext.strokeStyle = \"rgba(0, 0, 0, \" + opacity + \")\"\n\n lineCanvasContext.beginPath()\n lineCanvasContext.moveTo(previousPoint.x, previousPoint.y)\n lineCanvasContext.lineTo(point.x, point.y)\n lineCanvasContext.stroke()\n }\n }\n\n render() {\n const { width, height } = this.props\n return (\n <>\n \n \n \n )\n }\n}\n\nfunction DistortedCursor({ width, height, position }) {\n return (\n \n \n \n )\n}\n\nexport default function() {\n return (\n \n \n {({ width, height }) => (\n \n )}\n \n \n )\n}\n","import React from \"react\"\nimport { Text } from \"rebass\"\nimport styled from \"styled-components\"\nimport DistortedMask from \"./distorted-mask\"\n\nconst DistortedText = styled.div`\n max-width: 990px;\n margin: 0 auto;\n position: relative;\n`\n\nconst Intro = () => (\n \n \n \n By 1979, we knew nearly everything we understand today about climate\n change—including how to stop it. Over the next decade, a handful of\n scientists, politicians, and strategists, led by two unlikely heroes,\n risked their careers in a desperate, escalating campaign to convince the\n world to act before it was too late. Losing Earth is their story, and\n ours.\n \n \n)\n\nexport default Intro\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport Link, {\n withPrefix,\n navigate,\n push,\n replace,\n navigateTo,\n parsePath,\n} from \"gatsby-link\"\nimport PageRenderer from \"./public-page-renderer\"\n\nconst StaticQueryContext = React.createContext({})\n\nconst StaticQuery = props => (\n \n {staticQueryData => {\n if (\n props.data ||\n (staticQueryData[props.query] && staticQueryData[props.query].data)\n ) {\n return (props.render || props.children)(\n props.data ? props.data.data : staticQueryData[props.query].data\n )\n } else {\n return
Loading (StaticQuery)
\n }\n }}\n
\n)\n\nconst useStaticQuery = query => {\n if (\n typeof React.useContext !== `function` &&\n process.env.NODE_ENV === `development`\n ) {\n throw new Error(\n `You're likely using a version of React that doesn't support Hooks\\n` +\n `Please update React and ReactDOM to 16.8.0 or later to use the useStaticQuery hook.`\n )\n }\n const context = React.useContext(StaticQueryContext)\n if (context[query] && context[query].data) {\n return context[query].data\n } else {\n throw new Error(\n `The result of this StaticQuery could not be fetched.\\n\\n` +\n `This is likely a bug in Gatsby and if refreshing the page does not fix it, ` +\n `please open an issue in https://github.com/gatsbyjs/gatsby/issues`\n )\n }\n}\n\nStaticQuery.propTypes = {\n data: PropTypes.object,\n query: PropTypes.string.isRequired,\n render: PropTypes.func,\n children: PropTypes.func,\n}\n\nfunction graphql() {\n throw new Error(\n `It appears like Gatsby is misconfigured. Gatsby related \\`graphql\\` calls ` +\n `are supposed to only be evaluated at compile time, and then compiled away,. ` +\n `Unfortunately, something went wrong and the query was left in the compiled code.\\n\\n.` +\n `Unless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.`\n )\n}\n\nexport {\n Link,\n withPrefix,\n graphql,\n parsePath,\n navigate,\n push, // TODO replace for v3\n replace, // TODO remove replace for v3\n navigateTo, // TODO: remove navigateTo for v3\n StaticQueryContext,\n StaticQuery,\n PageRenderer,\n useStaticQuery,\n}\n","import { Heading } from \"rebass\"\nimport styled from \"styled-components\"\n\nconst Title = styled(Heading)`\n line-height: 1;\n font-family: ${props => props.theme.fonts.heading};\n color: ${props => props.theme.colors.white};\n`\nexport default Title\n","import { Link } from \"rebass\"\nimport styled, { css } from \"styled-components\"\n\nconst UprightLink = styled(Link)`\n display: inline-block;\n color: ${props =>\n props.color ? props.theme.colors[props.color] : props.theme.colors.white};\n text-transform: uppercase;\n font-weight: 600;\n letter-spacing: 1.43px;\n text-decoration: none;\n ${props =>\n props.underline &&\n css`\n box-shadow: 0 6px 0 0 black,\n 0 9px 0 0 ${props => props.theme.colors.white};\n `}\n\n &:hover,\n &:focus {\n color: ${props =>\n props.noHover ? props.theme.colors.white : props.theme.colors.green};\n ${props =>\n props.underline &&\n css`\n box-shadow: 0 6px 0 0 black,\n 0 9px 0 0 ${props => props.theme.colors.green};\n `}\n }\n`\n\nexport default UprightLink\n","import React from \"react\"\nimport { Box, Flex } from \"rebass\"\nimport { StaticQuery, graphql } from \"gatsby\"\n\nimport Title from \"./title\"\nimport UprightLink from \"./upright-link\"\n\nconst PreorderBlock = ({ links }) => (\n \n \n Preorder\n \n \n \n {links.map(link => (\n \n \n {link.title}\n \n \n ))}\n \n \n \n)\n\nexport default () => (\n {\n return \n }}\n />\n)\n","import React from \"react\"\nimport AspectRatio from \"react-aspect-ratio\"\nimport LazyLoad from \"react-lazyload\"\n\nconst Video = () => (\n \n \n \n \n \n)\nexport default Video\n","import React from \"react\"\nimport { Box, Text, Button, Flex } from \"rebass\"\nimport styled, { css } from \"styled-components\"\nimport \"flickity/dist/flickity.min.css\"\nimport \"flickity-fade/flickity-fade.css\"\nimport LeftArrow from \"../images/icons/left-arrow.svg\"\nimport RightArrow from \"../images/icons/right-arrow.svg\"\n\nconst MobilePagination = styled(Flex)`\n display: flex;\n\n @media (min-width: ${props => props.theme.breakpoints[0]}) {\n display: none;\n }\n`\n\nconst DesktopPagination = styled(Box)`\n display: none;\n position: absolute;\n bottom: 0;\n top: 0;\n\n @media (min-width: ${props => props.theme.breakpoints[0]}) {\n display: flex;\n ${props =>\n props.left &&\n css`\n left: -70px;\n `}\n ${props =>\n props.right &&\n css`\n right: -70px;\n `}\n }\n @media (min-width: ${props => props.theme.breakpoints[1]}) {\n display: flex;\n ${props =>\n props.left &&\n css`\n left: -90px;\n `}\n ${props =>\n props.right &&\n css`\n right: -90px;\n `}\n }\n`\n\nconst PaginationButton = styled(Button)`\n background: transparent;\n color: ${props => props.theme.colors.white};\n\n &:focus {\n outline: 0;\n }\n\n &:hover,\n &:focus {\n color: ${props => props.theme.colors.green};\n }\n`\n\nconst Quote = styled(Text)`\n color: ${props => props.theme.colors.white};\n font-family: ${props => props.theme.fonts.serif};\n font-size: 20px;\n line-height: 1.45;\n`\n\nconst CitationAuthor = styled(Text)`\n text-transform: uppercase;\n letter-spacing: 1.5px;\n color: ${props => props.theme.colors.white};\n`\n\nconst CitationSecondary = styled(Text)`\n letter-spacing: 1.46px;\n text-transform: none;\n margin-top: 4px;\n em {\n font-style: italic;\n }\n`\n\nclass Slider extends React.PureComponent {\n constructor() {\n super()\n this.sliderRef = React.createRef()\n }\n\n state = {\n slider: null,\n }\n\n componentDidMount() {\n require(\"flickity-fade\")\n const Flickity = require(\"flickity\")\n const slider = new Flickity(this.sliderRef.current, {\n autoPlay: 5000,\n fade: true,\n pageDots: false,\n prevNextButtons: false,\n wrapAround: true,\n })\n setTimeout(() => {\n slider.resize()\n }, 100)\n this.setState({ slider })\n }\n\n handlePrevious = () => {\n this.state.slider.previous()\n }\n\n handleNext = () => {\n this.state.slider.next()\n }\n\n render() {\n return (\n \n \n \n \n \n \n \n \n \n “This deeply researched, deeply felt book is an essential addition\n to the canon of climate change literature. Others have documented\n where we are, and speculated about where we might be headed, but\n the story of how we got here is perhaps the most important one to\n be told, because it is both a cautionary tale and an unfinished\n one. Reading this book, I could not help but imagine my children\n one day reading a future edition, which will include the story of\n my generation's response to what we knew.”\n \n \n \n —Jonathan Safran Foer\n \n author of Extremely Loud and Incredibly Close\n \n \n \n \n \n \n “How to explain the mess we’re in? Nathaniel Rich recounts how a\n crucial decade was squandered. Losing Earth is an\n important contribution to the record of our heedless age.”\n \n \n \n —Elizabeth Kolbert\n \n author of The Sixth Extinction\n \n \n \n \n \n \n “Combining the dramatic immediacy of a police procedural with the\n urgency of prophecy, Nathaniel Rich's provocative book chronicles\n the failure of our scientific and political leaders to act to halt\n the climate apocalypse when they appeared on the verge of doing\n so, and casts the triumph of denial as the defining moral crisis\n for humankind.”\n \n \n \n —Philip Gourevitch\n \n author of \n \n We Wish to Inform You That Tomorrow We Will be Killed With\n Our Families\n \n \n \n \n \n \n \n “In this book, Nathaniel Rich demonstrates exquisitely how shallow\n debate of a deep problem—the planetary scale and civilizational\n consequences of climate change—exacerbates the problem. We are\n still a long way from thinking about climate change in the\n multi-century frame we need to deal with it realistically. Getting\n there will be a new skill for humanity, if we get there.”\n \n \n \n —Stewart Brand\n \n author of \n Whole Earth Discipline\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n }\n}\n\nexport default Slider\n","import React from \"react\"\nimport { Text, Box } from \"rebass\"\nimport styled from \"styled-components\"\n\nconst Wrap = styled(Box)`\n * + * {\n margin-top: 24px;\n }\n`\n\nconst Paragraph = styled(Text)`\n font-size: 16px;\n font-family: ${props => props.theme.fonts.serif};\n line-height: 1.45;\n`\n\nfunction LosingEarthExcerpt() {\n return (\n \n \n The American college students leading the movement to demand a Green New\n Deal—an omnibus piece of legislation not unlike those proposed by\n Timothy Wirth and Claudine Schneider in 1988 and Barack Obama in\n 2008—increasingly speak in the same register as the leaders of the\n sinking island nations. The hundreds of students who staged a sit-in at\n Nancy Pelosi’s office after the Democrats regained control of the House\n of Representatives in 2018, demanding comprehensive climate legislation,\n said things like: “We are angry at the cowardice of our leaders,” “We\n are standing for our future,” “Our lives are at stake.” We all live on\n islands; some just have longer coastlines than others.\n \n \n The inverted cruelties of climate change extend even to Earth’s\n wealthiest nations. In the longer term, though, we all become\n impoverished. Like the economic models that chart the depreciation of\n the GDP against sea level rise, beyond a certain threshold, the\n asymptote recoils violently to the axis. There is no escaping it once\n the pillars of society fall—not only the pillars of the global economy,\n like grain production and stable international relations, but the\n pillars of the human spirit. An underexamined worst-case scenario is the\n violence done to our belief in a shared humanity. The failure to act\n erodes our trust in human fellowship as it does our glaciers. After\n another generation or two of willful neglect, who will be able to take\n seriously the fundamental ideals—egalitarianism, fraternity,\n liberty—claimed as the basis for democracy?\n \n \n Our collective failure to respond to the crises heightened by rising\n temperatures, Pope Francis writes, “points to the loss of that sense of\n responsibility for our fellow men and women upon which all civil society\n is founded.” There can be no civil society without a stable climate.\n There can be no stable climate without a civil society. The fight to\n preserve one is the same as the fight to preserve the other. If a clod\n be washed away by the sea, all are diminished. There can be no future\n unless it is understood—if not by all, then at least by a safe majority\n of American voters—that our future will be commonly shared.\n \n \n ×\n \n \n Nearly every conversation that we have in 2019 about climate change was\n being held in 1979. That includes not only the predictions about degrees\n of warming, sea level rise, and geopolitical strife but also the\n speculations about geo-engineering technology, the appeals to help\n developing nations overcome starvation and disease without relying, as\n we did, on massive increases in coal consumption, and the cost-benefit\n analyses that always seem to favor inaction. Forty years ago, the\n political scientists, economists, social theorists, and philosophers who\n studied the slow-moving threat of climate change generally agreed that\n we could not be counted on to save ourselves. Their theories shared a\n common principle: that human beings, whether in international bodies,\n democracies, industries, political parties, or as individuals, are\n incapable of sacrificing present convenience to forestall a penalty\n imposed on future generations. If human beings really were able to take\n the long view—to consider seriously the course of human history decades\n or centuries after our deaths—we would be forced to grapple with the\n transience of all we know and love in the great sweep of time. So we\n have trained ourselves, whether culturally or evolutionarily, to obsess\n over the present, fret about the medium term, and cast the long term out\n of our minds, as we might spit out a poison. Adaptation to climate\n change, the philosopher Klaus Meyer-Abich observed in 1980, “seems to be\n the most rational political option.” It is the option that we have\n pursued, consciously or not, ever since.\n \n \n A major difference, four decades later, is that a solution is in hand;\n many solutions, in fact. They tend to involve some combination of carbon\n taxes, renewable energy investment, expansion of nuclear energy,\n reforestation, improved agricultural techniques, and, more\n speculatively, machines capable of sucking carbon out of the atmosphere.\n “From a technology and economics standpoint,” Jim Hansen told me, “it is\n still readily possible to stay under two degrees Celsius.” He has\n developed his own proposal, which runs a decade, arrests climate change,\n and saves trillions of dollars. William Nordhaus, upon winning the Nobel\n Prize in 2018, made the same point: “The problem is political, rather\n than one of economics or feasibility.” We can trust the technology and\n the economics. It’s harder to trust human behavior. “From the first time\n I got involved with the issue until now,” Al Gore told me, “the central\n problem has always been that the maximum considered politically feasible\n still falls short of the minimum required to be efficacious. Confronted\n with that gap, you have two options. One is to curl up into a fetal\n position and fall into despair. The other is to develop a strategy for\n expanding the limits of what is politically feasible.” The gap remains,\n but Gore thinks it is shrinking—he credits “dramatic changes in\n technological innovation and business philosophy”—and he believes,\n despite irreparable damage having already been done, that “we now really\n do have a chance to overtake the problem.” Nordhaus and Hansen are less\n optimistic. They doubt that we will keep warming below 2 degrees.\n \n \n When Rafe Pomerance feels despondent, he wears a bracelet that his\n granddaughter made for him, to remind him why he continues to fight. He\n has devised his own practical solution to climate change—not a\n technological solution but a political one. He argues that the critical\n legislative body for curtailing global emissions is the U.S. Congress.\n If it insists on major climate policy, he believes, the rest of the\n world will follow. How, then, to motivate congressional action? It is\n the problem he has been working on, more or less, since he met Gordon\n MacDonald in 1979. Pomerance is now a consultant for ReThink Energy\n Florida, which hopes to alert the state to the threat of rising seas.\n Republican congressmen in Florida have a healthier fear of climate\n change than their colleagues—a reasonable position in the state that, by\n a wide margin, is most imperiled by sea level rise. Pomerance believes\n that if he can persuade Florida Republicans to demand policy action,\n they can help turn the rest of their party.\n \n \n If the prospect of a wholesale political conversion seems delusional,\n consider that we have solved, or at least endeavored far more seriously\n to solve, major social crises before, some of them existential in\n nature. When popular movements have managed to transform public opinion\n in a brief amount of time, forcing the passage of major legislation,\n they have done so on the strength of a moral claim that persuades enough\n voters to see the issue in human, rather than political, terms. We do\n not hesitate to summon moral arguments in debates about racial\n injustice, nuclear proliferation, gun violence, immigration, same-sex\n marriage, or the accelerating rate of mechanization. Yet the public\n discussion of climate change rarely ventures beyond political, economic,\n and legal considerations. If we speak about climate as only a political\n issue, it will suffer the fate of all political issues. If we speak\n about climate as only an economic issue, it will suffer the fate of all\n moral crises subjected to cost-benefit analysis. The first requirement\n is to speak about the problem honestly: as a struggle for survival. This\n is the antithesis of the denialist approach. Once the stakes are\n precisely defined, the moral imperative is inescapable.\n \n \n The cost-benefit analysis is rapidly shifting; the distant perils of\n climate change are no longer very distant. Many now occur regularly,\n flagrantly. Each superstorm and superfire is a premonition of more\n terrifying convulsions to come. But disasters alone will not\n revolutionize public opinion in the remaining time allotted to us. It is\n not enough to appeal to narrow self-interest; narrow self-interest,\n after all, is how we got here. Tens of millions of Americans who have no\n reason to believe that flames will lick at their patio doors or that\n floodwaters will surge up their driveways must still be moved to demand\n a full transformation of our energy system, our economy, ourselves.\n \n \n The alternative is to wait for the suffering to become unbearable.\n Should we pursue the status quo for the next dozen years—the amount of\n time that the IPCC gives us to limit warming to 1.5 degrees—the fears of\n young people will continue to grow, in pace with the multiplying\n tragedies of a warming world. At some point, perhaps not very long from\n now, the fears of the young will overwhelm the fears of the old.\n Sometime later, the young will amass enough power to act. If we wait\n that long, there may be time yet to avoid the most apocalyptic\n scenarios, but little else.\n \n \n Everything is changing about the natural world and everything must\n change about the way we conduct our lives. It is easy to complain that\n the problem is too vast, and each of us is too small. But there is one\n thing that each of us can do ourselves, in our own homes, at our own\n pace—something easier than taking out the recycling or turning down the\n thermostat, and something more valuable. We can call the threats to our\n future what they are. We can call the villains villains, the heroes\n heroes, the victims victims, and ourselves complicit. We can realize\n that all this talk about the fate of Earth has nothing to do with the\n planet’s tolerance for higher temperatures and everything to do with our\n species’ tolerance for self-delusion. And we can understand that when we\n speak about things like fuel-efficiency standards or gasoline taxes or\n methane flaring, we are speaking about nothing less than all we love and\n all we are.\n \n \n )\n}\n\nexport default LosingEarthExcerpt\n","import { Button } from \"rebass\"\nimport styled from \"styled-components\"\n\nconst SiteButton = styled(Button)`\n background: ${props => props.theme.colors.white};\n text-transform: uppercase;\n font-weight: bold;\n color: ${props => props.theme.colors.black};\n border-radius: 0;\n letter-spacing: 1.43px;\n text-transform: uppercase;\n padding: 12px 64px;\n cursor: pointer;\n\n &:hover,\n &:focus {\n color: ${props => props.theme.colors.black};\n background: ${props => props.theme.colors.green};\n }\n`\nexport default SiteButton\n","import React, { useState } from \"react\"\nimport ReactModal from \"react-modal\"\nimport { Box, Button, Text } from \"rebass\"\nimport styled from \"styled-components\"\nimport LosingEarthExcerpt from \"./losing-earth-excerpt\"\nimport CloseIcon from \"../images/icons/close.svg\"\nimport SiteButton from \"./site-button\"\nimport DistortedMask from \"./distorted-mask\"\nReactModal.setAppElement(\"#___gatsby\")\n\nconst CloseButton = styled(Button)`\n background: transparent;\n border-radius: 0;\n color: ${props => props.theme.colors.black};\n\n &:focus {\n outline: 0;\n }\n\n svg {\n width: 30px;\n }\n`\n\nconst Wrap = styled(Box)`\n border-top: 1px solid ${props => props.theme.colors.white};\n border-bottom: 1px solid ${props => props.theme.colors.white};\n text-align: center;\n position: relative;\n`\n\nconst Excerpt = () => {\n const [modalOpen, setModalOpen] = useState(false)\n\n return (\n \n \n \n \n The American college students leading the movement to demand a Green\n New Deal—an omnibus piece of legislation not unlike those proposed by\n Timothy Wirth and Claudine Schneider in 1988 and Barack Obama in\n 2008—increasingly speak in the same register as the leaders of the\n sinking island nations. The hundreds of students who staged a sit-in\n at Nancy Pelosi’s office after the Democrats regained control of the\n House of Representatives in 2018, demanding comprehensive climate\n legislation, said things like…\n \n \n \n setModalOpen(true)}>Read More\n \n setModalOpen(false)}\n shouldCloseOnOverlayClick\n style={{\n overlay: {\n background: `rgba(93,180,56, .97)`,\n },\n content: {\n maxWidth: 600,\n maxHeight: 500,\n margin: \"auto\",\n },\n }}\n isOpen={modalOpen}\n >\n \n setModalOpen(false)}>\n \n \n \n \n \n \n )\n}\n\nexport default Excerpt\n","import * as Yup from \"yup\"\n\nconst schema = Yup.object().shape({\n firstName: Yup.string().required(\"Please enter your first name.\"),\n lastName: Yup.string().required(\"Please enter your last name.\"),\n email: Yup.string()\n .email(\"Please enter a valid email address\")\n .required(\"Please enter a valid email address\"),\n streetAddress: Yup.string().required(\"Please enter a street address\"),\n streetAddress2: Yup.string(),\n city: Yup.string().required(\"Please enter a city\"),\n state: Yup.string().required(\"Please enter a state\"),\n zip: Yup.string().required(\"Please enter a zip\"),\n})\n\nexport default schema\n","import styled from \"styled-components\"\n\nconst FormInput = styled.input`\n display: block;\n background: transparent;\n padding: ${props => props.theme.space[2]}px 0;\n font-family: ${props => props.theme.fonts.serif};\n font-size: ${props => props.theme.fontSizes[2]}px;\n border-left: 0;\n border-top: 0;\n border-right: 0;\n border: 1px bottom solid;\n border-radius: 0;\n border-color: ${props =>\n props.error ? props.theme.colors.red : props.theme.colors.white};\n transition: border 0.2s ease-out;\n color: ${props => props.theme.colors.white};\n width: 100%;\n\n &::placeholder {\n color: ${props => props.theme.colors.white};\n }\n\n &:focus {\n outline: 0;\n border-color: ${props => props.theme.colors.green};\n }\n @media (min-width: ${props => props.theme.breakpoints[0]}) {\n font-size: ${props => props.theme.fontSizes[3]}px;\n }\n`\nexport default FormInput\n","import { Text } from \"rebass\"\nimport styled from \"styled-components\"\n\nconst ErrorText = styled(Text)`\n color: ${props => props.theme.colors.red};\n font-size: ${props => props.theme.fontSizes[0]}px;\n`\n\nexport default ErrorText\n","import React, { useState } from \"react\"\nimport { Form, Formik, ErrorMessage } from \"formik\"\nimport { Box, Heading, Flex, Button } from \"rebass\"\nimport axios from \"axios\"\nimport ReactModal from \"react-modal\"\nimport styled from \"styled-components\"\n\nimport schema from \"../schema\"\nimport FormInput from \"./form-input\"\nimport ErrorText from \"./error-text\"\nimport SiteButton from \"./site-button\"\nimport CloseIcon from \"../images/icons/close.svg\"\nimport Title from \"./title\"\n\nconst CloseButton = styled(Button)`\n background: transparent;\n border-radius: 0;\n color: ${props => props.theme.colors.black};\n\n &:focus {\n outline: 0;\n }\n\n svg {\n width: 30px;\n }\n`\n\nconst formFields = {\n firstName: {\n type: \"text\",\n placeholder: \"First name\",\n },\n lastName: {\n type: \"text\",\n placeholder: \"Last name\",\n },\n email: {\n type: \"email\",\n placeholder: \"Email\",\n },\n streetAddress: {\n type: \"text\",\n placeholder: \"Street Address\",\n },\n streetAddress2: {\n type: \"text\",\n placeholder: \"Building, Suite, or Apt Number\",\n },\n city: {\n type: \"text\",\n placeholder: \"City\",\n },\n state: {\n type: \"text\",\n placeholder: \"State\",\n width: 1 / 2,\n },\n zip: {\n type: \"text\",\n placeholder: \"Zip Code\",\n width: 1 / 2,\n },\n}\n\nconst initialValues = Object.keys(formFields).reduce((acc, next) => {\n acc[next] = \"\"\n return acc\n}, {})\n\nconst EntryForm = () => {\n const [modalOpen, setModalOpen] = useState(false)\n const handleSubmit = async (body, actions) => {\n actions.setSubmitting(true)\n try {\n await axios.post(\"https://losingearth-api.herokuapp.com/submit\", body)\n setModalOpen(true)\n actions.resetForm()\n } catch (e) {\n alert(e.response.data)\n } finally {\n actions.setSubmitting(false)\n }\n }\n return (\n \n \n Enter to win <br />a copy of Losing Earth\n \n \n {({\n values,\n errors,\n touched,\n handleChange,\n handleBlur,\n handleSubmit,\n isSubmitting,\n setFieldValue,\n setFieldError,\n setFieldTouched,\n }) => {\n return (\n
\n \n {Object.keys(formFields).map(field => (\n \n \n \n \n ))}\n \n \n \n {isSubmitting ? \"Submitting\" : \"Enter Now\"}\n \n \n
\n )\n }}\n \n setModalOpen(false)}\n shouldCloseOnOverlayClick\n style={{\n overlay: { background: `rgba(93,180,56, .97)` },\n content: {\n background: \"transparent\",\n display: \"flex\",\n alignItems: \"center\",\n border: 0,\n height: \"100%\",\n textAlign: \"center\",\n },\n }}\n isOpen={modalOpen}\n >\n \n setModalOpen(false)}>\n \n \n
\n \n Thanks for entering to win!
\n We'll be in touch if you've been selected.\n
\n \n \n )\n}\n\nexport default EntryForm\n","import React from \"react\"\nimport { Flex, Box, Text, Image } from \"rebass\"\n\nimport UprightLink from \"./upright-link\"\nimport logo from \"../images/mcd-logo.svg\"\n\nconst Footer = () => (\n \n \n \n \n \n MCD × FSG\n \n \n \n \n Twitter\n \n \n Instagram\n \n \n Facebook\n \n \n Subscribe\n \n \n \n \n)\n\nexport default Footer\n","import React from \"react\"\nimport { Box, Text } from \"rebass\"\nimport { StaticQuery, graphql } from \"gatsby\"\nimport styled from \"styled-components\"\n\nimport Title from \"./title\"\nimport UprightLink from \"./upright-link\"\n\nconst Description = styled(Text)`\n color: ${props => props.theme.colors.white};\n font-family: ${props => props.theme.fonts.serif};\n font-size: 20px;\n line-height: 1.45;\n`\n\nconst Location = styled(Text)`\n color: ${props => props.theme.colors.white};\n text-transform: uppercase;\n font-weight: 600;\n letter-spacing: 1.43px;\n`\n\nfunction createMarkup(markup) {\n return { __html: markup }\n}\n\nconst TourDates = ({ dates }) => (\n \n \n Tour Dates\n \n \n {dates.map((date, index) => (\n \n \n {date.date} –{\" \"}\n {date.location.link ? (\n \n {date.location.name}\n \n ) : (\n date.location.name\n )}\n \n\n \n \n ))}\n \n \n)\n\nexport default () => (\n {\n return \n }}\n />\n)\n","import React from \"react\"\nimport { Box } from \"rebass\"\n\nimport Layout from \"../components/layout\"\nimport Container from \"../components/container\"\nimport Header from \"../components/header\"\nimport Hero from \"../components/hero\"\nimport Intro from \"../components/intro\"\nimport PreorderBlock from \"../components/preorder-block\"\nimport Video from \"../components/video\"\nimport Slider from \"../components/slider\"\nimport Excerpt from \"../components/excerpt\"\nimport EntryForm from \"../components/entry-form\"\nimport Footer from \"../components/footer\"\nimport TourDates from \"../components/tour-dates\"\n\nconst IndexPage = () => (\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n