/*! For license information please see main.425f549a.js.LICENSE.txt */ !function(){var e={110:function(e,t,n){"use strict";var r=n(309),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var l=s(t),m=s(n),v=0;v1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof e&&e.length){var n=void 0,r=void 0,i=u.language(),a=function(e,t,n){if("object"!==("undefined"===typeof e?"undefined":o(e))||"number"!==typeof t||"number"!==typeof n)return e;var r=[function(){return arguments.length<=1?void 0:arguments[1]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return 0===(arguments.length<=0?void 0:arguments[0])||1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return(arguments.length<=0?void 0:arguments[0])%10===1&&(arguments.length<=0?void 0:arguments[0])%100!==11?arguments.length<=1?void 0:arguments[1]:0!==(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])||11===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])||12===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])>2&&(arguments.length<=0?void 0:arguments[0])<20?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:0===(arguments.length<=0?void 0:arguments[0])||(arguments.length<=0?void 0:arguments[0])%100>0&&(arguments.length<=0?void 0:arguments[0])%100<20?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return(arguments.length<=0?void 0:arguments[0])%10===1&&(arguments.length<=0?void 0:arguments[0])%100!==11?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:[3]},function(){return(arguments.length<=0?void 0:arguments[0])%10===1&&(arguments.length<=0?void 0:arguments[0])%100!==11?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&(arguments.length<=0?void 0:arguments[0])%10<=4&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])>=2&&(arguments.length<=0?void 0:arguments[0])<=4?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&(arguments.length<=0?void 0:arguments[0])%10<=4&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return(arguments.length<=0?void 0:arguments[0])%100===1?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])%100===2?arguments.length<=3?void 0:arguments[3]:(arguments.length<=0?void 0:arguments[0])%100===3||(arguments.length<=0?void 0:arguments[0])%100===4?arguments.length<=4?void 0:arguments[4]:arguments.length<=1?void 0:arguments[1]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])>2&&(arguments.length<=0?void 0:arguments[0])<7?arguments.length<=3?void 0:arguments[3]:(arguments.length<=0?void 0:arguments[0])>6&&(arguments.length<=0?void 0:arguments[0])<11?arguments.length<=4?void 0:arguments[4]:arguments.length<=5?void 0:arguments[5]},function(){return 0===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=3?void 0:arguments[3]:(arguments.length<=0?void 0:arguments[0])%100>=3&&(arguments.length<=0?void 0:arguments[0])%100<=10?arguments.length<=4?void 0:arguments[4]:(arguments.length<=0?void 0:arguments[0])%100>=11?arguments.length<=5?void 0:arguments[5]:arguments.length<=6?void 0:arguments[6]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:0===(arguments.length<=0?void 0:arguments[0])||(arguments.length<=0?void 0:arguments[0])%100>1&&(arguments.length<=0?void 0:arguments[0])%100<11?arguments.length<=2?void 0:arguments[2]:(arguments.length<=0?void 0:arguments[0])%100>10&&(arguments.length<=0?void 0:arguments[0])%100<20?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return(arguments.length<=0?void 0:arguments[0])%10===1?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10===2?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 11!==(arguments.length<=0?void 0:arguments[0])&&(arguments.length<=0?void 0:arguments[0])%10===1?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:(arguments.length<=0?void 0:arguments[0])%10>=2&&(arguments.length<=0?void 0:arguments[0])%10<=4&&((arguments.length<=0?void 0:arguments[0])%100<10||(arguments.length<=0?void 0:arguments[0])%100>=20)?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:8!==(arguments.length<=0?void 0:arguments[0])&&11!==(arguments.length<=0?void 0:arguments[0])?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return 0===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:arguments.length<=2?void 0:arguments[2]},function(){return 1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:2===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:3===(arguments.length<=0?void 0:arguments[0])?arguments.length<=3?void 0:arguments[3]:arguments.length<=4?void 0:arguments[4]},function(){return 0===(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:1===(arguments.length<=0?void 0:arguments[0])?arguments.length<=2?void 0:arguments[2]:arguments.length<=3?void 0:arguments[3]}];return r[n].apply(null,[t].concat(e))};return void 0!==u[i]&&(n=u[i][e],null!==t&&"number"===typeof t&&(r=u[i]["mejs.plural-form"],n=a.apply(null,[n,t,r]))),!n&&u.en&&(n=u.en[e],null!==t&&"number"===typeof t&&(r=u.en["mejs.plural-form"],n=a.apply(null,[n,t,r]))),n=n||e,null!==t&&"number"===typeof t&&(n=n.replace("%1",t)),(0,s.escapeHTML)(n)}return e}};a.default.i18n=u,"undefined"!==typeof mejsL10n&&a.default.i18n.language(mejsL10n.language,mejsL10n.strings),n.default=u},{15:15,27:27,7:7}],6:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=d(e(3)),i=d(e(2)),a=d(e(7)),l=e(27),s=e(28),u=e(8),c=e(25);function d(e){return e&&e.__esModule?e:{default:e}}var f=function e(t,n,d){var f=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var p=this;d=Array.isArray(d)?d:null,p.defaults={renderers:[],fakeNodeName:"mediaelementwrapper",pluginPath:"build/",shimScriptAccess:"sameDomain"},n=Object.assign(p.defaults,n),p.mediaElement=i.default.createElement(n.fakeNodeName);var h=t,m=!1;if("string"===typeof t?p.mediaElement.originalNode=i.default.getElementById(t):(p.mediaElement.originalNode=t,h=t.id),void 0===p.mediaElement.originalNode||null===p.mediaElement.originalNode)return null;p.mediaElement.options=n,h=h||"mejs_"+Math.random().toString().slice(2),p.mediaElement.originalNode.setAttribute("id",h+"_from_mejs");var v=p.mediaElement.originalNode.tagName.toLowerCase();["video","audio"].indexOf(v)>-1&&!p.mediaElement.originalNode.getAttribute("preload")&&p.mediaElement.originalNode.setAttribute("preload","none"),p.mediaElement.originalNode.parentNode.insertBefore(p.mediaElement,p.mediaElement.originalNode),p.mediaElement.appendChild(p.mediaElement.originalNode);var y=function(e,t){if("https:"===o.default.location.protocol&&0===e.indexOf("http:")&&c.IS_IOS&&a.default.html5media.mediaTypes.indexOf(t)>-1){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===this.readyState&&200===this.status){var t=(o.default.URL||o.default.webkitURL).createObjectURL(this.response);return p.mediaElement.originalNode.setAttribute("src",t),t}return e},n.open("GET",e),n.responseType="blob",n.send()}return e},g=void 0;if(null!==d)g=d;else if(null!==p.mediaElement.originalNode)switch(g=[],p.mediaElement.originalNode.nodeName.toLowerCase()){case"iframe":g.push({type:"",src:p.mediaElement.originalNode.getAttribute("src")});break;case"audio":case"video":var b=p.mediaElement.originalNode.children.length,w=p.mediaElement.originalNode.getAttribute("src");if(w){var S=p.mediaElement.originalNode,E=(0,s.formatType)(w,S.getAttribute("type"));g.push({type:E,src:y(w,E)})}for(var k=0;k2?t[0]:t[0].src;if(void 0!==n.mediaElement.renderer&&null!==n.mediaElement.renderer&&n.mediaElement.renderer.name===e)return n.mediaElement.renderer.pause(),n.mediaElement.renderer.stop&&n.mediaElement.renderer.stop(),n.mediaElement.renderer.show(),n.mediaElement.renderer.setSrc(r),!0;void 0!==n.mediaElement.renderer&&null!==n.mediaElement.renderer&&(n.mediaElement.renderer.pause(),n.mediaElement.renderer.stop&&n.mediaElement.renderer.stop(),n.mediaElement.renderer.hide());var o=n.mediaElement.renderers[e],i=null;if(void 0!==o&&null!==o)return o.show(),o.setSrc(r),n.mediaElement.renderer=o,n.mediaElement.rendererName=e,!0;for(var a=n.mediaElement.options.renderers.length?n.mediaElement.options.renderers:u.renderer.order,l=0,s=a.length;l1&&void 0!==arguments[1]?arguments[1]:[],n=t.length;if(t=t.length?t:this.order,!n){var r=[/^(html5|native)/i,/^flash/i,/iframe$/i],o=function(e){for(var t=0,n=r.length;t',t.addControlElement(a,"fullscreen"),a.addEventListener("click",(function(){s.HAS_TRUE_NATIVE_FULLSCREEN&&s.IS_FULLSCREEN||e.isFullScreen?e.exitFullScreen():e.enterFullScreen()})),e.fullscreenBtn=a,t.options.keyActions.push({keys:[70],action:function(e,t,n,r){r.ctrlKey||"undefined"!==typeof e.enterFullScreen&&(e.isFullScreen?e.exitFullScreen():e.enterFullScreen())}}),t.exitFullscreenCallback=function(n){var r=n.which||n.keyCode||0;t.options.enableKeyboard&&27===r&&(s.HAS_TRUE_NATIVE_FULLSCREEN&&s.IS_FULLSCREEN||t.isFullScreen)&&e.exitFullScreen()},t.globalBind("keydown",t.exitFullscreenCallback),t.normalHeight=0,t.normalWidth=0,s.HAS_TRUE_NATIVE_FULLSCREEN){e.globalBind(s.FULLSCREEN_EVENT_NAME,(function(){e.isFullScreen&&(s.isFullScreen()?(e.isNativeFullScreen=!0,e.setControlsSize()):(e.isNativeFullScreen=!1,e.exitFullScreen()))}))}}},cleanfullscreen:function(e){e.exitFullScreen(),e.globalUnbind("keydown",e.exitFullscreenCallback)},detectFullscreenMode:function(){var e=this,t=null!==e.media.rendererName&&/(native|html5)/i.test(e.media.rendererName),n="";return s.HAS_TRUE_NATIVE_FULLSCREEN&&t?n="native-native":s.HAS_TRUE_NATIVE_FULLSCREEN&&!t?n="plugin-native":e.usePluginFullScreen&&s.SUPPORT_POINTER_EVENTS&&(n="plugin-click"),e.fullscreenMode=n,n},enterFullScreen:function(){var e=this,t=null!==e.media.rendererName&&/(html5|native)/i.test(e.media.rendererName),n=getComputedStyle(e.getElement(e.container));if(e.isVideo)if(!1===e.options.useFakeFullscreen&&(s.IS_IOS||s.IS_SAFARI)&&s.HAS_IOS_FULLSCREEN&&"function"===typeof e.media.originalNode.webkitEnterFullscreen&&e.media.originalNode.canPlayType((0,d.getTypeFromFile)(e.media.getSrc())))e.media.originalNode.webkitEnterFullscreen();else{if((0,c.addClass)(o.default.documentElement,e.options.classPrefix+"fullscreen"),(0,c.addClass)(e.getElement(e.container),e.options.classPrefix+"container-fullscreen"),e.normalHeight=parseFloat(n.height),e.normalWidth=parseFloat(n.width),"native-native"!==e.fullscreenMode&&"plugin-native"!==e.fullscreenMode||(s.requestFullScreen(e.getElement(e.container)),e.isInIframe&&setTimeout((function t(){if(e.isNativeFullScreen){var n=r.default.innerWidth||o.default.documentElement.clientWidth||o.default.body.clientWidth,i=screen.width;Math.abs(i-n)>.002*i?e.exitFullScreen():setTimeout(t,500)}}),1e3)),e.getElement(e.container).style.width="100%",e.getElement(e.container).style.height="100%",e.containerSizeTimeout=setTimeout((function(){e.getElement(e.container).style.width="100%",e.getElement(e.container).style.height="100%",e.setControlsSize()}),500),t)e.node.style.width="100%",e.node.style.height="100%";else for(var i=e.getElement(e.container).querySelectorAll("embed, object, video"),a=i.length,l=0;l',f.addEventListener("click",(function(){i.paused?i.play():i.pause()}));var p=f.querySelector("button");function h(e){"play"===e?((0,s.removeClass)(f,i.options.classPrefix+"play"),(0,s.removeClass)(f,i.options.classPrefix+"replay"),(0,s.addClass)(f,i.options.classPrefix+"pause"),p.setAttribute("title",d),p.setAttribute("aria-label",d)):((0,s.removeClass)(f,i.options.classPrefix+"pause"),(0,s.removeClass)(f,i.options.classPrefix+"replay"),(0,s.addClass)(f,i.options.classPrefix+"play"),p.setAttribute("title",c),p.setAttribute("aria-label",c))}i.addControlElement(f,"playpause"),h("pse"),o.addEventListener("loadedmetadata",(function(){-1===o.rendererName.indexOf("flash")&&h("pse")})),o.addEventListener("play",(function(){h("play")})),o.addEventListener("playing",(function(){h("play")})),o.addEventListener("pause",(function(){h("pse")})),o.addEventListener("ended",(function(){e.options.loop||((0,s.removeClass)(f,i.options.classPrefix+"pause"),(0,s.removeClass)(f,i.options.classPrefix+"play"),(0,s.addClass)(f,i.options.classPrefix+"replay"),p.setAttribute("title",c),p.setAttribute("aria-label",c))}))}})},{16:16,2:2,26:26,27:27,5:5}],11:[function(e,t,n){"use strict";var r=c(e(2)),o=e(16),i=c(o),a=c(e(5)),l=e(25),s=e(30),u=e(26);function c(e){return e&&e.__esModule?e:{default:e}}Object.assign(o.config,{enableProgressTooltip:!0,useSmoothHover:!0,forceLive:!1}),Object.assign(i.default.prototype,{buildprogress:function(e,t,n,o){var i=0,c=!1,d=!1,f=this,p=e.options.autoRewind,h=e.options.enableProgressTooltip?'00:00':"",m=r.default.createElement("div");m.className=f.options.classPrefix+"time-rail",m.innerHTML=''+h+"",f.addControlElement(m,"progress"),f.options.keyActions.push({keys:[37,227],action:function(e){if(!isNaN(e.duration)&&e.duration>0){e.isVideo&&(e.showControls(),e.startControlsTimer());var t=e.getElement(e.container).querySelector("."+f.options.classPrefix+"time-total");t&&t.focus();var n=Math.max(e.currentTime-e.options.defaultSeekBackwardInterval(e),0);e.paused||e.pause(),setTimeout((function(){e.setCurrentTime(n)}),0),setTimeout((function(){e.play()}),0)}}},{keys:[39,228],action:function(e){if(!isNaN(e.duration)&&e.duration>0){e.isVideo&&(e.showControls(),e.startControlsTimer());var t=e.getElement(e.container).querySelector("."+f.options.classPrefix+"time-total");t&&t.focus();var n=Math.min(e.currentTime+e.options.defaultSeekForwardInterval(e),e.duration);e.paused||e.pause(),setTimeout((function(){e.setCurrentTime(n)}),0),setTimeout((function(){e.play()}),0)}}}),f.rail=t.querySelector("."+f.options.classPrefix+"time-rail"),f.total=t.querySelector("."+f.options.classPrefix+"time-total"),f.loaded=t.querySelector("."+f.options.classPrefix+"time-loaded"),f.current=t.querySelector("."+f.options.classPrefix+"time-current"),f.handle=t.querySelector("."+f.options.classPrefix+"time-handle"),f.timefloat=t.querySelector("."+f.options.classPrefix+"time-float"),f.timefloatcurrent=t.querySelector("."+f.options.classPrefix+"time-float-current"),f.slider=t.querySelector("."+f.options.classPrefix+"time-slider"),f.hovered=t.querySelector("."+f.options.classPrefix+"time-hovered"),f.buffer=t.querySelector("."+f.options.classPrefix+"time-buffering"),f.newTime=0,f.forcedHandlePause=!1,f.setTransformStyle=function(e,t){e.style.transform=t,e.style.webkitTransform=t,e.style.MozTransform=t,e.style.msTransform=t,e.style.OTransform=t},f.buffer.style.display="none";var v=function(t){var n=getComputedStyle(f.total),r=(0,u.offset)(f.total),o=f.total.offsetWidth,i=void 0!==n.webkitTransform?"webkitTransform":void 0!==n.mozTransform?"mozTransform ":void 0!==n.oTransform?"oTransform":void 0!==n.msTransform?"msTransform":"transform",a="WebKitCSSMatrix"in window?"WebKitCSSMatrix":"MSCSSMatrix"in window?"MSCSSMatrix":"CSSMatrix"in window?"CSSMatrix":void 0,d=0,p=0,h=0,m=void 0;if(m=t.originalEvent&&t.originalEvent.changedTouches?t.originalEvent.changedTouches[0].pageX:t.changedTouches?t.changedTouches[0].pageX:t.pageX,f.getDuration()){if(mo+r.left&&(m=o+r.left),d=(h=m-r.left)/o,f.newTime=d*f.getDuration(),c&&null!==f.getCurrentTime()&&f.newTime.toFixed(4)!==f.getCurrentTime().toFixed(4)&&(f.setCurrentRailHandle(f.newTime),f.updateCurrent(f.newTime)),!l.IS_IOS&&!l.IS_ANDROID){if(h<0&&(h=0),f.options.useSmoothHover&&null!==a&&"undefined"!==typeof window[a]){var v=new window[a](getComputedStyle(f.handle)[i]).m41,y=h/parseFloat(getComputedStyle(f.total).width)-v/parseFloat(getComputedStyle(f.total).width);f.hovered.style.left=v+"px",f.setTransformStyle(f.hovered,"scaleX("+y+")"),f.hovered.setAttribute("pos",h),y>=0?(0,u.removeClass)(f.hovered,"negative"):(0,u.addClass)(f.hovered,"negative")}if(f.timefloat){var g=f.timefloat.offsetWidth/2,b=mejs.Utils.offset(f.getElement(f.container)),w=getComputedStyle(f.timefloat);p=m-b.left=f.getElement(f.container).offsetWidth-g?f.total.offsetWidth-g:h,(0,u.hasClass)(f.getElement(f.container),f.options.classPrefix+"long-video")&&(p+=parseFloat(w.marginLeft)/2+f.timefloat.offsetWidth/2),f.timefloat.style.left=p+"px",f.timefloatcurrent.innerHTML=(0,s.secondsToTimeCode)(f.newTime,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat),f.timefloat.style.display="block"}}}else l.IS_IOS||l.IS_ANDROID||!f.timefloat||(p=f.timefloat.offsetWidth+o>=f.getElement(f.container).offsetWidth?f.timefloat.offsetWidth/2:0,f.timefloat.style.left=p+"px",f.timefloat.style.left=p+"px",f.timefloat.style.display="block")},y=function(){new Date-i>=1e3&&f.play()};f.slider.addEventListener("focus",(function(){e.options.autoRewind=!1})),f.slider.addEventListener("blur",(function(){e.options.autoRewind=p})),f.slider.addEventListener("keydown",(function(t){if(new Date-i>=1e3&&(d=f.paused),f.options.enableKeyboard&&f.options.keyActions.length){var n=t.which||t.keyCode||0,r=f.getDuration(),a=e.options.defaultSeekForwardInterval(o),s=e.options.defaultSeekBackwardInterval(o),u=f.getCurrentTime(),c=f.getElement(f.container).querySelector("."+f.options.classPrefix+"volume-slider");if(38===n||40===n){c&&(c.style.display="block"),f.isVideo&&(f.showControls(),f.startControlsTimer());var p=38===n?Math.min(f.volume+.1,1):Math.max(f.volume-.1,0),h=p<=0;return f.setVolume(p),void f.setMuted(h)}switch(c&&(c.style.display="none"),n){case 37:f.getDuration()!==1/0&&(u-=s);break;case 39:f.getDuration()!==1/0&&(u+=a);break;case 36:u=0;break;case 35:u=r;break;case 13:case 32:return void(l.IS_FIREFOX&&(f.paused?f.play():f.pause()));default:return}u=u<0||isNaN(u)?0:u>=r?r:Math.floor(u),i=new Date,d||e.pause(),setTimeout((function(){f.setCurrentTime(u)}),0),u0&&n.buffered.end&&t.getDuration()?r=n.buffered.end(n.buffered.length-1)/t.getDuration():n&&void 0!==n.bytesTotal&&n.bytesTotal>0&&void 0!==n.bufferedBytes?r=n.bufferedBytes/n.bytesTotal:e&&e.lengthComputable&&0!==e.total&&(r=e.loaded/e.total),null!==r&&(r=Math.min(1,Math.max(0,r)),t.loaded&&t.setTransformStyle(t.loaded,"scaleX("+r+")"))},setCurrentRailHandle:function(e){this.setCurrentRailMain(this,e)},setCurrentRail:function(){this.setCurrentRailMain(this)},setCurrentRailMain:function(e,t){if(void 0!==e.getCurrentTime()&&e.getDuration()){var n="undefined"===typeof t?e.getCurrentTime():t;if(e.total&&e.handle){var r=parseFloat(getComputedStyle(e.total).width),o=Math.round(r*n/e.getDuration()),i=o-Math.round(e.handle.offsetWidth/2);if(i=i<0?0:i,e.setTransformStyle(e.current,"scaleX("+o/r+")"),e.setTransformStyle(e.handle,"translateX("+i+"px)"),e.options.useSmoothHover&&!(0,u.hasClass)(e.hovered,"no-hover")){var a=parseInt(e.hovered.getAttribute("pos"),10),l=(a=isNaN(a)?0:a)/r-i/r;e.hovered.style.left=i+"px",e.setTransformStyle(e.hovered,"scaleX("+l+")"),l>=0?(0,u.removeClass)(e.hovered,"negative"):(0,u.addClass)(e.hovered,"negative")}}}}})},{16:16,2:2,25:25,26:26,30:30,5:5}],12:[function(e,t,n){"use strict";var r=s(e(2)),o=e(16),i=s(o),a=e(30),l=e(26);function s(e){return e&&e.__esModule?e:{default:e}}Object.assign(o.config,{duration:0,timeAndDurationSeparator:" | "}),Object.assign(i.default.prototype,{buildcurrent:function(e,t,n,o){var i=this,l=r.default.createElement("div");l.className=i.options.classPrefix+"time",l.setAttribute("role","timer"),l.setAttribute("aria-live","off"),l.innerHTML=''+(0,a.secondsToTimeCode)(0,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat)+"",i.addControlElement(l,"current"),e.updateCurrent(),i.updateTimeCallback=function(){i.controlsAreVisible&&e.updateCurrent()},o.addEventListener("timeupdate",i.updateTimeCallback)},cleancurrent:function(e,t,n,r){r.removeEventListener("timeupdate",e.updateTimeCallback)},buildduration:function(e,t,n,o){var i=this;if(t.lastChild.querySelector("."+i.options.classPrefix+"currenttime"))t.querySelector("."+i.options.classPrefix+"time").innerHTML+=i.options.timeAndDurationSeparator+''+(0,a.secondsToTimeCode)(i.options.duration,i.options.alwaysShowHours,i.options.showTimecodeFrameCount,i.options.framesPerSecond,i.options.secondsDecimalLength,i.options.timeFormat)+"";else{t.querySelector("."+i.options.classPrefix+"currenttime")&&(0,l.addClass)(t.querySelector("."+i.options.classPrefix+"currenttime").parentNode,i.options.classPrefix+"currenttime-container");var s=r.default.createElement("div");s.className=i.options.classPrefix+"time "+i.options.classPrefix+"duration-container",s.innerHTML=''+(0,a.secondsToTimeCode)(i.options.duration,i.options.alwaysShowHours,i.options.showTimecodeFrameCount,i.options.framesPerSecond,i.options.secondsDecimalLength,i.options.timeFormat)+"",i.addControlElement(s,"duration")}i.updateDurationCallback=function(){i.controlsAreVisible&&e.updateDuration()},o.addEventListener("timeupdate",i.updateDurationCallback)},cleanduration:function(e,t,n,r){r.removeEventListener("timeupdate",e.updateDurationCallback)},updateCurrent:function(){var e=this,t=e.getCurrentTime();isNaN(t)&&(t=0);var n=(0,a.secondsToTimeCode)(t,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat);n.length>5?(0,l.addClass)(e.getElement(e.container),e.options.classPrefix+"long-video"):(0,l.removeClass)(e.getElement(e.container),e.options.classPrefix+"long-video"),e.getElement(e.controls).querySelector("."+e.options.classPrefix+"currenttime")&&(e.getElement(e.controls).querySelector("."+e.options.classPrefix+"currenttime").innerText=n)},updateDuration:function(){var e=this,t=e.getDuration();void 0!==e.media&&(isNaN(t)||t===1/0||t<0)&&(e.media.duration=e.options.duration=t=0),e.options.duration>0&&(t=e.options.duration);var n=(0,a.secondsToTimeCode)(t,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat);n.length>5?(0,l.addClass)(e.getElement(e.container),e.options.classPrefix+"long-video"):(0,l.removeClass)(e.getElement(e.container),e.options.classPrefix+"long-video"),e.getElement(e.controls).querySelector("."+e.options.classPrefix+"duration")&&t>0&&(e.getElement(e.controls).querySelector("."+e.options.classPrefix+"duration").innerHTML=n)}})},{16:16,2:2,26:26,30:30}],13:[function(e,t,n){"use strict";var r=d(e(2)),o=d(e(7)),i=d(e(5)),a=e(16),l=d(a),s=e(30),u=e(27),c=e(26);function d(e){return e&&e.__esModule?e:{default:e}}Object.assign(a.config,{startLanguage:"",tracksText:null,chaptersText:null,tracksAriaLive:!1,hideCaptionsButtonWhenEmpty:!0,toggleCaptionsButtonWhenOnlyOne:!1,slidesSelector:""}),Object.assign(l.default.prototype,{hasChapters:!1,buildtracks:function(e,t,n,o){if(this.findTracks(),e.tracks.length||e.trackFiles&&0!==!e.trackFiles.length){var a=this,l=a.options.tracksAriaLive?' role="log" aria-live="assertive" aria-atomic="false"':"",s=(0,u.isString)(a.options.tracksText)?a.options.tracksText:i.default.t("mejs.captions-subtitles"),d=(0,u.isString)(a.options.chaptersText)?a.options.chaptersText:i.default.t("mejs.captions-chapters"),f=null===e.trackFiles?e.tracks.length:e.trackFiles.length;if(a.domNode.textTracks)for(var p=a.domNode.textTracks.length-1;p>=0;p--)a.domNode.textTracks[p].mode="hidden";a.cleartracks(e),e.captions=r.default.createElement("div"),e.captions.className=a.options.classPrefix+"captions-layer "+a.options.classPrefix+"layer",e.captions.innerHTML='
',e.captions.style.display="none",n.insertBefore(e.captions,n.firstChild),e.captionsText=e.captions.querySelector("."+a.options.classPrefix+"captions-text"),e.captionsButton=r.default.createElement("div"),e.captionsButton.className=a.options.classPrefix+"button "+a.options.classPrefix+"captions-button",e.captionsButton.innerHTML='
",a.addControlElement(e.captionsButton,"tracks"),e.captionsButton.querySelector("."+a.options.classPrefix+"captions-selector-input").disabled=!1,e.chaptersButton=r.default.createElement("div"),e.chaptersButton.className=a.options.classPrefix+"button "+a.options.classPrefix+"chapters-button",e.chaptersButton.innerHTML='
    ';for(var h=0,m=0;m"},checkForTracks:function(){var e=this,t=!1;if(e.options.hideCaptionsButtonWhenEmpty){for(var n=0,r=e.tracks.length;n-1){var o=t.entries[n].text;return"function"===typeof e.options.captionTextPreprocessor&&(o=e.options.captionTextPreprocessor(o)),e.captionsText.innerHTML=function(e){var t=r.default.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].remove();for(var i=t.getElementsByTagName("*"),a=0,l=i.length;a-1&&e.showSlide(n)}},drawChapters:function(e){var t=this,n=e.entries.length;if(n){t.chaptersButton.querySelector("ul").innerHTML="";for(var r=0;r";for(var o=t.chaptersButton.querySelectorAll('input[type="radio"]'),i=t.chaptersButton.querySelectorAll("."+t.options.classPrefix+"chapters-selector-label"),a=0,l=o.length;a>1].start,a=e[o].stop,t>=i&&tt&&(r=o-1)}return-1}}),o.default.language={codes:{af:"mejs.afrikaans",sq:"mejs.albanian",ar:"mejs.arabic",be:"mejs.belarusian",bg:"mejs.bulgarian",ca:"mejs.catalan",zh:"mejs.chinese","zh-cn":"mejs.chinese-simplified","zh-tw":"mejs.chines-traditional",hr:"mejs.croatian",cs:"mejs.czech",da:"mejs.danish",nl:"mejs.dutch",en:"mejs.english",et:"mejs.estonian",fl:"mejs.filipino",fi:"mejs.finnish",fr:"mejs.french",gl:"mejs.galician",de:"mejs.german",el:"mejs.greek",ht:"mejs.haitian-creole",iw:"mejs.hebrew",hi:"mejs.hindi",hu:"mejs.hungarian",is:"mejs.icelandic",id:"mejs.indonesian",ga:"mejs.irish",it:"mejs.italian",ja:"mejs.japanese",ko:"mejs.korean",lv:"mejs.latvian",lt:"mejs.lithuanian",mk:"mejs.macedonian",ms:"mejs.malay",mt:"mejs.maltese",no:"mejs.norwegian",fa:"mejs.persian",pl:"mejs.polish",pt:"mejs.portuguese",ro:"mejs.romanian",ru:"mejs.russian",sr:"mejs.serbian",sk:"mejs.slovak",sl:"mejs.slovenian",es:"mejs.spanish",sw:"mejs.swahili",sv:"mejs.swedish",tl:"mejs.tagalog",th:"mejs.thai",tr:"mejs.turkish",uk:"mejs.ukrainian",vi:"mejs.vietnamese",cy:"mejs.welsh",yi:"mejs.yiddish"}},o.default.TrackFormatParser={webvtt:{pattern:/^((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{1,3})?) --\> ((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)$/,parse:function(e){for(var t=e.split(/\r?\n/),n=[],r=void 0,o=void 0,i=void 0,a=0,l=t.length;a=0&&""!==t[a-1]&&(i=t[a-1]),o=t[++a],a++;""!==t[a]&&a$1"),n.push({identifier:i,start:0===(0,s.convertSMPTEtoSeconds)(r[1])?.2:(0,s.convertSMPTEtoSeconds)(r[1]),stop:(0,s.convertSMPTEtoSeconds)(r[3]),text:o,settings:r[5]})}i=""}return n}},dfxp:{parse:function(e){var t=r.default.adoptNode((new DOMParser).parseFromString(e,"application/xml").documentElement).querySelector("div"),n=t.querySelectorAll("p"),o=r.default.getElementById(t.getAttribute("style")),i=[],a=void 0;if(o){o.removeAttribute("id");var l=o.attributes;if(l.length){a={};for(var u=0,c=l.length;u$1"),i.push(h)}return i}}}},{16:16,2:2,26:26,27:27,30:30,5:5,7:7}],14:[function(e,t,n){"use strict";var r=c(e(2)),o=e(16),i=c(o),a=c(e(5)),l=e(25),s=e(27),u=e(26);function c(e){return e&&e.__esModule?e:{default:e}}Object.assign(o.config,{muteText:null,unmuteText:null,allyVolumeControlText:null,hideVolumeOnTouchDevices:!0,audioVolume:"horizontal",videoVolume:"vertical",startVolume:.8}),Object.assign(i.default.prototype,{buildvolume:function(e,t,n,o){if(!l.IS_ANDROID&&!l.IS_IOS||!this.options.hideVolumeOnTouchDevices){var i=this,c=i.isVideo?i.options.videoVolume:i.options.audioVolume,d=(0,s.isString)(i.options.muteText)?i.options.muteText:a.default.t("mejs.mute"),f=(0,s.isString)(i.options.unmuteText)?i.options.unmuteText:a.default.t("mejs.unmute"),p=(0,s.isString)(i.options.allyVolumeControlText)?i.options.allyVolumeControlText:a.default.t("mejs.volume-help-text"),h=r.default.createElement("div");if(h.className=i.options.classPrefix+"button "+i.options.classPrefix+"volume-button "+i.options.classPrefix+"mute",h.innerHTML="horizontal"===c?'':''+p+'
    ',i.addControlElement(h,"volume"),i.options.keyActions.push({keys:[38],action:function(e){var t=e.getElement(e.container).querySelector("."+i.options.classPrefix+"volume-slider");t&&t.matches(":focus")&&(t.style.display="block"),e.isVideo&&(e.showControls(),e.startControlsTimer());var n=Math.min(e.volume+.1,1);e.setVolume(n),n>0&&e.setMuted(!1)}},{keys:[40],action:function(e){var t=e.getElement(e.container).querySelector("."+i.options.classPrefix+"volume-slider");t&&(t.style.display="block"),e.isVideo&&(e.showControls(),e.startControlsTimer());var n=Math.max(e.volume-.1,0);e.setVolume(n),n<=.1&&e.setMuted(!0)}},{keys:[77],action:function(e){var t=e.getElement(e.container).querySelector("."+i.options.classPrefix+"volume-slider");t&&(t.style.display="block"),e.isVideo&&(e.showControls(),e.startControlsTimer()),e.media.muted?e.setMuted(!1):e.setMuted(!0)}}),"horizontal"===c){var m=r.default.createElement("a");m.className=i.options.classPrefix+"horizontal-volume-slider",m.href="javascript:void(0);",m.setAttribute("aria-label",a.default.t("mejs.volume-slider")),m.setAttribute("aria-valuemin",0),m.setAttribute("aria-valuemax",100),m.setAttribute("aria-valuenow",100),m.setAttribute("role","slider"),m.innerHTML+=''+p+'
    ',h.parentNode.insertBefore(m,h.nextSibling)}var v=!1,y=!1,g=!1,b="vertical"===c?i.getElement(i.container).querySelector("."+i.options.classPrefix+"volume-slider"):i.getElement(i.container).querySelector("."+i.options.classPrefix+"horizontal-volume-slider"),w="vertical"===c?i.getElement(i.container).querySelector("."+i.options.classPrefix+"volume-total"):i.getElement(i.container).querySelector("."+i.options.classPrefix+"horizontal-volume-total"),S="vertical"===c?i.getElement(i.container).querySelector("."+i.options.classPrefix+"volume-current"):i.getElement(i.container).querySelector("."+i.options.classPrefix+"horizontal-volume-current"),E="vertical"===c?i.getElement(i.container).querySelector("."+i.options.classPrefix+"volume-handle"):i.getElement(i.container).querySelector("."+i.options.classPrefix+"horizontal-volume-handle"),k=function(e){if(null!==e&&!isNaN(e)&&void 0!==e){if(e=Math.max(0,e),0===(e=Math.min(e,1))){(0,u.removeClass)(h,i.options.classPrefix+"mute"),(0,u.addClass)(h,i.options.classPrefix+"unmute");var t=h.firstElementChild;t.setAttribute("title",f),t.setAttribute("aria-label",f)}else{(0,u.removeClass)(h,i.options.classPrefix+"unmute"),(0,u.addClass)(h,i.options.classPrefix+"mute");var n=h.firstElementChild;n.setAttribute("title",d),n.setAttribute("aria-label",d)}var r=100*e+"%",o=getComputedStyle(E);"vertical"===c?(S.style.bottom=0,S.style.height=r,E.style.bottom=r,E.style.marginBottom=-parseFloat(o.height)/2+"px"):(S.style.left=0,S.style.width=r,E.style.left=r,E.style.marginLeft=-parseFloat(o.width)/2+"px")}},x=function(e){var t=(0,u.offset)(w),n=getComputedStyle(w);g=!0;var r=null;if("vertical"===c){var o=parseFloat(n.height);if(r=(o-(e.pageY-t.top))/o,0===t.top||0===t.left)return}else{var a=parseFloat(n.width);r=(e.pageX-t.left)/a}r=Math.max(0,r),r=Math.min(r,1),k(r),i.setMuted(0===r),i.setVolume(r),e.preventDefault(),e.stopPropagation()},C=function(){i.muted?(k(0),(0,u.removeClass)(h,i.options.classPrefix+"mute"),(0,u.addClass)(h,i.options.classPrefix+"unmute")):(k(o.volume),(0,u.removeClass)(h,i.options.classPrefix+"unmute"),(0,u.addClass)(h,i.options.classPrefix+"mute"))};e.getElement(e.container).addEventListener("keydown",(function(e){!!e.target.closest("."+i.options.classPrefix+"container")||"vertical"!==c||(b.style.display="none")})),h.addEventListener("mouseenter",(function(e){e.target===h&&(b.style.display="block",y=!0,e.preventDefault(),e.stopPropagation())})),h.addEventListener("focusin",(function(){b.style.display="block",y=!0})),h.addEventListener("focusout",(function(e){e.relatedTarget&&(!e.relatedTarget||e.relatedTarget.matches("."+i.options.classPrefix+"volume-slider"))||"vertical"!==c||(b.style.display="none")})),h.addEventListener("mouseleave",(function(){y=!1,v||"vertical"!==c||(b.style.display="none")})),h.addEventListener("focusout",(function(){y=!1})),h.addEventListener("keydown",(function(e){if(i.options.enableKeyboard&&i.options.keyActions.length){var t=e.which||e.keyCode||0,n=o.volume;switch(t){case 38:n=Math.min(n+.1,1);break;case 40:n=Math.max(0,n-.1);break;default:return!0}v=!1,k(n),o.setVolume(n),e.preventDefault(),e.stopPropagation()}})),h.querySelector("button").addEventListener("click",(function(){o.setMuted(!o.muted);var e=(0,s.createEvent)("volumechange",o);o.dispatchEvent(e)})),b.addEventListener("dragstart",(function(){return!1})),b.addEventListener("mouseover",(function(){y=!0})),b.addEventListener("focusin",(function(){b.style.display="block",y=!0})),b.addEventListener("focusout",(function(){y=!1,v||"vertical"!==c||(b.style.display="none")})),b.addEventListener("mousedown",(function(e){x(e),i.globalBind("mousemove.vol",(function(e){var t=e.target;v&&(t===b||t.closest("vertical"===c?"."+i.options.classPrefix+"volume-slider":"."+i.options.classPrefix+"horizontal-volume-slider"))&&x(e)})),i.globalBind("mouseup.vol",(function(){v=!1,y||"vertical"!==c||(b.style.display="none")})),v=!0,e.preventDefault(),e.stopPropagation()})),o.addEventListener("volumechange",(function(e){v||C(),function(){var e=Math.floor(100*o.volume);b.setAttribute("aria-valuenow",e),b.setAttribute("aria-valuetext",e+"%")}()}));var _=!1;o.addEventListener("rendererready",(function(){g||setTimeout((function(){_=!0,(0===e.options.startVolume||o.originalNode.muted)&&o.setMuted(!0),o.setVolume(e.options.startVolume),i.setControlsSize()}),250)})),o.addEventListener("loadedmetadata",(function(){setTimeout((function(){g||_||((0===e.options.startVolume||o.originalNode.muted)&&o.setMuted(!0),0===e.options.startVolume&&(e.options.startVolume=0),o.setVolume(e.options.startVolume),i.setControlsSize()),_=!1}),250)})),(0===e.options.startVolume||o.originalNode.muted)&&(o.setMuted(!0),0===e.options.startVolume&&(e.options.startVolume=0),C()),i.getElement(i.container).addEventListener("controlsresize",(function(){C()}))}}})},{16:16,2:2,25:25,26:26,27:27,5:5}],15:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});n.EN={"mejs.plural-form":1,"mejs.download-file":"Download File","mejs.install-flash":"You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/","mejs.fullscreen":"Fullscreen","mejs.play":"Play","mejs.pause":"Pause","mejs.time-slider":"Time Slider","mejs.time-help-text":"Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.","mejs.live-broadcast":"Live Broadcast","mejs.volume-help-text":"Use Up/Down Arrow keys to increase or decrease volume.","mejs.unmute":"Unmute","mejs.mute":"Mute","mejs.volume-slider":"Volume Slider","mejs.video-player":"Video Player","mejs.audio-player":"Audio Player","mejs.captions-subtitles":"Captions/Subtitles","mejs.captions-chapters":"Chapters","mejs.none":"None","mejs.afrikaans":"Afrikaans","mejs.albanian":"Albanian","mejs.arabic":"Arabic","mejs.belarusian":"Belarusian","mejs.bulgarian":"Bulgarian","mejs.catalan":"Catalan","mejs.chinese":"Chinese","mejs.chinese-simplified":"Chinese (Simplified)","mejs.chinese-traditional":"Chinese (Traditional)","mejs.croatian":"Croatian","mejs.czech":"Czech","mejs.danish":"Danish","mejs.dutch":"Dutch","mejs.english":"English","mejs.estonian":"Estonian","mejs.filipino":"Filipino","mejs.finnish":"Finnish","mejs.french":"French","mejs.galician":"Galician","mejs.german":"German","mejs.greek":"Greek","mejs.haitian-creole":"Haitian Creole","mejs.hebrew":"Hebrew","mejs.hindi":"Hindi","mejs.hungarian":"Hungarian","mejs.icelandic":"Icelandic","mejs.indonesian":"Indonesian","mejs.irish":"Irish","mejs.italian":"Italian","mejs.japanese":"Japanese","mejs.korean":"Korean","mejs.latvian":"Latvian","mejs.lithuanian":"Lithuanian","mejs.macedonian":"Macedonian","mejs.malay":"Malay","mejs.maltese":"Maltese","mejs.norwegian":"Norwegian","mejs.persian":"Persian","mejs.polish":"Polish","mejs.portuguese":"Portuguese","mejs.romanian":"Romanian","mejs.russian":"Russian","mejs.serbian":"Serbian","mejs.slovak":"Slovak","mejs.slovenian":"Slovenian","mejs.spanish":"Spanish","mejs.swahili":"Swahili","mejs.swedish":"Swedish","mejs.tagalog":"Tagalog","mejs.thai":"Thai","mejs.turkish":"Turkish","mejs.ukrainian":"Ukrainian","mejs.vietnamese":"Vietnamese","mejs.welsh":"Welsh","mejs.yiddish":"Yiddish"}},{}],16:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.config=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n
    ',e.getElement(e.container).addEventListener("focus",(function(t){if(!e.controlsAreVisible&&!e.hasFocus&&e.controlsEnabled){e.showControls(!0);var n=(0,f.isNodeAfter)(t.relatedTarget,e.getElement(e.container))?"."+e.options.classPrefix+"controls ."+e.options.classPrefix+"button:last-child > button":"."+e.options.classPrefix+"playpause-button > button";e.getElement(e.container).querySelector(n).focus()}})),e.node.parentNode.insertBefore(e.getElement(e.container),e.node),e.options.features.length||e.options.useDefaultControls||(e.getElement(e.container).style.background="transparent",e.getElement(e.container).querySelector("."+e.options.classPrefix+"controls").style.display="none"),e.isVideo&&"fill"===e.options.stretching&&!m.hasClass(e.getElement(e.container).parentNode,e.options.classPrefix+"fill-container")){e.outerContainer=e.media.parentNode;var i=a.default.createElement("div");i.className=e.options.classPrefix+"fill-container",e.getElement(e.container).parentNode.insertBefore(i,e.getElement(e.container)),i.appendChild(e.getElement(e.container))}d.IS_ANDROID&&m.addClass(e.getElement(e.container),e.options.classPrefix+"android"),d.IS_IOS&&m.addClass(e.getElement(e.container),e.options.classPrefix+"ios"),d.IS_IPAD&&m.addClass(e.getElement(e.container),e.options.classPrefix+"ipad"),d.IS_IPHONE&&m.addClass(e.getElement(e.container),e.options.classPrefix+"iphone"),m.addClass(e.getElement(e.container),e.isVideo?e.options.classPrefix+"video":e.options.classPrefix+"audio"),e.getElement(e.container).querySelector("."+e.options.classPrefix+"mediaelement").appendChild(e.node),e.media.player=e,e.controls=e.getElement(e.container).querySelector("."+e.options.classPrefix+"controls"),e.layers=e.getElement(e.container).querySelector("."+e.options.classPrefix+"layers");var u=e.isVideo?"video":"audio",p=u.substring(0,1).toUpperCase()+u.substring(1);e.options[u+"Width"]>0||e.options[u+"Width"].toString().indexOf("%")>-1?e.width=e.options[u+"Width"]:""!==e.node.style.width&&null!==e.node.style.width?e.width=e.node.style.width:e.node.getAttribute("width")?e.width=e.node.getAttribute("width"):e.width=e.options["default"+p+"Width"],e.options[u+"Height"]>0||e.options[u+"Height"].toString().indexOf("%")>-1?e.height=e.options[u+"Height"]:""!==e.node.style.height&&null!==e.node.style.height?e.height=e.node.style.height:e.node.getAttribute("height")?e.height=e.node.getAttribute("height"):e.height=e.options["default"+p+"Height"],e.initialAspectRatio=e.height>=e.width?e.width/e.height:e.height/e.width,e.setPlayerSize(e.width,e.height),t.pluginWidth=e.width,t.pluginHeight=e.height}if(l.default.MepDefaults=t,new s.default(e.media,t,e.mediaFiles),void 0!==e.getElement(e.container)&&e.options.features.length&&e.controlsAreVisible&&!e.options.hideVideoControlsOnLoad){var h=(0,f.createEvent)("controlsshown",e.getElement(e.container));e.getElement(e.container).dispatchEvent(h)}}},{key:"showControls",value:function(e){var t=this;if(e=void 0===e||e,!t.controlsAreVisible&&t.isVideo){if(e)!function(){m.fadeIn(t.getElement(t.controls),200,(function(){m.removeClass(t.getElement(t.controls),t.options.classPrefix+"offscreen");var e=(0,f.createEvent)("controlsshown",t.getElement(t.container));t.getElement(t.container).dispatchEvent(e)}));for(var e=t.getElement(t.container).querySelectorAll("."+t.options.classPrefix+"control"),n=function(n,r){m.fadeIn(e[n],200,(function(){m.removeClass(e[n],t.options.classPrefix+"offscreen")}))},r=0,o=e.length;r0)||n.isVideo&&!n.options.hideVideoControlsOnLoad&&!n.readyState||n.ended)){if(e)!function(){m.fadeOut(n.getElement(n.controls),200,(function(){m.addClass(n.getElement(n.controls),n.options.classPrefix+"offscreen"),n.getElement(n.controls).style.display="";var e=(0,f.createEvent)("controlshidden",n.getElement(n.container));n.getElement(n.container).dispatchEvent(e)}));for(var e=n.getElement(n.container).querySelectorAll("."+n.options.classPrefix+"control"),t=function(t,r){m.fadeOut(e[t],200,(function(){m.addClass(e[t],n.options.classPrefix+"offscreen"),e[t].style.display=""}))},r=0,o=e.length;r0&&e.currentMediaTime>0&&(e.setCurrentTime(e.currentMediaTime),d.IS_IOS||d.IS_ANDROID||e.play())}))}},{key:"_meReady",value:function(e,t){var n=this,r=t.getAttribute("autoplay"),o=!(void 0===r||null===r||"false"===r),s=null!==e.rendererName&&/(native|html5)/i.test(e.rendererName);if(n.getElement(n.controls)&&n.enableControls(),n.getElement(n.container)&&n.getElement(n.container).querySelector("."+n.options.classPrefix+"overlay-play")&&(n.getElement(n.container).querySelector("."+n.options.classPrefix+"overlay-play").style.display=""),!n.created){if(n.created=!0,n.media=e,n.domNode=t,(!d.IS_ANDROID||!n.options.AndroidUseNativeControls)&&(!d.IS_IPAD||!n.options.iPadUseNativeControls)&&(!d.IS_IPHONE||!n.options.iPhoneUseNativeControls)){if(!n.isVideo&&!n.options.features.length&&!n.options.useDefaultControls)return o&&s&&n.play(),void(n.options.success&&("string"===typeof n.options.success?i.default[n.options.success](n.media,n.domNode,n):n.options.success(n.media,n.domNode,n)));if(n.featurePosition={},n._setDefaultPlayer(),n.buildposter(n,n.getElement(n.controls),n.getElement(n.layers),n.media),n.buildkeyboard(n,n.getElement(n.controls),n.getElement(n.layers),n.media),n.buildoverlays(n,n.getElement(n.controls),n.getElement(n.layers),n.media),n.options.useDefaultControls){var u=["playpause","current","progress","duration","tracks","volume","fullscreen"];n.options.features=u.concat(n.options.features.filter((function(e){return-1===u.indexOf(e)})))}n.buildfeatures(n,n.getElement(n.controls),n.getElement(n.layers),n.media);var c=(0,f.createEvent)("controlsready",n.getElement(n.container));n.getElement(n.container).dispatchEvent(c),n.setPlayerSize(n.width,n.height),n.setControlsSize(),n.isVideo&&(n.clickToPlayPauseCallback=function(){if(n.options.clickToPlayPause){var e=n.getElement(n.container).querySelector("."+n.options.classPrefix+"overlay-button"),t=e.getAttribute("aria-pressed");n.paused&&t?n.pause():n.paused?n.play():n.pause(),e.setAttribute("aria-pressed",!t),n.getElement(n.container).focus()}},n.createIframeLayer(),n.media.addEventListener("click",n.clickToPlayPauseCallback),!d.IS_ANDROID&&!d.IS_IOS||n.options.alwaysShowControls?(n.getElement(n.container).addEventListener("mouseenter",(function(){n.controlsEnabled&&(n.options.alwaysShowControls||(n.killControlsTimer("enter"),n.showControls(),n.startControlsTimer(n.options.controlsTimeoutMouseEnter)))})),n.getElement(n.container).addEventListener("mousemove",(function(){n.controlsEnabled&&(n.controlsAreVisible||n.showControls(),n.options.alwaysShowControls||n.startControlsTimer(n.options.controlsTimeoutMouseEnter))})),n.getElement(n.container).addEventListener("mouseleave",(function(){n.controlsEnabled&&(n.paused||n.options.alwaysShowControls||n.startControlsTimer(n.options.controlsTimeoutMouseLeave))}))):n.node.addEventListener("touchstart",(function(){n.controlsAreVisible?n.hideControls(!1):n.controlsEnabled&&n.showControls(!1)}),!!d.SUPPORT_PASSIVE_EVENT&&{passive:!0}),n.options.hideVideoControlsOnLoad&&n.hideControls(!1),n.options.enableAutosize&&n.media.addEventListener("loadedmetadata",(function(e){var t=void 0!==e?e.detail.target||e.target:n.media;n.options.videoHeight<=0&&!n.domNode.getAttribute("height")&&!n.domNode.style.height&&null!==t&&!isNaN(t.videoHeight)&&(n.setPlayerSize(t.videoWidth,t.videoHeight),n.setControlsSize(),n.media.setSize(t.videoWidth,t.videoHeight))}))),n.media.addEventListener("play",(function(){for(var e in n.hasFocus=!0,l.default.players)if(l.default.players.hasOwnProperty(e)){var t=l.default.players[e];t.id===n.id||!n.options.pauseOtherPlayers||t.paused||t.ended||!0===t.options.ignorePauseOtherPlayersOption||(t.pause(),t.hasFocus=!1)}d.IS_ANDROID||d.IS_IOS||n.options.alwaysShowControls||!n.isVideo||n.hideControls()})),n.media.addEventListener("ended",(function(){if(n.options.autoRewind)try{n.setCurrentTime(0),setTimeout((function(){var e=n.getElement(n.container).querySelector("."+n.options.classPrefix+"overlay-loading");e&&e.parentNode&&(e.parentNode.style.display="none")}),20)}catch(e){}"function"===typeof n.media.renderer.stop?n.media.renderer.stop():n.pause(),n.setProgressRail&&n.setProgressRail(),n.setCurrentRail&&n.setCurrentRail(),n.options.loop?n.play():!n.options.alwaysShowControls&&n.controlsEnabled&&n.showControls()})),n.media.addEventListener("loadedmetadata",(function(){(0,p.calculateTimeFormat)(n.getDuration(),n.options,n.options.framesPerSecond||25),n.updateDuration&&n.updateDuration(),n.updateCurrent&&n.updateCurrent(),n.isFullScreen||(n.setPlayerSize(n.width,n.height),n.setControlsSize())}));var h=null;n.media.addEventListener("timeupdate",(function(){isNaN(n.getDuration())||h===n.getDuration()||(h=n.getDuration(),(0,p.calculateTimeFormat)(h,n.options,n.options.framesPerSecond||25),n.updateDuration&&n.updateDuration(),n.updateCurrent&&n.updateCurrent(),n.setControlsSize())})),n.getElement(n.container).addEventListener("click",(function(e){m.addClass(e.currentTarget,n.options.classPrefix+"container-keyboard-inactive")})),n.getElement(n.container).addEventListener("focusin",(function(e){m.removeClass(e.currentTarget,n.options.classPrefix+"container-keyboard-inactive"),!n.isVideo||d.IS_ANDROID||d.IS_IOS||!n.controlsEnabled||n.options.alwaysShowControls||(n.killControlsTimer("enter"),n.showControls(),n.startControlsTimer(n.options.controlsTimeoutMouseEnter))})),n.getElement(n.container).addEventListener("focusout",(function(e){setTimeout((function(){e.relatedTarget&&n.keyboardAction&&!e.relatedTarget.closest("."+n.options.classPrefix+"container")&&(n.keyboardAction=!1,!n.isVideo||n.options.alwaysShowControls||n.paused||n.startControlsTimer(n.options.controlsTimeoutMouseLeave))}),0)})),setTimeout((function(){n.setPlayerSize(n.width,n.height),n.setControlsSize()}),0),n.globalResizeCallback=function(){n.isFullScreen||d.HAS_TRUE_NATIVE_FULLSCREEN&&a.default.webkitIsFullScreen||n.setPlayerSize(n.width,n.height),n.setControlsSize()},n.globalBind("resize",n.globalResizeCallback)}o&&s&&n.play(),n.options.success&&("string"===typeof n.options.success?i.default[n.options.success](n.media,n.domNode,n):n.options.success(n.media,n.domNode,n))}}},{key:"_handleError",value:function(e,t,n){var r=this,o=r.getElement(r.layers).querySelector("."+r.options.classPrefix+"overlay-play");o&&(o.style.display="none"),r.options.error&&r.options.error(e,t,n),r.getElement(r.container).querySelector("."+r.options.classPrefix+"cannotplay")&&r.getElement(r.container).querySelector("."+r.options.classPrefix+"cannotplay").remove();var i=a.default.createElement("div");i.className=r.options.classPrefix+"cannotplay",i.style.width="100%",i.style.height="100%";var s="function"===typeof r.options.customError?r.options.customError(r.media,r.media.originalNode):r.options.customError,u="";if(!s){var c=r.media.originalNode.getAttribute("poster");if(c&&(u=''+l.default.i18n.t('),e.message&&(s="

    "+e.message+"

    "),e.urls)for(var d=0,f=e.urls.length;d'+l.default.i18n.t("mejs.download-file")+": "+p.src+""}}s&&r.getElement(r.layers).querySelector("."+r.options.classPrefix+"overlay-error")&&(i.innerHTML=s,r.getElement(r.layers).querySelector("."+r.options.classPrefix+"overlay-error").innerHTML=""+u+i.outerHTML,r.getElement(r.layers).querySelector("."+r.options.classPrefix+"overlay-error").parentNode.style.display="block"),r.controlsEnabled&&r.disableControls()}},{key:"setPlayerSize",value:function(e,t){var n=this;if(!n.options.setDimensions)return!1;switch("undefined"!==typeof e&&(n.width=e),"undefined"!==typeof t&&(n.height=t),n.options.stretching){case"fill":n.isVideo?n.setFillMode():n.setDimensions(n.width,n.height);break;case"responsive":n.setResponsiveMode();break;case"none":n.setDimensions(n.width,n.height);break;default:!0===n.hasFluidMode()?n.setResponsiveMode():n.setDimensions(n.width,n.height)}}},{key:"hasFluidMode",value:function(){var e=this;return-1!==e.height.toString().indexOf("%")||e.node&&e.node.style.maxWidth&&"none"!==e.node.style.maxWidth&&e.node.style.maxWidth!==e.width||e.node&&e.node.currentStyle&&"100%"===e.node.currentStyle.maxWidth}},{key:"setResponsiveMode",value:function(){var e=this,t=function(){for(var t=void 0,n=e.getElement(e.container);n;){try{if(d.IS_FIREFOX&&"html"===n.tagName.toLowerCase()&&i.default.self!==i.default.top&&null!==i.default.frameElement)return i.default.frameElement;t=n.parentElement}catch(r){t=n.parentElement}if(t&&m.visible(t))return t;n=t}return null}(),n=t?getComputedStyle(t,null):getComputedStyle(a.default.body,null),r=e.isVideo?e.node.videoWidth&&e.node.videoWidth>0?e.node.videoWidth:e.node.getAttribute("width")?e.node.getAttribute("width"):e.options.defaultVideoWidth:e.options.defaultAudioWidth,o=e.isVideo?e.node.videoHeight&&e.node.videoHeight>0?e.node.videoHeight:e.node.getAttribute("height")?e.node.getAttribute("height"):e.options.defaultVideoHeight:e.options.defaultAudioHeight,l=function(){if(!e.options.enableAutosize)return e.initialAspectRatio;var t=1;return e.isVideo?(t=e.node.videoWidth&&e.node.videoWidth>0&&e.node.videoHeight&&e.node.videoHeight>0?e.height>=e.width?e.node.videoWidth/e.node.videoHeight:e.node.videoHeight/e.node.videoWidth:e.initialAspectRatio,(isNaN(t)||t<.01||t>100)&&(t=1),t):t}(),s=parseFloat(n.height),u=void 0,c=parseFloat(n.width);if(u=e.isVideo?"100%"===e.height?parseFloat(c*o/r,10):e.height>=e.width?parseFloat(c/l,10):parseFloat(c*l,10):o,isNaN(u)&&(u=s),e.getElement(e.container).parentNode.length>0&&"body"===e.getElement(e.container).parentNode.tagName.toLowerCase()&&(c=i.default.innerWidth||a.default.documentElement.clientWidth||a.default.body.clientWidth,u=i.default.innerHeight||a.default.documentElement.clientHeight||a.default.body.clientHeight),u&&c){e.getElement(e.container).style.width=c+"px",e.getElement(e.container).style.height=u+"px",e.node.style.width="100%",e.node.style.height="100%",e.isVideo&&e.media.setSize&&e.media.setSize(c,u);for(var f=e.getElement(e.layers).children,p=0,h=f.length;pimg");s&&(s.style.display="");for(var u=e.getElement(e.container).querySelectorAll("object, embed, iframe, video"),c=e.height,f=e.width,p=o,h=c*o/f,v=f*l/c,y=l,g=v>o===!1,b=g?Math.floor(p):Math.floor(v),w=g?Math.floor(h):Math.floor(y),S=g?o+"px":b+"px",E=g?w+"px":l+"px",k=0,x=u.length;k-1?e:parseFloat(e)+"px",t=(0,f.isString)(t)&&t.indexOf("%")>-1?t:parseFloat(t)+"px",n.getElement(n.container).style.width=e,n.getElement(n.container).style.height=t;for(var r=n.getElement(n.layers).children,o=0,i=r.length;o-1&&!a.default.getElementById(e.media.id+"-iframe-overlay")){var t=a.default.createElement("div"),n=a.default.getElementById(e.media.id+"_"+e.media.rendererName);t.id=e.media.id+"-iframe-overlay",t.className=e.options.classPrefix+"iframe-overlay",t.addEventListener("click",(function(t){e.options.clickToPlayPause&&(e.paused?e.play():e.pause(),t.preventDefault(),t.stopPropagation())})),n.parentNode.insertBefore(t,n)}}},{key:"resetSize",value:function(){var e=this;setTimeout((function(){e.setPlayerSize(e.width,e.height),e.setControlsSize()}),50)}},{key:"setPoster",value:function(e){var t=this;if(t.getElement(t.container)){var n=t.getElement(t.container).querySelector("."+t.options.classPrefix+"poster");n||((n=a.default.createElement("div")).className=t.options.classPrefix+"poster "+t.options.classPrefix+"layer",t.getElement(t.layers).appendChild(n));var r=n.querySelector("img");!r&&e&&((r=a.default.createElement("img")).className=t.options.classPrefix+"poster-img",r.width="100%",r.height="100%",n.style.display="",n.appendChild(r)),e?(r.setAttribute("src",e),n.style.backgroundImage='url("'+e+'")',n.style.display=""):r?(n.style.backgroundImage="none",n.style.display="none",r.remove()):n.style.display="none"}else(d.IS_IPAD&&t.options.iPadUseNativeControls||d.IS_IPHONE&&t.options.iPhoneUseNativeControls||d.IS_ANDROID&&t.options.AndroidUseNativeControls)&&(t.media.originalNode.poster=e)}},{key:"changeSkin",value:function(e){var t=this;t.getElement(t.container).className=t.options.classPrefix+"container "+e,t.setPlayerSize(t.width,t.height),t.setControlsSize()}},{key:"globalBind",value:function(e,t){var n=this,r=n.node?n.node.ownerDocument:a.default;if((e=(0,f.splitEvents)(e,n.id)).d)for(var o=e.d.split(" "),l=0,s=o.length;l',n.appendChild(i),l.style.display="none",l.className=o.options.classPrefix+"overlay "+o.options.classPrefix+"layer",l.innerHTML='
    ',n.appendChild(l),s.className=o.options.classPrefix+"overlay "+o.options.classPrefix+"layer "+o.options.classPrefix+"overlay-play",s.innerHTML='
    ',s.addEventListener("click",(function(){if(o.options.clickToPlayPause){var e=o.getElement(o.container).querySelector("."+o.options.classPrefix+"overlay-button"),t=e.getAttribute("aria-pressed");o.paused?o.play():o.pause(),e.setAttribute("aria-pressed",!!t),o.getElement(o.container).focus()}})),s.addEventListener("keydown",(function(e){var t=e.keyCode||e.which||0;if(13===t||d.IS_FIREFOX&&32===t){var n=(0,f.createEvent)("click",s);return s.dispatchEvent(n),!1}})),n.appendChild(s),null!==o.media.rendererName&&(/(youtube|facebook)/i.test(o.media.rendererName)&&!(o.media.originalNode.getAttribute("poster")||e.options.poster||"function"===typeof o.media.renderer.getPosterUrl&&o.media.renderer.getPosterUrl())||d.IS_STOCK_ANDROID||o.media.originalNode.getAttribute("autoplay"))&&(s.style.display="none");var u=!1;r.addEventListener("play",(function(){s.style.display="none",i.style.display="none",l.style.display="none",u=!1})),r.addEventListener("playing",(function(){s.style.display="none",i.style.display="none",l.style.display="none",u=!1})),r.addEventListener("seeking",(function(){s.style.display="none",i.style.display="",u=!1})),r.addEventListener("seeked",(function(){s.style.display=o.paused&&!d.IS_STOCK_ANDROID?"":"none",i.style.display="none",u=!1})),r.addEventListener("pause",(function(){i.style.display="none",d.IS_STOCK_ANDROID||u||(s.style.display=""),u=!1})),r.addEventListener("waiting",(function(){i.style.display="",u=!1})),r.addEventListener("loadeddata",(function(){i.style.display="",d.IS_ANDROID&&(r.canplayTimeout=setTimeout((function(){if(a.default.createEvent){var e=a.default.createEvent("HTMLEvents");return e.initEvent("canplay",!0,!0),r.dispatchEvent(e)}}),300)),u=!1})),r.addEventListener("canplay",(function(){i.style.display="none",clearTimeout(r.canplayTimeout),u=!1})),r.addEventListener("error",(function(e){o._handleError(e,o.media,o.node),i.style.display="none",s.style.display="none",u=!0})),r.addEventListener("loadedmetadata",(function(){o.controlsEnabled||o.enableControls()})),r.addEventListener("keydown",(function(t){o.onkeydown(e,r,t),u=!1}))}}},{key:"buildkeyboard",value:function(e,t,n,r){var o=this;o.getElement(o.container).addEventListener("keydown",(function(){o.keyboardAction=!0})),o.globalKeydownCallback=function(t){var n=a.default.activeElement.closest("."+o.options.classPrefix+"container"),i=o.media.closest("."+o.options.classPrefix+"container");return o.hasFocus=!(!n||!i||n.id!==i.id),o.onkeydown(e,r,t)},o.globalClickCallback=function(e){o.hasFocus=!!e.target.closest("."+o.options.classPrefix+"container")},o.globalBind("keydown",o.globalKeydownCallback),o.globalBind("click",o.globalClickCallback)}},{key:"onkeydown",value:function(e,t,n){if(e.hasFocus&&e.options.enableKeyboard)for(var r=0,o=e.options.keyActions.length;rimg");(r&&e.node.setAttribute("poster",r.src),delete e.node.autoplay,e.node.setAttribute("src",""),""!==e.media.canPlayType((0,h.getTypeFromFile)(n))&&e.node.setAttribute("src",n),t&&t.indexOf("iframe")>-1)&&a.default.getElementById(e.media.id+"-iframe-overlay").remove();var o=e.node.cloneNode();if(o.style.display="",e.getElement(e.container).parentNode.insertBefore(o,e.getElement(e.container)),e.node.remove(),e.mediaFiles)for(var i=0,l=e.mediaFiles.length;i-1},create:function(e,t,n){var s=e.originalNode,u=e.id+"_"+t.prefix,c=s.autoplay,d=s.children,p=null,h=null;s.removeAttribute("type");for(var m=0,v=d.length;m0)for(var k=0,x=n.length;kt[0]||n[0]===t[0]&&n[1]>t[1]||n[0]===t[0]&&n[1]===t[1]&&n[2]>=t[2]},addPlugin:function(e,t,n,r,o){p.plugins[e]=p.detectPlugin(t,n,r,o)},detectPlugin:function(e,t,n,i){var a=[0,0,0],l=void 0,s=void 0;if(null!==c.NAV.plugins&&void 0!==c.NAV.plugins&&"object"===r(c.NAV.plugins[e])){if((l=c.NAV.plugins[e].description)&&("undefined"===typeof c.NAV.mimeTypes||!c.NAV.mimeTypes[t]||c.NAV.mimeTypes[t].enabledPlugin))for(var u=0,d=(a=l.replace(e,"").replace(/^\s+/,"").replace(/\sr/gi,".").split(".")).length;u
    '+l.default.t("mejs.install-flash")+"
    "}else N=['id="__'+r.id+'"','name="__'+r.id+'"','play="true"','loop="false"','quality="high"','bgcolor="#000000"','wmode="transparent"','allowScriptAccess="'+r.options.shimScriptAccess+'"','allowFullScreen="true"','type="application/x-shockwave-flash"','pluginspage="//www.macromedia.com/go/getflashplayer"','src="'+r.options.pluginPath+r.options.filename+'"','flashvars="'+_.join("&")+'"'],P?(N.push('width="'+L+'"'),N.push('height="'+T+'"')):N.push('style="position: fixed; left: -9999em; top: -9999em;"'),r.flashWrapper.innerHTML="";if(r.flashNode=r.flashWrapper.lastChild,r.hide=function(){f=!1,P&&(r.flashNode.style.display="none")},r.show=function(){f=!0,P&&(r.flashNode.style.display="")},r.setSize=function(e,t){r.flashNode.style.width=e+"px",r.flashNode.style.height=t+"px",null!==r.flashApi&&"function"===typeof r.flashApi.fire_setSize&&r.flashApi.fire_setSize(e,t)},r.destroy=function(){r.flashNode.remove()},n&&n.length>0)for(var j=0,I=n.length;j-1},create:function(e,t,n){var s=e.originalNode,u=e.id+"_"+t.prefix,c=null,d=null;c=s.cloneNode(!0),t=Object.assign(t,e.options);for(var p=i.default.html5media.properties,h=i.default.html5media.events.concat(["click","mouseover","mouseout"]).filter((function(e){return"error"!==e})),m=function(t){var n=(0,l.createEvent)(t.type,e);e.dispatchEvent(n)},v=function(e){var n=""+e.substring(0,1).toUpperCase()+e.substring(1);c["get"+n]=function(){return null!==d?c[e]:null},c["set"+n]=function(n){if(-1===i.default.html5media.readOnlyProperties.indexOf(e))if("src"===e){if(c[e]="object"===("undefined"===typeof n?"undefined":r(n))&&n.src?n.src:n,null!==d){var o={type:"flv"};o.url=n,o.cors=t.flv.cors,o.debug=t.flv.debug,o.path=t.flv.path;var a=t.flv.configs;d.destroy();for(var l=0,s=h.length;l0)for(var b=0,w=n.length;b-1},create:function(e,t,n){var s=e.originalNode,u=e.id+"_"+t.prefix,c=s.getAttribute("preload"),d=s.autoplay,p=null,h=null,m=0,v=n.length;h=s.cloneNode(!0),(t=Object.assign(t,e.options)).hls.autoStartLoad=c&&"none"!==c||d;for(var y=i.default.html5media.properties,g=i.default.html5media.events.concat(["click","mouseover","mouseout"]).filter((function(e){return"error"!==e})),b=function(t){var n=(0,l.createEvent)(t.type,e);e.dispatchEvent(n)},w=function(e){var n=""+e.substring(0,1).toUpperCase()+e.substring(1);h["get"+n]=function(){return null!==p?h[e]:null},h["set"+n]=function(n){if(-1===i.default.html5media.readOnlyProperties.indexOf(e))if("src"===e){if(h[e]="object"===("undefined"===typeof n?"undefined":r(n))&&n.src?n.src:n,null!==p){p.destroy();for(var o=0,a=g.length;o3e3)s=(new Date).getTime(),p.recoverMediaError();else if(!u||o-u>3e3)u=(new Date).getTime(),console.warn("Attempting to swap Audio Codec and recover from media error"),p.swapAudioCodec(),p.recoverMediaError();else{var i="Cannot recover, last media error recovery failed";e.generateError(i,h.src),console.error(i)}break;case"networkError":if("manifestLoadError"===r.details)if(m0)for(;m0)for(;g0;){var e=d.iframeQueue.pop();d.createIframe(e)}},createIframe:function(e){return new YT.Player(e.containerId,e)},getYouTubeId:function(e){var t="";e.indexOf("?")>0?""===(t=d.getYouTubeIdFromParam(e))&&(t=d.getYouTubeIdFromUrl(e)):t=d.getYouTubeIdFromUrl(e);var n=t.substring(t.lastIndexOf("/")+1);return(t=n.split("?"))[0]},getYouTubeIdFromParam:function(e){if(void 0===e||null===e||!e.trim().length)return null;for(var t=e.split("?")[1].split("&"),n="",r=0,o=t.length;r-1)&&!P.playerVars.playlist&&-1===e.originalNode.src.indexOf("playlist=")&&(P.playerVars.playlist=d.getYouTubeId(e.originalNode.src)),d.enqueueIframe(P),a.onEvent=function(t,n,r){null!==r&&void 0!==r&&(e.youTubeState=r)},a.setSize=function(e,t){null!==u&&u.setSize(e,t)},a.hide=function(){a.stopInterval(),a.pause(),p&&(p.style.display="none")},a.show=function(){p&&(p.style.display="")},a.destroy=function(){u.destroy()},a.interval=null,a.startInterval=function(){a.interval=setInterval((function(){var t=(0,l.createEvent)("timeupdate",a);e.dispatchEvent(t)}),250)},a.stopInterval=function(){a.interval&&clearInterval(a.interval)},a.getPosterUrl=function(){var n=t.youtube.imageQuality,r=d.getYouTubeId(e.originalNode.src);return n&&["default","hqdefault","mqdefault","sddefault","maxresdefault"].indexOf(n)>-1&&r?"https://img.youtube.com/vi/"+r+"/"+n+".jpg":""},a}};r.default.onYouTubePlayerAPIReady=function(){d.iFrameReady()},s.typeChecks.push((function(e){return/\/\/(www\.youtube|youtu\.?be)/i.test(e)?"video/x-youtube":null})),a.renderer.add(f)},{2:2,26:26,27:27,28:28,3:3,7:7,8:8}],25:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.cancelFullScreen=n.requestFullScreen=n.isFullScreen=n.FULLSCREEN_EVENT_NAME=n.HAS_NATIVE_FULLSCREEN_ENABLED=n.HAS_TRUE_NATIVE_FULLSCREEN=n.HAS_IOS_FULLSCREEN=n.HAS_MS_NATIVE_FULLSCREEN=n.HAS_MOZ_NATIVE_FULLSCREEN=n.HAS_WEBKIT_NATIVE_FULLSCREEN=n.HAS_NATIVE_FULLSCREEN=n.SUPPORTS_NATIVE_HLS=n.SUPPORT_PASSIVE_EVENT=n.SUPPORT_POINTER_EVENTS=n.HAS_MSE=n.IS_STOCK_ANDROID=n.IS_SAFARI=n.IS_FIREFOX=n.IS_CHROME=n.IS_EDGE=n.IS_IE=n.IS_ANDROID=n.IS_IOS=n.IS_IPOD=n.IS_IPHONE=n.IS_IPAD=n.UA=n.NAV=void 0;var r=a(e(3)),o=a(e(2)),i=a(e(7));function a(e){return e&&e.__esModule?e:{default:e}}for(var l=n.NAV=r.default.navigator,s=n.UA=l.userAgent.toLowerCase(),u=n.IS_IPAD=/ipad/i.test(s)&&!r.default.MSStream,c=n.IS_IPHONE=/iphone/i.test(s)&&!r.default.MSStream,d=n.IS_IPOD=/ipod/i.test(s)&&!r.default.MSStream,f=(n.IS_IOS=/ipad|iphone|ipod/i.test(s)&&!r.default.MSStream,n.IS_ANDROID=/android/i.test(s)),p=n.IS_IE=/(trident|microsoft)/i.test(l.appName),h=(n.IS_EDGE="msLaunchUri"in l&&!("documentMode"in o.default)),m=n.IS_CHROME=/chrome/i.test(s),v=n.IS_FIREFOX=/firefox/i.test(s),y=n.IS_SAFARI=/safari/i.test(s)&&!m,g=n.IS_STOCK_ANDROID=/^mozilla\/\d+\.\d+\s\(linux;\su;/i.test(s),b=(n.HAS_MSE="MediaSource"in r.default),w=n.SUPPORT_POINTER_EVENTS=function(){var e=o.default.createElement("x"),t=o.default.documentElement,n=r.default.getComputedStyle;if(!("pointerEvents"in e.style))return!1;e.style.pointerEvents="auto",e.style.pointerEvents="x",t.appendChild(e);var i=n&&"auto"===(n(e,"")||{}).pointerEvents;return e.remove(),!!i}(),S=n.SUPPORT_PASSIVE_EVENT=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});r.default.addEventListener("test",null,t)}catch(n){}return e}(),E=["source","track","audio","video"],k=void 0,x=0,C=E.length;x1&&void 0!==arguments[1]?arguments[1]:400,n=arguments[2];e.style.opacity||(e.style.opacity=1);var o=null;r.default.requestAnimationFrame((function i(a){var l=a-(o=o||a),s=parseFloat(1-l/t,2);e.style.opacity=s<0?0:s,l>t?n&&"function"===typeof n&&n():r.default.requestAnimationFrame(i)}))}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:400,n=arguments[2];e.style.opacity||(e.style.opacity=0);var o=null;r.default.requestAnimationFrame((function i(a){var l=a-(o=o||a),s=parseFloat(l/t,2);e.style.opacity=s>1?1:s,l>t?n&&"function"===typeof n&&n():r.default.requestAnimationFrame(i)}))}function g(e,t){var n=[];e=e.parentNode.firstChild;do{t&&!t(e)||n.push(e)}while(e=e.nextSibling);return n}function b(e){return void 0!==e.getClientRects&&"function"===e.getClientRects?!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length):!(!e.offsetWidth&&!e.offsetHeight)}function w(e,t,n,o){var i=r.default.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP"),a="application/x-www-form-urlencoded; charset=UTF-8",l=!1,s="*/".concat("*");switch(t){case"text":a="text/plain";break;case"json":a="application/json, text/javascript";break;case"html":a="text/html";break;case"xml":a="application/xml, text/xml"}"application/x-www-form-urlencoded"!==a&&(s=a+", */*; q=0.01"),i&&(i.open("GET",e,!0),i.setRequestHeader("Accept",s),i.onreadystatechange=function(){if(!l&&4===i.readyState)if(200===i.status){l=!0;var e=void 0;switch(t){case"json":e=JSON.parse(i.responseText);break;case"xml":e=i.responseXML;break;default:e=i.responseText}n(e)}else"function"===typeof o&&o(i.status)},i.send())}i.default.Utils=i.default.Utils||{},i.default.Utils.offset=s,i.default.Utils.hasClass=f,i.default.Utils.addClass=p,i.default.Utils.removeClass=h,i.default.Utils.toggleClass=m,i.default.Utils.fadeIn=y,i.default.Utils.fadeOut=v,i.default.Utils.siblings=g,i.default.Utils.visible=b,i.default.Utils.ajax=w,i.default.Utils.loadScript=l},{2:2,3:3,7:7}],27:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.escapeHTML=a,n.debounce=l,n.isObjectEmpty=s,n.splitEvents=u,n.createEvent=c,n.isNodeAfter=d,n.isString=f;var r,o=e(7),i=(r=o)&&r.__esModule?r:{default:r};function a(e){if("string"!==typeof e)throw new Error("Argument passed must be a string");var t={"&":"&","<":"<",">":">",'"':"""};return e.replace(/[&<>"]/g,(function(e){return t[e]}))}function l(e,t){var n=this,r=arguments,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("function"!==typeof e)throw new Error("First argument must be a function");if("number"!==typeof t)throw new Error("Second argument must be a numeric value");var i=void 0;return function(){var a=n,l=r,s=o&&!i;clearTimeout(i),i=setTimeout((function(){i=null,o||e.apply(a,l)}),t),s&&e.apply(a,l)}}function s(e){return Object.getOwnPropertyNames(e).length<=0}function u(e,t){var n=/^((after|before)print|(before)?unload|hashchange|message|o(ff|n)line|page(hide|show)|popstate|resize|storage)\b/,r={d:[],w:[]};return(e||"").split(" ").forEach((function(e){var o=e+(t?"."+t:"");o.startsWith(".")?(r.d.push(o),r.w.push(o)):r[n.test(e)?"w":"d"].push(o)})),r.d=r.d.join(" "),r.w=r.w.join(" "),r}function c(e,t){if("string"!==typeof e)throw new Error("Event name must be a string");var n=e.match(/([a-z]+\.([a-z]+))/i),r={target:t};return null!==n&&(e=n[1],r.namespace=n[2]),new window.CustomEvent(e,{detail:r})}function d(e,t){return!!(e&&t&&2&e.compareDocumentPosition(t))}function f(e){return"string"===typeof e}i.default.Utils=i.default.Utils||{},i.default.Utils.escapeHTML=a,i.default.Utils.debounce=l,i.default.Utils.isObjectEmpty=s,i.default.Utils.splitEvents=u,i.default.Utils.createEvent=c,i.default.Utils.isNodeAfter=d,i.default.Utils.isString=f},{7:7}],28:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.typeChecks=void 0,n.absolutizeUrl=s,n.formatType=u,n.getMimeFromType=c,n.getTypeFromFile=d,n.getExtension=f,n.normalizeExtension=p;var r,o=e(7),i=(r=o)&&r.__esModule?r:{default:r},a=e(27);var l=n.typeChecks=[];function s(e){if("string"!==typeof e)throw new Error("`url` argument must be a string");var t=document.createElement("div");return t.innerHTML='x',t.firstChild.href}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e&&!t?d(e):t}function c(e){if("string"!==typeof e)throw new Error("`type` argument must be a string");return e&&e.indexOf(";")>-1?e.substr(0,e.indexOf(";")):e}function d(e){if("string"!==typeof e)throw new Error("`url` argument must be a string");for(var t=0,n=l.length;t=0&&t.item(n)!==this;);return n>-1}),window.Element&&!Element.prototype.closest&&(Element.prototype.closest=function(e){var t=(this.document||this.ownerDocument).querySelectorAll(e),n=void 0,r=this;do{for(n=t.length;--n>=0&&t.item(n)!==r;);}while(n<0&&(r=r.parentElement));return r}),function(){for(var e=0,t=["ms","moz","webkit","o"],n=0;n0&&void 0!==arguments[0]?arguments[0]:25)%1===0)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:25,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"hh:mm:ss";e=!e||"number"!==typeof e||e<0?0:e;var l=Math.round(.066666*r),s=Math.round(r),u=24*Math.round(3600*r),c=Math.round(600*r),d=a(r)?";":":",f=void 0,p=void 0,h=void 0,m=void 0,v=Math.round(e*r);if(a(r)){v<0&&(v=u+v);var y=(v%=u)%c;v+=9*l*Math.floor(v/c),y>l&&(v+=l*Math.floor((y-l)/Math.round(60*s-l)));var g=Math.floor(v/s);f=Math.floor(Math.floor(g/60)/60),p=Math.floor(g/60)%60,h=n?g%60:Math.floor(v/s%60).toFixed(o)}else f=Math.floor(e/3600)%24,p=Math.floor(e/60)%60,h=n?Math.floor(e%60):Math.floor(e%60).toFixed(o);f=f<=0?0:f,h=60===(h=h<=0?0:h)?0:h,p=60===(p=p<=0?0:p)?0:p;for(var b=i.split(":"),w={},S=0,E=b.length;S0?(f<10&&w.h>1?"0"+f:f)+":":"";return _+=(p<10&&w.m>1?"0"+p:p)+":",_+=""+(h<10&&w.s>1?"0"+h:h),n&&(_+=(m=(m=(v%s).toFixed(0))<=0?0:m)<10&&w.f?d+"0"+m:""+d+m),_}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:25;if("string"!==typeof e)throw new TypeError("Time must be a string");if(e.indexOf(";")>0&&(e=e.replace(";",":")),!/\d{2}(\:\d{2}){0,3}/i.test(e))throw new TypeError("Time code must have the format `00:00:00`");var n=e.split(":"),r=void 0,o=0,i=0,l=0,s=0,u=0,c=Math.round(.066666*t),d=Math.round(t),f=3600*d,p=60*d;switch(n.length){default:case 1:l=parseInt(n[0],10);break;case 2:i=parseInt(n[0],10),l=parseInt(n[1],10);break;case 3:o=parseInt(n[0],10),i=parseInt(n[1],10),l=parseInt(n[2],10);break;case 4:o=parseInt(n[0],10),i=parseInt(n[1],10),l=parseInt(n[2],10),s=parseInt(n[3],10)}return r=a(t)?f*o+p*i+d*l+s-c*((u=60*o+i)-Math.floor(u/10)):(f*o+p*i+t*l+s)/t,parseFloat(r.toFixed(3))}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:25;e=!e||"number"!==typeof e||e<0?0:e;for(var r=Math.floor(e/3600)%24,o=Math.floor(e/60)%60,i=Math.floor(e%60),a=[[Math.floor((e%1*n).toFixed(3)),"f"],[i,"s"],[o,"m"],[r,"h"]],l=t.timeFormat,s=l[1]===l[0],u=s?2:1,c=l.length0){m=!0;break}if(!m)break;s||(l=d+l),l=a[p][1]+c+l,s&&(l=a[p][1]+l),d=a[p][1]}t.timeFormat=l}function c(e){if("string"!==typeof e)throw new TypeError("Argument must be a string value");for(var t=~(e=e.replace(",",".")).indexOf(".")?e.split(".")[1].length:0,n=0,r=1,o=0,i=(e=e.split(":").reverse()).length;o0&&(r=Math.pow(60,o)),n+=Number(e[o])*r;return Number(n.toFixed(t))}i.default.Utils=i.default.Utils||{},i.default.Utils.secondsToTimeCode=l,i.default.Utils.timeCodeToSeconds=s,i.default.Utils.calculateTimeFormat=u,i.default.Utils.convertSMPTEtoSeconds=c},{7:7}]},{},[29,6,5,15,23,20,19,21,22,24,16,18,17,9,10,11,12,13,14])},177:function(e,t,n){n(61)},725:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,o){for(var i,a,l=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s