"undefined"===typeof LimelightPlayerUtil&&("undefined"===typeof JSON&&(this.JSON={},function(){function z(c){return 10>c?"0"+c:c}function D(c){A.lastIndex=0;return A.test(c)?'"'+c.replace(A,function(c){var g=F[c];return"string"===typeof g?g:"\\u"+("0000"+c.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+c+'"'}function B(c,u){var g,l,t,n,p=m,r,h=u[c];h&&("object"===typeof h&&"function"===typeof h.toJSON)&&(h=h.toJSON(c));"function"===typeof v&&(h=v.call(u,c,h));switch(typeof h){case "string":return D(h); case "number":return isFinite(h)?String(h):"null";case "boolean":case "null":return String(h);case "object":if(!h)return"null";m+=w;r=[];if("[object Array]"===Object.prototype.toString.apply(h)){n=h.length;for(g=0;g You need to have the latest version of Adobe Flash Player to view this content.
Please click here to continue.
')}return null} function m(a,b,f,q,d,e,c){var h="",g;if("string"===typeof f)h=f;else if("object"===typeof f)for(g in f)h+=encodeURIComponent(g)+"="+encodeURIComponent(f[g])+"&";a(' ');return document.getElementById(e)} function w(a,b,f,q,d){var e;b.mediaId?e=a.playlistService+"/media/"+b.mediaId+"/getMobilePlaylistByMediaId?platform="+f:b.channelId?e=a.playlistService+"/channel/"+b.channelId+"/getFirstAvailableMobilePlaylistByChannelId?platform="+f:b.channelListId&&(e=a.playlistService+"/channel_list/"+b.channelListId+"/getFirstAvailableMobilePlaylistByChannelListId?platform="+f);M(e,function(a){a&&a.mediaList&&a.mediaList[0]?(a.id&&q.setChannelId(a.id),a.mediaList[0].mediaId&&q.setMediaId(a.mediaList[0].mediaId), 0s.length;)s.push(0)}y=function(){var a=document.createElement("VIDEO");return a.canPlayType?a.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"'):""}();H=(e||l||g)&&!H;e=function(){var a=document.createElement("VIDEO");return a.canPlayType?a.canPlayType("application/vnd.apple.mpegurl"):""}();l="probably"===e||g?"HttpLiveStreaming":"MobileH264";a=function(){var a=function(){var a=null;if("undefined"!==typeof n.plugins&& "object"==typeof n.plugins["Shockwave Flash"]){if((a=n.plugins["Shockwave Flash"].description)&&("undefined"===typeof n.mimeTypes||!n.mimeTypes["application/x-shockwave-flash"]||n.mimeTypes["application/x-shockwave-flash"].enabledPlugin))return a=a.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),[parseInt(a.replace(/^(.*)\..*$/,"$1"),10),parseInt(a.replace(/^.*\.(.*)\s.*$/,"$1"),10),/[a-zA-Z]/.test(a)?parseInt(a.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0]}else if("undefined"!==typeof window.ActiveXObject)try{var b= new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(b&&(a=b.GetVariable("$version")))return a=a.split(" ")[1].split(","),[parseInt(a[0],10),parseInt(a[1],10),parseInt(a[2],10)]}catch(e){}return[0,0,0]}();return function(b,e,c){return a[0]>b||a[0]==b&&(a[1]>e||a[1]==e&&a[2]>=c)}}();f={canUpgrade:!d&&a(6,0,65),H264:a(9,0,115),hasAdaptiveStreaming:a(10,0,0),isActiveX:f};b=f.H264&&!b?"flash":k?"probably"===y||H?E||g&&!h&&5>s[0]?"video":"html":"link":"install-flash";"install-flash"===b&&(c&&"assets.delvenetworks.com"!== window.location.host)&&(b="iframe");return{Metrics:{H264:y,HLS:e},embedMode:b,htmlCodec:l,Flash:f,loadingProtocol:"https:"===document.location.protocol?"https:":"http:"}}(),r=function(){var a=[];return function(b,c){if(void 0!==LimelightPlayerUtil.Player)c(LimelightPlayerUtil.Player);else if(a.push(c),void 0===LimelightPlayerUtil.playerLoadedCallback){var q=document.getElementsByTagName("head")[0]||document.documentElement,d=document.createElement("SCRIPT");d.type="text/javascript";d.src=b.htmlPlayerLocation; d.charset="utf-8";LimelightPlayerUtil.playerLoadedCallback=function(b){LimelightPlayerUtil.Player=b;delete LimelightPlayerUtil.playerLoadedCallback;q&&q.removeChild(d);a.forEach(function(a){a(b)});a=[]};d.onerror=function(){a.forEach(function(a){a(null)});a=[]};q.insertBefore(d,q.firstChild)}}}(),h=function(){var a=[];return function(b,c,q,d,e,h,g){function l(a){var b={},e;for(e in a)b[e]="object"===typeof a[e]&&a[e]?l(a[e]):a[e];return b}var k=document.createElement("IFRAME");k.id=c;k.width=q;k.height= d;k.src=b.playerIframeLocation;k.style.border="none";g(k);var s=document.getElementById(c).contentWindow,E={},p={},m={},r=0,y={},K=0,n=1,t=null,I=null,L=void 0;window.addEventListener("message",function(c){var d,f=c.data.state;f&&(f.channelList&&(E=f.channelList),f.channel&&(p=f.channel),f.media&&(m=f.media),f.index&&(r=f.index),f.playState&&(y=f.playState),f.position&&(K=f.position),f.volume&&(n=f.volume),f.quality&&(t=f.quality),f.actualQuality&&(I=f.actualQuality),f.customEvents&&(L=f.customEvents)); switch(c.data.type){case "event":"function"===typeof delvePlayerCallback&&delvePlayerCallback(c.data.id,c.data.eventName,c.data.data);break;case "init":s.postMessage({type:"init",embed:"../embed.js",flashVars:e,resourceLocations:b},"*");break;case "api":d={};for(var q in c.data.funcs){var f=c.data.funcs[q],h=function(a){return function(){s.postMessage({type:"func",name:a,args:Array.prototype.slice.call(arguments)},"*")}}(f);d[f]=h}d.registerPlayer=function(){};d.getPlayers=function(){return a};d.doGetActualQuality= function(){return I?I.name:null};d.doGetQuality=function(){return t?t.name:null};d.doGetQualityDetails=function(){return l({actual:I,selected:t})};d.doGetCurrentIndex=function(){return r};d.doGetCurrentMedia=function(){return l(m)};d.doGetCurrentChannel=function(){return l(p)};d.doGetCurrentChannelList=function(){return l(E)};d.doGetCurrentPlayState=function(){return l(y)};d.doGetCustomEvents=function(){return l(L)};d.doGetPlayheadPositionInMilliseconds=function(){return K};d.doSetVolume=function(){var a= d.doSetVolume;return function(b){b||(b=0);if("number"===typeof b)return 0>b&&(b=0),1