(window.webpackJsonp=window.webpackJsonp||[]).push([["video"],{"066d":function(e,t,i){"use strict";i.r(t);var a=i("af60"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t.default=n.a},"18f2":function(e,t,i){"use strict";i.r(t);var a=i("3bbb"),n=i("d9ff");for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);i("b741");var o=i("2877"),s=Object(o.a)(n.default,a.render,a.staticRenderFns,!1,null,"74fedaf4",null);t.default=s.exports},"2fcd":function(e,t,i){"use strict";var a=i("288e");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(i("bc3a")),r=a(i("e6fd")),o=a(i("8544")),s="".concat(r.default.Api.NrsServiceRoute,"/account/KeepAlive"),d=null,l=function(){return n.default.get(s)},u=function(e){o.default.getIsRetail(e)||d&&(clearInterval(d),d=null)};t.default={sendKeepAliveCall:l,startKeepAliveTimer:function(e){o.default.getIsRetail(e)||(u(),l(),d=setInterval((function(){l()}),3e5))},stopKeepAliveTimer:u}},"3bbb":function(e,t,i){"use strict";var a=i("acb2");i.o(a,"render")&&i.d(t,"render",(function(){return a.render})),i.o(a,"staticRenderFns")&&i.d(t,"staticRenderFns",(function(){return a.staticRenderFns}))},"635c":function(e,t,i){e.exports=i.p+"img/video-icon-volume.dd3e8dc1.svg"},"6f25":function(e,t,i){"use strict";var a=i("288e");i("8e6e"),i("ac6a"),i("456d"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("a481"),i("96cf");var n=a(i("3b8d")),r=a(i("bd86"));i("c5f6");var o=i("2f62"),s=i("5118"),d=a(i("e6fd")),l=a(i("2fcd")),u=a(i("a38b")),p=a(i("8544")),c=a(i("6064")),h=a(i("2f9f")),f=a(i("7fdd")),m=a(i("8d87")),g=a(i("8da6")),y=a(i("04ff"));function v(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function S(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?v(Object(i),!0).forEach((function(t){(0,r.default)(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):v(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var T,w,b;t.default={name:"MediaPlayer",props:{autoplay:{type:Boolean,default:!0,required:!1},cuepoints:{type:Array,default:function(){return[]},required:!1},flowplayerId:{type:String,default:"media-player-root",required:!1},forceSeekTimeStamp:{type:Number,default:-1},isSlideMedia:{type:Boolean,default:!1,required:!1},isSimuLive:{type:Boolean,default:!1,required:!1},loadFlowplayerScript:{type:Boolean,default:!0,required:!1},mediaType:{type:String,default:d.default.MediaType.VIDEO,required:!1},mediaSrcUrl:{type:Array,default:function(){return[]},required:!1},playerSize:{type:Object,default:function(){return{fullscreenVideoHeight:"initial",fullscreenVideoWidth:"100%"}}},preventUserControl:{type:Boolean,default:!1,required:!1},showSpeakerInfo:{type:Boolean,default:!1,required:!1},showSpeakerImage:{type:Boolean,default:!1,required:!1},startTime:{type:Number,default:0,required:!1},showLogoWatermark:{type:Boolean,default:!1,required:!1},uiConfigVal:{type:Number,default:6295,required:!1},rewind:{type:Boolean,default:!1,required:!1},showSkipOption:{type:Boolean,default:!0,required:!1},showHDOption:{type:Boolean,default:!0,required:!1},showFullScreenOption:{type:Boolean,default:!0,required:!1},showSpeedOption:{type:Boolean,default:!0,required:!1}},data:function(){return{api:Object,cuepointTriggered:!1,flowplayerScriptLoaded:!1,loading:!0,player:{},lastLogType:null,isMediaLoaded:!1,mediaControlHeight:"25px",seekTimeStamp:this.forceSeekTimeStamp,simuliveInitialTimeStamp:null,initialLoad:!0,videoData:{},delayStoringProgress:!1,currentTime:0,duration:0,showError:!1,counter:0,fpAvailabilityThreshold:20,loader:y.default,lastTimeUpdate:0,TIMEUPDATE_DELAY_DURATION:10,mediaPlayerInitialResize:!1,resizeTimeout:null,ccReplayPlaying:!1}},components:{SpeakerInfo:function(){return i.e("speakers").then(i.bind(null,"7e59"))},SpeakerImage:function(){return i.e("speakers").then(i.bind(null,"5b79"))},SpeedSelect:function(){return i.e("speed-select").then(i.bind(null,"8baa"))},VideoError:function(){return i.e("speed-select").then(i.bind(null,"2320"))}},beforeDestroy:function(){this.isSlideMedia||(this.api.src="")},mounted:function(){var e=this,t=setInterval((function(){e.counter++,window.flowplayer&&window.flowplayer.version?(e.flowplayerScriptLoaded=!0,e.$store.commit("media/setFlowplayerScriptLoaded",!0),e.$emit("flowplayerLoaded"),clearInterval(t)):e.counter>e.fpAvailabilityThreshold&&(clearInterval(t),e.counter=0,e.loading=!1,e.$emit("errorLoadingFlowplayer"),e.showError=!0)}),500);window.addEventListener("resize",(function(){e.resizeTimeout&&clearTimeout(e.resizeTimeout),e.resizeTimeout=(0,s.setTimeout)(e.computeMediaControlSize,100)}))},computed:S(S(S(S(S(S(S(S(S(S(S({},(0,o.mapGetters)("layout",["isMobileDevice"])),(0,o.mapState)("slides",["currentSlideIndex","slides","areSlidesFullscreen"])),(0,o.mapState)("slideMedia",["isSlideMediaHD"])),(0,o.mapState)("speakers",["speakers","speakerCuepoints"])),(0,o.mapState)("presentation",["presId","isPreview"])),(0,o.mapGetters)("presentation",["isNrsConferencing"])),(0,o.mapGetters)("simulive",["isSimuLiveEnabled"])),(0,o.mapState)("media",["video","audio","isVideoFullscreen","isVideoHD","isResumeMediaEnabled","playerScriptLoaded","formattedChapters","currentChapterIndex","isSeekingForChapters"])),(0,o.mapGetters)("slideMedia",["isSlideMediaPlaying"])),(0,o.mapGetters)("liveVideo",["isPreEventModalOpen"])),{},{fullscreenIcon:function(){return this.isVideoFullscreen?f.default:h.default},fullscreenVideoHeight:function(){return this.playerSize.fullscreenVideoHeight},fullscreenVideoWidth:function(){return this.playerSize.fullscreenVideoWidth},hdIcon:function(){return this.isSlideMedia?this.isSlideMediaHD?m.default:g.default:this.isVideoHD?m.default:g.default},isAudioSelected:function(){return this.mediaType===d.default.MediaType.AUDIO},isVideoSelected:function(){return this.mediaType===d.default.MediaType.VIDEO},flowplayerScript:function(){return window.flowplayer},mediaPlaying:function(){return this.throwIfApiUndefined(),!this.isPreEventModalOpen&&this.api.playing&&this.api.currentTime!==this.simuliveInitialTimeStamp},showSpeakerImageAlt:function(){return!this.isNrsConferencing||this.ccReplayPlaying}}),methods:S(S(S(S(S(S(S(S(S(S(S(S({},(0,o.mapActions)("slides",["updateCurrentSlideIndex"])),(0,o.mapActions)("userPresData",["updateResumeMediaTimeStamp"])),(0,o.mapActions)("cuepoints",["updateSlideIndexBasedOnTime","updateTimeBasedOnSlideIndex","syncCurrentSlideToCuepointSlide"])),(0,o.mapGetters)("media",["getIsResumeMediaEnabled","getAllowShowResumeModal","getMediaWatermark","hasChapters"])),(0,o.mapGetters)("userPresData",["getResumeMediaTimeStamp"])),(0,o.mapGetters)("cuepoints",["getIsSeeking"])),(0,o.mapGetters)("speakers",["getCurrentSpeakerId"])),(0,o.mapMutations)("media",["toggleIsVideoFullscreen","setResumeModalState","setCurrentChapterIndex","setIsSeekingForChapters"])),(0,o.mapMutations)("speakers",["setCurrentSpeaker","removeCurrentSpeaker"])),(0,o.mapMutations)("slideMedia",["toggleIsSlideMediaHD"])),(0,o.mapMutations)("cuepoints",["setIsSeeking"])),{},{errorHandler:function(e){var t=!1;"fp_api_undefined"===e?(t=!0,this.$store.dispatch("log/logToLogEvent",{content:"fp_api_undefined"})):"fp_invalid_mediaUrl"===e?(t=!0,this.$store.dispatch("log/logToLogEvent",{content:"fp_invalid_media_url"})):this.$store.dispatch("log/logToLogEvent",{content:"FP_error: ".concat(e.code)}),t&&(this.loading=!1,this.showError=!0)},throwIfApiUndefined:function(){if(!this.api)throw this.errorHandler("fp_api_undefined"),new Error("fp_api_undefined")},forceFlowplayerResize:function(){this.mediaPlayerInitialResize=!0;var e=window.document.createEvent("UIEvents");e.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(e)},initFlowplayer:(b=(0,n.default)(regeneratorRuntime.mark((function e(){var t,i=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.api=flowplayer("#".concat(this.flowplayerId),{start_time:this.startTime,token:d.default.FlowPlayerKeys.PlayerToken,src:this.mediaSrcUrl,ui:this.uiConfigVal,autoplay:this.autoplay,cuepoints:this.cuepoints,rewind:this.rewind}),this.throwIfApiUndefined(),this.mediaSrcUrl){e.next=5;break}throw new Error("fp_invalid_mediaUrl");case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),this.errorHandler(e.t0);case 10:this.throwIfApiUndefined(),this.api.on("error",(function(e){i.errorHandler(e)})),this.api.toggleFullScreen=null,this.api.on("loadeddata",(function(){if(c.default.IsBrowserIE11()&&i.isSlideMedia&&(document.getElementsByClassName("slide-media-player-block")[0].parentElement.style.height="100%"),!i.isSlideMedia||i.isSlideMediaPlaying){i.throwIfApiUndefined(),i.toggleFullScreen=function(){},i.duration=i.formatVideoTime(Math.round(i.api.duration)),i.initialLoad&&(i.api.on("playing",i.onPlayingListener),i.api.on("pause",i.onPauseListener),i.api.on("progress",i.onProgressListener),i.api.on("timeupdate",i.onTimeUpdateListener),i.api.on("ended",i.onEndedListener),i.api.on("shutdown",i.onShutdownListener),i.cuepoints&&i.cuepoints.length>0&&!i.isSlideMedia?(i.api.on("cuepointstart",i.onCuepointStartListener),i.api.on("seeked",i.onSeekedListener),i.api.on("seeking",i.onSeekingListener)):i.hasChapters&&i.api.on("seeked",i.onSeekedListener),i.showLogoWatermark&&i.api.setOpts({logo:"data:img/png;base64,".concat(i.getMediaWatermark())})),i.$emit("mediaPlayerLoaded"),i.api.muted&&i.api.toggleMute(!1),i.computeMediaControlSize(),i.loading=!1,i.initialLoad=!1,i.updateCuepointBasedOnTime(),!i.isSlideMedia&&i.cuepoints.length>0&&!i.isSlideMediaPlaying&&i.updateSlideIndexBasedOnTime(i.api);var e=document.getElementById("media-player-root");if(null!==e&&!i.isSlideMedia){var t=e.getElementsByClassName("fp-timeline")[0];i.$root.$emit("createChapterBreakpoints",t,i.api.duration),i.$root.$emit("isMediaLoadedForChapters",!0)}}})),(t={}).constants=d.default,window.addEventListener("unload",(function(){i.captureCorporateTimeData(),i.clearCorpVideoTimerData(),i.$store.dispatch("log/logToLogEvent",{content:t.constants.Logs.Content.VideoClosed,eventType:t.constants.Logs.LogEventType.Closed})})),!this.isSimuLive&&this.getAllowShowResumeModal()&&this.api.pause();case 18:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(){return b.apply(this,arguments)}),getMediaStartTime:function(){return this.getIsResumeMediaEnabled()&&this.getResumeMediaTimeStamp()>=0?this.getResumeMediaTimeStamp():this.videoData.time&&!this.isSimuLive?this.videoData.time:0},togglePlayPause:function(){this.preventUserControl||(this.api.paused?this.api.play():this.api.pause())},formatVideoTime:function(e){var t=~~(e/3600),i=~~(e%3600/60),a=~~e%60,n="";return t>0&&(n+="".concat(t,":")),n+="".concat(i<10?"0":"").concat(i,":").concat(a<10?"0":"").concat(a)},computeMediaControlSize:function(){if(this.isSlideMedia)this.mediaControlHeight="0px";else{var e=document.getElementsByClassName("fp-controls")[0];e&&(this.mediaControlHeight=e.getBoundingClientRect().height);var t=document.getElementById("media-player-root");this.$root.$emit("computeVideoChapterHeight",t)}},onPlayingListener:function(){this.ccReplayPlaying=!0,this.mediaPlayerInitialResize||this.forceFlowplayerResize(),this.$emit("mediaPlaying"),u.default.startLogEventTimer(this.createEventInfo(d.default.Logs.LogEventType.KeepAlive),3e4),l.default.startKeepAliveTimer(this.presId),this.logMediaEventToLogEvent(d.default.Logs.LogEventType.Ready),this.storeVideoData(null,!0,!1),this.computeMediaControlSize()},onPauseListener:function(){this.$emit("mediaPaused"),u.default.stopLogEventTimer(),l.default.stopKeepAliveTimer(this.presId),this.logMediaEventToLogEvent(d.default.Logs.LogEventType.Pause),this.storeVideoData(null,!1,!0)},onProgressListener:function(){var e=this;this.delayStoringProgress||(this.storeVideoData(),this.delayStoringProgress=!0,(0,s.setTimeout)((function(){e.delayStoringProgress=!1}),1e3))},onTimeUpdateListener:function(e){var t=Math.round(e.target.currentTime);this.currentTime=this.formatVideoTime(t),this.isSlideMedia||!(t>=this.lastTimeUpdate+this.TIMEUPDATE_DELAY_DURATION||t<this.lastTimeUpdate-this.TIMEUPDATE_DELAY_DURATION)||this.isPreview||(this.updateResumeMediaTimeStamp(t),this.lastTimeUpdate=t),this.hasChapters&&(this.setIsSeekingForChapters(!0),this.setCurrentChapterIndex(this.getCurrentChapterIndex(t))),this.updateCuepointBasedOnTime()},onEndedListener:function(){this.ccReplayPlaying=!1,u.default.stopLogEventTimer(),this.$emit("mediaEnded"),this.api.pause(),l.default.stopKeepAliveTimer(this.presId),this.logMediaEventToLogEvent(d.default.Logs.LogEventType.End),this.storeVideoData(0)},onShutdownListener:function(){this.$emit("mediaShutDown"),l.default.stopKeepAliveTimer(this.presId),u.default.stopLogEventTimer(),this.logMediaEventToLogEvent(d.default.Logs.LogEventType.Closed)},onCuepointStartListener:function(e){this.syncCurrentSlideToCuepointSlide(e.data.cuepoint),this.getIsSeeking()||this.$emit("onCuepointStart",e)},onSeekedListener:function(){this.setIsSeeking(!1),this.hasChapters&&this.setIsSeekingForChapters(!0),this.logMediaEventToLogEvent(d.default.Logs.LogEventType.Skip,this.currentTime)},onSeekingListener:function(){this.setIsSeeking(!0)},storeVideoData:function(e,t,i){!this.api||this.isSlideMedia||this.isNrsConferencing||(this.videoData.time=null!=e?e:this.api.currentTime,this.videoData.playing=null!=t?t:this.api.playing,this.videoData.paused=null!=i?i:this.api.paused,p.default.storeVideoData(this.presId,JSON.stringify(this.videoData)),this.setResumeModalState(4))},toggleIsMuted:function(){this.api.toggleMute()},loadNewMedia:(w=(0,n.default)(regeneratorRuntime.mark((function e(){var t,i,a,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.throwIfApiUndefined(),t=this.api.paused,i=this.api.currentTime,a=this.api.playbackRate,n=null,(r=document.getElementsByClassName("fp-ratio")[0])&&(n=r.style.paddingTop),this.api.setSrc(this.mediaSrcUrl),n&&this.api.setOpts({ratio:n.replace("%","")/100}),this.isMediaLoaded=!0,this.api.currentTime=i,this.api.playbackRate=a,this.api.muted&&this.api.toggleMute(!1),t||this.api.play();case 14:case"end":return e.stop()}}),e,this)}))),function(){return w.apply(this,arguments)}),selectPlaybackSpeed:function(e){this.api.playbackRate=e.value},skipTime:function(e){e?this.api.currentTime-=10:this.api.currentTime+=10},toggleIsVideoHD:function(){this.isSlideMedia?this.$store.commit("slideMedia/toggleIsSlideMediaHD"):this.$store.commit("media/toggleIsVideoHD")},logMediaEventToLogEvent:(T=(0,n.default)(regeneratorRuntime.mark((function e(t){var i,a,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=n.length>1&&void 0!==n[1]?n[1]:null,!this.isNrsConferencing&&!this.isSimuLiveEnabled){e.next=3;break}return e.abrupt("return");case 3:if(a=this.createEventInfo(t,i),!this.lastLogType){e.next=7;break}if(this.lastLogType.eventType!==a.eventType||this.lastLogType.content!==a.content){e.next=7;break}return e.abrupt("return");case 7:return this.lastLogType=a,e.next=10,this.$store.dispatch("log/logToLogEvent",a);case 10:case"end":return e.stop()}}),e,this)}))),function(e){return T.apply(this,arguments)}),createEventInfo:function(e,t){return{eventType:e,content:this.getMediaLogEventContent(e,t),videoChosen:this.mediaType==d.default.MediaType.VIDEO,audioChosen:this.mediaType==d.default.MediaType.AUDIO,phoneChosen:!1,isMainMediaPlayer:!this.isSlideMedia}},getMediaLogEventContent:function(e,t){var i="",a=this.isSlideMedia?"Corp":"Main";switch(e){case d.default.Logs.LogEventType.Ready:i="".concat(a," player, ").concat(this.mediaType," played");break;case d.default.Logs.LogEventType.Pause:i="".concat(a," player, ").concat(this.mediaType," paused");break;case d.default.Logs.LogEventType.Skip:i="".concat(a," player, ").concat(this.mediaType," time updated to ").concat(t);break;case d.default.Logs.LogEventType.End:i="".concat(a," player, ").concat(this.mediaType," ended");break;case d.default.Logs.LogEventType.Closed:i="".concat(a," player, ").concat(this.mediaType," closed");break;case d.default.Logs.LogEventType.KeepAlive:i="".concat(a," player, ").concat(this.mediaType," keepalive")}return i},escapeKeyListener:function(e){this.isSimuLive||e.key&&"escape"===e.key.toLowerCase()&&this.toggleIsVideoFullscreen(!1)},updateCuepointFromSlideChange:function(){this.isSlideMedia||(this.updateTimeBasedOnSlideIndex(this.api),this.updateCuepointBasedOnTime())},updateCuepointBasedOnTime:function(){for(var e=-1,t=0,i=this.getCurrentSpeakerId()||-1,a=0;a<this.speakerCuepoints.length;a+=1)this.api.currentTime>Number(parseFloat(this.speakerCuepoints[a].start)-.1)&&t<Number(parseFloat(this.speakerCuepoints[a].start)+.1)&&(e=this.speakerCuepoints[a].id,t=this.speakerCuepoints[a].start);if(-1!==e?this.setCurrentSpeaker(e):this.removeCurrentSpeaker(),i!==e){var n=document.getElementById("media-player-root");this.$root.$emit("computeVideoChapterHeight",n)}},playSlideMediaFromStart:function(){!this.loading&&this.isSlideMedia&&(this.currentTime=0,this.api.currentTime=0,this.api.play())},getCurrentChapterIndex:function(e){for(var t,i=0;i<this.formattedChapters.length&&e>=this.formattedChapters[i].time;i++)t=i;return t}}),watch:{currentSlideIndex:{immediate:!0,handler:function(){this.isSlideMedia&&this.playSlideMediaFromStart(),this.updateCuepointFromSlideChange()}},areSlidesFullscreen:{handler:function(){this.forceFlowplayerResize(),this.computeMediaControlSize()}},currentChapterIndex:{handler:function(){this.formattedChapters.length>0&&this.formattedChapters[this.currentChapterIndex]&&(this.isSeekingForChapters||(this.api.currentTime=this.formattedChapters[this.currentChapterIndex].time))}},flowplayerScriptLoaded:function(e){e&&this.initFlowplayer()},isResumeMediaEnabled:function(e){var t=this,i=0;if(e)var a=setInterval((function(){t.loading?i>t.fpAvailabilityThreshold&&(t.forceFlowplayerResize(),t.computeMediaControlSize(),clearInterval(a)):(t.api.currentTime=t.getMediaStartTime(),t.forceFlowplayerResize(),t.computeMediaControlSize(),clearInterval(a)),i++}),500)},mediaSrcUrl:function(){this.loadNewMedia()},isSlideMediaPlaying:function(e){var t=this;e||this.isSlideMedia?this.api.pause():(this.api.play(),(0,s.setTimeout)((function(){t.forceFlowplayerResize()}),1500))},forceSeekTimeStamp:function(e){if(-1!==e){if(this.api.currentTime=e,e>this.api.duration)return void this.$emit("forceSeekMediaEnd");this.mediaPlaying||this.api.play(),this.$emit("update:ForceSeekTimeStamp"),this.simuliveInitialTimeStamp=e,this.api.muted&&this.api.toggleMute(!1)}},mediaPlaying:function(e){this.preventUserControl&&(e?(this.api.setOpts({seekable:!1}),this.api.toggleDisable(!0)):this.$emit("simuliveMediaPaused"))},isVideoFullscreen:function(e){var t=this;e?document.addEventListener("keydown",this.escapeKeyListener):document.removeEventListener("keydown",this.escapeKeyListener),(0,s.setTimeout)((function(){t.computeMediaControlSize(),t.forceFlowplayerResize()}))}},destroyed:function(){this.$refs.mediaPlayer&&this.$refs.mediaPlayer.destroy()}}},"760b":function(e,t,i){"use strict";i.r(t);var a=i("ea49"),n=i("066d");for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);var o=i("2877"),s=Object(o.a)(n.default,a.render,a.staticRenderFns,!1,null,null,null);t.default=s.exports},"8d87":function(e,t,i){e.exports=i.p+"img/video-icon-hd.19454ab5.svg"},"8da6":function(e,t,i){e.exports=i.p+"img/video-icon-sd.2ec6d767.svg"},a38b:function(e,t,i){"use strict";var a=i("288e");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(i("4360")),r=a(i("e6fd")),o=null,s=null,d=function(){var e={eventType:-1,content:"Tab focused changed log error"},t="";s&&null!==s.isMainMediaPlayer&&(t=s.isMainMediaPlayer?", Main video player":", Corp video player"),"visible"===document.visibilityState?(e.eventType=r.default.Logs.LogEventType.TabFocused,e.content="User focused tab".concat(t)):"hidden"===document.visibilityState&&(e.eventType=r.default.Logs.LogEventType.TabUnfocused,e.content="User unfocused tab".concat(t)),n.default.dispatch("log/logToLogEvent",e)},l=function(){o&&(document.removeEventListener("visibilitychange",d),clearInterval(o),o=null,s=null)};t.default={startLogEventTimer:function(e,t){l(),document.addEventListener("visibilitychange",d),n.default.dispatch("log/logToLogEvent",e),s=e,o=setInterval((function(){"visible"===document.visibilityState&&n.default.dispatch("log/logToLogEvent",e)}),t)},stopLogEventTimer:l}},a3f6:function(e,t,i){},acb2:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{staticClass:"media-player-block",class:{"slide-media-controls":this.isSlideMedia,"slide-media-player-block":this.isSlideMedia}},[!e.playerScriptLoaded&&e.loadFlowplayerScript?t("script",{attrs:{type:"application/javascript",src:"/presentation/v2/extjs/flowplayer/dist/flowplayer-cdn-rip.min.js"}}):e._e(),!e.playerScriptLoaded&&e.loadFlowplayerScript?t("script",{attrs:{type:"application/javascript",src:"/presentation/v2/extjs/flowplayer/dist/plugins/cuepoints-cdn-rip.min.js"}}):e._e(),t("link",{attrs:{rel:"stylesheet",type:"text/css",href:"/presentation/v2/extjs/flowplayer/dist/style/flowplayer.css"}}),t("div",{ref:"mediaPlayer",staticClass:"media-player-main generic-transparent-skin fs-block",class:{"is-nrs-conferencing":e.isNrsConferencing},style:{height:e.fullscreenVideoHeight,maxWidth:e.isMobileDevice?"100%":{fullscreenVideoWidth:e.fullscreenVideoWidth}},attrs:{id:e.flowplayerId}},[t("video",{attrs:{crossorigin:""}}),t("VideoError",{attrs:{showError:!e.loading&&e.showError,isAudioError:e.isAudioSelected,isVideoError:e.isVideoSelected}}),e.showSpeakerImage&&!e.showError?t("SpeakerImage",{attrs:{showSpeakerImageAlt:e.showSpeakerImageAlt},on:{togglePlayPause:e.togglePlayPause}}):e._e(),t("div",{directives:[{name:"show",rawName:"v-show",value:!e.loading&&!e.showError&&e.showSpeakerImageAlt,expression:"!loading && !showError && showSpeakerImageAlt"}],staticClass:"custom-video-buttons fp-togglable",style:{height:e.mediaControlHeight}},[e.showSkipOption?t("div",{staticClass:"controls-left"},[t("button",{staticClass:"mediaControlsBack10",on:{click:function(t){return e.skipTime(!0)}}},[t("img",{attrs:{src:i("f777")}})]),t("button",{staticClass:"mediaControlsFwd10",on:{click:function(t){return e.skipTime(!1)}}},[t("img",{attrs:{src:i("fde4")}})])]):e._e(),t("div",{staticClass:"controls-right"},[t("div",{staticClass:"videoTimeContainer"},[e._v("\n            "+e._s(e.currentTime)+" / "+e._s(e.duration)+"\n          ")]),e.showSpeedOption?t("SpeedSelect",{staticClass:"media-controls-speed-select fp-togglable",on:{"select-playback-speed":e.selectPlaybackSpeed}}):e._e(),t("button",{staticClass:"mediaControlsMuteToggle",on:{click:function(t){return e.toggleIsMuted()}}},[t("img",{staticClass:"imgVolumeIcon",attrs:{alt:"mute",src:i("635c")}}),t("img",{staticClass:"imgMuteIcon",attrs:{alt:"muted",src:i("cc09")}})]),e.showHDOption?t("button",{staticClass:"mediaControlsHDToggle",on:{click:function(t){return e.toggleIsVideoHD()}}},[t("img",{attrs:{src:e.hdIcon}})]):e._e(),e.showFullScreenOption?t("button",{staticClass:"mediaControlsFullscreenToggle",on:{click:function(t){return e.toggleIsVideoFullscreen()}}},[t("img",{attrs:{src:e.fullscreenIcon}})]):e._e()],1)])],1),e.showSpeakerInfo?t("SpeakerInfo"):e._e()],1)},t.staticRenderFns=[]},af60:function(e,t,i){"use strict";var a=i("288e");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("96cf");var n,r=a(i("3b8d"));t.default={data:function(){return{audioOnly:!1,disabled:!1,toggleOptionStyle:{lineHeight:"36px",textTransform:"uppercase"},toggleStyle:{height:"46px",marginBottom:"10px",padding:"5px",borderColor:"#E8ECF0",backgroundColor:"white"}}},components:{BinaryToggle:function(){return i.e("questions-panel").then(i.bind(null,"3db5"))}},methods:{disableToggle:(n=(0,r.default)(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.disabled=!0,setTimeout((function(){t.disabled=!1}),500);case 2:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)}),mediaTypeSelected:function(e){"Audio Only"===e?this.selectAudio():this.selectVideo()},selectAudio:function(){!1!==this.audioOnly||this.disabled||(this.disableToggle(),this.audioOnly=!0,this.$emit("switch-to-audio"))},selectVideo:function(){!0!==this.audioOnly||this.disabled||(this.disableToggle(),this.audioOnly=!1,this.$emit("switch-to-video"))}},computed:{}}},b741:function(e,t,i){"use strict";i("a3f6")},cc09:function(e,t,i){e.exports=i.p+"img/video-icon-muted.3df8a4f0.svg"},d6d7:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this;return(0,e._self._c)("BinaryToggle",{attrs:{toggleOptions:["Video","Audio Only"],disabled:e.disabled,toggleStyle:e.toggleStyle,toggleOptionStyle:e.toggleOptionStyle},on:{"option-selected":e.mediaTypeSelected}})},t.staticRenderFns=[]},d9ff:function(e,t,i){"use strict";i.r(t);var a=i("6f25"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(r);t.default=n.a},ea49:function(e,t,i){"use strict";var a=i("d6d7");i.o(a,"render")&&i.d(t,"render",(function(){return a.render})),i.o(a,"staticRenderFns")&&i.d(t,"staticRenderFns",(function(){return a.staticRenderFns}))},f777:function(e,t,i){e.exports=i.p+"img/video-icon-forward_10-1-white.cd1a3ced.svg"},fde4:function(e,t,i){e.exports=i.p+"img/video-icon-forward_10-white.32852bc5.svg"}}]);