1(self.webpackChunktimesheet=self.webpackChunktimesheet||[]).push([[524],{20:function(e,t,n){const r=n(9377),{getResourceURLsForPathname:o,loadPage:a,loadPageSync:i}=n(6814).Zf;t.N=function(e,t,n,s){void 0===t&&(t={});let c=r.map(n=>{if(!n.plugin[e])return;t.getResourceURLsForPathname=o,t.loadPage=a,t.loadPageSync=i;const r=n.plugin[e](t,n.options);return r&&s&&(t=s({args:t,result:r,plugin:n})),r});return c=c.filter(e=>void 0!==e),c.length>0?c:n?[n]:[]},t.v=(e,t,n)=>r.reduce((n,r)=>r.plugin[e]?n.then(()=>r.plugin[e](t,r.options)):n,Promise.resolve())},173:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=i(n(6540)),a=i(n(5303));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){return o.default.createElement("button",this.props,this.props.children)}}]),t}(o.default.Component);t.default=(0,a.default)(s)},311:function(e){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,i,s],u=0;(c=new Error(t.replace(/%s/g,function(){return l[u++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},626:function(e,t,n){"use strict";n.r(t);var r=n(20);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then(function(e){e.addEventListener("updatefound",()=>{(0,r.N)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.N)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.N)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.N)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,r.N)("onServiceWorkerActive",{serviceWorker:e})}})})}).catch(function(e){console.error("Error during service worker registration:",e)})},649:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=s(n(2906)),a=s(n(7384)),i=s(n(1290));function s(e){return e&&e.__esModule?e:{default:e}}var c={},l=void 0;t.default={unmount:function(){c={}},register:function(e,t){c[e]=t},unregister:function(e){delete c[e]},get:function(e){return c[e]||document.getElementById(e)||document.getElementsByName(e)[0]||document.getElementsByClassName(e)[0]},setActiveLink:function(e){return l=e},getActiveLink:function(){return l},scrollTo:function(e,t){var n=this.get(e);if(n){var s=(t=r({},t,{absolute:!1})).containerId,c=t.container,l=void 0;l=s?document.getElementById(s):c&&c.nodeType?c:document,t.absolute=!0;var u=t.horizontal,d=o.default.scrollOffset(l,n,u)+(t.offset||0);if(!t.smooth)return i.default.registered.begin&&i.default.registered.begin(e,n),l===document?t.horizontal?window.scrollTo(d,0):window.scrollTo(0,d):l.scrollTop=d,void(i.default.registered.end&&i.default.registered.end(e,n));a.default.animateTopScroll(d,t,e,n)}else console.warn("target Element not found")}}},700:function(e,t){t.U=()=>""},951:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var r=n(3999),o=["mousedown","wheel","touchmove","keydown"];t.default={subscribe:function(e){return"undefined"!=typeof document&&o.forEach(function(t){return(0,r.addPassiveEventListener)(document,t,e)})}}},963:function(e,t,n){"use strict";n.r(t);var r=n(6540),o=n(6814),a=n(8428);t.default=e=>{let{location:t}=e;const n=o.Ay.loadPageSync(t.pathname);return n?r.createElement(a.A,{location:t,pageResources:n,...n.json}):null}},1038:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=n(6540),l=(n(961),n(2906),n(4177)),u=n(649),d=n(5556),p=n(3367),f={to:d.string.isRequired,containerId:d.string,container:d.object,activeClass:d.string,spy:d.bool,smooth:d.oneOfType([d.bool,d.string]),offset:d.number,delay:d.number,isDynamic:d.bool,onClick:d.func,duration:d.oneOfType([d.number,d.func]),absolute:d.bool,onSetActive:d.func,onSetInactive:d.func,ignoreCancelEvents:d.bool,hashSpy:d.bool,spyThrottle:d.number},h={Scroll:function(e,t){console.warn("Helpers.Scroll is deprecated since v1.7.0");var n=t||u,d=function(t){function u(e){a(this,u);var t=i(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,e));return h.call(t),t.state={active:!1},t}return s(u,t),o(u,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();l.isMounted(e)||l.mount(e,this.props.spyThrottle),this.props.hashSpy&&(p.isMounted()||p.mount(n),p.mapContainer(this.props.to,e)),this.props.spy&&l.addStateHandler(this.stateHandler),l.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){l.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n=r({},this.props);for(var o in f)n.hasOwnProperty(o)&&delete n[o];return n.className=t,n.onClick=this.handleClick,c.createElement(e,n)}}]),u}(c.Component),h=function(){var e=this;this.scrollTo=function(t,o){n.scrollTo(t,r({},e.state,o))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.stateHandler=function(){n.getActiveLink()!==e.props.to&&(null!==e.state&&e.state.active&&e.props.onSetInactive&&e.props.onSetInactive(),e.setState({active:!1}))},this.spyHandler=function(t){var r=e.getScrollSpyContainer();if(!p.isMounted()||p.isInitialized()){var o=e.props.to,a=null,i=0,s=0,c=0;if(r.getBoundingClientRect)c=r.getBoundingClientRect().top;if(!a||e.props.isDynamic){if(!(a=n.get(o)))return;var u=a.getBoundingClientRect();s=(i=u.top-c+t)+u.height}var d=t-e.props.offset,f=d>=Math.floor(i)&&d<Math.floor(s),h=d<Math.floor(i)||d>=Math.floor(s),m=n.getActiveLink();return h?(o===m&&n.setActiveLink(void 0),e.props.hashSpy&&p.getHash()===o&&p.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive()),l.updateStates()):f&&m!==o?(n.setActiveLink(o),e.props.hashSpy&&p.changeHash(o),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(o)),l.updateStates()):void 0}}};return d.propTypes=f,d.defaultProps={offset:0},d},Element:function(e){console.warn("Helpers.Element is deprecated since v1.7.0");var t=function(t){function n(e){a(this,n);var t=i(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}
1return s(n,t),o(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;u.unregister(this.props.name)}},{key:"registerElems",value:function(e){u.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return c.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(c.Component);return t.propTypes={name:d.string,id:d.string},t}};e.exports=h},1290:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={registered:{},scrollEvent:{register:function(e,t){n.registered[e]=t},remove:function(e){n.registered[e]=null}}};t.default=n},2024:function(e,t,n){"use strict";n.d(t,{Jr:function(){return i},dd:function(){return o},hr:function(){return s},j$:function(){return a}});var r=n(6540);const o=r.createContext({}),a=r.createContext({}),i=r.createContext({}),s=r.createContext({})},2176:function(e,t,n){"use strict";function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(r=function(){return!!e})()}n.d(t,{A:function(){return r}})},2311:function(e,t,n){"use strict";t.__esModule=!0,t.onInitialClientRender=void 0;n(5535),n(9300);t.onInitialClientRender=()=>{}},2475:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},2549:function(e,t,n){var r;e.exports=(r=n(963))&&r.default||r},2906:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){for(var n=e.offsetTop,r=e.offsetParent;r&&!t(r);)n+=r.offsetTop,r=r.offsetParent;return{offsetTop:n,offsetParent:r}};t.default={updateHash:function(e,t){var n=0===e.indexOf("#")?e.substring(1):e,r=n?"#"+n:"",o=window&&window.location,a=r?o.pathname+o.search+r:o.pathname+o.search;t?history.pushState(history.state,"",a):history.replaceState(history.state,"",a)},getHash:function(){return window.location.hash.replace(/^#/,"")},filterElementInContainer:function(e){return function(t){return e.contains?e!=t&&e.contains(t):!!(16&e.compareDocumentPosition(t))}},scrollOffset:function(e,t,r){if(r)return e===document?t.getBoundingClientRect().left+(window.scrollX||window.pageXOffset):"static"!==getComputedStyle(e).position?t.offsetLeft:t.offsetLeft-e.offsetLeft;if(e===document)return t.getBoundingClientRect().top+(window.scrollY||window.pageYOffset);if("static"!==getComputedStyle(e).position){if(t.offsetParent!==e){var o=n(t,function(t){return t===e||t===document}),a=o.offsetTop;if(o.offsetParent!==e)throw new Error("Seems containerElement is not an ancestor of the Element");return a}return t.offsetTop}if(t.offsetParent===e.offsetParent)return t.offsetTop-e.offsetTop;var i=function(e){return e===document};return n(t,i).offsetTop-n(e,i).offsetTop}}},3145:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:function(){return r}})},3215:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=r(n(2475)),a=r(n(6221)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(6540)),s=r(n(5556)),c=n(4351);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}var u=i.createContext(new c.SessionStorage);t.ScrollContext=u,u.displayName="GatsbyScrollContext";var d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._stateStorage=new c.SessionStorage,t._isTicking=!1,t._latestKnownScrollY=0,t.scrollListener=function(){t._latestKnownScrollY=window.scrollY,t._isTicking||(t._isTicking=!0,requestAnimationFrame(t._saveScroll.bind((0,o.default)(t))))},t.windowScroll=function(e,n){t.shouldUpdateScroll(n,t.props)&&window.scrollTo(0,e)},t.scrollToHash=function(e,n){var r=document.getElementById(e.substring(1));r&&t.shouldUpdateScroll(n,t.props)&&r.scrollIntoView()},t.shouldUpdateScroll=function(e,n){var r=t.props.shouldUpdateScroll;return!r||r.call((0,o.default)(t),e,n)},t}(0,a.default)(t,e);var n=t.prototype;return n._saveScroll=function(){var e=this.props.location.key||null;e&&this._stateStorage.save(this.props.location,e,this._latestKnownScrollY),this._isTicking=!1},n.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,n=t.key,r=t.hash;n&&(e=this._stateStorage.read(this.props.location,n)),r?this.scrollToHash(decodeURI(r),void 0):e&&this.windowScroll(e,void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(e){var t,n=this.props.location,r=n.hash,o=n.key;o&&(t=this._stateStorage.read(this.props.location,o)),r?this.scrollToHash(decodeURI(r),e):this.windowScroll(t,e)},n.render=function(){return i.createElement(u.Provider,{value:this._stateStorage},this.props.children)},t}(i.Component);t.ScrollHandler=d,d.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},3309:function(e,t){"use strict";t.__esModule=!0,t.getForwards=function(e){return null==e?void 0:e.flatMap(e=>(null==e?void 0:e.forward)||[])}},3367:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});n(3999);var r,o=n(2906),a=(r=o)&&r.__esModule?r:{default:r};var i={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(e){this.scroller=e,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(e,t){this.containers[e]=t},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var e=this,t=this.getHash();t?window.setTimeout(function(){e.scrollTo(t,!0),e.initialized=!0},10):this.initialized=!0},scrollTo:function(e,t){var n=this.scroller;if(n.get(e)&&(t||e!==n.getActiveLink())){var r=this.containers[e]||document;n.scrollTo(e,{container:r})}},getHash:function(){return a.default.getHash()},changeHash:function(e,t){this.isInitialized()&&a.default.getHash()!==e&&a.default.updateHash(e,t)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}};t.default=i},3662:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:function(){return r}})},3721:function(e,t,n){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,a.useLocation)(),n=(0,o.useContext)(r.ScrollContext),i=(0,o.useRef)(null);return(0,o.useLayoutEffect)(function(){if(i.current){var r=n.read(t,e);i.current.scrollTo(0,r||0)}},[t.key]),{ref:i,onScroll:function(){i.current&&n.save(t,e,i.current.scrollTop)}}};
1var r=n(3215),o=n(6540),a=n(6462)},3819:function(e){"use strict";e.exports=JSON.parse('{"layout":"constrained","backgroundColor":"#080808","images":{"fallback":{"src":"/static/e75ebdaf368aee619f065bb67ff0fd96/283fe/logo.png","srcSet":"/static/e75ebdaf368aee619f065bb67ff0fd96/1a671/logo.png 73w,\\n/static/e75ebdaf368aee619f065bb67ff0fd96/b9e68/logo.png 146w,\\n/static/e75ebdaf368aee619f065bb67ff0fd96/283fe/logo.png 292w","sizes":"(min-width: 292px) 292px, 100vw"},"sources":[{"srcSet":"/static/e75ebdaf368aee619f065bb67ff0fd96/e0be4/logo.avif 73w,\\n/static/e75ebdaf368aee619f065bb67ff0fd96/b525d/logo.avif 146w,\\n/static/e75ebdaf368aee619f065bb67ff0fd96/9de1b/logo.avif 292w","type":"image/avif","sizes":"(min-width: 292px) 292px, 100vw"},{"srcSet":"/static/e75ebdaf368aee619f065bb67ff0fd96/3a2c6/logo.webp 73w,\\n/static/e75ebdaf368aee619f065bb67ff0fd96/1ada6/logo.webp 146w,\\n/static/e75ebdaf368aee619f065bb67ff0fd96/863f1/logo.webp 292w","type":"image/webp","sizes":"(min-width: 292px) 292px, 100vw"}]},"width":292,"height":120.00000000000001}')},3845:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=c(n(6540)),i=c(n(9679)),s=c(n(5556));function c(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"render",value:function(){var e=this,t=r({},this.props);return delete t.name,t.parentBindings&&delete t.parentBindings,a.default.createElement("div",r({},t,{ref:function(t){e.props.parentBindings.domNode=t}}),this.props.children)}}]),t}(a.default.Component);l.propTypes={name:s.default.string,id:s.default.string},t.default=(0,i.default)(l)},3954:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:function(){return r}})},3999:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.addPassiveEventListener=function(e,t,r){var o=r.name;o||(o=t,console.warn("Listener must be a named function.")),n.has(t)||n.set(t,new Set);var a=n.get(t);if(!a.has(o)){var i=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(n){}return e}();e.addEventListener(t,r,!!i&&{passive:!0}),a.add(o)}},t.removePassiveEventListener=function(e,t,r){e.removeEventListener(t,r),n.get(t).delete(r.name||t)};var n=new Map},4177:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(5858),a=(r=o)&&r.__esModule?r:{default:r},i=n(3999);var s={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(e,t){if(e){var n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:66;return(0,a.default)(e,t)}(function(t){s.scrollHandler(e)},t);return s.scrollSpyContainers.push(e),(0,i.addPassiveEventListener)(e,"scroll",n),function(){(0,i.removePassiveEventListener)(e,"scroll",n),s.scrollSpyContainers.splice(s.scrollSpyContainers.indexOf(e),1)}}return function(){}},isMounted:function(e){return-1!==s.scrollSpyContainers.indexOf(e)},currentPositionX:function(e){if(e===document){var t=void 0!==window.scrollY,n="CSS1Compat"===(document.compatMode||"");return t?window.scrollX:n?document.documentElement.scrollLeft:document.body.scrollLeft}return e.scrollLeft},currentPositionY:function(e){if(e===document){var t=void 0!==window.scrollX,n="CSS1Compat"===(document.compatMode||"");return t?window.scrollY:n?document.documentElement.scrollTop:document.body.scrollTop}return e.scrollTop},scrollHandler:function(e){(s.scrollSpyContainers[s.scrollSpyContainers.indexOf(e)].spyCallbacks||[]).forEac
1h(function(t){return t(s.currentPositionX(e),s.currentPositionY(e))})},addStateHandler:function(e){s.spySetState.push(e)},addSpyHandler:function(e,t){var n=s.scrollSpyContainers[s.scrollSpyContainers.indexOf(t)];n.spyCallbacks||(n.spyCallbacks=[]),n.spyCallbacks.push(e)},updateStates:function(){s.spySetState.forEach(function(e){return e()})},unmount:function(e,t){s.scrollSpyContainers.forEach(function(e){return e.spyCallbacks&&e.spyCallbacks.length&&e.spyCallbacks.indexOf(t)>-1&&e.spyCallbacks.splice(e.spyCallbacks.indexOf(t),1)}),s.spySetState&&s.spySetState.length&&s.spySetState.indexOf(e)>-1&&s.spySetState.splice(s.spySetState.indexOf(e),1),document.removeEventListener("scroll",s.scrollHandler)},update:function(){return s.scrollSpyContainers.forEach(function(e){return s.scrollHandler(e)})}};t.default=s},4351:function(e,t){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var n="___GATSBY_REACT_ROUTER_SCROLL",r=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var r=this.getStateKey(e,t);try{var o=window.sessionStorage.getItem(r);return o?JSON.parse(o):0}catch(a){return window&&window[n]&&window[n][r]?window[n][r]:0}},t.save=function(e,t,r){var o=this.getStateKey(e,t),a=JSON.stringify(r);try{window.sessionStorage.setItem(o,a)}catch(i){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(a)}},t.getStateKey=function(e,t){var n="@@scroll|"+e.pathname;return null==t?n:n+"|"+t},e}();t.SessionStorage=r},4598:function(e,t,n){"use strict";var r=n(5268)},4656:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SCRIPT_TYPE="text/partytown",t.partytownSnippet=e=>((e,t)=>{const{forward:n=[],...r}=e||{},o=JSON.stringify(r,(e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t));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');",t].join("")})(e,'/* Partytown 0.7.6 - 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(f,1e4),e.addEventListener("pt0",w),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):f())))}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.7.6":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;n<s.length;n++)(r=e.createElement("script")).innerHTML=s[n].innerHTML,e.head.appendChild(r);c&&c.parentNode.removeChild(c)}function w(){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);')},4994:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},5147:function(e){"use strict";const t=/[\p{Lu}]/u,n=/[\p{Ll}]/u,r=/^[\p{Lu}](?![\p{Lu}])/gu,o=/([\p{Alpha}\p{N}_]|$)/u,a=/[_.\- ]+/,i=new RegExp("^"+a.source),s=new RegExp(a.source+o.source,"gu"),c=new RegExp("\\d+"+o.source,"gu"),l=(e,o)=>{if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");if(o={pascalCase:!1,preserveConsecutiveUppercase:!1,...o},0===(e=Array.isArray(e)?e.map(e=>e.trim()).filter(e=>e.length).join("-"):e.trim()).length)return"";const a=!1===o.locale?e=>e.toLowerCase():e=>e.toLocaleLowerCase(o.locale),l=!1===o.locale?e=>e.toUpperCase():e=>e.toLocaleUpperCase(o.locale);if(1===e.length)return o.pascalCase?l(e):a(e);return e!==a(e)&&(e=((e,r,o)=>{let a=!1,i=!1,s=!1;for(let c=0;c<e.length;c++){const l=e[c];a&&t.test(l)?(e=e.slice(0,c)+"-"+e.slice(c),a=!1,s=i,i=!0,c++):i&&s&&n.test(l)?(e=e.slice(0,c-1)+"-"+e.slice(c-1),s=i,i=!1,a=!0):(a=r(l)===l&&o(l)!==l,s=i,i=o(l)===l&&r(l)!==l)}return e})(e,a,l)),e=e.replace(i,""),e=o.preserveConsecutiveUppercase?((e,t)=>(r.lastIndex=0,e.replace(r,e=>t(e))))(e,a):a(e),o.pascalCase&&(e=l(e.charAt(0))+e.slice(1)),((e,t)=>(s.lastIndex=0,c.lastIndex=0,e.replace(s,(e,n)=>t(n)).replace(c,e=>t(e))))(e,l)};e.exports=l,e.exports.default=l},5268:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return s.N_},PageRenderer:function(){return a()},Script:function(){return S.Script},ScriptStrategy:function(){return S.ScriptStrategy},Slice:function(){return w},StaticQuery:function(){return c.de},StaticQueryContext:function(){return c.G},collectedScriptsByPage:function(){return S.collectedScriptsByPage},graphql:function(){return _},navigate:function(){return s.oo},parsePath:function(){return s.Rr},prefetchPathname:function(){return P},scriptCache:function(){return S.scriptCache},scriptCallbackCache:function(){return S.scriptCallbackCache},useScrollRestoration:function(){return i.RV},useStaticQuery:function(){return c.GR},withAssetPrefix:function(){return s.Zf},withPrefix:function(){return s.Fe}});var r=n(6814),o=n(2549),a=n.n(o),i=n(7035),s=n(7078),c=n(7231),l=n(7387),u=n(3954),d=n(3662);var p=n(2176);function f(e){var t="function"==typeof Map?new Map:void 0;return f=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if((0,p.A)())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&(0,d.A)(o,n.prototype),o}(e,arguments,(0,u.A)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,d.A)(n,e)},f(e)}var h=n(6540),m=n(700),g=n(2024);const v=e=>{let{sliceId:t,children:n}=e;const r=[h.createElement("slice-start",{id:`${t}-1`}),h.createElement("slice-end",{id:`${t}-1`})];return n&&(r.push(n),r.push(h.createElement("slice-start",{id:`${t}-2`}),h.createElement("slice-end",{id:`${t}-2`}))),r},y=e=>{let{sliceName:t,allowEmpty:n,children:r,...o}=e;const a=(0,h.useContext)(g.Jr),i=(0,h.useContext)(g.hr),s=a[t];if(!s){if(n)return null;throw new Error(`Slice "${s}" for "${t}" slot not found`)}const c=((e,t)=>Object.keys(t).length?`${e}-${(0,m.U)(t)}`:e)(s,o);let l=i[c];return l?r&&(l.hasChildren=!0):i[c]=l={props:o,sliceName:s,hasChildren:!!r},h.createElement(v,{sliceId:c},r)},b=e=>{let{sliceName:t,allowEmpty:n,children:r,...o}=e;const a=(0,h.useContext)(g.Jr),i=(0,h.useContext)(g.dd),s=a[t],c=i.get(s);if(!c){if(n)return null;throw new Error(`Slice "${s}" for "${t}" slot not found`)}return h.createElement(c.component,Object.assign({sliceContext:c.sliceContext,data:c.data},o),r)};function w(e){{const t={...e,sliceName:e.alias};delete t.alias,delete t.__renderedByLocation;const n=(0,h.useContext)(g.j$),r=C(e);if(Object.keys(r).length)throw new E("browser"===n.renderEnvironment,t.sliceName,r,e.__renderedByLocation);if("server"===n.renderEnvironment)return h.createElement(y,t);if("browser"===n.renderEnvironment)return h.createElement(b,t);if("engines"===n.renderEnvironment||"dev-ssr"===n.renderEnvironment)return h.createElement(b,t);if("slices"===n.renderEnvironment){let t="";try{t=`\n\nSlice component "${n.sliceRoot.name}" (${n.sliceRoot.componentPath}) tried to render <Slice alias="${e.alias}
1"/>`}catch{}throw new Error(`Nested slices are not supported.${t}\n\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices`)}throw new Error(`Slice context "${n.renderEnvironment}" is not supported.`)}}let E=function(e){function t(n,r,o,a){var i;const s=Object.entries(o).map(e=>{let[t,n]=e;return`not serializable "${n}" type passed to "${t}" prop`}).join(", "),c="SlicePropsError";let l="",u="";if(n){var d,p;let e="";if(h.captureOwnerStack){const t=h.captureOwnerStack(),n=(new Error).stack||"";e=t?`${n}\n${t}`:n}else e=null!==(d=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)&&void 0!==d&&null!==(p=d.ReactDebugCurrentFrame)&&void 0!==p&&p.getCurrentStack?h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack():(new Error).stack||"";const t=e.trim().split("\n").slice(1);t.length>0&&(t[0]=t[0].trim(),l="\n"+t.join("\n")),u=`Slice "${r}" was passed props that are not serializable (${s}).`}else{u=`${c}: Slice "${r}" was passed props that are not serializable (${s}).`;l=`${u}\n${(new Error).stack.trim().split("\n").slice(2).join("\n")}`}return(i=e.call(this,u)||this).name=c,l?i.stack=l:Error.captureStackTrace(i,t),a&&(i.forcedLocation={...a,functionName:"Slice"}),i}return(0,l.A)(t,e),t}(f(Error));const C=function(e,t,n,r){void 0===t&&(t={}),void 0===n&&(n=[]),void 0===r&&(r=null);for(const[o,a]of Object.entries(e)){if(null==a||!r&&"children"===o)continue;const e=r?`${r}.${o}`:o;"function"==typeof a?t[e]=typeof a:"object"==typeof a&&n.indexOf(a)<=0&&(n.push(a),C(a,t,n,e))}return t};var S=n(5535);const P=r.Ay.enqueue;function _(){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.")}},5303:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=u(n(6540)),i=u(n(4177)),s=u(n(649)),c=u(n(5556)),l=u(n(3367));function u(e){return e&&e.__esModule?e:{default:e}}var d={to:c.default.string.isRequired,containerId:c.default.string,container:c.default.object,activeClass:c.default.string,activeStyle:c.default.object,spy:c.default.bool,horizontal:c.default.bool,smooth:c.default.oneOfType([c.default.bool,c.default.string]),offset:c.default.number,delay:c.default.number,isDynamic:c.default.bool,onClick:c.default.func,duration:c.default.oneOfType([c.default.number,c.default.func]),absolute:c.default.bool,onSetActive:c.default.func,onSetInactive:c.default.func,ignoreCancelEvents:c.default.bool,hashSpy:c.default.bool,saveHashHistory:c.default.bool,spyThrottle:c.default.number};t.default=function(e,t){var n=t||s.default,c=function(t){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return u.call(t),t.state={active:!1},t.beforeUnmountCallbacks=[],t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,t),o(s,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e&&!t?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();if(!i.default.isMounted(e)){var t=i.default.mount(e,this.props.spyThrottle);
1this.beforeUnmountCallbacks.push(t)}this.props.hashSpy&&(l.default.isMounted()||l.default.mount(n),l.default.mapContainer(this.props.to,e)),i.default.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){i.default.unmount(this.stateHandler,this.spyHandler),this.beforeUnmountCallbacks.forEach(function(e){return e()})}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n={};n=this.state&&this.state.active?r({},this.props.style,this.props.activeStyle):r({},this.props.style);var o=r({},this.props);for(var i in d)o.hasOwnProperty(i)&&delete o[i];return o.className=t,o.style=n,o.onClick=this.handleClick,a.default.createElement(e,o)}}]),s}(a.default.PureComponent),u=function(){var e=this;this.scrollTo=function(t,o){n.scrollTo(t,r({},e.state,o))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.spyHandler=function(t,r){var o=e.getScrollSpyContainer();if(!l.default.isMounted()||l.default.isInitialized()){var a=e.props.horizontal,i=e.props.to,s=null,c=void 0,u=void 0;if(a){var d=0,p=0,f=0;if(o.getBoundingClientRect)f=o.getBoundingClientRect().left;if(!s||e.props.isDynamic){if(!(s=n.get(i)))return;var h=s.getBoundingClientRect();p=(d=h.left-f+t)+h.width}var m=t-e.props.offset;c=m>=Math.floor(d)&&m<Math.floor(p),u=m<Math.floor(d)||m>=Math.floor(p)}else{var g=0,v=0,y=0;if(o.getBoundingClientRect)y=o.getBoundingClientRect().top;if(!s||e.props.isDynamic){if(!(s=n.get(i)))return;var b=s.getBoundingClientRect();v=(g=b.top-y+r)+b.height}var w=r-e.props.offset;c=w>=Math.floor(g)&&w<Math.floor(v),u=w<Math.floor(g)||w>=Math.floor(v)}var E=n.getActiveLink();if(u){if(i===E&&n.setActiveLink(void 0),e.props.hashSpy&&l.default.getHash()===i){var C=e.props.saveHashHistory,S=void 0!==C&&C;l.default.changeHash("",S)}e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive(i,s))}if(c&&(E!==i||!1===e.state.active)){n.setActiveLink(i);var P=e.props.saveHashHistory,_=void 0!==P&&P;e.props.hashSpy&&l.default.changeHash(i,_),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(i,s))}}}};return c.propTypes=d,c.defaultProps={offset:0},c}},5458:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var r=n(3145);var o=n(7800);function a(e){return function(e){if(Array.isArray(e))return(0,r.A)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,o.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},5535:function(e,t,n){"use strict";n.r(t),n.d(t,{Script:function(){return h},ScriptStrategy:function(){return l},collectedScriptsByPage:function(){return s},scriptCache:function(){return p},scriptCallbackCache:function(){return f}});var r=n(6540),o=n(6462);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}const i=new Map,s={get:e=>i.get(e)||[],set(e,t){const n=i.get(e)||[];n.push(t),i.set(e,n)},delete(e){i.delete(e)}},c="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){const t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)};var l,u;(u=l||(l={})).postHydrate="post-hydrate",u.idle="idle",u.offMainThread="off-main-thread";const d=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),p=new Set,f=new Map;function h(e){return r.createElement(o.Location,null,()=>r.createElement(m,e))}function m(e){const{src:t,strategy:n=l.postHydrate}=e||{},{pathname:i}=(0,o.useLocation)();if((0,r.useEffect)(()=>{let t;switch(n){case l.postHydrate:t=g(e);break;case l.idle:c(()=>{t=g(e)});break;case l.offMainThread:{const t=y(e);s.set(i,t)}}return()=>{const{script:e,loadCallback:n,errorCallback:r}=t||{};n&&(null==e||e.removeEventListener("load",n)),r&&(null==e||e.removeEventListener("error",r)),null==e||e.remove()}},[]),n===l.offMainThread){const o=v(e),c=y(e);return"undefined"==typeof window&&s.set(i,c),r.createElement("script",o?a({type:"text/partytown","data-strategy":n,crossOrigin:"anonymous"},c,{dangerouslySetInnerHTML:{__html:v(e)}}):a({type:"text/partytown",src:b(t),"data-strategy":n,crossOrigin:"anonymous"},c))}return null}function g(e){const{id:t,src:n,strategy:r=l.postHydrate,onLoad:o,onError:i}=e||{},s=t||n,c=["load","error"],u={load:o,error:i};if(s){for(const e of c)if(null!=u&&u[e]){var d;const t=f.get(s)||{},{callbacks:n=[]}=(null==t?void 0:t[e])||{};var h,m;n.push(null==u?void 0:u[e]),null!=t&&null!=(d=t[e])&&d.event?null==u||null==(h=u[e])||h.call(u,null==t||null==(m
1=t[e])?void 0:m.event):f.set(s,a({},t,{[e]:{callbacks:n}}))}if(p.has(s))return null}const g=v(e),b=y(e),E=document.createElement("script");t&&(E.id=t),E.dataset.strategy=r;for(const[a,l]of Object.entries(b))E.setAttribute(a,l);g&&(E.textContent=g),n&&(E.src=n);const C={};if(s){for(const e of c){const t=t=>w(t,s,e);E.addEventListener(e,t),C[`${e}Callback`]=t}p.add(s)}return document.body.appendChild(E),{script:E,loadCallback:C.loadCallback,errorCallback:C.errorCallback}}function v(e){const{dangerouslySetInnerHTML:t,children:n=""}=e||{},{__html:r=""}=t||{};return r||n}function y(e){const t={};for(const[n,r]of Object.entries(e))d.has(n)||(t[n]=r);return t}function b(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function w(e,t,n){const r=f.get(t)||{};for(const a of(null==r||null==(o=r[n])?void 0:o.callbacks)||[]){var o;a(e)}f.set(t,{[n]:{event:e}})}},5588:function(e,t,n){"use strict";n.d(t,{G:function(){return M},L:function(){return h},M:function(){return C},P:function(){return E},S:function(){return U},_:function(){return s},a:function(){return i},b:function(){return u},g:function(){return d},h:function(){return c}});var r=n(6540),o=(n(5147),n(5556)),a=n.n(o);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}const c=()=>"undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype;function l(e,t,n){const r={};let o="gatsby-image-wrapper";return"fixed"===n?(r.width=e,r.height=t):"constrained"===n&&(o="gatsby-image-wrapper gatsby-image-wrapper-constrained"),{className:o,"data-gatsby-image-wrapper":"",style:r}}function u(e,t,n,r,o){return void 0===o&&(o={}),i({},n,{loading:r,shouldLoad:e,"data-main-image":"",style:i({},o,{opacity:t?1:0})})}function d(e,t,n,r,o,a,s,c){const l={};a&&(l.backgroundColor=a,"fixed"===n?(l.width=r,l.height=o,l.backgroundColor=a,l.position="relative"):("constrained"===n||"fullWidth"===n)&&(l.position="absolute",l.top=0,l.left=0,l.bottom=0,l.right=0)),s&&(l.objectFit=s),c&&(l.objectPosition=c);const u=i({},e,{"aria-hidden":!0,"data-placeholder-image":"",style:i({opacity:t?0:1,transition:"opacity 500ms linear"},l)});return u}const p=["children"],f=function(e){let{layout:t,width:n,height:o}=e;return"fullWidth"===t?r.createElement("div",{"aria-hidden":!0,style:{paddingTop:o/n*100+"%"}}):"constrained"===t?r.createElement("div",{style:{maxWidth:n,display:"block"}},r.createElement("img",{alt:"",role:"presentation","aria-hidden":"true",src:`data:image/svg+xml;charset=utf-8,%3Csvg%20height='${o}'%20width='${n}'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%3E%3C/svg%3E`,style:{maxWidth:"100%",display:"block",position:"static"}})):null},h=function(e){let{children:t}=e,n=s(e,p);return r.createElement(r.Fragment,null,r.createElement(f,i({},n)),t,null)},m=["src","srcSet","loading","alt","shouldLoad"],g=["fallback","sources","shouldLoad"],v=function(e){let{src:t,srcSet:n,loading:o,alt:a="",shouldLoad:c}=e,l=s(e,m);return r.createElement("img",i({},l,{decoding:"async",loading:o,src:c?t:void 0,"data-src":c?void 0:t,srcSet:c?n:void 0,"data-srcset":c?void 0:n,alt:a}))},y=function(e){let{fallback:t,sources:n=[],shouldLoad:o=!0}=e,a=s(e,g);const c=a.sizes||(null==t?void 0:t.sizes),l=r.createElement(v,i({},a,t,{sizes:c,shouldLoad:o}));return n.length?r.createElement("picture",null,n.map(e=>{let{media:t,srcSet:n,type:a}=e;return r.createElement("source",{key:`${t}-${a}-${n}`,type:a,media:t,srcSet:o?n:void 0,"data-srcset":o?void 0:n,sizes:c})}),l):l};var b;v.propTypes={src:o.string.isRequired,alt:o.string.isRequired,sizes:o.string,srcSet:o.string,shouldLoad:o.bool},y.displayName="Picture",y.propTypes={alt:o.string.isRequired,shouldLoad:o.bool,fallback:o.exact({src:o.string.isRequired,srcSet:o.string,sizes:o.string}),sources:o.arrayOf(o.oneOfType([o.exact({media:o.string.isRequired,type:o.str
1ing,sizes:o.string,srcSet:o.string.isRequired}),o.exact({media:o.string,type:o.string.isRequired,sizes:o.string,srcSet:o.string.isRequired})]))};const w=["fallback"],E=function(e){let{fallback:t}=e,n=s(e,w);return t?r.createElement(y,i({},n,{fallback:{src:t},"aria-hidden":!0,alt:""})):r.createElement("div",i({},n))};E.displayName="Placeholder",E.propTypes={fallback:o.string,sources:null==(b=y.propTypes)?void 0:b.sources,alt:function(e,t,n){return e[t]?new Error(`Invalid prop \`${t}\` supplied to \`${n}\`. Validation failed.`):null}};const C=function(e){return r.createElement(r.Fragment,null,r.createElement(y,i({},e)),r.createElement("noscript",null,r.createElement(y,i({},e,{shouldLoad:!0}))))};C.displayName="MainImage",C.propTypes=y.propTypes;const S=["as","className","class","style","image","loading","imgClassName","imgStyle","backgroundColor","objectFit","objectPosition"],P=["style","className"],_=e=>e.replace(/\n/g,""),O=function(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];return e.alt||""===e.alt?a().string.apply(a(),[e,t,n].concat(o)):new Error(`The "alt" prop is required in ${n}. If the image is purely presentational then pass an empty string: e.g. alt="". Learn more: https://a11y-style-guide.com/style-guide/section-media.html`)},k={image:a().object.isRequired,alt:O},R=["as","image","style","backgroundColor","className","class","onStartLoad","onLoad","onError"],T=["style","className"],j=new Set;let x,N;const L=function(e){let{as:t="div",image:o,style:a,backgroundColor:u,className:d,class:p,onStartLoad:f,onLoad:h,onError:m}=e,g=s(e,R);const{width:v,height:y,layout:b}=o,w=l(v,y,b),{style:E,className:C}=w,S=s(w,T),P=(0,r.useRef)(),_=(0,r.useMemo)(()=>JSON.stringify(o.images),[o.images]);p&&(d=p);const O=function(e,t,n){let r="";return"fullWidth"===e&&(r=`<div aria-hidden="true" style="padding-top: ${n/t*100}%;"></div>`),"constrained"===e&&(r=`<div style="max-width: ${t}px; display: block;"><img alt="" role="presentation" aria-hidden="true" src="data:image/svg+xml;charset=utf-8,%3Csvg%20height='${n}'%20width='${t}'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%3E%3C/svg%3E" style="max-width: 100%; display: block; position: static;"></div>`),r}(b,v,y),k=(0,r.useMemo)(()=>({__html:O}),[O]);return(0,r.useEffect)(()=>{x||(x=n.e(551).then(n.bind(n,551)).then(e=>{let{renderImageToString:t,swapPlaceholderImage:n}=e;return N=t,{renderImageToString:t,swapPlaceholderImage:n}}));const e=P.current.querySelector("[data-gatsby-image-ssr]");if(e&&c())return e.complete?(null==f||f({wasCached:!0}),null==h||h({wasCached:!0}),setTimeout(()=>{e.removeAttribute("data-gatsby-image-ssr")},0)):(null==f||f({wasCached:!0}),e.addEventListener("load",function t(){e.removeEventListener("load",t),null==h||h({wasCached:!0}),setTimeout(()=>{e.removeAttribute("data-gatsby-image-ssr")},0)})),void j.add(_);if(N&&j.has(_))return;let t,r;return x.then(e=>{let{renderImageToString:n,swapPlaceholderImage:s}=e;P.current&&(P.current.innerHTML=n(i({isLoading:!0,isLoaded:j.has(_),image:o},g)),j.has(_)||(t=requestAnimationFrame(()=>{P.current&&(r=s(P.current,_,j,a,f,h,m))})))}),()=>{t&&cancelAnimationFrame(t),r&&r()}},[o]),(0,r.useLayoutEffect)(()=>{j.has(_)&&N&&(P.current.innerHTML=N(i({isLoading:j.has(_),isLoaded:j.has(_),image:o},g)),null==f||f({wasCached:!0}),null==h||h({wasCached:!0}))},[o]),(0,r.createElement)(t,i({},S,{style:i({},E,a,{backgroundColor:u}),className:`${C}${d?` ${d}`:""}`,ref:P,dangerouslySetInnerHTML:k,suppressHydrationWarning:!0}))},M=(0,r.memo)(function(e){return e.image?(0,r.createElement)(L,e):null});M.propTypes=k,M.displayName="GatsbyImage";const A=["src","__imageData","__error","width","height","aspectRatio","tracedSVGOptions","placeholder","formats","quality","transformOptions","jpgOptions","pngOptions","webpOptions","avifOptions","blurredOptions","breakpoints","outputPixelDensities"];function H(e){return function(t){let{src:n,__imageData:o,__error:a}=t,c=s(t,A);return a&&console.warn(a),o?r.createElement(e,i({image:o},c)):(console.warn("Image not loaded",n),null)}}const D=H(function(e){let{as:t="div",className:n,class:o,style:a,image:c,loading:p="lazy",imgClassName:f,imgStyle:m,backgroundColor:g,objectFit:v,objectPosition:y}=e,b=s(e,S);if(!c)return console.warn("[gatsby-plugin-image] Missing image prop"),null;o&&(n=o),m=i({objectFit:v,objectPosition:y,backgroundColor:g},m);const{width:w,height:O,layout:k,images:R,placeholder:T,backgroundColor:j}=c,x=l(w,O,k),{style:N,className:L}=x,M=s(x,P),A={fallback:void 0,sources:[]};return R.fallback&&(A.fallback=i({},R.fallback,{srcSet:R.fallback.srcSet?_(R.fallback.srcSet):void 0})),R.sources&&(A.sources=R.sources.map(e=>i({},e,{srcSet:_(e.srcSet)}))),r.createElement(t,i({},M,{style:i({},N,a,{backgroundColor:g}),className:`${L}${n?` ${n}`:""}`}),r.createElement(h,{layout:k,width:w,height:O},r.createElement(E,i({},d(T,!1,k,w,O,j,v,y))),r.createElement(C,i({"data-gatsby-image-ssr":"",className:f},b,u("eager"===p,!1,A,p,m)))))}),I=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return"fullWidth"!==e.layout||"width"!==t&&"height"!==t||!e[t]?a().number.apply(a(),[e,t].concat(r)):new Error(`"${t}" ${e[t]} may not be passed when layout is fullWidth.`)},$=new Set(["fixed","fullWidth","constrained"]),W={src:a().string.isRequired,alt:O,width:I,height:I,sizes:a().string,layout:e=>{if(void 0!==e.layout&&!$.has(e.layout))return new Error(`Invalid value ${e.layout}" provided for prop "layout". Defaulting to "constrained". Valid values are "fixed", "fullWidth" or "constrained".`)}};D.displayName="StaticImage",D.propTypes=W;const U=H(M);U.displayName="StaticImage",U.propTypes=W},5636:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},5662:function(e,t,n){"use strict";n.r(t),n.d(t,{onClientEntry:function(){return f},wrapPageElement:function(){return h}});var r=n(6540),o=n(5588),a=n(6462),i=n(5268),s=n(6848);var c=function(e){let{children:t,offset:n,to:o,onClick:a}=e;const c={activeClass:"current",spy:!0,smooth:!0,duration:1e3,offset:null!=n?n:-78,onClick:a};return o&&o.startsWith("#")?r.createElement(s.N_,Object.assign({},c,{to:o.slice(1)}),t):r.createElement(i.Link,{to:o,onClick:a},t)};var l=function(){const{0:e,1:t}=(0,r.useState)(!1),{0:l,1:u}=(0,r.useState)(!1),d=(0,a.useLocation)(),{pathname:p,search:f}=d,h=p.startsWith("/uk"),m=p.startsWith("/plumbers"),g=h?"/uk":"",v=h?"/uk":"/",y="/"===p,b=e=>h&&"/uk"===p||y&&!m||m&&"/plumbers"===p?`#${e}`:m?`/plumbers?section=${e}`:h?`/uk?section=${e}`:`/?section=${e}`;(0,r.useEffect)(()=>{let e=!1;const t=()=>{e||(e=!0,window.requestAnimationFrame(()=>{u(window.pageYOffset>450),e=!1}))};return document.addEventListener("scroll",t,{passive:!0}),()=>{document.removeEventListener("scroll",t)}},[]),(0,r.useEffect)(()=>
1{if(f){const e=f.split("?section=")[1];e&&s.XG.scrollTo(e,{duration:1e3,delay:0,offset:-78,smooth:"easeInOutQuart"})}},[f]);const w=()=>{t(!1)};return(0,r.useEffect)(()=>{w()},[p]),r.createElement("header",{className:"header"},r.createElement("nav",{className:"navbar navbar-default navbar-fixed-top "+(l?"opaque":"")},r.createElement("div",{className:"container"},r.createElement("nav",{className:"navbar navbar-expand-lg"},r.createElement(i.Link,{className:"navbar-brand",to:v},r.createElement(o.S,{className:"logo",src:"../../images/logo.png",alt:"timesheet logo",__imageData:n(3819)})),r.createElement("button",{className:"navbar-toggler collapsed",type:"button","data-toggle":"collapse","data-target":"#navbarCollapse","aria-controls":"navbarCollapse","aria-expanded":"false","aria-label":"Toggle navigation",onClick:()=>{t(!e)}},r.createElement("span",{className:"navbar-toggler-icon"},r.createElement("i",{className:"fas fa-bars"}))),r.createElement("div",{className:"navbar-collapse collapse "+(e?"show":"hide"),id:"navbarCollapse"},r.createElement("ul",{className:"navbar-nav ml-auto"},r.createElement("li",null,r.createElement(c,{onClick:w,to:b("home")},"Home")),r.createElement("li",null,r.createElement(c,{onClick:w,to:b("how-it-works")},"How it Works")),r.createElement("li",null,r.createElement(c,{onClick:w,to:b("pricing")},"Pricing")),r.createElement("li",null,r.createElement(c,{onClick:w,to:b("features")},"Features")),r.createElement("li",null,r.createElement(c,{onClick:w,to:b("contact")},"Contact")),r.createElement("li",null,r.createElement("div",{className:"separator"})),r.createElement("li",null,r.createElement(i.Link,{activeClassName:"current",to:`${g}/blog`},"Blog")),r.createElement("li",null,r.createElement(i.Link,{activeClassName:"current",to:`${g}/tutorials`},"Tutorials")),r.createElement("li",{className:"discover-link"},r.createElement("a",{href:"https://app.timesheet.global/login",className:"external discover-btn"},"Sign In")),r.createElement("li",{className:"discover-link"},r.createElement("a",{href:"https://app.timesheet.global/signup",className:"external discover-btn sign-up-btn"},"Sign Up"))))))))};var u=function(){return r.createElement("footer",null,r.createElement("div",{className:"container"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col-md-12 text-center"},r.createElement("p",null,"Copyright © 2023 TimeSheet.")))))};var d=function(e){let{children:t}=e;return r.createElement(r.Fragment,null,r.createElement(l,null),r.createElement("main",null,t),r.createElement(u,null))};const p=()=>{if("undefined"==typeof window||window.__gtmLoaded)return;window.__gtmLoaded=!0,window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":Date.now(),event:"gtm.js",platform:"gatsby"});const e=document.createElement("script");e.async=!0,e.src="https://www.googletagmanager.com/gtm.js?id=GTM-PSCNPBG",document.head.appendChild(e)},f=()=>{const e=()=>{p(),window.removeEventListener("scroll",e,t),window.removeEventListener("pointerdown",e,t),window.removeEventListener("keydown",e,t),window.removeEventListener("touchstart",e,t)},t={passive:!0,once:!0};window.addEventListener("scroll",e,t),window.addEventListener("pointerdown",e,t),window.addEventListener("keydown",e,t),window.addEventListener("touchstart",e,t),window.setTimeout(p,8e3)},h=e=>{let{element:t,props:n}=e;return r.createElement(d,n,t)}},5858:function(e,t,n){var r="Expected a function",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,d=l||u||Function("return this")(),p=Object.prototype.toString,f=Math.max,h=Math.min,m=function(){return d.Date.now()};function g(e,t,n){var o,a,i,s,c,l,u=0,d=!1,p=!1,g=!0;if("function"!=typeof e)throw new TypeError(r);function b(t){var n=o,r=a;return o=a=void 0,u=t,s=e.apply(r,n)}function w(e){var n=e-l;return void 0===l||n>=t||n<0||p&&e-u>=i}function E(){var e=m();if(w(e))return C(e);c=setTimeout(E,function(e){var n=t-(e-l);return p?h(n,i-(e-u)):n}(e))}function C(e){return c=void 0,g&&o?b(e):(o=a=void 0,s)}function S(){var e=m(),n=w(e);if(o=arguments,a=this,l=e,n){if(void 0===c)return function(e){return u=e,c=setTimeout(E,t),d?b(e):s}(l);if(p)return c=setTimeout(E,t),b(l)}return void 0===c&&(c=setTimeout(E,t)),s}return t=y(t)||0,v(n)&&(d=!!n.leading,i=(p="maxWait"in n)?f(y(n.maxWait)||0,t):i,g="trailing"in n?!!n.trailing:g),S.cancel=function(){void 0!==c&&clearTimeout(c),u=0,o=l=a=c=void 0},S.flush=function(){return void 0===c?s:C(m())},S}function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==p.call(e)}(e))return NaN;if(v(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=i.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}e.exports=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError(r);return v(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),g(e,t,{leading:o,maxWait:t,trailing:a})}},6221:function(e,t,n){var r=n(5636);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},6395:function(e,t){"use strict";t.T=void 0;const n=[".html",".json",".js",".map",".txt",".xml",".pdf"];t.T=(e,t="always")=>{if("/"===e)return e;const r=e.endsWith("/");return((e,t)=>{for(const n of e)if(t.endsWith(n))return!0;return!1})(n,e)?e:"always"===t?r?e:`${e}/`:"never"===t&&r?e.slice(0,-1):e}},6462:function(e,t,n){"use strict";var r;n.r(t),n.d(t,{BaseContext:function(){return g},Link:function(){return J},Location:function(){return K},LocationContext:function(){return v},LocationProvider:function(){return V},Match:function(){return ee},Redirect:function(){return P},Router:function(){return se},ServerLocation:function(){return Z},createHistory:function(){return u},createMemorySource:function(){return d},globalHistory:function(){return f},insertParams:function(){return T},isRedirect:function(){return E},match:function(){return k},navigate:function(){return h},pick:function(){return O},redirectTo:function(){return C},resolve:function(){return R},shallowCompare:function(){return $},startsWith:function(){return _},useBaseContext:function(){return y}
1,useLocation:function(){return le},useLocationContext:function(){return b},useMatch:function(){return pe},useNavigate:function(){return ue},useParams:function(){return de},validateRedirect:function(){return j}});var o=n(6540),a=n(5556),i=n(311);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}const l=e=>{const{search:t,hash:n,href:r,origin:o,protocol:a,host:i,hostname:s,port:c}=e.location;let{pathname:l}=e.location;return!l&&r&&p&&(l=new URL(r).pathname),{pathname:encodeURI(decodeURI(l)),search:t,hash:n,href:r,origin:o,protocol:a,host:i,hostname:s,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},u=(e,t)=>{let n=[],r=l(e),o=!1,a=()=>{};return{get location(){return r},get transitioning(){return o},_onTransitionComplete(){o=!1,a()},listen(t){n.push(t);const o=()=>{r=l(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),n=n.filter(e=>e!==t)}},navigate(t,{state:i,replace:c=!1}={}){if("number"==typeof t)e.history.go(t);else{i=s({},i,{key:Date.now()+""});try{o||c?e.history.replaceState(i,null,t):e.history.pushState(i,null,t)}catch(n){e.location[c?"replace":"assign"](t)}}r=l(e),o=!0;const u=new Promise(e=>a=e);return n.forEach(e=>e({location:r,action:"PUSH"})),u}}},d=(e="/")=>{const t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let r=0;const o=[n],a=[null];return{get location(){return o[r]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState(e,t,n){const[i,s=""]=n.split("?");r++,o.push({pathname:i,search:s.length?`?${s}`:s}),a.push(e)},replaceState(e,t,n){const[i,s=""]=n.split("?");o[r]={pathname:i,search:s},a[r]=e},go(e){const t=r+e;t<0||t>a.length-1||(r=t)}}}},p=!("undefined"==typeof window||!window.document||!window.document.createElement),f=u(p?window:d()),{navigate:h}=f;function m(e,t){return o.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=o.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(e,t):o.createContext(t)}const g=m("Base",{baseuri:"/",basepath:"/"}),v=m("Location"),y=()=>o.useContext(g),b=()=>o.useContext(v);function w(e){this.uri=e}const E=e=>e instanceof w,C=e=>{throw new w(e)};function S(e){const{to:t,replace:n=!0,state:r,noThrow:a,baseuri:i}=e;o.useEffect(()=>{Promise.resolve().then(()=>{const o=R(t,i);h(T(o,e),{replace:n,state:r})})},[]);const s=R(t,i);return a||C(T(s,e)),null}const P=e=>{const t=b(),{baseuri:n}=y();return o.createElement(S,s({},t,{baseuri:n},e))};P.propTypes={from:a.string,to:a.string.isRequired};const _=(e,t)=>e.substr(0,t.length)===t,O=(e,t)=>{let n,r;const[o]=t.split("?"),a=H(o),s=""===a[0],c=A(e);for(let l=0,u=c.length;l<u;l++){let e=!1;const o=c[l].route;if(o.default){r={route:o,params:{},uri:t};continue}const u=H(o.path),d={},p=Math.max(a.length,u.length);let f=0;for(;f<p;f++){const t=u[f],n=a[f];if(L(t)){d[t.slice(1)||"*"]=a.slice(f).map(decodeURIComponent).join("/");break}if(void 0===n){e=!0;break}const r=x.exec(t);if(r&&!s){const e=-1===I.indexOf(r[1]);i(e,`<Router> dynamic segment "${r[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const t=decodeURIComponent(n);d[r[1]]=t}else if(t!==n){e=!0;break}}if(!e){n={route:o,params:d,uri:"/"+a.slice(0,f).join("/")};break}}return n||r||null},k=(e,t)=>O([{path:e}],t),R=(e,t)=>{if(_(e,"/"))return e;const[n,r]=e.split("?"),[o]=t.split("?"),a=H(n),i=H(o);if(""===a[0])return D(o,r);if(!_(a[0],".")){const e=i.concat(a).join("/");return D(("/"===o?"":"/")+e,r)}const s=i.concat(a),c=[];for(let l=0,u=s.length;l<u;l++){const e=s[l];".."===e?c.pop():"."!==e&&c.push(e)}return D("/"+c.join("/"),r)},T=(e,t)=>
1{const[n,r=""]=e.split("?");let o="/"+H(n).map(e=>{const n=x.exec(e);return n?t[n[1]]:e}).join("/");const{location:{search:a=""}={}}=t,i=a.split("?")[1]||"";return o=D(o,r,i),o},j=(e,t)=>{const n=e=>N(e);return H(e).filter(n).sort().join("/")===H(t).filter(n).sort().join("/")},x=/^:(.+)/,N=e=>x.test(e),L=e=>e&&"*"===e[0],M=(e,t)=>({route:e,score:e.default?0:H(e.path).reduce((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:N(t)?e+=2:L(t)?e-=5:e+=3,e),0),index:t}),A=e=>e.map(M).sort((e,t)=>e.score<t.score?1:e.score>t.score?-1:e.index-t.index),H=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),D=(e,...t)=>e+((t=t.filter(e=>e&&e.length>0))&&t.length>0?`?${t.join("&")}`:""),I=["uri","path"],$=(e,t)=>{const n=Object.keys(e);return n.length===Object.keys(t).length&&n.every(n=>t.hasOwnProperty(n)&&e[n]===t[n])},W=e=>e.replace(/(^\/+|\/+$)/g,""),U=e=>t=>{if(!t)return null;if(t.type===o.Fragment&&t.props.children)return o.Children.map(t.props.children,U(e));if(i(t.props.path||t.props.default||t.type===P,`<Router>: Children of <Router> must have a \`path\` or \`default\` prop, or be a \`<Redirect>\`. None found on element type \`${t.type}\``),i(!!(t.type!==P||t.props.from&&t.props.to),`<Redirect from="${t.props.from}" to="${t.props.to}"/> requires both "from" and "to" props when inside a <Router>.`),i(!(t.type===P&&!j(t.props.from,t.props.to)),`<Redirect from="${t.props.from} to="${t.props.to}"/> has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),t.props.default)return{value:t,default:!0};const n=t.type===P?t.props.from:t.props.path,r="/"===n?e:`${W(e)}/${W(n)}`;return{value:t,default:t.props.default,path:t.props.children?`${W(r)}/*`:r}},q=["innerRef"],F=["to","state","replace","getProps"],B=["key"];let{forwardRef:Q}=r||(r=n.t(o,2));void 0===Q&&(Q=e=>e);const z=()=>{},J=Q((e,t)=>{let{innerRef:n}=e,r=c(e,q);const{baseuri:a}=y(),{location:i}=b(),{to:l,state:u,replace:d,getProps:p=z}=r,f=c(r,F),m=R(l,a),g=encodeURI(m),v=i.pathname===g,w=_(i.pathname,g);return o.createElement("a",s({ref:t||n,"aria-current":v?"page":void 0},f,p({isCurrent:v,isPartiallyCurrent:w,href:m,location:i}),{href:m,onClick:e=>{if(f.onClick&&f.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=d;if("boolean"!=typeof d&&v){const e=c(s({},i.state),B);t=$(s({},u),e)}h(m,{state:u,replace:t})}}}))});J.displayName="Link",J.propTypes={to:a.string.isRequired};class G extends o.Component{constructor(...e){super(...e),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...e){this.setState({}),this.props.onError(...e)}render(){return this.props.children}}const X=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function Y({children:e}){const[t,n]=o.useState(),r=o.useRef(),a=o.useMemo(()=>({componentDidCatch:r,error:t,setError:n}),[t]);return o.createElement(X.Provider,{value:a},o.createElement(G,{error:t,onError:(e,t)=>{n(e),null==r.current||r.current(e,t)}},e))}Y.displayName="ReactUseErrorBoundaryContext";const V=function(e){var t,n;function r(t){return o.createElement(Y,null,o.createElement(e,s({key:"WrappedComponent"},t)))}return r.displayName=`WithErrorBoundary(${null!=(t=null!=(n=e.displayName)?n:e.name)?t:"Component"})`,r}(({history:e=f,children:t})=>{const{location:n}=e,[r,a]=o.useState({location:n}),[i]=function(){const e=o.useContext(X);e.componentDidCatch.current=void 0;const t=o.useCallback(()=>{e.setError(void 0)},[]);return[e.error,t]}();if(o.useEffect(()=>{e._onTransitionComplete()},[r.location]),o.useEffect(()=>{let t=!1;const n=e.listen(({location:e})=>{Promise.resolve().then(()=>{requestAnimationFrame(()=>{t||a({location:e})})})});return()=>{t=!0,n()}},[]),i){if(!E(i))throw i;h(i.uri,{replace:!0})}return o.createElement(v.Provider,{value:r},"function"==typeof t?t(r):t||null)}),K=({children:e})=>{const t=b();return t?e(t):o.createElement(V,null,e)},Z=({url:e,children:t})=>{const n=e.indexOf("?");let r,a="";return n>-1?(r=e.substring(0,n),a=e.substring(n)):r=e,o.createElement(v.Provider,{value:{location:{pathname:r,search:a,hash:""}}},t)},ee=({path:e,children:t})=>{const{baseuri:n}=y(),{location:r}
1=b(),o=R(e,n),a=k(o,r.pathname);return t({location:r,match:a?s({},a.params,{uri:a.uri,path:e}):null})},te=["uri","location","component"],ne=["children","style","component","uri","location"],re=e=>{let{uri:t,location:n,component:r}=e,a=c(e,te);return o.createElement(ae,s({},a,{component:r,uri:t,location:n}))};let oe=0;const ae=e=>{let{children:t,style:n,component:r="div",uri:a,location:i}=e,l=c(e,ne);const u=o.useRef(),d=o.useRef(!0),p=o.useRef(a),f=o.useRef(i.pathname),h=o.useRef(!1);o.useEffect(()=>(oe++,m(),()=>{oe--,0===oe&&(d.current=!0)}),[]),o.useEffect(()=>{let e=!1,t=!1;a!==p.current&&(p.current=a,e=!0),i.pathname!==f.current&&(f.current=i.pathname,t=!0),h.current=e||t&&i.pathname===a,h.current&&m()},[a,i]);const m=o.useCallback(()=>{var e;d.current?d.current=!1:(e=u.current,h.current&&e&&e.focus())},[]);return o.createElement(r,s({style:s({outline:"none"},n),tabIndex:"-1",ref:u},l),t)},ie=["location","primary","children","basepath","baseuri","component"],se=e=>{const t=y(),n=b();return o.createElement(ce,s({},t,n,e))};function ce(e){const{location:t,primary:n=!0,children:r,basepath:a,component:i="div"}=e,l=c(e,ie),u=o.Children.toArray(r).reduce((e,t)=>{const n=U(a)(t);return e.concat(n)},[]),{pathname:d}=t,p=O(u,d);if(p){const{params:e,uri:r,route:c,route:{value:u}}=p,d=c.default?a:c.path.replace(/\*$/,""),f=s({},e,{uri:r,location:t}),h=o.cloneElement(u,f,u.props.children?o.createElement(se,{location:t,primary:n},u.props.children):void 0),m=n?re:i,v=n?s({uri:r,location:t,component:i},l):l;return o.createElement(g.Provider,{value:{baseuri:r,basepath:d}},o.createElement(m,v,h))}return null}const le=()=>{const e=b();if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},ue=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},de=()=>{const e=y();if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const t=le(),n=k(e.basepath,t.pathname);return n?n.params:null},pe=e=>{if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");const t=y();if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const n=le(),r=R(e,t.baseuri),o=k(r,n.pathname);return o?s({},o.params,{uri:o.uri,path:e}):null}},6491:function(e,t,n){"use strict";n.d(t,{X:function(){return a}});const r=new Map,o=new Map;function a(e){let t=r.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach(e=>{e.ignoreCase?o.set(e.fromPath,e):r.set(e.fromPath,e)})},6498:function(e,t,n){"use strict";var r=n(7387),o=n(20),a=n(6540),i=n(6462),s=n(7035),c=n(7231),l=n(2024),u=n(6814),d=n(6491),p=n(9369);const 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"};var h=n(7078);function m(e){const t=(0,d.X)(e),{hash:n,search:r}=window.location;return null!=t&&(window.___replace(t.toPath+r+n),!0)}let g="";window.addEventListener("unhandledrejection",e=>{/loading chunk \d* failed./i.test(e.reason)&&g&&(window.location.pathname=g)});const v=(e,t)=>{m(e.pathname)||(g=e.pathname,(0,o.N)("onPreRouteUpdate",{location:e,prevLocation:t}))},y=(e,t)=>{m(e.pathname)||(0,o.N)("onRouteUpdate",{location:e,prevLocation:t})},b=function(e,t){if(void 0===t&&(t={}),"number"==typeof e)return void i.globalHistory.navigate(e);const{pathname:n,search:r,hash:a}=(0,h.Rr)(e),s=(0,d.X)(n);if(s&&(e=s.toPath+r+a),window.___swUpdated)return void(window.location=n+r+a);const c=setTimeout(()=>{p.A.emit("onDelayedLoadPageResources",{pathname:n}),(0,o.N)("onRouteUpdateDelayed",{location:window.location})},1e3);u.Ay.loadPage(n+r).then(o=>{if(!o||o.status===u.Wi.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(c);o&&o.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"
1in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=n+r+a),(0,i.navigate)(e,t),clearTimeout(c)})};function w(e,t){let{location:n}=t;const{pathname:r,hash:a}=n,i=(0,o.N)("shouldUpdateScroll",{prevRouterProps:e,pathname:r,routerProps:{location:n},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(i.length>0)return i[i.length-1];if(e){const{location:{pathname:t}}=e;if(t===r)return a?decodeURI(a.slice(1)):[0,0]}return!0}let E=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=a.createRef(),n}(0,r.A)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){requestAnimationFrame(()=>{let e=`new page at ${this.props.location.pathname}`;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const n=`Navigated to ${e}`;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}})},n.render=function(){return a.createElement("div",Object.assign({},f,{ref:this.announcementRef}))},t}(a.Component);const C=(e,t)=>{var n,r;return e.href!==t.href||(null==e||null===(n=e.state)||void 0===n?void 0:n.key)!==(null==t||null===(r=t.state)||void 0===r?void 0:r.key)};let S=function(e){function t(t){var n;return n=e.call(this,t)||this,v(t.location,null),n}(0,r.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){y(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!C(this.props.location,e.location)&&(v(e.location,this.props.location),!0)},n.componentDidUpdate=function(e){C(e.location,this.props.location)&&y(this.props.location,e.location)},n.render=function(){return a.createElement(a.Fragment,null,this.props.children,a.createElement(E,{location:location}))},t}(a.Component);var P=n(8428),_=n(6877);function O(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}var k=function(e){function t(t){var n;n=e.call(this)||this;const{location:r,pageResources:o}=t;return n.state={location:{...r},pageResources:o||u.Ay.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,r.A)(t,e),t.getDerivedStateFromProps=function(e,t){let{location:n}=e;if(t.location.href!==n.href){return{pageResources:u.Ay.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:{...n}}}return{location:{...n}}};var n=t.prototype;return n.loadResources=function(e){u.Ay.loadPage(e).then(t=>{t&&t.status!==u.Wi.Error?this.setState({location:{...window.location},pageResources:t}):(window.history.replaceState({},"",location.href),window.location=e)})},n.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,n){return O(e.props,t)||O(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)},n.render=function(){return this.props.children(this.state)},t}(a.Component),R=n(8797),T=n(9732);const j=new u.N5(_,[],window.pageData);(0,u.iC)(j),j.setApiRunner(o.N);const{render:x,hydrate:N}=(0,T.n)();window.asyncRequires=_,window.___emitter=p.A,window.___loader=u.Zf,i.globalHistory.listen(e=>{e.location.action=e.action}),window.___push=e=>b(e,{replace:!1}),window.___replace=e=>b(e,{replace:!0}),window.___navigate=(e,t)=>b(e,t);const L="gatsby-reload-compilation-hash-match";(0,o.v)("onClientEntry").then(()=>{const e=(e,t)=>{console.error("Uncaught error:",e,t),(0,o.N)("onUncaughtError",{error:e,errorInfo:t})},t=(e,t)=>{(0,o.N)("onCaughtError",{error:e,errorInfo:t})};(0,o.N)("registerServiceWorker").filter(Boolean).length>0&&n(626);const d=e=>a.createElement(i.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.createElement(P.A,e)),p=a.createContext({}),f={renderEnvironment:"browser"};let h=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){const{children:e}=this.props;return a.createElement(i.Location,null,t=>{let{location:n}=t;return a.createElement(k,{location:n},t=>{let{pageResources:n,location:r}=t;const o=(0,u.LE)(),i=(0,u.Rh)();return a.createElement(c.G.Provider,{value:o},a.createElement(l.j$.Provider,{value:f},a.createElement(l.dd.Provider,{value:i},a.createElement(l.Jr.Provider,{value:n.page.slicesMap},a.createElement(p.Provider,{value:{pageResources:n,location:r}},e)))))})})},t}(a.Component),m=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){return a.createElement(p.Consumer,null,e=>{let{pageResources:t,location:n}=e;return a.createElement(S,{location:n},a.createElement(s.z_,{location:n,shouldUpdateScroll:w},a.createElement(i.Router,{basepath:"",location:n,id:"gatsby-focus-wrapper"},a.createElement(d,Object.assign({path:"/404.html"===t.page.path||"/500.html"===t.page.path?(0,R.A)(n.pathname,""):encodeURI((t.page.matchPath||t.page.path).split("?")[0])},this.props,{location:n,pageResources:t},t.json)))))})},t}(a.Component);const{pagePath:g,location:v}=window;g&&""+g!==v.pathname+(g.includes("?")?v.search:"")&&!(j.findMatchPath((0,R.A)(v.pathname,""))||g.match(/^\/(404|500)(\/?|.html)$/)||g.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,i.navigate)(""+g+(g.includes("?")?""
1:v.search)+v.hash,{replace:!0});const y=()=>{try{return sessionStorage}catch{return null}};u.Zf.loadPage(v.pathname+v.search).then(n=>{var r;const i=y();if(null!=n&&null!==(r=n.page)&&void 0!==r&&r.webpackCompilationHash&&n.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),i)){if(!("1"===i.getItem(L)))return i.setItem(L,"1"),void window.location.reload(!0)}if(i&&i.removeItem(L),!n||n.status===u.Wi.Error){const e=`page resources for ${v.pathname} not found. Not rendering React`;if(n&&n.error)throw console.error(e),n.error;throw new Error(e)}const s=(0,o.N)("wrapRootElement",{element:a.createElement(m,null)},a.createElement(m,null),e=>{let{result:t}=e;return{element:t}}).pop(),c=function(){const e=a.useRef(!1);return a.useEffect(()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.N)("onInitialClientRender"))},[]),a.createElement(h,null,s)},l=document.getElementById("gatsby-focus-wrapper");let d=(n,r)=>x(n,r,{onUncaughtError:e,onCaughtError:t});l&&l.children.length&&(d=(n,r)=>N(n,r,{onUncaughtError:e,onCaughtError:t}));const p=(0,o.N)("replaceHydrateFunction",void 0,d)[0]||d;function f(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;p(a.createElement(c,null),e)}const g=document;if("complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll)setTimeout(function(){f()},0);else{const e=function(){g.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),f()};g.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}})})},6814:function(e,t,n){"use strict";n.d(t,{Wi:function(){return u},N5:function(){return w},Ay:function(){return S},Rh:function(){return _},LE:function(){return P},Zf:function(){return C},iC:function(){return E}});var r=n(7387),o=n(5458);const a=function(e){if("undefined"==typeof document)return!1;const t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e,t){return new Promise((n,r)=>{if("undefined"==typeof document)return void r();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach(e=>{o.setAttribute(e,t[e])}),o.onload=n,o.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)})}:function(e){return new Promise((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=()=>{200===r.status?t():n()},r.send(null)})},i={};var s=function(e,t){return new Promise(n=>{i[e]?n():a(e,t).then(()=>{n(),i[e]=!0}).catch(()=>{})})},c=n(9369),l=n(8990);const u={Error:"error",Success:"success"},d=e=>{const[t,n]=e.split("?");var r;return`/page-data/${"/"===t?"index":(r="/"===(r=t)[0]?r.slice(1):r).endsWith("/")?r.slice(0,-1):r}/page-data.json${n?`?${n}`:""}`},p=e=>e.startsWith("//");function f(e,t){return void 0===t&&(t="GET"),new Promise(n=>{const r=new XMLHttpRequest;r.open(t,e,!0),r.onreadystatechange=()=>{4==r.readyState&&n(r)},r.send(null)})}const h=/bot|crawler|spider|crawling/i,m=function(e,t,n){var r;void 0===t&&(t=null);const o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(r=e.slicesMap)&&void 0!==r?r:{}};return{component:t,head:n,json:e.result,page:o}};function g(e){return new Promise(t=>{try{const n=e.readRoot();t(n)}catch(n){if(!Object.hasOwnProperty.call(n,"_response")||!Object.hasOwnProperty.call(n,"_status"))throw n;setTimeout(()=>{g(e).then(t)},200)}})}let v=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.slice
1sDataDb=new Map,this.sliceInflightDb=new Map,this.slicesDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,l.QX)(t)}var t=e.prototype;return t.memoizedGet=function(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=f(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then(t=>(this.inFlightNetworkRequests.delete(e),t)).catch(t=>{throw this.inFlightNetworkRequests.delete(e),t})},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some(e=>e)},t.fetchPageDataJson=function(e){const{pagePath:t,retries:n=0}=e,r=d(t);return this.memoizedGet(r).then(r=>{const{status:o,responseText:a}=r;if(200===o)try{const n=JSON.parse(a);if(void 0===n.path)throw new Error("not a valid pageData response");const r=t.split("?")[1];return r&&!n.path.includes(r)&&(n.path+=`?${r}`),Object.assign(e,{status:u.Success,payload:n})}catch(i){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:u.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPageDataJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:u.Error})})},t.fetchPartialHydrationJson=function(e){const{pagePath:t,retries:n=0}=e,r=d(t).replace(".json","-rsc.json");return this.memoizedGet(r).then(r=>{const{status:o,responseText:a}=r;if(200===o)try{return Object.assign(e,{status:u.Success,payload:a})}catch(i){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:u.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:u.Error})})},t.loadPageDataJson=function(e){const t=(0,l.Hh)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then(e=>(this.pageDataDb.set(t,e),e))},t.loadPartialHydrationJson=function(e){const t=(0,l.Hh)(e);if(this.partialHydrationDb.has(t)){const e=this.partialHydrationDb.get(t);return Promise.resolve(e)}return this.fetchPartialHydrationJson({pagePath:t}).then(e=>(this.partialHydrationDb.set(t,e),e))}
1,t.loadSliceDataJson=function(e){if(this.slicesDataDb.has(e)){const t=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:t})}return f(`/slice-data/${e}.json`,"GET").then(t=>{const n=JSON.parse(t.responseText);return this.slicesDataDb.set(e,n),{sliceName:e,jsonPayload:n}})},t.findMatchPath=function(e){return(0,l.Yl)(e)},t.loadPage=function(e){const t=(0,l.Hh)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return e.error?Promise.resolve({error:e.error,status:e.status}):Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const r=[this.loadAppData(),this.loadPageDataJson(t)];const a=Promise.all(r).then(e=>{const[r,a,i]=e;if(a.status===u.Error||(null==i?void 0:i.status)===u.Error)return{status:u.Error};let s=a.payload;const{componentChunkName:l,staticQueryHashes:d=[],slicesMap:p={}}=s,f={},h=Array.from(new Set(Object.values(p))),v=e=>{if(this.slicesDb.has(e.name))return this.slicesDb.get(e.name);if(this.sliceInflightDb.has(e.name))return this.sliceInflightDb.get(e.name);const t=this.loadComponent(e.componentChunkName).then(t=>{return{component:(n=t,n&&n.default||n),sliceContext:e.result.sliceContext,data:e.result.data};var n});return this.sliceInflightDb.set(e.name,t),t.then(t=>{this.slicesDb.set(e.name,t),this.sliceInflightDb.delete(e.name)}),t};return Promise.all(h.map(e=>this.loadSliceDataJson(e))).then(e=>{const p=[],h=(0,o.A)(d);for(const{jsonPayload:t,sliceName:n}of Object.values(e)){p.push({name:n,...t});for(const e of t.staticQueryHashes)h.includes(e)||h.push(e)}const y=[Promise.all(p.map(v)),this.loadComponent(l,"head")];y.push(this.loadComponent(l));const b=Promise.all(y).then(e=>{const[t,o,c]=e;f.createdAt=new Date;for(const n of t)(!n||n instanceof Error)&&(f.status=u.Error,f.error=n);let l;if((!c||c instanceof Error)&&(f.status=u.Error,f.error=c),f.status!==u.Error){if(f.status=u.Success,!0!==a.notFound&&!0!==(null==i?void 0:i.notFound)||(f.notFound=!0),s=Object.assign(s,{webpackCompilationHash:r?r.webpackCompilationHash:""}),"string"==typeof(null==i?void 0:i.payload)){l=m(s,null,o),l.partialHydration=i.payload;const e=new ReadableStream({start(e){const t=new TextEncoder;e.enqueue(t.encode(i.payload))},pull(e){e.close()},cancel(){}});return n.e(522).then(n.t.bind(n,8522,23)).then(t=>{let{createFromReadableStream:n}=t;return g(n(e))}).then(e=>(l.partialHydration=e,l))}l=m(s,c,o)}return l}),w=Promise.all(h.map(e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet(`/page-data/sq/d/${e}.json`).then(t=>{const n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}}).catch(()=>{throw new Error(`We couldn't load "/page-data/sq/d/${e}.json"`)})})).then(e=>{const t={};return e.forEach(e=>{let{staticQueryHash:n,jsonPayload:r}=e;t[n]=r,this.staticQueryDb[n]=r}),t});return Promise.all([b,w]).then(e=>{let n,[r,o]=e;return r&&(n={...r,staticQueryResults:o},f.payload=n,c.A.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(t,f),f.error?{error:f.error,status:f.status}:n}).catch(e=>({error:e,status:u.Error}))})});return a.then(()=>{this.inFlightDb.delete(t)}).catch(e=>{throw this.inFlightDb.delete(t),e}),this.inFlightDb.set(t,a),a},t.loadPageSync=function(e,t){void 0===t&&(t={});const n=(0,l.Hh)(e);if(this.pageDb.has(n)){var r;const e=this.pageDb.get(n);if(e.payload)return e.payload;if(null!==(r=t)&&void 0!==r&&r.withErrorDetails)return{error:e.error,status:e.status}}},t.shouldPrefetch=function(e){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})()&&((!navigator.userAgent||!h.test(navigator.userAgent))&&!this.pageDb.has(e))},t.prefetch=function(e){if(!this.shouldPrefetch(e))return{then:e=>e(!1),abort:()=>{}};if(this.prefetchTriggered.has(e))return{then:e=>e(!0),abort:()=>{}};const t={resolve:null,reject:null,promise:null};t.promise=new Promise((e,n)=>{t.resolve=e,t.reject=n}),this.prefetchQueued.push([e,t]);const n=new AbortController;return n.signal.addEventListener("abort",()=>{const t=this.prefetchQueued.findIndex(t=>{let[n]=t;return n===e});-1!==t&&this.prefetchQueued.splice(t,1)}),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout(()=>{this._processNextPrefetchBatch()},3e3)),{then:(e,n)=>t.promise.then(e,n),abort:n.abort.bind(n)}},t._processNextPrefetchBatch=function(){(window.requestIdleCallback||(e=>setTimeout(e,0)))(()=>{const e=this.prefetchQueued.splice(0,4),t=Promise.all(e.map(e=>{let[t,n]=e;return this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled?n.resolve(!1):this.doPrefetch((0,l.Hh)(t)).then(()=>{this.prefetchCompleted.has(t)||(this.apiRunner("onPostPrefetchPathname",{pathname:t}),this.prefetchCompleted.add(t)),n.resolve(!0)})}));this.prefetchQueued.length?t.then(()=>{setTimeout(()=>{this._processNextPrefetchBatch()},3e3)}):this.isPrefetchQueueRunning=!1})},t.doPrefetch=function(e){const t=d(e);return s(t,{crossOrigin:"anonymous",as:"fetch"}).then(()=>this.loadPageDataJson(e))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=(0,l.Hh)(e),n=this.pageDataDb.get(t);if(n){const e=m(n.payload);return[].concat((0,o.A)(y(e.page.componentChunkName)),[d(t)])}return null},t.isPageNotFound=function(e){const t=(0,l.Hh)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){return void 0===e&&(e=0),this.memoizedGet("/page-d
1ata/app-data.json").then(t=>{const{status:n,responseText:r}=t;let o;if(200!==n&&e<3)return this.loadAppData(e+1);if(200===n)try{const e=JSON.parse(r);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(a){}return o})},e}();const y=e=>(window.___chunkMapping[e]||[]).map(e=>""+e);let b,w=function(e){function t(t,n,r){var o;return o=e.call(this,function(e,n){if(void 0===n&&(n="components"),!t[n="components"][e])throw new Error(`We couldn't find the correct component chunk with the name "${e}"`);return t[n][e]().catch(e=>e)},n)||this,r&&o.pageDataDb.set((0,l.Hh)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.A)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then(e=>{if(e.status!==u.Success)return Promise.resolve();const t=e.payload,n=t.componentChunkName,r=y(n);return Promise.all(r.map(s)).then(()=>t)})},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then(e=>e.notFound?p(t)?e:f(t,"HEAD").then(t=>200===t.status?{status:u.Error}:e):e)},n.loadPartialHydrationJson=function(t){return e.prototype.loadPartialHydrationJson.call(this,t).then(e=>e.notFound?p(t)?e:f(t,"HEAD").then(t=>200===t.status?{status:u.Error}:e):e)},t}(v);const E=e=>{b=e},C={enqueue:e=>b.prefetch(e),getResourceURLsForPathname:e=>b.getResourceURLsForPathname(e),loadPage:e=>b.loadPage(e),loadPageSync:function(e,t){return void 0===t&&(t={}),b.loadPageSync(e,t)},prefetch:e=>b.prefetch(e),isPageNotFound:e=>b.isPageNotFound(e),hovering:e=>b.hovering(e),loadAppData:()=>b.loadAppData()};var S=C;function P(){return b?b.staticQueryDb:{}}function _(){return b?b.slicesDb:{}}},6848:function(e,t,n){"use strict";t.XG=t.N_=void 0;var r=f(n(9365)),o=f(n(173)),a=f(n(3845)),i=f(n(649)),s=f(n(1290)),c=f(n(4177)),l=f(n(7384)),u=f(n(5303)),d=f(n(9679)),p=f(n(1038));function f(e){return e&&e.__esModule?e:{default:e}}t.N_=r.default,o.default,a.default,t.XG=i.default,s.default,c.default,l.default,u.default,d.default,p.default,r.default,o.default,a.default,i.default,s.default,c.default,l.default,u.default,d.default,p.default},6877:function(e,t,n){t.components={"component---src-pages-blog-dato-cms-post-slug-jsx":()=>Promise.all([n.e(869),n.e(985)]).then(n.bind(n,2056)),"component---src-pages-blog-index-jsx":()=>Promise.all([n.e(869),n.e(298)]).then(n.bind(n,4184)),"component---src-pages-index-jsx":()=>Promise.all([n.e(869),n.e(23),n.e(279)]).then(n.bind(n,9410)),"component---src-pages-plumbers-index-jsx":()=>Promise.all([n.e(869),n.e(23),n.e(722)]).then(n.bind(n,7408)),"component---src-pages-privacy-index-jsx":()=>Promise.all([n.e(869),n.e(276)]).then(n.bind(n,8156)),"component---src-pages-terms-index-jsx":()=>Promise.all([n.e(869),n.e(489)]).then(n.bind(n,1713)),"component---src-pages-tutorials-dato-cms-tutorial-viewer-dato-cms-tutorial-topic-dato-cms-tutorial-order-jsx":()=>Promise.all([n.e(869),n.e(130)]).then(n.bind(n,1758)),"component---src-pages-tutorials-index-jsx":()=>Promise.all([n.e(869),n.e(840),n.e(469)]).then(n.bind(n,7985)),"component---src-pages-uk-blog-dato-cms-post-slug-jsx":()=>Promise.all([n.e(869),n.e(236)]).then(n.bind(n,8993)),"component---src-pages-uk-blog-index-jsx":()=>Promise.all([n.e(869),n.e(93)]).then(n.bind(n,8939)),"component---src-pages-uk-index-jsx":()=>Promise.all([n.e(869),n.e(23),n.e(34)]).then(n.bind(n,5928)),"component---src-pages-uk-tutorials-dato-cms-tutorial-viewer-dato-cms-tutorial-topic-dato-cms-tutorial-order-jsx":()=>Promise.all([n.e(869),n.e(961)]).then(n.bind(n,6158)),"component---src-pages-uk-tutorials-index-jsx":()=>Promise.all([n.e(869),n.e(840),n.e(716)]).then(n.bind(n,8292))}},7035:function(e,t,n){"use strict";t.RV=t.z_=void 0;var r=n(3215);t.z_=r.ScrollHandler;var o=n(3721);t.RV=o.useScrollRestoration},7078:function(e,t,n){"use strict";n.d(t,{Fe:function(){return f},N_:function(){return C},Rr:function(){return c},Zf:function(){return y},oo:function(){return S}});
1var r=n(5556),o=n(6540),a=n(6462),i=n(6395);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e){let t=e||"/",n="",r="";const o=t.indexOf("#");-1!==o&&(r=t.slice(o),t=t.slice(0,o));const a=t.indexOf("?");return-1!==a&&(n=t.slice(a),t=t.slice(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}const l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>{if("string"==typeof e)return!(e=>l.test(e))(e)},d=()=>"",p=()=>"";function f(e,t=d()){var n;if(!u(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const r=null!=(n=null!=t?t:p())?n:"/";return`${null!=r&&r.endsWith("/")?r.slice(0,-1):r}${e.startsWith("/")?e:`/${e}`}`}const h=e=>null==e?void 0:e.startsWith("/");function m(e,t){const{pathname:n,search:r,hash:o}=c(e);return`${(0,i.T)(n,t)}${r}${o}`}const g=(e,t)=>"number"==typeof e?e:u(e)?h(e)?function(e){const t=f(e),n="always";return m(t,n)}(e):function(e,t){if(h(e))return e;const n="always",r=(0,a.resolve)(e,t);return m(r,n)}(e,t):e,v=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function y(e){return f(e,p())}const b={activeClassName:r.string,activeStyle:r.object,partiallyActive:r.bool};function w(e){return o.createElement(a.Location,null,({location:t})=>o.createElement(E,s({},e,{_location:t})))}class E extends o.Component{constructor(e){super(e),this.defaultGetProps=({isPartiallyCurrent:e,isCurrent:t})=>(this.props.partiallyActive?e:t)?{className:[this.props.className,this.props.activeClassName].filter(Boolean).join(" "),style:s({},this.props.style,this.props.activeStyle)}:null;let t=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(t=!0),this.state={IOSupported:t},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);const t=c(g(this.props.to,e)),n=t.pathname+t.search;if(e!==n)return ___loader.enqueue(n)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const n=new window.IntersectionObserver(n=>{n.forEach(n=>{e===n.target&&t(n.isIntersecting||n.intersectionRatio>0)})});return n.observe(e),{instance:n,el:e}})(e,e=>{e?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()}))}render(){const e=this.props,{to:t,getProps:n=this.defaultGetProps,onClick:r,onMouseEnter:i,state:l,replace:d,_location:p}=e,f=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}(e,v),h=g(t,p.pathname);return u(h)?o.createElement(a.Link,s({to:h,state:l,getProps:n,innerRef:this.handleRef,onMouseEnter:e=>{i&&i(e);const t=c(h);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(r&&r(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=d;const n=encodeURI(h)===p.pathname;"boolean"!=typeof d&&n&&(t=!0),window.___navigate(h,{state:l,replace:t})}return!0}},f)):o.createElement("a",s({href:h},f))}}E.propTypes=s({},b,{onClick:r.func,to:r.string.isRequired,replace:r.bool,state:r.object});const C=o.forwardRef((e,t)=>o.createElement(w,s({innerRef:t},e))),S=(e,t)=>{window.___navigate(g(e,window.location.pathname),t)}},7231:function(e,t,n){"use strict";n.d(t,{de:function(){return c},G:function(){return o},GR:function(){return l}});var r=n(6540);const o=(a="StaticQuery",i={},r.createServerContext?function(e,t){return void 0===t&&(t=null),globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=r.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]}(a,i):r.createContext(i));var a,i;function s(e){let{staticQueryData:t,data:n,query:o,render:a}=e;const i=n?n.data:t[o]&&t[o].data;return r.createElement(r.Fragment,null,i&&a(i),!i&&r.createElement("div",null,"Loa
1ding (StaticQuery)"))}const c=e=>{const{data:t,query:n,render:a,children:i}=e;return r.createElement(o.Consumer,null,e=>r.createElement(s,{data:t,query:n,render:a||i,staticQueryData:e}))},l=e=>{var t;r.useContext;const n=r.useContext(o);if(isNaN(Number(e)))throw new Error(`useStaticQuery was called with a string but expects to be called using \`graphql\`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql\`${e}\`);\n`);if(null!==(t=n[e])&&void 0!==t&&t.data)return n[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")}},7384:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=(s(n(2906)),s(n(8373))),a=s(n(951)),i=s(n(1290));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return o.default[e.smooth]||o.default.defaultEasing},l=function(){if("undefined"!=typeof window)return window.requestAnimationFrame||window.webkitRequestAnimationFrame}()||function(e,t,n){window.setTimeout(e,n||1e3/60,(new Date).getTime())},u=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollLeft;var n=void 0!==window.pageXOffset,r="CSS1Compat"===(document.compatMode||"");return n?window.pageXOffset:r?document.documentElement.scrollLeft:document.body.scrollLeft},d=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollTop;var n=void 0!==window.pageXOffset,r="CSS1Compat"===(document.compatMode||"");return n?window.pageYOffset:r?document.documentElement.scrollTop:document.body.scrollTop},p=function e(t,n,r){var o=n.data;if(n.ignoreCancelEvents||!o.cancel)if(o.delta=Math.round(o.targetPosition-o.startPosition),null===o.start&&(o.start=r),o.progress=r-o.start,o.percent=o.progress>=o.duration?1:t(o.progress/o.duration),o.currentPosition=o.startPosition+Math.ceil(o.delta*o.percent),o.containerElement&&o.containerElement!==document&&o.containerElement!==document.body?n.horizontal?o.containerElement.scrollLeft=o.currentPosition:o.containerElement.scrollTop=o.currentPosition:n.horizontal?window.scrollTo(o.currentPosition,0):window.scrollTo(0,o.currentPosition),o.percent<1){var a=e.bind(null,t,n);l.call(window,a)}else i.default.registered.end&&i.default.registered.end(o.to,o.target,o.currentPosition);else i.default.registered.end&&i.default.registered.end(o.to,o.target,o.currentPositionY)},f=function(e){e.data.containerElement=e?e.containerId?document.getElementById(e.containerId):e.container&&e.container.nodeType?e.container:document:null},h=function(e,t,n,r){t.data=t.data||{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null},window.clearTimeout(t.data.delayTimeout);if(a.default.subscribe(function(){t.data.cancel=!0}),f(t),t.data.start=null,t.data.cancel=!1,t.data.startPosition=t.horizontal?u(t):d(t),t.data.targetPosition=t.absolute?e:e+t.data.startPosition,t.data.startPosition!==t.data.targetPosition){var o;t.data.delta=Math.round(t.data.targetPosition-t.data.startPosition),t.data.duration=("function"==typeof(o=t.duration)?o:function(){return o})(t.data.delta),t.data.duration=isNaN(parseFloat(t.data.duration))?1e3:parseFloat(t.data.duration),t.data.to=n,t.data.target=r;var s=c(t),h=p.bind(null,s,t);t&&t.delay>0?t.data.delayTimeout=window.setTimeout(function(){i.default.registered.begin&&i.default.registered.begin(t.data.to,t.data.target),l.call(window,h)},t.delay):(i.default.registered.begin&&i.default.registered.begin(t.data.to,t.data.target),l.call(window,h))}else i.default.registered.end&&i.default.registered.end(t.data.to,t.data.target,t.data.currentPosition)},m=function(e){return(e=r({},e)).data=e.data||{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,
1cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null},e.absolute=!0,e};t.default={animateTopScroll:h,getAnimationType:c,scrollToTop:function(e){h(0,m(e))},scrollToBottom:function(e){e=m(e),f(e),h(e.horizontal?function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollWidth-t.offsetWidth;var n=document.body,r=document.documentElement;return Math.max(n.scrollWidth,n.offsetWidth,r.clientWidth,r.scrollWidth,r.offsetWidth)}(e):function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollHeight-t.offsetHeight;var n=document.body,r=document.documentElement;return Math.max(n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight)}(e),e)},scrollTo:function(e,t){h(e,m(t))},scrollMore:function(e,t){t=m(t),f(t);var n=t.horizontal?u(t):d(t);h(e+n,t)}}},7387:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(3662);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},7800:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(3145);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}},7914:function(e,t,n){"use strict";n.r(t),n.d(t,{onRouteUpdate:function(){return r}});n(5268),n(4598);const r=function(e,t){let{location:n}=e}},8373:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={defaultEasing:function(e){return e<.5?Math.pow(2*e,2)/2:1-Math.pow(2*(1-e),2)/2},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:(4-2*e)*e-1},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}}},8428:function(e,t,n){"use strict";n.d(t,{A:function(){return T}});var r=n(6540),o=n(5556),a=n.n(o),i=n(20),s=n(8990),c=n(5458),l=n(5268),u=n(6462),d=n(9732);function p(e){let{children:t,callback:n}=e;return(0,r.useEffect)(()=>{n()}),t}const f=["link","meta","style","title","base","noscript","script","html","body"],h="itemProp",m="gatsby-do-not-hoist-me-react",g="data-original-tag",v=r.createContext(!1);function y(e){0}function b(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){const r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}function w(e,t){void 0===t&&(t={html:{},body:{}});const n=new Map,r=[];for(const p of e.childNodes){var o,a,i,s,l;if(!S(p))continue;const e=null!==(o=null===(a=p.attributes)||void 0===a||null===(i=a.getNamedItem(g))||void 0===i?void 0:i.value)&&void 0!==o?o:p.nodeName.toLowerCase(),f=null===(s=p.attributes)||void 0===s||null===(l=s.id)||void 0===l?void 0:l.value;if(C(e))if("html"===e||"body"===e)for(const n of p.attributes){if(n.name===g)continue;const r="style"===n.name;var u;if(t[e]={...t[e]},r||(t[e][n.name]=n.value),r)t[e].style=`${null!==(u=t[e])&&void 0!==u&&u.style?t[e].style:""}${n.value} `}else{let e=p.cloneNode(!0);if(e.setAttribute("data-gatsby-head",!0),e.getAttribute(h)===m&&e.removeAttribute(h),"script"===e.nodeName.toLowerCase()&&(e=E(e)),f)if(n.has(f)){var d;const t=n.get(f);null===(d=r[t].parentNode)||void 0===d||d.removeChild(r[t]),r[t]=e}else r.push(e),n.set(f,r.length-1);else r.push(e)}else y();p.childNodes.length&&r.push.apply(r,(0,c.A)(w(p,t).validHeadNodes))}return{validHeadNodes:r,htmlAndBodyAttributes:t}}function E(e){const t=document.createElement(e.nodeName);for(const n of e.attributes)t.setAttribute(n.name,n.value);return t.innerHTML=e.innerHTML,t}function C(e){return f.includes(e)}function S(e){return 1===e.nodeType}const P=document.createElement("div"),_={html:[],body:[]},O=()=>{var e;const{validHeadNodes:t,htmlAndBodyAttributes:n}=w(P);_.html=Object.keys(n.html),_.body=Object.keys(n.body),function(e){if(!e)return;const{html:t,body:n}=e,r=document.querySelector("html");
1r&&Object.entries(t).forEach(e=>{let[t,n]=e;r.setAttribute(t,n)});const o=document.querySelector("body");o&&Object.entries(n).forEach(e=>{let[t,n]=e;o.setAttribute(t,n)})}(n);const r=document.querySelectorAll("[data-gatsby-head]");var o;if(0===r.length)return void(o=document.head).append.apply(o,(0,c.A)(t));const a=[];!function(e){let{oldNodes:t,newNodes:n,onStale:r,onNew:o}=e;for(const a of t){const e=n.findIndex(e=>b(e,a));-1===e?r(a):n.splice(e,1)}for(const a of n)o(a)}({oldNodes:r,newNodes:t,onStale:e=>e.parentNode.removeChild(e),onNew:e=>a.push(e)}),(e=document.head).append.apply(e,a)};if(18!==parseInt(r.version.split(".")[0],10)&&!r.createElement.headPatched){const e=r.createElement,t=function(e,t){function n(){return!!t||r.useContext(v)}return new Map(f.map(t=>[t,"html"===t||"body"===t?function(t){const r=r=>{if(n()){const n={...r,[g]:t};return e("div",n)}return e(t,r)};return r.displayName=`React19HeadAPICompat${t}`,r}(t):function(t){const r=r=>{if(n()&&!(h in r)){const n={...r,[h]:m};return e(t,n)}return e(t,r)};return r.displayName=`React19HeadAPICompat${t}`,r}(t)]))}(e,!1);r.createElement=function(n,o){const a=t.get(n);a&&(n=a);for(var i=arguments.length,s=new Array(i>2?i-2:0),c=2;c<i;c++)s[c-2]=arguments[c];return e.call.apply(e,[r,n,o].concat(s))},r.createElement.headPatched=!0}function k(e){let{pageComponent:t,staticQueryResults:n,pageComponentProps:o}=e;(0,r.useEffect)(()=>{if(null!=t&&t.Head){!function(e){if("function"!=typeof e)throw new Error(`Expected "Head" export to be a function got "${typeof e}".`)}(t.Head);const{render:a}=(0,d.n)(),s=r.createElement(t.Head,{location:{pathname:(e=o).location.pathname},params:e.params,data:e.data||{},serverData:e.serverData,pageContext:e.pageContext}),c=(0,i.N)("wrapRootElement",{element:s},s,e=>{let{result:t}=e;return{element:t}}).pop();a(r.createElement(p,{callback:O},r.createElement(v.Provider,{value:!0},r.createElement(l.StaticQueryContext.Provider,{value:n},r.createElement(u.LocationProvider,null,c)))),P)}var e;return()=>{!function(){const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)}(),function(e){if(!e)return;const{html:t,body:n}=e;if(t){const e=document.querySelector("html");t.forEach(t=>{e&&e.removeAttribute(t)})}if(n){const e=document.querySelector("body");n.forEach(t=>{e&&e.removeAttribute(t)})}}(_)}})}function R(e){const t={...e,params:{...(0,s.UA)(e.location.pathname),...e.pageResources.json.pageContext.__params}};let n;var o;n=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,r.createElement)((o=e.pageResources.component)&&o.default||o,{...t,key:e.path||e.pageResources.page.path});k({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,i.N)("wrapPageElement",{element:n,props:t},n,e=>{let{result:n}=e;return{element:n,props:t}}).pop()}R.propTypes={location:a().object.isRequired,pageResources:a().object.isRequired,data:a().object,pageContext:a().object.isRequired};var T=R},8797:function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(`${t}/`)?e.slice(t.length):e:e}n.d(t,{A:function(){return r}})},8990:function(e,t,n){"use strict";n.d(t,{Yl:function(){return p},Hh:function(){return h},UA:function(){return f},QX:function(){return d}});var r=n(6462),o=n(8797),a=e=>{if(void 0===e)return e;let[t,n=""]=e.split("?");return n&&(n="?"+n),"/"===t?"/"+n:"/"===t.charAt(t.length-1)?t.slice(0,-1)+n:t+n},i=n(6491);const s=new Map;let c=[];const l=e=>{let t=e;if(-1!==e.indexOf("?")){const[n,r]=e.split("?");t=`${n}?${encodeURIComponent(r)}`}const n=decodeURIComponent(t);return(0,o.A)(n,decodeURIComponent("")).split("#")[0]};function u(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const d=e=>{c=e},p=e=>{const t=m(e),n=c.map(e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}}),o=(0,r.pick)(n,t);return o?a(o.route.originalPath):null},f=e=>{const t=m(e),n=c.map(e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}}),o=(0,r.pick)(n,t);return o?o.params:{}},h=e=>{const t=l(u(e));if(s.has(t))return s.get(t);const n=(0,i.X)(e);if(n)return h(n.toPath);let r=p(t);return r||(r=m(e)),s.set(t,r),r},m=e=>{let t=l(u(e));return"/index.html"===t&&(t="/"),t=a(t),t}},9300:function(e,t,n){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),n=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();n&&n.remove();const a=(0,o.getForwards)(e),i=document.createElement("script");i.dataset.partytown="",i.innerHTML=(0,r.partytownSnippet)({forward:a}),document.head.appendChild(i)};var r=n(4656),o=n(3309)},9365:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(6540)),o=a(n(5303));function a(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=function(e){function t(){var e,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=Array(a),c=0;c<a;c++)s[c]=arguments[c];return n=o=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),o.render=function(){return r.default.createElement("a",o.props,o.props.children)},i(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(r.default.Component);t.default=(0,o.default)(s)},9369:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var r=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map(function(e){e(n)}),(e["*"]||[]).slice().map(function(e){e(t,n)})}}}()},9377:function(e,t,n){e.exports=[{plugin:n(7914),options:{plugins:[],icon:"src/images/favicon-square.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"4e57424ccaea0a342554c8d54a5360d6"}},{plugin:n(5662),options:{plugins:[]}},{plugin:n(2311),options:{plugins:[]}}]},9679:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=c(n(6540)),i=(c(n(961)),c(n(649))),s=c(n(5556));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;i.default.unregister(this.props.name)}},{key:"registerElems",value:function(e){i.default.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return a.default.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(a.default.Component);return t.propTypes={name:s.default.string,id:s.default.string},t}},9732:function(e,t,n){"use strict";n.d(t,{n:function(){return o}});const r=new WeakMap;function o(){const e=n(5338);return{render:function(t,n,o){void 0===o&&(o={});let a=r.get(n);if(!a){const t=o.onUncaughtError||o.onCaughtError?{onUncaughtError:o.onUncaughtError,onCaughtError:o.onCaughtError}:void 0;r.set(n,a=e.createRoot(n,t))}a.render(t)},hydrate:function(t,n,r){void 0===r&&(r={});const o=r.onUncaughtError||r.onCaughtError?{onUncaughtError:r.onUncaughtError,onCaughtError:r.onCaughtError}:void 0;return e.hydrateRoot(n,t,o)}}}}},function(e){e.O(0,[869,593],function(){return t=6498,e(e.s=t);var t});e.O()}]); 2//# sourceMappingURL=app-9117a6f718d38e119a09.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.