(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{KQrV:function(e){e.exports=JSON.parse('{"data":{"allContentfulEscapeGame":{"nodes":[{"id":"165a4bcb-dcad-5afd-8aeb-adc5c6cbbe59","image":{"id":"dc37bbcf-c240-5c92-bca3-b9d481bb219b","localFile":{"id":"1b64e4d8-25a9-5aeb-9e28-59eeefaae993","childImageSharp":{"id":"12740b28-d643-5a78-be17-aa39dbf1f277","fluid":{"base64":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAIAAADwazoUAAAACXBIWXMAAAsSAAALEgHS3X78AAACqklEQVQozwGfAmD9AAAVXgAdcAAlgwAwlgA+pABGpgBFpQ5YpziBrBVbqE+MrxpoqBBlpi2IqwBJoypmpi1nmpCkt+r5z0RUfQATP2sSRn4jYJUjbqkObqwNdK0FZ64cfbIlhLQ1ibNGk7UPZ68Wa7AQaKwCXahmpbN0rK9QfKhadZ4YL24ACUhxDFuHW52jc7e0YK20IZWwNKHBeb7TfcHYMp3AZrjSbbzTn83fM5S+AG6pCG+rBGCnAEOSADB8IEVvAAhPeC97jnaxsF66x4PLwXXJwmjHyLHb0r/h1ozSyH7Sz3bKypDQznvFxWO2vC+juTaiwyB+qyVuiihidQAod385lJZmrbCxxMhyl6Bwj5dhjpNMeINTbXx3j5Vaf4taeIU5XW5EbXpbdYVqi5ywzdNyt70pgI8XYHkALH2AJnJ+BSxQHzhbcoGUdoyVf4+bho+gP1Fsd4iXfYqah5ClfIWccIGSbn+Sb3qUIDRdK1VvKmZ3FU1kAAweUggWQgAROREeT1ZigFlxgFJkfVdngTdOZ1tsf2x4jlxmhltnh1JlgFVggk9YfBQiTwAHNgEQOAAJQwAABU4BCkAFGTwDHUMDFEMKHkYAETwvQ2F9jJuAkJWFkJN9hJguOWUaKE0UHlAAC0IDE0MBDjsADjUADDYAARVWAQ9IAAU0Ago/BhFFBAtEBQ9EDxpJHipSKDlXKDJVKzJYERhMKjFWECFLBxhHBRNDAQ03AQ8yAA8wAAAOSgAJSwADQQACPwAAQAADQwABQwAAQQAAPwAAPgABQgAAQwAAQQABQQACQQACPwAEOQACMgADMwAFOwAABj4ABUQABEgABUgABEUAB0kABEUAA0IBBEQBBEEBC04BDE8ABEMBA0MBAkEAAz0AAjYAAjEABDUABDlDf9j/aw48WgAAAABJRU5ErkJggg==","aspectRatio":1.7777777777777777,"src":"/static/3ffdba9e7bfcaa7d74d0a6a64b9f9728/eeb1b/523CAB2F-BF93-4BC2-8A44-5380CAA30736_1_.png","srcSet":"/static/3ffdba9e7bfcaa7d74d0a6a64b9f9728/46604/523CAB2F-BF93-4BC2-8A44-5380CAA30736_1_.png 500w,\\n/static/3ffdba9e7bfcaa7d74d0a6a64b9f9728/31987/523CAB2F-BF93-4BC2-8A44-5380CAA30736_1_.png 1000w,\\n/static/3ffdba9e7bfcaa7d74d0a6a64b9f9728/eeb1b/523CAB2F-BF93-4BC2-8A44-5380CAA30736_1_.png 1920w","srcWebp":"/static/3ffdba9e7bfcaa7d74d0a6a64b9f9728/25f09/523CAB2F-BF93-4BC2-8A44-5380CAA30736_1_.webp","srcSetWebp":"/static/3ffdba9e7bfcaa7d74d0a6a64b9f9728/e9589/523CAB2F-BF93-4BC2-8A44-5380CAA30736_1_.webp 500w,\\n/static/3ffdba9e7bfcaa7d74d0a6a64b9f9728/e30b5/523CAB2F-BF93-4BC2-8A44-5380CAA30736_1_.webp 1000w,\\n/static/3ffdba9e7bfcaa7d74d0a6a64b9f9728/25f09/523CAB2F-BF93-4BC2-8A44-5380CAA30736_1_.webp 1920w","sizes":"(max-width: 1920px) 100vw, 1920px"}},"name":"523CAB2F-BF93-4BC2-8A44-5380CAA30736_1_"}}}]}}}')},O6pG:function(e,a,A){"use strict";A.r(a);var t=A("q1tI"),c=A.n(t),n=A("83Zx"),d=A("JRPe"),i=(A("f3/d"),A("pIFo"),A("KQrV")),l=A("Wbzz"),b=A("9eSz"),r=A.n(b),f=function(){return c.a.createElement(l.StaticQuery,{query:"1959979565",render:function(e){return c.a.createElement(r.a,{fluid:e.allContentfulEscapeGame.nodes[0].image.localFile.childImageSharp.fluid,alt:e.allContentfulEscapeGame.nodes[0].image.localFile.name.replace(/-/g," ").substring(2),className:"escapePicture"})},data:i})},s=function(){var e=Object(t.useState)(0),a=e[0],A=e[1],n=Object(t.useRef)(null),i=Object(t.useRef)(null);return Object(t.useEffect)((function(){A(n.current.clientHeight),window.addEventListener("resize",(function(){A(n.current&&n.current.clientHeight)}));var e,a,t,c,d=document.createElement("div");d.id="vello-wizard",i.current.appendChild(d),e=document,a="vello-wizard-sdk",c=d,e.getElementById(a)||((t=e.createElement("script")).id=a,t.async=1,t.setAttribute("data-c","kotasaari"),t.src="https://static.vello.fi/js/wizard/vwiz.js",c.parentNode.insertBefore(t,c))}),[]),c.a.createElement("section",{className:"section has-text-grey-dark",style:{top:0}},c.a.createElement("div",{className:"escapeContainer",style:{height:a-75+"px"}},c.a.createElement("div",{className:"escapeGame",ref:n},c.a.createElement(f,null))),c.a.createElement("div",{className:"container",ref:i},c.a.createElement("p",{className:"mt-15"},c.a.createElement(d.a,{id:"EscapeGame_Main"}))))};a.default=Object(n.a)({localeKey:"EscapeGame"})((function(){return c.a.createElement(c.a.Fragment,null,c.a.createElement(s,null))}))}}]);
//# sourceMappingURL=component---src-pages-pakopeli-jsx-1d5798c0b8861abbab32.js.map