var jwBase64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",decode:function(e){if(typeof window["atob"]==="function"){return atob(e)}var t="";var n,r,i;var s,o,u,a;var f=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(f>4;r=(o&15)<<4|u>>2;i=(u&3)<<6|a;t=t+String.fromCharCode(n);if(u!=64){t=t+String.fromCharCode(r)}if(a!=64){t=t+String.fromCharCode(i)}}t=jwBase64._utf8_decode(t);return t},_utf8_decode:function(e){var t="";var n=0;var r=c1=c2=0;while(n191&&r<224){c2=e.charCodeAt(n+1);t+=String.fromCharCode((r&31)<<6|c2&63);n+=2}else{c2=e.charCodeAt(n+1);c3=e.charCodeAt(n+2);t+=String.fromCharCode((r&15)<<12|(c2&63)<<6|c3&63);n+=3}}return t}};var bd=[];for(var i=0;i");r.innerHTML="";r.appendChild(s);return t},getRenderingMode:function(){return t},onReady:function(e){return t},getPlaylist:function(){return t},getPlaylistItem:function(e){return t},load:function(e){return t},playlistItem:function(e){return t},onPlaylist:function(e){return t},onPlaylistItem:function(e){return t},onComplete:function(e){return t},onPlaylistComplete:function(e){return t},getBuffer:function(){return t},onBufferChange:function(e){return t},getState:function(){return t},play:function(e){return t},pause:function(e){return t},stop:function(){return t},onBeforePlay:function(e){return t},onPlay:function(e){return t},onPause:function(e){return t},onBuffer:function(e){return t},onIdle:function(e){return t},getPosition:function(){return t},getDuration:function(){return t},seek:function(e){return t},onSeek:function(e){return t},onTime:function(e){return t},getMute:function(){return t},getVolume:function(){return t},setMute:function(e){return t},setVolume:function(e){return t},onMute:function(e){return t},onVolume:function(e){return t},getFullscreen:function(){return t},getHeight:function(){return t},getWidth:function(){return t},resize:function(e,n){return t},onFullscreen:function(e){return t},getQualityLevels:function(){return t},getCurrentQuality:function(){return t},setCurrentQuality:function(e){return t},onQualityLevels:function(e){return t},onQualityChange:function(e){return t},addButton:function(e,n,r,i){return t},removeButton:function(e){return t},getControls:function(){return t},getSafeRegion:function(){return t},setControls:function(e){return t},onControls:function(e){return t},onDisplayClick:function(e){return t},onError:function(e){return t},onMeta:function(e){return t}}})();jwplayer.blacklisted=1;break;}};"undefined"===typeof jwplayer&&(jwplayer=function(){if(jwplayer.api)return jwplayer.api.selectPlayer.apply(this,arguments)},jwplayer.version="6.12.4956",jwplayer.vid=document.createElement("video"),jwplayer.audio=document.createElement("audio"),jwplayer.source=document.createElement("source"),function(){var f={},d=Array.prototype,l=Object.prototype,b=d.slice,j=d.concat,c=l.toString,g=l.hasOwnProperty,k=d.map,a=d.forEach,e=d.filter,r=d.every,q=d.some,h=d.indexOf,l=Array.isArray,p=Object.keys,m=function(a){if(a instanceof m)return a;if(!(this instanceof m))return new m(a)},w=m.each=m.forEach=function(e,b,h){if(null==e)return e;if(a&&e.forEach===a)e.forEach(b,h);else if(e.length===+e.length)for(var c=0,p=e.length;c--a)return e.apply(this,arguments)}};m.sortedIndex=function(a,e,h,b){h=null==h?m.identity:m.isFunction(h)?h:m.property(h);e=h.call(b,e);for(var c=0,p=a.length;c>>1;h.call(b,a[d])b?Math.max(0,p+b):b;else return c=m.sortedIndex(a,e),a[c]===e?c:-1;if(h&&a.indexOf===h)return a.indexOf(e,b);for(;cd||d>c)}else c=void 0;if(c)return a;c=e.substring(0,e.indexOf("://")+3);var d=e.substring(c.length, e.indexOf("/",c.length+1)),h;0===a.indexOf("/")?h=a.split("/"):(h=e.split("?")[0],h=h.substring(c.length+d.length+1,h.lastIndexOf("/")),h=h.split("/").concat(a.split("/")));for(var p=[],g=0;ge&&0>c&&(!a||!isNaN(a))?k.CDN:k.RELATIVE}};b.getPluginName=function(a){return a.replace(/^(.*\/)?([^-]*)-?.*\.(swf|js)$/,"$2")};b.getPluginVersion=function(a){return a.replace(/[^-]*-?([^\.]*).*$/, "$1")};b.isYouTube=function(a,e){return"youtube"===e||/^(http|\/\/).*(youtube\.com|youtu\.be)\/.+/.test(a)};b.youTubeID=function(a){try{return/v[=\/]([^?&]*)|youtu\.be\/([^?]*)|^([\w-]*)$/i.exec(a).slice(1).join("").replace("?","")}catch(e){return""}};b.isRtmp=function(a,e){return 0===a.indexOf("rtmp")||"rtmp"===e};b.foreach=function(a,e){var c,d;for(c in a)"function"===b.typeOf(a.hasOwnProperty)?a.hasOwnProperty(c)&&(d=a[c],e(c,d)):(d=a[c],e(c,d))};b.isHTTPS=function(){return 0===window.location.href.indexOf("https")}; b.repo=function(){var a="https://web.archive.org/web/20150913000811/http://p.jwpcdn.com/"+f.version.split(/\W/).splice(0,2).join("/")+"/";try{b.isHTTPS()&&(a=a.replace("http://","https://web.archive.org/web/20150913000811/https://ssl."))}catch(c){}return a};b.versionCheck=function(a){a=("0"+a).split(/\W/);var c=f.version.split(/\W/),b=parseFloat(a[0]),d=parseFloat(c[0]);return b>d||b===d&&parseFloat("0"+a[1])>parseFloat(c[1])?!1:!0};b.ajax=function(a,c,d,g){var h,p=!1;0b.indexOf("url")?"url("+b+")":b+e:0===b||"z-index"===a||"opacity"===a?""+b+e:/color/i.test(a)?"#"+c.pad(b.toString(16).replace(/^0x/i,""),6)+e:Math.ceil(b)+ "px"+e}function b(a,c){for(var b=0;bf._.indexOf(e.elements,a)&&e.elements.push(a)}else b(a,g)}};q.block=function(a){null===e&&(e={id:a,styleSheets:{},elements:[]})};q.unblock=function(a){if(e&&(!a||e.id===a)){for(var c in e.styleSheets)j(c); for(a=0;ak)){a.addEventListener(c.ERROR,b);a.addEventListener(c.COMPLETE,j);return}var e=document.getElementsByTagName("head")[0]||document.documentElement,g=document.createElement("script"),q=!1;g.onload=g.onreadystatechange=function(a){if(!q&&(!this.readyState||"loaded"===this.readyState||"complete"===this.readyState))q=!0,j(a),g.onload=g.onreadystatechange= null,e&&g.parentNode&&e.removeChild(g)};g.onerror=b;g.src=l;e.insertBefore(g,e.firstChild);k=d.LOADING;f.scriptloader.loaders[l]=this}};this.getStatus=function(){return k}};f.scriptloader.loaders={}}(jwplayer.utils),function(f){f.trim=function(d){return d.replace(/^\s+|\s+$/g,"")};f.pad=function(d,f,b){for(b||(b="0");d.length=g.length&&(g[1]=0);for(var k=d.strToLongs(b.encode(c).slice(0,16)),a=g.length,e=g[a-1],f=g[0],q,h=Math.floor(6+52/a),p=0;0>>2&3;for(var m=0;m>>5^f<<2)+(f>>>3^e<<4)^(p^f)+(k[m&3^q]^e),e=g[m]+=e}g=d.longsToStr(g); return l.encode(g)};d.decrypt=function(j,c){if(0==j.length)return"";for(var g=d.strToLongs(l.decode(j)),k=d.strToLongs(b.encode(c).slice(0,16)),a=g.length,e=g[a-1],f=g[0],q,h=2654435769*Math.floor(6+52/a);0!=h;){q=h>>>2&3;for(var p=a-1;0<=p;p--)e=g[0>>5^f<<2)+(f>>>3^e<<4)^(h^f)+(k[p&3^q]^e),f=g[p]-=e;h-=2654435769}g=d.longsToStr(g);g=g.replace(/\0+$/,"");return b.decode(g)};d.strToLongs=function(b){for(var c=Array(Math.ceil(b.length/4)),d=0;d>>8&255,b[d]>>>16&255,b[d]>>>24&255);return c.join("")};var l={code:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d",encode:function(d,c){var g,k,a,e,f=[],q="",h,p,m=l.code;p=("undefined"==typeof c?0:c)?b.encode(d):d;h=p.length%3;if(0h++;)q+="\x3d",p+="\x00";for(h=0;h>18&63,k=e>>12&63,a=e>>6&63,e&=63,f[h/3]=m.charAt(g)+m.charAt(k)+m.charAt(a)+m.charAt(e);f=f.join("");return f=f.slice(0,f.length-q.length)+q},decode:function(d,c){c="undefined"==typeof c?!1:c;var g,k,a,e,f,q=[],h,p=l.code;h=c?b.decode(d):d;for(var m=0;m>>16&255,k=a>>>8&255,a&=255,q[m/4]=String.fromCharCode(g, k,a),64==f&&(q[m/4]=String.fromCharCode(g,k)),64==e&&(q[m/4]=String.fromCharCode(g));e=q.join("");return c?b.decode(e):e}},b={encode:function(b){b=b.replace(/[\u0080-\u07ff]/g,function(c){c=c.charCodeAt(0);return String.fromCharCode(192|c>>6,128|c&63)});return b=b.replace(/[\u0800-\uffff]/g,function(c){c=c.charCodeAt(0);return String.fromCharCode(224|c>>12,128|c>>6&63,128|c&63)})},decode:function(b){b=b.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(c){c=(c.charCodeAt(0)&15)<<12| (c.charCodeAt(1)&63)<<6|c.charCodeAt(2)&63;return String.fromCharCode(c)});return b=b.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(c){c=(c.charCodeAt(0)&31)<<6|c.charCodeAt(1)&63;return String.fromCharCode(c)})}}}(jwplayer.utils),function(f){f.events={COMPLETE:"COMPLETE",ERROR:"ERROR",API_READY:"jwplayerAPIReady",JWPLAYER_READY:"jwplayerReady",JWPLAYER_FULLSCREEN:"jwplayerFullscreen",JWPLAYER_RESIZE:"jwplayerResize",JWPLAYER_ERROR:"jwplayerError",JWPLAYER_SETUP_ERROR:"jwplayerSetupError",JWPLAYER_MEDIA_BEFOREPLAY:"jwplayerMediaBeforePlay", JWPLAYER_MEDIA_BEFORECOMPLETE:"jwplayerMediaBeforeComplete",JWPLAYER_MEDIA_BUFFER:"jwplayerMediaBuffer",JWPLAYER_MEDIA_BUFFER_FULL:"jwplayerMediaBufferFull",JWPLAYER_MEDIA_ERROR:"jwplayerMediaError",JWPLAYER_MEDIA_LOADED:"jwplayerMediaLoaded",JWPLAYER_MEDIA_COMPLETE:"jwplayerMediaComplete",JWPLAYER_MEDIA_SEEK:"jwplayerMediaSeek",JWPLAYER_MEDIA_TIME:"jwplayerMediaTime",JWPLAYER_MEDIA_VOLUME:"jwplayerMediaVolume",JWPLAYER_MEDIA_META:"jwplayerMediaMeta",JWPLAYER_MEDIA_MUTE:"jwplayerMediaMute",JWPLAYER_AUDIO_TRACKS:"jwplayerAudioTracks", JWPLAYER_AUDIO_TRACK_CHANGED:"jwplayerAudioTrackChanged",JWPLAYER_MEDIA_LEVELS:"jwplayerMediaLevels",JWPLAYER_MEDIA_LEVEL_CHANGED:"jwplayerMediaLevelChanged",JWPLAYER_CAPTIONS_CHANGED:"jwplayerCaptionsChanged",JWPLAYER_CAPTIONS_LIST:"jwplayerCaptionsList",JWPLAYER_CAPTIONS_LOADED:"jwplayerCaptionsLoaded",JWPLAYER_PLAYER_STATE:"jwplayerPlayerState",state:{BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"},JWPLAYER_PLAYLIST_LOADED:"jwplayerPlaylistLoaded",JWPLAYER_PLAYLIST_ITEM:"jwplayerPlaylistItem", JWPLAYER_PLAYLIST_COMPLETE:"jwplayerPlaylistComplete",JWPLAYER_DISPLAY_CLICK:"jwplayerViewClick",JWPLAYER_PROVIDER_CLICK:"jwplayerProviderClick",JWPLAYER_VIEW_TAB_FOCUS:"jwplayerViewTabFocus",JWPLAYER_CONTROLS:"jwplayerViewControls",JWPLAYER_USER_ACTION:"jwplayerUserAction",JWPLAYER_INSTREAM_CLICK:"jwplayerInstreamClicked",JWPLAYER_INSTREAM_DESTROYED:"jwplayerInstreamDestroyed",JWPLAYER_AD_TIME:"jwplayerAdTime",JWPLAYER_AD_ERROR:"jwplayerAdError",JWPLAYER_AD_CLICK:"jwplayerAdClicked",JWPLAYER_AD_COMPLETE:"jwplayerAdComplete", JWPLAYER_AD_IMPRESSION:"jwplayerAdImpression",JWPLAYER_AD_COMPANIONS:"jwplayerAdCompanions",JWPLAYER_AD_SKIPPED:"jwplayerAdSkipped",JWPLAYER_AD_PLAY:"jwplayerAdPlay",JWPLAYER_AD_PAUSE:"jwplayerAdPause",JWPLAYER_AD_META:"jwplayerAdMeta",JWPLAYER_CAST_AVAILABLE:"jwplayerCastAvailable",JWPLAYER_CAST_SESSION:"jwplayerCastSession",JWPLAYER_CAST_AD_CHANGED:"jwplayerCastAdChanged"}}(jwplayer),function(f){var d=f.utils;f.events.eventdispatcher=function(l,b){function j(c,a,b){if(c)for(var g=0;g=g||0>=k?0:100*(k/g)+"%")}-1===c.width.toString().indexOf("%")? delete c.aspectratio:g?c.aspectratio=g:delete c.aspectratio;return c}).addConfig=function(c,f){d(f);return b.extend(c,f)}}(jwplayer),function(f){function d(b,d){function c(a,b){f[k].style[a]=b}for(var f=document.querySelectorAll(b),k=0;km)return p.sendEvent(l.ERROR,{message:"Flash version must be 10.0 or greater"}),!1;var f,j,t=c.id,n=e.config.listbar, v=d.extend({},k);f=document.getElementById(e.id);f.parentNode.replaceChild(c,f);if(t+"_wrapper"===c.parentNode.id)f=document.getElementById(t+"_wrapper");else{f=document.createElement("div");j=document.createElement("div");j.style.display="none";j.id=t+"_aspect";f.id=t+"_wrapper";f.style.position="relative";f.style.display="block";f.style.width=d.styleDimension(v.width);f.style.height=d.styleDimension(v.height);if(e.config.aspectratio){var x=parseFloat(e.config.aspectratio);j.style.display="block"; j.style.marginTop=e.config.aspectratio;f.style.height="auto";f.style.display="inline-block";n&&("bottom"===n.position?j.style.paddingBottom=n.size+"px":"right"===n.position&&(j.style.marginBottom=-1*n.size*(x/100)+"px"))}c.parentNode.replaceChild(f,c);f.appendChild(c);f.appendChild(j)}n=a.setupPlugins(e,v,q);0=v.height?"transparent":"opaque");j="height width modes events primary base fallback volume".split(" ");for(x=0;xp++&&setTimeout(b,1E3)}function j(){h&&(h.resetEventListeners(),h=null)}function c(){e.apiConfig=null}function g(){} function k(a){w.sendEvent("session",{session:a});a.sendMessage(e.NS,{whoami:1});0===a.media.length&&l(a)}function a(a){e.availability=a;w.sendEvent("availability",{availability:a})}window.chrome=d;var e=f.cast,r=f.utils,q=f.events,h,p=0,m=null,w=r.extend({initialize:function(a){m=a;null!==e.availability?w.sendEvent("availability",{availability:e.availability}):d&&d.cast?b():h||(h=new r.scriptloader("https://web.archive.org/web/20150913000811/https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"),h.addEventListener(q.ERROR,j),h.addEventListener(q.COMPLETE, b),h.load())}},new q.eventdispatcher("cast.loader"));f.cast.loader=w;f.cast.loader.sendDummyMedia=l}(window.jwplayer,window.chrome||{}),function(f,d){var l=[],b=f.utils,j=f.events,c=f._,g=0,k=j.state,a="getBuffer getCaptionsList getControls getCurrentCaptions getCurrentQuality getCurrentAudioTrack getDuration getFullscreen getHeight getLockState getMute getPlaylistIndex getSafeRegion getPosition getQualityLevels getState getVolume getWidth isBeforeComplete isBeforePlay releaseState".split(" "),e= "playlistNext stop forceState playlistPrev seek setCurrentCaptions setControls setCurrentQuality setVolume setCurrentAudioTrack".split(" "),r={onBufferChange:j.JWPLAYER_MEDIA_BUFFER,onBufferFull:j.JWPLAYER_MEDIA_BUFFER_FULL,onError:j.JWPLAYER_ERROR,onSetupError:j.JWPLAYER_SETUP_ERROR,onFullscreen:j.JWPLAYER_FULLSCREEN,onMeta:j.JWPLAYER_MEDIA_META,onMute:j.JWPLAYER_MEDIA_MUTE,onPlaylist:j.JWPLAYER_PLAYLIST_LOADED,onPlaylistItem:j.JWPLAYER_PLAYLIST_ITEM,onPlaylistComplete:j.JWPLAYER_PLAYLIST_COMPLETE, onReady:j.API_READY,onResize:j.JWPLAYER_RESIZE,onComplete:j.JWPLAYER_MEDIA_COMPLETE,onSeek:j.JWPLAYER_MEDIA_SEEK,onTime:j.JWPLAYER_MEDIA_TIME,onVolume:j.JWPLAYER_MEDIA_VOLUME,onBeforePlay:j.JWPLAYER_MEDIA_BEFOREPLAY,onBeforeComplete:j.JWPLAYER_MEDIA_BEFORECOMPLETE,onDisplayClick:j.JWPLAYER_DISPLAY_CLICK,onControls:j.JWPLAYER_CONTROLS,onQualityLevels:j.JWPLAYER_MEDIA_LEVELS,onQualityChange:j.JWPLAYER_MEDIA_LEVEL_CHANGED,onCaptionsList:j.JWPLAYER_CAPTIONS_LIST,onCaptionsChange:j.JWPLAYER_CAPTIONS_CHANGED, onAdError:j.JWPLAYER_AD_ERROR,onAdClick:j.JWPLAYER_AD_CLICK,onAdImpression:j.JWPLAYER_AD_IMPRESSION,onAdTime:j.JWPLAYER_AD_TIME,onAdComplete:j.JWPLAYER_AD_COMPLETE,onAdCompanions:j.JWPLAYER_AD_COMPANIONS,onAdSkipped:j.JWPLAYER_AD_SKIPPED,onAdPlay:j.JWPLAYER_AD_PLAY,onAdPause:j.JWPLAYER_AD_PAUSE,onAdMeta:j.JWPLAYER_AD_META,onCast:j.JWPLAYER_CAST_SESSION,onAudioTrackChange:j.JWPLAYER_AUDIO_TRACK_CHANGED,onAudioTracks:j.JWPLAYER_AUDIO_TRACKS},q={onBuffer:k.BUFFERING,onPause:k.PAUSED,onPlay:k.PLAYING, onIdle:k.IDLE};f.api=function(h){function g(a,c){b.foreach(a,function(a,b){n[a]=function(a){return c(b,a)}})}function m(a,b){var c="jw"+b.charAt(0).toUpperCase()+b.slice(1);n[b]=function(){var b=t.apply(this,[c].concat(Array.prototype.slice.call(arguments,0)));return a?n:b}}function w(a,c){try{a.jwAddEventListener(c,'function(dat) { jwplayer("'+n.id+'").dispatchEvent("'+c+'", dat); }')}catch(d){if("flash"===n.renderingMode){var e=document.createElement("a");e.href=z.data;e.protocol!==location.protocol&& b.log("Warning: Your site ["+location.protocol+"] and JWPlayer ["+e.protocol+"] are hosted using different protocols")}b.log("Could not add internal listener")}}function u(a,b){v[a]||(v[a]=[],z&&B&&w(z,a));v[a].push(b);return n}function t(){if(B){if(z){var a=Array.prototype.slice.call(arguments,0),b=a.shift();if("function"===typeof z[b]){switch(a.length){case 6:return z[b](a[0],a[1],a[2],a[3],a[4],a[5]);case 5:return z[b](a[0],a[1],a[2],a[3],a[4]);case 4:return z[b](a[0],a[1],a[2],a[3]);case 3:return z[b](a[0], a[1],a[2]);case 2:return z[b](a[0],a[1]);case 1:return z[b](a[0])}return z[b]()}}return null}y.push(arguments)}var n=this,v={},x={},z,B=!1,y=[],E,F={},J={};n.container=h;n.id=h.id;n.setup=function(a){if(f.embed){f.api.destroyPlayer(n.id);var b=new f.api(n.container);f.api.addPlayer(b);b.config=a;b._embedder=new f.embed(b);b._embedder.embed();return b}return n};n.getContainer=function(){return n.container};n.addButton=function(a,c,d,e){try{J[e]=d,t("jwDockAddButton",a,c,'jwplayer("'+n.id+'").callback("'+ e+'")',e)}catch(f){b.log("Could not add dock button"+f.message)}};n.removeButton=function(a){t("jwDockRemoveButton",a)};n.callback=function(a){if(J[a])J[a]()};n.getMeta=function(){return n.getItemMeta()};n.getPlaylist=function(){var a=t("jwGetPlaylist");"flash"===n.renderingMode&&b.deepReplaceKeyName(a,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]);return a};n.getPlaylistItem=function(a){b.exists(a)||(a=n.getPlaylistIndex());return n.getPlaylist()[a]};n.getRenderingMode=function(){return n.renderingMode}; n.setFullscreen=function(a){b.exists(a)?t("jwSetFullscreen",a):t("jwSetFullscreen",!t("jwGetFullscreen"));return n};n.setMute=function(a){b.exists(a)?t("jwSetMute",a):t("jwSetMute",!t("jwGetMute"));return n};n.lock=function(){return n};n.unlock=function(){return n};n.load=function(a){t("jwInstreamDestroy");f(n.id).plugins.googima&&t("jwDestroyGoogima");t("jwLoad",a);return n};n.playlistItem=function(a){t("jwPlaylistItem",parseInt(a,10));return n};n.resize=function(a,c){if("flash"!==n.renderingMode)t("jwResize", a,c);else{var d=document.getElementById(n.id+"_wrapper"),e=document.getElementById(n.id+"_aspect");e&&(e.style.display="none");d&&(d.style.display="block",d.style.width=b.styleDimension(a),d.style.height=b.styleDimension(c))}return n};n.play=function(a){if(a!==d)return t("jwPlay",a),n;a=n.getState();var b=E&&E.getState();b&&(b===k.IDLE||b===k.PLAYING||b===k.BUFFERING?t("jwInstreamPause"):t("jwInstreamPlay"));a===k.PLAYING||a===k.BUFFERING?t("jwPause"):t("jwPlay");return n};n.pause=function(a){a=== d?(a=n.getState(),a===k.PLAYING||a===k.BUFFERING?t("jwPause"):t("jwPlay")):t("jwPause",a);return n};n.createInstream=function(){return new f.api.instream(this,z)};n.setInstream=function(a){return E=a};n.loadInstream=function(a,b){E=n.setInstream(n.createInstream()).init(b);E.loadItem(a);return E};n.destroyPlayer=function(){B=!0;t("jwPlayerDestroy")};n.playAd=function(a){var b=f(n.id).plugins;b.vast?b.vast.jwPlayAd(a):t("jwPlayAd",a)};n.pauseAd=function(){var a=f(n.id).plugins;a.vast?a.vast.jwPauseAd(): t("jwPauseAd")};g(q,function(a,b){x[a]||(x[a]=[],u(j.JWPLAYER_PLAYER_STATE,function(b){var c=b.newstate;b=b.oldstate;if(c===a){var d=x[c];if(d)for(var e=0;e