-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-f2e10b28e0dbb2a8824a.js
2 lines (2 loc) · 72.8 KB
/
app-f2e10b28e0dbb2a8824a.js
1
2
/*! For license information please see app-f2e10b28e0dbb2a8824a.js.LICENSE.txt */
(self.webpackChunkvsp_official_site=self.webpackChunkvsp_official_site||[]).push([[143],{1506:function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},7154:function(t){function e(){return t.exports=e=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},e.apply(this,arguments)}t.exports=e},5354:function(t){t.exports=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}},5318:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},862:function(t,e,n){var r=n(8);function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}t.exports=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var u=i?Object.getOwnPropertyDescriptor(t,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=t[a]}return n.default=t,e&&e.set(t,n),n}},7316:function(t){t.exports=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}},8:function(t){function e(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=e=function(t){return typeof t}:t.exports=e=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(n)}t.exports=e},9228:function(t){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,i="DOMContentLoaded",a=r&&(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState);return!a&&r&&r.addEventListener(i,e=function(){for(r.removeEventListener(i,e),a=1;e=n.shift();)e()}),function(t){a?setTimeout(t,0):n.push(t)}}()},2393:function(t,e){"use strict";var n=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},r=function(t){var e=t.location,n=e.search,r=e.hash,o=e.href,i=e.origin,u=e.protocol,c=e.host,s=e.hostname,l=e.port,f=t.location.pathname;!f&&o&&a&&(f=new URL(o).pathname);return{pathname:encodeURI(decodeURI(f)),search:n,hash:r,href:o,origin:i,protocol:u,host:c,hostname:s,port:l,state:t.history.state,key:t.history.state&&t.history.state.key||"initial"}},o=function(t,e){var o=[],i=r(t),a=!1,u=function(){};return{get location(){return i},get transitioning(){return a},_onTransitionComplete:function(){a=!1,u()},listen:function(e){o.push(e);var n=function(){i=r(t),e({location:i,action:"POP"})};return t.addEventListener("popstate",n),function(){t.removeEventListener("popstate",n),o=o.filter((function(t){return t!==e}))}},navigate:function(e){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=c.state,l=c.replace,f=void 0!==l&&l;if("number"==typeof e)t.history.go(e);else{s=n({},s,{key:Date.now()+""});try{a||f?t.history.replaceState(s,null,e):t.history.pushState(s,null,e)}catch(h){t.location[f?"replace":"assign"](e)}}i=r(t),a=!0;var p=new Promise((function(t){return u=t}));return o.forEach((function(t){return t({location:i,action:"PUSH"})})),p}}},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],i=[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 i[r]},pushState:function(t,e,n){var a=n.split("?"),u=a[0],c=a[1],s=void 0===c?"":c;r++,o.push({pathname:u,search:s.length?"?"+s:s}),i.push(t)},replaceState:function(t,e,n){var a=n.split("?"),u=a[0],c=a[1],s=void 0===c?"":c;o[r]={pathname:u,search:s},i[r]=t},go:function(t){var e=r+t;e<0||e>i.length-1||(r=e)}}}},a=!("undefined"==typeof window||!window.document||!window.document.createElement),u=o(a?window:i()),c=u.navigate;e.V5=u},2098:function(t,e,n){"use strict";e.__esModule=!0,e.shallowCompare=e.validateRedirect=e.insertParams=e.resolve=e.match=e.pick=e.startsWith=void 0;var r,o=n(1143),i=(r=o)&&r.__esModule?r:{default:r};var a=function(t,e){return t.substr(0,e.length)===e},u=function(t,e){for(var n=void 0,r=void 0,o=e.split("?")[0],a=h(o),u=""===a[0],s=p(t),f=0,d=s.length;f<d;f++){var m=!1,y=s[f].route;if(y.default)r={route:y,params:{},uri:e};else{for(var g=h(y.path),b={},w=Math.max(a.length,g.length),P=0;P<w;P++){var O=g[P],S=a[P];if(l(O)){b[O.slice(1)||"*"]=a.slice(P).map(decodeURIComponent).join("/");break}if(void 0===S){m=!0;break}var j=c.exec(O);if(j&&!u){-1===v.indexOf(j[1])||(0,i.default)(!1);var R=decodeURIComponent(S);b[j[1]]=R}else if(O!==S){m=!0;break}}if(!m){n={route:y,params:b,uri:"/"+a.slice(0,P).join("/")};break}}}return n||r||null},c=/^:(.+)/,s=function(t){return c.test(t)},l=function(t){return t&&"*"===t[0]},f=function(t,e){return{route:t,score:t.default?0:h(t.path).reduce((function(t,e){return t+=4,!function(t){return""===t}(e)?s(e)?t+=2:l(e)?t-=5:t+=3:t+=1,t}),0),index:e}},p=function(t){return t.map(f).sort((function(t,e){return t.score<e.score?1:t.score>e.score?-1:t.index-e.index}))},h=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},d=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("&"):"")},v=["uri","path"];e.startsWith=a,e.pick=u,e.match=function(t,e){return u([{path:t}],e)},e.resolve=function(t,e){if(a(t,"/"))return t;var n=t.split("?"),r=n[0],o=n[1],i=e.split("?")[0],u=h(r),c=h(i);if(""===u[0])return d(i,o);if(!a(u[0],".")){var s=c.concat(u).join("/");return d(("/"===i?"":"/")+s,o)}for(var l=c.concat(u),f=[],p=0,v=l.length;p<v;p++){var m=l[p];".."===m?f.pop():"."!==m&&f.push(m)}return d("/"+f.join("/"),o)},e.insertParams=function(t,e){var n=t.split("?"),r=n[0],o=n[1],i=void 0===o?"":o,a="/"+h(r).map((function(t){var n=c.exec(t);return n?e[n[1]]:t})).join("/"),u=e.location,s=(u=void 0===u?{}:u).search,l=(void 0===s?"":s).split("?")[1]||"";return a=d(a,i,l)},e.validateRedirect=function(t,e){var n=function(t){return s(t)};return h(t).filter(n).sort().join("/")===h(e).filter(n).sort().join("/")},e.shallowCompare=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]}))}},6494:function(t){"use strict";t.exports=Object.assign},5666:function(t,e,n){var r,o;void 0===(o="function"==typeof(r=function(){var t,e,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(t,e,n){return t<e?e:t>n?n:t}function i(t){return 100*(-1+t)}function a(t,e,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+i(t)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+i(t)+"%,0)"}:{"margin-left":i(t)+"%"}).transition="all "+e+"ms "+n,o}n.configure=function(t){var e,n;for(e in t)void 0!==(n=t[e])&&t.hasOwnProperty(e)&&(r[e]=n);return this},n.status=null,n.set=function(t){var e=n.isStarted();t=o(t,r.minimum,1),n.status=1===t?null:t;var i=n.render(!e),s=i.querySelector(r.barSelector),l=r.speed,f=r.easing;return i.offsetWidth,u((function(e){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),c(s,a(t,l,f)),1===t?(c(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout((function(){c(i,{transition:"all "+l+"ms linear",opacity:0}),setTimeout((function(){n.remove(),e()}),l)}),l)):setTimeout(e,l)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var t=function t(){setTimeout((function(){n.status&&(n.trickle(),t())}),r.trickleSpeed)};return r.trickle&&t(),this},n.done=function(t){return t||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(t){var e=n.status;return e?("number"!=typeof t&&(t=(1-e)*o(Math.random()*e,.1,.95)),e=o(e+t,0,.994),n.set(e)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},t=0,e=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===e&&n.start(),t++,e++,r.always((function(){0==--e?(t=0,n.done()):n.set((t-e)/t)})),this):this},n.render=function(t){if(n.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var e=document.createElement("div");e.id="nprogress",e.innerHTML=r.template;var o,a=e.querySelector(r.barSelector),u=t?"-100":i(n.status||0),s=document.querySelector(r.parent);return c(a,{transition:"all 0 linear",transform:"translate3d("+u+"%,0,0)"}),r.showSpinner||(o=e.querySelector(r.spinnerSelector))&&h(o),s!=document.body&&l(s,"nprogress-custom-parent"),s.appendChild(e),e},n.remove=function(){f(document.documentElement,"nprogress-busy"),f(document.querySelector(r.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&h(t)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var u=function(){var t=[];function e(){var n=t.shift();n&&n(e)}return function(n){t.push(n),1==t.length&&e()}}(),c=function(){var t=["Webkit","O","Moz","ms"],e={};function n(t){return t.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(t,e){return e.toUpperCase()}))}function r(e){var n=document.body.style;if(e in n)return e;for(var r,o=t.length,i=e.charAt(0).toUpperCase()+e.slice(1);o--;)if((r=t[o]+i)in n)return r;return e}function o(t){return t=n(t),e[t]||(e[t]=r(t))}function i(t,e,n){e=o(e),t.style[e]=n}return function(t,e){var n,r,o=arguments;if(2==o.length)for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&i(t,n,r);else i(t,o[1],o[2])}}();function s(t,e){return("string"==typeof t?t:p(t)).indexOf(" "+e+" ")>=0}function l(t,e){var n=p(t),r=n+e;s(n,e)||(t.className=r.substring(1))}function f(t,e){var n,r=p(t);s(t,e)&&(n=r.replace(" "+e+" "," "),t.className=n.substring(1,n.length-1))}function p(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function h(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return n})?r.call(e,n,e,t):r)||(t.exports=o)},9679:function(t,e,n){"use strict";e.p2=e.$C=void 0;var r=n(1432);e.$C=r.ScrollHandler;var o=n(4855);e.p2=o.useScrollRestoration},1432:function(t,e,n){"use strict";var r=n(862),o=n(5318);e.__esModule=!0,e.ScrollHandler=e.ScrollContext=void 0;var i=o(n(1506)),a=o(n(5354)),u=r(n(7294)),c=o(n(5697)),s=n(1142),l=u.createContext(new s.SessionStorage);e.ScrollContext=l,l.displayName="GatsbyScrollContext";var f=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 s.SessionStorage,e._isTicking=!1,e._latestKnownScrollY=0,e.scrollListener=function(){e._latestKnownScrollY=window.scrollY,e._isTicking||(e._isTicking=!0,requestAnimationFrame(e._saveScroll.bind((0,i.default)(e))))},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,i.default)(e),t,n)},e}(0,a.default)(e,t);var n=e.prototype;return n._saveScroll=function(){var t=this.props.location.key||null;t&&this._stateStorage.save(this.props.location,t,this._latestKnownScrollY),this._isTicking=!1},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 u.createElement(l.Provider,{value:this._stateStorage},this.props.children)},e}(u.Component);e.ScrollHandler=f,f.propTypes={shouldUpdateScroll:c.default.func,children:c.default.element.isRequired,location:c.default.object.isRequired}},1142:function(t,e){"use strict";e.__esModule=!0,e.SessionStorage=void 0;var n="___GATSBY_REACT_ROUTER_SCROLL",r=function(){function t(){}var e=t.prototype;return e.read=function(t,e){var r=this.getStateKey(t,e);try{var o=window.sessionStorage.getItem(r);return o?JSON.parse(o):0}catch(i){return window&&window[n]&&window[n][r]?window[n][r]:0}},e.save=function(t,e,r){var o=this.getStateKey(t,e),i=JSON.stringify(r);try{window.sessionStorage.setItem(o,i)}catch(a){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(i)}},e.getStateKey=function(t,e){var n="@@scroll|"+t.pathname;return null==e?n:n+"|"+e},t}();e.SessionStorage=r},4855:function(t,e,n){"use strict";e.__esModule=!0,e.useScrollRestoration=function(t){var e=(0,i.useLocation)(),n=(0,o.useContext)(r.ScrollContext),a=(0,o.useRef)();return(0,o.useLayoutEffect)((function(){if(a.current){var r=n.read(e,t);a.current.scrollTo(0,r||0)}}),[]),{ref:a,onScroll:function(){a.current&&n.save(e,t,a.current.scrollTop)}}};var r=n(1432),o=n(7294),i=n(9499)},4999:function(t,e,n){e.components={"component---cache-caches-gatsby-plugin-offline-app-shell-js":function(){return n.e(306).then(n.bind(n,1930))},"component---src-pages-404-tsx":function(){return Promise.all([n.e(774),n.e(532),n.e(673),n.e(218)]).then(n.bind(n,7257))},"component---src-pages-index-tsx":function(){return Promise.all([n.e(774),n.e(532),n.e(673),n.e(691)]).then(n.bind(n,8308))},"component---src-templates-category-index-tsx":function(){return Promise.all([n.e(774),n.e(532),n.e(673),n.e(336)]).then(n.bind(n,78))},"component---src-templates-default-page-tsx":function(){return Promise.all([n.e(774),n.e(532),n.e(673),n.e(620)]).then(n.bind(n,6841))},"component---src-templates-page-binder-tsx":function(){return Promise.all([n.e(774),n.e(532),n.e(673),n.e(28)]).then(n.bind(n,6016))},"component---src-templates-sidenav-page-tsx":function(){return Promise.all([n.e(774),n.e(532),n.e(673),n.e(940)]).then(n.bind(n,5222))},"component---src-templates-single-post-tsx":function(){return Promise.all([n.e(774),n.e(532),n.e(673),n.e(700)]).then(n.bind(n,3937))}}},5182:function(t,e,n){t.exports=[{plugin:n(992),options:{plugins:[],name:"天文仮想研究所 VSP",short_name:"VSP",start_url:"/",background_color:"#00C2BD",theme_color:"#00C2BD",display:"standalone",icon:"/home/ec2-user/VSPOfficialSiteFront/static/images/vsplogo.svg",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"d9a541a69396a33630564d51b28182d5"}},{plugin:n(7996),options:{plugins:[]}},{plugin:n(1140),options:{plugins:[],color:"white",showSpinner:!1}},{plugin:n(307),options:{plugins:[]}}]},7343:function(t,e,n){var r=n(5182),o=n(8741).jN,i=o.getResourceURLsForPathname,a=o.loadPage,u=o.loadPageSync;e.h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;var c=r.map((function(n){if(n.plugin[t]){e.getResourceURLsForPathname=i,e.loadPage=a,e.loadPageSync=u;var r=n.plugin[t](e,n.options);return r&&o&&(e=o({args:e,result:r,plugin:n})),r}}));return(c=c.filter((function(t){return void 0!==t}))).length>0?c:n?[n]:[]},e.I=function(t,e,n){return r.reduce((function(n,r){return r.plugin[t]?n.then((function(){return r.plugin[t](e,r.options)})):n}),Promise.resolve())}},8110:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var 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)}))}}}()},2257:function(t,e,n){"use strict";n.d(e,{UD:function(){return f},Cj:function(){return h},GA:function(){return p},DS:function(){return l}});var r=n(2098),o=n(1578),i=function(t){return void 0===t?t:"/"===t?"/":"/"===t.charAt(t.length-1)?t.slice(0,-1):t},a=new Map,u=[],c=function(t){var e=decodeURIComponent(t);return(0,o.Z)(e,"").split("#")[0].split("?")[0]};function s(t){return t.startsWith("/")||t.startsWith("https://")||t.startsWith("http://")?t:new URL(t,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}var l=function(t){u=t},f=function(t){var e=d(t),n=u.map((function(t){var e=t.path;return{path:t.matchPath,originalPath:e}})),o=(0,r.pick)(n,e);return o?i(o.route.originalPath):null},p=function(t){var e=d(t),n=u.map((function(t){var e=t.path;return{path:t.matchPath,originalPath:e}})),o=(0,r.pick)(n,e);return o?o.params:{}},h=function(t){var e=c(s(t));if(a.has(e))return a.get(e);var n=f(e);return n||(n=d(t)),a.set(e,n),n},d=function(t){var e=c(s(t));return"/index.html"===e&&(e="/"),e=i(e)}},5444:function(t,e,n){"use strict";n.r(e),n.d(e,{Link:function(){return a.ZP},withAssetPrefix:function(){return a.mc},withPrefix:function(){return a.dq},graphql:function(){return v},parsePath:function(){return a.cP},navigate:function(){return a.c4},useScrollRestoration:function(){return u.p2},StaticQueryContext:function(){return f},StaticQuery:function(){return h},PageRenderer:function(){return s.a},useStaticQuery:function(){return d},prefetchPathname:function(){return l}});var r=n(7294),o=n(5697),i=n.n(o),a=n(8902),u=n(9679),c=n(861),s=n.n(c),l=n(8741).ZP.enqueue,f=r.createContext({});function p(t){var e=t.staticQueryData,n=t.data,o=t.query,i=t.render,a=n?n.data:e[o]&&e[o].data;return r.createElement(r.Fragment,null,a&&i(a),!a&&r.createElement("div",null,"Loading (StaticQuery)"))}var h=function(t){var e=t.data,n=t.query,o=t.render,i=t.children;return r.createElement(f.Consumer,null,(function(t){return r.createElement(p,{data:e,query:n,render:o||i,staticQueryData:t})}))},d=function(t){var e;r.useContext;var n=r.useContext(f);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`".concat(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 v(){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.")}h.propTypes={data:i().object,query:i().string.isRequired,render:i().func,children:i().func}},8741:function(t,e,n){"use strict";n.d(e,{uQ:function(){return j},kL:function(){return T},ZP:function(){return M},hs:function(){return W},jN:function(){return L},N1:function(){return U}});var r=function(t){if("undefined"==typeof document)return!1;var 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((function(n,r){if("undefined"!=typeof document){var o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",t),Object.keys(e).forEach((function(t){o.setAttribute(t,e[t])})),o.onload=n,o.onerror=r,(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}else r()}))}:function(t){return new Promise((function(e,n){var r=new XMLHttpRequest;r.open("GET",t,!0),r.onload=function(){200===r.status?e():n()},r.send(null)}))},o={},i=function(t,e){return new Promise((function(n){o[t]?n():r(t,e).then((function(){n(),o[t]=!0})).catch((function(){}))}))},a=n(8110),u=n(2257);function c(t){return(c="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)}function s(t,e,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=h(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h(t);if(e){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t){return function(t){if(Array.isArray(t))return b(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||g(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.")}()}function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function m(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){S(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(t,e)||g(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){if(t){if("string"==typeof t)return b(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)?b(t,e):void 0}}function b(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 w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function P(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function O(t,e,n){return e&&P(t.prototype,e),n&&P(t,n),t}function S(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var j={Error:"error",Success:"success"},R=function(t){return t&&t.default||t},k=function(t){var e,n="/"===t?"index":(e="/"===(e=t)[0]?e.slice(1):e).endsWith("/")?e.slice(0,-1):e;return"".concat("","/page-data/").concat(n,"/page-data.json")};function _(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET";return new Promise((function(n,r){var o=new XMLHttpRequest;o.open(e,t,!0),o.onreadystatechange=function(){4==o.readyState&&n(o)},o.send(null)}))}var E,C=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={componentChunkName:t.componentChunkName,path:t.path,webpackCompilationHash:t.webpackCompilationHash,matchPath:t.matchPath,staticQueryHashes:t.staticQueryHashes};return{component:e,json:t.result,page:n}},x=function(){function t(e,n){w(this,t),S(this,"inFlightNetworkRequests",new Map),this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,u.DS)(n)}return O(t,[{key:"memoizedGet",value:function(t){var e=this,n=this.inFlightNetworkRequests.get(t);return n||(n=_(t,"GET"),this.inFlightNetworkRequests.set(t,n)),n.then((function(n){return e.inFlightNetworkRequests.delete(t),n})).catch((function(n){throw e.inFlightNetworkRequests.delete(t),n}))}},{key:"setApiRunner",value:function(t){this.apiRunner=t,this.prefetchDisabled=t("disableCorePrefetching").some((function(t){return t}))}},{key:"fetchPageDataJson",value:function(t){var e=this,n=t.pagePath,r=t.retries,o=void 0===r?0:r,i=k(n);return this.memoizedGet(i).then((function(r){var i=r.status,a=r.responseText;if(200===i)try{var u=JSON.parse(a);if(void 0===u.path)throw new Error("not a valid pageData response");return Object.assign(t,{status:j.Success,payload:u})}catch(c){}return 404===i||200===i?"/404.html"===n?Object.assign(t,{status:j.Error}):e.fetchPageDataJson(Object.assign(t,{pagePath:"/404.html",notFound:!0})):500===i?Object.assign(t,{status:j.Error}):o<3?e.fetchPageDataJson(Object.assign(t,{retries:o+1})):Object.assign(t,{status:j.Error})}))}},{key:"loadPageDataJson",value:function(t){var e=this,n=(0,u.Cj)(t);if(this.pageDataDb.has(n)){var r=this.pageDataDb.get(n);return Promise.resolve(r)}return this.fetchPageDataJson({pagePath:n}).then((function(t){return e.pageDataDb.set(n,t),t}))}},{key:"findMatchPath",value:function(t){return(0,u.UD)(t)}},{key:"loadPage",value:function(t){var e=this,n=(0,u.Cj)(t);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(t){var r=t[1];if(r.status===j.Error)return{status:j.Error};var o=r.payload,i=o,u=i.componentChunkName,c=i.staticQueryHashes,s=void 0===c?[]:c,l={},f=e.loadComponent(u).then((function(e){var n;return l.createdAt=new Date,!e||e instanceof Error?(l.status=j.Error,l.error=e):(l.status=j.Success,!0===r.notFound&&(l.notFound=!0),o=Object.assign(o,{webpackCompilationHash:t[0]?t[0].webpackCompilationHash:""}),n=C(o,e)),n})),p=Promise.all(s.map((function(t){if(e.staticQueryDb[t]){var n=e.staticQueryDb[t];return{staticQueryHash:t,jsonPayload:n}}return e.memoizedGet("".concat("","/page-data/sq/d/").concat(t,".json")).then((function(e){var n=JSON.parse(e.responseText);return{staticQueryHash:t,jsonPayload:n}})).catch((function(){throw new Error("We couldn't load \"".concat("","/page-data/sq/d/").concat(t,'.json"'))}))}))).then((function(t){var n={};return t.forEach((function(t){var r=t.staticQueryHash,o=t.jsonPayload;n[r]=o,e.staticQueryDb[r]=o})),n}));return Promise.all([f,p]).then((function(t){var r,o=y(t,2),i=o[0],u=o[1];return i&&(r=m(m({},i),{},{staticQueryResults:u}),l.payload=r,a.Z.emit("onPostLoadPageResources",{page:r,pageResources:r})),e.pageDb.set(n,l),l.error?{error:l.error,status:l.status}:r})).catch((function(t){return{error:t,status:j.Error}}))}));return o.then((function(){e.inFlightDb.delete(n)})).catch((function(t){throw e.inFlightDb.delete(n),t})),this.inFlightDb.set(n,o),o}},{key:"loadPageSync",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,u.Cj)(t);if(this.pageDb.has(n)){var r=this.pageDb.get(n);if(r.payload)return r.payload;if(null!=e&&e.withErrorDetails)return{error:r.error,status:r.status}}}},{key:"shouldPrefetch",value:function(t){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}()&&!this.pageDb.has(t)}},{key:"prefetch",value:function(t){var e=this;if(!this.shouldPrefetch(t))return!1;if(this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled)return!1;var n=(0,u.Cj)(t);return this.doPrefetch(n).then((function(){e.prefetchCompleted.has(t)||(e.apiRunner("onPostPrefetchPathname",{pathname:t}),e.prefetchCompleted.add(t))})),!0}},{key:"doPrefetch",value:function(t){var e=this,n=k(t);return i(n,{crossOrigin:"anonymous",as:"fetch"}).then((function(){return e.loadPageDataJson(t)}))}},{key:"hovering",value:function(t){this.loadPage(t)}},{key:"getResourceURLsForPathname",value:function(t){var e=(0,u.Cj)(t),n=this.pageDataDb.get(e);if(n){var r=C(n.payload);return[].concat(d(D(r.page.componentChunkName)),[k(e)])}return null}},{key:"isPageNotFound",value:function(t){var e=(0,u.Cj)(t),n=this.pageDb.get(e);return!n||n.notFound}},{key:"loadAppData",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.memoizedGet("".concat("","/page-data/app-data.json")).then((function(n){var r,o=n.status,i=n.responseText;if(200!==o&&e<3)return t.loadAppData(e+1);if(200===o)try{var a=JSON.parse(i);if(void 0===a.webpackCompilationHash)throw new Error("not a valid app-data response");r=a}catch(u){}return r}))}}]),t}(),D=function(t){return(window.___chunkMapping[t]||[]).map((function(t){return""+t}))},T=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(n,t);var e=f(n);function n(t,r){w(this,n);return e.call(this,(function(e){if(!t.components[e])throw new Error("We couldn't find the correct component chunk with the name ".concat(e));return t.components[e]().then(R).catch((function(t){return t}))}),r)}return O(n,[{key:"doPrefetch",value:function(t){return s(h(n.prototype),"doPrefetch",this).call(this,t).then((function(t){if(t.status!==j.Success)return Promise.resolve();var e=t.payload,n=e.componentChunkName,r=D(n);return Promise.all(r.map(i)).then((function(){return e}))}))}},{key:"loadPageDataJson",value:function(t){return s(h(n.prototype),"loadPageDataJson",this).call(this,t).then((function(e){return e.notFound?_(t,"HEAD").then((function(t){return 200===t.status?{status:j.Error}:e})):e}))}}]),n}(x),U=function(t){E=t},L={enqueue:function(t){return E.prefetch(t)},getResourceURLsForPathname:function(t){return E.getResourceURLsForPathname(t)},loadPage:function(t){return E.loadPage(t)},loadPageSync:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return E.loadPageSync(t,e)},prefetch:function(t){return E.prefetch(t)},isPageNotFound:function(t){return E.isPageNotFound(t)},hovering:function(t){return E.hovering(t)},loadAppData:function(){return E.loadAppData()}},M=L;function W(){return E?E.staticQueryDb:{}}},804:function(t,e,n){"use strict";var r=n(7294),o=n(5697),i=n.n(o),a=n(7343),u=n(2257);function c(t){return(c="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)}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){f(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function v(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(c,t);var e,n,o,i=v(c);function c(){return p(this,c),i.apply(this,arguments)}return e=c,(n=[{key:"render",value:function(){var t=l(l({},this.props),{},{params:l(l({},(0,u.GA)(this.props.location.pathname)),this.props.pageResources.json.pageContext.__params)}),e=(0,r.createElement)(this.props.pageResources.component,l(l({},t),{},{key:this.props.path||this.props.pageResources.page.path}));return(0,a.h)("wrapPageElement",{element:e,props:t},e,(function(e){return{element:e.result,props:t}})).pop()}}])&&h(e.prototype,n),o&&h(e,o),c}(r.Component);g.propTypes={location:i().object.isRequired,pageResources:i().object.isRequired,data:i().object,pageContext:i().object.isRequired},e.Z=g},376:function(t,e,n){"use strict";var r=n(7343),o=n(7294),i=n(3935),a=n(9499),u=n(9679),c=n(9228),s=n.n(c),l=n(5444),f=n(5697),p=n.n(f),h=n(8741),d=n(8110),v={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"},m=n(2393),y=n(8902);function g(t){return(g="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)}function b(){return(b=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}).apply(this,arguments)}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function P(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function O(t,e,n){return e&&P(t.prototype,e),n&&P(t,n),t}function S(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j(t,e)}function j(t,e){return(j=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function R(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_(t);if(e){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return k(this,n)}}function k(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var E=new Map,C=new Map;function x(t){var e=E.get(t);return e||(e=C.get(t.toLowerCase())),null!=e&&(window.___replace(e.toPath),!0)}[].forEach((function(t){t.ignoreCase?C.set(t.fromPath,t):E.set(t.fromPath,t)}));var D=function(t,e){x(t.pathname)||(0,r.h)("onPreRouteUpdate",{location:t,prevLocation:e})},T=function(t,e){x(t.pathname)||(0,r.h)("onRouteUpdate",{location:t,prevLocation:e})},U=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("number"!=typeof t){var n=(0,y.cP)(t),o=n.pathname,i=E.get(o);if(i||(i=C.get(o.toLowerCase())),i&&(t=i.toPath,o=(0,y.cP)(t).pathname),window.___swUpdated)window.location=o;else{var u=setTimeout((function(){d.Z.emit("onDelayedLoadPageResources",{pathname:o}),(0,r.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);h.ZP.loadPage(o).then((function(n){if(!n||n.status===h.uQ.Error)return window.history.replaceState({},"",location.href),window.location=o,void clearTimeout(u);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=o),(0,a.navigate)(t,e),clearTimeout(u)}))}}else m.V5.navigate(t)};function L(t,e){var n=this,o=e.location,i=o.pathname,a=o.hash,u=(0,r.h)("shouldUpdateScroll",{prevRouterProps:t,pathname:i,routerProps:{location:o},getSavedScrollPosition:function(t){return[0,n._stateStorage.read(t,t.key)]}});if(u.length>0)return u[u.length-1];if(t&&t.location.pathname===i)return a?decodeURI(a.slice(1)):[0,0];return!0}var M=function(t){S(n,t);var e=R(n);function n(t){var r;return w(this,n),(r=e.call(this,t)).announcementRef=o.createRef(),r}return O(n,[{key:"componentDidUpdate",value:function(t,e){var n=this;requestAnimationFrame((function(){var t="new page at ".concat(n.props.location.pathname);document.title&&(t=document.title);var e=document.querySelectorAll("#gatsby-focus-wrapper h1");e&&e.length&&(t=e[0].textContent);var r="Navigated to ".concat(t);n.announcementRef.current&&(n.announcementRef.current.innerText!==r&&(n.announcementRef.current.innerText=r))}))}},{key:"render",value:function(){return o.createElement("div",b({},v,{ref:this.announcementRef}))}}]),n}(o.Component),W=function(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)},q=function(t){S(n,t);var e=R(n);function n(t){var r;return w(this,n),r=e.call(this,t),D(t.location,null),r}return O(n,[{key:"componentDidMount",value:function(){T(this.props.location,null)}},{key:"shouldComponentUpdate",value:function(t){return!!W(t.location,this.props.location)&&(D(this.props.location,t.location),!0)}},{key:"componentDidUpdate",value:function(t){W(t.location,this.props.location)&&T(this.props.location,t.location)}},{key:"render",value:function(){return o.createElement(o.Fragment,null,this.props.children,o.createElement(M,{location:location}))}}]),n}(o.Component);q.propTypes={location:p().object.isRequired};var A=n(804),N=n(4999);function F(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}function I(t){return(I="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)}function H(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?H(Object(n),!0).forEach((function(e){Z(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Z(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function B(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function G(t,e){return(G=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function J(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=z(t);if(e){var o=z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return K(this,n)}}function K(t,e){return!e||"object"!==I(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function z(t){return(z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var $=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&G(t,e)}(i,t);var e,n,r,o=J(i);function i(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),e=o.call(this);var n=t.location,r=t.pageResources;return e.state={location:Q({},n),pageResources:r||h.ZP.loadPageSync(n.pathname,{withErrorDetails:!0})},e}return e=i,r=[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.location;return e.location.href!==n.href?{pageResources:h.ZP.loadPageSync(n.pathname,{withErrorDetails:!0}),location:Q({},n)}:{location:Q({},n)}}}],(n=[{key:"loadResources",value:function(t){var e=this;h.ZP.loadPage(t).then((function(n){n&&n.status!==h.uQ.Error?e.setState({location:Q({},window.location),pageResources:n}):(window.history.replaceState({},"",location.href),window.location=t)}))}},{key:"shouldComponentUpdate",value: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 F(t.props,e)||F(t.state,n)}(this,t,e):(this.loadResources(t.location.pathname),!1)}},{key:"render",value:function(){return this.props.children(this.state)}}])&&B(e.prototype,n),r&&B(e,r),i}(o.Component),V=n(1578);function Y(t){return(Y="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)}function X(){return(X=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}).apply(this,arguments)}function tt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function et(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nt(t,e,n){return e&&et(t.prototype,e),n&&et(t,n),t}function rt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ot(t,e)}function ot(t,e){return(ot=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function it(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ut(t);if(e){var o=ut(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return at(this,n)}}function at(t,e){return!e||"object"!==Y(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ut(t){return(ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ct=new h.kL(N,[]);(0,h.N1)(ct),ct.setApiRunner(r.h),window.asyncRequires=N,window.___emitter=d.Z,window.___loader=h.jN,m.V5.listen((function(t){t.location.action=t.action})),window.___push=function(t){return U(t,{replace:!1})},window.___replace=function(t){return U(t,{replace:!0})},window.___navigate=function(t,e){return U(t,e)},x(window.location.pathname),(0,r.I)("onClientEntry").then((function(){(0,r.h)("registerServiceWorker").length>0&&n(154);var t=function(t){return o.createElement(a.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},o.createElement(A.Z,t))},e=o.createContext({}),c=function(t){rt(r,t);var n=it(r);function r(){return tt(this,r),n.apply(this,arguments)}return nt(r,[{key:"render",value:function(){var t=this.props.children;return o.createElement(a.Location,null,(function(n){var r=n.location;return o.createElement($,{location:r},(function(n){var r=n.pageResources,i=n.location,a=(0,h.hs)();return o.createElement(l.StaticQueryContext.Provider,{value:a},o.createElement(e.Provider,{value:{pageResources:r,location:i}},t))}))}))}}]),r}(o.Component),f=function(n){rt(i,n);var r=it(i);function i(){return tt(this,i),r.apply(this,arguments)}return nt(i,[{key:"render",value:function(){var n=this;return o.createElement(e.Consumer,null,(function(e){var r=e.pageResources,i=e.location;return o.createElement(q,{location:i},o.createElement(u.$C,{location:i,shouldUpdateScroll:L},o.createElement(a.Router,{basepath:"",location:i,id:"gatsby-focus-wrapper"},o.createElement(t,X({path:"/404.html"===r.page.path?(0,V.Z)(i.pathname,""):encodeURI(r.page.matchPath||r.page.path)},n.props,{location:i,pageResources:r},r.json)))))}))}}]),i}(o.Component),p=window,d=p.pagePath,v=p.location;d&&""+d!==v.pathname&&!(ct.findMatchPath((0,V.Z)(v.pathname,""))||"/404.html"===d||d.match(/^\/404\/?$/)||d.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,a.navigate)(""+d+v.search+v.hash,{replace:!0}),h.jN.loadPage(v.pathname).then((function(t){if(!t||t.status===h.uQ.Error){var e="page resources for ".concat(v.pathname," not found. Not rendering React");if(t&&t.error)throw console.error(e),t.error;throw new Error(e)}window.___webpackCompilationHash=t.page.webpackCompilationHash;var n=(0,r.h)("wrapRootElement",{element:o.createElement(f,null)},o.createElement(f,null),(function(t){return{element:t.result}})).pop(),a=function(){return o.createElement(c,null,n)},u=(0,r.h)("replaceHydrateFunction",void 0,i.hydrate)[0];s()((function(){u(o.createElement(a,null),"undefined"!=typeof window?document.getElementById("___gatsby"):void 0,(function(){(0,r.h)("onInitialClientRender")}))}))}))}))},6947:function(t,e,n){"use strict";n.r(e);var r=n(7294),o=n(5697),i=n.n(o),a=n(8741),u=n(804);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var l=function(t){var e=t.location,n=a.ZP.loadPageSync(e.pathname);return n?r.createElement(u.Z,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({location:e,pageResources:n},n.json)):null};l.propTypes={location:i().shape({pathname:i().string.isRequired}).isRequired},e.default=l},861:function(t,e,n){var r;t.exports=(r=n(6947))&&r.default||r},3639:function(t,e){e.O=function(t){return t}},154:function(t,e,n){"use strict";n.r(e);var r=n(7343);"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("".concat("","/sw.js")).then((function(t){t.addEventListener("updatefound",(function(){(0,r.h)("onServiceWorkerUpdateFound",{serviceWorker:t});var e=t.installing;console.log("installingWorker",e),e.addEventListener("statechange",(function(){switch(e.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.h)("onServiceWorkerUpdateReady",{serviceWorker:t}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.h)("onServiceWorkerInstalled",{serviceWorker:t}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.h)("onServiceWorkerRedundant",{serviceWorker:t});break;case"activated":(0,r.h)("onServiceWorkerActive",{serviceWorker:t})}}))}))})).catch((function(t){console.error("Error during service worker registration:",t)}))},1578:function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?t===e?"/":t.startsWith("".concat(e,"/"))?t.slice(e.length):t:t}n.d(e,{Z:function(){return r}})},8902:function(t,e,n){"use strict";var r=n(5318);e.dq=d,e.mc=function(t){return d(t,v())},e.c4=e.ZP=void 0;var o=r(n(7316)),i=r(n(1506)),a=r(n(5354)),u=r(n(7154)),c=r(n(5697)),s=r(n(7294)),l=n(9499),f=n(2098),p=n(9876);e.cP=p.parsePath;var h=function(t){return null==t?void 0:t.startsWith("/")};function d(t,e){var n,r;if(void 0===e&&(e=m()),!y(t))return t;if(t.startsWith("./")||t.startsWith("../"))return t;var o=null!==(n=null!==(r=e)&&void 0!==r?r:v())&&void 0!==n?n:"/";return""+(null!=o&&o.endsWith("/")?o.slice(0,-1):o)+(t.startsWith("/")?t:"/"+t)}var v=function(){return""},m=function(){return""},y=function(t){return t&&!t.startsWith("http://")&&!t.startsWith("https://")&&!t.startsWith("//")};var g=function(t,e){return"number"==typeof t?t:y(t)?h(t)?d(t):function(t,e){return h(t)?t:(0,f.resolve)(t,e)}(t,e):t},b={activeClassName:c.default.string,activeStyle:c.default.object,partiallyActive:c.default.bool};function w(t){return s.default.createElement(l.Location,null,(function(e){var n=e.location;return s.default.createElement(P,(0,u.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,u.default)({},n.props.style,n.props.activeStyle)}:null};var r=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&(r=!0),n.state={IOSupported:r},n.handleRef=n.handleRef.bind((0,i.default)(n)),n}(0,a.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=g(this.props.to,t),n=(0,p.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,i=void 0===r?this.defaultGetProps:r,a=e.onClick,c=e.onMouseEnter,f=(e.activeClassName,e.activeStyle,e.innerRef,e.partiallyActive,e.state),h=e.replace,d=e._location,v=(0,o.default)(e,["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"]);var m=g(n,d.pathname);return y(m)?s.default.createElement(l.Link,(0,u.default)({to:m,state:f,getProps:i,innerRef:this.handleRef,onMouseEnter:function(t){c&&c(t),___loader.hovering((0,p.parsePath)(m).pathname)},onClick:function(e){if(a&&a(e),!(0!==e.button||t.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();var n=h,r=encodeURI(m)===d.pathname;"boolean"!=typeof h&&r&&(n=!0),window.___navigate(m,{state:f,replace:n})}return!0}},v)):s.default.createElement("a",(0,u.default)({href:m},v))},e}(s.default.Component);P.propTypes=(0,u.default)({},b,{onClick:c.default.func,to:c.default.string.isRequired,replace:c.default.bool,state:c.default.object});var O=s.default.forwardRef((function(t,e){return s.default.createElement(w,(0,u.default)({innerRef:e},t))}));e.ZP=O;e.c4=function(t,e){window.___navigate(g(t,window.location.pathname),e)}},9876:function(t,e){"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 i=e.indexOf("?");-1!==i&&(n=e.substr(i),e=e.substr(0,i));return{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}},992:function(t,e,n){"use strict";var r=n(5318);n(5444),r(n(1632))},1632:function(t,e){"use strict";e.__esModule=!0,e.default=void 0;e.default=function(t,e){var n="manifest.webmanifest";if(!Array.isArray(e))return n;var r=e.find((function(e){return t.startsWith(e.start_url)}));return r?"manifest_"+r.lang+".webmanifest":n}},1140:function(t,e,n){"use strict";var r=n(5318);e.__esModule=!0,e.onRouteUpdate=e.onRouteUpdateDelayed=e.onClientEntry=void 0;var o=r(n(7154)),i=r(n(5666)),a={color:"#29d"};e.onClientEntry=function(t,e){void 0===e&&(e={});var n=(0,o.default)({},a,e),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 ",u=document.createElement("style");u.id="nprogress-styles",u.innerHTML=r,document.head.appendChild(u),i.default.configure(n)};e.onRouteUpdateDelayed=function(){i.default.start()};e.onRouteUpdate=function(){i.default.done()}},7996:function(t,e){"use strict";e.registerServiceWorker=function(){return!0};var n=/^(stylesheet|preload)$/,r=[];function o(t,e){if(!window.___swUpdated&&"serviceWorker"in navigator){var n=navigator.serviceWorker;if(null===n.controller)r.push(t);else{var o=e(t);n.controller.postMessage({gatsbyApi:"setPathResources",path:t,resources:o})}}}e.onServiceWorkerActive=function(t){var e=t.getResourceURLsForPathname,o=t.serviceWorker;if(window.___swUpdated)o.active.postMessage({gatsbyApi:"clearPathResources"});else{var i=document.querySelectorAll("\n head > script[src],\n head > link[href],\n head > style[data-href]\n "),a=[].slice.call(i).filter((function(t){return"LINK"!==t.tagName||n.test(t.getAttribute("rel"))})).map((function(t){return t.src||t.href||t.getAttribute("data-href")})),u=[];r.forEach((function(t){var n=e(t);u.push.apply(u,n),o.active.postMessage({gatsbyApi:"setPathResources",path:t,resources:n})})),[].concat(a,u).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.onRouteUpdate=function(t){var e=t.location,n=t.getResourceURLsForPathname;o(e.pathname.replace("",""),n),"serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"enableOfflineShell"})},e.onPostPrefetchPathname=function(t){o(t.pathname,t.getResourceURLsForPathname)}},307:function(t,e){"use strict";var n=!1,r=[".twitter-tweet",".twitter-timeline",".twitter-follow-button",".twitter-share-button"].join(",");e.onRouteUpdate=function(){var t,e;null!==document.querySelector(r)&&(n||(t='\n window.twttr = (function(d, s, id) {\n var js,\n fjs = d.getElementsByTagName(s)[0],\n t = window.twttr || {};\n if (d.getElementById(id)) return t;\n js = d.createElement(s);\n js.id = id;\n js.src = "https://platform.twitter.com/widgets.js";\n fjs.parentNode.insertBefore(js, fjs);\n t._e = [];\n t.ready = function(f) {\n t._e.push(f);\n };\n return t;\n })(document, "script", "twitter-wjs");\n ',(e=document.createElement("script")).type="text/javascript",e.innerText=t,document.getElementsByTagName("head")[0].appendChild(e),n=!0),"undefined"!=typeof twttr&&window.twttr.widgets&&"function"==typeof window.twttr.widgets.load&&window.twttr.widgets.load())}},9499:function(t,e,n){"use strict";n.r(e),n.d(e,{BaseContext:function(){return q},Link:function(){return J},Location:function(){return L},LocationProvider:function(){return M},Match:function(){return X},Redirect:function(){return Y},Router:function(){return A},ServerLocation:function(){return W},createHistory:function(){return O},createMemorySource:function(){return S},globalHistory:function(){return R},isRedirect:function(){return z},matchPath:function(){return s},navigate:function(){return k},redirectTo:function(){return $},useLocation:function(){return tt},useMatch:function(){return rt},useNavigate:function(){return et},useParams:function(){return nt}});var r=n(7294),o=n(1143),i=n.n(o),a=n(3639),u=function(t,e){return t.substr(0,e.length)===e},c=function(t,e){for(var n=void 0,r=void 0,o=e.split("?")[0],a=y(o),u=""===a[0],c=m(t),s=0,l=c.length;s<l;s++){var f=!1,h=c[s].route;if(h.default)r={route:h,params:{},uri:e};else{for(var v=y(h.path),g={},w=Math.max(a.length,v.length),P=0;P<w;P++){var O=v[P],S=a[P];if(d(O)){g[O.slice(1)||"*"]=a.slice(P).map(decodeURIComponent).join("/");break}if(void 0===S){f=!0;break}var j=p.exec(O);if(j&&!u){-1===b.indexOf(j[1])||i()(!1);var R=decodeURIComponent(S);g[j[1]]=R}else if(O!==S){f=!0;break}}if(!f){n={route:h,params:g,uri:"/"+a.slice(0,P).join("/")};break}}}return n||r||null},s=function(t,e){return c([{path:t}],e)},l=function(t,e){if(u(t,"/"))return t;var n=t.split("?"),r=n[0],o=n[1],i=e.split("?")[0],a=y(r),c=y(i);if(""===a[0])return g(i,o);if(!u(a[0],".")){var s=c.concat(a).join("/");return g(("/"===i?"":"/")+s,o)}for(var l=c.concat(a),f=[],p=0,h=l.length;p<h;p++){var d=l[p];".."===d?f.pop():"."!==d&&f.push(d)}return g("/"+f.join("/"),o)},f=function(t,e){var n=t.split("?"),r=n[0],o=n[1],i=void 0===o?"":o,a="/"+y(r).map((function(t){var n=p.exec(t);return n?e[n[1]]:t})).join("/"),u=e.location,c=(u=void 0===u?{}:u).search,s=(void 0===c?"":c).split("?")[1]||"";return a=g(a,i,s)},p=/^:(.+)/,h=function(t){return p.test(t)},d=function(t){return t&&"*"===t[0]},v=function(t,e){return{route:t,score:t.default?0:y(t.path).reduce((function(t,e){return t+=4,!function(t){return""===t}(e)?h(e)?t+=2:d(e)?t-=5:t+=3:t+=1,t}),0),index:e}},m=function(t){return t.map(v).sort((function(t,e){return t.score<e.score?1:t.score>e.score?-1:t.index-e.index}))},y=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("&"):"")},b=["uri","path"],w=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},P=function(t){var e=t.location,n=e.search,r=e.hash,o=e.href,i=e.origin,a=e.protocol,u=e.host,c=e.hostname,s=e.port,l=t.location.pathname;!l&&o&&j&&(l=new URL(o).pathname);return{pathname:encodeURI(decodeURI(l)),search:n,hash:r,href:o,origin:i,protocol:a,host:u,hostname:c,port:s,state:t.history.state,key:t.history.state&&t.history.state.key||"initial"}},O=function(t,e){var n=[],r=P(t),o=!1,i=function(){};return{get location(){return r},get transitioning(){return o},_onTransitionComplete:function(){o=!1,i()},listen:function(e){n.push(e);var o=function(){r=P(t),e({location:r,action:"POP"})};return t.addEventListener("popstate",o),function(){t.removeEventListener("popstate",o),n=n.filter((function(t){return t!==e}))}},navigate:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=a.state,c=a.replace,s=void 0!==c&&c;if("number"==typeof e)t.history.go(e);else{u=w({},u,{key:Date.now()+""});try{o||s?t.history.replaceState(u,null,e):t.history.pushState(u,null,e)}catch(f){t.location[s?"replace":"assign"](e)}}r=P(t),o=!0;var l=new Promise((function(t){return i=t}));return n.forEach((function(t){return t({location:r,action:"PUSH"})})),l}}},S=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],i=[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 i[r]},pushState:function(t,e,n){var a=n.split("?"),u=a[0],c=a[1],s=void 0===c?"":c;r++,o.push({pathname:u,search:s.length?"?"+s:s}),i.push(t)},replaceState:function(t,e,n){var a=n.split("?"),u=a[0],c=a[1],s=void 0===c?"":c;o[r]={pathname:u,search:s},i[r]=t},go:function(t){var e=r+t;e<0||e>i.length-1||(r=e)}}}},j=!("undefined"==typeof window||!window.document||!window.document.createElement),R=O(j?window:S()),k=R.navigate,_=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 E(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 C(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function x(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 D(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 T=function(t,e){var n=(0,r.createContext)(e);return n.displayName=t,n},U=T("Location"),L=function(t){var e=t.children;return r.createElement(U.Consumer,null,(function(t){return t?e(t):r.createElement(M,null,e)}))},M=function(t){function e(){var n,r;C(this,e);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=x(this,t.call.apply(t,[this].concat(i))),r.state={context:r.getContext(),refs:{unlisten:null}},x(r,n)}return D(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(!z(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 r.createElement(U.Provider,{value:t},"function"==typeof e?e(t):e||null)},e}(r.Component);M.defaultProps={history:R};var W=function(t){var e=t.url,n=t.children,o=e.indexOf("?"),i=void 0,a="";return o>-1?(i=e.substring(0,o),a=e.substring(o)):i=e,r.createElement(U.Provider,{value:{location:{pathname:i,search:a,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},q=T("Base",{baseuri:"/",basepath:"/",navigate:R.navigate}),A=function(t){return r.createElement(q.Consumer,null,(function(e){return r.createElement(L,null,(function(n){return r.createElement(N,_({},e,n,t))}))}))},N=function(t){function e(){return C(this,e),x(this,t.apply(this,arguments))}return D(e,t),e.prototype.render=function(){var t=this.props,e=t.location,n=t.navigate,o=t.basepath,i=t.primary,a=t.children,u=(t.baseuri,t.component),s=void 0===u?"div":u,f=E(t,["location","navigate","basepath","primary","children","baseuri","component"]),p=r.Children.toArray(a).reduce((function(t,e){var n=it(o)(e);return t.concat(n)}),[]),h=e.pathname,d=c(p,h);if(d){var v=d.params,m=d.uri,y=d.route,g=d.route.value;o=y.default?o:y.path.replace(/\*$/,"");var b=_({},v,{uri:m,location:e,navigate:function(t,e){return n(l(t,m),e)}}),w=r.cloneElement(g,b,g.props.children?r.createElement(A,{location:e,primary:i},g.props.children):void 0),P=i?I:s,O=i?_({uri:m,location:e,component:s},f):f;return r.createElement(q.Provider,{value:{baseuri:m,basepath:o,navigate:b.navigate}},r.createElement(P,O,w))}return null},e}(r.PureComponent);N.defaultProps={primary:!0};var F=T("Focus"),I=function(t){var e=t.uri,n=t.location,o=t.component,i=E(t,["uri","location","component"]);return r.createElement(F.Consumer,null,(function(t){return r.createElement(Z,_({},i,{component:o,requestFocus:t,uri:e,location:n}))}))},H=!0,Q=0,Z=function(t){function e(){var n,r;C(this,e);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=x(this,t.call.apply(t,[this].concat(i))),r.state={},r.requestFocus=function(t){!r.state.shouldFocus&&t&&t.focus()},x(r,n)}return D(e,t),e.getDerivedStateFromProps=function(t,e){if(null==e.uri)return _({shouldFocus:!0},t);var n=t.uri!==e.uri,r=e.location.pathname!==t.location.pathname&&t.location.pathname===t.uri;return _({shouldFocus:n||r},t)},e.prototype.componentDidMount=function(){Q++,this.focus()},e.prototype.componentWillUnmount=function(){0===--Q&&(H=!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):H?H=!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),o=(e.requestFocus,e.component),i=void 0===o?"div":o,a=(e.uri,e.location,E(e,["children","style","requestFocus","component","uri","location"]));return r.createElement(i,_({style:_({outline:"none"},n),tabIndex:"-1",ref:function(e){return t.node=e}},a),r.createElement(F.Provider,{value:this.requestFocus},this.props.children))},e}(r.Component);(0,a.O)(Z);var B=function(){},G=r.forwardRef;void 0===G&&(G=function(t){return t});var J=G((function(t,e){var n=t.innerRef,o=E(t,["innerRef"]);return r.createElement(q.Consumer,null,(function(t){t.basepath;var i=t.baseuri;return r.createElement(L,null,(function(t){var a=t.location,c=t.navigate,s=o.to,f=o.state,p=o.replace,h=o.getProps,d=void 0===h?B:h,v=E(o,["to","state","replace","getProps"]),m=l(s,i),y=encodeURI(m),g=a.pathname===y,b=u(a.pathname,y);return r.createElement("a",_({ref:e||n,"aria-current":g?"page":void 0},v,d({isCurrent:g,isPartiallyCurrent:b,href:m,location:a}),{href:m,onClick:function(t){if(v.onClick&&v.onClick(t),at(t)){t.preventDefault();var e=p;if("boolean"!=typeof p&&g){var n=_({},a.state),r=(n.key,E(n,["key"]));o=_({},f),i=r,e=(u=Object.keys(o)).length===Object.keys(i).length&&u.every((function(t){return i.hasOwnProperty(t)&&o[t]===i[t]}))}c(m,{state:f,replace:e})}var o,i,u}}))}))}))}));function K(t){this.uri=t}J.displayName="Link";var z=function(t){return t instanceof K},$=function(t){throw new K(t)},V=function(t){function e(){return C(this,e),x(this,t.apply(this,arguments))}return D(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,i=t.state,a=(t.noThrow,t.baseuri),u=E(t,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var t=l(n,a);e(f(t,u),{replace:o,state:i})}))},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=E(t,["navigate","to","from","replace","state","noThrow","baseuri"]),i=l(e,r);return n||$(f(i,o)),null},e}(r.Component),Y=function(t){return r.createElement(q.Consumer,null,(function(e){var n=e.baseuri;return r.createElement(L,null,(function(e){return r.createElement(V,_({},e,{baseuri:n},t))}))}))},X=function(t){var e=t.path,n=t.children;return r.createElement(q.Consumer,null,(function(t){var o=t.baseuri;return r.createElement(L,null,(function(t){var r=t.navigate,i=t.location,a=l(e,o),u=s(a,i.pathname);return n({navigate:r,location:i,match:u?_({},u.params,{uri:u.uri,path:e}):null})}))}))},tt=function(){var t=(0,r.useContext)(U);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},et=function(){var t=(0,r.useContext)(q);if(!t)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 t.navigate},nt=function(){var t=(0,r.useContext)(q);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=tt(),n=s(t.basepath,e.pathname);return n?n.params:null},rt=function(t){if(!t)throw new Error("useMatch(path: string) requires an argument of a string to match against");var e=(0,r.useContext)(q);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=tt(),o=l(t,e.baseuri),i=s(o,n.pathname);return i?_({},i.params,{uri:i.uri,path:t}):null},ot=function(t){return t.replace(/(^\/+|\/+$)/g,"")},it=function t(e){return function(n){if(!n)return null;if(n.type===r.Fragment&&n.props.children)return r.Children.map(n.props.children,t(e));var o,a,u;if(n.props.path||n.props.default||n.type===Y||i()(!1),n.type!==Y||n.props.from&&n.props.to||i()(!1),n.type===Y&&(o=n.props.from,a=n.props.to,u=function(t){return h(t)},y(o).filter(u).sort().join("/")!==y(a).filter(u).sort().join("/"))&&i()(!1),n.props.default)return{value:n,default:!0};var c=n.type===Y?n.props.from:n.props.path,s="/"===c?e:ot(e)+"/"+ot(c);return{value:n,default:n.props.default,path:n.props.children?ot(s)+"/*":s}}},at=function(t){return!t.defaultPrevented&&0===t.button&&!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}},1143:function(t){"use strict";t.exports=function(t,e,n,r,o,i,a,u){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 s=[n,r,o,i,a,u],l=0;(c=new Error(e.replace(/%s/g,(function(){return s[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}}},function(t){"use strict";t.O(0,[774],(function(){return e=376,t(t.s=e);var e}));t.O()}]);