text: /*! For license information please see component---src-pages-index-tsx-5256c0fd27d319ef5cce.js.LICENSE.txt */
  (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+eM2":function(e,t,n){},"+m2C":function(e,t,n){},"2W6z":function(e,t,n){"use strict";var a=function(){};e.exports=a},K9S6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];function a(){for(var e=arguments.length,n=Array(e),a=0;a<e;a++)n[a]=arguments[a];var r=null;return t.forEach((function(e){if(null==r){var t=e.apply(void 0,n);null!=t&&(r=t)}})),r}return(0,i.default)(a)};var a,r=n("pvIh"),i=(a=r)&&a.__esModule?a:{default:a};e.exports=t.default},Lnxd:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var a=n("q1tI"),r={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=a.createContext&&a.createContext(r),o=function(){return(o=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},c=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&(n[a[r]]=e[a[r]])}return n};function l(e){return function(t){return a.createElement(s,o({attr:o({},e.attr)},t),function e(t){return t&&t.map((function(t,n){return a.createElement(t.tag,o({key:n},t.attr),e(t.child))}))}(e.child))}}function s(e){var t=function(t){var n,r=e.size||t.size||"1em";t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className);var i=e.attr,l=e.title,s=c(e,["attr","title"]);return a.createElement("svg",o({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,s,{className:n,style:o({color:e.color||t.color},t.style,e.style),height:r,width:r,xmlns:"http://www.w3.org/2000/svg"}),l&&a.createElement("title",null,l),e.children)};return void 0!==i?a.createElement(i.Consumer,null,(function(e){return t(e)})):t(r)}},PGGC:function(e,t,n){},QeBL:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Nn}));var a={};n.r(a),n.d(a,"addTrackers",(function(){return rn})),n.d(a,"initialize",(function(){return on})),n.d(a,"ga",(function(){return cn})),n.d(a,"set",(function(){return ln})),n.d(a,"send",(function(){return sn})),n.d(a,"pageview",(function(){return un})),n.d(a,"modalview",(function(){return fn})),n.d(a,"timing",(function(){return dn})),n.d(a,"event",(function(){return mn})),n.d(a,"exception",(function(){return pn})),n.d(a,"plugin",(function(){return vn})),n.d(a,"outboundLink",(function(){return hn})),n.d(a,"testModeAPI",(function(){return gn})),n.d(a,"default",(function(){return bn}));var r=n("q1tI"),i=n.n(r);n("PGGC");function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function c(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}var l=n("TSYQ"),s=n.n(l);n("E9XD"),n("QLaP");function u(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function f(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function d(e,t){return Object.keys(t).reduce((function(n,a){var i,l=n,s=l[u(a)],d=l[a],m=c(l,[u(a),a].map(f)),p=t[a],v=function(e,t,n){var a=Object(r.useRef)(void 0!==e),i=Object(r.useState)(t),o=i[0],c=i[1],l=void 0!==e,s=a.current;return a.current=l,!l&&s&&o!==t&&c(t),[l?e:o,Object(r.useCallback)((function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),r=1;r<t;r++)a[r-1]=arguments[r];n&&n.apply(void 0,[e].concat(a)),c(e)}),[n])]}(d,s,e[p]),h=v[0],g=v[1];return o({},m,((i={})[a]=h,i[p]=g,i))}),e)}var m=n("dI71");n("94VI");var p=/-(.)/g;var v=i.a.createContext({});v.Consumer,v.Provider;function h(e,t){var n=Object(r.useContext)(v);return e||n[t]||t}var g=function(e){return e[0].toUpperCase()+(t=e,t.replace(p,(function(e,t){return t.toUpperCase()}))).slice(1);var t};var b=i.a.forwardRef((function(e,t){var n=e.bsPrefix,a=e.className,r=e.as,l=c(e,["bsPrefix","className","as"]);n=h(n,"navbar-brand");var u=r||(l.href?"a":"span");return i.a.createElement(u,o({},l,{ref:t,className:s()(a,n)}))}));b.displayName="NavbarBrand";var y=b,E=n("dZvc");function w(e,t){return function(e){var t=Object(E.a)(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}var O=/([A-Z])/g;var x=/^ms-/;function N(e){return function(e){return e.replace(O,"-$1").toLowerCase()}(e).replace(x,"-ms-")}var j=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;var k=function(e,t){var n="",a="";if("string"==typeof t)return e.style.getPropertyValue(N(t))||w(e).getPropertyValue(N(t));Object.keys(t).forEach((function(r){var i=t[r];i||0===i?!function(e){return!(!e||!j.test(e))}(r)?n+=N(r)+": "+i+";":a+=r+"("+i+") ":e.style.removeProperty(N(r))})),a&&(n+="transform: "+a+";"),e.style.cssText+=";"+n},S=n("SJxq"),C=!1,P=!1;try{var T={get passive(){return C=!0},get once(){return P=C=!0}};S.a&&(window.addEventListener("test",T,T),window.removeEventListener("test",T,!0))}catch(Sn){}var A=function(e,t,n,a){if(a&&"boolean"!=typeof a&&!P){var r=a.once,i=a.capture,o=n;!P&&r&&(o=n.__once||function e(a){this.removeEventListener(t,e,i),n.call(this,a)},n.__once=o),e.addEventListener(t,o,C?a:i)}e.addEventListener(t,n,a)};var R=function(e,t,n,a){var r=a&&"boolean"!=typeof a?a.capture:a;e.removeEventListener(t,n,r),n.__once&&e.removeEventListener(t,n.__once,r)};var I=function(e,t,n,a){return A(e,t,n,a),function(){R(e,t,n,a)}};function D(e,t,n){void 0===n&&(n=5);var a=!1,r=setTimeout((function(){a||function(e){var t=document.createEvent("HTMLEvents");t.initEvent("transitionend",!0,!0),e.dispatchEvent(t)}(e)}),t+n),i=I(e,"transitionend",(function(){a=!0}),{once:!0});return function(){clearTimeout(r),i()}}function L(e,t,n,a){var r,i;null==n&&(r=k(e,"transitionDuration")||"",i=-1===r.indexOf("ms")?1e3:1,n=parseFloat(r)*i||0);var o=D(e,n,a),c=I(e,"transitionend",t);return function(){o(),c()}}var M=n("i8i4"),_=n.n(M),F=!1,q=i.a.createContext(null),K=function(e){function t(t,n){var a;a=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return a.appearStatus=null,t.in?i?(r="exited",a.appearStatus="entering"):r="entered":r=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",a.state={status:r},a.nextCallback=null,a}Object(m.a)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,a=this.props.timeout;return e=t=n=a,null!=a&&"number"!=typeof a&&(e=a.exit,t=a.enter,n=void 0!==a.appear?a.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(e){var t=this,n=this.props.enter,a=this.context?this.context.isMounting:e,r=this.props.nodeRef?[a]:[_.a.findDOMNode(this),a],i=r[0],o=r[1],c=this.getTimeouts(),l=a?c.appear:c.enter;!e&&!n||F?this.safeSetState({status:"entered"},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,o),this.safeSetState({status:"entering"},(function(){t.props.onEntering(i,o),t.onTransitionEnd(l,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(i,o)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),a=this.props.nodeRef?void 0:_.a.findDOMNode(this);t&&!F?(this.props.onExit(a),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(a),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(a)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(a)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(a){n&&(n=!1,t.nextCallback=null,e(a))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:_.a.findDOMNode(this),a=null==e&&!this.props.addEndListener;if(n&&!a){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],o=r[1];this.props.addEndListener(i,o)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,a=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,c(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.a.createElement(q.Provider,{value:null},"function"==typeof n?n(e,a):i.a.cloneElement(i.a.Children.only(n),a))},t}(i.a.Component);function V(){}K.contextType=q,K.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:V,onEntering:V,onEntered:V,onExit:V,onExiting:V,onExited:V},K.UNMOUNTED="unmounted",K.EXITED="exited",K.ENTERING="entering",K.ENTERED="entered",K.EXITING="exiting";var z=K;var B,H=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return null!=e})).reduce((function(e,t){if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];e.apply(this,a),t.apply(this,a)}}),null)};var U={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function G(e,t){var n=t["offset"+e[0].toUpperCase()+e.slice(1)],a=U[e];return n+parseInt(k(t,a[0]),10)+parseInt(k(t,a[1]),10)}var J=((B={}).exited="collapse",B.exiting="collapsing",B.entering="collapsing",B.entered="collapse show",B),W={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,getDimensionValue:G},Z=i.a.forwardRef((function(e,t){var n=e.onEnter,a=e.onEntering,l=e.onEntered,u=e.onExit,f=e.onExiting,d=e.className,m=e.children,p=e.dimension,v=void 0===p?"height":p,h=e.getDimensionValue,g=void 0===h?G:h,b=c(e,["onEnter","onEntering","onEntered","onExit","onExiting","className","children","dimension","getDimensionValue"]),y="function"==typeof v?v():v,E=Object(r.useMemo)((function(){return H((function(e){e.style[y]="0"}),n)}),[y,n]),w=Object(r.useMemo)((function(){return H((function(e){var t="scroll"+y[0].toUpperCase()+y.slice(1);e.style[y]=e[t]+"px"}),a)}),[y,a]),O=Object(r.useMemo)((function(){return H((function(e){e.style[y]=null}),l)}),[y,l]),x=Object(r.useMemo)((function(){return H((function(e){e.style[y]=g(y,e)+"px",e.offsetHeight}),u)}),[u,g,y]),N=Object(r.useMemo)((function(){return H((function(e){e.style[y]=null}),f)}),[y,f]);return i.a.createElement(z,o({ref:t,addEndListener:L},b,{"aria-expanded":b.role?b.in:null,onEnter:E,onEntering:w,onEntered:O,onExit:x,onExiting:N}),(function(e,t){return i.a.cloneElement(m,o({},t,{className:s()(d,m.props.className,J[e],"width"===y&&"width")}))}))}));Z.defaultProps=W;var $=Z,X=i.a.createContext(null);X.displayName="NavbarContext";var Y=X,Q=i.a.forwardRef((function(e,t){var n=e.children,a=e.bsPrefix,r=c(e,["children","bsPrefix"]);return a=h(a,"navbar-collapse"),i.a.createElement(Y.Consumer,null,(function(e){return i.a.createElement($,o({in:!(!e||!e.expanded)},r),i.a.createElement("div",{ref:t,className:a},n))}))}));Q.displayName="NavbarCollapse";var ee=Q;var te=function(e){var t=Object(r.useRef)(e);return Object(r.useEffect)((function(){t.current=e}),[e]),t};function ne(e){var t=te(e);return Object(r.useCallback)((function(){return t.current&&t.current.apply(t,arguments)}),[t])}var ae=i.a.forwardRef((function(e,t){var n=e.bsPrefix,a=e.className,l=e.children,u=e.label,f=e.as,d=void 0===f?"button":f,m=e.onClick,p=c(e,["bsPrefix","className","children","label","as","onClick"]);n=h(n,"navbar-toggler");var v=Object(r.useContext)(Y)||{},g=v.onToggle,b=v.expanded,y=ne((function(e){m&&m(e),g&&g()}));return"button"===d&&(p.type="button"),i.a.createElement(d,o({},p,{ref:t,onClick:y,"aria-label":u,className:s()(a,n,!b&&"collapsed")}),l||i.a.createElement("span",{className:n+"-icon"}))}));ae.displayName="NavbarToggle",ae.defaultProps={label:"Toggle navigation"};var re,ie,oe,ce,le,se,ue,fe,de=ae,me=function(e,t){return void 0===t&&(t=null),null!=e?String(e):t||null},pe=i.a.createContext(null),ve=(re="navbar-text",ce=(oe=void 0===(ie={Component:"span"})?{}:ie).displayName,le=void 0===ce?g(re):ce,se=oe.Component,ue=oe.defaultProps,(fe=i.a.forwardRef((function(e,t){var n=e.className,a=e.bsPrefix,r=e.as,l=void 0===r?se||"div":r,u=c(e,["className","bsPrefix","as"]),f=h(a,re);return i.a.createElement(l,o({ref:t,className:s()(n,f)},u))}))).defaultProps=ue,fe.displayName=le,fe),he=i.a.forwardRef((function(e,t){var n=d(e,{expanded:"onToggle"}),a=n.bsPrefix,l=n.expand,u=n.variant,f=n.bg,m=n.fixed,p=n.sticky,v=n.className,g=n.children,b=n.as,y=void 0===b?"nav":b,E=n.expanded,w=n.onToggle,O=n.onSelect,x=n.collapseOnSelect,N=c(n,["bsPrefix","expand","variant","bg","fixed","sticky","className","children","as","expanded","onToggle","onSelect","collapseOnSelect"]),j=h(a,"navbar"),k=Object(r.useCallback)((function(){O&&O.apply(void 0,arguments),x&&E&&w&&w(!1)}),[O,x,E,w]);void 0===N.role&&"nav"!==y&&(N.role="navigation");var S=j+"-expand";"string"==typeof l&&(S=S+"-"+l);var C=Object(r.useMemo)((function(){return{onToggle:function(){return w&&w(!E)},bsPrefix:j,expanded:!!E}}),[j,E,w]);return i.a.createElement(Y.Provider,{value:C},i.a.createElement(pe.Provider,{value:k},i.a.createElement(y,o({ref:t},N,{className:s()(v,j,l&&S,u&&j+"-"+u,f&&"bg-"+f,p&&"sticky-"+p,m&&"fixed-"+m)}),g)))}));he.defaultProps={expand:!0,variant:"light",collapseOnSelect:!1},he.displayName="Navbar",he.Brand=y,he.Toggle=de,he.Collapse=ee,he.Text=ve;var ge=he,be=(n("K9S6"),i.a.createContext(null));be.displayName="CardContext";var ye=be,Ee=Function.prototype.bind.call(Function.prototype.call,[].slice);var we=function(e){return e&&"function"!=typeof e?function(t){e.current=t}:e};var Oe=function(e,t){return Object(r.useMemo)((function(){return function(e,t){var n=we(e),a=we(t);return function(e){n&&n(e),a&&a(e)}}(e,t)}),[e,t])},xe=i.a.createContext(null);xe.displayName="NavContext";var Ne=xe,je=i.a.createContext(null),ke=function(){},Se=i.a.forwardRef((function(e,t){var n,a,l=e.as,s=void 0===l?"ul":l,u=e.onSelect,f=e.activeKey,d=e.role,m=e.onKeyDown,p=c(e,["as","onSelect","activeKey","role","onKeyDown"]),v=Object(r.useReducer)((function(e){return!e}),!1)[1],h=Object(r.useRef)(!1),g=Object(r.useContext)(pe),b=Object(r.useContext)(je);b&&(d=d||"tablist",f=b.activeKey,n=b.getControlledId,a=b.getControllerId);var y=Object(r.useRef)(null),E=function(e){var t=y.current;if(!t)return null;var n,a=(n="[data-rb-event-key]:not(.disabled)",Ee(t.querySelectorAll(n))),r=t.querySelector(".active");if(!r)return null;var i=a.indexOf(r);if(-1===i)return null;var o=i+e;return o>=a.length&&(o=0),o<0&&(o=a.length-1),a[o]},w=function(e,t){null!=e&&(u&&u(e,t),g&&g(e,t))};Object(r.useEffect)((function(){if(y.current&&h.current){var e=y.current.querySelector("[data-rb-event-key].active");e&&e.focus()}h.current=!1}));var O=Oe(t,y);return i.a.createElement(pe.Provider,{value:w},i.a.createElement(Ne.Provider,{value:{role:d,activeKey:me(f),getControlledId:n||ke,getControllerId:a||ke}},i.a.createElement(s,o({},p,{onKeyDown:function(e){var t;switch(m&&m(e),e.key){case"ArrowLeft":case"ArrowUp":t=E(-1);break;case"ArrowRight":case"ArrowDown":t=E(1);break;default:return}t&&(e.preventDefault(),w(t.dataset.rbEventKey,e),h.current=!0,v())},ref:O,role:d}))))})),Ce=i.a.forwardRef((function(e,t){var n=e.bsPrefix,a=e.className,r=e.children,l=e.as,u=void 0===l?"div":l,f=c(e,["bsPrefix","className","children","as"]);return n=h(n,"nav-item"),i.a.createElement(u,o({},f,{ref:t,className:s()(a,n)}),r)}));Ce.displayName="NavItem";var Pe=Ce;function Te(e){return!e||"#"===e.trim()}var Ae=i.a.forwardRef((function(e,t){var n=e.as,a=void 0===n?"a":n,r=e.disabled,l=e.onKeyDown,s=c(e,["as","disabled","onKeyDown"]),u=function(e){var t=s.href,n=s.onClick;(r||Te(t))&&e.preventDefault(),r?e.stopPropagation():n&&n(e)};return Te(s.href)&&(s.role=s.role||"button",s.href=s.href||"#"),r&&(s.tabIndex=-1,s["aria-disabled"]=!0),i.a.createElement(a,o({ref:t},s,{onClick:u,onKeyDown:H((function(e){" "===e.key&&(e.preventDefault(),u(e))}),l)}))}));Ae.displayName="SafeAnchor";var Re=Ae,Ie=(n("2W6z"),i.a.forwardRef((function(e,t){var n=e.active,a=e.className,l=e.eventKey,u=e.onSelect,f=e.onClick,d=e.as,m=c(e,["active","className","eventKey","onSelect","onClick","as"]),p=me(l,m.href),v=Object(r.useContext)(pe),h=Object(r.useContext)(Ne),g=n;if(h){m.role||"tablist"!==h.role||(m.role="tab");var b=h.getControllerId(p),y=h.getControlledId(p);m["data-rb-event-key"]=p,m.id=b||m.id,m["aria-controls"]=y||m["aria-controls"],g=null==n&&null!=p?h.activeKey===p:n}"tab"===m.role&&(m.disabled&&(m.tabIndex=-1,m["aria-disabled"]=!0),m["aria-selected"]=g);var E=ne((function(e){f&&f(e),null!=p&&(u&&u(p,e),v&&v(p,e))}));return i.a.createElement(d,o({},m,{ref:t,onClick:E,className:s()(a,g&&"active")}))})));Ie.defaultProps={disabled:!1};var De=Ie,Le={disabled:!1,as:Re},Me=i.a.forwardRef((function(e,t){var n=e.bsPrefix,a=e.disabled,r=e.className,l=e.href,u=e.eventKey,f=e.onSelect,d=e.as,m=c(e,["bsPrefix","disabled","className","href","eventKey","onSelect","as"]);return n=h(n,"nav-link"),i.a.createElement(De,o({},m,{href:l,ref:t,eventKey:u,as:d,disabled:a,onSelect:f,className:s()(r,n,a&&"disabled")}))}));Me.displayName="NavLink",Me.defaultProps=Le;var _e=Me,Fe=i.a.forwardRef((function(e,t){var n,a,l,u=d(e,{activeKey:"onSelect"}),f=u.as,m=void 0===f?"div":f,p=u.bsPrefix,v=u.variant,g=u.fill,b=u.justify,y=u.navbar,E=u.className,w=u.children,O=u.activeKey,x=c(u,["as","bsPrefix","variant","fill","justify","navbar","className","children","activeKey"]),N=h(p,"nav"),j=!1,k=Object(r.useContext)(Y),S=Object(r.useContext)(ye);return k?(a=k.bsPrefix,j=null==y||y):S&&(l=S.cardHeaderBsPrefix),i.a.createElement(Se,o({as:m,ref:t,activeKey:O,className:s()(E,(n={},n[N]=!j,n[a+"-nav"]=j,n[l+"-"+v]=!!l,n[N+"-"+v]=!!v,n[N+"-fill"]=g,n[N+"-justified"]=b,n))},x),w)}));Fe.displayName="Nav",Fe.defaultProps={justify:!1,fill:!1},Fe.Item=Pe,Fe.Link=_e;var qe=Fe,Ke=(n("+eM2"),"/"),Ve="/blog",ze="/projects",Be="/blog/:blogId",He="/resume";function Ue(e){if(null==e)throw new TypeError("Cannot destructure undefined")}var Ge=n("Wbzz"),Je=i.a.forwardRef((function(e,t){var n=e.bsPrefix,a=e.variant,r=e.size,l=e.active,u=e.className,f=e.block,d=e.type,m=e.as,p=c(e,["bsPrefix","variant","size","active","className","block","type","as"]),v=h(n,"btn"),g=s()(u,v,l&&"active",a&&v+"-"+a,f&&v+"-block",r&&v+"-"+r);if(p.href)return i.a.createElement(Re,o({},p,{as:m,ref:t,className:s()(g,p.disabled&&"disabled")}));t&&(p.ref=t),d?p.type=d:m||(p.type="button");var b=m||"button";return i.a.createElement(b,o({},p,{className:g}))}));Je.displayName="Button",Je.defaultProps={variant:"primary",active:!1,disabled:!1};var We=Je;function Ze(e){var t=e.labels,n=e.activeLabels,a=e.scrollToLabel;return i.a.createElement("div",{className:"sidebar"},t.map((function(e,t){return i.a.createElement("div",{key:t,onClick:function(){return a(e)},className:$e(n,e)?"selected sidebar-button":"sidebar-button"},e)})))}function $e(e,t){var n=function(e){for(var t in e){var n=e[t];if(n&&n.percentage>=1)return t}return null}(e);return n?n===t:function(e){var t=0,n=null;for(var a in e){var r=e[a];r&&r.height>t&&(t=r.height,n=a)}return n}(e)===t}function Xe(e){return Array.isArray(e)?e.reduce((function(e,t){return e.concat(t)}),[]):[e]}var Ye=function(e){var t=e.children,n=e.hideSidebar,a=Object(r.useState)([]),o=a[0],c=a[1],l=Object(r.useState)({}),s=l[0],u=l[1],f=Object(r.useState)({}),d=f[0],m=f[1];Object(r.useEffect)((function(){c(Xe(t).map((function(e){return e.props.title})))}),[t]);var p=!n&&o.length>1;return i.a.createElement("div",{className:"container-with-sidebar"},i.a.createElement("div",{className:(p?"has-sidebar":"")+" actual-container"},Xe(t).map((function(e,t){return i.a.createElement(Qe,{onVisible:function(e,t,n){var a=s[e];if(!a||a.height!=t||a.percentage!=n){var r=Object.assign({},s);r[e]={height:t,percentage:n},u(r)}},onHidden:function(e){if(s[e]){var t=Object.assign({},s);t[e]=null,u(t)}},key:t,label:o[t],child:e,doScroll:d===o[t]})}))),p?i.a.createElement(Ze,{labels:o,activeLabels:s,scrollToLabel:m}):null)};function Qe(e){var t=e.child,n=e.onVisible,a=e.onHidden,o=e.label,c=e.doScroll,l=Object(r.useRef)(null),s=l&&l.current;return Object(r.useEffect)((function(){if(s){var e=new IntersectionObserver((function(e){var t=e[0];t.isIntersecting?n(o,t.intersectionRect.height,t.intersectionRatio):a(o)}),{threshold:[.1,.2,.3,.4,.5,.6,.7,.8,.9]});return e.observe(s),function(){return e.disconnect()}}}),[s,n,a,o]),Object(r.useEffect)((function(){c&&s&&window.scrollTo({behavior:"smooth",left:0,top:s.offsetTop-60})}),[s,c]),i.a.createElement("div",{ref:l,className:t.props.excludePadding?"exclude-padding":null},t)}Ye.Section=function(e){var t=e.children,n=e.title,a=e.showTitle,r=e.alignTitle,o=e.linkTo,c=e.useRouter,l=a?i.a.createElement(i.a.Fragment,null,i.a.createElement("h2",{style:{textAlign:r||"left"}},n),t?i.a.createElement(i.a.Fragment,null,t):null):i.a.createElement(i.a.Fragment,null,t);return o&&(l=i.a.createElement("a",{className:"section-link",href:o,onClick:function(e){c&&(e.preventDefault(),Object(Ge.c)(o))}},l)),l};var et=Ye;function tt(e){return Ue(e),i.a.createElement(et,{hideSidebar:!0},i.a.createElement(et.Section,{title:"Overview",excludePadding:!0},i.a.createElement("div",{className:"avatar-header-container"},i.a.createElement("div",null,i.a.createElement("div",{className:"name"},"Michael"),i.a.createElement("div",{className:"name"},"Adams"),i.a.createElement("div",{className:"subheader"},"Software Engineer")),i.a.createElement("div",{className:"ml-auto mr-auto"},i.a.createElement("img",{src:"profile_pic.jpg",className:"avatar"}))),i.a.createElement("div",{className:"easy-flex"},i.a.createElement(We,{variant:"secondary",href:"/resume.pdf"},"Download Resume"),i.a.createElement(We,{variant:"success",href:"/projects",onClick:(t=function(){return Object(Ge.c)("/projects")},function(e){return e.preventDefault(),t()})},"See cool stuff"))));var t}function nt(e){var t=e.post;return i.a.createElement("div",{className:"post"},i.a.createElement("div",{className:"date-title post"},i.a.createElement("div",null,t.frontmatter.title),i.a.createElement("div",null,t.frontmatter.date)),i.a.createElement("div",null,t.excerpt))}function at(){return i.a.createElement(Ge.a,{query:"1448896683",render:function(e){var t=e.allMarkdownRemark.edges.filter((function(e){return!!e.node.frontmatter.date})).map((function(e,t){return i.a.createElement(et.Section,{key:t,title:e.node.frontmatter.title,linkTo:(n=e.node.frontmatter.slug,n.replace("blog_content","blog")),useRouter:!0},i.a.createElement(nt,{key:e.node.id,post:e.node}));var n}));return i.a.createElement(et,{hideSidebar:!0},i.a.createElement(et.Section,{title:"Blog Posts",showTitle:!0,alignTitle:"center"}),t)}})}function rt(){var e=Object(r.useState)(null),t=e[0],n=e[1],a=Object(r.useState)(null),o=a[0],c=a[1],l=Object(r.useState)(null),s=(l[0],l[1]);if(Object(r.useEffect)((function(){fetch(function(e){var t=e.replace("blog","page-data/blog_content");t.endsWith("/")||(t+="/");return t+="page-data.json"}(location.href)).then((function(e){e.ok&&e.json().then((function(e){var t=e.result.data.markdownRemark;c(t.frontmatter.title),s(t.frontmatter.date),n(function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=[],a=[],r=0;r<t.children.length;r++){var i=t.children[r];i&&(it(i.tagName)&&a.length>0&&(n.push(ot(a,n.length)),a=[]),a.push(i))}a.length>0&&n.push(ot(a,n.length));return n}(t.html))}))}))}),[location.href]),!t)return null;return i.a.createElement(et,{hideSidebar:!0},i.a.createElement(et.Section,{title:o,alignTitle:"center"},i.a.createElement("a",{className:"section-link icon-left",href:"/blog",onClick:function(e){e.preventDefault(),Object(Ge.c)("/blog")},style:{position:"absolute"}}),i.a.createElement("h2",{className:"centered"},o)),t)}function it(e){switch(e){case"H1":case"H2":case"H3":case"H4":case"H5":return!0}return!1}function ot(e,t){var n=null;it(e[0].tagName)&&(n=e[0].textContent);var a=e.map((function(e){return e.outerHTML})).join("");return i.a.createElement(et.Section,{title:n,key:t},i.a.createElement("div",{dangerouslySetInnerHTML:{__html:a}}))}function ct(e){return e.path==Ve?i.a.createElement(at,null):i.a.createElement(rt,null)}var lt=n("yzWE"),st=n("ma3e");function ut(){var e="#44bddc";return i.a.createElement("div",{className:"contact-links"},i.a.createElement("a",{target:"_blank",href:"https://www.twitter.com/loremdipso"},i.a.createElement(st.d,{className:"icon",fill:e})),i.a.createElement("a",{target:"_blank",href:"https://www.github.com/loremdipso"},i.a.createElement(st.b,{className:"icon",fill:e})),i.a.createElement("a",{target:"_blank",href:"https://www.linkedin.com/in/loremdipso"},i.a.createElement(st.c,{className:"icon",fill:e})),i.a.createElement("a",{href:"mailto:mtadams42@gmail.com"},i.a.createElement(st.a,{className:"icon",fill:e})))}var ft=n("YwZP");function dt(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 mt(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 mt(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}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 mt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var pt=["#B2EBF2","#BDBDBD","#448AFF","#FFFFFF","#FF5722","#3F51B5"];function vt(e){var t=e.children,n=Object(r.useRef)(null);return Object(r.useEffect)((function(){if(n&&n.current){var e=function(){var e=n.current;e.setAttribute("width",window.innerWidth+"px"),e.setAttribute("height",window.innerHeight+"px")};e(),window.addEventListener("resize",e);var t=(a=n.current,r=!1,i=a.getContext("2d"),o={shapes:[],rotation:0,rotationVelocity:0},c=0,requestAnimationFrame((function e(t){if(!r){var n=t-c;c>0&&(function(e,t,n){for(var a=e.length;a<120;a++)e.push(new ht(t));for(var r=e.length-1;r>=0;r--)e[r].updateAndKeep(n)||e.splice(r,1)}(o.shapes,a,n/1e3),function(e,t,n,a){n.clearRect(0,0,t.width,t.height),n.save();var r=t.width/2,i=t.height/2;n.translate(r,i),n.rotate(e.rotation*Math.PI/180),n.translate(-r,-i),e.rotation+=e.rotationVelocity*a;for(var o,c=dt(e.shapes);!(o=c()).done;)o.value.draw(n);n.restore()}(o,a,i,n/1e3)),n<25||(c=t),requestAnimationFrame(e)}})),function(){r=!0});return function(){window.removeEventListener("resize",e),t()}}var a,r,i,o,c}),[n]),i.a.createElement(i.a.Fragment,null,t,i.a.createElement("canvas",{className:"fancy-canvas",ref:n}))}var ht=function(){function e(e){var t,n;this.canvas=e,this.radius=0,this.pos={x:bt(20,e.width),y:bt(20,e.height)},this.targetPos={x:bt(20,e.width),y:bt(20,e.height)},this.velocityMagnitude=gt(2,5),this.targetRadius=bt(5,10),this.radiusVelocity=gt(1,2),this.radiusVelocity=gt(1,2),this.color=(n=bt(0,(t=pt).length),t[n]),this.calculateVelocity()}var t=e.prototype;return t.draw=function(e){e.fillStyle=this.color,e.beginPath(),e.arc(this.pos.x,this.pos.y,this.radius,0,2*Math.PI),e.fill()},t.calculateVelocity=function(){var e=this.pos.x-this.targetPos.x,t=this.pos.y-this.targetPos.y,n=Math.atan2(t,e);this.velocity={x:this.velocityMagnitude*Math.cos(n),y:this.velocityMagnitude*Math.sin(n)}},t.updateAndKeep=function(e){return this.pos.x+=this.velocity.x*e,this.pos.y+=this.velocity.y*e,this.radius<this.targetRadius?this.radius+=this.radiusVelocity*e:this.radius>this.targetRadius&&(this.radius-=this.radiusVelocity*e,this.targetRadius=-1),!(this.radius<0)},e}();function gt(e,t){return e+Math.floor(Math.random()*(t-e)*1e4)/1e4}function bt(e,t){return e+Math.floor(Math.random()*(t-e))}function yt(e){return Ue(e),i.a.createElement(et,{hideSidebar:!0},i.a.createElement(et.Section,{title:"Secret Santa",showTitle:!0,alignTitle:"center",linkTo:"https://loremdipso.github.io/secret_santa"},i.a.createElement("div",{className:"image-container"},i.a.createElement("img",{src:"/images/secret_santa.png",className:"simple-image small"}),i.a.createElement("div",null,"Simple client project to help me manage my yearly remote secret santas. Very similar in concept to"," ",i.a.createElement("a",{href:"https://arcanis.github.io/secretsanta/"},"this project"),", but with some extra features. Includes import/export functionality for if you play with the same group multiple years and don't want duplicate pairings."))),i.a.createElement(et.Section,{title:"Face API - Spooooooky",showTitle:!0,alignTitle:"center",linkTo:"https://loremdipso.github.io/spooky_face"},i.a.createElement("div",{className:"image-container"},i.a.createElement("img",{src:"/images/spooky.png",className:"simple-image small"}),i.a.createElement("div",null,"Another foray into facial recognition with"," ",i.a.createElement("a",{href:"https://justadudewhohacks.github.io/face-api.js/docs/index.html"},"face-api.js"),", this time with a halloween twist."))),i.a.createElement(et.Section,{title:"Face API - Expression Game",showTitle:!0,alignTitle:"center",linkTo:"https://loremdipso.github.io/face_game"},i.a.createElement("div",{className:"image-container"},i.a.createElement("img",{src:"/images/face_game.png",className:"simple-image small"}),i.a.createElement("div",null,"I wanted to play around with modern JavaScript facial recognition, which seems to be"," ",i.a.createElement("a",{href:"https://justadudewhohacks.github.io/face-api.js/docs/index.html"},"face-api.js"),". It was striking to me just how easy it was to get going. From requesting a camera feed to asking the library for the user's most likely expression, the whole project was very smooth."))),i.a.createElement(et.Section,{title:"Rust WASM - Tetris Clone",showTitle:!0,alignTitle:"center",linkTo:"https://loremdipso.github.io/rusty_tetris"},i.a.createElement("div",{className:"image-container"},i.a.createElement("img",{src:"/images/tetris.png",className:"simple-image small"}),i.a.createElement("div",null,"Bare-bones tetris clone built using the snake game as a template. It was very fast to make, in part because so much of the boilerplate was done, but also because Rust's advanced type system makes refactoring a breeze."))),i.a.createElement(et.Section,{title:"Rust WASM - Snake Game",showTitle:!0,alignTitle:"center",linkTo:"https://loremdipso.github.io/rusty_snake"},i.a.createElement("div",{className:"image-container"},i.a.createElement("img",{src:"/images/snake.png",className:"simple-image small"}),i.a.createElement("div",null,"Simple snake game built using HTML5 canvas and Rust's web assembly support. It was definitely more work than just writing JS by hand, and I doubt it's any faster. That said, it was a very fun project, and I wouldn't mind similar work in future. I can see Rust WASM being useful in another project when you care about correctness, or some large project where you care about maintenance costs."))),i.a.createElement(et.Section,{title:"taggenator",showTitle:!0,alignTitle:"center",linkTo:"https://github.com/loremdipso/taggenator"},i.a.createElement("div",null,"I've long wondered if we could improve on the traditional hierarchical file system. It's definitely been attempted before, many times (see",i.a.createElement("a",{href:"https://en.wikipedia.org/wiki/Semantic_file_system"},"this wiki page"),"). ",i.a.createElement("code",null,"taggenator"),", a CLI written in ",i.a.createElement("code",null,"go"),", is my take on it.")),i.a.createElement(et.Section,{title:"Resume Website and Resume Generator",showTitle:!0,alignTitle:"center",linkTo:"https://github.com/loremdipso/loremdipso.github.io"},i.a.createElement(i.a.Fragment,null,"Take a gander at the source behind this very site and the program that generates my resume from a simple"," ",i.a.createElement("code",null,".yaml")," file.")))}function Et(e){console.warn("[react-ga]",e)}function wt(e){return(wt="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})(e)}function Ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ot(Object(n),!0).forEach((function(t){Rt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nt(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function jt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kt(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function St(e,t){return(St=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ct(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(Sn){return!1}}();return function(){var n,a=At(e);if(t){var r=At(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Pt(this,n)}}function Pt(e,t){return!t||"object"!==wt(t)&&"function"!=typeof t?Tt(e):t}function Tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function At(e){return(At=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var It=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&St(e,t)}(o,e);var t,n,a,r=Ct(o);function o(){var e;jt(this,o);for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return Rt(Tt(e=r.call.apply(r,[this].concat(n))),"handleClick",(function(t){var n=e.props,a=n.target,r=n.eventLabel,i=n.to,c=n.onClick,l=n.trackerNames,s={label:r},u="_blank"!==a,f=!(t.ctrlKey||t.shiftKey||t.metaKey||1===t.button);u&&f?(t.preventDefault(),o.trackLink(s,(function(){window.location.href=i}),l)):o.trackLink(s,(function(){}),l),c&&c(t)})),e}return t=o,(n=[{key:"render",value:function(){var e=this.props,t=e.to,n=e.target,a=xt(xt({},Nt(e,["to","target"])),{},{target:n,href:t,onClick:this.handleClick});return"_blank"===n&&(a.rel="".concat(a.rel?a.rel:""," noopener noreferrer").trim()),delete a.eventLabel,delete a.trackerNames,i.a.createElement("a",a)}}])&&kt(t.prototype,n),a&&kt(t,a),o}(r.Component);Rt(It,"trackLink",(function(){Et("ga tracking not enabled")})),It.defaultProps={target:null,to:null,onClick:null,trackerNames:null};function Dt(e){return"string"==typeof(t=e)&&-1!==t.indexOf("@")?(Et("This arg looks like an email address, redacting."),"REDACTED (Potential Email Address)"):e;var t}function Lt(e){return e&&e.toString().replace(/^\s+|\s+$/g,"")}var Mt=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function _t(e){return Lt(e).replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,n){return t>0&&t+e.length!==n.length&&e.search(Mt)>-1&&":"!==n.charAt(t-2)&&("-"!==n.charAt(t+e.length)||"-"===n.charAt(t-1))&&n.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)}))}var Ft=!1;function qt(e){console.info("[react-ga]",e)}var Kt=[],Vt={calls:Kt,ga:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Kt.push([].concat(t))},resetCalls:function(){Kt.length=0}};function zt(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ut(e){return(Ut="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})(e)}function Gt(e){return function(e){if(Array.isArray(e))return Jt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Jt(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 Jt(e,t)}(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.")}()}function Jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var Wt="undefined"==typeof window||"undefined"==typeof document,Zt=!1,$t=!0,Xt=!1,Yt=!0,Qt=!0,en=function(){var e;return Xt?Vt.ga.apply(Vt,arguments):!Wt&&(window.ga?(e=window).ga.apply(e,arguments):Et("ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually"))};function tn(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=e||"";return t&&(a=_t(e)),n&&(a=Dt(a)),a}(e,$t,Qt)}function nn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r=n[0];"string"==typeof r?(!Yt&&Array.isArray(e)||en.apply(void 0,n),Array.isArray(e)&&e.forEach((function(e){en.apply(void 0,Gt(["".concat(e,".").concat(r)].concat(n.slice(1))))}))):Et("ga command must be a string")}function an(e,t){e?t&&(t.debug&&!0===t.debug&&(Zt=!0),!1===t.titleCase&&($t=!1),!1===t.redactEmail&&(Qt=!1),t.useExistingGa)||(t&&t.gaOptions?en("create",e,t.gaOptions):en("create",e,"auto")):Et("gaTrackingID is required in initialize()")}function rn(e,t){return Array.isArray(e)?e.forEach((function(e){"object"===Ut(e)?an(e.trackingId,e):Et("All configs must be an object")})):an(e,t),!0}function on(e,t){if(t&&!0===t.testMode)Xt=!0;else{if(Wt)return;t&&!0===t.standardImplementation||function(e){if(!Ft){Ft=!0;var t="https://www.google-analytics.com/analytics.js";e&&e.gaAddress?t=e.gaAddress:e&&e.debug&&(t="https://www.google-analytics.com/analytics_debug.js");var n,a,r,i,o,c,l,s=e&&e.onerror;n=window,a=document,r="script",i=t,o="ga",n.GoogleAnalyticsObject=o,n.ga=n.ga||function(){(n.ga.q=n.ga.q||[]).push(arguments)},n.ga.l=1*new Date,c=a.createElement(r),l=a.getElementsByTagName(r)[0],c.async=1,c.src=i,c.onerror=s,l.parentNode.insertBefore(c,l)}}(t)}Yt=!t||"boolean"!=typeof t.alwaysSendToDefaultTracker||t.alwaysSendToDefaultTracker,rn(e,t)}function cn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length>0&&(en.apply(void 0,t),Zt&&(qt("called ga('arguments');"),qt("with arguments: ".concat(JSON.stringify(t))))),window.ga}function ln(e,t){e?"object"===Ut(e)?(0===Object.keys(e).length&&Et("empty `fieldsObject` given to .set()"),nn(t,"set",e),Zt&&(qt("called ga('set', fieldsObject);"),qt("with fieldsObject: ".concat(JSON.stringify(e))))):Et("Expected `fieldsObject` arg to be an Object"):Et("`fieldsObject` is required in .set()")}function sn(e,t){nn(t,"send",e),Zt&&(qt("called ga('send', fieldObject);"),qt("with fieldObject: ".concat(JSON.stringify(e))),qt("with trackers: ".concat(JSON.stringify(t))))}function un(e,t,n){if(e){var a=Lt(e);if(""!==a){var r={};if(n&&(r.title=n),nn(t,"send",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bt(Object(n),!0).forEach((function(t){Ht(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({hitType:"pageview",page:a},r)),Zt){qt("called ga('send', 'pageview', path);");var i="";n&&(i=" and title: ".concat(n)),qt("with path: ".concat(a).concat(i))}}else Et("path cannot be an empty string in .pageview()")}else Et("path is required in .pageview()")}function fn(e,t){if(e){var n,a="/"===(n=Lt(e)).substring(0,1)?n.substring(1):n;if(""!==a){var r="/modal/".concat(a);nn(t,"send","pageview",r),Zt&&(qt("called ga('send', 'pageview', path);"),qt("with path: ".concat(r)))}else Et("modalName cannot be an empty string or a single / in .modalview()")}else Et("modalName is required in .modalview(modalName)")}function dn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.variable,a=e.value,r=e.label,i=arguments.length>1?arguments[1]:void 0;if(t&&n&&"number"==typeof a){var o={hitType:"timing",timingCategory:tn(t),timingVar:tn(n),timingValue:a};r&&(o.timingLabel=tn(r)),sn(o,i)}else Et("args.category, args.variable AND args.value are required in timing() AND args.value has to be a number")}function mn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.action,a=e.label,r=e.value,i=e.nonInteraction,o=e.transport,c=zt(e,["category","action","label","value","nonInteraction","transport"]),l=arguments.length>1?arguments[1]:void 0;if(t&&n){var s={hitType:"event",eventCategory:tn(t),eventAction:tn(n)};a&&(s.eventLabel=tn(a)),void 0!==r&&("number"!=typeof r?Et("Expected `args.value` arg to be a Number."):s.eventValue=r),void 0!==i&&("boolean"!=typeof i?Et("`args.nonInteraction` must be a boolean."):s.nonInteraction=i),void 0!==o&&("string"!=typeof o?Et("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(o)&&Et("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),s.transport=o)),Object.keys(c).filter((function(e){return"dimension"===e.substr(0,"dimension".length)})).forEach((function(e){s[e]=c[e]})),Object.keys(c).filter((function(e){return"metric"===e.substr(0,"metric".length)})).forEach((function(e){s[e]=c[e]})),sn(s,l)}else Et("args.category AND args.action are required in event()")}function pn(e,t){var n=e.description,a=e.fatal,r={hitType:"exception"};n&&(r.exDescription=tn(n)),void 0!==a&&("boolean"!=typeof a?Et("`args.fatal` must be a boolean."):r.exFatal=a),sn(r,t)}var vn={require:function(e,t,n){if(e){var a=Lt(e);if(""!==a){var r=n?"".concat(n,".require"):"require";if(t){if("object"!==Ut(t))return void Et("Expected `options` arg to be an Object");0===Object.keys(t).length&&Et("Empty `options` given to .require()"),cn(r,a,t),Zt&&qt("called ga('require', '".concat(a,"', ").concat(JSON.stringify(t)))}else cn(r,a),Zt&&qt("called ga('require', '".concat(a,"');"))}else Et("`name` cannot be an empty string in .require()")}else Et("`name` is required in .require()")},execute:function(e,t){for(var n,a,r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];if(1===i.length?n=i[0]:(a=i[0],n=i[1]),"string"!=typeof e)Et("Expected `pluginName` arg to be a String.");else if("string"!=typeof t)Et("Expected `action` arg to be a String.");else{var c="".concat(e,":").concat(t);n=n||null,a&&n?(cn(c,a,n),Zt&&(qt("called ga('".concat(c,"');")),qt('actionType: "'.concat(a,'" with payload: ').concat(JSON.stringify(n))))):n?(cn(c,n),Zt&&(qt("called ga('".concat(c,"');")),qt("with payload: ".concat(JSON.stringify(n))))):(cn(c),Zt&&qt("called ga('".concat(c,"');")))}}};function hn(e,t,n){if("function"==typeof t)if(e&&e.label){var a={hitType:"event",eventCategory:"Outbound",eventAction:"Click",eventLabel:tn(e.label)},r=!1,i=setTimeout((function(){r=!0,t()}),250);a.hitCallback=function(){clearTimeout(i),r||t()},sn(a,n)}else Et("args.label is required in outboundLink()");else Et("hitCallback function is required")}var gn=Vt,bn={initialize:on,ga:cn,set:ln,send:sn,pageview:un,modalview:fn,timing:dn,event:mn,exception:pn,plugin:vn,outboundLink:hn,testModeAPI:Vt};function yn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function En(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yn(Object(n),!0).forEach((function(t){wn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}It.origTrackLink=It.trackLink,It.trackLink=hn;var On=It,xn=En(En({},a),{},{OutboundLink:On});function Nn(){return Object(r.useEffect)((function(){var e=window.location.href||"";e&&e.length&&"/"==e[e.length-1]&&(e=e.slice(0,e.length-1),Object(Ge.c)(e))}),[]),Object(r.useEffect)((function(){xn.initialize("UA-182108157-1"),xn.pageview(window.location.pathname+window.location.search)}),[]),i.a.createElement(i.a.Fragment,null,i.a.createElement(ge,{bg:"dark",variant:"dark",sticky:"top",expand:"sm",collapseOnSelect:!0,className:"fancy-header"},i.a.createElement(ge.Toggle,{"aria-controls":"basic-navbar-nav"}),i.a.createElement(ge.Collapse,null,i.a.createElement(qe,null,i.a.createElement(jn,{to:Ke},"About"),i.a.createElement(jn,{to:ze},"Projects"),i.a.createElement(jn,{to:Ve},"Blog"),i.a.createElement(jn,{to:He},"Resume")),i.a.createElement(qe,{className:"ml-auto"},i.a.createElement(ut,null)))),i.a.createElement(kn,null,i.a.createElement(tt,{path:Ke}),i.a.createElement(yt,{path:ze}),i.a.createElement(ct,{path:Ve}),i.a.createElement(ct,{path:Be}),i.a.createElement(lt.b,{path:He})))}function jn(e){return i.a.createElement(qe.Link,{as:ft.Link,to:e.to,className:"nav-link",eventKey:"1",getProps:function(e){return{className:e.isCurrent?"nav-link selected":"nav-link"}}},e.children)}function kn(e){var t=e.children;return i.a.createElement(vt,null,i.a.createElement(ft.Location,null,(function(e){var n=e.location;return i.a.createElement(ft.Router,{location:n},t)})))}},SJxq:function(e,t,n){"use strict";t.a=!("undefined"==typeof window||!window.document||!window.document.createElement)},TSYQ:function(e,t,n){var a;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var i=typeof a;if("string"===i||"number"===i)e.push(a);else if(Array.isArray(a)&&a.length){var o=r.apply(null,a);o&&e.push(o)}else if("object"===i)for(var c in a)n.call(a,c)&&a[c]&&e.push(c)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()},dZvc:function(e,t,n){"use strict";function a(e){return e&&e.ownerDocument||document}n.d(t,"a",(function(){return a}))},pvIh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n,a,r,i,o){var c=r||"<<anonymous>>",l=o||a;if(null==n[a])return t?new Error("Required "+i+" `"+l+"` was not specified in `"+c+"`."):null;for(var s=arguments.length,u=Array(s>6?s-6:0),f=6;f<s;f++)u[f-6]=arguments[f];return e.apply(void 0,[n,a,c,i,l].concat(u))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},e.exports=t.default},yzWE:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return m}));var a=n("q1tI"),r=n.n(a);function i(e){var t=e.data;return r.a.createElement(r.a.Fragment,null,t.map((function(e,t){return r.a.createElement("div",{className:"teamheader",key:t},r.a.createElement("div",{className:"name"},r.a.createElement("a",{href:e.website},e.description),e.degree&&r.a.createElement("div",{className:"subtitle degree"},e.degree),e.extra&&r.a.createElement("div",{className:"subtitle extra"},e.extra)),r.a.createElement("div",{className:"period"},e.period))})))}function o(e){var t=e.data;return r.a.createElement("div",null,t.map((function(e,t){return r.a.createElement(r.a.Fragment,{key:t},e.positions.map((function(t,n){return r.a.createElement(r.a.Fragment,{key:n},r.a.createElement("div",{className:"teamheader"},r.a.createElement("div",{className:"name"},r.a.createElement("div",{className:"label"},"company"),r.a.createElement("a",{href:e.company.website,className:"companyname"},e.company.name),r.a.createElement("div",{className:"subtitle"},e.company.description)),r.a.createElement("div",{className:"period"},t.period)),r.a.createElement(c,{position:t}))})))})))}function c(e){var t=e.position;return r.a.createElement("div",{className:"teams"},t.teams.map((function(e,t){return r.a.createElement("div",{key:t},r.a.createElement(l,{team:e}))})))}function l(e){var t=e.team;return r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{className:"teamheader"},r.a.createElement("div",{className:"name"},r.a.createElement("div",null,r.a.createElement("div",{className:"label"},"team"),r.a.createElement("div",{className:"teamname"},t.name)),r.a.createElement("div",{className:"subtitle"},t.description)),r.a.createElement("div",{className:"period"},t.period)),t.projects&&t.projects.map((function(e,t){return r.a.createElement("div",{key:t,className:"project"},e)})))}function s(e){var t=e.data,n=r.a.useContext(d);return r.a.createElement("div",{className:"contacts"},2===n&&r.a.createElement("div",{className:"header"},"Personal Info"),t.email&&r.a.createElement(u,{name:"Email"},r.a.createElement("div",null,t.email)),r.a.createElement(u,{name:"Mobile"},r.a.createElement("div",null,t.phone)))}function u(e){switch(r.a.useContext(d)){case 2:return r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{className:"label"},e.name),r.a.createElement("div",null,e.children));default:return r.a.createElement(r.a.Fragment,null,r.a.createElement("div",null,e.children),r.a.createElement("div",{className:"label"},e.name))}}function f(e){var t=e.data;return r.a.createElement("div",{className:"namesection"},r.a.createElement("div",{className:"name"},t.name.first," ",t.name.last),r.a.createElement("div",{className:"position"},t.position))}n("+m2C");var d=r.a.createContext(1);function m(e){var t=Object(a.useState)(null),n=t[0],i=t[1],o=Object(a.useState)(1),c=o[0],l=o[1],s=Object(a.useState)(!1),u=s[0],f=s[1];return Object(a.useEffect)((function(){var e=new URLSearchParams(window.location.search);e.has("debug")&&f(!0),e.has("version")&&l(parseInt(e.get("version")))}),[]),Object(a.useEffect)((function(){fetch("/resume.json").then((function(e){e.ok&&e.json().then(i)}))}),[]),null===n?null:r.a.createElement(d.Provider,{value:c},u&&r.a.createElement("button",{onClick:function(){l(1===c?2:1)}},"Toggle"),r.a.createElement(p,{data:n}))}function p(e){var t=e.data;switch(r.a.useContext(d)){case 2:return r.a.createElement("div",{className:"resume take2"},r.a.createElement("div",{className:"content"},r.a.createElement("div",{className:"header"},r.a.createElement(f,{data:t})),r.a.createElement("div",{className:"body"},r.a.createElement("div",{className:"lefter"},r.a.createElement("div",{className:"section"},r.a.createElement("div",{className:"header"},"Experience"),r.a.createElement(o,{data:t.experiences})),r.a.createElement("div",{className:"section"},r.a.createElement("div",{className:"header"},"Education"),r.a.createElement(i,{data:t.educations}))),r.a.createElement("div",{className:"sidebar"},r.a.createElement(s,{data:t.contact})))));default:return r.a.createElement("div",{className:"resume take1"},r.a.createElement("div",{className:"content"},r.a.createElement("div",{className:"grid"},r.a.createElement("div",null,r.a.createElement(f,{data:t})),r.a.createElement("div",null,r.a.createElement(s,{data:t.contact}))),r.a.createElement("div",{className:"section"},r.a.createElement("div",{className:"header"},"Experience"),r.a.createElement(o,{data:t.experiences})),r.a.createElement("div",{className:"section"},r.a.createElement("div",{className:"header"},"Education"),r.a.createElement(i,{data:t.educations}))))}}}}]);
  //# sourceMappingURL=component---src-pages-index-tsx-5256c0fd27d319ef5cce.js.map