!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){varr=n(e).indexOf(t);return!(r<=-1||(i[e]=i[e].slice(),i[e].splice(r,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){vari,n="info",r=function(){for(vare=arguments.length,t=newArray(e),r=0;r<e;r++)t[r]=arguments[r];i("log",n,t)};returni=function(e,t){returnfunction(i,n,r){vara=t.levels[n],s=newRegExp("^("+a+")$");if("log"!==i&&r.unshift(i.toUpperCase()+":"),r.unshift(e+":"),c){c.push([].concat(r));varo=c.length-1e3;c.splice(0,o>0?o:0)}if(window.console){varu=window.console[i];u||"debug"!==i||(u=window.console.info||window.console.log),u&&a&&s.test(i)&&u[Array.isArray(r)?"apply":"call"](window.console,r)}}}(t,r),r.createLogger=function(i){returne(t+": "+i)},r.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:n},r.level=function(e){if("string"==typeofe){if(!r.levels.hasOwnProperty(e))thrownewError('"'+e+'" in not a valid log level');n=e}returnn},(r.history=function(){returnc?[].concat(c):[]}).filter=function(e){return(c||[]).filter(function(t){returnnewRegExp(".*"+e+".*").test(t[0])})},r.history.clear=function(){c&&(c.length=0)},r.history.disable=function(){null!==c&&(c.length=0,c=null)},r.history.enable=function(){null===c&&(c=[])},r.error=function(){for(vare=arguments.length,t=newArray(e),r=0;r<e;r++)t[r]=arguments[r];returni("error",n,t)},r.warn=function(){for(vare=arguments.length,t=newArray(e),r=0;r<e;r++)t[r]=arguments[r];returni("warn",n,t)},r.debug=function(){for(vare=arguments.length,t=newArray(e),r=0;r<e;r++)t[r]=arguments[r];returni("debug",n,t)},r}("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=arguments[t];for(varnini)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}returne},t.apply(this,arguments)}e.exports=t}),g=Object.prototype.toString,v=function(e){returnb(e)?Object.keys(e):[]};functiony(e,t){v(e).forEach(function(i){returnt(e[i],i)})}function_(e){for(vart=arguments.length,i=newArray(t>1?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&&y(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}functionw(e,t){if(!e||!t)return"";if("function"==typeofwindow.getComputedStyle){vari;try{i=window.getComputedStyle(e)}catch(e){return""}returni?i.getPropertyValue(t)||i[t]:""}return""}varS,E,k,C=window.navigator&&window.navigator.userAgent||"",I=/AppleWebKit\/([\d.]+)/i.exec(C),x=I?parseFloat(I.pop()):null,A=/iPod/i.test(C),P=(S=C.match(/OS (\d+)_/i))&&S[1]?S[1]:null,L=/Android/i.test(C),D=function(){vare=C.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)ret