-
Notifications
You must be signed in to change notification settings - Fork 0
/
commons-39f6ceee3c30ed01cba5.js
2 lines (2 loc) · 23.1 KB
/
commons-39f6ceee3c30ed01cba5.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"2hOx":function(e,t,n){},"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,u=[];function s(){l=e(u.map((function(e){return e.props}))),f.canUseDOM?t(l):n&&(l=n(l))}var f=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,u=[],e};var o=a.prototype;return o.UNSAFE_componentWillMount=function(){u.push(this),s()},o.componentDidUpdate=function(){s()},o.componentWillUnmount=function(){var e=u.indexOf(this);u.splice(e,1),s()},o.render=function(){return i.createElement(r,this.props)},a}(a.PureComponent);return o(f,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),o(f,"canUseDOM",c),f}}},EYWl:function(e,t,n){"use strict";var r=n("Q8jP"),a=n("q1tI"),i=n.n(a),o=n("m/7Z"),c=n.n(o),l=n("qhky"),u=n("YwZP"),s=function(e){var t=e.title,n=e.titleTemplate,a=e.description,o=e.image,s=e.article,f=Object(u.useLocation)().pathname,p=r.data.site.siteMetadata,d=p.defaultTitle,m=p.defaultTitleTemplate,h=p.defaultDescription,y=p.siteUrl,b=p.defaultImage,v=p.twitterUsername,g={title:t||d,titleTemplate:n||m,description:a||h,image:""+y+(o||b),url:""+y+f};return i.a.createElement(l.a,{title:g.title,titleTemplate:g.titleTemplate},i.a.createElement("meta",{name:"description",content:g.description}),i.a.createElement("meta",{name:"image",content:g.image}),i.a.createElement("link",{rel:"shortcut icon",type:"image/png",href:c.a}),g.url&&i.a.createElement("meta",{property:"og:url",content:g.url}),!s?null:i.a.createElement("meta",{property:"og:type",content:"article"}),g.title&&i.a.createElement("meta",{property:"og:title",content:g.title}),g.description&&i.a.createElement("meta",{property:"og:description",content:g.description}),g.image&&i.a.createElement("meta",{property:"og:image",content:g.image}),i.a.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),v&&i.a.createElement("meta",{name:"twitter:creator",content:v}),g.title&&i.a.createElement("meta",{name:"twitter:title",content:g.title}),g.description&&i.a.createElement("meta",{name:"twitter:description",content:g.description}),g.image&&i.a.createElement("meta",{name:"twitter:image",conent:g.image}))};t.a=s,s.defaultProps={title:null,description:null,image:null,article:!1}},F7AD:function(e,t,n){"use strict";var r=n("q1tI"),a=n.n(r);t.a=function(e){var t=e.width;return a.a.createElement("svg",{width:t,viewBox:"-255 347 100 100"},a.a.createElement("path",{fill:"#221F1F",d:"M-174.8 363l-60.5.1v21.8s.1 19.7.9 22.6c.6 3.6 2 7.1 4.5 9.2l.4-2.8s4.5 10.9 11.5 14.2l-1-3.6s3.5 7.3 11.5 9.7l-.5-1.9s3.8 1.7 2.8 3.8c-1 2 3.5-1.1 3.8-3.9l.5 1.9s7.3-5.4 9.6-10.1c0 0 0 2.5-1.3 3.8 0 0 11.5-7.5 11.5-14.9 0 0 .5 1.8 0 3 0 0 2.5-3.2 4.1-7.8 0-.1.1-.2.1-.2.1-.2.2-.5.3-.9.3-1.1.6-2.4.7-3.6.8-4.5 1.2-17.7 1.2-17.7V363z"}),a.a.createElement("path",{fill:"#fff",d:"M-198.3 371.9c-2.2.5-4.6 1.1-6.9 1-1.3 0-2.6-.4-3.8-.6-8.1-1.9-15.3-2.6-24.3-.5l.6 3.8c.6 0 1.5.2 1.5 1.3.3 8.6 2.6 12.7 10.7 12.5 10.1-.3 12.7-8.3 13.3-11.4.3-1.6 1.1-1.8 2.1-1.8 1.7 0 1.9 1.2 2.2 1.9 3.5 8.7 5.5 10.7 12.8 11.4 11 1 9.8-7.2 11.3-12 .3-.9.6-1.4 1.6-1.4l.5-3.8c-6.4-1.5-13.1-2.6-21.6-.4zm-32.2 2.3c-.8 0-1.4-.2-1.4-.4s.6-.4 1.4-.4c.8 0 1.4.2 1.4.4.1.2-.6.4-1.4.4zm20.4 5.8c-1.5 4.6-4 7.9-10.2 8-6.2 0-7.9-1.1-8.8-8.3 0-4.8-.3-7.6 8.8-7.6 6.3.6 12.7.5 10.2 7.9zm29.2-.3c-.8 7.2-2.6 8.3-8.8 8.3-6.2-.2-8.6-3.5-10.2-8-2.5-7.3 4-7.3 10.1-7.9 9.2 0 8.9 2.8 8.9 7.6zm1.5-5.2c-.8 0-1.4-.2-1.4-.4s.6-.4 1.4-.4c.8 0 1.4.2 1.4.4.1.3-.6.4-1.4.4z"}),a.a.createElement("path",{fill:"#fff",d:"M-198.2 373.6l-2 2c0 .1-.1.2-.1.4l2.5-2.5c-.1-.1-.2 0-.4.1zM-193.7 372.5l-6.5 6.5v.2l6.7-6.7h-.2zM-189.7 372.1h-.2l-9.4 9.4c0 .1 0 .1.1.2l9.5-9.6zM-187.7 373.5l1.3-1.3h-.2l-1.2 1.2-10.3 10.3.1.1 10.3-10.3zM-183.7 372.9c-.1 0-.1 0-.2-.1l-12.8 12.8.1.1 8.8-8.8 4.1-4zM-182.5 375.1l.8-.8-.1-.1-12.8 12.8c.1 0 .1.1.2.1l6.7-6.7 5.2-5.3zM-182.2 378.2l1.2-1.2v-.2l-.1.1-11 11h.2l4.1-4.1 5.6-5.6zM-188.9 388h.2l.9-.9 5.8-5.8.9-.9v-.3l-.1.1-7.7 7.8zM-184.6 387.3l2.5-2.5c.1-.1.1-.3.2-.4l-3 3c.1 0 .2 0 .3-.1zM-195.7 372.8l-4.7 4.7v.2l5-5c-.1 0-.2.1-.3.1zM-191.8 372.3l-8 8c0 .1 0 .1.1.2l8.2-8.2h-.3zM-188.9 373l.8-.8h-.2l-.7.7-9.8 9.8c0 .1.1.1.1.2l9.8-9.9zM-185 372.5h-.2l-12.2 12.2.1.1 8.5-8.5 3.8-3.8zM-183.6 374.5l1.1-1.1-.1-.1-13 13 .1.1 6.7-6.7 5.2-5.2zM-183.3 377.6l1.3-1.3.9-.9c0-.1 0-.1-.1-.2l-.9.9-11.2 11.2c.1 0 .1 0 .2.1l4.3-4.3 5.5-5.5zM-183 380.7l1-1 1.2-1.2v-.2l-1.3 1.3-8.3 8.3h.2l1.5-1.5 5.7-5.7zM-187.1 387.9h.3l4-4 .7-.7.7-.7c0-.1 0-.2.1-.3l-.9.9-4.9 4.8zM-211.7 373.5l2 2c.1.1.1.2.1.4l-2.6-2.6c.2.1.3.2.5.2zM-216.3 372.4l6.6 6.6v.2l-6.8-6.8h.2zM-220.3 372h.2l9.5 9.5c0 .1 0 .1-.1.2l-9.6-9.7c0 .1 0 0 0 0zM-222.3 373.5l-1.3-1.3h.2l1.2 1.2 10.5 10.5-.1.1-10.5-10.5zM-226.4 372.8c.1 0 .1 0 .2-.1l12.9 12.9-.1.1-8.9-8.9-4.1-4zM-227.6 375.1l-.8-.8.1-.1 12.9 12.9c-.1 0-.1.1-.2.1l-6.8-6.8-5.2-5.3zM-227.9 378.2l-1.2-1.2v-.2l.1.1 11.1 11.1h-.2l-4.2-4.2-5.6-5.6zM-221.2 388.2h-.2l-.9-.9-5.9-5.9-.9-.9v-.3l.1.1 7.8 7.9zM-225.5 387.5l-2.5-2.5c-.1-.1-.1-.3-.2-.4l3.1 3.1c-.1-.1-.3-.1-.4-.2zM-214.2 372.7l4.8 4.8v.2l-5-5h.2zM-218.1 372.2l8.1 8.1c0 .1 0 .1-.1.2l-8.3-8.3h.3zM-221.2 372.9l-.8-.8h.2l.7.7 9.9 9.9c0 .1-.1.1-.1.2l-9.9-10zM-225.1 372.4h.2l12.4 12.4-.1.1-8.6-8.6-3.9-3.9zM-226.4 374.5l-1.1-1.1.1-.1 13.1 13.1-.1.1-6.8-6.8-5.2-5.2zM-226.8 377.6l-1.3-1.3-.9-.9c0-.1 0-.1.1-.2l.9.9 11.3 11.3c-.1 0-.1 0-.2.1l-4.4-4.4-5.5-5.5zM-227 380.8l-1-1-1.2-1.2v-.2l1.3 1.3 8.5 8.5h-.2l-1.5-1.5-5.9-5.9zM-222.9 388.1h-.3l-4.1-4.1-.7-.7-.8-.8c0-.1 0-.2-.1-.3l.9.9 5.1 5z"}),a.a.createElement("path",{d:"M-235.2 357.3h60.5v4.3h-60.5z"}),a.a.createElement("path",{fill:"#fff",d:"M-205.1 400.6s.1-2 1.5-2.9c1.4-.9 2.4-.3 2.8.7.4 1.1.3 4-.2 4.3-.6.4-3.8 1-4.1-.9v-1.2z"}),a.a.createElement("path",{fill:"#fff",d:"M-200.6 400.6s0-1.7 1.3-2.5 2.1-.3 2.5.6c.4.9.3 3.5-.2 3.8-.5.3-3.3.8-3.6-.8v-1.1z"}),a.a.createElement("path",{fill:"#fff",d:"M-196.8 401s0-1.4 1.3-2c1.3-.6 2.1-.2 2.5.5.4.7.3 2.8-.2 3.1-.5.3-3.3.7-3.6-.6v-1zM-213.4 400.6s.1-1.7 1.3-2.5c1.3-.8 2.1-.3 2.5.6.4.9.3 3.5-.2 3.8-.5.3-3.3.8-3.6-.8v-1.1z"}),a.a.createElement("path",{fill:"#fff",d:"M-217.2 401.1s.1-1.3 1.3-2c1.3-.6 2.1-.2 2.5.5.4.7.3 2.7-.2 3-.5.3-3.3.7-3.6-.6v-.9zM-205 400.6s-.1-2-1.5-2.9c-1.4-.9-2.4-.3-2.8.7-.4 1.1-.3 4 .2 4.3.6.4 3.8 1 4.1-.9v-1.2zM-206.4 407.5c.7 0 1.7-1.5 1.6-2.7-.1-1.2-1.1-1.4-1.9-1-.8.3-.8 1.2-.8 2 .2.7.3 1.6 1.1 1.7z"}),a.a.createElement("path",{fill:"#fff",d:"M-204.4 407.5c.7 0 1.7-1.5 1.6-2.7-.1-1.2-1.1-1.4-1.9-1-.8.3-.8 1.2-.8 2 .2.7.3 1.6 1.1 1.7z"}),a.a.createElement("path",{fill:"#fff",d:"M-201.9 407.4c.7 0 1.6-1.5 1.6-2.6-.1-1.1-1-1.3-1.8-1-.8.3-.8 1.1-.7 1.9s0 1.7.9 1.7z"}),a.a.createElement("path",{fill:"#fff",d:"M-199.9 407.4c.6 0 1.6-.8 1.5-2.4-.1-1.1-.6-1.2-1.7-.9-1.1.3-.8 1-.7 1.8.1.6.2 1.5.9 1.5z"}),a.a.createElement("path",{fill:"#fff",d:"M-197.9 407c.6 0 1.6-.7 1.5-2.2-.1-.9-.6-1.1-1.7-.8-1.1.3-.8.9-.7 1.6 0 .7.1 1.4.9 1.4zM-210.7 407.4c-.6 0-1.6-.8-1.5-2.4.1-1.1.6-1.2 1.7-.9 1.1.3.8 1 .7 1.8s-.1 1.4-.9 1.5z"}),a.a.createElement("path",{fill:"#fff",d:"M-213 406.9c-.6 0-1.6-.7-1.5-2.1.1-.9.6-1.1 1.7-.8 1.1.3.8.9.7 1.5-.1.7-.1 1.4-.9 1.4zM-208.9 407.4c.7 0 1.7-.4 1.6-2.6-.1-1.1-1-1.1-1.8-.8-.8.3-.8.9-.7 1.7 0 .8.1 1.7.9 1.7z"}))}},"HAE/":function(e,t,n){var r=n("XKFU");r(r.S+r.F*!n("nh4g"),"Object",{defineProperty:n("hswa").f})},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"),u=r.RegExp,s=u,f=u.prototype,p=/a/g,d=/a/g,m=new u(p)!==p;if(n("nh4g")&&(!m||n("eeVq")((function(){return d[n("K0xU")("match")]=!1,u(p)!=p||u(d)==d||"/a/i"!=u(p,"i")})))){u=function(e,t){var n=this instanceof u,r=c(e),i=void 0===t;return!n&&r&&e.constructor===u&&i?e:a(m?new s(r&&!i?e.source:e,t):s((r=e instanceof u)?e.source:e,r&&i?l.call(e):t),n?this:f,u)};for(var h=function(e){e in u||i(u,e,{configurable:!0,get:function(){return s[e]},set:function(t){s[e]=t}})},y=o(s),b=0;y.length>b;)h(y[b++]);f.constructor=u,u.prototype=f,n("KroJ")(r,"RegExp",u)}n("elZq")("RegExp")},Q8jP:function(e){e.exports=JSON.parse('{"data":{"site":{"siteMetadata":{"defaultTitle":"Magnificode","defaultTitleTemplate":"%s | Magnificode","defaultDescription":"Thoughts from Dominic Magnifico","siteUrl":"https://dommagnifi.co","defaultImage":"/favicon.png","twitterUsername":"@magnificode"}}}}')},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,u,s=r(t),f=r(n);if(s&&f){if((l=t.length)!=n.length)return!1;for(c=l;0!=c--;)if(!e(t[c],n[c]))return!1;return!0}if(s!=f)return!1;var p=t instanceof Date,d=n instanceof Date;if(p!=d)return!1;if(p&&d)return t.getTime()==n.getTime();var m=t instanceof RegExp,h=n instanceof RegExp;if(m!=h)return!1;if(m&&h)return t.toString()==n.toString();var y=a(t);if((l=y.length)!==a(n).length)return!1;for(c=l;0!=c--;)if(!i.call(n,y[c]))return!1;if(o&&t instanceof Element&&n instanceof Element)return t===n;for(c=l;0!=c--;)if(!("_owner"===(u=y[c])&&t.$$typeof||e(t[u],n[u])))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"}))},"m/7Z":function(e,t,n){e.exports=n.p+"static/favicon-5eed5e3e51e24063a123dc60e93e0b94.png"},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),u=n("8+s/"),s=n.n(u),f=n("bmMU"),p=n.n(f),d=n("q1tI"),m=n.n(d),h=n("MgzW"),y=n.n(h),b="bodyAttributes",v="htmlAttributes",g="titleAttributes",T={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},w=(Object.keys(T).map((function(e){return T[e]})),"charset"),E="cssText",M="href",A="http-equiv",O="innerHTML",C="itemprop",S="name",z="property",j="rel",P="src",x="target",k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},I="defaultTitle",L="defer",N="encodeSpecialCharacters",R="onChangeClientState",D="titleTemplate",q=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),F=[T.NOSCRIPT,T.SCRIPT,T.STYLE],H="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},U=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},K=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}}(),Y=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},_=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},B=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},W=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},J=function(e){var t=Q(e,T.TITLE),n=Q(e,D);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=Q(e,I);return t||r||void 0},V=function(e){return Q(e,R)||function(){}},Z=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return Y({},e,t)}),{})},X=function(e,t){return t.filter((function(e){return void 0!==e[T.BASE]})).map((function(e){return e[T.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}),[])},G=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 "'+H(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===j&&"canonical"===e[n].toLowerCase()||l===j&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(c)||c!==O&&c!==E&&c!==C||(n=c)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][u]&&(a[n][u]=!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=y()({},r[c],a[c]);r[c]=l}return e}),[]).reverse()},Q=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,u=e.scriptTags,s=e.styleTags,f=e.title,p=e.titleAttributes;le(T.BODY,r),le(T.HTML,a),ce(f,p);var d={baseTag:ue(T.BASE,n),linkTags:ue(T.LINK,i),metaTags:ue(T.META,o),noscriptTags:ue(T.NOSCRIPT,c),scriptTags:ue(T.SCRIPT,u),styleTags:ue(T.STYLE,s)},m={},h={};Object.keys(d).forEach((function(e){var t=d[e],n=t.newTags,r=t.oldTags;n.length&&(m[e]=n),r.length&&(h[e]=d[e].oldTags)})),t&&t(),l(e,m,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(T.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],u=t[l]||"";n.getAttribute(l)!==u&&n.setAttribute(l,u),-1===a.indexOf(l)&&a.push(l);var s=i.indexOf(l);-1!==s&&i.splice(s,1)}for(var f=i.length-1;f>=0;f--)n.removeAttribute(i[f]);a.length===i.length?n.removeAttribute("data-react-helmet"):n.getAttribute("data-react-helmet")!==o.join(",")&&n.setAttribute("data-react-helmet",o.join(","))}},ue=function(e,t){var n=document.head||document.querySelector(T.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===E)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}},se=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}),"")},fe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},pe=function(e,t,n){switch(e){case T.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})["data-react-helmet"]=!0,a=fe(n,r),[m.a.createElement(T.TITLE,a,e)];var e,n,r,a},toString:function(){return function(e,t,n,r){var a=se(n),i=oe(t);return a?"<"+e+' data-react-helmet="true" '+a+">"+W(i,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+W(i,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case b:case v:return{toComponent:function(){return fe(t)},toString:function(){return se(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=k[e]||e;if(n===O||n===E){var r=t.innerHTML||t.cssText;a.dangerouslySetInnerHTML={__html:r}}else a[n]=t[e]})),m.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===E)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+W(r[t],n)+'"';return e?e+" "+a:a}),""),i=r.innerHTML||r.cssText||"",o=-1===F.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+a+(o?"/>":">"+i+"</"+e+">")}),"")}(e,t,n)}}}},de=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,u=e.styleTags,s=e.title,f=void 0===s?"":s,p=e.titleAttributes;return{base:pe(T.BASE,t,r),bodyAttributes:pe(b,n,r),htmlAttributes:pe(v,a,r),link:pe(T.LINK,i,r),meta:pe(T.META,o,r),noscript:pe(T.NOSCRIPT,c,r),script:pe(T.SCRIPT,l,r),style:pe(T.STYLE,u,r),title:pe(T.TITLE,{title:f,titleAttributes:p},r)}},me=s()((function(e){return{baseTag:X([M,x],e),bodyAttributes:Z(b,e),defer:Q(e,L),encode:Q(e,N),htmlAttributes:Z(v,e),linkTags:G(T.LINK,[j,M],e),metaTags:G(T.META,[S,w,A,z,C],e),noscriptTags:G(T.NOSCRIPT,[O],e),onChangeClientState:V(e),scriptTags:G(T.SCRIPT,[P,O],e),styleTags:G(T.STYLE,[E],e),title:J(e),titleAttributes:Z(g,e)}}),(function(e){ae&&ne(ae),e.defer?ae=te((function(){ie(e,(function(){ae=null}))})):(ie(e),ae=null)}),de)((function(){return null})),he=(a=me,o=i=function(e){function t(){return U(this,t),B(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!p()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case T.SCRIPT:case T.NOSCRIPT:return{innerHTML:t};case T.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 Y({},r,((t={})[n.type]=[].concat(r[n.type]||[],[Y({},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 T.TITLE:return Y({},a,((t={})[r.type]=o,t.titleAttributes=Y({},i),t));case T.BODY:return Y({},a,{bodyAttributes:Y({},i)});case T.HTML:return Y({},a,{htmlAttributes:Y({},i)})}return Y({},a,((n={})[r.type]=Y({},i),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=Y({},t);return Object.keys(e).forEach((function(t){var r;n=Y({},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 m.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[q[n]||n]=e[n],t}),t)}(_(a,["children"]));switch(n.warnOnInvalidChildren(e,i),e.type){case T.LINK:case T.META:case T.NOSCRIPT:case T.SCRIPT:case T.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=_(e,["children"]),r=Y({},n);return t&&(r=this.mapChildrenToProps(t,r)),m.a.createElement(a,r)},K(t,null,[{key:"canUseDOM",set:function(e){a.canUseDOM=e}}]),t}(m.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=de({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},o);he.renderStatic=he.rewind}).call(this,n("yLpj"))},rY4l:function(e,t,n){"use strict";var r=n("q1tI"),a=n.n(r),i=n("+ZDr"),o=n.n(i),c=n("F7AD");n("2hOx");t.a=function(){return a.a.createElement("nav",{className:"primary-nav bg-parent db dt-l fixed w-100 border-box pa3 ph5-l avenir"},a.a.createElement(o.a,{className:"db dtc-l v-mid link dim w-100 w-25-l tc tl-l mb2 mb0-l",to:"/",title:"Home"},a.a.createElement(c.a,{width:"30"})),a.a.createElement("div",{className:"db f6 dtc-l v-mid w-100 w-25-l tc ttu tr-l"},a.a.createElement(o.a,{to:"/about",className:"link dim dib mr3"},"About"),a.a.createElement(o.a,{to:"/resume",className:"link dim dib"},"Résumé")))}},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-39f6ceee3c30ed01cba5.js.map