tag and doesn't have a href attribute, or if the 'passHref' property is\n // defined, we specify the current 'href', so that repetition is not needed by the user\n if (props.passHref || child.type === 'a' && !('href' in child.props)) {\n const curLocale = typeof locale !== 'undefined' ? locale : router && router.locale;\n // we only render domain locales if we are currently on a domain locale\n // so that locale links are still visitable in development/preview envs\n const localeDomain = router && router.isLocaleDomain && (0, _router).getDomainLocale(as, curLocale, router && router.locales, router && router.domainLocales);\n childProps.href = localeDomain || (0, _router).addBasePath((0, _router).addLocale(as, curLocale, router && router.defaultLocale));\n }\n return(/*#__PURE__*/ _react.default.cloneElement(child, childProps));\n}\nvar _default = Link;\nexports.default = _default;\n\n//# sourceMappingURL=link.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useIntersection = useIntersection;\nvar _react = require(\"react\");\nvar _requestIdleCallback = require(\"./request-idle-callback\");\nconst hasIntersectionObserver = typeof IntersectionObserver !== 'undefined';\nfunction useIntersection({ rootMargin , disabled }) {\n const isDisabled = disabled || !hasIntersectionObserver;\n const unobserve = (0, _react).useRef();\n const [visible, setVisible] = (0, _react).useState(false);\n const setRef = (0, _react).useCallback((el)=>{\n if (unobserve.current) {\n unobserve.current();\n unobserve.current = undefined;\n }\n if (isDisabled || visible) return;\n if (el && el.tagName) {\n unobserve.current = observe(el, (isVisible)=>isVisible && setVisible(isVisible)\n , {\n rootMargin\n });\n }\n }, [\n isDisabled,\n rootMargin,\n visible\n ]);\n (0, _react).useEffect(()=>{\n if (!hasIntersectionObserver) {\n if (!visible) {\n const idleCallback = (0, _requestIdleCallback).requestIdleCallback(()=>setVisible(true)\n );\n return ()=>(0, _requestIdleCallback).cancelIdleCallback(idleCallback)\n ;\n }\n }\n }, [\n visible\n ]);\n return [\n setRef,\n visible\n ];\n}\nfunction observe(element, callback, options) {\n const { id , observer , elements } = createObserver(options);\n elements.set(element, callback);\n observer.observe(element);\n return function unobserve() {\n elements.delete(element);\n observer.unobserve(element);\n // Destroy observer when there's nothing left to watch:\n if (elements.size === 0) {\n observer.disconnect();\n observers.delete(id);\n }\n };\n}\nconst observers = new Map();\nfunction createObserver(options) {\n const id = options.rootMargin || '';\n let instance = observers.get(id);\n if (instance) {\n return instance;\n }\n const elements = new Map();\n const observer = new IntersectionObserver((entries)=>{\n entries.forEach((entry)=>{\n const callback = elements.get(entry.target);\n const isVisible = entry.isIntersecting || entry.intersectionRatio > 0;\n if (callback && isVisible) {\n callback(isVisible);\n }\n });\n }, options);\n observers.set(id, instance = {\n id,\n observer,\n elements\n });\n return instance;\n}\n\n//# sourceMappingURL=use-intersection.js.map","import React, { ReactNode } from \"react\";\n\ntype Props = {\n noNav?: boolean;\n}\n\nconst Footer = (props: Props) => {\n const d = new Date();\n const year = d.getFullYear();\n\n return (\n{!props.noNav && ()}\n\n\n\n
\n);\n}\n\nexport default Footer;\n","import * as React from \"react\";\n\nconst Header: React.FC = ({ children }) => (\n \n)\n\nexport default Header;\n","import styles from \"./Layout.module.scss\";\nimport React, { ReactNode } from \"react\";\nimport classNames from \"classnames\";\n\ntype Props = {\n children?: ReactNode;\n classes?: string[];\n}\n\nconst Layout = (props: Props) => (\n \n {props.children}\n
\n)\n\nexport default Layout;\n","import React from \"react\";\nimport Link from \"next/link\";\n\nconst VendorBar = () => (\n \n \n Ready For Fun?\n
\n\n \n Sign Up!\n \n\n \n \n);\n\nexport default VendorBar;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"layout\":\"Layout_layout__3guix\"};","module.exports = require('./dist/client/link')\n"],"names":["hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","argType","push","Array","isArray","inner","apply","toString","Object","prototype","key","call","join","module","exports","default","obj","_react","require","__esModule","_router","_router1","_useIntersection","prefetched","prefetch","router","href","as","options","isLocalURL","err","curLocale","locale","_default","props","child","p","useRouter","useMemo","resolveHref","resolvedHref","resolvedAs","children","replace","shallow","scroll","createElement","childRef","Children","only","ref","useIntersection","rootMargin","setIntersectionRef","isVisible","setRef","useCallback","el","current","useEffect","shouldPrefetch","isPrefetched","childProps","onClick","e","defaultPrevented","currentTarget","nodeName","event","target","metaKey","ctrlKey","shiftKey","altKey","nativeEvent","which","isModifiedEvent","preventDefault","indexOf","linkClicked","onMouseEnter","priority","passHref","type","localeDomain","isLocaleDomain","getDomainLocale","locales","domainLocales","addBasePath","addLocale","defaultLocale","cloneElement","defineProperty","value","isDisabled","disabled","hasIntersectionObserver","unobserve","useRef","useState","visible","setVisible","undefined","tagName","element","callback","id","instance","observers","get","elements","Map","observer","IntersectionObserver","entries","forEach","entry","isIntersecting","intersectionRatio","set","createObserver","observe","size","disconnect","idleCallback","_requestIdleCallback","requestIdleCallback","cancelIdleCallback","year","Date","getFullYear","noNav","className","style","backgroundColor","color","fontWeight","itemScope","itemType","itemProp","src","width","alt","content","name","defaultChecked","htmlFor","styles"],"sourceRoot":""}