Bike!Bike! Website!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
93 KiB

/*!CK:3426572715!*//*1427086744,*/
if (self.CavalryLogger) { CavalryLogger.start_js(["xWrym"]); }
__d("VideoPlayerInitializationEvents",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={PLAYER_INITIALIZATION:"player_initialization",PLAYER_ALLOCATED:"player_allocated",REQUESTED_PLAYING:"requested_playing",STARTED_PLAYING:"started_playing",PLAYER_SENT_REQUEST:"player_sent",PLAYER_RECEIVED_FIRST_BYTE:"player_received_first_byte",BUFFER_READY:"buffer_ready",METADATA_READY:"metadata_ready"};},null);
__d("VideoPlayerLoggerEvents",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={AUTOPLAY_PREFERENCE_CHANGED:"autoplay_preference_changed",END_STALL_TIME:"end_stall_time",AUTOPLAY_PREFERENCE_STATUS:"autoplay_preference_status",ERROR_ALERT_SHOWN:"video_error_alert_shown",NOT_AUTOPLAYING:"not_autoplaying",VIDEO_CHANNEL_NO_RELATED_VIDEO:"video_channel_no_related_video",VIDEO_ORIENTATION_CHANGED:"video_orientation_changed",ASSETS_LOADED:"assets_loaded",BUFFERED:"buffered",CANCELLED_REQUESTED_PLAYING:"cancelled_requested_playing",CAROUSEL_CHANGE:"carousel_change",DISPLAYED:"displayed",ENTERED_HD:"entered_hd",ENTERED_FALLBACK:"entered_fallback",ENTERED_FS:"entered_fs",EXITED_HD:"exited_hd",EXITED_FS:"exited_fs",ERROR:"error",FINISHED_PLAYING:"finished_playing",IMPRESSION:"impression",INVALID_URL:"invalid_url",MUTED:"muted",PAUSED:"paused",PLAY_REQUESTED:"play_requested",PLAYER_FORMAT_CHANGED:"player_format_changed",PLAYER_LOADED:"player_loaded",PROGRESS:"progress",READY_TO_PLAY:"ready_to_play",REPLAYED:"replayed",REQUESTED:"requested",REQUESTED_PLAYING:"requested_playing",SCRUBBED:"scrubbed",STARTED_PLAYING:"started_playing",STARTED_RECEIVING_BYTES:"started_receiving_bytes",STOPPED_PLAYING:"stopped_playing",UNMUTED:"unmuted",UNPAUSED:"unpaused",VOLUME_CHANGED:"volume_changed",VOLUME_DECREASE:"volume_decrease",VOLUME_INCREASE:"volume_increase",VIDEO_PLAYING:"video_playing",VIDEO_SKIP_AD:"video_skip_ad",VIDEO_CHAINING_IMPRESSION:"video_chaining_impression",PLAYING_LIVE_STARTED:"playing_live_started",PLAYING_LIVE_STOPPED:"playing_live_stopped",COMPLETION:"completion",VIEW:"view"};},null);
__d("VideoPlayerLoggerSource",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={ADS:"ads",ANIMATED_IMAGE_SHARE:"animated_image_share",BROADCAST_REQUEST_ATTACHMENT:"broadcast_request_attachment",EMBEDDED:"embedded",EMBEDDED_VIDEO:"embedded_video",HTML5:"html5",INLINE:"inline",CHAINED:"chained",CHAINED_SUGGESTION:"chained_suggestion",CHANNEL:"channel",INSIGHTS:"insights",LOOKBACK:"lookback",MESSAGING:"messaging",MISC:"misc",MOBILE:"mobile",PAGES_FINCH_MAIN_VIDEO:"pages_finch_main_video",PAGES_FINCH_THUMBNAIL_VIDEO:"pages_finch_thumbnail_video",PAGES_FINCH_TRAILER:"pages_finch_trailer",PAGES_VIDEO_SET:"pages_video_set",PERMALINK:"permalink",REPORT_FLOW:"report_flow",SNOWLIFT:"snowlift",TRAILER_OG_ATTACHMENT:"trailer_og_attachment",TRAILER_TIMELINE_COLLECTIONS:"trailer_timeline_collections",TRAILER_TIMELINE_UNIT:"trailer_timeline_unit",VIDEOHUB_PLAYLIST:"videohub_playlist",VIDEOHUB_FEATURED:"videohub_featured"};},null);
__d("VideoPlayerVersions",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={HTML5:"html5",SILVERCITY:"silvercity",PLEASANTVILLE:"pleasantville"};},null);
__d("HVideoPlayerMixin",["EventListener","VideoPlayerLoggerEvents"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=-1,j={initLogger:function(k){var l=this.getSubscriptions();this._loggedEvents={};this._logFunction=k;var m=this.getVideoElement();this._lastStartTimePosition=i;this._muted=m.muted;this._pausedPosition=i;this._seeking=false;this._seekSourceTimePosition=i;this._volume=m.volume;this._lastPlayedTime=i;if(m.readyState>=m.HAVE_FUTURE_DATA){this._logReadyToPlay();}else l.addSubscriptions(g.listen(m,'canplay',this._logReadyToPlay.bind(this)));l.addSubscriptions(g.listen(m,'pause',this._onPause.bind(this)),g.listen(m,'playing',this._onPlay.bind(this)),g.listen(m,'seeked',this._onSeeked.bind(this)),g.listen(m,'seeking',this._onSeeking.bind(this)),g.listen(m,'timeupdate',this._onTimeUpdate.bind(this)),g.listen(m,'volumechange',this._onVolumeChange.bind(this)));},_logOnce:function(event,k){if(this._loggedEvents[event])return;this._logEvent(event,k);},_logEvent:function(event,k){this._loggedEvents[event]=true;var l=k?k:{};l.video_id=this.getVideoID();if(!l.hasOwnProperty('video_time_position'))l.video_time_position=this.getVideoElement().currentTime;l.time=Math.round(Date.now()/1000);if(this.getAdClientToken){var m=this.getAdClientToken();if(m)l.ad_client_token=m;}this._logFunction(event,l);},_logReadyToPlay:function(){this._logOnce(h.READY_TO_PLAY);},_onPause:function(k){var l=this.getVideoElement(),event=l.ended?h.FINISHED_PLAYING:h.PAUSED,m=this._lastPlayedTime,n=k.lastPauseReason;if(event===h.FINISHED_PLAYING){m=Math.max(m,l.duration);}else if(this.preventPauseLoggingInMixin===true){return;}else if(this.preventPauseLoggingInMixin===false)n=n||'unloaded';this._logEvent(event,{video_last_start_time_position:this._lastStartTimePosition===i?this._lastPlayedTime:this._lastStartTimePosition,video_time_position:m,reason:n});this._lastStartTimePosition=i;},addWatchTimeData:function(k){if(this._lastStartTimePosition!=i&&this._lastPlayedTime!=i){k.video_last_start_time_position=this._lastStartTimePosition;k.video_time_position=this._lastPlayedTime;this._lastStartTimePosition=i;}return k;},getLastPlayReason:function(){return null;},getVideoPlayReason:function(){return null;},_onPlay:function(){var k=this.getLastPlayReason(),event=this._loggedEvents[h.STARTED_PLAYING]?h.UNPAUSED:h.STARTED_PLAYING,l={reason:k,video_play_reason:this.getVideoPlayReason()};this._logEvent(event,l);this._lastStartTimePosition=this.getVideoElement().currentTime.toFixed(2);this._lastPlayedTime=this.getVideoElement().currentTime.toFixed(2);},_onSeeked:function(){var k={video_seek_source_time_position:this._seekSourceTimePosition};if(this._lastStartTimePosition!==i){k.video_last_start_time_position=this._lastStartTimePosition;}else k.video_last_start_time_position=this._seekSourceTimePosition;this._logEvent(h.SCRUBBED,k);var l=this.getVideoElement();if(l.paused){this._lastStartTimePosition=i;}else this._lastStartTimePosition=l.currentTime;this._seekSourceTimePosition=i;this._seeking=false;},_onSeeking:function(){if(!this._seeking){this._seekSourceTimePosition=this.getVideoElement().currentTime.toFixed(2);this._seeking=true;}},_onTimeUpdate:function(){var k=this.getVideoElement();if(!k.paused)this._lastPlayedTime=k.currentTime.toFixed(2);},_onVolumeChange:function(){var k=this.getVideoElement(),l={},event=null;if(k.muted!==this._muted&&k.volume===this._volume&&k.volume>0){event=k.muted?h.MUTED:h.UNMUTED;}else{event=k.volume>this._volume?h.VOLUME_INCREASE:h.VOLUME_DECREASE;l.current_volume=k.volume;}this._logEvent(event,l);this._muted=k.muted;this._volume=k.volume;}};e.exports=j;},null);
__d("VideoPlayerLoggerErrors",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={ENTERED_FALLBACK:'entered_fallback',ERROR_CALLING_FLASH:'error_calling_flash'};},null);
__d("VideoPlayerLoggerErrorStates",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={PLAYBACK_FAILURE:'playback_failure',PLAYER_FAILURE:'player_failure'};},null);
__d("VideoPlayerLoggerFallbackReasons",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={TIMEOUT:'timeout',FLASH_ERROR:'flash_error',FLASH_UNAVAILABLE:'flash_unavailable'};},null);
__d("VideoPlayerLoggerPlayerStates",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports={STARTED:'started',UNPAUSED:'unpaused'};},null);
__d("VideoPlayerLogger",["Banzai","ErrorUtils","TimeSpentImmediateActiveSecondsLogger","VideoPlayerLoggerEvents","VideoPlayerLoggerErrors","VideoPlayerLoggerErrorStates","VideoPlayerLoggerFallbackReasons","VideoPlayerLoggerSource","VideoPlayerInitializationEvents","VideoPlayerLoggerPlayerStates","copyProperties","ex"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){b.__markCompiled&&b.__markCompiled();var s='video_player';function t(u,v){"use strict";this.$VideoPlayerLogger0=u;this.$VideoPlayerLogger1=null;this.$VideoPlayerLogger2={};this.$VideoPlayerLogger3=v;this.$VideoPlayerLogger4=0;this.$VideoPlayerLogger5();}t.prototype.logEvent=function(event,u){"use strict";q(u,this.$VideoPlayerLogger3);if(this.$VideoPlayerLogger2.hasOwnProperty(event)){u.initial_event=false;}else u.initial_event=this.$VideoPlayerLogger2[event]=true;if(!u.hasOwnProperty('time_ms'))u.time_ms=Date.now();if(!u.hasOwnProperty('time'))u.time=Math.round(u.time_ms/1000);if(this.$VideoPlayerLogger1)q(u,this.$VideoPlayerLogger1);switch(event){case o.PLAYER_INITIALIZATION:this.$VideoPlayerLogger6=u.time_ms;break;case o.REQUESTED_PLAYING:case o.STARTED_PLAYING:case o.PLAYER_ALLOCATED:case o.PLAYER_SENT_REQUEST:case o.PLAYER_RECEIVED_FIRST_BYTE:case o.BUFFER_READY:case o.METADATA_READY:if(!u.initial_event)break;u.elapsed_time_since_init=Date.now()-this.$VideoPlayerLogger6;break;}switch(event){case j.REQUESTED_PLAYING:this.$VideoPlayerLogger5();this.$VideoPlayerLogger7();this.$VideoPlayerLogger8=true;if(this.$VideoPlayerLogger2[j.STARTED_PLAYING]){u.state=p.UNPAUSED;}else u.state=p.STARTED;break;case j.STARTED_PLAYING:case j.UNPAUSED:case j.FINISHED_PLAYING:case j.CANCELLED_REQUESTED_PLAYING:case j.ERROR:case j.PAUSED:if(event===j.ERROR&&u.state!==l.PLAYBACK_FAILURE)break;if(event===j.CANCELLED_REQUESTED_PLAYING)if(this.$VideoPlayerLogger2[j.STARTED_PLAYING]){u.state=p.UNPAUSED;}else u.state=p.STARTED;if(this.$VideoPlayerLogger8)this.$VideoPlayerLogger9();this.$VideoPlayerLoggera(u);this.$VideoPlayerLogger5();break;}var v={logData:u,event:event,scriptPath:this.$VideoPlayerLoggerb,source:this.$VideoPlayerLogger0};if(!event)h.reportError(new Error(r('VideoPlayerLogger: Missing event name')),false);if(this.$VideoPlayerLogger0===n.ANIMATED_IMAGE_SHARE)return;if(u.ad_client_token){g.post(s,v,g.VITAL);}else g.post(s,v);if(event===j.FINISHED_PLAYING||event===j.PAUSED){var w=u.time_ms||Date.now(),x=u.video_time_position-u.video_last_start_time_position;if(x>=0)i.maybeReportActiveInterval('video',w-Math.floor(x*1000),w);}};t.prototype.setScriptPath=function(u){"use strict";this.$VideoPlayerLoggerb=u;};t.prototype.setFTData=function(u){"use strict";this.$VideoPlayerLogger1=u;};t.prototype.startBuffering=function(){"use strict";this.$VideoPlayerLogger7();};t.prototype.endBuffering=function(){"use strict";if(this.$VideoPlayerLoggerc>0)this.$VideoPlayerLogger9();};t.prototype.$VideoPlayerLogger7=function(){"use strict";this.$VideoPlayerLoggerc=Date.now();};t.prototype.$VideoPlayerLogger9=function(){"use strict";var u=(Date.now()-this.$VideoPlayerLoggerc);this.$VideoPlayerLoggerd=this.$VideoPlayerLoggerd+u;this.$VideoPlayerLogger4=this.$VideoPlayerLogger4+u;this.$VideoPlayerLoggere++;};t.prototype.getCurrentStallTime=function(){"use strict";return this.$VideoPlayerLogger4;};t.prototype.$VideoPlayerLoggera=function(u){"use strict";u.stall_time=Math.max(0,this.$VideoPlayerLoggerd);u.stall_count=this.$VideoPlayerLoggere;};t.prototype.$VideoPlayerLogger5=function(){"use strict";this.$VideoPlayerLoggerd=0;this.$VideoPlayerLoggerc=0;this.$VideoPlayerLoggere=0;this.$VideoPlayerLogger8=false;};q(t,{Sources:n,Errors:k,FallbackReasons:m,ErrorStates:l,PlayerStates:p});e.exports=t;},null);
__d("XPubcontentRelatedVideoInlineController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/pubcontent\/related_video_inline\/",{fbvideo_id:{type:"Int",required:true},root_video_id:{type:"Int"}});},null);
__d("EntstreamAttachmentRelatedFBVideo",["Arbiter","AsyncRequest","AttachmentRelatedShareConstants","csx","cx","CSS","DOM","DOMQuery","Event","ge","Parent","VideoPlayerReason","XPubcontentRelatedVideoInlineController"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){b.__markCompiled&&b.__markCompiled();var t={addHoverListener:function(u,v){var w=p(v),x=m.scry(w,"^div._3f-c")[0];o.listen(x,'mouseover',this.doHover.bind(this,u));o.listen(x,'mouseout',this.doHoverOut.bind(this,u));},addClickOutListener:function(u,v){var w=p(v);o.listen(w,'click',this.doHoverOut.bind(this,u));},doHover:function(u){u.play(r.USER);u.mute();},doHoverOut:function(u,v){u.pause(r.USER);},loadRelatedLSCInlineFBVideoAttachmentInRelatedCard:function(u,v,w,x,y,z){var aa=null;if(typeof v==='string'){aa=p(v);}else aa=v;if(!aa)return;var ba=null;if(typeof u==='string'){ba=p(u);}else ba=u;if(!ba)return;o.listen(ba,'click',function(event){var ca=event.srcElement?event.srcElement:event.target;if(ca)for(var da in z){var ea=p(z[da]);if(ea&&n.contains(ea,ca))return;}if(event.isDefaultRequested())return;event.preventDefault();var fa=null;if(y){var ga=m.scry(aa,"^ul._5h5a")[0];if(!ga)return;fa=ga.previousSibling;}else fa=ba.children[0];setTimeout(function(){var ha=s.getURIBuilder();ha.setInt('fbvideo_id',w);ha.setInt('root_video_id',x);new h().setURI(ha.getURI()).setRelativeTo(fa).send();},1000);});},loadRelatedLSCInlineFBVideoAttachment:function(u,v,w){var x=null;if(!x)return;o.listen(x,'click',function(event){if(event.isDefaultRequested())return;event.preventDefault();var y="^div._4-u2",z="_4zdu",aa=m.scry(x,y),ba=aa.length===1?aa[0]:null,ca=ba.parentNode,da=ca.previousSibling;while(!da){ca=ca.parentNode;da=ca.previousSibling;}if(!l.hasClass(da,z)){var ea=m.create('div',{className:z}),fa=m.insertBefore(ba.parentNode,ea),ga=fa.length>=1?fa[0]:null;}else ga=da;if(ga.childNodes[0])l.hide(ga.childNodes[0]);var ha="div._4icy",ia=m.scry(ca,ha)[0];if(ia){var ja="_4icx";l.setClass(ia,ja);}setTimeout(function(){var ka=s.getURIBuilder();ka.setInt('fbvideo_id',v);new h().setURI(ka.getURI()).setRelativeTo(ga).send();if(w)g.inform(i.FBVIDEO_CLICK,{attachment:x,fbvideo_id:v,continued_chaining:true});if(ia)if(w){m.remove(ia);}else l.setClass(ia,"_4icy");},1000);});},loadRelatedFBVideos:function(u,v){var w=p(u);if(!w)return;var x="_4zdu",y=q.byClass(w,x);if(y)return;var z=o.listen(w,'click',function(){z.remove();g.inform(i.FBVIDEO_CLICK,{attachment:w,fbvideo_id:v});});}};e.exports=t;},null);
__d("flash-js",["copyProperties"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(){}g(h,{INIT:'flash/init',READY:'flash/ready',FAILED:'flash/failed'});e.exports=h;},null);
__d("legacy:flash-js",["flash-js"],function(a,b,c,d){b.__markCompiled&&b.__markCompiled();a.Flash=b('flash-js');},3);
__d("getLayoutRoot",["DOMQuery","csx"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=null;function j(){if(!i)i=g.scry(document.body,"._li")[0];return i;}e.exports=j;},null);
__d("SpotlightViewerUnmountOnClose",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h){"use strict";this.$SpotlightViewerUnmountOnClose0=h;}g.prototype.enable=function(){"use strict";this.$SpotlightViewerUnmountOnClose1=this.$SpotlightViewerUnmountOnClose0.subscribeOnce('close',this.$SpotlightViewerUnmountOnClose0.unmountComponent.bind(this.$SpotlightViewerUnmountOnClose0));};g.prototype.disable=function(){"use strict";this.$SpotlightViewerUnmountOnClose1&&this.$SpotlightViewerUnmountOnClose1.unsubscribe();delete this.$SpotlightViewerUnmountOnClose1;};e.exports=g;},null);
__d("CurationCaretNux",["csx","cx","ge","tidyEvent","AsyncRequest","CSS","DataStore","DOM","Event","Parent","Rect"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();var r="div._1zpr",s="_5jmm",t='CurationCaretNux_instance',u='CurationCaretNux_caretMenuLoaded',v=100,w="caret_nux",x="save_option_nux",y="seen",z="dismissed",aa="focus",ba="click",ca="scroll",da=false;function ea(fa,ga,ha,ia){"use strict";var ja=i(ia);if(ja){this.container=ja;this.caret=ha;this.caretNux=fa.instance;this.caretNuxData=fa;this.saveOptionNux=ga.instance;this.saveOptionNuxData=ga;this.popoverTriggered=false;var ka=p.byClass(ja,s);m.set(ka,t,this);this.$CurationCaretNux0();}}ea.prototype.$CurationCaretNux0=function(){"use strict";var fa=n.scry(this.container,r);if(fa.length>0)j([o.listen(fa[0],'click',function(){if(da)return;this.caretNux.subscribe('show',function(){this.$CurationCaretNux1();}.bind(this));this.caretNux.subscribe('hide',function(){this.$CurationCaretNux2();if(da){this.$CurationCaretNux3(w,y);this.$CurationCaretNux3(w,z);}}.bind(this));this.$CurationCaretNux4();this.interactionTime=0;setTimeout(function(){if(!this.$CurationCaretNux5()){da=true;this.caretNux.show();}}.bind(this),this.caretNuxData.min_consume_duration);setTimeout(function(){if(!this.$CurationCaretNux5()){da=false;this.caretNux.hide();}}.bind(this),this.caretNuxData.max_consume_duration);var ga=Date.now();setTimeout(function(){this.$CurationCaretNux6(function(){if(!this.interactionTime)this.interactionTime=Date.now()-ga;}.bind(this));}.bind(this),0);}.bind(this))]);};ea.prototype.$CurationCaretNux5=function(){"use strict";return this.interactionTime&&this.interactionTime>0;};ea.prototype.$CurationCaretNux1=function(){"use strict";this.caretClickListener=o.listen(this.caret,'click',function(){this.caretNux.hide();if(this.saveOptionNux){this.popoverTriggered=true;this.$CurationCaretNux7();}}.bind(this));var fa=false;this.$CurationCaretNux6(function(ga){if(fa||ga===ba||!this.caretNux.isShown())return;var ha=q.getViewportWithoutScrollbarsBounds(),ia=q.getElementBounds(this.caretNux.getContentRoot());ia=ia.sub(0,v);if(ha.contains(ia)){this.$CurationCaretNux3(w,y);fa=true;}}.bind(this));};ea.prototype.$CurationCaretNux2=function(){"use strict";this.caretClickListener.remove();this.$CurationCaretNux8();};ea.prototype.$CurationCaretNux7=function(){"use strict";if(this.$CurationCaretNux9()&&this.popoverTriggered)setTimeout(function(){var fa=n.scry(document,"li.save_caret_menu_item");for(var ga=0;ga<fa.length;ga++){var ha=fa[ga],ia=p.byClass(ha,"uiLayer");if(ia&&l.shown(ia)){this.saveOptionNux.setContext(ha);break;}}this.saveOptionNux.show();this.$CurationCaretNux3(x,y);var ja=m.get(this.caret,'Popover');ja&&ja.subscribeOnce('hide',function(){this.saveOptionNux.hide();}.bind(this));}.bind(this),0);};ea.prototype.$CurationCaretNux3=function(fa,ga){"use strict";var ha;if(fa===w){ha=this.caretNuxData;}else if(fa===x){ha=this.saveOptionNuxData;}else throw "Invalid nux type";var ia;if(ga===y){ia=ha.seen_uri;ha.seen_uri=null;}else if(ga===z){ia=ha.dismiss_uri;ha.dismiss_uri=null;}else throw "Invalid impression type";if(ia){var ja=new k(ia);if(this.interactionTime&&fa===w)ja.setData({interaction_time:this.interactionTime});ja.send();}};ea.prototype.$CurationCaretNux6=function(fa){"use strict";this.$CurationCaretNuxa.push(fa);};ea.prototype.$CurationCaretNuxb=function(fa){"use strict";this.$CurationCaretNuxa.forEach(function(ga){ga.call(this,fa);},this);};ea.prototype.$CurationCaretNux4=function(){"use strict";if(!this.$CurationCaretNuxc){this.$CurationCaretNuxa=[];this.$CurationCaretNuxc=[o.listen(window,'click',this.$CurationCaretNuxb.bind(this,ba)),o.listen(window,'focus',this.$CurationCaretNuxb.bind(this,aa)),o.listen(window,'scroll',this.$CurationCaretNuxb.bind(this,ca))];}};ea.prototype.$CurationCaretNux8=function(fa){"use strict";if(this.$CurationCaretNuxc){while(this.$CurationCaretNuxc.length)this.$CurationCaretNuxc.pop().remove();this.$CurationCaretNuxc=null;this.$CurationCaretNuxa=null;}};ea.prototype.$CurationCaretNux9=function(){"use strict";v
__d("legacy:swfobject",["swfobject"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();a.deconcept=g;a.SWFObject=g.SWFObject;a.showFlashErrorDialog=g.showFlashErrorDialog;},3);
__d("VideoChannelViewChainLengthManager",["guid"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={generateNewSessionID:function(){this._currentSessionID=g();},getLoggingData:function(){return {video_chaining_depth_level:this.getCurrentChainLength(),video_chaining_session_id:this.getCurrentSessionID()};},registerChainingInfos:function(i,j){var k=i;if(j){var l=j.decode();k=l.root_id;}if(k)k=k.toString();this.registerVideoID(k,i);},registerVideoID:function(i,j){var k=0;if(i!==j)k=1;if(!this._currentRootVideoID||this._currentRootVideoID!==i){this.generateNewSessionID();this._currentRootVideoID=i;this._chainLength=k;}else if(this._currentVideoID!==j)this.incrementChainLength();this._currentVideoID=j;},incrementChainLength:function(){this._chainLength=this._chainLength+1;},getCurrentSessionID:function(){return this._currentSessionID;},getCurrentChainLength:function(){if(this._chainLength===(void 0)){return null;}else return this._chainLength;}};e.exports=h;},null);
__d("VideoAutoplayControllerX",["DOMDimensions","Event","SubscriptionsHandler","VideoPlayerReason","Visibility","destroyOnUnload","throttle"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=null,o=500;function p(){"use strict";this.$VideoAutoplayControllerX0=null;this.$VideoAutoplayControllerX1=null;this.$VideoAutoplayControllerX2=new i();this.$VideoAutoplayControllerX3=new i();this.$VideoAutoplayControllerX4=[];this.setAutoplayInterval(o);l(function(){this.$VideoAutoplayControllerX5();if(this===n)n=null;}.bind(this));}p.prototype.setAutoplayInterval=function(q){"use strict";if(q===this.$VideoAutoplayControllerX6)return;this.$VideoAutoplayControllerX6=q;this.$VideoAutoplayControllerX7();};p.registerVideoUnit=function(q){"use strict";if(n==null)n=new p();n.$VideoAutoplayControllerX8();n.$VideoAutoplayControllerX4.push(q);if(q.isVisible())n.$VideoAutoplayControllerX9();};p.prototype.$VideoAutoplayControllerX5=function(){"use strict";this.$VideoAutoplayControllerX2.release();this.$VideoAutoplayControllerX3.release();this.$VideoAutoplayControllerXa.remove();this.$VideoAutoplayControllerXa=null;};p.prototype.$VideoAutoplayControllerX8=function(){"use strict";if(!this.$VideoAutoplayControllerX4.length){this.$VideoAutoplayControllerX3.addSubscriptions(h.listen(window,'resize',this.$VideoAutoplayControllerX9.bind(this)),h.listen(window,'blur',this.$VideoAutoplayControllerXb.bind(this)),h.listen(window,'focus',this.$VideoAutoplayControllerXc.bind(this)),k.addListener(k.HIDDEN,this.$VideoAutoplayControllerXb.bind(this)),k.addListener(k.VISIBLE,this.$VideoAutoplayControllerXc.bind(this)));if(!this.$VideoAutoplayControllerXa)this.$VideoAutoplayControllerX7();}};p.prototype.$VideoAutoplayControllerX7=function(){"use strict";if(this.$VideoAutoplayControllerXa)this.$VideoAutoplayControllerXa.remove();this.$VideoAutoplayControllerXa=h.listen(window,'scroll',m(this.$VideoAutoplayControllerX9.bind(this),this.$VideoAutoplayControllerX6));};p.prototype.$VideoAutoplayControllerXd=function(){"use strict";var q=[];this.$VideoAutoplayControllerX4.forEach(function(r){if(r.isVisible()){q.push(r);if(!r.wasVisible){r.wasVisible=true;r.logDisplayed();}}else r.wasVisible=false;});return q;};p.prototype.$VideoAutoplayControllerXb=function(){"use strict";if(!this.$VideoAutoplayControllerX0){this.$VideoAutoplayControllerX0=this.$VideoAutoplayControllerX1;this.$VideoAutoplayControllerXe(j.PAGE_VISIBILITY);}};p.prototype.$VideoAutoplayControllerXc=function(){"use strict";if(this.$VideoAutoplayControllerX0){this.$VideoAutoplayControllerX1=this.$VideoAutoplayControllerX0;this.$VideoAutoplayControllerX0=null;this.$VideoAutoplayControllerX1.playWithoutUnmute(j.PAGE_VISIBILITY);}};p.prototype.$VideoAutoplayControllerXe=function(q){"use strict";if(this.$VideoAutoplayControllerX1){this.$VideoAutoplayControllerX1.pause(q);this.$VideoAutoplayControllerX1=null;}};p.prototype.$VideoAutoplayControllerXf=function(){"use strict";if(this.$VideoAutoplayControllerX1.addListener){this.$VideoAutoplayControllerX2.release();this.$VideoAutoplayControllerX2.engage();this.$VideoAutoplayControllerX2.addSubscriptions.apply(this.$VideoAutoplayControllerX2,['finishPlayback','turnOffAutoplay'].map(function(event){return this.$VideoAutoplayControllerX1.addListener(event,function(){this.$VideoAutoplayControllerX2.release();this.$VideoAutoplayControllerX1=null;}.bind(this));}.bind(this)));}};p.prototype.$VideoAutoplayControllerX9=function(){"use strict";var q=this.$VideoAutoplayControllerXd(),r=q.length,s=null;if(r==1){s=q[0];s=s.isAutoplayable()?s:null;}else if(r>1){var t=g.getViewportDimensions().height/2;q.forEach(function(u){if(!u.isAutoplayable())return;var v=u.getDOMPosition(),w=v.y+v.height/2,x=Math.abs(w-t);u.playPriority=x;if(!s||u.playPriority<s.playPriority)s=u;});}if(this.$VideoAutoplayControllerX1){if(s!=this.$VideoAutoplayControllerX1){this.$VideoAutoplayControllerXe(j.AUTOPLAY);this.$VideoAutoplayControllerX1=s;if(this.$VideoAutoplayControllerX1){this.$VideoAutoplayControllerXf();this.$VideoAutoplayControllerX1.playWithoutUnmute(j.AUTOPLAY)
__d("VideoPlayerAdditionalLogDataGetter",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h){"use strict";if(typeof h==='function'){this.$VideoPlayerAdditionalLogDataGetter0=null;this.$VideoPlayerAdditionalLogDataGetter1=h;}else{this.$VideoPlayerAdditionalLogDataGetter0=h;this.$VideoPlayerAdditionalLogDataGetter1=null;}}g.prototype.get=function(){"use strict";if(this.$VideoPlayerAdditionalLogDataGetter1)return this.$VideoPlayerAdditionalLogDataGetter1();return this.$VideoPlayerAdditionalLogDataGetter0;};e.exports=g;},null);
__d("VideoPlayerApiEvents",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g=['buffered','buffering','beginPlayback','updateStatus','logEvent','pausePlayback','clickForTracking','finishPlayback','unmuteVideo','muteVideo','changeVolume','turnOffAutoplay','expandVideo','updateBuffer','updateMetadata','qualityChange','error'];e.exports=g;},null);
__d("SpotlightVideoDimensions",["PhotoViewerDimensions","Vector"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i=520;function j(k){"use strict";this.$SpotlightVideoDimensions0=new g();this.$SpotlightVideoDimensions1=k;}j.prototype.getStageAndVideoDimensions=function(k){"use strict";var l=this.$SpotlightVideoDimensions0.getMaxStageDimensions(),m=this.$SpotlightVideoDimensions0.getImageDimensionsForStage(k,l.sub(this.$SpotlightVideoDimensions1,0)),n=new h(m.x+this.$SpotlightVideoDimensions1,Math.max(m.y,i));return {stageDimensions:n,videoDimensions:m};};e.exports=j;},null);
__d("VideoSpotlight",["LayerHideOnBlur","LayerHideOnEscape","ReactLayer","Spotlight","cx","getLayoutRoot","invariant"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=i.createClass({getDefaultEnabledBehaviors:function(){return {hideOnBlur:g,hideOnEscape:h};},createLayer:function(o){m(l());var p=this.enumerateBehaviors(this.props.behaviors),q={addedBehaviors:p,rootClassName:"_5v-m"},r=new j(q,o);r.conditionShow(this.props.shown);r.setInsertParent(l());if(this.props.onHide)r.subscribe('hide',this.props.onHide);return r;},receiveProps:function(o){this.layer.conditionShow(o.shown);}});e.exports=n;},null);
__d("SpotlightVideoViewer",["ArbiterMixin","BehaviorsMixin","Event","React","ReactLayeredComponentMixin","SpotlightVideoDimensions","SpotlightViewerClose","SpotlightViewerUnmountOnClose","SpotlightViewport","SubscriptionsHandler","Style","Vector","VideoSpotlight","cx","getViewportDimensions","invariant"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){b.__markCompiled&&b.__markCompiled();var w=360,x=j.createClass({displayName:"SpotlightVideoViewer",mixins:[g,h,k],behaviors:[n],componentWillMount:function(){this.enableBehaviors(this.behaviors);},componentDidMount:function(){this._subscriptions.addSubscriptions(i.listen(window,'resize',this._onResize));this._popOutVideo();},componentWillUnmount:function(){this._subscriptions.release();this.destroyBehaviors();},getInitialState:function(){this._dimensions=new l(w);this._originalDimensions=new r(this.props.videoElement.offsetWidth,this.props.videoElement.offsetHeight);this._targetDimensions=this._originalDimensions.mul(2);this._subscriptions=new p();return {dimensions:this._dimensions.getStageAndVideoDimensions(this._targetDimensions)};},renderLayers:function(){var y={height:this.state.dimensions.stageDimensions.y+'px'};return {videoLayer:j.createElement(s,{onHide:this._popInVideo,shown:true},j.createElement("div",{className:"_n3"},j.createElement(o,{stageDimensions:this.state.dimensions.stageDimensions},j.createElement(m,{onClick:this._handleClose}),j.createElement("div",{className:"rfloat _5xg6",style:y},j.createElement("div",{className:"_5xg7"},' ',"UFI Section",' ')))))};},render:function(){return j.createElement("div",null);},_handleClose:function(){this.inform('close');},_onResize:function(){this.setState({dimensions:this._dimensions.getStageAndVideoDimensions(this._targetDimensions)});this._repositionVideo();},_popOutVideo:function(){v(this.props.videoElement);q.apply(this.props.videoElement,{position:'fixed','z-index':'401'});this._repositionVideo();},_popInVideo:function(){this._handleClose();v(this.props.videoElement);var y=this._originalDimensions.x,z=this._originalDimensions.y;q.apply(this.props.videoElement,{left:0,height:z+'px',position:'static',top:0,width:y+'px','z-index':'auto'});q.apply(this.props.swfElement,{height:z+'px',width:y+'px'});},_repositionVideo:function(){var y=u.withoutScrollbars(),z=this.state.dimensions.videoDimensions.y,aa=this.state.dimensions.videoDimensions.x-1,ba=y.width/2-this.state.dimensions.stageDimensions.x/2+1,ca=y.height/2-z/2;q.apply(this.props.videoElement,{height:z+'px',left:ba+'px',top:ca+'px',width:aa+'px'});q.apply(this.props.swfElement,{height:z+'px',width:aa+'px'});}});e.exports=x;},null);
__d("VideoViewer",["DOM","React","SpotlightVideoViewer"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j={_viewerContainer:null,bootstrapWithElement:function(k,l){var m=h.createElement(i,{swfElement:l,videoElement:k});j.renderViewer(m);},renderViewer:function(k){if(!this._viewerContainer){this._viewerContainer=g.create('div');document.body.appendChild(this._viewerContainer);}k=h.render(k,this._viewerContainer);k.subscribeOnce('close',function(){g.empty(this._viewerContainer);}.bind(this));}};e.exports=j;},null);
__d("logVideosClickTracking",["clickRefAction"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(i){g('click',i,null,'FORCE');}e.exports=h;},null);
__d("VideoInlinePlayerController",["Arbiter","AttachmentRelatedShareConstants","CSS","DOM","DOMDimensions","Event","EventEmitter","LitestandStoryInsertionStatus","Run","SubscriptionsHandler","VideoAutoplayPlayButton","VideoPlayerAdditionalLogDataGetter","VideoPlayerApiEvents","VideoPlayerLoggerEvents","VideoPlayerLoggerErrors","VideoPlayerLoggerErrorStates","VideoPlayerLoggerFallbackReasons","VideoViewer","cx","logVideosClickTracking","VideoPlayerReason"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa){b.__markCompiled&&b.__markCompiled();var ba=1,ca=100,da=10000;for(var ea in m)if(m.hasOwnProperty(ea))ga[ea]=m[ea];var fa=m===null?null:m.prototype;ga.prototype=Object.create(fa);ga.prototype.constructor=ga;ga.__superConstructor__=m;function ga(ha,ia){"use strict";fa.constructor.call(this);this.$VideoInlinePlayerController0=ia;this.$VideoInlinePlayerController1=ha;this.$VideoInlinePlayerController2=this.isAutoplayable();this.$VideoInlinePlayerController3=new p();this.$VideoInlinePlayerController4=null;o.onLeave(function(){this.$VideoInlinePlayerController3.release();}.bind(this));this.$VideoInlinePlayerController5=false;if(q.getClicked(ia.flash_id))this.$VideoInlinePlayerController5=true;this.$VideoInlinePlayerController6=ia.controller;this.$VideoInlinePlayerController6.setAdditionalLogDataGetter(new r(function(){return {autoplay_eligible:this.isAutoplayable()};}.bind(this)));if(this.$VideoInlinePlayerController6.isImplementationUnavailable())this.$VideoInlinePlayerController7();this.$VideoInlinePlayerController8();if(this.$VideoInlinePlayerController9('fallback'))return;if(this.$VideoInlinePlayerController5)this.$VideoInlinePlayerControllera(aa.USER);this.$VideoInlinePlayerControllerb();q.unregister(this.$VideoInlinePlayerController0.flash_id);if(this.$VideoInlinePlayerController1.thumbnails)this.$VideoInlinePlayerController1.thumbnails.forEach(function(ja){this.$VideoInlinePlayerController3.addSubscriptions(l.listen(ja,'click',function(){return this.$VideoInlinePlayerControllerc();}.bind(this)));}.bind(this));this.$VideoInlinePlayerController3.addSubscriptions(l.listen(this.$VideoInlinePlayerController1.play_icon,'click',function(){return this.$VideoInlinePlayerControllerc();}.bind(this)),n.registerBlocker(function(){return this.$VideoInlinePlayerController9('playing');}.bind(this)));if(this.$VideoInlinePlayerControllerd()){this.$VideoInlinePlayerController1.pivotThumbs.forEach(function(ja){this.$VideoInlinePlayerController3.addSubscriptions(l.listen(ja,'click',function(){this.$VideoInlinePlayerControllere();}.bind(this)));}.bind(this));this.$VideoInlinePlayerController3.addSubscriptions(l.listen(this.$VideoInlinePlayerController1.pivotNextText,'click',function(){this.$VideoInlinePlayerControllerc();}.bind(this)));this.$VideoInlinePlayerController3.addSubscriptions(l.listen(this.$VideoInlinePlayerController1.pivotReplayText,'click',function(){this.$VideoInlinePlayerControllere();}.bind(this)));}}ga.prototype.$VideoInlinePlayerControllerf=function(){"use strict";return !!this.$VideoInlinePlayerController0.show_play_button_on_finish;};ga.prototype.isVisible=function(){"use strict";if(this.$VideoInlinePlayerController6.isFullscreen())return true;var ha=k.getViewportDimensions().height,ia=this.getDOMPosition();if(ia.height===0)return false;var ja=ia.y+(1-ba)*ia.height,ka=ia.y+ba*ia.height;if(ja>=0&&ka<ha)return true;return false;};ga.prototype.$VideoInlinePlayerController7=function(){"use strict";this.$VideoInlinePlayerControllerg(false,w.FLASH_UNAVAILABLE);};ga.prototype.isAutoplayable=function(){"use strict";return this.$VideoInlinePlayerController0.viewport_autoplay&&!this.$VideoInlinePlayerControllerh;};ga.prototype.$VideoInlinePlayerControllera=function(ha){"use strict";if(this.$VideoInlinePlayerController2){this.$VideoInlinePlayerController2=false;this.$VideoInlinePlayerController6.unmute();}this.$VideoInlinePlayerController6.play(ha);};ga.prototype.getCurrentTimePosition=function(){"use strict";return this.$VideoInlinePlayerController6.getCurrentTimePosition();};ga.prototype.playWithoutUnmute=functio
__d("XVideoRhcController",["XController"],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();e.exports=b("XController").create("\/video\/righthandcolumn\/",{video_id:{type:"String",required:true}});},null);
__d("VideoRhcController",["AsyncRequest","CSS","DOMDimensions","DockingElement","Event","StickyRHC","SubscriptionsHandler","VideoPlayerReason","ViewportBounds","XVideoRhcController","destroyOnUnload","throttle"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){b.__markCompiled&&b.__markCompiled();var s=500,t=null;function u(){"use strict";this.$VideoRhcController0=null;this.$VideoRhcController1=new m();this.$VideoRhcController2=null;this.$VideoRhcController3=null;this.$VideoRhcController4=null;this.$VideoRhcController5=null;this.$VideoRhcController6=null;q(function(){if(this.$VideoRhcController5)this.$VideoRhcController5.remove();this.$VideoRhcController0=null;if(this.$VideoRhcController1)this.$VideoRhcController1.release();this.$VideoRhcController1=null;this.$VideoRhcController2=null;this.$VideoRhcController3=null;if(this.$VideoRhcController4)this.$VideoRhcController4.destroy();this.$VideoRhcController4=null;this.$VideoRhcController5=null;this.$VideoRhcController6=null;if(this===t)t=null;}.bind(this));}u.getInstance=function(){"use strict";if(t==null)t=new u();return t;};u.addRhcRootElement=function(v){"use strict";var w=u.getInstance();w.setRhcRootElement(v);};u.initRhcVideoUnit=function(v,w){"use strict";var x=u.getInstance();x.setRhcVideoUnit(v,w);};u.registerVideoUnit=function(v){"use strict";var w=u.getInstance();w.$VideoRhcController7();v.addListener('beginPlayback',function(x){return w.$VideoRhcController8(v,x.reason);});v.addListener('unmuteVideo',function(x){return w.$VideoRhcController9(v);});};u.prototype.setRhcRootElement=function(v){"use strict";this.$VideoRhcController2=v;this.$VideoRhcController4=new j(this.$VideoRhcController2);this.$VideoRhcController4.setOffset(o.getTop());};u.prototype.setRhcVideoUnit=function(v,w){"use strict";this.$VideoRhcController3=v;this.$VideoRhcController6=w;this.$VideoRhcController6.onclick=function(){this.$VideoRhcControllera();}.bind(this);};u.prototype.$VideoRhcController8=function(v,w){"use strict";if(w!==n.USER)return;this.$VideoRhcController9(v);};u.prototype.$VideoRhcController9=function(v){"use strict";this.$VideoRhcController0=v;if(!this.$VideoRhcController0||!this.$VideoRhcController2)return;this.$VideoRhcControllera();var w=p.getURIBuilder().setString('video_id',this.$VideoRhcController0.getVideoID()).getURI();this.request=new g().setMethod('GET').setURI(w).setReadOnly(true).send();this.$VideoRhcControllerb();};u.prototype.$VideoRhcControllerb=function(){"use strict";this.$VideoRhcController1.release();this.$VideoRhcController1.engage();this.$VideoRhcController1.addSubscriptions.apply(this.$VideoRhcController1,['finishPlayback','pausePlayback'].map(function(event){return this.$VideoRhcController0.addListener(event,function(){this.$VideoRhcController1.release();this.$VideoRhcController0=null;}.bind(this));}.bind(this)));};u.prototype.$VideoRhcController7=function(){"use strict";if(this.$VideoRhcController5)return;this.$VideoRhcController5=k.listen(window,'scroll',r(this.$VideoRhcControllerc.bind(this),s));};u.prototype.$VideoRhcControllera=function(){"use strict";var v=i.getElementDimensions(this.$VideoRhcController2).height;if(this.$VideoRhcController2)h.hide(this.$VideoRhcController2);l.getInstances().forEach(function(w){w.setOffset(w.getOffset()-v);});if(this.$VideoRhcController3)this.$VideoRhcController3.pause(n.PAGE_VISIBILITY);};u.prototype.$VideoRhcControllerd=function(){"use strict";if(!this.$VideoRhcController2||h.shown(this.$VideoRhcController2))return;if(this.$VideoRhcController3&&this.$VideoRhcController0){this.$VideoRhcController3.play(n.PAGE_VISIBILITY);this.$VideoRhcController3.once('beginPlayback',function(){this.$VideoRhcController3.seek(this.$VideoRhcController0.getCurrentTimePosition());this.$VideoRhcController0.pause(n.PAGE_VISIBILITY);}.bind(this));h.show(this.$VideoRhcController2);}l.getInstances().forEach(function(v){v.setOffset(v.getOffset()+i.getElementDimensions(this.$VideoRhcController2).height);}.bind(this));};u.prototype.$VideoRhcControllerc=function(){"use strict";if(this.$VideoRhcController0&&this.$VideoRhcController2&&!this.$VideoRhcCon
__d("VideoFeedRegister",["VideoAutoplayControllerX","VideoInlinePlayerController","VideoRhcController"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j='video_watch_and_scroll',k={registerVideoUnit:function(l,m,n){var o=new h(l,m);g.registerVideoUnit(o);if(n[j])i.registerVideoUnit(o);}};e.exports=k;},null);
__d("AbstractVideoPlayerApi",["EventEmitter","VideoPlayerApiEvents","arrayContains","invariant"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();for(var k in g)if(g.hasOwnProperty(k))m[k]=g[k];var l=g===null?null:g.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=g;function m(){"use strict";l.constructor.call(this);}m.prototype.addListener=function(){"use strict";for(var n=[],o=0,p=arguments.length;o<p;o++)n.push(arguments[o]);return l.addListener.apply(this,n);};m.prototype.emit=function(){"use strict";for(var n=[],o=0,p=arguments.length;o<p;o++)n.push(arguments[o]);return l.emit.apply(this,n);};m.isImplementationUnavailable=function(){"use strict";return true;};e.exports=m;},null);
__d("VideoData",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(h){"use strict";this.$VideoData0=h;}g.prototype.hasHD=function(){"use strict";return !!this.$VideoData0.hd_src;};g.prototype.getEncodingTag=function(){"use strict";return this.$VideoData0.encoding_tag;};g.prototype.getVideoID=function(){"use strict";return this.$VideoData0.video_id;};g.prototype.getRotation=function(){"use strict";return this.$VideoData0.rotation;};g.prototype.hasSubtitles=function(){"use strict";return !!this.$VideoData0.subtitles_src;};g.prototype.getSubtitlesSrc=function(){"use strict";return this.$VideoData0.subtitles_src;};g.prototype.getPlayableSrcSD=function(){"use strict";if(this.$VideoData0.sd_src_no_ratelimit)return this.$VideoData0.sd_src_no_ratelimit;return this.$VideoData0.sd_src;};g.prototype.getPlayableSrcHD=function(){"use strict";if(this.$VideoData0.hd_src_no_ratelimit)return this.$VideoData0.hd_src_no_ratelimit;return this.$VideoData0.hd_src;};g.prototype.hasRateLimit=function(){"use strict";return !!this.$VideoData0.sd_src_no_ratelimit;};g.prototype.isHLS=function(){"use strict";return this.$VideoData0.is_hls;};g.prototype.getHDTag=function(){"use strict";return this.$VideoData0.hd_tag;};g.prototype.getSDTag=function(){"use strict";return this.$VideoData0.sd_tag;};e.exports=g;},null);
__d("VideoPlayerFlashApi",["AbstractVideoPlayerApi","Arbiter","DOMQuery","Flash","SubscriptionsHandler","VideoPlayerApiEvents","VideoPlayerLoggerErrors","VideoPlayerLoggerEvents","destroyOnUnload","invariant"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){b.__markCompiled&&b.__markCompiled();function q(v){if(v.hasAttribute('data-flash'))return v.getAttribute('id');return i.find(v,'div[data-flash]').getAttribute('id');}function r(v){var w=i.scry(v,'embed');if(!w.length)w=i.scry(v,'object');p(w.length);return w[0];}for(var s in g)if(g.hasOwnProperty(s))u[s]=g[s];var t=g===null?null:g.prototype;u.prototype=Object.create(t);u.prototype.constructor=u;u.__superConstructor__=g;function u(v,w){"use strict";t.constructor.call(this);this.$VideoPlayerFlashApi0=r(v);this.$VideoPlayerFlashApi1=q(v);this.$VideoPlayerFlashApi2=false;this.$VideoPlayerFlashApi3=new k();this.$VideoPlayerFlashApi3.addSubscriptions(h.subscribe(l.map(function(x){return 'flash/'+x;}),this.$VideoPlayerFlashApi4.bind(this)));o(function(){return this.$VideoPlayerFlashApi3.release();}.bind(this));this.$VideoPlayerFlashApi5=w;}u.onImplementationReady=function(v,w){"use strict";var x=q(v),y=h.subscribe('flash/ready',function(z,aa){if(aa.divID===x){h.unsubscribeCurrentSubscription();h.releaseCurrentPersistentEvent();w(v);}});o(function(){return y.unsubscribe();});};u.isImplementationUnavailable=function(){"use strict";return !j.isAvailable();};u.prototype.$VideoPlayerFlashApi4=function(v,w){"use strict";if(w.divID!==this.$VideoPlayerFlashApi1)return;var x=v.substr('flash/'.length);switch(x){case 'beginPlayback':this.$VideoPlayerFlashApi6=w.position;this.$VideoPlayerFlashApi7=w.position;this.$VideoPlayerFlashApi2=true;break;case 'updateStatus':this.$VideoPlayerFlashApi7=w.position;break;case 'finishPlayback':this.$VideoPlayerFlashApi7=this.getPlaybackDuration();case 'pausePlayback':this.$VideoPlayerFlashApi2=false;}this.emit(x,w);};u.prototype.pause=function(v){"use strict";for(var w=[],x=1,y=arguments.length;x<y;x++)w.push(arguments[x]);if(v==='unloaded'&&typeof this.$VideoPlayerFlashApi0.pauseVideo!=='function'){if(this.$VideoPlayerFlashApi2)this.emit('logEvent',{logData:{event:n.PAUSED,reason:'unloaded',video_last_start_time_position:this.$VideoPlayerFlashApi6,video_time_position:this.$VideoPlayerFlashApi7}});return;}this.$VideoPlayerFlashApi2=false;this.$VideoPlayerFlashApi8('pauseVideo',[v].concat(w));};u.prototype.play=function(){"use strict";for(var v=[],w=0,x=arguments.length;w<x;w++)v.push(arguments[w]);this.$VideoPlayerFlashApi8('playVideo',v,true);};u.prototype.seek=function(){"use strict";for(var v=[],w=0,x=arguments.length;w<x;w++)v.push(arguments[w]);this.$VideoPlayerFlashApi8('seekVideo',v);};u.prototype.switchVideo=function(){"use strict";for(var v=[],w=0,x=arguments.length;w<x;w++)v.push(arguments[w]);this.$VideoPlayerFlashApi8('switchVideo',v);};u.prototype.unmute=function(){"use strict";for(var v=[],w=0,x=arguments.length;w<x;w++)v.push(arguments[w]);this.$VideoPlayerFlashApi8('unmuteVideo',v);};u.prototype.mute=function(){"use strict";for(var v=[],w=0,x=arguments.length;w<x;w++)v.push(arguments[w]);this.$VideoPlayerFlashApi8('muteVideo',v);};u.prototype.isMuted=function(){"use strict";for(var v=[],w=0,x=arguments.length;w<x;w++)v.push(arguments[w]);return this.$VideoPlayerFlashApi8('isVideoMuted',v);};u.prototype.getPlaybackDuration=function(){"use strict";for(var v=[],w=0,x=arguments.length;w<x;w++)v.push(arguments[w]);return this.$VideoPlayerFlashApi8('getVideoDuration',v);};u.prototype.getVolume=function(){"use strict";for(var v=[],w=0,x=arguments.length;w<x;w++)v.push(arguments[w]);return this.$VideoPlayerFlashApi8('getVideoVolume',v);};u.prototype.setDimensions=function(v,w){"use strict";};u.prototype.getVideoInfo=function(){"use strict";for(var v=[],w=0,x=arguments.length;w<x;w++)v.push(arguments[w]);var y=this.$VideoPlayerFlashApi8('getVideoInfo',v,false);if(y){return JSON.parse(y);}else return null;};u.prototype.setVolume=function(){"use strict";for(var v=[],w=0,x=arguments.length;w<x;w++)v.push(arguments[w]);this.$VideoPlayerFlashApi8('setVo
__d("HTMLMediaElementReadyStates",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();var g={HAVE_NOTHING:0,HAVE_METADATA:1,HAVE_CURRENT_DATA:2,HAVE_FUTURE_DATA:3,HAVE_ENOUGH_DATA:4};e.exports=g;},null);
__d("SubRipText",[],function(a,b,c,d,e,f){b.__markCompiled&&b.__markCompiled();function g(q){var r=Number(q.substr(0,q.length-1)),s=q.substr(-1);switch(s){case 's':return r;case 'm':return r*60;case 'h':return r*3600;}var t=q.split(':');r=Number(t[t.length-1].replace(/,/,'.'));if(t.length>1)r+=Number(t[t.length-2])*60;if(t.length>2)r+=Number(t[t.length-3])*3600;return r;}function h(q){var r=q.split(/\r\n|\r|\n/).map(function(w){return w.trim();}),s=[],t=0;do{var u=r.indexOf('',t);if(u<0)u=r.length;var v=j(r.slice(t,u));if(v)s.push(v);t=u+1;}while(t>0&&t<r.length);return s;}function i(q){var r=q.split('-->');if(r.length!=2)return null;var s=g(r[0].trim()),t=g(r[1].trim());if(Number.isNaN(t)||Number.isNaN(s))return null;return {begin:s,end:t};}function j(q){if(q.length<3)return null;var r=k(q[0]),s=i(q[1]);if(!s)return null;return {counter:r,begin:s.begin,end:s.end,text:q.slice(2,6)};}function k(q){return Number(q.trim());}function l(q){var r=q.split('.');if(r[0].length<2)return "0"+r.join('.');return r.join('.');}function m(q){var r=l(Math.floor(q/3600).toString()),s=l(Math.floor(q%3600/60).toString()),t=l((q%60).toFixed(3));return (r+":"+s+":"+t);}function n(q){return (q.counter+"\n"+m(q.begin)+" --> "+m(q.end)+"\n"+q.text.join('\n')+"\n");}function o(q){return ("WEBVTT\n\n"+q.map(function(r){return n(r);}).join('\n'));}function p(q){"use strict";this.$SubRipText0=h(q);this.$SubRipText0.sort(function(r,s){return r.counter-s.counter;});this.$SubRipText1=this.$SubRipText0.map(function(r,s){return s;}).sort(function(r,s){return this.$SubRipText0[r].begin-this.$SubRipText0[s].begin;}.bind(this));this.invalidateCache();}p.prototype.$SubRipText2=function(q){"use strict";return this.$SubRipText0[this.$SubRipText1[q]];};p.prototype.$SubRipText3=function(q){"use strict";var r=this.$SubRipText4;while(r<this.$SubRipText1.length){var s=this.$SubRipText2(r);if(s.begin<=q){this.$SubRipText5.push(s);r++;}else break;}this.$SubRipText4=r;};p.prototype.$SubRipText6=function(q){"use strict";this.$SubRipText5=this.$SubRipText5.filter(function(r){return r.end>q;});};p.prototype.invalidateCache=function(){"use strict";this.$SubRipText7=0;this.$SubRipText5=[];this.$SubRipText4=0;};p.prototype.getSubtitles=function(q){"use strict";if(q<this.$SubRipText7)this.invalidateCache();this.$SubRipText7=q;this.$SubRipText3(q);this.$SubRipText6(q);return this.$SubRipText5.reduce(function(r,s){return r.concat(s.text);},[]);};p.prototype.renderVTT=function(){"use strict";return o(this.$SubRipText0);};e.exports=p;},null);
__d("onCanPlayHTMLMediaElement",["EventListener","HTMLMediaElementReadyStates","invariant","setImmediate"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();function k(m){return m>=h.HAVE_FUTURE_DATA;}function l(m,n){i(m instanceof window.HTMLMediaElement);if(k(m.readyState))j(n);return g.listen(m,'canplay',n);}l.once=function(m,n){var o=l(m,function(){for(var p=[],q=0,r=arguments.length;q<r;q++)p.push(arguments[q]);o.remove();n.apply(this,p);}.bind(this));};e.exports=l;},null);
__d("supportsHTML5Video",["DOM","memoize"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();e.exports=h(function(){return !!g.create('video').canPlayType;});},null);
__d("VideoPlayerHTML5Api",["AbstractVideoPlayerApi","Arbiter","BlobFactory","CSS","DOM","DOMDimensions","EventListener","HTMLMediaElementReadyStates","HVideoPlayerMixin","SubscriptionsHandler","SubRipText","VideoData","VideoPlayerLoggerEvents","VideoPlayerReason","VideoPlayerVersions","XHRRequest","classWithMixins","cx","getCrossOriginTransport","mixin","setImmediate","onCanPlayHTMLMediaElement","supportsHTML5Video"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca){b.__markCompiled&&b.__markCompiled();var da=a.URL||a.webkitURL;function ea(ma){switch(ma){case 1:return 'The fetching process for the media resource was aborted by the '+'user agent at the users request.';case 2:return 'A network error of some description caused the user agent to '+'stop fetching the media resource, after the resource was '+'established to be usable.';case 3:return 'An error of some description occurred while decoding the '+'media resource, after the resource was established to be usable.';case 4:return 'The media resource indicated by the src attribute was not '+'suitable.';}}function fa(ma){switch(ma){case 1:return 'MEDIA_ERR_ABORTED';case 2:return 'MEDIA_ERR_NETWORK';case 3:return 'MEDIA_ERR_DECODE';case 4:return 'MEDIA_ERR_SRC_NOT_SUPPORTED';default:return 'Error code '+ma+' is unknown';}}function ga(ma){if(ma.readyState>=n.HAVE_METADATA){return ma.muted;}else return !!ma.getAttribute('muted')||ma.muted;}var ha=-1,ia=w(g,z(o));for(var ja in ia)if(ia.hasOwnProperty(ja))la[ja]=ia[ja];var ka=ia===null?null:ia.prototype;la.prototype=Object.create(ka);la.prototype.constructor=la;la.__superConstructor__=ia;function la(ma){"use strict";ka.constructor.call(this);this.$VideoPlayerHTML5Api0=ma;this.$VideoPlayerHTML5Api1=ma.id;var na=l.getElementDimensions(this.$VideoPlayerHTML5Api0);this.$VideoPlayerHTML5Api2=na.width;this.$VideoPlayerHTML5Api3=na.height;this.$VideoPlayerHTML5Api4=JSON.parse(ma.getAttribute('data-config'));this.$VideoPlayerHTML5Api5={};this.$VideoPlayerHTML5Api6=ha;this.$VideoPlayerHTML5Api7=ga(ma);this.$VideoPlayerHTML5Api8=this.$VideoPlayerHTML5Api7;this.$VideoPlayerHTML5Api9=ma.volume;this.$VideoPlayerHTML5Apia=false;this.$VideoPlayerHTML5Apib=ha;this.$VideoPlayerHTML5Apic=null;this.$VideoPlayerHTML5Apid=false;this.$VideoPlayerHTML5Apie=this.$VideoPlayerHTML5Api4.disableNativeControls;this.$VideoPlayerHTML5Apif=ma.controls;this.$VideoPlayerHTML5Apig=this.$VideoPlayerHTML5Api4.subtitlesActive;this.$VideoPlayerHTML5Apih={};this.restoreControls();this.preventPauseLoggingInMixin=false;this.$VideoPlayerHTML5Apii=new p();this.$VideoPlayerHTML5Apij();this.$VideoPlayerHTML5Apik=this.$VideoPlayerHTML5Api4.defaultHD;this.$VideoPlayerHTML5Apil=this.$VideoPlayerHTML5Api4.autoFullscreenHD;this.switchVideo(0);this.initLogger(this.$VideoPlayerHTML5Apim.bind(this));}la.prototype.getAdClientToken=function(){"use strict";this.$VideoPlayerHTML5Api4.ad_client_token;};la.prototype.getVideoID=function(){"use strict";if(this.$VideoPlayerHTML5Apin)return this.$VideoPlayerHTML5Apin.getVideoID();return this.$VideoPlayerHTML5Api4.video_id;};la.prototype.getDOMElement=function(){"use strict";return this.$VideoPlayerHTML5Api0;};la.prototype.getVideoElement=function(){"use strict";return this.$VideoPlayerHTML5Api0;};la.prototype.getSubscriptions=function(){"use strict";return this.$VideoPlayerHTML5Apii;};la.onImplementationReady=function(ma,na){"use strict";aa(na);};la.prototype.getVideoInfo=function(){"use strict";if(!this.$VideoPlayerHTML5Apin)return null;return {isHLS:this.$VideoPlayerHTML5Apin.isHLS(),isHD:this.$VideoPlayerHTML5Apik,hasHD:this.$VideoPlayerHTML5Apin.hasHD(),resourceUrl:this.$VideoPlayerHTML5Apio(),subtitles:this.$VideoPlayerHTML5Apin.hasSubtitles(),hasUnlimitedSrc:this.$VideoPlayerHTML5Apin.hasRateLimit(),useUnlimitedSrc:false,tagSD:this.$VideoPlayerHTML5Apin.getSDTag(),tagHD:this.$VideoPlayerHTML5Apin.getHDTag()};};la.isImplementationUnavailable=function(){"use strict";return !ca();};la.prototype.pause=function(ma){"use strict";this.$VideoPlayerHTML5Apic=ma;if(ma==='unloaded'&&!this.$VideoPlayerHTML5Api0.paused){thi
__d("VideoPlayerApiFactory",["VideoPlayerFlashApi","VideoPlayerHTML5Api"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={create:function(j,k){var l=this._getImplementationModule(j);return new l(j,k);},_getImplementationModule:function(j){var k=null;if(j.tagName==='VIDEO'){k=h;}else k=g;return k;},onImplementationReady:function(j,k){var l=this._getImplementationModule(j);l.onImplementationReady(j,function(m){return k(m,l);});}};e.exports=i;},null);
__d("VideoCTAEndscreen",["CSS","Event","VideoPlayerReason","SubscriptionsHandler","VideoPlayerLoggerEvents","VideoPlayerReason","logVideosClickTracking"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();function n(o,p){"use strict";this.$VideoCTAEndscreen0=o;this.$VideoCTAEndscreen1=p.endscreenElement;this.$VideoCTAEndscreen2=p.replayElement;this.$VideoCTAEndscreen3=new j();this.$VideoCTAEndscreen3.addSubscriptions(h.listen(this.$VideoCTAEndscreen2,'click',function(){return this.$VideoCTAEndscreen4();}.bind(this)),o.addListener('finishPlayback',function(){return this.$VideoCTAEndscreen5();}.bind(this)),o.addListener('beginPlayback',function(){return this.$VideoCTAEndscreen6();}.bind(this)));}n.prototype.$VideoCTAEndscreen4=function(){"use strict";var o={reason:i.USER};this.$VideoCTAEndscreen0.logEvent(k.REPLAYED,o);m(this.$VideoCTAEndscreen0.getVideoNode());this.$VideoCTAEndscreen0.play(l.USER);};n.prototype.$VideoCTAEndscreen5=function(){"use strict";g.show(this.$VideoCTAEndscreen1);};n.prototype.$VideoCTAEndscreen6=function(){"use strict";g.hide(this.$VideoCTAEndscreen1);};e.exports=n;},null);
__d("VideoPlayerController",["Arbiter","Banzai","DOMDimensions","CSS","EventEmitter","Flash","FullScreen","Run","ScriptPath","SubscriptionsHandler","JSLogger","VideoChannelViewChainLengthManager","VideoPlayerApiEvents","VideoPlayerApiFactory","VideoPlayerLogger","VideoPlayerLoggerErrors","VideoPlayerLoggerErrorStates","VideoPlayerLoggerEvents","VideoPlayerInitializationEvents","VideoPlayerVersions","VideosRenderingInstrumentation","Visibility","VideoPlayerReason","arrayContains","collectDataAttributes","cx","destroyOnUnload","emptyFunction","getElementPosition","invariant","logVideosClickTracking"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka){b.__markCompiled&&b.__markCompiled();for(var la in k)if(k.hasOwnProperty(la))na[la]=k[la];var ma=k===null?null:k.prototype;na.prototype=Object.create(ma);na.prototype.constructor=na;na.__superConstructor__=k;function na(oa,pa){"use strict";var qa=oa.video_id,ra=oa.video_ids,sa=oa.chaining_token,ta=oa.source,ua=oa.ad_client_token,va=oa.should_autoplay,wa=oa.player_version,xa=oa.autoplay_setting,ya=oa.additional_logdata_getter,za=oa.apiModule,ab=pa.root_element,bb=pa.container_element,cb=pa.video_element;ma.constructor.call(this);this.$VideoPlayerController0=0;this.$VideoPlayerController1=va;this.$VideoPlayerController2=xa;this.$VideoPlayerController3=ua;this.$VideoPlayerController4=wa;this.$VideoPlayerController5=cb;this.$VideoPlayerController6=ab;this.$VideoPlayerController7=bb;this.$VideoPlayerController8=false;this.$VideoPlayerController9=false;this.$VideoPlayerControllera=qa;this.$VideoPlayerControllerb=ra||[qa];this.$VideoPlayerControllerc=sa;this.$VideoPlayerControllerd=ya||{get:ha};this.$VideoPlayerControllere=za;this.$VideoPlayerControllerf=null;this.$VideoPlayerControllerg=null;this.$VideoPlayerControllerh=new u(ta);this.collectFeedTrackingData();this.$VideoPlayerControllerh.setScriptPath(o.getScriptPath());var db=aa.retrieveRenderTime(this.$VideoPlayerController6);this.$VideoPlayerControlleri=Date.now()-db;this.logEvent(y.PLAYER_INITIALIZATION,{time_ms:db});this.$VideoPlayerControllerj=false;this.setState('loading');if(this.isImplementationUnavailable()){this.$VideoPlayerControllerk();return;}this.$VideoPlayerControllerl();h.subscribe(h.SHUTDOWN,function(){this.pause('unloaded');}.bind(this));if(this.$VideoPlayerController1)if(ba.isHidden()){ba.once(ba.VISIBLE,function(){this.play(ca.AUTOPLAY);}.bind(this));}else this.play(ca.AUTOPLAY);this.$VideoPlayerControllerm=0;this.$VideoPlayerControllern=false;this.$VideoPlayerControllero=new p();this.$VideoPlayerControllero.addSubscriptions(g.subscribe('layer_shown',function(eb,fb){if(fb.type==='DialogX'||fb.type==='PhotoSnowlift'){this.$VideoPlayerControllerm=this.$VideoPlayerControllerm+1;if(this.$VideoPlayerControllerm>0)if(this.isState('playing')){this.pause(ca.PAGE_VISIBILITY);this.$VideoPlayerControllern=true;}}}.bind(this)),g.subscribe('layer_hidden',function(eb,fb){if(fb.type==='DialogX'||fb.type==='PhotoSnowlift'){this.$VideoPlayerControllerm=this.$VideoPlayerControllerm-1;if(this.$VideoPlayerControllerm===0)if(this.$VideoPlayerControllern){this.play(ca.PAGE_VISIBILITY);this.$VideoPlayerControllern=false;}}}.bind(this)),g.subscribe(q.DUMP_EVENT,function(eb,fb){return this.$VideoPlayerControllerq(eb,fb);}.bind(this)));ga(function(){return this.$VideoPlayerControllero.release();}.bind(this));n.onLeave(function(){return this.pause('unloaded');}.bind(this));}na.prototype.collectFeedTrackingData=function(){"use strict";this.$VideoPlayerControllerh.setFTData(ea(this.getRootNode(),['ft']));};na.prototype.$VideoPlayerControllerq=function(oa,pa){"use strict";pa.video_player_debug_info=pa.video_player_debug_info||{};pa.video_player_debug_info[this.getVideoID()]=this.getDebugInfo();};na.prototype.setAdditionalLogDataGetter=function(oa){"use strict";this.$VideoPlayerControllerd=oa;};na.prototype.$VideoPlayerControllerl=function(){"use strict";if(this.$VideoPlayerControllere){this.$VideoPlayerControllere.onImplementationReady(this.getVideoNode(),function(){return this.onApiReady();}.bin
__d("VideoCover",["CSS","EventListener","VideoPlayerReason","invariant"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();function k(l,m,n){"use strict";j(n.length===l.getVideosCount());this.$VideoCover0=m;this.$VideoCover1=n;this.$VideoCover2=l;l.addListener('beginPlayback',this.$VideoCover3.bind(this));l.addListener('finishPlayback',this.$VideoCover4.bind(this));l.addListener('switchVideo',this.$VideoCover5.bind(this));h.listen(this.$VideoCover0,'click',function(){return this.$VideoCover2.play(i.USER);}.bind(this));}k.prototype.getCurrentCover=function(){"use strict";return this.$VideoCover1[this.$VideoCover2.getVideoIndex()];};k.prototype.$VideoCover3=function(){"use strict";g.hide(this.$VideoCover0);};k.prototype.$VideoCover4=function(){"use strict";g.show(this.$VideoCover0);};k.prototype.$VideoCover5=function(){"use strict";this.$VideoCover1.forEach(function(l){return g.hide(l);});g.show(this.getCurrentCover());};e.exports=k;},null);