-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---node-modules-gatsby-theme-blog-core-src-templates-post-query-js-49df349d5ef9e117bb4a.js.map
1 lines (1 loc) · 14.7 KB
/
component---node-modules-gatsby-theme-blog-core-src-templates-post-query-js-49df349d5ef9e117bb4a.js.map
1
{"version":3,"sources":["webpack:///./node_modules/gatsby-plugin-mdx/index.js","webpack:///./node_modules/@babel/runtime/helpers/nonIterableSpread.js","webpack:///./node_modules/@babel/runtime/helpers/iterableToArray.js","webpack:///./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","webpack:///./node_modules/@babel/runtime/helpers/toConsumableArray.js","webpack:///./node_modules/@babel/runtime/helpers/setPrototypeOf.js","webpack:///./node_modules/@babel/runtime/helpers/arrayLikeToArray.js","webpack:///./node_modules/gatsby-plugin-mdx/mdx-renderer.js","webpack:///./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","webpack:///./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","webpack:///./node_modules/@babel/runtime/helpers/construct.js","webpack:///./node_modules/gatsby-theme-blog/src/components/post-title.js","webpack:///./node_modules/gatsby-theme-blog/src/components/post-date.js","webpack:///./node_modules/gatsby-theme-blog/src/components/post-footer.js","webpack:///./node_modules/gatsby-theme-blog/src/components/post-hero.js","webpack:///./node_modules/gatsby-theme-blog/src/components/post.js","webpack:///./node_modules/gatsby-theme-blog/src/gatsby-theme-blog-core/components/post.js","webpack:///./node_modules/gatsby-theme-blog-core/src/templates/post-query.js"],"names":["MDXRenderer","require","module","exports","TypeError","iter","Symbol","iterator","Object","Array","from","arrayLikeToArray","arr","isArray","arrayWithoutHoles","iterableToArray","unsupportedIterableToArray","nonIterableSpread","_setPrototypeOf","o","p","setPrototypeOf","__proto__","len","length","i","arr2","React","useMDXComponents","mdx","useMDXScope","scope","components","children","props","mdxComponents","mdxScope","End","fullScope","keys","values","key","fn","minLen","n","prototype","toString","call","slice","constructor","name","test","Reflect","construct","sham","Proxy","Date","e","isNativeReflectConstruct","_construct","Parent","args","Class","a","push","apply","instance","Function","bind","arguments","PostTitle","h1","PostDate","sx","fontSize","mt","mb","PostFooter","previous","next","css","pt","hr","as","flexWrap","justifyContent","listStyle","padding","Link","to","slug","rel","title","PostHero","post","image","childImageSharp","fluid","alt","imageAlt","excerpt","Post","data","site","siteMetadata","location","description","imageSource","socialImage","src","date","body","PostWrapper","blogPost","query","PostPage"],"mappings":"gFAMA,IAAMA,EAAcC,EAApB,QAEAC,UAAiB,CACfF,YAAaA,I,mBCLfE,EAAOC,QAJP,WACE,MAAM,IAAIC,UAAU,0I,mBCGtBF,EAAOC,QAJP,SAA0BE,GACxB,GAAsB,oBAAXC,QAA0BA,OAAOC,YAAYC,OAAOH,GAAO,OAAOI,MAAMC,KAAKL,K,qBCD1F,IAAIM,EAAmB,EAAQ,QAM/BT,EAAOC,QAJP,SAA4BS,GAC1B,GAAIH,MAAMI,QAAQD,GAAM,OAAOD,EAAiBC,K,qBCHlD,IAAIE,EAAoB,EAAQ,QAE5BC,EAAkB,EAAQ,QAE1BC,EAA6B,EAAQ,QAErCC,EAAoB,EAAQ,QAMhCf,EAAOC,QAJP,SAA4BS,GAC1B,OAAOE,EAAkBF,IAAQG,EAAgBH,IAAQI,EAA2BJ,IAAQK,M,mBCT9F,SAASC,EAAgBC,EAAGC,GAM1B,OALAlB,EAAOC,QAAUe,EAAkBV,OAAOa,gBAAkB,SAAyBF,EAAGC,GAEtF,OADAD,EAAEG,UAAYF,EACPD,GAGFD,EAAgBC,EAAGC,GAG5BlB,EAAOC,QAAUe,G,mBCCjBhB,EAAOC,QAVP,SAA2BS,EAAKW,IACnB,MAAPA,GAAeA,EAAMX,EAAIY,UAAQD,EAAMX,EAAIY,QAE/C,IAAK,IAAIC,EAAI,EAAGC,EAAO,IAAIjB,MAAMc,GAAME,EAAIF,EAAKE,IAC9CC,EAAKD,GAAKb,EAAIa,GAGhB,OAAOC,I,woBCPT,IAAMC,EAAQ1B,EAAd,Q,EACkCA,E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,GAAD,gBACXC,KACER,EAFS,EAETA,KAEkBF,EAJT,EAGTW,KACEC,aAAgBZ,MAGpBa,EAPW,EAOXA,SACA3B,EARW,EAQXA,SACAC,EATW,EASXA,KATW,OAWX,YAAC,IAAD,CAAQ0B,SAAUA,EAAUb,MAAOA,GACjC,YAAC,IAAD,CACEA,MAAOE,EAAKF,MACZc,YAAaZ,EAAKM,QAClBO,YACEb,EAAKc,YAAL,UACId,EAAKc,mBADT,iBACI,EAAkBZ,uBADtB,aACI,EAAmCC,MAAMY,IAD7C,UAEIf,EAAKC,aAFT,iBAEI,EAAYC,uBAFhB,aAEI,EAA6BC,MAAMY,IAEzCV,SAAUL,EAAKK,WAEjB,wBACE,2BACE,0BACE,YAAC,EAAD,CAAUL,KAAMA,IAChB,YAAC,EAAD,KAAYA,EAAKF,OACjB,YAAC,EAAD,KAAWE,EAAKgB,OAElB,2BACE,YAAC,cAAD,KAAchB,EAAKiB,SAIzB,YAAC,EAAe,CAAEjC,WAAUC,W,ykBC1ChC,IAaeiC,EAbK,SAAC,GAAwB,IAAtBP,EAAqB,EAArBA,SAAUH,EAAW,EAAXA,KACvBW,EAA6BX,EAA7BW,SAAUnC,EAAmBwB,EAAnBxB,SAAUC,EAASuB,EAATvB,KAE5B,OACE,YAAC,EAAD,CACEuB,KAAI,OAAOA,GAAP,IAAaR,KAAMmB,IACvBR,SAAUA,EACV3B,SAAUA,EACVC,KAAMA,KCNCmC,GAFEC,YAEG","file":"component---node-modules-gatsby-theme-blog-core-src-templates-post-query-js-49df349d5ef9e117bb4a.js","sourcesContent":["/**\n * Welcome to gatsby-plugin-mdx!\n *\n * Start reading in gatsby-node.js\n */\n\nconst MDXRenderer = require(`./mdx-renderer`)\n\nmodule.exports = {\n MDXRenderer: MDXRenderer,\n}\n","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableSpread;","function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n}\n\nmodule.exports = _iterableToArray;","var arrayLikeToArray = require(\"./arrayLikeToArray\");\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}\n\nmodule.exports = _arrayWithoutHoles;","var arrayWithoutHoles = require(\"./arrayWithoutHoles\");\n\nvar iterableToArray = require(\"./iterableToArray\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray\");\n\nvar nonIterableSpread = require(\"./nonIterableSpread\");\n\nfunction _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}\n\nmodule.exports = _toConsumableArray;","function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nmodule.exports = _setPrototypeOf;","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nmodule.exports = _arrayLikeToArray;","const React = require(`react`)\nconst { useMDXComponents, mdx } = require(`@mdx-js/react`)\nconst { useMDXScope } = require(`./context`)\n\nmodule.exports = function MDXRenderer({\n scope,\n components,\n children,\n ...props\n}) {\n const mdxComponents = useMDXComponents(components)\n const mdxScope = useMDXScope(scope)\n\n // Memoize the compiled component\n const End = React.useMemo(() => {\n if (!children) {\n return null\n }\n\n const fullScope = {\n // React is here just in case the user doesn't pass them in\n // in a manual usage of the renderer\n React,\n mdx,\n ...mdxScope,\n }\n\n const keys = Object.keys(fullScope)\n const values = keys.map(key => fullScope[key])\n const fn = new Function(`_fn`, ...keys, `${children}`)\n\n return fn({}, ...values)\n }, [children, scope])\n\n return React.createElement(End, { components: mdxComponents, ...props })\n}\n","var arrayLikeToArray = require(\"./arrayLikeToArray\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\n\nmodule.exports = _unsupportedIterableToArray;","function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nmodule.exports = _isNativeReflectConstruct;","var setPrototypeOf = require(\"./setPrototypeOf\");\n\nvar isNativeReflectConstruct = require(\"./isNativeReflectConstruct\");\n\nfunction _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n module.exports = _construct = Reflect.construct;\n } else {\n module.exports = _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n\n return _construct.apply(null, arguments);\n}\n\nmodule.exports = _construct;","import React from \"react\"\nimport { Styled } from \"theme-ui\"\n\nconst PostTitle = (props) => <Styled.h1 {...props} />\n\nexport default PostTitle\n","/** @jsx jsx */\nimport { Styled, jsx } from \"theme-ui\"\n\nconst PostDate = (props) => (\n <Styled.p\n sx={{\n fontSize: 1,\n mt: -3,\n mb: 3,\n }}\n {...props}\n />\n)\n\nexport default PostDate\n","import React from \"react\"\nimport { Link } from \"gatsby\"\nimport { css, Styled, Flex } from \"theme-ui\"\n\nimport Bio from \"../components/bio\"\n\nconst PostFooter = ({ previous, next }) => (\n <footer\n css={css({\n mt: 4,\n pt: 3,\n })}\n >\n <Styled.hr />\n <Bio />\n {(previous || next) && (\n <Flex\n as=\"ul\"\n css={css({\n flexWrap: `wrap`,\n justifyContent: `space-between`,\n listStyle: `none`,\n padding: 0,\n })}\n >\n <li>\n {previous && (\n <Styled.a as={Link} to={previous.slug} rel=\"prev\">\n ← {previous.title}\n </Styled.a>\n )}\n </li>\n <li>\n {next && (\n <Styled.a as={Link} to={next.slug} rel=\"next\">\n {next.title} →\n </Styled.a>\n )}\n </li>\n </Flex>\n )}\n </footer>\n)\n\nexport default PostFooter\n","import React from \"react\"\nimport Image from \"gatsby-image\"\n\nconst PostHero = ({ post }) => (\n <>\n {post?.image?.childImageSharp && (\n <Image\n fluid={post.image.childImageSharp.fluid}\n alt={post.imageAlt ? post.imageAlt : post.excerpt}\n />\n )}\n </>\n)\n\nexport default PostHero\n","import React from \"react\"\n\nimport { MDXRenderer } from \"gatsby-plugin-mdx\"\n\nimport Layout from \"./layout\"\nimport SEO from \"./seo\"\nimport PostTitle from \"./post-title\"\nimport PostDate from \"./post-date\"\nimport PostFooter from \"./post-footer\"\nimport PostHero from \"./post-hero\"\n\nconst Post = ({\n data: {\n post,\n site: {\n siteMetadata: { title },\n },\n },\n location,\n previous,\n next,\n}) => (\n <Layout location={location} title={title}>\n <SEO\n title={post.title}\n description={post.excerpt}\n imageSource={\n post.socialImage\n ? post.socialImage?.childImageSharp?.fluid.src\n : post.image?.childImageSharp?.fluid.src\n }\n imageAlt={post.imageAlt}\n />\n <main>\n <article>\n <header>\n <PostHero post={post} />\n <PostTitle>{post.title}</PostTitle>\n <PostDate>{post.date}</PostDate>\n </header>\n <section>\n <MDXRenderer>{post.body}</MDXRenderer>\n </section>\n </article>\n </main>\n <PostFooter {...{ previous, next }} />\n </Layout>\n)\n\nexport default Post\n","import React from \"react\"\nimport Post from \"../../components/post\"\n\nconst PostWrapper = ({ location, data }) => {\n const { blogPost, previous, next } = data\n\n return (\n <Post\n data={{ ...data, post: blogPost }}\n location={location}\n previous={previous}\n next={next}\n />\n )\n}\n\nexport default PostWrapper\n","import { graphql } from \"gatsby\"\nimport PostPage from \"../components/post\"\n\nexport default PostPage\n\nexport const query = graphql`\n query PostPageQuery(\n $id: String!\n $previousId: String\n $nextId: String\n $maxWidth: Int\n ) {\n site {\n siteMetadata {\n title\n social {\n name\n url\n }\n }\n }\n blogPost(id: { eq: $id }) {\n id\n excerpt\n body\n slug\n title\n tags\n date(formatString: \"MMMM DD, YYYY\")\n image {\n childImageSharp {\n fluid(maxWidth: $maxWidth) {\n ...GatsbyImageSharpFluid\n src\n }\n }\n }\n imageAlt\n socialImage {\n childImageSharp {\n fluid {\n ...GatsbyImageSharpFluid\n src\n }\n }\n }\n }\n previous: blogPost(id: { eq: $previousId }) {\n id\n excerpt\n slug\n title\n date(formatString: \"MMMM DD, YYYY\")\n }\n next: blogPost(id: { eq: $nextId }) {\n id\n excerpt\n slug\n title\n date(formatString: \"MMMM DD, YYYY\")\n }\n }\n`\n"],"sourceRoot":""}