!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=10)}([function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"a",(function(){return u}));var o=n(2);function i(e,t){for(var n=0;n=i&&e.src&&-1!=e.src.indexOf("https://")&&(i=e.width,r=e.src)})),o.setSrc(r),t&&t.name&&o.domNode&&o.domNode.setAttribute("data-title",t.name),"function"==typeof e.callback&&e.callback(o)})).catch((function(t){e.RenderPlayerError(t)})):(this.RenderPlayerError(d.VideoIdRequired),console.error(d.VideoIdRequired)):(this.RenderPlayerError(d.BrightcoveOptionsRequired),console.error(d.BrightcoveOptionsRequired))}},{key:"RenderGeneralPlayer",value:function(){var e=this;this.type==a.live&&(this.mediaElementOptions.forceLive=!0),this.mediaElementOptions.useFakeFullscreen=!0,this.mediaElementOptions.alwaysShowHours=!0,this.mediaElementOptions.error=function(){e.PlayerErrorAccessibility()};var t=new MediaElementPlayer(this.elementId,this.mediaElementOptions);this.ApplyPlayerSkin(t),"function"==typeof this.callback&&this.callback(t)}},{key:"PlayerErrorAccessibility",value:function(){for(var e=document.getElementById(this.elementId).parentElement,t=this.mediaElementOptions.classPrefix?this.mediaElementOptions.classPrefix:"mejs__",n="".concat(t,"container");e&&e.className&&e.className.indexOf(n)<0;)e=e.parentElement;if(e&&e.className&&e.className.indexOf(n)>-1&&e.id){var o=document.querySelector("#".concat(e.id," .").concat(t,"overlay-error"));o&&(o.setAttribute("role","button"),o.setAttribute("tabindex","0"))}}},{key:"ApplyPlayerSkin",value:function(e){this.skin&&document.getElementById(e.id).classList.add(this.skin),this.icons&&this.ApplyPlayerIcons(e);var t="";if(this.primaryColor){e.controls.style.background=this.primaryColor;var n="#".concat(e.id," .mejs__share-selector,\n #").concat(e.id," .mejs__share-button,\n #").concat(e.id," .mejs__captions-button>.mejs__captions-selector, \n #").concat(e.id," .mejs__chapters-button>.mejs__chapters-selector,\n #").concat(e.id," .mejs__captions-button, .mejs__chapters-button,\n #").concat(e.id," .mejs__volume-slider,\n #").concat(e.id," .mejs__volume-button");t+="".concat(n," {background-color: inherit;}")}if(this.secondaryColor){var o="#".concat(e.id," .mejs__time-current"),i="#".concat(e.id," .mejs__volume-current"),r="#".concat(e.id," .mejs__volume-handle"),a="#".concat(e.id," .mejs__captions-selected");t+="".concat(o,", ").concat(i,", ").concat(r,", ").concat(a,"{background-color: ").concat(this.secondaryColor,";}")}if(this.sliderColor){var s="#".concat(e.id," .mejs__time-slider"),l="#".concat(e.id," .mejs__volume-total");t+="".concat(s,",").concat(l," {background: ").concat(this.sliderColor,"}")}if(this.textColor){e.controls.style.color=this.textColor;var c="#".concat(e.id," .mejs__captions-selected"),d="#".concat(e.id," .mejs__time,\n #").concat(e.id," .mejs__captions-selector-list-item,\n #").concat(e.id," .mejs__chapters-selector-list-item,\n #").concat(e.id," .mejs__share-selector-list-item > a,\n #").concat(e.id," .mejs__share-selector-list-item > a:visited,\n #").concat(e.id," .mejs__share-selector-list-item > a:active,\n #").concat(e.id," .mejs__share-selector-list-item > a:hover");t+="".concat(c,",").concat(d,"{color: inherit;}")}if(this.highlightedTextColor){var u="#".concat(e.id," .mejs__captions-selected");t+="".concat(u,"{color: ").concat(this.highlightedTextColor,";}")}if(this.fonts&&(e.controls.style.fontFamily=this.fonts),this.iconPrimaryColor&&this.iconSecondaryColor){this.iconPrimaryColor=encodeURIComponent(this.iconPrimaryColor),this.iconSecondaryColor=encodeURIComponent(this.iconSecondaryColor);var f="data:image/svg+xml,",p="data:image/svg+xml, ",m="#".concat(e.id," .mejs__overlay-button,\n #").concat(e.id," .mejs__overlay-loading-bg-img,\n #").concat(e.id," .mejs__button > button");t+="".concat(m,'{background-image: url("').concat(f,'");}');var h="#".concat(e.id," .mejs__share-selector-list-item > a > i, \n #").concat(e.id," .mejs__share-button > button");t+="".concat(h,'{background-image: url("').concat(p,'");}')}if(t){var v=document.createElement("style");v.type="text/css",(document.head||document.getElementsByTagName("head")[0]).appendChild(v),v.styleSheet?v.styleSheet.cssText=t:v.appendChild(document.createTextNode(t))}}},{key:"ApplyPlayerIcons",value:function(e){if(this.icons.play){var t=document.querySelector("#".concat(e.id," .mejs__playpause-button > button"));if(t){var n=t.innerHTML;t.innerHTML=this.icons.play+'"),t.firstChild.classList.add("play-icon"),t.firstChild.style.height=t.firstChild.style.width="100%",t.innerHTML=t.innerHTML+n}}if(this.icons.pause){var o=document.querySelector("#".concat(e.id," .mejs__playpause-button > button"));if(o){var i=o.innerHTML;o.innerHTML=this.icons.pause+'"),o.firstChild.classList.add("pause-icon"),o.firstChild.style.height=o.firstChild.style.width="100%",o.innerHTML=o.innerHTML+i}}if(this.icons.share){var r=document.querySelector("#".concat(e.id," .mejs__share-button > button"));r&&(r.style.backgroundImage="none",r.innerHTML=this.icons.share,r.firstChild.style.height=r.firstChild.style.width="100%")}if(this.icons.facebook){var a=document.querySelector("#".concat(e.id," .mejs__share-selector-list .mejs__share-selector-list-item i.facebook"));a&&(a.style.backgroundImage="none",a.innerHTML=this.icons.facebook,a.firstChild.style.height=a.firstChild.style.width="100%")}if(this.icons.twitter){var s=document.querySelector("#".concat(e.id," .mejs__share-selector-list .mejs__share-selector-list-item i.twitter"));s&&(s.style.backgroundImage="none",s.innerHTML=this.icons.twitter,s.firstChild.style.height=s.firstChild.style.width="100%")}if(this.icons.email){var l=document.querySelector("#".concat(e.id," .mejs__share-selector-list .mejs__share-selector-list-item i.email"));l&&(l.style.backgroundImage="none",l.innerHTML=this.icons.email,l.firstChild.style.height=l.firstChild.style.width="100%")}if(this.icons.linkedin){var c=document.querySelector("#".concat(e.id," .mejs__share-selector-list .mejs__share-selector-list-item i.linkedin"));c&&(c.style.backgroundImage="none",c.innerHTML=this.icons.linkedin,c.firstChild.style.height=c.firstChild.style.width="100%")}if(this.icons.caption){var d=document.querySelector("#".concat(e.id," .mejs__captions-button > button"));d&&(d.style.backgroundImage="none",d.innerHTML=this.icons.caption,d.firstChild.style.height=d.firstChild.style.width="100%")}if(this.icons.volume){var u=document.querySelector("#".concat(e.id," .mejs__volume-button > button"));if(u){var f=u.innerHTML;u.innerHTML=this.icons.volume+'"),u.firstChild.classList.add("unmute-icon"),u.firstChild.style.height=u.firstChild.style.width="100%",u.innerHTML=u.innerHTML+f}}if(this.icons.mute){var p=document.querySelector("#".concat(e.id," .mejs__volume-button > button"));if(p){var m=p.innerHTML;p.innerHTML=this.icons.mute+'"),p.firstChild.classList.add("mute-icon"),p.firstChild.style.height=p.firstChild.style.width="100%",p.innerHTML=p.innerHTML+m}}if(this.icons.fullscreen){var h=document.querySelector("#".concat(e.id," .mejs__fullscreen-button > button"));if(h){var v=h.innerHTML;h.innerHTML=this.icons.fullscreen+'"),h.firstChild.classList.add("fullscreen-icon"),h.firstChild.style.height=h.firstChild.style.width="100%",h.innerHTML=h.innerHTML+v}}if(this.icons.exitFullscreen){var y=document.querySelector("#".concat(e.id," .mejs__fullscreen-button > button"));if(y){var g=y.innerHTML;y.innerHTML=this.icons.exitFullscreen+'"),y.firstChild.classList.add("exitFullscreen-icon"),y.firstChild.style.height=y.firstChild.style.width="100%",y.innerHTML=y.innerHTML+g}}if(this.icons.overlayPlay){var b=document.querySelector("#".concat(e.id," .mejs__overlay-play > .mejs__overlay-button"));b&&(b.style.backgroundImage="none",b.innerHTML=this.icons.overlayPlay,b.firstChild.style.height=b.firstChild.style.width="100%")}if(this.icons.loadingCircular||this.icons.loadingGif){var E=document.querySelector("#".concat(e.id," .mejs__overlay-loading > .mejs__overlay-loading-bg-img"));E&&(E.style.backgroundImage="none",this.icons.loadingGif&&(E.style.animation="none"),E.innerHTML=this.icons.loadingGif?this.icons.loadingGif:this.icons.loadingCircular,E.firstChild.style.height=E.firstChild.style.width="100%")}}},{key:"RenderPlayerError",value:function(e){var t=new MediaElementPlayer(this.elementId,{}),n='
\n

'.concat(e,"

\n
\n ");t._handleError(e);var o=document.querySelector("#"+t.id+" .mejs__overlay-error");o.innerHTML=n,o.parentNode.style.display="block"}},{key:"EnableYouTubeCompliance",value:function(e,t){var n=document.getElementById(e),o=document.createElement("div"),i=document.createElement("a");i.href=t.tosLink||"https://www.youtube.com/t/terms",i.innerText=t.tosText||"YouTube's Terms of Service",i.target="_blank",t.tosClass&&(i.classList=t.tosClass);var r=document.createElement("a");r.href=t.privacyPolicyLink||"https://www.youtube.com/t/terms",r.innerText=t.privacyPolicyText||"Google Privacy Policy",r.target="_blank",r.style="float:right;",t.privacyPolicyClass&&(r.classList=t.privacyPolicyClass),o.append(i),o.append(r),n.append(o)}}])&&i(t.prototype,n),r&&i(t,r),e}(),a=Object.freeze({html5:"html5",hls:"hls",live:"live",youtube:"youtube",brightcove:"brightcove",vimeo:"vimeo"}),s=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),l=/\b(MSIE |Trident.*?rv:|Edge\/)(\d+)/.exec(navigator.userAgent),c=function(e,t){var n=[];e=e.parentNode.firstChild;do{t&&!t(e)||n.push(e)}while(e=e.nextSibling);return n},d=Object.freeze({VideoIdRequired:"Video ID or Video Reference ID is mandatory in brightcove options to play Brightcove videos.",BrightcoveOptionsRequired:"Brightcove options needs to be passed in InvestisPlayer initialization to render Brightcove videos.",InvestisPlayerMandatoryOptions:"Pass mandatory options to render Investis Player"}),u=function(e){try{JSON.parse(e)}catch(e){return!1}return!0};window.InvestisPlayer=r},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n(0);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)} /*! * Brightcove.js * * Investis Middleware for fetching brightcove mp4 link * to be played using MediaElement HTML5 video player * * Developed by Video Engine Team * https://investis.atlassian.net/wiki/spaces/ITDev/pages/873398463/Video+Engine * */var r=Object.freeze({MediaNotFound:"404: Media not found!",SomethingWentWrong:"Something went wrong",RequiredFieldsMissing:"Required fields missing",MandatoryConfiguration:"Player initialization configuration must have mandatory options - videoId/videoReferenceId, accountId and policyKey."}),a=function(e){return new Promise((function(t,n){if(!e||"object"!==i(e)||e.constructor!==Object)return n(r.RequiredFieldsMissing);if(!e.videoId&&!e.videoReferenceId||!e.accountId||!e.policyKey)return n(r.MandatoryConfiguration);var a,s="https://edge.api.brightcove.com/playback/v1",l=e.policyKey,c=e.accountId;e.videoId?a="".concat(s,"/accounts/").concat(c,"/videos/").concat(e.videoId):e.videoReferenceId&&(a="".concat(s,"/accounts/").concat(c,"/videos?q=reference_id:").concat(e.videoReferenceId));var d=new XMLHttpRequest||new ActiveXObject("Microsoft.XMLHTTP");d.open("GET",a),d.setRequestHeader("Accept","application/json;pk="+l),d.onreadystatechange=function(){try{if(4===d.readyState){if(Object(o.a)(d.responseText)){var i=JSON.parse(d.responseText);return 200===d.status?e.videoId?t(i):i&&i.videos&&0!=i.videos.length?t(i.videos[0]):n(r.MediaNotFound):i&&i.length&&i[0].error_code?i[0].message?n(i[0].message):n(i[0].error_code):n(r.SomethingWentWrong)}return n(r.SomethingWentWrong)}}catch(e){return n(r.SomethingWentWrong,e)}},d.send()}))}},function(e,t,n){(function(e,t){ /*! * MediaElement.js * http://www.mediaelementjs.com/ * * Wrapper that mimics native HTML5 MediaElement (audio and video) * using a variety of technologies (pure JavaScript, Flash, iframe) * * Copyright 2010-2017, John Dyer (http://j.hn/) * License: MIT * */ !function e(t,n,o){function i(a,s){if(!n[a]){if(!t[a]){if(r)return r(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){return i(t[a][1][e]||e)}),c,c.exports,e,t,n,o)}return n[a].exports}for(var r=!1,a=0;a',t.addControlElement(a,"fullscreen"),a.addEventListener("click",(function(){l.HAS_TRUE_NATIVE_FULLSCREEN&&l.IS_FULLSCREEN||e.isFullScreen?e.exitFullScreen():e.enterFullScreen()})),e.fullscreenBtn=a,t.options.keyActions.push({keys:[70],action:function(e,t,n,o){o.ctrlKey||void 0!==e.enterFullScreen&&(e.isFullScreen?e.exitFullScreen():e.enterFullScreen())}}),t.exitFullscreenCallback=function(n){var o=n.which||n.keyCode||0;t.options.enableKeyboard&&27===o&&(l.HAS_TRUE_NATIVE_FULLSCREEN&&l.IS_FULLSCREEN||t.isFullScreen)&&e.exitFullScreen()},t.globalBind("keydown",t.exitFullscreenCallback),t.normalHeight=0,t.normalWidth=0,l.HAS_TRUE_NATIVE_FULLSCREEN&&e.globalBind(l.FULLSCREEN_EVENT_NAME,(function(){e.isFullScreen&&(l.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=null!==this.media.rendererName&&/(native|html5)/i.test(this.media.rendererName),t="";return l.HAS_TRUE_NATIVE_FULLSCREEN&&e?t="native-native":l.HAS_TRUE_NATIVE_FULLSCREEN&&!e?t="plugin-native":this.usePluginFullScreen&&l.SUPPORT_POINTER_EVENTS&&(t="plugin-click"),this.fullscreenMode=t},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&&l.IS_IOS&&l.HAS_IOS_FULLSCREEN&&"function"==typeof e.media.originalNode.webkitEnterFullscreen&&e.media.originalNode.canPlayType((0,u.getTypeFromFile)(e.media.getSrc())))e.media.originalNode.webkitEnterFullscreen();else{if((0,d.addClass)(i.default.documentElement,e.options.classPrefix+"fullscreen"),(0,d.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||(l.requestFullScreen(e.getElement(e.container)),e.isInIframe&&setTimeout((function t(){if(e.isNativeFullScreen){var n=o.default.innerWidth||i.default.documentElement.clientWidth||i.default.body.clientWidth,r=screen.width;.002*r',f.addEventListener("click",(function(){r.paused?r.play():r.pause()}));var p=f.querySelector("button");function m(e){"play"===e?((0,l.removeClass)(f,r.options.classPrefix+"play"),(0,l.removeClass)(f,r.options.classPrefix+"replay"),(0,l.addClass)(f,r.options.classPrefix+"pause"),p.setAttribute("title",u),p.setAttribute("aria-label",u)):((0,l.removeClass)(f,r.options.classPrefix+"pause"),(0,l.removeClass)(f,r.options.classPrefix+"replay"),(0,l.addClass)(f,r.options.classPrefix+"play"),p.setAttribute("title",d),p.setAttribute("aria-label",d))}r.addControlElement(f,"playpause"),m("pse"),i.addEventListener("loadedmetadata",(function(){-1===i.rendererName.indexOf("flash")&&m("pse")})),i.addEventListener("play",(function(){m("play")})),i.addEventListener("playing",(function(){m("play")})),i.addEventListener("pause",(function(){m("pse")})),i.addEventListener("ended",(function(){e.options.loop||((0,l.removeClass)(f,r.options.classPrefix+"pause"),(0,l.removeClass)(f,r.options.classPrefix+"play"),(0,l.addClass)(f,r.options.classPrefix+"replay"),p.setAttribute("title",d),p.setAttribute("aria-label",d))}))}})},{16:16,2:2,26:26,27:27,5:5}],11:[function(e,t,n){"use strict";var o=d(e(2)),i=e(16),r=d(i),a=d(e(5)),s=e(25),l=e(30),c=e(26);function d(e){return e&&e.__esModule?e:{default:e}}Object.assign(i.config,{enableProgressTooltip:!0,useSmoothHover:!0,forceLive:!1}),Object.assign(r.default.prototype,{buildprogress:function(e,t,n,i){var r=0,d=!1,u=!1,f=this,p=e.options.autoRewind,m=e.options.enableProgressTooltip?'00:00':"",h=o.default.createElement("div");h.className=f.options.classPrefix+"time-rail",h.innerHTML=''+m+"",f.addControlElement(h,"progress"),f.options.keyActions.push({keys:[37,227],action:function(e){if(!isNaN(e.duration)&&0i+o.left&&(h=i+o.left),u=(m=h-o.left)/i,f.newTime=u*f.getDuration(),d&&null!==f.getCurrentTime()&&f.newTime.toFixed(4)!==f.getCurrentTime().toFixed(4)&&(f.setCurrentRailHandle(f.newTime),f.updateCurrent(f.newTime)),!s.IS_IOS&&!s.IS_ANDROID){if(m<0&&(m=0),f.options.useSmoothHover&&null!==a&&void 0!==window[a]){var v=new window[a](getComputedStyle(f.handle)[r]).m41,y=m/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",m),0<=y?(0,c.removeClass)(f.hovered,"negative"):(0,c.addClass)(f.hovered,"negative")}if(f.timefloat){var g=f.timefloat.offsetWidth/2,b=mejs.Utils.offset(f.getElement(f.container)),E=getComputedStyle(f.timefloat);p=h-b.left=f.getElement(f.container).offsetWidth-g?f.total.offsetWidth-g:m,(0,c.hasClass)(f.getElement(f.container),f.options.classPrefix+"long-video")&&(p+=parseFloat(E.marginLeft)/2+f.timefloat.offsetWidth/2),f.timefloat.style.left=p+"px",f.timefloatcurrent.innerHTML=(0,l.secondsToTimeCode)(f.newTime,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat),f.timefloat.style.display="block"}}}else s.IS_IOS||s.IS_ANDROID||!f.timefloat||(p=f.timefloat.offsetWidth+i>=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(){1e3<=new Date-r&&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(1e3<=new Date-r&&(u=f.paused),f.options.enableKeyboard&&f.options.keyActions.length){var n=t.which||t.keyCode||0,o=f.getDuration(),a=e.options.defaultSeekForwardInterval(i),l=e.options.defaultSeekBackwardInterval(i),c=f.getCurrentTime(),d=f.getElement(f.container).querySelector("."+f.options.classPrefix+"volume-slider");if(38===n||40===n){d&&(d.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),m=p<=0;return f.setVolume(p),void f.setMuted(m)}switch(d&&(d.style.display="none"),n){case 37:f.getDuration()!==1/0&&(c-=l);break;case 39:f.getDuration()!==1/0&&(c+=a);break;case 36:c=0;break;case 35:c=o;break;case 13:case 32:return void(s.IS_FIREFOX&&(f.paused?f.play():f.pause()));default:return}c=c<0||isNaN(c)?0:o<=c?o:Math.floor(c),r=new Date,u||e.pause(),setTimeout((function(){f.setCurrentTime(c)}),0),c | "}),Object.assign(r.default.prototype,{buildcurrent:function(e,t,n,i){var r=this,s=o.default.createElement("div");s.className=r.options.classPrefix+"time",s.setAttribute("role","timer"),s.setAttribute("aria-live","off"),s.innerHTML=''+(0,a.secondsToTimeCode)(0,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat)+"",r.addControlElement(s,"current"),e.updateCurrent(),r.updateTimeCallback=function(){r.controlsAreVisible&&e.updateCurrent()},i.addEventListener("timeupdate",r.updateTimeCallback)},cleancurrent:function(e,t,n,o){o.removeEventListener("timeupdate",e.updateTimeCallback)},buildduration:function(e,t,n,i){var r=this;if(t.lastChild.querySelector("."+r.options.classPrefix+"currenttime"))t.querySelector("."+r.options.classPrefix+"time").innerHTML+=r.options.timeAndDurationSeparator+''+(0,a.secondsToTimeCode)(r.options.duration,r.options.alwaysShowHours,r.options.showTimecodeFrameCount,r.options.framesPerSecond,r.options.secondsDecimalLength,r.options.timeFormat)+"";else{t.querySelector("."+r.options.classPrefix+"currenttime")&&(0,s.addClass)(t.querySelector("."+r.options.classPrefix+"currenttime").parentNode,r.options.classPrefix+"currenttime-container");var l=o.default.createElement("div");l.className=r.options.classPrefix+"time "+r.options.classPrefix+"duration-container",l.innerHTML=''+(0,a.secondsToTimeCode)(r.options.duration,r.options.alwaysShowHours,r.options.showTimecodeFrameCount,r.options.framesPerSecond,r.options.secondsDecimalLength,r.options.timeFormat)+"",r.addControlElement(l,"duration")}r.updateDurationCallback=function(){r.controlsAreVisible&&e.updateDuration()},i.addEventListener("timeupdate",r.updateDurationCallback)},cleanduration:function(e,t,n,o){o.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);5',e.captions.style.display="none",n.insertBefore(e.captions,n.firstChild),e.captionsText=e.captions.querySelector("."+a.options.classPrefix+"captions-text"),e.captionsButton=o.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=o.default.createElement("div"),e.chaptersButton.className=a.options.classPrefix+"button "+a.options.classPrefix+"chapters-button",e.chaptersButton.innerHTML='
    ';for(var m=0,h=0;h"},checkForTracks:function(){var e=this,t=!1;if(e.options.hideCaptionsButtonWhenEmpty){for(var n=0,o=e.tracks.length;n";for(var i=t.chaptersButton.querySelectorAll('input[type="radio"]'),r=t.chaptersButton.querySelectorAll("."+t.options.classPrefix+"chapters-selector-label"),a=0,s=i.length;a>1].start,a=e[i].stop,r<=t&&t ((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)$/,parse:function(e){for(var t=e.split(/\r?\n/),n=[],o=void 0,i=void 0,r=void 0,a=0,s=t.length;a$1"),n.push({identifier:r,start:0===(0,l.convertSMPTEtoSeconds)(o[1])?.2:(0,l.convertSMPTEtoSeconds)(o[1]),stop:(0,l.convertSMPTEtoSeconds)(o[3]),text:i,settings:o[5]})}r=""}return n}},dfxp:{parse:function(e){var t=(e=$(e).filter("tt")).firstChild,n=t.querySelectorAll("p"),o=e.getElementById(""+t.attr("style")),i=[],r=void 0;if(o.length){o.removeAttribute("id");var a=o.attributes;if(a.length){r={};for(var s=0,c=a.length;s$1"),i.push(p)}return i}}}},{16:16,2:2,26:26,27:27,30:30,5:5,7:7}],14:[function(e,t,n){"use strict";var o=d(e(2)),i=e(16),r=d(i),a=d(e(5)),s=e(25),l=e(27),c=e(26);function d(e){return e&&e.__esModule?e:{default:e}}Object.assign(i.config,{muteText:null,unmuteText:null,allyVolumeControlText:null,hideVolumeOnTouchDevices:!0,audioVolume:"horizontal",videoVolume:"vertical",startVolume:.8}),Object.assign(r.default.prototype,{buildvolume:function(e,t,n,i){if(!s.IS_ANDROID&&!s.IS_IOS||!this.options.hideVolumeOnTouchDevices){var r=this,d=r.isVideo?r.options.videoVolume:r.options.audioVolume,u=(0,l.isString)(r.options.muteText)?r.options.muteText:a.default.t("mejs.mute"),f=(0,l.isString)(r.options.unmuteText)?r.options.unmuteText:a.default.t("mejs.unmute"),p=(0,l.isString)(r.options.allyVolumeControlText)?r.options.allyVolumeControlText:a.default.t("mejs.volume-help-text"),m=o.default.createElement("div");if(m.className=r.options.classPrefix+"button "+r.options.classPrefix+"volume-button "+r.options.classPrefix+"mute",m.innerHTML="horizontal"===d?'':''+p+'
    ',r.addControlElement(m,"volume"),r.options.keyActions.push({keys:[38],action:function(e){var t=e.getElement(e.container).querySelector("."+r.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),0'+p+'
    ',m.parentNode.insertBefore(h,m.nextSibling)}var v=!1,y=!1,g=!1,b="vertical"===d?r.getElement(r.container).querySelector("."+r.options.classPrefix+"volume-slider"):r.getElement(r.container).querySelector("."+r.options.classPrefix+"horizontal-volume-slider"),E="vertical"===d?r.getElement(r.container).querySelector("."+r.options.classPrefix+"volume-total"):r.getElement(r.container).querySelector("."+r.options.classPrefix+"horizontal-volume-total"),S="vertical"===d?r.getElement(r.container).querySelector("."+r.options.classPrefix+"volume-current"):r.getElement(r.container).querySelector("."+r.options.classPrefix+"horizontal-volume-current"),x="vertical"===d?r.getElement(r.container).querySelector("."+r.options.classPrefix+"volume-handle"):r.getElement(r.container).querySelector("."+r.options.classPrefix+"horizontal-volume-handle"),_=function(e){if(null!==e&&!isNaN(e)&&void 0!==e){if(e=Math.max(0,e),0===(e=Math.min(e,1))){(0,c.removeClass)(m,r.options.classPrefix+"mute"),(0,c.addClass)(m,r.options.classPrefix+"unmute");var t=m.firstElementChild;t.setAttribute("title",f),t.setAttribute("aria-label",f)}else{(0,c.removeClass)(m,r.options.classPrefix+"unmute"),(0,c.addClass)(m,r.options.classPrefix+"mute");var n=m.firstElementChild;n.setAttribute("title",u),n.setAttribute("aria-label",u)}var o=100*e+"%",i=getComputedStyle(x);"vertical"===d?(S.style.bottom=0,S.style.height=o,x.style.bottom=o,x.style.marginBottom=-parseFloat(i.height)/2+"px"):(S.style.left=0,S.style.width=o,x.style.left=o,x.style.marginLeft=-parseFloat(i.width)/2+"px")}},w=function(e){var t=(0,c.offset)(E),n=getComputedStyle(E);g=!0;var o=null;if("vertical"===d){var i=parseFloat(n.height);if(o=(i-(e.pageY-t.top))/i,0===t.top||0===t.left)return}else{var a=parseFloat(n.width);o=(e.pageX-t.left)/a}o=Math.max(0,o),o=Math.min(o,1),_(o),r.setMuted(0===o),r.setVolume(o),e.preventDefault(),e.stopPropagation()},P=function(){r.muted?(_(0),(0,c.removeClass)(m,r.options.classPrefix+"mute"),(0,c.addClass)(m,r.options.classPrefix+"unmute")):(_(i.volume),(0,c.removeClass)(m,r.options.classPrefix+"unmute"),(0,c.addClass)(m,r.options.classPrefix+"mute"))};e.getElement(e.container).addEventListener("keydown",(function(e){e.target.closest("."+r.options.classPrefix+"container")||"vertical"!==d||(b.style.display="none")})),m.addEventListener("mouseenter",(function(e){e.target===m&&(b.style.display="block",y=!0,e.preventDefault(),e.stopPropagation())})),m.addEventListener("focusin",(function(){b.style.display="block",y=!0})),m.addEventListener("focusout",(function(e){e.relatedTarget&&(!e.relatedTarget||e.relatedTarget.matches("."+r.options.classPrefix+"volume-slider"))||"vertical"!==d||(b.style.display="none")})),m.addEventListener("mouseleave",(function(){y=!1,v||"vertical"!==d||(b.style.display="none")})),m.addEventListener("focusout",(function(){y=!1})),m.addEventListener("keydown",(function(e){if(r.options.enableKeyboard&&r.options.keyActions.length){var t=e.which||e.keyCode||0,n=i.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,_(n),i.setVolume(n),e.preventDefault(),e.stopPropagation()}})),m.querySelector("button").addEventListener("click",(function(){i.setMuted(!i.muted);var e=(0,l.createEvent)("volumechange",i);i.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"!==d||(b.style.display="none")})),b.addEventListener("mousedown",(function(e){w(e),r.globalBind("mousemove.vol",(function(e){var t=e.target;v&&(t===b||t.closest("vertical"===d?"."+r.options.classPrefix+"volume-slider":"."+r.options.classPrefix+"horizontal-volume-slider"))&&w(e)})),r.globalBind("mouseup.vol",(function(){v=!1,y||"vertical"!==d||(b.style.display="none")})),v=!0,e.preventDefault(),e.stopPropagation()})),i.addEventListener("volumechange",(function(e){var t;v||P(),t=Math.floor(100*i.volume),b.setAttribute("aria-valuenow",t),b.setAttribute("aria-valuetext",t+"%")}));var T=!1;i.addEventListener("rendererready",(function(){g||setTimeout((function(){T=!0,(0===e.options.startVolume||i.originalNode.muted)&&(i.setMuted(!0),e.options.startVolume=0),i.setVolume(e.options.startVolume),r.setControlsSize()}),250)})),i.addEventListener("loadedmetadata",(function(){setTimeout((function(){g||T||((0===e.options.startVolume||i.originalNode.muted)&&i.setMuted(!0),i.setVolume(e.options.startVolume),r.setControlsSize()),T=!1}),250)})),(0===e.options.startVolume||i.originalNode.muted)&&(i.setMuted(!0),e.options.startVolume=0,P()),r.getElement(r.container).addEventListener("controlsresize",(function(){P()}))}}})},{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 o="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},i=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&&!h.hasClass(e.getElement(e.container).parentNode,e.options.classPrefix+"fill-container")){e.outerContainer=e.media.parentNode;var r=a.default.createElement("div");r.className=e.options.classPrefix+"fill-container",e.getElement(e.container).parentNode.insertBefore(r,e.getElement(e.container)),r.appendChild(e.getElement(e.container))}u.IS_ANDROID&&h.addClass(e.getElement(e.container),e.options.classPrefix+"android"),u.IS_IOS&&h.addClass(e.getElement(e.container),e.options.classPrefix+"ios"),u.IS_IPAD&&h.addClass(e.getElement(e.container),e.options.classPrefix+"ipad"),u.IS_IPHONE&&h.addClass(e.getElement(e.container),e.options.classPrefix+"iphone"),h.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).controls=e.getElement(e.container).querySelector("."+e.options.classPrefix+"controls"),e.layers=e.getElement(e.container).querySelector("."+e.options.classPrefix+"layers");var c=e.isVideo?"video":"audio",p=c.substring(0,1).toUpperCase()+c.substring(1);0=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(s.default.MepDefaults=t,new l.default(e.media,t,e.mediaFiles),void 0!==e.getElement(e.container)&&e.options.features.length&&e.controlsAreVisible&&!e.options.hideVideoControlsOnLoad){var m=(0,f.createEvent)("controlsshown",e.getElement(e.container));e.getElement(e.container).dispatchEvent(m)}}},{key:"showControls",value:function(e){var t=this;if(e=void 0===e||e,!t.controlsAreVisible&&t.isVideo){if(e)!function(){h.fadeIn(t.getElement(t.controls),200,(function(){h.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,o){h.fadeIn(e[n],200,(function(){h.removeClass(e[n],t.options.classPrefix+"offscreen")}))},o=0,i=e.length;o'),e.message&&(l="

    "+e.message+"

    "),e.urls)for(var u=0,f=e.urls.length;u'+s.default.i18n.t("mejs.download-file")+": "+p.src+""}}l&&o.getElement(o.layers).querySelector("."+o.options.classPrefix+"overlay-error")&&(r.innerHTML=l,o.getElement(o.layers).querySelector("."+o.options.classPrefix+"overlay-error").innerHTML=""+c+r.outerHTML,o.getElement(o.layers).querySelector("."+o.options.classPrefix+"overlay-error").parentNode.style.display="block"),o.controlsEnabled&&o.disableControls()}},{key:"setPlayerSize",value:function(e,t){var n=this;if(!n.options.setDimensions)return!1;switch(void 0!==e&&(n.width=e),void 0!==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,t=this,n=function(){for(var e=void 0,n=t.getElement(t.container);n;){try{if(u.IS_FIREFOX&&"html"===n.tagName.toLowerCase()&&r.default.self!==r.default.top&&null!==r.default.frameElement)return r.default.frameElement;e=n.parentElement}catch(t){e=n.parentElement}if(e&&h.visible(e))return e;n=e}return null}(),o=n?getComputedStyle(n,null):getComputedStyle(a.default.body,null),i=t.isVideo?t.node.videoWidth&&0=t.width?t.node.videoWidth/t.node.videoHeight:t.node.videoHeight/t.node.videoWidth:t.initialAspectRatio,(isNaN(e)||e<.01||100=t.width?parseFloat(f/l,10):parseFloat(f*l,10):s,isNaN(d)&&(d=c),0img");l&&(l.style.display="");for(var c=e.getElement(e.container).querySelectorAll("object, embed, iframe, video"),d=e.height,f=e.width,p=i,m=d*i/f,v=f*s/d,y=s,g=i',n.appendChild(r),s.style.display="none",s.className=i.options.classPrefix+"overlay "+i.options.classPrefix+"layer",s.innerHTML='
    ',n.appendChild(s),l.className=i.options.classPrefix+"overlay "+i.options.classPrefix+"layer "+i.options.classPrefix+"overlay-play",l.innerHTML='
    ',l.addEventListener("click",(function(){if(i.options.clickToPlayPause){var e=i.getElement(i.container).querySelector("."+i.options.classPrefix+"overlay-button"),t=e.getAttribute("aria-pressed");i.paused?i.play():i.pause(),e.setAttribute("aria-pressed",!!t),i.getElement(i.container).focus()}})),l.addEventListener("keydown",(function(e){var t=e.keyCode||e.which||0;if(13===t||u.IS_FIREFOX&&32===t){var n=(0,f.createEvent)("click",l);return l.dispatchEvent(n),!1}})),n.appendChild(l),null!==i.media.rendererName&&(/(youtube|facebook)/i.test(i.media.rendererName)&&!(i.media.originalNode.getAttribute("poster")||e.options.poster||"function"==typeof i.media.renderer.getPosterUrl&&i.media.renderer.getPosterUrl())||u.IS_STOCK_ANDROID||i.media.originalNode.getAttribute("autoplay"))&&(l.style.display="none");var c=!1;o.addEventListener("play",(function(){l.style.display="none",r.style.display="none",s.style.display="none",c=!1})),o.addEventListener("playing",(function(){l.style.display="none",r.style.display="none",s.style.display="none",c=!1})),o.addEventListener("seeking",(function(){l.style.display="none",r.style.display="",c=!1})),o.addEventListener("seeked",(function(){l.style.display=i.paused&&!u.IS_STOCK_ANDROID?"":"none",r.style.display="none",c=!1})),o.addEventListener("pause",(function(){r.style.display="none",u.IS_STOCK_ANDROID||c||(l.style.display=""),c=!1})),o.addEventListener("waiting",(function(){r.style.display="",c=!1})),o.addEventListener("loadeddata",(function(){r.style.display="",u.IS_ANDROID&&(o.canplayTimeout=setTimeout((function(){if(a.default.createEvent){var e=a.default.createEvent("HTMLEvents");return e.initEvent("canplay",!0,!0),o.dispatchEvent(e)}}),300)),c=!1})),o.addEventListener("canplay",(function(){r.style.display="none",clearTimeout(o.canplayTimeout),c=!1})),o.addEventListener("error",(function(e){i._handleError(e,i.media,i.node),r.style.display="none",l.style.display="none",c=!0})),o.addEventListener("loadedmetadata",(function(){i.controlsEnabled||i.enableControls()})),o.addEventListener("keydown",(function(t){i.onkeydown(e,o,t),c=!1}))}}},{key:"buildkeyboard",value:function(e,t,n,o){var i=this;i.getElement(i.container).addEventListener("keydown",(function(){i.keyboardAction=!0})),i.globalKeydownCallback=function(t){var n=a.default.activeElement.closest("."+i.options.classPrefix+"container"),r=i.media.closest("."+i.options.classPrefix+"container");return i.hasFocus=!(!n||!r||n.id!==r.id),i.onkeydown(e,o,t)},i.globalClickCallback=function(e){i.hasFocus=!!e.target.closest("."+i.options.classPrefix+"container")},i.globalBind("keydown",i.globalKeydownCallback),i.globalBind("click",i.globalClickCallback)}},{key:"onkeydown",value:function(e,t,n){if(e.hasFocus&&e.options.enableKeyboard)for(var o=0,i=e.options.keyActions.length;oimg");o&&e.node.setAttribute("poster",o.src),delete e.node.autoplay,e.node.setAttribute("src",""),""!==e.media.canPlayType((0,m.getTypeFromFile)(n))&&e.node.setAttribute("src",n),t&&-1t[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,o,i){p.plugins[e]=p.detectPlugin(t,n,o,i)},detectPlugin:function(e,t,n,r){var a=[0,0,0],s=void 0,l=void 0;if(null!==d.NAV.plugins&&void 0!==d.NAV.plugins&&"object"===o(d.NAV.plugins[e])){if((s=d.NAV.plugins[e].description)&&(void 0===d.NAV.mimeTypes||!d.NAV.mimeTypes[t]||d.NAV.mimeTypes[t].enabledPlugin))for(var c=0,u=(a=s.replace(e,"").replace(/^\s+/,"").replace(/\sr/gi,".").split(".")).length;c
    '+s.default.t("mejs.install-flash")+"
    "}else j=['id="__'+o.id+'"','name="__'+o.id+'"','play="true"','loop="false"','quality="high"','bgcolor="#000000"','wmode="transparent"','allowScriptAccess="'+o.options.shimScriptAccess+'"','allowFullScreen="true"','type="application/x-shockwave-flash"','pluginspage="//www.macromedia.com/go/getflashplayer"','src="'+o.options.pluginPath+o.options.filename+'"','flashvars="'+T.join("&")+'"'],k?(j.push('width="'+L+'"'),j.push('height="'+C+'"')):j.push('style="position: fixed; left: -9999em; top: -9999em;"'),o.flashWrapper.innerHTML="";if(o.flashNode=o.flashWrapper.lastChild,o.hide=function(){f=!1,k&&(o.flashNode.style.display="none")},o.show=function(){f=!0,k&&(o.flashNode.style.display="")},o.setSize=function(e,t){o.flashNode.style.width=e+"px",o.flashNode.style.height=t+"px",null!==o.flashApi&&"function"==typeof o.flashApi.fire_setSize&&o.flashApi.fire_setSize(e,t)},o.destroy=function(){o.flashNode.remove()},n&&0":">",'"':"""};return e.replace(/[&<>"]/g,(function(e){return t[e]}))}function a(e,t){var n=this,o=arguments,i=2x',t.firstChild.href}function l(e){var t=1=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(5),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(1))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var o,i,r,a,s,l=1,c={},d=!1,u=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?o=function(e){t.nextTick((function(){m(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){m(e.data)},o=function(e){r.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(i=u.documentElement,o=function(e){var t=u.createElement("script");t.onreadystatechange=function(){m(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):o=function(e){setTimeout(m,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&m(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),o=function(t){e.postMessage(a+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1)for(var n=1;n button");e&&(e.setAttribute("title",i.Replay),e.setAttribute("aria-label",i.Replay))})),s.onended=function(){setTimeout((function(){var e=document.querySelector("#"+t.id+" .mejs__playpause-button > button");e&&(e.setAttribute("title",i.Replay),e.setAttribute("aria-label",i.Replay),e.parentNode.classList.remove("mejs__play"),e.parentNode.classList.add("mejs__replay"))}),30)},s.addEventListener("play",a),s.addEventListener("pause",a);var l=document.querySelector("#".concat(t.id," .").concat(t.options.classPrefix,"volume-button")),c=document.querySelector("#".concat(t.id," .").concat(t.options.classPrefix,"volume-slider")),d=function(e){var i=e.which||e.keyCode||0;n!=o.d.youtube?38==i?(t.muted&&(t.setVolume(.1),t.setMuted(!1)),t.setVolume(parseInt(100*t.getVolume())/100)):40==i&&t.getVolume()<.01&&(t.setVolume(0),t.setMuted(!0)):40==i?.1==t.getVolume()&&(t.setVolume(0),t.setMuted(!0)):38==i&&t.muted&&(t.setVolume(.1),t.setMuted(!1))};if(l&&n!==o.d.vimeo&&(l.removeEventListener("keydown",d),l.addEventListener("keydown",d),l.addEventListener("click",(function(e){n!=o.d.youtube?t.muted?(t.setVolume(0),t.setMuted(!0),c.setAttribute("aria-valuenow","0"),c.setAttribute("aria-valuetext","0")):0==t.getVolume()&&(t.setVolume(.1),t.setMuted(!1)):"button"==e.target.type&&(t.muted?0==t.getVolume()&&(t.setVolume(.1),t.setMuted(!1)):(t.setVolume(0),t.setMuted(!0),c.setAttribute("aria-valuenow","0"),c.setAttribute("aria-valuetext","0")))}))),null!=document.querySelector("#"+t.id+" .mejs__time-total")){var u=document.querySelector("#"+t.id+" .mejs__time-total");u.hasAttribute("tabIndex")||u.setAttribute("tabIndex","0"),u.hasAttribute("role")||u.setAttribute("role","slider")}var f=document.querySelector("#".concat(t.id," .").concat(t.options.classPrefix,"mediaelement > mediaelementwrapper")),p=function(e){var t=0,n=0,o=0,i=e.split(":");switch(i.length){case 3:t=parseInt(i[0]),n=parseInt(i[1]),o=parseInt(i[2]);break;case 2:n=parseInt(i[0]),o=parseInt(i[1]);break;case 1:o=parseInt(i[0]);break;default:tc_in_seconds=NaN}return 3600*t+60*n+o},m=function(){var e=document.querySelector("#".concat(t.id," .").concat(t.options.classPrefix,"time-slider")),n=document.querySelector("#".concat(t.id," .").concat(t.options.classPrefix,"currenttime")),o=document.querySelector("#".concat(t.id," .").concat(t.options.classPrefix,"duration"));if(e){e.setAttribute("aria-valuetext",n.innerHTML),e.setAttribute("aria-label",i.TimeSlider),e.setAttribute("aria-valuemin",0),e.setAttribute("aria-valuemax",p(o.innerHTML)),e.setAttribute("aria-valuenow",p(n.innerHTML));e.addEventListener("click",(function(){var e=document.querySelector("#".concat(t.id," .").concat(t.options.classPrefix,"controls .").concat(t.options.classPrefix,"playpause-button"));e.classList.remove("mejs__replay"),e.firstChild.setAttribute("title",i.Play),e.firstChild.setAttribute("aria-label",i.Play),e.classList.add("mejs__play")}))}};f.addEventListener("progress",m),f.addEventListener("timeupdate",m)}(t,r,e),a=r,s=document.querySelector("#".concat(a.id," .").concat(a.options.classPrefix,"captions-button")),o.b&&s&&s.addEventListener("click",(function(e){var t=document.querySelector("#".concat(a.id," .").concat(a.options.classPrefix,"captions-selector"));e.target.classList.contains("".concat(a.options.classPrefix,"captions-selector-list"))||e.target.classList.contains("".concat(a.options.classPrefix,"captions-selector-label"))||(t.classList.contains("open")?(t.classList.add("".concat(a.options.classPrefix,"offscreen")),t.classList.remove("open")):(document.querySelector(".".concat(a.options.classPrefix,"container")).focus(),t.classList.remove("".concat(a.options.classPrefix,"offscreen")),t.classList.add("open")))})),function(e,t,n){t.addEventListener("touchstart",(function(t){o.b&&0==e.paused&&(t.preventDefault(),n.pause())}))}(t,n,r),e==o.d.youtube&&function(e,t){document.onclick=function(e){null!=e.target.parentElement&&null!=e.target&&(e.target.parentElement.classList.contains("mejs__replay")||e.target.classList.contains("mejs__replay"))&&(e.target.parentElement.classList.remove("mejs__replay"),e.target.classList.remove("mejs__replay"),t.play())},e.addEventListener("ended",(function(){document.querySelector("#"+t.id+" .mejs__inner .mejs__layers .mejs__overlay-play").classList.add("mejs__replay");var e=document.querySelector("#"+t.id+" .mejs__controls .mejs__playpause-button");setTimeout((function(){e.classList.contains("mejs__play")&&!e.classList.contains("mejs__replay")&&(e.classList.remove("mejs__play"),e.firstChild.setAttribute("title",i.Replay),e.firstChild.setAttribute("aria-label",i.Replay),e.classList.add("mejs__replay"));var n=t.getElement(t.container).querySelector("#".concat(t.id," .").concat(t.options.classPrefix,"poster"));n&&t.options.showPosterWhenEnded&&(n.style.display="")}),500)}))}(t,r),e==o.d.live&&function(e){document.querySelector("#".concat(e.id," .").concat(e.options.classPrefix,"duration")).style.display="none",document.querySelector("#".concat(e.id," .").concat(_currentPlayer.options.classPrefix,"time-slider")).style.display="none"}(r),e==o.d.hls&&function(e,t){var n=t.media.hlsPlayer;e.addEventListener("seeking",(function(){null!==n&&n.startLoad()}))}(t,r),l=r,["fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","orientationchange"].map((function(e){("orientationchange"==e?window:document).addEventListener(e,(function(){if(l.isFullScreen&&o.b){var e=Math.min(screen.width/l.width,screen.height/l.height);if(l.getElement(l.container).querySelector("."+l.options.classPrefix+"captions-text")){var t="".concat((screen.height-l.normalHeight)/2-l.getElement(l.controls).offsetHeight/2+e+15);t<35&&(t=35),l.getElement(l.container).querySelector(".".concat(l.options.classPrefix,"captions-position")).style.bottom="".concat(t,"px")}}}))})),function(e,t){e.addEventListener("volumechange",(function(){var e=document.querySelector("#".concat(t.id," .").concat(t.options.classPrefix,"volume-button button"));o.c&&e&&document.querySelector("#".concat(t.id," .").concat(t.options.classPrefix,"volume-button button")).setAttribute("aria-pressed",!0)}))}(t,r),function(e,t){var n=document.querySelector("#".concat(t.id," .").concat(t.options.classPrefix,"playpause-button button"));e.addEventListener("play",(function(){o.c&&n&&n.setAttribute("aria-pressed",!0)})),e.addEventListener("pause",(function(){o.c&&n&&n.setAttribute("aria-pressed",!0)}))}(t,r),function(e,t){t.options.forceLive&&(document.querySelector("#".concat(t.id," .").concat(t.options.classPrefix,"currenttime-container")).setAttribute("role","button"),document.querySelector("#".concat(t.id," .").concat(t.options.classPrefix,"currenttime-container")).setAttribute("tabindex","0"))}(0,r),function(e,t){["fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange"].map((function(e){document.addEventListener(e,(function(){var e;e=t.isFullScreen?t.options.exitFullScreenText||mejs.i18n[mejs.i18n.lang]["mejs.exit-fullscreen"]||i.ExitFullscreen:t.options.fullscreenText?t.options.fullscreenText:mejs.i18n[mejs.i18n.lang]["mejs.fullscreen"];var n=document.querySelector("#".concat(t.id," .").concat(t.options.classPrefix,"fullscreen-button > button"));n&&(n.setAttribute("title",e),n.setAttribute("aria-label",e))}))}))}(0,r);var c=r.getElement(r.container).querySelector("#".concat(r.id," .").concat(r.options.classPrefix,"poster-img"));c&&c.remove()};n(8);function r(e){return(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})(e)}window.openShareLink=function(e,t){"email"==e?window.location.href="mailto:?".concat(t):window.open(t,"pagename","resizable,height=600,width=800")},MediaElementPlayer.prototype.buildshare=function(e,t){var n=e.options.shareLinks;if("object"!=r(n))return!1;var i=["facebook","email","twitter","linkedin"],a=document.createElement("div");a.className="".concat(e.options.classPrefix,"button ").concat(e.options.classPrefix,"share-button");var s="Share";e.options.shareText?s=e.options.shareText:mejs.i18n[mejs.i18n.lang]["mejs.share"]&&(s=mejs.i18n[mejs.i18n.lang]["mejs.share"]);var l='");l+='
    '),l+='
      ');var c=0;for(var d in n)if(d=d.toLowerCase(),-1!=i.indexOf(d)){var u=1===(c+=1)?' checked="checked"':"",f=n[d];l+='
    • '),l+="\n \n "),l+="
    • "}else console.warn("Sharing option for ".concat(d," not allowed."));if(l+="
    ",l+="
    ",c){a.innerHTML=l,t.appendChild(a);var p=document.querySelector("#".concat(e.id," .").concat(e.options.classPrefix,"share-button"));if(o.b)p.addEventListener("click",(function(t){document.querySelector("#".concat(e.id," .").concat(e.options.classPrefix,"share-selector")).classList.contains("".concat(e.options.classPrefix,"offscreen"))?document.querySelector("#".concat(e.id," .").concat(e.options.classPrefix,"share-button .").concat(e.options.classPrefix,"share-selector")).classList.remove("mejs__offscreen"):document.querySelector("#".concat(e.id," .").concat(e.options.classPrefix,"share-button .").concat(e.options.classPrefix,"share-selector")).classList.add("mejs__offscreen")}));else{for(var m=["mouseenter","focusin"],h=["mouseleave","focusout"],v=0,y=m.length;v