You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
53 KiB
1 lines
53 KiB
{"version":3,"sources":["webpack:///./node_modules/semantic-ui-react/dist/es/views/Item/ItemHeader.js","webpack:///./node_modules/semantic-ui-react/dist/es/views/Item/ItemDescription.js","webpack:///./node_modules/semantic-ui-react/dist/es/views/Item/ItemExtra.js","webpack:///./node_modules/semantic-ui-react/dist/es/views/Item/ItemMeta.js","webpack:///./node_modules/semantic-ui-react/dist/es/views/Item/ItemContent.js","webpack:///./node_modules/semantic-ui-react/dist/es/views/Item/ItemGroup.js","webpack:///./node_modules/semantic-ui-react/dist/es/views/Item/ItemImage.js","webpack:///./node_modules/semantic-ui-react/dist/es/views/Item/Item.js","webpack:///./src/templates/blog-post.tsx","webpack:///./src/components/BlogTitle.tsx","webpack:///./node_modules/disqus-react/lib/utils.js","webpack:///./node_modules/disqus-react/lib/index.js","webpack:///./node_modules/disqus-react/lib/CommentCount.js","webpack:///./node_modules/disqus-react/lib/CommentEmbed.js","webpack:///./node_modules/disqus-react/lib/DiscussionEmbed.js","webpack:///./node_modules/@babel/runtime/helpers/objectWithoutProperties.js"],"names":["ItemHeader","props","children","className","content","classes","classnames_default","rest","Object","getUnhandledProps","ElementType","getElementType","react_default","a","createElement","extends_default","lib","isNil","handledProps","propTypes","create","factories","Item_ItemHeader","ItemDescription","Item_ItemDescription","ItemExtra","Item_ItemExtra","ItemMeta","Item_ItemMeta","ItemContent","description","extra","header","meta","verticalAlign","classNameBuilders","autoGenerateKey","Item_ItemContent","ItemGroup","divided","items","link","relaxed","unstackable","itemsJSX","map_default","item","childKey","itemProps","objectWithoutProperties_default","finalKey","join","Item_Item","key","Item_ItemGroup","ItemImage","size","Image","ui","wrapped","src","Item_ItemImage","Item","image","Content","Description","Extra","Group","Header","Meta","__webpack_exports__","withLayout","_props$data$post","data","post","frontmatter","html","timeToRead","avatar","author","tags","map","tag","react","Label","gatsby_browser_entry","to","recents","edges","_ref","node","recentAvatar","recentCover","get","Comment","Avatar","fixed","srcSet","Author","style","fontWeight","id","Metadata","margin","fields","slug","paddingBottom","Card","as","Link","title","cover","Container","BlogTitle","Segment","vertical","border","circular","bio","updatedDate","assign","fluid","dangerouslySetInnerHTML","__html","site","siteMetadata","disqus","disqus_react_lib","shortname","config","Grid","padded","centered","pageQuery","react__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_1__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_2__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_3__","name","Subheader","defineProperty","exports","value","insertScript","parentElement","script","window","document","async","appendChild","removeScript","getElementById","removeChild","debounce","func","wait","runOnFirstCall","timeout","context","this","args","arguments","callNow","clearTimeout","setTimeout","apply","DiscussionEmbed","CommentEmbed","CommentCount","undefined","_CommentCount","_CommentEmbed","_DiscussionEmbed","Disqus","default","obj","_createClass","defineProperties","target","i","length","descriptor","enumerable","configurable","writable","Constructor","protoProps","staticProps","prototype","_react","_react2","__esModule","_utils","queueResetCount","DISQUSWIDGETS","getCount","reset","_React$Component","instance","TypeError","_classCallCheck","self","call","ReferenceError","_possibleConstructorReturn","__proto__","getPrototypeOf","subClass","superClass","constructor","setPrototypeOf","_inherits","Component","loadInstance","nextProps","nextConfig","url","identifier","cleanInstance","doc","body","data-disqus-identifier","data-disqus-url","Number","commentId","toString","showParentComment","showMedia","getSrc","width","height","seamless","scrolling","frameBorder","defaultProps","disqus_shortname","DISQUS","reload","getDisqusConfig","disqus_config","error","disqusThread","hasChildNodes","firstChild","page","callbacks","onNewComment","objectWithoutPropertiesLoose","module","source","excluded","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable"],"mappings":"8RASA,SAAAA,EAAAC,GACA,IAAAC,EAAAD,EAAAC,SACAC,EAAAF,EAAAE,UACAC,EAAAH,EAAAG,QACAC,EAAgBC,IAAE,SAAAH,GAClBI,EAAaC,OAAAC,EAAA,EAAAD,CA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EAAA9H,GAAAqM,EAAArM,IAIA,OAAA8H","file":"component---src-templates-blog-post-tsx-1e2214e77535de847c9f.js","sourcesContent":["import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\n/**\n * An item can contain a header.\n */\n\nfunction ItemHeader(props) {\n var children = props.children,\n className = props.className,\n content = props.content;\n var classes = cx('header', className);\n var rest = getUnhandledProps(ItemHeader, props);\n var ElementType = getElementType(ItemHeader, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\n\nItemHeader.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nItemHeader.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n\n /** Primary content. */\n children: PropTypes.node,\n\n /** Additional classes. */\n className: PropTypes.string,\n\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand\n} : {};\nItemHeader.create = createShorthandFactory(ItemHeader, function (content) {\n return {\n content: content\n };\n});\nexport default ItemHeader;","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\n/**\n * An item can contain a description with a single or multiple paragraphs.\n */\n\nfunction ItemDescription(props) {\n var children = props.children,\n className = props.className,\n content = props.content;\n var classes = cx('description', className);\n var rest = getUnhandledProps(ItemDescription, props);\n var ElementType = getElementType(ItemDescription, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\n\nItemDescription.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nItemDescription.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n\n /** Primary content. */\n children: PropTypes.node,\n\n /** Additional classes. */\n className: PropTypes.string,\n\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand\n} : {};\nItemDescription.create = createShorthandFactory(ItemDescription, function (content) {\n return {\n content: content\n };\n});\nexport default ItemDescription;","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\n/**\n * An item can contain extra content meant to be formatted separately from the main content.\n */\n\nfunction ItemExtra(props) {\n var children = props.children,\n className = props.className,\n content = props.content;\n var classes = cx('extra', className);\n var rest = getUnhandledProps(ItemExtra, props);\n var ElementType = getElementType(ItemExtra, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\n\nItemExtra.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nItemExtra.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n\n /** Primary content. */\n children: PropTypes.node,\n\n /** Additional classes. */\n className: PropTypes.string,\n\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand\n} : {};\nItemExtra.create = createShorthandFactory(ItemExtra, function (content) {\n return {\n content: content\n };\n});\nexport default ItemExtra;","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\n/**\n * An item can contain content metadata.\n */\n\nfunction ItemMeta(props) {\n var children = props.children,\n className = props.className,\n content = props.content;\n var classes = cx('meta', className);\n var rest = getUnhandledProps(ItemMeta, props);\n var ElementType = getElementType(ItemMeta, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\n\nItemMeta.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nItemMeta.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n\n /** Primary content. */\n children: PropTypes.node,\n\n /** Additional classes. */\n className: PropTypes.string,\n\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand\n} : {};\nItemMeta.create = createShorthandFactory(ItemMeta, function (content) {\n return {\n content: content\n };\n});\nexport default ItemMeta;","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, SUI, useVerticalAlignProp } from '../../lib';\nimport ItemHeader from './ItemHeader';\nimport ItemDescription from './ItemDescription';\nimport ItemExtra from './ItemExtra';\nimport ItemMeta from './ItemMeta';\n/**\n * An item can contain content.\n */\n\nfunction ItemContent(props) {\n var children = props.children,\n className = props.className,\n content = props.content,\n description = props.description,\n extra = props.extra,\n header = props.header,\n meta = props.meta,\n verticalAlign = props.verticalAlign;\n var classes = cx(useVerticalAlignProp(verticalAlign), 'content', className);\n var rest = getUnhandledProps(ItemContent, props);\n var ElementType = getElementType(ItemContent, props);\n\n if (!childrenUtils.isNil(children)) {\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), children);\n }\n\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), ItemHeader.create(header, {\n autoGenerateKey: false\n }), ItemMeta.create(meta, {\n autoGenerateKey: false\n }), ItemDescription.create(description, {\n autoGenerateKey: false\n }), ItemExtra.create(extra, {\n autoGenerateKey: false\n }), content);\n}\n\nItemContent.handledProps = [\"as\", \"children\", \"className\", \"content\", \"description\", \"extra\", \"header\", \"meta\", \"verticalAlign\"];\nItemContent.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n\n /** Primary content. */\n children: PropTypes.node,\n\n /** Additional classes. */\n className: PropTypes.string,\n\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n\n /** Shorthand for ItemDescription component. */\n description: customPropTypes.itemShorthand,\n\n /** Shorthand for ItemExtra component. */\n extra: customPropTypes.itemShorthand,\n\n /** Shorthand for ItemHeader component. */\n header: customPropTypes.itemShorthand,\n\n /** Shorthand for ItemMeta component. */\n meta: customPropTypes.itemShorthand,\n\n /** Content can specify its vertical alignment. */\n verticalAlign: PropTypes.oneOf(SUI.VERTICAL_ALIGNMENTS)\n} : {};\nexport default ItemContent;","import _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _map from \"lodash/map\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, useKeyOnly, useKeyOrValueAndKey } from '../../lib';\nimport Item from './Item';\n/**\n * A group of items.\n */\n\nfunction ItemGroup(props) {\n var children = props.children,\n className = props.className,\n content = props.content,\n divided = props.divided,\n items = props.items,\n link = props.link,\n relaxed = props.relaxed,\n unstackable = props.unstackable;\n var classes = cx('ui', useKeyOnly(divided, 'divided'), useKeyOnly(link, 'link'), useKeyOnly(unstackable, 'unstackable'), useKeyOrValueAndKey(relaxed, 'relaxed'), 'items', className);\n var rest = getUnhandledProps(ItemGroup, props);\n var ElementType = getElementType(ItemGroup, props);\n\n if (!childrenUtils.isNil(children)) {\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), children);\n }\n\n if (!childrenUtils.isNil(content)) {\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), content);\n }\n\n var itemsJSX = _map(items, function (item) {\n var childKey = item.childKey,\n itemProps = _objectWithoutProperties(item, [\"childKey\"]);\n\n var finalKey = childKey || [itemProps.content, itemProps.description, itemProps.header, itemProps.meta].join('-');\n return React.createElement(Item, _extends({}, itemProps, {\n key: finalKey\n }));\n });\n\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), itemsJSX);\n}\n\nItemGroup.handledProps = [\"as\", \"children\", \"className\", \"content\", \"divided\", \"items\", \"link\", \"relaxed\", \"unstackable\"];\nItemGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n\n /** Primary content. */\n children: PropTypes.node,\n\n /** Additional classes. */\n className: PropTypes.string,\n\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n\n /** Items can be divided to better distinguish between grouped content. */\n divided: PropTypes.bool,\n\n /** Shorthand array of props for Item. */\n items: customPropTypes.collectionShorthand,\n\n /** An item can be formatted so that the entire contents link to another page. */\n link: PropTypes.bool,\n\n /** A group of items can relax its padding to provide more negative space. */\n relaxed: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['very'])]),\n\n /** Prevent items from stacking on mobile. */\n unstackable: PropTypes.bool\n} : {};\nexport default ItemGroup;","import _extends from \"@babel/runtime/helpers/extends\";\nimport React from 'react';\nimport { createShorthandFactory, getUnhandledProps } from '../../lib';\nimport Image from '../../elements/Image';\n/**\n * An item can contain an image.\n */\n\nfunction ItemImage(props) {\n var size = props.size;\n var rest = getUnhandledProps(ItemImage, props);\n return React.createElement(Image, _extends({}, rest, {\n size: size,\n ui: !!size,\n wrapped: true\n }));\n}\n\nItemImage.handledProps = [\"size\"];\nItemImage.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An image may appear at different sizes. */\n size: Image.propTypes.size\n} : {};\nItemImage.create = createShorthandFactory(ItemImage, function (src) {\n return {\n src: src\n };\n});\nexport default ItemImage;","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\nimport ItemContent from './ItemContent';\nimport ItemDescription from './ItemDescription';\nimport ItemExtra from './ItemExtra';\nimport ItemGroup from './ItemGroup';\nimport ItemHeader from './ItemHeader';\nimport ItemImage from './ItemImage';\nimport ItemMeta from './ItemMeta';\n/**\n * An item view presents large collections of site content for display.\n */\n\nfunction Item(props) {\n var children = props.children,\n className = props.className,\n content = props.content,\n description = props.description,\n extra = props.extra,\n header = props.header,\n image = props.image,\n meta = props.meta;\n var classes = cx('item', className);\n var rest = getUnhandledProps(Item, props);\n var ElementType = getElementType(Item, props);\n\n if (!childrenUtils.isNil(children)) {\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), children);\n }\n\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), ItemImage.create(image, {\n autoGenerateKey: false\n }), React.createElement(ItemContent, {\n content: content,\n description: description,\n extra: extra,\n header: header,\n meta: meta\n }));\n}\n\nItem.handledProps = [\"as\", \"children\", \"className\", \"content\", \"description\", \"extra\", \"header\", \"image\", \"meta\"];\nItem.Content = ItemContent;\nItem.Description = ItemDescription;\nItem.Extra = ItemExtra;\nItem.Group = ItemGroup;\nItem.Header = ItemHeader;\nItem.Image = ItemImage;\nItem.Meta = ItemMeta;\nItem.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n\n /** Primary content. */\n children: PropTypes.node,\n\n /** Additional classes. */\n className: PropTypes.string,\n\n /** Shorthand for ItemContent component. */\n content: customPropTypes.contentShorthand,\n\n /** Shorthand for ItemDescription component. */\n description: customPropTypes.itemShorthand,\n\n /** Shorthand for ItemExtra component. */\n extra: customPropTypes.itemShorthand,\n\n /** Shorthand for ItemHeader component. */\n header: customPropTypes.itemShorthand,\n\n /** Shorthand for ItemImage component. */\n image: customPropTypes.itemShorthand,\n\n /** Shorthand for ItemMeta component. */\n meta: customPropTypes.itemShorthand\n} : {};\nexport default Item;","import * as React from \"react\";\nimport { Link } from \"gatsby\";\nimport { get } from \"lodash\";\nimport { Header, Container, Segment, Icon, Label, Button, Grid, Card, Image, Item, Comment } from \"semantic-ui-react\";\nimport { MarkdownRemark, ImageSharp, MarkdownRemarkConnection, Site } from \"../graphql-types\";\nimport BlogTitle from \"../components/BlogTitle\";\nimport { DiscussionEmbed } from \"disqus-react\";\nimport {withLayout, LayoutProps} from \"../components/Layout\";\nimport { graphql } from \"gatsby\";\n\ninterface BlogPostProps extends LayoutProps {\n data: {\n post: MarkdownRemark;\n recents: MarkdownRemarkConnection;\n site: Site\n };\n}\n\nconst BlogPostPage = (props: BlogPostProps) => {\n const { frontmatter, html, timeToRead } = props.data.post;\n const avatar = frontmatter.author.avatar.children[0] as ImageSharp;\n\n const tags = props.data.post.frontmatter.tags\n .map((tag) => <Label key={tag}><Link to={`/blog/tags/${tag}/`}>{tag}</Link></Label>);\n\n const recents = props.data.recents.edges\n .map(({ node }) => {\n const recentAvatar = node.frontmatter.author.avatar.children[0] as ImageSharp;\n const recentCover = get(node, \"frontmatter.image.children.0.fixed\", {});\n const extra = (\n <Comment.Group>\n <Comment>\n <Comment.Avatar\n src={recentAvatar.fixed.src}\n srcSet={recentAvatar.fixed.srcSet}\n />\n <Comment.Content>\n <Comment.Author style={{ fontWeight: 400 }}>\n {node.frontmatter.author.id}\n </Comment.Author>\n <Comment.Metadata style={{ margin: 0 }}>\n {node.timeToRead} min read\n </Comment.Metadata>\n </Comment.Content>\n </Comment>\n </Comment.Group>\n );\n\n return (\n <div key={node.fields.slug} style={{ paddingBottom: \"1em\" }}>\n <Card as={Link}\n to={node.fields.slug}\n image={recentCover}\n header={node.frontmatter.title}\n extra={extra}\n />\n </div>\n );\n });\n\n const cover = get(frontmatter, \"image.children.0.fixed\", {} );\n return (\n <Container>\n <BlogTitle />\n <Segment vertical style={{ border: \"none\" }}>\n <Item.Group>\n <Item>\n <Item.Image size=\"tiny\"\n src={avatar.fixed.src}\n srcSet={avatar.fixed.srcSet}\n circular\n />\n <Item.Content>\n <Item.Description>{frontmatter.author.id}</Item.Description>\n <Item.Meta>{frontmatter.author.bio}</Item.Meta>\n <Item.Extra>{frontmatter.updatedDate} - {timeToRead} min read</Item.Extra>\n </Item.Content>\n </Item>\n </Item.Group>\n <Header as=\"h1\">{frontmatter.title}</Header>\n </Segment>\n <Image\n {...cover}\n fluid\n /> \n <Segment vertical\n style={{ border: \"none\" }}\n dangerouslySetInnerHTML={{\n __html: html,\n }}\n />\n <Segment vertical>\n {tags}\n </Segment>\n {props.data.site\n && props.data.site.siteMetadata\n && props.data.site.siteMetadata.disqus\n && <Segment vertical>\n <DiscussionEmbed shortname={props.data.site.siteMetadata.disqus} config={{}}/>\n </Segment>\n }\n <Segment vertical>\n <Grid padded centered>\n {recents}\n </Grid>\n </Segment>\n </Container>\n );\n};\n\nexport default withLayout(BlogPostPage);\n\nexport const pageQuery = graphql`\n query TemplateBlogPost($slug: String!) {\n site: site {\n siteMetadata {\n disqus\n }\n }\n post: markdownRemark(fields: {slug: {eq: $slug}}) {\n html\n excerpt\n timeToRead\n fields {\n slug\n }\n frontmatter {\n tags\n author {\n id\n bio\n twitter\n avatar {\n children {\n ... on ImageSharp {\n fixed(width: 80, height: 80, quality: 100) {\n src\n srcSet\n }\n }\n }\n }\n }\n title\n updatedDate(formatString: \"MMM D, YYYY\")\n image {\n children {\n ... on ImageSharp {\n fixed(width: 900, height: 300, quality: 100) {\n src\n srcSet\n }\n }\n }\n }\n }\n }\n recents: allMarkdownRemark(\n filter: {\n fields: {slug: {ne: $slug}}\n frontmatter: {draft: {ne: true}},\n fileAbsolutePath: {regex: \"/blog/\"},\n },\n sort: {order: DESC, fields: [frontmatter___updatedDate]},\n limit: 4\n ) {\n edges {\n node {\n fields {\n slug\n }\n timeToRead\n frontmatter {\n title\n image {\n children {\n ... on ImageSharp {\n fixed(width: 300, height: 100) {\n src\n srcSet\n }\n }\n }\n }\n author {\n id\n avatar {\n children {\n ... on ImageSharp {\n fixed(width: 36, height: 36) {\n src\n srcSet\n }\n }\n }\n }\n }\n }\n }\n }\n }\n}\n`;\n","import * as React from \"react\";\nimport { Header, Segment, Icon } from \"semantic-ui-react\";\n\nexport default () => {\n return (\n <Segment vertical>\n <Header as=\"h2\">\n <Icon name=\"newspaper\" />\n <Header.Content>\n Blog\n <Header.Subheader>\n All about this starter kit\n </Header.Subheader>\n </Header.Content>\n </Header>\n </Segment>\n );\n};\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.insertScript = insertScript;\nexports.removeScript = removeScript;\nexports.debounce = debounce;\nfunction insertScript(src, id, parentElement) {\n var script = window.document.createElement('script');\n script.async = true;\n script.src = src;\n script.id = id;\n parentElement.appendChild(script);\n\n return script;\n}\n\nfunction removeScript(id, parentElement) {\n var script = window.document.getElementById(id);\n if (script) parentElement.removeChild(script);\n}\n\nfunction debounce(func, wait, runOnFirstCall) {\n var timeout = void 0;\n return function () {\n var context = this; // eslint-disable-line consistent-this\n var args = arguments;\n\n var deferredExecution = function deferredExecution() {\n timeout = null;\n if (!runOnFirstCall) func.apply(context, args);\n };\n\n var callNow = runOnFirstCall && !timeout;\n\n window.clearTimeout(timeout);\n timeout = setTimeout(deferredExecution, wait);\n\n if (callNow) func.apply(context, args);\n };\n}","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.DiscussionEmbed = exports.CommentEmbed = exports.CommentCount = undefined;\n\nvar _CommentCount = require('./CommentCount');\n\nvar _CommentEmbed = require('./CommentEmbed');\n\nvar _DiscussionEmbed = require('./DiscussionEmbed');\n\nexports.CommentCount = _CommentCount.CommentCount;\nexports.CommentEmbed = _CommentEmbed.CommentEmbed;\nexports.DiscussionEmbed = _DiscussionEmbed.DiscussionEmbed;\n\n\nvar Disqus = {\n CommentCount: _CommentCount.CommentCount,\n CommentEmbed: _CommentEmbed.CommentEmbed,\n DiscussionEmbed: _DiscussionEmbed.DiscussionEmbed\n};\n\nexports.default = Disqus;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CommentCount = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _utils = require('./utils');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar queueResetCount = (0, _utils.debounce)(function () {\n if (window.DISQUSWIDGETS) window.DISQUSWIDGETS.getCount({ reset: true });\n}, 300, false); // eslint-disable-line no-magic-numbers\n\nvar CommentCount = exports.CommentCount = function (_React$Component) {\n _inherits(CommentCount, _React$Component);\n\n function CommentCount() {\n _classCallCheck(this, CommentCount);\n\n return _possibleConstructorReturn(this, (CommentCount.__proto__ || Object.getPrototypeOf(CommentCount)).apply(this, arguments));\n }\n\n _createClass(CommentCount, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.loadInstance();\n }\n }, {\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate(nextProps) {\n if (this.props.shortname !== nextProps.shortname) return true;\n\n var nextConfig = nextProps.config;\n var config = this.props.config;\n if (nextConfig.url === config.url || nextConfig.identifier === config.identifier) return false;\n return true;\n }\n }, {\n key: 'componentWillUpdate',\n value: function componentWillUpdate(nextProps) {\n if (this.props.shortname !== nextProps.shortname) this.cleanInstance();\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate() {\n this.loadInstance();\n }\n }, {\n key: 'loadInstance',\n value: function loadInstance() {\n var doc = window.document;\n if (doc.getElementById('dsq-count-scr')) queueResetCount();else (0, _utils.insertScript)('https://' + this.props.shortname + '.disqus.com/count.js', 'dsq-count-scr', doc.body);\n }\n }, {\n key: 'cleanInstance',\n value: function cleanInstance() {\n var body = window.document.body;\n (0, _utils.removeScript)('dsq-count-scr', body);\n\n // count.js only reassigns this window object if it's undefined.\n window.DISQUSWIDGETS = undefined;\n }\n }, {\n key: 'render',\n value: function render() {\n return _react2.default.createElement(\n 'span',\n {\n className: 'disqus-comment-count',\n 'data-disqus-identifier': this.props.config.identifier,\n 'data-disqus-url': this.props.config.url\n },\n this.props.children\n );\n }\n }]);\n\n return CommentCount;\n}(_react2.default.Component);","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CommentEmbed = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar RADIX_BASE = 36;\n\nvar CommentEmbed = exports.CommentEmbed = function (_React$Component) {\n _inherits(CommentEmbed, _React$Component);\n\n function CommentEmbed() {\n _classCallCheck(this, CommentEmbed);\n\n return _possibleConstructorReturn(this, (CommentEmbed.__proto__ || Object.getPrototypeOf(CommentEmbed)).apply(this, arguments));\n }\n\n _createClass(CommentEmbed, [{\n key: 'getSrc',\n value: function getSrc() {\n var post = Number(this.props.commentId).toString(RADIX_BASE);\n var parentParam = this.props.showParentComment ? '1' : '0';\n var mediaParam = this.props.showMedia ? '1' : '0';\n\n return 'https://embed.disqus.com/p/' + post + '?p=' + parentParam + '&m=' + mediaParam;\n }\n }, {\n key: 'render',\n value: function render() {\n return _react2.default.createElement('iframe', {\n src: this.getSrc(),\n width: this.props.width,\n height: this.props.height,\n seamless: 'seamless',\n scrolling: 'no',\n frameBorder: '0'\n });\n }\n }]);\n\n return CommentEmbed;\n}(_react2.default.Component);\n\nCommentEmbed.defaultProps = {\n showMedia: true,\n showParentComment: true,\n width: 420,\n height: 320\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.DiscussionEmbed = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _utils = require('./utils');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar DiscussionEmbed = exports.DiscussionEmbed = function (_React$Component) {\n _inherits(DiscussionEmbed, _React$Component);\n\n function DiscussionEmbed() {\n _classCallCheck(this, DiscussionEmbed);\n\n return _possibleConstructorReturn(this, (DiscussionEmbed.__proto__ || Object.getPrototypeOf(DiscussionEmbed)).apply(this, arguments));\n }\n\n _createClass(DiscussionEmbed, [{\n key: 'componentWillMount',\n value: function componentWillMount() {\n if (typeof window !== 'undefined' && window.disqus_shortname && window.disqus_shortname !== this.props.shortname) this.cleanInstance();\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.loadInstance();\n }\n }, {\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate(nextProps) {\n if (this.props.shortname !== nextProps.shortname) return true;\n\n var nextConfig = nextProps.config;\n var config = this.props.config;\n if (nextConfig.url === config.url || nextConfig.identifier === config.identifier) return false;\n return true;\n }\n }, {\n key: 'componentWillUpdate',\n value: function componentWillUpdate(nextProps) {\n if (this.props.shortname !== nextProps.shortname) this.cleanInstance();\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate() {\n this.loadInstance();\n }\n }, {\n key: 'loadInstance',\n value: function loadInstance() {\n var doc = window.document;\n if (window && window.DISQUS && doc.getElementById('dsq-embed-scr')) {\n window.DISQUS.reset({\n reload: true,\n config: this.getDisqusConfig(this.props.config)\n });\n } else {\n window.disqus_config = this.getDisqusConfig(this.props.config);\n window.disqus_shortname = this.props.shortname;\n (0, _utils.insertScript)('https://' + this.props.shortname + '.disqus.com/embed.js', 'dsq-embed-scr', doc.body);\n }\n }\n }, {\n key: 'cleanInstance',\n value: function cleanInstance() {\n var doc = window.document;\n (0, _utils.removeScript)('dsq-embed-scr', doc.body);\n if (window && window.DISQUS) window.DISQUS.reset({});\n\n try {\n delete window.DISQUS;\n } catch (error) {\n window.DISQUS = undefined;\n }\n var disqusThread = doc.getElementById('disqus_thread');\n if (disqusThread) {\n while (disqusThread.hasChildNodes()) {\n disqusThread.removeChild(disqusThread.firstChild);\n }\n }\n }\n }, {\n key: 'getDisqusConfig',\n value: function getDisqusConfig(config) {\n return function () {\n this.page.identifier = config.identifier;\n this.page.url = config.url;\n this.page.title = config.title;\n this.callbacks.onNewComment = [config.onNewComment];\n };\n }\n }, {\n key: 'render',\n value: function render() {\n return _react2.default.createElement('div', { id: 'disqus_thread' });\n }\n }]);\n\n return DiscussionEmbed;\n}(_react2.default.Component);","var objectWithoutPropertiesLoose = require(\"./objectWithoutPropertiesLoose\");\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutProperties;"],"sourceRoot":""}
|