!function(){var e={5486:function(e,t,n){"use strict";var r=n(9087),i=n(5466);n(2880),n(4426),n(6157),n(6394),n(2322),n(4669),n(9006),n(3233),n(6116),n(1589),n(2331),n(4830),n(2947),n(2836),n(7207);i.PureComponent,n(5101),n(9808);var o={switch:(0,n(4547).v)(window.MediaCMS).theme.switch},a=i.createContext(o),s=(a.Provider,a.Consumer,n(8349));n(6498),n(8680),n(3702),n(8534),n(3562),n(2431);i.PureComponent,n(3074),n(365),n(4030),n(8024),n(2070),n(3296),n(137),n(5024);var l=n(9518),c=n(2276),u=n(3699);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n(new Date).getTime()?n.value:null:n},clear:function(){var t;if(i&&Object.keys(localStorage).length)for(t in localStorage)localStorage.hasOwnProperty(t)&&0===t.indexOf(e)&&localStorage.removeItem(t);return!0}}:(0,r.O)(["Cache object prefix is required"])}},8416:function(e,t,n){var r=n(4835).Dispatcher;e.exports=new r},6146:function(e,t,n){"use strict";n.d(t,{Y:function(){return d}}),n(717);var r=n(5466),i=n(3074),o=n.n(i),a=n(365),s=n(920),l=n.n(s),c=(n(4426),n(4860)),u=n(9688);function d(e){var t=(0,r.useContext)(a.Z),n=(0,r.useRef)(null),i=null,o=new c.Z(t.id,86400),s={playerVolume:o.get("player-volume"),playerSoundMuted:o.get("player-sound-muted"),videoQuality:o.get("video-quality"),videoPlaybackSpeed:o.get("video-playback-speed"),inTheaterMode:o.get("in-theater-mode")};function d(){void 0!==e.onClickNextCallback&&e.onClickNextCallback()}function f(){void 0!==e.onClickPreviousCallback&&e.onClickPreviousCallback()}function p(t){s.playerVolume!==t.volume&&(s.playerVolume=t.volume),s.playerSoundMuted!==t.soundMuted&&(s.playerSoundMuted=t.soundMuted),s.videoQuality!==t.quality&&(s.videoQuality=t.quality),s.videoPlaybackSpeed!==t.playbackSpeed&&(s.videoPlaybackSpeed=t.playbackSpeed),s.inTheaterMode!==t.theaterMode&&(s.inTheaterMode=t.theaterMode),void 0!==e.onStateUpdateCallback&&e.onStateUpdateCallback(t)}function h(){if(null===i&&null===e.errorMessage&&(e.inEmbed||(window.removeEventListener("focus",h),document.removeEventListener("visibilitychange",h)),n.current)){e.inEmbed||n.current.focus();var r={on:!1};if(void 0!==e.subtitlesInfo&&null!==e.subtitlesInfo&&e.subtitlesInfo.length){r.languages=[];for(var o=0;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);nthis.state.totalItems},i.prototype.loadMoreItems=function(){return this.state.currentSlide+this.state.slideItemsFit>=this.state.maxSlideIndex},i.prototype.itemsFit=function(){return this.state.slideItemsFit}},792:function(e,t,n){"use strict";n.d(t,{KC:function(){return s},RA:function(){return l},$e:function(){return c}}),n(7228),n(9751),n(2322),n(9268),n(4426);var r=n(365),i=n(9688),o=["hls","h265","vp9","h264","vp8","mp4","theora"];function a(e,t){var n=null,r=document.createElement("video");if(r.canPlayType)try{switch(e){case"hls":n=!0;break;case"h265":n="probably"===r.canPlayType('video/mp4; codecs="hvc1.1.L0.0"')||"probably"===r.canPlayType('video/mp4; codecs="hev1.1.L0.0"');break;case"h264":n="probably"===r.canPlayType('video/mp4; codecs="avc1.42E01E"')||"probably"===r.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"');break;case"vp9":n="probably"===r.canPlayType('video/webm; codecs="vp9"');break;case"vp8":n="probably"===r.canPlayType('video/webm; codecs="vp8, vorbis"');break;case"theora":n="probably"===r.canPlayType('video/ogg; codecs="theora"');break;case"mp4":n=!0}if(t=(t instanceof Boolean||0===t||1==t)&&t){if("no"===r.canPlayType("video/nonsense")&&console.warn('BUGGY: Codec detection bug in Firefox 3.5.0 - 3.5.1 and Safari 4.0.0 - 4.0.4 that answer "no" to unknown codecs instead of an empty string'),"probably"===r.canPlayType("video/webm")&&console.warn('BUGGY: Codec detection bug that Firefox 27 and earlier always says "probably" when asked about WebM, even when the codecs string is not present'),"maybe"===r.canPlayType('video/mp4; codecs="avc1.42E01E"'))switch(r.canPlayType("video/mp4")){case"probably":console.warn('BUGGY: Codec detection bug in iOS 4.1 and earlier that switches "maybe" and "probably" around');break;case"maybe":console.warn('BUGGY: Codec detection bug in Android where no better answer than "maybe" is given')}"probably"===r.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"')&&"probably"!==r.canPlayType('video/mp4; codecs="avc1.42E01E"')&&console.warn("BUGGY: Codec detection bug in Internet Explorer 9 that requires both audio and video codec on test")}}catch(e){console.warn(e)}return n}function s(e){var t=[],n={},r=document.createElement("video");return r.canPlayType&&(n.hls=!0,t.push("hls"),(r.canPlayType('video/mp4; codecs="hvc1.1.L0.0"')||"probably"===r.canPlayType('video/mp4; codecs="hev1.1.L0.0"'))&&(n.h265=!0,t.push("h265")),"probably"===r.canPlayType('video/mp4; codecs="avc1.42E01E"')&&(n.h264=!0,t.push("h264")),"probably"===r.canPlayType('video/webm; codecs="vp9"')&&(n.vp9=!0,t.push("vp9")),e&&("probably"===r.canPlayType('video/webm; codecs="vp8, vorbis"')&&(n.vp8=!0,t.push("vp8")),"probably"===r.canPlayType('video/ogg; codecs="theora"')&&(n.theora=!0,t.push("theora"))),"probably"===r.canPlayType('video/mp4; codecs="mp4v.20.8"')&&(n.mp4=!0,t.push("mp4"))),{order:t,support:n}}function l(e,t,n){var l,c,u,d={};n=void 0===n?s():n;var f={hls:["m3u8"],h265:["mp4","webm"],h264:["mp4","webm"],vp9:["mp4","webm"],vp8:["mp4","webm"],theora:["ogg"],mp4:["mp4"]};for(l in t)t.hasOwnProperty(l)&&(c=null,null!==(c="master_file"===l?"Auto":2===(c=l.split("_playlist")).length?c[0]:null)&&(d[c]=void 0===d[c]?{format:[],url:[]}:d[c],d[c].format.push("hls"),d[c].url.push((0,i.U)(t[l],r.Z._currentValue.url))));for(c in e)if(e.hasOwnProperty(c)&&Object.keys(e[c]).length&&(1080>=parseInt(c,10)||1080=parseInt(r[r.length-1],10))return r[r.length-1];if(parseInt(e,10)<=parseInt(r[0],10))return r[0];for(n=r.length-1;n>=0;){if(parseInt(e,10)>=parseInt(r[n],10))return r[n+1];n-=1}}},365:function(e,t,n){"use strict";var r=n(5466),i=n(4547),o=r.createContext((0,i.v)(window.MediaCMS).site);o.Consumer,t.Z=o},2880:function(e,t,n){"use strict";var r=n(5466),i=n(4547),o=r.createContext((0,i.v)(window.MediaCMS).member);o.Consumer,t.Z=o},8024:function(e,t,n){"use strict";function r(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function i(e,t){e.classList?e.classList.add(t):e.className+=" "+t}n.d(t,{dt:function(){return r},Ec:function(){return i}}),n(7441),n(7390),n(2322),n(4669),n(3296),n(9268)},3140:function(e,t,n){"use strict";n(2322),n(9268)},9688:function(e,t,n){"use strict";n.d(t,{U:function(){return o}}),n(6394),n(2322),n(4669),n(3296);var r=n(137),i=n.n(r);function o(e,t){var n=i()(e,{});return""!==n.origin&&"null"!==n.origin&&n.origin||(n=i()(t+"/"+e.replace(/^\//g,""),{})),n.toString()}},4135:function(e,t,n){"use strict";function r(e,t){function n(e,t,n){return Number(parseFloat(e/t).toFixed(e<10*t?1:0))+n}return t?e.toLocaleString():function(e,t,r,i,o,a){for(;t>=i;)o*=r,i*=r,e+=1;return e0}(e)}(e)||function(e){return 0===e}(e))}n.d(t,{ZU:function(){return r}}),n(5777)},3699:function(e,t,n){"use strict";n.d(t,{loadMediaData:function(){return o}}),n(2322),n(3296);var r=n(8416),i=n.n(r);function o(){i().dispatch({type:"LOAD_MEDIA_DATA"})}},8349:function(e,t,n){"use strict";n.d(t,{df:function(){return o}});var r=n(8416),i=n.n(r);function o(e){i().dispatch({type:"INIT_PAGE",page:e})}},6157:function(e,t,n){"use strict";n(5101),n(5466);var r,i=n(1590),o=n.n(i),a=n(4860),s=n(8420),l=n(8024),c=n(4547),u=n(4426);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 f(e,t){for(var n=0;n=0){ Player.currentTime(findGetParameter("time")); } if(findGetParameter("autoplay")==1){ Player.play(); } } // set up the mutation observer var observer = new MutationObserver(function (mutations, me) { // `mutations` is an array of mutations that occurred // `me` is the MutationObserver instance var canvas = document.getElementById('vjs_video_3_html5_api'); if (canvas) { handleCanvas(); me.disconnect(); // stop observing return; } }); // start observing observer.observe(document, { childList: true, subtree: true });