(function(d){d.html5={};d.html5.version="6.12.4956";d=d.utils.css;var l=".jwplayer ;div;span;a;img;ul;li;video".split(";").join(", .jwplayer ");d(l+", .jwclick",{margin:0,padding:0,border:0,color:"#000000","font-size":"100%",font:"inherit","vertical-align":"baseline","background-color":"transparent","text-align":"left",direction:"ltr","line-height":20,"-webkit-tap-highlight-color":"rgba(255, 255, 255, 0)"});d(".jwplayer ,.jwplayer *",{"box-sizing":"content-box"});d(".jwplayer * button,.jwplayer * input,.jwplayer * select,.jwplayer * textarea",
{"box-sizing":"border-box"});d(".jwplayer ul",{"list-style":"none"});d(".jwplayer .jwcontrols",{"pointer-events":"none"});d(".jwplayer.jw-user-inactive .jwcontrols",{"pointer-events":"all"});d(".jwplayer .jwcontrols .jwdockbuttons, .jwplayer .jwcontrols .jwcontrolbar, .jwplayer .jwcontrols .jwskip, .jwplayer .jwcontrols .jwdisplayIcon, .jwplayer .jwcontrols .jwpreview, .jwplayer .jwcontrols .jwlogo",{"pointer-events":"all"})})(jwplayer);
(function(d){var l=document;d.parseDimension=function(a){return"string"===typeof a?""===a?0:-1f?"0":"")+f+":"+(10>a?"0":"")+a}return"00:00"};d.bounds=function(a){var c={left:0,right:0,width:0,height:0,top:0,bottom:0};if(!a||!l.body.contains(a))return c;if(a.getBoundingClientRect){a=a.getBoundingClientRect(a);var f=
window.pageYOffset,e=window.pageXOffset;if(!a.width&&!a.height&&!a.left&&!a.top)return c;c.left=a.left+e;c.right=a.right+e;c.top=a.top+f;c.bottom=a.bottom+f;c.width=a.right-a.left;c.height=a.bottom-a.top}else{c.width=a.offsetWidth|0;c.height=a.offsetHeight|0;do c.left+=a.offsetLeft|0,c.top+=a.offsetTop|0;while(a=a.offsetParent);c.right=c.left+c.width;c.bottom=c.top+c.height}return c};d.empty=function(a){if(a)for(;0m?m=b:b=m;k=!0;break;
case l.NONE:b=m=1;case l.EXACTFIT:k=!0;break;default:b>m?0.95S)&&t.seek(S);r()}},emptied:s,ended:function(){Y&&t.state!==e.IDLE&&(h(W),ea=-1,va=!0,t.sendEvent(f.JWPLAYER_MEDIA_BEFORECOMPLETE),Y&&(t.setState(e.IDLE),va=!1,t.sendEvent(f.JWPLAYER_MEDIA_COMPLETE)))},error:function(){Y&&(a.log("Error playing media: %o %s",I.error,I.src||J.file),
t.sendEvent(f.JWPLAYER_MEDIA_ERROR,{message:"Error loading media: File could not be played"}),t.setState(e.IDLE))},loadeddata:s,loadedmetadata:y,loadstart:s,pause:p,play:p,playing:p,progress:E,ratechange:s,readystatechange:s,seeked:function(){!T&&t.state!==e.PAUSED&&t.setState(e.PLAYING)},seeking:b?z:s,stalled:s,suspend:s,timeupdate:r,volumechange:function(){t.sendEvent(f.JWPLAYER_MEDIA_VOLUME,{volume:Math.round(100*I.volume)});t.sendEvent(f.JWPLAYER_MEDIA_MUTE,{mute:I.muted})},waiting:z,webkitbeginfullscreen:function(b){ra=
!0;L(b);a.isIOS()&&(I.controls=!1)},webkitendfullscreen:function(b){ra=!1;L(b);a.isIOS()&&(I.controls=!1)}},M,J,H,K,N=!1,P,S=0,T=!1,D,W=-1,Z=-1,Y=!1,da,ea=-1,va=!1,ra=!1;this.sendEvent=function(){Y&&G.sendEvent.apply(this,arguments)};var I=document.getElementById(l).querySelector("video"),Va=I=I||document.createElement("video");a.foreach(x,function(a,b){Va.addEventListener(a,b,!1)});q||(I.controls=!0,I.controls=!1);I.setAttribute("x-webkit-airplay","allow");I.setAttribute("webkit-playsinline","");
Y=!0;this.stop=function(){Y&&(h(W),I.removeAttribute("src"),b||I.load(),ea=-1,this.setState(e.IDLE))};this.destroy=function(){var b=I;a.foreach(x,function(a,c){b.removeEventListener(a,c,!1)});this.remove()};this.load=function(b){if(Y){da=b.sources;0>ea&&(ea=0);if(da)for(var c=a.getCookies().qualityLabel,e=0;eb)){ea=b;a.saveCookie("qualityLabel",da[b].label);this.sendEvent(f.JWPLAYER_MEDIA_LEVEL_CHANGED,{currentQuality:b,levels:w(da)});b=Math.floor(10*I.currentTime)/10;var c=Math.floor(10*I.duration)/10;0>=c&&(c=H);A(b,c)}};this.getCurrentQuality=
function(){return ea};this.getQualityLevels=function(){return w(da)}}var a=d.utils,c=d._,f=d.events,e=f.state,h=window.clearInterval,j=d.html5.DefaultProvider,b=a.isMSIE(),m=a.isMobile(),g=a.isSafari(),k=a.isAndroidNative(),q=a.isIOS(7),s=function(){};s.prototype=j;l.prototype=new s;l.supports=c.constant(!0);d.html5.VideoProvider=l})(jwplayer);
(function(d){function l(g){function l(){window.YT&&window.YT.loaded?(t=window.YT,s()):setTimeout(l,100)}function m(){j=null}function s(){var a;if(a=t)a=M&&M.parentNode,a||(K||(d(g).onReady(s),K=!0),a=!1);a&&N&&N.apply(G)}function v(){if(x&&x.getPlayerState){var a=x.getPlayerState();null!==a&&(void 0!==a&&a!==T)&&u({data:a});var b=t.PlayerState;a===b.PLAYING?(r(),G.sendEvent(f.JWPLAYER_MEDIA_TIME,{position:C(x.getCurrentTime()),duration:x.getDuration()})):a===b.BUFFERING&&r()}}function C(a){return Math.round(10*
a)/10}function r(){var a=0;x&&x.getVideoLoadedFraction&&(a=Math.round(100*x.getVideoLoadedFraction()));H!==a&&(H=a,G.sendEvent(f.JWPLAYER_MEDIA_BUFFER,{bufferPercent:a}))}function n(){G.sendEvent(f.JWPLAYER_MEDIA_META,{duration:x.getDuration(),width:M.clientWidth,height:M.clientHeight})}function y(){var a=arguments,b=a.length-1;return function(){for(var c=b,e=a[b].apply(this,arguments);c--;)e=a[c].call(this,e);return e}}function E(){P&&(P.apply(G),P=null)}function u(a){var b=t.PlayerState;T=a.data;
switch(T){case b.ENDED:G.state!==e.IDLE&&(W=!0,G.sendEvent(f.JWPLAYER_MEDIA_BEFORECOMPLETE),G.setState(e.IDLE),W=!1,G.sendEvent(f.JWPLAYER_MEDIA_COMPLETE));break;case b.PLAYING:c.isFunction(x.unloadModule)&&x.unloadModule("captions");Z=!1;n();G.sendEvent(f.JWPLAYER_MEDIA_LEVELS,{levels:G.getQualityLevels(),currentQuality:G.getCurrentQuality()});G.setState(e.PLAYING);break;case b.PAUSED:G.setState(e.PAUSED);break;case b.BUFFERING:G.setState(e.BUFFERING);break;case b.CUED:G.setState(e.IDLE)}}function p(){T!==
t.PlayerState.ENDED&&G.play();G.sendEvent(f.JWPLAYER_MEDIA_LEVEL_CHANGED,{currentQuality:G.getCurrentQuality(),levels:G.getQualityLevels()})}function z(){G.sendEvent(f.JWPLAYER_MEDIA_ERROR,{message:"Error loading YouTube: Video could not be played"})}function w(){b&&(G.setVisibility(!0),a.css("#"+g+" .jwcontrols",{display:"none"}))}function A(){clearInterval(S);if(x&&x.stopVideo)try{x.stopVideo(),x.clearVideo()}catch(a){}}function F(b){P=null;var c=a.youTubeID(b.sources[0].file);b.image||(b.image=
"//i.ytimg.com/vi/"+c+"/0.jpg");G.setVisibility(!0);if(!t||!x)N=function(){if(!c)throw"invalid Youtube ID";if(M.parentNode){var b={height:"100%",width:"100%",videoId:c,playerVars:a.extend({html5:1,autoplay:0,controls:0,showinfo:0,rel:0,modestbranding:0,playsinline:1,origin:location.protocol+"//"+location.hostname},void 0),events:{onReady:E,onStateChange:u,onPlaybackQualityChange:p,onError:z}};G.setVisibility(!0);x=new t.Player(M,b);M=x.getIframe();N=null;w();L()}},s();else if(x.getPlayerState)if(x.getVideoData().video_id!==
c){Z?(A(),x.cueVideoById(c)):x.loadVideoById(c);var e=x.getPlayerState(),f=t.PlayerState;(e===f.UNSTARTED||e===f.CUED)&&w()}else 0E||(a=b.replace(/xx/gi,Math.ceil(E-a)),s(a))}function k(a,b){if("number"===l.typeOf(z))E=z;else if("%"===z.slice(-1)){var c=parseFloat(z.slice(0,-1));b&&!isNaN(c)&&(E=b*c/100)}else"string"===l.typeOf(z)?E=l.seconds(z):isNaN(z)||(E=z)}function q(){u&&L.sendEvent(c.JWPLAYER_AD_SKIPPED)}function s(a){a=a||d;var b=y.getContext("2d");b.clearRect(0,0,f,e);C(b,0,0,f,e,5,!0,!1,!1);C(b,0,0,f,e,5,
!1,!0,!1);b.fillStyle="#979797";b.globalAlpha=1;var c=y.height/2,g=y.width/2;b.textAlign="center";b.font="Bold 12px Sans-Serif";a===d&&(g-=w.width,b.drawImage(w,y.width-(y.width-b.measureText(d).width)/2-4,(e-w.height)/2));b.fillText(a,g,c+4)}function v(a){a=a||d;var b=y.getContext("2d");b.clearRect(0,0,f,e);C(b,0,0,f,e,5,!0,!1,!0);C(b,0,0,f,e,5,!1,!0,!0);b.fillStyle="#FFFFFF";b.globalAlpha=1;var c=y.height/2,g=y.width/2;b.textAlign="center";b.font="Bold 12px Sans-Serif";a===d&&(g-=w.width,b.drawImage(A,
y.width-(y.width-b.measureText(d).width)/2-4,(e-w.height)/2));b.fillText(a,g,c+4)}function C(a,b,c,e,f,g,h,j,r){"undefined"===typeof j&&(j=!0);"undefined"===typeof g&&(g=5);a.beginPath();a.moveTo(b+g,c);a.lineTo(b+e-g,c);a.quadraticCurveTo(b+e,c,b+e,c+g);a.lineTo(b+e,c+f-g);a.quadraticCurveTo(b+e,c+f,b+e-g,c+f);a.lineTo(b+g,c+f);a.quadraticCurveTo(b,c+f,b,c+f-g);a.lineTo(b,c+g);a.quadraticCurveTo(b,c,b+g,c);a.closePath();j&&(a.strokeStyle="white",a.globalAlpha=r?1:0.25,a.stroke());h&&(a.fillStyle=
"#000000",a.globalAlpha=0.5,a.fill())}function r(a,b){var c=document.createElement(a);b&&(c.className=b);return c}var n,y,E=-1,u=!1,p,z=0,w,A,F=!1,L=l.extend(this,new c.eventdispatcher);L.updateSkipTime=function(b,c){k(b,c);0<=E&&(a.style(n,{visibility:p?"visible":"hidden"}),0=t.length||(t[G].data?F.populate(t[G].data):x===t.length?(l("file not loaded: "+t[G].file),0!==J&&u(c.JWPLAYER_CAPTIONS_CHANGED,t,0),J=0):M=a,n(!1))):(J=0,n(!1))}function u(a,b,c){K.sendEvent(a,{type:a,tracks:b,track:c})}function p(){for(var a=[{label:"Off"}],b=0;b=v)){a=b;break}-1===a?e(""):a!==s&&(s=a,e(d[b].text))}function b(a,b,c){c=l.hexToRgba("#000000",c);"dropshadow"===a?b.textShadow="0 2px 1px "+c:"raised"===a?b.textShadow="0 0 5px "+c+", 0 1px 5px "+c+", 0 2px 5px "+c:"depressed"===a?b.textShadow="0 -2px 1px "+c:"uniform"===a&&(b.textShadow="-2px 0 1px "+c+",2px 0 1px "+c+",0 -2px 1px "+c+",0 2px 1px "+c+",-1px 1px 1px "+c+",1px 1px 1px "+
c+",1px -1px 1px "+c+",1px 1px 1px "+c)}var d,g,k,q,s,v,C="visible",r=-1;this.hide=function(){clearInterval(r);a(g,{display:"none"})};this.populate=function(a){s=-1;d=a;j()};this.resize=function(){h()};this.show=function(){a(g,{display:"block"});h();clearInterval(r);r=setInterval(h,250)};this.update=function(a){v=a;d&&j()};var n=c.fontOpacity,y=c.windowOpacity,E=c.edgeStyle,u=c.backgroundColor,p={display:"inline-block"},z={color:l.hexToRgba(l.rgbHex(c.color),n),display:"inline-block",fontFamily:c.fontFamily,
fontStyle:c.fontStyle,fontWeight:c.fontWeight,textAlign:"center",textDecoration:c.textDecoration,wordWrap:"break-word"};y&&(p.backgroundColor=l.hexToRgba(l.rgbHex(c.windowColor),y));b(E,z,n);c.back?z.backgroundColor=l.hexToRgba(l.rgbHex(u),c.backgroundOpacity):null===E&&b("uniform",z);g=document.createElement("div");k=document.createElement("div");q=document.createElement("span");a(g,{display:"block",height:"auto",position:"absolute",bottom:"20px",textAlign:"center",width:"100%"});a(k,p);a(q,z);k.appendChild(q);
g.appendChild(k);f.appendChild(g)}})(jwplayer);
(function(d,l,a){function c(a){return a?parseInt(a.width,10)+"px "+parseInt(a.height,10)+"px":"0 0"}var f=d.jwplayer,e=f.html5,h=f.utils,j=f._,b=f.events,m=b.state,g=h.css,k=h.transitionStyle,q=h.isMobile(),s=h.isAndroid(4,!0),v=d.top!==d.self,C="button",r="text",n="slider",y={display:"none"},E={display:"block"},u={display:""};e.controlbar=function(p,k){function w(a,b,c){return{name:a,type:b,className:c}}function A(a){g.block(aa);var b=a.duration===Number.POSITIVE_INFINITY,c=0===a.duration&&0!==a.position&&
h.isSafari()&&!q;b||c?(X.setText(p.jwGetPlaylist()[p.jwGetPlaylistIndex()].title||"Live broadcast"),D(!1)):(B.elapsed&&(b=h.timeFormat(a.position),B.elapsed.innerHTML=b),B.duration&&(b=h.timeFormat(a.duration),B.duration.innerHTML=b),0a&&(a=0);0.9b+2*Math.floor($.margin)?g.style(R,{width:b}):g.style(R,{width:""}));qa&&g.style(qa.element(),{display:!ta&&!ma?"block":"none"});g.style(B.hd,{display:!ta&&!a&&
!ma&&1e-W?(d.jwSetFullscreen(),W=void 0):W=(new Date).getTime();var g=a.bounds(u.parentNode.querySelector(".jwcontrolbar")),
j=a.bounds(u),e=g.left-10-j.left,r=g.left+30-j.left,k=j.bottom-40,l=j.bottom,p=g.right-30-j.left,g=g.right+10-j.left;if(h&&!(b.x>=e&&b.x<=r&&b.y>=k&&b.y<=l)){if(b.x>=p&&b.x<=g&&b.y>=k&&b.y<=l){d.jwSetFullscreen();return}T.sendEvent(c.JWPLAYER_DISPLAY_CLICK);if(J)return}switch(d.jwGetState()){case f.PLAYING:case f.BUFFERING:d.jwPause();break;default:d.jwPlay()}}}function q(a,b){S.showicons&&(a||b?(K.setRotation("buffer"===a?parseInt(S.bufferrotation,10):0,parseInt(S.bufferinterval,10)),K.setIcon(a),
K.setText(b)):K.hide())}function s(a){A!==a?(A&&E(j,!1),(A=a)?(a=new Image,a.addEventListener("load",r,!1),a.src=A):(e("#"+u.id+" "+j,{"background-image":""}),E(j,!1),F=L=0)):A&&!J&&E(j,!0);C(d.jwGetState())}function v(a){clearTimeout(Z);Z=setTimeout(function(){C(a.newstate)},100)}function C(a){a=N?N:d?d.jwGetState():f.IDLE;if(a!==P)switch(P=a,K&&K.setRotation(0),a){case f.IDLE:!x&&!M&&(A&&!G&&E(j,!0),a=!0,d._model&&!1===d._model.config.displaytitle&&(a=!1),q("play",w&&a?w.title:""));break;case f.BUFFERING:x=
!1;t.error&&t.error.setText();M=!1;q("buffer");break;case f.PLAYING:q();break;case f.PAUSED:q("play")}}function r(){F=this.width;L=this.height;C(d.jwGetState());y();A&&e("#"+u.id+" "+j,{"background-image":"url("+A+")"})}function n(a){x=!0;q("error",a.message)}function y(){0g.left&&b.offsetX(h.left-g.left+8);C.show();a.foreach(u,function(a,b){a!==k&&b.hide()})},!1);m.addEventListener("mouseout",function(){L=setTimeout(C.hide,100)},!1);p.appendChild(C.element());u[k]=C}}y++;v()}};A.removeButton=function(a){if(E[a]){z.removeChild(E[a].element);z.removeChild(E[a].divider);var b=document.getElementById(""+r+"_"+a+"_tooltip");b&&p.removeChild(b);delete E[a];y--;v()}};A.numButtons=function(){return y};A.visible=!1;p=
q("div","jwdock");z=q("div","jwdockbuttons");p.appendChild(z);p.id=r;var F=s("button"),L=s("buttonOver"),G=s("buttonActive");F&&(c(k(),{height:F.height,padding:C.margin}),c(h,{height:F.height}),c(k("div.button"),a.extend(m(F),{width:F.width,cursor:"pointer",border:"none"})),c(k("div.button:hover"),m(L)),c(k("div.button:active"),m(G)),c(k("div.button\x3ediv"),{opacity:C.iconalpha}),c(k("div.button:hover\x3ediv"),{opacity:C.iconalphaover}),c(k("div.button:active\x3ediv"),{opacity:C.iconalphaactive}),
c(k(".jwoverlay"),{top:C.margin+F.height}),g("capLeft",z),g("capRight",z),g("divider"));setTimeout(function(){f(p)})};c(".jwdock",{opacity:0,display:"none"});c(".jwdock \x3e *",{height:"100%","float":"left"});c(".jwdock \x3e .jwoverlay",{height:"auto","float":"none","z-index":99});c(h+" div.button",{position:"relative"});c(h+" \x3e *",{height:"100%","float":"left"});c(h+" .divider",{display:"none"});c(h+" div.button ~ .divider",{display:"block"});c(h+" .capLeft, "+h+" .capRight",{display:"none"});
c(h+" .capRight",{"float":"right"});c(h+" div.button \x3e div",{left:0,right:0,top:0,bottom:0,margin:5,position:"absolute","background-position":"center","background-repeat":"no-repeat"});a.transitionStyle(".jwdock","background .25s, opacity .25s");a.transitionStyle(".jwdock .jwoverlay","opacity .25s");a.transitionStyle(h+" div.button div","opacity .25s")})(jwplayer);
(function(d){var l=d.html5,a=d.utils,c=d._,f=d.events,e=f.state,h=d.playlist;l.instream=function(j,b,m,g){function k(a){E(a.type,a);H&&j.jwInstreamDestroy(!1,D)}function q(a){if(a.newstate!==H.state)switch(H.state=a.newstate,H.state){case e.PLAYING:D.jwInstreamPlay();break;case e.PAUSED:D.jwInstreamPause()}}function s(a){E(a.type,a);n()}function v(a){E(a.type,a)}function C(a){b.sendEvent(a.type,a);E(f.JWPLAYER_FULLSCREEN,{fullscreen:a.jwstate})}function r(){P&&P.releaseState(D.jwGetState());K.play()}
function n(){if(w&&A+1a&&D.jwInstreamSeek(a)}};D.jwSeekDrag=function(a){H.seekDrag(a)};D.jwGetPosition=function(){};D.jwGetDuration=function(){};D.jwGetWidth=j.jwGetWidth;D.jwGetHeight=j.jwGetHeight;D.jwGetFullscreen=j.jwGetFullscreen;D.jwSetFullscreen=j.jwSetFullscreen;D.jwGetVolume=function(){return b.volume};D.jwSetVolume=function(a){H.setVolume(a);j.jwSetVolume(a)};D.jwGetMute=
function(){return b.mute};D.jwSetMute=function(a){H.setMute(a);j.jwSetMute(a)};D.jwGetState=function(){return!H?e.IDLE:H.state};D.jwGetPlaylist=function(){return[z]};D.jwGetPlaylistIndex=function(){return 0};D.jwGetStretching=function(){return b.config.stretching};D.jwAddEventListener=function(a,b){D.addEventListener(a,b)};D.jwRemoveEventListener=function(a,b){D.removeEventListener(a,b)};D.jwSetCurrentQuality=function(){};D.jwGetQualityLevels=function(){return[]};D.jwGetControls=function(){return j.jwGetControls()};
D.skin=j.skin;D.id=j.id+"_instream";return D}})(window.jwplayer);
(function(d){var l=d.utils,a=l.css,c=d.events.state,f=d.html5.logo=function(e,h){function j(a){l.exists(a)&&a.stopPropagation&&a.stopPropagation();if(!s||!g.link)b.jwGetState()===c.IDLE||b.jwGetState()===c.PAUSED?b.jwPlay():b.jwPause();s&&g.link&&(b.jwPause(),b.jwSetFullscreen(!1),window.open(g.link,g.linktarget))}var b=e,m=b.id+"_logo",g,k,q=f.defaults,s=!1;this.resize=function(){};this.element=function(){return k};this.offset=function(b){a("#"+m+" ",{"margin-bottom":b})};this.position=function(){return g.position};
this.margin=function(){return parseInt(g.margin,10)};this.hide=function(a){if(g.hide||a)s=!1,k.style.visibility="hidden",k.style.opacity=0};this.show=function(){s=!0;k.style.visibility="visible";k.style.opacity=1};var v="o";b.edition&&(v=b.edition(),v="pro"===v?"p":"premium"===v?"r":"ads"===v?"a":"free"===v?"f":"o");if("o"===v||"f"===v)q.link="http://www.longtailvideo.com/jwpabout/?a\x3dl\x26v\x3d"+d.version+"\x26m\x3dh\x26e\x3d"+v;g=l.extend({},q,h);g.hide="true"===g.hide.toString();k=document.createElement("img");
k.className="jwlogo";k.id=m;if(g.file){var q=/(\w+)-(\w+)/.exec(g.position),v={},C=g.margin;3===q.length?(v[q[1]]=C,v[q[2]]=C):v.top=v.right=C;a("#"+m+" ",v);k.src=(g.prefix?g.prefix:"")+g.file;l.isMobile()?(new l.touch(k)).addEventListener(l.touchEvents.TAP,j):k.onclick=j}else k.style.display="none";return this};f.defaults={prefix:l.repo(),file:"logo.png",linktarget:"_top",margin:8,hide:!1,position:"top-right"};a(".jwlogo",{cursor:"pointer",position:"absolute"})})(jwplayer);
(function(d){var l=d.html5,a=d.utils,c=a.css;l.menu=function(d,e,h,j){function b(a){return!a||!a.src?{}:{background:"url("+a.src+") no-repeat left","background-size":a.width+"px "+a.height+"px"}}function m(a,b){return function(){r(a);q&&q(b)}}function g(a,b){var c=document.createElement("div");a&&(c.className=a);b&&b.appendChild(c);return c}function k(a){return(a=h.getSkinElement("tooltip",a))?a:{width:0,height:0,src:void 0}}var q=j,s=new l.overlay(e+"_overlay",h);j=a.extend({fontcase:void 0,fontcolor:"#cccccc",
fontsize:11,fontweight:void 0,activecolor:"#ffffff",overcolor:"#ffffff"},h.getComponentSettings("tooltip"));var v,C=[];this.element=function(){return s.element()};this.addOption=function(b,c){var d=g("jwoption",v);d.id=e+"_option_"+c;d.innerHTML=b;a.isMobile()?(new a.touch(d)).addEventListener(a.touchEvents.TAP,m(C.length,c)):d.addEventListener("click",m(C.length,c));C.push(d)};this.clearOptions=function(){for(;0a?(a=0,b=!0):a=-1===a||a>j.playlist.length?j.playlist.length-1:a;if(b||a!==j.item)j.item=a,j.sendEvent(c.JWPLAYER_PLAYLIST_ITEM,{index:j.item}),b=j.playlist[a],a=l.chooseProvider(b&&b.sources&&b.sources[0]),k instanceof a||(k=e||new a(j.id),j.setVideoProvider(k)),k.init&&k.init(b)};j.setVolume=function(e){j.mute&&0b.right?n.offsetX(b.right-d.right):d.lefta&&(a=0);1m[c].end;)c++;c===m.length&&c--;c=m[c].text;a:{var d=c;if(d&&d!==q){q=d;0>d.indexOf("://")&&(d=g?g+"/"+d:d);var e={display:"block",margin:"0 auto",
"background-position":"0 0",width:0,height:0};if(0=a.keyCode){var c=(a.keyCode-48)/10*b.getDuration();b.seek(c)}}if(/13|32|37|38|39|40/.test(a.keyCode))return a.preventDefault(),!1}function p(){Ya=!0;ja.sendEvent(f.JWPLAYER_VIEW_TAB_FOCUS,
{hasFocus:!1})}function z(){var a=!Ya;Ya=!1;a&&ja.sendEvent(f.JWPLAYER_VIEW_TAB_FOCUS,{hasFocus:!0});O.adMode()||(ea(),x())}function w(){Ya=!1;ja.sendEvent(f.JWPLAYER_VIEW_TAB_FOCUS,{hasFocus:!1})}function A(){var a=j(Q),c=Math.round(a.width),e=Math.round(a.height);if(document.body.contains(Q)){if(c&&e&&(c!==Ka||e!==$a))Ka=c,$a=e,V&&V.redraw(),clearTimeout(Ba),Ba=setTimeout(W,50),ja.sendEvent(f.JWPLAYER_RESIZE,{width:c,height:e})}else d.removeEventListener("resize",A),b&&d.removeEventListener("orientationchange",
A);return a}function F(a){a&&(a.element().addEventListener("mousemove",J,!1),a.element().addEventListener("mouseout",H,!1))}function L(){}function G(){clearTimeout(xa);xa=setTimeout(Aa,wa)}function t(a,b){var c=document.createElement(a);b&&(c.className=b);return c}function x(){clearTimeout(xa);xa=setTimeout(Aa,wa)}function M(){clearTimeout(xa);var a=r.jwGetState();if(a===e.PLAYING||a===e.PAUSED||ua)Ma(),Oa||(xa=setTimeout(Aa,wa))}function J(){clearTimeout(xa);Oa=!0}function H(){Oa=!1}function K(a){ja.sendEvent(a.type,
a)}function N(a){if(a.done)P();else{if(!a.complete){O.adMode()||(O.instreamMode(!0),O.adMode(!0),O.show(!0));O.setText(a.message);var b=a.onClick;void 0!==b&&V.setAlternateClickHandler(function(){b(a)});void 0!==a.onSkipAd&&ba&&ba.setSkipoffset(a,a.onSkipAd)}ba&&ba.adChanged(a)}}function P(){O.setText("");O.adMode(!1);O.instreamMode(!1);O.show(!0);ba&&(ba.adsEnded(),ba.setState(r.jwGetState()));V.revertAlternateClickHandler()}function S(a,b,d){var e=Q.className,f,g,j=r.id+"_view";h.block(j);if(d=
!!d)e=e.replace(/\s*aspectMode/,""),Q.className!==e&&(Q.className=e),h.style(Q,{display:C},d);c.exists(a)&&c.exists(b)&&(n.width=a,n.height=b);d={width:a};-1===e.indexOf(k)&&(d.height=b);h.style(Q,d,!0);V&&V.redraw();O&&O.redraw(!0);$&&($.offset(O&&0<=$.position().indexOf("bottom")?O.height()+O.margin():0),setTimeout(function(){ca&&ca.offset("top-left"===$.position()?$.element().clientWidth+$.margin():0)},500));R=T(b);O&&(R?(O.audioMode(!0),Ma(),V.hidePreview(!0),V&&V.hide(),Na(!1)):(O.audioMode(!1),
Xa(r.jwGetState())));$&&R&&Va();Q.style.backgroundColor=R?"transparent":"#000";f=n.playlistsize;g=n.playlistposition;if(Ia&&f&&("right"===g||"bottom"===g))Ia.redraw(),e={display:C},d={},e[g]=0,d[g]=f,"right"===g?e.width=f:e.height=f,h.style(Ra,e),h.style(Ga,d);W(a,b);h.unblock(j)}function T(a){if(n.aspectratio)return!1;if(l._.isNumber(a))return D(a);if(l._.isString(a)&&-1=a}function W(a,b){if(!a||isNaN(Number(a))){if(!ga)return;a=ga.clientWidth}if(!b||isNaN(Number(b))){if(!ga)return;b=ga.clientHeight}c.isMSIE(9)&&(document.all&&!d.atob)&&(a=b="100%");n.getVideo().resize(a,b,n.stretching)&&(clearTimeout(Ba),Ba=setTimeout(W,250))}function Z(a){void 0!==a.jwstate?a=a.jwstate:ya?(a=document.fullscreenElement||document.webkitCurrentFullScreenElement||document.mozFullScreenElement||document.msFullscreenElement,a=!!(a&&a.id===r.id)):a=ua?U.getVideo().getFullScreen():
n.getVideo().getFullScreen();ya?Y(Q,a):da(a)}function Y(a,b){c.removeClass(a,"jwfullscreen");b?(c.addClass(a,"jwfullscreen"),h.style(document.body,{"overflow-y":s}),x()):h.style(document.body,{"overflow-y":""});O&&O.redraw();V&&V.redraw();ca&&ca.redraw();W();da(b)}function da(a){n.setFullscreen(a);U&&U.setFullscreen(a);a?(clearTimeout(Ba),Ba=setTimeout(W,200)):m&&r.jwGetState()===e.PAUSED&&setTimeout(La,500)}function ea(){O&&n.controls&&(ua?Ha.show():O.show())}function va(){!0!==ia&&(O&&!R&&!n.getVideo().isAudioFile())&&
(ua&&Ha.hide(),O.hide())}function ra(){ca&&(!R&&n.controls)&&ca.show()}function I(){ca&&(!Pa&&!n.getVideo().isAudioFile())&&ca.hide()}function Va(){$&&(!n.getVideo().isAudioFile()||R)&&$.hide(R)}function La(){V&&n.controls&&!R&&(!g||r.jwGetState()===e.IDLE)&&V.show();(!b||!n.fullscreen)&&n.getVideo().setControls(!1)}function Aa(){clearTimeout(xa);if(!0!==ia){sa=!1;var a=r.jwGetState();(!n.controls||a!==e.PAUSED)&&va();n.controls||I();a!==e.IDLE&&a!==e.PAUSED&&(I(),Va());c.addClass(Q,"jw-user-inactive")}}
function Ma(){if(!1!==ia){sa=!0;if(n.controls||R)ea(),ra();Sa.hide&&$&&!R&&$.show();c.removeClass(Q,"jw-user-inactive")}}function Na(a){a=a&&!R;n.getVideo().setVisibility(a)}function ob(){Pa=!0;ka(!1);n.controls&&ra()}function pb(){ba&&ba.setState(r.jwGetState())}function Da(a){Pa=!1;clearTimeout(Ta);Ta=setTimeout(function(){Xa(a.newstate)},100)}function kb(){va()}function Xa(a){if(n.getVideo().isCaster)V&&(V.show(),V.hidePreview(!1)),h.style(ga,{visibility:"visible",opacity:1}),O&&(O.show(),O.hideFullscreen(!0));
else{switch(a){case e.PLAYING:ia=!0!==n.getVideo().isCaster?null:!0;(ua?U:n).getVideo().isAudioFile()?(Na(!1),V.hidePreview(R),V.setHiding(!0),O&&(Ma(),O.hideFullscreen(!0)),ra()):(Na(!0),W(),V.hidePreview(!0),O&&O.hideFullscreen(!n.getVideo().supportsFullscreen()));break;case e.IDLE:Na(!1);R||(V.hidePreview(!1),La(),ra(),O&&O.hideFullscreen(!1));break;case e.BUFFERING:La();Aa();b&&Na(!0);break;case e.PAUSED:La(),Ma()}$&&!R&&$.show()}}function ab(a){return"#"+r.id+(a?" ."+a:"")}function Za(a,b){h(a,
{display:b?C:v})}var Q,Ga,la,hb,Ra,xa=-1,wa=b?4E3:2E3,ga,Ka,$a,za,Ha,Fa,U,ua=!1,O,V,ba,ca,$,Sa=c.extend({},n.componentConfig("logo")),B,Ia,R,aa=!1,sa=!1,ia=null,Pa,fa,Ba=-1,Oa=!1,Qa,qa,ya=!1,Ya=!1,ja=c.extend(this,new f.eventdispatcher);this.getCurrentCaptions=function(){return B.getCurrentCaptions()};this.setCurrentCaptions=function(a){B.setCurrentCaptions(a)};this.getCaptionsList=function(){return B.getCaptionsList()};this.setup=function(j){if(!aa){r.skin=j;Ga=t("span","jwmain");Ga.id=r.id+"_view";
ga=t("span","jwvideo");ga.id=r.id+"_media";la=t("span","jwcontrols");za=t("span","jwinstream");Ra=t("span","jwplaylistcontainer");hb=t("span","jwaspect");j=n.componentConfig("controlbar");var s=n.componentConfig("display");B=new a.captions(r,n.captions);B.addEventListener(f.JWPLAYER_CAPTIONS_LIST,K);B.addEventListener(f.JWPLAYER_CAPTIONS_CHANGED,K);B.addEventListener(f.JWPLAYER_CAPTIONS_LOADED,L);la.appendChild(B.element());V=new a.display(r,s);V.addEventListener(f.JWPLAYER_DISPLAY_CLICK,function(a){K(a);
b?sa?Aa():Ma():Da({newstate:r.jwGetState()});sa&&x()});la.appendChild(V.element());$=new a.logo(r,Sa);la.appendChild($.element());ca=new a.dock(r,n.componentConfig("dock"));la.appendChild(ca.element());r.edition&&!b?fa=new a.rightclick(r,{abouttext:n.abouttext,aboutlink:n.aboutlink}):b||(fa=new a.rightclick(r,{}));n.playlistsize&&(n.playlistposition&&n.playlistposition!==v)&&(Ia=new a.playlistcomponent(r,{}),Ra.appendChild(Ia.element()));O=new a.controlbar(r,j);O.addEventListener(f.JWPLAYER_USER_ACTION,
x);la.appendChild(O.element());g&&va();c.canCast()&&ja.forceControls(!0);Q.onmousedown=p;Q.onfocusin=z;Q.addEventListener("focus",z);Q.onfocusout=w;Q.addEventListener("blur",w);Q.addEventListener("keydown",u);Ga.appendChild(ga);Ga.appendChild(la);Ga.appendChild(za);Q.appendChild(Ga);Q.appendChild(hb);Q.appendChild(Ra);n.getVideo().setContainer(ga);n.addEventListener("fullscreenchange",Z);for(j=q.length;j--;)document.addEventListener(q[j],Z,!1);d.removeEventListener("resize",A);d.addEventListener("resize",
A,!1);b&&(d.removeEventListener("orientationchange",A),d.addEventListener("orientationchange",A,!1));l(r.id).onAdPlay(function(){O.adMode(!0);Xa(e.PLAYING);x()});l(r.id).onAdSkipped(function(){O.adMode(!1)});l(r.id).onAdComplete(function(){O.adMode(!1)});l(r.id).onAdError(function(){O.adMode(!1)});r.jwAddEventListener(f.JWPLAYER_PLAYER_STATE,Da);r.jwAddEventListener(f.JWPLAYER_MEDIA_ERROR,kb);r.jwAddEventListener(f.JWPLAYER_PLAYLIST_COMPLETE,ob);r.jwAddEventListener(f.JWPLAYER_PLAYLIST_ITEM,pb);r.jwAddEventListener(f.JWPLAYER_CAST_AVAILABLE,
function(){c.canCast()?ja.forceControls(!0):ja.releaseControls()});r.jwAddEventListener(f.JWPLAYER_CAST_SESSION,function(a){ba||(ba=new l.html5.castDisplay(r.id),ba.statusDelegate=function(a){ba.setState(a.newstate)});a.active?(h.style(B.element(),{display:"none"}),ja.forceControls(!0),ba.setState("connecting").setName(a.deviceName).show(),r.jwAddEventListener(f.JWPLAYER_PLAYER_STATE,ba.statusDelegate),r.jwAddEventListener(f.JWPLAYER_CAST_AD_CHANGED,N)):(r.jwRemoveEventListener(f.JWPLAYER_PLAYER_STATE,
ba.statusDelegate),r.jwRemoveEventListener(f.JWPLAYER_CAST_AD_CHANGED,N),ba.hide(),O.adMode()&&P(),h.style(B.element(),{display:null}),Da({newstate:r.jwGetState()}),A())});Da({newstate:e.IDLE});b||(la.addEventListener("mouseout",G,!1),la.addEventListener("mousemove",M,!1),c.isMSIE()&&(ga.addEventListener("mousemove",M,!1),ga.addEventListener("click",V.clickHandler)));F(O);F(ca);F($);h("#"+Q.id+"."+k+" .jwaspect",{"margin-top":n.aspectratio,display:C});j=c.exists(n.aspectratio)?parseFloat(n.aspectratio):
100;s=n.playlistsize;h("#"+Q.id+".playlist-right .jwaspect",{"margin-bottom":-1*s*(j/100)+"px"});h("#"+Q.id+".playlist-right .jwplaylistcontainer",{width:s+"px",right:0,top:0,height:"100%"});h("#"+Q.id+".playlist-bottom .jwaspect",{"padding-bottom":s+"px"});h("#"+Q.id+".playlist-bottom .jwplaylistcontainer",{width:"100%",height:s+"px",bottom:0});h("#"+Q.id+".playlist-right .jwmain",{right:s+"px"});h("#"+Q.id+".playlist-bottom .jwmain",{bottom:s+"px"});setTimeout(function(){S(n.width,n.height)},0)}};
var ka=this.fullscreen=function(a){c.exists(a)||(a=!n.fullscreen);a=!!a;a!==n.fullscreen&&(ya?(a?Qa.apply(Q):qa.apply(document),Y(Q,a)):c.isIE()?Y(Q,a):(U&&U.getVideo().setFullScreen(a),n.getVideo().setFullScreen(a)))};this.resize=function(a,b){S(a,b,!0);A()};this.resizeMedia=W;var bb=this.completeSetup=function(){h.style(Q,{opacity:1});d.addEventListener("beforeunload",function(){n.getVideo().isCaster||r.jwStop()})},Ta;this.setupInstream=function(a,b,c,d){h.unblock();Za(ab("jwinstream"),!0);Za(ab("jwcontrols"),
!1);za.appendChild(a);Ha=b;Fa=c;U=d;Da({newstate:e.PLAYING});ua=!0;za.addEventListener("mousemove",M);za.addEventListener("mouseout",G)};this.destroyInstream=function(){h.unblock();Za(ab("jwinstream"),!1);Za(ab("jwcontrols"),!0);za.innerHTML="";za.removeEventListener("mousemove",M);za.removeEventListener("mouseout",G);ua=!1};this.setupError=function(a){aa=!0;l.embed.errorScreen(Q,a,n);bb()};this.addButton=function(a,b,c,d){ca&&(ca.addButton(a,b,c,d),r.jwGetState()===e.IDLE&&ra())};this.removeButton=
function(a){ca&&ca.removeButton(a)};this.setControls=function(a){var b=!!a;b!==n.controls&&(n.controls=b,ua?a?(Ha.show(),Fa.show()):(Ha.hide(),Fa.hide()):b&&Da({newstate:r.jwGetState()}),b||(Aa(),V&&V.hide()),ja.sendEvent(f.JWPLAYER_CONTROLS,{controls:b}))};this.forceControls=function(a){ia=!!a;a?Ma():Aa()};this.releaseControls=function(){ia=null;Xa(r.jwGetState())};this.addCues=function(a){O&&O.addCues(a)};this.forceState=function(a){V.forceState(a)};this.releaseState=function(){V.releaseState(r.jwGetState())};
this.getSafeRegion=function(a){var b={x:0,y:0,width:0,height:0};a=a||!c.exists(a);O.showTemp();ca.showTemp();var d=j(Ga),e=d.top,f=ua?j(document.getElementById(r.id+"_instream_controlbar")):j(O.element()),g=ua?!1:0f&&(h=b))}(a=h)?(null===H&&(H=c("div","companion"),e(u,H)),a.width/a.height>v?(b=316,d=a.height*b/a.width):(d=176,
b=a.width*d/a.height),k.style(H,{"background-image":a.source,"background-size":b+"px "+d+"px"})):y()};this.adChanged=function(a){if(a.complete)J&&J.reset(-1),M=null;else{J&&(void 0===a.skipoffset?m():(a.position||a.duration)&&J.updateSkipTime(a.position|0,a.duration|0));var b=a.tag+a.sequence;b!==M&&(k(t+" .jwpreview",{opacity:0}),a.companions?this.setCompanions(a.companions):y(),a.clickthrough?null===K&&(K=c("div","click-label"),K.innerText="Click here to learn more \x3e",e(u,K)):n(),M=b,this.setState(a.newstate))}};
this.adsEnded=function(){m();y();n();k(t+" .jwpreview",{opacity:0.6});M=null};this.destroy=function(){this.hide();u.parentNode&&u.parentNode.removeChild(u)}}})(jwplayer,document);
(function(d){var l=jwplayer.utils.extend,a=d.logo;a.defaults.prefix="";a.defaults.file="data:image/png;base64,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";d.logo=
function(c,d){"free"==c.edition()?d=null:(a.defaults.file="",a.defaults.prefix="");l(this,new a(c,d))}})(jwplayer.html5);(function(d){var l=d.html5,a=l.model;l.model=function(c,f){var e=new d.utils.key(c.key),h=new a(c,f),j=h.componentConfig;h.edition=function(){return e.edition()};h.componentConfig=function(a){return"logo"==a?h.logo:j(a)};return h}})(jwplayer);
(function(d){var l=d.html5,a=l.player;l.player=function(c){c=new a(c);var f;f=c._model.edition();if("enterprise"===f||"ads"===f)f=new d.cast.controller(c,c._model),c.jwStartCasting=f.startCasting,c.jwStopCasting=f.stopCasting,c.jwOpenExtension=f.openExtension;return c};a.prototype.edition=function(){return this._model.edition()}})(jwplayer);
(function(d){function l(f){if(!a.isFunction(f.supports))throw{message:"Tried to register a provider with an invalid object"};var e=function(){};e.prototype=d.html5.DefaultProvider;f.prototype=new e;c.unshift(f)}var a=d._,c=[d.html5.YoutubeProvider,d.html5.VideoProvider];a.each(d.unregisteredProviders,l);delete d.unregisteredProviders;d.html5.chooseProvider=function(d){d=a.isObject(d)?d:{};return a.find(c,function(a){return a.supports(d)})};d.html5.registerProvider=l})(jwplayer);
(function(d){var l=jwplayer.utils.extend,a=d.rightclick;d.rightclick=function(c,f){if("free"==c.edition())f.aboutlink="http://www.longtailvideo.com/jwpabout/?a\x3dr\x26v\x3d"+d.version+"\x26m\x3dh\x26e\x3df",delete f.abouttext;else{if(!f.aboutlink){var e="http://www.longtailvideo.com/jwpabout/?a\x3dr\x26v\x3d"+d.version+"\x26m\x3dh\x26e\x3d",h=c.edition();f.aboutlink=e+("pro"==h?"p":"premium"==h?"r":"enterprise"==h?"e":"ads"==h?"a":"f")}f.abouttext?f.abouttext+=" ...":(e=c.edition(),e=e.charAt(0).toUpperCase()+
e.substr(1),f.abouttext="About JW Player "+d.version+" ("+e+" edition)")}l(this,new a(c,f))}})(jwplayer.html5);
(function(d){var l=d.cast,a=d.utils;l.adprovider=function(c,f){function e(){m={message:g,position:0,duration:-1}}function h(b,d){var e={command:b};void 0!==d&&(e.args=d);f.sendMessage(c,e,a.noop,function(a){l.error("message send error",a)})}var j=new l.provider(c,f),b=a.extend(this,j),m,g="Loading ad",k=0;b.init=function(){j.init();e()};b.destroy=function(){j.destroy()};b.updateModel=function(a,b){(a.tag||a.newstate||a.sequence||a.companions)&&l.log("received ad change:",a);a.tag&&(m.tag&&a.tag!==
m.tag)&&(l.error("ad messages not received in order. new model:",a,"old model:",m),e());d.utils.extend(m,a);j.updateModel(a,b)};b.getAdModel=function(){var b=a.extend({},m);if(0