use-on-demand
Version:
2 lines • 578 kB
JavaScript
module.exports=function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/",i(i.s="4a0e")}({0:function(e,t){},"00ee":function(e,t,i){var n=i("b622"),r=n("toStringTag"),a={};a[r]="z",e.exports="[object z]"===String(a)},"0366":function(e,t,i){var n=i("1c0b");e.exports=function(e,t,i){if(n(e),void 0===t)return e;switch(i){case 0:return function(){return e.call(t)};case 1:return function(i){return e.call(t,i)};case 2:return function(i,n){return e.call(t,i,n)};case 3:return function(i,n,r){return e.call(t,i,n,r)}}return function(){return e.apply(t,arguments)}}},"045f":function(e,t,i){"use strict";var n=i("d7d2"),r=i("a559"),a=i("8362"),s=function(e){var t={};return e?(e.trim().split("\n").forEach((function(e){var i=e.indexOf(":"),n=e.slice(0,i).trim().toLowerCase(),r=e.slice(i+1).trim();"undefined"===typeof t[n]?t[n]=r:Array.isArray(t[n])?t[n].push(r):t[n]=[t[n],r]})),t):t};function o(e,t){for(var i=0;i<e.length;i++)t(e[i])}function u(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function l(e,t,i){var n=e;return a(t)?(i=t,"string"===typeof e&&(n={uri:e})):n=r({},t,{uri:e}),n.callback=i,n}function c(e,t,i){return t=l(e,t,i),h(t)}function h(e){if("undefined"===typeof e.callback)throw new Error("callback argument missing");var t=!1,i=function(i,n,r){t||(t=!0,e.callback(i,n,r))};function n(){4===f.readyState&&setTimeout(o,0)}function r(){var e=void 0;if(e=f.response?f.response:f.responseText||d(f),b)try{e=JSON.parse(e)}catch(t){}return e}function a(e){return clearTimeout(p),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,i(e,T)}function o(){if(!h){var t;clearTimeout(p),t=e.useXDR&&void 0===f.status?200:1223===f.status?204:f.status;var n=T,a=null;return 0!==t?(n={body:r(),statusCode:t,method:g,headers:{},url:m,rawRequest:f},f.getAllResponseHeaders&&(n.headers=s(f.getAllResponseHeaders()))):a=new Error("Internal XMLHttpRequest Error"),i(a,n,n.body)}}var l,h,f=e.xhr||null;f||(f=e.cors||e.useXDR?new c.XDomainRequest:new c.XMLHttpRequest);var p,m=f.url=e.uri||e.url,g=f.method=e.method||"GET",v=e.body||e.data,y=f.headers=e.headers||{},_=!!e.sync,b=!1,T={body:void 0,headers:{},statusCode:0,method:g,url:m,rawRequest:f};if("json"in e&&!1!==e.json&&(b=!0,y["accept"]||y["Accept"]||(y["Accept"]="application/json"),"GET"!==g&&"HEAD"!==g&&(y["content-type"]||y["Content-Type"]||(y["Content-Type"]="application/json"),v=JSON.stringify(!0===e.json?v:e.json))),f.onreadystatechange=n,f.onload=o,f.onerror=a,f.onprogress=function(){},f.onabort=function(){h=!0},f.ontimeout=a,f.open(g,m,!_,e.username,e.password),_||(f.withCredentials=!!e.withCredentials),!_&&e.timeout>0&&(p=setTimeout((function(){if(!h){h=!0,f.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",a(e)}}),e.timeout)),f.setRequestHeader)for(l in y)y.hasOwnProperty(l)&&f.setRequestHeader(l,y[l]);else if(e.headers&&!u(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(f.responseType=e.responseType),"beforeSend"in e&&"function"===typeof e.beforeSend&&e.beforeSend(f),f.send(v||null),f}function d(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(i){}return null}function f(){}e.exports=c,e.exports.default=c,c.XMLHttpRequest=n.XMLHttpRequest||f,c.XDomainRequest="withCredentials"in new c.XMLHttpRequest?c.XMLHttpRequest:n.XDomainRequest,o(["get","put","post","patch","head","delete"],(function(e){c["delete"===e?"del":e]=function(t,i,n){return i=l(t,i,n),i.method=e.toUpperCase(),h(i)}}))},"06cf":function(e,t,i){var n=i("83ab"),r=i("d1e7"),a=i("5c6c"),s=i("fc6a"),o=i("c04e"),u=i("5135"),l=i("0cfb"),c=Object.getOwnPropertyDescriptor;t.f=n?c:function(e,t){if(e=s(e),t=o(t,!0),l)try{return c(e,t)}catch(i){}if(u(e,t))return a(!r.f.call(e,t),e[t])}},"0cfb":function(e,t,i){var n=i("83ab"),r=i("d039"),a=i("cc12");e.exports=!n&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},"19aa":function(e,t){e.exports=function(e,t,i){if(!(e instanceof t))throw TypeError("Incorrect "+(i?i+" ":"")+"invocation");return e}},"1be4":function(e,t,i){var n=i("d066");e.exports=n("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,i){var n=i("b622"),r=n("iterator"),a=!1;try{var s=0,o={next:function(){return{done:!!s++}},return:function(){a=!0}};o[r]=function(){return this},Array.from(o,(function(){throw 2}))}catch(u){}e.exports=function(e,t){if(!t&&!a)return!1;var i=!1;try{var n={};n[r]=function(){return{next:function(){return{done:i=!0}}}},e(n)}catch(u){}return i}},"1cdc":function(e,t,i){var n=i("342f");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"1fb5":function(e,t,i){"use strict";t.byteLength=c,t.toByteArray=d,t.fromByteArray=m;for(var n=[],r=[],a="undefined"!==typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,u=s.length;o<u;++o)n[o]=s[o],r[s.charCodeAt(o)]=o;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=e.indexOf("=");-1===i&&(i=t);var n=i===t?0:4-i%4;return[i,n]}function c(e){var t=l(e),i=t[0],n=t[1];return 3*(i+n)/4-n}function h(e,t,i){return 3*(t+i)/4-i}function d(e){var t,i,n=l(e),s=n[0],o=n[1],u=new a(h(e,s,o)),c=0,d=o>0?s-4:s;for(i=0;i<d;i+=4)t=r[e.charCodeAt(i)]<<18|r[e.charCodeAt(i+1)]<<12|r[e.charCodeAt(i+2)]<<6|r[e.charCodeAt(i+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===o&&(t=r[e.charCodeAt(i)]<<2|r[e.charCodeAt(i+1)]>>4,u[c++]=255&t),1===o&&(t=r[e.charCodeAt(i)]<<10|r[e.charCodeAt(i+1)]<<4|r[e.charCodeAt(i+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u}function f(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function p(e,t,i){for(var n,r=[],a=t;a<i;a+=3)n=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),r.push(f(n));return r.join("")}function m(e){for(var t,i=e.length,r=i%3,a=[],s=16383,o=0,u=i-r;o<u;o+=s)a.push(p(e,o,o+s>u?u:o+s));return 1===r?(t=e[i-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===r&&(t=(e[i-2]<<8)+e[i-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},2266:function(e,t,i){var n=i("825a"),r=i("e95a"),a=i("50c4"),s=i("0366"),o=i("35a1"),u=i("9bdd"),l=function(e,t){this.stopped=e,this.result=t},c=e.exports=function(e,t,i,c,h){var d,f,p,m,g,v,y,_=s(t,i,c?2:1);if(h)d=e;else{if(f=o(e),"function"!=typeof f)throw TypeError("Target is not iterable");if(r(f)){for(p=0,m=a(e.length);m>p;p++)if(g=c?_(n(y=e[p])[0],y[1]):_(e[p]),g&&g instanceof l)return g;return new l(!1)}d=f.call(e)}v=d.next;while(!(y=v.call(d)).done)if(g=u(d,_,y.value,c),"object"==typeof g&&g&&g instanceof l)return g;return new l(!1)};c.stop=function(e){return new l(!0,e)}},"23cb":function(e,t,i){var n=i("a691"),r=Math.max,a=Math.min;e.exports=function(e,t){var i=n(e);return i<0?r(i+t,0):a(i,t)}},"23e7":function(e,t,i){var n=i("da84"),r=i("06cf").f,a=i("9112"),s=i("6eeb"),o=i("ce4e"),u=i("e893"),l=i("94ca");e.exports=function(e,t){var i,c,h,d,f,p,m=e.target,g=e.global,v=e.stat;if(c=g?n:v?n[m]||o(m,{}):(n[m]||{}).prototype,c)for(h in t){if(f=t[h],e.noTargetGet?(p=r(c,h),d=p&&p.value):d=c[h],i=l(g?h:m+(v?".":"#")+h,e.forced),!i&&void 0!==d){if(typeof f===typeof d)continue;u(f,d)}(e.sham||d&&d.sham)&&a(f,"sham",!0),s(c,h,f,e)}}},"241c":function(e,t,i){var n=i("ca84"),r=i("7839"),a=r.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},"256f":function(e,t,i){"use strict";var n=i("4329"),r=8589934592,a=4294967296,s="shared",o=function(e,t){var i=1;e>t&&(i=-1);while(Math.abs(t-e)>a)e+=i*r;return e},u=function(e){var t,i;u.prototype.init.call(this),this.type_=e||s,this.push=function(e){this.type_!==s&&e.type!==this.type_||(void 0===i&&(i=e.dts),e.dts=o(e.dts,i),e.pts=o(e.pts,i),t=e.dts,this.trigger("data",e))},this.flush=function(){i=t,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){i=void 0,t=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};u.prototype=new n,e.exports={TimestampRolloverStream:u,handleRollover:o}},"25f0":function(e,t,i){"use strict";var n=i("6eeb"),r=i("825a"),a=i("d039"),s=i("ad6d"),o="toString",u=RegExp.prototype,l=u[o],c=a((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),h=l.name!=o;(c||h)&&n(RegExp.prototype,o,(function(){var e=r(this),t=String(e.source),i=e.flags,n=String(void 0===i&&e instanceof RegExp&&!("flags"in u)?s.call(e):i);return"/"+t+"/"+n}),{unsafe:!0})},2626:function(e,t,i){"use strict";var n=i("d066"),r=i("9bf2"),a=i("b622"),s=i("83ab"),o=a("species");e.exports=function(e){var t=n(e),i=r.f;s&&t&&!t[o]&&i(t,o,{configurable:!0,get:function(){return this}})}},2806:function(e,t,i){"use strict";var n,r,a,s,o,u=i("7fe1").toUnsigned,l=i("7fe1").toHexString,c=i("9afa");n=function(e){var t={},i=c.findBox(e,["moov","trak"]);return i.reduce((function(e,t){var i,n,r,a,s;return i=c.findBox(t,["tkhd"])[0],i?(n=i[0],r=0===n?12:20,a=u(i[r]<<24|i[r+1]<<16|i[r+2]<<8|i[r+3]),s=c.findBox(t,["mdia","mdhd"])[0],s?(n=s[0],r=0===n?12:20,e[a]=u(s[r]<<24|s[r+1]<<16|s[r+2]<<8|s[r+3]),e):null):null}),t)},r=function(e,t){var i,n,r;return i=c.findBox(t,["moof","traf"]),n=[].concat.apply([],i.map((function(t){return c.findBox(t,["tfhd"]).map((function(i){var n,r,a;return n=u(i[4]<<24|i[5]<<16|i[6]<<8|i[7]),r=e[n]||9e4,a=c.findBox(t,["tfdt"]).map((function(e){var t,i;return t=e[0],i=u(e[4]<<24|e[5]<<16|e[6]<<8|e[7]),1===t&&(i*=Math.pow(2,32),i+=u(e[8]<<24|e[9]<<16|e[10]<<8|e[11])),i}))[0],a=a||1/0,a/r}))}))),r=Math.min.apply(null,n),isFinite(r)?r:0},a=function(e,t){var i,n=c.findBox(t,["moof","traf"]),r=0,a=0;if(n&&n.length)for(var s=c.parseTraf(n[0]),o=0;o<s.boxes.length;o++)"tfhd"===s.boxes[o].type?i=s.boxes[o].trackId:"tfdt"===s.boxes[o].type?r=s.boxes[o].baseMediaDecodeTime:"trun"===s.boxes[o].type&&s.boxes[o].samples.length&&(a=s.boxes[o].samples[0].compositionTimeOffset||0);var u=e[i]||9e4;return(r+a)/u},s=function(e){var t=c.findBox(e,["moov","trak"]),i=[];return t.forEach((function(e){var t=c.findBox(e,["mdia","hdlr"]),n=c.findBox(e,["tkhd"]);t.forEach((function(e,t){var r,a,s,o=c.parseType(e.subarray(8,12)),u=n[t];"vide"===o&&(r=new DataView(u.buffer,u.byteOffset,u.byteLength),a=r.getUint8(0),s=0===a?r.getUint32(12):r.getUint32(20),i.push(s))}))})),i},o=function(e){var t=c.findBox(e,["moov","trak"]),i=[];return t.forEach((function(e){var t,n,r={},a=c.findBox(e,["tkhd"])[0];a&&(t=new DataView(a.buffer,a.byteOffset,a.byteLength),n=t.getUint8(0),r.id=0===n?t.getUint32(12):t.getUint32(20));var s=c.findBox(e,["mdia","hdlr"])[0];if(s){var o=c.parseType(s.subarray(8,12));r.type="vide"===o?"video":"soun"===o?"audio":o}var h=c.findBox(e,["mdia","minf","stbl","stsd"])[0];if(h){var d=h.subarray(8);r.codec=c.parseType(d.subarray(4,8));var f,p,m=c.findBox(d,[r.codec])[0];m&&(/^[a-z]vc[1-9]$/i.test(r.codec)?(f=m.subarray(78),p=c.parseType(f.subarray(4,8)),"avcC"===p&&f.length>11?(r.codec+=".",r.codec+=l(f[9]),r.codec+=l(f[10]),r.codec+=l(f[11])):r.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(r.codec)&&(f=m.subarray(28),p=c.parseType(f.subarray(4,8)),"esds"===p&&f.length>20&&0!==f[19]?(r.codec+="."+l(f[19]),r.codec+="."+l(f[20]>>>2&63).replace(/^0/,"")):r.codec="mp4a.40.2"))}var g=c.findBox(e,["mdia","mdhd"])[0];if(g&&a){var v=0===n?12:20;r.timescale=u(g[v]<<24|g[v+1]<<16|g[v+2]<<8|g[v+3])}i.push(r)})),i},e.exports={findBox:c.findBox,parseType:c.parseType,timescale:n,startTime:r,compositionStartTime:a,videoTrackIds:s,tracks:o}},2877:function(e,t,i){"use strict";function n(e,t,i,n,r,a,s,o){var u,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=i,l._compiled=!0),n&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),s?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=u):r&&(u=o?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(e,t){return u.call(t),c(e,t)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,u):[u]}return{exports:e,options:l}}i.d(t,"a",(function(){return n}))},"29d8":function(e,t,i){function n(e){this.options=e||{locator:{}}}function r(e,t,i){if(!e){if(t instanceof a)return t;e=t}var n={},r=e instanceof Function;function s(t){var a=e[t];!a&&r&&(a=2==e.length?function(i){e(t,i)}:e),n[t]=a&&function(e){a("[xmldom "+t+"]\t"+e+o(i))}||function(){}}return i=i||{},s("warning"),s("error"),s("fatalError"),n}function a(){this.cdata=!1}function s(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function o(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function u(e,t,i){return"string"==typeof e?e.substr(t,i):e.length>=t+i||t?new java.lang.String(e,t,i)+"":e}function l(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}n.prototype.parseFromString=function(e,t){var i=this.options,n=new c,s=i.domBuilder||new a,o=i.errorHandler,u=i.locator,l=i.xmlns||{},h={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return u&&s.setDocumentLocator(u),n.errorHandler=r(o,s,u),n.domBuilder=i.domBuilder||s,/\/x?html?$/.test(t)&&(h.nbsp=" ",h.copy="©",l[""]="http://www.w3.org/1999/xhtml"),l.xml=l.xml||"http://www.w3.org/XML/1998/namespace",e?n.parse(e,l,h):n.errorHandler.error("invalid doc source"),s.doc},a.prototype={startDocument:function(){this.doc=(new h).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,i,n){var r=this.doc,a=r.createElementNS(e,i||t),o=n.length;l(this,a),this.currentElement=a,this.locator&&s(this.locator,a);for(var u=0;u<o;u++){e=n.getURI(u);var c=n.getValue(u),h=(i=n.getQName(u),r.createAttributeNS(e,i));this.locator&&s(n.getLocator(u),h),h.value=h.nodeValue=c,a.setAttributeNode(h)}},endElement:function(e,t,i){var n=this.currentElement;n.tagName;this.currentElement=n.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var i=this.doc.createProcessingInstruction(e,t);this.locator&&s(this.locator,i),l(this,i)},ignorableWhitespace:function(e,t,i){},characters:function(e,t,i){if(e=u.apply(this,arguments),e){if(this.cdata)var n=this.doc.createCDATASection(e);else n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&s(this.locator,n)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,i){e=u.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&s(this.locator,n),l(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,i){var n=this.doc.implementation;if(n&&n.createDocumentType){var r=n.createDocumentType(e,t,i);this.locator&&s(this.locator,r),l(this,r)}},warning:function(e){console.warn("[xmldom warning]\t"+e,o(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,o(this.locator))},fatalError:function(e){throw console.error("[xmldom fatalError]\t"+e,o(this.locator)),e}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){a.prototype[e]=function(){return null}}));var c=i("d61d").XMLReader,h=t.DOMImplementation=i("749c").DOMImplementation;t.XMLSerializer=i("749c").XMLSerializer,t.DOMParser=n},"2b8c":function(e,t,i){var n=i("be09"),r=e.exports={WebVTT:i("d02c"),VTTCue:i("b03c"),VTTRegion:i("f97d")};n.vttjs=r,n.WebVTT=r.WebVTT;var a=r.VTTCue,s=r.VTTRegion,o=n.VTTCue,u=n.VTTRegion;r.shim=function(){n.VTTCue=a,n.VTTRegion=s},r.restore=function(){n.VTTCue=o,n.VTTRegion=u},n.VTTCue||r.shim()},"2cf4":function(e,t,i){var n,r,a,s=i("da84"),o=i("d039"),u=i("c6b6"),l=i("0366"),c=i("1be4"),h=i("cc12"),d=i("1cdc"),f=s.location,p=s.setImmediate,m=s.clearImmediate,g=s.process,v=s.MessageChannel,y=s.Dispatch,_=0,b={},T="onreadystatechange",S=function(e){if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},w=function(e){return function(){S(e)}},k=function(e){S(e.data)},E=function(e){s.postMessage(e+"",f.protocol+"//"+f.host)};p&&m||(p=function(e){var t=[],i=1;while(arguments.length>i)t.push(arguments[i++]);return b[++_]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(_),_},m=function(e){delete b[e]},"process"==u(g)?n=function(e){g.nextTick(w(e))}:y&&y.now?n=function(e){y.now(w(e))}:v&&!d?(r=new v,a=r.port2,r.port1.onmessage=k,n=l(a.postMessage,a,1)):!s.addEventListener||"function"!=typeof postMessage||s.importScripts||o(E)||"file:"===f.protocol?n=T in h("script")?function(e){c.appendChild(h("script"))[T]=function(){c.removeChild(this),S(e)}}:function(e){setTimeout(w(e),0)}:(n=E,s.addEventListener("message",k,!1))),e.exports={set:p,clear:m}},"2d00":function(e,t,i){var n,r,a=i("da84"),s=i("342f"),o=a.process,u=o&&o.versions,l=u&&u.v8;l?(n=l.split("."),r=n[0]+n[1]):s&&(n=s.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/),n&&(r=n[1]))),e.exports=r&&+r},"2eee":function(e){e.exports=JSON.parse('{"Play":"播放","Pause":"暂停","Current Time":"当前时间","Duration":"时长","Remaining Time":"剩余时间","Stream Type":"媒体流类型","LIVE":"直播","Loaded":"加载完成","Progress":"进度","Fullscreen":"全屏","Non-Fullscreen":"退出全屏","Mute":"静音","Unmute":"取消静音","Playback Rate":"播放速度","Subtitles":"字幕","subtitles off":"关闭字幕","Captions":"内嵌字幕","captions off":"关闭内嵌字幕","Chapters":"节目段落","Close Modal Dialog":"关闭弹窗","Descriptions":"描述","descriptions off":"关闭描述","Audio Track":"音轨","You aborted the media playback":"视频播放被终止","A network error caused the media download to fail part-way.":"网络错误导致视频下载中途失败。","The media could not be loaded, either because the server or network failed or because the format is not supported.":"视频因格式不支持或者服务器或网络的问题无法加载。","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"由于视频文件损坏或是该视频使用了你的浏览器不支持的功能,播放终止。","No compatible source was found for this media.":"无法找到此视频兼容的源。","The media is encrypted and we do not have the keys to decrypt it.":"视频已加密,无法解密。","Play Video":"播放视频","Close":"关闭","Modal Window":"弹窗","This is a modal window":"这是一个弹窗","This modal can be closed by pressing the Escape key or activating the close button.":"可以按ESC按键或启用关闭按钮来关闭此弹窗。",", opens captions settings dialog":", 开启标题设置弹窗",", opens subtitles settings dialog":", 开启字幕设置弹窗",", opens descriptions settings dialog":", 开启描述设置弹窗",", selected":", 选择","captions settings":"字幕设定","Audio Player":"音频播放器","Video Player":"视频播放器","Replay":"重新播放","Progress Bar":"进度条","Volume Level":"音量","subtitles settings":"字幕设定","descriptions settings":"描述设定","Text":"文字","White":"白","Black":"黑","Red":"红","Green":"绿","Blue":"蓝","Yellow":"黄","Magenta":"紫红","Cyan":"青","Background":"背景","Window":"窗口","Transparent":"透明","Semi-Transparent":"半透明","Opaque":"不透明","Font Size":"字体尺寸","Text Edge Style":"字体边缘样式","None":"无","Raised":"浮雕","Depressed":"压低","Uniform":"均匀","Dropshadow":"下阴影","Font Family":"字体库","Proportional Sans-Serif":"比例无细体","Monospace Sans-Serif":"单间隔无细体","Proportional Serif":"比例细体","Monospace Serif":"单间隔细体","Casual":"舒适","Script":"手写体","Small Caps":"小型大写字体","Reset":"重置","restore all settings to the default values":"恢复全部设定至预设值","Done":"完成","Caption Settings Dialog":"字幕设定窗口","Beginning of dialog window. Escape will cancel and close the window.":"打开对话窗口。Escape键将取消并关闭对话窗口","End of dialog window.":"结束对话窗口","Seek to live, currently behind live":"尝试直播,当前为延时播放","Seek to live, currently playing live":"尝试直播,当前为实时播放","progress bar timing: currentTime={1} duration={2}":"{1}/{2}","{1} is loading.":"正在加载 {1}。"}')},"342f":function(e,t,i){var n=i("d066");e.exports=n("navigator","userAgent")||""},"35a1":function(e,t,i){var n=i("f5df"),r=i("3f8c"),a=i("b622"),s=a("iterator");e.exports=function(e){if(void 0!=e)return e[s]||e["@@iterator"]||r[n(e)]}},"36c6":function(e,t){function i(t){return e.exports=i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports["default"]=e.exports,e.exports.__esModule=!0,i(t)}e.exports=i,e.exports["default"]=e.exports,e.exports.__esModule=!0},"36c64":function(e,t){var i,n,r,a,s,o,u,l=9e4;i=function(e){return e*l},n=function(e,t){return e*t},r=function(e){return e/l},a=function(e,t){return e/t},s=function(e,t){return i(a(e,t))},o=function(e,t){return n(r(e),t)},u=function(e,t,i){return r(i?e:e-t)},e.exports={ONE_SECOND_IN_TS:l,secondsToVideoTs:i,secondsToAudioTs:n,videoTsToSeconds:r,audioTsToSeconds:a,audioTsToVideoTs:s,videoTsToAudioTs:o,metadataTsToSeconds:u}},"37e8":function(e,t,i){var n=i("83ab"),r=i("9bf2"),a=i("825a"),s=i("df75");e.exports=n?Object.defineProperties:function(e,t){a(e);var i,n=s(t),o=n.length,u=0;while(o>u)r.f(e,i=n[u++],t[i]);return e}},"3bbe":function(e,t,i){var n=i("861d");e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3c96":function(e,t){function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=i,e.exports["default"]=e.exports,e.exports.__esModule=!0},"3f8c":function(e,t){e.exports={}},"423e":function(e,t,i){"use strict";var n=i("ae75"),r=function(e){var t=31&e[1];return t<<=8,t|=e[2],t},a=function(e){return!!(64&e[1])},s=function(e){var t=0;return(48&e[3])>>>4>1&&(t+=e[4]+1),t},o=function(e,t){var i=r(e);return 0===i?"pat":i===t?"pmt":t?"pes":null},u=function(e){var t=a(e),i=4+s(e);return t&&(i+=e[i]+1),(31&e[i+10])<<8|e[i+11]},l=function(e){var t={},i=a(e),n=4+s(e);if(i&&(n+=e[n]+1),1&e[n+5]){var r,o,u;r=(15&e[n+1])<<8|e[n+2],o=3+r-4,u=(15&e[n+10])<<8|e[n+11];var l=12+u;while(l<o){var c=n+l;t[(31&e[c+1])<<8|e[c+2]]=e[c],l+=5+((15&e[c+3])<<8|e[c+4])}return t}},c=function(e,t){var i=r(e),a=t[i];switch(a){case n.H264_STREAM_TYPE:return"video";case n.ADTS_STREAM_TYPE:return"audio";case n.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},h=function(e){var t=a(e);if(!t)return null;var i=4+s(e);if(i>=e.byteLength)return null;var n,r=null;return n=e[i+7],192&n&&(r={},r.pts=(14&e[i+9])<<27|(255&e[i+10])<<20|(254&e[i+11])<<12|(255&e[i+12])<<5|(254&e[i+13])>>>3,r.pts*=4,r.pts+=(6&e[i+13])>>>1,r.dts=r.pts,64&n&&(r.dts=(14&e[i+14])<<27|(255&e[i+15])<<20|(254&e[i+16])<<12|(255&e[i+17])<<5|(254&e[i+18])>>>3,r.dts*=4,r.dts+=(6&e[i+18])>>>1)),r},d=function(e){switch(e){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},f=function(e){for(var t,i=4+s(e),n=e.subarray(i),r=0,a=0,o=!1;a<n.byteLength-3;a++)if(1===n[a+2]){r=a+5;break}while(r<n.byteLength)switch(n[r]){case 0:if(0!==n[r-1]){r+=2;break}if(0!==n[r-2]){r++;break}a+3!==r-2&&(t=d(31&n[a+3]),"slice_layer_without_partitioning_rbsp_idr"===t&&(o=!0));do{r++}while(1!==n[r]&&r<n.length);a=r-2,r+=3;break;case 1:if(0!==n[r-1]||0!==n[r-2]){r+=3;break}t=d(31&n[a+3]),"slice_layer_without_partitioning_rbsp_idr"===t&&(o=!0),a=r-2,r+=3;break;default:r+=3;break}return n=n.subarray(a),r-=a,a=0,n&&n.byteLength>3&&(t=d(31&n[a+3]),"slice_layer_without_partitioning_rbsp_idr"===t&&(o=!0)),o};e.exports={parseType:o,parsePat:u,parsePmt:l,parsePayloadUnitStartIndicator:a,parsePesType:c,parsePesTime:h,videoPacketContainsKeyFrame:f}},"428f":function(e,t,i){var n=i("da84");e.exports=n},4329:function(e,t,i){"use strict";var n=function(){this.init=function(){var e={};this.on=function(t,i){e[t]||(e[t]=[]),e[t]=e[t].concat(i)},this.off=function(t,i){var n;return!!e[t]&&(n=e[t].indexOf(i),e[t]=e[t].slice(),e[t].splice(n,1),n>-1)},this.trigger=function(t){var i,n,r,a;if(i=e[t],i)if(2===arguments.length)for(r=i.length,n=0;n<r;++n)i[n].call(this,arguments[1]);else{for(a=[],n=arguments.length,n=1;n<arguments.length;++n)a.push(arguments[n]);for(r=i.length,n=0;n<r;++n)i[n].apply(this,a)}},this.dispose=function(){e={}}}};n.prototype.pipe=function(e){return this.on("data",(function(t){e.push(t)})),this.on("done",(function(t){e.flush(t)})),this.on("partialdone",(function(t){e.partialFlush(t)})),this.on("endedtimeline",(function(t){e.endTimeline(t)})),this.on("reset",(function(t){e.reset(t)})),e},n.prototype.push=function(e){this.trigger("data",e)},n.prototype.flush=function(e){this.trigger("done",e)},n.prototype.partialFlush=function(e){this.trigger("partialdone",e)},n.prototype.endTimeline=function(e){this.trigger("endedtimeline",e)},n.prototype.reset=function(e){this.trigger("reset",e)},e.exports=n},"44ad":function(e,t,i){var n=i("d039"),r=i("c6b6"),a="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?a.call(e,""):Object(e)}:Object},"44d2":function(e,t,i){var n=i("b622"),r=i("7c73"),a=i("9bf2"),s=n("unscopables"),o=Array.prototype;void 0==o[s]&&a.f(o,s,{configurable:!0,value:r(null)}),e.exports=function(e){o[s][e]=!0}},"44de":function(e,t,i){var n=i("da84");e.exports=function(e,t){var i=n.console;i&&i.error&&(1===arguments.length?i.error(e):i.error(e,t))}},4840:function(e,t,i){var n=i("825a"),r=i("1c0b"),a=i("b622"),s=a("species");e.exports=function(e,t){var i,a=n(e).constructor;return void 0===a||void 0==(i=n(a)[s])?t:r(i)}},4930:function(e,t,i){var n=i("d039");e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},"4a0e":function(e,t,i){"use strict";i.r(t);i("e260"),i("e6cf"),i("cca6"),i("a79d");var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"video-js-com"},[i("video",{ref:"myVideo",staticClass:"video-js vjs-big-play-centered vjs-fluid",attrs:{id:e.id}},[e._m(0)]),i("p",{directives:[{name:"show",rawName:"v-show",value:!e.playerInited,expression:"!playerInited"}],staticClass:"player-initializing"},[e._v("视频加载中...")])])},r=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("p",{staticClass:"vjs-no-js"},[e._v(" To view this video please enable JavaScript, and consider upgrading to a web browser that "),i("a",{attrs:{href:"https://videojs.com/html5-video-support/",target:"_blank"}},[e._v(" supports HTML5 video ")])])}],a=(i("d3b7"),i("25f0"),i("8bbf")),s=i.n(a),o=i("9ab4");function u(){return i("f0e2").default}var l=function(){function e(){}return e.initLang_forCp=function(e,t){void 0===t&&(t=!0),console.log("初始化 video.js 库");var n=i("2eee"),r=i("92ea"),a=u();return a.addLanguage("zh-CN",Object(o["a"])(Object(o["a"])({},n),e["zh-CN"])),a.addLanguage("en",Object(o["a"])(Object(o["a"])({},r),e.en)),t&&this.loadCss_forCp(),a},e.loadCss_forCp=function(){this.isCssLoaded||(this.isCssLoaded=!0,i("fda2"),i("aaf8"))},e.isCssLoaded=!1,e}();l.loadCss_forCp();var c=s.a.extend({name:"VideoJS",props:{video:{type:Object,required:!0,default:function(){return{}}},autoInit:{type:Boolean,default:!0},autoPlay:{type:Boolean,default:!1},language:{type:String,default:"zh-CN"}},data:function(){return{id:"video_"+Math.random().toString(32).substr(2),player:null,playerInited:!1,currentVideo:this.video}},methods:{initPlayer:function(){var e=this;this.$nextTick((function(){var t=e,i=e.video,n=[];if(i.src){var r={src:i.src};i.type&&(r.type=i.type),n.push(r)}var a=l.initLang_forCp({"zh-CN":{},en:{}});e.player=a(e.$refs.myVideo,{controls:!0,poster:e.video.poster,preload:"auto",autoplay:e.autoPlay,fluid:!0,language:e.language,muted:!1,inactivityTimeout:!1,controlBar:{children:[{name:"playToggle"},{name:"currentTimeDisplay"},{name:"progressControl"},{name:"durationDisplay"},{name:"playbackRateMenuButton",playbackRates:[.5,1,1.5,2,2.5]},{name:"volumePanel",inline:!1},{name:"FullscreenToggle"}]},sources:n},(function(){console.log("视频可以播放了",this),t.$emit("onReady",this)})),e.playerInited=!0}))},switchVideo:function(e,t){var i=this;if(e.src&&e.poster||console.error("video需为一个包含src、poster、type(可选)的对象"),e.src){var n={src:e.src},r=this.player;e.type&&(n.type=e.type),"undefined"===typeof t&&(t=!0),r.pause(),r.src(n),r.load(n),e.poster&&r.posterImage.setSrc(e.poster),t&&this.$nextTick((function(){i.player.play()}))}},play:function(){var e=this;this.$nextTick((function(){e.player.play()}))},pause:function(){var e=this;this.$nextTick((function(){e.player.pause()}))},isEmptyObject:function(e){for(var t in e)return!1;return!0}},watch:{video:function(e){this.currentVideo=e,this.playerInited&&this.switchVideo(e,!1)},language:function(e){this.playerInited&&this.player.language(e)}},mounted:function(){var e=this;this.autoInit&&this.$nextTick((function(){e.initPlayer()}))},beforeDestroy:function(){if(this.playerInited)try{this.player.dispose()}catch(e){console.error(e)}}}),h=c,d=(i("5ccd"),i("2877")),f=Object(d["a"])(h,n,r,!1,null,null,null),p=f.exports,m="VideoJS";p.install=function(e){return e.component(m,p)};t["default"]=p},"4a4b":function(e,t){function i(t,n){return e.exports=i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports["default"]=e.exports,e.exports.__esModule=!0,i(t,n)}e.exports=i,e.exports["default"]=e.exports,e.exports.__esModule=!0},"4d64":function(e,t,i){var n=i("fc6a"),r=i("50c4"),a=i("23cb"),s=function(e){return function(t,i,s){var o,u=n(t),l=r(u.length),c=a(s,l);if(e&&i!=i){while(l>c)if(o=u[c++],o!=o)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===i)return e||c||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},"4e69":function(e,t,i){"use strict";var n=i("4329"),r=i("dc6d"),a=function(){a.prototype.init.call(this),this.captionPackets_=[],this.ccStreams_=[new h(0,0),new h(0,1),new h(1,0),new h(1,1)],this.reset(),this.ccStreams_.forEach((function(e){e.on("data",this.trigger.bind(this,"data")),e.on("partialdone",this.trigger.bind(this,"partialdone")),e.on("done",this.trigger.bind(this,"done"))}),this)};a.prototype=new n,a.prototype.push=function(e){var t,i,n;if("sei_rbsp"===e.nalUnitType&&(t=r.parseSei(e.escapedRBSP),t.payloadType===r.USER_DATA_REGISTERED_ITU_T_T35&&(i=r.parseUserData(t),i)))if(e.dts<this.latestDts_)this.ignoreNextEqualDts_=!0;else{if(e.dts===this.latestDts_&&this.ignoreNextEqualDts_)return this.numSameDts_--,void(this.numSameDts_||(this.ignoreNextEqualDts_=!1));n=r.parseCaptionPackets(e.pts,i),this.captionPackets_=this.captionPackets_.concat(n),this.latestDts_!==e.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=e.dts}},a.prototype.flushCCStreams=function(e){this.ccStreams_.forEach((function(t){return"flush"===e?t.flush():t.partialFlush()}),this)},a.prototype.flushStream=function(e){this.captionPackets_.length?(this.captionPackets_.forEach((function(e,t){e.presortIndex=t})),this.captionPackets_.sort((function(e,t){return e.pts===t.pts?e.presortIndex-t.presortIndex:e.pts-t.pts})),this.captionPackets_.forEach((function(e){e.type<2&&this.dispatchCea608Packet(e)}),this),this.captionPackets_.length=0,this.flushCCStreams(e)):this.flushCCStreams(e)},a.prototype.flush=function(){return this.flushStream("flush")},a.prototype.partialFlush=function(){return this.flushStream("partialFlush")},a.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach((function(e){e.reset()}))},a.prototype.dispatchCea608Packet=function(e){this.setsTextOrXDSActive(e)?this.activeCea608Channel_[e.type]=null:this.setsChannel1Active(e)?this.activeCea608Channel_[e.type]=0:this.setsChannel2Active(e)&&(this.activeCea608Channel_[e.type]=1),null!==this.activeCea608Channel_[e.type]&&this.ccStreams_[(e.type<<1)+this.activeCea608Channel_[e.type]].push(e)},a.prototype.setsChannel1Active=function(e){return 4096===(30720&e.ccData)},a.prototype.setsChannel2Active=function(e){return 6144===(30720&e.ccData)},a.prototype.setsTextOrXDSActive=function(e){return 256===(28928&e.ccData)||4138===(30974&e.ccData)||6186===(30974&e.ccData)};var s={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},o=function(e){return null===e?"":(e=s[e]||e,String.fromCharCode(e))},u=14,l=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],c=function(){var e=[],t=u+1;while(t--)e.push("");return e},h=function(e,t){h.prototype.init.call(this),this.field_=e||0,this.dataChannel_=t||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(e){var t,i,n,r,a;if(t=32639&e.ccData,t!==this.lastControlCode_){if(4096===(61440&t)?this.lastControlCode_=t:t!==this.PADDING_&&(this.lastControlCode_=null),n=t>>>8,r=255&t,t!==this.PADDING_)if(t===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(t===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),i=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=i,this.startPts_=e.pts;else if(t===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(e.pts);else if(t===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(e.pts);else if(t===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(e.pts);else if(t===this.CARRIAGE_RETURN_)this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts;else if(t===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(t===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(e.pts),this.displayed_=c();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=c();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=c()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(n,r))n=(3&n)<<8,a=o(n|r),this[this.mode_](e.pts,a),this.column_++;else if(this.isExtCharacter(n,r))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),n=(3&n)<<8,a=o(n|r),this[this.mode_](e.pts,a),this.column_++;else if(this.isMidRowCode(n,r))this.clearFormatting(e.pts),this[this.mode_](e.pts," "),this.column_++,14===(14&r)&&this.addFormatting(e.pts,["i"]),1===(1&r)&&this.addFormatting(e.pts,["u"]);else if(this.isOffsetControlCode(n,r))this.column_+=3&r;else if(this.isPAC(n,r)){var s=l.indexOf(7968&t);"rollUp"===this.mode_&&(s-this.rollUpRows_+1<0&&(s=this.rollUpRows_-1),this.setRollUp(e.pts,s)),s!==this.row_&&(this.clearFormatting(e.pts),this.row_=s),1&r&&-1===this.formatting_.indexOf("u")&&this.addFormatting(e.pts,["u"]),16===(16&t)&&(this.column_=4*((14&t)>>1)),this.isColorPAC(r)&&14===(14&r)&&this.addFormatting(e.pts,["i"])}else this.isNormalChar(n)&&(0===r&&(r=null),a=o(n),a+=o(r),this[this.mode_](e.pts,a),this.column_+=a.length)}else this.lastControlCode_=null}};h.prototype=new n,h.prototype.flushDisplayed=function(e){var t=this.displayed_.map((function(e){try{return e.trim()}catch(t){return console.error("Skipping malformed caption."),""}})).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},h.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=c(),this.nonDisplayed_=c(),this.lastControlCode_=null,this.column_=0,this.row_=u,this.rollUpRows_=2,this.formatting_=[]},h.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},h.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},h.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},h.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},h.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},h.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},h.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},h.prototype.isNormalChar=function(e){return e>=32&&e<=127},h.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=u,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=c(),this.displayed_=c()),void 0!==t&&t!==this.row_)for(var i=0;i<this.rollUpRows_;i++)this.displayed_[t-i]=this.displayed_[this.row_-i],this.displayed_[this.row_-i]="";void 0===t&&(t=this.row_),this.topRow_=t-this.rollUpRows_+1},h.prototype.addFormatting=function(e,t){this.formatting_=this.formatting_.concat(t);var i=t.reduce((function(e,t){return e+"<"+t+">"}),"");this[this.mode_](e,i)},h.prototype.clearFormatting=function(e){if(this.formatting_.length){var t=this.formatting_.reverse().reduce((function(e,t){return e+"</"+t+">"}),"");this.formatting_=[],this[this.mode_](e,t)}},h.prototype.popOn=function(e,t){var i=this.nonDisplayed_[this.row_];i+=t,this.nonDisplayed_[this.row_]=i},h.prototype.rollUp=function(e,t){var i=this.displayed_[this.row_];i+=t,this.displayed_[this.row_]=i},h.prototype.shiftRowsUp_=function(){var e;for(e=0;e<this.topRow_;e++)this.displayed_[e]="";for(e=this.row_+1;e<u+1;e++)this.displayed_[e]="";for(e=this.topRow_;e<this.row_;e++)this.displayed_[e]=this.displayed_[e+1];this.displayed_[this.row_]=""},h.prototype.paintOn=function(e,t){var i=this.displayed_[this.row_];i+=t,this.displayed_[this.row_]=i},e.exports={CaptionStream:a,Cea608Stream:h}},"50c4":function(e,t,i){var n=i("a691"),r=Math.min;e.exports=function(e){return e>0?r(n(e),9007199254740991):0}},5135:function(e,t){var i={}.hasOwnProperty;e.exports=function(e,t){return i.call(e,t)}},"55b5":function(e,t,i){var n=i("4a4b");function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}e.exports=r,e.exports["default"]=e.exports,e.exports.__esModule=!0},5692:function(e,t,i){var n=i("c430"),r=i("c6cd");(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,i){var n=i("d066"),r=i("241c"),a=i("7418"),s=i("825a");e.exports=n("Reflect","ownKeys")||function(e){var t=r.f(s(e)),i=a.f;return i?t.concat(i(e)):t}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5ccd":function(e,t,i){"use strict";i("a6e3")},"5fcf":function(e,t,i){"use strict";
/*! @name @videojs/vhs-utils @version 1.3.0 @license MIT */function n(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var r=n(i("d136")),a=n(i("be09")),s=function(e,t){return/^[a-z]+:/i.test(t)?t:(/\/\//i.test(e)||(e=r.buildAbsoluteURL(a.location&&a.location.href||"",e)),r.buildAbsoluteURL(e,t))};e.exports=s},"60da":function(e,t,i){"use strict";var n=i("83ab"),r=i("d039"),a=i("df75"),s=i("7418"),o=i("d1e7"),u=i("7b0b"),l=i("44ad"),c=Object.assign,h=Object.defineProperty;e.exports=!c||r((function(){if(n&&1!==c({b:1},c(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},i=Symbol(),r="abcdefghijklmnopqrst";return e[i]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[i]||a(c({},t)).join("")!=r}))?function(e,t){var i=u(e),r=arguments.length,c=1,h=s.f,d=o.f;while(r>c){var f,p=l(arguments[c++]),m=h?a(p).concat(h(p)):a(p),g=m.length,v=0;while(g>v)f=m[v++],n&&!d.call(p,f)||(i[f]=p[f])}return i}:c},"69f3":function(e,t,i){var n,r,a,s=i("7f9a"),o=i("da84"),u=i("861d"),l=i("9112"),c=i("5135"),h=i("f772"),d=i("d012"),f=o.WeakMap,p=function(e){return a(e)?r(e):n(e,{})},m=function(e){return function(t){var i;if(!u(t)||(i=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return i}};if(s){var g=new f,v=g.get,y=g.has,_=g.set;n=function(e,t){return _.call(g,e,t),t},r=function(e){return v.call(g,e)||{}},a=function(e){return y.call(g,e)}}else{var b=h("state");d[b]=!0,n=function(e,t){return l(e,b,t),t},r=function(e){return c(e,b)?e[b]:{}},a=function(e){return c(e,b)}}e.exports={set:n,get:r,has:a,enforce:p,getterFor:m}},"6b58":function(e,t,i){var n=i("7037")["default"],r=i("3c96");function a(e,t){if(t&&("object"===n(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return r(e)}e.exports=a,e.exports["default"]=e.exports,e.exports.__esModule=!0},"6eeb":function(e,t,i){var n=i("da84"),r=i("9112"),a=i("5135"),s=i("ce4e"),o=i("8925"),u=i("69f3"),l=u.get,c=u.enforce,h=String(String).split("String");(e.exports=function(e,t,i,o){var u=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,d=!!o&&!!o.noTargetGet;"function"==typeof i&&("string"!=typeof t||a(i,"name")||r(i,"name",t),c(i).source=h.join("string"==typeof t?t:"")),e!==n?(u?!d&&e[t]&&(l=!0):delete e[t],l?e[t]=i:r(e,t,i)):l?e[t]=i:s(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||o(this)}))},"6f8f":function(e,t){function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}e.exports=i,e.exports["default"]=e.exports,e.exports.__esModule=!0},7037:function(e,t){function i(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(e.exports=i=function(e){return typeof e},e.exports["default"]=e.exports,e.exports.__esModule=!0):(e.exports=i=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports["default"]=e.exports,e.exports.__esModule=!0),i(t)}e.exports=i,e.exports["default"]=e.exports,e.exports.__esModule=!0},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"749c":function(e,t){function i(e,t){for(var i in e)t[i]=e[i]}function n(e,t){var n=e.prototype;if(Object.create){var r=Object.create(t.prototype);n.__proto__=r}if(!(n instanceof t)){function a(){}a.prototype=t.prototype,a=new a,i(n,a),e.prototype=n=a}n.constructor!=e&&("function"!=typeof e&&console.error("unknow Class:"+e),n.constructor=e)}var r="http://www.w3.org/1999/xhtml",a={},s=a.ELEMENT_NODE=1,o=a.ATTRIBUTE_NODE=2,u=a.TEXT_NODE=3,l=a.CDATA_SECTION_NODE=4,c=a.ENTITY_REFERENCE_NODE=5,h=a.ENTITY_NODE=6,d=a.PROCESSING_INSTRUCTION_NODE=7,f=a.COMMENT_NODE=8,p=a.DOCUMENT_NODE=9,m=a.DOCUMENT_TYPE_NODE=10,g=a.DOCUMENT_FRAGMENT_NODE=11,v=a.NOTATION_NODE=12,y={},_={},b=(y.INDEX_SIZE_ERR=(_[1]="Index size error",1),y.DOMSTRING_SIZE_ERR=(_[2]="DOMString size error",2),y.HIERARCHY_REQUEST_ERR=(_[3]="Hierarchy request error",3)),T=(y.WRONG_DOCUMENT_ERR=(_[4]="Wrong document",4),y.INVALID_CHARACTER_ERR=(_[5]="Invalid character",5),y.NO_DATA_ALLOWED_ERR=(_[6]="No data allowed",6),y.NO_MODIFICATION_ALLOWED_ERR=(_[7]="No modification allowed",7),y.NOT_FOUND_ERR=(_[8]="Not found",8)),S=(y.NOT_SUPPORTED_ERR=(_[9]="Not supported",9),y.INUSE_ATTRIBUTE_ERR=(_[10]="Attribute in use",10));y.INVALID_STATE_ERR=(_[11]="Invalid state",11),y.SYNTAX_ERR=(_[12]="Syntax error",12),y.INVALID_MODIFICATION_ERR=(_[13]="Invalid modification",13),y.NAMESPACE_ERR=(_[14]="Invalid namespace",14),y.INVALID_ACCESS_ERR=(_[15]="Invalid access",15);function w(e,t){if(t instanceof Error)var i=t;else i=this,Error.call(this,_[e]),this.message=_[e],Error.captureStackTrace&&Error.captureStackTrace(this,w);return i.code=e,t&&(this.message=this.message+": "+t),i}function k(){}function E(e,t){this._node=e,this._refresh=t,C(this)}function C(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);se(e,"length",n.length),i(n,e),e._inc=t}}function x(){}function A(e,t){var i=e.length;while(i--)if(e[i]===t)return i}function P(e,t,i,n){if(n?t[A(t,n)]=i:t[t.length++]=i,e){i.ownerElement=e;var r=e.ownerDocument;r&&(n&&M(r,e,n),U(r,e,i))}}function I(e,t,i){var n=A(t,i);if(!(n>=0))throw w(T,new Error(e.tagName+"@"+i));var r=t.length-1;while(n<r)t[n]=t[++n];if(t.length=r,e){var a=e.ownerDocument;a&&(M(a,e,i),i.ownerElement=null)}}function O(e){if(this._features={},e)for(var t in e)this._features=e[t]}function L(){}function D(e){return("<"==e?"<":">"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function R(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(R(e,t))return!0}while(e=e.nextSibling)}function N(){}function U(e,t,i){e&&e._inc++;var n=i.namespaceURI;"http://www.w3.org/2000/xmlns/"==n&&(t._nsMap[i.prefix?i.localName:""]=i.value)}function M(e,t,i,n){e&&e._inc++;var r=i.namespaceURI;"http://www.w3.org/2000/xmlns/"==r&&delete t._nsMap[i.prefix?i.localName:""]}function B(e,t,i){if(e&&e._inc){e._inc++;var n=t.childNodes;if(i)n[n.length++]=i;else{var r=t.firstChild,a=0;while(r)n[a++]=r,r=r.nextSibling;n.length=a}}}function j(e,t){var i=t.previousSibling,n=t.nextSibling;return i?i.nextSibling=n:e.firstChild=n,n?n.previousSibling=i:e.lastChild=i,B(e.ownerDocument,e),t}function F(e,t,i){var n=t.parentNode;if(n&&n.removeChild(t),t.nodeType===g){var r=t.firstChild;if(null==r)return t;var a=t.lastChild}else r=a=t;var s=i?i.previousSibling:e.lastChild;r.previousSibling=s,a.nextSibling=i,s?s.nextSibling=r:e.firstChild=r,null==i?e.lastChild=a:i.previousSibling=a;do{r.parentNode=e}while(r!==a&&(r=r.nextSibling));return B(e.ownerDocument||e,e),t.nodeType==g&&(t.firstChild=t.lastChild=null),t}function V(e,t){var i=t.parentNode;if(i){var n=e.lastChild;i.removeChild(t);n=e.lastChild}n=e.lastChild;return t.parentNode=e,t.previousSibling=n,t.nextSibling=null,n?n.nextSibling=t:e.firstChild=t,e.lastChild=t,B(e.ownerDocument,e,t),t}function H(){this._nsMap={}}function q(){}function W(){}function z(){}function G(){}function Y(){}function X(){}function K(){}function $(){}function Q(){}function J(){}function Z(){}function ee(){}function te(e,t){var i=[],n=9==this.nodeType?this.documentElement:this,r=n.prefix,a=n.namespaceURI;if(a&&null==r){r=n.lookupPrefix(a);if(null==r)var s=[{namespace:a,prefix:null}]}return ne(this,i,e,t,s),i.join("")}function ie(e,t,i){var n=e.prefix||"",r=e.namespaceURI;if(!n&&!r)return!1;if("xml"===n&&"http://www.w3.org/XML/1998/namespace"===r||"http://www.w3.org/2000/xmlns/"==r)return!1;var a=i.length;while(a--){var s=i[a];if(s.prefix==n)return s.namespace!=r}return!0}function ne(e,t,i,n,a){if(n){if(e=n(e),!e)return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case s:a||(a=[]);a.length;var h=e.attributes,v=h.length,y=e.firstChild,_=e.tagName;i=r===e.namespaceURI||i,t.push("<",_);for(var b=0;b<v;b++){var T=h.item(b);"xmlns"==T.prefix?a.push({prefix:T.localName,namespace:T.value}):"xmlns"==T.nodeName&&a.push({prefix:"",namespace:T.value})}for(b=0;b<v;b++){T=h.item(b);if(ie(T,i,a)){var S=T.prefix||"",w=T.namespaceURI,k=S?" xmlns:"+S:" xmlns";t.push(k,'="',w,'"'),a.push({prefix:S,namespace:w})}ne(T,t,i,n,a)}if(ie(e,i,a)){S=e.prefix||"",w=e.namespaceURI,k=S?" xmlns:"+S:" xmlns";t.push(k,'="',w,'"'),a.push({prefix:S,namespace:w})}if(y||i&&!/^(?:meta|link|img|br|hr|input)$/i.test(_)){if(t.push(">"),i&&/^script$/i.test(_))while(y)y.data?t.push(y.data):ne(y,t,i,n,a),y=y.nextSibling;else while(y)ne(y,t,i,n,a),y=y.nextSibling;t.push("</",_,">")}else t.push("/>");return;case p:case g:y=e.firstChild;while(y)ne(y,t,i,n,a),y=y.nextSibling;return;case o:return t.push(" ",e.name,'="',e.value.replace(/[<&"]/g,D),'"');case u:return t.push(e.data.replace(/[<&]/g,D));case l:return t.push("<![CDATA[",e.data,"]]>");case f:return t.push("\x3c!--",e.data,"--\x3e");case m:var E=e.publicId,C=e.systemId;if(t.push("<!DOCTYPE ",e.name),E)t.push(' PUBLIC "',E),C&&"."!=C&&t.push('" "',C),t.push('">');else if(C&&"."!=C)t.push(' SYSTEM "',C,'">');else{var x=e.internalSubset;x&&t.push(" [",x,"]"),t.push(">")}return;case d:return t.push(