-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-b5340d456f17bb2f7d34.js
3 lines (3 loc) · 52.3 KB
/
app-b5340d456f17bb2f7d34.js
1
2
3
/*! For license information please see app-b5340d456f17bb2f7d34.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{"+ZDr":function(t,e,n){"use strict";var r=n("TqRt");e.__esModule=!0,e.withPrefix=h,e.withAssetPrefix=function(t){return h(t,m())},e.navigateTo=e.replace=e.push=e.navigate=e.default=void 0;var o=r(n("8OQS")),a=r(n("PJYZ")),i=r(n("VbXa")),s=r(n("pVnL")),c=r(n("17x9")),u=r(n("q1tI")),l=n("YwZP"),p=n("LYrO"),d=n("cu4x");e.parsePath=d.parsePath;var f=function(t){return null==t?void 0:t.startsWith("/")};function h(t,e){var n,r;if(void 0===e&&(e=v()),!g(t))return t;if(t.startsWith("./")||t.startsWith("../"))return t;var o=null!==(n=null!==(r=e)&&void 0!==r?r:m())&&void 0!==n?n:"/";return""+((null==o?void 0:o.endsWith("/"))?o.slice(0,-1):o)+(t.startsWith("/")?t:"/"+t)}var m=function(){return""},v=function(){return""},g=function(t){return t&&!t.startsWith("http://")&&!t.startsWith("https://")&&!t.startsWith("//")};var y=function(t,e){return"number"==typeof t?t:g(t)?f(t)?h(t):function(t,e){return f(t)?t:(0,p.resolve)(t,e)}(t,e):t},b={activeClassName:c.default.string,activeStyle:c.default.object,partiallyActive:c.default.bool};function w(t){return u.default.createElement(l.Location,null,(function(e){var n=e.location;return u.default.createElement(P,(0,s.default)({},t,{_location:n}))}))}var P=function(t){function e(e){var n;(n=t.call(this,e)||this).defaultGetProps=function(t){var e=t.isPartiallyCurrent,r=t.isCurrent;return(n.props.partiallyActive?e:r)?{className:[n.props.className,n.props.activeClassName].filter(Boolean).join(" "),style:(0,s.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,a.default)(n)),n}(0,i.default)(e,t);var n=e.prototype;return n._prefetch=function(){var t=window.location.pathname;this.props._location&&this.props._location.pathname&&(t=this.props._location.pathname);var e=y(this.props.to,t),n=(0,d.parsePath)(e).pathname;t!==n&&___loader.enqueue(n)},n.componentDidUpdate=function(t,e){this.props.to===t.to||this.state.IOSupported||this._prefetch()},n.componentDidMount=function(){this.state.IOSupported||this._prefetch()},n.componentWillUnmount=function(){if(this.io){var t=this.io,e=t.instance,n=t.el;e.unobserve(n),e.disconnect()}},n.handleRef=function(t){var e,n,r,o=this;this.props.innerRef&&this.props.innerRef.hasOwnProperty("current")?this.props.innerRef.current=t:this.props.innerRef&&this.props.innerRef(t),this.state.IOSupported&&t&&(this.io=(e=t,n=function(){o._prefetch()},(r=new window.IntersectionObserver((function(t){t.forEach((function(t){e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(r.unobserve(e),r.disconnect(),n())}))}))).observe(e),{instance:r,el:e}))},n.render=function(){var t=this,e=this.props,n=e.to,r=e.getProps,a=void 0===r?this.defaultGetProps:r,i=e.onClick,c=e.onMouseEnter,p=(e.activeClassName,e.activeStyle,e.innerRef,e.partiallyActive,e.state),f=e.replace,h=e._location,m=(0,o.default)(e,["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"]);var v=y(n,h.pathname);return g(v)?u.default.createElement(l.Link,(0,s.default)({to:v,state:p,getProps:a,innerRef:this.handleRef,onMouseEnter:function(t){c&&c(t),___loader.hovering((0,d.parsePath)(v).pathname)},onClick:function(e){if(i&&i(e),!(0!==e.button||t.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();var n=f,r=encodeURI(v)===h.pathname;"boolean"!=typeof f&&r&&(n=!0),window.___navigate(v,{state:p,replace:n})}return!0}},m)):u.default.createElement("a",(0,s.default)({href:v},m))},e}(u.default.Component);P.propTypes=(0,s.default)({},b,{onClick:c.default.func,to:c.default.string.isRequired,replace:c.default.bool,state:c.default.object});var R=function(t,e,n){return console.warn('The "'+t+'" method is now deprecated and will be removed in Gatsby v'+n+'. Please use "'+e+'" instead.')},_=u.default.forwardRef((function(t,e){return u.default.createElement(w,(0,s.default)({innerRef:e},t))}));e.default=_;e.navigate=function(t,e){window.___navigate(y(t,window.location.pathname),e)};var S=function(t){R("push","navigate",3),window.___push(y(t,window.location.pathname))};e.push=S;e.replace=function(t){R("replace","navigate",3),window.___replace(y(t,window.location.pathname))};e.navigateTo=function(t){return R("navigateTo","navigate",3),S(t)}},"/hTd":function(t,e,n){"use strict";e.__esModule=!0,e.SessionStorage=void 0;var r=function(){function t(){}var e=t.prototype;return e.read=function(t,e){var n=this.getStateKey(t,e);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}},e.save=function(t,e,n){var r=this.getStateKey(t,e),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)}},e.getStateKey=function(t,e){var n="@@scroll|"+t.pathname;return null==e?n:n+"|"+e},t}();e.SessionStorage=r},"284h":function(t,e,n){var r=n("cDf5").default;function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}t.exports=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var c=i?Object.getOwnPropertyDescriptor(t,s):null;c&&(c.get||c.set)?Object.defineProperty(a,s,c):a[s]=t[s]}return a.default=t,n&&n.set(t,a),a},t.exports.__esModule=!0,t.exports.default=t.exports},"30RF":function(t,e,n){"use strict";n.d(e,"d",(function(){return l})),n.d(e,"a",(function(){return p})),n.d(e,"c",(function(){return d})),n.d(e,"b",(function(){return f}));var r=n("LYrO"),o=n("cSJ8"),a=t=>void 0===t?t:"/"===t?"/":"/"===t.charAt(t.length-1)?t.slice(0,-1):t;const i=new Map;let s=[];const c=t=>{const e=decodeURIComponent(t);return Object(o.a)(e,"").split("#")[0].split("?")[0]};function u(t){return t.startsWith("/")||t.startsWith("https://")||t.startsWith("http://")?t:new URL(t,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const l=t=>{s=t},p=t=>{const e=h(t),n=s.map(t=>{let{path:e,matchPath:n}=t;return{path:n,originalPath:e}}),o=Object(r.pick)(n,e);return o?a(o.route.originalPath):null},d=t=>{const e=h(t),n=s.map(t=>{let{path:e,matchPath:n}=t;return{path:n,originalPath:e}}),o=Object(r.pick)(n,e);return o?o.params:{}},f=t=>{const e=c(u(t));if(i.has(e))return i.get(e);let n=p(e);return n||(n=h(t)),i.set(e,n),n},h=t=>{let e=c(u(t));return"/index.html"===e&&(e="/"),e=a(e),e}},"3uz+":function(t,e,n){"use strict";e.__esModule=!0,e.useScrollRestoration=function(t){var e=(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(e,t);i.current.scrollTo(0,r||0)}}),[]),{ref:i,onScroll:function(){i.current&&n.save(e,t,i.current.scrollTop)}}};var r=n("Enzk"),o=n("q1tI"),a=n("YwZP")},"5yr3":function(t,e,n){"use strict";const r=function(t){return t=t||Object.create(null),{on:function(e,n){(t[e]||(t[e]=[])).push(n)},off:function(e,n){t[e]&&t[e].splice(t[e].indexOf(n)>>>0,1)},emit:function(e,n){(t[e]||[]).slice().map((function(t){t(n)})),(t["*"]||[]).slice().map((function(t){t(e,n)}))}}}();e.a=r},"7hJ6":function(t,e,n){"use strict";e.__esModule=!0,e.useScrollRestoration=e.ScrollContainer=e.ScrollContext=void 0;var r=n("Enzk");e.ScrollContext=r.ScrollHandler;var o=n("hd9s");e.ScrollContainer=o.ScrollContainer;var a=n("3uz+");e.useScrollRestoration=a.useScrollRestoration},"8OQS":function(t,e){t.exports=function(t,e){if(null==t)return{};var n,r,o={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(o[n]=t[n]);return o},t.exports.__esModule=!0,t.exports.default=t.exports},"94VI":function(t,e){e.polyfill=t=>t},"9Xx/":function(t,e,n){"use strict";n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return u})),n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return i}));var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=function(t){var e=t.location,n=e.search,r=e.hash,o=e.href,a=e.origin,i=e.protocol,c=e.host,u=e.hostname,l=e.port,p=t.location.pathname;!p&&o&&s&&(p=new URL(o).pathname);return{pathname:encodeURI(decodeURI(p)),search:n,hash:r,href:o,origin:a,protocol:i,host:c,hostname:u,port:l,state:t.history.state,key:t.history.state&&t.history.state.key||"initial"}},a=function(t,e){var n=[],a=o(t),i=!1,s=function(){};return{get location(){return a},get transitioning(){return i},_onTransitionComplete:function(){i=!1,s()},listen:function(e){n.push(e);var r=function(){a=o(t),e({location:a,action:"POP"})};return t.addEventListener("popstate",r),function(){t.removeEventListener("popstate",r),n=n.filter((function(t){return t!==e}))}},navigate:function(e){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=c.state,l=c.replace,p=void 0!==l&&l;if("number"==typeof e)t.history.go(e);else{u=r({},u,{key:Date.now()+""});try{i||p?t.history.replaceState(u,null,e):t.history.pushState(u,null,e)}catch(f){t.location[p?"replace":"assign"](e)}}a=o(t),i=!0;var d=new Promise((function(t){return s=t}));return n.forEach((function(t){return t({location:a,action:"PUSH"})})),d}}},i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=t.indexOf("?"),n={pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(t,e,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(t)},replaceState:function(t,e,n){var i=n.split("?"),s=i[0],c=i[1],u=void 0===c?"":c;o[r]={pathname:s,search:u},a[r]=t},go:function(t){var e=r+t;e<0||e>a.length-1||(r=e)}}}},s=!("undefined"==typeof window||!window.document||!window.document.createElement),c=a(s?window:i()),u=c.navigate},"9hXx":function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;e.default=function(t,e){if(!Array.isArray(e))return"manifest.webmanifest";var n=e.find((function(e){return t.startsWith(e.start_url)}));return n?"manifest_"+n.lang+".webmanifest":"manifest.webmanifest"}},AQQ5:function(t,e,n){},Enzk:function(t,e,n){"use strict";var r=n("284h"),o=n("TqRt");e.__esModule=!0,e.ScrollHandler=e.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);e.ScrollContext=l,l.displayName="GatsbyScrollContext";var p=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this)._stateStorage=new u.SessionStorage,e.scrollListener=function(){var t=e.props.location.key;t&&e._stateStorage.save(e.props.location,t,window.scrollY)},e.windowScroll=function(t,n){e.shouldUpdateScroll(n,e.props)&&window.scrollTo(0,t)},e.scrollToHash=function(t,n){var r=document.getElementById(t.substring(1));r&&e.shouldUpdateScroll(n,e.props)&&r.scrollIntoView()},e.shouldUpdateScroll=function(t,n){var r=e.props.shouldUpdateScroll;return!r||r.call((0,a.default)(e),t,n)},e}(0,i.default)(e,t);var n=e.prototype;return n.componentDidMount=function(){var t;window.addEventListener("scroll",this.scrollListener);var e=this.props.location,n=e.key,r=e.hash;n&&(t=this._stateStorage.read(this.props.location,n)),t?this.windowScroll(t,void 0):r&&this.scrollToHash(decodeURI(r),void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(t){var e,n=this.props.location,r=n.hash,o=n.key;o&&(e=this._stateStorage.read(this.props.location,o)),r?this.scrollToHash(decodeURI(r),t):this.windowScroll(e,t)},n.render=function(){return s.createElement(l.Provider,{value:this._stateStorage},this.props.children)},e}(s.Component);e.ScrollHandler=p,p.propTypes={shouldUpdateScroll:c.default.func,children:c.default.element.isRequired,location:c.default.object.isRequired}},GddB:function(t,e,n){"use strict";n.r(e);n("tb+u"),n("GevN");n("AQQ5")},GevN:function(t,e,n){},IOVJ:function(t,e,n){"use strict";var r=n("dI71"),o=n("q1tI"),a=n.n(o),i=n("emEt"),s=n("xtsi"),c=n("30RF");let u=function(t){function e(){return t.apply(this,arguments)||this}return Object(r.a)(e,t),e.prototype.render=function(){const t={...this.props,params:{...Object(c.c)(this.props.location.pathname),...this.props.pageResources.json.pageContext.__params},pathContext:this.props.pageContext},[e]=Object(s.apiRunner)("replaceComponentRenderer",{props:this.props,loader:i.publicLoader}),n=e||Object(o.createElement)(this.props.pageResources.component,{...t,key:this.props.path||this.props.pageResources.page.path});return Object(s.apiRunner)("wrapPageElement",{element:n,props:t},n,e=>{let{result:n}=e;return{element:n,props:t}}).pop()},e}(a.a.Component);e.a=u},JeVI:function(t){t.exports=JSON.parse("[]")},LYrO:function(t,e,n){"use strict";n.r(e),n.d(e,"startsWith",(function(){return a})),n.d(e,"pick",(function(){return i})),n.d(e,"match",(function(){return s})),n.d(e,"resolve",(function(){return c})),n.d(e,"insertParams",(function(){return u})),n.d(e,"validateRedirect",(function(){return l})),n.d(e,"shallowCompare",(function(){return b}));var r=n("QLaP"),o=n.n(r),a=function(t,e){return t.substr(0,e.length)===e},i=function(t,e){for(var n=void 0,r=void 0,a=e.split("?")[0],i=v(a),s=""===i[0],c=m(t),u=0,l=c.length;u<l;u++){var d=!1,h=c[u].route;if(h.default)r={route:h,params:{},uri:e};else{for(var g=v(h.path),b={},w=Math.max(i.length,g.length),P=0;P<w;P++){var R=g[P],_=i[P];if(f(R)){b[R.slice(1)||"*"]=i.slice(P).map(decodeURIComponent).join("/");break}if(void 0===_){d=!0;break}var S=p.exec(R);if(S&&!s){-1===y.indexOf(S[1])||o()(!1);var O=decodeURIComponent(_);b[S[1]]=O}else if(R!==_){d=!0;break}}if(!d){n={route:h,params:b,uri:"/"+i.slice(0,P).join("/")};break}}}return n||r||null},s=function(t,e){return i([{path:t}],e)},c=function(t,e){if(a(t,"/"))return t;var n=t.split("?"),r=n[0],o=n[1],i=e.split("?")[0],s=v(r),c=v(i);if(""===s[0])return g(i,o);if(!a(s[0],".")){var u=c.concat(s).join("/");return g(("/"===i?"":"/")+u,o)}for(var l=c.concat(s),p=[],d=0,f=l.length;d<f;d++){var h=l[d];".."===h?p.pop():"."!==h&&p.push(h)}return g("/"+p.join("/"),o)},u=function(t,e){var n=t.split("?"),r=n[0],o=n[1],a=void 0===o?"":o,i="/"+v(r).map((function(t){var n=p.exec(t);return n?e[n[1]]:t})).join("/"),s=e.location,c=(s=void 0===s?{}:s).search,u=(void 0===c?"":c).split("?")[1]||"";return i=g(i,a,u)},l=function(t,e){var n=function(t){return d(t)};return v(t).filter(n).sort().join("/")===v(e).filter(n).sort().join("/")},p=/^:(.+)/,d=function(t){return p.test(t)},f=function(t){return t&&"*"===t[0]},h=function(t,e){return{route:t,score:t.default?0:v(t.path).reduce((function(t,e){return t+=4,!function(t){return""===t}(e)?d(e)?t+=2:f(e)?t-=5:t+=3:t+=1,t}),0),index:e}},m=function(t){return t.map(h).sort((function(t,e){return t.score<e.score?1:t.score>e.score?-1:t.index-e.index}))},v=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},g=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t+((n=n.filter((function(t){return t&&t.length>0})))&&n.length>0?"?"+n.join("&"):"")},y=["uri","path"],b=function(t,e){var n=Object.keys(t);return n.length===Object.keys(e).length&&n.every((function(n){return e.hasOwnProperty(n)&&t[n]===e[n]}))}},LeKB:function(t,e,n){t.exports=[{plugin:n("pWkz"),options:{plugins:[],trackingId:"UA-131537657-1",head:!1,anonymize:!1,respectDNT:!1,exclude:[],pageTransitionDelay:0}},{plugin:n("npZl"),options:{plugins:[],name:"Gatsby Starter Blog",short_name:"GatsbyJS",start_url:"/",background_color:"#ffff00",theme_color:"#663339",display:"minimal-ui",icon:"content/assets/gatsby-icon.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"4a9773549091c227cd2eb82ccd9c5e3a"}},{plugin:n("e/UW"),options:{plugins:[]}},{plugin:n("hZAw"),options:{plugins:[],pathToConfigModule:"src/utils/typography"}},{plugin:n("GddB"),options:{plugins:[]}}]},MMVs:function(t,e,n){t.exports=function(){var t=!1;-1!==navigator.appVersion.indexOf("MSIE 10")&&(t=!0);var e,n=[],r="object"==typeof document&&document,o=t?r.documentElement.doScroll("left"):r.documentElement.doScroll,a=r&&(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState);return!a&&r&&r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),a=1;e=n.shift();)e()}),function(t){a?setTimeout(t,0):n.push(t)}}()},NSX3:function(t,e,n){"use strict";n.r(e);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(t){t.addEventListener("updatefound",()=>{Object(r.apiRunner)("onServiceWorkerUpdateFound",{serviceWorker:t});const e=t.installing;console.log("installingWorker",e),e.addEventListener("statechange",()=>{switch(e.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,Object(r.apiRunner)("onServiceWorkerUpdateReady",{serviceWorker:t}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),Object(r.apiRunner)("onServiceWorkerInstalled",{serviceWorker:t}));break;case"redundant":console.error("The installing service worker became redundant."),Object(r.apiRunner)("onServiceWorkerRedundant",{serviceWorker:t});break;case"activated":Object(r.apiRunner)("onServiceWorkerActive",{serviceWorker:t})}})})})).catch((function(t){console.error("Error during service worker registration:",t)}))},NsGk:function(t,e,n){e.components={"component---node-modules-gatsby-plugin-offline-app-shell-js":()=>n.e(5).then(n.t.bind(null,"MqWW",7)),"component---src-pages-404-js":()=>Promise.all([n.e(0),n.e(6)]).then(n.bind(null,"w2l6")),"component---src-pages-about-js":()=>Promise.all([n.e(1),n.e(0),n.e(7)]).then(n.bind(null,"3XHS")),"component---src-pages-index-js":()=>Promise.all([n.e(1),n.e(0),n.e(2),n.e(8)]).then(n.bind(null,"RXBc")),"component---src-templates-blog-post-js":()=>Promise.all([n.e(0),n.e(2),n.e(9)]).then(n.bind(null,"yZlL"))}},PJYZ:function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},QLaP:function(t,e,n){"use strict";t.exports=function(t,e,n,r,o,a,i,s){if(!t){var c;if(void 0===e)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(e.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},SksO:function(t,e){function n(e,r){return t.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,n(e,r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},TqRt:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},UxWs:function(t,e,n){"use strict";n.r(e);var r=n("dI71"),o=n("xtsi"),a=n("q1tI"),i=n.n(a),s=n("i8i4"),c=n.n(s),u=n("YwZP"),l=n("7hJ6"),p=n("MMVs"),d=n.n(p),f=n("Wbzz"),h=n("emEt"),m=n("YLt+"),v=n("5yr3");const g={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 y=n("9Xx/"),b=n("+ZDr");const w=new Map,P=new Map;function R(t){let e=w.get(t);return e||(e=P.get(t.toLowerCase())),null!=e&&(window.___replace(e.toPath),!0)}m.forEach(t=>{t.ignoreCase?P.set(t.fromPath,t):w.set(t.fromPath,t)});const _=(t,e)=>{R(t.pathname)||Object(o.apiRunner)("onPreRouteUpdate",{location:t,prevLocation:e})},S=(t,e)=>{R(t.pathname)||Object(o.apiRunner)("onRouteUpdate",{location:t,prevLocation:e})},O=function(t,e){if(void 0===e&&(e={}),"number"==typeof t)return void y.c.navigate(t);let{pathname:n}=Object(b.parsePath)(t),r=w.get(n);if(r||(r=P.get(n.toLowerCase())),r&&(t=r.toPath,n=Object(b.parsePath)(t).pathname),window.___swUpdated)return void(window.location=n);const a=setTimeout(()=>{v.a.emit("onDelayedLoadPageResources",{pathname:n}),Object(o.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"}),window.location=n),Object(u.navigate)(t,e),clearTimeout(a)})};function x(t,e){let{location:n}=e;const{pathname:r,hash:a}=n,i=Object(o.apiRunner)("shouldUpdateScroll",{prevRouterProps:t,pathname:r,routerProps:{location:n},getSavedScrollPosition:t=>[0,this._stateStorage.read(t,t.key)]});if(i.length>0)return i[i.length-1];if(t){const{location:{pathname:e}}=t;if(e===r)return a?decodeURI(a.slice(1)):[0,0]}return!0}let E=function(t){function e(e){var n;return(n=t.call(this,e)||this).announcementRef=i.a.createRef(),n}Object(r.a)(e,t);var n=e.prototype;return n.componentDidUpdate=function(t,e){requestAnimationFrame(()=>{let t="new page at "+this.props.location.pathname;document.title&&(t=document.title);const e=document.querySelectorAll("#gatsby-focus-wrapper h1");e&&e.length&&(t=e[0].textContent);const n="Navigated to "+t;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}})},n.render=function(){return i.a.createElement("div",Object.assign({},g,{ref:this.announcementRef}))},e}(i.a.Component);const j=(t,e)=>{var n,r;return t.href!==e.href||(null==t||null===(n=t.state)||void 0===n?void 0:n.key)!==(null==e||null===(r=e.state)||void 0===r?void 0:r.key)};let C=function(t){function e(e){var n;return n=t.call(this,e)||this,_(e.location,null),n}Object(r.a)(e,t);var n=e.prototype;return n.componentDidMount=function(){S(this.props.location,null)},n.shouldComponentUpdate=function(t){return!!j(t.location,this.props.location)&&(_(this.props.location,t.location),!0)},n.componentDidUpdate=function(t){j(t.location,this.props.location)&&S(this.props.location,t.location)},n.render=function(){return i.a.createElement(i.a.Fragment,null,this.props.children,i.a.createElement(E,{location:location}))},e}(i.a.Component);var k=n("IOVJ"),L=n("NsGk"),D=n.n(L);function T(t,e){for(var n in t)if(!(n in e))return!0;for(var r in e)if(t[r]!==e[r])return!0;return!1}var M=function(t){function e(e){var n;n=t.call(this)||this;const{location:r,pageResources:o}=e;return n.state={location:{...r},pageResources:o||h.default.loadPageSync(r.pathname)},n}Object(r.a)(e,t),e.getDerivedStateFromProps=function(t,e){let{location:n}=t;if(e.location.href!==n.href){return{pageResources:h.default.loadPageSync(n.pathname),location:{...n}}}return{location:{...n}}};var n=e.prototype;return n.loadResources=function(t){h.default.loadPage(t).then(e=>{e&&e.status!==h.PageResourceStatus.Error?this.setState({location:{...window.location},pageResources:e}):(window.history.replaceState({},"",location.href),window.location=t)})},n.shouldComponentUpdate=function(t,e){return e.pageResources?this.state.pageResources!==e.pageResources||(this.state.pageResources.component!==e.pageResources.component||(this.state.pageResources.json!==e.pageResources.json||(!(this.state.location.key===e.location.key||!e.pageResources.page||!e.pageResources.page.matchPath&&!e.pageResources.page.path)||function(t,e,n){return T(t.props,e)||T(t.state,n)}(this,t,e)))):(this.loadResources(t.location.pathname),!1)},n.render=function(){return this.props.children(this.state)},e}(i.a.Component),U=n("cSJ8"),A=n("JeVI");const W=new h.ProdLoader(D.a,A);Object(h.setLoader)(W),W.setApiRunner(o.apiRunner),window.asyncRequires=D.a,window.___emitter=v.a,window.___loader=h.publicLoader,y.c.listen(t=>{t.location.action=t.action}),window.___push=t=>O(t,{replace:!1}),window.___replace=t=>O(t,{replace:!0}),window.___navigate=(t,e)=>O(t,e),R(window.location.pathname),Object(o.apiRunnerAsync)("onClientEntry").then(()=>{Object(o.apiRunner)("registerServiceWorker").length>0&&n("NSX3");const t=t=>i.a.createElement(u.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},i.a.createElement(k.a,t)),e=i.a.createContext({});let a=function(t){function n(){return t.apply(this,arguments)||this}return Object(r.a)(n,t),n.prototype.render=function(){const{children:t}=this.props;return i.a.createElement(u.Location,null,n=>{let{location:r}=n;return i.a.createElement(M,{location:r},n=>{let{pageResources:r,location:o}=n;const a=Object(h.getStaticQueryResults)();return i.a.createElement(f.StaticQueryContext.Provider,{value:a},i.a.createElement(e.Provider,{value:{pageResources:r,location:o}},t))})})},n}(i.a.Component),s=function(n){function o(){return n.apply(this,arguments)||this}return Object(r.a)(o,n),o.prototype.render=function(){return i.a.createElement(e.Consumer,null,e=>{let{pageResources:n,location:r}=e;return i.a.createElement(C,{location:r},i.a.createElement(l.ScrollContext,{location:r,shouldUpdateScroll:x},i.a.createElement(u.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},i.a.createElement(t,Object.assign({path:"/404.html"===n.page.path?Object(U.a)(r.pathname,""):encodeURI(n.page.matchPath||n.page.path)},this.props,{location:r,pageResources:n},n.json)))))})},o}(i.a.Component);const{pagePath:p,location:m}=window;p&&""+p!==m.pathname&&!(W.findMatchPath(Object(U.a)(m.pathname,""))||"/404.html"===p||p.match(/^\/404\/?$/)||p.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&Object(u.navigate)(""+p+m.search+m.hash,{replace:!0}),h.publicLoader.loadPage(m.pathname).then(t=>{if(!t||t.status===h.PageResourceStatus.Error)throw new Error("page resources for "+m.pathname+" not found. Not rendering React");window.___webpackCompilationHash=t.page.webpackCompilationHash;const e=Object(o.apiRunner)("wrapRootElement",{element:i.a.createElement(s,null)},i.a.createElement(s,null),t=>{let{result:e}=t;return{element:e}}).pop(),n=()=>i.a.createElement(a,null,e),r=Object(o.apiRunner)("replaceHydrateFunction",void 0,c.a.hydrate)[0];d()(()=>{r(i.a.createElement(n,null),"undefined"!=typeof window?document.getElementById("___gatsby"):void 0,()=>{Object(o.apiRunner)("onInitialClientRender")})})})})},VbXa:function(t,e,n){var r=n("SksO");t.exports=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},Wbzz:function(t,e,n){"use strict";n.r(e),n.d(e,"graphql",(function(){return m})),n.d(e,"StaticQueryContext",(function(){return p})),n.d(e,"StaticQuery",(function(){return f})),n.d(e,"useStaticQuery",(function(){return h})),n.d(e,"prefetchPathname",(function(){return l}));var r=n("q1tI"),o=n.n(r),a=n("+ZDr"),i=n.n(a);n.d(e,"Link",(function(){return i.a})),n.d(e,"withAssetPrefix",(function(){return a.withAssetPrefix})),n.d(e,"withPrefix",(function(){return a.withPrefix})),n.d(e,"parsePath",(function(){return a.parsePath})),n.d(e,"navigate",(function(){return a.navigate})),n.d(e,"push",(function(){return a.push})),n.d(e,"replace",(function(){return a.replace})),n.d(e,"navigateTo",(function(){return a.navigateTo}));var s=n("7hJ6");n.d(e,"useScrollRestoration",(function(){return s.useScrollRestoration}));var c=n("lw3w"),u=n.n(c);n.d(e,"PageRenderer",(function(){return u.a}));const l=n("emEt").default.enqueue,p=o.a.createContext({});function d(t){let{staticQueryData:e,data:n,query:r,render:a}=t;const i=n?n.data:e[r]&&e[r].data;return o.a.createElement(o.a.Fragment,null,i&&a(i),!i&&o.a.createElement("div",null,"Loading (StaticQuery)"))}const f=t=>{const{data:e,query:n,render:r,children:a}=t;return o.a.createElement(p.Consumer,null,t=>o.a.createElement(d,{data:e,query:n,render:r||a,staticQueryData:t}))},h=t=>{var e;o.a.useContext;const n=o.a.useContext(p);if(isNaN(Number(t)))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`"+t+"`);\n");if(null!==(e=n[t])&&void 0!==e&&e.data)return n[t].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.")}},"YLt+":function(t){t.exports=JSON.parse("[]")},YVoz:function(t,e,n){"use strict";t.exports=Object.assign},YwZP:function(t,e,n){"use strict";n.r(e),n.d(e,"Link",(function(){return D})),n.d(e,"Location",(function(){return b})),n.d(e,"LocationProvider",(function(){return w})),n.d(e,"Match",(function(){return F})),n.d(e,"Redirect",(function(){return W})),n.d(e,"Router",(function(){return _})),n.d(e,"ServerLocation",(function(){return P})),n.d(e,"isRedirect",(function(){return M})),n.d(e,"redirectTo",(function(){return U})),n.d(e,"useLocation",(function(){return q})),n.d(e,"useNavigate",(function(){return I})),n.d(e,"useParams",(function(){return N})),n.d(e,"useMatch",(function(){return J})),n.d(e,"BaseContext",(function(){return R}));var r=n("q1tI"),o=n.n(r),a=n("QLaP"),i=n.n(a),s=n("nqlD"),c=n.n(s),u=n("94VI"),l=n("LYrO");n.d(e,"matchPath",(function(){return l.match}));var p=n("9Xx/");n.d(e,"createHistory",(function(){return p.a})),n.d(e,"createMemorySource",(function(){return p.b})),n.d(e,"navigate",(function(){return p.d})),n.d(e,"globalHistory",(function(){return p.c}));var d=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function f(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function v(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var g=function(t,e){var n=c()(e);return n.displayName=t,n},y=g("Location"),b=function(t){var e=t.children;return o.a.createElement(y.Consumer,null,(function(t){return t?e(t):o.a.createElement(w,null,e)}))},w=function(t){function e(){var n,r;h(this,e);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=m(this,t.call.apply(t,[this].concat(a))),r.state={context:r.getContext(),refs:{unlisten:null}},m(r,n)}return v(e,t),e.prototype.getContext=function(){var t=this.props.history;return{navigate:t.navigate,location:t.location}},e.prototype.componentDidCatch=function(t,e){if(!M(t))throw t;(0,this.props.history.navigate)(t.uri,{replace:!0})},e.prototype.componentDidUpdate=function(t,e){e.context.location!==this.state.context.location&&this.props.history._onTransitionComplete()},e.prototype.componentDidMount=function(){var t=this,e=this.state.refs,n=this.props.history;n._onTransitionComplete(),e.unlisten=n.listen((function(){Promise.resolve().then((function(){requestAnimationFrame((function(){t.unmounted||t.setState((function(){return{context:t.getContext()}}))}))}))}))},e.prototype.componentWillUnmount=function(){var t=this.state.refs;this.unmounted=!0,t.unlisten()},e.prototype.render=function(){var t=this.state.context,e=this.props.children;return o.a.createElement(y.Provider,{value:t},"function"==typeof e?e(t):e||null)},e}(o.a.Component);w.defaultProps={history:p.c};var P=function(t){var e=t.url,n=t.children,r=e.indexOf("?"),a=void 0,i="";return r>-1?(a=e.substring(0,r),i=e.substring(r)):a=e,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(t){return o.a.createElement(R.Consumer,null,(function(e){return o.a.createElement(b,null,(function(n){return o.a.createElement(S,d({},e,n,t))}))}))},S=function(t){function e(){return h(this,e),m(this,t.apply(this,arguments))}return v(e,t),e.prototype.render=function(){var t=this.props,e=t.location,n=t.navigate,r=t.basepath,a=t.primary,i=t.children,s=(t.baseuri,t.component),c=void 0===s?"div":s,u=f(t,["location","navigate","basepath","primary","children","baseuri","component"]),p=o.a.Children.toArray(i).reduce((function(t,e){var n=G(r)(e);return t.concat(n)}),[]),h=e.pathname,m=Object(l.pick)(p,h);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:e,navigate:function(t,e){return n(Object(l.resolve)(t,g),e)}}),P=o.a.cloneElement(b,w,b.props.children?o.a.createElement(_,{location:e,primary:a},b.props.children):void 0),S=a?x:c,O=a?d({uri:g,location:e,component:c},u):u;return o.a.createElement(R.Provider,{value:{baseuri:g,basepath:r}},o.a.createElement(S,O,P))}return null},e}(o.a.PureComponent);S.defaultProps={primary:!0};var O=g("Focus"),x=function(t){var e=t.uri,n=t.location,r=t.component,a=f(t,["uri","location","component"]);return o.a.createElement(O.Consumer,null,(function(t){return o.a.createElement(C,d({},a,{component:r,requestFocus:t,uri:e,location:n}))}))},E=!0,j=0,C=function(t){function e(){var n,r;h(this,e);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=m(this,t.call.apply(t,[this].concat(a))),r.state={},r.requestFocus=function(t){!r.state.shouldFocus&&t&&t.focus()},m(r,n)}return v(e,t),e.getDerivedStateFromProps=function(t,e){if(null==e.uri)return d({shouldFocus:!0},t);var n=t.uri!==e.uri,r=e.location.pathname!==t.location.pathname&&t.location.pathname===t.uri;return d({shouldFocus:n||r},t)},e.prototype.componentDidMount=function(){j++,this.focus()},e.prototype.componentWillUnmount=function(){0===--j&&(E=!0)},e.prototype.componentDidUpdate=function(t,e){t.location!==this.props.location&&this.state.shouldFocus&&this.focus()},e.prototype.focus=function(){var t=this.props.requestFocus;t?t(this.node):E?E=!1:this.node&&(this.node.contains(document.activeElement)||this.node.focus())},e.prototype.render=function(){var t=this,e=this.props,n=(e.children,e.style),r=(e.requestFocus,e.component),a=void 0===r?"div":r,i=(e.uri,e.location,f(e,["children","style","requestFocus","component","uri","location"]));return o.a.createElement(a,d({style:d({outline:"none"},n),tabIndex:"-1",ref:function(e){return t.node=e}},i),o.a.createElement(O.Provider,{value:this.requestFocus},this.props.children))},e}(o.a.Component);Object(u.polyfill)(C);var k=function(){},L=o.a.forwardRef;void 0===L&&(L=function(t){return t});var D=L((function(t,e){var n=t.innerRef,r=f(t,["innerRef"]);return o.a.createElement(R.Consumer,null,(function(t){t.basepath;var a=t.baseuri;return o.a.createElement(b,null,(function(t){var i=t.location,s=t.navigate,c=r.to,u=r.state,p=r.replace,h=r.getProps,m=void 0===h?k:h,v=f(r,["to","state","replace","getProps"]),g=Object(l.resolve)(c,a),y=encodeURI(g),b=i.pathname===y,w=Object(l.startsWith)(i.pathname,y);return o.a.createElement("a",d({ref:e||n,"aria-current":b?"page":void 0},v,m({isCurrent:b,isPartiallyCurrent:w,href:g,location:i}),{href:g,onClick:function(t){if(v.onClick&&v.onClick(t),H(t)){t.preventDefault();var e=p;if("boolean"!=typeof p&&b){var n=d({},i.state),r=(n.key,f(n,["key"]));e=Object(l.shallowCompare)(d({},u),r)}s(g,{state:u,replace:e})}}}))}))}))}));function T(t){this.uri=t}D.displayName="Link";var M=function(t){return t instanceof T},U=function(t){throw new T(t)},A=function(t){function e(){return h(this,e),m(this,t.apply(this,arguments))}return v(e,t),e.prototype.componentDidMount=function(){var t=this.props,e=t.navigate,n=t.to,r=(t.from,t.replace),o=void 0===r||r,a=t.state,i=(t.noThrow,t.baseuri),s=f(t,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var t=Object(l.resolve)(n,i);e(Object(l.insertParams)(t,s),{replace:o,state:a})}))},e.prototype.render=function(){var t=this.props,e=(t.navigate,t.to),n=(t.from,t.replace,t.state,t.noThrow),r=t.baseuri,o=f(t,["navigate","to","from","replace","state","noThrow","baseuri"]),a=Object(l.resolve)(e,r);return n||U(Object(l.insertParams)(a,o)),null},e}(o.a.Component),W=function(t){return o.a.createElement(R.Consumer,null,(function(e){var n=e.baseuri;return o.a.createElement(b,null,(function(e){return o.a.createElement(A,d({},e,{baseuri:n},t))}))}))},F=function(t){var e=t.path,n=t.children;return o.a.createElement(R.Consumer,null,(function(t){var r=t.baseuri;return o.a.createElement(b,null,(function(t){var o=t.navigate,a=t.location,i=Object(l.resolve)(e,r),s=Object(l.match)(i,a.pathname);return n({navigate:o,location:a,match:s?d({},s.params,{uri:s.uri,path:e}):null})}))}))},q=function(){var t=Object(r.useContext)(y);if(!t)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return t.location},I=function(){var t=Object(r.useContext)(y);if(!t)throw new Error("useNavigate hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return t.navigate},N=function(){var t=Object(r.useContext)(R);if(!t)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var e=q(),n=Object(l.match)(t.basepath,e.pathname);return n?n.params:null},J=function(t){if(!t)throw new Error("useMatch(path: string) requires an argument of a string to match against");var e=Object(r.useContext)(R);if(!e)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var n=q(),o=Object(l.resolve)(t,e.baseuri),a=Object(l.match)(o,n.pathname);return a?d({},a.params,{uri:a.uri,path:t}):null},Q=function(t){return t.replace(/(^\/+|\/+$)/g,"")},G=function t(e){return function(n){if(!n)return null;if(n.type===o.a.Fragment&&n.props.children)return o.a.Children.map(n.props.children,t(e));if(n.props.path||n.props.default||n.type===W||i()(!1),n.type!==W||n.props.from&&n.props.to||i()(!1),n.type!==W||Object(l.validateRedirect)(n.props.from,n.props.to)||i()(!1),n.props.default)return{value:n,default:!0};var r=n.type===W?n.props.from:n.props.path,a="/"===r?e:Q(e)+"/"+Q(r);return{value:n,default:n.props.default,path:n.props.children?Q(a)+"/*":a}}},H=function(t){return!t.defaultPrevented&&0===t.button&&!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}},cDf5:function(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},cSJ8:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=""),e?t===e?"/":t.startsWith(e+"/")?t.slice(e.length):t:t}n.d(e,"a",(function(){return r}))},cu4x:function(t,e,n){"use strict";e.__esModule=!0,e.parsePath=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var a=e.indexOf("?");-1!==a&&(n=e.substr(a),e=e.substr(0,a));return{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}},dI71:function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)}n.d(e,"a",(function(){return o}))},"e/UW":function(t,e,n){"use strict";e.registerServiceWorker=function(){return!0};var r=[];e.onServiceWorkerActive=function(t){var e=t.getResourceURLsForPathname,n=t.serviceWorker;if(window.___swUpdated)n.active.postMessage({gatsbyApi:"clearPathResources"});else{var o=document.querySelectorAll("\n head > script[src],\n head > link[href],\n head > style[data-href]\n "),a=[].slice.call(o).map((function(t){return t.src||t.href||t.getAttribute("data-href")})),i=[];r.forEach((function(t){var r=e(t);i.push.apply(i,r),n.active.postMessage({gatsbyApi:"setPathResources",path:t,resources:r})})),[].concat(a,i).forEach((function(t){var e=document.createElement("link");e.rel="prefetch",e.href=t,e.onload=e.remove,e.onerror=e.remove,document.head.appendChild(e)}))}},e.onPostPrefetchPathname=function(t){var e=t.pathname,n=t.getResourceURLsForPathname;if(!window.___swUpdated&&"serviceWorker"in navigator){var o=navigator.serviceWorker;null===o.controller?r.push(e):o.controller.postMessage({gatsbyApi:"setPathResources",path:e,resources:n(e)})}}},emEt:function(t,e,n){"use strict";n.r(e),n.d(e,"PageResourceStatus",(function(){return p})),n.d(e,"BaseLoader",(function(){return v})),n.d(e,"ProdLoader",(function(){return b})),n.d(e,"setLoader",(function(){return w})),n.d(e,"publicLoader",(function(){return P})),n.d(e,"getStaticQueryResults",(function(){return R}));var r=n("dI71");function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function a(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const i=function(t){if("undefined"==typeof document)return!1;const e=document.createElement("link");try{if(e.relList&&"function"==typeof e.relList.supports)return e.relList.supports(t)}catch(n){return!1}return!1}("prefetch")?function(t,e){return new Promise((n,r)=>{if("undefined"==typeof document)return void r();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",t),Object.keys(e).forEach(t=>{o.setAttribute(t,e[t])}),o.onload=n,o.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)})}:function(t){return new Promise((e,n)=>{const r=new XMLHttpRequest;r.open("GET",t,!0),r.onload=()=>{200===r.status?e():n()},r.send(null)})},s={};var c=function(t,e){return new Promise(n=>{s[t]?n():i(t,e).then(()=>{n(),s[t]=!0}).catch(()=>{})})},u=n("5yr3"),l=n("30RF");const p={Error:"error",Success:"success"},d=t=>t&&t.default||t,f=t=>{var e;return"/page-data/"+("/"===t?"index":e=(e="/"===(e=t)[0]?e.slice(1):e).endsWith("/")?e.slice(0,-1):e)+"/page-data.json"};function h(t,e){return void 0===e&&(e="GET"),new Promise((n,r)=>{const o=new XMLHttpRequest;o.open(e,t,!0),o.onreadystatechange=()=>{4==o.readyState&&n(o)},o.send(null)})}const m=function(t,e){void 0===e&&(e=null);const n={componentChunkName:t.componentChunkName,path:t.path,webpackCompilationHash:t.webpackCompilationHash,matchPath:t.matchPath,staticQueryHashes:t.staticQueryHashes};return{component:e,json:t.result,page:n}};let v=function(){function t(t,e){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=t,Object(l.d)(e)}var e=t.prototype;return e.memoizedGet=function(t){let e=this.inFlightNetworkRequests.get(t);return e||(e=h(t,"GET"),this.inFlightNetworkRequests.set(t,e)),e.then(e=>(this.inFlightNetworkRequests.delete(t),e)).catch(e=>{throw this.inFlightNetworkRequests.delete(t),e})},e.setApiRunner=function(t){this.apiRunner=t,this.prefetchDisabled=t("disableCorePrefetching").some(t=>t)},e.fetchPageDataJson=function(t){const{pagePath:e,retries:n=0}=t,r=f(e);return this.memoizedGet(r).then(r=>{const{status:o,responseText:a}=r;if(200===o)try{const e=JSON.parse(a);if(void 0===e.path)throw new Error("not a valid pageData response");return Object.assign(t,{status:p.Success,payload:e})}catch(i){}return 404===o||200===o?"/404.html"===e?Object.assign(t,{status:p.Error}):this.fetchPageDataJson(Object.assign(t,{pagePath:"/404.html",notFound:!0})):500===o?Object.assign(t,{status:p.Error}):n<3?this.fetchPageDataJson(Object.assign(t,{retries:n+1})):Object.assign(t,{status:p.Error})})},e.loadPageDataJson=function(t){const e=Object(l.b)(t);if(this.pageDataDb.has(e)){const t=this.pageDataDb.get(e);return Promise.resolve(t)}return this.fetchPageDataJson({pagePath:e}).then(t=>(this.pageDataDb.set(e,t),t))},e.findMatchPath=function(t){return Object(l.a)(t)},e.loadPage=function(t){const e=Object(l.b)(t);if(this.pageDb.has(e)){const t=this.pageDb.get(e);return Promise.resolve(t.payload)}if(this.inFlightDb.has(e))return this.inFlightDb.get(e);const n=Promise.all([this.loadAppData(),this.loadPageDataJson(e)]).then(t=>{const n=t[1];if(n.status===p.Error)return{status:p.Error};let r=n.payload;const{componentChunkName:o,staticQueryHashes:a=[]}=r,i={},s=this.loadComponent(o).then(e=>{let o;return i.createdAt=new Date,e?(i.status=p.Success,!0===n.notFound&&(i.notFound=!0),r=Object.assign(r,{webpackCompilationHash:t[0]?t[0].webpackCompilationHash:""}),o=m(r,e)):i.status=p.Error,o}),c=Promise.all(a.map(t=>{if(this.staticQueryDb[t]){const e=this.staticQueryDb[t];return{staticQueryHash:t,jsonPayload:e}}return this.memoizedGet("/page-data/sq/d/"+t+".json").then(e=>{const n=JSON.parse(e.responseText);return{staticQueryHash:t,jsonPayload:n}})})).then(t=>{const e={};return t.forEach(t=>{let{staticQueryHash:n,jsonPayload:r}=t;e[n]=r,this.staticQueryDb[n]=r}),e});return Promise.all([s,c]).then(t=>{let n,[r,o]=t;return r&&(n={...r,staticQueryResults:o},i.payload=n,u.a.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(e,i),n})});return n.then(t=>{this.inFlightDb.delete(e)}).catch(t=>{throw this.inFlightDb.delete(e),t}),this.inFlightDb.set(e,n),n},e.loadPageSync=function(t){const e=Object(l.b)(t);if(this.pageDb.has(e)){return this.pageDb.get(e).payload}},e.shouldPrefetch=function(t){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(t)},e.prefetch=function(t){if(!this.shouldPrefetch(t))return!1;if(this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled)return!1;const e=Object(l.b)(t);return this.doPrefetch(e).then(()=>{this.prefetchCompleted.has(t)||(this.apiRunner("onPostPrefetchPathname",{pathname:t}),this.prefetchCompleted.add(t))}),!0},e.doPrefetch=function(t){const e=f(t);return c(e,{crossOrigin:"anonymous",as:"fetch"}).then(()=>this.loadPageDataJson(t))},e.hovering=function(t){this.loadPage(t)},e.getResourceURLsForPathname=function(t){const e=Object(l.b)(t),n=this.pageDataDb.get(e);if(n){const t=m(n.payload);return[].concat(a(g(t.page.componentChunkName)),[f(e)])}return null},e.isPageNotFound=function(t){const e=Object(l.b)(t),n=this.pageDb.get(e);return!n||n.notFound},e.loadAppData=function(t){return void 0===t&&(t=0),this.memoizedGet("/page-data/app-data.json").then(e=>{const{status:n,responseText:r}=e;let o;if(200!==n&&t<3)return this.loadAppData(t+1);if(200===n)try{const t=JSON.parse(r);if(void 0===t.webpackCompilationHash)throw new Error("not a valid app-data response");o=t}catch(a){}return o})},t}();const g=t=>(window.___chunkMapping[t]||[]).map(t=>""+t);let y,b=function(t){function e(e,n){return t.call(this,t=>e.components[t]?e.components[t]().then(d).catch(()=>null):Promise.resolve(),n)||this}Object(r.a)(e,t);var n=e.prototype;return n.doPrefetch=function(e){return t.prototype.doPrefetch.call(this,e).then(t=>{if(t.status!==p.Success)return Promise.resolve();const e=t.payload,n=e.componentChunkName,r=g(n);return Promise.all(r.map(c)).then(()=>e)})},n.loadPageDataJson=function(e){return t.prototype.loadPageDataJson.call(this,e).then(t=>t.notFound?h(e,"HEAD").then(e=>200===e.status?{status:p.Error}:t):t)},e}(v);const w=t=>{y=t},P={getResourcesForPathname:t=>(console.warn("Warning: getResourcesForPathname is deprecated. Use loadPage instead"),y.i.loadPage(t)),getResourcesForPathnameSync:t=>(console.warn("Warning: getResourcesForPathnameSync is deprecated. Use loadPageSync instead"),y.i.loadPageSync(t)),enqueue:t=>y.prefetch(t),getResourceURLsForPathname:t=>y.getResourceURLsForPathname(t),loadPage:t=>y.loadPage(t),loadPageSync:t=>y.loadPageSync(t),prefetch:t=>y.prefetch(t),isPageNotFound:t=>y.isPageNotFound(t),hovering:t=>y.hovering(t),loadAppData:()=>y.loadAppData()};e.default=P;function R(){return y?y.staticQueryDb:{}}},hZAw:function(t,e,n){"use strict"},hd9s:function(t,e,n){"use strict";var r=n("284h"),o=n("TqRt");e.__esModule=!0,e.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},f=function(t){function e(e){return t.call(this,e)||this}(0,i.default)(e,t);var n=e.prototype;return n.componentDidMount=function(){var t=this,e=c.default.findDOMNode(this),n=this.props,r=n.location,o=n.scrollKey;if(e){e.addEventListener("scroll",(function(){t.props.context.save(r,o,e.scrollTop)}));var a=this.props.context.read(r,o);e.scrollTo(0,a||0)}},n.render=function(){return this.props.children},e}(s.Component),h=function(t){return s.createElement(p.Location,null,(function(e){var n=e.location;return s.createElement(l.ScrollContext.Consumer,null,(function(e){return s.createElement(f,(0,a.default)({},t,{context:e,location:n}))}))}))};e.ScrollContainer=h,h.propTypes=d},lw3w:function(t,e,n){var r;t.exports=(r=n("rzlk"))&&r.default||r},npZl:function(t,e,n){"use strict";var r=n("TqRt");n("Wbzz"),r(n("9hXx"))},nqlD:function(t,e,n){const{createContext:r}=n("q1tI");t.exports=r,t.exports.default=r},pVnL:function(t,e){function n(){return t.exports=n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,n.apply(this,arguments)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},pWkz:function(t,e,n){"use strict";e.__esModule=!0,e.onRouteUpdate=void 0;e.onRouteUpdate=function(t,e){var n=t.location;if(void 0===e&&(e={}),"function"!=typeof ga)return null;if(n&&void 0!==window.excludeGAPaths&&window.excludeGAPaths.some((function(t){return t.test(n.pathname)})))return null;var r=Math.max(32,e.pageTransitionDelay||0);return setTimeout((function(){var t=n?n.pathname+n.search+n.hash:void 0;window.ga("set","page",t),window.ga("send","pageview")}),r),null}},rzlk:function(t,e,n){"use strict";n.r(e);var r=n("q1tI"),o=n.n(r),a=n("emEt"),i=n("IOVJ");e.default=t=>{let{location:e}=t;const n=a.default.loadPageSync(e.pathname);return n?o.a.createElement(i.a,{location:e,pageResources:n,...n.json}):null}},"tb+u":function(t,e,n){},xtsi:function(t,e,n){const r=n("LeKB"),{getResourcesForPathname:o,getResourcesForPathnameSync:a,getResourceURLsForPathname:i,loadPage:s,loadPageSync:c}=n("emEt").publicLoader;e.apiRunner=function(t,e,n,u){void 0===e&&(e={});let l=r.map(n=>{if(!n.plugin[t])return;e.getResourcesForPathnameSync=a,e.getResourcesForPathname=o,e.getResourceURLsForPathname=i,e.loadPage=s,e.loadPageSync=c;const r=n.plugin[t](e,n.options);return r&&u&&(e=u({args:e,result:r,plugin:n})),r});return l=l.filter(t=>void 0!==t),l.length>0?l:n?[n]:[]},e.apiRunnerAsync=(t,e,n)=>r.reduce((n,r)=>r.plugin[t]?n.then(()=>r.plugin[t](e,r.options)):n,Promise.resolve())}},[["UxWs",3,1,10]]]);
//# sourceMappingURL=app-b5340d456f17bb2f7d34.js.map