-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-3302bc0ab9a33d4e3bba.js
3 lines (3 loc) · 53.9 KB
/
app-3302bc0ab9a33d4e3bba.js
1
2
3
/*! For license information please see app-3302bc0ab9a33d4e3bba.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+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")),u=r(n("VbXa")),c=r(n("17x9")),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:c.default.string,activeStyle:c.default.object,partiallyActive:c.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,u.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,u=t.onClick,c=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){c&&c(e),___loader.hovering((0,f.parsePath)(o).pathname)},onClick:function(t){if(u&&u(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:c.default.func,to:c.default.string.isRequired,replace:c.default.bool,state:c.default.object});var P=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.')},R=s.default.forwardRef((function(e,t){return s.default.createElement(w,(0,a.default)({innerRef:t},e))}));t.default=R;t.navigate=function(e,t){window.___navigate(y(e,window.location.pathname),t)};var S=function(e){P("push","navigate",3),window.___push(y(e,window.location.pathname))};t.push=S;t.replace=function(e){P("replace","navigate",3),window.___replace(y(e,window.location.pathname))};t.navigateTo=function(e){return P("navigateTo","navigate",3),S(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 u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):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,u=[],c=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){u=e},p=function(e){var t=h(e),n=u.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=u.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=c(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=c(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},"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 c})),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,c=t.host,s=t.hostname,l=t.port,p=e.location.pathname;!p&&o&&u&&(p=new URL(o).pathname);return{pathname:encodeURI(decodeURI(p)),search:n,hash:r,href:o,origin:a,protocol:i,host:c,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,u=function(){};return{get location(){return a},get transitioning(){return i},_onTransitionComplete:function(){i=!1,u()},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 c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=c.state,l=c.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 u=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("?"),u=i[0],c=i[1],s=void 0===c?"":c;r++,o.push({pathname:u,search:s.length?"?"+s:s}),a.push(e)},replaceState:function(e,t,n){var i=n.split("?"),u=i[0],c=i[1],s=void 0===c?"":c;o[r]={pathname:u,search:s},a[r]=e},go:function(e){var t=r+e;t<0||t>a.length-1||(r=t)}}}},u=!("undefined"==typeof window||!window.document||!window.document.createElement),c=a(u?window:i()),s=c.navigate},"9hXx":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;t.default=function(e,t){if(!Array.isArray(t))return"manifest.webmanifest";var n=t.find((function(t){return e.startsWith(t.start_url)}));return n?"manifest_"+n.lang+".webmanifest":"manifest.webmanifest"}},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")),u=r(n("q1tI")),c=o(n("17x9")),s=n("/hTd"),l=u.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 u.createElement(l.Provider,{value:this._stateStorage},this.props.children)},t}(u.Component);t.ScrollHandler=p,p.propTypes={shouldUpdateScroll:c.default.func,children:c.default.element.isRequired,location:c.default.object.isRequired}},GddB:function(e,t){},IOVJ:function(e,t,n){"use strict";var r=n("dI71"),o=n("q1tI"),a=n.n(o),i=n("emEt"),u=n("xtsi"),c=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(c.c)(this.props.location.pathname),this.props.pageResources.json.pageContext.__params),pathContext:this.props.pageContext}),t=Object(u.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(u.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("[]")},KQm4:function(e,t,n){"use strict";function r(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 o(e){return function(e){if(Array.isArray(e))return r(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 r(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)?r(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.")}()}n.d(t,"a",(function(){return o}))},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 u})),n.d(t,"resolve",(function(){return c})),n.d(t,"insertParams",(function(){return s})),n.d(t,"validateRedirect",(function(){return l})),n.d(t,"shallowCompare",(function(){return b}));var r=n("QLaP"),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),u=""===i[0],c=v(e),s=0,l=c.length;s<l;s++){var f=!1,h=c[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),P=0;P<w;P++){var R=g[P],S=i[P];if(d(R)){b[R.slice(1)||"*"]=i.slice(P).map(decodeURIComponent).join("/");break}if(void 0===S){f=!0;break}var O=p.exec(R);if(O&&!u){-1===y.indexOf(O[1])||o()(!1);var _=decodeURIComponent(S);b[O[1]]=_}else if(R!==S){f=!0;break}}if(!f){n={route:h,params:b,uri:"/"+i.slice(0,P).join("/")};break}}}return n||r||null},u=function(e,t){return i([{path:e}],t)},c=function(e,t){if(a(e,"/"))return e;var n=e.split("?"),r=n[0],o=n[1],i=t.split("?")[0],u=m(r),c=m(i);if(""===u[0])return g(i,o);if(!a(u[0],".")){var s=c.concat(u).join("/");return g(("/"===i?"":"/")+s,o)}for(var l=c.concat(u),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("/"),u=t.location,c=(u=void 0===u?{}:u).search,s=(void 0===c?"":c).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("npZl"),options:{plugins:[],name:"PradyotPatil",short_name:"PradyotPatil",start_url:"/",background_color:"#020c1b",theme_color:"#0a192f",display:"minimal-ui",icon:"src/images/logo.png",cache_busting_mode:"query",include_favicon:!0,legacy:!0,theme_color_in_head:!0,cacheDigest:"1ffeb375b648b57b268227ac82559c57"}},{plugin:n("e/UW"),options:{plugins:[]}},{plugin:n("q9nr"),options:{plugins:[],maxWidth:700,linkImagesToOriginal:!0,quality:90,tracedSVG:{color:"#64ffda"}}},{plugin:n("pWkz"),options:{plugins:[],trackingId:"UA-45666519-2"}},{plugin:n("GddB"),options:{plugins:[]}}]},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---cache-caches-gatsby-plugin-offline-app-shell-js":function(){return n.e(3).then(n.t.bind(null,"zXQ9",7))},"component---src-pages-404-js":function(){return Promise.all([n.e(0),n.e(4)]).then(n.bind(null,"w2l6"))},"component---src-pages-archive-js":function(){return n.e(5).then(n.t.bind(null,"nRki",7))},"component---src-pages-index-js":function(){return Promise.all([n.e(0),n.e(6)]).then(n.bind(null,"RXBc"))},"component---src-pages-pensieve-index-js":function(){return Promise.all([n.e(0),n.e(7)]).then(n.bind(null,"SqBY"))},"component---src-pages-pensieve-tags-js":function(){return Promise.all([n.e(0),n.e(8)]).then(n.bind(null,"+W3S"))},"component---src-templates-post-js":function(){return Promise.all([n.e(0),n.e(9)]).then(n.bind(null,"6qSS"))},"component---src-templates-tag-js":function(){return Promise.all([n.e(0),n.e(10)]).then(n.bind(null,"ccoC"))}}},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}},QLaP:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,u){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 s=[n,r,o,a,i,u],l=0;(c=new Error(t.replace(/%s/g,(function(){return s[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},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),u=n("i8i4"),c=n.n(u),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 P(e){var t=w[e];return null!=t&&(window.___replace(t.toPath),!0)}var R=function(e,t){P(e.pathname)||Object(o.apiRunner)("onPreRouteUpdate",{location:e,prevLocation:t})},S=function(e,t){P(e.pathname)||Object(o.apiRunner)("onRouteUpdate",{location:e,prevLocation:t})},O=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,t){var n=this,r=t.location,a=r.pathname,i=r.hash,u=Object(o.apiRunner)("shouldUpdateScroll",{prevRouterProps:e,pathname:a,routerProps:{location:r},getSavedScrollPosition:function(e){return n._stateStorage.read(e)}});if(u.length>0)return u[u.length-1];if(e&&e.location.pathname===a)return i?decodeURI(i.slice(1)):[0,0];return!0}var E=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,R(t.location,null),n}Object(r.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){S(this.props.location,null)},n.shouldComponentUpdate=function(e){return this.props.location.href!==e.location.href&&(R(this.props.location,e.location),!0)},n.componentDidUpdate=function(e){this.props.location.href!==e.location.href&&S(this.props.location,e.location)},n.render=function(){return i.a.createElement(i.a.Fragment,null,this.props.children,i.a.createElement(E,{location:location}))},t}(i.a.Component),C=n("IOVJ"),k=n("NsGk"),x=n.n(k);function L(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 T=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 L(e.props,t)||L(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"),U=n("JeVI"),A=new h.ProdLoader(x.a,U);Object(h.setLoader)(A),A.setApiRunner(o.apiRunner),window.asyncRequires=x.a,window.___emitter=m.a,window.___loader=h.publicLoader,y.c.listen((function(e){e.location.action=e.action})),window.___push=function(e){return O(e,{replace:!1})},window.___replace=function(e){return O(e,{replace:!0})},window.___navigate=function(e,t){return O(e,t)},P(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(T,{location:r},(function(n){var r=n.pageResources,o=n.location,a=Object(h.getStaticQueryResults)();return i.a.createElement(d.StaticQueryContext.Provider,{value:a},i.a.createElement(t.Provider,{value:{pageResources:r,location:o}},e))}))}))},n}(i.a.Component),u=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:_},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&&!(A.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(u,null)},i.a.createElement(u,null),(function(e){return{element:e.result}})).pop(),n=function(){return i.a.createElement(a,null,t)},r=Object(o.apiRunner)("replaceHydrateFunction",void 0,c.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.r(t),n.d(t,"graphql",(function(){return v})),n.d(t,"StaticQueryContext",(function(){return p})),n.d(t,"StaticQuery",(function(){return d})),n.d(t,"useStaticQuery",(function(){return h})),n.d(t,"prefetchPathname",(function(){return l})),n.d(t,"unstable_collectionGraphql",(function(){return m}));var r=n("q1tI"),o=n.n(r),a=n("+ZDr"),i=n.n(a);n.d(t,"Link",(function(){return i.a})),n.d(t,"withAssetPrefix",(function(){return a.withAssetPrefix})),n.d(t,"withPrefix",(function(){return a.withPrefix})),n.d(t,"parsePath",(function(){return a.parsePath})),n.d(t,"navigate",(function(){return a.navigate})),n.d(t,"push",(function(){return a.push})),n.d(t,"replace",(function(){return a.replace})),n.d(t,"navigateTo",(function(){return a.navigateTo}));var u=n("7hJ6");n.d(t,"useScrollRestoration",(function(){return u.useScrollRestoration}));var c=n("lw3w"),s=n.n(c);n.d(t,"PageRenderer",(function(){return s.a}));var l=n("emEt").default.enqueue,p=o.a.createContext({});function f(e){var t=e.staticQueryData,n=e.data,r=e.query,a=e.render,i=n?n.data:t[r]&&t[r].data;return o.a.createElement(o.a.Fragment,null,i&&a(i),!i&&o.a.createElement("div",null,"Loading (StaticQuery)"))}var d=function(e){var t=e.data,n=e.query,r=e.render,a=e.children;return o.a.createElement(p.Consumer,null,(function(e){return o.a.createElement(f,{data:t,query:n,render:r||a,staticQueryData:e})}))},h=function(e){var t;o.a.useContext;var n=o.a.useContext(p);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")};function v(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}function m(){return null}},"YLt+":function(e){e.exports=JSON.parse("[]")},YVoz:function(e,t,n){"use strict";e.exports=Object.assign},YwZP:function(e,t,n){"use strict";n.r(t),n.d(t,"Link",(function(){return T})),n.d(t,"Location",(function(){return b})),n.d(t,"LocationProvider",(function(){return w})),n.d(t,"Match",(function(){return I})),n.d(t,"Redirect",(function(){return q})),n.d(t,"Router",(function(){return S})),n.d(t,"ServerLocation",(function(){return P})),n.d(t,"isRedirect",(function(){return U})),n.d(t,"redirectTo",(function(){return A})),n.d(t,"useLocation",(function(){return M})),n.d(t,"useNavigate",(function(){return F})),n.d(t,"useParams",(function(){return N})),n.d(t,"useMatch",(function(){return J})),n.d(t,"BaseContext",(function(){return R}));var r=n("q1tI"),o=n.n(r),a=(n("17x9"),n("QLaP")),i=n.n(a),u=n("nqlD"),c=n.n(u),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=c()(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(!U(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 P=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)},R=g("Base",{baseuri:"/",basepath:"/"}),S=function(e){return o.a.createElement(R.Consumer,null,(function(t){return o.a.createElement(b,null,(function(n){return o.a.createElement(O,f({},t,n,e))}))}))},O=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,u=(e.baseuri,e.component),c=void 0===u?"div":u,s=d(e,["location","navigate","basepath","primary","children","baseuri","component"]),p=o.a.Children.toArray(i).reduce((function(e,t){var n=G(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)}}),P=o.a.cloneElement(b,w,b.props.children?o.a.createElement(S,{location:t,primary:a},b.props.children):void 0),O=a?E:c,_=a?f({uri:g,location:t,component:c},s):s;return o.a.createElement(R.Provider,{value:{baseuri:g,basepath:r}},o.a.createElement(O,_,P))}return null},t}(o.a.PureComponent);O.defaultProps={primary:!0};var _=g("Focus"),E=function(e){var t=e.uri,n=e.location,r=e.component,a=d(e,["uri","location","component"]);return o.a.createElement(_.Consumer,null,(function(e){return o.a.createElement(k,f({},a,{component:r,requestFocus:e,uri:t,location:n}))}))},j=!0,C=0,k=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(_.Provider,{value:this.requestFocus},this.props.children))},t}(o.a.Component);Object(s.polyfill)(k);var x=function(){},L=o.a.forwardRef;void 0===L&&(L=function(e){return e});var T=L((function(e,t){var n=e.innerRef,r=d(e,["innerRef"]);return o.a.createElement(R.Consumer,null,(function(e){e.basepath;var a=e.baseuri;return o.a.createElement(b,null,(function(e){var i=e.location,u=e.navigate,c=r.to,s=r.state,p=r.replace,h=r.getProps,v=void 0===h?x:h,m=d(r,["to","state","replace","getProps"]),g=Object(l.resolve)(c,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),H(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)}u(g,{state:s,replace:t})}}}))}))}))}));function D(e){this.uri=e}T.displayName="Link";var U=function(e){return e instanceof D},A=function(e){throw new D(e)},W=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),u=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,u),{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||A(Object(l.insertParams)(a,o)),null},t}(o.a.Component),q=function(e){return o.a.createElement(R.Consumer,null,(function(t){var n=t.baseuri;return o.a.createElement(b,null,(function(t){return o.a.createElement(W,f({},t,{baseuri:n},e))}))}))},I=function(e){var t=e.path,n=e.children;return o.a.createElement(R.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),u=Object(l.match)(i,a.pathname);return n({navigate:o,location:a,match:u?f({},u.params,{uri:u.uri,path:t}):null})}))}))},M=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},F=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)(R);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=M(),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)(R);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=M(),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},Q=function(e){return e.replace(/(^\/+|\/+$)/g,"")},G=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===q||i()(!1),n.type!==q||n.props.from&&n.props.to||i()(!1),n.type!==q||Object(l.validateRedirect)(n.props.from,n.props.to)||i()(!1),n.props.default)return{value:n,default:!0};var r=n.type===q?n.props.from:n.props.path,a="/"===r?t:Q(t)+"/"+Q(r);return{value:n,default:n.props.default,path:n.props.children?Q(a)+"/*":a}}},H=function(e){return!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}},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}))},"e/UW":function(e,t,n){"use strict";t.registerServiceWorker=function(){return!0};var r=/^(stylesheet|preload)$/,o=[];function a(e,t){if(!window.___swUpdated&&"serviceWorker"in navigator){var n=navigator.serviceWorker;if(null===n.controller)o.push(e);else{var r=t(e);n.controller.postMessage({gatsbyApi:"setPathResources",path:e,resources:r})}}}t.onServiceWorkerActive=function(e){var t=e.getResourceURLsForPathname,n=e.serviceWorker;if(window.___swUpdated)n.active.postMessage({gatsbyApi:"clearPathResources"});else{var a=document.querySelectorAll("\n head > script[src],\n head > link[href],\n head > style[data-href]\n "),i=[].slice.call(a).filter((function(e){return"LINK"!==e.tagName||r.test(e.getAttribute("rel"))})).map((function(e){return e.src||e.href||e.getAttribute("data-href")})),u=[];o.forEach((function(e){var r=t(e);u.push.apply(u,r),n.active.postMessage({gatsbyApi:"setPathResources",path:e,resources:r})})),[].concat(i,u).forEach((function(e){var t=document.createElement("link");t.rel="prefetch",t.href=e,t.onload=t.remove,t.onerror=t.remove,document.head.appendChild(t)}))}},t.onRouteUpdate=function(e){var t=e.location,n=e.getResourceURLsForPathname;a(t.pathname.replace("",""),n),"serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"enableOfflineShell"})},t.onPostPrefetchPathname=function(e){a(e.pathname,e.getResourceURLsForPathname)}},emEt:function(e,t,n){"use strict";n.r(t),n.d(t,"PageResourceStatus",(function(){return l})),n.d(t,"BaseLoader",(function(){return m})),n.d(t,"ProdLoader",(function(){return y})),n.d(t,"setLoader",(function(){return b})),n.d(t,"publicLoader",(function(){return w})),n.d(t,"getStaticQueryResults",(function(){return P}));var r=n("dI71"),o=n("KQm4"),a=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)}))},i={},u=function(e,t){return new Promise((function(n){i[e]?n():a(e,t).then((function(){n(),i[e]=!0})).catch((function(){}))}))},c=n("5yr3"),s=n("30RF"),l={Error:"error",Success:"success"},p=function(e){return e&&e.default||e},f=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 d(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 h,v=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}},m=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(s.d)(t)}var t=e.prototype;return t.memoizedGet=function(e){var t=this,n=this.inFlightNetworkRequests.get(e);return n||(n=d(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=f(n);return this.memoizedGet(a).then((function(r){var a=r.status,i=r.responseText;if(200===a)try{var u=JSON.parse(i);if(void 0===u.path)throw new Error("not a valid pageData response");return Object.assign(e,{status:l.Success,payload:u})}catch(c){}return 404===a||200===a?"/404.html"===n?Object.assign(e,{status:l.Error}):t.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===a?Object.assign(e,{status:l.Error}):o<3?t.fetchPageDataJson(Object.assign(e,{retries:o+1})):Object.assign(e,{status:l.Error})}))},t.loadPageDataJson=function(e){var t=this,n=Object(s.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(s.a)(e)},t.loadPage=function(e){var t=this,n=Object(s.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===l.Error)return{status:l.Error};var o=r.payload,a=o,i=a.componentChunkName,u=a.staticQueryHashes,s=void 0===u?[]:u,p={},f=t.loadComponent(i).then((function(t){var n;return p.createdAt=new Date,t?(p.status=l.Success,!0===r.notFound&&(p.notFound=!0),o=Object.assign(o,{webpackCompilationHash:e[0]?e[0].webpackCompilationHash:""}),n=v(o,t)):p.status=l.Error,n})),d=Promise.all(s.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}),p.payload=r,c.a.emit("onPostLoadPageResources",{page:r,pageResources:r})),t.pageDb.set(n,p),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(s.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(s.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(s.b)(e),n=this.pageDataDb.get(t);if(n){var r=v(n.payload);return[].concat(Object(o.a)(g(r.page.componentChunkName)),[f(t)])}return null},t.isPageNotFound=function(e){var t=Object(s.b)(e),n=this.pageDb.get(t);return!n||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(u){}return r}))},e}(),g=function(e){return(window.___chunkMapping[e]||[]).map((function(e){return""+e}))},y=function(e){function t(t,n){return e.call(this,(function(e){return t.components[e]?t.components[e]().then(p).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=f(e);return u(n,{crossOrigin:"anonymous",as:"fetch"}).then((function(){return t.loadPageDataJson(e)})).then((function(e){if(e.status!==l.Success)return Promise.resolve();var t=e.payload,n=t.componentChunkName,r=g(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?d(t,"HEAD").then((function(t){return 200===t.status?{status:l.Error}:e})):e}))},t}(m),b=function(e){h=e},w={getResourcesForPathname:function(e){return console.warn("Warning: getResourcesForPathname is deprecated. Use loadPage instead"),h.i.loadPage(e)},getResourcesForPathnameSync:function(e){return console.warn("Warning: getResourcesForPathnameSync is deprecated. Use loadPageSync instead"),h.i.loadPageSync(e)},enqueue:function(e){return h.prefetch(e)},getResourceURLsForPathname:function(e){return h.getResourceURLsForPathname(e)},loadPage:function(e){return h.loadPage(e)},loadPageSync:function(e){return h.loadPageSync(e)},prefetch:function(e){return h.prefetch(e)},isPageNotFound:function(e){return h.isPageNotFound(e)},hovering:function(e){return h.hovering(e)},loadAppData:function(){return h.loadAppData()}};t.default=w;function P(){return h.staticQueryDb}},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")),u=r(n("q1tI")),c=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=c.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}(u.Component),h=function(e){return u.createElement(p.Location,null,(function(t){var n=t.location;return u.createElement(l.ScrollContext.Consumer,null,(function(t){return u.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},npZl:function(e,t,n){"use strict";var r=n("TqRt");n("Wbzz"),r(n("9hXx"))},nqlD:function(e,t,n){var r=n("q1tI").createContext;e.exports=r,e.exports.default=r},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.EMPTY_ALT="GATSBY_EMPTY_ALT",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},pWkz:function(e,t,n){"use strict";t.__esModule=!0,t.onRouteUpdate=void 0;t.onRouteUpdate=function(e,t){var n=e.location;if(void 0===t&&(t={}),"function"!=typeof ga)return null;if(n&&void 0!==window.excludeGAPaths&&window.excludeGAPaths.some((function(e){return e.test(n.pathname)})))return null;var r=Math.max(32,t.pageTransitionDelay||0);return setTimeout((function(){var e=n?n.pathname+n.search+n.hash:void 0;window.ga("set","page",e),window.ga("send","pageview")}),r),null}},q9nr:function(e,t,n){"use strict";var r=n("nwwn"),o=r.DEFAULT_OPTIONS,a=r.imageClass,i=r.imageBackgroundClass,u=r.imageWrapperClass;t.onRouteUpdate=function(e,t){for(var n=Object.assign({},o,t),r=document.querySelectorAll("."+u),c=function(e){var t=r[e],o=t.querySelector("."+i),u=t.querySelector("."+a),c=function(){o.style.transition="opacity 0.5s 0.5s",u.style.transition="opacity 0.5s",s()},s=function e(){o.style.opacity=0,u.style.opacity=1,u.style.color="inherit",u.style.boxShadow="inset 0px 0px 0px 400px "+n.backgroundColor,u.removeEventListener("load",c),u.removeEventListener("error",e)};u.style.opacity=0,u.addEventListener("load",c),u.addEventListener("error",s),u.complete&&s()},s=0;s<r.length;s++)c(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}},xtsi:function(e,t,n){var r=n("LeKB"),o=n("emEt").publicLoader,a=o.getResourcesForPathname,i=o.getResourcesForPathnameSync,u=o.getResourceURLsForPathname,c=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=u,t.loadPage=c,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())}}},[["UxWs",1,11]]]);
//# sourceMappingURL=app-3302bc0ab9a33d4e3bba.js.map