<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(function(e,t,i){"use strict";var r,s,a,n,o,u,d,f,h,c=0,_=videojs.EventTarget,p="blob:vjs-media-source/";u=function(e){Object.defineProperties(e.frame,{id:{get:function(){return videojs.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key}},value:{get:function(){return videojs.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data}},privateData:{get:function(){return videojs.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data}}})},d=function(e,t,i){var r,s;if(i)for(r=i.cues.length;r--;)s=i.cues[r],s.startTime&lt;=t&amp;&amp;s.endTime&gt;=e&amp;&amp;i.removeCue(s)},f=function(e,t,i){i.captions&amp;&amp;i.captions.length&amp;&amp;!e.inbandTextTrack_&amp;&amp;(e.inbandTextTrack_=t.player_.addTextTrack("captions")),i.metadata&amp;&amp;i.metadata.length&amp;&amp;!e.metadataTrack_&amp;&amp;(e.metadataTrack_=t.player_.addTextTrack("metadata","Timed Metadata"),e.metadataTrack_.inBandMetadataTrackDispatchType=i.metadata.dispatchType)},h=function(t,i,r){o=e.WebKitDataCue||e.VTTCue,i&amp;&amp;i.forEach(function(e){this.inbandTextTrack_.addCue(new o(e.startTime+this.timestampOffset,e.endTime+this.timestampOffset,e.text))},t),r&amp;&amp;r.forEach(function(e){var t=e.cueTime+this.timestampOffset;e.frames.forEach(function(e){var i=new o(t,t,e.value||e.url||e.data||"");i.frame=e,i.value=e,u(i),this.metadataTrack_.addCue(i)},this)},t)},r={mode:"auto"},videojs.MediaSource=function(e){var t=videojs.mergeOptions(r,e);return"html5"===t.mode||"auto"===t.mode&amp;&amp;videojs.MediaSource.supportsNativeMediaSources()?new videojs.HtmlMediaSource:new videojs.FlashMediaSource},videojs.MediaSource.supportsNativeMediaSources=function(){return!!e.MediaSource},videojs.HtmlMediaSource=videojs.extend(_,{constructor:function(){var t,i=this;for(t in this.mediaSource_=new e.MediaSource,this.mediaSource_)t in videojs.HtmlMediaSource.prototype||"function"!=typeof this.mediaSource_[t]||(this[t]=this.mediaSource_[t].bind(this.mediaSource_));this.duration_=NaN,Object.defineProperty(this,"duration",{get:function(){return i.duration_},set:function(e){i.duration_=e,e===1/0||(i.mediaSource_.duration=e)}}),Object.defineProperty(this,"seekable",{get:function(){return this.duration_===1/0?videojs.createTimeRanges([[0,i.mediaSource_.duration]]):i.mediaSource_.seekable}}),Object.defineProperty(this,"readyState",{get:function(){return i.mediaSource_.readyState}}),this.sourceBuffers=[],this.mediaSource_.addEventListener("sourceopen",function(e){var t=document.querySelector('[src="'+i.url_+'"]');t&amp;&amp;(i.player_=videojs(t.parentNode),i.trigger(e))})},addSeekableRange_:function(e,t){var i;if(this.duration!==1/0)throw i=new Error("MediaSource.addSeekableRange() can only be invoked when the duration is Infinity"),i.name="InvalidStateError",i.code=11,i;(t&gt;this.mediaSource_.duration||isNaN(this.mediaSource_.duration))&amp;&amp;(this.mediaSource_.duration=t)},addSourceBuffer:function(e){var t,i,r,a,n=/avc1\.[\da-f]+/i,o=/mp4a\.\d+.\d+/i;return/^video\/mp2t/i.test(e)?(i=e.split(";").slice(1).join(";"),i=m(i),r=(i.match(n)||[])[0],a=(i.match(o)||[])[0],r&amp;&amp;r.length||(r="avc1.4d400d"),a&amp;&amp;a.length||(a="mp4a.40.2"),t=new s(this,[r,a]),this.sourceBuffers.push(t),t):(t=this.mediaSource_.addSourceBuffer(e),this.sourceBuffers.push(t),t)}});var m=function(e){return e.replace(/avc1\.(\d+)\.(\d+)/i,function(e,t,i){var r=("00"+Number(t).toString(16)).slice(-2),s=("00"+Number(i).toString(16)).slice(-2);return"avc1."+r+"00"+s})};a=function(e,t,i){return function(){if(!e[t]||!e[t].updating)return e.trigger(i)}},s=videojs.extend(_,{constructor:function(e,t){var i=this;this.timestampOffset_=0,this.pendingBuffers_=[],this.bufferUpdating_=!1,this.mediaSource_=e,this.codecs_=t,this.transmuxer_=new Worker(videojs.MediaSource.webWorkerURI||"/src/transmuxer_worker.js"),this.transmuxer_.postMessage({action:"init",options:{remux:!1}}),this.transmuxer_.onmessage=function(e){return"data"===e.data.action?i.data_(e):"done"===e.data.action?i.done_(e):void 0},Object.defineProperty(this,"timestampOffset",{get:function(){return this.timestampOffset_},set:function(e){"number"==typeof e&amp;&amp;e&gt;=0&amp;&amp;(this.timestampOffset_=e,this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:e}))}}),Object.defineProperty(this,"appendWindowStart",{get:function(){return(this.videoBuffer_||this.audioBuffer_).appendWindowStart},set:function(e){this.videoBuffer_&amp;&amp;(this.videoBuffer_.appendWindowStart=e),this.audioBuffer_&amp;&amp;(this.audioBuffer_.appendWindowStart=e)}}),Object.defineProperty(this,"updating",{get:function(){return this.bufferUpdating_||this.audioBuffer_&amp;&amp;this.audioBuffer_.updating||this.videoBuffer_&amp;&amp;this.videoBuffer_.updating}}),Object.defineProperty(this,"buffered",{get:function(){var e=null,t=null,i=0,r=[],s=[];if(!(this.videoBuffer_&amp;&amp;0!==this.videoBuffer_.buffered.length||this.audioBuffer_&amp;&amp;0!==this.audioBuffer_.buffered.length))return videojs.createTimeRange();if(!this.videoBuffer_)return this.audioBuffer_.buffered;if(!this.audioBuffer_)return this.videoBuffer_.buffered;for(var a=this.videoBuffer_.buffered,n=this.audioBuffer_.buffered,o=a.length;o--;)r.push({time:a.start(o),type:"start"}),r.push({time:a.end(o),type:"end"});for(o=n.length;o--;)r.push({time:n.start(o),type:"start"}),r.push({time:n.end(o),type:"end"});for(r.sort(function(e,t){return e.time-t.time}),o=0;o&lt;r.length;o++)"start"===r[o].type?(i++,2===i&amp;&amp;(e=r[o].time)):"end"===r[o].type&amp;&amp;(i--,1===i&amp;&amp;(t=r[o].time)),null!==e&amp;&amp;null!==t&amp;&amp;(s.push([e,t]),e=null,t=null);return videojs.createTimeRanges(s)}})},data_:function(e){var t=e.data.segment,i=this.mediaSource_.mediaSource_;t.data=new Uint8Array(t.data),"video"===t.type?this.videoBuffer_||(this.videoBuffer_=i.addSourceBuffer('video/mp4;codecs="'+this.codecs_[0]+'"'),this.videoBuffer_.addEventListener("updatestart",a(this,"audioBuffer_","updatestart")),this.videoBuffer_.addEventListener("update",a(this,"audioBuffer_","update")),this.videoBuffer_.addEventListener("updateend",a(this,"audioBuffer_","updateend"))):"audio"===t.type?this.audioBuffer_||(this.audioBuffer_=i.addSourceBuffer('audio/mp4;codecs="'+this.codecs_[1]+'"'),this.audioBuffer_.addEventListener("updatestart",a(this,"videoBuffer_","updatestart")),this.audioBuffer_.addEventListener("update",a(this,"videoBuffer_","update")),this.audioBuffer_.addEventListener("updateend",a(this,"videoBuffer_","updateend"))):"combined"===t.type&amp;&amp;(this.videoBuffer_||(this.videoBuffer_=i.addSourceBuffer('video/mp4;codecs="'+this.codecs_.join(",")+'"'),this.videoBuffer_.addEventListener("updatestart",a(this,"videoBuffer_","updatestart")),this.videoBuffer_.addEventListener("update",a(this,"videoBuffer_","update")),this.videoBuffer_.addEventListener("updateend",a(this,"videoBuffer_","updateend")))),f(this,this.mediaSource_,t),this.pendingBuffers_.push(t)},done_:function(){this.processPendingSegments_()},appendBuffer:function(e){this.bufferUpdating_=!0,this.transmuxer_.postMessage({action:"push",data:e.buffer},[e.buffer]),this.transmuxer_.postMessage({action:"flush"})},remove:function(e,t){this.videoBuffer_&amp;&amp;this.videoBuffer_.remove(e,t),this.audioBuffer_&amp;&amp;this.audioBuffer_.remove(e,t),d(e,t,this.metadataTrack_),d(e,t,this.inbandTextTrack_)},processPendingSegments_:function(){var e={video:{segments:[],bytes:0},audio:{segments:[],bytes:0},captions:[],metadata:[]};e=this.pendingBuffers_.reduce(function(e,t){var i=t.type,r=t.data;return"combined"===i&amp;&amp;(i="video"),e[i].segments.push(r),e[i].bytes+=r.byteLength,t.captions&amp;&amp;(e.captions=e.captions.concat(t.captions)),t.metadata&amp;&amp;(e.metadata=e.metadata.concat(t.metadata)),e},e),h(this,e.captions,e.metadata),this.concatAndAppendSegments_(e.video,this.videoBuffer_),this.concatAndAppendSegments_(e.audio,this.audioBuffer_),this.pendingBuffers_.length=0,this.bufferUpdating_=!1},concatAndAppendSegments_:function(e,t){var i,r=0;e.bytes&amp;&amp;(i=new Uint8Array(e.bytes),e.segments.forEach(function(e){i.set(e,r),r+=e.byteLength}),t.appendBuffer(i))},abort:function(){this.videoBuffer_&amp;&amp;this.videoBuffer_.abort(),this.audioBuffer_&amp;&amp;this.audioBuffer_.abort(),this.transmuxer_&amp;&amp;this.transmuxer_.postMessage({action:"reset"}),this.pendingBuffers_.length=0,this.bufferUpdating_=!1}}),videojs.FlashMediaSource=videojs.extend(_,{constructor:function(){var e=this;this.sourceBuffers=[],this.readyState="closed",this.on(["sourceopen","webkitsourceopen"],function(t){this.swfObj=document.getElementById(t.swfId),this.player_=videojs(this.swfObj.parentNode),this.tech_=this.swfObj.tech,this.readyState="open",this.tech_.on("seeking",function(){for(var t=e.sourceBuffers.length;t--;)e.sourceBuffers[t].abort()}),this.swfObj&amp;&amp;this.swfObj.vjs_load()})},addSeekableRange_:function(){}}),videojs.FlashMediaSource.TIME_BETWEEN_TICKS=Math.floor(1e3/480),videojs.FlashMediaSource.TIME_PER_TICK=Math.floor(1e3/240),videojs.FlashMediaSource.BYTES_PER_CHUNK=1024,videojs.FlashMediaSource.MIN_CHUNK=1024,videojs.FlashMediaSource.MAX_CHUNK=1048576,videojs.FlashMediaSource.prototype.addSourceBuffer=function(e){var t;if(0!==e.indexOf("video/mp2t"))throw new Error("NotSupportedError (Video.js)");return t=new videojs.FlashSourceBuffer(this),this.sourceBuffers.push(t),t};try{Object.defineProperty(videojs.FlashMediaSource.prototype,"duration",{get:function(){return this.swfObj?this.swfObj.vjs_getProperty("duration"):NaN},set:function(e){var t,i=this.swfObj.vjs_getProperty("duration");if(this.swfObj.vjs_setProperty("duration",e),e&lt;i)for(t=0;t&lt;this.sourceBuffers.length;t++)this.sourceBuffers[t].remove(e,i);return e}})}catch(e){videojs.FlashMediaSource.prototype.duration=NaN}videojs.FlashMediaSource.prototype.endOfStream=function(e){"network"===e?this.tech_.error(2):"decode"===e&amp;&amp;this.tech_.error(3),"ended"!==this.readyState&amp;&amp;(this.readyState="ended",this.swfObj.vjs_endOfStream())},videojs.mediaSources={},videojs.MediaSource.open=function(e,t){var i=videojs.mediaSources[e];if(!i)throw new Error("Media Source not found (Video.js)");i.trigger({type:"sourceopen",swfId:t})},n=function(t){e.setTimeout(t,videojs.FlashMediaSource.TIME_BETWEEN_TICKS)},videojs.FlashSourceBuffer=videojs.extend(_,{constructor:function(i){var r,s=this;this.chunkSize_=videojs.FlashMediaSource.BYTES_PER_CHUNK,this.buffer_=[],this.bufferSize_=0,this.basePtsOffset_=NaN,this.mediaSource=i,this.updating=!1,this.timestampOffset_=0,this.segmentParser_=new t.flv.Transmuxer,this.segmentParser_.on("data",this.receiveBuffer_.bind(this)),r=e.btoa(String.fromCharCode.apply(null,Array.prototype.slice.call(this.segmentParser_.getFlvHeader()))),this.mediaSource.swfObj.vjs_appendBuffer(r),Object.defineProperty(this,"timestampOffset",{get:function(){return this.timestampOffset_},set:function(e){"number"==typeof e&amp;&amp;e&gt;=0&amp;&amp;(this.timestampOffset_=e,this.segmentParser_=new t.flv.Transmuxer,this.segmentParser_.on("data",this.receiveBuffer_.bind(this)),this.mediaSource.swfObj.vjs_discontinuity(),this.basePtsOffset_=NaN)}}),Object.defineProperty(this,"buffered",{get:function(){return videojs.createTimeRanges(this.mediaSource.swfObj.vjs_getProperty("buffered"))}}),this.mediaSource.player_.on("seeked",function(){d(0,1/0,s.metadataTrack_),d(0,1/0,s.inbandTextTrack_)})},appendBuffer:function(e){var t,i=this;if(this.updating)throw t=new Error("SourceBuffer.append() cannot be called while an update is in progress"),t.name="InvalidStateError",t.code=11,t;this.updating=!0,this.mediaSource.readyState="open",this.trigger({type:"update"});var r=524288,s=0;(function t(){i.segmentParser_.push(e.subarray(s,s+r)),s+=r,s&lt;e.byteLength?n(t):n(i.segmentParser_.flush.bind(i.segmentParser_))})()},abort:function(){this.buffer_=[],this.bufferSize_=0,this.mediaSource.swfObj.vjs_abort(),this.updating&amp;&amp;(this.updating=!1,this.trigger({type:"updateend"}))},remove:function(e,t){d(e,t,this.metadataTrack_),d(e,t,this.inbandTextTrack_),this.trigger({type:"update"}),this.trigger({type:"updateend"})},receiveBuffer_:function(e){var t=this;f(this,this.mediaSource,e),h(this,e.captions,e.metadata),n(function(){0===t.buffer_.length&amp;&amp;n(t.processBuffer_.bind(t));var i=t.convertTagsToData_(e);i&amp;&amp;(t.buffer_.push(i),t.bufferSize_+=i.byteLength)})},processBuffer_:function(){var t,i,r,s,a,o,u=0,d=0,f=+new Date;if(this.buffer_.length){do{for(d++,t=this.buffer_[0].subarray(u,u+this.chunkSize_),t.byteLength&lt;this.chunkSize_||this.buffer_[0].byteLength===u+this.chunkSize_?(u=0,this.buffer_.shift()):u+=this.chunkSize_,this.bufferSize_-=t.byteLength,s="",r=t.byteLength,i=0;i&lt;r;i++)s+=String.fromCharCode(t[i]);a=e.btoa(s),this.mediaSource.swfObj.CallFunction('&lt;invoke name="vjs_appendBuffer"returntype="javascript"&gt;&lt;arguments&gt;&lt;string&gt;'+a+"&lt;/string&gt;&lt;/arguments&gt;&lt;/invoke&gt;"),o=new Date-f}while(this.buffer_.length&amp;&amp;o&lt;videojs.FlashMediaSource.TIME_PER_TICK);this.buffer_.length&amp;&amp;u&amp;&amp;(this.buffer_[0]=this.buffer_[0].subarray(u)),o&gt;=videojs.FlashMediaSource.TIME_PER_TICK&amp;&amp;(this.chunkSize_=Math.floor(this.chunkSize_*(d/4))),this.chunkSize_=Math.max(videojs.FlashMediaSource.MIN_CHUNK,Math.min(this.chunkSize_,videojs.FlashMediaSource.MAX_CHUNK)),0!==this.bufferSize_?n(this.processBuffer_.bind(this)):(this.updating=!1,this.trigger({type:"updateend"}))}else!1!==this.updating&amp;&amp;(this.updating=!1,this.trigger({type:"updateend"}))},convertTagsToData_:function(e){var t,i,r,s=0,a=this.mediaSource.tech_,n=0,o=[],u=this.getOrderedTags_(e);for(isNaN(this.basePtsOffset_)&amp;&amp;u.length&amp;&amp;(this.basePtsOffset_=u[0].pts),a.buffered().length&amp;&amp;(n=a.buffered().end(0)-this.timestampOffset),n=Math.max(n,a.currentTime()-this.timestampOffset),n*=1e3,n+=this.basePtsOffset_,t=0;t&lt;u.length;t++)u[t].pts&gt;=n&amp;&amp;o.push(u[t]);if(0!==o.length){for(t=0;t&lt;o.length;t++)s+=o[t].bytes.byteLength;for(r=new Uint8Array(s),t=0,i=0;t&lt;o.length;t++)r.set(o[t].bytes,i),i+=o[t].bytes.byteLength;return r}},getOrderedTags_:function(e){for(var t,i=e.tags.videoTags,r=e.tags.audioTags,s=[];i.length||r.length;)t=i.length?r.length&amp;&amp;r[0].dts&lt;i[0].dts?r.shift():i.shift():r.shift(),s.push(t.finalize());return s}}),videojs.URL={createObjectURL:function(t){var i;return t instanceof videojs.HtmlMediaSource?(i=e.URL.createObjectURL(t.mediaSource_),t.url_=i,i):t instanceof videojs.FlashMediaSource?(i=p+c,c++,videojs.mediaSources[i]=t,i):(i=e.URL.createObjectURL(t),t.url_=i,i)}}})(this,this.muxjs);</pre></body></html>