-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-cc70b3ed676df13d6d80.js
3 lines (3 loc) · 52.1 KB
/
app-cc70b3ed676df13d6d80.js
1
2
3
/*! For license information please see app-cc70b3ed676df13d6d80.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{"+ZDr":function(e,t,n){"use strict";var r=n("TqRt");t.__esModule=!0,t.withPrefix=h,t.withAssetPrefix=function(e){return h(e,m())},t.navigateTo=t.replace=t.push=t.navigate=t.default=void 0;var o=r(n("8OQS")),a=r(n("PJYZ")),i=r(n("VbXa")),s=r(n("pVnL")),c=r(n("17x9")),u=r(n("q1tI")),l=n("YwZP"),p=n("LYrO"),d=n("cu4x");t.parsePath=d.parsePath;var f=function(e){return null==e?void 0:e.startsWith("/")};function h(e,t){var n,r;if(void 0===t&&(t=v()),!g(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;var o=null!==(n=null!==(r=t)&&void 0!==r?r:m())&&void 0!==n?n:"/";return""+((null==o?void 0:o.endsWith("/"))?o.slice(0,-1):o)+(e.startsWith("/")?e:"/"+e)}var m=function(){return""},v=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)?f(e)?h(e):function(e,t){return f(e)?e:(0,p.resolve)(e,t)}(e,t):e},b={activeClassName:c.default.string,activeStyle:c.default.object,partiallyActive:c.default.bool};function w(e){return u.default.createElement(l.Location,null,(function(t){var n=t.location;return u.default.createElement(P,(0,s.default)({},e,{_location:n}))}))}var P=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,s.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,a.default)(n)),n}(0,i.default)(t,e);var n=t.prototype;return n._prefetch=function(){var e=window.location.pathname;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname);var t=y(this.props.to,e),n=(0,d.parsePath)(t).pathname;e!==n&&___loader.enqueue(n)},n.componentDidUpdate=function(e,t){this.props.to===e.to||this.state.IOSupported||this._prefetch()},n.componentDidMount=function(){this.state.IOSupported||this._prefetch()},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(){o._prefetch()},(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,a=void 0===r?this.defaultGetProps:r,i=t.onClick,c=t.onMouseEnter,p=(t.activeClassName,t.activeStyle,t.innerRef,t.partiallyActive,t.state),f=t.replace,h=t._location,m=(0,o.default)(t,["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"]);var v=y(n,h.pathname);return g(v)?u.default.createElement(l.Link,(0,s.default)({to:v,state:p,getProps:a,innerRef:this.handleRef,onMouseEnter:function(e){c&&c(e),___loader.hovering((0,d.parsePath)(v).pathname)},onClick:function(t){if(i&&i(t),!(0!==t.button||e.props.target||t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)){t.preventDefault();var n=f,r=encodeURI(v)===h.pathname;"boolean"!=typeof f&&r&&(n=!0),window.___navigate(v,{state:p,replace:n})}return!0}},m)):u.default.createElement("a",(0,s.default)({href:v},m))},t}(u.default.Component);P.propTypes=(0,s.default)({},b,{onClick:c.default.func,to:c.default.string.isRequired,replace:c.default.bool,state:c.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.')},_=u.default.forwardRef((function(e,t){return u.default.createElement(w,(0,s.default)({innerRef:t},e))}));t.default=_;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},"25BE":function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,"a",(function(){return r}))},"284h":function(e,t,n){var r=n("cDf5").default;function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&{}.hasOwnProperty.call(e,s)){var c=i?Object.getOwnPropertyDescriptor(e,s):null;c&&(c.get||c.set)?Object.defineProperty(a,s,c):a[s]=e[s]}return a.default=e,n&&n.set(e,a),a},e.exports.__esModule=!0,e.exports.default=e.exports},"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 d})),n.d(t,"b",(function(){return f}));var r=n("LYrO"),o=n("cSJ8"),a=e=>void 0===e?e:"/"===e?"/":"/"===e.charAt(e.length-1)?e.slice(0,-1):e;const i=new Map;let s=[];const c=e=>{const t=decodeURIComponent(e);return Object(o.a)(t,"").split("#")[0].split("?")[0]};function u(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const l=e=>{s=e},p=e=>{const t=h(e),n=s.map(e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}}),o=Object(r.pick)(n,t);return o?a(o.route.originalPath):null},d=e=>{const t=h(e),n=s.map(e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}}),o=Object(r.pick)(n,t);return o?o.params:{}},f=e=>{const t=c(u(e));if(i.has(t))return i.get(t);let n=p(t);return n||(n=h(e)),i.set(t,n),n},h=e=>{let t=c(u(e));return"/index.html"===t&&(t="/"),t=a(t),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";const 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={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports},"94VI":function(e,t){t.polyfill=e=>e},"9Xx/":function(e,t,n){"use strict";n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return u})),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,u=t.hostname,l=t.port,p=e.location.pathname;!p&&o&&s&&(p=new URL(o).pathname);return{pathname:encodeURI(decodeURI(p)),search:n,hash:r,href:o,origin:a,protocol:i,host:c,hostname:u,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,s=function(){};return{get location(){return a},get transitioning(){return i},_onTransitionComplete:function(){i=!1,s()},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]:{},u=c.state,l=c.replace,p=void 0!==l&&l;if("number"==typeof t)e.history.go(t);else{u=r({},u,{key:Date.now()+""});try{i||p?e.history.replaceState(u,null,t):e.history.pushState(u,null,t)}catch(f){e.location[p?"replace":"assign"](t)}}a=o(e),i=!0;var d=new Promise((function(e){return s=e}));return n.forEach((function(e){return e({location:a,action:"PUSH"})})),d}}},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("?"),s=i[0],c=i[1],u=void 0===c?"":c;r++,o.push({pathname:s,search:u.length?"?"+u:u}),a.push(e)},replaceState:function(e,t,n){var i=n.split("?"),s=i[0],c=i[1],u=void 0===c?"":c;o[r]={pathname:s,search:u},a[r]=e},go:function(e){var t=r+e;t<0||t>a.length-1||(r=t)}}}},s=!("undefined"==typeof window||!window.document||!window.document.createElement),c=a(s?window:i()),u=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"}},BsWD:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("a3WO");function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},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")),s=r(n("q1tI")),c=o(n("17x9")),u=n("/hTd"),l=s.createContext(new u.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 u.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?this.scrollToHash(decodeURI(r),e):this.windowScroll(t,e)},n.render=function(){return s.createElement(l.Provider,{value:this._stateStorage},this.props.children)},t}(s.Component);t.ScrollHandler=p,p.propTypes={shouldUpdateScroll:c.default.func,children:c.default.element.isRequired,location:c.default.object.isRequired}},GddB:function(e,t){t.registerServiceWorker=()=>!0},IOVJ:function(e,t,n){"use strict";var r=n("dI71"),o=n("q1tI"),a=n.n(o),i=n("emEt"),s=n("xtsi"),c=n("30RF");let u=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){const e={...this.props,params:{...Object(c.c)(this.props.location.pathname),...this.props.pageResources.json.pageContext.__params},pathContext:this.props.pageContext},[t]=Object(s.apiRunner)("replaceComponentRenderer",{props:this.props,loader:i.publicLoader}),n=t||Object(o.createElement)(this.props.pageResources.component,{...e,key:this.props.path||this.props.pageResources.page.path});return Object(s.apiRunner)("wrapPageElement",{element:n,props:e},n,t=>{let{result:n}=t;return{element:n,props:e}}).pop()},t}(a.a.Component);t.a=u},JeVI:function(e){e.exports=JSON.parse("[]")},KQm4:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("a3WO");var o=n("25BE"),a=n("BsWD");function i(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(o.a)(e)||Object(a.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},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 s})),n.d(t,"resolve",(function(){return c})),n.d(t,"insertParams",(function(){return u})),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=v(a),s=""===i[0],c=m(e),u=0,l=c.length;u<l;u++){var d=!1,h=c[u].route;if(h.default)r={route:h,params:{},uri:t};else{for(var g=v(h.path),b={},w=Math.max(i.length,g.length),P=0;P<w;P++){var R=g[P],_=i[P];if(f(R)){b[R.slice(1)||"*"]=i.slice(P).map(decodeURIComponent).join("/");break}if(void 0===_){d=!0;break}var O=p.exec(R);if(O&&!s){-1===y.indexOf(O[1])||o()(!1);var S=decodeURIComponent(_);b[O[1]]=S}else if(R!==_){d=!0;break}}if(!d){n={route:h,params:b,uri:"/"+i.slice(0,P).join("/")};break}}}return n||r||null},s=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],s=v(r),c=v(i);if(""===s[0])return g(i,o);if(!a(s[0],".")){var u=c.concat(s).join("/");return g(("/"===i?"":"/")+u,o)}for(var l=c.concat(s),p=[],d=0,f=l.length;d<f;d++){var h=l[d];".."===h?p.pop():"."!==h&&p.push(h)}return g("/"+p.join("/"),o)},u=function(e,t){var n=e.split("?"),r=n[0],o=n[1],a=void 0===o?"":o,i="/"+v(r).map((function(e){var n=p.exec(e);return n?t[n[1]]:e})).join("/"),s=t.location,c=(s=void 0===s?{}:s).search,u=(void 0===c?"":c).split("?")[1]||"";return i=g(i,a,u)},l=function(e,t){var n=function(e){return d(e)};return v(e).filter(n).sort().join("/")===v(t).filter(n).sort().join("/")},p=/^:(.+)/,d=function(e){return p.test(e)},f=function(e){return e&&"*"===e[0]},h=function(e,t){return{route:e,score:e.default?0:v(e.path).reduce((function(e,t){return e+=4,!function(e){return""===e}(t)?d(t)?e+=2:f(t)?e-=5:e+=3:e+=1,e}),0),index:t}},m=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}))},v=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:"Aayush Portfolio",short_name:"Portfolio",start_url:"/",background_color:"#6CCBFE",theme_color:"#6CCBFE",display:"standalone",icon:"src/images/icon.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"0d09cb21328220cbafa40e8886c76663"}},{plugin:n("e/UW"),options:{plugins:[]}},{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",()=>{Object(r.apiRunner)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,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---node-modules-gatsby-plugin-offline-app-shell-js":()=>n.e(8).then(n.t.bind(null,"MqWW",7)),"component---src-pages-404-js":()=>Promise.all([n.e(1),n.e(0),n.e(9)]).then(n.bind(null,"w2l6")),"component---src-pages-articles-js":()=>Promise.all([n.e(1),n.e(6),n.e(0),n.e(2),n.e(10)]).then(n.bind(null,"hk7L")),"component---src-pages-index-js":()=>Promise.all([n.e(1),n.e(0),n.e(2),n.e(3),n.e(4),n.e(11)]).then(n.bind(null,"RXBc")),"component---src-pages-message-js":()=>Promise.all([n.e(1),n.e(0),n.e(2),n.e(3),n.e(12)]).then(n.bind(null,"PU7y")),"component---src-pages-projects-js":()=>Promise.all([n.e(1),n.e(0),n.e(2),n.e(4)]).then(n.bind(null,"N2Ca"))}},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},e.exports.__esModule=!0,e.exports.default=e.exports},QLaP:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},SksO:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},TqRt:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},UxWs:function(e,t,n){"use strict";n.r(t);var r=n("dI71"),o=n("xtsi"),a=n("q1tI"),i=n.n(a),s=n("i8i4"),c=n.n(s),u=n("YwZP"),l=n("7hJ6"),p=n("MMVs"),d=n.n(p),f=n("Wbzz"),h=n("emEt"),m=n("YLt+"),v=n("5yr3");const 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"};var y=n("9Xx/"),b=n("+ZDr");const w=new Map,P=new Map;function R(e){let t=w.get(e);return t||(t=P.get(e.toLowerCase())),null!=t&&(window.___replace(t.toPath),!0)}m.forEach(e=>{e.ignoreCase?P.set(e.fromPath,e):w.set(e.fromPath,e)});const _=(e,t)=>{R(e.pathname)||Object(o.apiRunner)("onPreRouteUpdate",{location:e,prevLocation:t})},O=(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)return void y.c.navigate(e);let{pathname:n}=Object(b.parsePath)(e),r=w.get(n);if(r||(r=P.get(n.toLowerCase())),r&&(e=r.toPath,n=Object(b.parsePath)(e).pathname),window.___swUpdated)return void(window.location=n);const a=setTimeout(()=>{v.a.emit("onDelayedLoadPageResources",{pathname:n}),Object(o.apiRunner)("onRouteUpdateDelayed",{location:window.location})},1e3);h.default.loadPage(n).then(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"}),window.location=n),Object(u.navigate)(e,t),clearTimeout(a)})};function E(e,t){let{location:n}=t;const{pathname:r,hash:a}=n,i=Object(o.apiRunner)("shouldUpdateScroll",{prevRouterProps:e,pathname:r,routerProps:{location:n},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(i.length>0)return i[i.length-1];if(e){const{location:{pathname:t}}=e;if(t===r)return a?decodeURI(a.slice(1)):[0,0]}return!0}let x=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){requestAnimationFrame(()=>{let e="new page at "+this.props.location.pathname;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const n="Navigated to "+e;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}})},n.render=function(){return i.a.createElement("div",Object.assign({},g,{ref:this.announcementRef}))},t}(i.a.Component);const j=(e,t)=>{var n,r;return e.href!==t.href||(null==e||null===(n=e.state)||void 0===n?void 0:n.key)!==(null==t||null===(r=t.state)||void 0===r?void 0:r.key)};let C=function(e){function t(t){var n;return n=e.call(this,t)||this,_(t.location,null),n}Object(r.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){O(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!j(e.location,this.props.location)&&(_(this.props.location,e.location),!0)},n.componentDidUpdate=function(e){j(e.location,this.props.location)&&O(this.props.location,e.location)},n.render=function(){return i.a.createElement(i.a.Fragment,null,this.props.children,i.a.createElement(x,{location:location}))},t}(i.a.Component);var k=n("IOVJ"),L=n("NsGk"),D=n.n(L);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 M=function(e){function t(t){var n;n=e.call(this)||this;const{location:r,pageResources:o}=t;return n.state={location:{...r},pageResources:o||h.default.loadPageSync(r.pathname)},n}Object(r.a)(t,e),t.getDerivedStateFromProps=function(e,t){let{location:n}=e;if(t.location.href!==n.href){return{pageResources:h.default.loadPageSync(n.pathname),location:{...n}}}return{location:{...n}}};var n=t.prototype;return n.loadResources=function(e){h.default.loadPage(e).then(t=>{t&&t.status!==h.PageResourceStatus.Error?this.setState({location:{...window.location},pageResources:t}):(window.history.replaceState({},"",location.href),window.location=e)})},n.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,n){return 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),U=n("cSJ8"),W=n("JeVI");const A=new h.ProdLoader(D.a,W);Object(h.setLoader)(A),A.setApiRunner(o.apiRunner),window.asyncRequires=D.a,window.___emitter=v.a,window.___loader=h.publicLoader,y.c.listen(e=>{e.location.action=e.action}),window.___push=e=>S(e,{replace:!1}),window.___replace=e=>S(e,{replace:!0}),window.___navigate=(e,t)=>S(e,t),R(window.location.pathname),Object(o.apiRunnerAsync)("onClientEntry").then(()=>{Object(o.apiRunner)("registerServiceWorker").length>0&&n("NSX3");const e=e=>i.a.createElement(u.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},i.a.createElement(k.a,e)),t=i.a.createContext({});let a=function(e){function n(){return e.apply(this,arguments)||this}return Object(r.a)(n,e),n.prototype.render=function(){const{children:e}=this.props;return i.a.createElement(u.Location,null,n=>{let{location:r}=n;return i.a.createElement(M,{location:r},n=>{let{pageResources:r,location:o}=n;const a=Object(h.getStaticQueryResults)();return i.a.createElement(f.StaticQueryContext.Provider,{value:a},i.a.createElement(t.Provider,{value:{pageResources:r,location:o}},e))})})},n}(i.a.Component),s=function(n){function o(){return n.apply(this,arguments)||this}return Object(r.a)(o,n),o.prototype.render=function(){return i.a.createElement(t.Consumer,null,t=>{let{pageResources:n,location:r}=t;return i.a.createElement(C,{location:r},i.a.createElement(l.ScrollContext,{location:r,shouldUpdateScroll:E},i.a.createElement(u.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},i.a.createElement(e,Object.assign({path:"/404.html"===n.page.path?Object(U.a)(r.pathname,""):encodeURI(n.page.matchPath||n.page.path)},this.props,{location:r,pageResources:n},n.json)))))})},o}(i.a.Component);const{pagePath:p,location:m}=window;p&&""+p!==m.pathname&&!(A.findMatchPath(Object(U.a)(m.pathname,""))||"/404.html"===p||p.match(/^\/404\/?$/)||p.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&Object(u.navigate)(""+p+m.search+m.hash,{replace:!0}),h.publicLoader.loadPage(m.pathname).then(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;const t=Object(o.apiRunner)("wrapRootElement",{element:i.a.createElement(s,null)},i.a.createElement(s,null),e=>{let{result:t}=e;return{element:t}}).pop(),n=()=>i.a.createElement(a,null,t),r=Object(o.apiRunner)("replaceHydrateFunction",void 0,c.a.hydrate)[0];d()(()=>{r(i.a.createElement(n,null),"undefined"!=typeof window?document.getElementById("___gatsby"):void 0,()=>{Object(o.apiRunner)("onInitialClientRender")})})})})},VbXa:function(e,t,n){var r=n("SksO");e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},Wbzz:function(e,t,n){"use strict";n.r(t),n.d(t,"graphql",(function(){return m})),n.d(t,"StaticQueryContext",(function(){return p})),n.d(t,"StaticQuery",(function(){return f})),n.d(t,"useStaticQuery",(function(){return h})),n.d(t,"prefetchPathname",(function(){return l}));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 s=n("7hJ6");n.d(t,"useScrollRestoration",(function(){return s.useScrollRestoration}));var c=n("lw3w"),u=n.n(c);n.d(t,"PageRenderer",(function(){return u.a}));const l=n("emEt").default.enqueue,p=o.a.createContext({});function d(e){let{staticQueryData:t,data:n,query:r,render:a}=e;const 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)"))}const f=e=>{const{data:t,query:n,render:r,children:a}=e;return o.a.createElement(p.Consumer,null,e=>o.a.createElement(d,{data:t,query:n,render:r||a,staticQueryData:e}))},h=e=>{var t;o.a.useContext;const 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!==(t=n[e])&&void 0!==t&&t.data)return n[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")};function m(){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.")}},"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 D})),n.d(t,"Location",(function(){return b})),n.d(t,"LocationProvider",(function(){return w})),n.d(t,"Match",(function(){return F})),n.d(t,"Redirect",(function(){return A})),n.d(t,"Router",(function(){return _})),n.d(t,"ServerLocation",(function(){return P})),n.d(t,"isRedirect",(function(){return M})),n.d(t,"redirectTo",(function(){return U})),n.d(t,"useLocation",(function(){return q})),n.d(t,"useNavigate",(function(){return I})),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("QLaP"),i=n.n(a),s=n("nqlD"),c=n.n(s),u=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 d=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 f(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 m(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 v(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=m(this,e.call.apply(e,[this].concat(a))),r.state={context:r.getContext(),refs:{unlisten:null}},m(r,n)}return v(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(!M(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:"/"}),_=function(e){return o.a.createElement(R.Consumer,null,(function(t){return o.a.createElement(b,null,(function(n){return o.a.createElement(O,d({},t,n,e))}))}))},O=function(e){function t(){return h(this,t),m(this,e.apply(this,arguments))}return v(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,s=(e.baseuri,e.component),c=void 0===s?"div":s,u=f(e,["location","navigate","basepath","primary","children","baseuri","component"]),p=o.a.Children.toArray(i).reduce((function(e,t){var n=H(r)(t);return e.concat(n)}),[]),h=t.pathname,m=Object(l.pick)(p,h);if(m){var v=m.params,g=m.uri,y=m.route,b=m.route.value;r=y.default?r:y.path.replace(/\*$/,"");var w=d({},v,{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(_,{location:t,primary:a},b.props.children):void 0),O=a?E:c,S=a?d({uri:g,location:t,component:c},u):u;return o.a.createElement(R.Provider,{value:{baseuri:g,basepath:r}},o.a.createElement(O,S,P))}return null},t}(o.a.PureComponent);O.defaultProps={primary:!0};var S=g("Focus"),E=function(e){var t=e.uri,n=e.location,r=e.component,a=f(e,["uri","location","component"]);return o.a.createElement(S.Consumer,null,(function(e){return o.a.createElement(C,d({},a,{component:r,requestFocus:e,uri:t,location:n}))}))},x=!0,j=0,C=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=m(this,e.call.apply(e,[this].concat(a))),r.state={},r.requestFocus=function(e){!r.state.shouldFocus&&e&&e.focus()},m(r,n)}return v(t,e),t.getDerivedStateFromProps=function(e,t){if(null==t.uri)return d({shouldFocus:!0},e);var n=e.uri!==t.uri,r=t.location.pathname!==e.location.pathname&&e.location.pathname===e.uri;return d({shouldFocus:n||r},e)},t.prototype.componentDidMount=function(){j++,this.focus()},t.prototype.componentWillUnmount=function(){0===--j&&(x=!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):x?x=!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,f(t,["children","style","requestFocus","component","uri","location"]));return o.a.createElement(a,d({style:d({outline:"none"},n),tabIndex:"-1",ref:function(t){return e.node=t}},i),o.a.createElement(S.Provider,{value:this.requestFocus},this.props.children))},t}(o.a.Component);Object(u.polyfill)(C);var k=function(){},L=o.a.forwardRef;void 0===L&&(L=function(e){return e});var D=L((function(e,t){var n=e.innerRef,r=f(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,s=e.navigate,c=r.to,u=r.state,p=r.replace,h=r.getProps,m=void 0===h?k:h,v=f(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",d({ref:t||n,"aria-current":b?"page":void 0},v,m({isCurrent:b,isPartiallyCurrent:w,href:g,location:i}),{href:g,onClick:function(e){if(v.onClick&&v.onClick(e),B(e)){e.preventDefault();var t=p;if("boolean"!=typeof p&&b){var n=d({},i.state),r=(n.key,f(n,["key"]));t=Object(l.shallowCompare)(d({},u),r)}s(g,{state:u,replace:t})}}}))}))}))}));function T(e){this.uri=e}D.displayName="Link";var M=function(e){return e instanceof T},U=function(e){throw new T(e)},W=function(e){function t(){return h(this,t),m(this,e.apply(this,arguments))}return v(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),s=f(e,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var e=Object(l.resolve)(n,i);t(Object(l.insertParams)(e,s),{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=f(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),A=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,d({},t,{baseuri:n},e))}))}))},F=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),s=Object(l.match)(i,a.pathname);return n({navigate:o,location:a,match:s?d({},s.params,{uri:s.uri,path:t}):null})}))}))},q=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},I=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=q(),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=q(),o=Object(l.resolve)(e,t.baseuri),a=Object(l.match)(o,n.pathname);return a?d({},a.params,{uri:a.uri,path:e}):null},Q=function(e){return e.replace(/(^\/+|\/+$)/g,"")},H=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===A||i()(!1),n.type!==A||n.props.from&&n.props.to||i()(!1),n.type!==A||Object(l.validateRedirect)(n.props.from,n.props.to)||i()(!1),n.props.default)return{value:n,default:!0};var r=n.type===A?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}}},B=function(e){return!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}},a3WO:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},cDf5:function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},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";n.d(t,"a",(function(){return o}));var r=n("s4An");function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Object(r.a)(e,t)}},"e/UW":function(e,t,n){"use strict";t.registerServiceWorker=function(){return!0};var r=[];t.onServiceWorkerActive=function(e){var t=e.getResourceURLsForPathname,n=e.serviceWorker;if(window.___swUpdated)n.active.postMessage({gatsbyApi:"clearPathResources"});else{var o=document.querySelectorAll("\n head > script[src],\n head > link[href],\n head > style[data-href]\n "),a=[].slice.call(o).map((function(e){return e.src||e.href||e.getAttribute("data-href")})),i=[];r.forEach((function(e){var r=t(e);i.push.apply(i,r),n.active.postMessage({gatsbyApi:"setPathResources",path:e,resources:r})})),[].concat(a,i).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.onPostPrefetchPathname=function(e){var t=e.pathname,n=e.getResourceURLsForPathname;if(!window.___swUpdated&&"serviceWorker"in navigator){var o=navigator.serviceWorker;null===o.controller?r.push(t):o.controller.postMessage({gatsbyApi:"setPathResources",path:t,resources:n(t)})}}},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");const a=function(e){if("undefined"==typeof document)return!1;const t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e,t){return new Promise((n,r)=>{if("undefined"==typeof document)return void r();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach(e=>{o.setAttribute(e,t[e])}),o.onload=n,o.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)})}:function(e){return new Promise((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=()=>{200===r.status?t():n()},r.send(null)})},i={};var s=function(e,t){return new Promise(n=>{i[e]?n():a(e,t).then(()=>{n(),i[e]=!0}).catch(()=>{})})},c=n("5yr3"),u=n("30RF");const l={Error:"error",Success:"success"},p=e=>e&&e.default||e,d=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 f(e,t){return void 0===t&&(t="GET"),new Promise((n,r)=>{const o=new XMLHttpRequest;o.open(t,e,!0),o.onreadystatechange=()=>{4==o.readyState&&n(o)},o.send(null)})}const h=function(e,t){void 0===t&&(t=null);const n={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes};return{component:t,json:e.result,page:n}};let 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(u.d)(t)}var t=e.prototype;return t.memoizedGet=function(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=f(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then(t=>(this.inFlightNetworkRequests.delete(e),t)).catch(t=>{throw this.inFlightNetworkRequests.delete(e),t})},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some(e=>e)},t.fetchPageDataJson=function(e){const{pagePath:t,retries:n=0}=e,r=d(t);return this.memoizedGet(r).then(r=>{const{status:o,responseText:a}=r;if(200===o)try{const t=JSON.parse(a);if(void 0===t.path)throw new Error("not a valid pageData response");return Object.assign(e,{status:l.Success,payload:t})}catch(i){}return 404===o||200===o?"/404.html"===t?Object.assign(e,{status:l.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?Object.assign(e,{status:l.Error}):n<3?this.fetchPageDataJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:l.Error})})},t.loadPageDataJson=function(e){const t=Object(u.b)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then(e=>(this.pageDataDb.set(t,e),e))},t.findMatchPath=function(e){return Object(u.a)(e)},t.loadPage=function(e){const t=Object(u.b)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const n=Promise.all([this.loadAppData(),this.loadPageDataJson(t)]).then(e=>{const n=e[1];if(n.status===l.Error)return{status:l.Error};let r=n.payload;const{componentChunkName:o,staticQueryHashes:a=[]}=r,i={},s=this.loadComponent(o).then(t=>{let o;return i.createdAt=new Date,t?(i.status=l.Success,!0===n.notFound&&(i.notFound=!0),r=Object.assign(r,{webpackCompilationHash:e[0]?e[0].webpackCompilationHash:""}),o=h(r,t)):i.status=l.Error,o}),u=Promise.all(a.map(e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet(`/page-data/sq/d/${e}.json`).then(t=>{const n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}})})).then(e=>{const t={};return e.forEach(e=>{let{staticQueryHash:n,jsonPayload:r}=e;t[n]=r,this.staticQueryDb[n]=r}),t});return Promise.all([s,u]).then(e=>{let n,[r,o]=e;return r&&(n={...r,staticQueryResults:o},i.payload=n,c.a.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(t,i),n})});return n.then(e=>{this.inFlightDb.delete(t)}).catch(e=>{throw this.inFlightDb.delete(t),e}),this.inFlightDb.set(t,n),n},t.loadPageSync=function(e){const t=Object(u.b)(e);if(this.pageDb.has(t)){return this.pageDb.get(t).payload}},t.shouldPrefetch=function(e){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&!this.pageDb.has(e)},t.prefetch=function(e){if(!this.shouldPrefetch(e))return!1;if(this.prefetchTriggered.has(e)||(this.apiRunner("onPrefetchPathname",{pathname:e}),this.prefetchTriggered.add(e)),this.prefetchDisabled)return!1;const t=Object(u.b)(e);return this.doPrefetch(t).then(()=>{this.prefetchCompleted.has(e)||(this.apiRunner("onPostPrefetchPathname",{pathname:e}),this.prefetchCompleted.add(e))}),!0},t.doPrefetch=function(e){const t=d(e);return s(t,{crossOrigin:"anonymous",as:"fetch"}).then(()=>this.loadPageDataJson(e))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=Object(u.b)(e),n=this.pageDataDb.get(t);if(n){const e=h(n.payload);return[].concat(Object(o.a)(v(e.page.componentChunkName)),[d(t)])}return null},t.isPageNotFound=function(e){const t=Object(u.b)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){return void 0===e&&(e=0),this.memoizedGet("/page-data/app-data.json").then(t=>{const{status:n,responseText:r}=t;let o;if(200!==n&&e<3)return this.loadAppData(e+1);if(200===n)try{const e=JSON.parse(r);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(a){}return o})},e}();const v=e=>(window.___chunkMapping[e]||[]).map(e=>""+e);let g,y=function(e){function t(t,n){return e.call(this,e=>t.components[e]?t.components[e]().then(p).catch(()=>null):Promise.resolve(),n)||this}Object(r.a)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then(e=>{if(e.status!==l.Success)return Promise.resolve();const t=e.payload,n=t.componentChunkName,r=v(n);return Promise.all(r.map(s)).then(()=>t)})},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then(e=>e.notFound?f(t,"HEAD").then(t=>200===t.status?{status:l.Error}:e):e)},t}(m);const b=e=>{g=e},w={getResourcesForPathname:e=>(console.warn("Warning: getResourcesForPathname is deprecated. Use loadPage instead"),g.i.loadPage(e)),getResourcesForPathnameSync:e=>(console.warn("Warning: getResourcesForPathnameSync is deprecated. Use loadPageSync instead"),g.i.loadPageSync(e)),enqueue:e=>g.prefetch(e),getResourceURLsForPathname:e=>g.getResourceURLsForPathname(e),loadPage:e=>g.loadPage(e),loadPageSync:e=>g.loadPageSync(e),prefetch:e=>g.prefetch(e),isPageNotFound:e=>g.isPageNotFound(e),hovering:e=>g.hovering(e),loadAppData:()=>g.loadAppData()};t.default=w;function P(){return g?g.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")),s=r(n("q1tI")),c=o(n("i8i4")),u=o(n("17x9")),l=n("Enzk"),p=n("YwZP"),d={scrollKey:u.default.string.isRequired,shouldUpdateScroll:u.default.func,children:u.default.element.isRequired},f=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}(s.Component),h=function(e){return s.createElement(p.Location,null,(function(t){var n=t.location;return s.createElement(l.ScrollContext.Consumer,null,(function(t){return s.createElement(f,(0,a.default)({},e,{context:t,location:n}))}))}))};t.ScrollContainer=h,h.propTypes=d},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){const{createContext:r}=n("q1tI");e.exports=r,e.exports.default=r},pVnL:function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(null,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},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=e=>{let{location:t}=e;const n=a.default.loadPageSync(t.pathname);return n?o.a.createElement(i.a,{location:t,pageResources:n,...n.json}):null}},s4An:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,"a",(function(){return r}))},xtsi:function(e,t,n){const r=n("LeKB"),{getResourcesForPathname:o,getResourcesForPathnameSync:a,getResourceURLsForPathname:i,loadPage:s,loadPageSync:c}=n("emEt").publicLoader;t.apiRunner=function(e,t,n,u){void 0===t&&(t={});let l=r.map(n=>{if(!n.plugin[e])return;t.getResourcesForPathnameSync=a,t.getResourcesForPathname=o,t.getResourceURLsForPathname=i,t.loadPage=s,t.loadPageSync=c;const r=n.plugin[e](t,n.options);return r&&u&&(t=u({args:t,result:r,plugin:n})),r});return l=l.filter(e=>void 0!==e),l.length>0?l:n?[n]:[]},t.apiRunnerAsync=(e,t,n)=>r.reduce((n,r)=>r.plugin[e]?n.then(()=>r.plugin[e](t,r.options)):n,Promise.resolve())}},[["UxWs",5,13]]]);
//# sourceMappingURL=app-cc70b3ed676df13d6d80.js.map