/*! For license information please see app-c929eea90f142fc8947c.js.LICENSE.txt */
(self.webpackChunkergo_website_2023=self.webpackChunkergo_website_2023||[]).push([[524],{6395:function(e,t){"use strict";t.T=void 0;const n=[".html",".json",".js",".map",".txt",".xml",".pdf"];t.T=(e,t="always")=>{if("/"===e)return e;const r=e.endsWith("/");return((e,t)=>{for(const n of e)if(t.endsWith(n))return!0;return!1})(n,e)?e:"always"===t?r?e:`${e}/`:"never"===t&&r?e.slice(0,-1):e}},7035:function(e,t,n){"use strict";t.RV=t.z_=void 0;var r=n(3215);t.z_=r.ScrollHandler;var o=n(3721);t.RV=o.useScrollRestoration},3215:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=r(n(2475)),a=r(n(6221)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(6540)),s=r(n(5556)),c=n(4351);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}var l=i.createContext(new c.SessionStorage);t.ScrollContext=l,l.displayName="GatsbyScrollContext";var p=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._stateStorage=new c.SessionStorage,t._isTicking=!1,t._latestKnownScrollY=0,t.scrollListener=function(){t._latestKnownScrollY=window.scrollY,t._isTicking||(t._isTicking=!0,requestAnimationFrame(t._saveScroll.bind((0,o.default)(t))))},t.windowScroll=function(e,n){t.shouldUpdateScroll(n,t.props)&&window.scrollTo(0,e)},t.scrollToHash=function(e,n){var r=document.getElementById(e.substring(1));r&&t.shouldUpdateScroll(n,t.props)&&r.scrollIntoView()},t.shouldUpdateScroll=function(e,n){var r=t.props.shouldUpdateScroll;return!r||r.call((0,o.default)(t),e,n)},t}(0,a.default)(t,e);var n=t.prototype;return n._saveScroll=function(){var e=this.props.location.key||null;e&&this._stateStorage.save(this.props.location,e,this._latestKnownScrollY),this._isTicking=!1},n.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,n=t.key,r=t.hash;n&&(e=this._stateStorage.read(this.props.location,n)),r?this.scrollToHash(decodeURI(r),void 0):e&&this.windowScroll(e,void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(e){var t,n=this.props.location,r=n.hash,o=n.key;o&&(t=this._stateStorage.read(this.props.location,o)),r?this.scrollToHash(decodeURI(r),e):this.windowScroll(t,e)},n.render=function(){return i.createElement(l.Provider,{value:this._stateStorage},this.props.children)},t}(i.Component);t.ScrollHandler=p,p.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},4351:function(e,t){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var n="___GATSBY_REACT_ROUTER_SCROLL",r=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var r=this.getStateKey(e,t);try{var o=window.sessionStorage.getItem(r);return o?JSON.parse(o):0}catch(a){return window&&window[n]&&window[n][r]?window[n][r]:0}},t.save=function(e,t,r){var o=this.getStateKey(e,t),a=JSON.stringify(r);try{window.sessionStorage.setItem(o,a)}catch(i){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(a)}},t.getStateKey=function(e,t){var n="@@scroll|"+e.pathname;return null==t?n:n+"|"+t},e}();t.SessionStorage=r},3721:function(e,t,n){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,a.useLocation)(),n=(0,o.useContext)(r.ScrollContext),i=(0,o.useRef)(null);return(0,o.useLayoutEffect)((function(){if(i.current){var r=n.read(t,e);i.current.scrollTo(0,r||0)}}),[t.key]),{ref:i,onScroll:function(){i.current&&n.save(t,e,i.current.scrollTop)}}};var r=n(3215),o=n(6540),a=n(6462)},2311:function(e,t,n){"use strict";t.__esModule=!0,t.onInitialClientRender=void 0;n(5535),n(9300);t.onInitialClientRender=()=>{}},3309:function(e,t){"use strict";t.__esModule=!0,t.getForwards=function(e){return null==e?void 0:e.flatMap((e=>(null==e?void 0:e.forward)||[]))}},9300:function(e,t,n){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),n=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();n&&n.remove();const a=(0,o.getForwards)(e),i=document.createElement("script");i.dataset.partytown="",i.innerHTML=(0,r.partytownSnippet)({forward:a}),document.head.appendChild(i)};var r=n(4656),o=n(3309)},6877:function(e,t,n){t.components={"component---src-pages-404-bk-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(607)]).then(n.bind(n,6182)),"component---src-pages-404-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(125)]).then(n.bind(n,8925)),"component---src-pages-about-index-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(369)]).then(n.bind(n,9625)),"component---src-pages-awards-index-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(400)]).then(n.bind(n,3710)),"component---src-pages-blog-index-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(334)]).then(n.bind(n,3035)),"component---src-pages-brand-index-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(173)]).then(n.bind(n,6193)),"component---src-pages-contact-index-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(532)]).then(n.bind(n,2132)),"component---src-pages-digital-index-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(296)]).then(n.bind(n,8572)),"component---src-pages-index-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(293)]).then(n.bind(n,8991)),"component---src-pages-industrial-index-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(429)]).then(n.bind(n,9515)),"component---src-pages-privacycookies-index-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(29)]).then(n.bind(n,7831)),"component---src-pages-project-index-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(233)]).then(n.bind(n,6249)),"component---src-pages-termsandconditions-index-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(848)]).then(n.bind(n,6750)),"component---src-pages-toolkit-index-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(178)]).then(n.bind(n,1393)),"component---src-pages-work-index-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(875)]).then(n.bind(n,6433)),"component---src-templates-collection-type-posts-post-blog-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(867)]).then(n.bind(n,2865)),"component---src-templates-collection-type-posts-post-landing-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(158)]).then(n.bind(n,8840)),"component---src-templates-collection-type-posts-post-project-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(4)]).then(n.bind(n,8584)),"component---src-templates-collection-type-posts-post-toolkit-js":()=>Promise.all([n.e(593),n.e(869),n.e(69),n.e(180),n.e(223),n.e(996),n.e(559)]).then(n.bind(n,1135))}},9377:function(e,t,n){e.exports=[{plugin:n(3578),options:{plugins:[],id:"GTM-WJMZDTN",includeInDevelopment:!1,defaultDataLayer:null,routeChangeEventName:"gatsby-route-change",enableWebVitalsTracking:!1,selfHostedOrigin:"https://www.googletagmanager.com",selfHostedPath:"gtm.js"}},{plugin:n(2039),options:{plugins:[],displayName:!0,fileName:!0,minify:!0,namespace:"",transpileTemplateLiterals:!0,topLevelImportPaths:[],pure:!1,disableVendorPrefixes:!1}},{plugin:n(7914),options:{plugins:[],name:"ergo-creative-2023",short_name:"ergo",start_url:"/",background_color:"#ffffff",theme_color:"#0B0B0B",display:"minimal-ui",icon:"src/images/favicon.svg",cache_busting_mode:"query",legacy:!0,theme_color_in_head:!0,crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"29a9343613bc43c858b2ee29cdf997f6"}},{plugin:n(6678),options:{plugins:[],useAutoGen:!0,crumbSeparator:" > ",autoGenHomeLabel:"home",exclude:["**/dev-404-page/**","**/404/**","**/404.html","**/offline-plugin-app-shell-fallback/**"],excludeOptions:{separator:"-"},trailingSlashes:!0}},{plugin:n(3734),options:{plugins:[],light:{body:"#ffffff",text:"#0B0B0B",grey:"#0b0b0b1f",lightgrey:"#0B0B0B05",mediumgrey:"#0B0B0Bc7",darkGrey:"#0b0b0bf0",highlight:"#257580",alwaysDark:"#0B0B0B",alwaysLight:"#ffffff",success:"#37BFA7",info:"#FF9678",error:"#F54768",boxshadow:"0px 0px 19px 0px rgba(0,0,0,0.2)"},dark:{body:"#0B0B0B",text:"#ffffff",grey:"#ffffff1f",lightgrey:"#ffffff05",mediumgrey:"#ffffffc7",darkGrey:"#fffffff0",highlight:"#39B0BF",alwaysDark:"#0B0B0B",alwaysLight:"#ffffff",success:"#37BFA7",info:"#FF9678",error:"#F54768",boxshadow:"0px 0px 19px 0px rgba(255,255,255,0.2)"}}},{plugin:n(8108),options:{plugins:[]}},{plugin:n(2311),options:{plugins:[]}}]},20:function(e,t,n){const r=n(9377),{getResourceURLsForPathname:o,loadPage:a,loadPageSync:i}=n(6814).Zf;t.N=function(e,t,n,s){void 0===t&&(t={});let c=r.map((n=>{if(!n.plugin[e])return;t.getResourceURLsForPathname=o,t.loadPage=a,t.loadPageSync=i;const r=n.plugin[e](t,n.options);return r&&s&&(t=s({args:t,result:r,plugin:n})),r}));return c=c.filter((e=>void 0!==e)),c.length>0?c:n?[n]:[]},t.v=(e,t,n)=>r.reduce(((n,r)=>r.plugin[e]?n.then((()=>r.plugin[e](t,r.options))):n),Promise.resolve())},700:function(e,t){t.U=()=>""},9369:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var r=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map((function(e){e(n)})),(e["*"]||[]).slice().map((function(e){e(t,n)}))}}}()},8990:function(e,t,n){"use strict";n.d(t,{Yl:function(){return d},Hh:function(){return h},UA:function(){return f},QX:function(){return p}});var r=n(6462),o=n(8797),a=e=>{if(void 0===e)return e;let[t,n=""]=e.split("?");return n&&(n="?"+n),"/"===t?"/"+n:"/"===t.charAt(t.length-1)?t.slice(0,-1)+n:t+n},i=n(6491);const s=new Map;let c=[];const u=e=>{let t=e;if(-1!==e.indexOf("?")){const[n,r]=e.split("?");t=`${n}?${encodeURIComponent(r)}`}const n=decodeURIComponent(t);return(0,o.A)(n,decodeURIComponent("")).split("#")[0]};function l(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const p=e=>{c=e},d=e=>{const t=m(e),n=c.map((e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}})),o=(0,r.pick)(n,t);return o?a(o.route.originalPath):null},f=e=>{const t=m(e),n=c.map((e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}})),o=(0,r.pick)(n,t);return o?o.params:{}},h=e=>{const t=u(l(e));if(s.has(t))return s.get(t);const n=(0,i.X)(e);if(n)return h(n.toPath);let r=d(t);return r||(r=m(e)),s.set(t,r),r},m=e=>{let t=u(l(e));return"/index.html"===t&&(t="/"),t=a(t),t}},4794:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return s.N_},PageRenderer:function(){return a()},Script:function(){return E.Script},ScriptStrategy:function(){return E.ScriptStrategy},Slice:function(){return w},StaticQuery:function(){return c.de},StaticQueryContext:function(){return c.G},collectedScriptsByPage:function(){return E.collectedScriptsByPage},graphql:function(){return C},navigate:function(){return s.oo},parsePath:function(){return s.Rr},prefetchPathname:function(){return P},scriptCache:function(){return E.scriptCache},scriptCallbackCache:function(){return E.scriptCallbackCache},useScrollRestoration:function(){return i.RV},useStaticQuery:function(){return c.GR},withAssetPrefix:function(){return s.Zf},withPrefix:function(){return s.Fe}});var r=n(6814),o=n(2549),a=n.n(o),i=n(7035),s=n(7078),c=n(7231),u=n(7387);function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var p=n(3662);function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}function f(e){var t="function"==typeof Map?new Map:void 0;return f=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(d())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&(0,p.A)(o,n.prototype),o}(e,arguments,l(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,p.A)(n,e)},f(e)}var h=n(6540),m=n(700),g=n(2024);const v=e=>{let{sliceId:t,children:n}=e;const r=[h.createElement("slice-start",{id:`${t}-1`}),h.createElement("slice-end",{id:`${t}-1`})];return n&&(r.push(n),r.push(h.createElement("slice-start",{id:`${t}-2`}),h.createElement("slice-end",{id:`${t}-2`}))),r},y=e=>{let{sliceName:t,allowEmpty:n,children:r,...o}=e;const a=(0,h.useContext)(g.Jr),i=(0,h.useContext)(g.hr),s=a[t];if(!s){if(n)return null;throw new Error(`Slice "${s}" for "${t}" slot not found`)}const c=((e,t)=>Object.keys(t).length?`${e}-${(0,m.U)(t)}`:e)(s,o);let u=i[c];return u?r&&(u.hasChildren=!0):i[c]=u={props:o,sliceName:s,hasChildren:!!r},h.createElement(v,{sliceId:c},r)},b=e=>{let{sliceName:t,allowEmpty:n,children:r,...o}=e;const a=(0,h.useContext)(g.Jr),i=(0,h.useContext)(g.dd),s=a[t],c=i.get(s);if(!c){if(n)return null;throw new Error(`Slice "${s}" for "${t}" slot not found`)}return h.createElement(c.component,Object.assign({sliceContext:c.sliceContext,data:c.data},o),r)};function w(e){{const t={...e,sliceName:e.alias};delete t.alias,delete t.__renderedByLocation;const n=(0,h.useContext)(g.j$),r=_(e);if(Object.keys(r).length)throw new S("browser"===n.renderEnvironment,t.sliceName,r,e.__renderedByLocation);if("server"===n.renderEnvironment)return h.createElement(y,t);if("browser"===n.renderEnvironment)return h.createElement(b,t);if("engines"===n.renderEnvironment||"dev-ssr"===n.renderEnvironment)return h.createElement(b,t);if("slices"===n.renderEnvironment){let t="";try{t=`\n\nSlice component "${n.sliceRoot.name}" (${n.sliceRoot.componentPath}) tried to render <Slice alias="${e.alias}"/>`}catch{}throw new Error(`Nested slices are not supported.${t}\n\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices`)}throw new Error(`Slice context "${n.renderEnvironment}" is not supported.`)}}let S=function(e){function t(n,r,o,a){var i;const s=Object.entries(o).map((e=>{let[t,n]=e;return`not serializable "${n}" type passed to "${t}" prop`})).join(", "),c="SlicePropsError";let u="",l="";if(n){const e=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack().trim().split("\n").slice(1);e[0]=e[0].trim(),u="\n"+e.join("\n"),l=`Slice "${r}" was passed props that are not serializable (${s}).`}else{l=`${c}: Slice "${r}" was passed props that are not serializable (${s}).`;u=`${l}\n${(new Error).stack.trim().split("\n").slice(2).join("\n")}`}return(i=e.call(this,l)||this).name=c,u?i.stack=u:Error.captureStackTrace(i,t),a&&(i.forcedLocation={...a,functionName:"Slice"}),i}return(0,u.A)(t,e),t}(f(Error));const _=function(e,t,n,r){void 0===t&&(t={}),void 0===n&&(n=[]),void 0===r&&(r=null);for(const[o,a]of Object.entries(e)){if(null==a||!r&&"children"===o)continue;const e=r?`${r}.${o}`:o;"function"==typeof a?t[e]=typeof a:"object"==typeof a&&n.indexOf(a)<=0&&(n.push(a),_(a,t,n,e))}return t};var E=n(5535);const P=r.Ay.enqueue;function C(){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.")}},6814:function(e,t,n){"use strict";n.d(t,{Wi:function(){return p},N5:function(){return S},Ay:function(){return P},Rh:function(){return R},LE:function(){return C},Zf:function(){return E},iC:function(){return _}});var r=n(7387),o=n(4506),a=n(8163);const i=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)}))},s={};var c=function(e,t){return new Promise((n=>{s[e]?n():i(e,t).then((()=>{n(),s[e]=!0})).catch((()=>{}))}))},u=n(9369),l=n(8990);const p={Error:"error",Success:"success"},d=e=>{const[t,n]=e.split("?");var r;return`/page-data/${"/"===t?"index":(r="/"===(r=t)[0]?r.slice(1):r).endsWith("/")?r.slice(0,-1):r}/page-data.json${n?`?${n}`:""}`},f=e=>e.startsWith("//");function h(e,t){return void 0===t&&(t="GET"),new Promise((n=>{const r=new XMLHttpRequest;r.open(t,e,!0),r.onreadystatechange=()=>{4==r.readyState&&n(r)},r.send(null)}))}const m=/bot|crawler|spider|crawling/i,g=function(e,t,n){var r;void 0===t&&(t=null);const o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(r=e.slicesMap)&&void 0!==r?r:{}};return{component:t,head:n,json:e.result,page:o}};function v(e){return new Promise((t=>{try{const n=e.readRoot();t(n)}catch(n){if(!Object.hasOwnProperty.call(n,"_response")||!Object.hasOwnProperty.call(n,"_status"))throw n;setTimeout((()=>{v(e).then(t)}),200)}}))}let y=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.slicesDataDb=new Map,this.sliceInflightDb=new Map,this.slicesDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,l.QX)(t)}var t=e.prototype;return t.memoizedGet=function(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=h(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then((t=>(this.inFlightNetworkRequests.delete(e),t))).catch((t=>{throw this.inFlightNetworkRequests.delete(e),t}))},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((e=>e))},t.fetchPageDataJson=function(e){const{pagePath:t,retries:n=0}=e,r=d(t);return this.memoizedGet(r).then((r=>{const{status:o,responseText:a}=r;if(200===o)try{const n=JSON.parse(a);if(void 0===n.path)throw new Error("not a valid pageData response");const r=t.split("?")[1];return r&&!n.path.includes(r)&&(n.path+=`?${r}`),Object.assign(e,{status:p.Success,payload:n})}catch(i){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:p.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPageDataJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:p.Error})}))},t.fetchPartialHydrationJson=function(e){const{pagePath:t,retries:n=0}=e,r=d(t).replace(".json","-rsc.json");return this.memoizedGet(r).then((r=>{const{status:o,responseText:a}=r;if(200===o)try{return Object.assign(e,{status:p.Success,payload:a})}catch(i){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:p.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:p.Error})}))},t.loadPageDataJson=function(e){const t=(0,l.Hh)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then((e=>(this.pageDataDb.set(t,e),e)))},t.loadPartialHydrationJson=function(e){const t=(0,l.Hh)(e);if(this.partialHydrationDb.has(t)){const e=this.partialHydrationDb.get(t);return Promise.resolve(e)}return this.fetchPartialHydrationJson({pagePath:t}).then((e=>(this.partialHydrationDb.set(t,e),e)))},t.loadSliceDataJson=function(e){if(this.slicesDataDb.has(e)){const t=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:t})}return h(`/slice-data/${e}.json`,"GET").then((t=>{const n=JSON.parse(t.responseText);return this.slicesDataDb.set(e,n),{sliceName:e,jsonPayload:n}}))},t.findMatchPath=function(e){return(0,l.Yl)(e)},t.loadPage=function(e){const t=(0,l.Hh)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return e.error?Promise.resolve({error:e.error,status:e.status}):Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const n=[this.loadAppData(),this.loadPageDataJson(t)];const r=Promise.all(n).then((e=>{const[n,r,i]=e;if(r.status===p.Error||(null==i?void 0:i.status)===p.Error)return{status:p.Error};let s=r.payload;const{componentChunkName:c,staticQueryHashes:l=[],slicesMap:d={}}=s,f={},h=Array.from(new Set(Object.values(d))),m=e=>{if(this.slicesDb.has(e.name))return this.slicesDb.get(e.name);if(this.sliceInflightDb.has(e.name))return this.sliceInflightDb.get(e.name);const t=this.loadComponent(e.componentChunkName).then((t=>{return{component:(n=t,n&&n.default||n),sliceContext:e.result.sliceContext,data:e.result.data};var n}));return this.sliceInflightDb.set(e.name,t),t.then((t=>{this.slicesDb.set(e.name,t),this.sliceInflightDb.delete(e.name)})),t};return Promise.all(h.map((e=>this.loadSliceDataJson(e)))).then((e=>{const d=[],h=(0,o.A)(l);for(const{jsonPayload:t,sliceName:n}of Object.values(e)){d.push({name:n,...t});for(const e of t.staticQueryHashes)h.includes(e)||h.push(e)}const y=[Promise.all(d.map(m)),this.loadComponent(c,"head")];y.push(this.loadComponent(c));const b=Promise.all(y).then((e=>{const[t,o,c]=e;f.createdAt=new Date;for(const n of t)(!n||n instanceof Error)&&(f.status=p.Error,f.error=n);let u;if((!c||c instanceof Error)&&(f.status=p.Error,f.error=c),f.status!==p.Error){if(f.status=p.Success,!0!==r.notFound&&!0!==(null==i?void 0:i.notFound)||(f.notFound=!0),s=Object.assign(s,{webpackCompilationHash:n?n.webpackCompilationHash:""}),"string"==typeof(null==i?void 0:i.payload)){u=g(s,null,o),u.partialHydration=i.payload;const e=new ReadableStream({start(e){const t=new TextEncoder;e.enqueue(t.encode(i.payload))},pull(e){e.close()},cancel(){}});return v((0,a.createFromReadableStream)(e)).then((e=>(u.partialHydration=e,u)))}u=g(s,c,o)}return u})),w=Promise.all(h.map((e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet(`/page-data/sq/d/${e}.json`).then((t=>{const n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}})).catch((()=>{throw new Error(`We couldn't load "/page-data/sq/d/${e}.json"`)}))}))).then((e=>{const t={};return e.forEach((e=>{let{staticQueryHash:n,jsonPayload:r}=e;t[n]=r,this.staticQueryDb[n]=r})),t}));return Promise.all([b,w]).then((e=>{let n,[r,o]=e;return r&&(n={...r,staticQueryResults:o},f.payload=n,u.A.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(t,f),f.error?{error:f.error,status:f.status}:n})).catch((e=>({error:e,status:p.Error})))}))}));return r.then((()=>{this.inFlightDb.delete(t)})).catch((e=>{throw this.inFlightDb.delete(t),e})),this.inFlightDb.set(t,r),r},t.loadPageSync=function(e,t){void 0===t&&(t={});const n=(0,l.Hh)(e);if(this.pageDb.has(n)){var r;const e=this.pageDb.get(n);if(e.payload)return e.payload;if(null!==(r=t)&&void 0!==r&&r.withErrorDetails)return{error:e.error,status:e.status}}},t.shouldPrefetch=function(e){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&((!navigator.userAgent||!m.test(navigator.userAgent))&&!this.pageDb.has(e))},t.prefetch=function(e){if(!this.shouldPrefetch(e))return{then:e=>e(!1),abort:()=>{}};if(this.prefetchTriggered.has(e))return{then:e=>e(!0),abort:()=>{}};const t={resolve:null,reject:null,promise:null};t.promise=new Promise(((e,n)=>{t.resolve=e,t.reject=n})),this.prefetchQueued.push([e,t]);const n=new AbortController;return n.signal.addEventListener("abort",(()=>{const t=this.prefetchQueued.findIndex((t=>{let[n]=t;return n===e}));-1!==t&&this.prefetchQueued.splice(t,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)),{then:(e,n)=>t.promise.then(e,n),abort:n.abort.bind(n)}},t._processNextPrefetchBatch=function(){(window.requestIdleCallback||(e=>setTimeout(e,0)))((()=>{const e=this.prefetchQueued.splice(0,4),t=Promise.all(e.map((e=>{let[t,n]=e;return this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled?n.resolve(!1):this.doPrefetch((0,l.Hh)(t)).then((()=>{this.prefetchCompleted.has(t)||(this.apiRunner("onPostPrefetchPathname",{pathname:t}),this.prefetchCompleted.add(t)),n.resolve(!0)}))})));this.prefetchQueued.length?t.then((()=>{setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)})):this.isPrefetchQueueRunning=!1}))},t.doPrefetch=function(e){const t=d(e);return c(t,{crossOrigin:"anonymous",as:"fetch"}).then((()=>this.loadPageDataJson(e)))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=(0,l.Hh)(e),n=this.pageDataDb.get(t);if(n){const e=g(n.payload);return[].concat((0,o.A)(b(e.page.componentChunkName)),[d(t)])}return null},t.isPageNotFound=function(e){const t=(0,l.Hh)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){return void 0===e&&(e=0),this.memoizedGet("/page-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 b=e=>(window.___chunkMapping[e]||[]).map((e=>""+e));let w,S=function(e){function t(t,n,r){var o;return o=e.call(this,(function(e,n){if(void 0===n&&(n="components"),!t[n="components"][e])throw new Error(`We couldn't find the correct component chunk with the name "${e}"`);return t[n][e]().catch((e=>e))}),n)||this,r&&o.pageDataDb.set((0,l.Hh)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.A)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then((e=>{if(e.status!==p.Success)return Promise.resolve();const t=e.payload,n=t.componentChunkName,r=b(n);return Promise.all(r.map(c)).then((()=>t))}))},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then((e=>e.notFound?f(t)?e:h(t,"HEAD").then((t=>200===t.status?{status:p.Error}:e)):e))},n.loadPartialHydrationJson=function(t){return e.prototype.loadPartialHydrationJson.call(this,t).then((e=>e.notFound?f(t)?e:h(t,"HEAD").then((t=>200===t.status?{status:p.Error}:e)):e))},t}(y);const _=e=>{w=e},E={enqueue:e=>w.prefetch(e),getResourceURLsForPathname:e=>w.getResourceURLsForPathname(e),loadPage:e=>w.loadPage(e),loadPageSync:function(e,t){return void 0===t&&(t={}),w.loadPageSync(e,t)},prefetch:e=>w.prefetch(e),isPageNotFound:e=>w.isPageNotFound(e),hovering:e=>w.hovering(e),loadAppData:()=>w.loadAppData()};var P=E;function C(){return w?w.staticQueryDb:{}}function R(){return w?w.slicesDb:{}}},6017:function(e,t,n){"use strict";n.d(t,{A:function(){return P}});var r=n(6540),o=n(5556),a=n.n(o),i=n(20),s=n(8990),c=n(4506),u=n(4794),l=n(6462),p=n(9732);function d(e){let{children:t,callback:n}=e;return(0,r.useEffect)((()=>{n()})),t}const f=["link","meta","style","title","base","noscript","script","html","body"];function h(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){const r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}function m(e,t){void 0===t&&(t={html:{},body:{}});const n=new Map,r=[];for(const u of e.childNodes){var o,a;const e=u.nodeName.toLowerCase(),l=null===(o=u.attributes)||void 0===o||null===(a=o.id)||void 0===a?void 0:a.value;if(y(u)){if(v(e))if("html"===e||"body"===e)for(const n of u.attributes){const r="style"===n.name;var i;if(t[e]={...t[e]},r||(t[e][n.name]=n.value),r)t[e].style=`${null!==(i=t[e])&&void 0!==i&&i.style?t[e].style:""}${n.value} `}else{let e=u.cloneNode(!0);if(e.setAttribute("data-gatsby-head",!0),"script"===e.nodeName.toLowerCase()&&(e=g(e)),l)if(n.has(l)){var s;const t=n.get(l);null===(s=r[t].parentNode)||void 0===s||s.removeChild(r[t]),r[t]=e}else r.push(e),n.set(l,r.length-1);else r.push(e)}u.childNodes.length&&r.push.apply(r,(0,c.A)(m(u,t).validHeadNodes))}}return{validHeadNodes:r,htmlAndBodyAttributes:t}}function g(e){const t=document.createElement("script");for(const n of e.attributes)t.setAttribute(n.name,n.value);return t.innerHTML=e.innerHTML,t}function v(e){return f.includes(e)}function y(e){return 1===e.nodeType}const b=document.createElement("div"),w={html:[],body:[]},S=()=>{var e;const{validHeadNodes:t,htmlAndBodyAttributes:n}=m(b);w.html=Object.keys(n.html),w.body=Object.keys(n.body),function(e){if(!e)return;const{html:t,body:n}=e,r=document.querySelector("html");r&&Object.entries(t).forEach((e=>{let[t,n]=e;r.setAttribute(t,n)}));const o=document.querySelector("body");o&&Object.entries(n).forEach((e=>{let[t,n]=e;o.setAttribute(t,n)}))}(n);const r=document.querySelectorAll("[data-gatsby-head]");var o;if(0===r.length)return void(o=document.head).append.apply(o,(0,c.A)(t));const a=[];!function(e){let{oldNodes:t,newNodes:n,onStale:r,onNew:o}=e;for(const a of t){const e=n.findIndex((e=>h(e,a)));-1===e?r(a):n.splice(e,1)}for(const a of n)o(a)}({oldNodes:r,newNodes:t,onStale:e=>e.parentNode.removeChild(e),onNew:e=>a.push(e)}),(e=document.head).append.apply(e,a)};function _(e){let{pageComponent:t,staticQueryResults:n,pageComponentProps:o}=e;(0,r.useEffect)((()=>{if(null!=t&&t.Head){!function(e){if("function"!=typeof e)throw new Error(`Expected "Head" export to be a function got "${typeof e}".`)}(t.Head);const{render:a}=(0,p.n)(),s=r.createElement(t.Head,{location:{pathname:(e=o).location.pathname},params:e.params,data:e.data||{},serverData:e.serverData,pageContext:e.pageContext}),c=(0,i.N)("wrapRootElement",{element:s},s,(e=>{let{result:t}=e;return{element:t}})).pop();a(r.createElement(d,{callback:S},r.createElement(u.StaticQueryContext.Provider,{value:n},r.createElement(l.LocationProvider,null,c))),b)}var e;return()=>{!function(){const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)}(),function(e){if(!e)return;const{html:t,body:n}=e;if(t){const e=document.querySelector("html");t.forEach((t=>{e&&e.removeAttribute(t)}))}if(n){const e=document.querySelector("body");n.forEach((t=>{e&&e.removeAttribute(t)}))}}(w)}}))}function E(e){const t={...e,params:{...(0,s.UA)(e.location.pathname),...e.pageResources.json.pageContext.__params}};let n;var o;n=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,r.createElement)((o=e.pageResources.component)&&o.default||o,{...t,key:e.path||e.pageResources.page.path});_({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,i.N)("wrapPageElement",{element:n,props:t},n,(e=>{let{result:n}=e;return{element:n,props:t}})).pop()}E.propTypes={location:a().object.isRequired,pageResources:a().object.isRequired,data:a().object,pageContext:a().object.isRequired};var P=E},6498:function(e,t,n){"use strict";var r=n(7387),o=n(20),a=n(6540),i=n(6462),s=n(7035),c=n(7231),u=n(2024),l=n(6814),p=n(6491),d=n(9369);const f={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"};var h=n(7078);function m(e){const t=(0,p.X)(e),{hash:n,search:r}=window.location;return null!=t&&(window.___replace(t.toPath+r+n),!0)}let g="";window.addEventListener("unhandledrejection",(e=>{/loading chunk \d* failed./i.test(e.reason)&&g&&(window.location.pathname=g)}));const v=(e,t)=>{m(e.pathname)||(g=e.pathname,(0,o.N)("onPreRouteUpdate",{location:e,prevLocation:t}))},y=(e,t)=>{m(e.pathname)||(0,o.N)("onRouteUpdate",{location:e,prevLocation:t})},b=function(e,t){if(void 0===t&&(t={}),"number"==typeof e)return void i.globalHistory.navigate(e);const{pathname:n,search:r,hash:a}=(0,h.Rr)(e),s=(0,p.X)(n);if(s&&(e=s.toPath+r+a),window.___swUpdated)return void(window.location=n+r+a);const c=setTimeout((()=>{d.A.emit("onDelayedLoadPageResources",{pathname:n}),(0,o.N)("onRouteUpdateDelayed",{location:window.location})}),1e3);l.Ay.loadPage(n+r).then((o=>{if(!o||o.status===l.Wi.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(c);o&&o.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+r+a),(0,i.navigate)(e,t),clearTimeout(c)}))};function w(e,t){let{location:n}=t;const{pathname:r,hash:a}=n,i=(0,o.N)("shouldUpdateScroll",{prevRouterProps:e,pathname:r,routerProps:{location:n},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(i.length>0)return i[i.length-1];if(e){const{location:{pathname:t}}=e;if(t===r)return a?decodeURI(a.slice(1)):[0,0]}return!0}let S=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=a.createRef(),n}(0,r.A)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){requestAnimationFrame((()=>{let e=`new page at ${this.props.location.pathname}`;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const n=`Navigated to ${e}`;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}}))},n.render=function(){return a.createElement("div",Object.assign({},f,{ref:this.announcementRef}))},t}(a.Component);const _=(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 E=function(e){function t(t){var n;return n=e.call(this,t)||this,v(t.location,null),n}(0,r.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){y(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!_(this.props.location,e.location)&&(v(e.location,this.props.location),!0)},n.componentDidUpdate=function(e){_(e.location,this.props.location)&&y(this.props.location,e.location)},n.render=function(){return a.createElement(a.Fragment,null,this.props.children,a.createElement(S,{location:location}))},t}(a.Component);var P=n(6017),C=n(6877);function R(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 x=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||l.Ay.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,r.A)(t,e),t.getDerivedStateFromProps=function(e,t){let{location:n}=e;if(t.location.href!==n.href){return{pageResources:l.Ay.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:{...n}}}return{location:{...n}}};var n=t.prototype;return n.loadResources=function(e){l.Ay.loadPage(e).then((t=>{t&&t.status!==l.Wi.Error?this.setState({location:{...window.location},pageResources:t}):(window.history.replaceState({},"",location.href),window.location=e)}))},n.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,n){return R(e.props,t)||R(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)},n.render=function(){return this.props.children(this.state)},t}(a.Component),k=n(8797),O=n(9732);const j=new l.N5(C,[],window.pageData);(0,l.iC)(j),j.setApiRunner(o.N);const{render:T,hydrate:A}=(0,O.n)();window.asyncRequires=C,window.___emitter=d.A,window.___loader=l.Zf,i.globalHistory.listen((e=>{e.location.action=e.action})),window.___push=e=>b(e,{replace:!1}),window.___replace=e=>b(e,{replace:!0}),window.___navigate=(e,t)=>b(e,t);const N="gatsby-reload-compilation-hash-match";(0,o.v)("onClientEntry").then((()=>{(0,o.N)("registerServiceWorker").filter(Boolean).length>0&&n(626);const e=e=>a.createElement(i.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.createElement(P.A,e)),t=a.createContext({}),p={renderEnvironment:"browser"};let d=function(e){function n(){return e.apply(this,arguments)||this}return(0,r.A)(n,e),n.prototype.render=function(){const{children:e}=this.props;return a.createElement(i.Location,null,(n=>{let{location:r}=n;return a.createElement(x,{location:r},(n=>{let{pageResources:r,location:o}=n;const i=(0,l.LE)(),s=(0,l.Rh)();return a.createElement(c.G.Provider,{value:i},a.createElement(u.j$.Provider,{value:p},a.createElement(u.dd.Provider,{value:s},a.createElement(u.Jr.Provider,{value:r.page.slicesMap},a.createElement(t.Provider,{value:{pageResources:r,location:o}},e)))))}))}))},n}(a.Component),f=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.A)(o,n),o.prototype.render=function(){return a.createElement(t.Consumer,null,(t=>{let{pageResources:n,location:r}=t;return a.createElement(E,{location:r},a.createElement(s.z_,{location:r,shouldUpdateScroll:w},a.createElement(i.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},a.createElement(e,Object.assign({path:"/404.html"===n.page.path||"/500.html"===n.page.path?(0,k.A)(r.pathname,""):encodeURI((n.page.matchPath||n.page.path).split("?")[0])},this.props,{location:r,pageResources:n},n.json)))))}))},o}(a.Component);const{pagePath:h,location:m}=window;h&&""+h!==m.pathname+(h.includes("?")?m.search:"")&&!(j.findMatchPath((0,k.A)(m.pathname,""))||h.match(/^\/(404|500)(\/?|.html)$/)||h.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,i.navigate)(""+h+(h.includes("?")?"":m.search)+m.hash,{replace:!0});const g=()=>{try{return sessionStorage}catch{return null}};l.Zf.loadPage(m.pathname+m.search).then((e=>{var t;const n=g();if(null!=e&&null!==(t=e.page)&&void 0!==t&&t.webpackCompilationHash&&e.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),n)){if(!("1"===n.getItem(N)))return n.setItem(N,"1"),void window.location.reload(!0)}if(n&&n.removeItem(N),!e||e.status===l.Wi.Error){const t=`page resources for ${m.pathname} not found. Not rendering React`;if(e&&e.error)throw console.error(t),e.error;throw new Error(t)}const r=(0,o.N)("wrapRootElement",{element:a.createElement(f,null)},a.createElement(f,null),(e=>{let{result:t}=e;return{element:t}})).pop(),i=function(){const e=a.useRef(!1);return a.useEffect((()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.N)("onInitialClientRender"))}),[]),a.createElement(d,null,r)},s=document.getElementById("gatsby-focus-wrapper");let c=T;s&&s.children.length&&(c=A);const u=(0,o.N)("replaceHydrateFunction",void 0,c)[0];function p(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;u(a.createElement(i,null),e)}const h=document;if("complete"===h.readyState||"loading"!==h.readyState&&!h.documentElement.doScroll)setTimeout((function(){p()}),0);else{const e=function(){h.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),p()};h.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}}))}))},963:function(e,t,n){"use strict";n.r(t);var r=n(6540),o=n(6814),a=n(6017);t.default=e=>{let{location:t}=e;const n=o.Ay.loadPageSync(t.pathname);return n?r.createElement(a.A,{location:t,pageResources:n,...n.json}):null}},2549:function(e,t,n){var r;e.exports=(r=n(963))&&r.default||r},9732:function(e,t,n){"use strict";n.d(t,{n:function(){return o}});const r=new WeakMap;function o(){const e=n(5338);return{render:(t,n)=>{let o=r.get(n);o||r.set(n,o=e.createRoot(n)),o.render(t)},hydrate:(t,n)=>e.hydrateRoot(n,t)}}},6491:function(e,t,n){"use strict";n.d(t,{X:function(){return a}});const r=new Map,o=new Map;function a(e){let t=r.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach((e=>{e.ignoreCase?o.set(e.fromPath,e):r.set(e.fromPath,e)}))},626:function(e,t,n){"use strict";n.r(t);var r=n(20);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then((function(e){e.addEventListener("updatefound",(()=>{(0,r.N)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.N)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.N)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.N)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,r.N)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},2024:function(e,t,n){"use strict";n.d(t,{Jr:function(){return i},dd:function(){return o},hr:function(){return s},j$:function(){return a}});var r=n(6540);const o=r.createContext({}),a=r.createContext({}),i=r.createContext({}),s=r.createContext({})},7231:function(e,t,n){"use strict";n.d(t,{de:function(){return c},G:function(){return o},GR:function(){return u}});var r=n(6540);const o=(a="StaticQuery",i={},r.createServerContext?function(e,t){return void 0===t&&(t=null),globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=r.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]}(a,i):r.createContext(i));var a,i;function s(e){let{staticQueryData:t,data:n,query:o,render:a}=e;const i=n?n.data:t[o]&&t[o].data;return r.createElement(r.Fragment,null,i&&a(i),!i&&r.createElement("div",null,"Loading (StaticQuery)"))}const c=e=>{const{data:t,query:n,render:a,children:i}=e;return r.createElement(o.Consumer,null,(e=>r.createElement(s,{data:t,query:n,render:a||i,staticQueryData:e})))},u=e=>{var t;r.useContext;const n=r.useContext(o);if(isNaN(Number(e)))throw new Error(`useStaticQuery was called with a string but expects to be called using \`graphql\`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql\`${e}\`);\n`);if(null!==(t=n[e])&&void 0!==t&&t.data)return n[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")}},8797:function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(`${t}/`)?e.slice(t.length):e:e}n.d(t,{A:function(){return r}})},8108:function(e,t){t.onRouteUpdate=e=>{let{location:t,prevLocation:n}=e;if(null!==n){const e=document.querySelector("#main-content");e&&e.focus()}}},5852:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0,t.AppProviders=void 0;var o=r(n(6540)),a=n(2513),i=n(6052);t.AppProviders=function(e){var t=e.element,n=e.pluginOptions,r=n.defaultCrumb,s=n.useClassNames,c=n.useAutoGen,u=n.usePathPrefix;return o.default.createElement(i.OptionsProvider,{useAutoGen:c||!1,useClassNames:s||!1,usePathPrefix:u||null},o.default.createElement(a.BreadcrumbProvider,{defaultCrumb:r||null},t))}},2513:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0,t.BreadcrumbConsumer=t.BreadcrumbProvider=t.BreadcrumbContext=void 0;var o=r(n(4634)),a=r(n(6540)),i=r(n(5556)),s=a.default.createContext("Breadcrumb");t.BreadcrumbContext=s;var c=function(e){var t=e.children,n=e.defaultCrumb,r=a.default.useState(n?[(0,o.default)({pathname:n.location.pathname},n)]:[]),i=r[0],c=r[1],u={crumbs:i,updateCrumbs:function(e){var t=e.location,n=e.crumbLabel,r=e.crumbSeparator,a=e.crumbStyle,s=e.crumbActiveStyle,u=i.findIndex((function(e){return e.pathname===t.pathname}));u>-1&&u<i.length-1&&c(i.slice(0,u)),-1===u&&c([].concat(i,[(0,o.default)({},t,{crumbLabel:n,crumbSeparator:r,crumbStyle:a,crumbActiveStyle:s})]))}};return a.default.createElement(s.Provider,{value:u},t)};t.BreadcrumbProvider=c;var u=s.Consumer;t.BreadcrumbConsumer=u,c.defaultProps={defaultCrumb:null},c.propTypes={children:i.default.node.isRequired,defaultCrumb:i.default.shape({location:i.default.shape({pathname:i.default.string}),crumbLabel:i.default.string,crumbSeparator:i.default.string,crumbStyle:i.default.shape(),crumbActiveStyle:i.default.shape()})}},6052:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0,t.OptionsConsumer=t.OptionsProvider=t.OptionsContext=void 0;var o=r(n(6540)),a=r(n(5556)),i=o.default.createContext("Options");t.OptionsContext=i;var s=function(e){var t=e.children,n=e.useAutoGen,r=void 0!==n&&n,a=e.usePathPrefix,s={useAutoGen:r,usePathPrefix:void 0===a?null:a};return o.default.createElement(i.Provider,{value:s},t)};t.OptionsProvider=s;var c=i.Consumer;t.OptionsConsumer=c,s.defaultProps={useAutoGen:!1,usePathPrefix:null},s.propTypes={children:a.default.node.isRequired,useAutoGen:a.default.bool,usePathPrefix:a.default.string}},6678:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0,t.wrapRootElement=void 0;var o=r(n(6540)),a=n(5852);t.wrapRootElement=function(e,t){var n=e.element;return o.default.createElement(a.AppProviders,{element:n,pluginOptions:t})}},3578:function(e,t,n){"use strict";n.r(t),n.d(t,{onInitialClientRender:function(){return s},onRouteUpdate:function(){return i}});const r=new Set;function o(e,t){let n=null;return function(){n&&clearTimeout(n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];n=setTimeout.apply(void 0,[e,t].concat(o))}}function a(e){void 0===e&&(e="dataLayer");const t=window;function a(n){r.has(n.name)||(r.add(n.name),function(e,t){let{name:n,value:r,id:o}=e;t.push({event:"core-web-vitals",webVitalsMeasurement:{name:n,id:o,value:Math.round("CLS"===n?1e3*r:r)}})}(n,t[e]))}return n.e(577).then(n.bind(n,577)).then((e=>{let{getLCP:t,getFID:n,getCLS:r}=e;const i=o(a,3e3),s=a,c=o(a,3e3);r(i,!0),n(s,!0),t(c,!0)}))}function i(e,t){setTimeout((()=>{const e=t.dataLayerName?window[t.dataLayerName]:window.dataLayer,n=t.routeChangeEventName?t.routeChangeEventName:"gatsby-route-change";e.push({event:n})}),50)}function s(e,t){t.enableWebVitalsTracking&&a(t.dataLayerName)}},7914:function(e,t,n){"use strict";n.r(t),n.d(t,{onRouteUpdate:function(){return r}});n(4794),n(4598);const r=function(e,t){let{location:n}=e}},4598:function(e,t,n){"use strict";var r=n(4794)},2039:function(e,t,n){"use strict";var r=n(4994)(n(6540)),o=n(1510);t.wrapRootElement=function(e,t){var n=e.element;return r.default.createElement(o.StyleSheetManager,{disableVendorPrefixes:!0===(null==t?void 0:t.disableVendorPrefixes)},n)}},4610:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.StyledThemeProvider=void 0;var s=i(n(6540)),c=n(1510),u=n(6779);t.StyledThemeProvider=function(e){var t=e.children,n=e.darkTheme,o=e.lightTheme,a=s.useContext(u.ThemeManagerContext),i=a.isDark,p=a.didLoad,d=i?n:o,f=r({isDark:i},p?d:l(d));return s.default.createElement(c.ThemeProvider,{theme:f},s.default.createElement(s.default.Fragment,null,t))};var l=function(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n];t[n]="object"==typeof r&&r?l(r):"var(--"+n+")"})),t}},6779:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeManagerProvider=t.ThemeManagerContext=t.DarkThemeKey=t.ThemeSetting=void 0;var i,s=a(n(6540));!function(e){e.LIGHT="light",e.DARK="dark",e.SYSTEM="system"}(i=t.ThemeSetting||(t.ThemeSetting={})),t.DarkThemeKey="theme";var c={isDark:void 0,didLoad:!1,themeSetting:i.SYSTEM,toggleDark:function(){},changeThemeSetting:function(){}};t.ThemeManagerContext=s.createContext(c);var u=function(){var e;return!!(null===(e=window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):null)||void 0===e?void 0:e.matches)};t.ThemeManagerProvider=function(e){var n=s.useState(i.SYSTEM),r=n[0],o=n[1],a=s.useState(!1),c=a[0],l=a[1],p=s.default.useState(),d=p[0],f=p[1];s.default.useEffect((function(){var e=window.document.documentElement.style.getPropertyValue("--initial-color-mode");f(e===i.DARK),l(!0)}),[]);return s.default.createElement(t.ThemeManagerContext.Provider,{value:{isDark:d,toggleDark:function(e){var n=null!=e?e:!d,r=n?i.DARK:i.LIGHT;f(n),o(r),localStorage.setItem(t.DarkThemeKey,r)},themeSetting:r,changeThemeSetting:function(e){switch(e){case i.SYSTEM:f(u());break;case i.LIGHT:case i.DARK:f(e===i.DARK)}o(e),localStorage.setItem(t.DarkThemeKey,e)},didLoad:c}},e.children)}},3734:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapRootElement=void 0,t.wrapRootElement=n(7675).wrapRootElement},7675:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.wrapRootElement=void 0;var o=r(n(6540)),a=n(4610),i=n(6779);t.wrapRootElement=function(e,t){var n=t.dark,r=void 0===n?{}:n,s=t.light,c=void 0===s?{}:s;return o.default.createElement(i.ThemeManagerProvider,null,o.default.createElement(a.StyledThemeProvider,{lightTheme:c,darkTheme:r},e.element))}},311:function(e){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var 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}}},207:function(e,t,n){"use strict";var r=n(6540),o={stream:!0},a=new Map,i=Symbol.for("react.element"),s=Symbol.for("react.lazy"),c=Symbol.for("react.default_value"),u=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function l(e,t,n){this._status=e,this._value=t,this._response=n}function p(e){switch(e._status){case 3:return e._value;case 1:var t=JSON.parse(e._value,e._response._fromJSON);return e._status=3,e._value=t;case 2:for(var r=(t=e._value).chunks,o=0;o<r.length;o++){var i=a.get(r[o]);if(null!==i)throw i}return r=n(t.id),t="*"===t.name?r:""===t.name?r.__esModule?r.default:r:r[t.name],e._status=3,e._value=t;case 0:throw e;default:throw e._value}}function d(){return p(v(this,0))}function f(e,t){return new l(3,t,e)}function h(e){if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}function m(e,t){if(0===e._status){var n=e._value;e._status=4,e._value=t,h(n)}}function g(e,t){e._chunks.forEach((function(e){m(e,t)}))}function v(e,t){var n=e._chunks,r=n.get(t);return r||(r=new l(0,null,e),n.set(t,r)),r}function y(e){g(e,Error("Connection closed."))}function b(e,t){if(""!==t){var o=t[0],i=t.indexOf(":",1),s=parseInt(t.substring(1,i),16);switch(i=t.substring(i+1),o){case"J":(o=(t=e._chunks).get(s))?0===o._status&&(e=o._value,o._status=1,o._value=i,h(e)):t.set(s,new l(1,i,e));break;case"M":o=(t=e._chunks).get(s),i=JSON.parse(i,e._fromJSON);var p=e._bundlerConfig;p=(i=p?p[i.id][i.name]:i).chunks;for(var d=0;d<p.length;d++){var g=p[d];if(void 0===a.get(g)){var v=n.e(g),y=a.set.bind(a,g,null),b=a.set.bind(a,g);v.then(y,b),a.set(g,v)}}o?0===o._status&&(e=o._value,o._status=2,o._value=i,h(e)):t.set(s,new l(2,i,e));break;case"P":e._chunks.set(s,f(e,function(e){return u[e]||(u[e]=r.createServerContext(e,c)),u[e]}(i).Provider));break;case"S":o=JSON.parse(i),e._chunks.set(s,f(e,Symbol.for(o)));break;case"E":t=JSON.parse(i),(o=Error(t.message)).stack=t.stack,(i=(t=e._chunks).get(s))?m(i,o):t.set(s,new l(4,o,e));break;default:throw Error("Error parsing the data. It's probably an error code or network corruption.")}}}function w(e){return function(t,n){return"string"==typeof n?function(e,t,n){switch(n[0]){case"$":return"$"===n?i:"$"===n[1]||"@"===n[1]?n.substring(1):p(e=v(e,parseInt(n.substring(1),16)));case"@":return e=v(e,parseInt(n.substring(1),16)),{$$typeof:s,_payload:e,_init:p}}return n}(e,0,n):"object"==typeof n&&null!==n?n[0]===i?{$$typeof:i,type:n[1],key:n[2],ref:null,props:n[3],_owner:null}:n:n}}function S(e){var t=new TextDecoder;return(e={_bundlerConfig:e,_chunks:new Map,readRoot:d,_partialRow:"",_stringDecoder:t})._fromJSON=w(e),e}function _(e,t){function n(t){g(e,t)}var r=t.getReader();r.read().then((function t(a){var i=a.value;if(!a.done){a=i,i=e._stringDecoder;for(var s=a.indexOf(10);-1<s;){var c=e._partialRow,u=a.subarray(0,s);u=i.decode(u),b(e,c+u),e._partialRow="",s=(a=a.subarray(s+1)).indexOf(10)}return e._partialRow+=i.decode(a,o),r.read().then(t,n)}y(e)}),n)}l.prototype.then=function(e){0===this._status?(null===this._value&&(this._value=[]),this._value.push(e)):e()},t.createFromReadableStream=function(e,t){return _(t=S(t&&t.moduleMap?t.moduleMap:null),e),t}},8163:function(e,t,n){"use strict";e.exports=n(207)},2833:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var u=a[c];if(!s(u))return!1;var l=e[u],p=t[u];if(!1===(o=n?n.call(r,l,p,u):void 0)||void 0===o&&l!==p)return!1}return!0}},1510:function(e,t,n){"use strict";n.r(t),n.d(t,{ServerStyleSheet:function(){return an},StyleSheetConsumer:function(){return jt},StyleSheetContext:function(){return Ot},StyleSheetManager:function(){return Nt},ThemeConsumer:function(){return qt},ThemeContext:function(){return Ut},ThemeProvider:function(){return Jt},__PRIVATE__:function(){return sn},createGlobalStyle:function(){return nn},css:function(){return Kt},default:function(){return en},isStyledComponent:function(){return Ke},keyframes:function(){return rn},styled:function(){return en},useTheme:function(){return Gt},version:function(){return de},withTheme:function(){return on}});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.create;function o(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError;var a=n(6540),i=n(2833),s=n.n(i),c="-ms-",u="-moz-",l="-webkit-",p="comm",d="rule",f="decl",h="@import",m="@keyframes",g="@layer",v=Math.abs,y=String.fromCharCode,b=Object.assign;function w(e){return e.trim()}function S(e,t){return(e=t.exec(e))?e[0]:e}function _(e,t,n){return e.replace(t,n)}function E(e,t,n){return e.indexOf(t,n)}function P(e,t){return 0|e.charCodeAt(t)}function C(e,t,n){return e.slice(t,n)}function R(e){return e.length}function x(e){return e.length}function k(e,t){return t.push(e),e}function O(e,t){return e.filter((function(e){return!S(e,t)}))}var j=1,T=1,A=0,N=0,D=0,I="";function M(e,t,n,r,o,a,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:j,column:T,length:i,return:"",siblings:s}}function $(e,t){return b(M("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function L(e){for(;e.root;)e=$(e.root,{children:[e]});k(e,e.siblings)}function H(){return D=N>0?P(I,--N):0,T--,10===D&&(T=1,j--),D}function B(){return D=N<A?P(I,N++):0,T++,10===D&&(T=1,j++),D}function F(){return P(I,N)}function W(){return N}function U(e,t){return C(I,e,t)}function q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function G(e){return j=T=1,A=R(I=e),N=0,[]}function J(e){return I="",e}function Q(e){return w(U(N-1,Y(91===e?e+2:40===e?e+1:e)))}function z(e){for(;(D=F())&&D<33;)B();return q(e)>2||q(D)>3?"":" "}function V(e,t){for(;--t&&B()&&!(D<48||D>102||D>57&&D<65||D>70&&D<97););return U(e,W()+(t<6&&32==F()&&32==B()))}function Y(e){for(;B();)switch(D){case e:return N;case 34:case 39:34!==e&&39!==e&&Y(D);break;case 40:41===e&&Y(e);break;case 92:B()}return N}function K(e,t){for(;B()&&e+D!==57&&(e+D!==84||47!==F()););return"/*"+U(t,N-1)+"*"+y(47===e?e:B())}function X(e){for(;!q(F());)B();return U(e,N)}function Z(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function ee(e,t,n,r){switch(e.type){case g:if(e.children.length)break;case h:case f:return e.return=e.return||e.value;case p:return"";case m:return e.return=e.value+"{"+Z(e.children,r)+"}";case d:if(!R(e.value=e.props.join(",")))return""}return R(n=Z(e.children,r))?e.return=e.value+"{"+n+"}":""}function te(e,t,n){switch(function(e,t){return 45^P(e,0)?(((t<<2^P(e,0))<<2^P(e,1))<<2^P(e,2))<<2^P(e,3):0}(e,t)){case 5103:return l+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return l+e+e;case 4789:return u+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return l+e+u+e+c+e+e;case 5936:switch(P(e,t+11)){case 114:return l+e+c+_(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return l+e+c+_(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return l+e+c+_(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return l+e+c+e+e;case 6165:return l+e+c+"flex-"+e+e;case 5187:return l+e+_(e,/(\w+).+(:[^]+)/,l+"box-$1$2"+c+"flex-$1$2")+e;case 5443:return l+e+c+"flex-item-"+_(e,/flex-|-self/g,"")+(S(e,/flex-|baseline/)?"":c+"grid-row-"+_(e,/flex-|-self/g,""))+e;case 4675:return l+e+c+"flex-line-pack"+_(e,/align-content|flex-|-self/g,"")+e;case 5548:return l+e+c+_(e,"shrink","negative")+e;case 5292:return l+e+c+_(e,"basis","preferred-size")+e;case 6060:return l+"box-"+_(e,"-grow","")+l+e+c+_(e,"grow","positive")+e;case 4554:return l+_(e,/([^-])(transform)/g,"$1"+l+"$2")+e;case 6187:return _(_(_(e,/(zoom-|grab)/,l+"$1"),/(image-set)/,l+"$1"),e,"")+e;case 5495:case 3959:return _(e,/(image-set\([^]*)/,l+"$1$`$1");case 4968:return _(_(e,/(.+:)(flex-)?(.*)/,l+"box-pack:$3"+c+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+l+e+e;case 4200:if(!S(e,/flex-|baseline/))return c+"grid-column-align"+C(e,t)+e;break;case 2592:case 3360:return c+_(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,S(e.props,/grid-\w+-end/)}))?~E(e+(n=n[t].value),"span",0)?e:c+_(e,"-start","")+e+c+"grid-row-span:"+(~E(n,"span",0)?S(n,/\d+/):+S(n,/\d+/)-+S(e,/\d+/))+";":c+_(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return S(e.props,/grid-\w+-start/)}))?e:c+_(_(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return _(e,/(.+)-inline(.+)/,l+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(R(e)-1-t>6)switch(P(e,t+1)){case 109:if(45!==P(e,t+4))break;case 102:return _(e,/(.+:)(.+)-([^]+)/,"$1"+l+"$2-$3$1"+u+(108==P(e,t+3)?"$3":"$2-$3"))+e;case 115:return~E(e,"stretch",0)?te(_(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return _(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,a,i,s){return c+n+":"+r+s+(o?c+n+"-span:"+(a?i:+i-+r)+s:"")+e}));case 4949:if(121===P(e,t+6))return _(e,":",":"+l)+e;break;case 6444:switch(P(e,45===P(e,14)?18:11)){case 120:return _(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+l+(45===P(e,14)?"inline-":"")+"box$3$1"+l+"$2$3$1"+c+"$2box$3")+e;case 100:return _(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return _(e,"scroll-","scroll-snap-")+e}return e}function ne(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case f:return void(e.return=te(e.value,e.length,n));case m:return Z([$(e,{value:_(e.value,"@","@"+l)})],r);case d:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(S(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":L($(e,{props:[_(t,/:(read-\w+)/,":"+u+"$1")]})),L($(e,{props:[t]})),b(e,{props:O(n,r)});break;case"::placeholder":L($(e,{props:[_(t,/:(plac\w+)/,":"+l+"input-$1")]})),L($(e,{props:[_(t,/:(plac\w+)/,":"+u+"$1")]})),L($(e,{props:[_(t,/:(plac\w+)/,c+"input-$1")]})),L($(e,{props:[t]})),b(e,{props:O(n,r)})}return""}))}}function re(e){return J(oe("",null,null,null,[""],e=G(e),0,[0],e))}function oe(e,t,n,r,o,a,i,s,c){for(var u=0,l=0,p=i,d=0,f=0,h=0,m=1,g=1,b=1,w=0,S="",C=o,x=a,O=r,j=S;g;)switch(h=w,w=B()){case 40:if(108!=h&&58==P(j,p-1)){-1!=E(j+=_(Q(w),"&","&\f"),"&\f",v(u?s[u-1]:0))&&(b=-1);break}case 34:case 39:case 91:j+=Q(w);break;case 9:case 10:case 13:case 32:j+=z(h);break;case 92:j+=V(W()-1,7);continue;case 47:switch(F()){case 42:case 47:k(ie(K(B(),W()),t,n,c),c);break;default:j+="/"}break;case 123*m:s[u++]=R(j)*b;case 125*m:case 59:case 0:switch(w){case 0:case 125:g=0;case 59+l:-1==b&&(j=_(j,/\f/g,"")),f>0&&R(j)-p&&k(f>32?se(j+";",r,n,p-1,c):se(_(j," ","")+";",r,n,p-2,c),c);break;case 59:j+=";";default:if(k(O=ae(j,t,n,u,l,o,s,S,C=[],x=[],p,a),a),123===w)if(0===l)oe(j,t,O,O,C,a,p,s,x);else switch(99===d&&110===P(j,3)?100:d){case 100:case 108:case 109:case 115:oe(e,O,O,r&&k(ae(e,O,O,0,0,o,s,S,o,C=[],p,x),x),o,x,p,s,r?C:x);break;default:oe(j,O,O,O,[""],x,0,s,x)}}u=l=f=0,m=b=1,S=j="",p=i;break;case 58:p=1+R(j),f=h;default:if(m<1)if(123==w)--m;else if(125==w&&0==m++&&125==H())continue;switch(j+=y(w),w*m){case 38:b=l>0?1:(j+="\f",-1);break;case 44:s[u++]=(R(j)-1)*b,b=1;break;case 64:45===F()&&(j+=Q(B())),d=F(),l=p=R(S=j+=X(W())),w++;break;case 45:45===h&&2==R(j)&&(m=0)}}return a}function ae(e,t,n,r,o,a,i,s,c,u,l,p){for(var f=o-1,h=0===o?a:[""],m=x(h),g=0,y=0,b=0;g<r;++g)for(var S=0,E=C(e,f+1,f=v(y=i[g])),P=e;S<m;++S)(P=w(y>0?h[S]+" "+E:_(E,/&\f/g,h[S])))&&(c[b++]=P);return M(e,t,n,0===o?d:s,c,u,l,p)}function ie(e,t,n,r){return M(e,t,n,p,y(D),C(e,2,-2),0,r)}function se(e,t,n,r,o){return M(e,t,n,f,C(e,0,r),C(e,r+1,-1),r,o)}var ce={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ue="undefined"!=typeof process&&void 0!=={}&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",le="active",pe="data-styled-version",de="6.1.13",fe="/*!sc*/\n",he="undefined"!=typeof window&&"HTMLElement"in window,me=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={}&&void 0!=={}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={}.REACT_APP_SC_DISABLE_SPEEDY&&{}.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={}&&void 0!=={}.SC_DISABLE_SPEEDY&&""!=={}.SC_DISABLE_SPEEDY&&("false"!=={}.SC_DISABLE_SPEEDY&&{}.SC_DISABLE_SPEEDY)),ge={},ve=(new Set,Object.freeze([])),ye=Object.freeze({});function be(e,t,n){return void 0===n&&(n=ye),e.theme!==n.theme&&e.theme||t||n.theme}var we=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Se=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,_e=/(^-|-$)/g;function Ee(e){return e.replace(Se,"-").replace(_e,"")}var Pe=/(a)(d)/gi,Ce=52,Re=function(e){return String.fromCharCode(e+(e>25?39:97))};function xe(e){var t,n="";for(t=Math.abs(e);t>Ce;t=t/Ce|0)n=Re(t%Ce)+n;return(Re(t%Ce)+n).replace(Pe,"$1-$2")}var ke,Oe=5381,je=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Te=function(e){return je(Oe,e)};function Ae(e){return xe(Te(e)>>>0)}function Ne(e){return e.displayName||e.name||"Component"}function De(e){return"string"==typeof e&&!0}var Ie="function"==typeof Symbol&&Symbol.for,Me=Ie?Symbol.for("react.memo"):60115,$e=Ie?Symbol.for("react.forward_ref"):60112,Le={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},He={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Be={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Fe=((ke={})[$e]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ke[Me]=Be,ke);function We(e){return("type"in(t=e)&&t.type.$$typeof)===Me?Be:"$$typeof"in e?Fe[e.$$typeof]:Le;var t}var Ue=Object.defineProperty,qe=Object.getOwnPropertyNames,Ge=Object.getOwnPropertySymbols,Je=Object.getOwnPropertyDescriptor,Qe=Object.getPrototypeOf,ze=Object.prototype;function Ve(e,t,n){if("string"!=typeof t){if(ze){var r=Qe(t);r&&r!==ze&&Ve(e,r,n)}var o=qe(t);Ge&&(o=o.concat(Ge(t)));for(var a=We(e),i=We(t),s=0;s<o.length;++s){var c=o[s];if(!(c in He||n&&n[c]||i&&c in i||a&&c in a)){var u=Je(t,c);try{Ue(e,c,u)}catch(e){}}}}return e}function Ye(e){return"function"==typeof e}function Ke(e){return"object"==typeof e&&"styledComponentId"in e}function Xe(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Ze(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function et(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function tt(e,t,n){if(void 0===n&&(n=!1),!n&&!et(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=tt(e[r],t[r]);else if(et(t))for(var r in t)e[r]=tt(e[r],t[r]);return e}function nt(e,t){Object.defineProperty(e,"toString",{value:t})}function rt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var ot=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw rt(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=r;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),s=(a=0,t.length);a<s;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,a=r;a<o;a++)t+="".concat(this.tag.getRule(a)).concat(fe);return t},e}(),at=new Map,it=new Map,st=1,ct=function(e){if(at.has(e))return at.get(e);for(;it.has(st);)st++;var t=st++;return at.set(e,t),it.set(t,e),t},ut=function(e,t){st=t+1,at.set(e,t),it.set(t,e)},lt="style[".concat(ue,"][").concat(pe,'="').concat(de,'"]'),pt=new RegExp("^".concat(ue,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),dt=function(e,t,n){for(var r,o=n.split(","),a=0,i=o.length;a<i;a++)(r=o[a])&&e.registerName(t,r)},ft=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(fe),o=[],a=0,i=r.length;a<i;a++){var s=r[a].trim();if(s){var c=s.match(pt);if(c){var u=0|parseInt(c[1],10),l=c[2];0!==u&&(ut(l,u),dt(e,l,c[3]),e.getTag().insertRules(u,o)),o.length=0}else o.push(s)}}},ht=function(e){for(var t=document.querySelectorAll(lt),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(ue)!==le&&(ft(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function mt(){return n.nc}var gt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(ue,"]")));return t[t.length-1]}(n),a=void 0!==o?o.nextSibling:null;r.setAttribute(ue,le),r.setAttribute(pe,de);var i=mt();return i&&r.setAttribute("nonce",i),n.insertBefore(r,a),r},vt=function(){function e(e){this.element=gt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw rt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),yt=function(){function e(e){this.element=gt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),bt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),wt=he,St={isServer:!he,useCSSOMInjection:!me},_t=function(){function e(e,t,n){void 0===e&&(e=ye),void 0===t&&(t={});var o=this;this.options=r(r({},St),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&he&&wt&&(wt=!1,ht(this)),nt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return it.get(e)}(n);if(void 0===o)return"continue";var a=e.names.get(o),i=t.getGroup(n);if(void 0===a||!a.size||0===i.length)return"continue";var s="".concat(ue,".g").concat(n,'[id="').concat(o,'"]'),c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+="".concat(e,","))})),r+="".concat(i).concat(s,'{content:"').concat(c,'"}').concat(fe)},a=0;a<n;a++)o(a);return r}(o)}))}return e.registerId=function(e){return ct(e)},e.prototype.rehydrate=function(){!this.server&&he&&ht(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(r(r({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new bt(n):t?new vt(n):new yt(n)}(this.options),new ot(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(ct(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(ct(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(ct(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Et=/&/g,Pt=/^\s*\/\/.*$/gm;function Ct(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ct(e.children,t)),e}))}function Rt(e){var t,n,r,o=void 0===e?ye:e,a=o.options,i=void 0===a?ye:a,s=o.plugins,c=void 0===s?ve:s,u=function(e,r,o){return o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},l=c.slice();l.push((function(e){e.type===d&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Et,n).replace(r,u))})),i.prefix&&l.push(ne),l.push(ee);var p=function(e,o,a,s){void 0===o&&(o=""),void 0===a&&(a=""),void 0===s&&(s="&"),t=s,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(Pt,""),u=re(a||o?"".concat(a," ").concat(o," { ").concat(c," }"):c);i.namespace&&(u=Ct(u,i.namespace));var p,d,f,h=[];return Z(u,(p=l.concat((f=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&f(e)})),d=x(p),function(e,t,n,r){for(var o="",a=0;a<d;a++)o+=p[a](e,t,n,r)||"";return o})),h};return p.hash=c.length?c.reduce((function(e,t){return t.name||rt(15),je(e,t.name)}),Oe).toString():"",p}var xt=new _t,kt=Rt(),Ot=a.createContext({shouldForwardProp:void 0,styleSheet:xt,stylis:kt}),jt=Ot.Consumer,Tt=a.createContext(void 0);function At(){return(0,a.useContext)(Ot)}function Nt(e){var t=(0,a.useState)(e.stylisPlugins),n=t[0],r=t[1],o=At().styleSheet,i=(0,a.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,o]),c=(0,a.useMemo)((function(){return Rt({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})}),[e.enableVendorPrefixes,e.namespace,n]);(0,a.useEffect)((function(){s()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]);var u=(0,a.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:i,stylis:c}}),[e.shouldForwardProp,i,c]);return a.createElement(Ot.Provider,{value:u},a.createElement(Tt.Provider,{value:c},e.children))}var Dt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=kt);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,nt(this,(function(){throw rt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=kt),this.name+e.hash},e}(),It=function(e){return e>="A"&&e<="Z"};function Mt(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;It(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var $t=function(e){return null==e||!1===e||""===e},Lt=function(e){var t,n,r=[];for(var a in e){var i=e[a];e.hasOwnProperty(a)&&!$t(i)&&(Array.isArray(i)&&i.isCss||Ye(i)?r.push("".concat(Mt(a),":"),i,";"):et(i)?r.push.apply(r,o(o(["".concat(a," {")],Lt(i),!1),["}"],!1)):r.push("".concat(Mt(a),": ").concat((t=a,null==(n=i)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in ce||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Ht(e,t,n,r){return $t(e)?[]:Ke(e)?[".".concat(e.styledComponentId)]:Ye(e)?!Ye(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:Ht(e(t),t,n,r):e instanceof Dt?n?(e.inject(n,r),[e.getName(r)]):[e]:et(e)?Lt(e):Array.isArray(e)?Array.prototype.concat.apply(ve,e.map((function(e){return Ht(e,t,n,r)}))):[e.toString()];var o}function Bt(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Ye(n)&&!Ke(n))return!1}return!0}var Ft=Te(de),Wt=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Bt(e),this.componentId=t,this.baseHash=je(Ft,t),this.baseStyle=n,_t.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Xe(r,this.staticRulesId);else{var o=Ze(Ht(this.rules,e,t,n)),a=xe(je(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,a)){var i=n(o,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,i)}r=Xe(r,a),this.staticRulesId=a}else{for(var s=je(this.baseHash,n.hash),c="",u=0;u<this.rules.length;u++){var l=this.rules[u];if("string"==typeof l)c+=l;else if(l){var p=Ze(Ht(l,e,t,n));s=je(s,p+u),c+=p}}if(c){var d=xe(s>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),r=Xe(r,d)}}return r},e}(),Ut=a.createContext(void 0),qt=Ut.Consumer;function Gt(){var e=(0,a.useContext)(Ut);if(!e)throw rt(18);return e}function Jt(e){var t=a.useContext(Ut),n=(0,a.useMemo)((function(){return function(e,t){if(!e)throw rt(14);if(Ye(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw rt(8);return t?r(r({},t),e):e}(e.theme,t)}),[e.theme,t]);return e.children?a.createElement(Ut.Provider,{value:n},e.children):null}var Qt={};new Set;function zt(e,t,n){var o=Ke(e),i=e,s=!De(e),c=t.attrs,u=void 0===c?ve:c,l=t.componentId,p=void 0===l?function(e,t){var n="string"!=typeof e?"sc":Ee(e);Qt[n]=(Qt[n]||0)+1;var r="".concat(n,"-").concat(Ae(de+n+Qt[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):l,d=t.displayName,f=void 0===d?function(e){return De(e)?"styled.".concat(e):"Styled(".concat(Ne(e),")")}(e):d,h=t.displayName&&t.componentId?"".concat(Ee(t.displayName),"-").concat(t.componentId):t.componentId||p,m=o&&i.attrs?i.attrs.concat(u).filter(Boolean):u,g=t.shouldForwardProp;if(o&&i.shouldForwardProp){var v=i.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;g=function(e,t){return v(e,t)&&y(e,t)}}else g=v}var b=new Wt(n,h,o?i.componentStyle:void 0);function w(e,t){return function(e,t,n){var o=e.attrs,i=e.componentStyle,s=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,l=e.target,p=a.useContext(Ut),d=At(),f=e.shouldForwardProp||d.shouldForwardProp,h=be(t,p,s)||ye,m=function(e,t,n){for(var o,a=r(r({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var s=Ye(o=e[i])?o(a):o;for(var c in s)a[c]="className"===c?Xe(a[c],s[c]):"style"===c?r(r({},a[c]),s[c]):s[c]}return t.className&&(a.className=Xe(a.className,t.className)),a}(o,t,h),g=m.as||l,v={};for(var y in m)void 0===m[y]||"$"===y[0]||"as"===y||"theme"===y&&m.theme===h||("forwardedAs"===y?v.as=m.forwardedAs:f&&!f(y,g)||(v[y]=m[y]));var b=function(e,t){var n=At();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(i,m),w=Xe(c,u);return b&&(w+=" "+b),m.className&&(w+=" "+m.className),v[De(g)&&!we.has(g)?"class":"className"]=w,v.ref=n,(0,a.createElement)(g,v)}(S,e,t)}w.displayName=f;var S=a.forwardRef(w);return S.attrs=m,S.componentStyle=b,S.displayName=f,S.shouldForwardProp=g,S.foldedComponentIds=o?Xe(i.foldedComponentIds,i.styledComponentId):"",S.styledComponentId=h,S.target=o?i.target:e,Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)tt(e,o[r],!0);return e}({},i.defaultProps,e):e}}),nt(S,(function(){return".".concat(S.styledComponentId)})),s&&Ve(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),S}function Vt(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var Yt=function(e){return Object.assign(e,{isCss:!0})};function Kt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Ye(e)||et(e))return Yt(Ht(Vt(ve,o([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Ht(r):Yt(Ht(Vt(r,t)))}function Xt(e,t,n){if(void 0===n&&(n=ye),!t)throw rt(1,t);var a=function(r){for(var a=[],i=1;i<arguments.length;i++)a[i-1]=arguments[i];return e(t,n,Kt.apply(void 0,o([r],a,!1)))};return a.attrs=function(o){return Xt(e,t,r(r({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},a.withConfig=function(o){return Xt(e,t,r(r({},n),o))},a}var Zt=function(e){return Xt(zt,e)},en=Zt;we.forEach((function(e){en[e]=Zt(e)}));var tn=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Bt(e),_t.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var o=r(Ze(Ht(this.rules,t,n,r)),""),a=this.componentId+e;n.insertRules(a,a,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&_t.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function nn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=Kt.apply(void 0,o([e],t,!1)),s="sc-global-".concat(Ae(JSON.stringify(i))),c=new tn(i,s),u=function(e){var t=At(),n=a.useContext(Ut),r=a.useRef(t.styleSheet.allocateGSInstance(s)).current;return t.styleSheet.server&&l(r,e,t.styleSheet,n,t.stylis),a.useLayoutEffect((function(){if(!t.styleSheet.server)return l(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}}),[r,e,t.styleSheet,n,t.stylis]),null};function l(e,t,n,o,a){if(c.isStatic)c.renderStyles(e,ge,n,a);else{var i=r(r({},t),{theme:be(t,o,u.defaultProps)});c.renderStyles(e,i,n,a)}}return a.memo(u)}function rn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Ze(Kt.apply(void 0,o([e],t,!1))),a=Ae(r);return new Dt(a,r)}function on(e){var t=a.forwardRef((function(t,n){var o=be(t,a.useContext(Ut),e.defaultProps);return a.createElement(e,r({},t,{theme:o,ref:n}))}));return t.displayName="WithTheme(".concat(Ne(e),")"),Ve(t,e)}var an=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=mt(),r=Ze([n&&'nonce="'.concat(n,'"'),"".concat(ue,'="true"'),"".concat(pe,'="').concat(de,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw rt(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw rt(2);var n=e.instance.toString();if(!n)return[];var o=((t={})[ue]="",t[pe]=de,t.dangerouslySetInnerHTML={__html:n},t),i=mt();return i&&(o.nonce=i),[a.createElement("style",r({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new _t({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw rt(2);return a.createElement(Nt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw rt(3)},e}(),sn={StyleSheet:_t,mainSheet:xt};"__sc-".concat(ue,"__")},2475:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},4634:function(e){function t(){return e.exports=t=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,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},6221:function(e,t,n){var r=n(5636);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},4994:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},5636:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4656:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SCRIPT_TYPE="text/partytown",t.partytownSnippet=e=>((e,t)=>{const{forward:n=[],...r}=e||{},o=JSON.stringify(r,((e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t)));return["!(function(w,p,f,c){",Object.keys(r).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",n.length>0?`.concat(${JSON.stringify(n)})`:"","})(window,'partytown','forward');",t].join("")})(e,'/* Partytown 0.7.6 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(f,1e4),e.addEventListener("pt0",w),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):f())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.7.6":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;n<s.length;n++)(r=e.createElement("script")).innerHTML=s[n].innerHTML,e.head.appendChild(r);c&&c.parentNode.removeChild(c)}function w(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);')},7387:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(3662);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},3662:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:function(){return r}})},4506: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}function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(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)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,{A:function(){return o}})},6462:function(e,t,n){"use strict";var r;n.r(t),n.d(t,{BaseContext:function(){return g},Link:function(){return Q},Location:function(){return X},LocationContext:function(){return v},LocationProvider:function(){return K},Match:function(){return ee},Redirect:function(){return P},Router:function(){return se},ServerLocation:function(){return Z},createHistory:function(){return l},createMemorySource:function(){return p},globalHistory:function(){return f},insertParams:function(){return O},isRedirect:function(){return S},match:function(){return x},navigate:function(){return h},pick:function(){return R},redirectTo:function(){return _},resolve:function(){return k},shallowCompare:function(){return H},startsWith:function(){return C},useBaseContext:function(){return y},useLocation:function(){return ue},useLocationContext:function(){return b},useMatch:function(){return de},useNavigate:function(){return le},useParams:function(){return pe},validateRedirect:function(){return j}});var o=n(6540),a=n(5556),i=n(311);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}const u=e=>{const{search:t,hash:n,href:r,origin:o,protocol:a,host:i,hostname:s,port:c}=e.location;let{pathname:u}=e.location;return!u&&r&&d&&(u=new URL(r).pathname),{pathname:encodeURI(decodeURI(u)),search:t,hash:n,href:r,origin:o,protocol:a,host:i,hostname:s,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},l=(e,t)=>{let n=[],r=u(e),o=!1,a=()=>{};return{get location(){return r},get transitioning(){return o},_onTransitionComplete(){o=!1,a()},listen(t){n.push(t);const o=()=>{r=u(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),n=n.filter((e=>e!==t))}},navigate(t,{state:i,replace:c=!1}={}){if("number"==typeof t)e.history.go(t);else{i=s({},i,{key:Date.now()+""});try{o||c?e.history.replaceState(i,null,t):e.history.pushState(i,null,t)}catch(n){e.location[c?"replace":"assign"](t)}}r=u(e),o=!0;const l=new Promise((e=>a=e));return n.forEach((e=>e({location:r,action:"PUSH"}))),l}}},p=(e="/")=>{const t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let r=0;const o=[n],a=[null];return{get location(){return o[r]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState(e,t,n){const[i,s=""]=n.split("?");r++,o.push({pathname:i,search:s.length?`?${s}`:s}),a.push(e)},replaceState(e,t,n){const[i,s=""]=n.split("?");o[r]={pathname:i,search:s},a[r]=e},go(e){const t=r+e;t<0||t>a.length-1||(r=t)}}}},d=!("undefined"==typeof window||!window.document||!window.document.createElement),f=l(d?window:p()),{navigate:h}=f;function m(e,t){return o.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=o.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(e,t):o.createContext(t)}const g=m("Base",{baseuri:"/",basepath:"/"}),v=m("Location"),y=()=>o.useContext(g),b=()=>o.useContext(v);function w(e){this.uri=e}const S=e=>e instanceof w,_=e=>{throw new w(e)};function E(e){const{to:t,replace:n=!0,state:r,noThrow:a,baseuri:i}=e;o.useEffect((()=>{Promise.resolve().then((()=>{const o=k(t,i);h(O(o,e),{replace:n,state:r})}))}),[]);const s=k(t,i);return a||_(O(s,e)),null}const P=e=>{const t=b(),{baseuri:n}=y();return o.createElement(E,s({},t,{baseuri:n},e))};P.propTypes={from:a.string,to:a.string.isRequired};const C=(e,t)=>e.substr(0,t.length)===t,R=(e,t)=>{let n,r;const[o]=t.split("?"),a=M(o),s=""===a[0],c=I(e);for(let u=0,l=c.length;u<l;u++){let e=!1;const o=c[u].route;if(o.default){r={route:o,params:{},uri:t};continue}const l=M(o.path),p={},d=Math.max(a.length,l.length);let f=0;for(;f<d;f++){const t=l[f],n=a[f];if(N(t)){p[t.slice(1)||"*"]=a.slice(f).map(decodeURIComponent).join("/");break}if(void 0===n){e=!0;break}const r=T.exec(t);if(r&&!s){const e=-1===L.indexOf(r[1]);i(e,`<Router> dynamic segment "${r[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const t=decodeURIComponent(n);p[r[1]]=t}else if(t!==n){e=!0;break}}if(!e){n={route:o,params:p,uri:"/"+a.slice(0,f).join("/")};break}}return n||r||null},x=(e,t)=>R([{path:e}],t),k=(e,t)=>{if(C(e,"/"))return e;const[n,r]=e.split("?"),[o]=t.split("?"),a=M(n),i=M(o);if(""===a[0])return $(o,r);if(!C(a[0],".")){const e=i.concat(a).join("/");return $(("/"===o?"":"/")+e,r)}const s=i.concat(a),c=[];for(let u=0,l=s.length;u<l;u++){const e=s[u];".."===e?c.pop():"."!==e&&c.push(e)}return $("/"+c.join("/"),r)},O=(e,t)=>{const[n,r=""]=e.split("?");let o="/"+M(n).map((e=>{const n=T.exec(e);return n?t[n[1]]:e})).join("/");const{location:{search:a=""}={}}=t,i=a.split("?")[1]||"";return o=$(o,r,i),o},j=(e,t)=>{const n=e=>A(e);return M(e).filter(n).sort().join("/")===M(t).filter(n).sort().join("/")},T=/^:(.+)/,A=e=>T.test(e),N=e=>e&&"*"===e[0],D=(e,t)=>({route:e,score:e.default?0:M(e.path).reduce(((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:A(t)?e+=2:N(t)?e-=5:e+=3,e)),0),index:t}),I=e=>e.map(D).sort(((e,t)=>e.score<t.score?1:e.score>t.score?-1:e.index-t.index)),M=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),$=(e,...t)=>e+((t=t.filter((e=>e&&e.length>0)))&&t.length>0?`?${t.join("&")}`:""),L=["uri","path"],H=(e,t)=>{const n=Object.keys(e);return n.length===Object.keys(t).length&&n.every((n=>t.hasOwnProperty(n)&&e[n]===t[n]))},B=e=>e.replace(/(^\/+|\/+$)/g,""),F=e=>t=>{if(!t)return null;if(t.type===o.Fragment&&t.props.children)return o.Children.map(t.props.children,F(e));if(i(t.props.path||t.props.default||t.type===P,`<Router>: Children of <Router> must have a \`path\` or \`default\` prop, or be a \`<Redirect>\`. None found on element type \`${t.type}\``),i(!!(t.type!==P||t.props.from&&t.props.to),`<Redirect from="${t.props.from}" to="${t.props.to}"/> requires both "from" and "to" props when inside a <Router>.`),i(!(t.type===P&&!j(t.props.from,t.props.to)),`<Redirect from="${t.props.from} to="${t.props.to}"/> has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),t.props.default)return{value:t,default:!0};const n=t.type===P?t.props.from:t.props.path,r="/"===n?e:`${B(e)}/${B(n)}`;return{value:t,default:t.props.default,path:t.props.children?`${B(r)}/*`:r}},W=["innerRef"],U=["to","state","replace","getProps"],q=["key"];let{forwardRef:G}=r||(r=n.t(o,2));void 0===G&&(G=e=>e);const J=()=>{},Q=G(((e,t)=>{let{innerRef:n}=e,r=c(e,W);const{baseuri:a}=y(),{location:i}=b(),{to:u,state:l,replace:p,getProps:d=J}=r,f=c(r,U),m=k(u,a),g=encodeURI(m),v=i.pathname===g,w=C(i.pathname,g);return o.createElement("a",s({ref:t||n,"aria-current":v?"page":void 0},f,d({isCurrent:v,isPartiallyCurrent:w,href:m,location:i}),{href:m,onClick:e=>{if(f.onClick&&f.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=p;if("boolean"!=typeof p&&v){const e=c(s({},i.state),q);t=H(s({},l),e)}h(m,{state:l,replace:t})}}}))}));Q.displayName="Link",Q.propTypes={to:a.string.isRequired};class z extends o.Component{constructor(...e){super(...e),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...e){this.setState({}),this.props.onError(...e)}render(){return this.props.children}}const V=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function Y({children:e}){const[t,n]=o.useState(),r=o.useRef(),a=o.useMemo((()=>({componentDidCatch:r,error:t,setError:n})),[t]);return o.createElement(V.Provider,{value:a},o.createElement(z,{error:t,onError:(e,t)=>{n(e),null==r.current||r.current(e,t)}},e))}Y.displayName="ReactUseErrorBoundaryContext";const K=function(e){var t,n;function r(t){return o.createElement(Y,null,o.createElement(e,s({key:"WrappedComponent"},t)))}return r.displayName=`WithErrorBoundary(${null!=(t=null!=(n=e.displayName)?n:e.name)?t:"Component"})`,r}((({history:e=f,children:t})=>{const{location:n}=e,[r,a]=o.useState({location:n}),[i]=function(){const e=o.useContext(V);e.componentDidCatch.current=void 0;const t=o.useCallback((()=>{e.setError(void 0)}),[]);return[e.error,t]}();if(o.useEffect((()=>{e._onTransitionComplete()}),[r.location]),o.useEffect((()=>{let t=!1;const n=e.listen((({location:e})=>{Promise.resolve().then((()=>{requestAnimationFrame((()=>{t||a({location:e})}))}))}));return()=>{t=!0,n()}}),[]),i){if(!S(i))throw i;h(i.uri,{replace:!0})}return o.createElement(v.Provider,{value:r},"function"==typeof t?t(r):t||null)})),X=({children:e})=>{const t=b();return t?e(t):o.createElement(K,null,e)},Z=({url:e,children:t})=>{const n=e.indexOf("?");let r,a="";return n>-1?(r=e.substring(0,n),a=e.substring(n)):r=e,o.createElement(v.Provider,{value:{location:{pathname:r,search:a,hash:""}}},t)},ee=({path:e,children:t})=>{const{baseuri:n}=y(),{location:r}=b(),o=k(e,n),a=x(o,r.pathname);return t({location:r,match:a?s({},a.params,{uri:a.uri,path:e}):null})},te=["uri","location","component"],ne=["children","style","component","uri","location"],re=e=>{let{uri:t,location:n,component:r}=e,a=c(e,te);return o.createElement(ae,s({},a,{component:r,uri:t,location:n}))};let oe=0;const ae=e=>{let{children:t,style:n,component:r="div",uri:a,location:i}=e,u=c(e,ne);const l=o.useRef(),p=o.useRef(!0),d=o.useRef(a),f=o.useRef(i.pathname),h=o.useRef(!1);o.useEffect((()=>(oe++,m(),()=>{oe--,0===oe&&(p.current=!0)})),[]),o.useEffect((()=>{let e=!1,t=!1;a!==d.current&&(d.current=a,e=!0),i.pathname!==f.current&&(f.current=i.pathname,t=!0),h.current=e||t&&i.pathname===a,h.current&&m()}),[a,i]);const m=o.useCallback((()=>{var e;p.current?p.current=!1:(e=l.current,h.current&&e&&e.focus())}),[]);return o.createElement(r,s({style:s({outline:"none"},n),tabIndex:"-1",ref:l},u),t)},ie=["location","primary","children","basepath","baseuri","component"],se=e=>{const t=y(),n=b();return o.createElement(ce,s({},t,n,e))};function ce(e){const{location:t,primary:n=!0,children:r,basepath:a,component:i="div"}=e,u=c(e,ie),l=o.Children.toArray(r).reduce(((e,t)=>{const n=F(a)(t);return e.concat(n)}),[]),{pathname:p}=t,d=R(l,p);if(d){const{params:e,uri:r,route:c,route:{value:l}}=d,p=c.default?a:c.path.replace(/\*$/,""),f=s({},e,{uri:r,location:t}),h=o.cloneElement(l,f,l.props.children?o.createElement(se,{location:t,primary:n},l.props.children):void 0),m=n?re:i,v=n?s({uri:r,location:t,component:i},u):u;return o.createElement(g.Provider,{value:{baseuri:r,basepath:p}},o.createElement(m,v,h))}return null}const ue=()=>{const e=b();if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},le=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},pe=()=>{const e=y();if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const t=ue(),n=x(e.basepath,t.pathname);return n?n.params:null},de=e=>{if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");const t=y();if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const n=ue(),r=k(e,t.baseuri),o=x(r,n.pathname);return o?s({},o.params,{uri:o.uri,path:e}):null}},7078:function(e,t,n){"use strict";n.d(t,{Fe:function(){return f},N_:function(){return _},Rr:function(){return c},Zf:function(){return y},oo:function(){return E}});var r=n(5556),o=n(6540),a=n(6462),i=n(6395);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e){let t=e||"/",n="",r="";const o=t.indexOf("#");-1!==o&&(r=t.slice(o),t=t.slice(0,o));const a=t.indexOf("?");return-1!==a&&(n=t.slice(a),t=t.slice(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}const u=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{if("string"==typeof e)return!(e=>u.test(e))(e)},p=()=>"",d=()=>"";function f(e,t=p()){var n;if(!l(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const r=null!=(n=null!=t?t:d())?n:"/";return`${null!=r&&r.endsWith("/")?r.slice(0,-1):r}${e.startsWith("/")?e:`/${e}`}`}const h=e=>null==e?void 0:e.startsWith("/");function m(e,t){const{pathname:n,search:r,hash:o}=c(e);return`${(0,i.T)(n,t)}${r}${o}`}const g=(e,t)=>"number"==typeof e?e:l(e)?h(e)?function(e){const t=f(e),n="always";return m(t,n)}(e):function(e,t){if(h(e))return e;const n="always",r=(0,a.resolve)(e,t);return m(r,n)}(e,t):e,v=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function y(e){return f(e,d())}const b={activeClassName:r.string,activeStyle:r.object,partiallyActive:r.bool};function w(e){return o.createElement(a.Location,null,(({location:t})=>o.createElement(S,s({},e,{_location:t}))))}class S extends o.Component{constructor(e){super(e),this.defaultGetProps=({isPartiallyCurrent:e,isCurrent:t})=>(this.props.partiallyActive?e:t)?{className:[this.props.className,this.props.activeClassName].filter(Boolean).join(" "),style:s({},this.props.style,this.props.activeStyle)}:null;let t=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(t=!0),this.state={IOSupported:t},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);const t=c(g(this.props.to,e)),n=t.pathname+t.search;if(e!==n)return ___loader.enqueue(n)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const n=new window.IntersectionObserver((n=>{n.forEach((n=>{e===n.target&&t(n.isIntersecting||n.intersectionRatio>0)}))}));return n.observe(e),{instance:n,el:e}})(e,(e=>{e?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))}render(){const e=this.props,{to:t,getProps:n=this.defaultGetProps,onClick:r,onMouseEnter:i,state:u,replace:p,_location:d}=e,f=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}(e,v),h=g(t,d.pathname);return l(h)?o.createElement(a.Link,s({to:h,state:u,getProps:n,innerRef:this.handleRef,onMouseEnter:e=>{i&&i(e);const t=c(h);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(r&&r(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=p;const n=encodeURI(h)===d.pathname;"boolean"!=typeof p&&n&&(t=!0),window.___navigate(h,{state:u,replace:t})}return!0}},f)):o.createElement("a",s({href:h},f))}}S.propTypes=s({},b,{onClick:r.func,to:r.string.isRequired,replace:r.bool,state:r.object});const _=o.forwardRef(((e,t)=>o.createElement(w,s({innerRef:t},e)))),E=(e,t)=>{window.___navigate(g(e,window.location.pathname),t)}},5535:function(e,t,n){"use strict";n.r(t),n.d(t,{Script:function(){return h},ScriptStrategy:function(){return u},collectedScriptsByPage:function(){return s},scriptCache:function(){return d},scriptCallbackCache:function(){return f}});var r=n(6540),o=n(6462);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}const i=new Map,s={get:e=>i.get(e)||[],set(e,t){const n=i.get(e)||[];n.push(t),i.set(e,n)},delete(e){i.delete(e)}},c="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){const t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};var u,l;(l=u||(u={})).postHydrate="post-hydrate",l.idle="idle",l.offMainThread="off-main-thread";const p=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),d=new Set,f=new Map;function h(e){return r.createElement(o.Location,null,(()=>r.createElement(m,e)))}function m(e){const{src:t,strategy:n=u.postHydrate}=e||{},{pathname:i}=(0,o.useLocation)();if((0,r.useEffect)((()=>{let t;switch(n){case u.postHydrate:t=g(e);break;case u.idle:c((()=>{t=g(e)}));break;case u.offMainThread:{const t=y(e);s.set(i,t)}}return()=>{const{script:e,loadCallback:n,errorCallback:r}=t||{};n&&(null==e||e.removeEventListener("load",n)),r&&(null==e||e.removeEventListener("error",r)),null==e||e.remove()}}),[]),n===u.offMainThread){const o=v(e),c=y(e);return"undefined"==typeof window&&s.set(i,c),r.createElement("script",o?a({type:"text/partytown","data-strategy":n,crossOrigin:"anonymous"},c,{dangerouslySetInnerHTML:{__html:v(e)}}):a({type:"text/partytown",src:b(t),"data-strategy":n,crossOrigin:"anonymous"},c))}return null}function g(e){const{id:t,src:n,strategy:r=u.postHydrate,onLoad:o,onError:i}=e||{},s=t||n,c=["load","error"],l={load:o,error:i};if(s){for(const e of c)if(null!=l&&l[e]){var p;const t=f.get(s)||{},{callbacks:n=[]}=(null==t?void 0:t[e])||{};var h,m;n.push(null==l?void 0:l[e]),null!=t&&null!=(p=t[e])&&p.event?null==l||null==(h=l[e])||h.call(l,null==t||null==(m=t[e])?void 0:m.event):f.set(s,a({},t,{[e]:{callbacks:n}}))}if(d.has(s))return null}const g=v(e),b=y(e),S=document.createElement("script");t&&(S.id=t),S.dataset.strategy=r;for(const[a,u]of Object.entries(b))S.setAttribute(a,u);g&&(S.textContent=g),n&&(S.src=n);const _={};if(s){for(const e of c){const t=t=>w(t,s,e);S.addEventListener(e,t),_[`${e}Callback`]=t}d.add(s)}return document.body.appendChild(S),{script:S,loadCallback:_.loadCallback,errorCallback:_.errorCallback}}function v(e){const{dangerouslySetInnerHTML:t,children:n=""}=e||{},{__html:r=""}=t||{};return r||n}function y(e){const t={};for(const[n,r]of Object.entries(e))p.has(n)||(t[n]=r);return t}function b(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function w(e,t,n){const r=f.get(t)||{};for(const a of(null==r||null==(o=r[n])?void 0:o.callbacks)||[]){var o;a(e)}f.set(t,{[n]:{event:e}})}}},function(e){e.O(0,[593],(function(){return t=6498,e(e.s=t);var t}));e.O()}]);
//# sourceMappingURL=app-c929eea90f142fc8947c.js.map