antv-l7/component---site-pages-inde...

2 lines
185 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{"0yDM":function(e,t,n){"use strict";n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lwsE")),i=r(n("W8MJ")),l=r(n("a1gu")),s=r(n("Nsbk")),u=r(n("PJYZ")),c=r(n("7W2i")),d=r(n("17x9")),f=a(n("q1tI")),p=r(n("TSYQ")),h={actions:d.default.object,player:d.default.object,className:d.default.string},v=function(e){function t(e,n){var a;return(0,o.default)(this,t),(a=(0,l.default)(this,(0,s.default)(t).call(this,e,n))).handleClick=a.handleClick.bind((0,u.default)(a)),a}return(0,c.default)(t,e),(0,i.default)(t,[{key:"handleClick",value:function(){var e=this.props,t=e.actions;e.player.paused?t.play():t.pause()}},{key:"render",value:function(){var e=this,t=this.props,n=t.player,a=t.className,r=n.paused?"Play":"Pause";return f.default.createElement("button",{ref:function(t){e.button=t},className:(0,p.default)(a,{"video-react-play-control":!0,"video-react-control":!0,"video-react-button":!0,"video-react-paused":n.paused,"video-react-playing":!n.paused}),type:"button",tabIndex:"0",onClick:this.handleClick},f.default.createElement("span",{className:"video-react-control-text"},r))}}]),t}(f.Component);t.default=v,v.propTypes=h,v.displayName="PlayToggle"},"284h":function(e,t,n){var a=n("cDf5");function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}e.exports=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}},"3nJo":function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.OPERATE:return(0,r.default)({},e,{count:e.count+1,operation:(0,r.default)({},e.operation,t.operation)});default:return e}};var r=a(n("MVZn")),o=n("we7k"),i={count:0,operation:{action:"",source:""}}},"4FqI":function(e,t,n){"use strict";n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lwsE")),i=r(n("W8MJ")),l=r(n("a1gu")),s=r(n("Nsbk")),u=r(n("PJYZ")),c=r(n("7W2i")),d=r(n("17x9")),f=a(n("q1tI")),p={player:d.default.object,children:d.default.any},h=function(e){function t(e,n){var a;return(0,o.default)(this,t),(a=(0,l.default)(this,(0,s.default)(t).call(this,e,n))).handleClick=a.handleClick.bind((0,u.default)(a)),a}return(0,c.default)(t,e),(0,i.default)(t,[{key:"handleClick",value:function(e){e.preventDefault()}},{key:"render",value:function(){var e=this.props.children;return f.default.createElement("div",{className:"video-react-menu",onClick:this.handleClick},f.default.createElement("div",{className:"video-react-menu-content"},e))}}]),t}(f.Component);t.default=h,h.propTypes=p,h.displayName="Popup"},"4b3c":function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,a(n("8nKf")).default)("forward");r.displayName="ForwardControl";var o=r;t.default=o},"54lq":function(e,t,n){"use strict";n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lwsE")),i=r(n("W8MJ")),l=r(n("a1gu")),s=r(n("Nsbk")),u=r(n("PJYZ")),c=r(n("7W2i")),d=r(n("17x9")),f=a(n("q1tI")),p=r(n("TSYQ")),h={actions:d.default.object,player:d.default.object,className:d.default.string},v=function(e){function t(e,n){var a;return(0,o.default)(this,t),(a=(0,l.default)(this,(0,s.default)(t).call(this,e,n))).handleClick=a.handleClick.bind((0,u.default)(a)),a}return(0,c.default)(t,e),(0,i.default)(t,[{key:"handleClick",value:function(){var e=this.props,t=e.player;e.actions.toggleFullscreen(t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.player,a=t.className;return f.default.createElement("button",{className:(0,p.default)(a,{"video-react-icon-fullscreen-exit":n.isFullscreen,"video-react-icon-fullscreen":!n.isFullscreen},"video-react-fullscreen-control video-react-control video-react-button video-react-icon"),ref:function(t){e.button=t},type:"button",tabIndex:"0",onClick:this.handleClick},f.default.createElement("span",{className:"video-react-control-text"},"Non-Fullscreen"))}}]),t}(f.Component);t.default=v,v.propTypes=h,v.displayName="FullscreenToggle"},"56F6":function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.USER_ACTIVATE:return(0,r.default)({},e,{userActivity:t.activity});case i.PLAYER_ACTIVATE:return(0,r.default)({},e,{isActive:t.activity});case i.FULLSCREEN_CHANGE:return(0,r.default)({},e,{isFullscreen:!!t.isFullscreen});case o.SEEKING_TIME:return(0,r.default)({},e,{seekingTime:t.time});case o.END_SEEKING:return(0,r.default)({},e,{seekingTime:0});case o.LOAD_START:return(0,r.default)({},e,t.videoProps,{hasStarted:!1,ended:!1});case o.CAN_PLAY:return(0,r.default)({},e,t.videoProps,{waiting:!1});case o.WAITING:return(0,r.default)({},e,t.videoProps,{waiting:!0});case o.CAN_PLAY_THROUGH:case o.PLAYING:return(0,r.default)({},e,t.videoProps,{waiting:!1});case o.PLAY:return(0,r.default)({},e,t.videoProps,{ended:!1,paused:!1,autoPaused:!1,waiting:!1,hasStarted:!0});case o.PAUSE:return(0,r.default)({},e,t.videoProps,{paused:!0});case o.END:return(0,r.default)({},e,t.videoProps,{ended:!0});case o.SEEKING:return(0,r.default)({},e,t.videoProps,{seeking:!0});case o.SEEKED:return(0,r.default)({},e,t.videoProps,{seeking:!1});case o.ERROR:return(0,r.default)({},e,t.videoProps,{error:"UNKNOWN ERROR",ended:!0});case o.DURATION_CHANGE:case o.TIME_UPDATE:case o.VOLUME_CHANGE:case o.PROGRESS_CHANGE:case o.RATE_CHANGE:case o.SUSPEND:case o.ABORT:case o.EMPTIED:case o.STALLED:case o.LOADED_META_DATA:case o.LOADED_DATA:case o.RESIZE:return(0,r.default)({},e,t.videoProps);case o.ACTIVATE_TEXT_TRACK:return(0,r.default)({},e,{activeTextTrack:t.textTrack});default:return e}};var r=a(n("MVZn")),o=n("INgg"),i=n("we7k"),l={currentSrc:null,duration:0,currentTime:0,seekingTime:0,buffered:null,waiting:!1,seeking:!1,paused:!0,autoPaused:!1,ended:!1,playbackRate:1,muted:!1,volume:1,readyState:0,networkState:0,videoWidth:0,videoHeight:0,hasStarted:!1,userActivity:!0,isActive:!1,isFullscreen:!1,activeTextTrack:null}},"8//2":function(e,t,n){"use strict";n("Tze0"),n("Vd3H"),n("bWfx"),n("hHhE"),n("/SS/"),n("WLL4"),n("jm62"),n("8+KV"),n("0l/t"),n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V"),n("91GP"),n("rE2o"),n("ioFf"),n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=s(n("q1tI")),r=n("ueNE"),o=s(n("pIsd")),i=s(n("BBPU")),l=n("x9Za");function s(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=(0,l.canUseDOM)()&&n("jpXb"),b=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?v(e):t}(this,h(t).call(this,e)),m(v(n),"innerSliderRefHandler",(function(e){return n.innerSlider=e})),m(v(n),"slickPrev",(function(){return n.innerSlider.slickPrev()})),m(v(n),"slickNext",(function(){return n.innerSlider.slickNext()})),m(v(n),"slickGoTo",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n.innerSlider.slickGoTo(e,t)})),m(v(n),"slickPause",(function(){return n.innerSlider.pause("paused")})),m(v(n),"slickPlay",(function(){return n.innerSlider.autoPlay("play")})),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}var n,s,d;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,e),n=t,(s=[{key:"media",value:function(e,t){g.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"UNSAFE_componentWillMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,a){var r;r=0===a?(0,o.default)({minWidth:0,maxWidth:n}):(0,o.default)({minWidth:t[a-1]+1,maxWidth:n}),(0,l.canUseDOM)()&&e.media(r,(function(){e.setState({breakpoint:n})}))}));var n=(0,o.default)({minWidth:t.slice(-1)[0]});(0,l.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){g.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":f({},i.default,{},this.props,{},t[0].settings):f({},i.default,{},this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var o=a.default.Children.toArray(this.props.children);o=o.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var l=[],s=null,u=0;u<o.length;u+=e.rows*e.slidesPerRow){for(var d=[],p=u;p<u+e.rows*e.slidesPerRow;p+=e.slidesPerRow){for(var h=[],v=p;v<p+e.slidesPerRow&&(e.variableWidth&&o[v].props.style&&(s=o[v].props.style.width),!(v>=o.length));v+=1)h.push(a.default.cloneElement(o[v],{key:100*u+10*p+v,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(a.default.createElement("div",{key:10*u+p},h))}e.variableWidth?l.push(a.default.createElement("div",{key:u,style:{width:s}},d)):l.push(a.default.createElement("div",{key:u},d))}if("unslick"===e){var y="regular slider "+(this.props.className||"");return a.default.createElement("div",{className:y},l)}return l.length<=e.slidesToShow&&(e.unslick=!0),a.default.createElement(r.InnerSlider,c({style:this.props.style,ref:this.innerSliderRefHandler},e),l)}}])&&p(n.prototype,s),d&&p(n,d),t}(a.default.Component);t.default=b},"8nKf":function(e,t,n){"use strict";n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lwsE")),i=r(n("W8MJ")),l=r(n("a1gu")),s=r(n("Nsbk")),u=r(n("PJYZ")),c=r(n("7W2i")),d=r(n("17x9")),f=a(n("q1tI")),p={actions:d.default.object,className:d.default.string,seconds:d.default.oneOf([5,10,30])},h={seconds:10};t.default=function(e){var t=function(t){function n(e,t){var a;return(0,o.default)(this,n),(a=(0,l.default)(this,(0,s.default)(n).call(this,e,t))).handleClick=a.handleClick.bind((0,u.default)(a)),a}return(0,c.default)(n,t),(0,i.default)(n,[{key:"handleClick",value:function(){var t=this.props,n=t.actions,a=t.seconds;"forward"===e?n.forward(a):n.replay(a)}},{key:"render",value:function(){var t=this,n=this.props,a=n.seconds,r=n.className,o=["video-react-control","video-react-button","video-react-icon"];return o.push("video-react-icon-".concat(e,"-").concat(a),"video-react-".concat(e,"-control")),r&&o.push(r),f.default.createElement("button",{ref:function(e){t.button=e},className:o.join(" "),type:"button",onClick:this.handleClick},f.default.createElement("span",{className:"video-react-control-text"},"".concat(e," ").concat(a," seconds")))}}]),n}(f.Component);return t.propTypes=p,t.defaultProps=h,t}},"9/5/":function(e,t,n){(function(t){n("pIFo"),n("a1Th"),n("h7Nl"),n("Btvt");var a="Expected a function",r=NaN,o="[object Symbol]",i=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt,d="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,p=d||f||Function("return this")(),h=Object.prototype.toString,v=Math.max,y=Math.min,m=function(){return p.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&h.call(e)==o}(e))return r;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):l.test(e)?r:+e}e.exports=function(e,t,n){var r,o,i,l,s,u,c=0,d=!1,f=!1,p=!0;if("function"!=typeof e)throw new TypeError(a);function h(t){var n=r,a=o;return r=o=void 0,c=t,l=e.apply(a,n)}function k(e){var n=e-u;return void 0===u||n>=t||n<0||f&&e-c>=i}function E(){var e=m();if(k(e))return w(e);s=setTimeout(E,function(e){var n=t-(e-u);return f?y(n,i-(e-c)):n}(e))}function w(e){return s=void 0,p&&r?h(e):(r=o=void 0,l)}function S(){var e=m(),n=k(e);if(r=arguments,o=this,u=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(E,t),d?h(e):l}(u);if(f)return s=setTimeout(E,t),h(u)}return void 0===s&&(s=setTimeout(E,t)),l}return t=b(t)||0,g(n)&&(d=!!n.leading,i=(f="maxWait"in n)?v(b(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),S.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=u=o=s=void 0},S.flush=function(){return void 0===s?l:w(m())},S}}).call(this,n("yLpj"))},ANjH:function(e,t,n){"use strict";n.r(t),n.d(t,"__DO_NOT_USE__ActionTypes",(function(){return o})),n.d(t,"applyMiddleware",(function(){return y})),n.d(t,"bindActionCreators",(function(){return d})),n.d(t,"combineReducers",(function(){return u})),n.d(t,"compose",(function(){return v})),n.d(t,"createStore",(function(){return l}));n("f3/d"),n("bWfx"),n("DNiP"),n("WLL4"),n("jm62"),n("ioFf"),n("HAE/"),n("8+KV"),n("0l/t"),n("SRfc"),n("rGqo"),n("yt8O"),n("RW0V"),n("V+eJ"),n("a1Th"),n("h7Nl"),n("Btvt"),n("KKXr");var a=n("bCCX"),r=function(){return Math.random().toString(36).substring(7).split("").join(".")},o={INIT:"@@redux/INIT"+r(),REPLACE:"@@redux/REPLACE"+r(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+r()}};function i(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function l(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(l)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var s=e,u=t,c=[],d=c,f=!1;function p(){d===c&&(d=c.slice())}function h(){if(f)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return u}function v(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(f)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return p(),d.push(e),function(){if(t){if(f)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,p();var n=d.indexOf(e);d.splice(n,1)}}}function y(e){if(!i(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(f)throw new Error("Reducers may not dispatch actions.");try{f=!0,u=s(u,e)}finally{f=!1}for(var t=c=d,n=0;n<t.length;n++){(0,t[n])()}return e}return y({type:o.INIT}),(r={dispatch:y,subscribe:v,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");s=e,y({type:o.REPLACE})}})[a.a]=function(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[a.a]=function(){return this},e},r}function s(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function u(e){for(var t=Object.keys(e),n={},a=0;a<t.length;a++){var r=t[a];0,"function"==typeof e[r]&&(n[r]=e[r])}var i,l=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:o.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:o.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+o.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(u){i=u}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var a=!1,r={},o=0;o<l.length;o++){var u=l[o],c=n[u],d=e[u],f=c(d,t);if(void 0===f){var p=s(u,t);throw new Error(p)}r[u]=f,a=a||f!==d}return a?r:e}}function c(e,t){return function(){return t(e.apply(this,arguments))}}function d(e,t){if("function"==typeof e)return c(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var a in e){var r=e[a];"function"==typeof r&&(n[a]=c(r,t))}return n}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(n,!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),a=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},o=t.map((function(e){return e(r)}));return h({},n,{dispatch:a=v.apply(void 0,o)(n.dispatch)})}}}},AZ0a:function(e,t,n){"use strict";n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("pVnL")),i=r(n("lwsE")),l=r(n("W8MJ")),s=r(n("a1gu")),u=r(n("Nsbk")),c=r(n("PJYZ")),d=r(n("7W2i")),f=r(n("17x9")),p=a(n("q1tI")),h=r(n("TSYQ")),v=r(n("QJtQ")),y=r(n("Qrqe")),m={player:f.default.object,actions:f.default.object,vertical:f.default.bool,className:f.default.string,alwaysShowVolume:f.default.bool},g=function(e){function t(e,n){var a;return(0,i.default)(this,t),(a=(0,s.default)(this,(0,u.default)(t).call(this,e,n))).state={active:!1},a.handleClick=a.handleClick.bind((0,c.default)(a)),a.handleFocus=a.handleFocus.bind((0,c.default)(a)),a.handleBlur=a.handleBlur.bind((0,c.default)(a)),a}return(0,d.default)(t,e),(0,l.default)(t,[{key:"handleClick",value:function(){var e=this.props,t=e.player;e.actions.mute(!t.muted)}},{key:"handleFocus",value:function(){this.setState({active:!0})}},{key:"handleBlur",value:function(){this.setState({active:!1})}},{key:"render",value:function(){var e=this.props,t=e.vertical,n=e.player,a=e.className,r=!t,i=this.volumeLevel;return p.default.createElement(v.default,{className:(0,h.default)(a,{"video-react-volume-menu-button-vertical":t,"video-react-volume-menu-button-horizontal":!t,"video-react-vol-muted":n.muted,"video-react-vol-0":0===i&&!n.muted,"video-react-vol-1":1===i,"video-react-vol-2":2===i,"video-react-vol-3":3===i,"video-react-slider-active":this.props.alwaysShowVolume||this.state.active,"video-react-lock-showing":this.props.alwaysShowVolume||this.state.active},"video-react-volume-menu-button"),onClick:this.handleClick,inline:r},p.default.createElement(y.default,(0,o.default)({onFocus:this.handleFocus,onBlur:this.handleBlur},this.props)))}},{key:"volumeLevel",get:function(){var e=this.props.player,t=e.volume,n=e.muted,a=3;return 0===t||n?a=0:t<.33?a=1:t<.67&&(a=2),a}}]),t}(p.Component);g.propTypes=m,g.defaultProps={vertical:!1},g.displayName="VolumeMenuButton";var b=g;t.default=b},BBPU:function(e,t,n){"use strict";n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,r=(a=n("q1tI"))&&a.__esModule?a:{default:a};var o={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return r.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return r.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=o},BJfS:function(e,t,n){n("pIFo");e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},BnQ9:function(e,t,n){"use strict";n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V"),n("0l/t"),n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0}),t.classNames=function(e){return Object.keys(e).filter((function(t){return e[t]})).join(" ")}},DGqw:function(e,t,n){"use strict";n("V+eJ"),n("bWfx"),n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lwsE")),i=r(n("W8MJ")),l=r(n("a1gu")),s=r(n("Nsbk")),u=r(n("PJYZ")),c=r(n("7W2i")),d=r(n("17x9")),f=a(n("q1tI")),p=r(n("TSYQ")),h=r(n("U3K2")),v={player:d.default.object,actions:d.default.object,rates:d.default.array,className:d.default.string},y=function(e){function t(e,n){var a;return(0,o.default)(this,t),(a=(0,l.default)(this,(0,s.default)(t).call(this,e,n))).handleSelectItem=a.handleSelectItem.bind((0,u.default)(a)),a}return(0,c.default)(t,e),(0,i.default)(t,[{key:"handleSelectItem",value:function(e){var t=this.props,n=t.rates,a=t.actions;e>=0&&e<n.length&&a.changeRate(n[e])}},{key:"render",value:function(){var e=this.props,t=e.rates,n=e.player,a=t.map((function(e){return{label:"".concat(e,"x"),value:e}})),r=t.indexOf(n.playbackRate)||0;return f.default.createElement(h.default,{className:(0,p.default)("video-react-playback-rate",this.props.className),onSelectItem:this.handleSelectItem,items:a,selectedIndex:r},f.default.createElement("span",{className:"video-react-control-text"},"Playback Rate"),f.default.createElement("div",{className:"video-react-playback-rate-value"},"".concat(n.playbackRate.toFixed(2),"x")))}}]),t}(f.Component);y.propTypes=v,y.defaultProps={rates:[2,1.5,1.25,1,.5,.25]},y.displayName="PlaybackRateMenuButton";var m=y;t.default=m},DeZD:function(e,t,n){"use strict";n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lwsE")),i=r(n("W8MJ")),l=r(n("a1gu")),s=r(n("Nsbk")),u=r(n("PJYZ")),c=r(n("7W2i")),d=r(n("17x9")),f=a(n("q1tI")),p=r(n("TSYQ")),h={item:d.default.object,index:d.default.number,activateIndex:d.default.number,onSelectItem:d.default.func},v=function(e){function t(e,n){var a;return(0,o.default)(this,t),(a=(0,l.default)(this,(0,s.default)(t).call(this,e,n))).handleClick=a.handleClick.bind((0,u.default)(a)),a}return(0,c.default)(t,e),(0,i.default)(t,[{key:"handleClick",value:function(){var e=this.props,t=e.index;(0,e.onSelectItem)(t)}},{key:"render",value:function(){var e=this.props,t=e.item,n=e.index,a=e.activateIndex;return f.default.createElement("li",{className:(0,p.default)({"video-react-menu-item":!0,"video-react-selected":n===a}),role:"menuitem",onClick:this.handleClick},t.label,f.default.createElement("span",{className:"video-react-control-text"}))}}]),t}(f.Component);t.default=v,v.propTypes=h,v.displayName="MenuItem"},EVUy:function(e,t,n){"use strict";function a(e){var t;if(e.getBoundingClientRect&&e.parentNode&&(t=e.getBoundingClientRect()),!t)return{left:0,top:0};var n=document,a=n.body,r=n.documentElement,o=r.clientLeft||a.clientLeft||0,i=window.pageXOffset||a.scrollLeft,l=t.left+i-o,s=r.clientTop||a.clientTop||0,u=window.pageYOffset||a.scrollTop,c=t.top+u-s;return{left:Math.round(l),top:Math.round(c)}}n("KKXr"),n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0}),t.findElPosition=a,t.getPointerPosition=function(e,t){var n={},r=a(e),o=e.offsetWidth,i=e.offsetHeight,l=r.top,s=r.left,u=t.pageY,c=t.pageX;t.changedTouches&&(c=t.changedTouches[0].pageX,u=t.changedTouches[0].pageY);return n.y=Math.max(0,Math.min(1,(l-u+i)/i)),n.x=Math.max(0,Math.min(1,(c-s)/o)),n},t.blurNode=function(e){e&&e.blur&&e.blur()},t.focusNode=function(e){e&&e.focus&&e.focus()},t.hasClass=function(e,t){for(var n=e.className.split(" "),a=0;a<n.length;a++)if(n[a].toLowerCase()===t.toLowerCase())return!0;return!1}},Edwz:function(e,t,n){"use strict";n("0l/t"),n("bWfx"),n("XfO3"),n("HEwt"),n("dRSK"),n("DNiP"),n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("MVZn")),i=r(n("lwsE")),l=r(n("W8MJ")),s=r(n("a1gu")),u=r(n("Nsbk")),c=r(n("PJYZ")),d=r(n("7W2i")),f=r(n("17x9")),p=a(n("q1tI")),h=r(n("TSYQ")),v=n("tJTW"),y={actions:f.default.object,player:f.default.object,children:f.default.any,startTime:f.default.number,loop:f.default.bool,muted:f.default.bool,autoPlay:f.default.bool,playsInline:f.default.bool,src:f.default.string,poster:f.default.string,className:f.default.string,preload:f.default.oneOf(["auto","metadata","none"]),crossOrigin:f.default.string,onLoadStart:f.default.func,onWaiting:f.default.func,onCanPlay:f.default.func,onCanPlayThrough:f.default.func,onPlaying:f.default.func,onEnded:f.default.func,onSeeking:f.default.func,onSeeked:f.default.func,onPlay:f.default.func,onPause:f.default.func,onProgress:f.default.func,onDurationChange:f.default.func,onError:f.default.func,onSuspend:f.default.func,onAbort:f.default.func,onEmptied:f.default.func,onStalled:f.default.func,onLoadedMetadata:f.default.func,onLoadedData:f.default.func,onTimeUpdate:f.default.func,onRateChange:f.default.func,onVolumeChange:f.default.func,onResize:f.default.func},m=function(e){function t(e){var n;return(0,i.default)(this,t),(n=(0,s.default)(this,(0,u.default)(t).call(this,e))).video=null,n.play=n.play.bind((0,c.default)(n)),n.pause=n.pause.bind((0,c.default)(n)),n.seek=n.seek.bind((0,c.default)(n)),n.forward=n.forward.bind((0,c.default)(n)),n.replay=n.replay.bind((0,c.default)(n)),n.toggleFullscreen=n.toggleFullscreen.bind((0,c.default)(n)),n.getProperties=n.getProperties.bind((0,c.default)(n)),n.renderChildren=n.renderChildren.bind((0,c.default)(n)),n.handleLoadStart=n.handleLoadStart.bind((0,c.default)(n)),n.handleCanPlay=n.handleCanPlay.bind((0,c.default)(n)),n.handleCanPlayThrough=n.handleCanPlayThrough.bind((0,c.default)(n)),n.handlePlay=n.handlePlay.bind((0,c.default)(n)),n.handlePlaying=n.handlePlaying.bind((0,c.default)(n)),n.handlePause=n.handlePause.bind((0,c.default)(n)),n.handleEnded=n.handleEnded.bind((0,c.default)(n)),n.handleWaiting=n.handleWaiting.bind((0,c.default)(n)),n.handleSeeking=n.handleSeeking.bind((0,c.default)(n)),n.handleSeeked=n.handleSeeked.bind((0,c.default)(n)),n.handleFullscreenChange=n.handleFullscreenChange.bind((0,c.default)(n)),n.handleError=n.handleError.bind((0,c.default)(n)),n.handleSuspend=n.handleSuspend.bind((0,c.default)(n)),n.handleAbort=n.handleAbort.bind((0,c.default)(n)),n.handleEmptied=n.handleEmptied.bind((0,c.default)(n)),n.handleStalled=n.handleStalled.bind((0,c.default)(n)),n.handleLoadedMetaData=n.handleLoadedMetaData.bind((0,c.default)(n)),n.handleLoadedData=n.handleLoadedData.bind((0,c.default)(n)),n.handleTimeUpdate=n.handleTimeUpdate.bind((0,c.default)(n)),n.handleRateChange=n.handleRateChange.bind((0,c.default)(n)),n.handleVolumeChange=n.handleVolumeChange.bind((0,c.default)(n)),n.handleDurationChange=n.handleDurationChange.bind((0,c.default)(n)),n.handleProgress=(0,v.throttle)(n.handleProgress.bind((0,c.default)(n)),250),n.handleKeypress=n.handleKeypress.bind((0,c.default)(n)),n.handleTextTrackChange=n.handleTextTrackChange.bind((0,c.default)(n)),n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.forceUpdate(),this.video&&this.video.textTracks&&(this.video.textTracks.onaddtrack=this.handleTextTrackChange,this.video.textTracks.onremovetrack=this.handleTextTrackChange)}},{key:"getProperties",value:function(){var e=this;return this.video?v.mediaProperties.reduce((function(t,n){return t[n]=e.video[n],t}),{}):null}},{key:"handleTextTrackChange",value:function(){var e=this.props,t=e.actions,n=e.player;if(this.video&&this.video.textTracks){var a=Array.from(this.video.textTracks).find((function(e){return"showing"===e.mode}));a!==n.activeTextTrack&&t.activateTextTrack(a)}}},{key:"play",value:function(){var e=this.video.play();void 0!==e&&e.catch((function(){})).then((function(){}))}},{key:"pause",value:function(){var e=this.video.pause();void 0!==e&&e.catch((function(){})).then((function(){}))}},{key:"load",value:function(){this.video.load()}},{key:"addTextTrack",value:function(){var e;(e=this.video).addTextTrack.apply(e,arguments)}},{key:"canPlayType",value:function(){var e;(e=this.video).canPlayType.apply(e,arguments)}},{key:"togglePlay",value:function(){this.video.paused?this.play():this.pause()}},{key:"seek",value:function(e){try{this.video.currentTime=e}catch(t){}}},{key:"forward",value:function(e){this.seek(this.video.currentTime+e)}},{key:"replay",value:function(e){this.forward(-e)}},{key:"toggleFullscreen",value:function(){var e=this.props,t=e.player;e.actions.toggleFullscreen(t)}},{key:"handleLoadStart",value:function(){var e=this.props,t=e.actions,n=e.onLoadStart;t.handleLoadStart(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleCanPlay",value:function(){var e=this.props,t=e.actions,n=e.onCanPlay;t.handleCanPlay(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleCanPlayThrough",value:function(){var e=this.props,t=e.actions,n=e.onCanPlayThrough;t.handleCanPlayThrough(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handlePlaying",value:function(){var e=this.props,t=e.actions,n=e.onPlaying;t.handlePlaying(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handlePlay",value:function(){var e=this.props,t=e.actions,n=e.onPlay;t.handlePlay(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handlePause",value:function(){var e=this.props,t=e.actions,n=e.onPause;t.handlePause(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleDurationChange",value:function(){var e=this.props,t=e.actions,n=e.onDurationChange;t.handleDurationChange(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleProgress",value:function(){var e=this.props,t=e.actions,n=e.onProgress;this.video&&t.handleProgressChange(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleEnded",value:function(){var e=this.props,t=e.loop,n=e.player,a=e.actions,r=e.onEnded;t?(this.seek(0),this.play()):n.paused||this.pause(),a.handleEnd(this.getProperties()),r&&r.apply(void 0,arguments)}},{key:"handleWaiting",value:function(){var e=this.props,t=e.actions,n=e.onWaiting;t.handleWaiting(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleSeeking",value:function(){var e=this.props,t=e.actions,n=e.onSeeking;t.handleSeeking(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleSeeked",value:function(){var e=this.props,t=e.actions,n=e.onSeeked;t.handleSeeked(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleFullscreenChange",value:function(){}},{key:"handleSuspend",value:function(){var e=this.props,t=e.actions,n=e.onSuspend;t.handleSuspend(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleAbort",value:function(){var e=this.props,t=e.actions,n=e.onAbort;t.handleAbort(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleEmptied",value:function(){var e=this.props,t=e.actions,n=e.onEmptied;t.handleEmptied(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleStalled",value:function(){var e=this.props,t=e.actions,n=e.onStalled;t.handleStalled(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleLoadedMetaData",value:function(){var e=this.props,t=e.actions,n=e.onLoadedMetadata,a=e.startTime;a&&a>0&&(this.video.currentTime=a),t.handleLoadedMetaData(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleLoadedData",value:function(){var e=this.props,t=e.actions,n=e.onLoadedData;t.handleLoadedData(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleTimeUpdate",value:function(){var e=this.props,t=e.actions,n=e.onTimeUpdate;t.handleTimeUpdate(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleRateChange",value:function(){var e=this.props,t=e.actions,n=e.onRateChange;t.handleRateChange(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleVolumeChange",value:function(){var e=this.props,t=e.actions,n=e.onVolumeChange;t.handleVolumeChange(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleError",value:function(){var e=this.props,t=e.actions,n=e.onError;t.handleError(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleResize",value:function(){var e=this.props,t=e.actions,n=e.onResize;t.handleResize(this.getProperties()),n&&n.apply(void 0,arguments)}},{key:"handleKeypress",value:function(){}},{key:"renderChildren",value:function(){var e=this,t=(0,o.default)({},this.props,{video:this.video});return this.video?p.default.Children.toArray(this.props.children).filter(v.isVideoChild).map((function(n){var a;if("string"==typeof n.type){if("source"===n.type){var r=(a=(0,o.default)({},n.props)).onError;a.onError=function(){r&&r.apply(void 0,arguments),e.handleError.apply(e,arguments)}}}else a=t;return p.default.cloneElement(n,a)})):null}},{key:"render",value:function(){var e=this,t=this.props,n=t.loop,a=t.poster,r=t.preload,o=t.src,i=t.autoPlay,l=t.playsInline,s=t.muted,u=t.crossOrigin,c=t.videoId;return p.default.createElement("video",{className:(0,h.default)("video-react-video",this.props.className),id:c,crossOrigin:u,ref:function(t){e.video=t},muted:s,preload:r,loop:n,playsInline:l,autoPlay:i,poster:a,src:o,onLoadStart:this.handleLoadStart,onWaiting:this.handleWaiting,onCanPlay:this.handleCanPlay,onCanPlayThrough:this.handleCanPlayThrough,onPlaying:this.handlePlaying,onEnded:this.handleEnded,onSeeking:this.handleSeeking,onSeeked:this.handleSeeked,onPlay:this.handlePlay,onPause:this.handlePause,onProgress:this.handleProgress,onDurationChange:this.handleDurationChange,onError:this.handleError,onSuspend:this.handleSuspend,onAbort:this.handleAbort,onEmptied:this.handleEmptied,onStalled:this.handleStalled,onLoadedMetadata:this.handleLoadedMetaData,onLoadedData:this.handleLoadedData,onTimeUpdate:this.handleTimeUpdate,onRateChange:this.handleRateChange,onVolumeChange:this.handleVolumeChange,tabIndex:"-1"},this.renderChildren())}},{key:"playbackRate",get:function(){return this.video.playbackRate},set:function(e){this.video.playbackRate=e}},{key:"muted",get:function(){return this.video.muted},set:function(e){this.video.muted=e}},{key:"volume",get:function(){return this.video.volume},set:function(e){e>1&&(e=1),e<0&&(e=0),this.video.volume=e}},{key:"videoWidth",get:function(){return this.video.videoWidth}},{key:"videoHeight",get:function(){return this.video.videoHeight}}]),t}(p.Component);t.default=m,m.propTypes=y,m.displayName="Video"},FcgA:function(e,t,n){"use strict";n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("QILm")),i=r(n("lwsE")),l=r(n("W8MJ")),s=r(n("a1gu")),u=r(n("Nsbk")),c=r(n("PJYZ")),d=r(n("7W2i")),f=r(n("17x9")),p=a(n("q1tI")),h=r(n("TSYQ")),v=r(n("zHIc")),y=r(n("0yDM")),m=r(n("4b3c")),g=r(n("UXv2")),b=r(n("54lq")),k=r(n("Na29")),E=r(n("HI9P")),w=r(n("GdU9")),S=r(n("ruMa")),P=r(n("AZ0a")),T=r(n("DGqw")),O=n("tJTW"),C={children:f.default.any,autoHide:f.default.bool,autoHideTime:f.default.number,disableDefaultControls:f.default.bool,disableCompletely:f.default.bool,className:f.default.string},A=function(e){function t(e){var n;return(0,i.default)(this,t),(n=(0,s.default)(this,(0,u.default)(t).call(this,e))).getDefaultChildren=n.getDefaultChildren.bind((0,c.default)(n)),n.getFullChildren=n.getFullChildren.bind((0,c.default)(n)),n}return(0,d.default)(t,e),(0,l.default)(t,[{key:"getDefaultChildren",value:function(){return[p.default.createElement(y.default,{key:"play-toggle",order:1}),p.default.createElement(P.default,{key:"volume-menu-button",order:4}),p.default.createElement(E.default,{key:"current-time-display",order:5.1}),p.default.createElement(S.default,{key:"time-divider",order:5.2}),p.default.createElement(w.default,{key:"duration-display",order:5.3}),p.default.createElement(v.default,{key:"progress-control",order:6}),p.default.createElement(b.default,{key:"fullscreen-toggle",order:8})]}},{key:"getFullChildren",value:function(){return[p.default.createElement(y.default,{key:"play-toggle",order:1}),p.default.createElement(g.default,{key:"replay-control",order:2}),p.default.createElement(m.default,{key:"forward-control",order:3}),p.default.createElement(P.default,{key:"volume-menu-button",order:4}),p.default.createElement(E.default,{key:"current-time-display",order:5}),p.default.createElement(S.default,{key:"time-divider",order:6}),p.default.createElement(w.default,{key:"duration-display",order:7}),p.default.createElement(v.default,{key:"progress-control",order:8}),p.default.createElement(k.default,{key:"remaining-time-display",order:9}),p.default.createElement(T.default,{rates:[1,1.25,1.5,2],key:"playback-rate",order:10}),p.default.createElement(b.default,{key:"fullscreen-toggle",order:11})]}},{key:"getChildren",value:function(){var e=p.default.Children.toArray(this.props.children),t=this.props.disableDefaultControls?[]:this.getDefaultChildren(),n=this.props,a=(n.className,(0,o.default)(n,["className"]));return(0,O.mergeAndSortChildren)(t,e,a)}},{key:"render",value:function(){var e=this.props,t=e.autoHide,n=e.className,a=e.disableCompletely,r=this.getChildren();return a?null:p.default.createElement("div",{className:(0,h.default)("video-react-control-bar",{"video-react-control-bar-auto-hide":t},n)},r)}}]),t}(p.Component);t.default=A,A.propTypes=C,A.defaultProps={autoHide:!0,disableCompletely:!1},A.displayName="ControlBar"},GdU9:function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("17x9")),o=a(n("q1tI")),i=a(n("TSYQ")),l=n("tJTW"),s={player:r.default.object,className:r.default.string};function u(e){var t=e.player.duration,n=e.className,a=(0,l.formatTime)(t);return o.default.createElement("div",{className:(0,i.default)(n,"video-react-duration video-react-time-control video-react-control")},o.default.createElement("div",{className:"video-react-duration-display","aria-live":"off"},o.default.createElement("span",{className:"video-react-control-text"},"Duration Time "),a))}u.propTypes=s,u.displayName="DurationDisplay";var c=u;t.default=c},GilN:function(e,t,n){"use strict";n("/SS/"),n("hHhE"),n("V+eJ"),n("91GP"),n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=s(n("q1tI")),o=s(n("17x9")),i=s(n("Ibp0")),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("BnQ9"));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(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):function(e,t){for(var n=Object.getOwnPropertyNames(t),a=0;a<n.length;a++){var r=n[a],o=Object.getOwnPropertyDescriptor(t,r);o&&o.configurable&&void 0===e[r]&&Object.defineProperty(e,r,o)}}(e,t))}var d={stargazers:"Star",watchers:"Watch",forks:"Fork"},f={forks:"network"},p=function(e){function t(){var n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return n=a=u(this,e.call.apply(e,[this].concat(o))),a.state={count:null},u(a,n)}return c(t,e),t.prototype.componentDidMount=function(){var e=this;this.xhr=(0,i.default)(this.getRequestUrl(),(function(t){e.setCount(t)}))},t.prototype.componentWillUnmount=function(){this.xhr&&this.xhr.abort()},t.prototype.setCount=function(e){if(e){var t=e[this.props.type+"_count"];this.setState({count:t})}},t.prototype.getRequestUrl=function(){var e=this.props;return"//api.github.com/repos/"+e.namespace+"/"+e.repo},t.prototype.getRepoUrl=function(){var e=this.props;return"//github.com/"+e.namespace+"/"+e.repo+"/"},t.prototype.getCountUrl=function(){var e=this.props,t=e.namespace,n=e.repo,a=e.type;return"//github.com/"+t+"/"+n+"/"+(f[a]||a)+"/"},t.prototype.getCountStyle=function(){return null!==this.state.count?{display:"block"}:null},t.prototype.render=function(){var e=this.props,t=e.className,n=e.type,o=e.size,i=function(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(e,["className","type","size"]);delete i.namespace,delete i.repo;var s,u,c,f=this.state.count,p=l.classNames((c=t,(u=t)in(s={"github-btn":!0,"github-btn-large":"large"===o})?Object.defineProperty(s,u,{value:c,enumerable:!0,configurable:!0,writable:!0}):s[u]=c,s));return r.default.createElement("span",a({},i,{className:p}),r.default.createElement("a",{className:"gh-btn",href:this.getRepoUrl(),target:"_blank"},r.default.createElement("span",{className:"gh-ico","aria-hidden":"true"}),r.default.createElement("span",{className:"gh-text"},d[n])),r.default.createElement("a",{className:"gh-count",target:"_blank",href:this.getCountUrl(),style:this.getCountStyle()},f))},t}(r.default.Component);p.displayName="GitHubButton",p.propTypes={className:o.default.string,type:o.default.oneOf(["stargazers","watchers","forks"]).isRequired,namespace:o.default.string.isRequired,repo:o.default.string.isRequired,size:o.default.oneOf(["large"])},t.default=p,e.exports=t.default},GuGs:function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("17x9")),o=a(n("q1tI")),i=a(n("TSYQ")),l=n("tJTW");function s(e){var t=e.duration,n=e.mouseTime,a=e.className,r=e.text;if(!n.time)return null;var s=r||(0,l.formatTime)(n.time,t);return o.default.createElement("div",{className:(0,i.default)("video-react-mouse-display",a),style:{left:"".concat(n.position,"px")},"data-current-time":s})}s.propTypes={duration:r.default.number,mouseTime:r.default.object,className:r.default.string},s.displayName="MouseTimeDisplay";var u=s;t.default=u},H0W7:function(e){e.exports=JSON.parse('{"data":{"site":{"siteMetadata":{"githubUrl":"https://github.com/antvis/L7"}}}}')},HI9P:function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("17x9")),o=a(n("q1tI")),i=a(n("TSYQ")),l=n("tJTW"),s={player:r.default.object,className:r.default.string};function u(e){var t=e.player,n=t.currentTime,a=t.duration,r=e.className,s=(0,l.formatTime)(n,a);return o.default.createElement("div",{className:(0,i.default)("video-react-current-time video-react-time-control video-react-control",r)},o.default.createElement("div",{className:"video-react-current-time-display","aria-live":"off"},o.default.createElement("span",{className:"video-react-control-text"},"Current Time "),s))}u.propTypes=s,u.displayName="CurrentTimeDisplay";var c=u;t.default=c},INgg:function(e,t,n){"use strict";n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0}),t.handleLoadStart=function(e){return{type:a,videoProps:e}},t.handleCanPlay=function(e){return{type:r,videoProps:e}},t.handleWaiting=function(e){return{type:o,videoProps:e}},t.handleCanPlayThrough=function(e){return{type:i,videoProps:e}},t.handlePlaying=function(e){return{type:l,videoProps:e}},t.handlePlay=function(e){return{type:s,videoProps:e}},t.handlePause=function(e){return{type:u,videoProps:e}},t.handleEnd=function(e){return{type:c,videoProps:e}},t.handleSeeking=function(e){return{type:d,videoProps:e}},t.handleSeeked=function(e){return{type:f,videoProps:e}},t.handleDurationChange=function(e){return{type:v,videoProps:e}},t.handleTimeUpdate=function(e){return{type:y,videoProps:e}},t.handleVolumeChange=function(e){return{type:m,videoProps:e}},t.handleProgressChange=function(e){return{type:g,videoProps:e}},t.handleRateChange=function(e){return{type:b,videoProps:e}},t.handleSuspend=function(e){return{type:k,videoProps:e}},t.handleAbort=function(e){return{type:E,videoProps:e}},t.handleEmptied=function(e){return{type:w,videoProps:e}},t.handleStalled=function(e){return{type:S,videoProps:e}},t.handleLoadedMetaData=function(e){return{type:P,videoProps:e}},t.handleLoadedData=function(e){return{type:T,videoProps:e}},t.handleResize=function(e){return{type:O,videoProps:e}},t.handleError=function(e){return{type:C,videoProps:e}},t.handleSeekingTime=function(e){return{type:p,time:e}},t.handleEndSeeking=function(e){return{type:h,time:e}},t.activateTextTrack=function(e){return{type:A,textTrack:e}},t.ACTIVATE_TEXT_TRACK=t.ERROR=t.RESIZE=t.LOADED_DATA=t.LOADED_META_DATA=t.STALLED=t.EMPTIED=t.ABORT=t.SUSPEND=t.RATE_CHANGE=t.PROGRESS_CHANGE=t.VOLUME_CHANGE=t.TIME_UPDATE=t.DURATION_CHANGE=t.END_SEEKING=t.SEEKING_TIME=t.SEEKED=t.SEEKING=t.END=t.PAUSE=t.PLAY=t.PLAYING=t.CAN_PLAY_THROUGH=t.WAITING=t.CAN_PLAY=t.LOAD_START=void 0;var a="video-react/LOAD_START";t.LOAD_START=a;var r="video-react/CAN_PLAY";t.CAN_PLAY=r;var o="video-react/WAITING";t.WAITING=o;var i="video-react/CAN_PLAY_THROUGH";t.CAN_PLAY_THROUGH=i;var l="video-react/PLAYING";t.PLAYING=l;var s="video-react/PLAY";t.PLAY=s;var u="video-react/PAUSE";t.PAUSE=u;var c="video-react/END";t.END=c;var d="video-react/SEEKING";t.SEEKING=d;var f="video-react/SEEKED";t.SEEKED=f;var p="video-react/SEEKING_TIME";t.SEEKING_TIME=p;var h="video-react/END_SEEKING";t.END_SEEKING=h;var v="video-react/DURATION_CHANGE";t.DURATION_CHANGE=v;var y="video-react/TIME_UPDATE";t.TIME_UPDATE=y;var m="video-react/VOLUME_CHANGE";t.VOLUME_CHANGE=m;var g="video-react/PROGRESS_CHANGE";t.PROGRESS_CHANGE=g;var b="video-react/RATE_CHANGE";t.RATE_CHANGE=b;var k="video-react/SUSPEND";t.SUSPEND=k;var E="video-react/ABORT";t.ABORT=E;var w="video-react/EMPTIED";t.EMPTIED=w;var S="video-react/STALLED";t.STALLED=S;var P="video-react/LOADED_META_DATA";t.LOADED_META_DATA=P;var T="video-react/LOADED_DATA";t.LOADED_DATA=T;var O="video-react/RESIZE";t.RESIZE=O;var C="video-react/ERROR";t.ERROR=C;var A="video-react/ACTIVATE_TEXT_TRACK";t.ACTIVATE_TEXT_TRACK=A},IX3V:function(e,t,n){n("a1Th"),n("h7Nl"),n("Btvt"),e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,a=e.length;n<a&&!1!==t(e[n],n);n++);}}},Ibp0:function(e,t,n){"use strict";n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("undefined"!=typeof XDomainRequest)return t(null),null;var n=new XMLHttpRequest;return n.onreadystatechange=function(){n.readyState===XMLHttpRequest.DONE&&200===n.status&&t(JSON.parse(n.responseText))},n.open("GET",e,!0),n.send(),n},e.exports=t.default},KOnL:function(e,t,n){"use strict";n("2Spj"),n("hHhE"),n("/SS/"),n("WLL4"),n("jm62"),n("8+KV"),n("0l/t"),n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V"),n("91GP"),n("rE2o"),n("ioFf"),n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0}),t.NextArrow=t.PrevArrow=void 0;var a=i(n("q1tI")),r=i(n("TSYQ")),o=n("x9Za");function i(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(n,!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function h(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function v(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=function(e){function t(){return f(this,t),v(this,y(t).apply(this,arguments))}return m(t,e),h(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,r.default)(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?a.default.cloneElement(this.props.prevArrow,c({},n,{},o)):a.default.createElement("button",s({key:"0",type:"button"},n)," ","Previous")}}]),t}(a.default.PureComponent);t.PrevArrow=b;var k=function(e){function t(){return f(this,t),v(this,y(t).apply(this,arguments))}return m(t,e),h(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,o.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,r.default)(e),style:{display:"block"},onClick:t},i={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?a.default.cloneElement(this.props.nextArrow,c({},n,{},i)):a.default.createElement("button",s({key:"1",type:"button"},n)," ","Next")}}]),t}(a.default.PureComponent);t.NextArrow=k},LgmY:function(e,t,n){"use strict";n("0l/t"),n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V"),n("bWfx"),n("Vd3H"),n("8+KV"),n("91GP"),n("DNiP"),n("2Spj"),n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("lSNA")),o=a(n("RIqP")),i=a(n("lwsE")),l=a(n("W8MJ")),s=a(n("a1gu")),u=a(n("Nsbk")),c=a(n("PJYZ")),d=a(n("7W2i")),f=n("q1tI"),p=a(n("17x9")),h=n("EVUy"),v={clickable:p.default.bool,dblclickable:p.default.bool,manager:p.default.object,actions:p.default.object,player:p.default.object,shortcuts:p.default.array},y=function(e){function t(e,n){var a;return(0,i.default)(this,t),(a=(0,s.default)(this,(0,u.default)(t).call(this,e,n))).defaultShortcuts=[{keyCode:32,handle:a.togglePlay},{keyCode:75,handle:a.togglePlay},{keyCode:70,handle:a.toggleFullscreen},{keyCode:37,handle:function(e,t){e.hasStarted&&t.replay(5,{action:"replay-5",source:"shortcut"})}},{keyCode:74,handle:function(e,t){e.hasStarted&&t.replay(10,{action:"replay-10",source:"shortcut"})}},{keyCode:39,handle:function(e,t){e.hasStarted&&t.forward(5,{action:"forward-5",source:"shortcut"})}},{keyCode:76,handle:function(e,t){e.hasStarted&&t.forward(10,{action:"forward-10",source:"shortcut"})}},{keyCode:36,handle:function(e,t){e.hasStarted&&t.seek(0)}},{keyCode:35,handle:function(e,t){e.hasStarted&&t.seek(e.duration)}},{keyCode:38,handle:function(e,t){var n=e.volume+.05;n>1&&(n=1),t.changeVolume(n,{action:"volume-up",source:"shortcut"})}},{keyCode:40,handle:function(e,t){var n=e.volume-.05;n<0&&(n=0);var a=n>0?"volume-down":"volume-off";t.changeVolume(n,{action:a,source:"shortcut"})}},{keyCode:190,shift:!0,handle:function(e,t){var n=e.playbackRate;n>=1.5?n=2:n>=1.25?n=1.5:n>=1?n=1.25:n>=.5?n=1:n>=.25?n=.5:n>=0&&(n=.25),t.changeRate(n,{action:"fast-forward",source:"shortcut"})}},{keyCode:188,shift:!0,handle:function(e,t){var n=e.playbackRate;n<=.5?n=.25:n<=1?n=.5:n<=1.25?n=1:n<=1.5?n=1.25:n<=2&&(n=1.5),t.changeRate(n,{action:"fast-rewind",source:"shortcut"})}}],a.shortcuts=(0,o.default)(a.defaultShortcuts),a.mergeShortcuts=a.mergeShortcuts.bind((0,c.default)(a)),a.handleKeyPress=a.handleKeyPress.bind((0,c.default)(a)),a.handleClick=a.handleClick.bind((0,c.default)(a)),a.handleDoubleClick=a.handleDoubleClick.bind((0,c.default)(a)),a}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.mergeShortcuts(),document.addEventListener("keydown",this.handleKeyPress),document.addEventListener("click",this.handleClick),document.addEventListener("dblclick",this.handleDoubleClick)}},{key:"componentDidUpdate",value:function(e){e.shortcuts!==this.props.shortcuts&&this.mergeShortcuts()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyPress),document.removeEventListener("click",this.handleClick),document.removeEventListener("dblclick",this.handleDoubleClick)}},{key:"mergeShortcuts",value:function(){var e=function(e){var t=e.keyCode,n=void 0===t?0:t,a=e.ctrl,r=void 0!==a&&a,o=e.shift,i=void 0!==o&&o,l=e.alt,s=void 0!==l&&l;return"".concat(n,":").concat(r,":").concat(i,":").concat(s)},t=this.defaultShortcuts.reduce((function(t,n){return Object.assign(t,(0,r.default)({},e(n),n))}),{}),n=(this.props.shortcuts||[]).reduce((function(t,n){var a=n.keyCode,o=n.handle;return a&&"function"==typeof o?Object.assign(t,(0,r.default)({},e(n),n)):t}),t),a=function(e){var t=0;return["ctrl","shift","alt"].forEach((function(n){e[n]&&t++})),t};this.shortcuts=Object.keys(n).map((function(e){return n[e]})).sort((function(e,t){return a(t)-a(e)}))}},{key:"togglePlay",value:function(e,t){e.paused?t.play({action:"play",source:"shortcut"}):t.pause({action:"pause",source:"shortcut"})}},{key:"toggleFullscreen",value:function(e,t){t.toggleFullscreen(e)}},{key:"handleKeyPress",value:function(e){var t=this.props,n=t.player,a=t.actions;if(n.isActive&&(!document.activeElement||!((0,h.hasClass)(document.activeElement,"video-react-control")||(0,h.hasClass)(document.activeElement,"video-react-menu-button-active")||(0,h.hasClass)(document.activeElement,"video-react-big-play-button")))){var r=e.keyCode||e.which,o=e.ctrlKey||e.metaKey,i=e.shiftKey,l=e.altKey,s=this.shortcuts.filter((function(e){return!(!e.keyCode||e.keyCode-r!=0)&&!(void 0!==e.ctrl&&e.ctrl!==o||void 0!==e.shift&&e.shift!==i||void 0!==e.alt&&e.alt!==l)}))[0];s&&(s.handle(n,a),e.preventDefault())}}},{key:"canBeClicked",value:function(e,t){return!(!e.isActive||"VIDEO"!==t.target.nodeName||4!==e.readyState)}},{key:"handleClick",value:function(e){var t=this.props,n=t.player,a=t.actions,r=t.clickable;this.canBeClicked(n,e)&&r&&this.togglePlay(n,a)}},{key:"handleDoubleClick",value:function(e){var t=this.props,n=t.player,a=t.actions,r=t.dblclickable;this.canBeClicked(n,e)&&r&&this.toggleFullscreen(n,a)}},{key:"render",value:function(){return null}}]),t}(f.Component);t.default=y,y.propTypes=v,y.defaultProps={clickable:!0,dblclickable:!0},y.displayName="Shortcut"},MVZn:function(e,t,n){var a=n("lSNA");e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}},Na29:function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("17x9")),o=a(n("q1tI")),i=a(n("TSYQ")),l=n("tJTW"),s={player:r.default.object,className:r.default.string};function u(e){var t=e.player,n=t.currentTime,a=t.duration,r=e.className,s=a-n,u=(0,l.formatTime)(s);return o.default.createElement("div",{className:(0,i.default)("video-react-remaining-time video-react-time-control video-react-control",r)},o.default.createElement("div",{className:"video-react-remaining-time-display","aria-live":"off"},o.default.createElement("span",{className:"video-react-control-text"},"Remaining Time "),"-".concat(u)))}u.propTypes=s,u.displayName="RemainingTimeDisplay";var c=u;t.default=c},OS56:function(e,t,n){"use strict";var a;n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=((a=n("8//2"))&&a.__esModule?a:{default:a}).default;t.default=r},QJtQ:function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var r=a(n("pVnL")),o=a(n("MVZn")),i=a(n("17x9")),l=a(n("q1tI")),s=a(n("TSYQ")),u=a(n("mJvV")),c=a(n("4FqI")),d={inline:i.default.bool,onClick:i.default.func.isRequired,onFocus:i.default.func,onBlur:i.default.func,className:i.default.string};function f(e){var t=e.inline,n=e.className,a=(0,o.default)({},e);return delete a.children,delete a.inline,delete a.className,l.default.createElement(u.default,(0,r.default)({className:(0,s.default)(n,{"video-react-menu-button-inline":!!t,"video-react-menu-button-popup":!t},"video-react-control video-react-button video-react-menu-button")},a),l.default.createElement(c.default,e))}f.propTypes=d,f.defaultProps={inline:!0},f.displayName="PopupButton"},Qrqe:function(e,t,n){"use strict";n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("pVnL")),i=r(n("lwsE")),l=r(n("W8MJ")),s=r(n("a1gu")),u=r(n("Nsbk")),c=r(n("PJYZ")),d=r(n("7W2i")),f=r(n("17x9")),p=a(n("q1tI")),h=r(n("TSYQ")),v=r(n("kXlQ")),y=r(n("jSMv")),m={actions:f.default.object,player:f.default.object,className:f.default.string,onFocus:f.default.func,onBlur:f.default.func},g=function(e){function t(e,n){var a;return(0,i.default)(this,t),(a=(0,s.default)(this,(0,u.default)(t).call(this,e,n))).state={percentage:"0%"},a.handleMouseMove=a.handleMouseMove.bind((0,c.default)(a)),a.handlePercentageChange=a.handlePercentageChange.bind((0,c.default)(a)),a.checkMuted=a.checkMuted.bind((0,c.default)(a)),a.getPercent=a.getPercent.bind((0,c.default)(a)),a.stepForward=a.stepForward.bind((0,c.default)(a)),a.stepBack=a.stepBack.bind((0,c.default)(a)),a.handleFocus=a.handleFocus.bind((0,c.default)(a)),a.handleBlur=a.handleBlur.bind((0,c.default)(a)),a.handleClick=a.handleClick.bind((0,c.default)(a)),a}return(0,d.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){}},{key:"getPercent",value:function(){var e=this.props.player;return e.muted?0:e.volume}},{key:"checkMuted",value:function(){var e=this.props,t=e.player,n=e.actions;t.muted&&n.mute(!1)}},{key:"handleMouseMove",value:function(e){var t=this.props.actions;this.checkMuted();var n=this.slider.calculateDistance(e);t.changeVolume(n)}},{key:"stepForward",value:function(){var e=this.props,t=e.player,n=e.actions;this.checkMuted(),n.changeVolume(t.volume+.1)}},{key:"stepBack",value:function(){var e=this.props,t=e.player,n=e.actions;this.checkMuted(),n.changeVolume(t.volume-.1)}},{key:"handleFocus",value:function(e){this.props.onFocus&&this.props.onFocus(e)}},{key:"handleBlur",value:function(e){this.props.onBlur&&this.props.onBlur(e)}},{key:"handlePercentageChange",value:function(e){e!==this.state.percentage&&this.setState({percentage:e})}},{key:"handleClick",value:function(e){e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.player,a=t.className,r=(100*n.volume).toFixed(2);return p.default.createElement(v.default,(0,o.default)({ref:function(t){e.slider=t},label:"volume level",valuenow:r,valuetext:"".concat(r,"%"),onMouseMove:this.handleMouseMove,onFocus:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleClick,sliderActive:this.handleFocus,sliderInactive:this.handleBlur,getPercent:this.getPercent,onPercentageChange:this.handlePercentageChange,stepForward:this.stepForward,stepBack:this.stepBack},this.props,{className:(0,h.default)(a,"video-react-volume-bar video-react-slider-bar")}),p.default.createElement(y.default,this.props))}}]),t}(p.Component);g.propTypes=m,g.displayName="VolumeBar";var b=g;t.default=b},SLVX:function(e,t,n){"use strict";function a(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return a}))},U3K2:function(e,t,n){"use strict";n("bWfx"),n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lwsE")),i=r(n("W8MJ")),l=r(n("a1gu")),s=r(n("Nsbk")),u=r(n("PJYZ")),c=r(n("7W2i")),d=r(n("17x9")),f=a(n("q1tI")),p=r(n("TSYQ")),h=r(n("o4RB")),v=r(n("DeZD")),y=r(n("mJvV")),m={inline:d.default.bool,items:d.default.array,className:d.default.string,onSelectItem:d.default.func,children:d.default.any,selectedIndex:d.default.number},g=function(e){function t(e,n){var a;return(0,o.default)(this,t),(a=(0,l.default)(this,(0,s.default)(t).call(this,e,n))).state={active:!1,activateIndex:e.selectedIndex||0},a.commitSelection=a.commitSelection.bind((0,u.default)(a)),a.activateMenuItem=a.activateMenuItem.bind((0,u.default)(a)),a.handleClick=a.handleClick.bind((0,u.default)(a)),a.renderMenu=a.renderMenu.bind((0,u.default)(a)),a.handleFocus=a.handleFocus.bind((0,u.default)(a)),a.handleBlur=a.handleBlur.bind((0,u.default)(a)),a.handleUpArrow=a.handleUpArrow.bind((0,u.default)(a)),a.handleDownArrow=a.handleDownArrow.bind((0,u.default)(a)),a.handleEscape=a.handleEscape.bind((0,u.default)(a)),a.handleReturn=a.handleReturn.bind((0,u.default)(a)),a.handleTab=a.handleTab.bind((0,u.default)(a)),a.handleKeyPress=a.handleKeyPress.bind((0,u.default)(a)),a.handleSelectItem=a.handleSelectItem.bind((0,u.default)(a)),a.handleIndexChange=a.handleIndexChange.bind((0,u.default)(a)),a}return(0,c.default)(t,e),(0,i.default)(t,[{key:"componentDidUpdate",value:function(e){e.selectedIndex!==this.props.selectedIndex&&this.activateMenuItem(this.props.selectedIndex)}},{key:"commitSelection",value:function(e){this.setState({activateIndex:e}),this.handleIndexChange(e)}},{key:"activateMenuItem",value:function(e){this.setState({activateIndex:e}),this.handleIndexChange(e)}},{key:"handleIndexChange",value:function(e){(0,this.props.onSelectItem)(e)}},{key:"handleClick",value:function(){this.setState((function(e){return{active:!e.active}}))}},{key:"handleFocus",value:function(){document.addEventListener("keydown",this.handleKeyPress)}},{key:"handleBlur",value:function(){this.setState({active:!1}),document.removeEventListener("keydown",this.handleKeyPress)}},{key:"handleUpArrow",value:function(e){var t=this.props.items;if(this.state.active){e.preventDefault();var n=this.state.activateIndex-1;n<0&&(n=t.length?t.length-1:0),this.activateMenuItem(n)}}},{key:"handleDownArrow",value:function(e){var t=this.props.items;if(this.state.active){e.preventDefault();var n=this.state.activateIndex+1;n>=t.length&&(n=0),this.activateMenuItem(n)}}},{key:"handleTab",value:function(e){this.state.active&&(e.preventDefault(),this.commitSelection(this.state.activateIndex))}},{key:"handleReturn",value:function(e){e.preventDefault(),this.state.active?this.commitSelection(this.state.activateIndex):this.setState({active:!0})}},{key:"handleEscape",value:function(){this.setState({active:!1,activateIndex:0})}},{key:"handleKeyPress",value:function(e){27===e.which?this.handleEscape(e):9===e.which?this.handleTab(e):13===e.which?this.handleReturn(e):38===e.which?this.handleUpArrow(e):40===e.which&&this.handleDownArrow(e)}},{key:"handleSelectItem",value:function(e){this.commitSelection(e)}},{key:"renderMenu",value:function(){var e=this;if(!this.state.active)return null;var t=this.props.items;return f.default.createElement(h.default,null,t.map((function(t,n){return f.default.createElement(v.default,{item:t,index:n,onSelectItem:e.handleSelectItem,activateIndex:e.state.activateIndex,key:"item-".concat(n++)})})))}},{key:"render",value:function(){var e=this,t=this.props,n=t.inline,a=t.className;return f.default.createElement(y.default,{className:(0,p.default)(a,{"video-react-menu-button-inline":!!n,"video-react-menu-button-popup":!n,"video-react-menu-button-active":this.state.active},"video-react-control video-react-button video-react-menu-button"),role:"button",tabIndex:"0",ref:function(t){e.menuButton=t},onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur},this.props.children,this.renderMenu())}}]),t}(f.Component);t.default=g,g.propTypes=m,g.displayName="MenuButton"},UXv2:function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,a(n("8nKf")).default)("replay");r.displayName="ReplayControl";var o=r;t.default=o},"UZv/":function(e,t,n){"use strict";n("V+eJ"),n("WLL4"),n("jm62"),n("8+KV"),n("0l/t"),n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V"),n("hHhE"),n("/SS/"),n("91GP"),n("rE2o"),n("ioFf"),n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var a=i(n("q1tI")),r=i(n("TSYQ")),o=n("x9Za");function i(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function c(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(n,!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){var t,n,a,r,o;return a=(o=e.rtl?e.slideCount-1-e.index:e.index)<0||o>=e.slideCount,e.centerMode?(r=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount==0,o>e.currentSlide-r-1&&o<=e.currentSlide+r&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":a,"slick-current":o===e.currentSlide}},m=function(e,t){return e.key||t},g=function(e){var t,n=[],i=[],l=[],s=a.default.Children.count(e.children),u=(0,o.lazyStartIndex)(e),c=(0,o.lazyEndIndex)(e);return a.default.Children.forEach(e.children,(function(d,f){var p,v={message:"children",index:f,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(f)>=0?d:a.default.createElement("div",null);var g=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase,t.WebkitTransition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase),t}(h({},e,{index:f})),b=p.props.className||"",k=y(h({},e,{index:f}));if(n.push(a.default.cloneElement(p,{key:"original"+m(p,f),"data-index":f,className:(0,r.default)(k,b),tabIndex:"-1","aria-hidden":!k["slick-active"],style:h({outline:"none"},p.props.style||{},{},g),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(v)}})),e.infinite&&!1===e.fade){var E=s-f;E<=(0,o.getPreClones)(e)&&s!==e.slidesToShow&&((t=-E)>=u&&(p=d),k=y(h({},e,{index:t})),i.push(a.default.cloneElement(p,{key:"precloned"+m(p,t),"data-index":t,tabIndex:"-1",className:(0,r.default)(k,b),"aria-hidden":!k["slick-active"],style:h({},p.props.style||{},{},g),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(v)}}))),s!==e.slidesToShow&&((t=s+f)<c&&(p=d),k=y(h({},e,{index:t})),l.push(a.default.cloneElement(p,{key:"postcloned"+m(p,t),"data-index":t,tabIndex:"-1",className:(0,r.default)(k,b),"aria-hidden":!k["slick-active"],style:h({},p.props.style||{},{},g),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(v)}})))}})),e.rtl?i.concat(n,l).reverse():i.concat(n,l)},b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,d(t).apply(this,arguments))}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=g(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return a.default.createElement("div",s({className:"slick-track",style:this.props.trackStyle},n),e)}}])&&u(n.prototype,r),o&&u(n,o),t}(a.default.PureComponent);t.Track=b},X2cd:function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=a(n("17x9")),o=a(n("q1tI")),i=a(n("TSYQ")),l={player:r.default.object,className:r.default.string};function s(e){var t=e.player,n=e.className;return t.error?null:o.default.createElement("div",{className:(0,i.default)("video-react-loading-spinner",n)})}s.propTypes=l,s.displayName="LoadingSpinner"},aaW0:function(e,t,n){"use strict";n("2Spj"),n("KKXr"),n("bWfx"),n("hHhE"),n("/SS/"),n("WLL4"),n("jm62"),n("8+KV"),n("0l/t"),n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V"),n("rE2o"),n("ioFf"),n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var a=o(n("q1tI")),r=o(n("TSYQ"));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function c(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,d(t).apply(this,arguments))}var n,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),n=t,(o=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){var e,t=this,n=(e={slideCount:this.props.slideCount,slidesToScroll:this.props.slidesToScroll,slidesToShow:this.props.slidesToShow,infinite:this.props.infinite}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,o=this.props,i={onMouseEnter:o.onMouseEnter,onMouseOver:o.onMouseOver,onMouseLeave:o.onMouseLeave},u=Array.apply(null,Array(n+1).join("0").split("")).map((function(e,n){var o=n*t.props.slidesToScroll,i=n*t.props.slidesToScroll+(t.props.slidesToScroll-1),l=(0,r.default)({"slick-active":t.props.currentSlide>=o&&t.props.currentSlide<=i}),s={message:"dots",index:n,slidesToScroll:t.props.slidesToScroll,currentSlide:t.props.currentSlide},u=t.clickHandler.bind(t,s);return a.default.createElement("li",{key:n,className:l},a.default.cloneElement(t.props.customPaging(n),{onClick:u}))}));return a.default.cloneElement(this.props.appendDots(u),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},i))}}])&&u(n.prototype,o),i&&u(n,i),t}(a.default.PureComponent);t.Dots=p},bCCX:function(e,t,n){"use strict";(function(e,a){var r,o=n("SLVX");r="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:a;var i=Object(o.a)(r);t.a=i}).call(this,n("yLpj"),n("3UD+")(e))},iAfH:function(e,t,n){"use strict";n("2Spj"),n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V"),n("0l/t"),n("DNiP"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("MVZn")),i=r(n("lwsE")),l=r(n("W8MJ")),s=n("ANjH"),u=r(n("ulZL")),c=a(n("we7k")),d=a(n("INgg")),f=function(){function e(t){(0,i.default)(this,e),this.store=t||(0,s.createStore)(u.default),this.video=null,this.rootElement=null}return(0,l.default)(e,[{key:"getActions",value:function(){var e=this,t=this.store.dispatch,n=(0,o.default)({},c,d);return Object.keys(n).filter((function(e){return"function"==typeof n[e]})).reduce((function(a,r){var o;return a[r]=(o=n[r],function(){var n=o.apply(e,arguments);void 0!==n&&t(n)}),a}),{})}},{key:"getState",value:function(){return this.store.getState()}},{key:"subscribeToStateChange",value:function(e,t){t||(t=this.getState.bind(this));var n=t();return this.store.subscribe((function(){var a=t();if(a!==n){var r=n;n=a,e(a,r)}}))}},{key:"subscribeToOperationStateChange",value:function(e){var t=this;return this.subscribeToStateChange(e,(function(){return t.getState().operation}))}},{key:"subscribeToPlayerStateChange",value:function(e){var t=this;return this.subscribeToStateChange(e,(function(){return t.getState().player}))}}]),e}();t.default=f},jAeI:function(e,t,n){"use strict";n.r(t);n("f3/d"),n("Pwec");var a=n("CtXQ"),r=(n("tUrg"),n("9VmF"),n("cIOH"),n("1wcP"),n("+L6B"),n("91GP"),n("q1tI")),o=n.n(r),i=(n("V+eJ"),n("hHhE"),n("/SS/"),n("HAE/"),n("rE2o"),n("ioFf"),n("QbLZ")),l=n.n(i),s=(n("eM6i"),n("8+KV"),n("iCc5")),u=n.n(s),c=n("FYw3"),d=n.n(c),f=n("mRg0"),p=n.n(f),h=n("i8i4"),v=n("4IlW"),y=n("l4aY"),m=n("PqD/"),g=n("MFj2"),b=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&(n[a[r]]=e[a[r]])}return n},k=function(e){function t(){return u()(this,t),d()(this,e.apply(this,arguments))}return p()(t,e),t.prototype.shouldComponentUpdate=function(e){return!!e.forceRender||(!!e.hiddenClassName||!!e.visible)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.hiddenClassName,a=e.visible,o=(e.forceRender,b(e,["className","hiddenClassName","visible","forceRender"])),i=t;return n&&!a&&(i+=" "+n),r.createElement("div",l()({},o,{className:i}))},t}(r.Component),E=0;function w(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],a="scroll"+(t?"Top":"Left");if("number"!=typeof n){var r=e.document;"number"!=typeof(n=r.documentElement[a])&&(n=r.body[a])}return n}function S(e,t){var n=e.style;["Webkit","Moz","Ms","ms"].forEach((function(e){n[e+"TransformOrigin"]=t})),n.transformOrigin=t}var P={},T=function(e){function t(n){u()(this,t);var a=d()(this,e.call(this,n));return a.inTransition=!1,a.onAnimateLeave=function(){var e=a.props.afterClose;a.wrap&&(a.wrap.style.display="none"),a.inTransition=!1,a.switchScrollingEffect(),e&&e()},a.onDialogMouseDown=function(){a.dialogMouseDown=!0},a.onMaskMouseUp=function(){a.dialogMouseDown&&(a.timeoutId=setTimeout((function(){a.dialogMouseDown=!1}),0))},a.onMaskClick=function(e){Date.now()-a.openTime<300||e.target!==e.currentTarget||a.dialogMouseDown||a.close(e)},a.onKeyDown=function(e){var t=a.props;if(t.keyboard&&e.keyCode===v.a.ESC)return e.stopPropagation(),void a.close(e);if(t.visible&&e.keyCode===v.a.TAB){var n=document.activeElement,r=a.sentinelStart;e.shiftKey?n===r&&a.sentinelEnd.focus():n===a.sentinelEnd&&r.focus()}},a.getDialogElement=function(){var e=a.props,t=e.closable,n=e.prefixCls,o={};void 0!==e.width&&(o.width=e.width),void 0!==e.height&&(o.height=e.height);var i=void 0;e.footer&&(i=r.createElement("div",{className:n+"-footer",ref:a.saveRef("footer")},e.footer));var s=void 0;e.title&&(s=r.createElement("div",{className:n+"-header",ref:a.saveRef("header")},r.createElement("div",{className:n+"-title",id:a.titleId},e.title)));var u=void 0;t&&(u=r.createElement("button",{type:"button",onClick:a.close,"aria-label":"Close",className:n+"-close"},e.closeIcon||r.createElement("span",{className:n+"-close-x"})));var c=l()({},e.style,o),d={width:0,height:0,overflow:"hidden"},f=a.getTransitionName(),p=r.createElement(k,{key:"dialog-element",role:"document",ref:a.saveRef("dialog"),style:c,className:n+" "+(e.className||""),visible:e.visible,forceRender:e.forceRender,onMouseDown:a.onDialogMouseDown},r.createElement("div",{tabIndex:0,ref:a.saveRef("sentinelStart"),style:d,"aria-hidden":"true"}),r.createElement("div",{className:n+"-content"},u,s,r.createElement("div",l()({className:n+"-body",style:e.bodyStyle,ref:a.saveRef("body")},e.bodyProps),e.children),i),r.createElement("div",{tabIndex:0,ref:a.saveRef("sentinelEnd"),style:d,"aria-hidden":"true"}));return r.createElement(g.a,{key:"dialog",showProp:"visible",onLeave:a.onAnimateLeave,transitionName:f,component:"",transitionAppear:!0},e.visible||!e.destroyOnClose?p:null)},a.getZIndexStyle=function(){var e={},t=a.props;return void 0!==t.zIndex&&(e.zIndex=t.zIndex),e},a.getWrapStyle=function(){return l()({},a.getZIndexStyle(),a.props.wrapStyle)},a.getMaskStyle=function(){return l()({},a.getZIndexStyle(),a.props.maskStyle)},a.getMaskElement=function(){var e=a.props,t=void 0;if(e.mask){var n=a.getMaskTransitionName();t=r.createElement(k,l()({style:a.getMaskStyle(),key:"mask",className:e.prefixCls+"-mask",hiddenClassName:e.prefixCls+"-mask-hidden",visible:e.visible},e.maskProps)),n&&(t=r.createElement(g.a,{key:"mask",showProp:"visible",transitionAppear:!0,component:"",transitionName:n},t))}return t},a.getMaskTransitionName=function(){var e=a.props,t=e.maskTransitionName,n=e.maskAnimation;return!t&&n&&(t=e.prefixCls+"-"+n),t},a.getTransitionName=function(){var e=a.props,t=e.transitionName,n=e.animation;return!t&&n&&(t=e.prefixCls+"-"+n),t},a.switchScrollingEffect=function(){var e=(0,a.props.getOpenCount)();if(1===e){if(P.hasOwnProperty("overflowX"))return;P={overflowX:document.body.style.overflowX,overflowY:document.body.style.overflowY,overflow:document.body.style.overflow},Object(m.a)(),document.body.style.overflow="hidden"}else e||(void 0!==P.overflow&&(document.body.style.overflow=P.overflow),void 0!==P.overflowX&&(document.body.style.overflowX=P.overflowX),void 0!==P.overflowY&&(document.body.style.overflowY=P.overflowY),P={},Object(m.a)(!0))},a.close=function(e){var t=a.props.onClose;t&&t(e)},a.saveRef=function(e){return function(t){a[e]=t}},a.titleId="rcDialogTitle"+E++,a}return p()(t,e),t.prototype.componentDidMount=function(){this.componentDidUpdate({}),(this.props.forceRender||!1===this.props.getContainer&&!this.props.visible)&&this.wrap&&(this.wrap.style.display="none")},t.prototype.componentDidUpdate=function(e){var t,n,a,r,o,i=this.props,l=this.props.mousePosition;if(i.visible){if(!e.visible){this.openTime=Date.now(),this.switchScrollingEffect(),this.tryFocus();var s=h.findDOMNode(this.dialog);if(l){var u=(n=(t=s).getBoundingClientRect(),a={left:n.left,top:n.top},r=t.ownerDocument,o=r.defaultView||r.parentWindow,a.left+=w(o),a.top+=w(o,!0),a);S(s,l.x-u.left+"px "+(l.y-u.top)+"px")}else S(s,"")}}else if(e.visible&&(this.inTransition=!0,i.mask&&this.lastOutSideFocusNode)){try{this.lastOutSideFocusNode.focus()}catch(c){this.lastOutSideFocusNode=null}this.lastOutSideFocusNode=null}},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visible,n=e.getOpenCount;!t&&!this.inTransition||n()||this.switchScrollingEffect(),clearTimeout(this.timeoutId)},t.prototype.tryFocus=function(){Object(y.a)(this.wrap,document.activeElement)||(this.lastOutSideFocusNode=document.activeElement,this.sentinelStart.focus())},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.maskClosable,a=this.getWrapStyle();return e.visible&&(a.display=null),r.createElement("div",null,this.getMaskElement(),r.createElement("div",l()({tabIndex:-1,onKeyDown:this.onKeyDown,className:t+"-wrap "+(e.wrapClassName||""),ref:this.saveRef("wrap"),onClick:n?this.onMaskClick:null,onMouseUp:n?this.onMaskMouseUp:null,role:"dialog","aria-labelledby":e.title?this.titleId:null,style:a},e.wrapProps),this.getDialogElement()))},t}(r.Component),O=T;T.defaultProps={className:"",mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog"};var C=n("1W/9"),A=function(e){var t=e.visible,n=e.getContainer,a=e.forceRender;return!1===n?r.createElement(O,l()({},e,{getOpenCount:function(){return 2}})):r.createElement(C.a,{visible:t,forceRender:a,getContainer:n},(function(t){return r.createElement(O,l()({},e,t))}))},N=n("17x9"),j=n("TSYQ"),x=n.n(j),M=n("zT1h"),L=n("ul5b"),I=n("2/Rp"),R=n("YMnH"),_=n("H84U");function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function H(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function F(e,t){return!t||"object"!==D(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function z(e){return(z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var B,U=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},Y=[];"undefined"!=typeof window&&window.document&&window.document.documentElement&&Object(M.a)(document.documentElement,"click",(function(e){B={x:e.pageX,y:e.pageY},setTimeout((function(){return B=null}),100)}));var V=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=F(this,z(t).apply(this,arguments))).handleCancel=function(t){var n=e.props.onCancel;n&&n(t)},e.handleOk=function(t){var n=e.props.onOk;n&&n(t)},e.renderFooter=function(t){var n=e.props,a=n.okText,o=n.okType,i=n.cancelText,l=n.confirmLoading;return r.createElement("div",null,r.createElement(I.a,W({onClick:e.handleCancel},e.props.cancelButtonProps),i||t.cancelText),r.createElement(I.a,W({type:o,loading:l,onClick:e.handleOk},e.props.okButtonProps),a||t.okText))},e.renderModal=function(t){var n,o,i,l=t.getPopupContainer,s=t.getPrefixCls,u=e.props,c=u.prefixCls,d=u.footer,f=u.visible,p=u.wrapClassName,h=u.centered,v=u.getContainer,y=u.closeIcon,m=U(u,["prefixCls","footer","visible","wrapClassName","centered","getContainer","closeIcon"]),g=s("modal",c),b=r.createElement(R.a,{componentName:"Modal",defaultLocale:Object(L.b)()},e.renderFooter),k=r.createElement("span",{className:"".concat(g,"-close-x")},y||r.createElement(a.a,{className:"".concat(g,"-close-icon"),type:"close"}));return r.createElement(A,W({},m,{getContainer:void 0===v?l:v,prefixCls:g,wrapClassName:x()((n={},o="".concat(g,"-centered"),i=!!h,o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i,n),p),footer:void 0===d?b:d,visible:f,mousePosition:B,onClose:e.handleCancel,closeIcon:k}))},e}var n,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){return r.createElement(_.a,null,this.renderModal)}}])&&H(n.prototype,o),i&&H(n,i),t}(r.Component);V.defaultProps={width:520,transitionName:"zoom",maskTransitionName:"fade",confirmLoading:!1,visible:!1,okType:"primary"},V.propTypes={prefixCls:N.string,onOk:N.func,onCancel:N.func,okText:N.node,cancelText:N.node,centered:N.bool,width:N.oneOfType([N.number,N.string]),confirmLoading:N.bool,visible:N.bool,footer:N.node,title:N.node,closable:N.bool,closeIcon:N.node};n("2Spj"),n("dZ+Y");function K(e){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function G(){return(G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Q(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function J(e,t){return!t||"object"!==K(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Z(e,t){return(Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var $=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=J(this,X(t).call(this,e))).onClick=function(){var e,t=n.props,a=t.actionFn,r=t.closeModal;a?(a.length?e=a(r):(e=a())||r(),e&&e.then&&(n.setState({loading:!0}),e.then((function(){r.apply(void 0,arguments)}),(function(e){console.error(e),n.setState({loading:!1})})))):r()},n.state={loading:!1},n}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z(e,t)}(t,e),n=t,(a=[{key:"componentDidMount",value:function(){if(this.props.autoFocus){var e=h.findDOMNode(this);this.timeoutId=setTimeout((function(){return e.focus()}))}}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeoutId)}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.children,a=e.buttonProps,o=this.state.loading;return r.createElement(I.a,G({type:t,onClick:this.onClick,loading:o},a),n)}}])&&Q(n.prototype,a),o&&Q(n,o),t}(r.Component),ee=n("6CfX");function te(){return(te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ne=!!h.createPortal,ae=function(e){var t=e.onCancel,n=e.onOk,o=e.close,i=e.zIndex,l=e.afterClose,s=e.visible,u=e.keyboard,c=e.centered,d=e.getContainer,f=e.maskStyle,p=e.okButtonProps,h=e.cancelButtonProps,v=e.iconType,y=void 0===v?"question-circle":v;Object(ee.a)(!("iconType"in e),"Modal","The property 'iconType' is deprecated. Use the property 'icon' instead.");var m,g,b,k=void 0===e.icon?y:e.icon,E=e.okType||"primary",w=e.prefixCls||"ant-modal",S="".concat(w,"-confirm"),P=!("okCancel"in e)||e.okCancel,T=e.width||416,O=e.style||{},C=void 0===e.mask||e.mask,A=void 0!==e.maskClosable&&e.maskClosable,N=Object(L.b)(),j=e.okText||(P?N.okText:N.justOkText),M=e.cancelText||N.cancelText,I=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),R=e.transitionName||"zoom",_=e.maskTransitionName||"fade",D=x()(S,"".concat(S,"-").concat(e.type),e.className),W=P&&r.createElement($,{actionFn:t,closeModal:o,autoFocus:"cancel"===I,buttonProps:h},M),H="string"==typeof k?r.createElement(a.a,{type:k}):k;return r.createElement(V,{prefixCls:w,className:D,wrapClassName:x()((m={},g="".concat(S,"-centered"),b=!!e.centered,g in m?Object.defineProperty(m,g,{value:b,enumerable:!0,configurable:!0,writable:!0}):m[g]=b,m)),onCancel:function(){return o({triggerCancel:!0})},visible:s,title:"",transitionName:R,footer:"",maskTransitionName:_,mask:C,maskClosable:A,maskStyle:f,style:O,width:T,zIndex:i,afterClose:l,keyboard:u,centered:c,getContainer:d},r.createElement("div",{className:"".concat(S,"-body-wrapper")},r.createElement("div",{className:"".concat(S,"-body")},H,void 0===e.title?null:r.createElement("span",{className:"".concat(S,"-title")},e.title),r.createElement("div",{className:"".concat(S,"-content")},e.content)),r.createElement("div",{className:"".concat(S,"-btns")},W,r.createElement($,{type:E,actionFn:n,closeModal:o,autoFocus:"ok"===I,buttonProps:p},j))))};function re(e){var t=document.createElement("div");document.body.appendChild(t);var n=te(te({},e),{close:i,visible:!0});function a(){h.unmountComponentAtNode(t)&&t.parentNode&&t.parentNode.removeChild(t);for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];var o=a.some((function(e){return e&&e.triggerCancel}));e.onCancel&&o&&e.onCancel.apply(e,a);for(var l=0;l<Y.length;l++){if(Y[l]===i){Y.splice(l,1);break}}}function o(e){h.render(r.createElement(ae,e),t)}function i(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];n=te(te({},n),{visible:!1,afterClose:a.bind.apply(a,[this].concat(t))}),ne?o(n):a.apply(void 0,t)}return o(n),Y.push(i),{destroy:i,update:function(e){o(n=te(te({},n),e))}}}function oe(){return(oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ie(e){return re(oe({type:"warning",icon:r.createElement(a.a,{type:"exclamation-circle"}),okCancel:!1},e))}V.info=function(e){return re(oe({type:"info",icon:r.createElement(a.a,{type:"info-circle"}),okCancel:!1},e))},V.success=function(e){return re(oe({type:"success",icon:r.createElement(a.a,{type:"check-circle"}),okCancel:!1},e))},V.error=function(e){return re(oe({type:"error",icon:r.createElement(a.a,{type:"close-circle"}),okCancel:!1},e))},V.warning=ie,V.warn=ie,V.confirm=function(e){return re(oe({type:"confirm",okCancel:!0},e))},V.destroyAll=function(){for(;Y.length;){var e=Y.pop();e&&e()}};var le,se=V,ue=n("H0W7"),ce=n("Wbzz"),de=n("GilN"),fe=n.n(de),pe=n("xkdA"),he=n.n(pe),ve=n("9kay"),ye=(n("riYV"),n("udzn")),me=n("ETo5"),ge=n.n(me),be=(n("a1Th"),n("Btvt"),n("VYRR")),ke=n.n(be),Ee=["https://gw.alipayobjects.com/zos/antfincdn/IqREAm36K7/1.png","https://gw.alipayobjects.com/zos/antfincdn/3fG1Iqjfnz/2.png"],we=function(e){var t=e.index,n=void 0===t?0:t,a=e.type,r=e.title,i=e.date,l=e.link,s=void 0===l?"":l,u=o.a.createElement("div",{className:ke.a.container},o.a.createElement("img",{className:ke.a.number,src:Ee[n],alt:n.toString()}),o.a.createElement("div",{className:ke.a.content},o.a.createElement("p",{className:ke.a.description},a," ‧ ",r),o.a.createElement("p",{className:ke.a.date},i)));return s.startsWith("http")?o.a.createElement("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:ke.a.notification},u):o.a.createElement(ce.Link,{to:s,className:ke.a.notification},u)},Se=function(e){var t=e.coverImage,n=e.title,r=e.description,i=e.notifications,l=e.style,s=void 0===l?{}:l,u=e.className,c=e.video,d=e.showGithubStars,f=void 0===d||d,p=e.buttons,h=void 0===p?[]:p,v=e.onCloseVideo,y=e.onPlayVideo,m=Object(ve.b)(),g=m.t,b=(m.i18n,ue.data.site.siteMetadata.githubUrl),k=[{type:g("推荐"),title:g("AntV 11-22 品牌日:知源·致远"),date:"2019.11.22",link:"https://www.yuque.com/antv/blog/2019-release"},{type:g("更新"),title:g("G2Plot 图表库发布"),date:"2019.11.22",link:"https://www.yuque.com/antv/blog/charts"}],E=(i||k).slice(0,2).map((function(e,t){return o.a.createElement(we,Object.assign({index:t,key:t},e))})),w=h.map((function(e,t){var n=e.link.startsWith("http")||e.link.startsWith("#")?"a":ce.Link,a={};return e.link.startsWith("http")&&(a.target="_blank",a.rel="noopener noreferrer"),"a"===n?a.href=e.link:a.to=e.link,o.a.createElement(n,Object.assign({},a,{className:ge.a.buttonLink,key:t}),o.a.createElement("div",{className:x()(ge.a.button,ge.a[e.type||""],"primary-button"),style:e.style},e.text))}));if(c&&w.push(o.a.createElement("div",{key:"video",onClick:function(){y&&y(),se.info({title:"This is a notification message",className:ge.a.videoModal,onCancel:v,content:o.a.createElement(ye.Player,{className:ge.a.video,autoPlay:!0,src:c}),width:"70%"})},className:ge.a.videoButtonWrapper},o.a.createElement("div",{className:ge.a.videoButton},o.a.createElement(a.a,{type:"caret-right",className:ge.a.videoButtonIcon,style:{fontSize:"16px",color:"#873BF4"}}),o.a.createElement("p",{className:ge.a.videoButtonText,style:{fontSize:"14px",lineHeight:"40px"}},g("知源・致远"))))),f){var S=he()(b);S&&S.owner&&S.name&&w.push(o.a.createElement("div",{key:"github",className:ge.a.githubWrapper},o.a.createElement(fe.a,{type:"stargazers",size:"large",namespace:S.owner,repo:S.name})))}return o.a.createElement("section",{className:x()(ge.a.wrapper,u),style:s},o.a.createElement("div",{className:ge.a.content},o.a.createElement("div",{className:ge.a.text},o.a.createElement("div",{className:x()(ge.a.title,"banner-title")},n),o.a.createElement("p",{className:x()(ge.a.description,"banner-description")},r),o.a.createElement("div",{className:x()(ge.a.buttons,"banner-buttons")},w)),o.a.createElement("div",{className:x()(ge.a.notifications,"notifications")},E),o.a.createElement("div",{className:x()(ge.a.teaser,"teaser")},o.a.createElement("div",{className:x()(ge.a.teaserimg,"teaser-img")},t)),o.a.createElement("img",{className:ge.a.backLeftBottom,src:"https://gw.alipayobjects.com/zos/basement_prod/441d5eaf-e623-47cd-b9b9-2a581d9ce1e3.svg",alt:"back"})))},Pe=n("OS56"),Te=n.n(Pe),Oe=(n("tyWD"),n("K7k0"),n("ZYa5")),Ce=n.n(Oe),Ae=function(e){var t,n,r=e.cases,i=void 0===r?[]:r,l=e.style,s=void 0===l?{}:l,u=e.className,c=Object(ve.b)().t,d=function(){t.slickPrev()},f=function(){t.slickNext()},p={dots:i.length>1,infinite:!0,slidesToShow:1,adaptiveHeight:!0,speed:500,cssEase:"linear",arrows:!1,autoplay:!0,autoplaySpeed:3e3,fade:!0};return o.a.createElement("div",{className:x()(Ce.a.wrapper,u),style:s},o.a.createElement(Te.a,Object.assign({},p,{className:Ce.a.slider,ref:function(e){t=e}}),(i.length>1&&(n=o.a.createElement("div",{className:Ce.a.buttons},o.a.createElement("div",{className:Ce.a.controlButton,onClick:d},o.a.createElement(a.a,{type:"arrow-left",className:Ce.a.controlButtonIcon,style:{fontSize:"16px"}})),o.a.createElement("div",{className:Ce.a.controlButton,onClick:f,style:{marginLeft:"-1px"}},o.a.createElement(a.a,{type:"arrow-right",className:Ce.a.controlButtonIcon,style:{fontSize:"16px"}})))),i.map((function(e){var t=o.a.createElement("div",{className:Ce.a.detailWrapper,style:{display:e.link?"block":"none"}},e.link&&e.link.startsWith("http")?o.a.createElement("a",{className:Ce.a.detail,href:e.link,target:"_blank",rel:"noopener noreferrer"},c("查看详情")):o.a.createElement(ce.Link,{className:Ce.a.detail,to:e.link?e.link:""},c("查看详情")));return o.a.createElement("div",{className:Ce.a.appWrapper,key:e.title},o.a.createElement("img",{className:Ce.a.appTeaser,src:e.image,alt:e.title}),o.a.createElement("div",{className:Ce.a.appLeft},o.a.createElement("div",{className:Ce.a.appContent},o.a.createElement("img",{className:Ce.a.appLogo,src:e.logo,alt:"logo",style:{borderRadius:e.isAppLogo?"15px":"0px",boxShadow:e.isAppLogo?"0px 12px 24px #CED4D9":"0px 0px 0px"}}),o.a.createElement("p",{className:Ce.a.appTitle},e.title),o.a.createElement("p",{className:Ce.a.appDescription},e.description),t),n))})))))},Ne=(n("FIfw"),n("LK8F"),n("foW8")),je=n.n(Ne)()({}),xe=n("CWQg");n("rGqo"),n("yt8O"),n("RW0V"),n("bWfx"),n("0l/t"),n("h7Nl");function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Le(){return(Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}}),le=n("jpXb")}var Ie=["xxl","xl","lg","md","sm","xs"],Re={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},_e=[],De=-1,We={},He={dispatch:function(e){return We=e,!(_e.length<1)&&(_e.forEach((function(e){e.func(We)})),!0)},subscribe:function(e){0===_e.length&&this.register();var t=(++De).toString();return _e.push({token:t,func:e}),e(We),t},unsubscribe:function(e){0===(_e=_e.filter((function(t){return t.token!==e}))).length&&this.unregister()},unregister:function(){Object.keys(Re).map((function(e){return le.unregister(Re[e])}))},register:function(){var e=this;Object.keys(Re).map((function(t){return le.register(Re[t],{match:function(){var n=Le(Le({},We),Me({},t,!0));e.dispatch(n)},unmatch:function(){var n=Le(Le({},We),Me({},t,!1));e.dispatch(n)},destroy:function(){}})}))}};function Fe(e){return(Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ze(){return(ze=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Be(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Ue(e,t){return!t||"object"!==Fe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ye(e){return(Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ke=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},Ge=Object(xe.a)("top","middle","bottom","stretch"),Qe=Object(xe.a)("start","end","center","space-around","space-between"),Je=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=Ue(this,Ye(t).apply(this,arguments))).state={screens:{}},e.renderRow=function(t){var n,a=t.getPrefixCls,o=e.props,i=o.prefixCls,l=o.type,s=o.justify,u=o.align,c=o.className,d=o.style,f=o.children,p=Ke(o,["prefixCls","type","justify","align","className","style","children"]),h=a("row",i),v=e.getGutter(),y=x()((qe(n={},h,!l),qe(n,"".concat(h,"-").concat(l),l),qe(n,"".concat(h,"-").concat(l,"-").concat(s),l&&s),qe(n,"".concat(h,"-").concat(l,"-").concat(u),l&&u),n),c),m=ze(ze(ze({},v[0]>0?{marginLeft:v[0]/-2,marginRight:v[0]/-2}:{}),v[1]>0?{marginTop:v[1]/-2,marginBottom:v[1]/-2}:{}),d),g=ze({},p);return delete g.gutter,r.createElement(je.Provider,{value:{gutter:v}},r.createElement("div",ze({},g,{className:y,style:m}),f))},e}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ve(e,t)}(t,e),n=t,(a=[{key:"componentDidMount",value:function(){var e=this;this.token=He.subscribe((function(t){var n=e.props.gutter;("object"===Fe(n)||Array.isArray(n)&&("object"===Fe(n[0])||"object"===Fe(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){He.unsubscribe(this.token)}},{key:"getGutter",value:function(){var e=[0,0],t=this.props.gutter,n=this.state.screens;return(Array.isArray(t)?t:[t,0]).forEach((function(t,a){if("object"===Fe(t))for(var r=0;r<Ie.length;r++){var o=Ie[r];if(n[o]&&void 0!==t[o]){e[a]=t[o];break}}else e[a]=t||0})),e}},{key:"render",value:function(){return r.createElement(_.a,null,this.renderRow)}}])&&Be(n.prototype,a),o&&Be(n,o),t}(r.Component);Je.defaultProps={gutter:0},Je.propTypes={type:N.oneOf(["flex"]),align:N.oneOf(Ge),justify:N.oneOf(Qe),className:N.string,children:N.node,gutter:N.oneOfType([N.object,N.number,N.array]),prefixCls:N.string};var Xe=Je;function Ze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $e(){return($e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function et(e){return(et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tt(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function at(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rt(e,t){return(rt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ot=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},it=N.oneOfType([N.object,N.number]),lt=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=function(e,t){return!t||"object"!==et(t)&&"function"!=typeof t?at(e):t}(this,nt(t).apply(this,arguments))).renderCol=function(t){var n,a=t.getPrefixCls,o=at(e).props,i=o.prefixCls,l=o.span,s=o.order,u=o.offset,c=o.push,d=o.pull,f=o.className,p=o.children,h=ot(o,["prefixCls","span","order","offset","push","pull","className","children"]),v=a("col",i),y={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},a=o[e];"number"==typeof a?n.span=a:"object"===et(a)&&(n=a||{}),delete h[e],y=$e($e({},y),(Ze(t={},"".concat(v,"-").concat(e,"-").concat(n.span),void 0!==n.span),Ze(t,"".concat(v,"-").concat(e,"-order-").concat(n.order),n.order||0===n.order),Ze(t,"".concat(v,"-").concat(e,"-offset-").concat(n.offset),n.offset||0===n.offset),Ze(t,"".concat(v,"-").concat(e,"-push-").concat(n.push),n.push||0===n.push),Ze(t,"".concat(v,"-").concat(e,"-pull-").concat(n.pull),n.pull||0===n.pull),t))}));var m=x()(v,(Ze(n={},"".concat(v,"-").concat(l),void 0!==l),Ze(n,"".concat(v,"-order-").concat(s),s),Ze(n,"".concat(v,"-offset-").concat(u),u),Ze(n,"".concat(v,"-push-").concat(c),c),Ze(n,"".concat(v,"-pull-").concat(d),d),n),f,y);return r.createElement(je.Consumer,null,(function(e){var t=e.gutter,n=h.style;return t&&(n=$e($e($e({},t[0]>0?{paddingLeft:t[0]/2,paddingRight:t[0]/2}:{}),t[1]>0?{paddingTop:t[1]/2,paddingBottom:t[1]/2}:{}),n)),r.createElement("div",$e({},h,{style:n,className:m}),p)}))},e}var n,a,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rt(e,t)}(t,e),n=t,(a=[{key:"render",value:function(){return r.createElement(_.a,null,this.renderCol)}}])&&tt(n.prototype,a),o&&tt(n,o),t}(r.Component);lt.propTypes={span:N.number,order:N.number,offset:N.number,push:N.number,pull:N.number,className:N.string,children:N.node,xs:it,sm:it,md:it,lg:it,xl:it,xxl:it};var st=lt,ut=n("yrVK"),ct=n.n(ut),dt=function(e){var t=e.title,n=e.companies,a=void 0===n?[]:n,r=e.className,i=e.style,l=a.map((function(e){return o.a.createElement(st,{key:e.name,className:ct.a.company,md:6,sm:8,xs:12},o.a.createElement("img",{className:ct.a.companyimg,src:e.img,alt:e.name}))}));return o.a.createElement("div",{className:x()(ct.a.wrapper,r),style:i},o.a.createElement("div",{key:"content",className:ct.a.content},o.a.createElement("p",{key:"title",className:ct.a.title},t),o.a.createElement("div",{key:"slicer",className:ct.a.slicer}),o.a.createElement("div",{key:"companies-container",className:ct.a.companiesContainer},o.a.createElement(Xe,{key:"companies",gutter:[{xs:77,sm:77,md:50,lg:124},10],className:ct.a.companies},l))))},ft=n("VteH"),pt=n.n(ft),ht=function(e){var t=e.icon,n=e.title,a=e.description;return o.a.createElement("div",{className:pt.a.card},o.a.createElement("div",{className:pt.a.content},o.a.createElement("img",{className:x()(pt.a.icon,"feature-logo"),src:t,alt:"advantage"}),o.a.createElement("p",{className:pt.a.title},n),o.a.createElement("p",{className:pt.a.description},a)))},vt=n("A/DP"),yt=n.n(vt),mt=function(e){var t=e.title,n=e.features,a=void 0===n?[]:n,r=e.className,i=e.style,l=e.id;return o.a.createElement("div",{id:l,className:x()(yt.a.wrapper,r),style:i},t?o.a.createElement("div",{className:x()(yt.a.lefttopWithTitle,yt.a.lefttop)}):o.a.createElement("div",{className:x()(yt.a.lefttopWithoutTitle,yt.a.lefttop)}),o.a.createElement("div",{className:t?yt.a.rightbottom:x()(yt.a.rightbottomWithoutTitle,yt.a.rightbottom)},o.a.createElement("div",{className:x()(yt.a.slicerbar,yt.a.slicerbarv,yt.a.slicerbarv1)}),o.a.createElement("div",{className:x()(yt.a.slicerbar,yt.a.slicerbarv,yt.a.slicerbarv2)}),o.a.createElement("div",{className:x()(yt.a.slicerbar,yt.a.slicerbarh,yt.a.slicerbarh1)}),o.a.createElement("div",{className:x()(yt.a.slicerbar,yt.a.slicerbarh,yt.a.slicerbarh2)}),o.a.createElement("div",{className:x()(yt.a.slicerbar,yt.a.slicerbarh,yt.a.slicerbarh3)}),o.a.createElement("div",{className:x()(yt.a.slicerbar,yt.a.slicerbarh,yt.a.slicerbarh4)}),function(){for(var e=[],t=a.length+1,n=0;n<t;n+=1){var r=45+350*n-1+"px";e.push(o.a.createElement("div",{key:n+"-0",className:yt.a.dot,style:{marginLeft:.028*100+"%",marginTop:r}})),e.push(o.a.createElement("div",{key:n+"-1",className:yt.a.dot,style:{marginLeft:"92%",marginTop:r}}))}return e}()),o.a.createElement("div",{className:yt.a.content},o.a.createElement("div",{key:"content"},o.a.createElement("p",{key:"title",className:yt.a.title},t),o.a.createElement("div",{key:"block",className:yt.a.cardsContainer},o.a.createElement(Xe,{key:"cards",className:yt.a.cards},a.map((function(e){return o.a.createElement(st,{className:yt.a.cardWrapper,key:e.title,md:8,xs:24},o.a.createElement(ht,e))})))))))},gt=n("wPmp");n("d3m2"),t.default=function(){var e=Object(ve.b)(),t=e.t,n=e.i18n,a=[{icon:"https://gw.alipayobjects.com/zos/basement_prod/ca2168d1-ae50-4929-8738-c6df62231de3.svg",title:t("架构灵活且自由"),description:t("支持地图底图,渲染引擎,图层自由定制、扩展,组合")},{icon:"https://gw.alipayobjects.com/zos/basement_prod/0ccf4dcb-1bac-4f4e-8d8d-f1031c77c9c8.svg",title:t("业务专业且通用"),description:t("以图形符号学地理设计体系理论基础,易用、易理解、专业、专注")},{icon:"https://gw.alipayobjects.com/zos/basement_prod/fd232581-14b3-45ec-a85c-fb349c51b376.svg",title:t("视觉酷炫且动感"),description:t("支持海量数据2D、3D动态可交互高性能渲染")}],r=[{text:t("图表示例"),link:"/"+n.language+"/examples/gallery/basic",type:"primary"},{text:t("下载使用"),link:"/"+n.language+"/docs/api/l7"}],i=(t("测试"),t("L7 2.0 beta"),[{logo:"https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*gjBmT56SDgsAAAAAAAAAAABkARQnAQ",title:t("浅版精彩案例"),description:t("一个个真实的地理数据可视化案例,将复杂的地理数据,通过简单易用的API接口,让用户达到开箱即用的效果。"),link:"/"+n.language+"/examples/gallery/basic",image:"https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*h1vhT6eSVPkAAAAAAAAAAABkARQnAQ"},{logo:"https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*gjBmT56SDgsAAAAAAAAAAABkARQnAQ",title:t("深版精彩案例"),description:t("一个个真实的地理数据可视化案例,将复杂的地理数据,通过简单易用的API接口,让用户达到开箱即用的效果。"),link:"/"+n.language+"/examples/gallery/basic",image:"https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*-gtxQbUPoGQAAAAAAAAAAABkARQnAQ"}]);return o.a.createElement(o.a.Fragment,null,o.a.createElement(gt.a,{title:t("蚂蚁地理空间数据可视化"),lang:n.language}),o.a.createElement(Se,{coverImage:o.a.createElement("img",{width:"100%",className:"Notification-module--number--31-3Z",style:{marginLeft:"125px",marginTop:"50px"},src:"https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*o40BRo-ANLoAAAAAAAAAAABkARQnAQ"}),title:t("L7 地理空间数据可视分析引擎"),description:t("L7 是由蚂蚁金服 AntV 数据可视化团队推出的基于WebGL的开源大规模地理空间数据可视分析开发框架。"),buttons:r,className:"banner",githubStarLink:"https://github.com/antvis/L7/stargazers"}),o.a.createElement(mt,{features:a,style:{width:"100%"}}),o.a.createElement(Ae,{style:{width:"102%"},cases:i}),o.a.createElement(dt,{title:t("感谢信赖"),companies:[{name:"阿里云",img:"https://gw.alipayobjects.com/mdn/rms_2274c3/afts/img/A*V_xMRIvw2iwAAAAAAAAAAABkARQnAQ"},{name:"支付宝",img:"https://gw.alipayobjects.com/mdn/rms_2274c3/afts/img/A*lYDrRZvcvD4AAAAAAAAAAABkARQnAQ"},{name:"天猫",img:"https://gw.alipayobjects.com/mdn/rms_2274c3/afts/img/A*BQrxRK6oemMAAAAAAAAAAABkARQnAQ"},{name:"淘宝网",img:"https://gw.alipayobjects.com/mdn/rms_2274c3/afts/img/A*1l8-TqUr7UcAAAAAAAAAAABkARQnAQ"},{name:"网商银行",img:"https://gw.alipayobjects.com/mdn/rms_2274c3/afts/img/A*ZAKFQJ5Bz4MAAAAAAAAAAABkARQnAQ"},{name:"盒马",img:"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*ePJMQZCb8vkAAAAAAAAAAABkARQnAQ"},{name:"yunos",img:"https://gw.alipayobjects.com/mdn/rms_2274c3/afts/img/A*_js7SaNosUwAAAAAAAAAAABkARQnAQ"},{name:"菜鸟",img:"https://gw.alipayobjects.com/mdn/rms_2274c3/afts/img/A*TgV-RZDODJIAAAAAAAAAAABkARQnAQ"}]}))}},jSMv:function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("17x9")),o=a(n("q1tI")),i=a(n("TSYQ")),l={percentage:r.default.string,vertical:r.default.bool,className:r.default.string};function s(e){var t=e.percentage,n=e.vertical,a=e.className,r={};return n?r.height=t:r.width=t,o.default.createElement("div",{className:(0,i.default)(a,"video-react-volume-level"),style:r},o.default.createElement("span",{className:"video-react-control-text"}))}s.propTypes=l,s.defaultProps={percentage:"100%",vertical:!1},s.displayName="VolumeLevel";var u=s;t.default=u},jpXb:function(e,t,n){var a=n("wZXL");e.exports=new a},kCCV:function(e,t,n){function a(e){this.options=e,!e.deferSetup&&this.setup()}n("SRfc"),a.prototype={constructor:a,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=a},kXlQ:function(e,t,n){"use strict";n("bWfx"),n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lwsE")),i=r(n("W8MJ")),l=r(n("a1gu")),s=r(n("Nsbk")),u=r(n("PJYZ")),c=r(n("7W2i")),d=r(n("17x9")),f=a(n("q1tI")),p=r(n("TSYQ")),h=a(n("EVUy")),v={className:d.default.string,onMouseDown:d.default.func,onMouseMove:d.default.func,stepForward:d.default.func,stepBack:d.default.func,sliderActive:d.default.func,sliderInactive:d.default.func,onMouseUp:d.default.func,onFocus:d.default.func,onBlur:d.default.func,onClick:d.default.func,getPercent:d.default.func,vertical:d.default.bool,children:d.default.node,label:d.default.string,valuenow:d.default.string,valuetext:d.default.string},y=function(e){function t(e,n){var a;return(0,o.default)(this,t),(a=(0,l.default)(this,(0,s.default)(t).call(this,e,n))).handleMouseDown=a.handleMouseDown.bind((0,u.default)(a)),a.handleMouseMove=a.handleMouseMove.bind((0,u.default)(a)),a.handleMouseUp=a.handleMouseUp.bind((0,u.default)(a)),a.handleFocus=a.handleFocus.bind((0,u.default)(a)),a.handleBlur=a.handleBlur.bind((0,u.default)(a)),a.handleClick=a.handleClick.bind((0,u.default)(a)),a.handleKeyPress=a.handleKeyPress.bind((0,u.default)(a)),a.stepForward=a.stepForward.bind((0,u.default)(a)),a.stepBack=a.stepBack.bind((0,u.default)(a)),a.calculateDistance=a.calculateDistance.bind((0,u.default)(a)),a.getProgress=a.getProgress.bind((0,u.default)(a)),a.renderChildren=a.renderChildren.bind((0,u.default)(a)),a.state={active:!1},a}return(0,c.default)(t,e),(0,i.default)(t,[{key:"componentWillUnmount",value:function(){document.removeEventListener("mousemove",this.handleMouseMove,!0),document.removeEventListener("mouseup",this.handleMouseUp,!0),document.removeEventListener("touchmove",this.handleMouseMove,!0),document.removeEventListener("touchend",this.handleMouseUp,!0),document.removeEventListener("keydown",this.handleKeyPress,!0)}},{key:"getProgress",value:function(){var e=this.props.getPercent;if(!e)return 0;var t=e();return("number"!=typeof t||t<0||t===1/0)&&(t=0),t}},{key:"handleMouseDown",value:function(e){var t=this.props.onMouseDown;document.addEventListener("mousemove",this.handleMouseMove,!0),document.addEventListener("mouseup",this.handleMouseUp,!0),document.addEventListener("touchmove",this.handleMouseMove,!0),document.addEventListener("touchend",this.handleMouseUp,!0),this.setState({active:!0}),this.props.sliderActive&&this.props.sliderActive(e),this.handleMouseMove(e),t&&t(e)}},{key:"handleMouseMove",value:function(e){var t=this.props.onMouseMove;t&&t(e)}},{key:"handleMouseUp",value:function(e){e.preventDefault();var t=this.props.onMouseUp;document.removeEventListener("mousemove",this.handleMouseMove,!0),document.removeEventListener("mouseup",this.handleMouseUp,!0),document.removeEventListener("touchmove",this.handleMouseMove,!0),document.removeEventListener("touchend",this.handleMouseUp,!0),this.setState({active:!1}),this.props.sliderInactive&&this.props.sliderInactive(e),t&&t(e)}},{key:"handleFocus",value:function(e){document.addEventListener("keydown",this.handleKeyPress,!0),this.props.onFocus&&this.props.onFocus(e)}},{key:"handleBlur",value:function(e){document.removeEventListener("keydown",this.handleKeyPress,!0),this.props.onBlur&&this.props.onBlur(e)}},{key:"handleClick",value:function(e){e.preventDefault(),this.props.onClick&&this.props.onClick(e)}},{key:"handleKeyPress",value:function(e){37===e.which||40===e.which?(e.preventDefault(),e.stopPropagation(),this.stepBack()):38!==e.which&&39!==e.which||(e.preventDefault(),e.stopPropagation(),this.stepForward())}},{key:"stepForward",value:function(){this.props.stepForward&&this.props.stepForward()}},{key:"stepBack",value:function(){this.props.stepBack&&this.props.stepBack()}},{key:"calculateDistance",value:function(e){var t=this.slider,n=h.getPointerPosition(t,e);return this.props.vertical?n.y:n.x}},{key:"renderChildren",value:function(){var e=this.getProgress(),t="".concat((100*e).toFixed(2),"%");return f.default.Children.map(this.props.children,(function(n){return f.default.cloneElement(n,{progress:e,percentage:t})}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.vertical,a=t.label,r=t.valuenow,o=t.valuetext;return f.default.createElement("div",{className:(0,p.default)(this.props.className,{"video-react-slider-vertical":n,"video-react-slider-horizontal":!n,"video-react-sliding":this.state.active},"video-react-slider"),ref:function(t){e.slider=t},tabIndex:"0",role:"slider",onMouseDown:this.handleMouseDown,onTouchStart:this.handleMouseDown,onFocus:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleClick,"aria-label":a||"","aria-valuenow":r||"","aria-valuetext":o||"","aria-valuemin":0,"aria-valuemax":100},this.renderChildren())}}]),t}(f.Component);t.default=y,y.propTypes=v,y.displayName="Slider"},mJvV:function(e,t,n){"use strict";n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("pVnL")),i=r(n("MVZn")),l=r(n("lwsE")),s=r(n("W8MJ")),u=r(n("a1gu")),c=r(n("Nsbk")),d=r(n("PJYZ")),f=r(n("7W2i")),p=r(n("17x9")),h=a(n("q1tI")),v=r(n("TSYQ")),y={tagName:p.default.string,onClick:p.default.func.isRequired,onFocus:p.default.func,onBlur:p.default.func,className:p.default.string},m=function(e){function t(e,n){var a;return(0,l.default)(this,t),(a=(0,u.default)(this,(0,c.default)(t).call(this,e,n))).handleClick=a.handleClick.bind((0,d.default)(a)),a.handleFocus=a.handleFocus.bind((0,d.default)(a)),a.handleBlur=a.handleBlur.bind((0,d.default)(a)),a.handleKeypress=a.handleKeypress.bind((0,d.default)(a)),a}return(0,f.default)(t,e),(0,s.default)(t,[{key:"handleKeypress",value:function(e){32!==e.which&&13!==e.which||(e.preventDefault(),this.handleClick(e))}},{key:"handleClick",value:function(e){(0,this.props.onClick)(e)}},{key:"handleFocus",value:function(e){document.addEventListener("keydown",this.handleKeypress),this.props.onFocus&&this.props.onFocus(e)}},{key:"handleBlur",value:function(e){document.removeEventListener("keydown",this.handleKeypress),this.props.onBlur&&this.props.onBlur(e)}},{key:"render",value:function(){var e=this.props.tagName,t=(0,i.default)({},this.props);return delete t.tagName,delete t.className,h.default.createElement(e,(0,o.default)({className:(0,v.default)(this.props.className),role:"button",tabIndex:"0",onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur},t))}}]),t}(h.Component);t.default=m,m.propTypes=y,m.defaultProps={tagName:"div"},m.displayName="ClickableComponent"},o4RB:function(e,t,n){"use strict";n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lwsE")),i=r(n("W8MJ")),l=r(n("a1gu")),s=r(n("Nsbk")),u=r(n("PJYZ")),c=r(n("7W2i")),d=r(n("17x9")),f=a(n("q1tI")),p={children:d.default.any},h=function(e){function t(e,n){var a;return(0,o.default)(this,t),(a=(0,l.default)(this,(0,s.default)(t).call(this,e,n))).handleClick=a.handleClick.bind((0,u.default)(a)),a}return(0,c.default)(t,e),(0,i.default)(t,[{key:"handleClick",value:function(e){e.preventDefault()}},{key:"render",value:function(){return f.default.createElement("div",{className:"video-react-menu video-react-lock-showing",role:"presentation",onClick:this.handleClick},f.default.createElement("ul",{className:"video-react-menu-content"},this.props.children))}}]),t}(f.Component);t.default=h,h.propTypes=p,h.displayName="Menu"},pIsd:function(e,t,n){n("8+KV"),n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V");var a=n("BJfS"),r=function(e){var t="",n=Object.keys(e);return n.forEach((function(r,o){var i=e[r];(function(e){return/[height|width]$/.test(e)})(r=a(r))&&"number"==typeof i&&(i+="px"),t+=!0===i?r:!1===i?"not "+r:"("+r+": "+i+")",o<n.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,a){t+=r(n),a<e.length-1&&(t+=", ")})),t):r(e)}},"q+t5":function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r=a(n("17x9")),o=a(n("q1tI")),i=a(n("TSYQ")),l=n("tJTW"),s={currentTime:r.default.number,duration:r.default.number,percentage:r.default.string,className:r.default.string};function u(e){var t=e.currentTime,n=e.duration,a=e.percentage,r=e.className;return o.default.createElement("div",{"data-current-time":(0,l.formatTime)(t,n),className:(0,i.default)("video-react-play-progress video-react-slider-bar",r),style:{width:a}},o.default.createElement("span",{className:"video-react-control-text"},"Progress: ".concat(a)))}u.propTypes=s,u.displayName="PlayProgressBar"},qdLH:function(e,t,n){"use strict";n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0}),t.IS_IOS=t.IS_IPOD=t.IS_IPHONE=t.IS_IPAD=void 0;var a="undefined"!=typeof window&&window.navigator?window.navigator.userAgent:"",r=/iPad/i.test(a);t.IS_IPAD=r;var o=/iPhone/i.test(a)&&!r;t.IS_IPHONE=o;var i=/iPod/i.test(a);t.IS_IPOD=i;var l=o||r||i;t.IS_IOS=l},rsAN:function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=a(n("17x9")),o=a(n("q1tI")),i=a(n("TSYQ")),l={duration:r.default.number,buffered:r.default.object,className:r.default.string};function s(e){var t=e.buffered,n=e.duration,a=e.className;if(!t||!t.length)return null;var r=t.end(t.length-1),l={};function s(e,t){var n=e/t||0;return"".concat(100*(n>=1?1:n),"%")}r>n&&(r=n),l.width=s(r,n);for(var u=[],c=0;c<t.length;c++){var d=t.start(c),f=t.end(c),p=o.default.createElement("div",{style:{left:s(d,r),width:s(f-d,r)},key:"part-".concat(c)});u.push(p)}return 0===u.length&&(u=null),o.default.createElement("div",{style:l,className:(0,i.default)("video-react-load-progress",a)},o.default.createElement("span",{className:"video-react-control-text"},"Loaded: 0%"),u)}s.propTypes=l,s.displayName="LoadProgressBar"},ruMa:function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=a(n("17x9")),o=a(n("q1tI")),i=a(n("TSYQ")),l={separator:r.default.string,className:r.default.string};function s(e){var t=e.separator,n=e.className,a=t||"/";return o.default.createElement("div",{className:(0,i.default)("video-react-time-control video-react-time-divider",n),dir:"ltr"},o.default.createElement("div",null,o.default.createElement("span",null,a)))}s.propTypes=l,s.displayName="TimeDivider"},rxal:function(e,t,n){"use strict";n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0};t.default=a},rzyQ:function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("lwsE")),o=a(n("W8MJ")),i=new(function(){function e(){(0,r.default)(this,e)}return(0,o.default)(e,[{key:"request",value:function(e){e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()}},{key:"exit",value:function(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}},{key:"addEventListener",value:function(e){document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),document.addEventListener("mozfullscreenchange",e),document.addEventListener("MSFullscreenChange",e)}},{key:"removeEventListener",value:function(e){document.removeEventListener("fullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e),document.removeEventListener("mozfullscreenchange",e),document.removeEventListener("MSFullscreenChange",e)}},{key:"isFullscreen",get:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}},{key:"enabled",get:function(){return document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled}}]),e}());t.default=i},tJTW:function(e,t,n){"use strict";n("bWfx"),n("Vd3H"),n("0l/t"),n("xfY5"),n("7h0T"),n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.formatTime=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=Math.floor(e%60),a=Math.floor(e/60%60),r=Math.floor(e/3600),o=Math.floor(t/60%60),i=Math.floor(t/3600);(s(e)||e===1/0)&&(r="-",a="-",n="-");return r=r>0||i>0?"".concat(r,":"):"",a="".concat((r||o>=10)&&a<10?"0".concat(a):a,":"),n=n<10?"0".concat(n):n,r+a+n},t.isVideoChild=function(e){if(e.props&&e.props.isVideoChild)return!0;return"source"===e.type||"track"===e.type},t.mergeAndSortChildren=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,r=l.default.Children.toArray(t),s=(n.order,(0,i.default)(n,["order"]));return r.filter((function(e){return!e.props.disabled})).concat(e.filter((function(e){return!u(r,(function(t){return c(t,e)}))}))).map((function(t){var n=u(e,(function(e){return c(e,t)})),a=n?n.props:{},r=(0,o.default)({},s,a,t.props);return l.default.cloneElement(t,r,t.props.children)})).sort((function(e,t){return(e.props.order||a)-(t.props.order||a)}))},t.deprecatedWarning=function(e,t){console.warn("WARNING: ".concat(e," will be deprecated soon! Please use ").concat(t," instead."))},t.throttle=function(e,t){var n=arguments,a=!1;return function(){a||(e.apply(void 0,(0,r.default)(n)),a=!0,setTimeout((function(){a=!1}),t))}},t.mediaProperties=void 0;var r=a(n("RIqP")),o=a(n("MVZn")),i=a(n("QILm")),l=a(n("q1tI")),s=Number.isNaN||function(e){return e!=e};var u=function(e,t){return e.filter(t)[0]},c=function(e,t){var n=e.type,a=t.type;return"string"==typeof n||"string"==typeof a?n===a:"function"==typeof n&&"function"==typeof a&&n.displayName===a.displayName};t.mediaProperties=["error","src","srcObject","currentSrc","crossOrigin","networkState","preload","buffered","readyState","seeking","currentTime","duration","paused","defaultPlaybackRate","playbackRate","played","seekable","ended","autoplay","loop","mediaGroup","controller","controls","volume","muted","defaultMuted","audioTracks","videoTracks","textTracks","width","height","videoWidth","videoHeight","poster"]},tPgb:function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("17x9")),o=a(n("q1tI")),i=a(n("TSYQ")),l={poster:r.default.string,player:r.default.object,actions:r.default.object,className:r.default.string};function s(e){var t=e.poster,n=e.player,a=e.actions,r=e.className;return!t||n.hasStarted?null:o.default.createElement("div",{className:(0,i.default)("video-react-poster",r),style:{backgroundImage:'url("'.concat(t,'")')},onClick:function(){n.paused&&a.play()}})}s.propTypes=l,s.displayName="PosterImage";var u=s;t.default=u},udzn:function(e,t,n){"use strict";n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Player",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Video",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"BigPlayButton",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"LoadingSpinner",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"PosterImage",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"Slider",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"Bezel",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"Shortcut",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"ControlBar",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"PlayToggle",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"ForwardControl",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"ReplayControl",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"FullscreenToggle",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"ProgressControl",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"SeekBar",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"PlayProgressBar",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"LoadProgressBar",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"MouseTimeDisplay",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"VolumeMenuButton",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"PlaybackRateMenuButton",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"PlaybackRate",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"ClosedCaptionButton",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"RemainingTimeDisplay",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"CurrentTimeDisplay",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"DurationDisplay",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"TimeDivider",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"MenuButton",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"playerReducer",{enumerable:!0,get:function(){return I.playerReducer}}),Object.defineProperty(t,"operationReducer",{enumerable:!0,get:function(){return I.operationReducer}}),t.videoActions=t.playerActions=void 0;var o=r(n("vcz5")),i=r(n("Edwz")),l=r(n("vu4D")),s=r(n("X2cd")),u=r(n("tPgb")),c=r(n("kXlQ")),d=r(n("zFvY")),f=r(n("LgmY")),p=r(n("FcgA")),h=r(n("0yDM")),v=r(n("4b3c")),y=r(n("UXv2")),m=r(n("54lq")),g=r(n("zHIc")),b=r(n("xFFL")),k=r(n("q+t5")),E=r(n("rsAN")),w=r(n("GuGs")),S=r(n("AZ0a")),P=r(n("DGqw")),T=r(n("wXLL")),O=r(n("yYHT")),C=r(n("Na29")),A=r(n("HI9P")),N=r(n("GdU9")),j=r(n("ruMa")),x=r(n("U3K2")),M=a(n("we7k"));t.playerActions=M;var L=a(n("INgg"));t.videoActions=L;var I=n("ulZL")},ueNE:function(e,t,n){"use strict";n("xfY5"),n("hHhE"),n("/SS/"),n("WLL4"),n("jm62"),n("8+KV"),n("0l/t"),n("rE2o"),n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V"),n("V+eJ"),n("ioFf"),n("91GP"),n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var a=p(n("q1tI")),r=p(n("i8i4")),o=p(n("rxal")),i=p(n("9/5/")),l=p(n("TSYQ")),s=n("x9Za"),u=n("UZv/"),c=n("aaW0"),d=n("KOnL"),f=p(n("bdgK"));function p(e){return e&&e.__esModule?e:{default:e}}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function v(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(n,!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?k(e):t}(this,b(t).call(this,e)),w(k(n),"listRefHandler",(function(e){return n.list=e})),w(k(n),"trackRefHandler",(function(e){return n.track=e})),w(k(n),"adaptHeight",(function(){if(n.props.adaptiveHeight&&n.list){var e=n.list.querySelector('[data-index="'.concat(n.state.currentSlide,'"]'));n.list.style.height=(0,s.getHeight)(e)+"px"}})),w(k(n),"UNSAFE_componentWillMount",(function(){if(n.ssrInit(),n.props.onInit&&n.props.onInit(),n.props.lazyLoad){var e=(0,s.getOnDemandLazySlides)(g({},n.props,{},n.state));e.length>0&&(n.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),n.props.onLazyLoad&&n.props.onLazyLoad(e))}})),w(k(n),"componentDidMount",(function(){var e=g({listRef:n.list,trackRef:n.track},n.props);n.updateState(e,!0,(function(){n.adaptHeight(),n.props.autoplay&&n.autoPlay("update")})),"progressive"===n.props.lazyLoad&&(n.lazyLoadTimer=setInterval(n.progressiveLazyLoad,1e3)),n.ro=new f.default((function(){n.state.animating?(n.onWindowResized(!1),n.callbackTimers.push(setTimeout((function(){return n.onWindowResized()}),n.props.speed))):n.onWindowResized()})),n.ro.observe(n.list),Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=n.props.pauseOnFocus?n.onSlideFocus:null,e.onblur=n.props.pauseOnFocus?n.onSlideBlur:null})),window&&(window.addEventListener?window.addEventListener("resize",n.onWindowResized):window.attachEvent("onresize",n.onWindowResized))})),w(k(n),"componentWillUnmount",(function(){n.animationEndCallback&&clearTimeout(n.animationEndCallback),n.lazyLoadTimer&&clearInterval(n.lazyLoadTimer),n.callbackTimers.length&&(n.callbackTimers.forEach((function(e){return clearTimeout(e)})),n.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",n.onWindowResized):window.detachEvent("onresize",n.onWindowResized),n.autoplayTimer&&clearInterval(n.autoplayTimer)})),w(k(n),"UNSAFE_componentWillReceiveProps",(function(e){for(var t=g({listRef:n.list,trackRef:n.track},e,{},n.state),r=!1,o=0,i=Object.keys(n.props);o<i.length;o++){var l=i[o];if(!e.hasOwnProperty(l)){r=!0;break}if("object"!==y(e[l])&&"function"!=typeof e[l]&&e[l]!==n.props[l]){r=!0;break}}n.updateState(t,r,(function(){n.state.currentSlide>=a.default.Children.count(e.children)&&n.changeSlide({message:"index",index:a.default.Children.count(e.children)-e.slidesToShow,currentSlide:n.state.currentSlide}),e.autoplay?n.autoPlay("update"):n.pause("paused")}))})),w(k(n),"componentDidUpdate",(function(){if(n.checkImagesLoad(),n.props.onReInit&&n.props.onReInit(),n.props.lazyLoad){var e=(0,s.getOnDemandLazySlides)(g({},n.props,{},n.state));e.length>0&&(n.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),n.props.onLazyLoad&&n.props.onLazyLoad(e))}n.adaptHeight()})),w(k(n),"onWindowResized",(function(e){n.debouncedResize&&n.debouncedResize.cancel(),n.debouncedResize=(0,i.default)((function(){return n.resizeWindow(e)}),50),n.debouncedResize()})),w(k(n),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(r.default.findDOMNode(n.track)){var t=g({listRef:n.list,trackRef:n.track},n.props,{},n.state);n.updateState(t,e,(function(){n.props.autoplay?n.autoPlay("update"):n.pause("paused")})),n.setState({animating:!1}),clearTimeout(n.animationEndCallback),delete n.animationEndCallback}})),w(k(n),"updateState",(function(e,t,r){var o=(0,s.initializedState)(e);e=g({},e,{},o,{slideIndex:o.currentSlide}),e=g({},e,{left:(0,s.getTrackLeft)(e)});var i=(0,s.getTrackCSS)(e);(t||a.default.Children.count(n.props.children)!==a.default.Children.count(e.children))&&(o.trackStyle=i),n.setState(o,r)})),w(k(n),"ssrInit",(function(){if(n.props.variableWidth){var e=0,t=0,r=[],o=(0,s.getPreClones)(g({},n.props,{},n.state,{slideCount:n.props.children.length})),i=(0,s.getPostClones)(g({},n.props,{},n.state,{slideCount:n.props.children.length}));n.props.children.forEach((function(t){r.push(t.props.style.width),e+=t.props.style.width}));for(var l=0;l<o;l++)t+=r[r.length-1-l],e+=r[r.length-1-l];for(var u=0;u<i;u++)e+=r[u];for(var c=0;c<n.state.currentSlide;c++)t+=r[c];var d={width:e+"px",left:-t+"px"};if(n.props.centerMode){var f="".concat(r[n.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(f,") / 2 ) ")}n.setState({trackStyle:d})}else{var p=a.default.Children.count(n.props.children),h=g({},n.props,{},n.state,{slideCount:p}),v=(0,s.getPreClones)(h)+(0,s.getPostClones)(h)+p,y=100/n.props.slidesToShow*v,m=100/v,b=-m*((0,s.getPreClones)(h)+n.state.currentSlide)*y/100;n.props.centerMode&&(b+=(100-m*y/100)/2);var k={width:y+"%",left:b+"%"};n.setState({slideWidth:m+"%",trackStyle:k})}})),w(k(n),"checkImagesLoad",(function(){var e=document.querySelectorAll(".slick-slide img"),t=e.length,a=0;Array.prototype.forEach.call(e,(function(e){var r=function(){return++a&&a>=t&&n.onWindowResized()};if(e.onclick){var o=e.onclick;e.onclick=function(){o(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(n.props.lazyLoad?e.onload=function(){n.adaptHeight(),n.callbackTimers.push(setTimeout(n.onWindowResized,n.props.speed))}:(e.onload=r,e.onerror=function(){r(),n.props.onLazyLoadError&&n.props.onLazyLoadError()}))}))})),w(k(n),"progressiveLazyLoad",(function(){for(var e=[],t=g({},n.props,{},n.state),a=n.state.currentSlide;a<n.state.slideCount+(0,s.getPostClones)(t);a++)if(n.state.lazyLoadedList.indexOf(a)<0){e.push(a);break}for(var r=n.state.currentSlide-1;r>=-(0,s.getPreClones)(t);r--)if(n.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}e.length>0?(n.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),n.props.onLazyLoad&&n.props.onLazyLoad(e)):n.lazyLoadTimer&&(clearInterval(n.lazyLoadTimer),delete n.lazyLoadTimer)})),w(k(n),"slideHandler",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=n.props,r=a.asNavFor,o=a.beforeChange,i=a.onLazyLoad,l=a.speed,u=a.afterChange,c=n.state.currentSlide,d=(0,s.slideHandler)(g({index:e},n.props,{},n.state,{trackRef:n.track,useCSS:n.props.useCSS&&!t})),f=d.state,p=d.nextState;if(f){o&&o(c,f.currentSlide);var h=f.lazyLoadedList.filter((function(e){return n.state.lazyLoadedList.indexOf(e)<0}));i&&h.length>0&&i(h),n.setState(f,(function(){r&&r.innerSlider.slideHandler(e),p&&(n.animationEndCallback=setTimeout((function(){var e=p.animating,t=v(p,["animating"]);n.setState(t,(function(){n.callbackTimers.push(setTimeout((function(){return n.setState({animating:e})}),10)),u&&u(f.currentSlide),delete n.animationEndCallback}))}),l))}))}})),w(k(n),"changeSlide",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=g({},n.props,{},n.state),r=(0,s.changeSlide)(a,e);(0===r||r)&&(!0===t?n.slideHandler(r,t):n.slideHandler(r))})),w(k(n),"clickHandler",(function(e){!1===n.clickable&&(e.stopPropagation(),e.preventDefault()),n.clickable=!0})),w(k(n),"keyHandler",(function(e){var t=(0,s.keyHandler)(e,n.props.accessibility,n.props.rtl);""!==t&&n.changeSlide({message:t})})),w(k(n),"selectHandler",(function(e){n.changeSlide(e)})),w(k(n),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),w(k(n),"enableBodyScroll",(function(){window.ontouchmove=null})),w(k(n),"swipeStart",(function(e){n.props.verticalSwiping&&n.disableBodyScroll();var t=(0,s.swipeStart)(e,n.props.swipe,n.props.draggable);""!==t&&n.setState(t)})),w(k(n),"swipeMove",(function(e){var t=(0,s.swipeMove)(e,g({},n.props,{},n.state,{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));t&&(t.swiping&&(n.clickable=!1),n.setState(t))})),w(k(n),"swipeEnd",(function(e){var t=(0,s.swipeEnd)(e,g({},n.props,{},n.state,{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));if(t){var a=t.triggerSlideHandler;delete t.triggerSlideHandler,n.setState(t),void 0!==a&&(n.slideHandler(a),n.props.verticalSwiping&&n.enableBodyScroll())}})),w(k(n),"slickPrev",(function(){n.callbackTimers.push(setTimeout((function(){return n.changeSlide({message:"previous"})}),0))})),w(k(n),"slickNext",(function(){n.callbackTimers.push(setTimeout((function(){return n.changeSlide({message:"next"})}),0))})),w(k(n),"slickGoTo",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";n.callbackTimers.push(setTimeout((function(){return n.changeSlide({message:"index",index:e,currentSlide:n.state.currentSlide},t)}),0))})),w(k(n),"play",(function(){var e;if(n.props.rtl)e=n.state.currentSlide-n.props.slidesToScroll;else{if(!(0,s.canGoNext)(g({},n.props,{},n.state)))return!1;e=n.state.currentSlide+n.props.slidesToScroll}n.slideHandler(e)})),w(k(n),"autoPlay",(function(e){n.autoplayTimer&&clearInterval(n.autoplayTimer);var t=n.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;n.autoplayTimer=setInterval(n.play,n.props.autoplaySpeed+50),n.setState({autoplaying:"playing"})})),w(k(n),"pause",(function(e){n.autoplayTimer&&(clearInterval(n.autoplayTimer),n.autoplayTimer=null);var t=n.state.autoplaying;"paused"===e?n.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||n.setState({autoplaying:"focused"}):"playing"===t&&n.setState({autoplaying:"hovered"})})),w(k(n),"onDotsOver",(function(){return n.props.autoplay&&n.pause("hovered")})),w(k(n),"onDotsLeave",(function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")})),w(k(n),"onTrackOver",(function(){return n.props.autoplay&&n.pause("hovered")})),w(k(n),"onTrackLeave",(function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")})),w(k(n),"onSlideFocus",(function(){return n.props.autoplay&&n.pause("focused")})),w(k(n),"onSlideBlur",(function(){return n.props.autoplay&&"focused"===n.state.autoplaying&&n.autoPlay("blur")})),w(k(n),"render",(function(){var e,t,r,o=(0,l.default)("slick-slider",n.props.className,{"slick-vertical":n.props.vertical,"slick-initialized":!0}),i=g({},n.props,{},n.state),f=(0,s.extractObject)(i,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding"]),p=n.props.pauseOnHover;if(f=g({},f,{onMouseEnter:p?n.onTrackOver:null,onMouseLeave:p?n.onTrackLeave:null,onMouseOver:p?n.onTrackOver:null,focusOnSelect:n.props.focusOnSelect?n.selectHandler:null}),!0===n.props.dots&&n.state.slideCount>=n.props.slidesToShow){var v=(0,s.extractObject)(i,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),y=n.props.pauseOnDotsHover;v=g({},v,{clickHandler:n.changeSlide,onMouseEnter:y?n.onDotsLeave:null,onMouseOver:y?n.onDotsOver:null,onMouseLeave:y?n.onDotsLeave:null}),e=a.default.createElement(c.Dots,v)}var m=(0,s.extractObject)(i,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);m.clickHandler=n.changeSlide,n.props.arrows&&(t=a.default.createElement(d.PrevArrow,m),r=a.default.createElement(d.NextArrow,m));var b=null;n.props.vertical&&(b={height:n.state.listHeight});var k=null;!1===n.props.vertical?!0===n.props.centerMode&&(k={padding:"0px "+n.props.centerPadding}):!0===n.props.centerMode&&(k={padding:n.props.centerPadding+" 0px"});var E=g({},b,{},k),w=n.props.touchMove,S={className:"slick-list",style:E,onClick:n.clickHandler,onMouseDown:w?n.swipeStart:null,onMouseMove:n.state.dragging&&w?n.swipeMove:null,onMouseUp:w?n.swipeEnd:null,onMouseLeave:n.state.dragging&&w?n.swipeEnd:null,onTouchStart:w?n.swipeStart:null,onTouchMove:n.state.dragging&&w?n.swipeMove:null,onTouchEnd:w?n.swipeEnd:null,onTouchCancel:n.state.dragging&&w?n.swipeEnd:null,onKeyDown:n.props.accessibility?n.keyHandler:null},P={className:o,dir:"ltr",style:n.props.style};return n.props.unslick&&(S={className:"slick-list"},P={className:o}),a.default.createElement("div",P,n.props.unslick?"":t,a.default.createElement("div",h({ref:n.listRefHandler},S),a.default.createElement(u.Track,h({ref:n.trackRefHandler},f),n.props.children)),n.props.unslick?"":r,n.props.unslick?"":e)})),n.list=null,n.track=null,n.state=g({},o.default,{currentSlide:n.props.initialSlide,slideCount:a.default.Children.count(n.props.children)}),n.callbackTimers=[],n.clickable=!0,n.debouncedResize=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(t,e),t}(a.default.Component);t.InnerSlider=S},ul5b:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return l}));n("91GP");var a=n("ZvpZ");function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var o=r({},a.a.Modal);function i(e){o=e?r(r({},o),e):r({},a.a.Modal)}function l(){return o}},ulZL:function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return{player:(0,r.default)(e.player,t),operation:(0,o.default)(e.operation,t)}},t.operationReducer=t.playerReducer=void 0;var r=a(n("56F6")),o=a(n("3nJo"));var i=r.default;t.playerReducer=i;var l=o.default;t.operationReducer=l},"vPd/":function(e,t,n){var a=n("kCCV"),r=n("IX3V").each;function o(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(e){var t=new a(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;r(t,(function(n,a){if(n.equals(e))return n.destroy(),!t.splice(a,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){r(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";r(this.handlers,(function(t){t[e]()}))}},e.exports=o},vcz5:function(e,t,n){"use strict";n("8+KV"),n("KKXr"),n("91GP"),n("SRfc"),n("0l/t"),n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("MVZn")),i=r(n("lSNA")),l=r(n("QILm")),s=r(n("lwsE")),u=r(n("W8MJ")),c=r(n("a1gu")),d=r(n("Nsbk")),f=r(n("PJYZ")),p=r(n("7W2i")),h=r(n("17x9")),v=a(n("q1tI")),y=r(n("TSYQ")),m=r(n("iAfH")),g=r(n("vu4D")),b=r(n("X2cd")),k=r(n("tPgb")),E=r(n("Edwz")),w=r(n("zFvY")),S=r(n("LgmY")),P=r(n("FcgA")),T=a(n("qdLH")),O=n("EVUy"),C=n("tJTW"),A=r(n("rzyQ")),N={children:h.default.any,width:h.default.oneOfType([h.default.string,h.default.number]),height:h.default.oneOfType([h.default.string,h.default.number]),fluid:h.default.bool,muted:h.default.bool,playsInline:h.default.bool,aspectRatio:h.default.string,className:h.default.string,videoId:h.default.string,startTime:h.default.number,loop:h.default.bool,autoPlay:h.default.bool,src:h.default.string,poster:h.default.string,preload:h.default.oneOf(["auto","metadata","none"]),onLoadStart:h.default.func,onWaiting:h.default.func,onCanPlay:h.default.func,onCanPlayThrough:h.default.func,onPlaying:h.default.func,onEnded:h.default.func,onSeeking:h.default.func,onSeeked:h.default.func,onPlay:h.default.func,onPause:h.default.func,onProgress:h.default.func,onDurationChange:h.default.func,onError:h.default.func,onSuspend:h.default.func,onAbort:h.default.func,onEmptied:h.default.func,onStalled:h.default.func,onLoadedMetadata:h.default.func,onLoadedData:h.default.func,onTimeUpdate:h.default.func,onRateChange:h.default.func,onVolumeChange:h.default.func,store:h.default.object},j=function(e){function t(e){var n;return(0,s.default)(this,t),(n=(0,c.default)(this,(0,d.default)(t).call(this,e))).controlsHideTimer=null,n.video=null,n.manager=new m.default(e.store),n.actions=n.manager.getActions(),n.manager.subscribeToPlayerStateChange(n.handleStateChange.bind((0,f.default)(n))),n.getStyle=n.getStyle.bind((0,f.default)(n)),n.handleResize=n.handleResize.bind((0,f.default)(n)),n.getChildren=n.getChildren.bind((0,f.default)(n)),n.handleMouseMove=(0,C.throttle)(n.handleMouseMove.bind((0,f.default)(n)),250),n.handleMouseDown=n.handleMouseDown.bind((0,f.default)(n)),n.startControlsTimer=n.startControlsTimer.bind((0,f.default)(n)),n.handleFullScreenChange=n.handleFullScreenChange.bind((0,f.default)(n)),n.handleKeyDown=n.handleKeyDown.bind((0,f.default)(n)),n.handleFocus=n.handleFocus.bind((0,f.default)(n)),n.handleBlur=n.handleBlur.bind((0,f.default)(n)),n}return(0,p.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){this.handleResize(),window.addEventListener("resize",this.handleResize),A.default.addEventListener(this.handleFullScreenChange)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize),A.default.removeEventListener(this.handleFullScreenChange),this.controlsHideTimer&&window.clearTimeout(this.controlsHideTimer)}},{key:"getDefaultChildren",value:function(e){var t=this;return[v.default.createElement(E.default,{ref:function(e){t.video=e,t.manager.video=t.video},key:"video",order:0},e),v.default.createElement(k.default,{key:"poster-image",order:1}),v.default.createElement(b.default,{key:"loading-spinner",order:2}),v.default.createElement(w.default,{key:"bezel",order:3}),v.default.createElement(g.default,{key:"big-play-button",order:4}),v.default.createElement(P.default,{key:"control-bar",order:5}),v.default.createElement(S.default,{key:"shortcut",order:99})]}},{key:"getChildren",value:function(e){e.className;var t=e.children,n=(0,l.default)(e,["className","children"]),a=v.default.Children.toArray(this.props.children).filter((function(e){return!(0,C.isVideoChild)(e)})),r=this.getDefaultChildren(t);return(0,C.mergeAndSortChildren)(r,a,n)}},{key:"setWidthOrHeight",value:function(e,t,n){var a;"string"==typeof n?"auto"===n?a="auto":n.match(/\d+%/)&&(a=n):"number"==typeof n&&(a="".concat(n,"px")),Object.assign(e,(0,i.default)({},t,a))}},{key:"getStyle",value:function(){var e,t,n=this.props,a=n.fluid,r=n.aspectRatio,o=n.height,i=n.width,l=this.manager.getState().player,s={},u=(void 0!==r&&"auto"!==r?r:l.videoWidth?"".concat(l.videoWidth,":").concat(l.videoHeight):"16:9").split(":"),c=u[1]/u[0];return e=void 0!==i?i:void 0!==o?o/c:l.videoWidth||400,t=void 0!==o?o:e*c,a?s.paddingTop="".concat(100*c,"%"):(this.setWidthOrHeight(s,"width",e),this.setWidthOrHeight(s,"height",t)),s}},{key:"getState",value:function(){return this.manager.getState()}},{key:"play",value:function(){this.video.play()}},{key:"pause",value:function(){this.video.pause()}},{key:"load",value:function(){this.video.load()}},{key:"addTextTrack",value:function(){var e;(e=this.video).addTextTrack.apply(e,arguments)}},{key:"canPlayType",value:function(){var e;(e=this.video).canPlayType.apply(e,arguments)}},{key:"seek",value:function(e){this.video.seek(e)}},{key:"forward",value:function(e){this.video.forward(e)}},{key:"replay",value:function(e){this.video.replay(e)}},{key:"toggleFullscreen",value:function(){this.video.toggleFullscreen()}},{key:"subscribeToStateChange",value:function(e){return this.manager.subscribeToPlayerStateChange(e)}},{key:"handleResize",value:function(){}},{key:"handleFullScreenChange",value:function(e){e.target===this.manager.rootElement&&this.actions.handleFullscreenChange(A.default.isFullscreen)}},{key:"handleMouseDown",value:function(){this.startControlsTimer()}},{key:"handleMouseMove",value:function(){this.startControlsTimer()}},{key:"handleKeyDown",value:function(){this.startControlsTimer()}},{key:"startControlsTimer",value:function(){var e=this,t=3e3;v.default.Children.forEach(this.props.children,(function(e){if(v.default.isValidElement(e)&&e.type===P.default){var n=e.props.autoHideTime;"number"==typeof n&&(t=n)}})),this.actions.userActivate(!0),clearTimeout(this.controlsHideTimer),this.controlsHideTimer=setTimeout((function(){e.actions.userActivate(!1)}),t)}},{key:"handleStateChange",value:function(e,t){e.isFullscreen!==t.isFullscreen&&(this.handleResize(),(0,O.focusNode)(this.manager.rootElement)),this.forceUpdate()}},{key:"handleFocus",value:function(){this.actions.activate(!0)}},{key:"handleBlur",value:function(){this.actions.activate(!1)}},{key:"render",value:function(){var e=this,t=this.props.fluid,n=this.manager.getState().player,a=n.paused,r=n.hasStarted,i=n.waiting,l=n.seeking,s=n.isFullscreen,u=n.userActivity,c=(0,o.default)({},this.props,{player:n,actions:this.actions,manager:this.manager,store:this.manager.store,video:this.video?this.video.video:null}),d=this.getChildren(c);return v.default.createElement("div",{className:(0,y.default)({"video-react-controls-enabled":!0,"video-react-has-started":r,"video-react-paused":a,"video-react-playing":!a,"video-react-waiting":i,"video-react-seeking":l,"video-react-fluid":t,"video-react-fullscreen":s,"video-react-user-inactive":!u,"video-react-user-active":u,"video-react-workinghover":!T.IS_IOS},"video-react",this.props.className),style:this.getStyle(),ref:function(t){e.manager.rootElement=t},role:"region",onTouchStart:this.handleMouseDown,onMouseDown:this.handleMouseDown,onTouchMove:this.handleMouseMove,onMouseMove:this.handleMouseMove,onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,tabIndex:"-1"},d)}},{key:"playbackRate",get:function(){return this.video.playbackRate},set:function(e){this.video.playbackRate=e}},{key:"muted",get:function(){return this.video.muted},set:function(e){this.video.muted=e}},{key:"volume",get:function(){return this.video.volume},set:function(e){this.video.volume=e}},{key:"videoWidth",get:function(){return this.video.videoWidth}},{key:"videoHeight",get:function(){return this.video.videoHeight}}]),t}(v.Component);t.default=j,j.contextTypes={store:h.default.object},j.propTypes=N,j.defaultProps={fluid:!0,muted:!1,playsInline:!1,preload:"auto",aspectRatio:"auto"},j.displayName="Player"},vu4D:function(e,t,n){"use strict";n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lwsE")),i=r(n("W8MJ")),l=r(n("a1gu")),s=r(n("Nsbk")),u=r(n("PJYZ")),c=r(n("7W2i")),d=r(n("17x9")),f=a(n("q1tI")),p=r(n("TSYQ")),h={actions:d.default.object,player:d.default.object,position:d.default.string,className:d.default.string},v=function(e){function t(e,n){var a;return(0,o.default)(this,t),(a=(0,l.default)(this,(0,s.default)(t).call(this,e,n))).handleClick=a.handleClick.bind((0,u.default)(a)),a}return(0,c.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){}},{key:"handleClick",value:function(){this.props.actions.play()}},{key:"render",value:function(){var e=this.props,t=e.player,n=e.position;return f.default.createElement("button",{className:(0,p.default)("video-react-big-play-button","video-react-big-play-button-".concat(n),this.props.className,{"big-play-button-hide":t.hasStarted||!t.currentSrc}),type:"button","aria-live":"polite",tabIndex:"0",onClick:this.handleClick},f.default.createElement("span",{className:"video-react-control-text"},"Play Video"))}}]),t}(f.Component);t.default=v,v.propTypes=h,v.defaultProps={position:"left"},v.displayName="BigPlayButton"},wXLL:function(e,t,n){"use strict";n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lwsE")),i=r(n("W8MJ")),l=r(n("a1gu")),s=r(n("Nsbk")),u=r(n("7W2i")),c=a(n("q1tI")),d=r(n("DGqw")),f=n("tJTW"),p=function(e){function t(e,n){var a;return(0,o.default)(this,t),a=(0,l.default)(this,(0,s.default)(t).call(this,e,n)),(0,f.deprecatedWarning)("PlaybackRate","PlaybackRateMenuButton"),a}return(0,u.default)(t,e),(0,i.default)(t,[{key:"render",value:function(){return c.default.createElement(d.default,this.props)}}]),t}(c.Component);t.default=p,p.displayName="PlaybackRate"},wZXL:function(e,t,n){var a=n("vPd/"),r=n("IX3V"),o=r.each,i=r.isFunction,l=r.isArray;function s(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}s.prototype={constructor:s,register:function(e,t,n){var r=this.queries,s=n&&this.browserIsIncapable;return r[e]||(r[e]=new a(e,s)),i(t)&&(t={match:t}),l(t)||(t=[t]),o(t,(function(t){i(t)&&(t={match:t}),r[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=s},we7k:function(e,t,n){"use strict";n("HAE/");var a=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.handleFullscreenChange=function(e){return{type:i,isFullscreen:e}},t.activate=function(e){return{type:l,activity:e}},t.userActivate=function(e){return{type:s,activity:e}},t.play=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{action:"play",source:""};return this.video.play(),{type:o,operation:e}},t.pause=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{action:"pause",source:""};return this.video.pause(),{type:o,operation:e}},t.togglePlay=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{action:"toggle-play",source:""};return this.video.togglePlay(),{type:o,operation:e}},t.seek=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{action:"seek",source:""};return this.video.seek(e),{type:o,operation:t}},t.forward=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{action:"forward-".concat(e),source:""};return this.video.forward(e),{type:o,operation:t}},t.replay=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{action:"replay-".concat(e),source:""};return this.video.replay(e),{type:o,operation:t}},t.changeRate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{action:"change-rate",source:""};return this.video.playbackRate=e,{type:o,operation:t}},t.changeVolume=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{action:"change-volume",source:""},n=e;e<0&&(n=0);e>1&&(n=1);return this.video.volume=n,{type:o,operation:t}},t.mute=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{action:e?"muted":"unmuted",source:""};return this.video.muted=e,{type:o,operation:t}},t.toggleFullscreen=function(e){if(r.default.enabled)return r.default.isFullscreen?r.default.exit():r.default.request(this.rootElement),{type:o,operation:{action:"toggle-fullscreen",source:""}};return{type:i,isFullscreen:!e.isFullscreen}},t.USER_ACTIVATE=t.PLAYER_ACTIVATE=t.FULLSCREEN_CHANGE=t.OPERATE=void 0;var r=a(n("rzyQ")),o="video-react/OPERATE";t.OPERATE=o;var i="video-react/FULLSCREEN_CHANGE";t.FULLSCREEN_CHANGE=i;var l="video-react/PLAYER_ACTIVATE";t.PLAYER_ACTIVATE=l;var s="video-react/USER_ACTIVATE";t.USER_ACTIVATE=s},x9Za:function(e,t,n){"use strict";n("DNiP"),n("XfO3"),n("HEwt"),n("LK8F"),n("SRfc"),n("xfY5"),n("V+eJ"),n("WLL4"),n("jm62"),n("8+KV"),n("0l/t"),n("ioFf"),n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V"),n("HAE/"),Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=void 0;var a=o(n("q1tI")),r=o(n("i8i4"));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(n,!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(e){for(var t=[],n=c(e),a=d(e),r=n;r<a;r++)e.lazyLoadedList.indexOf(r)<0&&t.push(r);return t};t.getOnDemandLazySlides=u;t.getRequiredLazySlides=function(e){for(var t=[],n=c(e),a=d(e),r=n;r<a;r++)t.push(r);return t};var c=function(e){return e.currentSlide-f(e)};t.lazyStartIndex=c;var d=function(e){return e.currentSlide+p(e)};t.lazyEndIndex=d;var f=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=f;var p=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=p;var h=function(e){return e&&e.offsetWidth||0};t.getWidth=h;var v=function(e){return e&&e.offsetHeight||0};t.getHeight=v;var y=function(e){var t,n,a,r,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,a=Math.atan2(n,t),(r=Math.round(180*a/Math.PI))<0&&(r=360-Math.abs(r)),r<=45&&r>=0||r<=360&&r>=315?"left":r>=135&&r<=225?"right":!0===o?r>=35&&r<=135?"up":"down":"vertical"};t.getSwipeDirection=y;var m=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t};t.canGoNext=m;t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n};t.initializedState=function(e){var t,n=a.default.Children.count(e.children),o=Math.ceil(h(r.default.findDOMNode(e.listRef))),i=Math.ceil(h(r.default.findDOMNode(e.trackRef)));if(e.vertical)t=o;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=o/100),t=Math.ceil((o-l)/e.slidesToShow)}var s=r.default.findDOMNode(e.listRef)&&v(r.default.findDOMNode(e.listRef).querySelector('[data-index="0"]')),c=s*e.slidesToShow,d=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(d=n-1-e.initialSlide);var f=e.lazyLoadedList||[],p=u({currentSlide:d,lazyLoadedList:f});f.concat(p);var y={slideCount:n,slideWidth:t,listWidth:o,trackWidth:i,currentSlide:d,slideHeight:s,listHeight:c,lazyLoadedList:f};return null===e.autoplaying&&e.autoplay&&(y.autoplaying="playing"),y};t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,a=e.fade,r=e.infinite,o=e.index,i=e.slideCount,s=e.lazyLoadedList,c=e.lazyLoad,d=e.currentSlide,f=e.centerMode,p=e.slidesToScroll,h=e.slidesToShow,v=e.useCSS;if(t&&n)return{};var y,g,b,k=o,E={},T={};if(a){if(!r&&(o<0||o>=i))return{};o<0?k=o+i:o>=i&&(k=o-i),c&&s.indexOf(k)<0&&s.push(k),E={animating:!0,currentSlide:k,lazyLoadedList:s},T={animating:!1}}else y=k,k<0?(y=k+i,r?i%p!=0&&(y=i-i%p):y=0):!m(e)&&k>d?k=y=d:f&&k>=i?(k=r?i:i-1,y=r?0:i-1):k>=i&&(y=k-i,r?i%p!=0&&(y=0):y=i-h),g=P(l({},e,{slideIndex:k})),b=P(l({},e,{slideIndex:y})),r||(g===b&&(k=y),g=b),c&&s.concat(u(l({},e,{currentSlide:k}))),v?(E={animating:!0,currentSlide:y,trackStyle:S(l({},e,{left:g})),lazyLoadedList:s},T={animating:!1,currentSlide:y,trackStyle:w(l({},e,{left:b})),swipeLeft:null}):E={currentSlide:y,trackStyle:w(l({},e,{left:b})),lazyLoadedList:s};return{state:E,nextState:T}};t.changeSlide=function(e,t){var n,a,r,o,i=e.slidesToScroll,s=e.slidesToShow,u=e.slideCount,c=e.currentSlide,d=e.lazyLoad,f=e.infinite;if(n=u%i!=0?0:(u-c)%i,"previous"===t.message)o=c-(r=0===n?i:s-n),d&&!f&&(o=-1===(a=c-r)?u-1:a);else if("next"===t.message)o=c+(r=0===n?i:n),d&&!f&&(o=(c+i)%u+n);else if("dots"===t.message){if((o=t.index*t.slidesToScroll)===t.currentSlide)return null}else if("children"===t.message){if((o=t.index)===t.currentSlide)return null;if(f){var p=A(l({},e,{targetSlide:o}));o>t.currentSlide&&"left"===p?o-=u:o<t.currentSlide&&"right"===p&&(o+=u)}}else if("index"===t.message&&(o=Number(t.index))===t.currentSlide)return null;return o};t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""};t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&e.preventDefault(),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}};t.swipeMove=function(e,t){var n=t.scrolling,a=t.animating,r=t.vertical,o=t.swipeToSlide,i=t.verticalSwiping,s=t.rtl,u=t.currentSlide,c=t.edgeFriction,d=t.edgeDragged,f=t.onEdge,p=t.swiped,h=t.swiping,v=t.slideCount,g=t.slidesToScroll,b=t.infinite,k=t.touchObject,E=t.swipeEvent,S=t.listHeight,T=t.listWidth;if(!n){if(a)return e.preventDefault();r&&o&&i&&e.preventDefault();var O,C={},A=P(t);k.curX=e.touches?e.touches[0].pageX:e.clientX,k.curY=e.touches?e.touches[0].pageY:e.clientY,k.swipeLength=Math.round(Math.sqrt(Math.pow(k.curX-k.startX,2)));var N=Math.round(Math.sqrt(Math.pow(k.curY-k.startY,2)));if(!i&&!h&&N>10)return{scrolling:!0};i&&(k.swipeLength=N);var j=(s?-1:1)*(k.curX>k.startX?1:-1);i&&(j=k.curY>k.startY?1:-1);var x=Math.ceil(v/g),M=y(t.touchObject,i),L=k.swipeLength;return b||(0===u&&"right"===M||u+1>=x&&"left"===M||!m(t)&&"left"===M)&&(L=k.swipeLength*c,!1===d&&f&&(f(M),C.edgeDragged=!0)),!p&&E&&(E(M),C.swiped=!0),O=r?A+L*(S/T)*j:s?A-L*j:A+L*j,i&&(O=A+L*j),C=l({},C,{touchObject:k,swipeLeft:O,trackStyle:w(l({},t,{left:O}))}),Math.abs(k.curX-k.startX)<.8*Math.abs(k.curY-k.startY)?C:(k.swipeLength>10&&(C.swiping=!0,e.preventDefault()),C)}};t.swipeEnd=function(e,t){var n=t.dragging,a=t.swipe,r=t.touchObject,o=t.listWidth,i=t.touchThreshold,s=t.verticalSwiping,u=t.listHeight,c=t.currentSlide,d=t.swipeToSlide,f=t.scrolling,p=t.onSwipe;if(!n)return a&&e.preventDefault(),{};var h=s?u/i:o/i,v=y(r,s),m={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f)return m;if(!r.swipeLength)return m;if(r.swipeLength>h){var g,E;switch(e.preventDefault(),p&&p(v),v){case"left":case"up":E=c+k(t),g=d?b(t,E):E,m.currentDirection=0;break;case"right":case"down":E=c-k(t),g=d?b(t,E):E,m.currentDirection=1;break;default:g=c}m.triggerSlideHandler=g}else{var w=P(t);m.trackStyle=S(l({},t,{left:w}))}return m};var g=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,a=e.infinite?-1*e.slidesToShow:0,r=[];n<t;)r.push(n),n=a+e.slidesToScroll,a+=Math.min(e.slidesToScroll,e.slidesToShow);return r};t.getNavigableIndexes=g;var b=function(e,t){var n=g(e),a=0;if(t>n[n.length-1])t=n[n.length-1];else for(var r in n){if(t<n[r]){t=a;break}a=n[r]}return t};t.checkNavigable=b;var k=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,a=r.default.findDOMNode(e.listRef).querySelectorAll(".slick-slide");if(Array.from(a).every((function(a){if(e.vertical){if(a.offsetTop+v(a)/2>-1*e.swipeLeft)return n=a,!1}else if(a.offsetLeft-t+h(a)/2>-1*e.swipeLeft)return n=a,!1;return!0})),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1}return e.slidesToScroll};t.getSlideCount=k;var E=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=E;var w=function(e){var t,n;E(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var a=e.slideCount+2*e.slidesToShow;e.vertical?n=a*e.slideHeight:t=C(e)*e.slideWidth;var r={opacity:1,transition:"",WebkitTransition:""};e.useTransform?r=l({},r,{WebkitTransform:e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",transform:e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",msTransform:e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)"}):e.vertical?r.top=e.left:r.left=e.left;return e.fade&&(r={opacity:1}),t&&(r.width=t),n&&(r.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?r.marginTop=e.left+"px":r.marginLeft=e.left+"px"),r};t.getTrackCSS=w;var S=function(e){E(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=w(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=S;var P=function(e){if(e.unslick)return 0;E(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,a=e.slideIndex,o=e.trackRef,i=e.infinite,l=e.centerMode,s=e.slideCount,u=e.slidesToShow,c=e.slidesToScroll,d=e.slideWidth,f=e.listWidth,p=e.variableWidth,h=e.slideHeight,v=e.fade,y=e.vertical;if(v||1===e.slideCount)return 0;var m=0;if(i?(m=-T(e),s%c!=0&&a+c>s&&(m=-(a>s?u-(a-s):s%c)),l&&(m+=parseInt(u/2))):(s%c!=0&&a+c>s&&(m=u-s%c),l&&(m=parseInt(u/2))),t=y?a*h*-1+m*h:a*d*-1+m*d,!0===p){var g,b=r.default.findDOMNode(o);if(g=a+T(e),t=(n=b&&b.childNodes[g])?-1*n.offsetLeft:0,!0===l){g=i?a+T(e):a,n=b&&b.children[g],t=0;for(var k=0;k<g;k++)t-=b&&b.children[k]&&b.children[k].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(f-n.offsetWidth)/2}}return t};t.getTrackLeft=P;var T=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=T;var O=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=O;var C=function(e){return 1===e.slideCount?1:T(e)+e.slideCount+O(e)};t.getTotalSlides=C;var A=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+N(e)?"left":"right":e.targetSlide<e.currentSlide-j(e)?"right":"left"};t.siblingDirection=A;var N=function(e){var t=e.slidesToShow,n=e.centerMode,a=e.rtl,r=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(r)>0&&(o+=1),a&&t%2==0&&(o+=1),o}return a?0:t-1};t.slidesOnRight=N;var j=function(e){var t=e.slidesToShow,n=e.centerMode,a=e.rtl,r=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(r)>0&&(o+=1),a||t%2!=0||(o+=1),o}return a?t-1:0};t.slidesOnLeft=j;t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},xFFL:function(e,t,n){"use strict";n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lwsE")),i=r(n("W8MJ")),l=r(n("a1gu")),s=r(n("Nsbk")),u=r(n("PJYZ")),c=r(n("7W2i")),d=r(n("17x9")),f=a(n("q1tI")),p=r(n("TSYQ")),h=r(n("kXlQ")),v=r(n("q+t5")),y=r(n("rsAN")),m=r(n("GuGs")),g=n("tJTW"),b={player:d.default.object,mouseTime:d.default.object,actions:d.default.object,className:d.default.string},k=function(e){function t(e,n){var a;return(0,o.default)(this,t),(a=(0,l.default)(this,(0,s.default)(t).call(this,e,n))).getPercent=a.getPercent.bind((0,u.default)(a)),a.getNewTime=a.getNewTime.bind((0,u.default)(a)),a.stepForward=a.stepForward.bind((0,u.default)(a)),a.stepBack=a.stepBack.bind((0,u.default)(a)),a.handleMouseDown=a.handleMouseDown.bind((0,u.default)(a)),a.handleMouseMove=a.handleMouseMove.bind((0,u.default)(a)),a.handleMouseUp=a.handleMouseUp.bind((0,u.default)(a)),a}return(0,c.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){}},{key:"componentDidUpdate",value:function(){}},{key:"getPercent",value:function(){var e=this.props.player,t=e.currentTime,n=(e.seekingTime||t)/e.duration;return n>=1?1:n}},{key:"getNewTime",value:function(e){var t=this.props.player.duration,n=this.slider.calculateDistance(e)*t;return n===t?n-.1:n}},{key:"handleMouseDown",value:function(){}},{key:"handleMouseUp",value:function(e){var t=this.props.actions,n=this.getNewTime(e);t.seek(n),t.handleEndSeeking(n)}},{key:"handleMouseMove",value:function(e){var t=this.props.actions,n=this.getNewTime(e);t.handleSeekingTime(n)}},{key:"stepForward",value:function(){this.props.actions.forward(5)}},{key:"stepBack",value:function(){this.props.actions.replay(5)}},{key:"render",value:function(){var e=this,t=this.props,n=t.player,a=n.currentTime,r=n.seekingTime,o=n.duration,i=n.buffered,l=t.mouseTime,s=r||a;return f.default.createElement(h.default,{ref:function(t){e.slider=t},label:"video progress bar",className:(0,p.default)("video-react-progress-holder",this.props.className),valuenow:(100*this.getPercent()).toFixed(2),valuetext:(0,g.formatTime)(s,o),onMouseDown:this.handleMouseDown,onMouseMove:this.handleMouseMove,onMouseUp:this.handleMouseUp,getPercent:this.getPercent,stepForward:this.stepForward,stepBack:this.stepBack},f.default.createElement(y.default,{buffered:i,currentTime:s,duration:o}),f.default.createElement(m.default,{duration:o,mouseTime:l}),f.default.createElement(v.default,{currentTime:s,duration:o}))}}]),t}(f.Component);t.default=k,k.propTypes=b,k.displayName="SeekBar"},xkdA:function(e,t,n){"use strict";n("pIFo"),n("SRfc"),n("f3/d"),n("KKXr"),n("0l/t"),n("V+eJ");var a=n("CxY0"),r={};function o(e){return"/"===e.charAt(0)?e.slice(1):e}e.exports=function(e){return r[e]||(r[e]=function(e){if("string"!=typeof e||!e.length)return null;if(-1!==e.indexOf("git@gist")||-1!==e.indexOf("//gist"))return null;var t=a.parse(e);if("string"!=typeof t.path||!t.path.length||"string"!=typeof t.pathname||!t.pathname.length)return null;t.host||!0!==/^git@/.test(e)||(t.host=a.parse("http://"+e).host);t.path=o(t.path),t.pathname=o(t.pathname),t.filepath=null,0===t.path.indexOf("repos")&&(t.path=t.path.slice(6));var n=t.path.split("/").filter(Boolean);"blob"!==n[2]||function(e){return/^[a-f0-9]{40}$/i.test(e)}(n[3])||(t.branch=n[3],n.length>4&&(t.filepath=n.slice(4).join("/")));var r=e.indexOf("blob");-1!==r&&(t.blob=e.slice(r+5));var i=e.indexOf("tree");if(-1!==i){var l=i+5,s=e.slice(l),u=s.indexOf("/");-1!==u&&(s=s.slice(0,u)),t.branch=s}if(t.owner=function(e){if(!e)return null;var t=e.indexOf(":");if(t>-1)return e.slice(t+1);return e}(n[0]),t.name=function(e){return e?e.replace(/^\W+|\.git$/g,""):null}(n[1]),n.length>1&&t.owner&&t.name)t.repo=t.owner+"/"+t.name;else{var c=t.href.split(":");if(2===c.length&&-1===t.href.indexOf("//")){t.repo=t.repo||c[c.length-1];var d=t.repo.split("/");t.owner=d[0],t.name=d[1]}else{var f=t.href.match(/\/([^\/]*)$/);t.owner=f?f[1]:null,t.repo=null}if(t.repo&&(!t.owner||!t.name)){var p=t.repo.split("/");2===p.length&&(t.owner=p[0],t.name=p[1])}}t.branch||(t.branch=n[2]||function(e,t){var n,a=e.split("#");a.length>1&&(n=a[a.length-1]);!n&&t.hash&&"#"===t.hash.charAt(0)&&(n=t.hash.slice(1));return n||"master"}(t.path,t),n.length>3&&(t.filepath=n.slice(3).join("/")));return t.host=t.host||"github.com",t.owner=t.owner||null,t.name=t.name||null,t.repository=t.repo,t}(e))}},yYHT:function(e,t,n){"use strict";n("INYr"),n("Z2Ku"),n("L9s1"),n("8+KV"),n("XfO3"),n("HEwt"),n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lwsE")),i=r(n("W8MJ")),l=r(n("a1gu")),s=r(n("Nsbk")),u=r(n("PJYZ")),c=r(n("7W2i")),d=r(n("17x9")),f=a(n("q1tI")),p=r(n("TSYQ")),h=r(n("U3K2")),v={player:d.default.object,actions:d.default.object,className:d.default.string,offMenuText:d.default.string,showOffMenu:d.default.bool,kinds:d.default.array},y=function(e){function t(e,n){var a;return(0,o.default)(this,t),(a=(0,l.default)(this,(0,s.default)(t).call(this,e,n))).getTextTrackItems=a.getTextTrackItems.bind((0,u.default)(a)),a.updateState=a.updateState.bind((0,u.default)(a)),a.handleSelectItem=a.handleSelectItem.bind((0,u.default)(a)),a.state=a.getTextTrackItems(),a}return(0,c.default)(t,e),(0,i.default)(t,[{key:"componentDidUpdate",value:function(){this.updateState()}},{key:"getTextTrackItems",value:function(){var e=this.props,t=e.kinds,n=e.player,a=e.offMenuText,r=e.showOffMenu,o=n.textTracks,i=n.activeTextTrack,l={items:[],selectedIndex:0},s=Array.from(o||[]);return 0===s.length?l:(r&&l.items.push({label:a||"Off",value:null}),s.forEach((function(e){t.length&&!t.includes(e.kind)||l.items.push({label:e.label,value:e.language})})),l.selectedIndex=l.items.findIndex((function(e){return i&&i.language===e.value})),-1===l.selectedIndex&&(l.selectedIndex=0),l)}},{key:"updateState",value:function(){var e=this.getTextTrackItems();e.selectedIndex===this.state.selectedIndex&&this.textTrackItemsAreEqual(e.items,this.state.items)||this.setState(e)}},{key:"textTrackItemsAreEqual",value:function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!t[n]||e[n].label!==t[n].label||e[n].value!==t[n].value)return!1;return!0}},{key:"handleSelectItem",value:function(e){var t=this.props,n=t.player,a=t.actions,r=t.showOffMenu,o=n.textTracks;Array.from(o).forEach((function(t,n){e===(r?n+1:n)?(t.mode="showing",a.activateTextTrack(t)):t.mode="hidden"}))}},{key:"render",value:function(){var e=this.state,t=e.items,n=e.selectedIndex;return f.default.createElement(h.default,{className:(0,p.default)("video-react-closed-caption",this.props.className),onSelectItem:this.handleSelectItem,items:t,selectedIndex:n},f.default.createElement("span",{className:"video-react-control-text"},"Closed Caption"))}}]),t}(f.Component);y.propTypes=v,y.defaultProps={offMenuText:"Off",showOffMenu:!0,kinds:["captions","subtitles"]},y.displayName="ClosedCaptionButton";var m=y;t.default=m},zFvY:function(e,t,n){"use strict";n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("lwsE")),i=r(n("W8MJ")),l=r(n("a1gu")),s=r(n("Nsbk")),u=r(n("PJYZ")),c=r(n("7W2i")),d=r(n("17x9")),f=a(n("q1tI")),p=r(n("TSYQ")),h={manager:d.default.object,className:d.default.string},v=function(e){function t(e,n){var a;return(0,o.default)(this,t),(a=(0,l.default)(this,(0,s.default)(t).call(this,e,n))).timer=null,e.manager.subscribeToOperationStateChange(a.handleStateChange.bind((0,u.default)(a))),a.state={hidden:!0,operation:{}},a}return(0,c.default)(t,e),(0,i.default)(t,[{key:"handleStateChange",value:function(e,t){var n=this;e.count!==t.count&&"shortcut"===e.operation.source&&(this.timer&&(clearTimeout(this.timer),this.timer=null),this.setState({hidden:!1,count:e.count,operation:e.operation}),this.timer=setTimeout((function(){n.setState({hidden:!0}),n.timer=null}),500))}},{key:"render",value:function(){if("shortcut"!==this.state.operation.source)return null;var e=this.state.hidden?{display:"none"}:null;return f.default.createElement("div",{className:(0,p.default)({"video-react-bezel":!0,"video-react-bezel-animation":this.state.count%2==0,"video-react-bezel-animation-alt":this.state.count%2==1},this.props.className),style:e,role:"status","aria-label":this.state.operation.action},f.default.createElement("div",{className:(0,p.default)("video-react-bezel-icon","video-react-bezel-icon-".concat(this.state.operation.action))}))}}]),t}(f.Component);t.default=v,v.propTypes=h,v.displayName="Bezel"},zHIc:function(e,t,n){"use strict";n("2Spj"),n("HAE/");var a=n("284h"),r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("pVnL")),i=r(n("lwsE")),l=r(n("W8MJ")),s=r(n("a1gu")),u=r(n("Nsbk")),c=r(n("PJYZ")),d=r(n("7W2i")),f=r(n("17x9")),p=a(n("q1tI")),h=r(n("TSYQ")),v=a(n("EVUy")),y=r(n("xFFL")),m={player:f.default.object,className:f.default.string},g=function(e){function t(e,n){var a;return(0,i.default)(this,t),(a=(0,s.default)(this,(0,u.default)(t).call(this,e,n))).state={mouseTime:{time:null,position:0}},a.handleMouseMoveThrottle=a.handleMouseMove.bind((0,c.default)(a)),a}return(0,d.default)(t,e),(0,l.default)(t,[{key:"handleMouseMove",value:function(e){if(e.pageX){var t=this.props.player.duration,n=this.seekBar,a=v.getPointerPosition(n,e).x*t,r=e.pageX-v.findElPosition(n).left;this.setState({mouseTime:{time:a,position:r}})}}},{key:"render",value:function(){var e=this,t=this.props.className;return p.default.createElement("div",{onMouseMove:this.handleMouseMoveThrottle,className:(0,h.default)("video-react-progress-control video-react-control",t)},p.default.createElement(y.default,(0,o.default)({mouseTime:this.state.mouseTime,ref:function(t){e.seekBar=t}},this.props)))}}]),t}(p.Component);t.default=g,g.propTypes=m,g.displayName="ProgressControl"}}]);
//# sourceMappingURL=component---site-pages-index-zh-tsx-e30984d3de91436dd812.js.map