-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp-3b3aa3c9c2bfd23c53b9.js
2 lines (2 loc) · 51.4 KB
/
app-3b3aa3c9c2bfd23c53b9.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{"+ZDr":function(e,t,n){"use strict";var r=n("TqRt");t.__esModule=!0,t.withPrefix=h,t.withAssetPrefix=function(e){return h(e,v())},t.navigateTo=t.replace=t.push=t.navigate=t.default=void 0;var o=r(n("8OQS")),a=r(n("pVnL")),i=r(n("PJYZ")),c=r(n("VbXa")),u=r(n("Ywee")),s=r(n("q1tI")),l=n("YwZP"),p=n("LYrO"),f=n("cu4x");t.parsePath=f.parsePath;var d=function(e){return null==e?void 0:e.startsWith("/")};function h(e,t){var n,r;if(void 0===t&&(t=m()),!g(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;var o=null!==(n=null!==(r=t)&&void 0!==r?r:v())&&void 0!==n?n:"/";return""+((null==o?void 0:o.endsWith("/"))?o.slice(0,-1):o)+(e.startsWith("/")?e:"/"+e)}var v=function(){return""},m=function(){return""},g=function(e){return e&&!e.startsWith("http://")&&!e.startsWith("https://")&&!e.startsWith("//")};var y=function(e,t){return"number"==typeof e?e:g(e)?d(e)?h(e):function(e,t){return d(e)?e:(0,p.resolve)(e,t)}(e,t):e},b={activeClassName:u.default.string,activeStyle:u.default.object,partiallyActive:u.default.bool},w=function(e){function t(t){var n;(n=e.call(this,t)||this).defaultGetProps=function(e){var t=e.isPartiallyCurrent,r=e.isCurrent;return(n.props.partiallyActive?t:r)?{className:[n.props.className,n.props.activeClassName].filter(Boolean).join(" "),style:(0,a.default)({},n.props.style,n.props.activeStyle)}:null};var r=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&(r=!0),n.state={IOSupported:r},n.handleRef=n.handleRef.bind((0,i.default)(n)),n}(0,c.default)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){this.props.to===e.to||this.state.IOSupported||___loader.enqueue((0,f.parsePath)(y(this.props.to,window.location.pathname)).pathname)},n.componentDidMount=function(){this.state.IOSupported||___loader.enqueue((0,f.parsePath)(y(this.props.to,window.location.pathname)).pathname)},n.componentWillUnmount=function(){if(this.io){var e=this.io,t=e.instance,n=e.el;t.unobserve(n),t.disconnect()}},n.handleRef=function(e){var t,n,r,o=this;this.props.innerRef&&this.props.innerRef.hasOwnProperty("current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=(t=e,n=function(){___loader.enqueue((0,f.parsePath)(y(o.props.to,window.location.pathname)).pathname)},(r=new window.IntersectionObserver((function(e){e.forEach((function(e){t===e.target&&(e.isIntersecting||e.intersectionRatio>0)&&(r.unobserve(t),r.disconnect(),n())}))}))).observe(t),{instance:r,el:t}))},n.render=function(){var e=this,t=this.props,n=t.to,r=t.getProps,i=void 0===r?this.defaultGetProps:r,c=t.onClick,u=t.onMouseEnter,p=(t.activeClassName,t.activeStyle,t.innerRef,t.partiallyActive,t.state),d=t.replace,h=(0,o.default)(t,["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace"]);return s.default.createElement(l.Location,null,(function(t){var r=t.location,o=y(n,r.pathname);return g(o)?s.default.createElement(l.Link,(0,a.default)({to:o,state:p,getProps:i,innerRef:e.handleRef,onMouseEnter:function(e){u&&u(e),___loader.hovering((0,f.parsePath)(o).pathname)},onClick:function(t){if(c&&c(t),!(0!==t.button||e.props.target||t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)){t.preventDefault();var n=d,r=encodeURI(o)===window.location.pathname;"boolean"!=typeof d&&r&&(n=!0),window.___navigate(o,{state:p,replace:n})}return!0}},h)):s.default.createElement("a",(0,a.default)({href:o},h))}))},t}(s.default.Component);w.propTypes=(0,a.default)({},b,{onClick:u.default.func,to:u.default.string.isRequired,replace:u.default.bool,state:u.default.object});var R=function(e,t,n){return console.warn('The "'+e+'" method is now deprecated and will be removed in Gatsby v'+n+'. Please use "'+t+'" instead.')},P=s.default.forwardRef((function(e,t){return s.default.createElement(w,(0,a.default)({innerRef:t},e))}));t.default=P;t.navigate=function(e,t){window.___navigate(y(e,window.location.pathname),t)};var O=function(e){R("push","navigate",3),window.___push(y(e,window.location.pathname))};t.push=O;t.replace=function(e){R("replace","navigate",3),window.___replace(y(e,window.location.pathname))};t.navigateTo=function(e){return R("navigateTo","navigate",3),O(e)}},"/hTd":function(e,t,n){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var r=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var n=this.getStateKey(e,t);try{var r=window.sessionStorage.getItem(n);return r?JSON.parse(r):0}catch(o){return window&&window.___GATSBY_REACT_ROUTER_SCROLL&&window.___GATSBY_REACT_ROUTER_SCROLL[n]?window.___GATSBY_REACT_ROUTER_SCROLL[n]:0}},t.save=function(e,t,n){var r=this.getStateKey(e,t),o=JSON.stringify(n);try{window.sessionStorage.setItem(r,o)}catch(a){window&&window.___GATSBY_REACT_ROUTER_SCROLL||(window.___GATSBY_REACT_ROUTER_SCROLL={}),window.___GATSBY_REACT_ROUTER_SCROLL[r]=JSON.parse(o)}},t.getStateKey=function(e,t){var n="@@scroll|"+e.pathname;return null==t?n:n+"|"+t},e}();t.SessionStorage=r},"284h":function(e,t,n){var r=n("cDf5");function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}e.exports=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var c=a?Object.getOwnPropertyDescriptor(e,i):null;c&&(c.get||c.set)?Object.defineProperty(n,i,c):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}},"30RF":function(e,t,n){"use strict";n.d(t,"d",(function(){return l})),n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return d}));var r=n("LYrO"),o=n("cSJ8"),a=function(e){return void 0===e?e:"/"===e?"/":"/"===e.charAt(e.length-1)?e.slice(0,-1):e},i=new Map,c=[],u=function(e){var t=decodeURIComponent(e);return Object(o.a)(t,"").split("#")[0].split("?")[0]};function s(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}var l=function(e){c=e},p=function(e){var t=h(e),n=c.map((function(e){var t=e.path;return{path:e.matchPath,originalPath:t}})),o=Object(r.pick)(n,t);return o?a(o.route.originalPath):null},f=function(e){var t=h(e),n=c.map((function(e){var t=e.path;return{path:e.matchPath,originalPath:t}})),o=Object(r.pick)(n,t);return o?o.params:{}},d=function(e){var t=u(s(e));if(i.has(t))return i.get(t);var n=p(t);return n||(n=h(e)),i.set(t,n),n},h=function(e){var t=u(s(e));return"/index.html"===t&&(t="/"),t=a(t)}},"3uz+":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)();return(0,o.useLayoutEffect)((function(){if(i.current){var r=n.read(t,e);i.current.scrollTo(0,r||0)}}),[]),{ref:i,onScroll:function(){i.current&&n.save(t,e,i.current.scrollTop)}}};var r=n("Enzk"),o=n("q1tI"),a=n("YwZP")},"5yr3":function(e,t,n){"use strict";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)}))}}}();t.a=r},"6qGY":function(e,t){e.exports=Object.assign},"7hJ6":function(e,t,n){"use strict";t.__esModule=!0,t.useScrollRestoration=t.ScrollContainer=t.ScrollContext=void 0;var r=n("Enzk");t.ScrollContext=r.ScrollHandler;var o=n("hd9s");t.ScrollContainer=o.ScrollContainer;var a=n("3uz+");t.useScrollRestoration=a.useScrollRestoration},"8OQS":function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},"94VI":function(e,t){t.polyfill=function(e){return e}},"9Xx/":function(e,t,n){"use strict";n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));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(e){var t=e.location,n=t.search,r=t.hash,o=t.href,a=t.origin,i=t.protocol,u=t.host,s=t.hostname,l=t.port,p=e.location.pathname;!p&&o&&c&&(p=new URL(o).pathname);return{pathname:encodeURI(decodeURI(p)),search:n,hash:r,href:o,origin:a,protocol:i,host:u,hostname:s,port:l,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},a=function(e,t){var n=[],a=o(e),i=!1,c=function(){};return{get location(){return a},get transitioning(){return i},_onTransitionComplete:function(){i=!1,c()},listen:function(t){n.push(t);var r=function(){a=o(e),t({location:a,action:"POP"})};return e.addEventListener("popstate",r),function(){e.removeEventListener("popstate",r),n=n.filter((function(e){return e!==t}))}},navigate:function(t){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=u.state,l=u.replace,p=void 0!==l&&l;if("number"==typeof t)e.history.go(t);else{s=r({},s,{key:Date.now()+""});try{i||p?e.history.replaceState(s,null,t):e.history.pushState(s,null,t)}catch(d){e.location[p?"replace":"assign"](t)}}a=o(e),i=!0;var f=new Promise((function(e){return c=e}));return n.forEach((function(e){return e({location:a,action:"PUSH"})})),f}}},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(e,t,n){var i=n.split("?"),c=i[0],u=i[1],s=void 0===u?"":u;r++,o.push({pathname:c,search:s.length?"?"+s:s}),a.push(e)},replaceState:function(e,t,n){var i=n.split("?"),c=i[0],u=i[1],s=void 0===u?"":u;o[r]={pathname:c,search:s},a[r]=e},go:function(e){var t=r+e;t<0||t>a.length-1||(r=t)}}}},c=!("undefined"==typeof window||!window.document||!window.document.createElement),u=a(c?window:i()),s=u.navigate},Axch:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},Enzk:function(e,t,n){"use strict";var r=n("284h"),o=n("TqRt");t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var a=o(n("PJYZ")),i=o(n("VbXa")),c=r(n("q1tI")),u=o(n("17x9")),s=n("/hTd"),l=c.createContext(new s.SessionStorage);t.ScrollContext=l,l.displayName="GatsbyScrollContext";var p=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this)._stateStorage=new s.SessionStorage,t.scrollListener=function(){var e=t.props.location.key;e&&t._stateStorage.save(t.props.location,e,window.scrollY)},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,a.default)(t),e,n)},t}(0,i.default)(t,e);var n=t.prototype;return n.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,n=t.key,r=t.hash;n&&(e=this._stateStorage.read(this.props.location,n)),e?this.windowScroll(e,void 0):r&&this.scrollToHash(decodeURI(r),void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(e){var t,n=this.props.location,r=n.hash,o=n.key;o&&(t=this._stateStorage.read(this.props.location,o)),r&&0===t?this.scrollToHash(decodeURI(r),e):this.windowScroll(t,e)},n.render=function(){return c.createElement(l.Provider,{value:this._stateStorage},this.props.children)},t}(c.Component);t.ScrollHandler=p,p.propTypes={shouldUpdateScroll:u.default.func,children:u.default.element.isRequired,location:u.default.object.isRequired}},IOVJ:function(e,t,n){"use strict";var r=n("dI71"),o=n("q1tI"),a=n.n(o),i=n("emEt"),c=n("xtsi"),u=n("30RF"),s=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=Object.assign({},this.props,{params:Object.assign({},Object(u.c)(this.props.location.pathname),this.props.pageResources.json.pageContext.__params),pathContext:this.props.pageContext}),t=Object(c.apiRunner)("replaceComponentRenderer",{props:this.props,loader:i.publicLoader})[0]||Object(o.createElement)(this.props.pageResources.component,Object.assign({},e,{key:this.props.path||this.props.pageResources.page.path}));return Object(c.apiRunner)("wrapPageElement",{element:t,props:e},t,(function(t){return{element:t.result,props:e}})).pop()},t}(a.a.Component);t.a=s},JeVI:function(e){e.exports=JSON.parse("[]")},LYrO:function(e,t,n){"use strict";n.r(t),n.d(t,"startsWith",(function(){return a})),n.d(t,"pick",(function(){return i})),n.d(t,"match",(function(){return c})),n.d(t,"resolve",(function(){return u})),n.d(t,"insertParams",(function(){return s})),n.d(t,"validateRedirect",(function(){return l})),n.d(t,"shallowCompare",(function(){return b}));var r=n("yJwK"),o=n.n(r),a=function(e,t){return e.substr(0,t.length)===t},i=function(e,t){for(var n=void 0,r=void 0,a=t.split("?")[0],i=m(a),c=""===i[0],u=v(e),s=0,l=u.length;s<l;s++){var f=!1,h=u[s].route;if(h.default)r={route:h,params:{},uri:t};else{for(var g=m(h.path),b={},w=Math.max(i.length,g.length),R=0;R<w;R++){var P=g[R],O=i[R];if(d(P)){b[P.slice(1)||"*"]=i.slice(R).map(decodeURIComponent).join("/");break}if(void 0===O){f=!0;break}var S=p.exec(P);if(S&&!c){-1===y.indexOf(S[1])||o()(!1);var E=decodeURIComponent(O);b[S[1]]=E}else if(P!==O){f=!0;break}}if(!f){n={route:h,params:b,uri:"/"+i.slice(0,R).join("/")};break}}}return n||r||null},c=function(e,t){return i([{path:e}],t)},u=function(e,t){if(a(e,"/"))return e;var n=e.split("?"),r=n[0],o=n[1],i=t.split("?")[0],c=m(r),u=m(i);if(""===c[0])return g(i,o);if(!a(c[0],".")){var s=u.concat(c).join("/");return g(("/"===i?"":"/")+s,o)}for(var l=u.concat(c),p=[],f=0,d=l.length;f<d;f++){var h=l[f];".."===h?p.pop():"."!==h&&p.push(h)}return g("/"+p.join("/"),o)},s=function(e,t){var n=e.split("?"),r=n[0],o=n[1],a=void 0===o?"":o,i="/"+m(r).map((function(e){var n=p.exec(e);return n?t[n[1]]:e})).join("/"),c=t.location,u=(c=void 0===c?{}:c).search,s=(void 0===u?"":u).split("?")[1]||"";return i=g(i,a,s)},l=function(e,t){var n=function(e){return f(e)};return m(e).filter(n).sort().join("/")===m(t).filter(n).sort().join("/")},p=/^:(.+)/,f=function(e){return p.test(e)},d=function(e){return e&&"*"===e[0]},h=function(e,t){return{route:e,score:e.default?0:m(e.path).reduce((function(e,t){return e+=4,!function(e){return""===e}(t)?f(t)?e+=2:d(t)?e-=5:e+=3:e+=1,e}),0),index:t}},v=function(e){return e.map(h).sort((function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index}))},m=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},g=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e+((n=n.filter((function(e){return e&&e.length>0})))&&n.length>0?"?"+n.join("&"):"")},y=["uri","path"],b=function(e,t){var n=Object.keys(e);return n.length===Object.keys(t).length&&n.every((function(n){return t.hasOwnProperty(n)&&e[n]===t[n]}))}},LeKB:function(e,t,n){e.exports=[{plugin:n("hUyl"),options:{plugins:[],maintainCase:!0,elements:["h1","h2","h3","h4"]}},{plugin:n("q9nr"),options:{plugins:[],maxWidth:600}}]},LfRR:function(e,t,n){e.exports=n("vjz1")()},MMVs:function(e,t,n){e.exports=function(){var e=!1;-1!==navigator.appVersion.indexOf("MSIE 10")&&(e=!0);var t,n=[],r="object"==typeof document&&document,o=e?r.documentElement.doScroll("left"):r.documentElement.doScroll,a=r&&(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState);return!a&&r&&r.addEventListener("DOMContentLoaded",t=function(){for(r.removeEventListener("DOMContentLoaded",t),a=1;t=n.shift();)t()}),function(e){a?setTimeout(e,0):n.push(e)}}()},NSX3:function(e,t,n){"use strict";n.r(t);var r=n("xtsi");"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then((function(e){e.addEventListener("updatefound",(function(){Object(r.apiRunner)("onServiceWorkerUpdateFound",{serviceWorker:e});var t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(function(){switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,Object(r.apiRunner)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),Object(r.apiRunner)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),Object(r.apiRunner)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":Object(r.apiRunner)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},NsGk:function(e,t,n){t.components={"component---src-pages-about-js":function(){return Promise.all([n.e(2),n.e(1),n.e(0),n.e(5)]).then(n.bind(null,"3XHS"))},"component---src-pages-guides-js":function(){return Promise.all([n.e(2),n.e(1),n.e(0),n.e(6)]).then(n.bind(null,"P+Eh"))},"component---src-pages-index-js":function(){return Promise.all([n.e(2),n.e(1),n.e(0),n.e(7)]).then(n.bind(null,"RXBc"))},"component---src-templates-markdown-js":function(){return Promise.all([n.e(2),n.e(1),n.e(0),n.e(8)]).then(n.bind(null,"vSVU"))}}},PJYZ:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},TqRt:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},UxWs:function(e,t,n){"use strict";n.r(t);var r=n("dI71"),o=n("xtsi"),a=n("q1tI"),i=n.n(a),c=n("i8i4"),u=n.n(c),s=n("YwZP"),l=n("7hJ6"),p=n("MMVs"),f=n.n(p),d=n("Wbzz"),h=n("emEt"),v=n("YLt+"),m=n("5yr3"),g={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"},y=n("9Xx/"),b=n("+ZDr"),w=v.reduce((function(e,t){return e[t.fromPath]=t,e}),{});function R(e){var t=w[e];return null!=t&&(window.___replace(t.toPath),!0)}var P=function(e,t){R(e.pathname)||Object(o.apiRunner)("onPreRouteUpdate",{location:e,prevLocation:t})},O=function(e,t){R(e.pathname)||Object(o.apiRunner)("onRouteUpdate",{location:e,prevLocation:t})},S=function(e,t){if(void 0===t&&(t={}),"number"!=typeof e){var n=Object(b.parsePath)(e).pathname,r=w[n];if(r&&(e=r.toPath,n=Object(b.parsePath)(e).pathname),window.___swUpdated)window.location=n;else{var a=setTimeout((function(){m.a.emit("onDelayedLoadPageResources",{pathname:n}),Object(o.apiRunner)("onRouteUpdateDelayed",{location:window.location})}),1e3);h.default.loadPage(n).then((function(r){if(!r||r.status===h.PageResourceStatus.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(a);r&&r.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),console.log("Site has changed on server. Reloading browser"),window.location=n),Object(s.navigate)(e,t),clearTimeout(a)}))}}else y.c.navigate(e)};function E(e,t){var n=this,r=t.location,a=r.pathname,i=r.hash,c=Object(o.apiRunner)("shouldUpdateScroll",{prevRouterProps:e,pathname:a,routerProps:{location:r},getSavedScrollPosition:function(e){return n._stateStorage.read(e)}});if(c.length>0)return c[c.length-1];if(e&&e.location.pathname===a)return i?decodeURI(i.slice(1)):[0,0];return!0}var _=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=i.a.createRef(),n}Object(r.a)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){var n=this;requestAnimationFrame((function(){var e="new page at "+n.props.location.pathname;document.title&&(e=document.title);var t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);var r="Navigated to "+e;n.announcementRef.current&&(n.announcementRef.current.innerText!==r&&(n.announcementRef.current.innerText=r))}))},n.render=function(){return i.a.createElement("div",Object.assign({},g,{ref:this.announcementRef}))},t}(i.a.Component),j=function(e){function t(t){var n;return n=e.call(this,t)||this,P(t.location,null),n}Object(r.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){O(this.props.location,null)},n.componentDidUpdate=function(e,t,n){n&&O(this.props.location,e.location)},n.getSnapshotBeforeUpdate=function(e){return this.props.location.pathname!==e.location.pathname&&(P(this.props.location,e.location),!0)},n.render=function(){return i.a.createElement(i.a.Fragment,null,this.props.children,i.a.createElement(_,{location:location}))},t}(i.a.Component),C=n("IOVJ"),x=n("NsGk"),k=n.n(x);function T(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 L=function(e){function t(t){var n;n=e.call(this)||this;var r=t.location,o=t.pageResources;return n.state={location:Object.assign({},r),pageResources:o||h.default.loadPageSync(r.pathname)},n}Object(r.a)(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.location;return t.location.href!==n.href?{pageResources:h.default.loadPageSync(n.pathname),location:Object.assign({},n)}:{location:Object.assign({},n)}};var n=t.prototype;return n.loadResources=function(e){var t=this;h.default.loadPage(e).then((function(n){n&&n.status!==h.PageResourceStatus.Error?t.setState({location:Object.assign({},window.location),pageResources:n}):(window.history.replaceState({},"",location.href),window.location=e)}))},n.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,n){return T(e.props,t)||T(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname),!1)},n.render=function(){return this.props.children(this.state)},t}(i.a.Component),D=n("cSJ8"),I=n("JeVI"),U=new h.ProdLoader(k.a,I);Object(h.setLoader)(U),U.setApiRunner(o.apiRunner),window.asyncRequires=k.a,window.___emitter=m.a,window.___loader=h.publicLoader,y.c.listen((function(e){e.location.action=e.action})),window.___push=function(e){return S(e,{replace:!1})},window.___replace=function(e){return S(e,{replace:!0})},window.___navigate=function(e,t){return S(e,t)},R(window.location.pathname),Object(o.apiRunnerAsync)("onClientEntry").then((function(){Object(o.apiRunner)("registerServiceWorker").length>0&&n("NSX3");var e=function(e){return i.a.createElement(s.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},i.a.createElement(C.a,e))},t=i.a.createContext({}),a=function(e){function n(){return e.apply(this,arguments)||this}return Object(r.a)(n,e),n.prototype.render=function(){var e=this.props.children;return i.a.createElement(s.Location,null,(function(n){var r=n.location;return i.a.createElement(L,{location:r},(function(n){var r=n.pageResources,o=n.location,a=Object(h.getStaticQueryResults)();return i.a.createElement(d.b.Provider,{value:a},i.a.createElement(t.Provider,{value:{pageResources:r,location:o}},e))}))}))},n}(i.a.Component),c=function(n){function o(){return n.apply(this,arguments)||this}return Object(r.a)(o,n),o.prototype.render=function(){var n=this;return i.a.createElement(t.Consumer,null,(function(t){var r=t.pageResources,o=t.location;return i.a.createElement(j,{location:o},i.a.createElement(l.ScrollContext,{location:o,shouldUpdateScroll:E},i.a.createElement(s.Router,{basepath:"",location:o,id:"gatsby-focus-wrapper"},i.a.createElement(e,Object.assign({path:"/404.html"===r.page.path?Object(D.a)(o.pathname,""):encodeURI(r.page.matchPath||r.page.path)},n.props,{location:o,pageResources:r},r.json)))))}))},o}(i.a.Component),p=window,v=p.pagePath,m=p.location;v&&""+v!==m.pathname&&!(U.findMatchPath(Object(D.a)(m.pathname,""))||"/404.html"===v||v.match(/^\/404\/?$/)||v.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&Object(s.navigate)(""+v+m.search+m.hash,{replace:!0}),h.publicLoader.loadPage(m.pathname).then((function(e){if(!e||e.status===h.PageResourceStatus.Error)throw new Error("page resources for "+m.pathname+" not found. Not rendering React");window.___webpackCompilationHash=e.page.webpackCompilationHash;var t=Object(o.apiRunner)("wrapRootElement",{element:i.a.createElement(c,null)},i.a.createElement(c,null),(function(e){return{element:e.result}})).pop(),n=function(){return i.a.createElement(a,null,t)},r=Object(o.apiRunner)("replaceHydrateFunction",void 0,u.a.hydrate)[0];f()((function(){r(i.a.createElement(n,null),"undefined"!=typeof window?document.getElementById("___gatsby"):void 0,(function(){Object(o.apiRunner)("onInitialClientRender")}))}))}))}))},VbXa:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},Wbzz:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return u}));var r=n("q1tI"),o=n.n(r),a=n("+ZDr"),i=n.n(a);n.d(t,"a",(function(){return i.a}));n("7hJ6"),n("lw3w"),n("emEt").default.enqueue;var c=o.a.createContext({});var u=function(e){var t;o.a.useContext;var n=o.a.useContext(c);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==n||null===(t=n[e])||void 0===t?void 0: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")}},"YLt+":function(e){e.exports=JSON.parse("[]")},YwZP:function(e,t,n){"use strict";n.r(t),n.d(t,"Link",(function(){return L})),n.d(t,"Location",(function(){return b})),n.d(t,"LocationProvider",(function(){return w})),n.d(t,"Match",(function(){return W})),n.d(t,"Redirect",(function(){return F})),n.d(t,"Router",(function(){return O})),n.d(t,"ServerLocation",(function(){return R})),n.d(t,"isRedirect",(function(){return I})),n.d(t,"redirectTo",(function(){return U})),n.d(t,"useLocation",(function(){return A})),n.d(t,"useNavigate",(function(){return M})),n.d(t,"useParams",(function(){return N})),n.d(t,"useMatch",(function(){return J})),n.d(t,"BaseContext",(function(){return P}));var r=n("q1tI"),o=n.n(r),a=(n("LfRR"),n("yJwK")),i=n.n(a),c=n("nqlD"),u=n.n(c),s=n("94VI"),l=n("LYrO");n.d(t,"matchPath",(function(){return l.match}));var p=n("9Xx/");n.d(t,"createHistory",(function(){return p.a})),n.d(t,"createMemorySource",(function(){return p.b})),n.d(t,"navigate",(function(){return p.d})),n.d(t,"globalHistory",(function(){return p.c}));var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function d(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(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 m(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 g=function(e,t){var n=u()(t);return n.displayName=e,n},y=g("Location"),b=function(e){var t=e.children;return o.a.createElement(y.Consumer,null,(function(e){return e?t(e):o.a.createElement(w,null,t)}))},w=function(e){function t(){var n,r;h(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=v(this,e.call.apply(e,[this].concat(a))),r.state={context:r.getContext(),refs:{unlisten:null}},v(r,n)}return m(t,e),t.prototype.getContext=function(){var e=this.props.history;return{navigate:e.navigate,location:e.location}},t.prototype.componentDidCatch=function(e,t){if(!I(e))throw e;(0,this.props.history.navigate)(e.uri,{replace:!0})},t.prototype.componentDidUpdate=function(e,t){t.context.location!==this.state.context.location&&this.props.history._onTransitionComplete()},t.prototype.componentDidMount=function(){var e=this,t=this.state.refs,n=this.props.history;n._onTransitionComplete(),t.unlisten=n.listen((function(){Promise.resolve().then((function(){requestAnimationFrame((function(){e.unmounted||e.setState((function(){return{context:e.getContext()}}))}))}))}))},t.prototype.componentWillUnmount=function(){var e=this.state.refs;this.unmounted=!0,e.unlisten()},t.prototype.render=function(){var e=this.state.context,t=this.props.children;return o.a.createElement(y.Provider,{value:e},"function"==typeof t?t(e):t||null)},t}(o.a.Component);w.defaultProps={history:p.c};var R=function(e){var t=e.url,n=e.children,r=t.indexOf("?"),a=void 0,i="";return r>-1?(a=t.substring(0,r),i=t.substring(r)):a=t,o.a.createElement(y.Provider,{value:{location:{pathname:a,search:i,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},P=g("Base",{baseuri:"/",basepath:"/"}),O=function(e){return o.a.createElement(P.Consumer,null,(function(t){return o.a.createElement(b,null,(function(n){return o.a.createElement(S,f({},t,n,e))}))}))},S=function(e){function t(){return h(this,t),v(this,e.apply(this,arguments))}return m(t,e),t.prototype.render=function(){var e=this.props,t=e.location,n=e.navigate,r=e.basepath,a=e.primary,i=e.children,c=(e.baseuri,e.component),u=void 0===c?"div":c,s=d(e,["location","navigate","basepath","primary","children","baseuri","component"]),p=o.a.Children.toArray(i).reduce((function(e,t){var n=Y(r)(t);return e.concat(n)}),[]),h=t.pathname,v=Object(l.pick)(p,h);if(v){var m=v.params,g=v.uri,y=v.route,b=v.route.value;r=y.default?r:y.path.replace(/\*$/,"");var w=f({},m,{uri:g,location:t,navigate:function(e,t){return n(Object(l.resolve)(e,g),t)}}),R=o.a.cloneElement(b,w,b.props.children?o.a.createElement(O,{location:t,primary:a},b.props.children):void 0),S=a?_:u,E=a?f({uri:g,location:t,component:u},s):s;return o.a.createElement(P.Provider,{value:{baseuri:g,basepath:r}},o.a.createElement(S,E,R))}return null},t}(o.a.PureComponent);S.defaultProps={primary:!0};var E=g("Focus"),_=function(e){var t=e.uri,n=e.location,r=e.component,a=d(e,["uri","location","component"]);return o.a.createElement(E.Consumer,null,(function(e){return o.a.createElement(x,f({},a,{component:r,requestFocus:e,uri:t,location:n}))}))},j=!0,C=0,x=function(e){function t(){var n,r;h(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=v(this,e.call.apply(e,[this].concat(a))),r.state={},r.requestFocus=function(e){!r.state.shouldFocus&&e&&e.focus()},v(r,n)}return m(t,e),t.getDerivedStateFromProps=function(e,t){if(null==t.uri)return f({shouldFocus:!0},e);var n=e.uri!==t.uri,r=t.location.pathname!==e.location.pathname&&e.location.pathname===e.uri;return f({shouldFocus:n||r},e)},t.prototype.componentDidMount=function(){C++,this.focus()},t.prototype.componentWillUnmount=function(){0===--C&&(j=!0)},t.prototype.componentDidUpdate=function(e,t){e.location!==this.props.location&&this.state.shouldFocus&&this.focus()},t.prototype.focus=function(){var e=this.props.requestFocus;e?e(this.node):j?j=!1:this.node&&(this.node.contains(document.activeElement)||this.node.focus())},t.prototype.render=function(){var e=this,t=this.props,n=(t.children,t.style),r=(t.requestFocus,t.component),a=void 0===r?"div":r,i=(t.uri,t.location,d(t,["children","style","requestFocus","component","uri","location"]));return o.a.createElement(a,f({style:f({outline:"none"},n),tabIndex:"-1",ref:function(t){return e.node=t}},i),o.a.createElement(E.Provider,{value:this.requestFocus},this.props.children))},t}(o.a.Component);Object(s.polyfill)(x);var k=function(){},T=o.a.forwardRef;void 0===T&&(T=function(e){return e});var L=T((function(e,t){var n=e.innerRef,r=d(e,["innerRef"]);return o.a.createElement(P.Consumer,null,(function(e){e.basepath;var a=e.baseuri;return o.a.createElement(b,null,(function(e){var i=e.location,c=e.navigate,u=r.to,s=r.state,p=r.replace,h=r.getProps,v=void 0===h?k:h,m=d(r,["to","state","replace","getProps"]),g=Object(l.resolve)(u,a),y=encodeURI(g),b=i.pathname===y,w=Object(l.startsWith)(i.pathname,y);return o.a.createElement("a",f({ref:t||n,"aria-current":b?"page":void 0},m,v({isCurrent:b,isPartiallyCurrent:w,href:g,location:i}),{href:g,onClick:function(e){if(m.onClick&&m.onClick(e),B(e)){e.preventDefault();var t=p;if("boolean"!=typeof p&&b){var n=f({},i.state),r=(n.key,d(n,["key"]));t=Object(l.shallowCompare)(f({},s),r)}c(g,{state:s,replace:t})}}}))}))}))}));function D(e){this.uri=e}L.displayName="Link";var I=function(e){return e instanceof D},U=function(e){throw new D(e)},q=function(e){function t(){return h(this,t),v(this,e.apply(this,arguments))}return m(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.navigate,n=e.to,r=(e.from,e.replace),o=void 0===r||r,a=e.state,i=(e.noThrow,e.baseuri),c=d(e,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var e=Object(l.resolve)(n,i);t(Object(l.insertParams)(e,c),{replace:o,state:a})}))},t.prototype.render=function(){var e=this.props,t=(e.navigate,e.to),n=(e.from,e.replace,e.state,e.noThrow),r=e.baseuri,o=d(e,["navigate","to","from","replace","state","noThrow","baseuri"]),a=Object(l.resolve)(t,r);return n||U(Object(l.insertParams)(a,o)),null},t}(o.a.Component),F=function(e){return o.a.createElement(P.Consumer,null,(function(t){var n=t.baseuri;return o.a.createElement(b,null,(function(t){return o.a.createElement(q,f({},t,{baseuri:n},e))}))}))},W=function(e){var t=e.path,n=e.children;return o.a.createElement(P.Consumer,null,(function(e){var r=e.baseuri;return o.a.createElement(b,null,(function(e){var o=e.navigate,a=e.location,i=Object(l.resolve)(t,r),c=Object(l.match)(i,a.pathname);return n({navigate:o,location:a,match:c?f({},c.params,{uri:c.uri,path:t}):null})}))}))},A=function(){var e=Object(r.useContext)(y);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},M=function(){var e=Object(r.useContext)(y);if(!e)throw new Error("useNavigate 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.navigate},N=function(){var e=Object(r.useContext)(P);if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var t=A(),n=Object(l.match)(e.basepath,t.pathname);return n?n.params:null},J=function(e){if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");var t=Object(r.useContext)(P);if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var n=A(),o=Object(l.resolve)(e,t.baseuri),a=Object(l.match)(o,n.pathname);return a?f({},a.params,{uri:a.uri,path:e}):null},H=function(e){return e.replace(/(^\/+|\/+$)/g,"")},Y=function e(t){return function(n){if(!n)return null;if(n.type===o.a.Fragment&&n.props.children)return o.a.Children.map(n.props.children,e(t));if(n.props.path||n.props.default||n.type===F||i()(!1),n.type!==F||n.props.from&&n.props.to||i()(!1),n.type!==F||Object(l.validateRedirect)(n.props.from,n.props.to)||i()(!1),n.props.default)return{value:n,default:!0};var r=n.type===F?n.props.from:n.props.path,a="/"===r?t:H(t)+"/"+H(r);return{value:n,default:n.props.default,path:n.props.children?H(a)+"/*":a}}},B=function(e){return!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}},Ywee:function(e,t,n){e.exports=n("sTgB")()},cDf5:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},cSJ8: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}))},cu4x:function(e,t,n){"use strict";t.__esModule=!0,t.parsePath=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");-1!==a&&(n=t.substr(a),t=t.substr(0,a));return{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}},dI71:function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return r}))},emEt:function(e,t,n){"use strict";n.r(t),n.d(t,"PageResourceStatus",(function(){return p})),n.d(t,"BaseLoader",(function(){return g})),n.d(t,"ProdLoader",(function(){return b})),n.d(t,"setLoader",(function(){return w})),n.d(t,"publicLoader",(function(){return R})),n.d(t,"getStaticQueryResults",(function(){return P}));var r=n("dI71");function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var i=function(e){if("undefined"==typeof document)return!1;var t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e,t){return new Promise((function(n,r){if("undefined"!=typeof document){var o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach((function(e){o.setAttribute(e,t[e])})),o.onload=n,o.onerror=r,(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}else r()}))}:function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){200===r.status?t():n()},r.send(null)}))},c={},u=function(e,t){return new Promise((function(n){c[e]?n():i(e,t).then((function(){n(),c[e]=!0})).catch((function(){}))}))},s=n("5yr3"),l=n("30RF"),p={Error:"error",Success:"success"},f=function(e){return e&&e.default||e},d=function(e){var t;return"/page-data/"+("/"===e?"index":t=(t="/"===(t=e)[0]?t.slice(1):t).endsWith("/")?t.slice(0,-1):t)+"/page-data.json"};function h(e,t){return void 0===t&&(t="GET"),new Promise((function(n,r){var o=new XMLHttpRequest;o.open(t,e,!0),o.onreadystatechange=function(){4==o.readyState&&n(o)},o.send(null)}))}var v,m=function(e,t){void 0===t&&(t=null);var n={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes};return{component:t,json:e.result,page:n}},g=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,Object(l.d)(t)}var t=e.prototype;return t.memoizedGet=function(e){var t=this,n=this.inFlightNetworkRequests.get(e);return n||(n=h(e,"GET"),this.inFlightNetworkRequests.set(e,n)),n.then((function(n){return t.inFlightNetworkRequests.delete(e),n})).catch((function(n){throw t.inFlightNetworkRequests.delete(e),n}))},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((function(e){return e}))},t.fetchPageDataJson=function(e){var t=this,n=e.pagePath,r=e.retries,o=void 0===r?0:r,a=d(n);return this.memoizedGet(a).then((function(r){var a=r.status,i=r.responseText;if(200===a)try{var c=JSON.parse(i);if(void 0===c.path)throw new Error("not a valid pageData response");return Object.assign(e,{status:p.Success,payload:c})}catch(u){}return 404===a||200===a?"/404.html"===n?Object.assign(e,{status:p.Error}):t.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===a?Object.assign(e,{status:p.Error}):o<3?t.fetchPageDataJson(Object.assign(e,{retries:o+1})):Object.assign(e,{status:p.Error})}))},t.loadPageDataJson=function(e){var t=this,n=Object(l.b)(e);return this.pageDataDb.has(n)?Promise.resolve(this.pageDataDb.get(n)):this.fetchPageDataJson({pagePath:n}).then((function(e){return t.pageDataDb.set(n,e),e}))},t.findMatchPath=function(e){return Object(l.a)(e)},t.loadPage=function(e){var t=this,n=Object(l.b)(e);if(this.pageDb.has(n)){var r=this.pageDb.get(n);return Promise.resolve(r.payload)}if(this.inFlightDb.has(n))return this.inFlightDb.get(n);var o=Promise.all([this.loadAppData(),this.loadPageDataJson(n)]).then((function(e){var r=e[1];if(r.status===p.Error)return{status:p.Error};var o=r.payload,a=o,i=a.componentChunkName,c=a.staticQueryHashes,u=void 0===c?[]:c,l={},f=t.loadComponent(i).then((function(t){var n;return l.createdAt=new Date,t?(l.status=p.Success,!0===r.notFound&&(l.notFound=!0),o=Object.assign(o,{webpackCompilationHash:e[0]?e[0].webpackCompilationHash:""}),n=m(o,t)):l.status=p.Error,n})),d=Promise.all(u.map((function(e){if(t.staticQueryDb[e]){var n=t.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:n}}return t.memoizedGet("/page-data/sq/d/"+e+".json").then((function(t){var n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}}))}))).then((function(e){var n={};return e.forEach((function(e){var r=e.staticQueryHash,o=e.jsonPayload;n[r]=o,t.staticQueryDb[r]=o})),n}));return Promise.all([f,d]).then((function(e){var r,o=e[0],a=e[1];return o&&(r=Object.assign({},o,{staticQueryResults:a}),l.payload=r,s.a.emit("onPostLoadPageResources",{page:r,pageResources:r})),t.pageDb.set(n,l),r}))}));return o.then((function(e){t.inFlightDb.delete(n)})).catch((function(e){throw t.inFlightDb.delete(n),e})),this.inFlightDb.set(n,o),o},t.loadPageSync=function(e){var t=Object(l.b)(e);if(this.pageDb.has(t))return this.pageDb.get(t).payload},t.shouldPrefetch=function(e){return!!function(){if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0}()&&!this.pageDb.has(e)},t.prefetch=function(e){var t=this;if(!this.shouldPrefetch(e))return!1;if(this.prefetchTriggered.has(e)||(this.apiRunner("onPrefetchPathname",{pathname:e}),this.prefetchTriggered.add(e)),this.prefetchDisabled)return!1;var n=Object(l.b)(e);return this.doPrefetch(n).then((function(){t.prefetchCompleted.has(e)||(t.apiRunner("onPostPrefetchPathname",{pathname:e}),t.prefetchCompleted.add(e))})),!0},t.doPrefetch=function(e){throw new Error("doPrefetch not implemented")},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){var t=Object(l.b)(e),n=this.pageDataDb.get(t);if(n){var r=m(n.payload);return[].concat(a(y(r.page.componentChunkName)),[d(t)])}return null},t.isPageNotFound=function(e){var t=Object(l.b)(e),n=this.pageDb.get(t);return n&&!0===n.notFound},t.loadAppData=function(e){var t=this;return void 0===e&&(e=0),this.memoizedGet("/page-data/app-data.json").then((function(n){var r,o=n.status,a=n.responseText;if(200!==o&&e<3)return t.loadAppData(e+1);if(200===o)try{var i=JSON.parse(a);if(void 0===i.webpackCompilationHash)throw new Error("not a valid app-data response");r=i}catch(c){}return r}))},e}(),y=function(e){return(window.___chunkMapping[e]||[]).map((function(e){return""+e}))},b=function(e){function t(t,n){return e.call(this,(function(e){return t.components[e]?t.components[e]().then(f).catch((function(){return null})):Promise.resolve()}),n)||this}Object(r.a)(t,e);var n=t.prototype;return n.doPrefetch=function(e){var t=this,n=d(e);return u(n,{crossOrigin:"anonymous",as:"fetch"}).then((function(){return t.loadPageDataJson(e)})).then((function(e){if(e.status!==p.Success)return Promise.resolve();var t=e.payload,n=t.componentChunkName,r=y(n);return Promise.all(r.map(u)).then((function(){return t}))}))},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then((function(e){return e.notFound?h(t,"HEAD").then((function(t){return 200===t.status?{status:p.Error}:e})):e}))},t}(g),w=function(e){v=e},R={getResourcesForPathname:function(e){return console.warn("Warning: getResourcesForPathname is deprecated. Use loadPage instead"),v.i.loadPage(e)},getResourcesForPathnameSync:function(e){return console.warn("Warning: getResourcesForPathnameSync is deprecated. Use loadPageSync instead"),v.i.loadPageSync(e)},enqueue:function(e){return v.prefetch(e)},getResourceURLsForPathname:function(e){return v.getResourceURLsForPathname(e)},loadPage:function(e){return v.loadPage(e)},loadPageSync:function(e){return v.loadPageSync(e)},prefetch:function(e){return v.prefetch(e)},isPageNotFound:function(e){return v.isPageNotFound(e)},hovering:function(e){return v.hovering(e)},loadAppData:function(){return v.loadAppData()}};t.default=R;function P(){return v.staticQueryDb}},hUyl:function(e,t,n){"use strict";var r=0,o=function(e){var t=window.decodeURI(e.replace("#",""));if(""!==t){var n=document.getElementById(t);if(n){var o=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,a=document.documentElement.clientTop||document.body.clientTop||0,i=window.getComputedStyle(n),c=i.getPropertyValue("scroll-margin-top")||i.getPropertyValue("scroll-snap-margin-top")||"0px";return n.getBoundingClientRect().top+o-parseInt(c,10)-a-r}}return null};t.onInitialClientRender=function(e,t){t.offsetY&&(r=t.offsetY),requestAnimationFrame((function(){var e=o(window.location.hash);null!==e&&window.scrollTo(0,e)}))},t.shouldUpdateScroll=function(e){var t=e.routerProps.location,n=o(t.hash);return null===n||[0,n]}},hd9s:function(e,t,n){"use strict";var r=n("284h"),o=n("TqRt");t.__esModule=!0,t.ScrollContainer=void 0;var a=o(n("pVnL")),i=o(n("VbXa")),c=r(n("q1tI")),u=o(n("i8i4")),s=o(n("17x9")),l=n("Enzk"),p=n("YwZP"),f={scrollKey:s.default.string.isRequired,shouldUpdateScroll:s.default.func,children:s.default.element.isRequired},d=function(e){function t(t){return e.call(this,t)||this}(0,i.default)(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this,t=u.default.findDOMNode(this),n=this.props,r=n.location,o=n.scrollKey;if(t){t.addEventListener("scroll",(function(){e.props.context.save(r,o,t.scrollTop)}));var a=this.props.context.read(r,o);t.scrollTo(0,a||0)}},n.render=function(){return this.props.children},t}(c.Component),h=function(e){return c.createElement(p.Location,null,(function(t){var n=t.location;return c.createElement(l.ScrollContext.Consumer,null,(function(t){return c.createElement(d,(0,a.default)({},e,{context:t,location:n}))}))}))};t.ScrollContainer=h,h.propTypes=f},lw3w:function(e,t,n){var r;e.exports=(r=n("rzlk"))&&r.default||r},nqlD:function(e,t,n){var r=n("q1tI").createContext;e.exports=r,e.exports.default=r},ntOq:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},nwwn:function(e,t,n){"use strict";t.DEFAULT_OPTIONS={maxWidth:650,wrapperStyle:"",backgroundColor:"white",linkImagesToOriginal:!0,showCaptions:!1,markdownCaptions:!1,withWebp:!1,tracedSVG:!1,loading:"lazy",disableBgImageOnAlpha:!1,disableBgImage:!1},t.imageClass="gatsby-resp-image-image",t.imageWrapperClass="gatsby-resp-image-wrapper",t.imageBackgroundClass="gatsby-resp-image-background-image"},pVnL:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},q9nr:function(e,t,n){"use strict";var r=n("nwwn"),o=r.DEFAULT_OPTIONS,a=r.imageClass,i=r.imageBackgroundClass,c=r.imageWrapperClass;t.onRouteUpdate=function(e,t){for(var n=Object.assign({},o,t),r=document.querySelectorAll("."+c),u=function(e){var t=r[e],o=t.querySelector("."+i),c=t.querySelector("."+a),u=function(){o.style.transition="opacity 0.5s 0.5s",c.style.transition="opacity 0.5s",s()},s=function e(){o.style.opacity=0,c.style.opacity=1,c.style.color="inherit",c.style.boxShadow="inset 0px 0px 0px 400px "+n.backgroundColor,c.removeEventListener("load",u),c.removeEventListener("error",e)};c.style.opacity=0,c.addEventListener("load",u),c.addEventListener("error",s),c.complete&&s()},s=0;s<r.length;s++)u(s)}},rzlk:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("emEt"),i=n("IOVJ");t.default=function(e){var t=e.location,n=a.default.loadPageSync(t.pathname);return n?o.a.createElement(i.a,Object.assign({location:t,pageResources:n},n.json)):null}},sTgB:function(e,t,n){"use strict";var r=n("Axch");function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},vjz1:function(e,t,n){"use strict";var r=n("ntOq");function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},xtsi:function(e,t,n){var r=n("LeKB"),o=n("emEt").publicLoader,a=o.getResourcesForPathname,i=o.getResourcesForPathnameSync,c=o.getResourceURLsForPathname,u=o.loadPage,s=o.loadPageSync;t.apiRunner=function(e,t,n,o){void 0===t&&(t={});var l=r.map((function(n){if(n.plugin[e]){t.getResourcesForPathnameSync=i,t.getResourcesForPathname=a,t.getResourceURLsForPathname=c,t.loadPage=u,t.loadPageSync=s;var r=n.plugin[e](t,n.options);return r&&o&&(t=o({args:t,result:r,plugin:n})),r}}));return(l=l.filter((function(e){return void 0!==e}))).length>0?l:n?[n]:[]},t.apiRunnerAsync=function(e,t,n){return r.reduce((function(n,r){return r.plugin[e]?n.then((function(){return r.plugin[e](t,r.options)})):n}),Promise.resolve())}},yJwK:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,c){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,a,i,c],l=0;(u=new Error(t.replace(/%s/g,(function(){return s[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}}},[["UxWs",3,9]]]);
//# sourceMappingURL=app-3b3aa3c9c2bfd23c53b9.js.map