-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-404-js-7ce5e96f00726c0fe563.js.map
1 lines (1 loc) · 25.2 KB
/
component---src-pages-404-js-7ce5e96f00726c0fe563.js.map
1
{"version":3,"sources":["webpack:///./src/pages/404.js","webpack:///./src/theme/config.js","webpack:///./node_modules/gatsby-link/index.js","webpack:///./src/theme/index.js","webpack:///./src/components/Layout.js","webpack:///./.cache/public-page-renderer.js","webpack:///./node_modules/core-js/modules/es6.string.link.js","webpack:///./node_modules/core-js/modules/_string-html.js","webpack:///./node_modules/@babel/runtime/helpers/extends.js","webpack:///./.cache/gatsby-browser-entry.js","webpack:///./.cache/public-page-renderer-prod.js"],"names":["LargeButton","link","withComponent","Link","__webpack_exports__","react__WEBPACK_IMPORTED_MODULE_1___default","a","createElement","components_Layout__WEBPACK_IMPORTED_MODULE_4__","_hackclub_design_system__WEBPACK_IMPORTED_MODULE_3__","px","py","align","h1","color","fontSize","bg","to","mt","_hackclub_design_system__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","colors","black","steel","slate","muted","smoke","snow","white","primary","primaryLight","primaryDark","alt","altLight","altDark","success","error","warm","warmWash","cool","coolWash","blue","info","theme","font","sans","_interopRequireDefault","exports","__esModule","withPrefix","navigateTo","replace","push","navigate","default","_objectWithoutPropertiesLoose2","_extends2","_inheritsLoose2","_assertThisInitialized2","_defineProperty2","_propTypes","_react","_router","_gatsby","path","normalizePath","NavLinkPropTypes","activeClassName","string","activeStyle","object","GatsbyLink","_React$Component","props","_this","call","this","_ref","isCurrent","className","filter","Boolean","join","style","IOSupported","window","IntersectionObserver","state","handleRef","bind","_proto","prototype","componentDidUpdate","prevProps","prevState","___loader","enqueue","parsePath","pathname","componentDidMount","ref","el","cb","io","_this2","innerRef","entries","forEach","entry","target","isIntersecting","intersectionRatio","unobserve","disconnect","observe","render","_this3","_this$props","_this$props$getProps","getProps","defaultGetProps","_onClick","onClick","_onMouseEnter","onMouseEnter","rest","prefixedTo","e","hovering","button","defaultPrevented","metaKey","altKey","ctrlKey","shiftKey","preventDefault","Component","propTypes","func","isRequired","bool","_default","options","___navigate","console","warn","___push","___replace","injectGlobal","_templateObject","ThemeProvider","react_default","styled_components_browser_esm","children","Helmet_default","title","lang","charSet","rel","type","href","name","content","data","description","card","property","map","index","React","Object","assign","key","m","module","require","createHTML","url","$export","fails","defined","quot","tag","attribute","value","S","String","p1","NAME","exec","O","P","F","test","toLowerCase","split","length","_extends","i","arguments","source","hasOwnProperty","apply","r","d","graphql","StaticQueryContext","StaticQuery","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","n","prop_types__WEBPACK_IMPORTED_MODULE_1__","prop_types__WEBPACK_IMPORTED_MODULE_1___default","gatsby_link__WEBPACK_IMPORTED_MODULE_2__","gatsby_link__WEBPACK_IMPORTED_MODULE_2___default","_wait_for_route_change__WEBPACK_IMPORTED_MODULE_3__","_public_page_renderer__WEBPACK_IMPORTED_MODULE_4__","_public_page_renderer__WEBPACK_IMPORTED_MODULE_4___default","_parse_path__WEBPACK_IMPORTED_MODULE_5__","createContext","Consumer","staticQueryData","query","Error","PropTypes","ProdPageRenderer","location","pageResources","loader","getResourcesForPathnameSync","InternalPageRenderer","json","shape"],"mappings":"gKAKAA,cAAYC,KAAOD,cAAYE,cAAcC,KAE9BC,EAAA,0BACbC,EAAAC,EAAAC,cAACC,EAAA,EAAD,KACEH,EAAAC,EAAAC,cAACE,EAAA,UAAD,CAAWC,GAAI,EAAGC,GAAI,CAAC,EAAG,GAAIC,MAAM,UAClCP,EAAAC,EAAAC,cAACE,EAAA,QAAQI,GAAT,CAAYC,MAAM,UAAUC,SAAU,CAAC,IAAK,MAA5C,QAGAV,EAAAC,EAAAC,cAACE,EAAA,KAAD,CAAMK,MAAM,QAAQC,SAAU,GAA9B,gCAGAV,EAAAC,EAAAC,cAACE,EAAA,YAAYR,KAAb,CAAkBe,GAAG,OAAOC,GAAG,IAAIC,GAAI,GAAvC,mDChBN,IA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EAAYtE,UAAY,CACtB0B,KAAM6D,IAAU1J,OAChBwJ,MAAOE,IAAU5J,OAAOuE,WACxBxB,OAAQ6G,IAAUtF,KAClBe,SAAUuE,IAAUtF,wGC9BhBuF,EAAmB,SAAApJ,GAAkB,IAAfqJ,EAAerJ,EAAfqJ,SACpBC,EAAgBC,UAAOC,4BAA4BH,EAAShI,UAClE,OAAOuE,IAAMlK,cAAc+N,IAApB5D,OAAAC,OAAA,CACLuD,WACAC,iBACGA,EAAcI,QAIrBN,EAAiBxF,UAAY,CAC3ByF,SAAUF,IAAUQ,MAAM,CACxBtI,SAAU8H,IAAU5J,OAAOuE,aAC1BA,YAGUsF","file":"component---src-pages-404-js-7ce5e96f00726c0fe563.js","sourcesContent":["import React from 'react'\nimport Link from 'gatsby-link'\nimport { Container, Heading, Text, LargeButton } from '@hackclub/design-system'\nimport Layout from 'components/Layout'\n\nLargeButton.link = LargeButton.withComponent(Link)\n\nexport default () => (\n <Layout>\n <Container px={3} py={[5, 6]} align=\"center\">\n <Heading.h1 color=\"primary\" fontSize={[128, 256]}>\n 404!\n </Heading.h1>\n <Text color=\"white\" fontSize={3}>\n Sorry, that page isn’t here.\n </Text>\n <LargeButton.link bg=\"cool\" to=\"/\" mt={4}>\n 🏡 Go Home\n </LargeButton.link>\n </Container>\n </Layout>\n)\n","import { theme } from '@hackclub/design-system'\n\nexport const colors = {\n // greyscale\n black: '#1f2d3d',\n steel: '#273444',\n slate: '#3c4858',\n muted: '#8492a6',\n // smoke3: '#c0ccda',\n // smoke2: '#d3dce6',\n smoke: '#e0e6ed',\n // snow3: '#e5e9f2',\n // snow2: '#eff2f7',\n snow: '#f9fafc',\n white: '#ffffff',\n // brand\n primary: '#ff5a5f',\n primaryLight: '#ff7e82',\n primaryDark: '#e00007',\n alt: '#007a87',\n altLight: '#009aab',\n altDark: '#004f58',\n success: '#3fb34f',\n error: '#b23f42',\n warm: '#ffb400',\n warmWash: '#ffdc89',\n cool: '#00bdde',\n coolWash: '#7cecff'\n}\n// for DS input\ncolors.blue = [colors.altDark, colors.altLight, colors.altLight]\ncolors.info = colors.cool\n\ntheme.colors = colors\n\nconst baseFamily =\n '-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,sans-serif'\n\nconst sans = 'Nunito'\nconst sansFamily = `${sans},${baseFamily}`\n\ntheme.font = sansFamily\n\nexport default theme\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.withPrefix = withPrefix;\nexports.navigateTo = exports.replace = exports.push = exports.navigate = exports.default = void 0;\n\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _inheritsLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/inheritsLoose\"));\n\nvar _assertThisInitialized2 = _interopRequireDefault(require(\"@babel/runtime/helpers/assertThisInitialized\"));\n\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _router = require(\"@reach/router\");\n\nvar _gatsby = require(\"gatsby\");\n\n/*global __PATH_PREFIX__ */\nfunction withPrefix(path) {\n return normalizePath(__PATH_PREFIX__ + \"/\" + path);\n}\n\nfunction normalizePath(path) {\n return path.replace(/\\/+/g, \"/\");\n}\n\nvar NavLinkPropTypes = {\n activeClassName: _propTypes.default.string,\n activeStyle: _propTypes.default.object // Set up IntersectionObserver\n\n};\n\nvar handleIntersection = function handleIntersection(el, cb) {\n var io = new window.IntersectionObserver(function (entries) {\n entries.forEach(function (entry) {\n if (el === entry.target) {\n // Check if element is within viewport, remove listener, destroy observer, and run link callback.\n // MSEdge doesn't currently support isIntersecting, so also test for an intersectionRatio > 0\n if (entry.isIntersecting || entry.intersectionRatio > 0) {\n io.unobserve(el);\n io.disconnect();\n cb();\n }\n }\n });\n }); // Add element to the observer\n\n io.observe(el);\n};\n\nvar GatsbyLink =\n/*#__PURE__*/\nfunction (_React$Component) {\n (0, _inheritsLoose2.default)(GatsbyLink, _React$Component);\n\n function GatsbyLink(props) {\n var _this;\n\n _this = _React$Component.call(this) || this; // Default to no support for IntersectionObserver\n\n (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), \"defaultGetProps\", function (_ref) {\n var isCurrent = _ref.isCurrent;\n\n if (isCurrent) {\n return {\n className: [_this.props.className, _this.props.activeClassName].filter(Boolean).join(\" \"),\n style: (0, _extends2.default)({}, _this.props.style, _this.props.activeStyle)\n };\n }\n\n return null;\n });\n var IOSupported = false;\n\n if (typeof window !== \"undefined\" && window.IntersectionObserver) {\n IOSupported = true;\n }\n\n _this.state = {\n IOSupported: IOSupported\n };\n _this.handleRef = _this.handleRef.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)));\n return _this;\n }\n\n var _proto = GatsbyLink.prototype;\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {\n // Preserve non IO functionality if no support\n if (this.props.to !== prevProps.to && !this.state.IOSupported) {\n ___loader.enqueue((0, _gatsby.parsePath)(this.props.to).pathname);\n }\n };\n\n _proto.componentDidMount = function componentDidMount() {\n // Preserve non IO functionality if no support\n if (!this.state.IOSupported) {\n ___loader.enqueue((0, _gatsby.parsePath)(this.props.to).pathname);\n }\n };\n\n _proto.handleRef = function handleRef(ref) {\n var _this2 = this;\n\n this.props.innerRef && this.props.innerRef(ref);\n\n if (this.state.IOSupported && ref) {\n // If IO supported and element reference found, setup Observer functionality\n handleIntersection(ref, function () {\n ___loader.enqueue((0, _gatsby.parsePath)(_this2.props.to).pathname);\n });\n }\n };\n\n _proto.render = function render() {\n var _this3 = this;\n\n var _this$props = this.props,\n to = _this$props.to,\n _this$props$getProps = _this$props.getProps,\n getProps = _this$props$getProps === void 0 ? this.defaultGetProps : _this$props$getProps,\n _onClick = _this$props.onClick,\n _onMouseEnter = _this$props.onMouseEnter,\n $activeClassName = _this$props.activeClassName,\n $activeStyle = _this$props.activeStyle,\n $ref = _this$props.ref,\n $innerRef = _this$props.innerRef,\n state = _this$props.state,\n replace = _this$props.replace,\n rest = (0, _objectWithoutPropertiesLoose2.default)(_this$props, [\"to\", \"getProps\", \"onClick\", \"onMouseEnter\", \"activeClassName\", \"activeStyle\", \"ref\", \"innerRef\", \"state\", \"replace\"]);\n var prefixedTo = withPrefix(to);\n return _react.default.createElement(_router.Link, (0, _extends2.default)({\n to: prefixedTo,\n state: state,\n getProps: getProps,\n innerRef: this.handleRef,\n onMouseEnter: function onMouseEnter(e) {\n // eslint-disable-line\n _onMouseEnter && _onMouseEnter(e);\n\n ___loader.hovering((0, _gatsby.parsePath)(to).pathname);\n },\n onClick: function onClick(e) {\n // eslint-disable-line\n _onClick && _onClick(e);\n\n if (e.button === 0 && // ignore right clicks\n !_this3.props.target && // let browser handle \"target=_blank\"\n !e.defaultPrevented && // onClick prevented default\n !e.metaKey && // ignore clicks with modifier keys...\n !e.altKey && !e.ctrlKey && !e.shiftKey) {\n e.preventDefault(); // Make sure the necessary scripts and data are\n // loaded before continuing.\n\n navigate(to, {\n state: state,\n replace: replace\n });\n }\n\n return true;\n }\n }, rest));\n };\n\n return GatsbyLink;\n}(_react.default.Component);\n\nGatsbyLink.propTypes = (0, _extends2.default)({}, NavLinkPropTypes, {\n innerRef: _propTypes.default.func,\n onClick: _propTypes.default.func,\n to: _propTypes.default.string.isRequired,\n replace: _propTypes.default.bool\n});\nvar _default = GatsbyLink;\nexports.default = _default;\n\nvar navigate = function navigate(to, options) {\n window.___navigate(withPrefix(to), options);\n};\n\nexports.navigate = navigate;\n\nvar push = function push(to) {\n console.warn(\"The \\\"push\\\" method is now deprecated and will be removed in Gatsby v3. Please use \\\"navigate\\\" instead.\");\n\n window.___push(withPrefix(to));\n};\n\nexports.push = push;\n\nvar replace = function replace(to) {\n console.warn(\"The \\\"replace\\\" method is now deprecated and will be removed in Gatsby v3. Please use \\\"navigate\\\" instead.\");\n\n window.___replace(withPrefix(to));\n}; // TODO: Remove navigateTo for Gatsby v3\n\n\nexports.replace = replace;\n\nvar navigateTo = function navigateTo(to) {\n console.warn(\"The \\\"navigateTo\\\" method is now deprecated and will be removed in Gatsby v3. Please use \\\"push\\\" instead.\");\n return push(to);\n};\n\nexports.navigateTo = navigateTo;","import React from 'react'\nimport { injectGlobal, ThemeProvider as Root } from 'styled-components'\nimport theme from './config'\n\ninjectGlobal`\n body {\n font-family: ${theme.font};\n background-color: ${theme.colors.black};\n color: ${theme.colors.white};\n line-height: 1.6;\n }\n * {\n box-sizing: border-box;\n }\n h1,\n h2 {\n font-weight: 900;\n }\n ul, ol {\n margin: 0;\n padding: 0;\n }\n`\n\nconst ThemeProvider = props => (\n <Root theme={theme} children={<div>{props.children}</div>} />\n)\n\nexport default ThemeProvider\n","import React from 'react'\nimport Helmet from 'react-helmet'\nimport ThemeProvider from 'theme'\nimport theme from 'theme/config'\nimport data from 'data'\n\nconst meta = tags =>\n tags.map((props, index) =>\n React.createElement('meta', { ...props, key: index })\n )\n\nexport default ({ children }) => (\n <ThemeProvider>\n <Helmet title=\"State High Hack Club\">\n <html lang=\"en\" />\n <meta charSet=\"UTF-8\" />\n <link rel=\"icon\" type=\"image/x-icon\" href=\"/favicon.ico\" />\n {meta([\n { name: 'description', content: data.description },\n { name: 'twitter:card', content: 'summary_large_image' },\n { name: 'twitter:image', content: data.card },\n { property: 'og:image', content: data.card },\n { property: 'og:image:width', content: 1024 },\n { property: 'og:image:height', content: 768 },\n { property: 'og:title', content: data.name },\n { name: 'twitter:title', content: data.name },\n { property: 'og:description', content: data.description },\n { name: 'twitter:description', content: data.description },\n { name: 'description', content: data.description },\n { name: 'viewport', content: 'width=device-width, initial-scale=1' },\n { name: 'theme-color', content: theme.colors.primary }\n ])}\n <link\n href=\"https://fonts.googleapis.com/css?family=Nunito:400,800,900i\"\n rel=\"stylesheet\"\n />\n </Helmet>\n {children}\n </ThemeProvider>\n)\n","const preferDefault = m => (m && m.default) || m\n\nif (process.env.BUILD_STAGE === `develop`) {\n module.exports = preferDefault(require(`./public-page-renderer-dev`))\n} else if (process.env.BUILD_STAGE === `build-javascript`) {\n module.exports = preferDefault(require(`./public-page-renderer-prod`))\n} else {\n module.exports = () => null\n}\n","'use strict';\n// B.2.3.10 String.prototype.link(url)\nrequire('./_string-html')('link', function (createHTML) {\n return function link(url) {\n return createHTML(this, 'a', 'href', url);\n };\n});\n","var $export = require('./_export');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function (string, tag, attribute, value) {\n var S = String(defined(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '"') + '\"';\n return p1 + '>' + S + '</' + tag + '>';\n};\nmodule.exports = function (NAME, exec) {\n var O = {};\n O[NAME] = exec(createHTML);\n $export($export.P + $export.F * fails(function () {\n var test = ''[NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n }), 'String', O);\n};\n","function _extends() {\n module.exports = _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\nmodule.exports = _extends;","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport Link, {\n withPrefix,\n navigate,\n push,\n replace,\n navigateTo,\n} from \"gatsby-link\"\nimport { waitForRouteChange } from \"./wait-for-route-change\"\nimport PageRenderer from \"./public-page-renderer\"\nimport parsePath from \"./parse-path\"\n\nconst StaticQueryContext = React.createContext({})\n\nconst StaticQuery = props => (\n <StaticQueryContext.Consumer>\n {staticQueryData => {\n if (\n props.data ||\n (staticQueryData[props.query] && staticQueryData[props.query].data)\n ) {\n return (props.render || props.children)(\n props.data ? props.data.data : staticQueryData[props.query].data\n )\n } else {\n return <div>Loading (StaticQuery)</div>\n }\n }}\n </StaticQueryContext.Consumer>\n)\n\nStaticQuery.propTypes = {\n data: PropTypes.object,\n query: PropTypes.string.isRequired,\n render: PropTypes.func,\n children: PropTypes.func,\n}\n\nfunction graphql() {\n throw new Error(\n `It appears like Gatsby is misconfigured. Gatsby related \\`graphql\\` calls ` +\n `are supposed to only be evaluated at compile time, and then compiled away,. ` +\n `Unfortunately, something went wrong and the query was left in the compiled code.\\n\\n.` +\n `Unless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.`\n )\n}\n\nexport {\n Link,\n withPrefix,\n graphql,\n parsePath,\n navigate,\n push, // TODO replace for v3\n replace, // TODO remove replace for v3\n navigateTo, // TODO: remove navigateTo for v3\n StaticQueryContext,\n StaticQuery,\n PageRenderer,\n waitForRouteChange,\n}\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\n\nimport InternalPageRenderer from \"./page-renderer\"\nimport loader from \"./loader\"\n\nconst ProdPageRenderer = ({ location }) => {\n const pageResources = loader.getResourcesForPathnameSync(location.pathname)\n return React.createElement(InternalPageRenderer, {\n location,\n pageResources,\n ...pageResources.json,\n })\n}\n\nProdPageRenderer.propTypes = {\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired,\n }).isRequired,\n}\n\nexport default ProdPageRenderer\n"],"sourceRoot":""}