!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define(t):(e="undefined"!=typeofglobalThis?globalThis:e||self).videojs=t()}(this,function(){"use strict";for(vare,t="7.20.2",i={},n=function(e,t){returni[e]=i[e]||[],t&&(i[e]=i[e].concat(t)),i[e]},r=function(e,t){return!((t=n(e).indexOf(t))<=-1||(i[e]=i[e].slice(),i[e].splice(t,1),0))},a={prefixed:!0},s=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"]],o=s[0],u=0;u<s.length;u++)if(s[u][1]indocument){e=s[u];break}if(e){for(varl=0;l<e.length;l++)a[o[l]]=e[l];a.prefixed=e[0]!==o[0]}varc=[],d=functione(t){functioni(){for(vare=arguments.length,t=newArray(e),i=0;i<e;i++)t[i]=arguments[i];r("log",n,t)}varn="info",r=function(e,t){returnfunction(i,n,r){vara,s=t.levels[n];n=newRegExp("^("+s+")$"),"log"!==i&&r.unshift(i.toUpperCase()+":"),r.unshift(e+":"),c&&(c.push([].concat(r)),a=c.length-1e3,c.splice(0,0<a?a:0)),!window.console||(a=(a=window.console[i])||"debug"!==i?a:window.console.info||window.console.log)&&s&&n.test(i)&&a[Array.isArray(r)?"apply":"call"](window.console,r)}}(t,i);returni.createLogger=function(i){returne(t+": "+i)},i.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:n},i.level=function(e){if("string"==typeofe){if(!i.levels.hasOwnProperty(e))thrownewError('"'+e+'" in not a valid log level');n=e}returnn},(i.history=function(){returnc?[].concat(c):[]}).filter=function(e){return(c||[]).filter(function(t){returnnewRegExp(".*"+e+".*").test(t[0])})},i.history.clear=function(){c&&(c.length=0)},i.history.disable=function(){null!==c&&(c.length=0,c=null)},i.history.enable=function(){null===c&&(c=[])},i.error=function(){for(vare=arguments.length,t=newArray(e),i=0;i<e;i++)t[i]=arguments[i];returnr("error",n,t)},i.warn=function(){for(vare=arguments.length,t=newArray(e),i=0;i<e;i++)t[i]=arguments[i];returnr("warn",n,t)},i.debug=function(){for(vare=arguments.length,t=newArray(e),i=0;i<e;i++)t[i]=arguments[i];returnr("debug",n,t)},i}("VIDEOJS"),h=d.createLogger,p="undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:{};functionf(e,t){returne(t={exports:{}},t.exports),t.exports}varm=f(function(e){functiont(){returne.exports=t=Object.assign||function(e){for(vart=1;t<arguments.length;t++){vari,n=arguments[t];for(iinn)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}returne},t.apply(this,arguments)}e.exports=t}),g=Object.prototype.toString,y=function(e){returnb(e)?Object.keys(e):[]};functionv(e,t){y(e).forEach(function(i){returnt(e[i],i)})}function_(e){for(vart=arguments.length,i=newArray(1<t?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];returnObject.assign?m.apply(void0,[e].concat(i)):(i.forEach(function(t){t&&v(t,function(t,i){e[i]=t})}),e)}functionb(e){return!!e&&"object"==typeofe}functionT(e){returnb(e)&&"[object Object]"===g.call(e)&&e.constructor===Object}functionS(e,t){if(!e||!t)return"";if("function"!=typeofwindow.getComputedStyle)return"";vari;try{i=window.getComputedStyle(e)}catch(e){return""}returni?i.getPropertyValue(t)||i[t]:""}varw=window.navigator&&window.navigator.userAgent||"",E=(Ot=/AppleWebKit\/([\d.]+)/i.exec(w))?parseFloat(Ot.pop()):null,k=/iPod/i.test(w),C=(Mt=w.match(/OS (\d+)_/i))&&Mt[1]?Mt[1]:null,I=/Android/i.test(w),x=function(){vare=w.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)returnnull;vart=e[1]&&p