"use strict";functiond(){functiona(){}try{varb=newUint8Array(1);returnb.foo=function(){return42},b.constructor=a,42===b.foo()&&b.constructor===a&&"function"==typeofb.subarray&&0===b.subarray(1,1).byteLength}catch(c){return!1}}functione(){returnf.TYPED_ARRAY_SUPPORT?2147483647:1073741823}functionf(a){returnthisinstanceoff?(f.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void0),"number"==typeofa?g(this,a):"string"==typeofa?h(this,a,arguments.length>1?arguments[1]:"utf8"):i(this,a)):arguments.length>1?newf(a,arguments[1]):newf(a)}functiong(a,b){if(a=p(a,b<0?0:0|q(b)),!f.TYPED_ARRAY_SUPPORT)for(varc=0;c<b;c++)a[c]=0;returna}functionh(a,b,c){return"string"==typeofc&&""!==c||(c="utf8"),a=p(a,0|s(b,c)),a.write(b,c),a}functioni(a,b){if(f.isBuffer(b))returnj(a,b);if(Y(b))returnk(a,b);if(null==b)thrownewTypeError("must start with number, buffer, array or string");if("undefined"!=typeofArrayBuffer){if(b.bufferinstanceofArrayBuffer)returnl(a,b);if(binstanceofArrayBuffer)returnm(a,b)}returnb.length?n(a,b):o(a,b)}functionj(a,b){varc=0|q(b.length);returna=p(a,c),b.copy(a,0,0,c),a}functionk(a,b){varc=0|q(b.length);a=p(a,c);for(vard=0;d<c;d+=1)a[d]=255&b[d];returna}functionl(a,b){varc=0|q(b.length);a=p(a,c);for(vard=0;d<c;d+=1)a[d]=255&b[d];returna}functionm(a,b){returnf.TYPED_ARRAY_SUPPORT?(b.byteLength,a=f._augment(newUint8Array(b))):a=l(a,newUint8Array(b)),a}functionn(a,b){varc=0|q(b.length);a=p(a,c);for(vard=0;d<c;d+=1)a[d]=255&b[d];returna}functiono(a,b){varc,d=0;"Buffer"===b.type&&Y(b.data)&&(c=b.data,d=0|q(c.length)),a=p(a,d);for(vare=0;e<d;e+=1)a[e]=255&c[e];returna}functionp(a,b){returnf.TYPED_ARRAY_SUPPORT?(a=f._augment(newUint8Array(b)),a.__proto__=f.prototype):(a.length=b,a._isBuffer=!0),0!==b&&b<=f.poolSize>>>1&&(a.parent=Z),a}functionq(a){if(a>=e())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+e().toString(16)+" bytes");return0|a}functionr(a,b){if(!(thisinstanceofr))returnnewr(a,b);varc=newf(a,b);returndeletec.parent,c}functions(a,b){"string"!=typeofa&&(a=""+a);varc=a.length;if(0===c)return0;for(vard=!1;;)switch(b){case"ascii":case"binary":case"raw":case"raws":returnc;case"utf8":case"utf-8":returnR(a).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*c;case"hex":returnc>>>1;case"base64":returnU(a).length;default:if(d)returnR(a).length;b=(""+b).toLowerCase(),d=!0}}functiont(a,b,c){vard=!1;if(b|=0,c=void0===c||c===1/0?this.length:0|c,a||(a="utf8"),b<0&&(b=0),c>this.length&&(c=this.length),c<=b)return"";for(;;)switch(a){case"hex":returnF(this,b,c);case"utf8":case"utf-8":returnB(this,b,c);case"ascii":returnD(this,b,c);case"binary":returnE(this,b,c);case"base64":returnA(this,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnG(this,b,c);default:if(d)thrownewTypeError("Unknown encoding: "+a);a=(a+"").toLowerCase(),d=!0}}functionu(a,b,c,d){c=Number(c)||0;vare=a.length-c;d?(d=Number(d))>e&&(d=e):d=e;varf=b.length;if(f%2!=0)thrownewError("Invalid hex string");d>f/2&&(d=f/2);for(varg=0;g<d;g++){varh=parseInt(b.substr(2*g,2),16);if(isNaN(h))thrownewError("Invalid hex string");a[c+g]=h}returng}functionv(a,b,c,d){returnV(R(b,a.length-c),a,c,d)}functionw(a,b,c,d){returnV(S(b),a,c,d)}functionx(a,b,c,d){returnw(a,b,c,d)}functiony(a,b,c,d){returnV(U(b),a,c,d)}functionz(a,b,c,d){returnV(T(b,a.length-c),a,c,d)}functionA(a,b,c){return0===b&&c===a.length?W.fromByteArray(a):W.fromByteArray(a.slice(b,c))}functionB(a,b,c){c=Math.min(a.length,c);for(vard=[],e=b;e<c;){varf=a[e],g=null,h=f>239?4:f>223?3:f>191?2:1;if(e+h<=c){vari,j,k,l;switch(h){case1:f<128&&(g=f);break;case2:i=a[e+1],128==(192&i)&&(l=(31&f)<<6|63&i)>127&&(g=l);break;case3:i=a[e+1],j=a[e+2],128==(192&i)&&128==(192&j)&&(l=(15&f)<<12|(63&i)<<6|63&j)>2047&&(l<55296||l>57343)&&(g=l);break;case4:i=a[e+1],j=a[e+2],k=a[e+3],128==(192&i)&&128==(192&j)&&128==(192&k)&&(l=(15&f)<<18|(63&i)<<12|(63&j)<<6|63&k)>65535&&l<1114112&&(g=l)}}null===g?(g=65533,h=1):g>65535&&(g-=65536,d.push(g>>>10&1023|55296),g=56320|
*DetermineifanobjectisaBuffer
*
*@authorFerossAboukhadijeh<https://feross.org>
*@licenseMIT
*/
b.exports=function(a){returnnull!=a&&(d(a)||e(a)||!!a._isBuffer)}},{}],16:[function(a,b,c){(function(a){"use strict";functionc(b,c,d,e){if("function"!=typeofb)thrownewTypeError('"callback" argument must be a function');varf,g,h=arguments.length;switch(h){case0:case1:returna.nextTick(b);case2:returna.nextTick(function(){b.call(null,c)});case3:returna.nextTick(function(){b.call(null,c,d)});case4:returna.nextTick(function(){b.call(null,c,d,e)});default:for(f=newArray(h-1),g=0;g<f.length;)f[g++]=arguments[g];returna.nextTick(function(){b.apply(null,f)})}}!a.version||0===a.version.indexOf("v0.")||0===a.version.indexOf("v1.")&&0!==a.version.indexOf("v1.8.")?b.exports={nextTick:c}:b.exports=a}).call(this,a(17))},{17:17}],17:[function(a,b,c){functiond(){thrownewError("setTimeout has not been defined")}functione(){thrownewError("clearTimeout has not been defined")}functionf(a){if(l===setTimeout)returnsetTimeout(a,0);if((l===d||!l)&&setTimeout)returnl=setTimeout,setTimeout(a,0);try{returnl(a,0)}catch(b){try{returnl.call(null,a,0)}catch(b){returnl.call(this,a,0)}}}functiong(a){if(m===clearTimeout)returnclearTimeout(a);if((m===e||!m)&&clearTimeout)returnm=clearTimeout,clearTimeout(a);try{returnm(a)}catch(b){try{returnm.call(null,a)}catch(b){returnm.call(this,a)}}}functionh(){q&&o&&(q=!1,o.length?p=o.concat(p):r=-1,p.length&&i())}functioni(){if(!q){vara=f(h);q=!0;for(varb=p.length;b;){for(o=p,p=[];++r<b;)o&&o[r].run();r=-1,b=p.length}o=null,q=!1,g(a)}}functionj(a,b){this.fun=a,this.array=b}functionk(){}varl,m,n=b.exports={};!function(){try{l="function"==typeofsetTimeout?setTimeout:d}catch(a){l=d}try{m="function"==typeofclearTimeout?clearTimeout:e}catch(a){m=e}}();varo,p=[],q=!1,r=-1;n.nextTick=function(a){varb=newArray(arguments.length-1);if(arguments.length>1)for(varc=1;c<arguments.length;c++)b[c-1]=arguments[c];p.push(newj(a,b)),1!==p.length||q||f(i)},j.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=k,n.addListener=k,n.once=k,n.off=k,n.removeListener=k,n.removeAllListeners=k,n.emit=k,n.prependListener=k,n.prependOnceListener=k,n.listeners=function(a){return[]},n.binding=function(a){thrownewError("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(a){thrownewError("process.chdir is not supported")},n.umask=function(){return0}},{}],18:[function(a,b,c){b.exports=a(19)},{19:19}],19:[function(a,b,c){"use strict";functiond(a){if(!(thisinstanceofd))returnnewd(a);j.call(this,a),k.call(this,a),a&&!1===a.readable&&(this.readable=!1),a&&!1===a.writable&&(this.writable=!1),this.allowHalfOpen=!0,a&&!1===a.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",e)}functione(){this.allowHalfOpen||this._writableState.ended||g.nextTick(f,this)}functionf(a){a.end()}varg=a(16),h=Object.keys||function(a){varb=[];for(varcina)b.push(c);returnb};b.exports=d;vari=a(11);i.inherits=a(14);varj=a(21),k=a(23);i.inherits(d,j);for(varl=h(k.prototype),m=0;m<l.length;m++){varn=l[m];d.prototype[n]||(d.prototype[n]=k.prototype[n])}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){returnthis._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){returnvoid0!==this._readableState&&void0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(a){void0!==this._readableState&&void0!==this._writableState&&(this._readableState.destroyed=a,this._writableState.destroyed=a)}}),d.prototype._destroy=function(a,b){this.push(null),this.end(),g.nextTick(b,a)}},{11:11,14:14,16:16,21:21,23:23}],20:[function(a,b,c){"use strict";functiond(a){if(!(thisinstanceofd))returnnewd(a);e.call(this,a)}b.exports=d;vare=a(22),f=a(11);f.inherits=a(14),f.inherits(d,e),d.prototype._transform=function(a,b,c){c(null,a)}},{11:11,14:14,22:22}],21:[function(a,b,c){(function(c,d){"use strict";functione(a){returnL.from(a)}functionf(a){returnL.isBuffer(a)||ainstanceofM}functiong(
if(a&&!i(a))thrownewError("Unknown encoding: "+a)}functione(a){returna.toString(this.encoding)}functionf(a){this.charReceived=a.length%2,this.charLength=this.charReceived?2:0}functiong(a){this.charReceived=a.length%3,this.charLength=this.charReceived?3:0}varh=a(9).Buffer,i=h.isEncoding||function(a){switch(a&&a.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},j=c.StringDecoder=function(a){switch(this.encoding=(a||"utf8").toLowerCase().replace(/[-_]/,""),d(a),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=f;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=g;break;default:returnvoid(this.write=e)}this.charBuffer=newh(6),this.charReceived=0,this.charLength=0};j.prototype.write=function(a){for(varb="";this.charLength;){varc=a.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:a.length;if(a.copy(this.charBuffer,this.charReceived,0,c),this.charReceived+=c,this.charReceived<this.charLength)return"";a=a.slice(c,a.length),b=this.charBuffer.slice(0,this.charLength).toString(this.encoding);vard=b.charCodeAt(b.length-1);if(!(d>=55296&&d<=56319)){if(this.charReceived=this.charLength=0,0===a.length)returnb;break}this.charLength+=this.surrogateSize,b=""}this.detectIncompleteChar(a);vare=a.length;this.charLength&&(a.copy(this.charBuffer,0,a.length-this.charReceived,e),e-=this.charReceived),b+=a.toString(this.encoding,0,e);vare=b.length-1,d=b.charCodeAt(e);if(d>=55296&&d<=56319){varf=this.surrogateSize;returnthis.charLength+=f,this.charReceived+=f,this.charBuffer.copy(this.charBuffer,f,0,f),a.copy(this.charBuffer,0,0,f),b.substring(0,e)}returnb},j.prototype.detectIncompleteChar=function(a){for(varb=a.length>=3?3:a.length;b>0;b--){varc=a[a.length-b];if(1==b&&c>>5==6){this.charLength=2;break}if(b<=2&&c>>4==14){this.charLength=3;break}if(b<=3&&c>>3==30){this.charLength=4;break}}this.charReceived=b},j.prototype.end=function(a){varb="";if(a&&a.length&&(b=this.write(a)),this.charReceived){varc=this.charReceived,d=this.charBuffer,e=this.encoding;b+=d.slice(0,c).toString(e)}returnb}},{9:9}],36:[function(a,b,c){(function(a){functionc(a,b){functionc(){if(!e){if(d("throwDeprecation"))thrownewError(b);d("traceDeprecation")?console.trace(b):console.warn(b),e=!0}returna.apply(this,arguments)}if(d("noDeprecation"))returna;vare=!1;returnc}functiond(b){try{if(!a.localStorage)return!1}catch(d){return!1}varc=a.localStorage[b];returnnull!=c&&"true"===String(c).toLowerCase()}b.exports=c}).call(this,"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{})},{}],37:[function(a,b,c){!function(a,b,c,d,e){functionf(a){this.node=a}functiong(){this.events=[],this.head=null,this.body=null}functionh(){this.styling=null,this.layout=null}functioni(){this.styles={}}functionj(){this.id=null,this.styleAttrs=null,this.styleRefs=null}functionk(){this.regions={}}functionl(a){this.kind=a,this.begin=null,this.end=null,this.styleAttrs=null,this.regionID=null,this.sets=null,this.timeContainer=null}functionm(){l.call(this,"body")}functionn(){l.call(this,"div")}functiono(){l.call(this,"p")}functionp(){l.call(this,"span"),this.space=null}functionq(){l.call(this,"span"),this.space=null,this.text=null}functionr(){l.call(this,"br")}functions(){this.id=null,this.begin=null,this.end=null,this.styleAttrs=null,this.sets=null}functiont(){this.begin=null,this.end=null,this.qname=null,this.value=null}functionu(a){returna&&"xml:id"ina.attributes?a.attributes["xml:id"].value||null:null}functionv(a){returna&&"region"ina.attributes?a.attributes.region.value:""}functionw(a,b){varc=a&&"timeContainer"ina.attributes?a.attributes.timeContainer.value:null;returnc&&"par"!==c?"seq"===c?"seq":(K(b,"Illegal value of timeContainer (assuming 'par')"),"par"):"par"}functionx(a){returna&&"style"ina.attributes?a.attributes.style.value.split(" "):[]}functiony(a,b){
String.fromCodePoint||function(){vara=String.fromCharCode,b=Math.floor,c=function(){varc,d,e=16384,f=[],g=-1,h=arguments.length;if(!h)return"";for(vari="";++g<h;){varj=Number(arguments[g]);if(!isFinite(j)||j<0||j>1114111||b(j)!==j)throwRangeError("Invalid code point: "+j);j<=65535?f.push(j):(j-=65536,c=55296+(j>>10),d=j%1024+56320,f.push(c,d)),(g+1===h||f.length>e)&&(i+=a.apply(null,f),f.length=0)}returni};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:c,configurable:!0,writable:!0}):String.fromCodePoint=c}()}(void0===c?this.sax={}:c)}).call(this,a(9).Buffer)},{34:34,35:35,9:9}],45:[function(a,b,c){"use strict";functiond(a){returna&&a.__esModule?a:{default:a}}functione(){functiona(){B=!0,C=!0,E=o,D=(newDate).getTime(),"undefined"!=typeofwindow&&window.console&&(z[m]=b(window.console.error),z[n]=b(window.console.error),z[o]=b(window.console.warn),z[p]=b(window.console.info),z[q]=b(window.console.debug))}functionb(a){returna&&a.bind?a.bind(window.console):window.console.log.bind(window.console)}functionc(a){return{fatal:r.bind(a),error:s.bind(a),warn:t.bind(a),info:u.bind(a),debug:v.bind(a)}}functiond(a){E=a}functione(){returnE}functionf(a){B=a}functionh(a){C=a}functionj(a){E=a?q:l}functionk(){returnE!==l}functionr(){for(vara=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];w.apply(void0,[m,this].concat(b))}functions(){for(vara=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];w.apply(void0,[n,this].concat(b))}functiont(){for(vara=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];w.apply(void0,[o,this].concat(b))}functionu(){for(vara=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];w.apply(void0,[p,this].concat(b))}functionv(){for(vara=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];w.apply(void0,[q,this].concat(b))}functionw(a,b){if(!(E<a)){varc="",d=null;B&&(d=(newDate).getTime(),c+="["+(d-D)+"]"),C&&b&&b.getClassName&&(c+="["+b.getClassName()+"]",b.getType&&(c+="["+b.getType()+"]")),c.length>0&&(c+=" ");for(vare=arguments.length,f=Array(e>2?e-2:0),g=2;g<e;g++)f[g-2]=arguments[g];Array.apply(null,f).forEach(function(a){c+=a+" "}),z[a]&&z[a](c),y.trigger(i.default.LOG,{message:c})}}varx=this.context,y=(0,g.default)(x).getInstance(),z=[],A=void0,B=void0,C=void0,D=void0,E=void0;returnA={getLogger:c,setLogTimestampVisible:f,setCalleeNameVisible:h,setLogToBrowserConsole:j,getLogToBrowserConsole:k,setLogLevel:d,getLogLevel:e},a(),A}Object.defineProperty(c,"__esModule",{value:!0});varf=a(46),g=d(f),h=a(50),i=d(h),j=a(47),k=d(j),l=0,m=1,n=2,o=3,p=4,q=5;e.__dashjs_factory_name="Debug";varr=k.default.getSingletonFactory(e);r.LOG_LEVEL_NONE=l,r.LOG_LEVEL_FATAL=m,r.LOG_LEVEL_ERROR=n,r.LOG_LEVEL_WARNING=o,r.LOG_LEVEL_INFO=p,r.LOG_LEVEL_DEBUG=q,k.default.updateSingletonFactory(e.__dashjs_factory_name,r),c.default=r,b.exports=c.default},{46:46,47:47,50:50}],46:[function(a,b,c){"use strict";functiond(a){returna&&a.__esModule?a:{default:a}}functione(){functiona(a,b,c){vare=arguments.length<=3||void0===arguments[3]?h:arguments[3];if(!a)thrownewError("event type cannot be null or undefined");if(!b||"function"!=typeofb)thrownewError("listener must be a function: "+b);if(!(d(a,b,c)>=0)){f[a]=f[a]||[];varg={callback:b,scope:c,priority:e};f[a].some(function(b,c){if(b&&e>b.priority)returnf[a].splice(c,0,g),!0})||f[a].push(g)}}functionb(a,b,c){if(a&&b&&f[a]){vare=d(a,b,c);e<0||(f[a][e]=null)}}functionc(a,b){if(a&&f[a]){if(b=b||{},b.hasOwnProperty("type"))thrownewError("'type' is a reserved word for event dispatching");b.type=a,f[a]=f[a].filter(function(a){returna}),f[a].forEach(function(a){returna&&a.callback.call(a.scope,b)})}}functiond(a,b,c){vard=-1;returnf[a]?(f[a].some(function(a,e){if(a&&a.callback===b&&(!c||c===a.scope))returnd=e,!0}),d):d}functione(){f={}}varf={};return{on:a,off:b,trigger:c,reset:e}}Object.defineProperty(c,"__esModule",{value:!0});varf=a(47),g=d(f),h=0,i=5e3;e.__dashjs_factory_name="EventBus";varj=g.default.getSingletonFactory(e);j.EVENT_PRIORITY_LOW=h,j.EVENT_PRIORITY_HI
representation:b,mediaType:c}):s.trigger(m.default.SEGMENTS_LOADED,{segments:null,representation:b,mediaType:c,error:newk.default(null,"error loading segments",null)})}varr=this.context,s=(0,o.default)(r).getInstance(),t=void0,w=void0,y=void0,A=void0,B=void0,C=void0,D=void0,E=void0,F=void0;returnt={setConfig:c,initialize:b,loadInitialization:e,loadSegments:f,reset:h},a(),t}Object.defineProperty(c,"__esModule",{value:!0});varf=a(156),g=d(f),h=a(86),i=d(h),j=a(163),k=d(j),l=a(50),m=d(l),n=a(46),o=d(n),p=a(146),q=d(p),r=a(47),s=d(r),t=a(45),u=d(t),v=a(183),w=a(165),x=d(w),y=a(121),z=d(y);e.__dashjs_factory_name="SegmentBaseLoader",c.default=s.default.getSingletonFactory(e),b.exports=c.default},{121:121,146:146,156:156,163:163,165:165,183:183,45:45,46:46,47:47,50:50,86:86}],56:[function(a,b,c){"use strict";functiond(a){returna&&a.__esModule?a:{default:a}}functione(){functiona(){y=(0,o.default)(r).getInstance().getLogger(w),z={EBML:{tag:440786851,required:!0},Segment:{tag:408125543,required:!0,SeekHead:{tag:290298740,required:!0},Info:{tag:357149030,required:!0,TimecodeScale:{tag:2807729,required:!0,parse:"getMatroskaUint"},Duration:{tag:17545,required:!0,parse:"getMatroskaFloat"}},Tracks:{tag:374648427,required:!0},Cues:{tag:475249515,required:!0,CuePoint:{tag:187,required:!0,CueTime:{tag:179,required:!0,parse:"getMatroskaUint"},CueTrackPositions:{tag:183,required:!0,CueTrack:{tag:247,required:!0,parse:"getMatroskaUint"},CueClusterPosition:{tag:241,required:!0,parse:"getMatroskaUint"}}}}},Void:{tag:236,required:!0}}}functionb(){B=(0,q.default)(r).getInstance(),E=(0,x.default)(r).create({errHandler:A,metricsModel:C,mediaPlayerModel:D,requestModifier:B})}functionc(a){if(!(a.baseURLController&&a.metricsModel&&a.mediaPlayerModel&&a.errHandler))thrownewError("Missing config parameter(s)");F=a.baseURLController,C=a.metricsModel,D=a.mediaPlayerModel,A=a.errHandler}functiond(a){varb=[],c=void0,d=void0,e=(0,k.default)(r).create({data:a});for(e.consumeTagAndSize(z.Segment.Cues);e.moreData()&&e.consumeTagAndSize(z.Segment.Cues.CuePoint,!0);){for(c={},c.CueTime=e.parseTag(z.Segment.Cues.CuePoint.CueTime),c.CueTracks=[];e.moreData()&&e.consumeTag(z.Segment.Cues.CuePoint.CueTrackPositions,!0);){varf=e.getMatroskaCodedNum(),g=e.getPos();if(d={},d.Track=e.parseTag(z.Segment.Cues.CuePoint.CueTrackPositions.CueTrack),0===d.Track)thrownewError("Cue track cannot be 0");d.ClusterPosition=e.parseTag(z.Segment.Cues.CuePoint.CueTrackPositions.CueClusterPosition),c.CueTracks.push(d),e.setPos(g+f)}if(0===c.CueTracks.length)thrownewError("Mandatory cuetrack not found");b.push(c)}if(0===b.length)thrownewError("mandatory cuepoint not found");returnb}functione(a,b,c,e){varf=void0,g=void0,h=void0,i=void0,j=void0,k=void0,l=void0,m=void0;for(g=d(a),h=[],j=0,k=g.length;j<k;j+=1)i=news.default,f=0,f=j<g.length-1?g[j+1].CueTime-g[j].CueTime:e-g[j].CueTime,i.duration=f,i.startTime=g[j].CueTime,i.timescale=1e3,l=g[j].CueTracks[0].ClusterPosition+b,m=j<g.length-1?g[j+1].CueTracks[0].ClusterPosition+b-1:c-1,i.mediaRange=l+"-"+m,h.push(i);returny.debug("Parsed cues: "+h.length+" cues."),h}functionf(a,b,c,d){varf=(0,k.default)(r).create({data:a}),g=void0,h=void0,i=c.split("-"),j=null,l={url:b,range:{start:parseFloat(i[0]),end:parseFloat(i[1])},request:j},m=void0,o=void0;for(y.debug("Parse EBML header: "+l.url),f.skipOverElement(z.EBML),f.consumeTag(z.Segment),m=f.getMatroskaCodedNum(),m+=f.getPos(),o=f.getPos();f.moreData()&&!f.consumeTagAndSize(z.Segment.Info,!0);)if(!(f.skipOverElement(z.Segment.SeekHead,!0)||f.skipOverElement(z.Segment.Tracks,!0)||f.skipOverElement(z.Segment.Cues,!0)||f.skipOverElement(z.Void,!0)))thrownewError("no valid top level element found");for(;void0===g;){varp=f.getMatroskaCodedNum(!0),q=f.getMatroskaCodedNum();switch(p){casez.Segment.Info.Duration.tag:g=f[z.Segment.Info.Duration.parse](q);break;default:f.setPos(f.getPos()+q)}}j=n(l);vars=function(a){h=e(a,o,m,g),d(h)},t=function(){y.error("Download Error: Cues "+l.url),d(null)};E.load({request:j,success:s,error:t}),y.debug("Perfor
functione(){functiona(){g=(0,i.default)(e).getInstance().getLogger(f),h=[newq.default,news.default,newu.default,newo.default],j=newm.default({escapeMode:!1,attributePrefix:"",arrayAccessForm:"property",emptyNodeForm:"object",stripWhitespaces:!1,enableToStringFunc:!1,ignoreRoot:!0,matchers:h}),l=(0,k.default)(e).create({adaptationset:neww.default,period:newy.default})}functionb(){returnh}functionc(){returnl}functiond(a){varb=void0,c=window.performance.now();if(!(b=j.xml_str2json(a)))thrownewError("parsing the manifest failed");vard=window.performance.now();l.run(b);vare=window.performance.now();returng.info("Parsing complete: ( xml2json: "+(d-c).toPrecision(3)+"ms, objectiron: "+(e-d).toPrecision(3)+"ms, total: "+((e-c)/1e3).toPrecision(3)+"s)"),b}vare=this.context,f=void0,g=void0,h=void0,j=void0,l=void0;returnf={parse:d,getMatchers:b,getIron:c},a(),f}Object.defineProperty(c,"__esModule",{value:!0});varf=a(47),g=d(f),h=a(45),i=d(h),j=a(70),k=d(j),l=a(3),m=d(l),n=a(69),o=d(n),p=a(67),q=d(p),r=a(66),s=d(r),t=a(68),u=d(t),v=a(63),w=d(v),x=a(64),y=d(x);e.__dashjs_factory_name="DashParser",c.default=g.default.getClassFactory(e),b.exports=c.default},{3:3,45:45,47:47,63:63,64:64,66:66,67:67,68:68,69:69,70:70}],61:[function(a,b,c){"use strict";functiond(a,b){if(!(ainstanceofb))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});vare=function(){functiona(a,b){for(varc=0;c<b.length;c++){vard=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"ind&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}returnfunction(b,c,d){returnc&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){functiona(b){d(this,a);varc=function(a){returna&&a.length&&a.charAt(0)===a.charAt(0).toUpperCase()};this._name=b,this._merge=c(b)}returne(a,[{key:"name",get:function(){returnthis._name}},{key:"merge",get:function(){returnthis._merge}}]),a}();c.default=f,b.exports=c.default},{}],62:[function(a,b,c){"use strict";functiond(a){returna&&a.__esModule?a:{default:a}}functione(a,b){if(!(ainstanceofb))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});varf=function(){functiona(a,b){for(varc=0;c<b.length;c++){vard=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"ind&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}returnfunction(b,c,d){returnc&&a(b.prototype,c),d&&a(b,d),b}}(),g=a(61),h=d(g),i=function(){functiona(b,c,d){varf=this;e(this,a),this._name=b||"",this._properties=[],this._children=d||[],Array.isArray(c)&&c.forEach(function(a){f._properties.push(newh.default(a))})}returnf(a,[{key:"name",get:function(){returnthis._name}},{key:"children",get:function(){returnthis._children}},{key:"properties",get:function(){returnthis._properties}}]),a}();c.default=i,b.exports=c.default},{61:61}],63:[function(a,b,c){"use strict";functiond(a){returna&&a.__esModule?a:{default:a}}functione(a,b){if(!(ainstanceofb))thrownewTypeError("Cannot call a class as a function")}functionf(a,b){if("function"!=typeofb&&null!==b)thrownewTypeError("Super expression must either be null or a function, not "+typeofb);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});varg=function(a,b,c){for(vard=!0;d;){vare=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);varh=Object.getOwnPropertyDescriptor(e,f);if(void0!==h){if("value"inh)returnh.value;vari=h.get;if(void0===i)return;returni.call(g)}varj=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void0}},h=a(62),i=d(h),j=a(57),k=d(j),l=function(a){functionb(){e(this,b);vara=[k.default.PROFILES,k.default.WIDTH,k.default.HEIGHT,k.default.SAR,k.default.FRAMERATE,k.default.AUDIO_SAMPLING_RATE,k.default.MIME_TYPE,k.default.SEGMENT_PROFILES,k.default.CODECS,k.default.MAXIMUM_SAP_PERIOD,k.default.START_WITH_SAP,k.default.MAX_PLAYOUT_RATE,k.default.CODING_DEPENDENCY,k.d
;d.enumerable=d.enumerable||!1,d.configurable=!0,"value"ind&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}returnfunction(b,c,d){returnc&&a(b.prototype,c),d&&a(b,d),b}}(),g=a(57),h=d(g),i=function(){functiona(){e(this,a),this.id=null,this.index=-1,this.adaptation=null,this.segmentInfoType=null,this.initialization=null,this.codecs=null,this.codecPrivateData=null,this.segmentDuration=NaN,this.timescale=1,this.startNumber=1,this.indexRange=null,this.range=null,this.presentationTimeOffset=0,this.MSETimeOffset=NaN,this.segmentAvailabilityRange=null,this.availableSegmentsNumber=0,this.bandwidth=NaN,this.width=NaN,this.height=NaN,this.scanType=null,this.maxPlayoutRate=NaN,this.availabilityTimeOffset=0,this.availabilityTimeComplete=!0}returnf(a,null,[{key:"hasInitialization",value:function(a){returnnull!==a.initialization||null!==a.range}},{key:"hasSegments",value:function(a){returna.segmentInfoType!==h.default.BASE_URL&&a.segmentInfoType!==h.default.SEGMENT_BASE&&!a.indexRange}}]),a}();c.default=i,b.exports=c.default},{57:57}],86:[function(a,b,c){"use strict";functiond(a,b){if(!(ainstanceofb))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});vare=functiona(){d(this,a),this.indexRange=null,this.index=null,this.mediaRange=null,this.media=null,this.duration=NaN,this.replacementTime=null,this.replacementNumber=NaN,this.mediaStartTime=NaN,this.presentationStartTime=NaN,this.availabilityStartTime=NaN,this.availabilityEndTime=NaN,this.availabilityIdx=NaN,this.wallStartTime=NaN,this.representation=null};c.default=e,b.exports=c.default},{}],87:[function(a,b,c){"use strict";functiond(a,b){if(!(ainstanceofb))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});vare=functiona(){d(this,a),this.schemeIdUri="",this.value=""};c.default=e,b.exports=c.default},{}],88:[function(a,b,c){"use strict";functiond(a){returna&&a.__esModule?a:{default:a}}functione(a){functionb(){n=(0,g.default)(h).create({errHandler:a.errHandler,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,requestModifier:a.requestModifier,useFetch:a.mediaPlayerModel.getLowLatencyEnabled()})}functionc(a){varb=function(b){j.trigger(o.default.CHECK_FOR_EXISTENCE_COMPLETED,{request:a,exists:b})};if(a){varc=newi.default(a.url);n.load({request:c,success:function(){b(!0)},error:function(){b(!1)}})}elseb(!1)}functiond(a){varb=function(b,c){j.trigger(o.default.LOADING_COMPLETED,{request:a,response:b||null,error:c||null,sender:l})};a?n.load({request:a,progress:function(b){j.trigger(o.default.LOADING_PROGRESS,{request:a}),b.data&&j.trigger(o.default.LOADING_DATA_PROGRESS,{request:a,response:b.data||null,error:null,sender:l})},success:function(a){b(a)},error:function(a,c,d){b(void0,newk.default(r,d,c))},abort:function(a){a&&j.trigger(o.default.LOADING_ABANDONED,{request:a,mediaType:a.mediaType,sender:l})}}):b(void0,newk.default(s,t))}functione(){n&&n.abort()}functionf(){n&&(n.abort(),n=null)}a=a||{};varh=this.context,j=(0,m.default)(h).getInstance(),l=void0,n=void0;returnl={checkForExistence:c,load:d,abort:e,reset:f},b(),l}Object.defineProperty(c,"__esModule",{value:!0});varf=a(121),g=d(f),h=a(166),i=d(h),j=a(163),k=d(j),l=a(46),m=d(l),n=a(50),o=d(n),p=a(47),q=d(p),r=1,s=2,t="request is null";e.__dashjs_factory_name="FragmentLoader";varu=q.default.getClassFactory(e);u.FRAGMENT_LOADER_ERROR_LOADING_FAILURE=r,u.FRAGMENT_LOADER_ERROR_NULL_REQUEST=s,q.default.updateClassFactory(e.__dashjs_factory_name,u),c.default=u,b.exports=c.default},{121:121,163:163,166:166,46:46,47:47,50:50}],89:[function(a,b,c){"use strict";functiond(a){returna&&a.__esModule?a:{default:a}}functione(a){functionb(){p=(0,B.default)(h).getInstance().getLogger(n),j.on(v.default.XLINK_READY,c,n),s=(0,k.default)(h).create({errHandler:y,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,requestModifier:a.requestModifier}),u=(0,i.default)(h).create({errHandler:y,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,requestModifier:a.requestMod
functione(a,b){o=o.filter(function(c){return!((isNaN(b)||c.start<b)&&(isNaN(a)||c.end>a))})}functionf(){}functionh(){for(vara=[],b=0;b<o.length;b++){varc=o[b];0===a.length||c.start>a[a.length-1].end?a.push({start:c.start,end:c.end}):a[a.length-1].end=c.end}vard={start:function(b){returna[b].start},end:function(b){returna[b].end}};returnObject.defineProperty(d,"length",{get:function(){returna.length}}),d}functioni(){}functionj(a,b){varc=k(a,b);returnp&&(c.push(p),p=null),e(a,b),c}functionk(a,b){returno.filter(function(c){return(isNaN(b)||c.start<b)&&(isNaN(a)||c.end>a)})}varl=this.context,m=void0,n=void0,o=[],p=void0,q=a;returnm={getAllBufferRanges:h,append:d,remove:e,abort:f,discharge:j,reset:c,updateTimestampOffset:i},b(),m}Object.defineProperty(c,"__esModule",{value:!0});varf=a(45),g=d(f),h=a(47),i=d(h);e.__dashjs_factory_name="PreBufferSink";varj=i.default.getClassFactory(e);c.default=j,b.exports=c.default},{45:45,47:47}],94:[function(a,b,c){"use strict";functiond(a){returna&&a.__esModule?a:{default:a}}functione(a,b,c,d){functione(){C=(0,g.default)(z).getInstance().getLogger(B),E=!1;varc=b.codec;try{if(c.match(/application\/mp4;\s*codecs="(stpp|wvtt).*"/i))thrownewError("not really supported");D=d||a.addSourceBuffer(c);vare=50;if("function"==typeofD.addEventListener)try{D.addEventListener("updateend",w,!1),D.addEventListener("error",x,!1),D.addEventListener("abort",x,!1)}catch(h){I=setInterval(v,e)}elseI=setInterval(v,e)}catch(i){if(!b.isText&&-1===c.indexOf('codecs="stpp')&&-1===c.indexOf('codecs="wvtt'))throwi;varf=(0,q.default)(z).getInstance();D=f.getTextSourceBuffer()}}functionf(b){if(D){if("function"==typeofD.removeEventListener&&(D.removeEventListener("updateend",w,!1),D.removeEventListener("error",x,!1),D.removeEventListener("abort",x,!1)),clearInterval(I),!b){try{D.getClassName&&"TextSourceBuffer"===D.getClassName()||a.removeSourceBuffer(D)}catch(c){C.error("Failed to remove source buffer from media source.")}D=null}E=!1}G=[],H=null}functionh(){returnD}functionj(){try{returnD.buffered}catch(a){returnC.error("getAllBufferRanges exception: "+a.message),null}}functionl(a){G.push(a),E||y(D,p.bind(this))}functionn(a){D.timestampOffset===a||isNaN(a)||y(D,function(){D.timestampOffset=a})}functiono(b,c,d){vare=this;y(D,function(){try{b>=0&&c>b&&(d||"ended"!==a.readyState)&&D.remove(b,c),y(D,function(){A.trigger(m.default.SOURCEBUFFER_REMOVE_COMPLETED,{buffer:e,from:b,to:c,unintended:!1})})}catch(f){A.trigger(m.default.SOURCEBUFFER_REMOVE_COMPLETED,{buffer:e,from:b,to:c,unintended:!1,error:newi.default(f.code,f.message,null)})}})}functionp(){vara=this,b=this;G.length>0&&function(){E=!0;varc=G[0];G.splice(0,1);vard=[],e=function(){vara=j();r(b,d,a,c),G.length>0?p.call(this):(E=!1,H&&H({chunk:c}))};try{0===c.bytes.length?e.call(a):(d=j(),D.appendBuffer?D.appendBuffer(c.bytes):D.append(c.bytes,c),y(D,e.bind(a)))}catch(f){C.fatal('SourceBuffer append failed "'+f+'"'),G.length>0?p():E=!1,H&&H({chunk:c,error:newi.default(f.code,f.message,null)})}}()}functionr(a,b,c,d){b&&b.length>0&&b.length<c.length&&s(b,d)&&A.trigger(m.default.SOURCEBUFFER_REMOVE_COMPLETED,{buffer:a,from:c.end(c.length-2),to:c.start(c.length-1),unintended:!0})}functions(a,b){for(varc=0;c<a.length;c++){vard=Math.round(a.start(c)),e=Math.round(a.end(c));if(e===b.start||d===b.end||b.start>=d&&b.end<=e)return!0}return!1}functiont(){try{"open"===a.readyState?D.abort():D.setTextTrack&&"ended"===a.readyState&&D.abort()}catch(b){C.error('SourceBuffer append abort failed: "'+b+'"')}G=[]}functionu(){if(F.length>0){vara=F.shift();D.updating?y(D,a):(a(),u())}}functionv(){D.updating||u()}functionw(){D.updating||u()}functionx(){C.error("SourceBufferSink error",b.type)}functiony(a,b){F.push(b),a.updating||u()}varz=this.context,A=(0,k.default)(z).getInstance(),B=void0,C=void0,D=void0,E=void0,F=[],G=[],H=c,I=void0;returnB={getAllBufferRanges:j,getBuffer:h,append:l,remove:o,abort:t,reset:f,updateTimestampOffset:n},e(),B}Object.defineProperty(c,"__esModule",{value:!0});varf=a(45),g=d(f),h=a(163),i=d(h)
functionV(){sa.info("Native video element event: pause"),qa.trigger(o.default.PLAYBACK_PAUSED,{ended:w()})}functionW(){vara=p();sa.info("Seeking to: "+a),N(),qa.trigger(o.default.PLAYBACK_SEEKING,{seekTime:a})}functionX(){sa.info("Native video element event: seeked"),qa.trigger(o.default.PLAYBACK_SEEKED),za.addEventListener("seeking",W)}functionY(){vara=p();Aa=a,qa.trigger(o.default.PLAYBACK_TIME_UPDATED,{timeToEnd:d(),time:a})}functionZ(){vara=Date.now();(!Ka||a>Ka+t)&&(Ka=a,Y())}function$(){qa.trigger(o.default.PLAYBACK_PROGRESS)}function_(){vara=q();sa.info("Native video element event: ratechange: ",a),qa.trigger(o.default.PLAYBACK_RATE_CHANGED,{playbackRate:a})}functionaa(){sa.info("Native video element event: loadedmetadata"),qa.trigger(o.default.PLAYBACK_METADATA_LOADED),N()}functionba(){sa.info("Native video element event: ended"),j(),O(),qa.trigger(o.default.PLAYBACK_ENDED,{isLast:ta.getActiveStreamInfo().isLast})}functionca(a){Ca&&a.isLast&&(sa.info("[PlaybackController] onPlaybackEnded -- PLAYBACK_ENDED but native video element didn't fire ended"),za.setCurrentTime(e()),j(),O())}functionda(a){varb=a.target||a.srcElement;qa.trigger(o.default.PLAYBACK_ERROR,{error:b.error})}functionea(){qa.trigger(o.default.WALLCLOCK_TIME_UPDATED,{isDynamic:Ha,time:newDate}),x()&&h()&&Z()}functionfa(a,b){if(b&&b.length>0)for(varc=0,d=b.length;c<d;c++)if(a>=b.start(c)&&a<b.end(c))return!0;return!1}functionga(){Ha&&Ia.getLowLatencyEnabled()&&C()>0&&(!ja()&&ha()?G():ia()&&H())}functionha(){returnF()>Ia.getLiveDelay()*(1+v)}functionia(){returnF()<=Ia.getLiveDelay()}functionja(){returnC()+1===q()}functionka(a){varb=void0,c=void0,d=a.bufferedRanges;if(d&&d.length&&(!Da[Ga.id]||!0!==Da[Ga.id].started)){vare=a.sender.getType();void0===Fa[Ga.id]&&(Fa[Ga.id]=[]),Fa[Ga.id][e]=d,void0===Da[Ga.id]&&(Da[Ga.id]=[],Da[Ga.id].started=!1),void0===Da[Ga.id][e]&&(Da[Ga.id][e]=Math.max(d.start(0),Ga.start));varf=ta.isVideoTrackPresent(),g=ta.isAudioTrackPresent();c=L(!1),g&&f?isNaN(Da[Ga.id].audio)||isNaN(Da[Ga.id].video)||(Da[Ga.id].audio<Da[Ga.id].video?(b=Da[Ga.id].video>c?Da[Ga.id].video:c,d=Fa[Ga.id].audio):(b=Da[Ga.id].audio>c?Da[Ga.id].audio:c,d=Fa[Ga.id].video),fa(b,d)&&(l()||Na||0===b||n(b,!0,!0),Da[Ga.id].started=!0)):Da[Ga.id][e]&&(b=Da[Ga.id][e]>c?Da[Ga.id][e]:c,l()||Na||n(b,!1,!0),Da[Ga.id].started=!0)}}functionla(a){a.streamInfo.id===Ga.id&&za.setStallState(a.mediaType,a.state===i.default.BUFFER_EMPTY)}functionma(a){qa.trigger(o.default.PLAYBACK_STALLED,{e:a})}functionna(){za.addEventListener("canplay",R),za.addEventListener("play",S),za.addEventListener("waiting",T),za.addEventListener("playing",U),za.addEventListener("pause",V),za.addEventListener("error",da),za.addEventListener("seeking",W),za.addEventListener("seeked",X),za.addEventListener("timeupdate",Y),za.addEventListener("progress",$),za.addEventListener("ratechange",_),za.addEventListener("loadedmetadata",aa),za.addEventListener("stalled",ma),za.addEventListener("ended",ba)}functionoa(){za.removeEventListener("canplay",R),za.removeEventListener("play",S),za.removeEventListener("waiting",T),za.removeEventListener("playing",U),za.removeEventListener("pause",V),za.removeEventListener("error",da),za.removeEventListener("seeking",W),za.removeEventListener("seeked",X),za.removeEventListener("timeupdate",Y),za.removeEventListener("progress",$),za.removeEventListener("ratechange",_),za.removeEventListener("loadedmetadata",aa),za.removeEventListener("stalled",ma),za.removeEventListener("ended",ba)}varpa=this.context,qa=(0,m.default)(pa).getInstance(),ra=void0,sa=void0,ta=void0,ua=void0,va=void0,wa=void0,xa=void0,ya=void0,za=void0,Aa=void0,Ba=void0,Ca=void0,Da=void0,Ea=void0,Fa=void0,Ga=void0,Ha=void0,Ia=void0,Ja=void0,Ka=void0,La=void0,Ma=void0,Na=void0,Oa=u;returnra={initialize:b,setConfig:J,getStartTimeFromUriParameters:K,getStreamStartTime:L,getTimeToStreamEnd:d,getTime:p,getPlaybackRate:q,getPlayedRanges:r,getEnded:w,getIsDynamic:x,getStreamController:y,setCatchUpPlaybackRate:B,setLiveStartTime:z,getLiveStartTime:A,c
;varf=a(98),g=d(f),h=a(163),i=d(h),j=a(183),k=a(46),l=d(k),m=a(50),n=d(m),o=a(47),p=d(o),q=a(45),r=d(q),s=a(158),t=d(s),u=1,v=5e3;e.__dashjs_factory_name="TimeSyncController";varw=p.default.getSingletonFactory(e);w.TIME_SYNC_FAILED_ERROR_CODE=u,w.HTTP_TIMEOUT_MS=v,p.default.updateSingletonFactory(e.__dashjs_factory_name,w),c.default=w,b.exports=c.default},{158:158,163:163,183:183,45:45,46:46,47:47,50:50,98:98}],112:[function(a,b,c){"use strict";functiond(a){returna&&a.__esModule?a:{default:a}}functione(a){functionb(){A.on(k.default.XLINK_ELEMENT_LOADED,j,C),H=(0,g.default)(z).create({errHandler:a.errHandler,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,requestModifier:a.requestModifier})}functionc(a){a&&(D=a)}functiond(a){a&&(E=a)}functione(a){varb=void0;G=newo.default({escapeMode:!1,attributePrefix:"",arrayAccessForm:"property",emptyNodeForm:"object",stripWhitespaces:!1,enableToStringFunc:!1,ignoreRoot:!0,matchers:D}),F=a,b=m(F.Period_asArray,F,t,r),h(b,t,r)}functionf(){A.off(k.default.XLINK_ELEMENT_LOADED,j,C),H&&(H.reset(),H=null)}functionh(a,b,c){vard={},e=void0,f=void0;d.elements=a,d.type=b,d.resolveType=c,0===d.elements.length&&l(d);for(varg=0;g<d.elements.length;g++)e=d.elements[g],f=B.isHTTPURL(e.url)?e.url:e.originalContent.BaseURL+e.url,H.load(f,e,d)}functionj(a){varb=void0,c=void0,d="";if(b=a.element,c=a.resolveObject,b.resolvedContent){vare=0;0===b.resolvedContent.indexOf("<?xml")&&(e=b.resolvedContent.indexOf("?>")+2),d=b.resolvedContent.substr(0,e)+"<response>"+b.resolvedContent.substr(e)+"</response>",b.resolvedContent=G.xml_str2json(d)}x(c)&&l(c)}functionl(a){varb=[],c=void0,d=void0;if(n(a),a.resolveType===s&&A.trigger(k.default.XLINK_READY,{manifest:F}),a.resolveType===r)switch(a.type){caset:for(c=0;c<F[t+"_asArray"].length;c++)d=F[t+"_asArray"][c],d.hasOwnProperty(u+"_asArray")&&(b=b.concat(m(d[u+"_asArray"],d,u,r))),d.hasOwnProperty(v+"_asArray")&&(b=b.concat(m(d[v+"_asArray"],d,v,r)));h(b,u,r);break;caseu:A.trigger(k.default.XLINK_READY,{manifest:F})}}functionm(a,b,c,d){vare=[],f=void0,g=void0,h=void0;for(g=a.length-1;g>=0;g--)f=a[g],f.hasOwnProperty("xlink:href")&&f["xlink:href"]===w&&a.splice(g,1);for(g=0;g<a.length;g++)f=a[g],f.hasOwnProperty("xlink:href")&&f.hasOwnProperty("xlink:actuate")&&f["xlink:actuate"]===d&&(h=p(f["xlink:href"],b,c,g,d,f),e.push(h));returne}functionn(a){varb=[],c=void0,d=void0,e=void0,f=void0,g=void0,h=void0;for(f=a.elements.length-1;f>=0;f--){if(c=a.elements[f],d=c.type+"_asArray",!c.resolvedContent||y())deletec.originalContent["xlink:actuate"],deletec.originalContent["xlink:href"],b.push(c.originalContent);elseif(c.resolvedContent)for(g=0;g<c.resolvedContent[d].length;g++)e=c.resolvedContent[d][g],b.push(e);for(c.parentElement[d].splice(c.index,1),h=0;h<b.length;h++)c.parentElement[d].splice(c.index+h,0,b[h]);b=[]}a.elements.length>0&&E.run(F)}functionp(a,b,c,d,e,f){return{url:a,parentElement:b,type:c,index:d,resolveType:e,originalContent:f,resolvedContent:null,resolved:!1}}functionx(a){varb=void0,c=void0;for(b=0;b<a.elements.length;b++)if(c=a.elements[b],!1===c.resolved)return!1;return!0}functiony(){return!1}a=a||{};varz=this.context,A=(0,i.default)(z).getInstance(),B=(0,q.default)(z).getInstance(),C=void0,D=void0,E=void0,F=void0,G=void0,H=void0;returnC={resolveManifestOnLoad:e,setMatchers:c,setIron:d,reset:f},b(),C}Object.defineProperty(c,"__esModule",{value:!0});varf=a(97),g=d(f),h=a(46),i=d(h),j=a(50),k=d(j),l=a(47),m=d(l),n=a(3),o=d(n),p=a(158),q=d(p),r="onLoad",s="onActuate",t="Period",u="AdaptationSet",v="EventStream",w="urn:mpeg:dash:resolve-to-zero:2013";e.__dashjs_factory_name="XlinkController",c.default=m.default.getClassFactory(e),b.exports=c.default},{158:158,3:3,46:46,47:47,50:50,97:97}],113:[function(a,b,c){"use strict";functiond(a){returna&&a.__esModule?a:{default:a}}functione(a,b){if(!(ainstanceofb))thrownewTypeError("Cannot call a class as a function")}functionf(){functiona(){i()}functionb(a){a.dashManifestModel&&(o=a.dashManifestModel)}functionc(a,b,c){vard=o.get
functionf(a){returne(a),a>=this.customTimeRangeArray.length||a<0?NaN:this.customTimeRangeArray[a].start}functiong(a){returne(a),a>=this.customTimeRangeArray.length||a<0?NaN:this.customTimeRangeArray[a].end}return{customTimeRangeArray:[],length:0,add:a,clear:b,remove:c,mergeRanges:d,start:f,end:g}}Object.defineProperty(c,"__esModule",{value:!0});varf=a(47),g=d(f);e.__dashjs_factory_name="CustomTimeRanges",c.default=g.default.getClassFactory(e),b.exports=c.default},{47:47}],149:[function(a,b,c){"use strict";functiond(a){returna&&a.__esModule?a:{default:a}}functione(a){functionb(){w=(0,i.default)(t).getInstance().getLogger(v),d()}functionc(a){if(void0!==x)returnx;x=!1;varb="1",c="1",d=void0;try{"undefined"!=typeofwindow&&(d=window[a])}catch(e){returnw.warn("DOMStorage access denied: "+e.message),x}if(!d||a!==m&&a!==n)returnx;try{d.setItem(b,c),d.removeItem(b),x=!0}catch(e){w.warn("DOMStorage is supported, but cannot be used: "+e.message)}returnx}functiond(){c(m)&&j.forEach(function(a){varb=localStorage.getItem(a.oldKey);if(b){localStorage.removeItem(a.oldKey);try{localStorage.setItem(a.newKey,b)}catch(c){w.error(c.message)}}})}functione(){vara=6e5;returnMath.round((newDate).getTime()/a)*a}functionf(a,b){returnc(a)&&u["get"+b+"CachingInfo"]().enabled}functiong(){if(!u||!u.hasOwnProperty("getLastMediaSettingsCachingInfo"))thrownewError("Missing config parameter(s)")}functionh(a){if(g(),!f(m,p))returnnull;varb=null,c=l.replace(/\?/,a);try{vard=JSON.parse(localStorage.getItem(c))||{},e=(newDate).getTime()-parseInt(d.timestamp,10)>=u.getLastMediaSettingsCachingInfo().ttl||!1;b=d.settings,e&&(localStorage.removeItem(c),b=null)}catch(h){returnnull}returnb}functionq(a){varb=NaN;if(g(),f(m,o)){varc=k.replace(/\?/,a);try{vard=JSON.parse(localStorage.getItem(c))||{},e=(newDate).getTime()-parseInt(d.timestamp,10)>=u.getLastMediaSettingsCachingInfo().ttl||!1,h=parseFloat(d.bitrate);isNaN(h)||e?e&&localStorage.removeItem(c):(b=h,w.debug("Last saved bitrate for "+a+" was "+h))}catch(i){returnnull}}returnb}functionr(a,b){if(f(m,p)){varc=l.replace(/\?/,a);try{localStorage.setItem(c,JSON.stringify({settings:b,timestamp:e()}))}catch(d){w.error(d.message)}}}functions(a,b){if(f(m,o)&&b){varc=k.replace(/\?/,a);try{localStorage.setItem(c,JSON.stringify({bitrate:b.toFixed(3),timestamp:e()}))}catch(d){w.error(d.message)}}}a=a||{};vart=this.context,u=a.mediaPlayerModel,v=void0,w=void0,x=void0;returnv={getSavedBitrateSettings:q,setSavedBitrateSettings:s,getSavedMediaSettings:h,setSavedMediaSettings:r},b(),v}Object.defineProperty(c,"__esModule",{value:!0});varf=a(47),g=d(f),h=a(45),i=d(h),j=[{oldKey:"dashjs_vbitrate",newKey:"dashjs_video_bitrate"},{oldKey:"dashjs_abitrate",newKey:"dashjs_audio_bitrate"},{oldKey:"dashjs_vsettings",newKey:"dashjs_video_settings"},{oldKey:"dashjs_asettings",newKey:"dashjs_audio_settings"}],k="dashjs_?_bitrate",l="dashjs_?_settings",m="localStorage",n="sessionStorage",o="LastBitrate",p="LastMediaSettings";e.__dashjs_factory_name="DOMStorage";varq=g.default.getSingletonFactory(e);c.default=q,b.exports=c.default},{45:45,47:47}],150:[function(a,b,c){"use strict";functiond(a){returna&&a.__esModule?a:{default:a}}functione(a){functionb(){returnn}functionc(a){n=a}functiond(a,b){varc=!0,d=0,e=void0,f=void0;if(void0===b&&(b=!1),a.tag>16777215?(m.getUint32(n)!==a.tag&&(c=!1),d=4):a.tag>65535?(e=m.getUint16(n),f=m.getUint8(n+2),256*e+f!==a.tag&&(c=!1),d=3):a.tag>255?(m.getUint16(n)!==a.tag&&(c=!1),d=2):(m.getUint8(n)!==a.tag&&(c=!1),d=1),!c&&a.required&&!b)thrownewError("required tag not found");returnc&&(n+=d),c}functione(a,b){varc=d(a,b);returnc&&h(),c}functionf(a){varb=void0;returnd(a),b=h(),l[a.parse](b)}functiong(a,b){varc=d(a,b),e=void0;returnc&&(e=h(),n+=e),c}functionh(a){varb=1,c=128,d=8,e=-1,f=0,g=m.getUint8(n),h=0;for(h=0;h<d;h+=1){if((g&c)===c){f=void0===a?g&~c:g,e=h;break}c>>=1}for(h=0;h<e;h+=1,b+=1)f=f<<8|255&m.getUint8(n+b);returnn+=b,f}functioni(a){varb=void0;switch(a){case4:b=m.getFloat32(n),n+=4;break;case8:b=m.getFloat64(n),n+=