(function(d){d.html5={};d.html5.version="6.12.4945";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.95R)&&t.seek(R);r()}},emptied:s,ended:function(){U&&t.state!==e.IDLE&&(h(Z),ha=-1,na=!0,t.sendEvent(f.JWPLAYER_MEDIA_BEFORECOMPLETE),U&&(t.setState(e.IDLE),na=!1,t.sendEvent(f.JWPLAYER_MEDIA_COMPLETE)))},error:function(){U&&(a.log("Error playing media: %o %s",J.error,J.src||H.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(){!V&&t.state!==e.PAUSED&&t.setState(e.PLAYING)},seeking:b?C:s,stalled:s,suspend:s,timeupdate:r,volumechange:function(){t.sendEvent(f.JWPLAYER_MEDIA_VOLUME,{volume:Math.round(100*J.volume)});t.sendEvent(f.JWPLAYER_MEDIA_MUTE,{mute:J.muted})},waiting:C,webkitbeginfullscreen:function(b){Da= !0;L(b);a.isIOS()&&(J.controls=!1)},webkitendfullscreen:function(b){Da=!1;L(b);a.isIOS()&&(J.controls=!1)}},M,H,I,K,N=!1,O,R=0,V=!1,A,Z=-1,T=-1,U=!1,ca,ha=-1,na=!1,Da=!1;this.sendEvent=function(){U&&F.sendEvent.apply(this,arguments)};var J=document.getElementById(l).querySelector("video"),Fa=J=J||document.createElement("video");a.foreach(v,function(a,b){Fa.addEventListener(a,b,!1)});q||(J.controls=!0,J.controls=!1);J.setAttribute("x-webkit-airplay","allow");J.setAttribute("webkit-playsinline",""); U=!0;this.stop=function(){U&&(h(Z),J.removeAttribute("src"),b||J.load(),ha=-1,this.setState(e.IDLE))};this.destroy=function(){var b=J;a.foreach(v,function(a,c){b.removeEventListener(a,c,!1)});this.remove()};this.load=function(b){if(U){ca=b.sources;0>ha&&(ha=0);if(ca)for(var c=a.getCookies().qualityLabel,e=0;eb)){ha=b;a.saveCookie("qualityLabel",ca[b].label);this.sendEvent(f.JWPLAYER_MEDIA_LEVEL_CHANGED,{currentQuality:b,levels:x(ca)});b=Math.floor(10*J.currentTime)/10;var c=Math.floor(10*J.duration)/10;0>=c&&(c=I);z(b,c)}};this.getCurrentQuality= function(){return ha};this.getQualityLevels=function(){return x(ca)}}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(F)}function u(){if(v&&v.getPlayerState){var a=v.getPlayerState();null!==a&&(void 0!==a&&a!==V)&&w({data:a});var b=t.PlayerState;a===b.PLAYING?(r(),F.sendEvent(f.JWPLAYER_MEDIA_TIME,{position:B(v.getCurrentTime()),duration:v.getDuration()})):a===b.BUFFERING&&r()}}function B(a){return Math.round(10* a)/10}function r(){var a=0;v&&v.getVideoLoadedFraction&&(a=Math.round(100*v.getVideoLoadedFraction()));I!==a&&(I=a,F.sendEvent(f.JWPLAYER_MEDIA_BUFFER,{bufferPercent:a}))}function n(){F.sendEvent(f.JWPLAYER_MEDIA_META,{duration:v.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(){O&&(O.apply(F),O=null)}function w(a){var b=t.PlayerState;V=a.data; switch(V){case b.ENDED:F.state!==e.IDLE&&(Z=!0,F.sendEvent(f.JWPLAYER_MEDIA_BEFORECOMPLETE),F.setState(e.IDLE),Z=!1,F.sendEvent(f.JWPLAYER_MEDIA_COMPLETE));break;case b.PLAYING:c.isFunction(v.unloadModule)&&v.unloadModule("captions");T=!1;n();F.sendEvent(f.JWPLAYER_MEDIA_LEVELS,{levels:F.getQualityLevels(),currentQuality:F.getCurrentQuality()});F.setState(e.PLAYING);break;case b.PAUSED:F.setState(e.PAUSED);break;case b.BUFFERING:F.setState(e.BUFFERING);break;case b.CUED:F.setState(e.IDLE)}}function p(){V!== t.PlayerState.ENDED&&F.play();F.sendEvent(f.JWPLAYER_MEDIA_LEVEL_CHANGED,{currentQuality:F.getCurrentQuality(),levels:F.getQualityLevels()})}function C(){F.sendEvent(f.JWPLAYER_MEDIA_ERROR,{message:"Error loading YouTube: Video could not be played"})}function x(){b&&(F.setVisibility(!0),a.css("#"+g+" .jwcontrols",{display:"none"}))}function z(){clearInterval(R);if(v&&v.stopVideo)try{v.stopVideo(),v.clearVideo()}catch(a){}}function G(b){O=null;var c=a.youTubeID(b.sources[0].file);b.image||(b.image= "//i.ytimg.com/vi/"+c+"/0.jpg");F.setVisibility(!0);if(!t||!v)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:w,onPlaybackQualityChange:p,onError:C}};F.setVisibility(!0);v=new t.Player(M,b);M=v.getIframe();N=null;x();L()}},s();else if(v.getPlayerState)if(v.getVideoData().video_id!== c){T?(z(),v.cueVideoById(c)):v.loadVideoById(c);var e=v.getPlayerState(),f=t.PlayerState;(e===f.UNSTARTED||e===f.CUED)&&x()}else 0E||(a=b.replace(/xx/gi,Math.ceil(E-a)),s(a))}function k(a,b){if("number"===l.typeOf(C))E=C;else if("%"===C.slice(-1)){var c=parseFloat(C.slice(0,-1));b&&!isNaN(c)&&(E=b*c/100)}else"string"===l.typeOf(C)?E=l.seconds(C):isNaN(C)||(E=C)}function q(){w&&L.sendEvent(c.JWPLAYER_AD_SKIPPED)}function s(a){a=a||d;var b=y.getContext("2d");b.clearRect(0,0,f,e);B(b,0,0,f,e,5,!0,!1,!1);B(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-=x.width,b.drawImage(x,y.width-(y.width-b.measureText(d).width)/2-4,(e-x.height)/2));b.fillText(a,g,c+4)}function u(a){a=a||d;var b=y.getContext("2d");b.clearRect(0,0,f,e);B(b,0,0,f,e,5,!0,!1,!0);B(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-=x.width,b.drawImage(z, y.width-(y.width-b.measureText(d).width)/2-4,(e-x.height)/2));b.fillText(a,g,c+4)}function B(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,w=!1,p,C=0,x,z,G=!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[F].data?G.populate(t[F].data):v===t.length?(l("file not loaded: "+t[F].file),0!==H&&w(c.JWPLAYER_CAPTIONS_CHANGED,t,0),H=0):M=a,n(!1))):(H=0,n(!1))}function w(a,b,c){K.sendEvent(a,{type:a,tracks:b,track:c})}function p(){for(var a=[{label:"Off"}],b=0;b=u)){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,u,B="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){u=a;d&&j()};var n=c.fontOpacity,y=c.windowOpacity,E=c.edgeStyle,w=c.backgroundColor,p={display:"inline-block"},C={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,C,n);c.back?C.backgroundColor=l.hexToRgba(l.rgbHex(w),c.backgroundOpacity):null===E&&b("uniform",C);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,C);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),u=d.top!==d.self,B="button",r="text",n="slider",y={display:"none"},E={display:"block"},w={display:""};e.controlbar=function(p,k){function x(a,b,c){return{name:a,type:b,className:c}}function z(a){g.block(aa);var b=a.duration===Number.POSITIVE_INFINITY,c=0===a.duration&&0!==a.position&& h.isSafari()&&!q;b||c?(W.setText(p.jwGetPlaylist()[p.jwGetPlaylistIndex()].title||"Live broadcast"),A(!1)):(D.elapsed&&(b=h.timeFormat(a.position),D.elapsed.innerHTML=b),D.duration&&(b=h.timeFormat(a.duration),D.duration.innerHTML=b),0a&&(a=0);0.9b+2*Math.floor(ta.margin)?g.style(X,{width:b}):g.style(X,{width:""}));ma&&g.style(ma.element(),{display:!ua&&!la?"block":"none"});g.style(D.hd,{display:!ua&&!a&& !la&&1e-Z?(d.jwSetFullscreen(),Z=void 0):Z=(new Date).getTime();var g=a.bounds(w.parentNode.querySelector(".jwcontrolbar")), j=a.bounds(w),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}V.sendEvent(c.JWPLAYER_DISPLAY_CLICK);if(H)return}switch(d.jwGetState()){case f.PLAYING:case f.BUFFERING:d.jwPause();break;default:d.jwPlay()}}}function q(a,b){R.showicons&&(a||b?(K.setRotation("buffer"===a?parseInt(R.bufferrotation,10):0,parseInt(R.bufferinterval,10)),K.setIcon(a), K.setText(b)):K.hide())}function s(a){z!==a?(z&&E(j,!1),(z=a)?(a=new Image,a.addEventListener("load",r,!1),a.src=z):(e("#"+w.id+" "+j,{"background-image":""}),E(j,!1),G=L=0)):z&&!H&&E(j,!0);B(d.jwGetState())}function u(a){clearTimeout(T);T=setTimeout(function(){B(a.newstate)},100)}function B(a){a=N?N:d?d.jwGetState():f.IDLE;if(a!==O)switch(O=a,K&&K.setRotation(0),a){case f.IDLE:!v&&!M&&(z&&!F&&E(j,!0),a=!0,d._model&&!1===d._model.config.displaytitle&&(a=!1),q("play",x&&a?x.title:""));break;case f.BUFFERING:v= !1;t.error&&t.error.setText();M=!1;q("buffer");break;case f.PLAYING:q();break;case f.PAUSED:q("play")}}function r(){G=this.width;L=this.height;B(d.jwGetState());y();z&&e("#"+w.id+" "+j,{"background-image":"url("+z+")"})}function n(a){v=!0;q("error",a.message)}function y(){0g.left&&b.offsetX(h.left-g.left+8);B.show();a.foreach(w,function(a,b){a!==k&&b.hide()})},!1);m.addEventListener("mouseout",function(){L=setTimeout(B.hide,100)},!1);p.appendChild(B.element());w[k]=B}}y++;u()}};z.removeButton=function(a){if(E[a]){C.removeChild(E[a].element);C.removeChild(E[a].divider);var b=document.getElementById(""+r+"_"+a+"_tooltip");b&&p.removeChild(b);delete E[a];y--;u()}};z.numButtons=function(){return y};z.visible=!1;p= q("div","jwdock");C=q("div","jwdockbuttons");p.appendChild(C);p.id=r;var G=s("button"),L=s("buttonOver"),F=s("buttonActive");G&&(c(k(),{height:G.height,padding:B.margin}),c(h,{height:G.height}),c(k("div.button"),a.extend(m(G),{width:G.width,cursor:"pointer",border:"none"})),c(k("div.button:hover"),m(L)),c(k("div.button:active"),m(F)),c(k("div.button\x3ediv"),{opacity:B.iconalpha}),c(k("div.button:hover\x3ediv"),{opacity:B.iconalphaover}),c(k("div.button:active\x3ediv"),{opacity:B.iconalphaactive}), c(k(".jwoverlay"),{top:B.margin+G.height}),g("capLeft",C),g("capRight",C),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);I&&j.jwInstreamDestroy(!1,A)}function q(a){if(a.newstate!==I.state)switch(I.state=a.newstate,I.state){case e.PLAYING:A.jwInstreamPlay();break;case e.PAUSED:A.jwInstreamPause()}}function s(a){E(a.type,a);n()}function u(a){E(a.type,a)}function B(a){b.sendEvent(a.type,a);E(f.JWPLAYER_FULLSCREEN,{fullscreen:a.jwstate})}function r(){O&&O.releaseState(A.jwGetState());K.play()} function n(){if(x&&z+1a&&A.jwInstreamSeek(a)}};A.jwSeekDrag=function(a){I.seekDrag(a)};A.jwGetPosition=function(){};A.jwGetDuration=function(){};A.jwGetWidth=j.jwGetWidth;A.jwGetHeight=j.jwGetHeight;A.jwGetFullscreen=j.jwGetFullscreen;A.jwSetFullscreen=j.jwSetFullscreen;A.jwGetVolume=function(){return b.volume};A.jwSetVolume=function(a){I.setVolume(a);j.jwSetVolume(a)};A.jwGetMute=function(){return b.mute};A.jwSetMute=function(a){I.setMute(a);j.jwSetMute(a)};A.jwGetState=function(){return!I? e.IDLE:I.state};A.jwGetPlaylist=function(){return[C]};A.jwGetPlaylistIndex=function(){return 0};A.jwGetStretching=function(){return b.config.stretching};A.jwAddEventListener=function(a,b){A.addEventListener(a,b)};A.jwRemoveEventListener=function(a,b){A.removeEventListener(a,b)};A.jwSetCurrentQuality=function(){};A.jwGetQualityLevels=function(){return[]};A.jwGetControls=function(){return j.jwGetControls()};A.skin=j.skin;A.id=j.id+"_instream";return A}})(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 u="o";b.edition&&(u=b.edition(),u="pro"===u?"p":"premium"===u?"r":"ads"===u?"a":"free"===u?"f":"o");if("o"===u||"f"===u)q.link="http://www.longtailvideo.com/jwpabout/?a\x3dl\x26v\x3d"+d.version+"\x26m\x3dh\x26e\x3d"+u;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),u={},B=g.margin;3===q.length?(u[q[1]]=B,u[q[2]]=B):u.top=u.right=B;a("#"+m+" ",u);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 u,B=[];this.element=function(){return s.element()};this.addOption=function(b,c){var d=g("jwoption",u);d.id=e+"_option_"+c;d.innerHTML=b;a.isMobile()?(new a.touch(d)).addEventListener(a.touchEvents.TAP,m(B.length,c)):d.addEventListener("click",m(B.length,c));B.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(){xa=!0;va.sendEvent(f.JWPLAYER_VIEW_TAB_FOCUS, {hasFocus:!1})}function C(){var a=!xa;xa=!1;a&&va.sendEvent(f.JWPLAYER_VIEW_TAB_FOCUS,{hasFocus:!0});P.adMode()||(ca(),v())}function x(){xa=!1;va.sendEvent(f.JWPLAYER_VIEW_TAB_FOCUS,{hasFocus:!1})}function z(){var a=j(Q),c=Math.round(a.width),e=Math.round(a.height);if(document.body.contains(Q)){if(c&&e&&(c!==$a||e!==Ja))$a=c,Ja=e,Y&&Y.redraw(),clearTimeout(da),da=setTimeout(A,50),va.sendEvent(f.JWPLAYER_RESIZE,{width:c,height:e})}else d.removeEventListener("resize",z),b&&d.removeEventListener("orientationchange", z);return a}function G(a){a&&(a.element().addEventListener("mousemove",H,!1),a.element().addEventListener("mouseout",I,!1))}function L(){}function F(){clearTimeout(ya);ya=setTimeout(za,Xa)}function t(a,b){var c=document.createElement(a);b&&(c.className=b);return c}function v(){clearTimeout(ya);ya=setTimeout(za,Xa)}function M(){clearTimeout(ya);var a=r.jwGetState();if(a===e.PLAYING||a===e.PAUSED||S)Ca(),Na||(ya=setTimeout(za,Xa))}function H(){clearTimeout(ya);Na=!0}function I(){Na=!1}function K(a){va.sendEvent(a.type, a)}function N(a){if(a.done)O();else{if(!a.complete){P.adMode()||(P.instreamMode(!0),P.adMode(!0),P.show(!0));P.setText(a.message);var b=a.onClick;void 0!==b&&Y.setAlternateClickHandler(function(){b(a)});void 0!==a.onSkipAd&&$&&$.setSkipoffset(a,a.onSkipAd)}$&&$.adChanged(a)}}function O(){P.setText("");P.adMode(!1);P.instreamMode(!1);P.show(!0);$&&($.adsEnded(),$.setState(r.jwGetState()));Y.revertAlternateClickHandler()}function R(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:B},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);Y&&Y.redraw();P&&P.redraw(!0);ea&&(ea.offset(P&&0<=ea.position().indexOf("bottom")?P.height()+P.margin():0),setTimeout(function(){ga&&ga.offset("top-left"===ea.position()?ea.element().clientWidth+ea.margin():0)},500));V(b);f=n.playlistsize;g=n.playlistposition;if(D&&f&&("right"===g||"bottom"===g))D.redraw(),e={display:B},d={},e[g]= 0,d[g]=f,"right"===g?e.width=f:e.height=f,h.style(Ya,e),h.style(Ea,d);A(a,b);h.unblock(j)}function V(a){var b=j(Q);fa=0=b.height;P&&(fa?(P.audioMode(!0),Ca(),Y.hidePreview(!0),Y&&Y.hide(),Sa(!1)):(P.audioMode(!1),Va(r.jwGetState())));ea&&fa&&J();Q.style.backgroundColor=fa?"transparent":"#000"}function A(a,b){if(!a||isNaN(Number(a))){if(!ba)return;a=ba.clientWidth}if(!b||isNaN(Number(b))){if(!ba)return; b=ba.clientHeight}c.isMSIE(9)&&(document.all&&!d.atob)&&(a=b="100%");n.getVideo().resize(a,b,n.stretching)&&(clearTimeout(da),da=setTimeout(A,250))}function Z(a){void 0!==a.jwstate?a=a.jwstate:ma?(a=document.fullscreenElement||document.webkitCurrentFullScreenElement||document.mozFullScreenElement||document.msFullscreenElement,a=!!(a&&a.id===r.id)):a=S?oa.getVideo().getFullScreen():n.getVideo().getFullScreen();ma?T(Q,a):U(a)}function T(a,b){c.removeClass(a,"jwfullscreen");b?(c.addClass(a,"jwfullscreen"), h.style(document.body,{"overflow-y":s}),v()):h.style(document.body,{"overflow-y":""});P&&P.redraw();Y&&Y.redraw();ga&&ga.redraw();A();U(b)}function U(a){n.setFullscreen(a);oa&&oa.setFullscreen(a);a?(clearTimeout(da),da=setTimeout(A,200)):m&&r.jwGetState()===e.PAUSED&&setTimeout(Fa,500)}function ca(){P&&n.controls&&(S?La.show():P.show())}function ha(){!0!==ka&&(P&&!fa&&!n.getVideo().isAudioFile())&&(S&&La.hide(),P.hide())}function na(){ga&&(!fa&&n.controls)&&ga.show()}function Da(){ga&&(!pa&&!n.getVideo().isAudioFile())&& ga.hide()}function J(){ea&&(!n.getVideo().isAudioFile()||fa)&&ea.hide(fa)}function Fa(){Y&&n.controls&&!fa&&(!g||r.jwGetState()===e.IDLE)&&Y.show();(!b||!n.fullscreen)&&n.getVideo().setControls(!1)}function za(){clearTimeout(ya);if(!0!==ka){aa=!1;var a=r.jwGetState();(!n.controls||a!==e.PAUSED)&&ha();n.controls||Da();a!==e.IDLE&&a!==e.PAUSED&&(Da(),J());c.addClass(Q,"jw-user-inactive")}}function Ca(){if(!1!==ka){aa=!0;if(n.controls||fa)ca(),na();ta.hide&&ea&&!fa&&ea.show();c.removeClass(Q,"jw-user-inactive")}} function Sa(a){a=a&&!fa;n.getVideo().setVisibility(a)}function jb(){pa=!0;Qa(!1);n.controls&&na()}function pb(){$&&$.setState(r.jwGetState())}function Pa(a){pa=!1;clearTimeout(Za);Za=setTimeout(function(){Va(a.newstate)},100)}function ab(){ha()}function Va(a){if(n.getVideo().isCaster)Y&&(Y.show(),Y.hidePreview(!1)),h.style(ba,{visibility:"visible",opacity:1}),P&&(P.show(),P.hideFullscreen(!0));else{switch(a){case e.PLAYING:ka=!0!==n.getVideo().isCaster?null:!0;(S?oa:n).getVideo().isAudioFile()?(Sa(!1), Y.hidePreview(fa),Y.setHiding(!0),P&&(Ca(),P.hideFullscreen(!0)),na()):(Sa(!0),A(),Y.hidePreview(!0),P&&P.hideFullscreen(!n.getVideo().supportsFullscreen()));break;case e.IDLE:Sa(!1);fa||(Y.hidePreview(!1),Fa(),na(),P&&P.hideFullscreen(!1));break;case e.BUFFERING:Fa();za();b&&Sa(!0);break;case e.PAUSED:Fa(),Ca()}ea&&!fa&&ea.show()}}function Wa(a){return"#"+r.id+(a?" ."+a:"")}function bb(a,b){h(a,{display:b?B:u})}var Q,Ea,sa,cb,Ya,ya=-1,Xa=b?4E3:2E3,ba,$a,Ja,wa,La,Ta,oa,S=!1,P,Y,$,ga,ea,ta=c.extend({}, n.componentConfig("logo")),ja,D,fa,X=!1,aa=!1,ka=null,pa,Ga,da=-1,Na=!1,Ma,Oa,ma=!1,xa=!1,va=c.extend(this,new f.eventdispatcher);this.getCurrentCaptions=function(){return ja.getCurrentCaptions()};this.setCurrentCaptions=function(a){ja.setCurrentCaptions(a)};this.getCaptionsList=function(){return ja.getCaptionsList()};this.setup=function(j){if(!X){r.skin=j;Ea=t("span","jwmain");Ea.id=r.id+"_view";ba=t("span","jwvideo");ba.id=r.id+"_media";sa=t("span","jwcontrols");wa=t("span","jwinstream");Ya=t("span", "jwplaylistcontainer");cb=t("span","jwaspect");j=n.height;var s=n.componentConfig("controlbar"),m=n.componentConfig("display");V(j);ja=new a.captions(r,n.captions);ja.addEventListener(f.JWPLAYER_CAPTIONS_LIST,K);ja.addEventListener(f.JWPLAYER_CAPTIONS_CHANGED,K);ja.addEventListener(f.JWPLAYER_CAPTIONS_LOADED,L);sa.appendChild(ja.element());Y=new a.display(r,m);Y.addEventListener(f.JWPLAYER_DISPLAY_CLICK,function(a){K(a);b?aa?za():Ca():Pa({newstate:r.jwGetState()});aa&&v()});fa&&Y.hidePreview(!0); sa.appendChild(Y.element());ea=new a.logo(r,ta);sa.appendChild(ea.element());ga=new a.dock(r,n.componentConfig("dock"));sa.appendChild(ga.element());r.edition&&!b?Ga=new a.rightclick(r,{abouttext:n.abouttext,aboutlink:n.aboutlink}):b||(Ga=new a.rightclick(r,{}));n.playlistsize&&(n.playlistposition&&n.playlistposition!==u)&&(D=new a.playlistcomponent(r,{}),Ya.appendChild(D.element()));P=new a.controlbar(r,s);P.addEventListener(f.JWPLAYER_USER_ACTION,v);sa.appendChild(P.element());g&&ha();c.canCast()&& va.forceControls(!0);Q.onmousedown=p;Q.onfocusin=C;Q.addEventListener("focus",C);Q.onfocusout=x;Q.addEventListener("blur",x);Q.addEventListener("keydown",w);Ea.appendChild(ba);Ea.appendChild(sa);Ea.appendChild(wa);Q.appendChild(Ea);Q.appendChild(cb);Q.appendChild(Ya);n.getVideo().setContainer(ba);n.addEventListener("fullscreenchange",Z);for(j=q.length;j--;)document.addEventListener(q[j],Z,!1);d.removeEventListener("resize",z);d.addEventListener("resize",z,!1);b&&(d.removeEventListener("orientationchange", z),d.addEventListener("orientationchange",z,!1));l(r.id).onAdPlay(function(){P.adMode(!0);Va(e.PLAYING);v()});l(r.id).onAdSkipped(function(){P.adMode(!1)});l(r.id).onAdComplete(function(){P.adMode(!1)});l(r.id).onAdError(function(){P.adMode(!1)});r.jwAddEventListener(f.JWPLAYER_PLAYER_STATE,Pa);r.jwAddEventListener(f.JWPLAYER_MEDIA_ERROR,ab);r.jwAddEventListener(f.JWPLAYER_PLAYLIST_COMPLETE,jb);r.jwAddEventListener(f.JWPLAYER_PLAYLIST_ITEM,pb);r.jwAddEventListener(f.JWPLAYER_CAST_AVAILABLE,function(){c.canCast()? va.forceControls(!0):va.releaseControls()});r.jwAddEventListener(f.JWPLAYER_CAST_SESSION,function(a){$||($=new l.html5.castDisplay(r.id),$.statusDelegate=function(a){$.setState(a.newstate)});a.active?(h.style(ja.element(),{display:"none"}),va.forceControls(!0),$.setState("connecting").setName(a.deviceName).show(),r.jwAddEventListener(f.JWPLAYER_PLAYER_STATE,$.statusDelegate),r.jwAddEventListener(f.JWPLAYER_CAST_AD_CHANGED,N)):(r.jwRemoveEventListener(f.JWPLAYER_PLAYER_STATE,$.statusDelegate),r.jwRemoveEventListener(f.JWPLAYER_CAST_AD_CHANGED, N),$.hide(),P.adMode()&&O(),h.style(ja.element(),{display:null}),Pa({newstate:r.jwGetState()}),z())});Pa({newstate:e.IDLE});b||(sa.addEventListener("mouseout",F,!1),sa.addEventListener("mousemove",M,!1),c.isMSIE()&&(ba.addEventListener("mousemove",M,!1),ba.addEventListener("click",Y.clickHandler)));G(P);G(ga);G(ea);h("#"+Q.id+"."+k+" .jwaspect",{"margin-top":n.aspectratio,display:B});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(){R(n.width,n.height)},0)}};var Qa=this.fullscreen=function(a){c.exists(a)||(a=!n.fullscreen);a=!!a;a!==n.fullscreen&& (ma?(a?Ma.apply(Q):Oa.apply(document),T(Q,a)):c.isIE()?T(Q,a):(oa&&oa.getVideo().setFullScreen(a),n.getVideo().setFullScreen(a)))};this.resize=function(a,b){R(a,b,!0);z()};this.resizeMedia=A;var ia=this.completeSetup=function(){h.style(Q,{opacity:1});d.addEventListener("beforeunload",function(){n.getVideo().isCaster||r.jwStop()})},Za;this.setupInstream=function(a,b,c,d){h.unblock();bb(Wa("jwinstream"),!0);bb(Wa("jwcontrols"),!1);wa.appendChild(a);La=b;Ta=c;oa=d;Pa({newstate:e.PLAYING});S=!0;wa.addEventListener("mousemove", M);wa.addEventListener("mouseout",F)};this.destroyInstream=function(){h.unblock();bb(Wa("jwinstream"),!1);bb(Wa("jwcontrols"),!0);wa.innerHTML="";wa.removeEventListener("mousemove",M);wa.removeEventListener("mouseout",F);S=!1};this.setupError=function(a){X=!0;l.embed.errorScreen(Q,a,n);ia()};this.addButton=function(a,b,c,d){ga&&(ga.addButton(a,b,c,d),r.jwGetState()===e.IDLE&&na())};this.removeButton=function(a){ga&&ga.removeButton(a)};this.setControls=function(a){var b=!!a;b!==n.controls&&(n.controls= b,S?a?(La.show(),Ta.show()):(La.hide(),Ta.hide()):b&&Pa({newstate:r.jwGetState()}),b||(za(),Y&&Y.hide()),va.sendEvent(f.JWPLAYER_CONTROLS,{controls:b}))};this.forceControls=function(a){ka=!!a;a?Ca():za()};this.releaseControls=function(){ka=null;Va(r.jwGetState())};this.addCues=function(a){P&&P.addCues(a)};this.forceState=function(a){Y.forceState(a)};this.releaseState=function(){Y.releaseState(r.jwGetState())};this.getSafeRegion=function(a){var b={x:0,y:0,width:0,height:0};a=a||!c.exists(a);P.showTemp(); ga.showTemp();var d=j(Ea),e=d.top,f=S?j(document.getElementById(r.id+"_instream_controlbar")):j(P.element()),g=S?!1:0f&&(h=b))}(a=h)?(null===I&&(I=c("div","companion"),e(w,I)),a.width/a.height>u?(b=316,d=a.height*b/a.width):(d=176, b=a.width*d/a.height),k.style(I,{"background-image":a.source,"background-size":b+"px "+d+"px"})):y()};this.adChanged=function(a){if(a.complete)H&&H.reset(-1),M=null;else{H&&(void 0===a.skipoffset?m():(a.position||a.duration)&&H.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(w,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();w.parentNode&&w.parentNode.removeChild(w)}}})(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