-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path4.2cf72a8b83281266e074.bundle.js
1 lines (1 loc) · 57 KB
/
4.2cf72a8b83281266e074.bundle.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{336:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n(0),i=function(e){return Object(r.a)({tag:"svg",attr:{version:"1.1",viewBox:"0 0 32 32"},child:[{tag:"path",attr:{d:"M4.698 3.419l2.057 23.073 9.231 2.563 9.256-2.566 2.059-23.069h-22.604zM13.226 9.394l-0.409 4.441 9.671 0.001-0.069 0.76-0.665 7.45-0.042 0.478-5.804 1.609-5.796-1.609-0.396-4.443h2.84l0.202 2.257 3.154 0.85 3.156-0.852 0.328-3.67-9.671-0.001 0.069-0.76 0.665-7.45 0.209-2.086h11.287l0.131 1.598 0.403 4.453h-2.841l-0.262-2.922-2.889-0.174h-0.515v-0.004l-2.755 0.074z"}}]})(e)};i.displayName="DiJavascript";var a=function(e){return Object(r.a)({tag:"svg",attr:{version:"1.1",viewBox:"0 0 32 32"},child:[{tag:"path",attr:{d:"M16.232 24.047c-0.15-0.034-0.295-0.081-0.441-0.124-0.037-0.011-0.074-0.022-0.11-0.033-0.143-0.044-0.284-0.090-0.425-0.139-0.019-0.007-0.039-0.014-0.058-0.021-0.126-0.045-0.251-0.091-0.375-0.139-0.035-0.014-0.070-0.027-0.105-0.041-0.136-0.054-0.271-0.11-0.405-0.168-0.027-0.012-0.054-0.024-0.081-0.036-0.115-0.052-0.228-0.105-0.341-0.159-0.033-0.016-0.065-0.031-0.099-0.047-0.089-0.043-0.177-0.090-0.264-0.134-0.059-0.031-0.118-0.060-0.176-0.092-0.107-0.058-0.212-0.117-0.317-0.178-0.035-0.020-0.071-0.038-0.107-0.059-0.139-0.081-0.277-0.166-0.412-0.252-0.037-0.024-0.074-0.050-0.111-0.074-0.099-0.063-0.197-0.128-0.293-0.195-0.032-0.021-0.063-0.045-0.094-0.066-0.093-0.066-0.186-0.132-0.277-0.2-0.042-0.031-0.082-0.062-0.123-0.093-0.084-0.064-0.168-0.129-0.25-0.196-0.037-0.030-0.075-0.060-0.112-0.090-0.105-0.087-0.209-0.173-0.312-0.263-0.011-0.009-0.023-0.018-0.034-0.028-0.111-0.097-0.22-0.197-0.328-0.298-0.031-0.030-0.062-0.059-0.092-0.088-0.080-0.076-0.158-0.153-0.235-0.231-0.031-0.031-0.062-0.061-0.092-0.092-0.098-0.101-0.194-0.203-0.289-0.306-0.005-0.005-0.010-0.010-0.014-0.015-0.1-0.109-0.197-0.221-0.293-0.334-0.026-0.031-0.051-0.060-0.077-0.091-0.071-0.086-0.142-0.173-0.211-0.261-0.026-0.031-0.052-0.064-0.077-0.096-0.083-0.108-0.164-0.215-0.243-0.324-2.197-2.996-2.986-7.129-1.23-10.523l-1.556 1.974c-1.994 2.866-1.746 6.595-0.223 9.64 0.036 0.073 0.074 0.145 0.112 0.217 0.024 0.045 0.046 0.092 0.071 0.137 0.014 0.027 0.030 0.053 0.044 0.079 0.026 0.049 0.053 0.095 0.079 0.142 0.047 0.083 0.096 0.166 0.145 0.249 0.027 0.045 0.055 0.091 0.083 0.136 0.055 0.089 0.111 0.176 0.169 0.264 0.024 0.037 0.047 0.075 0.072 0.111 0.080 0.118 0.161 0.236 0.244 0.353 0.002 0.003 0.005 0.006 0.007 0.009 0.013 0.018 0.028 0.037 0.041 0.056 0.072 0.1 0.147 0.199 0.223 0.296 0.028 0.036 0.056 0.072 0.084 0.107 0.067 0.085 0.136 0.169 0.206 0.253 0.026 0.031 0.052 0.063 0.079 0.094 0.094 0.11 0.189 0.22 0.287 0.328 0.002 0.002 0.004 0.004 0.006 0.005 0.004 0.005 0.008 0.008 0.011 0.013 0.095 0.104 0.193 0.206 0.291 0.307 0.031 0.032 0.062 0.063 0.093 0.094 0.076 0.077 0.154 0.153 0.233 0.228 0.032 0.030 0.063 0.061 0.095 0.091 0.105 0.099 0.211 0.196 0.319 0.291 0.002 0.001 0.003 0.003 0.005 0.004 0.018 0.016 0.038 0.032 0.056 0.047 0.095 0.082 0.192 0.164 0.29 0.245 0.040 0.032 0.080 0.064 0.12 0.096 0.080 0.064 0.16 0.127 0.241 0.189 0.043 0.033 0.086 0.066 0.129 0.098 0.089 0.066 0.18 0.131 0.271 0.194 0.033 0.024 0.065 0.047 0.099 0.070 0.009 0.006 0.018 0.013 0.027 0.019 0.086 0.060 0.175 0.116 0.263 0.174 0.038 0.025 0.075 0.051 0.114 0.076 0.136 0.086 0.273 0.171 0.412 0.253 0.038 0.022 0.076 0.043 0.114 0.064 0.102 0.059 0.205 0.117 0.309 0.174 0.056 0.030 0.114 0.059 0.171 0.088 0.073 0.038 0.147 0.078 0.221 0.115 0.017 0.009 0.035 0.017 0.051 0.025 0.030 0.014 0.060 0.028 0.091 0.044 0.116 0.055 0.233 0.11 0.351 0.163 0.025 0.011 0.049 0.022 0.074 0.033 0.135 0.059 0.271 0.116 0.409 0.17 0.033 0.014 0.066 0.026 0.1 0.039 0.127 0.049 0.256 0.098 0.386 0.143 0.016 0.006 0.032 0.012 0.049 0.017 0.142 0.050 0.286 0.096 0.43 0.141 0.034 0.010 0.069 0.021 0.104 0.031 0.147 0.044 0.293 0.097 0.445 0.125 9.643 1.759 12.444-5.795 12.444-5.795-2.352 3.065-6.528 3.873-10.485 2.974zM12.758 16.231c0.216 0.31 0.456 0.678 0.742 0.927 0.104 0.114 0.213 0.226 0.324 0.336 0.028 0.029 0.057 0.056 0.085 0.084 0.108 0.105 0.217 0.207 0.33 0.307 0.005 0.003 0.009 0.008 0.014 0.012 0.001 0.001 0.002 0.002 0.003 0.003 0.125 0.11 0.255 0.216 0.386 0.319 0.029 0.022 0.058 0.046 0.088 0.069 0.132 0.101 0.266 0.2 0.404 0.295 0.004 0.003 0.008 0.006 0.012 0.009 0.061 0.042 0.123 0.081 0.184 0.122 0.030 0.019 0.058 0.040 0.088 0.058 0.098 0.063 0.198 0.125 0.299 0.183 0.014 0.009 0.028 0.016 0.042 0.024 0.087 0.051 0.176 0.1 0.265 0.148 0.031 0.018 0.063 0.033 0.094 0.049 0.061 0.032 0.123 0.064 0.185 0.096 0.009 0.004 0.019 0.009 0.028 0.012 0.127 0.063 0.255 0.123 0.386 0.18 0.028 0.012 0.057 0.023 0.085 0.035 0.105 0.045 0.21 0.088 0.316 0.129 0.045 0.017 0.091 0.033 0.135 0.050 0.097 0.036 0.193 0.069 0.291 0.101 0.044 0.014 0.087 0.028 0.131 0.042 0.139 0.043 0.276 0.098 0.42 0.122 7.445 1.233 9.164-4.499 9.164-4.499-1.549 2.232-4.55 3.296-7.752 2.465-0.142-0.038-0.282-0.078-0.422-0.122-0.043-0.013-0.084-0.027-0.127-0.041-0.099-0.032-0.197-0.066-0.295-0.102-0.045-0.017-0.089-0.033-0.133-0.050-0.107-0.041-0.213-0.084-0.317-0.128-0.029-0.013-0.058-0.024-0.086-0.036-0.131-0.057-0.261-0.117-0.389-0.18-0.066-0.032-0.13-0.066-0.195-0.099-0.037-0.019-0.075-0.038-0.112-0.058-0.083-0.045-0.165-0.092-0.246-0.139-0.019-0.011-0.040-0.022-0.059-0.033-0.101-0.059-0.2-0.12-0.299-0.182-0.030-0.019-0.060-0.040-0.090-0.060-0.065-0.042-0.13-0.085-0.193-0.128-0.137-0.095-0.271-0.194-0.402-0.294-0.030-0.024-0.061-0.047-0.091-0.071-1.401-1.107-2.512-2.619-3.041-4.334-0.554-1.778-0.434-3.775 0.525-5.395l-1.178 1.663c-1.442 2.075-1.364 4.853-0.239 7.048 0.189 0.368 0.401 0.725 0.638 1.065zM20.606 13.664c0.061 0.023 0.123 0.043 0.185 0.064 0.027 0.008 0.054 0.018 0.082 0.026 0.088 0.027 0.175 0.060 0.265 0.076 4.111 0.794 5.226-2.11 5.523-2.537-0.977 1.406-2.618 1.744-4.632 1.255-0.159-0.039-0.334-0.096-0.488-0.151-0.197-0.070-0.39-0.15-0.579-0.24-0.358-0.172-0.699-0.38-1.015-0.619-1.802-1.367-2.922-3.976-1.746-6.101l-0.637 0.877c-0.85 1.251-0.933 2.805-0.344 4.186 0.622 1.467 1.897 2.617 3.384 3.163z"}}]})(e)};a.displayName="DiJqueryLogo"},338:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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}}(),a=p(n(339)),o=p(n(1)),s=n(340),l=p(n(341)),u=p(n(342)),c=p(n(343)),h=p(n(344)),d=n(2),f=p(n(345));function p(e){return e&&e.__esModule?e:{default:e}}var v=["fullscreenchange","MSFullscreenChange","mozfullscreenchange","webkitfullscreenchange"],m=(0,d.arrayOf)((0,d.shape)({srcSet:d.string,media:d.string}));function g(e){var t=parseInt(e.keyCode||e.which||0,10);return 66===t||62===t}var b=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.state={currentIndex:e.startIndex,thumbsTranslate:0,currentSlideOffset:0,galleryWidth:0,thumbnailsWrapperWidth:0,thumbnailsWrapperHeight:0,isFullscreen:!1,isPlaying:!1},n.loadedImages={},n.imageGallery=o.default.createRef(),n.thumbnailsWrapper=o.default.createRef(),n.thumbnails=o.default.createRef(),n.imageGallerySlideWrapper=o.default.createRef(),n.handleKeyDown=n.handleKeyDown.bind(n),n.handleMouseDown=n.handleMouseDown.bind(n),n.handleOnSwiped=n.handleOnSwiped.bind(n),n.handleScreenChange=n.handleScreenChange.bind(n),n.handleSwiping=n.handleSwiping.bind(n),n.onThumbnailMouseLeave=n.onThumbnailMouseLeave.bind(n),n.pauseOrPlay=n.pauseOrPlay.bind(n),n.renderThumbInner=n.renderThumbInner.bind(n),n.renderItem=n.renderItem.bind(n),n.slideLeft=n.slideLeft.bind(n),n.slideRight=n.slideRight.bind(n),n.toggleFullScreen=n.toggleFullScreen.bind(n),n.togglePlay=n.togglePlay.bind(n),n.unthrottledSlideToIndex=n.slideToIndex,n.slideToIndex=(0,l.default)(n.unthrottledSlideToIndex,e.slideDuration,{trailing:!1}),e.lazyLoad&&(n.lazyLoaded=[]),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.props.autoPlay&&this.play(),window.addEventListener("keydown",this.handleKeyDown),window.addEventListener("mousedown",this.handleMouseDown),this.initResizeObserver(this.imageGallerySlideWrapper),this.addScreenChangeEvent()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.items,i=n.lazyLoad,a=n.slideDuration,o=n.startIndex,s=n.thumbnailPosition,u=n.showThumbnails,h=this.state.currentIndex,d=e.items.length!==r.length,f=!(0,c.default)(e.items,r),p=e.startIndex!==o,v=e.thumbnailPosition!==s,m=e.showThumbnails!==u;v&&(this.removeResizeObserver(),this.initResizeObserver(this.imageGallerySlideWrapper)),(d||m)&&this.handleResize(),t.currentIndex!==h&&this.slideThumbnailBar(t.currentIndex),e.slideDuration!==a&&(this.slideToIndex=(0,l.default)(this.unthrottledSlideToIndex,a,{trailing:!1})),!i||e.lazyLoad&&!f||(this.lazyLoaded=[]),(p||f)&&this.setState({currentIndex:o})}},{key:"componentWillUnmount",value:function(){window.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("mousedown",this.handleMouseDown),this.removeScreenChangeEvent(),this.removeResizeObserver(),this.intervalId&&(window.clearInterval(this.intervalId),this.intervalId=null),this.transitionTimer&&window.clearTimeout(this.transitionTimer)}},{key:"onSliding",value:function(){var e=this,t=this.state,n=t.currentIndex,r=t.isTransitioning,i=this.props,a=i.onSlide,o=i.slideDuration;this.transitionTimer=window.setTimeout((function(){r&&(e.setState({isTransitioning:!r}),a&&a(n))}),o+50)}},{key:"onThumbnailClick",value:function(e,t){var n=this.props.onThumbnailClick;this.slideToIndex(t,e),n&&n(e,t)}},{key:"onThumbnailMouseOver",value:function(e,t){var n=this;this.thumbnailMouseOverTimer&&(window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null),this.thumbnailMouseOverTimer=window.setTimeout((function(){n.slideToIndex(t),n.pause()}),300)}},{key:"onThumbnailMouseLeave",value:function(){if(this.thumbnailMouseOverTimer){var e=this.props.autoPlay;window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null,e&&this.play()}}},{key:"setScrollDirection",value:function(e){var t=this.state,n=t.scrollingUpDown,r=t.scrollingLeftRight;n||r||(e===s.LEFT||e===s.RIGHT?this.setState({scrollingLeftRight:!0}):this.setState({scrollingUpDown:!0}))}},{key:"setThumbsTranslate",value:function(e){this.setState({thumbsTranslate:e})}},{key:"setModalFullscreen",value:function(e){var t=this.props.onScreenChange;this.setState({modalFullscreen:e}),t&&t(e)}},{key:"getThumbsTranslate",value:function(e){var t=this.props,n=t.disableThumbnailScroll,r=t.items,i=this.state,a=i.thumbnailsWrapperWidth,o=i.thumbnailsWrapperHeight,s=void 0,l=this.thumbnails&&this.thumbnails.current;if(n)return 0;if(l){if(this.isThumbnailVertical()){if(l.scrollHeight<=o)return 0;s=l.scrollHeight-o}else{if(l.scrollWidth<=a||a<=0)return 0;s=l.scrollWidth-a}return e*(s/(r.length-1))}return 0}},{key:"getAlignmentClassName",value:function(e){var t=this.state.currentIndex,n=this.props,r=n.infinite,i=n.items,a="";switch(e){case t-1:a=" left";break;case t:a=" center";break;case t+1:a=" right"}return i.length>=3&&r&&(0===e&&t===i.length-1?a=" right":e===i.length-1&&0===t&&(a=" left")),a}},{key:"getTranslateXForTwoSlide",value:function(e){var t=this.state,n=t.currentIndex,r=t.currentSlideOffset,i=t.previousIndex,a=n!==i,o=0===e&&0===i,s=1===e&&1===i,l=0===e&&1===n,u=1===e&&0===n,c=0===r,h=-100*n+100*e+r;return r>0?this.direction="left":r<0&&(this.direction="right"),u&&r>0&&(h=-100+r),l&&r<0&&(h=100+r),a?o&&c&&"left"===this.direction?h=100:s&&c&&"right"===this.direction&&(h=-100):(u&&c&&"left"===this.direction&&(h=-100),l&&c&&"right"===this.direction&&(h=100)),h}},{key:"getThumbnailBarHeight",value:function(){return this.isThumbnailVertical()?{height:this.state.gallerySlideWrapperHeight}:{}}},{key:"getSlideStyle",value:function(e){var t=this.state,n=t.currentIndex,i=t.currentSlideOffset,a=t.slideStyle,o=this.props,s=o.infinite,l=o.items,u=o.useTranslate3D,c=o.isRTL,h=-100*n,d=l.length-1,f=(h+100*e)*(c?-1:1)+i;s&&l.length>2&&(0===n&&e===d?f=-100*(c?-1:1)+i:n===d&&0===e&&(f=100*(c?-1:1)+i)),s&&2===l.length&&(f=this.getTranslateXForTwoSlide(e));var p="translate("+f+"%, 0)";return u&&(p="translate3d("+f+"%, 0, 0)"),r({},{WebkitTransform:p,MozTransform:p,msTransform:p,OTransform:p,transform:p},a)}},{key:"getCurrentIndex",value:function(){return this.state.currentIndex}},{key:"getThumbnailStyle",value:function(){var e=void 0,t=this.props,n=t.useTranslate3D,r=t.isRTL,i=this.state.thumbsTranslate,a=r?-1*i:i;return this.isThumbnailVertical()?(e="translate(0, "+i+"px)",n&&(e="translate3d(0, "+i+"px, 0)")):(e="translate("+a+"px, 0)",n&&(e="translate3d("+a+"px, 0, 0)")),{WebkitTransform:e,MozTransform:e,msTransform:e,OTransform:e,transform:e}}},{key:"getSlideItems",value:function(){var e=this,t=this.state.currentIndex,n=this.props,r=n.infinite,i=n.items,s=n.slideOnThumbnailOver,l=n.onClick,u=n.lazyLoad,c=n.onTouchMove,h=n.onTouchEnd,d=n.onTouchStart,f=n.onMouseOver,p=n.onMouseLeave,v=n.renderItem,m=n.renderThumbInner,g=n.showThumbnails,b=n.showBullets,y=[],w=[],_=[];return i.forEach((function(n,i){var T=e.getAlignmentClassName(i),S=n.originalClass?" "+n.originalClass:"",O=n.thumbnailClass?" "+n.thumbnailClass:"",E=n.renderItem||v||e.renderItem,k=n.renderThumbInner||m||e.renderThumbInner,x=!u||T||e.lazyLoaded[i];x&&u&&!e.lazyLoaded[i]&&(e.lazyLoaded[i]=!0);var I=e.getSlideStyle(i),M=o.default.createElement("div",{key:"slide-"+n.original,tabIndex:"-1",className:"image-gallery-slide "+T+" "+S,style:I,onClick:l,onKeyUp:e.handleSlideKeyUp,onTouchMove:c,onTouchEnd:h,onTouchStart:d,onMouseOver:f,onFocus:f,onMouseLeave:p,role:"button"},x?E(n):o.default.createElement("div",{style:{height:"100%"}}));if(r?e.shouldPushSlideOnInfiniteMode(i)&&y.push(M):y.push(M),g){var j=(0,a.default)("image-gallery-thumbnail",O,{active:t===i});w.push(o.default.createElement("button",{key:"thumbnail-"+n.original,type:"button",tabIndex:"0","aria-pressed":t===i?"true":"false","aria-label":"Go to Slide "+(i+1),className:j,onMouseLeave:s?e.onThumbnailMouseLeave:null,onMouseOver:function(t){return e.handleThumbnailMouseOver(t,i)},onFocus:function(t){return e.handleThumbnailMouseOver(t,i)},onKeyUp:function(t){return e.handleThumbnailKeyUp(t,i)},onClick:function(t){return e.onThumbnailClick(t,i)}},k(n)))}if(b){var L=(0,a.default)("image-gallery-bullet",n.bulletClass,{active:t===i});_.push(o.default.createElement("button",{type:"button",key:"bullet-"+n.original,className:L,onClick:function(r){return n.bulletOnClick&&n.bulletOnClick({item:n,itemIndex:i,currentIndex:t}),e.slideToIndex.call(e,i,r)},"aria-pressed":t===i?"true":"false","aria-label":"Go to Slide "+(i+1)}))}})),{slides:y,thumbnails:w,bullets:_}}},{key:"ignoreIsTransitioning",value:function(){var e=this.props.items,t=this.state,n=t.previousIndex,r=t.currentIndex,i=e.length-1;return Math.abs(n-r)>1&&!(0===n&&r===i)&&!(n===i&&0===r)}},{key:"isFirstOrLastSlide",value:function(e){return e===this.props.items.length-1||0===e}},{key:"slideIsTransitioning",value:function(e){var t=this.state,n=t.isTransitioning,r=t.previousIndex,i=t.currentIndex;return n&&!(e===r||e===i)}},{key:"shouldPushSlideOnInfiniteMode",value:function(e){return!this.slideIsTransitioning(e)||this.ignoreIsTransitioning()&&!this.isFirstOrLastSlide(e)}},{key:"slideThumbnailBar",value:function(e){var t=this.state,n=t.thumbsTranslate,r=t.currentIndex;if(0===r)this.setThumbsTranslate(0);else{var i=Math.abs(e-r),a=this.getThumbsTranslate(i);a>0&&(e<r?this.setThumbsTranslate(n-a):e>r&&this.setThumbsTranslate(n+a))}}},{key:"canSlide",value:function(){return this.props.items.length>=2}},{key:"canSlideLeft",value:function(){var e=this.props,t=e.infinite,n=e.isRTL;return t||(n?this.canSlideNext():this.canSlidePrevious())}},{key:"canSlideRight",value:function(){var e=this.props,t=e.infinite,n=e.isRTL;return t||(n?this.canSlidePrevious():this.canSlideNext())}},{key:"canSlidePrevious",value:function(){return this.state.currentIndex>0}},{key:"canSlideNext",value:function(){return this.state.currentIndex<this.props.items.length-1}},{key:"handleSwiping",value:function(e){var t=e.event,n=e.absX,r=e.dir,i=this.props,a=i.preventDefaultTouchmoveEvent,o=i.disableSwipe,l=i.stopPropagation,u=this.state,c=u.galleryWidth,h=u.isTransitioning,d=u.scrollingUpDown,f=u.scrollingLeftRight;if(!o){var p=this.props.swipingTransitionDuration;if(this.setScrollDirection(r),l&&t.stopPropagation(),(a||f)&&t.cancelable&&t.preventDefault(),h||d)this.setState({currentSlideOffset:0});else{var v=r===s.RIGHT?1:-1,m=n/c*100;Math.abs(m)>=100&&(m=100);var g={transition:"transform "+p+"ms ease-out"};this.setState({currentSlideOffset:v*m,slideStyle:g})}}}},{key:"sufficientSwipe",value:function(){var e=this.state.currentSlideOffset,t=this.props.swipeThreshold;return Math.abs(e)>t}},{key:"handleOnSwiped",value:function(e){var t=e.event,n=e.dir,r=e.velocity,i=this.props,a=i.disableSwipe,o=i.stopPropagation,l=i.flickThreshold,u=this.state,c=u.scrollingUpDown,h=u.scrollingLeftRight;if(!a){var d=this.props.isRTL;if(o&&t.stopPropagation(),c&&this.setState({scrollingUpDown:!1}),h&&this.setState({scrollingLeftRight:!1}),!c){var f=(n===s.LEFT?1:-1)*(d?-1:1),p=r>l;this.handleOnSwipedTo(f,p)}}}},{key:"handleOnSwipedTo",value:function(e,t){var n=this.state,r=n.currentIndex,i=n.isTransitioning,a=r;!this.sufficientSwipe()&&!t||i||(a+=e),(-1===e&&!this.canSlideLeft()||1===e&&!this.canSlideRight())&&(a=r),this.unthrottledSlideToIndex(a)}},{key:"handleMouseDown",value:function(){this.imageGallery.current.classList.add("image-gallery-using-mouse")}},{key:"handleKeyDown",value:function(e){var t=this.props,n=t.disableKeyDown,r=t.useBrowserFullscreen,i=this.state.isFullscreen;if(this.imageGallery.current.classList.remove("image-gallery-using-mouse"),!n){switch(parseInt(e.keyCode||e.which||0,10)){case 37:this.canSlideLeft()&&!this.intervalId&&this.slideLeft();break;case 39:this.canSlideRight()&&!this.intervalId&&this.slideRight();break;case 27:i&&!r&&this.exitFullScreen()}}}},{key:"handleImageError",value:function(e){var t=this.props.onErrorImageURL;t&&-1===e.target.src.indexOf(t)&&(e.target.src=t)}},{key:"removeResizeObserver",value:function(){this.resizeObserver&&this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&this.resizeObserver.unobserve(this.imageGallerySlideWrapper.current)}},{key:"handleResize",value:function(){var e=this.state.currentIndex;this.imageGallery&&this.imageGallery.current&&this.setState({galleryWidth:this.imageGallery.current.offsetWidth}),this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&this.setState({gallerySlideWrapperHeight:this.imageGallerySlideWrapper.current.offsetHeight}),this.thumbnailsWrapper&&this.thumbnailsWrapper.current&&(this.isThumbnailVertical()?this.setState({thumbnailsWrapperHeight:this.thumbnailsWrapper.current.offsetHeight}):this.setState({thumbnailsWrapperWidth:this.thumbnailsWrapper.current.offsetWidth})),this.setThumbsTranslate(-this.getThumbsTranslate(e))}},{key:"initResizeObserver",value:function(e){var t=this;this.resizeObserver=new h.default((0,u.default)((function(e){e&&e.forEach((function(){t.handleResize()}))}),300)),this.resizeObserver.observe(e.current)}},{key:"toggleFullScreen",value:function(){this.state.isFullscreen?this.exitFullScreen():this.fullScreen()}},{key:"togglePlay",value:function(){this.intervalId?this.pause():this.play()}},{key:"handleScreenChange",value:function(){var e=this.props.onScreenChange,t=document.fullscreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement;e&&e(t),this.setState({isFullscreen:!!t})}},{key:"slideToIndex",value:function(e,t){var n=this.state,r=n.currentIndex,i=n.isTransitioning,a=this.props,o=a.items,s=a.slideDuration,l=a.onBeforeSlide;if(!i){t&&this.intervalId&&(this.pause(!1),this.play(!1));var u=o.length-1,c=e;e<0?c=u:e>u&&(c=0),l&&c!==r&&l(c),this.setState({previousIndex:r,currentIndex:c,isTransitioning:c!==r,currentSlideOffset:0,slideStyle:{transition:"all "+s+"ms ease-out"}},this.onSliding)}}},{key:"slideLeft",value:function(){this.props.isRTL?this.slideNext():this.slidePrevious()}},{key:"slideRight",value:function(){this.props.isRTL?this.slidePrevious():this.slideNext()}},{key:"slidePrevious",value:function(e){var t=this,n=this.state,r=n.currentIndex,i=n.currentSlideOffset,a=n.isTransitioning,o=this.props.items,s=r-1;a||(2===o.length?this.setState({currentSlideOffset:i+.001,slideStyle:{transition:"none"}},(function(){window.setTimeout((function(){return t.slideToIndex(s,e)}),25)})):this.slideToIndex(s,e))}},{key:"slideNext",value:function(e){var t=this,n=this.state,r=n.currentIndex,i=n.currentSlideOffset,a=n.isTransitioning,o=this.props.items,s=r+1;a||(2===o.length?this.setState({currentSlideOffset:i-.001,slideStyle:{transition:"none"}},(function(){window.setTimeout((function(){return t.slideToIndex(s,e)}),25)})):this.slideToIndex(s,e))}},{key:"handleThumbnailMouseOver",value:function(e,t){this.props.slideOnThumbnailOver&&this.onThumbnailMouseOver(e,t)}},{key:"handleThumbnailKeyUp",value:function(e,t){g(e)&&this.onThumbnailClick(e,t)}},{key:"handleSlideKeyUp",value:function(e){g(e)&&(0,this.props.onClick)(e)}},{key:"isThumbnailVertical",value:function(){var e=this.props.thumbnailPosition;return"left"===e||"right"===e}},{key:"addScreenChangeEvent",value:function(){var e=this;v.forEach((function(t){document.addEventListener(t,e.handleScreenChange)}))}},{key:"removeScreenChangeEvent",value:function(){var e=this;v.forEach((function(t){document.removeEventListener(t,e.handleScreenChange)}))}},{key:"fullScreen",value:function(){var e=this.props.useBrowserFullscreen,t=this.imageGallery.current;e?t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():this.setModalFullscreen(!0):this.setModalFullscreen(!0),this.setState({isFullscreen:!0})}},{key:"exitFullScreen",value:function(){var e=this.state.isFullscreen,t=this.props.useBrowserFullscreen;e&&(t?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():this.setModalFullscreen(!1):this.setModalFullscreen(!1),this.setState({isFullscreen:!1}))}},{key:"pauseOrPlay",value:function(){var e=this.props.infinite,t=this.state.currentIndex;e||this.canSlideRight()?this.slideToIndex(t+1):this.pause()}},{key:"play",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.props,n=t.onPlay,r=t.slideInterval,i=t.slideDuration,a=this.state.currentIndex;this.intervalId||(this.setState({isPlaying:!0}),this.intervalId=window.setInterval(this.pauseOrPlay,Math.max(r,i)),n&&e&&n(a))}},{key:"pause",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.props.onPause,n=this.state.currentIndex;this.intervalId&&(window.clearInterval(this.intervalId),this.intervalId=null,this.setState({isPlaying:!1}),t&&e&&t(n))}},{key:"isImageLoaded",value:function(e){return!!this.loadedImages[e.original]||(this.loadedImages[e.original]=!0,!1)}},{key:"renderItem",value:function(e){var t=this.state.isFullscreen,n=this.props,r=n.onImageError,i=n.onImageLoad,a=r||this.handleImageError,s=t&&e.fullscreen||e.original;return o.default.createElement("div",null,e.imageSet?o.default.createElement("picture",{onLoad:this.isImageLoaded(e)?null:i,onError:a},e.imageSet.map((function(e){return o.default.createElement("source",{key:e.media,media:e.media,srcSet:e.srcSet,type:e.type})})),o.default.createElement("img",{className:"image-gallery-image",alt:e.originalAlt,src:s})):o.default.createElement("img",{className:"image-gallery-image",src:s,alt:e.originalAlt,srcSet:e.srcSet,sizes:e.sizes,title:e.originalTitle,onLoad:this.isImageLoaded(e)?null:i,onError:a}),e.description&&o.default.createElement("span",{className:"image-gallery-description"},e.description))}},{key:"renderThumbInner",value:function(e){var t=this.props.onThumbnailError||this.handleImageError;return o.default.createElement("div",{className:"image-gallery-thumbnail-inner"},o.default.createElement("img",{className:"image-gallery-thumbnail-image",src:e.thumbnail,alt:e.thumbnailAlt,title:e.thumbnailTitle,onError:t}),e.thumbnailLabel&&o.default.createElement("div",{className:"image-gallery-thumbnail-label"},e.thumbnailLabel))}},{key:"render",value:function(){var e=this.state,t=e.currentIndex,n=e.isFullscreen,r=e.modalFullscreen,i=e.isPlaying,l=this.props,u=l.additionalClass,c=l.indexSeparator,h=l.isRTL,d=l.items,f=l.thumbnailPosition,p=l.renderFullscreenButton,v=l.renderCustomControls,m=l.renderLeftNav,g=l.renderRightNav,b=l.showBullets,y=l.showFullscreenButton,w=l.showIndex,_=l.showThumbnails,T=l.showNav,S=l.showPlayButton,O=l.renderPlayPauseButton,E=this.getThumbnailStyle(),k=this.getSlideItems(),x=k.slides,I=k.thumbnails,M=k.bullets,j=(0,a.default)("image-gallery-slide-wrapper",f,{"image-gallery-rtl":h}),L=o.default.createElement("div",{ref:this.imageGallerySlideWrapper,className:j},v&&v(),this.canSlide()?o.default.createElement(o.default.Fragment,null,T&&o.default.createElement(o.default.Fragment,null,m(this.slideLeft,!this.canSlideLeft()),g(this.slideRight,!this.canSlideRight())),o.default.createElement(s.Swipeable,{className:"image-gallery-swipe",delta:0,onSwiping:this.handleSwiping,onSwiped:this.handleOnSwiped},o.default.createElement("div",{className:"image-gallery-slides"},x))):o.default.createElement("div",{className:"image-gallery-slides"},x),S&&O(this.togglePlay,i),b&&o.default.createElement("div",{className:"image-gallery-bullets"},o.default.createElement("div",{className:"image-gallery-bullets-container",role:"navigation","aria-label":"Bullet Navigation"},M)),y&&p(this.toggleFullScreen,n),w&&o.default.createElement("div",{className:"image-gallery-index"},o.default.createElement("span",{className:"image-gallery-index-current"},t+1),o.default.createElement("span",{className:"image-gallery-index-separator"},c),o.default.createElement("span",{className:"image-gallery-index-total"},d.length))),F=(0,a.default)("image-gallery",u,{"fullscreen-modal":r}),R=(0,a.default)("image-gallery-content",f,{fullscreen:n}),z=(0,a.default)("image-gallery-thumbnails-wrapper",f,{"thumbnails-wrapper-rtl":!this.isThumbnailVertical()&&h});return o.default.createElement("div",{ref:this.imageGallery,className:F,"aria-live":"polite"},o.default.createElement("div",{className:R},("bottom"===f||"right"===f)&&L,_&&o.default.createElement("div",{className:z,style:this.getThumbnailBarHeight()},o.default.createElement("div",{className:"image-gallery-thumbnails",ref:this.thumbnailsWrapper},o.default.createElement("div",{ref:this.thumbnails,className:"image-gallery-thumbnails-container",style:E,"aria-label":"Thumbnail Navigation"},I))),("top"===f||"left"===f)&&L))}}]),t}(o.default.Component);b.propTypes={flickThreshold:d.number,items:(0,d.arrayOf)((0,d.shape)({bulletClass:d.string,bulletOnClick:d.func,description:d.string,original:d.string.isRequired,fullscreen:d.string,originalAlt:d.string,originalTitle:d.string,thumbnail:d.string,thumbnailAlt:d.string,thumbnailLabel:d.string,thumbnailTitle:d.string,originalClass:d.string,thumbnailClass:d.string,renderItem:d.func,renderThumbInner:d.func,imageSet:m,srcSet:d.string,sizes:d.string})).isRequired,showNav:d.bool,autoPlay:d.bool,lazyLoad:d.bool,infinite:d.bool,showIndex:d.bool,showBullets:d.bool,showThumbnails:d.bool,showPlayButton:d.bool,showFullscreenButton:d.bool,disableThumbnailScroll:d.bool,disableKeyDown:d.bool,disableSwipe:d.bool,useBrowserFullscreen:d.bool,preventDefaultTouchmoveEvent:d.bool,onErrorImageURL:d.string,indexSeparator:d.string,thumbnailPosition:d.string,startIndex:d.number,slideDuration:d.number,slideInterval:d.number,slideOnThumbnailOver:d.bool,swipeThreshold:d.number,swipingTransitionDuration:d.number,onSlide:d.func,onBeforeSlide:d.func,onScreenChange:d.func,onPause:d.func,onPlay:d.func,onClick:d.func,onImageLoad:d.func,onImageError:d.func,onTouchMove:d.func,onTouchEnd:d.func,onTouchStart:d.func,onMouseOver:d.func,onMouseLeave:d.func,onThumbnailError:d.func,onThumbnailClick:d.func,renderCustomControls:d.func,renderLeftNav:d.func,renderRightNav:d.func,renderPlayPauseButton:d.func,renderFullscreenButton:d.func,renderItem:d.func,renderThumbInner:d.func,stopPropagation:d.bool,additionalClass:d.string,useTranslate3D:d.bool,isRTL:d.bool},b.defaultProps={onErrorImageURL:"",additionalClass:"",showNav:!0,autoPlay:!1,lazyLoad:!1,infinite:!0,showIndex:!1,showBullets:!1,showThumbnails:!0,showPlayButton:!0,showFullscreenButton:!0,disableThumbnailScroll:!1,disableKeyDown:!1,disableSwipe:!1,useTranslate3D:!0,isRTL:!1,useBrowserFullscreen:!0,preventDefaultTouchmoveEvent:!1,flickThreshold:.4,stopPropagation:!1,indexSeparator:" / ",thumbnailPosition:"bottom",startIndex:0,slideDuration:450,swipingTransitionDuration:0,onSlide:null,onBeforeSlide:null,onScreenChange:null,onPause:null,onPlay:null,onClick:null,onImageLoad:null,onImageError:null,onTouchMove:null,onTouchEnd:null,onTouchStart:null,onMouseOver:null,onMouseLeave:null,onThumbnailError:null,onThumbnailClick:null,renderCustomControls:null,renderThumbInner:null,renderItem:null,slideInterval:3e3,slideOnThumbnailOver:!1,swipeThreshold:30,renderLeftNav:function(e,t){return o.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-left-nav",disabled:t,onClick:e,"aria-label":"Previous Slide"},o.default.createElement(f.default,{icon:"left",viewBox:"6 0 12 24"}))},renderRightNav:function(e,t){return o.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-right-nav",disabled:t,onClick:e,"aria-label":"Next Slide"},o.default.createElement(f.default,{icon:"right",viewBox:"6 0 12 24"}))},renderPlayPauseButton:function(e,t){return o.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-play-button",onClick:e,"aria-label":"Play or Pause Slideshow"},o.default.createElement(f.default,{strokeWidth:2,icon:t?"pause":"play"}))},renderFullscreenButton:function(e,t){return o.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-fullscreen-button",onClick:e,"aria-label":"Open Fullscreen"},o.default.createElement(f.default,{strokeWidth:2,icon:t?"minimize":"maximize"}))}},t.default=b},339:function(e,t,n){"use strict";function r(e){var t,n,i="";if(e)if("object"==typeof e)if(e.push)for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(n=r(t))&&(i&&(i+=" "),i+=n);else"boolean"==typeof e||e.call||(i&&(i+=" "),i+=e);return i}n.r(t),t.default=function(){for(var e,t=0,n="";t<arguments.length;)(e=r(arguments[t++]))&&(n&&(n+=" "),n+=e);return n}},340:function(e,t,n){"use strict";n.r(t),n.d(t,"DOWN",(function(){return f})),n.d(t,"LEFT",(function(){return c})),n.d(t,"RIGHT",(function(){return h})),n.d(t,"Swipeable",(function(){return b})),n.d(t,"UP",(function(){return d})),n.d(t,"useSwipeable",(function(){return g}));var r=n(1),i=n.n(r),a=n(2),o=n.n(a);function s(){return(s=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}).apply(this,arguments)}var l={preventDefaultTouchmoveEvent:!1,delta:10,rotationAngle:0,trackMouse:!1,trackTouch:!0},u={xy:[0,0],swiping:!1,eventData:void 0,start:void 0},c="Left",h="Right",d="Up",f="Down";function p(e,t){if(0===t)return e;var n=Math.PI/180*t;return[e[0]*Math.cos(n)+e[1]*Math.sin(n),e[1]*Math.cos(n)-e[0]*Math.sin(n)]}function v(e,t){var n=function(t){t.touches&&t.touches.length>1||e((function(e,n){n.trackMouse&&(document.addEventListener("mousemove",r),document.addEventListener("mouseup",o));var i=t.touches?t.touches[0]:t,a=p([i.clientX,i.clientY],n.rotationAngle);return s({},e,u,{eventData:{initial:[].concat(a),first:!0},xy:a,start:t.timeStamp||0})}))},r=function(t){e((function(e,n){if(!e.xy[0]||!e.xy[1]||t.touches&&t.touches.length>1)return e;var r=t.touches?t.touches[0]:t,i=p([r.clientX,r.clientY],n.rotationAngle),a=i[0],o=i[1],l=e.xy[0]-a,u=e.xy[1]-o,v=Math.abs(l),m=Math.abs(u),g=(t.timeStamp||0)-e.start,b=Math.sqrt(v*v+m*m)/(g||1);if(v<n.delta&&m<n.delta&&!e.swiping)return e;var y=function(e,t,n,r){return e>t?n>0?c:h:r>0?d:f}(v,m,l,u),w=s({},e.eventData,{event:t,absX:v,absY:m,deltaX:l,deltaY:u,velocity:b,dir:y});n.onSwiping&&n.onSwiping(w);var _=!1;return(n.onSwiping||n.onSwiped||n["onSwiped"+y])&&(_=!0),_&&n.preventDefaultTouchmoveEvent&&n.trackTouch&&t.cancelable&&t.preventDefault(),s({},e,{eventData:s({},w,{first:!1}),swiping:!0})}))},i=function(t){e((function(e,n){var r;return e.swiping&&(r=s({},e.eventData,{event:t}),n.onSwiped&&n.onSwiped(r),n["onSwiped"+r.dir]&&n["onSwiped"+r.dir](r)),s({},e,u,{eventData:r})}))},a=function(){document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",o)},o=function(e){a(),i(e)},l=function(e){if(e&&e.addEventListener){var t=[["touchstart",n],["touchmove",r],["touchend",i]];return t.forEach((function(t){var n=t[0],r=t[1];return e.addEventListener(n,r)})),function(){return t.forEach((function(t){var n=t[0],r=t[1];return e.removeEventListener(n,r)}))}}},v={ref:function(t){null!==t&&e((function(e,n){if(e.el===t)return e;var r={};return e.el&&e.el!==t&&e.cleanUpTouch&&(e.cleanUpTouch(),r.cleanUpTouch=null),n.trackTouch&&t&&(r.cleanUpTouch=l(t)),s({},e,{el:t},r)}))}};return t.trackMouse&&(v.onMouseDown=n),[v,l]}function m(e,t,n){var r={};return!t.trackTouch&&e.cleanUpTouch?(e.cleanUpTouch(),r.cleanUpTouch=null):t.trackTouch&&!e.cleanUpTouch&&e.el&&(r.cleanUpTouch=n(e.el)),s({},e,r)}function g(e){var t=e.trackMouse,n=i.a.useRef(s({},u,{type:"hook"})),r=i.a.useRef();r.current=s({},l,e);var a=i.a.useMemo((function(){return v((function(e){return n.current=e(n.current,r.current)}),{trackMouse:t})}),[t]),o=a[0],c=a[1];return n.current=m(n.current,r.current,c),o}var b=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this)._set=function(e){n.transientState=e(n.transientState,n.props)},n.transientState=s({},u,{type:"class"}),n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.className,n=e.style,r=e.nodeName,a=void 0===r?"div":r,o=e.innerRef,l=e.children,u=e.trackMouse,c=v(this._set,{trackMouse:u}),h=c[0],d=c[1];this.transientState=m(this.transientState,this.props,d);var f=o?function(e){return o(e),h.ref(e)}:h.ref;return i.a.createElement(a,s({},h,{className:t,style:n,ref:f}),l)},r}(i.a.PureComponent);b.propTypes={onSwiped:o.a.func,onSwiping:o.a.func,onSwipedUp:o.a.func,onSwipedRight:o.a.func,onSwipedDown:o.a.func,onSwipedLeft:o.a.func,delta:o.a.number,preventDefaultTouchmoveEvent:o.a.bool,nodeName:o.a.string,trackMouse:o.a.bool,trackTouch:o.a.bool,innerRef:o.a.func,rotationAngle:o.a.number},b.defaultProps=l},341:function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,a=/^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,h=Math.max,d=Math.min,f=function(){return u.Date.now()};function p(e,t,n){var r,i,a,o,s,l,u=0,c=!1,p=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=r,a=i;return r=i=void 0,u=t,o=e.apply(a,n)}function y(e){return u=e,s=setTimeout(_,t),c?b(e):o}function w(e){var n=e-l;return void 0===l||n>=t||n<0||p&&e-u>=a}function _(){var e=f();if(w(e))return T(e);s=setTimeout(_,function(e){var n=t-(e-l);return p?d(n,a-(e-u)):n}(e))}function T(e){return s=void 0,g&&r?b(e):(r=i=void 0,o)}function S(){var e=f(),n=w(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return y(l);if(p)return s=setTimeout(_,t),b(l)}return void 0===s&&(s=setTimeout(_,t)),o}return t=m(t)||0,v(n)&&(c=!!n.leading,a=(p="maxWait"in n)?h(m(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g),S.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},S.flush=function(){return void 0===s?o:T(f())},S}function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(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(v(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=i.test(e);return s||a.test(e)?o(e.slice(2),s?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return v(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),p(e,t,{leading:r,maxWait:t,trailing:i})}}).call(this,n(28))},342:function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,a=/^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,h=Math.max,d=Math.min,f=function(){return u.Date.now()};function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(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(p(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=p(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=i.test(e);return s||a.test(e)?o(e.slice(2),s?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r,i,a,o,s,l,u=0,c=!1,m=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=r,a=i;return r=i=void 0,u=t,o=e.apply(a,n)}function y(e){return u=e,s=setTimeout(_,t),c?b(e):o}function w(e){var n=e-l;return void 0===l||n>=t||n<0||m&&e-u>=a}function _(){var e=f();if(w(e))return T(e);s=setTimeout(_,function(e){var n=t-(e-l);return m?d(n,a-(e-u)):n}(e))}function T(e){return s=void 0,g&&r?b(e):(r=i=void 0,o)}function S(){var e=f(),n=w(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return y(l);if(m)return s=setTimeout(_,t),b(l)}return void 0===s&&(s=setTimeout(_,t)),o}return t=v(t)||0,p(n)&&(c=!!n.leading,a=(m="maxWait"in n)?h(v(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g),S.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},S.flush=function(){return void 0===s?o:T(f())},S}}).call(this,n(28))},343:function(e,t,n){(function(e,n){var r="[object Arguments]",i="[object Map]",a="[object Object]",o="[object Set]",s=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[r]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u[i]=u["[object Number]"]=u[a]=u["[object RegExp]"]=u[o]=u["[object String]"]=u["[object WeakMap]"]=!1;var c="object"==typeof e&&e&&e.Object===Object&&e,h="object"==typeof self&&self&&self.Object===Object&&self,d=c||h||Function("return this")(),f=t&&!t.nodeType&&t,p=f&&"object"==typeof n&&n&&!n.nodeType&&n,v=p&&p.exports===f,m=v&&c.process,g=function(){try{return m&&m.binding&&m.binding("util")}catch(e){}}(),b=g&&g.isTypedArray;function y(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function w(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function _(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var T,S,O,E=Array.prototype,k=Function.prototype,x=Object.prototype,I=d["__core-js_shared__"],M=k.toString,j=x.hasOwnProperty,L=(T=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||""))?"Symbol(src)_1."+T:"",F=x.toString,R=RegExp("^"+M.call(j).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=v?d.Buffer:void 0,P=d.Symbol,D=d.Uint8Array,C=x.propertyIsEnumerable,N=E.splice,W=P?P.toStringTag:void 0,A=Object.getOwnPropertySymbols,B=z?z.isBuffer:void 0,U=(S=Object.keys,O=Object,function(e){return S(O(e))}),G=ge(d,"DataView"),H=ge(d,"Map"),q=ge(d,"Promise"),V=ge(d,"Set"),$=ge(d,"WeakMap"),K=ge(Object,"create"),X=_e(G),J=_e(H),Y=_e(q),Q=_e(V),Z=_e($),ee=P?P.prototype:void 0,te=ee?ee.valueOf:void 0;function ne(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function re(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ie(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ae(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ie;++t<n;)this.add(e[t])}function oe(e){var t=this.__data__=new re(e);this.size=t.size}function se(e,t){var n=Oe(e),r=!n&&Se(e),i=!n&&!r&&Ee(e),a=!n&&!r&&!i&&je(e),o=n||r||i||a,s=o?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var u in e)!t&&!j.call(e,u)||o&&("length"==u||i&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||we(u,l))||s.push(u);return s}function le(e,t){for(var n=e.length;n--;)if(Te(e[n][0],t))return n;return-1}function ue(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":W&&W in Object(e)?function(e){var t=j.call(e,W),n=e[W];try{e[W]=void 0;var r=!0}catch(e){}var i=F.call(e);r&&(t?e[W]=n:delete e[W]);return i}(e):function(e){return F.call(e)}(e)}function ce(e){return Me(e)&&ue(e)==r}function he(e,t,n,s,l){return e===t||(null==e||null==t||!Me(e)&&!Me(t)?e!=e&&t!=t:function(e,t,n,s,l,u){var c=Oe(e),h=Oe(t),d=c?"[object Array]":ye(e),f=h?"[object Array]":ye(t),p=(d=d==r?a:d)==a,v=(f=f==r?a:f)==a,m=d==f;if(m&&Ee(e)){if(!Ee(t))return!1;c=!0,p=!1}if(m&&!p)return u||(u=new oe),c||je(e)?pe(e,t,n,s,l,u):function(e,t,n,r,a,s,l){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!s(new D(e),new D(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Te(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case i:var u=w;case o:var c=1&r;if(u||(u=_),e.size!=t.size&&!c)return!1;var h=l.get(e);if(h)return h==t;r|=2,l.set(e,t);var d=pe(u(e),u(t),r,a,s,l);return l.delete(e),d;case"[object Symbol]":if(te)return te.call(e)==te.call(t)}return!1}(e,t,d,n,s,l,u);if(!(1&n)){var g=p&&j.call(e,"__wrapped__"),b=v&&j.call(t,"__wrapped__");if(g||b){var y=g?e.value():e,T=b?t.value():t;return u||(u=new oe),l(y,T,n,s,u)}}if(!m)return!1;return u||(u=new oe),function(e,t,n,r,i,a){var o=1&n,s=ve(e),l=s.length,u=ve(t).length;if(l!=u&&!o)return!1;var c=l;for(;c--;){var h=s[c];if(!(o?h in t:j.call(t,h)))return!1}var d=a.get(e);if(d&&a.get(t))return d==t;var f=!0;a.set(e,t),a.set(t,e);var p=o;for(;++c<l;){h=s[c];var v=e[h],m=t[h];if(r)var g=o?r(m,v,h,t,e,a):r(v,m,h,e,t,a);if(!(void 0===g?v===m||i(v,m,n,r,a):g)){f=!1;break}p||(p="constructor"==h)}if(f&&!p){var b=e.constructor,y=t.constructor;b!=y&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y)&&(f=!1)}return a.delete(e),a.delete(t),f}(e,t,n,s,l,u)}(e,t,n,s,he,l))}function de(e){return!(!Ie(e)||function(e){return!!L&&L in e}(e))&&(ke(e)?R:s).test(_e(e))}function fe(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||x,t!==r)return U(e);var t,n,r,i=[];for(var a in Object(e))j.call(e,a)&&"constructor"!=a&&i.push(a);return i}function pe(e,t,n,r,i,a){var o=1&n,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var u=a.get(e);if(u&&a.get(t))return u==t;var c=-1,h=!0,d=2&n?new ae:void 0;for(a.set(e,t),a.set(t,e);++c<s;){var f=e[c],p=t[c];if(r)var v=o?r(p,f,c,t,e,a):r(f,p,c,e,t,a);if(void 0!==v){if(v)continue;h=!1;break}if(d){if(!y(t,(function(e,t){if(o=t,!d.has(o)&&(f===e||i(f,e,n,r,a)))return d.push(t);var o}))){h=!1;break}}else if(f!==p&&!i(f,p,n,r,a)){h=!1;break}}return a.delete(e),a.delete(t),h}function ve(e){return function(e,t,n){var r=t(e);return Oe(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,Le,be)}function me(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ge(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return de(n)?n:void 0}ne.prototype.clear=function(){this.__data__=K?K(null):{},this.size=0},ne.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ne.prototype.get=function(e){var t=this.__data__;if(K){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return j.call(t,e)?t[e]:void 0},ne.prototype.has=function(e){var t=this.__data__;return K?void 0!==t[e]:j.call(t,e)},ne.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=K&&void 0===t?"__lodash_hash_undefined__":t,this},re.prototype.clear=function(){this.__data__=[],this.size=0},re.prototype.delete=function(e){var t=this.__data__,n=le(t,e);return!(n<0)&&(n==t.length-1?t.pop():N.call(t,n,1),--this.size,!0)},re.prototype.get=function(e){var t=this.__data__,n=le(t,e);return n<0?void 0:t[n][1]},re.prototype.has=function(e){return le(this.__data__,e)>-1},re.prototype.set=function(e,t){var n=this.__data__,r=le(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ie.prototype.clear=function(){this.size=0,this.__data__={hash:new ne,map:new(H||re),string:new ne}},ie.prototype.delete=function(e){var t=me(this,e).delete(e);return this.size-=t?1:0,t},ie.prototype.get=function(e){return me(this,e).get(e)},ie.prototype.has=function(e){return me(this,e).has(e)},ie.prototype.set=function(e,t){var n=me(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ae.prototype.add=ae.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ae.prototype.has=function(e){return this.__data__.has(e)},oe.prototype.clear=function(){this.__data__=new re,this.size=0},oe.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},oe.prototype.get=function(e){return this.__data__.get(e)},oe.prototype.has=function(e){return this.__data__.has(e)},oe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof re){var r=n.__data__;if(!H||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ie(r)}return n.set(e,t),this.size=n.size,this};var be=A?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}(A(e),(function(t){return C.call(e,t)})))}:function(){return[]},ye=ue;function we(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||l.test(e))&&e>-1&&e%1==0&&e<t}function _e(e){if(null!=e){try{return M.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Te(e,t){return e===t||e!=e&&t!=t}(G&&"[object DataView]"!=ye(new G(new ArrayBuffer(1)))||H&&ye(new H)!=i||q&&"[object Promise]"!=ye(q.resolve())||V&&ye(new V)!=o||$&&"[object WeakMap]"!=ye(new $))&&(ye=function(e){var t=ue(e),n=t==a?e.constructor:void 0,r=n?_e(n):"";if(r)switch(r){case X:return"[object DataView]";case J:return i;case Y:return"[object Promise]";case Q:return o;case Z:return"[object WeakMap]"}return t});var Se=ce(function(){return arguments}())?ce:function(e){return Me(e)&&j.call(e,"callee")&&!C.call(e,"callee")},Oe=Array.isArray;var Ee=B||function(){return!1};function ke(e){if(!Ie(e))return!1;var t=ue(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function xe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Me(e){return null!=e&&"object"==typeof e}var je=b?function(e){return function(t){return e(t)}}(b):function(e){return Me(e)&&xe(e.length)&&!!u[ue(e)]};function Le(e){return null!=(t=e)&&xe(t.length)&&!ke(t)?se(e):fe(e);var t}n.exports=function(e,t){return he(e,t)}}).call(this,n(28),n(136)(e))},344:function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}())}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var o=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&l()}function s(){a(o)}function l(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;o.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},c=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},h=g(0,0,0,0);function d(e){return parseFloat(e)||0}function f(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function p(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return h;var r=c(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],a=e["padding-"+i];t[i]=d(a)}return t}(r),a=i.left+i.right,o=i.top+i.bottom,s=d(r.width),l=d(r.height);if("border-box"===r.boxSizing&&(Math.round(s+a)!==t&&(s-=f(r,"left","right")+a),Math.round(l+o)!==n&&(l-=f(r,"top","bottom")+o)),!function(e){return e===c(e).document.documentElement}(e)){var u=Math.round(s+a)-t,p=Math.round(l+o)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(p)&&(l-=p)}return g(i.left,i.top,s,l)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof c(e).SVGGraphicsElement}:function(e){return e instanceof c(e).SVGElement&&"function"==typeof e.getBBox};function m(e){return r?v(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):p(e):h}function g(e,t,n,r){return{x:e,y:t,width:n,height:r}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=m(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),y=function(e,t){var n,r,i,a,o,s,l,c=(r=(n=t).x,i=n.y,a=n.width,o=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),u(l,{x:r,y:i,width:a,height:o,top:i,right:r+a,bottom:o+i,left:r}),l);u(this,{target:e,contentRect:c})},w=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof c(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof c(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new y(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),_="undefined"!=typeof WeakMap?new WeakMap:new n,T=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new w(t,n,this);_.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){T.prototype[e]=function(){var t;return(t=_.get(this))[e].apply(t,arguments)}}));var S=void 0!==i.ResizeObserver?i.ResizeObserver:T;t.default=S}.call(this,n(28))},345:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(1),a=(r=i)&&r.__esModule?r:{default:r},o=n(2);var s={left:a.default.createElement("polyline",{points:"15 18 9 12 15 6"}),right:a.default.createElement("polyline",{points:"9 18 15 12 9 6"}),maximize:a.default.createElement("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"}),minimize:a.default.createElement("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"}),play:a.default.createElement("polygon",{points:"5 3 19 12 5 21 5 3"}),pause:a.default.createElement(a.default.Fragment,null,a.default.createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),a.default.createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))},l=function(e){var t=e.strokeWidth,n=e.viewBox,r=e.icon;return a.default.createElement("svg",{className:"image-gallery-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:n,fill:"none",stroke:"currentColor",strokeWidth:t,strokeLinecap:"round",strokeLinejoin:"round"},s[r])};l.propTypes={strokeWidth:o.number,viewBox:o.string,icon:(0,o.oneOf)(["left","right","maximize","minimize","play","pause"]).isRequired},l.defaultProps={strokeWidth:1,viewBox:"0 0 24 24"},t.default=l},348:function(e,t,n){}}]);