text: (window.webpackJsonp=window.webpackJsonp||[]).push([[6],{"/PZL":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={defaultEasing:function(e){return e<.5?Math.pow(2*e,2)/2:1-Math.pow(2*(1-e),2)/2},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:(4-2*e)*e-1},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}}},"7FV1":function(e,t,n){"use strict";var a=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},r=function(){function e(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)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n("q1tI"),u=(n("i8i4"),n("xFC4"),n("wT0s")),c=n("zPnG"),d=n("17x9"),f=n("Dy/p"),p={to:d.string.isRequired,containerId:d.string,container:d.object,activeClass:d.string,spy:d.bool,smooth:d.oneOfType([d.bool,d.string]),offset:d.number,delay:d.number,isDynamic:d.bool,onClick:d.func,duration:d.oneOfType([d.number,d.func]),absolute:d.bool,onSetActive:d.func,onSetInactive:d.func,ignoreCancelEvents:d.bool,hashSpy:d.bool},m={Scroll:function(e,t){console.warn("Helpers.Scroll is deprecated since v1.7.0");var n=t||c,d=function(t){function c(e){i(this,c);var t=o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return m.call(t),t.state={active:!1},t}return s(c,t),r(c,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();u.isMounted(e)||u.mount(e),this.props.hashSpy&&(f.isMounted()||f.mount(n),f.mapContainer(this.props.to,e)),this.props.spy&&u.addStateHandler(this.stateHandler),u.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){u.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n=a({},this.props);for(var r in p)n.hasOwnProperty(r)&&delete n[r];return n.className=t,n.onClick=this.handleClick,l.createElement(e,n)}}]),c}(l.Component),m=function(){var e=this;this.scrollTo=function(t,r){n.scrollTo(t,a({},e.state,r))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.stateHandler=function(){n.getActiveLink()!==e.props.to&&(null!==e.state&&e.state.active&&e.props.onSetInactive&&e.props.onSetInactive(),e.setState({active:!1}))},this.spyHandler=function(t){var a=e.getScrollSpyContainer();if(!f.isMounted()||f.isInitialized()){var r=e.props.to,i=null,o=0,s=0,l=0;if(a.getBoundingClientRect)l=a.getBoundingClientRect().top;if(!i||e.props.isDynamic){if(!(i=n.get(r)))return;var c=i.getBoundingClientRect();s=(o=c.top-l+t)+c.height}var d=t-e.props.offset,p=d>=Math.floor(o)&&d<Math.floor(s),m=d<Math.floor(o)||d>=Math.floor(s),h=n.getActiveLink();return m?(r===h&&n.setActiveLink(void 0),e.props.hashSpy&&f.getHash()===r&&f.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive()),u.updateStates()):p&&h!==r?(n.setActiveLink(r),e.props.hashSpy&&f.changeHash(r),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(r)),u.updateStates()):void 0}}};return d.propTypes=p,d.defaultProps={offset:0},d},Element:function(e){console.warn("Helpers.Element is deprecated since v1.7.0");var t=function(t){function n(e){i(this,n);var t=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}return s(n,t),r(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;c.unregister(this.props.name)}},{key:"registerElems",value:function(e){c.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return l.createElement(e,a({},this.props,{parentBindings:this.childBindings}))}}]),n}(l.Component);return t.propTypes={name:d.string,id:d.string},t}};e.exports=m},"7wkA":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(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)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=o(n("q1tI")),i=o(n("pUFB"));function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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}var u=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).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),a(t,[{key:"render",value:function(){return r.default.createElement("input",this.props,this.props.children)}}]),t}(r.default.Component);t.default=(0,i.default)(u)},"8QoP":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("QLqi"),r=["mousedown","mousewheel","touchmove","keydown"];t.default={subscribe:function(e){return"undefined"!=typeof document&&r.forEach((function(t){return(0,a.addPassiveEventListener)(document,t,e)}))}}},"9eSz":function(e,t,n){"use strict";var a=n("TqRt");t.__esModule=!0,t.default=void 0;var r,i=a(n("PJYZ")),o=a(n("VbXa")),s=a(n("8OQS")),l=a(n("pVnL")),u=a(n("q1tI")),c=a(n("17x9")),d=function(e){var t=(0,l.default)({},e),n=t.resolutions,a=t.sizes,r=t.critical;return n&&(t.fixed=n,delete t.resolutions),a&&(t.fluid=a,delete t.sizes),r&&(t.loading="eager"),t.fluid&&(t.fluid=O([].concat(t.fluid))),t.fixed&&(t.fixed=O([].concat(t.fixed))),t},f=function(e){var t=e.media;return!!t&&(b&&!!window.matchMedia(t).matches)},p=function(e){var t=e.fluid,n=e.fixed,a=m(t||n||[]);return a&&a.src},m=function(e){if(b&&function(e){return!!e&&Array.isArray(e)&&e.some((function(e){return void 0!==e.media}))}(e)){var t=e.findIndex(f);if(-1!==t)return e[t];var n=e.findIndex((function(e){return void 0===e.media}));if(-1!==n)return e[n]}return e[0]},h=Object.create({}),g=function(e){var t=d(e),n=p(t);return h[n]||!1},v="undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype,b="undefined"!=typeof window,y=b&&window.IntersectionObserver,E=new WeakMap;function w(e){return e.map((function(e){var t=e.src,n=e.srcSet,a=e.srcSetWebp,r=e.media,i=e.sizes;return u.default.createElement(u.default.Fragment,{key:t},a&&u.default.createElement("source",{type:"image/webp",media:r,srcSet:a,sizes:i}),n&&u.default.createElement("source",{media:r,srcSet:n,sizes:i}))}))}function O(e){var t=[],n=[];return e.forEach((function(e){return(e.media?t:n).push(e)})),[].concat(t,n)}function S(e){return e.map((function(e){var t=e.src,n=e.media,a=e.tracedSVG;return u.default.createElement("source",{key:t,media:n,srcSet:a})}))}function j(e){return e.map((function(e){var t=e.src,n=e.media,a=e.base64;return u.default.createElement("source",{key:t,media:n,srcSet:a})}))}function _(e,t){var n=e.srcSet,a=e.srcSetWebp,r=e.media,i=e.sizes;return"<source "+(t?"type='image/webp' ":"")+(r?'media="'+r+'" ':"")+'srcset="'+(t?a:n)+'" '+(i?'sizes="'+i+'" ':"")+"/>"}var P=function(e,t){var n=(void 0===r&&"undefined"!=typeof window&&window.IntersectionObserver&&(r=new window.IntersectionObserver((function(e){e.forEach((function(e){if(E.has(e.target)){var t=E.get(e.target);(e.isIntersecting||e.intersectionRatio>0)&&(r.unobserve(e.target),E.delete(e.target),t())}}))}),{rootMargin:"200px"})),r);return n&&(n.observe(e),E.set(e,t)),function(){n.unobserve(e),E.delete(e)}},C=function(e){var t=e.src?'src="'+e.src+'" ':'src="" ',n=e.sizes?'sizes="'+e.sizes+'" ':"",a=e.srcSet?'srcset="'+e.srcSet+'" ':"",r=e.title?'title="'+e.title+'" ':"",i=e.alt?'alt="'+e.alt+'" ':'alt="" ',o=e.width?'width="'+e.width+'" ':"",s=e.height?'height="'+e.height+'" ':"",l=e.crossOrigin?'crossorigin="'+e.crossOrigin+'" ':"",u=e.loading?'loading="'+e.loading+'" ':"",c=e.draggable?'draggable="'+e.draggable+'" ':"";return"<picture>"+e.imageVariants.map((function(e){return(e.srcSetWebp?_(e,!0):"")+_(e)})).join("")+"<img "+u+o+s+n+a+t+i+r+l+c+'style="position:absolute;top:0;left:0;opacity:1;width:100%;height:100%;object-fit:cover;object-position:center"/></picture>'},x=u.default.forwardRef((function(e,t){var n=e.src,a=e.imageVariants,r=e.generateSources,i=e.spreadProps,o=e.ariaHidden,s=u.default.createElement(k,(0,l.default)({ref:t,src:n},i,{ariaHidden:o}));return a.length>1?u.default.createElement("picture",null,r(a),s):s})),k=u.default.forwardRef((function(e,t){var n=e.sizes,a=e.srcSet,r=e.src,i=e.style,o=e.onLoad,c=e.onError,d=e.loading,f=e.draggable,p=e.ariaHidden,m=(0,s.default)(e,["sizes","srcSet","src","style","onLoad","onError","loading","draggable","ariaHidden"]);return u.default.createElement("img",(0,l.default)({"aria-hidden":p,sizes:n,srcSet:a,src:r},m,{onLoad:o,onError:c,ref:t,loading:d,draggable:f,style:(0,l.default)({position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"},i)}))}));k.propTypes={style:c.default.object,onError:c.default.func,onLoad:c.default.func};var T=function(e){function t(t){var n;(n=e.call(this,t)||this).seenBefore=b&&g(t),n.isCritical="eager"===t.loading||t.critical,n.addNoScript=!(n.isCritical&&!t.fadeIn),n.useIOSupport=!v&&y&&!n.isCritical&&!n.seenBefore;var a=n.isCritical||b&&(v||!n.useIOSupport);return n.state={isVisible:a,imgLoaded:!1,imgCached:!1,fadeIn:!n.seenBefore&&t.fadeIn,isHydrated:!1},n.imageRef=u.default.createRef(),n.placeholderRef=t.placeholderRef||u.default.createRef(),n.handleImageLoaded=n.handleImageLoaded.bind((0,i.default)(n)),n.handleRef=n.handleRef.bind((0,i.default)(n)),n}(0,o.default)(t,e);var n=t.prototype;return n.componentDidMount=function(){if(this.setState({isHydrated:b}),this.state.isVisible&&"function"==typeof this.props.onStartLoad&&this.props.onStartLoad({wasCached:g(this.props)}),this.isCritical){var e=this.imageRef.current;e&&e.complete&&this.handleImageLoaded()}},n.componentWillUnmount=function(){this.cleanUpListeners&&this.cleanUpListeners()},n.handleRef=function(e){var t=this;this.useIOSupport&&e&&(this.cleanUpListeners=P(e,(function(){var e=g(t.props);t.state.isVisible||"function"!=typeof t.props.onStartLoad||t.props.onStartLoad({wasCached:e}),t.setState({isVisible:!0},(function(){t.setState({imgLoaded:e,imgCached:!(!t.imageRef.current||!t.imageRef.current.currentSrc)})}))})))},n.handleImageLoaded=function(){var e,t,n;e=this.props,t=d(e),(n=p(t))&&(h[n]=!0),this.setState({imgLoaded:!0}),this.props.onLoad&&this.props.onLoad()},n.render=function(){var e=d(this.props),t=e.title,n=e.alt,a=e.className,r=e.style,i=void 0===r?{}:r,o=e.imgStyle,s=void 0===o?{}:o,c=e.placeholderStyle,f=void 0===c?{}:c,p=e.placeholderClassName,h=e.fluid,g=e.fixed,v=e.backgroundColor,b=e.durationFadeIn,y=e.Tag,E=e.itemProp,O=e.loading,_=e.draggable,P=h||g;if(!P)return null;var T=!1===this.state.fadeIn||this.state.imgLoaded,M=!0===this.state.fadeIn&&!this.state.imgCached,L=(0,l.default)({opacity:T?1:0,transition:M?"opacity "+b+"ms":"none"},s),N="boolean"==typeof v?"lightgray":v,H={transitionDelay:b+"ms"},I=(0,l.default)({opacity:this.state.imgLoaded?0:1},M&&H,s,f),R={title:t,alt:this.state.isVisible?"":n,style:I,className:p,itemProp:E},q=this.state.isHydrated?m(P):P[0];if(h)return u.default.createElement(y,{className:(a||"")+" gatsby-image-wrapper",style:(0,l.default)({position:"relative",overflow:"hidden",maxWidth:q.maxWidth?q.maxWidth+"px":null,maxHeight:q.maxHeight?q.maxHeight+"px":null},i),ref:this.handleRef,key:"fluid-"+JSON.stringify(q.srcSet)},u.default.createElement(y,{"aria-hidden":!0,style:{width:"100%",paddingBottom:100/q.aspectRatio+"%"}}),N&&u.default.createElement(y,{"aria-hidden":!0,title:t,style:(0,l.default)({backgroundColor:N,position:"absolute",top:0,bottom:0,opacity:this.state.imgLoaded?0:1,right:0,left:0},M&&H)}),q.base64&&u.default.createElement(x,{ariaHidden:!0,ref:this.placeholderRef,src:q.base64,spreadProps:R,imageVariants:P,generateSources:j}),q.tracedSVG&&u.default.createElement(x,{ariaHidden:!0,ref:this.placeholderRef,src:q.tracedSVG,spreadProps:R,imageVariants:P,generateSources:S}),this.state.isVisible&&u.default.createElement("picture",null,w(P),u.default.createElement(k,{alt:n,title:t,sizes:q.sizes,src:q.src,crossOrigin:this.props.crossOrigin,srcSet:q.srcSet,style:L,ref:this.imageRef,onLoad:this.handleImageLoaded,onError:this.props.onError,itemProp:E,loading:O,draggable:_})),this.addNoScript&&u.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:C((0,l.default)({alt:n,title:t,loading:O},q,{imageVariants:P}))}}));if(g){var z=(0,l.default)({position:"relative",overflow:"hidden",display:"inline-block",width:q.width,height:q.height},i);return"inherit"===i.display&&delete z.display,u.default.createElement(y,{className:(a||"")+" gatsby-image-wrapper",style:z,ref:this.handleRef,key:"fixed-"+JSON.stringify(q.srcSet)},N&&u.default.createElement(y,{"aria-hidden":!0,title:t,style:(0,l.default)({backgroundColor:N,width:q.width,opacity:this.state.imgLoaded?0:1,height:q.height},M&&H)}),q.base64&&u.default.createElement(x,{ariaHidden:!0,ref:this.placeholderRef,src:q.base64,spreadProps:R,imageVariants:P,generateSources:j}),q.tracedSVG&&u.default.createElement(x,{ariaHidden:!0,ref:this.placeholderRef,src:q.tracedSVG,spreadProps:R,imageVariants:P,generateSources:S}),this.state.isVisible&&u.default.createElement("picture",null,w(P),u.default.createElement(k,{alt:n,title:t,width:q.width,height:q.height,sizes:q.sizes,src:q.src,crossOrigin:this.props.crossOrigin,srcSet:q.srcSet,style:L,ref:this.imageRef,onLoad:this.handleImageLoaded,onError:this.props.onError,itemProp:E,loading:O,draggable:_})),this.addNoScript&&u.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:C((0,l.default)({alt:n,title:t,loading:O},q,{imageVariants:P}))}}))}return null},t}(u.default.Component);T.defaultProps={fadeIn:!0,durationFadeIn:500,alt:"",Tag:"div",loading:"lazy"};var M=c.default.shape({width:c.default.number.isRequired,height:c.default.number.isRequired,src:c.default.string.isRequired,srcSet:c.default.string.isRequired,base64:c.default.string,tracedSVG:c.default.string,srcWebp:c.default.string,srcSetWebp:c.default.string,media:c.default.string}),L=c.default.shape({aspectRatio:c.default.number.isRequired,src:c.default.string.isRequired,srcSet:c.default.string.isRequired,sizes:c.default.string.isRequired,base64:c.default.string,tracedSVG:c.default.string,srcWebp:c.default.string,srcSetWebp:c.default.string,media:c.default.string,maxWidth:c.default.number,maxHeight:c.default.number});function N(e){return function(t,n,a){var r;if(!t.fixed&&!t.fluid)throw new Error("The prop `fluid` or `fixed` is marked as required in `"+a+"`, but their values are both `undefined`.");c.default.checkPropTypes(((r={})[n]=e,r),t,"prop",a)}}T.propTypes={resolutions:M,sizes:L,fixed:N(c.default.oneOfType([M,c.default.arrayOf(M)])),fluid:N(c.default.oneOfType([L,c.default.arrayOf(L)])),fadeIn:c.default.bool,durationFadeIn:c.default.number,title:c.default.string,alt:c.default.string,className:c.default.oneOfType([c.default.string,c.default.object]),critical:c.default.bool,crossOrigin:c.default.oneOfType([c.default.string,c.default.bool]),style:c.default.object,imgStyle:c.default.object,placeholderStyle:c.default.object,placeholderClassName:c.default.string,backgroundColor:c.default.oneOfType([c.default.string,c.default.bool]),onLoad:c.default.func,onError:c.default.func,onStartLoad:c.default.func,Tag:c.default.string,itemProp:c.default.string,loading:c.default.oneOf(["auto","lazy","eager"]),draggable:c.default.bool};var H=T;t.default=H},"Dy/p":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n("QLqi");var a,r=n("xFC4"),i=(a=r)&&a.__esModule?a:{default:a};var o={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(e){this.scroller=e,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(e,t){this.containers[e]=t},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var e=this,t=this.getHash();t?window.setTimeout((function(){e.scrollTo(t,!0),e.initialized=!0}),10):this.initialized=!0},scrollTo:function(e,t){var n=this.scroller;if(n.get(e)&&(t||e!==n.getActiveLink())){var a=this.containers[e]||document;n.scrollTo(e,{container:a})}},getHash:function(){return i.default.getHash()},changeHash:function(e,t){this.isInitialized()&&i.default.getHash()!==e&&i.default.updateHash(e,t)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}};t.default=o},NEP4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=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},r=(s(n("xFC4")),s(n("/PZL"))),i=s(n("8QoP")),o=s(n("QQPg"));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return r.default[e.smooth]||r.default.defaultEasing},u=function(){if("undefined"!=typeof window)return window.requestAnimationFrame||window.webkitRequestAnimationFrame}()||function(e,t,n){window.setTimeout(e,n||1e3/60,(new Date).getTime())},c=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollLeft;var n=void 0!==window.pageXOffset,a="CSS1Compat"===(document.compatMode||"");return n?window.pageXOffset:a?document.documentElement.scrollLeft:document.body.scrollLeft},d=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollTop;var n=void 0!==window.pageXOffset,a="CSS1Compat"===(document.compatMode||"");return n?window.pageYOffset:a?document.documentElement.scrollTop:document.body.scrollTop},f=function e(t,n,a){var r=n.data;if(n.ignoreCancelEvents||!r.cancel)if(r.delta=Math.round(r.targetPosition-r.startPosition),null===r.start&&(r.start=a),r.progress=a-r.start,r.percent=r.progress>=r.duration?1:t(r.progress/r.duration),r.currentPosition=r.startPosition+Math.ceil(r.delta*r.percent),r.containerElement&&r.containerElement!==document&&r.containerElement!==document.body?n.horizontal?r.containerElement.scrollLeft=r.currentPosition:r.containerElement.scrollTop=r.currentPosition:n.horizontal?window.scrollTo(r.currentPosition,0):window.scrollTo(0,r.currentPosition),r.percent<1){var i=e.bind(null,t,n);u.call(window,i)}else o.default.registered.end&&o.default.registered.end(r.to,r.target,r.currentPosition);else o.default.registered.end&&o.default.registered.end(r.to,r.target,r.currentPositionY)},p=function(e){e.data.containerElement=e?e.containerId?document.getElementById(e.containerId):e.container&&e.container.nodeType?e.container:document:null},m=function(e,t,n,a){if(t.data=t.data||{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null},window.clearTimeout(t.data.delayTimeout),i.default.subscribe((function(){t.data.cancel=!0})),p(t),t.data.start=null,t.data.cancel=!1,t.data.startPosition=t.horizontal?c(t):d(t),t.data.targetPosition=t.absolute?e:e+t.data.startPosition,t.data.startPosition!==t.data.targetPosition){var r;t.data.delta=Math.round(t.data.targetPosition-t.data.startPosition),t.data.duration=("function"==typeof(r=t.duration)?r:function(){return r})(t.data.delta),t.data.duration=isNaN(parseFloat(t.data.duration))?1e3:parseFloat(t.data.duration),t.data.to=n,t.data.target=a;var s=l(t),m=f.bind(null,s,t);t&&t.delay>0?t.data.delayTimeout=window.setTimeout((function(){o.default.registered.begin&&o.default.registered.begin(t.data.to,t.data.target),u.call(window,m)}),t.delay):(o.default.registered.begin&&o.default.registered.begin(t.data.to,t.data.target),u.call(window,m))}else o.default.registered.end&&o.default.registered.end(t.data.to,t.data.target,t.data.currentPosition)},h=function(e){return(e=a({},e)).data=e.data||{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null},e.absolute=!0,e};t.default={animateTopScroll:m,getAnimationType:l,scrollToTop:function(e){m(0,h(e))},scrollToBottom:function(e){e=h(e),p(e),m(e.horizontal?function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollWidth-t.offsetWidth;var n=document.body,a=document.documentElement;return Math.max(n.scrollWidth,n.offsetWidth,a.clientWidth,a.scrollWidth,a.offsetWidth)}(e):function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollHeight-t.offsetHeight;var n=document.body,a=document.documentElement;return Math.max(n.scrollHeight,n.offsetHeight,a.clientHeight,a.scrollHeight,a.offsetHeight)}(e),e)},scrollTo:function(e,t){m(e,h(t))},scrollMore:function(e,t){t=h(t),p(t);var n=t.horizontal?c(t):d(t);m(e+n,t)}}},PGca:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(n("q1tI")),r=i(n("pUFB"));function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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}var l=function(e){function t(){var e,n,r;o(this,t);for(var i=arguments.length,l=Array(i),u=0;u<i;u++)l[u]=arguments[u];return n=r=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.render=function(){return a.default.createElement("a",r.props,r.props.children)},s(r,n)}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}(a.default.Component);t.default=(0,r.default)(l)},QLqi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.addPassiveEventListener=function(e,t,n){var a=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(n){}return e}();e.addEventListener(t,n,!!a&&{passive:!0})},t.removePassiveEventListener=function(e,t,n){e.removeEventListener(t,n)}},QQPg:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={registered:{},scrollEvent:{register:function(e,t){a.registered[e]=t},remove:function(e){a.registered[e]=null}}};t.default=a},RXBc:function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),r=n.n(a),i=n("qhky"),o=n("KQm4"),s=n("7vrA"),l=n("/eHF"),u=n.n(l),c=n("oqc9"),d=r.a.createContext(),f=d.Provider,p=(d.Consumer,d),m=function(){var e=Object(a.useContext)(p).hero,t=e.title,n=e.name,i=e.subtitle,o=e.cta,l=Object(a.useState)(!1),d=l[0],f=l[1],m=Object(a.useState)(!1),h=m[0],g=m[1];return Object(a.useEffect)((function(){window.innerWidth>769?(f(!0),g(!1)):(g(!0),f(!1))}),[]),r.a.createElement("section",{id:"hero",className:"jumbotron"},r.a.createElement(s.a,null,r.a.createElement(u.a,{left:d,bottom:h,duration:1e3,delay:500,distance:"30px"},r.a.createElement("h1",{className:"hero-title"},t||"Hi, my name is"," ",r.a.createElement("span",{className:"text-color-main"},n||"Your Name"),r.a.createElement("br",null),i||"I'm the Unknown Developer.")),r.a.createElement(u.a,{left:d,bottom:h,duration:1e3,delay:1e3,distance:"30px"},r.a.createElement("p",{className:"hero-cta"},r.a.createElement("span",{className:"cta-btn cta-btn--hero"},r.a.createElement(c.Link,{to:"about",smooth:!0,duration:1e3},o||"Know more"))))))},h=n("wx14"),g=n("zLVn"),v=n("TSYQ"),b=n.n(v),y=n("vUet"),E=["xl","lg","md","sm","xs"],w=r.a.forwardRef((function(e,t){var n=e.bsPrefix,a=e.className,i=e.noGutters,o=e.as,s=void 0===o?"div":o,l=Object(g.a)(e,["bsPrefix","className","noGutters","as"]),u=Object(y.a)(n,"row"),c=u+"-cols",d=[];return E.forEach((function(e){var t,n=l[e];delete l[e];var a="xs"!==e?"-"+e:"";null!=(t=null!=n&&"object"==typeof n?n.cols:n)&&d.push(""+c+a+"-"+t)})),r.a.createElement(s,Object(h.a)({ref:t},l,{className:b.a.apply(void 0,[a,u,i&&"no-gutters"].concat(d))}))}));w.displayName="Row",w.defaultProps={noGutters:!1};var O=w,S=["xl","lg","md","sm","xs"],j=r.a.forwardRef((function(e,t){var n=e.bsPrefix,a=e.className,i=e.as,o=void 0===i?"div":i,s=Object(g.a)(e,["bsPrefix","className","as"]),l=Object(y.a)(n,"col"),u=[],c=[];return S.forEach((function(e){var t,n,a,r=s[e];if(delete s[e],"object"==typeof r&&null!=r){var i=r.span;t=void 0===i||i,n=r.offset,a=r.order}else t=r;var o="xs"!==e?"-"+e:"";t&&u.push(!0===t?""+l+o:""+l+o+"-"+t),null!=a&&c.push("order"+o+"-"+a),null!=n&&c.push("offset"+o+"-"+n)})),u.length||u.push(l),r.a.createElement(o,Object(h.a)({},s,{ref:t,className:b.a.apply(void 0,[a].concat(u,c))}))}));j.displayName="Col";var _=j,P=function(e){var t=e.title;return r.a.createElement(u.a,{bottom:!0,duration:1e3,delay:300,distance:"0px"},r.a.createElement("h2",{className:"section-title"},t))},C=n("Wbzz"),x=n("9eSz"),k=n.n(x),T=function(e){var t=e.filename,n=e.alt;return r.a.createElement(C.StaticQuery,{query:"1882149949",render:function(e){var a=e.images.edges.find((function(e){return e.node.relativePath.includes(t)}));if(!a)return null;var i=a.node.childImageSharp.fixed;return r.a.createElement(k.a,{className:"rounded shadow-lg",alt:n,fixed:i})}})},M=function(){var e=Object(a.useContext)(p).about,t=e.img,n=e.paragraphOne,i=e.paragraphTwo,o=(e.paragraphThree,e.resume),l=Object(a.useState)(!1),c=l[0],d=l[1],f=Object(a.useState)(!1),m=f[0],h=f[1];return Object(a.useEffect)((function(){window.innerWidth>769?(d(!0),h(!1)):(h(!0),d(!1))}),[]),r.a.createElement("section",{id:"about"},r.a.createElement(s.a,null,r.a.createElement(P,{title:"About Me"}),r.a.createElement(O,{className:"about-wrapper"},r.a.createElement(_,{md:6,sm:12},r.a.createElement(u.a,{bottom:!0,duration:1e3,delay:600,distance:"30px"},r.a.createElement("div",{className:"about-wrapper__image"},r.a.createElement(T,{alt:"profile picture",filename:t})))),r.a.createElement(_,{md:6,sm:12},r.a.createElement(u.a,{left:c,bottom:m,duration:1e3,delay:1e3,distance:"30px"},r.a.createElement("div",{className:"about-wrapper__info"},r.a.createElement("p",{className:"about-wrapper__info-text"},n||"Lorem ipsum dolor sit, amet consectetur adipisicing elit. Excepturi neque, ipsa animi maiores repellendu distinctioaperiam earum dolor voluptatum consequatur blanditiis inventore debitis fuga numquam voluptate architecto itaque molestiae."),r.a.createElement("p",{className:"about-wrapper__info-text"},i||"Lorem ipsum dolor sit, amet consectetur adipisicing elit. Excepturi neque, ipsa animi maiores repellendu distinctioaperiam earum dolor voluptatum consequatur blanditiis inventore debitis fuga numquam voluptate architecto itaque molestiae."),o&&r.a.createElement("span",{className:"d-flex mt-3"},r.a.createElement("a",{target:"_blank",rel:"noopener noreferrer",className:"cta-btn cta-btn--resume",href:o},"Resume"))))))))},L=function(e){var t=e.filename,n=e.alt;return r.a.createElement(C.StaticQuery,{query:"1882149949",render:function(e){var a=e.images.edges.find((function(e){return e.node.relativePath.includes(t)}));if(!a)return null;var i=a.node.childImageSharp.fixed;return r.a.createElement(k.a,{className:"rounded shadow-lg",alt:n,fixed:i})}})},N=function(){var e=Object(a.useContext)(p).examples,t=e.img,n=e.paragraphOne,i=(e.paragraphTwo,e.paragraphThree,e.link),o=Object(a.useState)(!1),l=o[0],c=o[1],d=Object(a.useState)(!1),f=d[0],m=d[1];return Object(a.useEffect)((function(){window.innerWidth>769?(c(!0),m(!1)):(m(!0),c(!1))}),[]),r.a.createElement("section",{id:"examples"},r.a.createElement(s.a,null,r.a.createElement(P,{title:"Extracurricular"}),r.a.createElement(O,{className:"examples-wrapper"},r.a.createElement(_,{md:6,sm:12},r.a.createElement(u.a,{bottom:!0,duration:1e3,delay:600,distance:"30px"},r.a.createElement("div",{className:"examples-wrapper__image"},r.a.createElement(L,{alt:"profile picture",filename:t})))),r.a.createElement(_,{md:6,sm:12},r.a.createElement(u.a,{left:l,bottom:f,duration:1e3,delay:1e3,distance:"30px"},r.a.createElement("div",{className:"examples-wrapper__info"},r.a.createElement("p",{className:"examples-wrapper__info-text"},n||"Lorem ipsum dolor sit, amet consectetur adipisicing elit. Excepturi neque, ipsa animi maiores repellendu distinctioaperiam earum dolor voluptatum consequatur blanditiis inventore debitis fuga numquam voluptate architecto itaque molestiae."),i&&r.a.createElement("span",{className:"d-flex mt-3"},r.a.createElement("a",{target:"_blank",rel:"noopener noreferrer",className:"cta-btn cta-btn--resume",href:i},"Link to Club Page"))))))))},H=n("c+OE"),I=n.n(H),R=function(e){var t=e.filename,n=e.alt;return r.a.createElement(C.StaticQuery,{query:"3019095435",render:function(e){var a=e.images.edges.find((function(e){return e.node.relativePath.includes(t)}));if(!a)return null;var i=a.node.childImageSharp.fluid;return r.a.createElement(k.a,{alt:n,fluid:i})}})},q=function(){var e=Object(a.useContext)(p).projects,t=Object(a.useState)(!1),n=t[0],i=t[1],o=Object(a.useState)(!1),l=o[0],c=o[1];return Object(a.useEffect)((function(){window.innerWidth>769?(i(!0),c(!1)):(c(!0),i(!1))}),[]),r.a.createElement("section",{id:"projects"},r.a.createElement(s.a,null,r.a.createElement("div",{className:"project-wrapper"},r.a.createElement(P,{title:"Projects"}),e.map((function(e){var t=e.title,a=e.info,i=e.info2,o=e.url,s=e.repo,c=e.img,d=e.id;return r.a.createElement(O,{key:d},r.a.createElement(_,{lg:4,sm:12},r.a.createElement(u.a,{left:n,bottom:l,duration:1e3,delay:500,distance:"30px"},r.a.createElement("div",{className:"project-wrapper__text"},r.a.createElement("h3",{className:"project-wrapper__text-title"},t||"Project Title"),r.a.createElement("div",null,r.a.createElement("p",null,a||"Lorem ipsum dolor sit, amet consectetur adipisicing elit. Excepturi neque, ipsa animi maiores repellendu distinctioaperiam earum dolor voluptatum consequatur blanditiis inventore debitis fuga numquam voluptate architecto itaque molestiae."),r.a.createElement("p",{className:"mb-4"},i||"")),r.a.createElement("a",{target:"_blank",rel:"noopener noreferrer",className:"cta-btn cta-btn--hero",href:o||"#!"},"Source Code"),s&&r.a.createElement("a",{target:"_blank",rel:"noopener noreferrer",className:"cta-btn text-color-main",href:s},"See Live")))),r.a.createElement(_,{lg:8,sm:12},r.a.createElement(u.a,{right:n,bottom:l,duration:1e3,delay:1e3,distance:"30px"},r.a.createElement("div",{className:"project-wrapper__image"},r.a.createElement("a",{href:o||"#!",target:"_blank","aria-label":"Project Link",rel:"noopener noreferrer"},r.a.createElement(I.a,{options:{reverse:!1,max:8,perspective:1e3,scale:1,speed:300,transition:!0,axis:null,reset:!0,easing:"cubic-bezier(.03,.98,.52,.99)"}},r.a.createElement("div",{"data-tilt":!0,className:"thumbnail rounded"},r.a.createElement(R,{alt:t,filename:c}))))))))})))))},z=function(e){var t=e.filename,n=e.alt;return r.a.createElement(C.StaticQuery,{query:"3019095435",render:function(e){var a=e.images.edges.find((function(e){return e.node.relativePath.includes(t)}));if(!a)return null;var i=a.node.childImageSharp.fluid;return r.a.createElement(k.a,{alt:n,fluid:i})}})},B=function(){var e=Object(a.useContext)(p).writing,t=Object(a.useState)(!1),n=t[0],i=t[1],o=Object(a.useState)(!1),l=o[0],c=o[1];return Object(a.useEffect)((function(){window.innerWidth>769?(i(!0),c(!1)):(c(!0),i(!1))}),[]),r.a.createElement("section",{id:"writing"},r.a.createElement(s.a,null,r.a.createElement("div",{className:"writing-wrapper"},r.a.createElement(P,{title:"Writing Examples"}),e.map((function(e){var t=e.title,a=e.info,i=e.info2,o=e.url,s=e.repo,c=e.img,d=e.id;return r.a.createElement(O,{key:d},r.a.createElement(_,{lg:4,sm:12},r.a.createElement(u.a,{left:n,bottom:l,duration:1e3,delay:500,distance:"30px"},r.a.createElement("div",{className:"writing-wrapper__text"},r.a.createElement("h3",{className:"writing-wrapper__text-title"},t||"Project Title"),r.a.createElement("div",null,r.a.createElement("p",null,a||"Lorem ipsum dolor sit, amet consectetur adipisicing elit. Excepturi neque, ipsa animi maiores repellendu distinctioaperiam earum dolor voluptatum consequatur blanditiis inventore debitis fuga numquam voluptate architecto itaque molestiae."),r.a.createElement("p",{className:"mb-4"},i||"")),r.a.createElement("a",{target:"_blank",rel:"noopener noreferrer",className:"cta-btn cta-btn--hero",href:o||"#!"},"See Document"),s&&r.a.createElement("a",{target:"_blank",rel:"noopener noreferrer",className:"cta-btn text-color-main",href:s},"Source Code")))),r.a.createElement(_,{lg:8,sm:12},r.a.createElement(u.a,{right:n,bottom:l,duration:1e3,delay:1e3,distance:"30px"},r.a.createElement("div",{className:"writing-wrapper__image"},r.a.createElement("a",{href:o||"#!",target:"_blank","aria-label":"Project Link",rel:"noopener noreferrer"},r.a.createElement(I.a,{options:{reverse:!1,max:8,perspective:1e3,scale:1,speed:300,transition:!0,axis:null,reset:!0,easing:"cubic-bezier(.03,.98,.52,.99)"}},r.a.createElement("div",{"data-tilt":!0,className:"thumbnail rounded"},r.a.createElement(z,{alt:t,filename:c}))))))))})))))},W=function(){var e=Object(a.useContext)(p).contact,t=e.cta,n=e.btn,i=e.email;return r.a.createElement("section",{id:"contact"},r.a.createElement(s.a,null,r.a.createElement(P,{title:"Contact"}),r.a.createElement(u.a,{bottom:!0,duration:1e3,delay:800,distance:"30px"},r.a.createElement("div",{className:"contact-wrapper"},r.a.createElement("p",{className:"contact-wrapper__text"},t||"Would you like to work with me or reach out? Great"),r.a.createElement("a",{target:"_blank",rel:"noopener noreferrer",className:"cta-btn cta-btn--resume",href:i?"mailto:"+i:"colton.waldack324@gmail.com"},n||"Contact me here")))))},F=function(){var e=Object(a.useContext)(p).footer.networks;return r.a.createElement("footer",{className:"footer navbar-static-bottom"},r.a.createElement(s.a,null,r.a.createElement("span",{className:"back-to-top"},r.a.createElement(c.Link,{to:"hero",smooth:!0,duration:1e3},r.a.createElement("i",{className:"fa fa-angle-up fa-2x","aria-hidden":"true"}))),r.a.createElement("div",{className:"social-links"},e&&e.map((function(e){var t=e.id,n=e.name,a=e.url;return r.a.createElement("a",{key:t,href:a||"https://github.com/ColtonWaldack",rel:"noopener noreferrer",target:"_blank","aria-label":n},r.a.createElement("i",{className:"fa fa-"+(n||"refresh")+" fa-inverse"}))}))),r.a.createElement("hr",null)))},A=n("jooN");var Q=function(){var e=Object(a.useState)({}),t=e[0],n=e[1],i=Object(a.useState)({}),s=i[0],l=i[1],u=Object(a.useState)({}),c=u[0],d=u[1],p=Object(a.useState)([]),h=p[0],g=p[1],v=Object(a.useState)([]),b=v[0],y=v[1],E=Object(a.useState)({}),w=E[0],O=E[1],S=Object(a.useState)({}),j=S[0],_=S[1];return Object(a.useEffect)((function(){n(Object.assign({},A.f)),l(Object.assign({},A.a)),d(Object.assign({},A.c)),g(Object(o.a)(A.g)),y(Object(o.a)(A.h)),O(Object.assign({},A.b)),_(Object.assign({},A.d))}),[]),r.a.createElement(f,{value:{hero:t,about:s,projects:h,examples:c,writing:b,contact:w,footer:j}},r.a.createElement(m,null),r.a.createElement(M,null),r.a.createElement(q,null),r.a.createElement(N,null),r.a.createElement(B,null),r.a.createElement(W,null),r.a.createElement(F,null))};n("q4sD"),n("J9yo"),t.default=function(){var e=A.e.title,t=A.e.lang,n=A.e.description;return r.a.createElement(r.a.Fragment,null,r.a.createElement(i.a,null,r.a.createElement("meta",{charSet:"utf-8"}),r.a.createElement("title",null,e||"Colton Waldack"),r.a.createElement("html",{lang:t||"en"}),r.a.createElement("meta",{name:"description",content:n||"Colton Waldack"})),r.a.createElement(Q,null))}},Y30y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=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},r=function(){function e(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)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=l(n("q1tI")),o=l(n("w2Tm")),s=l(n("17x9"));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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}var d=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).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),r(t,[{key:"render",value:function(){var e=this,t=a({},this.props);return t.parentBindings&&delete t.parentBindings,i.default.createElement("div",a({},t,{ref:function(t){e.props.parentBindings.domNode=t}}),this.props.children)}}]),t}(i.default.Component);d.propTypes={name:s.default.string,id:s.default.string},t.default=(0,o.default)(d)},"c+OE":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=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},i=function(){function e(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)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=n("q1tI"),s=(a=o)&&a.__esModule?a:{default:a},l=n("i8i4");var u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.state={style:{}};return n.width=null,n.height=null,n.left=null,n.top=null,n.transitionTimeout=null,n.updateCall=null,n.element=null,n.settings=Object.assign({},{reverse:!1,max:35,perspective:1e3,easing:"cubic-bezier(.03,.98,.52,.99)",scale:"1.1",speed:"1000",transition:!0,axis:null,reset:!0},n.props.options),n.reverse=n.settings.reverse?-1:1,n.onMouseEnter=n.onMouseEnter.bind(n,n.props.onMouseEnter),n.onMouseMove=n.onMouseMove.bind(n,n.props.onMouseMove),n.onMouseLeave=n.onMouseLeave.bind(n,n.props.onMouseLeave),n}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),i(t,[{key:"componentDidMount",value:function(){this.element=(0,l.findDOMNode)(this)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.transitionTimeout),cancelAnimationFrame(this.updateCall)}},{key:"onMouseEnter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},t=arguments[1];return this.updateElementPosition(),this.setState(Object.assign({},this.state,{style:r({},this.state.style,{willChange:"transform"})})),this.setTransition(),e(t)}},{key:"reset",value:function(){var e=this;window.requestAnimationFrame((function(){e.setState(Object.assign({},e.state,{style:r({},e.state.style,{transform:"perspective("+e.settings.perspective+"px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)"})}))}))}},{key:"onMouseMove",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},t=arguments[1];return t.persist(),null!==this.updateCall&&window.cancelAnimationFrame(this.updateCall),this.event=t,this.updateCall=requestAnimationFrame(this.update.bind(this,t)),e(t)}},{key:"setTransition",value:function(){var e=this;clearTimeout(this.transitionTimeout),this.setState(Object.assign({},this.state,{style:r({},this.state.style,{transition:this.settings.speed+"ms "+this.settings.easing})})),this.transitionTimeout=setTimeout((function(){e.setState(Object.assign({},e.state,{style:r({},e.state.style,{transition:""})}))}),this.settings.speed)}},{key:"onMouseLeave",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},t=arguments[1];return this.setTransition(),this.settings.reset&&this.reset(),e(t)}},{key:"getValues",value:function(e){var t=(e.nativeEvent.clientX-this.left)/this.width,n=(e.nativeEvent.clientY-this.top)/this.height,a=Math.min(Math.max(t,0),1),r=Math.min(Math.max(n,0),1);return{tiltX:(this.reverse*(this.settings.max/2-a*this.settings.max)).toFixed(2),tiltY:(this.reverse*(r*this.settings.max-this.settings.max/2)).toFixed(2),percentageX:100*a,percentageY:100*r}}},{key:"updateElementPosition",value:function(){var e=this.element.getBoundingClientRect();this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.left=e.left,this.top=e.top}},{key:"update",value:function(e){var t=this.getValues(e);this.setState(Object.assign({},this.state,{style:r({},this.state.style,{transform:"perspective("+this.settings.perspective+"px) rotateX("+("x"===this.settings.axis?0:t.tiltY)+"deg) rotateY("+("y"===this.settings.axis?0:t.tiltX)+"deg) scale3d("+this.settings.scale+", "+this.settings.scale+", "+this.settings.scale+")"})})),this.updateCall=null}},{key:"render",value:function(){var e=Object.assign({},this.props.style,this.state.style);return s.default.createElement("div",{style:e,className:this.props.className,onMouseEnter:this.onMouseEnter,onMouseMove:this.onMouseMove,onMouseLeave:this.onMouseLeave},this.props.children)}}]),t}(o.Component);t.default=u},"hKI/":function(e,t,n){(function(t){var n=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,i=/^0o[0-7]+$/i,o=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,u=s||l||Function("return this")(),c=Object.prototype.toString,d=Math.max,f=Math.min,p=function(){return u.Date.now()};function m(e,t,n){var a,r,i,o,s,l,u=0,c=!1,m=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=a,i=r;return a=r=void 0,u=t,o=e.apply(i,n)}function y(e){return u=e,s=setTimeout(w,t),c?b(e):o}function E(e){var n=e-l;return void 0===l||n>=t||n<0||m&&e-u>=i}function w(){var e=p();if(E(e))return O(e);s=setTimeout(w,function(e){var n=t-(e-l);return m?f(n,i-(e-u)):n}(e))}function O(e){return s=void 0,v&&a?b(e):(a=r=void 0,o)}function S(){var e=p(),n=E(e);if(a=arguments,r=this,l=e,n){if(void 0===s)return y(l);if(m)return s=setTimeout(w,t),b(l)}return void 0===s&&(s=setTimeout(w,t)),o}return t=g(t)||0,h(n)&&(c=!!n.leading,i=(m="maxWait"in n)?d(g(n.maxWait)||0,t):i,v="trailing"in n?!!n.trailing:v),S.cancel=function(){void 0!==s&&clearTimeout(s),u=0,a=l=r=s=void 0},S.flush=function(){return void 0===s?o:O(p())},S}function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==c.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=r.test(e);return s||i.test(e)?o(e.slice(2),s?2:8):a.test(e)?NaN:+e}e.exports=function(e,t,n){var a=!0,r=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return h(n)&&(a="leading"in n?!!n.leading:a,r="trailing"in n?!!n.trailing:r),m(e,t,{leading:a,maxWait:t,trailing:r})}}).call(this,n("yLpj"))},oqc9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Helpers=t.ScrollElement=t.ScrollLink=t.animateScroll=t.scrollSpy=t.Events=t.scroller=t.Element=t.Button=t.Link=void 0;var a=p(n("PGca")),r=p(n("7wkA")),i=p(n("Y30y")),o=p(n("zPnG")),s=p(n("QQPg")),l=p(n("wT0s")),u=p(n("NEP4")),c=p(n("pUFB")),d=p(n("w2Tm")),f=p(n("7FV1"));function p(e){return e&&e.__esModule?e:{default:e}}t.Link=a.default,t.Button=r.default,t.Element=i.default,t.scroller=o.default,t.Events=s.default,t.scrollSpy=l.default,t.animateScroll=u.default,t.ScrollLink=c.default,t.ScrollElement=d.default,t.Helpers=f.default,t.default={Link:a.default,Button:r.default,Element:i.default,scroller:o.default,Events:s.default,scrollSpy:l.default,animateScroll:u.default,ScrollLink:c.default,ScrollElement:d.default,Helpers:f.default}},pUFB:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=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},r=function(){function e(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)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=c(n("q1tI")),o=c(n("wT0s")),s=c(n("zPnG")),l=c(n("17x9")),u=c(n("Dy/p"));function c(e){return e&&e.__esModule?e:{default:e}}var d={to:l.default.string.isRequired,containerId:l.default.string,container:l.default.object,activeClass:l.default.string,spy:l.default.bool,horizontal:l.default.bool,smooth:l.default.oneOfType([l.default.bool,l.default.string]),offset:l.default.number,delay:l.default.number,isDynamic:l.default.bool,onClick:l.default.func,duration:l.default.oneOfType([l.default.number,l.default.func]),absolute:l.default.bool,onSetActive:l.default.func,onSetInactive:l.default.func,ignoreCancelEvents:l.default.bool,hashSpy:l.default.bool,saveHashHistory:l.default.bool};t.default=function(e,t){var n=t||s.default,l=function(t){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=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}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return c.call(t),t.state={active:!1},t}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)}(s,t),r(s,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e&&!t?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();o.default.isMounted(e)||o.default.mount(e),this.props.hashSpy&&(u.default.isMounted()||u.default.mount(n),u.default.mapContainer(this.props.to,e)),o.default.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){o.default.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n=a({},this.props);for(var r in d)n.hasOwnProperty(r)&&delete n[r];return n.className=t,n.onClick=this.handleClick,i.default.createElement(e,n)}}]),s}(i.default.PureComponent),c=function(){var e=this;this.scrollTo=function(t,r){n.scrollTo(t,a({},e.state,r))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.spyHandler=function(t,a){var r=e.getScrollSpyContainer();if(!u.default.isMounted()||u.default.isInitialized()){var i=e.props.horizontal,o=e.props.to,s=null,l=void 0,c=void 0;if(i){var d=0,f=0,p=0;if(r.getBoundingClientRect)p=r.getBoundingClientRect().left;if(!s||e.props.isDynamic){if(!(s=n.get(o)))return;var m=s.getBoundingClientRect();f=(d=m.left-p+t)+m.width}var h=t-e.props.offset;l=h>=Math.floor(d)&&h<Math.floor(f),c=h<Math.floor(d)||h>=Math.floor(f)}else{var g=0,v=0,b=0;if(r.getBoundingClientRect)b=r.getBoundingClientRect().top;if(!s||e.props.isDynamic){if(!(s=n.get(o)))return;var y=s.getBoundingClientRect();v=(g=y.top-b+a)+y.height}var E=a-e.props.offset;l=E>=Math.floor(g)&&E<Math.floor(v),c=E<Math.floor(g)||E>=Math.floor(v)}var w=n.getActiveLink();if(c){if(o===w&&n.setActiveLink(void 0),e.props.hashSpy&&u.default.getHash()===o){var O=e.props.saveHashHistory,S=void 0!==O&&O;u.default.changeHash("",S)}e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive(o,s))}if(l&&(w!==o||!1===e.state.active)){n.setActiveLink(o);var j=e.props.saveHashHistory,_=void 0!==j&&j;e.props.hashSpy&&u.default.changeHash(o,_),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(o,s))}}}};return l.propTypes=d,l.defaultProps={offset:0},l}},w2Tm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=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},r=function(){function e(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)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=l(n("q1tI")),o=(l(n("i8i4")),l(n("zPnG"))),s=l(n("17x9"));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=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}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}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)}(n,t),r(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;o.default.unregister(this.props.name)}},{key:"registerElems",value:function(e){o.default.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return i.default.createElement(e,a({},this.props,{parentBindings:this.childBindings}))}}]),n}(i.default.Component);return t.propTypes={name:s.default.string,id:s.default.string},t}},wT0s:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n("hKI/"),i=(a=r)&&a.__esModule?a:{default:a},o=n("QLqi");var s={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(e){if(e){var t=function(e){return(0,i.default)(e,66)}((function(t){s.scrollHandler(e)}));s.scrollSpyContainers.push(e),(0,o.addPassiveEventListener)(e,"scroll",t)}},isMounted:function(e){return-1!==s.scrollSpyContainers.indexOf(e)},currentPositionX:function(e){if(e===document){var t=void 0!==window.pageYOffset,n="CSS1Compat"===(document.compatMode||"");return t?window.pageXOffset:n?document.documentElement.scrollLeft:document.body.scrollLeft}return e.scrollLeft},currentPositionY:function(e){if(e===document){var t=void 0!==window.pageXOffset,n="CSS1Compat"===(document.compatMode||"");return t?window.pageYOffset:n?document.documentElement.scrollTop:document.body.scrollTop}return e.scrollTop},scrollHandler:function(e){(s.scrollSpyContainers[s.scrollSpyContainers.indexOf(e)].spyCallbacks||[]).forEach((function(t){return t(s.currentPositionX(e),s.currentPositionY(e))}))},addStateHandler:function(e){s.spySetState.push(e)},addSpyHandler:function(e,t){var n=s.scrollSpyContainers[s.scrollSpyContainers.indexOf(t)];n.spyCallbacks||(n.spyCallbacks=[]),n.spyCallbacks.push(e),e(s.currentPositionX(t),s.currentPositionY(t))},updateStates:function(){s.spySetState.forEach((function(e){return e()}))},unmount:function(e,t){s.scrollSpyContainers.forEach((function(e){return e.spyCallbacks&&e.spyCallbacks.length&&e.spyCallbacks.splice(e.spyCallbacks.indexOf(t),1)})),s.spySetState&&s.spySetState.length&&s.spySetState.splice(s.spySetState.indexOf(e),1),document.removeEventListener("scroll",s.scrollHandler)},update:function(){return s.scrollSpyContainers.forEach((function(e){return s.scrollHandler(e)}))}};t.default=s},xFC4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={updateHash:function(e,t){var n=0===e.indexOf("#")?e.substring(1):e,a=n?"#"+n:"",r=window&&window.location,i=a?r.pathname+r.search+a:r.pathname+r.search;t?history.pushState(null,"",i):history.replaceState(null,"",i)},getHash:function(){return window.location.hash.replace(/^#/,"")},filterElementInContainer:function(e){return function(t){return e.contains?e!=t&&e.contains(t):!!(16&e.compareDocumentPosition(t))}},scrollOffset:function(e,t,n){return n?e===document?t.getBoundingClientRect().left+(window.scrollX||window.pageXOffset):"static"!==getComputedStyle(e).position?t.offsetLeft:t.offsetLeft-e.offsetLeft:e===document?t.getBoundingClientRect().top+(window.scrollY||window.pageYOffset):"static"!==getComputedStyle(e).position?t.offsetTop:t.offsetTop-e.offsetTop}}},zPnG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=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},r=s(n("xFC4")),i=s(n("NEP4")),o=s(n("QQPg"));function s(e){return e&&e.__esModule?e:{default:e}}var l={},u=void 0;t.default={unmount:function(){l={}},register:function(e,t){l[e]=t},unregister:function(e){delete l[e]},get:function(e){return l[e]||document.getElementById(e)||document.getElementsByName(e)[0]||document.getElementsByClassName(e)[0]},setActiveLink:function(e){return u=e},getActiveLink:function(){return u},scrollTo:function(e,t){var n=this.get(e);if(n){var s=(t=a({},t,{absolute:!1})).containerId,l=t.container,u=void 0;u=s?document.getElementById(s):l&&l.nodeType?l:document,t.absolute=!0;var c=t.horizontal,d=r.default.scrollOffset(u,n,c)+(t.offset||0);if(!t.smooth)return o.default.registered.begin&&o.default.registered.begin(e,n),u===document?t.horizontal?window.scrollTo(d,0):window.scrollTo(0,d):u.scrollTop=d,void(o.default.registered.end&&o.default.registered.end(e,n));i.default.animateTopScroll(d,t,e,n)}else console.warn("target Element not found")}}}}]);
  //# sourceMappingURL=component---src-pages-index-js-7d9bf4ce4b0089e516ca.js.map