import{cV as useTheme,d as defineComponent,r as ref,aH as h,cF as NScrollbar$1,c4 as commonjsGlobal,c5 as getDefaultExportFromCjs,bC as toRefs,e as reactive,n as onMounted,f as createVNode,k as createTextVNode,c as useUserStore,E as nextTick,bB as toRef,y as watch,v as NModal,F as Fragment}from"./index-1f06293b.js";import{N as NSlider}from"./Slider-aaae637d.js";import{T as TheEmpty}from"./index-fda8277d.js";const scrollbarProps=Object.assign(Object.assign({},useTheme.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),Scrollbar=defineComponent({name:"Scrollbar",props:scrollbarProps,setup(){const r=ref(null);return Object.assign(Object.assign({},{scrollTo:(...e)=>{var n;(n=r.value)===null||n===void 0||n.scrollTo(e[0],e[1])},scrollBy:(...e)=>{var n;(n=r.value)===null||n===void 0||n.scrollBy(e[0],e[1])}}),{scrollbarInstRef:r})},render(){return h(NScrollbar$1,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),NScrollbar=Scrollbar;var tcplayer_v4_8_0_min={exports:{}};(function(module,exports){(function(r,t){module.exports=t()})(commonjsGlobal,function(){function unwrapExports(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function createCommonjsModule(r,t){return t={exports:{}},r(t,t.exports),t.exports}function each(r,t){keys(r).forEach(function(e){return t(r[e],e)})}function reduce(r,t){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return keys(r).reduce(function(n,s){return t(n,r[s],s)},e)}function assign(r){for(var t=arguments.length,e=Array(t>1?t-1:0),n=1;n0&&arguments[0]!==void 0?arguments[0]:"div",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=arguments[3],s=document_1.createElement(r);return Object.getOwnPropertyNames(t).forEach(function(a){var l=t[a];a.indexOf("aria-")!==-1||a==="role"||a==="type"?(log$2.warn(tsml(_templateObject,a,l)),s.setAttribute(a,l)):a==="textContent"?textContent(s,l):s[a]=l}),Object.getOwnPropertyNames(e).forEach(function(a){s.setAttribute(a,e[a])}),n&&appendContent(s,n),s}function textContent(r,t){return typeof r.textContent>"u"?r.innerText=t:r.textContent=t,r}function prependTo(r,t){t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r)}function hasClass(r,t){return throwIfWhitespace(t),r.classList?r.classList.contains(t):classRegExp(t).test(r.className)}function addClass(r,t){return r.classList?r.classList.add(t):hasClass(r,t)||(r.className=(r.className+" "+t).trim()),r}function removeClass(r,t){return r.classList?r.classList.remove(t):(throwIfWhitespace(t),r.className=r.className.split(/\s+/).filter(function(e){return e!==t}).join(" ")),r}function toggleClass(r,t,e){var n=hasClass(r,t);if(typeof e=="function"&&(e=e(r,t)),typeof e!="boolean"&&(e=!n),e!==n)return e?addClass(r,t):removeClass(r,t),r}function setAttributes(r,t){Object.getOwnPropertyNames(t).forEach(function(e){var n=t[e];n==null||n===!1?r.removeAttribute(e):r.setAttribute(e,n===!0?"":n)})}function getAttributes(r){var t={};if(r&&r.attributes&&r.attributes.length>0)for(var e=r.attributes,n=e.length-1;n>=0;n--){var s=e[n].name,a=e[n].value;typeof r[s]!="boolean"&&",autoplay,controls,playsinline,loop,muted,default,defaultMuted,".indexOf(","+s+",")===-1||(a=a!==null),t[s]=a}return t}function getAttribute(r,t){return r.getAttribute(t)}function setAttribute(r,t,e){r.setAttribute(t,e)}function removeAttribute(r,t){r.removeAttribute(t)}function blockTextSelection(){document_1.body.focus(),document_1.onselectstart=function(){return!1}}function unblockTextSelection(){document_1.onselectstart=function(){return!0}}function getBoundingClientRect(r){if(r&&r.getBoundingClientRect&&r.parentNode){var t=r.getBoundingClientRect(),e={};return["bottom","height","left","right","top","width"].forEach(function(n){t[n]!==void 0&&(e[n]=t[n])}),e.height||(e.height=parseFloat(computedStyle(r,"height"))),e.width||(e.width=parseFloat(computedStyle(r,"width"))),e}}function findPosition(r){var t=void 0;if(r.getBoundingClientRect&&r.parentNode&&(t=r.getBoundingClientRect()),!t)return{left:0,top:0};var e=document_1.documentElement,n=document_1.body,s=e.clientLeft||n.clientLeft||0,a=window_1.pageXOffset||n.scrollLeft,l=t.left+a-s,u=e.clientTop||n.clientTop||0,c=window_1.pageYOffset||n.scrollTop,p=t.top+c-u;return{left:Math.round(l),top:Math.round(p)}}function getPointerPosition(r,t){var e={},n=findPosition(r),s=r.offsetWidth,a=r.offsetHeight,l=n.top,u=n.left,c=t.pageY,p=t.pageX;return t.changedTouches&&(p=t.changedTouches[0].pageX,c=t.changedTouches[0].pageY),e.y=Math.max(0,Math.min(1,(l-c+a)/a)),e.x=Math.max(0,Math.min(1,(p-u)/s)),e}function isTextNode(r){return isObject$1(r)&&r.nodeType===3}function emptyEl(r){for(;r.firstChild;)r.removeChild(r.firstChild);return r}function normalizeContent(r){return typeof r=="function"&&(r=r()),(Array.isArray(r)?r:[r]).map(function(t){return typeof t=="function"&&(t=t()),isEl(t)||isTextNode(t)?t:typeof t=="string"&&/\S/.test(t)?document_1.createTextNode(t):void 0}).filter(function(t){return t})}function appendContent(r,t){return normalizeContent(t).forEach(function(e){return r.appendChild(e)}),r}function insertContent(r,t){return appendContent(emptyEl(r),t)}function isSingleLeftClick(r){return r.button===void 0&&r.buttons===void 0||r.button===0&&r.buttons===void 0||IE_VERSION===9||r.button===0&&r.buttons===1}function newGUID(){return _guid++}function getData(r){var t=r[elIdAttr];return t||(t=r[elIdAttr]=newGUID()),elData[t]||(elData[t]={}),elData[t]}function hasData(r){var t=r[elIdAttr];return!!t&&!!Object.getOwnPropertyNames(elData[t]).length}function removeData(r){var t=r[elIdAttr];if(t){delete elData[t];try{delete r[elIdAttr]}catch(e){r.removeAttribute?r.removeAttribute(elIdAttr):r[elIdAttr]=null}}}function _cleanUpEvents(r,t){var e=getData(r);e.handlers[t].length===0&&(delete e.handlers[t],r.removeEventListener?r.removeEventListener(t,e.dispatcher,!1):r.detachEvent&&r.detachEvent("on"+t,e.dispatcher)),Object.getOwnPropertyNames(e.handlers).length<=0&&(delete e.handlers,delete e.dispatcher,delete e.disabled),Object.getOwnPropertyNames(e).length===0&&removeData(r)}function _handleMultipleEvents(r,t,e,n){e.forEach(function(s){r(t,s,n)})}function fixEvent(r){function t(){return!0}function e(){return!1}if(!r||!r.isPropagationStopped){var n=r||window_1.event;r={};for(var s in n)s!=="layerX"&&s!=="layerY"&&s!=="keyLocation"&&s!=="webkitMovementX"&&s!=="webkitMovementY"&&(s==="returnValue"&&n.preventDefault||(r[s]=n[s]));if(r.target||(r.target=r.srcElement||document_1),r.relatedTarget||(r.relatedTarget=r.fromElement===r.target?r.toElement:r.fromElement),r.preventDefault=function(){n.preventDefault&&n.preventDefault(),r.returnValue=!1,n.returnValue=!1,r.defaultPrevented=!0},r.defaultPrevented=!1,r.stopPropagation=function(){n.stopPropagation&&n.stopPropagation(),r.cancelBubble=!0,n.cancelBubble=!0,r.isPropagationStopped=t},r.isPropagationStopped=e,r.stopImmediatePropagation=function(){n.stopImmediatePropagation&&n.stopImmediatePropagation(),r.isImmediatePropagationStopped=t,r.stopPropagation()},r.isImmediatePropagationStopped=e,r.clientX!==null&&r.clientX!==void 0){var a=document_1.documentElement,l=document_1.body;r.pageX=r.clientX+(a&&a.scrollLeft||l&&l.scrollLeft||0)-(a&&a.clientLeft||l&&l.clientLeft||0),r.pageY=r.clientY+(a&&a.scrollTop||l&&l.scrollTop||0)-(a&&a.clientTop||l&&l.clientTop||0)}r.which=r.charCode||r.keyCode,r.button!==null&&r.button!==void 0&&(r.button=1&r.button?0:4&r.button?1:2&r.button?2:0)}return r}function on(r,t,e){if(Array.isArray(t))return _handleMultipleEvents(on,r,t,e);var n=getData(r);if(n.handlers||(n.handlers={}),n.handlers[t]||(n.handlers[t]=[]),e.guid||(e.guid=newGUID()),n.handlers[t].push(e),n.dispatcher||(n.disabled=!1,n.dispatcher=function(a,l){if(!n.disabled){a=fixEvent(a);var u=n.handlers[a.type];if(u)for(var c=u.slice(0),p=0,d=c.length;p-1&&(s={passive:!0}),r.addEventListener(t,n.dispatcher,s)}else r.attachEvent&&r.attachEvent("on"+t,n.dispatcher)}function off(r,t,e){if(hasData(r)){var n=getData(r);if(n.handlers){if(Array.isArray(t))return _handleMultipleEvents(off,r,t,e);var s=function(c,p){n.handlers[p]=[],_cleanUpEvents(c,p)};if(t!==void 0){var a=n.handlers[t];if(a){if(!e)return void s(r,t);if(e.guid)for(var l=0;l1&&arguments[1]!==void 0?arguments[1]:{},e=t.eventBusKey;if(e){if(!r[e].nodeName)throw new Error('The eventBusKey "'+e+'" does not refer to an element.');r.eventBusEl_=r[e]}else r.eventBusEl_=createEl("span",{className:"vjs-event-bus"});return assign(r,EventedMixin),r.on("dispose",function(){r.off(),window_1.setTimeout(function(){r.eventBusEl_=null},0)}),r}function stateful(r,t){return assign(r,StatefulMixin),r.state=assign({},r.state,t),typeof r.handleStateChanged=="function"&&isEvented(r)&&r.on("statechanged",r.handleStateChanged),r}function toTitleCase(r){return typeof r!="string"?r:r.charAt(0).toUpperCase()+r.slice(1)}function titleCaseEquals(r,t){return toTitleCase(r)===toTitleCase(t)}function mergeOptions(){for(var r={},t=arguments.length,e=Array(t),n=0;n3&&arguments[3]!==void 0&&arguments[3],s=document.createElement("script");if(s.onload=s.onreadystatechange=function(){this.readyState&&this.readyState!=="loaded"&&this.readyState!=="complete"||(typeof t=="function"&&t(),s.onload=s.onreadystatechange=null,s.parentNode&&!n&&s.parentNode.removeChild(s))},e){for(var a in e)if(e.hasOwnProperty(a)){var l=e[a];l===null?s.removeAttribute(l):s.setAttribute(a,l)}}s.src=r,document.getElementsByTagName("head")[0].appendChild(s)}function serializeParams(r){var t=[],e=function(n,s){s=typeof s=="function"?s():s,s=s===null||s===void 0?"":s,t[t.length]=encodeURIComponent(n)+"="+encodeURIComponent(s)};return function n(s,a){var l=void 0,u=void 0,c=void 0;if(s)if(Array.isArray(a))for(l=0,u=a.length;l/g,">").replace(/\"/g,""").replace(/\'/g,"'").replace(/\//g,"/"):""}function isWebrtcUrl(r){return/webrtc:\/\//.test(r)||/\.sdp/.test(r)}function getperformance(){return window.performance||window.msPerformance||window.webkitPerformance||{}}function rangeCheck(r,t,e){if(typeof t!="number"||t<0||t>e)throw new Error("Failed to execute '"+r+"' on 'TimeRanges': The index provided ("+t+") is non-numeric or out of bounds (0-"+e+").")}function getRange(r,t,e,n){return rangeCheck(r,n,e.length-1),e[n][t]}function createTimeRangesObj(r){return r===void 0||r.length===0?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:r.length,start:getRange.bind(null,"start",0,r),end:getRange.bind(null,"end",1,r)}}function createTimeRanges(r,t){return Array.isArray(r)?createTimeRangesObj(r):r===void 0||t===void 0?createTimeRangesObj():createTimeRangesObj([[r,t]])}function bufferedPercent(r,t){var e=0,n=void 0,s=void 0;if(!t)return 0;r&&r.length||(r=createTimeRanges(0,0));for(var a=0;at&&(s=t),e+=s-n;return e/t}function MediaError(r){if(r instanceof MediaError)return r;typeof r=="number"?this.code=r:typeof r=="string"?this.message=r:isObject$1(r)&&(typeof r.code=="number"&&(this.code=r.code),assign(this,r)),this.message||(this.message=MediaError.defaultMessages[this.code]||"")}function SafeParseTuple(r,t){var e,n=null;try{e=JSON.parse(r,t)}catch(s){n=s}return[n,e]}function isPromise(r){return r!==void 0&&typeof r.then=="function"}function silencePromise(r){isPromise(r)&&r.then(null,function(t){})}function isFunction$1(r){if(!r)return!1;var t=toString$1.call(r);return t==="[object Function]"||typeof r=="function"&&t!=="[object RegExp]"||typeof window<"u"&&(r===window.setTimeout||r===window.alert||r===window.confirm||r===window.prompt)}function extend$1(){for(var r={},t=0;t"u")throw new Error("callback argument missing");var a=!1,l=function(A,R,P){a||(a=!0,r.callback(A,R,P))},u=r.xhr||null;u||(u=r.cors||r.useXDR?new createXHR.XDomainRequest:new createXHR.XMLHttpRequest);var c,p,d,m=u.url=r.uri||r.url,v=u.method=r.method||"GET",g=r.body||r.data,f=u.headers=r.headers||{},_=!!r.sync,b=!1,E={body:void 0,headers:{},statusCode:0,method:v,url:m,rawRequest:u};if("json"in r&&r.json!==!1&&(b=!0,f.accept||f.Accept||(f.Accept="application/json"),v!=="GET"&&v!=="HEAD"&&(f["content-type"]||f["Content-Type"]||(f["Content-Type"]="application/json"),g=JSON.stringify(r.json===!0?g:r.json))),u.onreadystatechange=t,u.onload=s,u.onerror=n,u.onprogress=function(){},u.onabort=function(){p=!0},u.ontimeout=n,u.open(v,m,!_,r.username,r.password),_||(u.withCredentials=!!r.withCredentials),!_&&r.timeout>0&&(d=setTimeout(function(){if(!p){p=!0,u.abort("timeout");var A=new Error("XMLHttpRequest timeout");A.code="ETIMEDOUT",n(A)}},r.timeout)),u.setRequestHeader)for(c in f)f.hasOwnProperty(c)&&u.setRequestHeader(c,f[c]);else if(r.headers&&!isEmpty(r.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in r&&(u.responseType=r.responseType),"beforeSend"in r&&typeof r.beforeSend=="function"&&r.beforeSend(u),u.send(g||null),u}function getXml(r){if(r.responseType==="document")return r.responseXML;var t=r.responseXML&&r.responseXML.documentElement.nodeName==="parsererror";return r.responseType!==""||t?null:r.responseXML}function noop(){}function ParsingError(r,t){this.name="ParsingError",this.code=r.code,this.message=t||r.message}function parseTimeStamp(r){function t(n,s,a,l){return 3600*(0|n)+60*(0|s)+(0|a)+(0|l)/1e3}var e=r.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return e?e[3]?t(e[1],e[2],e[3].replace(":",""),e[4]):e[1]>59?t(e[1],e[2],0,e[4]):t(0,e[1],e[2],e[4]):null}function Settings(){this.values=_objCreate(null)}function parseOptions(r,t,e,n){var s=n?r.split(n):[r];for(var a in s)if(typeof s[a]=="string"){var l=s[a].split(e);if(l.length===2){var u=l[0],c=l[1];t(u,c)}}}function parseCue(r,t,e){function n(){var l=parseTimeStamp(r);if(l===null)throw new ParsingError(ParsingError.Errors.BadTimeStamp,"Malformed timestamp: "+a);return r=r.replace(/^[^\sa-zA-Z-]+/,""),l}function s(){r=r.replace(/^\s+/,"")}var a=r;if(s(),t.startTime=n(),s(),r.substr(0,3)!=="-->")throw new ParsingError(ParsingError.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+a);r=r.substr(3),s(),t.endTime=n(),s(),function(l,u){var c=new Settings;parseOptions(l,function(p,d){switch(p){case"region":for(var m=e.length-1;m>=0;m--)if(e[m].id===d){c.set(p,e[m].region);break}break;case"vertical":c.alt(p,d,["rl","lr"]);break;case"line":var v=d.split(","),g=v[0];c.integer(p,g),c.percent(p,g)&&c.set("snapToLines",!1),c.alt(p,g,["auto"]),v.length===2&&c.alt("lineAlign",v[1],["start","middle","end"]);break;case"position":v=d.split(","),c.percent(p,v[0]),v.length===2&&c.alt("positionAlign",v[1],["start","middle","end"]);break;case"size":c.percent(p,d);break;case"align":c.alt(p,d,["start","middle","end","left","right"])}},/:/,/\s/),u.region=c.get("region",null),u.vertical=c.get("vertical",""),u.line=c.get("line","auto"),u.lineAlign=c.get("lineAlign","start"),u.snapToLines=c.get("snapToLines",!0),u.size=c.get("size",100),u.align=c.get("align","middle"),u.position=c.get("position",{start:0,left:0,middle:50,end:100,right:100},u.align),u.positionAlign=c.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},u.align)}(r,t)}function parseContent(r,t){function e(d){return ESCAPE[d]}for(var n,s=r.document.createElement("div"),a=s,l=[];(n=function(){if(!t)return null;var d=t.match(/^([^<]*)(<[^>]+>?)?/);return function(m){return t=t.substr(m.length),m}(d[1]?d[1]:d[2])}())!==null;)if(n[0]!=="<")a.appendChild(r.document.createTextNode(function(d){for(;p=d.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)d=d.replace(p[0],e);return d}(n)));else{if(n[1]==="/"){l.length&&l[l.length-1]===n.substr(2).replace(">","")&&(l.pop(),a=a.parentNode);continue}var u,c=parseTimeStamp(n.substr(1,n.length-2));if(c){u=r.document.createProcessingInstruction("timestamp",c),a.appendChild(u);continue}var p=n.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!p||!(u=function(d,m){var v=TAG_NAME[d];if(!v)return null;var g=r.document.createElement(v);g.localName=v;var f=TAG_ANNOTATION[d];return f&&m&&(g[f]=m.trim()),g}(p[1],p[3]))||!function(d,m){return!NEEDS_PARENT[m.localName]||NEEDS_PARENT[m.localName]===d.localName}(a,u))continue;p[2]&&(u.className=p[2].substr(1).replace("."," ")),l.push(p[1]),a.appendChild(u),a=u}return s}function isStrongRTLChar(r){for(var t=0;t=e[0]&&r<=e[1])return!0}return!1}function determineBidi(r){function t(u,c){for(var p=c.childNodes.length-1;p>=0;p--)u.push(c.childNodes[p])}function e(u){if(!u||!u.length)return null;var c=u.pop(),p=c.textContent||c.innerText;if(p){var d=p.match(/^.*(\n|\r)/);return d?(u.length=0,d[0]):p}return c.tagName==="ruby"?e(u):c.childNodes?(t(u,c),e(u)):void 0}var n,s=[],a="";if(!r||!r.childNodes)return"ltr";for(t(s,r);a=e(s);)for(var l=0;l=0&&r.line<=100))return r.line;if(!r.track||!r.track.textTrackList||!r.track.textTrackList.mediaElement)return-1;for(var t=r.track,e=t.textTrackList,n=0,s=0;sm&&(d=d<0?-1:1,d*=Math.ceil(m/p)*p),l<0&&(d+=a.vertical===""?e.height:e.width,u=u.reverse()),s.move(v,d)}else{var g=s.lineHeight/e.height*100;switch(a.lineAlign){case"middle":l-=g/2;break;case"end":l-=g}switch(a.vertical){case"":t.applyStyles({top:t.formatStyle(l,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(l,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(l,"%")})}u=["+y","-x","+x","-y"],s=new BoxPosition(t)}var f=function(_,b){for(var E,A=new BoxPosition(_),R=1,P=0;Pk&&(E=new BoxPosition(_),R=k),_=new BoxPosition(A)}return E||A}(s,u);t.move(f.toCSSCompatValues(e))}function WebVTT$1(){}function findDirectionSetting(r){return typeof r=="string"&&!!directionSetting[r.toLowerCase()]&&r.toLowerCase()}function findAlignSetting(r){return typeof r=="string"&&!!alignSetting[r.toLowerCase()]&&r.toLowerCase()}function extend$2(r){for(var t=1;t100)throw new Error("Position must be between 0 and 100.");b=P,this.hasBeenReset=!0}})),Object.defineProperty(n,"positionAlign",extend$2({},a,{get:function(){return E},set:function(P){var k=findAlignSetting(P);if(!k)throw new SyntaxError("An invalid or illegal string was specified.");E=k,this.hasBeenReset=!0}})),Object.defineProperty(n,"size",extend$2({},a,{get:function(){return A},set:function(P){if(P<0||P>100)throw new Error("Size must be between 0 and 100.");A=P,this.hasBeenReset=!0}})),Object.defineProperty(n,"align",extend$2({},a,{get:function(){return R},set:function(P){var k=findAlignSetting(P);if(!k)throw new SyntaxError("An invalid or illegal string was specified.");R=k,this.hasBeenReset=!0}})),n.displayState=void 0,s)return n}function findScrollSetting(r){return typeof r=="string"&&!!scrollSetting[r.toLowerCase()]&&r.toLowerCase()}function isValidPercentValue(r){return typeof r=="number"&&r>=0&&r<=100}function VTTRegion(){var r=100,t=3,e=0,n=100,s=0,a=100,l="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return r},set:function(u){if(!isValidPercentValue(u))throw new Error("Width must be between 0 and 100.");r=u}},lines:{enumerable:!0,get:function(){return t},set:function(u){if(typeof u!="number")throw new TypeError("Lines must be set to a number.");t=u}},regionAnchorY:{enumerable:!0,get:function(){return n},set:function(u){if(!isValidPercentValue(u))throw new Error("RegionAnchorX must be between 0 and 100.");n=u}},regionAnchorX:{enumerable:!0,get:function(){return e},set:function(u){if(!isValidPercentValue(u))throw new Error("RegionAnchorY must be between 0 and 100.");e=u}},viewportAnchorY:{enumerable:!0,get:function(){return a},set:function(u){if(!isValidPercentValue(u))throw new Error("ViewportAnchorY must be between 0 and 100.");a=u}},viewportAnchorX:{enumerable:!0,get:function(){return s},set:function(u){if(!isValidPercentValue(u))throw new Error("ViewportAnchorX must be between 0 and 100.");s=u}},scroll:{enumerable:!0,get:function(){return l},set:function(u){var c=findScrollSetting(u);if(c===!1)throw new SyntaxError("An invalid or illegal string was specified.");l=c}}})}function createTrackHelper(r,t,e,n){var s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},a=r.textTracks();s.kind=t,e&&(s.label=e),n&&(s.language=n),s.tech=r;var l=new ALL.text.TrackClass(s);return a.addTrack(l),l}function use(r,t){middlewares[r]=middlewares[r]||[],middlewares[r].push(t)}function setSource(r,t,e){r.setTimeout(function(){return setSourceHelper(t,middlewares[t.type],e,r)},1)}function setTech(r,t){r.forEach(function(e){return e.setTech&&e.setTech(t)})}function get$1(r,t,e){return r.reduceRight(middlewareIterator(e),t[e]())}function set$1(r,t,e,n){return t[e](r.reduce(middlewareIterator(e),n))}function middlewareIterator(r){return function(t,e){return e[r]?e[r](t):t}}function setSourceHelper(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],e=arguments[2],n=arguments[3],s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],a=arguments.length>5&&arguments[5]!==void 0&&arguments[5],l=t[0],u=t.slice(1);if(typeof l=="string")setSourceHelper(r,middlewares[l],e,n,s,a);else if(l){var c=l(n);c.setSource(assign({},r),function(p,d){if(p)return setSourceHelper(r,u,e,n,s,a);s.push(c),setSourceHelper(d,r.type===d.type?u:middlewares[d.type],e,n,s,a)})}else u.length?setSourceHelper(r,u,e,n,s,a):a?e(r,s):setSourceHelper(r,middlewares["*"],e,n,s,!0)}function constructColor(r,t){return"rgba("+parseInt(r[1]+r[1],16)+","+parseInt(r[2]+r[2],16)+","+parseInt(r[3]+r[3],16)+","+t+")"}function tryUpdateStyle(r,t,e){try{r.style[t]=e}catch(n){return}}function formatTime(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r;r=r<0?0:r;var e=Math.floor(r%60),n=Math.floor(r/60%60),s=Math.floor(r/3600),a=Math.floor(t/60%60),l=Math.floor(t/3600);return(isNaN(r)||r===1/0)&&(s=n=e="-"),s=s>0||l>0?s+":":"",n=((s||a>=10)&&n<10?"0"+n:n)+":",e=e<10?"0"+e:e,s+n+e}function parseOptionValue(r,t){if(t&&(r=t(r)),r&&r!=="none")return r}function getSelectedOptionValue(r,t){return parseOptionValue(r.options[r.options.selectedIndex].value,t)}function setSelectedOption(r,t,e){if(t){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"fill",e=r,n="draw-"+t;return['\n \n \n ','\n \n \n ','\n \n \n '][e]}function isObject$2(r){var t=typeof r;return r!=null&&(t=="object"||t=="function")}function trimmedEndIndex(r){for(var t=r.length;t--&&reWhitespace.test(r.charAt(t)););return t}function baseTrim(r){return r&&r.slice(0,_trimmedEndIndex(r)+1).replace(reTrimStart,"")}function getRawTag(r){var t=hasOwnProperty$2.call(r,symToStringTag$1),e=r[symToStringTag$1];try{r[symToStringTag$1]=void 0;var n=!0}catch(a){}var s=nativeObjectToString.call(r);return n&&(t?r[symToStringTag$1]=e:delete r[symToStringTag$1]),s}function objectToString(r){return nativeObjectToString$1.call(r)}function baseGetTag(r){return r==null?r===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(r)?_getRawTag(r):_objectToString(r)}function isObjectLike(r){return r!=null&&typeof r=="object"}function isSymbol(r){return typeof r=="symbol"||isObjectLike_1(r)&&_baseGetTag(r)==symbolTag}function toNumber(r){if(typeof r=="number")return r;if(isSymbol_1(r))return NAN;if(isObject_1(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=isObject_1(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=_baseTrim(r);var e=reIsBinary.test(r);return e||reIsOctal.test(r)?freeParseInt(r.slice(2),e?2:8):reIsBadHex.test(r)?NAN:+r}function debounce(r,t,e){function n(y){var S=v,C=g;return v=g=void 0,A=y,_=r.apply(C,S)}function s(y){return A=y,b=setTimeout(u,t),R?n(y):_}function a(y){var S=y-E,C=y-A,w=t-S;return P?nativeMin(w,f-C):w}function l(y){var S=y-E,C=y-A;return E===void 0||S>=t||S<0||P&&C>=f}function u(){var y=now_1();if(l(y))return c(y);b=setTimeout(u,a(y))}function c(y){return b=void 0,k&&v?n(y):(v=g=void 0,_)}function p(){b!==void 0&&clearTimeout(b),A=0,v=E=g=b=void 0}function d(){return b===void 0?_:c(now_1())}function m(){var y=now_1(),S=l(y);if(v=arguments,g=this,E=y,S){if(b===void 0)return s(E);if(P)return clearTimeout(b),b=setTimeout(u,t),n(E)}return b===void 0&&(b=setTimeout(u,t)),_}var v,g,f,_,b,E,A=0,R=!1,P=!1,k=!0;if(typeof r!="function")throw new TypeError(FUNC_ERROR_TEXT$1);return t=toNumber_1(t)||0,isObject_1(e)&&(R=!!e.leading,P="maxWait"in e,f=P?nativeMax(toNumber_1(e.maxWait)||0,t):f,k="trailing"in e?!!e.trailing:k),m.cancel=p,m.flush=d,m}function throttle$1(r,t,e){var n=!0,s=!0;if(typeof r!="function")throw new TypeError(FUNC_ERROR_TEXT);return isObject_1(e)&&(n="leading"in e?!!e.leading:n,s="trailing"in e?!!e.trailing:s),debounce_1(r,t,{leading:n,maxWait:t,trailing:s})}function mountFlvProvider(r){if(videojs.browser.IS_IOS&&videojs.browser.IS_MQQ)return!1;if(!videojs.browser.IS_TBS&&!videojs.browser.IS_MQQB&&(!IS_IOS||!videojs.browser.IS_SAFARI)&&!videojs.browser.IE_VERSION||r)try{var t=videojs.getTech&&videojs.getTech("Html5");t&&t.registerSourceHandler(FlvSourceHandler,0)}catch(e){}}function mountWebRTCProvider(r){if(!videojs.browser.isWebRTCSupported())return!1;try{var t=videojs.getTech&&videojs.getTech("Html5");t&&t.registerSourceHandler(sourceHandler,0)}catch(e){}}function FlashRtmpDecorator(r){return r.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},r.streamFromParts=function(t,e){return t+"&"+e},r.streamToParts=function(t){var e={connection:"",stream:""};if(!t)return e;var n=t.search(/&(?!\w+=)/),s=void 0;return n!==-1?s=n+1:(n=s=t.lastIndexOf("/")+1)===0&&(n=s=t.length),e.connection=t.substring(0,n),e.stream=t.substring(s,t.length),e},r.isStreamingType=function(t){return t in r.streamingFormats},r.RTMP_RE=/^rtmp[set]?:\/\//i,r.isStreamingSrc=function(t){return r.RTMP_RE.test(t)},r.rtmpSourceHandler={},r.rtmpSourceHandler.canPlayType=function(t){return r.isStreamingType(t)?"maybe":""},r.rtmpSourceHandler.canHandleSource=function(t,e){var n=r.rtmpSourceHandler.canPlayType(t.type);return n||(r.isStreamingSrc(t.src)?"maybe":"")},r.rtmpSourceHandler.handleSource=function(t,e,n){var s=r.streamToParts(t.src);e.setRtmpConnection(s.connection),e.setRtmpStream(s.stream)},r.registerSourceHandler(r.rtmpSourceHandler),r}function _createSetter(r){var t=r.charAt(0).toUpperCase()+r.slice(1);_api["set"+t]=function(e){return this.el_.vjs_setProperty(r,e)}}function _createGetter(r){_api[r]=function(){return this.el_.vjs_getProperty(r)}}function TCPlayer(r,t,e){var n=void 0,s=new Date().getTime(),a=videojs.dom;if(typeof r=="string")n=document.querySelector("#"+r);else{if(!r||!r.nodeName)throw new TypeError("The ID or element supplied is not valid.");n=r}if(n.nodeName.toLowerCase()!="video"&&n.nodeName.toLowerCase()!="audio")throw new TypeError("The element type must be