(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"1Pcy":function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},"1T57":function(e,t,n){"use strict";t.__esModule=!0,t.useScrollRestoration=t.ScrollContainer=t.ScrollContext=void 0;var r=n("B8dz");t.ScrollContext=r.ScrollHandler;var o=n("ieLl");t.ScrollContainer=o.ScrollContainer;var a=n("Ebtn");t.useScrollRestoration=a.useScrollRestoration},"50Kn":function(e,t,n){"use strict";n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},s=c.state,l=c.replace,p=void 0!==l&&l;if("number"==typeof t)e.history.go(t);else{s=r({},s,{key:Date.now()+""});try{i||p?e.history.replaceState(s,null,t):e.history.pushState(s,null,t)}catch(d){e.location[p?"replace":"assign"](t)}}a=o(e),i=!0;var f=new Promise((function(e){return u=e}));return n.forEach((function(e){return e({location:a,action:"PUSH"})})),f}}},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(e,t,n){var i=n.split("?"),u=i[0],c=i[1],s=void 0===c?"":c;r++,o.push({pathname:u,search:s.length?"?"+s:s}),a.push(e)},replaceState:function(e,t,n){var i=n.split("?"),u=i[0],c=i[1],s=void 0===c?"":c;o[r]={pathname:u,search:s},a[r]=e},go:function(e){var t=r+e;t<0||t>a.length-1||(r=t)}}}},u=!("undefined"==typeof window||!window.document||!window.document.createElement),c=a(u?window:i()),s=c.navigate},"5yr3":function(e,t,n){"use strict";var r=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map((function(e){e(n)})),(e["*"]||[]).slice().map((function(e){e(t,n)}))}}}();t.a=r},"6RQ8":function(e,t,n){"use strict";var r=n("IGGJ");n("Wbzz"),r(n("FSMn"))},"6qGY":function(e,t){e.exports=Object.assign},"7kqo":function(e,t,n){"use strict";n.r(t),n.d(t,"startsWith",(function(){return a})),n.d(t,"pick",(function(){return i})),n.d(t,"match",(function(){return u})),n.d(t,"resolve",(function(){return c})),n.d(t,"insertParams",(function(){return s})),n.d(t,"validateRedirect",(function(){return l})),n.d(t,"shallowCompare",(function(){return b}));var r=n("I9iR"),o=n.n(r),a=function(e,t){return e.substr(0,t.length)===t},i=function(e,t){for(var n=void 0,r=void 0,a=t.split("?")[0],i=v(a),u=""===i[0],c=m(e),s=0,l=c.length;st.score?-1:e.index-t.index}))},v=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},g=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0})))&&n.length>0?"?"+n.join("&"):"")},y=["uri","path"],b=function(e,t){var n=Object.keys(e);return n.length===Object.keys(t).length&&n.every((function(n){return t.hasOwnProperty(n)&&e[n]===t[n]}))}},"94VI":function(e,t){t.polyfill=function(e){return e}},"97Jx":function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}},LeKB:function(e,t,n){e.exports=[{plugin:n("6RQ8"),options:{plugins:[],name:"dpc headless portal",short_name:"dpc-portale",start_url:"/",background_color:"#663399",theme_color:"#663399",display:"minimal-ui",icon:"src/images/favicon-16x16.png",cache_busting_mode:"query",include_favicon:!0,legacy:!0,theme_color_in_head:!0,cacheDigest:"3a2079582ecb37a073f7d88d2de342b5"}},{plugin:n("GddB"),options:{plugins:[]}}]},NSX3:function(e,t,n){"use strict";n.r(t);var r=n("xtsi");"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then((function(e){e.addEventListener("updatefound",(function(){Object(r.apiRunner)("onServiceWorkerUpdateFound",{serviceWorker:e});var t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(function(){switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,Object(r.apiRunner)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),Object(r.apiRunner)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),Object(r.apiRunner)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":Object(r.apiRunner)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},"O+tk":function(e,t,n){"use strict";var r=n("IGGJ");t.__esModule=!0,t.withPrefix=h,t.withAssetPrefix=function(e){return h(e,m())},t.navigateTo=t.replace=t.push=t.navigate=t.default=void 0;var o=r(n("LdEA")),a=r(n("97Jx")),i=r(n("1Pcy")),u=r(n("W/Kd")),c=r(n("aWzz")),s=r(n("ERkP")),l=n("tYqs"),p=n("7kqo"),f=n("RYsc");t.parsePath=f.parsePath;var d=function(e){return null==e?void 0:e.startsWith("/")};function h(e,t){var n,r;if(void 0===t&&(t=v()),!g(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;var o=null!==(n=null!==(r=t)&&void 0!==r?r:m())&&void 0!==n?n:"/";return""+((null==o?void 0:o.endsWith("/"))?o.slice(0,-1):o)+(e.startsWith("/")?e:"/"+e)}var m=function(){return""},v=function(){return""},g=function(e){return e&&!e.startsWith("http://")&&!e.startsWith("https://")&&!e.startsWith("//")};var y=function(e,t){return"number"==typeof e?e:g(e)?d(e)?h(e):function(e,t){return d(e)?e:(0,p.resolve)(e,t)}(e,t):e},b={activeClassName:c.default.string,activeStyle:c.default.object,partiallyActive:c.default.bool},w=function(e){function t(t){var n;(n=e.call(this,t)||this).defaultGetProps=function(e){var t=e.isPartiallyCurrent,r=e.isCurrent;return(n.props.partiallyActive?t:r)?{className:[n.props.className,n.props.activeClassName].filter(Boolean).join(" "),style:(0,a.default)({},n.props.style,n.props.activeStyle)}:null};var r=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&(r=!0),n.state={IOSupported:r},n.handleRef=n.handleRef.bind((0,i.default)(n)),n}(0,u.default)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){this.props.to===e.to||this.state.IOSupported||___loader.enqueue((0,f.parsePath)(y(this.props.to,window.location.pathname)).pathname)},n.componentDidMount=function(){this.state.IOSupported||___loader.enqueue((0,f.parsePath)(y(this.props.to,window.location.pathname)).pathname)},n.componentWillUnmount=function(){if(this.io){var e=this.io,t=e.instance,n=e.el;t.unobserve(n),t.disconnect()}},n.handleRef=function(e){var t,n,r,o=this;this.props.innerRef&&this.props.innerRef.hasOwnProperty("current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=(t=e,n=function(){___loader.enqueue((0,f.parsePath)(y(o.props.to,window.location.pathname)).pathname)},(r=new window.IntersectionObserver((function(e){e.forEach((function(e){t===e.target&&(e.isIntersecting||e.intersectionRatio>0)&&(r.unobserve(t),r.disconnect(),n())}))}))).observe(t),{instance:r,el:t}))},n.render=function(){var e=this,t=this.props,n=t.to,r=t.getProps,i=void 0===r?this.defaultGetProps:r,u=t.onClick,c=t.onMouseEnter,p=(t.activeClassName,t.activeStyle,t.innerRef,t.partiallyActive,t.state),d=t.replace,h=(0,o.default)(t,["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace"]);return s.default.createElement(l.Location,null,(function(t){var r=t.location,o=y(n,r.pathname);return g(o)?s.default.createElement(l.Link,(0,a.default)({to:o,state:p,getProps:i,innerRef:e.handleRef,onMouseEnter:function(e){c&&c(e),___loader.hovering((0,f.parsePath)(o).pathname)},onClick:function(t){if(u&&u(t),!(0!==t.button||e.props.target||t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)){t.preventDefault();var n=d,r=encodeURI(o)===window.location.pathname;"boolean"!=typeof d&&r&&(n=!0),window.___navigate(o,{state:p,replace:n})}return!0}},h)):s.default.createElement("a",(0,a.default)({href:o},h))}))},t}(s.default.Component);w.propTypes=(0,a.default)({},b,{onClick:c.default.func,to:c.default.string.isRequired,replace:c.default.bool,state:c.default.object});var P=function(e,t,n){return console.warn('The "'+e+'" method is now deprecated and will be removed in Gatsby v'+n+'. Please use "'+t+'" instead.')},R=s.default.forwardRef((function(e,t){return s.default.createElement(w,(0,a.default)({innerRef:t},e))}));t.default=R;t.navigate=function(e,t){window.___navigate(y(e,window.location.pathname),t)};var S=function(e){P("push","navigate",3),window.___push(y(e,window.location.pathname))};t.push=S;t.replace=function(e){P("replace","navigate",3),window.___replace(y(e,window.location.pathname))};t.navigateTo=function(e){return P("navigateTo","navigate",3),S(e)}},RYsc:function(e,t,n){"use strict";t.__esModule=!0,t.parsePath=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");-1!==a&&(n=t.substr(a),t=t.substr(0,a));return{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}},T0aG:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},UxWs:function(e,t,n){"use strict";n.r(t);var r=n("BFfR"),o=n("xtsi"),a=n("ERkP"),i=n.n(a),u=n("7nmT"),c=n.n(u),s=n("tYqs"),l=n("1T57"),p=n("CT8p"),f=n.n(p),d=n("Wbzz"),h=n("emEt"),m=n("YLt+"),v=n("5yr3"),g={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"},y=n("50Kn"),b=n("O+tk"),w=m.reduce((function(e,t){return e[t.fromPath]=t,e}),{});function P(e){var t=w[e];return null!=t&&(window.___replace(t.toPath),!0)}var R=function(e,t){P(e.pathname)||Object(o.apiRunner)("onPreRouteUpdate",{location:e,prevLocation:t})},S=function(e,t){P(e.pathname)||Object(o.apiRunner)("onRouteUpdate",{location:e,prevLocation:t})},E=function(e,t){if(void 0===t&&(t={}),"number"!=typeof e){var n=Object(b.parsePath)(e).pathname,r=w[n];if(r&&(e=r.toPath,n=Object(b.parsePath)(e).pathname),window.___swUpdated)window.location=n;else{var a=setTimeout((function(){v.a.emit("onDelayedLoadPageResources",{pathname:n}),Object(o.apiRunner)("onRouteUpdateDelayed",{location:window.location})}),1e3);h.default.loadPage(n).then((function(r){if(!r||r.status===h.PageResourceStatus.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(a);r&&r.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),console.log("Site has changed on server. Reloading browser"),window.location=n),Object(s.navigate)(e,t),clearTimeout(a)}))}}else y.c.navigate(e)};function O(e,t){var n=this,r=t.location,a=r.pathname,i=r.hash,u=Object(o.apiRunner)("shouldUpdateScroll",{prevRouterProps:e,pathname:a,routerProps:{location:r},getSavedScrollPosition:function(e){return n._stateStorage.read(e)}});if(u.length>0)return u[u.length-1];if(e&&e.location.pathname===a)return i?decodeURI(i.slice(1)):[0,0];return!0}var _=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=i.a.createRef(),n}Object(r.a)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){var n=this;requestAnimationFrame((function(){var e="new page at "+n.props.location.pathname;document.title&&(e=document.title);var t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);var r="Navigated to "+e;n.announcementRef.current&&(n.announcementRef.current.innerText!==r&&(n.announcementRef.current.innerText=r))}))},n.render=function(){return i.a.createElement("div",Object.assign({},g,{ref:this.announcementRef}))},t}(i.a.Component),j=function(e){function t(t){var n;return n=e.call(this,t)||this,R(t.location,null),n}Object(r.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){S(this.props.location,null)},n.componentDidUpdate=function(e,t,n){n&&S(this.props.location,e.location)},n.getSnapshotBeforeUpdate=function(e){return this.props.location.pathname!==e.location.pathname&&(R(this.props.location,e.location),!0)},n.render=function(){return i.a.createElement(i.a.Fragment,null,this.props.children,i.a.createElement(_,{location:location}))},t}(i.a.Component),C=n("IOVJ"),x=n("WM4P"),k=n.n(x);function L(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}var D=function(e){function t(t){var n;n=e.call(this)||this;var r=t.location,o=t.pageResources;return n.state={location:Object.assign({},r),pageResources:o||h.default.loadPageSync(r.pathname)},n}Object(r.a)(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.location;return t.location.href!==n.href?{pageResources:h.default.loadPageSync(n.pathname),location:Object.assign({},n)}:{location:Object.assign({},n)}};var n=t.prototype;return n.loadResources=function(e){var t=this;h.default.loadPage(e).then((function(n){n&&n.status!==h.PageResourceStatus.Error?t.setState({location:Object.assign({},window.location),pageResources:n}):(window.history.replaceState({},"",location.href),window.location=e)}))},n.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,n){return L(e.props,t)||L(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname),!1)},n.render=function(){return this.props.children(this.state)},t}(i.a.Component),T=n("cSJ8"),W=n("Vd8h"),U=new h.ProdLoader(k.a,W);Object(h.setLoader)(U),U.setApiRunner(o.apiRunner),window.asyncRequires=k.a,window.___emitter=v.a,window.___loader=h.publicLoader,y.c.listen((function(e){e.location.action=e.action})),window.___push=function(e){return E(e,{replace:!1})},window.___replace=function(e){return E(e,{replace:!0})},window.___navigate=function(e,t){return E(e,t)},P(window.location.pathname),Object(o.apiRunnerAsync)("onClientEntry").then((function(){Object(o.apiRunner)("registerServiceWorker").length>0&&n("NSX3");var e=function(e){return i.a.createElement(s.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},i.a.createElement(C.a,e))},t=i.a.createContext({}),a=function(e){function n(){return e.apply(this,arguments)||this}return Object(r.a)(n,e),n.prototype.render=function(){var e=this.props.children;return i.a.createElement(s.Location,null,(function(n){var r=n.location;return i.a.createElement(D,{location:r},(function(n){var r=n.pageResources,o=n.location;return i.a.createElement(d.StaticQueryContext.Provider,{value:r.staticQueryResults},i.a.createElement(t.Provider,{value:{pageResources:r,location:o}},e))}))}))},n}(i.a.Component),u=function(n){function o(){return n.apply(this,arguments)||this}return Object(r.a)(o,n),o.prototype.render=function(){var n=this;return i.a.createElement(t.Consumer,null,(function(t){var r=t.pageResources,o=t.location;return i.a.createElement(j,{location:o},i.a.createElement(l.ScrollContext,{location:o,shouldUpdateScroll:O},i.a.createElement(s.Router,{basepath:"",location:o,id:"gatsby-focus-wrapper"},i.a.createElement(e,Object.assign({path:"/404.html"===r.page.path?Object(T.a)(o.pathname,""):encodeURI(r.page.matchPath||r.page.path)},n.props,{location:o,pageResources:r},r.json)))))}))},o}(i.a.Component),p=window,m=p.pagePath,v=p.location;m&&""+m!==v.pathname&&!(U.findMatchPath(Object(T.a)(v.pathname,""))||"/404.html"===m||m.match(/^\/404\/?$/)||m.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&Object(s.navigate)(""+m+v.search+v.hash,{replace:!0}),h.publicLoader.loadPage(v.pathname).then((function(e){if(!e||e.status===h.PageResourceStatus.Error)throw new Error("page resources for "+v.pathname+" not found. Not rendering React");window.___webpackCompilationHash=e.page.webpackCompilationHash;var t=Object(o.apiRunner)("wrapRootElement",{element:i.a.createElement(u,null)},i.a.createElement(u,null),(function(e){return{element:e.result}})).pop(),n=function(){return i.a.createElement(a,null,t)},r=Object(o.apiRunner)("replaceHydrateFunction",void 0,c.a.hydrate)[0];f()((function(){r(i.a.createElement(n,null),"undefined"!=typeof window?document.getElementById("___gatsby"):void 0,(function(){Object(o.apiRunner)("onInitialClientRender")}))}))}))}))},Vd8h:function(e){e.exports=JSON.parse("[]")},"W/Kd":function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},WM4P:function(e,t,n){t.components={"component---src-pages-404-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(6)]).then(n.bind(null,"pssB"))},"component---src-pages-index-en-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(7)]).then(n.bind(null,"g4yP"))},"component---src-pages-index-it-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(2),n.e(8)]).then(n.bind(null,"8b7y"))},"component---src-pages-risultati-ricerca-en-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(2),n.e(9)]).then(n.bind(null,"3bD/"))},"component---src-pages-risultati-ricerca-it-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(2),n.e(10)]).then(n.bind(null,"LNX9"))},"component---src-pages-sitemap-en-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(11)]).then(n.bind(null,"g6Fq"))},"component---src-pages-sitemap-it-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(12)]).then(n.bind(null,"f76n"))},"component---src-templates-audiobook-template-it-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(2),n.e(3),n.e(13)]).then(n.bind(null,"EhsG"))},"component---src-templates-pagina-foglia-completa-template-en-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(14)]).then(n.bind(null,"aslI"))},"component---src-templates-pagina-foglia-completa-template-it-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(15)]).then(n.bind(null,"1yDx"))},"component---src-templates-podcast-template-en-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(2),n.e(3),n.e(16)]).then(n.bind(null,"W1o0"))},"component---src-templates-podcast-template-it-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(2),n.e(3),n.e(17)]).then(n.bind(null,"jhKc"))},"component---src-templates-pubblicazione-template-en-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(2),n.e(3),n.e(18)]).then(n.bind(null,"2L6N"))},"component---src-templates-pubblicazione-template-it-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(2),n.e(19)]).then(n.bind(null,"tcPx"))},"component---src-templates-sezione-con-anticipazioni-template-en-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(20)]).then(n.bind(null,"iYoT"))},"component---src-templates-sezione-con-anticipazioni-template-it-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(21)]).then(n.bind(null,"Z8mU"))},"component---src-templates-webinar-template-en-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(2),n.e(22)]).then(n.bind(null,"4K70"))},"component---src-templates-webinar-template-it-jsx":function(){return Promise.all([n.e(1),n.e(0),n.e(2),n.e(23)]).then(n.bind(null,"JEyG"))}}},Wbzz:function(e,t,n){"use strict";n.r(t),n.d(t,"graphql",(function(){return m})),n.d(t,"StaticQueryContext",(function(){return p})),n.d(t,"StaticQuery",(function(){return d})),n.d(t,"useStaticQuery",(function(){return h})),n.d(t,"prefetchPathname",(function(){return l}));var r=n("ERkP"),o=n.n(r),a=n("O+tk"),i=n.n(a);n.d(t,"Link",(function(){return i.a})),n.d(t,"withAssetPrefix",(function(){return a.withAssetPrefix})),n.d(t,"withPrefix",(function(){return a.withPrefix})),n.d(t,"parsePath",(function(){return a.parsePath})),n.d(t,"navigate",(function(){return a.navigate})),n.d(t,"push",(function(){return a.push})),n.d(t,"replace",(function(){return a.replace})),n.d(t,"navigateTo",(function(){return a.navigateTo}));var u=n("1T57");n.d(t,"useScrollRestoration",(function(){return u.useScrollRestoration}));var c=n("lw3w"),s=n.n(c);n.d(t,"PageRenderer",(function(){return s.a}));var l=n("emEt").default.enqueue,p=o.a.createContext({});function f(e){var t=e.staticQueryData,n=e.data,r=e.query,a=e.render,i=n?n.data:t[r]&&t[r].data;return o.a.createElement(o.a.Fragment,null,i&&a(i),!i&&o.a.createElement("div",null,"Loading (StaticQuery)"))}var d=function(e){var t=e.data,n=e.query,r=e.render,a=e.children;return o.a.createElement(p.Consumer,null,(function(e){return o.a.createElement(f,{data:t,query:n,render:r||a,staticQueryData:e})}))},h=function(e){var t;o.a.useContext;var n=o.a.useContext(p);if(isNaN(Number(e)))throw new Error("useStaticQuery was called with a string but expects to be called using `graphql`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql`"+e+"`);\n");if(null==n||null===(t=n[e])||void 0===t?void 0:t.data)return n[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")};function m(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}},"YLt+":function(e){e.exports=JSON.parse("[]")},cSJ8:function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(t+"/")?e.slice(t.length):e:e}n.d(t,"a",(function(){return r}))},emEt:function(e,t,n){"use strict";n.r(t),n.d(t,"PageResourceStatus",(function(){return P})),n.d(t,"BaseLoader",(function(){return j})),n.d(t,"ProdLoader",(function(){return x})),n.d(t,"setLoader",(function(){return k})),n.d(t,"publicLoader",(function(){return L}));var r=n("BFfR"),o=n("fGyu"),a=function(e){if("undefined"==typeof document)return!1;var t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e,t){return new Promise((function(n,r){if("undefined"!=typeof document){var o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach((function(e){o.setAttribute(e,t[e])})),o.onload=n,o.onerror=r,(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}else r()}))}:function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){200===r.status?t():n()},r.send(null)}))},i={},u=function(e,t){return new Promise((function(n){i[e]?n():a(e,t).then((function(){n(),i[e]=!0})).catch((function(){}))}))},c=n("5yr3"),s=n("7kqo"),l=n("cSJ8"),p=function(e){return void 0===e?e:"/"===e?"/":"/"===e.charAt(e.length-1)?e.slice(0,-1):e};function f(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var g=function(e,t){var n=c()(t);return n.displayName=e,n},y=g("Location"),b=function(e){var t=e.children;return o.a.createElement(y.Consumer,null,(function(e){return e?t(e):o.a.createElement(w,null,t)}))},w=function(e){function t(){var n,r;h(this,t);for(var o=arguments.length,a=Array(o),i=0;i-1?(a=t.substring(0,r),i=t.substring(r)):a=t,o.a.createElement(y.Provider,{value:{location:{pathname:a,search:i,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},R=g("Base",{baseuri:"/",basepath:"/"}),S=function(e){return o.a.createElement(R.Consumer,null,(function(t){return o.a.createElement(b,null,(function(n){return o.a.createElement(E,f({},t,n,e))}))}))},E=function(e){function t(){return h(this,t),m(this,e.apply(this,arguments))}return v(t,e),t.prototype.render=function(){var e=this.props,t=e.location,n=e.navigate,r=e.basepath,a=e.primary,i=e.children,u=(e.baseuri,e.component),c=void 0===u?"div":u,s=d(e,["location","navigate","basepath","primary","children","baseuri","component"]),p=o.a.Children.toArray(i).reduce((function(e,t){var n=z(r)(t);return e.concat(n)}),[]),h=t.pathname,m=Object(l.pick)(p,h);if(m){var v=m.params,g=m.uri,y=m.route,b=m.route.value;r=y.default?r:y.path.replace(/\*$/,"");var w=f({},v,{uri:g,location:t,navigate:function(e,t){return n(Object(l.resolve)(e,g),t)}}),P=o.a.cloneElement(b,w,b.props.children?o.a.createElement(S,{location:t,primary:a},b.props.children):void 0),E=a?_:c,O=a?f({uri:g,location:t,component:c},s):s;return o.a.createElement(R.Provider,{value:{baseuri:g,basepath:r}},o.a.createElement(E,O,P))}return null},t}(o.a.PureComponent);E.defaultProps={primary:!0};var O=g("Focus"),_=function(e){var t=e.uri,n=e.location,r=e.component,a=d(e,["uri","location","component"]);return o.a.createElement(O.Consumer,null,(function(e){return o.a.createElement(x,f({},a,{component:r,requestFocus:e,uri:t,location:n}))}))},j=!0,C=0,x=function(e){function t(){var n,r;h(this,t);for(var o=arguments.length,a=Array(o),i=0;i0?l:n?[n]:[]},t.apiRunnerAsync=function(e,t,n){return r.reduce((function(n,r){return r.plugin[e]?n.then((function(){return r.plugin[e](t,r.options)})):n}),Promise.resolve())}},yWCo:function(e,t,n){var r=n("T0aG");function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}e.exports=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}},"z/7U":function(e,t,n){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var r=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var n=this.getStateKey(e,t);try{var r=window.sessionStorage.getItem(n);return r?JSON.parse(r):0}catch(o){return window&&window.___GATSBY_REACT_ROUTER_SCROLL&&window.___GATSBY_REACT_ROUTER_SCROLL[n]?window.___GATSBY_REACT_ROUTER_SCROLL[n]:0}},t.save=function(e,t,n){var r=this.getStateKey(e,t),o=JSON.stringify(n);try{window.sessionStorage.setItem(r,o)}catch(a){window&&window.___GATSBY_REACT_ROUTER_SCROLL||(window.___GATSBY_REACT_ROUTER_SCROLL={}),window.___GATSBY_REACT_ROUTER_SCROLL[r]=JSON.parse(o)}},t.getStateKey=function(e,t){var n="@@scroll|"+e.pathname;return null==t?n:n+"|"+t},e}();t.SessionStorage=r}},[["UxWs",4,24]]]); //# sourceMappingURL=app-5d94eb5ee15463659af9.js.map