-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-e5b0097845308f968bc0.js
2 lines (2 loc) · 64.9 KB
/
app-e5b0097845308f968bc0.js
1
2
(self.webpackChunkumekawa_github_io=self.webpackChunkumekawa_github_io||[]).push([[143],{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,a=e.origin,c=e.protocol,u=e.host,s=e.hostname,l=e.port,p=t.location.pathname;!p&&o&&i&&(p=new URL(o).pathname);return{pathname:encodeURI(decodeURI(p)),search:n,hash:r,href:o,origin:a,protocol:c,host:u,hostname:s,port:l,state:t.history.state,key:t.history.state&&t.history.state.key||"initial"}},o=function(t,e){var o=[],a=r(t),i=!1,c=function(){};return{get location(){return a},get transitioning(){return i},_onTransitionComplete:function(){i=!1,c()},listen:function(e){o.push(e);var n=function(){a=r(t),e({location:a,action:"POP"})};return t.addEventListener("popstate",n),function(){t.removeEventListener("popstate",n),o=o.filter((function(t){return t!==e}))}},navigate:function(e){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=u.state,l=u.replace,p=void 0!==l&&l;if("number"==typeof e)t.history.go(e);else{s=n({},s,{key:Date.now()+""});try{i||p?t.history.replaceState(s,null,e):t.history.pushState(s,null,e)}catch(h){t.location[p?"replace":"assign"](e)}}a=r(t),i=!0;var f=new Promise((function(t){return c=t}));return o.forEach((function(t){return t({location:a,action:"PUSH"})})),f}}},a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=t.indexOf("?"),n={pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(t,e,n){var i=n.split("?"),c=i[0],u=i[1],s=void 0===u?"":u;r++,o.push({pathname:c,search:s.length?"?"+s:s}),a.push(t)},replaceState:function(t,e,n){var i=n.split("?"),c=i[0],u=i[1],s=void 0===u?"":u;o[r]={pathname:c,search:s},a[r]=t},go:function(t){var e=r+t;e<0||e>a.length-1||(r=e)}}}},i=!("undefined"==typeof window||!window.document||!window.document.createElement),c=o(i?window:a()),u=c.navigate;e.V5=c},2098:function(t,e,n){"use strict";e.DB=e.ei=void 0;var r,o=n(1143),a=(r=o)&&r.__esModule?r:{default:r};var i=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],i=h(o),c=""===i[0],s=f(t),p=0,d=s.length;p<d;p++){var m=!1,g=s[p].route;if(g.default)r={route:g,params:{},uri:e};else{for(var y=h(g.path),w={},b=Math.max(i.length,y.length),P=0;P<b;P++){var E=y[P],S=i[P];if(l(E)){w[E.slice(1)||"*"]=i.slice(P).map(decodeURIComponent).join("/");break}if(void 0===S){m=!0;break}var C=u.exec(E);if(C&&!c){-1===v.indexOf(C[1])||(0,a.default)(!1);var _=decodeURIComponent(S);w[C[1]]=_}else if(E!==S){m=!0;break}}if(!m){n={route:g,params:w,uri:"/"+i.slice(0,P).join("/")};break}}}return n||r||null},u=/^:(.+)/,s=function(t){return u.test(t)},l=function(t){return t&&"*"===t[0]},p=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}},f=function(t){return t.map(p).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.ei=c,e.DB=function(t,e){if(i(t,"/"))return t;var n=t.split("?"),r=n[0],o=n[1],a=e.split("?")[0],c=h(r),u=h(a);if(""===c[0])return d(a,o);if(!i(c[0],".")){var s=u.concat(c).join("/");return d(("/"===a?"":"/")+s,o)}for(var l=u.concat(c),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)}},8440:function(t,e){"use strict";e.H=void 0;e.H=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"legacy",n=t.endsWith(".html"),r=t.endsWith(".xml"),o=t.endsWith(".pdf");return"/"===t?t:((n||r||o)&&(e="never"),"always"===e?t.endsWith("/")?t:"".concat(t,"/"):"never"===e&&t.endsWith("/")?t.slice(0,-1):t)}},540:function(t,e,n){"use strict";var r=n(7424);function o(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){u=!0,i=t},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw i}}}}function a(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}e.__esModule=!0,e.wrapRootElement=void 0;var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var i=o?Object.getOwnPropertyDescriptor(t,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=t[a]}r.default=t,n&&n.set(t,r);return r}(n(7294)),c=n(611),u=n(3521);function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}function l(t){var e=t.children,n=(0,i.useState)({collectedForwards:new Set,collectedAnyScript:!1}),a=r(n,2),s=a[0],l=s.collectedForwards,p=s.collectedAnyScript,f=a[1];return i.default.createElement(u.PartytownContext.Provider,{value:{collectScript:function(t){var e=!1,n={collectedAnyScript:p,collectedForwards:l};if(p||(n.collectedAnyScript=!0,e=!0),null!=t&&t.forward)if(Array.isArray(t.forward)){var r,a=o(t.forward);try{for(a.s();!(r=a.n()).done;){var i=r.value;n.collectedForwards.has(i)||(n.collectedForwards.add(i),e=!0)}}catch(c){a.e(c)}finally{a.f()}}else 0;e&&f(n)}}},e,p&&i.default.createElement(c.Partytown,{key:"partytown",forward:Array.from(l)}))}e.wrapRootElement=function(t){var e=t.element;return i.default.createElement(l,null,e)}},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(4836);e.__esModule=!0,e.ScrollHandler=e.ScrollContext=void 0;var o=r(n(6115)),a=r(n(7867)),i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var i=o?Object.getOwnPropertyDescriptor(t,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=t[a]}r.default=t,n&&n.set(t,r);return r}(n(7294)),c=r(n(5697)),u=n(1142);function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l=i.createContext(new u.SessionStorage);e.ScrollContext=l,l.displayName="GatsbyScrollContext";var p=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this)._stateStorage=new u.SessionStorage,e._isTicking=!1,e._latestKnownScrollY=0,e.scrollListener=function(){e._latestKnownScrollY=window.scrollY,e._isTicking||(e._isTicking=!0,requestAnimationFrame(e._saveScroll.bind((0,o.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,o.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 i.createElement(l.Provider,{value:this._stateStorage},this.props.children)},e}(i.Component);e.ScrollHandler=p,p.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(a){return window&&window[n]&&window[n][r]?window[n][r]:0}},e.save=function(t,e,r){var o=this.getStateKey(t,e),a=JSON.stringify(r);try{window.sessionStorage.setItem(o,a)}catch(i){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(a)}},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,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(e,t);i.current.scrollTo(0,r||0)}}),[e.key]),{ref:i,onScroll:function(){i.current&&n.save(e,t,i.current.scrollTop)}}};var r=n(1432),o=n(7294),a=n(9499)},5418:function(t,e,n){e.components={"component---src-pages-404-tsx":function(){return Promise.all([n.e(532),n.e(218)]).then(n.bind(n,2513))},"component---src-pages-index-tsx":function(){return Promise.all([n.e(532),n.e(691)]).then(n.bind(n,7200))},"component---src-templates-blog-post-template-tsx":function(){return Promise.all([n.e(532),n.e(40)]).then(n.bind(n,4652))}}},4741:function(t,e,n){t.exports=[{plugin:n(9608),options:{plugins:[],name:"gatsby-starter-default",short_name:"starter",start_url:"/",background_color:"#663399",display:"minimal-ui",icon:"src/images/gatsby-icon.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"4a9773549091c227cd2eb82ccd9c5e3a"}},{plugin:n(7420),options:{plugins:[]}},{plugin:n(540),options:{plugins:[]}}]},3092:function(t,e,n){var r=n(4741),o=n(1975).jN,a=o.getResourceURLsForPathname,i=o.loadPage,c=o.loadPageSync;e.h=function(t,e,n,o){void 0===e&&(e={});var u=r.map((function(n){if(n.plugin[t]){e.getResourceURLsForPathname=a,e.loadPage=i,e.loadPageSync=c;var r=n.plugin[t](e,n.options);return r&&o&&(e=o({args:e,result:r,plugin:n})),r}}));return(u=u.filter((function(t){return void 0!==t}))).length>0?u: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())}},8299: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)}))}}}()},7802:function(t,e,n){"use strict";n.d(e,{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(t){if(void 0===t)return t;var e=t.split("?"),n=e[0],r=e[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),c=new Map,u=[],s=function(t){var e=t;if(-1!==t.indexOf("?")){var n=t.split("?"),r=n[0],a=n[1];e=r+"?"+encodeURIComponent(a)}var i=decodeURIComponent(e);return(0,o.Z)(i,decodeURIComponent("")).split("#")[0]};function l(t){return t.startsWith("/")||t.startsWith("https://")||t.startsWith("http://")?t:new URL(t,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}var p=function(t){u=t},f=function(t){var e=v(t),n=u.map((function(t){var e=t.path;return{path:t.matchPath,originalPath:e}})),o=(0,r.ei)(n,e);return o?a(o.route.originalPath):null},h=function(t){var e=v(t),n=u.map((function(t){var e=t.path;return{path:t.matchPath,originalPath:e}})),o=(0,r.ei)(n,e);return o?o.params:{}},d=function t(e){var n=s(l(e));if(c.has(n))return c.get(n);var r=(0,i.J)(e);if(r)return t(r.toPath);var o=f(n);return o||(o=v(e)),c.set(n,o),o},v=function(t){var e=s(l(t));return"/index.html"===e&&(e="/"),e=a(e)}},1597:function(t,e,n){"use strict";n.r(e),n.d(e,{Link:function(){return o.ZP},PageRenderer:function(){return c.a},PartytownContext:function(){return s.PartytownContext},Script:function(){return s.Script},ScriptStrategy:function(){return s.ScriptStrategy},StaticQuery:function(){return h},StaticQueryContext:function(){return p},graphql:function(){return v},navigate:function(){return o.c4},parsePath:function(){return o.cP},prefetchPathname:function(){return l},scriptCache:function(){return s.scriptCache},scriptCallbackCache:function(){return s.scriptCallbackCache},useScrollRestoration:function(){return a.p2},useStaticQuery:function(){return d},withAssetPrefix:function(){return o.mc},withPrefix:function(){return o.dq}});var r=n(7294),o=n(1562),a=n(9679),i=n(2743),c=n.n(i),u=n(1975),s=n(3521),l=u.ZP.enqueue,p=r.createContext({});function f(t){var e=t.staticQueryData,n=t.data,o=t.query,a=t.render,i=n?n.data:e[o]&&e[o].data;return r.createElement(r.Fragment,null,i&&a(i),!i&&r.createElement("div",null,"Loading (StaticQuery)"))}var h=function(t){var e=t.data,n=t.query,o=t.render,a=t.children;return r.createElement(p.Consumer,null,(function(t){return r.createElement(f,{data:e,query:n,render:o||a,staticQueryData:t})}))},d=function(t){var e;r.useContext;var n=r.useContext(p);if(isNaN(Number(t)))throw new Error("useStaticQuery was called with a string but expects to be called using `graphql`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql`"+t+"`);\n");if(null!==(e=n[t])&&void 0!==e&&e.data)return n[t].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")};function 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.")}},1975:function(t,e,n){"use strict";n.d(e,{uQ:function(){return l},kL:function(){return y},ZP:function(){return P},hs:function(){return E},jN:function(){return b},N1:function(){return w}});var r=n(1721),o=n(5785),a=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)}))},i={},c=function(t,e){return new Promise((function(n){i[t]?n():a(t,e).then((function(){n(),i[t]=!0})).catch((function(){}))}))},u=n(8299),s=n(7802),l={Error:"error",Success:"success"},p=function(t){var e,n=t.split("?"),r=n[0],o=n[1];return"/page-data/"+("/"===r?"index":(e="/"===(e=r)[0]?e.slice(1):e).endsWith("/")?e.slice(0,-1):e)+"/page-data.json"+(o?"?"+o:"")};function f(t,e){return void 0===e&&(e="GET"),new Promise((function(n){var r=new XMLHttpRequest;r.open(e,t,!0),r.onreadystatechange=function(){4==r.readyState&&n(r)},r.send(null)}))}var h,d=/bot|crawler|spider|crawling/i,v=function(t,e,n){void 0===e&&(e=null);var r={componentChunkName:t.componentChunkName,path:t.path,webpackCompilationHash:t.webpackCompilationHash,matchPath:t.matchPath,staticQueryHashes:t.staticQueryHashes,getServerDataError:t.getServerDataError};return{component:e,head:n,json:t.result,page:r}},m=function(){function t(t,e){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=t,(0,s.DS)(e)}var e=t.prototype;return e.memoizedGet=function(t){var e=this,n=this.inFlightNetworkRequests.get(t);return n||(n=f(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}))},e.setApiRunner=function(t){this.apiRunner=t,this.prefetchDisabled=t("disableCorePrefetching").some((function(t){return t}))},e.fetchPageDataJson=function(t){var e=this,n=t.pagePath,r=t.retries,o=void 0===r?0:r,a=p(n);return this.memoizedGet(a).then((function(r){var a=r.status,i=r.responseText;if(200===a)try{var c=JSON.parse(i);if(void 0===c.path)throw new Error("not a valid pageData response");var u=n.split("?")[1];return u&&!c.path.includes(u)&&(c.path+="?"+u),Object.assign(t,{status:l.Success,payload:c})}catch(s){}return 404===a||200===a?"/404.html"===n||"/500.html"===n?Object.assign(t,{status:l.Error}):e.fetchPageDataJson(Object.assign(t,{pagePath:"/404.html",notFound:!0})):500===a?e.fetchPageDataJson(Object.assign(t,{pagePath:"/500.html",internalServerError:!0})):o<3?e.fetchPageDataJson(Object.assign(t,{retries:o+1})):Object.assign(t,{status:l.Error})}))},e.loadPageDataJson=function(t){var e=this,n=(0,s.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}))},e.findMatchPath=function(t){return(0,s.UD)(t)},e.loadPage=function(t){var e=this,n=(0,s.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===l.Error)return{status:l.Error};var o=r.payload,a=o,i=a.componentChunkName,c=a.staticQueryHashes,s=void 0===c?[]:c,p={},f=Promise.all([e.loadComponent(i),e.loadComponent(i,"head")]).then((function(e){var n,a=e[0],i=e[1];return p.createdAt=new Date,!a||a instanceof Error?(p.status=l.Error,p.error=a):(p.status=l.Success,!0===r.notFound&&(p.notFound=!0),o=Object.assign(o,{webpackCompilationHash:t[0]?t[0].webpackCompilationHash:""}),n=v(o,a,i)),n})),h=Promise.all(s.map((function(t){if(e.staticQueryDb[t]){var n=e.staticQueryDb[t];return{staticQueryHash:t,jsonPayload:n}}return e.memoizedGet("/page-data/sq/d/"+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 \"/page-data/sq/d/"+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,h]).then((function(t){var r,o=t[0],a=t[1];return o&&(r=Object.assign({},o,{staticQueryResults:a}),p.payload=r,u.Z.emit("onPostLoadPageResources",{page:r,pageResources:r})),e.pageDb.set(n,p),p.error?{error:p.error,status:p.status}:r})).catch((function(t){return{error:t,status:l.Error}}))}));return o.then((function(){e.inFlightDb.delete(n)})).catch((function(t){throw e.inFlightDb.delete(n),t})),this.inFlightDb.set(n,o),o},e.loadPageSync=function(t,e){void 0===e&&(e={});var n=(0,s.Cj)(t);if(this.pageDb.has(n)){var r,o=this.pageDb.get(n);if(o.payload)return o.payload;if(null!==(r=e)&&void 0!==r&&r.withErrorDetails)return{error:o.error,status:o.status}}},e.shouldPrefetch=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}()&&((!navigator.userAgent||!d.test(navigator.userAgent))&&!this.pageDb.has(t))},e.prefetch=function(t){var e=this;if(!this.shouldPrefetch(t))return{then:function(t){return t(!1)},abort:function(){}};if(this.prefetchTriggered.has(t))return{then:function(t){return t(!0)},abort:function(){}};var n={resolve:null,reject:null,promise:null};n.promise=new Promise((function(t,e){n.resolve=t,n.reject=e})),this.prefetchQueued.push([t,n]);var r=new AbortController;return r.signal.addEventListener("abort",(function(){var n=e.prefetchQueued.findIndex((function(e){return e[0]===t}));-1!==n&&e.prefetchQueued.splice(n,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((function(){e._processNextPrefetchBatch()}),3e3)),{then:function(t,e){return n.promise.then(t,e)},abort:r.abort.bind(r)}},e._processNextPrefetchBatch=function(){var t=this;(window.requestIdleCallback||function(t){return setTimeout(t,0)})((function(){var e=t.prefetchQueued.splice(0,4),n=Promise.all(e.map((function(e){var n=e[0],r=e[1];return t.prefetchTriggered.has(n)||(t.apiRunner("onPrefetchPathname",{pathname:n}),t.prefetchTriggered.add(n)),t.prefetchDisabled?r.resolve(!1):t.doPrefetch((0,s.Cj)(n)).then((function(){t.prefetchCompleted.has(n)||(t.apiRunner("onPostPrefetchPathname",{pathname:n}),t.prefetchCompleted.add(n)),r.resolve(!0)}))})));t.prefetchQueued.length?n.then((function(){setTimeout((function(){t._processNextPrefetchBatch()}),3e3)})):t.isPrefetchQueueRunning=!1}))},e.doPrefetch=function(t){var e=this,n=p(t);return c(n,{crossOrigin:"anonymous",as:"fetch"}).then((function(){return e.loadPageDataJson(t)}))},e.hovering=function(t){this.loadPage(t)},e.getResourceURLsForPathname=function(t){var e=(0,s.Cj)(t),n=this.pageDataDb.get(e);if(n){var r=v(n.payload);return[].concat((0,o.Z)(g(r.page.componentChunkName)),[p(e)])}return null},e.isPageNotFound=function(t){var e=(0,s.Cj)(t),n=this.pageDb.get(e);return!n||n.notFound},e.loadAppData=function(t){var e=this;return void 0===t&&(t=0),this.memoizedGet("/page-data/app-data.json").then((function(n){var r,o=n.status,a=n.responseText;if(200!==o&&t<3)return e.loadAppData(t+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(c){}return r}))},t}(),g=function(t){return(window.___chunkMapping[t]||[]).map((function(t){return""+t}))},y=function(t){function e(e,n,r){var o;return o=t.call(this,(function(t){if(!e.components[t])throw new Error("We couldn't find the correct component chunk with the name "+t);return e.components[t]().catch((function(t){return t}))}),n)||this,r&&o.pageDataDb.set((0,s.Cj)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.Z)(e,t);var n=e.prototype;return n.doPrefetch=function(e){return t.prototype.doPrefetch.call(this,e).then((function(t){if(t.status!==l.Success)return Promise.resolve();var e=t.payload,n=e.componentChunkName,r=g(n);return Promise.all(r.map(c)).then((function(){return e}))}))},n.loadPageDataJson=function(e){return t.prototype.loadPageDataJson.call(this,e).then((function(t){return t.notFound?f(e,"HEAD").then((function(e){return 200===e.status?{status:l.Error}:t})):t}))},e}(m),w=function(t){h=t},b={enqueue:function(t){return h.prefetch(t)},getResourceURLsForPathname:function(t){return h.getResourceURLsForPathname(t)},loadPage:function(t){return h.loadPage(t)},loadPageSync:function(t,e){return void 0===e&&(e={}),h.loadPageSync(t,e)},prefetch:function(t){return h.prefetch(t)},isPageNotFound:function(t){return h.isPageNotFound(t)},hovering:function(t){return h.hovering(t)},loadAppData:function(){return h.loadAppData()}},P=b;function E(){return h?h.staticQueryDb:{}}},4779:function(t,e,n){"use strict";n.d(e,{Z:function(){return P}});var r=n(7294),o=n(5697),a=n.n(o),i=n(3092),c=n(7802),u=n(5785),s=n(1597),l=n(9499),p=n(4941);function f(t){var e=t.children,n=t.callback;return(0,r.useEffect)((function(){n()})),e}var h=["link","meta","style","title","base","noscript","script"];function d(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(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}var m=document.createElement("div"),g=function(){(0,u.Z)(document.querySelectorAll("[data-gatsby-head]")).forEach((function(t){return t.remove()}))},y=function(){var t,e=[];g();for(var n,r=new Map,o=d(m.childNodes);!(n=o()).done;){var a,i=n.value,c=i.nodeName.toLowerCase(),u=null===(a=i.attributes.id)||void 0===a?void 0:a.value;if(h.includes(c)){var s=i.cloneNode(!0);if(s.setAttribute("data-gatsby-head",!0),u)if(r.has(u)){var l=r.get(u);e[l].remove(),e[l]=s}else e.push(s),r.set(u,e.length-1);else e.push(s)}else;}(t=document.head).append.apply(t,e)};function w(t){var e=t.pageComponent,n=t.staticQueryResults,o=t.pageComponentProps;(0,r.useEffect)((function(){if(null!=e&&e.Head){!function(t){if("function"!=typeof t)throw new Error('Expected "Head" export to be a function got "'+typeof t+'".')}(e.Head);var t=(0,p.U)().render,a=e.Head;t(r.createElement(f,{callback:y},r.createElement(s.StaticQueryContext.Provider,{value:n},r.createElement(l.LocationProvider,null,r.createElement(a,{location:{pathname:(i=o).location.pathname},params:i.params,data:i.data||{},pageContext:i.pageContext})))),m)}var i;return function(){g()}}))}function b(t){var e,n=Object.assign({},t,{params:Object.assign({},(0,c.GA)(t.location.pathname),t.pageResources.json.pageContext.__params)}),o=(0,r.createElement)((e=t.pageResources.component)&&e.default||e,Object.assign({},n,{key:t.path||t.pageResources.page.path}));return w({pageComponent:t.pageResources.head,staticQueryResults:t.pageResources.staticQueryResults,pageComponentProps:n}),(0,i.h)("wrapPageElement",{element:o,props:n},o,(function(t){return{element:t.result,props:n}})).pop()}b.propTypes={location:a().object.isRequired,pageResources:a().object.isRequired,data:a().object,pageContext:a().object.isRequired};var P=b},5824:function(t,e,n){"use strict";var r=n(1721),o=n(3092),a=n(7294),i=n(9499),c=n(9679),u=n(1597),s=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(1562);function v(t){var e=(0,l.J)(t),n=window.location,r=n.hash,o=n.search;return null!=e&&(window.___replace(e.toPath+o+r),!0)}var m="";window.addEventListener("unhandledrejection",(function(t){/loading chunk \d* failed./i.test(t.reason)&&m&&(window.location.pathname=m)}));var g=function(t,e){v(t.pathname)||(m=t.pathname,(0,o.h)("onPreRouteUpdate",{location:t,prevLocation:e}))},y=function(t,e){v(t.pathname)||(0,o.h)("onRouteUpdate",{location:t,prevLocation:e})},w=function(t,e){if(void 0===e&&(e={}),"number"!=typeof t){var n=(0,d.cP)(t),r=n.pathname,a=n.search,c=n.hash,u=(0,l.J)(r);if(u&&(t=u.toPath+a+c),window.___swUpdated)window.location=r+a+c;else{var f=setTimeout((function(){p.Z.emit("onDelayedLoadPageResources",{pathname:r}),(0,o.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);s.ZP.loadPage(r+a).then((function(n){if(!n||n.status===s.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+c),(0,i.navigate)(t,e),clearTimeout(f)}))}}else h.V5.navigate(t)};function b(t,e){var n=this,r=e.location,a=r.pathname,i=r.hash,c=(0,o.h)("shouldUpdateScroll",{prevRouterProps:t,pathname:a,routerProps:{location:r},getSavedScrollPosition:function(t){return[0,n._stateStorage.read(t,t.key)]}});if(c.length>0)return c[c.length-1];if(t&&t.location.pathname===a)return i?decodeURI(i.slice(1)):[0,0];return!0}var P=function(t){function e(e){var n;return(n=t.call(this,e)||this).announcementRef=a.createRef(),n}(0,r.Z)(e,t);var n=e.prototype;return n.componentDidUpdate=function(t,e){var n=this;requestAnimationFrame((function(){var t="new page at "+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 "+t;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}))},e}(a.Component),E=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)},S=function(t){function e(e){var n;return n=t.call(this,e)||this,g(e.location,null),n}(0,r.Z)(e,t);var n=e.prototype;return n.componentDidMount=function(){y(this.props.location,null)},n.shouldComponentUpdate=function(t){return!!E(t.location,this.props.location)&&(g(this.props.location,t.location),!0)},n.componentDidUpdate=function(t){E(t.location,this.props.location)&&y(this.props.location,t.location)},n.render=function(){return a.createElement(a.Fragment,null,this.props.children,a.createElement(P,{location:location}))},e}(a.Component),C=n(4779),_=n(5418);function k(t,e){for(var n in t)if(!(n in e))return!0;for(var r in e)if(t[r]!==e[r])return!0;return!1}var x=function(t){function e(e){var n;n=t.call(this)||this;var r=e.location,o=e.pageResources;return n.state={location:Object.assign({},r),pageResources:o||s.ZP.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,r.Z)(e,t),e.getDerivedStateFromProps=function(t,e){var n=t.location;return e.location.href!==n.href?{pageResources:s.ZP.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:Object.assign({},n)}:{location:Object.assign({},n)}};var n=e.prototype;return n.loadResources=function(t){var e=this;s.ZP.loadPage(t).then((function(n){n&&n.status!==s.uQ.Error?e.setState({location:Object.assign({},window.location),pageResources:n}):(window.history.replaceState({},"",location.href),window.location=t)}))},n.shouldComponentUpdate=function(t,e){return e.pageResources?this.state.pageResources!==e.pageResources||(this.state.pageResources.component!==e.pageResources.component||(this.state.pageResources.json!==e.pageResources.json||(!(this.state.location.key===e.location.key||!e.pageResources.page||!e.pageResources.page.matchPath&&!e.pageResources.page.path)||function(t,e,n){return k(t.props,e)||k(t.state,n)}(this,t,e)))):(this.loadResources(t.location.pathname+t.location.search),!1)},n.render=function(){return this.props.children(this.state)},e}(a.Component),R=n(1505),j=n(4941),O=new s.kL(_,[],window.pageData);(0,s.N1)(O),O.setApiRunner(o.h);var D=(0,j.U)(),M=D.render,L=D.hydrate;window.asyncRequires=_,window.___emitter=p.Z,window.___loader=s.jN,h.V5.listen((function(t){t.location.action=t.action})),window.___push=function(t){return w(t,{replace:!1})},window.___replace=function(t){return w(t,{replace:!0})},window.___navigate=function(t,e){return w(t,e)};var A="gatsby-reload-compilation-hash-match";(0,o.I)("onClientEntry").then((function(){(0,o.h)("registerServiceWorker").filter(Boolean).length>0&&n(9939);var t=function(t){return a.createElement(i.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.createElement(C.Z,t))},e=a.createContext({}),l=function(t){function n(){return t.apply(this,arguments)||this}return(0,r.Z)(n,t),n.prototype.render=function(){var t=this.props.children;return a.createElement(i.Location,null,(function(n){var r=n.location;return a.createElement(x,{location:r},(function(n){var r=n.pageResources,o=n.location,i=(0,s.hs)();return a.createElement(u.StaticQueryContext.Provider,{value:i},a.createElement(e.Provider,{value:{pageResources:r,location:o}},t))}))}))},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(e.Consumer,null,(function(e){var r=e.pageResources,o=e.location;return a.createElement(S,{location:o},a.createElement(c.$C,{location:o,shouldUpdateScroll:b},a.createElement(i.Router,{basepath:"",location:o,id:"gatsby-focus-wrapper"},a.createElement(t,Object.assign({path:"/404.html"===r.page.path||"/500.html"===r.page.path?(0,R.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:"")&&!(O.findMatchPath((0,R.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(t){return null}};s.jN.loadPage(d.pathname+d.search).then((function(t){var e,n=v();if(null!=t&&null!==(e=t.page)&&void 0!==e&&e.webpackCompilationHash&&t.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(A))))return n.setItem(A,"1"),void window.location.reload(!0);if(n&&n.removeItem(A),!t||t.status===s.uQ.Error){var r="page resources for "+d.pathname+" not found. Not rendering React";if(t&&t.error)throw console.error(r),t.error;throw new Error(r)}var i=(0,o.h)("wrapRootElement",{element:a.createElement(p,null)},a.createElement(p,null),(function(t){return{element:t.result}})).pop(),c=function(){var t=a.useRef(!1);return a.useEffect((function(){t.current||(t.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.h)("onInitialClientRender"))}),[]),a.createElement(l,null,i)},u=document.getElementById("gatsby-focus-wrapper"),f=M;u&&u.children.length&&(f=L);var h=(0,o.h)("replaceHydrateFunction",void 0,f)[0];function m(){var t="undefined"!=typeof window?document.getElementById("___gatsby"):null;h(a.createElement(c,null),t)}var g=document;if("complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll)setTimeout((function(){m()}),0);else{var y=function t(){g.removeEventListener("DOMContentLoaded",t,!1),window.removeEventListener("load",t,!1),m()};g.addEventListener("DOMContentLoaded",y,!1),window.addEventListener("load",y,!1)}}))}))},224:function(t,e,n){"use strict";n.r(e);var r=n(7294),o=n(1975),a=n(4779);e.default=function(t){var e=t.location,n=o.ZP.loadPageSync(e.pathname);return n?r.createElement(a.Z,Object.assign({location:e,pageResources:n},n.json)):null}},2743:function(t,e,n){var r;t.exports=(r=n(224))&&r.default||r},4941:function(t,e,n){"use strict";n.d(e,{U:function(){return o}});var r=new WeakMap;function o(){var t=n(745);return{render:function(e,n){var o=r.get(n);o||r.set(n,o=t.createRoot(n)),o.render(e)},hydrate:function(e,n){return t.hydrateRoot(n,e)}}}},9712:function(t,e){e.O=function(t){return t}},6073:function(t,e,n){"use strict";n.d(e,{J:function(){return a}});var r=new Map,o=new Map;function a(t){var e=r.get(t);return e||(e=o.get(t.toLowerCase())),e}[].forEach((function(t){t.ignoreCase?o.set(t.fromPath,t):r.set(t.fromPath,t)}))},9939:function(t,e,n){"use strict";n.r(e);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(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)}))},1505:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=""),e?t===e?"/":t.startsWith(e+"/")?t.slice(e.length):t:t}n.d(e,{Z:function(){return r}})},7420:function(t,e,n){n(8613)},9608:function(t,e,n){"use strict";n.r(e),n.d(e,{onRouteUpdate:function(){return r}});n(1597),n(292);var r=function(t,e){t.location}},292:function(t,e,n){"use strict";var r=n(1597)},9499:function(t,e,n){"use strict";n.r(e),n.d(e,{BaseContext:function(){return I},Link:function(){return G},Location:function(){return A},LocationProvider:function(){return T},Match:function(){return X},Redirect:function(){return V},Router:function(){return W},ServerLocation:function(){return U},createHistory:function(){return E},createMemorySource:function(){return S},globalHistory:function(){return _},isRedirect:function(){return K},matchPath:function(){return s},navigate:function(){return k},redirectTo:function(){return Y},resolve:function(){return l},useLocation:function(){return tt},useMatch:function(){return rt},useNavigate:function(){return et},useParams:function(){return nt}});var r=n(7294),o=n(1143),a=n.n(o),i=n(9712),c=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],i=g(o),c=""===i[0],u=m(t),s=0,l=u.length;s<l;s++){var p=!1,h=u[s].route;if(h.default)r={route:h,params:{},uri:e};else{for(var v=g(h.path),y={},b=Math.max(i.length,v.length),P=0;P<b;P++){var E=v[P],S=i[P];if(d(E)){y[E.slice(1)||"*"]=i.slice(P).map(decodeURIComponent).join("/");break}if(void 0===S){p=!0;break}var C=f.exec(E);if(C&&!c){-1===w.indexOf(C[1])||a()(!1);var _=decodeURIComponent(S);y[C[1]]=_}else if(E!==S){p=!0;break}}if(!p){n={route:h,params:y,uri:"/"+i.slice(0,P).join("/")};break}}}return n||r||null},s=function(t,e){return u([{path:t}],e)},l=function(t,e){if(c(t,"/"))return t;var n=t.split("?"),r=n[0],o=n[1],a=e.split("?")[0],i=g(r),u=g(a);if(""===i[0])return y(a,o);if(!c(i[0],".")){var s=u.concat(i).join("/");return y(("/"===a?"":"/")+s,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(t,e){var n=t.split("?"),r=n[0],o=n[1],a=void 0===o?"":o,i="/"+g(r).map((function(t){var n=f.exec(t);return n?e[n[1]]:t})).join("/"),c=e.location,u=(c=void 0===c?{}:c).search,s=(void 0===u?"":u).split("?")[1]||"";return i=y(i,a,s)},f=/^:(.+)/,h=function(t){return f.test(t)},d=function(t){return t&&"*"===t[0]},v=function(t,e){return{route:t,score:t.default?0:g(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}))},g=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},y=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("&"):"")},w=["uri","path"],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},P=function(t){var e=t.location,n=e.search,r=e.hash,o=e.href,a=e.origin,i=e.protocol,c=e.host,u=e.hostname,s=e.port,l=t.location.pathname;!l&&o&&C&&(l=new URL(o).pathname);return{pathname:encodeURI(decodeURI(l)),search:n,hash:r,href:o,origin:a,protocol:i,host:c,hostname:u,port:s,state:t.history.state,key:t.history.state&&t.history.state.key||"initial"}},E=function(t,e){var n=[],r=P(t),o=!1,a=function(){};return{get location(){return r},get transitioning(){return o},_onTransitionComplete:function(){o=!1,a()},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 i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=i.state,u=i.replace,s=void 0!==u&&u;if("number"==typeof e)t.history.go(e);else{c=b({},c,{key:Date.now()+""});try{o||s?t.history.replaceState(c,null,e):t.history.pushState(c,null,e)}catch(p){t.location[s?"replace":"assign"](e)}}r=P(t),o=!0;var l=new Promise((function(t){return a=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],a=[null];return{get location(){return o[r]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(t,e,n){var i=n.split("?"),c=i[0],u=i[1],s=void 0===u?"":u;r++,o.push({pathname:c,search:s.length?"?"+s:s}),a.push(t)},replaceState:function(t,e,n){var i=n.split("?"),c=i[0],u=i[1],s=void 0===u?"":u;o[r]={pathname:c,search:s},a[r]=t},go:function(t){var e=r+t;e<0||e>a.length-1||(r=e)}}}},C=!("undefined"==typeof window||!window.document||!window.document.createElement),_=E(C?window:S()),k=_.navigate,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};function R(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 j(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(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 M=function(t,e){var n=(0,r.createContext)(e);return n.displayName=t,n},L=M("Location"),A=function(t){var e=t.children;return r.createElement(L.Consumer,null,(function(t){return t?e(t):r.createElement(T,null,e)}))},T=function(t){function e(){var n,r;j(this,e);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=O(this,t.call.apply(t,[this].concat(a))),r.state={context:r.getContext(),refs:{unlisten:null}},O(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(!K(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(L.Provider,{value:t},"function"==typeof e?e(t):e||null)},e}(r.Component);T.defaultProps={history:_};var U=function(t){var e=t.url,n=t.children,o=e.indexOf("?"),a=void 0,i="";return o>-1?(a=e.substring(0,o),i=e.substring(o)):a=e,r.createElement(L.Provider,{value:{location:{pathname:a,search:i,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},I=M("Base",{baseuri:"/",basepath:"/",navigate:_.navigate}),W=function(t){return r.createElement(I.Consumer,null,(function(e){return r.createElement(A,null,(function(n){return r.createElement(N,x({},e,n,t))}))}))},N=function(t){function e(){return j(this,e),O(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,a=t.primary,i=t.children,c=(t.baseuri,t.component),s=void 0===c?"div":c,p=R(t,["location","navigate","basepath","primary","children","baseuri","component"]),f=r.Children.toArray(i).reduce((function(t,e){var n=at(o)(e);return t.concat(n)}),[]),h=e.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=x({},v,{uri:m,location:e,navigate:function(t,e){return n(l(t,m),e)}}),b=r.cloneElement(y,w,y.props.children?r.createElement(W,{location:e,primary:a},y.props.children):void 0),P=a?H:s,E=a?x({uri:m,location:e,component:s},p):p;return r.createElement(I.Provider,{value:{baseuri:m,basepath:o,navigate:w.navigate}},r.createElement(P,E,b))}return null},e}(r.PureComponent);N.defaultProps={primary:!0};var F=M("Focus"),H=function(t){var e=t.uri,n=t.location,o=t.component,a=R(t,["uri","location","component"]);return r.createElement(F.Consumer,null,(function(t){return r.createElement(Z,x({},a,{component:o,requestFocus:t,uri:e,location:n}))}))},q=!0,Q=0,Z=function(t){function e(){var n,r;j(this,e);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=O(this,t.call.apply(t,[this].concat(a))),r.state={},r.requestFocus=function(t){!r.state.shouldFocus&&t&&t.focus()},O(r,n)}return D(e,t),e.getDerivedStateFromProps=function(t,e){if(null==e.uri)return x({shouldFocus:!0},t);var n=t.uri!==e.uri,r=e.location.pathname!==t.location.pathname&&t.location.pathname===t.uri;return x({shouldFocus:n||r},t)},e.prototype.componentDidMount=function(){Q++,this.focus()},e.prototype.componentWillUnmount=function(){0===--Q&&(q=!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):q?q=!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),a=void 0===o?"div":o,i=(e.uri,e.location,R(e,["children","style","requestFocus","component","uri","location"]));return r.createElement(a,x({style:x({outline:"none"},n),tabIndex:"-1",ref:function(e){return t.node=e}},i),r.createElement(F.Provider,{value:this.requestFocus},this.props.children))},e}(r.Component);(0,i.O)(Z);var J=function(){},$=r.forwardRef;void 0===$&&($=function(t){return t});var G=$((function(t,e){var n=t.innerRef,o=R(t,["innerRef"]);return r.createElement(I.Consumer,null,(function(t){t.basepath;var a=t.baseuri;return r.createElement(A,null,(function(t){var i=t.location,u=t.navigate,s=o.to,p=o.state,f=o.replace,h=o.getProps,d=void 0===h?J:h,v=R(o,["to","state","replace","getProps"]),m=l(s,a),g=encodeURI(m),y=i.pathname===g,w=c(i.pathname,g);return r.createElement("a",x({ref:e||n,"aria-current":y?"page":void 0},v,d({isCurrent:y,isPartiallyCurrent:w,href:m,location:i}),{href:m,onClick:function(t){if(v.onClick&&v.onClick(t),it(t)){t.preventDefault();var e=f;if("boolean"!=typeof f&&y){var n=x({},i.state),r=(n.key,R(n,["key"]));o=x({},p),a=r,e=(c=Object.keys(o)).length===Object.keys(a).length&&c.every((function(t){return a.hasOwnProperty(t)&&o[t]===a[t]}))}u(m,{state:p,replace:e})}var o,a,c}}))}))}))}));function B(t){this.uri=t}G.displayName="Link";var K=function(t){return t instanceof B},Y=function(t){throw new B(t)},z=function(t){function e(){return j(this,e),O(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,a=t.state,i=(t.noThrow,t.baseuri),c=R(t,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var t=l(n,i);e(p(t,c),{replace:o,state:a})}))},e.prototype.render=function(){var t=this.props,e=(t.navigate,t.to),n=(t.from,t.replace,t.state,t.noThrow),r=t.baseuri,o=R(t,["navigate","to","from","replace","state","noThrow","baseuri"]),a=l(e,r);return n||Y(p(a,o)),null},e}(r.Component),V=function(t){return r.createElement(I.Consumer,null,(function(e){var n=e.baseuri;return r.createElement(A,null,(function(e){return r.createElement(z,x({},e,{baseuri:n},t))}))}))},X=function(t){var e=t.path,n=t.children;return r.createElement(I.Consumer,null,(function(t){var o=t.baseuri;return r.createElement(A,null,(function(t){var r=t.navigate,a=t.location,i=l(e,o),c=s(i,a.pathname);return n({navigate:r,location:a,match:c?x({},c.params,{uri:c.uri,path:e}):null})}))}))},tt=function(){var t=(0,r.useContext)(L);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)(I);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)(I);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)(I);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),a=s(o,n.pathname);return a?x({},a.params,{uri:a.uri,path:t}):null},ot=function(t){return t.replace(/(^\/+|\/+$)/g,"")},at=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,i,c;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,c=function(t){return h(t)},g(o).filter(c).sort().join("/")!==g(i).filter(c).sort().join("/"))&&a()(!1),n.props.default)return{value:n,default:!0};var u=n.type===V?n.props.from:n.props.path,s="/"===u?e:ot(e)+"/"+ot(u);return{value:n,default:n.props.default,path:n.props.children?ot(s)+"/*":s}}},it=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,a,i,c){if(!t){var u;if(void 0===e)u=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,a,i,c],l=0;(u=new Error(e.replace(/%s/g,(function(){return s[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},8613:function(t,e,n){"use strict";n.r(e)},3897:function(t){t.exports=function(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},t.exports.__esModule=!0,t.exports.default=t.exports},5372:function(t){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},6115: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},t.exports.__esModule=!0,t.exports.default=t.exports},7867:function(t,e,n){var r=n(6015);t.exports=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},4836:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},8872:function(t){t.exports=function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,a=[],i=!0,c=!1;try{for(n=n.call(t);!(i=(r=n.next()).done)&&(a.push(r.value),!e||a.length!==e);i=!0);}catch(u){c=!0,o=u}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}},t.exports.__esModule=!0,t.exports.default=t.exports},2218:function(t){t.exports=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.")},t.exports.__esModule=!0,t.exports.default=t.exports},6015:function(t){function e(n,r){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n,r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},7424:function(t,e,n){var r=n(5372),o=n(8872),a=n(6116),i=n(2218);t.exports=function(t,e){return r(t)||o(t,e)||a(t,e)||i()},t.exports.__esModule=!0,t.exports.default=t.exports},6116:function(t,e,n){var r=n(3897);t.exports=function(t,e){if(t){if("string"==typeof t)return r(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)?r(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},2911:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.SCRIPT_TYPE="text/partytown",e.partytownSnippet=t=>((t,e)=>{const{forward:n=[],...r}=t||{},o=JSON.stringify(r,((t,e)=>("function"==typeof e&&(e=String(e)).startsWith(t+"(")&&(e="function "+e),e)));return["!(function(w,p,f,c){",Object.keys(r).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",n.length>0?`.concat(${JSON.stringify(n)})`:"","})(window,'partytown','forward');",e].join("")})(t,'/* Partytown 0.5.4 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener("pt0",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.5.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);')},611:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7294),o=n(2911);function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=a(r);e.Partytown=(t={})=>{if("undefined"!=typeof document&&!document._partytown){if(!document.querySelector("script[data-partytown]")){const e=document.createElement("script");e.dataset.partytown="",e.innerHTML=o.partytownSnippet(t),document.head.appendChild(e)}document._partytown=!0}const e=o.partytownSnippet(t)+'document.currentScript.dataset.partytown="";';return i.default.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:e}})}},1721:function(t,e,n){"use strict";function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)}n.d(e,{Z:function(){return o}})},5785:function(t,e,n){"use strict";function r(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 o(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return r(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)?r(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(e,{Z:function(){return o}})},1562:function(t,e,n){"use strict";n.d(e,{ZP:function(){return w},c4:function(){return b},cP:function(){return u},dq:function(){return p},mc:function(){return v}});var r=n(5697),o=n(7294),a=n(9499),i=n(2098);n(8440);function c(){return c=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},c.apply(this,arguments)}function u(t){let e=t||"/",n="",r="";const o=e.indexOf("#");-1!==o&&(r=e.slice(o),e=e.slice(0,o));const a=e.indexOf("?");return-1!==a&&(n=e.slice(a),e=e.slice(0,a)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}const s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=t=>{if("string"==typeof t)return!(t=>s.test(t))(t)};function p(t,e=""){var n;if(!l(t))return t;if(t.startsWith("./")||t.startsWith("../"))return t;const r=null!=(n=null!=e?e:"")?n:"/";return`${null!=r&&r.endsWith("/")?r.slice(0,-1):r}${t.startsWith("/")?t:`/${t}`}`}const f=t=>null==t?void 0:t.startsWith("/"),h=(t,e)=>{if("number"==typeof t)return t;if(!l(t))return t;const{pathname:n,search:r,hash:o}=u(t);let a=t;return f(a)?p(a):function(t,e){if(f(t))return t;const n=(0,i.DB)(t,e);return n}(a,e)},d=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function v(t){return p(t,"")}const m={activeClassName:r.string,activeStyle:r.object,partiallyActive:r.bool};function g(t){return o.createElement(a.Location,null,(({location:e})=>o.createElement(y,c({},t,{_location:e}))))}class y extends o.Component{constructor(t){super(t),this.defaultGetProps=({isPartiallyCurrent:t,isCurrent:e})=>(this.props.partiallyActive?t:e)?{className:[this.props.className,this.props.activeClassName].filter(Boolean).join(" "),style:c({},this.props.style,this.props.activeStyle)}:null;let e=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(e=!0),this.state={IOSupported:e},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let t=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(t=this.props._location.pathname+this.props._location.search);const e=u(h(this.props.to,t)),n=e.pathname+e.search;if(t!==n)return ___loader.enqueue(n)}componentWillUnmount(){if(!this.io)return;const{instance:t,el:e}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),t.unobserve(e),t.disconnect()}handleRef(t){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=t:this.props.innerRef&&this.props.innerRef(t),this.state.IOSupported&&t&&(this.io=((t,e)=>{const n=new window.IntersectionObserver((n=>{n.forEach((n=>{t===n.target&&e(n.isIntersecting||n.intersectionRatio>0)}))}));return n.observe(t),{instance:n,el:t}})(t,(t=>{t?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))}render(){const t=this.props,{to:e,getProps:n=this.defaultGetProps,onClick:r,onMouseEnter:i,state:s,replace:p,_location:f}=t,v=function(t,e){if(null==t)return{};var n,r,o={},a=Object.keys(t);for(r=0;r<a.length;r++)e.indexOf(n=a[r])>=0||(o[n]=t[n]);return o}(t,d),m=h(e,f.pathname);return l(m)?o.createElement(a.Link,c({to:m,state:s,getProps:n,innerRef:this.handleRef,onMouseEnter:t=>{i&&i(t);const e=u(m);___loader.hovering(e.pathname+e.search)},onClick:t=>{if(r&&r(t),!(0!==t.button||this.props.target||t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)){t.preventDefault();let e=p;const n=encodeURI(m)===f.pathname;"boolean"!=typeof p&&n&&(e=!0),window.___navigate(m,{state:s,replace:e})}return!0}},v)):o.createElement("a",c({href:m},v))}}y.propTypes=c({},m,{onClick:r.func,to:r.string.isRequired,replace:r.bool,state:r.object});var w=o.forwardRef(((t,e)=>o.createElement(g,c({innerRef:e},t))));const b=(t,e)=>{window.___navigate(h(t,window.location.pathname),e)}},3521:function(t,e,n){"use strict";n.r(e),n.d(e,{PartytownContext:function(){return a},Script:function(){return f},ScriptStrategy:function(){return c},scriptCache:function(){return l},scriptCallbackCache:function(){return p}});var r=n(7294);function o(){return o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}const a=(0,r.createContext)({}),i="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(t){const e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})}),1)};var c,u;(u=c||(c={})).postHydrate="post-hydrate",u.idle="idle",u.offMainThread="off-main-thread";const s=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),l=new Set,p=new Map;function f(t){const{id:e,src:n,strategy:u=c.postHydrate}=t||{},{collectScript:s}=(0,r.useContext)(a);if((0,r.useEffect)((()=>{let e;switch(u){case c.postHydrate:e=h(t);break;case c.idle:i((()=>{e=h(t)}));break;case c.offMainThread:if(s){const e=v(t);s(e)}}return()=>{const{script:t,loadCallback:n,errorCallback:r}=e||{};n&&(null==t||t.removeEventListener("load",n)),r&&(null==t||t.removeEventListener("error",r)),null==t||t.remove()}}),[]),u===c.offMainThread){const a=d(t),i=v(t);return"undefined"==typeof window&&(s?s(i):console.warn(`Unable to collect off-main-thread script '${e||n||"no-id-or-src"}' for configuration with Partytown.\nGatsby script components must be used either as a child of your page, in wrapPageElement, or wrapRootElement.\nSee https://gatsby.dev/gatsby-script for more information.`)),r.createElement("script",a?o({type:"text/partytown","data-strategy":u,crossOrigin:"anonymous"},i,{dangerouslySetInnerHTML:{__html:d(t)}}):o({type:"text/partytown",src:m(n),"data-strategy":u,crossOrigin:"anonymous"},i))}return null}function h(t){const{id:e,src:n,strategy:r=c.postHydrate,onLoad:a,onError:i}=t||{},u=e||n,s=["load","error"],f={load:a,error:i};if(u){for(const t of s)if(null!=f&&f[t]){var h;const e=p.get(u)||{},{callbacks:n=[]}=(null==e?void 0:e[t])||{};var m,y;n.push(null==f?void 0:f[t]),null!=e&&null!=(h=e[t])&&h.event?null==f||null==(m=f[t])||m.call(f,null==e||null==(y=e[t])?void 0:y.event):p.set(u,o({},e,{[t]:{callbacks:n}}))}if(l.has(u))return null}const w=d(t),b=v(t),P=document.createElement("script");e&&(P.id=e),P.dataset.strategy=r;for(const[o,c]of Object.entries(b))P.setAttribute(o,c);w&&(P.textContent=w),n&&(P.src=n);const E={};if(u){for(const t of s){const e=e=>g(e,u,t);P.addEventListener(t,e),E[`${t}Callback`]=e}l.add(u)}return document.body.appendChild(P),{script:P,loadCallback:E.loadCallback,errorCallback:E.errorCallback}}function d(t){const{dangerouslySetInnerHTML:e,children:n=""}=t||{},{__html:r=""}=e||{};return r||n}function v(t){const e={};for(const[n,r]of Object.entries(t))s.has(n)||(e[n]=r);return e}function m(t){if(t)return`/__third-party-proxy?url=${encodeURIComponent(t)}`}function g(t,e,n){const r=p.get(e)||{};for(const a of(null==r||null==(o=r[n])?void 0:o.callbacks)||[]){var o;a(t)}p.set(e,{[n]:{event:t}})}}},function(t){t.O(0,[532,774],(function(){return e=5824,t(t.s=e);var e}));t.O()}]);
//# sourceMappingURL=app-e5b0097845308f968bc0.js.map