/* yt-player. MIT License. Feross Aboukhadijeh */ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(a){var b=0;return function(){return bc&&(c=Math.max(c+e,0));c=b._player.getDuration()-Number(a)){b.seek(0);for(var c=$jscomp.makeIterator(b.replayInterval.entries()), d=c.next();!d.done;d=c.next()){d=$jscomp.makeIterator(d.value);var e=d.next().value;d.next();Object.hasOwnProperty.call(b.replayInterval,e)&&(clearInterval(b.replayInterval[e].interval),b.replayInterval.splice(e,1))}}},1E3*Number(a))})};C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.pause=function(){this._ready?this._player.pauseVideo():this._queueCommand("pause")}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.stop=function(){this._ready?this._player.stopVideo():this._queueCommand("stop")}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.seek=function(a){this._ready?this._player.seekTo(a,!0):this._queueCommand("seek",a)}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype._optimizeDisplayHandler=function(a){if(this._player){var b=this._player.i;a=a.split(",");if(b){var c;if(c=b.parentElement){var d=window.getComputedStyle(c);var e=c.clientHeight+parseFloat(d.marginTop,10)+parseFloat(d.marginBottom,10)+parseFloat(d.borderTopWidth,10)+parseFloat(d.borderBottomWidth,10);c=c.clientWidth+parseFloat(d.marginLeft, 10)+parseFloat(d.marginRight,10)+parseFloat(d.borderLeftWidth,10)+parseFloat(d.borderRightWidth,10);e+=80;b.style.width=c+"px";b.style.height=Math.ceil(parseFloat(b.style.width,10)/1.7)+"px";b.style.marginTop=Math.ceil(-((parseFloat(b.style.height,10)-e)/2))+"px";b.style.marginLeft=0;if(d=parseFloat(b.style.height,10)c&&(b.style.marginLeft=-((parseFloat(b.style.width,10)-c)/2)+"px")}}}}}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.stopResize=function(){window.removeEventListener("resize",this._resizeListener);this._resizeListener=null}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.stopReplay=function(a){for(var b=$jscomp.makeIterator(this.replayInterval.entries()),c=b.next();!c.done;c=b.next()){c=$jscomp.makeIterator(c.value);var d=c.next().value;c.next();Object.hasOwnProperty.call(this.replayInterval,d)&&a===this.replayInterval[d].iframeParent&&(clearInterval(this.replayInterval[d].interval),this.replayInterval.splice(d, 1))}};C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.setVolume=function(a){this._ready?this._player.setVolume(a):this._queueCommand("setVolume",a)}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.loadPlaylist=function(){this._ready?this._player.loadPlaylist(this.videoId):this._queueCommand("loadPlaylist",this.videoId)}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.setLoop=function(a){this._ready?this._player.setLoop(a):this._queueCommand("setLoop",a)};C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.getVolume=function(){return this._ready&&this._player.getVolume()||0}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.mute=function(){this._ready?this._player.mute():this._queueCommand("mute")};C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.unMute=function(){this._ready?this._player.unMute():this._queueCommand("unMute")}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.isMuted=function(){return this._ready&&this._player.isMuted()||!1};C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.setSize=function(a,b){this._ready?this._player.setSize(a,b):this._queueCommand("setSize",a,b)}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.setPlaybackRate=function(a){this._ready?this._player.setPlaybackRate(a):this._queueCommand("setPlaybackRate",a)}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.setPlaybackQuality=function(a){this._ready?this._player.setPlaybackQuality(a):this._queueCommand("setPlaybackQuality",a)}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.getPlaybackRate=function(){return this._ready&&this._player.getPlaybackRate()||1}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.getAvailablePlaybackRates=function(){return this._ready&&this._player.getAvailablePlaybackRates()||[1]}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.getDuration=function(){return this._ready&&this._player.getDuration()||0};C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.getProgress=function(){return this._ready&&this._player.getVideoLoadedFraction()||0}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.getState=function(){return this._ready&&YOUTUBE_STATES[this._player.getPlayerState()]||"unstarted"}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.getCurrentTime=function(){return this._ready&&this._player.getCurrentTime()||0};C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype.destroy=function(){this._destroy()}; C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype._destroy=function(a){this.destroyed||(this.destroyed=!0,this._player&&(this._player.stopVideo&&this._player.stopVideo(),this._player.destroy()),this._player=this._api=this._opts=this._id=this.videoId=null,this._ready=!1,this._queue=null,this._stopInterval(),this.removeListener("playing",this._startInterval),this.removeListener("paused", this._stopInterval),this.removeListener("buffering",this._stopInterval),this.removeListener("unstarted",this._stopInterval),this.removeListener("ended",this._stopInterval),a&&this.emit("error",a))};C_$hudson$workspace$Mobirise5_ewin_Release$Release$release$win_ia32_unpacked$resources$_app_asar$web$app$themes$mobirise5$plugins$ytplayer$index$classdecl$var0.prototype._queueCommand=function(a,b){for(var c=[],d=1;d