-
Notifications
You must be signed in to change notification settings - Fork 12
/
app-8c74e0425dc1a5c7a9d7.js
3 lines (3 loc) · 60.2 KB
/
app-8c74e0425dc1a5c7a9d7.js
1
2
3
/*! For license information please see app-8c74e0425dc1a5c7a9d7.js.LICENSE.txt */
(self.webpackChunkblog=self.webpackChunkblog||[]).push([[143],{1506:function(e){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},7154:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},5354:function(e,t,n){var r=n(9489);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},5318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},7316:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},9489:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},2393:function(e,t){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=function(e){var t=e.location,n=t.search,r=t.hash,o=t.href,a=t.origin,s=t.protocol,u=t.host,c=t.hostname,l=t.port,p=e.location.pathname;!p&&o&&i&&(p=new URL(o).pathname);return{pathname:encodeURI(decodeURI(p)),search:n,hash:r,href:o,origin:a,protocol:s,host:u,hostname:c,port:l,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},o=function(e,t){var o=[],a=r(e),i=!1,s=function(){};return{get location(){return a},get transitioning(){return i},_onTransitionComplete:function(){i=!1,s()},listen:function(t){o.push(t);var n=function(){a=r(e),t({location:a,action:"POP"})};return e.addEventListener("popstate",n),function(){e.removeEventListener("popstate",n),o=o.filter((function(e){return e!==t}))}},navigate:function(t){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=u.state,l=u.replace,p=void 0!==l&&l;if("number"==typeof t)e.history.go(t);else{c=n({},c,{key:Date.now()+""});try{i||p?e.history.replaceState(c,null,t):e.history.pushState(c,null,t)}catch(h){e.location[p?"replace":"assign"](t)}}a=r(e),i=!0;var f=new Promise((function(e){return s=e}));return o.forEach((function(e){return e({location:a,action:"PUSH"})})),f}}},a=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],u=i[1],c=void 0===u?"":u;r++,o.push({pathname:s,search:c.length?"?"+c:c}),a.push(e)},replaceState:function(e,t,n){var i=n.split("?"),s=i[0],u=i[1],c=void 0===u?"":u;o[r]={pathname:s,search:c},a[r]=e},go:function(e){var t=r+e;t<0||t>a.length-1||(r=t)}}}},i=!("undefined"==typeof window||!window.document||!window.document.createElement),s=o(i?window:a()),u=s.navigate;t.V5=s},2098:function(e,t,n){"use strict";t.__esModule=!0,t.shallowCompare=t.validateRedirect=t.insertParams=t.resolve=t.match=t.pick=t.startsWith=void 0;var r,o=n(1143),a=(r=o)&&r.__esModule?r:{default:r};var i=function(e,t){return e.substr(0,t.length)===t},s=function(e,t){for(var n=void 0,r=void 0,o=t.split("?")[0],i=h(o),s=""===i[0],c=f(e),p=0,d=c.length;p<d;p++){var m=!1,g=c[p].route;if(g.default)r={route:g,params:{},uri:t};else{for(var y=h(g.path),w={},b=Math.max(i.length,y.length),P=0;P<b;P++){var E=y[P],k=i[P];if(l(E)){w[E.slice(1)||"*"]=i.slice(P).map(decodeURIComponent).join("/");break}if(void 0===k){m=!0;break}var x=u.exec(E);if(x&&!s){-1===v.indexOf(x[1])||(0,a.default)(!1);var S=decodeURIComponent(k);w[x[1]]=S}else if(E!==k){m=!0;break}}if(!m){n={route:g,params:w,uri:"/"+i.slice(0,P).join("/")};break}}}return n||r||null},u=/^:(.+)/,c=function(e){return u.test(e)},l=function(e){return e&&"*"===e[0]},p=function(e,t){return{route:e,score:e.default?0:h(e.path).reduce((function(e,t){return e+=4,!function(e){return""===e}(t)?c(t)?e+=2:l(t)?e-=5:e+=3:e+=1,e}),0),index:t}},f=function(e){return e.map(p).sort((function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index}))},h=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},d=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e+((n=n.filter((function(e){return e&&e.length>0})))&&n.length>0?"?"+n.join("&"):"")},v=["uri","path"];t.startsWith=i,t.pick=s,t.match=function(e,t){return s([{path:e}],t)},t.resolve=function(e,t){if(i(e,"/"))return e;var n=e.split("?"),r=n[0],o=n[1],a=t.split("?")[0],s=h(r),u=h(a);if(""===s[0])return d(a,o);if(!i(s[0],".")){var c=u.concat(s).join("/");return d(("/"===a?"":"/")+c,o)}for(var l=u.concat(s),p=[],f=0,v=l.length;f<v;f++){var m=l[f];".."===m?p.pop():"."!==m&&p.push(m)}return d("/"+p.join("/"),o)},t.insertParams=function(e,t){var n=e.split("?"),r=n[0],o=n[1],a=void 0===o?"":o,i="/"+h(r).map((function(e){var n=u.exec(e);return n?t[n[1]]:e})).join("/"),s=t.location,c=(s=void 0===s?{}:s).search,l=(void 0===c?"":c).split("?")[1]||"";return i=d(i,a,l)},t.validateRedirect=function(e,t){var n=function(e){return c(e)};return h(e).filter(n).sort().join("/")===h(t).filter(n).sort().join("/")},t.shallowCompare=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]}))}},2735:function(e){var t;self,t=function(){return function(){"use strict";var e={"./src/util.js":function(e,t,n){function r(e){for(var t=Object(e),n=0;n<(arguments.length<=1?0:arguments.length-1);n+=1)for(var r=n+1<1||arguments.length<=n+1?void 0:arguments[n+1],o=Object.keys(r),a=0;a<o.length;a+=1)t[o[a]]=r[o[a]];return t}function o(e,t,n){return e<t?t:e>n?n:e}function a(e){return 100*(-1+e)}function i(e){return e>=0&&e<.2?.1:e>=.2&&e<.5?.04:e>=.5&&e<.8?.02:e>=.8&&e<.99?.005:0}function s(e){e&&e.parentNode&&e.parentNode.removeChild(e)}n.r(t),n.d(t,{assign:function(){return r},clamp:function(){return o},toBarPerc:function(){return a},randomInc:function(){return i},removeElement:function(){return s},queue:function(){return u}});var u=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1===e.length&&t()}}()},"./src/styles.css":function(e,t,n){n.r(t)}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return function(){n.r(r);var e=n("./src/util.js"),t=(n("./src/styles.css"),{minimum:.08,easing:"linear",speed:200,trickle:!0,trickleSpeed:200,showSpinner:!0,barSelector:"div.bar",barLabel:"processing request",spinnerSelector:"div.spinner",spinnerLabel:"processing request",parent:"body",template:'\n <div class="bar" role="progressbar" aria-valuemin="0" aria-valuemax="1">\n <div class="peg"></div>\n </div>\n <div class="spinner" role="progressbar" aria-valuemin="0" aria-valuemax="1">\n <div class="spinner-icon"></div>\n </div>\n '});r.default=function(){var n=t,r=null,o=0,a=0;function i(){if(document.getElementById("nprogress"))return document.getElementById("nprogress");document.documentElement.classList.add("nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=n.template;var o="number"==typeof r?"-100":(0,e.toBarPerc)(r||0),a=t.querySelector(n.barSelector);a.setAttribute("aria-label",n.barLabel),a.style.transform="translate3d(".concat(o,"%,0,0)"),a.style.transition="all 0 linear";var i=t.querySelector(n.spinnerSelector);i&&(n.showSpinner?i.setAttribute("aria-label",n.spinnerLabel):(0,e.removeElement)(i));var s=document.querySelector(n.parent);return s&&(s!==document.body&&s.classList.add("nprogress-custom-parent"),s.appendChild(t)),t}return{configure:function(t){return(0,e.assign)(n,t),this},set:function(t){var o=this,a=(0,e.clamp)(t,n.minimum,1);r=1===a?null:a;var s=i();return s.offsetWidth,(0,e.queue)((function(t){var r=n.speed,i=n.easing,u=s.querySelector(n.barSelector);u.setAttribute("aria-valuenow",a),u.style.transform="translate3d(".concat((0,e.toBarPerc)(a),"%,0,0)"),u.style.transition="all ".concat(r,"ms ").concat(i),1===a?(s.style.transition="none",s.style.opacity=1,s.offsetWidth,setTimeout((function(){s.style.transition="all ".concat(r,"ms linear"),s.style.opacity=0,setTimeout((function(){o.remove(),t()}),r)}),r)):setTimeout(t,r)})),this},start:function(){var e=this;return r||this.set(0),n.trickle&&function t(){setTimeout((function(){r&&(e.inc(),t())}),n.trickleSpeed)}(),this},done:function(e){if(!e&&!r)return this;var t=.5*Math.random();return this.inc(.3+t).set(1)},inc:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,e.randomInc)(r);if(!r)return this.start();var n=(0,e.clamp)(r+t,0,.994);return this.set(n)},remove:function(){document.documentElement.classList.remove("nprogress-busy"),document.querySelector(n.parent).classList.remove("nprogress-custom-parent");var t=document.getElementById("nprogress");t&&(0,e.removeElement)(t)},promise:function(e){var t=this;0===a&&this.start(),o+=1,a+=1;var n=function(){0==(a-=1)?(o=0,t.done()):t.set((o-a)/o)};return e.then(n).catch(n),this},get status(){return r},get settings(){return n}}}()}(),r=r.default}()},e.exports=t()},8440:function(e,t){"use strict";t.__esModule=!0,t.applyTrailingSlashOption=void 0;t.applyTrailingSlashOption=function(e,t){void 0===t&&(t="legacy");var n=e.endsWith(".html");return"/"===e?e:(n&&(t="never"),"always"===t?e.endsWith("/")?e:e+"/":"never"===t&&e.endsWith("/")?e.slice(0,-1):e)}},6494:function(e){"use strict";e.exports=Object.assign},8037:function(e,t,n){"use strict";var r=n(5318);t.__esModule=!0,t.withPrefix=v,t.withAssetPrefix=function(e){return v(e,m())},t.navigate=t.default=void 0;var o=r(n(7316)),a=r(n(1506)),i=r(n(5354)),s=r(n(7154)),u=r(n(5697)),c=r(n(7294)),l=n(9499),p=n(1752);t.parsePath=p.parsePath;var f=n(4587),h=n(349),d=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function v(e,t){var n,r;if(void 0===t&&(t=g()),!(0,f.isLocalLink)(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&&o.endsWith("/")?o.slice(0,-1):o)+(e.startsWith("/")?e:"/"+e)}var m=function(){return""},g=function(){return""};var y={activeClassName:u.default.string,activeStyle:u.default.object,partiallyActive:u.default.bool};function w(e){return c.default.createElement(l.Location,null,(function(t){var n=t.location;return c.default.createElement(b,(0,s.default)({},e,{_location:n}))}))}var b=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,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.abortPrefetch=null,n.handleRef=n.handleRef.bind((0,a.default)(n)),n}(0,i.default)(t,e);var n=t.prototype;return n._prefetch=function(){var e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);var t=(0,h.rewriteLinkPath)(this.props.to,e),n=(0,p.parsePath)(t),r=n.pathname+n.search;if(e!==r)return ___loader.enqueue(r)},n.componentWillUnmount=function(){if(this.io){var e=this.io,t=e.instance,n=e.el;this.abortPrefetch&&this.abortPrefetch.abort(),t.unobserve(n),t.disconnect()}},n.handleRef=function(e){var t,n,r,o=this;this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=(t=e,n=function(e){e?o.abortPrefetch=o._prefetch():o.abortPrefetch&&o.abortPrefetch.abort()},(r=new window.IntersectionObserver((function(e){e.forEach((function(e){t===e.target&&n(e.isIntersecting||e.intersectionRatio>0)}))}))).observe(t),{instance:r,el:t}))},n.render=function(){var e=this,t=this.props,n=t.to,r=t.getProps,a=void 0===r?this.defaultGetProps:r,i=t.onClick,u=t.onMouseEnter,v=(t.activeClassName,t.activeStyle,t.innerRef,t.partiallyActive,t.state),m=t.replace,g=t._location,y=(0,o.default)(t,d);var w=(0,h.rewriteLinkPath)(n,g.pathname);return(0,f.isLocalLink)(w)?c.default.createElement(l.Link,(0,s.default)({to:w,state:v,getProps:a,innerRef:this.handleRef,onMouseEnter:function(e){u&&u(e);var t=(0,p.parsePath)(w);___loader.hovering(t.pathname+t.search)},onClick:function(t){if(i&&i(t),!(0!==t.button||e.props.target||t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)){t.preventDefault();var n=m,r=encodeURI(w)===g.pathname;"boolean"!=typeof m&&r&&(n=!0),window.___navigate(w,{state:v,replace:n})}return!0}},y)):c.default.createElement("a",(0,s.default)({href:w},y))},t}(c.default.Component);b.propTypes=(0,s.default)({},y,{onClick:u.default.func,to:u.default.string.isRequired,replace:u.default.bool,state:u.default.object});var P=c.default.forwardRef((function(e,t){return c.default.createElement(w,(0,s.default)({innerRef:t},e))}));t.default=P;t.navigate=function(e,t){window.___navigate((0,h.rewriteLinkPath)(e,window.location.pathname),t)}},4587:function(e,t){"use strict";t.__esModule=!0,t.isLocalLink=void 0;var n=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/;t.isLocalLink=function(e){if("string"==typeof e)return!function(e){return n.test(e)}(e)}},1752:function(e,t){"use strict";t.__esModule=!0,t.parsePath=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.slice(o),t=t.slice(0,o));var a=t.indexOf("?");-1!==a&&(n=t.slice(a),t=t.slice(0,a));return{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}},349:function(e,t,n){"use strict";t.__esModule=!0,t.rewriteLinkPath=void 0;var r=n(2098),o=(n(8440),n(1752)),a=n(4587),i=n(8037),s=function(e){return null==e?void 0:e.startsWith("/")};t.rewriteLinkPath=function(e,t){if("number"==typeof e)return e;if(!(0,a.isLocalLink)(e))return e;var n=(0,o.parsePath)(e),u=(n.pathname,n.search,n.hash,e);return s(u)?(0,i.withPrefix)(u):function(e,t){return s(e)?e:(0,r.resolve)(e,t)}(u,t)}},9679:function(e,t,n){"use strict";t.$C=void 0;var r=n(1432);t.$C=r.ScrollHandler,n(4855).useScrollRestoration},1432:function(e,t,n){"use strict";var r=n(5318);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=r(n(1506)),a=r(n(5354)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(7294)),s=r(n(5697)),u=n(1142);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var l=i.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),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._stateStorage=new u.SessionStorage,t._isTicking=!1,t._latestKnownScrollY=0,t.scrollListener=function(){t._latestKnownScrollY=window.scrollY,t._isTicking||(t._isTicking=!0,requestAnimationFrame(t._saveScroll.bind((0,o.default)(t))))},t.windowScroll=function(e,n){t.shouldUpdateScroll(n,t.props)&&window.scrollTo(0,e)},t.scrollToHash=function(e,n){var r=document.getElementById(e.substring(1));r&&t.shouldUpdateScroll(n,t.props)&&r.scrollIntoView()},t.shouldUpdateScroll=function(e,n){var r=t.props.shouldUpdateScroll;return!r||r.call((0,o.default)(t),e,n)},t}(0,a.default)(t,e);var n=t.prototype;return n._saveScroll=function(){var e=this.props.location.key||null;e&&this._stateStorage.save(this.props.location,e,this._latestKnownScrollY),this._isTicking=!1},n.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,n=t.key,r=t.hash;n&&(e=this._stateStorage.read(this.props.location,n)),e?this.windowScroll(e,void 0):r&&this.scrollToHash(decodeURI(r),void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(e){var t,n=this.props.location,r=n.hash,o=n.key;o&&(t=this._stateStorage.read(this.props.location,o)),r?this.scrollToHash(decodeURI(r),e):this.windowScroll(t,e)},n.render=function(){return i.createElement(l.Provider,{value:this._stateStorage},this.props.children)},t}(i.Component);t.ScrollHandler=p,p.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},1142:function(e,t){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var n="___GATSBY_REACT_ROUTER_SCROLL",r=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var r=this.getStateKey(e,t);try{var o=window.sessionStorage.getItem(r);return o?JSON.parse(o):0}catch(a){return window&&window[n]&&window[n][r]?window[n][r]:0}},t.save=function(e,t,r){var o=this.getStateKey(e,t),a=JSON.stringify(r);try{window.sessionStorage.setItem(o,a)}catch(i){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(a)}},t.getStateKey=function(e,t){var n="@@scroll|"+e.pathname;return null==t?n:n+"|"+t},e}();t.SessionStorage=r},4855: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)(null);return(0,o.useLayoutEffect)((function(){if(i.current){var r=n.read(t,e);i.current.scrollTo(0,r||0)}}),[t.key]),{ref:i,onScroll:function(){i.current&&n.save(t,e,i.current.scrollTop)}}};var r=n(1432),o=n(7294),a=n(9499)},5418:function(e,t,n){t.components={"component---node-modules-gatsby-theme-mini-src-pages-404-jsx":function(){return n.e(542).then(n.bind(n,3431))},"component---node-modules-gatsby-theme-mini-src-pages-index-jsx":function(){return Promise.all([n.e(655),n.e(582)]).then(n.bind(n,1170))},"component---node-modules-gatsby-theme-mini-src-pages-tags-jsx":function(){return Promise.all([n.e(655),n.e(78)]).then(n.bind(n,9102))},"component---node-modules-gatsby-theme-mini-src-templates-post-jsx":function(){return Promise.all([n.e(655),n.e(508)]).then(n.bind(n,3827))}}},4741:function(e,t,n){e.exports=[{plugin:n(9650),options:{plugins:[],offsetY:0,className:"anchor"}},{plugin:n(8805),options:{plugins:[],color:"#2563eb"}},{plugin:n(180),options:{plugins:[]}}]},3092:function(e,t,n){var r=n(4741),o=n(1975).jN,a=o.getResourceURLsForPathname,i=o.loadPage,s=o.loadPageSync;t.h=function(e,t,n,o){void 0===t&&(t={});var u=r.map((function(n){if(n.plugin[e]){t.getResourceURLsForPathname=a,t.loadPage=i,t.loadPageSync=s;var r=n.plugin[e](t,n.options);return r&&o&&(t=o({args:t,result:r,plugin:n})),r}}));return(u=u.filter((function(e){return void 0!==e}))).length>0?u:n?[n]:[]},t.I=function(e,t,n){return r.reduce((function(n,r){return r.plugin[e]?n.then((function(){return r.plugin[e](t,r.options)})):n}),Promise.resolve())}},8299:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var 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)}))}}}()},7802:function(e,t,n){"use strict";n.d(t,{UD:function(){return f},Cj:function(){return d},GA:function(){return h},DS:function(){return p}});var r=n(2098),o=n(1505),a=function(e){if(void 0===e)return e;var t=e.split("?"),n=t[0],r=t[1],o=void 0===r?"":r;return o&&(o="?"+o),"/"===n?"/"+o:"/"===n.charAt(n.length-1)?n.slice(0,-1)+o:n+o},i=n(6073),s=new Map,u=[],c=function(e){var t=e;if(-1!==e.indexOf("?")){var n=e.split("?"),r=n[0],a=n[1];t=r+"?"+encodeURIComponent(a)}var i=decodeURIComponent(t);return(0,o.Z)(i,decodeURIComponent("")).split("#")[0]};function l(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}var p=function(e){u=e},f=function(e){var t=v(e),n=u.map((function(e){var t=e.path;return{path:e.matchPath,originalPath:t}})),o=(0,r.pick)(n,t);return o?a(o.route.originalPath):null},h=function(e){var t=v(e),n=u.map((function(e){var t=e.path;return{path:e.matchPath,originalPath:t}})),o=(0,r.pick)(n,t);return o?o.params:{}},d=function e(t){var n=c(l(t));if(s.has(n))return s.get(n);var r=(0,i.J)(t);if(r)return e(r.toPath);var o=f(n);return o||(o=v(t)),s.set(n,o),o},v=function(e){var t=c(l(e));return"/index.html"===t&&(t="/"),t=a(t)}},1597:function(e,t,n){"use strict";n.d(t,{B9:function(){return a},K2:function(){return i},rU:function(){return o.default}});var r=n(7294),o=n(8037),a=(n(9679),n(2743),n(1975).ZP.enqueue,r.createContext({}));var i=function(e){var t;r.useContext;var n=r.useContext(a);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!==(t=n[e])&&void 0!==t&&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")}},1975:function(e,t,n){"use strict";n.d(t,{uQ:function(){return l},kL:function(){return w},ZP:function(){return E},hs:function(){return k},jN:function(){return P},N1:function(){return b}});var r=n(1721),o=n(5785),a=function(e){if("undefined"==typeof document)return!1;var t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e,t){return new Promise((function(n,r){if("undefined"!=typeof document){var o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach((function(e){o.setAttribute(e,t[e])})),o.onload=n,o.onerror=r,(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}else r()}))}:function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){200===r.status?t():n()},r.send(null)}))},i={},s=function(e,t){return new Promise((function(n){i[e]?n():a(e,t).then((function(){n(),i[e]=!0})).catch((function(){}))}))},u=n(8299),c=n(7802),l={Error:"error",Success:"success"},p=function(e){return e&&e.default||e},f=function(e){var t,n=e.split("?"),r=n[0],o=n[1];return"/page-data/"+("/"===r?"index":(t="/"===(t=r)[0]?t.slice(1):t).endsWith("/")?t.slice(0,-1):t)+"/page-data.json"+(o?"?"+o:"")};function h(e,t){return void 0===t&&(t="GET"),new Promise((function(n){var r=new XMLHttpRequest;r.open(t,e,!0),r.onreadystatechange=function(){4==r.readyState&&n(r)},r.send(null)}))}var d,v=/bot|crawler|spider|crawling/i,m=function(e,t){void 0===t&&(t=null);var n={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError};return{component:t,json:e.result,page:n}},g=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,c.DS)(t)}var t=e.prototype;return t.memoizedGet=function(e){var t=this,n=this.inFlightNetworkRequests.get(e);return n||(n=h(e,"GET"),this.inFlightNetworkRequests.set(e,n)),n.then((function(n){return t.inFlightNetworkRequests.delete(e),n})).catch((function(n){throw t.inFlightNetworkRequests.delete(e),n}))},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((function(e){return e}))},t.fetchPageDataJson=function(e){var t=this,n=e.pagePath,r=e.retries,o=void 0===r?0:r,a=f(n);return this.memoizedGet(a).then((function(r){var a=r.status,i=r.responseText;if(200===a)try{var s=JSON.parse(i);if(void 0===s.path)throw new Error("not a valid pageData response");var u=n.split("?")[1];return u&&!s.path.includes(u)&&(s.path+="?"+u),Object.assign(e,{status:l.Success,payload:s})}catch(c){}return 404===a||200===a?"/404.html"===n||"/500.html"===n?Object.assign(e,{status:l.Error}):t.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===a?t.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):o<3?t.fetchPageDataJson(Object.assign(e,{retries:o+1})):Object.assign(e,{status:l.Error})}))},t.loadPageDataJson=function(e){var t=this,n=(0,c.Cj)(e);if(this.pageDataDb.has(n)){var r=this.pageDataDb.get(n);return Promise.resolve(r)}return this.fetchPageDataJson({pagePath:n}).then((function(e){return t.pageDataDb.set(n,e),e}))},t.findMatchPath=function(e){return(0,c.UD)(e)},t.loadPage=function(e){var t=this,n=(0,c.Cj)(e);if(this.pageDb.has(n)){var r=this.pageDb.get(n);return r.error?{error:r.error,status:r.status}:Promise.resolve(r.payload)}if(this.inFlightDb.has(n))return this.inFlightDb.get(n);var o=Promise.all([this.loadAppData(),this.loadPageDataJson(n)]).then((function(e){var r=e[1];if(r.status===l.Error)return{status:l.Error};var o=r.payload,a=o,i=a.componentChunkName,s=a.staticQueryHashes,c=void 0===s?[]:s,p={},f=t.loadComponent(i).then((function(t){var n;return p.createdAt=new Date,!t||t instanceof Error?(p.status=l.Error,p.error=t):(p.status=l.Success,!0===r.notFound&&(p.notFound=!0),o=Object.assign(o,{webpackCompilationHash:e[0]?e[0].webpackCompilationHash:""}),n=m(o,t)),n})),h=Promise.all(c.map((function(e){if(t.staticQueryDb[e]){var n=t.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:n}}return t.memoizedGet("/page-data/sq/d/"+e+".json").then((function(t){var n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}})).catch((function(){throw new Error("We couldn't load \"/page-data/sq/d/"+e+'.json"')}))}))).then((function(e){var n={};return e.forEach((function(e){var r=e.staticQueryHash,o=e.jsonPayload;n[r]=o,t.staticQueryDb[r]=o})),n}));return Promise.all([f,h]).then((function(e){var r,o=e[0],a=e[1];return o&&(r=Object.assign({},o,{staticQueryResults:a}),p.payload=r,u.Z.emit("onPostLoadPageResources",{page:r,pageResources:r})),t.pageDb.set(n,p),p.error?{error:p.error,status:p.status}:r})).catch((function(e){return{error:e,status:l.Error}}))}));return o.then((function(){t.inFlightDb.delete(n)})).catch((function(e){throw t.inFlightDb.delete(n),e})),this.inFlightDb.set(n,o),o},t.loadPageSync=function(e,t){void 0===t&&(t={});var n=(0,c.Cj)(e);if(this.pageDb.has(n)){var r,o=this.pageDb.get(n);if(o.payload)return o.payload;if(null!==(r=t)&&void 0!==r&&r.withErrorDetails)return{error:o.error,status:o.status}}},t.shouldPrefetch=function(e){return!!function(){if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0}()&&((!navigator.userAgent||!v.test(navigator.userAgent))&&!this.pageDb.has(e))},t.prefetch=function(e){var t=this;if(!this.shouldPrefetch(e))return{then:function(e){return e(!1)},abort:function(){}};if(this.prefetchTriggered.has(e))return{then:function(e){return e(!0)},abort:function(){}};var n={resolve:null,reject:null,promise:null};n.promise=new Promise((function(e,t){n.resolve=e,n.reject=t})),this.prefetchQueued.push([e,n]);var r=new AbortController;return r.signal.addEventListener("abort",(function(){var n=t.prefetchQueued.findIndex((function(t){return t[0]===e}));-1!==n&&t.prefetchQueued.splice(n,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((function(){t._processNextPrefetchBatch()}),3e3)),{then:function(e,t){return n.promise.then(e,t)},abort:r.abort.bind(r)}},t._processNextPrefetchBatch=function(){var e=this;(window.requestIdleCallback||function(e){return setTimeout(e,0)})((function(){var t=e.prefetchQueued.splice(0,4),n=Promise.all(t.map((function(t){var n=t[0],r=t[1];return e.prefetchTriggered.has(n)||(e.apiRunner("onPrefetchPathname",{pathname:n}),e.prefetchTriggered.add(n)),e.prefetchDisabled?r.resolve(!1):e.doPrefetch((0,c.Cj)(n)).then((function(){e.prefetchCompleted.has(n)||(e.apiRunner("onPostPrefetchPathname",{pathname:n}),e.prefetchCompleted.add(n)),r.resolve(!0)}))})));e.prefetchQueued.length?n.then((function(){setTimeout((function(){e._processNextPrefetchBatch()}),3e3)})):e.isPrefetchQueueRunning=!1}))},t.doPrefetch=function(e){var t=this,n=f(e);return s(n,{crossOrigin:"anonymous",as:"fetch"}).then((function(){return t.loadPageDataJson(e)}))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){var t=(0,c.Cj)(e),n=this.pageDataDb.get(t);if(n){var r=m(n.payload);return[].concat((0,o.Z)(y(r.page.componentChunkName)),[f(t)])}return null},t.isPageNotFound=function(e){var t=(0,c.Cj)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){var t=this;return void 0===e&&(e=0),this.memoizedGet("/page-data/app-data.json").then((function(n){var r,o=n.status,a=n.responseText;if(200!==o&&e<3)return t.loadAppData(e+1);if(200===o)try{var i=JSON.parse(a);if(void 0===i.webpackCompilationHash)throw new Error("not a valid app-data response");r=i}catch(s){}return r}))},e}(),y=function(e){return(window.___chunkMapping[e]||[]).map((function(e){return""+e}))},w=function(e){function t(t,n,r){var o;return o=e.call(this,(function(e){if(!t.components[e])throw new Error("We couldn't find the correct component chunk with the name "+e);return t.components[e]().then(p).catch((function(e){return e}))}),n)||this,r&&o.pageDataDb.set((0,c.Cj)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.Z)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then((function(e){if(e.status!==l.Success)return Promise.resolve();var t=e.payload,n=t.componentChunkName,r=y(n);return Promise.all(r.map(s)).then((function(){return t}))}))},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then((function(e){return e.notFound?h(t,"HEAD").then((function(t){return 200===t.status?{status:l.Error}:e})):e}))},t}(g),b=function(e){d=e},P={enqueue:function(e){return d.prefetch(e)},getResourceURLsForPathname:function(e){return d.getResourceURLsForPathname(e)},loadPage:function(e){return d.loadPage(e)},loadPageSync:function(e,t){return void 0===t&&(t={}),d.loadPageSync(e,t)},prefetch:function(e){return d.prefetch(e)},isPageNotFound:function(e){return d.isPageNotFound(e)},hovering:function(e){return d.hovering(e)},loadAppData:function(){return d.loadAppData()}},E=P;function k(){return d?d.staticQueryDb:{}}},8522:function(e,t,n){"use strict";var r=n(1721),o=n(7294),a=n(3092),i=n(7802),s=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=Object.assign({},this.props,{params:Object.assign({},(0,i.GA)(this.props.location.pathname),this.props.pageResources.json.pageContext.__params)}),t=(0,o.createElement)(this.props.pageResources.component,Object.assign({},e,{key:this.props.path||this.props.pageResources.page.path}));return(0,a.h)("wrapPageElement",{element:t,props:e},t,(function(t){return{element:t.result,props:e}})).pop()},t}(o.Component);t.Z=s},5824:function(e,t,n){"use strict";var r=n(1721),o=n(3092),a=n(7294),i=n(9499),s=n(9679),u=n(1597),c=n(1975),l=n(6073),p=n(8299),f={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"},h=n(2393),d=n(8037);function v(e){var t=(0,l.J)(e),n=window.location,r=n.hash,o=n.search;return null!=t&&(window.___replace(t.toPath+o+r),!0)}var m="";window.addEventListener("unhandledrejection",(function(e){/loading chunk \d* failed./i.test(e.reason)&&m&&(window.location.pathname=m)}));var g=function(e,t){v(e.pathname)||(m=e.pathname,(0,o.h)("onPreRouteUpdate",{location:e,prevLocation:t}))},y=function(e,t){v(e.pathname)||(0,o.h)("onRouteUpdate",{location:e,prevLocation:t})},w=function(e,t){if(void 0===t&&(t={}),"number"!=typeof e){var n=(0,d.parsePath)(e),r=n.pathname,a=n.search,s=n.hash,u=(0,l.J)(r);if(u&&(e=u.toPath+a+s),window.___swUpdated)window.location=r+a+s;else{var f=setTimeout((function(){p.Z.emit("onDelayedLoadPageResources",{pathname:r}),(0,o.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);c.ZP.loadPage(r+a).then((function(n){if(!n||n.status===c.uQ.Error)return window.history.replaceState({},"",location.href),window.location=r,void clearTimeout(f);n&&n.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=r+a+s),(0,i.navigate)(e,t),clearTimeout(f)}))}}else h.V5.navigate(e)};function b(e,t){var n=this,r=t.location,a=r.pathname,i=r.hash,s=(0,o.h)("shouldUpdateScroll",{prevRouterProps:e,pathname:a,routerProps:{location:r},getSavedScrollPosition:function(e){return[0,n._stateStorage.read(e,e.key)]}});if(s.length>0)return s[s.length-1];if(e&&e.location.pathname===a)return i?decodeURI(i.slice(1)):[0,0];return!0}var P=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=a.createRef(),n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){var n=this;requestAnimationFrame((function(){var e="new page at "+n.props.location.pathname;document.title&&(e=document.title);var t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);var r="Navigated to "+e;n.announcementRef.current&&(n.announcementRef.current.innerText!==r&&(n.announcementRef.current.innerText=r))}))},n.render=function(){return a.createElement("div",Object.assign({},f,{ref:this.announcementRef}))},t}(a.Component),E=function(e,t){var n,r;return e.href!==t.href||(null==e||null===(n=e.state)||void 0===n?void 0:n.key)!==(null==t||null===(r=t.state)||void 0===r?void 0:r.key)},k=function(e){function t(t){var n;return n=e.call(this,t)||this,g(t.location,null),n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){y(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!E(e.location,this.props.location)&&(g(this.props.location,e.location),!0)},n.componentDidUpdate=function(e){E(e.location,this.props.location)&&y(this.props.location,e.location)},n.render=function(){return a.createElement(a.Fragment,null,this.props.children,a.createElement(P,{location:location}))},t}(a.Component),x=n(8522),S=n(5418);function _(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}var R,C,j=function(e){function t(t){var n;n=e.call(this)||this;var r=t.location,o=t.pageResources;return n.state={location:Object.assign({},r),pageResources:o||c.ZP.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,r.Z)(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.location;return t.location.href!==n.href?{pageResources:c.ZP.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:Object.assign({},n)}:{location:Object.assign({},n)}};var n=t.prototype;return n.loadResources=function(e){var t=this;c.ZP.loadPage(e).then((function(n){n&&n.status!==c.uQ.Error?t.setState({location:Object.assign({},window.location),pageResources:n}):(window.history.replaceState({},"",location.href),window.location=e)}))},n.shouldComponentUpdate=function(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 _(e.props,t)||_(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)},n.render=function(){return this.props.children(this.state)},t}(a.Component),O=n(1505),D=new c.kL(S,[],window.pageData);(0,c.N1)(D),D.setApiRunner(o.h);var L=n(3935);C=L.render,R=L.hydrate,window.asyncRequires=S,window.___emitter=p.Z,window.___loader=c.jN,h.V5.listen((function(e){e.location.action=e.action})),window.___push=function(e){return w(e,{replace:!1})},window.___replace=function(e){return w(e,{replace:!0})},window.___navigate=function(e,t){return w(e,t)};var T="gatsby-reload-compilation-hash-match";(0,o.I)("onClientEntry").then((function(){(0,o.h)("registerServiceWorker").filter(Boolean).length>0&&n(9939);var e=function(e){return a.createElement(i.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.createElement(x.Z,e))},t=a.createContext({}),l=function(e){function n(){return e.apply(this,arguments)||this}return(0,r.Z)(n,e),n.prototype.render=function(){var e=this.props.children;return a.createElement(i.Location,null,(function(n){var r=n.location;return a.createElement(j,{location:r},(function(n){var r=n.pageResources,o=n.location,i=(0,c.hs)();return a.createElement(u.B9.Provider,{value:i},a.createElement(t.Provider,{value:{pageResources:r,location:o}},e))}))}))},n}(a.Component),p=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.Z)(o,n),o.prototype.render=function(){var n=this;return a.createElement(t.Consumer,null,(function(t){var r=t.pageResources,o=t.location;return a.createElement(k,{location:o},a.createElement(s.$C,{location:o,shouldUpdateScroll:b},a.createElement(i.Router,{basepath:"",location:o,id:"gatsby-focus-wrapper"},a.createElement(e,Object.assign({path:"/404.html"===r.page.path||"/500.html"===r.page.path?(0,O.Z)(o.pathname,""):encodeURI((r.page.matchPath||r.page.path).split("?")[0])},n.props,{location:o,pageResources:r},r.json)))))}))},o}(a.Component),f=window,h=f.pagePath,d=f.location;h&&""+h!==d.pathname+(h.includes("?")?d.search:"")&&!(D.findMatchPath((0,O.Z)(d.pathname,""))||h.match(/^\/(404|500)(\/?|.html)$/)||h.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,i.navigate)(""+h+(h.includes("?")?"":d.search)+d.hash,{replace:!0});var v=function(){try{return sessionStorage}catch(e){return null}};c.jN.loadPage(d.pathname+d.search).then((function(e){var t,n=v();if(null!=e&&null!==(t=e.page)&&void 0!==t&&t.webpackCompilationHash&&e.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),n&&!("1"===n.getItem(T))))return n.setItem(T,"1"),void window.location.reload(!0);if(n&&n.removeItem(T),!e||e.status===c.uQ.Error){var r="page resources for "+d.pathname+" not found. Not rendering React";if(e&&e.error)throw console.error(r),e.error;throw new Error(r)}var i=(0,o.h)("wrapRootElement",{element:a.createElement(p,null)},a.createElement(p,null),(function(e){return{element:e.result}})).pop(),s=function(){var e=a.useRef(!1);return a.useEffect((function(){e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.h)("onInitialClientRender"))}),[]),a.createElement(l,null,i)},u=document.getElementById("gatsby-focus-wrapper"),f=C;u&&u.children.length&&(f=R);var h=(0,o.h)("replaceHydrateFunction",void 0,f)[0];function m(){var e="undefined"!=typeof window?document.getElementById("___gatsby"):null;h(a.createElement(s,null),e)}var g=document;if("complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll)setTimeout((function(){m()}),0);else{var y=function e(){g.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),m()};g.addEventListener("DOMContentLoaded",y,!1),window.addEventListener("load",y,!1)}}))}))},224:function(e,t,n){"use strict";n.r(t);var r=n(7294),o=n(1975),a=n(8522);t.default=function(e){var t=e.location,n=o.ZP.loadPageSync(t.pathname);return n?r.createElement(a.Z,Object.assign({location:t,pageResources:n},n.json)):null}},2743:function(e,t,n){var r;e.exports=(r=n(224))&&r.default||r},9712:function(e,t){t.O=function(e){return e}},6073:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=new Map,o=new Map;function a(e){var t=r.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach((function(e){e.ignoreCase?o.set(e.fromPath,e):r.set(e.fromPath,e)}))},9939:function(e,t,n){"use strict";n.r(t);var r=n(3092);"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",(function(){(0,r.h)("onServiceWorkerUpdateFound",{serviceWorker:e});var t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(function(){switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.h)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.h)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.h)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,r.h)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},1505:function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(t+"/")?e.slice(t.length):e:e}n.d(t,{Z:function(){return r}})},8805:function(e,t,n){"use strict";var r=n(5318);t.__esModule=!0,t.onRouteUpdate=t.onRouteUpdateDelayed=t.onClientEntry=void 0;var o=r(n(7154)),a=r(n(2735)),i={color:"#29d"};t.onClientEntry=function(e,t){void 0===t&&(t={});var n=(0,o.default)({},i,t),r="\n #nprogress {\n pointer-events: none;\n }\n #nprogress .bar {\n background: "+n.color+";\n position: fixed;\n z-index: 1031;\n top: 0;\n left: 0;\n width: 100%;\n height: 2px;\n }\n #nprogress .peg {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 10px "+n.color+", 0 0 5px "+n.color+";\n opacity: 1.0;\n -webkit-transform: rotate(3deg) translate(0px, -4px);\n -ms-transform: rotate(3deg) translate(0px, -4px);\n transform: rotate(3deg) translate(0px, -4px);\n }\n #nprogress .spinner {\n display: block;\n position: fixed;\n z-index: 1031;\n top: 15px;\n right: 15px;\n }\n #nprogress .spinner-icon {\n width: 18px;\n height: 18px;\n box-sizing: border-box;\n border: solid 2px transparent;\n border-top-color: "+n.color+";\n border-left-color: "+n.color+";\n border-radius: 50%;\n -webkit-animation: nprogress-spinner 400ms linear infinite;\n animation: nprogress-spinner 400ms linear infinite;\n }\n .nprogress-custom-parent {\n overflow: hidden;\n position: relative;\n }\n .nprogress-custom-parent #nprogress .spinner,\n .nprogress-custom-parent #nprogress .bar {\n position: absolute;\n }\n @-webkit-keyframes nprogress-spinner {\n 0% {\n -webkit-transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n }\n }\n @keyframes nprogress-spinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n ",s=document.createElement("style");s.id="nprogress-styles",s.innerHTML=r,document.head.appendChild(s),a.default.configure(n)};t.onRouteUpdateDelayed=function(){a.default.start()};t.onRouteUpdate=function(){a.default.done()}},9650:function(e,t){"use strict";var n=0,r=function(e){var t=window.decodeURI(e.replace("#",""));if(""!==t){var r=document.getElementById(t);if(r){var o=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,a=document.documentElement.clientTop||document.body.clientTop||0,i=window.getComputedStyle(r),s=i.getPropertyValue("scroll-margin-top")||i.getPropertyValue("scroll-snap-margin-top")||"0px";return r.getBoundingClientRect().top+o-parseInt(s,10)-a-n}}return null};t.onInitialClientRender=function(e,t){t.offsetY&&(n=t.offsetY),requestAnimationFrame((function(){var e=r(window.location.hash);null!==e&&window.scrollTo(0,e)}))},t.shouldUpdateScroll=function(e){var t=e.routerProps.location,n=r(t.hash);return null===n||[0,n]}},180:function(e,t,n){"use strict";n.r(t)},9499:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseContext:function(){return A},Link:function(){return K},Location:function(){return M},LocationProvider:function(){return U},Match:function(){return X},Redirect:function(){return V},Router:function(){return W},ServerLocation:function(){return I},createHistory:function(){return E},createMemorySource:function(){return k},globalHistory:function(){return S},isRedirect:function(){return Y},matchPath:function(){return c},navigate:function(){return _},redirectTo:function(){return $},useLocation:function(){return ee},useMatch:function(){return re},useNavigate:function(){return te},useParams:function(){return ne}});var r=n(7294),o=n(1143),a=n.n(o),i=n(9712),s=function(e,t){return e.substr(0,t.length)===t},u=function(e,t){for(var n=void 0,r=void 0,o=t.split("?")[0],i=g(o),s=""===i[0],u=m(e),c=0,l=u.length;c<l;c++){var p=!1,h=u[c].route;if(h.default)r={route:h,params:{},uri:t};else{for(var v=g(h.path),y={},b=Math.max(i.length,v.length),P=0;P<b;P++){var E=v[P],k=i[P];if(d(E)){y[E.slice(1)||"*"]=i.slice(P).map(decodeURIComponent).join("/");break}if(void 0===k){p=!0;break}var x=f.exec(E);if(x&&!s){-1===w.indexOf(x[1])||a()(!1);var S=decodeURIComponent(k);y[x[1]]=S}else if(E!==k){p=!0;break}}if(!p){n={route:h,params:y,uri:"/"+i.slice(0,P).join("/")};break}}}return n||r||null},c=function(e,t){return u([{path:e}],t)},l=function(e,t){if(s(e,"/"))return e;var n=e.split("?"),r=n[0],o=n[1],a=t.split("?")[0],i=g(r),u=g(a);if(""===i[0])return y(a,o);if(!s(i[0],".")){var c=u.concat(i).join("/");return y(("/"===a?"":"/")+c,o)}for(var l=u.concat(i),p=[],f=0,h=l.length;f<h;f++){var d=l[f];".."===d?p.pop():"."!==d&&p.push(d)}return y("/"+p.join("/"),o)},p=function(e,t){var n=e.split("?"),r=n[0],o=n[1],a=void 0===o?"":o,i="/"+g(r).map((function(e){var n=f.exec(e);return n?t[n[1]]:e})).join("/"),s=t.location,u=(s=void 0===s?{}:s).search,c=(void 0===u?"":u).split("?")[1]||"";return i=y(i,a,c)},f=/^:(.+)/,h=function(e){return f.test(e)},d=function(e){return e&&"*"===e[0]},v=function(e,t){return{route:e,score:e.default?0:g(e.path).reduce((function(e,t){return e+=4,!function(e){return""===e}(t)?h(t)?e+=2:d(t)?e-=5:e+=3:e+=1,e}),0),index:t}},m=function(e){return e.map(v).sort((function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index}))},g=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},y=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e+((n=n.filter((function(e){return e&&e.length>0})))&&n.length>0?"?"+n.join("&"):"")},w=["uri","path"],b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P=function(e){var t=e.location,n=t.search,r=t.hash,o=t.href,a=t.origin,i=t.protocol,s=t.host,u=t.hostname,c=t.port,l=e.location.pathname;!l&&o&&x&&(l=new URL(o).pathname);return{pathname:encodeURI(decodeURI(l)),search:n,hash:r,href:o,origin:a,protocol:i,host:s,hostname:u,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},E=function(e,t){var n=[],r=P(e),o=!1,a=function(){};return{get location(){return r},get transitioning(){return o},_onTransitionComplete:function(){o=!1,a()},listen:function(t){n.push(t);var o=function(){r=P(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),function(){e.removeEventListener("popstate",o),n=n.filter((function(e){return e!==t}))}},navigate:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=i.state,u=i.replace,c=void 0!==u&&u;if("number"==typeof t)e.history.go(t);else{s=b({},s,{key:Date.now()+""});try{o||c?e.history.replaceState(s,null,t):e.history.pushState(s,null,t)}catch(p){e.location[c?"replace":"assign"](t)}}r=P(e),o=!0;var l=new Promise((function(e){return a=e}));return n.forEach((function(e){return e({location:r,action:"PUSH"})})),l}}},k=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],u=i[1],c=void 0===u?"":u;r++,o.push({pathname:s,search:c.length?"?"+c:c}),a.push(e)},replaceState:function(e,t,n){var i=n.split("?"),s=i[0],u=i[1],c=void 0===u?"":u;o[r]={pathname:s,search:c},a[r]=e},go:function(e){var t=r+e;t<0||t>a.length-1||(r=t)}}}},x=!("undefined"==typeof window||!window.document||!window.document.createElement),S=E(x?window:k()),_=S.navigate,R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function C(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(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 D(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 L=function(e,t){var n=(0,r.createContext)(t);return n.displayName=e,n},T=L("Location"),M=function(e){var t=e.children;return r.createElement(T.Consumer,null,(function(e){return e?t(e):r.createElement(U,null,t)}))},U=function(e){function t(){var n,r;j(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=O(this,e.call.apply(e,[this].concat(a))),r.state={context:r.getContext(),refs:{unlisten:null}},O(r,n)}return D(t,e),t.prototype.getContext=function(){var e=this.props.history;return{navigate:e.navigate,location:e.location}},t.prototype.componentDidCatch=function(e,t){if(!Y(e))throw e;(0,this.props.history.navigate)(e.uri,{replace:!0})},t.prototype.componentDidUpdate=function(e,t){t.context.location!==this.state.context.location&&this.props.history._onTransitionComplete()},t.prototype.componentDidMount=function(){var e=this,t=this.state.refs,n=this.props.history;n._onTransitionComplete(),t.unlisten=n.listen((function(){Promise.resolve().then((function(){requestAnimationFrame((function(){e.unmounted||e.setState((function(){return{context:e.getContext()}}))}))}))}))},t.prototype.componentWillUnmount=function(){var e=this.state.refs;this.unmounted=!0,e.unlisten()},t.prototype.render=function(){var e=this.state.context,t=this.props.children;return r.createElement(T.Provider,{value:e},"function"==typeof t?t(e):t||null)},t}(r.Component);U.defaultProps={history:S};var I=function(e){var t=e.url,n=e.children,o=t.indexOf("?"),a=void 0,i="";return o>-1?(a=t.substring(0,o),i=t.substring(o)):a=t,r.createElement(T.Provider,{value:{location:{pathname:a,search:i,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},A=L("Base",{baseuri:"/",basepath:"/",navigate:S.navigate}),W=function(e){return r.createElement(A.Consumer,null,(function(t){return r.createElement(M,null,(function(n){return r.createElement(N,R({},t,n,e))}))}))},N=function(e){function t(){return j(this,t),O(this,e.apply(this,arguments))}return D(t,e),t.prototype.render=function(){var e=this.props,t=e.location,n=e.navigate,o=e.basepath,a=e.primary,i=e.children,s=(e.baseuri,e.component),c=void 0===s?"div":s,p=C(e,["location","navigate","basepath","primary","children","baseuri","component"]),f=r.Children.toArray(i).reduce((function(e,t){var n=ae(o)(t);return e.concat(n)}),[]),h=t.pathname,d=u(f,h);if(d){var v=d.params,m=d.uri,g=d.route,y=d.route.value;o=g.default?o:g.path.replace(/\*$/,"");var w=R({},v,{uri:m,location:t,navigate:function(e,t){return n(l(e,m),t)}}),b=r.cloneElement(y,w,y.props.children?r.createElement(W,{location:t,primary:a},y.props.children):void 0),P=a?q:c,E=a?R({uri:m,location:t,component:c},p):p;return r.createElement(A.Provider,{value:{baseuri:m,basepath:o,navigate:w.navigate}},r.createElement(P,E,b))}return null},t}(r.PureComponent);N.defaultProps={primary:!0};var F=L("Focus"),q=function(e){var t=e.uri,n=e.location,o=e.component,a=C(e,["uri","location","component"]);return r.createElement(F.Consumer,null,(function(e){return r.createElement(Z,R({},a,{component:o,requestFocus:e,uri:t,location:n}))}))},H=!0,Q=0,Z=function(e){function t(){var n,r;j(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=O(this,e.call.apply(e,[this].concat(a))),r.state={},r.requestFocus=function(e){!r.state.shouldFocus&&e&&e.focus()},O(r,n)}return D(t,e),t.getDerivedStateFromProps=function(e,t){if(null==t.uri)return R({shouldFocus:!0},e);var n=e.uri!==t.uri,r=t.location.pathname!==e.location.pathname&&e.location.pathname===e.uri;return R({shouldFocus:n||r},e)},t.prototype.componentDidMount=function(){Q++,this.focus()},t.prototype.componentWillUnmount=function(){0===--Q&&(H=!0)},t.prototype.componentDidUpdate=function(e,t){e.location!==this.props.location&&this.state.shouldFocus&&this.focus()},t.prototype.focus=function(){var e=this.props.requestFocus;e?e(this.node):H?H=!1:this.node&&(this.node.contains(document.activeElement)||this.node.focus())},t.prototype.render=function(){var e=this,t=this.props,n=(t.children,t.style),o=(t.requestFocus,t.component),a=void 0===o?"div":o,i=(t.uri,t.location,C(t,["children","style","requestFocus","component","uri","location"]));return r.createElement(a,R({style:R({outline:"none"},n),tabIndex:"-1",ref:function(t){return e.node=t}},i),r.createElement(F.Provider,{value:this.requestFocus},this.props.children))},t}(r.Component);(0,i.O)(Z);var B=function(){},J=r.forwardRef;void 0===J&&(J=function(e){return e});var K=J((function(e,t){var n=e.innerRef,o=C(e,["innerRef"]);return r.createElement(A.Consumer,null,(function(e){e.basepath;var a=e.baseuri;return r.createElement(M,null,(function(e){var i=e.location,u=e.navigate,c=o.to,p=o.state,f=o.replace,h=o.getProps,d=void 0===h?B:h,v=C(o,["to","state","replace","getProps"]),m=l(c,a),g=encodeURI(m),y=i.pathname===g,w=s(i.pathname,g);return r.createElement("a",R({ref:t||n,"aria-current":y?"page":void 0},v,d({isCurrent:y,isPartiallyCurrent:w,href:m,location:i}),{href:m,onClick:function(e){if(v.onClick&&v.onClick(e),ie(e)){e.preventDefault();var t=f;if("boolean"!=typeof f&&y){var n=R({},i.state),r=(n.key,C(n,["key"]));o=R({},p),a=r,t=(s=Object.keys(o)).length===Object.keys(a).length&&s.every((function(e){return a.hasOwnProperty(e)&&o[e]===a[e]}))}u(m,{state:p,replace:t})}var o,a,s}}))}))}))}));function G(e){this.uri=e}K.displayName="Link";var Y=function(e){return e instanceof G},$=function(e){throw new G(e)},z=function(e){function t(){return j(this,t),O(this,e.apply(this,arguments))}return D(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.navigate,n=e.to,r=(e.from,e.replace),o=void 0===r||r,a=e.state,i=(e.noThrow,e.baseuri),s=C(e,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var e=l(n,i);t(p(e,s),{replace:o,state:a})}))},t.prototype.render=function(){var e=this.props,t=(e.navigate,e.to),n=(e.from,e.replace,e.state,e.noThrow),r=e.baseuri,o=C(e,["navigate","to","from","replace","state","noThrow","baseuri"]),a=l(t,r);return n||$(p(a,o)),null},t}(r.Component),V=function(e){return r.createElement(A.Consumer,null,(function(t){var n=t.baseuri;return r.createElement(M,null,(function(t){return r.createElement(z,R({},t,{baseuri:n},e))}))}))},X=function(e){var t=e.path,n=e.children;return r.createElement(A.Consumer,null,(function(e){var o=e.baseuri;return r.createElement(M,null,(function(e){var r=e.navigate,a=e.location,i=l(t,o),s=c(i,a.pathname);return n({navigate:r,location:a,match:s?R({},s.params,{uri:s.uri,path:t}):null})}))}))},ee=function(){var e=(0,r.useContext)(T);if(!e)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 e.location},te=function(){var e=(0,r.useContext)(A);if(!e)throw new Error("useNavigate hook was used but a BaseContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.navigate},ne=function(){var e=(0,r.useContext)(A);if(!e)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 t=ee(),n=c(e.basepath,t.pathname);return n?n.params:null},re=function(e){if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");var t=(0,r.useContext)(A);if(!t)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=ee(),o=l(e,t.baseuri),a=c(o,n.pathname);return a?R({},a.params,{uri:a.uri,path:e}):null},oe=function(e){return e.replace(/(^\/+|\/+$)/g,"")},ae=function e(t){return function(n){if(!n)return null;if(n.type===r.Fragment&&n.props.children)return r.Children.map(n.props.children,e(t));var o,i,s;if(n.props.path||n.props.default||n.type===V||a()(!1),n.type!==V||n.props.from&&n.props.to||a()(!1),n.type===V&&(o=n.props.from,i=n.props.to,s=function(e){return h(e)},g(o).filter(s).sort().join("/")!==g(i).filter(s).sort().join("/"))&&a()(!1),n.props.default)return{value:n,default:!0};var u=n.type===V?n.props.from:n.props.path,c="/"===u?t:oe(t)+"/"+oe(u);return{value:n,default:n.props.default,path:n.props.children?oe(c)+"/*":c}}},ie=function(e){return!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}},1143:function(e){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,i,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},1721:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:function(){return o}})},5785:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||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.")}()}n.d(t,{Z:function(){return o}})}},function(e){e.O(0,[774,532],(function(){return t=5824,e(e.s=t);var t}));e.O()}]);
//# sourceMappingURL=app-8c74e0425dc1a5c7a9d7.js.map