-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-66f34339b699858b3a6a.js
2 lines (2 loc) · 66.9 KB
/
app-66f34339b699858b3a6a.js
1
2
(self.webpackChunkteam3602_com=self.webpackChunkteam3602_com||[]).push([[143],{1506:function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},7154:function(t){function e(){return t.exports=e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,e.apply(this,arguments)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},5354:function(t,e,n){var r=n(9489);t.exports=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},5318:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},7316:function(t){t.exports=function(t,e){if(null==t)return{};var n,r,o={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(o[n]=t[n]);return o},t.exports.__esModule=!0,t.exports.default=t.exports},9489:function(t){function e(n,r){return t.exports=e=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n,r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},2393:function(t,e){"use strict";var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r=function(t){var e=t.location,n=e.search,r=e.hash,o=e.href,a=e.origin,s=e.protocol,u=e.host,c=e.hostname,l=e.port,p=t.location.pathname;!p&&o&&i&&(p=new URL(o).pathname);return{pathname:encodeURI(decodeURI(p)),search:n,hash:r,href:o,origin:a,protocol:s,host:u,hostname:c,port:l,state:t.history.state,key:t.history.state&&t.history.state.key||"initial"}},o=function(t,e){var o=[],a=r(t),i=!1,s=function(){};return{get location(){return a},get transitioning(){return i},_onTransitionComplete:function(){i=!1,s()},listen:function(e){o.push(e);var n=function(){a=r(t),e({location:a,action:"POP"})};return t.addEventListener("popstate",n),function(){t.removeEventListener("popstate",n),o=o.filter((function(t){return t!==e}))}},navigate:function(e){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=u.state,l=u.replace,p=void 0!==l&&l;if("number"==typeof e)t.history.go(e);else{c=n({},c,{key:Date.now()+""});try{i||p?t.history.replaceState(c,null,e):t.history.pushState(c,null,e)}catch(h){t.location[p?"replace":"assign"](e)}}a=r(t),i=!0;var f=new Promise((function(t){return s=t}));return o.forEach((function(t){return t({location:a,action:"PUSH"})})),f}}},a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=t.indexOf("?"),n={pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(t,e,n){var i=n.split("?"),s=i[0],u=i[1],c=void 0===u?"":u;r++,o.push({pathname:s,search:c.length?"?"+c:c}),a.push(t)},replaceState:function(t,e,n){var i=n.split("?"),s=i[0],u=i[1],c=void 0===u?"":u;o[r]={pathname:s,search:c},a[r]=t},go:function(t){var e=r+t;e<0||e>a.length-1||(r=e)}}}},i=!("undefined"==typeof window||!window.document||!window.document.createElement),s=o(i?window:a()),u=s.navigate;e.V5=s},2098:function(t,e,n){"use strict";e.__esModule=!0,e.shallowCompare=e.validateRedirect=e.insertParams=e.resolve=e.match=e.pick=e.startsWith=void 0;var r,o=n(1143),a=(r=o)&&r.__esModule?r:{default:r};var i=function(t,e){return t.substr(0,e.length)===e},s=function(t,e){for(var n=void 0,r=void 0,o=e.split("?")[0],i=h(o),s=""===i[0],c=f(t),p=0,d=c.length;p<d;p++){var m=!1,g=c[p].route;if(g.default)r={route:g,params:{},uri:e};else{for(var y=h(g.path),w={},b=Math.max(i.length,y.length),P=0;P<b;P++){var E=y[P],R=i[P];if(l(E)){w[E.slice(1)||"*"]=i.slice(P).map(decodeURIComponent).join("/");break}if(void 0===R){m=!0;break}var S=u.exec(E);if(S&&!s){-1===v.indexOf(S[1])||(0,a.default)(!1);var _=decodeURIComponent(R);w[S[1]]=_}else if(E!==R){m=!0;break}}if(!m){n={route:g,params:w,uri:"/"+i.slice(0,P).join("/")};break}}}return n||r||null},u=/^:(.+)/,c=function(t){return u.test(t)},l=function(t){return t&&"*"===t[0]},p=function(t,e){return{route:t,score:t.default?0:h(t.path).reduce((function(t,e){return t+=4,!function(t){return""===t}(e)?c(e)?t+=2:l(e)?t-=5:t+=3:t+=1,t}),0),index:e}},f=function(t){return t.map(p).sort((function(t,e){return t.score<e.score?1:t.score>e.score?-1:t.index-e.index}))},h=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},d=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t+((n=n.filter((function(t){return t&&t.length>0})))&&n.length>0?"?"+n.join("&"):"")},v=["uri","path"];e.startsWith=i,e.pick=s,e.match=function(t,e){return s([{path:t}],e)},e.resolve=function(t,e){if(i(t,"/"))return t;var n=t.split("?"),r=n[0],o=n[1],a=e.split("?")[0],s=h(r),u=h(a);if(""===s[0])return d(a,o);if(!i(s[0],".")){var c=u.concat(s).join("/");return d(("/"===a?"":"/")+c,o)}for(var l=u.concat(s),p=[],f=0,v=l.length;f<v;f++){var m=l[f];".."===m?p.pop():"."!==m&&p.push(m)}return d("/"+p.join("/"),o)},e.insertParams=function(t,e){var n=t.split("?"),r=n[0],o=n[1],a=void 0===o?"":o,i="/"+h(r).map((function(t){var n=u.exec(t);return n?e[n[1]]:t})).join("/"),s=e.location,c=(s=void 0===s?{}:s).search,l=(void 0===c?"":c).split("?")[1]||"";return i=d(i,a,l)},e.validateRedirect=function(t,e){var n=function(t){return c(t)};return h(t).filter(n).sort().join("/")===h(e).filter(n).sort().join("/")},e.shallowCompare=function(t,e){var n=Object.keys(t);return n.length===Object.keys(e).length&&n.every((function(n){return e.hasOwnProperty(n)&&t[n]===e[n]}))}},4811:function(t){"use strict";var e=function(t,e){if("string"!=typeof t&&!Array.isArray(t))throw new TypeError("Expected the input to be `string | string[]`");e=Object.assign({pascalCase:!1},e);var n;return t=Array.isArray(t)?t.map((function(t){return t.trim()})).filter((function(t){return t.length})).join("-"):t.trim(),0===t.length?"":1===t.length?e.pascalCase?t.toUpperCase():t.toLowerCase():(t!==t.toLowerCase()&&(t=function(t){for(var e=!1,n=!1,r=!1,o=0;o<t.length;o++){var a=t[o];e&&/[a-zA-Z]/.test(a)&&a.toUpperCase()===a?(t=t.slice(0,o)+"-"+t.slice(o),e=!1,r=n,n=!0,o++):n&&r&&/[a-zA-Z]/.test(a)&&a.toLowerCase()===a?(t=t.slice(0,o-1)+"-"+t.slice(o-1),r=n,n=!1,e=!0):(e=a.toLowerCase()===a&&a.toUpperCase()!==a,r=n,n=a.toUpperCase()===a&&a.toLowerCase()!==a)}return t}(t)),t=t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(t,e){return e.toUpperCase()})).replace(/\d+(\w|$)/g,(function(t){return t.toUpperCase()})),n=t,e.pascalCase?n.charAt(0).toUpperCase()+n.slice(1):n)};t.exports=e,t.exports.default=e},4041:function(){"use strict";var t,e,n=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),r=(t=["",""],e=["",""],Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}})));function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(){for(var e=this,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return o(this,t),this.tag=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return"function"==typeof t?e.interimTag.bind(e,t):"string"==typeof t?e.transformEndResult(t):(t=t.map(e.transformString.bind(e)),e.transformEndResult(t.reduce(e.processSubstitutions.bind(e,r))))},r.length>0&&Array.isArray(r[0])&&(r=r[0]),this.transformers=r.map((function(t){return"function"==typeof t?t():t})),this.tag}return n(t,[{key:"interimTag",value:function(t,e){for(var n=arguments.length,o=Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];return this.tag(r,t.apply(void 0,[e].concat(o)))}},{key:"processSubstitutions",value:function(t,e,n){var r=this.transformSubstitution(t.shift(),e);return"".concat(e,r,n)}},{key:"transformString",value:function(t){return this.transformers.reduce((function(t,e){return e.onString?e.onString(t):t}),t)}},{key:"transformSubstitution",value:function(t,e){return this.transformers.reduce((function(t,n){return n.onSubstitution?n.onSubstitution(t,e):t}),t)}},{key:"transformEndResult",value:function(t){return this.transformers.reduce((function(t,e){return e.onEndResult?e.onEndResult(t):t}),t)}}]),t}(),i=a,s={separator:"",conjunction:"",serial:!1},u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s;return{onSubstitution:function(e,n){if(Array.isArray(e)){var r=e.length,o=t.separator,a=t.conjunction,i=t.serial,s=n.match(/(\n?[^\S\n]+)$/);if(e=s?e.join(o+s[1]):e.join(o+" "),a&&r>1){var u=e.lastIndexOf(o);e=e.slice(0,u)+(i?o:"")+" "+a+e.slice(u+1)}}return e}}};function c(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"initial";return{onEndResult:function(e){if("initial"===t){var n=e.match(/^[^\S\n]*(?=\S)/gm),r=n&&Math.min.apply(Math,c(n.map((function(t){return t.length}))));if(r){var o=new RegExp("^.{"+r+"}","gm");return e.replace(o,"")}return e}if("all"===t)return e.replace(/^[^\S\n]+/gm,"");throw new Error("Unknown type: "+t)}}},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{onEndResult:function(e){if(""===t)return e.trim();if("start"===(t=t.toLowerCase())||"left"===t)return e.replace(/^\s*/,"");if("end"===t||"right"===t)return e.replace(/\s*$/,"");throw new Error("Side not supported: "+t)}}},f=(new i(u({separator:","}),l,p),new i(u({separator:",",conjunction:"and"}),l,p),new i(u({separator:",",conjunction:"or"}),l,p),function(t){return{onSubstitution:function(e,n){if(null==t||"string"!=typeof t)throw new Error("You need to specify a string character to split by.");return"string"==typeof e&&e.includes(t)&&(e=e.split(t)),e}}}),h=function(t){return null!=t&&!Number.isNaN(t)&&"boolean"!=typeof t},d=function(){return{onSubstitution:function(t){return Array.isArray(t)?t.filter(h):h(t)?t:""}}},v=(new i(f("\n"),d,u,l,p),function(t,e){return{onSubstitution:function(n,r){if(null==t||null==e)throw new Error("replaceSubstitutionTransformer requires at least 2 arguments.");return null==n?n:n.toString().replace(t,e)}}}),m=(new i(f("\n"),u,l,p,v(/&/g,"&"),v(/</g,"<"),v(/>/g,">"),v(/"/g,"""),v(/'/g,"'"),v(/`/g,"`")),function(t,e){return{onEndResult:function(n){if(null==t||null==e)throw new Error("replaceResultTransformer requires at least 2 arguments.");return n.replace(t,e)}}});new i(m(/(?:\n(?:\s*))+/g," "),p),new i(m(/(?:\n\s*)/g,""),p),new i(u({separator:","}),m(/(?:\s+)/g," "),p),new i(u({separator:",",conjunction:"or"}),m(/(?:\s+)/g," "),p),new i(u({separator:",",conjunction:"and"}),m(/(?:\s+)/g," "),p),new i(u,l,p),new i(u,m(/(?:\s+)/g," "),p),new i(l,p),new i(l("all"),p)},8440:function(t,e){"use strict";e.__esModule=!0,e.applyTrailingSlashOption=void 0;e.applyTrailingSlashOption=function(t,e){void 0===e&&(e="legacy");var n=t.endsWith(".html");return"/"===t?t:(n&&(e="never"),"always"===e?t.endsWith("/")?t:t+"/":"never"===e&&t.endsWith("/")?t.slice(0,-1):t)}},6494:function(t){"use strict";t.exports=Object.assign},8037:function(t,e,n){"use strict";var r=n(5318);e.__esModule=!0,e.withPrefix=v,e.withAssetPrefix=function(t){return v(t,m())},e.navigate=e.default=void 0;var o=r(n(7316)),a=r(n(1506)),i=r(n(5354)),s=r(n(7154)),u=r(n(5697)),c=r(n(7294)),l=n(9499),p=n(1752);e.parsePath=p.parsePath;var f=n(4587),h=n(349),d=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function v(t,e){var n,r;if(void 0===e&&(e=g()),!(0,f.isLocalLink)(t))return t;if(t.startsWith("./")||t.startsWith("../"))return t;var o=null!==(n=null!==(r=e)&&void 0!==r?r:m())&&void 0!==n?n:"/";return""+(null!=o&&o.endsWith("/")?o.slice(0,-1):o)+(t.startsWith("/")?t:"/"+t)}var m=function(){return""},g=function(){return""};var y={activeClassName:u.default.string,activeStyle:u.default.object,partiallyActive:u.default.bool};function w(t){return c.default.createElement(l.Location,null,(function(e){var n=e.location;return c.default.createElement(b,(0,s.default)({},t,{_location:n}))}))}var b=function(t){function e(e){var n;(n=t.call(this,e)||this).defaultGetProps=function(t){var e=t.isPartiallyCurrent,r=t.isCurrent;return(n.props.partiallyActive?e: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.abortPrefetch=null,n.handleRef=n.handleRef.bind((0,a.default)(n)),n}(0,i.default)(e,t);var n=e.prototype;return n._prefetch=function(){var t=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(t=this.props._location.pathname+this.props._location.search);var e=(0,h.rewriteLinkPath)(this.props.to,t),n=(0,p.parsePath)(e),r=n.pathname+n.search;if(t!==r)return ___loader.enqueue(r)},n.componentWillUnmount=function(){if(this.io){var t=this.io,e=t.instance,n=t.el;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(n),e.disconnect()}},n.handleRef=function(t){var e,n,r,o=this;this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=t:this.props.innerRef&&this.props.innerRef(t),this.state.IOSupported&&t&&(this.io=(e=t,n=function(t){t?o.abortPrefetch=o._prefetch():o.abortPrefetch&&o.abortPrefetch.abort()},(r=new window.IntersectionObserver((function(t){t.forEach((function(t){e===t.target&&n(t.isIntersecting||t.intersectionRatio>0)}))}))).observe(e),{instance:r,el:e}))},n.render=function(){var t=this,e=this.props,n=e.to,r=e.getProps,a=void 0===r?this.defaultGetProps:r,i=e.onClick,u=e.onMouseEnter,v=(e.activeClassName,e.activeStyle,e.innerRef,e.partiallyActive,e.state),m=e.replace,g=e._location,y=(0,o.default)(e,d);var w=(0,h.rewriteLinkPath)(n,g.pathname);return(0,f.isLocalLink)(w)?c.default.createElement(l.Link,(0,s.default)({to:w,state:v,getProps:a,innerRef:this.handleRef,onMouseEnter:function(t){u&&u(t);var e=(0,p.parsePath)(w);___loader.hovering(e.pathname+e.search)},onClick:function(e){if(i&&i(e),!(0!==e.button||t.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();var n=m,r=encodeURI(w)===g.pathname;"boolean"!=typeof m&&r&&(n=!0),window.___navigate(w,{state:v,replace:n})}return!0}},y)):c.default.createElement("a",(0,s.default)({href:w},y))},e}(c.default.Component);b.propTypes=(0,s.default)({},y,{onClick:u.default.func,to:u.default.string.isRequired,replace:u.default.bool,state:u.default.object});var P=c.default.forwardRef((function(t,e){return c.default.createElement(w,(0,s.default)({innerRef:e},t))}));e.default=P;e.navigate=function(t,e){window.___navigate((0,h.rewriteLinkPath)(t,window.location.pathname),e)}},4587:function(t,e){"use strict";e.__esModule=!0,e.isLocalLink=void 0;var n=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/;e.isLocalLink=function(t){if("string"==typeof t)return!function(t){return n.test(t)}(t)}},1752:function(t,e){"use strict";e.__esModule=!0,e.parsePath=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var a=e.indexOf("?");-1!==a&&(n=e.substr(a),e=e.substr(0,a));return{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}},349:function(t,e,n){"use strict";e.__esModule=!0,e.rewriteLinkPath=void 0;var r=n(2098),o=(n(8440),n(1752)),a=n(4587),i=n(8037),s=function(t){return null==t?void 0:t.startsWith("/")};e.rewriteLinkPath=function(t,e){if("number"==typeof t)return t;if(!(0,a.isLocalLink)(t))return t;var n=(0,o.parsePath)(t),u=(n.pathname,n.search,n.hash,t);return s(u)?(0,i.withPrefix)(u):function(t,e){return s(t)?t:(0,r.resolve)(t,e)}(u,e)}},9679:function(t,e,n){"use strict";e.$C=void 0;var r=n(1432);e.$C=r.ScrollHandler,n(4855).useScrollRestoration},1432:function(t,e,n){"use strict";var r=n(5318);e.__esModule=!0,e.ScrollHandler=e.ScrollContext=void 0;var o=r(n(1506)),a=r(n(5354)),i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var i=o?Object.getOwnPropertyDescriptor(t,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=t[a]}r.default=t,n&&n.set(t,r);return r}(n(7294)),s=r(n(5697)),u=n(1142);function c(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(t)}var l=i.createContext(new u.SessionStorage);e.ScrollContext=l,l.displayName="GatsbyScrollContext";var p=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this)._stateStorage=new u.SessionStorage,e._isTicking=!1,e._latestKnownScrollY=0,e.scrollListener=function(){e._latestKnownScrollY=window.scrollY,e._isTicking||(e._isTicking=!0,requestAnimationFrame(e._saveScroll.bind((0,o.default)(e))))},e.windowScroll=function(t,n){e.shouldUpdateScroll(n,e.props)&&window.scrollTo(0,t)},e.scrollToHash=function(t,n){var r=document.getElementById(t.substring(1));r&&e.shouldUpdateScroll(n,e.props)&&r.scrollIntoView()},e.shouldUpdateScroll=function(t,n){var r=e.props.shouldUpdateScroll;return!r||r.call((0,o.default)(e),t,n)},e}(0,a.default)(e,t);var n=e.prototype;return n._saveScroll=function(){var t=this.props.location.key||null;t&&this._stateStorage.save(this.props.location,t,this._latestKnownScrollY),this._isTicking=!1},n.componentDidMount=function(){var t;window.addEventListener("scroll",this.scrollListener);var e=this.props.location,n=e.key,r=e.hash;n&&(t=this._stateStorage.read(this.props.location,n)),t?this.windowScroll(t,void 0):r&&this.scrollToHash(decodeURI(r),void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(t){var e,n=this.props.location,r=n.hash,o=n.key;o&&(e=this._stateStorage.read(this.props.location,o)),r?this.scrollToHash(decodeURI(r),t):this.windowScroll(e,t)},n.render=function(){return i.createElement(l.Provider,{value:this._stateStorage},this.props.children)},e}(i.Component);e.ScrollHandler=p,p.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},1142:function(t,e){"use strict";e.__esModule=!0,e.SessionStorage=void 0;var n="___GATSBY_REACT_ROUTER_SCROLL",r=function(){function t(){}var e=t.prototype;return e.read=function(t,e){var r=this.getStateKey(t,e);try{var o=window.sessionStorage.getItem(r);return o?JSON.parse(o):0}catch(a){return window&&window[n]&&window[n][r]?window[n][r]:0}},e.save=function(t,e,r){var o=this.getStateKey(t,e),a=JSON.stringify(r);try{window.sessionStorage.setItem(o,a)}catch(i){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(a)}},e.getStateKey=function(t,e){var n="@@scroll|"+t.pathname;return null==e?n:n+"|"+e},t}();e.SessionStorage=r},4855:function(t,e,n){"use strict";e.__esModule=!0,e.useScrollRestoration=function(t){var e=(0,a.useLocation)(),n=(0,o.useContext)(r.ScrollContext),i=(0,o.useRef)(null);return(0,o.useLayoutEffect)((function(){if(i.current){var r=n.read(e,t);i.current.scrollTo(0,r||0)}}),[e.key]),{ref:i,onScroll:function(){i.current&&n.save(e,t,i.current.scrollTop)}}};var r=n(1432),o=n(7294),a=n(9499)},5418:function(t,e,n){e.components={"component---src-pages-about-jsx":function(){return Promise.all([n.e(351),n.e(354)]).then(n.bind(n,2700))},"component---src-pages-contact-jsx":function(){return Promise.all([n.e(351),n.e(661)]).then(n.bind(n,8797))},"component---src-pages-index-jsx":function(){return Promise.all([n.e(351),n.e(230)]).then(n.bind(n,610))}}},4741:function(t,e,n){t.exports=[{plugin:n(1306),options:{plugins:[]}},{plugin:n(7420),options:{plugins:[]}}]},3092:function(t,e,n){var r=n(4741),o=n(8575).jN,a=o.getResourceURLsForPathname,i=o.loadPage,s=o.loadPageSync;e.h=function(t,e,n,o){void 0===e&&(e={});var u=r.map((function(n){if(n.plugin[t]){e.getResourceURLsForPathname=a,e.loadPage=i,e.loadPageSync=s;var r=n.plugin[t](e,n.options);return r&&o&&(e=o({args:e,result:r,plugin:n})),r}}));return(u=u.filter((function(t){return void 0!==t}))).length>0?u:n?[n]:[]},e.I=function(t,e,n){return r.reduce((function(n,r){return r.plugin[t]?n.then((function(){return r.plugin[t](e,r.options)})):n}),Promise.resolve())}},8299:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var r=function(t){return t=t||Object.create(null),{on:function(e,n){(t[e]||(t[e]=[])).push(n)},off:function(e,n){t[e]&&t[e].splice(t[e].indexOf(n)>>>0,1)},emit:function(e,n){(t[e]||[]).slice().map((function(t){t(n)})),(t["*"]||[]).slice().map((function(t){t(e,n)}))}}}()},7802:function(t,e,n){"use strict";n.d(e,{UD:function(){return f},Cj:function(){return d},GA:function(){return h},DS:function(){return p}});var r=n(2098),o=n(1505),a=function(t){if(void 0===t)return t;var e=t.split("?"),n=e[0],r=e[1],o=void 0===r?"":r;return o&&(o="?"+o),"/"===n?"/"+o:"/"===n.charAt(n.length-1)?n.slice(0,-1)+o:n+o},i=n(6073),s=new Map,u=[],c=function(t){var e=decodeURIComponent(t);return(0,o.Z)(e,decodeURIComponent("")).split("#")[0]};function l(t){return t.startsWith("/")||t.startsWith("https://")||t.startsWith("http://")?t:new URL(t,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}var p=function(t){u=t},f=function(t){var e=v(t),n=u.map((function(t){var e=t.path;return{path:t.matchPath,originalPath:e}})),o=(0,r.pick)(n,e);return o?a(o.route.originalPath):null},h=function(t){var e=v(t),n=u.map((function(t){var e=t.path;return{path:t.matchPath,originalPath:e}})),o=(0,r.pick)(n,e);return o?o.params:{}},d=function t(e){var n=c(l(e));if(s.has(n))return s.get(n);var r=(0,i.J)(e);if(r)return t(r.toPath);var o=f(n);return o||(o=v(e)),s.set(n,o),o},v=function(t){var e=c(l(t));return"/index.html"===e&&(e="/"),e=a(e)}},8575:function(t,e,n){"use strict";n.d(e,{uQ:function(){return p},kL:function(){return w},ZP:function(){return E},hs:function(){return R},jN:function(){return P},N1:function(){return b}});var r=n(1721);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function a(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var i=function(t){if("undefined"==typeof document)return!1;var e=document.createElement("link");try{if(e.relList&&"function"==typeof e.relList.supports)return e.relList.supports(t)}catch(n){return!1}return!1}("prefetch")?function(t,e){return new Promise((function(n,r){if("undefined"!=typeof document){var o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",t),Object.keys(e).forEach((function(t){o.setAttribute(t,e[t])})),o.onload=n,o.onerror=r,(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}else r()}))}:function(t){return new Promise((function(e,n){var r=new XMLHttpRequest;r.open("GET",t,!0),r.onload=function(){200===r.status?e():n()},r.send(null)}))},s={},u=function(t,e){return new Promise((function(n){s[t]?n():i(t,e).then((function(){n(),s[t]=!0})).catch((function(){}))}))},c=n(8299),l=n(7802),p={Error:"error",Success:"success"},f=function(t){return t&&t.default||t},h=function(t){var e=t.split("?"),n=e[0],r=e[1];return"/page-data/"+("/"===n?"index":function(t){return(t="/"===t[0]?t.slice(1):t).endsWith("/")?t.slice(0,-1):t}(n))+"/page-data.json"+(r?"?"+r:"")};function d(t,e){return void 0===e&&(e="GET"),new Promise((function(n){var r=new XMLHttpRequest;r.open(e,t,!0),r.onreadystatechange=function(){4==r.readyState&&n(r)},r.send(null)}))}var v,m=function(t,e){void 0===e&&(e=null);var n={componentChunkName:t.componentChunkName,path:t.path,webpackCompilationHash:t.webpackCompilationHash,matchPath:t.matchPath,staticQueryHashes:t.staticQueryHashes,getServerDataError:t.getServerDataError};return{component:e,json:t.result,page:n}},g=function(){function t(t,e){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=t,(0,l.DS)(e)}var e=t.prototype;return e.memoizedGet=function(t){var e=this,n=this.inFlightNetworkRequests.get(t);return n||(n=d(t,"GET"),this.inFlightNetworkRequests.set(t,n)),n.then((function(n){return e.inFlightNetworkRequests.delete(t),n})).catch((function(n){throw e.inFlightNetworkRequests.delete(t),n}))},e.setApiRunner=function(t){this.apiRunner=t,this.prefetchDisabled=t("disableCorePrefetching").some((function(t){return t}))},e.fetchPageDataJson=function(t){var e=this,n=t.pagePath,r=t.retries,o=void 0===r?0:r,a=h(n);return this.memoizedGet(a).then((function(r){var a=r.status,i=r.responseText;if(200===a)try{var s=JSON.parse(i);if(void 0===s.path)throw new Error("not a valid pageData response");var u=n.split("?")[1];return u&&!s.path.includes(u)&&(s.path+="?"+u),Object.assign(t,{status:p.Success,payload:s})}catch(c){}return 404===a||200===a?"/404.html"===n||"/500.html"===n?Object.assign(t,{status:p.Error}):e.fetchPageDataJson(Object.assign(t,{pagePath:"/404.html",notFound:!0})):500===a?e.fetchPageDataJson(Object.assign(t,{pagePath:"/500.html",internalServerError:!0})):o<3?e.fetchPageDataJson(Object.assign(t,{retries:o+1})):Object.assign(t,{status:p.Error})}))},e.loadPageDataJson=function(t){var e=this,n=(0,l.Cj)(t);if(this.pageDataDb.has(n)){var r=this.pageDataDb.get(n);return Promise.resolve(r)}return this.fetchPageDataJson({pagePath:n}).then((function(t){return e.pageDataDb.set(n,t),t}))},e.findMatchPath=function(t){return(0,l.UD)(t)},e.loadPage=function(t){var e=this,n=(0,l.Cj)(t);if(this.pageDb.has(n)){var r=this.pageDb.get(n);return r.error?{error:r.error,status:r.status}: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(t){var r=t[1];if(r.status===p.Error)return{status:p.Error};var o=r.payload,a=o,i=a.componentChunkName,s=a.staticQueryHashes,u=void 0===s?[]:s,l={},f=e.loadComponent(i).then((function(e){var n;return l.createdAt=new Date,!e||e instanceof Error?(l.status=p.Error,l.error=e):(l.status=p.Success,!0===r.notFound&&(l.notFound=!0),o=Object.assign(o,{webpackCompilationHash:t[0]?t[0].webpackCompilationHash:""}),n=m(o,e)),n})),h=Promise.all(u.map((function(t){if(e.staticQueryDb[t]){var n=e.staticQueryDb[t];return{staticQueryHash:t,jsonPayload:n}}return e.memoizedGet("/page-data/sq/d/"+t+".json").then((function(e){var n=JSON.parse(e.responseText);return{staticQueryHash:t,jsonPayload:n}})).catch((function(){throw new Error("We couldn't load \"/page-data/sq/d/"+t+'.json"')}))}))).then((function(t){var n={};return t.forEach((function(t){var r=t.staticQueryHash,o=t.jsonPayload;n[r]=o,e.staticQueryDb[r]=o})),n}));return Promise.all([f,h]).then((function(t){var r,o=t[0],a=t[1];return o&&(r=Object.assign({},o,{staticQueryResults:a}),l.payload=r,c.Z.emit("onPostLoadPageResources",{page:r,pageResources:r})),e.pageDb.set(n,l),l.error?{error:l.error,status:l.status}:r})).catch((function(t){return{error:t,status:p.Error}}))}));return o.then((function(){e.inFlightDb.delete(n)})).catch((function(t){throw e.inFlightDb.delete(n),t})),this.inFlightDb.set(n,o),o},e.loadPageSync=function(t,e){void 0===e&&(e={});var n=(0,l.Cj)(t);if(this.pageDb.has(n)){var r,o=this.pageDb.get(n);if(o.payload)return o.payload;if(null!==(r=e)&&void 0!==r&&r.withErrorDetails)return{error:o.error,status:o.status}}},e.shouldPrefetch=function(t){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(t)},e.prefetch=function(t){var e=this;if(!this.shouldPrefetch(t))return{then:function(t){return t(!1)},abort:function(){}};if(this.prefetchTriggered.has(t))return{then:function(t){return t(!0)},abort:function(){}};var n={resolve:null,reject:null,promise:null};n.promise=new Promise((function(t,e){n.resolve=t,n.reject=e})),this.prefetchQueued.push([t,n]);var r=new AbortController;return r.signal.addEventListener("abort",(function(){var n=e.prefetchQueued.findIndex((function(e){return e[0]===t}));-1!==n&&e.prefetchQueued.splice(n,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((function(){e._processNextPrefetchBatch()}),3e3)),{then:function(t,e){return n.promise.then(t,e)},abort:r.abort.bind(r)}},e._processNextPrefetchBatch=function(){var t=this;(window.requestIdleCallback||function(t){return setTimeout(t,0)})((function(){var e=t.prefetchQueued.splice(0,4),n=Promise.all(e.map((function(e){var n=e[0],r=e[1];return t.prefetchTriggered.has(n)||(t.apiRunner("onPrefetchPathname",{pathname:n}),t.prefetchTriggered.add(n)),t.prefetchDisabled?r.resolve(!1):t.doPrefetch((0,l.Cj)(n)).then((function(){t.prefetchCompleted.has(n)||(t.apiRunner("onPostPrefetchPathname",{pathname:n}),t.prefetchCompleted.add(n)),r.resolve(!0)}))})));t.prefetchQueued.length?n.then((function(){setTimeout((function(){t._processNextPrefetchBatch()}),3e3)})):t.isPrefetchQueueRunning=!1}))},e.doPrefetch=function(t){var e=this,n=h(t);return u(n,{crossOrigin:"anonymous",as:"fetch"}).then((function(){return e.loadPageDataJson(t)}))},e.hovering=function(t){this.loadPage(t)},e.getResourceURLsForPathname=function(t){var e=(0,l.Cj)(t),n=this.pageDataDb.get(e);if(n){var r=m(n.payload);return[].concat(a(y(r.page.componentChunkName)),[h(e)])}return null},e.isPageNotFound=function(t){var e=(0,l.Cj)(t),n=this.pageDb.get(e);return!n||n.notFound},e.loadAppData=function(t){var e=this;return void 0===t&&(t=0),this.memoizedGet("/page-data/app-data.json").then((function(n){var r,o=n.status,a=n.responseText;if(200!==o&&t<3)return e.loadAppData(t+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(s){}return r}))},t}(),y=function(t){return(window.___chunkMapping[t]||[]).map((function(t){return""+t}))},w=function(t){function e(e,n,r){var o;return o=t.call(this,(function(t){if(!e.components[t])throw new Error("We couldn't find the correct component chunk with the name "+t);return e.components[t]().then(f).catch((function(t){return t}))}),n)||this,r&&o.pageDataDb.set((0,l.Cj)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.Z)(e,t);var n=e.prototype;return n.doPrefetch=function(e){return t.prototype.doPrefetch.call(this,e).then((function(t){if(t.status!==p.Success)return Promise.resolve();var e=t.payload,n=e.componentChunkName,r=y(n);return Promise.all(r.map(u)).then((function(){return e}))}))},n.loadPageDataJson=function(e){return t.prototype.loadPageDataJson.call(this,e).then((function(t){return t.notFound?d(e,"HEAD").then((function(e){return 200===e.status?{status:p.Error}:t})):t}))},e}(g),b=function(t){v=t},P={enqueue:function(t){return v.prefetch(t)},getResourceURLsForPathname:function(t){return v.getResourceURLsForPathname(t)},loadPage:function(t){return v.loadPage(t)},loadPageSync:function(t,e){return void 0===e&&(e={}),v.loadPageSync(t,e)},prefetch:function(t){return v.prefetch(t)},isPageNotFound:function(t){return v.isPageNotFound(t)},hovering:function(t){return v.hovering(t)},loadAppData:function(){return v.loadAppData()}},E=P;function R(){return v?v.staticQueryDb:{}}},8522:function(t,e,n){"use strict";var r=n(1721),o=n(7294),a=n(3092),i=n(7802),s=function(t){function e(){return t.apply(this,arguments)||this}return(0,r.Z)(e,t),e.prototype.render=function(){var t=Object.assign({},this.props,{params:Object.assign({},(0,i.GA)(this.props.location.pathname),this.props.pageResources.json.pageContext.__params)}),e=(0,o.createElement)(this.props.pageResources.component,Object.assign({},t,{key:this.props.path||this.props.pageResources.page.path}));return(0,a.h)("wrapPageElement",{element:e,props:t},e,(function(e){return{element:e.result,props:t}})).pop()},e}(o.Component);e.Z=s},3928:function(t,e,n){"use strict";var r=n(1721),o=n(3092),a=n(7294),i=n(3935),s=n(9499),u=n(9679),c=n(8037),l=(n(2743),n(8575)),p=(l.ZP.enqueue,a.createContext({}));var f=n(6073),h=n(8299),d={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"},v=n(2393);function m(t){var e=(0,f.J)(t),n=window.location,r=n.hash,o=n.search;return null!=e&&(window.___replace(e.toPath+o+r),!0)}var g="";window.addEventListener("unhandledrejection",(function(t){/loading chunk \d* failed./i.test(t.reason)&&g&&(window.location.pathname=g)}));var y=function(t,e){m(t.pathname)||(g=t.pathname,(0,o.h)("onPreRouteUpdate",{location:t,prevLocation:e}))},w=function(t,e){m(t.pathname)||(0,o.h)("onRouteUpdate",{location:t,prevLocation:e})},b=function(t,e){if(void 0===e&&(e={}),"number"!=typeof t){var n=(0,c.parsePath)(t),r=n.pathname,a=n.search,i=n.hash,u=(0,f.J)(r);if(u&&(t=u.toPath+a+i),window.___swUpdated)window.location=r+a+i;else{var p=setTimeout((function(){h.Z.emit("onDelayedLoadPageResources",{pathname:r}),(0,o.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);l.ZP.loadPage(r+a).then((function(n){if(!n||n.status===l.uQ.Error)return window.history.replaceState({},"",location.href),window.location=r,void clearTimeout(p);n&&n.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=r+a+i),(0,s.navigate)(t,e),clearTimeout(p)}))}}else v.V5.navigate(t)};function P(t,e){var n=this,r=e.location,a=r.pathname,i=r.hash,s=(0,o.h)("shouldUpdateScroll",{prevRouterProps:t,pathname:a,routerProps:{location:r},getSavedScrollPosition:function(t){return[0,n._stateStorage.read(t,t.key)]}});if(s.length>0)return s[s.length-1];if(t&&t.location.pathname===a)return i?decodeURI(i.slice(1)):[0,0];return!0}var E=function(t){function e(e){var n;return(n=t.call(this,e)||this).announcementRef=a.createRef(),n}(0,r.Z)(e,t);var n=e.prototype;return n.componentDidUpdate=function(t,e){var n=this;requestAnimationFrame((function(){var t="new page at "+n.props.location.pathname;document.title&&(t=document.title);var e=document.querySelectorAll("#gatsby-focus-wrapper h1");e&&e.length&&(t=e[0].textContent);var r="Navigated to "+t;n.announcementRef.current&&(n.announcementRef.current.innerText!==r&&(n.announcementRef.current.innerText=r))}))},n.render=function(){return a.createElement("div",Object.assign({},d,{ref:this.announcementRef}))},e}(a.Component),R=function(t,e){var n,r;return t.href!==e.href||(null==t||null===(n=t.state)||void 0===n?void 0:n.key)!==(null==e||null===(r=e.state)||void 0===r?void 0:r.key)},S=function(t){function e(e){var n;return n=t.call(this,e)||this,y(e.location,null),n}(0,r.Z)(e,t);var n=e.prototype;return n.componentDidMount=function(){w(this.props.location,null)},n.shouldComponentUpdate=function(t){return!!R(t.location,this.props.location)&&(y(this.props.location,t.location),!0)},n.componentDidUpdate=function(t){R(t.location,this.props.location)&&w(this.props.location,t.location)},n.render=function(){return a.createElement(a.Fragment,null,this.props.children,a.createElement(E,{location:location}))},e}(a.Component),_=n(8522),k=n(5418);function C(t,e){for(var n in t)if(!(n in e))return!0;for(var r in e)if(t[r]!==e[r])return!0;return!1}var j=function(t){function e(e){var n;n=t.call(this)||this;var r=e.location,o=e.pageResources;return n.state={location:Object.assign({},r),pageResources:o||l.ZP.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,r.Z)(e,t),e.getDerivedStateFromProps=function(t,e){var n=t.location;return e.location.href!==n.href?{pageResources:l.ZP.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:Object.assign({},n)}:{location:Object.assign({},n)}};var n=e.prototype;return n.loadResources=function(t){var e=this;l.ZP.loadPage(t).then((function(n){n&&n.status!==l.uQ.Error?e.setState({location:Object.assign({},window.location),pageResources:n}):(window.history.replaceState({},"",location.href),window.location=t)}))},n.shouldComponentUpdate=function(t,e){return e.pageResources?this.state.pageResources!==e.pageResources||(this.state.pageResources.component!==e.pageResources.component||(this.state.pageResources.json!==e.pageResources.json||(!(this.state.location.key===e.location.key||!e.pageResources.page||!e.pageResources.page.matchPath&&!e.pageResources.page.path)||function(t,e,n){return C(t.props,e)||C(t.state,n)}(this,t,e)))):(this.loadResources(t.location.pathname+t.location.search),!1)},n.render=function(){return this.props.children(this.state)},e}(a.Component),x=n(1505),O=new l.kL(k,[],window.pageData);(0,l.N1)(O),O.setApiRunner(o.h),window.asyncRequires=k,window.___emitter=h.Z,window.___loader=l.jN,v.V5.listen((function(t){t.location.action=t.action})),window.___push=function(t){return b(t,{replace:!1})},window.___replace=function(t){return b(t,{replace:!0})},window.___navigate=function(t,e){return b(t,e)};var L="gatsby-reload-compilation-hash-match";(0,o.I)("onClientEntry").then((function(){(0,o.h)("registerServiceWorker").filter(Boolean).length>0&&n(9939);var t=function(t){return a.createElement(s.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.createElement(_.Z,t))},e=a.createContext({}),c=function(t){function n(){return t.apply(this,arguments)||this}return(0,r.Z)(n,t),n.prototype.render=function(){var t=this.props.children;return a.createElement(s.Location,null,(function(n){var r=n.location;return a.createElement(j,{location:r},(function(n){var r=n.pageResources,o=n.location,i=(0,l.hs)();return a.createElement(p.Provider,{value:i},a.createElement(e.Provider,{value:{pageResources:r,location:o}},t))}))}))},n}(a.Component),f=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.Z)(o,n),o.prototype.render=function(){var n=this;return a.createElement(e.Consumer,null,(function(e){var r=e.pageResources,o=e.location;return a.createElement(S,{location:o},a.createElement(u.$C,{location:o,shouldUpdateScroll:P},a.createElement(s.Router,{basepath:"",location:o,id:"gatsby-focus-wrapper"},a.createElement(t,Object.assign({path:"/404.html"===r.page.path||"/500.html"===r.page.path?(0,x.Z)(o.pathname,""):encodeURI((r.page.matchPath||r.page.path).split("?")[0])},n.props,{location:o,pageResources:r},r.json)))))}))},o}(a.Component),h=window,d=h.pagePath,v=h.location;d&&""+d!==v.pathname+(d.includes("?")?v.search:"")&&!(O.findMatchPath((0,x.Z)(v.pathname,""))||d.match(/^\/(404|500)(\/?|.html)$/)||d.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,s.navigate)(""+d+(d.includes("?")?"":v.search)+v.hash,{replace:!0});var m=function(){try{return sessionStorage}catch(t){return null}};l.jN.loadPage(v.pathname+v.search).then((function(t){var e,n=m();if(null!=t&&null!==(e=t.page)&&void 0!==e&&e.webpackCompilationHash&&t.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),n&&!("1"===n.getItem(L))))return n.setItem(L,"1"),void window.location.reload(!0);if(n&&n.removeItem(L),!t||t.status===l.uQ.Error){var r="page resources for "+v.pathname+" not found. Not rendering React";if(t&&t.error)throw console.error(r),t.error;throw new Error(r)}var s=(0,o.h)("wrapRootElement",{element:a.createElement(f,null)},a.createElement(f,null),(function(t){return{element:t.result}})).pop(),u=function(){var t=a.useRef(!1);return a.useEffect((function(){t.current||(t.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.h)("onInitialClientRender"))}),[]),a.createElement(c,null,s)},p=(0,o.h)("replaceHydrateFunction",void 0,i.hydrateRoot?i.hydrateRoot:i.hydrate)[0];function h(){var t="undefined"!=typeof window?document.getElementById("___gatsby"):null;p===i.hydrateRoot?p(t,a.createElement(u,null)):p(a.createElement(u,null),t)}var d=document;if("complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll)setTimeout((function(){h()}),0);else{var g=function t(){d.removeEventListener("DOMContentLoaded",t,!1),window.removeEventListener("load",t,!1),h()};d.addEventListener("DOMContentLoaded",g,!1),window.addEventListener("load",g,!1)}}))}))},224:function(t,e,n){"use strict";n.r(e);var r=n(7294),o=n(8575),a=n(8522);e.default=function(t){var e=t.location,n=o.ZP.loadPageSync(e.pathname);return n?r.createElement(a.Z,Object.assign({location:e,pageResources:n},n.json)):null}},2743:function(t,e,n){var r;t.exports=(r=n(224))&&r.default||r},9712:function(t,e){e.O=function(t){return t}},6073:function(t,e,n){"use strict";n.d(e,{J:function(){return a}});var r=new Map,o=new Map;function a(t){var e=r.get(t);return e||(e=o.get(t.toLowerCase())),e}[].forEach((function(t){t.ignoreCase?o.set(t.fromPath,t):r.set(t.fromPath,t)}))},9939:function(t,e,n){"use strict";n.r(e);var r=n(3092);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then((function(t){t.addEventListener("updatefound",(function(){(0,r.h)("onServiceWorkerUpdateFound",{serviceWorker:t});var e=t.installing;console.log("installingWorker",e),e.addEventListener("statechange",(function(){switch(e.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.h)("onServiceWorkerUpdateReady",{serviceWorker:t}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.h)("onServiceWorkerInstalled",{serviceWorker:t}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.h)("onServiceWorkerRedundant",{serviceWorker:t});break;case"activated":(0,r.h)("onServiceWorkerActive",{serviceWorker:t})}}))}))})).catch((function(t){console.error("Error during service worker registration:",t)}))},1505:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=""),e?t===e?"/":t.startsWith(e+"/")?t.slice(e.length):t:t}n.d(e,{Z:function(){return r}})},7420:function(t,e,n){"use strict";n.r(e)},396:function(t,e,n){"use strict";n.d(e,{L:function(){return w},M:function(){return k},P:function(){return _},S:function(){return N},_:function(){return c},a:function(){return s},b:function(){return d},c:function(){return W},g:function(){return v}});var r=n(7294),o=(n(4041),n(4811),n(5697)),a=n.n(o),i=n(3935);function s(){return s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s.apply(this,arguments)}function u(t,e){return u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},u(t,e)}function c(t,e){if(null==t)return{};var n,r,o={},a=Object.keys(t);for(r=0;r<a.length;r++)e.indexOf(n=a[r])>=0||(o[n]=t[n]);return o}var l=new Set,p=function(){return"undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype};function f(t){t&&l.add(t)}function h(t){return l.has(t)}function d(t,e,r,o,a,i,u,c){var l,p;return void 0===c&&(c={}),null!=u&&u.current&&!("objectFit"in document.documentElement.style)&&(u.current.dataset.objectFit=null!=(l=c.objectFit)?l:"cover",u.current.dataset.objectPosition=""+(null!=(p=c.objectPosition)?p:"50% 50%"),function(t){try{var e=function(){window.objectFitPolyfill(t.current)},r=function(){if(!("objectFitPolyfill"in window))return Promise.resolve(n.e(231).then(n.t.bind(n,7231,23))).then((function(){}))}();Promise.resolve(r&&r.then?r.then(e):e())}catch(t){return Promise.reject(t)}}(u)),s({},r,{loading:o,shouldLoad:t,"data-main-image":"",style:s({},c,{opacity:e?1:0}),onLoad:function(t){if(!e){f(i);var n=t.currentTarget,r=new Image;r.src=n.currentSrc,r.decode?r.decode().catch((function(){})).then((function(){a(!0)})):a(!0)}},ref:u})}function v(t,e,n,r,o,a,i,u){var c={};a&&(c.backgroundColor=a,"fixed"===n?(c.width=r,c.height=o,c.backgroundColor=a,c.position="relative"):("constrained"===n||"fullWidth"===n)&&(c.position="absolute",c.top=0,c.left=0,c.bottom=0,c.right=0)),i&&(c.objectFit=i),u&&(c.objectPosition=u);var l=s({},t,{"aria-hidden":!0,"data-placeholder-image":"",style:s({opacity:e?0:1,transition:"opacity 500ms linear"},c)});return l}var m,g=["children"],y=function(t){var e=t.layout,n=t.width,o=t.height;return"fullWidth"===e?r.createElement("div",{"aria-hidden":!0,style:{paddingTop:o/n*100+"%"}}):"constrained"===e?r.createElement("div",{style:{maxWidth:n,display:"block"}},r.createElement("img",{alt:"",role:"presentation","aria-hidden":"true",src:"data:image/svg+xml;charset=utf-8,%3Csvg height='"+o+"' width='"+n+"' xmlns='http://www.w3.org/2000/svg' version='1.1'%3E%3C/svg%3E",style:{maxWidth:"100%",display:"block",position:"static"}})):null},w=function(t){var e=t.children,n=c(t,g);return r.createElement(r.Fragment,null,r.createElement(y,s({},n)),e,!1)},b=["src","srcSet","loading","alt","shouldLoad","innerRef"],P=["fallback","sources","shouldLoad"],E=function(t){var e=t.src,n=t.srcSet,o=t.loading,a=t.alt,i=void 0===a?"":a,u=t.shouldLoad,l=t.innerRef,p=c(t,b);return r.createElement("img",s({},p,{decoding:"async",loading:o,src:u?e:void 0,"data-src":u?void 0:e,srcSet:u?n:void 0,"data-srcset":u?void 0:n,alt:i,ref:l}))},R=(0,r.forwardRef)((function(t,e){var n=t.fallback,o=t.sources,a=void 0===o?[]:o,i=t.shouldLoad,u=void 0===i||i,l=c(t,P),p=l.sizes||(null==n?void 0:n.sizes),f=r.createElement(E,s({},l,n,{sizes:p,shouldLoad:u,innerRef:e}));return a.length?r.createElement("picture",null,a.map((function(t){var e=t.media,n=t.srcSet,o=t.type;return r.createElement("source",{key:e+"-"+o+"-"+n,type:o,media:e,srcSet:u?n:void 0,"data-srcset":u?void 0:n,sizes:p})})),f):f}));E.propTypes={src:o.string.isRequired,alt:o.string.isRequired,sizes:o.string,srcSet:o.string,shouldLoad:o.bool},R.displayName="Picture",R.propTypes={alt:o.string.isRequired,shouldLoad:o.bool,fallback:o.exact({src:o.string.isRequired,srcSet:o.string,sizes:o.string}),sources:o.arrayOf(o.oneOfType([o.exact({media:o.string.isRequired,type:o.string,sizes:o.string,srcSet:o.string.isRequired}),o.exact({media:o.string,type:o.string.isRequired,sizes:o.string,srcSet:o.string.isRequired})]))};var S=["fallback"],_=function(t){var e=t.fallback,n=c(t,S);return e?r.createElement(R,s({},n,{fallback:{src:e},"aria-hidden":!0,alt:""})):r.createElement("div",s({},n))};_.displayName="Placeholder",_.propTypes={fallback:o.string,sources:null==(m=R.propTypes)?void 0:m.sources,alt:function(t,e,n){return t[e]?new Error("Invalid prop `"+e+"` supplied to `"+n+"`. Validation failed."):null}};var k=(0,r.forwardRef)((function(t,e){return r.createElement(r.Fragment,null,r.createElement(R,s({ref:e},t)),r.createElement("noscript",null,r.createElement(R,s({},t,{shouldLoad:!0}))))}));k.displayName="MainImage",k.propTypes=R.propTypes;var C=function(t,e,n){return t.alt||""===t.alt?a().string.apply(a(),[t,e,n].concat([].slice.call(arguments,3))):new Error('The "alt" prop is required in '+n+'. If the image is purely presentational then pass an empty string: e.g. alt="". Learn more: https://a11y-style-guide.com/style-guide/section-media.html')},j={image:a().object.isRequired,alt:C},x=["style","className"],O=function(t){var e,o;function a(e){var n;return(n=t.call(this,e)||this).root=(0,r.createRef)(),n.hydrated={current:!1},n.forceRender={current:!1},n.lazyHydrator=null,n.ref=(0,r.createRef)(),n.unobserveRef=void 0,n.state={isLoading:p(),isLoaded:!1},n}o=t,(e=a).prototype=Object.create(o.prototype),e.prototype.constructor=e,u(e,o);var l=a.prototype;return l._lazyHydrate=function(t,e){var r=this,o=this.root.current.querySelector("[data-gatsby-image-ssr]");return p()&&o&&!this.hydrated.current?(this.hydrated.current=!0,Promise.resolve()):n.e(898).then(n.bind(n,6898)).then((function(n){var o=n.lazyHydrate,a=JSON.stringify(r.props.image.images);r.lazyHydrator=o(s({image:t.image.images,isLoading:e.isLoading||h(a),isLoaded:e.isLoaded||h(a),toggleIsLoaded:function(){null==t.onLoad||t.onLoad(),r.setState({isLoaded:!0})},ref:r.ref},t),r.root,r.hydrated,r.forceRender)}))},l._setupIntersectionObserver=function(t){var e=this;void 0===t&&(t=!0),n.e(610).then(n.bind(n,3610)).then((function(n){var r=(0,n.createIntersectionObserver)((function(){if(e.root.current){var n=JSON.stringify(e.props.image.images);null==e.props.onStartLoad||e.props.onStartLoad({wasCached:t&&h(n)}),e.setState({isLoading:!0,isLoaded:t&&h(n)})}}));e.root.current&&(e.unobserveRef=r(e.root))}))},l.shouldComponentUpdate=function(t,e){var n=this,r=!1;return this.state.isLoading||!e.isLoading||e.isLoaded||(this.forceRender.current=!0),this.props.image.images!==t.image.images&&(this.unobserveRef&&(this.unobserveRef(),this.hydrated.current&&this.lazyHydrator&&(0,i.render)(null,this.root.current)),this.setState({isLoading:!1,isLoaded:!1},(function(){n._setupIntersectionObserver(!1)})),r=!0),this.root.current&&!r&&this._lazyHydrate(t,e),!1},l.componentDidMount=function(){if(this.root.current){var t=this.root.current.querySelector("[data-gatsby-image-ssr]"),e=JSON.stringify(this.props.image.images);if(p()&&t){var n,r;if(null==(n=(r=this.props).onStartLoad)||n.call(r,{wasCached:!1}),t.complete){var o,a;null==(o=(a=this.props).onLoad)||o.call(a),f(e)}else{var i=this;t.addEventListener("load",(function n(){t.removeEventListener("load",n),null==i.props.onLoad||i.props.onLoad(),f(e)}))}return}this._setupIntersectionObserver(!0)}},l.componentWillUnmount=function(){this.unobserveRef&&(this.unobserveRef(),this.hydrated.current&&this.lazyHydrator&&this.lazyHydrator())},l.render=function(){var t=this.props.as||"div",e=this.props.image,n=e.width,o=e.height,a=e.layout,i=function(t,e,n){var r={},o="gatsby-image-wrapper";return"fixed"===n?(r.width=t,r.height=e):"constrained"===n&&(o="gatsby-image-wrapper gatsby-image-wrapper-constrained"),{className:o,"data-gatsby-image-wrapper":"",style:r}}(n,o,a),u=i.style,l=i.className,p=c(i,x),f=this.props.className;this.props.class&&(f=this.props.class);var h=function(t,e,n){var r=null;return"fullWidth"===t&&(r='<div aria-hidden="true" style="padding-top: '+n/e*100+'%;"></div>'),"constrained"===t&&(r='<div style="max-width: '+e+'px; display: block;"><img alt="" role="presentation" aria-hidden="true" src="data:image/svg+xml;charset=utf-8,%3Csvg height=\''+n+"' width='"+e+"' xmlns='http://www.w3.org/2000/svg' version='1.1'%3E%3C/svg%3E\" style=\"max-width: 100%; display: block; position: static;\"></div>"),r}(a,n,o);return r.createElement(t,s({},p,{style:s({},u,this.props.style,{backgroundColor:this.props.backgroundColor}),className:l+(f?" "+f:""),ref:this.root,dangerouslySetInnerHTML:{__html:h},suppressHydrationWarning:!0}))},a}(r.Component),L=function(t){if(!t.image)return null;var e=t.image,n=JSON.stringify([e.width,e.height,e.layout,t.className,t.class,t.backgroundColor]);return r.createElement(O,s({key:n},t))};L.propTypes=j,L.displayName="GatsbyImage";var D,T=["src","__imageData","__error","width","height","aspectRatio","tracedSVGOptions","placeholder","formats","quality","transformOptions","jpgOptions","pngOptions","webpOptions","avifOptions","blurredOptions"],M=function(t,e){return"fullWidth"!==t.layout||"width"!==e&&"height"!==e||!t[e]?a().number.apply(a(),[t,e].concat([].slice.call(arguments,2))):new Error('"'+e+'" '+t[e]+" may not be passed when layout is fullWidth.")},A=new Set(["fixed","fullWidth","constrained"]),U={src:a().string.isRequired,alt:C,width:M,height:M,sizes:a().string,layout:function(t){if(void 0!==t.layout&&!A.has(t.layout))return new Error("Invalid value "+t.layout+'" provided for prop "layout". Defaulting to "constrained". Valid values are "fixed", "fullWidth" or "constrained".')}},N=(D=L,function(t){var e=t.src,n=t.__imageData,o=t.__error,a=c(t,T);return o&&console.warn(o),n?r.createElement(D,s({image:n},a)):(console.warn("Image not loaded",e),null)});function W(t){var e=t.children;return r.useEffect((function(){n.e(898).then(n.bind(n,6898))}),[]),e}N.displayName="StaticImage",N.propTypes=U},1306:function(t,e,n){"use strict";n.r(e),n.d(e,{wrapRootElement:function(){return a}});var r=n(7294),o=n(396);function a(t){var e=t.element;return r.createElement(o.c,null,e)}},9499:function(t,e,n){"use strict";n.r(e),n.d(e,{BaseContext:function(){return N},Link:function(){return G},Location:function(){return M},LocationProvider:function(){return A},Match:function(){return X},Redirect:function(){return Y},Router:function(){return W},ServerLocation:function(){return U},createHistory:function(){return E},createMemorySource:function(){return R},globalHistory:function(){return _},isRedirect:function(){return K},matchPath:function(){return c},navigate:function(){return k},redirectTo:function(){return $},useLocation:function(){return tt},useMatch:function(){return rt},useNavigate:function(){return et},useParams:function(){return nt}});var r=n(7294),o=n(1143),a=n.n(o),i=n(9712),s=function(t,e){return t.substr(0,e.length)===e},u=function(t,e){for(var n=void 0,r=void 0,o=e.split("?")[0],i=g(o),s=""===i[0],u=m(t),c=0,l=u.length;c<l;c++){var p=!1,h=u[c].route;if(h.default)r={route:h,params:{},uri:e};else{for(var v=g(h.path),y={},b=Math.max(i.length,v.length),P=0;P<b;P++){var E=v[P],R=i[P];if(d(E)){y[E.slice(1)||"*"]=i.slice(P).map(decodeURIComponent).join("/");break}if(void 0===R){p=!0;break}var S=f.exec(E);if(S&&!s){-1===w.indexOf(S[1])||a()(!1);var _=decodeURIComponent(R);y[S[1]]=_}else if(E!==R){p=!0;break}}if(!p){n={route:h,params:y,uri:"/"+i.slice(0,P).join("/")};break}}}return n||r||null},c=function(t,e){return u([{path:t}],e)},l=function(t,e){if(s(t,"/"))return t;var n=t.split("?"),r=n[0],o=n[1],a=e.split("?")[0],i=g(r),u=g(a);if(""===i[0])return y(a,o);if(!s(i[0],".")){var c=u.concat(i).join("/");return y(("/"===a?"":"/")+c,o)}for(var l=u.concat(i),p=[],f=0,h=l.length;f<h;f++){var d=l[f];".."===d?p.pop():"."!==d&&p.push(d)}return y("/"+p.join("/"),o)},p=function(t,e){var n=t.split("?"),r=n[0],o=n[1],a=void 0===o?"":o,i="/"+g(r).map((function(t){var n=f.exec(t);return n?e[n[1]]:t})).join("/"),s=e.location,u=(s=void 0===s?{}:s).search,c=(void 0===u?"":u).split("?")[1]||"";return i=y(i,a,c)},f=/^:(.+)/,h=function(t){return f.test(t)},d=function(t){return t&&"*"===t[0]},v=function(t,e){return{route:t,score:t.default?0:g(t.path).reduce((function(t,e){return t+=4,!function(t){return""===t}(e)?h(e)?t+=2:d(e)?t-=5:t+=3:t+=1,t}),0),index:e}},m=function(t){return t.map(v).sort((function(t,e){return t.score<e.score?1:t.score>e.score?-1:t.index-e.index}))},g=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},y=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t+((n=n.filter((function(t){return t&&t.length>0})))&&n.length>0?"?"+n.join("&"):"")},w=["uri","path"],b=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},P=function(t){var e=t.location,n=e.search,r=e.hash,o=e.href,a=e.origin,i=e.protocol,s=e.host,u=e.hostname,c=e.port,l=t.location.pathname;!l&&o&&S&&(l=new URL(o).pathname);return{pathname:encodeURI(decodeURI(l)),search:n,hash:r,href:o,origin:a,protocol:i,host:s,hostname:u,port:c,state:t.history.state,key:t.history.state&&t.history.state.key||"initial"}},E=function(t,e){var n=[],r=P(t),o=!1,a=function(){};return{get location(){return r},get transitioning(){return o},_onTransitionComplete:function(){o=!1,a()},listen:function(e){n.push(e);var o=function(){r=P(t),e({location:r,action:"POP"})};return t.addEventListener("popstate",o),function(){t.removeEventListener("popstate",o),n=n.filter((function(t){return t!==e}))}},navigate:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=i.state,u=i.replace,c=void 0!==u&&u;if("number"==typeof e)t.history.go(e);else{s=b({},s,{key:Date.now()+""});try{o||c?t.history.replaceState(s,null,e):t.history.pushState(s,null,e)}catch(p){t.location[c?"replace":"assign"](e)}}r=P(t),o=!0;var l=new Promise((function(t){return a=t}));return n.forEach((function(t){return t({location:r,action:"PUSH"})})),l}}},R=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=t.indexOf("?"),n={pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(t,e,n){var i=n.split("?"),s=i[0],u=i[1],c=void 0===u?"":u;r++,o.push({pathname:s,search:c.length?"?"+c:c}),a.push(t)},replaceState:function(t,e,n){var i=n.split("?"),s=i[0],u=i[1],c=void 0===u?"":u;o[r]={pathname:s,search:c},a[r]=t},go:function(t){var e=r+t;e<0||e>a.length-1||(r=e)}}}},S=!("undefined"==typeof window||!window.document||!window.document.createElement),_=E(S?window:R()),k=_.navigate,C=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function j(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function L(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var D=function(t,e){var n=(0,r.createContext)(e);return n.displayName=t,n},T=D("Location"),M=function(t){var e=t.children;return r.createElement(T.Consumer,null,(function(t){return t?e(t):r.createElement(A,null,e)}))},A=function(t){function e(){var n,r;x(this,e);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=O(this,t.call.apply(t,[this].concat(a))),r.state={context:r.getContext(),refs:{unlisten:null}},O(r,n)}return L(e,t),e.prototype.getContext=function(){var t=this.props.history;return{navigate:t.navigate,location:t.location}},e.prototype.componentDidCatch=function(t,e){if(!K(t))throw t;(0,this.props.history.navigate)(t.uri,{replace:!0})},e.prototype.componentDidUpdate=function(t,e){e.context.location!==this.state.context.location&&this.props.history._onTransitionComplete()},e.prototype.componentDidMount=function(){var t=this,e=this.state.refs,n=this.props.history;n._onTransitionComplete(),e.unlisten=n.listen((function(){Promise.resolve().then((function(){requestAnimationFrame((function(){t.unmounted||t.setState((function(){return{context:t.getContext()}}))}))}))}))},e.prototype.componentWillUnmount=function(){var t=this.state.refs;this.unmounted=!0,t.unlisten()},e.prototype.render=function(){var t=this.state.context,e=this.props.children;return r.createElement(T.Provider,{value:t},"function"==typeof e?e(t):e||null)},e}(r.Component);A.defaultProps={history:_};var U=function(t){var e=t.url,n=t.children,o=e.indexOf("?"),a=void 0,i="";return o>-1?(a=e.substring(0,o),i=e.substring(o)):a=e,r.createElement(T.Provider,{value:{location:{pathname:a,search:i,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},N=D("Base",{baseuri:"/",basepath:"/",navigate:_.navigate}),W=function(t){return r.createElement(N.Consumer,null,(function(e){return r.createElement(M,null,(function(n){return r.createElement(I,C({},e,n,t))}))}))},I=function(t){function e(){return x(this,e),O(this,t.apply(this,arguments))}return L(e,t),e.prototype.render=function(){var t=this.props,e=t.location,n=t.navigate,o=t.basepath,a=t.primary,i=t.children,s=(t.baseuri,t.component),c=void 0===s?"div":s,p=j(t,["location","navigate","basepath","primary","children","baseuri","component"]),f=r.Children.toArray(i).reduce((function(t,e){var n=at(o)(e);return t.concat(n)}),[]),h=e.pathname,d=u(f,h);if(d){var v=d.params,m=d.uri,g=d.route,y=d.route.value;o=g.default?o:g.path.replace(/\*$/,"");var w=C({},v,{uri:m,location:e,navigate:function(t,e){return n(l(t,m),e)}}),b=r.cloneElement(y,w,y.props.children?r.createElement(W,{location:e,primary:a},y.props.children):void 0),P=a?q:c,E=a?C({uri:m,location:e,component:c},p):p;return r.createElement(N.Provider,{value:{baseuri:m,basepath:o,navigate:w.navigate}},r.createElement(P,E,b))}return null},e}(r.PureComponent);I.defaultProps={primary:!0};var F=D("Focus"),q=function(t){var e=t.uri,n=t.location,o=t.component,a=j(t,["uri","location","component"]);return r.createElement(F.Consumer,null,(function(t){return r.createElement(z,C({},a,{component:o,requestFocus:t,uri:e,location:n}))}))},H=!0,Z=0,z=function(t){function e(){var n,r;x(this,e);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=O(this,t.call.apply(t,[this].concat(a))),r.state={},r.requestFocus=function(t){!r.state.shouldFocus&&t&&t.focus()},O(r,n)}return L(e,t),e.getDerivedStateFromProps=function(t,e){if(null==e.uri)return C({shouldFocus:!0},t);var n=t.uri!==e.uri,r=e.location.pathname!==t.location.pathname&&t.location.pathname===t.uri;return C({shouldFocus:n||r},t)},e.prototype.componentDidMount=function(){Z++,this.focus()},e.prototype.componentWillUnmount=function(){0===--Z&&(H=!0)},e.prototype.componentDidUpdate=function(t,e){t.location!==this.props.location&&this.state.shouldFocus&&this.focus()},e.prototype.focus=function(){var t=this.props.requestFocus;t?t(this.node):H?H=!1:this.node&&(this.node.contains(document.activeElement)||this.node.focus())},e.prototype.render=function(){var t=this,e=this.props,n=(e.children,e.style),o=(e.requestFocus,e.component),a=void 0===o?"div":o,i=(e.uri,e.location,j(e,["children","style","requestFocus","component","uri","location"]));return r.createElement(a,C({style:C({outline:"none"},n),tabIndex:"-1",ref:function(e){return t.node=e}},i),r.createElement(F.Provider,{value:this.requestFocus},this.props.children))},e}(r.Component);(0,i.O)(z);var Q=function(){},J=r.forwardRef;void 0===J&&(J=function(t){return t});var G=J((function(t,e){var n=t.innerRef,o=j(t,["innerRef"]);return r.createElement(N.Consumer,null,(function(t){t.basepath;var a=t.baseuri;return r.createElement(M,null,(function(t){var i=t.location,u=t.navigate,c=o.to,p=o.state,f=o.replace,h=o.getProps,d=void 0===h?Q:h,v=j(o,["to","state","replace","getProps"]),m=l(c,a),g=encodeURI(m),y=i.pathname===g,w=s(i.pathname,g);return r.createElement("a",C({ref:e||n,"aria-current":y?"page":void 0},v,d({isCurrent:y,isPartiallyCurrent:w,href:m,location:i}),{href:m,onClick:function(t){if(v.onClick&&v.onClick(t),it(t)){t.preventDefault();var e=f;if("boolean"!=typeof f&&y){var n=C({},i.state),r=(n.key,j(n,["key"]));o=C({},p),a=r,e=(s=Object.keys(o)).length===Object.keys(a).length&&s.every((function(t){return a.hasOwnProperty(t)&&o[t]===a[t]}))}u(m,{state:p,replace:e})}var o,a,s}}))}))}))}));function B(t){this.uri=t}G.displayName="Link";var K=function(t){return t instanceof B},$=function(t){throw new B(t)},V=function(t){function e(){return x(this,e),O(this,t.apply(this,arguments))}return L(e,t),e.prototype.componentDidMount=function(){var t=this.props,e=t.navigate,n=t.to,r=(t.from,t.replace),o=void 0===r||r,a=t.state,i=(t.noThrow,t.baseuri),s=j(t,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var t=l(n,i);e(p(t,s),{replace:o,state:a})}))},e.prototype.render=function(){var t=this.props,e=(t.navigate,t.to),n=(t.from,t.replace,t.state,t.noThrow),r=t.baseuri,o=j(t,["navigate","to","from","replace","state","noThrow","baseuri"]),a=l(e,r);return n||$(p(a,o)),null},e}(r.Component),Y=function(t){return r.createElement(N.Consumer,null,(function(e){var n=e.baseuri;return r.createElement(M,null,(function(e){return r.createElement(V,C({},e,{baseuri:n},t))}))}))},X=function(t){var e=t.path,n=t.children;return r.createElement(N.Consumer,null,(function(t){var o=t.baseuri;return r.createElement(M,null,(function(t){var r=t.navigate,a=t.location,i=l(e,o),s=c(i,a.pathname);return n({navigate:r,location:a,match:s?C({},s.params,{uri:s.uri,path:e}):null})}))}))},tt=function(){var t=(0,r.useContext)(T);if(!t)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 t.location},et=function(){var t=(0,r.useContext)(N);if(!t)throw new Error("useNavigate hook was used but a BaseContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return t.navigate},nt=function(){var t=(0,r.useContext)(N);if(!t)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 e=tt(),n=c(t.basepath,e.pathname);return n?n.params:null},rt=function(t){if(!t)throw new Error("useMatch(path: string) requires an argument of a string to match against");var e=(0,r.useContext)(N);if(!e)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=tt(),o=l(t,e.baseuri),a=c(o,n.pathname);return a?C({},a.params,{uri:a.uri,path:t}):null},ot=function(t){return t.replace(/(^\/+|\/+$)/g,"")},at=function t(e){return function(n){if(!n)return null;if(n.type===r.Fragment&&n.props.children)return r.Children.map(n.props.children,t(e));var o,i,s;if(n.props.path||n.props.default||n.type===Y||a()(!1),n.type!==Y||n.props.from&&n.props.to||a()(!1),n.type===Y&&(o=n.props.from,i=n.props.to,s=function(t){return h(t)},g(o).filter(s).sort().join("/")!==g(i).filter(s).sort().join("/"))&&a()(!1),n.props.default)return{value:n,default:!0};var u=n.type===Y?n.props.from:n.props.path,c="/"===u?e:ot(e)+"/"+ot(u);return{value:n,default:n.props.default,path:n.props.children?ot(c)+"/*":c}}},it=function(t){return!t.defaultPrevented&&0===t.button&&!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}},1143:function(t){"use strict";t.exports=function(t,e,n,r,o,a,i,s){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,i,s],l=0;(u=new Error(e.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},1721:function(t,e,n){"use strict";function r(t,e){return r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(t,e)}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)}n.d(e,{Z:function(){return o}})}},function(t){t.O(0,[774,532],(function(){return e=3928,t(t.s=e);var e}));t.O()}]);
//# sourceMappingURL=app-66f34339b699858b3a6a.js.map