-
Notifications
You must be signed in to change notification settings - Fork 12
/
component---node-modules-gatsby-theme-mini-src-templates-post-jsx-d1fbcd510d24b67df13b.js.map
1 lines (1 loc) · 65.7 KB
/
component---node-modules-gatsby-theme-mini-src-templates-post-jsx-d1fbcd510d24b67df13b.js.map
1
{"version":3,"file":"component---node-modules-gatsby-theme-mini-src-templates-post-jsx-d1fbcd510d24b67df13b.js","mappings":"yJAIe,SAASA,EAAOC,GAC7B,IAAQC,EAAWD,EAAXC,OAEFC,GAAOC,EAAAA,EAAAA,IAAe,cAa5B,IAAKF,EACH,OAAO,4BAGT,IAAMG,EAAUH,EAAOI,MAAM,KAAKC,KAAI,SAACC,GAAD,OAAUA,EAAKC,UAC/CC,EAAUL,EAAQE,KAAI,SAACC,GAC3B,IAAMG,EAASR,EAAKS,KAAKC,aAAaR,QAAQS,MAC5C,SAACZ,GAAD,OAAYA,EAAOa,OAASP,KAG9B,OAAOG,EAASA,EAAOK,OAAS,QAGlC,OACE,uBAAKC,UAAU,6BACZP,EAAQH,KAAI,SAACC,EAAMU,GAAP,OACX,uBACEC,IAAKX,GAAQU,EACbD,UAAS,oDAAqDC,EAAQ,QAAS,IAC/EE,IAAKZ,EACLa,IAAKhB,EAAQa,QAGjB,sBAAID,UAAU,mDAAmDf,IASvEF,EAAOsB,aAAe,CACpBpB,OAAQ,K,gFCrDV,SAASqB,IAeP,OAdAA,EAAWC,OAAOC,QAAU,SAAUd,GACpC,IAAK,IAAIe,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CACzC,IAAIG,EAASF,UAAUD,GAEvB,IAAK,IAAIP,KAAOU,EACVL,OAAOM,UAAUC,eAAeC,KAAKH,EAAQV,KAC/CR,EAAOQ,GAAOU,EAAOV,IAK3B,OAAOR,GAGFY,EAASU,MAAMC,KAAMP,WAG9B,SAASQ,EAAyBN,EAAQO,GACxC,GAAc,MAAVP,EAAgB,MAAO,GAE3B,IAEIV,EAAKO,EAFLf,EAkBN,SAAuCkB,EAAQO,G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iE,EAAShK,GAClBiK,EAAYlE,EAAS,EAEzB,OAAOA,GAAWA,EAAUkE,EAAYlE,EAASkE,EAAYlE,EAAU,I,qBChCzE,IAAImE,EAAa,EAAQ,MACrBC,EAAiB,EAAQ,MACzB5K,EAAW,EAAQ,MACnB6K,EAAe,EAAQ,MA+B3BlF,EAAOC,QAVP,SAAeM,EAAQ4E,EAASC,GAI9B,OAHA7E,EAASlG,EAASkG,QAGFI,KAFhBwE,EAAUC,OAAQzE,EAAYwE,GAGrBF,EAAe1E,GAAU2E,EAAa3E,GAAUyE,EAAWzE,GAE7DA,EAAOC,MAAM2E,IAAY","sources":["webpack://blog/./node_modules/gatsby-theme-mini/src/components/Author/index.jsx","webpack://blog/./node_modules/react-feather/dist/icons/arrow-right.js","webpack://blog/./node_modules/gatsby-theme-mini/src/components/PostCard/index.jsx","webpack://blog/./node_modules/gatsby-theme-mini/src/components/Tag/index.jsx","webpack://blog/./node_modules/gatsby-theme-mini/src/components/TagList/index.jsx","webpack://blog/./node_modules/react-feather/dist/icons/arrow-left.js","webpack://blog/./node_modules/react-feather/dist/icons/clock.js","webpack://blog/./node_modules/gatsby-theme-mini/src/components/ProgressBar/index.jsx","webpack://blog/./node_modules/gatsby-theme-mini/src/components/Anchor/index.jsx","webpack://blog/./node_modules/gatsby-theme-mini/src/templates/post.jsx","webpack://blog/./node_modules/lodash/_arrayReduce.js","webpack://blog/./node_modules/lodash/_asciiWords.js","webpack://blog/./node_modules/lodash/_baseExtremum.js","webpack://blog/./node_modules/lodash/_baseFilter.js","webpack://blog/./node_modules/lodash/_baseFindIndex.js","webpack://blog/./node_modules/lodash/_baseLt.js","webpack://blog/./node_modules/lodash/_basePropertyOf.js","webpack://blog/./node_modules/lodash/_createCompounder.js","webpack://blog/./node_modules/lodash/_createFind.js","webpack://blog/./node_modules/lodash/_deburrLetter.js","webpack://blog/./node_modules/lodash/_hasUnicodeWord.js","webpack://blog/./node_modules/lodash/_unicodeWords.js","webpack://blog/./node_modules/lodash/deburr.js","webpack://blog/./node_modules/lodash/filter.js","webpack://blog/./node_modules/lodash/find.js","webpack://blog/./node_modules/lodash/findIndex.js","webpack://blog/./node_modules/lodash/kebabCase.js","webpack://blog/./node_modules/lodash/minBy.js","webpack://blog/./node_modules/lodash/toFinite.js","webpack://blog/./node_modules/lodash/toInteger.js","webpack://blog/./node_modules/lodash/words.js"],"sourcesContent":["import React from 'react'\nimport PropTypes from 'prop-types'\nimport { useStaticQuery, graphql } from 'gatsby'\n\nexport default function Author(props) {\n const { author } = props\n\n const data = useStaticQuery(graphql`\n query AuthorQuery {\n site {\n siteMetadata {\n authors {\n name\n avatar\n }\n }\n }\n }\n `)\n\n if (!author) {\n return <div></div>\n }\n\n const authors = author.split(',').map((item) => item.trim())\n const avatars = authors.map((item) => {\n const target = data.site.siteMetadata.authors.find(\n (author) => author.name === item\n )\n\n return target ? target.avatar : null\n })\n\n return (\n <div className=\"flex items-center text-sm\">\n {avatars.map((item, index) => (\n <img\n key={item || index}\n className={`shrink-0 block w-8 h-8 rounded-full bg-gray-200 ${index ? '-ml-4': ''}`}\n src={item}\n alt={authors[index]}\n />\n ))}\n <h5 className=\"ml-2 font-bold text-gray-800 dark:text-gray-400\">{author}</h5>\n </div>\n )\n}\n\nAuthor.propTypes = {\n author: PropTypes.string,\n}\n\nAuthor.defaultProps = {\n author: '',\n}\n","function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = _objectWithoutPropertiesLoose(source, excluded);\n\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\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\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\n return target;\n}\n\nimport React, { forwardRef } from 'react';\nvar ArrowRight = forwardRef(function (_ref, ref) {\n var _ref$color = _ref.color,\n color = _ref$color === void 0 ? 'currentColor' : _ref$color,\n _ref$size = _ref.size,\n size = _ref$size === void 0 ? 24 : _ref$size,\n rest = _objectWithoutProperties(_ref, [\"color\", \"size\"]);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n ref: ref,\n xmlns: \"http://www.w3.org/2000/svg\",\n width: size,\n height: size,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: color,\n strokeWidth: \"2\",\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }, rest), /*#__PURE__*/React.createElement(\"line\", {\n x1: \"5\",\n y1: \"12\",\n x2: \"19\",\n y2: \"12\"\n }), /*#__PURE__*/React.createElement(\"polyline\", {\n points: \"12 5 19 12 12 19\"\n }));\n});\nArrowRight.displayName = 'ArrowRight';\nexport default ArrowRight;","import React from 'react'\nimport PropTypes from 'prop-types'\nimport { ArrowRight } from 'react-feather'\nimport { Link } from 'gatsby'\n\nimport Author from '../Author'\n\nexport default function PostCard(props) {\n const { data, card, clamp } = props\n\n return (\n <div className={card ? 'bg-gray-50 dark:bg-gray-800 rounded-md' : ''}>\n <Link to={data.fields.permalink}>\n <div className=\"h-52 bg-gray-100 dark:bg-gray-800 rounded-t-md overflow-hidden relative\">\n <img\n className=\"block w-full h-full object-cover rounded-t-md\"\n src={data.frontmatter.cover}\n alt=\"\"\n />\n <div className=\"absolute left-0 top-0 flex items-center justify-center w-full h-full rounded-t-md cursor-pointer opacity-0 hover:opacity-100 bg-gradient-to-r from-indigo-600/80 to-blue-600/80 hover:backdrop-blur transition-all\">\n <div className=\"flex items-center text-white\">\n <span className=\"mr-2\">立即阅读</span>\n <span>\n <ArrowRight />\n </span>\n </div>\n </div>\n </div>\n <div className={`${card ? 'px-6' : 'px-2'} py-4`}>\n <h4 className=\"mb-3 py-1 text-xl truncate dark:text-gray-100\">\n {data.frontmatter.title}\n </h4>\n <p\n className={`${\n clamp ? 'h-10 line-clamp-2' : ''\n } mt-2 mb-3 text-sm text-gray-500`}\n >\n {data.excerpt}\n </p>\n <div className=\"flex items-center justify-between\">\n <Author author={data.frontmatter.author} />\n <p className=\"text-sm text-gray-400\">{data.frontmatter.date}</p>\n </div>\n </div>\n </Link>\n </div>\n )\n}\n\nPostCard.propTypes = {\n data: PropTypes.object.isRequired,\n clamp: PropTypes.bool,\n card: PropTypes.bool,\n}\n\nPostCard.defaultProps = {\n card: true,\n clamp: false,\n}\n","import React from 'react'\nimport { Link } from 'gatsby'\n\nexport default function Tag(props) {\n const { children } = props\n\n return (\n <Link to={`/tags#tag-${children.toString()}`}>\n <span className=\"block px-2 py-1 rounded-md text-sm bg-yellow-100 text-yellow-700\">\n {children}\n </span>\n </Link>\n )\n}\n","import React from 'react'\nimport PropTypes from 'prop-types'\n\nimport Tag from '../Tag'\n\nexport default function TagList(props) {\n const { tags } = props\n\n return (\n <ul className=\"flex flex-wrap -mx-1\">\n {tags.map((item) => (\n <li key={item} className=\"m-1\">\n <Tag>{item}</Tag>\n </li>\n ))}\n </ul>\n )\n}\n\nTagList.propTypes = {\n tags: PropTypes.array,\n}\n\nTagList.defaultProps = {\n tags: [],\n}\n","function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = _objectWithoutPropertiesLoose(source, excluded);\n\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\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\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\n return target;\n}\n\nimport React, { forwardRef } from 'react';\nvar ArrowLeft = forwardRef(function (_ref, ref) {\n var _ref$color = _ref.color,\n color = _ref$color === void 0 ? 'currentColor' : _ref$color,\n _ref$size = _ref.size,\n size = _ref$size === void 0 ? 24 : _ref$size,\n rest = _objectWithoutProperties(_ref, [\"color\", \"size\"]);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n ref: ref,\n xmlns: \"http://www.w3.org/2000/svg\",\n width: size,\n height: size,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: color,\n strokeWidth: \"2\",\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }, rest), /*#__PURE__*/React.createElement(\"line\", {\n x1: \"19\",\n y1: \"12\",\n x2: \"5\",\n y2: \"12\"\n }), /*#__PURE__*/React.createElement(\"polyline\", {\n points: \"12 19 5 12 12 5\"\n }));\n});\nArrowLeft.displayName = 'ArrowLeft';\nexport default ArrowLeft;","function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = _objectWithoutPropertiesLoose(source, excluded);\n\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\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\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\n return target;\n}\n\nimport React, { forwardRef } from 'react';\nvar Clock = forwardRef(function (_ref, ref) {\n var _ref$color = _ref.color,\n color = _ref$color === void 0 ? 'currentColor' : _ref$color,\n _ref$size = _ref.size,\n size = _ref$size === void 0 ? 24 : _ref$size,\n rest = _objectWithoutProperties(_ref, [\"color\", \"size\"]);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n ref: ref,\n xmlns: \"http://www.w3.org/2000/svg\",\n width: size,\n height: size,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: color,\n strokeWidth: \"2\",\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }, rest), /*#__PURE__*/React.createElement(\"circle\", {\n cx: \"12\",\n cy: \"12\",\n r: \"10\"\n }), /*#__PURE__*/React.createElement(\"polyline\", {\n points: \"12 6 12 12 16 14\"\n }));\n});\nClock.displayName = 'Clock';\nexport default Clock;","import React from 'react'\nimport PropTypes from 'prop-types'\n\nexport default function ProgressBar(props) {\n const { value } = props\n\n return (\n <div className=\"w-full h-1 bg-blue-100\">\n <div style={{ width: `${value}%` }} className=\"h-full bg-blue-600\" />\n </div>\n )\n}\n\nProgressBar.propTypes = {\n value: PropTypes.number,\n}\n\nProgressBar.defaultProps = {\n value: 0,\n}\n","import React, { useState, useEffect, useRef } from 'react'\nimport PropTypes from 'prop-types'\n\nexport default function Anchor(props) {\n const { children, offsetTop } = props\n\n const container = useRef(null)\n const [offsetWidth, setOffsetWidth] = useState(0)\n const [offsetLeft, setOffsetLeft] = useState(0)\n const [isPinned, setIsPinned] = useState(false)\n\n useEffect(() => {\n const maxTop = container.current.offsetTop\n\n setOffsetLeft(container.current.offsetLeft)\n setOffsetWidth(container.current.offsetWidth)\n\n const handleScroll = () => {\n const { scrollTop } = document.documentElement\n\n if (maxTop - scrollTop <= offsetTop) {\n setIsPinned(true)\n } else {\n setIsPinned(false)\n }\n }\n\n handleScroll()\n\n window.addEventListener('scroll', handleScroll)\n\n return () => {\n window.removeEventListener('scroll', handleScroll)\n }\n }, [])\n\n useEffect(() => {\n const handleResize = () => {\n setOffsetLeft(container.current.parentNode.offsetLeft)\n setOffsetWidth(container.current.parentNode.offsetWidth)\n }\n\n window.addEventListener('resize', handleResize)\n\n return () => {\n window.removeEventListener('resize', handleResize)\n }\n }, [])\n\n return (\n <div\n ref={container}\n style={{\n position: isPinned ? 'fixed' : 'static',\n left: `${offsetLeft}px`,\n top: `${offsetTop}px`,\n width: isPinned ? `${offsetWidth}px` : '',\n }}\n >\n {children}\n </div>\n )\n}\n\nAnchor.propTypes = {\n children: PropTypes.node.isRequired,\n offsetTop: PropTypes.number,\n}\n\nAnchor.defaultProps = {\n offsetTop: 0,\n}\n","import React, { useState, useEffect, useRef } from 'react'\nimport { graphql, Link } from 'gatsby'\nimport Helmet from 'react-helmet'\nimport { ArrowLeft, Clock } from 'react-feather'\nimport _ from 'lodash'\n\nimport Layout from '../components/Layout'\nimport TagList from '../components/TagList'\nimport ProgressBar from '../components/ProgressBar'\nimport PostCard from '../components/PostCard'\nimport Anchor from '../components/Anchor'\nimport Author from '../components/Author'\n\nexport const query = graphql`\n query PostBySlug($slug: String!) {\n site {\n siteMetadata {\n name\n thumbnail\n }\n }\n\n markdownRemark(fields: { slug: { eq: $slug } }) {\n frontmatter {\n title\n tags\n cover\n date\n author\n }\n excerpt\n html\n timeToRead\n headings {\n value\n depth\n }\n }\n }\n`\n\nexport default function PostTemplate(props) {\n const { data, pageContext } = props\n const { siteMetadata } = data.site\n\n const post = data.markdownRemark\n const tags = post.frontmatter.tags || []\n\n const inlineStyleOfPostHeading = {}\n\n if (post.frontmatter.cover) {\n inlineStyleOfPostHeading.backgroundImage = `url(${post.frontmatter.cover})`\n }\n\n const pageTitle = `${post.frontmatter.title} - 由作者${siteMetadata.name}发布于 ${post.frontmatter.date}`\n\n const [pageLink, setPageLink] = useState()\n\n useEffect(() => {\n setPageLink(window.location.href)\n }, [])\n\n const markdownContainer = useRef(null)\n const [readingProgress, setReadingProgress] = useState(0)\n\n useEffect(() => {\n const height = markdownContainer.current.offsetHeight\n const top = markdownContainer.current.offsetTop\n const min = top\n const max = height + top - window.innerHeight\n\n const handleScroll = () => {\n const t = document.documentElement.scrollTop\n\n if (t < min) {\n setReadingProgress(0)\n } else if (t > max) {\n setReadingProgress(100)\n } else {\n setReadingProgress(Math.round(((t - min) / (max - min)) * 100))\n }\n }\n\n window.addEventListener('scroll', handleScroll)\n\n return () => {\n window.removeEventListener('scroll', handleScroll)\n }\n }, [])\n\n const maxDepth = _.minBy(post.headings, 'depth')?.depth\n const headings = _.map(\n _.filter(post.headings, { depth: maxDepth }),\n (item) => {\n return _.kebabCase(item.value)\n }\n )\n const markdownBody = useRef(null)\n\n useEffect(() => {\n if (!maxDepth) {\n return\n }\n\n const hs = Array.from(\n markdownBody.current.querySelectorAll(`h${maxDepth}`)\n ).reverse()\n\n const handleScroll = _.debounce(() => {\n const target = _.find(hs, (h) => {\n return document.documentElement.scrollTop >= h.offsetTop - 60\n })\n\n if (!target) {\n setActiveAnchor('')\n return\n }\n\n const anchor = target.querySelector('.anchor')\n\n if (!anchor) {\n return\n }\n\n const to = decodeURIComponent(anchor.getAttribute('href'))\n const toName = to.substring(1)\n\n setActiveAnchor(toName)\n }, 500)\n\n window.addEventListener('scroll', handleScroll)\n\n return () => {\n window.removeEventListener('scroll', handleScroll)\n }\n }, [maxDepth])\n\n const [activeAnchor, setActiveAnchor] = useState('')\n\n useEffect(() => {\n const handleHashChange = () => {\n const hash = window.location.hash.substring(1)\n\n if (!hash) {\n setActiveAnchor('')\n return\n }\n\n const target = decodeURIComponent(hash)\n\n setActiveAnchor(target)\n }\n\n window.addEventListener('hashchange', handleHashChange)\n\n return () => {\n window.removeEventListener('hashchange', handleHashChange)\n }\n }, [])\n\n const others = pageContext.random || []\n\n return (\n <Layout>\n <Helmet>\n <title>{pageTitle}</title>\n {/* Google / Search Engine Tags */}\n <meta itemProp=\"name\" content={pageTitle} />\n <meta itemProp=\"description\" content={pageContext.excerpt} />\n <meta\n itemProp=\"image\"\n content={post.frontmatter.cover || siteMetadata.thumbnail}\n />\n {/* Facebook Meta Tags */}\n <meta property=\"og:url\" content={pageLink} />\n <meta property=\"og:type\" content=\"website\" />\n <meta property=\"og:title\" content={pageTitle} />\n <meta property=\"og:description\" content={pageContext.excerpt} />\n <meta\n property=\"og:image\"\n content={post.frontmatter.cover || siteMetadata.thumbnail}\n />\n {/* Twitter Meta Tags */}\n <meta name=\"twitter:card\" content=\"summary_large_image\" />\n <meta name=\"twitter:title\" content={pageTitle} />\n <meta name=\"twitter:description\" content={pageContext.excerpt} />\n <meta\n name=\"twitter:image\"\n content={post.frontmatter.cover || siteMetadata.thumbnail}\n />\n </Helmet>\n <div\n className=\"px-4 md:px-0 bg-gray-50 dark:bg-gray-900 bg-cover\"\n style={inlineStyleOfPostHeading}\n >\n <div className=\"relative\">\n <div className=\"container relative z-10 mx-auto py-44\">\n <TagList tags={tags} />\n <h1 className=\"py-6 text-5xl font-extrabold text-gray-900 dark:text-gray-100\">\n {post.frontmatter.title}\n </h1>\n <div className=\"flex items-center\">\n <div className=\"mr-4\">\n <Author author={post.frontmatter.author} />\n </div>\n <div className=\"text-base text-gray-700 dark:text-gray-500\">\n {post.frontmatter.date}\n </div>\n </div>\n </div>\n <div className=\"absolute left-0 top-0 w-2/3 h-full bg-gradient-to-r from-gray-500 dark:from-gray-900\"></div>\n </div>\n </div>\n <div className=\"dark:bg-gray-900 dark:text-gray-100\">\n <div\n className=\"mx-10 lg:container lg:mx-auto py-10 md:py-20\"\n ref={markdownContainer}\n >\n <div className=\"md:flex\">\n <div className=\"w-full md:w-1/4 mb-16 md:mb-0 mr-4 md:mr-6 lg:pr-16\">\n <Anchor offsetTop={100}>\n <div className=\"divide-y\">\n <div>\n <div className=\"flex items-center mb-8 text-blue-600\">\n <ArrowLeft />\n <Link className=\"ml-2 font-bold\" to=\"/\">\n 返回首页\n </Link>\n </div>\n <ProgressBar value={readingProgress} />\n {post.timeToRead ? (\n <div className=\"flex items-center justify-center py-8 text-sm text-gray-700 dark:text-gray-500\">\n <Clock size={18} />\n <span className=\"block mx-2\">\n 阅读大约 {post.timeToRead} 分钟\n </span>\n </div>\n ) : null}\n </div>\n <ul className=\"pt-8 pl-2\">\n {headings.map((item, index) => (\n <li key={item}>\n <a\n className={`flex items-center my-3 text-gray-600 dark:text-gray-400 cursor-pointer text-sm ${\n item === activeAnchor ? 'text-blue-600' : ''\n }`}\n href={`#${item}`}\n >\n <span\n className={`block w-1.5 h-1.5 mr-3 bg-blue-600 rounded-full ${\n item === activeAnchor\n ? 'opacity-100'\n : 'opacity-0'\n } `}\n ></span>\n <span>\n {index + 1}. {item}\n </span>\n </a>\n </li>\n ))}\n </ul>\n </div>\n </Anchor>\n </div>\n <div className=\"w-3/4\">\n <article\n ref={markdownBody}\n className=\"markdown-body\"\n dangerouslySetInnerHTML={{ __html: post.html }}\n />\n </div>\n </div>\n </div>\n <div className=\"relative pt-20 pb-28 bg-white dark:bg-gray-900\">\n <div className=\"mb-12 text-3xl text-center\">其他文章</div>\n <ul className=\"md:flex mx-10 lg:mx-32 xl:mx-48 2xl:mx-60 justify-center md:space-x-6 xl:space-x-8 space-y-6 md:space-y-0\">\n {others.map((item) => (\n <li key={item.id} className=\"md:w-1/3\">\n <PostCard data={item} card={false} clamp />\n </li>\n ))}\n </ul>\n </div>\n </div>\n </Layout>\n )\n}\n","/**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\nfunction arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n}\n\nmodule.exports = arrayReduce;\n","/** Used to match words composed of alphanumeric characters. */\nvar reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n/**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\nfunction asciiWords(string) {\n return string.match(reAsciiWord) || [];\n}\n\nmodule.exports = asciiWords;\n","var isSymbol = require('./isSymbol');\n\n/**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\nfunction baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseExtremum;\n","var baseEach = require('./_baseEach');\n\n/**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n}\n\nmodule.exports = baseFilter;\n","/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n","/**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\nfunction baseLt(value, other) {\n return value < other;\n}\n\nmodule.exports = baseLt;\n","/**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = basePropertyOf;\n","var arrayReduce = require('./_arrayReduce'),\n deburr = require('./deburr'),\n words = require('./words');\n\n/** Used to compose unicode capture groups. */\nvar rsApos = \"['\\u2019]\";\n\n/** Used to match apostrophes. */\nvar reApos = RegExp(rsApos, 'g');\n\n/**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\nfunction createCompounder(callback) {\n return function(string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\n}\n\nmodule.exports = createCompounder;\n","var baseIteratee = require('./_baseIteratee'),\n isArrayLike = require('./isArrayLike'),\n keys = require('./keys');\n\n/**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\nfunction createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = baseIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n}\n\nmodule.exports = createFind;\n","var basePropertyOf = require('./_basePropertyOf');\n\n/** Used to map Latin Unicode letters to basic Latin letters. */\nvar deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n '\\xc7': 'C', '\\xe7': 'c',\n '\\xd0': 'D', '\\xf0': 'd',\n '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n '\\xcc': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n '\\xec': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n '\\xd1': 'N', '\\xf1': 'n',\n '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n '\\xc6': 'Ae', '\\xe6': 'ae',\n '\\xde': 'Th', '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n '\\u0100': 'A', '\\u0102': 'A', '\\u0104': 'A',\n '\\u0101': 'a', '\\u0103': 'a', '\\u0105': 'a',\n '\\u0106': 'C', '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n '\\u0107': 'c', '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n '\\u010e': 'D', '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n '\\u0112': 'E', '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n '\\u0113': 'e', '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n '\\u011c': 'G', '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n '\\u011d': 'g', '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n '\\u0124': 'H', '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n '\\u0128': 'I', '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n '\\u0129': 'i', '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n '\\u0134': 'J', '\\u0135': 'j',\n '\\u0136': 'K', '\\u0137': 'k', '\\u0138': 'k',\n '\\u0139': 'L', '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n '\\u013a': 'l', '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n '\\u0143': 'N', '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n '\\u0144': 'n', '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n '\\u014c': 'O', '\\u014e': 'O', '\\u0150': 'O',\n '\\u014d': 'o', '\\u014f': 'o', '\\u0151': 'o',\n '\\u0154': 'R', '\\u0156': 'R', '\\u0158': 'R',\n '\\u0155': 'r', '\\u0157': 'r', '\\u0159': 'r',\n '\\u015a': 'S', '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n '\\u015b': 's', '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n '\\u0162': 'T', '\\u0164': 'T', '\\u0166': 'T',\n '\\u0163': 't', '\\u0165': 't', '\\u0167': 't',\n '\\u0168': 'U', '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n '\\u0169': 'u', '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n '\\u0174': 'W', '\\u0175': 'w',\n '\\u0176': 'Y', '\\u0177': 'y', '\\u0178': 'Y',\n '\\u0179': 'Z', '\\u017b': 'Z', '\\u017d': 'Z',\n '\\u017a': 'z', '\\u017c': 'z', '\\u017e': 'z',\n '\\u0132': 'IJ', '\\u0133': 'ij',\n '\\u0152': 'Oe', '\\u0153': 'oe',\n '\\u0149': \"'n\", '\\u017f': 's'\n};\n\n/**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\nvar deburrLetter = basePropertyOf(deburredLetters);\n\nmodule.exports = deburrLetter;\n","/** Used to detect strings that need a more robust regexp to match words. */\nvar reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n/**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\nfunction hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n}\n\nmodule.exports = hasUnicodeWord;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsDingbatRange = '\\\\u2700-\\\\u27bf',\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = '\\\\u2000-\\\\u206f',\n rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = '\\\\ufe0e\\\\ufe0f',\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n/** Used to compose unicode capture groups. */\nvar rsApos = \"['\\u2019]\",\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq;\n\n/** Used to match complex or compound words. */\nvar reUnicodeWord = RegExp([\n rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n rsUpper + '+' + rsOptContrUpper,\n rsOrdUpper,\n rsOrdLower,\n rsDigits,\n rsEmoji\n].join('|'), 'g');\n\n/**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\nfunction unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n}\n\nmodule.exports = unicodeWords;\n","var deburrLetter = require('./_deburrLetter'),\n toString = require('./toString');\n\n/** Used to match Latin Unicode letters (excluding mathematical operators). */\nvar reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n/** Used to compose unicode character classes. */\nvar rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange;\n\n/** Used to compose unicode capture groups. */\nvar rsCombo = '[' + rsComboRange + ']';\n\n/**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\nvar reComboMark = RegExp(rsCombo, 'g');\n\n/**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\nfunction deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n}\n\nmodule.exports = deburr;\n","var arrayFilter = require('./_arrayFilter'),\n baseFilter = require('./_baseFilter'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\n\n/**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\nfunction filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = filter;\n","var createFind = require('./_createFind'),\n findIndex = require('./findIndex');\n\n/**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\nvar find = createFind(findIndex);\n\nmodule.exports = find;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIteratee = require('./_baseIteratee'),\n toInteger = require('./toInteger');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\nfunction findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, baseIteratee(predicate, 3), index);\n}\n\nmodule.exports = findIndex;\n","var createCompounder = require('./_createCompounder');\n\n/**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\nvar kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n});\n\nmodule.exports = kebabCase;\n","var baseExtremum = require('./_baseExtremum'),\n baseIteratee = require('./_baseIteratee'),\n baseLt = require('./_baseLt');\n\n/**\n * This method is like `_.min` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * the value is ranked. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * _.minBy(objects, function(o) { return o.n; });\n * // => { 'n': 1 }\n *\n * // The `_.property` iteratee shorthand.\n * _.minBy(objects, 'n');\n * // => { 'n': 1 }\n */\nfunction minBy(array, iteratee) {\n return (array && array.length)\n ? baseExtremum(array, baseIteratee(iteratee, 2), baseLt)\n : undefined;\n}\n\nmodule.exports = minBy;\n","var toNumber = require('./toNumber');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;\n","var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n","var asciiWords = require('./_asciiWords'),\n hasUnicodeWord = require('./_hasUnicodeWord'),\n toString = require('./toString'),\n unicodeWords = require('./_unicodeWords');\n\n/**\n * Splits `string` into an array of its words.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {RegExp|string} [pattern] The pattern to match words.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the words of `string`.\n * @example\n *\n * _.words('fred, barney, & pebbles');\n * // => ['fred', 'barney', 'pebbles']\n *\n * _.words('fred, barney, & pebbles', /[^, ]+/g);\n * // => ['fred', 'barney', '&', 'pebbles']\n */\nfunction words(string, pattern, guard) {\n string = toString(string);\n pattern = guard ? undefined : pattern;\n\n if (pattern === undefined) {\n return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);\n }\n return string.match(pattern) || [];\n}\n\nmodule.exports = words;\n"],"names":["Author","props","author","data","useStaticQuery","authors","split","map","item","trim","avatars","target","site","siteMetadata","find","name","avatar","className","index","key","src","alt","defaultProps","_extends","Object","assign","i","arguments","length","source","prototype","hasOwnProperty","call","apply","this","_objectWithoutProperties","excluded","sourceKeys","keys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","ArrowRight","forwardRef","_ref","ref","_ref$color","color","_ref$size","size","rest","xmlns","width","height","viewBox","fill","stroke","strokeWidth","strokeLinecap","strokeLinejoin","x1","y1","x2","y2","points","displayName","PostCard","card","clamp","to","fields","permalink","frontmatter","cover","title","excerpt","date","Tag","children","toString","TagList","tags","ArrowLeft","Clock","cx","cy","r","ProgressBar","value","style","Anchor","offsetTop","container","useRef","useState","offsetWidth","setOffsetWidth","offsetLeft","setOffsetLeft","isPinned","setIsPinned","useEffect","maxTop","current","handleScroll","scrollTop","document","documentElement","window","addEventListener","removeEventListener","handleResize","parentNode","position","left","top","PostTemplate","pageContext","post","markdownRemark","inlineStyleOfPostHeading","backgroundImage","pageTitle","pageLink","setPageLink","location","href","markdownContainer","readingProgress","setReadingProgress","offsetHeight","min","max","innerHeight","t","Math","round","maxDepth","headings","depth","markdownBody","hs","Array","from","querySelectorAll","reverse","h","anchor","querySelector","toName","decodeURIComponent","getAttribute","substring","setActiveAnchor","activeAnchor","handleHashChange","hash","others","random","Layout","Helmet","itemProp","content","thumbnail","property","timeToRead","dangerouslySetInnerHTML","__html","html","id","module","exports","array","iteratee","accumulator","initAccum","reAsciiWord","string","match","isSymbol","comparator","undefined","computed","result","baseEach","collection","predicate","push","fromIndex","fromRight","other","object","arrayReduce","deburr","words","reApos","RegExp","callback","replace","baseIteratee","isArrayLike","findIndexFunc","iterable","deburrLetter","basePropertyOf","reHasUnicodeWord","test","rsDingbatRange","rsLowerRange","rsUpperRange","rsBreakRange","rsMathOpRange","rsBreak","rsDigits","rsDingbat","rsLower","rsMisc","rsRegional","rsSurrPair","rsUpper","rsMiscLower","rsMiscUpper","rsOptContrLower","rsOptContrUpper","reOptMod","rsModifier","rsOptVar","rsSeq","join","rsEmoji","reUnicodeWord","reLatin","reComboMark","arrayFilter","baseFilter","isArray","createFind","baseFindIndex","toInteger","nativeMax","kebabCase","createCompounder","word","toLowerCase","baseExtremum","baseLt","toNumber","INFINITY","toFinite","remainder","asciiWords","hasUnicodeWord","unicodeWords","pattern","guard"],"sourceRoot":""}