(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{1e3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"player";return r.player?r.player.getInternalPlayer(e):null},r.seekTo=function(e,t){if(!r.player)return null;r.player.seekTo(e,t)},r.ref=function(e){r.player=e},p(r,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),o(n,[{key:"shouldComponentUpdate",value:function(e){return!(0,l.isEqual)(this.props,e)}},{key:"componentWillUpdate",value:function(e){this.config=(0,l.getConfig)(e,u.defaultProps)}},{key:"render",value:function(){var t=this.config.file,n=t.forceVideo,o=t.forceAudio,a=t.forceHLS,c=t.forceDASH,p=n||o||a||c;if(!e.canPlay(this.props.url)&&!p)return null;var y=this.props,d=y.style,h=y.width,v=y.height,m=y.wrapper,b=(0,l.omit)(this.props,f,u.DEPRECATED_CONFIG_PROPS);return i.default.createElement(m,r({style:r({},d,{width:h,height:v})},b),i.default.createElement(s.default,r({},this.props,{ref:this.ref,activePlayer:e,config:this.config})))}}]),n}(a.Component),t.displayName=e.displayName+"Player",t.propTypes=u.propTypes,t.defaultProps=u.defaultProps,t.canPlay=e.canPlay,n};var a=n(0),i=c(a),u=n(237),l=n(95),s=c(n(293));function c(e){return e&&e.__esModule?e:{default:e}}function p(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 f=Object.keys(u.propTypes)},237:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEPRECATED_CONFIG_PROPS=t.defaultProps=t.propTypes=void 0;var r,o=n(11),a=(r=o)&&r.__esModule?r:{default:r};var i=a.default.string,u=a.default.bool,l=a.default.number,s=a.default.array,c=a.default.oneOfType,p=a.default.shape,f=a.default.object,y=a.default.func;t.propTypes={url:c([i,s,f]),playing:u,loop:u,controls:u,volume:l,muted:u,playbackRate:l,width:c([i,l]),height:c([i,l]),style:f,progressInterval:l,playsinline:u,pip:u,light:c([u,i]),wrapper:c([i,y,p({render:y.isRequired})]),config:p({soundcloud:p({options:f,preload:u}),youtube:p({playerVars:f,embedOptions:f,preload:u}),facebook:p({appId:i}),dailymotion:p({params:f,preload:u}),vimeo:p({playerOptions:f,preload:u}),file:p({attributes:f,tracks:s,forceVideo:u,forceAudio:u,forceHLS:u,forceDASH:u,hlsOptions:f,hlsVersion:i,dashVersion:i}),wistia:p({options:f}),mixcloud:p({options:f}),twitch:p({options:f})}),onReady:y,onStart:y,onPlay:y,onPause:y,onBuffer:y,onBufferEnd:y,onEnded:y,onError:y,onDuration:y,onSeek:y,onProgress:y,onEnablePIP:y,onDisablePIP:y},t.defaultProps={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,light:!1,wrapper:"div",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},preload:!1},facebook:{appId:"1309697205772819"},dailymotion:{params:{api:1,"endscreen-enable":!1},preload:!1},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},preload:!1},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,hlsOptions:{},hlsVersion:"0.10.1",dashVersion:"2.9.2"},wistia:{options:{}},mixcloud:{options:{hide_cover:1}},twitch:{options:{}}},onReady:function(){},onStart:function(){},onPlay:function(){},onPause:function(){},onBuffer:function(){},onBufferEnd:function(){},onEnded:function(){},onError:function(){},onDuration:function(){},onSeek:function(){},onProgress:function(){},onEnablePIP:function(){},onDisablePIP:function(){}},t.DEPRECATED_CONFIG_PROPS=["soundcloudConfig","youtubeConfig","facebookConfig","dailymotionConfig","vimeoConfig","fileConfig","wistiaConfig"]},25:function(e,t,n){"use strict";n.d(t,"a",function(){return k}),n.d(t,"b",function(){return C}),n.d(t,"c",function(){return m}),n.d(t,"d",function(){return v}),n.d(t,"e",function(){return _}),n.d(t,"f",function(){return x});var r=n(68),o=n(0),a=n.n(o),i=(n(11),n(86)),u=n(304),l=n(96),s=n(2),c=n(305),p=n.n(c),f=(n(380),n(52)),y=n(150),d=n.n(y),h=function(e){var t=Object(u.a)();return t.displayName=e,t}("Router-History"),v=function(e){var t=Object(u.a)();return t.displayName=e,t}("Router"),m=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen(function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e})),n}Object(r.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return a.a.createElement(v.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.a.createElement(h.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.a.Component);a.a.Component;var b=function(e){function t(){return e.apply(this,arguments)||this}Object(r.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(a.a.Component);var g={},P=1e4,w=0;function O(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(g[e])return g[e];var t=p.a.compile(e);return w0&&e<1){var r=this.player.getDuration();return r?void this.player.seekTo(r*e):void console.warn("ReactPlayer: could not seek using fraction – duration not yet available")}this.player.seekTo(e)}},{key:"render",value:function(){var e=this.props.activePlayer;return e?u.default.createElement(e,o({},this.props,{ref:this.ref,onReady:this.onReady,onPlay:this.onPlay,onPause:this.onPause,onEnded:this.onEnded,onLoaded:this.onLoaded,onError:this.onError})):null}}]),t}();p.displayName="Player",p.propTypes=l.propTypes,p.defaultProps=l.defaultProps;var f=function(){var e=this;this.mounted=!1,this.isReady=!1,this.isPlaying=!1,this.isLoading=!0,this.loadOnReady=null,this.startOnPlay=!0,this.seekOnPlay=null,this.onDurationCalled=!1,this.getInternalPlayer=function(t){return e.player?e.player[t]:null},this.progress=function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,n=e.getSecondsLoaded(),r=e.getDuration();if(r){var o={playedSeconds:t,played:t/r};null!==n&&(o.loadedSeconds=n,o.loaded=n/r),o.playedSeconds===e.prevPlayed&&o.loadedSeconds===e.prevLoaded||e.props.onProgress(o),e.prevPlayed=o.playedSeconds,e.prevLoaded=o.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)},this.onReady=function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,n=t.onReady,r=t.playing,o=t.volume,a=t.muted;n(),a||null===o||e.player.setVolume(o),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):r&&e.player.play(),e.onDurationCheck()}},this.onPlay=function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,n=t.onStart,r=t.onPlay,o=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&e.player.setPlaybackRate(o),n(),e.startOnPlay=!1),r(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.onDurationCheck()},this.onPause=function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)},this.onEnded=function(){var t=e.props,n=t.activePlayer,r=t.loop,o=t.onEnded;n.loopOnEnded&&r&&e.seekTo(0),r||(e.isPlaying=!1,o())},this.onError=function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)},this.onDurationCheck=function(){clearTimeout(e.durationCheckTimeout);var t=e.getDuration();t?e.onDurationCalled||(e.props.onDuration(t),e.onDurationCalled=!0):e.durationCheckTimeout=setTimeout(e.onDurationCheck,100)},this.onLoaded=function(){e.isLoading=!1},this.ref=function(t){t&&(e.player=t)}};t.default=p},294:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SoundCloud=void 0;var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"player";return r.player?r.player.getInternalPlayer(e):null},r.seekTo=function(e,t){if(!r.player)return null;r.player.seekTo(e,t)},r.onReady=function(){r.props.onReady(r)},r.wrapperRef=function(e){r.wrapper=e},r.activePlayerRef=function(e){r.player=e},j(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,h.Component),o(t,[{key:"componentDidMount",value:function(){if(this.props.progressFrequency){console.warn("ReactPlayer: %cprogressFrequency%c is deprecated, please use %cprogressInterval%c instead","font-weight: bold","","font-weight: bold","")}}},{key:"shouldComponentUpdate",value:function(e,t){return!(0,b.isEqual)(this.props,e)||!(0,b.isEqual)(this.state,t)}},{key:"componentWillUpdate",value:function(e){this.config=(0,b.getConfig)(e,m.defaultProps),!this.props.light&&e.light&&this.setState({showPreview:!0})}},{key:"getActivePlayer",value:function(e){for(var t=[].concat(E(_),E(g.default)),n=0;n0?n.end(n.length-1):t}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var e=this.player.buffered;if(0===e.length)return 0;var t=e.end(e.length-1),n=this.getDuration();return t>n?n:t}},{key:"getSource",value:function(e){var t=this.shouldUseHLS(e),n=this.shouldUseDASH(e);if(!(e instanceof Array||(0,u.isMediaStream)(e)||t||n))return v.test(e)?e.replace("www.dropbox.com","dl.dropboxusercontent.com"):e}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.playing,o=e.loop,a=e.controls,u=e.muted,l=e.config,s=e.width,c=e.height,p=this.shouldUseAudio(this.props)?"audio":"video",f={width:"auto"===s?s:"100%",height:"auto"===c?c:"100%"};return i.default.createElement(p,r({ref:this.ref,src:this.getSource(t),style:f,preload:"auto",autoPlay:n||void 0,controls:a,muted:u,loop:o},l.file.attributes),t instanceof Array&&t.map(this.renderSourceElement),l.file.tracks.map(this.renderTrack))}}]),t}();b.displayName="FilePlayer",b.canPlay=m,b.canEnablePIP=function(e){return m(e)&&!!document.pictureInPictureEnabled&&!f.test(e)},t.default=(0,l.default)(b)},569:function(e,t,n){"use strict";e.exports=n(956)},65:function(e,t,n){"use strict";var r=n(0),o=n.n(r),a=(n(11),o.a.createContext(null));var i=function(e){e()},u=function(){return i},l={notify:function(){}};var s=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=l,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){var e,t,n;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=(e=u(),t=null,n=null,{clear:function(){t=null,n=null},notify:function(){e(function(){for(var e=t;e;)e.callback(),e=e.next})},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}))},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=l)},e}();var c=function(e){var t=e.store,n=e.context,i=e.children,u=Object(r.useMemo)(function(){var e=new s(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}},[t]),l=Object(r.useMemo)(function(){return t.getState()},[t]);Object(r.useEffect)(function(){var e=u.subscription;return e.trySubscribe(),l!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[u,l]);var c=n||a;return o.a.createElement(c.Provider,{value:u},i)},p=n(2),f=n(52),y=n(150),d=n.n(y),h=n(569),v="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,m=[],b=[null,null];function g(e,t){var n=e[1];return[t.payload,n+1]}function P(e,t,n){v(function(){return e.apply(void 0,t)},n)}function w(e,t,n,r,o,a,i){e.current=r,t.current=o,n.current=!1,a.current&&(a.current=null,i())}function O(e,t,n,r,o,a,i,u,l,s){if(e){var c=!1,p=null,f=function(){if(!c){var e,n,f=t.getState();try{e=r(f,o.current)}catch(e){n=e,p=e}n||(p=null),e===a.current?i.current||l():(a.current=e,u.current=e,i.current=!0,s({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=f,n.trySubscribe(),f();return function(){if(c=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}}var k=function(){return[null,0]};function E(e,t){void 0===t&&(t={});var n=t,i=n.getDisplayName,u=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,l=n.methodName,c=void 0===l?"connectAdvanced":l,y=n.renderCountProp,v=void 0===y?void 0:y,E=n.shouldHandleStateChanges,j=void 0===E||E,S=n.storeKey,_=void 0===S?"store":S,C=(n.withRef,n.forwardRef),T=void 0!==C&&C,R=n.context,D=void 0===R?a:R,M=Object(f.a)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),L=D;return function(t){var n=t.displayName||t.name||"Component",a=u(n),i=Object(p.a)({},M,{getDisplayName:u,methodName:c,renderCountProp:v,shouldHandleStateChanges:j,storeKey:_,displayName:a,wrappedComponentName:n,WrappedComponent:t}),l=M.pure;var y=l?r.useMemo:function(e){return e()};function E(n){var a=Object(r.useMemo)(function(){var e=n.forwardedRef,t=Object(f.a)(n,["forwardedRef"]);return[n.context,e,t]},[n]),u=a[0],l=a[1],c=a[2],d=Object(r.useMemo)(function(){return u&&u.Consumer&&Object(h.isContextConsumer)(o.a.createElement(u.Consumer,null))?u:L},[u,L]),v=Object(r.useContext)(d),E=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(v)&&Boolean(v.store);var S=E?n.store:v.store,_=Object(r.useMemo)(function(){return function(t){return e(t.dispatch,i)}(S)},[S]),C=Object(r.useMemo)(function(){if(!j)return b;var e=new s(S,E?null:v.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[S,E,v]),T=C[0],R=C[1],D=Object(r.useMemo)(function(){return E?v:Object(p.a)({},v,{subscription:T})},[E,v,T]),M=Object(r.useReducer)(g,m,k),x=M[0][0],A=M[1];if(x&&x.error)throw x.error;var I=Object(r.useRef)(),N=Object(r.useRef)(c),V=Object(r.useRef)(),U=Object(r.useRef)(!1),$=y(function(){return V.current&&c===N.current?V.current:_(S.getState(),c)},[S,x,c]);P(w,[N,I,U,c,$,V,R]),P(O,[j,S,T,_,N,I,U,V,R,A],[S,T,_]);var F=Object(r.useMemo)(function(){return o.a.createElement(t,Object(p.a)({},$,{ref:l}))},[l,t,$]);return Object(r.useMemo)(function(){return j?o.a.createElement(d.Provider,{value:D},F):F},[d,F,D])}var S=l?o.a.memo(E):E;if(S.WrappedComponent=t,S.displayName=a,T){var C=o.a.forwardRef(function(e,t){return o.a.createElement(S,Object(p.a)({},e,{forwardedRef:t}))});return C.displayName=a,C.WrappedComponent=t,d()(C,t)}return d()(S,t)}}function j(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function S(e,t){if(j(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function U(e,t){return e===t}function $(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?E:n,o=t.mapStateToPropsFactories,a=void 0===o?M:o,i=t.mapDispatchToPropsFactories,u=void 0===i?D:i,l=t.mergePropsFactories,s=void 0===l?x:l,c=t.selectorFactory,y=void 0===c?N:c;return function(e,t,n,o){void 0===o&&(o={});var i=o,l=i.pure,c=void 0===l||l,d=i.areStatesEqual,h=void 0===d?U:d,v=i.areOwnPropsEqual,m=void 0===v?S:v,b=i.areStatePropsEqual,g=void 0===b?S:b,P=i.areMergedPropsEqual,w=void 0===P?S:P,O=Object(f.a)(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),k=V(e,a,"mapStateToProps"),E=V(t,u,"mapDispatchToProps"),j=V(n,s,"mergeProps");return r(y,Object(p.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:k,initMapDispatchToProps:E,initMergeProps:j,pure:c,areStatesEqual:h,areOwnPropsEqual:m,areStatePropsEqual:g,areMergedPropsEqual:w},O))}}var F=$();var q,B=n(27);n.d(t,"a",function(){return c}),n.d(t,"b",function(){return F}),q=B.unstable_batchedUpdates,i=q},95:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.parseStartTime=function(e){return d(e,c)},t.parseEndTime=function(e){return d(e,p)},t.randomString=function(){return Math.random().toString(36).substr(2,5)},t.queryString=function(e){return Object.keys(e).map(function(t){return t+"="+e[t]}).join("&")},t.getSDK=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:a.default;if(window[t]&&r(window[t]))return Promise.resolve(window[t]);return new Promise(function(r,a){if(h[e])h[e].push(r);else{h[e]=[r];var i=function(t){h[e].forEach(function(e){return e(t)})};if(n){var u=window[n];window[n]=function(){u&&u(),i(window[t])}}o(e,function(e){e&&a(e),n||i(window[t])})}})},t.getConfig=function(e,t,n){var r=(0,i.default)(t.config,e.config),o=!0,a=!1,l=void 0;try{for(var c,p=u.DEPRECATED_CONFIG_PROPS[Symbol.iterator]();!(o=(c=p.next()).done);o=!0){var f=c.value;if(e[f]){var y=f.replace(/Config$/,"");if(r=(0,i.default)(r,s({},y,e[f])),n){var d="ReactPlayer: %c"+f+" %cis deprecated, please use the config prop instead – https://github.com/CookPete/react-player#config-prop";console.warn(d,"font-weight: bold","")}}}}catch(e){a=!0,l=e}finally{try{!o&&p.return&&p.return()}finally{if(a)throw l}}return r},t.omit=function(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),o=1;o1?r-1:0),a=1;a