/*! For license information please see app-67f1583b385766e2df00.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[4],{"+ZDr":function(e,t,n){"use strict";var r=n("TqRt");t.__esModule=!0,t.withPrefix=f,t.withAssetPrefix=function(e){return f(e,m())},t.navigateTo=t.replace=t.push=t.navigate=t.default=void 0;var o=r(n("8OQS")),a=r(n("pVnL")),i=r(n("PJYZ")),s=r(n("VbXa")),c=r(n("17x9")),u=r(n("q1tI")),l=n("YwZP"),p=n("LYrO"),d=n("cu4x");t.parsePath=d.parsePath;var h=function(e){return null==e?void 0:e.startsWith("/")};function f(e,t){var n,r;if(void 0===t&&(t=v()),!g(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;var o=null!==(n=null!==(r=t)&&void 0!==r?r:m())&&void 0!==n?n:"/";return""+((null==o?void 0:o.endsWith("/"))?o.slice(0,-1):o)+(e.startsWith("/")?e:"/"+e)}var m=function(){return""},v=function(){return""},g=function(e){return e&&!e.startsWith("http://")&&!e.startsWith("https://")&&!e.startsWith("//")};var y=function(e,t){return"number"==typeof e?e:g(e)?h(e)?f(e):function(e,t){return h(e)?e:(0,p.resolve)(e,t)}(e,t):e},b={activeClassName:c.default.string,activeStyle:c.default.object,partiallyActive:c.default.bool},w=function(e){function t(t){var n;(n=e.call(this,t)||this).defaultGetProps=function(e){var t=e.isPartiallyCurrent,r=e.isCurrent;return(n.props.partiallyActive?t:r)?{className:[n.props.className,n.props.activeClassName].filter(Boolean).join(" "),style:(0,a.default)({},n.props.style,n.props.activeStyle)}:null};var r=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&(r=!0),n.state={IOSupported:r},n.handleRef=n.handleRef.bind((0,i.default)(n)),n}(0,s.default)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){this.props.to===e.to||this.state.IOSupported||___loader.enqueue((0,d.parsePath)(y(this.props.to,window.location.pathname)).pathname)},n.componentDidMount=function(){this.state.IOSupported||___loader.enqueue((0,d.parsePath)(y(this.props.to,window.location.pathname)).pathname)},n.componentWillUnmount=function(){if(this.io){var e=this.io,t=e.instance,n=e.el;t.unobserve(n),t.disconnect()}},n.handleRef=function(e){var t,n,r,o=this;this.props.innerRef&&this.props.innerRef.hasOwnProperty("current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=(t=e,n=function(){___loader.enqueue((0,d.parsePath)(y(o.props.to,window.location.pathname)).pathname)},(r=new window.IntersectionObserver((function(e){e.forEach((function(e){t===e.target&&(e.isIntersecting||e.intersectionRatio>0)&&(r.unobserve(t),r.disconnect(),n())}))}))).observe(t),{instance:r,el:t}))},n.render=function(){var e=this,t=this.props,n=t.to,r=t.getProps,i=void 0===r?this.defaultGetProps:r,s=t.onClick,c=t.onMouseEnter,p=(t.activeClassName,t.activeStyle,t.innerRef,t.partiallyActive,t.state),h=t.replace,f=(0,o.default)(t,["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace"]);return u.default.createElement(l.Location,null,(function(t){var r=t.location,o=y(n,r.pathname);return g(o)?u.default.createElement(l.Link,(0,a.default)({to:o,state:p,getProps:i,innerRef:e.handleRef,onMouseEnter:function(e){c&&c(e),___loader.hovering((0,d.parsePath)(o).pathname)},onClick:function(t){if(s&&s(t),!(0!==t.button||e.props.target||t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)){t.preventDefault();var n=h,r=encodeURI(o)===window.location.pathname;"boolean"!=typeof h&&r&&(n=!0),window.___navigate(o,{state:p,replace:n})}return!0}},f)):u.default.createElement("a",(0,a.default)({href:o},f))}))},t}(u.default.Component);w.propTypes=(0,a.default)({},b,{onClick:c.default.func,to:c.default.string.isRequired,replace:c.default.bool,state:c.default.object});var P=function(e,t,n){return console.warn('The "'+e+'" method is now deprecated and will be removed in Gatsby v'+n+'. Please use "'+t+'" instead.')},R=u.default.forwardRef((function(e,t){return u.default.createElement(w,(0,a.default)({innerRef:t},e))}));t.default=R;t.navigate=function(e,t){window.___navigate(y(e,window.location.pathname),t)};var _=function(e){P("push","navigate",3),window.___push(y(e,window.location.pathname))};t.push=_;t.replace=function(e){P("replace","navigate",3),window.___replace(y(e,window.location.pathname))};t.navigateTo=function(e){return P("navigateTo","navigate",3),_(e)}},"/hTd":function(e,t,n){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var r=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var n=this.getStateKey(e,t);try{var r=window.sessionStorage.getItem(n);return r?JSON.parse(r):0}catch(o){return window&&window.___GATSBY_REACT_ROUTER_SCROLL&&window.___GATSBY_REACT_ROUTER_SCROLL[n]?window.___GATSBY_REACT_ROUTER_SCROLL[n]:0}},t.save=function(e,t,n){var r=this.getStateKey(e,t),o=JSON.stringify(n);try{window.sessionStorage.setItem(r,o)}catch(a){window&&window.___GATSBY_REACT_ROUTER_SCROLL||(window.___GATSBY_REACT_ROUTER_SCROLL={}),window.___GATSBY_REACT_ROUTER_SCROLL[r]=JSON.parse(o)}},t.getStateKey=function(e,t){var n="@@scroll|"+e.pathname;return null==t?n:n+"|"+t},e}();t.SessionStorage=r},"284h":function(e,t,n){var r=n("cDf5").default;function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var c=i?Object.getOwnPropertyDescriptor(e,s):null;c&&(c.get||c.set)?Object.defineProperty(a,s,c):a[s]=e[s]}return a.default=e,n&&n.set(e,a),a},e.exports.__esModule=!0,e.exports.default=e.exports},"30RF":function(e,t,n){"use strict";n.d(t,"d",(function(){return l})),n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return h}));var r=n("LYrO"),o=n("cSJ8"),a=e=>void 0===e?e:"/"===e?"/":"/"===e.charAt(e.length-1)?e.slice(0,-1):e;const i=new Map;let s=[];const c=e=>{const t=decodeURIComponent(e);return Object(o.a)(t,"").split("#")[0].split("?")[0]};function u(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const l=e=>{s=e},p=e=>{const t=f(e),n=s.map(e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}}),o=Object(r.pick)(n,t);return o?a(o.route.originalPath):null},d=e=>{const t=f(e),n=s.map(e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}}),o=Object(r.pick)(n,t);return o?o.params:{}},h=e=>{const t=c(u(e));if(i.has(t))return i.get(t);let n=p(t);return n||(n=f(e)),i.set(t,n),n},f=e=>{let t=c(u(e));return"/index.html"===t&&(t="/"),t=a(t),t}},"3uz+":function(e,t,n){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,a.useLocation)(),n=(0,o.useContext)(r.ScrollContext),i=(0,o.useRef)();return(0,o.useLayoutEffect)((function(){if(i.current){var r=n.read(t,e);i.current.scrollTo(0,r||0)}}),[]),{ref:i,onScroll:function(){i.current&&n.save(t,e,i.current.scrollTop)}}};var r=n("Enzk"),o=n("q1tI"),a=n("YwZP")},"5yr3":function(e,t,n){"use strict";const r=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map((function(e){e(n)})),(e["*"]||[]).slice().map((function(e){e(t,n)}))}}}();t.a=r},"7hJ6":function(e,t,n){"use strict";t.__esModule=!0,t.useScrollRestoration=t.ScrollContainer=t.ScrollContext=void 0;var r=n("Enzk");t.ScrollContext=r.ScrollHandler;var o=n("hd9s");t.ScrollContainer=o.ScrollContainer;var a=n("3uz+");t.useScrollRestoration=a.useScrollRestoration},"8OQS":function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},"94VI":function(e,t){t.polyfill=e=>e},"9Xx/":function(e,t,n){"use strict";n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},u=c.state,l=c.replace,p=void 0!==l&&l;if("number"==typeof t)e.history.go(t);else{u=r({},u,{key:Date.now()+""});try{i||p?e.history.replaceState(u,null,t):e.history.pushState(u,null,t)}catch(h){e.location[p?"replace":"assign"](t)}}a=o(e),i=!0;var d=new Promise((function(e){return s=e}));return n.forEach((function(e){return e({location:a,action:"PUSH"})})),d}}},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(e,t,n){var i=n.split("?"),s=i[0],c=i[1],u=void 0===c?"":c;r++,o.push({pathname:s,search:u.length?"?"+u:u}),a.push(e)},replaceState:function(e,t,n){var i=n.split("?"),s=i[0],c=i[1],u=void 0===c?"":c;o[r]={pathname:s,search:u},a[r]=e},go:function(e){var t=r+e;t<0||t>a.length-1||(r=t)}}}},s=!("undefined"==typeof window||!window.document||!window.document.createElement),c=a(s?window:i()),u=c.navigate},"9hXx":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;t.default=function(e,t){if(!Array.isArray(t))return"manifest.webmanifest";var n=t.find((function(t){return e.startsWith(t.start_url)}));return n?"manifest_"+n.lang+".webmanifest":"manifest.webmanifest"}},Enzk:function(e,t,n){"use strict";var r=n("284h"),o=n("TqRt");t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var a=o(n("PJYZ")),i=o(n("VbXa")),s=r(n("q1tI")),c=o(n("17x9")),u=n("/hTd"),l=s.createContext(new u.SessionStorage);t.ScrollContext=l,l.displayName="GatsbyScrollContext";var p=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o{let{result:n}=t;return{element:n,props:e}}).pop()}}t.a=c},JeVI:function(e){e.exports=JSON.parse("[]")},LYrO:function(e,t,n){"use strict";n.r(t),n.d(t,"startsWith",(function(){return a})),n.d(t,"pick",(function(){return i})),n.d(t,"match",(function(){return s})),n.d(t,"resolve",(function(){return c})),n.d(t,"insertParams",(function(){return u})),n.d(t,"validateRedirect",(function(){return l})),n.d(t,"shallowCompare",(function(){return b}));var r=n("QLaP"),o=n.n(r),a=function(e,t){return e.substr(0,t.length)===t},i=function(e,t){for(var n=void 0,r=void 0,a=t.split("?")[0],i=v(a),s=""===i[0],c=m(e),u=0,l=c.length;ut.score?-1:e.index-t.index}))},v=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},g=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0})))&&n.length>0?"?"+n.join("&"):"")},y=["uri","path"],b=function(e,t){var n=Object.keys(e);return n.length===Object.keys(t).length&&n.every((function(n){return t.hasOwnProperty(n)&&e[n]===t[n]}))}},LeKB:function(e,t,n){e.exports=[{plugin:n("npZl"),options:{plugins:[],name:"gatsby-starter-default",short_name:"starter",start_url:"/",background_color:"#663399",theme_color:"#663399",display:"minimal-ui",icon:"src/images/favicon.png",cache_busting_mode:"query",include_favicon:!0,legacy:!0,theme_color_in_head:!0,cacheDigest:"2beb352fe33fc6d002a2711685a62d80"}},{plugin:n("GddB"),options:{plugins:[]}}]},MMVs:function(e,t,n){e.exports=function(){var e=!1;-1!==navigator.appVersion.indexOf("MSIE 10")&&(e=!0);var t,n=[],r="object"==typeof document&&document,o=e?r.documentElement.doScroll("left"):r.documentElement.doScroll,a=r&&(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState);return!a&&r&&r.addEventListener("DOMContentLoaded",t=function(){for(r.removeEventListener("DOMContentLoaded",t),a=1;t=n.shift();)t()}),function(e){a?setTimeout(e,0):n.push(e)}}()},NSX3:function(e,t,n){"use strict";n.r(t);var r=n("xtsi");"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then((function(e){e.addEventListener("updatefound",()=>{Object(r.apiRunner)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,Object(r.apiRunner)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),Object(r.apiRunner)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),Object(r.apiRunner)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":Object(r.apiRunner)("onServiceWorkerActive",{serviceWorker:e})}})})})).catch((function(e){console.error("Error during service worker registration:",e)}))},NsGk:function(e,t,n){t.components={"component---src-pages-404-js":()=>Promise.all([n.e(1),n.e(0),n.e(5)]).then(n.bind(null,"w2l6")),"component---src-pages-about-js":()=>Promise.all([n.e(1),n.e(0),n.e(6)]).then(n.bind(null,"3XHS")),"component---src-pages-covid-js":()=>Promise.all([n.e(1),n.e(0),n.e(2),n.e(7)]).then(n.bind(null,"ZdHi")),"component---src-pages-crypto-js":()=>Promise.all([n.e(1),n.e(0),n.e(2),n.e(8)]).then(n.bind(null,"K7ED")),"component---src-pages-index-js":()=>Promise.all([n.e(1),n.e(0),n.e(2),n.e(9)]).then(n.bind(null,"RXBc")),"component---src-pages-loans-js":()=>Promise.all([n.e(1),n.e(0),n.e(2),n.e(10)]).then(n.bind(null,"R9fN")),"component---src-pages-mortgages-js":()=>Promise.all([n.e(1),n.e(0),n.e(2),n.e(11)]).then(n.bind(null,"XAy+"))}},PJYZ:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},QLaP:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},SksO:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},TqRt:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},UxWs:function(e,t,n){"use strict";n.r(t);var r=n("xtsi"),o=n("q1tI"),a=n.n(o),i=n("i8i4"),s=n.n(i),c=n("YwZP"),u=n("7hJ6"),l=n("MMVs"),p=n.n(l),d=n("Wbzz"),h=n("emEt"),f=n("YLt+"),m=n("5yr3");const v={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"};var g=n("9Xx/"),y=n("+ZDr");const b=f.reduce((e,t)=>(e[t.fromPath]=t,e),{});function w(e){const t=b[e];return null!=t&&(window.___replace(t.toPath),!0)}const P=(e,t)=>{w(e.pathname)||Object(r.apiRunner)("onPreRouteUpdate",{location:e,prevLocation:t})},R=(e,t)=>{w(e.pathname)||Object(r.apiRunner)("onRouteUpdate",{location:e,prevLocation:t})},_=function(e,t){if(void 0===t&&(t={}),"number"==typeof e)return void g.c.navigate(e);let{pathname:n}=Object(y.parsePath)(e);const o=b[n];if(o&&(e=o.toPath,n=Object(y.parsePath)(e).pathname),window.___swUpdated)return void(window.location=n);const a=setTimeout(()=>{m.a.emit("onDelayedLoadPageResources",{pathname:n}),Object(r.apiRunner)("onRouteUpdateDelayed",{location:window.location})},1e3);h.default.loadPage(n).then(r=>{if(!r||r.status===h.PageResourceStatus.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(a);r&&r.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),console.log("Site has changed on server. Reloading browser"),window.location=n),Object(c.navigate)(e,t),clearTimeout(a)})};function S(e,t){let{location:n}=t;const{pathname:o,hash:a}=n,i=Object(r.apiRunner)("shouldUpdateScroll",{prevRouterProps:e,pathname:o,routerProps:{location:n},getSavedScrollPosition:e=>this._stateStorage.read(e)});if(i.length>0)return i[i.length-1];if(e){const{location:{pathname:t}}=e;if(t===o)return a?decodeURI(a.slice(1)):[0,0]}return!0}class O extends a.a.Component{constructor(e){super(e),this.announcementRef=a.a.createRef()}componentDidUpdate(e,t){requestAnimationFrame(()=>{let e="new page at "+this.props.location.pathname;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const n="Navigated to "+e;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}})}render(){return a.a.createElement("div",Object.assign({},v,{ref:this.announcementRef}))}}class x extends a.a.Component{constructor(e){super(e),P(e.location,null)}componentDidMount(){R(this.props.location,null)}shouldComponentUpdate(e){return this.props.location.href!==e.location.href&&(P(this.props.location,e.location),!0)}componentDidUpdate(e){this.props.location.href!==e.location.href&&R(this.props.location,e.location)}render(){return a.a.createElement(a.a.Fragment,null,this.props.children,a.a.createElement(O,{location:location}))}}var E=n("IOVJ"),j=n("NsGk"),C=n.n(j);function k(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}class L extends a.a.Component{constructor(e){super();const{location:t,pageResources:n}=e;this.state={location:{...t},pageResources:n||h.default.loadPageSync(t.pathname)}}static getDerivedStateFromProps(e,t){let{location:n}=e;if(t.location.href!==n.href){return{pageResources:h.default.loadPageSync(n.pathname),location:{...n}}}return{location:{...n}}}loadResources(e){h.default.loadPage(e).then(t=>{t&&t.status!==h.PageResourceStatus.Error?this.setState({location:{...window.location},pageResources:t}):(window.history.replaceState({},"",location.href),window.location=e)})}shouldComponentUpdate(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,n){return k(e.props,t)||k(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname),!1)}render(){return this.props.children(this.state)}}var D=L,T=n("cSJ8"),M=n("JeVI");const U=new h.ProdLoader(C.a,M);Object(h.setLoader)(U),U.setApiRunner(r.apiRunner),window.asyncRequires=C.a,window.___emitter=m.a,window.___loader=h.publicLoader,g.c.listen(e=>{e.location.action=e.action}),window.___push=e=>_(e,{replace:!1}),window.___replace=e=>_(e,{replace:!0}),window.___navigate=(e,t)=>_(e,t),w(window.location.pathname),Object(r.apiRunnerAsync)("onClientEntry").then(()=>{Object(r.apiRunner)("registerServiceWorker").length>0&&n("NSX3");const e=e=>a.a.createElement(c.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.a.createElement(E.a,e)),t=a.a.createContext({});class o extends a.a.Component{render(){const{children:e}=this.props;return a.a.createElement(c.Location,null,n=>{let{location:r}=n;return a.a.createElement(D,{location:r},n=>{let{pageResources:r,location:o}=n;const i=Object(h.getStaticQueryResults)();return a.a.createElement(d.StaticQueryContext.Provider,{value:i},a.a.createElement(t.Provider,{value:{pageResources:r,location:o}},e))})})}}class i extends a.a.Component{render(){return a.a.createElement(t.Consumer,null,t=>{let{pageResources:n,location:r}=t;return a.a.createElement(x,{location:r},a.a.createElement(u.ScrollContext,{location:r,shouldUpdateScroll:S},a.a.createElement(c.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},a.a.createElement(e,Object.assign({path:"/404.html"===n.page.path?Object(T.a)(r.pathname,""):encodeURI(n.page.matchPath||n.page.path)},this.props,{location:r,pageResources:n},n.json)))))})}}const{pagePath:l,location:f}=window;l&&""+l!==f.pathname&&!(U.findMatchPath(Object(T.a)(f.pathname,""))||"/404.html"===l||l.match(/^\/404\/?$/)||l.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&Object(c.navigate)(""+l+f.search+f.hash,{replace:!0}),h.publicLoader.loadPage(f.pathname).then(e=>{if(!e||e.status===h.PageResourceStatus.Error)throw new Error(`page resources for ${f.pathname} not found. Not rendering React`);window.___webpackCompilationHash=e.page.webpackCompilationHash;const t=Object(r.apiRunner)("wrapRootElement",{element:a.a.createElement(i,null)},a.a.createElement(i,null),e=>{let{result:t}=e;return{element:t}}).pop(),n=()=>a.a.createElement(o,null,t),c=Object(r.apiRunner)("replaceHydrateFunction",void 0,s.a.hydrate)[0];p()(()=>{c(a.a.createElement(n,null),"undefined"!=typeof window?document.getElementById("___gatsby"):void 0,()=>{Object(r.apiRunner)("onInitialClientRender")})})})})},VbXa:function(e,t,n){var r=n("SksO");e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},Wbzz:function(e,t,n){"use strict";n.r(t),n.d(t,"graphql",(function(){return m})),n.d(t,"StaticQueryContext",(function(){return p})),n.d(t,"StaticQuery",(function(){return h})),n.d(t,"useStaticQuery",(function(){return f})),n.d(t,"prefetchPathname",(function(){return l})),n.d(t,"unstable_collectionGraphql",(function(){return v}));var r=n("q1tI"),o=n.n(r),a=n("+ZDr"),i=n.n(a);n.d(t,"Link",(function(){return i.a})),n.d(t,"withAssetPrefix",(function(){return a.withAssetPrefix})),n.d(t,"withPrefix",(function(){return a.withPrefix})),n.d(t,"parsePath",(function(){return a.parsePath})),n.d(t,"navigate",(function(){return a.navigate})),n.d(t,"push",(function(){return a.push})),n.d(t,"replace",(function(){return a.replace})),n.d(t,"navigateTo",(function(){return a.navigateTo}));var s=n("7hJ6");n.d(t,"useScrollRestoration",(function(){return s.useScrollRestoration}));var c=n("lw3w"),u=n.n(c);n.d(t,"PageRenderer",(function(){return u.a}));const l=n("emEt").default.enqueue,p=o.a.createContext({});function d(e){let{staticQueryData:t,data:n,query:r,render:a}=e;const i=n?n.data:t[r]&&t[r].data;return o.a.createElement(o.a.Fragment,null,i&&a(i),!i&&o.a.createElement("div",null,"Loading (StaticQuery)"))}const h=e=>{const{data:t,query:n,render:r,children:a}=e;return o.a.createElement(p.Consumer,null,e=>o.a.createElement(d,{data:t,query:n,render:r||a,staticQueryData:e}))},f=e=>{var t;o.a.useContext;const n=o.a.useContext(p);if(isNaN(Number(e)))throw new Error(`useStaticQuery was called with a string but expects to be called using \`graphql\`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql\`${e}\`);\n`);if(null==n||null===(t=n[e])||void 0===t?void 0:t.data)return n[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")};function m(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}function v(){return null}},"YLt+":function(e){e.exports=JSON.parse("[]")},YVoz:function(e,t,n){"use strict";e.exports=Object.assign},YwZP:function(e,t,n){"use strict";n.r(t),n.d(t,"Link",(function(){return D})),n.d(t,"Location",(function(){return b})),n.d(t,"LocationProvider",(function(){return w})),n.d(t,"Match",(function(){return A})),n.d(t,"Redirect",(function(){return F})),n.d(t,"Router",(function(){return _})),n.d(t,"ServerLocation",(function(){return P})),n.d(t,"isRedirect",(function(){return M})),n.d(t,"redirectTo",(function(){return U})),n.d(t,"useLocation",(function(){return W})),n.d(t,"useNavigate",(function(){return I})),n.d(t,"useParams",(function(){return N})),n.d(t,"useMatch",(function(){return J})),n.d(t,"BaseContext",(function(){return R}));var r=n("q1tI"),o=n.n(r),a=(n("17x9"),n("QLaP")),i=n.n(a),s=n("nqlD"),c=n.n(s),u=n("94VI"),l=n("LYrO");n.d(t,"matchPath",(function(){return l.match}));var p=n("9Xx/");n.d(t,"createHistory",(function(){return p.a})),n.d(t,"createMemorySource",(function(){return p.b})),n.d(t,"navigate",(function(){return p.d})),n.d(t,"globalHistory",(function(){return p.c}));var d=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var g=function(e,t){var n=c()(t);return n.displayName=e,n},y=g("Location"),b=function(e){var t=e.children;return o.a.createElement(y.Consumer,null,(function(e){return e?t(e):o.a.createElement(w,null,t)}))},w=function(e){function t(){var n,r;f(this,t);for(var o=arguments.length,a=Array(o),i=0;i-1?(a=t.substring(0,r),i=t.substring(r)):a=t,o.a.createElement(y.Provider,{value:{location:{pathname:a,search:i,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},R=g("Base",{baseuri:"/",basepath:"/"}),_=function(e){return o.a.createElement(R.Consumer,null,(function(t){return o.a.createElement(b,null,(function(n){return o.a.createElement(S,d({},t,n,e))}))}))},S=function(e){function t(){return f(this,t),m(this,e.apply(this,arguments))}return v(t,e),t.prototype.render=function(){var e=this.props,t=e.location,n=e.navigate,r=e.basepath,a=e.primary,i=e.children,s=(e.baseuri,e.component),c=void 0===s?"div":s,u=h(e,["location","navigate","basepath","primary","children","baseuri","component"]),p=o.a.Children.toArray(i).reduce((function(e,t){var n=Q(r)(t);return e.concat(n)}),[]),f=t.pathname,m=Object(l.pick)(p,f);if(m){var v=m.params,g=m.uri,y=m.route,b=m.route.value;r=y.default?r:y.path.replace(/\*$/,"");var w=d({},v,{uri:g,location:t,navigate:function(e,t){return n(Object(l.resolve)(e,g),t)}}),P=o.a.cloneElement(b,w,b.props.children?o.a.createElement(_,{location:t,primary:a},b.props.children):void 0),S=a?x:c,O=a?d({uri:g,location:t,component:c},u):u;return o.a.createElement(R.Provider,{value:{baseuri:g,basepath:r}},o.a.createElement(S,O,P))}return null},t}(o.a.PureComponent);S.defaultProps={primary:!0};var O=g("Focus"),x=function(e){var t=e.uri,n=e.location,r=e.component,a=h(e,["uri","location","component"]);return o.a.createElement(O.Consumer,null,(function(e){return o.a.createElement(C,d({},a,{component:r,requestFocus:e,uri:t,location:n}))}))},E=!0,j=0,C=function(e){function t(){var n,r;f(this,t);for(var o=arguments.length,a=Array(o),i=0;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);n{if("undefined"==typeof document)return void r();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach(e=>{o.setAttribute(e,t[e])}),o.onload=n,o.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)})}:function(e){return new Promise((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=()=>{200===r.status?t():n()},r.send(null)})},i={};var s=function(e,t){return new Promise(n=>{i[e]?n():a(e,t).then(()=>{n(),i[e]=!0}).catch(()=>{})})},c=n("5yr3"),u=n("30RF");const l={Error:"error",Success:"success"},p=e=>e&&e.default||e,d=e=>{var t;return`/page-data/${"/"===e?"index":t=(t="/"===(t=e)[0]?t.slice(1):t).endsWith("/")?t.slice(0,-1):t}/page-data.json`};function h(e,t){return void 0===t&&(t="GET"),new Promise((n,r)=>{const o=new XMLHttpRequest;o.open(t,e,!0),o.onreadystatechange=()=>{4==o.readyState&&n(o)},o.send(null)})}const f=function(e,t){void 0===t&&(t=null);const n={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes};return{component:t,json:e.result,page:n}};class m{constructor(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,Object(u.d)(t)}memoizedGet(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=h(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then(t=>(this.inFlightNetworkRequests.delete(e),t)).catch(t=>{throw this.inFlightNetworkRequests.delete(e),t})}setApiRunner(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some(e=>e)}fetchPageDataJson(e){const{pagePath:t,retries:n=0}=e,r=d(t);return this.memoizedGet(r).then(r=>{const{status:o,responseText:a}=r;if(200===o)try{const t=JSON.parse(a);if(void 0===t.path)throw new Error("not a valid pageData response");return Object.assign(e,{status:l.Success,payload:t})}catch(i){}return 404===o||200===o?"/404.html"===t?Object.assign(e,{status:l.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?Object.assign(e,{status:l.Error}):n<3?this.fetchPageDataJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:l.Error})})}loadPageDataJson(e){const t=Object(u.b)(e);return this.pageDataDb.has(t)?Promise.resolve(this.pageDataDb.get(t)):this.fetchPageDataJson({pagePath:t}).then(e=>(this.pageDataDb.set(t,e),e))}findMatchPath(e){return Object(u.a)(e)}loadPage(e){const t=Object(u.b)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const n=Promise.all([this.loadAppData(),this.loadPageDataJson(t)]).then(e=>{const n=e[1];if(n.status===l.Error)return{status:l.Error};let r=n.payload;const{componentChunkName:o,staticQueryHashes:a=[]}=r,i={},s=this.loadComponent(o).then(t=>{let o;return i.createdAt=new Date,t?(i.status=l.Success,!0===n.notFound&&(i.notFound=!0),r=Object.assign(r,{webpackCompilationHash:e[0]?e[0].webpackCompilationHash:""}),o=f(r,t)):i.status=l.Error,o}),u=Promise.all(a.map(e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet(`/page-data/sq/d/${e}.json`).then(t=>{const n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}})})).then(e=>{const t={};return e.forEach(e=>{let{staticQueryHash:n,jsonPayload:r}=e;t[n]=r,this.staticQueryDb[n]=r}),t});return Promise.all([s,u]).then(e=>{let n,[r,o]=e;return r&&(n={...r,staticQueryResults:o},i.payload=n,c.a.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(t,i),n})});return n.then(e=>{this.inFlightDb.delete(t)}).catch(e=>{throw this.inFlightDb.delete(t),e}),this.inFlightDb.set(t,n),n}loadPageSync(e){const t=Object(u.b)(e);if(this.pageDb.has(t)){return this.pageDb.get(t).payload}}shouldPrefetch(e){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&!this.pageDb.has(e)}prefetch(e){if(!this.shouldPrefetch(e))return!1;if(this.prefetchTriggered.has(e)||(this.apiRunner("onPrefetchPathname",{pathname:e}),this.prefetchTriggered.add(e)),this.prefetchDisabled)return!1;const t=Object(u.b)(e);return this.doPrefetch(t).then(()=>{this.prefetchCompleted.has(e)||(this.apiRunner("onPostPrefetchPathname",{pathname:e}),this.prefetchCompleted.add(e))}),!0}doPrefetch(e){throw new Error("doPrefetch not implemented")}hovering(e){this.loadPage(e)}getResourceURLsForPathname(e){const t=Object(u.b)(e),n=this.pageDataDb.get(t);if(n){const e=f(n.payload);return[].concat(o(v(e.page.componentChunkName)),[d(t)])}return null}isPageNotFound(e){const t=Object(u.b)(e),n=this.pageDb.get(t);return!n||n.notFound}loadAppData(e){return void 0===e&&(e=0),this.memoizedGet("/page-data/app-data.json").then(t=>{const{status:n,responseText:r}=t;let o;if(200!==n&&e<3)return this.loadAppData(e+1);if(200===n)try{const e=JSON.parse(r);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(a){}return o})}}const v=e=>(window.___chunkMapping[e]||[]).map(e=>""+e);class g extends m{constructor(e,t){super(t=>e.components[t]?e.components[t]().then(p).catch(()=>null):Promise.resolve(),t)}doPrefetch(e){const t=d(e);return s(t,{crossOrigin:"anonymous",as:"fetch"}).then(()=>this.loadPageDataJson(e)).then(e=>{if(e.status!==l.Success)return Promise.resolve();const t=e.payload,n=t.componentChunkName,r=v(n);return Promise.all(r.map(s)).then(()=>t)})}loadPageDataJson(e){return super.loadPageDataJson(e).then(t=>t.notFound?h(e,"HEAD").then(e=>200===e.status?{status:l.Error}:t):t)}}let y;const b=e=>{y=e},w={getResourcesForPathname:e=>(console.warn("Warning: getResourcesForPathname is deprecated. Use loadPage instead"),y.i.loadPage(e)),getResourcesForPathnameSync:e=>(console.warn("Warning: getResourcesForPathnameSync is deprecated. Use loadPageSync instead"),y.i.loadPageSync(e)),enqueue:e=>y.prefetch(e),getResourceURLsForPathname:e=>y.getResourceURLsForPathname(e),loadPage:e=>y.loadPage(e),loadPageSync:e=>y.loadPageSync(e),prefetch:e=>y.prefetch(e),isPageNotFound:e=>y.isPageNotFound(e),hovering:e=>y.hovering(e),loadAppData:()=>y.loadAppData()};t.default=w;function P(){return y.staticQueryDb}},hd9s:function(e,t,n){"use strict";var r=n("284h"),o=n("TqRt");t.__esModule=!0,t.ScrollContainer=void 0;var a=o(n("pVnL")),i=o(n("VbXa")),s=r(n("q1tI")),c=o(n("i8i4")),u=o(n("17x9")),l=n("Enzk"),p=n("YwZP"),d={scrollKey:u.default.string.isRequired,shouldUpdateScroll:u.default.func,children:u.default.element.isRequired},h=function(e){function t(t){return e.call(this,t)||this}(0,i.default)(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this,t=c.default.findDOMNode(this),n=this.props,r=n.location,o=n.scrollKey;if(t){t.addEventListener("scroll",(function(){e.props.context.save(r,o,t.scrollTop)}));var a=this.props.context.read(r,o);t.scrollTo(0,a||0)}},n.render=function(){return this.props.children},t}(s.Component),f=function(e){return s.createElement(p.Location,null,(function(t){var n=t.location;return s.createElement(l.ScrollContext.Consumer,null,(function(t){return s.createElement(h,(0,a.default)({},e,{context:t,location:n}))}))}))};t.ScrollContainer=f,f.propTypes=d},lw3w:function(e,t,n){var r;e.exports=(r=n("rzlk"))&&r.default||r},npZl:function(e,t,n){"use strict";var r=n("TqRt");n("Wbzz"),r(n("9hXx"))},nqlD:function(e,t,n){const{createContext:r}=n("q1tI");e.exports=r,e.exports.default=r},pVnL:function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{location:t}=e;const n=a.default.loadPageSync(t.pathname);return n?o.a.createElement(i.a,{location:t,pageResources:n,...n.json}):null}},xtsi:function(e,t,n){const r=n("LeKB"),{getResourcesForPathname:o,getResourcesForPathnameSync:a,getResourceURLsForPathname:i,loadPage:s,loadPageSync:c}=n("emEt").publicLoader;t.apiRunner=function(e,t,n,u){void 0===t&&(t={});let l=r.map(n=>{if(!n.plugin[e])return;t.getResourcesForPathnameSync=a,t.getResourcesForPathname=o,t.getResourceURLsForPathname=i,t.loadPage=s,t.loadPageSync=c;const r=n.plugin[e](t,n.options);return r&&u&&(t=u({args:t,result:r,plugin:n})),r});return l=l.filter(e=>void 0!==e),l.length>0?l:n?[n]:[]},t.apiRunnerAsync=(e,t,n)=>r.reduce((n,r)=>r.plugin[e]?n.then(()=>r.plugin[e](t,r.options)):n,Promise.resolve())}},[["UxWs",3,1,12]]]); //# sourceMappingURL=app-67f1583b385766e2df00.js.map