aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/component---src-pages-404-tsx-87731b18d61c4e913caf.js.map
blob: ff1983560cd78edee4894c8c43535459ccde4066 (plain) (blame)
1
{"version":3,"file":"component---src-pages-404-tsx-87731b18d61c4e913caf.js","mappings":"yKAGO,SAASA,IACd,MAAM,OAAEC,EAAM,YAAEC,EAAW,MAAEC,IAAUC,EAAAA,EAAAA,KAEvC,OACEC,EAAAA,cAAAA,EAAAA,SAAAA,KACEA,EAAAA,cAAAA,OAAAA,CAAMC,KAAK,sBAAsBC,QAASL,QAAAA,EAAe,KACzDG,EAAAA,cAAAA,OAAAA,CAAMC,KAAK,gBAAgBC,QAASJ,QAAAA,EAAS,KAC7CE,EAAAA,cAAAA,OAAAA,CAAMC,KAAK,kBAAkBC,QAASN,QAAAA,EAAU,KAChDI,EAAAA,cAAAA,OAAAA,CAAMC,KAAK,eAAeC,QAAQ,YAClCF,EAAAA,cAAAA,OAAAA,CAAMC,KAAK,cAAcC,QAASL,QAAAA,EAAe,KACjDG,EAAAA,cAAAA,QAAAA,KAAQF,GAGd,C,qGCAA,MARkBK,IAAkD,IAAjD,SAAEC,KAAaC,GAA4B,EAC5D,OACEL,EAAAA,cAACM,EAAAA,GAAS,CAACC,MAAO,CAAEC,MAAM,IACxBR,EAAAA,cAACS,EAAAA,GAAgBJ,EAAaD,GACpB,E,oBCZhB,MAAMM,EACJ,iEAAiEC,MAAM,IAoClE,SAASC,EAAaC,GAC3B,IAAIC,EAAM,GAGV,KAAOD,EAAO,GACZC,EAAMJ,EAAYG,EAHR,IAGsBC,EAChCD,EAAOE,KAAKC,MAAMH,EAJR,IAOZ,OAAOC,CACT,CCbA,MAtBeX,IAAgC,IAA/B,SAAEC,GAAuB,EACvC,MAAMa,GAAUC,EAAAA,EAAAA,KAChB,OACElB,EAAAA,cAACA,EAAAA,WAAgB,KACfA,EAAAA,cAAAA,OAAAA,KACEA,EAAAA,cAACmB,EAAAA,GAAAA,SAAoB,CACnBC,MAAO,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C,EAAQC,GAEtB,OAAO,SAAUjC,GACf,OAAO,gBAAoBkC,EAAU5B,EAAS,CAC5CD,KAAMC,EAAS,CAAC,EAAG2B,EAAK5B,OACvBL,GAAQ0B,EAAaO,EAAKF,OAC/B,CACF,CACO,SAASG,EAASlC,GACvB,IAAImC,EAAO,SAAUC,GACnB,IAKIhC,EALAC,EAAOL,EAAMK,KACfhC,EAAO2B,EAAM3B,KACbvB,EAAQkD,EAAMlD,MACduF,EAAWhB,EAAOrB,EAAO,CAAC,OAAQ,OAAQ,UACxCsC,EAAejE,GAAQ+D,EAAK/D,MAAQ,MAIxC,OAFI+D,EAAKhC,YAAWA,EAAYgC,EAAKhC,WACjCJ,EAAMI,YAAWA,GAAaA,EAAYA,EAAY,IAAM,IAAMJ,EAAMI,WACrE,gBAAoB,MAAOE,EAAS,CACzCiC,OAAQ,eACRC,KAAM,eACNC,YAAa,KACZL,EAAK/B,KAAMA,EAAMgC,EAAU,CAC5BjC,UAAWA,EACX9B,MAAOgC,EAASA,EAAS,CACvBJ,MAAOF,EAAME,OAASkC,EAAKlC,OAC1BkC,EAAK9D,OAAQ0B,EAAM1B,OACtBoE,OAAQJ,EACRK,MAAOL,EACPM,MAAO,+BACL9F,GAAS,gBAAoB,QAAS,KAAMA,GAAQkD,EAAM5C,SAChE,EACA,YAAuB+C,IAAhBhC,EAA4B,gBAAoBA,EAAY0E,SAAU,MAAM,SAAUT,GAC3F,OAAOD,EAAKC,EACd,IAAKD,EAAKlC,EACZ,C","sources":["webpack://submelon.dev/./src/components/SEO.tsx","webpack://submelon.dev/./src/components/BlockLink.tsx","webpack://submelon.dev/./src/util/timestamp.ts","webpack://submelon.dev/./src/components/Layout.tsx","webpack://submelon.dev/./src/hooks/SiteMetadata.ts","webpack://submelon.dev/./src/hooks/SiteVersion.ts","webpack://submelon.dev/./src/pages/404.tsx","webpack://submelon.dev/./src/styles/BlockAnchor.ts","webpack://submelon.dev/./src/styles/BlockBody.ts","webpack://submelon.dev/./src/styles/BlockHeader.ts","webpack://submelon.dev/./src/styles/Content.ts","webpack://submelon.dev/./src/styles/Footer.ts","webpack://submelon.dev/./node_modules/react-icons/lib/esm/iconsManifest.js","webpack://submelon.dev/./node_modules/react-icons/lib/esm/iconContext.js","webpack://submelon.dev/./node_modules/react-icons/lib/esm/iconBase.js"],"sourcesContent":["import React from \"react\";\nimport { useSiteMetadata } from \"../hooks\";\n\nexport function Head(): React.ReactElement {\n  const { author, description, title } = useSiteMetadata();\n\n  return (\n    <>\n      <meta name=\"twitter:description\" content={description ?? \"\"} />\n      <meta name=\"twitter:title\" content={title ?? \"\"} />\n      <meta name=\"twitter:creator\" content={author ?? \"\"} />\n      <meta name=\"twitter:card\" content=\"summary\" />\n      <meta name=\"description\" content={description ?? \"\"} />\n      <title>{title}</title>\n    </>\n  );\n}\n","import React from \"react\";\nimport { BlockAnchor, BlockBody } from \"../styles\";\n\ntype BlockLinkProps = {\n  children?: React.ReactNode;\n  as?: undefined;\n} & React.LinkHTMLAttributes<HTMLAnchorElement>;\n\nconst BlockLink = ({ children, ...attributes }: BlockLinkProps) => {\n  return (\n    <BlockBody theme={{ link: true }}>\n      <BlockAnchor {...attributes}>{children}</BlockAnchor>\n    </BlockBody>\n  );\n};\n\nexport default BlockLink;\n","const SHORT_CHARS =\n  \"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\".split(\"\");\n\n/**\n * Transforms a number into a custom 62 char expression of that number,\n * effectively making a \"short\" version of that number (0-9a-zA-Z). This does\n * NOT convert to a base-62 number.\n *\n * There are vast gaps in the effective translation of numbers, which is why\n * this function is mostly for concisely translating dates prior to the year\n * 2063. Since all other values associated with dates (month, day, hours,\n * minutes, seconds) effectively fall within the range of a single character,\n * this is an accepted shortcoming.\n *\n * Examples:\n *\n * 0 = 0\n *\n * 48 = M\n *\n * 2022 = km (in base-62 this would be wC)\n *\n * @deprecated {@link encodeBase62} is now used to generate the timestamp instead\n */\nexport function toShort(valu: number): string {\n  return (\n    valu\n      .toString()\n      .match(/.{1,2}/g)\n      ?.map((s) => SHORT_CHARS[parseInt(s)])\n      .join(\"\") ?? \"\"\n  );\n}\n\n/**\n * Encodes a number as a base-62 value string.\n */\nexport function encodeBase62(valu: number): string {\n  let res = \"\";\n  const mod = 62;\n\n  while (valu > 0) {\n    res = SHORT_CHARS[valu % mod] + res;\n    valu = Math.floor(valu / mod);\n  }\n\n  return res;\n}\n\n/**\n * Translates a Unix EPOCH timestamp to a 62-char expression of the date. See\n * the `toShort()` method for more details on the meaning of the final output.\n */\nexport function getTimestamp(seconds: number): string {\n  const date = new Date(seconds * 1000);\n  const dateArr = [\n    date.getUTCFullYear(),\n    date.getUTCMonth(),\n    date.getUTCDate(),\n    date.getUTCHours(),\n    date.getUTCMinutes(),\n  ];\n\n  return dateArr.map(encodeBase62).join(\".\") + \"-0\";\n}\n","import React from \"react\";\nimport { IconContext } from \"react-icons/lib\";\nimport { Content, Footer } from \"../styles\";\nimport { useSiteVersion } from \"../hooks\";\nimport { getTimestamp } from \"../util/timestamp\";\n\nimport \"../styles/main.css\";\n\ninterface LayoutProps {\n  children: React.ReactNode;\n}\n\nconst Layout = ({ children }: LayoutProps) => {\n  const version = useSiteVersion();\n  return (\n    <React.StrictMode>\n      <main>\n        <IconContext.Provider\n          value={{ size: \"20\", style: { marginBottom: \"-4px\" } }}\n        >\n          <Content>{children}</Content>\n\n          <Footer>\n            <span>\n              &copy;2023 kjhoerr@https://submelon.dev/:\n              {getTimestamp(Number(version))}\n            </span>\n          </Footer>\n        </IconContext.Provider>\n      </main>\n    </React.StrictMode>\n  );\n};\n\nexport default Layout;\n","import { useStaticQuery, graphql } from \"gatsby\";\n\ntype SiteMetadata = NonNullable<\n  NonNullable<Queries.getSiteMetadataQuery[\"site\"]>[\"siteMetadata\"]\n>;\n\nexport const useSiteMetadata = (): SiteMetadata => {\n  const { site } = useStaticQuery<Queries.getSiteMetadataQuery>(graphql`\n    query getSiteMetadata {\n      site {\n        siteMetadata {\n          author\n          description\n          title\n        }\n      }\n    }\n  `);\n\n  return site?.siteMetadata ?? ({} as SiteMetadata);\n};\n","import { useStaticQuery, graphql } from \"gatsby\";\n\ntype SiteVersion = NonNullable<\n  NonNullable<Queries.getSiteVersionQuery[\"site\"]>[\"siteMetadata\"]\n>[\"version\"];\n\nexport const useSiteVersion = (): SiteVersion => {\n  const { site } = useStaticQuery<Queries.getSiteVersionQuery>(graphql`\n    query getSiteVersion {\n      site {\n        siteMetadata {\n          version\n        }\n      }\n    }\n  `);\n\n  return site?.siteMetadata?.version ?? \"0\";\n};\n","import React from \"react\";\nimport { BlockLink, Layout } from \"../components\";\nimport { BlockBody, BlockHeader } from \"../styles\";\n\nconst NotFoundPage = (): React.ReactElement => {\n  return (\n    <Layout>\n      <BlockHeader>Not found</BlockHeader>\n      <BlockBody>\n        Sorry{\" \"}\n        <span role=\"img\" aria-label=\"Pensive emoji\">\n          😔\n        </span>{\" \"}\n        we couldn&apos;t find what you were looking for.\n      </BlockBody>\n      <BlockLink href=\"/\" aria-label=\"Return to the front page\">\n        Home\n      </BlockLink>\n    </Layout>\n  );\n};\n\nexport default NotFoundPage;\nexport { Head } from \"../components/SEO\";\n","import styled from \"styled-components\";\n\nexport default styled.a`\n  padding: 8px;\n  width: 328px;\n  display: block;\n  text-align: center;\n  -webkit-text-decoration: none;\n  text-decoration: none;\n  color: #666;\n  &:visited,\n  &:active {\n    padding: 8px;\n    width: 328px;\n    display: block;\n    text-align: center;\n    -webkit-text-decoration: none;\n    text-decoration: none;\n    color: #666;\n  }\n`;\n","import styled from \"styled-components\";\nimport BlockAnchor from \"./BlockAnchor\";\n\nexport default styled.div`\n  & + & {\n    margin-top: 3px;\n  }\n\n  background-color: #fff;\n  border: 1px #000 solid;\n  border-left: 3px #000 solid;\n  border-right: 3px #000 solid;\n\n  padding: ${(props) => (props.theme.link ? \"0\" : \"4px 8px\")};\n\n  & > ${BlockAnchor} {\n    &:hover {\n      background-color: #ddd;\n      color: #222;\n    }\n  }\n  &:last-child,\n  &:last-child > ${BlockAnchor} {\n    border-bottom-left-radius: 18px;\n    border-bottom-right-radius: 18px;\n  }\n`;\n","import styled from \"styled-components\";\n\nexport default styled.div`\n  background-color: #000;\n  width: 100%;\n  text-align: center;\n  color: #fff;\n  font-size: 36px;\n  font-weight: bold;\n  margin-top: 3px;\n  padding-top: 4px;\n`;\n","import styled from \"styled-components\";\n\nexport default styled.div`\n  width: 350px;\n  margin: 0px auto;\n  margin-bottom: 120px;\n  padding-top: 136px;\n`;\n","import styled from \"styled-components\";\n\nexport default styled.div`\n  width: 100%;\n  position: fixed;\n  left: 0px;\n  bottom: 0px;\n  text-align: center;\n  font-size: 12px;\n  span {\n    background-color: #e1e1e1;\n  }\n`;\n","export var IconsManifest = [\n  {\n    \"id\": \"ci\",\n    \"name\": \"Circum Icons\",\n    \"projectUrl\": \"https://circumicons.com/\",\n    \"license\": \"MPL-2.0 license\",\n    \"licenseUrl\": \"https://github.com/Klarr-Agency/Circum-Icons/blob/main/LICENSE\"\n  },\n  {\n    \"id\": \"fa\",\n    \"name\": \"Font Awesome 5\",\n    \"projectUrl\": \"https://fontawesome.com/\",\n    \"license\": \"CC BY 4.0 License\",\n    \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n  },\n  {\n    \"id\": \"io\",\n    \"name\": \"Ionicons 4\",\n    \"projectUrl\": \"https://ionicons.com/\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://github.com/ionic-team/ionicons/blob/master/LICENSE\"\n  },\n  {\n    \"id\": \"io5\",\n    \"name\": \"Ionicons 5\",\n    \"projectUrl\": \"https://ionicons.com/\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://github.com/ionic-team/ionicons/blob/master/LICENSE\"\n  },\n  {\n    \"id\": \"md\",\n    \"name\": \"Material Design icons\",\n    \"projectUrl\": \"http://google.github.io/material-design-icons/\",\n    \"license\": \"Apache License Version 2.0\",\n    \"licenseUrl\": \"https://github.com/google/material-design-icons/blob/master/LICENSE\"\n  },\n  {\n    \"id\": \"ti\",\n    \"name\": \"Typicons\",\n    \"projectUrl\": \"http://s-ings.com/typicons/\",\n    \"license\": \"CC BY-SA 3.0\",\n    \"licenseUrl\": \"https://creativecommons.org/licenses/by-sa/3.0/\"\n  },\n  {\n    \"id\": \"go\",\n    \"name\": \"Github Octicons icons\",\n    \"projectUrl\": \"https://octicons.github.com/\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://github.com/primer/octicons/blob/master/LICENSE\"\n  },\n  {\n    \"id\": \"fi\",\n    \"name\": \"Feather\",\n    \"projectUrl\": \"https://feathericons.com/\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://github.com/feathericons/feather/blob/master/LICENSE\"\n  },\n  {\n    \"id\": \"gi\",\n    \"name\": \"Game Icons\",\n    \"projectUrl\": \"https://game-icons.net/\",\n    \"license\": \"CC BY 3.0\",\n    \"licenseUrl\": \"https://creativecommons.org/licenses/by/3.0/\"\n  },\n  {\n    \"id\": \"wi\",\n    \"name\": \"Weather Icons\",\n    \"projectUrl\": \"https://erikflowers.github.io/weather-icons/\",\n    \"license\": \"SIL OFL 1.1\",\n    \"licenseUrl\": \"http://scripts.sil.org/OFL\"\n  },\n  {\n    \"id\": \"di\",\n    \"name\": \"Devicons\",\n    \"projectUrl\": \"https://vorillaz.github.io/devicons/\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"ai\",\n    \"name\": \"Ant Design Icons\",\n    \"projectUrl\": \"https://github.com/ant-design/ant-design-icons\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"bs\",\n    \"name\": \"Bootstrap Icons\",\n    \"projectUrl\": \"https://github.com/twbs/icons\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"ri\",\n    \"name\": \"Remix Icon\",\n    \"projectUrl\": \"https://github.com/Remix-Design/RemixIcon\",\n    \"license\": \"Apache License Version 2.0\",\n    \"licenseUrl\": \"http://www.apache.org/licenses/\"\n  },\n  {\n    \"id\": \"fc\",\n    \"name\": \"Flat Color Icons\",\n    \"projectUrl\": \"https://github.com/icons8/flat-color-icons\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"gr\",\n    \"name\": \"Grommet-Icons\",\n    \"projectUrl\": \"https://github.com/grommet/grommet-icons\",\n    \"license\": \"Apache License Version 2.0\",\n    \"licenseUrl\": \"http://www.apache.org/licenses/\"\n  },\n  {\n    \"id\": \"hi\",\n    \"name\": \"Heroicons\",\n    \"projectUrl\": \"https://github.com/tailwindlabs/heroicons\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"hi2\",\n    \"name\": \"Heroicons 2\",\n    \"projectUrl\": \"https://github.com/tailwindlabs/heroicons\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"si\",\n    \"name\": \"Simple Icons\",\n    \"projectUrl\": \"https://simpleicons.org/\",\n    \"license\": \"CC0 1.0 Universal\",\n    \"licenseUrl\": \"https://creativecommons.org/publicdomain/zero/1.0/\"\n  },\n  {\n    \"id\": \"sl\",\n    \"name\": \"Simple Line Icons\",\n    \"projectUrl\": \"https://thesabbir.github.io/simple-line-icons/\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"im\",\n    \"name\": \"IcoMoon Free\",\n    \"projectUrl\": \"https://github.com/Keyamoon/IcoMoon-Free\",\n    \"license\": \"CC BY 4.0 License\",\n    \"licenseUrl\": \"https://github.com/Keyamoon/IcoMoon-Free/blob/master/License.txt\"\n  },\n  {\n    \"id\": \"bi\",\n    \"name\": \"BoxIcons\",\n    \"projectUrl\": \"https://github.com/atisawd/boxicons\",\n    \"license\": \"CC BY 4.0 License\",\n    \"licenseUrl\": \"https://github.com/atisawd/boxicons/blob/master/LICENSE\"\n  },\n  {\n    \"id\": \"cg\",\n    \"name\": \"css.gg\",\n    \"projectUrl\": \"https://github.com/astrit/css.gg\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"vsc\",\n    \"name\": \"VS Code Icons\",\n    \"projectUrl\": \"https://github.com/microsoft/vscode-codicons\",\n    \"license\": \"CC BY 4.0\",\n    \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n  },\n  {\n    \"id\": \"tb\",\n    \"name\": \"Tabler Icons\",\n    \"projectUrl\": \"https://github.com/tabler/tabler-icons\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n  },\n  {\n    \"id\": \"tfi\",\n    \"name\": \"Themify Icons\",\n    \"projectUrl\": \"https://github.com/lykmapipo/themify-icons\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://github.com/thecreation/standard-icons/blob/master/modules/themify-icons/LICENSE\"\n  },\n  {\n    \"id\": \"rx\",\n    \"name\": \"Radix Icons\",\n    \"projectUrl\": \"https://icons.radix-ui.com\",\n    \"license\": \"MIT\",\n    \"licenseUrl\": \"https://github.com/radix-ui/icons/blob/master/LICENSE\"\n  }\n]","import React from \"react\";\nexport var DefaultContext = {\n  color: undefined,\n  size: undefined,\n  className: undefined,\n  style: undefined,\n  attr: undefined\n};\nexport var IconContext = React.createContext && React.createContext(DefaultContext);","var __assign = this && this.__assign || function () {\n  __assign = Object.assign || function (t) {\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\n      s = arguments[i];\n      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n    }\n    return t;\n  };\n  return __assign.apply(this, arguments);\n};\nvar __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nimport React from \"react\";\nimport { IconContext, DefaultContext } from \"./iconContext\";\nfunction Tree2Element(tree) {\n  return tree && tree.map(function (node, i) {\n    return React.createElement(node.tag, __assign({\n      key: i\n    }, node.attr), Tree2Element(node.child));\n  });\n}\nexport function GenIcon(data) {\n  // eslint-disable-next-line react/display-name\n  return function (props) {\n    return React.createElement(IconBase, __assign({\n      attr: __assign({}, data.attr)\n    }, props), Tree2Element(data.child));\n  };\n}\nexport function IconBase(props) {\n  var elem = function (conf) {\n    var attr = props.attr,\n      size = props.size,\n      title = props.title,\n      svgProps = __rest(props, [\"attr\", \"size\", \"title\"]);\n    var computedSize = size || conf.size || \"1em\";\n    var className;\n    if (conf.className) className = conf.className;\n    if (props.className) className = (className ? className + \" \" : \"\") + props.className;\n    return React.createElement(\"svg\", __assign({\n      stroke: \"currentColor\",\n      fill: \"currentColor\",\n      strokeWidth: \"0\"\n    }, conf.attr, attr, svgProps, {\n      className: className,\n      style: __assign(__assign({\n        color: props.color || conf.color\n      }, conf.style), props.style),\n      height: computedSize,\n      width: computedSize,\n      xmlns: \"http://www.w3.org/2000/svg\"\n    }), title && React.createElement(\"title\", null, title), props.children);\n  };\n  return IconContext !== undefined ? React.createElement(IconContext.Consumer, null, function (conf) {\n    return elem(conf);\n  }) : elem(DefaultContext);\n}"],"names":["Head","author","description","title","useSiteMetadata","React","name","content","_ref","children","attributes","BlockBody","theme","link","BlockAnchor","SHORT_CHARS","split","encodeBase62","valu","res","Math","floor","version","useSiteVersion","IconContext","value","size","style","marginBottom","Content","Footer","seconds","date","Date","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","map","join","getTimestamp","Number","site","useStaticQuery","siteMetadata","_site$siteMetadata","Layout","BlockHeader","role","BlockLink","href","styled","props","DefaultContext","color","undefined","className","attr","__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","Tree2Element","tree","node","tag","key","child","GenIcon","data","IconBase","elem","conf","svgProps","computedSize","stroke","fill","strokeWidth","height","width","xmlns","Consumer"],"sourceRoot":""}