window.HELP_IMPROVE_VIDEOJS=false;(function(global,factory){typeofexports==="object"&&typeofmodule!=="undefined"?module.exports=factory(require("global/window"),require("global/document")):typeofdefine==="function"&&define.amd?define(["global/window","global/document"],factory):(global=global||self,global.videojs=factory(global.window,global.document))})(this,function(window$1,document){window$1=window$1&&window$1.hasOwnProperty("default")?window$1["default"]:window$1;document=document&&document.hasOwnProperty("default")?document["default"]:document;varversion="7.6.6";varhistory=[];varLogByTypeFactory=functionLogByTypeFactory(name,log){returnfunction(type,level,args){varlvl=log.levels[level];varlvlRegExp=newRegExp("^("+lvl+")$");if(type!=="log"){args.unshift(type.toUpperCase()+":")}args.unshift(name+":");if(history){history.push([].concat(args))}if(!window$1.console){return}varfn=window$1.console[type];if(!fn&&type==="debug"){fn=window$1.console.info||window$1.console.log}if(!fn||!lvl||!lvlRegExp.test(type)){return}fn[Array.isArray(args)?"apply":"call"](window$1.console,args)}};functioncreateLogger(name){varlevel="info";varlogByType;varlog=functionlog(){for(var_len=arguments.length,args=newArray(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}logByType("log",level,args)};logByType=LogByTypeFactory(name,log);log.createLogger=function(subname){returncreateLogger(name+": "+subname)};log.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:level};log.level=function(lvl){if(typeoflvl==="string"){if(!log.levels.hasOwnProperty(lvl)){thrownewError('"'+lvl+'" in not a valid log level')}level=lvl}returnlevel};log.history=function(){returnhistory?[].concat(history):[]};log.history.filter=function(fname){return(history||[]).filter(function(historyItem){returnnewRegExp(".*"+fname+".*").test(historyItem[0])})};log.history.clear=function(){if(history){history.length=0}};log.history.disable=function(){if(history!==null){history.length=0;history=null}};log.history.enable=function(){if(history===null){history=[]}};log.error=function(){for(var_len2=arguments.length,args=newArray(_len2),_key2=0;_key2<_len2;_key2++){args[_key2]=arguments[_key2]}returnlogByType("error",level,args)};log.warn=function(){for(var_len3=arguments.length,args=newArray(_len3),_key3=0;_key3<_len3;_key3++){args[_key3]=arguments[_key3]}returnlogByType("warn",level,args)};log.debug=function(){for(var_len4=arguments.length,args=newArray(_len4),_key4=0;_key4<_len4;_key4++){args[_key4]=arguments[_key4]}returnlogByType("debug",level,args)};returnlog}varlog=createLogger("VIDEOJS");varcreateLogger$1=log.createLogger;vartoString=Object.prototype.toString;varkeys=functionkeys(object){returnisObject(object)?Object.keys(object):[]};functioneach(object,fn){keys(object).forEach(function(key){returnfn(object[key],key)})}functionreduce(object,fn,initial){if(initial===void0){initial=0}returnkeys(object).reduce(function(accum,key){returnfn(accum,object[key],key)},initial)}functionassign(target){for(var_len=arguments.length,sources=newArray(_len>1?_len-1:0),_key=1;_key<_len;_key++){sources[_key-1]=arguments[_key]}if(Object.assign){returnObject.assign.apply(Object,[target].concat(sources))}sources.forEach(function(source){if(!source){return}each(source,function(value,key){target[key]=value})});returntarget}functionisObject(value){return!!value&&typeofvalue==="object"}functionisPlain(value){returnisObject(value)&&toString.call(value)==="[object Object]"&&value.constructor===Object}functioncomputedStyle(el,prop){if(!el||!prop){return""}if(typeofwindow$1.getComputedStyle==="function"){varcomputedStyleValue=window$1.getComputedStyle(el);returncomputedStyleValue?computedStyleValue.getPropertyValue(prop)||computedStyleValue[prop]:""}return""}functionisNonBlankString(str){returntypeofstr==="string"&&/\S/.test(str)}functionthrowIfWhitespace(str){if(/\s/.test(str)){thrownewError("class has illegal whitespace characters")}}functionclassReg