text: (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+DnM":function(e,t,n){e.exports={content:"main-module--content--GGApi",main:"main-module--main--3-gk1",main2:"main-module--main2--3L1ts",sidebar:"main-module--sidebar--5ujV8"}},"7O3J":function(e){e.exports=JSON.parse('{"data":{"site":{"siteMetadata":{"title":"My site","description":"GatsbyJS.","author":"Thien Pham"}}}}')},"8+s/":function(e,t,n){"use strict";n("V+eJ"),n("bWfx"),n("f3/d"),n("hHhE"),n("HAE/");var r,a=n("q1tI"),i=(r=a)&&"object"==typeof r&&"default"in r?r.default:r;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,s=[];function u(){l=e(s.map((function(e){return e.props}))),d.canUseDOM?t(l):n&&(l=n(l))}var d=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.peek=function(){return l},a.rewind=function(){if(a.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,s=[],e};var o=a.prototype;return o.UNSAFE_componentWillMount=function(){s.push(this),u()},o.componentDidUpdate=function(){u()},o.componentWillUnmount=function(){var e=s.indexOf(this);s.splice(e,1),u()},o.render=function(){return i.createElement(r,this.props)},a}(a.PureComponent);return o(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),o(d,"canUseDOM",c),d}}},"8b0t":function(e,t,n){"use strict";var r=n("q1tI"),a=n.n(r),i=n("Wbzz"),o=n("LMig"),c=n.n(o),l=n("IBL7"),s=n.n(l),u=function(){return a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:c.a.sidebar},a.a.createElement("div",{className:c.a.sidebar__head},a.a.createElement("p",null,"Pages")),a.a.createElement("div",{className:c.a.sidebar__body},a.a.createElement("ul",{className:c.a.sidebar__list},a.a.createElement("li",null,a.a.createElement(i.Link,{to:"/"},"Home")),a.a.createElement("li",null,a.a.createElement(i.Link,{to:"/about/"},"About")),a.a.createElement("li",null,a.a.createElement(i.Link,{to:"/contact/"},"Contact"))))),a.a.createElement("div",{className:c.a.sidebar},a.a.createElement("div",{className:c.a.sidebar__head},a.a.createElement("p",null,"Banner")),a.a.createElement("div",{className:c.a.sidebar__body},a.a.createElement("ul",{className:c.a.sidebar__banner},a.a.createElement("li",null,a.a.createElement("a",{href:"https://www.google.com/",target:"_blank"},a.a.createElement("img",{src:s.a,alt:"200x100",width:"200",height:"100"}))),a.a.createElement("li",null,a.a.createElement("a",{href:"https://www.google.com/",target:"_blank"},a.a.createElement("img",{src:s.a,alt:"200x100",width:"200",height:"100"})))))))},d=n("+DnM"),f=n.n(d),m=function(e){var t=e.page,n=e.children;return a.a.createElement(a.a.Fragment,null,"default"===t&&a.a.createElement("div",{className:f.a.content},a.a.createElement("main",{className:f.a.main},n),a.a.createElement("aside",{className:f.a.sidebar},a.a.createElement(u,null))),"contact"===t&&a.a.createElement("main",{className:f.a.main2},n))};m.defaultProps={page:"default"};t.a=m},"9frD":function(e,t,n){},A5mV:function(e,t,n){e.exports={footer__inner:"footer-module--footer__inner--ikJjx",footer__navi:"footer-module--footer__navi--3QdoK",footer__copy:"footer-module--footer__copy--2p13B"}},"HAE/":function(e,t,n){var r=n("XKFU");r(r.S+r.F*!n("nh4g"),"Object",{defineProperty:n("hswa").f})},"I/Ru":function(e,t,n){"use strict";var r=n("ixUY"),a=n("q1tI"),i=n.n(a),o=n("Wbzz"),c=n("Wmhb"),l=n.n(c),s=n("T30q"),u=n.n(s);var d=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).menuOpen=function(){return t.setState({isActive:!t.state.isActive})},t.state={isActive:!1},t}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){return i.a.createElement("header",{className:l.a.header},i.a.createElement("div",{className:l.a.header__fixed},i.a.createElement("div",{className:l.a.header__inner},i.a.createElement("h1",{className:l.a.header__logo},i.a.createElement(o.Link,{to:"/"},i.a.createElement("img",{src:u.a,alt:this.props.siteTitle,width:"150",height:"50"}))),i.a.createElement("nav",{className:l.a.header__navi+(this.state.isActive?" "+l.a.isActive:"")},i.a.createElement("ul",null,i.a.createElement("li",null,i.a.createElement(o.Link,{to:"/",activeClassName:l.a.active},"Home")),i.a.createElement("li",null,i.a.createElement(o.Link,{to:"/about/",activeClassName:l.a.active},"About")),i.a.createElement("li",null,i.a.createElement(o.Link,{to:"/contact/",activeClassName:l.a.active},"Contact")))),i.a.createElement("div",{className:l.a.header__icon+(this.state.isActive?" "+l.a.isActive:""),onClick:this.menuOpen},i.a.createElement("span",null),i.a.createElement("span",null),i.a.createElement("span",null)))))},r}(i.a.Component);d.defaultProps={siteTitle:""};var f=d,m=n("A5mV"),p=n.n(m),h=function(){return i.a.createElement("footer",{className:p.a.footer},i.a.createElement("div",{className:p.a.footer__inner},i.a.createElement("nav",{className:p.a.footer__navi},i.a.createElement("ul",null,i.a.createElement("li",null,i.a.createElement(o.Link,{to:"/"},"Home")),i.a.createElement("li",null,i.a.createElement(o.Link,{to:"/about/"},"About")),i.a.createElement("li",null,i.a.createElement(o.Link,{to:"/contact/"},"Contact"))))),i.a.createElement("div",{className:p.a.footer__copy},i.a.createElement("p",null,"© copyright xxxxxxxx ",(new Date).getFullYear())))};n("9frD"),t.a=function(e){var t=e.children,n=r.data;return i.a.createElement(i.a.Fragment,null,i.a.createElement(f,{siteTitle:n.site.siteMetadata.title}),t,i.a.createElement(h,null))}},IBL7:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABkCAAAAADm7SDXAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfkBRAGIihPcrmzAAADcElEQVR42u2Y61qjMBCGvf87mLTYk1Zdu7aeevLcWiuQi9oJBAiY8CT2x8668/4xz6cdeENIxh7JH8LR374BFmER4rAINViEGixCDRahBotQg0WowSLUYBFqsAg1WIQaLEINFqEGi1CDRajBItRgEWr8JyKv02EkovFdXEW762G3M5huZWvkzxYi2V7Lr3ybyOclaLqPRTbv5Im4kS1RALOayPfLt4gkp+rjJ+NIldEm9yoajVTtmXRGAXxEpsgB5VtEbtRnP3HwOsRnogZyJwCucBTP8Hdv0hEFsB2BIXJIebdIgk/iLh/GfYBbNcC1dplHU4CxdESe7Jcz9cwNkUPKu0UeAY5TPX4CGCk3fMAf2g1nam+PfFnqF7AUOai8W2QOMCnGMa4t/PEAcFJE5wALe1QxBrjWQ1yn540LrI8VhkhoeU+RWbmypExFJnINcG/M55U9qvjogthko42AyD6dhkhoeU+Rt/V6V4y3+cRcADwX0Qbg1B4Z4LWHanmmw3LfaxEJLu8nYoKvnNrFcYvZlLMN0LNHJuf5B2+NZeoWCS8fKjLX22+/fPPwNczvwBKZ7HFxbeVWQC921DY+E14+TCSe4NbyoEb4ZiZl3IGOPaqxxv0uwXl9dVU37u4b5QNE0oU62Ze2Kwl7VOcXvibV5hUi4lXeW+RpgBoDfaQ2HnTXHtX5VPMwTJ0XcC8tr/KeIlnb2L0rJgWXSNmDVm9jM2rw0N5b1F/28PJeIo84myJrt3JwM3wpxtX+2IwazNrbvfr2G17eR2SBt3C2MwI8nualJMBve1TnJWtDnO9640AMLu8j8gxGlaJU2bdN8x3AEtWIeyDwFOknrqsYIt8o7yOS9ABWjUiA0AstPdZd3deoxkQ1Ohcti8tsGsPL+4isvrZ56oTXGyn+v3PmigxwRkepOhadi6vRxoeV9xLB7mKVGKjsXegOdCWK3sESVewjdbBnPZdrcZkioeX9RPpQJwvn6lSZTNThcqv/zhKZk5FnY+fiqvUdgeW9RLBzt4jI+yKuvgqwRJpleRTuOq7FVW+ggsr7iezAKiLfp4NuZ3BlfjljiYq7F8VqmLsWV6MTDCjvKfKvwSLUYBFqsAg1WIQaLEINFqEGi1CDRajBItRgEWqwCDVYhBosQg0WoQaLUINFqMEi1GARavwYkT/AZn94ciqrEgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0wNS0xNlQxNTozNDo0MCswOTowMA9KnIEAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMDUtMTZUMTU6MzQ6NDArMDk6MDB+FyQ9AAAAAElFTkSuQmCC"},LMig:function(e,t,n){e.exports={sidebar:"sidebar-module--sidebar--3dc9E",sidebar__head:"sidebar-module--sidebar__head--2O3RY",sidebar__body:"sidebar-module--sidebar__body--20Xla",sidebar__list:"sidebar-module--sidebar__list--YsHfP",sidebar__banner:"sidebar-module--sidebar__banner--GBeWf"}},Oyvg:function(e,t,n){var r=n("dyZX"),a=n("Xbzi"),i=n("hswa").f,o=n("kJMx").f,c=n("quPj"),l=n("C/va"),s=r.RegExp,u=s,d=s.prototype,f=/a/g,m=/a/g,p=new s(f)!==f;if(n("nh4g")&&(!p||n("eeVq")((function(){return m[n("K0xU")("match")]=!1,s(f)!=f||s(m)==m||"/a/i"!=s(f,"i")})))){s=function(e,t){var n=this instanceof s,r=c(e),i=void 0===t;return!n&&r&&e.constructor===s&&i?e:a(p?new u(r&&!i?e.source:e,t):u((r=e instanceof s)?e.source:e,r&&i?l.call(e):t),n?this:d,s)};for(var h=function(e){e in s||i(s,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})},A=o(u),y=0;A.length>y;)h(A[y++]);d.constructor=s,s.prototype=d,n("KroJ")(r,"RegExp",s)}n("elZq")("RegExp")},T30q:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAyCAAAAACb533GAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfkBQ4MJCStz/dkAAAB/klEQVRYw+2Wi3KiMBSG+/5v8EcgXsALbi3tOO2uWrWIAsJDLQkBk+0OsGR26kxzxjHkJH/yJTk58JDfpT18NYDBMlgGy2AZLIN1J2awvgPWGol4mkLYB68mT5TQx0vrDL1kbVjZsMZylPHPZdUK27B6yVqwLj4qrBQIT9yurOphdLx+uBhnzSP0kzVirUZsZQIrxEhqOsJiB5E42DVj9ZM1YnmO49RYG/hS0xOWovxR+2K7nCwkJKqd7bJ/xmJWY70gWLu2uyqj1cOGl3uMb323cNIiHCd4vfk6yLSwfBG51pbVHBy5NwKROvtsE9aYKq52mQ7WBOT1nB48DNjCByjPKQGk4E1s7CNiyde/i0wHK1jxG565PCwIYu7NgFTqvQN18UvWd5JpYFX2jiE/jWrZ6mksgflfx2mW6WPFQJGBxiJpR6BK6xEiqP+0Zpk+VopB8T8DD+H8AFduLG4hv42frVHWH2s39qv9YCMGIvEEagJ6wWKheLrJ+mNFwIE/zPDMZ7GZ/0qVdB0SK44t7G+eTjINrHwOe5NmpwWoeLl5cR7PlZfbdcRu4U9Q6Rg7yLSwkkmZF2kZtOxToPhZJ6lvgBkrpni8+TrItLDy7M2zyDCodiJeUeIoH06HMmXm54F8jK2yXlhfYwbLYBmsezCDZbAM1j2YwTJY/8t+A9gDBQ93dQ03AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTA1LTE0VDIxOjM2OjM2KzA5OjAwWdIasQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wNS0xNFQyMTozNjozNiswOTowMCiPog0AAAAASUVORK5CYII="},Wmhb:function(e,t,n){e.exports={header:"header-module--header--19Rvl",header__fixed:"header-module--header__fixed--2sddQ",header__inner:"header-module--header__inner--2JM7u",header__logo:"header-module--header__logo--1FgeB",header__navi:"header-module--header__navi--3_-gK",active:"header-module--active--1S07M",isActive:"header-module--isActive--1leXb",header__icon:"header-module--header__icon--27OWq"}},bmMU:function(e,t,n){"use strict";n("f3/d"),n("SRfc"),n("a1Th"),n("h7Nl"),n("Oyvg"),n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V"),n("LK8F");var r=Array.isArray,a=Object.keys,i=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;e.exports=function(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var c,l,s,u=r(t),d=r(n);if(u&&d){if((l=t.length)!=n.length)return!1;for(c=l;0!=c--;)if(!e(t[c],n[c]))return!1;return!0}if(u!=d)return!1;var f=t instanceof Date,m=n instanceof Date;if(f!=m)return!1;if(f&&m)return t.getTime()==n.getTime();var p=t instanceof RegExp,h=n instanceof RegExp;if(p!=h)return!1;if(p&&h)return t.toString()==n.toString();var A=a(t);if((l=A.length)!==a(n).length)return!1;for(c=l;0!=c--;)if(!i.call(n,A[c]))return!1;if(o&&t instanceof Element&&n instanceof Element)return t===n;for(c=l;0!=c--;)if(!("_owner"===(s=A[c])&&t.$$typeof||e(t[s],n[s])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},h7Nl:function(e,t,n){var r=Date.prototype,a=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n("KroJ")(r,"toString",(function(){var e=i.call(this);return e==e?a.call(this):"Invalid Date"}))},ixUY:function(e){e.exports=JSON.parse('{"data":{"site":{"siteMetadata":{"title":"My site"}}}}')},qhky:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return he}));n("dZ+Y"),n("KKXr"),n("2Spj"),n("eM6i"),n("8+KV"),n("0l/t"),n("LK8F"),n("pIFo"),n("V+eJ"),n("/SS/"),n("hHhE"),n("91GP"),n("HAE/"),n("rE2o"),n("ioFf"),n("DNiP"),n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V"),n("bWfx");var r,a,i,o,c=n("17x9"),l=n.n(c),s=n("8+s/"),u=n.n(s),d=n("bmMU"),f=n.n(d),m=n("q1tI"),p=n.n(m),h=n("MgzW"),A=n.n(h),y="bodyAttributes",b="htmlAttributes",v="titleAttributes",g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},E=(Object.keys(g).map((function(e){return g[e]})),"charset"),T="cssText",w="href",C="http-equiv",O="innerHTML",L="itemprop",N="name",x="property",k="rel",S="src",_="target",j={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},I="defaultTitle",P="defer",M="encodeSpecialCharacters",B="onChangeClientState",R="titleTemplate",D=Object.keys(j).reduce((function(e,t){return e[j[t]]=t,e}),{}),J=[g.NOSCRIPT,g.SCRIPT,g.STYLE],F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},q=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Y=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},K=function(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},V=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},U=function(e){var t=X(e,g.TITLE),n=X(e,R);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=X(e,I);return t||r||void 0},H=function(e){return X(e,B)||function(){}},Q=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return G({},e,t)}),{})},Z=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a++){var i=r[a].toLowerCase();if(-1!==e.indexOf(i)&&n[i])return t.concat(n)}return t}),[])},z=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&re("Helmet: "+e+' should be of type "Array". Instead found type "'+F(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n=void 0,i=Object.keys(e),o=0;o<i.length;o++){var c=i[o],l=c.toLowerCase();-1===t.indexOf(l)||n===k&&"canonical"===e[n].toLowerCase()||l===k&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(c)||c!==O&&c!==T&&c!==L||(n=c)}if(!n||!e[n])return!1;var s=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][s]&&(a[n][s]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(a),o=0;o<i.length;o++){var c=i[o],l=A()({},r[c],a[c]);r[c]=l}return e}),[]).reverse()},X=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},$=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){$(e)}),0)}),ee=function(e){return clearTimeout(e)},te="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||$:e.requestAnimationFrame||$,ne="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ee:e.cancelAnimationFrame||ee,re=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},ae=null,ie=function(e,t){var n=e.baseTag,r=e.bodyAttributes,a=e.htmlAttributes,i=e.linkTags,o=e.metaTags,c=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,d=e.title,f=e.titleAttributes;le(g.BODY,r),le(g.HTML,a),ce(d,f);var m={baseTag:se(g.BASE,n),linkTags:se(g.LINK,i),metaTags:se(g.META,o),noscriptTags:se(g.NOSCRIPT,c),scriptTags:se(g.SCRIPT,s),styleTags:se(g.STYLE,u)},p={},h={};Object.keys(m).forEach((function(e){var t=m[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(h[e]=m[e].oldTags)})),t&&t(),l(e,p,h)},oe=function(e){return Array.isArray(e)?e.join(""):e},ce=function(e,t){void 0!==e&&document.title!==e&&(document.title=oe(e)),le(g.TITLE,t)},le=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-react-helmet"),a=r?r.split(","):[],i=[].concat(a),o=Object.keys(t),c=0;c<o.length;c++){var l=o[c],s=t[l]||"";n.getAttribute(l)!==s&&n.setAttribute(l,s),-1===a.indexOf(l)&&a.push(l);var u=i.indexOf(l);-1!==u&&i.splice(u,1)}for(var d=i.length-1;d>=0;d--)n.removeAttribute(i[d]);a.length===i.length?n.removeAttribute("data-react-helmet"):n.getAttribute("data-react-helmet")!==o.join(",")&&n.setAttribute("data-react-helmet",o.join(","))}},se=function(e,t){var n=document.head||document.querySelector(g.HEAD),r=n.querySelectorAll(e+"[data-react-helmet]"),a=Array.prototype.slice.call(r),i=[],o=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===O)n.innerHTML=t.innerHTML;else if(r===T)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var c=void 0===t[r]?"":t[r];n.setAttribute(r,c)}n.setAttribute("data-react-helmet","true"),a.some((function(e,t){return o=t,n.isEqualNode(e)}))?a.splice(o,1):i.push(n)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return n.appendChild(e)})),{oldTags:a,newTags:i}},ue=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},de=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[j[n]||n]=e[n],t}),t)},fe=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})["data-react-helmet"]=!0,a=de(n,r),[p.a.createElement(g.TITLE,a,e)];var e,n,r,a},toString:function(){return function(e,t,n,r){var a=ue(n),i=oe(t);return a?"<"+e+' data-react-helmet="true" '+a+">"+V(i,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+V(i,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case y:case b:return{toComponent:function(){return de(t)},toString:function(){return ue(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,a=((r={key:n})["data-react-helmet"]=!0,r);return Object.keys(t).forEach((function(e){var n=j[e]||e;if(n===O||n===T){var r=t.innerHTML||t.cssText;a.dangerouslySetInnerHTML={__html:r}}else a[n]=t[e]})),p.a.createElement(e,a)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!(e===O||e===T)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+V(r[t],n)+'"';return e?e+" "+a:a}),""),i=r.innerHTML||r.cssText||"",o=-1===J.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+a+(o?"/>":">"+i+"</"+e+">")}),"")}(e,t,n)}}}},me=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,i=e.linkTags,o=e.metaTags,c=e.noscriptTags,l=e.scriptTags,s=e.styleTags,u=e.title,d=void 0===u?"":u,f=e.titleAttributes;return{base:fe(g.BASE,t,r),bodyAttributes:fe(y,n,r),htmlAttributes:fe(b,a,r),link:fe(g.LINK,i,r),meta:fe(g.META,o,r),noscript:fe(g.NOSCRIPT,c,r),script:fe(g.SCRIPT,l,r),style:fe(g.STYLE,s,r),title:fe(g.TITLE,{title:d,titleAttributes:f},r)}},pe=u()((function(e){return{baseTag:Z([w,_],e),bodyAttributes:Q(y,e),defer:X(e,P),encode:X(e,M),htmlAttributes:Q(b,e),linkTags:z(g.LINK,[k,w],e),metaTags:z(g.META,[N,E,C,x,L],e),noscriptTags:z(g.NOSCRIPT,[O],e),onChangeClientState:H(e),scriptTags:z(g.SCRIPT,[S,O],e),styleTags:z(g.STYLE,[T],e),title:U(e),titleAttributes:Q(v,e)}}),(function(e){ae&&ne(ae),e.defer?ae=te((function(){ie(e,(function(){ae=null}))})):(ie(e),ae=null)}),me)((function(){return null})),he=(a=pe,o=i=function(e){function t(){return W(this,t),K(this,e.apply(this,arguments))}return function(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)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!f()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,a=e.newChildProps,i=e.nestedChildren;return G({},r,((t={})[n.type]=[].concat(r[n.type]||[],[G({},a,this.mapNestedChildrenToProps(n,i))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,i=e.newChildProps,o=e.nestedChildren;switch(r.type){case g.TITLE:return G({},a,((t={})[r.type]=o,t.titleAttributes=G({},i),t));case g.BODY:return G({},a,{bodyAttributes:G({},i)});case g.HTML:return G({},a,{htmlAttributes:G({},i)})}return G({},a,((n={})[r.type]=G({},i),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=G({},t);return Object.keys(e).forEach((function(t){var r;n=G({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return p.a.Children.forEach(e,(function(e){if(e&&e.props){var a=e.props,i=a.children,o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[D[n]||n]=e[n],t}),t)}(Y(a,["children"]));switch(n.warnOnInvalidChildren(e,i),e.type){case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:o,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:o,nestedChildren:i})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=Y(e,["children"]),r=G({},n);return t&&(r=this.mapChildrenToProps(t,r)),p.a.createElement(a,r)},q(t,null,[{key:"canUseDOM",set:function(e){a.canUseDOM=e}}]),t}(p.a.Component),i.propTypes={base:l.a.object,bodyAttributes:l.a.object,children:l.a.oneOfType([l.a.arrayOf(l.a.node),l.a.node]),defaultTitle:l.a.string,defer:l.a.bool,encodeSpecialCharacters:l.a.bool,htmlAttributes:l.a.object,link:l.a.arrayOf(l.a.object),meta:l.a.arrayOf(l.a.object),noscript:l.a.arrayOf(l.a.object),onChangeClientState:l.a.func,script:l.a.arrayOf(l.a.object),style:l.a.arrayOf(l.a.object),title:l.a.string,titleAttributes:l.a.object,titleTemplate:l.a.string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=a.peek,i.rewind=function(){var e=a.rewind();return e||(e=me({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},o);he.renderStatic=he.rewind}).call(this,n("yLpj"))},vrFN:function(e,t,n){"use strict";var r=n("7O3J"),a=n("q1tI"),i=n.n(a),o=n("qhky");function c(e){var t=e.description,n=e.lang,a=e.meta,c=e.title,l=r.data.site,s=t||l.siteMetadata.description;return i.a.createElement(o.a,{htmlAttributes:{lang:n},title:c,titleTemplate:"%s | "+l.siteMetadata.title,meta:[{name:"description",content:s},{property:"og:title",content:c},{property:"og:description",content:s},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary"},{name:"twitter:creator",content:l.siteMetadata.author},{name:"twitter:title",content:c},{name:"twitter:description",content:s}].concat(a)})}c.defaultProps={lang:"en",meta:[],description:""},t.a=c},yLpj:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"==typeof window&&(n=window)}e.exports=n}}]);
  //# sourceMappingURL=commons-e6ecd063e20ef2dc5981.js.map