md-nep
Version:
``` npm install md-nep ```
2 lines • 710 kB
JavaScript
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.videojs=e()}}(function(){var e;return function t(e,r,n){function i(a,s){if(!r[a]){if(!e[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=r[a]={exports:{}};e[a][0].call(c.exports,function(t){var r=e[a][1][t];return i(r?r:t)},c,c.exports,t,e,r,n)}return r[a].exports}for(var o="function"==typeof require&&require,a=0;a<n.length;a++)i(n[a]);return i}({1:[function(e,t,r){},{}],2:[function(e,t,r){(function(r){var n="undefined"!=typeof r?r:"undefined"!=typeof window?window:{},i=e("min-document");if("undefined"!=typeof document)t.exports=document;else{var o=n["__GLOBAL_DOCUMENT_CACHE@4"];o||(o=n["__GLOBAL_DOCUMENT_CACHE@4"]=i),t.exports=o}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"min-document":1}],3:[function(e,t,r){(function(e){"undefined"!=typeof window?t.exports=window:"undefined"!=typeof e?t.exports=e:"undefined"!=typeof self?t.exports=self:t.exports={}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(e,t,r){var n=e("../internal/getNative"),i=n(Date,"now"),o=i||function(){return(new Date).getTime()};t.exports=o},{"../internal/getNative":20}],5:[function(e,t,r){function n(e,t,r){function n(){v&&clearTimeout(v),h&&clearTimeout(h),_=0,h=v=m=void 0}function l(t,r){r&&clearTimeout(r),h=v=m=void 0,t&&(_=o(),p=e.apply(y,f),v||h||(f=y=void 0))}function u(){var e=t-(o()-g);e<=0||e>t?l(m,h):v=setTimeout(u,e)}function c(){l(T,v)}function d(){if(f=arguments,g=o(),y=this,m=T&&(v||!w),b===!1)var r=w&&!v;else{h||w||(_=g);var n=b-(g-_),i=n<=0||n>b;i?(h&&(h=clearTimeout(h)),_=g,p=e.apply(y,f)):h||(h=setTimeout(c,n))}return i&&v?v=clearTimeout(v):v||t===b||(v=setTimeout(u,t)),r&&(i=!0,p=e.apply(y,f)),!i||v||h||(f=y=void 0),p}var f,h,p,g,y,v,m,_=0,b=!1,T=!0;if("function"!=typeof e)throw new TypeError(a);if(t=t<0?0:+t||0,r===!0){var w=!0;T=!1}else i(r)&&(w=!!r.leading,b="maxWait"in r&&s(+r.maxWait||0,t),T="trailing"in r?!!r.trailing:T);return d.cancel=n,d}var i=e("../lang/isObject"),o=e("../date/now"),a="Expected a function",s=Math.max;t.exports=n},{"../date/now":4,"../lang/isObject":33}],6:[function(e,t,r){function n(e,t){if("function"!=typeof e)throw new TypeError(i);return t=o(void 0===t?e.length-1:+t||0,0),function(){for(var r=arguments,n=-1,i=o(r.length-t,0),a=Array(i);++n<i;)a[n]=r[t+n];switch(t){case 0:return e.call(this,a);case 1:return e.call(this,r[0],a);case 2:return e.call(this,r[0],r[1],a)}var s=Array(t+1);for(n=-1;++n<t;)s[n]=r[n];return s[t]=a,e.apply(this,s)}}var i="Expected a function",o=Math.max;t.exports=n},{}],7:[function(e,t,r){function n(e,t,r){var n=!0,s=!0;if("function"!=typeof e)throw new TypeError(a);return r===!1?n=!1:o(r)&&(n="leading"in r?!!r.leading:n,s="trailing"in r?!!r.trailing:s),i(e,t,{leading:n,maxWait:+t,trailing:s})}var i=e("./debounce"),o=e("../lang/isObject"),a="Expected a function";t.exports=n},{"../lang/isObject":33,"./debounce":5}],8:[function(e,t,r){function n(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}t.exports=n},{}],9:[function(e,t,r){function n(e,t){for(var r=-1,n=e.length;++r<n&&t(e[r],r,e)!==!1;);return e}t.exports=n},{}],10:[function(e,t,r){function n(e,t,r){r||(r={});for(var n=-1,i=t.length;++n<i;){var o=t[n];r[o]=e[o]}return r}t.exports=n},{}],11:[function(e,t,r){var n=e("./createBaseFor"),i=n();t.exports=i},{"./createBaseFor":18}],12:[function(e,t,r){function n(e,t){return i(e,t,o)}var i=e("./baseFor"),o=e("../object/keysIn");t.exports=n},{"../object/keysIn":39,"./baseFor":11}],13:[function(e,t,r){function n(e,t,r,f,h){if(!l(e))return e;var p=s(t)&&(a(t)||c(t)),g=p?void 0:d(t);return i(g||t,function(i,a){if(g&&(a=i,i=t[a]),u(i))f||(f=[]),h||(h=[]),o(e,t,a,n,r,f,h);else{var s=e[a],l=r?r(s,i,a,e,t):void 0,c=void 0===l;c&&(l=i),void 0===l&&(!p||a in e)||!c&&(l===l?l===s:s!==s)||(e[a]=l)}}),e}var i=e("./arrayEach"),o=e("./baseMergeDeep"),a=e("../lang/isArray"),s=e("./isArrayLike"),l=e("../lang/isObject"),u=e("./isObjectLike"),c=e("../lang/isTypedArray"),d=e("../object/keys");t.exports=n},{"../lang/isArray":30,"../lang/isObject":33,"../lang/isTypedArray":36,"../object/keys":38,"./arrayEach":9,"./baseMergeDeep":14,"./isArrayLike":21,"./isObjectLike":26}],14:[function(e,t,r){function n(e,t,r,n,d,f,h){for(var p=f.length,g=t[r];p--;)if(f[p]==g)return void(e[r]=h[p]);var y=e[r],v=d?d(y,g,r,e,t):void 0,m=void 0===v;m&&(v=g,s(g)&&(a(g)||u(g))?v=a(y)?y:s(y)?i(y):[]:l(g)||o(g)?v=o(y)?c(y):l(y)?y:{}:m=!1),f.push(g),h.push(v),m?e[r]=n(v,g,d,f,h):(v===v?v!==y:y===y)&&(e[r]=v)}var i=e("./arrayCopy"),o=e("../lang/isArguments"),a=e("../lang/isArray"),s=e("./isArrayLike"),l=e("../lang/isPlainObject"),u=e("../lang/isTypedArray"),c=e("../lang/toPlainObject");t.exports=n},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isPlainObject":34,"../lang/isTypedArray":36,"../lang/toPlainObject":37,"./arrayCopy":8,"./isArrayLike":21}],15:[function(e,t,r){function n(e){return function(t){return null==t?void 0:i(t)[e]}}var i=e("./toObject");t.exports=n},{"./toObject":28}],16:[function(e,t,r){function n(e,t,r){if("function"!=typeof e)return i;if(void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 3:return function(r,n,i){return e.call(t,r,n,i)};case 4:return function(r,n,i,o){return e.call(t,r,n,i,o)};case 5:return function(r,n,i,o,a){return e.call(t,r,n,i,o,a)}}return function(){return e.apply(t,arguments)}}var i=e("../utility/identity");t.exports=n},{"../utility/identity":42}],17:[function(e,t,r){function n(e){return a(function(t,r){var n=-1,a=null==t?0:r.length,s=a>2?r[a-2]:void 0,l=a>2?r[2]:void 0,u=a>1?r[a-1]:void 0;for("function"==typeof s?(s=i(s,u,5),a-=2):(s="function"==typeof u?u:void 0,a-=s?1:0),l&&o(r[0],r[1],l)&&(s=a<3?void 0:s,a=1);++n<a;){var c=r[n];c&&e(t,c,s)}return t})}var i=e("./bindCallback"),o=e("./isIterateeCall"),a=e("../function/restParam");t.exports=n},{"../function/restParam":6,"./bindCallback":16,"./isIterateeCall":24}],18:[function(e,t,r){function n(e){return function(t,r,n){for(var o=i(t),a=n(t),s=a.length,l=e?s:-1;e?l--:++l<s;){var u=a[l];if(r(o[u],u,o)===!1)break}return t}}var i=e("./toObject");t.exports=n},{"./toObject":28}],19:[function(e,t,r){var n=e("./baseProperty"),i=n("length");t.exports=i},{"./baseProperty":15}],20:[function(e,t,r){function n(e,t){var r=null==e?void 0:e[t];return i(r)?r:void 0}var i=e("../lang/isNative");t.exports=n},{"../lang/isNative":32}],21:[function(e,t,r){function n(e){return null!=e&&o(i(e))}var i=e("./getLength"),o=e("./isLength");t.exports=n},{"./getLength":19,"./isLength":25}],22:[function(e,t,r){var n=function(){try{Object({toString:0}+"")}catch(e){return function(){return!1}}return function(e){return"function"!=typeof e.toString&&"string"==typeof(e+"")}}();t.exports=n},{}],23:[function(e,t,r){function n(e,t){return e="number"==typeof e||i.test(e)?+e:-1,t=null==t?o:t,e>-1&&e%1==0&&e<t}var i=/^\d+$/,o=9007199254740991;t.exports=n},{}],24:[function(e,t,r){function n(e,t,r){if(!a(r))return!1;var n=typeof t;if("number"==n?i(r)&&o(t,r.length):"string"==n&&t in r){var s=r[t];return e===e?e===s:s!==s}return!1}var i=e("./isArrayLike"),o=e("./isIndex"),a=e("../lang/isObject");t.exports=n},{"../lang/isObject":33,"./isArrayLike":21,"./isIndex":23}],25:[function(e,t,r){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}var i=9007199254740991;t.exports=n},{}],26:[function(e,t,r){function n(e){return!!e&&"object"==typeof e}t.exports=n},{}],27:[function(e,t,r){function n(e){for(var t=u(e),r=t.length,n=r&&e.length,c=!!n&&s(n)&&(o(e)||i(e)||l(e)),f=-1,h=[];++f<r;){var p=t[f];(c&&a(p,n)||d.call(e,p))&&h.push(p)}return h}var i=e("../lang/isArguments"),o=e("../lang/isArray"),a=e("./isIndex"),s=e("./isLength"),l=e("../lang/isString"),u=e("../object/keysIn"),c=Object.prototype,d=c.hasOwnProperty;t.exports=n},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isString":35,"../object/keysIn":39,"./isIndex":23,"./isLength":25}],28:[function(e,t,r){function n(e){if(a.unindexedChars&&o(e)){for(var t=-1,r=e.length,n=Object(e);++t<r;)n[t]=e.charAt(t);return n}return i(e)?e:Object(e)}var i=e("../lang/isObject"),o=e("../lang/isString"),a=e("../support");t.exports=n},{"../lang/isObject":33,"../lang/isString":35,"../support":41}],29:[function(e,t,r){function n(e){return o(e)&&i(e)&&s.call(e,"callee")&&!l.call(e,"callee")}var i=e("../internal/isArrayLike"),o=e("../internal/isObjectLike"),a=Object.prototype,s=a.hasOwnProperty,l=a.propertyIsEnumerable;t.exports=n},{"../internal/isArrayLike":21,"../internal/isObjectLike":26}],30:[function(e,t,r){var n=e("../internal/getNative"),i=e("../internal/isLength"),o=e("../internal/isObjectLike"),a="[object Array]",s=Object.prototype,l=s.toString,u=n(Array,"isArray"),c=u||function(e){return o(e)&&i(e.length)&&l.call(e)==a};t.exports=c},{"../internal/getNative":20,"../internal/isLength":25,"../internal/isObjectLike":26}],31:[function(e,t,r){function n(e){return i(e)&&s.call(e)==o}var i=e("./isObject"),o="[object Function]",a=Object.prototype,s=a.toString;t.exports=n},{"./isObject":33}],32:[function(e,t,r){function n(e){return null!=e&&(i(e)?d.test(u.call(e)):a(e)&&(o(e)?d:s).test(e))}var i=e("./isFunction"),o=e("../internal/isHostObject"),a=e("../internal/isObjectLike"),s=/^\[object .+?Constructor\]$/,l=Object.prototype,u=Function.prototype.toString,c=l.hasOwnProperty,d=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=n},{"../internal/isHostObject":22,"../internal/isObjectLike":26,"./isFunction":31}],33:[function(e,t,r){function n(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}t.exports=n},{}],34:[function(e,t,r){function n(e){var t;if(!s(e)||f.call(e)!=u||a(e)||o(e)||!d.call(e,"constructor")&&(t=e.constructor,"function"==typeof t&&!(t instanceof t)))return!1;var r;return l.ownLast?(i(e,function(e,t,n){return r=d.call(n,t),!1}),r!==!1):(i(e,function(e,t){r=t}),void 0===r||d.call(e,r))}var i=e("../internal/baseForIn"),o=e("./isArguments"),a=e("../internal/isHostObject"),s=e("../internal/isObjectLike"),l=e("../support"),u="[object Object]",c=Object.prototype,d=c.hasOwnProperty,f=c.toString;t.exports=n},{"../internal/baseForIn":12,"../internal/isHostObject":22,"../internal/isObjectLike":26,"../support":41,"./isArguments":29}],35:[function(e,t,r){function n(e){return"string"==typeof e||i(e)&&s.call(e)==o}var i=e("../internal/isObjectLike"),o="[object String]",a=Object.prototype,s=a.toString;t.exports=n},{"../internal/isObjectLike":26}],36:[function(e,t,r){function n(e){return o(e)&&i(e.length)&&!!A[P.call(e)]}var i=e("../internal/isLength"),o=e("../internal/isObjectLike"),a="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",d="[object Function]",f="[object Map]",h="[object Number]",p="[object Object]",g="[object RegExp]",y="[object Set]",v="[object String]",m="[object WeakMap]",_="[object ArrayBuffer]",b="[object Float32Array]",T="[object Float64Array]",w="[object Int8Array]",k="[object Int16Array]",S="[object Int32Array]",E="[object Uint8Array]",O="[object Uint8ClampedArray]",j="[object Uint16Array]",C="[object Uint32Array]",A={};A[b]=A[T]=A[w]=A[k]=A[S]=A[E]=A[O]=A[j]=A[C]=!0,A[a]=A[s]=A[_]=A[l]=A[u]=A[c]=A[d]=A[f]=A[h]=A[p]=A[g]=A[y]=A[v]=A[m]=!1;var x=Object.prototype,P=x.toString;t.exports=n},{"../internal/isLength":25,"../internal/isObjectLike":26}],37:[function(e,t,r){function n(e){return i(e,o(e))}var i=e("../internal/baseCopy"),o=e("../object/keysIn");t.exports=n},{"../internal/baseCopy":10,"../object/keysIn":39}],38:[function(e,t,r){var n=e("../internal/getNative"),i=e("../internal/isArrayLike"),o=e("../lang/isObject"),a=e("../internal/shimKeys"),s=e("../support"),l=n(Object,"keys"),u=l?function(e){var t=null==e?void 0:e.constructor;return"function"==typeof t&&t.prototype===e||("function"==typeof e?s.enumPrototypes:i(e))?a(e):o(e)?l(e):[]}:a;t.exports=u},{"../internal/getNative":20,"../internal/isArrayLike":21,"../internal/shimKeys":27,"../lang/isObject":33,"../support":41}],39:[function(e,t,r){function n(e){if(null==e)return[];c(e)||(e=Object(e));var t=e.length;t=t&&u(t)&&(a(e)||o(e)||d(e))&&t||0;for(var r=e.constructor,n=-1,i=s(r)&&r.prototype||S,h=i===e,p=Array(t),g=t>0,v=f.enumErrorProps&&(e===k||e instanceof Error),m=f.enumPrototypes&&s(e);++n<t;)p[n]=n+"";for(var b in e)m&&"prototype"==b||v&&("message"==b||"name"==b)||g&&l(b,t)||"constructor"==b&&(h||!O.call(e,b))||p.push(b);if(f.nonEnumShadows&&e!==S){var A=e===E?T:e===k?y:j.call(e),x=C[A]||C[_];for(A==_&&(i=S),t=w.length;t--;){b=w[t];var P=x[b];h&&P||(P?!O.call(e,b):e[b]===i[b])||p.push(b)}}return p}var i=e("../internal/arrayEach"),o=e("../lang/isArguments"),a=e("../lang/isArray"),s=e("../lang/isFunction"),l=e("../internal/isIndex"),u=e("../internal/isLength"),c=e("../lang/isObject"),d=e("../lang/isString"),f=e("../support"),h="[object Array]",p="[object Boolean]",g="[object Date]",y="[object Error]",v="[object Function]",m="[object Number]",_="[object Object]",b="[object RegExp]",T="[object String]",w=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],k=Error.prototype,S=Object.prototype,E=String.prototype,O=S.hasOwnProperty,j=S.toString,C={};C[h]=C[g]=C[m]={constructor:!0,toLocaleString:!0,toString:!0,valueOf:!0},C[p]=C[T]={constructor:!0,toString:!0,valueOf:!0},C[y]=C[v]=C[b]={constructor:!0,toString:!0},C[_]={constructor:!0},i(w,function(e){for(var t in C)if(O.call(C,t)){var r=C[t];r[e]=O.call(r,e)}}),t.exports=n},{"../internal/arrayEach":9,"../internal/isIndex":23,"../internal/isLength":25,"../lang/isArguments":29,"../lang/isArray":30,"../lang/isFunction":31,"../lang/isObject":33,"../lang/isString":35,"../support":41}],40:[function(e,t,r){var n=e("../internal/baseMerge"),i=e("../internal/createAssigner"),o=i(n);t.exports=o},{"../internal/baseMerge":13,"../internal/createAssigner":17}],41:[function(e,t,r){var n=Array.prototype,i=Error.prototype,o=Object.prototype,a=o.propertyIsEnumerable,s=n.splice,l={};!function(e){var t=function(){this.x=e},r={0:e,length:e},n=[];t.prototype={valueOf:e,y:e};for(var o in new t)n.push(o);l.enumErrorProps=a.call(i,"message")||a.call(i,"name"),l.enumPrototypes=a.call(t,"prototype"),l.nonEnumShadows=!/valueOf/.test(n),l.ownLast="x"!=n[0],l.spliceObjects=(s.call(r,0,1),!r[0]),l.unindexedChars="x"[0]+Object("x")[0]!="xx"}(1,0),t.exports=l},{}],42:[function(e,t,r){function n(e){return e}t.exports=n},{}],43:[function(e,t,r){"use strict";var n=e("object-keys");t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test");if("string"==typeof t)return!1;var r=42;e[t]=r;for(t in e)return!1;if(0!==n(e).length)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}},{"object-keys":52}],44:[function(e,t,r){"use strict";var n=e("object-keys"),i=e("function-bind"),o=function(e){return"undefined"!=typeof e&&null!==e},a=e("./hasSymbols")(),s=Object,l=i.call(Function.call,Array.prototype.push),u=i.call(Function.call,Object.prototype.propertyIsEnumerable);t.exports=function(e,t){if(!o(e))throw new TypeError("target must be an object");var r,i,c,d,f,h,p,g=s(e);for(r=1;r<arguments.length;++r){if(i=s(arguments[r]),d=n(i),a&&Object.getOwnPropertySymbols)for(f=Object.getOwnPropertySymbols(i),c=0;c<f.length;++c)p=f[c],u(i,p)&&l(d,p);for(c=0;c<d.length;++c)p=d[c],h=i[p],u(i,p)&&(g[p]=h)}return g}},{"./hasSymbols":43,"function-bind":51,"object-keys":52}],45:[function(e,t,r){"use strict";var n=e("define-properties"),i=e("./implementation"),o=e("./polyfill"),a=e("./shim");n(i,{implementation:i,getPolyfill:o,shim:a}),t.exports=i},{"./implementation":44,"./polyfill":54,"./shim":55,"define-properties":46}],46:[function(e,t,r){"use strict";var n=e("object-keys"),i=e("foreach"),o="function"==typeof Symbol&&"symbol"==typeof Symbol(),a=Object.prototype.toString,s=function(e){return"function"==typeof e&&"[object Function]"===a.call(e)},l=function(){var e={};try{Object.defineProperty(e,"x",{enumerable:!1,value:e});for(var t in e)return!1;return e.x===e}catch(r){return!1}},u=Object.defineProperty&&l(),c=function(e,t,r,n){(!(t in e)||s(n)&&n())&&(u?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},d=function(e,t){var r=arguments.length>2?arguments[2]:{},a=n(t);o&&(a=a.concat(Object.getOwnPropertySymbols(t))),i(a,function(n){c(e,n,t[n],r[n])})};d.supportsDescriptors=!!u,t.exports=d},{foreach:47,"object-keys":48}],47:[function(e,t,r){var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString;t.exports=function(e,t,r){if("[object Function]"!==i.call(t))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a<o;a++)t.call(r,e[a],a,e);else for(var s in e)n.call(e,s)&&t.call(r,e[s],s,e)}},{}],48:[function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=Array.prototype.slice,a=e("./isArguments"),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),u=s.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},f={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&n.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(t){return!0}}catch(t){return!0}return!1}(),p=function(e){if("undefined"==typeof window||!h)return d(e);try{return d(e)}catch(t){return!1}},g=function(e){var t=null!==e&&"object"==typeof e,r="[object Function]"===i.call(e),o=a(e),s=t&&"[object String]"===i.call(e),d=[];if(!t&&!r&&!o)throw new TypeError("Object.keys called on a non-object");var f=u&&r;if(s&&e.length>0&&!n.call(e,0))for(var h=0;h<e.length;++h)d.push(String(h));if(o&&e.length>0)for(var g=0;g<e.length;++g)d.push(String(g));else for(var y in e)f&&"prototype"===y||!n.call(e,y)||d.push(String(y));if(l)for(var v=p(e),m=0;m<c.length;++m)v&&"constructor"===c[m]||!n.call(e,c[m])||d.push(c[m]);return d};g.shim=function(){if(Object.keys){var e=function(){return 2===(Object.keys(arguments)||"").length}(1,2);if(!e){var t=Object.keys;Object.keys=function(e){return t(a(e)?o.call(e):e)}}}else Object.keys=g;return Object.keys||g},t.exports=g},{"./isArguments":49}],49:[function(e,t,r){"use strict";var n=Object.prototype.toString;t.exports=function(e){var t=n.call(e),r="[object Arguments]"===t;return r||(r="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===n.call(e.callee)),r}},{}],50:[function(e,t,r){var n="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(e){var t=this;if("function"!=typeof t||o.call(t)!==a)throw new TypeError(n+t);for(var r,s=i.call(arguments,1),l=function(){if(this instanceof r){var n=t.apply(this,s.concat(i.call(arguments)));return Object(n)===n?n:this}return t.apply(e,s.concat(i.call(arguments)))},u=Math.max(0,t.length-s.length),c=[],d=0;d<u;d++)c.push("$"+d);if(r=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(l),t.prototype){var f=function(){};f.prototype=t.prototype,r.prototype=new f,f.prototype=null}return r}},{}],51:[function(e,t,r){var n=e("./implementation");t.exports=Function.prototype.bind||n},{"./implementation":50}],52:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./isArguments":53,dup:48}],53:[function(e,t,r){arguments[4][49][0].apply(r,arguments)},{dup:49}],54:[function(e,t,r){"use strict";var n=e("./implementation"),i=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var i=Object.assign({},r),o="";for(var a in i)o+=a;return e!==o},o=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}};t.exports=function(){return Object.assign?i()?n:o()?n:Object.assign:n}},{"./implementation":44}],55:[function(e,t,r){"use strict";var n=e("define-properties"),i=e("./polyfill");t.exports=function(){var e=i();return n(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},{"./polyfill":54,"define-properties":46}],56:[function(e,t,r){function n(e,t){var r,n=null;try{r=JSON.parse(e,t)}catch(i){n=i}return[n,r]}t.exports=n},{}],57:[function(e,t,r){function n(e){return e.replace(/\n\r?\s*/g,"")}t.exports=function(e){for(var t="",r=0;r<arguments.length;r++)t+=n(e[r])+(arguments[r+1]||"");return t}},{}],58:[function(e,t,r){"use strict";function n(e,t){for(var r=0;r<e.length;r++)t(e[r])}function i(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function o(e,t,r){var n=e;return d(t)?(r=t,"string"==typeof e&&(n={uri:e})):n=h(t,{uri:e}),n.callback=r,n}function a(e,t,r){return t=o(e,t,r),s(t)}function s(e){function t(){4===u.readyState&&o()}function r(){var e=void 0;if(u.response?e=u.response:"text"!==u.responseType&&u.responseType||(e=u.responseText||u.responseXML),b)try{e=JSON.parse(e)}catch(t){}return e}function n(e){clearTimeout(p),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,s(e,l)}function o(){if(!h){var t;clearTimeout(p),t=e.useXDR&&void 0===u.status?200:1223===u.status?204:u.status;var n=l,i=null;0!==t?(n={body:r(),statusCode:t,method:y,headers:{},url:g,rawRequest:u},u.getAllResponseHeaders&&(n.headers=f(u.getAllResponseHeaders()))):i=new Error("Internal XMLHttpRequest Error"),s(i,n,n.body)}}var s=e.callback;if("undefined"==typeof s)throw new Error("callback argument missing");s=c(s);var l={body:void 0,headers:{},statusCode:0,method:y,url:g,rawRequest:u},u=e.xhr||null;u||(u=e.cors||e.useXDR?new a.XDomainRequest:new a.XMLHttpRequest);var d,h,p,g=u.url=e.uri||e.url,y=u.method=e.method||"GET",v=e.body||e.data||null,m=u.headers=e.headers||{},_=!!e.sync,b=!1;if("json"in e&&(b=!0,m.accept||m.Accept||(m.Accept="application/json"),"GET"!==y&&"HEAD"!==y&&(m["content-type"]||m["Content-Type"]||(m["Content-Type"]="application/json"),v=JSON.stringify(e.json))),u.onreadystatechange=t,u.onload=o,u.onerror=n,u.onprogress=function(){},u.ontimeout=n,u.open(y,g,!_,e.username,e.password),_||(u.withCredentials=!!e.withCredentials),!_&&e.timeout>0&&(p=setTimeout(function(){h=!0,u.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",n(e)},e.timeout)),u.setRequestHeader)for(d in m)m.hasOwnProperty(d)&&u.setRequestHeader(d,m[d]);else if(e.headers&&!i(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(u.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(u),u.send(v),u}function l(){}var u=e("global/window"),c=e("once"),d=e("is-function"),f=e("parse-headers"),h=e("xtend");t.exports=a,a.XMLHttpRequest=u.XMLHttpRequest||l,a.XDomainRequest="withCredentials"in new a.XMLHttpRequest?a.XMLHttpRequest:u.XDomainRequest,n(["get","put","post","patch","head","delete"],function(e){a["delete"===e?"del":e]=function(t,r,n){return r=o(t,r,n),r.method=e.toUpperCase(),s(r)}})},{"global/window":59,"is-function":60,once:61,"parse-headers":65,xtend:66}],59:[function(e,t,r){(function(e){"undefined"!=typeof window?t.exports=window:"undefined"!=typeof e?t.exports=e:"undefined"!=typeof self?t.exports=self:t.exports={}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],60:[function(e,t,r){function n(e){var t=i.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}t.exports=n;var i=Object.prototype.toString},{}],61:[function(e,t,r){function n(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}t.exports=n,n.proto=n(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return n(this)},configurable:!0})})},{}],62:[function(e,t,r){function n(e,t,r){if(!s(t))throw new TypeError("iterator must be a function");arguments.length<3&&(r=this),"[object Array]"===l.call(e)?i(e,t,r):"string"==typeof e?o(e,t,r):a(e,t,r)}function i(e,t,r){for(var n=0,i=e.length;n<i;n++)u.call(e,n)&&t.call(r,e[n],n,e)}function o(e,t,r){for(var n=0,i=e.length;n<i;n++)t.call(r,e.charAt(n),n,e)}function a(e,t,r){for(var n in e)u.call(e,n)&&t.call(r,e[n],n,e)}var s=e("is-function");t.exports=n;var l=Object.prototype.toString,u=Object.prototype.hasOwnProperty},{"is-function":63}],63:[function(e,t,r){arguments[4][60][0].apply(r,arguments)},{dup:60}],64:[function(e,t,r){function n(e){return e.replace(/^\s*|\s*$/g,"")}r=t.exports=n,r.left=function(e){return e.replace(/^\s*/,"")},r.right=function(e){return e.replace(/\s*$/,"")}},{}],65:[function(e,t,r){var n=e("trim"),i=e("for-each"),o=function(e){return"[object Array]"===Object.prototype.toString.call(e)};t.exports=function(e){if(!e)return{};var t={};return i(n(e).split("\n"),function(e){var r=e.indexOf(":"),i=n(e.slice(0,r)).toLowerCase(),a=n(e.slice(r+1));"undefined"==typeof t[i]?t[i]=a:o(t[i])?t[i].push(a):t[i]=[t[i],a]}),t}},{"for-each":62,trim:64}],66:[function(e,t,r){function n(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var n in r)i.call(r,n)&&(e[n]=r[n])}return e}t.exports=n;var i=Object.prototype.hasOwnProperty},{}],67:[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}r.__esModule=!0;var a=e("./button.js"),s=n(a),l=e("./component.js"),u=n(l),c=function(e){function t(r,n){i(this,t),e.call(this,r,n)}return o(t,e),t.prototype.buildCSSClass=function(){return"vjs-big-play-button"},t.prototype.handleClick=function(){this.player_.play()},t}(s["default"]);c.prototype.controlText_="Play Video",u["default"].registerComponent("BigPlayButton",c),r["default"]=c,t.exports=r["default"]},{"./button.js":68,"./component.js":71}],68:[function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}r.__esModule=!0;var s=e("./clickable-component.js"),l=i(s),u=e("./component"),c=i(u),d=e("./utils/events.js"),f=(n(d),e("./utils/fn.js")),h=(n(f),e("./utils/log.js")),p=i(h),g=e("global/document"),y=(i(g),e("object.assign")),v=i(y),m=function(e){function t(r,n){o(this,t),e.call(this,r,n)}return a(t,e),t.prototype.createEl=function(){var e=arguments.length<=0||void 0===arguments[0]?"button":arguments[0],t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];t=v["default"]({className:this.buildCSSClass()},t),"button"!==e&&(p["default"].warn("Creating a Button with an HTML element of "+e+" is deprecated; use ClickableComponent instead."),t=v["default"]({tabIndex:0},t),r=v["default"]({role:"button"},r)),r=v["default"]({type:"button","aria-live":"polite"},r);var n=c["default"].prototype.createEl.call(this,e,t,r);return this.createControlTextEl(n),n},t.prototype.addChild=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=this.constructor.name;return p["default"].warn("Adding an actionable (user controllable) child to a Button ("+r+") is not supported; use a ClickableComponent instead."),c["default"].prototype.addChild.call(this,e,t)},t.prototype.handleKeyPress=function(t){32===t.which||13===t.which||e.prototype.handleKeyPress.call(this,t)},t}(l["default"]);c["default"].registerComponent("Button",m),r["default"]=m,t.exports=r["default"]},{"./clickable-component.js":69,"./component":71,"./utils/events.js":148,"./utils/fn.js":149,"./utils/log.js":152,"global/document":2,"object.assign":45}],69:[function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}r.__esModule=!0;var s=e("./component"),l=i(s),u=e("./utils/dom.js"),c=n(u),d=e("./utils/events.js"),f=n(d),h=e("./utils/fn.js"),p=n(h),g=e("./utils/log.js"),y=i(g),v=e("global/document"),m=i(v),_=e("object.assign"),b=i(_),T=function(e){function t(r,n){o(this,t),e.call(this,r,n),this.emitTapEvents(),this.on("tap",this.handleClick),this.on("click",this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur)}return a(t,e),t.prototype.createEl=function(){var t=arguments.length<=0||void 0===arguments[0]?"div":arguments[0],r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];r=b["default"]({className:this.buildCSSClass(),tabIndex:0},r),"button"===t&&y["default"].error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),n=b["default"]({role:"button","aria-live":"polite"},n);var i=e.prototype.createEl.call(this,t,r,n);return this.createControlTextEl(i),i},t.prototype.createControlTextEl=function(e){return this.controlTextEl_=c.createEl("span",{className:"vjs-control-text"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_),this.controlTextEl_},t.prototype.controlText=function(e){return e?(this.controlText_=e,this.controlTextEl_.innerHTML=this.localize(this.controlText_),this):this.controlText_||"Need Text"},t.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+e.prototype.buildCSSClass.call(this)},t.prototype.addChild=function(t){var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];
return e.prototype.addChild.call(this,t,r)},t.prototype.enable=function(){return this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),this},t.prototype.disable=function(){return this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),this},t.prototype.handleClick=function(){},t.prototype.handleFocus=function(){f.on(m["default"],"keydown",p.bind(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.handleClick(t)):e.prototype.handleKeyPress&&e.prototype.handleKeyPress.call(this,t)},t.prototype.handleBlur=function(){f.off(m["default"],"keydown",p.bind(this,this.handleKeyPress))},t}(l["default"]);l["default"].registerComponent("ClickableComponent",T),r["default"]=T,t.exports=r["default"]},{"./component":71,"./utils/dom.js":147,"./utils/events.js":148,"./utils/fn.js":149,"./utils/log.js":152,"global/document":2,"object.assign":45}],70:[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}r.__esModule=!0;var a=e("./button"),s=n(a),l=e("./component"),u=n(l),c=function(e){function t(r,n){i(this,t),e.call(this,r,n),this.controlText(n&&n.controlText||this.localize("Close"))}return o(t,e),t.prototype.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(){this.trigger({type:"close",bubbles:!1})},t}(s["default"]);u["default"].registerComponent("CloseButton",c),r["default"]=c,t.exports=r["default"]},{"./button":68,"./component":71}],71:[function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var a=e("global/window"),s=i(a),l=e("./utils/dom.js"),u=n(l),c=e("./utils/fn.js"),d=n(c),f=e("./utils/guid.js"),h=n(f),p=e("./utils/events.js"),g=n(p),y=e("./utils/log.js"),v=i(y),m=e("./utils/to-title-case.js"),_=i(m),b=e("object.assign"),T=i(b),w=e("./utils/merge-options.js"),k=i(w),S=function(){function e(t,r,n){if(o(this,e),!t&&this.play?this.player_=t=this:this.player_=t,this.options_=k["default"]({},this.options_),r=this.options_=k["default"](this.options_,r),this.id_=r.id||r.el&&r.el.id,!this.id_){var i=t&&t.id&&t.id()||"no_player";this.id_=i+"_component_"+h.newGUID()}this.name_=r.name||null,r.el?this.el_=r.el:r.createEl!==!1&&(this.el_=this.createEl()),this.children_=[],this.childIndex_={},this.childNameIndex_={},r.initChildren!==!1&&this.initChildren(),this.ready(n),r.reportTouchActivity!==!1&&this.enableTouchActivity()}return e.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var e=this.children_.length-1;e>=0;e--)this.children_[e].dispose&&this.children_[e].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.off(),this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),u.removeElData(this.el_),this.el_=null},e.prototype.player=function(){return this.player_},e.prototype.options=function(e){return v["default"].warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),e?(this.options_=k["default"](this.options_,e),this.options_):this.options_},e.prototype.el=function(){return this.el_},e.prototype.createEl=function(e,t,r){return u.createEl(e,t,r)},e.prototype.localize=function(e){var t=this.player_.language&&this.player_.language(),r=this.player_.languages&&this.player_.languages();if(!t||!r)return e;var n=r[t];if(n&&n[e])return n[e];var i=t.split("-")[0],o=r[i];return o&&o[e]?o[e]:e},e.prototype.contentEl=function(){return this.contentEl_||this.el_},e.prototype.id=function(){return this.id_},e.prototype.name=function(){return this.name_},e.prototype.children=function(){return this.children_},e.prototype.getChildById=function(e){return this.childIndex_[e]},e.prototype.getChild=function(e){return this.childNameIndex_[e]},e.prototype.addChild=function(t){var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?this.children_.length:arguments[2],i=void 0,o=void 0;if("string"==typeof t){o=t,r||(r={}),r===!0&&(v["default"].warn("Initializing a child component with `true` is deprecated. Children should be defined in an array when possible, but if necessary use an object instead of `true`."),r={});var a=r.componentClass||_["default"](o);r.name=o;var s=e.getComponent(a);if(!s)throw new Error("Component "+a+" does not exist");if("function"!=typeof s)return null;i=new s(this.player_||this,r)}else i=t;if(this.children_.splice(n,0,i),"function"==typeof i.id&&(this.childIndex_[i.id()]=i),o=o||i.name&&i.name(),o&&(this.childNameIndex_[o]=i),"function"==typeof i.el&&i.el()){var l=this.contentEl().children,u=l[n]||null;this.contentEl().insertBefore(i.el(),u)}return i},e.prototype.removeChild=function(e){if("string"==typeof e&&(e=this.getChild(e)),e&&this.children_){for(var t=!1,r=this.children_.length-1;r>=0;r--)if(this.children_[r]===e){t=!0,this.children_.splice(r,1);break}if(t){this.childIndex_[e.id()]=null,this.childNameIndex_[e.name()]=null;var n=e.el();n&&n.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}}},e.prototype.initChildren=function(){var t=this,r=this.options_.children;r&&!function(){var n=t.options_,i=function(e){var r=e.name,i=e.opts;if(void 0!==n[r]&&(i=n[r]),i!==!1){i===!0&&(i={}),i.playerOptions=t.options_.playerOptions;var o=t.addChild(r,i);o&&(t[r]=o)}},o=void 0,a=e.getComponent("Tech");o=Array.isArray(r)?r:Object.keys(r),o.concat(Object.keys(t.options_).filter(function(e){return!o.some(function(t){return"string"==typeof t?e===t:e===t.name})})).map(function(e){var n=void 0,i=void 0;return"string"==typeof e?(n=e,i=r[n]||t.options_[n]||{}):(n=e.name,i=e),{name:n,opts:i}}).filter(function(t){var r=e.getComponent(t.opts.componentClass||_["default"](t.name));return r&&!a.isTech(r)}).forEach(i)}()},e.prototype.buildCSSClass=function(){return""},e.prototype.on=function(e,t,r){var n=this;return"string"==typeof e||Array.isArray(e)?g.on(this.el_,e,d.bind(this,t)):!function(){var i=e,o=t,a=d.bind(n,r),s=function(){return n.off(i,o,a)};s.guid=a.guid,n.on("dispose",s);var l=function(){return n.off("dispose",s)};l.guid=a.guid,e.nodeName?(g.on(i,o,a),g.on(i,"dispose",l)):"function"==typeof e.on&&(i.on(o,a),i.on("dispose",l))}(),this},e.prototype.off=function(e,t,r){if(!e||"string"==typeof e||Array.isArray(e))g.off(this.el_,e,t);else{var n=e,i=t,o=d.bind(this,r);this.off("dispose",o),e.nodeName?(g.off(n,i,o),g.off(n,"dispose",o)):(n.off(i,o),n.off("dispose",o))}return this},e.prototype.one=function(e,t,r){var n=this,i=arguments;return"string"==typeof e||Array.isArray(e)?g.one(this.el_,e,d.bind(this,t)):!function(){var o=e,a=t,s=d.bind(n,r),l=function u(){n.off(o,a,u),s.apply(null,i)};l.guid=s.guid,n.on(o,a,l)}(),this},e.prototype.trigger=function(e,t){return g.trigger(this.el_,e,t),this},e.prototype.ready=function(e){var t=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];return e&&(this.isReady_?t?e.call(this):this.setTimeout(e,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(e))),this},e.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach(function(e){e.call(this)},this),this.trigger("ready")},1)},e.prototype.$=function(e,t){return u.$(e,t||this.contentEl())},e.prototype.$$=function(e,t){return u.$$(e,t||this.contentEl())},e.prototype.hasClass=function(e){return u.hasElClass(this.el_,e)},e.prototype.addClass=function(e){return u.addElClass(this.el_,e),this},e.prototype.removeClass=function(e){return u.removeElClass(this.el_,e),this},e.prototype.toggleClass=function(e,t){return u.toggleElClass(this.el_,e,t),this},e.prototype.show=function(){return this.removeClass("vjs-hidden"),this},e.prototype.hide=function(){return this.addClass("vjs-hidden"),this},e.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},e.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},e.prototype.width=function(e,t){return this.dimension("width",e,t)},e.prototype.height=function(e,t){return this.dimension("height",e,t)},e.prototype.dimensions=function(e,t){return this.width(e,!0).height(t)},e.prototype.dimension=function(e,t,r){if(void 0!==t)return null!==t&&t===t||(t=0),(""+t).indexOf("%")!==-1||(""+t).indexOf("px")!==-1?this.el_.style[e]=t:"auto"===t?this.el_.style[e]="":this.el_.style[e]=t+"px",r||this.trigger("resize"),this;if(!this.el_)return 0;var n=this.el_.style[e],i=n.indexOf("px");return i!==-1?parseInt(n.slice(0,i),10):parseInt(this.el_["offset"+_["default"](e)],10)},e.prototype.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if("function"==typeof s["default"].getComputedStyle){var r=s["default"].getComputedStyle(this.el_);t=r.getPropertyValue(e)||r[e]}else if(this.el_.currentStyle){var n="offset"+_["default"](e);t=this.el_[n]}return t=parseFloat(t)},e.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},e.prototype.currentWidth=function(){return this.currentDimension("width")},e.prototype.currentHeight=function(){return this.currentDimension("height")},e.prototype.emitTapEvents=function(){var e=0,t=null,r=10,n=200,i=void 0;this.on("touchstart",function(r){1===r.touches.length&&(t=T["default"]({},r.touches[0]),e=(new Date).getTime(),i=!0)}),this.on("touchmove",function(e){if(e.touches.length>1)i=!1;else if(t){var n=e.touches[0].pageX-t.pageX,o=e.touches[0].pageY-t.pageY,a=Math.sqrt(n*n+o*o);a>r&&(i=!1)}});var o=function(){i=!1};this.on("touchleave",o),this.on("touchcancel",o),this.on("touchend",function(r){if(t=null,i===!0){var o=(new Date).getTime()-e;o<n&&(r.preventDefault(),this.trigger("tap"))}})},e.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e=d.bind(this.player(),this.player().reportUserActivity),t=void 0;this.on("touchstart",function(){e(),this.clearInterval(t),t=this.setInterval(e,250)});var r=function(r){e(),this.clearInterval(t)};this.on("touchmove",e),this.on("touchend",r),this.on("touchcancel",r)}},e.prototype.setTimeout=function(e,t){e=d.bind(this,e);var r=s["default"].setTimeout(e,t),n=function(){this.clearTimeout(r)};return n.guid="vjs-timeout-"+r,this.on("dispose",n),r},e.prototype.clearTimeout=function(e){s["default"].clearTimeout(e);var t=function(){};return t.guid="vjs-timeout-"+e,this.off("dispose",t),e},e.prototype.setInterval=function(e,t){e=d.bind(this,e);var r=s["default"].setInterval(e,t),n=function(){this.clearInterval(r)};return n.guid="vjs-interval-"+r,this.on("dispose",n),r},e.prototype.clearInterval=function(e){s["default"].clearInterval(e);var t=function(){};return t.guid="vjs-interval-"+e,this.off("dispose",t),e},e.registerComponent=function(t,r){return e.components_||(e.components_={}),e.components_[t]=r,r},e.getComponent=function(t){return e.components_&&e.components_[t]?e.components_[t]:s["default"]&&s["default"].videojs&&s["default"].videojs[t]?(v["default"].warn("The "+t+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),s["default"].videojs[t]):void 0},e.extend=function(t){t=t||{},v["default"].warn("Component.extend({}) has been deprecated, use videojs.extend(Component, {}) instead");var r=t.init||t.init||this.prototype.init||this.prototype.init||function(){},n=function(){r.apply(this,arguments)};n.prototype=Object.create(this.prototype),n.prototype.constructor=n,n.extend=e.extend;for(var i in t)t.hasOwnProperty(i)&&(n.prototype[i]=t[i]);return n},e}();S.registerComponent("Component",S),r["default"]=S,t.exports=r["default"]},{"./utils/dom.js":147,"./utils/events.js":148,"./utils/fn.js":149,"./utils/guid.js":151,"./utils/log.js":152,"./utils/merge-options.js":153,"./utils/to-title-case.js":156,"global/window":3,"object.assign":45}],72:[function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}r.__esModule=!0;var s=e("../track-button.js"),l=i(s),u=e("../../component.js"),c=i(u),d=e("../../utils/fn.js"),f=(n(d),e("./audio-track-menu-item.js")),h=i(f),p=function(e){function t(r){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];o(this,t),n.tracks=r.audioTracks&&r.audioTracks(),e.call(this,r,n),this.el_.setAttribute("aria-label","Audio Menu")}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-audio-button "+e.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],t=this.player_.audioTracks&&this.player_.audioTracks();if(!t)return e;for(var r=0;r<t.length;r++){var n=t[r];e.push(new h["default"](this.player_,{selectable:!0,track:n}))}return e},t}(l["default"]);c["default"].registerComponent("AudioTrackButton",p),r["default"]=p,t.exports=r["default"]},{"../../component.js":71,"../../utils/fn.js":149,"../track-button.js":102,"./audio-track-menu-item.js":73}],73:[function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}r.__esModule=!0;var s=e("../../menu/menu-item.js"),l=i(s),u=e("../../component.js"),c=i(u),d=e("../../utils/fn.js"),f=n(d),h=function(e){function t(r,n){var i=this;o(this,t);var a=n.track,s=r.audioTracks();n.label=a.label||a.language||"Unknown",n.selected=a.enabled,e.call(this,r,n),this.track=a,s&&!function(){var e=f.bind(i,i.handleTracksChange);s.addEventListener("change",e),i.on("dispose",function(){s.removeEventListener("change",e)})}()}return a(t,e),t.prototype.handleClick=function(t){var r=this.player_.audioTracks();if(e.prototype.handleClick.call(this,t),r)for(var n=0;n<r.length;n++){var i=r[n];i===this.track&&(i.enabled=!0)}},t.prototype.handleTracksChange=function(e){this.selected(this.track.enabled)},t}(l["default"]);c["default"].registerComponent("AudioTrackMenuItem",h),r["default"]=h,t.exports=r["default"]},{"../../component.js":71,"../../menu/menu-item.js":114,"../../utils/fn.js":149}],74:[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}r.__esModule=!0;var a=e("../component.js"),s=n(a),l=e("./play-toggle.js"),u=(n(l),e("./time-controls/current-time-display.js")),c=(n(u),e("./time-controls/duration-display.js")),d=(n(c),e("./time-controls/time-divider.js")),f=(n(d),e("./time-controls/remaining-time-display.js")),h=(n(f),e("./live-display.js")),p=(n(h),e("./progress-control/progress-control.js")),g=(n(p),e("./fullscreen-toggle.js")),y=(n(g),e("./volume-control/volume-control.js")),v=(n(y),e("./volume-menu-button.js")),m=(n(v),e("./mute-toggle.js")),_=(n(m),e("./text-track-controls/chapters-button.js")),b=(n(_),e("./text-track-controls/descriptions-button.js")),T=(n(b),e("./text-track-controls/subtitles-button.js")),w=(n(T),e("./text-track-controls/captions-button.js")),k=(n(w),e("./audio-track-controls/audio-track-button.js")),S=(n(k),e("./playback-rate-menu/playback-rate-menu-button.js")),E=(n(S),e("./spacer-controls/custom-control-spacer.js")),O=(n(E),function(e){function t(){i(this,t),e.apply(this,arguments)}return o(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},t}(s["default"]));O.prototype.options_={currentTimeDisplay:!1,timeDivider:!1,durationDisplay:!1,children:["playToggle","volumeMenuButton","progressControl","currentTimeDisplay","timeDivider","durationDisplay","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subtitlesButton","captionsButton","audioTrackButton","fullscreenToggle"]},s["default"].registerComponent("ControlBar",O),r["default"]=O,t.exports=r["default"]},{"../component.js":71,"./audio-track-controls/au