webpackJsonpjwplayer([3],{106:function(a,b,c){var d,e;d=[c(48),c(55),c(45),c(46),c(62),c(101),c(86),c(47)],e=function(a,b,c,d,e,f,g,h){function i(i,l){function m(){window.YT&&window.YT.loaded?(H=window.YT,p()):setTimeout(m,100)}function n(){j&&(j.off(),j=null)}function o(){var a=J&&J.parentNode;return a?a:(L||(window.jwplayer(i).onReady(p),L=!0),!1)}function p(){H&&o()&&M&&M.apply(G)}function q(){if(I&&I.getPlayerState){var a=I.getPlayerState();null!==a&&void 0!==a&&a!==P&&z({data:a});var b=H.PlayerState;a===b.PLAYING?s():a===b.BUFFERING&&t()}}function r(a){return Math.round(10*a)/10}function s(){t(),G.trigger(d.JWPLAYER_MEDIA_TIME,{position:r(I.getCurrentTime()),duration:I.getDuration()})}function t(){var a=0;I&&I.getVideoLoadedFraction&&(a=Math.round(100*I.getVideoLoadedFraction())),K!==a&&(K=a,G.trigger(d.JWPLAYER_MEDIA_BUFFER,{bufferPercent:a}))}function u(){G.state!==e.IDLE&&G.state!==e.COMPLETE&&(Q=!0,G.trigger(d.JWPLAYER_MEDIA_BEFORECOMPLETE),G.setState(e.COMPLETE),Q=!1,G.trigger(d.JWPLAYER_MEDIA_COMPLETE))}function v(){G.trigger(d.JWPLAYER_MEDIA_META,{duration:I.getDuration(),width:J.clientWidth,height:J.clientHeight})}function w(){var a=arguments,b=a.length-1;return function(){for(var c=b,d=a[b].apply(this,arguments);c--;)d=a[c].call(this,d);return d}}function x(a,b){if(!a)throw"invalid Youtube ID";var d=J.parentNode;if(d){var e={height:"100%",width:"100%",videoId:a,playerVars:c.extend({html5:1,autoplay:0,controls:0,showinfo:0,rel:0,modestbranding:0,playsinline:1,origin:location.protocol+"//"+location.hostname},b),events:{onReady:y,onStateChange:z,onPlaybackQualityChange:A,onError:B}};G.setVisibility(!0),I=new H.Player(J,e),J=I.getIframe(),M=null}}function y(){N&&(N.apply(G),N=null)}function z(b){var f=H.PlayerState;switch(P=b.data){case f.UNSTARTED:return void(a.isAndroid()&&I.playVideo());case f.ENDED:return void u();case f.PLAYING:return c.isFunction(I.unloadModule)&&I.unloadModule("captions"),R=!1,v(),G.trigger(d.JWPLAYER_MEDIA_LEVELS,{levels:G.getQualityLevels(),currentQuality:G.getCurrentQuality()}),void G.setState(e.PLAYING);case f.PAUSED:return void G.setState(e.PAUSED);case f.BUFFERING:return void(G.seeking?G.setState(e.LOADING):G.setState(e.STALLED));case f.CUED:return G.setState(e.IDLE),void(a.isAndroid()&&I.playVideo())}}function A(){P!==H.PlayerState.ENDED&&G.play(),G.trigger(d.JWPLAYER_MEDIA_LEVEL_CHANGED,{currentQuality:G.getCurrentQuality(),levels:G.getQualityLevels()})}function B(){G.trigger(d.JWPLAYER_MEDIA_ERROR,{message:"Error loading YouTube: Video could not be played"})}function C(){k&&G.setVisibility(!0)}function D(){clearInterval(O),I&&I.stopVideo&&a.tryCatch(function(){I.stopVideo(),I.clearVideo()})}function E(b){N=null;var c=b.sources[0].file,d=a.youTubeID(c);if(G.volume(l.volume),G.mute(l.mute),G.setVisibility(!0),!H||!I)return M=function(){x(d)},void m();if(!I.getPlayerState){var e=function(){G.load(b)};return void(N=N?w(e,N):e)}var f=I.getVideoData().video_id;if(f!==d){R?(D(),I.cueVideoById(d)):I.loadVideoById(d);var g=I.getPlayerState(),h=H.PlayerState;(g===h.UNSTARTED||g===h.CUED)&&C()}else I.getCurrentTime()>0&&I.seekTo(0),v()}this.state=e.IDLE,c.extend(this,h);var F,G=this,H=window.YT,I=null,J=document.createElement("div"),K=-1,L=!1,M=null,N=null,O=-1,P=-1,Q=!1,R=k;this.setState=function(a){clearInterval(O),a!==e.IDLE&&a!==e.COMPLETE&&(O=setInterval(q,250),a===e.PLAYING?this.seeking=!1:(a===e.LOADING||a===e.STALLED)&&t()),g.setState.apply(this,arguments)},!H&&j&&j.getStatus()===f.loaderstatus.NEW&&(j.on(d.COMPLETE,m),j.on(d.ERROR,n),j.load()),J.id=i+"_youtube",this.init=function(a){E(a)},this.destroy=function(){this.remove(),this.off(),F=J=H=G=null},this.load=function(a){this.setState(e.LOADING),E(a),G.play()},this.stop=function(){D(),this.setState(e.IDLE)},this.play=function(){R||(I&&I.playVideo?I.playVideo():N=N?w(this.play,N):this.play)},this.pause=function(){R||I.pauseVideo&&I.pauseVideo()},this.seek=function(a){R||I.seekTo&&(this.seeking=!0,I.seekTo(a))},this.volume=function(a){if(c.isNumber(a)){var b=Math.min(Math.max(0,a),100);I&&I.getVolume&&I.setVolume(b)}},this.mute=function(b){var c=a.exists(b)?!!b:!l.mute;I&&I.mute&&(c?I.mute():I.unMute())},this.detachMedia=function(){return null},this.attachMedia=function(){Q&&(this.setState(e.COMPLETE),this.trigger(d.JWPLAYER_MEDIA_COMPLETE),Q=!1)},this.setContainer=function(a){F=a,a.appendChild(J),this.setVisibility(!0)},this.getContainer=function(){return F},this.remove=function(){D(),J&&F&&F===J.parentNode&&F.removeChild(J),M=N=I=null},this.setVisibility=function(a){a=!!a,a?(b.style(J,{display:"block"}),b.style(F,{visibility:"visible",opacity:1})):k||b.style(F,{opacity:0})},this.resize=function(){return!1},this.checkComplete=function(){return Q},this.getCurrentQuality=function(){if(!I)return-1;if(I.getAvailableQualityLevels){var a=I.getPlaybackQuality(),b=I.getAvailableQualityLevels();return b.indexOf(a)}return-1},this.getQualityLevels=function(){if(I){if(!c.isFunction(I.getAvailableQualityLevels))return[];var a=I.getAvailableQualityLevels();if(2===a.length&&c.contains(a,"auto"))return{label:c.without(a,"auto")};var b=c.map(a,function(a){return{label:a}});return b.reverse()}},this.setCurrentQuality=function(a){if(I&&I.getAvailableQualityLevels){var b=I.getAvailableQualityLevels();if(b.length){var c=b[b.length-a-1];I.setPlaybackQuality(c)}}},this.getName=function(){return{name:"youtube"}}}var j=new f(window.location.protocol+"//www.youtube.com/iframe_api"),k=a.isMobile();return i.getName=function(){return{name:"youtube"}},{register:function(a){a.api.registerProvider(i)}}}.apply(b,d),!(void 0!==e&&(a.exports=e))}});