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