if(!window.$v || !window.$v.player){ /* Bundle=System.Web.Optimization.Bundle;Boundary=MQA2ADkAMgA2ADIANgAwADYANwA=; */ /* MQA2ADkAMgA2ADIANgAwADYANwA= "~/Scripts/jwplayer/7.12.8/jwplayer.js" */ window.jwplayer=function(e){function t(n){if(i[n])return i[n].exports;var r=i[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n=window.webpackJsonpjwplayer;window.webpackJsonpjwplayer=function(i,o){for(var a,s,l=0,u=[];l2;if(null==e&&(e=[]),u&&e.reduce===u)return i&&(t=y.bind(t,i)),r?e.reduce(t,n):e.reduce(t);if(w(e,function(e,o,a){r?n=t.call(i,n,e,o,a):(n=e,r=!0)}),!r)throw new TypeError(E);return n},y.find=y.detect=function(e,t,n){var i;return b(e,function(e,r,o){if(t.call(n,e,r,o))return i=e,!0}),i},y.filter=y.select=function(e,t,n){var i=[];return null==e?i:d&&e.filter===d?e.filter(t,n):(w(e,function(e,r,o){t.call(n,e,r,o)&&i.push(e)}),i)},y.reject=function(e,t,n){return y.filter(e,function(e,i,r){return!t.call(n,e,i,r)},n)},y.compact=function(e){return y.filter(e,y.identity)},y.every=y.all=function(t,n,i){n||(n=y.identity);var r=!0;return null==t?r:f&&t.every===f?t.every(n,i):(w(t,function(t,o,a){if(!(r=r&&n.call(i,t,o,a)))return e}),!!r)};var b=y.some=y.any=function(t,n,i){n||(n=y.identity);var r=!1;return null==t?r:p&&t.some===p?t.some(n,i):(w(t,function(t,o,a){if(r||(r=n.call(i,t,o,a)))return e}),!!r)};y.size=function(e){return null==e?0:e.length===+e.length?e.length:y.keys(e).length},y.last=function(e,t,n){if(null!=e)return null==t||n?e[e.length-1]:r.call(e,Math.max(e.length-t,0))},y.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},y.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}};var A=function(e){return null==e?y.identity:y.isFunction(e)?e:y.property(e)},C=function(e){return function(t,n,i){var r={};return n=A(n),w(t,function(o,a){var s=n.call(i,o,a,t);e(r,s,o)}),r}};y.groupBy=C(function(e,t,n){y.has(e,t)?e[t].push(n):e[t]=[n]}),y.indexBy=C(function(e,t,n){e[t]=n}),y.sortedIndex=function(e,t,n,i){n=A(n);for(var r=n.call(i,t),o=0,a=e.length;o>>1;n.call(i,e[s])=0)},y.pluck=function(e,t){return y.map(e,y.property(t))},y.where=function(e,t){return y.filter(e,y.matches(t))},y.findWhere=function(e,t){return y.find(e,y.matches(t))},y.max=function(e,t,n){if(!t&&y.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.max.apply(Math,e);var i=-(1/0),r=-(1/0);return w(e,function(e,o,a){var s=t?t.call(n,e,o,a):e;s>r&&(i=e,r=s)}),i},y.difference=function(e){var n=o.apply(t,r.call(arguments,1));return y.filter(e,function(e){return!y.contains(n,e)})},y.without=function(e){return y.difference(e,r.call(arguments,1))},y.indexOf=function(e,t,n){if(null==e)return-1;var i=0,r=e.length;if(n){if("number"!=typeof n)return i=y.sortedIndex(e,t),e[i]===t?i:-1;i=n<0?Math.max(0,r+n):n}if(h&&e.indexOf===h)return e.indexOf(t,n);for(;in*n&&(y(l.DRAG_START,e),A=!0,y(l.DRAG,e))}t.preventScrolling&&s(e)}function m(n){var i="pointerup"===n.type||"pointercancel"===n.type;i&&t.preventScrolling&&e.releasePointerCapture(E),e.removeEventListener("pointermove",v),e.removeEventListener("pointercancel",m),e.removeEventListener("pointerup",m),document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",m),w&&(w.removeEventListener("touchmove",v),w.removeEventListener("touchcancel",m),w.removeEventListener("touchend",m)),A?y(l.DRAG_END,n):t.directSelect&&n.target!==e||n.type.indexOf("cancel")!==-1||("mouseup"===n.type||"click"===n.type||i&&"mouse"===n.pointerType?y(l.CLICK,n):(y(l.TAP,n),"touchend"===n.type&&s(n))),w=null,A=!1}function y(e,i){var r;if(t.enableDoubleTap&&(e===l.CLICK||e===l.TAP))if(n.now()-L-1?e.substr(e.lastIndexOf(".")+1,e.length).toLowerCase():void 0)},a=function(e){var t=parseInt(e/3600),n=parseInt(e/60)%60,r=e%60;return i(t,2)+":"+i(n,2)+":"+i(r.toFixed(3),6)},s=function(t,n){if(e.isNumber(t))return t;t=t.replace(",",".");var i=t.split(":"),r=i.length,o=0;if("s"===t.slice(-1))o=parseFloat(t);else if("m"===t.slice(-1))o=60*parseFloat(t);else if("h"===t.slice(-1))o=3600*parseFloat(t);else if(r>1){var a=r-1;4===r&&(n&&(o=parseFloat(i[a])/n),a-=1),o+=parseFloat(i[a]),o+=60*parseFloat(i[a-1]),r>=3&&(o+=3600*parseFloat(i[a-2]))}else o=parseFloat(t);return o},l=function(t,n){return e.map(t,function(e){return n+e})},u=function(t,n){return e.map(t,function(e){return e+n})};return{trim:n,pad:i,xmlAttribute:r,extension:o,hms:a,seconds:s,suffix:u,prefix:l}}.apply(t,i),!(void 0!==r&&(e.exports=r))},,,function(e,t,n){var i,r;i=[n(2),n(4),n(5),n(1)],r=function(e,t,n,i){var r=e.noop,o=i.constant(!1),a={supports:o,play:r,load:r,stop:r,volume:r,mute:r,seek:r,resize:r,remove:r,destroy:r,setVisibility:r,setFullscreen:o,getFullscreen:r,getContainer:r,setContainer:o,getName:r,getQualityLevels:r,getCurrentQuality:r,setCurrentQuality:r,getAudioTracks:r,getCurrentAudioTrack:r,setCurrentAudioTrack:r,setPlaybackRate:r,getPlaybackRate:function(){return 1},checkComplete:r,setControls:r,attachMedia:r,detachMedia:r,setState:function(e){var i=this.state||n.IDLE;this.state=e,e!==i&&this.trigger(t.JWPLAYER_PLAYER_STATE,{newstate:e})},sendMediaType:function(e){var n=e[0].type,i="oga"===n||"aac"===n||"mp3"===n||"mpeg"===n||"vorbis"===n;this.trigger(t.JWPLAYER_MEDIA_TYPE,{mediaType:i?"audio":"video"})}};return a}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(1)],r=function(e){var t={},n={TIT2:"title",TT2:"title",WXXX:"url",TPE1:"artist",TP1:"artist",TALB:"album",TAL:"album"};return t.utf8ArrayToStr=function(e,t){var n,i,r,o,a,s;for(n="",r=e.length,i=t||0;i>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:n+=String.fromCharCode(o);break;case 12:case 13:a=e[i++],n+=String.fromCharCode((31&o)<<6|63&a);break;case 14:a=e[i++],s=e[i++],n+=String.fromCharCode((15&o)<<12|(63&a)<<6|(63&s)<<0)}return n},t.utf16BigEndianArrayToStr=function(e,t){var n,i,r;for(n="",r=e.length-1,i=t||0;i>1|(8323072&n)>>2|(2130706432&n)>>3},t.arrayToInt=function(e){for(var t="0x",n=0;n0){var p=t.utf8ArrayToStr(a.subarray(u,u+=d),0);if("PRIV"===r.value.key){if("com.apple.streaming.transportStreamTimestamp"===p){var h=1&t.syncSafeInt(a.subarray(u,u+=4)),g=t.syncSafeInt(a.subarray(u,u+=4));h&&(g+=4294967296),r.value.data=g}else r.value.data=t.utf8ArrayToStr(a,u+1);r.value.info=p}else r.value.info=p,r.value.data=t.utf8ArrayToStr(a,u+1)}else{var v=a[u];1===v||2===v?r.value.data=t.utf16BigEndianArrayToStr(a,u+1):r.value.data=t.utf8ArrayToStr(a,u+1)}}if(n.hasOwnProperty(r.value.key)&&(i[n[r.value.key]]=r.value.data),r.value.info){var m=i[r.value.key];e.isObject(m)||(m={},i[r.value.key]=m),m[r.value.info]=r.value.data}else i[r.value.key]=r.value.data;return i},{})},t}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[],r=function(){return{createId:function(e,t){var n,i=e.kind||"cc";return n=e["default"]||e.defaulttrack?"default":e._id||e.file||i+t},createLabel:function(e,t){var n=e.label||e.name||e.language;return n||(n="Unknown CC",t+=1,t>1&&(n+=" ["+t+"]")),{label:n,unknownCount:t}}}}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(1),n(2),n(20),n(35),n(103),n(36)],r=function(e,t,i,r,o,a){function s(e,t,n,a){var s,u,c=e.responseXML?e.responseXML.firstChild:null;if(c)for("xml"===i.localName(c)&&(c=c.nextSibling);c.nodeType===c.COMMENT_NODE;)c=c.nextSibling;try{if(c&&"tt"===i.localName(c))s=o(e.responseXML),u=this.convertToVTTCues(s),delete t.xhr,n(u);else{var d=e.responseText;d.indexOf("WEBVTT")>=0?l(d,t,n,a):(s=r(d),u=this.convertToVTTCues(s),delete t.xhr,n(u))}}catch(f){delete t.xhr,a(f)}}function l(e,t,i,r){n.e(13,function(require){var o=n(25),a=new o(window),s=[];a.oncue=function(e){s.push(e)},a.onflush=function(){delete t.xhr,i(s)};try{a.parse(e)}catch(l){delete t.xhr,r(l)}})}var u={};return u.loadFile=function(e,n,i){e.xhr=t.ajax(e.file,function(t){s.call(u,t,e,n,i)},i)},u.cancelXhr=function(t){e.each(t,function(e){var t=e.xhr;t&&(t.onload=null,t.onreadystatechange=null,t.onerror=null,"abort"in t&&t.abort()),delete e.xhr})},u.convertToVTTCues=function(t){var n=e.map(t,function(e){return new a(e.begin,e.end,e.text)});return n},u}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(7),n(1),n(115)],r=function(e,t,n){var i={};i.createElement=function(e){var t=document.createElement("div");return t.innerHTML=e,t.firstChild},i.styleDimension=function(e){return e+(e.toString().indexOf("%")>0?"":"px")};var r=function(e){return t.isString(e.className)?e.className.split(" "):[]},o=function(t,n){n=e.trim(n),t.className!==n&&(t.className=n)};return i.classList=function(e){return e.classList?e.classList:r(e)},i.hasClass=n.hasClass,i.addClass=function(e,n){var i=r(e),a=t.isArray(n)?n:n.split(" ");t.each(a,function(e){t.contains(i,e)||i.push(e)}),o(e,i.join(" "))},i.removeClass=function(e,n){var i=r(e),a=t.isArray(n)?n:n.split(" ");o(e,t.difference(i,a).join(" "))},i.replaceClass=function(e,t,n){var i=e.className||"";t.test(i)?i=i.replace(t,n):n&&(i+=" "+n),o(e,i)},i.toggleClass=function(e,n,r){var o=i.hasClass(e,n);r=t.isBoolean(r)?r:!o,r!==o&&(r?i.addClass(e,n):i.removeClass(e,n))},i.emptyElement=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},i.addStyleSheet=function(e){var t=document.createElement("link");t.rel="stylesheet",t.href=e,document.getElementsByTagName("head")[0].appendChild(t)},i.empty=function(e){if(e)for(;e.childElementCount>0;)e.removeChild(e.children[0])},i.bounds=function(e){var t={left:0,right:0,width:0,height:0,top:0,bottom:0};if(!e||!document.body.contains(e))return t;var n=e.getBoundingClientRect(),i=window.pageYOffset,r=window.pageXOffset;return n.width||n.height||n.left||n.top?(t.left=n.left+r,t.right=n.right+r,t.top=n.top+i,t.bottom=n.bottom+i,t.width=n.right-n.left,t.height=n.bottom-n.top,t):t},i}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(4),n(3),n(1)],r=function(e,t,n){var i={},r={NEW:0,LOADING:1,ERROR:2,COMPLETE:3},o=function(o,a){function s(t){c=r.ERROR,u.trigger(e.ERROR,t)}function l(t){c=r.COMPLETE,u.trigger(e.COMPLETE,t)}var u=n.extend(this,t),c=r.NEW;this.addEventListener=this.on,this.removeEventListener=this.off,this.makeStyleLink=function(e){var t=document.createElement("link");return t.type="text/css",t.rel="stylesheet",t.href=e,t},this.makeScriptTag=function(e){var t=document.createElement("script");return t.src=e,t},this.makeTag=a?this.makeStyleLink:this.makeScriptTag,this.load=function(){if(c===r.NEW){var t=i[o];if(t&&(c=t.getStatus(),c<2))return t.on(e.ERROR,s),void t.on(e.COMPLETE,l);var n=document.getElementsByTagName("head")[0]||document.documentElement,u=this.makeTag(o),d=!1;u.onload=u.onreadystatechange=function(e){d||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(d=!0,l(e),u.onload=u.onreadystatechange=null,n&&u.parentNode&&!a&&n.removeChild(u))},u.onerror=s,n.insertBefore(u,n.firstChild),c=r.LOADING,i[o]=this}},this.getStatus=function(){return c}};return o.loaderstatus=r,o}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(1)],r=function(e){var t="free",n="premium",i="enterprise",r="platinum",o="ads",a="unlimited",s="trial",l={setup:[t,n,i,o,a,s,r],dash:[n,i,o,a,s,r],drm:[i,o,a,s],hls:[n,o,i,a,s,r],ads:[o,a,s,r,i],casting:[n,i,o,a,s,r],jwpsrv:[t,n,i,o,s,r]},u=function(t){return function(n){return e.contains(l[n],t)}};return u}.apply(t,i),!(void 0!==r&&(e.exports=r))},,,,function(e,t,n){var i,r;i=[n(7)],r=function(e){return{localName:function t(e){var t="";return e&&(e.localName?t=e.localName:e.baseName&&(t=e.baseName)),t},textContent:function n(t){var n="";return t&&(t.textContent?n=e.trim(t.textContent):t.text&&(n=e.trim(t.text))),n},getChildNode:function(e,t){return e.childNodes[t]},numChildren:function(e){return e.childNodes?e.childNodes.length:0}}}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(107),n(108),n(55),n(26)],r=function(e,t,n,i){var r={},o={},a=function(n,i){return o[n]=new e(new t(r),i),o[n]},s=function(e,t,o,a){var s=i.getPluginName(e);r[s]||(r[s]=new n(e)),r[s].registerPlugin(e,t,o,a)};return{loadPlugins:a,registerPlugin:s}}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[],r=function(){return{repo:"http://ssl.p.jwpcdn.com/player/v/",SkinsIncluded:["seven"],SkinsLoadable:["beelden","bekle","five","glow","roundster","six","stormtrooper","vapor"],dvrSeekLimit:-25}}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r,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=[n(7),n(49)],r=function(e,t){function n(e){e=e.split("-");for(var t=1;t0)return n.ABSOLUTE;var r=t.indexOf("/"),o=e.extension(t);return!(i<0&&r<0)||o&&isNaN(o)?n.RELATIVE:n.CDN}},t.getPluginName=function(e){return e.replace(/^(.*\/)?([^-]*)-?.*\.(swf|js)$/,"$2")},t.getPluginVersion=function(e){return e.replace(/[^-]*-?([^\.]*).*$/,"$1")},t}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(1)],r=function(e){function t(e){return function(){return i(e)}}var n={},i=e.memoize(function(e){var t=navigator.userAgent.toLowerCase();return null!==t.match(e)}),r=n.isInt=function(e){return parseFloat(e)%1===0};n.isFlashSupported=function(){var e=n.flashVersion();return e&&e>=18},n.isFF=t(/gecko\//i),n.isIPod=t(/iP(hone|od)/i),n.isIPad=t(/iPad/i),n.isSafari602=t(/Macintosh.*Mac OS X 10_8.*6\.0\.\d* Safari/i),n.isOSX=t(/Mac OS X/i),n.isFacebook=t(/FBAV/i);var o=n.isEdge=function(e){return i(e?new RegExp("\\sedge\\/"+e,"i"):/\sEdge\/\d+/i)},a=n.isIETrident=t(/trident\/.+rv:\s*11/i),s=n.isMSIE=function(e){return e?(e=parseFloat(e).toFixed(1),i(new RegExp("msie\\s*"+e,"i"))):i(/msie/i)};n.isChrome=function(){return i(/\s(?:Chrome|CriOS)\//i)&&!n.isEdge()},n.isIE=function(e){return e?(e=parseFloat(e).toFixed(1),e>=12?o(e):e>=11?a():s(e)):o()||a()||s()},n.isSafari=function(){return i(/safari/i)&&!i(/chrome/i)&&!i(/crios/i)&&!i(/chromium/i)&&!i(/android/i)};var l=n.isIOS=function(e){return i(e?new RegExp("iP(hone|ad|od).+\\s(OS\\s"+e+"|.*\\sVersion/"+e+")","i"):/iP(hone|ad|od)/i)};n.isAndroidNative=function(e){return u(e,!0)};var u=n.isAndroid=function(e,t){return!(t&&i(/chrome\/[123456789]/i)&&!i(/chrome\/18/))&&(e?(r(e)&&!/\./.test(e)&&(e=""+e+"."),i(new RegExp("Android\\s*"+e,"i"))):i(/Android/i))};return n.isMobile=function(){return l()||u()},n.isIframe=function(){try{return window.self!==window.top}catch(e){return!0}},n.flashVersion=function(){if(n.isAndroid())return 0;var e,t=navigator.plugins;if(t&&(e=t["Shockwave Flash"],e&&e.description))return parseFloat(e.description.replace(/\D+(\d+\.?\d*).*/,"$1"));if("undefined"!=typeof window.ActiveXObject){try{if(e=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return parseFloat(e.GetVariable("$version").split(" ")[1].replace(/\s*,\s*/,"."))}catch(i){return 0}return e}return 0},n}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[],r=function(){return"7.12.8+commercial_v7-12-8.202.commercial.499b79.jwplayer.719ba1.freewheel.a63b67.googima.356b98.vast.94a27d.analytics.b9fd30.plugin-gapro.0b6cdb.plugin-related.7adae3.plugin-sharing.586630.vr-plugin.d532d3.hls.js."; }.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(1),n(16)],r=function(e,t){var n,i=[{configName:"clearkey",keyName:"org.w3.clearkey"},{configName:"widevine",keyName:"com.widevine.alpha"},{configName:"playready",keyName:"com.microsoft.playready"}],r=[],o={},a=function(t){var n=t.get("playlist");return!!t.get("drm")||e.some(n,function(t){return!!t.drm||e.some(t.sources,function(e){return!!e.drm})})},s=function(e){return new Promise(function(t,n){var i;try{i=new window.MSMediaKeys(e)}catch(r){}i?t():n()})},l=function(t){var a=s;return navigator.requestMediaKeySystemAccess&&(a=navigator.requestMediaKeySystemAccess.bind(navigator)),n?n.then(t):(e.forEach(i,function(e){var t=a(e.keyName,[{initDataTypes:["cenc"],videoCapabilities:[{contentType:'video/mp4;codecs="avc1.4d401e"'}],audioCapabilities:[{contentType:'audio/mp4;codecs="mp4a.40.2"'}]}]).then(function(){o[e.configName]=!0})["catch"](function(){o[e.configName]=!1});r.push(t)}),n=Promise.all(r).then(t))},u=function(){return!!navigator.requestMediaKeySystemAccess&&!!MediaKeySystemAccess.prototype.getConfiguration||!!window.MSMediaKeys},c=function(e){return o[e]},d=function(t){n||console.error('DRM only supported with "drm" block in initial setup.',t);var i=e.keys(t);return e.some(i,function(e){return c(e)})};return{containsDrm:a,probe:function(e,n){u()&&t(n)("drm")?l(e):e()},anySupported:d,isSupported:c}}.apply(t,i),!(void 0!==r&&(e.exports=r))},,,,function(e,t,n){var i,r;i=[n(2),n(45),n(99),n(1),n(3),n(117),n(4),n(5)],r=function(e,t,n,i,r,o,a,s){var l=function(){function o(e,t){var n=i.extend({},t,{type:e}),r=this.mediaModel;switch(e){case"flashThrottle":var o="resume"!==t.state;this.set("flashThrottle",o),this.set("flashBlocked",o);break;case"flashBlocked":return void this.set("flashBlocked",!0);case"flashUnblocked":return void this.set("flashBlocked",!1);case"volume":return void this.set(e,t[e]);case"mute":return void(this.get("autostartMuted")||this.set(e,t[e]));case"ratechange":var l=t.playbackRate;return void(l>0&&this.set("playbackRate",l));case a.JWPLAYER_MEDIA_TYPE:return void(r.get("mediaType")!==t.mediaType&&(r.set("mediaType",t.mediaType),this.mediaController.trigger(e,n)));case a.JWPLAYER_PLAYER_STATE:return void r.set("state",t.newstate);case a.JWPLAYER_MEDIA_BUFFER:this.set("buffer",t.bufferPercent);case a.JWPLAYER_MEDIA_META:var u=t.duration;i.isNumber(u)&&!i.isNaN(u)&&(r.set("duration",u),this.set("duration",u));break;case a.JWPLAYER_MEDIA_BUFFER_FULL:r.get("playAttempt")?this.playVideo():r.on("change:playAttempt",function(){this.playVideo()},this),this.setPlaybackRate(this.get("defaultPlaybackRate"));break;case a.JWPLAYER_MEDIA_TIME:r.set("position",t.position),this.set("position",t.position),i.isNumber(t.duration)&&(r.set("duration",t.duration),this.set("duration",t.duration));break;case a.JWPLAYER_PROVIDER_CHANGED:this.set("provider",f.getName());break;case a.JWPLAYER_MEDIA_LEVELS:this.setQualityLevel(t.currentQuality,t.levels),r.set("levels",t.levels);break;case a.JWPLAYER_MEDIA_LEVEL_CHANGED:this.setQualityLevel(t.currentQuality,t.levels),this.persistQualityLevel(t.currentQuality,t.levels);break;case a.JWPLAYER_MEDIA_COMPLETE:return h=!0,this.mediaController.trigger(a.JWPLAYER_MEDIA_BEFORECOMPLETE,n),void(g&&this.playbackComplete());case a.JWPLAYER_AUDIO_TRACKS:this.setCurrentAudioTrack(t.currentTrack,t.tracks),r.set("audioTracks",t.tracks);break;case a.JWPLAYER_AUDIO_TRACK_CHANGED:this.setCurrentAudioTrack(t.currentTrack,t.tracks);break;case"subtitlesTrackChanged":this.persistVideoSubtitleTrack(t.currentTrack,t.tracks);break;case"visualQuality":var c=i.extend({},t);r.set("visualQuality",c);break;case"autoplayFailed":this.set("autostartFailed",!0),r.get("state")===s.PLAYING&&r.set("state",s.PAUSED)}this.mediaController.trigger(e,n)}function l(){return!!e.isIOS()&&!(e.isIOS(6)||e.isIOS(7)||e.isIOS(8)||e.isIOS(9))}function c(){var t=!p.get("advertising")||p.get("advertising").autoplayadsmuted,n=l()&&(e.isSafari()||e.isChrome()||e.isFacebook()),i=e.isAndroid()&&e.isChrome(),r=n||i,o=1===p.get("sdkplatform");return!p.get("sdkplatform")&&t&&r||o}var d,f,p=this,h=!1,g=!0;this.mediaController=i.extend({},r),this.mediaModel=new u,n.model(this),this.set("mediaModel",this.mediaModel),this.setup=function(e){return i.extend(this.attributes,e,{item:0,itemMeta:{},playlistItem:void 0,state:s.IDLE,flashBlocked:!1,provider:void 0,duration:0,position:0,buffer:0}),this.updateProviders(),this},this.getConfiguration=function(){return i.omit(this.clone(),["mediaModel"])},this.updateProviders=function(){d=new t(this.getConfiguration())},this.setQualityLevel=function(e,t){e>-1&&t.length>1&&"youtube"!==f.getName().name&&this.mediaModel.set("currentLevel",parseInt(e))},this.persistQualityLevel=function(e,t){var n=t[e]||{},i=n.label;this.set("qualityLabel",i)},this.setCurrentAudioTrack=function(e,t){e>-1&&t.length>0&&e ")>0&&(r=0),n.length>r+1&&n[r+1]){var o=n[r],a=o.indexOf(" --> ");a>0&&(t.begin=i(o.substr(0,a)),t.end=i(o.substr(a+5)),t.text=n.slice(r+1).join("\r\n"))}return t}var i=e.seconds;return function(e){var i=[];e=t.trim(e);var r=e.split("\r\n\r\n");1===r.length&&(r=e.split("\n\n"));for(var o=0;o100)throw new Error("Position must be between 0 and 100.");m=e,this.hasBeenReset=!0}}),Object.defineProperty(a,"positionAlign",{enumerable:!0,get:function(){return y},set:function(e){var n=t(e);if(!n)throw new SyntaxError("An invalid or illegal string was specified.");y=n,this.hasBeenReset=!0}}),Object.defineProperty(a,"size",{enumerable:!0,get:function(){return w},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");w=e,this.hasBeenReset=!0}}),Object.defineProperty(a,"align",{enumerable:!0,get:function(){return E},set:function(e){var n=t(e);if(!n)throw new SyntaxError("An invalid or illegal string was specified.");E=n,this.hasBeenReset=!0}}),a.displayState=void 0}if(window.VTTCue)return window.VTTCue;var i="auto",r={"":!0,lr:!0,rl:!0},o={start:!0,middle:!0,end:!0,left:!0,right:!0};return n.prototype.getCueAsHTML=function(){var e=window.WebVTT;return e.convertCueToDOMTree(window,this.text)},n}.call(t,n,t,e),!(void 0!==i&&(e.exports=i))},function(e,t,n){var i,r;i=[n(1),n(54),n(106)],r=function(e,t,n){var i={sources:[],tracks:[],minDvrWindow:120};return function(r){r=r||{},e.isArray(r.tracks)||delete r.tracks;var o=e.extend({},i,r);e.isObject(o.sources)&&!e.isArray(o.sources)&&(o.sources=[t(o.sources)]),e.isArray(o.sources)&&0!==o.sources.length||(r.levels?o.sources=r.levels:o.sources=[t(r)]);for(var a=0;a=0)return i.substr(0,r+1)}}return""}),r.parseXML=function(e){var t=null;try{"DOMParser"in window?(t=(new window.DOMParser).parseFromString(e,"text/xml"),(i(t.childNodes)||t.childNodes&&i(t.childNodes[0].childNodes))&&(t=null)):(t=new window.ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e))}catch(n){}return t},r.serialize=function(e){if(void 0===e)return null;if("string"==typeof e&&e.length<6){var t=e.toLowerCase();if("true"===t)return!0;if("false"===t)return!1;if(!isNaN(Number(e))&&!isNaN(parseFloat(e)))return Number(e)}return e},r.parseDimension=function(e){return"string"==typeof e?""===e?0:e.lastIndexOf("%")>-1?e:parseInt(e.replace("px",""),10):e},r.timeFormat=function(t,n){if(t<=0&&!n||e.isNaN(parseInt(t)))return"00:00";var i=t<0?"-":"";t=Math.abs(t);var r=Math.floor(t/3600),o=Math.floor((t-3600*r)/60),a=Math.floor(t%60);return i+(r?r+":":"")+(o<10?"0":"")+o+":"+(a<10?"0":"")+a},r}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(113),n(1)],r=function(e,t){var n=function(){var n={},i={},r={},o={},a=Math.max(1,(new Date).getTime());return{start:function(t){n[t]=a+e.now(),r[t]=r[t]+1||1},end:function(t){if(n[t]){var r=a+e.now(),o=r-n[t];delete n[t],i[t]=i[t]+o||o}},dump:function(){var s=t.extend({},i);for(var l in n)if(Object.prototype.hasOwnProperty.call(n,l)){var u=a+e.now(),c=u-n[l];s[l]=s[l]+c||c}return{counts:t.extend({},r),sums:s,events:t.extend({},o)}},tick:function(t){o[t]=a+e.now()},between:function(e,t){return o[t]&&o[e]?o[t]-o[e]:null}}};return n}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r,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=[n(1)],r=function(e){var t={};return t.exists=function(e){switch("undefined"==typeof e?"undefined":o(e)){case"string":return e.length>0;case"object":return null!==e;case"undefined":return!1;default:return!0}},t.isHTTPS=function(){return 0===window.location.href.indexOf("https")},t.isRtmp=function(e,t){return 0===e.indexOf("rtmp")||"rtmp"===t},t.isYouTube=function(e,t){return"youtube"===t||/^(http|\/\/).*(youtube\.com|youtu\.be)\/.+/.test(e)},t.youTubeID=function(e){var t=/v[=\/]([^?&]*)|youtu\.be\/([^?]*)|^([\w-]*)$/i.exec(e);return t?t.slice(1).join("").replace("?",""):""},t.typeOf=function(t){if(null===t)return"null";var n="undefined"==typeof t?"undefined":o(t);return"object"===n&&e.isArray(t)?"array":n},t}.apply(t,i),!(void 0!==r&&(e.exports=r))},,,,function(e,t,n){var i,r;i=[n(27),n(16),n(1),n(111),n(29)],r=function(e,t,n,i,r){function o(){return!!window.MediaSource&&!!window.MediaSource.isTypeSupported&&window.MediaSource.isTypeSupported('video/mp4;codecs="avc1.4d400d,mp4a.40.2"')}function a(i,o){if(e.isSafari())return!1;var a=t(o);if(!a("dash"))return!1;if(i.drm&&!r.anySupported(i.drm))return!1;var s=window.MediaSource;if(!window.HTMLVideoElement||!s)return!1;var l=!0;return i.mediaTypes&&(l=n.all(i.mediaTypes,function(e){return s.isTypeSupported(e)})),l&&("dash"===i.type||"mpd"===i.type||(i.file||"").indexOf("mpd-time-csf")>-1)}var s=n.find(i,n.matches({name:"flash"})),l=s.supports;s.supports=function(n,i){if(!e.isFlashSupported()||n.drm)return!1;var r=n&&n.type;if("hls"===r||"m3u8"===r){var o=t(i);return o("hls")}return l.apply(this,arguments)};var u=n.find(i,n.matches({name:"html5"})),c=u.supports;return u.supports=function(e,n){var i=c.apply(this,arguments);if(i&&e.drm&&"hls"===e.type){var r=t(n),o=r("drm");if(o&&e.drm.fairplay){var a=window.WebKitMediaKeys;return a&&a.isTypeSupported&&a.isTypeSupported("com.apple.fps.1_0","video/mp4")}return o}return i},i.push({name:"shaka",supports:a}),i.splice(1,0,{name:"hlsjs",supports:function d(n,i){var r=e.isChrome()||e.isFF()||e.isIE(11)||e.isEdge(),a=e.isAndroid()&&n.hlsjsdefault;if(r&&o()&&(!e.isMobile()||a)&&!n.drm){var s=n&&n.type,l=n&&n.file;if(l.indexOf(".m3u8")>-1||"hls"===s||"m3u8"===s){var d=t(i);return d("hls")}}}}),i}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(112),n(1),n(44)],r=function(e,t){function i(e,n,i){var r=t.indexOf(e,t.findWhere(e,{name:i})),o=t.indexOf(e,t.findWhere(e,{name:n}));if(!(o0)return f=l,m=r.loaderstatus.COMPLETE,void v.trigger(n.COMPLETE);if(t.getPluginPathType(l)===t.pluginPathType.CDN)return m=r.loaderstatus.COMPLETE,void v.trigger(n.COMPLETE);m=r.loaderstatus.LOADING;var e=new r(u());e.on(n.COMPLETE,c),e.on(n.ERROR,d),e.load()}},this.registerPlugin=function(e,t,i,o){g&&(clearTimeout(g),g=void 0),h=t,i&&o?(f=o,p=i):"string"==typeof i?f=i:"function"==typeof i?p=i:i||o||(f=e),m=r.loaderstatus.COMPLETE,v.trigger(n.COMPLETE)},this.getStatus=function(){return m},this.getPluginName=function(){return t.getPluginName(l)},this.getFlashPath=function(){if(f)switch(t.getPluginPathType(f)){case t.pluginPathType.ABSOLUTE:return f;case t.pluginPathType.RELATIVE:return l.lastIndexOf(".swf")>0?e.getAbsolutePath(f,window.location.href):e.getAbsolutePath(f,u())}return null},this.getJS=function(){return p},this.getTarget=function(){return h},this.getPluginmode=function(){return void 0!==("undefined"==typeof f?"undefined":o(f))&&void 0!==("undefined"==typeof p?"undefined":o(p))?s.HYBRID:void 0!==("undefined"==typeof f?"undefined":o(f))?s.FLASH:void 0!==("undefined"==typeof p?"undefined":o(p))?s.JAVASCRIPT:void 0},this.getNewInstance=function(e,t,n){return new p(e,t,n)},this.getURL=function(){return l}};return l}.apply(t,i),!(void 0!==r&&(e.exports=r))},,,,,function(e,t,n){var i,r;i=[n(27)],r=function(e){return function(t){if("hls"===t.type){if(t.androidhls===!1&&e.isAndroid())return!1;var n=e.isAndroidNative;if(n(2)||n(3)||n("4.0"))return!1;if(e.isAndroid()&&!e.isFF())return!0}return null}}.apply(t,i),!(void 0!==r&&(e.exports=r))},,function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(){return"hidden"in document?function(){return!document.hidden}:"webkitHidden"in document?function(){return!document.webkitHidden}:function(){return!0}}()},function(e,t,n){var i,r;i=[n(1),n(38)],r=function(e,t){function n(e){e.onload=null,e.onprogress=null,e.onreadystatechange=null,e.onerror=null,"abort"in e&&e.abort()}function i(t,i){return function(r){var o=r.currentTarget||i.xhr;if(clearTimeout(i.timeoutId),i.retryWithoutCredentials&&i.xhr.withCredentials){n(o);var a=e.extend({},i,{xhr:null,withCredentials:!1,retryWithoutCredentials:!1});return void d(a)}i.onerror(t,i.url,o)}}function r(e){return function(t){var n=t.currentTarget||e.xhr;if(4===n.readyState){if(clearTimeout(e.timeoutId),n.status>=400){var i;return i=404===n.status?"File not found":""+n.status+"("+n.statusText+")",e.onerror(i,e.url,n)}if(200===n.status)return o(e)(t)}}}function o(e){return function(n){var i=n.currentTarget||e.xhr;if(clearTimeout(e.timeoutId),e.responseType){if("json"===e.responseType)return a(i,e)}else{var r,o=i.responseXML;if(o)try{r=o.firstChild}catch(l){}if(o&&r)return s(i,o,e);if(u&&i.responseText&&!o&&(o=t.parseXML(i.responseText),o&&o.firstChild))return s(i,o,e);if(e.requireValidXML)return void e.onerror("Invalid XML",e.url,i)}e.oncomplete(i)}}function a(t,n){if(!t.response||e.isString(t.response)&&'"'!==t.responseText.substr(1))try{t=e.extend({},t,{response:JSON.parse(t.responseText)})}catch(i){return void n.onerror("Invalid JSON",n.url,t)}return n.oncomplete(t)}function s(t,n,i){var r=n.documentElement;return i.requireValidXML&&("parsererror"===r.nodeName||r.getElementsByTagName("parsererror").length)?void i.onerror("Invalid XML",i.url,t):(t.responseXML||(t=e.extend({},t,{responseXML:n})),i.oncomplete(t))}var l=function(){},u=!1,c=function(e){var t=document.createElement("a"),n=document.createElement("a");t.href=location.href;try{return n.href=e,n.href=n.href,t.protocol+"//"+t.host!=n.protocol+"//"+n.host}catch(i){}return!0},d=function(t,a,s,d){e.isObject(t)&&(d=t,t=d.url);var f,p=e.extend({xhr:null,url:t,withCredentials:!1,retryWithoutCredentials:!1,timeout:6e4,timeoutId:-1,oncomplete:a||l,onerror:s||l,mimeType:d&&!d.responseType?"text/xml":"",requireValidXML:!1,responseType:d&&d.plainText?"text":""},d);if("XDomainRequest"in window&&c(t))f=p.xhr=new window.XDomainRequest,f.onload=o(p),f.ontimeout=f.onprogress=l,u=!0;else{if(!("XMLHttpRequest"in window))return void p.onerror("",t);f=p.xhr=new window.XMLHttpRequest,f.onreadystatechange=r(p)}var h=i("Error loading file",p);f.onerror=h,"overrideMimeType"in f?p.mimeType&&f.overrideMimeType(p.mimeType):u=!0;try{t=t.replace(/#.*$/,""),f.open("GET",t,!0)}catch(g){return h(g),f}if(p.responseType)try{f.responseType=p.responseType}catch(g){}p.timeout&&(p.timeoutId=setTimeout(function(){n(f),p.onerror("Timeout",t,f)},p.timeout),f.onabort=function(){clearTimeout(p.timeoutId)});try{p.withCredentials&&"withCredentials"in f&&(f.withCredentials=!0),f.send()}catch(g){h(g)}return f};return{ajax:d,crossdomain:c}}.apply(t,i),!(void 0!==r&&(e.exports=r))},,function(e,t,n){var i,r,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=[n(2),n(3),n(1)],r=function(e,t,n){function i(e,t,n){var i=document.createElement("param");i.setAttribute("name",t),i.setAttribute("value",n),e.appendChild(i)}function r(e,t,n){Object.defineProperty(e,t,{get:function(){return n}})}function a(a,s,c,d){var f,p=!0;if(d=d||"opaque",e.isMSIE()){var h=document.createElement("div");s.appendChild(h),h.outerHTML='';for(var g=s.getElementsByTagName("object"),v=g.length;v--;)g[v].id===c&&(f=g[v])}else f=document.createElement("object"),f.setAttribute("type","application/x-shockwave-flash"),f.setAttribute("data",a),f.setAttribute("width","100%"),f.setAttribute("height","100%"),f.setAttribute("bgcolor",u), f.setAttribute("id",c),f.setAttribute("name",c),i(f,"allowfullscreen","true"),i(f,"allowscriptaccess","always"),i(f,"wmode",d),i(f,"menu","false"),s.appendChild(f,s);f.className="jw-swf jw-reset",f.style.display="block",f.style.position="absolute",f.style.left=0,f.style.right=0,f.style.top=0,f.style.bottom=0,e.isIE()&&"PointerEvent"in window&&(f.style.pointerEvents="none");var m=-1;return r(f,"on",t.on),r(f,"once",t.once),r(f,"_eventQueue",[]),r(f,"off",function(){var e=Array.prototype.slice.call(arguments);return e.length||(f._eventQueue.length=0,clearTimeout(m)),t.off.apply(f,e)}),r(f,"trigger",function(e,n){var i=f._eventQueue;i.push({type:e,json:n}),m>-1||(m=setTimeout(function(){var e=i.length;for(m=-1;e--;){var n=i.shift();if(n.json){var r=JSON.parse(decodeURIComponent(n.json));t.trigger.call(f,n.type,r)}else t.trigger.call(f,n.type)}}))}),r(f,"_events",{}),r(f,"triggerFlash",function(t){if("setupCommandQueue"===t&&(p=!1),"setup"!==t&&p||!f.__externalCall){for(var i=f.__commandQueue,r=i.length;r--;)i[r][0]===t&&i.splice(r,1);return i.push(Array.prototype.slice.call(arguments)),f}var a=Array.prototype.slice.call(arguments,1),s=e.tryCatch(function(){if(a.length){for(var e=a.length;e--;)"object"===o(a[e])&&n.each(a[e],l);var i=JSON.stringify(a);f.__externalCall(t,i)}else f.__externalCall(t)});return s instanceof e.Error&&(console.error(t,s),"setup"===t)?(s.name="Failed to setup flash",s):f}),r(f,"__commandQueue",[]),f}function s(e){e&&e.parentNode&&(e.style.display="none",e.parentNode.removeChild(e),e=null)}function l(e,t,n){e instanceof window.HTMLElement&&delete n[t]}var u="#000000";return{embed:a,remove:s}}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(22),n(1),n(40),n(38),n(28)],r=function(e,t,n,i,r){var o={};return o.repo=t.memoize(function(){var t=r.split("+")[0],i=e.repo+t+"/";return n.isHTTPS()?i.replace(/^http:/,"https:"):i}),o.versionCheck=function(e){var t=("0"+e).split(/\W/),n=r.split(/\W/),i=parseFloat(t[0]),o=parseFloat(n[0]);return!(i>o)&&!(i===o&&parseFloat("0"+t[1])>parseFloat(n[1]))},o.loadFrom=function(){return o.repo()},o}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){"use strict";function i(e,t,n){if(!e)return"";var i=e.bitrate||e.bandwidth;return o(t,i)||e.label||r(e.height,i,n)}function r(e,t,n){if(!e&&!t)return"";var i=s(t)+" kbps",r=i;return e&&(r=e+"p",t&&n&&(r+=" ("+i+")")),r}function o(e,t){var n=null,i=u.keys(e);if(t&&e&&i.length){var r=parseFloat(t);isNaN(r)||(n=e[a(i,s(r))])}return n}function a(e,t){var n=null,i=1/0,r=void 0;return u.isArray(e)&&u.forEach(e,function(e){r=Math.abs(e-t),r2&&c("setup")){l=a[1];var d=parseInt(a[2]);d>0&&(u=new Date,u.setTime(d))}else s=i}catch(f){s=i}}var s,l,u;this.edition=function(){return u&&u.getTime()<(new Date).getTime()?i:s},this.token=function(){return l},this.expiration=function(){return u},a(o)};return o}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[],r=function(){var e=function(e){return window.atob(e)},t=function(e){return unescape(encodeURIComponent(e))},n=function(e){try{return decodeURIComponent(escape(e))}catch(t){return e}},i=function(e){for(var t=new Array(Math.ceil(e.length/4)),n=0;n>>8&255,e[n]>>>16&255,e[n]>>>24&255);return t.join("")};return{decrypt:function(o,a){if(o=String(o),a=String(a),0==o.length)return"";for(var s,l,u=i(e(o)),c=i(t(a).slice(0,16)),d=u.length,f=u[d-1],p=u[0],h=2654435769,g=Math.floor(6+52/d),v=g*h;0!=v;){l=v>>>2&3;for(var m=d-1;m>=0;m--)f=u[m>0?m-1:d-1],s=(f>>>5^p<<2)+(p>>>3^f<<4)^(v^p)+(c[3&m^l]^f),p=u[m]-=s;v-=h}var y=r(u);return y=y.replace(/\0+$/,""),n(y)}}}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(2),n(152),n(4),n(174),n(1)],r=function(e,t,n,i,r){var o=function(o,a){var s=new t(o,a),l=s.setup;s.setup=function(){l.call(this),a.on("change:skipButton",this.onSkipButton,this),a.change("castAvailable",this.onCastAvailable,this),a.change("castActive",this.onCastActive,this)};var u=s.addControls;return s.addControls=function(e){u.call(this,e);var t=this.controlsContainer();t&&this._skipButton&&t.appendChild(this._skipButton.element())},s.addSkipButton=function(){this._skipButton=new i(this.instreamModel),this._skipButton.on(n.JWPLAYER_AD_SKIPPED,function(){this.api.skipAd()},this);var e=this.controlsContainer();e&&e.appendChild(this._skipButton.element())},s.onSkipButton=function(e,t){t?this.addSkipButton():this._skipButton&&(this._skipButton.destroy(),this._skipButton=null)},s.onCastActive=function(t,n){n=n||!1;var i=t.get("airplayActive")||!1;e.toggleClass(this.getContainer(),"jw-flag-casting",n),e.toggleClass(this.getContainer(),"jw-flag-airplay-casting",i)},s.onCastAvailable=function(t,n){var i=t.get("cast");r.isObject(i)&&e.toggleClass(this.getContainer(),"jw-flag-cast-available",n)},s};return o}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t1&&void 0!==arguments[1]?arguments[1]:{reason:"external"};return p.seek(e,t),h},this.playlistNext=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{reason:"external"};return p.playlistNext(e),h},this.playlistPrev=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{reason:"external"};return p.playlistPrev(e),h},this.playlistItem=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{reason:"external"};return p.playlistItem(e,t),h},this.createInstream=function(){return p.createInstream()},this.castToggle=function(){p&&p.castToggle&&p.castToggle()},this.playAd=this.pauseAd=i.noop,this.remove=function(){return f(h),h.trigger("remove"),m(),h},this};return d}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(1),n(4)],r=function(e,t){return function(n){var i={onBufferChange:t.JWPLAYER_MEDIA_BUFFER,onBufferFull:t.JWPLAYER_MEDIA_BUFFER_FULL,onError:t.JWPLAYER_ERROR,onSetupError:t.JWPLAYER_SETUP_ERROR,onFullscreen:t.JWPLAYER_FULLSCREEN,onMeta:t.JWPLAYER_MEDIA_META,onMute:t.JWPLAYER_MEDIA_MUTE,onPlaylist:t.JWPLAYER_PLAYLIST_LOADED,onPlaylistItem:t.JWPLAYER_PLAYLIST_ITEM,onPlaylistComplete:t.JWPLAYER_PLAYLIST_COMPLETE,onReady:t.JWPLAYER_READY,onResize:t.JWPLAYER_RESIZE,onComplete:t.JWPLAYER_MEDIA_COMPLETE,onSeek:t.JWPLAYER_MEDIA_SEEK,onTime:t.JWPLAYER_MEDIA_TIME,onVolume:t.JWPLAYER_MEDIA_VOLUME,onBeforePlay:t.JWPLAYER_MEDIA_BEFOREPLAY,onBeforeComplete:t.JWPLAYER_MEDIA_BEFORECOMPLETE,onDisplayClick:t.JWPLAYER_DISPLAY_CLICK,onControls:t.JWPLAYER_CONTROLS,onQualityLevels:t.JWPLAYER_MEDIA_LEVELS,onQualityChange:t.JWPLAYER_MEDIA_LEVEL_CHANGED,onCaptionsList:t.JWPLAYER_CAPTIONS_LIST,onCaptionsChange:t.JWPLAYER_CAPTIONS_CHANGED,onAdError:t.JWPLAYER_AD_ERROR,onAdClick:t.JWPLAYER_AD_CLICK,onAdImpression:t.JWPLAYER_AD_IMPRESSION,onAdTime:t.JWPLAYER_AD_TIME,onAdComplete:t.JWPLAYER_AD_COMPLETE,onAdCompanions:t.JWPLAYER_AD_COMPANIONS,onAdSkipped:t.JWPLAYER_AD_SKIPPED,onAdPlay:t.JWPLAYER_AD_PLAY,onAdPause:t.JWPLAYER_AD_PAUSE,onAdMeta:t.JWPLAYER_AD_META,onCast:t.JWPLAYER_CAST_SESSION,onAudioTrackChange:t.JWPLAYER_AUDIO_TRACK_CHANGED,onAudioTracks:t.JWPLAYER_AUDIO_TRACKS},r={onBuffer:"buffer",onPause:"pause",onPlay:"play",onIdle:"idle"};e.each(r,function(t,i){n[i]=e.partial(n.on,t,e)}),e.each(i,function(t,i){n[i]=e.partial(n.on,t,e)})}}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(2),n(1)],r=function(e,t){function i(n){t.each(n,function(t,i){n[i]=e.serialize(t)})}function r(e){return e.slice&&"px"===e.slice(-2)&&(e=e.slice(0,-2)),e}function o(t,n){if(n.toString().indexOf("%")===-1)return 0;if("string"!=typeof t||!e.exists(t))return 0;if(/^\d*\.?\d+%$/.test(t))return t;var i=t.indexOf(":");if(i===-1)return 0;var r=parseFloat(t.substr(0,i)),o=parseFloat(t.substr(i+1));return r<=0||o<=0?0:o/r*100+"%"}var a={autostart:!1,controls:!0,displaytitle:!0,displaydescription:!0,mobilecontrols:!1,defaultPlaybackRate:1,playbackRateControls:!1,repeat:!1,castAvailable:!1,skin:"seven",stretching:"uniform",mute:!1,volume:90,width:480,height:270,audioMode:!1,localization:{player:"Video Player",play:"Play",playback:"Start playback",pause:"Pause",volume:"Volume",prev:"Previous",next:"Next",cast:"Chromecast",airplay:"Airplay",fullscreen:"Fullscreen",playlist:"Playlist",hd:"Quality",cc:"Closed captions",audioTracks:"Audio tracks",playbackRates:"Playback rates",replay:"Replay",buffer:"Loading",more:"More",liveBroadcast:"Live broadcast",loadingAd:"Loading ad",rewind:"Rewind 10s",nextUp:"Next Up",nextUpClose:"Next Up Close",related:"Discover",close:"Close"},renderCaptionsNatively:!0,nextUpDisplay:!0},s=function(s,l){var u=l&&l.getAllItems(),c=t.extend({},(window.jwplayer||{}).defaults,u,s);i(c),c.localization=t.extend({},a.localization,c.localization);var d=t.extend({},a,c);"."===d.base&&(d.base=e.getScriptPath("jwplayer.js")),d.base=(d.base||e.loadFrom()).replace(/\/?$/,"/"),n.p=d.base,d.width=r(d.width),d.height=r(d.height);var f=e.getScriptPath("jwplayer.js")||d.base;d.flashplayer=d.flashplayer||f+"jwplayer.flash.swf",d.flashloader=d.flashloader||f+"jwplayer.loader.swf","http:"===window.location.protocol&&(d.flashplayer=d.flashplayer.replace("https","http"),d.flashloader=d.flashloader.replace("https","http")),d.aspectratio=o(d.aspectratio,d.width),t.isObject(d.skin)&&(d.skinUrl=d.skin.url,d.skinColorInactive=d.skin.inactive,d.skinColorActive=d.skin.active,d.skinColorBackground=d.skin.background,d.skin=t.isString(d.skin.name)?d.skin.name:a.skin),t.isString(d.skin)&&d.skin.indexOf(".xml")>0&&(console.warn("JW Player does not support XML skins, please update your config"),d.skin=d.skin.replace(".xml",""));var p=d.playbackRateControls;if(p){var h=[.5,1,1.25,1.5,2];t.isArray(p)&&(h=p.filter(function(e){return t.isNumber(e)&&e>=.25&&e<=4}).map(function(e){return Math.round(4*e)/4}),h.indexOf(1)<0&&h.push(1),h.sort()),d.playbackRateControls=h}(!d.playbackRateControls||d.playbackRateControls.indexOf(d.defaultPlaybackRate)<0)&&(d.defaultPlaybackRate=1),d.playbackRate=d.defaultPlaybackRate,d.aspectratio||delete d.aspectratio;var g=d.playlist;if(g)t.isArray(g.playlist)&&(d.feedData=g,d.playlist=g.playlist);else{var v=t.pick(d,["title","description","type","mediaid","image","file","sources","tracks","preload"]);d.playlist=[v]}return d.qualityLabels=d.qualityLabels||d.hlslabels,d};return s}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(87),n(1),n(45),n(44),n(21)],r=function(e,t,n,i,r){var o=[],a=0,s=function(t){var n,i;return t?"string"==typeof t?(n=l(t),n||(i=document.getElementById(t))):"number"==typeof t?n=o[t]:t.nodeType&&(i=t,n=l(i.id)):n=o[0],n?n:i?u(new e(i,c)):{registerPlugin:r.registerPlugin}},l=function(e){for(var t=0;t0;){var e=ye.eventsQueue.shift(),t=e[0],n=e[1]||[];ye["_"+t].apply(ye,n)}}function I(e,t){switch(ge.get("state")===g.ERROR&&ge.set("state",g.IDLE),ge.set("preInstreamState","instream-idle"),ye.trigger("destroyPlugin",{}),F(!0),P(),"undefined"==typeof e?"undefined":a(e)){case"string":M(e);break;case"object":var n=U(e,t);n&&H(0);break;case"number":H(e)}}function M(e){var t=new c;t.on(v.JWPLAYER_PLAYLIST_LOADED,function(e){I(e.playlist,e)}),t.on(v.JWPLAYER_ERROR,function(e){e.message="Error loading playlist: "+e.message,this.triggerError(e)},this),t.load(e)}function O(){return ye._instreamAdapter&&ye._instreamAdapter.getState()}function D(){var e=O();return n.isString(e)?e:ge.get("state")}function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(j(),ge.set("playReason",e.reason),ge.get("state")!==g.ERROR){var t=O();if(n.isString(t))return void m.pauseAd(!1);if(ge.get("state")===g.COMPLETE&&(F(!0),H(0)),!ve&&(ve=!0,ye.triggerAfterReady(v.JWPLAYER_MEDIA_BEFOREPLAY,{playReason:ge.get("playReason")}),ve=!1,he))return he=!1,void(pe=null);var i;if(J()){if(0===ge.get("playlist").length)return;i=d.tryCatch(function(){ge.loadVideo()})}else ge.get("state")===g.PAUSED&&(i=d.tryCatch(function(){ge.playVideo()}));i instanceof d.Error&&(ye.triggerError(i),pe=null)}}function Y(){var e=ge.get("state");e!==g.IDLE&&e!==g.PAUSED||N({reason:"autostart"})}function F(e){j();var t=!e;pe=null;var n=d.tryCatch(function(){ge.stopVideo()},ye);return n instanceof d.Error?(ye.triggerError(n),!1):(t&&(me=!0),ve&&(he=!0),!0)}function W(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};pe=null,ge.set("pauseReason",e.reason),"interaction"!==e.reason&&"external"!==e.reason||ge.set("playOnViewable",!1);var t=O();if(n.isString(t))return void m.pauseAd(!0);switch(ge.get("state")){case g.ERROR:return;case g.PLAYING:case g.BUFFERING:var i=d.tryCatch(function(){Ee().pause()},this);if(i instanceof d.Error)return void ye.triggerError(i);break;default:ve&&(he=!0)}}function J(){var e=ge.get("state");return e===g.IDLE||e===g.COMPLETE||e===g.ERROR}function B(e,t){ge.get("state")!==g.ERROR&&(ge.get("scrubbing")||ge.get("state")===g.PLAYING||N(t),Ee().seek(e))}function V(e,t){F(!0),ge.get("state")===g.ERROR&&ge.set("state",g.IDLE),H(e),N(t)}function U(e,t){ge.set("feedData",t);var i=u(e);return i=u.filterPlaylist(i,ge,t),ge.set("playlist",i),n.isArray(i)&&0!==i.length?(T(i),!0):(ye.triggerError({message:"Error loading playlist: No playable sources found"}),!1)}function H(e){ge.setItemIndex(e)}function z(e){V(ge.get("item")-1,e)}function G(e){V(ge.get("item")+1,e)}function q(){if(J()){if(me)return void(me=!1);pe=q;var e=ge.get("item");return e===ge.get("playlist").length-1?void(ge.get("repeat")?G({reason:"repeat"}):(d.isIOS()&&le(!1),ge.set("playOnViewable",!1),ge.set("state",g.COMPLETE),ye.trigger(v.JWPLAYER_PLAYLIST_COMPLETE,{}))):void G({reason:"playlist"})}}function K(e){Ee()&&(e=parseInt(e,10)||0,Ee().setCurrentQuality(e))}function Q(){return Ee()?Ee().getCurrentQuality():-1}function X(){return this._model?this._model.getConfiguration():void 0}function $(){if(this._model.mediaModel)return this._model.mediaModel.get("visualQuality");var e=Z();if(e){var t=Q(),i=e[t];if(i)return{level:n.extend({index:t},i),mode:"",reason:""}}return null}function Z(){return Ee()?Ee().getQualityLevels():null}function ee(e){Ee()&&(e=parseInt(e,10)||0,Ee().setCurrentAudioTrack(e))}function te(){return Ee()?Ee().getCurrentAudioTrack():-1}function ne(){return Ee()?Ee().getAudioTracks():null}function ie(e){e=parseInt(e,10)||0,ge.persistVideoSubtitleTrack(e),ye.trigger(v.JWPLAYER_CAPTIONS_CHANGED,{tracks:oe(),track:e})}function re(){return de.getCurrentIndex()}function oe(){return de.getCaptionsList()}function ae(){return ge.detachMedia()}function se(){var e=d.tryCatch(function(){ge.attachMedia()});return e instanceof d.Error?void d.log("Error calling _attachMedia",e):void("function"==typeof pe&&pe())}function le(e){n.isBoolean(e)||(e=!ge.get("fullscreen")),ge.set("fullscreen",e),this._instreamAdapter&&this._instreamAdapter._adModel&&this._instreamAdapter._adModel.set("fullscreen",e)}function ue(){var e=m.getPlugin("related");if(e){var t=ge.get("nextUp");t&&ye.trigger("nextClick",{mode:t.mode,ui:"nextup",target:t,itemsShown:[t],feedData:t.feedData}),e.next()}}var ce,de,fe,pe,he,ge=this._model,ve=!1,me=!1,ye=this,we={},Ee=function(){return ge.getVideo()},be=new s;be.track(ge);var Ae=new e(o,be),Ce=[];ge.setup(Ae,be),ce=this._view=new f(m,ge),fe=new i(m,ge,ce,U),fe.on(v.JWPLAYER_READY,A,this),fe.on(v.JWPLAYER_SETUP_ERROR,this.setupError,this),ge.mediaController.on("all",w,this),ge.mediaController.on(v.JWPLAYER_MEDIA_COMPLETE,function(){n.defer(q)}),ge.mediaController.on(v.JWPLAYER_MEDIA_ERROR,this.triggerError,this),ge.on("change:flashBlocked",function(e,t){if(!t)return void this._model.set("errorEvent",void 0);var n=!!e.get("flashThrottle"),i={message:n?"Click to run Flash":"Flash plugin failed to load"};n||this.trigger(v.JWPLAYER_ERROR,i),this._model.set("errorEvent",i)},this),ge.on("change:state",h,this),ge.on("change:duration",function(e,t){var n=e.get("minDvrWindow"),i=d.streamType(t,n);e.setStreamType(i)}),ge.on("change:castState",function(e,t){ye.trigger(v.JWPLAYER_CAST_SESSION,t)}),ge.on("change:fullscreen",function(e,t){ye.trigger(v.JWPLAYER_FULLSCREEN,{fullscreen:t}),t&&e.set("playOnViewable",!1)}),ge.on("itemReady",function(){ye.triggerAfterReady(v.JWPLAYER_PLAYLIST_ITEM,{index:ge.get("item"),item:ge.get("playlistItem")})}),ge.on("change:playlist",function(e,t){if(t.length){var i={playlist:t},r=ge.get("feedData");if(r){var o=n.extend({},r);delete o.playlist,i.feedData=o}ye.triggerAfterReady(v.JWPLAYER_PLAYLIST_LOADED,i)}}),ge.on("change:volume",function(e,t){ye.trigger(v.JWPLAYER_MEDIA_VOLUME,{volume:t})}),ge.on("change:mute",function(e,t){ye.trigger(v.JWPLAYER_MEDIA_MUTE,{mute:t})}),ge.on("change:playbackRate",function(e,t){ye.trigger(v.JWPLAYER_PLAYBACK_RATE_CHANGED,{playbackRate:t,position:e.get("position")})}),ge.on("change:scrubbing",function(e,t){t?W():N({reason:"interaction"})}),ge.on("change:captionsList",function(e,t){ye.triggerAfterReady(v.JWPLAYER_CAPTIONS_LIST,{tracks:t,track:ge.get("captionsIndex")||0})}),ge.on("change:mediaModel",function(e){e.mediaModel.on("change:state",function(t,n){e.set("state",E(n))})}),de=new r(ge),ge.on("change:viewSetup",function(e,t){if(t){var n=this.currentContainer.querySelector("video, audio");if(ye.showView(ce.element()),n){var i=ge.get("mediaContainer");i.appendChild(n)}}},this),this.triggerAfterReady=function(e,t){Ce.push({type:e,args:t})},this._play=N,this._pause=W,this._seek=B,this._stop=F,this._load=I,this._next=G,this._prev=z,this._item=V,this._setCurrentCaptions=ie,this._setCurrentQuality=K,this._setFullscreen=le,this.detachMedia=ae,this.attachMedia=se,this.getCurrentQuality=Q,this.getQualityLevels=Z,this.setCurrentAudioTrack=ee,this.getCurrentAudioTrack=te,this.getAudioTracks=ne,this.getCurrentCaptions=re,this.getCaptionsList=oe,this.getVisualQuality=$,this.getConfig=X,this.getState=D,this.setVolume=ge.setVolume.bind(ge),this.setMute=ge.setMute.bind(ge),this.setPlaybackRate=ge.setPlaybackRate.bind(ge),this.getProvider=function(){return ge.get("provider")},this.getWidth=function(){return ge.get("containerWidth")},this.getHeight=function(){return ge.get("containerHeight")},this.getContainer=function(){return this.currentContainer},this.resize=ce.resize,this.getSafeRegion=ce.getSafeRegion,this.setCues=ce.addCues,this.setCaptions=ce.setCaptions,this.next=ue,this.setConfig=function(e){return(0,l["default"])(ye,e)},this.addButton=function(e,t,i,r,o){var a={img:e,tooltip:t,callback:i,id:r,btnClass:o},s=!1,l=n.map(ge.get("dock"),function(e){var t=e!==a&&e.id===a.id;return t?(s=!0,a):e});s||l.push(a),ge.set("dock",l)},this.removeButton=function(e){var t=ge.get("dock")||[];t=n.reject(t,n.matches({id:e})),ge.set("dock",t)},this.checkBeforePlay=function(){return ve},this.getItemQoe=function(){return ge._qoeItem},this.setControls=function(e){n.isBoolean(e)||(e=!ge.get("controls")),ge.set("controls",e);var t=ge.getVideo();t&&t.setControls(e)},this.playerDestroy=function(){this.stop(),this.showView(this.originalContainer),ce&&ce.destroy(),ge&&ge.destroy(),fe&&(fe.destroy(),fe=null)},this.isBeforePlay=this.checkBeforePlay,this.isBeforeComplete=function(){return ge.checkComplete()},this.createInstream=function(){return this.instreamDestroy(),this._instreamAdapter=new t(this,ge,ce),this._instreamAdapter},this.skipAd=function(){this._instreamAdapter&&this._instreamAdapter.skipAd()},this.instreamDestroy=function(){ye._instreamAdapter&&ye._instreamAdapter.destroy()},this.trigger=function(e,t){var n=y(ge,e,t);return p.trigger.call(this,e,n)},fe.start()},showView:function(e){if(!document.body.contains(this.currentContainer)){var t=document.getElementById(this._model.get("id"));t&&(this.currentContainer=t)}this.currentContainer.parentElement&&this.currentContainer.parentElement.replaceChild(e,this.currentContainer),this.currentContainer=e},triggerError:function(e){this._model.set("errorEvent",e),this._model.set("state",g.ERROR),this._model.once("change:state",function(){this._model.set("errorEvent",void 0)},this),this.trigger(v.JWPLAYER_ERROR,e)},setupError:function(e){var t=e.message,i=d.createElement(m(this._model.get("id"),this._model.get("skin"),t)),r=this._model.get("width"),o=this._model.get("height");d.style(i,{width:r.toString().indexOf("%")>0?r:r+"px",height:o.toString().indexOf("%")>0?o:o+"px"}),this.showView(i);var a=this;n.defer(function(){a.trigger(v.JWPLAYER_SETUP_ERROR,{message:t})})}},b}.apply(t,r),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,r;i=[n(1),n(4)],r=function(e,t){return function(n,i,r){var o=r;switch(i){case t.JWPLAYER_MEDIA_TIME:case"beforePlay":case"pause":case"play":case"ready":var a=n.get("viewable");e.isUndefined(a)||(o=e.extend({},r,{viewable:a}))}return o}}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(98),n(97),n(4),n(5),n(2),n(3),n(1)],r=function(e,t,n,i,r,o,a){function s(n){var i="",r=n.get("provider");return r&&(i=r.name),i.indexOf("flash")>=0?t:e}var l={skipoffset:null, tag:null},u=function(e,o,u){function c(){E._adModel.set("state","buffering"),o.set("skipButton",!1),b++;var e,t=h[b];g&&(e=g[b]),C.loadItem(t,e)}function d(e,t){"complete"!==e&&(t=t||{},A.tag&&!t.tag&&(t.tag=A.tag),this.trigger(e,t),"mediaError"!==e&&"error"!==e||h&&b+10&&tt&&e(),t=i}};return{model:r}}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(21),n(52),n(15),n(65),n(22),n(1),n(2),n(4),n(50)],r=function(e,t,i,r,o,a,s,l,u){function c(){var e={LOAD_PROMISE_POLYFILL:{method:f,depends:[]},LOAD_BASE64_POLYFILL:{method:p,depends:[]},LOAD_PLUGINS:{method:g,depends:["LOAD_PROMISE_POLYFILL"]},LOAD_XO_POLYFILL:{method:h,depends:[]},LOAD_SKIN:{method:k,depends:[]},LOAD_PLAYLIST:{method:y,depends:[]},LOAD_CONTROLS:{method:_,depends:["LOAD_PROMISE_POLYFILL"]},SETUP_VIEW:{method:L,depends:["LOAD_SKIN","LOAD_XO_POLYFILL","LOAD_PROMISE_POLYFILL"]},INIT_PLUGINS:{method:v,depends:["LOAD_PLUGINS","SETUP_VIEW"]},CHECK_FLASH:{method:w,depends:["SETUP_VIEW"]},FILTER_PLAYLIST:{method:E,depends:["LOAD_PLAYLIST","CHECK_FLASH"]},SET_ITEM:{method:P,depends:["INIT_PLUGINS","FILTER_PLAYLIST"]},DEFERRED:{method:d,depends:[]},SEND_READY:{method:j,depends:["LOAD_CONTROLS","SET_ITEM","DEFERRED"]}};return e}function d(e){setTimeout(e,0)}function f(e){window.Promise?e():n.e(11,function(require){n(57),e()})}function p(e){window.btoa&&window.atob?e():n.e(12,function(require){n(56),e()})}function h(e){"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?e():n.e(7,function(require){n(83),e()})}function g(t,n){window.jwplayerPluginJsonp=e.registerPlugin,x=e.loadPlugins(n.get("id"),n.get("plugins")),x.on(l.COMPLETE,t),x.on(l.ERROR,a.partial(m,t)),x.load()}function v(e,t,n){delete window.jwplayerPluginJsonp,x.setupPlugins(n,t),e()}function m(e,t){R(e,"Could not load plugin",t.message)}function y(e,n){var i=n.get("playlist");a.isString(i)?(T=new t,T.on(l.JWPLAYER_PLAYLIST_LOADED,function(t){n.attributes.feedData=t,n.attributes.playlist=t.playlist,e()}),T.on(l.JWPLAYER_ERROR,a.partial(b,e)),T.load(i)):e()}function w(e,t,n,i){var o="flash"===t.get("primary"),a=s.flashVersion();if(o&&a){var l,u=function(){l!==-1&&(clearTimeout(l),l=-1,setTimeout(function(){r.remove(f.querySelector("#"+p)),e()},0))},c=function(){t.set("primary",void 0),t.updateProviders(),u()},d=i.element(),f=d.querySelector(".jw-media");d.parentElement||c();var p=""+t.get("id")+"-"+Math.random().toString(16).substr(2),h=t.get("flashloader");Object.defineProperty(r.embed(h,f,p,null),"embedCallback",{get:function(){return u}}),l=setTimeout(c,3e3)}else e()}function E(e,t,n,i,r){var o=r(t.get("playlist"),t.get("feedData"));o?e():b(e)}function b(e,t){t&&t.message?R(e,"Error loading playlist",t.message):R(e,"Error loading player","No playable sources found")}function A(e,t){var n;return a.contains(o.SkinsLoadable,e)&&(n=t+"skins/"+e+".css"),n}function C(e){for(var t=document.styleSheets,n=0,i=t.length;n\s+<").replace(/(<\/?)tts?:/g,"$1").replace(//g,"\r\n");if(v){var m=d.getAttribute("begin"),y=d.getAttribute("dur"),w=d.getAttribute("end"),E={begin:i(m,s),text:v};w?E.end=i(w,s):y&&(E.end=E.begin+i(y,s)),o.push(E)}}return o.length||n(),o}}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(20),n(7),n(2)],r=function(e,t,n){var i="jwplayer",r=function(r,o){for(var a=[],s=[],l=t.xmlAttribute,u="default",c="label",d="file",f="type",p=0;p0&&(a[p][u]="true"===a[p][u],a[p].label.length||delete a[p].label,o.sources.push(a[p]));if(s.length)for(o.tracks=[],p=0;p0&&(s[p][u]="true"===s[p][u],s[p].kind=s[p].kind.length?s[p].kind:"captions",s[p].label.length||delete s[p].label,o.tracks.push(s[p]));return o};return r}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(20),n(7),n(2)],r=function(e,t,n){function i(e){for(var t=[],n=0;n0&&(t=c(d,t));break;case"title":t.title=a(d);break;case"description":t.description=a(d);break;case"guid":t.mediaid=a(d);break;case"thumbnail":t.image||(t.image=r(d,"url"));break;case"group":c(d,t);break;case"subtitle":var m={};m.file=r(d,"url"),m.kind="captions",r(d,"lang").length>0&&(m.label=u(r(d,"lang"))),h.push(m)}}for(t.hasOwnProperty(p)||(t[p]=[]),f=0;fn?e=n:e<0&&(e=0),t+=e};setInterval(r,1e3),Object.defineProperty(this,"currentTime",{get:function(){return r(),t-e}})};return r.prototype.now=function(){return this.currentTime},new r}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(1)],r=function(e){return function(t){return e.each(Array.prototype.slice.call(arguments,1),function(e){if(e)for(var n in e)n in t||(t[n]=e[n])}),t}}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[],r=function(){return{hasClass:function(e,t){var n=" "+t+" ";return 1===e.nodeType&&(" "+e.className+" ").replace(/[\t\r\n\f]/g," ").indexOf(n)>=0}}}.apply(t,i),!(void 0!==r&&(e.exports=r))},,function(e,t,n){var i,r;i=[n(1),n(3)],r=function(e,t){return e.extend({get:function(e){return this.attributes=this.attributes||{},this.attributes[e]},set:function(e,t){if(this.attributes=this.attributes||{},this.attributes[e]!==t){var n=this.attributes[e];this.attributes[e]=t,this.trigger("change:"+e,this,t,n)}},clone:function(){return e.clone(this.attributes)},change:function(e,t,n){var i=this;return e.split(" ").forEach(function(e){var r="change:"+e,o=i.get(e);i.on(r,t,n),t.call(n,i,o,o)}),this}},t)}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(1)],r=function(e){var t={};return t.isDvr=function(e,t){return Math.abs(e)>=Math.max(t,0)},t.streamType=function(n,i){var r=e.isUndefined(i)?120:i,o="VOD";return n===1/0?o="LIVE":n<0&&(o=t.isDvr(n,r)?"DVR":"LIVE"),o},t}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[],r=function(){var e=function(e,n,i){n=n||this,i=i||[];var r=window.jwplayer;if(r&&r.debug)return e.apply(n,i);try{return e.apply(n,i)}catch(o){return new t(e.name,o)}},t=function(e,t){this.name=e,this.message=t.message||t.toString(),this.error=t};return{tryCatch:e,Error:t}}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(2),n(23),n(14),n(5),n(1)],r=function(e,t,i,r,o){var a,s=t.style,l={back:!0,backgroundOpacity:50,edgeStyle:null,fontSize:14,fontOpacity:100,fontScale:.05,preprocessor:o.identity,windowOpacity:0};return a=function(r){function a(){if(o.isFinite(j.fontSize)){var e=r.get("containerHeight");return e?void(L=l.fontScale*j.fontSize/l.fontSize):void r.once("change:containerHeight",a)}}function u(){var e=r.get("containerHeight");if(e){var t=Math.round(e*L);r.get("renderCaptionsNatively")?p(r.get("id"),t):s(b,{fontSize:t+"px"})}}function c(e,t){u(),f(e,t),d(e,t)}function d(e,n){t.css("#"+e+" .jw-text-track-display",P,e),t.css("#"+e+" .jw-text-track-cue",n,e)}function f(n,i){e.isSafari()&&t.css("#"+n+" .jw-video::-webkit-media-text-track-display-backdrop",{backgroundColor:i.backgroundColor},n,!0),t.css("#"+n+" .jw-video::-webkit-media-text-track-display",P,n,!0),t.css("#"+n+" .jw-video::cue",i,n,!0)}function p(e,n){P.fontSize=n+"px",t.css("#"+e+" .jw-video::-webkit-media-text-track-display",P,e,!0)}function h(e,n){var i=n.color,r=n.fontOpacity;if((i||r!==l.fontOpacity)&&(e.color=t.hexToRgba(i||"#ffffff",r)),n.back){var o=n.backgroundColor,a=n.backgroundOpacity;o===l.backgroundColor&&a===l.backgroundOpacity||(e.backgroundColor=t.hexToRgba(o,a))}else e.background="transparent";n.fontFamily&&(e.fontFamily=n.fontFamily),n.fontStyle&&(e.fontStyle=n.fontStyle),n.fontWeight&&(e.fontWeight=n.fontWeight),n.textDecoration&&(e.textDecoration=n.textDecoration)}function g(e,n,i){var r=t.hexToRgba("#000000",i);"dropshadow"===e?n.textShadow="0 2px 1px "+r:"raised"===e?n.textShadow="0 0 5px "+r+", 0 1px 5px "+r+", 0 2px 5px "+r:"depressed"===e?n.textShadow="0 -2px 1px "+r:"uniform"===e&&(n.textShadow="-2px 0 1px "+r+",2px 0 1px "+r+",0 -2px 1px "+r+",0 2px 1px "+r+",-1px 1px 1px "+r+",1px 1px 1px "+r+",1px -1px 1px "+r+",1px 1px 1px "+r)}function v(e){r.get("renderCaptionsNatively")||(E=e,this.selectCues(y,E))}function m(){r.get("renderCaptionsNatively")||n.e(10,function(require){n(58),k=window.WebVTT})}var y,w,E,b,A,C,k,L,P,j={};b=document.createElement("div"),b.className="jw-captions jw-reset",this.show=function(){i.addClass(b,"jw-captions-enabled")},this.hide=function(){i.removeClass(b,"jw-captions-enabled")},this.populate=function(e){if(!r.get("renderCaptionsNatively"))return w=[],y=e,e?void this.selectCues(e,E):(w=[],void this.renderCues())},this.resize=function(){u(),this.renderCues(!0)},this.renderCues=function(e){e=!!e,k&&k.processCues(window,w,b,e)},this.selectCues=function(e,t){var n,i;e&&e.data&&t&&(i=this.getAlignmentPosition(e,t),i!==!1&&(n=this.getCurrentCues(e.data,i),this.updateCurrentCues(n),this.renderCues(!0)))},this.getCurrentCues=function(e,t){return o.filter(e,function(e){return t>=e.startTime&&(!e.endTime||t<=e.endTime)})},this.updateCurrentCues=function(e){return e.length?o.difference(e,w).length&&(i.addClass(A,"jw-captions-window-active"),w=e):w=[],w},this.getAlignmentPosition=function(e,t){var n=e.source,i=t.metadata;return n?i&&o.isNumber(i[n])?i[n]:void 0:t.duration<0?t.position-t.duration:t.position},this.clear=function(){e.empty(b)},this.setup=function(e,n){A=document.createElement("div"),C=document.createElement("span"),A.className="jw-captions-window jw-reset",C.className="jw-captions-text jw-reset",j=o.extend({},l,n),L=l.fontScale,a(j.fontSize);var i=j.windowColor,u=j.windowOpacity,d=j.edgeStyle;P={};var f={};h(f,j),(i||u!==l.windowOpacity)&&(P.backgroundColor=t.hexToRgba(i||"#000000",u)),g(d,f,j.fontOpacity),j.back||null!==d||g("uniform",f),s(A,P),s(C,f),c(e,f),A.appendChild(C),b.appendChild(A),this.populate(r.get("captionsTrack")),r.set("captions",j)},this.element=function(){return b},r.on("change:playlistItem",function(){E=null,w=[]},this),r.on("change:captionsTrack",function(e,t){this.populate(t)},this),r.mediaController.on("seek",function(){w=[]},this),r.mediaController.on("time seek",v,this),r.mediaController.on("subtitlesTrackData",function(){this.selectCues(y,E)},this),r.on("itemReady",m,this)}}.apply(t,i),!(void 0!==r&&(e.exports=r))},,,,,,,,,,,,,,,,,,,,,function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var r,o,a=n(153),s=i(a);r=[],o=function(){function e(e,t,n,i){return(0,s["default"])(e,t,n,i)}return e}.apply(t,r),!(void 0!==o&&(e.exports=o))},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var r,o,a=n(154),s=i(a);r=[n(6),n(2),n(4),n(1),n(3)],o=function(e,t,n,i,r){var o=t.style,a={linktarget:"_blank",margin:8,hide:!1,position:"top-right"};return function(l){function u(){var e=l.get("dock"),n=!!(e&&e.length&&"top-right"===d.position&&l.get("controls"));t.toggleClass(c,"jw-below",n)}i.extend(this,r);var c,d,f=new Image;return this.setup=function(){if(d=i.extend({},a,l.get("logo")),d.file){d.position=d.position||a.position,d.hide="true"===d.hide.toString(),c||(c=t.createElement((0,s["default"])(d.position,d.hide))),l.set("logo",d),l.change("dock",u),l.on("change:controls",u),f.onload=function(){var e={backgroundImage:'url("'+this.src+'")',width:this.width,height:this.height};if(d.margin!==a.margin){var t=/(\w+)-(\w+)/.exec(d.position);3===t.length&&(e["margin-"+t[1]]=d.margin,e["margin-"+t[2]]=d.margin)}o(c,e),l.set("logoWidth",e.width)},f.src=d.file;var r=new e(c);r.on("click tap",function(e){t.exists(e)&&e.stopPropagation&&e.stopPropagation(),this.trigger(n.JWPLAYER_LOGO_CLICK,{link:d.link,linktarget:d.linktarget})},this)}},this.setContainer=function(e){if(c){var t=e.querySelector(".jw-dock");t?e.insertBefore(c,t):e.appendChild(c)}},this.element=function(){return c},this.position=function(){return d.position},this.destroy=function(){l.off("change:dock",u),l.off("change:controls",u),f.onload=null},this}}.apply(t,r),!(void 0!==o&&(e.exports=o))},function(e,t,n){var i,r;i=[n(1),n(2)],r=function(e,t){function n(e,t){t.off("change:mediaType",null,this),t.on("change:mediaType",function(t,n){"audio"===n&&this.setImage(e.get("playlistItem").image)},this)}function i(e,n){var i=e.get("autostart")&&!t.isMobile()||e.get("item")>0;return i?(this.setImage(null),e.off("change:state",null,this),void e.on("change:state",function(e,t){"complete"!==t&&"idle"!==t&&"error"!==t||(this.setImage(n.image),this.resize(null,null,e.get("stretching")))},this)):void this.setImage(n.image)}var r=function(e){this.model=e,e.on("change:playlistItem",i,this),e.on("change:mediaModel",n,this)};return e.extend(r.prototype,{setup:function(e){this.el=e;var t=this.model.get("playlistItem");t&&this.setImage(t.image)},setImage:function(n){var i=this.image;i&&(i.onload=null,this.image=null),this.model.off("change:state",null,this);var r="";e.isString(n)&&(r='url("'+n+'")',i=this.image=new Image,i.src=n),t.style(this.el,{backgroundImage:r})},resize:function(e,n,i){if("uniform"===i){if(e&&(this.playerAspectRatio=e/n),!this.playerAspectRatio)return;var r=this.image,o=null;if(r){if(0===r.width){var a=this;return void(r.onload=function(){a.resize(e,n,i)})}var s=r.width/r.height;Math.abs(this.playerAspectRatio-s)<.09&&(o="cover")}t.style(this.el,{backgroundSize:o})}},element:function(){return this.el}}),r}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(1),n(2)],r=function(e,t){var n=function(e){this.model=e,this.model.on("change:playlistItem",this.playlistItem,this)};return e.extend(n.prototype,{hide:function(){this.el.style.display="none"},show:function(){this.el.style.display=""},setup:function(e){this.el=e;var t=this.el.getElementsByTagName("div");this.title=t[0],this.description=t[1],this.model.get("playlistItem")&&this.playlistItem(this.model,this.model.get("playlistItem")),this.model.on("change:logoWidth",this.update,this),this.model.on("change:dock",this.update,this)},update:function(e){var n={paddingLeft:0,paddingRight:0},i=e.get("controls"),r=e.get("dock"),o=e.get("logo");if(o){var a=1*(""+o.margin).replace("px",""),s=e.get("logoWidth")+(isNaN(a)?0:a);"top-left"===o.position?n.paddingLeft=s:"top-right"===o.position&&(n.paddingRight=s)}if(i&&r&&r.length){var l=56*r.length;n.paddingRight=Math.max(n.paddingRight,l)}t.style(this.el,n)},playlistItem:function(e,t){if(e.get("displaytitle")||e.get("displaydescription")){var n="",i="";t.title&&e.get("displaytitle")&&(n=t.title),t.description&&e.get("displaydescription")&&(i=t.description),this.updateText(n,i)}else this.hide(); },updateText:function(e,t){this.title.innerHTML=e,this.description.innerHTML=t,this.title.firstChild||this.description.firstChild?this.show():this.hide()},element:function(){return this.el}}),n}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=t.CONTROLBAR_ONLY_HEIGHT=44;t.isAudioMode=function(e){var t=e.get("height");if(e.get("aspectratio"))return!1;if("string"==typeof t&&t.indexOf("%")>-1)return!1;var i=1*t||NaN;return i=isNaN(i)?e.get("containerHeight"):i,!!i&&(i&&i<=n)}},function(e,t,n){"use strict";function i(e){var t=0;return e>=1280?t=7:e>=960?t=6:e>=800?t=5:e>=640?t=4:e>=540?t=3:e>=420?t=2:e>=320&&(t=1),t}function r(e,t){var n="jw-breakpoint-"+t;o.replaceClass(e,/jw-breakpoint-\d+/,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.getBreakpoint=i,t.setBreakpoint=r;var o=n(14)},function(e,t,n){function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r,o,a=function(){function e(e,t){for(var n=0;n=0&&s>=0&&{top:n,bottom:i,left:r,right:o,width:a,height:s}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var r,o,a=n(155),s=i(a),l=n(145),u=n(150),c=i(u),d=n(151),f=i(d),p=n(62),h=i(p),g=n(68),v=n(146),m=void 0;r=[n(4),n(5),n(3),n(2),n(1),n(149),n(148),n(147),n(120),n(142),n(143),n(144),n(50)],o=function(e,t,i,r,o,a,u,d,p,y,w,E,b){function A(A,_){function R(){return{reason:"interaction"}}function x(){(0,g.cancelAnimationFrame)(ge),ge=(0,g.requestAnimationFrame)(T)}function T(){ie.isSetup&&(ie.updateBounds(),ie.updateStyles(),ie.checkResized())}function S(e,t){var n=(0,l.isAudioMode)(_);if(o.isNumber(e)&&o.isNumber(t)){var i=(0,v.getBreakpoint)(e);(0,v.setBreakpoint)(re,i);var a=i<2,s=_.get("timeSliderAbove"),u=!n&&s!==!1&&(s||a);r.toggleClass(re,"jw-flag-small-player",a),r.toggleClass(re,"jw-flag-time-slider-above",u),r.toggleClass(re,"jw-orientation-portrait",t>e)}r.toggleClass(re,"jw-flag-audio-player",n),_.set("audioMode",n)}function I(e,t,n){if(e){var i={color:e,borderColor:e,stroke:e};r.css("#"+n+" .jw-color-active",i,n),r.css("#"+n+" .jw-color-active-hover:hover",i,n)}if(t){var o={color:t,borderColor:t,stroke:t};r.css("#"+n+" .jw-color-inactive",o,n),r.css("#"+n+" .jw-color-inactive-hover:hover",o,n)}}function M(){_.set("visibility",(0,f["default"])(_,re,k))}function O(e,t){t?m?D():b.load().then(function(e){m=e,D()})["catch"](function(e){ie.trigger("error",{message:"Controls failed to load",reason:e})}):ie.removeControls()}function D(){var e=new m(document,ie.element());ie.addControls(e)}function N(e){var t=oe.querySelector("video, audio");if(t){var n=document.createElement("div");n.innerHTML=e.title||"",t.setAttribute("title",n.textContent)}}function Y(e,t,n){t&&!n&&(ee(pe||e),ie.updateStyles())}function F(n,i,o){var a=new d(i,o,{useHover:!0});return a.on({click:function(){ie.trigger(e.JWPLAYER_DISPLAY_CLICK),_.get("controls")&&n.play(R())},tap:function(){ie.trigger(e.JWPLAYER_DISPLAY_CLICK);var o=i.get("state"),a=_.get("controls");if(a&&(o===t.IDLE||o===t.COMPLETE||pe&&pe.get("state")===t.PAUSED)&&n.play(R()),a&&o===t.PAUSED){if(pe||i.get("castActive")||i.mediaModel&&"audio"===i.mediaModel.get("mediaType"))return;r.toggleClass(re,"jw-flag-controls-hidden"),le.renderCues(!0)}else Ee&&(Ee.showing?Ee.userInactive():Ee.userActive())},doubleClick:function(){return Ee&&n.setFullscreen()},move:function(){return Ee&&Ee.userActive()},over:function(){return Ee&&Ee.userActive()}}),a}function W(e,t){r.replaceClass(re,/jw-skin-\S+/,t?"jw-skin-"+t:"")}function J(e,t){r.replaceClass(re,/jw-stretch-\S+/,"jw-stretch-"+t)}function B(e,t){r.toggleClass(re,"jw-flag-aspect-mode",!!t);var n=re.querySelector(".jw-aspect");C(n,{paddingTop:t||null})}function V(e,t){r.toggleClass(re,"jw-flag-flash-blocked",t)}function U(e){e.link?(A.pause(!0,R()),A.setFullscreen(!1),window.open(e.link,e.linktarget)):_.get("controls")&&A.play(R())}function H(e,t,n){var i=r.exists(e),o=r.exists(t),a={width:e};o&&n&&_.set("aspectratio",null),_.get("aspectratio")||(a.height=t),i&&o&&(_.set("width",e),_.set("height",t)),C(re,a)}function z(e,t){if((e&&!isNaN(1*e)||(e=_.get("containerWidth")))&&(t&&!isNaN(1*t)||(t=_.get("containerHeight")))){ae&&ae.resize(e,t,_.get("stretching"));var n=_.getVideo();if(n){var i=n.resize(e,t,_.get("stretching"));i&&(clearTimeout(he),he=setTimeout(z,250))}}}function G(){if(me.supportsDomFullscreen()){var e=me.fullscreenElement();return!(!e||e.id!==_.get("id"))}return pe?pe.getVideo().getFullScreen():_.getVideo().getFullScreen()}function q(e){var t=_.get("fullscreen"),n=void 0!==e.jwstate?e.jwstate:G();t!==n&&_.set("fullscreen",n),x(),clearTimeout(he),he=setTimeout(z,200)}function K(e,t){r.toggleClass(e,"jw-flag-fullscreen",t),C(document.body,{overflowY:t?"hidden":""}),t&&Ee&&Ee.userActive(),z(),x()}function Q(){Ee.userActive()}function X(e,t){var n="audio"===t,i=_.getVideo(),o=i&&0===i.getName().name.indexOf("flash");r.toggleClass(re,"jw-flag-media-audio",n),n&&!o?re.insertBefore(ae.el,oe):re.insertBefore(ae.el,le.element())}function $(e,t){if(!pe){var n="LIVE"===t;r.toggleClass(re,"jw-flag-live",n),ie.setAltText(n?e.get("localization").liveBroadcast:"")}}function Z(e,t){return t?void(t.name?se.updateText(t.name,t.message):se.updateText(t.message,"")):void se.playlistItem(e,e.get("playlistItem"))}function ee(e){if(_.get("viewSetup")){ce=e.get("state");var t=null;pe&&(t=ce),Ee&&(Ee.instreamState=t),te(ce)}}function te(e){switch(_.get("controls")&&e!==t.PAUSED&&r.hasClass(re,"jw-flag-controls-hidden")&&r.removeClass(re,"jw-flag-controls-hidden"),r.replaceClass(re,/jw-state-\S+/,"jw-state-"+e),e){case t.IDLE:case t.ERROR:case t.COMPLETE:le.hide();break;default:le.show(),e===t.PAUSED&&Ee&&!Ee.showing&&le.renderCues(!0)}}function ne(){!Ee||pe||L||Ee.userActive()}var ie=o.extend(this,i,{isSetup:!1,api:A,model:_});o.extend(_.attributes,{containerWidth:void 0,containerHeight:void 0,mediaContainer:void 0,fullscreen:!1,inDom:void 0,iFrame:void 0,activeTab:void 0,intersectionRatio:void 0,visibility:void 0,viewable:void 0,viewSetup:!1,audioMode:void 0,touchMode:void 0,altText:"",cues:void 0,castClicked:!1,scrubbing:!1,logoWidth:0});var re=r.createElement((0,s["default"])(_.get("id"),_.get("localization").player)),oe=re.querySelector(".jw-media"),ae=new w(_),se=new E(_),le=new p(_),ue=void 0,ce=void 0,de=void 0,fe=void 0,pe=void 0,he=-1,ge=-1,ve=void 0,me=void 0,ye=void 0,we=null,Ee=void 0;this.updateBounds=function(){(0,g.cancelAnimationFrame)(ge);var e=document.body.contains(re),t=k(re),n=Math.round(t.width),i=Math.round(t.height);return n===de&&i===fe?(de&&fe||x(),void _.set("inDom",e)):(n&&i||de&&fe||x(),(n||i||e)&&(_.set("containerWidth",n),_.set("containerHeight",i)),_.set("inDom",e),void(e&&c["default"].observe(re)))},this.updateStyles=function(){var e=_.get("containerWidth"),t=_.get("containerHeight");_.get("controls")&&S(e,t),Ee&&Ee.resize(e,t),z(e,t),le.resize()},this.checkResized=function(){var t=_.get("containerWidth"),n=_.get("containerHeight");if(t!==de||n!==fe){de=t,fe=n,ie.trigger(e.JWPLAYER_RESIZE,{width:t,height:n});var i=(0,v.getBreakpoint)(t);we!==i&&(we=i,ie.trigger(e.JWPLAYER_BREAKPOINT,{breakpoint:we}))}},this.handleColorOverrides=function(){function e(e,n,i,o){e=r.prefix(e,"#"+t+(o?"":" "));var a={};a[n]=i,r.css(e.join(", "),a,t)}var t=_.get("id"),n=_.get("skinColorActive"),i=_.get("skinColorInactive"),o=_.get("skinColorBackground");if(n&&(e([".jw-button-color.jw-toggle",".jw-button-color:hover",".jw-button-color.jw-toggle.jw-off:hover",".jw-option:not(.jw-active-option):hover",".jw-nextup-header"],"color",n),e([".jw-option.jw-active-option",".jw-progress"],"background","none "+n)),i&&(e([".jw-text",".jw-option",".jw-button-color",".jw-toggle.jw-off",".jw-skip .jw-skip-icon",".jw-nextup-body"],"color",i),e([".jw-cue",".jw-knob",".jw-active-option",".jw-nextup-header"],"background","none "+i)),o){if(e([".jw-background-color"],"background","none "+o),_.get("timeSliderAbove")!==!1){var a="transparent linear-gradient(180deg, "+r.getRgba(o,0)+" 0%, "+r.getRgba(o,.25)+" 30%, "+r.getRgba(o,.4)+" 70%, "+r.getRgba(o,.5)+") 100%";e([".jw-flag-time-slider-above .jw-background-color.jw-controlbar"],"background",a,!0)}e([".jw-flag-time-slider-above .jw-background-color.jw-slider-time"],"background","transparent",!0)}I(n,i,t)},this.setup=function(){var t=this;ae.setup(re.querySelector(".jw-preview")),se.setup(re.querySelector(".jw-title")),ue=new y(_),ue.setup(),ue.setContainer(re),ue.on(e.JWPLAYER_LOGO_CLICK,U),le.setup(re.id,_.get("captions")),re.insertBefore(le.element(),se.element()),ve=F(A,_,oe),ye=u(re),me=a(re,document,q),re.addEventListener("focus",ne),_.on("change:errorEvent",Z),_.on("change:hideAdsControls",function(e,t){r.toggleClass(re,"jw-flag-ads-hide-controls",t)}),_.on("change:scrubbing",function(e,t){r.toggleClass(re,"jw-flag-dragging",t)}),_.mediaController.on("fullscreenchange",q),_.change("mediaModel",function(e,n){n.change("mediaType",X,t),n.on("change:visualQuality",function(){z()},t)}),_.change("skin",W,this),_.change("stretching",J),_.change("flashBlocked",V);var i=_.get("width"),o=_.get("height");H(i,o),_.change("aspectratio",B),_.get("controls")?S(i,o):r.addClass(re,"jw-flag-controls-hidden"),j||(j=!0,n(185)),P&&r.addClass(re,"jw-ie"),_.get("skin-loading")===!0&&(r.addClass(re,"jw-flag-skin-loading"),_.once("change:skin-loading",function(){r.removeClass(re,"jw-flag-skin-loading")})),this.handleColorOverrides(),_.set("mediaContainer",oe),_.set("iFrame",r.isIframe()),_.set("activeTab",(0,h["default"])()),_.set("touchMode",L&&("string"==typeof o||o>=l.CONTROLBAR_ONLY_HEIGHT)),c["default"].add(this),this.isSetup=!0,_.set("viewSetup",!0),_.set("inDom",document.body.contains(re))},this.init=function(){this.updateBounds(),_.on("change:fullscreen",Ae),_.on("change:activeTab",M),_.on("change:fullscreen",M),_.on("change:intersectionRatio",M),_.on("change:visibility",Y),M(),1!==c["default"].size()||_.get("visibility")||Y(_,1,0),_.change("state",ee),_.change("controls",O),L&&(N(_.get("playlistItem")),_.on("itemReady",N)),de=fe=null,this.checkResized()};var be=function(e,t){t&&ee(pe||_)};this.addControls=function(e){Ee=e,r.removeClass(re,"jw-flag-controls-hidden"),_.change("streamType",$,this),e.enable(A,_),e.addActiveListeners(ue.element());var n=e.logoContainer();n&&ue.setContainer(n),fe&&(S(de,fe),e.resize(de,fe),le.renderCues(!0)),e.on("userActive userInactive",function(){ce!==t.PLAYING&&ce!==t.BUFFERING||le.renderCues(!0)}),e.on("all",ie.trigger,ie);var i=re.querySelector(".jw-overlays");i.addEventListener("mousemove",Q)},this.removeControls=function(){ue.setContainer(re),Ee&&(Ee.removeActiveListeners(ue.element()),Ee.disable(),Ee=null);var e=document.querySelector(".jw-overlays");e&&e.removeEventListener("mousemove",Q),r.addClass(re,"jw-flag-controls-hidden")};var Ae=function(e,t){var n=_.getVideo();t&&Ee&&_.get("autostartMuted")&&Ee.unmuteAutoplay(A,_),me.supportsDomFullscreen()?(t?me.requestFullscreen():me.exitFullscreen(),K(re,t)):P?K(re,t):(pe&&pe.getVideo()&&pe.getVideo().setFullscreen(t),n.setFullscreen(t)),n&&0===n.getName().name.indexOf("flash")&&n.setFullscreen(t)};this.resize=function(e,t){var n=!0;H(e,t,n),T()},this.resizeMedia=z,this.setupInstream=function(e){this.instreamModel=pe=e,pe.on("change:controls",be,this),pe.on("change:state",ee,this),r.addClass(re,"jw-flag-ads"),Ee&&Ee.userActive()},this.setAltText=function(e){_.set("altText",e)},this.destroyInstream=function(){if(pe&&(pe.off(null,null,this),pe=null),this.setAltText(""),r.removeClass(re,["jw-flag-ads","jw-flag-ads-hide-controls"]),_.set("hideAdsControls",!1),_.getVideo){var e=_.getVideo();e.setContainer(oe)}$(_,_.get("streamType")),ve.revertAlternateClickHandlers()},this.addCues=function(e){_.set("cues",e)},this.clickHandler=function(){return ve},this.getContainer=this.element=function(){return re},this.controlsContainer=function(){return Ee?Ee.element():null},this.getSafeRegion=function(e){var t={x:0,y:0,width:de||0,height:fe||0};return Ee&&(e=e||!r.exists(e),e&&(t.height-=Ee.controlbarHeight())),t},this.setCaptions=function(e){le.clear(),le.setup(_.get("id"),e),le.resize()},this.destroy=function(){c["default"].unobserve(re),c["default"].remove(this),this.isSetup=!1,this.off(),(0,g.cancelAnimationFrame)(ge),clearTimeout(he),re.removeEventListener("focus",ne),ye&&(ye.destroy(),ye=null),me&&(me.destroy(),me=null),_.mediaController&&_.mediaController.off("fullscreenchange",q),Ee&&Ee.disable(),pe&&this.destroyInstream(),ve&&(ve.destroy(),ve=null),ue&&(ue.destroy(),ue=null),r.clearCss(_.get("id"))}}var C=r.style,k=r.bounds,L=r.isMobile(),P=r.isIE(),j=!1;return A.prototype.setControlsModule=function(e){m=e},A}.apply(t,r),!(void 0!==o&&(e.exports=o))},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return'
'+('
'+n+"
")+('
'+i+"
")+'
'}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){var n=t?" jw-hide":"";return''}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return'
'}},function(e,t,n){var i,r;i=[n(74),n(1),n(28),n(2),n(7),n(6),n(79),n(15),n(80),n(69),n(4),n(5),n(53),n(37),n(51),n(21)],r=function(e,t,n,i,r,o,a,s,l,u,c,d,f,p,h,g){var v={};return v.api=e,v._=t,v._=t,v.version=n,v.utils=t.extend(i,r,{key:a,extend:t.extend,scriptloader:s,rssparser:h,tea:l,UI:o}),v.utils.css.style=v.utils.style,v.vid=u,v.events=t.extend({},c,{state:d}),v.playlist=t.extend({},f,{item:p}),v.plugins=g,v}.apply(t,i),!(void 0!==r&&(e.exports=r))},,,,function(e,t,n){var i,r;i=[n(94),n(16),n(173),n(29),n(27),n(1)],r=function(e,t,i,r,o,a){var s=e.prototype.setup;return e.prototype.setup=function(e,l){function u(){var e=p.get("cast");return a.isObject(e)&&g("casting")}function c(){var e=p.getVideo(),t=p.get("cast")||{};u()?(!t.customAppId&&r.containsDrm(p)||d.apply(this),f.apply(this)):e&&e.video&&(e.video.webkitWirelessVideoPlaybackDisabled=!0)}function d(){n.e(4,function(require){if(window.chrome&&o.isChrome()){var e=n(75);this._castController=new e(this,p),this.castToggle=this._castController.castToggle.bind(this._castController)}}.bind(this))}function f(){window.WebKitPlaybackTargetAvailabilityEvent&&n.e(8,function(require){var e=n(73);this._airplayController=new e(this,p),this.castToggle=this._airplayController.airplayToggle.bind(this._airplayController)}.bind(this))}s.apply(this,arguments);var p=this._model,h=p.get("edition"),g=t(h),v=i.setup(this._view);e.analytics&&(e.sdkplatform=e.sdkplatform||e.analytics.sdkplatform);var m=this;l.getAdBlock=v.getAdBlock,this.on("playlistItem",function(){v.onReady.apply(m)}),this.once("ready",c,this)},e}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(79),n(16),n(1),n(2),n(66),n(100),n(29)],r=function(e,t,i,r,o,a,s){function l(e,t,n){if(t){var i=t.client;delete t.client,/\.(js|swf)$/.test(i||"")||(i=o.repo()+n),e[i]=t}}function u(e,n){var r=i.clone(n.get("plugins"))||{},a=n.get("edition"),s=t(a),u=/^(vast|googima|freewheel)$/,c=/\.(js|swf)$/,d=o.repo(),f=i.clone(n.get("advertising"));if(s("ads")&&f&&(c.test(f.client)?r[f.client]=f:u.test(f.client)&&(r[d+f.client+".js"]=f),delete f.client),s("jwpsrv")){var p=n.get("analytics");i.isObject(p)||(p={}),l(r,p,"jwpsrv.js")}l(r,n.get("ga"),"gapro.js"),l(r,n.get("sharing"),"sharing.js");var h=n.get("related"),g=i.isObject(h),v=n.get("controls")!==!1||g;if(v){var m=n.get("visualplaylist")!==!1||g;g||(h={disableRelated:!0}),h.showDockButton=m,l(r,h,"related.js")}var y=n.get("mobileSdk");if(!y){var w=n.get("playlist");i.some(w,function(e){if(e.stereomode&&e.stereomode.length>0)return l(r,n.get("vr")||{},"vr.js"),!0})}n.set("plugins",r),e()}function c(t,i){var s=i.get("key")||window.jwplayer&&window.jwplayer.key,l=new e(s),u=l.edition();if(i.set("key",s),i.set("edition",u),"unlimited"===u){var c=r.getScriptPath("jwplayer.js");if(!c)return void a.error(t,"Error setting up player","Could not locate jwplayer.js script tag");n.p=c,r.repo=o.repo=o.loadFrom=function(){return c}}i.updateProviders(),"invalid"===u?a.error(t,"Error setting up player",(void 0===s?"Missing":"Invalid")+" license key"):t()}function d(e,t){s.containsDrm(t)?s.probe(e,t.get("edition")):e()}function f(){var e=a.getQueue();return e.CHECK_KEY={method:c,depends:["LOAD_BASE64_POLYFILL"]},e.PROBE_DRM_SUPPORT={method:d,depends:["CHECK_KEY","LOAD_PROMISE_POLYFILL"]},e.FILTER_PLUGINS={method:u,depends:["CHECK_KEY"]},e.FILTER_PLAYLIST.depends.push("PROBE_DRM_SUPPORT"),e.LOAD_PLUGINS.depends.push("FILTER_PLUGINS"),e}return{getQueue:f}}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){var i,r;i=[n(102),n(156),n(1)],r=function(e,t,n){var i=window,r=n.extend(e,t);return"function"==typeof i.define&&i.define.amd&&i.define([],function(){return r}),i.jwplayer?i.jwplayer:r}.apply(t,i),!(void 0!==r&&(e.exports=r))},,,,,,,,,,,function(e,t,n){var i,r;i=[],r=function(){function e(){var e=document.createElement("div");return e.className=n,e.innerHTML=" ",e.style.width="1px",e.style.height="1px",e.style.position="absolute",e.style.background="transparent",e}function t(t){function i(){if(a)return!0;var e=this;r()&&e.trigger("adBlock")}function r(){return null!==s.offsetParent&&s.className===n&&""!==s.innerHTML&&0!==s.clientHeight||(a=!0),a}function o(){return a}var a=!1,s=e();return t.element().appendChild(s),{onReady:i,getAdBlock:o}}var n="afs_ads";return{setup:t}}.apply(t,i),!(void 0!==r&&(e.exports=r))},function(e,t,n){function i(e){return e&&e.__esModule?e:{"default":e}}var r,o,a=n(176),s=i(a);r=[n(2),n(4),n(6),n(3),n(1)],o=function(e,t,n,i,r){var o=function(e){this.model=e,this.setup()};return r.extend(o.prototype,i,{setup:function(){this.destroy(),this.skipMessage=this.model.get("skipText"),this.skipMessageCountdown=this.model.get("skipMessage"),this.setWaitTime(this.model.get("skipOffset"));var t=(0,s["default"])();this.el=e.createElement(t),this.skiptext=this.el.getElementsByClassName("jw-skiptext")[0],this.skipAdOnce=r.once(this.skipAd.bind(this)),new n(this.el).on("click tap",r.bind(function(){this.skippable&&this.skipAdOnce()},this)),this.model.on("change:duration",this.onChangeDuration,this),this.model.on("change:position",this.onChangePosition,this),this.onChangeDuration(this.model,this.model.get("duration")),this.onChangePosition(this.model,this.model.get("position"))},updateMessage:function(e){this.skiptext.innerHTML=e},updateCountdown:function(e){this.updateMessage(this.skipMessageCountdown.replace(/xx/gi,Math.ceil(this.waitTime-e)))},onChangeDuration:function(t,n){if(n){if(this.waitPercentage){if(!n)return;this.itemDuration=n,this.setWaitTime(this.waitPercentage),delete this.waitPercentage}e.removeClass(this.el,"jw-hidden")}},onChangePosition:function(t,n){this.waitTime-n>0?this.updateCountdown(n):(this.updateMessage(this.skipMessage),this.skippable=!0,e.addClass(this.el,"jw-skippable"))},element:function(){return this.el},setWaitTime:function(t){if(r.isString(t)&&"%"===t.slice(-1)){var n=parseFloat(t);return void(this.itemDuration&&!isNaN(n)?this.waitTime=this.itemDuration*n/100:this.waitPercentage=t)}r.isNumber(t)?this.waitTime=t:"string"===e.typeOf(t)?this.waitTime=e.seconds(t):isNaN(Number(t))?this.waitTime=0:this.waitTime=Number(t)},skipAd:function(){this.trigger(t.JWPLAYER_AD_SKIPPED)},destroy:function(){this.el&&(this.el.removeEventListener("click",this.skipAdOnce),this.el.parentElement&&this.el.parentElement.removeChild(this.el)),delete this.skippable,delete this.itemDuration,delete this.waitPercentage}}),o}.apply(t,r),!(void 0!==o&&(e.exports=o))},,function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(){return'
'}},,,function(e,t,n){t=e.exports=n(82)(),t.push([e.id,".jw-reset{color:inherit;background-color:transparent;padding:0;margin:0;float:none;font-family:Arial,Helvetica,sans-serif;font-size:1em;line-height:1em;list-style:none;text-align:left;text-transform:none;vertical-align:baseline;border:0;direction:ltr;font-variant:inherit;font-stretch:inherit;-webkit-tap-highlight-color:rgba(255,255,255,0)}.jw-background-color{background:rgba(33,33,33,.8)}.jw-knob,.jw-text{color:#cecece}.jw-knob{background-color:#fff}.jw-button-color{color:#cecece;fill:#cecece}.jw-button-color:focus,:not(.jw-flag-touch) .jw-button-color:hover{outline:none;color:#fff;fill:#fff}.jw-toggle{color:#fff}.jw-toggle.jw-off{color:#cecece}.jw-toggle.jw-off:focus{color:#fff}.jw-toggle:focus{outline:none}:not(.jw-flag-touch) .jw-toggle.jw-off:hover{color:#fff}.jw-display-icon-container{margin:0 .25em}.jw-display-icon-container .jw-icon{color:#cecece}.jw-rail{background:hsla(0,0%,100%,.2)}.jw-buffer{background:hsla(0,0%,100%,.3)}.jw-progress{background:#fff}.jw-slider-horizontal,.jw-slider-horizontal .jw-buffer,.jw-slider-horizontal .jw-progress,.jw-slider-horizontal .jw-rail{height:.3em}.jw-slider-horizontal .jw-knob{margin-left:-.3em}.jw-slider-vertical .jw-knob{margin-bottom:-.3em}.jw-slider-vertical .jw-progress,.jw-slider-vertical .jw-rail,.jw-slider-vertical .jw-slider-container{width:.3em}.jw-menu,.jw-time-tip,.jw-volume-tip{border:0}.jw-menu,.jw-time-tip{padding:.5em}.jw-volume-tip{padding:1em}.jw-skip{padding:.5em}.jw-skip .jw-skip-icon,.jw-skip .jw-skiptext{color:#cecece}.jw-skip.jw-skippable:hover .jw-skip-icon,.jw-skip.jw-skippable:hover .jw-text{color:#fff}.jw-dock-button .jw-text,.jw-time-tip .jw-text{color:#cecece}.jw-dock-button{background:rgba(33,33,33,.8)}:not(.jw-flag-touch) .jw-dock-button:hover{background:#212121}.jw-icon-cast button{--connected-color:#fff;--disconnected-color:#cecece}.jw-icon-cast button:focus{--connected-color:#fff;--disconnected-color:#fff}.jw-icon-cast button.jw-off{--connected-color:#cecece}.jw-icon-cast:hover button{--connected-color:#fff;--disconnected-color:#fff}.jw-nextup-container{bottom:2.5em;padding:5px .5em}.jw-nextup{border-radius:0}.jw-nextup-header{background:rgba(33,33,33,.8);color:#fff}.jw-nextup-body{background:rgba(0,0,0,.8);color:#fff}.jw-nextup-thumbnail-visible+.jw-nextup-title:after{background:-webkit-linear-gradient(top,transparent,#000);background:linear-gradient(-180deg,transparent,#000)}.jw-nextup-close{color:#cecece}.jw-nextup-close:active,.jw-nextup-close:hover{color:#fff}.jwplayer:not(.jw-flag-touch):not(.jw-error):not(.jw-state-error):not(.jw-state-buffering) .jw-display-icon-container:hover,.jwplayer:not(.jw-flag-touch):not(.jw-error):not(.jw-state-error):not(.jw-state-buffering) .jw-media:hover~.jw-controls .jw-display-icon-display{background-color:#212121}.jwplayer:not(.jw-flag-touch):not(.jw-error):not(.jw-state-error):not(.jw-state-buffering) .jw-display-icon-container:hover .jw-icon{color:#fff}.jw-color-active,:not(.jw-flag-touch) .jw-color-active-hover:hover{color:#fff;stroke:#fff;border-color:#fff}.jw-color-inactive,:not(.jw-flag-touch) .jw-color-inactive-hover:hover{color:#cecece;stroke:#cecece;border-color:#cecece}.jw-option{color:#cecece}.jw-option.jw-active-option{color:#fff;background-color:hsla(0,0%,100%,.1)}:not(.jw-flag-touch) .jw-option:hover{color:#fff}.jwplayer{width:100%;font-size:16px;position:relative;display:block;min-height:0;overflow:hidden;box-sizing:border-box;font-family:Arial,Helvetica,sans-serif;background-color:#000;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jwplayer *{box-sizing:inherit}.jwplayer.jw-flag-aspect-mode{height:auto!important}.jwplayer.jw-flag-aspect-mode .jw-aspect{display:block}.jwplayer .jw-aspect{display:none}.jwplayer.jw-no-focus:focus,.jwplayer .jw-swf{outline:none}.jwplayer.jw-ie:focus{outline:1px dotted #585858}.jw-media,.jw-preview{position:absolute;width:100%;height:100%;top:0;left:0;bottom:0;right:0}.jw-media{overflow:hidden;cursor:pointer}.jw-plugin{position:absolute;bottom:2.5em}.jw-plugin .jw-banner{max-width:100%;opacity:0;cursor:pointer;position:absolute;margin:auto auto 0;left:0;right:0;bottom:0;display:block}.jw-captions,.jw-preview,.jw-title{pointer-events:none}.jw-logo,.jw-media{pointer-events:all}.jwplayer video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:auto;background:transparent}.jwplayer video::-webkit-media-controls-start-playback-button{display:none}.jwplayer.jw-stretch-uniform video{-o-object-fit:contain;object-fit:contain}.jwplayer.jw-stretch-none video{-o-object-fit:none;object-fit:none}.jwplayer.jw-stretch-fill video{-o-object-fit:cover;object-fit:cover}.jwplayer.jw-stretch-exactfit video{-o-object-fit:fill;object-fit:fill}.jw-preview{position:absolute;display:none;opacity:1;visibility:visible;width:100%;height:100%;background:#000 no-repeat 50% 50%}.jw-error .jw-preview,.jwplayer .jw-preview{background-size:contain}.jw-stretch-none .jw-preview{background-size:auto auto}.jw-stretch-fill .jw-preview{background-size:cover}.jw-stretch-exactfit .jw-preview{background-size:100% 100%}.jw-title{display:none;position:absolute;top:0;width:100%;font-size:.875em;height:8em;background:-webkit-linear-gradient(top,#000,#000 18%,transparent);background:linear-gradient(180deg,#000 0,#000 18%,transparent)}.jw-title-primary,.jw-title-secondary{padding:.75em 1.5em;min-height:2.5em;width:100%;color:#fff;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.jw-title-primary{font-weight:700}.jw-title-secondary{margin-top:-.5em}.jw-flag-small-player .jw-title{background:-webkit-linear-gradient(top,rgba(51,51,51,.75),rgba(51,51,51,0));background:linear-gradient(180deg,rgba(51,51,51,.75),rgba(51,51,51,0));height:auto;padding:16px 0}.jw-flag-small-player .jw-title-primary,.jw-flag-small-player .jw-title-secondary{min-height:inherit;padding:0 16px}.jw-flag-small-player .jw-title-secondary{display:none;margin-top:5px}.jw-captions{position:absolute;width:100%;height:100%;text-align:center;display:none;max-height:calc(100% - 40px);letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-decoration:none;pointer-events:none;overflow:hidden;top:0}.jw-captions.jw-captions-enabled{display:block}.jw-captions-window{display:none;padding:.25em;border-radius:.25em}.jw-captions-text,.jw-captions-window.jw-captions-window-active{display:inline-block}.jw-captions-text{color:#fff;background-color:#000;word-wrap:normal;word-break:normal;white-space:pre-line;font-style:normal;font-weight:400;text-align:center;text-decoration:none}.jw-text-track-display{font-size:inherit;line-height:1.5}.jw-text-track-cue{background-color:rgba(0,0,0,.5);color:#fff;padding:.1em .3em}.jwplayer video::-webkit-media-controls{-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.jwplayer video::-webkit-media-text-track-container{max-height:calc(100% - 40px);line-height:normal}.jwplayer video::-webkit-media-text-track-display{min-width:-webkit-min-content}.jwplayer video::cue{background-color:rgba(0,0,0,.5)}.jwplayer video::-webkit-media-controls-panel-container{display:none}.jw-logo{position:absolute;margin:.75em;cursor:pointer;pointer-events:all;background-repeat:no-repeat;background-size:contain;top:auto;right:auto;left:auto;bottom:auto}.jw-flag-audio-player .jw-logo{display:none}.jw-logo-top-right{top:0;right:0}.jw-logo-top-right.jw-below{top:3.5em}.jw-logo-top-left{top:0;left:0}.jw-logo-bottom-left{bottom:0;left:0}.jw-logo-bottom-right{bottom:0;right:0}.jw-state-setup{background-color:transparent}.jw-state-setup .jw-logo{visibility:hidden}body .jw-error .jw-title,body .jwplayer.jw-state-error .jw-title{display:block}body .jw-error .jw-title .jw-title-primary,body .jwplayer.jw-state-error .jw-title .jw-title-primary{white-space:normal}body .jw-error .jw-title .jw-title-secondary,body .jwplayer.jw-state-error .jw-title .jw-title-secondary{display:block}body .jw-error{font-size:16px;background-color:#000;color:#fff;width:100%;height:100%;display:table;opacity:1;position:relative}.jw-state-idle .jw-preview,.jw-state-idle .jw-title,.jwplayer.jw-state-complete:not(.jw-flag-casting):not(.jw-flag-audio-player) .jw-preview,.jwplayer.jw-state-complete:not(.jw-flag-casting):not(.jw-flag-audio-player) .jw-title,body .jw-error .jw-preview,body .jw-error .jw-title,body .jwplayer.jw-state-error .jw-preview,body .jwplayer.jw-state-error .jw-title{display:block}.jw-state-idle .jw-captions,.jwplayer.jw-state-complete .jw-captions,body .jwplayer.jw-state-error .jw-captions{display:none}.jw-state-idle video::-webkit-media-text-track-container,.jwplayer.jw-state-complete video::-webkit-media-text-track-container,body .jwplayer.jw-state-error video::-webkit-media-text-track-container{display:none}.jwplayer.jw-flag-skin-loading .jw-captions,.jwplayer.jw-flag-skin-loading .jw-controls,.jwplayer.jw-flag-skin-loading .jw-media,.jwplayer.jw-flag-skin-loading .jw-preview,.jwplayer.jw-flag-skin-loading .jw-rightclick,.jwplayer.jw-flag-skin-loading .jw-title{display:none}.jwplayer.jw-flag-fullscreen{width:100%!important;height:100%!important;top:0;right:0;bottom:0;left:0;z-index:1000;margin:0;position:fixed}body .jwplayer.jw-flag-flash-blocked .jw-title{display:block}.jwplayer.jw-flag-controls-hidden .jw-captions{max-height:none}.jwplayer.jw-flag-controls-hidden video::-webkit-media-text-track-container{max-height:none}.jwplayer.jw-flag-controls-hidden .jw-media{cursor:default}.jw-flag-audio-player:not(.jw-flag-flash-blocked) .jw-media{visibility:hidden}.jw-flag-audio-player .jw-title{background:none}.jw-flag-audio-player object{min-height:45px}",""]); },,,,,,function(e,t,n){var i=n(179);"string"==typeof i&&(i=[["all-players",i,""]]),n(49).style(i,"all-players"),i.locals&&(e.exports=i.locals)}]); window.$v=window.$v||{};window.$v.debug=document.cookie.indexOf("_vd=")!==-1;window.console===undefined&&(window.console={log:function(){},dir:function(){},warn:function(){},error:function(){}});!function(){var e=function(f,e){var o=f[0],s=f[1],h=f[2],c=f[3];o=n(o,s,h,c,e[0],7,-680876936);c=n(c,o,s,h,e[1],12,-389564586);h=n(h,c,o,s,e[2],17,606105819);s=n(s,h,c,o,e[3],22,-1044525330);o=n(o,s,h,c,e[4],7,-176418897);c=n(c,o,s,h,e[5],12,1200080426);h=n(h,c,o,s,e[6],17,-1473231341);s=n(s,h,c,o,e[7],22,-45705983);o=n(o,s,h,c,e[8],7,1770035416);c=n(c,o,s,h,e[9],12,-1958414417);h=n(h,c,o,s,e[10],17,-42063);s=n(s,h,c,o,e[11],22,-1990404162);o=n(o,s,h,c,e[12],7,1804603682);c=n(c,o,s,h,e[13],12,-40341101);h=n(h,c,o,s,e[14],17,-1502002290);s=n(s,h,c,o,e[15],22,1236535329);o=t(o,s,h,c,e[1],5,-165796510);c=t(c,o,s,h,e[6],9,-1069501632);h=t(h,c,o,s,e[11],14,643717713);s=t(s,h,c,o,e[0],20,-373897302);o=t(o,s,h,c,e[5],5,-701558691);c=t(c,o,s,h,e[10],9,38016083);h=t(h,c,o,s,e[15],14,-660478335);s=t(s,h,c,o,e[4],20,-405537848);o=t(o,s,h,c,e[9],5,568446438);c=t(c,o,s,h,e[14],9,-1019803690);h=t(h,c,o,s,e[3],14,-187363961);s=t(s,h,c,o,e[8],20,1163531501);o=t(o,s,h,c,e[13],5,-1444681467);c=t(c,o,s,h,e[2],9,-51403784);h=t(h,c,o,s,e[7],14,1735328473);s=t(s,h,c,o,e[12],20,-1926607734);o=i(o,s,h,c,e[5],4,-378558);c=i(c,o,s,h,e[8],11,-2022574463);h=i(h,c,o,s,e[11],16,1839030562);s=i(s,h,c,o,e[14],23,-35309556);o=i(o,s,h,c,e[1],4,-1530992060);c=i(c,o,s,h,e[4],11,1272893353);h=i(h,c,o,s,e[7],16,-155497632);s=i(s,h,c,o,e[10],23,-1094730640);o=i(o,s,h,c,e[13],4,681279174);c=i(c,o,s,h,e[0],11,-358537222);h=i(h,c,o,s,e[3],16,-722521979);s=i(s,h,c,o,e[6],23,76029189);o=i(o,s,h,c,e[9],4,-640364487);c=i(c,o,s,h,e[12],11,-421815835);h=i(h,c,o,s,e[15],16,530742520);s=i(s,h,c,o,e[2],23,-995338651);o=r(o,s,h,c,e[0],6,-198630844);c=r(c,o,s,h,e[7],10,1126891415);h=r(h,c,o,s,e[14],15,-1416354905);s=r(s,h,c,o,e[5],21,-57434055);o=r(o,s,h,c,e[12],6,1700485571);c=r(c,o,s,h,e[3],10,-1894986606);h=r(h,c,o,s,e[10],15,-1051523);s=r(s,h,c,o,e[1],21,-2054922799);o=r(o,s,h,c,e[8],6,1873313359);c=r(c,o,s,h,e[15],10,-30611744);h=r(h,c,o,s,e[6],15,-1560198380);s=r(s,h,c,o,e[13],21,1309151649);o=r(o,s,h,c,e[4],6,-145523070);c=r(c,o,s,h,e[11],10,-1120210379);h=r(h,c,o,s,e[2],15,718787259);s=r(s,h,c,o,e[9],21,-343485551);f[0]=u(o,f[0]);f[1]=u(s,f[1]);f[2]=u(h,f[2]);f[3]=u(c,f[3])},f=function(n,t,i,r,f,e){return t=u(u(t,n),u(r,e)),u(t<>>32-f,i)},n=function(n,t,i,r,u,e,o){return f(t&i|~t&r,n,t,u,e,o)},t=function(n,t,i,r,u,e,o){return f(t&r|i&~r,n,t,u,e,o)},i=function(n,t,i,r,u,e,o){return f(t^i^r,n,t,u,e,o)},r=function(n,t,i,r,u,e,o){return f(i^(t|~r),n,t,u,e,o)},s=function(n){for(var u=n.length,r=[1732584193,-271733879,-1732584194,271733878],i,t=64;t<=n.length;t+=64)e(r,h(n.substring(t-64,t)));for(n=n.substring(t-64),i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t>2]|=n.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(e(r,i),t=0;16>t;t++)i[t]=0;return i[14]=8*u,e(r,i),r},h=function(n){for(var i=[],t=0;64>t;t+=4)i[t>>2]=n.charCodeAt(t)+(n.charCodeAt(t+1)<<8)+(n.charCodeAt(t+2)<<16)+(n.charCodeAt(t+3)<<24);return i},o="0123456789abcdef".split(""),c=function(n){for(var i="",t=0;4>t;t++)i+=o[n>>8*t+4&15]+o[n>>8*t&15];return i},l=function(n){for(var t=0;t>16)+(t>>16)+(i>>16);return r<<16|65535&i})}();$v?function(){"use strict";function n(n,t){t=t||window;var i=n.indexOf("/")===0||n.substring(n.indexOf("//")+2).split("/")[0].indexOf(t.location.host)===0;return!i&&t.XDomainRequest&&t.XMLHttpRequest&&(new t.XMLHttpRequest).responseType===undefined}function t(n,t){return t=t||window,n?new t.XDomainRequest:new t.XMLHttpRequest}function i(n){try{return JSON.parse(n)}catch(i){return n}}function r(r){var e=function(){},f=function(){},h=r.method||"GET",o=n(r.url),u=t(o),s;return u.open(h,r.url,!0),r.contentType&&u.setRequestHeader("Content-type",r.contentType),s=function(){if(!this.readyState||this.readyState===4){var n=i(this.responseText);this.status&&this.status!==200?f(n):e(n)}},o?(u.onprogress=function(){},u.ontimeout=function(){},u.onload=s,u.onerror=function(){f(i(this.responseText))}):u.onreadystatechange=s,e=r.done||e,f=r.fail||f,o?window.setTimeout(function(){u.send()},0):u.send(),u}$v.addProtocol=function(n){return n?window.location.protocol+n.substring(n.indexOf("//")):n};$v.extend=function(n){for(var i,t=1;t-1||(n.className=(n.className+" "+t).trim())};$v.removeClass=function(n,t){n.className.indexOf(t)!==-1&&(n.className=n.className.replace(t,"").replace(/\s+/g," "))};$v.hasClass=function(n,t){return n.className.indexOf(t)!==-1};$v.toggleClass=function(n,t){$v.hasClass(n,t)?$v.removeClass(n,t):$v.addClass(n,t)};$v.hexToRgb=function(n,t){if(!n||n.length!==7)return n;var i=parseInt(n.slice(1,3),16),r=parseInt(n.slice(3,5),16),u=parseInt(n.slice(5,7),16);return t?"rgba("+i+", "+r+", "+u+", "+t+")":"rgb("+i+", "+r+", "+u+")"};$v.forEach=function(n,t,i){for(var r=0;r0&&r.s.indexOf($v.mda(t.location.host))===-1&&n.media.splice(i,1)})(i);return n}function h(n){var t,i;if(n.jwOn!==undefined&&(n.on=n.jwOn,delete n.jwOn,n.onQueue!==undefined)){for(t=0;t-1;$v.player.playlist.adjustPlaylistHeight(r,f,s,h,c)}$v.player.playlist.adjustPlayerWidth(t,r,u,i,f);e=u.querySelector(".v-itranscript-container");$v.player.interactivetranscripts.resizeTranscriptHeight(r,e)}})}jwplayer.key="2eNgFB89De+hn7i0QKj0nEvUXVPUjO7sps/Zow==";var l={setup:y};return $v.addEvent(window,"resize",p),(window.location.protocol==="file:"||$v.debug)&&$v.extend(l,{setValidate:function(n){r=n},validate:r,setSettings:function(n){i=n},settings:i,setNotify:function(n){t=n},addPlaylistItem:o,bindQueue:h,notify:t,ready:u,parseTimeString:e,findChapterTime:f,filter:s,setGetUserAgent:function(t){n=t}}),l}():console.error("player: Library not found");$v&&jwplayer&&$v.player?$v.player.api=function(){function r(n,i){var u=n.metadata,r,f;if(u===undefined||u.segment!==undefined||!u.TDRL||(r=u.TDRL.toUpperCase(),r.indexOf("20")>0&&(r=r.substring(r.indexOf("20"))),f=new Date(r),isNaN(f.getTime())))return!1;i.trigger("broadcasttime",{time:f});t(f,i)}function u(n,t){var i=Math.floor(n.position),r,u;if(i===t.lastProgress)return!1;t.lastProgress=i;r=t.lastProgress===0?0:Math.round(t.lastProgress*1e3);u=Math.round(t.getDuration()*1e3);t.trigger("progress",{time:r,duration:u});n.metadata&&n.metadata.mpegts&&t.trigger("ts",{mpegts:n.metadata.mpegts})}function t(t,i){if(!t||isNaN(t.getTime()))return!1;var r=i.broadcastTime===undefined;i.broadcastClockStart=undefined;i.broadcastTime=t;i.broadcastClockTick=0;r&&n(i)}function i(){(new Date).getTime()}function n(t,r){r=r||window;t.broadcastClockStart===undefined&&(t.broadcastClockStart=(new Date).getTime());var u=i();un&&t.seek(n)})}function o(n){n.startAt=e;n.lastProgress=-1;n.on("time",function(t){u(t,n)});n.getBroadcastTime=f;n.broadcastClockTick=0;n.on("meta",function(t){r(t,n)});window.viostreamPlayer&&window.viostreamPlayer.jw7&&window.viostreamPlayer.bind(n)}var s={bind:o};return window.location.protocol==="file:"&&$v.extend(s,{bind:o,onMeta:r,onProgress:u,setBroadcastTime:t,setSetBroadcastTime:function(n){t=n},broadcastClock:n,setBroadcastClock:function(t){n=t},getNow:i,setGetNow:function(n){i=n},getBroadcastTime:f,startAt:e}),s}():console.error("player.api: Player not found");$v&&jwplayer&&$v.player?$v.player.chaptering=function(){function s(n,t){var r,f,e,i,l,o,s;n.on("playlistItem",function(t){u(n,t.item.chapters)});if($v.addClass(n.getContainer(),"jw-flag-v-chaptering"),r=t.chapterSettings,f=r.chapterDisplayType.toLowerCase(),$v.addClass(n.getContainer(),"jw-flag-v-chapteringmode-"+f),e=n.id+"-v-chaptering-styles",$v.removeStyleElement(e),i="#v-chaptering-container-"+n.id,f==="native"){l="#"+n.id;$v.addStyle(l+" div.jw-slider-container div.jw-cue{background-color: "+r.skinNativeCuepoint+" !important;}",e);return}if($v.addStyle(".jw-icon{font-family:'v-custom'};","v-customfont"),f==="dropdown"){$v.addStyle(i+"{background-color: "+t.skin.background+" !important; color: "+t.skin.inactive+" !important;}",e);c(n,t);return}if(f==="classic"||f==="classicsmall"){o=i+" .v-chapter-item.v-chapter-item-active{background-color: "+r.skinBackgroundActive+"; color: "+r.skinTextActive+";}"+i+" .v-chaptering-arrow-button-icon{border-color: "+t.skin.inactive+";}";o+=r.useDefaultPlayerColors?i+" .v-chapter-item{background-color: "+t.skin.background+"; color: "+t.skin.inactive+";} "+i+" .v-chaptering-arrow-button-icon:hover{border-color: "+t.skin.active+";}"+i+" .v-chapter-item:hover{background-color: "+t.skin.active+"; color: "+t.skin.inactive+";}"+i+" .v-chapter-outer-stage{ background-color:"+t.skin.background+";}"+i+" .v-chaptering-arrow-button{background-color: "+t.skin.background+";}":i+" .v-chapter-item{background-color: "+r.skinBackgroundNormal+"; color: "+r.skinTextNormal+";} "+i+" .v-chaptering-arrow-button-icon:hover{border-color: "+r.skinBackgroundHover+";}"+i+" .v-chapter-item:hover{background-color: "+r.skinBackgroundHover+"; color: "+r.skinTextHover+";} "+i+" .v-chapter-outer-stage{ background-color:"+r.skinBackgroundNormal+";}"+i+" .v-chaptering-arrow-button{background-color: "+r.skinBackgroundNormal+";}";o+=i+" .v-chapter-item:active, .v-chapter-item:focus { outline-color: "+t.skin.active+"; } ";$v.addStyle(o,e);s=!1;f==="classicsmall"&&(s=!0);h(n,s);return}}function h(n,t){var c=n.getContainer(),r=document.createElement("div"),o,e,u,s,f,h;r.id="v-chaptering-container-"+n.id;r.className="v-chaptering-container v-hide "+n.id;t?(r.className+=" v-chaptering-small",r.setAttribute("data-chapter-mode","classicsmall")):(r.className+=" v-chaptering-classic",r.setAttribute("data-chapter-mode","classic"));o=document.createElement("div");o.className="v-chapter-outer-stage";e=document.createElement("div");e.className="v-chapter-item-list";u=document.createElement("button");u.className="v-chaptering-arrow-button v-chaptering-left";u.title="Show earlier chapters";s=document.createElement("i");s.id="v-chaptering-arrow-button-left-sign";s.className="v-chaptering-arrow-button-icon";f=document.createElement("button");f.className="v-chaptering-arrow-button v-chaptering-right";f.title="Show later chapters";h=document.createElement("i");h.id="v-chaptering-arrow-button-right-sign";h.className="v-chaptering-arrow-button-icon";u.onclick=function(){return u.focus(),v(e),!1};f.onclick=function(){return f.focus(),y(e),!1};u.appendChild(s);r.appendChild(u);f.appendChild(h);r.appendChild(f);o.appendChild(e);r.appendChild(o);c.parentNode.insertBefore(r,c.nextSibling);n.on("playlistItem",function(){i(r)})}function c(n,t){var u=n.getContainer(),r=document.createElement("div"),i;r.id="v-chaptering-container-"+n.id;r.className="v-chaptering-container v-chaptering-container-dropdown "+n.id;r.setAttribute("data-chapter-mode","dropdown");i=document.createElement("select");i.className="v-chaptering-dropdown";i.style.width="100%";i.style.paddingRight="40px";i.style.textOverflow="ellipsis";i.style.backgroundColor=t.skin.background;i.onchange=null;r.appendChild(i);u.parentNode.insertBefore(r,u.nextSibling)}function l(n,t,i){n.on("progress",function(n){for(var u=n.time/1e3,r=i.length;r>0;r--)if(u>=i[r-1]){t.setAttribute("data-start-onchange","true");t.selectedIndex!==r-1&&(t.selectedIndex=r-1);break}})}function a(t,i,r){t.on("progress",function(t){var s=t.time/1e3,u,o;if(s0){var c=u[u.length-1],f=r.indexOf(c)+1,h=parseInt(i.getAttribute("data-chapter-selected"));if(h>1){var e=parseInt(i.getAttribute("data-chapter-scroll-index")),l=parseInt(i.getAttribute("data-chapter-max-scroll-index")),a=e===l?e:e+1;i.setAttribute("data-chapter-scroll-index",a)}else i.setAttribute("data-chapter-scroll-index",0);f!==h&&(i.setAttribute("data-chapter-selected",f),w(i),o=i.querySelectorAll(".v-chapter-item")[f-1],$v.addClass(o,"v-chapter-item-active"),n(o,i))}})}function n(n,t){if(n!==null&&!$v.hasClass(t.parentNode.parentNode,"v-chaptering-noscroll")){var i=parseInt(n.getAttribute("data-chapter-index"))-1,r=n.clientWidth*-i,u=n.clientWidth,f=parseInt(t.getAttribute("data-chapter-item-display")),e=-(parseInt(t.clientWidth)-u*f);t.setAttribute("data-chapter-step-index",i);t.scrollLeft=0;t.parentNode.scrollLeft=0;t.style.left=Math.max(r,e)+"px"}}function v(n){var t=parseInt(n.getAttribute("data-chapter-scroll-index")),r=t===0?0:t-1,i;n.setAttribute("data-chapter-scroll-index",r);i=parseInt(n.style.left)+parseInt(n.getAttribute("data-chapter-item-width"));n.style.left=Math.min(i,0)+"px"}function y(n){var i=parseInt(n.getAttribute("data-chapter-item-width")),r=parseInt(n.getAttribute("data-chapter-item-display")),u=parseInt(n.style.left)-i,f=-(n.clientWidth-i*r),t=parseInt(n.getAttribute("data-chapter-scroll-index")),e=parseInt(n.getAttribute("data-chapter-max-scroll-index")),o=t===e?t:t+1;n.setAttribute("data-chapter-scroll-index",o);n.style.left=Math.max(u,f)+"px"}function p(t,i,r){var u=i.target,f;if(i.target.tagName==="SPAN"&&(u=i.target.parentElement),f=u.getAttribute("data-time"),n(u,r),t.getState()==="idle"){t.once("play",function(n){n.newstate==="playing"&&t.seek(f)});t.play(!0)}else t.seek(f)}function r(n,t){if(t.target.getAttribute("data-start-onchange")==="false"&&!(t.target.selectedIndex>0)){t.target.selectedIndex=0;return}var i=t.target.value;n.seek(i)}function u(n,t){var g=n.getContainer(),f=document.getElementById("v-chaptering-container-"+n.id),c,v,o,h,w,i,k,y,u,d,s,b;if(f!==null){if(c=f.getAttribute("data-chapter-mode"),v=[],c==="dropdown"){if(o=f.querySelector(".v-chaptering-dropdown"),o.setAttribute("data-start-onchange","false"),o.options.length=0,o.onchange=null,t===null){$v.addClass(f,"v-hide");$v.player.playlist&&$v.player.playlist.adjustHeight(n);$v.player.interactivetranscripts&&$v.player.interactivetranscripts.adjustHeight(n,0);return}for(h=0;h0&&a(n,i,v)}$v.removeClass(f,"v-hide");$v.player.playlist&&$v.player.playlist.adjustHeight(n);$v.player.interactivetranscripts&&$v.player.interactivetranscripts.adjustHeight(n,f.offsetHeight)}}function w(n){for(var i=n.querySelectorAll(".v-chapter-item"),t=0;t a:focus , #"+t.id+" .v-cta-fullframe > a:focus { outline-color:"+i.active+"} #"+t.id+" .v-cta-cell > a:hover , #"+t.id+" .v-cta-fullframe > a:focus { color:"+i.active+"}";$v.addStyle(l,"cta-"+t.id)}function n(n,t){if($v.hasClass(t.target,"v-cta-link")){t.keyCode&&t.keyCode!==13||(n.pause(!0),t.stopPropagation());return}}function r(n,t,i){var f=n.getPlaylistItem(),r=u(f.ctas,i);e(r.stale,t);o(r.fresh,t)}function u(n,t){for(var u=[],f=[],i,r=0;rt?u.push(i):f.push(i);return{fresh:u,stale:f}}function f(n,t){var i=document.createElement("div");i.className="v-cta-cell v-cta-"+n;t.appendChild(i)}function e(n,t){for(var r,i=0;i0&&(r={id:t.item.tracks[0].file},i=[r]);$v.player.interactivetranscripts.loadCaptions(n,i,0,t.item.chapters,!0)});h=n.getContainer();f=document.createElement("div");f.id="v-itranscript-container"+n.id;f.className="v-itranscript-container "+n.id;f.setAttribute("data-query","");f.setAttribute("data-search-cycle","0");f.setAttribute("data-search-matches","0");b=document.createElement("div");b.className="v-itranscript-header";g=document.createElement("span");g.className="v-itranscript-header-span";g.innerHTML="Transcript";b.appendChild(g);s=document.createElement("div");s.className="v-itranscript-search-container";k=document.createElement("span");k.className="v-itranscript-search-span";k.innerHTML="0 of 0";k.style.display="none";a=document.createElement("input");a.className="v-itranscript-searchbox";a.setAttribute("placeholder","Search");a.setAttribute("type","search");p=document.createElement("button");p.className="v-transcript-arrow v-itranscript-arrow-up v-hide";p.setAttribute("aria-label","Previous search result");p.innerHTML="Previous search result";w=document.createElement("button");w.className="v-transcript-arrow v-itranscript-arrow-down v-hide";w.setAttribute("aria-label","Next search result");w.innerHTML="Next search result";v=document.createElement("button");v.className="v-itranscript-button-search";v.setAttribute("title","Search");v.setAttribute("aria-label","Search");v.setAttribute("tabindex","-1");s.appendChild(k);s.appendChild(a);s.appendChild(p);s.appendChild(w);s.appendChild(v);b.appendChild(s);d=document.createElement("div");d.className="v-itranscript-body";y=document.createElement("div");y.className="v-itranscript-text";y.tabIndex="-1";y.innerHTML="There is no interactive transcript for this media";y.onscroll=function(){u()};tt=document.createElement("div");tt.id="v-transcript-hidden-anchor";tt.className="v-anchor";d.appendChild(y);f.appendChild(b);f.appendChild(d);f.appendChild(tt);v.onclick=function(){return o(f),!1};a.onkeydown=function(n){n.keyCode===27?i(f):n.keyCode===13?o(f):n.keyCode===8&&n.target.value.length<=1&&i(f)};a.onsearch=function(n){n.target.value===""?i(f):o(f)};w.onclick=function(){var n=parseInt(f.getAttribute("data-search-cycle")),i=parseInt(f.getAttribute("data-search-matches"));return n>=i-1?t(0,f):t(n+1,f),u(),!1};p.onclick=function(){var n=parseInt(f.getAttribute("data-search-cycle")),i=parseInt(f.getAttribute("data-search-matches"));return n<=0?t(i-1,f):t(n-1,f),u(),!1};var ot=r.interactiveTranscriptSettings.interactiveTranscriptsStyle.toLowerCase(),st=h.parentNode.parentNode,ft=h.parentNode.parentNode.nextSibling;ot==="rightposition"?(e=h.parentNode.nextSibling,$v.addClass(h,"jw-flag-v-rightitranscript"),f.className+=" v-itranscript-container-right",rt=st.offsetWidth,rt/2-1&&(c=!0),o=document.getElementById("v-itranscript-container"+n.id),h=o.querySelector(".v-itranscript-text"),o===undefined||o===null||t.length==0){o.querySelector(".v-itranscript-searchbox").disabled=!0;return}if(u===!0){a=t[i].id;n.on("captionsChanged",function(t){$v.player.interactivetranscripts.loadCaptions(n,t.tracks,t.track,r,!1,a)});o.setAttribute("data-selected-caption","1")}else{if(v=o.getAttribute("data-selected-caption"),i===0||i===parseInt(v))return;o.setAttribute("data-selected-caption",i)}if((o.querySelector(".v-itranscript-searchbox").disabled=!1,s=t[i].id,s)&&s!=="off"){for(s==="default"&&(s=f),s=$v.addProtocol(s),h.innerHTML="Loading ...",(r===undefined||r===null)&&(r=[]),l=0;l-1&&s.appendChild(e(r[a],n))),f=document.createElement("span"),f.className="v-itranscript-text-span",f.setAttribute("data-index",u),f.setAttribute("data-seconds",i[u].begin),l=document.createElement("a"),l.setAttribute("data-seconds",i[u].begin),l.innerHTML=i[u].text,f.onclick=function(t){var i=t.target.getAttribute("data-seconds");return n.seek(i),!1},f.appendChild(l),f.innerHTML+=" ",s.appendChild(f),i[u].begin=Math.floor(i[u].begin);et(s,i,r,n,c);h.innerHTML="";h.appendChild(s);h.onkeydown=function(t){if(t.keyCode===13){var i=t.target.getAttribute("data-seconds");n.seek(i)}};i.length>0&&ut(n,h,i,o)},fail:function(){console.warn("loadTranscriptionText error")}})}}function ut(n,t,i,u){n.on("progress",function(n){var s=n.time/1e3,o,h,e;if((y(t),!(s0)){if(h=o.length-1,e=t.querySelectorAll(".v-itranscript-text-span")[h],!e||e.className.indexOf("v-itranscript-text-active")>-1)return;$v.addClass(e,"v-itranscript-text-active");r&&f(u,e)}})}function f(n,t){var i=0,r=n.querySelector(".v-itranscript-text"),u;i=i+r.offsetHeight/2;u=t.offsetTop-i;r.scrollTop=u}function y(n){for(var i=n.querySelectorAll(".v-itranscript-text-span"),t=0;t0&&(i=u.length-1,t[i].used!==!0))?(t[i].used=!0,i):r}function e(n,t){var r=document.createElement("p"),i=document.createElement("h4");return i.innerHTML=n.label,i.setAttribute("data-seconds",n.time),i.onclick=function(n){var i=n.target.getAttribute("data-seconds");return t.seek(i),!1},r.appendChild(i),r}function ft(n,t,i,r,u){var o,f;if(t.length!==0&&u===!0)for(o=t[0].begin,f=0;fo&&i[f].used===!1&&(n.appendChild(e(i[f],r)),i[f].used=!0)}function o(n){var e=n.querySelector(".v-itranscript-searchbox"),r=e.value,u=n.getAttribute("data-query"),f=parseInt(n.getAttribute("data-search-cycle")),o=parseInt(n.getAttribute("data-search-matches"));r.length>0?(r=r.toLowerCase(),r===u?f>=o-1?t(0,n):t(f,n):(u!==""&&i(n),n.setAttribute("data-query",r),ot(r,n))):i(n)}function ot(n,r){for(var h=r.querySelector(".v-itranscript-text"),s=h.querySelectorAll("a"),o=[],f,e,u=0;u-1&&(s[u].innerHTML=f.substr(0,e)+""+f.substr(e,n.length)+"<\/em>"+f.substr(e+n.length),o.push(u));o.length?($v.removeClass(r.querySelector(".v-itranscript-arrow-up"),"v-hide"),$v.removeClass(r.querySelector(".v-itranscript-arrow-down"),"v-hide"),r.setAttribute("data-search-cycle","0"),r.setAttribute("data-search-matches",o.length),r.setAttribute("data-search-results",o),t(0,r),setTimeout(function(){r.querySelector(".v-itranscript-arrow-down").focus()},100)):i(r)}function i(n){for(var r=n.querySelector(".v-itranscript-text"),i=r.querySelectorAll("a"),u,t=0;t-1&&($v.removeClass(c,"v-itranscript-result-current"),o.querySelector("a").removeAttribute("tabindex"));s=r[n];i=t.querySelectorAll(".v-itranscript-text-span")[s];i.querySelector("a em").className="v-itranscript-result-current";i.querySelector("a").setAttribute("tabindex","0");t.querySelector(".v-itranscript-search-span").innerHTML=n+1+" of "+r.length;f(t,i);t.setAttribute("data-search-cycle",n)}}function s(n){var t="(?:[^\"'>]|\"[^\"]*\"|'[^']*')*",r="<(?:!--(?:(?:-*[^->])*--+|-?)|script\\b"+t+">[\\s\\S]*?<\/script\\s*|style\\b"+t+">[\\s\\S]*?<\/style\\s*|/?[a-z]"+t+")>",u=new RegExp(r,"gi"),i;do i=n,n=n.replace(u,"");while(n!==i);return n.replace(/ ")>0),r,i;return u&&t.shift(),r=t[0].indexOf(" --> "),i=t[1],t[2]&&(i+=" "+t[2]),(i===null||i===undefined)&&(i=""),i=s(i),{begin:h(t[0].substr(0,r)),end:h(t[0].substr(r+5)),text:i}}function h(n){var t=n.split(":"),i=Number(t[t.length-1])+Number(t[t.length-2])*60;return t.length>2&&(i+=Number(t[t.length-3])*3600),i}function k(n,t){var i=n.getContainer(),u=i.parentNode.parentNode,f=$v.hasClass(i,"jw-flag-v-rightitranscript"),r;f&&(r=i.offsetHeight+t-l,u.querySelector(".v-itranscript-body").style.height=r+"px")}function st(n,t){t&&!n.querySelector(".jw-flag-fullscreen")&&setTimeout(d(n,t),tt)}function d(n,t){var u=t.querySelector(".v-itranscript-header"),r=t.querySelector(".v-itranscript-body"),i;t&&t.className.indexOf("v-itranscript-container-right")>-1&&(i=0,r.style.height=i+"px",i=n.offsetHeight-u.offsetHeight,r.style.height=i+"px")}var c=400,nt=180,l=44,tt=350,r=!0,a,g={init:v,loadCaptions:rt,adjustHeight:k,resizeTranscriptHeight:st,calculateHeight:d};return window.location.protocol==="file:"&&$v.extend(g,{clearSelectedStyle:y,scrollToTranscript:f,removeTags:s,vttTimeToSeconds:h,colourRule:n,adjustHeight:k,parseNode:b,parseVtt:w,resetSearch:i,getHeaderFromChapters:p,cycleSearch:t,init:v}),g}():console.error("player.interactivetranscripts: Player not found");$v&&jwplayer&&$v.player?$v.player.keyboard=function(){function e(n,t){var ni=n.getContainer(),f,h,vt,yt,e,pt,ti,wt,dt,bt,kt,ii,st,c,p,k,nt,it,ct,lt,l,at,gt;$v.addClass(ni,"jw-flag-v-keyboard");f=document.createElement("div");f.className="v-keyboard v-visuallyhidden";f.id="player-keyboard";h=document.createElement("button");h.innerHTML="Play";h.setAttribute("aria-label","Play");vt=document.createElement("button");vt.innerHTML="Forward";vt.setAttribute("aria-label","Forward");yt=document.createElement("button");yt.innerHTML="Back";yt.setAttribute("aria-label","Back");e=document.createElement("span");e.className="nowrap";e.innerHTML="Time: ";e.setAttribute("aria-label","Position: 0");e.setAttribute("tabindex",0);pt=document.createElement("span");e.className="nowrap";pt.innerHTML="00:00";pt.title="Position: 0";ti=document.createElement("span");e.className="nowrap";ti.innerHTML="/";wt=document.createElement("span");e.className="nowrap";wt.innerHTML="00:00";wt.setAttribute("aria-label","Duration");dt=n.getVolume();bt=document.createElement("button");bt.innerHTML="Volume Up";bt.setAttribute("aria-label","Volume Up");kt=document.createElement("button");kt.innerHTML="Volume Down";kt.setAttribute("aria-label","Volume Down");ii=n.getMute();st=document.createElement("button");st.innerHTML=ii?"Unmute":"Mute";st.setAttribute("aria-label",ii?"Unmute":"Mute");c=document.createElement("span");e.className="nowrap";c.innerHTML="Volume: ";c.setAttribute("aria-label","Volume "+dt+" percent");c.setAttribute("tabindex",0);p=document.createElement("span");e.className="nowrap";p.innerHTML=dt;p.title="Volume "+dt+" percent";k=document.createElement("span");k.className="v-hide";k.innerHTML="Captions: ";k.setAttribute("tabindex",0);nt=document.createElement("span");nt.className="v-hide";nt.innerHTML="Audio Track: ";nt.setAttribute("tabindex",0);it=document.createElement("span");it.className="v-hide";it.innerHTML="Quality: ";it.setAttribute("tabindex",0);ct=document.createElement("span");ct.className="v-hide";ct.innerHTML="Transcripts: ";ct.setAttribute("tabindex",0);lt=document.createElement("span");lt.className="v-hide";lt.innerHTML="Channels: ";lt.setAttribute("tabindex",0);l=document.createElement("span");l.className="v-hide";l.innerHTML="Playlist: ";l.setAttribute("tabindex",0);at=document.createElement("button");at.innerHTML="Previous";at.setAttribute("aria-label","Play pevious playlist item");gt=document.createElement("button");gt.innerHTML="Next";at.setAttribute("aria-label","Play next playlist item");h.onclick=function(){return n.play(),!1};vt.onclick=function(){i(n,h,!0)};yt.onclick=function(){i(n,h,!1)};bt.onclick=function(){r(n,c,p,10)};kt.onclick=function(){r(n,c,p,-10)};st.onclick=function(){ft(n,st,p)};at.onclick=function(){u(n,-1)};gt.onclick=function(){u(n,1)};f.appendChild(h);f.appendChild(vt);f.appendChild(yt);f.appendChild(e);e.appendChild(pt);e.appendChild(ti);e.appendChild(wt);f.appendChild(bt);f.appendChild(kt);f.appendChild(st);c.appendChild(p);f.appendChild(c);f.appendChild(k);f.appendChild(nt);f.appendChild(it);f.appendChild(ct);l.appendChild(at);l.appendChild(gt);f.appendChild(lt);f.appendChild(l);ni.appendChild(f);a(n,e,pt,wt);rt(n,h);ut(n,h);v(n,h);y(n,k);w(n,k);b(n,nt);d(n,nt);g(n,it);tt(n,it);et(n,l);ot(n,ct);ht(n,lt,t);$v.android&&s(f,ni);o(f)}function o(n){n.addEventListener("keydown",function(n){n.stopPropagation()});n.addEventListener("focus",function(){c(n)},!0);n.addEventListener("blur",function(){window.setTimeout(function(){l(n)},0)},!0)}function s(n,t){var i=document.createElement("a");i.href="#playerControls";i.tabIndex=0;i.className="v-keyboard-at";i.innerHTML="Double tap to toggle player controls";i.addEventListener("keydown",function(n){n.stopPropagation()},!1);i.addEventListener("click",function(t){return t.stopPropagation(),$v.toggleClass(n,"v-visuallyhidden"),!1},!1);t.insertBefore(i,n)}function h(n,t){return t?t.parentNode===n?!1:t.parentNode!==undefined&&t.parentNode.parentNode===n?!1:!0:!0}function c(n){$v.removeClass(n,"v-visuallyhidden")}function l(n){var t=document.activeElement;h(n,t)&&$v.addClass(n,"v-visuallyhidden")}function a(n,i,r,u){n.on("progress",function(n){var o=t(n.time),f="Position: "+it(n.time),e=t(n.duration);r.innerHTML=o;r.title=f;i.setAttribute("aria-label",f);u.innerHTML=e;u.title="Duration: "+e;u.setAttribute("aria-label","Duration: "+n.duration)})}function v(t,i){t.on("complete",function(){n("paused",t,i)})}function y(n,t){n.on("captionsList",function(i){var u=i.tracks.length,f,r;if(u<2){$v.addClass(t,"v-hide");return}for($v.removeClass(t,"v-hide"),t.innerHTML="",f=n.getCurrentCaptions(),r=0;r0&&(i=(Math.floor(t/60)<10?"0"+Math.floor(t/60)+":":Math.floor(t/60)+":")+(Math.floor(t%60)<10?"0"+Math.floor(t%60):Math.floor(t%60))),i}function it(n){var t=n/1e3,i="",r,u;return t>0&&(r=Math.floor(t/60),r>0&&(i=r+" "),u=Math.floor(t%60),u&&(i+=u)),i}function rt(t,i){t.on("play",function(){n("playing",t,i)})}function ut(t,i){t.on("pause",function(){n("paused",t,i)})}function n(n,t,i){n==="paused"?(i.innerHTML="Play",i.setAttribute("aria-label","Play "+t.getPlaylistItem().title)):(i.innerHTML="Pause",i.setAttribute("aria-label","Pause"))}function i(n,t,i){var f=n.getState();if(f==="idle")return i&&n.play(),!0;var e=n.getDuration(),r=window.jwplayer().getPosition(),u=Math.round(e/10),o=i?r+u:r-u;n.seek(o)}function r(n,t,i,r){var f=n.getVolume(),u=f+r;u<0&&(u=0);u>100&&(u=100);n.setVolume(u);i.innerHTML=u;i.setAttribute("title","Volume "+u+" percent");t.setAttribute("aria-label","Volume "+u+" percent")}function ft(n,t){n.setMute();var i=n.getMute();i?(t.innerHTML="Unmute",t.setAttribute("aria-label","Unmute")):(t.innerHTML="Mute",t.setAttribute("aria-label","Mute"))}function u(n,t){n.playlistItem(n.getPlaylistIndex()+t)}function et(n,t){n.on("playlist",function(n){n.playlist.length<2?$v.addClass(t,"v-hide"):$v.removeClass(t,"v-hide")})}function ot(n,t){n.on("playlistItem",function(n){st(n.item.transcripts,t)})}function st(n,t){if(t.innerHTML="Transcripts: ",!n){$v.addClass(t,"v-hide");return}$v.removeClass(t,"v-hide");for(var i=0;i a:hover",r.titleHoverColour);u+=n(t,".v-current-media",r.textColour,r.backgroundColour);u+=n(t,".v-media",r.textColour,r.backgroundColour);u+=n(t,".v-media:hover",r.textHoverColour,r.backgroundHoverColour);u+=n(t,'.v-media[aria-selected="true"]',r.textActiveColour,r.backgroundActiveColour);u+=n(t,'.v-media[aria-selected="true"] .v-media-heading',r.titleActiveColour,r.backgroundActiveColour);u+=n(t,".v-collection",r.textColour,r.backgroundColour);u+=n(t,".v-collection-select",r.textColour,r.backgroundColour);u+=n(t,".v-page",undefined,r.backgroundColour);u+=n(t,".v-page-no",r.paginationColour,undefined);u+=n(t,".v-page-no:hover",r.paginationHoverColour,undefined);u+=n(t,".v-page-no.current-page",r.paginationActiveColour,undefined);u+=n(t,".v-playlist-media",undefined,r.backgroundColour);u+=n(t,".v-media-description > a",r.textColour,undefined);u+=n(t,".v-media:hover .v-media-description > a",r.textHoverColour,undefined);u+=n(t,'.v-media[aria-selected="true"] .v-media-description > a',r.textActiveColour,undefined);$v.addStyle(u,f)}function n(n,t,i,r,u){if(u=u||{colour:"color",background:"background-color"},!i&&!r)return"";var f="."+n+(t.indexOf(".")===0?" ":".")+t+" {";return i&&(f+=u.colour+": "+i+";"),u.background&&(f+=u.background+": "+(r?r:"transparent")+";"),f+"} "}function t(n,t,i){var r;i=i===undefined?!0:i;var e=t||document,o=n.match(/^[a-z0-9]+/g),u=n.match(/#[a-z0-9]+/g),f=n.match(/\..*/g),s=u||f;return s?(r=e.querySelector(s[0]),r===null&&o!==null&&(r=document.createElement(o),u&&(r.id=u[0].replace("#","")),f&&(r.className=f[0].replace(/(?!^)\./g," ").replace(".","")),i&&e.appendChild(r)),r):null}function b(n,r,u,f,e,o,s,h,c){var l,p,w,y,a,v;if(!u||u.length===0){r.parentNode.removeChild(r);return}for($v.addClass(r.parentNode,"v-has-collection"),l=t("label.v-collection-label",r),p=t("span.v-visuallyhidden",l),p.innerHTML="Selected",w=t("span.v-channel-label",l),w.innerHTML="Channel: ",l.setAttribute("aria-label","Channel selector"),l.setAttribute("tabindex",0),y=t("select.v-collection-select",l),y.setAttribute("tabindex",0),a=0;a1)for(y=1;y<=t;y++){for(v=document.createElement("span"),v.className="v-page-no",v.innerHTML=y,v.setAttribute("tabindex",0),v.setAttribute("data-page",y),y===r&&(v.className+=" current-page"),b=["click","keyup"],p=0;p0?(i.load(y.media),s(i,u,f,h,y.media),e(c,y.settings.totalPages,t,i,u,f,h,n,l,a,v)):(r(f,h),c.innerHTML="",c.style.display="none",o(i,f,a,u))},fail:function(){r(f,h)}})}function s(n,t,i,u,f){if(i.innerHTML="",f=f||n.getPlaylist(),!f||f.length===0){r(i,u);return}for(var e=0;et.scrollAfter&&nt(t.scrollAfter,i)}function nt(n,t){window.setTimeout(function(){if(n||!(t.childNodes.length<3)){n||(n=3);var i=Array.prototype.slice.call(t.childNodes)[n-1],r=i.getBoundingClientRect().bottom-t.getBoundingClientRect().top;t.style.maxHeight=r+i.nextSibling.offsetHeight/2+"px"}},100)}function h(n,t){return n.playlistItem(t),u($v.findAncestor(n.getContainer().parentNode,"v-player-container")),!1}function tt(n,t,i,r){var u=document.createElement("div"),y,e,a,o,v,c;if(u.className="v-media v-media-nothumb v-media-notitle v-media-nodesc",u.setAttribute("data-index",r),r===0&&(y=document.createAttribute("aria-selected"),y.value=!0,u.setAttributeNode(y)),t.itemThumbnail&&($v.removeClass(u,"v-media-nothumb"),e=document.createElement("a"),e.className="v-media-image",e.title="Play "+n.title,e.onclick=function(){h(i,r)},a=document.createElement("img"),a.src=n.thumbnail,a.alt="",e.appendChild(a),u.appendChild(e)),t.itemTitle||t.itemDescription){if(o=document.createElement("div"),o.className="v-media-body",t.itemTitle&&n.title&&($v.removeClass(u,"v-media-notitle"),v=document.createElement("h4"),v.className="v-media-heading",c=document.createElement("a"),c.title="Play "+n.title,c.innerHTML=n.title,c.onclick=function(){h(i,r)},v.appendChild(c),o.appendChild(v)),t.itemDescription&&n.description){$v.removeClass(u,"v-media-nodesc");var l=document.createElement("div"),f=document.createElement("div"),s=n.description,p=document.createElement("a"),w=document.createElement("a");p.innerHTML="more";w.innerHTML="less";l.className="v-media-description";f.className="v-media-description";f.innerHTML=s;f.style.display="none";s&&f.innerText.length>t.itemDescriptionLength&&t.itemDescriptionLength>0?(s=s.substring(0,t.itemDescriptionLength)+"… ",l.innerHTML=s,l.appendChild(p),f.innerHTML+=" ",f.appendChild(w)):l.innerHTML=s;o.appendChild(l);o.appendChild(f);p.onclick=function(){this.parentNode.style.display="none";this.parentNode.nextSibling.style.display="block"};w.onclick=function(){this.parentNode.style.display="none";this.parentNode.previousSibling.style.display="block"}}u.appendChild(o)}return u}function it(n,t,i,r){var f=n;n.on("playlistItem",function(e){for(var h=e.index,c=e.item,l=i.parentNode,s=i.childNodes,o=0;o-1,!r)return;var u=t.querySelector(".v-playlist-media"),e=i.querySelector(".v-chaptering-container"),o=i.getBoundingClientRect().bottom-e.getBoundingClientRect().bottom;u.style.height=u.offsetHeight-o+"px"}}function ut(n,t,i,r,u){var s=t.getBoundingClientRect().width;if(i.hasChildNodes())if(n.offsetWidth<=800)t.style.width=null,i.style.width=null,t.classList.add("v-half-width"),i.classList.add("v-half-width"),r!==null&&u.classList.add("v-playlist-compact");else{var f=n.offsetWidth,e=Math.floor((f-400)/f*100),o=100-e;t.style.width=e+"%";i.style.width=o+"%";t.classList.remove("v-half-width");i.classList.remove("v-half-width");r!==null&&u.classList.remove("v-playlist-compact")}}function c(n,t,i,r,u){u&&!n.querySelector(".jw-flag-fullscreen")&&setTimeout(function(){var f=0,u;i&&(f=i.offsetHeight);u=0;t.style.height=u+"px";u=r.style.display==="none"?n.offsetHeight-f:n.offsetHeight-f-r.offsetHeight;t.style.height=u+"px"},a)}function u(n){var i=n.children[1],r,t;if(!i.hasChildNodes())return!1;if(r=n.children[0],t=i.querySelector(".v-playlist-container"),t!==null){var u=t.querySelector(".v-playlist-media"),f=t.querySelector(".v-collection"),e=t.querySelector(".v-page"),o=t.className.indexOf("rightlist")>-1;c(r,u,f,e,o)}}var f=400,a=350,v=["January","February","March","April","May","June","July","August","September","October","November","December"],w={rightlist:function(n,t,i,r){var u=n.getContainer().parentNode.nextSibling,e,o,s;$v.addClass(u,"jw-flag-v-rightlist");e=t.offsetWidth;e/2