import{b6 as commonjsGlobal,b7 as getDefaultExportFromCjs}from"./ResizeObserver.es.39b48a47.js";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=="undefined"?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,h=t.top+c-u;return{left:Math.round(l),top:Math.round(h)}}function getPointerPosition(r,t){var e={},n=findPosition(r),s=r.offsetWidth,a=r.offsetHeight,l=n.top,u=n.left,c=t.pageY,h=t.pageX;return t.changedTouches&&(h=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,(h-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{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),h=0,p=c.length;h-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,h){n.handlers[h]=[],_cleanUpEvents(c,h)};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!="undefined"&&(r===window.setTimeout||r===window.alert||r===window.confirm||r===window.prompt)}function extend$1(){for(var r={},t=0;t0&&(p=setTimeout(function(){if(!h){h=!0,u.abort("timeout");var R=new Error("XMLHttpRequest timeout");R.code="ETIMEDOUT",n(R)}},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(d||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(h,p){switch(h){case"region":for(var y=e.length-1;y>=0;y--)if(e[y].id===p){c.set(h,e[y].region);break}break;case"vertical":c.alt(h,p,["rl","lr"]);break;case"line":var b=p.split(","),d=b[0];c.integer(h,d),c.percent(h,d)&&c.set("snapToLines",!1),c.alt(h,d,["auto"]),b.length===2&&c.alt("lineAlign",b[1],["start","middle","end"]);break;case"position":b=p.split(","),c.percent(h,b[0]),b.length===2&&c.alt("positionAlign",b[1],["start","middle","end"]);break;case"size":c.percent(h,p);break;case"align":c.alt(h,p,["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(p){return ESCAPE[p]}for(var n,s=r.document.createElement("div"),a=s,l=[];(n=function(){if(!t)return null;var p=t.match(/^([^<]*)(<[^>]+>?)?/);return function(y){return t=t.substr(y.length),y}(p[1]?p[1]:p[2])}())!==null;)if(n[0]!=="<")a.appendChild(r.document.createTextNode(function(p){for(;h=p.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)p=p.replace(h[0],e);return p}(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 h=n.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!h||!(u=function(p,y){var b=TAG_NAME[p];if(!b)return null;var d=r.document.createElement(b);d.localName=b;var f=TAG_ANNOTATION[p];return f&&y&&(d[f]=y.trim()),d}(h[1],h[3]))||!function(p,y){return!NEEDS_PARENT[y.localName]||NEEDS_PARENT[y.localName]===p.localName}(a,u))continue;h[2]&&(u.className=h[2].substr(1).replace("."," ")),l.push(h[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 h=c.childNodes.length-1;h>=0;h--)u.push(c.childNodes[h])}function e(u){if(!u||!u.length)return null;var c=u.pop(),h=c.textContent||c.innerText;if(h){var p=h.match(/^.*(\n|\r)/);return p?(u.length=0,p[0]):h}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;sy&&(p=p<0?-1:1,p*=Math.ceil(y/h)*h),l<0&&(p+=a.vertical===""?e.height:e.width,u=u.reverse()),s.move(b,p)}else{var d=s.lineHeight/e.height*100;switch(a.lineAlign){case"middle":l-=d/2;break;case"end":l-=d}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(m,v){for(var C,R=new BoxPosition(m),k=1,P=0;Pw&&(C=new BoxPosition(m),k=w),m=new BoxPosition(R)}return C||R}(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.");v=P,this.hasBeenReset=!0}})),Object.defineProperty(n,"positionAlign",extend$2({},a,{get:function(){return C},set:function(P){var w=findAlignSetting(P);if(!w)throw new SyntaxError("An invalid or illegal string was specified.");C=w,this.hasBeenReset=!0}})),Object.defineProperty(n,"size",extend$2({},a,{get:function(){return R},set:function(P){if(P<0||P>100)throw new Error("Size must be between 0 and 100.");R=P,this.hasBeenReset=!0}})),Object.defineProperty(n,"align",extend$2({},a,{get:function(){return k},set:function(P){var w=findAlignSetting(P);if(!w)throw new SyntaxError("An invalid or illegal string was specified.");k=w,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(h,p){if(h)return setSourceHelper(r,u,e,n,s,a);s.push(c),setSourceHelper(p,r.type===p.type?u:middlewares[p.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{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[` `,` `,` `][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{}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(g){var _=b,S=d;return b=d=void 0,R=g,m=r.apply(S,_)}function s(g){return R=g,v=setTimeout(u,t),k?n(g):m}function a(g){var _=g-C,S=g-R,E=t-_;return P?nativeMin(E,f-S):E}function l(g){var _=g-C,S=g-R;return C===void 0||_>=t||_<0||P&&S>=f}function u(){var g=now_1();if(l(g))return c(g);v=setTimeout(u,a(g))}function c(g){return v=void 0,w&&b?n(g):(b=d=void 0,m)}function h(){v!==void 0&&clearTimeout(v),R=0,b=C=d=v=void 0}function p(){return v===void 0?m:c(now_1())}function y(){var g=now_1(),_=l(g);if(b=arguments,d=this,C=g,_){if(v===void 0)return s(C);if(P)return clearTimeout(v),v=setTimeout(u,t),n(C)}return v===void 0&&(v=setTimeout(u,t)),m}var b,d,f,m,v,C,R=0,k=!1,P=!1,w=!0;if(typeof r!="function")throw new TypeError(FUNC_ERROR_TEXT$1);return t=toNumber_1(t)||0,isObject_1(e)&&(k=!!e.leading,P="maxWait"in e,f=P?nativeMax(toNumber_1(e.maxWait)||0,t):f,w="trailing"in e?!!e.trailing:w),y.cancel=h,y.flush=p,y}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{}}function mountWebRTCProvider(r){if(!videojs.browser.isWebRTCSupported())return!1;try{var t=videojs.getTech&&videojs.getTech("Html5");t&&t.registerSourceHandler(sourceHandler,0)}catch{}}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