-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-post-template-post-template-tsx-6841e77c9633d49b991d.js.map
1 lines (1 loc) · 76.1 KB
/
component---src-templates-post-template-post-template-tsx-6841e77c9633d49b991d.js.map
1
{"version":3,"file":"component---src-templates-post-template-post-template-tsx-6841e77c9633d49b991d.js","mappings":"iIAEAA,OAAOC,eAAeC,EAAS,aAAc,CAC3CC,OAAO,IAETD,EAAQE,kBAAe,EACvB,IAAIC,EAASC,EAAuB,EAAQ,OACxCC,EAAaD,EAAuB,EAAQ,OAC5CE,EAAS,EAAQ,MACjBC,EAAa,EAAQ,MACzB,SAASH,EAAuBI,GAC9B,OAAOA,GAAOA,EAAIC,WAAaD,EAAM,CACnC,QAAWA,EAEf,CACA,SAASE,EAAQF,GAYf,OAREE,EADoB,mBAAXC,QAAoD,iBAApBA,OAAOC,SACtC,SAAiBJ,GACzB,cAAcA,CAChB,EAEU,SAAiBA,GACzB,OAAOA,GAAyB,mBAAXG,QAAyBH,EAAIK,cAAgBF,QAAUH,IAAQG,OAAOG,UAAY,gBAAkBN,CAC3H,EAEKE,EAAQF,EACjB,CACA,SAASO,IAYP,OAXAA,EAAWjB,OAAOkB,QAAU,SAAUC,GACpC,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CACzC,IAAIG,EAASF,UAAUD,GACvB,IAAK,IAAII,KAAOD,EACVvB,OAAOgB,UAAUS,eAAeC,KAAKH,EAAQC,KAC/CL,EAAOK,GAAOD,EAAOC,GAG3B,CACA,OAAOL,CACT,EACOF,EAASU,MAAMC,KAAMP,UAC9B,CACA,SAASQ,EAAyBN,EAAQO,GACxC,GAAc,MAAVP,EAAgB,MAAO,CAAC,EAC5B,IACIC,EAAKJ,EADLD,EAaN,SAAuCI,EAAQO,GAC7C,GAAc,MAAVP,EAAgB,MAAO,CAAC,EAC5B,IAEIC,EAAKJ,EAFLD,EAAS,CAAC,EACVY,EAAa/B,OAAOgC,KAAKT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-starter-lumen/./node_modules/disqus-react/lib/CommentEmbed.js","webpack://gatsby-starter-lumen/./node_modules/disqus-react/lib/DiscussionEmbed.js","webpack://gatsby-starter-lumen/./node_modules/disqus-react/lib/Recommendations.js","webpack://gatsby-starter-lumen/./node_modules/disqus-react/lib/constants.js","webpack://gatsby-starter-lumen/./node_modules/disqus-react/lib/index.js","webpack://gatsby-starter-lumen/./node_modules/disqus-react/lib/utils.js","webpack://gatsby-starter-lumen/./src/components/Button/Button.tsx","webpack://gatsby-starter-lumen/./src/components/Button/Button.module.scss","webpack://gatsby-starter-lumen/./src/components/Post/Author/Author.tsx","webpack://gatsby-starter-lumen/./src/components/Post/Author/Author.module.scss","webpack://gatsby-starter-lumen/./src/components/Post/Comments/Comments.tsx","webpack://gatsby-starter-lumen/./src/components/Post/Content/Content.tsx","webpack://gatsby-starter-lumen/./src/components/Post/Content/Content.module.scss","webpack://gatsby-starter-lumen/./src/components/Post/Meta/Meta.tsx","webpack://gatsby-starter-lumen/./src/components/Post/Meta/Meta.module.scss","webpack://gatsby-starter-lumen/./src/components/Post/Tags/Tags.tsx","webpack://gatsby-starter-lumen/./src/components/Post/Tags/Tags.module.scss","webpack://gatsby-starter-lumen/./src/components/Post/Post.tsx","webpack://gatsby-starter-lumen/./src/components/Post/Post.module.scss","webpack://gatsby-starter-lumen/./src/templates/PostTemplate/PostTemplate.tsx"],"sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CommentCount = void 0;\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _utils = require(\"./utils\");\nvar _constants = require(\"./constants\");\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n}\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\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 return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n return function () {\n var Super = _getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return _possibleConstructorReturn(this, result);\n };\n}\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n return _assertThisInitialized(self);\n}\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}\nfunction _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 try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\nvar queueResetCount = (0, _utils.debounce)(function () {\n if (window.DISQUSWIDGETS) window.DISQUSWIDGETS.getCount({\n reset: true\n });\n}, 300, false); // eslint-disable-line no-magic-numbers\n\nvar CommentCount = /*#__PURE__*/function (_React$Component) {\n _inherits(CommentCount, _React$Component);\n var _super = _createSuper(CommentCount);\n function CommentCount() {\n _classCallCheck(this, CommentCount);\n return _super.apply(this, arguments);\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 === nextProps) return false;\n return (0, _utils.shallowComparison)(this.props, nextProps);\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps) {\n if (this.props.shortname !== prevProps.shortname) this.cleanInstance();\n this.loadInstance();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.cleanInstance();\n }\n }, {\n key: \"loadInstance\",\n value: function loadInstance() {\n var doc = window.document;\n if (doc.getElementById(_constants.COMMENT_COUNT_SCRIPT_ID)) queueResetCount();else (0, _utils.insertScript)(\"https://\".concat(this.props.shortname, \".disqus.com/count.js\"), _constants.COMMENT_COUNT_SCRIPT_ID, doc.body);\n }\n }, {\n key: \"cleanInstance\",\n value: function cleanInstance() {\n var doc = window.document;\n (0, _utils.removeScript)(_constants.COMMENT_COUNT_SCRIPT_ID, doc.body); // count.js only reassigns this window object if it's undefined.\n\n window.DISQUSWIDGETS = undefined;\n (0, _utils.removeResources)();\n }\n }, {\n key: \"render\",\n value: function render() {\n // eslint-disable-next-line no-unused-vars\n var _this$props = this.props,\n shortname = _this$props.shortname,\n config = _this$props.config,\n children = _this$props.children,\n className = _this$props.className,\n rest = _objectWithoutProperties(_this$props, [\"shortname\", \"config\", \"children\", \"className\"]);\n var additionalClass = className ? \" \".concat(className) : '';\n return /*#__PURE__*/_react[\"default\"].createElement(\"span\", _extends({}, rest, {\n className: \"\".concat(_constants.COMMENT_COUNT_CLASS).concat(additionalClass),\n \"data-disqus-identifier\": config.identifier,\n \"data-disqus-url\": config.url\n }), children);\n }\n }]);\n return CommentCount;\n}(_react[\"default\"].Component);\nexports.CommentCount = CommentCount;\nCommentCount.propTypes = {\n shortname: _propTypes[\"default\"].string.isRequired,\n config: _propTypes[\"default\"].shape({\n identifier: _propTypes[\"default\"].string,\n url: _propTypes[\"default\"].string,\n title: _propTypes[\"default\"].string\n }).isRequired,\n className: _propTypes[\"default\"].string,\n children: _propTypes[\"default\"].node\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CommentEmbed = void 0;\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _constants = require(\"./constants\");\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n}\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\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 return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n return function () {\n var Super = _getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return _possibleConstructorReturn(this, result);\n };\n}\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n return _assertThisInitialized(self);\n}\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}\nfunction _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 try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\nvar CommentEmbed = /*#__PURE__*/function (_React$Component) {\n _inherits(CommentEmbed, _React$Component);\n var _super = _createSuper(CommentEmbed);\n function CommentEmbed() {\n _classCallCheck(this, CommentEmbed);\n return _super.apply(this, arguments);\n }\n _createClass(CommentEmbed, [{\n key: \"getSrc\",\n value: function getSrc() {\n var radixBase = 36;\n var post = Number(this.props.commentId).toString(radixBase);\n var parentParam = this.props.showParentComment ? '1' : '0';\n var mediaParam = this.props.showMedia ? '1' : '0';\n return \"https://embed.disqus.com/p/\".concat(post, \"?p=\").concat(parentParam, \"&m=\").concat(mediaParam);\n }\n }, {\n key: \"render\",\n value: function render() {\n // eslint-disable-next-line no-unused-vars\n var _this$props = this.props,\n width = _this$props.width,\n height = _this$props.height,\n commentId = _this$props.commentId,\n showMedia = _this$props.showMedia,\n showParentComment = _this$props.showParentComment,\n rest = _objectWithoutProperties(_this$props, [\"width\", \"height\", \"commentId\", \"showMedia\", \"showParentComment\"]);\n return /*#__PURE__*/_react[\"default\"].createElement(\"iframe\", _extends({}, rest, {\n src: this.getSrc(),\n width: width,\n height: height,\n seamless: \"seamless\",\n scrolling: \"no\",\n frameBorder: \"0\"\n }));\n }\n }]);\n return CommentEmbed;\n}(_react[\"default\"].Component);\nexports.CommentEmbed = CommentEmbed;\nCommentEmbed.defaultProps = {\n showMedia: true,\n showParentComment: true,\n width: _constants.COMMENT_EMBED_WIDTH,\n height: _constants.COMMENT_EMBED_HEIGHT\n};\nCommentEmbed.propTypes = {\n commentId: _propTypes[\"default\"].string.isRequired,\n showMedia: _propTypes[\"default\"].bool,\n showParentComment: _propTypes[\"default\"].bool,\n width: _propTypes[\"default\"].number,\n height: _propTypes[\"default\"].number,\n className: _propTypes[\"default\"].string\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.DiscussionEmbed = void 0;\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _utils = require(\"./utils\");\nvar _constants = require(\"./constants\");\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n}\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\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 return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n return function () {\n var Super = _getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return _possibleConstructorReturn(this, result);\n };\n}\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n return _assertThisInitialized(self);\n}\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}\nfunction _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 try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\nvar DiscussionEmbed = /*#__PURE__*/function (_React$Component) {\n _inherits(DiscussionEmbed, _React$Component);\n var _super = _createSuper(DiscussionEmbed);\n function DiscussionEmbed() {\n _classCallCheck(this, DiscussionEmbed);\n return _super.apply(this, arguments);\n }\n _createClass(DiscussionEmbed, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n if (typeof window !== 'undefined' && window.disqus_shortname && window.disqus_shortname !== this.props.shortname) this.cleanInstance();\n this.loadInstance();\n }\n }, {\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps) {\n if (this.props === nextProps) return false;\n return (0, _utils.shallowComparison)(this.props, nextProps);\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(nextProps) {\n if (this.props.shortname !== nextProps.shortname) this.cleanInstance();\n this.loadInstance();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.cleanInstance();\n }\n }, {\n key: \"loadInstance\",\n value: function loadInstance() {\n var doc = window.document;\n if (window && window.DISQUS && doc.getElementById(_constants.EMBED_SCRIPT_ID)) {\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://\".concat(this.props.shortname, \".disqus.com/embed.js\"), _constants.EMBED_SCRIPT_ID, doc.body);\n }\n }\n }, {\n key: \"cleanInstance\",\n value: function cleanInstance() {\n var doc = window.document;\n (0, _utils.removeScript)(_constants.EMBED_SCRIPT_ID, doc.body);\n if (window && window.DISQUS) window.DISQUS.reset({});\n try {\n delete window.DISQUS;\n } catch (error) {\n window.DISQUS = undefined;\n }\n var disqusThread = doc.getElementById(_constants.THREAD_ID);\n if (disqusThread) {\n while (disqusThread.hasChildNodes()) {\n disqusThread.removeChild(disqusThread.firstChild);\n }\n }\n (0, _utils.removeResources)();\n }\n }, {\n key: \"getDisqusConfig\",\n value: function getDisqusConfig(config) {\n return function () {\n var _this = this;\n this.page.identifier = config.identifier;\n this.page.url = config.url;\n this.page.title = config.title;\n this.page.category_id = config.categoryID;\n this.page.remote_auth_s3 = config.remoteAuthS3;\n this.page.api_key = config.apiKey;\n if (config.sso) this.sso = config.sso;\n if (config.language) this.language = config.language;\n _constants.CALLBACKS.forEach(function (callbackName) {\n _this.callbacks[callbackName] = [config[callbackName]];\n });\n };\n }\n }, {\n key: \"render\",\n value: function render() {\n // eslint-disable-next-line no-unused-vars\n var _this$props = this.props,\n shortname = _this$props.shortname,\n config = _this$props.config,\n rest = _objectWithoutProperties(_this$props, [\"shortname\", \"config\"]);\n return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({}, rest, {\n id: _constants.THREAD_ID\n }));\n }\n }]);\n return DiscussionEmbed;\n}(_react[\"default\"].Component);\nexports.DiscussionEmbed = DiscussionEmbed;\nDiscussionEmbed.propTypes = {\n shortname: _propTypes[\"default\"].string.isRequired,\n config: _propTypes[\"default\"].shape({\n identifier: _propTypes[\"default\"].string,\n url: _propTypes[\"default\"].string,\n title: _propTypes[\"default\"].string,\n language: _propTypes[\"default\"].string,\n categoryID: _propTypes[\"default\"].string,\n remoteAuthS3: _propTypes[\"default\"].string,\n apiKey: _propTypes[\"default\"].string,\n preData: _propTypes[\"default\"].func,\n preInit: _propTypes[\"default\"].func,\n onInit: _propTypes[\"default\"].func,\n onReady: _propTypes[\"default\"].func,\n afterRender: _propTypes[\"default\"].func,\n preReset: _propTypes[\"default\"].func,\n onIdentify: _propTypes[\"default\"].func,\n beforeComment: _propTypes[\"default\"].func,\n onNewComment: _propTypes[\"default\"].func,\n onPaginate: _propTypes[\"default\"].func,\n sso: _propTypes[\"default\"].shape({\n name: _propTypes[\"default\"].string,\n button: _propTypes[\"default\"].string,\n icon: _propTypes[\"default\"].string,\n url: _propTypes[\"default\"].string,\n logout: _propTypes[\"default\"].string,\n profile_url: _propTypes[\"default\"].string,\n width: _propTypes[\"default\"].string,\n height: _propTypes[\"default\"].string\n })\n }).isRequired\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Recommendations = void 0;\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _utils = require(\"./utils\");\nvar _constants = require(\"./constants\");\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n}\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\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 return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n return function () {\n var Super = _getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return _possibleConstructorReturn(this, result);\n };\n}\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n return _assertThisInitialized(self);\n}\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}\nfunction _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 try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\nvar Recommendations = /*#__PURE__*/function (_React$Component) {\n _inherits(Recommendations, _React$Component);\n var _super = _createSuper(Recommendations);\n function Recommendations() {\n _classCallCheck(this, Recommendations);\n return _super.apply(this, arguments);\n }\n _createClass(Recommendations, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.loadInstance();\n }\n }, {\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps) {\n if (this.props === nextProps) return false;\n return (0, _utils.shallowComparison)(this.props, nextProps);\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n this.loadInstance();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.cleanInstance();\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.language = config.language;\n };\n }\n }, {\n key: \"loadInstance\",\n value: function loadInstance() {\n if (typeof window !== 'undefined' && window.document) {\n window.disqus_config = this.getDisqusConfig(this.props.config);\n if (window.document.getElementById(_constants.RECOMMENDATIONS_SCRIPT_ID)) {\n this.reloadInstance();\n } else {\n (0, _utils.insertScript)(\"https://\".concat(this.props.shortname, \".disqus.com/recommendations.js\"), _constants.RECOMMENDATIONS_SCRIPT_ID, window.document.body);\n }\n }\n }\n }, {\n key: \"reloadInstance\",\n value: function reloadInstance() {\n if (window && window.DISQUS_RECOMMENDATIONS) {\n window.DISQUS_RECOMMENDATIONS.reset({\n reload: true\n });\n }\n }\n }, {\n key: \"cleanInstance\",\n value: function cleanInstance() {\n (0, _utils.removeScript)(_constants.RECOMMENDATIONS_SCRIPT_ID, window.document.body);\n try {\n delete window.DISQUS_RECOMMENDATIONS;\n } catch (error) {\n window.DISQUS_RECOMMENDATIONS = undefined;\n }\n var recommendations = window.document.getElementById(_constants.RECOMMENDATIONS_ID);\n if (recommendations) {\n while (recommendations.hasChildNodes()) {\n recommendations.removeChild(recommendations.firstChild);\n }\n }\n (0, _utils.removeResources)();\n }\n }, {\n key: \"render\",\n value: function render() {\n // eslint-disable-next-line no-unused-vars\n var _this$props = this.props,\n shortname = _this$props.shortname,\n config = _this$props.config,\n rest = _objectWithoutProperties(_this$props, [\"shortname\", \"config\"]);\n return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({}, rest, {\n id: _constants.RECOMMENDATIONS_ID\n }));\n }\n }]);\n return Recommendations;\n}(_react[\"default\"].Component);\nexports.Recommendations = Recommendations;\nRecommendations.propTypes = {\n shortname: _propTypes[\"default\"].string.isRequired,\n config: _propTypes[\"default\"].shape({\n identifier: _propTypes[\"default\"].string,\n url: _propTypes[\"default\"].string,\n title: _propTypes[\"default\"].string,\n language: _propTypes[\"default\"].string\n })\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CALLBACKS = exports.RECOMMENDATIONS_SCRIPT_ID = exports.RECOMMENDATIONS_ID = exports.COMMENT_EMBED_HEIGHT = exports.COMMENT_EMBED_WIDTH = exports.COMMENT_COUNT_SCRIPT_ID = exports.COMMENT_COUNT_CLASS = exports.EMBED_SCRIPT_ID = exports.THREAD_ID = void 0;\nvar THREAD_ID = 'disqus_thread';\nexports.THREAD_ID = THREAD_ID;\nvar EMBED_SCRIPT_ID = 'dsq-embed-scr';\nexports.EMBED_SCRIPT_ID = EMBED_SCRIPT_ID;\nvar COMMENT_COUNT_CLASS = 'disqus-comment-count';\nexports.COMMENT_COUNT_CLASS = COMMENT_COUNT_CLASS;\nvar COMMENT_COUNT_SCRIPT_ID = 'dsq-count-scr';\nexports.COMMENT_COUNT_SCRIPT_ID = COMMENT_COUNT_SCRIPT_ID;\nvar COMMENT_EMBED_WIDTH = 420;\nexports.COMMENT_EMBED_WIDTH = COMMENT_EMBED_WIDTH;\nvar COMMENT_EMBED_HEIGHT = 320;\nexports.COMMENT_EMBED_HEIGHT = COMMENT_EMBED_HEIGHT;\nvar RECOMMENDATIONS_ID = 'disqus_recommendations';\nexports.RECOMMENDATIONS_ID = RECOMMENDATIONS_ID;\nvar RECOMMENDATIONS_SCRIPT_ID = 'dsq-recs-scr';\nexports.RECOMMENDATIONS_SCRIPT_ID = RECOMMENDATIONS_SCRIPT_ID;\nvar CALLBACKS = ['preData', 'preInit', 'onInit', 'onReady', 'afterRender', 'preReset', 'onIdentify', 'beforeComment', 'onNewComment', 'onPaginate'];\nexports.CALLBACKS = CALLBACKS;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"CommentCount\", {\n enumerable: true,\n get: function get() {\n return _CommentCount.CommentCount;\n }\n});\nObject.defineProperty(exports, \"CommentEmbed\", {\n enumerable: true,\n get: function get() {\n return _CommentEmbed.CommentEmbed;\n }\n});\nObject.defineProperty(exports, \"DiscussionEmbed\", {\n enumerable: true,\n get: function get() {\n return _DiscussionEmbed.DiscussionEmbed;\n }\n});\nObject.defineProperty(exports, \"Recommendations\", {\n enumerable: true,\n get: function get() {\n return _Recommendations.Recommendations;\n }\n});\nexports[\"default\"] = void 0;\nvar _CommentCount = require(\"./CommentCount\");\nvar _CommentEmbed = require(\"./CommentEmbed\");\nvar _DiscussionEmbed = require(\"./DiscussionEmbed\");\nvar _Recommendations = require(\"./Recommendations\");\nvar Disqus = {\n CommentCount: _CommentCount.CommentCount,\n CommentEmbed: _CommentEmbed.CommentEmbed,\n DiscussionEmbed: _DiscussionEmbed.DiscussionEmbed,\n Recommendations: _Recommendations.Recommendations\n};\nvar _default = Disqus;\nexports[\"default\"] = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.insertScript = insertScript;\nexports.removeScript = removeScript;\nexports.removeResources = removeResources;\nexports.debounce = debounce;\nexports.isReactElement = isReactElement;\nexports.shallowComparison = shallowComparison;\nvar _react = _interopRequireDefault(require(\"react\"));\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n}\nfunction _createForOfIteratorHelper(o) {\n if (typeof Symbol === \"undefined\" || o[Symbol.iterator] == null) {\n if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) {\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var it,\n normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = o[Symbol.iterator]();\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\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}\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n return arr2;\n}\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 return script;\n}\nfunction removeScript(id, parentElement) {\n var script = window.document.getElementById(id);\n if (script) parentElement.removeChild(script);\n}\nfunction removeResources() {\n // Remove the bundles that the Disqus scripts add to prevent duplicated resources when navigating between pages\n var disqusResources = window.document.querySelectorAll(\n // eslint-disable-next-line max-len\n 'link[href*=\"disquscdn.com/next/embed\"], link[href*=\"disquscdn.com/next/recommendations\"], link[href*=\"disqus.com/next/config.js\"], script[src*=\"disquscdn.com/next/embed\"], script[src*=\"disqus.com/count-data.js\"], iframe[title=\"Disqus\"]');\n disqusResources.forEach(function (el) {\n return el.remove();\n });\n}\nfunction debounce(func, wait, runOnFirstCall) {\n var timeout;\n return function () {\n var context = this; // eslint-disable-line consistent-this\n\n var args = arguments;\n var deferredExecution = function deferredExecution() {\n timeout = null;\n if (!runOnFirstCall) func.apply(context, args);\n };\n var callNow = runOnFirstCall && !timeout;\n window.clearTimeout(timeout);\n timeout = setTimeout(deferredExecution, wait);\n if (callNow) func.apply(context, args);\n };\n}\nfunction isReactElement(element) {\n if (_react[\"default\"].isValidElement(element)) {\n return true;\n } else if (Array.isArray(element)) {\n return element.some(function (value) {\n return _react[\"default\"].isValidElement(value);\n });\n }\n return false;\n}\nfunction shallowComparison(currentProps, nextProps) {\n // Perform a comparison of all props, excluding React Elements, to prevent unnecessary updates\n var propNames = new Set(Object.keys(currentProps), Object.keys(nextProps)); // eslint-disable-line no-undef\n\n var _iterator = _createForOfIteratorHelper(propNames),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var name = _step.value;\n if (_typeof(currentProps[name]) === 'object') {\n if (shallowComparison(currentProps[name], nextProps[name])) return true;\n } else if (currentProps[name] !== nextProps[name] && !isReactElement(currentProps[name])) {\n return true;\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return false;\n}","import React from \"react\";\n\nimport cn from \"classnames\";\nimport { Link } from \"gatsby\";\n\nimport * as styles from \"./Button.module.scss\";\n\ninterface Props {\n className?: string;\n title: string;\n to: string;\n}\n\nconst Button: React.FC<Props> = ({ className, title, to }: Props) => (\n <Link className={cn(styles.button, className)} to={to}>\n {title}\n </Link>\n);\n\nexport default Button;\n","// extracted by mini-css-extract-plugin\nexport var button = \"Button-module--button--b1113\";","import React from \"react\";\n\nimport { useSiteMetadata } from \"@/hooks\";\nimport { getContactHref } from \"@/utils\";\n\nimport * as styles from \"./Author.module.scss\";\n\nconst Author = () => {\n const { author } = useSiteMetadata();\n\n return (\n <div className={styles.author}>\n <p className={styles.bio}>\n {author.bio}\n <a\n className={styles.twitter}\n href={getContactHref(\"twitter\", author.contacts.twitter)}\n rel=\"noopener noreferrer\"\n target=\"_blank\"\n >\n <strong>{author.name}</strong> on Twitter\n </a>\n </p>\n </div>\n );\n};\n\nexport default Author;\n","// extracted by mini-css-extract-plugin\nexport var author = \"Author-module--author--1c58d\";\nexport var bio = \"Author-module--bio--08950\";\nexport var twitter = \"Author-module--twitter--90647\";","import React from \"react\";\n\nimport { DiscussionEmbed } from \"disqus-react\";\n\nimport { useSiteMetadata } from \"@/hooks\";\n\ninterface Props {\n postTitle: string;\n postSlug: string;\n}\n\nconst Comments: React.FC<Props> = ({ postTitle, postSlug }: Props) => {\n const { url, disqusShortname } = useSiteMetadata();\n\n if (!disqusShortname) {\n return null;\n }\n\n return (\n <DiscussionEmbed\n shortname={disqusShortname}\n config={{\n url: url + postSlug,\n identifier: postTitle,\n title: postTitle,\n }}\n />\n );\n};\n\nexport default Comments;\n","import React from \"react\";\n\nimport * as styles from \"./Content.module.scss\";\n\ninterface Props {\n title: string;\n body: string;\n}\n\nconst Content: React.FC<Props> = ({ body, title }: Props) => (\n <div className={styles.content}>\n <h1 className={styles.title}>{title}</h1>\n <div className={styles.body} dangerouslySetInnerHTML={{ __html: body }} />\n </div>\n);\n\nexport default Content;\n","// extracted by mini-css-extract-plugin\nexport var body = \"Content-module--body--726c2\";\nexport var content = \"Content-module--content--80d58\";\nexport var title = \"Content-module--title--09504\";","import React from \"react\";\n\nimport * as styles from \"./Meta.module.scss\";\n\ninterface Props {\n date: string;\n}\n\nconst Meta: React.FC<Props> = ({ date }: Props) => (\n <div className={styles.meta}>\n <p className={styles.date}>\n Published{\" \"}\n {new Date(date).toLocaleDateString(\"ja-JP\", {\n year: \"numeric\",\n month: \"2-digit\",\n day: \"numeric\",\n })}\n </p>\n </div>\n);\n\nexport default Meta;\n","// extracted by mini-css-extract-plugin\nexport var date = \"Meta-module--date--4d30d\";\nexport var meta = \"Meta-module--meta--dae0a\";","import React from \"react\";\n\nimport { Button } from \"@/components/Button\";\n\nimport * as styles from \"./Tags.module.scss\";\n\ntype Props = {\n tags: string[];\n tagSlugs: string[];\n};\n\nconst Tags = ({ tags, tagSlugs }: Props) => (\n <div className={styles.tags}>\n <ul className={styles.list}>\n {tagSlugs\n ? tagSlugs.map((slug, i) => (\n <li className={styles.item} key={slug}>\n <Button title={tags[i]} key={slug} to={slug} />\n </li>\n ))\n : null}\n </ul>\n </div>\n);\n\nexport default Tags;\n","// extracted by mini-css-extract-plugin\nexport var item = \"Tags-module--item--52015\";\nexport var list = \"Tags-module--list--82ae6\";\nexport var tags = \"Tags-module--tags--18589\";","import React from \"react\";\n\nimport { Button } from \"@/components/Button\";\nimport { ThemeSwitcher } from \"@/components/ThemeSwitcher\";\nimport type { Node } from \"@/types\";\n\nimport { Author } from \"./Author\";\nimport { Comments } from \"./Comments\";\nimport { Content } from \"./Content\";\nimport { Meta } from \"./Meta\";\nimport { Tags } from \"./Tags\";\n\nimport * as styles from \"./Post.module.scss\";\n\ninterface Props {\n post: Node;\n}\n\nconst Post: React.FC<Props> = ({ post }: Props) => {\n const { html } = post;\n const { tagSlugs, slug } = post.fields;\n const { tags, title, date } = post.frontmatter;\n\n return (\n <div className={styles.post}>\n <div className={styles.buttons}>\n <Button className={styles.buttonArticles} title=\"All Articles\" to=\"/\" />\n <ThemeSwitcher />\n </div>\n\n <div className={styles.content}>\n <Content body={html} title={title} />\n </div>\n\n <div className={styles.footer}>\n <Meta date={date} />\n {tags && tagSlugs && <Tags tags={tags} tagSlugs={tagSlugs} />}\n <Author />\n </div>\n\n <div className={styles.comments}>\n <Comments postSlug={slug} postTitle={post.frontmatter.title} />\n </div>\n </div>\n );\n};\n\nexport default Post;\n","// extracted by mini-css-extract-plugin\nexport var buttonArticles = \"Post-module--buttonArticles--d793a\";\nexport var buttons = \"Post-module--buttons--2972d\";\nexport var comments = \"Post-module--comments--d3b99\";\nexport var content = \"Post-module--content--3c6e5\";\nexport var footer = \"Post-module--footer--f8705\";\nexport var post = \"Post-module--post--3a994\";","import React from \"react\";\n\nimport { graphql } from \"gatsby\";\n\nimport { Layout } from \"@/components/Layout\";\nimport { Meta } from \"@/components/Meta\";\nimport { Post } from \"@/components/Post\";\nimport { useSiteMetadata } from \"@/hooks\";\nimport { Node } from \"@/types\";\n\ninterface Props {\n data: {\n markdownRemark: Node;\n };\n}\n\nconst PostTemplate: React.FC<Props> = ({ data: { markdownRemark } }: Props) => (\n <Layout>\n <Post post={markdownRemark} />\n </Layout>\n);\n\nexport const query = graphql`\n query PostTemplate($slug: String!) {\n markdownRemark(fields: { slug: { eq: $slug } }) {\n id\n html\n fields {\n slug\n tagSlugs\n }\n frontmatter {\n date\n description\n tags\n title\n }\n }\n }\n`;\n\nexport const Head: React.FC<Props> = ({ data }) => {\n const { title, subtitle } = useSiteMetadata();\n\n const {\n frontmatter: { title: postTitle, description: postDescription = \"\" },\n } = data.markdownRemark;\n\n const description = postDescription || subtitle;\n\n return <Meta title={`${postTitle} - ${title}`} description={description} />;\n};\n\nexport default PostTemplate;\n"],"names":["Object","defineProperty","exports","value","CommentCount","_react","_interopRequireDefault","_propTypes","_utils","_constants","obj","__esModule","_typeof","Symbol","iterator","constructor","prototype","_extends","assign","target","i","arguments","length","source","key","hasOwnProperty","call","apply","this","_objectWithoutProperties","excluded","sourceKeys","keys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","_defineProperties","props","descriptor","enumerable","configurable","writable","_setPrototypeOf","o","p","setPrototypeOf","__proto__","_createSuper","Derived","hasNativeReflectConstruct","Reflect","construct","sham","Proxy","Date","toString","e","_isNativeReflectConstruct","result","Super","_getPrototypeOf","NewTarget","self","ReferenceError","_assertThisInitialized","_possibleConstructorReturn","getPrototypeOf","queueResetCount","debounce","window","DISQUSWIDGETS","getCount","reset","_React$Component","subClass","superClass","TypeError","create","_inherits","Constructor","protoProps","staticProps","_super","instance","_classCallCheck","loadInstance","nextProps","shallowComparison","prevProps","shortname","cleanInstance","doc","document","getElementById","COMMENT_COUNT_SCRIPT_ID","insertScript","concat","body","removeScript","undefined","removeResources","_this$props","config","children","className","rest","additionalClass","createElement","COMMENT_COUNT_CLASS","identifier","url","Component","propTypes","string","isRequired","shape","title","node","CommentEmbed","post","Number","commentId","parentParam","showParentComment","mediaParam","showMedia","width","height","src","getSrc","seamless","scrolling","frameBorder","defaultProps","COMMENT_EMBED_WIDTH","COMMENT_EMBED_HEIGHT","bool","number","DiscussionEmbed","disqus_shortname","DISQUS","EMBED_SCRIPT_ID","reload","getDisqusConfig","disqus_config","error","disqusThread","THREAD_ID","hasChildNodes","removeChild","firstChild","_this","page","category_id","categoryID","remote_auth_s3","remoteAuthS3","api_key","apiKey","sso","language","CALLBACKS","forEach","callbackName","callbacks","id","preData","func","preInit","onInit","onReady","afterRender","preReset","onIdentify","beforeComment","onNewComment","onPaginate","name","button","icon","logout","profile_url","Recommendations","RECOMMENDATIONS_SCRIPT_ID","reloadInstance","DISQUS_RECOMMENDATIONS","recommendations","RECOMMENDATIONS_ID","get","_DiscussionEmbed","_CommentCount","_CommentEmbed","_Recommendations","parentElement","script","async","appendChild","querySelectorAll","el","remove","wait","runOnFirstCall","timeout","context","args","callNow","clearTimeout","setTimeout","isReactElement","currentProps","_step","_iterator","Array","isArray","minLen","_arrayLikeToArray","n","slice","from","test","_unsupportedIterableToArray","F","s","done","_e","f","it","err","normalCompletion","didErr","step","next","_e2","_createForOfIteratorHelper","Set","arr","len","arr2","element","isValidElement","some","_ref","to","React","Link","cn","Author","author","useSiteMetadata","bio","href","getContactHref","contacts","twitter","rel","postTitle","postSlug","disqusShortname","dangerouslySetInnerHTML","__html","date","toLocaleDateString","year","month","day","tags","tagSlugs","map","slug","Button","html","fields","frontmatter","ThemeSwitcher","Content","Meta","Tags","Comments","Head","_ref2","data","subtitle","description","postDescription","markdownRemark","Layout","Post"],"sourceRoot":""}