!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=t(require("global/window"),require("global/document")):"function"==typeofdefine&&define.amd?define(["global/window","global/document"],t):(e=e||self).videojs=t(e.window,e.document)}(this,function(e,t){e=e&&e.hasOwnProperty("default")?e.default:e,t=t&&t.hasOwnProperty("default")?t.default:t;vari="7.6.3",r=[],n=function(t,i){returnfunction(n,a,s){varo=i.levels[a],l=newRegExp("^("+o+")$");if("log"!==n&&s.unshift(n.toUpperCase()+":"),s.unshift(t+":"),r&&r.push([].concat(s)),e.console){varu=e.console[n];u||"debug"!==n||(u=e.console.info||e.console.log),u&&o&&l.test(n)&&u[Array.isArray(s)?"apply":"call"](e.console,s)}}};vara=functione(t){vari,a="info",s=function(){for(vare=arguments.length,t=newArray(e),r=0;r<e;r++)t[r]=arguments[r];i("log",a,t)};returni=n(t,s),s.createLogger=function(i){returne(t+": "+i)},s.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:a},s.level=function(e){if("string"==typeofe){if(!s.levels.hasOwnProperty(e))thrownewError('"'+e+'" in not a valid log level');a=e}returna},(s.history=function(){returnr?[].concat(r):[]}).filter=function(e){return(r||[]).filter(function(t){returnnewRegExp(".*"+e+".*").test(t[0])})},s.history.clear=function(){r&&(r.length=0)},s.history.disable=function(){null!==r&&(r.length=0,r=null)},s.history.enable=function(){null===r&&(r=[])},s.error=function(){for(vare=arguments.length,t=newArray(e),r=0;r<e;r++)t[r]=arguments[r];returni("error",a,t)},s.warn=function(){for(vare=arguments.length,t=newArray(e),r=0;r<e;r++)t[r]=arguments[r];returni("warn",a,t)},s.debug=function(){for(vare=arguments.length,t=newArray(e),r=0;r<e;r++)t[r]=arguments[r];returni("debug",a,t)},s}("VIDEOJS"),s=a.createLogger,o=Object.prototype.toString,l=function(e){returnd(e)?Object.keys(e):[]};functionu(e,t){l(e).forEach(function(i){returnt(e[i],i)})}functionc(e){for(vart=arguments.length,i=newArray(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];returnObject.assign?Object.assign.apply(Object,[e].concat(i)):(i.forEach(function(t){t&&u(t,function(t,i){e[i]=t})}),e)}functiond(e){return!!e&&"object"==typeofe}functionh(e){returnd(e)&&"[object Object]"===o.call(e)&&e.constructor===Object}functionf(t,i){if(!t||!i)return"";if("function"==typeofe.getComputedStyle){varr=e.getComputedStyle(t);returnr?r.getPropertyValue(i)||r[i]:""}return""}functionp(e){return"string"==typeofe&&/\S/.test(e)}functionm(e){if(/\s/.test(e))thrownewError("class has illegal whitespace characters")}functiong(){returnt===e.document}functionv(e){returnd(e)&&1===e.nodeType}functiony(){try{returne.parent!==e.self}catch(e){return!0}}function_(e){returnfunction(i,r){if(!p(i))returnt[e](null);p(r)&&(r=t.querySelector(r));varn=v(r)?r:t;returnn[e]&&n[e](i)}}functionb(e,i,r,n){void0===e&&(e="div"),void0===i&&(i={}),void0===r&&(r={});vars=t.createElement(e);returnObject.getOwnPropertyNames(i).forEach(function(e){vart=i[e];-1!==e.indexOf("aria-")||"role"===e||"type"===e?(a.warn("Setting attributes in the second argument of createEl()\nhas been deprecated. Use the third argument instead.\ncreateEl(type, properties, attributes). Attempting to set "+e+" to "+t+"."),s.setAttribute(e,t)):"textContent"===e?T(s,t):s[e]=t}),Object.getOwnPropertyNames(r).forEach(function(e){s.setAttribute(e,r[e])}),n&&j(s,n),s}functionT(e,t){returnvoid0===e.textContent?e.innerText=t:e.textContent=t,e}functionS(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}functionE(e,t){returnm(t),e.classList?e.classList.contains(t):(i=t,newRegExp("(^|\\s)"+i+"($|\\s)")).test(e.className);vari}functionk(e,t){returne?(e.classList?e.classList.add(t):E(e,t)||(e.className=(e.className+" "+t).trim()),e):e}functionw(e,t){returne?(e.classList?e.classList.remove(t):(m(t),e.className=e.className.split(/\s+/).filter(function(e){returne!==t}).join(" ")),e):e}functionC(e,t,i){varr=E(e,t);return"function"==typeofi&&(i=i(e,t)),"boolean"!=typeofi&&(i=!r),i