(self.webpackChunkportal=self.webpackChunkportal||[]).push([[524],{3325:function(t,e){"use strict";var n=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},u=c.state,l=c.replace,p=void 0!==l&&l;if("number"==typeof e)t.history.go(e);else{u=n({},u,{key:Date.now()+""});try{i||p?t.history.replaceState(u,null,e):t.history.pushState(u,null,e)}catch(f){t.location[p?"replace":"assign"](e)}}a=r(t),i=!0;var h=new Promise((function(t){return s=t}));return o.forEach((function(t){return t({location:a,action:"PUSH"})})),h}}},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("?"),s=i[0],c=i[1],u=void 0===c?"":c;r++,o.push({pathname:s,search:u.length?"?"+u:u}),a.push(t)},replaceState:function(t,e,n){var i=n.split("?"),s=i[0],c=i[1],u=void 0===c?"":c;o[r]={pathname:s,search:u},a[r]=t},go:function(t){var e=r+t;e<0||e>a.length-1||(r=e)}}}},i=!("undefined"==typeof window||!window.document||!window.document.createElement),s=o(i?window:a()),c=s.navigate;e.W7=s},7900: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(311),a=(r=o)&&r.__esModule?r:{default:r};var i=function(t,e){return t.substr(0,e.length)===e},s=function(t,e){for(var n=void 0,r=void 0,o=e.split("?")[0],i=f(o),s=""===i[0],u=h(t),p=0,d=u.length;pe.score?-1:t.index-e.index}))},f=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},d=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r0})))&&n.length>0?"?"+n.join("&"):"")},v=["uri","path"];e.startsWith=i,e.pick=s,e.match=function(t,e){return s([{path:t}],e)},e.resolve=function(t,e){if(i(t,"/"))return t;var n=t.split("?"),r=n[0],o=n[1],a=e.split("?")[0],s=f(r),c=f(a);if(""===s[0])return d(a,o);if(!i(s[0],".")){var u=c.concat(s).join("/");return d(("/"===a?"":"/")+u,o)}for(var l=c.concat(s),p=[],h=0,v=l.length;h0)&&(r.unobserve(e),r.disconnect(),n())}))}))).observe(e),{instance:r,el:e}))},n.render=function(){var t=this,e=this.props,n=e.to,r=e.getProps,a=void 0===r?this.defaultGetProps:r,i=e.onClick,c=e.onMouseEnter,p=(e.activeClassName,e.activeStyle,e.innerRef,e.partiallyActive,e.state),d=e.replace,v=e._location,m=(0,o.default)(e,f);var g=w(n,v.pathname);return y(g)?u.default.createElement(l.Link,(0,s.default)({to:g,state:p,getProps:a,innerRef:this.handleRef,onMouseEnter:function(t){c&&c(t),___loader.hovering((0,h.parsePath)(g).pathname)},onClick:function(e){if(i&&i(e),!(0!==e.button||t.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();var n=d,r=encodeURI(g)===v.pathname;"boolean"!=typeof d&&r&&(n=!0),window.___navigate(g,{state:p,replace:n})}return!0}},m)):u.default.createElement("a",(0,s.default)({href:g},m))},e}(u.default.Component);R.propTypes=(0,s.default)({},b,{onClick:c.default.func,to:c.default.string.isRequired,replace:c.default.bool,state:c.default.object})},2323: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 a=e.indexOf("?");-1!==a&&(n=e.substr(a),e=e.substr(0,a));return{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}},7035:function(t,e,n){"use strict";e.z_=void 0;var r=n(3215);e.z_=r.ScrollHandler,n(3721).useScrollRestoration},3215:function(t,e,n){"use strict";var r=n(4994);e.__esModule=!0,e.ScrollHandler=e.ScrollContext=void 0;var o=r(n(2475)),a=r(n(6221)),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=u(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(6540)),s=r(n(5556)),c=n(4351);function u(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(u=function(t){return t?n:e})(t)}var l=i.createContext(new c.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;an.e(453).then(n.bind(n,5269)),"component---src-pages-home-about-section-tsx":()=>n.e(216).then(n.bind(n,9201)),"component---src-pages-home-contacts-section-tsx":()=>n.e(290).then(n.bind(n,8833)),"component---src-pages-home-header-section-tsx":()=>n.e(842).then(n.bind(n,6984)),"component---src-pages-home-home-page-tsx":()=>Promise.all([n.e(241),n.e(66),n.e(601),n.e(858)]).then(n.bind(n,2465)),"component---src-pages-home-projects-section-tsx":()=>n.e(241).then(n.bind(n,1435)),"component---src-pages-home-services-section-tsx":()=>n.e(601).then(n.bind(n,4341)),"component---src-pages-home-tech-section-tsx":()=>n.e(66).then(n.bind(n,2381)),"component---src-pages-index-tsx":()=>Promise.all([n.e(869),n.e(241),n.e(66),n.e(601),n.e(245)]).then(n.bind(n,1218))}},3122:function(t,e,n){t.exports=[{plugin:n(8534),options:{plugins:[],trackingId:"ga-123",head:!1,anonymize:!1,respectDNT:!1,exclude:[],pageTransitionDelay:0,enableWebVitalsTracking:!1}}]},6883:function(t,e,n){const r=n(3122),{getResourceURLsForPathname:o,loadPage:a,loadPageSync:i}=n(1014).Zf;e.N=function(t,e,n,s){void 0===e&&(e={});let c=r.map((n=>{if(!n.plugin[t])return;e.getResourceURLsForPathname=o,e.loadPage=a,e.loadPageSync=i;const r=n.plugin[t](e,n.options);return r&&s&&(e=s({args:e,result:r,plugin:n})),r}));return c=c.filter((t=>void 0!==t)),c.length>0?c:n?[n]:[]},e.v=(t,e,n)=>r.reduce(((n,r)=>r.plugin[t]?n.then((()=>r.plugin[t](e,r.options))):n),Promise.resolve())},1302:function(t,e,n){"use strict";n.d(e,{A: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)}))}}}()},9310:function(t,e,n){"use strict";n.d(e,{Yl:function(){return h},Hh:function(){return d},UA:function(){return f},QX:function(){return p}});var r=n(7900),o=n(9986),a=t=>void 0===t?t:"/"===t?"/":"/"===t.charAt(t.length-1)?t.slice(0,-1):t,i=n(4109);const s=new Map;let c=[];const u=t=>{const e=decodeURIComponent(t);return(0,o.A)(e,decodeURIComponent("")).split("#")[0].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}const p=t=>{c=t},h=t=>{const e=v(t),n=c.map((t=>{let{path:e,matchPath:n}=t;return{path:n,originalPath:e}})),o=(0,r.pick)(n,e);return o?a(o.route.originalPath):null},f=t=>{const e=v(t),n=c.map((t=>{let{path:e,matchPath:n}=t;return{path:n,originalPath:e}})),o=(0,r.pick)(n,e);return o?o.params:{}},d=t=>{const e=u(l(t));if(s.has(e))return s.get(e);const n=(0,i.X)(t);if(n)return d(n.toPath);let r=h(e);return r||(r=v(t)),s.set(e,r),r},v=t=>{let e=u(l(t));return"/index.html"===e&&(e="/"),e=a(e),e}},1014:function(t,e,n){"use strict";n.d(e,{Wi:function(){return p},N5:function(){return w},Ay:function(){return R},LE:function(){return E},Zf:function(){return P},iC:function(){return b}});var r=n(5540);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n{if("undefined"==typeof document)return void r();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",t),Object.keys(e).forEach((t=>{o.setAttribute(t,e[t])})),o.onload=n,o.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}))}:function(t){return new Promise(((e,n)=>{const r=new XMLHttpRequest;r.open("GET",t,!0),r.onload=()=>{200===r.status?e():n()},r.send(null)}))},s={};var c=function(t,e){return new Promise((n=>{s[t]?n():i(t,e).then((()=>{n(),s[t]=!0})).catch((()=>{}))}))},u=n(1302),l=n(9310);const p={Error:"error",Success:"success"},h=t=>t&&t.default||t,f=t=>{var e;return`/page-data/${"/"===t?"index":(e="/"===(e=t)[0]?e.slice(1):e).endsWith("/")?e.slice(0,-1):e}/page-data.json`};function d(t,e){return void 0===e&&(e="GET"),new Promise(((n,r)=>{const o=new XMLHttpRequest;o.open(e,t,!0),o.onreadystatechange=()=>{4==o.readyState&&n(o)},o.send(null)}))}const v=function(t,e){void 0===e&&(e=null);const n={componentChunkName:t.componentChunkName,path:t.path,webpackCompilationHash:t.webpackCompilationHash,matchPath:t.matchPath,staticQueryHashes:t.staticQueryHashes};return{component:e,json:t.result,page:n}};let 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.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=t,(0,l.QX)(e)}var e=t.prototype;return e.memoizedGet=function(t){let e=this.inFlightNetworkRequests.get(t);return e||(e=d(t,"GET"),this.inFlightNetworkRequests.set(t,e)),e.then((e=>(this.inFlightNetworkRequests.delete(t),e))).catch((e=>{throw this.inFlightNetworkRequests.delete(t),e}))},e.setApiRunner=function(t){this.apiRunner=t,this.prefetchDisabled=t("disableCorePrefetching").some((t=>t))},e.fetchPageDataJson=function(t){const{pagePath:e,retries:n=0}=t,r=f(e);return this.memoizedGet(r).then((r=>{const{status:o,responseText:a}=r;if(200===o)try{const e=JSON.parse(a);if(void 0===e.path)throw new Error("not a valid pageData response");return Object.assign(t,{status:p.Success,payload:e})}catch(i){}return 404===o||200===o?"/404.html"===e?Object.assign(t,{status:p.Error}):this.fetchPageDataJson(Object.assign(t,{pagePath:"/404.html",notFound:!0})):500===o?Object.assign(t,{status:p.Error}):n<3?this.fetchPageDataJson(Object.assign(t,{retries:n+1})):Object.assign(t,{status:p.Error})}))},e.loadPageDataJson=function(t){const e=(0,l.Hh)(t);if(this.pageDataDb.has(e)){const t=this.pageDataDb.get(e);return Promise.resolve(t)}return this.fetchPageDataJson({pagePath:e}).then((t=>(this.pageDataDb.set(e,t),t)))},e.findMatchPath=function(t){return(0,l.Yl)(t)},e.loadPage=function(t){const e=(0,l.Hh)(t);if(this.pageDb.has(e)){const t=this.pageDb.get(e);return t.error?{error:t.error,status:t.status}:Promise.resolve(t.payload)}if(this.inFlightDb.has(e))return this.inFlightDb.get(e);const n=Promise.all([this.loadAppData(),this.loadPageDataJson(e)]).then((t=>{const n=t[1];if(n.status===p.Error)return{status:p.Error};let r=n.payload;const{componentChunkName:o,staticQueryHashes:a=[]}=r,i={},s=this.loadComponent(o).then((e=>{let o;return i.createdAt=new Date,!e||e instanceof Error?(i.status=p.Error,i.error=e):(i.status=p.Success,!0===n.notFound&&(i.notFound=!0),r=Object.assign(r,{webpackCompilationHash:t[0]?t[0].webpackCompilationHash:""}),o=v(r,e)),o})),c=Promise.all(a.map((t=>{if(this.staticQueryDb[t]){const e=this.staticQueryDb[t];return{staticQueryHash:t,jsonPayload:e}}return this.memoizedGet(`/page-data/sq/d/${t}.json`).then((e=>{const n=JSON.parse(e.responseText);return{staticQueryHash:t,jsonPayload:n}})).catch((()=>{throw new Error(`We couldn't load "/page-data/sq/d/${t}.json"`)}))}))).then((t=>{const e={};return t.forEach((t=>{let{staticQueryHash:n,jsonPayload:r}=t;e[n]=r,this.staticQueryDb[n]=r})),e}));return Promise.all([s,c]).then((t=>{let n,[r,o]=t;return r&&(n={...r,staticQueryResults:o},i.payload=n,u.A.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(e,i),i.error?{error:i.error,status:i.status}:n})).catch((t=>({error:t,status:p.Error})))}));return n.then((()=>{this.inFlightDb.delete(e)})).catch((t=>{throw this.inFlightDb.delete(e),t})),this.inFlightDb.set(e,n),n},e.loadPageSync=function(t,e){void 0===e&&(e={});const n=(0,l.Hh)(t);if(this.pageDb.has(n)){var r;const t=this.pageDb.get(n);if(t.payload)return t.payload;if(null!==(r=e)&&void 0!==r&&r.withErrorDetails)return{error:t.error,status:t.status}}},e.shouldPrefetch=function(t){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&!this.pageDb.has(t)},e.prefetch=function(t){if(!this.shouldPrefetch(t))return!1;if(this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled)return!1;const e=(0,l.Hh)(t);return this.doPrefetch(e).then((()=>{this.prefetchCompleted.has(t)||(this.apiRunner("onPostPrefetchPathname",{pathname:t}),this.prefetchCompleted.add(t))})),!0},e.doPrefetch=function(t){const e=f(t);return c(e,{crossOrigin:"anonymous",as:"fetch"}).then((()=>this.loadPageDataJson(t)))},e.hovering=function(t){this.loadPage(t)},e.getResourceURLsForPathname=function(t){const e=(0,l.Hh)(t),n=this.pageDataDb.get(e);if(n){const t=v(n.payload);return[].concat(a(g(t.page.componentChunkName)),[f(e)])}return null},e.isPageNotFound=function(t){const e=(0,l.Hh)(t),n=this.pageDb.get(e);return!n||n.notFound},e.loadAppData=function(t){return void 0===t&&(t=0),this.memoizedGet("/page-data/app-data.json").then((e=>{const{status:n,responseText:r}=e;let o;if(200!==n&&t<3)return this.loadAppData(t+1);if(200===n)try{const t=JSON.parse(r);if(void 0===t.webpackCompilationHash)throw new Error("not a valid app-data response");o=t}catch(a){}return o}))},t}();const g=t=>(window.___chunkMapping[t]||[]).map((t=>""+t));let y,w=function(t){function e(e,n,r){var o;return o=t.call(this,(t=>{if(!e.components[t])throw new Error(`We couldn't find the correct component chunk with the name ${t}`);return e.components[t]().then(h).catch((t=>t))}),n)||this,r&&o.pageDataDb.set(r.path,{pagePath:r.path,payload:r,status:"success"}),o}(0,r.A)(e,t);var n=e.prototype;return n.doPrefetch=function(e){return t.prototype.doPrefetch.call(this,e).then((t=>{if(t.status!==p.Success)return Promise.resolve();const e=t.payload,n=e.componentChunkName,r=g(n);return Promise.all(r.map(c)).then((()=>e))}))},n.loadPageDataJson=function(e){return t.prototype.loadPageDataJson.call(this,e).then((t=>t.notFound?d(e,"HEAD").then((e=>200===e.status?{status:p.Error}:t)):t))},e}(m);const b=t=>{y=t},P={enqueue:t=>y.prefetch(t),getResourceURLsForPathname:t=>y.getResourceURLsForPathname(t),loadPage:t=>y.loadPage(t),loadPageSync:function(t,e){return void 0===e&&(e={}),y.loadPageSync(t,e)},prefetch:t=>y.prefetch(t),isPageNotFound:t=>y.isPageNotFound(t),hovering:t=>y.hovering(t),loadAppData:()=>y.loadAppData()};var R=P;function E(){return y?y.staticQueryDb:{}}},694:function(t,e,n){"use strict";var r=n(5540),o=n(6540),a=n(6883),i=n(9310);let s=function(t){function e(){return t.apply(this,arguments)||this}return(0,r.A)(e,t),e.prototype.render=function(){const t={...this.props,params:{...(0,i.UA)(this.props.location.pathname),...this.props.pageResources.json.pageContext.__params}},e=(0,o.createElement)(this.props.pageResources.component,{...t,key:this.props.path||this.props.pageResources.page.path});return(0,a.N)("wrapPageElement",{element:e,props:t},e,(e=>{let{result:n}=e;return{element:n,props:t}})).pop()},e}(o.Component);e.A=s},1769:function(t,e,n){"use strict";var r=n(5540),o=n(6883),a=n(6540),i=n(961),s=n(5702),c=n(7035),u=n(7424),l=(n(1098),n(1014));l.Ay.enqueue;const p=a.createContext({});var h=n(4109),f=n(1302);const d={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"};var v=n(3325);function m(t){const e=(0,h.X)(t),{hash:n,search:r}=window.location;return null!=e&&(window.___replace(e.toPath+r+n),!0)}let g="";window.addEventListener("unhandledrejection",(t=>{/loading chunk \d* failed./i.test(t.reason)&&g&&(window.location.pathname=g)}));const y=(t,e)=>{m(t.pathname)||(g=t.pathname,(0,o.N)("onPreRouteUpdate",{location:t,prevLocation:e}))},w=(t,e)=>{m(t.pathname)||(0,o.N)("onRouteUpdate",{location:t,prevLocation:e})},b=function(t,e){if(void 0===e&&(e={}),"number"==typeof t)return void v.W7.navigate(t);const{pathname:n,search:r,hash:a}=(0,u.Rr)(t),i=(0,h.X)(n);if(i&&(t=i.toPath+r+a),window.___swUpdated)return void(window.location=n+r+a);const c=setTimeout((()=>{f.A.emit("onDelayedLoadPageResources",{pathname:n}),(0,o.N)("onRouteUpdateDelayed",{location:window.location})}),1e3);l.Ay.loadPage(n).then((o=>{if(!o||o.status===l.Wi.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(c);o&&o.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=n+r+a),(0,s.navigate)(t,e),clearTimeout(c)}))};function P(t,e){let{location:n}=e;const{pathname:r,hash:a}=n,i=(0,o.N)("shouldUpdateScroll",{prevRouterProps:t,pathname:r,routerProps:{location:n},getSavedScrollPosition:t=>[0,this._stateStorage.read(t,t.key)]});if(i.length>0)return i[i.length-1];if(t){const{location:{pathname:e}}=t;if(e===r)return a?decodeURI(a.slice(1)):[0,0]}return!0}let R=function(t){function e(e){var n;return(n=t.call(this,e)||this).announcementRef=a.createRef(),n}(0,r.A)(e,t);var n=e.prototype;return n.componentDidUpdate=function(t,e){requestAnimationFrame((()=>{let t=`new page at ${this.props.location.pathname}`;document.title&&(t=document.title);const e=document.querySelectorAll("#gatsby-focus-wrapper h1");e&&e.length&&(t=e[0].textContent);const n=`Navigated to ${t}`;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}}))},n.render=function(){return a.createElement("div",Object.assign({},d,{ref:this.announcementRef}))},e}(a.Component);const E=(t,e)=>{var n,r;return t.href!==e.href||(null==t||null===(n=t.state)||void 0===n?void 0:n.key)!==(null==e||null===(r=e.state)||void 0===r?void 0:r.key)};let _=function(t){function e(e){var n;return n=t.call(this,e)||this,y(e.location,null),n}(0,r.A)(e,t);var n=e.prototype;return n.componentDidMount=function(){w(this.props.location,null)},n.shouldComponentUpdate=function(t){return!!E(t.location,this.props.location)&&(y(this.props.location,t.location),!0)},n.componentDidUpdate=function(t){E(t.location,this.props.location)&&w(this.props.location,t.location)},n.render=function(){return a.createElement(a.Fragment,null,this.props.children,a.createElement(R,{location:location}))},e}(a.Component);var k=n(694),S=n(9576);function C(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;const{location:r,pageResources:o}=e;return n.state={location:{...r},pageResources:o||l.Ay.loadPageSync(r.pathname,{withErrorDetails:!0})},n}(0,r.A)(e,t),e.getDerivedStateFromProps=function(t,e){let{location:n}=t;if(e.location.href!==n.href){return{pageResources:l.Ay.loadPageSync(n.pathname,{withErrorDetails:!0}),location:{...n}}}return{location:{...n}}};var n=e.prototype;return n.loadResources=function(t){l.Ay.loadPage(t).then((e=>{e&&e.status!==l.Wi.Error?this.setState({location:{...window.location},pageResources:e}):(window.history.replaceState({},"",location.href),window.location=t)}))},n.shouldComponentUpdate=function(t,e){return e.pageResources?this.state.pageResources!==e.pageResources||(this.state.pageResources.component!==e.pageResources.component||(this.state.pageResources.json!==e.pageResources.json||(!(this.state.location.key===e.location.key||!e.pageResources.page||!e.pageResources.page.matchPath&&!e.pageResources.page.path)||function(t,e,n){return C(t.props,e)||C(t.state,n)}(this,t,e)))):(this.loadResources(t.location.pathname),!1)},n.render=function(){return this.props.children(this.state)},e}(a.Component),O=n(9986);const D=new l.N5(S,[],window.pageData);(0,l.iC)(D),D.setApiRunner(o.N),window.asyncRequires=S,window.___emitter=f.A,window.___loader=l.Zf,v.W7.listen((t=>{t.location.action=t.action})),window.___push=t=>b(t,{replace:!1}),window.___replace=t=>b(t,{replace:!0}),window.___navigate=(t,e)=>b(t,e),m(window.location.pathname),(0,o.v)("onClientEntry").then((()=>{(0,o.N)("registerServiceWorker").filter(Boolean).length>0&&n(3459);const t=t=>a.createElement(s.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.createElement(k.A,t)),e=a.createContext({});let u=function(t){function n(){return t.apply(this,arguments)||this}return(0,r.A)(n,t),n.prototype.render=function(){const{children:t}=this.props;return a.createElement(s.Location,null,(n=>{let{location:r}=n;return a.createElement(x,{location:r},(n=>{let{pageResources:r,location:o}=n;const i=(0,l.LE)();return a.createElement(p.Provider,{value:i},a.createElement(e.Provider,{value:{pageResources:r,location:o}},t))}))}))},n}(a.Component),h=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.A)(o,n),o.prototype.render=function(){return a.createElement(e.Consumer,null,(e=>{let{pageResources:n,location:r}=e;return a.createElement(_,{location:r},a.createElement(c.z_,{location:r,shouldUpdateScroll:P},a.createElement(s.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},a.createElement(t,Object.assign({path:"/404.html"===n.page.path?(0,O.A)(r.pathname,""):encodeURI(n.page.matchPath||n.page.path)},this.props,{location:r,pageResources:n},n.json)))))}))},o}(a.Component);const{pagePath:f,location:d}=window;f&&""+f!==d.pathname&&!(D.findMatchPath((0,O.A)(d.pathname,""))||"/404.html"===f||f.match(/^\/404\/?$/)||f.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,s.navigate)(""+f+d.search+d.hash,{replace:!0}),l.Zf.loadPage(d.pathname).then((t=>{if(!t||t.status===l.Wi.Error){const e=`page resources for ${d.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;const e=(0,o.N)("wrapRootElement",{element:a.createElement(h,null)},a.createElement(h,null),(t=>{let{result:e}=t;return{element:e}})).pop(),n=function(){const t=a.useRef(!1);return a.useEffect((()=>{t.current||(t.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.N)("onInitialClientRender"))}),[]),a.createElement(u,null,e)},r=(0,o.N)("replaceHydrateFunction",void 0,i.hydrateRoot?i.hydrateRoot:i.hydrate)[0];function s(){const t="undefined"!=typeof window?document.getElementById("___gatsby"):null;r===i.hydrateRoot?r(t,a.createElement(n,null)):r(a.createElement(n,null),t)}const c=document;if("complete"===c.readyState||"loading"!==c.readyState&&!c.documentElement.doScroll)setTimeout((function(){s()}),0);else{const t=function(){c.removeEventListener("DOMContentLoaded",t,!1),window.removeEventListener("load",t,!1),s()};c.addEventListener("DOMContentLoaded",t,!1),window.addEventListener("load",t,!1)}}))}))},5706:function(t,e,n){"use strict";n.r(e);var r=n(6540),o=n(1014),a=n(694);e.default=t=>{let{location:e}=t;const n=o.Ay.loadPageSync(e.pathname);return n?r.createElement(a.A,{location:e,pageResources:n,...n.json}):null}},1098:function(t,e,n){var r;t.exports=(r=n(5706))&&r.default||r},2943:function(t,e){e.M=t=>t},4109:function(t,e,n){"use strict";n.d(e,{X:function(){return a}});const r=new Map,o=new Map;function a(t){let e=r.get(t);return e||(e=o.get(t.toLowerCase())),e}[].forEach((t=>{t.ignoreCase?o.set(t.fromPath,t):r.set(t.fromPath,t)}))},3459:function(t,e,n){"use strict";n.r(e);var r=n(6883);"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",(()=>{(0,r.N)("onServiceWorkerUpdateFound",{serviceWorker:t});const e=t.installing;console.log("installingWorker",e),e.addEventListener("statechange",(()=>{switch(e.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.N)("onServiceWorkerUpdateReady",{serviceWorker:t}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.N)("onServiceWorkerInstalled",{serviceWorker:t}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.N)("onServiceWorkerRedundant",{serviceWorker:t});break;case"activated":(0,r.N)("onServiceWorkerActive",{serviceWorker:t})}}))}))})).catch((function(t){console.error("Error during service worker registration:",t)}))},9986:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=""),e?t===e?"/":t.startsWith(`${e}/`)?t.slice(e.length):t:t}n.d(e,{A:function(){return r}})},8534:function(t,e,n){"use strict";n.r(e),n.d(e,{onInitialClientRender:function(){return s},onRouteUpdate:function(){return i}});const r=new Set;function o(t,e){let n=null;return function(){n&&clearTimeout(n);for(var r=arguments.length,o=new Array(r),a=0;a{let{getLCP:n,getFID:r,getCLS:a}=e;const i=o(t,3e3),s=t,c=o(t,3e3);a(i,!0),r(s,!0),n(c,!0)}))}const i=function(t,e){let{location:n}=t;void 0===e&&(e={});const r=window.ga;if("function"!=typeof r)return null;if(n&&void 0!==window.excludeGAPaths&&window.excludeGAPaths.some((t=>t.test(n.pathname))))return null;const o=Math.max(32,e.pageTransitionDelay||0);return setTimeout((()=>{const t=n?n.pathname+n.search+n.hash:void 0;r("set","page",t),r("send","pageview")}),o),null};function s(t,e){"function"==typeof ga&&e.enableWebVitalsTracking&&a()}},5702:function(t,e,n){"use strict";n.r(e),n.d(e,{BaseContext:function(){return W},Link:function(){return G},Location:function(){return M},LocationProvider:function(){return U},Match:function(){return Z},Redirect:function(){return V},Router:function(){return N},ServerLocation:function(){return T},createHistory:function(){return R},createMemorySource:function(){return E},globalHistory:function(){return k},isRedirect:function(){return z},matchPath:function(){return u},navigate:function(){return S},redirectTo:function(){return X},resolve:function(){return l},useLocation:function(){return tt},useMatch:function(){return rt},useNavigate:function(){return et},useParams:function(){return nt}});var r=n(6540),o=n(311),a=n.n(o),i=n(2943),s=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=g(o),s=""===i[0],c=m(t),u=0,l=c.length;ue.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;r0})))&&n.length>0?"?"+n.join("&"):"")},w=["uri","path"],b=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},s=i.state,c=i.replace,u=void 0!==c&&c;if("number"==typeof e)t.history.go(e);else{s=b({},s,{key:Date.now()+""});try{o||u?t.history.replaceState(s,null,e):t.history.pushState(s,null,e)}catch(p){t.location[u?"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}}},E=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=t.indexOf("?"),n={pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(t,e,n){var i=n.split("?"),s=i[0],c=i[1],u=void 0===c?"":c;r++,o.push({pathname:s,search:u.length?"?"+u:u}),a.push(t)},replaceState:function(t,e,n){var i=n.split("?"),s=i[0],c=i[1],u=void 0===c?"":c;o[r]={pathname:s,search:u},a[r]=t},go:function(t){var e=r+t;e<0||e>a.length-1||(r=e)}}}},_=!("undefined"==typeof window||!window.document||!window.document.createElement),k=R(_?window:E()),S=k.navigate,C=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function D(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 j(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 A=function(t,e){var n=(0,r.createContext)(e);return n.displayName=t,n},L=A("Location"),M=function(t){var e=t.children;return r.createElement(L.Consumer,null,(function(t){return t?e(t):r.createElement(U,null,e)}))},U=function(t){function e(){var n,r;O(this,e);for(var o=arguments.length,a=Array(o),i=0;i-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)},W=A("Base",{baseuri:"/",basepath:"/",navigate:k.navigate}),N=function(t){return r.createElement(W.Consumer,null,(function(e){return r.createElement(M,null,(function(n){return r.createElement(F,C({},e,n,t))}))}))},F=function(t){function e(){return O(this,e),D(this,t.apply(this,arguments))}return j(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,s=(t.baseuri,t.component),u=void 0===s?"div":s,p=x(t,["location","navigate","basepath","primary","children","baseuri","component"]),h=r.Children.toArray(i).reduce((function(t,e){var n=at(o)(e);return t.concat(n)}),[]),f=e.pathname,d=c(h,f);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=C({},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(N,{location:e,primary:a},y.props.children):void 0),P=a?H:u,R=a?C({uri:m,location:e,component:u},p):p;return r.createElement(W.Provider,{value:{baseuri:m,basepath:o,navigate:w.navigate}},r.createElement(P,R,b))}return null},e}(r.PureComponent);F.defaultProps={primary:!0};var I=A("Focus"),H=function(t){var e=t.uri,n=t.location,o=t.component,a=x(t,["uri","location","component"]);return r.createElement(I.Consumer,null,(function(t){return r.createElement($,C({},a,{component:o,requestFocus:t,uri:e,location:n}))}))},q=!0,J=0,$=function(t){function e(){var n,r;O(this,e);for(var o=arguments.length,a=Array(o),i=0;i