-
Notifications
You must be signed in to change notification settings - Fork 0
/
15-e9d6e91c58d6971d6a31.js
2 lines (2 loc) · 32.2 KB
/
15-e9d6e91c58d6971d6a31.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[15,16,17,18],{242:function(e,t,n){"use strict";n(20),n(135),n(14),n(73),n(54),n(18),Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(l){a=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(a)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(0)),s=u(n(1)),l=n(247);function u(e){return e&&e.__esModule?e:{default:e}}var d=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));return n._handleClick=function(e){n.state.beforeAnimate(e),e&&e.preventDefault(),(0,l.animateScroll)(n.state.to,n.state.target,n.state.animate).then(function(t){t&&(n.state.disableHistory||(0,l.updateHistory)(t),n.state.afterAnimate(e))})},n.state=t._stateHelper(e),n.simulateClick=n._handleClick,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,o.default.Component),i(t,[{key:"componentWillReceiveProps",value:function(e){this.setState(t._stateHelper(e))}},{key:"render",value:function(){var e=this.props,t=(e.to,e.target,e.animate,e.beforeAnimate,e.afterAnimate,e.disableHistory,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","target","animate","beforeAnimate","afterAnimate","disableHistory"]));return this.props.children?o.default.createElement("a",a({},t,{href:"#"+this.state.to,onClick:this._handleClick})):null}}],[{key:"_normalizeId",value:function(e){return e&&e.replace(/^#/,"")||""}},{key:"_stateHelper",value:function(e){var n=e.animate||{},r=n.offset,a=void 0===r?0:r,i=n.duration,o=void 0===i?400:i,s=n.easing,l=void 0===s?c:s;return{to:t._normalizeId(e.to),target:t._normalizeId(e.target),animate:{offset:a,duration:o,easing:l},beforeAnimate:e.beforeAnimate||function(){},afterAnimate:e.afterAnimate||function(){},disableHistory:e.disableHistory}}},{key:"getDerivedStateFromProps",value:function(e){return t._stateHelper(e)}}]),t}();function c(e,t,n,r,a){return-r*(t/=a)*(t-2)+n}d.propTypes={to:s.default.string.isRequired,target:s.default.string,animate:s.default.shape({offset:s.default.number,duration:s.default.number,easing:s.default.func}),beforeAnimate:s.default.func,afterAnimate:s.default.func,disableHistory:s.default.bool,children:s.default.node},t.default=d;var f=r(/^v?((\d+)\.(\d+)\.(\d+))(?:-([\dA-Za-z\-]+(?:\.[\dA-Za-z\-]+)*))?(?:\+([\dA-Za-z\-]+(?:\.[\dA-Za-z\-]+)*))?$/.exec(o.default.version),4),p=f[2],m=f[3];p>=16&&m>=3&&delete d.prototype.componentWillReceiveProps},247:function(e,t,n){"use strict";n(30),n(5),Object.defineProperty(t,"__esModule",{value:!0}),t.animateScroll=void 0,t.updateHistory=function(e){e="#"+e,history.pushState?history.pushState(null,null,e):location.hash=e};var r,a,i=n(75);t.animateScroll=(r=void 0,a=void 0,function(e,t,n){var o=document.getElementById(t);function s(){return o?o.scrollTop:document.documentElement.scrollTop||document.body.scrollTop}return new Promise(function(t,l){var u=e?document.getElementById(e):document.body;if(!u)return l(new Error("Cannot find element: #"+e));var d,c=n.offset,f=n.duration,p=n.easing,m=s(),v=(d=o?o.getBoundingClientRect().top:0,u.getBoundingClientRect().top-d+s()+c-m);r&&((0,i.clearTimeout)(r),a()),a=t,function n(){var a=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+20;if(function(e){o?o.scrollTop=e:document.documentElement.scrollTop=document.body.scrollTop=e}(p(null,a,m,v,f)),!(a<f))return r=void 0,t(e);r=(0,i.setTimeout)(function(){n(a)},20)}()})})},249:function(e,t,n){"use strict";n(18),n(13),n(5),n(55),n(136),n(250);var r=n(4);t.__esModule=!0,t.default=void 0;var a,i=r(n(31)),o=r(n(42)),s=r(n(41)),l=r(n(22)),u=r(n(0)),d=r(n(1)),c=function(e){var t=(0,l.default)({},e),n=t.resolutions,r=t.sizes,a=t.critical;return n&&(t.fixed=n,delete t.resolutions),r&&(t.fluid=r,delete t.sizes),a&&(t.loading="eager"),t.fluid&&(t.fluid=S([].concat(t.fluid))),t.fixed&&(t.fixed=S([].concat(t.fixed))),t},f=function(e){var t=e.fluid,n=e.fixed;return(t&&t[0]||n&&n[0]).src},p=Object.create({}),m=function(e){var t=c(e),n=f(t);return p[n]||!1},v="undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype,h="undefined"!=typeof window,g=h&&window.IntersectionObserver,y=new WeakMap;function b(e){return e.map(function(e){var t=e.src,n=e.srcSet,r=e.srcSetWebp,a=e.media,i=e.sizes;return u.default.createElement(u.default.Fragment,{key:t},r&&u.default.createElement("source",{type:"image/webp",media:a,srcSet:r,sizes:i}),u.default.createElement("source",{media:a,srcSet:n,sizes:i}))})}function S(e){var t=[],n=[];return e.forEach(function(e){return(e.media?t:n).push(e)}),t.concat(n)}function E(e){return e.map(function(e){var t=e.src,n=e.media,r=e.tracedSVG;return u.default.createElement("source",{key:t,media:n,srcSet:r})})}function _(e){return e.map(function(e){var t=e.src,n=e.media,r=e.base64;return u.default.createElement("source",{key:t,media:n,srcSet:r})})}function w(e,t){var n=e.srcSet,r=e.srcSetWebp,a=e.media,i=e.sizes;return"<source "+(t?"type='image/webp' ":"")+(a?'media="'+a+'" ':"")+'srcset="'+(t?r:n)+'" '+(i?'sizes="'+i+'" ':"")+"/>"}var x=function(e,t){var n=(void 0===a&&"undefined"!=typeof window&&window.IntersectionObserver&&(a=new window.IntersectionObserver(function(e){e.forEach(function(e){if(y.has(e.target)){var t=y.get(e.target);(e.isIntersecting||e.intersectionRatio>0)&&(a.unobserve(e.target),y.delete(e.target),t())}})},{rootMargin:"200px"})),a);return n&&(n.observe(e),y.set(e,t)),function(){n.unobserve(e),y.delete(e)}},I=function(e){var t=e.src?'src="'+e.src+'" ':'src="" ',n=e.sizes?'sizes="'+e.sizes+'" ':"",r=e.srcSet?'srcset="'+e.srcSet+'" ':"",a=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+'" ':"",d=e.draggable?'draggable="'+e.draggable+'" ':"";return"<picture>"+e.imageVariants.map(function(e){return(e.srcSetWebp?w(e,!0):"")+w(e)}).join("")+"<img "+u+o+s+n+r+t+i+a+l+d+'style="position:absolute;top:0;left:0;opacity:1;width:100%;height:100%;object-fit:cover;object-position:center"/></picture>'},C=function(e){var t=e.src,n=e.imageVariants,r=e.generateSources,a=e.spreadProps,i=u.default.createElement(O,(0,l.default)({src:t},a));return n.length>1?u.default.createElement("picture",null,r(n),i):i},O=u.default.forwardRef(function(e,t){var n=e.sizes,r=e.srcSet,a=e.src,i=e.style,o=e.onLoad,d=e.onError,c=e.loading,f=e.draggable,p=(0,s.default)(e,["sizes","srcSet","src","style","onLoad","onError","loading","draggable"]);return u.default.createElement("img",(0,l.default)({sizes:n,srcSet:r,src:a},p,{onLoad:o,onError:d,ref:t,loading:c,draggable:f,style:(0,l.default)({position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"},i)}))});O.propTypes={style:d.default.object,onError:d.default.func,onLoad:d.default.func};var N=function(e){function t(t){var n;(n=e.call(this,t)||this).seenBefore=h&&m(t),n.addNoScript=!(t.critical&&!t.fadeIn),n.useIOSupport=!v&&g&&!t.critical&&!n.seenBefore;var r=t.critical||h&&(v||!n.useIOSupport);return n.state={isVisible:r,imgLoaded:!1,imgCached:!1,fadeIn:!n.seenBefore&&t.fadeIn},n.imageRef=u.default.createRef(),n.handleImageLoaded=n.handleImageLoaded.bind((0,o.default)((0,o.default)(n))),n.handleRef=n.handleRef.bind((0,o.default)((0,o.default)(n))),n}(0,i.default)(t,e);var n=t.prototype;return n.componentDidMount=function(){if(this.state.isVisible&&"function"==typeof this.props.onStartLoad&&this.props.onStartLoad({wasCached:m(this.props)}),this.props.critical){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=x(e,function(){var e=m(t.props);t.state.isVisible||"function"!=typeof t.props.onStartLoad||t.props.onStartLoad({wasCached:e}),t.setState({isVisible:!0},function(){return t.setState({imgLoaded:e,imgCached:!!t.imageRef.current.currentSrc})})}))},n.handleImageLoaded=function(){var e,t,n;e=this.props,t=c(e),n=f(t),p[n]=!0,this.setState({imgLoaded:!0}),this.props.onLoad&&this.props.onLoad()},n.render=function(){var e=c(this.props),t=e.title,n=e.alt,r=e.className,a=e.style,i=void 0===a?{}:a,o=e.imgStyle,s=void 0===o?{}:o,d=e.placeholderStyle,f=void 0===d?{}:d,p=e.placeholderClassName,m=e.fluid,v=e.fixed,h=e.backgroundColor,g=e.durationFadeIn,y=e.Tag,S=e.itemProp,w=e.loading,x=e.draggable,N=!1===this.state.fadeIn||this.state.imgLoaded,P=!0===this.state.fadeIn&&!this.state.imgCached,T=(0,l.default)({opacity:N?1:0,transition:P?"opacity "+g+"ms":"none"},s),L="boolean"==typeof h?"lightgray":h,k={transitionDelay:g+"ms"},R=(0,l.default)({opacity:this.state.imgLoaded?0:1},P&&k,s,f),M={title:t,alt:this.state.isVisible?"":n,style:R,className:p};if(m){var A=m,j=A[0];return u.default.createElement(y,{className:(r||"")+" gatsby-image-wrapper",style:(0,l.default)({position:"relative",overflow:"hidden"},i),ref:this.handleRef,key:"fluid-"+JSON.stringify(j.srcSet)},u.default.createElement(y,{style:{width:"100%",paddingBottom:100/j.aspectRatio+"%"}}),L&&u.default.createElement(y,{title:t,style:(0,l.default)({backgroundColor:L,position:"absolute",top:0,bottom:0,opacity:this.state.imgLoaded?0:1,right:0,left:0},P&&k)}),j.base64&&u.default.createElement(C,{src:j.base64,spreadProps:M,imageVariants:A,generateSources:_}),j.tracedSVG&&u.default.createElement(C,{src:j.tracedSVG,spreadProps:M,imageVariants:A,generateSources:E}),this.state.isVisible&&u.default.createElement("picture",null,b(A),u.default.createElement(O,{alt:n,title:t,sizes:j.sizes,src:j.src,crossOrigin:this.props.crossOrigin,srcSet:j.srcSet,style:T,ref:this.imageRef,onLoad:this.handleImageLoaded,onError:this.props.onError,itemProp:S,loading:w,draggable:x})),this.addNoScript&&u.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:I((0,l.default)({alt:n,title:t,loading:w},j,{imageVariants:A}))}}))}if(v){var D=v,V=D[0],z=(0,l.default)({position:"relative",overflow:"hidden",display:"inline-block",width:V.width,height:V.height},i);return"inherit"===i.display&&delete z.display,u.default.createElement(y,{className:(r||"")+" gatsby-image-wrapper",style:z,ref:this.handleRef,key:"fixed-"+JSON.stringify(V.srcSet)},L&&u.default.createElement(y,{title:t,style:(0,l.default)({backgroundColor:L,width:V.width,opacity:this.state.imgLoaded?0:1,height:V.height},P&&k)}),V.base64&&u.default.createElement(C,{src:V.base64,spreadProps:M,imageVariants:D,generateSources:_}),V.tracedSVG&&u.default.createElement(C,{src:V.tracedSVG,spreadProps:M,imageVariants:D,generateSources:E}),this.state.isVisible&&u.default.createElement("picture",null,b(D),u.default.createElement(O,{alt:n,title:t,width:V.width,height:V.height,sizes:V.sizes,src:V.src,crossOrigin:this.props.crossOrigin,srcSet:V.srcSet,style:T,ref:this.imageRef,onLoad:this.handleImageLoaded,onError:this.props.onError,itemProp:S,loading:w,draggable:x})),this.addNoScript&&u.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:I((0,l.default)({alt:n,title:t,loading:w},V,{imageVariants:D}))}}))}return null},t}(u.default.Component);N.defaultProps={fadeIn:!0,durationFadeIn:500,alt:"",Tag:"div",loading:"lazy"};var P=d.default.shape({width:d.default.number.isRequired,height:d.default.number.isRequired,src:d.default.string.isRequired,srcSet:d.default.string.isRequired,base64:d.default.string,tracedSVG:d.default.string,srcWebp:d.default.string,srcSetWebp:d.default.string,media:d.default.string}),T=d.default.shape({aspectRatio:d.default.number.isRequired,src:d.default.string.isRequired,srcSet:d.default.string.isRequired,sizes:d.default.string.isRequired,base64:d.default.string,tracedSVG:d.default.string,srcWebp:d.default.string,srcSetWebp:d.default.string,media:d.default.string});N.propTypes={resolutions:P,sizes:T,fixed:d.default.oneOfType([P,d.default.arrayOf(P)]),fluid:d.default.oneOfType([T,d.default.arrayOf(T)]),fadeIn:d.default.bool,durationFadeIn:d.default.number,title:d.default.string,alt:d.default.string,className:d.default.oneOfType([d.default.string,d.default.object]),critical:d.default.bool,crossOrigin:d.default.oneOfType([d.default.string,d.default.bool]),style:d.default.object,imgStyle:d.default.object,placeholderStyle:d.default.object,placeholderClassName:d.default.string,backgroundColor:d.default.oneOfType([d.default.string,d.default.bool]),onLoad:d.default.func,onError:d.default.func,onStartLoad:d.default.func,Tag:d.default.string,itemProp:d.default.string,loading:d.default.oneOf(["auto","lazy","eager"]),draggable:d.default.bool};var L=N;t.default=L},250:function(e,t,n){"use strict";n(251)("fixed",function(e){return function(){return e(this,"tt","","")}})},251:function(e,t,n){var r=n(7),a=n(11),i=n(43),o=/"/g,s=function(e,t,n,r){var a=String(i(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(o,""")+'"'),s+">"+a+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*a(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},257:function(e,t,n){"use strict";var r=n(4);t.__esModule=!0,t.default=function(e,t){var n=void 0===t?{}:t,r=n.displayName,l=void 0===r?d(e):r,c=n.Component,f=void 0===c?"div":c,p=n.defaultProps,m=s.default.forwardRef(function(t,n){var r=t.className,l=t.bsPrefix,d=t.as,c=void 0===d?f:d,p=(0,i.default)(t,["className","bsPrefix","as"]),m=(0,u.useBootstrapPrefix)(l,e);return s.default.createElement(c,(0,a.default)({ref:n,className:(0,o.default)(r,m)},p))});return m.defaultProps=p,m.displayName=l,m};var a=r(n(22)),i=r(n(41)),o=r(n(252)),s=r(n(0)),l=r(n(258)),u=n(256),d=function(e){return e[0].toUpperCase()+(0,l.default)(e).slice(1)};e.exports=t.default},258:function(e,t,n){"use strict";n(20),t.__esModule=!0,t.default=function(e){return e.replace(r,function(e,t){return t.toUpperCase()})};var r=/-(.)/g;e.exports=t.default},262:function(e,t,n){"use strict";n(18),n(13),n(5),n(23);var r=n(4);t.__esModule=!0,t.default=t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var a,i,o,s,l,u,d,c,f,p,m,v=r(n(83)),h="transform";if(t.transform=h,t.animationEnd=o,t.transitionEnd=i,t.transitionDelay=d,t.transitionTiming=u,t.transitionDuration=l,t.transitionProperty=s,t.animationDelay=m,t.animationTiming=p,t.animationDuration=f,t.animationName=c,v.default){var g=function(){for(var e,t,n=document.createElement("div").style,r={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},a=Object.keys(r),i="",o=0;o<a.length;o++){var s=a[o];if(s+"TransitionProperty"in n){i="-"+s.toLowerCase(),e=r[s]("TransitionEnd"),t=r[s]("AnimationEnd");break}}!e&&"transitionProperty"in n&&(e="transitionend");!t&&"animationName"in n&&(t="animationend");return n=null,{animationEnd:t,transitionEnd:e,prefix:i}}();a=g.prefix,t.transitionEnd=i=g.transitionEnd,t.animationEnd=o=g.animationEnd,t.transform=h=a+"-"+h,t.transitionProperty=s=a+"-transition-property",t.transitionDuration=l=a+"-transition-duration",t.transitionDelay=d=a+"-transition-delay",t.transitionTiming=u=a+"-transition-timing-function",t.animationName=c=a+"-animation-name",t.animationDuration=f=a+"-animation-duration",t.animationTiming=p=a+"-animation-delay",t.animationDelay=m=a+"-animation-timing-function"}var y={transform:h,end:i,property:s,timing:u,delay:d,duration:l};t.default=y},274:function(e,t,n){"use strict";n(18),n(13),n(5),n(23);var r=n(4);t.__esModule=!0,t.default=function(e,t,n){var r="",d="",c=t;if("string"==typeof t){if(void 0===n)return e.style[(0,a.default)(t)]||(0,o.default)(e).getPropertyValue((0,i.default)(t));(c={})[t]=n}Object.keys(c).forEach(function(t){var n=c[t];n||0===n?(0,u.default)(t)?d+=t+"("+n+") ":r+=(0,i.default)(t)+": "+n+";":(0,s.default)(e,(0,i.default)(t))}),d&&(r+=l.transform+": "+d+";");e.style.cssText+=";"+r};var a=r(n(275)),i=r(n(339)),o=r(n(341)),s=r(n(342)),l=n(262),u=r(n(343));e.exports=t.default},275:function(e,t,n){"use strict";n(20);var r=n(4);t.__esModule=!0,t.default=function(e){return(0,a.default)(e.replace(i,"ms-"))};var a=r(n(258)),i=/^-ms-/;e.exports=t.default},338:function(e,t,n){"use strict";var r=n(56),a=n(4);t.__esModule=!0,t.default=void 0;var i=a(n(22)),o=a(n(41)),s=a(n(31)),l=a(n(252)),u=a(n(274)),d=a(n(344)),c=r(n(0)),f=a(n(373)),p=a(n(349)),m=a(n(350)),v=a(n(351)),h=n(353),g=a(n(354)),y=n(256),b=function(e){return c.default.Children.toArray(e).filter(c.default.isValidElement).length},S={slide:!0,fade:!1,interval:5e3,keyboard:!0,pauseOnHover:!0,wrap:!0,indicators:!0,controls:!0,activeIndex:0,prevIcon:c.default.createElement("span",{"aria-hidden":"true",className:"carousel-control-prev-icon"}),prevLabel:"Previous",nextIcon:c.default.createElement("span",{"aria-hidden":"true",className:"carousel-control-next-icon"}),nextLabel:"Next"},E=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleSlideEnd=function(){var e=r._pendingIndex;r._isSliding=!1,r._pendingIndex=null,null!=e?r.to(e):r.cycle()},r.handleMouseOut=function(){r.cycle()},r.handleMouseOver=function(){r.props.pauseOnHover&&r.pause()},r.handleKeyDown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.key){case"ArrowLeft":e.preventDefault(),r.handlePrev(e);break;case"ArrowRight":e.preventDefault(),r.handleNext(e)}},r.handleNextWhenVisible=function(){r.isUnmounted||document.hidden||"hidden"===(0,u.default)(r.carousel.current,"visibility")||r.handleNext()},r.handleNext=function(e){if(!r._isSliding){var t=r.props,n=t.wrap,a=t.activeIndex+1;if(a>b(r.props.children)-1){if(!n)return;a=0}r.select(a,e,"next")}},r.handlePrev=function(e){if(!r._isSliding){var t=r.props,n=t.wrap,a=t.activeIndex-1;if(a<0){if(!n)return;a=b(r.props.children)-1}r.select(a,e,"prev")}},r.state={prevClasses:"",currentClasses:"active"},r.isUnmounted=!1,r.carousel=c.default.createRef(),r}(0,s.default)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.cycle()},t.getDerivedStateFromProps=function(e,t){var n=t.activeIndex;if(e.activeIndex!==n){var r=b(e.children)-1,a=Math.max(0,Math.min(e.activeIndex,r));return{direction:0===a&&n>=r||n<=a?"next":"prev",previousActiveIndex:n,activeIndex:a}}return null},n.componentDidUpdate=function(e,t){var n=this,r=this.props,a=r.bsPrefix,i=r.slide,o=r.onSlideEnd;if(i&&this.state.activeIndex!==t.activeIndex&&!this._isSliding){var s,u,c=this.state,f=c.activeIndex,p=c.direction;"next"===p?(s=a+"-item-next",u=a+"-item-left"):"prev"===p&&(s=a+"-item-prev",u=a+"-item-right"),this._isSliding=!0,this.pause(),this.safeSetState({prevClasses:"active",currentClasses:s},function(){var e=n.carousel.current.children[f];(0,g.default)(e),n.safeSetState({prevClasses:(0,l.default)("active",u),currentClasses:(0,l.default)(s,u)},function(){return d.default.end(e,function(){n.safeSetState({prevClasses:"",currentClasses:"active"},n.handleSlideEnd),o&&o()})})})}},n.componentWillUnmount=function(){clearTimeout(this.timeout),this.isUnmounted=!0},n.safeSetState=function(e,t){var n=this;this.isUnmounted||this.setState(e,function(){return!n.isUnmounted&&t()})},n.pause=function(){this._isPaused=!0,clearInterval(this._interval),this._interval=null},n.cycle=function(){this._isPaused=!1,clearInterval(this._interval),this._interval=null,this.props.interval&&!this._isPaused&&(this._interval=setInterval(document.visibilityState?this.handleNextWhenVisible:this.handleNext,this.props.interval))},n.to=function(e,t){var n=this.props.children;e<0||e>b(n)-1||(this._isSliding?this._pendingIndex=e:this.select(e,t))},n.select=function(e,t,n){var r=this;clearTimeout(this.selectThrottle),t&&t.persist&&t.persist(),this.selectThrottle=setTimeout(function(){clearTimeout(r.timeout);var a=r.props,i=a.activeIndex,o=a.onSelect;e===i||r._isSliding||r.isUnmounted||o(e,n||(e<i?"prev":"next"),t)},50)},n.renderControls=function(e){var t=this.props.bsPrefix,n=e.wrap,r=e.children,a=e.activeIndex,i=e.prevIcon,o=e.nextIcon,s=e.prevLabel,l=e.nextLabel,u=b(r);return[(n||0!==a)&&c.default.createElement(v.default,{key:"prev",className:t+"-control-prev",onClick:this.handlePrev},i,s&&c.default.createElement("span",{className:"sr-only"},s)),(n||a!==u-1)&&c.default.createElement(v.default,{key:"next",className:t+"-control-next",onClick:this.handleNext},o,l&&c.default.createElement("span",{className:"sr-only"},l))]},n.renderIndicators=function(e,t){var n=this,r=this.props.bsPrefix,a=[];return(0,h.forEach)(e,function(e,r){a.push(c.default.createElement("li",{key:r,className:r===t?"active":null,onClick:function(e){return n.to(r,e)}})," ")}),c.default.createElement("ol",{className:r+"-indicators"},a)},n.render=function(){var e=this.props,t=e.as,n=void 0===t?"div":t,r=e.bsPrefix,a=e.slide,s=e.fade,u=e.indicators,d=e.controls,f=e.wrap,p=e.prevIcon,m=e.prevLabel,v=e.nextIcon,g=e.nextLabel,y=e.className,b=e.children,S=e.keyboard,E=(e.activeIndex,e.pauseOnHover,e.interval,e.onSelect,e.onSlideEnd,(0,o.default)(e,["as","bsPrefix","slide","fade","indicators","controls","wrap","prevIcon","prevLabel","nextIcon","nextLabel","className","children","keyboard","activeIndex","pauseOnHover","interval","onSelect","onSlideEnd"])),_=this.state,w=_.activeIndex,x=_.previousActiveIndex,I=_.prevClasses,C=_.currentClasses;return c.default.createElement(n,(0,i.default)({},E,{className:(0,l.default)(y,r,a&&"slide",s&&r+"-fade"),onKeyDown:S?this.handleKeyDown:void 0,onMouseOver:this.handleMouseOver,onMouseOut:this.handleMouseOut}),u&&this.renderIndicators(b,w),c.default.createElement("div",{className:r+"-inner",ref:this.carousel},(0,h.map)(b,function(e,t){var n=t===w,a=t===x;return(0,c.cloneElement)(e,{className:(0,l.default)(e.props.className,r+"-item",n&&C,a&&I)})})),d&&this.renderControls({wrap:f,children:b,activeIndex:w,prevIcon:p,prevLabel:m,nextIcon:v,nextLabel:g}))},t}(c.default.Component);E.defaultProps=S;var _=(0,y.createBootstrapComponent)((0,f.default)(E,{activeIndex:"onSelect"}),"carousel");_.Caption=p.default,_.Item=m.default;var w=_;t.default=w,e.exports=t.default},339:function(e,t,n){"use strict";n(20);var r=n(4);t.__esModule=!0,t.default=function(e){return(0,a.default)(e).replace(i,"-ms-")};var a=r(n(340)),i=/^ms-/;e.exports=t.default},340:function(e,t,n){"use strict";n(20),t.__esModule=!0,t.default=function(e){return e.replace(r,"-$1").toLowerCase()};var r=/([A-Z])/g;e.exports=t.default},341:function(e,t,n){"use strict";var r=n(4);t.__esModule=!0,t.default=function(e){if(!e)throw new TypeError("No Element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):{getPropertyValue:function(t){var n=e.style;"float"==(t=(0,a.default)(t))&&(t="styleFloat");var r=e.currentStyle[t]||null;if(null==r&&n&&n[t]&&(r=n[t]),o.test(r)&&!i.test(t)){var s=n.left,l=e.runtimeStyle,u=l&&l.left;u&&(l.left=e.currentStyle.left),n.left="fontSize"===t?"1em":r,r=n.pixelLeft+"px",n.left=s,u&&(l.left=u)}return r}}};var a=r(n(275)),i=/^(top|right|bottom|left)$/,o=/^([+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/i;e.exports=t.default},342:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return"removeProperty"in e.style?e.style.removeProperty(t):e.style.removeAttribute(t)},e.exports=t.default},343:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return!(!e||!r.test(e))};var r=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;e.exports=t.default},344:function(e,t,n){"use strict";var r=n(4);t.__esModule=!0,t.default=void 0;var a=r(n(345));t.end=a.default;var i=r(n(262));t.properties=i.default;var o={end:a.default,properties:i.default};t.default=o},345:function(e,t,n){"use strict";var r=n(4);t.__esModule=!0,t.default=void 0;var a=r(n(262)),i=r(n(274));function o(e,t,n){var r,i={target:e,currentTarget:e};function o(e){e.target===e.currentTarget&&(clearTimeout(r),e.target.removeEventListener(a.default.end,o),t.call(this))}a.default.end?null==n&&(n=l(e)||0):n=0,a.default.end?(e.addEventListener(a.default.end,o,!1),r=setTimeout(function(){return o(i)},1.5*(n||100))):setTimeout(o.bind(null,i),0)}o._parseDuration=l;var s=o;function l(e){var t=(0,i.default)(e,a.default.duration),n=-1===t.indexOf("ms")?1e3:1;return parseFloat(t)*n}t.default=s,e.exports=t.default},346:function(e,t,n){"use strict";var r=n(6),a=n(25),i=n(38),o=n(103),s=n(77),l=n(11),u=n(80).f,d=n(100).f,c=n(15).f,f=n(347).trim,p=r.Number,m=p,v=p.prototype,h="Number"==i(n(79)(v)),g="trim"in String.prototype,y=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,r,a,i=(t=g?t.trim():f(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+t}for(var o,l=t.slice(2),u=0,d=l.length;u<d;u++)if((o=l.charCodeAt(u))<48||o>a)return NaN;return parseInt(l,r)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(h?l(function(){v.valueOf.call(n)}):"Number"!=i(n))?o(new m(y(t)),n,p):y(t)};for(var b,S=n(10)?u(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),E=0;S.length>E;E++)a(m,b=S[E])&&!a(p,b)&&c(p,b,d(m,b));p.prototype=v,v.constructor=p,n(19)(r,"Number",p)}},347:function(e,t,n){var r=n(7),a=n(43),i=n(11),o=n(348),s="["+o+"]",l=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(e,t,n){var a={},s=i(function(){return!!o[e]()||"
"!="
"[e]()}),l=a[e]=s?t(c):o[e];n&&(a[n]=l),r(r.P+r.F*s,"String",a)},c=d.trim=function(e,t){return e=String(a(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(u,"")),e};e.exports=d},348:function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},349:function(e,t,n){"use strict";var r=n(4);t.__esModule=!0,t.default=void 0;var a=(0,r(n(257)).default)("carousel-caption",{Component:"div"});t.default=a,e.exports=t.default},350:function(e,t,n){"use strict";var r=n(4);t.__esModule=!0,t.default=void 0;var a=(0,r(n(257)).default)("carousel-item");t.default=a,e.exports=t.default},351:function(e,t,n){"use strict";var r=n(4);t.__esModule=!0,t.default=void 0;var a=r(n(22)),i=r(n(41)),o=r(n(42)),s=r(n(31)),l=r(n(0)),u=r(n(352));function d(e){return!e||"#"===e.trim()}var c=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleClick=r.handleClick.bind((0,o.default)(r)),r.handleKeyDown=r.handleKeyDown.bind((0,o.default)(r)),r}(0,s.default)(t,e);var n=t.prototype;return n.handleClick=function(e){var t=this.props,n=t.disabled,r=t.href,a=t.onClick;(n||d(r))&&e.preventDefault(),n?e.stopPropagation():a&&a(e)},n.handleKeyDown=function(e){" "===e.key&&(e.preventDefault(),this.handleClick(e))},n.render=function(){var e=this.props,t=e.as,n=void 0===t?"a":t,r=e.disabled,o=e.onKeyDown,s=e.innerRef,c=(0,i.default)(e,["as","disabled","onKeyDown","innerRef"]);return d(c.href)&&(c.role=c.role||"button",c.href=c.href||"#"),r&&(c.tabIndex=-1,c["aria-disabled"]=!0),s&&(c.ref=s),l.default.createElement(n,(0,a.default)({},c,{onClick:this.handleClick,onKeyDown:(0,u.default)(this.handleKeyDown,o)}))},t}(l.default.Component);t.default=c,e.exports=t.default},352:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=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,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];e.apply(this,r),t.apply(this,r)}},null)};t.default=r,e.exports=t.default},353:function(e,t,n){"use strict";var r=n(4);t.__esModule=!0,t.map=function(e,t){var n=0;return a.default.Children.map(e,function(e){return a.default.isValidElement(e)?t(e,n++):e})},t.forEach=function(e,t){var n=0;a.default.Children.forEach(e,function(e){a.default.isValidElement(e)&&t(e,n++)})};var a=r(n(0))},354:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){e.offsetHeight},e.exports=t.default},373:function(e,t,n){"use strict";n.r(t);n(18),n(13),n(5),n(23),n(40);var r=n(261),a=n(260);var i=n(0),o=n.n(i),s=n(36),l=n.n(s),u=function(){};function d(e,t){return void 0!==e[t]}function c(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}n(346),n(73),n(54);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 r=n.call(e,t||"default");if("object"!=typeof r)return r;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 p(e,t){return Object.keys(t).reduce(function(n,o){var s,l=n[c(o)],u=n[o],p=Object(a.default)(n,[c(o),o].map(f)),m=t[o],v=Object(i.useRef)({}),h=Object(i.useState)(l),g=h[0],y=h[1],b=d(e,o),S=d(v.current,o);v.current=e,!b&&S&&y(l);var E=e[m],_=Object(i.useCallback)(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];E&&E.apply(void 0,[e].concat(n)),y(e)},[y,E]);return Object(r.default)({},p,((s={})[o]=b?u:g,s[m]=_,s))},e)}function m(e,t,n){void 0===n&&(n=[]);var i,s=e.displayName||e.name||"Component",f=!!(i=e)&&("function"!=typeof i||i.prototype&&i.prototype.isReactComponent),p=Object.keys(t),v=p.map(c);!f&&n.length&&l()(!1);var h=function(i){var s,l;function u(){for(var e,r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=i.call.apply(i,[this].concat(a))||this).handlers=Object.create(null),p.forEach(function(n){var r=t[n];e.handlers[r]=function(t){if(e.props[r]){var a;e._notifying=!0;for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];(a=e.props)[r].apply(a,[t].concat(o)),e._notifying=!1}e._values[n]=t,e.unmounted||e.forceUpdate()}}),n.length&&(e.attachRef=function(t){e.inner=t}),e}l=i,(s=u).prototype=Object.create(l.prototype),s.prototype.constructor=s,s.__proto__=l;var f=u.prototype;return f.shouldComponentUpdate=function(){return!this._notifying},f.componentWillMount=function(){var e=this,t=this.props;this._values=Object.create(null),p.forEach(function(n){e._values[n]=t[c(n)]})},f.componentWillReceiveProps=function(e){var t=this,n=this.props;p.forEach(function(r){!d(e,r)&&d(n,r)&&(t._values[r]=e[c(r)])})},f.componentWillUnmount=function(){this.unmounted=!0},f.render=function(){var t=this,n=this.props,i=n.innerRef,s=Object(a.default)(n,["innerRef"]);v.forEach(function(e){delete s[e]});var l={};return p.forEach(function(e){var n=t.props[e];l[e]=void 0!==n?n:t._values[e]}),o.a.createElement(e,Object(r.default)({},s,l,this.handlers,{ref:i||this.attachRef}))},u}(o.a.Component);h.displayName="Uncontrolled("+s+")",h.propTypes=Object(r.default)({innerRef:function(){}},function(e,t){var n={};return Object.keys(e).forEach(function(e){n[c(e)]=u}),n}(t)),n.forEach(function(e){h.prototype[e]=function(){var t;return(t=this.inner)[e].apply(t,arguments)}});var g=h;return o.a.forwardRef&&((g=o.a.forwardRef(function(e,t){return o.a.createElement(h,Object(r.default)({},e,{innerRef:t}))})).propTypes=h.propTypes),g.ControlledComponent=e,g.deferControlTo=function(e,n,a){return void 0===n&&(n={}),m(e,Object(r.default)({},t,n),a)},g}n.d(t,"uncontrollable",function(){return m}),n.d(t,"useUncontrolled",function(){return p});t.default=m}}]);
//# sourceMappingURL=15-e9d6e91c58d6971d6a31.js.map