webpackJsonpjwplayer([4],{17:function(e,t,i){var n,r;n=[i(8)],r=function(e){function t(e){e||i()}function i(){throw new Error("Invalid DFXP file")}var n=e.seconds;return function(r){t(r);var a=[],s=r.getElementsByTagName("p");t(s),s.length||(s=r.getElementsByTagName("tt:p"),s.length||(s=r.getElementsByTagName("tts:p")));for(var o=0;o\s+<").replace(/tts?:/g,"");if(d){var l=c.getAttribute("begin"),h=c.getAttribute("dur"),f=c.getAttribute("end"),g={begin:n(l),text:d};f?g.end=n(f):h&&(g.end=g.begin+n(h)),a.push(g)}}return a.length||i(),a}}.apply(t,n),!(void 0!==r&&(e.exports=r))},18:function(e,t,i){var n,r;n=[i(1),i(21),i(2),i(14),i(19),i(17)],r=function(e,t,n,r,a,s){function o(e){if(this._currentTextTrackIndex=-1,e){if(this._textTracks||w.call(this),e.length){var t=0,i=e.length;for(t;tthis._textTracks.length)&&this.setTextTracks.call(this,t);var n=-1,r=0;for(r;r1&&(t+=" ["+this._unknownCount+"]")),t}function I(e){this._textTracks.push(e),this._tracksById[e._id]=e}function L(e,t){n.ajax(e.file,function(e){P.call(this,e,t)}.bind(this),R)}function C(e){var t=this._textTracks,i=!0;return this._renderNatively&&t&&t.length&&(i=t[0].inuse),e===this.itemTracks&&t&&t.length>=e.length&&i}function S(){if(this._textTracks){var t=e.filter(this._textTracks,function(e){return e.embedded||"subs"===e.groupid});w.call(this),e.each(t,function(e){this._tracksById[e._id]=e}),this._textTracks=t}}function M(e,t){if(this._renderNatively){var i=this._tracksById[e._id];if(!i)return this._cuesByTrackId||(this._cuesByTrackId={}),void(this._cuesByTrackId[e._id]={cues:t,loaded:!1});if(this._cuesByTrackId[e._id]&&this._cuesByTrackId[e._id].loaded)return;var n;for(this._cuesByTrackId[e._id]={cues:t,loaded:!0};n=t.pop();)i.addCue(n)}else e.data=t}function N(t){var i=window.VTTCue,n=e.map(t,function(e){return new i(e.begin,e.end,e.text)});return n}function B(e,t){i.e(11,function(require){var n=i(13),r=new n(window);r.oncue=function(e){this._renderNatively?t.addCue(e):(t.data=t.data||[],t.data.push(e))}.bind(this),r.onparsingerror=function(e){R(e)},r.onflush=function(){},r.parse(e),r.flush()}.bind(this))}function D(i){var n=i.currentTarget.activeCues;if(n&&n.length){var r=n[n.length-1].startTime;if(this._activeCuePosition!==r){var a=[];if(e.each(n,function(e){e.startTime=0)B.call(this,e.responseText,t);else{var n=a(e.responseText),r=N(n);M.call(this,t,r)}}.bind(this))}catch(c){i instanceof n.Error&&R(i.message+": "+t.file)}}function R(e){n.log("CAPTIONS("+e+")")}var O={_textTracks:null,_tracksById:null,_cuesByTrackId:null,_metaCuesByTextTime:null,_currentTextTrackIndex:-1,_unknownCount:0,_renderNatively:!1,_activeCuePosition:null,addTracksListener:g,clearTracks:v,disableTextTrack:T,getSubtitlesTrack:u,removeTracksListener:k,addTextTracks:y,setTextTracks:o,setupSideloadedTracks:c,setSubtitlesTrack:d,textTrackChangeHandler:p,addCuesToTrack:f,addCaptionsCue:l,addVTTCue:h};return O}.apply(t,n),!(void 0!==r&&(e.exports=r))},88:function(e,t,i){var n,r;n=[i(176),i(74)],r=function(e,t){function i(e){var i,a=window.WebKitMediaKeys,s=e.target,o=e.initData;if(!s.webkitKeys){if(!a.isTypeSupported||!a.isTypeSupported("com.apple.fps.1_0","video/mp4"))throw a.isTypeSupported?"Key System not supported":"WebKitMediaKeys.isTypeSupported is not supported";s.webkitSetMediaKeys(new a("com.apple.fps.1_0"))}if(!s.webkitKeys)throw"Could not create MediaKeys";i=s.__drm,t.ajax(i.fairplay.keyUrl,function(e){var t=new Uint8Array(e.response),r=u(o);o=d(o,r,t),n(s,o,r,i.fairplay.url)},r,{responseType:"arraybuffer"})}function n(e,t,i,n){if(k=e.webkitKeys.createSession("video/mp4",t),!k)throw"Could not create key session";k.contentId=i,k.__spcUrl=n,h(k,"webkitkeymessage",a),l(k,"webkitkeymessage",a),h(k,"webkitkeyadded",c),l(k,"webkitkeyadded",c),h(k,"webkitkeyerror",o),l(k,"webkitkeyerror",o)}function r(){console.warn("Failed to retrieve the server certificate.")}function a(e){var t=e.target,i=e.message,n=new Blob([i],{type:"application/octet-binary"}),r=new XMLHttpRequest;r.session=t,r.open("POST",t.__spcUrl+"?p1="+Date.now(),!0),r.setRequestHeader("Content-type","application/octet-stream"),r.responseType="blob",r.addEventListener("load",s,!1),r.send(n)}function s(e){var t=e.target,i=t.response,n=new FileReader;200===t.status&&(n.addEventListener("loadend",function(){var e=new Uint8Array(n.result);t.session.update(e)}),n.readAsArrayBuffer(i))}function o(){console.error("A decryption key error was encountered")}function c(){console.info("Decryption key was added to session.")}function u(e){var t,i=g(e),n=i.split("://",1),r=n[0].slice(-3);return n=i.split(";",2),t=n.length>1?n[1]:"","skd"===r.toLowerCase()?t:""}function d(e,t,i){var n,r,a,s,o,c;return"string"==typeof t&&(t=f(t)),n=0,r=new ArrayBuffer(e.byteLength+4+t.byteLength+4+i.byteLength),a=new DataView(r),s=new Uint8Array(r,n,e.byteLength),s.set(e),n+=e.byteLength,a.setUint32(n,t.byteLength,!0),n+=4,o=new Uint16Array(r,n,t.length),o.set(t),n+=o.byteLength,a.setUint32(n,i.byteLength,!0),n+=4,c=new Uint8Array(r,n,i.byteLength),c.set(i),new Uint8Array(r,0,r.byteLength)}function l(e,t,i){e.addEventListener(t,i,!1)}function h(e,t,i){e&&e.removeEventListener(t,i)}function f(e){for(var t=new ArrayBuffer(2*e.length),i=new Uint16Array(t),n=0,r=e.length;n120&&(e=-i)}return e}function D(e){fe=e,me&&e&&e!==1/0&&Te.seek(me)}function P(){var e=B();Ee&&e===1/0&&(e=0),Te.trigger(r.JWPLAYER_MEDIA_META,{duration:e,height:Pe.videoHeight,width:Pe.videoWidth}),D(e)}function R(){xe&&(ye=!0,Ee||le(),F())}function O(){xe&&(Pe.muted&&(Pe.muted=!1,Pe.muted=!0),Pe.setAttribute("jw-loaded","meta"),P())}function F(){ke||(ke=!0,Te.trigger(r.JWPLAYER_MEDIA_BUFFER_FULL))}function W(){Te.setState(a.PLAYING),Pe.hasAttribute("jw-played")||Pe.setAttribute("jw-played",""),Te.trigger(r.JWPLAYER_PROVIDER_FIRST_FRAME,{})}function j(){Te.state!==a.COMPLETE&&Pe.currentTime!==Pe.duration&&Te.setState(a.PAUSED)}function U(){Ee||Pe.paused||Pe.ended||Te.state!==a.LOADING&&Te.state!==a.ERROR&&(Te.seeking||Te.setState(a.STALLED))}function Y(){xe&&(t.log("Error playing media: %o %s",Pe.error,Pe.src),Te.trigger(r.JWPLAYER_MEDIA_ERROR,{message:"Error loading media: File could not be played"}))}function H(e){var i;return"array"===t.typeOf(e)&&e.length>0&&(i=n.map(e,function(e,t){return{label:e.label||t}})),i}function J(e){ve=e,we=K(e);var t=H(e);t&&Te.trigger(r.JWPLAYER_MEDIA_LEVELS,{levels:t,currentQuality:we})}function K(e){var t=Math.max(0,we),i=x.qualityLabel;if(e)for(var n=0;n0&&(me=-1,Te.seek(e)),Pe.play()),ge=Pe.currentTime,T&&!o&&(F(),Pe.paused||Te.state===a.PLAYING||Te.setState(a.LOADING)),t.isIOS()&&Te.getFullScreen()&&(Pe.controls=!0),e>0&&Te.seek(e)}function V(e){Ce=null,Se=-1,Me=-1,Be.reason||(Be.reason="initial choice",Be.level={}),ye=!1,ke=!1,Ee=l(e),e.preload&&e.preload!==Pe.getAttribute("preload")&&Pe.setAttribute("preload",e.preload);var t=document.createElement("source");t.src=e.file;var i=Pe.src!==t.src;i&&(Pe.setAttribute("jw-loaded","none"),Pe.src=e.file)}function Q(){Pe&&(Te.disableTextTrack(),Pe.removeAttribute("crossorigin"),Pe.removeAttribute("preload"),Pe.removeAttribute("src"),Pe.removeAttribute("jw-loaded"),Pe.removeAttribute("jw-played"),i.emptyElement(Pe),we=-1,Ne=null,Te.clearTracks(),!v&&"load"in Pe&&Pe.load())}function q(){for(var e=Pe.seekable?Pe.seekable.length:0,t=1/0;e--;)t=Math.min(t,Pe.seekable.start(e));return t}function X(){for(var e=Pe.seekable?Pe.seekable.length:0,t=0;e--;)t=Math.max(t,Pe.seekable.end(e));return t}function z(){Te.seeking=!1,Te.trigger(r.JWPLAYER_MEDIA_SEEKED)}function Z(){Te.trigger("volume",{volume:Math.round(100*Pe.volume)}),Te.trigger("mute",{mute:Pe.muted})}function $(){Pe.currentTime===ge&&U()}function ee(){var e=Pe.buffered,i=Pe.duration;return!e||0===e.length||i<=0||i===1/0?0:t.between(e.end(e.length-1)/i,0,1)}function te(){if(xe&&Te.state!==a.IDLE&&Te.state!==a.COMPLETE){if(f(_e),we=-1,Ie=!0,Te.trigger(r.JWPLAYER_MEDIA_BEFORECOMPLETE),!xe)return;ie()}}function ie(){f(_e),Te.setState(a.COMPLETE),Ie=!1,Te.trigger(r.JWPLAYER_MEDIA_COMPLETE)}function ne(e){Le=!0,se(e),t.isIOS()&&(Pe.controls=!1)}function re(){for(var e=-1,t=0;t-1&&e=0&&ve&&ve.length>e){we=e,Be.reason="api",Be.level={},this.trigger(r.JWPLAYER_MEDIA_LEVEL_CHANGED,{currentQuality:e,levels:H(ve)}),x.qualityLabel=ve[e].label;var t=Pe.currentTime||0,i=Pe.duration||0;i<=0&&(i=fe),Te.setState(a.LOADING),G(t,i)}},this.getCurrentQuality=function(){return we},this.getQualityLevels=function(){return H(ve)},this.getName=function(){return{name:b}},this.setCurrentAudioTrack=ce,this.getAudioTracks=ue,this.getCurrentAudioTrack=de}var f=window.clearTimeout,g=256,k=t.isIE(),v=t.isMSIE(),T=t.isMobile(),p=t.isFF(),y=t.isAndroidNative(),m=t.isIOS(7),_=t.isIOS(8),b="html5",x=function(){};return x.prototype=s,h.prototype=new x,h.getName=function(){return{name:"html5"}},h}.apply(t,n),!(void 0!==r&&(e.exports=r))}});