PageSourceSearch

https://tour.topwebmodels.com/_next/static/chunks/6611-dfca2caf0b2324c0.js

js topwebmodels.com collected 2026-10-02 18:38:26 UTC 93,492 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6611],{347:(t,e,r)=>{"use strict";r.d(e,{iX:()=>g});var n=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;var r=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(r,1),r>-1},e.trigger=function(t){var e=this.listeners[t];if(e)if(2==arguments.length)for(var r=e.length,n=0;n<r;++n)e[n].call(this,arguments[1]);else for(var i=Array.prototype.slice.call(arguments,1),a=e.length,s=0;s<a;++s)e[s].apply(this,i)},e.dispose=function(){this.listeners={}},e.pipe=function(t){this.on("data",function(e){t.push(e)})},t}(),i=r(99410),a=r(91741),s=r.n(a),o=r(51642).Buffer;class u extends n{constructor(){super(),this.buffer=""}push(t){let e;for(this.buffer+=t,e=this.buffer.indexOf("\n");e>-1;e=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,e)),this.buffer=this.buffer.substring(e+1)}}let l=function(t){let e=/([0-9.]*)?@?([0-9.]*)?/.exec(t||""),r={};return e[1]&&(r.length=parseInt(e[1],10)),e[2]&&(r.offset=parseInt(e[2],10)),r},c=function(t){let e,r={};if(!t)return r;let n=t.split(RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),i=n.length;for(;i--;)""!==n[i]&&((e=/([^=]*)=(.*)/.exec(n[i]).slice(1))[0]=e[0].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^['"](.*)['"]$/g,"$1"),r[e[0]]=e[1]);return r},f=t=>{let e=t.split("x"),r={};return e[0]&&(r.width=parseInt(e[0],10)),e[1]&&(r.height=parseInt(e[1],10)),r};class p extends n{constructor(){super(),this.customParsers=[],this.tagMappers=[]}push(t){let e,r;0===(t=t.trim()).length||("#"!==t[0]?this.trigger("data",{type:"uri",uri:t}):this.tagMappers.reduce((e,r)=>{let n=r(t);return n===t?e:e.concat([n])},[t]).forEach(t=>{for(let e=0;e<this.customParsers.length;e++)if(this.customParsers[e].call(this,t))return;if(0!==t.indexOf("#EXT"))return void this.trigger("data",{type:"comment",text:t.slice(1)});if(t=t.replace("\r",""),e=/^#EXTM3U/.exec(t))return void this.trigger("data",{type:"tag",tagType:"m3u"});if(e=/^#EXTINF:([0-9\.]*)?,?(.*)?$/.exec(t)){r={type:"tag",tagType:"inf"},e[1]&&(r.duration=parseFloat(e[1])),e[2]&&(r.title=e[2]),this.trigger("data",r);return}if(e=/^#EXT-X-TARGETDURATION:([0-9.]*)?/.exec(t)){r={type:"tag",tagType:"targetduration"},e[1]&&(r.duration=parseInt(e[1],10)),this.trigger("data",r);return}if(e=/^#EXT-X-VERSION:([0-9.]*)?/.exec(t)){r={type:"tag",tagType:"version"},e[1]&&(r.version=parseInt(e[1],10)),this.trigger("data",r);return}if(e=/^#EXT-X-MEDIA-SEQUENCE:(\-?[0-9.]*)?/.exec(t)){r={type:"tag",tagType:"media-sequence"},e[1]&&(r.number=parseInt(e[1],10)),this.trigger("data",r);return}if(e=/^#EXT-X-DISCONTINUITY-SEQUENCE:(\-?[0-9.]*)?/.exec(t)){r={type:"tag",tagType:"discontinuity-sequence"},e[1]&&(r.number=parseInt(e[1],10)),this.trigger("data",r);return}if(e=/^#EXT-X-PLAYLIST-TYPE:(.*)?$/.exec(t)){r={type:"tag",tagType:"playlist-type"},e[1]&&(r.playlistType=e[1]),this.trigger("data",r);return}if(e=/^#EXT-X-BYTERANGE:(.*)?$/.exec(t)){r=(0,i.A)(l(e[1]),{type:"tag",tagType:"byterange"}),this.trigger("data",r);return}if(e=/^#EXT-X-ALLOW-CACHE:(YES|NO)?/.exec(t)){r={type:"tag",tagType:"allow-cache"},e[1]&&(r.allowed=!/NO/.test(e[1])),this.trigger("data",r);return}if(e=/^#EXT-X-MAP:(.*)$/.exec(t)){if(r={type:"tag",tagType:"map"},e[1]){let t=c(e[1]);t.URI&&(r.uri=t.URI),t.BYTERANGE&&(r.byterange=l(t.BYTERANGE))}this.trigger("data",r);return}if(e=/^#EXT-X-STREAM-INF:(.*)$/.exec(t)){r={type:"tag",tagType:"stream-inf"},e[1]&&(r.attributes=c(e[1]),r.attributes.RESOLUTION&&(r.attributes.RESOLUTION=f(r.attributes.RESOLUTION)),r.attributes.BANDWIDTH&&(r.attributes.BANDWIDTH=parseInt(r.attributes.BANDWIDTH,10)),r.attributes["FRAME-RATE"]&&(r.attributes["FRAME-RATE"]=parseFloat(r.attributes["FRAME-RATE"])),r.attributes["PROGRAM-ID"]&&(r.attributes["PROGRAM-ID"]=parseInt(r.attributes["PROGRAM-ID"],10))),this.trigger("data",r);return}if(e=/^#EXT-X-MEDIA:(.*)$/.exec(t)){r={type:"tag",tagType:"media"},e[1]&&(r.attributes=c(e[1])),this.trigger("data",r);return}if(e=/^#EXT-X-ENDLIST/.exec(t))return void this.trigger("data",{type:"tag",tagType:"endlist"});if(e=/^#EXT-X-DISCONTINUITY/.exec(t))return void this.trigger("data",{type:"tag",tagType:"discontinuity"});if(e=/^#EXT-X-PROGRAM-DATE-TIME:(.*)$/.exec(t)){r={type:"tag",tagType:"program-date-time"}
1,e[1]&&(r.dateTimeString=e[1],r.dateTimeObject=new Date(e[1])),this.trigger("data",r);return}if(e=/^#EXT-X-KEY:(.*)$/.exec(t)){r={type:"tag",tagType:"key"},e[1]&&(r.attributes=c(e[1]),r.attributes.IV&&("0x"===r.attributes.IV.substring(0,2).toLowerCase()&&(r.attributes.IV=r.attributes.IV.substring(2)),r.attributes.IV=r.attributes.IV.match(/.{8}/g),r.attributes.IV[0]=parseInt(r.attributes.IV[0],16),r.attributes.IV[1]=parseInt(r.attributes.IV[1],16),r.attributes.IV[2]=parseInt(r.attributes.IV[2],16),r.attributes.IV[3]=parseInt(r.attributes.IV[3],16),r.attributes.IV=new Uint32Array(r.attributes.IV))),this.trigger("data",r);return}if(e=/^#EXT-X-START:(.*)$/.exec(t)){r={type:"tag",tagType:"start"},e[1]&&(r.attributes=c(e[1]),r.attributes["TIME-OFFSET"]=parseFloat(r.attributes["TIME-OFFSET"]),r.attributes.PRECISE=/YES/.test(r.attributes.PRECISE)),this.trigger("data",r);return}if(e=/^#EXT-X-CUE-OUT-CONT:(.*)?$/.exec(t)){r={type:"tag",tagType:"cue-out-cont"},e[1]?r.data=e[1]:r.data="",this.trigger("data",r);return}if(e=/^#EXT-X-CUE-OUT:(.*)?$/.exec(t)){r={type:"tag",tagType:"cue-out"},e[1]?r.data=e[1]:r.data="",this.trigger("data",r);return}if(e=/^#EXT-X-CUE-IN:?(.*)?$/.exec(t)){r={type:"tag",tagType:"cue-in"},e[1]?r.data=e[1]:r.data="",this.trigger("data",r);return}if((e=/^#EXT-X-SKIP:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"skip"}).attributes=c(e[1]),r.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(r.attributes["SKIPPED-SEGMENTS"]=parseInt(r.attributes["SKIPPED-SEGMENTS"],10)),r.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(r.attributes["RECENTLY-REMOVED-DATERANGES"]=r.attributes["RECENTLY-REMOVED-DATERANGES"].split("	")),this.trigger("data",r);return}if((e=/^#EXT-X-PART:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"part"}).attributes=c(e[1]),["DURATION"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))}),["INDEPENDENT","GAP"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=/YES/.test(r.attributes[t]))}),r.attributes.hasOwnProperty("BYTERANGE")&&(r.attributes.byterange=l(r.attributes.BYTERANGE)),this.trigger("data",r);return}if((e=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"server-control"}).attributes=c(e[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))}),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=/YES/.test(r.attributes[t]))}),this.trigger("data",r);return}if((e=/^#EXT-X-PART-INF:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"part-inf"}).attributes=c(e[1]),["PART-TARGET"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))}),this.trigger("data",r);return}if((e=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"preload-hint"}).attributes=c(e[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach(function(t){if(r.attributes.hasOwnProperty(t)){r.attributes[t]=parseInt(r.attributes[t],10);let e="BYTERANGE-LENGTH"===t?"length":"offset";r.attributes.byterange=r.attributes.byterange||{},r.attributes.byterange[e]=r.attributes[t],delete r.attributes[t]}}),this.trigger("data",r);return}if((e=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"rendition-report"}).attributes=c(e[1]),["LAST-MSN","LAST-PART"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseInt(r.attributes[t],10))}),this.trigger("data",r);return}if((e=/^#EXT-X-DATERANGE:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"daterange"}).attributes=c(e[1]),["ID","CLASS"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=String(r.attributes[t]))}),["START-DATE","END-DATE"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=new Date(r.attributes[t]))}),["DURATION","PLANNED-DURATION"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))}),["END-ON-NEXT"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=/YES/i.test(r.attributes[t]))}),["SCTE35-CMD"," SCTE35-OUT","SCTE35-IN"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=r.attributes[t].toString(16))});let t=/^X-([A-Z]+-)+[A-Z]+$/;
1for(let e in r.attributes){if(!t.test(e))continue;let n=/[0-9A-Fa-f]{6}/g.test(r.attributes[e]),i=/^\d+(\.\d+)?$/.test(r.attributes[e]);r.attributes[e]=n?r.attributes[e].toString(16):i?parseFloat(r.attributes[e]):String(r.attributes[e])}this.trigger("data",r);return}if(e=/^#EXT-X-INDEPENDENT-SEGMENTS/.exec(t))return void this.trigger("data",{type:"tag",tagType:"independent-segments"});if(e=/^#EXT-X-I-FRAMES-ONLY/.exec(t))return void this.trigger("data",{type:"tag",tagType:"i-frames-only"});if(e=/^#EXT-X-CONTENT-STEERING:(.*)$/.exec(t)){(r={type:"tag",tagType:"content-steering"}).attributes=c(e[1]),this.trigger("data",r);return}if(e=/^#EXT-X-I-FRAME-STREAM-INF:(.*)$/.exec(t)){(r={type:"tag",tagType:"i-frame-playlist"}).attributes=c(e[1]),r.attributes.URI&&(r.uri=r.attributes.URI),r.attributes.BANDWIDTH&&(r.attributes.BANDWIDTH=parseInt(r.attributes.BANDWIDTH,10)),r.attributes.RESOLUTION&&(r.attributes.RESOLUTION=f(r.attributes.RESOLUTION)),r.attributes["AVERAGE-BANDWIDTH"]&&(r.attributes["AVERAGE-BANDWIDTH"]=parseInt(r.attributes["AVERAGE-BANDWIDTH"],10)),r.attributes["FRAME-RATE"]&&(r.attributes["FRAME-RATE"]=parseFloat(r.attributes["FRAME-RATE"])),this.trigger("data",r);return}if(e=/^#EXT-X-DEFINE:(.*)$/.exec(t)){(r={type:"tag",tagType:"define"}).attributes=c(e[1]),this.trigger("data",r);return}this.trigger("data",{type:"tag",data:t.slice(4)})}))}addParser({expression:t,customType:e,dataParser:r,segment:n}){"function"!=typeof r&&(r=t=>t),this.customParsers.push(i=>{if(t.exec(i))return this.trigger("data",{type:"custom",data:r(i),customType:e,segment:n}),!0})}addTagMapper({expression:t,map:e}){this.tagMappers.push(r=>t.test(r)?e(r):r)}}let d=function(t){let e={};return Object.keys(t).forEach(function(r){e[r.toLowerCase().replace(/-(\w)/g,t=>t[1].toUpperCase())]=t[r]}),e},h=function(t){let{serverControl:e,targetDuration:r,partTargetDuration:n}=t;if(!e)return;let i="#EXT-X-SERVER-CONTROL",a="holdBack",s="partHoldBack",o=r&&3*r,u=n&&2*n;r&&!e.hasOwnProperty(a)&&(e[a]=o,this.trigger("info",{message:`${i} defaulting HOLD-BACK to targetDuration * 3 (${o}).`})),o&&e[a]<o&&(this.trigger("warn",{message:`${i} clamping HOLD-BACK (${e[a]}) to targetDuration * 3 (${o})`}),e[a]=o),n&&!e.hasOwnProperty(s)&&(e[s]=3*n,this.trigger("info",{message:`${i} defaulting PART-HOLD-BACK to partTargetDuration * 3 (${e[s]}).`})),n&&e[s]<u&&(this.trigger("warn",{message:`${i} clamping PART-HOLD-BACK (${e[s]}) to partTargetDuration * 2 (${u}).`}),e[s]=u)};class g extends n{constructor(t={}){let e,r;super(),this.lineStream=new u,this.parseStream=new p,this.lineStream.pipe(this.parseStream),this.mainDefinitions=t.mainDefinitions||{},this.params=new URL(t.uri,"https://a.com").searchParams,this.lastProgramDateTime=null;const n=this,a=[];let l={},c=!1;const f=function(){},g={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}};let m=0;this.manifest={allowCache:!0,discontinuityStarts:[],dateRanges:[],iFramePlaylists:[],segments:[]};let y=0,b=0;const v={};this.on("end",()=>{!l.uri&&(l.parts||l.preloadHints)&&(!l.map&&e&&(l.map=e),!l.key&&r&&(l.key=r),l.timeline||"number"!=typeof m||(l.timeline=m),this.manifest.preloadSegment=l)}),this.parseStream.on("data",function(t){let u,p;if(n.manifest.definitions){for(let e in n.manifest.definitions)if(t.uri&&(t.uri=t.uri.replace(`{$${e}}`,n.manifest.definitions[e])),t.attributes)for(let r in t.attributes)"string"==typeof t.attributes[r]&&(t.attributes[r]=t.attributes[r].replace(`{$${e}}`,n.manifest.definitions[e]))}({tag(){(({version(){t.version&&(this.manifest.version=t.version)},"allow-cache"(){this.manifest.allowCache=t.allowed,"allowed"in t||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange(){let e={};"length"in t&&(l.byterange=e,e.length=t.length,"offset"in t||(t.offset=y)),"offset"in t&&(l.byterange=e,e.offset=t.offset),y=e.offset+e.length},endlist(){this.manifest.endList=!0},inf(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),t.title&&(l.title=t.title),t.duration>0&&(l.duration=t.duration),0===t.duration&&(l.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=a},key(){if(!t.attributes)return void this.trigger("warn",{message:"ignoring key declaration without attribute list"});if("NONE"===t.attributes.METHOD){r=null;return}if(!t.attributes.URI)return void this.trigger("warn",{message:"ignoring key declaration without URI"});if("com.apple.streamingkeydelivery"===t.attributes.KEYFORMAT){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:t.attributes};return}if("com.microsoft.playready"===t.attributes.KEYFORMAT){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.microsoft.playready"]={uri:t.attributes.URI};return}"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===t.attributes.KEYFORMAT?-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(t.attributes.METHOD)?this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===t.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==t.attributes.URI.substring(0,23))?this.trigger("warn",{message:"invalid key URI provided for Widevine"}):t.attributes.KEYID&&"0x"===t.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:t.attributes.KEYFORMAT,keyId:t.attributes.KEYID.substring(2)},pssh:function(t){for(var e=s().atob?s().atob(t):o.from(t,"base64").toString("binary"),r=new Uint8Array(e.length),n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}(t.attributes.URI.split(",")[1])}):this.trigger("warn",{message:"invalid key ID provided for Widevine"}):(t.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),r={method:t.attributes.METHOD||"AES-128",uri:t.attributes.URI},void 0!==t.attributes.IV&&(r.iv=t.attributes.IV))},"media-sequence"(){isFinite(t.number)?this.manifest.mediaSequence=t.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+t.number})},"discontinuity-sequence"(){isFinite(t.number)?(this.manifest.discontinuitySequence=t.number,m=t.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+t.number})},"playlist-type"(){/VOD|EVENT/.test(t.playlistType)?this.manifest.playlistType=t.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+t.playlist})},map(){e={},t.uri&&(e.uri=t.uri),t.byterange&&(e.byterange=t.byterange),r&&(e.key=r)},"stream-inf"(){(this.manifest.playlists=a,this.manifest.mediaGroups=this.manifest.mediaGroups||g,t.attributes)?(l.attributes||(l.attributes={}),(0,i.A)(l.attributes,t.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||g,!(t.attributes&&t.attributes.TYPE&&t.attributes["GROUP-ID"]&&t.attributes.NAME))return void this.trigger("warn",{message:"ignoring incomplete or missing media group"});let e=this.manifest.mediaGroups[t.attributes.TYPE];e[t.attributes["GROUP-ID"]]=e[t.attributes["GROUP-ID"]]||{},u=e[t.attributes["GROUP-ID"]],(p={default:/yes/i.test(t.attributes.DEFAULT)}).default?p.autoselect=!0:p.autoselect=/yes/i.test(t.attributes.AUTOSELECT),t.attributes.LANGUAGE&&(p.language=t.attributes.LANGUAGE),t.attributes.URI&&(p.uri=t.attributes.URI),t.attributes["INSTREAM-ID"]&&(p.instreamId=t.attributes["INSTREAM-ID"]),t.attributes.CHARACTERISTICS&&(p.characteristics=t.attributes.CHARACTERISTICS),t.attributes.FORCED&&(p.forced=/yes/i.test(t.attributes.FORCED)),u[t.attributes.NAME]=p},discontinuity(){m+=1,l.discontinuity=!0,this.manifest.discontinuityStarts.push(a.length)},"program-date-time"(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=t.dateTimeString,this.manifest.dateTimeObject=t.dateTimeObject),l.dateTimeString=t.dateTimeString,l.dateTimeObject=t.dateTimeObject;let{lastProgramDateTime:e}=this;this.lastProgramDateTime=new Date(t.dateTimeString).getTime(),null===e&&this.manifest.segments.reduceRight((t,e)=>(e.programDateTime=t-1e3*e.duration,e.programDateTime),this.lastProgramDateTime)},targetduration(){!isFinite(t.duration)||t.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+t.duration}):(this.manifest.targetDuration=t.duration,h.call(this,this.manifest))},start(){!t.attributes||isNaN(t.attributes["TIME-OFFSET"])?this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"}):this.manifest.start={timeOffset:t.attributes["TIME-OFFSET"],precise:t.attributes.PRECISE}},"cue-out"(){l.cueOut=t.data},"cue-out-cont"(){l.cueOutCont=t.data},"cue-in"(){l.cueIn=t.data},skip(){this.manifest.skip=d(t.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",t.attributes,["SKIPPED-SEGMENTS"])},part(){c=!0;let e=this.manifest.segments.length,r=d(t.attributes);l.parts=l.parts||[],l.parts.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=b),b=r.byterange.offset+r.byterange.length);let n=l.parts.length-1;this.warnOnMissingAttributes_(`#EXT-X-PART #${n} for segment #${e}`,t.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEac
1h((t,e)=>{t.hasOwnProperty("lastPart")||this.trigger("warn",{message:`#EXT-X-RENDITION-REPORT #${e} lacks required attribute(s): LAST-PART`})})},"server-control"(){let e=this.manifest.serverControl=d(t.attributes);e.hasOwnProperty("canBlockReload")||(e.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),h.call(this,this.manifest),e.canSkipDateranges&&!e.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint"(){let e=this.manifest.segments.length,r=d(t.attributes),n=r.type&&"PART"===r.type;l.preloadHints=l.preloadHints||[],l.preloadHints.push(r),r.byterange&&!r.byterange.hasOwnProperty("offset")&&(r.byterange.offset=n?b:0,n&&(b=r.byterange.offset+r.byterange.length));let i=l.preloadHints.length-1;if(this.warnOnMissingAttributes_(`#EXT-X-PRELOAD-HINT #${i} for segment #${e}`,t.attributes,["TYPE","URI"]),r.type)for(let t=0;t<l.preloadHints.length-1;t++){let n=l.preloadHints[t];n.type&&n.type===r.type&&this.trigger("warn",{message:`#EXT-X-PRELOAD-HINT #${i} for segment #${e} has the same TYPE ${r.type} as preload hint #${t}`})}},"rendition-report"(){let e=d(t.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(e);let r=this.manifest.renditionReports.length-1,n=["LAST-MSN","URI"];c&&n.push("LAST-PART"),this.warnOnMissingAttributes_(`#EXT-X-RENDITION-REPORT #${r}`,t.attributes,n)},"part-inf"(){this.manifest.partInf=d(t.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",t.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),h.call(this,this.manifest)},daterange(){this.manifest.dateRanges.push(d(t.attributes));let e=this.manifest.dateRanges.length-1;this.warnOnMissingAttributes_(`#EXT-X-DATERANGE #${e}`,t.attributes,["ID","START-DATE"]);let r=this.manifest.dateRanges[e];r.endDate&&r.startDate&&new Date(r.endDate)<new Date(r.startDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE END-DATE must be equal to or later than the value of the START-DATE"}),r.duration&&r.duration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE DURATION must not be negative"}),r.plannedDuration&&r.plannedDuration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE PLANNED-DURATION must not be negative"});let n=!!r.endOnNext;if(n&&!r.class&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must have a CLASS attribute"}),n&&(r.duration||r.endDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must not contain DURATION or END-DATE attributes"}),r.duration&&r.endDate){let t=r.startDate.getTime()+1e3*r.duration;this.manifest.dateRanges[e].endDate=new Date(t)}if(v[r.id]){for(let t in v[r.id])if(r[t]&&JSON.stringify(v[r.id][t])!==JSON.stringify(r[t])){this.trigger("warn",{message:"EXT-X-DATERANGE tags with the same ID in a playlist must have the same attributes values"});break}let t=this.manifest.dateRanges.findIndex(t=>t.id===r.id);this.manifest.dateRanges[t]=(0,i.A)(this.manifest.dateRanges[t],r),v[r.id]=(0,i.A)(v[r.id],r),this.manifest.dateRanges.pop()}else v[r.id]=r},"independent-segments"(){this.manifest.independentSegments=!0},"i-frames-only"(){this.manifest.iFramesOnly=!0,this.requiredCompatibilityversion(this.manifest.version,4)},"content-steering"(){this.manifest.contentSteering=d(t.attributes),this.warnOnMissingAttributes_("#EXT-X-CONTENT-STEERING",t.attributes,["SERVER-URI"])},define(){this.manifest.definitions=this.manifest.definitions||{};let e=(t,e)=>{t in this.manifest.definitions?this.trigger("error",{message:`EXT-X-DEFINE: Duplicate name ${t}`}):this.manifest.definitions[t]=e};if("QUERYPARAM"in t.attributes){if("NAME"in t.attributes||"IMPORT"in t.attributes)return void this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"});let r=this.params.get(t.attributes.QUERYPARAM);return r?void e(t.attributes.QUERYPARAM,decodeURIComponent(r)):void this.trigger("error",{message:`EXT-X-DEFINE: No query param ${t.attributes.QUERYPARAM}`})}"NAME"in t.attributes?"IMPORT"in t.attributes?this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"}):"VALUE"in t.attributes&&"string"==typeof t.attributes.VALUE?e(t.attributes.NAME,t.attributes.VALUE):this.trigger("error",{message:`EXT-X-DEFINE: No value for ${t.attributes.NAME}`}
1):"IMPORT"in t.attributes?this.mainDefinitions[t.attributes.IMPORT]?e(t.attributes.IMPORT,this.mainDefinitions[t.attributes.IMPORT]):this.trigger("error",{message:`EXT-X-DEFINE: No value ${t.attributes.IMPORT} to import, or IMPORT used on main playlist`}):this.trigger("error",{message:"EXT-X-DEFINE: No attribute"})},"i-frame-playlist"(){this.manifest.iFramePlaylists.push({attributes:t.attributes,uri:t.uri,timeline:m}),this.warnOnMissingAttributes_("#EXT-X-I-FRAME-STREAM-INF",t.attributes,["BANDWIDTH","URI"])}})[t.tagType]||f).call(n)},uri(){l.uri=t.uri,a.push(l),!this.manifest.targetDuration||"duration"in l||(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),l.duration=this.manifest.targetDuration),r&&(l.key=r),l.timeline=m,e&&(l.map=e),b=0,null!==this.lastProgramDateTime&&(l.programDateTime=this.lastProgramDateTime,this.lastProgramDateTime+=1e3*l.duration),l={}},comment(){},custom(){t.segment?(l.custom=l.custom||{},l.custom[t.customType]=t.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[t.customType]=t.data)}})[t.type].call(n)})}requiredCompatibilityversion(t,e){(t<e||!t)&&this.trigger("warn",{message:`manifest must be at least version ${e}`})}warnOnMissingAttributes_(t,e,r){let n=[];r.forEach(function(t){e.hasOwnProperty(t)||n.push(t)}),n.length&&this.trigger("warn",{message:`${t} lacks required attribute(s): ${n.join(", ")}`})}push(t){this.lineStream.push(t)}end(){this.lineStream.push("\n"),this.manifest.dateRanges.length&&null===this.lastProgramDateTime&&this.trigger("warn",{message:"A playlist with EXT-X-DATERANGE tag must contain atleast one EXT-X-PROGRAM-DATE-TIME tag"}),this.lastProgramDateTime=null,this.trigger("end")}addParser(t){this.parseStream.addParser(t)}addTagMapper(t){this.parseStream.addTagMapper(t)}}},4659:t=>{t.exports={getUint64:function(t){var e,r=new DataView(t.buffer,t.byteOffset,t.byteLength);return r.getBigUint64?(e=r.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(e):e:0x100000000*r.getUint32(0)+r.getUint32(4)},MAX_UINT32:0x100000000}},13763:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(91741),i=r.n(n),a="https://example.com";let s=function(t,e){if(/^[a-z]+:/i.test(e))return e;/^data:/.test(t)&&(t=i().location&&i().location.href||"");var r=/^\/\//.test(t),n=!i().location&&!/\/\//i.test(t),s=new URL(e,t=new(i()).URL(t,i().location||a));return n?s.href.slice(a.length):r?s.href.slice(s.protocol.length):s.href}},20171:(t,e,r)=>{"use strict";r.d(e,{I:()=>a});var n=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,i=/^application\/dash\+xml/i,a=function(t){return n.test(t)?"hls":i.test(t)?"dash":"application/vnd.videojs.vhs+json"===t?"vhs-json":null}},21024:(t,e,r)=>{"use strict";r.d(e,{Tt:()=>S,Ze:()=>_,qg:()=>Z,i6:()=>tt});var n=r(76491),i=r.n(n),a=r(91741),s=r.n(a),o="http://example.com";let u=function(t,e){if(/^[a-z]+:/i.test(e))return e;/^data:/.test(t)&&(t=s().location&&s().location.href||"");var r="function"==typeof s().URL,n=/^\/\//.test(t),a=!s().location&&!/\/\//i.test(t);if(r?t=new(s()).URL(t,s().location||o):/\/\//i.test(t)||(t=i().buildAbsoluteURL(s().location&&s().location.href||"",t)),r){var u=new URL(e,t);return a?u.href.slice(o.length):n?u.href.slice(u.protocol.length):u.href}return i().buildAbsoluteURL(t,e)};var l=function(t,e,r){e.forEach(function(e){for(var n in t.mediaGroups[e])for(var i in t.mediaGroups[e][n])r(t.mediaGroups[e][n][i],e,n,i)})},c=r(51642).Buffer,f=r(36619);let p=t=>!!t&&"object"==typeof t,d=(...t)=>t.reduce((t,e)=>("object"!=typeof e||Object.keys(e).forEach(r=>{Array.isArray(t[r])&&Array.isArray(e[r])?t[r]=t[r].concat(e[r]):p(t[r])&&p(e[r])?t[r]=d(t[r],e[r]):t[r]=e[r]}),t),{}),h=t=>Object.keys(t).map(e=>t[e]),g=t=>t.reduce((t,e)=>t.concat(e),[]),m=t=>{if(!t.length)return[];let e=[];for(let r=0;r<t.length;r++)e.push(t[r]);return e},y=({baseUrl:t="",source:e="",range:r="",indexRange:n=""})=>{let i={uri:e,resolvedUri:u(t||"",e)};if(r||n){let t,e=(r||n).split("-"),a=s().BigInt?s().BigInt(e[0]):parseInt(e[0],10),o=s().BigInt?s().BigInt(e[1]):parseInt(e[1],10);a<Number.MAX_SAFE_INTEGER&&"bigint"==typeof a&&(a=Number(a)),o<Number.MAX_SAFE_INTEGER&&"bigint"==typeof o&&(o=Number(o)),"bigint"==typeof(t="bigint"==typeof o||"bigint"==typeof a?s().BigInt(o)-s().BigInt(a)+s().BigInt(1):o-a+1)&&t<Number.MAX_SAFE_INTEGER&&(t=Number(t)),i.byterange={length:t,offset:a}}return i},b=t=>(t&&"number"!=typeof t&&(t=parseInt(t,10)),isNaN(t))?null:t,v={static(t){let{duration:e,timescale:r=1,sourceDuration:n,peri
1odDuration:i}=t,a=b(t.endNumber),s=e/r;return"number"==typeof a?{start:0,end:a}:"number"==typeof i?{start:0,end:i/s}:{start:0,end:n/s}},dynamic(t){let{NOW:e,clientOffset:r,availabilityStartTime:n,timescale:i=1,duration:a,periodStart:s=0,minimumUpdatePeriod:o=0,timeShiftBufferDepth:u=1/0}=t,l=b(t.endNumber),c=(e+r)/1e3,f=n+s,p=Math.ceil((c+o-f)*i/a),d=Math.floor((c-f-u)*i/a),h=Math.floor((c-f)*i/a);return{start:Math.max(0,d),end:"number"==typeof l?l:Math.min(p,h)}}},T=t=>{let{type:e,duration:r,timescale:n=1,periodDuration:i,sourceDuration:a}=t,{start:s,end:o}=v[e](t),u=((t,e)=>{let r=[];for(let n=t;n<e;n++)r.push(n);return r})(s,o).map(e=>{let{duration:r,timescale:n=1,periodStart:i,startNumber:a=1}=t;return{number:a+e,duration:r/n,timeline:i,time:e*r}});if("static"===e){let t=u.length-1;u[t].duration=("number"==typeof i?i:a)-r/n*t}return u},E=t=>{let{baseUrl:e,initialization:r={},sourceDuration:n,indexRange:i="",periodStart:a,presentationTime:s,number:o=0,duration:u}=t;if(!e)throw Error("NO_BASE_URL");let l=y({baseUrl:e,source:r.sourceURL,range:r.range}),c=y({baseUrl:e,source:e,indexRange:i});if(c.map=l,u){let e=T(t);e.length&&(c.duration=e[0].duration,c.timeline=e[0].timeline)}else n&&(c.duration=n,c.timeline=a);return c.presentationTime=s||a,c.number=o,[c]},S=(t,e,r)=>{let n,i=t.sidx.map?t.sidx.map:null,a=t.sidx.duration,o=t.timeline||0,u=t.sidx.byterange,l=u.offset+u.length,c=e.timescale,f=e.references.filter(t=>1!==t.referenceType),p=[],d=t.endList?"static":"dynamic",h=t.sidx.timeline,g=h,m=t.mediaSequence||0;n="bigint"==typeof e.firstOffset?s().BigInt(l)+e.firstOffset:l+e.firstOffset;for(let t=0;t<f.length;t++){let u,l=e.references[t],f=l.referencedSize,y=l.subsegmentDuration;u="bigint"==typeof n?n+s().BigInt(f)-s().BigInt(1):n+f-1;let b={baseUrl:r,timescale:c,timeline:o,periodStart:h,presentationTime:g,number:m,duration:y,sourceDuration:a,indexRange:`${n}-${u}`,type:d},v=E(b)[0];i&&(v.map=i),p.push(v),"bigint"==typeof n?n+=s().BigInt(f):n+=f,g+=y/c,m++}return t.segments=p,t},A=["AUDIO","SUBTITLES"],I=1/60,R=t=>{let e;return(e=({timeline:t})=>t,h(t.reduce((t,r)=>(r.forEach(r=>{t[e(r)]=r}),t),{}))).sort((t,e)=>t.timeline>e.timeline?1:-1)},D=t=>{let e=[];return l(t,A,(t,r,n,i)=>{e=e.concat(t.playlists||[])}),e},O=({playlist:t,mediaSequence:e})=>{t.mediaSequence=e,t.segments.forEach((e,r)=>{e.number=t.mediaSequence+r})},_=t=>{var e;let r;return t&&t.uri+"-"+(r="bigint"==typeof(e=t.byterange).offset||"bigint"==typeof e.length?s().BigInt(e.offset)+s().BigInt(e.length)-s().BigInt(1):e.offset+e.length-1,`${e.offset}-${r}`)},w=t=>{let e=t.reduce(function(t,e){return t[e.attributes.baseUrl]||(t[e.attributes.baseUrl]=[]),t[e.attributes.baseUrl].push(e),t},{}),r=[];return Object.values(e).forEach(t=>{let e=h(t.reduce((t,e)=>{let r=e.attributes.id+(e.attributes.lang||"");return t[r]?(e.segments&&(e.segments[0]&&(e.segments[0].discontinuity=!0),t[r].segments.push(...e.segments)),e.attributes.contentProtection&&(t[r].attributes.contentProtection=e.attributes.contentProtection)):(t[r]=e,t[r].attributes.timelineStarts=[]),t[r].attributes.timelineStarts.push({start:e.attributes.periodStart,timeline:e.attributes.periodStart}),t},{}));r=r.concat(e)}),r.map(t=>(t.discontinuityStarts=(t.segments||[]).reduce((t,e,r)=>(e.discontinuity&&t.push(r),t),[]),t))},N=(t,e)=>{let r=_(t.sidx),n=r&&e[r]&&e[r].sidx;return n&&S(t,n,t.sidx.resolvedUri),t},x=({attributes:t,segments:e,sidx:r,discontinuityStarts:n})=>{let i={attributes:{NAME:t.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:t.width,height:t.height},CODECS:t.codecs,BANDWIDTH:t.bandwidth,"PROGRAM-ID":1},uri:"",endList:"static"===t.type,timeline:t.periodStart,resolvedUri:t.baseUrl||"",targetDuration:t.duration,discontinuityStarts:n,timelineStarts:t.timelineStarts,segments:e};return t.frameRate&&(i.attributes["FRAME-RATE"]=t.frameRate),t.contentProtection&&(i.contentProtection=t.contentProtection),t.serviceLocation&&(i.attributes.serviceLocation=t.serviceLocation),r&&(i.sidx=r),i},M=({attributes:t})=>"video/mp4"===t.mimeType||"video/webm"===t.mimeType||"video"===t.contentType,P=({attributes:t})=>"audio/mp4"===t.mimeType||"audio/webm"===t.mimeType||"audio"===t.contentType,L=({attributes:t})=>"text/vtt"===t.mimeType||"text"===t.contentType,U=t=>t?Object.keys(t).reduce((e,r)=>{let n=t[r];return e.concat(n.playlists)},[]):[],C=(t,e,r)=>{let{NOW:n,clientOffset:i,availabilityStartTime:a,timescale:s=1,periodStart:o=0,minimumUpdatePeriod:u=0}=t;return Math.ceil((((n+i)/1e3+u-(a+o))*s-e)/r)},X=(t,e)=>{let{type:r,minimumUpdatePeriod:n=0,media:i="",sourceDuration:a,timescale:s=1,startNumber:o=1,periodStart:u}=t,l=[],c=-1;for(let f=0;f<e.length;f++){let p,d=e[f],h=d.d,g=d.r||0,m=d.t||0;if(c<0&&(c=m),m&&m>c&&(c=m),g<0){let o=f+1;p=o===e.length?"dynamic"===r&&n>0&&i.indexOf("$Number$")>0?C(t,c,h):(a*s-c)/h:(e[o].t-c)/h}else p=g+1;let y=o+l.length+p,b=o+l.length;for(;b<y;)l.push({number:b,duration:h/s,time:c,timeline:u}),c+=h,b++}return l},F=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,k=(t,e)=>t.replace(F,(t,r,n,i)=>{if("$$"===t)return"$";if(void 0===e[r])return t;let a=""+e[r];return"RepresentationID"===r||(i=n?parseInt(i,10):1,a.length>=i)?a:`${Array(i-a.length+1).join("0")}${a}`}),B=(t,e)=>{let r={RepresentationID:t.id,Bandwidth:t.bandwidth||0}
1,{initialization:n={sourceURL:"",range:""}}=t,i=y({baseUrl:t.baseUrl,source:k(n.sourceURL,r),range:n.range});return(!t.duration&&!e?[{number:t.startNumber||1,duration:t.sourceDuration,time:0,timeline:t.periodStart}]:t.duration?T(t):X(t,e)).map(e=>{r.Number=e.number,r.Time=e.time;let n=k(t.media||"",r),a=t.timescale||1,s=t.presentationTimeOffset||0,o=t.periodStart+(e.time-s)/a;return{uri:n,timeline:e.timeline,duration:e.duration,resolvedUri:u(t.baseUrl||"",n),map:i,number:e.number,presentationTime:o}})},j=(t,e)=>{let r,{duration:n,segmentUrls:i=[],periodStart:a}=t;if(!n&&!e||n&&e)throw Error("SEGMENT_TIME_UNSPECIFIED");let s=i.map(e=>((t,e)=>{let{baseUrl:r,initialization:n={}}=t,i=y({baseUrl:r,source:n.sourceURL,range:n.range}),a=y({baseUrl:r,source:e.media,range:e.mediaRange});return a.map=i,a})(t,e));return n&&(r=T(t)),e&&(r=X(t,e)),r.map((e,r)=>{if(s[r]){let n=s[r],i=t.timescale||1,o=t.presentationTimeOffset||0;return n.timeline=e.timeline,n.duration=e.duration,n.number=e.number,n.presentationTime=a+(e.time-o)/i,n}}).filter(t=>t)},q=({attributes:t,segmentInfo:e})=>{let r,n;e.template?(n=B,r=d(t,e.template)):e.base?(n=E,r=d(t,e.base)):e.list&&(n=j,r=d(t,e.list));let i={attributes:t};if(!n)return i;let a=n(r,e.segmentTimeline);if(r.duration){let{duration:t,timescale:e=1}=r;r.duration=t/e}else a.length?r.duration=a.reduce((t,e)=>Math.max(t,Math.ceil(e.duration)),0):r.duration=0;return i.attributes=r,i.segments=a,e.base&&r.indexRange&&(i.sidx=a[0],i.segments=[]),i},W=(t,e)=>m(t.childNodes).filter(({tagName:t})=>t===e),G=t=>t.textContent.trim(),$=t=>{let e=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(t);if(!e)return 0;let[r,n,i,a,s,o]=e.slice(1);return 31536e3*parseFloat(r||0)+2592e3*parseFloat(n||0)+86400*parseFloat(i||0)+3600*parseFloat(a||0)+60*parseFloat(s||0)+parseFloat(o||0)},z={mediaPresentationDuration:t=>$(t),availabilityStartTime:t=>{var e;return e=t,/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(e)&&(e+="Z"),Date.parse(e)/1e3},minimumUpdatePeriod:t=>$(t),suggestedPresentationDelay:t=>$(t),type:t=>t,timeShiftBufferDepth:t=>$(t),start:t=>$(t),width:t=>parseInt(t,10),height:t=>parseInt(t,10),bandwidth:t=>parseInt(t,10),frameRate:t=>parseFloat(t.split("/").reduce((t,e)=>t/e)),startNumber:t=>parseInt(t,10),timescale:t=>parseInt(t,10),presentationTimeOffset:t=>parseInt(t,10),duration(t){let e=parseInt(t,10);return isNaN(e)?$(t):e},d:t=>parseInt(t,10),t:t=>parseInt(t,10),r:t=>parseInt(t,10),presentationTime:t=>parseInt(t,10),DEFAULT:t=>t},H=t=>t&&t.attributes?m(t.attributes).reduce((t,e)=>{let r=z[e.name]||z.DEFAULT;return t[e.name]=r(e.value),t},{}):{},V={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime","urn:mpeg:dash:mp4protection:2011":"mp4protection"},Y=(t,e)=>e.length?g(t.map(function(t){return e.map(function(e){let r=G(e),n=u(t.baseUrl,r),i=d(H(e),{baseUrl:n});return n!==r&&!i.serviceLocation&&t.serviceLocation&&(i.serviceLocation=t.serviceLocation),i})})):t,K=t=>{let e=W(t,"SegmentTemplate")[0],r=W(t,"SegmentList")[0],n=r&&W(r,"SegmentURL").map(t=>d({tag:"SegmentURL"},H(t))),i=W(t,"SegmentBase")[0],a=r||e,s=a&&W(a,"SegmentTimeline")[0],o=r||i||e,u=o&&W(o,"Initialization")[0],l=e&&H(e);l&&u?l.initialization=u&&H(u):l&&l.initialization&&(l.initialization={sourceURL:l.initialization});let c={template:l,segmentTimeline:s&&W(s,"S").map(t=>H(t)),list:r&&d(H(r),{segmentUrls:n,initialization:H(u)}),base:i&&d(H(i),{initialization:H(u)})};return Object.keys(c).forEach(t=>{c[t]||delete c[t]}),c},Q=t=>g(W(t.node,"EventStream").map(e=>{let r=H(e),n=r.schemeIdUri;return W(e,"Event").map(e=>{let i=H(e),a=i.presentationTime||0,s=r.timescale||1,o=i.duration||0,u=a/s+t.attributes.start;return{schemeIdUri:n,value:r.value,id:i.id,start:u,end:u+o/s,messageData:G(e)||i.messageData,contentEncoding:r.contentEncoding,presentationTimeOffset:r.presentationTimeOffset||0}})})),J=t=>{let e,r;if(""===t)throw Error("DASH_EMPTY_MANIFEST");let n=new f.DOMParser;try{r=(e=n.parseFromString(t,"application/xml"))&&"MPD"===e.documentElement.tagName?e.documentElement:null}catch(t){}if(!r||r&&r.getElementsByTagName("parsererror").length>0)throw Error("DASH_INVALID_XML");return r},Z=(t,e={})=>{let r=((t,e={})=>{let{manifestUri:r="",NOW:n=Date.now(),clientOffset:i=0,eventHandler:a=function(){}}=e,o=W(t,"Period");
1if(!o.length)throw Error("INVALID_NUMBER_OF_PERIOD");let u=W(t,"Location"),l=H(t),f=Y([{baseUrl:r}],W(t,"BaseURL")),p=W(t,"ContentSteering");l.type=l.type||"static",l.sourceDuration=l.mediaPresentationDuration||0,l.NOW=n,l.clientOffset=i,u.length&&(l.locations=u.map(G));let h=[];return o.forEach((t,e)=>{let r=H(t),n=h[e-1];r.start=(({attributes:t,priorPeriodAttributes:e,mpdType:r})=>"number"==typeof t.start?t.start:e&&"number"==typeof e.start&&"number"==typeof e.duration?e.start+e.duration:e||"static"!==r?null:0)({attributes:r,priorPeriodAttributes:n?n.attributes:null,mpdType:l.type}),h.push({node:t,attributes:r})}),{locations:l.locations,contentSteeringInfo:((t,e)=>{if(t.length>1&&e({type:"warn",message:"The MPD manifest should contain no more than one ContentSteering tag"}),!t.length)return null;let r=d({serverURL:G(t[0])},H(t[0]));return r.queryBeforeStart="true"===r.queryBeforeStart,r})(p,a),representationInfo:g(h.map((t,e)=>{let r=Y(f,W(t.node,"BaseURL")),n=d(l,{periodStart:t.attributes.start});"number"==typeof t.attributes.duration&&(n.periodDuration=t.attributes.duration);let i=W(t.node,"AdaptationSet"),a=K(t.node);return g(i.map(t=>{var e;let i,o=H(t),u=Y(r,W(t,"BaseURL")),l=d(n,o,{role:H(W(t,"Role")[0])}),f="urn:scte:dash:cc:cea-608:2015"===(e=H(W(t,"Accessibility")[0])).schemeIdUri?("string"!=typeof e.value?[]:e.value.split(";")).map(t=>{let e,r;return r=t,/^CC\d=/.test(t)?[e,r]=t.split("="):/^CC\d$/.test(t)&&(e=t),{channel:e,language:r}}):"urn:scte:dash:cc:cea-708:2015"===e.schemeIdUri?("string"!=typeof e.value?[]:e.value.split(";")).map(t=>{let e={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(t)){let[r,n=""]=t.split("=");e.channel=r,e.language=t,n.split(",").forEach(t=>{let[r,n]=t.split(":");"lang"===r?e.language=n:"er"===r?e.easyReader=Number(n):"war"===r?e.aspectRatio=Number(n):"3D"===r&&(e["3D"]=Number(n))})}else e.language=t;return e.channel&&(e.channel="SERVICE"+e.channel),e}):void 0;f&&(l=d(l,{captionServices:f}));let p=W(t,"Label")[0];p&&p.childNodes.length&&(l=d(l,{label:p.childNodes[0].nodeValue.trim()}));let h=W(t,"ContentProtection").reduce((t,e)=>{let r=H(e);r.schemeIdUri&&(r.schemeIdUri=r.schemeIdUri.toLowerCase());let n=V[r.schemeIdUri];if(n){t[n]={attributes:r};let i=W(e,"cenc:pssh")[0];if(i){let e=G(i);t[n].pssh=e&&function(t){for(var e=s().atob?s().atob(t):c.from(t,"base64").toString("binary"),r=new Uint8Array(e.length),n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}(e)}}return t},{});Object.keys(h).length&&(l=d(l,{contentProtection:h}));let m=K(t),y=W(t,"Representation"),b=d(a,m);return g(y.map((i=l,t=>{let e=Y(u,W(t,"BaseURL")),r=d(i,H(t)),n=K(t);return e.map(t=>({segmentInfo:d(b,n),attributes:d(r,t)}))})))}))})),eventStream:g(h.map(Q))}})(J(t),e);return(({dashPlaylists:t,locations:e,contentSteering:r,sidxMapping:n={},previousManifest:i,eventStream:a})=>{var s;if(!t.length)return{};let{sourceDuration:o,type:u,suggestedPresentationDelay:l,minimumUpdatePeriod:c}=t[0].attributes,f=w(t.filter(M)).map(x),p=w(t.filter(P)),d=w(t.filter(L)),h=t.map(t=>t.attributes.captionServices).filter(Boolean),g={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:"",duration:o,playlists:((t,e={})=>{if(!Object.keys(e).length)return t;for(let r in t)t[r]=N(t[r],e);return t})(f,n)};c>=0&&(g.minimumUpdatePeriod=1e3*c),e&&(g.locations=e),r&&(g.contentSteering=r),"dynamic"===u&&(g.suggestedPresentationDelay=l),a&&a.length>0&&(g.eventStream=a);let m=0===g.playlists.length,y=p.length?((t,e={},r=!1)=>{let n,i=t.reduce((t,i)=>{let a=i.attributes.role&&i.attributes.role.value||"",s=i.attributes.lang||"",o=i.attributes.label||"main";if(s&&!i.attributes.label){let t=a?` (${a})`:"";o=`${i.attributes.lang}${t}`}t[o]||(t[o]={language:s,autoselect:!0,default:"main"===a,playlists:[],uri:""});let u=N((({attributes:t,segments:e,sidx:r,mediaSequence:n,discontinuitySequence:i,discontinuityStarts:a},s)=>{let o={attributes:{NAME:t.id,BANDWIDTH:t.bandwidth,CODECS:t.codecs,"PROGRAM-ID":1},uri:"",endList:"static"===t.type,timeline:t.periodStart,resolvedUri:t.baseUrl||"",targetDuration:t.duration,discontinuitySequence:i,discontinuityStarts:a,timelineStarts:t.timelineStarts,mediaSequence:n,segments:e};return t.contentProtection&&(o.contentProtection=t.contentProtection),t.serviceLocation&&(o.attributes.serviceLocation=t.serviceLocation),r&&(o.sidx=r),s&&(o.attributes.AUDIO="audio",o.attributes.SUBTITLES="subs"),o})(i,r),e);return t[o].playlists.push(u),void 0===n&&"main"===a&&((n=i).default=!0),t},{});if(!n){let t=Object.keys(i)[0];i[t].default=!0}return i})(p,n,m):null,b=d.length?((t,e={})=>t.reduce((t,r)=>{let n=r.attributes.label||r.attributes.lang||"text",i=r.attributes.lang||"und";return t[n]||(t[n]={language:i,default:!1,autoselect:!1,playlists:[],uri:""}),t[n].playlists.push(N((({attributes:t,segments:e,mediaSequence:r,discontinuityStarts:n,discontinuitySequence:i})=>{void 0===e&&(e=[{uri:t.baseUrl,timeline:t.periodStart,resolvedUri:t.baseUrl||"",duration:t.sourceDuration,number:0}],t.duration=t.sourceDuration);let a={NAME:t.id,BANDWIDTH:t.bandwidth,"PROGRAM-ID":1};t.codecs&&(a.CODECS=t.codecs);let s={attributes:a,uri:"",endList:"static"===t.type,timeline:t.periodStart,resolvedUri:t.baseUrl||"",targetDuration:t.duration,timelineStarts:t.timelineStarts,discontinuityStarts:n,discontinuitySequence:i,mediaSequence:r,segments:e};return t.serviceLocation&&(s.attributes.serviceLocation=t.serviceLocation),s})(r),e)),t},{}))(d,n):null,v=f.concat(U(y),U(b));return g.timelineStarts=R(v.map(({timelineStarts:t})=>t)),s=g.timelineStarts,v.forEach(t=>{t.mediaSequence=0,t.discontinuitySequence=s.findIndex(function({timeline:e}){return e===t.timeline}
1),t.segments&&t.segments.forEach((t,e)=>{t.number=e})}),y&&(g.mediaGroups.AUDIO.audio=y),b&&(g.mediaGroups.SUBTITLES.subs=b),(h.length&&(g.mediaGroups["CLOSED-CAPTIONS"].cc=h.reduce((t,e)=>(e&&e.forEach(e=>{let{channel:r,language:n}=e;t[n]={autoselect:!1,default:!1,instreamId:r,language:n},e.hasOwnProperty("aspectRatio")&&(t[n].aspectRatio=e.aspectRatio),e.hasOwnProperty("easyReader")&&(t[n].easyReader=e.easyReader),e.hasOwnProperty("3D")&&(t[n]["3D"]=e["3D"])}),t),{})),i)?(({oldManifest:t,newManifest:e})=>{let r=t.playlists.concat(D(t)),n=e.playlists.concat(D(e));return e.timelineStarts=R([t.timelineStarts,e.timelineStarts]),(({oldPlaylists:t,newPlaylists:e,timelineStarts:r})=>{e.forEach(e=>{e.discontinuitySequence=r.findIndex(function({timeline:t}){return t===e.timeline});let n=((t,e)=>{for(let r=0;r<t.length;r++)if(t[r].attributes.NAME===e)return t[r];return null})(t,e.attributes.NAME);if(!n||e.sidx)return;let i=e.segments[0],a=n.segments.findIndex(function(t){return Math.abs(t.presentationTime-i.presentationTime)<I});if(-1===a){O({playlist:e,mediaSequence:n.mediaSequence+n.segments.length}),e.segments[0].discontinuity=!0,e.discontinuityStarts.unshift(0),(!n.segments.length&&e.timeline>n.timeline||n.segments.length&&e.timeline>n.segments[n.segments.length-1].timeline)&&e.discontinuitySequence--;return}n.segments[a].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,e.discontinuityStarts.unshift(0),e.discontinuitySequence--),O({playlist:e,mediaSequence:n.segments[a].number})})})({oldPlaylists:r,newPlaylists:n,timelineStarts:e.timelineStarts}),e})({oldManifest:i,newManifest:g}):g})({dashPlaylists:r.representationInfo.map(q),locations:r.locations,contentSteering:r.contentSteeringInfo,sidxMapping:e.sidxMapping,previousManifest:e.previousManifest,eventStream:r.eventStream})},tt=t=>(t=>{let e=W(t,"UTCTiming")[0];if(!e)return null;let r=H(e);switch(r.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":r.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":r.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":r.method="DIRECT",r.value=Date.parse(r.value);break;default:throw Error("UNSUPPORTED_UTC_TIMING_SCHEME")}return r})(J(t))},33783:(t,e,r)=>{var n=r(86090),i=r(73761),a=r(70435),s="vjs-quality-changing";t.exports=function(t){var e=t.getComponent("MenuButton"),r=a(t);class o extends e{constructor(t,e){super(t,e),t.on(i.QUALITY_REQUESTED,(function(e,r){this.setSelectedSource(r),t.addClass(s),t.one("loadeddata",function(){t.removeClass(s)})}).bind(this)),t.on(i.PLAYER_SOURCES_CHANGED,(function(){this.update()}).bind(this)),t.on(i.QUALITY_SELECTED,(function(t,e){this.setSelectedSource(e)}).bind(this)),t.one("ready",(function(){this.selectedSrc=t.src(),this.update()}).bind(this)),this.controlText("Open quality selector menu")}setSelectedSource(t){var e=t?t.src:void 0;this.selectedSrc!==e&&(this.selectedSrc=e,n.each(this.items,function(t){t.selected(t.source.src===e)}))}createItems(){var t=this.player(),e=t.currentSources();return!e||e.length<2?[]:n.map(e,(function(e){return new r(t,{source:e,selected:e.src===this.selectedSrc})}).bind(this))}buildWrapperCSSClass(){return"vjs-quality-selector "+super.buildWrapperCSSClass()}}return t.registerComponent("QualitySelector",o),o}},34827:t=>{"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}t.exports=function(){function t(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1}var r=t.prototype;return r.getIsEnabled=function(){return this.enabled_},r.enable=function(){this.enabled_=!0},r.disable=function(){this.enabled_=!1},r.reset=function(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1},r.addInterceptor=function(t,e){this.typeToInterceptorsMap_.has(t)||this.typeToInterceptorsMap_.set(t,new Set);var r=this.typeToInterceptorsMap_.get(t);return!r.has(e)&&(r.add(e),!0)},r.removeInterceptor=function(t,e){var r=this.typeToInterceptorsMap_.get(t);return!!(r&&r.has(e))&&(r.delete(e),!0)},r.clearInterceptorsByType=function(t){return!!this.typeToInterceptorsMap_.get(t)&&(this.t
1ypeToInterceptorsMap_.delete(t),this.typeToInterceptorsMap_.set(t,new Set),!0)},r.clear=function(){return!!this.typeToInterceptorsMap_.size&&(this.typeToInterceptorsMap_=new Map,!0)},r.getForType=function(t){return this.typeToInterceptorsMap_.get(t)||new Set},r.execute=function(t,r){for(var n,i=this.getForType(t),a=function(t){var r="u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t){if(t){if("string"==typeof t)return e(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,void 0)}}(t))){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i);!(n=a()).done;){var s=n.value;try{r=s(r)}catch(t){}}return r},t}()},43959:(t,e,r)=>{var n=r(86090),i=r(73761);t.exports=function(t){t.use("*",function(t){return{setSource:function(e,r){var a,s=t.currentSources();t._qualitySelectorSafeSeek&&t._qualitySelectorSafeSeek.onPlayerSourcesChange(),n.isEqual(s,t._qualitySelectorPreviousSources)||(t.trigger(i.PLAYER_SOURCES_CHANGED,s),t._qualitySelectorPreviousSources=s),a=n.find(s,function(t){return!0===t.selected||"true"===t.selected||"selected"===t.selected})||e,t.trigger(i.QUALITY_SELECTED,a),r(null,a)}}})}},44850:(t,e,r)=>{"use strict";var n=r(91741);t.exports=function(t,e){return void 0===e&&(e=!1),function(r,i,a){if(r)return void t(r);if(i.statusCode>=400&&i.statusCode<=599){var s=a;if(e)if(n.TextDecoder){var o,u=(void 0===(o=i.headers&&i.headers["content-type"])&&(o=""),o.toLowerCase().split(";").reduce(function(t,e){var r=e.split("="),n=r[0],i=r[1];return"charset"===n.trim()?i.trim():t},"utf-8"));try{s=new TextDecoder(u).decode(a)}catch(t){}}else s=String.fromCharCode.apply(null,new Uint8Array(a));t({cause:s});return}t(null,a)}}},45535:t=>{"use strict";var e=function(){function t(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1}var e=t.prototype;return e.getIsEnabled=function(){return this.enabled_},e.enable=function(){this.enabled_=!0},e.disable=function(){this.enabled_=!1},e.reset=function(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1},e.getMaxAttempts=function(){return this.maxAttempts_},e.setMaxAttempts=function(t){this.maxAttempts_=t},e.getDelayFactor=function(){return this.delayFactor_},e.setDelayFactor=function(t){this.delayFactor_=t},e.getFuzzFactor=function(){return this.fuzzFactor_},e.setFuzzFactor=function(t){this.fuzzFactor_=t},e.getInitialDelay=function(){return this.initialDelay_},e.setInitialDelay=function(t){this.initialDelay_=t},e.createRetry=function(t){var e=void 0===t?{}:t,n=e.maxAttempts,i=e.delayFactor,a=e.fuzzFactor,s=e.initialDelay;return new r({maxAttempts:n||this.maxAttempts_,delayFactor:i||this.delayFactor_,fuzzFactor:a||this.fuzzFactor_,initialDelay:s||this.initialDelay_})},t}(),r=function(){function t(t){this.maxAttempts_=t.maxAttempts,this.delayFactor_=t.delayFactor,this.fuzzFactor_=t.fuzzFactor,this.currentDelay_=t.initialDelay,this.currentAttempt_=1}var e=t.prototype;return e.moveToNextAttempt=function(){this.currentAttempt_++;var t=this.currentDelay_*this.delayFactor_;this.currentDelay_=this.currentDelay_+t},e.shouldRetry=function(){return this.currentAttempt_<this.maxAttempts_},e.getCurrentDelay=function(){return this.currentDelay_},e.getCurrentMinPossibleDelay=function(){return(1-this.fuzzFactor_)*this.currentDelay_},e.getCurrentMaxPossibleDelay=function(){return(1+this.fuzzFactor_)*this.currentDelay_},e.getCurrentFuzzedDelay=function(){var t=this.getCurrentMinPossibleDelay();return t+Math.random()*(this.getCurrentMaxPossibleDelay()-t)},t}();t.exports=e},47031:t=>{var e,r,n,i;e=function(t){return 9e4*t},r=function(t,e){return t*e},n=function(t){return t/9e4}
1,t.exports={ONE_SECOND_IN_TS:9e4,secondsToVideoTs:e,secondsToAudioTs:r,videoTsToSeconds:n,audioTsToSeconds:i=function(t,e){return t/e},audioTsToVideoTs:function(t,r){return e(i(t,r))},videoTsToAudioTs:function(t,e){return r(n(t),e)},metadataTsToSeconds:function(t,e,r){return n(r?t:t-e)}}},49675:(t,e,r)=>{var n=r(4659).getUint64;t.exports=function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),r={version:t[0],flags:new Uint8Array(t.subarray(1,4)),references:[],referenceId:e.getUint32(4),timescale:e.getUint32(8)},i=12;0===r.version?(r.earliestPresentationTime=e.getUint32(i),r.firstOffset=e.getUint32(i+4),i+=8):(r.earliestPresentationTime=n(t.subarray(i)),r.firstOffset=n(t.subarray(i+8)),i+=16),i+=2;var a=e.getUint16(i);for(i+=2;a>0;i+=12,a--)r.references.push({referenceType:(128&t[i])>>>7,referencedSize:0x7fffffff&e.getUint32(i),subsegmentDuration:e.getUint32(i+4),startsWithSap:!!(128&t[i+8]),sapType:(112&t[i+8])>>>4,sapDeltaTime:0xfffffff&e.getUint32(i+8)});return r}},56929:(t,e,r)=>{"use strict";var n=r(91741),i=r(87168),a=r(21197),s=r(34827),o=r(45535);c.httpHandler=r(44850),c.requestInterceptorsStorage=new s,c.responseInterceptorsStorage=new s,c.retryManager=new o;var u=function(t){var e={};return t&&t.trim().split("\n").forEach(function(t){var r=t.indexOf(":"),n=t.slice(0,r).trim().toLowerCase(),i=t.slice(r+1).trim();void 0===e[n]?e[n]=i:Array.isArray(e[n])?e[n].push(i):e[n]=[e[n],i]}),e};function l(t,e,r){var n=t;return a(e)?(r=e,"string"==typeof t&&(n={uri:t})):n=i({},e,{uri:t}),n.callback=r,n}function c(t,e,r){return f(e=l(t,e,r))}function f(t){if(void 0===t.callback)throw Error("callback argument missing");if(t.requestType&&c.requestInterceptorsStorage.getIsEnabled()){var e,r,n,i={uri:t.uri||t.url,headers:t.headers||{},body:t.body,metadata:t.metadata||{},retry:t.retry,timeout:t.timeout},a=c.requestInterceptorsStorage.execute(t.requestType,i);t.uri=a.uri,t.headers=a.headers,t.body=a.body,t.metadata=a.metadata,t.retry=a.retry,t.timeout=a.timeout}var s=!1,o=function(e,r,n){s||(s=!0,t.callback(e,r,n))};function l(e){if(clearTimeout(n),clearTimeout(t.retryTimeout),e instanceof Error||(e=Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,!r&&c.retryManager.getIsEnabled()&&t.retry&&t.retry.shouldRetry()){t.retryTimeout=setTimeout(function(){t.retry.moveToNextAttempt(),t.xhr=d,f(t)},t.retry.getCurrentFuzzedDelay());return}if(t.requestType&&c.responseInterceptorsStorage.getIsEnabled()){var i={headers:T.headers||{},body:T.body,responseUrl:d.responseURL,responseType:d.responseType},a=c.responseInterceptorsStorage.execute(t.requestType,i);T.body=a.body,T.headers=a.headers}return o(e,T)}function p(){if(!r){clearTimeout(n),clearTimeout(t.retryTimeout);var e=t.useXDR&&void 0===d.status?200:1223===d.status?204:d.status,i=T,a=null;if(0!==e?(i={body:function(){var t=void 0;if(t=d.response?d.response:d.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!e)return t.responseXML}catch(t){}return null}(d),v)try{t=JSON.parse(t)}catch(t){}return t}(),statusCode:e,method:g,headers:{},url:h,rawRequest:d},d.getAllResponseHeaders&&(i.headers=u(d.getAllResponseHeaders()))):a=Error("Internal XMLHttpRequest Error"),t.requestType&&c.responseInterceptorsStorage.getIsEnabled()){var s={headers:i.headers||{},body:i.body,responseUrl:d.responseURL,responseType:d.responseType},l=c.responseInterceptorsStorage.execute(t.requestType,s);i.body=l.body,i.headers=l.headers}return o(a,i,i.body)}}var d=t.xhr||null;d||(d=t.cors||t.useXDR?new c.XDomainRequest:new c.XMLHttpRequest);var h=d.url=t.uri||t.url,g=d.method=t.method||"GET",m=t.body||t.data,y=d.headers=t.headers||{},b=!!t.sync,v=!1,T={body:void 0,headers:{},statusCode:0,method:g,url:h,rawRequest:d};if("json"in t&&!1!==t.json&&(v=!0,y.accept||y.Accept||(y.Accept="application/json"),"GET"!==g&&"HEAD"!==g&&(y["content-type"]||y["Content-Type"]||(y["Content-Type"]="application/json"),m=JSON.stringify(!0===t.json?m:t.json))),d.onreadystatechange=function(){4!==d.readyState||c.responseInterceptorsStorage.getIsEnabled()||setTimeout(p,0)},d.onload=p,d.onerror=l,d.onprogress=function(){},d.onabort=function(){r=!0,clearTimeout(t.retryTimeout)},d.ontimeout=l,d.open(g,h,!b,t.username,t.password),b||(d.withCredentials=!!t.withCredentials),!b&&t.timeout>0&&(n=setTimeout(function(){if(!r){r=!0,d.abort("timeout");var t=Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",l(t)}},t.timeout)),d.setRequestHeader)for(e in y)y.hasOwnProperty(e)&&d.setRequestHeader(e,y[e]);else if(t.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}(t.headers))throw Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(d.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(d),d.send(m||null),d}
vendor: 2,144 bytes, line 1
1t.exports=c,t.exports.default=c,c.XMLHttpRequest=n.XMLHttpRequest||function(){},c.XDomainRequest="withCredentials"in new c.XMLHttpRequest?c.XMLHttpRequest:n.XDomainRequest,function(t,e){for(var r=0;r<t.length;r++)e(t[r])}(["get","put","post","patch","head","delete"],function(t){c["delete"===t?"del":t]=function(e,r,n){return(r=l(e,r,n)).method=t.toUpperCase(),f(r)}})},65410:(t,e,r)=>{"use strict";r.d(e,{BX:()=>c,Et:()=>u,TY:()=>d,UD:()=>p,YZ:()=>h,Yg:()=>g,dv:()=>m,fz:()=>f,tB:()=>l});var n=r(91741),i=r.n(n),a={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},s=["video","audio","text"],o=["Video","Audio","Text"],u=function(t){return t?t.replace(/avc1\.(\d+)\.(\d+)/i,function(t,e,r){return"avc1."+("00"+Number(e).toString(16)).slice(-2)+"00"+("00"+Number(r).toString(16)).slice(-2)}):t},l=function(t){void 0===t&&(t="");var e=t.split(","),r=[];return e.forEach(function(t){var e;t=t.trim(),s.forEach(function(n){var i=a[n].exec(t.toLowerCase());if(i&&!(i.length<=1)){e=n;var s=t.substring(0,i[1].length),o=t.replace(s,"");r.push({type:s,details:o,mediaType:n})}}),e||r.push({type:t,details:"",mediaType:"unknown"})}),r},c=function(t,e){if(!t.mediaGroups.AUDIO||!e)return null;var r=t.mediaGroups.AUDIO[e];if(!r)return null;for(var n in r){var i=r[n];if(i.default&&i.playlists)return l(i.playlists[0].attributes.CODECS)}return null},f=function(t){return void 0===t&&(t=""),a.audio.test(t.trim().toLowerCase())},p=function(t){if(t&&"string"==typeof t){var e,r=t.toLowerCase().split(",").map(function(t){return u(t.trim())}),n="video";1===r.length&&f(r[0])?n="audio":1===r.length&&(void 0===(e=r[0])&&(e=""),a.text.test(e.trim().toLowerCase()))&&(n="application");var i="mp4";return r.every(function(t){return a.mp4.test(t)})?i="mp4":r.every(function(t){return a.webm.test(t)})?i="webm":r.every(function(t){return a.ogg.test(t)}
1)&&(i="ogg"),n+"/"+i+';codecs="'+t+'"'}},d=function(t,e){return void 0===t&&(t=""),void 0===e&&(e=!1),i().MediaSource&&i().MediaSource.isTypeSupported&&i().MediaSource.isTypeSupported(p(t))||e&&i().ManagedMediaSource&&i().ManagedMediaSource.isTypeSupported&&i().ManagedMediaSource.isTypeSupported(p(t))||!1},h=function(t){return void 0===t&&(t=""),t.toLowerCase().split(",").every(function(t){t=t.trim();for(var e=0;e<o.length;e++)if(a["muxer"+o[e]].test(t))return!0;return!1})},g="mp4a.40.2",m="avc1.4d400d"},70435:(t,e,r)=>{var n=r(86090),i=r(73761);t.exports=function(t){var e=t.getComponent("MenuItem");return class extends e{constructor(t,e){var r=e.source;if(!n.isObject(r))throw Error('was not provided a "source" object, but rather: '+typeof r);super(t,e=n.extend({selectable:!0,label:r.label},e)),this.source=r}handleClick(t){super.handleClick(t),this.player().trigger(i.QUALITY_REQUESTED,this.source)}}}},73761:t=>{t.exports={QUALITY_REQUESTED:"qualityRequested",QUALITY_SELECTED:"qualitySelected",PLAYER_SOURCES_CHANGED:"playerSourcesChanged"}},77277:function(t,e,r){t.exports=function(t){"use strict";var e=t&&"object"==typeof t&&"default"in t?t:{default:t};class r{constructor(t){let e=this;return e.id=t.id,e.label=e.id,e.width=t.width,e.height=t.height,e.bitrate=t.bandwidth,e.frameRate=t.frameRate,e.enabled_=t.enabled,Object.defineProperty(e,"enabled",{get:()=>e.enabled_(),set(t){e.enabled_(t)}}),e}}class n extends e.default.EventTarget{constructor(){super();let t=this;return t.levels_=[],t.selectedIndex_=-1,Object.defineProperty(t,"selectedIndex",{get:()=>t.selectedIndex_}),Object.defineProperty(t,"length",{get:()=>t.levels_.length}),t[Symbol.iterator]=()=>t.levels_.values(),t}addQualityLevel(t){let e=this.getQualityLevelById(t.id);if(e)return e;let n=this.levels_.length;return e=new r(t),""+n in this||Object.defineProperty(this,n,{get(){return this.levels_[n]}}),this.levels_.push(e),this.trigger({qualityLevel:e,type:"addqualitylevel"}),e}removeQualityLevel(t){let e=null;for(let r=0,n=this.length;r<n;r++)if(this[r]===t){e=this.levels_.splice(r,1)[0],this.selectedIndex_===r?this.selectedIndex_=-1:this.selectedIndex_>r&&this.selectedIndex_--;break}return e&&this.trigger({qualityLevel:t,type:"removequalitylevel"}),e}getQualityLevelById(t){for(let e=0,r=this.length;e<r;e++){let r=this[e];if(r.id===t)return r}return null}dispose(){this.selectedIndex_=-1,this.levels_.length=0}}for(let t in n.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"},n.prototype.allowedEvents_)n.prototype["on"+t]=null;var i="4.1.0";let a=function(t,e){let r=t.qualityLevels,a=new n,s=function(){a.dispose(),t.qualityLevels=r,t.off("dispose",s)};return t.on("dispose",s),t.qualityLevels=()=>a,t.qualityLevels.VERSION=i,a},s=function(t){return a(this,e.default.obj.merge({},t))};return e.default.registerPlugin("qualityLevels",s),s.VERSION=i,s}(r(42754))},81413:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(95559),i=(0,n.W_)([73,68,51]),a=function(t,e){void 0===e&&(e=0);var r=(t=(0,n.W_)(t))[e+5],i=t[e+6]<<21|t[e+7]<<14|t[e+8]<<7|t[e+9];return(16&r)>>4?i+20:i+10},s=function t(e,r){return(void 0===r&&(r=0),(e=(0,n.W_)(e)).length-r<10||!(0,n.L7)(e,i,{offset:r}))?r:(r+=a(e,r),t(e,r))}},82355:(t,e,r)=>{"use strict";r.d(e,{ne:()=>I,J2:()=>R});var n,i=r(95559);new Uint8Array([79,112,117,115,72,101,97,100]);var a=function(t){return"string"==typeof t?(0,i.Af)(t):t},s=function(t){t=(0,i.W_)(t);for(var e=[],r=0;t.length>r;){var a=t[r],s=0,o=0,u=t[++o];for(o++;128&u;)s=(127&u)<<7,u=t[o],o++;s+=127&u;for(var l=0;l<n.length;l++){var c=n[l],f=c.id,p=c.parser;if(a===f){e.push(p(t.subarray(o,o+s)));break}}r+=s+o}return e};n=[{id:3,parser:function(t){var e={tag:3,id:t[0]<<8|t[1],flags:t[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(128&e.flags&&(e.dependsOnEsId=t[e.size]<<8|t[e.size+1],e.size+=2),64&e.flags){var r=t[e.size];e.url=(0,i.Ar)(t.subarray(e.size+1,e.size+1+r)),e.size+=r}return 32&e.flags&&(e.ocrEsId=t[e.size]<<8|t[e.size+1],e.size+=2),e.descriptors=s(t.subarray(e.size))||[],e}},{id:4,parser:function(t){return{tag:4,oti:t[0],streamType:t[1],bufferSize:t[2]<<16|t[3]<<8|t[4],maxBitrate:t[5]<<24|t[6]<<16|t[7]<<8|t[8],avgBitrate:t[9]<<24|t[10]<<16|t[11]<<8|t[12],descriptors:s(t.subarray(13))}}},{id:5,parser:function(t){return{tag:5,bytes:t}}},{id:6,parser:function(t){return{tag:6,bytes:t}}}];var o=function t(e,r,n){void 0===n&&(n=!1),r=Array.isArray(s=r)?s.map(function(t){return a(t)}):[a(s)],e=(0,i.W_)(e);var s,o=[];if(!r.length)return o;for(var u=0;u<e.length;){var l=(e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3])>>>0,c=e.subarray(u+4,u+8);if(0===l)break;var f=u+l;if(f>e.length){if(n)break;f=e.length}var p=e.subarray(u+8,f);(0,i.L7)(c,r[0])&&(1===r.length?o.push(p):o.push.apply(o,t(p,r.slice(1),n))),u=f}return o},u={EBML:(0,i.W_)([26,69,223,163]),DocType:(0,i.W_)([66,130]),Segment:(0,i.W_)([24,83,128,103]),SegmentInfo:(0,i.W_)([21,73,169,102]),Tracks:(0,i.W_)([22,84,174,107]),Track:(0,i.W_)([174]),TrackNumber:(0,i.W_)([215]),DefaultDuration:(0,i.W_)([35,227,131]),TrackEntry:(0,i.W_)([174]),TrackType:(0,i.W_)([131]),FlagDefault:(0,i.W_)([136]),CodecID:(0,i.W_)([134]),CodecPr
1ivate:(0,i.W_)([99,162]),VideoTrack:(0,i.W_)([224]),AudioTrack:(0,i.W_)([225]),Cluster:(0,i.W_)([31,67,182,117]),Timestamp:(0,i.W_)([231]),TimestampScale:(0,i.W_)([42,215,177]),BlockGroup:(0,i.W_)([160]),BlockDuration:(0,i.W_)([155]),Block:(0,i.W_)([161]),SimpleBlock:(0,i.W_)([163])},l=[128,64,32,16,8,4,2,1],c=function(t){for(var e=1,r=0;r<l.length&&!(t&l[r]);r++)e++;return e},f=function(t,e,r,n){void 0===r&&(r=!0),void 0===n&&(n=!1);var a=c(t[e]),s=t.subarray(e,e+a);return r&&(s=Array.prototype.slice.call(t,e,e+a),s[0]^=l[a-1]),{length:a,value:(0,i.Sk)(s,{signed:n}),bytes:s}},p=function t(e){return"string"==typeof e?e.match(/.{1,2}/g).map(function(e){return t(e)}):"number"==typeof e?(0,i.WG)(e):e},d=function t(e,r,n){if(n>=r.length)return r.length;var a=f(r,n,!1);if((0,i.L7)(e.bytes,a.bytes))return n;var s=f(r,n+a.length);return t(e,r,n+s.length+s.value+a.length)},h=function t(e,r){r=Array.isArray(n=r)?n.map(function(t){return p(t)}):[p(n)],e=(0,i.W_)(e);var n,a=[];if(!r.length)return a;for(var s=0;s<e.length;){var o=f(e,s,!1),u=f(e,s+o.length),l=s+o.length+u.length;127===u.value&&(u.value=d(o,e,l),u.value!==e.length&&(u.value-=l));var c=l+u.value>e.length?e.length:l+u.value,h=e.subarray(l,c);(0,i.L7)(r[0],o.bytes)&&(1===r.length?a.push(h):a=a.concat(t(h,r.slice(1)))),s+=o.length+u.length+h.length}return a},g=r(81413),m=(0,i.W_)([0,0,0,1]),y=(0,i.W_)([0,0,1]),b=(0,i.W_)([0,0,3]),v=function(t){for(var e=[],r=1;r<t.length-2;)(0,i.L7)(t.subarray(r,r+3),b)&&(e.push(r+2),r++),r++;if(0===e.length)return t;var n=t.length-e.length,a=new Uint8Array(n),s=0;for(r=0;r<n;s++,r++)s===e[0]&&(s++,e.shift()),a[r]=t[s];return a},T=function(t,e,r,n){void 0===n&&(n=1/0),t=(0,i.W_)(t),r=[].concat(r);for(var a,s=0,o=0;s<t.length&&(o<n||a);){var u=void 0;if((0,i.L7)(t.subarray(s),m)?u=4:(0,i.L7)(t.subarray(s),y)&&(u=3),!u){s++;continue}if(o++,a)return v(t.subarray(a,s));var l=void 0;"h264"===e?l=31&t[s+u]:"h265"===e&&(l=t[s+u]>>1&63),-1!==r.indexOf(l)&&(a=s+u),s+=u+("h264"===e?1:2)}return t.subarray(0,0)},E={webm:(0,i.W_)([119,101,98,109]),matroska:(0,i.W_)([109,97,116,114,111,115,107,97]),flac:(0,i.W_)([102,76,97,67]),ogg:(0,i.W_)([79,103,103,83]),ac3:(0,i.W_)([11,119]),riff:(0,i.W_)([82,73,70,70]),avi:(0,i.W_)([65,86,73]),wav:(0,i.W_)([87,65,86,69]),"3gp":(0,i.W_)([102,116,121,112,51,103]),mp4:(0,i.W_)([102,116,121,112]),fmp4:(0,i.W_)([115,116,121,112]),mov:(0,i.W_)([102,116,121,112,113,116]),moov:(0,i.W_)([109,111,111,118]),moof:(0,i.W_)([109,111,111,102])},S={aac:function(t){var e=(0,g.A)(t);return(0,i.L7)(t,[255,16],{offset:e,mask:[255,22]})},mp3:function(t){var e=(0,g.A)(t);return(0,i.L7)(t,[255,2],{offset:e,mask:[255,6]})},webm:function(t){var e=h(t,[u.EBML,u.DocType])[0];return(0,i.L7)(e,E.webm)},mkv:function(t){var e=h(t,[u.EBML,u.DocType])[0];return(0,i.L7)(e,E.matroska)},mp4:function(t){return!(S["3gp"](t)||S.mov(t))&&(!!((0,i.L7)(t,E.mp4,{offset:4})||(0,i.L7)(t,E.fmp4,{offset:4})||(0,i.L7)(t,E.moof,{offset:4})||(0,i.L7)(t,E.moov,{offset:4}))||void 0)},mov:function(t){return(0,i.L7)(t,E.mov,{offset:4})},"3gp":function(t){return(0,i.L7)(t,E["3gp"],{offset:4})},ac3:function(t){var e=(0,g.A)(t);return(0,i.L7)(t,E.ac3,{offset:e})},ts:function(t){if(t.length<189&&t.length>=1)return 71===t[0];for(var e=0;e+188<t.length&&e<188;){if(71===t[e]&&71===t[e+188])return!0;e+=1}return!1},flac:function(t){var e=(0,g.A)(t);return(0,i.L7)(t,E.flac,{offset:e})},ogg:function(t){return(0,i.L7)(t,E.ogg)},avi:function(t){return(0,i.L7)(t,E.riff)&&(0,i.L7)(t,E.avi,{offset:8})},wav:function(t){return(0,i.L7)(t,E.riff)&&(0,i.L7)(t,E.wav,{offset:8})},h264:function(t){return T(t,"h264",7,3).length},h265:function(t){return T(t,"h265",[32,33],3).length}},A=Object.keys(S).filter(function(t){return"ts"!==t&&"h264"!==t&&"h265"!==t}).concat(["ts","h264","h265"]);A.forEach(function(t){var e=S[t];S[t]=function(t){return e((0,i.W_)(t))}});var I=function(t){t=(0,i.W_)(t);for(var e=0;e<A.length;e++){var r=A[e];if(S[r](t))return r}return""},R=function(t){return o(t,["moof"]).length>0}},86090:function(t,e,r){t.exports=function(){var t="1.13.1",e="object"==typeof self&&self.self===self&&self||"object"==typeof r.g&&r.g.global===r.g&&r.g||Function("return this")()||{},n=Array.prototype,i=Object.prototype,a="u">typeof Symbol?Symbol.prototype:null,s=n.push,o=n.slice,u=i.toString,l=i.hasOwnProperty,c="u">typeof ArrayBuffer,f="u">typeof DataView,p=Array.isArray,d=Object.keys,h=Object.create,g=c&&ArrayBuffer.isView,m=isNaN,y=isFinite,b=!({toString:null}).propertyIsEnumerable("toString"),v=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleStr
1ing"];function T(t,e){return e=null==e?t.length-1:+e,function(){for(var r=Math.max(arguments.length-e,0),n=Array(r),i=0;i<r;i++)n[i]=arguments[i+e];switch(e){case 0:return t.call(this,n);case 1:return t.call(this,arguments[0],n);case 2:return t.call(this,arguments[0],arguments[1],n)}var a=Array(e+1);for(i=0;i<e;i++)a[i]=arguments[i];return a[e]=n,t.apply(this,a)}}function E(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function S(t){return void 0===t}function A(t){return!0===t||!1===t||"[object Boolean]"===u.call(t)}function I(t){var e="[object "+t+"]";return function(t){return u.call(t)===e}}var R=I("String"),D=I("Number"),O=I("Date"),_=I("RegExp"),w=I("Error"),N=I("Symbol"),x=I("ArrayBuffer"),M=I("Function"),P=e.document&&e.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof P&&(M=function(t){return"function"==typeof t});var L=M,U=I("Object"),C=f&&U(new DataView(new ArrayBuffer(8))),X="u">typeof Map&&U(new Map),F=I("DataView"),k=C?function(t){return null!=t&&L(t.getInt8)&&x(t.buffer)}:F,B=p||I("Array");function j(t,e){return null!=t&&l.call(t,e)}var q=I("Arguments");!function(){q(arguments)||(q=function(t){return j(t,"callee")})}();var W=q;function G(t){return D(t)&&m(t)}function $(t){return function(){return t}}function z(t){return function(e){var r=t(e);return"number"==typeof r&&r>=0&&r<=0x1fffffffffffff}}function H(t){return function(e){return null==e?void 0:e[t]}}var V=H("byteLength"),Y=z(V),K=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,Q=c?function(t){return g?g(t)&&!k(t):Y(t)&&K.test(u.call(t))}:$(!1),J=H("length");function Z(t,e){e=function(t){for(var e={},r=t.length,n=0;n<r;++n)e[t[n]]=!0;return{contains:function(t){return e[t]},push:function(r){return e[r]=!0,t.push(r)}}}(e);var r=v.length,n=t.constructor,a=L(n)&&n.prototype||i,s="constructor";for(j(t,s)&&!e.contains(s)&&e.push(s);r--;)(s=v[r])in t&&t[s]!==a[s]&&!e.contains(s)&&e.push(s)}function tt(t){if(!E(t))return[];if(d)return d(t);var e=[];for(var r in t)j(t,r)&&e.push(r);return b&&Z(t,e),e}function te(t,e){var r=tt(e),n=r.length;if(null==t)return!n;for(var i=Object(t),a=0;a<n;a++){var s=r[a];if(e[s]!==i[s]||!(s in i))return!1}return!0}function tr(t){return t instanceof tr?t:this instanceof tr?void(this._wrapped=t):new tr(t)}function tn(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,V(t))}tr.VERSION=t,tr.prototype.value=function(){return this._wrapped},tr.prototype.valueOf=tr.prototype.toJSON=tr.prototype.value,tr.prototype.toString=function(){return String(this._wrapped)};var ti="[object DataView]";function ta(t){if(!E(t))return[];var e=[];for(var r in t)e.push(r);return b&&Z(t,e),e}function ts(t){var e=J(t);return function(r){if(null==r||J(ta(r)))return!1;for(var n=0;n<e;n++)if(!L(r[t[n]]))return!1;return t!==tf||!L(r[to])}}var to="forEach",tu=["clear","delete"],tl=["get","has","set"],tc=tu.concat(to,tl),tf=tu.concat(tl),tp=["add"].concat(tu,to,"has"),td=X?ts(tc):I("Map"),th=X?ts(tf):I("WeakMap"),tg=X?ts(tp):I("Set"),tm=I("WeakSet");function ty(t){for(var e=tt(t),r=e.length,n=Array(r),i=0;i<r;i++)n[i]=t[e[i]];return n}function tb(t){for(var e={},r=tt(t),n=0,i=r.length;n<i;n++)e[t[r[n]]]=r[n];return e}function tv(t){var e=[];for(var r in t)L(t[r])&&e.push(r);return e.sort()}function tT(t,e){return function(r){var n=arguments.length;if(e&&(r=Object(r)),n<2||null==r)return r;for(var i=1;i<n;i++)for(var a=arguments[i],s=t(a),o=s.length,u=0;u<o;u++){var l=s[u];e&&void 0!==r[l]||(r[l]=a[l])}return r}}var tE=tT(ta),tS=tT(tt),tA=tT(ta,!0);function tI(t){if(!E(t))return{};if(h)return h(t);var e=function(){};e.prototype=t;var r=new e;return e.prototype=null,r}function tR(t){return E(t)?B(t)?t.slice():tE({},t):t}function tD(t){return B(t)?t:[t]}function tO(t){return tr.toPath(t)}function t_(t,e){for(var r=e.length,n=0;n<r;n++){if(null==t)return;t=t[e[n]]}return r?t:void 0}function tw(t,e,r){var n=t_(t,tO(e));return S(n)?r:n}function tN(t){return t}function tx(t){return t=tS({},t),function(e){return te(e,t)}}function tM(t){return t=tO(t),function(e){return t_(e,t)}}function tP(t,e,r){if(void 0===e)return t;switch(null==r?3:r){case 1:return function(r){return t.call(e,r)};case 3:return function(r,n,i){return t.call(e,r,n,i)};case 4:return function(r,n,i,a){return t.call(e,r,n,i,a)}}return function(){return t.apply(e,arguments)}}function tL(t,e,r){return null==t?tN:L(t)?tP(t,e,r):E(t)&&!B(t)?tx(t):tM(t)}function tU(t,e){return tL(t,e,1/0)}function tC(t,e,r){return tr.iteratee!==tU?tr.iteratee(t,e):tL(t,e,r)}function tX(){}function tF(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}tr.toPath=tD,tr.iteratee=tU;var tk=Date.now||function(){return(new Date).getTime()};function tB(t){var e=function(e){return t[e]},r="(?:"+tt(t).join("|")+")",n=RegExp(r),i=RegExp(r,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(i,e):t}}var tj={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},tq=tB(tj),tW=tB(tb(tj)),tG=tr.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g}
1,t$=/(.)^/,tz={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},tH=/\\|'|\r|\n|\u2028|\u2029/g;function tV(t){return"\\"+tz[t]}var tY=/^\s*(\w|\$)+\s*$/,tK=0;function tQ(t,e,r,n,i){if(!(n instanceof e))return t.apply(r,i);var a=tI(t.prototype),s=t.apply(a,i);return E(s)?s:a}var tJ=T(function(t,e){var r=tJ.placeholder,n=function(){for(var i=0,a=e.length,s=Array(a),o=0;o<a;o++)s[o]=e[o]===r?arguments[i++]:e[o];for(;i<arguments.length;)s.push(arguments[i++]);return tQ(t,n,this,this,s)};return n});tJ.placeholder=tr;var tZ=T(function(t,e,r){if(!L(t))throw TypeError("Bind must be called on a function");var n=T(function(i){return tQ(t,n,e,this,r.concat(i))});return n}),t0=z(J);function t1(t,e,r,n){if(n=n||[],e||0===e){if(e<=0)return n.concat(t)}else e=1/0;for(var i=n.length,a=0,s=J(t);a<s;a++){var o=t[a];if(t0(o)&&(B(o)||W(o)))if(e>1)t1(o,e-1,r,n),i=n.length;else for(var u=0,l=o.length;u<l;)n[i++]=o[u++];else r||(n[i++]=o)}return n}var t2=T(function(t,e){var r=(e=t1(e,!1,!1)).length;if(r<1)throw Error("bindAll must be passed function names");for(;r--;){var n=e[r];t[n]=tZ(t[n],t)}return t}),t3=T(function(t,e,r){return setTimeout(function(){return t.apply(null,r)},e)}),t4=tJ(t3,tr,1);function t6(t){return function(){return!t.apply(this,arguments)}}function t8(t,e){var r;return function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=null),r}}var t7=tJ(t8,2);function t9(t,e,r){e=tC(e,r);for(var n,i=tt(t),a=0,s=i.length;a<s;a++)if(e(t[n=i[a]],n,t))return n}function t5(t){return function(e,r,n){r=tC(r,n);for(var i=J(e),a=t>0?0:i-1;a>=0&&a<i;a+=t)if(r(e[a],a,e))return a;return -1}}var et=t5(1),ee=t5(-1);function er(t,e,r,n){for(var i=(r=tC(r,n,1))(e),a=0,s=J(t);a<s;){var o=Math.floor((a+s)/2);r(t[o])<i?a=o+1:s=o}return a}function en(t,e,r){return function(n,i,a){var s=0,u=J(n);if("number"==typeof a)t>0?s=a>=0?a:Math.max(a+u,s):u=a>=0?Math.min(a+1,u):a+u+1;else if(r&&a&&u)return n[a=r(n,i)]===i?a:-1;if(i!=i)return(a=e(o.call(n,s,u),G))>=0?a+s:-1;for(a=t>0?s:u-1;a>=0&&a<u;a+=t)if(n[a]===i)return a;return -1}}var ei=en(1,et,er),ea=en(-1,ee);function es(t,e,r){var n=(t0(t)?et:t9)(t,e,r);if(void 0!==n&&-1!==n)return t[n]}function eo(t,e,r){var n,i;if(e=tP(e,r),t0(t))for(n=0,i=t.length;n<i;n++)e(t[n],n,t);else{var a=tt(t);for(n=0,i=a.length;n<i;n++)e(t[a[n]],a[n],t)}return t}function eu(t,e,r){e=tC(e,r);for(var n=!t0(t)&&tt(t),i=(n||t).length,a=Array(i),s=0;s<i;s++){var o=n?n[s]:s;a[s]=e(t[o],o,t)}return a}function el(t){var e=function(e,r,n,i){var a=!t0(e)&&tt(e),s=(a||e).length,o=t>0?0:s-1;for(i||(n=e[a?a[o]:o],o+=t);o>=0&&o<s;o+=t){var u=a?a[o]:o;n=r(n,e[u],u,e)}return n};return function(t,r,n,i){var a=arguments.length>=3;return e(t,tP(r,i,4),n,a)}}var ec=el(1),ef=el(-1);function ep(t,e,r){var n=[];return e=tC(e,r),eo(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function ed(t,e,r){e=tC(e,r);for(var n=!t0(t)&&tt(t),i=(n||t).length,a=0;a<i;a++){var s=n?n[a]:a;if(!e(t[s],s,t))return!1}return!0}function eh(t,e,r){e=tC(e,r);for(var n=!t0(t)&&tt(t),i=(n||t).length,a=0;a<i;a++){var s=n?n[a]:a;if(e(t[s],s,t))return!0}return!1}function eg(t,e,r,n){return t0(t)||(t=ty(t)),("number"!=typeof r||n)&&(r=0),ei(t,e,r)>=0}var em=T(function(t,e,r){var n,i;return L(e)?i=e:(n=(e=tO(e)).slice(0,-1),e=e[e.length-1]),eu(t,function(t){var a=i;if(!a){if(n&&n.length&&(t=t_(t,n)),null==t)return;a=t[e]}return null==a?a:a.apply(t,r)})});function ey(t,e){return eu(t,tM(e))}function eb(t,e,r){var n,i,a=-1/0,s=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var o=0,u=(t=t0(t)?t:ty(t)).length;o<u;o++)null!=(n=t[o])&&n>a&&(a=n);else e=tC(e,r),eo(t,function(t,r,n){((i=e(t,r,n))>s||i===-1/0&&a===-1/0)&&(a=t,s=i)});return a}function ev(t,e,r){if(null==e||r)return t0(t)||(t=ty(t)),t[tF(t.length-1)];var n=t0(t)?tR(t):ty(t),i=J(n);e=Math.max(Math.min(e,i),0);for(var a=i-1,s=0;s<e;s++){var o=tF(s,a),u=n[s];n[s]=n[o],n[o]=u}return n.slice(0,e)}function eT(t,e){return function(r,n,i){var a=e?[[],[]]:{};return n=tC(n,i),eo(r,function(e,i){var s=n(e,i,r);t(a,e,s)}),a}}var eE=eT(function(t,e,r){j(t,r)?t[r].push(e):t[r]=[e]}),eS=eT(function(t,e,r){t[r]=e}),eA=eT(function(t,e,r){j(t,r)?t[r]++:t[r]=1}),eI=eT(function(t,e,r){t[+!r].push(e)},!0),eR=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function eD(t,e,r){return e in r}var eO=T(function(t,e){var r={},n=e[0];if(null==t)return r;L(n)?(e.length>1&&(n=tP(n,e[1])),e=ta(t)):(n=eD,e=t1(e,!1,!1),t=Object(t));for(var i=0,a=e.length;i<a;i++){var s=e[i],o=t[s];n(o,s,t)&&(r[s]=o)}return r}),e_=T(function(t,e){var r,n=e[0];return L(n)?(n=t6(n),e.length>1&&(r=e[1])):(e=eu(t1(e,!1,!1),String),n=function(t,r){return!eg(e,r)}),eO(t,n,r)});function ew(t,e,r){return o.call(t,0,Math.max(0,t.length-(null==e||r?1:e)))}function eN(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[0]:ew(t,t.length-e)}function ex(t,e,r){return o.call(t,null==e||r?1:e)}var eM=T(function(t,e){return e=t1(e,!0,!0),ep(t,function(t){return!eg(e,t)})}),eP=T(function(t,e){return eM(t,e)});function eL(t,e,r,n){A(e)||(n=r,r=e,e=!1),null!=r&&(r=tC(r,n));for(var i=[],a=[],s=0,o=J(t);s<o;s++){var u=t[s],l=r?r(u,s,t):u;e&&!r?(s&&a===l||i.push(u),a=l):r?eg(a,l)||(a.push(l),i.push(u)):eg(i,u)||i.push(u)}return i}var eU=T(function(t){return eL(t1(t,!0,!0))});function eC(t){for(var e=t&&eb(t,J).length||0,r=Array(e),n=0;n<e;n++)r[n]=ey(t,n);return r}var eX=T(eC);function eF(t,e){return t._chain?tr(e).chain():e}function ek(t){return eo(tv(t),function(e){var r=tr[e]=t[e];tr.prototype[e]=function(){var t=[this._wrapped];return s.apply(t,arguments),eF(this,r.apply(tr,t))}}),tr}eo(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=n[t];tr.prototype[t]=function(){var r=this._wrapped;return null!=r&&(e.apply(r,arguments),"shift"!==t&&"splice"!==t||0!==r.length||delete r[0]),eF(this,r)}}),eo(["concat","join","slice"],function(t){var e=n[t];tr.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),eF(this,t)}});var eB=ek({__proto__:null,VERSION:t,restArguments:T,isObject:E,isNull:function(t){return null===t},isUndefined:S,isBoolean:A,isElement:function(t){return!(!t||1!==t.nodeType)},isString:R,isNumber:D,isDate:O,isRegExp:_,isError:w,isSymbol:N,isArrayBuffer:x,isDataView:k,isArray:B,isFunction:L,isArguments:W,isFinite:function(t){return!N(t)&&y(t)&&!isNaN(parseFloat(t))},isNaN:G,isTypedArray:Q,isEmpty:function(t){if(null==t)return!0;var e=J(t);return"number"==typeof e&&(B(t)||R(t)||W(t))?0===e:0===J(tt(t))},isMatch:te,isEqual:function(t,e){return function t(e,r,n,i){if(e===r)return 0!==e||1/e==1/r;if(null==e||null==r)return!1;if(e!=e)return r!=r;var s=typeof e;return("function"===s||"object"===s||"object"==typeof r)&&function e(r,n,i,s){r instanceof tr&&(r=r._wrapped),n instanceof tr&&(n=n._wrapped);var o=u.call(r);if(o!==u.call(n))return!1;if(C&&"[object Object]"==o&&k(r)){if(!k(n))return!1;o=ti}switch(o){case"[object RegExp]":case"[object String]":return""+r==""+n;case"[object Number]":return+r!=+r?+n!=+n:0==+r?1/r==1/n:+r==+n;case"[object Date]":case"[object Boolean]":return+r==+n;case"[object Symbol]":return a.valueOf.call(r)===a.valueOf.call(n);case"[object ArrayBuffer]":case ti:return e(tn(r),tn(n),i,s)}var l="[object Array]"===o;if(!l&&Q(r)){if(V(r)!==V(n))return!1;if(r.buffer===n.buffer&&r.byteOffset===n.byteOffset)return!0;l=!0}if(!l){if("object"!=typeof r||"object"!=typeof n)return!1;var c=r.constructor,f=n.constructor;if(c!==f&&!(L(c)&&c instanceof c&&L(f)&&f instanceof f)&&"constructor"in r&&"constructor"in n)return!1}s=s||[];for(var p=(i=i||[]).length;p--;)if(i[p]===r)return s[p]===n;if(i.push(r),s.push(n),l){if((p=r.length)!==n.length)return!1;for(;p--;
1)if(!t(r[p],n[p],i,s))return!1}else{var d,h=tt(r);if(p=h.length,tt(n).length!==p)return!1;for(;p--;)if(!j(n,d=h[p])||!t(r[d],n[d],i,s))return!1}return i.pop(),s.pop(),!0}(e,r,n,i)}(t,e)},isMap:td,isWeakMap:th,isSet:tg,isWeakSet:tm,keys:tt,allKeys:ta,values:ty,pairs:function(t){for(var e=tt(t),r=e.length,n=Array(r),i=0;i<r;i++)n[i]=[e[i],t[e[i]]];return n},invert:tb,functions:tv,methods:tv,extend:tE,extendOwn:tS,assign:tS,defaults:tA,create:function(t,e){var r=tI(t);return e&&tS(r,e),r},clone:tR,tap:function(t,e){return e(t),t},get:tw,has:function(t,e){for(var r=(e=tO(e)).length,n=0;n<r;n++){var i=e[n];if(!j(t,i))return!1;t=t[i]}return!!r},mapObject:function(t,e,r){e=tC(e,r);for(var n=tt(t),i=n.length,a={},s=0;s<i;s++){var o=n[s];a[o]=e(t[o],o,t)}return a},identity:tN,constant:$,noop:tX,toPath:tD,property:tM,propertyOf:function(t){return null==t?tX:function(e){return tw(t,e)}},matcher:tx,matches:tx,times:function(t,e,r){var n=Array(Math.max(0,t));e=tP(e,r,1);for(var i=0;i<t;i++)n[i]=e(i);return n},random:tF,now:tk,escape:tq,unescape:tW,templateSettings:tG,template:function(t,e,r){!e&&r&&(e=r);var n=RegExp([((e=tA({},e,tr.templateSettings)).escape||t$).source,(e.interpolate||t$).source,(e.evaluate||t$).source].join("|")+"|$","g"),i=0,a="__p+='";t.replace(n,function(e,r,n,s,o){return a+=t.slice(i,o).replace(tH,tV),i=o+e.length,r?a+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":n?a+="'+\n((__t=("+n+"))==null?'':__t)+\n'":s&&(a+="';\n"+s+"\n__p+='"),e}),a+="';\n";var s,o=e.variable;if(o){if(!tY.test(o))throw Error("variable is not a bare identifier: "+o)}else a="with(obj||{}){\n"+a+"}\n",o="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{s=Function(o,"_",a)}catch(t){throw t.source=a,t}var u=function(t){return s.call(this,t,tr)};return u.source="function("+o+"){\n"+a+"}",u},result:function(t,e,r){var n=(e=tO(e)).length;if(!n)return L(r)?r.call(t):r;for(var i=0;i<n;i++){var a=null==t?void 0:t[e[i]];void 0===a&&(a=r,i=n),t=L(a)?a.call(t):a}return t},uniqueId:function(t){var e=++tK+"";return t?t+e:e},chain:function(t){var e=tr(t);return e._chain=!0,e},iteratee:tU,partial:tJ,bind:tZ,bindAll:t2,memoize:function(t,e){var r=function(n){var i=r.cache,a=""+(e?e.apply(this,arguments):n);return j(i,a)||(i[a]=t.apply(this,arguments)),i[a]};return r.cache={},r},delay:t3,defer:t4,throttle:function(t,e,r){var n,i,a,s,o=0;r||(r={});var u=function(){o=!1===r.leading?0:tk(),n=null,s=t.apply(i,a),n||(i=a=null)},l=function(){var l=tk();o||!1!==r.leading||(o=l);var c=e-(l-o);return i=this,a=arguments,c<=0||c>e?(n&&(clearTimeout(n),n=null),o=l,s=t.apply(i,a),n||(i=a=null)):n||!1===r.trailing||(n=setTimeout(u,c)),s};return l.cancel=function(){clearTimeout(n),o=0,n=i=a=null},l},debounce:function(t,e,r){var n,i,a,s,o,u=function(){var l=tk()-i;e>l?n=setTimeout(u,e-l):(n=null,r||(s=t.apply(o,a)),n||(a=o=null))},l=T(function(l){return o=this,a=l,i=tk(),n||(n=setTimeout(u,e),r&&(s=t.apply(o,a))),s});return l.cancel=function(){clearTimeout(n),n=a=o=null},l},wrap:function(t,e){return tJ(e,t)},negate:t6,compose:function(){var t=arguments,e=t.length-1;return function(){for(var r=e,n=t[e].apply(this,arguments);r--;)n=t[r].call(this,n);return n}},after:function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},before:t8,once:t7,findKey:t9,findIndex:et,findLastIndex:ee,sortedIndex:er,indexOf:ei,lastIndexOf:ea,find:es,detect:es,findWhere:function(t,e){return es(t,tx(e))},each:eo,forEach:eo,map:eu,collect:eu,reduce:ec,foldl:ec,inject:ec,reduceRight:ef,foldr:ef,filter:ep,select:ep,reject:function(t,e,r){return ep(t,t6(tC(e)),r)},every:ed,all:ed,some:eh,any:eh,contains:eg,includes:eg,include:eg,invoke:em,pluck:ey,where:function(t,e){return ep(t,tx(e))},max:eb,min:function(t,e,r){var n,i,a=1/0,s=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var o=0,u=(t=t0(t)?t:ty(t)).length;o<u;o++)null!=(n=t[o])&&n<a&&(a=n);else e=tC(e,r),eo(t,function(t,r,n){((i=e(t,r,n))<s||i===1/0&&a===1/0)&&(a=t,s=i)});return a},shuffle:function(t){return ev(t,1/0)},sample:ev,sortBy:function(t,e,r){var n=0;return e=tC(e,r),ey(eu(t,function(t,r,i){return{value:t,index:n++,criteria:e(t,r,i)}}).sort(function(t,e){var r=t.criteria,n=e.criteria;if(r!==n){if(r>n||void 0===r)return 1;if(r<n||void 0===n)return -1}return t.index-e.index}),"value")}
1,groupBy:eE,indexBy:eS,countBy:eA,partition:eI,toArray:function(t){return t?B(t)?o.call(t):R(t)?t.match(eR):t0(t)?eu(t,tN):ty(t):[]},size:function(t){return null==t?0:t0(t)?t.length:tt(t).length},pick:eO,omit:e_,first:eN,head:eN,take:eN,initial:ew,last:function(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[t.length-1]:ex(t,Math.max(0,t.length-e))},rest:ex,tail:ex,drop:ex,compact:function(t){return ep(t,Boolean)},flatten:function(t,e){return t1(t,e,!1)},without:eP,uniq:eL,unique:eL,union:eU,intersection:function(t){for(var e=[],r=arguments.length,n=0,i=J(t);n<i;n++){var a,s=t[n];if(!eg(e,s)){for(a=1;a<r&&eg(arguments[a],s);a++);a===r&&e.push(s)}}return e},difference:eM,unzip:eC,transpose:eC,zip:eX,object:function(t,e){for(var r={},n=0,i=J(t);n<i;n++)e?r[t[n]]=e[n]:r[t[n][0]]=t[n][1];return r},range:function(t,e,r){null==e&&(e=t||0,t=0),r||(r=e<t?-1:1);for(var n=Math.max(Math.ceil((e-t)/r),0),i=Array(n),a=0;a<n;a++,t+=r)i[a]=t;return i},chunk:function(t,e){if(null==e||e<1)return[];for(var r=[],n=0,i=t.length;n<i;)r.push(o.call(t,n,n+=e));return r},mixin:ek,default:tr});return eB._=eB,eB}()},86264:t=>{class e{constructor(t,e){this._player=t,this._seekToTime=e,this._hasFinished=!1,this._keepThisInstanceWhenPlayerSourcesChange=!1,this._seekWhenSafe()}_seekWhenSafe(){3>this._player.readyState()?(this._seekFn=this._seek.bind(this),this._player.one("canplay",this._seekFn)):this._seek()}onPlayerSourcesChange(){this._keepThisInstanceWhenPlayerSourcesChange?this._keepThisInstanceWhenPlayerSourcesChange=!1:this.cancel()}onQualitySelectionChange(){this.hasFinished()||(this._keepThisInstanceWhenPlayerSourcesChange=!0)}_seek(){this._player.currentTime(this._seekToTime),this._keepThisInstanceWhenPlayerSourcesChange=!1,this._hasFinished=!0}hasFinished(){return this._hasFinished}cancel(){this._player.off("canplay",this._seekFn),this._keepThisInstanceWhenPlayerSourcesChange=!1,this._hasFinished=!0}}t.exports=e},88984:(t,e,r)=>{var n=r(86090),i=r(73761),a=r(33783),s=r(43959),o=r(86264);t.exports=function(t){a(t=t||window.videojs),s(t),t.hook("setup",function(t){t.on(i.QUALITY_REQUESTED,function(e,r){var i=t.currentSources(),a=t.currentTime(),s=t.playbackRate(),u=t.paused();n.each(i,function(t){t.selected=!1}),n.findWhere(i,{src:r.src}).selected=!0,t._qualitySelectorSafeSeek&&t._qualitySelectorSafeSeek.onQualitySelectionChange(),t.src(i),t.ready(function(){(!t._qualitySelectorSafeSeek||t._qualitySelectorSafeSeek.hasFinished())&&(t._qualitySelectorSafeSeek=new o(t,a),t.playbackRate(s)),u||t.play()})})})},t.exports.EVENTS=i},95559:(t,e,r)=>{"use strict";r.d(e,{Af:()=>h,Ar:()=>d,Bu:()=>g,L7:()=>m,Sk:()=>f,WG:()=>p,W_:()=>u,hc:()=>o});var n,i,a=r(91741),s=r.n(a),o=function(t){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer},u=function(t){return t instanceof Uint8Array?t:(Array.isArray(t)||o(t)||t instanceof ArrayBuffer||(t="number"!=typeof t||"number"==typeof t&&t!=t?0:[t]),new Uint8Array(t&&t.buffer||t,t&&t.byteOffset||0,t&&t.byteLength||0))},l=s().BigInt||Number,c=[l("0x1"),l("0x100"),l("0x10000"),l("0x1000000"),l("0x100000000"),l("0x10000000000"),l("0x1000000000000"),l("0x100000000000000"),l("0x10000000000000000")];255===(i=new Uint8Array((n=new Uint16Array([65484])).buffer,n.byteOffset,n.byteLength))[0]||i[0];var f=function(t,e){var r=void 0===e?{}:e,n=r.signed,i=r.le,a=void 0!==i&&i;t=u(t);var s=a?"reduce":"reduceRight",o=(t[s]?t[s]:Array.prototype[s]).call(t,function(e,r,n){var i=a?n:Math.abs(n+1-t.length);return e+l(r)*c[i]},l(0));if(void 0!==n&&n){var f=c[t.length]/l(2)-l(1);(o=l(o))>f&&(o-=f,o-=f,o-=l(2))}return Number(o)},p=function(t,e){var r=(void 0===e?{}:e).le,n=void 0!==r&&r;("bigint"!=typeof t&&"number"!=typeof t||"number"==typeof t&&t!=t)&&(t=0);for(var i=Math.ceil((t=l(t)).toString(2).length/8),a=new Uint8Array(new ArrayBuffer(i)),s=0;s<i;s++){var o=n?s:Math.abs(s+1-a.length);a[o]=Number(t/c[s]&l(255)),t<0&&(a[o]=Math.abs(~a[o]),a[o]-=0===s?1:2)}return a},d=function(t){if(!t)return"";t=Array.prototype.slice.call(t);var e=String.fromCharCode.apply(null,u(t));try{return decodeURIComponent(escape(e))}catch(t){}return e},h=function(t,e){if("string"!=typeof t&&t&&"function"==typeof t.toString&&(t=t.toString()),"string"!=typeof t)return new Uint8Array;e||(t=unescape(encodeURIComponent(t)));
1for(var r=new Uint8Array(t.length),n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r},g=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if((e=e.filter(function(t){return t&&(t.byteLength||t.length)&&"string"!=typeof t})).length<=1)return u(e[0]);var n=new Uint8Array(e.reduce(function(t,e,r){return t+(e.byteLength||e.length)},0)),i=0;return e.forEach(function(t){t=u(t),n.set(t,i),i+=t.byteLength}),n},m=function(t,e,r){var n=void 0===r?{}:r,i=n.offset,a=void 0===i?0:i,s=n.mask,o=void 0===s?[]:s;t=u(t);var l=(e=u(e)).every?e.every:Array.prototype.every;return e.length&&t.length-a>=e.length&&l.call(e,function(e,r){return e===(o[r]?o[r]&t[a+r]:t[a+r])})}},98300:(t,e,r)=>{"use strict";var n=r(30700),i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function a(t){var e=0,r=0,n=0;return t<=0?"00:00:00":t<60?"00:00:"+(e=(e=t)<10?"0"+e:e):t<3600?"00:"+(r=(r=parseInt(""+t/60))<10?"0"+r:r)+":"+(e=(e=t%60)<10?"0"+e:e):(n=(n=parseInt(""+t/3600))<10?"0"+n:n,n+":"+(r=(r=parseInt(""+t%3600/60))<10?"0"+r:r)+":"+(e=(e=parseInt(""+t%3600%60%60))<10?"0"+e:e))}function s(t){console.warn("[videojs-thumbnail-sprite] "+t)}function o(t,e,r){var i,a=n.A.dom,s=-1,o=-1,u=-1,l=e.progressControl;if(null!==l.seekBar){var c=l.seekBar;if(null!==c.mouseTimeDisplay){var f=c.mouseTimeDisplay;if(null!==f.timeTooltip){var p,d=f.timeTooltip,h=f.el(),g=d.el();if(s=parseFloat(h.style.left),isNaN(s=t.duration()*(s/c.currentWidth())))s=0;else for(var m=0;m<r.length;m++){var y=r[m];if(s<y.start+y.duration){o=m;break}}u=-1!==o?(s-r[o].start)/r[o].interval:s,i=-1!==o?r[o]:r[0];var b=a.createEl("img",{src:i.url}),v=b.naturalWidth,T=b.naturalHeight,E=v/i.width,S=-(Math.floor(u/E)*i.height),A=-(Math.floor(u%E)*i.width),I=a.getBoundingClientRect(e.el()).top,R=a.getBoundingClientRect(e.el()).top,D=-i.height-Math.max(0,R-I);Object.keys(p={width:i.width+"px",height:i.height+"px","background-image":"url("+i.url+")","background-repeat":"no-repeat","background-position":A+"px "+S+"px","background-size":v+"px "+T+"px;",top:D+"px",color:"#ffffff","text-shadow":"1px 1px #000000",border:"1px 1px #000000",margin:"0 1px"}).map(function(t){var e=p[t];""!==e?g.style.setProperty(t,e):g.style.removeProperty(t)})}}}}var u=function(t){function e(){this.constructor=r}function r(e,r){var n=t.call(this,e)||this;return n.options=void 0!==r?r:{sprites:[]},n.player.ready(function(){!function(t,e){if(void 0!==e.sprites){var r=e.sprites;if(void 0!==t.controlBar){var n=t.controlBar;if(void 0!==n.progressControl){var i=n.progressControl;r.sort(function(t,e){return t.start<e.start?-1:+(t.start!==e.start)}),function(t){for(var e=0;e<t.length-1;e++){var r=t[e].start,n=r+t[e].duration,i=t[e+1].start,o=i+t[e+1].duration;if(i<n){var u=Math.max(n,o);s("Provided thumbnail sprites have overlapping sections among them: ["+a(r)+" ~ "+a(u)+"] Preview images may not match the corresponding point of time correctly.")}}}(r),function(t){for(var e=0;e<t.length;e++){var r=t[e],n=r.start,i=r.duration,o=r.interval,u=r.width,l=r.height;r.url,n<0&&s("`start` should be zero or positive value: ["+a(n)+" ~ "+a(n+i-1)+"] Preview images may not show as expected"),(void 0===u||void 0===l)&&s("`width` and `height` should be provided: ["+a(n)+" ~ "+a(n+i-1)+"] Preview images may not show as expected"),i%o!=0&&s("`duration` should be multiple of `interval` so that it can fully cover entire duration: ["+a(n)+" ~ "+a(n+i-1)+"] Preview images may not show as expected")}}(r),i.on("mousemove",function(){return o(t,n,r)}),i.on("touchmove",function(){return o(t,n,r)}),t.addClass("vjs-sprite-thumbnails")}}}}(n.player,n.options)}),n}return i(r,t),r.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e),r}(n.A.getPlugin("plugin"));n.A.registerPlugin("thumbnailSprite",u),u||(u={})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.